diff --git a/azure-provider-versions/provider_list.json b/azure-provider-versions/provider_list.json index c2e3b26b1fbe..4f05a22a40e2 100644 --- a/azure-provider-versions/provider_list.json +++ b/azure-provider-versions/provider_list.json @@ -1964,6 +1964,29 @@ } ] }, + { + "namespace": "Microsoft.ArcNetworking", + "resourceTypes": [ + { + "resourceType": "arcNwLoadBalancers", + "apiVersions": [ + "2023-07-01-preview" + ] + }, + { + "resourceType": "locations", + "apiVersions": [ + "2023-07-01-preview" + ] + }, + { + "resourceType": "locations/operationStatuses", + "apiVersions": [ + "2023-07-01-preview" + ] + } + ] + }, { "namespace": "Microsoft.Attestation", "resourceTypes": [ @@ -2470,6 +2493,7 @@ { "resourceType": "automationAccounts", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2022-02-22", "2022-01-31", @@ -2487,6 +2511,7 @@ { "resourceType": "automationAccounts/agentRegistrationInformation", "apiVersions": [ + "2023-05-15-preview", "2021-06-22", "2021-04-01", "2020-01-13-preview", @@ -2501,6 +2526,7 @@ { "resourceType": "automationAccounts/configurations", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2020-01-13-preview", "2019-06-01", @@ -2514,6 +2540,7 @@ { "resourceType": "automationAccounts/hybridRunbookWorkerGroups", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2022-02-22", "2021-06-22", @@ -2530,6 +2557,7 @@ { "resourceType": "automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2021-06-22" ] @@ -2537,6 +2565,7 @@ { "resourceType": "automationAccounts/jobs", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2020-01-13-preview", "2019-06-01", @@ -2550,6 +2579,7 @@ { "resourceType": "automationAccounts/privateEndpointConnectionProxies", "apiVersions": [ + "2023-05-15-preview", "2021-06-22", "2020-01-13-preview" ] @@ -2557,6 +2587,7 @@ { "resourceType": "automationAccounts/privateEndpointConnections", "apiVersions": [ + "2023-05-15-preview", "2021-06-22", "2020-01-13-preview" ] @@ -2564,6 +2595,7 @@ { "resourceType": "automationAccounts/privateLinkResources", "apiVersions": [ + "2023-05-15-preview", "2021-06-22", "2020-01-13-preview" ] @@ -2571,6 +2603,7 @@ { "resourceType": "automationAccounts/runbooks", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2020-01-13-preview", "2019-06-01", @@ -2590,6 +2623,7 @@ { "resourceType": "automationAccounts/softwareUpdateConfigurationMachineRuns", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2020-01-13-preview", "2019-06-01", @@ -2601,6 +2635,7 @@ { "resourceType": "automationAccounts/softwareUpdateConfigurationRuns", "apiVersions": [ + "2023-05-15-preview", "2022-08-08", "2020-01-13-preview", "2019-06-01", @@ -2612,6 +2647,7 @@ { "resourceType": "automationAccounts/softwareUpdateConfigurations", "apiVersions": [ + "2023-05-15-preview", "2020-01-13-preview", "2019-06-01", "2018-06-30", @@ -2622,6 +2658,7 @@ { "resourceType": "automationAccounts/webhooks", "apiVersions": [ + "2023-05-15-preview", "2018-06-30", "2018-01-15", "2017-05-15-preview", @@ -2632,12 +2669,14 @@ { "resourceType": "deletedAutomationAccounts", "apiVersions": [ + "2023-05-15-preview", "2022-01-31" ] }, { "resourceType": "operations", "apiVersions": [ + "2023-05-15-preview", "2020-01-13-preview", "2019-06-01", "2018-06-30", @@ -3080,6 +3119,7 @@ { "resourceType": "Locations", "apiVersions": [ + "2023-10-01-preview", "2023-06-01-preview", "2022-04-05-preview" ] @@ -3087,6 +3127,15 @@ { "resourceType": "Locations/OperationStatuses", "apiVersions": [ + "2023-10-01-preview", + "2023-06-01-preview", + "2022-04-05-preview" + ] + }, + { + "resourceType": "Locations/Quotas", + "apiVersions": [ + "2023-10-01-preview", "2023-06-01-preview", "2022-04-05-preview" ] @@ -3094,6 +3143,7 @@ { "resourceType": "accounts", "apiVersions": [ + "2023-10-01-preview", "2023-06-01-preview", "2022-04-05-preview" ] @@ -3101,6 +3151,7 @@ { "resourceType": "checkNameAvailability", "apiVersions": [ + "2023-10-01-preview", "2023-06-01-preview", "2022-04-05-preview" ] @@ -3108,6 +3159,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-10-01-preview", "2023-06-01-preview", "2022-04-05-preview" ] @@ -3115,6 +3167,7 @@ { "resourceType": "registeredSubscriptions", "apiVersions": [ + "2023-10-01-preview", "2023-06-01-preview", "2022-04-05-preview" ] @@ -3390,9 +3443,11 @@ { "resourceType": "galleryImages", "apiVersions": [ + "2023-07-01-preview", "2022-12-15-preview", "2021-09-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2020-11-01-preview" ] }, { @@ -3446,6 +3501,7 @@ { "resourceType": "marketplaceGalleryImages", "apiVersions": [ + "2023-07-01-preview", "2022-12-15-preview", "2021-09-01-preview" ] @@ -3453,9 +3509,11 @@ { "resourceType": "networkInterfaces", "apiVersions": [ + "2023-07-01-preview", "2022-12-15-preview", "2021-09-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2020-11-01-preview" ] }, { @@ -3497,6 +3555,7 @@ { "resourceType": "storageContainers", "apiVersions": [ + "2023-07-01-preview", "2022-12-15-preview", "2021-09-01-preview" ] @@ -3504,9 +3563,17 @@ { "resourceType": "virtualHardDisks", "apiVersions": [ + "2023-07-01-preview", "2022-12-15-preview", "2021-09-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2020-11-01-preview" + ] + }, + { + "resourceType": "virtualMachineInstances", + "apiVersions": [ + "2023-07-01-preview" ] }, { @@ -3514,7 +3581,8 @@ "apiVersions": [ "2022-12-15-preview", "2021-09-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2020-11-01-preview" ] }, { @@ -3534,9 +3602,11 @@ { "resourceType": "virtualNetworks", "apiVersions": [ + "2023-07-01-preview", "2022-12-15-preview", "2021-09-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2020-11-01-preview" ] } ] @@ -6377,6 +6447,12 @@ "2023-04-01-preview" ] }, + { + "resourceType": "operations", + "apiVersions": [ + "2023-04-01-preview" + ] + }, { "resourceType": "queryCarbonEmissionDataAvailableDateRange", "apiVersions": [ @@ -7941,13 +8017,13 @@ "namespace": "Microsoft.CognitiveSearch", "resourceTypes": [ { - "resourceType": "Operations", + "resourceType": "locations", "apiVersions": [ "2023-05-01-preview" ] }, { - "resourceType": "locations", + "resourceType": "operations", "apiVersions": [ "2023-05-01-preview" ] @@ -9752,6 +9828,7 @@ { "resourceType": "agreements", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -9767,6 +9844,7 @@ { "resourceType": "checkNameAvailability", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -9782,6 +9860,7 @@ { "resourceType": "locations", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -9797,6 +9876,7 @@ { "resourceType": "locations/OperationStatuses", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -9812,6 +9892,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -9827,6 +9908,7 @@ { "resourceType": "organizations", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -9842,6 +9924,7 @@ { "resourceType": "organizations/access", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview" ] @@ -9849,6 +9932,7 @@ { "resourceType": "validations", "apiVersions": [ + "2023-08-22", "2023-07-11-preview", "2023-02-09-preview", "2022-10-07-preview", @@ -10029,6 +10113,7 @@ { "resourceType": "locations", "apiVersions": [ + "2023-10-01", "2023-03-01-preview", "2022-07-15-preview", "2022-01-10-preview", @@ -10038,6 +10123,7 @@ { "resourceType": "locations/operationstatuses", "apiVersions": [ + "2023-10-01", "2023-03-01-preview", "2022-07-15-preview", "2022-01-10-preview", @@ -10047,6 +10133,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-10-01", "2023-03-01-preview", "2022-07-15-preview", "2022-01-10-preview", @@ -11593,11 +11680,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -11751,11 +11836,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -11778,7 +11861,6 @@ "2019-06-01", "2019-04-01", "2019-02-01", - "2018-08-01-preview", "2018-03-31", "2017-08-31", "2016-03-30" @@ -11820,11 +11902,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -11847,7 +11927,6 @@ "2019-06-01", "2019-04-01", "2019-02-01", - "2018-08-01-preview", "2018-03-31", "2017-08-31", "2016-03-30" @@ -11889,11 +11968,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -11954,11 +12031,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -12003,11 +12078,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -12030,7 +12103,6 @@ "2019-06-01", "2019-04-01", "2019-02-01", - "2018-08-01-preview", "2018-03-31", "2017-08-31" ] @@ -12055,8 +12127,7 @@ "2022-06-02-preview", "2022-05-02-preview", "2022-04-02-preview", - "2022-03-02-preview", - "2022-02-02-preview" + "2022-03-02-preview" ] }, { @@ -12095,11 +12166,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01", @@ -12168,11 +12237,9 @@ "2022-04-01", "2022-03-02-preview", "2022-03-01", - "2022-02-02-preview", "2022-02-01", "2022-01-02-preview", "2022-01-01", - "2021-11-01-preview", "2021-10-01", "2021-09-01", "2021-08-01" @@ -14280,59 +14347,6 @@ "2018-06-01" ] }, - { - "resourceType": "checkAzureDataFactoryNameAvailability", - "apiVersions": [ - "2015-10-01", - "2015-09-01", - "2015-08-01", - "2015-07-01-preview", - "2015-05-01-preview", - "2015-01-01-preview" - ] - }, - { - "resourceType": "checkDataFactoryNameAvailability", - "apiVersions": [ - "2015-05-01-preview", - "2015-01-01-preview" - ] - }, - { - "resourceType": "dataFactories", - "apiVersions": [ - "2015-10-01", - "2015-09-01", - "2015-08-01", - "2015-07-01-preview", - "2015-05-01-preview", - "2015-01-01-preview", - "2014-04-01" - ] - }, - { - "resourceType": "dataFactories/diagnosticSettings", - "apiVersions": [ - "2014-04-01" - ] - }, - { - "resourceType": "dataFactories/metricDefinitions", - "apiVersions": [ - "2014-04-01" - ] - }, - { - "resourceType": "dataFactorySchema", - "apiVersions": [ - "2015-10-01", - "2015-09-01", - "2015-08-01", - "2015-07-01-preview", - "2015-05-01-preview", - "2015-01-01-preview" - ] - }, { "resourceType": "factories", "apiVersions": [ @@ -14372,13 +14386,7 @@ "apiVersions": [ "2018-06-01", "2017-09-01-preview", - "2017-03-01-preview", - "2015-10-01", - "2015-09-01", - "2015-08-01", - "2015-07-01-preview", - "2015-05-01-preview", - "2015-01-01-preview" + "2017-03-01-preview" ] } ] @@ -15501,6 +15509,7 @@ { "resourceType": "appattachpackages", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15512,6 +15521,7 @@ { "resourceType": "applicationgroups", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15542,6 +15552,7 @@ { "resourceType": "applicationgroups/applications", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15572,6 +15583,7 @@ { "resourceType": "applicationgroups/desktops", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15602,6 +15614,7 @@ { "resourceType": "applicationgroups/startmenuitems", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15632,6 +15645,7 @@ { "resourceType": "hostpools", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15662,6 +15676,7 @@ { "resourceType": "hostpools/msixpackages", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15692,6 +15707,7 @@ { "resourceType": "hostpools/sessionhosts", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15722,6 +15738,7 @@ { "resourceType": "hostpools/sessionhosts/usersessions", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15752,6 +15769,7 @@ { "resourceType": "hostpools/usersessions", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15782,6 +15800,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-05-18-privatepreview", "2023-05-15-privatepreview", @@ -15822,6 +15841,7 @@ { "resourceType": "scalingplans", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -15852,6 +15872,7 @@ { "resourceType": "workspaces", "apiVersions": [ + "2023-09-05", "2023-07-07-preview", "2023-03-21-privatepreview", "2022-12-09-privatepreview", @@ -17004,6 +17025,8 @@ { "resourceType": "cassandraClusters", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17027,6 +17050,8 @@ { "resourceType": "databaseAccountNames", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17067,6 +17092,8 @@ { "resourceType": "databaseAccounts", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17107,6 +17134,8 @@ { "resourceType": "databaseAccounts/encryptionScopes", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17130,6 +17159,8 @@ { "resourceType": "locations", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17170,6 +17201,7 @@ { "resourceType": "locations/checkMongoClusterNameAvailability", "apiVersions": [ + "2023-09-15-preview", "2023-03-15-preview", "2023-03-01-preview", "2022-10-15-preview" @@ -17178,6 +17210,8 @@ { "resourceType": "locations/deleteVirtualNetworkOrSubnets", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17218,6 +17252,7 @@ { "resourceType": "locations/mongoClusterAzureAsyncOperation", "apiVersions": [ + "2023-09-15-preview", "2023-03-15-preview", "2023-03-01-preview", "2022-10-15-preview" @@ -17226,6 +17261,7 @@ { "resourceType": "locations/mongoClusterOperationResults", "apiVersions": [ + "2023-09-15-preview", "2023-03-15-preview", "2023-03-01-preview", "2022-10-15-preview" @@ -17234,6 +17270,8 @@ { "resourceType": "locations/notifyNetworkSecurityPerimeterUpdatesAvailable", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17247,6 +17285,8 @@ { "resourceType": "locations/operationResults", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17287,6 +17327,8 @@ { "resourceType": "locations/operationsStatus", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17327,6 +17369,8 @@ { "resourceType": "locations/restorableDatabaseAccounts", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17352,6 +17396,7 @@ { "resourceType": "mongoClusters", "apiVersions": [ + "2023-09-15-preview", "2023-03-15-preview", "2023-03-01-preview", "2022-10-15-preview" @@ -17360,6 +17405,8 @@ { "resourceType": "operationResults", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17400,6 +17447,8 @@ { "resourceType": "operations", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17440,6 +17489,8 @@ { "resourceType": "operationsStatus", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -17480,6 +17531,8 @@ { "resourceType": "restorableDatabaseAccounts", "apiVersions": [ + "2023-09-15-preview", + "2023-09-15", "2023-04-15", "2023-03-15-preview", "2023-03-15", @@ -19590,6 +19643,7 @@ { "resourceType": "checkNameAvailability", "apiVersions": [ + "2023-09-01-preview", "2023-06-01", "2023-03-23-preview", "2023-03-03-preview", @@ -19599,6 +19653,7 @@ { "resourceType": "diagnostics", "apiVersions": [ + "2023-09-01-preview", "2023-06-01", "2023-01-01-preview" ] @@ -19606,6 +19661,7 @@ { "resourceType": "discoverySolutions", "apiVersions": [ + "2023-09-01-preview", "2023-08-01-preview", "2023-06-01", "2023-01-01-preview" @@ -19614,6 +19670,7 @@ { "resourceType": "operationResults", "apiVersions": [ + "2023-09-01-preview", "2023-06-01", "2023-03-03-preview", "2023-01-01-preview" @@ -19622,6 +19679,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-09-01-preview", "2023-06-01", "2023-03-23-preview", "2023-03-03-preview", @@ -19631,12 +19689,14 @@ { "resourceType": "solutions", "apiVersions": [ + "2023-09-01-preview", "2023-03-03-preview" ] }, { "resourceType": "troubleshooters", "apiVersions": [ + "2023-09-01-preview", "2023-03-23-preview" ] } @@ -20137,6 +20197,7 @@ { "resourceType": "Locations", "apiVersions": [ + "2023-11-15-preview", "2023-11-01", "2022-09-01-preview", "2022-05-01-preview", @@ -20148,6 +20209,7 @@ { "resourceType": "Locations/operationStatuses", "apiVersions": [ + "2023-11-15-preview", "2023-11-01", "2022-09-01-preview", "2022-05-01-preview", @@ -20159,6 +20221,7 @@ { "resourceType": "Operations", "apiVersions": [ + "2023-11-15-preview", "2023-11-01", "2022-09-01-preview", "2022-05-01-preview", @@ -24154,22 +24217,6 @@ "2017-09-25-privatepreview" ] }, - { - "resourceType": "locations/assessmentOptions", - "apiVersions": [ - "2018-02-02", - "2017-11-11-preview", - "2017-09-25-privatepreview" - ] - }, - { - "resourceType": "locations/checkNameAvailability", - "apiVersions": [ - "2018-02-02", - "2017-11-11-preview", - "2017-09-25-privatepreview" - ] - }, { "resourceType": "locations/rmsOperationResults", "apiVersions": [ @@ -24215,14 +24262,6 @@ "2017-11-11-preview", "2017-09-25-privatepreview" ] - }, - { - "resourceType": "projects", - "apiVersions": [ - "2018-02-02", - "2017-11-11-preview", - "2017-09-25-privatepreview" - ] } ] }, @@ -31925,6 +31964,7 @@ { "resourceType": "availableAccounts", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2021-09-01-preview", "2021-06-01-preview", @@ -31939,6 +31979,7 @@ { "resourceType": "operationStatuses", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2022-07-01-preview", "2021-09-01-preview", @@ -31955,6 +31996,7 @@ { "resourceType": "providerRegistrations", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2022-07-01-preview", "2021-09-01-preview", @@ -31967,9 +32009,18 @@ "2019-02-01-preview" ] }, + { + "resourceType": "providerRegistrations/authorizedApplications", + "apiVersions": [ + "2023-08-01-preview", + "2023-04-01-preview", + "2023-01-01-privatepreview" + ] + }, { "resourceType": "providerRegistrations/checkinmanifest", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2022-07-01-preview", "2021-09-01-preview", @@ -31985,6 +32036,7 @@ { "resourceType": "providerRegistrations/customRollouts", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2022-07-01-preview", "2021-09-01-preview", @@ -32000,6 +32052,7 @@ { "resourceType": "providerRegistrations/defaultRollouts", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2022-07-01-preview", "2021-09-01-preview", @@ -32015,6 +32068,7 @@ { "resourceType": "providerRegistrations/resourceActions", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2021-09-01-preview", "2021-06-01-preview", @@ -32030,6 +32084,7 @@ { "resourceType": "providerRegistrations/resourceTypeRegistrations", "apiVersions": [ + "2023-08-01-preview", "2023-04-01-preview", "2022-07-01-preview", "2021-09-01-preview", @@ -32652,6 +32707,7 @@ { "resourceType": "OpenShiftClusters", "apiVersions": [ + "2023-07-01-preview", "2023-04-01", "2022-09-04", "2022-04-01", @@ -32662,6 +32718,7 @@ { "resourceType": "locations", "apiVersions": [ + "2023-07-01-preview", "2023-04-01", "2022-09-04", "2022-04-01", @@ -32673,6 +32730,7 @@ { "resourceType": "locations/openshiftversions", "apiVersions": [ + "2023-07-01-preview", "2023-04-01", "2022-09-04" ] @@ -32680,6 +32738,7 @@ { "resourceType": "locations/operationresults", "apiVersions": [ + "2023-07-01-preview", "2023-04-01", "2022-09-04", "2022-04-01", @@ -32690,6 +32749,7 @@ { "resourceType": "locations/operationsstatus", "apiVersions": [ + "2023-07-01-preview", "2023-04-01", "2022-09-04", "2022-04-01", @@ -32700,6 +32760,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-07-01-preview", "2023-04-01", "2022-09-04", "2022-04-01", @@ -32818,6 +32879,7 @@ { "resourceType": "appliances", "apiVersions": [ + "2022-10-27", "2021-10-31-preview" ] }, @@ -32849,11 +32911,18 @@ { "resourceType": "operations", "apiVersions": [ + "2022-10-27", "2022-04-15-preview", "2021-10-31-preview", "2021-02-01", "2020-07-15-privatepreview" ] + }, + { + "resourceType": "telemetryconfig", + "apiVersions": [ + "2022-10-27" + ] } ] }, @@ -33219,6 +33288,7 @@ { "resourceType": "deploymentScripts", "apiVersions": [ + "2023-08-01", "2020-10-01", "2019-10-01-preview" ] @@ -33226,6 +33296,7 @@ { "resourceType": "deploymentScripts/logs", "apiVersions": [ + "2023-08-01", "2020-10-01", "2019-10-01-preview" ] @@ -33363,6 +33434,7 @@ { "resourceType": "locations/deploymentScriptOperationResults", "apiVersions": [ + "2023-08-01", "2020-10-01", "2019-10-01-preview" ] @@ -33939,6 +34011,7 @@ { "resourceType": "AvailabilitySets", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -33946,6 +34019,7 @@ { "resourceType": "Clouds", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -33961,6 +34035,7 @@ { "resourceType": "VMMServers", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -33968,6 +34043,7 @@ { "resourceType": "VMMServers/InventoryItems", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -33981,6 +34057,7 @@ { "resourceType": "VirtualMachineTemplates", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -33988,6 +34065,7 @@ { "resourceType": "VirtualMachines", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -33995,24 +34073,28 @@ { "resourceType": "VirtualMachines/Extensions", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview" ] }, { "resourceType": "VirtualMachines/GuestAgents", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview" ] }, { "resourceType": "VirtualMachines/HybridIdentityMetadata", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview" ] }, { "resourceType": "VirtualNetworks", "apiVersions": [ + "2023-04-01-preview", "2022-05-21-preview", "2020-06-05-preview" ] @@ -36879,6 +36961,7 @@ { "resourceType": "SignalR", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -36897,6 +36980,7 @@ { "resourceType": "SignalR/eventGridFilters", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -36915,6 +36999,7 @@ { "resourceType": "SignalR/replicas", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview" ] @@ -36922,6 +37007,7 @@ { "resourceType": "WebPubSub", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -36936,6 +37022,7 @@ { "resourceType": "WebPubSub/replicas", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview" ] @@ -36943,6 +37030,7 @@ { "resourceType": "locations", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -36961,6 +37049,7 @@ { "resourceType": "locations/checkNameAvailability", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -36979,6 +37068,7 @@ { "resourceType": "locations/operationResults", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -36997,6 +37087,7 @@ { "resourceType": "locations/operationStatuses", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -37015,6 +37106,7 @@ { "resourceType": "locations/usages", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -37033,6 +37125,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-03-01-preview", "2023-02-01", @@ -37430,6 +37523,7 @@ { "resourceType": "locations/capabilities", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -38212,6 +38306,7 @@ { "resourceType": "locations/jobAgentAzureAsyncOperation", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -38234,6 +38329,7 @@ { "resourceType": "locations/jobAgentOperationResults", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -38253,6 +38349,18 @@ "2017-03-01-preview" ] }, + { + "resourceType": "locations/jobAgentPrivateEndpointAzureAsyncOperation", + "apiVersions": [ + "2023-05-01-preview" + ] + }, + { + "resourceType": "locations/jobAgentPrivateEndpointOperationResults", + "apiVersions": [ + "2023-05-01-preview" + ] + }, { "resourceType": "locations/ledgerDigestUploadsAzureAsyncOperation", "apiVersions": [ @@ -41415,6 +41523,7 @@ { "resourceType": "servers/jobAgents", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -41437,6 +41546,7 @@ { "resourceType": "servers/jobAgents/jobs", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -41459,6 +41569,7 @@ { "resourceType": "servers/jobAgents/jobs/executions", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -41481,6 +41592,7 @@ { "resourceType": "servers/jobAgents/jobs/steps", "apiVersions": [ + "2023-05-01-preview", "2023-02-01-preview", "2022-11-01-preview", "2022-08-01-preview", @@ -41500,6 +41612,12 @@ "2017-03-01-preview" ] }, + { + "resourceType": "servers/jobAgents/privateEndpoints", + "apiVersions": [ + "2023-05-01-preview" + ] + }, { "resourceType": "servers/keys", "apiVersions": [ @@ -42402,6 +42520,41 @@ } ] }, + { + "namespace": "Microsoft.StorageActions", + "resourceTypes": [ + { + "resourceType": "locations", + "apiVersions": [ + "2023-01-01" + ] + }, + { + "resourceType": "locations/asyncoperations", + "apiVersions": [ + "2023-01-01" + ] + }, + { + "resourceType": "locations/previewActions", + "apiVersions": [ + "2023-01-01" + ] + }, + { + "resourceType": "operations", + "apiVersions": [ + "2023-01-01" + ] + }, + { + "resourceType": "storageTasks", + "apiVersions": [ + "2023-01-01" + ] + } + ] + }, { "namespace": "Microsoft.StorageCache", "resourceTypes": [ @@ -42822,6 +42975,12 @@ "2023-01-01" ] }, + { + "resourceType": "locations/previewActions", + "apiVersions": [ + "2023-01-01" + ] + }, { "resourceType": "operations", "apiVersions": [ @@ -43385,6 +43544,8 @@ { "resourceType": "locations", "apiVersions": [ + "2023-08-15-preview", + "2023-08-01-preview", "2023-06-01-preview", "2023-05-15-preview", "2023-01-15-preview", @@ -43406,6 +43567,8 @@ { "resourceType": "locations/operationstatuses", "apiVersions": [ + "2023-08-15-preview", + "2023-08-01-preview", "2023-06-01-preview", "2023-05-15-preview", "2023-01-15-preview", @@ -43427,6 +43590,8 @@ { "resourceType": "operations", "apiVersions": [ + "2023-08-15-preview", + "2023-08-01-preview", "2023-06-01-preview", "2023-05-15-preview", "2023-01-15-preview", @@ -43448,6 +43613,8 @@ { "resourceType": "skus", "apiVersions": [ + "2023-08-15-preview", + "2023-08-01-preview", "2023-06-01-preview", "2023-05-15-preview", "2023-01-15-preview", @@ -43469,6 +43636,7 @@ { "resourceType": "testBaseAccounts", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43484,6 +43652,7 @@ { "resourceType": "testBaseAccounts/actionRequests", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview" ] @@ -43491,6 +43660,7 @@ { "resourceType": "testBaseAccounts/availableInplaceUpgradeOSs", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43500,6 +43670,7 @@ { "resourceType": "testBaseAccounts/availableOSs", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43512,9 +43683,16 @@ "2020-12-16-preview" ] }, + { + "resourceType": "testBaseAccounts/customImages", + "apiVersions": [ + "2023-08-01-preview" + ] + }, { "resourceType": "testBaseAccounts/customerEvents", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43530,6 +43708,7 @@ { "resourceType": "testBaseAccounts/draftPackages", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview" @@ -43538,6 +43717,7 @@ { "resourceType": "testBaseAccounts/emailEvents", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43553,6 +43733,7 @@ { "resourceType": "testBaseAccounts/featureUpdateSupportedOses", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43563,6 +43744,7 @@ { "resourceType": "testBaseAccounts/firstPartyApps", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43572,6 +43754,7 @@ { "resourceType": "testBaseAccounts/flightingRings", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43587,18 +43770,27 @@ { "resourceType": "testBaseAccounts/galleryApps", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview" ] }, { "resourceType": "testBaseAccounts/galleryApps/galleryAppSkus", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview" ] }, + { + "resourceType": "testBaseAccounts/imageDefinitions", + "apiVersions": [ + "2023-08-01-preview" + ] + }, { "resourceType": "testBaseAccounts/packages", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43614,6 +43806,7 @@ { "resourceType": "testBaseAccounts/packages/favoriteProcesses", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43629,6 +43822,7 @@ { "resourceType": "testBaseAccounts/packages/osUpdates", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43644,6 +43838,7 @@ { "resourceType": "testBaseAccounts/packages/testResults", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43659,6 +43854,7 @@ { "resourceType": "testBaseAccounts/packages/testResults/analysisResults", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43674,6 +43870,7 @@ { "resourceType": "testBaseAccounts/testSummaries", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43689,6 +43886,7 @@ { "resourceType": "testBaseAccounts/testTypes", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43704,6 +43902,7 @@ { "resourceType": "testBaseAccounts/usages", "apiVersions": [ + "2023-08-01-preview", "2023-06-01-preview", "2023-01-01-preview", "2022-12-01-preview", @@ -43715,6 +43914,12 @@ "2021-09-01", "2020-12-16-preview" ] + }, + { + "resourceType": "testBaseAccounts/vhds", + "apiVersions": [ + "2023-08-01-preview" + ] } ] }, @@ -44018,6 +44223,7 @@ { "resourceType": "imageTemplates", "apiVersions": [ + "2023-07-01", "2022-07-01", "2022-02-14", "2021-10-01", @@ -44028,6 +44234,7 @@ { "resourceType": "imageTemplates/runOutputs", "apiVersions": [ + "2023-07-01", "2022-07-01", "2022-02-14", "2021-10-01", @@ -44038,6 +44245,7 @@ { "resourceType": "locations", "apiVersions": [ + "2023-07-01", "2022-07-01", "2022-02-14", "2021-10-01", @@ -44048,6 +44256,7 @@ { "resourceType": "locations/operations", "apiVersions": [ + "2023-07-01", "2022-07-01", "2022-02-14", "2021-10-01", @@ -44058,6 +44267,7 @@ { "resourceType": "operations", "apiVersions": [ + "2023-07-01", "2022-07-01", "2022-02-14", "2021-10-01", @@ -46515,6 +46725,7 @@ { "resourceType": "actiongroups", "apiVersions": [ + "2023-08-01-preview", "2023-05-01", "2023-01-01", "2022-06-01", @@ -47175,6 +47386,7 @@ { "resourceType": "tenantactiongroups", "apiVersions": [ + "2023-08-01-preview", "2023-05-01-preview", "2023-03-01-preview" ] @@ -47252,6 +47464,12 @@ "2022-09-01-preview" ] }, + { + "resourceType": "fileWorkspaces/files", + "apiVersions": [ + "2022-09-01-preview" + ] + }, { "resourceType": "lookUpResourceId", "apiVersions": [ diff --git a/azure-rest-api-specs b/azure-rest-api-specs index 32c178f2467f..3eb9ec8e9c8f 160000 --- a/azure-rest-api-specs +++ b/azure-rest-api-specs @@ -1 +1 @@ -Subproject commit 32c178f2467f792a322f56174be244135d2c907f +Subproject commit 3eb9ec8e9c8f717c6b461c4c0f49a4662fb948fd diff --git a/provider/cmd/pulumi-resource-azure-native/schema.json b/provider/cmd/pulumi-resource-azure-native/schema.json index e362b1783bb2..6610a52444af 100644 --- a/provider/cmd/pulumi-resource-azure-native/schema.json +++ b/provider/cmd/pulumi-resource-azure-native/schema.json @@ -136,7 +136,6 @@ "intune": "Intune", "iotcentral": "IoTCentral", "iotfirmwaredefense": "IoTFirmwareDefense", - "iotsecurity": "IoTSecurity", "keyvault": "KeyVault", "kubernetes": "Kubernetes", "kubernetesconfiguration": "KubernetesConfiguration", @@ -218,11 +217,11 @@ "sql": "Sql", "sqlvirtualmachine": "SqlVirtualMachine", "storage": "Storage", + "storageactions": "StorageActions", "storagecache": "StorageCache", "storagemover": "StorageMover", "storagepool": "StoragePool", "storagesync": "StorageSync", - "storagetasks": "StorageTasks", "storsimple": "StorSimple", "streamanalytics": "StreamAnalytics", "subscription": "Subscription", @@ -374,7 +373,6 @@ "github.com/pulumi/pulumi-azure-native-sdk/v2/intune/v2": "intune", "github.com/pulumi/pulumi-azure-native-sdk/v2/iotcentral/v2": "iotcentral", "github.com/pulumi/pulumi-azure-native-sdk/v2/iotfirmwaredefense/v2": "iotfirmwaredefense", - "github.com/pulumi/pulumi-azure-native-sdk/v2/iotsecurity/v2": "iotsecurity", "github.com/pulumi/pulumi-azure-native-sdk/v2/keyvault/v2": "keyvault", "github.com/pulumi/pulumi-azure-native-sdk/v2/kubernetes/v2": "kubernetes", "github.com/pulumi/pulumi-azure-native-sdk/v2/kubernetesconfiguration/v2": "kubernetesconfiguration", @@ -456,11 +454,11 @@ "github.com/pulumi/pulumi-azure-native-sdk/v2/sql/v2": "sql", "github.com/pulumi/pulumi-azure-native-sdk/v2/sqlvirtualmachine/v2": "sqlvirtualmachine", "github.com/pulumi/pulumi-azure-native-sdk/v2/storage/v2": "storage", + "github.com/pulumi/pulumi-azure-native-sdk/v2/storageactions/v2": "storageactions", "github.com/pulumi/pulumi-azure-native-sdk/v2/storagecache/v2": "storagecache", "github.com/pulumi/pulumi-azure-native-sdk/v2/storagemover/v2": "storagemover", "github.com/pulumi/pulumi-azure-native-sdk/v2/storagepool/v2": "storagepool", "github.com/pulumi/pulumi-azure-native-sdk/v2/storagesync/v2": "storagesync", - "github.com/pulumi/pulumi-azure-native-sdk/v2/storagetasks/v2": "storagetasks", "github.com/pulumi/pulumi-azure-native-sdk/v2/storsimple/v2": "storsimple", "github.com/pulumi/pulumi-azure-native-sdk/v2/streamanalytics/v2": "streamanalytics", "github.com/pulumi/pulumi-azure-native-sdk/v2/subscription/v2": "subscription", @@ -606,7 +604,6 @@ "intune": "intune", "iotcentral": "iotcentral", "iotfirmwaredefense": "iotfirmwaredefense", - "iotsecurity": "iotsecurity", "keyvault": "keyvault", "kubernetes": "kubernetes", "kubernetesconfiguration": "kubernetesconfiguration", @@ -688,11 +685,11 @@ "sql": "sql", "sqlvirtualmachine": "sqlvirtualmachine", "storage": "storage", + "storageactions": "storageactions", "storagecache": "storagecache", "storagemover": "storagemover", "storagepool": "storagepool", "storagesync": "storagesync", - "storagetasks": "storagetasks", "storsimple": "storsimple", "streamanalytics": "streamanalytics", "subscription": "subscription", @@ -842,7 +839,6 @@ "intune": "intune", "iotcentral": "iotcentral", "iotfirmwaredefense": "iotfirmwaredefense", - "iotsecurity": "iotsecurity", "keyvault": "keyvault", "kubernetes": "kubernetes", "kubernetesconfiguration": "kubernetesconfiguration", @@ -924,11 +920,11 @@ "sql": "sql", "sqlvirtualmachine": "sqlvirtualmachine", "storage": "storage", + "storageactions": "storageactions", "storagecache": "storagecache", "storagemover": "storagemover", "storagepool": "storagepool", "storagesync": "storagesync", - "storagetasks": "storagetasks", "storsimple": "storsimple", "streamanalytics": "streamanalytics", "subscription": "subscription", @@ -32649,7 +32645,8 @@ }, "resizeTimeout": { "type": "string", - "description": "The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + "description": "The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).", + "default": "PT15M" }, "targetDedicatedNodes": { "type": "integer", @@ -32666,7 +32663,8 @@ "properties": { "resizeTimeout": { "type": "string", - "description": "The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." + "description": "The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).", + "default": "PT15M" }, "targetDedicatedNodes": { "type": "integer", @@ -32763,7 +32761,8 @@ }, "version": { "type": "string", - "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.", + "default": "latest" } }, "type": "object" @@ -32788,7 +32787,8 @@ }, "version": { "type": "string", - "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.", + "default": "latest" } }, "type": "object" @@ -33142,7 +33142,8 @@ "description": "The network configuration for a pool.", "properties": { "dynamicVnetAssignmentScope": { - "$ref": "#/types/azure-native:batch:DynamicVNetAssignmentScope" + "$ref": "#/types/azure-native:batch:DynamicVNetAssignmentScope", + "default": "none" }, "enableAcceleratedNetworking": { "type": "boolean", @@ -33169,7 +33170,8 @@ "description": "The network configuration for a pool.", "properties": { "dynamicVnetAssignmentScope": { - "type": "string" + "type": "string", + "default": "none" }, "enableAcceleratedNetworking": { "type": "boolean", @@ -33748,7 +33750,8 @@ }, "maxTaskRetryCount": { "type": "integer", - "description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit." + "description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0.", + "default": 0 }, "resourceFiles": { "type": "array", @@ -33790,7 +33793,8 @@ }, "maxTaskRetryCount": { "type": "integer", - "description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit." + "description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0.", + "default": 0 }, "resourceFiles": { "type": "array", @@ -33876,7 +33880,8 @@ "azure-native:batch:TaskSchedulingPolicy": { "properties": { "nodeFillType": { - "$ref": "#/types/azure-native:batch:ComputeNodeFillType" + "$ref": "#/types/azure-native:batch:ComputeNodeFillType", + "default": "Spread" } }, "type": "object", @@ -33887,7 +33892,8 @@ "azure-native:batch:TaskSchedulingPolicyResponse": { "properties": { "nodeFillType": { - "type": "string" + "type": "string", + "default": "Spread" } }, "type": "object", @@ -65259,34 +65265,6 @@ } ] }, - "azure-native:containerregistry:BuildArgumentResponse": { - "description": "Properties of a build argument.", - "properties": { - "isSecret": { - "type": "boolean", - "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs.", - "default": false - }, - "name": { - "type": "string", - "description": "The name of the argument." - }, - "type": { - "type": "string", - "description": "The type of the argument." - }, - "value": { - "type": "string", - "description": "The value of the argument." - } - }, - "type": "object", - "required": [ - "name", - "type", - "value" - ] - }, "azure-native:containerregistry:ConnectedRegistryMode": { "description": "The mode of the connected registry resource that indicates the permissions of the registry.", "type": "string", @@ -65687,22 +65665,6 @@ }, "description": "List of base image dependencies for a step." }, - "baseImageTrigger": { - "type": "string", - "description": "The type of the auto trigger for base image dependency updates." - }, - "branch": { - "type": "string", - "description": "The repository branch name." - }, - "buildArguments": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/types/azure-native:containerregistry:BuildArgumentResponse" - }, - "description": "The custom arguments for building this build step." - }, "contextAccessToken": { "type": "string", "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." @@ -65732,10 +65694,6 @@ "description": "The value of this property indicates whether the image cache is enabled or not.", "default": false }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the build step." - }, "target": { "type": "string", "description": "The name of the target build stage for the docker build." @@ -67941,35 +67899,6 @@ "tier" ] }, - "azure-native:containerregistry:SourceControlAuthInfoResponse": { - "description": "The authorization properties for accessing the source code repository.", - "properties": { - "expiresIn": { - "type": "integer", - "description": "Time in seconds that the token remains valid" - }, - "refreshToken": { - "type": "string", - "description": "The refresh token used to refresh the access token." - }, - "scope": { - "type": "string", - "description": "The scope of the access token." - }, - "token": { - "type": "string", - "description": "The access token used to access the source control provider." - }, - "tokenType": { - "type": "string", - "description": "The type of Auth token." - } - }, - "type": "object", - "required": [ - "token" - ] - }, "azure-native:containerregistry:SourceControlType": { "description": "The type of source control service.", "type": "string", @@ -73420,7 +73349,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the Fleet member group to update. \nIt should match the name of an existing FleetMember group.\nA group can only appear once across all UpdateStages in the UpdateRun." + "description": "Name of the group.\nIt must match a group name of an existing fleet member. " } }, "type": "object", @@ -73433,7 +73362,7 @@ "properties": { "name": { "type": "string", - "description": "The name of the Fleet member group to update. \nIt should match the name of an existing FleetMember group.\nA group can only appear once across all UpdateStages in the UpdateRun." + "description": "Name of the group.\nIt must match a group name of an existing fleet member. " } }, "type": "object", @@ -73493,7 +73422,7 @@ ] }, "azure-native:containerservice:UpdateRunStrategy": { - "description": "The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated.", + "description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages.", "properties": { "stages": { "type": "array", @@ -73501,7 +73430,7 @@ "type": "object", "$ref": "#/types/azure-native:containerservice:UpdateStage" }, - "description": "The list of stages that compose this update run." + "description": "The list of stages that compose this update run. Min size: 1." } }, "type": "object", @@ -73510,7 +73439,7 @@ ] }, "azure-native:containerservice:UpdateRunStrategyResponse": { - "description": "The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated.", + "description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages.", "properties": { "stages": { "type": "array", @@ -73518,7 +73447,7 @@ "type": "object", "$ref": "#/types/azure-native:containerservice:UpdateStageResponse" }, - "description": "The list of stages that compose this update run." + "description": "The list of stages that compose this update run. Min size: 1." } }, "type": "object", @@ -73527,7 +73456,7 @@ ] }, "azure-native:containerservice:UpdateStage": { - "description": "Contains the groups to be updated by an UpdateRun.\nUpdate order:\n- Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts.\n- Parallel within a stage: Groups within a stage run in parallel.\n- Sequential within a group: Clusters within a group are updated sequentially.", + "description": "Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage.", "properties": { "afterStageWaitInSeconds": { "type": "integer", @@ -73539,7 +73468,7 @@ "type": "object", "$ref": "#/types/azure-native:containerservice:UpdateGroup" }, - "description": "A list of group names that compose the stage.\nThe groups will be updated in parallel. Each group name can only appear once in the UpdateRun." + "description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1." }, "name": { "type": "string", @@ -73552,7 +73481,7 @@ ] }, "azure-native:containerservice:UpdateStageResponse": { - "description": "Contains the groups to be updated by an UpdateRun.\nUpdate order:\n- Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts.\n- Parallel within a stage: Groups within a stage run in parallel.\n- Sequential within a group: Clusters within a group are updated sequentially.", + "description": "Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage.", "properties": { "afterStageWaitInSeconds": { "type": "integer", @@ -73564,7 +73493,7 @@ "type": "object", "$ref": "#/types/azure-native:containerservice:UpdateGroupResponse" }, - "description": "A list of group names that compose the stage.\nThe groups will be updated in parallel. Each group name can only appear once in the UpdateRun." + "description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1." }, "name": { "type": "string", @@ -184377,6 +184306,60 @@ "minute" ] }, + "azure-native:devcenter:CatalogConflictErrorResponse": { + "description": "An individual conflict error.", + "properties": { + "name": { + "type": "string", + "description": "Name of the conflicting catalog item." + }, + "path": { + "type": "string", + "description": "The path of the file that has a conflicting name." + } + }, + "type": "object", + "required": [ + "name", + "path" + ] + }, + "azure-native:devcenter:CatalogErrorDetailsResponse": { + "description": "Catalog error details", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error." + }, + "message": { + "type": "string", + "description": "A message describing the error." + } + }, + "type": "object" + }, + "azure-native:devcenter:CatalogSyncErrorResponse": { + "description": "An individual synchronization error.", + "properties": { + "errorDetails": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogErrorDetailsResponse" + }, + "description": "Errors associated with the file." + }, + "path": { + "type": "string", + "description": "The path of the file the error is associated with." + } + }, + "type": "object", + "required": [ + "errorDetails", + "path" + ] + }, "azure-native:devcenter:DomainJoinType": { "description": "AAD Join type.", "type": "string", @@ -199591,6 +199574,32 @@ } ] }, + "azure-native:elasticsan:SnapshotCreationData": { + "description": "Data used when creating a volume snapshot.", + "properties": { + "sourceId": { + "type": "string", + "description": "Fully qualified resource ID of the volume. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"" + } + }, + "type": "object", + "required": [ + "sourceId" + ] + }, + "azure-native:elasticsan:SnapshotCreationDataResponse": { + "description": "Data used when creating a volume snapshot.", + "properties": { + "sourceId": { + "type": "string", + "description": "Fully qualified resource ID of the volume. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"" + } + }, + "type": "object", + "required": [ + "sourceId" + ] + }, "azure-native:elasticsan:SourceCreationData": { "description": "Data source used when creating the volume.", "properties": { @@ -224524,111 +224533,6 @@ }, "type": "object" }, - "azure-native:iotsecurity:DefenderSettingsPropertiesMdeIntegration": { - "description": "MDE integration configuration", - "properties": { - "status": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/types/azure-native:iotsecurity:MdeIntegration" - } - ], - "description": "Integration status" - } - }, - "type": "object", - "required": [ - "status" - ] - }, - "azure-native:iotsecurity:DefenderSettingsPropertiesResponseMdeIntegration": { - "description": "MDE integration configuration", - "properties": { - "status": { - "type": "string", - "description": "Integration status" - } - }, - "type": "object", - "required": [ - "status" - ] - }, - "azure-native:iotsecurity:MdeIntegration": { - "description": "Integration status", - "type": "string", - "enum": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - }, - "azure-native:iotsecurity:OnboardingKind": { - "description": "The kind of onboarding for the subscription", - "type": "string", - "enum": [ - { - "value": "Default" - }, - { - "value": "MigratedToAzure" - }, - { - "value": "Evaluation" - }, - { - "value": "Purchased" - } - ] - }, - "azure-native:iotsecurity:SensorType": { - "description": "Type of sensor", - "type": "string", - "enum": [ - { - "value": "Ot" - }, - { - "value": "Enterprise" - } - ] - }, - "azure-native:iotsecurity:SystemDataResponse": { - "description": "Metadata pertaining to creation and last modification of the resource.", - "properties": { - "createdAt": { - "type": "string", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "type": "string", - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "type": "string", - "description": "The type of identity that last modified the resource." - } - }, - "type": "object" - }, "azure-native:keyvault:AccessPolicyEntry": { "description": "An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.", "properties": { @@ -224689,7 +224593,7 @@ "properties": { "type": { "$ref": "#/types/azure-native:keyvault:KeyRotationPolicyActionType", - "description": "The type of the action." + "description": "The type of the action. The value should be compared case-insensitively." } }, "type": "object" @@ -224698,7 +224602,7 @@ "properties": { "type": { "type": "string", - "description": "The type of the action." + "description": "The type of the action. The value should be compared case-insensitively." } }, "type": "object" @@ -225092,11 +224996,11 @@ "type": "object" }, "azure-native:keyvault:KeyRotationPolicyActionType": { - "description": "The type of the action.", + "description": "The type of the action. The value should be compared case-insensitively.", "type": "string", "enum": [ { - "description": "Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead.", + "description": "Rotate the key based on the key policy.", "value": "Rotate" }, { @@ -228881,6 +228785,15 @@ } ] }, + "azure-native:kusto:Language": { + "description": "The language name, for example Python.", + "type": "string", + "enum": [ + { + "value": "Python" + } + ] + }, "azure-native:kusto:LanguageExtension": { "description": "The language extension object.", "properties": { @@ -389849,6 +389762,354 @@ "virtualNetworkResourceId" ] }, + "azure-native:storageactions:ElseCondition": { + "description": "The else block of storage task operation", + "properties": { + "operations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskOperation" + }, + "description": "List of operations to execute in the else block" + } + }, + "type": "object", + "required": [ + "operations" + ] + }, + "azure-native:storageactions:ElseConditionResponse": { + "description": "The else block of storage task operation", + "properties": { + "operations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskOperationResponse" + }, + "description": "List of operations to execute in the else block" + } + }, + "type": "object", + "required": [ + "operations" + ] + }, + "azure-native:storageactions:IfCondition": { + "description": "The if block of storage task operation", + "properties": { + "condition": { + "type": "string", + "description": "The condition predicate which is composed of object properties, eg: blob and container properties." + }, + "operations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskOperation" + }, + "description": "List of operations to execute when the condition predicate satisfies." + } + }, + "type": "object", + "required": [ + "condition", + "operations" + ] + }, + "azure-native:storageactions:IfConditionResponse": { + "description": "The if block of storage task operation", + "properties": { + "condition": { + "type": "string", + "description": "The condition predicate which is composed of object properties, eg: blob and container properties." + }, + "operations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskOperationResponse" + }, + "description": "List of operations to execute when the condition predicate satisfies." + } + }, + "type": "object", + "required": [ + "condition", + "operations" + ] + }, + "azure-native:storageactions:ManagedServiceIdentity": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-native:storageactions:ManagedServiceIdentityType" + } + ], + "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)." + }, + "userAssignedIdentities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "azure-native:storageactions:ManagedServiceIdentityResponse": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "principalId": { + "type": "string", + "description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "type": { + "type": "string", + "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)." + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:UserAssignedIdentityResponse" + }, + "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + } + }, + "type": "object", + "required": [ + "principalId", + "tenantId", + "type" + ] + }, + "azure-native:storageactions:ManagedServiceIdentityType": { + "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "type": "string", + "enum": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "UserAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + } + ] + }, + "azure-native:storageactions:OnFailure": { + "description": "Action to be taken when the operation fails for a object.", + "type": "string", + "enum": [ + { + "value": "break" + } + ] + }, + "azure-native:storageactions:OnSuccess": { + "description": "Action to be taken when the operation is successful for a object.", + "type": "string", + "enum": [ + { + "value": "continue" + } + ] + }, + "azure-native:storageactions:StorageTaskAction": { + "description": "The storage task action represents conditional statements and operations to be performed on target objects.", + "properties": { + "else": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:ElseCondition", + "description": "The else block of storage task operation" + }, + "if": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:IfCondition", + "description": "The if block of storage task operation" + } + }, + "type": "object", + "required": [ + "if" + ] + }, + "azure-native:storageactions:StorageTaskActionResponse": { + "description": "The storage task action represents conditional statements and operations to be performed on target objects.", + "properties": { + "else": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:ElseConditionResponse", + "description": "The else block of storage task operation" + }, + "if": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:IfConditionResponse", + "description": "The if block of storage task operation" + } + }, + "type": "object", + "required": [ + "if" + ] + }, + "azure-native:storageactions:StorageTaskOperation": { + "description": "Represents an operation to be performed on the object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-native:storageactions:StorageTaskOperationName" + } + ], + "description": "The operation to be performed on the object." + }, + "onFailure": { + "$ref": "#/types/azure-native:storageactions:OnFailure", + "description": "Action to be taken when the operation fails for a object." + }, + "onSuccess": { + "$ref": "#/types/azure-native:storageactions:OnSuccess", + "description": "Action to be taken when the operation is successful for a object." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key-value parameters for the operation." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azure-native:storageactions:StorageTaskOperationName": { + "description": "The operation to be performed on the object.", + "type": "string", + "enum": [ + { + "value": "SetBlobTier" + }, + { + "value": "SetBlobTags" + }, + { + "value": "SetBlobImmutabilityPolicy" + }, + { + "value": "SetBlobLegalHold" + }, + { + "value": "SetBlobExpiry" + }, + { + "value": "DeleteBlob" + }, + { + "value": "UndeleteBlob" + } + ] + }, + "azure-native:storageactions:StorageTaskOperationResponse": { + "description": "Represents an operation to be performed on the object", + "properties": { + "name": { + "type": "string", + "description": "The operation to be performed on the object." + }, + "onFailure": { + "type": "string", + "description": "Action to be taken when the operation fails for a object." + }, + "onSuccess": { + "type": "string", + "description": "Action to be taken when the operation is successful for a object." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Key-value parameters for the operation." + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "azure-native:storageactions:SystemDataResponse": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "properties": { + "createdAt": { + "type": "string", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "description": "The timestamp of resource last modification (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource." + } + }, + "type": "object" + }, + "azure-native:storageactions:UserAssignedIdentityResponse": { + "description": "User assigned identity properties", + "properties": { + "clientId": { + "type": "string", + "description": "The client ID of the assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal ID of the assigned identity." + } + }, + "type": "object", + "required": [ + "clientId", + "principalId" + ] + }, "azure-native:storagecache:AmlFilesystemArchiveResponse": { "description": "Information about the AML file system archive", "properties": { @@ -392635,354 +392896,6 @@ }, "type": "object" }, - "azure-native:storagetasks:ElseCondition": { - "description": "The else block of storage task operation", - "properties": { - "operations": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskOperation" - }, - "description": "List of operations to execute in the else block" - } - }, - "type": "object", - "required": [ - "operations" - ] - }, - "azure-native:storagetasks:ElseConditionResponse": { - "description": "The else block of storage task operation", - "properties": { - "operations": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskOperationResponse" - }, - "description": "List of operations to execute in the else block" - } - }, - "type": "object", - "required": [ - "operations" - ] - }, - "azure-native:storagetasks:IfCondition": { - "description": "The if block of storage task operation", - "properties": { - "condition": { - "type": "string", - "description": "The condition predicate which is composed of object properties, eg: blob and container properties." - }, - "operations": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskOperation" - }, - "description": "List of operations to execute when the condition predicate satisfies." - } - }, - "type": "object", - "required": [ - "condition", - "operations" - ] - }, - "azure-native:storagetasks:IfConditionResponse": { - "description": "The if block of storage task operation", - "properties": { - "condition": { - "type": "string", - "description": "The condition predicate which is composed of object properties, eg: blob and container properties." - }, - "operations": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskOperationResponse" - }, - "description": "List of operations to execute when the condition predicate satisfies." - } - }, - "type": "object", - "required": [ - "condition", - "operations" - ] - }, - "azure-native:storagetasks:ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/types/azure-native:storagetasks:ManagedServiceIdentityType" - } - ], - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)." - }, - "userAssignedIdentities": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "azure-native:storagetasks:ManagedServiceIdentityResponse": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "principalId": { - "type": "string", - "description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity." - }, - "tenantId": { - "type": "string", - "description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity." - }, - "type": { - "type": "string", - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)." - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:UserAssignedIdentityResponse" - }, - "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." - } - }, - "type": "object", - "required": [ - "principalId", - "tenantId", - "type" - ] - }, - "azure-native:storagetasks:ManagedServiceIdentityType": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "type": "string", - "enum": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "UserAssigned" - }, - { - "value": "SystemAssigned,UserAssigned" - } - ] - }, - "azure-native:storagetasks:OnFailure": { - "description": "Action to be taken when the operation fails for a object.", - "type": "string", - "enum": [ - { - "value": "break" - } - ] - }, - "azure-native:storagetasks:OnSuccess": { - "description": "Action to be taken when the operation is successful for a object.", - "type": "string", - "enum": [ - { - "value": "continue" - } - ] - }, - "azure-native:storagetasks:StorageTaskAction": { - "description": "The storage task action represents conditional statements and operations to be performed on target objects.", - "properties": { - "else": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:ElseCondition", - "description": "The else block of storage task operation" - }, - "if": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:IfCondition", - "description": "The if block of storage task operation" - } - }, - "type": "object", - "required": [ - "if" - ] - }, - "azure-native:storagetasks:StorageTaskActionResponse": { - "description": "The storage task action represents conditional statements and operations to be performed on target objects.", - "properties": { - "else": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:ElseConditionResponse", - "description": "The else block of storage task operation" - }, - "if": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:IfConditionResponse", - "description": "The if block of storage task operation" - } - }, - "type": "object", - "required": [ - "if" - ] - }, - "azure-native:storagetasks:StorageTaskOperation": { - "description": "Represents an operation to be performed on the object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/types/azure-native:storagetasks:StorageTaskOperationName" - } - ], - "description": "The operation to be performed on the object." - }, - "onFailure": { - "$ref": "#/types/azure-native:storagetasks:OnFailure", - "description": "Action to be taken when the operation fails for a object." - }, - "onSuccess": { - "$ref": "#/types/azure-native:storagetasks:OnSuccess", - "description": "Action to be taken when the operation is successful for a object." - }, - "parameters": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Key-value parameters for the operation." - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "azure-native:storagetasks:StorageTaskOperationName": { - "description": "The operation to be performed on the object.", - "type": "string", - "enum": [ - { - "value": "SetBlobTier" - }, - { - "value": "SetBlobTags" - }, - { - "value": "SetBlobImmutabilityPolicy" - }, - { - "value": "SetBlobLegalHold" - }, - { - "value": "SetBlobExpiry" - }, - { - "value": "DeleteBlob" - }, - { - "value": "UndeleteBlob" - } - ] - }, - "azure-native:storagetasks:StorageTaskOperationResponse": { - "description": "Represents an operation to be performed on the object", - "properties": { - "name": { - "type": "string", - "description": "The operation to be performed on the object." - }, - "onFailure": { - "type": "string", - "description": "Action to be taken when the operation fails for a object." - }, - "onSuccess": { - "type": "string", - "description": "Action to be taken when the operation is successful for a object." - }, - "parameters": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Key-value parameters for the operation." - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "azure-native:storagetasks:SystemDataResponse": { - "description": "Metadata pertaining to creation and last modification of the resource.", - "properties": { - "createdAt": { - "type": "string", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "type": "string", - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "type": "string", - "description": "The type of identity that last modified the resource." - } - }, - "type": "object" - }, - "azure-native:storagetasks:UserAssignedIdentityResponse": { - "description": "User assigned identity properties", - "properties": { - "clientId": { - "type": "string", - "description": "The client ID of the assigned identity." - }, - "principalId": { - "type": "string", - "description": "The principal ID of the assigned identity." - } - }, - "type": "object", - "required": [ - "clientId", - "principalId" - ] - }, "azure-native:storsimple:AsymmetricEncryptedSecret": { "description": "Represent the secrets intended for encryption with asymmetric key pair.", "properties": { @@ -420401,7 +420314,7 @@ ] }, "azure-native:alertsmanagement:PrometheusRuleGroup": { - "description": "The Prometheus rule group resource.\nAzure REST API version: 2023-03-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update a PrometheusRuleGroup\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var prometheusRuleGroup = new AzureNative.AlertsManagement.PrometheusRuleGroup(\"prometheusRuleGroup\", new()\n {\n ClusterName = \"myClusterName\",\n Description = \"This is the description of the following rule group\",\n Enabled = true,\n Interval = \"PT10M\",\n Location = \"East US\",\n ResourceGroupName = \"promResourceGroup\",\n RuleGroupName = \"myPrometheusRuleGroup\",\n Rules = new[]\n {\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleArgs\n {\n Expression = \"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\",\n Labels = \n {\n { \"team\", \"prod\" },\n },\n Record = \"job_type:billing_jobs_duration_seconds:99p5m\",\n },\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleArgs\n {\n Actions = new[]\n {\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleGroupActionArgs\n {\n ActionGroupId = \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\",\n ActionProperties = \n {\n { \"key11\", \"value11\" },\n { \"key12\", \"value12\" },\n },\n },\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleGroupActionArgs\n {\n ActionGroupId = \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\",\n ActionProperties = \n {\n { \"key21\", \"value21\" },\n { \"key22\", \"value22\" },\n },\n },\n },\n Alert = \"Billing_Processing_Very_Slow\",\n Annotations = \n {\n { \"annotationName1\", \"annotationValue1\" },\n },\n Enabled = true,\n Expression = \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n For = \"PT5M\",\n Labels = \n {\n { \"team\", \"prod\" },\n },\n ResolveConfiguration = new AzureNative.AlertsManagement.Inputs.PrometheusRuleResolveConfigurationArgs\n {\n AutoResolved = true,\n TimeToResolve = \"PT10M\",\n },\n Severity = 2,\n },\n },\n Scopes = new[]\n {\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/alertsmanagement/v2\"\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 := alertsmanagement.NewPrometheusRuleGroup(ctx, \"prometheusRuleGroup\", \u0026alertsmanagement.PrometheusRuleGroupArgs{\n\t\t\tClusterName: pulumi.String(\"myClusterName\"),\n\t\t\tDescription: pulumi.String(\"This is the description of the following rule group\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tInterval: pulumi.String(\"PT10M\"),\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t\tResourceGroupName: pulumi.String(\"promResourceGroup\"),\n\t\t\tRuleGroupName: pulumi.String(\"myPrometheusRuleGroup\"),\n\t\t\tRules: []alertsmanagement.PrometheusRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tExpression: pulumi.String(\"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\"),\n\t\t\t\t\tLabels: {\n\t\t\t\t\t\t\"team\": pulumi.String(\"prod\"),\n\t\t\t\t\t},\n\t\t\t\t\tRecord: pulumi.String(\"job_type:billing_jobs_duration_seconds:99p5m\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tActions: alertsmanagement.PrometheusRuleGroupActionArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tActionGroupId: pulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\"),\n\t\t\t\t\t\t\tActionProperties: {\n\t\t\t\t\t\t\t\t\"key11\": pulumi.String(\"value11\"),\n\t\t\t\t\t\t\t\t\"key12\": pulumi.String(\"value12\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tActionGroupId: pulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\"),\n\t\t\t\t\t\t\tActionProperties: {\n\t\t\t\t\t\t\t\t\"key21\": pulumi.String(\"value21\"),\n\t\t\t\t\t\t\t\t\"key22\": pulumi.String(\"value22\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tAlert: pulumi.String(\"Billing_Processing_Very_Slow\"),\n\t\t\t\t\tAnnotations: {\n\t\t\t\t\t\t\"annotationName1\": pulumi.String(\"annotationValue1\"),\n\t\t\t\t\t},\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tExpression: pulumi.String(\"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\"),\n\t\t\t\t\tFor: pulumi.String(\"PT5M\"),\n\t\t\t\t\tLabels: {\n\t\t\t\t\t\t\"team\": pulumi.String(\"prod\"),\n\t\t\t\t\t},\n\t\t\t\t\tResolveConfiguration: {\n\t\t\t\t\t\tAutoResolved: pulumi.Bool(true),\n\t\t\t\t\t\tTimeToResolve: pulumi.String(\"PT10M\"),\n\t\t\t\t\t},\n\t\t\t\t\tSeverity: pulumi.Int(2),\n\t\t\t\t},\n\t\t\t},\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.alertsmanagement.PrometheusRuleGroup;\nimport com.pulumi.azurenative.alertsmanagement.PrometheusRuleGroupArgs;\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 prometheusRuleGroup = new PrometheusRuleGroup(\"prometheusRuleGroup\", PrometheusRuleGroupArgs.builder() \n .clusterName(\"myClusterName\")\n .description(\"This is the description of the following rule group\")\n .enabled(true)\n .interval(\"PT10M\")\n .location(\"East US\")\n .resourceGroupName(\"promResourceGroup\")\n .ruleGroupName(\"myPrometheusRuleGroup\")\n .rules( \n Map.ofEntries(\n Map.entry(\"expression\", \"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\"),\n Map.entry(\"labels\", Map.of(\"team\", \"prod\")),\n Map.entry(\"record\", \"job_type:billing_jobs_duration_seconds:99p5m\")\n ),\n Map.ofEntries(\n Map.entry(\"actions\", \n Map.ofEntries(\n Map.entry(\"actionGroupId\", \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\"),\n Map.entry(\"actionProperties\", Map.ofEntries(\n Map.entry(\"key11\", \"value11\"),\n Map.entry(\"key12\", \"value12\")\n ))\n ),\n Map.ofEntries(\n Map.entry(\"actionGroupId\", \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\"),\n Map.entry(\"actionProperties\", Map.ofEntries(\n Map.entry(\"key21\", \"value21\"),\n Map.entry(\"key22\", \"value22\")\n ))\n )),\n Map.entry(\"alert\", \"Billing_Processing_Very_Slow\"),\n Map.entry(\"annotations\", Map.of(\"annotationName1\", \"annotationValue1\")),\n Map.entry(\"enabled\", true),\n Map.entry(\"expression\", \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\"),\n Map.entry(\"for\", \"PT5M\"),\n Map.entry(\"labels\", Map.of(\"team\", \"prod\")),\n Map.entry(\"resolveConfiguration\", Map.ofEntries(\n Map.entry(\"autoResolved\", true),\n Map.entry(\"timeToResolve\", \"PT10M\")\n )),\n Map.entry(\"severity\", 2)\n ))\n .scopes(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst prometheusRuleGroup = new azure_native.alertsmanagement.PrometheusRuleGroup(\"prometheusRuleGroup\", {\n clusterName: \"myClusterName\",\n description: \"This is the description of the following rule group\",\n enabled: true,\n interval: \"PT10M\",\n location: \"East US\",\n resourceGroupName: \"promResourceGroup\",\n ruleGroupName: \"myPrometheusRuleGroup\",\n rules: [\n {\n expression: \"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\",\n labels: {\n team: \"prod\",\n },\n record: \"job_type:billing_jobs_duration_seconds:99p5m\",\n },\n {\n actions: [\n {\n actionGroupId: \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\",\n actionProperties: {\n key11: \"value11\",\n key12: \"value12\",\n },\n },\n {\n actionGroupId: \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\",\n actionProperties: {\n key21: \"value21\",\n key22: \"value22\",\n },\n },\n ],\n alert: \"Billing_Processing_Very_Slow\",\n annotations: {\n annotationName1: \"annotationValue1\",\n },\n enabled: true,\n expression: \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n \"for\": \"PT5M\",\n labels: {\n team: \"prod\",\n },\n resolveConfiguration: {\n autoResolved: true,\n timeToResolve: \"PT10M\",\n },\n severity: 2,\n },\n ],\n scopes: [\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nprometheus_rule_group = azure_native.alertsmanagement.PrometheusRuleGroup(\"prometheusRuleGroup\",\n cluster_name=\"myClusterName\",\n description=\"This is the description of the following rule group\",\n enabled=True,\n interval=\"PT10M\",\n location=\"East US\",\n resource_group_name=\"promResourceGroup\",\n rule_group_name=\"myPrometheusRuleGroup\",\n rules=[\n azure_native.alertsmanagement.PrometheusRuleArgs(\n expression=\"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\",\n labels={\n \"team\": \"prod\",\n },\n record=\"job_type:billing_jobs_duration_seconds:99p5m\",\n ),\n {\n \"actions\": [\n azure_native.alertsmanagement.PrometheusRuleGroupActionArgs(\n action_group_id=\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\",\n action_properties={\n \"key11\": \"value11\",\n \"key12\": \"value12\",\n },\n ),\n azure_native.alertsmanagement.PrometheusRuleGroupActionArgs(\n action_group_id=\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\",\n action_properties={\n \"key21\": \"value21\",\n \"key22\": \"value22\",\n },\n ),\n ],\n \"alert\": \"Billing_Processing_Very_Slow\",\n \"annotations\": {\n \"annotationName1\": \"annotationValue1\",\n },\n \"enabled\": True,\n \"expression\": \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n \"for\": \"PT5M\",\n \"labels\": {\n \"team\": \"prod\",\n },\n \"resolveConfiguration\": azure_native.alertsmanagement.PrometheusRuleResolveConfigurationArgs(\n auto_resolved=True,\n time_to_resolve=\"PT10M\",\n ),\n \"severity\": 2,\n },\n ],\n scopes=[\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"])\n\n```\n\n```yaml\nresources:\n prometheusRuleGroup:\n type: azure-native:alertsmanagement:PrometheusRuleGroup\n properties:\n clusterName: myClusterName\n description: This is the description of the following rule group\n enabled: true\n interval: PT10M\n location: East US\n resourceGroupName: promResourceGroup\n ruleGroupName: myPrometheusRuleGroup\n rules:\n - expression: histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\"billing-processing\"}[5m])) by (job_type))\n labels:\n team: prod\n record: job_type:billing_jobs_duration_seconds:99p5m\n - actions:\n - actionGroupId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\n actionProperties:\n key11: value11\n key12: value12\n - actionGroupId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\n actionProperties:\n key21: value21\n key22: value22\n alert: Billing_Processing_Very_Slow\n annotations:\n annotationName1: annotationValue1\n enabled: true\n expression: job_type:billing_jobs_duration_seconds:99p5m \u003e 30\n for: PT5M\n labels:\n team: prod\n resolveConfiguration:\n autoResolved: true\n timeToResolve: PT10M\n severity: 2\n scopes:\n - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:alertsmanagement:PrometheusRuleGroup myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName} \n```\n", + "description": "The Prometheus rule group resource.\nAzure REST API version: 2023-03-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update a PrometheusRuleGroup\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var prometheusRuleGroup = new AzureNative.AlertsManagement.PrometheusRuleGroup(\"prometheusRuleGroup\", new()\n {\n ClusterName = \"myClusterName\",\n Description = \"This is the description of the following rule group\",\n Enabled = true,\n Interval = \"PT10M\",\n Location = \"East US\",\n ResourceGroupName = \"promResourceGroup\",\n RuleGroupName = \"myPrometheusRuleGroup\",\n Rules = new[]\n {\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleArgs\n {\n Expression = \"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\",\n Labels = \n {\n { \"team\", \"prod\" },\n },\n Record = \"job_type:billing_jobs_duration_seconds:99p5m\",\n },\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleArgs\n {\n Actions = new[]\n {\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleGroupActionArgs\n {\n ActionGroupId = \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\",\n ActionProperties = \n {\n { \"key11\", \"value11\" },\n { \"key12\", \"value12\" },\n },\n },\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleGroupActionArgs\n {\n ActionGroupId = \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\",\n ActionProperties = \n {\n { \"key21\", \"value21\" },\n { \"key22\", \"value22\" },\n },\n },\n },\n Alert = \"Billing_Processing_Very_Slow\",\n Annotations = \n {\n { \"annotationName1\", \"annotationValue1\" },\n },\n Enabled = true,\n Expression = \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n For = \"PT5M\",\n Labels = \n {\n { \"team\", \"prod\" },\n },\n ResolveConfiguration = new AzureNative.AlertsManagement.Inputs.PrometheusRuleResolveConfigurationArgs\n {\n AutoResolved = true,\n TimeToResolve = \"PT10M\",\n },\n Severity = 2,\n },\n },\n Scopes = new[]\n {\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/alertsmanagement/v2\"\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 := alertsmanagement.NewPrometheusRuleGroup(ctx, \"prometheusRuleGroup\", \u0026alertsmanagement.PrometheusRuleGroupArgs{\n\t\t\tClusterName: pulumi.String(\"myClusterName\"),\n\t\t\tDescription: pulumi.String(\"This is the description of the following rule group\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tInterval: pulumi.String(\"PT10M\"),\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t\tResourceGroupName: pulumi.String(\"promResourceGroup\"),\n\t\t\tRuleGroupName: pulumi.String(\"myPrometheusRuleGroup\"),\n\t\t\tRules: []alertsmanagement.PrometheusRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tExpression: pulumi.String(\"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\"),\n\t\t\t\t\tLabels: {\n\t\t\t\t\t\t\"team\": pulumi.String(\"prod\"),\n\t\t\t\t\t},\n\t\t\t\t\tRecord: pulumi.String(\"job_type:billing_jobs_duration_seconds:99p5m\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tActions: alertsmanagement.PrometheusRuleGroupActionArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tActionGroupId: pulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\"),\n\t\t\t\t\t\t\tActionProperties: {\n\t\t\t\t\t\t\t\t\"key11\": pulumi.String(\"value11\"),\n\t\t\t\t\t\t\t\t\"key12\": pulumi.String(\"value12\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tActionGroupId: pulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\"),\n\t\t\t\t\t\t\tActionProperties: {\n\t\t\t\t\t\t\t\t\"key21\": pulumi.String(\"value21\"),\n\t\t\t\t\t\t\t\t\"key22\": pulumi.String(\"value22\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tAlert: pulumi.String(\"Billing_Processing_Very_Slow\"),\n\t\t\t\t\tAnnotations: {\n\t\t\t\t\t\t\"annotationName1\": pulumi.String(\"annotationValue1\"),\n\t\t\t\t\t},\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tExpression: pulumi.String(\"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\"),\n\t\t\t\t\tFor: pulumi.String(\"PT5M\"),\n\t\t\t\t\tLabels: {\n\t\t\t\t\t\t\"team\": pulumi.String(\"prod\"),\n\t\t\t\t\t},\n\t\t\t\t\tResolveConfiguration: {\n\t\t\t\t\t\tAutoResolved: pulumi.Bool(true),\n\t\t\t\t\t\tTimeToResolve: pulumi.String(\"PT10M\"),\n\t\t\t\t\t},\n\t\t\t\t\tSeverity: pulumi.Int(2),\n\t\t\t\t},\n\t\t\t},\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.alertsmanagement.PrometheusRuleGroup;\nimport com.pulumi.azurenative.alertsmanagement.PrometheusRuleGroupArgs;\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 prometheusRuleGroup = new PrometheusRuleGroup(\"prometheusRuleGroup\", PrometheusRuleGroupArgs.builder() \n .clusterName(\"myClusterName\")\n .description(\"This is the description of the following rule group\")\n .enabled(true)\n .interval(\"PT10M\")\n .location(\"East US\")\n .resourceGroupName(\"promResourceGroup\")\n .ruleGroupName(\"myPrometheusRuleGroup\")\n .rules( \n Map.ofEntries(\n Map.entry(\"expression\", \"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\"),\n Map.entry(\"labels\", Map.of(\"team\", \"prod\")),\n Map.entry(\"record\", \"job_type:billing_jobs_duration_seconds:99p5m\")\n ),\n Map.ofEntries(\n Map.entry(\"actions\", \n Map.ofEntries(\n Map.entry(\"actionGroupId\", \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\"),\n Map.entry(\"actionProperties\", Map.ofEntries(\n Map.entry(\"key11\", \"value11\"),\n Map.entry(\"key12\", \"value12\")\n ))\n ),\n Map.ofEntries(\n Map.entry(\"actionGroupId\", \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\"),\n Map.entry(\"actionProperties\", Map.ofEntries(\n Map.entry(\"key21\", \"value21\"),\n Map.entry(\"key22\", \"value22\")\n ))\n )),\n Map.entry(\"alert\", \"Billing_Processing_Very_Slow\"),\n Map.entry(\"annotations\", Map.of(\"annotationName1\", \"annotationValue1\")),\n Map.entry(\"enabled\", true),\n Map.entry(\"expression\", \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\"),\n Map.entry(\"for\", \"PT5M\"),\n Map.entry(\"labels\", Map.of(\"team\", \"prod\")),\n Map.entry(\"resolveConfiguration\", Map.ofEntries(\n Map.entry(\"autoResolved\", true),\n Map.entry(\"timeToResolve\", \"PT10M\")\n )),\n Map.entry(\"severity\", 2)\n ))\n .scopes(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst prometheusRuleGroup = new azure_native.alertsmanagement.PrometheusRuleGroup(\"prometheusRuleGroup\", {\n clusterName: \"myClusterName\",\n description: \"This is the description of the following rule group\",\n enabled: true,\n interval: \"PT10M\",\n location: \"East US\",\n resourceGroupName: \"promResourceGroup\",\n ruleGroupName: \"myPrometheusRuleGroup\",\n rules: [\n {\n expression: \"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\",\n labels: {\n team: \"prod\",\n },\n record: \"job_type:billing_jobs_duration_seconds:99p5m\",\n },\n {\n actions: [\n {\n actionGroupId: \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\",\n actionProperties: {\n key11: \"value11\",\n key12: \"value12\",\n },\n },\n {\n actionGroupId: \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\",\n actionProperties: {\n key21: \"value21\",\n key22: \"value22\",\n },\n },\n ],\n alert: \"Billing_Processing_Very_Slow\",\n annotations: {\n annotationName1: \"annotationValue1\",\n },\n enabled: true,\n expression: \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n \"for\": \"PT5M\",\n labels: {\n team: \"prod\",\n },\n resolveConfiguration: {\n autoResolved: true,\n timeToResolve: \"PT10M\",\n },\n severity: 2,\n },\n ],\n scopes: [\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nprometheus_rule_group = azure_native.alertsmanagement.PrometheusRuleGroup(\"prometheusRuleGroup\",\n cluster_name=\"myClusterName\",\n description=\"This is the description of the following rule group\",\n enabled=True,\n interval=\"PT10M\",\n location=\"East US\",\n resource_group_name=\"promResourceGroup\",\n rule_group_name=\"myPrometheusRuleGroup\",\n rules=[\n azure_native.alertsmanagement.PrometheusRuleArgs(\n expression=\"histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\\\"billing-processing\\\"}[5m])) by (job_type))\",\n labels={\n \"team\": \"prod\",\n },\n record=\"job_type:billing_jobs_duration_seconds:99p5m\",\n ),\n {\n \"actions\": [\n azure_native.alertsmanagement.PrometheusRuleGroupActionArgs(\n action_group_id=\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\",\n action_properties={\n \"key11\": \"value11\",\n \"key12\": \"value12\",\n },\n ),\n azure_native.alertsmanagement.PrometheusRuleGroupActionArgs(\n action_group_id=\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\",\n action_properties={\n \"key21\": \"value21\",\n \"key22\": \"value22\",\n },\n ),\n ],\n \"alert\": \"Billing_Processing_Very_Slow\",\n \"annotations\": {\n \"annotationName1\": \"annotationValue1\",\n },\n \"enabled\": True,\n \"expression\": \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n \"for\": \"PT5M\",\n \"labels\": {\n \"team\": \"prod\",\n },\n \"resolveConfiguration\": azure_native.alertsmanagement.PrometheusRuleResolveConfigurationArgs(\n auto_resolved=True,\n time_to_resolve=\"PT10M\",\n ),\n \"severity\": 2,\n },\n ],\n scopes=[\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"])\n\n```\n\n```yaml\nresources:\n prometheusRuleGroup:\n type: azure-native:alertsmanagement:PrometheusRuleGroup\n properties:\n clusterName: myClusterName\n description: This is the description of the following rule group\n enabled: true\n interval: PT10M\n location: East US\n resourceGroupName: promResourceGroup\n ruleGroupName: myPrometheusRuleGroup\n rules:\n - expression: histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service=\"billing-processing\"}[5m])) by (job_type))\n labels:\n team: prod\n record: job_type:billing_jobs_duration_seconds:99p5m\n - actions:\n - actionGroupId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myactiongroup\n actionProperties:\n key11: value11\n key12: value12\n - actionGroupId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/myrg/providers/microsoft.insights/actiongroups/myotheractiongroup\n actionProperties:\n key21: value21\n key22: value22\n alert: Billing_Processing_Very_Slow\n annotations:\n annotationName1: annotationValue1\n enabled: true\n expression: job_type:billing_jobs_duration_seconds:99p5m \u003e 30\n for: PT5M\n labels:\n team: prod\n resolveConfiguration:\n autoResolved: true\n timeToResolve: PT10M\n severity: 2\n scopes:\n - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or Update a cluster centric PrometheusRuleGroup\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var prometheusRuleGroup = new AzureNative.AlertsManagement.PrometheusRuleGroup(\"prometheusRuleGroup\", new()\n {\n ClusterName = \"myClusterName\",\n Description = \"This is a rule group with culster centric configuration\",\n Interval = \"PT10M\",\n Location = \"East US\",\n ResourceGroupName = \"promResourceGroup\",\n RuleGroupName = \"myPrometheusRuleGroup\",\n Rules = new[]\n {\n new AzureNative.AlertsManagement.Inputs.PrometheusRuleArgs\n {\n Actions = new[] {},\n Alert = \"Billing_Processing_Very_Slow\",\n Annotations = \n {\n { \"annotationName1\", \"annotationValue1\" },\n },\n Enabled = true,\n Expression = \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n For = \"PT5M\",\n Labels = \n {\n { \"team\", \"prod\" },\n },\n ResolveConfiguration = new AzureNative.AlertsManagement.Inputs.PrometheusRuleResolveConfigurationArgs\n {\n AutoResolved = true,\n TimeToResolve = \"PT10M\",\n },\n Severity = 2,\n },\n },\n Scopes = new[]\n {\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\",\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myClusterName\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/alertsmanagement/v2\"\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 := alertsmanagement.NewPrometheusRuleGroup(ctx, \"prometheusRuleGroup\", \u0026alertsmanagement.PrometheusRuleGroupArgs{\n\t\t\tClusterName: pulumi.String(\"myClusterName\"),\n\t\t\tDescription: pulumi.String(\"This is a rule group with culster centric configuration\"),\n\t\t\tInterval: pulumi.String(\"PT10M\"),\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t\tResourceGroupName: pulumi.String(\"promResourceGroup\"),\n\t\t\tRuleGroupName: pulumi.String(\"myPrometheusRuleGroup\"),\n\t\t\tRules: []alertsmanagement.PrometheusRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tActions: alertsmanagement.PrometheusRuleGroupActionArray{},\n\t\t\t\t\tAlert: pulumi.String(\"Billing_Processing_Very_Slow\"),\n\t\t\t\t\tAnnotations: {\n\t\t\t\t\t\t\"annotationName1\": pulumi.String(\"annotationValue1\"),\n\t\t\t\t\t},\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tExpression: pulumi.String(\"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\"),\n\t\t\t\t\tFor: pulumi.String(\"PT5M\"),\n\t\t\t\t\tLabels: {\n\t\t\t\t\t\t\"team\": pulumi.String(\"prod\"),\n\t\t\t\t\t},\n\t\t\t\t\tResolveConfiguration: {\n\t\t\t\t\t\tAutoResolved: pulumi.Bool(true),\n\t\t\t\t\t\tTimeToResolve: pulumi.String(\"PT10M\"),\n\t\t\t\t\t},\n\t\t\t\t\tSeverity: pulumi.Int(2),\n\t\t\t\t},\n\t\t\t},\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\"),\n\t\t\t\tpulumi.String(\"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myClusterName\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.alertsmanagement.PrometheusRuleGroup;\nimport com.pulumi.azurenative.alertsmanagement.PrometheusRuleGroupArgs;\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 prometheusRuleGroup = new PrometheusRuleGroup(\"prometheusRuleGroup\", PrometheusRuleGroupArgs.builder() \n .clusterName(\"myClusterName\")\n .description(\"This is a rule group with culster centric configuration\")\n .interval(\"PT10M\")\n .location(\"East US\")\n .resourceGroupName(\"promResourceGroup\")\n .ruleGroupName(\"myPrometheusRuleGroup\")\n .rules(Map.ofEntries(\n Map.entry(\"actions\", ),\n Map.entry(\"alert\", \"Billing_Processing_Very_Slow\"),\n Map.entry(\"annotations\", Map.of(\"annotationName1\", \"annotationValue1\")),\n Map.entry(\"enabled\", true),\n Map.entry(\"expression\", \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\"),\n Map.entry(\"for\", \"PT5M\"),\n Map.entry(\"labels\", Map.of(\"team\", \"prod\")),\n Map.entry(\"resolveConfiguration\", Map.ofEntries(\n Map.entry(\"autoResolved\", true),\n Map.entry(\"timeToResolve\", \"PT10M\")\n )),\n Map.entry(\"severity\", 2)\n ))\n .scopes( \n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\",\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myClusterName\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst prometheusRuleGroup = new azure_native.alertsmanagement.PrometheusRuleGroup(\"prometheusRuleGroup\", {\n clusterName: \"myClusterName\",\n description: \"This is a rule group with culster centric configuration\",\n interval: \"PT10M\",\n location: \"East US\",\n resourceGroupName: \"promResourceGroup\",\n ruleGroupName: \"myPrometheusRuleGroup\",\n rules: [{\n actions: [],\n alert: \"Billing_Processing_Very_Slow\",\n annotations: {\n annotationName1: \"annotationValue1\",\n },\n enabled: true,\n expression: \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n \"for\": \"PT5M\",\n labels: {\n team: \"prod\",\n },\n resolveConfiguration: {\n autoResolved: true,\n timeToResolve: \"PT10M\",\n },\n severity: 2,\n }],\n scopes: [\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\",\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myClusterName\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nprometheus_rule_group = azure_native.alertsmanagement.PrometheusRuleGroup(\"prometheusRuleGroup\",\n cluster_name=\"myClusterName\",\n description=\"This is a rule group with culster centric configuration\",\n interval=\"PT10M\",\n location=\"East US\",\n resource_group_name=\"promResourceGroup\",\n rule_group_name=\"myPrometheusRuleGroup\",\n rules=[{\n \"actions\": [],\n \"alert\": \"Billing_Processing_Very_Slow\",\n \"annotations\": {\n \"annotationName1\": \"annotationValue1\",\n },\n \"enabled\": True,\n \"expression\": \"job_type:billing_jobs_duration_seconds:99p5m \u003e 30\",\n \"for\": \"PT5M\",\n \"labels\": {\n \"team\": \"prod\",\n },\n \"resolveConfiguration\": azure_native.alertsmanagement.PrometheusRuleResolveConfigurationArgs(\n auto_resolved=True,\n time_to_resolve=\"PT10M\",\n ),\n \"severity\": 2,\n }],\n scopes=[\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\",\n \"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myClusterName\",\n ])\n\n```\n\n```yaml\nresources:\n prometheusRuleGroup:\n type: azure-native:alertsmanagement:PrometheusRuleGroup\n properties:\n clusterName: myClusterName\n description: This is a rule group with culster centric configuration\n interval: PT10M\n location: East US\n resourceGroupName: promResourceGroup\n ruleGroupName: myPrometheusRuleGroup\n rules:\n - actions: []\n alert: Billing_Processing_Very_Slow\n annotations:\n annotationName1: annotationValue1\n enabled: true\n expression: job_type:billing_jobs_duration_seconds:99p5m \u003e 30\n for: PT5M\n labels:\n team: prod\n resolveConfiguration:\n autoResolved: true\n timeToResolve: PT10M\n severity: 2\n scopes:\n - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace\n - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myClusterName\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:alertsmanagement:PrometheusRuleGroup myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName} \n```\n", "properties": { "clusterName": { "type": "string", @@ -435215,7 +435128,7 @@ ] }, "azure-native:appplatform:Deployment": { - "description": "Deployment resource payload\nAzure REST API version: 2023-05-01-preview. Prior API version in Azure Native 1.x: 2020-07-01\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Deployments_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var deployment = new AzureNative.AppPlatform.Deployment(\"deployment\", new()\n {\n AppName = \"myapp\",\n DeploymentName = \"mydeployment\",\n Properties = new AzureNative.AppPlatform.Inputs.DeploymentResourcePropertiesArgs\n {\n DeploymentSettings = new AzureNative.AppPlatform.Inputs.DeploymentSettingsArgs\n {\n AddonConfigs = \n {\n { \"ApplicationConfigurationService\", \n {\n { \"patterns\", new[]\n {\n \"mypattern\",\n } },\n } },\n },\n Apms = new[]\n {\n new AzureNative.AppPlatform.Inputs.ApmReferenceArgs\n {\n ResourceId = \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\",\n },\n },\n EnvironmentVariables = \n {\n { \"env\", \"test\" },\n },\n LivenessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ReadinessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ResourceRequests = new AzureNative.AppPlatform.Inputs.ResourceRequestsArgs\n {\n Cpu = \"1000m\",\n Memory = \"3Gi\",\n },\n TerminationGracePeriodSeconds = 30,\n },\n Source = new AzureNative.AppPlatform.Inputs.SourceUploadedUserSourceInfoArgs\n {\n ArtifactSelector = \"sub-module-1\",\n RelativePath = \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n Type = \"Source\",\n Version = \"1.0\",\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n Sku = new AzureNative.AppPlatform.Inputs.SkuArgs\n {\n Capacity = 1,\n Name = \"S0\",\n Tier = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/appplatform/v2\"\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 := appplatform.NewDeployment(ctx, \"deployment\", \u0026appplatform.DeploymentArgs{\n\t\t\tAppName: pulumi.String(\"myapp\"),\n\t\t\tDeploymentName: pulumi.String(\"mydeployment\"),\n\t\t\tProperties: appplatform.DeploymentResourcePropertiesResponse{\n\t\t\t\tDeploymentSettings: \u0026appplatform.DeploymentSettingsArgs{\n\t\t\t\t\tAddonConfigs: pulumi.AnyMap{\n\t\t\t\t\t\t\"ApplicationConfigurationService\": pulumi.Any{\n\t\t\t\t\t\t\tPatterns: []string{\n\t\t\t\t\t\t\t\t\"mypattern\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tApms: appplatform.ApmReferenceArray{\n\t\t\t\t\t\t\u0026appplatform.ApmReferenceArgs{\n\t\t\t\t\t\t\tResourceId: pulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tEnvironmentVariables: pulumi.StringMap{\n\t\t\t\t\t\t\"env\": pulumi.String(\"test\"),\n\t\t\t\t\t},\n\t\t\t\t\tLivenessProbe: \u0026appplatform.ProbeArgs{\n\t\t\t\t\t\tDisableProbe: pulumi.Bool(false),\n\t\t\t\t\t\tFailureThreshold: pulumi.Int(3),\n\t\t\t\t\t\tInitialDelaySeconds: pulumi.Int(30),\n\t\t\t\t\t\tPeriodSeconds: pulumi.Int(10),\n\t\t\t\t\t\tProbeAction: appplatform.HTTPGetAction{\n\t\t\t\t\t\t\tPath: \"/health\",\n\t\t\t\t\t\t\tScheme: \"HTTP\",\n\t\t\t\t\t\t\tType: \"HTTPGetAction\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tReadinessProbe: \u0026appplatform.ProbeArgs{\n\t\t\t\t\t\tDisableProbe: pulumi.Bool(false),\n\t\t\t\t\t\tFailureThreshold: pulumi.Int(3),\n\t\t\t\t\t\tInitialDelaySeconds: pulumi.Int(30),\n\t\t\t\t\t\tPeriodSeconds: pulumi.Int(10),\n\t\t\t\t\t\tProbeAction: appplatform.HTTPGetAction{\n\t\t\t\t\t\t\tPath: \"/health\",\n\t\t\t\t\t\t\tScheme: \"HTTP\",\n\t\t\t\t\t\t\tType: \"HTTPGetAction\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tResourceRequests: \u0026appplatform.ResourceRequestsArgs{\n\t\t\t\t\t\tCpu: pulumi.String(\"1000m\"),\n\t\t\t\t\t\tMemory: pulumi.String(\"3Gi\"),\n\t\t\t\t\t},\n\t\t\t\t\tTerminationGracePeriodSeconds: pulumi.Int(30),\n\t\t\t\t},\n\t\t\t\tSource: appplatform.SourceUploadedUserSourceInfo{\n\t\t\t\t\tArtifactSelector: \"sub-module-1\",\n\t\t\t\t\tRelativePath: \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n\t\t\t\t\tType: \"Source\",\n\t\t\t\t\tVersion: \"1.0\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\n\t\t\tSku: \u0026appplatform.SkuArgs{\n\t\t\t\tCapacity: pulumi.Int(1),\n\t\t\t\tName: pulumi.String(\"S0\"),\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.Deployment;\nimport com.pulumi.azurenative.appplatform.DeploymentArgs;\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 deployment = new Deployment(\"deployment\", DeploymentArgs.builder() \n .appName(\"myapp\")\n .deploymentName(\"mydeployment\")\n .properties(Map.ofEntries(\n Map.entry(\"deploymentSettings\", Map.ofEntries(\n Map.entry(\"addonConfigs\", Map.of(\"ApplicationConfigurationService\", Map.of(\"patterns\", \"mypattern\"))),\n Map.entry(\"apms\", Map.of(\"resourceId\", \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\")),\n Map.entry(\"environmentVariables\", Map.of(\"env\", \"test\")),\n Map.entry(\"livenessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"readinessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"resourceRequests\", Map.ofEntries(\n Map.entry(\"cpu\", \"1000m\"),\n Map.entry(\"memory\", \"3Gi\")\n )),\n Map.entry(\"terminationGracePeriodSeconds\", 30)\n )),\n Map.entry(\"source\", Map.ofEntries(\n Map.entry(\"artifactSelector\", \"sub-module-1\"),\n Map.entry(\"relativePath\", \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\"),\n Map.entry(\"type\", \"Source\"),\n Map.entry(\"version\", \"1.0\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .sku(Map.ofEntries(\n Map.entry(\"capacity\", 1),\n Map.entry(\"name\", \"S0\"),\n Map.entry(\"tier\", \"Standard\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst deployment = new azure_native.appplatform.Deployment(\"deployment\", {\n appName: \"myapp\",\n deploymentName: \"mydeployment\",\n properties: {\n deploymentSettings: {\n addonConfigs: {\n ApplicationConfigurationService: {\n patterns: [\"mypattern\"],\n },\n },\n apms: [{\n resourceId: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\",\n }],\n environmentVariables: {\n env: \"test\",\n },\n livenessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n readinessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n resourceRequests: {\n cpu: \"1000m\",\n memory: \"3Gi\",\n },\n terminationGracePeriodSeconds: 30,\n },\n source: {\n artifactSelector: \"sub-module-1\",\n relativePath: \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n type: \"Source\",\n version: \"1.0\",\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n sku: {\n capacity: 1,\n name: \"S0\",\n tier: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndeployment = azure_native.appplatform.Deployment(\"deployment\",\n app_name=\"myapp\",\n deployment_name=\"mydeployment\",\n properties=azure_native.appplatform.DeploymentResourcePropertiesResponseArgs(\n deployment_settings=azure_native.appplatform.DeploymentSettingsArgs(\n addon_configs={\n \"ApplicationConfigurationService\": {\n \"patterns\": [\"mypattern\"],\n },\n },\n apms=[azure_native.appplatform.ApmReferenceArgs(\n resource_id=\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\",\n )],\n environment_variables={\n \"env\": \"test\",\n },\n liveness_probe=azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n readiness_probe=azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n resource_requests=azure_native.appplatform.ResourceRequestsArgs(\n cpu=\"1000m\",\n memory=\"3Gi\",\n ),\n termination_grace_period_seconds=30,\n ),\n source=azure_native.appplatform.SourceUploadedUserSourceInfoArgs(\n artifact_selector=\"sub-module-1\",\n relative_path=\"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n type=\"Source\",\n version=\"1.0\",\n ),\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\",\n sku=azure_native.appplatform.SkuArgs(\n capacity=1,\n name=\"S0\",\n tier=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n deployment:\n type: azure-native:appplatform:Deployment\n properties:\n appName: myapp\n deploymentName: mydeployment\n properties:\n deploymentSettings:\n addonConfigs:\n ApplicationConfigurationService:\n patterns:\n - mypattern\n apms:\n - resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\n environmentVariables:\n env: test\n livenessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n readinessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n resourceRequests:\n cpu: 1000m\n memory: 3Gi\n terminationGracePeriodSeconds: 30\n source:\n artifactSelector: sub-module-1\n relativePath: resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\n type: Source\n version: '1.0'\n resourceGroupName: myResourceGroup\n serviceName: myservice\n sku:\n capacity: 1\n name: S0\n tier: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Deployments_CreateOrUpdate_CustomContainer\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var deployment = new AzureNative.AppPlatform.Deployment(\"deployment\", new()\n {\n AppName = \"myapp\",\n DeploymentName = \"mydeployment\",\n Properties = new AzureNative.AppPlatform.Inputs.DeploymentResourcePropertiesArgs\n {\n DeploymentSettings = new AzureNative.AppPlatform.Inputs.DeploymentSettingsArgs\n {\n EnvironmentVariables = \n {\n { \"env\", \"test\" },\n },\n LivenessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ReadinessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ResourceRequests = new AzureNative.AppPlatform.Inputs.ResourceRequestsArgs\n {\n Cpu = \"1000m\",\n Memory = \"3Gi\",\n },\n TerminationGracePeriodSeconds = 30,\n },\n Source = new AzureNative.AppPlatform.Inputs.CustomContainerUserSourceInfoArgs\n {\n CustomContainer = new AzureNative.AppPlatform.Inputs.CustomContainerArgs\n {\n Args = new[]\n {\n \"-c\",\n \"while true; do echo hello; sleep 10;done\",\n },\n Command = new[]\n {\n \"/bin/sh\",\n },\n ContainerImage = \"myContainerImage:v1\",\n ImageRegistryCredential = new AzureNative.AppPlatform.Inputs.ImageRegistryCredentialArgs\n {\n Password = \"myPassword\",\n Username = \"myUsername\",\n },\n LanguageFramework = \"springboot\",\n Server = \"myacr.azurecr.io\",\n },\n Type = \"Container\",\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/appplatform/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := appplatform.NewDeployment(ctx, \"deployment\", \u0026appplatform.DeploymentArgs{\nAppName: pulumi.String(\"myapp\"),\nDeploymentName: pulumi.String(\"mydeployment\"),\nProperties: appplatform.DeploymentResourcePropertiesResponse{\nDeploymentSettings: interface{}{\nEnvironmentVariables: pulumi.StringMap{\n\"env\": pulumi.String(\"test\"),\n},\nLivenessProbe: \u0026appplatform.ProbeArgs{\nDisableProbe: pulumi.Bool(false),\nFailureThreshold: pulumi.Int(3),\nInitialDelaySeconds: pulumi.Int(30),\nPeriodSeconds: pulumi.Int(10),\nProbeAction: appplatform.HTTPGetAction{\nPath: \"/health\",\nScheme: \"HTTP\",\nType: \"HTTPGetAction\",\n},\n},\nReadinessProbe: \u0026appplatform.ProbeArgs{\nDisableProbe: pulumi.Bool(false),\nFailureThreshold: pulumi.Int(3),\nInitialDelaySeconds: pulumi.Int(30),\nPeriodSeconds: pulumi.Int(10),\nProbeAction: appplatform.HTTPGetAction{\nPath: \"/health\",\nScheme: \"HTTP\",\nType: \"HTTPGetAction\",\n},\n},\nResourceRequests: \u0026appplatform.ResourceRequestsArgs{\nCpu: pulumi.String(\"1000m\"),\nMemory: pulumi.String(\"3Gi\"),\n},\nTerminationGracePeriodSeconds: pulumi.Int(30),\n},\nSource: appplatform.CustomContainerUserSourceInfo{\nCustomContainer: appplatform.CustomContainer{\nArgs: []string{\n\"-c\",\n\"while true; do echo hello; sleep 10;done\",\n},\nCommand: []string{\n\"/bin/sh\",\n},\nContainerImage: \"myContainerImage:v1\",\nImageRegistryCredential: appplatform.ImageRegistryCredential{\nPassword: \"myPassword\",\nUsername: \"myUsername\",\n},\nLanguageFramework: \"springboot\",\nServer: \"myacr.azurecr.io\",\n},\nType: \"Container\",\n},\n},\nResourceGroupName: pulumi.String(\"myResourceGroup\"),\nServiceName: pulumi.String(\"myservice\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.Deployment;\nimport com.pulumi.azurenative.appplatform.DeploymentArgs;\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 deployment = new Deployment(\"deployment\", DeploymentArgs.builder() \n .appName(\"myapp\")\n .deploymentName(\"mydeployment\")\n .properties(Map.ofEntries(\n Map.entry(\"deploymentSettings\", Map.ofEntries(\n Map.entry(\"environmentVariables\", Map.of(\"env\", \"test\")),\n Map.entry(\"livenessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"readinessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"resourceRequests\", Map.ofEntries(\n Map.entry(\"cpu\", \"1000m\"),\n Map.entry(\"memory\", \"3Gi\")\n )),\n Map.entry(\"terminationGracePeriodSeconds\", 30)\n )),\n Map.entry(\"source\", Map.ofEntries(\n Map.entry(\"customContainer\", Map.ofEntries(\n Map.entry(\"args\", \n \"-c\",\n \"while true; do echo hello; sleep 10;done\"),\n Map.entry(\"command\", \"/bin/sh\"),\n Map.entry(\"containerImage\", \"myContainerImage:v1\"),\n Map.entry(\"imageRegistryCredential\", Map.ofEntries(\n Map.entry(\"password\", \"myPassword\"),\n Map.entry(\"username\", \"myUsername\")\n )),\n Map.entry(\"languageFramework\", \"springboot\"),\n Map.entry(\"server\", \"myacr.azurecr.io\")\n )),\n Map.entry(\"type\", \"Container\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst deployment = new azure_native.appplatform.Deployment(\"deployment\", {\n appName: \"myapp\",\n deploymentName: \"mydeployment\",\n properties: {\n deploymentSettings: {\n environmentVariables: {\n env: \"test\",\n },\n livenessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n readinessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n resourceRequests: {\n cpu: \"1000m\",\n memory: \"3Gi\",\n },\n terminationGracePeriodSeconds: 30,\n },\n source: {\n customContainer: {\n args: [\n \"-c\",\n \"while true; do echo hello; sleep 10;done\",\n ],\n command: [\"/bin/sh\"],\n containerImage: \"myContainerImage:v1\",\n imageRegistryCredential: {\n password: \"myPassword\",\n username: \"myUsername\",\n },\n languageFramework: \"springboot\",\n server: \"myacr.azurecr.io\",\n },\n type: \"Container\",\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndeployment = azure_native.appplatform.Deployment(\"deployment\",\n app_name=\"myapp\",\n deployment_name=\"mydeployment\",\n properties=azure_native.appplatform.DeploymentResourcePropertiesResponseArgs(\n deployment_settings={\n \"environmentVariables\": {\n \"env\": \"test\",\n },\n \"livenessProbe\": azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n \"readinessProbe\": azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n \"resourceRequests\": azure_native.appplatform.ResourceRequestsArgs(\n cpu=\"1000m\",\n memory=\"3Gi\",\n ),\n \"terminationGracePeriodSeconds\": 30,\n },\n source=azure_native.appplatform.CustomContainerUserSourceInfoArgs(\n custom_container=azure_native.appplatform.CustomContainerArgs(\n args=[\n \"-c\",\n \"while true; do echo hello; sleep 10;done\",\n ],\n command=[\"/bin/sh\"],\n container_image=\"myContainerImage:v1\",\n image_registry_credential=azure_native.appplatform.ImageRegistryCredentialArgs(\n password=\"myPassword\",\n username=\"myUsername\",\n ),\n language_framework=\"springboot\",\n server=\"myacr.azurecr.io\",\n ),\n type=\"Container\",\n ),\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n deployment:\n type: azure-native:appplatform:Deployment\n properties:\n appName: myapp\n deploymentName: mydeployment\n properties:\n deploymentSettings:\n environmentVariables:\n env: test\n livenessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n readinessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n resourceRequests:\n cpu: 1000m\n memory: 3Gi\n terminationGracePeriodSeconds: 30\n source:\n customContainer:\n args:\n - -c\n - while true; do echo hello; sleep 10;done\n command:\n - /bin/sh\n containerImage: myContainerImage:v1\n imageRegistryCredential:\n password: myPassword\n username: myUsername\n languageFramework: springboot\n server: myacr.azurecr.io\n type: Container\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:Deployment mydeployment /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName} \n```\n", + "description": "Deployment resource payload\nAzure REST API version: 2023-05-01-preview. Prior API version in Azure Native 1.x: 2020-07-01\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Deployments_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var deployment = new AzureNative.AppPlatform.Deployment(\"deployment\", new()\n {\n AppName = \"myapp\",\n DeploymentName = \"mydeployment\",\n Properties = new AzureNative.AppPlatform.Inputs.DeploymentResourcePropertiesArgs\n {\n DeploymentSettings = new AzureNative.AppPlatform.Inputs.DeploymentSettingsArgs\n {\n AddonConfigs = \n {\n { \"ApplicationConfigurationService\", \n {\n { \"patterns\", new[]\n {\n \"mypattern\",\n } },\n } },\n },\n Apms = new[]\n {\n new AzureNative.AppPlatform.Inputs.ApmReferenceArgs\n {\n ResourceId = \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\",\n },\n },\n EnvironmentVariables = \n {\n { \"env\", \"test\" },\n },\n LivenessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ReadinessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ResourceRequests = new AzureNative.AppPlatform.Inputs.ResourceRequestsArgs\n {\n Cpu = \"1000m\",\n Memory = \"3Gi\",\n },\n TerminationGracePeriodSeconds = 30,\n },\n Source = new AzureNative.AppPlatform.Inputs.SourceUploadedUserSourceInfoArgs\n {\n ArtifactSelector = \"sub-module-1\",\n RelativePath = \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n Type = \"Source\",\n Version = \"1.0\",\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n Sku = new AzureNative.AppPlatform.Inputs.SkuArgs\n {\n Capacity = 1,\n Name = \"S0\",\n Tier = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/appplatform/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := appplatform.NewDeployment(ctx, \"deployment\", \u0026appplatform.DeploymentArgs{\nAppName: pulumi.String(\"myapp\"),\nDeploymentName: pulumi.String(\"mydeployment\"),\nProperties: appplatform.DeploymentResourcePropertiesResponse{\nDeploymentSettings: interface{}{\nAddonConfigs: pulumi.AnyMap{\n\"ApplicationConfigurationService\": pulumi.Any{\nPatterns: []string{\n\"mypattern\",\n},\n},\n},\nApms: appplatform.ApmReferenceArray{\n\u0026appplatform.ApmReferenceArgs{\nResourceId: pulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\"),\n},\n},\nEnvironmentVariables: pulumi.StringMap{\n\"env\": pulumi.String(\"test\"),\n},\nLivenessProbe: \u0026appplatform.ProbeArgs{\nDisableProbe: pulumi.Bool(false),\nFailureThreshold: pulumi.Int(3),\nInitialDelaySeconds: pulumi.Int(30),\nPeriodSeconds: pulumi.Int(10),\nProbeAction: appplatform.HTTPGetAction{\nPath: \"/health\",\nScheme: \"HTTP\",\nType: \"HTTPGetAction\",\n},\n},\nReadinessProbe: \u0026appplatform.ProbeArgs{\nDisableProbe: pulumi.Bool(false),\nFailureThreshold: pulumi.Int(3),\nInitialDelaySeconds: pulumi.Int(30),\nPeriodSeconds: pulumi.Int(10),\nProbeAction: appplatform.HTTPGetAction{\nPath: \"/health\",\nScheme: \"HTTP\",\nType: \"HTTPGetAction\",\n},\n},\nResourceRequests: \u0026appplatform.ResourceRequestsArgs{\nCpu: pulumi.String(\"1000m\"),\nMemory: pulumi.String(\"3Gi\"),\n},\nTerminationGracePeriodSeconds: pulumi.Int(30),\n},\nSource: appplatform.SourceUploadedUserSourceInfo{\nArtifactSelector: \"sub-module-1\",\nRelativePath: \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\nType: \"Source\",\nVersion: \"1.0\",\n},\n},\nResourceGroupName: pulumi.String(\"myResourceGroup\"),\nServiceName: pulumi.String(\"myservice\"),\nSku: \u0026appplatform.SkuArgs{\nCapacity: pulumi.Int(1),\nName: pulumi.String(\"S0\"),\nTier: pulumi.String(\"Standard\"),\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.Deployment;\nimport com.pulumi.azurenative.appplatform.DeploymentArgs;\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 deployment = new Deployment(\"deployment\", DeploymentArgs.builder() \n .appName(\"myapp\")\n .deploymentName(\"mydeployment\")\n .properties(Map.ofEntries(\n Map.entry(\"deploymentSettings\", Map.ofEntries(\n Map.entry(\"addonConfigs\", Map.of(\"ApplicationConfigurationService\", Map.of(\"patterns\", \"mypattern\"))),\n Map.entry(\"apms\", Map.of(\"resourceId\", \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\")),\n Map.entry(\"environmentVariables\", Map.of(\"env\", \"test\")),\n Map.entry(\"livenessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"readinessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"resourceRequests\", Map.ofEntries(\n Map.entry(\"cpu\", \"1000m\"),\n Map.entry(\"memory\", \"3Gi\")\n )),\n Map.entry(\"terminationGracePeriodSeconds\", 30)\n )),\n Map.entry(\"source\", Map.ofEntries(\n Map.entry(\"artifactSelector\", \"sub-module-1\"),\n Map.entry(\"relativePath\", \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\"),\n Map.entry(\"type\", \"Source\"),\n Map.entry(\"version\", \"1.0\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .sku(Map.ofEntries(\n Map.entry(\"capacity\", 1),\n Map.entry(\"name\", \"S0\"),\n Map.entry(\"tier\", \"Standard\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst deployment = new azure_native.appplatform.Deployment(\"deployment\", {\n appName: \"myapp\",\n deploymentName: \"mydeployment\",\n properties: {\n deploymentSettings: {\n addonConfigs: {\n ApplicationConfigurationService: {\n patterns: [\"mypattern\"],\n },\n },\n apms: [{\n resourceId: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\",\n }],\n environmentVariables: {\n env: \"test\",\n },\n livenessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n readinessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n resourceRequests: {\n cpu: \"1000m\",\n memory: \"3Gi\",\n },\n terminationGracePeriodSeconds: 30,\n },\n source: {\n artifactSelector: \"sub-module-1\",\n relativePath: \"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n type: \"Source\",\n version: \"1.0\",\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n sku: {\n capacity: 1,\n name: \"S0\",\n tier: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndeployment = azure_native.appplatform.Deployment(\"deployment\",\n app_name=\"myapp\",\n deployment_name=\"mydeployment\",\n properties=azure_native.appplatform.DeploymentResourcePropertiesResponseArgs(\n deployment_settings={\n \"addonConfigs\": {\n \"ApplicationConfigurationService\": {\n \"patterns\": [\"mypattern\"],\n },\n },\n \"apms\": [azure_native.appplatform.ApmReferenceArgs(\n resource_id=\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\",\n )],\n \"environmentVariables\": {\n \"env\": \"test\",\n },\n \"livenessProbe\": azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n \"readinessProbe\": azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n \"resourceRequests\": azure_native.appplatform.ResourceRequestsArgs(\n cpu=\"1000m\",\n memory=\"3Gi\",\n ),\n \"terminationGracePeriodSeconds\": 30,\n },\n source=azure_native.appplatform.SourceUploadedUserSourceInfoArgs(\n artifact_selector=\"sub-module-1\",\n relative_path=\"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\",\n type=\"Source\",\n version=\"1.0\",\n ),\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\",\n sku=azure_native.appplatform.SkuArgs(\n capacity=1,\n name=\"S0\",\n tier=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n deployment:\n type: azure-native:appplatform:Deployment\n properties:\n appName: myapp\n deploymentName: mydeployment\n properties:\n deploymentSettings:\n addonConfigs:\n ApplicationConfigurationService:\n patterns:\n - mypattern\n apms:\n - resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apms/myappinsights\n environmentVariables:\n env: test\n livenessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n readinessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n resourceRequests:\n cpu: 1000m\n memory: 3Gi\n terminationGracePeriodSeconds: 30\n source:\n artifactSelector: sub-module-1\n relativePath: resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc\n type: Source\n version: '1.0'\n resourceGroupName: myResourceGroup\n serviceName: myservice\n sku:\n capacity: 1\n name: S0\n tier: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Deployments_CreateOrUpdate_CustomContainer\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var deployment = new AzureNative.AppPlatform.Deployment(\"deployment\", new()\n {\n AppName = \"myapp\",\n DeploymentName = \"mydeployment\",\n Properties = new AzureNative.AppPlatform.Inputs.DeploymentResourcePropertiesArgs\n {\n DeploymentSettings = new AzureNative.AppPlatform.Inputs.DeploymentSettingsArgs\n {\n EnvironmentVariables = \n {\n { \"env\", \"test\" },\n },\n LivenessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ReadinessProbe = new AzureNative.AppPlatform.Inputs.ProbeArgs\n {\n DisableProbe = false,\n FailureThreshold = 3,\n InitialDelaySeconds = 30,\n PeriodSeconds = 10,\n ProbeAction = new AzureNative.AppPlatform.Inputs.HTTPGetActionArgs\n {\n Path = \"/health\",\n Scheme = \"HTTP\",\n Type = \"HTTPGetAction\",\n },\n },\n ResourceRequests = new AzureNative.AppPlatform.Inputs.ResourceRequestsArgs\n {\n Cpu = \"1000m\",\n Memory = \"3Gi\",\n },\n TerminationGracePeriodSeconds = 30,\n },\n Source = new AzureNative.AppPlatform.Inputs.CustomContainerUserSourceInfoArgs\n {\n CustomContainer = new AzureNative.AppPlatform.Inputs.CustomContainerArgs\n {\n Args = new[]\n {\n \"-c\",\n \"while true; do echo hello; sleep 10;done\",\n },\n Command = new[]\n {\n \"/bin/sh\",\n },\n ContainerImage = \"myContainerImage:v1\",\n ImageRegistryCredential = new AzureNative.AppPlatform.Inputs.ImageRegistryCredentialArgs\n {\n Password = \"myPassword\",\n Username = \"myUsername\",\n },\n LanguageFramework = \"springboot\",\n Server = \"myacr.azurecr.io\",\n },\n Type = \"Container\",\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n ServiceName = \"myservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/appplatform/v2\"\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 := appplatform.NewDeployment(ctx, \"deployment\", \u0026appplatform.DeploymentArgs{\n\t\t\tAppName: pulumi.String(\"myapp\"),\n\t\t\tDeploymentName: pulumi.String(\"mydeployment\"),\n\t\t\tProperties: appplatform.DeploymentResourcePropertiesResponse{\n\t\t\t\tDeploymentSettings: appplatform.DeploymentSettingsResponse{\n\t\t\t\t\tEnvironmentVariables: pulumi.StringMap{\n\t\t\t\t\t\t\"env\": pulumi.String(\"test\"),\n\t\t\t\t\t},\n\t\t\t\t\tLivenessProbe: \u0026appplatform.ProbeArgs{\n\t\t\t\t\t\tDisableProbe: pulumi.Bool(false),\n\t\t\t\t\t\tFailureThreshold: pulumi.Int(3),\n\t\t\t\t\t\tInitialDelaySeconds: pulumi.Int(30),\n\t\t\t\t\t\tPeriodSeconds: pulumi.Int(10),\n\t\t\t\t\t\tProbeAction: appplatform.HTTPGetAction{\n\t\t\t\t\t\t\tPath: \"/health\",\n\t\t\t\t\t\t\tScheme: \"HTTP\",\n\t\t\t\t\t\t\tType: \"HTTPGetAction\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tReadinessProbe: \u0026appplatform.ProbeArgs{\n\t\t\t\t\t\tDisableProbe: pulumi.Bool(false),\n\t\t\t\t\t\tFailureThreshold: pulumi.Int(3),\n\t\t\t\t\t\tInitialDelaySeconds: pulumi.Int(30),\n\t\t\t\t\t\tPeriodSeconds: pulumi.Int(10),\n\t\t\t\t\t\tProbeAction: appplatform.HTTPGetAction{\n\t\t\t\t\t\t\tPath: \"/health\",\n\t\t\t\t\t\t\tScheme: \"HTTP\",\n\t\t\t\t\t\t\tType: \"HTTPGetAction\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tResourceRequests: \u0026appplatform.ResourceRequestsArgs{\n\t\t\t\t\t\tCpu: pulumi.String(\"1000m\"),\n\t\t\t\t\t\tMemory: pulumi.String(\"3Gi\"),\n\t\t\t\t\t},\n\t\t\t\t\tTerminationGracePeriodSeconds: pulumi.Int(30),\n\t\t\t\t},\n\t\t\t\tSource: appplatform.CustomContainerUserSourceInfo{\n\t\t\t\t\tCustomContainer: appplatform.CustomContainer{\n\t\t\t\t\t\tArgs: []string{\n\t\t\t\t\t\t\t\"-c\",\n\t\t\t\t\t\t\t\"while true; do echo hello; sleep 10;done\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tCommand: []string{\n\t\t\t\t\t\t\t\"/bin/sh\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tContainerImage: \"myContainerImage:v1\",\n\t\t\t\t\t\tImageRegistryCredential: appplatform.ImageRegistryCredential{\n\t\t\t\t\t\t\tPassword: \"myPassword\",\n\t\t\t\t\t\t\tUsername: \"myUsername\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tLanguageFramework: \"springboot\",\n\t\t\t\t\t\tServer: \"myacr.azurecr.io\",\n\t\t\t\t\t},\n\t\t\t\t\tType: \"Container\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tServiceName: pulumi.String(\"myservice\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.appplatform.Deployment;\nimport com.pulumi.azurenative.appplatform.DeploymentArgs;\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 deployment = new Deployment(\"deployment\", DeploymentArgs.builder() \n .appName(\"myapp\")\n .deploymentName(\"mydeployment\")\n .properties(Map.ofEntries(\n Map.entry(\"deploymentSettings\", Map.ofEntries(\n Map.entry(\"environmentVariables\", Map.of(\"env\", \"test\")),\n Map.entry(\"livenessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"readinessProbe\", Map.ofEntries(\n Map.entry(\"disableProbe\", false),\n Map.entry(\"failureThreshold\", 3),\n Map.entry(\"initialDelaySeconds\", 30),\n Map.entry(\"periodSeconds\", 10),\n Map.entry(\"probeAction\", Map.ofEntries(\n Map.entry(\"path\", \"/health\"),\n Map.entry(\"scheme\", \"HTTP\"),\n Map.entry(\"type\", \"HTTPGetAction\")\n ))\n )),\n Map.entry(\"resourceRequests\", Map.ofEntries(\n Map.entry(\"cpu\", \"1000m\"),\n Map.entry(\"memory\", \"3Gi\")\n )),\n Map.entry(\"terminationGracePeriodSeconds\", 30)\n )),\n Map.entry(\"source\", Map.ofEntries(\n Map.entry(\"customContainer\", Map.ofEntries(\n Map.entry(\"args\", \n \"-c\",\n \"while true; do echo hello; sleep 10;done\"),\n Map.entry(\"command\", \"/bin/sh\"),\n Map.entry(\"containerImage\", \"myContainerImage:v1\"),\n Map.entry(\"imageRegistryCredential\", Map.ofEntries(\n Map.entry(\"password\", \"myPassword\"),\n Map.entry(\"username\", \"myUsername\")\n )),\n Map.entry(\"languageFramework\", \"springboot\"),\n Map.entry(\"server\", \"myacr.azurecr.io\")\n )),\n Map.entry(\"type\", \"Container\")\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .serviceName(\"myservice\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst deployment = new azure_native.appplatform.Deployment(\"deployment\", {\n appName: \"myapp\",\n deploymentName: \"mydeployment\",\n properties: {\n deploymentSettings: {\n environmentVariables: {\n env: \"test\",\n },\n livenessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n readinessProbe: {\n disableProbe: false,\n failureThreshold: 3,\n initialDelaySeconds: 30,\n periodSeconds: 10,\n probeAction: {\n path: \"/health\",\n scheme: \"HTTP\",\n type: \"HTTPGetAction\",\n },\n },\n resourceRequests: {\n cpu: \"1000m\",\n memory: \"3Gi\",\n },\n terminationGracePeriodSeconds: 30,\n },\n source: {\n customContainer: {\n args: [\n \"-c\",\n \"while true; do echo hello; sleep 10;done\",\n ],\n command: [\"/bin/sh\"],\n containerImage: \"myContainerImage:v1\",\n imageRegistryCredential: {\n password: \"myPassword\",\n username: \"myUsername\",\n },\n languageFramework: \"springboot\",\n server: \"myacr.azurecr.io\",\n },\n type: \"Container\",\n },\n },\n resourceGroupName: \"myResourceGroup\",\n serviceName: \"myservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndeployment = azure_native.appplatform.Deployment(\"deployment\",\n app_name=\"myapp\",\n deployment_name=\"mydeployment\",\n properties=azure_native.appplatform.DeploymentResourcePropertiesResponseArgs(\n deployment_settings={\n \"environmentVariables\": {\n \"env\": \"test\",\n },\n \"livenessProbe\": azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n \"readinessProbe\": azure_native.appplatform.ProbeArgs(\n disable_probe=False,\n failure_threshold=3,\n initial_delay_seconds=30,\n period_seconds=10,\n probe_action=azure_native.appplatform.HTTPGetActionArgs(\n path=\"/health\",\n scheme=\"HTTP\",\n type=\"HTTPGetAction\",\n ),\n ),\n \"resourceRequests\": azure_native.appplatform.ResourceRequestsArgs(\n cpu=\"1000m\",\n memory=\"3Gi\",\n ),\n \"terminationGracePeriodSeconds\": 30,\n },\n source=azure_native.appplatform.CustomContainerUserSourceInfoArgs(\n custom_container=azure_native.appplatform.CustomContainerArgs(\n args=[\n \"-c\",\n \"while true; do echo hello; sleep 10;done\",\n ],\n command=[\"/bin/sh\"],\n container_image=\"myContainerImage:v1\",\n image_registry_credential=azure_native.appplatform.ImageRegistryCredentialArgs(\n password=\"myPassword\",\n username=\"myUsername\",\n ),\n language_framework=\"springboot\",\n server=\"myacr.azurecr.io\",\n ),\n type=\"Container\",\n ),\n ),\n resource_group_name=\"myResourceGroup\",\n service_name=\"myservice\")\n\n```\n\n```yaml\nresources:\n deployment:\n type: azure-native:appplatform:Deployment\n properties:\n appName: myapp\n deploymentName: mydeployment\n properties:\n deploymentSettings:\n environmentVariables:\n env: test\n livenessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n readinessProbe:\n disableProbe: false\n failureThreshold: 3\n initialDelaySeconds: 30\n periodSeconds: 10\n probeAction:\n path: /health\n scheme: HTTP\n type: HTTPGetAction\n resourceRequests:\n cpu: 1000m\n memory: 3Gi\n terminationGracePeriodSeconds: 30\n source:\n customContainer:\n args:\n - -c\n - while true; do echo hello; sleep 10;done\n command:\n - /bin/sh\n containerImage: myContainerImage:v1\n imageRegistryCredential:\n password: myPassword\n username: myUsername\n languageFramework: springboot\n server: myacr.azurecr.io\n type: Container\n resourceGroupName: myResourceGroup\n serviceName: myservice\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:appplatform:Deployment mydeployment /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName} \n```\n", "properties": { "name": { "type": "string", @@ -450578,7 +450491,8 @@ }, "taskSlotsPerNode": { "type": "integer", - "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256." + "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.", + "default": 1 }, "type": { "type": "string", @@ -450712,7 +450626,8 @@ }, "taskSlotsPerNode": { "type": "integer", - "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256." + "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.", + "default": 1 }, "userAccounts": { "type": "array", @@ -454252,6 +454167,9 @@ }, { "type": "azure-native:cdn/v20230501:AFDCustomDomain" + }, + { + "type": "azure-native:cdn/v20230701preview:AFDCustomDomain" } ] }, @@ -454386,6 +454304,9 @@ }, { "type": "azure-native:cdn/v20230501:AFDEndpoint" + }, + { + "type": "azure-native:cdn/v20230701preview:AFDEndpoint" } ] }, @@ -454567,6 +454488,9 @@ }, { "type": "azure-native:cdn/v20230501:AFDOrigin" + }, + { + "type": "azure-native:cdn/v20230701preview:AFDOrigin" } ] }, @@ -454686,6 +454610,9 @@ }, { "type": "azure-native:cdn/v20230501:AFDOriginGroup" + }, + { + "type": "azure-native:cdn/v20230701preview:AFDOriginGroup" } ] }, @@ -454841,6 +454768,9 @@ }, { "type": "azure-native:cdn/v20230501:CustomDomain" + }, + { + "type": "azure-native:cdn/v20230701preview:CustomDomain" } ] }, @@ -455170,6 +455100,84 @@ }, { "type": "azure-native:cdn/v20230501:Endpoint" + }, + { + "type": "azure-native:cdn/v20230701preview:Endpoint" + } + ] + }, + "azure-native:cdn:KeyGroup": { + "description": "Contains a list of references of UrlSigningKey type secret objects.\nAzure REST API version: 2023-07-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### KeyGroups_Create\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var keyGroup = new AzureNative.Cdn.KeyGroup(\"keyGroup\", new()\n {\n KeyGroupName = \"kg1\",\n KeyReferences = new[]\n {\n new AzureNative.Cdn.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret1\",\n },\n new AzureNative.Cdn.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret2\",\n },\n new AzureNative.Cdn.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret3\",\n },\n },\n ProfileName = \"profile1\",\n ResourceGroupName = \"RG\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/cdn/v2\"\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 := cdn.NewKeyGroup(ctx, \"keyGroup\", \u0026cdn.KeyGroupArgs{\n\t\t\tKeyGroupName: pulumi.String(\"kg1\"),\n\t\t\tKeyReferences: []cdn.ResourceReferenceArgs{\n\t\t\t\t{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret1\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret2\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret3\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProfileName: pulumi.String(\"profile1\"),\n\t\t\tResourceGroupName: pulumi.String(\"RG\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.cdn.KeyGroup;\nimport com.pulumi.azurenative.cdn.KeyGroupArgs;\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 keyGroup = new KeyGroup(\"keyGroup\", KeyGroupArgs.builder() \n .keyGroupName(\"kg1\")\n .keyReferences( \n Map.of(\"id\", \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret1\"),\n Map.of(\"id\", \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret2\"),\n Map.of(\"id\", \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret3\"))\n .profileName(\"profile1\")\n .resourceGroupName(\"RG\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst keyGroup = new azure_native.cdn.KeyGroup(\"keyGroup\", {\n keyGroupName: \"kg1\",\n keyReferences: [\n {\n id: \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret1\",\n },\n {\n id: \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret2\",\n },\n {\n id: \"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret3\",\n },\n ],\n profileName: \"profile1\",\n resourceGroupName: \"RG\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkey_group = azure_native.cdn.KeyGroup(\"keyGroup\",\n key_group_name=\"kg1\",\n key_references=[\n azure_native.cdn.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret1\",\n ),\n azure_native.cdn.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret2\",\n ),\n azure_native.cdn.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret3\",\n ),\n ],\n profile_name=\"profile1\",\n resource_group_name=\"RG\")\n\n```\n\n```yaml\nresources:\n keyGroup:\n type: azure-native:cdn:KeyGroup\n properties:\n keyGroupName: kg1\n keyReferences:\n - id: /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret1\n - id: /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret2\n - id: /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/secret3\n profileName: profile1\n resourceGroupName: RG\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:cdn:KeyGroup kg1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/keyGroups/{keyGroupName} \n```\n", + "properties": { + "deploymentStatus": { + "type": "string" + }, + "keyReferences": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:cdn:ResourceReferenceResponse" + }, + "description": "Names of UrlSigningKey type secret objects" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning status" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:cdn:SystemDataResponse", + "description": "Read only system data" + }, + "type": { + "type": "string", + "description": "Resource type." + } + }, + "type": "object", + "required": [ + "deploymentStatus", + "name", + "provisioningState", + "systemData", + "type" + ], + "inputProperties": { + "keyGroupName": { + "type": "string", + "description": "Name of the KeyGroup under the profile.", + "willReplaceOnChanges": true + }, + "keyReferences": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:cdn:ResourceReference" + }, + "description": "Names of UrlSigningKey type secret objects" + }, + "profileName": { + "type": "string", + "description": "Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "Name of the Resource group within the Azure subscription.", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "profileName", + "resourceGroupName" + ], + "aliases": [ + { + "type": "azure-native:cdn/v20230701preview:KeyGroup" } ] }, @@ -455358,6 +455366,9 @@ }, { "type": "azure-native:cdn/v20230501:Origin" + }, + { + "type": "azure-native:cdn/v20230701preview:Origin" } ] }, @@ -455491,6 +455502,9 @@ }, { "type": "azure-native:cdn/v20230501:OriginGroup" + }, + { + "type": "azure-native:cdn/v20230701preview:OriginGroup" } ] }, @@ -455670,6 +455684,9 @@ }, { "type": "azure-native:cdn/v20230501:Policy" + }, + { + "type": "azure-native:cdn/v20230701preview:Policy" } ] }, @@ -455841,6 +455858,9 @@ }, { "type": "azure-native:cdn/v20230501:Profile" + }, + { + "type": "azure-native:cdn/v20230701preview:Profile" } ] }, @@ -456086,6 +456106,9 @@ }, { "type": "azure-native:cdn/v20230501:Route" + }, + { + "type": "azure-native:cdn/v20230701preview:Route" } ] }, @@ -456529,6 +456552,9 @@ }, { "type": "azure-native:cdn/v20230501:Rule" + }, + { + "type": "azure-native:cdn/v20230701preview:Rule" } ] }, @@ -456605,6 +456631,9 @@ }, { "type": "azure-native:cdn/v20230501:RuleSet" + }, + { + "type": "azure-native:cdn/v20230701preview:RuleSet" } ] }, @@ -456741,6 +456770,9 @@ }, { "type": "azure-native:cdn/v20230501:Secret" + }, + { + "type": "azure-native:cdn/v20230701preview:Secret" } ] }, @@ -456827,6 +456859,9 @@ }, { "type": "azure-native:cdn/v20230501:SecurityPolicy" + }, + { + "type": "azure-native:cdn/v20230701preview:SecurityPolicy" } ] }, @@ -464457,6 +464492,9 @@ }, { "type": "azure-native:confidentialledger/v20230126preview:Ledger" + }, + { + "type": "azure-native:confidentialledger/v20230628preview:Ledger" } ] }, @@ -464539,6 +464577,9 @@ }, { "type": "azure-native:confidentialledger/v20230126preview:ManagedCCF" + }, + { + "type": "azure-native:confidentialledger/v20230628preview:ManagedCCF" } ] }, @@ -464825,6 +464866,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:Cluster" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:Cluster" } ] }, @@ -464983,6 +465027,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:Datastore" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:Datastore" } ] }, @@ -465270,6 +465317,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:Host" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:Host" } ] }, @@ -465469,6 +465519,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:InventoryItem" } ] }, @@ -465815,6 +465868,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:ResourcePool" } ] }, @@ -465977,6 +466033,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:VCenter" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:VCenter" } ] }, @@ -466088,6 +466147,9 @@ "aliases": [ { "type": "azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent" } ] }, @@ -466518,6 +466580,9 @@ "aliases": [ { "type": "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance" } ] }, @@ -466729,6 +466794,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate" } ] }, @@ -466877,6 +466945,9 @@ }, { "type": "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork" + }, + { + "type": "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork" } ] }, @@ -467696,62 +467767,6 @@ } ] }, - "azure-native:containerregistry:BuildStep": { - "description": "Build step resource properties\nAzure REST API version: 2018-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### BuildSteps_Create\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var buildStep = new AzureNative.ContainerRegistry.BuildStep(\"buildStep\", new()\n {\n BuildTaskName = \"myBuildTask\",\n RegistryName = \"myRegistry\",\n ResourceGroupName = \"myResourceGroup\",\n StepName = \"myStep\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2\"\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 := containerregistry.NewBuildStep(ctx, \"buildStep\", \u0026containerregistry.BuildStepArgs{\n\t\t\tBuildTaskName: pulumi.String(\"myBuildTask\"),\n\t\t\tRegistryName: pulumi.String(\"myRegistry\"),\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tStepName: pulumi.String(\"myStep\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.containerregistry.BuildStep;\nimport com.pulumi.azurenative.containerregistry.BuildStepArgs;\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 buildStep = new BuildStep(\"buildStep\", BuildStepArgs.builder() \n .buildTaskName(\"myBuildTask\")\n .registryName(\"myRegistry\")\n .resourceGroupName(\"myResourceGroup\")\n .stepName(\"myStep\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst buildStep = new azure_native.containerregistry.BuildStep(\"buildStep\", {\n buildTaskName: \"myBuildTask\",\n registryName: \"myRegistry\",\n resourceGroupName: \"myResourceGroup\",\n stepName: \"myStep\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nbuild_step = azure_native.containerregistry.BuildStep(\"buildStep\",\n build_task_name=\"myBuildTask\",\n registry_name=\"myRegistry\",\n resource_group_name=\"myResourceGroup\",\n step_name=\"myStep\")\n\n```\n\n```yaml\nresources:\n buildStep:\n type: azure-native:containerregistry:BuildStep\n properties:\n buildTaskName: myBuildTask\n registryName: myRegistry\n resourceGroupName: myResourceGroup\n stepName: myStep\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:containerregistry:BuildStep myStep /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/buildTasks/{buildTaskName}/steps/{stepName} \n```\n", - "properties": { - "name": { - "type": "string", - "description": "The name of the resource." - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-native:containerregistry:DockerBuildStepResponse", - "description": "The properties of a build step." - }, - "type": { - "type": "string", - "description": "The type of the resource." - } - }, - "type": "object", - "required": [ - "name", - "properties", - "type" - ], - "inputProperties": { - "buildTaskName": { - "type": "string", - "description": "The name of the container registry build task.", - "willReplaceOnChanges": true - }, - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - }, - "stepName": { - "type": "string", - "description": "The name of a build step for a container registry build task.", - "willReplaceOnChanges": true - } - }, - "requiredInputs": [ - "buildTaskName", - "registryName", - "resourceGroupName" - ], - "aliases": [ - { - "type": "azure-native:containerregistry/v20180201preview:BuildStep" - } - ] - }, "azure-native:containerregistry:CacheRule": { "description": "An object that represents a cache rule for a container registry.\nAzure REST API version: 2023-01-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CacheRuleCreate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cacheRule = new AzureNative.ContainerRegistry.CacheRule(\"cacheRule\", new()\n {\n CacheRuleName = \"myCacheRule\",\n CredentialSetResourceId = \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet\",\n RegistryName = \"myRegistry\",\n ResourceGroupName = \"myResourceGroup\",\n SourceRepository = \"docker.io/library/hello-world\",\n TargetRepository = \"cached-docker-hub/hello-world\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2\"\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 := containerregistry.NewCacheRule(ctx, \"cacheRule\", \u0026containerregistry.CacheRuleArgs{\n\t\t\tCacheRuleName: pulumi.String(\"myCacheRule\"),\n\t\t\tCredentialSetResourceId: pulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet\"),\n\t\t\tRegistryName: pulumi.String(\"myRegistry\"),\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tSourceRepository: pulumi.String(\"docker.io/library/hello-world\"),\n\t\t\tTargetRepository: pulumi.String(\"cached-docker-hub/hello-world\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.containerregistry.CacheRule;\nimport com.pulumi.azurenative.containerregistry.CacheRuleArgs;\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 cacheRule = new CacheRule(\"cacheRule\", CacheRuleArgs.builder() \n .cacheRuleName(\"myCacheRule\")\n .credentialSetResourceId(\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet\")\n .registryName(\"myRegistry\")\n .resourceGroupName(\"myResourceGroup\")\n .sourceRepository(\"docker.io/library/hello-world\")\n .targetRepository(\"cached-docker-hub/hello-world\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst cacheRule = new azure_native.containerregistry.CacheRule(\"cacheRule\", {\n cacheRuleName: \"myCacheRule\",\n credentialSetResourceId: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet\",\n registryName: \"myRegistry\",\n resourceGroupName: \"myResourceGroup\",\n sourceRepository: \"docker.io/library/hello-world\",\n targetRepository: \"cached-docker-hub/hello-world\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ncache_rule = azure_native.containerregistry.CacheRule(\"cacheRule\",\n cache_rule_name=\"myCacheRule\",\n credential_set_resource_id=\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet\",\n registry_name=\"myRegistry\",\n resource_group_name=\"myResourceGroup\",\n source_repository=\"docker.io/library/hello-world\",\n target_repository=\"cached-docker-hub/hello-world\")\n\n```\n\n```yaml\nresources:\n cacheRule:\n type: azure-native:containerregistry:CacheRule\n properties:\n cacheRuleName: myCacheRule\n credentialSetResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet\n registryName: myRegistry\n resourceGroupName: myResourceGroup\n sourceRepository: docker.io/library/hello-world\n targetRepository: cached-docker-hub/hello-world\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:containerregistry:CacheRule myCacheRule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName} \n```\n", "properties": { @@ -468829,15 +468844,9 @@ "sku" ], "aliases": [ - { - "type": "azure-native:containerregistry/v20160627preview:Registry" - }, { "type": "azure-native:containerregistry/v20170301:Registry" }, - { - "type": "azure-native:containerregistry/v20170601preview:Registry" - }, { "type": "azure-native:containerregistry/v20171001:Registry" }, @@ -468989,9 +468998,6 @@ "resourceGroupName" ], "aliases": [ - { - "type": "azure-native:containerregistry/v20170601preview:Replication" - }, { "type": "azure-native:containerregistry/v20171001:Replication" }, @@ -469380,9 +469386,6 @@ "resourceGroupName" ], "aliases": [ - { - "type": "azure-native:containerregistry/v20180201preview:Task" - }, { "type": "azure-native:containerregistry/v20180901:Task" }, @@ -469795,9 +469798,6 @@ "serviceUri" ], "aliases": [ - { - "type": "azure-native:containerregistry/v20170601preview:Webhook" - }, { "type": "azure-native:containerregistry/v20171001:Webhook" }, @@ -470477,6 +470477,9 @@ }, { "type": "azure-native:containerservice/v20230702preview:AgentPool" + }, + { + "type": "azure-native:containerservice/v20230801:AgentPool" } ] }, @@ -470577,6 +470580,9 @@ }, { "type": "azure-native:containerservice/v20230615preview:Fleet" + }, + { + "type": "azure-native:containerservice/v20230815preview:Fleet" } ] }, @@ -470668,6 +470674,81 @@ }, { "type": "azure-native:containerservice/v20230615preview:FleetMember" + }, + { + "type": "azure-native:containerservice/v20230815preview:FleetMember" + } + ] + }, + "azure-native:containerservice:FleetUpdateStrategy": { + "description": "Defines a multi-stage process to perform update operations across members of a Fleet.\nAzure REST API version: 2023-08-15-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a FleetUpdateStrategy.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fleetUpdateStrategy = new AzureNative.ContainerService.FleetUpdateStrategy(\"fleetUpdateStrategy\", new()\n {\n FleetName = \"fleet1\",\n ResourceGroupName = \"rg1\",\n Strategy = new AzureNative.ContainerService.Inputs.UpdateRunStrategyArgs\n {\n Stages = new[]\n {\n new AzureNative.ContainerService.Inputs.UpdateStageArgs\n {\n AfterStageWaitInSeconds = 3600,\n Groups = new[]\n {\n new AzureNative.ContainerService.Inputs.UpdateGroupArgs\n {\n Name = \"group-a\",\n },\n },\n Name = \"stage1\",\n },\n },\n },\n UpdateStrategyName = \"strartegy1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := containerservice.NewFleetUpdateStrategy(ctx, \"fleetUpdateStrategy\", \u0026containerservice.FleetUpdateStrategyArgs{\nFleetName: pulumi.String(\"fleet1\"),\nResourceGroupName: pulumi.String(\"rg1\"),\nStrategy: containerservice.UpdateRunStrategyResponse{\nStages: containerservice.UpdateStageArray{\ninterface{}{\nAfterStageWaitInSeconds: pulumi.Int(3600),\nGroups: containerservice.UpdateGroupArray{\n\u0026containerservice.UpdateGroupArgs{\nName: pulumi.String(\"group-a\"),\n},\n},\nName: pulumi.String(\"stage1\"),\n},\n},\n},\nUpdateStrategyName: pulumi.String(\"strartegy1\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.containerservice.FleetUpdateStrategy;\nimport com.pulumi.azurenative.containerservice.FleetUpdateStrategyArgs;\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 fleetUpdateStrategy = new FleetUpdateStrategy(\"fleetUpdateStrategy\", FleetUpdateStrategyArgs.builder() \n .fleetName(\"fleet1\")\n .resourceGroupName(\"rg1\")\n .strategy(Map.of(\"stages\", Map.ofEntries(\n Map.entry(\"afterStageWaitInSeconds\", 3600),\n Map.entry(\"groups\", Map.of(\"name\", \"group-a\")),\n Map.entry(\"name\", \"stage1\")\n )))\n .updateStrategyName(\"strartegy1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst fleetUpdateStrategy = new azure_native.containerservice.FleetUpdateStrategy(\"fleetUpdateStrategy\", {\n fleetName: \"fleet1\",\n resourceGroupName: \"rg1\",\n strategy: {\n stages: [{\n afterStageWaitInSeconds: 3600,\n groups: [{\n name: \"group-a\",\n }],\n name: \"stage1\",\n }],\n },\n updateStrategyName: \"strartegy1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nfleet_update_strategy = azure_native.containerservice.FleetUpdateStrategy(\"fleetUpdateStrategy\",\n fleet_name=\"fleet1\",\n resource_group_name=\"rg1\",\n strategy=azure_native.containerservice.UpdateRunStrategyResponseArgs(\n stages=[{\n \"afterStageWaitInSeconds\": 3600,\n \"groups\": [azure_native.containerservice.UpdateGroupArgs(\n name=\"group-a\",\n )],\n \"name\": \"stage1\",\n }],\n ),\n update_strategy_name=\"strartegy1\")\n\n```\n\n```yaml\nresources:\n fleetUpdateStrategy:\n type: azure-native:containerservice:FleetUpdateStrategy\n properties:\n fleetName: fleet1\n resourceGroupName: rg1\n strategy:\n stages:\n - afterStageWaitInSeconds: 3600\n groups:\n - name: group-a\n name: stage1\n updateStrategyName: strartegy1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:containerservice:FleetUpdateStrategy strategy1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateStrategies/{updateStrategyName} \n```\n", + "properties": { + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields." + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the UpdateStrategy resource." + }, + "strategy": { + "type": "object", + "$ref": "#/types/azure-native:containerservice:UpdateRunStrategyResponse", + "description": "Defines the update sequence of the clusters." + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:containerservice:SystemDataResponse", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "eTag", + "name", + "provisioningState", + "strategy", + "systemData", + "type" + ], + "inputProperties": { + "fleetName": { + "type": "string", + "description": "The name of the Fleet resource.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "strategy": { + "type": "object", + "$ref": "#/types/azure-native:containerservice:UpdateRunStrategy", + "description": "Defines the update sequence of the clusters." + }, + "updateStrategyName": { + "type": "string", + "description": "The name of the UpdateStrategy resource.", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "fleetName", + "resourceGroupName", + "strategy" + ], + "aliases": [ + { + "type": "azure-native:containerservice/v20230815preview:FleetUpdateStrategy" } ] }, @@ -470876,6 +470957,9 @@ }, { "type": "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" + }, + { + "type": "azure-native:containerservice/v20230801:MaintenanceConfiguration" } ] }, @@ -471502,6 +471586,9 @@ }, { "type": "azure-native:containerservice/v20230702preview:ManagedCluster" + }, + { + "type": "azure-native:containerservice/v20230801:ManagedCluster" } ] }, @@ -472052,6 +472139,9 @@ }, { "type": "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" + }, + { + "type": "azure-native:containerservice/v20230801:PrivateEndpointConnection" } ] }, @@ -472286,6 +472376,9 @@ }, { "type": "azure-native:containerservice/v20230702preview:Snapshot" + }, + { + "type": "azure-native:containerservice/v20230801:Snapshot" } ] }, @@ -472416,7 +472509,7 @@ ] }, "azure-native:containerservice:UpdateRun": { - "description": "An UpdateRun is a multi-stage process to perform update operations across members of a Fleet.\nAzure REST API version: 2023-03-15-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create an UpdateRun.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var updateRun = new AzureNative.ContainerService.UpdateRun(\"updateRun\", new()\n {\n FleetName = \"fleet1\",\n ManagedClusterUpdate = new AzureNative.ContainerService.Inputs.ManagedClusterUpdateArgs\n {\n Upgrade = new AzureNative.ContainerService.Inputs.ManagedClusterUpgradeSpecArgs\n {\n KubernetesVersion = \"1.26.1\",\n Type = \"Full\",\n },\n },\n ResourceGroupName = \"rg1\",\n Strategy = new AzureNative.ContainerService.Inputs.UpdateRunStrategyArgs\n {\n Stages = new[]\n {\n new AzureNative.ContainerService.Inputs.UpdateStageArgs\n {\n AfterStageWaitInSeconds = 3600,\n Groups = new[]\n {\n new AzureNative.ContainerService.Inputs.UpdateGroupArgs\n {\n Name = \"group-a\",\n },\n },\n Name = \"stage1\",\n },\n },\n },\n UpdateRunName = \"run1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := containerservice.NewUpdateRun(ctx, \"updateRun\", \u0026containerservice.UpdateRunArgs{\nFleetName: pulumi.String(\"fleet1\"),\nManagedClusterUpdate: containerservice.ManagedClusterUpdateResponse{\nUpgrade: \u0026containerservice.ManagedClusterUpgradeSpecArgs{\nKubernetesVersion: pulumi.String(\"1.26.1\"),\nType: pulumi.String(\"Full\"),\n},\n},\nResourceGroupName: pulumi.String(\"rg1\"),\nStrategy: containerservice.UpdateRunStrategyResponse{\nStages: containerservice.UpdateStageArray{\ninterface{}{\nAfterStageWaitInSeconds: pulumi.Int(3600),\nGroups: containerservice.UpdateGroupArray{\n\u0026containerservice.UpdateGroupArgs{\nName: pulumi.String(\"group-a\"),\n},\n},\nName: pulumi.String(\"stage1\"),\n},\n},\n},\nUpdateRunName: pulumi.String(\"run1\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.containerservice.UpdateRun;\nimport com.pulumi.azurenative.containerservice.UpdateRunArgs;\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 updateRun = new UpdateRun(\"updateRun\", UpdateRunArgs.builder() \n .fleetName(\"fleet1\")\n .managedClusterUpdate(Map.of(\"upgrade\", Map.ofEntries(\n Map.entry(\"kubernetesVersion\", \"1.26.1\"),\n Map.entry(\"type\", \"Full\")\n )))\n .resourceGroupName(\"rg1\")\n .strategy(Map.of(\"stages\", Map.ofEntries(\n Map.entry(\"afterStageWaitInSeconds\", 3600),\n Map.entry(\"groups\", Map.of(\"name\", \"group-a\")),\n Map.entry(\"name\", \"stage1\")\n )))\n .updateRunName(\"run1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst updateRun = new azure_native.containerservice.UpdateRun(\"updateRun\", {\n fleetName: \"fleet1\",\n managedClusterUpdate: {\n upgrade: {\n kubernetesVersion: \"1.26.1\",\n type: \"Full\",\n },\n },\n resourceGroupName: \"rg1\",\n strategy: {\n stages: [{\n afterStageWaitInSeconds: 3600,\n groups: [{\n name: \"group-a\",\n }],\n name: \"stage1\",\n }],\n },\n updateRunName: \"run1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nupdate_run = azure_native.containerservice.UpdateRun(\"updateRun\",\n fleet_name=\"fleet1\",\n managed_cluster_update=azure_native.containerservice.ManagedClusterUpdateResponseArgs(\n upgrade=azure_native.containerservice.ManagedClusterUpgradeSpecArgs(\n kubernetes_version=\"1.26.1\",\n type=\"Full\",\n ),\n ),\n resource_group_name=\"rg1\",\n strategy=azure_native.containerservice.UpdateRunStrategyResponseArgs(\n stages=[{\n \"afterStageWaitInSeconds\": 3600,\n \"groups\": [azure_native.containerservice.UpdateGroupArgs(\n name=\"group-a\",\n )],\n \"name\": \"stage1\",\n }],\n ),\n update_run_name=\"run1\")\n\n```\n\n```yaml\nresources:\n updateRun:\n type: azure-native:containerservice:UpdateRun\n properties:\n fleetName: fleet1\n managedClusterUpdate:\n upgrade:\n kubernetesVersion: 1.26.1\n type: Full\n resourceGroupName: rg1\n strategy:\n stages:\n - afterStageWaitInSeconds: 3600\n groups:\n - name: group-a\n name: stage1\n updateRunName: run1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:containerservice:UpdateRun run1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName} \n```\n", + "description": "A multi-stage process to perform update operations across members of a Fleet.\nAzure REST API version: 2023-03-15-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create an UpdateRun.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var updateRun = new AzureNative.ContainerService.UpdateRun(\"updateRun\", new()\n {\n FleetName = \"fleet1\",\n ManagedClusterUpdate = new AzureNative.ContainerService.Inputs.ManagedClusterUpdateArgs\n {\n Upgrade = new AzureNative.ContainerService.Inputs.ManagedClusterUpgradeSpecArgs\n {\n KubernetesVersion = \"1.26.1\",\n Type = \"Full\",\n },\n },\n ResourceGroupName = \"rg1\",\n Strategy = new AzureNative.ContainerService.Inputs.UpdateRunStrategyArgs\n {\n Stages = new[]\n {\n new AzureNative.ContainerService.Inputs.UpdateStageArgs\n {\n AfterStageWaitInSeconds = 3600,\n Groups = new[]\n {\n new AzureNative.ContainerService.Inputs.UpdateGroupArgs\n {\n Name = \"group-a\",\n },\n },\n Name = \"stage1\",\n },\n },\n },\n UpdateRunName = \"run1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := containerservice.NewUpdateRun(ctx, \"updateRun\", \u0026containerservice.UpdateRunArgs{\nFleetName: pulumi.String(\"fleet1\"),\nManagedClusterUpdate: containerservice.ManagedClusterUpdateResponse{\nUpgrade: \u0026containerservice.ManagedClusterUpgradeSpecArgs{\nKubernetesVersion: pulumi.String(\"1.26.1\"),\nType: pulumi.String(\"Full\"),\n},\n},\nResourceGroupName: pulumi.String(\"rg1\"),\nStrategy: containerservice.UpdateRunStrategyResponse{\nStages: containerservice.UpdateStageArray{\ninterface{}{\nAfterStageWaitInSeconds: pulumi.Int(3600),\nGroups: containerservice.UpdateGroupArray{\n\u0026containerservice.UpdateGroupArgs{\nName: pulumi.String(\"group-a\"),\n},\n},\nName: pulumi.String(\"stage1\"),\n},\n},\n},\nUpdateRunName: pulumi.String(\"run1\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.containerservice.UpdateRun;\nimport com.pulumi.azurenative.containerservice.UpdateRunArgs;\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 updateRun = new UpdateRun(\"updateRun\", UpdateRunArgs.builder() \n .fleetName(\"fleet1\")\n .managedClusterUpdate(Map.of(\"upgrade\", Map.ofEntries(\n Map.entry(\"kubernetesVersion\", \"1.26.1\"),\n Map.entry(\"type\", \"Full\")\n )))\n .resourceGroupName(\"rg1\")\n .strategy(Map.of(\"stages\", Map.ofEntries(\n Map.entry(\"afterStageWaitInSeconds\", 3600),\n Map.entry(\"groups\", Map.of(\"name\", \"group-a\")),\n Map.entry(\"name\", \"stage1\")\n )))\n .updateRunName(\"run1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst updateRun = new azure_native.containerservice.UpdateRun(\"updateRun\", {\n fleetName: \"fleet1\",\n managedClusterUpdate: {\n upgrade: {\n kubernetesVersion: \"1.26.1\",\n type: \"Full\",\n },\n },\n resourceGroupName: \"rg1\",\n strategy: {\n stages: [{\n afterStageWaitInSeconds: 3600,\n groups: [{\n name: \"group-a\",\n }],\n name: \"stage1\",\n }],\n },\n updateRunName: \"run1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nupdate_run = azure_native.containerservice.UpdateRun(\"updateRun\",\n fleet_name=\"fleet1\",\n managed_cluster_update=azure_native.containerservice.ManagedClusterUpdateResponseArgs(\n upgrade=azure_native.containerservice.ManagedClusterUpgradeSpecArgs(\n kubernetes_version=\"1.26.1\",\n type=\"Full\",\n ),\n ),\n resource_group_name=\"rg1\",\n strategy=azure_native.containerservice.UpdateRunStrategyResponseArgs(\n stages=[{\n \"afterStageWaitInSeconds\": 3600,\n \"groups\": [azure_native.containerservice.UpdateGroupArgs(\n name=\"group-a\",\n )],\n \"name\": \"stage1\",\n }],\n ),\n update_run_name=\"run1\")\n\n```\n\n```yaml\nresources:\n updateRun:\n type: azure-native:containerservice:UpdateRun\n properties:\n fleetName: fleet1\n managedClusterUpdate:\n upgrade:\n kubernetesVersion: 1.26.1\n type: Full\n resourceGroupName: rg1\n strategy:\n stages:\n - afterStageWaitInSeconds: 3600\n groups:\n - name: group-a\n name: stage1\n updateRunName: run1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:containerservice:UpdateRun run1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName} \n```\n", "properties": { "eTag": { "type": "string", @@ -472503,6 +472596,9 @@ }, { "type": "azure-native:containerservice/v20230615preview:UpdateRun" + }, + { + "type": "azure-native:containerservice/v20230815preview:UpdateRun" } ] }, @@ -487252,6 +487348,9 @@ }, { "type": "azure-native:dataprotection/v20230501:BackupInstance" + }, + { + "type": "azure-native:dataprotection/v20230601preview:BackupInstance" } ] }, @@ -487367,6 +487466,9 @@ }, { "type": "azure-native:dataprotection/v20230501:BackupPolicy" + }, + { + "type": "azure-native:dataprotection/v20230601preview:BackupPolicy" } ] }, @@ -487518,6 +487620,9 @@ }, { "type": "azure-native:dataprotection/v20230501:BackupVault" + }, + { + "type": "azure-native:dataprotection/v20230601preview:BackupVault" } ] }, @@ -487594,6 +487699,9 @@ }, { "type": "azure-native:dataprotection/v20230501:DppResourceGuardProxy" + }, + { + "type": "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy" } ] }, @@ -487724,6 +487832,9 @@ }, { "type": "azure-native:dataprotection/v20230501:ResourceGuard" + }, + { + "type": "azure-native:dataprotection/v20230601preview:ResourceGuard" } ] }, @@ -492864,6 +492975,9 @@ }, { "type": "azure-native:dbformysql/v20220101:AzureADAdministrator" + }, + { + "type": "azure-native:dbformysql/v20230601preview:AzureADAdministrator" } ] }, @@ -493000,6 +493114,9 @@ }, { "type": "azure-native:dbformysql/v20220101:Configuration" + }, + { + "type": "azure-native:dbformysql/v20230601preview:Configuration" } ] }, @@ -493081,6 +493198,9 @@ }, { "type": "azure-native:dbformysql/v20220101:Database" + }, + { + "type": "azure-native:dbformysql/v20230601preview:Database" } ] }, @@ -493166,6 +493286,9 @@ }, { "type": "azure-native:dbformysql/v20220101:FirewallRule" + }, + { + "type": "azure-native:dbformysql/v20230601preview:FirewallRule" } ] }, @@ -493508,6 +493631,9 @@ }, { "type": "azure-native:dbformysql/v20220930preview:Server" + }, + { + "type": "azure-native:dbformysql/v20230601preview:Server" } ] }, @@ -496069,6 +496195,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:Application" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:Application" } ] }, @@ -496291,6 +496420,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:ApplicationGroup" } ] }, @@ -496662,6 +496794,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:HostPool" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:HostPool" } ] }, @@ -496858,6 +496993,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:MSIXPackage" } ] }, @@ -496945,6 +497083,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool" } ] }, @@ -497032,6 +497173,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace" } ] }, @@ -497266,6 +497410,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:ScalingPlan" } ] }, @@ -497644,6 +497791,9 @@ "aliases": [ { "type": "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule" } ] }, @@ -497895,6 +498045,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule" } ] }, @@ -498099,6 +498252,9 @@ }, { "type": "azure-native:desktopvirtualization/v20230707preview:Workspace" + }, + { + "type": "azure-native:desktopvirtualization/v20230905:Workspace" } ] }, @@ -498195,6 +498351,9 @@ }, { "type": "azure-native:devcenter/v20230401:AttachedNetworkByDevCenter" + }, + { + "type": "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter" } ] }, @@ -498295,6 +498454,9 @@ }, { "type": "azure-native:devcenter/v20230401:Catalog" + }, + { + "type": "azure-native:devcenter/v20230801preview:Catalog" } ] }, @@ -498453,6 +498615,9 @@ }, { "type": "azure-native:devcenter/v20230401:DevBoxDefinition" + }, + { + "type": "azure-native:devcenter/v20230801preview:DevBoxDefinition" } ] }, @@ -498556,6 +498721,9 @@ }, { "type": "azure-native:devcenter/v20230401:DevCenter" + }, + { + "type": "azure-native:devcenter/v20230801preview:DevCenter" } ] }, @@ -498640,6 +498808,9 @@ }, { "type": "azure-native:devcenter/v20230401:EnvironmentType" + }, + { + "type": "azure-native:devcenter/v20230801preview:EnvironmentType" } ] }, @@ -498721,6 +498892,9 @@ }, { "type": "azure-native:devcenter/v20230401:Gallery" + }, + { + "type": "azure-native:devcenter/v20230801preview:Gallery" } ] }, @@ -498883,6 +499057,9 @@ }, { "type": "azure-native:devcenter/v20230401:NetworkConnection" + }, + { + "type": "azure-native:devcenter/v20230801preview:NetworkConnection" } ] }, @@ -499055,6 +499232,9 @@ }, { "type": "azure-native:devcenter/v20230401:Pool" + }, + { + "type": "azure-native:devcenter/v20230801preview:Pool" } ] }, @@ -499172,6 +499352,9 @@ }, { "type": "azure-native:devcenter/v20230401:Project" + }, + { + "type": "azure-native:devcenter/v20230801preview:Project" } ] }, @@ -499323,6 +499506,9 @@ }, { "type": "azure-native:devcenter/v20230401:ProjectEnvironmentType" + }, + { + "type": "azure-native:devcenter/v20230801preview:ProjectEnvironmentType" } ] }, @@ -499467,6 +499653,9 @@ }, { "type": "azure-native:devcenter/v20230401:Schedule" + }, + { + "type": "azure-native:devcenter/v20230801preview:Schedule" } ] }, @@ -504614,6 +504803,12 @@ }, { "type": "azure-native:documentdb/v20230415:CassandraCluster" + }, + { + "type": "azure-native:documentdb/v20230915:CassandraCluster" + }, + { + "type": "azure-native:documentdb/v20230915preview:CassandraCluster" } ] }, @@ -504717,6 +504912,12 @@ }, { "type": "azure-native:documentdb/v20230415:CassandraDataCenter" + }, + { + "type": "azure-native:documentdb/v20230915:CassandraDataCenter" + }, + { + "type": "azure-native:documentdb/v20230915preview:CassandraDataCenter" } ] }, @@ -504898,6 +505099,12 @@ }, { "type": "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" + }, + { + "type": "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace" + }, + { + "type": "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace" } ] }, @@ -505085,6 +505292,12 @@ }, { "type": "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" + }, + { + "type": "azure-native:documentdb/v20230915:CassandraResourceCassandraTable" + }, + { + "type": "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable" } ] }, @@ -505210,6 +505423,9 @@ }, { "type": "azure-native:documentdb/v20230315preview:CassandraResourceCassandraView" + }, + { + "type": "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView" } ] }, @@ -505811,6 +506027,12 @@ }, { "type": "azure-native:documentdb/v20230415:DatabaseAccount" + }, + { + "type": "azure-native:documentdb/v20230915:DatabaseAccount" + }, + { + "type": "azure-native:documentdb/v20230915preview:DatabaseAccount" } ] }, @@ -505930,6 +506152,9 @@ }, { "type": "azure-native:documentdb/v20230315preview:GraphResourceGraph" + }, + { + "type": "azure-native:documentdb/v20230915preview:GraphResourceGraph" } ] }, @@ -506111,6 +506336,12 @@ }, { "type": "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" + }, + { + "type": "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase" + }, + { + "type": "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase" } ] }, @@ -506298,6 +506529,12 @@ }, { "type": "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" + }, + { + "type": "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph" + }, + { + "type": "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph" } ] }, @@ -506444,6 +506681,9 @@ }, { "type": "azure-native:documentdb/v20230315preview:MongoCluster" + }, + { + "type": "azure-native:documentdb/v20230915preview:MongoCluster" } ] }, @@ -506522,6 +506762,9 @@ }, { "type": "azure-native:documentdb/v20230315preview:MongoClusterFirewallRule" + }, + { + "type": "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule" } ] }, @@ -506709,6 +506952,12 @@ }, { "type": "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" + }, + { + "type": "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection" + }, + { + "type": "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection" } ] }, @@ -506890,6 +507139,12 @@ }, { "type": "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" + }, + { + "type": "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase" + }, + { + "type": "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase" } ] }, @@ -507019,6 +507274,12 @@ }, { "type": "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" + }, + { + "type": "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition" + }, + { + "type": "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition" } ] }, @@ -507152,6 +507413,12 @@ }, { "type": "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition" + }, + { + "type": "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition" + }, + { + "type": "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition" } ] }, @@ -507287,6 +507554,12 @@ }, { "type": "azure-native:documentdb/v20230415:NotebookWorkspace" + }, + { + "type": "azure-native:documentdb/v20230915:NotebookWorkspace" + }, + { + "type": "azure-native:documentdb/v20230915preview:NotebookWorkspace" } ] }, @@ -507433,6 +507706,12 @@ }, { "type": "azure-native:documentdb/v20230415:PrivateEndpointConnection" + }, + { + "type": "azure-native:documentdb/v20230915:PrivateEndpointConnection" + }, + { + "type": "azure-native:documentdb/v20230915preview:PrivateEndpointConnection" } ] }, @@ -507576,6 +507855,12 @@ }, { "type": "azure-native:documentdb/v20230415:Service" + }, + { + "type": "azure-native:documentdb/v20230915:Service" + }, + { + "type": "azure-native:documentdb/v20230915preview:Service" } ] }, @@ -507763,6 +508048,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlContainer" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlContainer" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer" } ] }, @@ -507944,6 +508235,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlDatabase" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase" } ] }, @@ -508072,6 +508369,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment" } ] }, @@ -508218,6 +508521,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition" } ] }, @@ -508392,6 +508701,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure" } ] }, @@ -508566,6 +508881,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlTrigger" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger" } ] }, @@ -508740,6 +509061,12 @@ }, { "type": "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" + }, + { + "type": "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction" + }, + { + "type": "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction" } ] }, @@ -508921,6 +509248,12 @@ }, { "type": "azure-native:documentdb/v20230415:TableResourceTable" + }, + { + "type": "azure-native:documentdb/v20230915:TableResourceTable" + }, + { + "type": "azure-native:documentdb/v20230915preview:TableResourceTable" } ] }, @@ -510587,6 +510920,9 @@ }, { "type": "azure-native:elasticsan/v20221201preview:ElasticSan" + }, + { + "type": "azure-native:elasticsan/v20230101:ElasticSan" } ] }, @@ -510673,6 +511009,9 @@ "aliases": [ { "type": "azure-native:elasticsan/v20221201preview:PrivateEndpointConnection" + }, + { + "type": "azure-native:elasticsan/v20230101:PrivateEndpointConnection" } ] }, @@ -510775,6 +511114,9 @@ }, { "type": "azure-native:elasticsan/v20221201preview:Volume" + }, + { + "type": "azure-native:elasticsan/v20230101:Volume" } ] }, @@ -510888,6 +511230,92 @@ }, { "type": "azure-native:elasticsan/v20221201preview:VolumeGroup" + }, + { + "type": "azure-native:elasticsan/v20230101:VolumeGroup" + } + ] + }, + "azure-native:elasticsan:VolumeSnapshot": { + "description": "Response for Volume Snapshot request.\nAzure REST API version: 2023-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### VolumeSnapshots_Create_MaximumSet_Gen\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var volumeSnapshot = new AzureNative.ElasticSan.VolumeSnapshot(\"volumeSnapshot\", new()\n {\n CreationData = new AzureNative.ElasticSan.Inputs.SnapshotCreationDataArgs\n {\n SourceId = \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n },\n ElasticSanName = \"elasticsanname\",\n ResourceGroupName = \"resourcegroupname\",\n SnapshotName = \"snapshotname\",\n VolumeGroupName = \"volumegroupname\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v2\"\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 := elasticsan.NewVolumeSnapshot(ctx, \"volumeSnapshot\", \u0026elasticsan.VolumeSnapshotArgs{\n\t\t\tCreationData: \u0026elasticsan.SnapshotCreationDataArgs{\n\t\t\t\tSourceId: pulumi.String(\"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"),\n\t\t\t},\n\t\t\tElasticSanName: pulumi.String(\"elasticsanname\"),\n\t\t\tResourceGroupName: pulumi.String(\"resourcegroupname\"),\n\t\t\tSnapshotName: pulumi.String(\"snapshotname\"),\n\t\t\tVolumeGroupName: pulumi.String(\"volumegroupname\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.elasticsan.VolumeSnapshot;\nimport com.pulumi.azurenative.elasticsan.VolumeSnapshotArgs;\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 volumeSnapshot = new VolumeSnapshot(\"volumeSnapshot\", VolumeSnapshotArgs.builder() \n .creationData(Map.of(\"sourceId\", \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"))\n .elasticSanName(\"elasticsanname\")\n .resourceGroupName(\"resourcegroupname\")\n .snapshotName(\"snapshotname\")\n .volumeGroupName(\"volumegroupname\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst volumeSnapshot = new azure_native.elasticsan.VolumeSnapshot(\"volumeSnapshot\", {\n creationData: {\n sourceId: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n },\n elasticSanName: \"elasticsanname\",\n resourceGroupName: \"resourcegroupname\",\n snapshotName: \"snapshotname\",\n volumeGroupName: \"volumegroupname\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvolume_snapshot = azure_native.elasticsan.VolumeSnapshot(\"volumeSnapshot\",\n creation_data=azure_native.elasticsan.SnapshotCreationDataArgs(\n source_id=\"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n ),\n elastic_san_name=\"elasticsanname\",\n resource_group_name=\"resourcegroupname\",\n snapshot_name=\"snapshotname\",\n volume_group_name=\"volumegroupname\")\n\n```\n\n```yaml\nresources:\n volumeSnapshot:\n type: azure-native:elasticsan:VolumeSnapshot\n properties:\n creationData:\n sourceId: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\n elasticSanName: elasticsanname\n resourceGroupName: resourcegroupname\n snapshotName: snapshotname\n volumeGroupName: volumegroupname\n\n```\n\n{{% /example %}}\n{{% example %}}\n### VolumeSnapshots_Create_MinimumSet_Gen\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var volumeSnapshot = new AzureNative.ElasticSan.VolumeSnapshot(\"volumeSnapshot\", new()\n {\n CreationData = new AzureNative.ElasticSan.Inputs.SnapshotCreationDataArgs\n {\n SourceId = \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n },\n ElasticSanName = \"elasticsanname\",\n ResourceGroupName = \"resourcegroupname\",\n SnapshotName = \"snapshotname\",\n VolumeGroupName = \"volumegroupname\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v2\"\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 := elasticsan.NewVolumeSnapshot(ctx, \"volumeSnapshot\", \u0026elasticsan.VolumeSnapshotArgs{\n\t\t\tCreationData: \u0026elasticsan.SnapshotCreationDataArgs{\n\t\t\t\tSourceId: pulumi.String(\"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"),\n\t\t\t},\n\t\t\tElasticSanName: pulumi.String(\"elasticsanname\"),\n\t\t\tResourceGroupName: pulumi.String(\"resourcegroupname\"),\n\t\t\tSnapshotName: pulumi.String(\"snapshotname\"),\n\t\t\tVolumeGroupName: pulumi.String(\"volumegroupname\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.elasticsan.VolumeSnapshot;\nimport com.pulumi.azurenative.elasticsan.VolumeSnapshotArgs;\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 volumeSnapshot = new VolumeSnapshot(\"volumeSnapshot\", VolumeSnapshotArgs.builder() \n .creationData(Map.of(\"sourceId\", \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\"))\n .elasticSanName(\"elasticsanname\")\n .resourceGroupName(\"resourcegroupname\")\n .snapshotName(\"snapshotname\")\n .volumeGroupName(\"volumegroupname\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst volumeSnapshot = new azure_native.elasticsan.VolumeSnapshot(\"volumeSnapshot\", {\n creationData: {\n sourceId: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n },\n elasticSanName: \"elasticsanname\",\n resourceGroupName: \"resourcegroupname\",\n snapshotName: \"snapshotname\",\n volumeGroupName: \"volumegroupname\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvolume_snapshot = azure_native.elasticsan.VolumeSnapshot(\"volumeSnapshot\",\n creation_data=azure_native.elasticsan.SnapshotCreationDataArgs(\n source_id=\"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n ),\n elastic_san_name=\"elasticsanname\",\n resource_group_name=\"resourcegroupname\",\n snapshot_name=\"snapshotname\",\n volume_group_name=\"volumegroupname\")\n\n```\n\n```yaml\nresources:\n volumeSnapshot:\n type: azure-native:elasticsan:VolumeSnapshot\n properties:\n creationData:\n sourceId: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\n elasticSanName: elasticsanname\n resourceGroupName: resourcegroupname\n snapshotName: snapshotname\n volumeGroupName: volumegroupname\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:elasticsan:VolumeSnapshot qukfugetqthsufp /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName} \n```\n", + "properties": { + "creationData": { + "type": "object", + "$ref": "#/types/azure-native:elasticsan:SnapshotCreationDataResponse", + "description": "Data used when creating a volume snapshot." + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "State of the operation on the resource." + }, + "sourceVolumeSizeGiB": { + "type": "number", + "description": "Size of Source Volume" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:elasticsan:SystemDataResponse", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + }, + "volumeName": { + "type": "string", + "description": "Source Volume Name of a snapshot" + } + }, + "type": "object", + "required": [ + "creationData", + "name", + "provisioningState", + "sourceVolumeSizeGiB", + "systemData", + "type", + "volumeName" + ], + "inputProperties": { + "creationData": { + "type": "object", + "$ref": "#/types/azure-native:elasticsan:SnapshotCreationData", + "description": "Data used when creating a volume snapshot." + }, + "elasticSanName": { + "type": "string", + "description": "The name of the ElasticSan.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "snapshotName": { + "type": "string", + "description": "The name of the volume snapshot within the given volume group.", + "willReplaceOnChanges": true + }, + "volumeGroupName": { + "type": "string", + "description": "The name of the VolumeGroup.", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "creationData", + "elasticSanName", + "resourceGroupName", + "volumeGroupName" + ], + "aliases": [ + { + "type": "azure-native:elasticsan/v20230101:VolumeSnapshot" } ] }, @@ -528089,346 +528517,6 @@ } ] }, - "azure-native:iotsecurity:DefenderSetting": { - "description": "IoT Defender settings\nAzure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update IoT Defender settings\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var defenderSetting = new AzureNative.IoTSecurity.DefenderSetting(\"defenderSetting\", new()\n {\n DeviceQuota = 2000,\n MdeIntegration = new AzureNative.IoTSecurity.Inputs.DefenderSettingsPropertiesMdeIntegrationArgs\n {\n Status = \"Enabled\",\n },\n OnboardingKind = \"Default\",\n SentinelWorkspaceResourceIds = new[]\n {\n \"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/iotsecurity/v2\"\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 := iotsecurity.NewDefenderSetting(ctx, \"defenderSetting\", \u0026iotsecurity.DefenderSettingArgs{\n\t\t\tDeviceQuota: pulumi.Int(2000),\n\t\t\tMdeIntegration: \u0026iotsecurity.DefenderSettingsPropertiesMdeIntegrationArgs{\n\t\t\t\tStatus: pulumi.String(\"Enabled\"),\n\t\t\t},\n\t\t\tOnboardingKind: pulumi.String(\"Default\"),\n\t\t\tSentinelWorkspaceResourceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.iotsecurity.DefenderSetting;\nimport com.pulumi.azurenative.iotsecurity.DefenderSettingArgs;\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 defenderSetting = new DefenderSetting(\"defenderSetting\", DefenderSettingArgs.builder() \n .deviceQuota(2000)\n .mdeIntegration(Map.of(\"status\", \"Enabled\"))\n .onboardingKind(\"Default\")\n .sentinelWorkspaceResourceIds(\"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst defenderSetting = new azure_native.iotsecurity.DefenderSetting(\"defenderSetting\", {\n deviceQuota: 2000,\n mdeIntegration: {\n status: \"Enabled\",\n },\n onboardingKind: \"Default\",\n sentinelWorkspaceResourceIds: [\"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndefender_setting = azure_native.iotsecurity.DefenderSetting(\"defenderSetting\",\n device_quota=2000,\n mde_integration=azure_native.iotsecurity.DefenderSettingsPropertiesMdeIntegrationArgs(\n status=\"Enabled\",\n ),\n onboarding_kind=\"Default\",\n sentinel_workspace_resource_ids=[\"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1\"])\n\n```\n\n```yaml\nresources:\n defenderSetting:\n type: azure-native:iotsecurity:DefenderSetting\n properties:\n deviceQuota: 2000\n mdeIntegration:\n status: Enabled\n onboardingKind: Default\n sentinelWorkspaceResourceIds:\n - /subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:iotsecurity:DefenderSetting default /subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default \n```\n", - "properties": { - "deviceQuota": { - "type": "integer", - "description": "Size of the device quota. Value is required to be in multiples of 100." - }, - "evaluationEndTime": { - "type": "string", - "description": "End time of the evaluation period, if such exist" - }, - "mdeIntegration": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:DefenderSettingsPropertiesResponseMdeIntegration", - "description": "MDE integration configuration" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "onboardingKind": { - "type": "string", - "description": "The kind of onboarding for the subscription" - }, - "sentinelWorkspaceResourceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Sentinel Workspace Resource Ids" - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "deviceQuota", - "evaluationEndTime", - "mdeIntegration", - "name", - "onboardingKind", - "sentinelWorkspaceResourceIds", - "type" - ], - "inputProperties": { - "deviceQuota": { - "type": "integer", - "description": "Size of the device quota. Value is required to be in multiples of 100." - }, - "mdeIntegration": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:DefenderSettingsPropertiesMdeIntegration", - "description": "MDE integration configuration" - }, - "onboardingKind": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/types/azure-native:iotsecurity:OnboardingKind" - } - ], - "description": "The kind of onboarding for the subscription" - }, - "sentinelWorkspaceResourceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Sentinel Workspace Resource Ids" - } - }, - "requiredInputs": [ - "deviceQuota", - "mdeIntegration", - "onboardingKind", - "sentinelWorkspaceResourceIds" - ], - "aliases": [ - { - "type": "azure-native:iotsecurity/v20210201preview:DefenderSetting" - } - ] - }, - "azure-native:iotsecurity:DeviceGroup": { - "description": "Device group\nAzure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update device group\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var deviceGroup = new AzureNative.IoTSecurity.DeviceGroup(\"deviceGroup\", new()\n {\n DeviceGroupName = \"myGroup\",\n IotDefenderLocation = \"eastus\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/iotsecurity/v2\"\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 := iotsecurity.NewDeviceGroup(ctx, \"deviceGroup\", \u0026iotsecurity.DeviceGroupArgs{\n\t\t\tDeviceGroupName: pulumi.String(\"myGroup\"),\n\t\t\tIotDefenderLocation: pulumi.String(\"eastus\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.iotsecurity.DeviceGroup;\nimport com.pulumi.azurenative.iotsecurity.DeviceGroupArgs;\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 deviceGroup = new DeviceGroup(\"deviceGroup\", DeviceGroupArgs.builder() \n .deviceGroupName(\"myGroup\")\n .iotDefenderLocation(\"eastus\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst deviceGroup = new azure_native.iotsecurity.DeviceGroup(\"deviceGroup\", {\n deviceGroupName: \"myGroup\",\n iotDefenderLocation: \"eastus\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ndevice_group = azure_native.iotsecurity.DeviceGroup(\"deviceGroup\",\n device_group_name=\"myGroup\",\n iot_defender_location=\"eastus\")\n\n```\n\n```yaml\nresources:\n deviceGroup:\n type: azure-native:iotsecurity:DeviceGroup\n properties:\n deviceGroupName: myGroup\n iotDefenderLocation: eastus\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:iotsecurity:DeviceGroup myGroup /subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/locations/{iotDefenderLocation}/deviceGroups/{deviceGroupName} \n```\n", - "properties": { - "name": { - "type": "string", - "description": "The name of the resource" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "name", - "systemData", - "type" - ], - "inputProperties": { - "deviceGroupName": { - "type": "string", - "description": "Device group name", - "willReplaceOnChanges": true - }, - "iotDefenderLocation": { - "type": "string", - "description": "Defender for IoT location", - "willReplaceOnChanges": true - } - }, - "requiredInputs": [ - "iotDefenderLocation" - ], - "aliases": [ - { - "type": "azure-native:iotsecurity/v20210201preview:DeviceGroup" - } - ] - }, - "azure-native:iotsecurity:OnPremiseSensor": { - "description": "On-premise IoT sensor\nAzure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update on-premise IoT sensor\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var onPremiseSensor = new AzureNative.IoTSecurity.OnPremiseSensor(\"onPremiseSensor\", new()\n {\n OnPremiseSensorName = \"mySensor\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/iotsecurity/v2\"\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 := iotsecurity.NewOnPremiseSensor(ctx, \"onPremiseSensor\", \u0026iotsecurity.OnPremiseSensorArgs{\n\t\t\tOnPremiseSensorName: pulumi.String(\"mySensor\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.iotsecurity.OnPremiseSensor;\nimport com.pulumi.azurenative.iotsecurity.OnPremiseSensorArgs;\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 onPremiseSensor = new OnPremiseSensor(\"onPremiseSensor\", OnPremiseSensorArgs.builder() \n .onPremiseSensorName(\"mySensor\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst onPremiseSensor = new azure_native.iotsecurity.OnPremiseSensor(\"onPremiseSensor\", {onPremiseSensorName: \"mySensor\"});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\non_premise_sensor = azure_native.iotsecurity.OnPremiseSensor(\"onPremiseSensor\", on_premise_sensor_name=\"mySensor\")\n\n```\n\n```yaml\nresources:\n onPremiseSensor:\n type: azure-native:iotsecurity:OnPremiseSensor\n properties:\n onPremiseSensorName: mySensor\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:iotsecurity:OnPremiseSensor mySensor /subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/onPremiseSensors/{onPremiseSensorName} \n```\n", - "properties": { - "name": { - "type": "string", - "description": "The name of the resource" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "name", - "systemData", - "type" - ], - "inputProperties": { - "onPremiseSensorName": { - "type": "string", - "description": "Name of the on-premise IoT sensor", - "willReplaceOnChanges": true - } - }, - "aliases": [ - { - "type": "azure-native:iotsecurity/v20210201preview:OnPremiseSensor" - } - ] - }, - "azure-native:iotsecurity:Sensor": { - "description": "IoT sensor model\nAzure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update IoT sensor\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sensor = new AzureNative.IoTSecurity.Sensor(\"sensor\", new()\n {\n Scope = \"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\",\n SensorName = \"mySensor\",\n SensorType = \"Ot\",\n TiAutomaticUpdates = true,\n Zone = \"Zone Name\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/iotsecurity/v2\"\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 := iotsecurity.NewSensor(ctx, \"sensor\", \u0026iotsecurity.SensorArgs{\n\t\t\tScope: pulumi.String(\"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\"),\n\t\t\tSensorName: pulumi.String(\"mySensor\"),\n\t\t\tSensorType: pulumi.String(\"Ot\"),\n\t\t\tTiAutomaticUpdates: pulumi.Bool(true),\n\t\t\tZone: pulumi.String(\"Zone Name\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.iotsecurity.Sensor;\nimport com.pulumi.azurenative.iotsecurity.SensorArgs;\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 sensor = new Sensor(\"sensor\", SensorArgs.builder() \n .scope(\"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\")\n .sensorName(\"mySensor\")\n .sensorType(\"Ot\")\n .tiAutomaticUpdates(true)\n .zone(\"Zone Name\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst sensor = new azure_native.iotsecurity.Sensor(\"sensor\", {\n scope: \"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\",\n sensorName: \"mySensor\",\n sensorType: \"Ot\",\n tiAutomaticUpdates: true,\n zone: \"Zone Name\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsensor = azure_native.iotsecurity.Sensor(\"sensor\",\n scope=\"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\",\n sensor_name=\"mySensor\",\n sensor_type=\"Ot\",\n ti_automatic_updates=True,\n zone=\"Zone Name\")\n\n```\n\n```yaml\nresources:\n sensor:\n type: azure-native:iotsecurity:Sensor\n properties:\n scope: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\n sensorName: mySensor\n sensorType: Ot\n tiAutomaticUpdates: true\n zone: Zone Name\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:iotsecurity:Sensor mySensor /{scope}/providers/Microsoft.IoTSecurity/sensors/{sensorName} \n```\n", - "properties": { - "connectivityTime": { - "type": "string", - "description": "Last connectivity time of the IoT sensor" - }, - "dynamicLearning": { - "type": "boolean", - "description": "Dynamic mode status of the IoT sensor" - }, - "learningMode": { - "type": "boolean", - "description": "Learning mode status of the IoT sensor" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "sensorStatus": { - "type": "string", - "description": "Status of the IoT sensor" - }, - "sensorType": { - "type": "string", - "description": "Type of sensor" - }, - "sensorVersion": { - "type": "string", - "description": "Version of the IoT sensor" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "tiAutomaticUpdates": { - "type": "boolean", - "description": "TI Automatic mode status of the IoT sensor" - }, - "tiStatus": { - "type": "string", - "description": "TI Status of the IoT sensor" - }, - "tiVersion": { - "type": "string", - "description": "TI Version of the IoT sensor" - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - }, - "zone": { - "type": "string", - "description": "Zone of the IoT sensor" - } - }, - "type": "object", - "required": [ - "connectivityTime", - "dynamicLearning", - "learningMode", - "name", - "sensorStatus", - "sensorVersion", - "systemData", - "tiStatus", - "tiVersion", - "type" - ], - "inputProperties": { - "scope": { - "type": "string", - "description": "Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)", - "willReplaceOnChanges": true - }, - "sensorName": { - "type": "string", - "description": "Name of the IoT sensor", - "willReplaceOnChanges": true - }, - "sensorType": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/types/azure-native:iotsecurity:SensorType" - } - ], - "description": "Type of sensor" - }, - "tiAutomaticUpdates": { - "type": "boolean", - "description": "TI Automatic mode status of the IoT sensor" - }, - "zone": { - "type": "string", - "description": "Zone of the IoT sensor" - } - }, - "requiredInputs": [ - "scope" - ], - "aliases": [ - { - "type": "azure-native:iotsecurity/v20210201preview:Sensor" - } - ] - }, - "azure-native:iotsecurity:Site": { - "description": "IoT site model\nAzure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update IoT site\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var site = new AzureNative.IoTSecurity.Site(\"site\", new()\n {\n DisplayName = \"IoT site name\",\n Scope = \"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\",\n Tags = \n {\n { \"key1\", \"value1\" },\n { \"key2\", \"value2\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/iotsecurity/v2\"\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 := iotsecurity.NewSite(ctx, \"site\", \u0026iotsecurity.SiteArgs{\n\t\t\tDisplayName: pulumi.String(\"IoT site name\"),\n\t\t\tScope: pulumi.String(\"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"key1\": pulumi.String(\"value1\"),\n\t\t\t\t\"key2\": pulumi.String(\"value2\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.iotsecurity.Site;\nimport com.pulumi.azurenative.iotsecurity.SiteArgs;\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 site = new Site(\"site\", SiteArgs.builder() \n .displayName(\"IoT site name\")\n .scope(\"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\")\n .tags(Map.ofEntries(\n Map.entry(\"key1\", \"value1\"),\n Map.entry(\"key2\", \"value2\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst site = new azure_native.iotsecurity.Site(\"site\", {\n displayName: \"IoT site name\",\n scope: \"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\",\n tags: {\n key1: \"value1\",\n key2: \"value2\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsite = azure_native.iotsecurity.Site(\"site\",\n display_name=\"IoT site name\",\n scope=\"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\",\n tags={\n \"key1\": \"value1\",\n \"key2\": \"value2\",\n })\n\n```\n\n```yaml\nresources:\n site:\n type: azure-native:iotsecurity:Site\n properties:\n displayName: IoT site name\n scope: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub\n tags:\n key1: value1\n key2: value2\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:iotsecurity:Site default /{scope}/providers/Microsoft.IoTSecurity/sites/default \n```\n", - "properties": { - "displayName": { - "type": "string", - "description": "Display name of the IoT site" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Tags of the IoT site" - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "displayName", - "name", - "systemData", - "type" - ], - "inputProperties": { - "displayName": { - "type": "string", - "description": "Display name of the IoT site" - }, - "scope": { - "type": "string", - "description": "Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)", - "willReplaceOnChanges": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Tags of the IoT site" - } - }, - "requiredInputs": [ - "displayName", - "scope" - ], - "aliases": [ - { - "type": "azure-native:iotsecurity/v20210201preview:Site" - } - ] - }, "azure-native:keyvault:Key": { "description": "The key resource.\nAzure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2019-09-01\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a key\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var key = new AzureNative.KeyVault.Key(\"key\", new()\n {\n KeyName = \"sample-key-name\",\n Properties = new AzureNative.KeyVault.Inputs.KeyPropertiesArgs\n {\n Kty = \"RSA\",\n },\n ResourceGroupName = \"sample-group\",\n VaultName = \"sample-vault-name\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/keyvault/v2\"\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 := keyvault.NewKey(ctx, \"key\", \u0026keyvault.KeyArgs{\n\t\t\tKeyName: pulumi.String(\"sample-key-name\"),\n\t\t\tProperties: \u0026keyvault.KeyPropertiesArgs{\n\t\t\t\tKty: pulumi.String(\"RSA\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"sample-group\"),\n\t\t\tVaultName: pulumi.String(\"sample-vault-name\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.keyvault.Key;\nimport com.pulumi.azurenative.keyvault.KeyArgs;\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 key = new Key(\"key\", KeyArgs.builder() \n .keyName(\"sample-key-name\")\n .properties(Map.of(\"kty\", \"RSA\"))\n .resourceGroupName(\"sample-group\")\n .vaultName(\"sample-vault-name\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst key = new azure_native.keyvault.Key(\"key\", {\n keyName: \"sample-key-name\",\n properties: {\n kty: \"RSA\",\n },\n resourceGroupName: \"sample-group\",\n vaultName: \"sample-vault-name\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nkey = azure_native.keyvault.Key(\"key\",\n key_name=\"sample-key-name\",\n properties=azure_native.keyvault.KeyPropertiesArgs(\n kty=\"RSA\",\n ),\n resource_group_name=\"sample-group\",\n vault_name=\"sample-vault-name\")\n\n```\n\n```yaml\nresources:\n key:\n type: azure-native:keyvault:Key\n properties:\n keyName: sample-key-name\n properties:\n kty: RSA\n resourceGroupName: sample-group\n vaultName: sample-vault-name\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:keyvault:Key sample-key-name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName} \n```\n", "properties": { @@ -530366,6 +530454,9 @@ }, { "type": "azure-native:kusto/v20230502:AttachedDatabaseConfiguration" + }, + { + "type": "azure-native:kusto/v20230815:AttachedDatabaseConfiguration" } ] }, @@ -530777,6 +530868,9 @@ }, { "type": "azure-native:kusto/v20230502:Cluster" + }, + { + "type": "azure-native:kusto/v20230815:Cluster" } ] }, @@ -530923,6 +531017,9 @@ }, { "type": "azure-native:kusto/v20230502:ClusterPrincipalAssignment" + }, + { + "type": "azure-native:kusto/v20230815:ClusterPrincipalAssignment" } ] }, @@ -531108,6 +531205,9 @@ }, { "type": "azure-native:kusto/v20230502:CosmosDbDataConnection" + }, + { + "type": "azure-native:kusto/v20230815:CosmosDbDataConnection" } ] }, @@ -531260,6 +531360,9 @@ }, { "type": "azure-native:kusto/v20230502:DatabasePrincipalAssignment" + }, + { + "type": "azure-native:kusto/v20230815:DatabasePrincipalAssignment" } ] }, @@ -531496,6 +531599,9 @@ }, { "type": "azure-native:kusto/v20230502:EventGridDataConnection" + }, + { + "type": "azure-native:kusto/v20230815:EventGridDataConnection" } ] }, @@ -531840,6 +531946,9 @@ }, { "type": "azure-native:kusto/v20230502:EventHubDataConnection" + }, + { + "type": "azure-native:kusto/v20230815:EventHubDataConnection" } ] }, @@ -532054,6 +532163,9 @@ }, { "type": "azure-native:kusto/v20230502:IotHubDataConnection" + }, + { + "type": "azure-native:kusto/v20230815:IotHubDataConnection" } ] }, @@ -532160,6 +532272,9 @@ }, { "type": "azure-native:kusto/v20230502:ManagedPrivateEndpoint" + }, + { + "type": "azure-native:kusto/v20230815:ManagedPrivateEndpoint" } ] }, @@ -532253,6 +532368,9 @@ }, { "type": "azure-native:kusto/v20230502:PrivateEndpointConnection" + }, + { + "type": "azure-native:kusto/v20230815:PrivateEndpointConnection" } ] }, @@ -532421,6 +532539,9 @@ }, { "type": "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" + }, + { + "type": "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase" } ] }, @@ -532566,6 +532687,93 @@ }, { "type": "azure-native:kusto/v20230502:ReadWriteDatabase" + }, + { + "type": "azure-native:kusto/v20230815:ReadWriteDatabase" + } + ] + }, + "azure-native:kusto:SandboxCustomImage": { + "description": "Class representing a Kusto sandbox custom image.\nAzure REST API version: 2023-08-15.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### KustoSandboxCustomImagesCreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandboxCustomImage = new AzureNative.Kusto.SandboxCustomImage(\"sandboxCustomImage\", new()\n {\n ClusterName = \"kustoCluster\",\n Language = \"Python\",\n LanguageVersion = \"3.10.8\",\n RequirementsFileContent = \"Requests\",\n ResourceGroupName = \"kustorptest\",\n SandboxCustomImageName = \"customImage8\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/kusto/v2\"\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 := kusto.NewSandboxCustomImage(ctx, \"sandboxCustomImage\", \u0026kusto.SandboxCustomImageArgs{\n\t\t\tClusterName: pulumi.String(\"kustoCluster\"),\n\t\t\tLanguage: pulumi.String(\"Python\"),\n\t\t\tLanguageVersion: pulumi.String(\"3.10.8\"),\n\t\t\tRequirementsFileContent: pulumi.String(\"Requests\"),\n\t\t\tResourceGroupName: pulumi.String(\"kustorptest\"),\n\t\t\tSandboxCustomImageName: pulumi.String(\"customImage8\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.kusto.SandboxCustomImage;\nimport com.pulumi.azurenative.kusto.SandboxCustomImageArgs;\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 sandboxCustomImage = new SandboxCustomImage(\"sandboxCustomImage\", SandboxCustomImageArgs.builder() \n .clusterName(\"kustoCluster\")\n .language(\"Python\")\n .languageVersion(\"3.10.8\")\n .requirementsFileContent(\"Requests\")\n .resourceGroupName(\"kustorptest\")\n .sandboxCustomImageName(\"customImage8\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst sandboxCustomImage = new azure_native.kusto.SandboxCustomImage(\"sandboxCustomImage\", {\n clusterName: \"kustoCluster\",\n language: \"Python\",\n languageVersion: \"3.10.8\",\n requirementsFileContent: \"Requests\",\n resourceGroupName: \"kustorptest\",\n sandboxCustomImageName: \"customImage8\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsandbox_custom_image = azure_native.kusto.SandboxCustomImage(\"sandboxCustomImage\",\n cluster_name=\"kustoCluster\",\n language=\"Python\",\n language_version=\"3.10.8\",\n requirements_file_content=\"Requests\",\n resource_group_name=\"kustorptest\",\n sandbox_custom_image_name=\"customImage8\")\n\n```\n\n```yaml\nresources:\n sandboxCustomImage:\n type: azure-native:kusto:SandboxCustomImage\n properties:\n clusterName: kustoCluster\n language: Python\n languageVersion: 3.10.8\n requirementsFileContent: Requests\n resourceGroupName: kustorptest\n sandboxCustomImageName: customImage8\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:kusto:SandboxCustomImage kustoCluster/customImage8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName} \n```\n", + "properties": { + "language": { + "type": "string", + "description": "The language name, for example Python." + }, + "languageVersion": { + "type": "string", + "description": "The version of the language." + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "The provisioned state of the resource." + }, + "requirementsFileContent": { + "type": "string", + "description": "The requirements file content." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "language", + "languageVersion", + "name", + "provisioningState", + "type" + ], + "inputProperties": { + "clusterName": { + "type": "string", + "description": "The name of the Kusto cluster.", + "willReplaceOnChanges": true + }, + "language": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-native:kusto:Language" + } + ], + "description": "The language name, for example Python." + }, + "languageVersion": { + "type": "string", + "description": "The version of the language." + }, + "requirementsFileContent": { + "type": "string", + "description": "The requirements file content." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "sandboxCustomImageName": { + "type": "string", + "description": "The name of the sandbox custom image.", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "clusterName", + "language", + "languageVersion", + "resourceGroupName" + ], + "aliases": [ + { + "type": "azure-native:kusto/v20230815:SandboxCustomImage" } ] }, @@ -532681,6 +532889,9 @@ }, { "type": "azure-native:kusto/v20230502:Script" + }, + { + "type": "azure-native:kusto/v20230815:Script" } ] }, @@ -540046,7 +540257,7 @@ ] }, "azure-native:machinelearningservices:LabelingJob": { - "description": "Azure Resource Manager resource envelope.\nAzure REST API version: 2023-04-01-preview. Prior API version in Azure Native 1.x: 2020-09-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrUpdate Labeling Job.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var labelingJob = new AzureNative.MachineLearningServices.LabelingJob(\"labelingJob\", new()\n {\n Id = \"testLabelingJob\",\n LabelingJobProperties = new AzureNative.MachineLearningServices.Inputs.LabelingJobArgs\n {\n Description = \"string\",\n JobInstructions = new AzureNative.MachineLearningServices.Inputs.LabelingJobInstructionsArgs\n {\n Uri = \"link/to/instructions\",\n },\n JobType = \"Labeling\",\n LabelCategories = \n {\n { \"myCategory1\", new AzureNative.MachineLearningServices.Inputs.LabelCategoryArgs\n {\n Classes = \n {\n { \"myLabelClass1\", \n {\n { \"displayName\", \"myLabelClass1\" },\n { \"subclasses\", null },\n } },\n { \"myLabelClass2\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass2\",\n Subclasses = null,\n } },\n },\n DisplayName = \"myCategory1Title\",\n MultiSelect = \"Disabled\",\n } },\n { \"myCategory2\", new AzureNative.MachineLearningServices.Inputs.LabelCategoryArgs\n {\n Classes = \n {\n { \"myLabelClass1\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass1\",\n Subclasses = null,\n } },\n { \"myLabelClass2\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass2\",\n Subclasses = null,\n } },\n },\n DisplayName = \"myCategory2Title\",\n MultiSelect = \"Disabled\",\n } },\n },\n LabelingJobMediaProperties = new AzureNative.MachineLearningServices.Inputs.LabelingJobImagePropertiesArgs\n {\n MediaType = \"Image\",\n },\n MlAssistConfiguration = new AzureNative.MachineLearningServices.Inputs.MLAssistConfigurationEnabledArgs\n {\n InferencingComputeBinding = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\n MlAssist = \"Enabled\",\n TrainingComputeBinding = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n },\n Properties = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Tags = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n },\n ResourceGroupName = \"workspace-1234\",\n WorkspaceName = \"testworkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := machinelearningservices.NewLabelingJob(ctx, \"labelingJob\", \u0026machinelearningservices.LabelingJobArgs{\nId: pulumi.String(\"testLabelingJob\"),\nLabelingJobProperties: interface{}{\nDescription: pulumi.String(\"string\"),\nJobInstructions: \u0026machinelearningservices.LabelingJobInstructionsArgs{\nUri: pulumi.String(\"link/to/instructions\"),\n},\nJobType: pulumi.String(\"Labeling\"),\nLabelCategories: interface{}{\nMyCategory1: interface{}{\nClasses: interface{}{\nMyLabelClass1: interface{}{\nDisplayName: pulumi.String(\"myLabelClass1\"),\nSubclasses: nil,\n},\nMyLabelClass2: interface{}{\nDisplayName: pulumi.String(\"myLabelClass2\"),\nSubclasses: nil,\n},\n},\nDisplayName: pulumi.String(\"myCategory1Title\"),\nMultiSelect: pulumi.String(\"Disabled\"),\n},\nMyCategory2: \u0026machinelearningservices.LabelCategoryArgs{\nClasses: interface{}{\nMyLabelClass1: \u0026machinelearningservices.LabelClassArgs{\nDisplayName: pulumi.String(\"myLabelClass1\"),\nSubclasses: nil,\n},\nMyLabelClass2: interface{}{\nDisplayName: pulumi.String(\"myLabelClass2\"),\nSubclasses: nil,\n},\n},\nDisplayName: pulumi.String(\"myCategory2Title\"),\nMultiSelect: pulumi.String(\"Disabled\"),\n},\n},\nLabelingJobMediaProperties: machinelearningservices.LabelingJobImageProperties{\nMediaType: \"Image\",\n},\nMlAssistConfiguration: machinelearningservices.MLAssistConfigurationEnabled{\nInferencingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\nMlAssist: \"Enabled\",\nTrainingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n},\nProperties: pulumi.StringMap{\n\"additionalProp1\": pulumi.String(\"string\"),\n\"additionalProp2\": pulumi.String(\"string\"),\n\"additionalProp3\": pulumi.String(\"string\"),\n},\nTags: pulumi.StringMap{\n\"additionalProp1\": pulumi.String(\"string\"),\n\"additionalProp2\": pulumi.String(\"string\"),\n\"additionalProp3\": pulumi.String(\"string\"),\n},\n},\nResourceGroupName: pulumi.String(\"workspace-1234\"),\nWorkspaceName: pulumi.String(\"testworkspace\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.LabelingJob;\nimport com.pulumi.azurenative.machinelearningservices.LabelingJobArgs;\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 labelingJob = new LabelingJob(\"labelingJob\", LabelingJobArgs.builder() \n .id(\"testLabelingJob\")\n .labelingJobProperties(Map.ofEntries(\n Map.entry(\"description\", \"string\"),\n Map.entry(\"jobInstructions\", Map.of(\"uri\", \"link/to/instructions\")),\n Map.entry(\"jobType\", \"Labeling\"),\n Map.entry(\"labelCategories\", Map.ofEntries(\n Map.entry(\"myCategory1\", Map.ofEntries(\n Map.entry(\"classes\", Map.ofEntries(\n Map.entry(\"myLabelClass1\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass1\"),\n Map.entry(\"subclasses\", )\n )),\n Map.entry(\"myLabelClass2\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass2\"),\n Map.entry(\"subclasses\", )\n ))\n )),\n Map.entry(\"displayName\", \"myCategory1Title\"),\n Map.entry(\"multiSelect\", \"Disabled\")\n )),\n Map.entry(\"myCategory2\", Map.ofEntries(\n Map.entry(\"classes\", Map.ofEntries(\n Map.entry(\"myLabelClass1\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass1\"),\n Map.entry(\"subclasses\", )\n )),\n Map.entry(\"myLabelClass2\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass2\"),\n Map.entry(\"subclasses\", )\n ))\n )),\n Map.entry(\"displayName\", \"myCategory2Title\"),\n Map.entry(\"multiSelect\", \"Disabled\")\n ))\n )),\n Map.entry(\"labelingJobMediaProperties\", Map.of(\"mediaType\", \"Image\")),\n Map.entry(\"mlAssistConfiguration\", Map.ofEntries(\n Map.entry(\"inferencingComputeBinding\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\"),\n Map.entry(\"mlAssist\", \"Enabled\"),\n Map.entry(\"trainingComputeBinding\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\")\n )),\n Map.entry(\"properties\", Map.ofEntries(\n Map.entry(\"additionalProp1\", \"string\"),\n Map.entry(\"additionalProp2\", \"string\"),\n Map.entry(\"additionalProp3\", \"string\")\n )),\n Map.entry(\"tags\", Map.ofEntries(\n Map.entry(\"additionalProp1\", \"string\"),\n Map.entry(\"additionalProp2\", \"string\"),\n Map.entry(\"additionalProp3\", \"string\")\n ))\n ))\n .resourceGroupName(\"workspace-1234\")\n .workspaceName(\"testworkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst labelingJob = new azure_native.machinelearningservices.LabelingJob(\"labelingJob\", {\n id: \"testLabelingJob\",\n labelingJobProperties: {\n description: \"string\",\n jobInstructions: {\n uri: \"link/to/instructions\",\n },\n jobType: \"Labeling\",\n labelCategories: {\n myCategory1: {\n classes: {\n myLabelClass1: {\n displayName: \"myLabelClass1\",\n subclasses: {},\n },\n myLabelClass2: {\n displayName: \"myLabelClass2\",\n subclasses: {},\n },\n },\n displayName: \"myCategory1Title\",\n multiSelect: \"Disabled\",\n },\n myCategory2: {\n classes: {\n myLabelClass1: {\n displayName: \"myLabelClass1\",\n subclasses: {},\n },\n myLabelClass2: {\n displayName: \"myLabelClass2\",\n subclasses: {},\n },\n },\n displayName: \"myCategory2Title\",\n multiSelect: \"Disabled\",\n },\n },\n labelingJobMediaProperties: {\n mediaType: \"Image\",\n },\n mlAssistConfiguration: {\n inferencingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\n mlAssist: \"Enabled\",\n trainingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n },\n properties: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n tags: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n },\n resourceGroupName: \"workspace-1234\",\n workspaceName: \"testworkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nlabeling_job = azure_native.machinelearningservices.LabelingJob(\"labelingJob\",\n id=\"testLabelingJob\",\n labeling_job_properties=azure_native.machinelearningservices.LabelingJobResponseArgs(\n description=\"string\",\n job_instructions=azure_native.machinelearningservices.LabelingJobInstructionsArgs(\n uri=\"link/to/instructions\",\n ),\n job_type=\"Labeling\",\n label_categories={\n \"myCategory1\": {\n \"classes\": {\n \"myLabelClass1\": {\n \"displayName\": \"myLabelClass1\",\n \"subclasses\": {},\n },\n \"myLabelClass2\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass2\",\n subclasses={},\n ),\n },\n \"displayName\": \"myCategory1Title\",\n \"multiSelect\": \"Disabled\",\n },\n \"myCategory2\": azure_native.machinelearningservices.LabelCategoryArgs(\n classes={\n \"myLabelClass1\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass1\",\n subclasses={},\n ),\n \"myLabelClass2\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass2\",\n subclasses={},\n ),\n },\n display_name=\"myCategory2Title\",\n multi_select=\"Disabled\",\n ),\n },\n labeling_job_media_properties=azure_native.machinelearningservices.LabelingJobImagePropertiesArgs(\n media_type=\"Image\",\n ),\n ml_assist_configuration=azure_native.machinelearningservices.MLAssistConfigurationEnabledArgs(\n inferencing_compute_binding=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\n ml_assist=\"Enabled\",\n training_compute_binding=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n ),\n properties={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n tags={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n ),\n resource_group_name=\"workspace-1234\",\n workspace_name=\"testworkspace\")\n\n```\n\n```yaml\nresources:\n labelingJob:\n type: azure-native:machinelearningservices:LabelingJob\n properties:\n id: testLabelingJob\n labelingJobProperties:\n description: string\n jobInstructions:\n uri: link/to/instructions\n jobType: Labeling\n labelCategories:\n myCategory1:\n classes:\n myLabelClass1:\n displayName: myLabelClass1\n subclasses: {}\n myLabelClass2:\n displayName: myLabelClass2\n subclasses: {}\n displayName: myCategory1Title\n multiSelect: Disabled\n myCategory2:\n classes:\n myLabelClass1:\n displayName: myLabelClass1\n subclasses: {}\n myLabelClass2:\n displayName: myLabelClass2\n subclasses: {}\n displayName: myCategory2Title\n multiSelect: Disabled\n labelingJobMediaProperties:\n mediaType: Image\n mlAssistConfiguration:\n inferencingComputeBinding: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\n mlAssist: Enabled\n trainingComputeBinding: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\n properties:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n tags:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n resourceGroupName: workspace-1234\n workspaceName: testworkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:machinelearningservices:LabelingJob testLabelingJob /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id} \n```\n", + "description": "Azure Resource Manager resource envelope.\nAzure REST API version: 2023-04-01-preview. Prior API version in Azure Native 1.x: 2020-09-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrUpdate Labeling Job.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var labelingJob = new AzureNative.MachineLearningServices.LabelingJob(\"labelingJob\", new()\n {\n Id = \"testLabelingJob\",\n LabelingJobProperties = new AzureNative.MachineLearningServices.Inputs.LabelingJobArgs\n {\n Description = \"string\",\n JobInstructions = new AzureNative.MachineLearningServices.Inputs.LabelingJobInstructionsArgs\n {\n Uri = \"link/to/instructions\",\n },\n JobType = \"Labeling\",\n LabelCategories = \n {\n { \"myCategory1\", new AzureNative.MachineLearningServices.Inputs.LabelCategoryArgs\n {\n Classes = \n {\n { \"myLabelClass1\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass1\",\n Subclasses = null,\n } },\n { \"myLabelClass2\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass2\",\n Subclasses = null,\n } },\n },\n DisplayName = \"myCategory1Title\",\n MultiSelect = \"Disabled\",\n } },\n { \"myCategory2\", new AzureNative.MachineLearningServices.Inputs.LabelCategoryArgs\n {\n Classes = \n {\n { \"myLabelClass1\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass1\",\n Subclasses = null,\n } },\n { \"myLabelClass2\", new AzureNative.MachineLearningServices.Inputs.LabelClassArgs\n {\n DisplayName = \"myLabelClass2\",\n Subclasses = null,\n } },\n },\n DisplayName = \"myCategory2Title\",\n MultiSelect = \"Disabled\",\n } },\n },\n LabelingJobMediaProperties = new AzureNative.MachineLearningServices.Inputs.LabelingJobImagePropertiesArgs\n {\n MediaType = \"Image\",\n },\n MlAssistConfiguration = new AzureNative.MachineLearningServices.Inputs.MLAssistConfigurationEnabledArgs\n {\n InferencingComputeBinding = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\n MlAssist = \"Enabled\",\n TrainingComputeBinding = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n },\n Properties = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n Tags = \n {\n { \"additionalProp1\", \"string\" },\n { \"additionalProp2\", \"string\" },\n { \"additionalProp3\", \"string\" },\n },\n },\n ResourceGroupName = \"workspace-1234\",\n WorkspaceName = \"testworkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := machinelearningservices.NewLabelingJob(ctx, \"labelingJob\", \u0026machinelearningservices.LabelingJobArgs{\nId: pulumi.String(\"testLabelingJob\"),\nLabelingJobProperties: interface{}{\nDescription: pulumi.String(\"string\"),\nJobInstructions: \u0026machinelearningservices.LabelingJobInstructionsArgs{\nUri: pulumi.String(\"link/to/instructions\"),\n},\nJobType: pulumi.String(\"Labeling\"),\nLabelCategories: interface{}{\nMyCategory1: \u0026machinelearningservices.LabelCategoryArgs{\nClasses: interface{}{\nMyLabelClass1: \u0026machinelearningservices.LabelClassArgs{\nDisplayName: pulumi.String(\"myLabelClass1\"),\nSubclasses: nil,\n},\nMyLabelClass2: \u0026machinelearningservices.LabelClassArgs{\nDisplayName: pulumi.String(\"myLabelClass2\"),\nSubclasses: nil,\n},\n},\nDisplayName: pulumi.String(\"myCategory1Title\"),\nMultiSelect: pulumi.String(\"Disabled\"),\n},\nMyCategory2: \u0026machinelearningservices.LabelCategoryArgs{\nClasses: machinelearningservices.LabelClassMap{\n\"myLabelClass1\": interface{}{\nDisplayName: pulumi.String(\"myLabelClass1\"),\nSubclasses: nil,\n},\n\"myLabelClass2\": \u0026machinelearningservices.LabelClassArgs{\nDisplayName: pulumi.String(\"myLabelClass2\"),\nSubclasses: nil,\n},\n},\nDisplayName: pulumi.String(\"myCategory2Title\"),\nMultiSelect: pulumi.String(\"Disabled\"),\n},\n},\nLabelingJobMediaProperties: machinelearningservices.LabelingJobImageProperties{\nMediaType: \"Image\",\n},\nMlAssistConfiguration: machinelearningservices.MLAssistConfigurationEnabled{\nInferencingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\nMlAssist: \"Enabled\",\nTrainingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n},\nProperties: pulumi.StringMap{\n\"additionalProp1\": pulumi.String(\"string\"),\n\"additionalProp2\": pulumi.String(\"string\"),\n\"additionalProp3\": pulumi.String(\"string\"),\n},\nTags: pulumi.StringMap{\n\"additionalProp1\": pulumi.String(\"string\"),\n\"additionalProp2\": pulumi.String(\"string\"),\n\"additionalProp3\": pulumi.String(\"string\"),\n},\n},\nResourceGroupName: pulumi.String(\"workspace-1234\"),\nWorkspaceName: pulumi.String(\"testworkspace\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.machinelearningservices.LabelingJob;\nimport com.pulumi.azurenative.machinelearningservices.LabelingJobArgs;\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 labelingJob = new LabelingJob(\"labelingJob\", LabelingJobArgs.builder() \n .id(\"testLabelingJob\")\n .labelingJobProperties(Map.ofEntries(\n Map.entry(\"description\", \"string\"),\n Map.entry(\"jobInstructions\", Map.of(\"uri\", \"link/to/instructions\")),\n Map.entry(\"jobType\", \"Labeling\"),\n Map.entry(\"labelCategories\", Map.ofEntries(\n Map.entry(\"myCategory1\", Map.ofEntries(\n Map.entry(\"classes\", Map.ofEntries(\n Map.entry(\"myLabelClass1\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass1\"),\n Map.entry(\"subclasses\", )\n )),\n Map.entry(\"myLabelClass2\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass2\"),\n Map.entry(\"subclasses\", )\n ))\n )),\n Map.entry(\"displayName\", \"myCategory1Title\"),\n Map.entry(\"multiSelect\", \"Disabled\")\n )),\n Map.entry(\"myCategory2\", Map.ofEntries(\n Map.entry(\"classes\", Map.ofEntries(\n Map.entry(\"myLabelClass1\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass1\"),\n Map.entry(\"subclasses\", )\n )),\n Map.entry(\"myLabelClass2\", Map.ofEntries(\n Map.entry(\"displayName\", \"myLabelClass2\"),\n Map.entry(\"subclasses\", )\n ))\n )),\n Map.entry(\"displayName\", \"myCategory2Title\"),\n Map.entry(\"multiSelect\", \"Disabled\")\n ))\n )),\n Map.entry(\"labelingJobMediaProperties\", Map.of(\"mediaType\", \"Image\")),\n Map.entry(\"mlAssistConfiguration\", Map.ofEntries(\n Map.entry(\"inferencingComputeBinding\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\"),\n Map.entry(\"mlAssist\", \"Enabled\"),\n Map.entry(\"trainingComputeBinding\", \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\")\n )),\n Map.entry(\"properties\", Map.ofEntries(\n Map.entry(\"additionalProp1\", \"string\"),\n Map.entry(\"additionalProp2\", \"string\"),\n Map.entry(\"additionalProp3\", \"string\")\n )),\n Map.entry(\"tags\", Map.ofEntries(\n Map.entry(\"additionalProp1\", \"string\"),\n Map.entry(\"additionalProp2\", \"string\"),\n Map.entry(\"additionalProp3\", \"string\")\n ))\n ))\n .resourceGroupName(\"workspace-1234\")\n .workspaceName(\"testworkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst labelingJob = new azure_native.machinelearningservices.LabelingJob(\"labelingJob\", {\n id: \"testLabelingJob\",\n labelingJobProperties: {\n description: \"string\",\n jobInstructions: {\n uri: \"link/to/instructions\",\n },\n jobType: \"Labeling\",\n labelCategories: {\n myCategory1: {\n classes: {\n myLabelClass1: {\n displayName: \"myLabelClass1\",\n subclasses: {},\n },\n myLabelClass2: {\n displayName: \"myLabelClass2\",\n subclasses: {},\n },\n },\n displayName: \"myCategory1Title\",\n multiSelect: \"Disabled\",\n },\n myCategory2: {\n classes: {\n myLabelClass1: {\n displayName: \"myLabelClass1\",\n subclasses: {},\n },\n myLabelClass2: {\n displayName: \"myLabelClass2\",\n subclasses: {},\n },\n },\n displayName: \"myCategory2Title\",\n multiSelect: \"Disabled\",\n },\n },\n labelingJobMediaProperties: {\n mediaType: \"Image\",\n },\n mlAssistConfiguration: {\n inferencingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\n mlAssist: \"Enabled\",\n trainingComputeBinding: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n },\n properties: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n tags: {\n additionalProp1: \"string\",\n additionalProp2: \"string\",\n additionalProp3: \"string\",\n },\n },\n resourceGroupName: \"workspace-1234\",\n workspaceName: \"testworkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nlabeling_job = azure_native.machinelearningservices.LabelingJob(\"labelingJob\",\n id=\"testLabelingJob\",\n labeling_job_properties=azure_native.machinelearningservices.LabelingJobResponseArgs(\n description=\"string\",\n job_instructions=azure_native.machinelearningservices.LabelingJobInstructionsArgs(\n uri=\"link/to/instructions\",\n ),\n job_type=\"Labeling\",\n label_categories={\n \"myCategory1\": azure_native.machinelearningservices.LabelCategoryArgs(\n classes={\n \"myLabelClass1\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass1\",\n subclasses={},\n ),\n \"myLabelClass2\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass2\",\n subclasses={},\n ),\n },\n display_name=\"myCategory1Title\",\n multi_select=\"Disabled\",\n ),\n \"myCategory2\": azure_native.machinelearningservices.LabelCategoryArgs(\n classes={\n \"myLabelClass1\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass1\",\n subclasses={},\n ),\n \"myLabelClass2\": azure_native.machinelearningservices.LabelClassArgs(\n display_name=\"myLabelClass2\",\n subclasses={},\n ),\n },\n display_name=\"myCategory2Title\",\n multi_select=\"Disabled\",\n ),\n },\n labeling_job_media_properties=azure_native.machinelearningservices.LabelingJobImagePropertiesArgs(\n media_type=\"Image\",\n ),\n ml_assist_configuration=azure_native.machinelearningservices.MLAssistConfigurationEnabledArgs(\n inferencing_compute_binding=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\",\n ml_assist=\"Enabled\",\n training_compute_binding=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\",\n ),\n properties={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n tags={\n \"additionalProp1\": \"string\",\n \"additionalProp2\": \"string\",\n \"additionalProp3\": \"string\",\n },\n ),\n resource_group_name=\"workspace-1234\",\n workspace_name=\"testworkspace\")\n\n```\n\n```yaml\nresources:\n labelingJob:\n type: azure-native:machinelearningservices:LabelingJob\n properties:\n id: testLabelingJob\n labelingJobProperties:\n description: string\n jobInstructions:\n uri: link/to/instructions\n jobType: Labeling\n labelCategories:\n myCategory1:\n classes:\n myLabelClass1:\n displayName: myLabelClass1\n subclasses: {}\n myLabelClass2:\n displayName: myLabelClass2\n subclasses: {}\n displayName: myCategory1Title\n multiSelect: Disabled\n myCategory2:\n classes:\n myLabelClass1:\n displayName: myLabelClass1\n subclasses: {}\n myLabelClass2:\n displayName: myLabelClass2\n subclasses: {}\n displayName: myCategory2Title\n multiSelect: Disabled\n labelingJobMediaProperties:\n mediaType: Image\n mlAssistConfiguration:\n inferencingComputeBinding: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute\n mlAssist: Enabled\n trainingComputeBinding: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingompute\n properties:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n tags:\n additionalProp1: string\n additionalProp2: string\n additionalProp3: string\n resourceGroupName: workspace-1234\n workspaceName: testworkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:machinelearningservices:LabelingJob testLabelingJob /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id} \n```\n", "properties": { "labelingJobProperties": { "type": "object", @@ -565082,7 +565293,7 @@ ] }, "azure-native:network:LoadBalancer": { - "description": "LoadBalancer resource.\nAzure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create load balancer\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tEnableTcpReset: pulumi.Bool(false),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tEnableTcpReset: pulumi.Bool(false),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Frontend IP in Zone 1\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n Zones = new[]\n {\n \"1\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t\tZones: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\")),\n Map.entry(\"zones\", \"1\")\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n zones: [\"1\"],\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n \"zones\": [\"1\"],\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n zones:\n - '1'\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Gateway Load Balancer Consumer configured\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n GatewayLoadBalancer = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\",\n },\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tGatewayLoadBalancer: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"gatewayLoadBalancer\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\")),\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n gatewayLoadBalancer: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\",\n },\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"gatewayLoadBalancer\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\",\n ),\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - gatewayLoadBalancer:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\n name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n TunnelInterfaces = new[]\n {\n new AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceArgs\n {\n Identifier = 900,\n Port = 15000,\n Protocol = \"VXLAN\",\n Type = \"Internal\",\n },\n new AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceArgs\n {\n Identifier = 901,\n Port = 15001,\n Protocol = \"VXLAN\",\n Type = \"Internal\",\n },\n },\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n },\n BackendPort = 0,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 0,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"All\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Premium\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t\tTunnelInterfaces: network.GatewayLoadBalancerTunnelInterfaceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tIdentifier: pulumi.Int(900),\n\t\t\t\t\t\t\tPort: pulumi.Int(15000),\n\t\t\t\t\t\t\tProtocol: pulumi.String(\"VXLAN\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"Internal\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tIdentifier: pulumi.Int(901),\n\t\t\t\t\t\t\tPort: pulumi.Int(15001),\n\t\t\t\t\t\t\tProtocol: pulumi.String(\"VXLAN\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"Internal\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPools: network.SubResourceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(0),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(0),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"All\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Premium\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.ofEntries(\n Map.entry(\"name\", \"be-lb\"),\n Map.entry(\"tunnelInterfaces\", \n Map.ofEntries(\n Map.entry(\"identifier\", 900),\n Map.entry(\"port\", 15000),\n Map.entry(\"protocol\", \"VXLAN\"),\n Map.entry(\"type\", \"Internal\")\n ),\n Map.ofEntries(\n Map.entry(\"identifier\", 901),\n Map.entry(\"port\", 15001),\n Map.entry(\"protocol\", \"VXLAN\"),\n Map.entry(\"type\", \"Internal\")\n ))\n ))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPools\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 0),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 0),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"All\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Premium\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n tunnelInterfaces: [\n {\n identifier: 900,\n port: 15000,\n protocol: \"VXLAN\",\n type: \"Internal\",\n },\n {\n identifier: 901,\n port: 15001,\n protocol: \"VXLAN\",\n type: \"Internal\",\n },\n ],\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPools: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n }],\n backendPort: 0,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 0,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"All\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Premium\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[{\n \"name\": \"be-lb\",\n \"tunnelInterfaces\": [\n azure_native.network.GatewayLoadBalancerTunnelInterfaceArgs(\n identifier=900,\n port=15000,\n protocol=\"VXLAN\",\n type=\"Internal\",\n ),\n azure_native.network.GatewayLoadBalancerTunnelInterfaceArgs(\n identifier=901,\n port=15001,\n protocol=\"VXLAN\",\n type=\"Internal\",\n ),\n ],\n }],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPools\": [azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n )],\n \"backendPort\": 0,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 0,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"All\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Premium\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n tunnelInterfaces:\n - identifier: 900\n port: 15000\n protocol: VXLAN\n type: Internal\n - identifier: 901\n port: 15001\n protocol: VXLAN\n type: Internal\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPools:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 0\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 0\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: All\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Premium\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb1\",\n },\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb2\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = null,\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\",\n },\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\",\n },\n },\n BackendPort = 0,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 0,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"All\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Premium\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb1\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: nil,\n\t\t\t\t\tBackendAddressPools: network.SubResourceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(0),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(0),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"All\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Premium\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools( \n Map.of(\"name\", \"be-lb1\"),\n Map.of(\"name\", \"be-lb2\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", ),\n Map.entry(\"backendAddressPools\", \n Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\"),\n Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\")),\n Map.entry(\"backendPort\", 0),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 0),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"All\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Premium\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [\n {\n name: \"be-lb1\",\n },\n {\n name: \"be-lb2\",\n },\n ],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {},\n backendAddressPools: [\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\",\n },\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\",\n },\n ],\n backendPort: 0,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 0,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"All\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Premium\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[\n azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb1\",\n ),\n azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb2\",\n ),\n ],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(),\n \"backendAddressPools\": [\n azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\",\n ),\n azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\",\n ),\n ],\n \"backendPort\": 0,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 0,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"All\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Premium\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb1\n - name: be-lb2\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool: {}\n backendAddressPools:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\n backendPort: 0\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 0\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: All\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Premium\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Global Tier and one regional load balancer in its backend pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n LoadBalancerBackendAddresses = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancerBackendAddressArgs\n {\n LoadBalancerFrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n Name = \"regional-lb1-address\",\n },\n },\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n Tier = \"Global\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tLoadBalancerBackendAddresses: network.LoadBalancerBackendAddressArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tLoadBalancerFrontendIPConfiguration: {\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tName: pulumi.String(\"regional-lb1-address\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(false),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t\tTier: pulumi.String(\"Global\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.ofEntries(\n Map.entry(\"loadBalancerBackendAddresses\", Map.ofEntries(\n Map.entry(\"loadBalancerFrontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\")),\n Map.entry(\"name\", \"regional-lb1-address\")\n )),\n Map.entry(\"name\", \"be-lb\")\n ))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.ofEntries(\n Map.entry(\"name\", \"Standard\"),\n Map.entry(\"tier\", \"Global\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n loadBalancerBackendAddresses: [{\n loadBalancerFrontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n name: \"regional-lb1-address\",\n }],\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n tier: \"Global\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[{\n \"loadBalancerBackendAddresses\": [{\n \"loadBalancerFrontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n ),\n \"name\": \"regional-lb1-address\",\n }],\n \"name\": \"be-lb\",\n }],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n tier=\"Global\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - loadBalancerBackendAddresses:\n - loadBalancerFrontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\n name: regional-lb1-address\n name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n tier: Global\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Standard SKU\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with inbound nat pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[] {},\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n Name = \"test\",\n PrivateIPAllocationMethod = \"Dynamic\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n Zones = new[] {},\n },\n },\n InboundNatPools = new[]\n {\n new AzureNative.Network.Inputs.InboundNatPoolArgs\n {\n BackendPort = 8888,\n EnableFloatingIP = true,\n EnableTcpReset = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n FrontendPortRangeEnd = 8085,\n FrontendPortRangeStart = 8080,\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n IdleTimeoutInMinutes = 10,\n Name = \"test\",\n Protocol = \"Tcp\",\n },\n },\n InboundNatRules = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[] {},\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[] {},\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: network.BackendAddressPoolArray{},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n\t\t\t\t\tName: pulumi.String(\"test\"),\n\t\t\t\t\tPrivateIPAllocationMethod: pulumi.String(\"Dynamic\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\"),\n\t\t\t\t\t},\n\t\t\t\t\tZones: pulumi.StringArray{},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: []network.InboundNatPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(8888),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tEnableTcpReset: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPortRangeEnd: pulumi.Int(8085),\n\t\t\t\t\tFrontendPortRangeStart: pulumi.Int(8080),\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\"),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(10),\n\t\t\t\t\tName: pulumi.String(\"test\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatRules: network.InboundNatRuleTypeArray{},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: network.LoadBalancingRuleArray{},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: network.ProbeArray{},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools()\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"privateIPAllocationMethod\", \"Dynamic\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\")),\n Map.entry(\"zones\", )\n ))\n .inboundNatPools(Map.ofEntries(\n Map.entry(\"backendPort\", 8888),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\")),\n Map.entry(\"frontendPortRangeEnd\", 8085),\n Map.entry(\"frontendPortRangeStart\", 8080),\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\"),\n Map.entry(\"idleTimeoutInMinutes\", 10),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .inboundNatRules()\n .loadBalancerName(\"lb\")\n .loadBalancingRules()\n .location(\"eastus\")\n .outboundRules()\n .probes()\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [],\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n name: \"test\",\n privateIPAllocationMethod: \"Dynamic\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n zones: [],\n }],\n inboundNatPools: [{\n backendPort: 8888,\n enableFloatingIP: true,\n enableTcpReset: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n frontendPortRangeEnd: 8085,\n frontendPortRangeStart: 8080,\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n idleTimeoutInMinutes: 10,\n name: \"test\",\n protocol: \"Tcp\",\n }],\n inboundNatRules: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [],\n location: \"eastus\",\n outboundRules: [],\n probes: [],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[],\n frontend_ip_configurations=[{\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n \"name\": \"test\",\n \"privateIPAllocationMethod\": \"Dynamic\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n ),\n \"zones\": [],\n }],\n inbound_nat_pools=[{\n \"backendPort\": 8888,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n ),\n \"frontendPortRangeEnd\": 8085,\n \"frontendPortRangeStart\": 8080,\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n \"idleTimeoutInMinutes\": 10,\n \"name\": \"test\",\n \"protocol\": \"Tcp\",\n }],\n inbound_nat_rules=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[],\n location=\"eastus\",\n outbound_rules=[],\n probes=[],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools: []\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n name: test\n privateIPAllocationMethod: Dynamic\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\n zones: []\n inboundNatPools:\n - backendPort: 8888\n enableFloatingIP: true\n enableTcpReset: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n frontendPortRangeEnd: 8085\n frontendPortRangeStart: 8080\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\n idleTimeoutInMinutes: 10\n name: test\n protocol: Tcp\n inboundNatRules: []\n loadBalancerName: lb\n loadBalancingRules: []\n location: eastus\n outboundRules: []\n probes: []\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with outbound rules\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n PublicIPAddress = new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n DisableOutboundSnat = true,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[]\n {\n new AzureNative.Network.Inputs.OutboundRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n },\n Name = \"rule1\",\n Protocol = \"All\",\n },\n },\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tPublicIPAddress: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tDisableOutboundSnat: pulumi.Bool(true),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: []network.OutboundRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendIPConfigurations: network.SubResourceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"rule1\"),\n\t\t\t\t\tProtocol: pulumi.String(\"All\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"disableOutboundSnat\", true),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"frontendIPConfigurations\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"name\", \"rule1\"),\n Map.entry(\"protocol\", \"All\")\n ))\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n disableOutboundSnat: true,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n }],\n name: \"rule1\",\n protocol: \"All\",\n }],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"publicIPAddress\": azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"disableOutboundSnat\": True,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"frontendIPConfigurations\": [azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n )],\n \"name\": \"rule1\",\n \"protocol\": \"All\",\n }],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n disableOutboundSnat: true\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n name: rule1\n protocol: All\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:LoadBalancer lb /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName} \n```\n", + "description": "LoadBalancer resource.\nAzure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create load balancer\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n EnableTcpReset = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tEnableTcpReset: pulumi.Bool(false),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tEnableTcpReset: pulumi.Bool(false),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n enableTcpReset: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n enableTcpReset: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Frontend IP in Zone 1\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n Zones = new[]\n {\n \"1\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t\tZones: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\")),\n Map.entry(\"zones\", \"1\")\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n zones: [\"1\"],\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n \"zones\": [\"1\"],\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n zones:\n - '1'\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Gateway Load Balancer Consumer configured\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n GatewayLoadBalancer = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\",\n },\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tGatewayLoadBalancer: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"gatewayLoadBalancer\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\")),\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n gatewayLoadBalancer: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\",\n },\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"gatewayLoadBalancer\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\",\n ),\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - gatewayLoadBalancer:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider\n name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n TunnelInterfaces = new[]\n {\n new AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceArgs\n {\n Identifier = 900,\n Port = 15000,\n Protocol = \"VXLAN\",\n Type = \"Internal\",\n },\n new AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceArgs\n {\n Identifier = 901,\n Port = 15001,\n Protocol = \"VXLAN\",\n Type = \"Internal\",\n },\n },\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n },\n BackendPort = 0,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 0,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"All\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Premium\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t\tTunnelInterfaces: network.GatewayLoadBalancerTunnelInterfaceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tIdentifier: pulumi.Int(900),\n\t\t\t\t\t\t\tPort: pulumi.Int(15000),\n\t\t\t\t\t\t\tProtocol: pulumi.String(\"VXLAN\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"Internal\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tIdentifier: pulumi.Int(901),\n\t\t\t\t\t\t\tPort: pulumi.Int(15001),\n\t\t\t\t\t\t\tProtocol: pulumi.String(\"VXLAN\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"Internal\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPools: network.SubResourceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(0),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(0),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"All\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Premium\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.ofEntries(\n Map.entry(\"name\", \"be-lb\"),\n Map.entry(\"tunnelInterfaces\", \n Map.ofEntries(\n Map.entry(\"identifier\", 900),\n Map.entry(\"port\", 15000),\n Map.entry(\"protocol\", \"VXLAN\"),\n Map.entry(\"type\", \"Internal\")\n ),\n Map.ofEntries(\n Map.entry(\"identifier\", 901),\n Map.entry(\"port\", 15001),\n Map.entry(\"protocol\", \"VXLAN\"),\n Map.entry(\"type\", \"Internal\")\n ))\n ))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPools\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 0),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 0),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"All\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Premium\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n tunnelInterfaces: [\n {\n identifier: 900,\n port: 15000,\n protocol: \"VXLAN\",\n type: \"Internal\",\n },\n {\n identifier: 901,\n port: 15001,\n protocol: \"VXLAN\",\n type: \"Internal\",\n },\n ],\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPools: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n }],\n backendPort: 0,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 0,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"All\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Premium\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[{\n \"name\": \"be-lb\",\n \"tunnelInterfaces\": [\n azure_native.network.GatewayLoadBalancerTunnelInterfaceArgs(\n identifier=900,\n port=15000,\n protocol=\"VXLAN\",\n type=\"Internal\",\n ),\n azure_native.network.GatewayLoadBalancerTunnelInterfaceArgs(\n identifier=901,\n port=15001,\n protocol=\"VXLAN\",\n type=\"Internal\",\n ),\n ],\n }],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPools\": [azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n )],\n \"backendPort\": 0,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 0,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"All\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Premium\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n tunnelInterfaces:\n - identifier: 900\n port: 15000\n protocol: VXLAN\n type: Internal\n - identifier: 901\n port: 15001\n protocol: VXLAN\n type: Internal\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPools:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 0\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 0\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: All\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Premium\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb1\",\n },\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb2\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = null,\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\",\n },\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\",\n },\n },\n BackendPort = 0,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 0,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"All\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Premium\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb1\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: nil,\n\t\t\t\t\tBackendAddressPools: network.SubResourceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(0),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(0),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"All\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Premium\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools( \n Map.of(\"name\", \"be-lb1\"),\n Map.of(\"name\", \"be-lb2\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", ),\n Map.entry(\"backendAddressPools\", \n Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\"),\n Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\")),\n Map.entry(\"backendPort\", 0),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 0),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"All\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Premium\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [\n {\n name: \"be-lb1\",\n },\n {\n name: \"be-lb2\",\n },\n ],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {},\n backendAddressPools: [\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\",\n },\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\",\n },\n ],\n backendPort: 0,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 0,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"All\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Premium\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[\n azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb1\",\n ),\n azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb2\",\n ),\n ],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(),\n \"backendAddressPools\": [\n azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\",\n ),\n azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\",\n ),\n ],\n \"backendPort\": 0,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 0,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"All\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Premium\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb1\n - name: be-lb2\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool: {}\n backendAddressPools:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2\n backendPort: 0\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 0\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: All\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Premium\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Global Tier and one regional load balancer in its backend pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n LoadBalancerBackendAddresses = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancerBackendAddressArgs\n {\n LoadBalancerFrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n Name = \"regional-lb1-address\",\n },\n },\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = false,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n Tier = \"Global\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tLoadBalancerBackendAddresses: network.LoadBalancerBackendAddressArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tLoadBalancerFrontendIPConfiguration: {\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tName: pulumi.String(\"regional-lb1-address\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(false),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t\tTier: pulumi.String(\"Global\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.ofEntries(\n Map.entry(\"loadBalancerBackendAddresses\", Map.ofEntries(\n Map.entry(\"loadBalancerFrontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\")),\n Map.entry(\"name\", \"regional-lb1-address\")\n )),\n Map.entry(\"name\", \"be-lb\")\n ))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", false),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.ofEntries(\n Map.entry(\"name\", \"Standard\"),\n Map.entry(\"tier\", \"Global\")\n ))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n loadBalancerBackendAddresses: [{\n loadBalancerFrontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n },\n name: \"regional-lb1-address\",\n }],\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: false,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n tier: \"Global\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[{\n \"loadBalancerBackendAddresses\": [{\n \"loadBalancerFrontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\",\n ),\n \"name\": \"regional-lb1-address\",\n }],\n \"name\": \"be-lb\",\n }],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": False,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n tier=\"Global\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - loadBalancerBackendAddresses:\n - loadBalancerFrontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb\n name: regional-lb1-address\n name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: false\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n tier: Global\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with Standard SKU\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules()\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[{\n \"name\": \"fe-lb\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\",\n ),\n }],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules: []\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with inbound nat pool\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[] {},\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n Name = \"test\",\n PrivateIPAllocationMethod = \"Dynamic\",\n Subnet = new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n Zones = new[] {},\n },\n },\n InboundNatPools = new[]\n {\n new AzureNative.Network.Inputs.InboundNatPoolArgs\n {\n BackendPort = 8888,\n EnableFloatingIP = true,\n EnableTcpReset = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n FrontendPortRangeEnd = 8085,\n FrontendPortRangeStart = 8080,\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n IdleTimeoutInMinutes = 10,\n Name = \"test\",\n Protocol = \"Tcp\",\n },\n },\n InboundNatRules = new[] {},\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[] {},\n Location = \"eastus\",\n OutboundRules = new[] {},\n Probes = new[] {},\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: network.BackendAddressPoolArray{},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n\t\t\t\t\tName: pulumi.String(\"test\"),\n\t\t\t\t\tPrivateIPAllocationMethod: pulumi.String(\"Dynamic\"),\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\"),\n\t\t\t\t\t},\n\t\t\t\t\tZones: pulumi.StringArray{},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: []network.InboundNatPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(8888),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tEnableTcpReset: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPortRangeEnd: pulumi.Int(8085),\n\t\t\t\t\tFrontendPortRangeStart: pulumi.Int(8080),\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\"),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(10),\n\t\t\t\t\tName: pulumi.String(\"test\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatRules: network.InboundNatRuleTypeArray{},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: network.LoadBalancingRuleArray{},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: network.OutboundRuleArray{},\n\t\t\tProbes: network.ProbeArray{},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools()\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\"),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"privateIPAllocationMethod\", \"Dynamic\"),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\")),\n Map.entry(\"zones\", )\n ))\n .inboundNatPools(Map.ofEntries(\n Map.entry(\"backendPort\", 8888),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"enableTcpReset\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\")),\n Map.entry(\"frontendPortRangeEnd\", 8085),\n Map.entry(\"frontendPortRangeStart\", 8080),\n Map.entry(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\"),\n Map.entry(\"idleTimeoutInMinutes\", 10),\n Map.entry(\"name\", \"test\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .inboundNatRules()\n .loadBalancerName(\"lb\")\n .loadBalancingRules()\n .location(\"eastus\")\n .outboundRules()\n .probes()\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [],\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n name: \"test\",\n privateIPAllocationMethod: \"Dynamic\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n },\n zones: [],\n }],\n inboundNatPools: [{\n backendPort: 8888,\n enableFloatingIP: true,\n enableTcpReset: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n },\n frontendPortRangeEnd: 8085,\n frontendPortRangeStart: 8080,\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n idleTimeoutInMinutes: 10,\n name: \"test\",\n protocol: \"Tcp\",\n }],\n inboundNatRules: [],\n loadBalancerName: \"lb\",\n loadBalancingRules: [],\n location: \"eastus\",\n outboundRules: [],\n probes: [],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[],\n frontend_ip_configurations=[{\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n \"name\": \"test\",\n \"privateIPAllocationMethod\": \"Dynamic\",\n \"subnet\": azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\",\n ),\n \"zones\": [],\n }],\n inbound_nat_pools=[{\n \"backendPort\": 8888,\n \"enableFloatingIP\": True,\n \"enableTcpReset\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\",\n ),\n \"frontendPortRangeEnd\": 8085,\n \"frontendPortRangeStart\": 8080,\n \"id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\",\n \"idleTimeoutInMinutes\": 10,\n \"name\": \"test\",\n \"protocol\": \"Tcp\",\n }],\n inbound_nat_rules=[],\n load_balancer_name=\"lb\",\n load_balancing_rules=[],\n location=\"eastus\",\n outbound_rules=[],\n probes=[],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools: []\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n name: test\n privateIPAllocationMethod: Dynamic\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet\n zones: []\n inboundNatPools:\n - backendPort: 8888\n enableFloatingIP: true\n enableTcpReset: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test\n frontendPortRangeEnd: 8085\n frontendPortRangeStart: 8080\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test\n idleTimeoutInMinutes: 10\n name: test\n protocol: Tcp\n inboundNatRules: []\n loadBalancerName: lb\n loadBalancingRules: []\n location: eastus\n outboundRules: []\n probes: []\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create load balancer with outbound rules\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var loadBalancer = new AzureNative.Network.LoadBalancer(\"loadBalancer\", new()\n {\n BackendAddressPools = new[]\n {\n new AzureNative.Network.Inputs.BackendAddressPoolArgs\n {\n Name = \"be-lb\",\n },\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.FrontendIPConfigurationArgs\n {\n Name = \"fe-lb\",\n PublicIPAddress = new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n },\n },\n InboundNatPools = new[] {},\n InboundNatRules = new[]\n {\n new AzureNative.Network.Inputs.InboundNatRuleArgs\n {\n BackendPort = 3389,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 3389,\n IdleTimeoutInMinutes = 15,\n Name = \"in-nat-rule\",\n Protocol = \"Tcp\",\n },\n },\n LoadBalancerName = \"lb\",\n LoadBalancingRules = new[]\n {\n new AzureNative.Network.Inputs.LoadBalancingRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n BackendPort = 80,\n DisableOutboundSnat = true,\n EnableFloatingIP = true,\n FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n FrontendPort = 80,\n IdleTimeoutInMinutes = 15,\n LoadDistribution = \"Default\",\n Name = \"rulelb\",\n Probe = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n Protocol = \"Tcp\",\n },\n },\n Location = \"eastus\",\n OutboundRules = new[]\n {\n new AzureNative.Network.Inputs.OutboundRuleArgs\n {\n BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n FrontendIPConfigurations = new[]\n {\n new AzureNative.Network.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n },\n Name = \"rule1\",\n Protocol = \"All\",\n },\n },\n Probes = new[]\n {\n new AzureNative.Network.Inputs.ProbeArgs\n {\n IntervalInSeconds = 15,\n Name = \"probe-lb\",\n NumberOfProbes = 2,\n Port = 80,\n ProbeThreshold = 1,\n Protocol = \"Http\",\n RequestPath = \"healthcheck.aspx\",\n },\n },\n ResourceGroupName = \"rg1\",\n Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewLoadBalancer(ctx, \"loadBalancer\", \u0026network.LoadBalancerArgs{\n\t\t\tBackendAddressPools: []network.BackendAddressPoolArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"be-lb\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: []network.FrontendIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"fe-lb\"),\n\t\t\t\t\tPublicIPAddress: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tInboundNatPools: network.InboundNatPoolArray{},\n\t\t\tInboundNatRules: []network.InboundNatRuleTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendPort: pulumi.Int(3389),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(3389),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"in-nat-rule\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLoadBalancerName: pulumi.String(\"lb\"),\n\t\t\tLoadBalancingRules: []network.LoadBalancingRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendPort: pulumi.Int(80),\n\t\t\t\t\tDisableOutboundSnat: pulumi.Bool(true),\n\t\t\t\t\tEnableFloatingIP: pulumi.Bool(true),\n\t\t\t\t\tFrontendIPConfiguration: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: pulumi.Int(80),\n\t\t\t\t\tIdleTimeoutInMinutes: pulumi.Int(15),\n\t\t\t\t\tLoadDistribution: pulumi.String(\"Default\"),\n\t\t\t\t\tName: pulumi.String(\"rulelb\"),\n\t\t\t\t\tProbe: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tProtocol: pulumi.String(\"Tcp\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tOutboundRules: []network.OutboundRuleArgs{\n\t\t\t\t{\n\t\t\t\t\tBackendAddressPool: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendIPConfigurations: network.SubResourceArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"rule1\"),\n\t\t\t\t\tProtocol: pulumi.String(\"All\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProbes: []network.ProbeArgs{\n\t\t\t\t{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(15),\n\t\t\t\t\tName: pulumi.String(\"probe-lb\"),\n\t\t\t\t\tNumberOfProbes: pulumi.Int(2),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProbeThreshold: pulumi.Int(1),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestPath: pulumi.String(\"healthcheck.aspx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSku: \u0026network.LoadBalancerSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.LoadBalancer;\nimport com.pulumi.azurenative.network.LoadBalancerArgs;\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 loadBalancer = new LoadBalancer(\"loadBalancer\", LoadBalancerArgs.builder() \n .backendAddressPools(Map.of(\"name\", \"be-lb\"))\n .frontendIPConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"fe-lb\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\"))\n ))\n .inboundNatPools()\n .inboundNatRules(Map.ofEntries(\n Map.entry(\"backendPort\", 3389),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 3389),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"name\", \"in-nat-rule\"),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .loadBalancerName(\"lb\")\n .loadBalancingRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"backendPort\", 80),\n Map.entry(\"disableOutboundSnat\", true),\n Map.entry(\"enableFloatingIP\", true),\n Map.entry(\"frontendIPConfiguration\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"frontendPort\", 80),\n Map.entry(\"idleTimeoutInMinutes\", 15),\n Map.entry(\"loadDistribution\", \"Default\"),\n Map.entry(\"name\", \"rulelb\"),\n Map.entry(\"probe\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\")),\n Map.entry(\"protocol\", \"Tcp\")\n ))\n .location(\"eastus\")\n .outboundRules(Map.ofEntries(\n Map.entry(\"backendAddressPool\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\")),\n Map.entry(\"frontendIPConfigurations\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\")),\n Map.entry(\"name\", \"rule1\"),\n Map.entry(\"protocol\", \"All\")\n ))\n .probes(Map.ofEntries(\n Map.entry(\"intervalInSeconds\", 15),\n Map.entry(\"name\", \"probe-lb\"),\n Map.entry(\"numberOfProbes\", 2),\n Map.entry(\"port\", 80),\n Map.entry(\"probeThreshold\", 1),\n Map.entry(\"protocol\", \"Http\"),\n Map.entry(\"requestPath\", \"healthcheck.aspx\")\n ))\n .resourceGroupName(\"rg1\")\n .sku(Map.of(\"name\", \"Standard\"))\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst loadBalancer = new azure_native.network.LoadBalancer(\"loadBalancer\", {\n backendAddressPools: [{\n name: \"be-lb\",\n }],\n frontendIPConfigurations: [{\n name: \"fe-lb\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n },\n }],\n inboundNatPools: [],\n inboundNatRules: [{\n backendPort: 3389,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 3389,\n idleTimeoutInMinutes: 15,\n name: \"in-nat-rule\",\n protocol: \"Tcp\",\n }],\n loadBalancerName: \"lb\",\n loadBalancingRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n backendPort: 80,\n disableOutboundSnat: true,\n enableFloatingIP: true,\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n },\n frontendPort: 80,\n idleTimeoutInMinutes: 15,\n loadDistribution: \"Default\",\n name: \"rulelb\",\n probe: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n },\n protocol: \"Tcp\",\n }],\n location: \"eastus\",\n outboundRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n },\n frontendIPConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n }],\n name: \"rule1\",\n protocol: \"All\",\n }],\n probes: [{\n intervalInSeconds: 15,\n name: \"probe-lb\",\n numberOfProbes: 2,\n port: 80,\n probeThreshold: 1,\n protocol: \"Http\",\n requestPath: \"healthcheck.aspx\",\n }],\n resourceGroupName: \"rg1\",\n sku: {\n name: \"Standard\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nload_balancer = azure_native.network.LoadBalancer(\"loadBalancer\",\n backend_address_pools=[azure_native.network.BackendAddressPoolArgs(\n name=\"be-lb\",\n )],\n frontend_ip_configurations=[azure_native.network.FrontendIPConfigurationArgs(\n name=\"fe-lb\",\n public_ip_address=azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\",\n ),\n )],\n inbound_nat_pools=[],\n inbound_nat_rules=[{\n \"backendPort\": 3389,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 3389,\n \"idleTimeoutInMinutes\": 15,\n \"name\": \"in-nat-rule\",\n \"protocol\": \"Tcp\",\n }],\n load_balancer_name=\"lb\",\n load_balancing_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"backendPort\": 80,\n \"disableOutboundSnat\": True,\n \"enableFloatingIP\": True,\n \"frontendIPConfiguration\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n ),\n \"frontendPort\": 80,\n \"idleTimeoutInMinutes\": 15,\n \"loadDistribution\": \"Default\",\n \"name\": \"rulelb\",\n \"probe\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\",\n ),\n \"protocol\": \"Tcp\",\n }],\n location=\"eastus\",\n outbound_rules=[{\n \"backendAddressPool\": azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\",\n ),\n \"frontendIPConfigurations\": [azure_native.network.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\",\n )],\n \"name\": \"rule1\",\n \"protocol\": \"All\",\n }],\n probes=[azure_native.network.ProbeArgs(\n interval_in_seconds=15,\n name=\"probe-lb\",\n number_of_probes=2,\n port=80,\n probe_threshold=1,\n protocol=\"Http\",\n request_path=\"healthcheck.aspx\",\n )],\n resource_group_name=\"rg1\",\n sku=azure_native.network.LoadBalancerSkuArgs(\n name=\"Standard\",\n ))\n\n```\n\n```yaml\nresources:\n loadBalancer:\n type: azure-native:network:LoadBalancer\n properties:\n backendAddressPools:\n - name: be-lb\n frontendIPConfigurations:\n - name: fe-lb\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip\n inboundNatPools: []\n inboundNatRules:\n - backendPort: 3389\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 3389\n idleTimeoutInMinutes: 15\n name: in-nat-rule\n protocol: Tcp\n loadBalancerName: lb\n loadBalancingRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n backendPort: 80\n disableOutboundSnat: true\n enableFloatingIP: true\n frontendIPConfiguration:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n frontendPort: 80\n idleTimeoutInMinutes: 15\n loadDistribution: Default\n name: rulelb\n probe:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb\n protocol: Tcp\n location: eastus\n outboundRules:\n - backendAddressPool:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb\n frontendIPConfigurations:\n - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb\n name: rule1\n protocol: All\n probes:\n - intervalInSeconds: 15\n name: probe-lb\n numberOfProbes: 2\n port: 80\n probeThreshold: 1\n protocol: Http\n requestPath: healthcheck.aspx\n resourceGroupName: rg1\n sku:\n name: Standard\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:LoadBalancer lb /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName} \n```\n", "properties": { "backendAddressPools": { "type": "array", @@ -567178,7 +567389,7 @@ ] }, "azure-native:network:NetworkManager": { - "description": "The Managed Network resource\nAzure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Put Network Manager\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkManager = new AzureNative.Network.NetworkManager(\"networkManager\", new()\n {\n Description = \"My Test Network Manager\",\n NetworkManagerName = \"TestNetworkManager\",\n NetworkManagerScopeAccesses = new[]\n {\n \"Connectivity\",\n },\n NetworkManagerScopes = new AzureNative.Network.Inputs.NetworkManagerPropertiesNetworkManagerScopesArgs\n {\n ManagementGroups = new[]\n {\n \"/Microsoft.Management/testmg\",\n },\n Subscriptions = new[]\n {\n \"/subscriptions/00000000-0000-0000-0000-000000000000\",\n },\n },\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewNetworkManager(ctx, \"networkManager\", \u0026network.NetworkManagerArgs{\n\t\t\tDescription: pulumi.String(\"My Test Network Manager\"),\n\t\t\tNetworkManagerName: pulumi.String(\"TestNetworkManager\"),\n\t\t\tNetworkManagerScopeAccesses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Connectivity\"),\n\t\t\t},\n\t\t\tNetworkManagerScopes: \u0026network.NetworkManagerPropertiesNetworkManagerScopesArgs{\n\t\t\t\tManagementGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"/Microsoft.Management/testmg\"),\n\t\t\t\t},\n\t\t\t\tSubscriptions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.NetworkManager;\nimport com.pulumi.azurenative.network.NetworkManagerArgs;\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 networkManager = new NetworkManager(\"networkManager\", NetworkManagerArgs.builder() \n .description(\"My Test Network Manager\")\n .networkManagerName(\"TestNetworkManager\")\n .networkManagerScopeAccesses(\"Connectivity\")\n .networkManagerScopes(Map.ofEntries(\n Map.entry(\"managementGroups\", \"/Microsoft.Management/testmg\"),\n Map.entry(\"subscriptions\", \"/subscriptions/00000000-0000-0000-0000-000000000000\")\n ))\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst networkManager = new azure_native.network.NetworkManager(\"networkManager\", {\n description: \"My Test Network Manager\",\n networkManagerName: \"TestNetworkManager\",\n networkManagerScopeAccesses: [\"Connectivity\"],\n networkManagerScopes: {\n managementGroups: [\"/Microsoft.Management/testmg\"],\n subscriptions: [\"/subscriptions/00000000-0000-0000-0000-000000000000\"],\n },\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_manager = azure_native.network.NetworkManager(\"networkManager\",\n description=\"My Test Network Manager\",\n network_manager_name=\"TestNetworkManager\",\n network_manager_scope_accesses=[\"Connectivity\"],\n network_manager_scopes=azure_native.network.NetworkManagerPropertiesNetworkManagerScopesArgs(\n management_groups=[\"/Microsoft.Management/testmg\"],\n subscriptions=[\"/subscriptions/00000000-0000-0000-0000-000000000000\"],\n ),\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n networkManager:\n type: azure-native:network:NetworkManager\n properties:\n description: My Test Network Manager\n networkManagerName: TestNetworkManager\n networkManagerScopeAccesses:\n - Connectivity\n networkManagerScopes:\n managementGroups:\n - /Microsoft.Management/testmg\n subscriptions:\n - /subscriptions/00000000-0000-0000-0000-000000000000\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:NetworkManager TestNetworkManager /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName} \n```\n", + "description": "The Managed Network resource\nAzure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Put Network Manager\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkManager = new AzureNative.Network.NetworkManager(\"networkManager\", new()\n {\n Description = \"My Test Network Manager\",\n NetworkManagerName = \"TestNetworkManager\",\n NetworkManagerScopeAccesses = new[]\n {\n \"Connectivity\",\n },\n NetworkManagerScopes = new AzureNative.Network.Inputs.NetworkManagerPropertiesNetworkManagerScopesArgs\n {\n ManagementGroups = new[]\n {\n \"/providers/Microsoft.Management/managementGroups/sampleMG\",\n },\n Subscriptions = new[]\n {\n \"/subscriptions/00000000-0000-0000-0000-000000000000\",\n },\n },\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/network/v2\"\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 := network.NewNetworkManager(ctx, \"networkManager\", \u0026network.NetworkManagerArgs{\n\t\t\tDescription: pulumi.String(\"My Test Network Manager\"),\n\t\t\tNetworkManagerName: pulumi.String(\"TestNetworkManager\"),\n\t\t\tNetworkManagerScopeAccesses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Connectivity\"),\n\t\t\t},\n\t\t\tNetworkManagerScopes: \u0026network.NetworkManagerPropertiesNetworkManagerScopesArgs{\n\t\t\t\tManagementGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"/providers/Microsoft.Management/managementGroups/sampleMG\"),\n\t\t\t\t},\n\t\t\t\tSubscriptions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"/subscriptions/00000000-0000-0000-0000-000000000000\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.NetworkManager;\nimport com.pulumi.azurenative.network.NetworkManagerArgs;\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 networkManager = new NetworkManager(\"networkManager\", NetworkManagerArgs.builder() \n .description(\"My Test Network Manager\")\n .networkManagerName(\"TestNetworkManager\")\n .networkManagerScopeAccesses(\"Connectivity\")\n .networkManagerScopes(Map.ofEntries(\n Map.entry(\"managementGroups\", \"/providers/Microsoft.Management/managementGroups/sampleMG\"),\n Map.entry(\"subscriptions\", \"/subscriptions/00000000-0000-0000-0000-000000000000\")\n ))\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst networkManager = new azure_native.network.NetworkManager(\"networkManager\", {\n description: \"My Test Network Manager\",\n networkManagerName: \"TestNetworkManager\",\n networkManagerScopeAccesses: [\"Connectivity\"],\n networkManagerScopes: {\n managementGroups: [\"/providers/Microsoft.Management/managementGroups/sampleMG\"],\n subscriptions: [\"/subscriptions/00000000-0000-0000-0000-000000000000\"],\n },\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_manager = azure_native.network.NetworkManager(\"networkManager\",\n description=\"My Test Network Manager\",\n network_manager_name=\"TestNetworkManager\",\n network_manager_scope_accesses=[\"Connectivity\"],\n network_manager_scopes=azure_native.network.NetworkManagerPropertiesNetworkManagerScopesArgs(\n management_groups=[\"/providers/Microsoft.Management/managementGroups/sampleMG\"],\n subscriptions=[\"/subscriptions/00000000-0000-0000-0000-000000000000\"],\n ),\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n networkManager:\n type: azure-native:network:NetworkManager\n properties:\n description: My Test Network Manager\n networkManagerName: TestNetworkManager\n networkManagerScopeAccesses:\n - Connectivity\n networkManagerScopes:\n managementGroups:\n - /providers/Microsoft.Management/managementGroups/sampleMG\n subscriptions:\n - /subscriptions/00000000-0000-0000-0000-000000000000\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:NetworkManager TestNetworkManager /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName} \n```\n", "properties": { "description": { "type": "string", @@ -595883,7 +596094,7 @@ ] }, "azure-native:recoveryservices:ReplicationRecoveryPlan": { - "description": "Recovery plan details.\nAzure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2018-07-10\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates a recovery plan with the given details.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var replicationRecoveryPlan = new AzureNative.RecoveryServices.ReplicationRecoveryPlan(\"replicationRecoveryPlan\", new()\n {\n Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs\n {\n FailoverDeploymentModel = \"ResourceManager\",\n Groups = new[]\n {\n new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs\n {\n EndGroupActions = new[] {},\n GroupType = \"Boot\",\n ReplicationProtectedItems = new[]\n {\n new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs\n {\n Id = \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\",\n VirtualMachineId = \"f8491e4f-817a-40dd-a90c-af773978c75b\",\n },\n },\n StartGroupActions = new[] {},\n },\n },\n PrimaryFabricId = \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\",\n RecoveryFabricId = \"Microsoft Azure\",\n },\n RecoveryPlanName = \"RPtest1\",\n ResourceGroupName = \"resourceGroupPS1\",\n ResourceName = \"vault1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v2\"\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 := recoveryservices.NewReplicationRecoveryPlan(ctx, \"replicationRecoveryPlan\", \u0026recoveryservices.ReplicationRecoveryPlanArgs{\n\t\t\tProperties: recoveryservices.RecoveryPlanPropertiesResponse{\n\t\t\t\tFailoverDeploymentModel: pulumi.String(\"ResourceManager\"),\n\t\t\t\tGroups: []recoveryservices.RecoveryPlanGroupArgs{\n\t\t\t\t\t{\n\t\t\t\t\t\tEndGroupActions: recoveryservices.RecoveryPlanActionArray{},\n\t\t\t\t\t\tGroupType: pulumi.String(\"Boot\"),\n\t\t\t\t\t\tReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\"),\n\t\t\t\t\t\t\t\tVirtualMachineId: pulumi.String(\"f8491e4f-817a-40dd-a90c-af773978c75b\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tStartGroupActions: recoveryservices.RecoveryPlanActionArray{},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPrimaryFabricId: pulumi.String(\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\"),\n\t\t\t\tRecoveryFabricId: pulumi.String(\"Microsoft Azure\"),\n\t\t\t},\n\t\t\tRecoveryPlanName: pulumi.String(\"RPtest1\"),\n\t\t\tResourceGroupName: pulumi.String(\"resourceGroupPS1\"),\n\t\t\tResourceName: pulumi.String(\"vault1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlan;\nimport com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlanArgs;\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 replicationRecoveryPlan = new ReplicationRecoveryPlan(\"replicationRecoveryPlan\", ReplicationRecoveryPlanArgs.builder() \n .properties(Map.ofEntries(\n Map.entry(\"failoverDeploymentModel\", \"ResourceManager\"),\n Map.entry(\"groups\", Map.ofEntries(\n Map.entry(\"endGroupActions\", ),\n Map.entry(\"groupType\", \"Boot\"),\n Map.entry(\"replicationProtectedItems\", Map.ofEntries(\n Map.entry(\"id\", \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\"),\n Map.entry(\"virtualMachineId\", \"f8491e4f-817a-40dd-a90c-af773978c75b\")\n )),\n Map.entry(\"startGroupActions\", )\n )),\n Map.entry(\"primaryFabricId\", \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\"),\n Map.entry(\"recoveryFabricId\", \"Microsoft Azure\")\n ))\n .recoveryPlanName(\"RPtest1\")\n .resourceGroupName(\"resourceGroupPS1\")\n .resourceName(\"vault1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst replicationRecoveryPlan = new azure_native.recoveryservices.ReplicationRecoveryPlan(\"replicationRecoveryPlan\", {\n properties: {\n failoverDeploymentModel: \"ResourceManager\",\n groups: [{\n endGroupActions: [],\n groupType: \"Boot\",\n replicationProtectedItems: [{\n id: \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\",\n virtualMachineId: \"f8491e4f-817a-40dd-a90c-af773978c75b\",\n }],\n startGroupActions: [],\n }],\n primaryFabricId: \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\",\n recoveryFabricId: \"Microsoft Azure\",\n },\n recoveryPlanName: \"RPtest1\",\n resourceGroupName: \"resourceGroupPS1\",\n resourceName: \"vault1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nreplication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan(\"replicationRecoveryPlan\",\n properties=azure_native.recoveryservices.RecoveryPlanPropertiesResponseArgs(\n failover_deployment_model=\"ResourceManager\",\n groups=[azure_native.recoveryservices.RecoveryPlanGroupArgs(\n end_group_actions=[],\n group_type=\"Boot\",\n replication_protected_items=[azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(\n id=\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\",\n virtual_machine_id=\"f8491e4f-817a-40dd-a90c-af773978c75b\",\n )],\n start_group_actions=[],\n )],\n primary_fabric_id=\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\",\n recovery_fabric_id=\"Microsoft Azure\",\n ),\n recovery_plan_name=\"RPtest1\",\n resource_group_name=\"resourceGroupPS1\",\n resource_name_=\"vault1\")\n\n```\n\n```yaml\nresources:\n replicationRecoveryPlan:\n type: azure-native:recoveryservices:ReplicationRecoveryPlan\n properties:\n properties:\n failoverDeploymentModel: ResourceManager\n groups:\n - endGroupActions: []\n groupType: Boot\n replicationProtectedItems:\n - id: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\n virtualMachineId: f8491e4f-817a-40dd-a90c-af773978c75b\n startGroupActions: []\n primaryFabricId: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\n recoveryFabricId: Microsoft Azure\n recoveryPlanName: RPtest1\n resourceGroupName: resourceGroupPS1\n resourceName: vault1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:recoveryservices:ReplicationRecoveryPlan RPtest1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName} \n```\n", + "description": "Recovery plan details.\nAzure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2018-07-10\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates a recovery plan with the given details.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var replicationRecoveryPlan = new AzureNative.RecoveryServices.ReplicationRecoveryPlan(\"replicationRecoveryPlan\", new()\n {\n Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs\n {\n FailoverDeploymentModel = \"ResourceManager\",\n Groups = new[]\n {\n new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs\n {\n EndGroupActions = new[] {},\n GroupType = \"Boot\",\n ReplicationProtectedItems = new[]\n {\n new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs\n {\n Id = \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\",\n VirtualMachineId = \"f8491e4f-817a-40dd-a90c-af773978c75b\",\n },\n },\n StartGroupActions = new[] {},\n },\n },\n PrimaryFabricId = \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\",\n RecoveryFabricId = \"Microsoft Azure\",\n },\n RecoveryPlanName = \"RPtest1\",\n ResourceGroupName = \"resourceGroupPS1\",\n ResourceName = \"vault1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v2\"\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 := recoveryservices.NewReplicationRecoveryPlan(ctx, \"replicationRecoveryPlan\", \u0026recoveryservices.ReplicationRecoveryPlanArgs{\n\t\t\tProperties: recoveryservices.RecoveryPlanPropertiesResponse{\n\t\t\t\tFailoverDeploymentModel: pulumi.String(\"ResourceManager\"),\n\t\t\t\tGroups: []recoveryservices.RecoveryPlanGroupArgs{\n\t\t\t\t\t{\n\t\t\t\t\t\tEndGroupActions: recoveryservices.RecoveryPlanActionArray{},\n\t\t\t\t\t\tGroupType: pulumi.String(\"Boot\"),\n\t\t\t\t\t\tReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\"),\n\t\t\t\t\t\t\t\tVirtualMachineId: pulumi.String(\"f8491e4f-817a-40dd-a90c-af773978c75b\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tStartGroupActions: recoveryservices.RecoveryPlanActionArray{},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPrimaryFabricId: pulumi.String(\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\"),\n\t\t\t\tRecoveryFabricId: pulumi.String(\"Microsoft Azure\"),\n\t\t\t},\n\t\t\tRecoveryPlanName: pulumi.String(\"RPtest1\"),\n\t\t\tResourceGroupName: pulumi.String(\"resourceGroupPS1\"),\n\t\t\tResourceName: pulumi.String(\"vault1\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlan;\nimport com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlanArgs;\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 replicationRecoveryPlan = new ReplicationRecoveryPlan(\"replicationRecoveryPlan\", ReplicationRecoveryPlanArgs.builder() \n .properties(Map.ofEntries(\n Map.entry(\"failoverDeploymentModel\", \"ResourceManager\"),\n Map.entry(\"groups\", Map.ofEntries(\n Map.entry(\"endGroupActions\", ),\n Map.entry(\"groupType\", \"Boot\"),\n Map.entry(\"replicationProtectedItems\", Map.ofEntries(\n Map.entry(\"id\", \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\"),\n Map.entry(\"virtualMachineId\", \"f8491e4f-817a-40dd-a90c-af773978c75b\")\n )),\n Map.entry(\"startGroupActions\", )\n )),\n Map.entry(\"primaryFabricId\", \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\"),\n Map.entry(\"recoveryFabricId\", \"Microsoft Azure\")\n ))\n .recoveryPlanName(\"RPtest1\")\n .resourceGroupName(\"resourceGroupPS1\")\n .resourceName(\"vault1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst replicationRecoveryPlan = new azure_native.recoveryservices.ReplicationRecoveryPlan(\"replicationRecoveryPlan\", {\n properties: {\n failoverDeploymentModel: \"ResourceManager\",\n groups: [{\n endGroupActions: [],\n groupType: \"Boot\",\n replicationProtectedItems: [{\n id: \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\",\n virtualMachineId: \"f8491e4f-817a-40dd-a90c-af773978c75b\",\n }],\n startGroupActions: [],\n }],\n primaryFabricId: \"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\",\n recoveryFabricId: \"Microsoft Azure\",\n },\n recoveryPlanName: \"RPtest1\",\n resourceGroupName: \"resourceGroupPS1\",\n resourceName: \"vault1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nreplication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan(\"replicationRecoveryPlan\",\n properties=azure_native.recoveryservices.RecoveryPlanPropertiesResponseArgs(\n failover_deployment_model=\"ResourceManager\",\n groups=[{\n \"endGroupActions\": [],\n \"groupType\": \"Boot\",\n \"replicationProtectedItems\": [azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(\n id=\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\",\n virtual_machine_id=\"f8491e4f-817a-40dd-a90c-af773978c75b\",\n )],\n \"startGroupActions\": [],\n }],\n primary_fabric_id=\"/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\",\n recovery_fabric_id=\"Microsoft Azure\",\n ),\n recovery_plan_name=\"RPtest1\",\n resource_group_name=\"resourceGroupPS1\",\n resource_name_=\"vault1\")\n\n```\n\n```yaml\nresources:\n replicationRecoveryPlan:\n type: azure-native:recoveryservices:ReplicationRecoveryPlan\n properties:\n properties:\n failoverDeploymentModel: ResourceManager\n groups:\n - endGroupActions: []\n groupType: Boot\n replicationProtectedItems:\n - id: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b\n virtualMachineId: f8491e4f-817a-40dd-a90c-af773978c75b\n startGroupActions: []\n primaryFabricId: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1\n recoveryFabricId: Microsoft Azure\n recoveryPlanName: RPtest1\n resourceGroupName: resourceGroupPS1\n resourceName: vault1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:recoveryservices:ReplicationRecoveryPlan RPtest1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName} \n```\n", "properties": { "location": { "type": "string", @@ -596717,6 +596928,9 @@ }, { "type": "azure-native:recoveryservices/v20230401:Vault" + }, + { + "type": "azure-native:recoveryservices/v20230601:Vault" } ] }, @@ -607560,6 +607774,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:AADDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:AADDataConnector" } ] }, @@ -607719,6 +607936,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:AATPDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:AATPDataConnector" } ] }, @@ -607878,6 +608098,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:ASCDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:ASCDataConnector" } ] }, @@ -608032,6 +608255,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Action" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Action" } ] }, @@ -608270,6 +608496,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" + }, + { + "type": "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery" } ] }, @@ -608401,6 +608630,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Anomalies" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Anomalies" } ] }, @@ -608670,6 +608902,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" + }, + { + "type": "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings" } ] }, @@ -608895,6 +609130,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:AutomationRule" + }, + { + "type": "azure-native:securityinsights/v20230901preview:AutomationRule" } ] }, @@ -609054,6 +609292,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" } ] }, @@ -609300,6 +609541,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Bookmark" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Bookmark" } ] }, @@ -609442,6 +609686,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:BookmarkRelation" + }, + { + "type": "azure-native:securityinsights/v20230901preview:BookmarkRelation" } ] }, @@ -609740,6 +609987,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:ContentPackage" + }, + { + "type": "azure-native:securityinsights/v20230901preview:ContentPackage" } ] }, @@ -610056,6 +610306,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:ContentTemplate" + }, + { + "type": "azure-native:securityinsights/v20230901preview:ContentTemplate" } ] }, @@ -610163,6 +610416,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition" + }, + { + "type": "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition" } ] }, @@ -610310,6 +610566,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:EntityAnalytics" + }, + { + "type": "azure-native:securityinsights/v20230901preview:EntityAnalytics" } ] }, @@ -610441,6 +610700,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:EyesOn" + }, + { + "type": "azure-native:securityinsights/v20230901preview:EyesOn" } ] }, @@ -610630,6 +610892,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:FileImport" + }, + { + "type": "azure-native:securityinsights/v20230901preview:FileImport" } ] }, @@ -610827,6 +611092,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:FusionAlertRule" + }, + { + "type": "azure-native:securityinsights/v20230901preview:FusionAlertRule" } ] }, @@ -611006,6 +611274,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Hunt" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Hunt" } ] }, @@ -611088,6 +611359,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:HuntComment" + }, + { + "type": "azure-native:securityinsights/v20230901preview:HuntComment" } ] }, @@ -611199,6 +611473,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:HuntRelation" + }, + { + "type": "azure-native:securityinsights/v20230901preview:HuntRelation" } ] }, @@ -611507,6 +611784,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Incident" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Incident" } ] }, @@ -611668,6 +611948,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:IncidentComment" + }, + { + "type": "azure-native:securityinsights/v20230901preview:IncidentComment" } ] }, @@ -611828,6 +612111,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:IncidentRelation" + }, + { + "type": "azure-native:securityinsights/v20230901preview:IncidentRelation" } ] }, @@ -611972,6 +612258,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:IncidentTask" + }, + { + "type": "azure-native:securityinsights/v20230901preview:IncidentTask" } ] }, @@ -612131,6 +612420,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:MCASDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:MCASDataConnector" } ] }, @@ -612290,6 +612582,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:MDATPDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:MDATPDataConnector" } ] }, @@ -612600,6 +612895,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Metadata" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Metadata" } ] }, @@ -612848,6 +613146,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" + }, + { + "type": "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule" } ] }, @@ -613007,6 +613308,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:OfficeDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:OfficeDataConnector" } ] }, @@ -613379,6 +613683,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" + }, + { + "type": "azure-native:securityinsights/v20230901preview:ScheduledAlertRule" } ] }, @@ -613510,6 +613817,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" + }, + { + "type": "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" } ] }, @@ -613888,6 +614198,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:TIDataConnector" + }, + { + "type": "azure-native:securityinsights/v20230901preview:TIDataConnector" } ] }, @@ -614168,6 +614481,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" + }, + { + "type": "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" } ] }, @@ -614315,6 +614631,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Ueba" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Ueba" } ] }, @@ -614624,6 +614943,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:Watchlist" + }, + { + "type": "azure-native:securityinsights/v20230901preview:Watchlist" } ] }, @@ -614840,6 +615162,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:WatchlistItem" + }, + { + "type": "azure-native:securityinsights/v20230901preview:WatchlistItem" } ] }, @@ -614945,6 +615270,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" + }, + { + "type": "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment" } ] }, @@ -615029,6 +615357,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" + }, + { + "type": "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration" } ] }, @@ -615130,11 +615461,14 @@ }, { "type": "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" + }, + { + "type": "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup" } ] }, "azure-native:securityinsights:WorkspaceManagerMember": { - "description": "The workspace manager member\nAzure REST API version: 2023-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update a workspace manager member\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var workspaceManagerMember = new AzureNative.SecurityInsights.WorkspaceManagerMember(\"workspaceManagerMember\", new()\n {\n ResourceGroupName = \"myRg\",\n TargetWorkspaceId = \"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\",\n TargetWorkspaceTenantId = \"f676d436-8d16-42db-81b7-ab578e110ccd\",\n WorkspaceManagerMemberName = \"afbd324f-6c48-459c-8710-8d1e1cd03812\",\n WorkspaceName = \"myWorkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2\"\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 := securityinsights.NewWorkspaceManagerMember(ctx, \"workspaceManagerMember\", \u0026securityinsights.WorkspaceManagerMemberArgs{\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tTargetWorkspaceId: pulumi.String(\"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\"),\n\t\t\tTargetWorkspaceTenantId: pulumi.String(\"f676d436-8d16-42db-81b7-ab578e110ccd\"),\n\t\t\tWorkspaceManagerMemberName: pulumi.String(\"afbd324f-6c48-459c-8710-8d1e1cd03812\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.securityinsights.WorkspaceManagerMember;\nimport com.pulumi.azurenative.securityinsights.WorkspaceManagerMemberArgs;\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 workspaceManagerMember = new WorkspaceManagerMember(\"workspaceManagerMember\", WorkspaceManagerMemberArgs.builder() \n .resourceGroupName(\"myRg\")\n .targetWorkspaceId(\"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\")\n .targetWorkspaceTenantId(\"f676d436-8d16-42db-81b7-ab578e110ccd\")\n .workspaceManagerMemberName(\"afbd324f-6c48-459c-8710-8d1e1cd03812\")\n .workspaceName(\"myWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst workspaceManagerMember = new azure_native.securityinsights.WorkspaceManagerMember(\"workspaceManagerMember\", {\n resourceGroupName: \"myRg\",\n targetWorkspaceId: \"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\",\n targetWorkspaceTenantId: \"f676d436-8d16-42db-81b7-ab578e110ccd\",\n workspaceManagerMemberName: \"afbd324f-6c48-459c-8710-8d1e1cd03812\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nworkspace_manager_member = azure_native.securityinsights.WorkspaceManagerMember(\"workspaceManagerMember\",\n resource_group_name=\"myRg\",\n target_workspace_id=\"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\",\n target_workspace_tenant_id=\"f676d436-8d16-42db-81b7-ab578e110ccd\",\n workspace_manager_member_name=\"afbd324f-6c48-459c-8710-8d1e1cd03812\",\n workspace_name=\"myWorkspace\")\n\n```\n\n```yaml\nresources:\n workspaceManagerMember:\n type: azure-native:securityinsights:WorkspaceManagerMember\n properties:\n resourceGroupName: myRg\n targetWorkspaceId: /subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\n targetWorkspaceTenantId: f676d436-8d16-42db-81b7-ab578e110ccd\n workspaceManagerMemberName: afbd324f-6c48-459c-8710-8d1e1cd03812\n workspaceName: myWorkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:securityinsights:WorkspaceManagerMember afbd324f-6c48-459c-8710-8d1e1cd03812 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerMembers/{workspaceManagerMemberName} \n```\n", + "description": "The workspace manager member\nAzure REST API version: 2023-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update a workspace manager member\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var workspaceManagerMember = new AzureNative.SecurityInsights.WorkspaceManagerMember(\"workspaceManagerMember\", new()\n {\n ResourceGroupName = \"myRg\",\n TargetWorkspaceResourceId = \"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\",\n TargetWorkspaceTenantId = \"f676d436-8d16-42db-81b7-ab578e110ccd\",\n WorkspaceManagerMemberName = \"afbd324f-6c48-459c-8710-8d1e1cd03812\",\n WorkspaceName = \"myWorkspace\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2\"\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 := securityinsights.NewWorkspaceManagerMember(ctx, \"workspaceManagerMember\", \u0026securityinsights.WorkspaceManagerMemberArgs{\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tTargetWorkspaceResourceId: pulumi.String(\"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\"),\n\t\t\tTargetWorkspaceTenantId: pulumi.String(\"f676d436-8d16-42db-81b7-ab578e110ccd\"),\n\t\t\tWorkspaceManagerMemberName: pulumi.String(\"afbd324f-6c48-459c-8710-8d1e1cd03812\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.securityinsights.WorkspaceManagerMember;\nimport com.pulumi.azurenative.securityinsights.WorkspaceManagerMemberArgs;\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 workspaceManagerMember = new WorkspaceManagerMember(\"workspaceManagerMember\", WorkspaceManagerMemberArgs.builder() \n .resourceGroupName(\"myRg\")\n .targetWorkspaceResourceId(\"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\")\n .targetWorkspaceTenantId(\"f676d436-8d16-42db-81b7-ab578e110ccd\")\n .workspaceManagerMemberName(\"afbd324f-6c48-459c-8710-8d1e1cd03812\")\n .workspaceName(\"myWorkspace\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst workspaceManagerMember = new azure_native.securityinsights.WorkspaceManagerMember(\"workspaceManagerMember\", {\n resourceGroupName: \"myRg\",\n targetWorkspaceResourceId: \"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\",\n targetWorkspaceTenantId: \"f676d436-8d16-42db-81b7-ab578e110ccd\",\n workspaceManagerMemberName: \"afbd324f-6c48-459c-8710-8d1e1cd03812\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nworkspace_manager_member = azure_native.securityinsights.WorkspaceManagerMember(\"workspaceManagerMember\",\n resource_group_name=\"myRg\",\n target_workspace_resource_id=\"/subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\",\n target_workspace_tenant_id=\"f676d436-8d16-42db-81b7-ab578e110ccd\",\n workspace_manager_member_name=\"afbd324f-6c48-459c-8710-8d1e1cd03812\",\n workspace_name=\"myWorkspace\")\n\n```\n\n```yaml\nresources:\n workspaceManagerMember:\n type: azure-native:securityinsights:WorkspaceManagerMember\n properties:\n resourceGroupName: myRg\n targetWorkspaceResourceId: /subscriptions/7aef9d48-814f-45ad-b644-b0343316e174/resourceGroups/otherRg/providers/Microsoft.OperationalInsights/workspaces/Example_Workspace\n targetWorkspaceTenantId: f676d436-8d16-42db-81b7-ab578e110ccd\n workspaceManagerMemberName: afbd324f-6c48-459c-8710-8d1e1cd03812\n workspaceName: myWorkspace\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:securityinsights:WorkspaceManagerMember afbd324f-6c48-459c-8710-8d1e1cd03812 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/workspaceManagerMembers/{workspaceManagerMemberName} \n```\n", "properties": { "etag": { "type": "string", @@ -615149,7 +615483,7 @@ "$ref": "#/types/azure-native:securityinsights:SystemDataResponse", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." }, - "targetWorkspaceId": { + "targetWorkspaceResourceId": { "type": "string", "description": "Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager" }, @@ -615167,7 +615501,7 @@ "etag", "name", "systemData", - "targetWorkspaceId", + "targetWorkspaceResourceId", "targetWorkspaceTenantId", "type" ], @@ -615177,7 +615511,7 @@ "description": "The name of the resource group. The name is case insensitive.", "willReplaceOnChanges": true }, - "targetWorkspaceId": { + "targetWorkspaceResourceId": { "type": "string", "description": "Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager" }, @@ -615198,7 +615532,7 @@ }, "requiredInputs": [ "resourceGroupName", - "targetWorkspaceId", + "targetWorkspaceResourceId", "targetWorkspaceTenantId", "workspaceName" ], @@ -615217,6 +615551,9 @@ }, { "type": "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" + }, + { + "type": "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember" } ] }, @@ -634211,6 +634548,131 @@ } ] }, + "azure-native:storageactions:StorageTask": { + "description": "Represents Storage Task.\nAzure REST API version: 2023-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutStorageTask\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var storageTask = new AzureNative.StorageActions.StorageTask(\"storageTask\", new()\n {\n Action = new AzureNative.StorageActions.Inputs.StorageTaskActionArgs\n {\n Else = new AzureNative.StorageActions.Inputs.ElseConditionArgs\n {\n Operations = new[]\n {\n new AzureNative.StorageActions.Inputs.StorageTaskOperationArgs\n {\n Name = \"DeleteBlob\",\n OnFailure = AzureNative.StorageActions.OnFailure.@Break,\n OnSuccess = AzureNative.StorageActions.OnSuccess.@Continue,\n },\n },\n },\n If = new AzureNative.StorageActions.Inputs.IfConditionArgs\n {\n Condition = \"[[equals(AccessTier, 'Cool')]]\",\n Operations = new[]\n {\n new AzureNative.StorageActions.Inputs.StorageTaskOperationArgs\n {\n Name = \"SetBlobTier\",\n OnFailure = AzureNative.StorageActions.OnFailure.@Break,\n OnSuccess = AzureNative.StorageActions.OnSuccess.@Continue,\n Parameters = \n {\n { \"tier\", \"Hot\" },\n },\n },\n },\n },\n },\n Description = \"My Storage task\",\n Enabled = true,\n Location = \"westus\",\n ResourceGroupName = \"res4228\",\n StorageTaskName = \"mytask1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/storageactions/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := storageactions.NewStorageTask(ctx, \"storageTask\", \u0026storageactions.StorageTaskArgs{\nAction: storageactions.StorageTaskActionResponse{\nElse: interface{}{\nOperations: storageactions.StorageTaskOperationArray{\n\u0026storageactions.StorageTaskOperationArgs{\nName: pulumi.String(\"DeleteBlob\"),\nOnFailure: storageactions.OnFailureBreak,\nOnSuccess: storageactions.OnSuccessContinue,\n},\n},\n},\nIf: interface{}{\nCondition: pulumi.String(\"[[equals(AccessTier, 'Cool')]]\"),\nOperations: storageactions.StorageTaskOperationArray{\n\u0026storageactions.StorageTaskOperationArgs{\nName: pulumi.String(\"SetBlobTier\"),\nOnFailure: storageactions.OnFailureBreak,\nOnSuccess: storageactions.OnSuccessContinue,\nParameters: pulumi.StringMap{\n\"tier\": pulumi.String(\"Hot\"),\n},\n},\n},\n},\n},\nDescription: pulumi.String(\"My Storage task\"),\nEnabled: pulumi.Bool(true),\nLocation: pulumi.String(\"westus\"),\nResourceGroupName: pulumi.String(\"res4228\"),\nStorageTaskName: pulumi.String(\"mytask1\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.storageactions.StorageTask;\nimport com.pulumi.azurenative.storageactions.StorageTaskArgs;\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 storageTask = new StorageTask(\"storageTask\", StorageTaskArgs.builder() \n .action(Map.ofEntries(\n Map.entry(\"else\", Map.of(\"operations\", Map.ofEntries(\n Map.entry(\"name\", \"DeleteBlob\"),\n Map.entry(\"onFailure\", \"break\"),\n Map.entry(\"onSuccess\", \"continue\")\n ))),\n Map.entry(\"if\", Map.ofEntries(\n Map.entry(\"condition\", \"[[equals(AccessTier, 'Cool')]]\"),\n Map.entry(\"operations\", Map.ofEntries(\n Map.entry(\"name\", \"SetBlobTier\"),\n Map.entry(\"onFailure\", \"break\"),\n Map.entry(\"onSuccess\", \"continue\"),\n Map.entry(\"parameters\", Map.of(\"tier\", \"Hot\"))\n ))\n ))\n ))\n .description(\"My Storage task\")\n .enabled(true)\n .location(\"westus\")\n .resourceGroupName(\"res4228\")\n .storageTaskName(\"mytask1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst storageTask = new azure_native.storageactions.StorageTask(\"storageTask\", {\n action: {\n \"else\": {\n operations: [{\n name: \"DeleteBlob\",\n onFailure: azure_native.storageactions.OnFailure.Break,\n onSuccess: azure_native.storageactions.OnSuccess.Continue,\n }],\n },\n \"if\": {\n condition: \"[[equals(AccessTier, 'Cool')]]\",\n operations: [{\n name: \"SetBlobTier\",\n onFailure: azure_native.storageactions.OnFailure.Break,\n onSuccess: azure_native.storageactions.OnSuccess.Continue,\n parameters: {\n tier: \"Hot\",\n },\n }],\n },\n },\n description: \"My Storage task\",\n enabled: true,\n location: \"westus\",\n resourceGroupName: \"res4228\",\n storageTaskName: \"mytask1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nstorage_task = azure_native.storageactions.StorageTask(\"storageTask\",\n action=azure_native.storageactions.StorageTaskActionResponseArgs(\n else_={\n \"operations\": [azure_native.storageactions.StorageTaskOperationArgs(\n name=\"DeleteBlob\",\n on_failure=azure_native.storageactions.OnFailure.BREAK_,\n on_success=azure_native.storageactions.OnSuccess.CONTINUE_,\n )],\n },\n if_={\n \"condition\": \"[[equals(AccessTier, 'Cool')]]\",\n \"operations\": [azure_native.storageactions.StorageTaskOperationArgs(\n name=\"SetBlobTier\",\n on_failure=azure_native.storageactions.OnFailure.BREAK_,\n on_success=azure_native.storageactions.OnSuccess.CONTINUE_,\n parameters={\n \"tier\": \"Hot\",\n },\n )],\n },\n ),\n description=\"My Storage task\",\n enabled=True,\n location=\"westus\",\n resource_group_name=\"res4228\",\n storage_task_name=\"mytask1\")\n\n```\n\n```yaml\nresources:\n storageTask:\n type: azure-native:storageactions:StorageTask\n properties:\n action:\n else:\n operations:\n - name: DeleteBlob\n onFailure: break\n onSuccess: continue\n if:\n condition: '[[equals(AccessTier, ''Cool'')]]'\n operations:\n - name: SetBlobTier\n onFailure: break\n onSuccess: continue\n parameters:\n tier: Hot\n description: My Storage task\n enabled: true\n location: westus\n resourceGroupName: res4228\n storageTaskName: mytask1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:storageactions:StorageTask mytask1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName} \n```\n", + "properties": { + "action": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskActionResponse", + "description": "The storage task action that is executed" + }, + "creationTimeInUtc": { + "type": "string", + "description": "The creation date and time of the storage task in UTC." + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task" + }, + "enabled": { + "type": "boolean", + "description": "Storage Task is enabled when set to true and disabled when set to false" + }, + "identity": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:ManagedServiceIdentityResponse", + "description": "The managed service identity of the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "Represents the provisioning state of the storage task." + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:SystemDataResponse", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "taskVersion": { + "type": "number", + "description": "Storage task version." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "action", + "creationTimeInUtc", + "description", + "enabled", + "location", + "name", + "provisioningState", + "systemData", + "taskVersion", + "type" + ], + "inputProperties": { + "action": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskAction", + "description": "The storage task action that is executed" + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task" + }, + "enabled": { + "type": "boolean", + "description": "Storage Task is enabled when set to true and disabled when set to false" + }, + "identity": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:ManagedServiceIdentity", + "description": "The managed service identity of the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "storageTaskName": { + "type": "string", + "description": "The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.", + "willReplaceOnChanges": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "requiredInputs": [ + "action", + "description", + "enabled", + "resourceGroupName" + ], + "aliases": [ + { + "type": "azure-native:storageactions/v20230101:StorageTask" + } + ] + }, "azure-native:storagecache:AmlFilesystem": { "description": "An AML file system instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md\nAzure REST API version: 2023-05-01.\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:storagecache:AmlFilesystem fs1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName} \n```\n", "properties": { @@ -636662,131 +637124,6 @@ } ] }, - "azure-native:storagetasks:StorageTask": { - "description": "Represents Storage Task.\nAzure REST API version: 2023-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutStorageTask\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var storageTask = new AzureNative.StorageTasks.StorageTask(\"storageTask\", new()\n {\n Action = new AzureNative.StorageTasks.Inputs.StorageTaskActionArgs\n {\n Else = new AzureNative.StorageTasks.Inputs.ElseConditionArgs\n {\n Operations = new[]\n {\n new AzureNative.StorageTasks.Inputs.StorageTaskOperationArgs\n {\n Name = \"DeleteBlob\",\n OnFailure = AzureNative.StorageTasks.OnFailure.@Break,\n OnSuccess = AzureNative.StorageTasks.OnSuccess.@Continue,\n },\n },\n },\n If = new AzureNative.StorageTasks.Inputs.IfConditionArgs\n {\n Condition = \"[[equals(AccessTier, 'Cool')]]\",\n Operations = new[]\n {\n new AzureNative.StorageTasks.Inputs.StorageTaskOperationArgs\n {\n Name = \"SetBlobTier\",\n OnFailure = AzureNative.StorageTasks.OnFailure.@Break,\n OnSuccess = AzureNative.StorageTasks.OnSuccess.@Continue,\n Parameters = \n {\n { \"tier\", \"Hot\" },\n },\n },\n },\n },\n },\n Description = \"My Storage task\",\n Enabled = true,\n Location = \"westus\",\n ResourceGroupName = \"res4228\",\n StorageTaskName = \"mytask1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/storagetasks/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := storagetasks.NewStorageTask(ctx, \"storageTask\", \u0026storagetasks.StorageTaskArgs{\nAction: storagetasks.StorageTaskActionResponse{\nElse: interface{}{\nOperations: storagetasks.StorageTaskOperationArray{\n\u0026storagetasks.StorageTaskOperationArgs{\nName: pulumi.String(\"DeleteBlob\"),\nOnFailure: storagetasks.OnFailureBreak,\nOnSuccess: storagetasks.OnSuccessContinue,\n},\n},\n},\nIf: interface{}{\nCondition: pulumi.String(\"[[equals(AccessTier, 'Cool')]]\"),\nOperations: storagetasks.StorageTaskOperationArray{\n\u0026storagetasks.StorageTaskOperationArgs{\nName: pulumi.String(\"SetBlobTier\"),\nOnFailure: storagetasks.OnFailureBreak,\nOnSuccess: storagetasks.OnSuccessContinue,\nParameters: pulumi.StringMap{\n\"tier\": pulumi.String(\"Hot\"),\n},\n},\n},\n},\n},\nDescription: pulumi.String(\"My Storage task\"),\nEnabled: pulumi.Bool(true),\nLocation: pulumi.String(\"westus\"),\nResourceGroupName: pulumi.String(\"res4228\"),\nStorageTaskName: pulumi.String(\"mytask1\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.storagetasks.StorageTask;\nimport com.pulumi.azurenative.storagetasks.StorageTaskArgs;\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 storageTask = new StorageTask(\"storageTask\", StorageTaskArgs.builder() \n .action(Map.ofEntries(\n Map.entry(\"else\", Map.of(\"operations\", Map.ofEntries(\n Map.entry(\"name\", \"DeleteBlob\"),\n Map.entry(\"onFailure\", \"break\"),\n Map.entry(\"onSuccess\", \"continue\")\n ))),\n Map.entry(\"if\", Map.ofEntries(\n Map.entry(\"condition\", \"[[equals(AccessTier, 'Cool')]]\"),\n Map.entry(\"operations\", Map.ofEntries(\n Map.entry(\"name\", \"SetBlobTier\"),\n Map.entry(\"onFailure\", \"break\"),\n Map.entry(\"onSuccess\", \"continue\"),\n Map.entry(\"parameters\", Map.of(\"tier\", \"Hot\"))\n ))\n ))\n ))\n .description(\"My Storage task\")\n .enabled(true)\n .location(\"westus\")\n .resourceGroupName(\"res4228\")\n .storageTaskName(\"mytask1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst storageTask = new azure_native.storagetasks.StorageTask(\"storageTask\", {\n action: {\n \"else\": {\n operations: [{\n name: \"DeleteBlob\",\n onFailure: azure_native.storagetasks.OnFailure.Break,\n onSuccess: azure_native.storagetasks.OnSuccess.Continue,\n }],\n },\n \"if\": {\n condition: \"[[equals(AccessTier, 'Cool')]]\",\n operations: [{\n name: \"SetBlobTier\",\n onFailure: azure_native.storagetasks.OnFailure.Break,\n onSuccess: azure_native.storagetasks.OnSuccess.Continue,\n parameters: {\n tier: \"Hot\",\n },\n }],\n },\n },\n description: \"My Storage task\",\n enabled: true,\n location: \"westus\",\n resourceGroupName: \"res4228\",\n storageTaskName: \"mytask1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nstorage_task = azure_native.storagetasks.StorageTask(\"storageTask\",\n action=azure_native.storagetasks.StorageTaskActionResponseArgs(\n else_={\n \"operations\": [azure_native.storagetasks.StorageTaskOperationArgs(\n name=\"DeleteBlob\",\n on_failure=azure_native.storagetasks.OnFailure.BREAK_,\n on_success=azure_native.storagetasks.OnSuccess.CONTINUE_,\n )],\n },\n if_={\n \"condition\": \"[[equals(AccessTier, 'Cool')]]\",\n \"operations\": [azure_native.storagetasks.StorageTaskOperationArgs(\n name=\"SetBlobTier\",\n on_failure=azure_native.storagetasks.OnFailure.BREAK_,\n on_success=azure_native.storagetasks.OnSuccess.CONTINUE_,\n parameters={\n \"tier\": \"Hot\",\n },\n )],\n },\n ),\n description=\"My Storage task\",\n enabled=True,\n location=\"westus\",\n resource_group_name=\"res4228\",\n storage_task_name=\"mytask1\")\n\n```\n\n```yaml\nresources:\n storageTask:\n type: azure-native:storagetasks:StorageTask\n properties:\n action:\n else:\n operations:\n - name: DeleteBlob\n onFailure: break\n onSuccess: continue\n if:\n condition: '[[equals(AccessTier, ''Cool'')]]'\n operations:\n - name: SetBlobTier\n onFailure: break\n onSuccess: continue\n parameters:\n tier: Hot\n description: My Storage task\n enabled: true\n location: westus\n resourceGroupName: res4228\n storageTaskName: mytask1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:storagetasks:StorageTask mytask1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageTasks/storageTasks/{storageTaskName} \n```\n", - "properties": { - "action": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskActionResponse", - "description": "The storage task action that is executed" - }, - "creationTimeInUtc": { - "type": "string", - "description": "The creation date and time of the storage task in UTC." - }, - "description": { - "type": "string", - "description": "Text that describes the purpose of the storage task" - }, - "enabled": { - "type": "boolean", - "description": "Storage Task is enabled when set to true and disabled when set to false" - }, - "identity": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:ManagedServiceIdentityResponse", - "description": "The managed service identity of the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "provisioningState": { - "type": "string", - "description": "Represents the provisioning state of the storage task." - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "taskVersion": { - "type": "number", - "description": "Storage task version." - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "action", - "creationTimeInUtc", - "description", - "enabled", - "location", - "name", - "provisioningState", - "systemData", - "taskVersion", - "type" - ], - "inputProperties": { - "action": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskAction", - "description": "The storage task action that is executed" - }, - "description": { - "type": "string", - "description": "Text that describes the purpose of the storage task" - }, - "enabled": { - "type": "boolean", - "description": "Storage Task is enabled when set to true and disabled when set to false" - }, - "identity": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:ManagedServiceIdentity", - "description": "The managed service identity of the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group. The name is case insensitive.", - "willReplaceOnChanges": true - }, - "storageTaskName": { - "type": "string", - "description": "The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.", - "willReplaceOnChanges": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "requiredInputs": [ - "action", - "description", - "enabled", - "resourceGroupName" - ], - "aliases": [ - { - "type": "azure-native:storagetasks/v20230101:StorageTask" - } - ] - }, "azure-native:storsimple:AccessControlRecord": { "description": "The access control record.\nAzure REST API version: 2017-06-01. Prior API version in Azure Native 1.x: 2017-06-01\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### AccessControlRecordsCreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var accessControlRecord = new AzureNative.StorSimple.AccessControlRecord(\"accessControlRecord\", new()\n {\n AccessControlRecordName = \"ACRForTest\",\n InitiatorName = \"iqn.2017-06.com.contoso:ForTest\",\n ManagerName = \"ManagerForSDKTest1\",\n ResourceGroupName = \"ResourceGroupForSDKTest\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure-native-sdk/storsimple/v2\"\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 := storsimple.NewAccessControlRecord(ctx, \"accessControlRecord\", \u0026storsimple.AccessControlRecordArgs{\n\t\t\tAccessControlRecordName: pulumi.String(\"ACRForTest\"),\n\t\t\tInitiatorName: pulumi.String(\"iqn.2017-06.com.contoso:ForTest\"),\n\t\t\tManagerName: pulumi.String(\"ManagerForSDKTest1\"),\n\t\t\tResourceGroupName: pulumi.String(\"ResourceGroupForSDKTest\"),\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```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.storsimple.AccessControlRecord;\nimport com.pulumi.azurenative.storsimple.AccessControlRecordArgs;\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 accessControlRecord = new AccessControlRecord(\"accessControlRecord\", AccessControlRecordArgs.builder() \n .accessControlRecordName(\"ACRForTest\")\n .initiatorName(\"iqn.2017-06.com.contoso:ForTest\")\n .managerName(\"ManagerForSDKTest1\")\n .resourceGroupName(\"ResourceGroupForSDKTest\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst accessControlRecord = new azure_native.storsimple.AccessControlRecord(\"accessControlRecord\", {\n accessControlRecordName: \"ACRForTest\",\n initiatorName: \"iqn.2017-06.com.contoso:ForTest\",\n managerName: \"ManagerForSDKTest1\",\n resourceGroupName: \"ResourceGroupForSDKTest\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\naccess_control_record = azure_native.storsimple.AccessControlRecord(\"accessControlRecord\",\n access_control_record_name=\"ACRForTest\",\n initiator_name=\"iqn.2017-06.com.contoso:ForTest\",\n manager_name=\"ManagerForSDKTest1\",\n resource_group_name=\"ResourceGroupForSDKTest\")\n\n```\n\n```yaml\nresources:\n accessControlRecord:\n type: azure-native:storsimple:AccessControlRecord\n properties:\n accessControlRecordName: ACRForTest\n initiatorName: iqn.2017-06.com.contoso:ForTest\n managerName: ManagerForSDKTest1\n resourceGroupName: ResourceGroupForSDKTest\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:storsimple:AccessControlRecord ACRForTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/accessControlRecords/{accessControlRecordName} \n```\n", "properties": { @@ -683476,7 +683813,8 @@ }, "taskSlotsPerNode": { "type": "integer", - "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256." + "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.", + "default": 1 }, "type": { "type": "string", @@ -687330,6 +687668,80 @@ ] } }, + "azure-native:cdn:getKeyGroup": { + "description": "Gets an existing KeyGroup within a profile.\nAzure REST API version: 2023-07-01-preview.", + "inputs": { + "properties": { + "keyGroupName": { + "type": "string", + "description": "Name of the KeyGroup under the profile.", + "willReplaceOnChanges": true + }, + "profileName": { + "type": "string", + "description": "Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "Name of the Resource group within the Azure subscription.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "keyGroupName", + "profileName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Contains a list of references of UrlSigningKey type secret objects.", + "properties": { + "deploymentStatus": { + "type": "string" + }, + "id": { + "type": "string", + "description": "Resource ID." + }, + "keyReferences": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:cdn:ResourceReferenceResponse" + }, + "description": "Names of UrlSigningKey type secret objects" + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning status" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:cdn:SystemDataResponse", + "description": "Read only system data" + }, + "type": { + "type": "string", + "description": "Resource type." + } + }, + "type": "object", + "required": [ + "deploymentStatus", + "id", + "name", + "provisioningState", + "systemData", + "type" + ] + } + }, "azure-native:cdn:getOrigin": { "description": "Gets an existing origin within an endpoint.\nAzure REST API version: 2023-05-01.", "inputs": { @@ -695919,107 +696331,6 @@ ] } }, - "azure-native:containerregistry:getBuildLogLink": { - "description": "Gets a link to download the build logs.\nAzure REST API version: 2018-02-01-preview.", - "inputs": { - "properties": { - "buildId": { - "type": "string", - "description": "The build ID.", - "willReplaceOnChanges": true - }, - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "buildId", - "registryName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "The result of get log link operation.", - "properties": { - "logLink": { - "type": "string", - "description": "The link to logs for a azure container registry build." - } - }, - "type": "object" - } - }, - "azure-native:containerregistry:getBuildStep": { - "description": "Gets the build step for a build task.\nAzure REST API version: 2018-02-01-preview.", - "inputs": { - "properties": { - "buildTaskName": { - "type": "string", - "description": "The name of the container registry build task.", - "willReplaceOnChanges": true - }, - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - }, - "stepName": { - "type": "string", - "description": "The name of a build step for a container registry build task.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "buildTaskName", - "registryName", - "resourceGroupName", - "stepName" - ] - }, - "outputs": { - "description": "Build step resource properties", - "properties": { - "id": { - "type": "string", - "description": "The resource ID." - }, - "name": { - "type": "string", - "description": "The name of the resource." - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-native:containerregistry:DockerBuildStepResponse", - "description": "The properties of a build step." - }, - "type": { - "type": "string", - "description": "The type of the resource." - } - }, - "type": "object", - "required": [ - "id", - "name", - "properties", - "type" - ] - } - }, "azure-native:containerregistry:getCacheRule": { "description": "Gets the properties of the specified cache rule resource.\nAzure REST API version: 2023-01-01-preview.", "inputs": { @@ -696783,78 +697094,6 @@ ] } }, - "azure-native:containerregistry:getRegistryBuildSourceUploadUrl": { - "description": "Get the upload location for the user to be able to upload the source.\nAzure REST API version: 2018-02-01-preview.", - "inputs": { - "properties": { - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "registryName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "The properties of a response to source upload request.", - "properties": { - "relativePath": { - "type": "string", - "description": "The relative path to the source. This is used to submit the subsequent queue build request." - }, - "uploadUrl": { - "type": "string", - "description": "The URL where the client can upload the source." - } - }, - "type": "object" - } - }, - "azure-native:containerregistry:getRegistryCredentials": { - "description": "Gets the administrator login credentials for the specified container registry.\nAzure REST API version: 2016-06-27-preview.", - "inputs": { - "properties": { - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "registryName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "The result of a request to get the administrator login credentials for a container registry.", - "properties": { - "password": { - "type": "string", - "description": "The administrator password." - }, - "username": { - "type": "string", - "description": "The administrator username." - } - }, - "type": "object" - } - }, "azure-native:containerregistry:getReplication": { "description": "Gets the properties of the specified replication.\nAzure REST API version: 2022-12-01.", "inputs": { @@ -697542,114 +697781,6 @@ "type": "object" } }, - "azure-native:containerregistry:listBuildStepBuildArguments": { - "description": "List the build arguments for a step including the secret arguments.\nAzure REST API version: 2018-02-01-preview.", - "inputs": { - "properties": { - "buildTaskName": { - "type": "string", - "description": "The name of the container registry build task.", - "willReplaceOnChanges": true - }, - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - }, - "stepName": { - "type": "string", - "description": "The name of a build step for a container registry build task.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "buildTaskName", - "registryName", - "resourceGroupName", - "stepName" - ] - }, - "outputs": { - "description": "The list of build arguments for a build step.", - "properties": { - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next set of paged results." - }, - "value": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/types/azure-native:containerregistry:BuildArgumentResponse" - }, - "description": "The collection value." - } - }, - "type": "object" - } - }, - "azure-native:containerregistry:listBuildTaskSourceRepositoryProperties": { - "description": "Get the source control properties for a build task.\nAzure REST API version: 2018-02-01-preview.", - "inputs": { - "properties": { - "buildTaskName": { - "type": "string", - "description": "The name of the container registry build task.", - "willReplaceOnChanges": true - }, - "registryName": { - "type": "string", - "description": "The name of the container registry.", - "willReplaceOnChanges": true - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group to which the container registry belongs.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "buildTaskName", - "registryName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "The properties of the source code repository.", - "properties": { - "isCommitTriggerEnabled": { - "type": "boolean", - "description": "The value of this property indicates whether the source control commit trigger is enabled or not.", - "default": false - }, - "repositoryUrl": { - "type": "string", - "description": "The full URL to the source code repository" - }, - "sourceControlAuthProperties": { - "type": "object", - "$ref": "#/types/azure-native:containerregistry:SourceControlAuthInfoResponse", - "description": "The authorization properties for accessing the source code repository." - }, - "sourceControlType": { - "type": "string", - "description": "The type of source control service." - } - }, - "type": "object", - "required": [ - "repositoryUrl", - "sourceControlType" - ] - } - }, "azure-native:containerregistry:listRegistryBuildSourceUploadUrl": { "description": "Get the upload location for the user to be able to upload the source.\nAzure REST API version: 2019-06-01-preview.", "inputs": { @@ -698461,6 +698592,79 @@ ] } }, + "azure-native:containerservice:getFleetUpdateStrategy": { + "description": "Get a FleetUpdateStrategy\nAzure REST API version: 2023-08-15-preview.", + "inputs": { + "properties": { + "fleetName": { + "type": "string", + "description": "The name of the Fleet resource.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "updateStrategyName": { + "type": "string", + "description": "The name of the UpdateStrategy resource.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "fleetName", + "resourceGroupName", + "updateStrategyName" + ] + }, + "outputs": { + "description": "Defines a multi-stage process to perform update operations across members of a Fleet.", + "properties": { + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields." + }, + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the UpdateStrategy resource." + }, + "strategy": { + "type": "object", + "$ref": "#/types/azure-native:containerservice:UpdateRunStrategyResponse", + "description": "Defines the update sequence of the clusters." + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:containerservice:SystemDataResponse", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "eTag", + "id", + "name", + "provisioningState", + "strategy", + "systemData", + "type" + ] + } + }, "azure-native:containerservice:getMaintenanceConfiguration": { "description": "See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance.\nAzure REST API version: 2023-04-01.", "inputs": { @@ -699272,7 +699476,7 @@ ] }, "outputs": { - "description": "An UpdateRun is a multi-stage process to perform update operations across members of a Fleet.", + "description": "A multi-stage process to perform update operations across members of a Fleet.", "properties": { "eTag": { "type": "string", @@ -718765,6 +718969,168 @@ ] } }, + "azure-native:devcenter:getCatalogDevBoxDefinitionErrorDetails": { + "description": "Gets Catalog Devbox Definition error details\nAzure REST API version: 2023-08-01-preview.", + "inputs": { + "properties": { + "catalogName": { + "type": "string", + "description": "The name of the Catalog.", + "willReplaceOnChanges": true + }, + "devBoxDefinitionName": { + "type": "string", + "description": "The name of the Dev Box definition.", + "willReplaceOnChanges": true + }, + "devCenterName": { + "type": "string", + "description": "The name of the devcenter.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "catalogName", + "devBoxDefinitionName", + "devCenterName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource.", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogErrorDetailsResponse" + }, + "description": "Errors associated with resources synchronized from the catalog." + } + }, + "type": "object", + "required": [ + "errors" + ] + } + }, + "azure-native:devcenter:getCatalogSyncErrorDetails": { + "description": "Gets catalog synchronization error details\nAzure REST API version: 2023-08-01-preview.", + "inputs": { + "properties": { + "catalogName": { + "type": "string", + "description": "The name of the Catalog.", + "willReplaceOnChanges": true + }, + "devCenterName": { + "type": "string", + "description": "The name of the devcenter.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "catalogName", + "devCenterName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Synchronization error details.", + "properties": { + "conflicts": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogConflictErrorResponse" + }, + "description": "Catalog items that have conflicting names." + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogSyncErrorResponse" + }, + "description": "Errors that occured during synchronization." + }, + "operationError": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogErrorDetailsResponse", + "description": "Error information for the overall synchronization operation." + } + }, + "type": "object", + "required": [ + "conflicts", + "errors", + "operationError" + ] + } + }, + "azure-native:devcenter:getCustomizationTaskErrorDetails": { + "description": "Gets Customization Task error details\nAzure REST API version: 2023-08-01-preview.", + "inputs": { + "properties": { + "catalogName": { + "type": "string", + "description": "The name of the Catalog.", + "willReplaceOnChanges": true + }, + "devCenterName": { + "type": "string", + "description": "The name of the devcenter.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "taskName": { + "type": "string", + "description": "The name of the Task.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "catalogName", + "devCenterName", + "resourceGroupName", + "taskName" + ] + }, + "outputs": { + "description": "List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource.", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogErrorDetailsResponse" + }, + "description": "Errors associated with resources synchronized from the catalog." + } + }, + "type": "object", + "required": [ + "errors" + ] + } + }, "azure-native:devcenter:getDevBoxDefinition": { "description": "Gets a Dev Box definition\nAzure REST API version: 2023-04-01.", "inputs": { @@ -718954,6 +719320,57 @@ ] } }, + "azure-native:devcenter:getEnvironmentDefinitionErrorDetails": { + "description": "Gets Environment Definition error details\nAzure REST API version: 2023-08-01-preview.", + "inputs": { + "properties": { + "catalogName": { + "type": "string", + "description": "The name of the Catalog.", + "willReplaceOnChanges": true + }, + "devCenterName": { + "type": "string", + "description": "The name of the devcenter.", + "willReplaceOnChanges": true + }, + "environmentDefinitionName": { + "type": "string", + "description": "The name of the Environment Definition.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "catalogName", + "devCenterName", + "environmentDefinitionName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource.", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-native:devcenter:CatalogErrorDetailsResponse" + }, + "description": "Errors associated with resources synchronized from the catalog." + } + }, + "type": "object", + "required": [ + "errors" + ] + } + }, "azure-native:devcenter:getEnvironmentType": { "description": "Gets an environment type.\nAzure REST API version: 2023-04-01.", "inputs": { @@ -728115,6 +728532,90 @@ ] } }, + "azure-native:elasticsan:getVolumeSnapshot": { + "description": "Get a Volume Snapshot.\nAzure REST API version: 2023-01-01.", + "inputs": { + "properties": { + "elasticSanName": { + "type": "string", + "description": "The name of the ElasticSan.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "snapshotName": { + "type": "string", + "description": "The name of the volume snapshot within the given volume group.", + "willReplaceOnChanges": true + }, + "volumeGroupName": { + "type": "string", + "description": "The name of the VolumeGroup.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "elasticSanName", + "resourceGroupName", + "snapshotName", + "volumeGroupName" + ] + }, + "outputs": { + "description": "Response for Volume Snapshot request.", + "properties": { + "creationData": { + "type": "object", + "$ref": "#/types/azure-native:elasticsan:SnapshotCreationDataResponse", + "description": "Data used when creating a volume snapshot." + }, + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "State of the operation on the resource." + }, + "sourceVolumeSizeGiB": { + "type": "number", + "description": "Size of Source Volume" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:elasticsan:SystemDataResponse", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + }, + "volumeName": { + "type": "string", + "description": "Source Volume Name of a snapshot" + } + }, + "type": "object", + "required": [ + "creationData", + "id", + "name", + "provisioningState", + "sourceVolumeSizeGiB", + "systemData", + "type", + "volumeName" + ] + } + }, "azure-native:engagementfabric:getAccount": { "description": "The EngagementFabric account\nAzure REST API version: 2018-09-01-preview.", "inputs": { @@ -741992,315 +742493,6 @@ ] } }, - "azure-native:iotsecurity:getDefenderSetting": { - "description": "Get IoT Defender Settings\nAzure REST API version: 2021-02-01-preview.", - "inputs": { - "type": "object" - }, - "outputs": { - "description": "IoT Defender settings", - "properties": { - "deviceQuota": { - "type": "integer", - "description": "Size of the device quota. Value is required to be in multiples of 100." - }, - "evaluationEndTime": { - "type": "string", - "description": "End time of the evaluation period, if such exist" - }, - "id": { - "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "mdeIntegration": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:DefenderSettingsPropertiesResponseMdeIntegration", - "description": "MDE integration configuration" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "onboardingKind": { - "type": "string", - "description": "The kind of onboarding for the subscription" - }, - "sentinelWorkspaceResourceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Sentinel Workspace Resource Ids" - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "deviceQuota", - "evaluationEndTime", - "id", - "mdeIntegration", - "name", - "onboardingKind", - "sentinelWorkspaceResourceIds", - "type" - ] - } - }, - "azure-native:iotsecurity:getDeviceGroup": { - "description": "Get device group\nAzure REST API version: 2021-02-01-preview.", - "inputs": { - "properties": { - "deviceGroupName": { - "type": "string", - "description": "Device group name", - "willReplaceOnChanges": true - }, - "iotDefenderLocation": { - "type": "string", - "description": "Defender for IoT location", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "deviceGroupName", - "iotDefenderLocation" - ] - }, - "outputs": { - "description": "Device group", - "properties": { - "id": { - "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "id", - "name", - "systemData", - "type" - ] - } - }, - "azure-native:iotsecurity:getOnPremiseSensor": { - "description": "Get on-premise IoT sensor\nAzure REST API version: 2021-02-01-preview.", - "inputs": { - "properties": { - "onPremiseSensorName": { - "type": "string", - "description": "Name of the on-premise IoT sensor", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "onPremiseSensorName" - ] - }, - "outputs": { - "description": "On-premise IoT sensor", - "properties": { - "id": { - "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "id", - "name", - "systemData", - "type" - ] - } - }, - "azure-native:iotsecurity:getSensor": { - "description": "Get IoT sensor\nAzure REST API version: 2021-02-01-preview.", - "inputs": { - "properties": { - "scope": { - "type": "string", - "description": "Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)", - "willReplaceOnChanges": true - }, - "sensorName": { - "type": "string", - "description": "Name of the IoT sensor", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "scope", - "sensorName" - ] - }, - "outputs": { - "description": "IoT sensor model", - "properties": { - "connectivityTime": { - "type": "string", - "description": "Last connectivity time of the IoT sensor" - }, - "dynamicLearning": { - "type": "boolean", - "description": "Dynamic mode status of the IoT sensor" - }, - "id": { - "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "learningMode": { - "type": "boolean", - "description": "Learning mode status of the IoT sensor" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "sensorStatus": { - "type": "string", - "description": "Status of the IoT sensor" - }, - "sensorType": { - "type": "string", - "description": "Type of sensor" - }, - "sensorVersion": { - "type": "string", - "description": "Version of the IoT sensor" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "tiAutomaticUpdates": { - "type": "boolean", - "description": "TI Automatic mode status of the IoT sensor" - }, - "tiStatus": { - "type": "string", - "description": "TI Status of the IoT sensor" - }, - "tiVersion": { - "type": "string", - "description": "TI Version of the IoT sensor" - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - }, - "zone": { - "type": "string", - "description": "Zone of the IoT sensor" - } - }, - "type": "object", - "required": [ - "connectivityTime", - "dynamicLearning", - "id", - "learningMode", - "name", - "sensorStatus", - "sensorVersion", - "systemData", - "tiStatus", - "tiVersion", - "type" - ] - } - }, - "azure-native:iotsecurity:getSite": { - "description": "Get IoT site\nAzure REST API version: 2021-02-01-preview.", - "inputs": { - "properties": { - "scope": { - "type": "string", - "description": "Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "scope" - ] - }, - "outputs": { - "description": "IoT site model", - "properties": { - "displayName": { - "type": "string", - "description": "Display name of the IoT site" - }, - "id": { - "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:iotsecurity:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Tags of the IoT site" - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "displayName", - "id", - "name", - "systemData", - "type" - ] - } - }, "azure-native:keyvault:getKey": { "description": "Gets the current version of the specified key from the specified key vault.\nAzure REST API version: 2023-02-01.", "inputs": { @@ -744899,16 +745091,120 @@ ] }, "outputs": { - "description": "Class representing a read only following database.", + "description": "Class representing a read only following database.", + "properties": { + "attachedDatabaseConfigurationName": { + "type": "string", + "description": "The name of the attached database configuration cluster" + }, + "databaseShareOrigin": { + "type": "string", + "description": "The origin of the following setup." + }, + "hotCachePeriod": { + "type": "string", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." + }, + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "kind": { + "type": "string", + "description": "Kind of the database\nExpected value is 'ReadOnlyFollowing'.", + "const": "ReadOnlyFollowing" + }, + "leaderClusterResourceId": { + "type": "string", + "description": "The name of the leader cluster" + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "originalDatabaseName": { + "type": "string", + "description": "The original database name, before databaseNameOverride or databaseNamePrefix where applied." + }, + "principalsModificationKind": { + "type": "string", + "description": "The principals modification kind of the database" + }, + "provisioningState": { + "type": "string", + "description": "The provisioned state of the resource." + }, + "softDeletePeriod": { + "type": "string", + "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." + }, + "statistics": { + "type": "object", + "$ref": "#/types/azure-native:kusto:DatabaseStatisticsResponse", + "description": "The statistics of the database." + }, + "tableLevelSharingProperties": { + "type": "object", + "$ref": "#/types/azure-native:kusto:TableLevelSharingPropertiesResponse", + "description": "Table level sharing specifications" + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "attachedDatabaseConfigurationName", + "databaseShareOrigin", + "id", + "kind", + "leaderClusterResourceId", + "name", + "originalDatabaseName", + "principalsModificationKind", + "provisioningState", + "softDeletePeriod", + "statistics", + "tableLevelSharingProperties", + "type" + ] + } + }, + "azure-native:kusto:getReadWriteDatabase": { + "description": "Returns a database.\nAzure REST API version: 2022-12-29.", + "inputs": { + "properties": { + "clusterName": { + "type": "string", + "description": "The name of the Kusto cluster.", + "willReplaceOnChanges": true + }, + "databaseName": { + "type": "string", + "description": "The name of the database in the Kusto cluster.", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group containing the Kusto cluster.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "clusterName", + "databaseName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Class representing a read write database.", "properties": { - "attachedDatabaseConfigurationName": { - "type": "string", - "description": "The name of the attached database configuration cluster" - }, - "databaseShareOrigin": { - "type": "string", - "description": "The origin of the following setup." - }, "hotCachePeriod": { "type": "string", "description": "The time the data should be kept in cache for fast queries in TimeSpan." @@ -744917,14 +745213,14 @@ "type": "string", "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" }, - "kind": { - "type": "string", - "description": "Kind of the database\nExpected value is 'ReadOnlyFollowing'.", - "const": "ReadOnlyFollowing" + "isFollowed": { + "type": "boolean", + "description": "Indicates whether the database is followed." }, - "leaderClusterResourceId": { + "kind": { "type": "string", - "description": "The name of the leader cluster" + "description": "Kind of the database\nExpected value is 'ReadWrite'.", + "const": "ReadWrite" }, "location": { "type": "string", @@ -744934,14 +745230,6 @@ "type": "string", "description": "The name of the resource" }, - "originalDatabaseName": { - "type": "string", - "description": "The original database name, before databaseNameOverride or databaseNamePrefix where applied." - }, - "principalsModificationKind": { - "type": "string", - "description": "The principals modification kind of the database" - }, "provisioningState": { "type": "string", "description": "The provisioned state of the resource." @@ -744955,11 +745243,6 @@ "$ref": "#/types/azure-native:kusto:DatabaseStatisticsResponse", "description": "The statistics of the database." }, - "tableLevelSharingProperties": { - "type": "object", - "$ref": "#/types/azure-native:kusto:TableLevelSharingPropertiesResponse", - "description": "Table level sharing specifications" - }, "type": { "type": "string", "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" @@ -744967,24 +745250,18 @@ }, "type": "object", "required": [ - "attachedDatabaseConfigurationName", - "databaseShareOrigin", "id", + "isFollowed", "kind", - "leaderClusterResourceId", "name", - "originalDatabaseName", - "principalsModificationKind", "provisioningState", - "softDeletePeriod", "statistics", - "tableLevelSharingProperties", "type" ] } }, - "azure-native:kusto:getReadWriteDatabase": { - "description": "Returns a database.\nAzure REST API version: 2022-12-29.", + "azure-native:kusto:getSandboxCustomImage": { + "description": "Returns a sandbox custom image\nAzure REST API version: 2023-08-15.", "inputs": { "properties": { "clusterName": { @@ -744992,47 +745269,38 @@ "description": "The name of the Kusto cluster.", "willReplaceOnChanges": true }, - "databaseName": { + "resourceGroupName": { "type": "string", - "description": "The name of the database in the Kusto cluster.", + "description": "The name of the resource group. The name is case insensitive.", "willReplaceOnChanges": true }, - "resourceGroupName": { + "sandboxCustomImageName": { "type": "string", - "description": "The name of the resource group containing the Kusto cluster.", + "description": "The name of the sandbox custom image.", "willReplaceOnChanges": true } }, "type": "object", "required": [ "clusterName", - "databaseName", - "resourceGroupName" + "resourceGroupName", + "sandboxCustomImageName" ] }, "outputs": { - "description": "Class representing a read write database.", + "description": "Class representing a Kusto sandbox custom image.", "properties": { - "hotCachePeriod": { - "type": "string", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, "id": { "type": "string", "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" }, - "isFollowed": { - "type": "boolean", - "description": "Indicates whether the database is followed." - }, - "kind": { + "language": { "type": "string", - "description": "Kind of the database\nExpected value is 'ReadWrite'.", - "const": "ReadWrite" + "description": "The language name, for example Python." }, - "location": { + "languageVersion": { "type": "string", - "description": "Resource location." + "description": "The version of the language." }, "name": { "type": "string", @@ -745042,14 +745310,9 @@ "type": "string", "description": "The provisioned state of the resource." }, - "softDeletePeriod": { + "requirementsFileContent": { "type": "string", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "type": "object", - "$ref": "#/types/azure-native:kusto:DatabaseStatisticsResponse", - "description": "The statistics of the database." + "description": "The requirements file content." }, "type": { "type": "string", @@ -745059,11 +745322,10 @@ "type": "object", "required": [ "id", - "isFollowed", - "kind", + "language", + "languageVersion", "name", "provisioningState", - "statistics", "type" ] } @@ -806133,7 +806395,7 @@ "$ref": "#/types/azure-native:securityinsights:SystemDataResponse", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." }, - "targetWorkspaceId": { + "targetWorkspaceResourceId": { "type": "string", "description": "Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager" }, @@ -806152,7 +806414,7 @@ "id", "name", "systemData", - "targetWorkspaceId", + "targetWorkspaceResourceId", "targetWorkspaceTenantId", "type" ] @@ -819201,6 +819463,105 @@ ] } }, + "azure-native:storageactions:getStorageTask": { + "description": "Get the storage task properties\nAzure REST API version: 2023-01-01.", + "inputs": { + "properties": { + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive.", + "willReplaceOnChanges": true + }, + "storageTaskName": { + "type": "string", + "description": "The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "resourceGroupName", + "storageTaskName" + ] + }, + "outputs": { + "description": "Represents Storage Task.", + "properties": { + "action": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:StorageTaskActionResponse", + "description": "The storage task action that is executed" + }, + "creationTimeInUtc": { + "type": "string", + "description": "The creation date and time of the storage task in UTC." + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task" + }, + "enabled": { + "type": "boolean", + "description": "Storage Task is enabled when set to true and disabled when set to false" + }, + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"" + }, + "identity": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:ManagedServiceIdentityResponse", + "description": "The managed service identity of the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "provisioningState": { + "type": "string", + "description": "Represents the provisioning state of the storage task." + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-native:storageactions:SystemDataResponse", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "taskVersion": { + "type": "number", + "description": "Storage task version." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "action", + "creationTimeInUtc", + "description", + "enabled", + "id", + "location", + "name", + "provisioningState", + "systemData", + "taskVersion", + "type" + ] + } + }, "azure-native:storagecache:getAmlFilesystem": { "description": "Returns an AML file system.\nAzure REST API version: 2023-05-01.", "inputs": { @@ -820979,105 +821340,6 @@ ] } }, - "azure-native:storagetasks:getStorageTask": { - "description": "Get the storage task properties\nAzure REST API version: 2023-01-01.", - "inputs": { - "properties": { - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group. The name is case insensitive.", - "willReplaceOnChanges": true - }, - "storageTaskName": { - "type": "string", - "description": "The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "resourceGroupName", - "storageTaskName" - ] - }, - "outputs": { - "description": "Represents Storage Task.", - "properties": { - "action": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:StorageTaskActionResponse", - "description": "The storage task action that is executed" - }, - "creationTimeInUtc": { - "type": "string", - "description": "The creation date and time of the storage task in UTC." - }, - "description": { - "type": "string", - "description": "Text that describes the purpose of the storage task" - }, - "enabled": { - "type": "boolean", - "description": "Storage Task is enabled when set to true and disabled when set to false" - }, - "id": { - "type": "string", - "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"" - }, - "identity": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:ManagedServiceIdentityResponse", - "description": "The managed service identity of the resource." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the resource" - }, - "provisioningState": { - "type": "string", - "description": "Represents the provisioning state of the storage task." - }, - "systemData": { - "type": "object", - "$ref": "#/types/azure-native:storagetasks:SystemDataResponse", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "taskVersion": { - "type": "number", - "description": "Storage task version." - }, - "type": { - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - } - }, - "type": "object", - "required": [ - "action", - "creationTimeInUtc", - "description", - "enabled", - "id", - "location", - "name", - "provisioningState", - "systemData", - "taskVersion", - "type" - ] - } - }, "azure-native:storsimple:getAccessControlRecord": { "description": "Returns the properties of the specified access control record name.\nAzure REST API version: 2017-06-01.", "inputs": { diff --git a/reports/active.json b/reports/active.json index 2baa7967eae6..ed20ab0f9ae3 100644 --- a/reports/active.json +++ b/reports/active.json @@ -1266,6 +1266,20 @@ "2023-09-01-preview" ] }, + "arcnetworking": { + "": [ + "2023-07-01-preview" + ], + "arcnwloadbalancers": [ + "2023-07-01-preview" + ], + "locations": [ + "2023-07-01-preview" + ], + "locations/operationstatuses": [ + "2023-07-01-preview" + ] + }, "attestation": { "": [ "2018-09-01", @@ -1689,7 +1703,8 @@ "2022-01-31", "2022-02-22", "2022-06-30-preview", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts": [ "2015-01-01-preview", @@ -1703,7 +1718,8 @@ "2021-06-22", "2022-01-31", "2022-02-22", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/agentregistrationinformation": [ "2015-01-01-preview", @@ -1714,7 +1730,8 @@ "2019-06-01", "2020-01-13-preview", "2021-04-01", - "2021-06-22" + "2021-06-22", + "2023-05-15-preview" ], "automationaccounts/configurations": [ "2015-01-01-preview", @@ -1724,7 +1741,8 @@ "2018-06-30", "2019-06-01", "2020-01-13-preview", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/hybridrunbookworkergroups": [ "2015-01-01-preview", @@ -1737,11 +1755,13 @@ "2021-04-01", "2021-06-22", "2022-02-22", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/hybridrunbookworkergroups/hybridrunbookworkers": [ "2021-06-22", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/jobs": [ "2015-01-01-preview", @@ -1751,19 +1771,23 @@ "2018-06-30", "2019-06-01", "2020-01-13-preview", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/privateendpointconnectionproxies": [ "2020-01-13-preview", - "2021-06-22" + "2021-06-22", + "2023-05-15-preview" ], "automationaccounts/privateendpointconnections": [ "2020-01-13-preview", - "2021-06-22" + "2021-06-22", + "2023-05-15-preview" ], "automationaccounts/privatelinkresources": [ "2020-01-13-preview", - "2021-06-22" + "2021-06-22", + "2023-05-15-preview" ], "automationaccounts/runbooks": [ "2015-01-01-preview", @@ -1773,7 +1797,8 @@ "2018-06-30", "2019-06-01", "2020-01-13-preview", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/runtimes": [ "2022-06-30-preview" @@ -1784,7 +1809,8 @@ "2018-06-30", "2019-06-01", "2020-01-13-preview", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/softwareupdateconfigurationruns": [ "2017-05-15-preview", @@ -1792,24 +1818,28 @@ "2018-06-30", "2019-06-01", "2020-01-13-preview", - "2022-08-08" + "2022-08-08", + "2023-05-15-preview" ], "automationaccounts/softwareupdateconfigurations": [ "2017-05-15-preview", "2018-01-15", "2018-06-30", "2019-06-01", - "2020-01-13-preview" + "2020-01-13-preview", + "2023-05-15-preview" ], "automationaccounts/webhooks": [ "2015-01-01-preview", "2015-10-31", "2017-05-15-preview", "2018-01-15", - "2018-06-30" + "2018-06-30", + "2023-05-15-preview" ], "deletedautomationaccounts": [ - "2022-01-31" + "2022-01-31", + "2023-05-15-preview" ], "operations": [ "2015-01-01-preview", @@ -1818,7 +1848,8 @@ "2018-01-15", "2018-06-30", "2019-06-01", - "2020-01-13-preview" + "2020-01-13-preview", + "2023-05-15-preview" ] }, "autonomousdevelopmentplatform": { @@ -2329,31 +2360,43 @@ "azureplaywrightservice": { "": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" ], "accounts": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" ], "checknameavailability": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" ], "locations": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" ], "locations/operationstatuses": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" + ], + "locations/quotas": [ + "2022-04-05-preview", + "2023-06-01-preview", + "2023-10-01-preview" ], "operations": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" ], "registeredsubscriptions": [ "2022-04-05-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-10-01-preview" ] }, "azurescan": { @@ -2552,9 +2595,11 @@ "2023-06-01" ], "galleryimages": [ + "2020-11-01-preview", "2021-07-01-preview", "2021-09-01-preview", - "2022-12-15-preview" + "2022-12-15-preview", + "2023-07-01-preview" ], "locations": [ "2020-10-01", @@ -2600,12 +2645,15 @@ ], "marketplacegalleryimages": [ "2021-09-01-preview", - "2022-12-15-preview" + "2022-12-15-preview", + "2023-07-01-preview" ], "networkinterfaces": [ + "2020-11-01-preview", "2021-07-01-preview", "2021-09-01-preview", - "2022-12-15-preview" + "2022-12-15-preview", + "2023-07-01-preview" ], "operations": [ "2020-03-01-preview", @@ -2639,14 +2687,21 @@ ], "storagecontainers": [ "2021-09-01-preview", - "2022-12-15-preview" + "2022-12-15-preview", + "2023-07-01-preview" ], "virtualharddisks": [ + "2020-11-01-preview", "2021-07-01-preview", "2021-09-01-preview", - "2022-12-15-preview" + "2022-12-15-preview", + "2023-07-01-preview" + ], + "virtualmachineinstances": [ + "2023-07-01-preview" ], "virtualmachines": [ + "2020-11-01-preview", "2021-07-01-preview", "2021-09-01-preview", "2022-12-15-preview" @@ -2660,9 +2715,11 @@ "2022-12-15-preview" ], "virtualnetworks": [ + "2020-11-01-preview", "2021-07-01-preview", "2021-09-01-preview", - "2022-12-15-preview" + "2022-12-15-preview", + "2023-07-01-preview" ] }, "backupsolutions": { @@ -4794,6 +4851,9 @@ "carbonemissionreports": [ "2023-04-01-preview" ], + "operations": [ + "2023-04-01-preview" + ], "querycarbonemissiondataavailabledaterange": [ "2023-04-01-preview" ] @@ -7583,7 +7643,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "agreements": [ "2020-03-01", @@ -7595,7 +7656,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "checknameavailability": [ "2020-03-01", @@ -7607,7 +7669,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "locations": [ "2020-03-01", @@ -7619,7 +7682,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "locations/operationstatuses": [ "2020-03-01", @@ -7631,7 +7695,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "operations": [ "2020-03-01", @@ -7643,7 +7708,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "organizations": [ "2020-03-01", @@ -7655,11 +7721,13 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "organizations/access": [ "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ], "validations": [ "2021-03-01-preview", @@ -7669,7 +7737,8 @@ "2022-07-21-preview", "2022-10-07-preview", "2023-02-09-preview", - "2023-07-11-preview" + "2023-07-11-preview", + "2023-08-22" ] }, "connectedcache": { @@ -7820,7 +7889,8 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "clusters": [ "2020-10-01-preview", @@ -7844,13 +7914,15 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "locations/operationstatuses": [ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "locations/updatecenteroperationresults": [ "2022-01-10-preview" @@ -7862,7 +7934,8 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "resourcepools": [ "2020-10-01-preview", @@ -9114,7 +9187,6 @@ "2017-08-31", "2017-09-30", "2018-03-31", - "2018-08-01-preview", "2018-10-31", "2019-02-01", "2019-04-01", @@ -9138,11 +9210,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9261,7 +9331,6 @@ "2016-03-30", "2017-08-31", "2018-03-31", - "2018-08-01-preview", "2019-02-01", "2019-04-01", "2019-06-01", @@ -9284,11 +9353,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9327,7 +9394,6 @@ "2016-03-30", "2017-08-31", "2018-03-31", - "2018-08-01-preview", "2019-02-01", "2019-04-01", "2019-06-01", @@ -9350,11 +9416,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9412,11 +9476,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9458,11 +9520,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9500,7 +9560,6 @@ "managedclusters": [ "2017-08-31", "2018-03-31", - "2018-08-01-preview", "2019-02-01", "2019-04-01", "2019-06-01", @@ -9523,11 +9582,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9570,11 +9627,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9610,7 +9665,6 @@ "2023-08-02-preview" ], "managedclustersnapshots": [ - "2022-02-02-preview", "2022-03-02-preview", "2022-04-02-preview", "2022-05-02-preview", @@ -9661,11 +9715,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -9704,11 +9756,9 @@ "2021-08-01", "2021-09-01", "2021-10-01", - "2021-11-01-preview", "2022-01-01", "2022-01-02-preview", "2022-02-01", - "2022-02-02-preview", "2022-03-01", "2022-03-02-preview", "2022-04-01", @@ -10875,55 +10925,13 @@ }, "datafactory": { "": [ - "2014-04-01", - "2015-01-01-preview", - "2015-05-01-preview", - "2015-07-01-preview", - "2015-08-01", - "2015-09-01", - "2015-10-01", "2017-03-01-preview", "2017-09-01-preview", "2018-06-01" ], - "checkazuredatafactorynameavailability": [ - "2015-01-01-preview", - "2015-05-01-preview", - "2015-07-01-preview", - "2015-08-01", - "2015-09-01", - "2015-10-01" - ], - "checkdatafactorynameavailability": [ - "2015-01-01-preview", - "2015-05-01-preview" - ], "checknameavailability": [ "2018-06-01" ], - "datafactories": [ - "2014-04-01", - "2015-01-01-preview", - "2015-05-01-preview", - "2015-07-01-preview", - "2015-08-01", - "2015-09-01", - "2015-10-01" - ], - "datafactories/diagnosticsettings": [ - "2014-04-01" - ], - "datafactories/metricdefinitions": [ - "2014-04-01" - ], - "datafactoryschema": [ - "2015-01-01-preview", - "2015-05-01-preview", - "2015-07-01-preview", - "2015-08-01", - "2015-09-01", - "2015-10-01" - ], "factories": [ "2017-09-01-preview", "2018-06-01" @@ -10944,12 +10952,6 @@ "2018-06-01" ], "operations": [ - "2015-01-01-preview", - "2015-05-01-preview", - "2015-07-01-preview", - "2015-08-01", - "2015-09-01", - "2015-10-01", "2017-03-01-preview", "2017-09-01-preview", "2018-06-01" @@ -12294,7 +12296,8 @@ "2023-04-06-preview", "2023-05-15-privatepreview", "2023-05-18-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "appattachpackages": [ "2022-09-01-privatepreview", @@ -12302,7 +12305,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "applicationgroups": [ "2019-01-23-preview", @@ -12329,7 +12333,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "applicationgroups/applications": [ "2019-01-23-preview", @@ -12356,7 +12361,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "applicationgroups/desktops": [ "2019-01-23-preview", @@ -12383,7 +12389,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "applicationgroups/startmenuitems": [ "2019-01-23-preview", @@ -12410,7 +12417,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "hostpools": [ "2019-01-23-preview", @@ -12437,7 +12445,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "hostpools/msixpackages": [ "2019-01-23-preview", @@ -12464,7 +12473,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "hostpools/sessionhosts": [ "2019-01-23-preview", @@ -12491,7 +12501,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "hostpools/sessionhosts/usersessions": [ "2019-01-23-preview", @@ -12518,7 +12529,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "hostpools/usersessions": [ "2019-01-23-preview", @@ -12545,7 +12557,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "operations": [ "2019-01-23-preview", @@ -12582,7 +12595,8 @@ "2023-04-06-preview", "2023-05-15-privatepreview", "2023-05-18-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "scalingplans": [ "2019-01-23-preview", @@ -12609,7 +12623,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "workspaces": [ "2019-01-23-preview", @@ -12636,7 +12651,8 @@ "2022-10-14-preview", "2022-12-09-privatepreview", "2023-03-21-privatepreview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ] }, "devai": { @@ -13597,7 +13613,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "cassandraclusters": [ "2021-03-01-preview", @@ -13617,7 +13635,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "databaseaccountnames": [ "2014-04-01", @@ -13654,7 +13674,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "databaseaccounts": [ "2014-04-01", @@ -13691,7 +13713,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "databaseaccounts/encryptionscopes": [ "2021-03-01-preview", @@ -13711,7 +13735,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "locations": [ "2014-04-01", @@ -13748,12 +13774,15 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "locations/checkmongoclusternameavailability": [ "2022-10-15-preview", "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "locations/deletevirtualnetworkorsubnets": [ "2014-04-01", @@ -13790,17 +13819,21 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "locations/mongoclusterazureasyncoperation": [ "2022-10-15-preview", "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "locations/mongoclusteroperationresults": [ "2022-10-15-preview", "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "locations/notifynetworksecurityperimeterupdatesavailable": [ "2022-08-15", @@ -13810,7 +13843,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "locations/operationresults": [ "2014-04-01", @@ -13847,7 +13882,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "locations/operationsstatus": [ "2014-04-01", @@ -13884,7 +13921,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "locations/restorabledatabaseaccounts": [ "2020-06-01-preview", @@ -13906,12 +13945,15 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "mongoclusters": [ "2022-10-15-preview", "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "operationresults": [ "2014-04-01", @@ -13948,7 +13990,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "operations": [ "2014-04-01", @@ -13985,7 +14029,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "operationsstatus": [ "2014-04-01", @@ -14022,7 +14068,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "restorabledatabaseaccounts": [ "2020-06-01-preview", @@ -14044,7 +14092,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ] }, "domainregistration": { @@ -15686,39 +15736,47 @@ "2023-03-03-preview", "2023-03-23-preview", "2023-06-01", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "checknameavailability": [ "2023-01-01-preview", "2023-03-03-preview", "2023-03-23-preview", - "2023-06-01" + "2023-06-01", + "2023-09-01-preview" ], "diagnostics": [ "2023-01-01-preview", - "2023-06-01" + "2023-06-01", + "2023-09-01-preview" ], "discoverysolutions": [ "2023-01-01-preview", "2023-06-01", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "operationresults": [ "2023-01-01-preview", "2023-03-03-preview", - "2023-06-01" + "2023-06-01", + "2023-09-01-preview" ], "operations": [ "2023-01-01-preview", "2023-03-03-preview", "2023-03-23-preview", - "2023-06-01" + "2023-06-01", + "2023-09-01-preview" ], "solutions": [ - "2023-03-03-preview" + "2023-03-03-preview", + "2023-09-01-preview" ], "troubleshooters": [ - "2023-03-23-preview" + "2023-03-23-preview", + "2023-09-01-preview" ] }, "hybridcloud": { @@ -16154,7 +16212,8 @@ "2022-01-01-preview", "2022-05-01-preview", "2022-09-01-preview", - "2023-11-01" + "2023-11-01", + "2023-11-15-preview" ], "locations": [ "2021-08-01-preview", @@ -16162,7 +16221,8 @@ "2022-01-01-preview", "2022-05-01-preview", "2022-09-01-preview", - "2023-11-01" + "2023-11-01", + "2023-11-15-preview" ], "locations/operationstatuses": [ "2021-08-01-preview", @@ -16170,7 +16230,8 @@ "2022-01-01-preview", "2022-05-01-preview", "2022-09-01-preview", - "2023-11-01" + "2023-11-01", + "2023-11-15-preview" ], "operations": [ "2021-08-01-preview", @@ -16178,7 +16239,8 @@ "2022-01-01-preview", "2022-05-01-preview", "2022-09-01-preview", - "2023-11-01" + "2023-11-01", + "2023-11-15-preview" ], "provisionedclusters": [ "2021-08-01-preview", @@ -16357,7 +16419,8 @@ "2023-03-15-preview", "2023-05-01", "2023-05-01-preview", - "2023-06-01" + "2023-06-01", + "2023-08-01-preview" ], "actiongroups": [ "2017-03-01-preview", @@ -16370,7 +16433,8 @@ "2022-04-01", "2022-06-01", "2023-01-01", - "2023-05-01" + "2023-05-01", + "2023-08-01-preview" ], "activitylogalerts": [ "2017-03-01-preview", @@ -16808,7 +16872,8 @@ ], "tenantactiongroups": [ "2023-03-01-preview", - "2023-05-01-preview" + "2023-05-01-preview", + "2023-08-01-preview" ], "topology": [ "2019-10-17-preview" @@ -19933,16 +19998,6 @@ "2023-03-03", "2023-04-01-preview" ], - "locations/assessmentoptions": [ - "2017-09-25-privatepreview", - "2017-11-11-preview", - "2018-02-02" - ], - "locations/checknameavailability": [ - "2017-09-25-privatepreview", - "2017-11-11-preview", - "2018-02-02" - ], "locations/rmsoperationresults": [ "2019-10-01-preview", "2021-01-01", @@ -19973,11 +20028,6 @@ "2018-06-30-preview", "2019-05-01", "2019-10-01" - ], - "projects": [ - "2017-09-25-privatepreview", - "2017-11-11-preview", - "2018-02-02" ] }, "mission": { @@ -26637,7 +26687,9 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-01-01-privatepreview", + "2023-04-01-preview", + "2023-08-01-preview" ], "availableaccounts": [ "2019-02-01-preview", @@ -26648,7 +26700,8 @@ "2021-05-01-preview", "2021-06-01-preview", "2021-09-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ], "operationstatuses": [ "2019-02-01-preview", @@ -26661,7 +26714,8 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ], "providerregistrations": [ "2019-02-01-preview", @@ -26673,7 +26727,13 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" + ], + "providerregistrations/authorizedapplications": [ + "2023-01-01-privatepreview", + "2023-04-01-preview", + "2023-08-01-preview" ], "providerregistrations/checkinmanifest": [ "2019-02-01-preview", @@ -26685,7 +26745,8 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ], "providerregistrations/customrollouts": [ "2019-02-01-preview", @@ -26697,7 +26758,8 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ], "providerregistrations/defaultrollouts": [ "2019-02-01-preview", @@ -26709,7 +26771,8 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ], "providerregistrations/resourceactions": [ "2019-02-01-preview", @@ -26721,7 +26784,8 @@ "2021-05-01-preview", "2021-06-01-preview", "2021-09-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ], "providerregistrations/resourcetyperegistrations": [ "2019-02-01-preview", @@ -26733,7 +26797,8 @@ "2021-06-01-preview", "2021-09-01-preview", "2022-07-01-preview", - "2023-04-01-preview" + "2023-04-01-preview", + "2023-08-01-preview" ] }, "purview": { @@ -27269,7 +27334,8 @@ "2021-09-01-preview", "2022-04-01", "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ], "locations": [ "2019-12-31-preview", @@ -27277,32 +27343,37 @@ "2021-09-01-preview", "2022-04-01", "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ], "locations/openshiftversions": [ "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ], "locations/operationresults": [ "2020-04-30", "2021-09-01-preview", "2022-04-01", "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ], "locations/operationsstatus": [ "2020-04-30", "2021-09-01-preview", "2022-04-01", "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ], "openshiftclusters": [ "2020-04-30", "2021-09-01-preview", "2022-04-01", "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ], "operations": [ "2019-12-31-preview", @@ -27310,7 +27381,8 @@ "2021-09-01-preview", "2022-04-01", "2022-09-04", - "2023-04-01" + "2023-04-01", + "2023-07-01-preview" ] }, "relay": { @@ -27392,7 +27464,8 @@ "2022-10-27" ], "appliances": [ - "2021-10-31-preview" + "2021-10-31-preview", + "2022-10-27" ], "locations": [ "2020-09-15-privatepreview", @@ -27414,7 +27487,11 @@ "2020-07-15-privatepreview", "2021-02-01", "2021-10-31-preview", - "2022-04-15-preview" + "2022-04-15-preview", + "2022-10-27" + ], + "telemetryconfig": [ + "2022-10-27" ] }, "resourcegraph": { @@ -27675,7 +27752,8 @@ "2022-11-01-preview", "2023-03-01-preview", "2023-07-01", - "2023-07-01-preview" + "2023-07-01-preview", + "2023-08-01" ], "builtintemplatespecs": [ "2022-02-01" @@ -27853,11 +27931,13 @@ ], "deploymentscripts": [ "2019-10-01-preview", - "2020-10-01" + "2020-10-01", + "2023-08-01" ], "deploymentscripts/logs": [ "2019-10-01-preview", - "2020-10-01" + "2020-10-01", + "2023-08-01" ], "deploymentstacks": [ "2022-08-01-preview" @@ -27913,7 +27993,8 @@ ], "locations/deploymentscriptoperationresults": [ "2019-10-01-preview", - "2020-10-01" + "2020-10-01", + "2023-08-01" ], "locations/deploymentstackoperationstatus": [ "2022-08-01-preview" @@ -28415,11 +28496,13 @@ ], "availabilitysets": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "clouds": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "locations": [ "2020-06-05-preview", @@ -28441,32 +28524,40 @@ ], "virtualmachines": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "virtualmachines/extensions": [ - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "virtualmachines/guestagents": [ - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "virtualmachines/hybrididentitymetadata": [ - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "virtualmachinetemplates": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "virtualnetworks": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "vmmservers": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ], "vmmservers/inventoryitems": [ "2020-06-05-preview", - "2022-05-21-preview" + "2022-05-21-preview", + "2023-04-01-preview" ] }, "search": { @@ -30658,7 +30749,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "locations": [ "2018-03-01-preview", @@ -30673,7 +30765,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "locations/checknameavailability": [ "2018-03-01-preview", @@ -30688,7 +30781,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "locations/operationresults": [ "2018-03-01-preview", @@ -30703,7 +30797,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "locations/operationstatuses": [ "2018-03-01-preview", @@ -30718,7 +30813,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "locations/usages": [ "2018-03-01-preview", @@ -30733,7 +30829,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "operations": [ "2018-03-01-preview", @@ -30748,7 +30845,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "signalr": [ "2018-03-01-preview", @@ -30763,7 +30861,8 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "signalr/eventgridfilters": [ "2018-03-01-preview", @@ -30778,11 +30877,13 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "signalr/replicas": [ "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "webpubsub": [ "2020-05-01", @@ -30793,11 +30894,13 @@ "2022-08-01-preview", "2023-02-01", "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "webpubsub/replicas": [ "2023-03-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ] }, "singularity": { @@ -30972,7 +31075,8 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" ], "checknameavailability": [ "2014-01-01", @@ -31135,7 +31239,8 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" ], "locations/connectionpoliciesazureasyncoperation": [ "2015-05-01-preview", @@ -31792,7 +31897,8 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" ], "locations/jobagentoperationresults": [ "2017-03-01-preview", @@ -31811,7 +31917,14 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" + ], + "locations/jobagentprivateendpointazureasyncoperation": [ + "2023-05-01-preview" + ], + "locations/jobagentprivateendpointoperationresults": [ + "2023-05-01-preview" ], "locations/ledgerdigestuploadsazureasyncoperation": [ "2021-02-01-preview", @@ -34473,7 +34586,8 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" ], "servers/jobagents/jobs": [ "2017-03-01-preview", @@ -34492,7 +34606,8 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" ], "servers/jobagents/jobs/executions": [ "2017-03-01-preview", @@ -34511,7 +34626,8 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" ], "servers/jobagents/jobs/steps": [ "2017-03-01-preview", @@ -34530,7 +34646,11 @@ "2022-05-01-preview", "2022-08-01-preview", "2022-11-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-05-01-preview" + ], + "servers/jobagents/privateendpoints": [ + "2023-05-01-preview" ], "servers/keys": [ "2015-05-01-preview", @@ -35317,6 +35437,26 @@ "2023-01-01" ] }, + "storageactions": { + "": [ + "2023-01-01" + ], + "locations": [ + "2023-01-01" + ], + "locations/asyncoperations": [ + "2023-01-01" + ], + "locations/previewactions": [ + "2023-01-01" + ], + "operations": [ + "2023-01-01" + ], + "storagetasks": [ + "2023-01-01" + ] + }, "storagecache": { "": [ "2019-08-01-preview", @@ -35664,6 +35804,9 @@ "locations/asyncoperations": [ "2023-01-01" ], + "locations/previewactions": [ + "2023-01-01" + ], "operations": [ "2023-01-01" ], @@ -35893,6 +36036,9 @@ "fileworkspaces": [ "2022-09-01-preview" ], + "fileworkspaces/files": [ + "2022-09-01-preview" + ], "lookupresourceid": [ "2021-06-01-preview", "2022-09-01-preview" @@ -36149,7 +36295,9 @@ "2023-01-01-preview", "2023-01-15-preview", "2023-05-15-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview", + "2023-08-15-preview" ], "locations": [ "2020-12-16-preview", @@ -36167,7 +36315,9 @@ "2023-01-01-preview", "2023-01-15-preview", "2023-05-15-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview", + "2023-08-15-preview" ], "locations/operationstatuses": [ "2020-12-16-preview", @@ -36185,7 +36335,9 @@ "2023-01-01-preview", "2023-01-15-preview", "2023-05-15-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview", + "2023-08-15-preview" ], "operations": [ "2020-12-16-preview", @@ -36203,7 +36355,9 @@ "2023-01-01-preview", "2023-01-15-preview", "2023-05-15-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview", + "2023-08-15-preview" ], "skus": [ "2020-12-16-preview", @@ -36221,7 +36375,9 @@ "2023-01-01-preview", "2023-01-15-preview", "2023-05-15-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview", + "2023-08-15-preview" ], "testbaseaccounts": [ "2020-12-16-preview", @@ -36233,17 +36389,20 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/actionrequests": [ "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/availableinplaceupgradeoss": [ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/availableoss": [ "2020-12-16-preview", @@ -36255,7 +36414,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/customerevents": [ "2020-12-16-preview", @@ -36267,12 +36427,17 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" + ], + "testbaseaccounts/customimages": [ + "2023-08-01-preview" ], "testbaseaccounts/draftpackages": [ "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/emailevents": [ "2020-12-16-preview", @@ -36284,20 +36449,23 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/featureupdatesupportedoses": [ "2022-08-01-preview", "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/firstpartyapps": [ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/flightingrings": [ "2020-12-16-preview", @@ -36309,13 +36477,19 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/galleryapps": [ - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/galleryapps/galleryappskus": [ - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" + ], + "testbaseaccounts/imagedefinitions": [ + "2023-08-01-preview" ], "testbaseaccounts/packages": [ "2020-12-16-preview", @@ -36327,7 +36501,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/packages/favoriteprocesses": [ "2020-12-16-preview", @@ -36339,7 +36514,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/packages/osupdates": [ "2020-12-16-preview", @@ -36351,7 +36527,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/packages/testresults": [ "2020-12-16-preview", @@ -36363,7 +36540,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/packages/testresults/analysisresults": [ "2020-12-16-preview", @@ -36375,7 +36553,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/testsummaries": [ "2020-12-16-preview", @@ -36387,7 +36566,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/testtypes": [ "2020-12-16-preview", @@ -36399,7 +36579,8 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" ], "testbaseaccounts/usages": [ "2020-12-16-preview", @@ -36411,7 +36592,11 @@ "2022-11-01-preview", "2022-12-01-preview", "2023-01-01-preview", - "2023-06-01-preview" + "2023-06-01-preview", + "2023-08-01-preview" + ], + "testbaseaccounts/vhds": [ + "2023-08-01-preview" ] }, "timeseriesinsights": { @@ -36574,42 +36759,48 @@ "2020-02-14", "2021-10-01", "2022-02-14", - "2022-07-01" + "2022-07-01", + "2023-07-01" ], "imagetemplates": [ "2019-05-01-preview", "2020-02-14", "2021-10-01", "2022-02-14", - "2022-07-01" + "2022-07-01", + "2023-07-01" ], "imagetemplates/runoutputs": [ "2019-05-01-preview", "2020-02-14", "2021-10-01", "2022-02-14", - "2022-07-01" + "2022-07-01", + "2023-07-01" ], "locations": [ "2019-05-01-preview", "2020-02-14", "2021-10-01", "2022-02-14", - "2022-07-01" + "2022-07-01", + "2023-07-01" ], "locations/operations": [ "2019-05-01-preview", "2020-02-14", "2021-10-01", "2022-02-14", - "2022-07-01" + "2022-07-01", + "2023-07-01" ], "operations": [ "2019-05-01-preview", "2020-02-14", "2021-10-01", "2022-02-14", - "2022-07-01" + "2022-07-01", + "2023-07-01" ] }, "visualstudio": { diff --git a/reports/allResourceVersionsByResource.json b/reports/allResourceVersionsByResource.json index 35510cc706ef..dc2a850a5140 100644 --- a/reports/allResourceVersionsByResource.json +++ b/reports/allResourceVersionsByResource.json @@ -3191,28 +3191,32 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "AFDEndpoint": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "AFDOrigin": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "AFDOriginGroup": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "CustomDomain": [ "2015-06-01", @@ -3230,7 +3234,8 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "Endpoint": [ "2015-06-01", @@ -3248,7 +3253,11 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" + ], + "KeyGroup": [ + "2023-07-01-preview" ], "Origin": [ "2015-06-01", @@ -3260,7 +3269,8 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "OriginGroup": [ "2019-12-31", @@ -3270,7 +3280,8 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "Policy": [ "2019-06-15", @@ -3281,7 +3292,8 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "Profile": [ "2015-06-01", @@ -3299,42 +3311,48 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "Route": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "Rule": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "RuleSet": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "Secret": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "SecurityPolicy": [ "2020-09-01", "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ], "getProfileSupportedOptimizationTypes": [ "2016-10-02", @@ -3350,7 +3368,8 @@ "2021-06-01", "2022-05-01-preview", "2022-11-01-preview", - "2023-05-01" + "2023-05-01", + "2023-07-01-preview" ] }, "CertificateRegistration": { @@ -4012,11 +4031,13 @@ "2021-05-13-preview", "2022-05-13", "2022-09-08-preview", - "2023-01-26-preview" + "2023-01-26-preview", + "2023-06-28-preview" ], "ManagedCCF": [ "2022-09-08-preview", - "2023-01-26-preview" + "2023-01-26-preview", + "2023-06-28-preview" ] }, "Confluent": { @@ -4033,13 +4054,15 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "Datastore": [ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "GuestAgent": [ "2020-10-01-preview", @@ -4051,7 +4074,8 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "HybridIdentityMetadatum": [ "2020-10-01-preview", @@ -4063,7 +4087,8 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "MachineExtension": [ "2020-10-01-preview", @@ -4075,16 +4100,19 @@ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "VCenter": [ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "VMInstanceGuestAgent": [ - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "VirtualMachine": [ "2020-10-01-preview", @@ -4093,19 +4121,22 @@ "2023-03-01-preview" ], "VirtualMachineInstance": [ - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "VirtualMachineTemplate": [ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "VirtualNetwork": [ "2020-10-01-preview", "2022-01-10-preview", "2022-07-15-preview", - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ] }, "Consumption": { @@ -4172,12 +4203,6 @@ "2023-06-01-preview", "2023-08-01-preview" ], - "BuildStep": [ - "2018-02-01-preview" - ], - "BuildTask": [ - "2018-02-01-preview" - ], "CacheRule": [ "2023-01-01-preview", "2023-06-01-preview", @@ -4248,9 +4273,7 @@ "2023-08-01-preview" ], "Registry": [ - "2016-06-27-preview", "2017-03-01", - "2017-06-01-preview", "2017-10-01", "2019-05-01", "2019-12-01-preview", @@ -4267,7 +4290,6 @@ "2023-08-01-preview" ], "Replication": [ - "2017-06-01-preview", "2017-10-01", "2019-05-01", "2019-12-01-preview", @@ -4318,7 +4340,6 @@ "2023-08-01-preview" ], "Webhook": [ - "2017-06-01-preview", "2017-10-01", "2019-05-01", "2019-12-01-preview", @@ -4334,17 +4355,7 @@ "2023-07-01", "2023-08-01-preview" ], - "getBuildLogLink": [ - "2018-02-01-preview" - ], - "getRegistryBuildSourceUploadUrl": [ - "2018-02-01-preview" - ], - "getRegistryCredentials": [ - "2016-06-27-preview" - ], "getWebhookCallbackConfig": [ - "2017-06-01-preview", "2017-10-01", "2019-05-01", "2019-12-01-preview", @@ -4363,12 +4374,6 @@ "listAgentPoolQueueStatus": [ "2019-06-01-preview" ], - "listBuildStepBuildArguments": [ - "2018-02-01-preview" - ], - "listBuildTaskSourceRepositoryProperties": [ - "2018-02-01-preview" - ], "listRegistryBuildSourceUploadUrl": [ "2018-09-01", "2019-04-01", @@ -4376,7 +4381,6 @@ ], "listRegistryCredentials": [ "2017-03-01", - "2017-06-01-preview", "2017-10-01", "2019-05-01", "2019-12-01-preview", @@ -4406,7 +4410,6 @@ "2019-06-01-preview" ], "listWebhookEvents": [ - "2017-06-01-preview", "2017-10-01", "2019-05-01", "2019-12-01-preview", @@ -4481,7 +4484,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "ContainerService": [ "2015-11-01-preview", @@ -4494,14 +4498,19 @@ "2022-07-02-preview", "2022-09-02-preview", "2023-03-15-preview", - "2023-06-15-preview" + "2023-06-15-preview", + "2023-08-15-preview" ], "FleetMember": [ "2022-06-02-preview", "2022-07-02-preview", "2022-09-02-preview", "2023-03-15-preview", - "2023-06-15-preview" + "2023-06-15-preview", + "2023-08-15-preview" + ], + "FleetUpdateStrategy": [ + "2023-08-15-preview" ], "MaintenanceConfiguration": [ "2020-12-01", @@ -4546,7 +4555,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "ManagedCluster": [ "2017-08-31", @@ -4608,7 +4618,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "ManagedClusterSnapshot": [ "2022-02-02-preview", @@ -4683,7 +4694,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "Snapshot": [ "2021-08-01", @@ -4723,7 +4735,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "TrustedAccessRoleBinding": [ "2022-04-02-preview", @@ -4745,14 +4758,16 @@ ], "UpdateRun": [ "2023-03-15-preview", - "2023-06-15-preview" + "2023-06-15-preview", + "2023-08-15-preview" ], "listFleetCredentials": [ "2022-06-02-preview", "2022-07-02-preview", "2022-09-02-preview", "2023-03-15-preview", - "2023-06-15-preview" + "2023-06-15-preview", + "2023-08-15-preview" ], "listManagedClusterAccessProfile": [ "2017-08-31", @@ -4827,7 +4842,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "listManagedClusterMonitoringUserCredentials": [ "2019-10-01", @@ -4882,7 +4898,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ], "listManagedClusterUserCredentials": [ "2018-03-31", @@ -4943,7 +4960,8 @@ "2023-06-01", "2023-06-02-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01" ] }, "ContainerStorage": { @@ -5163,7 +5181,8 @@ "DBforMySQL": { "AzureADAdministrator": [ "2021-12-01-preview", - "2022-01-01" + "2022-01-01", + "2023-06-01-preview" ], "Configuration": [ "2017-12-01", @@ -5174,7 +5193,8 @@ "2021-05-01", "2021-05-01-preview", "2021-12-01-preview", - "2022-01-01" + "2022-01-01", + "2023-06-01-preview" ], "Database": [ "2017-12-01", @@ -5185,7 +5205,8 @@ "2021-05-01", "2021-05-01-preview", "2021-12-01-preview", - "2022-01-01" + "2022-01-01", + "2023-06-01-preview" ], "FirewallRule": [ "2017-12-01", @@ -5196,7 +5217,8 @@ "2021-05-01", "2021-05-01-preview", "2021-12-01-preview", - "2022-01-01" + "2022-01-01", + "2023-06-01-preview" ], "PrivateEndpointConnection": [ "2018-06-01", @@ -5214,7 +5236,8 @@ "2021-05-01-preview", "2021-12-01-preview", "2022-01-01", - "2022-09-30-preview" + "2022-09-30-preview", + "2023-06-01-preview" ], "ServerAdministrator": [ "2017-12-01", @@ -5237,7 +5260,8 @@ "2021-05-01-preview", "2021-12-01-preview", "2022-01-01", - "2022-09-30-preview" + "2022-09-30-preview", + "2023-06-01-preview" ] }, "DBforPostgreSQL": { @@ -5852,7 +5876,8 @@ "2022-12-01", "2023-01-01", "2023-04-01-preview", - "2023-05-01" + "2023-05-01", + "2023-06-01-preview" ], "BackupPolicy": [ "2021-01-01", @@ -5873,7 +5898,8 @@ "2022-12-01", "2023-01-01", "2023-04-01-preview", - "2023-05-01" + "2023-05-01", + "2023-06-01-preview" ], "BackupVault": [ "2021-01-01", @@ -5894,7 +5920,8 @@ "2022-12-01", "2023-01-01", "2023-04-01-preview", - "2023-05-01" + "2023-05-01", + "2023-06-01-preview" ], "DppResourceGuardProxy": [ "2022-09-01-preview", @@ -5902,7 +5929,8 @@ "2022-11-01-preview", "2023-01-01", "2023-04-01-preview", - "2023-05-01" + "2023-05-01", + "2023-06-01-preview" ], "ResourceGuard": [ "2021-07-01", @@ -5920,7 +5948,8 @@ "2022-12-01", "2023-01-01", "2023-04-01-preview", - "2023-05-01" + "2023-05-01", + "2023-06-01-preview" ] }, "DataReplication": { @@ -6157,7 +6186,8 @@ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "ApplicationGroup": [ "2019-01-23-preview", @@ -6177,7 +6207,8 @@ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "HostPool": [ "2019-01-23-preview", @@ -6197,7 +6228,8 @@ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "MSIXPackage": [ "2020-09-21-preview", @@ -6214,7 +6246,8 @@ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "PrivateEndpointConnectionByHostPool": [ "2021-04-01-preview", @@ -6222,7 +6255,8 @@ "2022-02-10-preview", "2022-04-01-preview", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "PrivateEndpointConnectionByWorkspace": [ "2021-04-01-preview", @@ -6230,7 +6264,8 @@ "2022-02-10-preview", "2022-04-01-preview", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "ScalingPlan": [ "2020-11-10-preview", @@ -6244,16 +6279,19 @@ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "ScalingPlanPersonalSchedule": [ - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "ScalingPlanPooledSchedule": [ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ], "Workspace": [ "2019-01-23-preview", @@ -6273,7 +6311,8 @@ "2022-04-01-preview", "2022-09-09", "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" ] }, "DevCenter": { @@ -6283,7 +6322,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "Catalog": [ "2022-08-01-preview", @@ -6291,7 +6331,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "DevBoxDefinition": [ "2022-08-01-preview", @@ -6299,7 +6340,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "DevCenter": [ "2022-08-01-preview", @@ -6307,7 +6349,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "EnvironmentType": [ "2022-08-01-preview", @@ -6315,7 +6358,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "Gallery": [ "2022-08-01-preview", @@ -6323,7 +6367,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "NetworkConnection": [ "2022-08-01-preview", @@ -6331,7 +6376,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "Pool": [ "2022-08-01-preview", @@ -6339,7 +6385,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "Project": [ "2022-08-01-preview", @@ -6347,7 +6394,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "ProjectEnvironmentType": [ "2022-08-01-preview", @@ -6355,7 +6403,8 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" ], "Schedule": [ "2022-08-01-preview", @@ -6363,7 +6412,20 @@ "2022-10-12-preview", "2022-11-11-preview", "2023-01-01-preview", - "2023-04-01" + "2023-04-01", + "2023-08-01-preview" + ], + "getCatalogDevBoxDefinitionErrorDetails": [ + "2023-08-01-preview" + ], + "getCatalogSyncErrorDetails": [ + "2023-08-01-preview" + ], + "getCustomizationTaskErrorDetails": [ + "2023-08-01-preview" + ], + "getEnvironmentDefinitionErrorDetails": [ + "2023-08-01-preview" ] }, "DevHub": { @@ -6807,7 +6869,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "CassandraDataCenter": [ "2021-03-01-preview", @@ -6826,7 +6890,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "CassandraResourceCassandraKeyspace": [ "2019-08-01", @@ -6856,7 +6922,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "CassandraResourceCassandraTable": [ "2019-08-01", @@ -6886,7 +6954,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "CassandraResourceCassandraView": [ "2021-07-01-preview", @@ -6897,7 +6967,8 @@ "2022-08-15-preview", "2022-11-15-preview", "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "DatabaseAccount": [ "2015-04-01", @@ -6932,7 +7003,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "DatabaseAccountCassandraKeyspace": [ "2015-04-01", @@ -7006,7 +7079,8 @@ "2022-08-15-preview", "2022-11-15-preview", "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "GremlinResourceGremlinDatabase": [ "2019-08-01", @@ -7036,7 +7110,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "GremlinResourceGremlinGraph": [ "2019-08-01", @@ -7066,15 +7142,19 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "MongoCluster": [ "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "MongoClusterFirewallRule": [ "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "MongoDBResourceMongoDBCollection": [ "2019-08-01", @@ -7104,7 +7184,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "MongoDBResourceMongoDBDatabase": [ "2019-08-01", @@ -7134,7 +7216,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "MongoDBResourceMongoRoleDefinition": [ "2021-10-15-preview", @@ -7148,7 +7232,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "MongoDBResourceMongoUserDefinition": [ "2021-10-15-preview", @@ -7162,7 +7248,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "NotebookWorkspace": [ "2019-08-01", @@ -7192,7 +7280,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "PrivateEndpointConnection": [ "2019-08-01-preview", @@ -7217,7 +7307,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "Service": [ "2021-04-01-preview", @@ -7234,7 +7326,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlContainer": [ "2019-08-01", @@ -7264,7 +7358,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlDatabase": [ "2019-08-01", @@ -7294,7 +7390,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlRoleAssignment": [ "2020-06-01-preview", @@ -7317,7 +7415,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlRoleDefinition": [ "2020-06-01-preview", @@ -7340,7 +7440,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlStoredProcedure": [ "2019-08-01", @@ -7370,7 +7472,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlTrigger": [ "2019-08-01", @@ -7400,7 +7504,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "SqlResourceSqlUserDefinedFunction": [ "2019-08-01", @@ -7430,7 +7536,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "TableResourceTable": [ "2019-08-01", @@ -7460,7 +7568,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "listDatabaseAccountConnectionStrings": [ "2015-04-01", @@ -7495,7 +7605,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "listDatabaseAccountKeys": [ "2015-04-01", @@ -7530,11 +7642,14 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "listMongoClusterConnectionStrings": [ "2023-03-01-preview", - "2023-03-15-preview" + "2023-03-15-preview", + "2023-09-15-preview" ], "listNotebookWorkspaceConnectionInfo": [ "2019-08-01", @@ -7564,7 +7679,9 @@ "2023-03-01-preview", "2023-03-15", "2023-03-15-preview", - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ] }, "DomainRegistration": { @@ -7807,18 +7924,25 @@ "ElasticSan": { "ElasticSan": [ "2021-11-20-preview", - "2022-12-01-preview" + "2022-12-01-preview", + "2023-01-01" ], "PrivateEndpointConnection": [ - "2022-12-01-preview" + "2022-12-01-preview", + "2023-01-01" ], "Volume": [ "2021-11-20-preview", - "2022-12-01-preview" + "2022-12-01-preview", + "2023-01-01" ], "VolumeGroup": [ "2021-11-20-preview", - "2022-12-01-preview" + "2022-12-01-preview", + "2023-01-01" + ], + "VolumeSnapshot": [ + "2023-01-01" ] }, "EngagementFabric": { @@ -8969,23 +9093,6 @@ "2023-02-08-preview" ] }, - "IoTSecurity": { - "DefenderSetting": [ - "2021-02-01-preview" - ], - "DeviceGroup": [ - "2021-02-01-preview" - ], - "OnPremiseSensor": [ - "2021-02-01-preview" - ], - "Sensor": [ - "2021-02-01-preview" - ], - "Site": [ - "2021-02-01-preview" - ] - }, "KeyVault": { "Key": [ "2019-09-01", @@ -9138,7 +9245,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "Cluster": [ "2017-09-07-privatepreview", @@ -9156,7 +9264,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "ClusterPrincipalAssignment": [ "2019-11-09", @@ -9169,7 +9278,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "DataConnection": [ "2019-01-21", @@ -9185,7 +9295,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "Database": [ "2017-09-07-privatepreview", @@ -9203,7 +9314,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "DatabasePrincipalAssignment": [ "2019-11-09", @@ -9216,7 +9328,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "EventHubConnection": [ "2017-09-07-privatepreview", @@ -9228,7 +9341,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "PrivateEndpointConnection": [ "2021-08-27", @@ -9236,7 +9350,11 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" + ], + "SandboxCustomImage": [ + "2023-08-15" ], "Script": [ "2021-01-01", @@ -9245,7 +9363,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "listClusterFollowerDatabases": [ "2019-09-07", @@ -9259,7 +9378,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "listClusterLanguageExtensions": [ "2020-02-15", @@ -9271,7 +9391,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "listDatabasePrincipals": [ "2017-09-07-privatepreview", @@ -9289,7 +9410,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ] }, "LabServices": { @@ -15806,7 +15928,8 @@ "2022-10-01", "2023-01-01", "2023-02-01", - "2023-04-01" + "2023-04-01", + "2023-06-01" ], "getRecoveryPointAccessToken": [ "2018-12-20", @@ -16444,7 +16567,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "AlertRule": [ "2019-01-01-preview", @@ -16472,7 +16596,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "AutomationRule": [ "2019-01-01-preview", @@ -16498,7 +16623,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "Bookmark": [ "2019-01-01-preview", @@ -16525,7 +16651,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "BookmarkRelation": [ "2019-01-01-preview", @@ -16547,21 +16674,24 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "ContentPackage": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "ContentTemplate": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "DataConnector": [ "2019-01-01-preview", @@ -16589,11 +16719,13 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "DataConnectorDefinition": [ "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "EntityQuery": [ "2021-03-01-preview", @@ -16615,7 +16747,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "FileImport": [ "2022-08-01-preview", @@ -16629,28 +16762,32 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "Hunt": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "HuntComment": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "HuntRelation": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "Incident": [ "2019-01-01-preview", @@ -16679,7 +16816,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "IncidentComment": [ "2019-01-01-preview", @@ -16707,7 +16845,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "IncidentRelation": [ "2019-01-01-preview", @@ -16735,7 +16874,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "IncidentTask": [ "2022-12-01-preview", @@ -16745,7 +16885,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "Metadata": [ "2021-03-01-preview", @@ -16768,7 +16909,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "ProductSetting": [ "2019-01-01-preview", @@ -16791,7 +16933,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "SecurityMLAnalyticsSetting": [ "2022-05-01-preview", @@ -16810,7 +16953,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "SentinelOnboardingState": [ "2021-03-01-preview", @@ -16836,7 +16980,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "SourceControl": [ "2021-03-01-preview", @@ -16882,7 +17027,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "Watchlist": [ "2019-01-01-preview", @@ -16910,7 +17056,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "WatchlistItem": [ "2019-01-01-preview", @@ -16938,35 +17085,40 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "WorkspaceManagerAssignment": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "WorkspaceManagerConfiguration": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "WorkspaceManagerGroup": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "WorkspaceManagerMember": [ "2023-04-01-preview", "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "getEntitiesGetTimeline": [ "2019-01-01-preview", @@ -16988,7 +17140,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "getEntityInsights": [ "2019-01-01-preview", @@ -17010,7 +17163,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "listSourceControlRepositories": [ "2021-03-01-preview", @@ -17032,7 +17186,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ] }, "SerialConsole": { @@ -18921,6 +19076,11 @@ "2023-01-01" ] }, + "StorageActions": { + "StorageTask": [ + "2023-01-01" + ] + }, "StorageCache": { "Cache": [ "2019-08-01-preview", @@ -19070,11 +19230,6 @@ "2022-06-01" ] }, - "StorageTasks": { - "StorageTask": [ - "2023-01-01" - ] - }, "StreamAnalytics": { "Cluster": [ "2020-03-01", diff --git a/reports/allResourcesByVersion.json b/reports/allResourcesByVersion.json index 59eff98ac702..767d3d2d4b8f 100644 --- a/reports/allResourcesByVersion.json +++ b/reports/allResourcesByVersion.json @@ -3087,6 +3087,25 @@ "Secret", "SecurityPolicy", "getProfileSupportedOptimizationTypes" + ], + "2023-07-01-preview": [ + "AFDCustomDomain", + "AFDEndpoint", + "AFDOrigin", + "AFDOriginGroup", + "CustomDomain", + "Endpoint", + "KeyGroup", + "Origin", + "OriginGroup", + "Policy", + "Profile", + "Route", + "Rule", + "RuleSet", + "Secret", + "SecurityPolicy", + "getProfileSupportedOptimizationTypes" ] }, "CertificateRegistration": { @@ -3805,6 +3824,10 @@ "2023-01-26-preview": [ "Ledger", "ManagedCCF" + ], + "2023-06-28-preview": [ + "Ledger", + "ManagedCCF" ] }, "Confluent": { @@ -3882,6 +3905,18 @@ "VirtualMachineInstance", "VirtualMachineTemplate", "VirtualNetwork" + ], + "2023-10-01": [ + "Cluster", + "Datastore", + "Host", + "InventoryItem", + "ResourcePool", + "VCenter", + "VMInstanceGuestAgent", + "VirtualMachineInstance", + "VirtualMachineTemplate", + "VirtualNetwork" ] }, "Consumption": { @@ -4006,22 +4041,11 @@ ] }, "ContainerRegistry": { - "2016-06-27-preview": [ - "Registry", - "getRegistryCredentials" - ], + "": [], "2017-03-01": [ "Registry", "listRegistryCredentials" ], - "2017-06-01-preview": [ - "Registry", - "Replication", - "Webhook", - "getWebhookCallbackConfig", - "listRegistryCredentials", - "listWebhookEvents" - ], "2017-10-01": [ "Registry", "Replication", @@ -4030,14 +4054,6 @@ "listRegistryCredentials", "listWebhookEvents" ], - "2018-02-01-preview": [ - "BuildStep", - "BuildTask", - "getBuildLogLink", - "getRegistryBuildSourceUploadUrl", - "listBuildStepBuildArguments", - "listBuildTaskSourceRepositoryProperties" - ], "2018-09-01": [ "Task", "listRegistryBuildSourceUploadUrl", @@ -4876,6 +4892,23 @@ "listManagedClusterAdminCredentials", "listManagedClusterMonitoringUserCredentials", "listManagedClusterUserCredentials" + ], + "2023-08-01": [ + "AgentPool", + "MaintenanceConfiguration", + "ManagedCluster", + "PrivateEndpointConnection", + "Snapshot", + "listManagedClusterAdminCredentials", + "listManagedClusterMonitoringUserCredentials", + "listManagedClusterUserCredentials" + ], + "2023-08-15-preview": [ + "Fleet", + "FleetMember", + "FleetUpdateStrategy", + "UpdateRun", + "listFleetCredentials" ] }, "ContainerStorage": { @@ -5148,6 +5181,14 @@ "Server", "getGetPrivateDnsZoneSuffixExecute" ], + "2023-06-01-preview": [ + "AzureADAdministrator", + "Configuration", + "Database", + "FirewallRule", + "Server", + "getGetPrivateDnsZoneSuffixExecute" + ], "2023-06-30": [ "PrivateEndpointConnection" ] @@ -5844,6 +5885,13 @@ "BackupVault", "DppResourceGuardProxy", "ResourceGuard" + ], + "2023-06-01-preview": [ + "BackupInstance", + "BackupPolicy", + "BackupVault", + "DppResourceGuardProxy", + "ResourceGuard" ] }, "DataReplication": { @@ -6179,6 +6227,18 @@ "ScalingPlanPersonalSchedule", "ScalingPlanPooledSchedule", "Workspace" + ], + "2023-09-05": [ + "Application", + "ApplicationGroup", + "HostPool", + "MSIXPackage", + "PrivateEndpointConnectionByHostPool", + "PrivateEndpointConnectionByWorkspace", + "ScalingPlan", + "ScalingPlanPersonalSchedule", + "ScalingPlanPooledSchedule", + "Workspace" ] }, "DevCenter": { @@ -6259,6 +6319,23 @@ "Project", "ProjectEnvironmentType", "Schedule" + ], + "2023-08-01-preview": [ + "AttachedNetworkByDevCenter", + "Catalog", + "DevBoxDefinition", + "DevCenter", + "EnvironmentType", + "Gallery", + "NetworkConnection", + "Pool", + "Project", + "ProjectEnvironmentType", + "Schedule", + "getCatalogDevBoxDefinitionErrorDetails", + "getCatalogSyncErrorDetails", + "getCustomizationTaskErrorDetails", + "getEnvironmentDefinitionErrorDetails" ] }, "DevHub": { @@ -7452,6 +7529,65 @@ "listDatabaseAccountConnectionStrings", "listDatabaseAccountKeys", "listNotebookWorkspaceConnectionInfo" + ], + "2023-09-15": [ + "CassandraCluster", + "CassandraDataCenter", + "CassandraResourceCassandraKeyspace", + "CassandraResourceCassandraTable", + "DatabaseAccount", + "GremlinResourceGremlinDatabase", + "GremlinResourceGremlinGraph", + "MongoDBResourceMongoDBCollection", + "MongoDBResourceMongoDBDatabase", + "MongoDBResourceMongoRoleDefinition", + "MongoDBResourceMongoUserDefinition", + "NotebookWorkspace", + "PrivateEndpointConnection", + "Service", + "SqlResourceSqlContainer", + "SqlResourceSqlDatabase", + "SqlResourceSqlRoleAssignment", + "SqlResourceSqlRoleDefinition", + "SqlResourceSqlStoredProcedure", + "SqlResourceSqlTrigger", + "SqlResourceSqlUserDefinedFunction", + "TableResourceTable", + "listDatabaseAccountConnectionStrings", + "listDatabaseAccountKeys", + "listNotebookWorkspaceConnectionInfo" + ], + "2023-09-15-preview": [ + "CassandraCluster", + "CassandraDataCenter", + "CassandraResourceCassandraKeyspace", + "CassandraResourceCassandraTable", + "CassandraResourceCassandraView", + "DatabaseAccount", + "GraphResourceGraph", + "GremlinResourceGremlinDatabase", + "GremlinResourceGremlinGraph", + "MongoCluster", + "MongoClusterFirewallRule", + "MongoDBResourceMongoDBCollection", + "MongoDBResourceMongoDBDatabase", + "MongoDBResourceMongoRoleDefinition", + "MongoDBResourceMongoUserDefinition", + "NotebookWorkspace", + "PrivateEndpointConnection", + "Service", + "SqlResourceSqlContainer", + "SqlResourceSqlDatabase", + "SqlResourceSqlRoleAssignment", + "SqlResourceSqlRoleDefinition", + "SqlResourceSqlStoredProcedure", + "SqlResourceSqlTrigger", + "SqlResourceSqlUserDefinedFunction", + "TableResourceTable", + "listDatabaseAccountConnectionStrings", + "listDatabaseAccountKeys", + "listMongoClusterConnectionStrings", + "listNotebookWorkspaceConnectionInfo" ] }, "DomainRegistration": { @@ -7712,6 +7848,13 @@ "PrivateEndpointConnection", "Volume", "VolumeGroup" + ], + "2023-01-01": [ + "ElasticSan", + "PrivateEndpointConnection", + "Volume", + "VolumeGroup", + "VolumeSnapshot" ] }, "EngagementFabric": { @@ -8859,15 +9002,6 @@ "Workspace" ] }, - "IoTSecurity": { - "2021-02-01-preview": [ - "DefenderSetting", - "DeviceGroup", - "OnPremiseSensor", - "Sensor", - "Site" - ] - }, "KeyVault": { "2015-06-01": [ "Vault" @@ -9217,6 +9351,21 @@ "listClusterFollowerDatabases", "listClusterLanguageExtensions", "listDatabasePrincipals" + ], + "2023-08-15": [ + "AttachedDatabaseConfiguration", + "Cluster", + "ClusterPrincipalAssignment", + "DataConnection", + "Database", + "DatabasePrincipalAssignment", + "ManagedPrivateEndpoint", + "PrivateEndpointConnection", + "SandboxCustomImage", + "Script", + "listClusterFollowerDatabases", + "listClusterLanguageExtensions", + "listDatabasePrincipals" ] }, "LabServices": { @@ -15260,7 +15409,8 @@ "ReplicationRecoveryPlan", "ReplicationRecoveryServicesProvider", "ReplicationStorageClassificationMapping", - "ReplicationvCenter" + "ReplicationvCenter", + "Vault" ] }, "RedHatOpenShift": { @@ -16422,6 +16572,40 @@ "getEntitiesGetTimeline", "getEntityInsights", "listSourceControlRepositories" + ], + "2023-09-01-preview": [ + "Action", + "AlertRule", + "AutomationRule", + "Bookmark", + "BookmarkRelation", + "ContentPackage", + "ContentTemplate", + "DataConnector", + "DataConnectorDefinition", + "EntityQuery", + "FileImport", + "Hunt", + "HuntComment", + "HuntRelation", + "Incident", + "IncidentComment", + "IncidentRelation", + "IncidentTask", + "Metadata", + "ProductSetting", + "SecurityMLAnalyticsSetting", + "SentinelOnboardingState", + "ThreatIntelligenceIndicator", + "Watchlist", + "WatchlistItem", + "WorkspaceManagerAssignment", + "WorkspaceManagerConfiguration", + "WorkspaceManagerGroup", + "WorkspaceManagerMember", + "getEntitiesGetTimeline", + "getEntityInsights", + "listSourceControlRepositories" ] }, "SerialConsole": { @@ -18199,6 +18383,11 @@ "listStorageAccountServiceSAS" ] }, + "StorageActions": { + "2023-01-01": [ + "StorageTask" + ] + }, "StorageCache": { "2019-08-01-preview": [ "Cache", @@ -18372,11 +18561,6 @@ "SyncGroup" ] }, - "StorageTasks": { - "2023-01-01": [ - "StorageTask" - ] - }, "StreamAnalytics": { "2016-03-01": [ "Function", diff --git a/reports/curationViolations.json b/reports/curationViolations.json index 027678546279..fd8dc86d05a5 100644 --- a/reports/curationViolations.json +++ b/reports/curationViolations.json @@ -27,6 +27,10 @@ "Provider": "Billing", "Detail": "expected no additions but found some" }, + { + "Provider": "Cdn", + "Detail": "expected no additions but found some" + }, { "Provider": "Communication", "Detail": "expected tracking preview but found stable" @@ -47,6 +51,10 @@ "Provider": "DevCenter", "Detail": "expected tracking preview but found stable" }, + { + "Provider": "DevCenter", + "Detail": "expected no additions but found some" + }, { "Provider": "EdgeOrder", "Detail": "expected no additions but found some" diff --git a/reports/pending.json b/reports/pending.json index d44569a8b022..35887a01acd5 100644 --- a/reports/pending.json +++ b/reports/pending.json @@ -116,7 +116,9 @@ "2023-08-01-preview" ], "Capacity": [], - "Cdn": [], + "Cdn": [ + "2023-07-01-preview" + ], "CertificateRegistration": [], "ChangeAnalysis": [], "Chaos": [], @@ -138,26 +140,19 @@ ], "ConfidentialLedger": [ "2022-09-08-preview", - "2023-01-26-preview" + "2023-01-26-preview", + "2023-06-28-preview" ], "Confluent": [], "ConnectedVMwarevSphere": [ - "2023-03-01-preview" + "2023-03-01-preview", + "2023-10-01" ], "Consumption": [ "2023-11-01" ], "ContainerInstance": [], "ContainerRegistry": [ - "2017-03-01", - "2017-06-01-preview", - "2017-10-01", - "2018-02-01-preview", - "2018-09-01", - "2019-04-01", - "2019-05-01", - "2019-05-01-preview", - "2019-06-01-preview", "2019-12-01-preview", "2020-11-01-preview", "2021-06-01-preview", @@ -225,7 +220,9 @@ "2023-06-02-preview", "2023-06-15-preview", "2023-07-01", - "2023-07-02-preview" + "2023-07-02-preview", + "2023-08-01", + "2023-08-15-preview" ], "ContainerStorage": [], "CostManagement": [ @@ -260,6 +257,7 @@ ], "DBforMySQL": [ "2022-09-30-preview", + "2023-06-01-preview", "2023-06-30" ], "DBforPostgreSQL": [ @@ -287,7 +285,8 @@ ], "DataProtection": [ "2023-04-01-preview", - "2023-05-01" + "2023-05-01", + "2023-06-01-preview" ], "DataReplication": [], "DataShare": [], @@ -302,9 +301,12 @@ "DeploymentManager": [], "DesktopVirtualization": [ "2022-10-14-preview", - "2023-07-07-preview" + "2023-07-07-preview", + "2023-09-05" + ], + "DevCenter": [ + "2023-08-01-preview" ], - "DevCenter": [], "DevHub": [], "DevOps": [], "DevSpaces": [], @@ -319,7 +321,9 @@ ], "DigitalTwins": [], "DocumentDB": [ - "2023-04-15" + "2023-04-15", + "2023-09-15", + "2023-09-15-preview" ], "DomainRegistration": [], "Dynamics365Fraudprotection": [], @@ -335,7 +339,8 @@ "2023-07-01-preview" ], "ElasticSan": [ - "2022-12-01-preview" + "2022-12-01-preview", + "2023-01-01" ], "EngagementFabric": [], "EnterpriseKnowledgeGraph": [], @@ -450,7 +455,6 @@ "2021-11-01-preview" ], "IoTFirmwareDefense": [], - "IoTSecurity": [], "KeyVault": [], "Kubernetes": [ "2021-10-01", @@ -476,7 +480,8 @@ "2022-07-07", "2022-11-11", "2022-12-29", - "2023-05-02" + "2023-05-02", + "2023-08-15" ], "LabServices": [ "2021-10-01-preview", @@ -750,7 +755,8 @@ "2023-05-01-preview", "2023-06-01-preview", "2023-07-01-preview", - "2023-08-01-preview" + "2023-08-01-preview", + "2023-09-01-preview" ], "SerialConsole": [], "ServiceBus": [ @@ -803,13 +809,13 @@ "Storage": [ "2023-01-01" ], + "StorageActions": [], "StorageCache": [], "StorageMover": [ "2023-07-01-preview" ], "StoragePool": [], "StorageSync": [], - "StorageTasks": [], "StreamAnalytics": [ "2020-03-01-preview", "2021-10-01-preview" diff --git a/sdk/dotnet/Batch/Inputs/FixedScaleSettingsArgs.cs b/sdk/dotnet/Batch/Inputs/FixedScaleSettingsArgs.cs index 3c32aa1303ef..ce001aad2e2b 100644 --- a/sdk/dotnet/Batch/Inputs/FixedScaleSettingsArgs.cs +++ b/sdk/dotnet/Batch/Inputs/FixedScaleSettingsArgs.cs @@ -38,6 +38,7 @@ public sealed class FixedScaleSettingsArgs : global::Pulumi.ResourceArgs public FixedScaleSettingsArgs() { + ResizeTimeout = "PT15M"; } public static new FixedScaleSettingsArgs Empty => new FixedScaleSettingsArgs(); } diff --git a/sdk/dotnet/Batch/Inputs/ImageReferenceArgs.cs b/sdk/dotnet/Batch/Inputs/ImageReferenceArgs.cs index 8d2b9b94d13b..9802e5b3f7ca 100644 --- a/sdk/dotnet/Batch/Inputs/ImageReferenceArgs.cs +++ b/sdk/dotnet/Batch/Inputs/ImageReferenceArgs.cs @@ -44,6 +44,7 @@ public sealed class ImageReferenceArgs : global::Pulumi.ResourceArgs public ImageReferenceArgs() { + Version = "latest"; } public static new ImageReferenceArgs Empty => new ImageReferenceArgs(); } diff --git a/sdk/dotnet/Batch/Inputs/NetworkConfigurationArgs.cs b/sdk/dotnet/Batch/Inputs/NetworkConfigurationArgs.cs index d3dbd2b1c098..0abe8043fc8e 100644 --- a/sdk/dotnet/Batch/Inputs/NetworkConfigurationArgs.cs +++ b/sdk/dotnet/Batch/Inputs/NetworkConfigurationArgs.cs @@ -44,6 +44,7 @@ public sealed class NetworkConfigurationArgs : global::Pulumi.ResourceArgs public NetworkConfigurationArgs() { + DynamicVnetAssignmentScope = Pulumi.AzureNative.Batch.DynamicVNetAssignmentScope.None; } public static new NetworkConfigurationArgs Empty => new NetworkConfigurationArgs(); } diff --git a/sdk/dotnet/Batch/Inputs/StartTaskArgs.cs b/sdk/dotnet/Batch/Inputs/StartTaskArgs.cs index 03a2d6f8655d..7f12a8ed13a8 100644 --- a/sdk/dotnet/Batch/Inputs/StartTaskArgs.cs +++ b/sdk/dotnet/Batch/Inputs/StartTaskArgs.cs @@ -36,7 +36,7 @@ public InputList EnvironmentSettings } /// - /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. /// [Input("maxTaskRetryCount")] public Input? MaxTaskRetryCount { get; set; } @@ -63,6 +63,7 @@ public InputList ResourceFiles public StartTaskArgs() { + MaxTaskRetryCount = 0; } public static new StartTaskArgs Empty => new StartTaskArgs(); } diff --git a/sdk/dotnet/Batch/Inputs/TaskSchedulingPolicyArgs.cs b/sdk/dotnet/Batch/Inputs/TaskSchedulingPolicyArgs.cs index e54ae35926a3..8fcf1bfe90c0 100644 --- a/sdk/dotnet/Batch/Inputs/TaskSchedulingPolicyArgs.cs +++ b/sdk/dotnet/Batch/Inputs/TaskSchedulingPolicyArgs.cs @@ -17,6 +17,7 @@ public sealed class TaskSchedulingPolicyArgs : global::Pulumi.ResourceArgs public TaskSchedulingPolicyArgs() { + NodeFillType = Pulumi.AzureNative.Batch.ComputeNodeFillType.Spread; } public static new TaskSchedulingPolicyArgs Empty => new TaskSchedulingPolicyArgs(); } diff --git a/sdk/dotnet/Batch/Outputs/StartTaskResponse.cs b/sdk/dotnet/Batch/Outputs/StartTaskResponse.cs index bba2cae65e89..8a0f80cc3f14 100644 --- a/sdk/dotnet/Batch/Outputs/StartTaskResponse.cs +++ b/sdk/dotnet/Batch/Outputs/StartTaskResponse.cs @@ -26,7 +26,7 @@ public sealed class StartTaskResponse public readonly Outputs.TaskContainerSettingsResponse? ContainerSettings; public readonly ImmutableArray EnvironmentSettings; /// - /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. /// public readonly int? MaxTaskRetryCount; public readonly ImmutableArray ResourceFiles; diff --git a/sdk/dotnet/Batch/Pool.cs b/sdk/dotnet/Batch/Pool.cs index 980a1074a24e..c1106e506d3c 100644 --- a/sdk/dotnet/Batch/Pool.cs +++ b/sdk/dotnet/Batch/Pool.cs @@ -394,6 +394,7 @@ public InputList UserAccounts public PoolArgs() { + TaskSlotsPerNode = 1; } public static new PoolArgs Empty => new PoolArgs(); } diff --git a/sdk/dotnet/Batch/V20230501/Inputs/FixedScaleSettingsArgs.cs b/sdk/dotnet/Batch/V20230501/Inputs/FixedScaleSettingsArgs.cs index 1dcbde1dac81..ca037acbf986 100644 --- a/sdk/dotnet/Batch/V20230501/Inputs/FixedScaleSettingsArgs.cs +++ b/sdk/dotnet/Batch/V20230501/Inputs/FixedScaleSettingsArgs.cs @@ -38,6 +38,7 @@ public sealed class FixedScaleSettingsArgs : global::Pulumi.ResourceArgs public FixedScaleSettingsArgs() { + ResizeTimeout = "PT15M"; } public static new FixedScaleSettingsArgs Empty => new FixedScaleSettingsArgs(); } diff --git a/sdk/dotnet/Batch/V20230501/Inputs/ImageReferenceArgs.cs b/sdk/dotnet/Batch/V20230501/Inputs/ImageReferenceArgs.cs index fb384ca93eff..987f81c35005 100644 --- a/sdk/dotnet/Batch/V20230501/Inputs/ImageReferenceArgs.cs +++ b/sdk/dotnet/Batch/V20230501/Inputs/ImageReferenceArgs.cs @@ -44,6 +44,7 @@ public sealed class ImageReferenceArgs : global::Pulumi.ResourceArgs public ImageReferenceArgs() { + Version = "latest"; } public static new ImageReferenceArgs Empty => new ImageReferenceArgs(); } diff --git a/sdk/dotnet/Batch/V20230501/Inputs/NetworkConfigurationArgs.cs b/sdk/dotnet/Batch/V20230501/Inputs/NetworkConfigurationArgs.cs index bb780829fa8e..2d50e0b503ec 100644 --- a/sdk/dotnet/Batch/V20230501/Inputs/NetworkConfigurationArgs.cs +++ b/sdk/dotnet/Batch/V20230501/Inputs/NetworkConfigurationArgs.cs @@ -44,6 +44,7 @@ public sealed class NetworkConfigurationArgs : global::Pulumi.ResourceArgs public NetworkConfigurationArgs() { + DynamicVnetAssignmentScope = Pulumi.AzureNative.Batch.V20230501.DynamicVNetAssignmentScope.None; } public static new NetworkConfigurationArgs Empty => new NetworkConfigurationArgs(); } diff --git a/sdk/dotnet/Batch/V20230501/Inputs/StartTaskArgs.cs b/sdk/dotnet/Batch/V20230501/Inputs/StartTaskArgs.cs index 395d9255f3ad..e24fbe739955 100644 --- a/sdk/dotnet/Batch/V20230501/Inputs/StartTaskArgs.cs +++ b/sdk/dotnet/Batch/V20230501/Inputs/StartTaskArgs.cs @@ -36,7 +36,7 @@ public InputList EnvironmentSettings } /// - /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. /// [Input("maxTaskRetryCount")] public Input? MaxTaskRetryCount { get; set; } @@ -63,6 +63,7 @@ public InputList ResourceFiles public StartTaskArgs() { + MaxTaskRetryCount = 0; } public static new StartTaskArgs Empty => new StartTaskArgs(); } diff --git a/sdk/dotnet/Batch/V20230501/Inputs/TaskSchedulingPolicyArgs.cs b/sdk/dotnet/Batch/V20230501/Inputs/TaskSchedulingPolicyArgs.cs index 0e9f8c97fd6a..5251983e2f0b 100644 --- a/sdk/dotnet/Batch/V20230501/Inputs/TaskSchedulingPolicyArgs.cs +++ b/sdk/dotnet/Batch/V20230501/Inputs/TaskSchedulingPolicyArgs.cs @@ -17,6 +17,7 @@ public sealed class TaskSchedulingPolicyArgs : global::Pulumi.ResourceArgs public TaskSchedulingPolicyArgs() { + NodeFillType = Pulumi.AzureNative.Batch.V20230501.ComputeNodeFillType.Spread; } public static new TaskSchedulingPolicyArgs Empty => new TaskSchedulingPolicyArgs(); } diff --git a/sdk/dotnet/Batch/V20230501/Outputs/StartTaskResponse.cs b/sdk/dotnet/Batch/V20230501/Outputs/StartTaskResponse.cs index 949d75ee5ebc..03498670f547 100644 --- a/sdk/dotnet/Batch/V20230501/Outputs/StartTaskResponse.cs +++ b/sdk/dotnet/Batch/V20230501/Outputs/StartTaskResponse.cs @@ -26,7 +26,7 @@ public sealed class StartTaskResponse public readonly Outputs.TaskContainerSettingsResponse? ContainerSettings; public readonly ImmutableArray EnvironmentSettings; /// - /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + /// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. /// public readonly int? MaxTaskRetryCount; public readonly ImmutableArray ResourceFiles; diff --git a/sdk/dotnet/Batch/V20230501/Pool.cs b/sdk/dotnet/Batch/V20230501/Pool.cs index 89755611de68..96d28c192de4 100644 --- a/sdk/dotnet/Batch/V20230501/Pool.cs +++ b/sdk/dotnet/Batch/V20230501/Pool.cs @@ -393,6 +393,7 @@ public InputList UserAccounts public PoolArgs() { + TaskSlotsPerNode = 1; } public static new PoolArgs Empty => new PoolArgs(); } diff --git a/sdk/dotnet/Cdn/AFDCustomDomain.cs b/sdk/dotnet/Cdn/AFDCustomDomain.cs index fa16df7feb9e..54f54b8c5d1d 100644 --- a/sdk/dotnet/Cdn/AFDCustomDomain.cs +++ b/sdk/dotnet/Cdn/AFDCustomDomain.cs @@ -121,6 +121,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDCustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDCustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDCustomDomain"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/AFDEndpoint.cs b/sdk/dotnet/Cdn/AFDEndpoint.cs index 6ac740548b64..a91aab23b58f 100644 --- a/sdk/dotnet/Cdn/AFDEndpoint.cs +++ b/sdk/dotnet/Cdn/AFDEndpoint.cs @@ -109,6 +109,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDEndpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/AFDOrigin.cs b/sdk/dotnet/Cdn/AFDOrigin.cs index 2e66e157057a..8b7fba034207 100644 --- a/sdk/dotnet/Cdn/AFDOrigin.cs +++ b/sdk/dotnet/Cdn/AFDOrigin.cs @@ -139,6 +139,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOrigin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOrigin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDOrigin"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/AFDOriginGroup.cs b/sdk/dotnet/Cdn/AFDOriginGroup.cs index f866733a7dfa..48fbcceccd0b 100644 --- a/sdk/dotnet/Cdn/AFDOriginGroup.cs +++ b/sdk/dotnet/Cdn/AFDOriginGroup.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDOriginGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/CustomDomain.cs b/sdk/dotnet/Cdn/CustomDomain.cs index be16bdcdf890..6f4af0c5df3c 100644 --- a/sdk/dotnet/Cdn/CustomDomain.cs +++ b/sdk/dotnet/Cdn/CustomDomain.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:CustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:CustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:CustomDomain"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/Endpoint.cs b/sdk/dotnet/Cdn/Endpoint.cs index 371d8987d844..18191b9eca63 100644 --- a/sdk/dotnet/Cdn/Endpoint.cs +++ b/sdk/dotnet/Cdn/Endpoint.cs @@ -207,6 +207,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Endpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Endpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Endpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/GetKeyGroup.cs b/sdk/dotnet/Cdn/GetKeyGroup.cs new file mode 100644 index 000000000000..1716ca1bc44b --- /dev/null +++ b/sdk/dotnet/Cdn/GetKeyGroup.cs @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn +{ + public static class GetKeyGroup + { + /// + /// Gets an existing KeyGroup within a profile. + /// Azure REST API version: 2023-07-01-preview. + /// + public static Task InvokeAsync(GetKeyGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn:getKeyGroup", args ?? new GetKeyGroupArgs(), options.WithDefaults()); + + /// + /// Gets an existing KeyGroup within a profile. + /// Azure REST API version: 2023-07-01-preview. + /// + public static Output Invoke(GetKeyGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn:getKeyGroup", args ?? new GetKeyGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetKeyGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the KeyGroup under the profile. + /// + [Input("keyGroupName", required: true)] + public string KeyGroupName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetKeyGroupArgs() + { + } + public static new GetKeyGroupArgs Empty => new GetKeyGroupArgs(); + } + + public sealed class GetKeyGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the KeyGroup under the profile. + /// + [Input("keyGroupName", required: true)] + public Input KeyGroupName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetKeyGroupInvokeArgs() + { + } + public static new GetKeyGroupInvokeArgs Empty => new GetKeyGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetKeyGroupResult + { + public readonly string DeploymentStatus; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Names of UrlSigningKey type secret objects + /// + public readonly ImmutableArray KeyReferences; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetKeyGroupResult( + string deploymentStatus, + + string id, + + ImmutableArray keyReferences, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + DeploymentStatus = deploymentStatus; + Id = id; + KeyReferences = keyReferences; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/KeyGroup.cs b/sdk/dotnet/Cdn/KeyGroup.cs new file mode 100644 index 000000000000..c0481d0e003e --- /dev/null +++ b/sdk/dotnet/Cdn/KeyGroup.cs @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn +{ + /// + /// Contains a list of references of UrlSigningKey type secret objects. + /// Azure REST API version: 2023-07-01-preview. + /// + [AzureNativeResourceType("azure-native:cdn:KeyGroup")] + public partial class KeyGroup : global::Pulumi.CustomResource + { + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Names of UrlSigningKey type secret objects + /// + [Output("keyReferences")] + public Output> KeyReferences { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a KeyGroup 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 KeyGroup(string name, KeyGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn:KeyGroup", name, args ?? new KeyGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private KeyGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn:KeyGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:KeyGroup"}, + }, + }; + 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 KeyGroup 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. + /// A bag of options that control this resource's behavior + public static KeyGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new KeyGroup(name, id, options); + } + } + + public sealed class KeyGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the KeyGroup under the profile. + /// + [Input("keyGroupName")] + public Input? KeyGroupName { get; set; } + + [Input("keyReferences")] + private InputList? _keyReferences; + + /// + /// Names of UrlSigningKey type secret objects + /// + public InputList KeyReferences + { + get => _keyReferences ?? (_keyReferences = new InputList()); + set => _keyReferences = value; + } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public KeyGroupArgs() + { + } + public static new KeyGroupArgs Empty => new KeyGroupArgs(); + } +} diff --git a/sdk/dotnet/Cdn/Origin.cs b/sdk/dotnet/Cdn/Origin.cs index 19d8f8f04588..a99017179069 100644 --- a/sdk/dotnet/Cdn/Origin.cs +++ b/sdk/dotnet/Cdn/Origin.cs @@ -153,6 +153,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Origin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Origin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Origin"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/OriginGroup.cs b/sdk/dotnet/Cdn/OriginGroup.cs index 8efdc881f9a6..a082051d692e 100644 --- a/sdk/dotnet/Cdn/OriginGroup.cs +++ b/sdk/dotnet/Cdn/OriginGroup.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:OriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:OriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:OriginGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/Policy.cs b/sdk/dotnet/Cdn/Policy.cs index e02ed51db6d7..30b612c2eec0 100644 --- a/sdk/dotnet/Cdn/Policy.cs +++ b/sdk/dotnet/Cdn/Policy.cs @@ -137,6 +137,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Policy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Policy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Policy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/Profile.cs b/sdk/dotnet/Cdn/Profile.cs index 6963d08e0e1d..6f3adc8f0d13 100644 --- a/sdk/dotnet/Cdn/Profile.cs +++ b/sdk/dotnet/Cdn/Profile.cs @@ -135,6 +135,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Profile"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Profile"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Profile"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/Route.cs b/sdk/dotnet/Cdn/Route.cs index ad506ded43c9..c4182ec47afc 100644 --- a/sdk/dotnet/Cdn/Route.cs +++ b/sdk/dotnet/Cdn/Route.cs @@ -145,6 +145,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Route"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Route"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Route"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/Rule.cs b/sdk/dotnet/Cdn/Rule.cs index 4e8719b96d38..507f085a09d9 100644 --- a/sdk/dotnet/Cdn/Rule.cs +++ b/sdk/dotnet/Cdn/Rule.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Rule"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Rule"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Rule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/RuleSet.cs b/sdk/dotnet/Cdn/RuleSet.cs index 1638c8ccfd99..c31baf542d03 100644 --- a/sdk/dotnet/Cdn/RuleSet.cs +++ b/sdk/dotnet/Cdn/RuleSet.cs @@ -79,6 +79,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:RuleSet"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:RuleSet"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:RuleSet"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/Secret.cs b/sdk/dotnet/Cdn/Secret.cs index 75cc40030a13..c261a3c6f743 100644 --- a/sdk/dotnet/Cdn/Secret.cs +++ b/sdk/dotnet/Cdn/Secret.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Secret"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Secret"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Secret"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/SecurityPolicy.cs b/sdk/dotnet/Cdn/SecurityPolicy.cs index 16ea88f2a5a3..a1e6de413e54 100644 --- a/sdk/dotnet/Cdn/SecurityPolicy.cs +++ b/sdk/dotnet/Cdn/SecurityPolicy.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:SecurityPolicy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:SecurityPolicy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:SecurityPolicy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20200901/AFDEndpoint.cs b/sdk/dotnet/Cdn/V20200901/AFDEndpoint.cs index 374c7bf2df19..d8b704070d36 100644 --- a/sdk/dotnet/Cdn/V20200901/AFDEndpoint.cs +++ b/sdk/dotnet/Cdn/V20200901/AFDEndpoint.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDEndpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20200901/AFDOriginGroup.cs b/sdk/dotnet/Cdn/V20200901/AFDOriginGroup.cs index a09d27ee570f..97ef0835789e 100644 --- a/sdk/dotnet/Cdn/V20200901/AFDOriginGroup.cs +++ b/sdk/dotnet/Cdn/V20200901/AFDOriginGroup.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDOriginGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20200901/Profile.cs b/sdk/dotnet/Cdn/V20200901/Profile.cs index f1b465985b67..4d7714f901ce 100644 --- a/sdk/dotnet/Cdn/V20200901/Profile.cs +++ b/sdk/dotnet/Cdn/V20200901/Profile.cs @@ -110,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Profile"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Profile"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Profile"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20200901/Route.cs b/sdk/dotnet/Cdn/V20200901/Route.cs index 7ad19e11c2b3..7af8c5398f29 100644 --- a/sdk/dotnet/Cdn/V20200901/Route.cs +++ b/sdk/dotnet/Cdn/V20200901/Route.cs @@ -144,6 +144,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Route"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Route"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Route"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/AFDCustomDomain.cs b/sdk/dotnet/Cdn/V20230501/AFDCustomDomain.cs index 1b85dc649352..0cd1618b9c57 100644 --- a/sdk/dotnet/Cdn/V20230501/AFDCustomDomain.cs +++ b/sdk/dotnet/Cdn/V20230501/AFDCustomDomain.cs @@ -120,6 +120,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDCustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDCustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDCustomDomain"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/AFDEndpoint.cs b/sdk/dotnet/Cdn/V20230501/AFDEndpoint.cs index 1c125c4dea80..f8ec8ca4a2c2 100644 --- a/sdk/dotnet/Cdn/V20230501/AFDEndpoint.cs +++ b/sdk/dotnet/Cdn/V20230501/AFDEndpoint.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDEndpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/AFDOrigin.cs b/sdk/dotnet/Cdn/V20230501/AFDOrigin.cs index fe2be8e2810f..1f259c2092c5 100644 --- a/sdk/dotnet/Cdn/V20230501/AFDOrigin.cs +++ b/sdk/dotnet/Cdn/V20230501/AFDOrigin.cs @@ -138,6 +138,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDOrigin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOrigin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDOrigin"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/AFDOriginGroup.cs b/sdk/dotnet/Cdn/V20230501/AFDOriginGroup.cs index 931fdb9b5908..8babdf4b7b5b 100644 --- a/sdk/dotnet/Cdn/V20230501/AFDOriginGroup.cs +++ b/sdk/dotnet/Cdn/V20230501/AFDOriginGroup.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDOriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:AFDOriginGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/CustomDomain.cs b/sdk/dotnet/Cdn/V20230501/CustomDomain.cs index 66a649ba6106..a9ab4188afa8 100644 --- a/sdk/dotnet/Cdn/V20230501/CustomDomain.cs +++ b/sdk/dotnet/Cdn/V20230501/CustomDomain.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:CustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:CustomDomain"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:CustomDomain"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Endpoint.cs b/sdk/dotnet/Cdn/V20230501/Endpoint.cs index bd5f1381f0b8..35edecc2f1f5 100644 --- a/sdk/dotnet/Cdn/V20230501/Endpoint.cs +++ b/sdk/dotnet/Cdn/V20230501/Endpoint.cs @@ -206,6 +206,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Endpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Endpoint"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Endpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Origin.cs b/sdk/dotnet/Cdn/V20230501/Origin.cs index ca8cc59388f5..b784bd10d1a1 100644 --- a/sdk/dotnet/Cdn/V20230501/Origin.cs +++ b/sdk/dotnet/Cdn/V20230501/Origin.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Origin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Origin"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Origin"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/OriginGroup.cs b/sdk/dotnet/Cdn/V20230501/OriginGroup.cs index 3db5765a3fbf..8346d3a3485f 100644 --- a/sdk/dotnet/Cdn/V20230501/OriginGroup.cs +++ b/sdk/dotnet/Cdn/V20230501/OriginGroup.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:OriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:OriginGroup"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:OriginGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Policy.cs b/sdk/dotnet/Cdn/V20230501/Policy.cs index 7a3365750ef8..7be12a1122ba 100644 --- a/sdk/dotnet/Cdn/V20230501/Policy.cs +++ b/sdk/dotnet/Cdn/V20230501/Policy.cs @@ -136,6 +136,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Policy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Policy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Policy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Profile.cs b/sdk/dotnet/Cdn/V20230501/Profile.cs index 1ac2c19c2aec..11cb417574d5 100644 --- a/sdk/dotnet/Cdn/V20230501/Profile.cs +++ b/sdk/dotnet/Cdn/V20230501/Profile.cs @@ -134,6 +134,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Profile"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Profile"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Profile"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Route.cs b/sdk/dotnet/Cdn/V20230501/Route.cs index e1a3711e6b43..012de7297165 100644 --- a/sdk/dotnet/Cdn/V20230501/Route.cs +++ b/sdk/dotnet/Cdn/V20230501/Route.cs @@ -144,6 +144,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Route"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Route"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Route"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Rule.cs b/sdk/dotnet/Cdn/V20230501/Rule.cs index 2e45e7e84716..ee13b5a16e69 100644 --- a/sdk/dotnet/Cdn/V20230501/Rule.cs +++ b/sdk/dotnet/Cdn/V20230501/Rule.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Rule"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Rule"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Rule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/RuleSet.cs b/sdk/dotnet/Cdn/V20230501/RuleSet.cs index df8bd9c8dfa7..cfc3c1171e86 100644 --- a/sdk/dotnet/Cdn/V20230501/RuleSet.cs +++ b/sdk/dotnet/Cdn/V20230501/RuleSet.cs @@ -78,6 +78,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:RuleSet"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:RuleSet"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:RuleSet"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/Secret.cs b/sdk/dotnet/Cdn/V20230501/Secret.cs index 168e2d89dc9f..39bc88d906e7 100644 --- a/sdk/dotnet/Cdn/V20230501/Secret.cs +++ b/sdk/dotnet/Cdn/V20230501/Secret.cs @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Secret"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Secret"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:Secret"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230501/SecurityPolicy.cs b/sdk/dotnet/Cdn/V20230501/SecurityPolicy.cs index ebca5b8b3b86..5c8dc1de6502 100644 --- a/sdk/dotnet/Cdn/V20230501/SecurityPolicy.cs +++ b/sdk/dotnet/Cdn/V20230501/SecurityPolicy.cs @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:SecurityPolicy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:SecurityPolicy"}, new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230701preview:SecurityPolicy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Cdn/V20230701Preview/AFDCustomDomain.cs b/sdk/dotnet/Cdn/V20230701Preview/AFDCustomDomain.cs new file mode 100644 index 000000000000..fe0cd9342bd2 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/AFDCustomDomain.cs @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:AFDCustomDomain")] + public partial class AFDCustomDomain : global::Pulumi.CustomResource + { + /// + /// Resource reference to the Azure DNS zone + /// + [Output("azureDnsZone")] + public Output AzureDnsZone { get; private set; } = null!; + + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + /// + [Output("domainValidationState")] + public Output DomainValidationState { get; private set; } = null!; + + /// + /// Key-Value pair representing migration properties for domains. + /// + [Output("extendedProperties")] + public Output?> ExtendedProperties { get; private set; } = null!; + + /// + /// The host name of the domain. Must be a domain name. + /// + [Output("hostName")] + public Output HostName { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Resource reference to the Azure resource where custom domain ownership was prevalidated + /// + [Output("preValidatedCustomDomainResourceId")] + public Output PreValidatedCustomDomainResourceId { get; private set; } = null!; + + /// + /// The name of the profile which holds the domain. + /// + [Output("profileName")] + public Output ProfileName { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + /// + [Output("tlsSettings")] + public Output TlsSettings { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Values the customer needs to validate domain ownership + /// + [Output("validationProperties")] + public Output ValidationProperties { get; private set; } = null!; + + + /// + /// Create a AFDCustomDomain 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 AFDCustomDomain(string name, AFDCustomDomainArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDCustomDomain", name, args ?? new AFDCustomDomainArgs(), MakeResourceOptions(options, "")) + { + } + + private AFDCustomDomain(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDCustomDomain", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDCustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDCustomDomain"}, + }, + }; + 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 AFDCustomDomain 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. + /// A bag of options that control this resource's behavior + public static AFDCustomDomain Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AFDCustomDomain(name, id, options); + } + } + + public sealed class AFDCustomDomainArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource reference to the Azure DNS zone + /// + [Input("azureDnsZone")] + public Input? AzureDnsZone { get; set; } + + /// + /// Name of the domain under the profile which is unique globally + /// + [Input("customDomainName")] + public Input? CustomDomainName { get; set; } + + [Input("extendedProperties")] + private InputMap? _extendedProperties; + + /// + /// Key-Value pair representing migration properties for domains. + /// + public InputMap ExtendedProperties + { + get => _extendedProperties ?? (_extendedProperties = new InputMap()); + set => _extendedProperties = value; + } + + /// + /// The host name of the domain. Must be a domain name. + /// + [Input("hostName", required: true)] + public Input HostName { get; set; } = null!; + + /// + /// Resource reference to the Azure resource where custom domain ownership was prevalidated + /// + [Input("preValidatedCustomDomainResourceId")] + public Input? PreValidatedCustomDomainResourceId { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + /// + [Input("tlsSettings")] + public Input? TlsSettings { get; set; } + + public AFDCustomDomainArgs() + { + } + public static new AFDCustomDomainArgs Empty => new AFDCustomDomainArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/AFDEndpoint.cs b/sdk/dotnet/Cdn/V20230701Preview/AFDEndpoint.cs new file mode 100644 index 000000000000..0aeeac12a878 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/AFDEndpoint.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format <endpointname>.azureedge.net. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:AFDEndpoint")] + public partial class AFDEndpoint : global::Pulumi.CustomResource + { + /// + /// Indicates the endpoint name reuse scope. The default value is TenantReuse. + /// + [Output("autoGeneratedDomainNameLabelScope")] + public Output AutoGeneratedDomainNameLabelScope { get; private set; } = null!; + + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + [Output("enabledState")] + public Output EnabledState { get; private set; } = null!; + + /// + /// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + /// + [Output("hostName")] + public Output HostName { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name of the profile which holds the endpoint. + /// + [Output("profileName")] + public Output ProfileName { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AFDEndpoint 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 AFDEndpoint(string name, AFDEndpointArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDEndpoint", name, args ?? new AFDEndpointArgs(), MakeResourceOptions(options, "")) + { + } + + private AFDEndpoint(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDEndpoint", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDEndpoint"}, + }, + }; + 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 AFDEndpoint 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. + /// A bag of options that control this resource's behavior + public static AFDEndpoint Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AFDEndpoint(name, id, options); + } + } + + public sealed class AFDEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates the endpoint name reuse scope. The default value is TenantReuse. + /// + [Input("autoGeneratedDomainNameLabelScope")] + public InputUnion? AutoGeneratedDomainNameLabelScope { get; set; } + + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName")] + public Input? EndpointName { get; set; } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public AFDEndpointArgs() + { + } + public static new AFDEndpointArgs Empty => new AFDEndpointArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/AFDOrigin.cs b/sdk/dotnet/Cdn/V20230701Preview/AFDOrigin.cs new file mode 100644 index 000000000000..15b239888632 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/AFDOrigin.cs @@ -0,0 +1,257 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:AFDOrigin")] + public partial class AFDOrigin : global::Pulumi.CustomResource + { + /// + /// Resource reference to the Azure origin resource. + /// + [Output("azureOrigin")] + public Output AzureOrigin { get; private set; } = null!; + + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + /// + [Output("enabledState")] + public Output EnabledState { get; private set; } = null!; + + /// + /// Whether to enable certificate name check at origin level + /// + [Output("enforceCertificateNameCheck")] + public Output EnforceCertificateNameCheck { get; private set; } = null!; + + /// + /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + /// + [Output("hostName")] + public Output HostName { get; private set; } = null!; + + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + [Output("httpPort")] + public Output HttpPort { get; private set; } = null!; + + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + [Output("httpsPort")] + public Output HttpsPort { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name of the origin group which contains this origin. + /// + [Output("originGroupName")] + public Output OriginGroupName { get; private set; } = null!; + + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + /// + [Output("originHostHeader")] + public Output OriginHostHeader { get; private set; } = null!; + + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + /// + [Output("priority")] + public Output Priority { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The properties of the private link resource for private origin. + /// + [Output("sharedPrivateLinkResource")] + public Output SharedPrivateLinkResource { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + [Output("weight")] + public Output Weight { get; private set; } = null!; + + + /// + /// Create a AFDOrigin 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 AFDOrigin(string name, AFDOriginArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDOrigin", name, args ?? new AFDOriginArgs(), MakeResourceOptions(options, "")) + { + } + + private AFDOrigin(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDOrigin", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOrigin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDOrigin"}, + }, + }; + 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 AFDOrigin 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. + /// A bag of options that control this resource's behavior + public static AFDOrigin Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AFDOrigin(name, id, options); + } + } + + public sealed class AFDOriginArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource reference to the Azure origin resource. + /// + [Input("azureOrigin")] + public Input? AzureOrigin { get; set; } + + /// + /// Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + /// + /// Whether to enable certificate name check at origin level + /// + [Input("enforceCertificateNameCheck")] + public Input? EnforceCertificateNameCheck { get; set; } + + /// + /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + /// + [Input("hostName", required: true)] + public Input HostName { get; set; } = null!; + + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + [Input("httpPort")] + public Input? HttpPort { get; set; } + + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + [Input("httpsPort")] + public Input? HttpsPort { get; set; } + + /// + /// Name of the origin group which is unique within the profile. + /// + [Input("originGroupName", required: true)] + public Input OriginGroupName { get; set; } = null!; + + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + /// + [Input("originHostHeader")] + public Input? OriginHostHeader { get; set; } + + /// + /// Name of the origin that is unique within the profile. + /// + [Input("originName")] + public Input? OriginName { get; set; } + + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + /// + [Input("priority")] + public Input? Priority { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The properties of the private link resource for private origin. + /// + [Input("sharedPrivateLinkResource")] + public Input? SharedPrivateLinkResource { get; set; } + + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + [Input("weight")] + public Input? Weight { get; set; } + + public AFDOriginArgs() + { + EnforceCertificateNameCheck = true; + HttpPort = 80; + HttpsPort = 443; + } + public static new AFDOriginArgs Empty => new AFDOriginArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/AFDOriginGroup.cs b/sdk/dotnet/Cdn/V20230701Preview/AFDOriginGroup.cs new file mode 100644 index 000000000000..950942d635fd --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/AFDOriginGroup.cs @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:AFDOriginGroup")] + public partial class AFDOriginGroup : global::Pulumi.CustomResource + { + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + [Output("healthProbeSettings")] + public Output HealthProbeSettings { get; private set; } = null!; + + /// + /// Load balancing settings for a backend pool + /// + [Output("loadBalancingSettings")] + public Output LoadBalancingSettings { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name of the profile which holds the origin group. + /// + [Output("profileName")] + public Output ProfileName { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + /// + [Output("sessionAffinityState")] + public Output SessionAffinityState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + [Output("trafficRestorationTimeToHealedOrNewEndpointsInMinutes")] + public Output TrafficRestorationTimeToHealedOrNewEndpointsInMinutes { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AFDOriginGroup 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 AFDOriginGroup(string name, AFDOriginGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDOriginGroup", name, args ?? new AFDOriginGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private AFDOriginGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:AFDOriginGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:AFDOriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:AFDOriginGroup"}, + }, + }; + 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 AFDOriginGroup 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. + /// A bag of options that control this resource's behavior + public static AFDOriginGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AFDOriginGroup(name, id, options); + } + } + + public sealed class AFDOriginGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + [Input("healthProbeSettings")] + public Input? HealthProbeSettings { get; set; } + + /// + /// Load balancing settings for a backend pool + /// + [Input("loadBalancingSettings")] + public Input? LoadBalancingSettings { get; set; } + + /// + /// Name of the origin group which is unique within the endpoint. + /// + [Input("originGroupName")] + public Input? OriginGroupName { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + /// + [Input("sessionAffinityState")] + public InputUnion? SessionAffinityState { get; set; } + + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + [Input("trafficRestorationTimeToHealedOrNewEndpointsInMinutes")] + public Input? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes { get; set; } + + public AFDOriginGroupArgs() + { + } + public static new AFDOriginGroupArgs Empty => new AFDOriginGroupArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/CustomDomain.cs b/sdk/dotnet/Cdn/V20230701Preview/CustomDomain.cs new file mode 100644 index 000000000000..7abaaf269d5f --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/CustomDomain.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:CustomDomain")] + public partial class CustomDomain : global::Pulumi.CustomResource + { + /// + /// Certificate parameters for securing custom HTTPS + /// + [Output("customHttpsParameters")] + public Output?> CustomHttpsParameters { get; private set; } = null!; + + /// + /// Provisioning status of the custom domain. + /// + [Output("customHttpsProvisioningState")] + public Output CustomHttpsProvisioningState { get; private set; } = null!; + + /// + /// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + /// + [Output("customHttpsProvisioningSubstate")] + public Output CustomHttpsProvisioningSubstate { get; private set; } = null!; + + /// + /// The host name of the custom domain. Must be a domain name. + /// + [Output("hostName")] + public Output HostName { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Provisioning status of Custom Https of the custom domain. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Resource status of the custom domain. + /// + [Output("resourceState")] + public Output ResourceState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + /// + [Output("validationData")] + public Output ValidationData { get; private set; } = null!; + + + /// + /// Create a CustomDomain 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 CustomDomain(string name, CustomDomainArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:CustomDomain", name, args ?? new CustomDomainArgs(), MakeResourceOptions(options, "")) + { + } + + private CustomDomain(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:CustomDomain", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20150601:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20160402:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20161002:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20170402:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20171012:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190415:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615preview:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20191231:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200331:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200415:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:CustomDomain"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:CustomDomain"}, + }, + }; + 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 CustomDomain 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. + /// A bag of options that control this resource's behavior + public static CustomDomain Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CustomDomain(name, id, options); + } + } + + public sealed class CustomDomainArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the custom domain within an endpoint. + /// + [Input("customDomainName")] + public Input? CustomDomainName { get; set; } + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// The host name of the custom domain. Must be a domain name. + /// + [Input("hostName", required: true)] + public Input HostName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public CustomDomainArgs() + { + } + public static new CustomDomainArgs Empty => new CustomDomainArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Endpoint.cs b/sdk/dotnet/Cdn/V20230701Preview/Endpoint.cs new file mode 100644 index 000000000000..beca951afabb --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Endpoint.cs @@ -0,0 +1,403 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format <endpointname>.azureedge.net. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Endpoint")] + public partial class Endpoint : global::Pulumi.CustomResource + { + /// + /// List of content types on which compression applies. The value should be a valid MIME type. + /// + [Output("contentTypesToCompress")] + public Output> ContentTypesToCompress { get; private set; } = null!; + + /// + /// The custom domains under the endpoint. + /// + [Output("customDomains")] + public Output> CustomDomains { get; private set; } = null!; + + /// + /// A reference to the origin group. + /// + [Output("defaultOriginGroup")] + public Output DefaultOriginGroup { get; private set; } = null!; + + /// + /// A policy that specifies the delivery rules to be used for an endpoint. + /// + [Output("deliveryPolicy")] + public Output DeliveryPolicy { get; private set; } = null!; + + /// + /// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + /// + [Output("geoFilters")] + public Output> GeoFilters { get; private set; } = null!; + + /// + /// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + /// + [Output("hostName")] + public Output HostName { get; private set; } = null!; + + /// + /// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + /// + [Output("isCompressionEnabled")] + public Output IsCompressionEnabled { get; private set; } = null!; + + /// + /// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + /// + [Output("isHttpAllowed")] + public Output IsHttpAllowed { get; private set; } = null!; + + /// + /// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + /// + [Output("isHttpsAllowed")] + public Output IsHttpsAllowed { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + /// + [Output("optimizationType")] + public Output OptimizationType { get; private set; } = null!; + + /// + /// The origin groups comprising of origins that are used for load balancing the traffic based on availability. + /// + [Output("originGroups")] + public Output> OriginGroups { get; private set; } = null!; + + /// + /// The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + /// + [Output("originHostHeader")] + public Output OriginHostHeader { get; private set; } = null!; + + /// + /// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + /// + [Output("originPath")] + public Output OriginPath { get; private set; } = null!; + + /// + /// The source of the content being delivered via CDN. + /// + [Output("origins")] + public Output> Origins { get; private set; } = null!; + + /// + /// Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + /// + [Output("probePath")] + public Output ProbePath { get; private set; } = null!; + + /// + /// Provisioning status of the endpoint. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + /// + [Output("queryStringCachingBehavior")] + public Output QueryStringCachingBehavior { get; private set; } = null!; + + /// + /// Resource status of the endpoint. + /// + [Output("resourceState")] + public Output ResourceState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// List of keys used to validate the signed URL hashes. + /// + [Output("urlSigningKeys")] + public Output> UrlSigningKeys { get; private set; } = null!; + + /// + /// Defines the Web Application Firewall policy for the endpoint (if applicable) + /// + [Output("webApplicationFirewallPolicyLink")] + public Output WebApplicationFirewallPolicyLink { get; private set; } = null!; + + + /// + /// Create a Endpoint 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 Endpoint(string name, EndpointArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Endpoint", name, args ?? new EndpointArgs(), MakeResourceOptions(options, "")) + { + } + + private Endpoint(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Endpoint", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20150601:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20160402:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20161002:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20170402:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20171012:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190415:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615preview:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20191231:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200331:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200415:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Endpoint"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Endpoint"}, + }, + }; + 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 Endpoint 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. + /// A bag of options that control this resource's behavior + public static Endpoint Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Endpoint(name, id, options); + } + } + + public sealed class EndpointArgs : global::Pulumi.ResourceArgs + { + [Input("contentTypesToCompress")] + private InputList? _contentTypesToCompress; + + /// + /// List of content types on which compression applies. The value should be a valid MIME type. + /// + public InputList ContentTypesToCompress + { + get => _contentTypesToCompress ?? (_contentTypesToCompress = new InputList()); + set => _contentTypesToCompress = value; + } + + /// + /// A reference to the origin group. + /// + [Input("defaultOriginGroup")] + public Input? DefaultOriginGroup { get; set; } + + /// + /// A policy that specifies the delivery rules to be used for an endpoint. + /// + [Input("deliveryPolicy")] + public Input? DeliveryPolicy { get; set; } + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName")] + public Input? EndpointName { get; set; } + + [Input("geoFilters")] + private InputList? _geoFilters; + + /// + /// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + /// + public InputList GeoFilters + { + get => _geoFilters ?? (_geoFilters = new InputList()); + set => _geoFilters = value; + } + + /// + /// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + /// + [Input("isCompressionEnabled")] + public Input? IsCompressionEnabled { get; set; } + + /// + /// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + /// + [Input("isHttpAllowed")] + public Input? IsHttpAllowed { get; set; } + + /// + /// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + /// + [Input("isHttpsAllowed")] + public Input? IsHttpsAllowed { get; set; } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + /// + [Input("optimizationType")] + public InputUnion? OptimizationType { get; set; } + + [Input("originGroups")] + private InputList? _originGroups; + + /// + /// The origin groups comprising of origins that are used for load balancing the traffic based on availability. + /// + public InputList OriginGroups + { + get => _originGroups ?? (_originGroups = new InputList()); + set => _originGroups = value; + } + + /// + /// The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + /// + [Input("originHostHeader")] + public Input? OriginHostHeader { get; set; } + + /// + /// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + /// + [Input("originPath")] + public Input? OriginPath { get; set; } + + [Input("origins", required: true)] + private InputList? _origins; + + /// + /// The source of the content being delivered via CDN. + /// + public InputList Origins + { + get => _origins ?? (_origins = new InputList()); + set => _origins = value; + } + + /// + /// Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + /// + [Input("probePath")] + public Input? ProbePath { get; set; } + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + /// + [Input("queryStringCachingBehavior")] + public Input? QueryStringCachingBehavior { get; set; } + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("urlSigningKeys")] + private InputList? _urlSigningKeys; + + /// + /// List of keys used to validate the signed URL hashes. + /// + public InputList UrlSigningKeys + { + get => _urlSigningKeys ?? (_urlSigningKeys = new InputList()); + set => _urlSigningKeys = value; + } + + /// + /// Defines the Web Application Firewall policy for the endpoint (if applicable) + /// + [Input("webApplicationFirewallPolicyLink")] + public Input? WebApplicationFirewallPolicyLink { get; set; } + + public EndpointArgs() + { + IsHttpAllowed = true; + IsHttpsAllowed = true; + QueryStringCachingBehavior = Pulumi.AzureNative.Cdn.V20230701Preview.QueryStringCachingBehavior.NotSet; + } + public static new EndpointArgs Empty => new EndpointArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Enums.cs b/sdk/dotnet/Cdn/V20230701Preview/Enums.cs new file mode 100644 index 000000000000..bfd0d930f7b5 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Enums.cs @@ -0,0 +1,2118 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.Cdn.V20230701Preview +{ + /// + /// Supported protocols for the customer's endpoint. + /// + [EnumType] + public readonly struct AFDEndpointProtocols : IEquatable + { + private readonly string _value; + + private AFDEndpointProtocols(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AFDEndpointProtocols Http { get; } = new AFDEndpointProtocols("Http"); + public static AFDEndpointProtocols Https { get; } = new AFDEndpointProtocols("Https"); + + public static bool operator ==(AFDEndpointProtocols left, AFDEndpointProtocols right) => left.Equals(right); + public static bool operator !=(AFDEndpointProtocols left, AFDEndpointProtocols right) => !left.Equals(right); + + public static explicit operator string(AFDEndpointProtocols value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AFDEndpointProtocols other && Equals(other); + public bool Equals(AFDEndpointProtocols other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes what action to be applied when rule matches + /// + [EnumType] + public readonly struct ActionType : IEquatable + { + private readonly string _value; + + private ActionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ActionType Allow { get; } = new ActionType("Allow"); + public static ActionType Block { get; } = new ActionType("Block"); + public static ActionType Log { get; } = new ActionType("Log"); + public static ActionType Redirect { get; } = new ActionType("Redirect"); + + public static bool operator ==(ActionType left, ActionType right) => left.Equals(right); + public static bool operator !=(ActionType left, ActionType right) => !left.Equals(right); + + public static explicit operator string(ActionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ActionType other && Equals(other); + public bool Equals(ActionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Defines the source of the SSL certificate. + /// + [EnumType] + public readonly struct AfdCertificateType : IEquatable + { + private readonly string _value; + + private AfdCertificateType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AfdCertificateType CustomerCertificate { get; } = new AfdCertificateType("CustomerCertificate"); + public static AfdCertificateType ManagedCertificate { get; } = new AfdCertificateType("ManagedCertificate"); + public static AfdCertificateType AzureFirstPartyManagedCertificate { get; } = new AfdCertificateType("AzureFirstPartyManagedCertificate"); + + public static bool operator ==(AfdCertificateType left, AfdCertificateType right) => left.Equals(right); + public static bool operator !=(AfdCertificateType left, AfdCertificateType right) => !left.Equals(right); + + public static explicit operator string(AfdCertificateType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AfdCertificateType other && Equals(other); + public bool Equals(AfdCertificateType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// TLS protocol version that will be used for Https + /// + [EnumType] + public readonly struct AfdMinimumTlsVersion : IEquatable + { + private readonly string _value; + + private AfdMinimumTlsVersion(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AfdMinimumTlsVersion TLS10 { get; } = new AfdMinimumTlsVersion("TLS10"); + public static AfdMinimumTlsVersion TLS12 { get; } = new AfdMinimumTlsVersion("TLS12"); + + public static bool operator ==(AfdMinimumTlsVersion left, AfdMinimumTlsVersion right) => left.Equals(right); + public static bool operator !=(AfdMinimumTlsVersion left, AfdMinimumTlsVersion right) => !left.Equals(right); + + public static explicit operator string(AfdMinimumTlsVersion value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AfdMinimumTlsVersion other && Equals(other); + public bool Equals(AfdMinimumTlsVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + /// + [EnumType] + public readonly struct AfdQueryStringCachingBehavior : IEquatable + { + private readonly string _value; + + private AfdQueryStringCachingBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AfdQueryStringCachingBehavior IgnoreQueryString { get; } = new AfdQueryStringCachingBehavior("IgnoreQueryString"); + public static AfdQueryStringCachingBehavior UseQueryString { get; } = new AfdQueryStringCachingBehavior("UseQueryString"); + public static AfdQueryStringCachingBehavior IgnoreSpecifiedQueryStrings { get; } = new AfdQueryStringCachingBehavior("IgnoreSpecifiedQueryStrings"); + public static AfdQueryStringCachingBehavior IncludeSpecifiedQueryStrings { get; } = new AfdQueryStringCachingBehavior("IncludeSpecifiedQueryStrings"); + + public static bool operator ==(AfdQueryStringCachingBehavior left, AfdQueryStringCachingBehavior right) => left.Equals(right); + public static bool operator !=(AfdQueryStringCachingBehavior left, AfdQueryStringCachingBehavior right) => !left.Equals(right); + + public static explicit operator string(AfdQueryStringCachingBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AfdQueryStringCachingBehavior other && Equals(other); + public bool Equals(AfdQueryStringCachingBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Algorithm to use for URL signing + /// + [EnumType] + public readonly struct Algorithm : IEquatable + { + private readonly string _value; + + private Algorithm(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Algorithm SHA256 { get; } = new Algorithm("SHA256"); + + public static bool operator ==(Algorithm left, Algorithm right) => left.Equals(right); + public static bool operator !=(Algorithm left, Algorithm right) => !left.Equals(right); + + public static explicit operator string(Algorithm value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Algorithm other && Equals(other); + public bool Equals(Algorithm other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the endpoint name reuse scope. The default value is TenantReuse. + /// + [EnumType] + public readonly struct AutoGeneratedDomainNameLabelScope : IEquatable + { + private readonly string _value; + + private AutoGeneratedDomainNameLabelScope(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AutoGeneratedDomainNameLabelScope TenantReuse { get; } = new AutoGeneratedDomainNameLabelScope("TenantReuse"); + public static AutoGeneratedDomainNameLabelScope SubscriptionReuse { get; } = new AutoGeneratedDomainNameLabelScope("SubscriptionReuse"); + public static AutoGeneratedDomainNameLabelScope ResourceGroupReuse { get; } = new AutoGeneratedDomainNameLabelScope("ResourceGroupReuse"); + public static AutoGeneratedDomainNameLabelScope NoReuse { get; } = new AutoGeneratedDomainNameLabelScope("NoReuse"); + + public static bool operator ==(AutoGeneratedDomainNameLabelScope left, AutoGeneratedDomainNameLabelScope right) => left.Equals(right); + public static bool operator !=(AutoGeneratedDomainNameLabelScope left, AutoGeneratedDomainNameLabelScope right) => !left.Equals(right); + + public static explicit operator string(AutoGeneratedDomainNameLabelScope value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutoGeneratedDomainNameLabelScope other && Equals(other); + public bool Equals(AutoGeneratedDomainNameLabelScope other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Caching behavior for the requests + /// + [EnumType] + public readonly struct CacheBehavior : IEquatable + { + private readonly string _value; + + private CacheBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CacheBehavior BypassCache { get; } = new CacheBehavior("BypassCache"); + public static CacheBehavior Override { get; } = new CacheBehavior("Override"); + public static CacheBehavior SetIfMissing { get; } = new CacheBehavior("SetIfMissing"); + + public static bool operator ==(CacheBehavior left, CacheBehavior right) => left.Equals(right); + public static bool operator !=(CacheBehavior left, CacheBehavior right) => !left.Equals(right); + + public static explicit operator string(CacheBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CacheBehavior other && Equals(other); + public bool Equals(CacheBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The level at which the content needs to be cached. + /// + [EnumType] + public readonly struct CacheType : IEquatable + { + private readonly string _value; + + private CacheType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CacheType All { get; } = new CacheType("All"); + + public static bool operator ==(CacheType left, CacheType right) => left.Equals(right); + public static bool operator !=(CacheType left, CacheType right) => !left.Equals(right); + + public static explicit operator string(CacheType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CacheType other && Equals(other); + public bool Equals(CacheType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct ClientPortOperator : IEquatable + { + private readonly string _value; + + private ClientPortOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ClientPortOperator Any { get; } = new ClientPortOperator("Any"); + public static ClientPortOperator Equal { get; } = new ClientPortOperator("Equal"); + public static ClientPortOperator Contains { get; } = new ClientPortOperator("Contains"); + public static ClientPortOperator BeginsWith { get; } = new ClientPortOperator("BeginsWith"); + public static ClientPortOperator EndsWith { get; } = new ClientPortOperator("EndsWith"); + public static ClientPortOperator LessThan { get; } = new ClientPortOperator("LessThan"); + public static ClientPortOperator LessThanOrEqual { get; } = new ClientPortOperator("LessThanOrEqual"); + public static ClientPortOperator GreaterThan { get; } = new ClientPortOperator("GreaterThan"); + public static ClientPortOperator GreaterThanOrEqual { get; } = new ClientPortOperator("GreaterThanOrEqual"); + public static ClientPortOperator RegEx { get; } = new ClientPortOperator("RegEx"); + + public static bool operator ==(ClientPortOperator left, ClientPortOperator right) => left.Equals(right); + public static bool operator !=(ClientPortOperator left, ClientPortOperator right) => !left.Equals(right); + + public static explicit operator string(ClientPortOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ClientPortOperator other && Equals(other); + public bool Equals(ClientPortOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct CookiesOperator : IEquatable + { + private readonly string _value; + + private CookiesOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CookiesOperator Any { get; } = new CookiesOperator("Any"); + public static CookiesOperator Equal { get; } = new CookiesOperator("Equal"); + public static CookiesOperator Contains { get; } = new CookiesOperator("Contains"); + public static CookiesOperator BeginsWith { get; } = new CookiesOperator("BeginsWith"); + public static CookiesOperator EndsWith { get; } = new CookiesOperator("EndsWith"); + public static CookiesOperator LessThan { get; } = new CookiesOperator("LessThan"); + public static CookiesOperator LessThanOrEqual { get; } = new CookiesOperator("LessThanOrEqual"); + public static CookiesOperator GreaterThan { get; } = new CookiesOperator("GreaterThan"); + public static CookiesOperator GreaterThanOrEqual { get; } = new CookiesOperator("GreaterThanOrEqual"); + public static CookiesOperator RegEx { get; } = new CookiesOperator("RegEx"); + + public static bool operator ==(CookiesOperator left, CookiesOperator right) => left.Equals(right); + public static bool operator !=(CookiesOperator left, CookiesOperator right) => !left.Equals(right); + + public static explicit operator string(CookiesOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CookiesOperator other && Equals(other); + public bool Equals(CookiesOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + /// + [EnumType] + public readonly struct CustomRuleEnabledState : IEquatable + { + private readonly string _value; + + private CustomRuleEnabledState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CustomRuleEnabledState Disabled { get; } = new CustomRuleEnabledState("Disabled"); + public static CustomRuleEnabledState Enabled { get; } = new CustomRuleEnabledState("Enabled"); + + public static bool operator ==(CustomRuleEnabledState left, CustomRuleEnabledState right) => left.Equals(right); + public static bool operator !=(CustomRuleEnabledState left, CustomRuleEnabledState right) => !left.Equals(right); + + public static explicit operator string(CustomRuleEnabledState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CustomRuleEnabledState other && Equals(other); + public bool Equals(CustomRuleEnabledState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The name of the action for the delivery rule. + /// + [EnumType] + public readonly struct DeliveryRuleAction : IEquatable + { + private readonly string _value; + + private DeliveryRuleAction(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DeliveryRuleAction CacheExpiration { get; } = new DeliveryRuleAction("CacheExpiration"); + public static DeliveryRuleAction CacheKeyQueryString { get; } = new DeliveryRuleAction("CacheKeyQueryString"); + public static DeliveryRuleAction ModifyRequestHeader { get; } = new DeliveryRuleAction("ModifyRequestHeader"); + public static DeliveryRuleAction ModifyResponseHeader { get; } = new DeliveryRuleAction("ModifyResponseHeader"); + public static DeliveryRuleAction UrlRedirect { get; } = new DeliveryRuleAction("UrlRedirect"); + public static DeliveryRuleAction UrlRewrite { get; } = new DeliveryRuleAction("UrlRewrite"); + public static DeliveryRuleAction UrlSigning { get; } = new DeliveryRuleAction("UrlSigning"); + public static DeliveryRuleAction OriginGroupOverride { get; } = new DeliveryRuleAction("OriginGroupOverride"); + public static DeliveryRuleAction RouteConfigurationOverride { get; } = new DeliveryRuleAction("RouteConfigurationOverride"); + public static DeliveryRuleAction AfdUrlSigning { get; } = new DeliveryRuleAction("AfdUrlSigning"); + + public static bool operator ==(DeliveryRuleAction left, DeliveryRuleAction right) => left.Equals(right); + public static bool operator !=(DeliveryRuleAction left, DeliveryRuleAction right) => !left.Equals(right); + + public static explicit operator string(DeliveryRuleAction value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DeliveryRuleAction other && Equals(other); + public bool Equals(DeliveryRuleAction other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Protocol to use for the redirect. The default value is MatchRequest + /// + [EnumType] + public readonly struct DestinationProtocol : IEquatable + { + private readonly string _value; + + private DestinationProtocol(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DestinationProtocol MatchRequest { get; } = new DestinationProtocol("MatchRequest"); + public static DestinationProtocol Http { get; } = new DestinationProtocol("Http"); + public static DestinationProtocol Https { get; } = new DestinationProtocol("Https"); + + public static bool operator ==(DestinationProtocol left, DestinationProtocol right) => left.Equals(right); + public static bool operator !=(DestinationProtocol left, DestinationProtocol right) => !left.Equals(right); + + public static explicit operator string(DestinationProtocol value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DestinationProtocol other && Equals(other); + public bool Equals(DestinationProtocol other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + [EnumType] + public readonly struct EnabledState : IEquatable + { + private readonly string _value; + + private EnabledState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EnabledState Enabled { get; } = new EnabledState("Enabled"); + public static EnabledState Disabled { get; } = new EnabledState("Disabled"); + + public static bool operator ==(EnabledState left, EnabledState right) => left.Equals(right); + public static bool operator !=(EnabledState left, EnabledState right) => !left.Equals(right); + + public static explicit operator string(EnabledState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EnabledState other && Equals(other); + public bool Equals(EnabledState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Protocol this rule will use when forwarding traffic to backends. + /// + [EnumType] + public readonly struct ForwardingProtocol : IEquatable + { + private readonly string _value; + + private ForwardingProtocol(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ForwardingProtocol HttpOnly { get; } = new ForwardingProtocol("HttpOnly"); + public static ForwardingProtocol HttpsOnly { get; } = new ForwardingProtocol("HttpsOnly"); + public static ForwardingProtocol MatchRequest { get; } = new ForwardingProtocol("MatchRequest"); + + public static bool operator ==(ForwardingProtocol left, ForwardingProtocol right) => left.Equals(right); + public static bool operator !=(ForwardingProtocol left, ForwardingProtocol right) => !left.Equals(right); + + public static explicit operator string(ForwardingProtocol value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ForwardingProtocol other && Equals(other); + public bool Equals(ForwardingProtocol other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action of the geo filter, i.e. allow or block access. + /// + [EnumType] + public readonly struct GeoFilterActions : IEquatable + { + private readonly string _value; + + private GeoFilterActions(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static GeoFilterActions Block { get; } = new GeoFilterActions("Block"); + public static GeoFilterActions Allow { get; } = new GeoFilterActions("Allow"); + + public static bool operator ==(GeoFilterActions left, GeoFilterActions right) => left.Equals(right); + public static bool operator !=(GeoFilterActions left, GeoFilterActions right) => !left.Equals(right); + + public static explicit operator string(GeoFilterActions value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is GeoFilterActions other && Equals(other); + public bool Equals(GeoFilterActions other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action to perform + /// + [EnumType] + public readonly struct HeaderAction : IEquatable + { + private readonly string _value; + + private HeaderAction(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HeaderAction Append { get; } = new HeaderAction("Append"); + public static HeaderAction Overwrite { get; } = new HeaderAction("Overwrite"); + public static HeaderAction Delete { get; } = new HeaderAction("Delete"); + + public static bool operator ==(HeaderAction left, HeaderAction right) => left.Equals(right); + public static bool operator !=(HeaderAction left, HeaderAction right) => !left.Equals(right); + + public static explicit operator string(HeaderAction value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HeaderAction other && Equals(other); + public bool Equals(HeaderAction other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of health probe request that is made. + /// + [EnumType] + public readonly struct HealthProbeRequestType : IEquatable + { + private readonly string _value; + + private HealthProbeRequestType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HealthProbeRequestType NotSet { get; } = new HealthProbeRequestType("NotSet"); + public static HealthProbeRequestType GET { get; } = new HealthProbeRequestType("GET"); + public static HealthProbeRequestType HEAD { get; } = new HealthProbeRequestType("HEAD"); + + public static bool operator ==(HealthProbeRequestType left, HealthProbeRequestType right) => left.Equals(right); + public static bool operator !=(HealthProbeRequestType left, HealthProbeRequestType right) => !left.Equals(right); + + public static explicit operator string(HealthProbeRequestType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HealthProbeRequestType other && Equals(other); + public bool Equals(HealthProbeRequestType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct HostNameOperator : IEquatable + { + private readonly string _value; + + private HostNameOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HostNameOperator Any { get; } = new HostNameOperator("Any"); + public static HostNameOperator Equal { get; } = new HostNameOperator("Equal"); + public static HostNameOperator Contains { get; } = new HostNameOperator("Contains"); + public static HostNameOperator BeginsWith { get; } = new HostNameOperator("BeginsWith"); + public static HostNameOperator EndsWith { get; } = new HostNameOperator("EndsWith"); + public static HostNameOperator LessThan { get; } = new HostNameOperator("LessThan"); + public static HostNameOperator LessThanOrEqual { get; } = new HostNameOperator("LessThanOrEqual"); + public static HostNameOperator GreaterThan { get; } = new HostNameOperator("GreaterThan"); + public static HostNameOperator GreaterThanOrEqual { get; } = new HostNameOperator("GreaterThanOrEqual"); + public static HostNameOperator RegEx { get; } = new HostNameOperator("RegEx"); + + public static bool operator ==(HostNameOperator left, HostNameOperator right) => left.Equals(right); + public static bool operator !=(HostNameOperator left, HostNameOperator right) => !left.Equals(right); + + public static explicit operator string(HostNameOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HostNameOperator other && Equals(other); + public bool Equals(HostNameOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct HttpVersionOperator : IEquatable + { + private readonly string _value; + + private HttpVersionOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HttpVersionOperator Equal { get; } = new HttpVersionOperator("Equal"); + + public static bool operator ==(HttpVersionOperator left, HttpVersionOperator right) => left.Equals(right); + public static bool operator !=(HttpVersionOperator left, HttpVersionOperator right) => !left.Equals(right); + + public static explicit operator string(HttpVersionOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HttpVersionOperator other && Equals(other); + public bool Equals(HttpVersionOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + /// + [EnumType] + public readonly struct HttpsRedirect : IEquatable + { + private readonly string _value; + + private HttpsRedirect(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HttpsRedirect Enabled { get; } = new HttpsRedirect("Enabled"); + public static HttpsRedirect Disabled { get; } = new HttpsRedirect("Disabled"); + + public static bool operator ==(HttpsRedirect left, HttpsRedirect right) => left.Equals(right); + public static bool operator !=(HttpsRedirect left, HttpsRedirect right) => !left.Equals(right); + + public static explicit operator string(HttpsRedirect value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HttpsRedirect other && Equals(other); + public bool Equals(HttpsRedirect other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct IsDeviceOperator : IEquatable + { + private readonly string _value; + + private IsDeviceOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IsDeviceOperator Equal { get; } = new IsDeviceOperator("Equal"); + + public static bool operator ==(IsDeviceOperator left, IsDeviceOperator right) => left.Equals(right); + public static bool operator !=(IsDeviceOperator left, IsDeviceOperator right) => !left.Equals(right); + + public static explicit operator string(IsDeviceOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IsDeviceOperator other && Equals(other); + public bool Equals(IsDeviceOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// whether this route will be linked to the default endpoint domain. + /// + [EnumType] + public readonly struct LinkToDefaultDomain : IEquatable + { + private readonly string _value; + + private LinkToDefaultDomain(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LinkToDefaultDomain Enabled { get; } = new LinkToDefaultDomain("Enabled"); + public static LinkToDefaultDomain Disabled { get; } = new LinkToDefaultDomain("Disabled"); + + public static bool operator ==(LinkToDefaultDomain left, LinkToDefaultDomain right) => left.Equals(right); + public static bool operator !=(LinkToDefaultDomain left, LinkToDefaultDomain right) => !left.Equals(right); + + public static explicit operator string(LinkToDefaultDomain value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LinkToDefaultDomain other && Equals(other); + public bool Equals(LinkToDefaultDomain other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + /// + [EnumType] + public readonly struct ManagedRuleEnabledState : IEquatable + { + private readonly string _value; + + private ManagedRuleEnabledState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedRuleEnabledState Disabled { get; } = new ManagedRuleEnabledState("Disabled"); + public static ManagedRuleEnabledState Enabled { get; } = new ManagedRuleEnabledState("Enabled"); + + public static bool operator ==(ManagedRuleEnabledState left, ManagedRuleEnabledState right) => left.Equals(right); + public static bool operator !=(ManagedRuleEnabledState left, ManagedRuleEnabledState right) => !left.Equals(right); + + public static explicit operator string(ManagedRuleEnabledState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedRuleEnabledState other && Equals(other); + public bool Equals(ManagedRuleEnabledState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned, UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + /// + [EnumType] + public readonly struct MatchProcessingBehavior : IEquatable + { + private readonly string _value; + + private MatchProcessingBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MatchProcessingBehavior Continue { get; } = new MatchProcessingBehavior("Continue"); + public static MatchProcessingBehavior Stop { get; } = new MatchProcessingBehavior("Stop"); + + public static bool operator ==(MatchProcessingBehavior left, MatchProcessingBehavior right) => left.Equals(right); + public static bool operator !=(MatchProcessingBehavior left, MatchProcessingBehavior right) => !left.Equals(right); + + public static explicit operator string(MatchProcessingBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MatchProcessingBehavior other && Equals(other); + public bool Equals(MatchProcessingBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The name of the condition for the delivery rule. + /// + [EnumType] + public readonly struct MatchVariable : IEquatable + { + private readonly string _value; + + private MatchVariable(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MatchVariable RemoteAddress { get; } = new MatchVariable("RemoteAddress"); + public static MatchVariable RequestMethod { get; } = new MatchVariable("RequestMethod"); + public static MatchVariable QueryString { get; } = new MatchVariable("QueryString"); + public static MatchVariable PostArgs { get; } = new MatchVariable("PostArgs"); + public static MatchVariable RequestUri { get; } = new MatchVariable("RequestUri"); + public static MatchVariable RequestHeader { get; } = new MatchVariable("RequestHeader"); + public static MatchVariable RequestBody { get; } = new MatchVariable("RequestBody"); + public static MatchVariable RequestScheme { get; } = new MatchVariable("RequestScheme"); + public static MatchVariable UrlPath { get; } = new MatchVariable("UrlPath"); + public static MatchVariable UrlFileExtension { get; } = new MatchVariable("UrlFileExtension"); + public static MatchVariable UrlFileName { get; } = new MatchVariable("UrlFileName"); + public static MatchVariable HttpVersion { get; } = new MatchVariable("HttpVersion"); + public static MatchVariable Cookies { get; } = new MatchVariable("Cookies"); + public static MatchVariable IsDevice { get; } = new MatchVariable("IsDevice"); + public static MatchVariable SocketAddr { get; } = new MatchVariable("SocketAddr"); + public static MatchVariable ClientPort { get; } = new MatchVariable("ClientPort"); + public static MatchVariable ServerPort { get; } = new MatchVariable("ServerPort"); + public static MatchVariable HostName { get; } = new MatchVariable("HostName"); + public static MatchVariable SslProtocol { get; } = new MatchVariable("SslProtocol"); + + public static bool operator ==(MatchVariable left, MatchVariable right) => left.Equals(right); + public static bool operator !=(MatchVariable left, MatchVariable right) => !left.Equals(right); + + public static explicit operator string(MatchVariable value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MatchVariable other && Equals(other); + public bool Equals(MatchVariable other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct Operator : IEquatable + { + private readonly string _value; + + private Operator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Operator Any { get; } = new Operator("Any"); + public static Operator IPMatch { get; } = new Operator("IPMatch"); + public static Operator GeoMatch { get; } = new Operator("GeoMatch"); + public static Operator Equal { get; } = new Operator("Equal"); + public static Operator Contains { get; } = new Operator("Contains"); + public static Operator LessThan { get; } = new Operator("LessThan"); + public static Operator GreaterThan { get; } = new Operator("GreaterThan"); + public static Operator LessThanOrEqual { get; } = new Operator("LessThanOrEqual"); + public static Operator GreaterThanOrEqual { get; } = new Operator("GreaterThanOrEqual"); + public static Operator BeginsWith { get; } = new Operator("BeginsWith"); + public static Operator EndsWith { get; } = new Operator("EndsWith"); + public static Operator RegEx { get; } = new Operator("RegEx"); + + public static bool operator ==(Operator left, Operator right) => left.Equals(right); + public static bool operator !=(Operator left, Operator right) => !left.Equals(right); + + public static explicit operator string(Operator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Operator other && Equals(other); + public bool Equals(Operator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + /// + [EnumType] + public readonly struct OptimizationType : IEquatable + { + private readonly string _value; + + private OptimizationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static OptimizationType GeneralWebDelivery { get; } = new OptimizationType("GeneralWebDelivery"); + public static OptimizationType GeneralMediaStreaming { get; } = new OptimizationType("GeneralMediaStreaming"); + public static OptimizationType VideoOnDemandMediaStreaming { get; } = new OptimizationType("VideoOnDemandMediaStreaming"); + public static OptimizationType LargeFileDownload { get; } = new OptimizationType("LargeFileDownload"); + public static OptimizationType DynamicSiteAcceleration { get; } = new OptimizationType("DynamicSiteAcceleration"); + + public static bool operator ==(OptimizationType left, OptimizationType right) => left.Equals(right); + public static bool operator !=(OptimizationType left, OptimizationType right) => !left.Equals(right); + + public static explicit operator string(OptimizationType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OptimizationType other && Equals(other); + public bool Equals(OptimizationType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the purpose of the parameter + /// + [EnumType] + public readonly struct ParamIndicator : IEquatable + { + private readonly string _value; + + private ParamIndicator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ParamIndicator Expires { get; } = new ParamIndicator("Expires"); + public static ParamIndicator KeyId { get; } = new ParamIndicator("KeyId"); + public static ParamIndicator Signature { get; } = new ParamIndicator("Signature"); + + public static bool operator ==(ParamIndicator left, ParamIndicator right) => left.Equals(right); + public static bool operator !=(ParamIndicator left, ParamIndicator right) => !left.Equals(right); + + public static explicit operator string(ParamIndicator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ParamIndicator other && Equals(other); + public bool Equals(ParamIndicator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// describes if the policy is in enabled state or disabled state + /// + [EnumType] + public readonly struct PolicyEnabledState : IEquatable + { + private readonly string _value; + + private PolicyEnabledState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PolicyEnabledState Disabled { get; } = new PolicyEnabledState("Disabled"); + public static PolicyEnabledState Enabled { get; } = new PolicyEnabledState("Enabled"); + + public static bool operator ==(PolicyEnabledState left, PolicyEnabledState right) => left.Equals(right); + public static bool operator !=(PolicyEnabledState left, PolicyEnabledState right) => !left.Equals(right); + + public static explicit operator string(PolicyEnabledState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PolicyEnabledState other && Equals(other); + public bool Equals(PolicyEnabledState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes if it is in detection mode or prevention mode at policy level. + /// + [EnumType] + public readonly struct PolicyMode : IEquatable + { + private readonly string _value; + + private PolicyMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PolicyMode Prevention { get; } = new PolicyMode("Prevention"); + public static PolicyMode Detection { get; } = new PolicyMode("Detection"); + + public static bool operator ==(PolicyMode left, PolicyMode right) => left.Equals(right); + public static bool operator !=(PolicyMode left, PolicyMode right) => !left.Equals(right); + + public static explicit operator string(PolicyMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PolicyMode other && Equals(other); + public bool Equals(PolicyMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct PostArgsOperator : IEquatable + { + private readonly string _value; + + private PostArgsOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PostArgsOperator Any { get; } = new PostArgsOperator("Any"); + public static PostArgsOperator Equal { get; } = new PostArgsOperator("Equal"); + public static PostArgsOperator Contains { get; } = new PostArgsOperator("Contains"); + public static PostArgsOperator BeginsWith { get; } = new PostArgsOperator("BeginsWith"); + public static PostArgsOperator EndsWith { get; } = new PostArgsOperator("EndsWith"); + public static PostArgsOperator LessThan { get; } = new PostArgsOperator("LessThan"); + public static PostArgsOperator LessThanOrEqual { get; } = new PostArgsOperator("LessThanOrEqual"); + public static PostArgsOperator GreaterThan { get; } = new PostArgsOperator("GreaterThan"); + public static PostArgsOperator GreaterThanOrEqual { get; } = new PostArgsOperator("GreaterThanOrEqual"); + public static PostArgsOperator RegEx { get; } = new PostArgsOperator("RegEx"); + + public static bool operator ==(PostArgsOperator left, PostArgsOperator right) => left.Equals(right); + public static bool operator !=(PostArgsOperator left, PostArgsOperator right) => !left.Equals(right); + + public static explicit operator string(PostArgsOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PostArgsOperator other && Equals(other); + public bool Equals(PostArgsOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Protocol to use for health probe. + /// + [EnumType] + public readonly struct ProbeProtocol : IEquatable + { + private readonly string _value; + + private ProbeProtocol(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ProbeProtocol NotSet { get; } = new ProbeProtocol("NotSet"); + public static ProbeProtocol Http { get; } = new ProbeProtocol("Http"); + public static ProbeProtocol Https { get; } = new ProbeProtocol("Https"); + + public static bool operator ==(ProbeProtocol left, ProbeProtocol right) => left.Equals(right); + public static bool operator !=(ProbeProtocol left, ProbeProtocol right) => !left.Equals(right); + + public static explicit operator string(ProbeProtocol value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ProbeProtocol other && Equals(other); + public bool Equals(ProbeProtocol other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Caching behavior for the requests + /// + [EnumType] + public readonly struct QueryStringBehavior : IEquatable + { + private readonly string _value; + + private QueryStringBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static QueryStringBehavior Include { get; } = new QueryStringBehavior("Include"); + public static QueryStringBehavior IncludeAll { get; } = new QueryStringBehavior("IncludeAll"); + public static QueryStringBehavior Exclude { get; } = new QueryStringBehavior("Exclude"); + public static QueryStringBehavior ExcludeAll { get; } = new QueryStringBehavior("ExcludeAll"); + + public static bool operator ==(QueryStringBehavior left, QueryStringBehavior right) => left.Equals(right); + public static bool operator !=(QueryStringBehavior left, QueryStringBehavior right) => !left.Equals(right); + + public static explicit operator string(QueryStringBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is QueryStringBehavior other && Equals(other); + public bool Equals(QueryStringBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + /// + [EnumType] + public readonly struct QueryStringCachingBehavior : IEquatable + { + private readonly string _value; + + private QueryStringCachingBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static QueryStringCachingBehavior IgnoreQueryString { get; } = new QueryStringCachingBehavior("IgnoreQueryString"); + public static QueryStringCachingBehavior BypassCaching { get; } = new QueryStringCachingBehavior("BypassCaching"); + public static QueryStringCachingBehavior UseQueryString { get; } = new QueryStringCachingBehavior("UseQueryString"); + public static QueryStringCachingBehavior NotSet { get; } = new QueryStringCachingBehavior("NotSet"); + + public static bool operator ==(QueryStringCachingBehavior left, QueryStringCachingBehavior right) => left.Equals(right); + public static bool operator !=(QueryStringCachingBehavior left, QueryStringCachingBehavior right) => !left.Equals(right); + + public static explicit operator string(QueryStringCachingBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is QueryStringCachingBehavior other && Equals(other); + public bool Equals(QueryStringCachingBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct QueryStringOperator : IEquatable + { + private readonly string _value; + + private QueryStringOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static QueryStringOperator Any { get; } = new QueryStringOperator("Any"); + public static QueryStringOperator Equal { get; } = new QueryStringOperator("Equal"); + public static QueryStringOperator Contains { get; } = new QueryStringOperator("Contains"); + public static QueryStringOperator BeginsWith { get; } = new QueryStringOperator("BeginsWith"); + public static QueryStringOperator EndsWith { get; } = new QueryStringOperator("EndsWith"); + public static QueryStringOperator LessThan { get; } = new QueryStringOperator("LessThan"); + public static QueryStringOperator LessThanOrEqual { get; } = new QueryStringOperator("LessThanOrEqual"); + public static QueryStringOperator GreaterThan { get; } = new QueryStringOperator("GreaterThan"); + public static QueryStringOperator GreaterThanOrEqual { get; } = new QueryStringOperator("GreaterThanOrEqual"); + public static QueryStringOperator RegEx { get; } = new QueryStringOperator("RegEx"); + + public static bool operator ==(QueryStringOperator left, QueryStringOperator right) => left.Equals(right); + public static bool operator !=(QueryStringOperator left, QueryStringOperator right) => !left.Equals(right); + + public static explicit operator string(QueryStringOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is QueryStringOperator other && Equals(other); + public bool Equals(QueryStringOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The redirect type the rule will use when redirecting traffic. + /// + [EnumType] + public readonly struct RedirectType : IEquatable + { + private readonly string _value; + + private RedirectType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RedirectType Moved { get; } = new RedirectType("Moved"); + public static RedirectType Found { get; } = new RedirectType("Found"); + public static RedirectType TemporaryRedirect { get; } = new RedirectType("TemporaryRedirect"); + public static RedirectType PermanentRedirect { get; } = new RedirectType("PermanentRedirect"); + + public static bool operator ==(RedirectType left, RedirectType right) => left.Equals(right); + public static bool operator !=(RedirectType left, RedirectType right) => !left.Equals(right); + + public static explicit operator string(RedirectType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RedirectType other && Equals(other); + public bool Equals(RedirectType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct RemoteAddressOperator : IEquatable + { + private readonly string _value; + + private RemoteAddressOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RemoteAddressOperator Any { get; } = new RemoteAddressOperator("Any"); + public static RemoteAddressOperator IPMatch { get; } = new RemoteAddressOperator("IPMatch"); + public static RemoteAddressOperator GeoMatch { get; } = new RemoteAddressOperator("GeoMatch"); + + public static bool operator ==(RemoteAddressOperator left, RemoteAddressOperator right) => left.Equals(right); + public static bool operator !=(RemoteAddressOperator left, RemoteAddressOperator right) => !left.Equals(right); + + public static explicit operator string(RemoteAddressOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RemoteAddressOperator other && Equals(other); + public bool Equals(RemoteAddressOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct RequestBodyOperator : IEquatable + { + private readonly string _value; + + private RequestBodyOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RequestBodyOperator Any { get; } = new RequestBodyOperator("Any"); + public static RequestBodyOperator Equal { get; } = new RequestBodyOperator("Equal"); + public static RequestBodyOperator Contains { get; } = new RequestBodyOperator("Contains"); + public static RequestBodyOperator BeginsWith { get; } = new RequestBodyOperator("BeginsWith"); + public static RequestBodyOperator EndsWith { get; } = new RequestBodyOperator("EndsWith"); + public static RequestBodyOperator LessThan { get; } = new RequestBodyOperator("LessThan"); + public static RequestBodyOperator LessThanOrEqual { get; } = new RequestBodyOperator("LessThanOrEqual"); + public static RequestBodyOperator GreaterThan { get; } = new RequestBodyOperator("GreaterThan"); + public static RequestBodyOperator GreaterThanOrEqual { get; } = new RequestBodyOperator("GreaterThanOrEqual"); + public static RequestBodyOperator RegEx { get; } = new RequestBodyOperator("RegEx"); + + public static bool operator ==(RequestBodyOperator left, RequestBodyOperator right) => left.Equals(right); + public static bool operator !=(RequestBodyOperator left, RequestBodyOperator right) => !left.Equals(right); + + public static explicit operator string(RequestBodyOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RequestBodyOperator other && Equals(other); + public bool Equals(RequestBodyOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct RequestHeaderOperator : IEquatable + { + private readonly string _value; + + private RequestHeaderOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RequestHeaderOperator Any { get; } = new RequestHeaderOperator("Any"); + public static RequestHeaderOperator Equal { get; } = new RequestHeaderOperator("Equal"); + public static RequestHeaderOperator Contains { get; } = new RequestHeaderOperator("Contains"); + public static RequestHeaderOperator BeginsWith { get; } = new RequestHeaderOperator("BeginsWith"); + public static RequestHeaderOperator EndsWith { get; } = new RequestHeaderOperator("EndsWith"); + public static RequestHeaderOperator LessThan { get; } = new RequestHeaderOperator("LessThan"); + public static RequestHeaderOperator LessThanOrEqual { get; } = new RequestHeaderOperator("LessThanOrEqual"); + public static RequestHeaderOperator GreaterThan { get; } = new RequestHeaderOperator("GreaterThan"); + public static RequestHeaderOperator GreaterThanOrEqual { get; } = new RequestHeaderOperator("GreaterThanOrEqual"); + public static RequestHeaderOperator RegEx { get; } = new RequestHeaderOperator("RegEx"); + + public static bool operator ==(RequestHeaderOperator left, RequestHeaderOperator right) => left.Equals(right); + public static bool operator !=(RequestHeaderOperator left, RequestHeaderOperator right) => !left.Equals(right); + + public static explicit operator string(RequestHeaderOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RequestHeaderOperator other && Equals(other); + public bool Equals(RequestHeaderOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct RequestMethodOperator : IEquatable + { + private readonly string _value; + + private RequestMethodOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RequestMethodOperator Equal { get; } = new RequestMethodOperator("Equal"); + + public static bool operator ==(RequestMethodOperator left, RequestMethodOperator right) => left.Equals(right); + public static bool operator !=(RequestMethodOperator left, RequestMethodOperator right) => !left.Equals(right); + + public static explicit operator string(RequestMethodOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RequestMethodOperator other && Equals(other); + public bool Equals(RequestMethodOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct RequestUriOperator : IEquatable + { + private readonly string _value; + + private RequestUriOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RequestUriOperator Any { get; } = new RequestUriOperator("Any"); + public static RequestUriOperator Equal { get; } = new RequestUriOperator("Equal"); + public static RequestUriOperator Contains { get; } = new RequestUriOperator("Contains"); + public static RequestUriOperator BeginsWith { get; } = new RequestUriOperator("BeginsWith"); + public static RequestUriOperator EndsWith { get; } = new RequestUriOperator("EndsWith"); + public static RequestUriOperator LessThan { get; } = new RequestUriOperator("LessThan"); + public static RequestUriOperator LessThanOrEqual { get; } = new RequestUriOperator("LessThanOrEqual"); + public static RequestUriOperator GreaterThan { get; } = new RequestUriOperator("GreaterThan"); + public static RequestUriOperator GreaterThanOrEqual { get; } = new RequestUriOperator("GreaterThanOrEqual"); + public static RequestUriOperator RegEx { get; } = new RequestUriOperator("RegEx"); + + public static bool operator ==(RequestUriOperator left, RequestUriOperator right) => left.Equals(right); + public static bool operator !=(RequestUriOperator left, RequestUriOperator right) => !left.Equals(right); + + public static explicit operator string(RequestUriOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RequestUriOperator other && Equals(other); + public bool Equals(RequestUriOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of response errors for real user requests for which origin will be deemed unhealthy + /// + [EnumType] + public readonly struct ResponseBasedDetectedErrorTypes : IEquatable + { + private readonly string _value; + + private ResponseBasedDetectedErrorTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResponseBasedDetectedErrorTypes None { get; } = new ResponseBasedDetectedErrorTypes("None"); + public static ResponseBasedDetectedErrorTypes TcpErrorsOnly { get; } = new ResponseBasedDetectedErrorTypes("TcpErrorsOnly"); + public static ResponseBasedDetectedErrorTypes TcpAndHttpErrors { get; } = new ResponseBasedDetectedErrorTypes("TcpAndHttpErrors"); + + public static bool operator ==(ResponseBasedDetectedErrorTypes left, ResponseBasedDetectedErrorTypes right) => left.Equals(right); + public static bool operator !=(ResponseBasedDetectedErrorTypes left, ResponseBasedDetectedErrorTypes right) => !left.Equals(right); + + public static explicit operator string(ResponseBasedDetectedErrorTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResponseBasedDetectedErrorTypes other && Equals(other); + public bool Equals(ResponseBasedDetectedErrorTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Caching behavior for the requests + /// + [EnumType] + public readonly struct RuleCacheBehavior : IEquatable + { + private readonly string _value; + + private RuleCacheBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RuleCacheBehavior HonorOrigin { get; } = new RuleCacheBehavior("HonorOrigin"); + public static RuleCacheBehavior OverrideAlways { get; } = new RuleCacheBehavior("OverrideAlways"); + public static RuleCacheBehavior OverrideIfOriginMissing { get; } = new RuleCacheBehavior("OverrideIfOriginMissing"); + + public static bool operator ==(RuleCacheBehavior left, RuleCacheBehavior right) => left.Equals(right); + public static bool operator !=(RuleCacheBehavior left, RuleCacheBehavior right) => !left.Equals(right); + + public static explicit operator string(RuleCacheBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RuleCacheBehavior other && Equals(other); + public bool Equals(RuleCacheBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + /// + [EnumType] + public readonly struct RuleIsCompressionEnabled : IEquatable + { + private readonly string _value; + + private RuleIsCompressionEnabled(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RuleIsCompressionEnabled Enabled { get; } = new RuleIsCompressionEnabled("Enabled"); + public static RuleIsCompressionEnabled Disabled { get; } = new RuleIsCompressionEnabled("Disabled"); + + public static bool operator ==(RuleIsCompressionEnabled left, RuleIsCompressionEnabled right) => left.Equals(right); + public static bool operator !=(RuleIsCompressionEnabled left, RuleIsCompressionEnabled right) => !left.Equals(right); + + public static explicit operator string(RuleIsCompressionEnabled value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RuleIsCompressionEnabled other && Equals(other); + public bool Equals(RuleIsCompressionEnabled other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + /// + [EnumType] + public readonly struct RuleQueryStringCachingBehavior : IEquatable + { + private readonly string _value; + + private RuleQueryStringCachingBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RuleQueryStringCachingBehavior IgnoreQueryString { get; } = new RuleQueryStringCachingBehavior("IgnoreQueryString"); + public static RuleQueryStringCachingBehavior UseQueryString { get; } = new RuleQueryStringCachingBehavior("UseQueryString"); + public static RuleQueryStringCachingBehavior IgnoreSpecifiedQueryStrings { get; } = new RuleQueryStringCachingBehavior("IgnoreSpecifiedQueryStrings"); + public static RuleQueryStringCachingBehavior IncludeSpecifiedQueryStrings { get; } = new RuleQueryStringCachingBehavior("IncludeSpecifiedQueryStrings"); + + public static bool operator ==(RuleQueryStringCachingBehavior left, RuleQueryStringCachingBehavior right) => left.Equals(right); + public static bool operator !=(RuleQueryStringCachingBehavior left, RuleQueryStringCachingBehavior right) => !left.Equals(right); + + public static explicit operator string(RuleQueryStringCachingBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RuleQueryStringCachingBehavior other && Equals(other); + public bool Equals(RuleQueryStringCachingBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the secret resource. + /// + [EnumType] + public readonly struct SecretType : IEquatable + { + private readonly string _value; + + private SecretType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SecretType UrlSigningKey { get; } = new SecretType("UrlSigningKey"); + public static SecretType CustomerCertificate { get; } = new SecretType("CustomerCertificate"); + public static SecretType ManagedCertificate { get; } = new SecretType("ManagedCertificate"); + public static SecretType AzureFirstPartyManagedCertificate { get; } = new SecretType("AzureFirstPartyManagedCertificate"); + + public static bool operator ==(SecretType left, SecretType right) => left.Equals(right); + public static bool operator !=(SecretType left, SecretType right) => !left.Equals(right); + + public static explicit operator string(SecretType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecretType other && Equals(other); + public bool Equals(SecretType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the Security policy to create. + /// + [EnumType] + public readonly struct SecurityPolicyType : IEquatable + { + private readonly string _value; + + private SecurityPolicyType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SecurityPolicyType WebApplicationFirewall { get; } = new SecurityPolicyType("WebApplicationFirewall"); + + public static bool operator ==(SecurityPolicyType left, SecurityPolicyType right) => left.Equals(right); + public static bool operator !=(SecurityPolicyType left, SecurityPolicyType right) => !left.Equals(right); + + public static explicit operator string(SecurityPolicyType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityPolicyType other && Equals(other); + public bool Equals(SecurityPolicyType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct ServerPortOperator : IEquatable + { + private readonly string _value; + + private ServerPortOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServerPortOperator Any { get; } = new ServerPortOperator("Any"); + public static ServerPortOperator Equal { get; } = new ServerPortOperator("Equal"); + public static ServerPortOperator Contains { get; } = new ServerPortOperator("Contains"); + public static ServerPortOperator BeginsWith { get; } = new ServerPortOperator("BeginsWith"); + public static ServerPortOperator EndsWith { get; } = new ServerPortOperator("EndsWith"); + public static ServerPortOperator LessThan { get; } = new ServerPortOperator("LessThan"); + public static ServerPortOperator LessThanOrEqual { get; } = new ServerPortOperator("LessThanOrEqual"); + public static ServerPortOperator GreaterThan { get; } = new ServerPortOperator("GreaterThan"); + public static ServerPortOperator GreaterThanOrEqual { get; } = new ServerPortOperator("GreaterThanOrEqual"); + public static ServerPortOperator RegEx { get; } = new ServerPortOperator("RegEx"); + + public static bool operator ==(ServerPortOperator left, ServerPortOperator right) => left.Equals(right); + public static bool operator !=(ServerPortOperator left, ServerPortOperator right) => !left.Equals(right); + + public static explicit operator string(ServerPortOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServerPortOperator other && Equals(other); + public bool Equals(ServerPortOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + /// + [EnumType] + public readonly struct SharedPrivateLinkResourceStatus : IEquatable + { + private readonly string _value; + + private SharedPrivateLinkResourceStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SharedPrivateLinkResourceStatus Pending { get; } = new SharedPrivateLinkResourceStatus("Pending"); + public static SharedPrivateLinkResourceStatus Approved { get; } = new SharedPrivateLinkResourceStatus("Approved"); + public static SharedPrivateLinkResourceStatus Rejected { get; } = new SharedPrivateLinkResourceStatus("Rejected"); + public static SharedPrivateLinkResourceStatus Disconnected { get; } = new SharedPrivateLinkResourceStatus("Disconnected"); + public static SharedPrivateLinkResourceStatus Timeout { get; } = new SharedPrivateLinkResourceStatus("Timeout"); + + public static bool operator ==(SharedPrivateLinkResourceStatus left, SharedPrivateLinkResourceStatus right) => left.Equals(right); + public static bool operator !=(SharedPrivateLinkResourceStatus left, SharedPrivateLinkResourceStatus right) => !left.Equals(right); + + public static explicit operator string(SharedPrivateLinkResourceStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SharedPrivateLinkResourceStatus other && Equals(other); + public bool Equals(SharedPrivateLinkResourceStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Name of the pricing tier. + /// + [EnumType] + public readonly struct SkuName : IEquatable + { + private readonly string _value; + + private SkuName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SkuName Standard_Verizon { get; } = new SkuName("Standard_Verizon"); + public static SkuName Premium_Verizon { get; } = new SkuName("Premium_Verizon"); + public static SkuName Custom_Verizon { get; } = new SkuName("Custom_Verizon"); + public static SkuName Standard_Akamai { get; } = new SkuName("Standard_Akamai"); + public static SkuName Standard_ChinaCdn { get; } = new SkuName("Standard_ChinaCdn"); + public static SkuName Standard_Microsoft { get; } = new SkuName("Standard_Microsoft"); + public static SkuName Standard_AzureFrontDoor { get; } = new SkuName("Standard_AzureFrontDoor"); + public static SkuName Premium_AzureFrontDoor { get; } = new SkuName("Premium_AzureFrontDoor"); + public static SkuName Standard_955BandWidth_ChinaCdn { get; } = new SkuName("Standard_955BandWidth_ChinaCdn"); + public static SkuName Standard_AvgBandWidth_ChinaCdn { get; } = new SkuName("Standard_AvgBandWidth_ChinaCdn"); + public static SkuName StandardPlus_ChinaCdn { get; } = new SkuName("StandardPlus_ChinaCdn"); + public static SkuName StandardPlus_955BandWidth_ChinaCdn { get; } = new SkuName("StandardPlus_955BandWidth_ChinaCdn"); + public static SkuName StandardPlus_AvgBandWidth_ChinaCdn { get; } = new SkuName("StandardPlus_AvgBandWidth_ChinaCdn"); + + public static bool operator ==(SkuName left, SkuName right) => left.Equals(right); + public static bool operator !=(SkuName left, SkuName right) => !left.Equals(right); + + public static explicit operator string(SkuName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuName other && Equals(other); + public bool Equals(SkuName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct SocketAddrOperator : IEquatable + { + private readonly string _value; + + private SocketAddrOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SocketAddrOperator Any { get; } = new SocketAddrOperator("Any"); + public static SocketAddrOperator IPMatch { get; } = new SocketAddrOperator("IPMatch"); + + public static bool operator ==(SocketAddrOperator left, SocketAddrOperator right) => left.Equals(right); + public static bool operator !=(SocketAddrOperator left, SocketAddrOperator right) => !left.Equals(right); + + public static explicit operator string(SocketAddrOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SocketAddrOperator other && Equals(other); + public bool Equals(SocketAddrOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The protocol of an established TLS connection. + /// + [EnumType] + public readonly struct SslProtocol : IEquatable + { + private readonly string _value; + + private SslProtocol(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SslProtocol TLSv1 { get; } = new SslProtocol("TLSv1"); + public static SslProtocol TLSv1_1 { get; } = new SslProtocol("TLSv1.1"); + public static SslProtocol TLSv1_2 { get; } = new SslProtocol("TLSv1.2"); + + public static bool operator ==(SslProtocol left, SslProtocol right) => left.Equals(right); + public static bool operator !=(SslProtocol left, SslProtocol right) => !left.Equals(right); + + public static explicit operator string(SslProtocol value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SslProtocol other && Equals(other); + public bool Equals(SslProtocol other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct SslProtocolOperator : IEquatable + { + private readonly string _value; + + private SslProtocolOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SslProtocolOperator Equal { get; } = new SslProtocolOperator("Equal"); + + public static bool operator ==(SslProtocolOperator left, SslProtocolOperator right) => left.Equals(right); + public static bool operator !=(SslProtocolOperator left, SslProtocolOperator right) => !left.Equals(right); + + public static explicit operator string(SslProtocolOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SslProtocolOperator other && Equals(other); + public bool Equals(SslProtocolOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes what transforms are applied before matching + /// + [EnumType] + public readonly struct Transform : IEquatable + { + private readonly string _value; + + private Transform(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Transform Lowercase { get; } = new Transform("Lowercase"); + public static Transform Uppercase { get; } = new Transform("Uppercase"); + public static Transform Trim { get; } = new Transform("Trim"); + public static Transform UrlDecode { get; } = new Transform("UrlDecode"); + public static Transform UrlEncode { get; } = new Transform("UrlEncode"); + public static Transform RemoveNulls { get; } = new Transform("RemoveNulls"); + + public static bool operator ==(Transform left, Transform right) => left.Equals(right); + public static bool operator !=(Transform left, Transform right) => !left.Equals(right); + + public static explicit operator string(Transform value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Transform other && Equals(other); + public bool Equals(Transform other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes what transforms were applied before matching. + /// + [EnumType] + public readonly struct TransformType : IEquatable + { + private readonly string _value; + + private TransformType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static TransformType Lowercase { get; } = new TransformType("Lowercase"); + public static TransformType Uppercase { get; } = new TransformType("Uppercase"); + public static TransformType Trim { get; } = new TransformType("Trim"); + public static TransformType UrlDecode { get; } = new TransformType("UrlDecode"); + public static TransformType UrlEncode { get; } = new TransformType("UrlEncode"); + public static TransformType RemoveNulls { get; } = new TransformType("RemoveNulls"); + + public static bool operator ==(TransformType left, TransformType right) => left.Equals(right); + public static bool operator !=(TransformType left, TransformType right) => !left.Equals(right); + + public static explicit operator string(TransformType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TransformType other && Equals(other); + public bool Equals(TransformType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct UrlFileExtensionOperator : IEquatable + { + private readonly string _value; + + private UrlFileExtensionOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static UrlFileExtensionOperator Any { get; } = new UrlFileExtensionOperator("Any"); + public static UrlFileExtensionOperator Equal { get; } = new UrlFileExtensionOperator("Equal"); + public static UrlFileExtensionOperator Contains { get; } = new UrlFileExtensionOperator("Contains"); + public static UrlFileExtensionOperator BeginsWith { get; } = new UrlFileExtensionOperator("BeginsWith"); + public static UrlFileExtensionOperator EndsWith { get; } = new UrlFileExtensionOperator("EndsWith"); + public static UrlFileExtensionOperator LessThan { get; } = new UrlFileExtensionOperator("LessThan"); + public static UrlFileExtensionOperator LessThanOrEqual { get; } = new UrlFileExtensionOperator("LessThanOrEqual"); + public static UrlFileExtensionOperator GreaterThan { get; } = new UrlFileExtensionOperator("GreaterThan"); + public static UrlFileExtensionOperator GreaterThanOrEqual { get; } = new UrlFileExtensionOperator("GreaterThanOrEqual"); + public static UrlFileExtensionOperator RegEx { get; } = new UrlFileExtensionOperator("RegEx"); + + public static bool operator ==(UrlFileExtensionOperator left, UrlFileExtensionOperator right) => left.Equals(right); + public static bool operator !=(UrlFileExtensionOperator left, UrlFileExtensionOperator right) => !left.Equals(right); + + public static explicit operator string(UrlFileExtensionOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is UrlFileExtensionOperator other && Equals(other); + public bool Equals(UrlFileExtensionOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct UrlFileNameOperator : IEquatable + { + private readonly string _value; + + private UrlFileNameOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static UrlFileNameOperator Any { get; } = new UrlFileNameOperator("Any"); + public static UrlFileNameOperator Equal { get; } = new UrlFileNameOperator("Equal"); + public static UrlFileNameOperator Contains { get; } = new UrlFileNameOperator("Contains"); + public static UrlFileNameOperator BeginsWith { get; } = new UrlFileNameOperator("BeginsWith"); + public static UrlFileNameOperator EndsWith { get; } = new UrlFileNameOperator("EndsWith"); + public static UrlFileNameOperator LessThan { get; } = new UrlFileNameOperator("LessThan"); + public static UrlFileNameOperator LessThanOrEqual { get; } = new UrlFileNameOperator("LessThanOrEqual"); + public static UrlFileNameOperator GreaterThan { get; } = new UrlFileNameOperator("GreaterThan"); + public static UrlFileNameOperator GreaterThanOrEqual { get; } = new UrlFileNameOperator("GreaterThanOrEqual"); + public static UrlFileNameOperator RegEx { get; } = new UrlFileNameOperator("RegEx"); + + public static bool operator ==(UrlFileNameOperator left, UrlFileNameOperator right) => left.Equals(right); + public static bool operator !=(UrlFileNameOperator left, UrlFileNameOperator right) => !left.Equals(right); + + public static explicit operator string(UrlFileNameOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is UrlFileNameOperator other && Equals(other); + public bool Equals(UrlFileNameOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes operator to be matched + /// + [EnumType] + public readonly struct UrlPathOperator : IEquatable + { + private readonly string _value; + + private UrlPathOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static UrlPathOperator Any { get; } = new UrlPathOperator("Any"); + public static UrlPathOperator Equal { get; } = new UrlPathOperator("Equal"); + public static UrlPathOperator Contains { get; } = new UrlPathOperator("Contains"); + public static UrlPathOperator BeginsWith { get; } = new UrlPathOperator("BeginsWith"); + public static UrlPathOperator EndsWith { get; } = new UrlPathOperator("EndsWith"); + public static UrlPathOperator LessThan { get; } = new UrlPathOperator("LessThan"); + public static UrlPathOperator LessThanOrEqual { get; } = new UrlPathOperator("LessThanOrEqual"); + public static UrlPathOperator GreaterThan { get; } = new UrlPathOperator("GreaterThan"); + public static UrlPathOperator GreaterThanOrEqual { get; } = new UrlPathOperator("GreaterThanOrEqual"); + public static UrlPathOperator Wildcard { get; } = new UrlPathOperator("Wildcard"); + public static UrlPathOperator RegEx { get; } = new UrlPathOperator("RegEx"); + + public static bool operator ==(UrlPathOperator left, UrlPathOperator right) => left.Equals(right); + public static bool operator !=(UrlPathOperator left, UrlPathOperator right) => !left.Equals(right); + + public static explicit operator string(UrlPathOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is UrlPathOperator other && Equals(other); + public bool Equals(UrlPathOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Match variable to compare against. + /// + [EnumType] + public readonly struct WafMatchVariable : IEquatable + { + private readonly string _value; + + private WafMatchVariable(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static WafMatchVariable RemoteAddr { get; } = new WafMatchVariable("RemoteAddr"); + public static WafMatchVariable SocketAddr { get; } = new WafMatchVariable("SocketAddr"); + public static WafMatchVariable RequestMethod { get; } = new WafMatchVariable("RequestMethod"); + public static WafMatchVariable RequestHeader { get; } = new WafMatchVariable("RequestHeader"); + public static WafMatchVariable RequestUri { get; } = new WafMatchVariable("RequestUri"); + public static WafMatchVariable QueryString { get; } = new WafMatchVariable("QueryString"); + public static WafMatchVariable RequestBody { get; } = new WafMatchVariable("RequestBody"); + public static WafMatchVariable Cookies { get; } = new WafMatchVariable("Cookies"); + public static WafMatchVariable PostArgs { get; } = new WafMatchVariable("PostArgs"); + + public static bool operator ==(WafMatchVariable left, WafMatchVariable right) => left.Equals(right); + public static bool operator !=(WafMatchVariable left, WafMatchVariable right) => !left.Equals(right); + + public static explicit operator string(WafMatchVariable value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is WafMatchVariable other && Equals(other); + public bool Equals(WafMatchVariable other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetAFDCustomDomain.cs b/sdk/dotnet/Cdn/V20230701Preview/GetAFDCustomDomain.cs new file mode 100644 index 000000000000..83f2fd831641 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetAFDCustomDomain.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetAFDCustomDomain + { + /// + /// Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. + /// + public static Task InvokeAsync(GetAFDCustomDomainArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getAFDCustomDomain", args ?? new GetAFDCustomDomainArgs(), options.WithDefaults()); + + /// + /// Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. + /// + public static Output Invoke(GetAFDCustomDomainInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getAFDCustomDomain", args ?? new GetAFDCustomDomainInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAFDCustomDomainArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the domain under the profile which is unique globally. + /// + [Input("customDomainName", required: true)] + public string CustomDomainName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetAFDCustomDomainArgs() + { + } + public static new GetAFDCustomDomainArgs Empty => new GetAFDCustomDomainArgs(); + } + + public sealed class GetAFDCustomDomainInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the domain under the profile which is unique globally. + /// + [Input("customDomainName", required: true)] + public Input CustomDomainName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetAFDCustomDomainInvokeArgs() + { + } + public static new GetAFDCustomDomainInvokeArgs Empty => new GetAFDCustomDomainInvokeArgs(); + } + + + [OutputType] + public sealed class GetAFDCustomDomainResult + { + /// + /// Resource reference to the Azure DNS zone + /// + public readonly Outputs.ResourceReferenceResponse? AzureDnsZone; + public readonly string DeploymentStatus; + /// + /// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + /// + public readonly string DomainValidationState; + /// + /// Key-Value pair representing migration properties for domains. + /// + public readonly ImmutableDictionary? ExtendedProperties; + /// + /// The host name of the domain. Must be a domain name. + /// + public readonly string HostName; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Resource reference to the Azure resource where custom domain ownership was prevalidated + /// + public readonly Outputs.ResourceReferenceResponse? PreValidatedCustomDomainResourceId; + /// + /// The name of the profile which holds the domain. + /// + public readonly string ProfileName; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + /// + public readonly Outputs.AFDDomainHttpsParametersResponse? TlsSettings; + /// + /// Resource type. + /// + public readonly string Type; + /// + /// Values the customer needs to validate domain ownership + /// + public readonly Outputs.DomainValidationPropertiesResponse ValidationProperties; + + [OutputConstructor] + private GetAFDCustomDomainResult( + Outputs.ResourceReferenceResponse? azureDnsZone, + + string deploymentStatus, + + string domainValidationState, + + ImmutableDictionary? extendedProperties, + + string hostName, + + string id, + + string name, + + Outputs.ResourceReferenceResponse? preValidatedCustomDomainResourceId, + + string profileName, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + Outputs.AFDDomainHttpsParametersResponse? tlsSettings, + + string type, + + Outputs.DomainValidationPropertiesResponse validationProperties) + { + AzureDnsZone = azureDnsZone; + DeploymentStatus = deploymentStatus; + DomainValidationState = domainValidationState; + ExtendedProperties = extendedProperties; + HostName = hostName; + Id = id; + Name = name; + PreValidatedCustomDomainResourceId = preValidatedCustomDomainResourceId; + ProfileName = profileName; + ProvisioningState = provisioningState; + SystemData = systemData; + TlsSettings = tlsSettings; + Type = type; + ValidationProperties = validationProperties; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetAFDEndpoint.cs b/sdk/dotnet/Cdn/V20230701Preview/GetAFDEndpoint.cs new file mode 100644 index 000000000000..1d9b68455bf3 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetAFDEndpoint.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetAFDEndpoint + { + /// + /// Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. + /// + public static Task InvokeAsync(GetAFDEndpointArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getAFDEndpoint", args ?? new GetAFDEndpointArgs(), options.WithDefaults()); + + /// + /// Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. + /// + public static Output Invoke(GetAFDEndpointInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getAFDEndpoint", args ?? new GetAFDEndpointInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAFDEndpointArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public string EndpointName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetAFDEndpointArgs() + { + } + public static new GetAFDEndpointArgs Empty => new GetAFDEndpointArgs(); + } + + public sealed class GetAFDEndpointInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetAFDEndpointInvokeArgs() + { + } + public static new GetAFDEndpointInvokeArgs Empty => new GetAFDEndpointInvokeArgs(); + } + + + [OutputType] + public sealed class GetAFDEndpointResult + { + /// + /// Indicates the endpoint name reuse scope. The default value is TenantReuse. + /// + public readonly string? AutoGeneratedDomainNameLabelScope; + public readonly string DeploymentStatus; + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + public readonly string? EnabledState; + /// + /// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + /// + public readonly string HostName; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource location. + /// + public readonly string Location; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The name of the profile which holds the endpoint. + /// + public readonly string ProfileName; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetAFDEndpointResult( + string? autoGeneratedDomainNameLabelScope, + + string deploymentStatus, + + string? enabledState, + + string hostName, + + string id, + + string location, + + string name, + + string profileName, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + AutoGeneratedDomainNameLabelScope = autoGeneratedDomainNameLabelScope; + DeploymentStatus = deploymentStatus; + EnabledState = enabledState; + HostName = hostName; + Id = id; + Location = location; + Name = name; + ProfileName = profileName; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetAFDOrigin.cs b/sdk/dotnet/Cdn/V20230701Preview/GetAFDOrigin.cs new file mode 100644 index 000000000000..21163bcc3cdf --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetAFDOrigin.cs @@ -0,0 +1,217 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetAFDOrigin + { + /// + /// Gets an existing origin within an origin group. + /// + public static Task InvokeAsync(GetAFDOriginArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getAFDOrigin", args ?? new GetAFDOriginArgs(), options.WithDefaults()); + + /// + /// Gets an existing origin within an origin group. + /// + public static Output Invoke(GetAFDOriginInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getAFDOrigin", args ?? new GetAFDOriginInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAFDOriginArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the origin group which is unique within the profile. + /// + [Input("originGroupName", required: true)] + public string OriginGroupName { get; set; } = null!; + + /// + /// Name of the origin which is unique within the profile. + /// + [Input("originName", required: true)] + public string OriginName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetAFDOriginArgs() + { + } + public static new GetAFDOriginArgs Empty => new GetAFDOriginArgs(); + } + + public sealed class GetAFDOriginInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the origin group which is unique within the profile. + /// + [Input("originGroupName", required: true)] + public Input OriginGroupName { get; set; } = null!; + + /// + /// Name of the origin which is unique within the profile. + /// + [Input("originName", required: true)] + public Input OriginName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetAFDOriginInvokeArgs() + { + } + public static new GetAFDOriginInvokeArgs Empty => new GetAFDOriginInvokeArgs(); + } + + + [OutputType] + public sealed class GetAFDOriginResult + { + /// + /// Resource reference to the Azure origin resource. + /// + public readonly Outputs.ResourceReferenceResponse? AzureOrigin; + public readonly string DeploymentStatus; + /// + /// Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + /// + public readonly string? EnabledState; + /// + /// Whether to enable certificate name check at origin level + /// + public readonly bool? EnforceCertificateNameCheck; + /// + /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + /// + public readonly string HostName; + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + public readonly int? HttpPort; + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + public readonly int? HttpsPort; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The name of the origin group which contains this origin. + /// + public readonly string OriginGroupName; + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + /// + public readonly string? OriginHostHeader; + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + /// + public readonly int? Priority; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// The properties of the private link resource for private origin. + /// + public readonly Outputs.SharedPrivateLinkResourcePropertiesResponse? SharedPrivateLinkResource; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + public readonly int? Weight; + + [OutputConstructor] + private GetAFDOriginResult( + Outputs.ResourceReferenceResponse? azureOrigin, + + string deploymentStatus, + + string? enabledState, + + bool? enforceCertificateNameCheck, + + string hostName, + + int? httpPort, + + int? httpsPort, + + string id, + + string name, + + string originGroupName, + + string? originHostHeader, + + int? priority, + + string provisioningState, + + Outputs.SharedPrivateLinkResourcePropertiesResponse? sharedPrivateLinkResource, + + Outputs.SystemDataResponse systemData, + + string type, + + int? weight) + { + AzureOrigin = azureOrigin; + DeploymentStatus = deploymentStatus; + EnabledState = enabledState; + EnforceCertificateNameCheck = enforceCertificateNameCheck; + HostName = hostName; + HttpPort = httpPort; + HttpsPort = httpsPort; + Id = id; + Name = name; + OriginGroupName = originGroupName; + OriginHostHeader = originHostHeader; + Priority = priority; + ProvisioningState = provisioningState; + SharedPrivateLinkResource = sharedPrivateLinkResource; + SystemData = systemData; + Type = type; + Weight = weight; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetAFDOriginGroup.cs b/sdk/dotnet/Cdn/V20230701Preview/GetAFDOriginGroup.cs new file mode 100644 index 000000000000..43d6ef12717d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetAFDOriginGroup.cs @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetAFDOriginGroup + { + /// + /// Gets an existing origin group within a profile. + /// + public static Task InvokeAsync(GetAFDOriginGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getAFDOriginGroup", args ?? new GetAFDOriginGroupArgs(), options.WithDefaults()); + + /// + /// Gets an existing origin group within a profile. + /// + public static Output Invoke(GetAFDOriginGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getAFDOriginGroup", args ?? new GetAFDOriginGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAFDOriginGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the origin group which is unique within the endpoint. + /// + [Input("originGroupName", required: true)] + public string OriginGroupName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetAFDOriginGroupArgs() + { + } + public static new GetAFDOriginGroupArgs Empty => new GetAFDOriginGroupArgs(); + } + + public sealed class GetAFDOriginGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the origin group which is unique within the endpoint. + /// + [Input("originGroupName", required: true)] + public Input OriginGroupName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetAFDOriginGroupInvokeArgs() + { + } + public static new GetAFDOriginGroupInvokeArgs Empty => new GetAFDOriginGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetAFDOriginGroupResult + { + public readonly string DeploymentStatus; + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + public readonly Outputs.HealthProbeParametersResponse? HealthProbeSettings; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Load balancing settings for a backend pool + /// + public readonly Outputs.LoadBalancingSettingsParametersResponse? LoadBalancingSettings; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The name of the profile which holds the origin group. + /// + public readonly string ProfileName; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + /// + public readonly string? SessionAffinityState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + public readonly int? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetAFDOriginGroupResult( + string deploymentStatus, + + Outputs.HealthProbeParametersResponse? healthProbeSettings, + + string id, + + Outputs.LoadBalancingSettingsParametersResponse? loadBalancingSettings, + + string name, + + string profileName, + + string provisioningState, + + string? sessionAffinityState, + + Outputs.SystemDataResponse systemData, + + int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes, + + string type) + { + DeploymentStatus = deploymentStatus; + HealthProbeSettings = healthProbeSettings; + Id = id; + LoadBalancingSettings = loadBalancingSettings; + Name = name; + ProfileName = profileName; + ProvisioningState = provisioningState; + SessionAffinityState = sessionAffinityState; + SystemData = systemData; + TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetCustomDomain.cs b/sdk/dotnet/Cdn/V20230701Preview/GetCustomDomain.cs new file mode 100644 index 000000000000..9017c4ba7cb2 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetCustomDomain.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetCustomDomain + { + /// + /// Gets an existing custom domain within an endpoint. + /// + public static Task InvokeAsync(GetCustomDomainArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getCustomDomain", args ?? new GetCustomDomainArgs(), options.WithDefaults()); + + /// + /// Gets an existing custom domain within an endpoint. + /// + public static Output Invoke(GetCustomDomainInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getCustomDomain", args ?? new GetCustomDomainInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCustomDomainArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the custom domain within an endpoint. + /// + [Input("customDomainName", required: true)] + public string CustomDomainName { get; set; } = null!; + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public string EndpointName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCustomDomainArgs() + { + } + public static new GetCustomDomainArgs Empty => new GetCustomDomainArgs(); + } + + public sealed class GetCustomDomainInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the custom domain within an endpoint. + /// + [Input("customDomainName", required: true)] + public Input CustomDomainName { get; set; } = null!; + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCustomDomainInvokeArgs() + { + } + public static new GetCustomDomainInvokeArgs Empty => new GetCustomDomainInvokeArgs(); + } + + + [OutputType] + public sealed class GetCustomDomainResult + { + /// + /// Certificate parameters for securing custom HTTPS + /// + public readonly Union? CustomHttpsParameters; + /// + /// Provisioning status of the custom domain. + /// + public readonly string CustomHttpsProvisioningState; + /// + /// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + /// + public readonly string CustomHttpsProvisioningSubstate; + /// + /// The host name of the custom domain. Must be a domain name. + /// + public readonly string HostName; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Provisioning status of Custom Https of the custom domain. + /// + public readonly string ProvisioningState; + /// + /// Resource status of the custom domain. + /// + public readonly string ResourceState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + /// + /// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + /// + public readonly string? ValidationData; + + [OutputConstructor] + private GetCustomDomainResult( + Union? customHttpsParameters, + + string customHttpsProvisioningState, + + string customHttpsProvisioningSubstate, + + string hostName, + + string id, + + string name, + + string provisioningState, + + string resourceState, + + Outputs.SystemDataResponse systemData, + + string type, + + string? validationData) + { + CustomHttpsParameters = customHttpsParameters; + CustomHttpsProvisioningState = customHttpsProvisioningState; + CustomHttpsProvisioningSubstate = customHttpsProvisioningSubstate; + HostName = hostName; + Id = id; + Name = name; + ProvisioningState = provisioningState; + ResourceState = resourceState; + SystemData = systemData; + Type = type; + ValidationData = validationData; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetEndpoint.cs b/sdk/dotnet/Cdn/V20230701Preview/GetEndpoint.cs new file mode 100644 index 000000000000..a512db9a7744 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetEndpoint.cs @@ -0,0 +1,271 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetEndpoint + { + /// + /// Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. + /// + public static Task InvokeAsync(GetEndpointArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getEndpoint", args ?? new GetEndpointArgs(), options.WithDefaults()); + + /// + /// Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. + /// + public static Output Invoke(GetEndpointInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getEndpoint", args ?? new GetEndpointInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEndpointArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public string EndpointName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetEndpointArgs() + { + } + public static new GetEndpointArgs Empty => new GetEndpointArgs(); + } + + public sealed class GetEndpointInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetEndpointInvokeArgs() + { + } + public static new GetEndpointInvokeArgs Empty => new GetEndpointInvokeArgs(); + } + + + [OutputType] + public sealed class GetEndpointResult + { + /// + /// List of content types on which compression applies. The value should be a valid MIME type. + /// + public readonly ImmutableArray ContentTypesToCompress; + /// + /// The custom domains under the endpoint. + /// + public readonly ImmutableArray CustomDomains; + /// + /// A reference to the origin group. + /// + public readonly Outputs.ResourceReferenceResponse? DefaultOriginGroup; + /// + /// A policy that specifies the delivery rules to be used for an endpoint. + /// + public readonly Outputs.EndpointPropertiesUpdateParametersResponseDeliveryPolicy? DeliveryPolicy; + /// + /// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + /// + public readonly ImmutableArray GeoFilters; + /// + /// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + /// + public readonly string HostName; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + /// + public readonly bool? IsCompressionEnabled; + /// + /// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + /// + public readonly bool? IsHttpAllowed; + /// + /// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + /// + public readonly bool? IsHttpsAllowed; + /// + /// Resource location. + /// + public readonly string Location; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + /// + public readonly string? OptimizationType; + /// + /// The origin groups comprising of origins that are used for load balancing the traffic based on availability. + /// + public readonly ImmutableArray OriginGroups; + /// + /// The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + /// + public readonly string? OriginHostHeader; + /// + /// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + /// + public readonly string? OriginPath; + /// + /// The source of the content being delivered via CDN. + /// + public readonly ImmutableArray Origins; + /// + /// Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + /// + public readonly string? ProbePath; + /// + /// Provisioning status of the endpoint. + /// + public readonly string ProvisioningState; + /// + /// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + /// + public readonly string? QueryStringCachingBehavior; + /// + /// Resource status of the endpoint. + /// + public readonly string ResourceState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type. + /// + public readonly string Type; + /// + /// List of keys used to validate the signed URL hashes. + /// + public readonly ImmutableArray UrlSigningKeys; + /// + /// Defines the Web Application Firewall policy for the endpoint (if applicable) + /// + public readonly Outputs.EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink? WebApplicationFirewallPolicyLink; + + [OutputConstructor] + private GetEndpointResult( + ImmutableArray contentTypesToCompress, + + ImmutableArray customDomains, + + Outputs.ResourceReferenceResponse? defaultOriginGroup, + + Outputs.EndpointPropertiesUpdateParametersResponseDeliveryPolicy? deliveryPolicy, + + ImmutableArray geoFilters, + + string hostName, + + string id, + + bool? isCompressionEnabled, + + bool? isHttpAllowed, + + bool? isHttpsAllowed, + + string location, + + string name, + + string? optimizationType, + + ImmutableArray originGroups, + + string? originHostHeader, + + string? originPath, + + ImmutableArray origins, + + string? probePath, + + string provisioningState, + + string? queryStringCachingBehavior, + + string resourceState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + ImmutableArray urlSigningKeys, + + Outputs.EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink? webApplicationFirewallPolicyLink) + { + ContentTypesToCompress = contentTypesToCompress; + CustomDomains = customDomains; + DefaultOriginGroup = defaultOriginGroup; + DeliveryPolicy = deliveryPolicy; + GeoFilters = geoFilters; + HostName = hostName; + Id = id; + IsCompressionEnabled = isCompressionEnabled; + IsHttpAllowed = isHttpAllowed; + IsHttpsAllowed = isHttpsAllowed; + Location = location; + Name = name; + OptimizationType = optimizationType; + OriginGroups = originGroups; + OriginHostHeader = originHostHeader; + OriginPath = originPath; + Origins = origins; + ProbePath = probePath; + ProvisioningState = provisioningState; + QueryStringCachingBehavior = queryStringCachingBehavior; + ResourceState = resourceState; + SystemData = systemData; + Tags = tags; + Type = type; + UrlSigningKeys = urlSigningKeys; + WebApplicationFirewallPolicyLink = webApplicationFirewallPolicyLink; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetKeyGroup.cs b/sdk/dotnet/Cdn/V20230701Preview/GetKeyGroup.cs new file mode 100644 index 000000000000..48134bba35f9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetKeyGroup.cs @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetKeyGroup + { + /// + /// Gets an existing KeyGroup within a profile. + /// + public static Task InvokeAsync(GetKeyGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getKeyGroup", args ?? new GetKeyGroupArgs(), options.WithDefaults()); + + /// + /// Gets an existing KeyGroup within a profile. + /// + public static Output Invoke(GetKeyGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getKeyGroup", args ?? new GetKeyGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetKeyGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the KeyGroup under the profile. + /// + [Input("keyGroupName", required: true)] + public string KeyGroupName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetKeyGroupArgs() + { + } + public static new GetKeyGroupArgs Empty => new GetKeyGroupArgs(); + } + + public sealed class GetKeyGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the KeyGroup under the profile. + /// + [Input("keyGroupName", required: true)] + public Input KeyGroupName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetKeyGroupInvokeArgs() + { + } + public static new GetKeyGroupInvokeArgs Empty => new GetKeyGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetKeyGroupResult + { + public readonly string DeploymentStatus; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Names of UrlSigningKey type secret objects + /// + public readonly ImmutableArray KeyReferences; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetKeyGroupResult( + string deploymentStatus, + + string id, + + ImmutableArray keyReferences, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + DeploymentStatus = deploymentStatus; + Id = id; + KeyReferences = keyReferences; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetOrigin.cs b/sdk/dotnet/Cdn/V20230701Preview/GetOrigin.cs new file mode 100644 index 000000000000..eb503afbcc53 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetOrigin.cs @@ -0,0 +1,227 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetOrigin + { + /// + /// Gets an existing origin within an endpoint. + /// + public static Task InvokeAsync(GetOriginArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getOrigin", args ?? new GetOriginArgs(), options.WithDefaults()); + + /// + /// Gets an existing origin within an endpoint. + /// + public static Output Invoke(GetOriginInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getOrigin", args ?? new GetOriginInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOriginArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public string EndpointName { get; set; } = null!; + + /// + /// Name of the origin which is unique within the endpoint. + /// + [Input("originName", required: true)] + public string OriginName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetOriginArgs() + { + } + public static new GetOriginArgs Empty => new GetOriginArgs(); + } + + public sealed class GetOriginInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Name of the origin which is unique within the endpoint. + /// + [Input("originName", required: true)] + public Input OriginName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetOriginInvokeArgs() + { + } + public static new GetOriginInvokeArgs Empty => new GetOriginInvokeArgs(); + } + + + [OutputType] + public sealed class GetOriginResult + { + /// + /// Origin is enabled for load balancing or not + /// + public readonly bool? Enabled; + /// + /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + /// + public readonly string HostName; + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + public readonly int? HttpPort; + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + public readonly int? HttpsPort; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + /// + public readonly string? OriginHostHeader; + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + /// + public readonly int? Priority; + /// + /// The approval status for the connection to the Private Link + /// + public readonly string PrivateEndpointStatus; + /// + /// The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + /// + public readonly string? PrivateLinkAlias; + /// + /// A custom message to be included in the approval request to connect to the Private Link. + /// + public readonly string? PrivateLinkApprovalMessage; + /// + /// The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + /// + public readonly string? PrivateLinkLocation; + /// + /// The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + /// + public readonly string? PrivateLinkResourceId; + /// + /// Provisioning status of the origin. + /// + public readonly string ProvisioningState; + /// + /// Resource status of the origin. + /// + public readonly string ResourceState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + public readonly int? Weight; + + [OutputConstructor] + private GetOriginResult( + bool? enabled, + + string hostName, + + int? httpPort, + + int? httpsPort, + + string id, + + string name, + + string? originHostHeader, + + int? priority, + + string privateEndpointStatus, + + string? privateLinkAlias, + + string? privateLinkApprovalMessage, + + string? privateLinkLocation, + + string? privateLinkResourceId, + + string provisioningState, + + string resourceState, + + Outputs.SystemDataResponse systemData, + + string type, + + int? weight) + { + Enabled = enabled; + HostName = hostName; + HttpPort = httpPort; + HttpsPort = httpsPort; + Id = id; + Name = name; + OriginHostHeader = originHostHeader; + Priority = priority; + PrivateEndpointStatus = privateEndpointStatus; + PrivateLinkAlias = privateLinkAlias; + PrivateLinkApprovalMessage = privateLinkApprovalMessage; + PrivateLinkLocation = privateLinkLocation; + PrivateLinkResourceId = privateLinkResourceId; + ProvisioningState = provisioningState; + ResourceState = resourceState; + SystemData = systemData; + Type = type; + Weight = weight; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetOriginGroup.cs b/sdk/dotnet/Cdn/V20230701Preview/GetOriginGroup.cs new file mode 100644 index 000000000000..deae6f94315b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetOriginGroup.cs @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetOriginGroup + { + /// + /// Gets an existing origin group within an endpoint. + /// + public static Task InvokeAsync(GetOriginGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getOriginGroup", args ?? new GetOriginGroupArgs(), options.WithDefaults()); + + /// + /// Gets an existing origin group within an endpoint. + /// + public static Output Invoke(GetOriginGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getOriginGroup", args ?? new GetOriginGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOriginGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public string EndpointName { get; set; } = null!; + + /// + /// Name of the origin group which is unique within the endpoint. + /// + [Input("originGroupName", required: true)] + public string OriginGroupName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetOriginGroupArgs() + { + } + public static new GetOriginGroupArgs Empty => new GetOriginGroupArgs(); + } + + public sealed class GetOriginGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Name of the origin group which is unique within the endpoint. + /// + [Input("originGroupName", required: true)] + public Input OriginGroupName { get; set; } = null!; + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetOriginGroupInvokeArgs() + { + } + public static new GetOriginGroupInvokeArgs Empty => new GetOriginGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetOriginGroupResult + { + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + public readonly Outputs.HealthProbeParametersResponse? HealthProbeSettings; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The source of the content being delivered via CDN within given origin group. + /// + public readonly ImmutableArray Origins; + /// + /// Provisioning status of the origin group. + /// + public readonly string ProvisioningState; + /// + /// Resource status of the origin group. + /// + public readonly string ResourceState; + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + /// + public readonly Outputs.ResponseBasedOriginErrorDetectionParametersResponse? ResponseBasedOriginErrorDetectionSettings; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + public readonly int? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetOriginGroupResult( + Outputs.HealthProbeParametersResponse? healthProbeSettings, + + string id, + + string name, + + ImmutableArray origins, + + string provisioningState, + + string resourceState, + + Outputs.ResponseBasedOriginErrorDetectionParametersResponse? responseBasedOriginErrorDetectionSettings, + + Outputs.SystemDataResponse systemData, + + int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes, + + string type) + { + HealthProbeSettings = healthProbeSettings; + Id = id; + Name = name; + Origins = origins; + ProvisioningState = provisioningState; + ResourceState = resourceState; + ResponseBasedOriginErrorDetectionSettings = responseBasedOriginErrorDetectionSettings; + SystemData = systemData; + TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetPolicy.cs b/sdk/dotnet/Cdn/V20230701Preview/GetPolicy.cs new file mode 100644 index 000000000000..39f6079b7d70 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetPolicy.cs @@ -0,0 +1,186 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetPolicy + { + /// + /// Retrieve protection policy with specified name within a resource group. + /// + public static Task InvokeAsync(GetPolicyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getPolicy", args ?? new GetPolicyArgs(), options.WithDefaults()); + + /// + /// Retrieve protection policy with specified name within a resource group. + /// + public static Output Invoke(GetPolicyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getPolicy", args ?? new GetPolicyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPolicyArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the CdnWebApplicationFirewallPolicy. + /// + [Input("policyName", required: true)] + public string PolicyName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPolicyArgs() + { + } + public static new GetPolicyArgs Empty => new GetPolicyArgs(); + } + + public sealed class GetPolicyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the CdnWebApplicationFirewallPolicy. + /// + [Input("policyName", required: true)] + public Input PolicyName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPolicyInvokeArgs() + { + } + public static new GetPolicyInvokeArgs Empty => new GetPolicyInvokeArgs(); + } + + + [OutputType] + public sealed class GetPolicyResult + { + /// + /// Describes custom rules inside the policy. + /// + public readonly Outputs.CustomRuleListResponse? CustomRules; + /// + /// Describes Azure CDN endpoints associated with this Web Application Firewall policy. + /// + public readonly ImmutableArray EndpointLinks; + /// + /// Gets a unique read-only string that changes whenever the resource is updated. + /// + public readonly string? Etag; + /// + /// Key-Value pair representing additional properties for Web Application Firewall policy. + /// + public readonly ImmutableDictionary? ExtendedProperties; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource location. + /// + public readonly string Location; + /// + /// Describes managed rules inside the policy. + /// + public readonly Outputs.ManagedRuleSetListResponse? ManagedRules; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Describes policySettings for policy + /// + public readonly Outputs.PolicySettingsResponse? PolicySettings; + /// + /// Provisioning state of the WebApplicationFirewallPolicy. + /// + public readonly string ProvisioningState; + /// + /// Describes rate limit rules inside the policy. + /// + public readonly Outputs.RateLimitRuleListResponse? RateLimitRules; + public readonly string ResourceState; + /// + /// The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + /// + public readonly Outputs.SkuResponse Sku; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetPolicyResult( + Outputs.CustomRuleListResponse? customRules, + + ImmutableArray endpointLinks, + + string? etag, + + ImmutableDictionary? extendedProperties, + + string id, + + string location, + + Outputs.ManagedRuleSetListResponse? managedRules, + + string name, + + Outputs.PolicySettingsResponse? policySettings, + + string provisioningState, + + Outputs.RateLimitRuleListResponse? rateLimitRules, + + string resourceState, + + Outputs.SkuResponse sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + CustomRules = customRules; + EndpointLinks = endpointLinks; + Etag = etag; + ExtendedProperties = extendedProperties; + Id = id; + Location = location; + ManagedRules = managedRules; + Name = name; + PolicySettings = policySettings; + ProvisioningState = provisioningState; + RateLimitRules = rateLimitRules; + ResourceState = resourceState; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetProfile.cs b/sdk/dotnet/Cdn/V20230701Preview/GetProfile.cs new file mode 100644 index 000000000000..de321cb770d9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetProfile.cs @@ -0,0 +1,175 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetProfile + { + /// + /// Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. + /// + public static Task InvokeAsync(GetProfileArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getProfile", args ?? new GetProfileArgs(), options.WithDefaults()); + + /// + /// Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. + /// + public static Output Invoke(GetProfileInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getProfile", args ?? new GetProfileInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetProfileArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetProfileArgs() + { + } + public static new GetProfileArgs Empty => new GetProfileArgs(); + } + + public sealed class GetProfileInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetProfileInvokeArgs() + { + } + public static new GetProfileInvokeArgs Empty => new GetProfileInvokeArgs(); + } + + + [OutputType] + public sealed class GetProfileResult + { + /// + /// Key-Value pair representing additional properties for profiles. + /// + public readonly ImmutableDictionary ExtendedProperties; + /// + /// The Id of the frontdoor. + /// + public readonly string FrontDoorId; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Managed service identity (system assigned and/or user assigned identities). + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + /// + public readonly string Kind; + /// + /// Resource location. + /// + public readonly string Location; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + /// + public readonly int? OriginResponseTimeoutSeconds; + /// + /// Provisioning status of the profile. + /// + public readonly string ProvisioningState; + /// + /// Resource status of the profile. + /// + public readonly string ResourceState; + /// + /// The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + /// + public readonly Outputs.SkuResponse Sku; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetProfileResult( + ImmutableDictionary extendedProperties, + + string frontDoorId, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string kind, + + string location, + + string name, + + int? originResponseTimeoutSeconds, + + string provisioningState, + + string resourceState, + + Outputs.SkuResponse sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ExtendedProperties = extendedProperties; + FrontDoorId = frontDoorId; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + Name = name; + OriginResponseTimeoutSeconds = originResponseTimeoutSeconds; + ProvisioningState = provisioningState; + ResourceState = resourceState; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetProfileSupportedOptimizationTypes.cs b/sdk/dotnet/Cdn/V20230701Preview/GetProfileSupportedOptimizationTypes.cs new file mode 100644 index 000000000000..4f3d2a9c2f07 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetProfileSupportedOptimizationTypes.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetProfileSupportedOptimizationTypes + { + /// + /// Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. + /// + public static Task InvokeAsync(GetProfileSupportedOptimizationTypesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getProfileSupportedOptimizationTypes", args ?? new GetProfileSupportedOptimizationTypesArgs(), options.WithDefaults()); + + /// + /// Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. + /// + public static Output Invoke(GetProfileSupportedOptimizationTypesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getProfileSupportedOptimizationTypes", args ?? new GetProfileSupportedOptimizationTypesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetProfileSupportedOptimizationTypesArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetProfileSupportedOptimizationTypesArgs() + { + } + public static new GetProfileSupportedOptimizationTypesArgs Empty => new GetProfileSupportedOptimizationTypesArgs(); + } + + public sealed class GetProfileSupportedOptimizationTypesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetProfileSupportedOptimizationTypesInvokeArgs() + { + } + public static new GetProfileSupportedOptimizationTypesInvokeArgs Empty => new GetProfileSupportedOptimizationTypesInvokeArgs(); + } + + + [OutputType] + public sealed class GetProfileSupportedOptimizationTypesResult + { + /// + /// Supported optimization types for a profile. + /// + public readonly ImmutableArray SupportedOptimizationTypes; + + [OutputConstructor] + private GetProfileSupportedOptimizationTypesResult(ImmutableArray supportedOptimizationTypes) + { + SupportedOptimizationTypes = supportedOptimizationTypes; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetRoute.cs b/sdk/dotnet/Cdn/V20230701Preview/GetRoute.cs new file mode 100644 index 000000000000..d11dddada03e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetRoute.cs @@ -0,0 +1,224 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetRoute + { + /// + /// Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. + /// + public static Task InvokeAsync(GetRouteArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getRoute", args ?? new GetRouteArgs(), options.WithDefaults()); + + /// + /// Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. + /// + public static Output Invoke(GetRouteInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getRoute", args ?? new GetRouteInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRouteArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public string EndpointName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the routing rule. + /// + [Input("routeName", required: true)] + public string RouteName { get; set; } = null!; + + public GetRouteArgs() + { + } + public static new GetRouteArgs Empty => new GetRouteArgs(); + } + + public sealed class GetRouteInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the routing rule. + /// + [Input("routeName", required: true)] + public Input RouteName { get; set; } = null!; + + public GetRouteInvokeArgs() + { + } + public static new GetRouteInvokeArgs Empty => new GetRouteInvokeArgs(); + } + + + [OutputType] + public sealed class GetRouteResult + { + /// + /// The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + /// + public readonly Outputs.AfdRouteCacheConfigurationResponse? CacheConfiguration; + /// + /// Domains referenced by this endpoint. + /// + public readonly ImmutableArray CustomDomains; + public readonly string DeploymentStatus; + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + public readonly string? EnabledState; + /// + /// The name of the endpoint which holds the route. + /// + public readonly string EndpointName; + /// + /// Protocol this rule will use when forwarding traffic to backends. + /// + public readonly string? ForwardingProtocol; + /// + /// Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + /// + public readonly string? HttpsRedirect; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// whether this route will be linked to the default endpoint domain. + /// + public readonly string? LinkToDefaultDomain; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// A reference to the origin group. + /// + public readonly Outputs.ResourceReferenceResponse OriginGroup; + /// + /// A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + /// + public readonly string? OriginPath; + /// + /// The route patterns of the rule. + /// + public readonly ImmutableArray PatternsToMatch; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// rule sets referenced by this endpoint. + /// + public readonly ImmutableArray RuleSets; + /// + /// List of supported protocols for this route. + /// + public readonly ImmutableArray SupportedProtocols; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetRouteResult( + Outputs.AfdRouteCacheConfigurationResponse? cacheConfiguration, + + ImmutableArray customDomains, + + string deploymentStatus, + + string? enabledState, + + string endpointName, + + string? forwardingProtocol, + + string? httpsRedirect, + + string id, + + string? linkToDefaultDomain, + + string name, + + Outputs.ResourceReferenceResponse originGroup, + + string? originPath, + + ImmutableArray patternsToMatch, + + string provisioningState, + + ImmutableArray ruleSets, + + ImmutableArray supportedProtocols, + + Outputs.SystemDataResponse systemData, + + string type) + { + CacheConfiguration = cacheConfiguration; + CustomDomains = customDomains; + DeploymentStatus = deploymentStatus; + EnabledState = enabledState; + EndpointName = endpointName; + ForwardingProtocol = forwardingProtocol; + HttpsRedirect = httpsRedirect; + Id = id; + LinkToDefaultDomain = linkToDefaultDomain; + Name = name; + OriginGroup = originGroup; + OriginPath = originPath; + PatternsToMatch = patternsToMatch; + ProvisioningState = provisioningState; + RuleSets = ruleSets; + SupportedProtocols = supportedProtocols; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetRule.cs b/sdk/dotnet/Cdn/V20230701Preview/GetRule.cs new file mode 100644 index 000000000000..4620b809ee6d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetRule.cs @@ -0,0 +1,175 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetRule + { + /// + /// Gets an existing delivery rule within a rule set. + /// + public static Task InvokeAsync(GetRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getRule", args ?? new GetRuleArgs(), options.WithDefaults()); + + /// + /// Gets an existing delivery rule within a rule set. + /// + public static Output Invoke(GetRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getRule", args ?? new GetRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the delivery rule which is unique within the endpoint. + /// + [Input("ruleName", required: true)] + public string RuleName { get; set; } = null!; + + /// + /// Name of the rule set under the profile. + /// + [Input("ruleSetName", required: true)] + public string RuleSetName { get; set; } = null!; + + public GetRuleArgs() + { + } + public static new GetRuleArgs Empty => new GetRuleArgs(); + } + + public sealed class GetRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the delivery rule which is unique within the endpoint. + /// + [Input("ruleName", required: true)] + public Input RuleName { get; set; } = null!; + + /// + /// Name of the rule set under the profile. + /// + [Input("ruleSetName", required: true)] + public Input RuleSetName { get; set; } = null!; + + public GetRuleInvokeArgs() + { + } + public static new GetRuleInvokeArgs Empty => new GetRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetRuleResult + { + /// + /// A list of actions that are executed when all the conditions of a rule are satisfied. + /// + public readonly ImmutableArray Actions; + /// + /// A list of conditions that must be matched for the actions to be executed + /// + public readonly ImmutableArray Conditions; + public readonly string DeploymentStatus; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + /// + public readonly string? MatchProcessingBehavior; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + /// + public readonly int Order; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// The name of the rule set containing the rule. + /// + public readonly string RuleSetName; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetRuleResult( + ImmutableArray actions, + + ImmutableArray conditions, + + string deploymentStatus, + + string id, + + string? matchProcessingBehavior, + + string name, + + int order, + + string provisioningState, + + string ruleSetName, + + Outputs.SystemDataResponse systemData, + + string type) + { + Actions = actions; + Conditions = conditions; + DeploymentStatus = deploymentStatus; + Id = id; + MatchProcessingBehavior = matchProcessingBehavior; + Name = name; + Order = order; + ProvisioningState = provisioningState; + RuleSetName = ruleSetName; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetRuleSet.cs b/sdk/dotnet/Cdn/V20230701Preview/GetRuleSet.cs new file mode 100644 index 000000000000..afbce1191de1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetRuleSet.cs @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetRuleSet + { + /// + /// Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. + /// + public static Task InvokeAsync(GetRuleSetArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getRuleSet", args ?? new GetRuleSetArgs(), options.WithDefaults()); + + /// + /// Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. + /// + public static Output Invoke(GetRuleSetInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getRuleSet", args ?? new GetRuleSetInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRuleSetArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the rule set under the profile which is unique globally. + /// + [Input("ruleSetName", required: true)] + public string RuleSetName { get; set; } = null!; + + public GetRuleSetArgs() + { + } + public static new GetRuleSetArgs Empty => new GetRuleSetArgs(); + } + + public sealed class GetRuleSetInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the rule set under the profile which is unique globally. + /// + [Input("ruleSetName", required: true)] + public Input RuleSetName { get; set; } = null!; + + public GetRuleSetInvokeArgs() + { + } + public static new GetRuleSetInvokeArgs Empty => new GetRuleSetInvokeArgs(); + } + + + [OutputType] + public sealed class GetRuleSetResult + { + public readonly string DeploymentStatus; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// The name of the profile which holds the rule set. + /// + public readonly string ProfileName; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetRuleSetResult( + string deploymentStatus, + + string id, + + string name, + + string profileName, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + DeploymentStatus = deploymentStatus; + Id = id; + Name = name; + ProfileName = profileName; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetSecret.cs b/sdk/dotnet/Cdn/V20230701Preview/GetSecret.cs new file mode 100644 index 000000000000..8fc028f26aac --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetSecret.cs @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetSecret + { + /// + /// Gets an existing Secret within a profile. + /// + public static Task InvokeAsync(GetSecretArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getSecret", args ?? new GetSecretArgs(), options.WithDefaults()); + + /// + /// Gets an existing Secret within a profile. + /// + public static Output Invoke(GetSecretInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getSecret", args ?? new GetSecretInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSecretArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the Secret under the profile. + /// + [Input("secretName", required: true)] + public string SecretName { get; set; } = null!; + + public GetSecretArgs() + { + } + public static new GetSecretArgs Empty => new GetSecretArgs(); + } + + public sealed class GetSecretInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the Secret under the profile. + /// + [Input("secretName", required: true)] + public Input SecretName { get; set; } = null!; + + public GetSecretInvokeArgs() + { + } + public static new GetSecretInvokeArgs Empty => new GetSecretInvokeArgs(); + } + + + [OutputType] + public sealed class GetSecretResult + { + public readonly string DeploymentStatus; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// object which contains secret parameters + /// + public readonly object? Parameters; + /// + /// The name of the profile which holds the secret. + /// + public readonly string ProfileName; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetSecretResult( + string deploymentStatus, + + string id, + + string name, + + object? parameters, + + string profileName, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + DeploymentStatus = deploymentStatus; + Id = id; + Name = name; + Parameters = parameters; + ProfileName = profileName; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/GetSecurityPolicy.cs b/sdk/dotnet/Cdn/V20230701Preview/GetSecurityPolicy.cs new file mode 100644 index 000000000000..9486a7462aba --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/GetSecurityPolicy.cs @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + public static class GetSecurityPolicy + { + /// + /// Gets an existing security policy within a profile. + /// + public static Task InvokeAsync(GetSecurityPolicyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:cdn/v20230701preview:getSecurityPolicy", args ?? new GetSecurityPolicyArgs(), options.WithDefaults()); + + /// + /// Gets an existing security policy within a profile. + /// + public static Output Invoke(GetSecurityPolicyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:cdn/v20230701preview:getSecurityPolicy", args ?? new GetSecurityPolicyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSecurityPolicyArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public string ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the security policy under the profile. + /// + [Input("securityPolicyName", required: true)] + public string SecurityPolicyName { get; set; } = null!; + + public GetSecurityPolicyArgs() + { + } + public static new GetSecurityPolicyArgs Empty => new GetSecurityPolicyArgs(); + } + + public sealed class GetSecurityPolicyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the security policy under the profile. + /// + [Input("securityPolicyName", required: true)] + public Input SecurityPolicyName { get; set; } = null!; + + public GetSecurityPolicyInvokeArgs() + { + } + public static new GetSecurityPolicyInvokeArgs Empty => new GetSecurityPolicyInvokeArgs(); + } + + + [OutputType] + public sealed class GetSecurityPolicyResult + { + public readonly string DeploymentStatus; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// object which contains security policy parameters + /// + public readonly Outputs.SecurityPolicyWebApplicationFirewallParametersResponse? Parameters; + /// + /// The name of the profile which holds the security policy. + /// + public readonly string ProfileName; + /// + /// Provisioning status + /// + public readonly string ProvisioningState; + /// + /// Read only system data + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetSecurityPolicyResult( + string deploymentStatus, + + string id, + + string name, + + Outputs.SecurityPolicyWebApplicationFirewallParametersResponse? parameters, + + string profileName, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + DeploymentStatus = deploymentStatus; + Id = id; + Name = name; + Parameters = parameters; + ProfileName = profileName; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/AFDDomainHttpsParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/AFDDomainHttpsParametersArgs.cs new file mode 100644 index 000000000000..a1fe036427e1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/AFDDomainHttpsParametersArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The JSON object that contains the properties to secure a domain. + /// + public sealed class AFDDomainHttpsParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Defines the source of the SSL certificate. + /// + [Input("certificateType", required: true)] + public InputUnion CertificateType { get; set; } = null!; + + /// + /// TLS protocol version that will be used for Https + /// + [Input("minimumTlsVersion")] + public Input? MinimumTlsVersion { get; set; } + + /// + /// Resource reference to the secret. ie. subs/rg/profile/secret + /// + [Input("secret")] + public Input? Secret { get; set; } + + public AFDDomainHttpsParametersArgs() + { + } + public static new AFDDomainHttpsParametersArgs Empty => new AFDDomainHttpsParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ActivatedResourceReferenceArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ActivatedResourceReferenceArgs.cs new file mode 100644 index 000000000000..586f91ab678e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ActivatedResourceReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Reference to another resource along with its state. + /// + public sealed class ActivatedResourceReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID. + /// + [Input("id")] + public Input? Id { get; set; } + + public ActivatedResourceReferenceArgs() + { + } + public static new ActivatedResourceReferenceArgs Empty => new ActivatedResourceReferenceArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/AfdRouteCacheConfigurationArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/AfdRouteCacheConfigurationArgs.cs new file mode 100644 index 000000000000..a76fc6afa245 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/AfdRouteCacheConfigurationArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + /// + public sealed class AfdRouteCacheConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// compression settings. + /// + [Input("compressionSettings")] + public Input? CompressionSettings { get; set; } + + /// + /// query parameters to include or exclude (comma separated). + /// + [Input("queryParameters")] + public Input? QueryParameters { get; set; } + + /// + /// Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + /// + [Input("queryStringCachingBehavior")] + public InputUnion? QueryStringCachingBehavior { get; set; } + + public AfdRouteCacheConfigurationArgs() + { + } + public static new AfdRouteCacheConfigurationArgs Empty => new AfdRouteCacheConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/AzureFirstPartyManagedCertificateParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/AzureFirstPartyManagedCertificateParametersArgs.cs new file mode 100644 index 000000000000..10d84e73ced6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/AzureFirstPartyManagedCertificateParametersArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. + /// + public sealed class AzureFirstPartyManagedCertificateParametersArgs : global::Pulumi.ResourceArgs + { + [Input("subjectAlternativeNames")] + private InputList? _subjectAlternativeNames; + + /// + /// The list of SANs. + /// + public InputList SubjectAlternativeNames + { + get => _subjectAlternativeNames ?? (_subjectAlternativeNames = new InputList()); + set => _subjectAlternativeNames = value; + } + + /// + /// The type of the secret resource. + /// Expected value is 'AzureFirstPartyManagedCertificate'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public AzureFirstPartyManagedCertificateParametersArgs() + { + } + public static new AzureFirstPartyManagedCertificateParametersArgs Empty => new AzureFirstPartyManagedCertificateParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheConfigurationArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheConfigurationArgs.cs new file mode 100644 index 000000000000..05be54ac9928 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheConfigurationArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + /// + public sealed class CacheConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Caching behavior for the requests + /// + [Input("cacheBehavior")] + public InputUnion? CacheBehavior { get; set; } + + /// + /// The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + /// + [Input("cacheDuration")] + public Input? CacheDuration { get; set; } + + /// + /// Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + /// + [Input("isCompressionEnabled")] + public InputUnion? IsCompressionEnabled { get; set; } + + /// + /// query parameters to include or exclude (comma separated). + /// + [Input("queryParameters")] + public Input? QueryParameters { get; set; } + + /// + /// Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + /// + [Input("queryStringCachingBehavior")] + public InputUnion? QueryStringCachingBehavior { get; set; } + + public CacheConfigurationArgs() + { + } + public static new CacheConfigurationArgs Empty => new CacheConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheExpirationActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheExpirationActionParametersArgs.cs new file mode 100644 index 000000000000..cb1ae09e7cb8 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheExpirationActionParametersArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the cache expiration action. + /// + public sealed class CacheExpirationActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Caching behavior for the requests + /// + [Input("cacheBehavior", required: true)] + public InputUnion CacheBehavior { get; set; } = null!; + + /// + /// The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + /// + [Input("cacheDuration")] + public Input? CacheDuration { get; set; } + + /// + /// The level at which the content needs to be cached. + /// + [Input("cacheType", required: true)] + public InputUnion CacheType { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public CacheExpirationActionParametersArgs() + { + } + public static new CacheExpirationActionParametersArgs Empty => new CacheExpirationActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheKeyQueryStringActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheKeyQueryStringActionParametersArgs.cs new file mode 100644 index 000000000000..c99a0f108efb --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CacheKeyQueryStringActionParametersArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the cache-key query string action. + /// + public sealed class CacheKeyQueryStringActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// query parameters to include or exclude (comma separated). + /// + [Input("queryParameters")] + public Input? QueryParameters { get; set; } + + /// + /// Caching behavior for the requests + /// + [Input("queryStringBehavior", required: true)] + public InputUnion QueryStringBehavior { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public CacheKeyQueryStringActionParametersArgs() + { + } + public static new CacheKeyQueryStringActionParametersArgs Empty => new CacheKeyQueryStringActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ClientPortMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ClientPortMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..7cfd810baa57 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ClientPortMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for ClientPort match conditions + /// + public sealed class ClientPortMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public ClientPortMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new ClientPortMatchConditionParametersArgs Empty => new ClientPortMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CompressionSettingsArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CompressionSettingsArgs.cs new file mode 100644 index 000000000000..7cbb1ec81518 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CompressionSettingsArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// settings for compression. + /// + public sealed class CompressionSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("contentTypesToCompress")] + private InputList? _contentTypesToCompress; + + /// + /// List of content types on which compression applies. The value should be a valid MIME type. + /// + public InputList ContentTypesToCompress + { + get => _contentTypesToCompress ?? (_contentTypesToCompress = new InputList()); + set => _contentTypesToCompress = value; + } + + /// + /// Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + /// + [Input("isCompressionEnabled")] + public Input? IsCompressionEnabled { get; set; } + + public CompressionSettingsArgs() + { + } + public static new CompressionSettingsArgs Empty => new CompressionSettingsArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CookiesMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CookiesMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..a304389c198b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CookiesMatchConditionParametersArgs.cs @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for Cookies match conditions + /// + public sealed class CookiesMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + /// + /// Name of Cookies to be matched + /// + [Input("selector")] + public Input? Selector { get; set; } + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public CookiesMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new CookiesMatchConditionParametersArgs Empty => new CookiesMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomRuleArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomRuleArgs.cs new file mode 100644 index 000000000000..ea1bfd1fe2f6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomRuleArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the common attributes for a custom rule that can be included in a waf policy + /// + public sealed class CustomRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes what action to be applied when rule matches + /// + [Input("action", required: true)] + public InputUnion Action { get; set; } = null!; + + /// + /// Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + [Input("matchConditions", required: true)] + private InputList? _matchConditions; + + /// + /// List of match conditions. + /// + public InputList MatchConditions + { + get => _matchConditions ?? (_matchConditions = new InputList()); + set => _matchConditions = value; + } + + /// + /// Defines the name of the custom rule + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines in what order this rule be evaluated in the overall list of custom rules + /// + [Input("priority", required: true)] + public Input Priority { get; set; } = null!; + + public CustomRuleArgs() + { + } + public static new CustomRuleArgs Empty => new CustomRuleArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomRuleListArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomRuleListArgs.cs new file mode 100644 index 000000000000..60c6dc8139fb --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomRuleListArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines contents of custom rules + /// + public sealed class CustomRuleListArgs : global::Pulumi.ResourceArgs + { + [Input("rules")] + private InputList? _rules; + + /// + /// List of rules + /// + public InputList Rules + { + get => _rules ?? (_rules = new InputList()); + set => _rules = value; + } + + public CustomRuleListArgs() + { + } + public static new CustomRuleListArgs Empty => new CustomRuleListArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomerCertificateParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomerCertificateParametersArgs.cs new file mode 100644 index 000000000000..7e3800038921 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/CustomerCertificateParametersArgs.cs @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Customer Certificate used for https + /// + public sealed class CustomerCertificateParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + /// + [Input("secretSource", required: true)] + public Input SecretSource { get; set; } = null!; + + /// + /// Version of the secret to be used + /// + [Input("secretVersion")] + public Input? SecretVersion { get; set; } + + [Input("subjectAlternativeNames")] + private InputList? _subjectAlternativeNames; + + /// + /// The list of SANs. + /// + public InputList SubjectAlternativeNames + { + get => _subjectAlternativeNames ?? (_subjectAlternativeNames = new InputList()); + set => _subjectAlternativeNames = value; + } + + /// + /// The type of the secret resource. + /// Expected value is 'CustomerCertificate'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Whether to use the latest version for the certificate + /// + [Input("useLatestVersion")] + public Input? UseLatestVersion { get; set; } + + public CustomerCertificateParametersArgs() + { + } + public static new CustomerCertificateParametersArgs Empty => new CustomerCertificateParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeepCreatedOriginArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeepCreatedOriginArgs.cs new file mode 100644 index 000000000000..a6cd25b4d72d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeepCreatedOriginArgs.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The main origin of CDN content which is added when creating a CDN endpoint. + /// + public sealed class DeepCreatedOriginArgs : global::Pulumi.ResourceArgs + { + /// + /// Origin is enabled for load balancing or not. By default, origin is always enabled. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. + /// + [Input("hostName", required: true)] + public Input HostName { get; set; } = null!; + + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + [Input("httpPort")] + public Input? HttpPort { get; set; } + + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + [Input("httpsPort")] + public Input? HttpsPort { get; set; } + + /// + /// Origin name which must be unique within the endpoint. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + /// + [Input("originHostHeader")] + public Input? OriginHostHeader { get; set; } + + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + /// + [Input("priority")] + public Input? Priority { get; set; } + + /// + /// The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + /// + [Input("privateLinkAlias")] + public Input? PrivateLinkAlias { get; set; } + + /// + /// A custom message to be included in the approval request to connect to the Private Link. + /// + [Input("privateLinkApprovalMessage")] + public Input? PrivateLinkApprovalMessage { get; set; } + + /// + /// The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + /// + [Input("privateLinkLocation")] + public Input? PrivateLinkLocation { get; set; } + + /// + /// The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + /// + [Input("privateLinkResourceId")] + public Input? PrivateLinkResourceId { get; set; } + + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + [Input("weight")] + public Input? Weight { get; set; } + + public DeepCreatedOriginArgs() + { + } + public static new DeepCreatedOriginArgs Empty => new DeepCreatedOriginArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeepCreatedOriginGroupArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeepCreatedOriginGroupArgs.cs new file mode 100644 index 000000000000..ed53e103b4aa --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeepCreatedOriginGroupArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. + /// + public sealed class DeepCreatedOriginGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + [Input("healthProbeSettings")] + public Input? HealthProbeSettings { get; set; } + + /// + /// Origin group name which must be unique within the endpoint. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("origins", required: true)] + private InputList? _origins; + + /// + /// The source of the content being delivered via CDN within given origin group. + /// + public InputList Origins + { + get => _origins ?? (_origins = new InputList()); + set => _origins = value; + } + + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + /// + [Input("responseBasedOriginErrorDetectionSettings")] + public Input? ResponseBasedOriginErrorDetectionSettings { get; set; } + + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + [Input("trafficRestorationTimeToHealedOrNewEndpointsInMinutes")] + public Input? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes { get; set; } + + public DeepCreatedOriginGroupArgs() + { + } + public static new DeepCreatedOriginGroupArgs Empty => new DeepCreatedOriginGroupArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleArgs.cs new file mode 100644 index 000000000000..3d58a264a433 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// A rule that specifies a set of actions and conditions + /// + public sealed class DeliveryRuleArgs : global::Pulumi.ResourceArgs + { + [Input("actions", required: true)] + private InputList? _actions; + + /// + /// A list of actions that are executed when all the conditions of a rule are satisfied. + /// + public InputList Actions + { + get => _actions ?? (_actions = new InputList()); + set => _actions = value; + } + + [Input("conditions")] + private InputList? _conditions; + + /// + /// A list of conditions that must be matched for the actions to be executed + /// + public InputList Conditions + { + get => _conditions ?? (_conditions = new InputList()); + set => _conditions = value; + } + + /// + /// Name of the rule + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + /// + [Input("order", required: true)] + public Input Order { get; set; } = null!; + + public DeliveryRuleArgs() + { + } + public static new DeliveryRuleArgs Empty => new DeliveryRuleArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCacheExpirationActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCacheExpirationActionArgs.cs new file mode 100644 index 000000000000..bfef83d307fe --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCacheExpirationActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the cache expiration action for the delivery rule. + /// + public sealed class DeliveryRuleCacheExpirationActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'CacheExpiration'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleCacheExpirationActionArgs() + { + } + public static new DeliveryRuleCacheExpirationActionArgs Empty => new DeliveryRuleCacheExpirationActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCacheKeyQueryStringActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCacheKeyQueryStringActionArgs.cs new file mode 100644 index 000000000000..ca298ab8ce95 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCacheKeyQueryStringActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the cache-key query string action for the delivery rule. + /// + public sealed class DeliveryRuleCacheKeyQueryStringActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'CacheKeyQueryString'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleCacheKeyQueryStringActionArgs() + { + } + public static new DeliveryRuleCacheKeyQueryStringActionArgs Empty => new DeliveryRuleCacheKeyQueryStringActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleClientPortConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleClientPortConditionArgs.cs new file mode 100644 index 000000000000..652ad6cfa049 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleClientPortConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the ClientPort condition for the delivery rule. + /// + public sealed class DeliveryRuleClientPortConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'ClientPort'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleClientPortConditionArgs() + { + } + public static new DeliveryRuleClientPortConditionArgs Empty => new DeliveryRuleClientPortConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCookiesConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCookiesConditionArgs.cs new file mode 100644 index 000000000000..0e4fb63618e9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleCookiesConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the Cookies condition for the delivery rule. + /// + public sealed class DeliveryRuleCookiesConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'Cookies'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleCookiesConditionArgs() + { + } + public static new DeliveryRuleCookiesConditionArgs Empty => new DeliveryRuleCookiesConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleHostNameConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleHostNameConditionArgs.cs new file mode 100644 index 000000000000..4d597542c3c1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleHostNameConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the HostName condition for the delivery rule. + /// + public sealed class DeliveryRuleHostNameConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'HostName'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleHostNameConditionArgs() + { + } + public static new DeliveryRuleHostNameConditionArgs Empty => new DeliveryRuleHostNameConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleHttpVersionConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleHttpVersionConditionArgs.cs new file mode 100644 index 000000000000..15feee0fb017 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleHttpVersionConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the HttpVersion condition for the delivery rule. + /// + public sealed class DeliveryRuleHttpVersionConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'HttpVersion'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleHttpVersionConditionArgs() + { + } + public static new DeliveryRuleHttpVersionConditionArgs Empty => new DeliveryRuleHttpVersionConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleIsDeviceConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleIsDeviceConditionArgs.cs new file mode 100644 index 000000000000..3808b8227276 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleIsDeviceConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the IsDevice condition for the delivery rule. + /// + public sealed class DeliveryRuleIsDeviceConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'IsDevice'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleIsDeviceConditionArgs() + { + } + public static new DeliveryRuleIsDeviceConditionArgs Empty => new DeliveryRuleIsDeviceConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRulePostArgsConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRulePostArgsConditionArgs.cs new file mode 100644 index 000000000000..eb3530b09920 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRulePostArgsConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the PostArgs condition for the delivery rule. + /// + public sealed class DeliveryRulePostArgsConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'PostArgs'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRulePostArgsConditionArgs() + { + } + public static new DeliveryRulePostArgsConditionArgs Empty => new DeliveryRulePostArgsConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleQueryStringConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleQueryStringConditionArgs.cs new file mode 100644 index 000000000000..4f462436218b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleQueryStringConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the QueryString condition for the delivery rule. + /// + public sealed class DeliveryRuleQueryStringConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'QueryString'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleQueryStringConditionArgs() + { + } + public static new DeliveryRuleQueryStringConditionArgs Empty => new DeliveryRuleQueryStringConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRemoteAddressConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRemoteAddressConditionArgs.cs new file mode 100644 index 000000000000..40cc7d36a411 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRemoteAddressConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the RemoteAddress condition for the delivery rule. + /// + public sealed class DeliveryRuleRemoteAddressConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RemoteAddress'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRemoteAddressConditionArgs() + { + } + public static new DeliveryRuleRemoteAddressConditionArgs Empty => new DeliveryRuleRemoteAddressConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestBodyConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestBodyConditionArgs.cs new file mode 100644 index 000000000000..05dce373d55a --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestBodyConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the RequestBody condition for the delivery rule. + /// + public sealed class DeliveryRuleRequestBodyConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestBody'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRequestBodyConditionArgs() + { + } + public static new DeliveryRuleRequestBodyConditionArgs Empty => new DeliveryRuleRequestBodyConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestHeaderActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestHeaderActionArgs.cs new file mode 100644 index 000000000000..8459fc2c9e47 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestHeaderActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the request header action for the delivery rule. + /// + public sealed class DeliveryRuleRequestHeaderActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'ModifyRequestHeader'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRequestHeaderActionArgs() + { + } + public static new DeliveryRuleRequestHeaderActionArgs Empty => new DeliveryRuleRequestHeaderActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestHeaderConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestHeaderConditionArgs.cs new file mode 100644 index 000000000000..64aa136e4897 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestHeaderConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the RequestHeader condition for the delivery rule. + /// + public sealed class DeliveryRuleRequestHeaderConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestHeader'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRequestHeaderConditionArgs() + { + } + public static new DeliveryRuleRequestHeaderConditionArgs Empty => new DeliveryRuleRequestHeaderConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestMethodConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestMethodConditionArgs.cs new file mode 100644 index 000000000000..c690349e7b77 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestMethodConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the RequestMethod condition for the delivery rule. + /// + public sealed class DeliveryRuleRequestMethodConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestMethod'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRequestMethodConditionArgs() + { + } + public static new DeliveryRuleRequestMethodConditionArgs Empty => new DeliveryRuleRequestMethodConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestSchemeConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestSchemeConditionArgs.cs new file mode 100644 index 000000000000..f08795c3f9b3 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestSchemeConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the RequestScheme condition for the delivery rule. + /// + public sealed class DeliveryRuleRequestSchemeConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestScheme'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRequestSchemeConditionArgs() + { + } + public static new DeliveryRuleRequestSchemeConditionArgs Empty => new DeliveryRuleRequestSchemeConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestUriConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestUriConditionArgs.cs new file mode 100644 index 000000000000..31b73b4c2fcd --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRequestUriConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the RequestUri condition for the delivery rule. + /// + public sealed class DeliveryRuleRequestUriConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestUri'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRequestUriConditionArgs() + { + } + public static new DeliveryRuleRequestUriConditionArgs Empty => new DeliveryRuleRequestUriConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleResponseHeaderActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleResponseHeaderActionArgs.cs new file mode 100644 index 000000000000..11147d3dfe2e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleResponseHeaderActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the response header action for the delivery rule. + /// + public sealed class DeliveryRuleResponseHeaderActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'ModifyResponseHeader'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleResponseHeaderActionArgs() + { + } + public static new DeliveryRuleResponseHeaderActionArgs Empty => new DeliveryRuleResponseHeaderActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRouteConfigurationOverrideActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRouteConfigurationOverrideActionArgs.cs new file mode 100644 index 000000000000..1a5e2be379fb --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleRouteConfigurationOverrideActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. + /// + public sealed class DeliveryRuleRouteConfigurationOverrideActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'RouteConfigurationOverride'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleRouteConfigurationOverrideActionArgs() + { + } + public static new DeliveryRuleRouteConfigurationOverrideActionArgs Empty => new DeliveryRuleRouteConfigurationOverrideActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleServerPortConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleServerPortConditionArgs.cs new file mode 100644 index 000000000000..1530093a3e66 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleServerPortConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the ServerPort condition for the delivery rule. + /// + public sealed class DeliveryRuleServerPortConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'ServerPort'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleServerPortConditionArgs() + { + } + public static new DeliveryRuleServerPortConditionArgs Empty => new DeliveryRuleServerPortConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleSocketAddrConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleSocketAddrConditionArgs.cs new file mode 100644 index 000000000000..2fc275941746 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleSocketAddrConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the SocketAddress condition for the delivery rule. + /// + public sealed class DeliveryRuleSocketAddrConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'SocketAddr'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleSocketAddrConditionArgs() + { + } + public static new DeliveryRuleSocketAddrConditionArgs Empty => new DeliveryRuleSocketAddrConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleSslProtocolConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleSslProtocolConditionArgs.cs new file mode 100644 index 000000000000..c5d8ff8960f7 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleSslProtocolConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the SslProtocol condition for the delivery rule. + /// + public sealed class DeliveryRuleSslProtocolConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'SslProtocol'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleSslProtocolConditionArgs() + { + } + public static new DeliveryRuleSslProtocolConditionArgs Empty => new DeliveryRuleSslProtocolConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlFileExtensionConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlFileExtensionConditionArgs.cs new file mode 100644 index 000000000000..03ac0720599b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlFileExtensionConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the UrlFileExtension condition for the delivery rule. + /// + public sealed class DeliveryRuleUrlFileExtensionConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'UrlFileExtension'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleUrlFileExtensionConditionArgs() + { + } + public static new DeliveryRuleUrlFileExtensionConditionArgs Empty => new DeliveryRuleUrlFileExtensionConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlFileNameConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlFileNameConditionArgs.cs new file mode 100644 index 000000000000..d121e9877785 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlFileNameConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the UrlFileName condition for the delivery rule. + /// + public sealed class DeliveryRuleUrlFileNameConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'UrlFileName'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleUrlFileNameConditionArgs() + { + } + public static new DeliveryRuleUrlFileNameConditionArgs Empty => new DeliveryRuleUrlFileNameConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlPathConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlPathConditionArgs.cs new file mode 100644 index 000000000000..5816d761c312 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/DeliveryRuleUrlPathConditionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the UrlPath condition for the delivery rule. + /// + public sealed class DeliveryRuleUrlPathConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'UrlPath'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the condition. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public DeliveryRuleUrlPathConditionArgs() + { + } + public static new DeliveryRuleUrlPathConditionArgs Empty => new DeliveryRuleUrlPathConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/EndpointPropertiesUpdateParametersDeliveryPolicyArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/EndpointPropertiesUpdateParametersDeliveryPolicyArgs.cs new file mode 100644 index 000000000000..cbd58456ca5d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/EndpointPropertiesUpdateParametersDeliveryPolicyArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// A policy that specifies the delivery rules to be used for an endpoint. + /// + public sealed class EndpointPropertiesUpdateParametersDeliveryPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// User-friendly description of the policy. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("rules", required: true)] + private InputList? _rules; + + /// + /// A list of the delivery rules. + /// + public InputList Rules + { + get => _rules ?? (_rules = new InputList()); + set => _rules = value; + } + + public EndpointPropertiesUpdateParametersDeliveryPolicyArgs() + { + } + public static new EndpointPropertiesUpdateParametersDeliveryPolicyArgs Empty => new EndpointPropertiesUpdateParametersDeliveryPolicyArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs.cs new file mode 100644 index 000000000000..d11a7f34c000 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the Web Application Firewall policy for the endpoint (if applicable) + /// + public sealed class EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID. + /// + [Input("id")] + public Input? Id { get; set; } + + public EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs() + { + } + public static new EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs Empty => new EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/GeoFilterArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/GeoFilterArgs.cs new file mode 100644 index 000000000000..fdcb05fa65c6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/GeoFilterArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Rules defining user's geo access within a CDN endpoint. + /// + public sealed class GeoFilterArgs : global::Pulumi.ResourceArgs + { + /// + /// Action of the geo filter, i.e. allow or block access. + /// + [Input("action", required: true)] + public Input Action { get; set; } = null!; + + [Input("countryCodes", required: true)] + private InputList? _countryCodes; + + /// + /// Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + /// + public InputList CountryCodes + { + get => _countryCodes ?? (_countryCodes = new InputList()); + set => _countryCodes = value; + } + + /// + /// Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + /// + [Input("relativePath", required: true)] + public Input RelativePath { get; set; } = null!; + + public GeoFilterArgs() + { + } + public static new GeoFilterArgs Empty => new GeoFilterArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/HeaderActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HeaderActionParametersArgs.cs new file mode 100644 index 000000000000..c6748343bbd2 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HeaderActionParametersArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the request header action. + /// + public sealed class HeaderActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Action to perform + /// + [Input("headerAction", required: true)] + public InputUnion HeaderAction { get; set; } = null!; + + /// + /// Name of the header to modify + /// + [Input("headerName", required: true)] + public Input HeaderName { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + /// + /// Value for the specified action + /// + [Input("value")] + public Input? Value { get; set; } + + public HeaderActionParametersArgs() + { + } + public static new HeaderActionParametersArgs Empty => new HeaderActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/HealthProbeParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HealthProbeParametersArgs.cs new file mode 100644 index 000000000000..d4086fe68903 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HealthProbeParametersArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The JSON object that contains the properties to send health probes to origin. + /// + public sealed class HealthProbeParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// The number of seconds between health probes.Default is 240sec. + /// + [Input("probeIntervalInSeconds")] + public Input? ProbeIntervalInSeconds { get; set; } + + /// + /// The path relative to the origin that is used to determine the health of the origin. + /// + [Input("probePath")] + public Input? ProbePath { get; set; } + + /// + /// Protocol to use for health probe. + /// + [Input("probeProtocol")] + public Input? ProbeProtocol { get; set; } + + /// + /// The type of health probe request that is made. + /// + [Input("probeRequestType")] + public Input? ProbeRequestType { get; set; } + + public HealthProbeParametersArgs() + { + } + public static new HealthProbeParametersArgs Empty => new HealthProbeParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/HostNameMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HostNameMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..5860225ff92e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HostNameMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for HostName match conditions + /// + public sealed class HostNameMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public HostNameMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new HostNameMatchConditionParametersArgs Empty => new HostNameMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/HttpErrorRangeParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HttpErrorRangeParametersArgs.cs new file mode 100644 index 000000000000..c8c614e3d64c --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HttpErrorRangeParametersArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The JSON object that represents the range for http status codes + /// + public sealed class HttpErrorRangeParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// The inclusive start of the http status code range. + /// + [Input("begin")] + public Input? Begin { get; set; } + + /// + /// The inclusive end of the http status code range. + /// + [Input("end")] + public Input? End { get; set; } + + public HttpErrorRangeParametersArgs() + { + } + public static new HttpErrorRangeParametersArgs Empty => new HttpErrorRangeParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/HttpVersionMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HttpVersionMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..feac03c4fa99 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/HttpVersionMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for HttpVersion match conditions + /// + public sealed class HttpVersionMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public HttpVersionMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new HttpVersionMatchConditionParametersArgs Empty => new HttpVersionMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/IsDeviceMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/IsDeviceMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..bf775fa4be85 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/IsDeviceMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for IsDevice match conditions + /// + public sealed class IsDeviceMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public IsDeviceMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new IsDeviceMatchConditionParametersArgs Empty => new IsDeviceMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/KeyVaultSigningKeyParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/KeyVaultSigningKeyParametersArgs.cs new file mode 100644 index 000000000000..f446cdb16e22 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/KeyVaultSigningKeyParametersArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Describes the parameters for using a user's KeyVault for URL Signing Key. + /// + public sealed class KeyVaultSigningKeyParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource group of the user's Key Vault containing the secret + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of secret in Key Vault. + /// + [Input("secretName", required: true)] + public Input SecretName { get; set; } = null!; + + /// + /// The version(GUID) of secret in Key Vault. + /// + [Input("secretVersion", required: true)] + public Input SecretVersion { get; set; } = null!; + + /// + /// Subscription Id of the user's Key Vault containing the secret + /// + [Input("subscriptionId", required: true)] + public Input SubscriptionId { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + /// + /// The name of the user's Key Vault containing the secret + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public KeyVaultSigningKeyParametersArgs() + { + } + public static new KeyVaultSigningKeyParametersArgs Empty => new KeyVaultSigningKeyParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/LoadBalancingSettingsParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/LoadBalancingSettingsParametersArgs.cs new file mode 100644 index 000000000000..d68fb9b90d1c --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/LoadBalancingSettingsParametersArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Round-Robin load balancing settings for a backend pool + /// + public sealed class LoadBalancingSettingsParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// The additional latency in milliseconds for probes to fall into the lowest latency bucket + /// + [Input("additionalLatencyInMilliseconds")] + public Input? AdditionalLatencyInMilliseconds { get; set; } + + /// + /// The number of samples to consider for load balancing decisions + /// + [Input("sampleSize")] + public Input? SampleSize { get; set; } + + /// + /// The number of samples within the sample period that must succeed + /// + [Input("successfulSamplesRequired")] + public Input? SuccessfulSamplesRequired { get; set; } + + public LoadBalancingSettingsParametersArgs() + { + } + public static new LoadBalancingSettingsParametersArgs Empty => new LoadBalancingSettingsParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedCertificateParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedCertificateParametersArgs.cs new file mode 100644 index 000000000000..ea8c397a3b48 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedCertificateParametersArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Managed Certificate used for https + /// + public sealed class ManagedCertificateParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of the secret resource. + /// Expected value is 'ManagedCertificate'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ManagedCertificateParametersArgs() + { + } + public static new ManagedCertificateParametersArgs Empty => new ManagedCertificateParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleGroupOverrideArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleGroupOverrideArgs.cs new file mode 100644 index 000000000000..a6e2e167d35c --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleGroupOverrideArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines a managed rule group override setting. + /// + public sealed class ManagedRuleGroupOverrideArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the managed rule group within the rule set to override + /// + [Input("ruleGroupName", required: true)] + public Input RuleGroupName { get; set; } = null!; + + [Input("rules")] + private InputList? _rules; + + /// + /// List of rules that will be enabled. If none specified, all rules in the group will be disabled. + /// + public InputList Rules + { + get => _rules ?? (_rules = new InputList()); + set => _rules = value; + } + + public ManagedRuleGroupOverrideArgs() + { + } + public static new ManagedRuleGroupOverrideArgs Empty => new ManagedRuleGroupOverrideArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleOverrideArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleOverrideArgs.cs new file mode 100644 index 000000000000..3834a820dda2 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleOverrideArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines a managed rule group override setting. + /// + public sealed class ManagedRuleOverrideArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the override action to be applied when rule matches. + /// + [Input("action")] + public InputUnion? Action { get; set; } + + /// + /// Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + /// + /// Identifier for the managed rule. + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + public ManagedRuleOverrideArgs() + { + } + public static new ManagedRuleOverrideArgs Empty => new ManagedRuleOverrideArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleSetArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleSetArgs.cs new file mode 100644 index 000000000000..987a1fe7a15b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleSetArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines a managed rule set. + /// + public sealed class ManagedRuleSetArgs : global::Pulumi.ResourceArgs + { + /// + /// Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. + /// + [Input("anomalyScore")] + public Input? AnomalyScore { get; set; } + + [Input("ruleGroupOverrides")] + private InputList? _ruleGroupOverrides; + + /// + /// Defines the rule overrides to apply to the rule set. + /// + public InputList RuleGroupOverrides + { + get => _ruleGroupOverrides ?? (_ruleGroupOverrides = new InputList()); + set => _ruleGroupOverrides = value; + } + + /// + /// Defines the rule set type to use. + /// + [Input("ruleSetType", required: true)] + public Input RuleSetType { get; set; } = null!; + + /// + /// Defines the version of the rule set to use. + /// + [Input("ruleSetVersion", required: true)] + public Input RuleSetVersion { get; set; } = null!; + + public ManagedRuleSetArgs() + { + } + public static new ManagedRuleSetArgs Empty => new ManagedRuleSetArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleSetListArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleSetListArgs.cs new file mode 100644 index 000000000000..6507b28241e5 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedRuleSetListArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the list of managed rule sets for the policy. + /// + public sealed class ManagedRuleSetListArgs : global::Pulumi.ResourceArgs + { + [Input("managedRuleSets")] + private InputList? _managedRuleSets; + + /// + /// List of rule sets. + /// + public InputList ManagedRuleSets + { + get => _managedRuleSets ?? (_managedRuleSets = new InputList()); + set => _managedRuleSets = value; + } + + public ManagedRuleSetListArgs() + { + } + public static new ManagedRuleSetListArgs Empty => new ManagedRuleSetListArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..2dd14c1d88f9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/MatchConditionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/MatchConditionArgs.cs new file mode 100644 index 000000000000..74d1a107952e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/MatchConditionArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Define match conditions + /// + public sealed class MatchConditionArgs : global::Pulumi.ResourceArgs + { + [Input("matchValue", required: true)] + private InputList? _matchValue; + + /// + /// List of possible match values. + /// + public InputList MatchValue + { + get => _matchValue ?? (_matchValue = new InputList()); + set => _matchValue = value; + } + + /// + /// Match variable to compare against. + /// + [Input("matchVariable", required: true)] + public InputUnion MatchVariable { get; set; } = null!; + + /// + /// Describes if the result of this condition should be negated. + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + /// + /// Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + /// + [Input("selector")] + public Input? Selector { get; set; } + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms. + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + public MatchConditionArgs() + { + } + public static new MatchConditionArgs Empty => new MatchConditionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideActionArgs.cs new file mode 100644 index 000000000000..46642c033306 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the origin group override action for the delivery rule. + /// + public sealed class OriginGroupOverrideActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'OriginGroupOverride'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public OriginGroupOverrideActionArgs() + { + } + public static new OriginGroupOverrideActionArgs Empty => new OriginGroupOverrideActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideActionParametersArgs.cs new file mode 100644 index 000000000000..404a7f225157 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideActionParametersArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the origin group override action. + /// + public sealed class OriginGroupOverrideActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// defines the OriginGroup that would override the DefaultOriginGroup. + /// + [Input("originGroup", required: true)] + public Input OriginGroup { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public OriginGroupOverrideActionParametersArgs() + { + } + public static new OriginGroupOverrideActionParametersArgs Empty => new OriginGroupOverrideActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideArgs.cs new file mode 100644 index 000000000000..5ed592ef9e53 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/OriginGroupOverrideArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the origin group override configuration. + /// + public sealed class OriginGroupOverrideArgs : global::Pulumi.ResourceArgs + { + /// + /// Protocol this rule will use when forwarding traffic to backends. + /// + [Input("forwardingProtocol")] + public InputUnion? ForwardingProtocol { get; set; } + + /// + /// defines the OriginGroup that would override the DefaultOriginGroup on route. + /// + [Input("originGroup")] + public Input? OriginGroup { get; set; } + + public OriginGroupOverrideArgs() + { + } + public static new OriginGroupOverrideArgs Empty => new OriginGroupOverrideArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/PolicySettingsArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/PolicySettingsArgs.cs new file mode 100644 index 000000000000..1b5114496f89 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/PolicySettingsArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines contents of a web application firewall global configuration + /// + public sealed class PolicySettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// If the action type is block, customer can override the response body. The body must be specified in base64 encoding. + /// + [Input("defaultCustomBlockResponseBody")] + public Input? DefaultCustomBlockResponseBody { get; set; } + + /// + /// If the action type is block, this field defines the default customer overridable http response status code. + /// + [Input("defaultCustomBlockResponseStatusCode")] + public Input? DefaultCustomBlockResponseStatusCode { get; set; } + + /// + /// If action type is redirect, this field represents the default redirect URL for the client. + /// + [Input("defaultRedirectUrl")] + public Input? DefaultRedirectUrl { get; set; } + + /// + /// describes if the policy is in enabled state or disabled state + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + /// + /// Describes if it is in detection mode or prevention mode at policy level. + /// + [Input("mode")] + public InputUnion? Mode { get; set; } + + public PolicySettingsArgs() + { + } + public static new PolicySettingsArgs Empty => new PolicySettingsArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/PostArgsMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/PostArgsMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..3402987b6956 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/PostArgsMatchConditionParametersArgs.cs @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for PostArgs match conditions + /// + public sealed class PostArgsMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + /// + /// Name of PostArg to be matched + /// + [Input("selector")] + public Input? Selector { get; set; } + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public PostArgsMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new PostArgsMatchConditionParametersArgs Empty => new PostArgsMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/QueryStringMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/QueryStringMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..0f26f3012f21 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/QueryStringMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for QueryString match conditions + /// + public sealed class QueryStringMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public QueryStringMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new QueryStringMatchConditionParametersArgs Empty => new QueryStringMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RateLimitRuleArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RateLimitRuleArgs.cs new file mode 100644 index 000000000000..4a51aee3867b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RateLimitRuleArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines a rate limiting rule that can be included in a waf policy + /// + public sealed class RateLimitRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes what action to be applied when rule matches + /// + [Input("action", required: true)] + public InputUnion Action { get; set; } = null!; + + /// + /// Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + [Input("matchConditions", required: true)] + private InputList? _matchConditions; + + /// + /// List of match conditions. + /// + public InputList MatchConditions + { + get => _matchConditions ?? (_matchConditions = new InputList()); + set => _matchConditions = value; + } + + /// + /// Defines the name of the custom rule + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines in what order this rule be evaluated in the overall list of custom rules + /// + [Input("priority", required: true)] + public Input Priority { get; set; } = null!; + + /// + /// Defines rate limit duration. Default is 1 minute. + /// + [Input("rateLimitDurationInMinutes", required: true)] + public Input RateLimitDurationInMinutes { get; set; } = null!; + + /// + /// Defines rate limit threshold. + /// + [Input("rateLimitThreshold", required: true)] + public Input RateLimitThreshold { get; set; } = null!; + + public RateLimitRuleArgs() + { + } + public static new RateLimitRuleArgs Empty => new RateLimitRuleArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RateLimitRuleListArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RateLimitRuleListArgs.cs new file mode 100644 index 000000000000..4e82677263fc --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RateLimitRuleListArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines contents of rate limit rules + /// + public sealed class RateLimitRuleListArgs : global::Pulumi.ResourceArgs + { + [Input("rules")] + private InputList? _rules; + + /// + /// List of rules + /// + public InputList Rules + { + get => _rules ?? (_rules = new InputList()); + set => _rules = value; + } + + public RateLimitRuleListArgs() + { + } + public static new RateLimitRuleListArgs Empty => new RateLimitRuleListArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RemoteAddressMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RemoteAddressMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..86b43e26b0ec --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RemoteAddressMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for RemoteAddress match conditions + /// + public sealed class RemoteAddressMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RemoteAddressMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new RemoteAddressMatchConditionParametersArgs Empty => new RemoteAddressMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestBodyMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestBodyMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..c0ddc4cf2a89 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestBodyMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for RequestBody match conditions + /// + public sealed class RequestBodyMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RequestBodyMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new RequestBodyMatchConditionParametersArgs Empty => new RequestBodyMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestHeaderMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestHeaderMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..d00ae98a925c --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestHeaderMatchConditionParametersArgs.cs @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for RequestHeader match conditions + /// + public sealed class RequestHeaderMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + /// + /// Name of Header to be matched + /// + [Input("selector")] + public Input? Selector { get; set; } + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RequestHeaderMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new RequestHeaderMatchConditionParametersArgs Empty => new RequestHeaderMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestMethodMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestMethodMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..d7516b8451d1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestMethodMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for RequestMethod match conditions + /// + public sealed class RequestMethodMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RequestMethodMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new RequestMethodMatchConditionParametersArgs Empty => new RequestMethodMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestSchemeMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestSchemeMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..97c053c2703a --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestSchemeMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for RequestScheme match conditions + /// + public sealed class RequestSchemeMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public Input Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RequestSchemeMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new RequestSchemeMatchConditionParametersArgs Empty => new RequestSchemeMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestUriMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestUriMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..310dfd7ebfe7 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RequestUriMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for RequestUri match conditions + /// + public sealed class RequestUriMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RequestUriMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new RequestUriMatchConditionParametersArgs Empty => new RequestUriMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ResourceReferenceArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ResourceReferenceArgs.cs new file mode 100644 index 000000000000..2bc45a18ab99 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ResourceReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Reference to another resource. + /// + public sealed class ResourceReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID. + /// + [Input("id")] + public Input? Id { get; set; } + + public ResourceReferenceArgs() + { + } + public static new ResourceReferenceArgs Empty => new ResourceReferenceArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ResponseBasedOriginErrorDetectionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ResponseBasedOriginErrorDetectionParametersArgs.cs new file mode 100644 index 000000000000..dedfbbd9a288 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ResponseBasedOriginErrorDetectionParametersArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses. + /// + public sealed class ResponseBasedOriginErrorDetectionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("httpErrorRanges")] + private InputList? _httpErrorRanges; + + /// + /// The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + /// + public InputList HttpErrorRanges + { + get => _httpErrorRanges ?? (_httpErrorRanges = new InputList()); + set => _httpErrorRanges = value; + } + + /// + /// Type of response errors for real user requests for which origin will be deemed unhealthy + /// + [Input("responseBasedDetectedErrorTypes")] + public Input? ResponseBasedDetectedErrorTypes { get; set; } + + /// + /// The percentage of failed requests in the sample where failover should trigger. + /// + [Input("responseBasedFailoverThresholdPercentage")] + public Input? ResponseBasedFailoverThresholdPercentage { get; set; } + + public ResponseBasedOriginErrorDetectionParametersArgs() + { + } + public static new ResponseBasedOriginErrorDetectionParametersArgs Empty => new ResponseBasedOriginErrorDetectionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/RouteConfigurationOverrideActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RouteConfigurationOverrideActionParametersArgs.cs new file mode 100644 index 000000000000..c90ed4c5c6dc --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/RouteConfigurationOverrideActionParametersArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the route configuration override action. + /// + public sealed class RouteConfigurationOverrideActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + /// + [Input("cacheConfiguration")] + public Input? CacheConfiguration { get; set; } + + /// + /// A reference to the origin group override configuration. Leave empty to use the default origin group on route. + /// + [Input("originGroupOverride")] + public Input? OriginGroupOverride { get; set; } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public RouteConfigurationOverrideActionParametersArgs() + { + } + public static new RouteConfigurationOverrideActionParametersArgs Empty => new RouteConfigurationOverrideActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/SecurityPolicyWebApplicationFirewallAssociationArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SecurityPolicyWebApplicationFirewallAssociationArgs.cs new file mode 100644 index 000000000000..259f770c2f25 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SecurityPolicyWebApplicationFirewallAssociationArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// settings for security policy patterns to match + /// + public sealed class SecurityPolicyWebApplicationFirewallAssociationArgs : global::Pulumi.ResourceArgs + { + [Input("domains")] + private InputList? _domains; + + /// + /// List of domains. + /// + public InputList Domains + { + get => _domains ?? (_domains = new InputList()); + set => _domains = value; + } + + [Input("patternsToMatch")] + private InputList? _patternsToMatch; + + /// + /// List of paths + /// + public InputList PatternsToMatch + { + get => _patternsToMatch ?? (_patternsToMatch = new InputList()); + set => _patternsToMatch = value; + } + + public SecurityPolicyWebApplicationFirewallAssociationArgs() + { + } + public static new SecurityPolicyWebApplicationFirewallAssociationArgs Empty => new SecurityPolicyWebApplicationFirewallAssociationArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/SecurityPolicyWebApplicationFirewallParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SecurityPolicyWebApplicationFirewallParametersArgs.cs new file mode 100644 index 000000000000..444e26e7e2e9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SecurityPolicyWebApplicationFirewallParametersArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// The json object containing security policy waf parameters + /// + public sealed class SecurityPolicyWebApplicationFirewallParametersArgs : global::Pulumi.ResourceArgs + { + [Input("associations")] + private InputList? _associations; + + /// + /// Waf associations + /// + public InputList Associations + { + get => _associations ?? (_associations = new InputList()); + set => _associations = value; + } + + /// + /// The type of the Security policy to create. + /// Expected value is 'WebApplicationFirewall'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Resource ID. + /// + [Input("wafPolicy")] + public Input? WafPolicy { get; set; } + + public SecurityPolicyWebApplicationFirewallParametersArgs() + { + } + public static new SecurityPolicyWebApplicationFirewallParametersArgs Empty => new SecurityPolicyWebApplicationFirewallParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/ServerPortMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ServerPortMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..7acff384f472 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/ServerPortMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for ServerPort match conditions + /// + public sealed class ServerPortMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public ServerPortMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new ServerPortMatchConditionParametersArgs Empty => new ServerPortMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/SharedPrivateLinkResourcePropertiesArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SharedPrivateLinkResourcePropertiesArgs.cs new file mode 100644 index 000000000000..2fa94adcece8 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SharedPrivateLinkResourcePropertiesArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. + /// + public sealed class SharedPrivateLinkResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The group id from the provider of resource the shared private link resource is for. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// The resource id of the resource the shared private link resource is for. + /// + [Input("privateLink")] + public Input? PrivateLink { get; set; } + + /// + /// The location of the shared private link resource + /// + [Input("privateLinkLocation")] + public Input? PrivateLinkLocation { get; set; } + + /// + /// The request message for requesting approval of the shared private link resource. + /// + [Input("requestMessage")] + public Input? RequestMessage { get; set; } + + /// + /// Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + /// + [Input("status")] + public Input? Status { get; set; } + + public SharedPrivateLinkResourcePropertiesArgs() + { + } + public static new SharedPrivateLinkResourcePropertiesArgs Empty => new SharedPrivateLinkResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/SkuArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..ca56a89663cb --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SkuArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + /// Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + /// Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + /// Standard_Akamai = The SKU name for an Akamai CDN profile. + /// Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + /// Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + /// Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + /// Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + /// Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + /// Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + /// StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + /// StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + /// StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. + /// + public sealed class SkuArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the pricing tier. + /// + [Input("name")] + public InputUnion? Name { get; set; } + + public SkuArgs() + { + } + public static new SkuArgs Empty => new SkuArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/SocketAddrMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SocketAddrMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..2d031c6aed2f --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SocketAddrMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for SocketAddress match conditions + /// + public sealed class SocketAddrMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public SocketAddrMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new SocketAddrMatchConditionParametersArgs Empty => new SocketAddrMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/SslProtocolMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SslProtocolMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..f7523805649b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/SslProtocolMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for SslProtocol match conditions + /// + public sealed class SslProtocolMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList>? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList> MatchValues + { + get => _matchValues ?? (_matchValues = new InputList>()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public SslProtocolMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new SslProtocolMatchConditionParametersArgs Empty => new SslProtocolMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlFileExtensionMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlFileExtensionMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..41764777ca7a --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlFileExtensionMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for UrlFileExtension match conditions + /// + public sealed class UrlFileExtensionMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public UrlFileExtensionMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new UrlFileExtensionMatchConditionParametersArgs Empty => new UrlFileExtensionMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlFileNameMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlFileNameMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..44f628ccb116 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlFileNameMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for UrlFilename match conditions + /// + public sealed class UrlFileNameMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public UrlFileNameMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new UrlFileNameMatchConditionParametersArgs Empty => new UrlFileNameMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlPathMatchConditionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlPathMatchConditionParametersArgs.cs new file mode 100644 index 000000000000..9d1285c52c0e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlPathMatchConditionParametersArgs.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for UrlPath match conditions + /// + public sealed class UrlPathMatchConditionParametersArgs : global::Pulumi.ResourceArgs + { + [Input("matchValues")] + private InputList? _matchValues; + + /// + /// The match value for the condition of the delivery rule + /// + public InputList MatchValues + { + get => _matchValues ?? (_matchValues = new InputList()); + set => _matchValues = value; + } + + /// + /// Describes if this is negate condition or not + /// + [Input("negateCondition")] + public Input? NegateCondition { get; set; } + + /// + /// Describes operator to be matched + /// + [Input("operator", required: true)] + public InputUnion Operator { get; set; } = null!; + + [Input("transforms")] + private InputList>? _transforms; + + /// + /// List of transforms + /// + public InputList> Transforms + { + get => _transforms ?? (_transforms = new InputList>()); + set => _transforms = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public UrlPathMatchConditionParametersArgs() + { + NegateCondition = false; + } + public static new UrlPathMatchConditionParametersArgs Empty => new UrlPathMatchConditionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRedirectActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRedirectActionArgs.cs new file mode 100644 index 000000000000..edeb72817ddc --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRedirectActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the url redirect action for the delivery rule. + /// + public sealed class UrlRedirectActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'UrlRedirect'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public UrlRedirectActionArgs() + { + } + public static new UrlRedirectActionArgs Empty => new UrlRedirectActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRedirectActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRedirectActionParametersArgs.cs new file mode 100644 index 000000000000..6a25be58775d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRedirectActionParametersArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the url redirect action. + /// + public sealed class UrlRedirectActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + /// + [Input("customFragment")] + public Input? CustomFragment { get; set; } + + /// + /// Host to redirect. Leave empty to use the incoming host as the destination host. + /// + [Input("customHostname")] + public Input? CustomHostname { get; set; } + + /// + /// The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + /// + [Input("customPath")] + public Input? CustomPath { get; set; } + + /// + /// The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them. + /// + [Input("customQueryString")] + public Input? CustomQueryString { get; set; } + + /// + /// Protocol to use for the redirect. The default value is MatchRequest + /// + [Input("destinationProtocol")] + public InputUnion? DestinationProtocol { get; set; } + + /// + /// The redirect type the rule will use when redirecting traffic. + /// + [Input("redirectType", required: true)] + public InputUnion RedirectType { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public UrlRedirectActionParametersArgs() + { + } + public static new UrlRedirectActionParametersArgs Empty => new UrlRedirectActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRewriteActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRewriteActionArgs.cs new file mode 100644 index 000000000000..19b4c61dcb22 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRewriteActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the url rewrite action for the delivery rule. + /// + public sealed class UrlRewriteActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'UrlRewrite'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public UrlRewriteActionArgs() + { + } + public static new UrlRewriteActionArgs Empty => new UrlRewriteActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRewriteActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRewriteActionParametersArgs.cs new file mode 100644 index 000000000000..0a4aa66d8f1d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlRewriteActionParametersArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the url rewrite action. + /// + public sealed class UrlRewriteActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Define the relative URL to which the above requests will be rewritten by. + /// + [Input("destination", required: true)] + public Input Destination { get; set; } = null!; + + /// + /// Whether to preserve unmatched path. Default value is true. + /// + [Input("preserveUnmatchedPath")] + public Input? PreserveUnmatchedPath { get; set; } + + /// + /// define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + /// + [Input("sourcePattern", required: true)] + public Input SourcePattern { get; set; } = null!; + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public UrlRewriteActionParametersArgs() + { + } + public static new UrlRewriteActionParametersArgs Empty => new UrlRewriteActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningActionArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningActionArgs.cs new file mode 100644 index 000000000000..0f9dea7dccf4 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the url signing action for the delivery rule. + /// + public sealed class UrlSigningActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'UrlSigning'. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Defines the parameters for the action. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + public UrlSigningActionArgs() + { + } + public static new UrlSigningActionArgs Empty => new UrlSigningActionArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningActionParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningActionParametersArgs.cs new file mode 100644 index 000000000000..c8be930503b1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningActionParametersArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines the parameters for the Url Signing action. + /// + public sealed class UrlSigningActionParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Algorithm to use for URL signing + /// + [Input("algorithm")] + public InputUnion? Algorithm { get; set; } + + [Input("parameterNameOverride")] + private InputList? _parameterNameOverride; + + /// + /// Defines which query string parameters in the url to be considered for expires, key id etc. + /// + public InputList ParameterNameOverride + { + get => _parameterNameOverride ?? (_parameterNameOverride = new InputList()); + set => _parameterNameOverride = value; + } + + [Input("typeName", required: true)] + public Input TypeName { get; set; } = null!; + + public UrlSigningActionParametersArgs() + { + } + public static new UrlSigningActionParametersArgs Empty => new UrlSigningActionParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningKeyArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningKeyArgs.cs new file mode 100644 index 000000000000..e3f5230c121d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningKeyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Url signing key + /// + public sealed class UrlSigningKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + /// + [Input("keyId", required: true)] + public Input KeyId { get; set; } = null!; + + /// + /// Defines the parameters for using customer key vault for Url Signing Key. + /// + [Input("keySourceParameters", required: true)] + public Input KeySourceParameters { get; set; } = null!; + + public UrlSigningKeyArgs() + { + } + public static new UrlSigningKeyArgs Empty => new UrlSigningKeyArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningKeyParametersArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningKeyParametersArgs.cs new file mode 100644 index 000000000000..a5f10363f932 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningKeyParametersArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Url signing key parameters + /// + public sealed class UrlSigningKeyParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + /// + [Input("keyId", required: true)] + public Input KeyId { get; set; } = null!; + + /// + /// Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + /// + [Input("secretSource", required: true)] + public Input SecretSource { get; set; } = null!; + + /// + /// Version of the secret to be used + /// + [Input("secretVersion")] + public Input? SecretVersion { get; set; } + + /// + /// The type of the secret resource. + /// Expected value is 'UrlSigningKey'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public UrlSigningKeyParametersArgs() + { + } + public static new UrlSigningKeyParametersArgs Empty => new UrlSigningKeyParametersArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningParamIdentifierArgs.cs b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningParamIdentifierArgs.cs new file mode 100644 index 000000000000..45eef227cd7b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Inputs/UrlSigningParamIdentifierArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Inputs +{ + + /// + /// Defines how to identify a parameter for a specific purpose e.g. expires + /// + public sealed class UrlSigningParamIdentifierArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates the purpose of the parameter + /// + [Input("paramIndicator", required: true)] + public InputUnion ParamIndicator { get; set; } = null!; + + /// + /// Parameter name + /// + [Input("paramName", required: true)] + public Input ParamName { get; set; } = null!; + + public UrlSigningParamIdentifierArgs() + { + } + public static new UrlSigningParamIdentifierArgs Empty => new UrlSigningParamIdentifierArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/KeyGroup.cs b/sdk/dotnet/Cdn/V20230701Preview/KeyGroup.cs new file mode 100644 index 000000000000..613e5a377b00 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/KeyGroup.cs @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Contains a list of references of UrlSigningKey type secret objects. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:KeyGroup")] + public partial class KeyGroup : global::Pulumi.CustomResource + { + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Names of UrlSigningKey type secret objects + /// + [Output("keyReferences")] + public Output> KeyReferences { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a KeyGroup 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 KeyGroup(string name, KeyGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:KeyGroup", name, args ?? new KeyGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private KeyGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:KeyGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:KeyGroup"}, + }, + }; + 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 KeyGroup 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. + /// A bag of options that control this resource's behavior + public static KeyGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new KeyGroup(name, id, options); + } + } + + public sealed class KeyGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the KeyGroup under the profile. + /// + [Input("keyGroupName")] + public Input? KeyGroupName { get; set; } + + [Input("keyReferences")] + private InputList? _keyReferences; + + /// + /// Names of UrlSigningKey type secret objects + /// + public InputList KeyReferences + { + get => _keyReferences ?? (_keyReferences = new InputList()); + set => _keyReferences = value; + } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public KeyGroupArgs() + { + } + public static new KeyGroupArgs Empty => new KeyGroupArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Origin.cs b/sdk/dotnet/Cdn/V20230701Preview/Origin.cs new file mode 100644 index 000000000000..1ad880b26720 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Origin.cs @@ -0,0 +1,274 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Origin")] + public partial class Origin : global::Pulumi.CustomResource + { + /// + /// Origin is enabled for load balancing or not + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + /// + [Output("hostName")] + public Output HostName { get; private set; } = null!; + + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + [Output("httpPort")] + public Output HttpPort { get; private set; } = null!; + + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + [Output("httpsPort")] + public Output HttpsPort { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + /// + [Output("originHostHeader")] + public Output OriginHostHeader { get; private set; } = null!; + + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + /// + [Output("priority")] + public Output Priority { get; private set; } = null!; + + /// + /// The approval status for the connection to the Private Link + /// + [Output("privateEndpointStatus")] + public Output PrivateEndpointStatus { get; private set; } = null!; + + /// + /// The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + /// + [Output("privateLinkAlias")] + public Output PrivateLinkAlias { get; private set; } = null!; + + /// + /// A custom message to be included in the approval request to connect to the Private Link. + /// + [Output("privateLinkApprovalMessage")] + public Output PrivateLinkApprovalMessage { get; private set; } = null!; + + /// + /// The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + /// + [Output("privateLinkLocation")] + public Output PrivateLinkLocation { get; private set; } = null!; + + /// + /// The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + /// + [Output("privateLinkResourceId")] + public Output PrivateLinkResourceId { get; private set; } = null!; + + /// + /// Provisioning status of the origin. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Resource status of the origin. + /// + [Output("resourceState")] + public Output ResourceState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + [Output("weight")] + public Output Weight { get; private set; } = null!; + + + /// + /// Create a Origin 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 Origin(string name, OriginArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Origin", name, args ?? new OriginArgs(), MakeResourceOptions(options, "")) + { + } + + private Origin(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Origin", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20150601:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20160402:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20191231:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200331:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200415:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Origin"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Origin"}, + }, + }; + 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 Origin 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. + /// A bag of options that control this resource's behavior + public static Origin Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Origin(name, id, options); + } + } + + public sealed class OriginArgs : global::Pulumi.ResourceArgs + { + /// + /// Origin is enabled for load balancing or not + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + /// + [Input("hostName", required: true)] + public Input HostName { get; set; } = null!; + + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + [Input("httpPort")] + public Input? HttpPort { get; set; } + + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + [Input("httpsPort")] + public Input? HttpsPort { get; set; } + + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + /// + [Input("originHostHeader")] + public Input? OriginHostHeader { get; set; } + + /// + /// Name of the origin that is unique within the endpoint. + /// + [Input("originName")] + public Input? OriginName { get; set; } + + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + /// + [Input("priority")] + public Input? Priority { get; set; } + + /// + /// The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + /// + [Input("privateLinkAlias")] + public Input? PrivateLinkAlias { get; set; } + + /// + /// A custom message to be included in the approval request to connect to the Private Link. + /// + [Input("privateLinkApprovalMessage")] + public Input? PrivateLinkApprovalMessage { get; set; } + + /// + /// The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + /// + [Input("privateLinkLocation")] + public Input? PrivateLinkLocation { get; set; } + + /// + /// The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + /// + [Input("privateLinkResourceId")] + public Input? PrivateLinkResourceId { get; set; } + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + [Input("weight")] + public Input? Weight { get; set; } + + public OriginArgs() + { + } + public static new OriginArgs Empty => new OriginArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/OriginGroup.cs b/sdk/dotnet/Cdn/V20230701Preview/OriginGroup.cs new file mode 100644 index 000000000000..f1e886cfc7c3 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/OriginGroup.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:OriginGroup")] + public partial class OriginGroup : global::Pulumi.CustomResource + { + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + [Output("healthProbeSettings")] + public Output HealthProbeSettings { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The source of the content being delivered via CDN within given origin group. + /// + [Output("origins")] + public Output> Origins { get; private set; } = null!; + + /// + /// Provisioning status of the origin group. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Resource status of the origin group. + /// + [Output("resourceState")] + public Output ResourceState { get; private set; } = null!; + + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + /// + [Output("responseBasedOriginErrorDetectionSettings")] + public Output ResponseBasedOriginErrorDetectionSettings { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + [Output("trafficRestorationTimeToHealedOrNewEndpointsInMinutes")] + public Output TrafficRestorationTimeToHealedOrNewEndpointsInMinutes { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a OriginGroup 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 OriginGroup(string name, OriginGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:OriginGroup", name, args ?? new OriginGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private OriginGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:OriginGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20191231:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200331:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200415:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:OriginGroup"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:OriginGroup"}, + }, + }; + 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 OriginGroup 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. + /// A bag of options that control this resource's behavior + public static OriginGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OriginGroup(name, id, options); + } + } + + public sealed class OriginGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + [Input("healthProbeSettings")] + public Input? HealthProbeSettings { get; set; } + + /// + /// Name of the origin group which is unique within the endpoint. + /// + [Input("originGroupName")] + public Input? OriginGroupName { get; set; } + + [Input("origins", required: true)] + private InputList? _origins; + + /// + /// The source of the content being delivered via CDN within given origin group. + /// + public InputList Origins + { + get => _origins ?? (_origins = new InputList()); + set => _origins = value; + } + + /// + /// Name of the CDN profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + /// + [Input("responseBasedOriginErrorDetectionSettings")] + public Input? ResponseBasedOriginErrorDetectionSettings { get; set; } + + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + [Input("trafficRestorationTimeToHealedOrNewEndpointsInMinutes")] + public Input? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes { get; set; } + + public OriginGroupArgs() + { + } + public static new OriginGroupArgs Empty => new OriginGroupArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/AFDDomainHttpsParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/AFDDomainHttpsParametersResponse.cs new file mode 100644 index 000000000000..95c6a34da02b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/AFDDomainHttpsParametersResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The JSON object that contains the properties to secure a domain. + /// + [OutputType] + public sealed class AFDDomainHttpsParametersResponse + { + /// + /// Defines the source of the SSL certificate. + /// + public readonly string CertificateType; + /// + /// TLS protocol version that will be used for Https + /// + public readonly string? MinimumTlsVersion; + /// + /// Resource reference to the secret. ie. subs/rg/profile/secret + /// + public readonly Outputs.ResourceReferenceResponse? Secret; + + [OutputConstructor] + private AFDDomainHttpsParametersResponse( + string certificateType, + + string? minimumTlsVersion, + + Outputs.ResourceReferenceResponse? secret) + { + CertificateType = certificateType; + MinimumTlsVersion = minimumTlsVersion; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ActivatedResourceReferenceResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ActivatedResourceReferenceResponse.cs new file mode 100644 index 000000000000..8819128ba2a3 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ActivatedResourceReferenceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Reference to another resource along with its state. + /// + [OutputType] + public sealed class ActivatedResourceReferenceResponse + { + /// + /// Resource ID. + /// + public readonly string? Id; + /// + /// Whether the resource is active or inactive + /// + public readonly bool IsActive; + + [OutputConstructor] + private ActivatedResourceReferenceResponse( + string? id, + + bool isActive) + { + Id = id; + IsActive = isActive; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/AfdRouteCacheConfigurationResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/AfdRouteCacheConfigurationResponse.cs new file mode 100644 index 000000000000..e675b5c02b68 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/AfdRouteCacheConfigurationResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + /// + [OutputType] + public sealed class AfdRouteCacheConfigurationResponse + { + /// + /// compression settings. + /// + public readonly Outputs.CompressionSettingsResponse? CompressionSettings; + /// + /// query parameters to include or exclude (comma separated). + /// + public readonly string? QueryParameters; + /// + /// Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + /// + public readonly string? QueryStringCachingBehavior; + + [OutputConstructor] + private AfdRouteCacheConfigurationResponse( + Outputs.CompressionSettingsResponse? compressionSettings, + + string? queryParameters, + + string? queryStringCachingBehavior) + { + CompressionSettings = compressionSettings; + QueryParameters = queryParameters; + QueryStringCachingBehavior = queryStringCachingBehavior; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/AzureFirstPartyManagedCertificateParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/AzureFirstPartyManagedCertificateParametersResponse.cs new file mode 100644 index 000000000000..2b1ea09c045d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/AzureFirstPartyManagedCertificateParametersResponse.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. + /// + [OutputType] + public sealed class AzureFirstPartyManagedCertificateParametersResponse + { + /// + /// Certificate issuing authority. + /// + public readonly string CertificateAuthority; + /// + /// Certificate expiration date. + /// + public readonly string ExpirationDate; + /// + /// Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + /// + public readonly Outputs.ResourceReferenceResponse SecretSource; + /// + /// Subject name in the certificate. + /// + public readonly string Subject; + /// + /// The list of SANs. + /// + public readonly ImmutableArray SubjectAlternativeNames; + /// + /// Certificate thumbprint. + /// + public readonly string Thumbprint; + /// + /// The type of the secret resource. + /// Expected value is 'AzureFirstPartyManagedCertificate'. + /// + public readonly string Type; + + [OutputConstructor] + private AzureFirstPartyManagedCertificateParametersResponse( + string certificateAuthority, + + string expirationDate, + + Outputs.ResourceReferenceResponse secretSource, + + string subject, + + ImmutableArray subjectAlternativeNames, + + string thumbprint, + + string type) + { + CertificateAuthority = certificateAuthority; + ExpirationDate = expirationDate; + SecretSource = secretSource; + Subject = subject; + SubjectAlternativeNames = subjectAlternativeNames; + Thumbprint = thumbprint; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheConfigurationResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheConfigurationResponse.cs new file mode 100644 index 000000000000..b82893d5e37a --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheConfigurationResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + /// + [OutputType] + public sealed class CacheConfigurationResponse + { + /// + /// Caching behavior for the requests + /// + public readonly string? CacheBehavior; + /// + /// The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + /// + public readonly string? CacheDuration; + /// + /// Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + /// + public readonly string? IsCompressionEnabled; + /// + /// query parameters to include or exclude (comma separated). + /// + public readonly string? QueryParameters; + /// + /// Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + /// + public readonly string? QueryStringCachingBehavior; + + [OutputConstructor] + private CacheConfigurationResponse( + string? cacheBehavior, + + string? cacheDuration, + + string? isCompressionEnabled, + + string? queryParameters, + + string? queryStringCachingBehavior) + { + CacheBehavior = cacheBehavior; + CacheDuration = cacheDuration; + IsCompressionEnabled = isCompressionEnabled; + QueryParameters = queryParameters; + QueryStringCachingBehavior = queryStringCachingBehavior; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheExpirationActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheExpirationActionParametersResponse.cs new file mode 100644 index 000000000000..7ed1044e1cb3 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheExpirationActionParametersResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the cache expiration action. + /// + [OutputType] + public sealed class CacheExpirationActionParametersResponse + { + /// + /// Caching behavior for the requests + /// + public readonly string CacheBehavior; + /// + /// The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + /// + public readonly string? CacheDuration; + /// + /// The level at which the content needs to be cached. + /// + public readonly string CacheType; + public readonly string TypeName; + + [OutputConstructor] + private CacheExpirationActionParametersResponse( + string cacheBehavior, + + string? cacheDuration, + + string cacheType, + + string typeName) + { + CacheBehavior = cacheBehavior; + CacheDuration = cacheDuration; + CacheType = cacheType; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheKeyQueryStringActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheKeyQueryStringActionParametersResponse.cs new file mode 100644 index 000000000000..4be343c2ee72 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CacheKeyQueryStringActionParametersResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the cache-key query string action. + /// + [OutputType] + public sealed class CacheKeyQueryStringActionParametersResponse + { + /// + /// query parameters to include or exclude (comma separated). + /// + public readonly string? QueryParameters; + /// + /// Caching behavior for the requests + /// + public readonly string QueryStringBehavior; + public readonly string TypeName; + + [OutputConstructor] + private CacheKeyQueryStringActionParametersResponse( + string? queryParameters, + + string queryStringBehavior, + + string typeName) + { + QueryParameters = queryParameters; + QueryStringBehavior = queryStringBehavior; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnCertificateSourceParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnCertificateSourceParametersResponse.cs new file mode 100644 index 000000000000..45d11a8bff42 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnCertificateSourceParametersResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for using CDN managed certificate for securing custom domain. + /// + [OutputType] + public sealed class CdnCertificateSourceParametersResponse + { + /// + /// Type of certificate used + /// + public readonly string CertificateType; + public readonly string TypeName; + + [OutputConstructor] + private CdnCertificateSourceParametersResponse( + string certificateType, + + string typeName) + { + CertificateType = certificateType; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnEndpointResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnEndpointResponse.cs new file mode 100644 index 000000000000..616bf4c11b19 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnEndpointResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the ARM Resource ID for the linked endpoints + /// + [OutputType] + public sealed class CdnEndpointResponse + { + /// + /// ARM Resource ID string. + /// + public readonly string? Id; + + [OutputConstructor] + private CdnEndpointResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnManagedHttpsParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnManagedHttpsParametersResponse.cs new file mode 100644 index 000000000000..63f44b110ed2 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CdnManagedHttpsParametersResponse.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the certificate source parameters using CDN managed certificate for enabling SSL. + /// + [OutputType] + public sealed class CdnManagedHttpsParametersResponse + { + /// + /// Defines the source of the SSL certificate. + /// Expected value is 'Cdn'. + /// + public readonly string CertificateSource; + /// + /// Defines the certificate source parameters using CDN managed certificate for enabling SSL. + /// + public readonly Outputs.CdnCertificateSourceParametersResponse CertificateSourceParameters; + /// + /// TLS protocol version that will be used for Https + /// + public readonly string? MinimumTlsVersion; + /// + /// Defines the TLS extension protocol that is used for secure delivery. + /// + public readonly string ProtocolType; + + [OutputConstructor] + private CdnManagedHttpsParametersResponse( + string certificateSource, + + Outputs.CdnCertificateSourceParametersResponse certificateSourceParameters, + + string? minimumTlsVersion, + + string protocolType) + { + CertificateSource = certificateSource; + CertificateSourceParameters = certificateSourceParameters; + MinimumTlsVersion = minimumTlsVersion; + ProtocolType = protocolType; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ClientPortMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ClientPortMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..718e375ad347 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ClientPortMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for ClientPort match conditions + /// + [OutputType] + public sealed class ClientPortMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private ClientPortMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CompressionSettingsResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CompressionSettingsResponse.cs new file mode 100644 index 000000000000..0718cc86a680 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CompressionSettingsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// settings for compression. + /// + [OutputType] + public sealed class CompressionSettingsResponse + { + /// + /// List of content types on which compression applies. The value should be a valid MIME type. + /// + public readonly ImmutableArray ContentTypesToCompress; + /// + /// Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + /// + public readonly bool? IsCompressionEnabled; + + [OutputConstructor] + private CompressionSettingsResponse( + ImmutableArray contentTypesToCompress, + + bool? isCompressionEnabled) + { + ContentTypesToCompress = contentTypesToCompress; + IsCompressionEnabled = isCompressionEnabled; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CookiesMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CookiesMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..ce8daaa76cc8 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CookiesMatchConditionParametersResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for Cookies match conditions + /// + [OutputType] + public sealed class CookiesMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// Name of Cookies to be matched + /// + public readonly string? Selector; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private CookiesMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + string? selector, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Selector = selector; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomRuleListResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomRuleListResponse.cs new file mode 100644 index 000000000000..8077a90de669 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomRuleListResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines contents of custom rules + /// + [OutputType] + public sealed class CustomRuleListResponse + { + /// + /// List of rules + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private CustomRuleListResponse(ImmutableArray rules) + { + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomRuleResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomRuleResponse.cs new file mode 100644 index 000000000000..29959117bd81 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomRuleResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the common attributes for a custom rule that can be included in a waf policy + /// + [OutputType] + public sealed class CustomRuleResponse + { + /// + /// Describes what action to be applied when rule matches + /// + public readonly string Action; + /// + /// Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + /// + public readonly string? EnabledState; + /// + /// List of match conditions. + /// + public readonly ImmutableArray MatchConditions; + /// + /// Defines the name of the custom rule + /// + public readonly string Name; + /// + /// Defines in what order this rule be evaluated in the overall list of custom rules + /// + public readonly int Priority; + + [OutputConstructor] + private CustomRuleResponse( + string action, + + string? enabledState, + + ImmutableArray matchConditions, + + string name, + + int priority) + { + Action = action; + EnabledState = enabledState; + MatchConditions = matchConditions; + Name = name; + Priority = priority; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomerCertificateParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomerCertificateParametersResponse.cs new file mode 100644 index 000000000000..cb6664a5378d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/CustomerCertificateParametersResponse.cs @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Customer Certificate used for https + /// + [OutputType] + public sealed class CustomerCertificateParametersResponse + { + /// + /// Certificate issuing authority. + /// + public readonly string CertificateAuthority; + /// + /// Certificate expiration date. + /// + public readonly string ExpirationDate; + /// + /// Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + /// + public readonly Outputs.ResourceReferenceResponse SecretSource; + /// + /// Version of the secret to be used + /// + public readonly string? SecretVersion; + /// + /// Subject name in the certificate. + /// + public readonly string Subject; + /// + /// The list of SANs. + /// + public readonly ImmutableArray SubjectAlternativeNames; + /// + /// Certificate thumbprint. + /// + public readonly string Thumbprint; + /// + /// The type of the secret resource. + /// Expected value is 'CustomerCertificate'. + /// + public readonly string Type; + /// + /// Whether to use the latest version for the certificate + /// + public readonly bool? UseLatestVersion; + + [OutputConstructor] + private CustomerCertificateParametersResponse( + string certificateAuthority, + + string expirationDate, + + Outputs.ResourceReferenceResponse secretSource, + + string? secretVersion, + + string subject, + + ImmutableArray subjectAlternativeNames, + + string thumbprint, + + string type, + + bool? useLatestVersion) + { + CertificateAuthority = certificateAuthority; + ExpirationDate = expirationDate; + SecretSource = secretSource; + SecretVersion = secretVersion; + Subject = subject; + SubjectAlternativeNames = subjectAlternativeNames; + Thumbprint = thumbprint; + Type = type; + UseLatestVersion = useLatestVersion; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedCustomDomainResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedCustomDomainResponse.cs new file mode 100644 index 000000000000..66b01e671842 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedCustomDomainResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Custom domains created on the CDN endpoint. + /// + [OutputType] + public sealed class DeepCreatedCustomDomainResponse + { + /// + /// The host name of the custom domain. Must be a domain name. + /// + public readonly string HostName; + /// + /// Custom domain name. + /// + public readonly string Name; + /// + /// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + /// + public readonly string? ValidationData; + + [OutputConstructor] + private DeepCreatedCustomDomainResponse( + string hostName, + + string name, + + string? validationData) + { + HostName = hostName; + Name = name; + ValidationData = validationData; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedOriginGroupResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedOriginGroupResponse.cs new file mode 100644 index 000000000000..4210c265576b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedOriginGroupResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. + /// + [OutputType] + public sealed class DeepCreatedOriginGroupResponse + { + /// + /// Health probe settings to the origin that is used to determine the health of the origin. + /// + public readonly Outputs.HealthProbeParametersResponse? HealthProbeSettings; + /// + /// Origin group name which must be unique within the endpoint. + /// + public readonly string Name; + /// + /// The source of the content being delivered via CDN within given origin group. + /// + public readonly ImmutableArray Origins; + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + /// + public readonly Outputs.ResponseBasedOriginErrorDetectionParametersResponse? ResponseBasedOriginErrorDetectionSettings; + /// + /// Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + /// + public readonly int? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes; + + [OutputConstructor] + private DeepCreatedOriginGroupResponse( + Outputs.HealthProbeParametersResponse? healthProbeSettings, + + string name, + + ImmutableArray origins, + + Outputs.ResponseBasedOriginErrorDetectionParametersResponse? responseBasedOriginErrorDetectionSettings, + + int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes) + { + HealthProbeSettings = healthProbeSettings; + Name = name; + Origins = origins; + ResponseBasedOriginErrorDetectionSettings = responseBasedOriginErrorDetectionSettings; + TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedOriginResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedOriginResponse.cs new file mode 100644 index 000000000000..93d7a82e1e2d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeepCreatedOriginResponse.cs @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The main origin of CDN content which is added when creating a CDN endpoint. + /// + [OutputType] + public sealed class DeepCreatedOriginResponse + { + /// + /// Origin is enabled for load balancing or not. By default, origin is always enabled. + /// + public readonly bool? Enabled; + /// + /// The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. + /// + public readonly string HostName; + /// + /// The value of the HTTP port. Must be between 1 and 65535. + /// + public readonly int? HttpPort; + /// + /// The value of the HTTPS port. Must be between 1 and 65535. + /// + public readonly int? HttpsPort; + /// + /// Origin name which must be unique within the endpoint. + /// + public readonly string Name; + /// + /// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + /// + public readonly string? OriginHostHeader; + /// + /// Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + /// + public readonly int? Priority; + /// + /// The approval status for the connection to the Private Link + /// + public readonly string PrivateEndpointStatus; + /// + /// The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + /// + public readonly string? PrivateLinkAlias; + /// + /// A custom message to be included in the approval request to connect to the Private Link. + /// + public readonly string? PrivateLinkApprovalMessage; + /// + /// The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + /// + public readonly string? PrivateLinkLocation; + /// + /// The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + /// + public readonly string? PrivateLinkResourceId; + /// + /// Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + /// + public readonly int? Weight; + + [OutputConstructor] + private DeepCreatedOriginResponse( + bool? enabled, + + string hostName, + + int? httpPort, + + int? httpsPort, + + string name, + + string? originHostHeader, + + int? priority, + + string privateEndpointStatus, + + string? privateLinkAlias, + + string? privateLinkApprovalMessage, + + string? privateLinkLocation, + + string? privateLinkResourceId, + + int? weight) + { + Enabled = enabled; + HostName = hostName; + HttpPort = httpPort; + HttpsPort = httpsPort; + Name = name; + OriginHostHeader = originHostHeader; + Priority = priority; + PrivateEndpointStatus = privateEndpointStatus; + PrivateLinkAlias = privateLinkAlias; + PrivateLinkApprovalMessage = privateLinkApprovalMessage; + PrivateLinkLocation = privateLinkLocation; + PrivateLinkResourceId = privateLinkResourceId; + Weight = weight; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCacheExpirationActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCacheExpirationActionResponse.cs new file mode 100644 index 000000000000..be343f355d3d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCacheExpirationActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the cache expiration action for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleCacheExpirationActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'CacheExpiration'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.CacheExpirationActionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleCacheExpirationActionResponse( + string name, + + Outputs.CacheExpirationActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCacheKeyQueryStringActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCacheKeyQueryStringActionResponse.cs new file mode 100644 index 000000000000..94668bb8a478 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCacheKeyQueryStringActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the cache-key query string action for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleCacheKeyQueryStringActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'CacheKeyQueryString'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.CacheKeyQueryStringActionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleCacheKeyQueryStringActionResponse( + string name, + + Outputs.CacheKeyQueryStringActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleClientPortConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleClientPortConditionResponse.cs new file mode 100644 index 000000000000..d5b0f018f943 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleClientPortConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the ClientPort condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleClientPortConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'ClientPort'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.ClientPortMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleClientPortConditionResponse( + string name, + + Outputs.ClientPortMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCookiesConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCookiesConditionResponse.cs new file mode 100644 index 000000000000..3a25ee76fc8f --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleCookiesConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the Cookies condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleCookiesConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'Cookies'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.CookiesMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleCookiesConditionResponse( + string name, + + Outputs.CookiesMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleHostNameConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleHostNameConditionResponse.cs new file mode 100644 index 000000000000..6f4fa1d5f5e6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleHostNameConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the HostName condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleHostNameConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'HostName'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.HostNameMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleHostNameConditionResponse( + string name, + + Outputs.HostNameMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleHttpVersionConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleHttpVersionConditionResponse.cs new file mode 100644 index 000000000000..1775d3061ec4 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleHttpVersionConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the HttpVersion condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleHttpVersionConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'HttpVersion'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.HttpVersionMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleHttpVersionConditionResponse( + string name, + + Outputs.HttpVersionMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleIsDeviceConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleIsDeviceConditionResponse.cs new file mode 100644 index 000000000000..4a9e2fdb51ea --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleIsDeviceConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the IsDevice condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleIsDeviceConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'IsDevice'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.IsDeviceMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleIsDeviceConditionResponse( + string name, + + Outputs.IsDeviceMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRulePostArgsConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRulePostArgsConditionResponse.cs new file mode 100644 index 000000000000..61af0120015e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRulePostArgsConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the PostArgs condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRulePostArgsConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'PostArgs'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.PostArgsMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRulePostArgsConditionResponse( + string name, + + Outputs.PostArgsMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleQueryStringConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleQueryStringConditionResponse.cs new file mode 100644 index 000000000000..fed3d9821629 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleQueryStringConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the QueryString condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleQueryStringConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'QueryString'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.QueryStringMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleQueryStringConditionResponse( + string name, + + Outputs.QueryStringMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRemoteAddressConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRemoteAddressConditionResponse.cs new file mode 100644 index 000000000000..87b02b5e6070 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRemoteAddressConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the RemoteAddress condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRemoteAddressConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RemoteAddress'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.RemoteAddressMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRemoteAddressConditionResponse( + string name, + + Outputs.RemoteAddressMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestBodyConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestBodyConditionResponse.cs new file mode 100644 index 000000000000..cb1639bada57 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestBodyConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the RequestBody condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRequestBodyConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestBody'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.RequestBodyMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRequestBodyConditionResponse( + string name, + + Outputs.RequestBodyMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestHeaderActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestHeaderActionResponse.cs new file mode 100644 index 000000000000..54493bd89892 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestHeaderActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the request header action for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRequestHeaderActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'ModifyRequestHeader'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.HeaderActionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRequestHeaderActionResponse( + string name, + + Outputs.HeaderActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestHeaderConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestHeaderConditionResponse.cs new file mode 100644 index 000000000000..42093a653af1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestHeaderConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the RequestHeader condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRequestHeaderConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestHeader'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.RequestHeaderMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRequestHeaderConditionResponse( + string name, + + Outputs.RequestHeaderMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestMethodConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestMethodConditionResponse.cs new file mode 100644 index 000000000000..3660b5d4680d --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestMethodConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the RequestMethod condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRequestMethodConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestMethod'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.RequestMethodMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRequestMethodConditionResponse( + string name, + + Outputs.RequestMethodMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestSchemeConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestSchemeConditionResponse.cs new file mode 100644 index 000000000000..05f351099cf1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestSchemeConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the RequestScheme condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRequestSchemeConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestScheme'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.RequestSchemeMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRequestSchemeConditionResponse( + string name, + + Outputs.RequestSchemeMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestUriConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestUriConditionResponse.cs new file mode 100644 index 000000000000..c0687dbd9046 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRequestUriConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the RequestUri condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleRequestUriConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'RequestUri'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.RequestUriMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRequestUriConditionResponse( + string name, + + Outputs.RequestUriMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleResponse.cs new file mode 100644 index 000000000000..50e612040df9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// A rule that specifies a set of actions and conditions + /// + [OutputType] + public sealed class DeliveryRuleResponse + { + /// + /// A list of actions that are executed when all the conditions of a rule are satisfied. + /// + public readonly ImmutableArray Actions; + /// + /// A list of conditions that must be matched for the actions to be executed + /// + public readonly ImmutableArray Conditions; + /// + /// Name of the rule + /// + public readonly string? Name; + /// + /// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + /// + public readonly int Order; + + [OutputConstructor] + private DeliveryRuleResponse( + ImmutableArray actions, + + ImmutableArray conditions, + + string? name, + + int order) + { + Actions = actions; + Conditions = conditions; + Name = name; + Order = order; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleResponseHeaderActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleResponseHeaderActionResponse.cs new file mode 100644 index 000000000000..38a4aac9800e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleResponseHeaderActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the response header action for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleResponseHeaderActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'ModifyResponseHeader'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.HeaderActionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleResponseHeaderActionResponse( + string name, + + Outputs.HeaderActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRouteConfigurationOverrideActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRouteConfigurationOverrideActionResponse.cs new file mode 100644 index 000000000000..8303246bc9a0 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleRouteConfigurationOverrideActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. + /// + [OutputType] + public sealed class DeliveryRuleRouteConfigurationOverrideActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'RouteConfigurationOverride'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.RouteConfigurationOverrideActionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleRouteConfigurationOverrideActionResponse( + string name, + + Outputs.RouteConfigurationOverrideActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleServerPortConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleServerPortConditionResponse.cs new file mode 100644 index 000000000000..df45599cd1a8 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleServerPortConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the ServerPort condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleServerPortConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'ServerPort'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.ServerPortMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleServerPortConditionResponse( + string name, + + Outputs.ServerPortMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleSocketAddrConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleSocketAddrConditionResponse.cs new file mode 100644 index 000000000000..ca24ffe62669 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleSocketAddrConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the SocketAddress condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleSocketAddrConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'SocketAddr'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.SocketAddrMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleSocketAddrConditionResponse( + string name, + + Outputs.SocketAddrMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleSslProtocolConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleSslProtocolConditionResponse.cs new file mode 100644 index 000000000000..6d130df6294e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleSslProtocolConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the SslProtocol condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleSslProtocolConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'SslProtocol'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.SslProtocolMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleSslProtocolConditionResponse( + string name, + + Outputs.SslProtocolMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlFileExtensionConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlFileExtensionConditionResponse.cs new file mode 100644 index 000000000000..ed044cd8edb7 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlFileExtensionConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the UrlFileExtension condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleUrlFileExtensionConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'UrlFileExtension'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.UrlFileExtensionMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleUrlFileExtensionConditionResponse( + string name, + + Outputs.UrlFileExtensionMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlFileNameConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlFileNameConditionResponse.cs new file mode 100644 index 000000000000..3beb21c814ab --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlFileNameConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the UrlFileName condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleUrlFileNameConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'UrlFileName'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.UrlFileNameMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleUrlFileNameConditionResponse( + string name, + + Outputs.UrlFileNameMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlPathConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlPathConditionResponse.cs new file mode 100644 index 000000000000..122cc17f5781 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DeliveryRuleUrlPathConditionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the UrlPath condition for the delivery rule. + /// + [OutputType] + public sealed class DeliveryRuleUrlPathConditionResponse + { + /// + /// The name of the condition for the delivery rule. + /// Expected value is 'UrlPath'. + /// + public readonly string Name; + /// + /// Defines the parameters for the condition. + /// + public readonly Outputs.UrlPathMatchConditionParametersResponse Parameters; + + [OutputConstructor] + private DeliveryRuleUrlPathConditionResponse( + string name, + + Outputs.UrlPathMatchConditionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/DomainValidationPropertiesResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DomainValidationPropertiesResponse.cs new file mode 100644 index 000000000000..39fdd69b9ec7 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/DomainValidationPropertiesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The JSON object that contains the properties to validate a domain. + /// + [OutputType] + public sealed class DomainValidationPropertiesResponse + { + /// + /// The date time that the token expires + /// + public readonly string ExpirationDate; + /// + /// Challenge used for DNS TXT record or file based validation + /// + public readonly string ValidationToken; + + [OutputConstructor] + private DomainValidationPropertiesResponse( + string expirationDate, + + string validationToken) + { + ExpirationDate = expirationDate; + ValidationToken = validationToken; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/EndpointPropertiesUpdateParametersResponseDeliveryPolicy.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/EndpointPropertiesUpdateParametersResponseDeliveryPolicy.cs new file mode 100644 index 000000000000..5c8e48fd6956 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/EndpointPropertiesUpdateParametersResponseDeliveryPolicy.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// A policy that specifies the delivery rules to be used for an endpoint. + /// + [OutputType] + public sealed class EndpointPropertiesUpdateParametersResponseDeliveryPolicy + { + /// + /// User-friendly description of the policy. + /// + public readonly string? Description; + /// + /// A list of the delivery rules. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private EndpointPropertiesUpdateParametersResponseDeliveryPolicy( + string? description, + + ImmutableArray rules) + { + Description = description; + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink.cs new file mode 100644 index 000000000000..b919b6ea54fa --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the Web Application Firewall policy for the endpoint (if applicable) + /// + [OutputType] + public sealed class EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink + { + /// + /// Resource ID. + /// + public readonly string? Id; + + [OutputConstructor] + private EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/GeoFilterResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/GeoFilterResponse.cs new file mode 100644 index 000000000000..2476de7fce25 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/GeoFilterResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Rules defining user's geo access within a CDN endpoint. + /// + [OutputType] + public sealed class GeoFilterResponse + { + /// + /// Action of the geo filter, i.e. allow or block access. + /// + public readonly string Action; + /// + /// Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + /// + public readonly ImmutableArray CountryCodes; + /// + /// Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + /// + public readonly string RelativePath; + + [OutputConstructor] + private GeoFilterResponse( + string action, + + ImmutableArray countryCodes, + + string relativePath) + { + Action = action; + CountryCodes = countryCodes; + RelativePath = relativePath; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/HeaderActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HeaderActionParametersResponse.cs new file mode 100644 index 000000000000..8ec52b3e33a4 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HeaderActionParametersResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the request header action. + /// + [OutputType] + public sealed class HeaderActionParametersResponse + { + /// + /// Action to perform + /// + public readonly string HeaderAction; + /// + /// Name of the header to modify + /// + public readonly string HeaderName; + public readonly string TypeName; + /// + /// Value for the specified action + /// + public readonly string? Value; + + [OutputConstructor] + private HeaderActionParametersResponse( + string headerAction, + + string headerName, + + string typeName, + + string? value) + { + HeaderAction = headerAction; + HeaderName = headerName; + TypeName = typeName; + Value = value; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/HealthProbeParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HealthProbeParametersResponse.cs new file mode 100644 index 000000000000..d854b1b84f8c --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HealthProbeParametersResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The JSON object that contains the properties to send health probes to origin. + /// + [OutputType] + public sealed class HealthProbeParametersResponse + { + /// + /// The number of seconds between health probes.Default is 240sec. + /// + public readonly int? ProbeIntervalInSeconds; + /// + /// The path relative to the origin that is used to determine the health of the origin. + /// + public readonly string? ProbePath; + /// + /// Protocol to use for health probe. + /// + public readonly string? ProbeProtocol; + /// + /// The type of health probe request that is made. + /// + public readonly string? ProbeRequestType; + + [OutputConstructor] + private HealthProbeParametersResponse( + int? probeIntervalInSeconds, + + string? probePath, + + string? probeProtocol, + + string? probeRequestType) + { + ProbeIntervalInSeconds = probeIntervalInSeconds; + ProbePath = probePath; + ProbeProtocol = probeProtocol; + ProbeRequestType = probeRequestType; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/HostNameMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HostNameMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..55ae9dbc7a5b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HostNameMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for HostName match conditions + /// + [OutputType] + public sealed class HostNameMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private HostNameMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/HttpErrorRangeParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HttpErrorRangeParametersResponse.cs new file mode 100644 index 000000000000..ba0926e3aa48 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HttpErrorRangeParametersResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The JSON object that represents the range for http status codes + /// + [OutputType] + public sealed class HttpErrorRangeParametersResponse + { + /// + /// The inclusive start of the http status code range. + /// + public readonly int? Begin; + /// + /// The inclusive end of the http status code range. + /// + public readonly int? End; + + [OutputConstructor] + private HttpErrorRangeParametersResponse( + int? begin, + + int? end) + { + Begin = begin; + End = end; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/HttpVersionMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HttpVersionMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..38b7b1a934c4 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/HttpVersionMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for HttpVersion match conditions + /// + [OutputType] + public sealed class HttpVersionMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private HttpVersionMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/IsDeviceMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/IsDeviceMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..5a9636c48d60 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/IsDeviceMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for IsDevice match conditions + /// + [OutputType] + public sealed class IsDeviceMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private IsDeviceMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/KeyVaultCertificateSourceParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/KeyVaultCertificateSourceParametersResponse.cs new file mode 100644 index 000000000000..ef3d187794cb --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/KeyVaultCertificateSourceParametersResponse.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Describes the parameters for using a user's KeyVault certificate for securing custom domain. + /// + [OutputType] + public sealed class KeyVaultCertificateSourceParametersResponse + { + /// + /// Describes the action that shall be taken when the certificate is removed from Key Vault. + /// + public readonly string DeleteRule; + /// + /// Resource group of the user's Key Vault containing the SSL certificate + /// + public readonly string ResourceGroupName; + /// + /// The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. + /// + public readonly string SecretName; + /// + /// The version(GUID) of Key Vault Secret in Key Vault. + /// + public readonly string? SecretVersion; + /// + /// Subscription Id of the user's Key Vault containing the SSL certificate + /// + public readonly string SubscriptionId; + public readonly string TypeName; + /// + /// Describes the action that shall be taken when the certificate is updated in Key Vault. + /// + public readonly string UpdateRule; + /// + /// The name of the user's Key Vault containing the SSL certificate + /// + public readonly string VaultName; + + [OutputConstructor] + private KeyVaultCertificateSourceParametersResponse( + string deleteRule, + + string resourceGroupName, + + string secretName, + + string? secretVersion, + + string subscriptionId, + + string typeName, + + string updateRule, + + string vaultName) + { + DeleteRule = deleteRule; + ResourceGroupName = resourceGroupName; + SecretName = secretName; + SecretVersion = secretVersion; + SubscriptionId = subscriptionId; + TypeName = typeName; + UpdateRule = updateRule; + VaultName = vaultName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/KeyVaultSigningKeyParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/KeyVaultSigningKeyParametersResponse.cs new file mode 100644 index 000000000000..5deead254294 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/KeyVaultSigningKeyParametersResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Describes the parameters for using a user's KeyVault for URL Signing Key. + /// + [OutputType] + public sealed class KeyVaultSigningKeyParametersResponse + { + /// + /// Resource group of the user's Key Vault containing the secret + /// + public readonly string ResourceGroupName; + /// + /// The name of secret in Key Vault. + /// + public readonly string SecretName; + /// + /// The version(GUID) of secret in Key Vault. + /// + public readonly string SecretVersion; + /// + /// Subscription Id of the user's Key Vault containing the secret + /// + public readonly string SubscriptionId; + public readonly string TypeName; + /// + /// The name of the user's Key Vault containing the secret + /// + public readonly string VaultName; + + [OutputConstructor] + private KeyVaultSigningKeyParametersResponse( + string resourceGroupName, + + string secretName, + + string secretVersion, + + string subscriptionId, + + string typeName, + + string vaultName) + { + ResourceGroupName = resourceGroupName; + SecretName = secretName; + SecretVersion = secretVersion; + SubscriptionId = subscriptionId; + TypeName = typeName; + VaultName = vaultName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/LoadBalancingSettingsParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/LoadBalancingSettingsParametersResponse.cs new file mode 100644 index 000000000000..67fd87b939fe --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/LoadBalancingSettingsParametersResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Round-Robin load balancing settings for a backend pool + /// + [OutputType] + public sealed class LoadBalancingSettingsParametersResponse + { + /// + /// The additional latency in milliseconds for probes to fall into the lowest latency bucket + /// + public readonly int? AdditionalLatencyInMilliseconds; + /// + /// The number of samples to consider for load balancing decisions + /// + public readonly int? SampleSize; + /// + /// The number of samples within the sample period that must succeed + /// + public readonly int? SuccessfulSamplesRequired; + + [OutputConstructor] + private LoadBalancingSettingsParametersResponse( + int? additionalLatencyInMilliseconds, + + int? sampleSize, + + int? successfulSamplesRequired) + { + AdditionalLatencyInMilliseconds = additionalLatencyInMilliseconds; + SampleSize = sampleSize; + SuccessfulSamplesRequired = successfulSamplesRequired; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedCertificateParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedCertificateParametersResponse.cs new file mode 100644 index 000000000000..2767ab8931ac --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedCertificateParametersResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Managed Certificate used for https + /// + [OutputType] + public sealed class ManagedCertificateParametersResponse + { + /// + /// Certificate expiration date. + /// + public readonly string ExpirationDate; + /// + /// Subject name in the certificate. + /// + public readonly string Subject; + /// + /// The type of the secret resource. + /// Expected value is 'ManagedCertificate'. + /// + public readonly string Type; + + [OutputConstructor] + private ManagedCertificateParametersResponse( + string expirationDate, + + string subject, + + string type) + { + ExpirationDate = expirationDate; + Subject = subject; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleGroupOverrideResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleGroupOverrideResponse.cs new file mode 100644 index 000000000000..cca20fc8f659 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleGroupOverrideResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines a managed rule group override setting. + /// + [OutputType] + public sealed class ManagedRuleGroupOverrideResponse + { + /// + /// Describes the managed rule group within the rule set to override + /// + public readonly string RuleGroupName; + /// + /// List of rules that will be enabled. If none specified, all rules in the group will be disabled. + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private ManagedRuleGroupOverrideResponse( + string ruleGroupName, + + ImmutableArray rules) + { + RuleGroupName = ruleGroupName; + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleOverrideResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleOverrideResponse.cs new file mode 100644 index 000000000000..73509d6c4e02 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleOverrideResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines a managed rule group override setting. + /// + [OutputType] + public sealed class ManagedRuleOverrideResponse + { + /// + /// Describes the override action to be applied when rule matches. + /// + public readonly string? Action; + /// + /// Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + /// + public readonly string? EnabledState; + /// + /// Identifier for the managed rule. + /// + public readonly string RuleId; + + [OutputConstructor] + private ManagedRuleOverrideResponse( + string? action, + + string? enabledState, + + string ruleId) + { + Action = action; + EnabledState = enabledState; + RuleId = ruleId; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleSetListResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleSetListResponse.cs new file mode 100644 index 000000000000..d89bc53359c5 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleSetListResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the list of managed rule sets for the policy. + /// + [OutputType] + public sealed class ManagedRuleSetListResponse + { + /// + /// List of rule sets. + /// + public readonly ImmutableArray ManagedRuleSets; + + [OutputConstructor] + private ManagedRuleSetListResponse(ImmutableArray managedRuleSets) + { + ManagedRuleSets = managedRuleSets; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleSetResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleSetResponse.cs new file mode 100644 index 000000000000..248149fc220a --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedRuleSetResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines a managed rule set. + /// + [OutputType] + public sealed class ManagedRuleSetResponse + { + /// + /// Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. + /// + public readonly int? AnomalyScore; + /// + /// Defines the rule overrides to apply to the rule set. + /// + public readonly ImmutableArray RuleGroupOverrides; + /// + /// Defines the rule set type to use. + /// + public readonly string RuleSetType; + /// + /// Defines the version of the rule set to use. + /// + public readonly string RuleSetVersion; + + [OutputConstructor] + private ManagedRuleSetResponse( + int? anomalyScore, + + ImmutableArray ruleGroupOverrides, + + string ruleSetType, + + string ruleSetVersion) + { + AnomalyScore = anomalyScore; + RuleGroupOverrides = ruleGroupOverrides; + RuleSetType = ruleSetType; + RuleSetVersion = ruleSetVersion; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..25ade9d613a6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + public readonly string Type; + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/MatchConditionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/MatchConditionResponse.cs new file mode 100644 index 000000000000..391ededacdc0 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/MatchConditionResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Define match conditions + /// + [OutputType] + public sealed class MatchConditionResponse + { + /// + /// List of possible match values. + /// + public readonly ImmutableArray MatchValue; + /// + /// Match variable to compare against. + /// + public readonly string MatchVariable; + /// + /// Describes if the result of this condition should be negated. + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + /// + public readonly string? Selector; + /// + /// List of transforms. + /// + public readonly ImmutableArray Transforms; + + [OutputConstructor] + private MatchConditionResponse( + ImmutableArray matchValue, + + string matchVariable, + + bool? negateCondition, + + string @operator, + + string? selector, + + ImmutableArray transforms) + { + MatchValue = matchValue; + MatchVariable = matchVariable; + NegateCondition = negateCondition; + Operator = @operator; + Selector = selector; + Transforms = transforms; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideActionParametersResponse.cs new file mode 100644 index 000000000000..11adb2a1d1df --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideActionParametersResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the origin group override action. + /// + [OutputType] + public sealed class OriginGroupOverrideActionParametersResponse + { + /// + /// defines the OriginGroup that would override the DefaultOriginGroup. + /// + public readonly Outputs.ResourceReferenceResponse OriginGroup; + public readonly string TypeName; + + [OutputConstructor] + private OriginGroupOverrideActionParametersResponse( + Outputs.ResourceReferenceResponse originGroup, + + string typeName) + { + OriginGroup = originGroup; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideActionResponse.cs new file mode 100644 index 000000000000..0ec4506b20e9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the origin group override action for the delivery rule. + /// + [OutputType] + public sealed class OriginGroupOverrideActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'OriginGroupOverride'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.OriginGroupOverrideActionParametersResponse Parameters; + + [OutputConstructor] + private OriginGroupOverrideActionResponse( + string name, + + Outputs.OriginGroupOverrideActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideResponse.cs new file mode 100644 index 000000000000..e1434dec81d5 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/OriginGroupOverrideResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the origin group override configuration. + /// + [OutputType] + public sealed class OriginGroupOverrideResponse + { + /// + /// Protocol this rule will use when forwarding traffic to backends. + /// + public readonly string? ForwardingProtocol; + /// + /// defines the OriginGroup that would override the DefaultOriginGroup on route. + /// + public readonly Outputs.ResourceReferenceResponse? OriginGroup; + + [OutputConstructor] + private OriginGroupOverrideResponse( + string? forwardingProtocol, + + Outputs.ResourceReferenceResponse? originGroup) + { + ForwardingProtocol = forwardingProtocol; + OriginGroup = originGroup; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/PolicySettingsResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/PolicySettingsResponse.cs new file mode 100644 index 000000000000..bb210f03e78b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/PolicySettingsResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines contents of a web application firewall global configuration + /// + [OutputType] + public sealed class PolicySettingsResponse + { + /// + /// If the action type is block, customer can override the response body. The body must be specified in base64 encoding. + /// + public readonly string? DefaultCustomBlockResponseBody; + /// + /// If the action type is block, this field defines the default customer overridable http response status code. + /// + public readonly int? DefaultCustomBlockResponseStatusCode; + /// + /// If action type is redirect, this field represents the default redirect URL for the client. + /// + public readonly string? DefaultRedirectUrl; + /// + /// describes if the policy is in enabled state or disabled state + /// + public readonly string? EnabledState; + /// + /// Describes if it is in detection mode or prevention mode at policy level. + /// + public readonly string? Mode; + + [OutputConstructor] + private PolicySettingsResponse( + string? defaultCustomBlockResponseBody, + + int? defaultCustomBlockResponseStatusCode, + + string? defaultRedirectUrl, + + string? enabledState, + + string? mode) + { + DefaultCustomBlockResponseBody = defaultCustomBlockResponseBody; + DefaultCustomBlockResponseStatusCode = defaultCustomBlockResponseStatusCode; + DefaultRedirectUrl = defaultRedirectUrl; + EnabledState = enabledState; + Mode = mode; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/PostArgsMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/PostArgsMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..a3f44321d6d7 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/PostArgsMatchConditionParametersResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for PostArgs match conditions + /// + [OutputType] + public sealed class PostArgsMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// Name of PostArg to be matched + /// + public readonly string? Selector; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private PostArgsMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + string? selector, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Selector = selector; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/QueryStringMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/QueryStringMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..0d10de254cbf --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/QueryStringMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for QueryString match conditions + /// + [OutputType] + public sealed class QueryStringMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private QueryStringMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RateLimitRuleListResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RateLimitRuleListResponse.cs new file mode 100644 index 000000000000..c632c86fd018 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RateLimitRuleListResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines contents of rate limit rules + /// + [OutputType] + public sealed class RateLimitRuleListResponse + { + /// + /// List of rules + /// + public readonly ImmutableArray Rules; + + [OutputConstructor] + private RateLimitRuleListResponse(ImmutableArray rules) + { + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RateLimitRuleResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RateLimitRuleResponse.cs new file mode 100644 index 000000000000..c723193951e1 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RateLimitRuleResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines a rate limiting rule that can be included in a waf policy + /// + [OutputType] + public sealed class RateLimitRuleResponse + { + /// + /// Describes what action to be applied when rule matches + /// + public readonly string Action; + /// + /// Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + /// + public readonly string? EnabledState; + /// + /// List of match conditions. + /// + public readonly ImmutableArray MatchConditions; + /// + /// Defines the name of the custom rule + /// + public readonly string Name; + /// + /// Defines in what order this rule be evaluated in the overall list of custom rules + /// + public readonly int Priority; + /// + /// Defines rate limit duration. Default is 1 minute. + /// + public readonly int RateLimitDurationInMinutes; + /// + /// Defines rate limit threshold. + /// + public readonly int RateLimitThreshold; + + [OutputConstructor] + private RateLimitRuleResponse( + string action, + + string? enabledState, + + ImmutableArray matchConditions, + + string name, + + int priority, + + int rateLimitDurationInMinutes, + + int rateLimitThreshold) + { + Action = action; + EnabledState = enabledState; + MatchConditions = matchConditions; + Name = name; + Priority = priority; + RateLimitDurationInMinutes = rateLimitDurationInMinutes; + RateLimitThreshold = rateLimitThreshold; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RemoteAddressMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RemoteAddressMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..12a5131880ba --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RemoteAddressMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for RemoteAddress match conditions + /// + [OutputType] + public sealed class RemoteAddressMatchConditionParametersResponse + { + /// + /// Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private RemoteAddressMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestBodyMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestBodyMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..863f7abde0f4 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestBodyMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for RequestBody match conditions + /// + [OutputType] + public sealed class RequestBodyMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private RequestBodyMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestHeaderMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestHeaderMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..b09b99fec2c5 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestHeaderMatchConditionParametersResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for RequestHeader match conditions + /// + [OutputType] + public sealed class RequestHeaderMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// Name of Header to be matched + /// + public readonly string? Selector; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private RequestHeaderMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + string? selector, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Selector = selector; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestMethodMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestMethodMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..336ca7622255 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestMethodMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for RequestMethod match conditions + /// + [OutputType] + public sealed class RequestMethodMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private RequestMethodMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestSchemeMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestSchemeMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..04da1e6f3a46 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestSchemeMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for RequestScheme match conditions + /// + [OutputType] + public sealed class RequestSchemeMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private RequestSchemeMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestUriMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestUriMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..41167c1e61d5 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RequestUriMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for RequestUri match conditions + /// + [OutputType] + public sealed class RequestUriMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private RequestUriMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ResourceReferenceResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ResourceReferenceResponse.cs new file mode 100644 index 000000000000..d9be93be94f9 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ResourceReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Reference to another resource. + /// + [OutputType] + public sealed class ResourceReferenceResponse + { + /// + /// Resource ID. + /// + public readonly string? Id; + + [OutputConstructor] + private ResourceReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ResponseBasedOriginErrorDetectionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ResponseBasedOriginErrorDetectionParametersResponse.cs new file mode 100644 index 000000000000..395bad870ac6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ResponseBasedOriginErrorDetectionParametersResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The JSON object that contains the properties to determine origin health using real requests/responses. + /// + [OutputType] + public sealed class ResponseBasedOriginErrorDetectionParametersResponse + { + /// + /// The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + /// + public readonly ImmutableArray HttpErrorRanges; + /// + /// Type of response errors for real user requests for which origin will be deemed unhealthy + /// + public readonly string? ResponseBasedDetectedErrorTypes; + /// + /// The percentage of failed requests in the sample where failover should trigger. + /// + public readonly int? ResponseBasedFailoverThresholdPercentage; + + [OutputConstructor] + private ResponseBasedOriginErrorDetectionParametersResponse( + ImmutableArray httpErrorRanges, + + string? responseBasedDetectedErrorTypes, + + int? responseBasedFailoverThresholdPercentage) + { + HttpErrorRanges = httpErrorRanges; + ResponseBasedDetectedErrorTypes = responseBasedDetectedErrorTypes; + ResponseBasedFailoverThresholdPercentage = responseBasedFailoverThresholdPercentage; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/RouteConfigurationOverrideActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RouteConfigurationOverrideActionParametersResponse.cs new file mode 100644 index 000000000000..16c71ea0229f --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/RouteConfigurationOverrideActionParametersResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the route configuration override action. + /// + [OutputType] + public sealed class RouteConfigurationOverrideActionParametersResponse + { + /// + /// The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + /// + public readonly Outputs.CacheConfigurationResponse? CacheConfiguration; + /// + /// A reference to the origin group override configuration. Leave empty to use the default origin group on route. + /// + public readonly Outputs.OriginGroupOverrideResponse? OriginGroupOverride; + public readonly string TypeName; + + [OutputConstructor] + private RouteConfigurationOverrideActionParametersResponse( + Outputs.CacheConfigurationResponse? cacheConfiguration, + + Outputs.OriginGroupOverrideResponse? originGroupOverride, + + string typeName) + { + CacheConfiguration = cacheConfiguration; + OriginGroupOverride = originGroupOverride; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SecurityPolicyWebApplicationFirewallAssociationResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SecurityPolicyWebApplicationFirewallAssociationResponse.cs new file mode 100644 index 000000000000..9ced99f05e93 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SecurityPolicyWebApplicationFirewallAssociationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// settings for security policy patterns to match + /// + [OutputType] + public sealed class SecurityPolicyWebApplicationFirewallAssociationResponse + { + /// + /// List of domains. + /// + public readonly ImmutableArray Domains; + /// + /// List of paths + /// + public readonly ImmutableArray PatternsToMatch; + + [OutputConstructor] + private SecurityPolicyWebApplicationFirewallAssociationResponse( + ImmutableArray domains, + + ImmutableArray patternsToMatch) + { + Domains = domains; + PatternsToMatch = patternsToMatch; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SecurityPolicyWebApplicationFirewallParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SecurityPolicyWebApplicationFirewallParametersResponse.cs new file mode 100644 index 000000000000..9d7f82a96c89 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SecurityPolicyWebApplicationFirewallParametersResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// The json object containing security policy waf parameters + /// + [OutputType] + public sealed class SecurityPolicyWebApplicationFirewallParametersResponse + { + /// + /// Waf associations + /// + public readonly ImmutableArray Associations; + /// + /// The type of the Security policy to create. + /// Expected value is 'WebApplicationFirewall'. + /// + public readonly string Type; + /// + /// Resource ID. + /// + public readonly Outputs.ResourceReferenceResponse? WafPolicy; + + [OutputConstructor] + private SecurityPolicyWebApplicationFirewallParametersResponse( + ImmutableArray associations, + + string type, + + Outputs.ResourceReferenceResponse? wafPolicy) + { + Associations = associations; + Type = type; + WafPolicy = wafPolicy; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/ServerPortMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ServerPortMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..4f3f09e18106 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/ServerPortMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for ServerPort match conditions + /// + [OutputType] + public sealed class ServerPortMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private ServerPortMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SharedPrivateLinkResourcePropertiesResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SharedPrivateLinkResourcePropertiesResponse.cs new file mode 100644 index 000000000000..70bb9ce30b04 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SharedPrivateLinkResourcePropertiesResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. + /// + [OutputType] + public sealed class SharedPrivateLinkResourcePropertiesResponse + { + /// + /// The group id from the provider of resource the shared private link resource is for. + /// + public readonly string? GroupId; + /// + /// The resource id of the resource the shared private link resource is for. + /// + public readonly Outputs.ResourceReferenceResponse? PrivateLink; + /// + /// The location of the shared private link resource + /// + public readonly string? PrivateLinkLocation; + /// + /// The request message for requesting approval of the shared private link resource. + /// + public readonly string? RequestMessage; + /// + /// Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + /// + public readonly string? Status; + + [OutputConstructor] + private SharedPrivateLinkResourcePropertiesResponse( + string? groupId, + + Outputs.ResourceReferenceResponse? privateLink, + + string? privateLinkLocation, + + string? requestMessage, + + string? status) + { + GroupId = groupId; + PrivateLink = privateLink; + PrivateLinkLocation = privateLinkLocation; + RequestMessage = requestMessage; + Status = status; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SkuResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..ea90443ac489 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SkuResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + /// Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + /// Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + /// Standard_Akamai = The SKU name for an Akamai CDN profile. + /// Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + /// Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + /// Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + /// Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + /// Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + /// Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + /// StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + /// StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + /// StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. + /// + [OutputType] + public sealed class SkuResponse + { + /// + /// Name of the pricing tier. + /// + public readonly string? Name; + + [OutputConstructor] + private SkuResponse(string? name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SocketAddrMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SocketAddrMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..cbf73f0e9d11 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SocketAddrMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for SocketAddress match conditions + /// + [OutputType] + public sealed class SocketAddrMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private SocketAddrMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SslProtocolMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SslProtocolMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..63fefe788954 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SslProtocolMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for SslProtocol match conditions + /// + [OutputType] + public sealed class SslProtocolMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private SslProtocolMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..6459fce26ab6 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Read only system data + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC) + /// + public readonly string? CreatedAt; + /// + /// An identifier for the identity that created the resource + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// An identifier for the identity that last modified the resource + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlFileExtensionMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlFileExtensionMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..80109ed6c6cf --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlFileExtensionMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for UrlFileExtension match conditions + /// + [OutputType] + public sealed class UrlFileExtensionMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private UrlFileExtensionMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlFileNameMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlFileNameMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..e7a8c7acf926 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlFileNameMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for UrlFilename match conditions + /// + [OutputType] + public sealed class UrlFileNameMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private UrlFileNameMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlPathMatchConditionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlPathMatchConditionParametersResponse.cs new file mode 100644 index 000000000000..368333cb5bce --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlPathMatchConditionParametersResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for UrlPath match conditions + /// + [OutputType] + public sealed class UrlPathMatchConditionParametersResponse + { + /// + /// The match value for the condition of the delivery rule + /// + public readonly ImmutableArray MatchValues; + /// + /// Describes if this is negate condition or not + /// + public readonly bool? NegateCondition; + /// + /// Describes operator to be matched + /// + public readonly string Operator; + /// + /// List of transforms + /// + public readonly ImmutableArray Transforms; + public readonly string TypeName; + + [OutputConstructor] + private UrlPathMatchConditionParametersResponse( + ImmutableArray matchValues, + + bool? negateCondition, + + string @operator, + + ImmutableArray transforms, + + string typeName) + { + MatchValues = matchValues; + NegateCondition = negateCondition; + Operator = @operator; + Transforms = transforms; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRedirectActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRedirectActionParametersResponse.cs new file mode 100644 index 000000000000..6de87b893004 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRedirectActionParametersResponse.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the url redirect action. + /// + [OutputType] + public sealed class UrlRedirectActionParametersResponse + { + /// + /// Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + /// + public readonly string? CustomFragment; + /// + /// Host to redirect. Leave empty to use the incoming host as the destination host. + /// + public readonly string? CustomHostname; + /// + /// The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + /// + public readonly string? CustomPath; + /// + /// The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them. + /// + public readonly string? CustomQueryString; + /// + /// Protocol to use for the redirect. The default value is MatchRequest + /// + public readonly string? DestinationProtocol; + /// + /// The redirect type the rule will use when redirecting traffic. + /// + public readonly string RedirectType; + public readonly string TypeName; + + [OutputConstructor] + private UrlRedirectActionParametersResponse( + string? customFragment, + + string? customHostname, + + string? customPath, + + string? customQueryString, + + string? destinationProtocol, + + string redirectType, + + string typeName) + { + CustomFragment = customFragment; + CustomHostname = customHostname; + CustomPath = customPath; + CustomQueryString = customQueryString; + DestinationProtocol = destinationProtocol; + RedirectType = redirectType; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRedirectActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRedirectActionResponse.cs new file mode 100644 index 000000000000..df1ad34fc5d2 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRedirectActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the url redirect action for the delivery rule. + /// + [OutputType] + public sealed class UrlRedirectActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'UrlRedirect'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.UrlRedirectActionParametersResponse Parameters; + + [OutputConstructor] + private UrlRedirectActionResponse( + string name, + + Outputs.UrlRedirectActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRewriteActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRewriteActionParametersResponse.cs new file mode 100644 index 000000000000..1da6daac9d4b --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRewriteActionParametersResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the url rewrite action. + /// + [OutputType] + public sealed class UrlRewriteActionParametersResponse + { + /// + /// Define the relative URL to which the above requests will be rewritten by. + /// + public readonly string Destination; + /// + /// Whether to preserve unmatched path. Default value is true. + /// + public readonly bool? PreserveUnmatchedPath; + /// + /// define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + /// + public readonly string SourcePattern; + public readonly string TypeName; + + [OutputConstructor] + private UrlRewriteActionParametersResponse( + string destination, + + bool? preserveUnmatchedPath, + + string sourcePattern, + + string typeName) + { + Destination = destination; + PreserveUnmatchedPath = preserveUnmatchedPath; + SourcePattern = sourcePattern; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRewriteActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRewriteActionResponse.cs new file mode 100644 index 000000000000..4fa27e3d5e60 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlRewriteActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the url rewrite action for the delivery rule. + /// + [OutputType] + public sealed class UrlRewriteActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'UrlRewrite'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.UrlRewriteActionParametersResponse Parameters; + + [OutputConstructor] + private UrlRewriteActionResponse( + string name, + + Outputs.UrlRewriteActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningActionParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningActionParametersResponse.cs new file mode 100644 index 000000000000..7a02348a4bb4 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningActionParametersResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the parameters for the Url Signing action. + /// + [OutputType] + public sealed class UrlSigningActionParametersResponse + { + /// + /// Algorithm to use for URL signing + /// + public readonly string? Algorithm; + /// + /// Defines which query string parameters in the url to be considered for expires, key id etc. + /// + public readonly ImmutableArray ParameterNameOverride; + public readonly string TypeName; + + [OutputConstructor] + private UrlSigningActionParametersResponse( + string? algorithm, + + ImmutableArray parameterNameOverride, + + string typeName) + { + Algorithm = algorithm; + ParameterNameOverride = parameterNameOverride; + TypeName = typeName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningActionResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningActionResponse.cs new file mode 100644 index 000000000000..2eb54f09c5d0 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningActionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the url signing action for the delivery rule. + /// + [OutputType] + public sealed class UrlSigningActionResponse + { + /// + /// The name of the action for the delivery rule. + /// Expected value is 'UrlSigning'. + /// + public readonly string Name; + /// + /// Defines the parameters for the action. + /// + public readonly Outputs.UrlSigningActionParametersResponse Parameters; + + [OutputConstructor] + private UrlSigningActionResponse( + string name, + + Outputs.UrlSigningActionParametersResponse parameters) + { + Name = name; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningKeyParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningKeyParametersResponse.cs new file mode 100644 index 000000000000..dbb87268deb3 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningKeyParametersResponse.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Url signing key parameters + /// + [OutputType] + public sealed class UrlSigningKeyParametersResponse + { + /// + /// Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + /// + public readonly string KeyId; + /// + /// Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + /// + public readonly Outputs.ResourceReferenceResponse SecretSource; + /// + /// Version of the secret to be used + /// + public readonly string? SecretVersion; + /// + /// The type of the secret resource. + /// Expected value is 'UrlSigningKey'. + /// + public readonly string Type; + + [OutputConstructor] + private UrlSigningKeyParametersResponse( + string keyId, + + Outputs.ResourceReferenceResponse secretSource, + + string? secretVersion, + + string type) + { + KeyId = keyId; + SecretSource = secretSource; + SecretVersion = secretVersion; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningKeyResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningKeyResponse.cs new file mode 100644 index 000000000000..4b84b7146350 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningKeyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Url signing key + /// + [OutputType] + public sealed class UrlSigningKeyResponse + { + /// + /// Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + /// + public readonly string KeyId; + /// + /// Defines the parameters for using customer key vault for Url Signing Key. + /// + public readonly Outputs.KeyVaultSigningKeyParametersResponse KeySourceParameters; + + [OutputConstructor] + private UrlSigningKeyResponse( + string keyId, + + Outputs.KeyVaultSigningKeyParametersResponse keySourceParameters) + { + KeyId = keyId; + KeySourceParameters = keySourceParameters; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningParamIdentifierResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningParamIdentifierResponse.cs new file mode 100644 index 000000000000..69874fb4e1bd --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UrlSigningParamIdentifierResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines how to identify a parameter for a specific purpose e.g. expires + /// + [OutputType] + public sealed class UrlSigningParamIdentifierResponse + { + /// + /// Indicates the purpose of the parameter + /// + public readonly string ParamIndicator; + /// + /// Parameter name + /// + public readonly string ParamName; + + [OutputConstructor] + private UrlSigningParamIdentifierResponse( + string paramIndicator, + + string paramName) + { + ParamIndicator = paramIndicator; + ParamName = paramName; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..e5aafd682237 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Outputs/UserManagedHttpsParametersResponse.cs b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UserManagedHttpsParametersResponse.cs new file mode 100644 index 000000000000..93b16670278e --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Outputs/UserManagedHttpsParametersResponse.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview.Outputs +{ + + /// + /// Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + /// + [OutputType] + public sealed class UserManagedHttpsParametersResponse + { + /// + /// Defines the source of the SSL certificate. + /// Expected value is 'AzureKeyVault'. + /// + public readonly string CertificateSource; + /// + /// Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + /// + public readonly Outputs.KeyVaultCertificateSourceParametersResponse CertificateSourceParameters; + /// + /// TLS protocol version that will be used for Https + /// + public readonly string? MinimumTlsVersion; + /// + /// Defines the TLS extension protocol that is used for secure delivery. + /// + public readonly string ProtocolType; + + [OutputConstructor] + private UserManagedHttpsParametersResponse( + string certificateSource, + + Outputs.KeyVaultCertificateSourceParametersResponse certificateSourceParameters, + + string? minimumTlsVersion, + + string protocolType) + { + CertificateSource = certificateSource; + CertificateSourceParameters = certificateSourceParameters; + MinimumTlsVersion = minimumTlsVersion; + ProtocolType = protocolType; + } + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Policy.cs b/sdk/dotnet/Cdn/V20230701Preview/Policy.cs new file mode 100644 index 000000000000..347a09beb07f --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Policy.cs @@ -0,0 +1,240 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Defines web application firewall policy for Azure CDN. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Policy")] + public partial class Policy : global::Pulumi.CustomResource + { + /// + /// Describes custom rules inside the policy. + /// + [Output("customRules")] + public Output CustomRules { get; private set; } = null!; + + /// + /// Describes Azure CDN endpoints associated with this Web Application Firewall policy. + /// + [Output("endpointLinks")] + public Output> EndpointLinks { get; private set; } = null!; + + /// + /// Gets a unique read-only string that changes whenever the resource is updated. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Key-Value pair representing additional properties for Web Application Firewall policy. + /// + [Output("extendedProperties")] + public Output?> ExtendedProperties { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Describes managed rules inside the policy. + /// + [Output("managedRules")] + public Output ManagedRules { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Describes policySettings for policy + /// + [Output("policySettings")] + public Output PolicySettings { get; private set; } = null!; + + /// + /// Provisioning state of the WebApplicationFirewallPolicy. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Describes rate limit rules inside the policy. + /// + [Output("rateLimitRules")] + public Output RateLimitRules { get; private set; } = null!; + + [Output("resourceState")] + public Output ResourceState { get; private set; } = null!; + + /// + /// The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Policy 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 Policy(string name, PolicyArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Policy", name, args ?? new PolicyArgs(), MakeResourceOptions(options, "")) + { + } + + private Policy(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Policy", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615preview:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200331:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200415:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Policy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Policy"}, + }, + }; + 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 Policy 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. + /// A bag of options that control this resource's behavior + public static Policy Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Policy(name, id, options); + } + } + + public sealed class PolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes custom rules inside the policy. + /// + [Input("customRules")] + public Input? CustomRules { get; set; } + + [Input("extendedProperties")] + private InputMap? _extendedProperties; + + /// + /// Key-Value pair representing additional properties for Web Application Firewall policy. + /// + public InputMap ExtendedProperties + { + get => _extendedProperties ?? (_extendedProperties = new InputMap()); + set => _extendedProperties = value; + } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Describes managed rules inside the policy. + /// + [Input("managedRules")] + public Input? ManagedRules { get; set; } + + /// + /// The name of the CdnWebApplicationFirewallPolicy. + /// + [Input("policyName")] + public Input? PolicyName { get; set; } + + /// + /// Describes policySettings for policy + /// + [Input("policySettings")] + public Input? PolicySettings { get; set; } + + /// + /// Describes rate limit rules inside the policy. + /// + [Input("rateLimitRules")] + public Input? RateLimitRules { get; set; } + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public PolicyArgs() + { + } + public static new PolicyArgs Empty => new PolicyArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Profile.cs b/sdk/dotnet/Cdn/V20230701Preview/Profile.cs new file mode 100644 index 000000000000..ecf3a99087e0 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Profile.cs @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// A profile is a logical grouping of endpoints that share the same settings. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Profile")] + public partial class Profile : global::Pulumi.CustomResource + { + /// + /// Key-Value pair representing additional properties for profiles. + /// + [Output("extendedProperties")] + public Output> ExtendedProperties { get; private set; } = null!; + + /// + /// The Id of the frontdoor. + /// + [Output("frontDoorId")] + public Output FrontDoorId { get; private set; } = null!; + + /// + /// Managed service identity (system assigned and/or user assigned identities). + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + /// + [Output("originResponseTimeoutSeconds")] + public Output OriginResponseTimeoutSeconds { get; private set; } = null!; + + /// + /// Provisioning status of the profile. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Resource status of the profile. + /// + [Output("resourceState")] + public Output ResourceState { get; private set; } = null!; + + /// + /// The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Profile 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 Profile(string name, ProfileArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Profile", name, args ?? new ProfileArgs(), MakeResourceOptions(options, "")) + { + } + + private Profile(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Profile", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20150601:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20160402:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20161002:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20170402:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20171012:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190415:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20190615preview:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20191231:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200331:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200415:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Profile"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Profile"}, + }, + }; + 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 Profile 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. + /// A bag of options that control this resource's behavior + public static Profile Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Profile(name, id, options); + } + } + + public sealed class ProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Managed service identity (system assigned and/or user assigned identities). + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + /// + [Input("originResponseTimeoutSeconds")] + public Input? OriginResponseTimeoutSeconds { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + /// + [Input("profileName")] + public Input? ProfileName { get; set; } + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ProfileArgs() + { + } + public static new ProfileArgs Empty => new ProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerRegistry/V20160627Preview/README.md b/sdk/dotnet/Cdn/V20230701Preview/README.md similarity index 100% rename from sdk/dotnet/ContainerRegistry/V20160627Preview/README.md rename to sdk/dotnet/Cdn/V20230701Preview/README.md diff --git a/sdk/dotnet/Cdn/V20230701Preview/Route.cs b/sdk/dotnet/Cdn/V20230701Preview/Route.cs new file mode 100644 index 000000000000..44d5af570d10 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Route.cs @@ -0,0 +1,293 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Friendly Routes name mapping to the any Routes or secret related information. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Route")] + public partial class Route : global::Pulumi.CustomResource + { + /// + /// The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + /// + [Output("cacheConfiguration")] + public Output CacheConfiguration { get; private set; } = null!; + + /// + /// Domains referenced by this endpoint. + /// + [Output("customDomains")] + public Output> CustomDomains { get; private set; } = null!; + + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + [Output("enabledState")] + public Output EnabledState { get; private set; } = null!; + + /// + /// The name of the endpoint which holds the route. + /// + [Output("endpointName")] + public Output EndpointName { get; private set; } = null!; + + /// + /// Protocol this rule will use when forwarding traffic to backends. + /// + [Output("forwardingProtocol")] + public Output ForwardingProtocol { get; private set; } = null!; + + /// + /// Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + /// + [Output("httpsRedirect")] + public Output HttpsRedirect { get; private set; } = null!; + + /// + /// whether this route will be linked to the default endpoint domain. + /// + [Output("linkToDefaultDomain")] + public Output LinkToDefaultDomain { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// A reference to the origin group. + /// + [Output("originGroup")] + public Output OriginGroup { get; private set; } = null!; + + /// + /// A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + /// + [Output("originPath")] + public Output OriginPath { get; private set; } = null!; + + /// + /// The route patterns of the rule. + /// + [Output("patternsToMatch")] + public Output> PatternsToMatch { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// rule sets referenced by this endpoint. + /// + [Output("ruleSets")] + public Output> RuleSets { get; private set; } = null!; + + /// + /// List of supported protocols for this route. + /// + [Output("supportedProtocols")] + public Output> SupportedProtocols { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Route 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 Route(string name, RouteArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Route", name, args ?? new RouteArgs(), MakeResourceOptions(options, "")) + { + } + + private Route(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Route", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Route"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Route"}, + }, + }; + 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 Route 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. + /// A bag of options that control this resource's behavior + public static Route Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Route(name, id, options); + } + } + + public sealed class RouteArgs : global::Pulumi.ResourceArgs + { + /// + /// The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + /// + [Input("cacheConfiguration")] + public Input? CacheConfiguration { get; set; } + + [Input("customDomains")] + private InputList? _customDomains; + + /// + /// Domains referenced by this endpoint. + /// + public InputList CustomDomains + { + get => _customDomains ?? (_customDomains = new InputList()); + set => _customDomains = value; + } + + /// + /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + /// + [Input("enabledState")] + public InputUnion? EnabledState { get; set; } + + /// + /// Name of the endpoint under the profile which is unique globally. + /// + [Input("endpointName", required: true)] + public Input EndpointName { get; set; } = null!; + + /// + /// Protocol this rule will use when forwarding traffic to backends. + /// + [Input("forwardingProtocol")] + public InputUnion? ForwardingProtocol { get; set; } + + /// + /// Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + /// + [Input("httpsRedirect")] + public InputUnion? HttpsRedirect { get; set; } + + /// + /// whether this route will be linked to the default endpoint domain. + /// + [Input("linkToDefaultDomain")] + public InputUnion? LinkToDefaultDomain { get; set; } + + /// + /// A reference to the origin group. + /// + [Input("originGroup", required: true)] + public Input OriginGroup { get; set; } = null!; + + /// + /// A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + /// + [Input("originPath")] + public Input? OriginPath { get; set; } + + [Input("patternsToMatch")] + private InputList? _patternsToMatch; + + /// + /// The route patterns of the rule. + /// + public InputList PatternsToMatch + { + get => _patternsToMatch ?? (_patternsToMatch = new InputList()); + set => _patternsToMatch = value; + } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the routing rule. + /// + [Input("routeName")] + public Input? RouteName { get; set; } + + [Input("ruleSets")] + private InputList? _ruleSets; + + /// + /// rule sets referenced by this endpoint. + /// + public InputList RuleSets + { + get => _ruleSets ?? (_ruleSets = new InputList()); + set => _ruleSets = value; + } + + [Input("supportedProtocols")] + private InputList>? _supportedProtocols; + + /// + /// List of supported protocols for this route. + /// + public InputList> SupportedProtocols + { + get => _supportedProtocols ?? (_supportedProtocols = new InputList>()); + set => _supportedProtocols = value; + } + + public RouteArgs() + { + ForwardingProtocol = "MatchRequest"; + HttpsRedirect = "Disabled"; + LinkToDefaultDomain = "Disabled"; + } + public static new RouteArgs Empty => new RouteArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Rule.cs b/sdk/dotnet/Cdn/V20230701Preview/Rule.cs new file mode 100644 index 000000000000..4d8c42ac4f88 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Rule.cs @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Friendly Rules name mapping to the any Rules or secret related information. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Rule")] + public partial class Rule : global::Pulumi.CustomResource + { + /// + /// A list of actions that are executed when all the conditions of a rule are satisfied. + /// + [Output("actions")] + public Output> Actions { get; private set; } = null!; + + /// + /// A list of conditions that must be matched for the actions to be executed + /// + [Output("conditions")] + public Output> Conditions { get; private set; } = null!; + + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + /// + [Output("matchProcessingBehavior")] + public Output MatchProcessingBehavior { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + /// + [Output("order")] + public Output Order { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The name of the rule set containing the rule. + /// + [Output("ruleSetName")] + public Output RuleSetName { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Rule 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 Rule(string name, RuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Rule", name, args ?? new RuleArgs(), MakeResourceOptions(options, "")) + { + } + + private Rule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Rule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Rule"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Rule"}, + }, + }; + 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 Rule 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. + /// A bag of options that control this resource's behavior + public static Rule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Rule(name, id, options); + } + } + + public sealed class RuleArgs : global::Pulumi.ResourceArgs + { + [Input("actions", required: true)] + private InputList? _actions; + + /// + /// A list of actions that are executed when all the conditions of a rule are satisfied. + /// + public InputList Actions + { + get => _actions ?? (_actions = new InputList()); + set => _actions = value; + } + + [Input("conditions")] + private InputList? _conditions; + + /// + /// A list of conditions that must be matched for the actions to be executed + /// + public InputList Conditions + { + get => _conditions ?? (_conditions = new InputList()); + set => _conditions = value; + } + + /// + /// If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + /// + [Input("matchProcessingBehavior")] + public InputUnion? MatchProcessingBehavior { get; set; } + + /// + /// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + /// + [Input("order", required: true)] + public Input Order { get; set; } = null!; + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the delivery rule which is unique within the endpoint. + /// + [Input("ruleName")] + public Input? RuleName { get; set; } + + /// + /// Name of the rule set under the profile. + /// + [Input("ruleSetName", required: true)] + public Input RuleSetName { get; set; } = null!; + + public RuleArgs() + { + MatchProcessingBehavior = "Continue"; + } + public static new RuleArgs Empty => new RuleArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/RuleSet.cs b/sdk/dotnet/Cdn/V20230701Preview/RuleSet.cs new file mode 100644 index 000000000000..545c3ad6b878 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/RuleSet.cs @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Friendly RuleSet name mapping to the any RuleSet or secret related information. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:RuleSet")] + public partial class RuleSet : global::Pulumi.CustomResource + { + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name of the profile which holds the rule set. + /// + [Output("profileName")] + public Output ProfileName { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a RuleSet 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 RuleSet(string name, RuleSetArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:RuleSet", name, args ?? new RuleSetArgs(), MakeResourceOptions(options, "")) + { + } + + private RuleSet(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:RuleSet", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:RuleSet"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:RuleSet"}, + }, + }; + 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 RuleSet 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. + /// A bag of options that control this resource's behavior + public static RuleSet Get(string name, Input id, CustomResourceOptions? options = null) + { + return new RuleSet(name, id, options); + } + } + + public sealed class RuleSetArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the rule set under the profile which is unique globally + /// + [Input("ruleSetName")] + public Input? RuleSetName { get; set; } + + public RuleSetArgs() + { + } + public static new RuleSetArgs Empty => new RuleSetArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/Secret.cs b/sdk/dotnet/Cdn/V20230701Preview/Secret.cs new file mode 100644 index 000000000000..35e9db35899c --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/Secret.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// Friendly Secret name mapping to the any Secret or secret related information. + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:Secret")] + public partial class Secret : global::Pulumi.CustomResource + { + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// object which contains secret parameters + /// + [Output("parameters")] + public Output Parameters { get; private set; } = null!; + + /// + /// The name of the profile which holds the secret. + /// + [Output("profileName")] + public Output ProfileName { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Secret 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 Secret(string name, SecretArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Secret", name, args ?? new SecretArgs(), MakeResourceOptions(options, "")) + { + } + + private Secret(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:Secret", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:Secret"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:Secret"}, + }, + }; + 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 Secret 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. + /// A bag of options that control this resource's behavior + public static Secret Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Secret(name, id, options); + } + } + + public sealed class SecretArgs : global::Pulumi.ResourceArgs + { + /// + /// object which contains secret parameters + /// + [Input("parameters")] + public object? Parameters { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the Secret under the profile. + /// + [Input("secretName")] + public Input? SecretName { get; set; } + + public SecretArgs() + { + } + public static new SecretArgs Empty => new SecretArgs(); + } +} diff --git a/sdk/dotnet/Cdn/V20230701Preview/SecurityPolicy.cs b/sdk/dotnet/Cdn/V20230701Preview/SecurityPolicy.cs new file mode 100644 index 000000000000..158164d17f09 --- /dev/null +++ b/sdk/dotnet/Cdn/V20230701Preview/SecurityPolicy.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Cdn.V20230701Preview +{ + /// + /// SecurityPolicy association for AzureFrontDoor profile + /// + [AzureNativeResourceType("azure-native:cdn/v20230701preview:SecurityPolicy")] + public partial class SecurityPolicy : global::Pulumi.CustomResource + { + [Output("deploymentStatus")] + public Output DeploymentStatus { get; private set; } = null!; + + /// + /// Resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// object which contains security policy parameters + /// + [Output("parameters")] + public Output Parameters { get; private set; } = null!; + + /// + /// The name of the profile which holds the security policy. + /// + [Output("profileName")] + public Output ProfileName { get; private set; } = null!; + + /// + /// Provisioning status + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Read only system data + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SecurityPolicy 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 SecurityPolicy(string name, SecurityPolicyArgs args, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:SecurityPolicy", name, args ?? new SecurityPolicyArgs(), MakeResourceOptions(options, "")) + { + } + + private SecurityPolicy(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:cdn/v20230701preview:SecurityPolicy", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:cdn:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20200901:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20210601:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20220501preview:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20221101preview:SecurityPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:cdn/v20230501:SecurityPolicy"}, + }, + }; + 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 SecurityPolicy 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. + /// A bag of options that control this resource's behavior + public static SecurityPolicy Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SecurityPolicy(name, id, options); + } + } + + public sealed class SecurityPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// object which contains security policy parameters + /// + [Input("parameters")] + public Input? Parameters { get; set; } + + /// + /// Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + /// + [Input("profileName", required: true)] + public Input ProfileName { get; set; } = null!; + + /// + /// Name of the Resource group within the Azure subscription. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the security policy under the profile. + /// + [Input("securityPolicyName")] + public Input? SecurityPolicyName { get; set; } + + public SecurityPolicyArgs() + { + } + public static new SecurityPolicyArgs Empty => new SecurityPolicyArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/Ledger.cs b/sdk/dotnet/ConfidentialLedger/Ledger.cs index 6aac1ed4b337..ecca497ad65a 100644 --- a/sdk/dotnet/ConfidentialLedger/Ledger.cs +++ b/sdk/dotnet/ConfidentialLedger/Ledger.cs @@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220513:Ledger"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:Ledger"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230126preview:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230628preview:Ledger"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConfidentialLedger/ManagedCCF.cs b/sdk/dotnet/ConfidentialLedger/ManagedCCF.cs index 537f2093eff7..f52ec4639184 100644 --- a/sdk/dotnet/ConfidentialLedger/ManagedCCF.cs +++ b/sdk/dotnet/ConfidentialLedger/ManagedCCF.cs @@ -79,6 +79,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:ManagedCCF"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230126preview:ManagedCCF"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230628preview:ManagedCCF"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConfidentialLedger/V20220513/Ledger.cs b/sdk/dotnet/ConfidentialLedger/V20220513/Ledger.cs index 47ea4082822f..9cd4736b2fad 100644 --- a/sdk/dotnet/ConfidentialLedger/V20220513/Ledger.cs +++ b/sdk/dotnet/ConfidentialLedger/V20220513/Ledger.cs @@ -81,6 +81,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20210513preview:Ledger"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:Ledger"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230126preview:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230628preview:Ledger"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConfidentialLedger/V20230126Preview/Ledger.cs b/sdk/dotnet/ConfidentialLedger/V20230126Preview/Ledger.cs index 4871806d239e..22b4cbd94ac1 100644 --- a/sdk/dotnet/ConfidentialLedger/V20230126Preview/Ledger.cs +++ b/sdk/dotnet/ConfidentialLedger/V20230126Preview/Ledger.cs @@ -81,6 +81,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20210513preview:Ledger"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220513:Ledger"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230628preview:Ledger"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConfidentialLedger/V20230126Preview/ManagedCCF.cs b/sdk/dotnet/ConfidentialLedger/V20230126Preview/ManagedCCF.cs index d3d9a05f5830..7f9d65060f27 100644 --- a/sdk/dotnet/ConfidentialLedger/V20230126Preview/ManagedCCF.cs +++ b/sdk/dotnet/ConfidentialLedger/V20230126Preview/ManagedCCF.cs @@ -78,6 +78,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:confidentialledger:ManagedCCF"}, new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:ManagedCCF"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230628preview:ManagedCCF"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Enums.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Enums.cs new file mode 100644 index 000000000000..e9b6da8d7815 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Enums.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.ConfidentialLedger.V20230628Preview +{ + /// + /// Unique name for the Managed CCF. + /// + [EnumType] + public readonly struct LanguageRuntime : IEquatable + { + private readonly string _value; + + private LanguageRuntime(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LanguageRuntime CPP { get; } = new LanguageRuntime("CPP"); + public static LanguageRuntime JS { get; } = new LanguageRuntime("JS"); + + public static bool operator ==(LanguageRuntime left, LanguageRuntime right) => left.Equals(right); + public static bool operator !=(LanguageRuntime left, LanguageRuntime right) => !left.Equals(right); + + public static explicit operator string(LanguageRuntime value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LanguageRuntime other && Equals(other); + public bool Equals(LanguageRuntime other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// LedgerRole associated with the Security Principal of Ledger + /// + [EnumType] + public readonly struct LedgerRoleName : IEquatable + { + private readonly string _value; + + private LedgerRoleName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LedgerRoleName Reader { get; } = new LedgerRoleName("Reader"); + public static LedgerRoleName Contributor { get; } = new LedgerRoleName("Contributor"); + public static LedgerRoleName Administrator { get; } = new LedgerRoleName("Administrator"); + + public static bool operator ==(LedgerRoleName left, LedgerRoleName right) => left.Equals(right); + public static bool operator !=(LedgerRoleName left, LedgerRoleName right) => !left.Equals(right); + + public static explicit operator string(LedgerRoleName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LedgerRoleName other && Equals(other); + public bool Equals(LedgerRoleName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of Confidential Ledger + /// + [EnumType] + public readonly struct LedgerType : IEquatable + { + private readonly string _value; + + private LedgerType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LedgerType Unknown { get; } = new LedgerType("Unknown"); + public static LedgerType Public { get; } = new LedgerType("Public"); + public static LedgerType Private { get; } = new LedgerType("Private"); + + public static bool operator ==(LedgerType left, LedgerType right) => left.Equals(right); + public static bool operator !=(LedgerType left, LedgerType right) => !left.Equals(right); + + public static explicit operator string(LedgerType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LedgerType other && Equals(other); + public bool Equals(LedgerType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Object representing RunningState for Managed CCF. + /// + [EnumType] + public readonly struct RunningState : IEquatable + { + private readonly string _value; + + private RunningState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RunningState Active { get; } = new RunningState("Active"); + public static RunningState Paused { get; } = new RunningState("Paused"); + public static RunningState Unknown { get; } = new RunningState("Unknown"); + public static RunningState Pausing { get; } = new RunningState("Pausing"); + public static RunningState Resuming { get; } = new RunningState("Resuming"); + + public static bool operator ==(RunningState left, RunningState right) => left.Equals(right); + public static bool operator !=(RunningState left, RunningState right) => !left.Equals(right); + + public static explicit operator string(RunningState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RunningState other && Equals(other); + public bool Equals(RunningState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/GetLedger.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/GetLedger.cs new file mode 100644 index 000000000000..85a3efbf8251 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/GetLedger.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview +{ + public static class GetLedger + { + /// + /// Retrieves the properties of a Confidential Ledger. + /// + public static Task InvokeAsync(GetLedgerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:confidentialledger/v20230628preview:getLedger", args ?? new GetLedgerArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of a Confidential Ledger. + /// + public static Output Invoke(GetLedgerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:confidentialledger/v20230628preview:getLedger", args ?? new GetLedgerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetLedgerArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Confidential Ledger + /// + [Input("ledgerName", required: true)] + public string LedgerName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetLedgerArgs() + { + } + public static new GetLedgerArgs Empty => new GetLedgerArgs(); + } + + public sealed class GetLedgerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Confidential Ledger + /// + [Input("ledgerName", required: true)] + public Input LedgerName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetLedgerInvokeArgs() + { + } + public static new GetLedgerInvokeArgs Empty => new GetLedgerInvokeArgs(); + } + + + [OutputType] + public sealed class GetLedgerResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Properties of Confidential Ledger Resource. + /// + public readonly Outputs.LedgerPropertiesResponse Properties; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetLedgerResult( + string id, + + string location, + + string name, + + Outputs.LedgerPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Properties = properties; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/GetManagedCCF.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/GetManagedCCF.cs new file mode 100644 index 000000000000..b87ff253aa72 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/GetManagedCCF.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview +{ + public static class GetManagedCCF + { + /// + /// Retrieves the properties of a Managed CCF app. + /// + public static Task InvokeAsync(GetManagedCCFArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:confidentialledger/v20230628preview:getManagedCCF", args ?? new GetManagedCCFArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of a Managed CCF app. + /// + public static Output Invoke(GetManagedCCFInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:confidentialledger/v20230628preview:getManagedCCF", args ?? new GetManagedCCFInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetManagedCCFArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Managed CCF + /// + [Input("appName", required: true)] + public string AppName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetManagedCCFArgs() + { + } + public static new GetManagedCCFArgs Empty => new GetManagedCCFArgs(); + } + + public sealed class GetManagedCCFInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Managed CCF + /// + [Input("appName", required: true)] + public Input AppName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetManagedCCFInvokeArgs() + { + } + public static new GetManagedCCFInvokeArgs Empty => new GetManagedCCFInvokeArgs(); + } + + + [OutputType] + public sealed class GetManagedCCFResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Properties of Managed CCF Resource. + /// + public readonly Outputs.ManagedCCFPropertiesResponse Properties; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetManagedCCFResult( + string id, + + string location, + + string name, + + Outputs.ManagedCCFPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Properties = properties; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/AADBasedSecurityPrincipalArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/AADBasedSecurityPrincipalArgs.cs new file mode 100644 index 000000000000..a36d74d04465 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/AADBasedSecurityPrincipalArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// AAD based security principal with associated Ledger RoleName + /// + public sealed class AADBasedSecurityPrincipalArgs : global::Pulumi.ResourceArgs + { + /// + /// LedgerRole associated with the Security Principal of Ledger + /// + [Input("ledgerRoleName")] + public InputUnion? LedgerRoleName { get; set; } + + /// + /// UUID/GUID based Principal Id of the Security Principal + /// + [Input("principalId")] + public Input? PrincipalId { get; set; } + + /// + /// UUID/GUID based Tenant Id of the Security Principal + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + public AADBasedSecurityPrincipalArgs() + { + } + public static new AADBasedSecurityPrincipalArgs Empty => new AADBasedSecurityPrincipalArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/CertBasedSecurityPrincipalArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/CertBasedSecurityPrincipalArgs.cs new file mode 100644 index 000000000000..71ca00e24e22 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/CertBasedSecurityPrincipalArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// Cert based security principal with Ledger RoleName + /// + public sealed class CertBasedSecurityPrincipalArgs : global::Pulumi.ResourceArgs + { + /// + /// Public key of the user cert (.pem or .cer) + /// + [Input("cert")] + public Input? Cert { get; set; } + + /// + /// LedgerRole associated with the Security Principal of Ledger + /// + [Input("ledgerRoleName")] + public InputUnion? LedgerRoleName { get; set; } + + public CertBasedSecurityPrincipalArgs() + { + } + public static new CertBasedSecurityPrincipalArgs Empty => new CertBasedSecurityPrincipalArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/CertificateTagsArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/CertificateTagsArgs.cs new file mode 100644 index 000000000000..22d42cf30d32 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/CertificateTagsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// Tags for Managed CCF Certificates + /// + public sealed class CertificateTagsArgs : global::Pulumi.ResourceArgs + { + [Input("tags")] + private InputMap? _tags; + + /// + /// Additional tags for Managed CCF Certificates + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CertificateTagsArgs() + { + } + public static new CertificateTagsArgs Empty => new CertificateTagsArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/DeploymentTypeArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/DeploymentTypeArgs.cs new file mode 100644 index 000000000000..6ec1a599dc8a --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/DeploymentTypeArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// Object representing DeploymentType for Managed CCF. + /// + public sealed class DeploymentTypeArgs : global::Pulumi.ResourceArgs + { + /// + /// Source Uri containing ManagedCCF code + /// + [Input("appSourceUri")] + public Input? AppSourceUri { get; set; } + + /// + /// Unique name for the Managed CCF. + /// + [Input("languageRuntime")] + public InputUnion? LanguageRuntime { get; set; } + + public DeploymentTypeArgs() + { + } + public static new DeploymentTypeArgs Empty => new DeploymentTypeArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/LedgerPropertiesArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/LedgerPropertiesArgs.cs new file mode 100644 index 000000000000..4d1055a1d836 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/LedgerPropertiesArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// Additional Confidential Ledger properties. + /// + public sealed class LedgerPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("aadBasedSecurityPrincipals")] + private InputList? _aadBasedSecurityPrincipals; + + /// + /// Array of all AAD based Security Principals. + /// + public InputList AadBasedSecurityPrincipals + { + get => _aadBasedSecurityPrincipals ?? (_aadBasedSecurityPrincipals = new InputList()); + set => _aadBasedSecurityPrincipals = value; + } + + [Input("certBasedSecurityPrincipals")] + private InputList? _certBasedSecurityPrincipals; + + /// + /// Array of all cert based Security Principals. + /// + public InputList CertBasedSecurityPrincipals + { + get => _certBasedSecurityPrincipals ?? (_certBasedSecurityPrincipals = new InputList()); + set => _certBasedSecurityPrincipals = value; + } + + /// + /// Type of Confidential Ledger + /// + [Input("ledgerType")] + public InputUnion? LedgerType { get; set; } + + /// + /// Object representing RunningState for Ledger. + /// + [Input("runningState")] + public InputUnion? RunningState { get; set; } + + public LedgerPropertiesArgs() + { + } + public static new LedgerPropertiesArgs Empty => new LedgerPropertiesArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/ManagedCCFPropertiesArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/ManagedCCFPropertiesArgs.cs new file mode 100644 index 000000000000..9c282cb28b56 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/ManagedCCFPropertiesArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// Additional Managed CCF properties. + /// + public sealed class ManagedCCFPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Deployment Type of Managed CCF + /// + [Input("deploymentType")] + public Input? DeploymentType { get; set; } + + [Input("memberIdentityCertificates")] + private InputList? _memberIdentityCertificates; + + /// + /// List of member identity certificates for Managed CCF + /// + public InputList MemberIdentityCertificates + { + get => _memberIdentityCertificates ?? (_memberIdentityCertificates = new InputList()); + set => _memberIdentityCertificates = value; + } + + /// + /// Number of CCF nodes in the Managed CCF. + /// + [Input("nodeCount")] + public Input? NodeCount { get; set; } + + /// + /// Object representing RunningState for Managed CCF. + /// + [Input("runningState")] + public InputUnion? RunningState { get; set; } + + public ManagedCCFPropertiesArgs() + { + } + public static new ManagedCCFPropertiesArgs Empty => new ManagedCCFPropertiesArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/MemberIdentityCertificateArgs.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/MemberIdentityCertificateArgs.cs new file mode 100644 index 000000000000..4e0239fd2d5f --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Inputs/MemberIdentityCertificateArgs.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Inputs +{ + + /// + /// Object representing MemberIdentityCertificate for Managed CCF. + /// + public sealed class MemberIdentityCertificateArgs : global::Pulumi.ResourceArgs + { + /// + /// Member Identity Certificate + /// + [Input("certificate")] + public Input? Certificate { get; set; } + + /// + /// Member Identity Certificate Encryption Key + /// + [Input("encryptionkey")] + public Input? Encryptionkey { get; set; } + + [Input("tags")] + private InputList? _tags; + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + public MemberIdentityCertificateArgs() + { + } + public static new MemberIdentityCertificateArgs Empty => new MemberIdentityCertificateArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Ledger.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Ledger.cs new file mode 100644 index 000000000000..4e2a6c536a9e --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Ledger.cs @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview +{ + /// + /// Confidential Ledger. Contains the properties of Confidential Ledger Resource. + /// + [AzureNativeResourceType("azure-native:confidentialledger/v20230628preview:Ledger")] + public partial class Ledger : global::Pulumi.CustomResource + { + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of Confidential Ledger Resource. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Ledger 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 Ledger(string name, LedgerArgs args, CustomResourceOptions? options = null) + : base("azure-native:confidentialledger/v20230628preview:Ledger", name, args ?? new LedgerArgs(), MakeResourceOptions(options, "")) + { + } + + private Ledger(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:confidentialledger/v20230628preview:Ledger", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:confidentialledger:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20201201preview:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20210513preview:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220513:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:Ledger"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230126preview:Ledger"}, + }, + }; + 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 Ledger 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. + /// A bag of options that control this resource's behavior + public static Ledger Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Ledger(name, id, options); + } + } + + public sealed class LedgerArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Confidential Ledger + /// + [Input("ledgerName")] + public Input? LedgerName { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Properties of Confidential Ledger Resource. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public LedgerArgs() + { + } + public static new LedgerArgs Empty => new LedgerArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/ManagedCCF.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/ManagedCCF.cs new file mode 100644 index 000000000000..bfaad669bee3 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/ManagedCCF.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview +{ + /// + /// Managed CCF. Contains the properties of Managed CCF Resource. + /// + [AzureNativeResourceType("azure-native:confidentialledger/v20230628preview:ManagedCCF")] + public partial class ManagedCCF : global::Pulumi.CustomResource + { + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of Managed CCF Resource. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ManagedCCF 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 ManagedCCF(string name, ManagedCCFArgs args, CustomResourceOptions? options = null) + : base("azure-native:confidentialledger/v20230628preview:ManagedCCF", name, args ?? new ManagedCCFArgs(), MakeResourceOptions(options, "")) + { + } + + private ManagedCCF(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:confidentialledger/v20230628preview:ManagedCCF", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:confidentialledger:ManagedCCF"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20220908preview:ManagedCCF"}, + new global::Pulumi.Alias { Type = "azure-native:confidentialledger/v20230126preview:ManagedCCF"}, + }, + }; + 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 ManagedCCF 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. + /// A bag of options that control this resource's behavior + public static ManagedCCF Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ManagedCCF(name, id, options); + } + } + + public sealed class ManagedCCFArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Managed CCF + /// + [Input("appName")] + public Input? AppName { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Properties of Managed CCF Resource. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ManagedCCFArgs() + { + } + public static new ManagedCCFArgs Empty => new ManagedCCFArgs(); + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/AADBasedSecurityPrincipalResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/AADBasedSecurityPrincipalResponse.cs new file mode 100644 index 000000000000..4cd65879cdae --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/AADBasedSecurityPrincipalResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// AAD based security principal with associated Ledger RoleName + /// + [OutputType] + public sealed class AADBasedSecurityPrincipalResponse + { + /// + /// LedgerRole associated with the Security Principal of Ledger + /// + public readonly string? LedgerRoleName; + /// + /// UUID/GUID based Principal Id of the Security Principal + /// + public readonly string? PrincipalId; + /// + /// UUID/GUID based Tenant Id of the Security Principal + /// + public readonly string? TenantId; + + [OutputConstructor] + private AADBasedSecurityPrincipalResponse( + string? ledgerRoleName, + + string? principalId, + + string? tenantId) + { + LedgerRoleName = ledgerRoleName; + PrincipalId = principalId; + TenantId = tenantId; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/CertBasedSecurityPrincipalResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/CertBasedSecurityPrincipalResponse.cs new file mode 100644 index 000000000000..858d23aef904 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/CertBasedSecurityPrincipalResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Cert based security principal with Ledger RoleName + /// + [OutputType] + public sealed class CertBasedSecurityPrincipalResponse + { + /// + /// Public key of the user cert (.pem or .cer) + /// + public readonly string? Cert; + /// + /// LedgerRole associated with the Security Principal of Ledger + /// + public readonly string? LedgerRoleName; + + [OutputConstructor] + private CertBasedSecurityPrincipalResponse( + string? cert, + + string? ledgerRoleName) + { + Cert = cert; + LedgerRoleName = ledgerRoleName; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/CertificateTagsResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/CertificateTagsResponse.cs new file mode 100644 index 000000000000..dce7dd13547c --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/CertificateTagsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Tags for Managed CCF Certificates + /// + [OutputType] + public sealed class CertificateTagsResponse + { + /// + /// Additional tags for Managed CCF Certificates + /// + public readonly ImmutableDictionary? Tags; + + [OutputConstructor] + private CertificateTagsResponse(ImmutableDictionary? tags) + { + Tags = tags; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/DeploymentTypeResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/DeploymentTypeResponse.cs new file mode 100644 index 000000000000..4b4c2c815da6 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/DeploymentTypeResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Object representing DeploymentType for Managed CCF. + /// + [OutputType] + public sealed class DeploymentTypeResponse + { + /// + /// Source Uri containing ManagedCCF code + /// + public readonly string? AppSourceUri; + /// + /// Unique name for the Managed CCF. + /// + public readonly string? LanguageRuntime; + + [OutputConstructor] + private DeploymentTypeResponse( + string? appSourceUri, + + string? languageRuntime) + { + AppSourceUri = appSourceUri; + LanguageRuntime = languageRuntime; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/LedgerPropertiesResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/LedgerPropertiesResponse.cs new file mode 100644 index 000000000000..55ed9c5cb99c --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/LedgerPropertiesResponse.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Additional Confidential Ledger properties. + /// + [OutputType] + public sealed class LedgerPropertiesResponse + { + /// + /// Array of all AAD based Security Principals. + /// + public readonly ImmutableArray AadBasedSecurityPrincipals; + /// + /// Array of all cert based Security Principals. + /// + public readonly ImmutableArray CertBasedSecurityPrincipals; + /// + /// Endpoint for accessing network identity. + /// + public readonly string IdentityServiceUri; + /// + /// Internal namespace for the Ledger + /// + public readonly string LedgerInternalNamespace; + /// + /// Unique name for the Confidential Ledger. + /// + public readonly string LedgerName; + /// + /// Type of Confidential Ledger + /// + public readonly string? LedgerType; + /// + /// Endpoint for calling Ledger Service. + /// + public readonly string LedgerUri; + /// + /// Provisioning state of Ledger Resource + /// + public readonly string ProvisioningState; + /// + /// Object representing RunningState for Ledger. + /// + public readonly string? RunningState; + + [OutputConstructor] + private LedgerPropertiesResponse( + ImmutableArray aadBasedSecurityPrincipals, + + ImmutableArray certBasedSecurityPrincipals, + + string identityServiceUri, + + string ledgerInternalNamespace, + + string ledgerName, + + string? ledgerType, + + string ledgerUri, + + string provisioningState, + + string? runningState) + { + AadBasedSecurityPrincipals = aadBasedSecurityPrincipals; + CertBasedSecurityPrincipals = certBasedSecurityPrincipals; + IdentityServiceUri = identityServiceUri; + LedgerInternalNamespace = ledgerInternalNamespace; + LedgerName = ledgerName; + LedgerType = ledgerType; + LedgerUri = ledgerUri; + ProvisioningState = provisioningState; + RunningState = runningState; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/ManagedCCFPropertiesResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/ManagedCCFPropertiesResponse.cs new file mode 100644 index 000000000000..8735b4fdda0d --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/ManagedCCFPropertiesResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Additional Managed CCF properties. + /// + [OutputType] + public sealed class ManagedCCFPropertiesResponse + { + /// + /// Unique name for the Managed CCF. + /// + public readonly string AppName; + /// + /// Endpoint for calling Managed CCF Service. + /// + public readonly string AppUri; + /// + /// Deployment Type of Managed CCF + /// + public readonly Outputs.DeploymentTypeResponse? DeploymentType; + /// + /// Endpoint for accessing network identity. + /// + public readonly string IdentityServiceUri; + /// + /// List of member identity certificates for Managed CCF + /// + public readonly ImmutableArray MemberIdentityCertificates; + /// + /// Number of CCF nodes in the Managed CCF. + /// + public readonly int? NodeCount; + /// + /// Provisioning state of Managed CCF Resource + /// + public readonly string ProvisioningState; + /// + /// Object representing RunningState for Managed CCF. + /// + public readonly string? RunningState; + + [OutputConstructor] + private ManagedCCFPropertiesResponse( + string appName, + + string appUri, + + Outputs.DeploymentTypeResponse? deploymentType, + + string identityServiceUri, + + ImmutableArray memberIdentityCertificates, + + int? nodeCount, + + string provisioningState, + + string? runningState) + { + AppName = appName; + AppUri = appUri; + DeploymentType = deploymentType; + IdentityServiceUri = identityServiceUri; + MemberIdentityCertificates = memberIdentityCertificates; + NodeCount = nodeCount; + ProvisioningState = provisioningState; + RunningState = runningState; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/MemberIdentityCertificateResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/MemberIdentityCertificateResponse.cs new file mode 100644 index 000000000000..2f63e914b688 --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/MemberIdentityCertificateResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Object representing MemberIdentityCertificate for Managed CCF. + /// + [OutputType] + public sealed class MemberIdentityCertificateResponse + { + /// + /// Member Identity Certificate + /// + public readonly string? Certificate; + /// + /// Member Identity Certificate Encryption Key + /// + public readonly string? Encryptionkey; + public readonly ImmutableArray Tags; + + [OutputConstructor] + private MemberIdentityCertificateResponse( + string? certificate, + + string? encryptionkey, + + ImmutableArray tags) + { + Certificate = certificate; + Encryptionkey = encryptionkey; + Tags = tags; + } + } +} diff --git a/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..8898f6b1513b --- /dev/null +++ b/sdk/dotnet/ConfidentialLedger/V20230628Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConfidentialLedger.V20230628Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/README.md b/sdk/dotnet/ConfidentialLedger/V20230628Preview/README.md similarity index 100% rename from sdk/dotnet/ContainerRegistry/V20180201Preview/README.md rename to sdk/dotnet/ConfidentialLedger/V20230628Preview/README.md diff --git a/sdk/dotnet/ConnectedVMwarevSphere/Cluster.cs b/sdk/dotnet/ConnectedVMwarevSphere/Cluster.cs index 06bcba0e1b9b..37fed8efcc20 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/Cluster.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/Cluster.cs @@ -147,6 +147,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/Datastore.cs b/sdk/dotnet/ConnectedVMwarevSphere/Datastore.cs index c54eb6b16356..531ae0e5c9f1 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/Datastore.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/Datastore.cs @@ -147,6 +147,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Datastore"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Datastore"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Datastore"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/Host.cs b/sdk/dotnet/ConnectedVMwarevSphere/Host.cs index ba6a1cff9443..fe1c2c45a0e9 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/Host.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/Host.cs @@ -147,6 +147,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Host"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Host"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Host"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/InventoryItem.cs b/sdk/dotnet/ConnectedVMwarevSphere/InventoryItem.cs index 713d4ce18f04..9c2260c90327 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/InventoryItem.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/InventoryItem.cs @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:InventoryItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/ResourcePool.cs b/sdk/dotnet/ConnectedVMwarevSphere/ResourcePool.cs index 94070a4fe77f..7e50995c6646 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/ResourcePool.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/ResourcePool.cs @@ -189,6 +189,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:ResourcePool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Cluster.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Cluster.cs index 088c7831d8dc..a40ba51a1e35 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Cluster.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Cluster.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Datastore.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Datastore.cs index d1b6d4b3bd9a..7e5356c1c7d3 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Datastore.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Datastore.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Datastore"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Datastore"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Datastore"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Host.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Host.cs index 22a8e8b98742..cceafda41f4b 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Host.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/Host.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Host"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Host"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Host"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/InventoryItem.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/InventoryItem.cs index 8986a88a13e0..e60dd97f8231 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/InventoryItem.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/InventoryItem.cs @@ -98,6 +98,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:InventoryItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/ResourcePool.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/ResourcePool.cs index df5020e17853..7ce464e4ef92 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/ResourcePool.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/ResourcePool.cs @@ -188,6 +188,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:ResourcePool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VCenter.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VCenter.cs index d48cb3c5a01e..cc600d6c8367 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VCenter.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VCenter.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VCenter"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VCenter"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualMachineTemplate.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualMachineTemplate.cs index 93d3a6440bdf..0d0afc838769 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualMachineTemplate.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualMachineTemplate.cs @@ -202,6 +202,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualNetwork.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualNetwork.cs index 00d814e8dfea..00ada553ab88 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualNetwork.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20220715Preview/VirtualNetwork.cs @@ -134,6 +134,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Cluster.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Cluster.cs index c534117a8c22..b5e1fd2a11f5 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Cluster.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Cluster.cs @@ -170,6 +170,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Datastore.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Datastore.cs index fa91fc08a1fa..dc79715a822c 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Datastore.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Datastore.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Datastore"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Datastore"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Datastore"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Host.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Host.cs index d5733de4a189..d88c01f6e97e 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Host.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/Host.cs @@ -170,6 +170,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Host"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Host"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:Host"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/InventoryItem.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/InventoryItem.cs index 2bd4434147a8..b81466eae106 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/InventoryItem.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/InventoryItem.cs @@ -98,6 +98,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:InventoryItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/ResourcePool.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/ResourcePool.cs index 43a505ea754d..00fe81d9b2aa 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/ResourcePool.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/ResourcePool.cs @@ -212,6 +212,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:ResourcePool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VCenter.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VCenter.cs index b3d35aeff26d..737cfe156eef 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VCenter.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VCenter.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VCenter"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VCenter"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VMInstanceGuestAgent.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VMInstanceGuestAgent.cs index 5b6002b9e953..fee94dda36f3 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VMInstanceGuestAgent.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VMInstanceGuestAgent.cs @@ -113,6 +113,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VMInstanceGuestAgent"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineInstance.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineInstance.cs index 27073aae4d14..dbfadd531556 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineInstance.cs @@ -131,6 +131,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VirtualMachineInstance"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineTemplate.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineTemplate.cs index 576a8a210e0f..72c283f4f79a 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineTemplate.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualMachineTemplate.cs @@ -202,6 +202,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualNetwork.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualNetwork.cs index 555f53359eb0..6c9bf93c2302 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualNetwork.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20230301Preview/VirtualNetwork.cs @@ -134,6 +134,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Cluster.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Cluster.cs new file mode 100644 index 000000000000..4377f63d169f --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Cluster.cs @@ -0,0 +1,262 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the cluster. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:Cluster")] + public partial class Cluster : global::Pulumi.CustomResource + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets the datastore ARM ids. + /// + [Output("datastoreIds")] + public Output> DatastoreIds { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Gets or sets the inventory Item ID for the cluster. + /// + [Output("inventoryItemId")] + public Output InventoryItemId { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the cluster. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets the network ARM ids. + /// + [Output("networkIds")] + public Output> NetworkIds { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets the max CPU usage across all cores on the cluster in MHz. + /// + [Output("totalCpuMHz")] + public Output TotalCpuMHz { get; private set; } = null!; + + /// + /// Gets the total amount of physical memory on the cluster in GB. + /// + [Output("totalMemoryGB")] + public Output TotalMemoryGB { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets the used CPU usage across all cores on the cluster in MHz. + /// + [Output("usedCpuMHz")] + public Output UsedCpuMHz { get; private set; } = null!; + + /// + /// Gets the used physical memory on the cluster in GB. + /// + [Output("usedMemoryGB")] + public Output UsedMemoryGB { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + /// + [Output("vCenterId")] + public Output VCenterId { get; private set; } = null!; + + + /// + /// Create a Cluster 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 Cluster(string name, ClusterArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:Cluster", name, args ?? new ClusterArgs(), MakeResourceOptions(options, "")) + { + } + + private Cluster(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:Cluster", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Cluster"}, + }, + }; + 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 Cluster 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. + /// A bag of options that control this resource's behavior + public static Cluster Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Cluster(name, id, options); + } + } + + public sealed class ClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the cluster. + /// + [Input("clusterName")] + public Input? ClusterName { get; set; } + + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Gets or sets the inventory Item ID for the cluster. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + public ClusterArgs() + { + } + public static new ClusterArgs Empty => new ClusterArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Datastore.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Datastore.cs new file mode 100644 index 000000000000..9fec7482b581 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Datastore.cs @@ -0,0 +1,238 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the datastore. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:Datastore")] + public partial class Datastore : global::Pulumi.CustomResource + { + /// + /// Gets or sets Maximum capacity of this datastore in GBs. + /// + [Output("capacityGB")] + public Output CapacityGB { get; private set; } = null!; + + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Gets or sets Available space of this datastore in GBs. + /// + [Output("freeSpaceGB")] + public Output FreeSpaceGB { get; private set; } = null!; + + /// + /// Gets or sets the inventory Item ID for the datastore. + /// + [Output("inventoryItemId")] + public Output InventoryItemId { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the datastore. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + /// + [Output("vCenterId")] + public Output VCenterId { get; private set; } = null!; + + + /// + /// Create a Datastore 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 Datastore(string name, DatastoreArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:Datastore", name, args ?? new DatastoreArgs(), MakeResourceOptions(options, "")) + { + } + + private Datastore(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:Datastore", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Datastore"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Datastore"}, + }, + }; + 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 Datastore 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. + /// A bag of options that control this resource's behavior + public static Datastore Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Datastore(name, id, options); + } + } + + public sealed class DatastoreArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the datastore. + /// + [Input("datastoreName")] + public Input? DatastoreName { get; set; } + + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Gets or sets the inventory Item ID for the datastore. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + public DatastoreArgs() + { + } + public static new DatastoreArgs Empty => new DatastoreArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Enums.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Enums.cs new file mode 100644 index 000000000000..b48f3e3f65d5 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Enums.cs @@ -0,0 +1,309 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Gets or sets the disk mode. + /// + [EnumType] + public readonly struct DiskMode : IEquatable + { + private readonly string _value; + + private DiskMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DiskMode Persistent { get; } = new DiskMode("persistent"); + public static DiskMode Independent_persistent { get; } = new DiskMode("independent_persistent"); + public static DiskMode Independent_nonpersistent { get; } = new DiskMode("independent_nonpersistent"); + + public static bool operator ==(DiskMode left, DiskMode right) => left.Equals(right); + public static bool operator !=(DiskMode left, DiskMode right) => !left.Equals(right); + + public static explicit operator string(DiskMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DiskMode other && Equals(other); + public bool Equals(DiskMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the disk backing type. + /// + [EnumType] + public readonly struct DiskType : IEquatable + { + private readonly string _value; + + private DiskType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DiskType Flat { get; } = new DiskType("flat"); + public static DiskType Pmem { get; } = new DiskType("pmem"); + public static DiskType Rawphysical { get; } = new DiskType("rawphysical"); + public static DiskType Rawvirtual { get; } = new DiskType("rawvirtual"); + public static DiskType Sparse { get; } = new DiskType("sparse"); + public static DiskType Sesparse { get; } = new DiskType("sesparse"); + public static DiskType Unknown { get; } = new DiskType("unknown"); + + public static bool operator ==(DiskType left, DiskType right) => left.Equals(right); + public static bool operator !=(DiskType left, DiskType right) => !left.Equals(right); + + public static explicit operator string(DiskType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DiskType other && Equals(other); + public bool Equals(DiskType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Firmware type + /// + [EnumType] + public readonly struct FirmwareType : IEquatable + { + private readonly string _value; + + private FirmwareType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static FirmwareType Bios { get; } = new FirmwareType("bios"); + public static FirmwareType Efi { get; } = new FirmwareType("efi"); + + public static bool operator ==(FirmwareType left, FirmwareType right) => left.Equals(right); + public static bool operator !=(FirmwareType left, FirmwareType right) => !left.Equals(right); + + public static explicit operator string(FirmwareType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is FirmwareType other && Equals(other); + public bool Equals(FirmwareType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the nic allocation method. + /// + [EnumType] + public readonly struct IPAddressAllocationMethod : IEquatable + { + private readonly string _value; + + private IPAddressAllocationMethod(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IPAddressAllocationMethod Unset { get; } = new IPAddressAllocationMethod("unset"); + public static IPAddressAllocationMethod @Dynamic { get; } = new IPAddressAllocationMethod("dynamic"); + public static IPAddressAllocationMethod @Static { get; } = new IPAddressAllocationMethod("static"); + public static IPAddressAllocationMethod Linklayer { get; } = new IPAddressAllocationMethod("linklayer"); + public static IPAddressAllocationMethod Random { get; } = new IPAddressAllocationMethod("random"); + public static IPAddressAllocationMethod Other { get; } = new IPAddressAllocationMethod("other"); + + public static bool operator ==(IPAddressAllocationMethod left, IPAddressAllocationMethod right) => left.Equals(right); + public static bool operator !=(IPAddressAllocationMethod left, IPAddressAllocationMethod right) => !left.Equals(right); + + public static explicit operator string(IPAddressAllocationMethod value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IPAddressAllocationMethod other && Equals(other); + public bool Equals(IPAddressAllocationMethod other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// They inventory type. + /// + [EnumType] + public readonly struct InventoryType : IEquatable + { + private readonly string _value; + + private InventoryType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static InventoryType ResourcePool { get; } = new InventoryType("ResourcePool"); + public static InventoryType VirtualMachine { get; } = new InventoryType("VirtualMachine"); + public static InventoryType VirtualMachineTemplate { get; } = new InventoryType("VirtualMachineTemplate"); + public static InventoryType VirtualNetwork { get; } = new InventoryType("VirtualNetwork"); + public static InventoryType Cluster { get; } = new InventoryType("Cluster"); + public static InventoryType Datastore { get; } = new InventoryType("Datastore"); + public static InventoryType Host { get; } = new InventoryType("Host"); + + public static bool operator ==(InventoryType left, InventoryType right) => left.Equals(right); + public static bool operator !=(InventoryType left, InventoryType right) => !left.Equals(right); + + public static explicit operator string(InventoryType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is InventoryType other && Equals(other); + public bool Equals(InventoryType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// NIC type + /// + [EnumType] + public readonly struct NICType : IEquatable + { + private readonly string _value; + + private NICType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static NICType Vmxnet3 { get; } = new NICType("vmxnet3"); + public static NICType Vmxnet2 { get; } = new NICType("vmxnet2"); + public static NICType Vmxnet { get; } = new NICType("vmxnet"); + public static NICType E1000 { get; } = new NICType("e1000"); + public static NICType E1000e { get; } = new NICType("e1000e"); + public static NICType Pcnet32 { get; } = new NICType("pcnet32"); + + public static bool operator ==(NICType left, NICType right) => left.Equals(right); + public static bool operator !=(NICType left, NICType right) => !left.Equals(right); + + public static explicit operator string(NICType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NICType other && Equals(other); + public bool Equals(NICType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the type of the os. + /// + [EnumType] + public readonly struct OsType : IEquatable + { + private readonly string _value; + + private OsType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static OsType Windows { get; } = new OsType("Windows"); + public static OsType Linux { get; } = new OsType("Linux"); + public static OsType Other { get; } = new OsType("Other"); + + public static bool operator ==(OsType left, OsType right) => left.Equals(right); + public static bool operator !=(OsType left, OsType right) => !left.Equals(right); + + public static explicit operator string(OsType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OsType other && Equals(other); + public bool Equals(OsType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the power on boot. + /// + [EnumType] + public readonly struct PowerOnBootOption : IEquatable + { + private readonly string _value; + + private PowerOnBootOption(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PowerOnBootOption Enabled { get; } = new PowerOnBootOption("enabled"); + public static PowerOnBootOption Disabled { get; } = new PowerOnBootOption("disabled"); + + public static bool operator ==(PowerOnBootOption left, PowerOnBootOption right) => left.Equals(right); + public static bool operator !=(PowerOnBootOption left, PowerOnBootOption right) => !left.Equals(right); + + public static explicit operator string(PowerOnBootOption value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PowerOnBootOption other && Equals(other); + public bool Equals(PowerOnBootOption other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the guest agent provisioning action. + /// + [EnumType] + public readonly struct ProvisioningAction : IEquatable + { + private readonly string _value; + + private ProvisioningAction(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ProvisioningAction Install { get; } = new ProvisioningAction("install"); + public static ProvisioningAction Uninstall { get; } = new ProvisioningAction("uninstall"); + public static ProvisioningAction Repair { get; } = new ProvisioningAction("repair"); + + public static bool operator ==(ProvisioningAction left, ProvisioningAction right) => left.Equals(right); + public static bool operator !=(ProvisioningAction left, ProvisioningAction right) => !left.Equals(right); + + public static explicit operator string(ProvisioningAction value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ProvisioningAction other && Equals(other); + public bool Equals(ProvisioningAction other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetCluster.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetCluster.cs new file mode 100644 index 000000000000..df8dd66874fb --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetCluster.cs @@ -0,0 +1,231 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetCluster + { + /// + /// Implements cluster GET method. + /// + public static Task InvokeAsync(GetClusterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getCluster", args ?? new GetClusterArgs(), options.WithDefaults()); + + /// + /// Implements cluster GET method. + /// + public static Output Invoke(GetClusterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetClusterArgs() + { + } + public static new GetClusterArgs Empty => new GetClusterArgs(); + } + + public sealed class GetClusterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetClusterInvokeArgs() + { + } + public static new GetClusterInvokeArgs Empty => new GetClusterInvokeArgs(); + } + + + [OutputType] + public sealed class GetClusterResult + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets the datastore ARM ids. + /// + public readonly ImmutableArray DatastoreIds; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the inventory Item ID for the cluster. + /// + public readonly string? InventoryItemId; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets or sets the vCenter Managed Object name for the cluster. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + /// + public readonly string? MoRefId; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Gets the network ARM ids. + /// + public readonly ImmutableArray NetworkIds; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets the max CPU usage across all cores on the cluster in MHz. + /// + public readonly double TotalCpuMHz; + /// + /// Gets the total amount of physical memory on the cluster in GB. + /// + public readonly double TotalMemoryGB; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets the used CPU usage across all cores on the cluster in MHz. + /// + public readonly double UsedCpuMHz; + /// + /// Gets the used physical memory on the cluster in GB. + /// + public readonly double UsedMemoryGB; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private GetClusterResult( + string customResourceName, + + ImmutableArray datastoreIds, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string? inventoryItemId, + + string? kind, + + string location, + + string moName, + + string? moRefId, + + string name, + + ImmutableArray networkIds, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + double totalCpuMHz, + + double totalMemoryGB, + + string type, + + double usedCpuMHz, + + double usedMemoryGB, + + string uuid, + + string? vCenterId) + { + CustomResourceName = customResourceName; + DatastoreIds = datastoreIds; + ExtendedLocation = extendedLocation; + Id = id; + InventoryItemId = inventoryItemId; + Kind = kind; + Location = location; + MoName = moName; + MoRefId = moRefId; + Name = name; + NetworkIds = networkIds; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + TotalCpuMHz = totalCpuMHz; + TotalMemoryGB = totalMemoryGB; + Type = type; + UsedCpuMHz = usedCpuMHz; + UsedMemoryGB = usedMemoryGB; + Uuid = uuid; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetDatastore.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetDatastore.cs new file mode 100644 index 000000000000..71776d677541 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetDatastore.cs @@ -0,0 +1,203 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetDatastore + { + /// + /// Implements datastore GET method. + /// + public static Task InvokeAsync(GetDatastoreArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getDatastore", args ?? new GetDatastoreArgs(), options.WithDefaults()); + + /// + /// Implements datastore GET method. + /// + public static Output Invoke(GetDatastoreInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getDatastore", args ?? new GetDatastoreInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDatastoreArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the datastore. + /// + [Input("datastoreName", required: true)] + public string DatastoreName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetDatastoreArgs() + { + } + public static new GetDatastoreArgs Empty => new GetDatastoreArgs(); + } + + public sealed class GetDatastoreInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the datastore. + /// + [Input("datastoreName", required: true)] + public Input DatastoreName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetDatastoreInvokeArgs() + { + } + public static new GetDatastoreInvokeArgs Empty => new GetDatastoreInvokeArgs(); + } + + + [OutputType] + public sealed class GetDatastoreResult + { + /// + /// Gets or sets Maximum capacity of this datastore in GBs. + /// + public readonly double CapacityGB; + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Gets or sets Available space of this datastore in GBs. + /// + public readonly double FreeSpaceGB; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the inventory Item ID for the datastore. + /// + public readonly string? InventoryItemId; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets or sets the vCenter Managed Object name for the datastore. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + /// + public readonly string? MoRefId; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private GetDatastoreResult( + double capacityGB, + + string customResourceName, + + Outputs.ExtendedLocationResponse? extendedLocation, + + double freeSpaceGB, + + string id, + + string? inventoryItemId, + + string? kind, + + string location, + + string moName, + + string? moRefId, + + string name, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string uuid, + + string? vCenterId) + { + CapacityGB = capacityGB; + CustomResourceName = customResourceName; + ExtendedLocation = extendedLocation; + FreeSpaceGB = freeSpaceGB; + Id = id; + InventoryItemId = inventoryItemId; + Kind = kind; + Location = location; + MoName = moName; + MoRefId = moRefId; + Name = name; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + Type = type; + Uuid = uuid; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetHost.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetHost.cs new file mode 100644 index 000000000000..3bdec950f96d --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetHost.cs @@ -0,0 +1,231 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetHost + { + /// + /// Implements host GET method. + /// + public static Task InvokeAsync(GetHostArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getHost", args ?? new GetHostArgs(), options.WithDefaults()); + + /// + /// Implements host GET method. + /// + public static Output Invoke(GetHostInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getHost", args ?? new GetHostInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetHostArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the host. + /// + [Input("hostName", required: true)] + public string HostName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetHostArgs() + { + } + public static new GetHostArgs Empty => new GetHostArgs(); + } + + public sealed class GetHostInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the host. + /// + [Input("hostName", required: true)] + public Input HostName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetHostInvokeArgs() + { + } + public static new GetHostInvokeArgs Empty => new GetHostInvokeArgs(); + } + + + [OutputType] + public sealed class GetHostResult + { + /// + /// Gets the max CPU usage across all cores in MHz. + /// + public readonly double CpuMhz; + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets the datastore ARM ids. + /// + public readonly ImmutableArray DatastoreIds; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the inventory Item ID for the host. + /// + public readonly string? InventoryItemId; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets the total amount of physical memory on the host in GB. + /// + public readonly double MemorySizeGB; + /// + /// Gets or sets the vCenter Managed Object name for the host. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + /// + public readonly string? MoRefId; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Gets the network ARM ids. + /// + public readonly ImmutableArray NetworkIds; + /// + /// Gets the used CPU usage across all cores in MHz. + /// + public readonly double OverallCpuUsageMHz; + /// + /// Gets the used physical memory on the host in GB. + /// + public readonly double OverallMemoryUsageGB; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this host resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private GetHostResult( + double cpuMhz, + + string customResourceName, + + ImmutableArray datastoreIds, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string? inventoryItemId, + + string? kind, + + string location, + + double memorySizeGB, + + string moName, + + string? moRefId, + + string name, + + ImmutableArray networkIds, + + double overallCpuUsageMHz, + + double overallMemoryUsageGB, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string uuid, + + string? vCenterId) + { + CpuMhz = cpuMhz; + CustomResourceName = customResourceName; + DatastoreIds = datastoreIds; + ExtendedLocation = extendedLocation; + Id = id; + InventoryItemId = inventoryItemId; + Kind = kind; + Location = location; + MemorySizeGB = memorySizeGB; + MoName = moName; + MoRefId = moRefId; + Name = name; + NetworkIds = networkIds; + OverallCpuUsageMHz = overallCpuUsageMHz; + OverallMemoryUsageGB = overallMemoryUsageGB; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + Type = type; + Uuid = uuid; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetInventoryItem.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetInventoryItem.cs new file mode 100644 index 000000000000..ee13130abc2b --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetInventoryItem.cs @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetInventoryItem + { + /// + /// Implements InventoryItem GET method. + /// + public static Task InvokeAsync(GetInventoryItemArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getInventoryItem", args ?? new GetInventoryItemArgs(), options.WithDefaults()); + + /// + /// Implements InventoryItem GET method. + /// + public static Output Invoke(GetInventoryItemInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getInventoryItem", args ?? new GetInventoryItemInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetInventoryItemArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the inventoryItem. + /// + [Input("inventoryItemName", required: true)] + public string InventoryItemName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the vCenter. + /// + [Input("vcenterName", required: true)] + public string VcenterName { get; set; } = null!; + + public GetInventoryItemArgs() + { + } + public static new GetInventoryItemArgs Empty => new GetInventoryItemArgs(); + } + + public sealed class GetInventoryItemInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the inventoryItem. + /// + [Input("inventoryItemName", required: true)] + public Input InventoryItemName { get; set; } = null!; + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the vCenter. + /// + [Input("vcenterName", required: true)] + public Input VcenterName { get; set; } = null!; + + public GetInventoryItemInvokeArgs() + { + } + public static new GetInventoryItemInvokeArgs Empty => new GetInventoryItemInvokeArgs(); + } + + + [OutputType] + public sealed class GetInventoryItemResult + { + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// They inventory type. + /// + public readonly string InventoryType; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the tracked resource id corresponding to the inventory resource. + /// + public readonly string? ManagedResourceId; + /// + /// Gets or sets the vCenter Managed Object name for the inventory item. + /// + public readonly string? MoName; + /// + /// Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + /// + public readonly string? MoRefId; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetInventoryItemResult( + string id, + + string inventoryType, + + string? kind, + + string? managedResourceId, + + string? moName, + + string? moRefId, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + InventoryType = inventoryType; + Kind = kind; + ManagedResourceId = managedResourceId; + MoName = moName; + MoRefId = moRefId; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetResourcePool.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetResourcePool.cs new file mode 100644 index 000000000000..7fc4efcc7d4b --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetResourcePool.cs @@ -0,0 +1,279 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetResourcePool + { + /// + /// Implements resourcePool GET method. + /// + public static Task InvokeAsync(GetResourcePoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getResourcePool", args ?? new GetResourcePoolArgs(), options.WithDefaults()); + + /// + /// Implements resourcePool GET method. + /// + public static Output Invoke(GetResourcePoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getResourcePool", args ?? new GetResourcePoolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetResourcePoolArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the resourcePool. + /// + [Input("resourcePoolName", required: true)] + public string ResourcePoolName { get; set; } = null!; + + public GetResourcePoolArgs() + { + } + public static new GetResourcePoolArgs Empty => new GetResourcePoolArgs(); + } + + public sealed class GetResourcePoolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the resourcePool. + /// + [Input("resourcePoolName", required: true)] + public Input ResourcePoolName { get; set; } = null!; + + public GetResourcePoolInvokeArgs() + { + } + public static new GetResourcePoolInvokeArgs Empty => new GetResourcePoolInvokeArgs(); + } + + + [OutputType] + public sealed class GetResourcePoolResult + { + /// + /// Gets the max CPU usage across all cores on the pool in MHz. + /// + public readonly double CpuCapacityMHz; + /// + /// Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. + /// Utilization will not exceed this limit even if there are available resources. + /// + public readonly double CpuLimitMHz; + /// + /// Gets the used CPU usage across all cores on the pool in MHz. + /// + public readonly double CpuOverallUsageMHz; + /// + /// Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed + /// to be available. + /// + public readonly double CpuReservationMHz; + /// + /// Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. + /// This property is used in relative allocation between resource consumers. + /// + public readonly string CpuSharesLevel; + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets the datastore ARM ids. + /// + public readonly ImmutableArray DatastoreIds; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the inventory Item ID for the resource pool. + /// + public readonly string? InventoryItemId; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets the total amount of physical memory on the pool in GB. + /// + public readonly double MemCapacityGB; + /// + /// Gets or sets MemLimitMB specifies a memory usage limit in megabytes. + /// Utilization will not exceed the specified limit even if there are available resources. + /// + public readonly double MemLimitMB; + /// + /// Gets the used physical memory on the pool in GB. + /// + public readonly double MemOverallUsageGB; + /// + /// Gets or sets MemReservationMB which specifies the guaranteed available memory in + /// megabytes. + /// + public readonly double MemReservationMB; + /// + /// Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. + /// This property is used in relative allocation between resource consumers. + /// + public readonly string MemSharesLevel; + /// + /// Gets or sets the vCenter Managed Object name for the resource pool. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + /// + public readonly string? MoRefId; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Gets the network ARM ids. + /// + public readonly ImmutableArray NetworkIds; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private GetResourcePoolResult( + double cpuCapacityMHz, + + double cpuLimitMHz, + + double cpuOverallUsageMHz, + + double cpuReservationMHz, + + string cpuSharesLevel, + + string customResourceName, + + ImmutableArray datastoreIds, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string? inventoryItemId, + + string? kind, + + string location, + + double memCapacityGB, + + double memLimitMB, + + double memOverallUsageGB, + + double memReservationMB, + + string memSharesLevel, + + string moName, + + string? moRefId, + + string name, + + ImmutableArray networkIds, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string uuid, + + string? vCenterId) + { + CpuCapacityMHz = cpuCapacityMHz; + CpuLimitMHz = cpuLimitMHz; + CpuOverallUsageMHz = cpuOverallUsageMHz; + CpuReservationMHz = cpuReservationMHz; + CpuSharesLevel = cpuSharesLevel; + CustomResourceName = customResourceName; + DatastoreIds = datastoreIds; + ExtendedLocation = extendedLocation; + Id = id; + InventoryItemId = inventoryItemId; + Kind = kind; + Location = location; + MemCapacityGB = memCapacityGB; + MemLimitMB = memLimitMB; + MemOverallUsageGB = memOverallUsageGB; + MemReservationMB = memReservationMB; + MemSharesLevel = memSharesLevel; + MoName = moName; + MoRefId = moRefId; + Name = name; + NetworkIds = networkIds; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + Type = type; + Uuid = uuid; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVCenter.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVCenter.cs new file mode 100644 index 000000000000..8885b4c80a36 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVCenter.cs @@ -0,0 +1,203 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetVCenter + { + /// + /// Implements vCenter GET method. + /// + public static Task InvokeAsync(GetVCenterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getVCenter", args ?? new GetVCenterArgs(), options.WithDefaults()); + + /// + /// Implements vCenter GET method. + /// + public static Output Invoke(GetVCenterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getVCenter", args ?? new GetVCenterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVCenterArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the vCenter. + /// + [Input("vcenterName", required: true)] + public string VcenterName { get; set; } = null!; + + public GetVCenterArgs() + { + } + public static new GetVCenterArgs Empty => new GetVCenterArgs(); + } + + public sealed class GetVCenterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the vCenter. + /// + [Input("vcenterName", required: true)] + public Input VcenterName { get; set; } = null!; + + public GetVCenterInvokeArgs() + { + } + public static new GetVCenterInvokeArgs Empty => new GetVCenterInvokeArgs(); + } + + + [OutputType] + public sealed class GetVCenterResult + { + /// + /// Gets or sets the connection status to the vCenter. + /// + public readonly string ConnectionStatus; + /// + /// Username / Password Credentials to connect to vcenter. + /// + public readonly Outputs.VICredentialResponse? Credentials; + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Gets or sets the FQDN/IPAddress of the vCenter. + /// + public readonly string Fqdn; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the instance UUID of the vCenter. + /// + public readonly string InstanceUuid; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Gets or sets the port of the vCenter. + /// + public readonly int? Port; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the version of the vCenter. + /// + public readonly string Version; + + [OutputConstructor] + private GetVCenterResult( + string connectionStatus, + + Outputs.VICredentialResponse? credentials, + + string customResourceName, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string fqdn, + + string id, + + string instanceUuid, + + string? kind, + + string location, + + string name, + + int? port, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string uuid, + + string version) + { + ConnectionStatus = connectionStatus; + Credentials = credentials; + CustomResourceName = customResourceName; + ExtendedLocation = extendedLocation; + Fqdn = fqdn; + Id = id; + InstanceUuid = instanceUuid; + Kind = kind; + Location = location; + Name = name; + Port = port; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + Type = type; + Uuid = uuid; + Version = version; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVMInstanceGuestAgent.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVMInstanceGuestAgent.cs new file mode 100644 index 000000000000..7f9f83c5dd69 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVMInstanceGuestAgent.cs @@ -0,0 +1,156 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetVMInstanceGuestAgent + { + /// + /// Implements GuestAgent GET method. + /// + public static Task InvokeAsync(GetVMInstanceGuestAgentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getVMInstanceGuestAgent", args ?? new GetVMInstanceGuestAgentArgs(), options.WithDefaults()); + + /// + /// Implements GuestAgent GET method. + /// + public static Output Invoke(GetVMInstanceGuestAgentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getVMInstanceGuestAgent", args ?? new GetVMInstanceGuestAgentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVMInstanceGuestAgentArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + /// + [Input("resourceUri", required: true)] + public string ResourceUri { get; set; } = null!; + + public GetVMInstanceGuestAgentArgs() + { + } + public static new GetVMInstanceGuestAgentArgs Empty => new GetVMInstanceGuestAgentArgs(); + } + + public sealed class GetVMInstanceGuestAgentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + public GetVMInstanceGuestAgentInvokeArgs() + { + } + public static new GetVMInstanceGuestAgentInvokeArgs Empty => new GetVMInstanceGuestAgentInvokeArgs(); + } + + + [OutputType] + public sealed class GetVMInstanceGuestAgentResult + { + /// + /// Username / Password Credentials to provision guest agent. + /// + public readonly Outputs.GuestCredentialResponse? Credentials; + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// HTTP Proxy configuration for the VM. + /// + public readonly Outputs.HttpProxyConfigurationResponse? HttpProxyConfig; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource id of the private link scope this machine is assigned to, if any. + /// + public readonly string? PrivateLinkScopeResourceId; + /// + /// Gets or sets the guest agent provisioning action. + /// + public readonly string? ProvisioningAction; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// Gets or sets the guest agent status. + /// + public readonly string Status; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + + [OutputConstructor] + private GetVMInstanceGuestAgentResult( + Outputs.GuestCredentialResponse? credentials, + + string customResourceName, + + Outputs.HttpProxyConfigurationResponse? httpProxyConfig, + + string id, + + string name, + + string? privateLinkScopeResourceId, + + string? provisioningAction, + + string provisioningState, + + string status, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + string type, + + string uuid) + { + Credentials = credentials; + CustomResourceName = customResourceName; + HttpProxyConfig = httpProxyConfig; + Id = id; + Name = name; + PrivateLinkScopeResourceId = privateLinkScopeResourceId; + ProvisioningAction = provisioningAction; + ProvisioningState = provisioningState; + Status = status; + Statuses = statuses; + SystemData = systemData; + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualMachineInstance.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualMachineInstance.cs new file mode 100644 index 000000000000..de6d9bc86e95 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualMachineInstance.cs @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetVirtualMachineInstance + { + /// + /// Retrieves information about a virtual machine instance. + /// + public static Task InvokeAsync(GetVirtualMachineInstanceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceArgs(), options.WithDefaults()); + + /// + /// Retrieves information about a virtual machine instance. + /// + public static Output Invoke(GetVirtualMachineInstanceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVirtualMachineInstanceArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + /// + [Input("resourceUri", required: true)] + public string ResourceUri { get; set; } = null!; + + public GetVirtualMachineInstanceArgs() + { + } + public static new GetVirtualMachineInstanceArgs Empty => new GetVirtualMachineInstanceArgs(); + } + + public sealed class GetVirtualMachineInstanceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + public GetVirtualMachineInstanceInvokeArgs() + { + } + public static new GetVirtualMachineInstanceInvokeArgs Empty => new GetVirtualMachineInstanceInvokeArgs(); + } + + + [OutputType] + public sealed class GetVirtualMachineInstanceResult + { + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Hardware properties. + /// + public readonly Outputs.HardwareProfileResponse? HardwareProfile; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// Gets the infrastructure profile. + /// + public readonly Outputs.InfrastructureProfileResponse? InfrastructureProfile; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Network properties. + /// + public readonly Outputs.NetworkProfileResponse? NetworkProfile; + /// + /// OS properties. + /// + public readonly Outputs.OsProfileForVMInstanceResponse? OsProfile; + /// + /// Placement properties. + /// + public readonly Outputs.PlacementProfileResponse? PlacementProfile; + /// + /// Gets the power state of the virtual machine. + /// + public readonly string PowerState; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// Gets or sets a unique identifier for the vm resource. + /// + public readonly string ResourceUid; + /// + /// Gets the security profile. + /// + public readonly Outputs.SecurityProfileResponse? SecurityProfile; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// Storage properties. + /// + public readonly Outputs.StorageProfileResponse? StorageProfile; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetVirtualMachineInstanceResult( + Outputs.ExtendedLocationResponse? extendedLocation, + + Outputs.HardwareProfileResponse? hardwareProfile, + + string id, + + Outputs.InfrastructureProfileResponse? infrastructureProfile, + + string name, + + Outputs.NetworkProfileResponse? networkProfile, + + Outputs.OsProfileForVMInstanceResponse? osProfile, + + Outputs.PlacementProfileResponse? placementProfile, + + string powerState, + + string provisioningState, + + string resourceUid, + + Outputs.SecurityProfileResponse? securityProfile, + + ImmutableArray statuses, + + Outputs.StorageProfileResponse? storageProfile, + + Outputs.SystemDataResponse systemData, + + string type) + { + ExtendedLocation = extendedLocation; + HardwareProfile = hardwareProfile; + Id = id; + InfrastructureProfile = infrastructureProfile; + Name = name; + NetworkProfile = networkProfile; + OsProfile = osProfile; + PlacementProfile = placementProfile; + PowerState = powerState; + ProvisioningState = provisioningState; + ResourceUid = resourceUid; + SecurityProfile = securityProfile; + Statuses = statuses; + StorageProfile = storageProfile; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualMachineTemplate.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualMachineTemplate.cs new file mode 100644 index 000000000000..ba13c67c126c --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualMachineTemplate.cs @@ -0,0 +1,268 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetVirtualMachineTemplate + { + /// + /// Implements virtual machine template GET method. + /// + public static Task InvokeAsync(GetVirtualMachineTemplateArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineTemplate", args ?? new GetVirtualMachineTemplateArgs(), options.WithDefaults()); + + /// + /// Implements virtual machine template GET method. + /// + public static Output Invoke(GetVirtualMachineTemplateInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineTemplate", args ?? new GetVirtualMachineTemplateInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVirtualMachineTemplateArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the virtual machine template resource. + /// + [Input("virtualMachineTemplateName", required: true)] + public string VirtualMachineTemplateName { get; set; } = null!; + + public GetVirtualMachineTemplateArgs() + { + } + public static new GetVirtualMachineTemplateArgs Empty => new GetVirtualMachineTemplateArgs(); + } + + public sealed class GetVirtualMachineTemplateInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the virtual machine template resource. + /// + [Input("virtualMachineTemplateName", required: true)] + public Input VirtualMachineTemplateName { get; set; } = null!; + + public GetVirtualMachineTemplateInvokeArgs() + { + } + public static new GetVirtualMachineTemplateInvokeArgs Empty => new GetVirtualMachineTemplateInvokeArgs(); + } + + + [OutputType] + public sealed class GetVirtualMachineTemplateResult + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets or sets the disks the template. + /// + public readonly ImmutableArray Disks; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Firmware type + /// + public readonly string FirmwareType; + /// + /// Gets or sets the folder path of the template. + /// + public readonly string FolderPath; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the inventory Item ID for the virtual machine template. + /// + public readonly string? InventoryItemId; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets or sets memory size in MBs for the template. + /// + public readonly int MemorySizeMB; + /// + /// Gets or sets the vCenter Managed Object name for the virtual machine template. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + /// template. + /// + public readonly string? MoRefId; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Gets or sets the network interfaces of the template. + /// + public readonly ImmutableArray NetworkInterfaces; + /// + /// Gets or sets the number of vCPUs for the template. + /// + public readonly int NumCPUs; + /// + /// Gets or sets the number of cores per socket for the template. + /// Defaults to 1 if unspecified. + /// + public readonly int NumCoresPerSocket; + /// + /// Gets or sets os name. + /// + public readonly string OsName; + /// + /// Gets or sets the type of the os. + /// + public readonly string OsType; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets or sets the current version of VMware Tools. + /// + public readonly string ToolsVersion; + /// + /// Gets or sets the current version status of VMware Tools installed in the guest operating system. + /// + public readonly string ToolsVersionStatus; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this template resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private GetVirtualMachineTemplateResult( + string customResourceName, + + ImmutableArray disks, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string firmwareType, + + string folderPath, + + string id, + + string? inventoryItemId, + + string? kind, + + string location, + + int memorySizeMB, + + string moName, + + string? moRefId, + + string name, + + ImmutableArray networkInterfaces, + + int numCPUs, + + int numCoresPerSocket, + + string osName, + + string osType, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string toolsVersion, + + string toolsVersionStatus, + + string type, + + string uuid, + + string? vCenterId) + { + CustomResourceName = customResourceName; + Disks = disks; + ExtendedLocation = extendedLocation; + FirmwareType = firmwareType; + FolderPath = folderPath; + Id = id; + InventoryItemId = inventoryItemId; + Kind = kind; + Location = location; + MemorySizeMB = memorySizeMB; + MoName = moName; + MoRefId = moRefId; + Name = name; + NetworkInterfaces = networkInterfaces; + NumCPUs = numCPUs; + NumCoresPerSocket = numCoresPerSocket; + OsName = osName; + OsType = osType; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + ToolsVersion = toolsVersion; + ToolsVersionStatus = toolsVersionStatus; + Type = type; + Uuid = uuid; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualNetwork.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualNetwork.cs new file mode 100644 index 000000000000..5db0e18b3404 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/GetVirtualNetwork.cs @@ -0,0 +1,189 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + public static class GetVirtualNetwork + { + /// + /// Implements virtual network GET method. + /// + public static Task InvokeAsync(GetVirtualNetworkArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:connectedvmwarevsphere/v20231001:getVirtualNetwork", args ?? new GetVirtualNetworkArgs(), options.WithDefaults()); + + /// + /// Implements virtual network GET method. + /// + public static Output Invoke(GetVirtualNetworkInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:connectedvmwarevsphere/v20231001:getVirtualNetwork", args ?? new GetVirtualNetworkInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVirtualNetworkArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the virtual network resource. + /// + [Input("virtualNetworkName", required: true)] + public string VirtualNetworkName { get; set; } = null!; + + public GetVirtualNetworkArgs() + { + } + public static new GetVirtualNetworkArgs Empty => new GetVirtualNetworkArgs(); + } + + public sealed class GetVirtualNetworkInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the virtual network resource. + /// + [Input("virtualNetworkName", required: true)] + public Input VirtualNetworkName { get; set; } = null!; + + public GetVirtualNetworkInvokeArgs() + { + } + public static new GetVirtualNetworkInvokeArgs Empty => new GetVirtualNetworkInvokeArgs(); + } + + + [OutputType] + public sealed class GetVirtualNetworkResult + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Gets or sets the extended location. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Gets or sets the Id. + /// + public readonly string Id; + /// + /// Gets or sets the inventory Item ID for the virtual network. + /// + public readonly string? InventoryItemId; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// Gets or sets the location. + /// + public readonly string Location; + /// + /// Gets or sets the vCenter Managed Object name for the virtual network. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + /// + public readonly string? MoRefId; + /// + /// Gets or sets the name. + /// + public readonly string Name; + /// + /// Gets the provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The system data. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Gets or sets the Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Gets or sets the type of the resource. + /// + public readonly string Type; + /// + /// Gets or sets a unique identifier for this resource. + /// + public readonly string Uuid; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this template resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private GetVirtualNetworkResult( + string customResourceName, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string? inventoryItemId, + + string? kind, + + string location, + + string moName, + + string? moRefId, + + string name, + + string provisioningState, + + ImmutableArray statuses, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string uuid, + + string? vCenterId) + { + CustomResourceName = customResourceName; + ExtendedLocation = extendedLocation; + Id = id; + InventoryItemId = inventoryItemId; + Kind = kind; + Location = location; + MoName = moName; + MoRefId = moRefId; + Name = name; + ProvisioningState = provisioningState; + Statuses = statuses; + SystemData = systemData; + Tags = tags; + Type = type; + Uuid = uuid; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Host.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Host.cs new file mode 100644 index 000000000000..6156114c1c93 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Host.cs @@ -0,0 +1,262 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the host. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:Host")] + public partial class Host : global::Pulumi.CustomResource + { + /// + /// Gets the max CPU usage across all cores in MHz. + /// + [Output("cpuMhz")] + public Output CpuMhz { get; private set; } = null!; + + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets the datastore ARM ids. + /// + [Output("datastoreIds")] + public Output> DatastoreIds { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Gets or sets the inventory Item ID for the host. + /// + [Output("inventoryItemId")] + public Output InventoryItemId { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets the total amount of physical memory on the host in GB. + /// + [Output("memorySizeGB")] + public Output MemorySizeGB { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the host. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets the network ARM ids. + /// + [Output("networkIds")] + public Output> NetworkIds { get; private set; } = null!; + + /// + /// Gets the used CPU usage across all cores in MHz. + /// + [Output("overallCpuUsageMHz")] + public Output OverallCpuUsageMHz { get; private set; } = null!; + + /// + /// Gets the used physical memory on the host in GB. + /// + [Output("overallMemoryUsageGB")] + public Output OverallMemoryUsageGB { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this host resides. + /// + [Output("vCenterId")] + public Output VCenterId { get; private set; } = null!; + + + /// + /// Create a Host 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 Host(string name, HostArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:Host", name, args ?? new HostArgs(), MakeResourceOptions(options, "")) + { + } + + private Host(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:Host", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:Host"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:Host"}, + }, + }; + 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 Host 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. + /// A bag of options that control this resource's behavior + public static Host Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Host(name, id, options); + } + } + + public sealed class HostArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Name of the host. + /// + [Input("hostName")] + public Input? HostName { get; set; } + + /// + /// Gets or sets the inventory Item ID for the host. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this host resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + public HostArgs() + { + } + public static new HostArgs Empty => new HostArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/ExtendedLocationArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/ExtendedLocationArgs.cs new file mode 100644 index 000000000000..5ba3b3dfd66f --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/ExtendedLocationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// The extended location. + /// + public sealed class ExtendedLocationArgs : global::Pulumi.ResourceArgs + { + /// + /// The extended location name. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The extended location type. + /// + [Input("type")] + public Input? Type { get; set; } + + public ExtendedLocationArgs() + { + } + public static new ExtendedLocationArgs Empty => new ExtendedLocationArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/GuestCredentialArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/GuestCredentialArgs.cs new file mode 100644 index 000000000000..69a2b5796d6d --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/GuestCredentialArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Username / Password Credentials to connect to guest. + /// + public sealed class GuestCredentialArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the password to connect with the guest. + /// + [Input("password")] + public Input? Password { get; set; } + + /// + /// Gets or sets username to connect with the guest. + /// + [Input("username")] + public Input? Username { get; set; } + + public GuestCredentialArgs() + { + } + public static new GuestCredentialArgs Empty => new GuestCredentialArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/HardwareProfileArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/HardwareProfileArgs.cs new file mode 100644 index 000000000000..b877b7f67752 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/HardwareProfileArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the hardware settings for the virtual machine. + /// + public sealed class HardwareProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets memory size in MBs for the vm. + /// + [Input("memorySizeMB")] + public Input? MemorySizeMB { get; set; } + + /// + /// Gets or sets the number of vCPUs for the vm. + /// + [Input("numCPUs")] + public Input? NumCPUs { get; set; } + + /// + /// Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + /// + [Input("numCoresPerSocket")] + public Input? NumCoresPerSocket { get; set; } + + public HardwareProfileArgs() + { + } + public static new HardwareProfileArgs Empty => new HardwareProfileArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/HttpProxyConfigurationArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/HttpProxyConfigurationArgs.cs new file mode 100644 index 000000000000..d8a0d16b1cf5 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/HttpProxyConfigurationArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// HTTP Proxy configuration for the VM. + /// + public sealed class HttpProxyConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets httpsProxy url. + /// + [Input("httpsProxy")] + public Input? HttpsProxy { get; set; } + + public HttpProxyConfigurationArgs() + { + } + public static new HttpProxyConfigurationArgs Empty => new HttpProxyConfigurationArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/InfrastructureProfileArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/InfrastructureProfileArgs.cs new file mode 100644 index 000000000000..80cbc3a5ee12 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/InfrastructureProfileArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the vCenter infrastructure specific settings for the virtual machine. + /// + public sealed class InfrastructureProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Firmware type + /// + [Input("firmwareType")] + public InputUnion? FirmwareType { get; set; } + + /// + /// Gets or sets the inventory Item ID for the virtual machine. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Gets or sets the SMBIOS UUID of the vm. + /// + [Input("smbiosUuid")] + public Input? SmbiosUuid { get; set; } + + /// + /// Gets or sets the ARM Id of the template resource to deploy the virtual machine. + /// + [Input("templateId")] + public Input? TemplateId { get; set; } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + public InfrastructureProfileArgs() + { + } + public static new InfrastructureProfileArgs Empty => new InfrastructureProfileArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NetworkInterfaceArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NetworkInterfaceArgs.cs new file mode 100644 index 000000000000..53cbe0756d7d --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NetworkInterfaceArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Network Interface model + /// + public sealed class NetworkInterfaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the device key value. + /// + [Input("deviceKey")] + public Input? DeviceKey { get; set; } + + /// + /// Gets or sets the ipsettings. + /// + [Input("ipSettings")] + public Input? IpSettings { get; set; } + + /// + /// Gets or sets the name of the network interface. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Gets or sets the ARM Id of the network resource to connect the virtual machine. + /// + [Input("networkId")] + public Input? NetworkId { get; set; } + + /// + /// NIC type + /// + [Input("nicType")] + public InputUnion? NicType { get; set; } + + /// + /// Gets or sets the power on boot. + /// + [Input("powerOnBoot")] + public InputUnion? PowerOnBoot { get; set; } + + public NetworkInterfaceArgs() + { + } + public static new NetworkInterfaceArgs Empty => new NetworkInterfaceArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NetworkProfileArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NetworkProfileArgs.cs new file mode 100644 index 000000000000..895068f6a183 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NetworkProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the network interfaces of the virtual machine. + /// + public sealed class NetworkProfileArgs : global::Pulumi.ResourceArgs + { + [Input("networkInterfaces")] + private InputList? _networkInterfaces; + + /// + /// Gets or sets the list of network interfaces associated with the virtual machine. + /// + public InputList NetworkInterfaces + { + get => _networkInterfaces ?? (_networkInterfaces = new InputList()); + set => _networkInterfaces = value; + } + + public NetworkProfileArgs() + { + } + public static new NetworkProfileArgs Empty => new NetworkProfileArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NicIPSettingsArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NicIPSettingsArgs.cs new file mode 100644 index 000000000000..169bd3f1b5b2 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/NicIPSettingsArgs.cs @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Defines the network interface ip settings. + /// + public sealed class NicIPSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the nic allocation method. + /// + [Input("allocationMethod")] + public InputUnion? AllocationMethod { get; set; } + + [Input("dnsServers")] + private InputList? _dnsServers; + + /// + /// Gets or sets the dns servers. + /// + public InputList DnsServers + { + get => _dnsServers ?? (_dnsServers = new InputList()); + set => _dnsServers = value; + } + + [Input("gateway")] + private InputList? _gateway; + + /// + /// Gets or sets the gateway. + /// + public InputList Gateway + { + get => _gateway ?? (_gateway = new InputList()); + set => _gateway = value; + } + + /// + /// Gets or sets the ip address for the nic. + /// + [Input("ipAddress")] + public Input? IpAddress { get; set; } + + /// + /// Gets or sets the mask. + /// + [Input("subnetMask")] + public Input? SubnetMask { get; set; } + + public NicIPSettingsArgs() + { + } + public static new NicIPSettingsArgs Empty => new NicIPSettingsArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/OsProfileForVMInstanceArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/OsProfileForVMInstanceArgs.cs new file mode 100644 index 000000000000..fbe2edc10607 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/OsProfileForVMInstanceArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the operating system settings for the virtual machine. + /// + public sealed class OsProfileForVMInstanceArgs : global::Pulumi.ResourceArgs + { + /// + /// Sets administrator password. + /// + [Input("adminPassword")] + public Input? AdminPassword { get; set; } + + /// + /// Gets or sets administrator username. + /// + [Input("adminUsername")] + public Input? AdminUsername { get; set; } + + /// + /// Gets or sets computer name. + /// + [Input("computerName")] + public Input? ComputerName { get; set; } + + /// + /// Gets or sets the guestId. + /// + [Input("guestId")] + public Input? GuestId { get; set; } + + /// + /// Gets or sets the type of the os. + /// + [Input("osType")] + public InputUnion? OsType { get; set; } + + public OsProfileForVMInstanceArgs() + { + } + public static new OsProfileForVMInstanceArgs Empty => new OsProfileForVMInstanceArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/PlacementProfileArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/PlacementProfileArgs.cs new file mode 100644 index 000000000000..37f98542ff2e --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/PlacementProfileArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the compute and storage placement settings for the virtual machine. + /// + public sealed class PlacementProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + /// + [Input("clusterId")] + public Input? ClusterId { get; set; } + + /// + /// Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + /// + [Input("datastoreId")] + public Input? DatastoreId { get; set; } + + /// + /// Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + /// + [Input("hostId")] + public Input? HostId { get; set; } + + /// + /// Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + /// + [Input("resourcePoolId")] + public Input? ResourcePoolId { get; set; } + + public PlacementProfileArgs() + { + } + public static new PlacementProfileArgs Empty => new PlacementProfileArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/SecurityProfileArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/SecurityProfileArgs.cs new file mode 100644 index 000000000000..053ef302cfe6 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/SecurityProfileArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the Security profile settings for the virtual machine. + /// + public sealed class SecurityProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the security settings like secure boot used while creating the virtual machine. + /// + [Input("uefiSettings")] + public Input? UefiSettings { get; set; } + + public SecurityProfileArgs() + { + } + public static new SecurityProfileArgs Empty => new SecurityProfileArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/StorageProfileArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/StorageProfileArgs.cs new file mode 100644 index 000000000000..ee961844cb41 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/StorageProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the storage settings for the virtual machine disks. + /// + public sealed class StorageProfileArgs : global::Pulumi.ResourceArgs + { + [Input("disks")] + private InputList? _disks; + + /// + /// Gets or sets the list of virtual disks associated with the virtual machine. + /// + public InputList Disks + { + get => _disks ?? (_disks = new InputList()); + set => _disks = value; + } + + public StorageProfileArgs() + { + } + public static new StorageProfileArgs Empty => new StorageProfileArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/UefiSettingsArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/UefiSettingsArgs.cs new file mode 100644 index 000000000000..cb7bc8721037 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/UefiSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Specifies the security settings like secure boot used while creating the virtual machine. + /// + public sealed class UefiSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies whether secure boot should be enabled on the virtual machine. + /// + [Input("secureBootEnabled")] + public Input? SecureBootEnabled { get; set; } + + public UefiSettingsArgs() + { + } + public static new UefiSettingsArgs Empty => new UefiSettingsArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/VICredentialArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/VICredentialArgs.cs new file mode 100644 index 000000000000..6f46aa14db4d --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/VICredentialArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Username / Password Credentials to connect to vcenter. + /// + public sealed class VICredentialArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the password to connect with the vCenter. + /// + [Input("password")] + public Input? Password { get; set; } + + /// + /// Gets or sets username to connect with the vCenter. + /// + [Input("username")] + public Input? Username { get; set; } + + public VICredentialArgs() + { + } + public static new VICredentialArgs Empty => new VICredentialArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/VirtualDiskArgs.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/VirtualDiskArgs.cs new file mode 100644 index 000000000000..f55b01fe174d --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Inputs/VirtualDiskArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Inputs +{ + + /// + /// Virtual disk model + /// + public sealed class VirtualDiskArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the controller id. + /// + [Input("controllerKey")] + public Input? ControllerKey { get; set; } + + /// + /// Gets or sets the device key value. + /// + [Input("deviceKey")] + public Input? DeviceKey { get; set; } + + /// + /// Gets or sets the device name. + /// + [Input("deviceName")] + public Input? DeviceName { get; set; } + + /// + /// Gets or sets the disk mode. + /// + [Input("diskMode")] + public InputUnion? DiskMode { get; set; } + + /// + /// Gets or sets the disk total size. + /// + [Input("diskSizeGB")] + public Input? DiskSizeGB { get; set; } + + /// + /// Gets or sets the disk backing type. + /// + [Input("diskType")] + public InputUnion? DiskType { get; set; } + + /// + /// Gets or sets the name of the virtual disk. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Gets or sets the unit number of the disk on the controller. + /// + [Input("unitNumber")] + public Input? UnitNumber { get; set; } + + public VirtualDiskArgs() + { + } + public static new VirtualDiskArgs Empty => new VirtualDiskArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/InventoryItem.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/InventoryItem.cs new file mode 100644 index 000000000000..f3e0d4c6b3a0 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/InventoryItem.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Defines the inventory item. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:InventoryItem")] + public partial class InventoryItem : global::Pulumi.CustomResource + { + /// + /// They inventory type. + /// + [Output("inventoryType")] + public Output InventoryType { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the tracked resource id corresponding to the inventory resource. + /// + [Output("managedResourceId")] + public Output ManagedResourceId { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the inventory item. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a InventoryItem 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 InventoryItem(string name, InventoryItemArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:InventoryItem", name, args ?? new InventoryItemArgs(), MakeResourceOptions(options, "")) + { + } + + private InventoryItem(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:InventoryItem", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem"}, + }, + }; + 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 InventoryItem 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. + /// A bag of options that control this resource's behavior + public static InventoryItem Get(string name, Input id, CustomResourceOptions? options = null) + { + return new InventoryItem(name, id, options); + } + } + + public sealed class InventoryItemArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the inventoryItem. + /// + [Input("inventoryItemName")] + public Input? InventoryItemName { get; set; } + + /// + /// They inventory type. + /// + [Input("inventoryType", required: true)] + public InputUnion InventoryType { get; set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the tracked resource id corresponding to the inventory resource. + /// + [Input("managedResourceId")] + public Input? ManagedResourceId { get; set; } + + /// + /// Gets or sets the vCenter Managed Object name for the inventory item. + /// + [Input("moName")] + public Input? MoName { get; set; } + + /// + /// Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the vCenter. + /// + [Input("vcenterName", required: true)] + public Input VcenterName { get; set; } = null!; + + public InventoryItemArgs() + { + } + public static new InventoryItemArgs Empty => new InventoryItemArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/ExtendedLocationResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/ExtendedLocationResponse.cs new file mode 100644 index 000000000000..74270bc7494f --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/ExtendedLocationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// The extended location. + /// + [OutputType] + public sealed class ExtendedLocationResponse + { + /// + /// The extended location name. + /// + public readonly string? Name; + /// + /// The extended location type. + /// + public readonly string? Type; + + [OutputConstructor] + private ExtendedLocationResponse( + string? name, + + string? type) + { + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/GuestCredentialResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/GuestCredentialResponse.cs new file mode 100644 index 000000000000..7225d7d215ce --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/GuestCredentialResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Username / Password Credentials to connect to guest. + /// + [OutputType] + public sealed class GuestCredentialResponse + { + /// + /// Gets or sets username to connect with the guest. + /// + public readonly string? Username; + + [OutputConstructor] + private GuestCredentialResponse(string? username) + { + Username = username; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/HardwareProfileResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/HardwareProfileResponse.cs new file mode 100644 index 000000000000..de2c4387bcf1 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/HardwareProfileResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the hardware settings for the virtual machine. + /// + [OutputType] + public sealed class HardwareProfileResponse + { + /// + /// Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running. + /// + public readonly bool CpuHotAddEnabled; + /// + /// Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running. + /// + public readonly bool CpuHotRemoveEnabled; + /// + /// Gets or sets a value indicating whether memory can be added while this virtual machine is running. + /// + public readonly bool MemoryHotAddEnabled; + /// + /// Gets or sets memory size in MBs for the vm. + /// + public readonly int? MemorySizeMB; + /// + /// Gets or sets the number of vCPUs for the vm. + /// + public readonly int? NumCPUs; + /// + /// Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + /// + public readonly int? NumCoresPerSocket; + + [OutputConstructor] + private HardwareProfileResponse( + bool cpuHotAddEnabled, + + bool cpuHotRemoveEnabled, + + bool memoryHotAddEnabled, + + int? memorySizeMB, + + int? numCPUs, + + int? numCoresPerSocket) + { + CpuHotAddEnabled = cpuHotAddEnabled; + CpuHotRemoveEnabled = cpuHotRemoveEnabled; + MemoryHotAddEnabled = memoryHotAddEnabled; + MemorySizeMB = memorySizeMB; + NumCPUs = numCPUs; + NumCoresPerSocket = numCoresPerSocket; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/HttpProxyConfigurationResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/HttpProxyConfigurationResponse.cs new file mode 100644 index 000000000000..c379271b2c74 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/HttpProxyConfigurationResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// HTTP Proxy configuration for the VM. + /// + [OutputType] + public sealed class HttpProxyConfigurationResponse + { + /// + /// Gets or sets httpsProxy url. + /// + public readonly string? HttpsProxy; + + [OutputConstructor] + private HttpProxyConfigurationResponse(string? httpsProxy) + { + HttpsProxy = httpsProxy; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/InfrastructureProfileResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/InfrastructureProfileResponse.cs new file mode 100644 index 000000000000..2f403086537f --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/InfrastructureProfileResponse.cs @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the vCenter infrastructure specific settings for the virtual machine. + /// + [OutputType] + public sealed class InfrastructureProfileResponse + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + public readonly string CustomResourceName; + /// + /// Firmware type + /// + public readonly string? FirmwareType; + /// + /// Gets or sets the folder path of the vm. + /// + public readonly string FolderPath; + /// + /// Gets or sets the instance uuid of the vm. + /// + public readonly string InstanceUuid; + /// + /// Gets or sets the inventory Item ID for the virtual machine. + /// + public readonly string? InventoryItemId; + /// + /// Gets or sets the vCenter Managed Object name for the virtual machine. + /// + public readonly string MoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. + /// + public readonly string MoRefId; + /// + /// Gets or sets the SMBIOS UUID of the vm. + /// + public readonly string? SmbiosUuid; + /// + /// Gets or sets the ARM Id of the template resource to deploy the virtual machine. + /// + public readonly string? TemplateId; + /// + /// Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + /// + public readonly string? VCenterId; + + [OutputConstructor] + private InfrastructureProfileResponse( + string customResourceName, + + string? firmwareType, + + string folderPath, + + string instanceUuid, + + string? inventoryItemId, + + string moName, + + string moRefId, + + string? smbiosUuid, + + string? templateId, + + string? vCenterId) + { + CustomResourceName = customResourceName; + FirmwareType = firmwareType; + FolderPath = folderPath; + InstanceUuid = instanceUuid; + InventoryItemId = inventoryItemId; + MoName = moName; + MoRefId = moRefId; + SmbiosUuid = smbiosUuid; + TemplateId = templateId; + VCenterId = vCenterId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NetworkInterfaceResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NetworkInterfaceResponse.cs new file mode 100644 index 000000000000..3bd4d574e2f1 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NetworkInterfaceResponse.cs @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Network Interface model + /// + [OutputType] + public sealed class NetworkInterfaceResponse + { + /// + /// Gets or sets the device key value. + /// + public readonly int? DeviceKey; + /// + /// Gets or sets the nic ip addresses. + /// + public readonly ImmutableArray IpAddresses; + /// + /// Gets or sets the ipsettings. + /// + public readonly Outputs.NicIPSettingsResponse? IpSettings; + /// + /// Gets or sets the label of the virtual network in vCenter that the nic is connected to. + /// + public readonly string Label; + /// + /// Gets or sets the NIC MAC address. + /// + public readonly string MacAddress; + /// + /// Gets or sets the name of the network interface. + /// + public readonly string? Name; + /// + /// Gets or sets the ARM Id of the network resource to connect the virtual machine. + /// + public readonly string? NetworkId; + /// + /// Gets or sets the name of the virtual network in vCenter that the nic is connected to. + /// + public readonly string NetworkMoName; + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network + /// that the nic is connected to. + /// + public readonly string NetworkMoRefId; + /// + /// NIC type + /// + public readonly string? NicType; + /// + /// Gets or sets the power on boot. + /// + public readonly string? PowerOnBoot; + + [OutputConstructor] + private NetworkInterfaceResponse( + int? deviceKey, + + ImmutableArray ipAddresses, + + Outputs.NicIPSettingsResponse? ipSettings, + + string label, + + string macAddress, + + string? name, + + string? networkId, + + string networkMoName, + + string networkMoRefId, + + string? nicType, + + string? powerOnBoot) + { + DeviceKey = deviceKey; + IpAddresses = ipAddresses; + IpSettings = ipSettings; + Label = label; + MacAddress = macAddress; + Name = name; + NetworkId = networkId; + NetworkMoName = networkMoName; + NetworkMoRefId = networkMoRefId; + NicType = nicType; + PowerOnBoot = powerOnBoot; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NetworkProfileResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NetworkProfileResponse.cs new file mode 100644 index 000000000000..b03906308820 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NetworkProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the network interfaces of the virtual machine. + /// + [OutputType] + public sealed class NetworkProfileResponse + { + /// + /// Gets or sets the list of network interfaces associated with the virtual machine. + /// + public readonly ImmutableArray NetworkInterfaces; + + [OutputConstructor] + private NetworkProfileResponse(ImmutableArray networkInterfaces) + { + NetworkInterfaces = networkInterfaces; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NicIPAddressSettingsResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NicIPAddressSettingsResponse.cs new file mode 100644 index 000000000000..da0422e8607f --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NicIPAddressSettingsResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// IP address information for a virtual network adapter reported by the fabric. + /// + [OutputType] + public sealed class NicIPAddressSettingsResponse + { + /// + /// Gets the ip address allocation method. + /// + public readonly string AllocationMethod; + /// + /// Gets the ip address for the nic. + /// + public readonly string IpAddress; + /// + /// Gets the mask. + /// + public readonly string SubnetMask; + + [OutputConstructor] + private NicIPAddressSettingsResponse( + string allocationMethod, + + string ipAddress, + + string subnetMask) + { + AllocationMethod = allocationMethod; + IpAddress = ipAddress; + SubnetMask = subnetMask; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NicIPSettingsResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NicIPSettingsResponse.cs new file mode 100644 index 000000000000..111bea9a2926 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/NicIPSettingsResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Defines the network interface ip settings. + /// + [OutputType] + public sealed class NicIPSettingsResponse + { + /// + /// Gets or sets the nic allocation method. + /// + public readonly string? AllocationMethod; + /// + /// Gets or sets the dns servers. + /// + public readonly ImmutableArray DnsServers; + /// + /// Gets or sets the gateway. + /// + public readonly ImmutableArray Gateway; + /// + /// Gets or sets the ip address for the nic. + /// + public readonly string? IpAddress; + /// + /// Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information. + /// + public readonly ImmutableArray IpAddressInfo; + /// + /// Gets or sets the primary server. + /// + public readonly string PrimaryWinsServer; + /// + /// Gets or sets the secondary server. + /// + public readonly string SecondaryWinsServer; + /// + /// Gets or sets the mask. + /// + public readonly string? SubnetMask; + + [OutputConstructor] + private NicIPSettingsResponse( + string? allocationMethod, + + ImmutableArray dnsServers, + + ImmutableArray gateway, + + string? ipAddress, + + ImmutableArray ipAddressInfo, + + string primaryWinsServer, + + string secondaryWinsServer, + + string? subnetMask) + { + AllocationMethod = allocationMethod; + DnsServers = dnsServers; + Gateway = gateway; + IpAddress = ipAddress; + IpAddressInfo = ipAddressInfo; + PrimaryWinsServer = primaryWinsServer; + SecondaryWinsServer = secondaryWinsServer; + SubnetMask = subnetMask; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/OsProfileForVMInstanceResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/OsProfileForVMInstanceResponse.cs new file mode 100644 index 000000000000..7f193a1473b4 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/OsProfileForVMInstanceResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the operating system settings for the virtual machine. + /// + [OutputType] + public sealed class OsProfileForVMInstanceResponse + { + /// + /// Gets or sets administrator username. + /// + public readonly string? AdminUsername; + /// + /// Gets or sets computer name. + /// + public readonly string? ComputerName; + /// + /// Gets or sets the guestId. + /// + public readonly string? GuestId; + /// + /// Gets or sets os sku. + /// + public readonly string OsSku; + /// + /// Gets or sets the type of the os. + /// + public readonly string? OsType; + /// + /// Gets or sets the current running status of VMware Tools running in the guest operating system. + /// + public readonly string ToolsRunningStatus; + /// + /// Gets or sets the current version of VMware Tools. + /// + public readonly string ToolsVersion; + /// + /// Gets or sets the current version status of VMware Tools installed in the guest operating system. + /// + public readonly string ToolsVersionStatus; + + [OutputConstructor] + private OsProfileForVMInstanceResponse( + string? adminUsername, + + string? computerName, + + string? guestId, + + string osSku, + + string? osType, + + string toolsRunningStatus, + + string toolsVersion, + + string toolsVersionStatus) + { + AdminUsername = adminUsername; + ComputerName = computerName; + GuestId = guestId; + OsSku = osSku; + OsType = osType; + ToolsRunningStatus = toolsRunningStatus; + ToolsVersion = toolsVersion; + ToolsVersionStatus = toolsVersionStatus; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/PlacementProfileResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/PlacementProfileResponse.cs new file mode 100644 index 000000000000..52b08382e462 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/PlacementProfileResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the compute and storage placement settings for the virtual machine. + /// + [OutputType] + public sealed class PlacementProfileResponse + { + /// + /// Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + /// + public readonly string? ClusterId; + /// + /// Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + /// + public readonly string? DatastoreId; + /// + /// Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + /// + public readonly string? HostId; + /// + /// Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + /// + public readonly string? ResourcePoolId; + + [OutputConstructor] + private PlacementProfileResponse( + string? clusterId, + + string? datastoreId, + + string? hostId, + + string? resourcePoolId) + { + ClusterId = clusterId; + DatastoreId = datastoreId; + HostId = hostId; + ResourcePoolId = resourcePoolId; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/ResourceStatusResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/ResourceStatusResponse.cs new file mode 100644 index 000000000000..30082092b204 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/ResourceStatusResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// The resource status information. + /// + [OutputType] + public sealed class ResourceStatusResponse + { + /// + /// The last update time for this condition. + /// + public readonly string LastUpdatedAt; + /// + /// A human readable message indicating details about the status. + /// + public readonly string Message; + /// + /// The reason for the condition's status. + /// + public readonly string Reason; + /// + /// Severity with which to treat failures of this type of condition. + /// + public readonly string Severity; + /// + /// Status of the condition. + /// + public readonly string Status; + /// + /// The type of the condition. + /// + public readonly string Type; + + [OutputConstructor] + private ResourceStatusResponse( + string lastUpdatedAt, + + string message, + + string reason, + + string severity, + + string status, + + string type) + { + LastUpdatedAt = lastUpdatedAt; + Message = message; + Reason = reason; + Severity = severity; + Status = status; + Type = type; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/SecurityProfileResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/SecurityProfileResponse.cs new file mode 100644 index 000000000000..f0d393e346cf --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/SecurityProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the Security profile settings for the virtual machine. + /// + [OutputType] + public sealed class SecurityProfileResponse + { + /// + /// Specifies the security settings like secure boot used while creating the virtual machine. + /// + public readonly Outputs.UefiSettingsResponse? UefiSettings; + + [OutputConstructor] + private SecurityProfileResponse(Outputs.UefiSettingsResponse? uefiSettings) + { + UefiSettings = uefiSettings; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/StorageProfileResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/StorageProfileResponse.cs new file mode 100644 index 000000000000..015b6b8cd2fa --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/StorageProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the storage settings for the virtual machine disks. + /// + [OutputType] + public sealed class StorageProfileResponse + { + /// + /// Gets or sets the list of virtual disks associated with the virtual machine. + /// + public readonly ImmutableArray Disks; + /// + /// Gets or sets the list of virtual SCSI controllers associated with the virtual machine. + /// + public readonly ImmutableArray ScsiControllers; + + [OutputConstructor] + private StorageProfileResponse( + ImmutableArray disks, + + ImmutableArray scsiControllers) + { + Disks = disks; + ScsiControllers = scsiControllers; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/SystemDataResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..e4bd45de77ac --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/UefiSettingsResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/UefiSettingsResponse.cs new file mode 100644 index 000000000000..49292f72234c --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/UefiSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Specifies the security settings like secure boot used while creating the virtual machine. + /// + [OutputType] + public sealed class UefiSettingsResponse + { + /// + /// Specifies whether secure boot should be enabled on the virtual machine. + /// + public readonly bool? SecureBootEnabled; + + [OutputConstructor] + private UefiSettingsResponse(bool? secureBootEnabled) + { + SecureBootEnabled = secureBootEnabled; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VICredentialResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VICredentialResponse.cs new file mode 100644 index 000000000000..35b95fbcfbab --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VICredentialResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Username / Password Credentials to connect to vcenter. + /// + [OutputType] + public sealed class VICredentialResponse + { + /// + /// Gets or sets username to connect with the vCenter. + /// + public readonly string? Username; + + [OutputConstructor] + private VICredentialResponse(string? username) + { + Username = username; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VirtualDiskResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VirtualDiskResponse.cs new file mode 100644 index 000000000000..0542cec99dab --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VirtualDiskResponse.cs @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// Virtual disk model + /// + [OutputType] + public sealed class VirtualDiskResponse + { + /// + /// Gets or sets the controller id. + /// + public readonly int? ControllerKey; + /// + /// Gets or sets the device key value. + /// + public readonly int? DeviceKey; + /// + /// Gets or sets the device name. + /// + public readonly string? DeviceName; + /// + /// Gets or sets the disk mode. + /// + public readonly string? DiskMode; + /// + /// Gets or sets the disk object id. + /// + public readonly string DiskObjectId; + /// + /// Gets or sets the disk total size. + /// + public readonly int? DiskSizeGB; + /// + /// Gets or sets the disk backing type. + /// + public readonly string? DiskType; + /// + /// Gets or sets the label of the virtual disk in vCenter. + /// + public readonly string Label; + /// + /// Gets or sets the name of the virtual disk. + /// + public readonly string? Name; + /// + /// Gets or sets the unit number of the disk on the controller. + /// + public readonly int? UnitNumber; + + [OutputConstructor] + private VirtualDiskResponse( + int? controllerKey, + + int? deviceKey, + + string? deviceName, + + string? diskMode, + + string diskObjectId, + + int? diskSizeGB, + + string? diskType, + + string label, + + string? name, + + int? unitNumber) + { + ControllerKey = controllerKey; + DeviceKey = deviceKey; + DeviceName = deviceName; + DiskMode = diskMode; + DiskObjectId = diskObjectId; + DiskSizeGB = diskSizeGB; + DiskType = diskType; + Label = label; + Name = name; + UnitNumber = unitNumber; + } + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VirtualSCSIControllerResponse.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VirtualSCSIControllerResponse.cs new file mode 100644 index 000000000000..90046fd6c1a0 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/Outputs/VirtualSCSIControllerResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001.Outputs +{ + + /// + /// This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. + /// + [OutputType] + public sealed class VirtualSCSIControllerResponse + { + /// + /// Gets or sets the bus number of the controller. + /// + public readonly int? BusNumber; + /// + /// Gets or sets the key of the controller. + /// + public readonly int? ControllerKey; + /// + /// Gets or sets the SCSI controller unit number. + /// + public readonly int? ScsiCtlrUnitNumber; + /// + /// Gets or sets the sharing mode. + /// + public readonly string? Sharing; + /// + /// Gets or sets the controller type. + /// + public readonly string? Type; + + [OutputConstructor] + private VirtualSCSIControllerResponse( + int? busNumber, + + int? controllerKey, + + int? scsiCtlrUnitNumber, + + string? sharing, + + string? type) + { + BusNumber = busNumber; + ControllerKey = controllerKey; + ScsiCtlrUnitNumber = scsiCtlrUnitNumber; + Sharing = sharing; + Type = type; + } + } +} diff --git a/sdk/dotnet/IoTSecurity/README.md b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/README.md similarity index 100% rename from sdk/dotnet/IoTSecurity/README.md rename to sdk/dotnet/ConnectedVMwarevSphere/V20231001/README.md diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/ResourcePool.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/ResourcePool.cs new file mode 100644 index 000000000000..85f280c791b1 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/ResourcePool.cs @@ -0,0 +1,304 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the resourcePool. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:ResourcePool")] + public partial class ResourcePool : global::Pulumi.CustomResource + { + /// + /// Gets the max CPU usage across all cores on the pool in MHz. + /// + [Output("cpuCapacityMHz")] + public Output CpuCapacityMHz { get; private set; } = null!; + + /// + /// Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. + /// Utilization will not exceed this limit even if there are available resources. + /// + [Output("cpuLimitMHz")] + public Output CpuLimitMHz { get; private set; } = null!; + + /// + /// Gets the used CPU usage across all cores on the pool in MHz. + /// + [Output("cpuOverallUsageMHz")] + public Output CpuOverallUsageMHz { get; private set; } = null!; + + /// + /// Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed + /// to be available. + /// + [Output("cpuReservationMHz")] + public Output CpuReservationMHz { get; private set; } = null!; + + /// + /// Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. + /// This property is used in relative allocation between resource consumers. + /// + [Output("cpuSharesLevel")] + public Output CpuSharesLevel { get; private set; } = null!; + + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets the datastore ARM ids. + /// + [Output("datastoreIds")] + public Output> DatastoreIds { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Gets or sets the inventory Item ID for the resource pool. + /// + [Output("inventoryItemId")] + public Output InventoryItemId { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets the total amount of physical memory on the pool in GB. + /// + [Output("memCapacityGB")] + public Output MemCapacityGB { get; private set; } = null!; + + /// + /// Gets or sets MemLimitMB specifies a memory usage limit in megabytes. + /// Utilization will not exceed the specified limit even if there are available resources. + /// + [Output("memLimitMB")] + public Output MemLimitMB { get; private set; } = null!; + + /// + /// Gets the used physical memory on the pool in GB. + /// + [Output("memOverallUsageGB")] + public Output MemOverallUsageGB { get; private set; } = null!; + + /// + /// Gets or sets MemReservationMB which specifies the guaranteed available memory in + /// megabytes. + /// + [Output("memReservationMB")] + public Output MemReservationMB { get; private set; } = null!; + + /// + /// Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. + /// This property is used in relative allocation between resource consumers. + /// + [Output("memSharesLevel")] + public Output MemSharesLevel { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the resource pool. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets the network ARM ids. + /// + [Output("networkIds")] + public Output> NetworkIds { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + /// + [Output("vCenterId")] + public Output VCenterId { get; private set; } = null!; + + + /// + /// Create a ResourcePool 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 ResourcePool(string name, ResourcePoolArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:ResourcePool", name, args ?? new ResourcePoolArgs(), MakeResourceOptions(options, "")) + { + } + + private ResourcePool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:ResourcePool", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool"}, + }, + }; + 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 ResourcePool 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. + /// A bag of options that control this resource's behavior + public static ResourcePool Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ResourcePool(name, id, options); + } + } + + public sealed class ResourcePoolArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Gets or sets the inventory Item ID for the resource pool. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the resourcePool. + /// + [Input("resourcePoolName")] + public Input? ResourcePoolName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + public ResourcePoolArgs() + { + } + public static new ResourcePoolArgs Empty => new ResourcePoolArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VCenter.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VCenter.cs new file mode 100644 index 000000000000..88e9e9560172 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VCenter.cs @@ -0,0 +1,238 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Defines the vCenter. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:VCenter")] + public partial class VCenter : global::Pulumi.CustomResource + { + /// + /// Gets or sets the connection status to the vCenter. + /// + [Output("connectionStatus")] + public Output ConnectionStatus { get; private set; } = null!; + + /// + /// Username / Password Credentials to connect to vcenter. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Gets or sets the FQDN/IPAddress of the vCenter. + /// + [Output("fqdn")] + public Output Fqdn { get; private set; } = null!; + + /// + /// Gets or sets the instance UUID of the vCenter. + /// + [Output("instanceUuid")] + public Output InstanceUuid { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets or sets the port of the vCenter. + /// + [Output("port")] + public Output Port { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the version of the vCenter. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a VCenter 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 VCenter(string name, VCenterArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VCenter", name, args ?? new VCenterArgs(), MakeResourceOptions(options, "")) + { + } + + private VCenter(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VCenter", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VCenter"}, + }, + }; + 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 VCenter 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. + /// A bag of options that control this resource's behavior + public static VCenter Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VCenter(name, id, options); + } + } + + public sealed class VCenterArgs : global::Pulumi.ResourceArgs + { + /// + /// Username / Password Credentials to connect to vcenter. + /// + [Input("credentials")] + public Input? Credentials { get; set; } + + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Gets or sets the FQDN/IPAddress of the vCenter. + /// + [Input("fqdn", required: true)] + public Input Fqdn { get; set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the port of the vCenter. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Name of the vCenter. + /// + [Input("vcenterName")] + public Input? VcenterName { get; set; } + + public VCenterArgs() + { + } + public static new VCenterArgs Empty => new VCenterArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VMInstanceGuestAgent.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VMInstanceGuestAgent.cs new file mode 100644 index 000000000000..5eb32e0c66e7 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VMInstanceGuestAgent.cs @@ -0,0 +1,175 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Defines the GuestAgent. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent")] + public partial class VMInstanceGuestAgent : global::Pulumi.CustomResource + { + /// + /// Username / Password Credentials to provision guest agent. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// HTTP Proxy configuration for the VM. + /// + [Output("httpProxyConfig")] + public Output HttpProxyConfig { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource id of the private link scope this machine is assigned to, if any. + /// + [Output("privateLinkScopeResourceId")] + public Output PrivateLinkScopeResourceId { get; private set; } = null!; + + /// + /// Gets or sets the guest agent provisioning action. + /// + [Output("provisioningAction")] + public Output ProvisioningAction { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Gets or sets the guest agent status. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + + /// + /// Create a VMInstanceGuestAgent 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 VMInstanceGuestAgent(string name, VMInstanceGuestAgentArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent", name, args ?? new VMInstanceGuestAgentArgs(), MakeResourceOptions(options, "")) + { + } + + private VMInstanceGuestAgent(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VMInstanceGuestAgent"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent"}, + }, + }; + 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 VMInstanceGuestAgent 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. + /// A bag of options that control this resource's behavior + public static VMInstanceGuestAgent Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VMInstanceGuestAgent(name, id, options); + } + } + + public sealed class VMInstanceGuestAgentArgs : global::Pulumi.ResourceArgs + { + /// + /// Username / Password Credentials to provision guest agent. + /// + [Input("credentials")] + public Input? Credentials { get; set; } + + /// + /// HTTP Proxy configuration for the VM. + /// + [Input("httpProxyConfig")] + public Input? HttpProxyConfig { get; set; } + + /// + /// The resource id of the private link scope this machine is assigned to, if any. + /// + [Input("privateLinkScopeResourceId")] + public Input? PrivateLinkScopeResourceId { get; set; } + + /// + /// Gets or sets the guest agent provisioning action. + /// + [Input("provisioningAction")] + public InputUnion? ProvisioningAction { get; set; } + + /// + /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + public VMInstanceGuestAgentArgs() + { + } + public static new VMInstanceGuestAgentArgs Empty => new VMInstanceGuestAgentArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualMachineInstance.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualMachineInstance.cs new file mode 100644 index 000000000000..8b26efd5766d --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualMachineInstance.cs @@ -0,0 +1,217 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the virtualMachineInstance. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance")] + public partial class VirtualMachineInstance : global::Pulumi.CustomResource + { + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Hardware properties. + /// + [Output("hardwareProfile")] + public Output HardwareProfile { get; private set; } = null!; + + /// + /// Gets the infrastructure profile. + /// + [Output("infrastructureProfile")] + public Output InfrastructureProfile { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Network properties. + /// + [Output("networkProfile")] + public Output NetworkProfile { get; private set; } = null!; + + /// + /// OS properties. + /// + [Output("osProfile")] + public Output OsProfile { get; private set; } = null!; + + /// + /// Placement properties. + /// + [Output("placementProfile")] + public Output PlacementProfile { get; private set; } = null!; + + /// + /// Gets the power state of the virtual machine. + /// + [Output("powerState")] + public Output PowerState { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for the vm resource. + /// + [Output("resourceUid")] + public Output ResourceUid { get; private set; } = null!; + + /// + /// Gets the security profile. + /// + [Output("securityProfile")] + public Output SecurityProfile { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// Storage properties. + /// + [Output("storageProfile")] + public Output StorageProfile { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a VirtualMachineInstance 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 VirtualMachineInstance(string name, VirtualMachineInstanceArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance", name, args ?? new VirtualMachineInstanceArgs(), MakeResourceOptions(options, "")) + { + } + + private VirtualMachineInstance(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VirtualMachineInstance"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance"}, + }, + }; + 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 VirtualMachineInstance 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. + /// A bag of options that control this resource's behavior + public static VirtualMachineInstance Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VirtualMachineInstance(name, id, options); + } + } + + public sealed class VirtualMachineInstanceArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Hardware properties. + /// + [Input("hardwareProfile")] + public Input? HardwareProfile { get; set; } + + /// + /// Gets the infrastructure profile. + /// + [Input("infrastructureProfile")] + public Input? InfrastructureProfile { get; set; } + + /// + /// Network properties. + /// + [Input("networkProfile")] + public Input? NetworkProfile { get; set; } + + /// + /// OS properties. + /// + [Input("osProfile")] + public Input? OsProfile { get; set; } + + /// + /// Placement properties. + /// + [Input("placementProfile")] + public Input? PlacementProfile { get; set; } + + /// + /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + /// + /// Gets the security profile. + /// + [Input("securityProfile")] + public Input? SecurityProfile { get; set; } + + /// + /// Storage properties. + /// + [Input("storageProfile")] + public Input? StorageProfile { get; set; } + + public VirtualMachineInstanceArgs() + { + } + public static new VirtualMachineInstanceArgs Empty => new VirtualMachineInstanceArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualMachineTemplate.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualMachineTemplate.cs new file mode 100644 index 000000000000..fcf4d4d87861 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualMachineTemplate.cs @@ -0,0 +1,295 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the virtualMachineTemplate. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate")] + public partial class VirtualMachineTemplate : global::Pulumi.CustomResource + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets or sets the disks the template. + /// + [Output("disks")] + public Output> Disks { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Firmware type + /// + [Output("firmwareType")] + public Output FirmwareType { get; private set; } = null!; + + /// + /// Gets or sets the folder path of the template. + /// + [Output("folderPath")] + public Output FolderPath { get; private set; } = null!; + + /// + /// Gets or sets the inventory Item ID for the virtual machine template. + /// + [Output("inventoryItemId")] + public Output InventoryItemId { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets or sets memory size in MBs for the template. + /// + [Output("memorySizeMB")] + public Output MemorySizeMB { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the virtual machine template. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + /// template. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets or sets the network interfaces of the template. + /// + [Output("networkInterfaces")] + public Output> NetworkInterfaces { get; private set; } = null!; + + /// + /// Gets or sets the number of vCPUs for the template. + /// + [Output("numCPUs")] + public Output NumCPUs { get; private set; } = null!; + + /// + /// Gets or sets the number of cores per socket for the template. + /// Defaults to 1 if unspecified. + /// + [Output("numCoresPerSocket")] + public Output NumCoresPerSocket { get; private set; } = null!; + + /// + /// Gets or sets os name. + /// + [Output("osName")] + public Output OsName { get; private set; } = null!; + + /// + /// Gets or sets the type of the os. + /// + [Output("osType")] + public Output OsType { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets or sets the current version of VMware Tools. + /// + [Output("toolsVersion")] + public Output ToolsVersion { get; private set; } = null!; + + /// + /// Gets or sets the current version status of VMware Tools installed in the guest operating system. + /// + [Output("toolsVersionStatus")] + public Output ToolsVersionStatus { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this template resides. + /// + [Output("vCenterId")] + public Output VCenterId { get; private set; } = null!; + + + /// + /// Create a VirtualMachineTemplate 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 VirtualMachineTemplate(string name, VirtualMachineTemplateArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate", name, args ?? new VirtualMachineTemplateArgs(), MakeResourceOptions(options, "")) + { + } + + private VirtualMachineTemplate(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate"}, + }, + }; + 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 VirtualMachineTemplate 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. + /// A bag of options that control this resource's behavior + public static VirtualMachineTemplate Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VirtualMachineTemplate(name, id, options); + } + } + + public sealed class VirtualMachineTemplateArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Gets or sets the inventory Item ID for the virtual machine template. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + /// template. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this template resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + /// + /// Name of the virtual machine template resource. + /// + [Input("virtualMachineTemplateName")] + public Input? VirtualMachineTemplateName { get; set; } + + public VirtualMachineTemplateArgs() + { + } + public static new VirtualMachineTemplateArgs Empty => new VirtualMachineTemplateArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualNetwork.cs b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualNetwork.cs new file mode 100644 index 000000000000..7aa8cfb2ff11 --- /dev/null +++ b/sdk/dotnet/ConnectedVMwarevSphere/V20231001/VirtualNetwork.cs @@ -0,0 +1,226 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ConnectedVMwarevSphere.V20231001 +{ + /// + /// Define the virtualNetwork. + /// + [AzureNativeResourceType("azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork")] + public partial class VirtualNetwork : global::Pulumi.CustomResource + { + /// + /// Gets the name of the corresponding resource in Kubernetes. + /// + [Output("customResourceName")] + public Output CustomResourceName { get; private set; } = null!; + + /// + /// Gets or sets the extended location. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Gets or sets the inventory Item ID for the virtual network. + /// + [Output("inventoryItemId")] + public Output InventoryItemId { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Gets or sets the vCenter Managed Object name for the virtual network. + /// + [Output("moName")] + public Output MoName { get; private set; } = null!; + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + /// + [Output("moRefId")] + public Output MoRefId { get; private set; } = null!; + + /// + /// Gets or sets the name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Gets the provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource status information. + /// + [Output("statuses")] + public Output> Statuses { get; private set; } = null!; + + /// + /// The system data. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Gets or sets the Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Gets or sets the type of the resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Gets or sets a unique identifier for this resource. + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this template resides. + /// + [Output("vCenterId")] + public Output VCenterId { get; private set; } = null!; + + + /// + /// Create a VirtualNetwork 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 VirtualNetwork(string name, VirtualNetworkArgs args, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork", name, args ?? new VirtualNetworkArgs(), MakeResourceOptions(options, "")) + { + } + + private VirtualNetwork(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork"}, + }, + }; + 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 VirtualNetwork 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. + /// A bag of options that control this resource's behavior + public static VirtualNetwork Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VirtualNetwork(name, id, options); + } + } + + public sealed class VirtualNetworkArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the extended location. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Gets or sets the inventory Item ID for the virtual network. + /// + [Input("inventoryItemId")] + public Input? InventoryItemId { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// Gets or sets the location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + /// + [Input("moRefId")] + public Input? MoRefId { get; set; } + + /// + /// The Resource Group Name. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Gets or sets the Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Gets or sets the ARM Id of the vCenter resource in which this template resides. + /// + [Input("vCenterId")] + public Input? VCenterId { get; set; } + + /// + /// Name of the virtual network resource. + /// + [Input("virtualNetworkName")] + public Input? VirtualNetworkName { get; set; } + + public VirtualNetworkArgs() + { + } + public static new VirtualNetworkArgs Empty => new VirtualNetworkArgs(); + } +} diff --git a/sdk/dotnet/ConnectedVMwarevSphere/VCenter.cs b/sdk/dotnet/ConnectedVMwarevSphere/VCenter.cs index 7a8e200d748c..a164cf7ab4e2 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/VCenter.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/VCenter.cs @@ -147,6 +147,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VCenter"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VCenter"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VCenter"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/VMInstanceGuestAgent.cs b/sdk/dotnet/ConnectedVMwarevSphere/VMInstanceGuestAgent.cs index 5855a37a922b..04a2a6d085dc 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/VMInstanceGuestAgent.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/VMInstanceGuestAgent.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineInstance.cs b/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineInstance.cs index 6f140b16585c..79718ef3964f 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineInstance.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineInstance.cs @@ -132,6 +132,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineTemplate.cs b/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineTemplate.cs index 4820cd54f45d..e29c7139ff52 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineTemplate.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/VirtualMachineTemplate.cs @@ -203,6 +203,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ConnectedVMwarevSphere/VirtualNetwork.cs b/sdk/dotnet/ConnectedVMwarevSphere/VirtualNetwork.cs index 6fbca09146b0..ac6669284577 100644 --- a/sdk/dotnet/ConnectedVMwarevSphere/VirtualNetwork.cs +++ b/sdk/dotnet/ConnectedVMwarevSphere/VirtualNetwork.cs @@ -135,6 +135,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"}, new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork"}, + new global::Pulumi.Alias { Type = "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerRegistry/BuildStep.cs b/sdk/dotnet/ContainerRegistry/BuildStep.cs deleted file mode 100644 index 32145404aa58..000000000000 --- a/sdk/dotnet/ContainerRegistry/BuildStep.cs +++ /dev/null @@ -1,115 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - /// - /// Build step resource properties - /// Azure REST API version: 2018-02-01-preview. - /// - [AzureNativeResourceType("azure-native:containerregistry:BuildStep")] - public partial class BuildStep : global::Pulumi.CustomResource - { - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The properties of a build step. - /// - [Output("properties")] - public Output Properties { get; private set; } = null!; - - /// - /// The type of the resource. - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a BuildStep 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 BuildStep(string name, BuildStepArgs args, CustomResourceOptions? options = null) - : base("azure-native:containerregistry:BuildStep", name, args ?? new BuildStepArgs(), MakeResourceOptions(options, "")) - { - } - - private BuildStep(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:containerregistry:BuildStep", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180201preview:BuildStep"}, - }, - }; - 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 BuildStep 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. - /// A bag of options that control this resource's behavior - public static BuildStep Get(string name, Input id, CustomResourceOptions? options = null) - { - return new BuildStep(name, id, options); - } - } - - public sealed class BuildStepArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName")] - public Input? StepName { get; set; } - - public BuildStepArgs() - { - } - public static new BuildStepArgs Empty => new BuildStepArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/GetBuildLogLink.cs b/sdk/dotnet/ContainerRegistry/GetBuildLogLink.cs deleted file mode 100644 index eff546e22619..000000000000 --- a/sdk/dotnet/ContainerRegistry/GetBuildLogLink.cs +++ /dev/null @@ -1,97 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - public static class GetBuildLogLink - { - /// - /// Gets a link to download the build logs. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Task InvokeAsync(GetBuildLogLinkArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry:getBuildLogLink", args ?? new GetBuildLogLinkArgs(), options.WithDefaults()); - - /// - /// Gets a link to download the build logs. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Output Invoke(GetBuildLogLinkInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry:getBuildLogLink", args ?? new GetBuildLogLinkInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetBuildLogLinkArgs : global::Pulumi.InvokeArgs - { - /// - /// The build ID. - /// - [Input("buildId", required: true)] - public string BuildId { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetBuildLogLinkArgs() - { - } - public static new GetBuildLogLinkArgs Empty => new GetBuildLogLinkArgs(); - } - - public sealed class GetBuildLogLinkInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The build ID. - /// - [Input("buildId", required: true)] - public Input BuildId { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetBuildLogLinkInvokeArgs() - { - } - public static new GetBuildLogLinkInvokeArgs Empty => new GetBuildLogLinkInvokeArgs(); - } - - - [OutputType] - public sealed class GetBuildLogLinkResult - { - /// - /// The link to logs for a azure container registry build. - /// - public readonly string? LogLink; - - [OutputConstructor] - private GetBuildLogLinkResult(string? logLink) - { - LogLink = logLink; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/GetBuildStep.cs b/sdk/dotnet/ContainerRegistry/GetBuildStep.cs deleted file mode 100644 index 7141ec60da99..000000000000 --- a/sdk/dotnet/ContainerRegistry/GetBuildStep.cs +++ /dev/null @@ -1,131 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - public static class GetBuildStep - { - /// - /// Gets the build step for a build task. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Task InvokeAsync(GetBuildStepArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry:getBuildStep", args ?? new GetBuildStepArgs(), options.WithDefaults()); - - /// - /// Gets the build step for a build task. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Output Invoke(GetBuildStepInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry:getBuildStep", args ?? new GetBuildStepInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetBuildStepArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public string StepName { get; set; } = null!; - - public GetBuildStepArgs() - { - } - public static new GetBuildStepArgs Empty => new GetBuildStepArgs(); - } - - public sealed class GetBuildStepInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public Input StepName { get; set; } = null!; - - public GetBuildStepInvokeArgs() - { - } - public static new GetBuildStepInvokeArgs Empty => new GetBuildStepInvokeArgs(); - } - - - [OutputType] - public sealed class GetBuildStepResult - { - /// - /// The resource ID. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// The properties of a build step. - /// - public readonly Outputs.DockerBuildStepResponse Properties; - /// - /// The type of the resource. - /// - public readonly string Type; - - [OutputConstructor] - private GetBuildStepResult( - string id, - - string name, - - Outputs.DockerBuildStepResponse properties, - - string type) - { - Id = id; - Name = name; - Properties = properties; - Type = type; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/GetRegistryBuildSourceUploadUrl.cs b/sdk/dotnet/ContainerRegistry/GetRegistryBuildSourceUploadUrl.cs deleted file mode 100644 index cf20e6065b97..000000000000 --- a/sdk/dotnet/ContainerRegistry/GetRegistryBuildSourceUploadUrl.cs +++ /dev/null @@ -1,93 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - public static class GetRegistryBuildSourceUploadUrl - { - /// - /// Get the upload location for the user to be able to upload the source. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Task InvokeAsync(GetRegistryBuildSourceUploadUrlArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry:getRegistryBuildSourceUploadUrl", args ?? new GetRegistryBuildSourceUploadUrlArgs(), options.WithDefaults()); - - /// - /// Get the upload location for the user to be able to upload the source. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Output Invoke(GetRegistryBuildSourceUploadUrlInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry:getRegistryBuildSourceUploadUrl", args ?? new GetRegistryBuildSourceUploadUrlInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRegistryBuildSourceUploadUrlArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetRegistryBuildSourceUploadUrlArgs() - { - } - public static new GetRegistryBuildSourceUploadUrlArgs Empty => new GetRegistryBuildSourceUploadUrlArgs(); - } - - public sealed class GetRegistryBuildSourceUploadUrlInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetRegistryBuildSourceUploadUrlInvokeArgs() - { - } - public static new GetRegistryBuildSourceUploadUrlInvokeArgs Empty => new GetRegistryBuildSourceUploadUrlInvokeArgs(); - } - - - [OutputType] - public sealed class GetRegistryBuildSourceUploadUrlResult - { - /// - /// The relative path to the source. This is used to submit the subsequent queue build request. - /// - public readonly string? RelativePath; - /// - /// The URL where the client can upload the source. - /// - public readonly string? UploadUrl; - - [OutputConstructor] - private GetRegistryBuildSourceUploadUrlResult( - string? relativePath, - - string? uploadUrl) - { - RelativePath = relativePath; - UploadUrl = uploadUrl; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/GetRegistryCredentials.cs b/sdk/dotnet/ContainerRegistry/GetRegistryCredentials.cs deleted file mode 100644 index 17cefabc730e..000000000000 --- a/sdk/dotnet/ContainerRegistry/GetRegistryCredentials.cs +++ /dev/null @@ -1,93 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - public static class GetRegistryCredentials - { - /// - /// Gets the administrator login credentials for the specified container registry. - /// Azure REST API version: 2016-06-27-preview. - /// - public static Task InvokeAsync(GetRegistryCredentialsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry:getRegistryCredentials", args ?? new GetRegistryCredentialsArgs(), options.WithDefaults()); - - /// - /// Gets the administrator login credentials for the specified container registry. - /// Azure REST API version: 2016-06-27-preview. - /// - public static Output Invoke(GetRegistryCredentialsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry:getRegistryCredentials", args ?? new GetRegistryCredentialsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRegistryCredentialsArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetRegistryCredentialsArgs() - { - } - public static new GetRegistryCredentialsArgs Empty => new GetRegistryCredentialsArgs(); - } - - public sealed class GetRegistryCredentialsInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetRegistryCredentialsInvokeArgs() - { - } - public static new GetRegistryCredentialsInvokeArgs Empty => new GetRegistryCredentialsInvokeArgs(); - } - - - [OutputType] - public sealed class GetRegistryCredentialsResult - { - /// - /// The administrator password. - /// - public readonly string? Password; - /// - /// The administrator username. - /// - public readonly string? Username; - - [OutputConstructor] - private GetRegistryCredentialsResult( - string? password, - - string? username) - { - Password = password; - Username = username; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/ListBuildStepBuildArguments.cs b/sdk/dotnet/ContainerRegistry/ListBuildStepBuildArguments.cs deleted file mode 100644 index 01e1c7b08f21..000000000000 --- a/sdk/dotnet/ContainerRegistry/ListBuildStepBuildArguments.cs +++ /dev/null @@ -1,117 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - public static class ListBuildStepBuildArguments - { - /// - /// List the build arguments for a step including the secret arguments. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Task InvokeAsync(ListBuildStepBuildArgumentsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry:listBuildStepBuildArguments", args ?? new ListBuildStepBuildArgumentsArgs(), options.WithDefaults()); - - /// - /// List the build arguments for a step including the secret arguments. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Output Invoke(ListBuildStepBuildArgumentsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry:listBuildStepBuildArguments", args ?? new ListBuildStepBuildArgumentsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class ListBuildStepBuildArgumentsArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public string StepName { get; set; } = null!; - - public ListBuildStepBuildArgumentsArgs() - { - } - public static new ListBuildStepBuildArgumentsArgs Empty => new ListBuildStepBuildArgumentsArgs(); - } - - public sealed class ListBuildStepBuildArgumentsInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public Input StepName { get; set; } = null!; - - public ListBuildStepBuildArgumentsInvokeArgs() - { - } - public static new ListBuildStepBuildArgumentsInvokeArgs Empty => new ListBuildStepBuildArgumentsInvokeArgs(); - } - - - [OutputType] - public sealed class ListBuildStepBuildArgumentsResult - { - /// - /// The URI that can be used to request the next set of paged results. - /// - public readonly string? NextLink; - /// - /// The collection value. - /// - public readonly ImmutableArray Value; - - [OutputConstructor] - private ListBuildStepBuildArgumentsResult( - string? nextLink, - - ImmutableArray value) - { - NextLink = nextLink; - Value = value; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/ListBuildTaskSourceRepositoryProperties.cs b/sdk/dotnet/ContainerRegistry/ListBuildTaskSourceRepositoryProperties.cs deleted file mode 100644 index 4a47147ff2ee..000000000000 --- a/sdk/dotnet/ContainerRegistry/ListBuildTaskSourceRepositoryProperties.cs +++ /dev/null @@ -1,119 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry -{ - public static class ListBuildTaskSourceRepositoryProperties - { - /// - /// Get the source control properties for a build task. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Task InvokeAsync(ListBuildTaskSourceRepositoryPropertiesArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry:listBuildTaskSourceRepositoryProperties", args ?? new ListBuildTaskSourceRepositoryPropertiesArgs(), options.WithDefaults()); - - /// - /// Get the source control properties for a build task. - /// Azure REST API version: 2018-02-01-preview. - /// - public static Output Invoke(ListBuildTaskSourceRepositoryPropertiesInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry:listBuildTaskSourceRepositoryProperties", args ?? new ListBuildTaskSourceRepositoryPropertiesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class ListBuildTaskSourceRepositoryPropertiesArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public ListBuildTaskSourceRepositoryPropertiesArgs() - { - } - public static new ListBuildTaskSourceRepositoryPropertiesArgs Empty => new ListBuildTaskSourceRepositoryPropertiesArgs(); - } - - public sealed class ListBuildTaskSourceRepositoryPropertiesInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public ListBuildTaskSourceRepositoryPropertiesInvokeArgs() - { - } - public static new ListBuildTaskSourceRepositoryPropertiesInvokeArgs Empty => new ListBuildTaskSourceRepositoryPropertiesInvokeArgs(); - } - - - [OutputType] - public sealed class ListBuildTaskSourceRepositoryPropertiesResult - { - /// - /// The value of this property indicates whether the source control commit trigger is enabled or not. - /// - public readonly bool? IsCommitTriggerEnabled; - /// - /// The full URL to the source code repository - /// - public readonly string RepositoryUrl; - /// - /// The authorization properties for accessing the source code repository. - /// - public readonly Outputs.SourceControlAuthInfoResponse? SourceControlAuthProperties; - /// - /// The type of source control service. - /// - public readonly string SourceControlType; - - [OutputConstructor] - private ListBuildTaskSourceRepositoryPropertiesResult( - bool? isCommitTriggerEnabled, - - string repositoryUrl, - - Outputs.SourceControlAuthInfoResponse? sourceControlAuthProperties, - - string sourceControlType) - { - IsCommitTriggerEnabled = isCommitTriggerEnabled; - RepositoryUrl = repositoryUrl; - SourceControlAuthProperties = sourceControlAuthProperties; - SourceControlType = sourceControlType; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/Outputs/BuildArgumentResponse.cs b/sdk/dotnet/ContainerRegistry/Outputs/BuildArgumentResponse.cs deleted file mode 100644 index fb37ddab745f..000000000000 --- a/sdk/dotnet/ContainerRegistry/Outputs/BuildArgumentResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.Outputs -{ - - /// - /// Properties of a build argument. - /// - [OutputType] - public sealed class BuildArgumentResponse - { - /// - /// Flag to indicate whether the argument represents a secret and want to be removed from build logs. - /// - public readonly bool? IsSecret; - /// - /// The name of the argument. - /// - public readonly string Name; - /// - /// The type of the argument. - /// - public readonly string Type; - /// - /// The value of the argument. - /// - public readonly string Value; - - [OutputConstructor] - private BuildArgumentResponse( - bool? isSecret, - - string name, - - string type, - - string value) - { - IsSecret = isSecret; - Name = name; - Type = type; - Value = value; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/Outputs/DockerBuildStepResponse.cs b/sdk/dotnet/ContainerRegistry/Outputs/DockerBuildStepResponse.cs index b74a452a2caf..1bace4fe704e 100644 --- a/sdk/dotnet/ContainerRegistry/Outputs/DockerBuildStepResponse.cs +++ b/sdk/dotnet/ContainerRegistry/Outputs/DockerBuildStepResponse.cs @@ -25,18 +25,6 @@ public sealed class DockerBuildStepResponse /// public readonly ImmutableArray BaseImageDependencies; /// - /// The type of the auto trigger for base image dependency updates. - /// - public readonly string? BaseImageTrigger; - /// - /// The repository branch name. - /// - public readonly string? Branch; - /// - /// The custom arguments for building this build step. - /// - public readonly ImmutableArray BuildArguments; - /// /// The token (git PAT or SAS token of storage account blob) associated with the context for a step. /// public readonly string? ContextAccessToken; @@ -61,10 +49,6 @@ public sealed class DockerBuildStepResponse /// public readonly bool? NoCache; /// - /// The provisioning state of the build step. - /// - public readonly string? ProvisioningState; - /// /// The name of the target build stage for the docker build. /// public readonly string? Target; @@ -80,12 +64,6 @@ private DockerBuildStepResponse( ImmutableArray baseImageDependencies, - string? baseImageTrigger, - - string? branch, - - ImmutableArray buildArguments, - string? contextAccessToken, string? contextPath, @@ -98,24 +76,18 @@ private DockerBuildStepResponse( bool? noCache, - string? provisioningState, - string? target, string type) { Arguments = arguments; BaseImageDependencies = baseImageDependencies; - BaseImageTrigger = baseImageTrigger; - Branch = branch; - BuildArguments = buildArguments; ContextAccessToken = contextAccessToken; ContextPath = contextPath; DockerFilePath = dockerFilePath; ImageNames = imageNames; IsPushEnabled = isPushEnabled; NoCache = noCache; - ProvisioningState = provisioningState; Target = target; Type = type; } diff --git a/sdk/dotnet/ContainerRegistry/Outputs/SourceControlAuthInfoResponse.cs b/sdk/dotnet/ContainerRegistry/Outputs/SourceControlAuthInfoResponse.cs deleted file mode 100644 index 53e4c444844e..000000000000 --- a/sdk/dotnet/ContainerRegistry/Outputs/SourceControlAuthInfoResponse.cs +++ /dev/null @@ -1,59 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.Outputs -{ - - /// - /// The authorization properties for accessing the source code repository. - /// - [OutputType] - public sealed class SourceControlAuthInfoResponse - { - /// - /// Time in seconds that the token remains valid - /// - public readonly int? ExpiresIn; - /// - /// The refresh token used to refresh the access token. - /// - public readonly string? RefreshToken; - /// - /// The scope of the access token. - /// - public readonly string? Scope; - /// - /// The access token used to access the source control provider. - /// - public readonly string Token; - /// - /// The type of Auth token. - /// - public readonly string? TokenType; - - [OutputConstructor] - private SourceControlAuthInfoResponse( - int? expiresIn, - - string? refreshToken, - - string? scope, - - string token, - - string? tokenType) - { - ExpiresIn = expiresIn; - RefreshToken = refreshToken; - Scope = scope; - Token = token; - TokenType = tokenType; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/Registry.cs b/sdk/dotnet/ContainerRegistry/Registry.cs index f81481f2d1bd..ba32f6956532 100644 --- a/sdk/dotnet/ContainerRegistry/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/Registry.cs @@ -167,9 +167,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/Replication.cs b/sdk/dotnet/ContainerRegistry/Replication.cs index d0f002c56236..0a2483ce954a 100644 --- a/sdk/dotnet/ContainerRegistry/Replication.cs +++ b/sdk/dotnet/ContainerRegistry/Replication.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Replication"}, diff --git a/sdk/dotnet/ContainerRegistry/Task.cs b/sdk/dotnet/ContainerRegistry/Task.cs index 941705cac443..6e623cb1340d 100644 --- a/sdk/dotnet/ContainerRegistry/Task.cs +++ b/sdk/dotnet/ContainerRegistry/Task.cs @@ -150,7 +150,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180201preview:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180901:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190401:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190601preview:Task"}, diff --git a/sdk/dotnet/ContainerRegistry/V20160627Preview/GetRegistry.cs b/sdk/dotnet/ContainerRegistry/V20160627Preview/GetRegistry.cs deleted file mode 100644 index e9c504f19230..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20160627Preview/GetRegistry.cs +++ /dev/null @@ -1,140 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20160627Preview -{ - public static class GetRegistry - { - /// - /// Gets the properties of the specified container registry. - /// - public static Task InvokeAsync(GetRegistryArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20160627preview:getRegistry", args ?? new GetRegistryArgs(), options.WithDefaults()); - - /// - /// Gets the properties of the specified container registry. - /// - public static Output Invoke(GetRegistryInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20160627preview:getRegistry", args ?? new GetRegistryInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRegistryArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetRegistryArgs() - { - } - public static new GetRegistryArgs Empty => new GetRegistryArgs(); - } - - public sealed class GetRegistryInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetRegistryInvokeArgs() - { - } - public static new GetRegistryInvokeArgs Empty => new GetRegistryInvokeArgs(); - } - - - [OutputType] - public sealed class GetRegistryResult - { - /// - /// The value that indicates whether the admin user is enabled. This value is false by default. - /// - public readonly bool? AdminUserEnabled; - /// - /// The creation date of the container registry in ISO8601 format. - /// - public readonly string CreationDate; - /// - /// The resource ID. - /// - public readonly string Id; - /// - /// The location of the resource. This cannot be changed after the resource is created. - /// - public readonly string Location; - /// - /// The URL that can be used to log into the container registry. - /// - public readonly string LoginServer; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - /// - public readonly Outputs.StorageAccountPropertiesResponse StorageAccount; - /// - /// The tags of the resource. - /// - public readonly ImmutableDictionary? Tags; - /// - /// The type of the resource. - /// - public readonly string Type; - - [OutputConstructor] - private GetRegistryResult( - bool? adminUserEnabled, - - string creationDate, - - string id, - - string location, - - string loginServer, - - string name, - - Outputs.StorageAccountPropertiesResponse storageAccount, - - ImmutableDictionary? tags, - - string type) - { - AdminUserEnabled = adminUserEnabled; - CreationDate = creationDate; - Id = id; - Location = location; - LoginServer = loginServer; - Name = name; - StorageAccount = storageAccount; - Tags = tags; - Type = type; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20160627Preview/GetRegistryCredentials.cs b/sdk/dotnet/ContainerRegistry/V20160627Preview/GetRegistryCredentials.cs deleted file mode 100644 index 44d66b488d03..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20160627Preview/GetRegistryCredentials.cs +++ /dev/null @@ -1,91 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20160627Preview -{ - public static class GetRegistryCredentials - { - /// - /// Gets the administrator login credentials for the specified container registry. - /// - public static Task InvokeAsync(GetRegistryCredentialsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20160627preview:getRegistryCredentials", args ?? new GetRegistryCredentialsArgs(), options.WithDefaults()); - - /// - /// Gets the administrator login credentials for the specified container registry. - /// - public static Output Invoke(GetRegistryCredentialsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20160627preview:getRegistryCredentials", args ?? new GetRegistryCredentialsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRegistryCredentialsArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetRegistryCredentialsArgs() - { - } - public static new GetRegistryCredentialsArgs Empty => new GetRegistryCredentialsArgs(); - } - - public sealed class GetRegistryCredentialsInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetRegistryCredentialsInvokeArgs() - { - } - public static new GetRegistryCredentialsInvokeArgs Empty => new GetRegistryCredentialsInvokeArgs(); - } - - - [OutputType] - public sealed class GetRegistryCredentialsResult - { - /// - /// The administrator password. - /// - public readonly string? Password; - /// - /// The administrator username. - /// - public readonly string? Username; - - [OutputConstructor] - private GetRegistryCredentialsResult( - string? password, - - string? username) - { - Password = password; - Username = username; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20160627Preview/Inputs/StorageAccountPropertiesArgs.cs b/sdk/dotnet/ContainerRegistry/V20160627Preview/Inputs/StorageAccountPropertiesArgs.cs deleted file mode 100644 index 2eff6a851d2a..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20160627Preview/Inputs/StorageAccountPropertiesArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20160627Preview.Inputs -{ - - /// - /// The properties of a storage account for a container registry. - /// - public sealed class StorageAccountPropertiesArgs : global::Pulumi.ResourceArgs - { - /// - /// The access key to the storage account. - /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; - - /// - /// The name of the storage account. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - public StorageAccountPropertiesArgs() - { - } - public static new StorageAccountPropertiesArgs Empty => new StorageAccountPropertiesArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20160627Preview/Outputs/StorageAccountPropertiesResponse.cs b/sdk/dotnet/ContainerRegistry/V20160627Preview/Outputs/StorageAccountPropertiesResponse.cs deleted file mode 100644 index 57cf1b20df3d..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20160627Preview/Outputs/StorageAccountPropertiesResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20160627Preview.Outputs -{ - - /// - /// The properties of a storage account for a container registry. - /// - [OutputType] - public sealed class StorageAccountPropertiesResponse - { - /// - /// The access key to the storage account. - /// - public readonly string AccessKey; - /// - /// The name of the storage account. - /// - public readonly string Name; - - [OutputConstructor] - private StorageAccountPropertiesResponse( - string accessKey, - - string name) - { - AccessKey = accessKey; - Name = name; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20160627Preview/Registry.cs b/sdk/dotnet/ContainerRegistry/V20160627Preview/Registry.cs deleted file mode 100644 index 5ed75b389062..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20160627Preview/Registry.cs +++ /dev/null @@ -1,179 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20160627Preview -{ - /// - /// An object that represents a container registry. - /// - [AzureNativeResourceType("azure-native:containerregistry/v20160627preview:Registry")] - public partial class Registry : global::Pulumi.CustomResource - { - /// - /// The value that indicates whether the admin user is enabled. This value is false by default. - /// - [Output("adminUserEnabled")] - public Output AdminUserEnabled { get; private set; } = null!; - - /// - /// The creation date of the container registry in ISO8601 format. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// The location of the resource. This cannot be changed after the resource is created. - /// - [Output("location")] - public Output Location { get; private set; } = null!; - - /// - /// The URL that can be used to log into the container registry. - /// - [Output("loginServer")] - public Output LoginServer { get; private set; } = null!; - - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - /// - [Output("storageAccount")] - public Output StorageAccount { get; private set; } = null!; - - /// - /// The tags of the resource. - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// The type of the resource. - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a Registry 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 Registry(string name, RegistryArgs args, CustomResourceOptions? options = null) - : base("azure-native:containerregistry/v20160627preview:Registry", name, args ?? new RegistryArgs(), MakeResourceOptions(options, "")) - { - } - - private Registry(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:containerregistry/v20160627preview:Registry", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20201101preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20210601preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20210801preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20210901:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20211201preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20220201preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20221201:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20230101preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20230601preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20230701:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20230801preview:Registry"}, - }, - }; - 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 Registry 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. - /// A bag of options that control this resource's behavior - public static Registry Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Registry(name, id, options); - } - } - - public sealed class RegistryArgs : global::Pulumi.ResourceArgs - { - /// - /// The value that indicates whether the admin user is enabled. This value is false by default. - /// - [Input("adminUserEnabled")] - public Input? AdminUserEnabled { get; set; } - - /// - /// The location of the resource. This cannot be changed after the resource is created. - /// - [Input("location")] - public Input? Location { get; set; } - - /// - /// The name of the container registry. - /// - [Input("registryName")] - public Input? RegistryName { get; set; } - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - /// - [Input("storageAccount", required: true)] - public Input StorageAccount { get; set; } = null!; - - [Input("tags")] - private InputMap? _tags; - - /// - /// The tags of the resource. - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - public RegistryArgs() - { - AdminUserEnabled = false; - } - public static new RegistryArgs Empty => new RegistryArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20170301/Registry.cs b/sdk/dotnet/ContainerRegistry/V20170301/Registry.cs index 4174f8cf2532..69e0f0c3b59b 100644 --- a/sdk/dotnet/ContainerRegistry/V20170301/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20170301/Registry.cs @@ -101,8 +101,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/BuildStep.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/BuildStep.cs deleted file mode 100644 index 5be845282a11..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/BuildStep.cs +++ /dev/null @@ -1,114 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - /// - /// Build step resource properties - /// - [AzureNativeResourceType("azure-native:containerregistry/v20180201preview:BuildStep")] - public partial class BuildStep : global::Pulumi.CustomResource - { - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The properties of a build step. - /// - [Output("properties")] - public Output Properties { get; private set; } = null!; - - /// - /// The type of the resource. - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a BuildStep 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 BuildStep(string name, BuildStepArgs args, CustomResourceOptions? options = null) - : base("azure-native:containerregistry/v20180201preview:BuildStep", name, args ?? new BuildStepArgs(), MakeResourceOptions(options, "")) - { - } - - private BuildStep(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:containerregistry/v20180201preview:BuildStep", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:containerregistry:BuildStep"}, - }, - }; - 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 BuildStep 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. - /// A bag of options that control this resource's behavior - public static BuildStep Get(string name, Input id, CustomResourceOptions? options = null) - { - return new BuildStep(name, id, options); - } - } - - public sealed class BuildStepArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName")] - public Input? StepName { get; set; } - - public BuildStepArgs() - { - } - public static new BuildStepArgs Empty => new BuildStepArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/BuildTask.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/BuildTask.cs deleted file mode 100644 index e64787234058..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/BuildTask.cs +++ /dev/null @@ -1,208 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - /// - /// The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it. - /// - [AzureNativeResourceType("azure-native:containerregistry/v20180201preview:BuildTask")] - public partial class BuildTask : global::Pulumi.CustomResource - { - /// - /// The alternative updatable name for a build task. - /// - [Output("alias")] - public Output Alias { get; private set; } = null!; - - /// - /// The creation date of build task. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// The location of the resource. This cannot be changed after the resource is created. - /// - [Output("location")] - public Output Location { get; private set; } = null!; - - /// - /// The name of the resource. - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The platform properties against which the build has to happen. - /// - [Output("platform")] - public Output Platform { get; private set; } = null!; - - /// - /// The provisioning state of the build task. - /// - [Output("provisioningState")] - public Output ProvisioningState { get; private set; } = null!; - - /// - /// The properties that describes the source(code) for the build task. - /// - [Output("sourceRepository")] - public Output SourceRepository { get; private set; } = null!; - - /// - /// The current status of build task. - /// - [Output("status")] - public Output Status { get; private set; } = null!; - - /// - /// The tags of the resource. - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// Build timeout in seconds. - /// - [Output("timeout")] - public Output Timeout { get; private set; } = null!; - - /// - /// The type of the resource. - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a BuildTask 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 BuildTask(string name, BuildTaskArgs args, CustomResourceOptions? options = null) - : base("azure-native:containerregistry/v20180201preview:BuildTask", name, args ?? new BuildTaskArgs(), MakeResourceOptions(options, "")) - { - } - - private BuildTask(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:containerregistry/v20180201preview:BuildTask", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:containerregistry:BuildTask"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180901:BuildTask"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190401:BuildTask"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190601preview:BuildTask"}, - }, - }; - 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 BuildTask 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. - /// A bag of options that control this resource's behavior - public static BuildTask Get(string name, Input id, CustomResourceOptions? options = null) - { - return new BuildTask(name, id, options); - } - } - - public sealed class BuildTaskArgs : global::Pulumi.ResourceArgs - { - /// - /// The alternative updatable name for a build task. - /// - [Input("alias", required: true)] - public Input Alias { get; set; } = null!; - - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName")] - public Input? BuildTaskName { get; set; } - - /// - /// The location of the resource. This cannot be changed after the resource is created. - /// - [Input("location")] - public Input? Location { get; set; } - - /// - /// The platform properties against which the build has to happen. - /// - [Input("platform", required: true)] - public Input Platform { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The properties that describes the source(code) for the build task. - /// - [Input("sourceRepository", required: true)] - public Input SourceRepository { get; set; } = null!; - - /// - /// The current status of build task. - /// - [Input("status")] - public InputUnion? Status { get; set; } - - [Input("tags")] - private InputMap? _tags; - - /// - /// The tags of the resource. - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - /// - /// Build timeout in seconds. - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - public BuildTaskArgs() - { - Timeout = 3600; - } - public static new BuildTaskArgs Empty => new BuildTaskArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Enums.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Enums.cs deleted file mode 100644 index 3938b3277a2f..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Enums.cs +++ /dev/null @@ -1,133 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.ContainerRegistry.V20180201Preview -{ - /// - /// The current status of build task. - /// - [EnumType] - public readonly struct BuildTaskStatus : IEquatable - { - private readonly string _value; - - private BuildTaskStatus(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static BuildTaskStatus Disabled { get; } = new BuildTaskStatus("Disabled"); - public static BuildTaskStatus Enabled { get; } = new BuildTaskStatus("Enabled"); - - public static bool operator ==(BuildTaskStatus left, BuildTaskStatus right) => left.Equals(right); - public static bool operator !=(BuildTaskStatus left, BuildTaskStatus right) => !left.Equals(right); - - public static explicit operator string(BuildTaskStatus value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is BuildTaskStatus other && Equals(other); - public bool Equals(BuildTaskStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The operating system type required for the build. - /// - [EnumType] - public readonly struct OsType : IEquatable - { - private readonly string _value; - - private OsType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OsType Windows { get; } = new OsType("Windows"); - public static OsType Linux { get; } = new OsType("Linux"); - - public static bool operator ==(OsType left, OsType right) => left.Equals(right); - public static bool operator !=(OsType left, OsType right) => !left.Equals(right); - - public static explicit operator string(OsType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OsType other && Equals(other); - public bool Equals(OsType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The type of source control service. - /// - [EnumType] - public readonly struct SourceControlType : IEquatable - { - private readonly string _value; - - private SourceControlType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static SourceControlType Github { get; } = new SourceControlType("Github"); - public static SourceControlType VisualStudioTeamService { get; } = new SourceControlType("VisualStudioTeamService"); - - public static bool operator ==(SourceControlType left, SourceControlType right) => left.Equals(right); - public static bool operator !=(SourceControlType left, SourceControlType right) => !left.Equals(right); - - public static explicit operator string(SourceControlType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is SourceControlType other && Equals(other); - public bool Equals(SourceControlType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The type of Auth token. - /// - [EnumType] - public readonly struct TokenType : IEquatable - { - private readonly string _value; - - private TokenType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static TokenType PAT { get; } = new TokenType("PAT"); - public static TokenType OAuth { get; } = new TokenType("OAuth"); - - public static bool operator ==(TokenType left, TokenType right) => left.Equals(right); - public static bool operator !=(TokenType left, TokenType right) => !left.Equals(right); - - public static explicit operator string(TokenType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is TokenType other && Equals(other); - public bool Equals(TokenType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildLogLink.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildLogLink.cs deleted file mode 100644 index 21108b64b46e..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildLogLink.cs +++ /dev/null @@ -1,95 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - public static class GetBuildLogLink - { - /// - /// Gets a link to download the build logs. - /// - public static Task InvokeAsync(GetBuildLogLinkArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20180201preview:getBuildLogLink", args ?? new GetBuildLogLinkArgs(), options.WithDefaults()); - - /// - /// Gets a link to download the build logs. - /// - public static Output Invoke(GetBuildLogLinkInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20180201preview:getBuildLogLink", args ?? new GetBuildLogLinkInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetBuildLogLinkArgs : global::Pulumi.InvokeArgs - { - /// - /// The build ID. - /// - [Input("buildId", required: true)] - public string BuildId { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetBuildLogLinkArgs() - { - } - public static new GetBuildLogLinkArgs Empty => new GetBuildLogLinkArgs(); - } - - public sealed class GetBuildLogLinkInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The build ID. - /// - [Input("buildId", required: true)] - public Input BuildId { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetBuildLogLinkInvokeArgs() - { - } - public static new GetBuildLogLinkInvokeArgs Empty => new GetBuildLogLinkInvokeArgs(); - } - - - [OutputType] - public sealed class GetBuildLogLinkResult - { - /// - /// The link to logs for a azure container registry build. - /// - public readonly string? LogLink; - - [OutputConstructor] - private GetBuildLogLinkResult(string? logLink) - { - LogLink = logLink; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildStep.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildStep.cs deleted file mode 100644 index 6a6ce08f4a24..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildStep.cs +++ /dev/null @@ -1,129 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - public static class GetBuildStep - { - /// - /// Gets the build step for a build task. - /// - public static Task InvokeAsync(GetBuildStepArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20180201preview:getBuildStep", args ?? new GetBuildStepArgs(), options.WithDefaults()); - - /// - /// Gets the build step for a build task. - /// - public static Output Invoke(GetBuildStepInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20180201preview:getBuildStep", args ?? new GetBuildStepInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetBuildStepArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public string StepName { get; set; } = null!; - - public GetBuildStepArgs() - { - } - public static new GetBuildStepArgs Empty => new GetBuildStepArgs(); - } - - public sealed class GetBuildStepInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public Input StepName { get; set; } = null!; - - public GetBuildStepInvokeArgs() - { - } - public static new GetBuildStepInvokeArgs Empty => new GetBuildStepInvokeArgs(); - } - - - [OutputType] - public sealed class GetBuildStepResult - { - /// - /// The resource ID. - /// - public readonly string Id; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// The properties of a build step. - /// - public readonly Outputs.DockerBuildStepResponse Properties; - /// - /// The type of the resource. - /// - public readonly string Type; - - [OutputConstructor] - private GetBuildStepResult( - string id, - - string name, - - Outputs.DockerBuildStepResponse properties, - - string type) - { - Id = id; - Name = name; - Properties = properties; - Type = type; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildTask.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildTask.cs deleted file mode 100644 index 4065c1390508..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetBuildTask.cs +++ /dev/null @@ -1,173 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - public static class GetBuildTask - { - /// - /// Get the properties of a specified build task. - /// - public static Task InvokeAsync(GetBuildTaskArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20180201preview:getBuildTask", args ?? new GetBuildTaskArgs(), options.WithDefaults()); - - /// - /// Get the properties of a specified build task. - /// - public static Output Invoke(GetBuildTaskInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20180201preview:getBuildTask", args ?? new GetBuildTaskInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetBuildTaskArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetBuildTaskArgs() - { - } - public static new GetBuildTaskArgs Empty => new GetBuildTaskArgs(); - } - - public sealed class GetBuildTaskInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetBuildTaskInvokeArgs() - { - } - public static new GetBuildTaskInvokeArgs Empty => new GetBuildTaskInvokeArgs(); - } - - - [OutputType] - public sealed class GetBuildTaskResult - { - /// - /// The alternative updatable name for a build task. - /// - public readonly string Alias; - /// - /// The creation date of build task. - /// - public readonly string CreationDate; - /// - /// The resource ID. - /// - public readonly string Id; - /// - /// The location of the resource. This cannot be changed after the resource is created. - /// - public readonly string Location; - /// - /// The name of the resource. - /// - public readonly string Name; - /// - /// The platform properties against which the build has to happen. - /// - public readonly Outputs.PlatformPropertiesResponse Platform; - /// - /// The provisioning state of the build task. - /// - public readonly string ProvisioningState; - /// - /// The properties that describes the source(code) for the build task. - /// - public readonly Outputs.SourceRepositoryPropertiesResponse SourceRepository; - /// - /// The current status of build task. - /// - public readonly string? Status; - /// - /// The tags of the resource. - /// - public readonly ImmutableDictionary? Tags; - /// - /// Build timeout in seconds. - /// - public readonly int? Timeout; - /// - /// The type of the resource. - /// - public readonly string Type; - - [OutputConstructor] - private GetBuildTaskResult( - string alias, - - string creationDate, - - string id, - - string location, - - string name, - - Outputs.PlatformPropertiesResponse platform, - - string provisioningState, - - Outputs.SourceRepositoryPropertiesResponse sourceRepository, - - string? status, - - ImmutableDictionary? tags, - - int? timeout, - - string type) - { - Alias = alias; - CreationDate = creationDate; - Id = id; - Location = location; - Name = name; - Platform = platform; - ProvisioningState = provisioningState; - SourceRepository = sourceRepository; - Status = status; - Tags = tags; - Timeout = timeout; - Type = type; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetRegistryBuildSourceUploadUrl.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/GetRegistryBuildSourceUploadUrl.cs deleted file mode 100644 index d583de135f8d..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/GetRegistryBuildSourceUploadUrl.cs +++ /dev/null @@ -1,91 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - public static class GetRegistryBuildSourceUploadUrl - { - /// - /// Get the upload location for the user to be able to upload the source. - /// - public static Task InvokeAsync(GetRegistryBuildSourceUploadUrlArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20180201preview:getRegistryBuildSourceUploadUrl", args ?? new GetRegistryBuildSourceUploadUrlArgs(), options.WithDefaults()); - - /// - /// Get the upload location for the user to be able to upload the source. - /// - public static Output Invoke(GetRegistryBuildSourceUploadUrlInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20180201preview:getRegistryBuildSourceUploadUrl", args ?? new GetRegistryBuildSourceUploadUrlInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRegistryBuildSourceUploadUrlArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public GetRegistryBuildSourceUploadUrlArgs() - { - } - public static new GetRegistryBuildSourceUploadUrlArgs Empty => new GetRegistryBuildSourceUploadUrlArgs(); - } - - public sealed class GetRegistryBuildSourceUploadUrlInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public GetRegistryBuildSourceUploadUrlInvokeArgs() - { - } - public static new GetRegistryBuildSourceUploadUrlInvokeArgs Empty => new GetRegistryBuildSourceUploadUrlInvokeArgs(); - } - - - [OutputType] - public sealed class GetRegistryBuildSourceUploadUrlResult - { - /// - /// The relative path to the source. This is used to submit the subsequent queue build request. - /// - public readonly string? RelativePath; - /// - /// The URL where the client can upload the source. - /// - public readonly string? UploadUrl; - - [OutputConstructor] - private GetRegistryBuildSourceUploadUrlResult( - string? relativePath, - - string? uploadUrl) - { - RelativePath = relativePath; - UploadUrl = uploadUrl; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/PlatformPropertiesArgs.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/PlatformPropertiesArgs.cs deleted file mode 100644 index ae39e9ee5f21..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/PlatformPropertiesArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Inputs -{ - - /// - /// The platform properties against which the build has to happen. - /// - public sealed class PlatformPropertiesArgs : global::Pulumi.ResourceArgs - { - /// - /// The CPU configuration in terms of number of cores required for the build. - /// - [Input("cpu")] - public Input? Cpu { get; set; } - - /// - /// The operating system type required for the build. - /// - [Input("osType", required: true)] - public InputUnion OsType { get; set; } = null!; - - public PlatformPropertiesArgs() - { - } - public static new PlatformPropertiesArgs Empty => new PlatformPropertiesArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/SourceControlAuthInfoArgs.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/SourceControlAuthInfoArgs.cs deleted file mode 100644 index 055f8789a36e..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/SourceControlAuthInfoArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Inputs -{ - - /// - /// The authorization properties for accessing the source code repository. - /// - public sealed class SourceControlAuthInfoArgs : global::Pulumi.ResourceArgs - { - /// - /// Time in seconds that the token remains valid - /// - [Input("expiresIn")] - public Input? ExpiresIn { get; set; } - - /// - /// The refresh token used to refresh the access token. - /// - [Input("refreshToken")] - public Input? RefreshToken { get; set; } - - /// - /// The scope of the access token. - /// - [Input("scope")] - public Input? Scope { get; set; } - - /// - /// The access token used to access the source control provider. - /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; - - /// - /// The type of Auth token. - /// - [Input("tokenType")] - public InputUnion? TokenType { get; set; } - - public SourceControlAuthInfoArgs() - { - } - public static new SourceControlAuthInfoArgs Empty => new SourceControlAuthInfoArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/SourceRepositoryPropertiesArgs.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/SourceRepositoryPropertiesArgs.cs deleted file mode 100644 index ec1e62f9dbfb..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Inputs/SourceRepositoryPropertiesArgs.cs +++ /dev/null @@ -1,48 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Inputs -{ - - /// - /// The properties of the source code repository. - /// - public sealed class SourceRepositoryPropertiesArgs : global::Pulumi.ResourceArgs - { - /// - /// The value of this property indicates whether the source control commit trigger is enabled or not. - /// - [Input("isCommitTriggerEnabled")] - public Input? IsCommitTriggerEnabled { get; set; } - - /// - /// The full URL to the source code repository - /// - [Input("repositoryUrl", required: true)] - public Input RepositoryUrl { get; set; } = null!; - - /// - /// The authorization properties for accessing the source code repository. - /// - [Input("sourceControlAuthProperties")] - public Input? SourceControlAuthProperties { get; set; } - - /// - /// The type of source control service. - /// - [Input("sourceControlType", required: true)] - public InputUnion SourceControlType { get; set; } = null!; - - public SourceRepositoryPropertiesArgs() - { - IsCommitTriggerEnabled = false; - } - public static new SourceRepositoryPropertiesArgs Empty => new SourceRepositoryPropertiesArgs(); - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/ListBuildStepBuildArguments.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/ListBuildStepBuildArguments.cs deleted file mode 100644 index 78d9ff8c685f..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/ListBuildStepBuildArguments.cs +++ /dev/null @@ -1,115 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - public static class ListBuildStepBuildArguments - { - /// - /// List the build arguments for a step including the secret arguments. - /// - public static Task InvokeAsync(ListBuildStepBuildArgumentsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20180201preview:listBuildStepBuildArguments", args ?? new ListBuildStepBuildArgumentsArgs(), options.WithDefaults()); - - /// - /// List the build arguments for a step including the secret arguments. - /// - public static Output Invoke(ListBuildStepBuildArgumentsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20180201preview:listBuildStepBuildArguments", args ?? new ListBuildStepBuildArgumentsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class ListBuildStepBuildArgumentsArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public string StepName { get; set; } = null!; - - public ListBuildStepBuildArgumentsArgs() - { - } - public static new ListBuildStepBuildArgumentsArgs Empty => new ListBuildStepBuildArgumentsArgs(); - } - - public sealed class ListBuildStepBuildArgumentsInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of a build step for a container registry build task. - /// - [Input("stepName", required: true)] - public Input StepName { get; set; } = null!; - - public ListBuildStepBuildArgumentsInvokeArgs() - { - } - public static new ListBuildStepBuildArgumentsInvokeArgs Empty => new ListBuildStepBuildArgumentsInvokeArgs(); - } - - - [OutputType] - public sealed class ListBuildStepBuildArgumentsResult - { - /// - /// The URI that can be used to request the next set of paged results. - /// - public readonly string? NextLink; - /// - /// The collection value. - /// - public readonly ImmutableArray Value; - - [OutputConstructor] - private ListBuildStepBuildArgumentsResult( - string? nextLink, - - ImmutableArray value) - { - NextLink = nextLink; - Value = value; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/ListBuildTaskSourceRepositoryProperties.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/ListBuildTaskSourceRepositoryProperties.cs deleted file mode 100644 index 08bf6691b5cb..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/ListBuildTaskSourceRepositoryProperties.cs +++ /dev/null @@ -1,117 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview -{ - public static class ListBuildTaskSourceRepositoryProperties - { - /// - /// Get the source control properties for a build task. - /// - public static Task InvokeAsync(ListBuildTaskSourceRepositoryPropertiesArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerregistry/v20180201preview:listBuildTaskSourceRepositoryProperties", args ?? new ListBuildTaskSourceRepositoryPropertiesArgs(), options.WithDefaults()); - - /// - /// Get the source control properties for a build task. - /// - public static Output Invoke(ListBuildTaskSourceRepositoryPropertiesInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerregistry/v20180201preview:listBuildTaskSourceRepositoryProperties", args ?? new ListBuildTaskSourceRepositoryPropertiesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class ListBuildTaskSourceRepositoryPropertiesArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public string BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public string RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - public ListBuildTaskSourceRepositoryPropertiesArgs() - { - } - public static new ListBuildTaskSourceRepositoryPropertiesArgs Empty => new ListBuildTaskSourceRepositoryPropertiesArgs(); - } - - public sealed class ListBuildTaskSourceRepositoryPropertiesInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the container registry build task. - /// - [Input("buildTaskName", required: true)] - public Input BuildTaskName { get; set; } = null!; - - /// - /// The name of the container registry. - /// - [Input("registryName", required: true)] - public Input RegistryName { get; set; } = null!; - - /// - /// The name of the resource group to which the container registry belongs. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - public ListBuildTaskSourceRepositoryPropertiesInvokeArgs() - { - } - public static new ListBuildTaskSourceRepositoryPropertiesInvokeArgs Empty => new ListBuildTaskSourceRepositoryPropertiesInvokeArgs(); - } - - - [OutputType] - public sealed class ListBuildTaskSourceRepositoryPropertiesResult - { - /// - /// The value of this property indicates whether the source control commit trigger is enabled or not. - /// - public readonly bool? IsCommitTriggerEnabled; - /// - /// The full URL to the source code repository - /// - public readonly string RepositoryUrl; - /// - /// The authorization properties for accessing the source code repository. - /// - public readonly Outputs.SourceControlAuthInfoResponse? SourceControlAuthProperties; - /// - /// The type of source control service. - /// - public readonly string SourceControlType; - - [OutputConstructor] - private ListBuildTaskSourceRepositoryPropertiesResult( - bool? isCommitTriggerEnabled, - - string repositoryUrl, - - Outputs.SourceControlAuthInfoResponse? sourceControlAuthProperties, - - string sourceControlType) - { - IsCommitTriggerEnabled = isCommitTriggerEnabled; - RepositoryUrl = repositoryUrl; - SourceControlAuthProperties = sourceControlAuthProperties; - SourceControlType = sourceControlType; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/BaseImageDependencyResponse.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/BaseImageDependencyResponse.cs deleted file mode 100644 index f313225adf51..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/BaseImageDependencyResponse.cs +++ /dev/null @@ -1,59 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Outputs -{ - - /// - /// Properties that describe a base image dependency. - /// - [OutputType] - public sealed class BaseImageDependencyResponse - { - /// - /// The sha256-based digest of the image manifest. - /// - public readonly string? Digest; - /// - /// The registry login server. - /// - public readonly string? Registry; - /// - /// The repository name. - /// - public readonly string? Repository; - /// - /// The tag name. - /// - public readonly string? Tag; - /// - /// The type of the base image dependency. - /// - public readonly string? Type; - - [OutputConstructor] - private BaseImageDependencyResponse( - string? digest, - - string? registry, - - string? repository, - - string? tag, - - string? type) - { - Digest = digest; - Registry = registry; - Repository = repository; - Tag = tag; - Type = type; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/BuildArgumentResponse.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/BuildArgumentResponse.cs deleted file mode 100644 index f143571e4e16..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/BuildArgumentResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Outputs -{ - - /// - /// Properties of a build argument. - /// - [OutputType] - public sealed class BuildArgumentResponse - { - /// - /// Flag to indicate whether the argument represents a secret and want to be removed from build logs. - /// - public readonly bool? IsSecret; - /// - /// The name of the argument. - /// - public readonly string Name; - /// - /// The type of the argument. - /// - public readonly string Type; - /// - /// The value of the argument. - /// - public readonly string Value; - - [OutputConstructor] - private BuildArgumentResponse( - bool? isSecret, - - string name, - - string type, - - string value) - { - IsSecret = isSecret; - Name = name; - Type = type; - Value = value; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/DockerBuildStepResponse.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/DockerBuildStepResponse.cs deleted file mode 100644 index 3f586b5a445b..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/DockerBuildStepResponse.cs +++ /dev/null @@ -1,102 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Outputs -{ - - /// - /// The Docker build step. - /// - [OutputType] - public sealed class DockerBuildStepResponse - { - /// - /// List of base image dependencies for a step. - /// - public readonly ImmutableArray BaseImageDependencies; - /// - /// The type of the auto trigger for base image dependency updates. - /// - public readonly string? BaseImageTrigger; - /// - /// The repository branch name. - /// - public readonly string? Branch; - /// - /// The custom arguments for building this build step. - /// - public readonly ImmutableArray BuildArguments; - /// - /// The relative context path for a docker build in the source. - /// - public readonly string? ContextPath; - /// - /// The Docker file path relative to the source control root. - /// - public readonly string? DockerFilePath; - /// - /// The fully qualified image names including the repository and tag. - /// - public readonly ImmutableArray ImageNames; - /// - /// The value of this property indicates whether the image built should be pushed to the registry or not. - /// - public readonly bool? IsPushEnabled; - /// - /// The value of this property indicates whether the image cache is enabled or not. - /// - public readonly bool? NoCache; - /// - /// The provisioning state of the build step. - /// - public readonly string ProvisioningState; - /// - /// The type of the step. - /// Expected value is 'Docker'. - /// - public readonly string Type; - - [OutputConstructor] - private DockerBuildStepResponse( - ImmutableArray baseImageDependencies, - - string? baseImageTrigger, - - string? branch, - - ImmutableArray buildArguments, - - string? contextPath, - - string? dockerFilePath, - - ImmutableArray imageNames, - - bool? isPushEnabled, - - bool? noCache, - - string provisioningState, - - string type) - { - BaseImageDependencies = baseImageDependencies; - BaseImageTrigger = baseImageTrigger; - Branch = branch; - BuildArguments = buildArguments; - ContextPath = contextPath; - DockerFilePath = dockerFilePath; - ImageNames = imageNames; - IsPushEnabled = isPushEnabled; - NoCache = noCache; - ProvisioningState = provisioningState; - Type = type; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/PlatformPropertiesResponse.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/PlatformPropertiesResponse.cs deleted file mode 100644 index d3b74bba7d40..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/PlatformPropertiesResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Outputs -{ - - /// - /// The platform properties against which the build has to happen. - /// - [OutputType] - public sealed class PlatformPropertiesResponse - { - /// - /// The CPU configuration in terms of number of cores required for the build. - /// - public readonly int? Cpu; - /// - /// The operating system type required for the build. - /// - public readonly string OsType; - - [OutputConstructor] - private PlatformPropertiesResponse( - int? cpu, - - string osType) - { - Cpu = cpu; - OsType = osType; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/SourceControlAuthInfoResponse.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/SourceControlAuthInfoResponse.cs deleted file mode 100644 index cde5b330b63c..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/SourceControlAuthInfoResponse.cs +++ /dev/null @@ -1,59 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Outputs -{ - - /// - /// The authorization properties for accessing the source code repository. - /// - [OutputType] - public sealed class SourceControlAuthInfoResponse - { - /// - /// Time in seconds that the token remains valid - /// - public readonly int? ExpiresIn; - /// - /// The refresh token used to refresh the access token. - /// - public readonly string? RefreshToken; - /// - /// The scope of the access token. - /// - public readonly string? Scope; - /// - /// The access token used to access the source control provider. - /// - public readonly string Token; - /// - /// The type of Auth token. - /// - public readonly string? TokenType; - - [OutputConstructor] - private SourceControlAuthInfoResponse( - int? expiresIn, - - string? refreshToken, - - string? scope, - - string token, - - string? tokenType) - { - ExpiresIn = expiresIn; - RefreshToken = refreshToken; - Scope = scope; - Token = token; - TokenType = tokenType; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/SourceRepositoryPropertiesResponse.cs b/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/SourceRepositoryPropertiesResponse.cs deleted file mode 100644 index 91de8de2dc83..000000000000 --- a/sdk/dotnet/ContainerRegistry/V20180201Preview/Outputs/SourceRepositoryPropertiesResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.ContainerRegistry.V20180201Preview.Outputs -{ - - /// - /// The properties of the source code repository. - /// - [OutputType] - public sealed class SourceRepositoryPropertiesResponse - { - /// - /// The value of this property indicates whether the source control commit trigger is enabled or not. - /// - public readonly bool? IsCommitTriggerEnabled; - /// - /// The full URL to the source code repository - /// - public readonly string RepositoryUrl; - /// - /// The authorization properties for accessing the source code repository. - /// - public readonly Outputs.SourceControlAuthInfoResponse? SourceControlAuthProperties; - /// - /// The type of source control service. - /// - public readonly string SourceControlType; - - [OutputConstructor] - private SourceRepositoryPropertiesResponse( - bool? isCommitTriggerEnabled, - - string repositoryUrl, - - Outputs.SourceControlAuthInfoResponse? sourceControlAuthProperties, - - string sourceControlType) - { - IsCommitTriggerEnabled = isCommitTriggerEnabled; - RepositoryUrl = repositoryUrl; - SourceControlAuthProperties = sourceControlAuthProperties; - SourceControlType = sourceControlType; - } - } -} diff --git a/sdk/dotnet/ContainerRegistry/V20180901/Task.cs b/sdk/dotnet/ContainerRegistry/V20180901/Task.cs index 42d14405c1ab..8e067eb9c4c3 100644 --- a/sdk/dotnet/ContainerRegistry/V20180901/Task.cs +++ b/sdk/dotnet/ContainerRegistry/V20180901/Task.cs @@ -120,7 +120,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Task"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180201preview:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190401:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190601preview:Task"}, }, diff --git a/sdk/dotnet/ContainerRegistry/V20190401/Task.cs b/sdk/dotnet/ContainerRegistry/V20190401/Task.cs index 1b3ce0a497bf..382adfb3cb5d 100644 --- a/sdk/dotnet/ContainerRegistry/V20190401/Task.cs +++ b/sdk/dotnet/ContainerRegistry/V20190401/Task.cs @@ -126,7 +126,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Task"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180201preview:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180901:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190601preview:Task"}, }, diff --git a/sdk/dotnet/ContainerRegistry/V20190501/Registry.cs b/sdk/dotnet/ContainerRegistry/V20190501/Registry.cs index 81c7e38e5e64..6928484dea51 100644 --- a/sdk/dotnet/ContainerRegistry/V20190501/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20190501/Registry.cs @@ -119,9 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20201101preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20190601Preview/Task.cs b/sdk/dotnet/ContainerRegistry/V20190601Preview/Task.cs index e061a422d88c..3a9e2da15fb2 100644 --- a/sdk/dotnet/ContainerRegistry/V20190601Preview/Task.cs +++ b/sdk/dotnet/ContainerRegistry/V20190601Preview/Task.cs @@ -150,7 +150,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Task"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180201preview:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20180901:Task"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190401:Task"}, }, diff --git a/sdk/dotnet/ContainerRegistry/V20221201/Registry.cs b/sdk/dotnet/ContainerRegistry/V20221201/Registry.cs index 731f9c40ff87..a64124c2b14d 100644 --- a/sdk/dotnet/ContainerRegistry/V20221201/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20221201/Registry.cs @@ -167,9 +167,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20221201/Replication.cs b/sdk/dotnet/ContainerRegistry/V20221201/Replication.cs index 63305e7e4b5c..462d3b2819fd 100644 --- a/sdk/dotnet/ContainerRegistry/V20221201/Replication.cs +++ b/sdk/dotnet/ContainerRegistry/V20221201/Replication.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Replication"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Replication"}, diff --git a/sdk/dotnet/ContainerRegistry/V20221201/Webhook.cs b/sdk/dotnet/ContainerRegistry/V20221201/Webhook.cs index f73b0264776a..9849aab715e1 100644 --- a/sdk/dotnet/ContainerRegistry/V20221201/Webhook.cs +++ b/sdk/dotnet/ContainerRegistry/V20221201/Webhook.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Webhook"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Webhook"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230101Preview/Registry.cs b/sdk/dotnet/ContainerRegistry/V20230101Preview/Registry.cs index 0f09ca53a0f8..d40793ac9fc3 100644 --- a/sdk/dotnet/ContainerRegistry/V20230101Preview/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20230101Preview/Registry.cs @@ -173,9 +173,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230101Preview/Replication.cs b/sdk/dotnet/ContainerRegistry/V20230101Preview/Replication.cs index 473e4baf1f6f..f024f5a12749 100644 --- a/sdk/dotnet/ContainerRegistry/V20230101Preview/Replication.cs +++ b/sdk/dotnet/ContainerRegistry/V20230101Preview/Replication.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Replication"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Replication"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230101Preview/Webhook.cs b/sdk/dotnet/ContainerRegistry/V20230101Preview/Webhook.cs index a2954be9c994..bc05b2433005 100644 --- a/sdk/dotnet/ContainerRegistry/V20230101Preview/Webhook.cs +++ b/sdk/dotnet/ContainerRegistry/V20230101Preview/Webhook.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Webhook"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Webhook"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230601Preview/Registry.cs b/sdk/dotnet/ContainerRegistry/V20230601Preview/Registry.cs index a6abac187ffb..27765f139a3b 100644 --- a/sdk/dotnet/ContainerRegistry/V20230601Preview/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20230601Preview/Registry.cs @@ -173,9 +173,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230601Preview/Replication.cs b/sdk/dotnet/ContainerRegistry/V20230601Preview/Replication.cs index 2c77fbbb8607..90db65f63b6e 100644 --- a/sdk/dotnet/ContainerRegistry/V20230601Preview/Replication.cs +++ b/sdk/dotnet/ContainerRegistry/V20230601Preview/Replication.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Replication"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Replication"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230601Preview/Webhook.cs b/sdk/dotnet/ContainerRegistry/V20230601Preview/Webhook.cs index 17da316089ce..8960489590a2 100644 --- a/sdk/dotnet/ContainerRegistry/V20230601Preview/Webhook.cs +++ b/sdk/dotnet/ContainerRegistry/V20230601Preview/Webhook.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Webhook"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Webhook"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230701/Registry.cs b/sdk/dotnet/ContainerRegistry/V20230701/Registry.cs index 488bc813fe5a..597493f29d8e 100644 --- a/sdk/dotnet/ContainerRegistry/V20230701/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20230701/Registry.cs @@ -167,9 +167,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230701/Replication.cs b/sdk/dotnet/ContainerRegistry/V20230701/Replication.cs index d78b2895cf6d..86c323a7923d 100644 --- a/sdk/dotnet/ContainerRegistry/V20230701/Replication.cs +++ b/sdk/dotnet/ContainerRegistry/V20230701/Replication.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Replication"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Replication"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230701/Webhook.cs b/sdk/dotnet/ContainerRegistry/V20230701/Webhook.cs index e11becbc09a8..ac55df52a9fc 100644 --- a/sdk/dotnet/ContainerRegistry/V20230701/Webhook.cs +++ b/sdk/dotnet/ContainerRegistry/V20230701/Webhook.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Webhook"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Webhook"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230801Preview/Registry.cs b/sdk/dotnet/ContainerRegistry/V20230801Preview/Registry.cs index 4adc28adeb2d..3ed922527b33 100644 --- a/sdk/dotnet/ContainerRegistry/V20230801Preview/Registry.cs +++ b/sdk/dotnet/ContainerRegistry/V20230801Preview/Registry.cs @@ -173,9 +173,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20160627preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170301:Registry"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Registry"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Registry"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230801Preview/Replication.cs b/sdk/dotnet/ContainerRegistry/V20230801Preview/Replication.cs index 61ba7922652c..747b11be6765 100644 --- a/sdk/dotnet/ContainerRegistry/V20230801Preview/Replication.cs +++ b/sdk/dotnet/ContainerRegistry/V20230801Preview/Replication.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Replication"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Replication"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Replication"}, diff --git a/sdk/dotnet/ContainerRegistry/V20230801Preview/Webhook.cs b/sdk/dotnet/ContainerRegistry/V20230801Preview/Webhook.cs index a9e252800ab0..304ff3d3c4ab 100644 --- a/sdk/dotnet/ContainerRegistry/V20230801Preview/Webhook.cs +++ b/sdk/dotnet/ContainerRegistry/V20230801Preview/Webhook.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:containerregistry:Webhook"}, - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Webhook"}, diff --git a/sdk/dotnet/ContainerRegistry/Webhook.cs b/sdk/dotnet/ContainerRegistry/Webhook.cs index 55da630796f1..e5c430befcf0 100644 --- a/sdk/dotnet/ContainerRegistry/Webhook.cs +++ b/sdk/dotnet/ContainerRegistry/Webhook.cs @@ -95,7 +95,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20170601preview:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20171001:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20190501:Webhook"}, new global::Pulumi.Alias { Type = "azure-native:containerregistry/v20191201preview:Webhook"}, diff --git a/sdk/dotnet/ContainerService/AgentPool.cs b/sdk/dotnet/ContainerService/AgentPool.cs index 8ed11fa2be2a..777745958f1c 100644 --- a/sdk/dotnet/ContainerService/AgentPool.cs +++ b/sdk/dotnet/ContainerService/AgentPool.cs @@ -350,6 +350,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/Fleet.cs b/sdk/dotnet/ContainerService/Fleet.cs index f282b9f91f01..0bd46ce4e2dc 100644 --- a/sdk/dotnet/ContainerService/Fleet.cs +++ b/sdk/dotnet/ContainerService/Fleet.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:Fleet"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/FleetMember.cs b/sdk/dotnet/ContainerService/FleetMember.cs index 6c7b47215368..537840d688b2 100644 --- a/sdk/dotnet/ContainerService/FleetMember.cs +++ b/sdk/dotnet/ContainerService/FleetMember.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:FleetMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/FleetUpdateStrategy.cs b/sdk/dotnet/ContainerService/FleetUpdateStrategy.cs new file mode 100644 index 000000000000..881dda64c6f7 --- /dev/null +++ b/sdk/dotnet/ContainerService/FleetUpdateStrategy.cs @@ -0,0 +1,133 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService +{ + /// + /// Defines a multi-stage process to perform update operations across members of a Fleet. + /// Azure REST API version: 2023-08-15-preview. + /// + [AzureNativeResourceType("azure-native:containerservice:FleetUpdateStrategy")] + public partial class FleetUpdateStrategy : global::Pulumi.CustomResource + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the UpdateStrategy resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Defines the update sequence of the clusters. + /// + [Output("strategy")] + public Output Strategy { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a FleetUpdateStrategy 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 FleetUpdateStrategy(string name, FleetUpdateStrategyArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice:FleetUpdateStrategy", name, args ?? new FleetUpdateStrategyArgs(), MakeResourceOptions(options, "")) + { + } + + private FleetUpdateStrategy(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice:FleetUpdateStrategy", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:FleetUpdateStrategy"}, + }, + }; + 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 FleetUpdateStrategy 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. + /// A bag of options that control this resource's behavior + public static FleetUpdateStrategy Get(string name, Input id, CustomResourceOptions? options = null) + { + return new FleetUpdateStrategy(name, id, options); + } + } + + public sealed class FleetUpdateStrategyArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Defines the update sequence of the clusters. + /// + [Input("strategy", required: true)] + public Input Strategy { get; set; } = null!; + + /// + /// The name of the UpdateStrategy resource. + /// + [Input("updateStrategyName")] + public Input? UpdateStrategyName { get; set; } + + public FleetUpdateStrategyArgs() + { + } + public static new FleetUpdateStrategyArgs Empty => new FleetUpdateStrategyArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/GetFleetUpdateStrategy.cs b/sdk/dotnet/ContainerService/GetFleetUpdateStrategy.cs new file mode 100644 index 000000000000..5f0f864ab932 --- /dev/null +++ b/sdk/dotnet/ContainerService/GetFleetUpdateStrategy.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService +{ + public static class GetFleetUpdateStrategy + { + /// + /// Get a FleetUpdateStrategy + /// Azure REST API version: 2023-08-15-preview. + /// + public static Task InvokeAsync(GetFleetUpdateStrategyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice:getFleetUpdateStrategy", args ?? new GetFleetUpdateStrategyArgs(), options.WithDefaults()); + + /// + /// Get a FleetUpdateStrategy + /// Azure REST API version: 2023-08-15-preview. + /// + public static Output Invoke(GetFleetUpdateStrategyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice:getFleetUpdateStrategy", args ?? new GetFleetUpdateStrategyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFleetUpdateStrategyArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public string FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the UpdateStrategy resource. + /// + [Input("updateStrategyName", required: true)] + public string UpdateStrategyName { get; set; } = null!; + + public GetFleetUpdateStrategyArgs() + { + } + public static new GetFleetUpdateStrategyArgs Empty => new GetFleetUpdateStrategyArgs(); + } + + public sealed class GetFleetUpdateStrategyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the UpdateStrategy resource. + /// + [Input("updateStrategyName", required: true)] + public Input UpdateStrategyName { get; set; } = null!; + + public GetFleetUpdateStrategyInvokeArgs() + { + } + public static new GetFleetUpdateStrategyInvokeArgs Empty => new GetFleetUpdateStrategyInvokeArgs(); + } + + + [OutputType] + public sealed class GetFleetUpdateStrategyResult + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string ETag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the UpdateStrategy resource. + /// + public readonly string ProvisioningState; + /// + /// Defines the update sequence of the clusters. + /// + public readonly Outputs.UpdateRunStrategyResponse Strategy; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetFleetUpdateStrategyResult( + string eTag, + + string id, + + string name, + + string provisioningState, + + Outputs.UpdateRunStrategyResponse strategy, + + Outputs.SystemDataResponse systemData, + + string type) + { + ETag = eTag; + Id = id; + Name = name; + ProvisioningState = provisioningState; + Strategy = strategy; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/Inputs/UpdateGroupArgs.cs b/sdk/dotnet/ContainerService/Inputs/UpdateGroupArgs.cs index 47827a2467ca..69c3b69a2918 100644 --- a/sdk/dotnet/ContainerService/Inputs/UpdateGroupArgs.cs +++ b/sdk/dotnet/ContainerService/Inputs/UpdateGroupArgs.cs @@ -16,9 +16,8 @@ namespace Pulumi.AzureNative.ContainerService.Inputs public sealed class UpdateGroupArgs : global::Pulumi.ResourceArgs { /// - /// The name of the Fleet member group to update. - /// It should match the name of an existing FleetMember group. - /// A group can only appear once across all UpdateStages in the UpdateRun. + /// Name of the group. + /// It must match a group name of an existing fleet member. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/ContainerService/Inputs/UpdateRunStrategyArgs.cs b/sdk/dotnet/ContainerService/Inputs/UpdateRunStrategyArgs.cs index e7ce8114db56..b8fa8dcc2ed3 100644 --- a/sdk/dotnet/ContainerService/Inputs/UpdateRunStrategyArgs.cs +++ b/sdk/dotnet/ContainerService/Inputs/UpdateRunStrategyArgs.cs @@ -11,7 +11,13 @@ namespace Pulumi.AzureNative.ContainerService.Inputs { /// - /// The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. /// public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs { @@ -19,7 +25,7 @@ public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs private InputList? _stages; /// - /// The list of stages that compose this update run. + /// The list of stages that compose this update run. Min size: 1. /// public InputList Stages { diff --git a/sdk/dotnet/ContainerService/Inputs/UpdateStageArgs.cs b/sdk/dotnet/ContainerService/Inputs/UpdateStageArgs.cs index fbbdf0ea5d06..135e4a18b562 100644 --- a/sdk/dotnet/ContainerService/Inputs/UpdateStageArgs.cs +++ b/sdk/dotnet/ContainerService/Inputs/UpdateStageArgs.cs @@ -11,11 +11,7 @@ namespace Pulumi.AzureNative.ContainerService.Inputs { /// - /// Contains the groups to be updated by an UpdateRun. - /// Update order: - /// - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - /// - Parallel within a stage: Groups within a stage run in parallel. - /// - Sequential within a group: Clusters within a group are updated sequentially. + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. /// public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs { @@ -29,8 +25,7 @@ public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs private InputList? _groups; /// - /// A list of group names that compose the stage. - /// The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// public InputList Groups { diff --git a/sdk/dotnet/ContainerService/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/MaintenanceConfiguration.cs index 3ead33b95ad9..10e948685ace 100644 --- a/sdk/dotnet/ContainerService/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/MaintenanceConfiguration.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/ManagedCluster.cs b/sdk/dotnet/ContainerService/ManagedCluster.cs index 85c15c9d2421..06af0543db2b 100644 --- a/sdk/dotnet/ContainerService/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/ManagedCluster.cs @@ -365,6 +365,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/Outputs/UpdateGroupResponse.cs b/sdk/dotnet/ContainerService/Outputs/UpdateGroupResponse.cs index 4cbd531929f7..7d09c3930c04 100644 --- a/sdk/dotnet/ContainerService/Outputs/UpdateGroupResponse.cs +++ b/sdk/dotnet/ContainerService/Outputs/UpdateGroupResponse.cs @@ -17,9 +17,8 @@ namespace Pulumi.AzureNative.ContainerService.Outputs public sealed class UpdateGroupResponse { /// - /// The name of the Fleet member group to update. - /// It should match the name of an existing FleetMember group. - /// A group can only appear once across all UpdateStages in the UpdateRun. + /// Name of the group. + /// It must match a group name of an existing fleet member. /// public readonly string Name; diff --git a/sdk/dotnet/ContainerService/Outputs/UpdateRunStrategyResponse.cs b/sdk/dotnet/ContainerService/Outputs/UpdateRunStrategyResponse.cs index 5dffc4b23d11..ef575f2bd1b8 100644 --- a/sdk/dotnet/ContainerService/Outputs/UpdateRunStrategyResponse.cs +++ b/sdk/dotnet/ContainerService/Outputs/UpdateRunStrategyResponse.cs @@ -11,13 +11,19 @@ namespace Pulumi.AzureNative.ContainerService.Outputs { /// - /// The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. /// [OutputType] public sealed class UpdateRunStrategyResponse { /// - /// The list of stages that compose this update run. + /// The list of stages that compose this update run. Min size: 1. /// public readonly ImmutableArray Stages; diff --git a/sdk/dotnet/ContainerService/Outputs/UpdateStageResponse.cs b/sdk/dotnet/ContainerService/Outputs/UpdateStageResponse.cs index d778a98900b9..b3defe13212c 100644 --- a/sdk/dotnet/ContainerService/Outputs/UpdateStageResponse.cs +++ b/sdk/dotnet/ContainerService/Outputs/UpdateStageResponse.cs @@ -11,11 +11,7 @@ namespace Pulumi.AzureNative.ContainerService.Outputs { /// - /// Contains the groups to be updated by an UpdateRun. - /// Update order: - /// - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - /// - Parallel within a stage: Groups within a stage run in parallel. - /// - Sequential within a group: Clusters within a group are updated sequentially. + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. /// [OutputType] public sealed class UpdateStageResponse @@ -25,8 +21,7 @@ public sealed class UpdateStageResponse /// public readonly int? AfterStageWaitInSeconds; /// - /// A list of group names that compose the stage. - /// The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// public readonly ImmutableArray Groups; /// diff --git a/sdk/dotnet/ContainerService/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/PrivateEndpointConnection.cs index e68e58c3f00d..b05915bf3fcb 100644 --- a/sdk/dotnet/ContainerService/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/PrivateEndpointConnection.cs @@ -118,6 +118,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/Snapshot.cs b/sdk/dotnet/ContainerService/Snapshot.cs index 13c5dda69ceb..f9fe5b0e927b 100644 --- a/sdk/dotnet/ContainerService/Snapshot.cs +++ b/sdk/dotnet/ContainerService/Snapshot.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/UpdateRun.cs b/sdk/dotnet/ContainerService/UpdateRun.cs index b6df19a63db8..21ebeeedce87 100644 --- a/sdk/dotnet/ContainerService/UpdateRun.cs +++ b/sdk/dotnet/ContainerService/UpdateRun.cs @@ -10,7 +10,7 @@ namespace Pulumi.AzureNative.ContainerService { /// - /// An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + /// A multi-stage process to perform update operations across members of a Fleet. /// Azure REST API version: 2023-03-15-preview. /// [AzureNativeResourceType("azure-native:containerservice:UpdateRun")] @@ -93,6 +93,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:UpdateRun"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:UpdateRun"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:UpdateRun"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20190601/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20190601/ManagedCluster.cs index 58bd4ac76ac8..b51f962007b1 100644 --- a/sdk/dotnet/ContainerService/V20190601/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20190601/ManagedCluster.cs @@ -226,6 +226,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20200601/AgentPool.cs b/sdk/dotnet/ContainerService/V20200601/AgentPool.cs index 6be42a469368..33e8f54c75c7 100644 --- a/sdk/dotnet/ContainerService/V20200601/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20200601/AgentPool.cs @@ -247,6 +247,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20210201/AgentPool.cs b/sdk/dotnet/ContainerService/V20210201/AgentPool.cs index fe5979e4ce75..ce0ae83673fb 100644 --- a/sdk/dotnet/ContainerService/V20210201/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20210201/AgentPool.cs @@ -295,6 +295,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20210501/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20210501/ManagedCluster.cs index 8cb1e1cf02fd..9a8647aecadd 100644 --- a/sdk/dotnet/ContainerService/V20210501/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20210501/ManagedCluster.cs @@ -310,6 +310,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20210801/AgentPool.cs b/sdk/dotnet/ContainerService/V20210801/AgentPool.cs index 52dc3acafc7d..8cef9265599d 100644 --- a/sdk/dotnet/ContainerService/V20210801/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20210801/AgentPool.cs @@ -337,6 +337,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20220402Preview/AgentPool.cs b/sdk/dotnet/ContainerService/V20220402Preview/AgentPool.cs index 914b428b7a5d..cfebc2adf06c 100644 --- a/sdk/dotnet/ContainerService/V20220402Preview/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20220402Preview/AgentPool.cs @@ -367,6 +367,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20220702Preview/Fleet.cs b/sdk/dotnet/ContainerService/V20220702Preview/Fleet.cs index 7ac35413961e..a7be193b03a1 100644 --- a/sdk/dotnet/ContainerService/V20220702Preview/Fleet.cs +++ b/sdk/dotnet/ContainerService/V20220702Preview/Fleet.cs @@ -93,6 +93,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:Fleet"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20220702Preview/FleetMember.cs b/sdk/dotnet/ContainerService/V20220702Preview/FleetMember.cs index 580f7e5919b0..9422605ad986 100644 --- a/sdk/dotnet/ContainerService/V20220702Preview/FleetMember.cs +++ b/sdk/dotnet/ContainerService/V20220702Preview/FleetMember.cs @@ -81,6 +81,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:FleetMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Fleet.cs b/sdk/dotnet/ContainerService/V20230315Preview/Fleet.cs index 77b744b7ab16..cf06b8ca3111 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Fleet.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Fleet.cs @@ -93,6 +93,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:Fleet"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230315Preview/FleetMember.cs b/sdk/dotnet/ContainerService/V20230315Preview/FleetMember.cs index c449fc706300..076d82db227a 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/FleetMember.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/FleetMember.cs @@ -87,6 +87,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:FleetMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateGroupArgs.cs b/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateGroupArgs.cs index f73d8b9c296f..1e8ea28f4509 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateGroupArgs.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateGroupArgs.cs @@ -16,9 +16,8 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview.Inputs public sealed class UpdateGroupArgs : global::Pulumi.ResourceArgs { /// - /// The name of the Fleet member group to update. - /// It should match the name of an existing FleetMember group. - /// A group can only appear once across all UpdateStages in the UpdateRun. + /// Name of the group. + /// It must match a group name of an existing fleet member. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateRunStrategyArgs.cs b/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateRunStrategyArgs.cs index 4e13352dd227..d753cf240dd2 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateRunStrategyArgs.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateRunStrategyArgs.cs @@ -11,7 +11,13 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview.Inputs { /// - /// The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. /// public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs { @@ -19,7 +25,7 @@ public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs private InputList? _stages; /// - /// The list of stages that compose this update run. + /// The list of stages that compose this update run. Min size: 1. /// public InputList Stages { diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateStageArgs.cs b/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateStageArgs.cs index 00ab1dc32d54..b667c7e1401c 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateStageArgs.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Inputs/UpdateStageArgs.cs @@ -11,11 +11,7 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview.Inputs { /// - /// Contains the groups to be updated by an UpdateRun. - /// Update order: - /// - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - /// - Parallel within a stage: Groups within a stage run in parallel. - /// - Sequential within a group: Clusters within a group are updated sequentially. + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. /// public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs { @@ -29,8 +25,7 @@ public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs private InputList? _groups; /// - /// A list of group names that compose the stage. - /// The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// public InputList Groups { diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateGroupResponse.cs b/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateGroupResponse.cs index 9c7c3c7c8305..f2c6ea70a594 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateGroupResponse.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateGroupResponse.cs @@ -17,9 +17,8 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview.Outputs public sealed class UpdateGroupResponse { /// - /// The name of the Fleet member group to update. - /// It should match the name of an existing FleetMember group. - /// A group can only appear once across all UpdateStages in the UpdateRun. + /// Name of the group. + /// It must match a group name of an existing fleet member. /// public readonly string Name; diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateRunStrategyResponse.cs b/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateRunStrategyResponse.cs index 480b107ae107..2eca18775205 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateRunStrategyResponse.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateRunStrategyResponse.cs @@ -11,13 +11,19 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview.Outputs { /// - /// The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. /// [OutputType] public sealed class UpdateRunStrategyResponse { /// - /// The list of stages that compose this update run. + /// The list of stages that compose this update run. Min size: 1. /// public readonly ImmutableArray Stages; diff --git a/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateStageResponse.cs b/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateStageResponse.cs index e07fd6c2e4da..0bfe808074e3 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateStageResponse.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/Outputs/UpdateStageResponse.cs @@ -11,11 +11,7 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview.Outputs { /// - /// Contains the groups to be updated by an UpdateRun. - /// Update order: - /// - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - /// - Parallel within a stage: Groups within a stage run in parallel. - /// - Sequential within a group: Clusters within a group are updated sequentially. + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. /// [OutputType] public sealed class UpdateStageResponse @@ -25,8 +21,7 @@ public sealed class UpdateStageResponse /// public readonly int? AfterStageWaitInSeconds; /// - /// A list of group names that compose the stage. - /// The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// public readonly ImmutableArray Groups; /// diff --git a/sdk/dotnet/ContainerService/V20230315Preview/UpdateRun.cs b/sdk/dotnet/ContainerService/V20230315Preview/UpdateRun.cs index 9e57676a5097..02332de12d7e 100644 --- a/sdk/dotnet/ContainerService/V20230315Preview/UpdateRun.cs +++ b/sdk/dotnet/ContainerService/V20230315Preview/UpdateRun.cs @@ -10,7 +10,7 @@ namespace Pulumi.AzureNative.ContainerService.V20230315Preview { /// - /// An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + /// A multi-stage process to perform update operations across members of a Fleet. /// [AzureNativeResourceType("azure-native:containerservice/v20230315preview:UpdateRun")] public partial class UpdateRun : global::Pulumi.CustomResource @@ -92,6 +92,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:containerservice:UpdateRun"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:UpdateRun"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:UpdateRun"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230401/AgentPool.cs b/sdk/dotnet/ContainerService/V20230401/AgentPool.cs index 6925648379d0..97f56ee68553 100644 --- a/sdk/dotnet/ContainerService/V20230401/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20230401/AgentPool.cs @@ -349,6 +349,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230401/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230401/MaintenanceConfiguration.cs index f7e1f6a5e8a5..3491d4318055 100644 --- a/sdk/dotnet/ContainerService/V20230401/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/V20230401/MaintenanceConfiguration.cs @@ -113,6 +113,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230401/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230401/ManagedCluster.cs index d0f3c5328242..cc9b88331de0 100644 --- a/sdk/dotnet/ContainerService/V20230401/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20230401/ManagedCluster.cs @@ -364,6 +364,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230401/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230401/PrivateEndpointConnection.cs index 9a7fbd6061c8..326fda0e61d9 100644 --- a/sdk/dotnet/ContainerService/V20230401/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/V20230401/PrivateEndpointConnection.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230401/Snapshot.cs b/sdk/dotnet/ContainerService/V20230401/Snapshot.cs index 37c107c79892..68188770bf97 100644 --- a/sdk/dotnet/ContainerService/V20230401/Snapshot.cs +++ b/sdk/dotnet/ContainerService/V20230401/Snapshot.cs @@ -156,6 +156,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230502Preview/AgentPool.cs b/sdk/dotnet/ContainerService/V20230502Preview/AgentPool.cs index 770c470794ab..56bc2ff5c6b9 100644 --- a/sdk/dotnet/ContainerService/V20230502Preview/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20230502Preview/AgentPool.cs @@ -379,6 +379,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230502Preview/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230502Preview/MaintenanceConfiguration.cs index bb8cd2a4dfe5..0e35589e9603 100644 --- a/sdk/dotnet/ContainerService/V20230502Preview/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/V20230502Preview/MaintenanceConfiguration.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230502Preview/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230502Preview/ManagedCluster.cs index 2699cabccd95..18b124d8a175 100644 --- a/sdk/dotnet/ContainerService/V20230502Preview/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20230502Preview/ManagedCluster.cs @@ -406,6 +406,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230502Preview/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230502Preview/PrivateEndpointConnection.cs index a5cb2de7d9b4..7c18b57918de 100644 --- a/sdk/dotnet/ContainerService/V20230502Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/V20230502Preview/PrivateEndpointConnection.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230502Preview/Snapshot.cs b/sdk/dotnet/ContainerService/V20230502Preview/Snapshot.cs index 276e81bf6c95..f9a2f8709723 100644 --- a/sdk/dotnet/ContainerService/V20230502Preview/Snapshot.cs +++ b/sdk/dotnet/ContainerService/V20230502Preview/Snapshot.cs @@ -156,6 +156,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230601/AgentPool.cs b/sdk/dotnet/ContainerService/V20230601/AgentPool.cs index c45085881a4c..aa574ff1f235 100644 --- a/sdk/dotnet/ContainerService/V20230601/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20230601/AgentPool.cs @@ -349,6 +349,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230601/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230601/MaintenanceConfiguration.cs index 0bf6f2d7c51e..2c9134a6f514 100644 --- a/sdk/dotnet/ContainerService/V20230601/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/V20230601/MaintenanceConfiguration.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230601/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230601/ManagedCluster.cs index eb92824fffd7..9275db83a80f 100644 --- a/sdk/dotnet/ContainerService/V20230601/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20230601/ManagedCluster.cs @@ -364,6 +364,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230601/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230601/PrivateEndpointConnection.cs index 67a8e54f4206..0d527be37d50 100644 --- a/sdk/dotnet/ContainerService/V20230601/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/V20230601/PrivateEndpointConnection.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230601/Snapshot.cs b/sdk/dotnet/ContainerService/V20230601/Snapshot.cs index 586fa18ad50a..86107c6d5aab 100644 --- a/sdk/dotnet/ContainerService/V20230601/Snapshot.cs +++ b/sdk/dotnet/ContainerService/V20230601/Snapshot.cs @@ -156,6 +156,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230602Preview/AgentPool.cs b/sdk/dotnet/ContainerService/V20230602Preview/AgentPool.cs index d0d29311b905..44b744d8db25 100644 --- a/sdk/dotnet/ContainerService/V20230602Preview/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20230602Preview/AgentPool.cs @@ -385,6 +385,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230602Preview/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230602Preview/MaintenanceConfiguration.cs index 72d9eb31ccd2..4b64049713ac 100644 --- a/sdk/dotnet/ContainerService/V20230602Preview/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/V20230602Preview/MaintenanceConfiguration.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230602Preview/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230602Preview/ManagedCluster.cs index 72f9f280b870..e11743f40ed0 100644 --- a/sdk/dotnet/ContainerService/V20230602Preview/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20230602Preview/ManagedCluster.cs @@ -406,6 +406,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230602Preview/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230602Preview/PrivateEndpointConnection.cs index aead072fab69..2104531fda49 100644 --- a/sdk/dotnet/ContainerService/V20230602Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/V20230602Preview/PrivateEndpointConnection.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230602Preview/Snapshot.cs b/sdk/dotnet/ContainerService/V20230602Preview/Snapshot.cs index 23d8da6b74d6..31e5efe3fdde 100644 --- a/sdk/dotnet/ContainerService/V20230602Preview/Snapshot.cs +++ b/sdk/dotnet/ContainerService/V20230602Preview/Snapshot.cs @@ -156,6 +156,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Fleet.cs b/sdk/dotnet/ContainerService/V20230615Preview/Fleet.cs index 59941ccb9985..5c44aed7c52a 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Fleet.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Fleet.cs @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:Fleet"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:Fleet"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230615Preview/FleetMember.cs b/sdk/dotnet/ContainerService/V20230615Preview/FleetMember.cs index 0612e8d03b76..eaa2cd72e6dd 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/FleetMember.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/FleetMember.cs @@ -87,6 +87,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:FleetMember"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:FleetMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateGroupArgs.cs b/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateGroupArgs.cs index 06078f95afe2..f049503f0648 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateGroupArgs.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateGroupArgs.cs @@ -16,9 +16,8 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview.Inputs public sealed class UpdateGroupArgs : global::Pulumi.ResourceArgs { /// - /// The name of the Fleet member group to update. - /// It should match the name of an existing FleetMember group. - /// A group can only appear once across all UpdateStages in the UpdateRun. + /// Name of the group. + /// It must match a group name of an existing fleet member. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateRunStrategyArgs.cs b/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateRunStrategyArgs.cs index e4b951e58fed..d4a5dcf8fc5d 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateRunStrategyArgs.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateRunStrategyArgs.cs @@ -11,7 +11,13 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview.Inputs { /// - /// The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. /// public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs { @@ -19,7 +25,7 @@ public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs private InputList? _stages; /// - /// The list of stages that compose this update run. + /// The list of stages that compose this update run. Min size: 1. /// public InputList Stages { diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateStageArgs.cs b/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateStageArgs.cs index f422ae182b6c..b0cb89e2044b 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateStageArgs.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Inputs/UpdateStageArgs.cs @@ -11,11 +11,7 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview.Inputs { /// - /// Contains the groups to be updated by an UpdateRun. - /// Update order: - /// - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - /// - Parallel within a stage: Groups within a stage run in parallel. - /// - Sequential within a group: Clusters within a group are updated sequentially. + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. /// public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs { @@ -29,8 +25,7 @@ public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs private InputList? _groups; /// - /// A list of group names that compose the stage. - /// The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// public InputList Groups { diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateGroupResponse.cs b/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateGroupResponse.cs index 6b2f5d2eff49..c2c143fe4232 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateGroupResponse.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateGroupResponse.cs @@ -17,9 +17,8 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview.Outputs public sealed class UpdateGroupResponse { /// - /// The name of the Fleet member group to update. - /// It should match the name of an existing FleetMember group. - /// A group can only appear once across all UpdateStages in the UpdateRun. + /// Name of the group. + /// It must match a group name of an existing fleet member. /// public readonly string Name; diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateRunStrategyResponse.cs b/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateRunStrategyResponse.cs index 9cf2fd2e9e33..96f6961776c1 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateRunStrategyResponse.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateRunStrategyResponse.cs @@ -11,13 +11,19 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview.Outputs { /// - /// The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. /// [OutputType] public sealed class UpdateRunStrategyResponse { /// - /// The list of stages that compose this update run. + /// The list of stages that compose this update run. Min size: 1. /// public readonly ImmutableArray Stages; diff --git a/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateStageResponse.cs b/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateStageResponse.cs index ebbf16914ee4..411ae36c19fa 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateStageResponse.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/Outputs/UpdateStageResponse.cs @@ -11,11 +11,7 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview.Outputs { /// - /// Contains the groups to be updated by an UpdateRun. - /// Update order: - /// - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - /// - Parallel within a stage: Groups within a stage run in parallel. - /// - Sequential within a group: Clusters within a group are updated sequentially. + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. /// [OutputType] public sealed class UpdateStageResponse @@ -25,8 +21,7 @@ public sealed class UpdateStageResponse /// public readonly int? AfterStageWaitInSeconds; /// - /// A list of group names that compose the stage. - /// The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. /// public readonly ImmutableArray Groups; /// diff --git a/sdk/dotnet/ContainerService/V20230615Preview/UpdateRun.cs b/sdk/dotnet/ContainerService/V20230615Preview/UpdateRun.cs index 3e831a9b768c..15d75e6f21e4 100644 --- a/sdk/dotnet/ContainerService/V20230615Preview/UpdateRun.cs +++ b/sdk/dotnet/ContainerService/V20230615Preview/UpdateRun.cs @@ -10,7 +10,7 @@ namespace Pulumi.AzureNative.ContainerService.V20230615Preview { /// - /// An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + /// A multi-stage process to perform update operations across members of a Fleet. /// [AzureNativeResourceType("azure-native:containerservice/v20230615preview:UpdateRun")] public partial class UpdateRun : global::Pulumi.CustomResource @@ -92,6 +92,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:containerservice:UpdateRun"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:UpdateRun"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230815preview:UpdateRun"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230701/AgentPool.cs b/sdk/dotnet/ContainerService/V20230701/AgentPool.cs index 79f41810c156..37d4f45db2d6 100644 --- a/sdk/dotnet/ContainerService/V20230701/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20230701/AgentPool.cs @@ -349,6 +349,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230701/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230701/MaintenanceConfiguration.cs index a773335c525e..56a9110b9090 100644 --- a/sdk/dotnet/ContainerService/V20230701/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/V20230701/MaintenanceConfiguration.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230701/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230701/ManagedCluster.cs index 2f4814d2ed80..dfe512bd1172 100644 --- a/sdk/dotnet/ContainerService/V20230701/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20230701/ManagedCluster.cs @@ -370,6 +370,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230701/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230701/PrivateEndpointConnection.cs index b8c42dad725d..033edba009b4 100644 --- a/sdk/dotnet/ContainerService/V20230701/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/V20230701/PrivateEndpointConnection.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230701/Snapshot.cs b/sdk/dotnet/ContainerService/V20230701/Snapshot.cs index d89eeccbd2cf..e05de55ca74c 100644 --- a/sdk/dotnet/ContainerService/V20230701/Snapshot.cs +++ b/sdk/dotnet/ContainerService/V20230701/Snapshot.cs @@ -156,6 +156,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230702Preview/AgentPool.cs b/sdk/dotnet/ContainerService/V20230702Preview/AgentPool.cs index 98b45662636c..afee00a19790 100644 --- a/sdk/dotnet/ContainerService/V20230702Preview/AgentPool.cs +++ b/sdk/dotnet/ContainerService/V20230702Preview/AgentPool.cs @@ -385,6 +385,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:AgentPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230702Preview/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230702Preview/MaintenanceConfiguration.cs index 40bead34a9bf..c50eb91afab1 100644 --- a/sdk/dotnet/ContainerService/V20230702Preview/MaintenanceConfiguration.cs +++ b/sdk/dotnet/ContainerService/V20230702Preview/MaintenanceConfiguration.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:MaintenanceConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230702Preview/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230702Preview/ManagedCluster.cs index ced8d9582250..5bd1204f81f0 100644 --- a/sdk/dotnet/ContainerService/V20230702Preview/ManagedCluster.cs +++ b/sdk/dotnet/ContainerService/V20230702Preview/ManagedCluster.cs @@ -418,6 +418,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:ManagedCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230702Preview/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230702Preview/PrivateEndpointConnection.cs index 81fb5fea9131..4c3800f1e4ed 100644 --- a/sdk/dotnet/ContainerService/V20230702Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ContainerService/V20230702Preview/PrivateEndpointConnection.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230702Preview/Snapshot.cs b/sdk/dotnet/ContainerService/V20230702Preview/Snapshot.cs index 7e2c01b9b70a..7f8d9fd8008f 100644 --- a/sdk/dotnet/ContainerService/V20230702Preview/Snapshot.cs +++ b/sdk/dotnet/ContainerService/V20230702Preview/Snapshot.cs @@ -156,6 +156,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230801:Snapshot"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ContainerService/V20230801/AgentPool.cs b/sdk/dotnet/ContainerService/V20230801/AgentPool.cs new file mode 100644 index 000000000000..3b69aac184ce --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/AgentPool.cs @@ -0,0 +1,651 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + /// + /// Agent Pool. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230801:AgentPool")] + public partial class AgentPool : global::Pulumi.CustomResource + { + /// + /// The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + /// + [Output("availabilityZones")] + public Output> AvailabilityZones { get; private set; } = null!; + + /// + /// Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + /// + [Output("count")] + public Output Count { get; private set; } = null!; + + /// + /// CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + /// + [Output("creationData")] + public Output CreationData { get; private set; } = null!; + + /// + /// If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used. + /// + [Output("currentOrchestratorVersion")] + public Output CurrentOrchestratorVersion { get; private set; } = null!; + + /// + /// Whether to enable auto-scaler + /// + [Output("enableAutoScaling")] + public Output EnableAutoScaling { get; private set; } = null!; + + /// + /// This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + [Output("enableEncryptionAtHost")] + public Output EnableEncryptionAtHost { get; private set; } = null!; + + /// + /// See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + /// + [Output("enableFIPS")] + public Output EnableFIPS { get; private set; } = null!; + + /// + /// Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + /// + [Output("enableNodePublicIP")] + public Output EnableNodePublicIP { get; private set; } = null!; + + /// + /// Whether to enable UltraSSD + /// + [Output("enableUltraSSD")] + public Output EnableUltraSSD { get; private set; } = null!; + + /// + /// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + /// + [Output("gpuInstanceProfile")] + public Output GpuInstanceProfile { get; private set; } = null!; + + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + /// + [Output("hostGroupID")] + public Output HostGroupID { get; private set; } = null!; + + /// + /// The Kubelet configuration on the agent pool nodes. + /// + [Output("kubeletConfig")] + public Output KubeletConfig { get; private set; } = null!; + + /// + /// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + /// + [Output("kubeletDiskType")] + public Output KubeletDiskType { get; private set; } = null!; + + /// + /// The OS configuration of Linux agent nodes. + /// + [Output("linuxOSConfig")] + public Output LinuxOSConfig { get; private set; } = null!; + + /// + /// The maximum number of nodes for auto-scaling + /// + [Output("maxCount")] + public Output MaxCount { get; private set; } = null!; + + /// + /// The maximum number of pods that can run on a node. + /// + [Output("maxPods")] + public Output MaxPods { get; private set; } = null!; + + /// + /// The minimum number of nodes for auto-scaling + /// + [Output("minCount")] + public Output MinCount { get; private set; } = null!; + + /// + /// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + /// + [Output("mode")] + public Output Mode { get; private set; } = null!; + + /// + /// The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The version of node image + /// + [Output("nodeImageVersion")] + public Output NodeImageVersion { get; private set; } = null!; + + /// + /// The node labels to be persisted across all nodes in agent pool. + /// + [Output("nodeLabels")] + public Output?> NodeLabels { get; private set; } = null!; + + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + [Output("nodePublicIPPrefixID")] + public Output NodePublicIPPrefixID { get; private set; } = null!; + + /// + /// The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + /// + [Output("nodeTaints")] + public Output> NodeTaints { get; private set; } = null!; + + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// + [Output("orchestratorVersion")] + public Output OrchestratorVersion { get; private set; } = null!; + + /// + /// OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + /// + [Output("osDiskSizeGB")] + public Output OsDiskSizeGB { get; private set; } = null!; + + /// + /// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + /// + [Output("osDiskType")] + public Output OsDiskType { get; private set; } = null!; + + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + [Output("osSKU")] + public Output OsSKU { get; private set; } = null!; + + /// + /// The operating system type. The default is Linux. + /// + [Output("osType")] + public Output OsType { get; private set; } = null!; + + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [Output("podSubnetID")] + public Output PodSubnetID { get; private set; } = null!; + + /// + /// When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + /// + [Output("powerState")] + public Output PowerState { get; private set; } = null!; + + /// + /// The current deployment or provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The ID for Proximity Placement Group. + /// + [Output("proximityPlacementGroupID")] + public Output ProximityPlacementGroupID { get; private set; } = null!; + + /// + /// This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + /// + [Output("scaleDownMode")] + public Output ScaleDownMode { get; private set; } = null!; + + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + /// + [Output("scaleSetEvictionPolicy")] + public Output ScaleSetEvictionPolicy { get; private set; } = null!; + + /// + /// The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + /// + [Output("scaleSetPriority")] + public Output ScaleSetPriority { get; private set; } = null!; + + /// + /// Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// + [Output("spotMaxPrice")] + public Output SpotMaxPrice { get; private set; } = null!; + + /// + /// The tags to be persisted on the agent pool virtual machine scale set. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Settings for upgrading the agentpool + /// + [Output("upgradeSettings")] + public Output UpgradeSettings { get; private set; } = null!; + + /// + /// VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// + [Output("vmSize")] + public Output VmSize { get; private set; } = null!; + + /// + /// If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [Output("vnetSubnetID")] + public Output VnetSubnetID { get; private set; } = null!; + + /// + /// Determines the type of workload a node can run. + /// + [Output("workloadRuntime")] + public Output WorkloadRuntime { get; private set; } = null!; + + + /// + /// Create a AgentPool 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 AgentPool(string name, AgentPoolArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:AgentPool", name, args ?? new AgentPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private AgentPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:AgentPool", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190201:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190401:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190601:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190801:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20191001:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20191101:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200101:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200201:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200301:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200401:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200601:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200701:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200901:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201101:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201201:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210201:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210301:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210501:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210701:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210801:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210901:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211001:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211101preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220101:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220102preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220201:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220202preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220301:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220302preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220401:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220402preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220502preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220601:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220701:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220802preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220803preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220901:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221002preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221101:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221102preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230101:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230102preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230201:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230202preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230301:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230302preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230401:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230402preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230501:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230502preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:AgentPool"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:AgentPool"}, + }, + }; + 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 AgentPool 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. + /// A bag of options that control this resource's behavior + public static AgentPool Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AgentPool(name, id, options); + } + } + + public sealed class AgentPoolArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the agent pool. + /// + [Input("agentPoolName")] + public Input? AgentPoolName { get; set; } + + [Input("availabilityZones")] + private InputList? _availabilityZones; + + /// + /// The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + /// + public InputList AvailabilityZones + { + get => _availabilityZones ?? (_availabilityZones = new InputList()); + set => _availabilityZones = value; + } + + /// + /// Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + /// + [Input("count")] + public Input? Count { get; set; } + + /// + /// CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + /// + [Input("creationData")] + public Input? CreationData { get; set; } + + /// + /// Whether to enable auto-scaler + /// + [Input("enableAutoScaling")] + public Input? EnableAutoScaling { get; set; } + + /// + /// This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + [Input("enableEncryptionAtHost")] + public Input? EnableEncryptionAtHost { get; set; } + + /// + /// See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + /// + [Input("enableFIPS")] + public Input? EnableFIPS { get; set; } + + /// + /// Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + /// + [Input("enableNodePublicIP")] + public Input? EnableNodePublicIP { get; set; } + + /// + /// Whether to enable UltraSSD + /// + [Input("enableUltraSSD")] + public Input? EnableUltraSSD { get; set; } + + /// + /// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + /// + [Input("gpuInstanceProfile")] + public InputUnion? GpuInstanceProfile { get; set; } + + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + /// + [Input("hostGroupID")] + public Input? HostGroupID { get; set; } + + /// + /// The Kubelet configuration on the agent pool nodes. + /// + [Input("kubeletConfig")] + public Input? KubeletConfig { get; set; } + + /// + /// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + /// + [Input("kubeletDiskType")] + public InputUnion? KubeletDiskType { get; set; } + + /// + /// The OS configuration of Linux agent nodes. + /// + [Input("linuxOSConfig")] + public Input? LinuxOSConfig { get; set; } + + /// + /// The maximum number of nodes for auto-scaling + /// + [Input("maxCount")] + public Input? MaxCount { get; set; } + + /// + /// The maximum number of pods that can run on a node. + /// + [Input("maxPods")] + public Input? MaxPods { get; set; } + + /// + /// The minimum number of nodes for auto-scaling + /// + [Input("minCount")] + public Input? MinCount { get; set; } + + /// + /// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + /// + [Input("mode")] + public InputUnion? Mode { get; set; } + + [Input("nodeLabels")] + private InputMap? _nodeLabels; + + /// + /// The node labels to be persisted across all nodes in agent pool. + /// + public InputMap NodeLabels + { + get => _nodeLabels ?? (_nodeLabels = new InputMap()); + set => _nodeLabels = value; + } + + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + [Input("nodePublicIPPrefixID")] + public Input? NodePublicIPPrefixID { get; set; } + + [Input("nodeTaints")] + private InputList? _nodeTaints; + + /// + /// The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + /// + public InputList NodeTaints + { + get => _nodeTaints ?? (_nodeTaints = new InputList()); + set => _nodeTaints = value; + } + + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// + [Input("orchestratorVersion")] + public Input? OrchestratorVersion { get; set; } + + /// + /// OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + /// + [Input("osDiskSizeGB")] + public Input? OsDiskSizeGB { get; set; } + + /// + /// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + /// + [Input("osDiskType")] + public InputUnion? OsDiskType { get; set; } + + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + [Input("osSKU")] + public InputUnion? OsSKU { get; set; } + + /// + /// The operating system type. The default is Linux. + /// + [Input("osType")] + public InputUnion? OsType { get; set; } + + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [Input("podSubnetID")] + public Input? PodSubnetID { get; set; } + + /// + /// When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + /// + [Input("powerState")] + public Input? PowerState { get; set; } + + /// + /// The ID for Proximity Placement Group. + /// + [Input("proximityPlacementGroupID")] + public Input? ProximityPlacementGroupID { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + /// + /// This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + /// + [Input("scaleDownMode")] + public InputUnion? ScaleDownMode { get; set; } + + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + /// + [Input("scaleSetEvictionPolicy")] + public InputUnion? ScaleSetEvictionPolicy { get; set; } + + /// + /// The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + /// + [Input("scaleSetPriority")] + public InputUnion? ScaleSetPriority { get; set; } + + /// + /// Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// + [Input("spotMaxPrice")] + public Input? SpotMaxPrice { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// The tags to be persisted on the agent pool virtual machine scale set. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// The type of Agent Pool. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + /// + /// Settings for upgrading the agentpool + /// + [Input("upgradeSettings")] + public Input? UpgradeSettings { get; set; } + + /// + /// VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// + [Input("vmSize")] + public Input? VmSize { get; set; } + + /// + /// If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [Input("vnetSubnetID")] + public Input? VnetSubnetID { get; set; } + + /// + /// Determines the type of workload a node can run. + /// + [Input("workloadRuntime")] + public InputUnion? WorkloadRuntime { get; set; } + + public AgentPoolArgs() + { + } + public static new AgentPoolArgs Empty => new AgentPoolArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Enums.cs b/sdk/dotnet/ContainerService/V20230801/Enums.cs new file mode 100644 index 000000000000..3d2033506ffe --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Enums.cs @@ -0,0 +1,1405 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.ContainerService.V20230801 +{ + /// + /// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + /// + [EnumType] + public readonly struct AgentPoolMode : IEquatable + { + private readonly string _value; + + private AgentPoolMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. + /// + public static AgentPoolMode System { get; } = new AgentPoolMode("System"); + /// + /// User agent pools are primarily for hosting your application pods. + /// + public static AgentPoolMode User { get; } = new AgentPoolMode("User"); + + public static bool operator ==(AgentPoolMode left, AgentPoolMode right) => left.Equals(right); + public static bool operator !=(AgentPoolMode left, AgentPoolMode right) => !left.Equals(right); + + public static explicit operator string(AgentPoolMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AgentPoolMode other && Equals(other); + public bool Equals(AgentPoolMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of Agent Pool. + /// + [EnumType] + public readonly struct AgentPoolType : IEquatable + { + private readonly string _value; + + private AgentPoolType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Create an Agent Pool backed by a Virtual Machine Scale Set. + /// + public static AgentPoolType VirtualMachineScaleSets { get; } = new AgentPoolType("VirtualMachineScaleSets"); + /// + /// Use of this is strongly discouraged. + /// + public static AgentPoolType AvailabilitySet { get; } = new AgentPoolType("AvailabilitySet"); + + public static bool operator ==(AgentPoolType left, AgentPoolType right) => left.Equals(right); + public static bool operator !=(AgentPoolType left, AgentPoolType right) => !left.Equals(right); + + public static explicit operator string(AgentPoolType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AgentPoolType other && Equals(other); + public bool Equals(AgentPoolType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Tells whether the cluster is Running or Stopped + /// + [EnumType] + public readonly struct Code : IEquatable + { + private readonly string _value; + + private Code(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The cluster is running. + /// + public static Code Running { get; } = new Code("Running"); + /// + /// The cluster is stopped. + /// + public static Code Stopped { get; } = new Code("Stopped"); + + public static bool operator ==(Code left, Code right) => left.Equals(right); + public static bool operator !=(Code left, Code right) => !left.Equals(right); + + public static explicit operator string(Code value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Code other && Equals(other); + public bool Equals(Code other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The private link service connection status. + /// + [EnumType] + public readonly struct ConnectionStatus : IEquatable + { + private readonly string _value; + + private ConnectionStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConnectionStatus Pending { get; } = new ConnectionStatus("Pending"); + public static ConnectionStatus Approved { get; } = new ConnectionStatus("Approved"); + public static ConnectionStatus Rejected { get; } = new ConnectionStatus("Rejected"); + public static ConnectionStatus Disconnected { get; } = new ConnectionStatus("Disconnected"); + + public static bool operator ==(ConnectionStatus left, ConnectionStatus right) => left.Equals(right); + public static bool operator !=(ConnectionStatus left, ConnectionStatus right) => !left.Equals(right); + + public static explicit operator string(ConnectionStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConnectionStatus other && Equals(other); + public bool Equals(ConnectionStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + /// + [EnumType] + public readonly struct Expander : IEquatable + { + private readonly string _value; + + private Expander(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. + /// + public static Expander Least_waste { get; } = new Expander("least-waste"); + /// + /// Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. + /// + public static Expander Most_pods { get; } = new Expander("most-pods"); + /// + /// Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md). + /// + public static Expander Priority { get; } = new Expander("priority"); + /// + /// Used when you don't have a particular need for the node groups to scale differently. + /// + public static Expander Random { get; } = new Expander("random"); + + public static bool operator ==(Expander left, Expander right) => left.Equals(right); + public static bool operator !=(Expander left, Expander right) => !left.Equals(right); + + public static explicit operator string(Expander value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Expander other && Equals(other); + public bool Equals(Expander other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the extended location. + /// + [EnumType] + public readonly struct ExtendedLocationTypes : IEquatable + { + private readonly string _value; + + private ExtendedLocationTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ExtendedLocationTypes EdgeZone { get; } = new ExtendedLocationTypes("EdgeZone"); + + public static bool operator ==(ExtendedLocationTypes left, ExtendedLocationTypes right) => left.Equals(right); + public static bool operator !=(ExtendedLocationTypes left, ExtendedLocationTypes right) => !left.Equals(right); + + public static explicit operator string(ExtendedLocationTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ExtendedLocationTypes other && Equals(other); + public bool Equals(ExtendedLocationTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + /// + [EnumType] + public readonly struct GPUInstanceProfile : IEquatable + { + private readonly string _value; + + private GPUInstanceProfile(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static GPUInstanceProfile MIG1g { get; } = new GPUInstanceProfile("MIG1g"); + public static GPUInstanceProfile MIG2g { get; } = new GPUInstanceProfile("MIG2g"); + public static GPUInstanceProfile MIG3g { get; } = new GPUInstanceProfile("MIG3g"); + public static GPUInstanceProfile MIG4g { get; } = new GPUInstanceProfile("MIG4g"); + public static GPUInstanceProfile MIG7g { get; } = new GPUInstanceProfile("MIG7g"); + + public static bool operator ==(GPUInstanceProfile left, GPUInstanceProfile right) => left.Equals(right); + public static bool operator !=(GPUInstanceProfile left, GPUInstanceProfile right) => !left.Equals(right); + + public static explicit operator string(GPUInstanceProfile value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is GPUInstanceProfile other && Equals(other); + public bool Equals(GPUInstanceProfile other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The IP version to use for cluster networking and IP assignment. + /// + [EnumType] + public readonly struct IpFamily : IEquatable + { + private readonly string _value; + + private IpFamily(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IpFamily IPv4 { get; } = new IpFamily("IPv4"); + public static IpFamily IPv6 { get; } = new IpFamily("IPv6"); + + public static bool operator ==(IpFamily left, IpFamily right) => left.Equals(right); + public static bool operator !=(IpFamily left, IpFamily right) => !left.Equals(right); + + public static explicit operator string(IpFamily value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IpFamily other && Equals(other); + public bool Equals(IpFamily other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Mode of an ingress gateway. + /// + [EnumType] + public readonly struct IstioIngressGatewayMode : IEquatable + { + private readonly string _value; + + private IstioIngressGatewayMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The ingress gateway is assigned a public IP address and is publicly accessible. + /// + public static IstioIngressGatewayMode External { get; } = new IstioIngressGatewayMode("External"); + /// + /// The ingress gateway is assigned an internal IP address and cannot is accessed publicly. + /// + public static IstioIngressGatewayMode Internal { get; } = new IstioIngressGatewayMode("Internal"); + + public static bool operator ==(IstioIngressGatewayMode left, IstioIngressGatewayMode right) => left.Equals(right); + public static bool operator !=(IstioIngressGatewayMode left, IstioIngressGatewayMode right) => !left.Equals(right); + + public static explicit operator string(IstioIngressGatewayMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IstioIngressGatewayMode other && Equals(other); + public bool Equals(IstioIngressGatewayMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + /// + [EnumType] + public readonly struct KeyVaultNetworkAccessTypes : IEquatable + { + private readonly string _value; + + private KeyVaultNetworkAccessTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static KeyVaultNetworkAccessTypes Public { get; } = new KeyVaultNetworkAccessTypes("Public"); + public static KeyVaultNetworkAccessTypes Private { get; } = new KeyVaultNetworkAccessTypes("Private"); + + public static bool operator ==(KeyVaultNetworkAccessTypes left, KeyVaultNetworkAccessTypes right) => left.Equals(right); + public static bool operator !=(KeyVaultNetworkAccessTypes left, KeyVaultNetworkAccessTypes right) => !left.Equals(right); + + public static explicit operator string(KeyVaultNetworkAccessTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is KeyVaultNetworkAccessTypes other && Equals(other); + public bool Equals(KeyVaultNetworkAccessTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + /// + [EnumType] + public readonly struct KubeletDiskType : IEquatable + { + private readonly string _value; + + private KubeletDiskType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Kubelet will use the OS disk for its data. + /// + public static KubeletDiskType OS { get; } = new KubeletDiskType("OS"); + /// + /// Kubelet will use the temporary disk for its data. + /// + public static KubeletDiskType Temporary { get; } = new KubeletDiskType("Temporary"); + + public static bool operator ==(KubeletDiskType left, KubeletDiskType right) => left.Equals(right); + public static bool operator !=(KubeletDiskType left, KubeletDiskType right) => !left.Equals(right); + + public static explicit operator string(KubeletDiskType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is KubeletDiskType other && Equals(other); + public bool Equals(KubeletDiskType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + /// + [EnumType] + public readonly struct KubernetesSupportPlan : IEquatable + { + private readonly string _value; + + private KubernetesSupportPlan(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. + /// + public static KubernetesSupportPlan KubernetesOfficial { get; } = new KubernetesSupportPlan("KubernetesOfficial"); + /// + /// Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. + /// + public static KubernetesSupportPlan AKSLongTermSupport { get; } = new KubernetesSupportPlan("AKSLongTermSupport"); + + public static bool operator ==(KubernetesSupportPlan left, KubernetesSupportPlan right) => left.Equals(right); + public static bool operator !=(KubernetesSupportPlan left, KubernetesSupportPlan right) => !left.Equals(right); + + public static explicit operator string(KubernetesSupportPlan value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is KubernetesSupportPlan other && Equals(other); + public bool Equals(KubernetesSupportPlan other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + /// + [EnumType] + public readonly struct LicenseType : IEquatable + { + private readonly string _value; + + private LicenseType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// No additional licensing is applied. + /// + public static LicenseType None { get; } = new LicenseType("None"); + /// + /// Enables Azure Hybrid User Benefits for Windows VMs. + /// + public static LicenseType Windows_Server { get; } = new LicenseType("Windows_Server"); + + public static bool operator ==(LicenseType left, LicenseType right) => left.Equals(right); + public static bool operator !=(LicenseType left, LicenseType right) => !left.Equals(right); + + public static explicit operator string(LicenseType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LicenseType other && Equals(other); + public bool Equals(LicenseType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + /// + [EnumType] + public readonly struct LoadBalancerSku : IEquatable + { + private readonly string _value; + + private LoadBalancerSku(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the [standard Load Balancer](https://docs.microsoft.com/azure/aks/load-balancer-standard) article. + /// + public static LoadBalancerSku Standard { get; } = new LoadBalancerSku("standard"); + /// + /// Use a basic Load Balancer with limited functionality. + /// + public static LoadBalancerSku Basic { get; } = new LoadBalancerSku("basic"); + + public static bool operator ==(LoadBalancerSku left, LoadBalancerSku right) => left.Equals(right); + public static bool operator !=(LoadBalancerSku left, LoadBalancerSku right) => !left.Equals(right); + + public static explicit operator string(LoadBalancerSku value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LoadBalancerSku other && Equals(other); + public bool Equals(LoadBalancerSku other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The name of a managed cluster SKU. + /// + [EnumType] + public readonly struct ManagedClusterSKUName : IEquatable + { + private readonly string _value; + + private ManagedClusterSKUName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Base option for the AKS control plane. + /// + public static ManagedClusterSKUName Base { get; } = new ManagedClusterSKUName("Base"); + + public static bool operator ==(ManagedClusterSKUName left, ManagedClusterSKUName right) => left.Equals(right); + public static bool operator !=(ManagedClusterSKUName left, ManagedClusterSKUName right) => !left.Equals(right); + + public static explicit operator string(ManagedClusterSKUName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedClusterSKUName other && Equals(other); + public bool Equals(ManagedClusterSKUName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + /// + [EnumType] + public readonly struct ManagedClusterSKUTier : IEquatable + { + private readonly string _value; + + private ManagedClusterSKUTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. + /// + public static ManagedClusterSKUTier Premium { get; } = new ManagedClusterSKUTier("Premium"); + /// + /// Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. + /// + public static ManagedClusterSKUTier Standard { get; } = new ManagedClusterSKUTier("Standard"); + /// + /// The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. + /// + public static ManagedClusterSKUTier Free { get; } = new ManagedClusterSKUTier("Free"); + + public static bool operator ==(ManagedClusterSKUTier left, ManagedClusterSKUTier right) => left.Equals(right); + public static bool operator !=(ManagedClusterSKUTier left, ManagedClusterSKUTier right) => !left.Equals(right); + + public static explicit operator string(ManagedClusterSKUTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedClusterSKUTier other && Equals(other); + public bool Equals(ManagedClusterSKUTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Network dataplane used in the Kubernetes cluster. + /// + [EnumType] + public readonly struct NetworkDataplane : IEquatable + { + private readonly string _value; + + private NetworkDataplane(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use Azure network dataplane. + /// + public static NetworkDataplane Azure { get; } = new NetworkDataplane("azure"); + /// + /// Use Cilium network dataplane. See [Azure CNI Powered by Cilium](https://learn.microsoft.com/azure/aks/azure-cni-powered-by-cilium) for more information. + /// + public static NetworkDataplane Cilium { get; } = new NetworkDataplane("cilium"); + + public static bool operator ==(NetworkDataplane left, NetworkDataplane right) => left.Equals(right); + public static bool operator !=(NetworkDataplane left, NetworkDataplane right) => !left.Equals(right); + + public static explicit operator string(NetworkDataplane value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkDataplane other && Equals(other); + public bool Equals(NetworkDataplane other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This cannot be specified if networkPlugin is anything other than 'azure'. + /// + [EnumType] + public readonly struct NetworkMode : IEquatable + { + private readonly string _value; + + private NetworkMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See [Transparent Mode](https://docs.microsoft.com/azure/aks/faq#transparent-mode) for more information. + /// + public static NetworkMode Transparent { get; } = new NetworkMode("transparent"); + /// + /// This is no longer supported + /// + public static NetworkMode Bridge { get; } = new NetworkMode("bridge"); + + public static bool operator ==(NetworkMode left, NetworkMode right) => left.Equals(right); + public static bool operator !=(NetworkMode left, NetworkMode right) => !left.Equals(right); + + public static explicit operator string(NetworkMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkMode other && Equals(other); + public bool Equals(NetworkMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Network plugin used for building the Kubernetes network. + /// + [EnumType] + public readonly struct NetworkPlugin : IEquatable + { + private readonly string _value; + + private NetworkPlugin(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) for more information. + /// + public static NetworkPlugin Azure { get; } = new NetworkPlugin("azure"); + /// + /// Use the Kubenet network plugin. See [Kubenet (basic) networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) for more information. + /// + public static NetworkPlugin Kubenet { get; } = new NetworkPlugin("kubenet"); + /// + /// No CNI plugin is pre-installed. See [BYO CNI](https://docs.microsoft.com/en-us/azure/aks/use-byo-cni) for more information. + /// + public static NetworkPlugin None { get; } = new NetworkPlugin("none"); + + public static bool operator ==(NetworkPlugin left, NetworkPlugin right) => left.Equals(right); + public static bool operator !=(NetworkPlugin left, NetworkPlugin right) => !left.Equals(right); + + public static explicit operator string(NetworkPlugin value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkPlugin other && Equals(other); + public bool Equals(NetworkPlugin other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The mode the network plugin should use. + /// + [EnumType] + public readonly struct NetworkPluginMode : IEquatable + { + private readonly string _value; + + private NetworkPluginMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. + /// + public static NetworkPluginMode Overlay { get; } = new NetworkPluginMode("overlay"); + + public static bool operator ==(NetworkPluginMode left, NetworkPluginMode right) => left.Equals(right); + public static bool operator !=(NetworkPluginMode left, NetworkPluginMode right) => !left.Equals(right); + + public static explicit operator string(NetworkPluginMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkPluginMode other && Equals(other); + public bool Equals(NetworkPluginMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Network policy used for building the Kubernetes network. + /// + [EnumType] + public readonly struct NetworkPolicy : IEquatable + { + private readonly string _value; + + private NetworkPolicy(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use Calico network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. + /// + public static NetworkPolicy Calico { get; } = new NetworkPolicy("calico"); + /// + /// Use Azure network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. + /// + public static NetworkPolicy Azure { get; } = new NetworkPolicy("azure"); + /// + /// Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. + /// + public static NetworkPolicy Cilium { get; } = new NetworkPolicy("cilium"); + + public static bool operator ==(NetworkPolicy left, NetworkPolicy right) => left.Equals(right); + public static bool operator !=(NetworkPolicy left, NetworkPolicy right) => !left.Equals(right); + + public static explicit operator string(NetworkPolicy value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkPolicy other && Equals(other); + public bool Equals(NetworkPolicy other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Manner in which the OS on your nodes is updated. The default is NodeImage. + /// + [EnumType] + public readonly struct NodeOSUpgradeChannel : IEquatable + { + private readonly string _value; + + private NodeOSUpgradeChannel(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates + /// + public static NodeOSUpgradeChannel None { get; } = new NodeOSUpgradeChannel("None"); + /// + /// OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice + /// + public static NodeOSUpgradeChannel Unmanaged { get; } = new NodeOSUpgradeChannel("Unmanaged"); + /// + /// AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. + /// + public static NodeOSUpgradeChannel NodeImage { get; } = new NodeOSUpgradeChannel("NodeImage"); + + public static bool operator ==(NodeOSUpgradeChannel left, NodeOSUpgradeChannel right) => left.Equals(right); + public static bool operator !=(NodeOSUpgradeChannel left, NodeOSUpgradeChannel right) => !left.Equals(right); + + public static explicit operator string(NodeOSUpgradeChannel value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NodeOSUpgradeChannel other && Equals(other); + public bool Equals(NodeOSUpgradeChannel other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + /// + [EnumType] + public readonly struct OSDiskType : IEquatable + { + private readonly string _value; + + private OSDiskType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. + /// + public static OSDiskType Managed { get; } = new OSDiskType("Managed"); + /// + /// Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. + /// + public static OSDiskType Ephemeral { get; } = new OSDiskType("Ephemeral"); + + public static bool operator ==(OSDiskType left, OSDiskType right) => left.Equals(right); + public static bool operator !=(OSDiskType left, OSDiskType right) => !left.Equals(right); + + public static explicit operator string(OSDiskType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OSDiskType other && Equals(other); + public bool Equals(OSDiskType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + [EnumType] + public readonly struct OSSKU : IEquatable + { + private readonly string _value; + + private OSSKU(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use Ubuntu as the OS for node images. + /// + public static OSSKU Ubuntu { get; } = new OSSKU("Ubuntu"); + /// + /// Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. + /// + public static OSSKU AzureLinux { get; } = new OSSKU("AzureLinux"); + /// + /// Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. + /// + public static OSSKU CBLMariner { get; } = new OSSKU("CBLMariner"); + /// + /// Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. + /// + public static OSSKU Windows2019 { get; } = new OSSKU("Windows2019"); + /// + /// Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. + /// + public static OSSKU Windows2022 { get; } = new OSSKU("Windows2022"); + + public static bool operator ==(OSSKU left, OSSKU right) => left.Equals(right); + public static bool operator !=(OSSKU left, OSSKU right) => !left.Equals(right); + + public static explicit operator string(OSSKU value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OSSKU other && Equals(other); + public bool Equals(OSSKU other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The operating system type. The default is Linux. + /// + [EnumType] + public readonly struct OSType : IEquatable + { + private readonly string _value; + + private OSType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use Linux. + /// + public static OSType Linux { get; } = new OSType("Linux"); + /// + /// Use Windows. + /// + public static OSType Windows { get; } = new OSType("Windows"); + + public static bool operator ==(OSType left, OSType right) => left.Equals(right); + public static bool operator !=(OSType left, OSType right) => !left.Equals(right); + + public static explicit operator string(OSType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OSType other && Equals(other); + public bool Equals(OSType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + /// + [EnumType] + public readonly struct OutboundType : IEquatable + { + private readonly string _value; + + private OutboundType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see [outbound type loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer). + /// + public static OutboundType LoadBalancer { get; } = new OutboundType("loadBalancer"); + /// + /// Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see [outbound type userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-userdefinedrouting). + /// + public static OutboundType UserDefinedRouting { get; } = new OutboundType("userDefinedRouting"); + /// + /// The AKS-managed NAT gateway is used for egress. + /// + public static OutboundType ManagedNATGateway { get; } = new OutboundType("managedNATGateway"); + /// + /// The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. + /// + public static OutboundType UserAssignedNATGateway { get; } = new OutboundType("userAssignedNATGateway"); + + public static bool operator ==(OutboundType left, OutboundType right) => left.Equals(right); + public static bool operator !=(OutboundType left, OutboundType right) => !left.Equals(right); + + public static explicit operator string(OutboundType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OutboundType other && Equals(other); + public bool Equals(OutboundType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Allow or deny public network access for AKS + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + /// + [EnumType] + public readonly struct ResourceIdentityType : IEquatable + { + private readonly string _value; + + private ResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. + /// + public static ResourceIdentityType SystemAssigned { get; } = new ResourceIdentityType("SystemAssigned"); + /// + /// Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. + /// + public static ResourceIdentityType UserAssigned { get; } = new ResourceIdentityType("UserAssigned"); + /// + /// Do not use a managed identity for the Managed Cluster, service principal will be used instead. + /// + public static ResourceIdentityType None { get; } = new ResourceIdentityType("None"); + + public static bool operator ==(ResourceIdentityType left, ResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ResourceIdentityType left, ResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourceIdentityType other && Equals(other); + public bool Equals(ResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + /// + [EnumType] + public readonly struct ScaleDownMode : IEquatable + { + private readonly string _value; + + private ScaleDownMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Create new instances during scale up and remove instances during scale down. + /// + public static ScaleDownMode Delete { get; } = new ScaleDownMode("Delete"); + /// + /// Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. + /// + public static ScaleDownMode Deallocate { get; } = new ScaleDownMode("Deallocate"); + + public static bool operator ==(ScaleDownMode left, ScaleDownMode right) => left.Equals(right); + public static bool operator !=(ScaleDownMode left, ScaleDownMode right) => !left.Equals(right); + + public static explicit operator string(ScaleDownMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScaleDownMode other && Equals(other); + public bool Equals(ScaleDownMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + /// + [EnumType] + public readonly struct ScaleSetEvictionPolicy : IEquatable + { + private readonly string _value; + + private ScaleSetEvictionPolicy(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. + /// + public static ScaleSetEvictionPolicy Delete { get; } = new ScaleSetEvictionPolicy("Delete"); + /// + /// Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. + /// + public static ScaleSetEvictionPolicy Deallocate { get; } = new ScaleSetEvictionPolicy("Deallocate"); + + public static bool operator ==(ScaleSetEvictionPolicy left, ScaleSetEvictionPolicy right) => left.Equals(right); + public static bool operator !=(ScaleSetEvictionPolicy left, ScaleSetEvictionPolicy right) => !left.Equals(right); + + public static explicit operator string(ScaleSetEvictionPolicy value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScaleSetEvictionPolicy other && Equals(other); + public bool Equals(ScaleSetEvictionPolicy other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + /// + [EnumType] + public readonly struct ScaleSetPriority : IEquatable + { + private readonly string _value; + + private ScaleSetPriority(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information. + /// + public static ScaleSetPriority Spot { get; } = new ScaleSetPriority("Spot"); + /// + /// Regular VMs will be used. + /// + public static ScaleSetPriority Regular { get; } = new ScaleSetPriority("Regular"); + + public static bool operator ==(ScaleSetPriority left, ScaleSetPriority right) => left.Equals(right); + public static bool operator !=(ScaleSetPriority left, ScaleSetPriority right) => !left.Equals(right); + + public static explicit operator string(ScaleSetPriority value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScaleSetPriority other && Equals(other); + public bool Equals(ScaleSetPriority other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Mode of the service mesh. + /// + [EnumType] + public readonly struct ServiceMeshMode : IEquatable + { + private readonly string _value; + + private ServiceMeshMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Istio deployed as an AKS addon. + /// + public static ServiceMeshMode Istio { get; } = new ServiceMeshMode("Istio"); + /// + /// Mesh is disabled. + /// + public static ServiceMeshMode Disabled { get; } = new ServiceMeshMode("Disabled"); + + public static bool operator ==(ServiceMeshMode left, ServiceMeshMode right) => left.Equals(right); + public static bool operator !=(ServiceMeshMode left, ServiceMeshMode right) => !left.Equals(right); + + public static explicit operator string(ServiceMeshMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServiceMeshMode other && Equals(other); + public bool Equals(ServiceMeshMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of a snapshot. The default is NodePool. + /// + [EnumType] + public readonly struct SnapshotType : IEquatable + { + private readonly string _value; + + private SnapshotType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The snapshot is a snapshot of a node pool. + /// + public static SnapshotType NodePool { get; } = new SnapshotType("NodePool"); + + public static bool operator ==(SnapshotType left, SnapshotType right) => left.Equals(right); + public static bool operator !=(SnapshotType left, SnapshotType right) => !left.Equals(right); + + public static explicit operator string(SnapshotType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SnapshotType other && Equals(other); + public bool Equals(SnapshotType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies on which week of the month the dayOfWeek applies. + /// + [EnumType] + public readonly struct Type : IEquatable + { + private readonly string _value; + + private Type(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// First week of the month. + /// + public static Type First { get; } = new Type("First"); + /// + /// Second week of the month. + /// + public static Type Second { get; } = new Type("Second"); + /// + /// Third week of the month. + /// + public static Type Third { get; } = new Type("Third"); + /// + /// Fourth week of the month. + /// + public static Type Fourth { get; } = new Type("Fourth"); + /// + /// Last week of the month. + /// + public static Type Last { get; } = new Type("Last"); + + public static bool operator ==(Type left, Type right) => left.Equals(right); + public static bool operator !=(Type left, Type right) => !left.Equals(right); + + public static explicit operator string(Type value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Type other && Equals(other); + public bool Equals(Type other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + /// + [EnumType] + public readonly struct UpgradeChannel : IEquatable + { + private readonly string _value; + + private UpgradeChannel(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1. + /// + public static UpgradeChannel Rapid { get; } = new UpgradeChannel("rapid"); + /// + /// Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6. + /// + public static UpgradeChannel Stable { get; } = new UpgradeChannel("stable"); + /// + /// Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9. + /// + public static UpgradeChannel Patch { get; } = new UpgradeChannel("patch"); + /// + /// Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching + /// + public static UpgradeChannel Node_image { get; } = new UpgradeChannel("node-image"); + /// + /// Disables auto-upgrades and keeps the cluster at its current version of Kubernetes. + /// + public static UpgradeChannel None { get; } = new UpgradeChannel("none"); + + public static bool operator ==(UpgradeChannel left, UpgradeChannel right) => left.Equals(right); + public static bool operator !=(UpgradeChannel left, UpgradeChannel right) => !left.Equals(right); + + public static explicit operator string(UpgradeChannel value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is UpgradeChannel other && Equals(other); + public bool Equals(UpgradeChannel other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The day of the week. + /// + [EnumType] + public readonly struct WeekDay : IEquatable + { + private readonly string _value; + + private WeekDay(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static WeekDay Sunday { get; } = new WeekDay("Sunday"); + public static WeekDay Monday { get; } = new WeekDay("Monday"); + public static WeekDay Tuesday { get; } = new WeekDay("Tuesday"); + public static WeekDay Wednesday { get; } = new WeekDay("Wednesday"); + public static WeekDay Thursday { get; } = new WeekDay("Thursday"); + public static WeekDay Friday { get; } = new WeekDay("Friday"); + public static WeekDay Saturday { get; } = new WeekDay("Saturday"); + + public static bool operator ==(WeekDay left, WeekDay right) => left.Equals(right); + public static bool operator !=(WeekDay left, WeekDay right) => !left.Equals(right); + + public static explicit operator string(WeekDay value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is WeekDay other && Equals(other); + public bool Equals(WeekDay other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Determines the type of workload a node can run. + /// + [EnumType] + public readonly struct WorkloadRuntime : IEquatable + { + private readonly string _value; + + private WorkloadRuntime(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Nodes will use Kubelet to run standard OCI container workloads. + /// + public static WorkloadRuntime OCIContainer { get; } = new WorkloadRuntime("OCIContainer"); + /// + /// Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). + /// + public static WorkloadRuntime WasmWasi { get; } = new WorkloadRuntime("WasmWasi"); + + public static bool operator ==(WorkloadRuntime left, WorkloadRuntime right) => left.Equals(right); + public static bool operator !=(WorkloadRuntime left, WorkloadRuntime right) => !left.Equals(right); + + public static explicit operator string(WorkloadRuntime value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is WorkloadRuntime other && Equals(other); + public bool Equals(WorkloadRuntime other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/GetAgentPool.cs b/sdk/dotnet/ContainerService/V20230801/GetAgentPool.cs new file mode 100644 index 000000000000..b6d6730f17ac --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/GetAgentPool.cs @@ -0,0 +1,390 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class GetAgentPool + { + /// + /// Agent Pool. + /// + public static Task InvokeAsync(GetAgentPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:getAgentPool", args ?? new GetAgentPoolArgs(), options.WithDefaults()); + + /// + /// Agent Pool. + /// + public static Output Invoke(GetAgentPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:getAgentPool", args ?? new GetAgentPoolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAgentPoolArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the agent pool. + /// + [Input("agentPoolName", required: true)] + public string AgentPoolName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetAgentPoolArgs() + { + } + public static new GetAgentPoolArgs Empty => new GetAgentPoolArgs(); + } + + public sealed class GetAgentPoolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the agent pool. + /// + [Input("agentPoolName", required: true)] + public Input AgentPoolName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public GetAgentPoolInvokeArgs() + { + } + public static new GetAgentPoolInvokeArgs Empty => new GetAgentPoolInvokeArgs(); + } + + + [OutputType] + public sealed class GetAgentPoolResult + { + /// + /// The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + /// + public readonly ImmutableArray AvailabilityZones; + /// + /// Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + /// + public readonly int? Count; + /// + /// CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + /// + public readonly Outputs.CreationDataResponse? CreationData; + /// + /// If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used. + /// + public readonly string CurrentOrchestratorVersion; + /// + /// Whether to enable auto-scaler + /// + public readonly bool? EnableAutoScaling; + /// + /// This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + public readonly bool? EnableEncryptionAtHost; + /// + /// See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + /// + public readonly bool? EnableFIPS; + /// + /// Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + /// + public readonly bool? EnableNodePublicIP; + /// + /// Whether to enable UltraSSD + /// + public readonly bool? EnableUltraSSD; + /// + /// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + /// + public readonly string? GpuInstanceProfile; + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + /// + public readonly string? HostGroupID; + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// The Kubelet configuration on the agent pool nodes. + /// + public readonly Outputs.KubeletConfigResponse? KubeletConfig; + /// + /// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + /// + public readonly string? KubeletDiskType; + /// + /// The OS configuration of Linux agent nodes. + /// + public readonly Outputs.LinuxOSConfigResponse? LinuxOSConfig; + /// + /// The maximum number of nodes for auto-scaling + /// + public readonly int? MaxCount; + /// + /// The maximum number of pods that can run on a node. + /// + public readonly int? MaxPods; + /// + /// The minimum number of nodes for auto-scaling + /// + public readonly int? MinCount; + /// + /// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + /// + public readonly string? Mode; + /// + /// The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + public readonly string Name; + /// + /// The version of node image + /// + public readonly string NodeImageVersion; + /// + /// The node labels to be persisted across all nodes in agent pool. + /// + public readonly ImmutableDictionary? NodeLabels; + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + public readonly string? NodePublicIPPrefixID; + /// + /// The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + /// + public readonly ImmutableArray NodeTaints; + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// + public readonly string? OrchestratorVersion; + /// + /// OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + /// + public readonly int? OsDiskSizeGB; + /// + /// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + /// + public readonly string? OsDiskType; + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + public readonly string? OsSKU; + /// + /// The operating system type. The default is Linux. + /// + public readonly string? OsType; + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + public readonly string? PodSubnetID; + /// + /// When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + /// + public readonly Outputs.PowerStateResponse? PowerState; + /// + /// The current deployment or provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The ID for Proximity Placement Group. + /// + public readonly string? ProximityPlacementGroupID; + /// + /// This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + /// + public readonly string? ScaleDownMode; + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + /// + public readonly string? ScaleSetEvictionPolicy; + /// + /// The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + /// + public readonly string? ScaleSetPriority; + /// + /// Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// + public readonly double? SpotMaxPrice; + /// + /// The tags to be persisted on the agent pool virtual machine scale set. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type + /// + public readonly string Type; + /// + /// Settings for upgrading the agentpool + /// + public readonly Outputs.AgentPoolUpgradeSettingsResponse? UpgradeSettings; + /// + /// VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// + public readonly string? VmSize; + /// + /// If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + public readonly string? VnetSubnetID; + /// + /// Determines the type of workload a node can run. + /// + public readonly string? WorkloadRuntime; + + [OutputConstructor] + private GetAgentPoolResult( + ImmutableArray availabilityZones, + + int? count, + + Outputs.CreationDataResponse? creationData, + + string currentOrchestratorVersion, + + bool? enableAutoScaling, + + bool? enableEncryptionAtHost, + + bool? enableFIPS, + + bool? enableNodePublicIP, + + bool? enableUltraSSD, + + string? gpuInstanceProfile, + + string? hostGroupID, + + string id, + + Outputs.KubeletConfigResponse? kubeletConfig, + + string? kubeletDiskType, + + Outputs.LinuxOSConfigResponse? linuxOSConfig, + + int? maxCount, + + int? maxPods, + + int? minCount, + + string? mode, + + string name, + + string nodeImageVersion, + + ImmutableDictionary? nodeLabels, + + string? nodePublicIPPrefixID, + + ImmutableArray nodeTaints, + + string? orchestratorVersion, + + int? osDiskSizeGB, + + string? osDiskType, + + string? osSKU, + + string? osType, + + string? podSubnetID, + + Outputs.PowerStateResponse? powerState, + + string provisioningState, + + string? proximityPlacementGroupID, + + string? scaleDownMode, + + string? scaleSetEvictionPolicy, + + string? scaleSetPriority, + + double? spotMaxPrice, + + ImmutableDictionary? tags, + + string type, + + Outputs.AgentPoolUpgradeSettingsResponse? upgradeSettings, + + string? vmSize, + + string? vnetSubnetID, + + string? workloadRuntime) + { + AvailabilityZones = availabilityZones; + Count = count; + CreationData = creationData; + CurrentOrchestratorVersion = currentOrchestratorVersion; + EnableAutoScaling = enableAutoScaling; + EnableEncryptionAtHost = enableEncryptionAtHost; + EnableFIPS = enableFIPS; + EnableNodePublicIP = enableNodePublicIP; + EnableUltraSSD = enableUltraSSD; + GpuInstanceProfile = gpuInstanceProfile; + HostGroupID = hostGroupID; + Id = id; + KubeletConfig = kubeletConfig; + KubeletDiskType = kubeletDiskType; + LinuxOSConfig = linuxOSConfig; + MaxCount = maxCount; + MaxPods = maxPods; + MinCount = minCount; + Mode = mode; + Name = name; + NodeImageVersion = nodeImageVersion; + NodeLabels = nodeLabels; + NodePublicIPPrefixID = nodePublicIPPrefixID; + NodeTaints = nodeTaints; + OrchestratorVersion = orchestratorVersion; + OsDiskSizeGB = osDiskSizeGB; + OsDiskType = osDiskType; + OsSKU = osSKU; + OsType = osType; + PodSubnetID = podSubnetID; + PowerState = powerState; + ProvisioningState = provisioningState; + ProximityPlacementGroupID = proximityPlacementGroupID; + ScaleDownMode = scaleDownMode; + ScaleSetEvictionPolicy = scaleSetEvictionPolicy; + ScaleSetPriority = scaleSetPriority; + SpotMaxPrice = spotMaxPrice; + Tags = tags; + Type = type; + UpgradeSettings = upgradeSettings; + VmSize = vmSize; + VnetSubnetID = vnetSubnetID; + WorkloadRuntime = workloadRuntime; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/GetMaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230801/GetMaintenanceConfiguration.cs new file mode 100644 index 000000000000..aa2cb97e1670 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/GetMaintenanceConfiguration.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class GetMaintenanceConfiguration + { + /// + /// See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + /// + public static Task InvokeAsync(GetMaintenanceConfigurationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:getMaintenanceConfiguration", args ?? new GetMaintenanceConfigurationArgs(), options.WithDefaults()); + + /// + /// See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + /// + public static Output Invoke(GetMaintenanceConfigurationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:getMaintenanceConfiguration", args ?? new GetMaintenanceConfigurationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMaintenanceConfigurationArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the maintenance configuration. + /// + [Input("configName", required: true)] + public string ConfigName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetMaintenanceConfigurationArgs() + { + } + public static new GetMaintenanceConfigurationArgs Empty => new GetMaintenanceConfigurationArgs(); + } + + public sealed class GetMaintenanceConfigurationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the maintenance configuration. + /// + [Input("configName", required: true)] + public Input ConfigName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public GetMaintenanceConfigurationInvokeArgs() + { + } + public static new GetMaintenanceConfigurationInvokeArgs Empty => new GetMaintenanceConfigurationInvokeArgs(); + } + + + [OutputType] + public sealed class GetMaintenanceConfigurationResult + { + /// + /// Resource ID. + /// + public readonly string Id; + /// + /// Maintenance window for the maintenance configuration. + /// + public readonly Outputs.MaintenanceWindowResponse? MaintenanceWindow; + /// + /// The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + public readonly string Name; + /// + /// Time slots on which upgrade is not allowed. + /// + public readonly ImmutableArray NotAllowedTime; + /// + /// The system metadata relating to this resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + /// + public readonly ImmutableArray TimeInWeek; + /// + /// Resource type + /// + public readonly string Type; + + [OutputConstructor] + private GetMaintenanceConfigurationResult( + string id, + + Outputs.MaintenanceWindowResponse? maintenanceWindow, + + string name, + + ImmutableArray notAllowedTime, + + Outputs.SystemDataResponse systemData, + + ImmutableArray timeInWeek, + + string type) + { + Id = id; + MaintenanceWindow = maintenanceWindow; + Name = name; + NotAllowedTime = notAllowedTime; + SystemData = systemData; + TimeInWeek = timeInWeek; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/GetManagedCluster.cs b/sdk/dotnet/ContainerService/V20230801/GetManagedCluster.cs new file mode 100644 index 000000000000..74665a3f93ec --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/GetManagedCluster.cs @@ -0,0 +1,413 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class GetManagedCluster + { + /// + /// Managed cluster. + /// + public static Task InvokeAsync(GetManagedClusterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:getManagedCluster", args ?? new GetManagedClusterArgs(), options.WithDefaults()); + + /// + /// Managed cluster. + /// + public static Output Invoke(GetManagedClusterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:getManagedCluster", args ?? new GetManagedClusterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetManagedClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetManagedClusterArgs() + { + } + public static new GetManagedClusterArgs Empty => new GetManagedClusterArgs(); + } + + public sealed class GetManagedClusterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public GetManagedClusterInvokeArgs() + { + } + public static new GetManagedClusterInvokeArgs Empty => new GetManagedClusterInvokeArgs(); + } + + + [OutputType] + public sealed class GetManagedClusterResult + { + /// + /// The Azure Active Directory configuration. + /// + public readonly Outputs.ManagedClusterAADProfileResponse? AadProfile; + /// + /// The profile of managed cluster add-on. + /// + public readonly ImmutableDictionary? AddonProfiles; + /// + /// The agent pool properties. + /// + public readonly ImmutableArray AgentPoolProfiles; + /// + /// The access profile for managed cluster API server. + /// + public readonly Outputs.ManagedClusterAPIServerAccessProfileResponse? ApiServerAccessProfile; + /// + /// Parameters to be applied to the cluster-autoscaler when enabled + /// + public readonly Outputs.ManagedClusterPropertiesResponseAutoScalerProfile? AutoScalerProfile; + /// + /// The auto upgrade configuration. + /// + public readonly Outputs.ManagedClusterAutoUpgradeProfileResponse? AutoUpgradeProfile; + /// + /// Azure Monitor addon profiles for monitoring the managed cluster. + /// + public readonly Outputs.ManagedClusterAzureMonitorProfileResponse? AzureMonitorProfile; + /// + /// The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. + /// + public readonly string AzurePortalFQDN; + /// + /// If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used. + /// + public readonly string CurrentKubernetesVersion; + /// + /// If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + /// + public readonly bool? DisableLocalAccounts; + /// + /// This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + /// + public readonly string? DiskEncryptionSetID; + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + public readonly string? DnsPrefix; + /// + /// (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + /// + public readonly bool? EnablePodSecurityPolicy; + /// + /// Whether to enable Kubernetes Role-Based Access Control. + /// + public readonly bool? EnableRBAC; + /// + /// The extended location of the Virtual Machine. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// The FQDN of the master pool. + /// + public readonly string Fqdn; + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + public readonly string? FqdnSubdomain; + /// + /// Configurations for provisioning the cluster with HTTP proxy servers. + /// + public readonly Outputs.ManagedClusterHTTPProxyConfigResponse? HttpProxyConfig; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity of the managed cluster, if configured. + /// + public readonly Outputs.ManagedClusterIdentityResponse? Identity; + /// + /// Identities associated with the cluster. + /// + public readonly ImmutableDictionary? IdentityProfile; + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + /// + public readonly string? KubernetesVersion; + /// + /// The profile for Linux VMs in the Managed Cluster. + /// + public readonly Outputs.ContainerServiceLinuxProfileResponse? LinuxProfile; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The max number of agent pools for the managed cluster. + /// + public readonly int MaxAgentPools; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The network configuration profile. + /// + public readonly Outputs.ContainerServiceNetworkProfileResponse? NetworkProfile; + /// + /// The name of the resource group containing agent pool nodes. + /// + public readonly string? NodeResourceGroup; + /// + /// The OIDC issuer profile of the Managed Cluster. + /// + public readonly Outputs.ManagedClusterOIDCIssuerProfileResponse? OidcIssuerProfile; + /// + /// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + /// + public readonly Outputs.ManagedClusterPodIdentityProfileResponse? PodIdentityProfile; + /// + /// The Power State of the cluster. + /// + public readonly Outputs.PowerStateResponse PowerState; + /// + /// The FQDN of private cluster. + /// + public readonly string PrivateFQDN; + /// + /// Private link resources associated with the cluster. + /// + public readonly ImmutableArray PrivateLinkResources; + /// + /// The current provisioning state. + /// + public readonly string ProvisioningState; + /// + /// Allow or deny public network access for AKS + /// + public readonly string? PublicNetworkAccess; + /// + /// The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence) + /// + public readonly string ResourceUID; + /// + /// Security profile for the managed cluster. + /// + public readonly Outputs.ManagedClusterSecurityProfileResponse? SecurityProfile; + /// + /// Service mesh profile for a managed cluster. + /// + public readonly Outputs.ServiceMeshProfileResponse? ServiceMeshProfile; + /// + /// Information about a service principal identity for the cluster to use for manipulating Azure APIs. + /// + public readonly Outputs.ManagedClusterServicePrincipalProfileResponse? ServicePrincipalProfile; + /// + /// The managed cluster SKU. + /// + public readonly Outputs.ManagedClusterSKUResponse? Sku; + /// + /// Storage profile for the managed cluster. + /// + public readonly Outputs.ManagedClusterStorageProfileResponse? StorageProfile; + /// + /// The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + /// + public readonly string? SupportPlan; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Settings for upgrading a cluster. + /// + public readonly Outputs.ClusterUpgradeSettingsResponse? UpgradeSettings; + /// + /// The profile for Windows VMs in the Managed Cluster. + /// + public readonly Outputs.ManagedClusterWindowsProfileResponse? WindowsProfile; + /// + /// Workload Auto-scaler profile for the managed cluster. + /// + public readonly Outputs.ManagedClusterWorkloadAutoScalerProfileResponse? WorkloadAutoScalerProfile; + + [OutputConstructor] + private GetManagedClusterResult( + Outputs.ManagedClusterAADProfileResponse? aadProfile, + + ImmutableDictionary? addonProfiles, + + ImmutableArray agentPoolProfiles, + + Outputs.ManagedClusterAPIServerAccessProfileResponse? apiServerAccessProfile, + + Outputs.ManagedClusterPropertiesResponseAutoScalerProfile? autoScalerProfile, + + Outputs.ManagedClusterAutoUpgradeProfileResponse? autoUpgradeProfile, + + Outputs.ManagedClusterAzureMonitorProfileResponse? azureMonitorProfile, + + string azurePortalFQDN, + + string currentKubernetesVersion, + + bool? disableLocalAccounts, + + string? diskEncryptionSetID, + + string? dnsPrefix, + + bool? enablePodSecurityPolicy, + + bool? enableRBAC, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string fqdn, + + string? fqdnSubdomain, + + Outputs.ManagedClusterHTTPProxyConfigResponse? httpProxyConfig, + + string id, + + Outputs.ManagedClusterIdentityResponse? identity, + + ImmutableDictionary? identityProfile, + + string? kubernetesVersion, + + Outputs.ContainerServiceLinuxProfileResponse? linuxProfile, + + string location, + + int maxAgentPools, + + string name, + + Outputs.ContainerServiceNetworkProfileResponse? networkProfile, + + string? nodeResourceGroup, + + Outputs.ManagedClusterOIDCIssuerProfileResponse? oidcIssuerProfile, + + Outputs.ManagedClusterPodIdentityProfileResponse? podIdentityProfile, + + Outputs.PowerStateResponse powerState, + + string privateFQDN, + + ImmutableArray privateLinkResources, + + string provisioningState, + + string? publicNetworkAccess, + + string resourceUID, + + Outputs.ManagedClusterSecurityProfileResponse? securityProfile, + + Outputs.ServiceMeshProfileResponse? serviceMeshProfile, + + Outputs.ManagedClusterServicePrincipalProfileResponse? servicePrincipalProfile, + + Outputs.ManagedClusterSKUResponse? sku, + + Outputs.ManagedClusterStorageProfileResponse? storageProfile, + + string? supportPlan, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + Outputs.ClusterUpgradeSettingsResponse? upgradeSettings, + + Outputs.ManagedClusterWindowsProfileResponse? windowsProfile, + + Outputs.ManagedClusterWorkloadAutoScalerProfileResponse? workloadAutoScalerProfile) + { + AadProfile = aadProfile; + AddonProfiles = addonProfiles; + AgentPoolProfiles = agentPoolProfiles; + ApiServerAccessProfile = apiServerAccessProfile; + AutoScalerProfile = autoScalerProfile; + AutoUpgradeProfile = autoUpgradeProfile; + AzureMonitorProfile = azureMonitorProfile; + AzurePortalFQDN = azurePortalFQDN; + CurrentKubernetesVersion = currentKubernetesVersion; + DisableLocalAccounts = disableLocalAccounts; + DiskEncryptionSetID = diskEncryptionSetID; + DnsPrefix = dnsPrefix; + EnablePodSecurityPolicy = enablePodSecurityPolicy; + EnableRBAC = enableRBAC; + ExtendedLocation = extendedLocation; + Fqdn = fqdn; + FqdnSubdomain = fqdnSubdomain; + HttpProxyConfig = httpProxyConfig; + Id = id; + Identity = identity; + IdentityProfile = identityProfile; + KubernetesVersion = kubernetesVersion; + LinuxProfile = linuxProfile; + Location = location; + MaxAgentPools = maxAgentPools; + Name = name; + NetworkProfile = networkProfile; + NodeResourceGroup = nodeResourceGroup; + OidcIssuerProfile = oidcIssuerProfile; + PodIdentityProfile = podIdentityProfile; + PowerState = powerState; + PrivateFQDN = privateFQDN; + PrivateLinkResources = privateLinkResources; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + ResourceUID = resourceUID; + SecurityProfile = securityProfile; + ServiceMeshProfile = serviceMeshProfile; + ServicePrincipalProfile = servicePrincipalProfile; + Sku = sku; + StorageProfile = storageProfile; + SupportPlan = supportPlan; + SystemData = systemData; + Tags = tags; + Type = type; + UpgradeSettings = upgradeSettings; + WindowsProfile = windowsProfile; + WorkloadAutoScalerProfile = workloadAutoScalerProfile; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/GetPrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230801/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..a939aafbb78b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/GetPrivateEndpointConnection.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class GetPrivateEndpointConnection + { + /// + /// To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); + + /// + /// To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + public static new GetPrivateEndpointConnectionArgs Empty => new GetPrivateEndpointConnectionArgs(); + } + + public sealed class GetPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public GetPrivateEndpointConnectionInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionInvokeArgs Empty => new GetPrivateEndpointConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// The ID of the private endpoint connection. + /// + public readonly string Id; + /// + /// The name of the private endpoint connection. + /// + public readonly string Name; + /// + /// The resource of private endpoint. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The current provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + string type) + { + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/GetSnapshot.cs b/sdk/dotnet/ContainerService/V20230801/GetSnapshot.cs new file mode 100644 index 000000000000..36246fde134a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/GetSnapshot.cs @@ -0,0 +1,175 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class GetSnapshot + { + /// + /// A node pool snapshot resource. + /// + public static Task InvokeAsync(GetSnapshotArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:getSnapshot", args ?? new GetSnapshotArgs(), options.WithDefaults()); + + /// + /// A node pool snapshot resource. + /// + public static Output Invoke(GetSnapshotInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:getSnapshot", args ?? new GetSnapshotInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSnapshotArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetSnapshotArgs() + { + } + public static new GetSnapshotArgs Empty => new GetSnapshotArgs(); + } + + public sealed class GetSnapshotInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public GetSnapshotInvokeArgs() + { + } + public static new GetSnapshotInvokeArgs Empty => new GetSnapshotInvokeArgs(); + } + + + [OutputType] + public sealed class GetSnapshotResult + { + /// + /// CreationData to be used to specify the source agent pool resource ID to create this snapshot. + /// + public readonly Outputs.CreationDataResponse? CreationData; + /// + /// Whether to use a FIPS-enabled OS. + /// + public readonly bool EnableFIPS; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The version of Kubernetes. + /// + public readonly string KubernetesVersion; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The version of node image. + /// + public readonly string NodeImageVersion; + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + public readonly string OsSku; + /// + /// The operating system type. The default is Linux. + /// + public readonly string OsType; + /// + /// The type of a snapshot. The default is NodePool. + /// + public readonly string? SnapshotType; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The size of the VM. + /// + public readonly string VmSize; + + [OutputConstructor] + private GetSnapshotResult( + Outputs.CreationDataResponse? creationData, + + bool enableFIPS, + + string id, + + string kubernetesVersion, + + string location, + + string name, + + string nodeImageVersion, + + string osSku, + + string osType, + + string? snapshotType, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string vmSize) + { + CreationData = creationData; + EnableFIPS = enableFIPS; + Id = id; + KubernetesVersion = kubernetesVersion; + Location = location; + Name = name; + NodeImageVersion = nodeImageVersion; + OsSku = osSku; + OsType = osType; + SnapshotType = snapshotType; + SystemData = systemData; + Tags = tags; + Type = type; + VmSize = vmSize; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/AbsoluteMonthlyScheduleArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/AbsoluteMonthlyScheduleArgs.cs new file mode 100644 index 000000000000..f2687c9c0166 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/AbsoluteMonthlyScheduleArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + /// + public sealed class AbsoluteMonthlyScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// The date of the month. + /// + [Input("dayOfMonth", required: true)] + public Input DayOfMonth { get; set; } = null!; + + /// + /// Specifies the number of months between each set of occurrences. + /// + [Input("intervalMonths", required: true)] + public Input IntervalMonths { get; set; } = null!; + + public AbsoluteMonthlyScheduleArgs() + { + } + public static new AbsoluteMonthlyScheduleArgs Empty => new AbsoluteMonthlyScheduleArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/AgentPoolUpgradeSettingsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/AgentPoolUpgradeSettingsArgs.cs new file mode 100644 index 000000000000..b2a80c45ed51 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/AgentPoolUpgradeSettingsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Settings for upgrading an agentpool + /// + public sealed class AgentPoolUpgradeSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + /// + [Input("drainTimeoutInMinutes")] + public Input? DrainTimeoutInMinutes { get; set; } + + /// + /// This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + /// + [Input("maxSurge")] + public Input? MaxSurge { get; set; } + + public AgentPoolUpgradeSettingsArgs() + { + } + public static new AgentPoolUpgradeSettingsArgs Empty => new AgentPoolUpgradeSettingsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/AzureKeyVaultKmsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/AzureKeyVaultKmsArgs.cs new file mode 100644 index 000000000000..abff1c905e13 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/AzureKeyVaultKmsArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Azure Key Vault key management service settings for the security profile. + /// + public sealed class AzureKeyVaultKmsArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable Azure Key Vault key management service. The default is false. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + /// + [Input("keyId")] + public Input? KeyId { get; set; } + + /// + /// Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + /// + [Input("keyVaultNetworkAccess")] + public InputUnion? KeyVaultNetworkAccess { get; set; } + + /// + /// Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + /// + [Input("keyVaultResourceId")] + public Input? KeyVaultResourceId { get; set; } + + public AzureKeyVaultKmsArgs() + { + KeyVaultNetworkAccess = "Public"; + } + public static new AzureKeyVaultKmsArgs Empty => new AzureKeyVaultKmsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ClusterUpgradeSettingsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ClusterUpgradeSettingsArgs.cs new file mode 100644 index 000000000000..c55c84f82e72 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ClusterUpgradeSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Settings for upgrading a cluster. + /// + public sealed class ClusterUpgradeSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Settings for overrides. + /// + [Input("overrideSettings")] + public Input? OverrideSettings { get; set; } + + public ClusterUpgradeSettingsArgs() + { + } + public static new ClusterUpgradeSettingsArgs Empty => new ClusterUpgradeSettingsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceLinuxProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceLinuxProfileArgs.cs new file mode 100644 index 000000000000..22c75bd2abab --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceLinuxProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile for Linux VMs in the container service cluster. + /// + public sealed class ContainerServiceLinuxProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// The administrator username to use for Linux VMs. + /// + [Input("adminUsername", required: true)] + public Input AdminUsername { get; set; } = null!; + + /// + /// The SSH configuration for Linux-based VMs running on Azure. + /// + [Input("ssh", required: true)] + public Input Ssh { get; set; } = null!; + + public ContainerServiceLinuxProfileArgs() + { + } + public static new ContainerServiceLinuxProfileArgs Empty => new ContainerServiceLinuxProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceNetworkProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceNetworkProfileArgs.cs new file mode 100644 index 000000000000..846cb9a30bc9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceNetworkProfileArgs.cs @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile of network configuration. + /// + public sealed class ContainerServiceNetworkProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + /// + [Input("dnsServiceIP")] + public Input? DnsServiceIP { get; set; } + + [Input("ipFamilies")] + private InputList>? _ipFamilies; + + /// + /// IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + /// + public InputList> IpFamilies + { + get => _ipFamilies ?? (_ipFamilies = new InputList>()); + set => _ipFamilies = value; + } + + /// + /// Profile of the cluster load balancer. + /// + [Input("loadBalancerProfile")] + public Input? LoadBalancerProfile { get; set; } + + /// + /// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + /// + [Input("loadBalancerSku")] + public InputUnion? LoadBalancerSku { get; set; } + + /// + /// Profile of the cluster NAT gateway. + /// + [Input("natGatewayProfile")] + public Input? NatGatewayProfile { get; set; } + + /// + /// Network dataplane used in the Kubernetes cluster. + /// + [Input("networkDataplane")] + public InputUnion? NetworkDataplane { get; set; } + + /// + /// This cannot be specified if networkPlugin is anything other than 'azure'. + /// + [Input("networkMode")] + public InputUnion? NetworkMode { get; set; } + + /// + /// Network plugin used for building the Kubernetes network. + /// + [Input("networkPlugin")] + public InputUnion? NetworkPlugin { get; set; } + + /// + /// The mode the network plugin should use. + /// + [Input("networkPluginMode")] + public InputUnion? NetworkPluginMode { get; set; } + + /// + /// Network policy used for building the Kubernetes network. + /// + [Input("networkPolicy")] + public InputUnion? NetworkPolicy { get; set; } + + /// + /// This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + /// + [Input("outboundType")] + public InputUnion? OutboundType { get; set; } + + /// + /// A CIDR notation IP range from which to assign pod IPs when kubenet is used. + /// + [Input("podCidr")] + public Input? PodCidr { get; set; } + + [Input("podCidrs")] + private InputList? _podCidrs; + + /// + /// One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + /// + public InputList PodCidrs + { + get => _podCidrs ?? (_podCidrs = new InputList()); + set => _podCidrs = value; + } + + /// + /// A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + /// + [Input("serviceCidr")] + public Input? ServiceCidr { get; set; } + + [Input("serviceCidrs")] + private InputList? _serviceCidrs; + + /// + /// One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + /// + public InputList ServiceCidrs + { + get => _serviceCidrs ?? (_serviceCidrs = new InputList()); + set => _serviceCidrs = value; + } + + public ContainerServiceNetworkProfileArgs() + { + DnsServiceIP = "10.0.0.10"; + NetworkPlugin = "kubenet"; + OutboundType = "loadBalancer"; + PodCidr = "10.244.0.0/16"; + ServiceCidr = "10.0.0.0/16"; + } + public static new ContainerServiceNetworkProfileArgs Empty => new ContainerServiceNetworkProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceSshConfigurationArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceSshConfigurationArgs.cs new file mode 100644 index 000000000000..b25f03d4dfe5 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceSshConfigurationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// SSH configuration for Linux-based VMs running on Azure. + /// + public sealed class ContainerServiceSshConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("publicKeys", required: true)] + private InputList? _publicKeys; + + /// + /// The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + /// + public InputList PublicKeys + { + get => _publicKeys ?? (_publicKeys = new InputList()); + set => _publicKeys = value; + } + + public ContainerServiceSshConfigurationArgs() + { + } + public static new ContainerServiceSshConfigurationArgs Empty => new ContainerServiceSshConfigurationArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceSshPublicKeyArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceSshPublicKeyArgs.cs new file mode 100644 index 000000000000..ae57aac44722 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ContainerServiceSshPublicKeyArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Contains information about SSH certificate public key data. + /// + public sealed class ContainerServiceSshPublicKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + /// + [Input("keyData", required: true)] + public Input KeyData { get; set; } = null!; + + public ContainerServiceSshPublicKeyArgs() + { + } + public static new ContainerServiceSshPublicKeyArgs Empty => new ContainerServiceSshPublicKeyArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/CreationDataArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/CreationDataArgs.cs new file mode 100644 index 000000000000..6ae9e14e344c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/CreationDataArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Data used when creating a target resource from a source resource. + /// + public sealed class CreationDataArgs : global::Pulumi.ResourceArgs + { + /// + /// This is the ARM ID of the source object to be used to create the target object. + /// + [Input("sourceResourceId")] + public Input? SourceResourceId { get; set; } + + public CreationDataArgs() + { + } + public static new CreationDataArgs Empty => new CreationDataArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/DailyScheduleArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/DailyScheduleArgs.cs new file mode 100644 index 000000000000..d7b658983fe1 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/DailyScheduleArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For schedules like: 'recur every day' or 'recur every 3 days'. + /// + public sealed class DailyScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the number of days between each set of occurrences. + /// + [Input("intervalDays", required: true)] + public Input IntervalDays { get; set; } = null!; + + public DailyScheduleArgs() + { + } + public static new DailyScheduleArgs Empty => new DailyScheduleArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/DateSpanArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/DateSpanArgs.cs new file mode 100644 index 000000000000..c9a938885bfb --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/DateSpanArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For example, between '2022-12-23' and '2023-01-05'. + /// + public sealed class DateSpanArgs : global::Pulumi.ResourceArgs + { + /// + /// The end date of the date span. + /// + [Input("end", required: true)] + public Input End { get; set; } = null!; + + /// + /// The start date of the date span. + /// + [Input("start", required: true)] + public Input Start { get; set; } = null!; + + public DateSpanArgs() + { + } + public static new DateSpanArgs Empty => new DateSpanArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/DelegatedResourceArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/DelegatedResourceArgs.cs new file mode 100644 index 000000000000..3f3e5fecb0cd --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/DelegatedResourceArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Delegated resource properties - internal use only. + /// + public sealed class DelegatedResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The source resource location - internal use only. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The delegation id of the referral delegation (optional) - internal use only. + /// + [Input("referralResource")] + public Input? ReferralResource { get; set; } + + /// + /// The ARM resource id of the delegated resource - internal use only. + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + /// + /// The tenant id of the delegated resource - internal use only. + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + public DelegatedResourceArgs() + { + } + public static new DelegatedResourceArgs Empty => new DelegatedResourceArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ExtendedLocationArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ExtendedLocationArgs.cs new file mode 100644 index 000000000000..7140aff4dce6 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ExtendedLocationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// The complex type of the extended location. + /// + public sealed class ExtendedLocationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the extended location. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The type of the extended location. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + public ExtendedLocationArgs() + { + } + public static new ExtendedLocationArgs Empty => new ExtendedLocationArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/IstioCertificateAuthorityArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioCertificateAuthorityArgs.cs new file mode 100644 index 000000000000..d4cdbb95acb6 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioCertificateAuthorityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + /// + public sealed class IstioCertificateAuthorityArgs : global::Pulumi.ResourceArgs + { + /// + /// Plugin certificates information for Service Mesh. + /// + [Input("plugin")] + public Input? Plugin { get; set; } + + public IstioCertificateAuthorityArgs() + { + } + public static new IstioCertificateAuthorityArgs Empty => new IstioCertificateAuthorityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/IstioComponentsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioComponentsArgs.cs new file mode 100644 index 000000000000..6172d5651264 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioComponentsArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Istio components configuration. + /// + public sealed class IstioComponentsArgs : global::Pulumi.ResourceArgs + { + [Input("egressGateways")] + private InputList? _egressGateways; + + /// + /// Istio egress gateways. + /// + public InputList EgressGateways + { + get => _egressGateways ?? (_egressGateways = new InputList()); + set => _egressGateways = value; + } + + [Input("ingressGateways")] + private InputList? _ingressGateways; + + /// + /// Istio ingress gateways. + /// + public InputList IngressGateways + { + get => _ingressGateways ?? (_ingressGateways = new InputList()); + set => _ingressGateways = value; + } + + public IstioComponentsArgs() + { + } + public static new IstioComponentsArgs Empty => new IstioComponentsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/IstioEgressGatewayArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioEgressGatewayArgs.cs new file mode 100644 index 000000000000..44a7a7a1d1ba --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioEgressGatewayArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Istio egress gateway configuration. + /// + public sealed class IstioEgressGatewayArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable the egress gateway. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + [Input("nodeSelector")] + private InputMap? _nodeSelector; + + /// + /// NodeSelector for scheduling the egress gateway. + /// + public InputMap NodeSelector + { + get => _nodeSelector ?? (_nodeSelector = new InputMap()); + set => _nodeSelector = value; + } + + public IstioEgressGatewayArgs() + { + } + public static new IstioEgressGatewayArgs Empty => new IstioEgressGatewayArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/IstioIngressGatewayArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioIngressGatewayArgs.cs new file mode 100644 index 000000000000..030b051207c5 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioIngressGatewayArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + /// + public sealed class IstioIngressGatewayArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable the ingress gateway. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Mode of an ingress gateway. + /// + [Input("mode", required: true)] + public InputUnion Mode { get; set; } = null!; + + public IstioIngressGatewayArgs() + { + } + public static new IstioIngressGatewayArgs Empty => new IstioIngressGatewayArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/IstioPluginCertificateAuthorityArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioPluginCertificateAuthorityArgs.cs new file mode 100644 index 000000000000..b37b8c31c03b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioPluginCertificateAuthorityArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Plugin certificates information for Service Mesh. + /// + public sealed class IstioPluginCertificateAuthorityArgs : global::Pulumi.ResourceArgs + { + /// + /// Certificate chain object name in Azure Key Vault. + /// + [Input("certChainObjectName")] + public Input? CertChainObjectName { get; set; } + + /// + /// Intermediate certificate object name in Azure Key Vault. + /// + [Input("certObjectName")] + public Input? CertObjectName { get; set; } + + /// + /// Intermediate certificate private key object name in Azure Key Vault. + /// + [Input("keyObjectName")] + public Input? KeyObjectName { get; set; } + + /// + /// The resource ID of the Key Vault. + /// + [Input("keyVaultId")] + public Input? KeyVaultId { get; set; } + + /// + /// Root certificate object name in Azure Key Vault. + /// + [Input("rootCertObjectName")] + public Input? RootCertObjectName { get; set; } + + public IstioPluginCertificateAuthorityArgs() + { + } + public static new IstioPluginCertificateAuthorityArgs Empty => new IstioPluginCertificateAuthorityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/IstioServiceMeshArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioServiceMeshArgs.cs new file mode 100644 index 000000000000..a961b43b91c7 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/IstioServiceMeshArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Istio service mesh configuration. + /// + public sealed class IstioServiceMeshArgs : global::Pulumi.ResourceArgs + { + /// + /// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + /// + [Input("certificateAuthority")] + public Input? CertificateAuthority { get; set; } + + /// + /// Istio components configuration. + /// + [Input("components")] + public Input? Components { get; set; } + + [Input("revisions")] + private InputList? _revisions; + + /// + /// The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + /// + public InputList Revisions + { + get => _revisions ?? (_revisions = new InputList()); + set => _revisions = value; + } + + public IstioServiceMeshArgs() + { + } + public static new IstioServiceMeshArgs Empty => new IstioServiceMeshArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/KubeletConfigArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/KubeletConfigArgs.cs new file mode 100644 index 000000000000..afea6f8fe4da --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/KubeletConfigArgs.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + /// + public sealed class KubeletConfigArgs : global::Pulumi.ResourceArgs + { + [Input("allowedUnsafeSysctls")] + private InputList? _allowedUnsafeSysctls; + + /// + /// Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + /// + public InputList AllowedUnsafeSysctls + { + get => _allowedUnsafeSysctls ?? (_allowedUnsafeSysctls = new InputList()); + set => _allowedUnsafeSysctls = value; + } + + /// + /// The maximum number of container log files that can be present for a container. The number must be ≥ 2. + /// + [Input("containerLogMaxFiles")] + public Input? ContainerLogMaxFiles { get; set; } + + /// + /// The maximum size (e.g. 10Mi) of container log file before it is rotated. + /// + [Input("containerLogMaxSizeMB")] + public Input? ContainerLogMaxSizeMB { get; set; } + + /// + /// The default is true. + /// + [Input("cpuCfsQuota")] + public Input? CpuCfsQuota { get; set; } + + /// + /// The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + /// + [Input("cpuCfsQuotaPeriod")] + public Input? CpuCfsQuotaPeriod { get; set; } + + /// + /// The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + /// + [Input("cpuManagerPolicy")] + public Input? CpuManagerPolicy { get; set; } + + /// + /// If set to true it will make the Kubelet fail to start if swap is enabled on the node. + /// + [Input("failSwapOn")] + public Input? FailSwapOn { get; set; } + + /// + /// To disable image garbage collection, set to 100. The default is 85% + /// + [Input("imageGcHighThreshold")] + public Input? ImageGcHighThreshold { get; set; } + + /// + /// This cannot be set higher than imageGcHighThreshold. The default is 80% + /// + [Input("imageGcLowThreshold")] + public Input? ImageGcLowThreshold { get; set; } + + /// + /// The maximum number of processes per pod. + /// + [Input("podMaxPids")] + public Input? PodMaxPids { get; set; } + + /// + /// For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + /// + [Input("topologyManagerPolicy")] + public Input? TopologyManagerPolicy { get; set; } + + public KubeletConfigArgs() + { + } + public static new KubeletConfigArgs Empty => new KubeletConfigArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/LinuxOSConfigArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/LinuxOSConfigArgs.cs new file mode 100644 index 000000000000..0f34e0546e36 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/LinuxOSConfigArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + /// + public sealed class LinuxOSConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The size in MB of a swap file that will be created on each node. + /// + [Input("swapFileSizeMB")] + public Input? SwapFileSizeMB { get; set; } + + /// + /// Sysctl settings for Linux agent nodes. + /// + [Input("sysctls")] + public Input? Sysctls { get; set; } + + /// + /// Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + /// + [Input("transparentHugePageDefrag")] + public Input? TransparentHugePageDefrag { get; set; } + + /// + /// Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + /// + [Input("transparentHugePageEnabled")] + public Input? TransparentHugePageEnabled { get; set; } + + public LinuxOSConfigArgs() + { + } + public static new LinuxOSConfigArgs Empty => new LinuxOSConfigArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/MaintenanceWindowArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/MaintenanceWindowArgs.cs new file mode 100644 index 000000000000..34f78c7625a1 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/MaintenanceWindowArgs.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. + /// + public sealed class MaintenanceWindowArgs : global::Pulumi.ResourceArgs + { + /// + /// Length of maintenance window range from 4 to 24 hours. + /// + [Input("durationHours", required: true)] + public Input DurationHours { get; set; } = null!; + + [Input("notAllowedDates")] + private InputList? _notAllowedDates; + + /// + /// Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + /// + public InputList NotAllowedDates + { + get => _notAllowedDates ?? (_notAllowedDates = new InputList()); + set => _notAllowedDates = value; + } + + /// + /// Recurrence schedule for the maintenance window. + /// + [Input("schedule", required: true)] + public Input Schedule { get; set; } = null!; + + /// + /// The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + /// + [Input("startDate")] + public Input? StartDate { get; set; } + + /// + /// The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + /// + [Input("startTime", required: true)] + public Input StartTime { get; set; } = null!; + + /// + /// The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + /// + [Input("utcOffset")] + public Input? UtcOffset { get; set; } + + public MaintenanceWindowArgs() + { + DurationHours = 24; + } + public static new MaintenanceWindowArgs Empty => new MaintenanceWindowArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAADProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAADProfileArgs.cs new file mode 100644 index 000000000000..5179c61be9b6 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAADProfileArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). + /// + public sealed class ManagedClusterAADProfileArgs : global::Pulumi.ResourceArgs + { + [Input("adminGroupObjectIDs")] + private InputList? _adminGroupObjectIDs; + + /// + /// The list of AAD group object IDs that will have admin role of the cluster. + /// + public InputList AdminGroupObjectIDs + { + get => _adminGroupObjectIDs ?? (_adminGroupObjectIDs = new InputList()); + set => _adminGroupObjectIDs = value; + } + + /// + /// (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + /// + [Input("clientAppID")] + public Input? ClientAppID { get; set; } + + /// + /// Whether to enable Azure RBAC for Kubernetes authorization. + /// + [Input("enableAzureRBAC")] + public Input? EnableAzureRBAC { get; set; } + + /// + /// Whether to enable managed AAD. + /// + [Input("managed")] + public Input? Managed { get; set; } + + /// + /// (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + /// + [Input("serverAppID")] + public Input? ServerAppID { get; set; } + + /// + /// (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + /// + [Input("serverAppSecret")] + public Input? ServerAppSecret { get; set; } + + /// + /// The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + /// + [Input("tenantID")] + public Input? TenantID { get; set; } + + public ManagedClusterAADProfileArgs() + { + } + public static new ManagedClusterAADProfileArgs Empty => new ManagedClusterAADProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAPIServerAccessProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAPIServerAccessProfileArgs.cs new file mode 100644 index 000000000000..da4790613699 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAPIServerAccessProfileArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Access profile for managed cluster API server. + /// + public sealed class ManagedClusterAPIServerAccessProfileArgs : global::Pulumi.ResourceArgs + { + [Input("authorizedIPRanges")] + private InputList? _authorizedIPRanges; + + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + /// + public InputList AuthorizedIPRanges + { + get => _authorizedIPRanges ?? (_authorizedIPRanges = new InputList()); + set => _authorizedIPRanges = value; + } + + /// + /// Whether to disable run command for the cluster or not. + /// + [Input("disableRunCommand")] + public Input? DisableRunCommand { get; set; } + + /// + /// For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + /// + [Input("enablePrivateCluster")] + public Input? EnablePrivateCluster { get; set; } + + /// + /// Whether to create additional public FQDN for private cluster or not. + /// + [Input("enablePrivateClusterPublicFQDN")] + public Input? EnablePrivateClusterPublicFQDN { get; set; } + + /// + /// The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + /// + [Input("privateDNSZone")] + public Input? PrivateDNSZone { get; set; } + + public ManagedClusterAPIServerAccessProfileArgs() + { + } + public static new ManagedClusterAPIServerAccessProfileArgs Empty => new ManagedClusterAPIServerAccessProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAddonProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAddonProfileArgs.cs new file mode 100644 index 000000000000..73a96473c22f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAddonProfileArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// A Kubernetes add-on profile for a managed cluster. + /// + public sealed class ManagedClusterAddonProfileArgs : global::Pulumi.ResourceArgs + { + [Input("config")] + private InputMap? _config; + + /// + /// Key-value pairs for configuring an add-on. + /// + public InputMap Config + { + get => _config ?? (_config = new InputMap()); + set => _config = value; + } + + /// + /// Whether the add-on is enabled or not. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + public ManagedClusterAddonProfileArgs() + { + } + public static new ManagedClusterAddonProfileArgs Empty => new ManagedClusterAddonProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAgentPoolProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAgentPoolProfileArgs.cs new file mode 100644 index 000000000000..ae715eea17a8 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAgentPoolProfileArgs.cs @@ -0,0 +1,281 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile for the container service agent pool. + /// + public sealed class ManagedClusterAgentPoolProfileArgs : global::Pulumi.ResourceArgs + { + [Input("availabilityZones")] + private InputList? _availabilityZones; + + /// + /// The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + /// + public InputList AvailabilityZones + { + get => _availabilityZones ?? (_availabilityZones = new InputList()); + set => _availabilityZones = value; + } + + /// + /// Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + /// + [Input("count")] + public Input? Count { get; set; } + + /// + /// CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + /// + [Input("creationData")] + public Input? CreationData { get; set; } + + /// + /// Whether to enable auto-scaler + /// + [Input("enableAutoScaling")] + public Input? EnableAutoScaling { get; set; } + + /// + /// This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + [Input("enableEncryptionAtHost")] + public Input? EnableEncryptionAtHost { get; set; } + + /// + /// See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + /// + [Input("enableFIPS")] + public Input? EnableFIPS { get; set; } + + /// + /// Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + /// + [Input("enableNodePublicIP")] + public Input? EnableNodePublicIP { get; set; } + + /// + /// Whether to enable UltraSSD + /// + [Input("enableUltraSSD")] + public Input? EnableUltraSSD { get; set; } + + /// + /// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + /// + [Input("gpuInstanceProfile")] + public InputUnion? GpuInstanceProfile { get; set; } + + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + /// + [Input("hostGroupID")] + public Input? HostGroupID { get; set; } + + /// + /// The Kubelet configuration on the agent pool nodes. + /// + [Input("kubeletConfig")] + public Input? KubeletConfig { get; set; } + + /// + /// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + /// + [Input("kubeletDiskType")] + public InputUnion? KubeletDiskType { get; set; } + + /// + /// The OS configuration of Linux agent nodes. + /// + [Input("linuxOSConfig")] + public Input? LinuxOSConfig { get; set; } + + /// + /// The maximum number of nodes for auto-scaling + /// + [Input("maxCount")] + public Input? MaxCount { get; set; } + + /// + /// The maximum number of pods that can run on a node. + /// + [Input("maxPods")] + public Input? MaxPods { get; set; } + + /// + /// The minimum number of nodes for auto-scaling + /// + [Input("minCount")] + public Input? MinCount { get; set; } + + /// + /// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + /// + [Input("mode")] + public InputUnion? Mode { get; set; } + + /// + /// Windows agent pool names must be 6 characters or less. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("nodeLabels")] + private InputMap? _nodeLabels; + + /// + /// The node labels to be persisted across all nodes in agent pool. + /// + public InputMap NodeLabels + { + get => _nodeLabels ?? (_nodeLabels = new InputMap()); + set => _nodeLabels = value; + } + + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + [Input("nodePublicIPPrefixID")] + public Input? NodePublicIPPrefixID { get; set; } + + [Input("nodeTaints")] + private InputList? _nodeTaints; + + /// + /// The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + /// + public InputList NodeTaints + { + get => _nodeTaints ?? (_nodeTaints = new InputList()); + set => _nodeTaints = value; + } + + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// + [Input("orchestratorVersion")] + public Input? OrchestratorVersion { get; set; } + + /// + /// OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + /// + [Input("osDiskSizeGB")] + public Input? OsDiskSizeGB { get; set; } + + /// + /// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + /// + [Input("osDiskType")] + public InputUnion? OsDiskType { get; set; } + + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + [Input("osSKU")] + public InputUnion? OsSKU { get; set; } + + /// + /// The operating system type. The default is Linux. + /// + [Input("osType")] + public InputUnion? OsType { get; set; } + + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [Input("podSubnetID")] + public Input? PodSubnetID { get; set; } + + /// + /// When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + /// + [Input("powerState")] + public Input? PowerState { get; set; } + + /// + /// The ID for Proximity Placement Group. + /// + [Input("proximityPlacementGroupID")] + public Input? ProximityPlacementGroupID { get; set; } + + /// + /// This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + /// + [Input("scaleDownMode")] + public InputUnion? ScaleDownMode { get; set; } + + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + /// + [Input("scaleSetEvictionPolicy")] + public InputUnion? ScaleSetEvictionPolicy { get; set; } + + /// + /// The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + /// + [Input("scaleSetPriority")] + public InputUnion? ScaleSetPriority { get; set; } + + /// + /// Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// + [Input("spotMaxPrice")] + public Input? SpotMaxPrice { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// The tags to be persisted on the agent pool virtual machine scale set. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// The type of Agent Pool. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + /// + /// Settings for upgrading the agentpool + /// + [Input("upgradeSettings")] + public Input? UpgradeSettings { get; set; } + + /// + /// VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// + [Input("vmSize")] + public Input? VmSize { get; set; } + + /// + /// If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [Input("vnetSubnetID")] + public Input? VnetSubnetID { get; set; } + + /// + /// Determines the type of workload a node can run. + /// + [Input("workloadRuntime")] + public InputUnion? WorkloadRuntime { get; set; } + + public ManagedClusterAgentPoolProfileArgs() + { + } + public static new ManagedClusterAgentPoolProfileArgs Empty => new ManagedClusterAgentPoolProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAutoUpgradeProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAutoUpgradeProfileArgs.cs new file mode 100644 index 000000000000..30bb2c70e82c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAutoUpgradeProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Auto upgrade profile for a managed cluster. + /// + public sealed class ManagedClusterAutoUpgradeProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Manner in which the OS on your nodes is updated. The default is NodeImage. + /// + [Input("nodeOSUpgradeChannel")] + public InputUnion? NodeOSUpgradeChannel { get; set; } + + /// + /// For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + /// + [Input("upgradeChannel")] + public InputUnion? UpgradeChannel { get; set; } + + public ManagedClusterAutoUpgradeProfileArgs() + { + } + public static new ManagedClusterAutoUpgradeProfileArgs Empty => new ManagedClusterAutoUpgradeProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileArgs.cs new file mode 100644 index 000000000000..5ec2137738ed --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Azure Monitor addon profiles for monitoring the managed cluster. + /// + public sealed class ManagedClusterAzureMonitorProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + /// + [Input("metrics")] + public Input? Metrics { get; set; } + + public ManagedClusterAzureMonitorProfileArgs() + { + } + public static new ManagedClusterAzureMonitorProfileArgs Empty => new ManagedClusterAzureMonitorProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileKubeStateMetricsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileKubeStateMetricsArgs.cs new file mode 100644 index 000000000000..033f35903738 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileKubeStateMetricsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + /// + public sealed class ManagedClusterAzureMonitorProfileKubeStateMetricsArgs : global::Pulumi.ResourceArgs + { + /// + /// Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + /// + [Input("metricAnnotationsAllowList")] + public Input? MetricAnnotationsAllowList { get; set; } + + /// + /// Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + /// + [Input("metricLabelsAllowlist")] + public Input? MetricLabelsAllowlist { get; set; } + + public ManagedClusterAzureMonitorProfileKubeStateMetricsArgs() + { + } + public static new ManagedClusterAzureMonitorProfileKubeStateMetricsArgs Empty => new ManagedClusterAzureMonitorProfileKubeStateMetricsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileMetricsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileMetricsArgs.cs new file mode 100644 index 000000000000..73519d937b4c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterAzureMonitorProfileMetricsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + /// + public sealed class ManagedClusterAzureMonitorProfileMetricsArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + /// + [Input("kubeStateMetrics")] + public Input? KubeStateMetrics { get; set; } + + public ManagedClusterAzureMonitorProfileMetricsArgs() + { + } + public static new ManagedClusterAzureMonitorProfileMetricsArgs Empty => new ManagedClusterAzureMonitorProfileMetricsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterHTTPProxyConfigArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterHTTPProxyConfigArgs.cs new file mode 100644 index 000000000000..9b59641eccf8 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterHTTPProxyConfigArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Cluster HTTP proxy configuration. + /// + public sealed class ManagedClusterHTTPProxyConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The HTTP proxy server endpoint to use. + /// + [Input("httpProxy")] + public Input? HttpProxy { get; set; } + + /// + /// The HTTPS proxy server endpoint to use. + /// + [Input("httpsProxy")] + public Input? HttpsProxy { get; set; } + + [Input("noProxy")] + private InputList? _noProxy; + + /// + /// The endpoints that should not go through proxy. + /// + public InputList NoProxy + { + get => _noProxy ?? (_noProxy = new InputList()); + set => _noProxy = value; + } + + /// + /// Alternative CA cert to use for connecting to proxy servers. + /// + [Input("trustedCa")] + public Input? TrustedCa { get; set; } + + public ManagedClusterHTTPProxyConfigArgs() + { + } + public static new ManagedClusterHTTPProxyConfigArgs Empty => new ManagedClusterHTTPProxyConfigArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterIdentityArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterIdentityArgs.cs new file mode 100644 index 000000000000..4284b9463c7f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterIdentityArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Identity for the managed cluster. + /// + public sealed class ManagedClusterIdentityArgs : global::Pulumi.ResourceArgs + { + [Input("delegatedResources")] + private InputMap? _delegatedResources; + + /// + /// The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + /// + public InputMap DelegatedResources + { + get => _delegatedResources ?? (_delegatedResources = new InputMap()); + set => _delegatedResources = value; + } + + /// + /// For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + /// + [Input("type")] + public Input? Type { get; set; } + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedClusterIdentityArgs() + { + } + public static new ManagedClusterIdentityArgs Empty => new ManagedClusterIdentityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileArgs.cs new file mode 100644 index 000000000000..378486fed5be --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileArgs.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile of the managed cluster load balancer. + /// + public sealed class ManagedClusterLoadBalancerProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. + /// + [Input("allocatedOutboundPorts")] + public Input? AllocatedOutboundPorts { get; set; } + + [Input("effectiveOutboundIPs")] + private InputList? _effectiveOutboundIPs; + + /// + /// The effective outbound IP resources of the cluster load balancer. + /// + public InputList EffectiveOutboundIPs + { + get => _effectiveOutboundIPs ?? (_effectiveOutboundIPs = new InputList()); + set => _effectiveOutboundIPs = value; + } + + /// + /// Enable multiple standard load balancers per AKS cluster or not. + /// + [Input("enableMultipleStandardLoadBalancers")] + public Input? EnableMultipleStandardLoadBalancers { get; set; } + + /// + /// Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + /// + [Input("idleTimeoutInMinutes")] + public Input? IdleTimeoutInMinutes { get; set; } + + /// + /// Desired managed outbound IPs for the cluster load balancer. + /// + [Input("managedOutboundIPs")] + public Input? ManagedOutboundIPs { get; set; } + + /// + /// Desired outbound IP Prefix resources for the cluster load balancer. + /// + [Input("outboundIPPrefixes")] + public Input? OutboundIPPrefixes { get; set; } + + /// + /// Desired outbound IP resources for the cluster load balancer. + /// + [Input("outboundIPs")] + public Input? OutboundIPs { get; set; } + + public ManagedClusterLoadBalancerProfileArgs() + { + AllocatedOutboundPorts = 0; + IdleTimeoutInMinutes = 30; + } + public static new ManagedClusterLoadBalancerProfileArgs Empty => new ManagedClusterLoadBalancerProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.cs new file mode 100644 index 000000000000..ac8ef777a4b4 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Desired managed outbound IPs for the cluster load balancer. + /// + public sealed class ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs : global::Pulumi.ResourceArgs + { + /// + /// The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + /// + [Input("count")] + public Input? Count { get; set; } + + /// + /// The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + /// + [Input("countIPv6")] + public Input? CountIPv6 { get; set; } + + public ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs() + { + Count = 1; + CountIPv6 = 0; + } + public static new ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs Empty => new ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs.cs new file mode 100644 index 000000000000..cb8c6cb80955 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Desired outbound IP Prefix resources for the cluster load balancer. + /// + public sealed class ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs : global::Pulumi.ResourceArgs + { + [Input("publicIPPrefixes")] + private InputList? _publicIPPrefixes; + + /// + /// A list of public IP prefix resources. + /// + public InputList PublicIPPrefixes + { + get => _publicIPPrefixes ?? (_publicIPPrefixes = new InputList()); + set => _publicIPPrefixes = value; + } + + public ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs() + { + } + public static new ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs Empty => new ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileOutboundIPsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileOutboundIPsArgs.cs new file mode 100644 index 000000000000..d1f15a6f1009 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterLoadBalancerProfileOutboundIPsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Desired outbound IP resources for the cluster load balancer. + /// + public sealed class ManagedClusterLoadBalancerProfileOutboundIPsArgs : global::Pulumi.ResourceArgs + { + [Input("publicIPs")] + private InputList? _publicIPs; + + /// + /// A list of public IP resources. + /// + public InputList PublicIPs + { + get => _publicIPs ?? (_publicIPs = new InputList()); + set => _publicIPs = value; + } + + public ManagedClusterLoadBalancerProfileOutboundIPsArgs() + { + } + public static new ManagedClusterLoadBalancerProfileOutboundIPsArgs Empty => new ManagedClusterLoadBalancerProfileOutboundIPsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterManagedOutboundIPProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterManagedOutboundIPProfileArgs.cs new file mode 100644 index 000000000000..ec1fc484bb09 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterManagedOutboundIPProfileArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile of the managed outbound IP resources of the managed cluster. + /// + public sealed class ManagedClusterManagedOutboundIPProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + /// + [Input("count")] + public Input? Count { get; set; } + + public ManagedClusterManagedOutboundIPProfileArgs() + { + Count = 1; + } + public static new ManagedClusterManagedOutboundIPProfileArgs Empty => new ManagedClusterManagedOutboundIPProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterNATGatewayProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterNATGatewayProfileArgs.cs new file mode 100644 index 000000000000..dea6e40fa297 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterNATGatewayProfileArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile of the managed cluster NAT gateway. + /// + public sealed class ManagedClusterNATGatewayProfileArgs : global::Pulumi.ResourceArgs + { + [Input("effectiveOutboundIPs")] + private InputList? _effectiveOutboundIPs; + + /// + /// The effective outbound IP resources of the cluster NAT gateway. + /// + public InputList EffectiveOutboundIPs + { + get => _effectiveOutboundIPs ?? (_effectiveOutboundIPs = new InputList()); + set => _effectiveOutboundIPs = value; + } + + /// + /// Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + /// + [Input("idleTimeoutInMinutes")] + public Input? IdleTimeoutInMinutes { get; set; } + + /// + /// Profile of the managed outbound IP resources of the cluster NAT gateway. + /// + [Input("managedOutboundIPProfile")] + public Input? ManagedOutboundIPProfile { get; set; } + + public ManagedClusterNATGatewayProfileArgs() + { + IdleTimeoutInMinutes = 4; + } + public static new ManagedClusterNATGatewayProfileArgs Empty => new ManagedClusterNATGatewayProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterOIDCIssuerProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterOIDCIssuerProfileArgs.cs new file mode 100644 index 000000000000..b9e65680fd93 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterOIDCIssuerProfileArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// The OIDC issuer profile of the Managed Cluster. + /// + public sealed class ManagedClusterOIDCIssuerProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the OIDC issuer is enabled. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterOIDCIssuerProfileArgs() + { + } + public static new ManagedClusterOIDCIssuerProfileArgs Empty => new ManagedClusterOIDCIssuerProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityArgs.cs new file mode 100644 index 000000000000..fb8e69787a25 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Details about the pod identity assigned to the Managed Cluster. + /// + public sealed class ManagedClusterPodIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The binding selector to use for the AzureIdentityBinding resource. + /// + [Input("bindingSelector")] + public Input? BindingSelector { get; set; } + + /// + /// The user assigned identity details. + /// + [Input("identity", required: true)] + public Input Identity { get; set; } = null!; + + /// + /// The name of the pod identity. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The namespace of the pod identity. + /// + [Input("namespace", required: true)] + public Input Namespace { get; set; } = null!; + + public ManagedClusterPodIdentityArgs() + { + } + public static new ManagedClusterPodIdentityArgs Empty => new ManagedClusterPodIdentityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityExceptionArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityExceptionArgs.cs new file mode 100644 index 000000000000..f5fc746b8842 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityExceptionArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. + /// + public sealed class ManagedClusterPodIdentityExceptionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the pod identity exception. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The namespace of the pod identity exception. + /// + [Input("namespace", required: true)] + public Input Namespace { get; set; } = null!; + + [Input("podLabels", required: true)] + private InputMap? _podLabels; + + /// + /// The pod labels to match. + /// + public InputMap PodLabels + { + get => _podLabels ?? (_podLabels = new InputMap()); + set => _podLabels = value; + } + + public ManagedClusterPodIdentityExceptionArgs() + { + } + public static new ManagedClusterPodIdentityExceptionArgs Empty => new ManagedClusterPodIdentityExceptionArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityProfileArgs.cs new file mode 100644 index 000000000000..8c474dc7ba30 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPodIdentityProfileArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. + /// + public sealed class ManagedClusterPodIdentityProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + /// + [Input("allowNetworkPluginKubenet")] + public Input? AllowNetworkPluginKubenet { get; set; } + + /// + /// Whether the pod identity addon is enabled. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The pod identities to use in the cluster. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + [Input("userAssignedIdentityExceptions")] + private InputList? _userAssignedIdentityExceptions; + + /// + /// The pod identity exceptions to allow. + /// + public InputList UserAssignedIdentityExceptions + { + get => _userAssignedIdentityExceptions ?? (_userAssignedIdentityExceptions = new InputList()); + set => _userAssignedIdentityExceptions = value; + } + + public ManagedClusterPodIdentityProfileArgs() + { + } + public static new ManagedClusterPodIdentityProfileArgs Empty => new ManagedClusterPodIdentityProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPropertiesAutoScalerProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPropertiesAutoScalerProfileArgs.cs new file mode 100644 index 000000000000..8494c9c721ce --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterPropertiesAutoScalerProfileArgs.cs @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Parameters to be applied to the cluster-autoscaler when enabled + /// + public sealed class ManagedClusterPropertiesAutoScalerProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Valid values are 'true' and 'false' + /// + [Input("balanceSimilarNodeGroups")] + public Input? BalanceSimilarNodeGroups { get; set; } + + /// + /// If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + /// + [Input("expander")] + public InputUnion? Expander { get; set; } + + /// + /// The default is 10. + /// + [Input("maxEmptyBulkDelete")] + public Input? MaxEmptyBulkDelete { get; set; } + + /// + /// The default is 600. + /// + [Input("maxGracefulTerminationSec")] + public Input? MaxGracefulTerminationSec { get; set; } + + /// + /// The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + [Input("maxNodeProvisionTime")] + public Input? MaxNodeProvisionTime { get; set; } + + /// + /// The default is 45. The maximum is 100 and the minimum is 0. + /// + [Input("maxTotalUnreadyPercentage")] + public Input? MaxTotalUnreadyPercentage { get; set; } + + /// + /// For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + /// + [Input("newPodScaleUpDelay")] + public Input? NewPodScaleUpDelay { get; set; } + + /// + /// This must be an integer. The default is 3. + /// + [Input("okTotalUnreadyCount")] + public Input? OkTotalUnreadyCount { get; set; } + + /// + /// The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + [Input("scaleDownDelayAfterAdd")] + public Input? ScaleDownDelayAfterAdd { get; set; } + + /// + /// The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + [Input("scaleDownDelayAfterDelete")] + public Input? ScaleDownDelayAfterDelete { get; set; } + + /// + /// The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + [Input("scaleDownDelayAfterFailure")] + public Input? ScaleDownDelayAfterFailure { get; set; } + + /// + /// The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + [Input("scaleDownUnneededTime")] + public Input? ScaleDownUnneededTime { get; set; } + + /// + /// The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + [Input("scaleDownUnreadyTime")] + public Input? ScaleDownUnreadyTime { get; set; } + + /// + /// The default is '0.5'. + /// + [Input("scaleDownUtilizationThreshold")] + public Input? ScaleDownUtilizationThreshold { get; set; } + + /// + /// The default is '10'. Values must be an integer number of seconds. + /// + [Input("scanInterval")] + public Input? ScanInterval { get; set; } + + /// + /// The default is true. + /// + [Input("skipNodesWithLocalStorage")] + public Input? SkipNodesWithLocalStorage { get; set; } + + /// + /// The default is true. + /// + [Input("skipNodesWithSystemPods")] + public Input? SkipNodesWithSystemPods { get; set; } + + public ManagedClusterPropertiesAutoScalerProfileArgs() + { + } + public static new ManagedClusterPropertiesAutoScalerProfileArgs Empty => new ManagedClusterPropertiesAutoScalerProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSKUArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSKUArgs.cs new file mode 100644 index 000000000000..4e963aac70ef --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSKUArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// The SKU of a Managed Cluster. + /// + public sealed class ManagedClusterSKUArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of a managed cluster SKU. + /// + [Input("name")] + public InputUnion? Name { get; set; } + + /// + /// If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + /// + [Input("tier")] + public InputUnion? Tier { get; set; } + + public ManagedClusterSKUArgs() + { + } + public static new ManagedClusterSKUArgs Empty => new ManagedClusterSKUArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileArgs.cs new file mode 100644 index 000000000000..f806b9641089 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Security profile for the container service cluster. + /// + public sealed class ManagedClusterSecurityProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + /// + [Input("azureKeyVaultKms")] + public Input? AzureKeyVaultKms { get; set; } + + /// + /// Microsoft Defender settings for the security profile. + /// + [Input("defender")] + public Input? Defender { get; set; } + + /// + /// Image Cleaner settings for the security profile. + /// + [Input("imageCleaner")] + public Input? ImageCleaner { get; set; } + + /// + /// Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + /// + [Input("workloadIdentity")] + public Input? WorkloadIdentity { get; set; } + + public ManagedClusterSecurityProfileArgs() + { + } + public static new ManagedClusterSecurityProfileArgs Empty => new ManagedClusterSecurityProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileDefenderArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileDefenderArgs.cs new file mode 100644 index 000000000000..5a67f364309f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileDefenderArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Microsoft Defender settings for the security profile. + /// + public sealed class ManagedClusterSecurityProfileDefenderArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + /// + [Input("logAnalyticsWorkspaceResourceId")] + public Input? LogAnalyticsWorkspaceResourceId { get; set; } + + /// + /// Microsoft Defender threat detection for Cloud settings for the security profile. + /// + [Input("securityMonitoring")] + public Input? SecurityMonitoring { get; set; } + + public ManagedClusterSecurityProfileDefenderArgs() + { + } + public static new ManagedClusterSecurityProfileDefenderArgs Empty => new ManagedClusterSecurityProfileDefenderArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs.cs new file mode 100644 index 000000000000..8583819e5d8d --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Microsoft Defender settings for the security profile threat detection. + /// + public sealed class ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable Defender threat detection + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs() + { + } + public static new ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs Empty => new ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileImageCleanerArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileImageCleanerArgs.cs new file mode 100644 index 000000000000..4548d7f2498a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileImageCleanerArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. + /// + public sealed class ManagedClusterSecurityProfileImageCleanerArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable Image Cleaner on AKS cluster. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Image Cleaner scanning interval in hours. + /// + [Input("intervalHours")] + public Input? IntervalHours { get; set; } + + public ManagedClusterSecurityProfileImageCleanerArgs() + { + } + public static new ManagedClusterSecurityProfileImageCleanerArgs Empty => new ManagedClusterSecurityProfileImageCleanerArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileWorkloadIdentityArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileWorkloadIdentityArgs.cs new file mode 100644 index 000000000000..23156007c5d9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterSecurityProfileWorkloadIdentityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Workload identity settings for the security profile. + /// + public sealed class ManagedClusterSecurityProfileWorkloadIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable workload identity. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterSecurityProfileWorkloadIdentityArgs() + { + } + public static new ManagedClusterSecurityProfileWorkloadIdentityArgs Empty => new ManagedClusterSecurityProfileWorkloadIdentityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterServicePrincipalProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterServicePrincipalProfileArgs.cs new file mode 100644 index 000000000000..d954497f2c25 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterServicePrincipalProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Information about a service principal identity for the cluster to use for manipulating Azure APIs. + /// + public sealed class ManagedClusterServicePrincipalProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID for the service principal. + /// + [Input("clientId", required: true)] + public Input ClientId { get; set; } = null!; + + /// + /// The secret password associated with the service principal in plain text. + /// + [Input("secret")] + public Input? Secret { get; set; } + + public ManagedClusterServicePrincipalProfileArgs() + { + } + public static new ManagedClusterServicePrincipalProfileArgs Empty => new ManagedClusterServicePrincipalProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileArgs.cs new file mode 100644 index 000000000000..d6695ce441f0 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Storage profile for the container service cluster. + /// + public sealed class ManagedClusterStorageProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// AzureBlob CSI Driver settings for the storage profile. + /// + [Input("blobCSIDriver")] + public Input? BlobCSIDriver { get; set; } + + /// + /// AzureDisk CSI Driver settings for the storage profile. + /// + [Input("diskCSIDriver")] + public Input? DiskCSIDriver { get; set; } + + /// + /// AzureFile CSI Driver settings for the storage profile. + /// + [Input("fileCSIDriver")] + public Input? FileCSIDriver { get; set; } + + /// + /// Snapshot Controller settings for the storage profile. + /// + [Input("snapshotController")] + public Input? SnapshotController { get; set; } + + public ManagedClusterStorageProfileArgs() + { + } + public static new ManagedClusterStorageProfileArgs Empty => new ManagedClusterStorageProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileBlobCSIDriverArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileBlobCSIDriverArgs.cs new file mode 100644 index 000000000000..e698b0511381 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileBlobCSIDriverArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// AzureBlob CSI Driver settings for the storage profile. + /// + public sealed class ManagedClusterStorageProfileBlobCSIDriverArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable AzureBlob CSI Driver. The default value is false. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterStorageProfileBlobCSIDriverArgs() + { + } + public static new ManagedClusterStorageProfileBlobCSIDriverArgs Empty => new ManagedClusterStorageProfileBlobCSIDriverArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileDiskCSIDriverArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileDiskCSIDriverArgs.cs new file mode 100644 index 000000000000..a79d7fea30d7 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileDiskCSIDriverArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// AzureDisk CSI Driver settings for the storage profile. + /// + public sealed class ManagedClusterStorageProfileDiskCSIDriverArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable AzureDisk CSI Driver. The default value is true. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterStorageProfileDiskCSIDriverArgs() + { + } + public static new ManagedClusterStorageProfileDiskCSIDriverArgs Empty => new ManagedClusterStorageProfileDiskCSIDriverArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileFileCSIDriverArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileFileCSIDriverArgs.cs new file mode 100644 index 000000000000..e711a7357d89 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileFileCSIDriverArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// AzureFile CSI Driver settings for the storage profile. + /// + public sealed class ManagedClusterStorageProfileFileCSIDriverArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable AzureFile CSI Driver. The default value is true. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterStorageProfileFileCSIDriverArgs() + { + } + public static new ManagedClusterStorageProfileFileCSIDriverArgs Empty => new ManagedClusterStorageProfileFileCSIDriverArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileSnapshotControllerArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileSnapshotControllerArgs.cs new file mode 100644 index 000000000000..714e819cf642 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterStorageProfileSnapshotControllerArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Snapshot Controller settings for the storage profile. + /// + public sealed class ManagedClusterStorageProfileSnapshotControllerArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable Snapshot Controller. The default value is true. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public ManagedClusterStorageProfileSnapshotControllerArgs() + { + } + public static new ManagedClusterStorageProfileSnapshotControllerArgs Empty => new ManagedClusterStorageProfileSnapshotControllerArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWindowsProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWindowsProfileArgs.cs new file mode 100644 index 000000000000..45310fcd2ce7 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWindowsProfileArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Profile for Windows VMs in the managed cluster. + /// + public sealed class ManagedClusterWindowsProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the password of the administrator account. <br><br> **Minimum-length:** 8 characters <br><br> **Max-length:** 123 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + /// + [Input("adminPassword")] + public Input? AdminPassword { get; set; } + + /// + /// Specifies the name of the administrator account. <br><br> **Restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters + /// + [Input("adminUsername", required: true)] + public Input AdminUsername { get; set; } = null!; + + /// + /// For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + /// + [Input("enableCSIProxy")] + public Input? EnableCSIProxy { get; set; } + + /// + /// The Windows gMSA Profile in the Managed Cluster. + /// + [Input("gmsaProfile")] + public Input? GmsaProfile { get; set; } + + /// + /// The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + /// + [Input("licenseType")] + public InputUnion? LicenseType { get; set; } + + public ManagedClusterWindowsProfileArgs() + { + } + public static new ManagedClusterWindowsProfileArgs Empty => new ManagedClusterWindowsProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileArgs.cs new file mode 100644 index 000000000000..bf9055544fad --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Workload Auto-scaler profile for the managed cluster. + /// + public sealed class ManagedClusterWorkloadAutoScalerProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + /// + [Input("keda")] + public Input? Keda { get; set; } + + /// + /// VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + /// + [Input("verticalPodAutoscaler")] + public Input? VerticalPodAutoscaler { get; set; } + + public ManagedClusterWorkloadAutoScalerProfileArgs() + { + } + public static new ManagedClusterWorkloadAutoScalerProfileArgs Empty => new ManagedClusterWorkloadAutoScalerProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileKedaArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileKedaArgs.cs new file mode 100644 index 000000000000..a5c037414866 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileKedaArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + /// + public sealed class ManagedClusterWorkloadAutoScalerProfileKedaArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable KEDA. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + public ManagedClusterWorkloadAutoScalerProfileKedaArgs() + { + } + public static new ManagedClusterWorkloadAutoScalerProfileKedaArgs Empty => new ManagedClusterWorkloadAutoScalerProfileKedaArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs.cs new file mode 100644 index 000000000000..c894b1ec04af --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + /// + public sealed class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to enable VPA. Default value is false. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + public ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs() + { + Enabled = false; + } + public static new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs Empty => new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/PowerStateArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/PowerStateArgs.cs new file mode 100644 index 000000000000..f74c52242dbe --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/PowerStateArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Describes the Power State of the cluster + /// + public sealed class PowerStateArgs : global::Pulumi.ResourceArgs + { + /// + /// Tells whether the cluster is Running or Stopped + /// + [Input("code")] + public InputUnion? Code { get; set; } + + public PowerStateArgs() + { + } + public static new PowerStateArgs Empty => new PowerStateArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateEndpointArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateEndpointArgs.cs new file mode 100644 index 000000000000..c44730f4d488 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateEndpointArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Private endpoint which a connection belongs to. + /// + public sealed class PrivateEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// The resource ID of the private endpoint + /// + [Input("id")] + public Input? Id { get; set; } + + public PrivateEndpointArgs() + { + } + public static new PrivateEndpointArgs Empty => new PrivateEndpointArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateLinkResourceArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateLinkResourceArgs.cs new file mode 100644 index 000000000000..4b3d7dc19c2b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateLinkResourceArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// A private link resource + /// + public sealed class PrivateLinkResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The group ID of the resource. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// The ID of the private link resource. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// The name of the private link resource. + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("requiredMembers")] + private InputList? _requiredMembers; + + /// + /// The RequiredMembers of the resource + /// + public InputList RequiredMembers + { + get => _requiredMembers ?? (_requiredMembers = new InputList()); + set => _requiredMembers = value; + } + + /// + /// The resource type. + /// + [Input("type")] + public Input? Type { get; set; } + + public PrivateLinkResourceArgs() + { + } + public static new PrivateLinkResourceArgs Empty => new PrivateLinkResourceArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateLinkServiceConnectionStateArgs.cs new file mode 100644 index 000000000000..1e5210aab07a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/PrivateLinkServiceConnectionStateArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// The state of a private link service connection. + /// + public sealed class PrivateLinkServiceConnectionStateArgs : global::Pulumi.ResourceArgs + { + /// + /// The private link service connection description. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The private link service connection status. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public PrivateLinkServiceConnectionStateArgs() + { + } + public static new PrivateLinkServiceConnectionStateArgs Empty => new PrivateLinkServiceConnectionStateArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/RelativeMonthlyScheduleArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/RelativeMonthlyScheduleArgs.cs new file mode 100644 index 000000000000..d72be7609d22 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/RelativeMonthlyScheduleArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + /// + public sealed class RelativeMonthlyScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies on which day of the week the maintenance occurs. + /// + [Input("dayOfWeek", required: true)] + public InputUnion DayOfWeek { get; set; } = null!; + + /// + /// Specifies the number of months between each set of occurrences. + /// + [Input("intervalMonths", required: true)] + public Input IntervalMonths { get; set; } = null!; + + /// + /// Specifies on which week of the month the dayOfWeek applies. + /// + [Input("weekIndex", required: true)] + public InputUnion WeekIndex { get; set; } = null!; + + public RelativeMonthlyScheduleArgs() + { + } + public static new RelativeMonthlyScheduleArgs Empty => new RelativeMonthlyScheduleArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ResourceReferenceArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ResourceReferenceArgs.cs new file mode 100644 index 000000000000..9f7b36ea002e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ResourceReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// A reference to an Azure resource. + /// + public sealed class ResourceReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The fully qualified Azure resource id. + /// + [Input("id")] + public Input? Id { get; set; } + + public ResourceReferenceArgs() + { + } + public static new ResourceReferenceArgs Empty => new ResourceReferenceArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ScheduleArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ScheduleArgs.cs new file mode 100644 index 000000000000..f9479c2c7f87 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ScheduleArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. + /// + public sealed class ScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + /// + [Input("absoluteMonthly")] + public Input? AbsoluteMonthly { get; set; } + + /// + /// For schedules like: 'recur every day' or 'recur every 3 days'. + /// + [Input("daily")] + public Input? Daily { get; set; } + + /// + /// For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + /// + [Input("relativeMonthly")] + public Input? RelativeMonthly { get; set; } + + /// + /// For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + /// + [Input("weekly")] + public Input? Weekly { get; set; } + + public ScheduleArgs() + { + } + public static new ScheduleArgs Empty => new ScheduleArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/ServiceMeshProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/ServiceMeshProfileArgs.cs new file mode 100644 index 000000000000..68f1e9dae7d2 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/ServiceMeshProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Service mesh profile for a managed cluster. + /// + public sealed class ServiceMeshProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Istio service mesh configuration. + /// + [Input("istio")] + public Input? Istio { get; set; } + + /// + /// Mode of the service mesh. + /// + [Input("mode", required: true)] + public InputUnion Mode { get; set; } = null!; + + public ServiceMeshProfileArgs() + { + } + public static new ServiceMeshProfileArgs Empty => new ServiceMeshProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/SysctlConfigArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/SysctlConfigArgs.cs new file mode 100644 index 000000000000..880bd07793fe --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/SysctlConfigArgs.cs @@ -0,0 +1,191 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Sysctl settings for Linux agent nodes. + /// + public sealed class SysctlConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// Sysctl setting fs.aio-max-nr. + /// + [Input("fsAioMaxNr")] + public Input? FsAioMaxNr { get; set; } + + /// + /// Sysctl setting fs.file-max. + /// + [Input("fsFileMax")] + public Input? FsFileMax { get; set; } + + /// + /// Sysctl setting fs.inotify.max_user_watches. + /// + [Input("fsInotifyMaxUserWatches")] + public Input? FsInotifyMaxUserWatches { get; set; } + + /// + /// Sysctl setting fs.nr_open. + /// + [Input("fsNrOpen")] + public Input? FsNrOpen { get; set; } + + /// + /// Sysctl setting kernel.threads-max. + /// + [Input("kernelThreadsMax")] + public Input? KernelThreadsMax { get; set; } + + /// + /// Sysctl setting net.core.netdev_max_backlog. + /// + [Input("netCoreNetdevMaxBacklog")] + public Input? NetCoreNetdevMaxBacklog { get; set; } + + /// + /// Sysctl setting net.core.optmem_max. + /// + [Input("netCoreOptmemMax")] + public Input? NetCoreOptmemMax { get; set; } + + /// + /// Sysctl setting net.core.rmem_default. + /// + [Input("netCoreRmemDefault")] + public Input? NetCoreRmemDefault { get; set; } + + /// + /// Sysctl setting net.core.rmem_max. + /// + [Input("netCoreRmemMax")] + public Input? NetCoreRmemMax { get; set; } + + /// + /// Sysctl setting net.core.somaxconn. + /// + [Input("netCoreSomaxconn")] + public Input? NetCoreSomaxconn { get; set; } + + /// + /// Sysctl setting net.core.wmem_default. + /// + [Input("netCoreWmemDefault")] + public Input? NetCoreWmemDefault { get; set; } + + /// + /// Sysctl setting net.core.wmem_max. + /// + [Input("netCoreWmemMax")] + public Input? NetCoreWmemMax { get; set; } + + /// + /// Sysctl setting net.ipv4.ip_local_port_range. + /// + [Input("netIpv4IpLocalPortRange")] + public Input? NetIpv4IpLocalPortRange { get; set; } + + /// + /// Sysctl setting net.ipv4.neigh.default.gc_thresh1. + /// + [Input("netIpv4NeighDefaultGcThresh1")] + public Input? NetIpv4NeighDefaultGcThresh1 { get; set; } + + /// + /// Sysctl setting net.ipv4.neigh.default.gc_thresh2. + /// + [Input("netIpv4NeighDefaultGcThresh2")] + public Input? NetIpv4NeighDefaultGcThresh2 { get; set; } + + /// + /// Sysctl setting net.ipv4.neigh.default.gc_thresh3. + /// + [Input("netIpv4NeighDefaultGcThresh3")] + public Input? NetIpv4NeighDefaultGcThresh3 { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_fin_timeout. + /// + [Input("netIpv4TcpFinTimeout")] + public Input? NetIpv4TcpFinTimeout { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_keepalive_probes. + /// + [Input("netIpv4TcpKeepaliveProbes")] + public Input? NetIpv4TcpKeepaliveProbes { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_keepalive_time. + /// + [Input("netIpv4TcpKeepaliveTime")] + public Input? NetIpv4TcpKeepaliveTime { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_max_syn_backlog. + /// + [Input("netIpv4TcpMaxSynBacklog")] + public Input? NetIpv4TcpMaxSynBacklog { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_max_tw_buckets. + /// + [Input("netIpv4TcpMaxTwBuckets")] + public Input? NetIpv4TcpMaxTwBuckets { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_tw_reuse. + /// + [Input("netIpv4TcpTwReuse")] + public Input? NetIpv4TcpTwReuse { get; set; } + + /// + /// Sysctl setting net.ipv4.tcp_keepalive_intvl. + /// + [Input("netIpv4TcpkeepaliveIntvl")] + public Input? NetIpv4TcpkeepaliveIntvl { get; set; } + + /// + /// Sysctl setting net.netfilter.nf_conntrack_buckets. + /// + [Input("netNetfilterNfConntrackBuckets")] + public Input? NetNetfilterNfConntrackBuckets { get; set; } + + /// + /// Sysctl setting net.netfilter.nf_conntrack_max. + /// + [Input("netNetfilterNfConntrackMax")] + public Input? NetNetfilterNfConntrackMax { get; set; } + + /// + /// Sysctl setting vm.max_map_count. + /// + [Input("vmMaxMapCount")] + public Input? VmMaxMapCount { get; set; } + + /// + /// Sysctl setting vm.swappiness. + /// + [Input("vmSwappiness")] + public Input? VmSwappiness { get; set; } + + /// + /// Sysctl setting vm.vfs_cache_pressure. + /// + [Input("vmVfsCachePressure")] + public Input? VmVfsCachePressure { get; set; } + + public SysctlConfigArgs() + { + } + public static new SysctlConfigArgs Empty => new SysctlConfigArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/TimeInWeekArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/TimeInWeekArgs.cs new file mode 100644 index 000000000000..339ab12eb018 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/TimeInWeekArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Time in a week. + /// + public sealed class TimeInWeekArgs : global::Pulumi.ResourceArgs + { + /// + /// The day of the week. + /// + [Input("day")] + public InputUnion? Day { get; set; } + + [Input("hourSlots")] + private InputList? _hourSlots; + + /// + /// Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + /// + public InputList HourSlots + { + get => _hourSlots ?? (_hourSlots = new InputList()); + set => _hourSlots = value; + } + + public TimeInWeekArgs() + { + } + public static new TimeInWeekArgs Empty => new TimeInWeekArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/TimeSpanArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/TimeSpanArgs.cs new file mode 100644 index 000000000000..16776202e92b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/TimeSpanArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. + /// + public sealed class TimeSpanArgs : global::Pulumi.ResourceArgs + { + /// + /// The end of a time span + /// + [Input("end")] + public Input? End { get; set; } + + /// + /// The start of a time span + /// + [Input("start")] + public Input? Start { get; set; } + + public TimeSpanArgs() + { + } + public static new TimeSpanArgs Empty => new TimeSpanArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/UpgradeOverrideSettingsArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/UpgradeOverrideSettingsArgs.cs new file mode 100644 index 000000000000..9d5c74dc6d2e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/UpgradeOverrideSettingsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Settings for overrides when upgrading a cluster. + /// + public sealed class UpgradeOverrideSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + /// + [Input("forceUpgrade")] + public Input? ForceUpgrade { get; set; } + + /// + /// Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + /// + [Input("until")] + public Input? Until { get; set; } + + public UpgradeOverrideSettingsArgs() + { + } + public static new UpgradeOverrideSettingsArgs Empty => new UpgradeOverrideSettingsArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/UserAssignedIdentityArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/UserAssignedIdentityArgs.cs new file mode 100644 index 000000000000..94f3a501548c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/UserAssignedIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Details about a user assigned identity. + /// + public sealed class UserAssignedIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The client ID of the user assigned identity. + /// + [Input("clientId")] + public Input? ClientId { get; set; } + + /// + /// The object ID of the user assigned identity. + /// + [Input("objectId")] + public Input? ObjectId { get; set; } + + /// + /// The resource ID of the user assigned identity. + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + public UserAssignedIdentityArgs() + { + } + public static new UserAssignedIdentityArgs Empty => new UserAssignedIdentityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/WeeklyScheduleArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/WeeklyScheduleArgs.cs new file mode 100644 index 000000000000..459a2c7b45bf --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/WeeklyScheduleArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + /// + public sealed class WeeklyScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies on which day of the week the maintenance occurs. + /// + [Input("dayOfWeek", required: true)] + public InputUnion DayOfWeek { get; set; } = null!; + + /// + /// Specifies the number of weeks between each set of occurrences. + /// + [Input("intervalWeeks", required: true)] + public Input IntervalWeeks { get; set; } = null!; + + public WeeklyScheduleArgs() + { + } + public static new WeeklyScheduleArgs Empty => new WeeklyScheduleArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Inputs/WindowsGmsaProfileArgs.cs b/sdk/dotnet/ContainerService/V20230801/Inputs/WindowsGmsaProfileArgs.cs new file mode 100644 index 000000000000..92e5f5540d4e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Inputs/WindowsGmsaProfileArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Inputs +{ + + /// + /// Windows gMSA Profile in the managed cluster. + /// + public sealed class WindowsGmsaProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + /// + [Input("dnsServer")] + public Input? DnsServer { get; set; } + + /// + /// Specifies whether to enable Windows gMSA in the managed cluster. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + /// + [Input("rootDomainName")] + public Input? RootDomainName { get; set; } + + public WindowsGmsaProfileArgs() + { + } + public static new WindowsGmsaProfileArgs Empty => new WindowsGmsaProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/ListManagedClusterAdminCredentials.cs b/sdk/dotnet/ContainerService/V20230801/ListManagedClusterAdminCredentials.cs new file mode 100644 index 000000000000..5cc1cb88240c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/ListManagedClusterAdminCredentials.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class ListManagedClusterAdminCredentials + { + /// + /// The list credential result response. + /// + public static Task InvokeAsync(ListManagedClusterAdminCredentialsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:listManagedClusterAdminCredentials", args ?? new ListManagedClusterAdminCredentialsArgs(), options.WithDefaults()); + + /// + /// The list credential result response. + /// + public static Output Invoke(ListManagedClusterAdminCredentialsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:listManagedClusterAdminCredentials", args ?? new ListManagedClusterAdminCredentialsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListManagedClusterAdminCredentialsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + /// + /// server fqdn type for credentials to be returned + /// + [Input("serverFqdn")] + public string? ServerFqdn { get; set; } + + public ListManagedClusterAdminCredentialsArgs() + { + } + public static new ListManagedClusterAdminCredentialsArgs Empty => new ListManagedClusterAdminCredentialsArgs(); + } + + public sealed class ListManagedClusterAdminCredentialsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + /// + /// server fqdn type for credentials to be returned + /// + [Input("serverFqdn")] + public Input? ServerFqdn { get; set; } + + public ListManagedClusterAdminCredentialsInvokeArgs() + { + } + public static new ListManagedClusterAdminCredentialsInvokeArgs Empty => new ListManagedClusterAdminCredentialsInvokeArgs(); + } + + + [OutputType] + public sealed class ListManagedClusterAdminCredentialsResult + { + /// + /// Base64-encoded Kubernetes configuration file. + /// + public readonly ImmutableArray Kubeconfigs; + + [OutputConstructor] + private ListManagedClusterAdminCredentialsResult(ImmutableArray kubeconfigs) + { + Kubeconfigs = kubeconfigs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/ListManagedClusterMonitoringUserCredentials.cs b/sdk/dotnet/ContainerService/V20230801/ListManagedClusterMonitoringUserCredentials.cs new file mode 100644 index 000000000000..2183e1098af4 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/ListManagedClusterMonitoringUserCredentials.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class ListManagedClusterMonitoringUserCredentials + { + /// + /// The list credential result response. + /// + public static Task InvokeAsync(ListManagedClusterMonitoringUserCredentialsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:listManagedClusterMonitoringUserCredentials", args ?? new ListManagedClusterMonitoringUserCredentialsArgs(), options.WithDefaults()); + + /// + /// The list credential result response. + /// + public static Output Invoke(ListManagedClusterMonitoringUserCredentialsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:listManagedClusterMonitoringUserCredentials", args ?? new ListManagedClusterMonitoringUserCredentialsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListManagedClusterMonitoringUserCredentialsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + /// + /// server fqdn type for credentials to be returned + /// + [Input("serverFqdn")] + public string? ServerFqdn { get; set; } + + public ListManagedClusterMonitoringUserCredentialsArgs() + { + } + public static new ListManagedClusterMonitoringUserCredentialsArgs Empty => new ListManagedClusterMonitoringUserCredentialsArgs(); + } + + public sealed class ListManagedClusterMonitoringUserCredentialsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + /// + /// server fqdn type for credentials to be returned + /// + [Input("serverFqdn")] + public Input? ServerFqdn { get; set; } + + public ListManagedClusterMonitoringUserCredentialsInvokeArgs() + { + } + public static new ListManagedClusterMonitoringUserCredentialsInvokeArgs Empty => new ListManagedClusterMonitoringUserCredentialsInvokeArgs(); + } + + + [OutputType] + public sealed class ListManagedClusterMonitoringUserCredentialsResult + { + /// + /// Base64-encoded Kubernetes configuration file. + /// + public readonly ImmutableArray Kubeconfigs; + + [OutputConstructor] + private ListManagedClusterMonitoringUserCredentialsResult(ImmutableArray kubeconfigs) + { + Kubeconfigs = kubeconfigs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/ListManagedClusterUserCredentials.cs b/sdk/dotnet/ContainerService/V20230801/ListManagedClusterUserCredentials.cs new file mode 100644 index 000000000000..bef66334e6df --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/ListManagedClusterUserCredentials.cs @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + public static class ListManagedClusterUserCredentials + { + /// + /// The list credential result response. + /// + public static Task InvokeAsync(ListManagedClusterUserCredentialsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230801:listManagedClusterUserCredentials", args ?? new ListManagedClusterUserCredentialsArgs(), options.WithDefaults()); + + /// + /// The list credential result response. + /// + public static Output Invoke(ListManagedClusterUserCredentialsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230801:listManagedClusterUserCredentials", args ?? new ListManagedClusterUserCredentialsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListManagedClusterUserCredentialsArgs : global::Pulumi.InvokeArgs + { + /// + /// Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path. + /// + [Input("format")] + public string? Format { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + /// + /// server fqdn type for credentials to be returned + /// + [Input("serverFqdn")] + public string? ServerFqdn { get; set; } + + public ListManagedClusterUserCredentialsArgs() + { + } + public static new ListManagedClusterUserCredentialsArgs Empty => new ListManagedClusterUserCredentialsArgs(); + } + + public sealed class ListManagedClusterUserCredentialsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path. + /// + [Input("format")] + public Input? Format { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + /// + /// server fqdn type for credentials to be returned + /// + [Input("serverFqdn")] + public Input? ServerFqdn { get; set; } + + public ListManagedClusterUserCredentialsInvokeArgs() + { + } + public static new ListManagedClusterUserCredentialsInvokeArgs Empty => new ListManagedClusterUserCredentialsInvokeArgs(); + } + + + [OutputType] + public sealed class ListManagedClusterUserCredentialsResult + { + /// + /// Base64-encoded Kubernetes configuration file. + /// + public readonly ImmutableArray Kubeconfigs; + + [OutputConstructor] + private ListManagedClusterUserCredentialsResult(ImmutableArray kubeconfigs) + { + Kubeconfigs = kubeconfigs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/MaintenanceConfiguration.cs b/sdk/dotnet/ContainerService/V20230801/MaintenanceConfiguration.cs new file mode 100644 index 000000000000..ce540676c1a1 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/MaintenanceConfiguration.cs @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + /// + /// See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230801:MaintenanceConfiguration")] + public partial class MaintenanceConfiguration : global::Pulumi.CustomResource + { + /// + /// Maintenance window for the maintenance configuration. + /// + [Output("maintenanceWindow")] + public Output MaintenanceWindow { get; private set; } = null!; + + /// + /// The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Time slots on which upgrade is not allowed. + /// + [Output("notAllowedTime")] + public Output> NotAllowedTime { get; private set; } = null!; + + /// + /// The system metadata relating to this resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + /// + [Output("timeInWeek")] + public Output> TimeInWeek { get; private set; } = null!; + + /// + /// Resource type + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MaintenanceConfiguration 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 MaintenanceConfiguration(string name, MaintenanceConfigurationArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:MaintenanceConfiguration", name, args ?? new MaintenanceConfigurationArgs(), MakeResourceOptions(options, "")) + { + } + + private MaintenanceConfiguration(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:MaintenanceConfiguration", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201201:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210201:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210301:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210501:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210701:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210801:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210901:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211001:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211101preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220101:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220102preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220201:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220202preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220301:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220302preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220401:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220402preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220502preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220601:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220701:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220802preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220803preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220901:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221002preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221101:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221102preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230101:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230102preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230201:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230202preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230301:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230302preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230401:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230402preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230501:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230502preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:MaintenanceConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:MaintenanceConfiguration"}, + }, + }; + 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 MaintenanceConfiguration 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. + /// A bag of options that control this resource's behavior + public static MaintenanceConfiguration Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MaintenanceConfiguration(name, id, options); + } + } + + public sealed class MaintenanceConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the maintenance configuration. + /// + [Input("configName")] + public Input? ConfigName { get; set; } + + /// + /// Maintenance window for the maintenance configuration. + /// + [Input("maintenanceWindow")] + public Input? MaintenanceWindow { get; set; } + + [Input("notAllowedTime")] + private InputList? _notAllowedTime; + + /// + /// Time slots on which upgrade is not allowed. + /// + public InputList NotAllowedTime + { + get => _notAllowedTime ?? (_notAllowedTime = new InputList()); + set => _notAllowedTime = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + [Input("timeInWeek")] + private InputList? _timeInWeek; + + /// + /// If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + /// + public InputList TimeInWeek + { + get => _timeInWeek ?? (_timeInWeek = new InputList()); + set => _timeInWeek = value; + } + + public MaintenanceConfigurationArgs() + { + } + public static new MaintenanceConfigurationArgs Empty => new MaintenanceConfigurationArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/ManagedCluster.cs b/sdk/dotnet/ContainerService/V20230801/ManagedCluster.cs new file mode 100644 index 000000000000..37b40aaa8f87 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/ManagedCluster.cs @@ -0,0 +1,672 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + /// + /// Managed cluster. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230801:ManagedCluster")] + public partial class ManagedCluster : global::Pulumi.CustomResource + { + /// + /// The Azure Active Directory configuration. + /// + [Output("aadProfile")] + public Output AadProfile { get; private set; } = null!; + + /// + /// The profile of managed cluster add-on. + /// + [Output("addonProfiles")] + public Output?> AddonProfiles { get; private set; } = null!; + + /// + /// The agent pool properties. + /// + [Output("agentPoolProfiles")] + public Output> AgentPoolProfiles { get; private set; } = null!; + + /// + /// The access profile for managed cluster API server. + /// + [Output("apiServerAccessProfile")] + public Output ApiServerAccessProfile { get; private set; } = null!; + + /// + /// Parameters to be applied to the cluster-autoscaler when enabled + /// + [Output("autoScalerProfile")] + public Output AutoScalerProfile { get; private set; } = null!; + + /// + /// The auto upgrade configuration. + /// + [Output("autoUpgradeProfile")] + public Output AutoUpgradeProfile { get; private set; } = null!; + + /// + /// Azure Monitor addon profiles for monitoring the managed cluster. + /// + [Output("azureMonitorProfile")] + public Output AzureMonitorProfile { get; private set; } = null!; + + /// + /// The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. + /// + [Output("azurePortalFQDN")] + public Output AzurePortalFQDN { get; private set; } = null!; + + /// + /// If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used. + /// + [Output("currentKubernetesVersion")] + public Output CurrentKubernetesVersion { get; private set; } = null!; + + /// + /// If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + /// + [Output("disableLocalAccounts")] + public Output DisableLocalAccounts { get; private set; } = null!; + + /// + /// This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + /// + [Output("diskEncryptionSetID")] + public Output DiskEncryptionSetID { get; private set; } = null!; + + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + [Output("dnsPrefix")] + public Output DnsPrefix { get; private set; } = null!; + + /// + /// (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + /// + [Output("enablePodSecurityPolicy")] + public Output EnablePodSecurityPolicy { get; private set; } = null!; + + /// + /// Whether to enable Kubernetes Role-Based Access Control. + /// + [Output("enableRBAC")] + public Output EnableRBAC { get; private set; } = null!; + + /// + /// The extended location of the Virtual Machine. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The FQDN of the master pool. + /// + [Output("fqdn")] + public Output Fqdn { get; private set; } = null!; + + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + [Output("fqdnSubdomain")] + public Output FqdnSubdomain { get; private set; } = null!; + + /// + /// Configurations for provisioning the cluster with HTTP proxy servers. + /// + [Output("httpProxyConfig")] + public Output HttpProxyConfig { get; private set; } = null!; + + /// + /// The identity of the managed cluster, if configured. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Identities associated with the cluster. + /// + [Output("identityProfile")] + public Output?> IdentityProfile { get; private set; } = null!; + + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + /// + [Output("kubernetesVersion")] + public Output KubernetesVersion { get; private set; } = null!; + + /// + /// The profile for Linux VMs in the Managed Cluster. + /// + [Output("linuxProfile")] + public Output LinuxProfile { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The max number of agent pools for the managed cluster. + /// + [Output("maxAgentPools")] + public Output MaxAgentPools { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The network configuration profile. + /// + [Output("networkProfile")] + public Output NetworkProfile { get; private set; } = null!; + + /// + /// The name of the resource group containing agent pool nodes. + /// + [Output("nodeResourceGroup")] + public Output NodeResourceGroup { get; private set; } = null!; + + /// + /// The OIDC issuer profile of the Managed Cluster. + /// + [Output("oidcIssuerProfile")] + public Output OidcIssuerProfile { get; private set; } = null!; + + /// + /// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + /// + [Output("podIdentityProfile")] + public Output PodIdentityProfile { get; private set; } = null!; + + /// + /// The Power State of the cluster. + /// + [Output("powerState")] + public Output PowerState { get; private set; } = null!; + + /// + /// The FQDN of private cluster. + /// + [Output("privateFQDN")] + public Output PrivateFQDN { get; private set; } = null!; + + /// + /// Private link resources associated with the cluster. + /// + [Output("privateLinkResources")] + public Output> PrivateLinkResources { get; private set; } = null!; + + /// + /// The current provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Allow or deny public network access for AKS + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence) + /// + [Output("resourceUID")] + public Output ResourceUID { get; private set; } = null!; + + /// + /// Security profile for the managed cluster. + /// + [Output("securityProfile")] + public Output SecurityProfile { get; private set; } = null!; + + /// + /// Service mesh profile for a managed cluster. + /// + [Output("serviceMeshProfile")] + public Output ServiceMeshProfile { get; private set; } = null!; + + /// + /// Information about a service principal identity for the cluster to use for manipulating Azure APIs. + /// + [Output("servicePrincipalProfile")] + public Output ServicePrincipalProfile { get; private set; } = null!; + + /// + /// The managed cluster SKU. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Storage profile for the managed cluster. + /// + [Output("storageProfile")] + public Output StorageProfile { get; private set; } = null!; + + /// + /// The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + /// + [Output("supportPlan")] + public Output SupportPlan { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Settings for upgrading a cluster. + /// + [Output("upgradeSettings")] + public Output UpgradeSettings { get; private set; } = null!; + + /// + /// The profile for Windows VMs in the Managed Cluster. + /// + [Output("windowsProfile")] + public Output WindowsProfile { get; private set; } = null!; + + /// + /// Workload Auto-scaler profile for the managed cluster. + /// + [Output("workloadAutoScalerProfile")] + public Output WorkloadAutoScalerProfile { get; private set; } = null!; + + + /// + /// Create a ManagedCluster 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 ManagedCluster(string name, ManagedClusterArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:ManagedCluster", name, args ?? new ManagedClusterArgs(), MakeResourceOptions(options, "")) + { + } + + private ManagedCluster(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:ManagedCluster", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20170831:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20180331:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20180801preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190201:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190401:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190601:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20190801:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20191001:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20191101:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200101:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200201:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200301:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200401:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200601:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200701:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200901:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201101:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201201:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210201:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210301:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210501:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210701:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210801:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210901:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211001:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211101preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220101:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220102preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220201:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220202preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220301:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220302preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220401:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220402preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220502preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220601:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220701:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220802preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220803preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220901:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221002preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221101:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221102preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230101:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230102preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230201:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230202preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230301:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230302preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230401:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230402preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230501:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230502preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:ManagedCluster"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:ManagedCluster"}, + }, + }; + 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 ManagedCluster 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. + /// A bag of options that control this resource's behavior + public static ManagedCluster Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ManagedCluster(name, id, options); + } + } + + public sealed class ManagedClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The Azure Active Directory configuration. + /// + [Input("aadProfile")] + public Input? AadProfile { get; set; } + + [Input("addonProfiles")] + private InputMap? _addonProfiles; + + /// + /// The profile of managed cluster add-on. + /// + public InputMap AddonProfiles + { + get => _addonProfiles ?? (_addonProfiles = new InputMap()); + set => _addonProfiles = value; + } + + [Input("agentPoolProfiles")] + private InputList? _agentPoolProfiles; + + /// + /// The agent pool properties. + /// + public InputList AgentPoolProfiles + { + get => _agentPoolProfiles ?? (_agentPoolProfiles = new InputList()); + set => _agentPoolProfiles = value; + } + + /// + /// The access profile for managed cluster API server. + /// + [Input("apiServerAccessProfile")] + public Input? ApiServerAccessProfile { get; set; } + + /// + /// Parameters to be applied to the cluster-autoscaler when enabled + /// + [Input("autoScalerProfile")] + public Input? AutoScalerProfile { get; set; } + + /// + /// The auto upgrade configuration. + /// + [Input("autoUpgradeProfile")] + public Input? AutoUpgradeProfile { get; set; } + + /// + /// Azure Monitor addon profiles for monitoring the managed cluster. + /// + [Input("azureMonitorProfile")] + public Input? AzureMonitorProfile { get; set; } + + /// + /// If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + /// + [Input("disableLocalAccounts")] + public Input? DisableLocalAccounts { get; set; } + + /// + /// This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + /// + [Input("diskEncryptionSetID")] + public Input? DiskEncryptionSetID { get; set; } + + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + [Input("dnsPrefix")] + public Input? DnsPrefix { get; set; } + + /// + /// (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + /// + [Input("enablePodSecurityPolicy")] + public Input? EnablePodSecurityPolicy { get; set; } + + /// + /// Whether to enable Kubernetes Role-Based Access Control. + /// + [Input("enableRBAC")] + public Input? EnableRBAC { get; set; } + + /// + /// The extended location of the Virtual Machine. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + [Input("fqdnSubdomain")] + public Input? FqdnSubdomain { get; set; } + + /// + /// Configurations for provisioning the cluster with HTTP proxy servers. + /// + [Input("httpProxyConfig")] + public Input? HttpProxyConfig { get; set; } + + /// + /// The identity of the managed cluster, if configured. + /// + [Input("identity")] + public Input? Identity { get; set; } + + [Input("identityProfile")] + private InputMap? _identityProfile; + + /// + /// Identities associated with the cluster. + /// + public InputMap IdentityProfile + { + get => _identityProfile ?? (_identityProfile = new InputMap()); + set => _identityProfile = value; + } + + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + /// + [Input("kubernetesVersion")] + public Input? KubernetesVersion { get; set; } + + /// + /// The profile for Linux VMs in the Managed Cluster. + /// + [Input("linuxProfile")] + public Input? LinuxProfile { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The network configuration profile. + /// + [Input("networkProfile")] + public Input? NetworkProfile { get; set; } + + /// + /// The name of the resource group containing agent pool nodes. + /// + [Input("nodeResourceGroup")] + public Input? NodeResourceGroup { get; set; } + + /// + /// The OIDC issuer profile of the Managed Cluster. + /// + [Input("oidcIssuerProfile")] + public Input? OidcIssuerProfile { get; set; } + + /// + /// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + /// + [Input("podIdentityProfile")] + public Input? PodIdentityProfile { get; set; } + + [Input("privateLinkResources")] + private InputList? _privateLinkResources; + + /// + /// Private link resources associated with the cluster. + /// + public InputList PrivateLinkResources + { + get => _privateLinkResources ?? (_privateLinkResources = new InputList()); + set => _privateLinkResources = value; + } + + /// + /// Allow or deny public network access for AKS + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName")] + public Input? ResourceName { get; set; } + + /// + /// Security profile for the managed cluster. + /// + [Input("securityProfile")] + public Input? SecurityProfile { get; set; } + + /// + /// Service mesh profile for a managed cluster. + /// + [Input("serviceMeshProfile")] + public Input? ServiceMeshProfile { get; set; } + + /// + /// Information about a service principal identity for the cluster to use for manipulating Azure APIs. + /// + [Input("servicePrincipalProfile")] + public Input? ServicePrincipalProfile { get; set; } + + /// + /// The managed cluster SKU. + /// + [Input("sku")] + public Input? Sku { get; set; } + + /// + /// Storage profile for the managed cluster. + /// + [Input("storageProfile")] + public Input? StorageProfile { get; set; } + + /// + /// The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + /// + [Input("supportPlan")] + public InputUnion? SupportPlan { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Settings for upgrading a cluster. + /// + [Input("upgradeSettings")] + public Input? UpgradeSettings { get; set; } + + /// + /// The profile for Windows VMs in the Managed Cluster. + /// + [Input("windowsProfile")] + public Input? WindowsProfile { get; set; } + + /// + /// Workload Auto-scaler profile for the managed cluster. + /// + [Input("workloadAutoScalerProfile")] + public Input? WorkloadAutoScalerProfile { get; set; } + + public ManagedClusterArgs() + { + } + public static new ManagedClusterArgs Empty => new ManagedClusterArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/AbsoluteMonthlyScheduleResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/AbsoluteMonthlyScheduleResponse.cs new file mode 100644 index 000000000000..4847a8029457 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/AbsoluteMonthlyScheduleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + /// + [OutputType] + public sealed class AbsoluteMonthlyScheduleResponse + { + /// + /// The date of the month. + /// + public readonly int DayOfMonth; + /// + /// Specifies the number of months between each set of occurrences. + /// + public readonly int IntervalMonths; + + [OutputConstructor] + private AbsoluteMonthlyScheduleResponse( + int dayOfMonth, + + int intervalMonths) + { + DayOfMonth = dayOfMonth; + IntervalMonths = intervalMonths; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/AgentPoolUpgradeSettingsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/AgentPoolUpgradeSettingsResponse.cs new file mode 100644 index 000000000000..8e04bd791b1e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/AgentPoolUpgradeSettingsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Settings for upgrading an agentpool + /// + [OutputType] + public sealed class AgentPoolUpgradeSettingsResponse + { + /// + /// The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + /// + public readonly int? DrainTimeoutInMinutes; + /// + /// This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + /// + public readonly string? MaxSurge; + + [OutputConstructor] + private AgentPoolUpgradeSettingsResponse( + int? drainTimeoutInMinutes, + + string? maxSurge) + { + DrainTimeoutInMinutes = drainTimeoutInMinutes; + MaxSurge = maxSurge; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/AzureKeyVaultKmsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/AzureKeyVaultKmsResponse.cs new file mode 100644 index 000000000000..673d3572ab7e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/AzureKeyVaultKmsResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Azure Key Vault key management service settings for the security profile. + /// + [OutputType] + public sealed class AzureKeyVaultKmsResponse + { + /// + /// Whether to enable Azure Key Vault key management service. The default is false. + /// + public readonly bool? Enabled; + /// + /// Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + /// + public readonly string? KeyId; + /// + /// Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + /// + public readonly string? KeyVaultNetworkAccess; + /// + /// Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + /// + public readonly string? KeyVaultResourceId; + + [OutputConstructor] + private AzureKeyVaultKmsResponse( + bool? enabled, + + string? keyId, + + string? keyVaultNetworkAccess, + + string? keyVaultResourceId) + { + Enabled = enabled; + KeyId = keyId; + KeyVaultNetworkAccess = keyVaultNetworkAccess; + KeyVaultResourceId = keyVaultResourceId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ClusterUpgradeSettingsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ClusterUpgradeSettingsResponse.cs new file mode 100644 index 000000000000..9a69e56c2315 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ClusterUpgradeSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Settings for upgrading a cluster. + /// + [OutputType] + public sealed class ClusterUpgradeSettingsResponse + { + /// + /// Settings for overrides. + /// + public readonly Outputs.UpgradeOverrideSettingsResponse? OverrideSettings; + + [OutputConstructor] + private ClusterUpgradeSettingsResponse(Outputs.UpgradeOverrideSettingsResponse? overrideSettings) + { + OverrideSettings = overrideSettings; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceLinuxProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceLinuxProfileResponse.cs new file mode 100644 index 000000000000..1b81875e2906 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceLinuxProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile for Linux VMs in the container service cluster. + /// + [OutputType] + public sealed class ContainerServiceLinuxProfileResponse + { + /// + /// The administrator username to use for Linux VMs. + /// + public readonly string AdminUsername; + /// + /// The SSH configuration for Linux-based VMs running on Azure. + /// + public readonly Outputs.ContainerServiceSshConfigurationResponse Ssh; + + [OutputConstructor] + private ContainerServiceLinuxProfileResponse( + string adminUsername, + + Outputs.ContainerServiceSshConfigurationResponse ssh) + { + AdminUsername = adminUsername; + Ssh = ssh; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceNetworkProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceNetworkProfileResponse.cs new file mode 100644 index 000000000000..261603ace56e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceNetworkProfileResponse.cs @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile of network configuration. + /// + [OutputType] + public sealed class ContainerServiceNetworkProfileResponse + { + /// + /// An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + /// + public readonly string? DnsServiceIP; + /// + /// IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + /// + public readonly ImmutableArray IpFamilies; + /// + /// Profile of the cluster load balancer. + /// + public readonly Outputs.ManagedClusterLoadBalancerProfileResponse? LoadBalancerProfile; + /// + /// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + /// + public readonly string? LoadBalancerSku; + /// + /// Profile of the cluster NAT gateway. + /// + public readonly Outputs.ManagedClusterNATGatewayProfileResponse? NatGatewayProfile; + /// + /// Network dataplane used in the Kubernetes cluster. + /// + public readonly string? NetworkDataplane; + /// + /// This cannot be specified if networkPlugin is anything other than 'azure'. + /// + public readonly string? NetworkMode; + /// + /// Network plugin used for building the Kubernetes network. + /// + public readonly string? NetworkPlugin; + /// + /// The mode the network plugin should use. + /// + public readonly string? NetworkPluginMode; + /// + /// Network policy used for building the Kubernetes network. + /// + public readonly string? NetworkPolicy; + /// + /// This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + /// + public readonly string? OutboundType; + /// + /// A CIDR notation IP range from which to assign pod IPs when kubenet is used. + /// + public readonly string? PodCidr; + /// + /// One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + /// + public readonly ImmutableArray PodCidrs; + /// + /// A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + /// + public readonly string? ServiceCidr; + /// + /// One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + /// + public readonly ImmutableArray ServiceCidrs; + + [OutputConstructor] + private ContainerServiceNetworkProfileResponse( + string? dnsServiceIP, + + ImmutableArray ipFamilies, + + Outputs.ManagedClusterLoadBalancerProfileResponse? loadBalancerProfile, + + string? loadBalancerSku, + + Outputs.ManagedClusterNATGatewayProfileResponse? natGatewayProfile, + + string? networkDataplane, + + string? networkMode, + + string? networkPlugin, + + string? networkPluginMode, + + string? networkPolicy, + + string? outboundType, + + string? podCidr, + + ImmutableArray podCidrs, + + string? serviceCidr, + + ImmutableArray serviceCidrs) + { + DnsServiceIP = dnsServiceIP; + IpFamilies = ipFamilies; + LoadBalancerProfile = loadBalancerProfile; + LoadBalancerSku = loadBalancerSku; + NatGatewayProfile = natGatewayProfile; + NetworkDataplane = networkDataplane; + NetworkMode = networkMode; + NetworkPlugin = networkPlugin; + NetworkPluginMode = networkPluginMode; + NetworkPolicy = networkPolicy; + OutboundType = outboundType; + PodCidr = podCidr; + PodCidrs = podCidrs; + ServiceCidr = serviceCidr; + ServiceCidrs = serviceCidrs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceSshConfigurationResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceSshConfigurationResponse.cs new file mode 100644 index 000000000000..e0f3ca1749fc --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceSshConfigurationResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// SSH configuration for Linux-based VMs running on Azure. + /// + [OutputType] + public sealed class ContainerServiceSshConfigurationResponse + { + /// + /// The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + /// + public readonly ImmutableArray PublicKeys; + + [OutputConstructor] + private ContainerServiceSshConfigurationResponse(ImmutableArray publicKeys) + { + PublicKeys = publicKeys; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceSshPublicKeyResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceSshPublicKeyResponse.cs new file mode 100644 index 000000000000..4fd30b41b88a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ContainerServiceSshPublicKeyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Contains information about SSH certificate public key data. + /// + [OutputType] + public sealed class ContainerServiceSshPublicKeyResponse + { + /// + /// Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + /// + public readonly string KeyData; + + [OutputConstructor] + private ContainerServiceSshPublicKeyResponse(string keyData) + { + KeyData = keyData; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/CreationDataResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/CreationDataResponse.cs new file mode 100644 index 000000000000..d27f2c00a203 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/CreationDataResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Data used when creating a target resource from a source resource. + /// + [OutputType] + public sealed class CreationDataResponse + { + /// + /// This is the ARM ID of the source object to be used to create the target object. + /// + public readonly string? SourceResourceId; + + [OutputConstructor] + private CreationDataResponse(string? sourceResourceId) + { + SourceResourceId = sourceResourceId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/CredentialResultResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/CredentialResultResponse.cs new file mode 100644 index 000000000000..47b75a683d15 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/CredentialResultResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// The credential result response. + /// + [OutputType] + public sealed class CredentialResultResponse + { + /// + /// The name of the credential. + /// + public readonly string Name; + /// + /// Base64-encoded Kubernetes configuration file. + /// + public readonly string Value; + + [OutputConstructor] + private CredentialResultResponse( + string name, + + string value) + { + Name = name; + Value = value; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/DailyScheduleResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/DailyScheduleResponse.cs new file mode 100644 index 000000000000..20b8afae08e7 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/DailyScheduleResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For schedules like: 'recur every day' or 'recur every 3 days'. + /// + [OutputType] + public sealed class DailyScheduleResponse + { + /// + /// Specifies the number of days between each set of occurrences. + /// + public readonly int IntervalDays; + + [OutputConstructor] + private DailyScheduleResponse(int intervalDays) + { + IntervalDays = intervalDays; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/DateSpanResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/DateSpanResponse.cs new file mode 100644 index 000000000000..3335e72fa631 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/DateSpanResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For example, between '2022-12-23' and '2023-01-05'. + /// + [OutputType] + public sealed class DateSpanResponse + { + /// + /// The end date of the date span. + /// + public readonly string End; + /// + /// The start date of the date span. + /// + public readonly string Start; + + [OutputConstructor] + private DateSpanResponse( + string end, + + string start) + { + End = end; + Start = start; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/DelegatedResourceResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/DelegatedResourceResponse.cs new file mode 100644 index 000000000000..09db2ffe3061 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/DelegatedResourceResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Delegated resource properties - internal use only. + /// + [OutputType] + public sealed class DelegatedResourceResponse + { + /// + /// The source resource location - internal use only. + /// + public readonly string? Location; + /// + /// The delegation id of the referral delegation (optional) - internal use only. + /// + public readonly string? ReferralResource; + /// + /// The ARM resource id of the delegated resource - internal use only. + /// + public readonly string? ResourceId; + /// + /// The tenant id of the delegated resource - internal use only. + /// + public readonly string? TenantId; + + [OutputConstructor] + private DelegatedResourceResponse( + string? location, + + string? referralResource, + + string? resourceId, + + string? tenantId) + { + Location = location; + ReferralResource = referralResource; + ResourceId = resourceId; + TenantId = tenantId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ExtendedLocationResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ExtendedLocationResponse.cs new file mode 100644 index 000000000000..7f7240e3b236 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ExtendedLocationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// The complex type of the extended location. + /// + [OutputType] + public sealed class ExtendedLocationResponse + { + /// + /// The name of the extended location. + /// + public readonly string? Name; + /// + /// The type of the extended location. + /// + public readonly string? Type; + + [OutputConstructor] + private ExtendedLocationResponse( + string? name, + + string? type) + { + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/IstioCertificateAuthorityResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioCertificateAuthorityResponse.cs new file mode 100644 index 000000000000..fc2306854d3c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioCertificateAuthorityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + /// + [OutputType] + public sealed class IstioCertificateAuthorityResponse + { + /// + /// Plugin certificates information for Service Mesh. + /// + public readonly Outputs.IstioPluginCertificateAuthorityResponse? Plugin; + + [OutputConstructor] + private IstioCertificateAuthorityResponse(Outputs.IstioPluginCertificateAuthorityResponse? plugin) + { + Plugin = plugin; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/IstioComponentsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioComponentsResponse.cs new file mode 100644 index 000000000000..fdcd22115ac1 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioComponentsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Istio components configuration. + /// + [OutputType] + public sealed class IstioComponentsResponse + { + /// + /// Istio egress gateways. + /// + public readonly ImmutableArray EgressGateways; + /// + /// Istio ingress gateways. + /// + public readonly ImmutableArray IngressGateways; + + [OutputConstructor] + private IstioComponentsResponse( + ImmutableArray egressGateways, + + ImmutableArray ingressGateways) + { + EgressGateways = egressGateways; + IngressGateways = ingressGateways; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/IstioEgressGatewayResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioEgressGatewayResponse.cs new file mode 100644 index 000000000000..c5e746960f5f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioEgressGatewayResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Istio egress gateway configuration. + /// + [OutputType] + public sealed class IstioEgressGatewayResponse + { + /// + /// Whether to enable the egress gateway. + /// + public readonly bool Enabled; + /// + /// NodeSelector for scheduling the egress gateway. + /// + public readonly ImmutableDictionary? NodeSelector; + + [OutputConstructor] + private IstioEgressGatewayResponse( + bool enabled, + + ImmutableDictionary? nodeSelector) + { + Enabled = enabled; + NodeSelector = nodeSelector; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/IstioIngressGatewayResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioIngressGatewayResponse.cs new file mode 100644 index 000000000000..15b597f63bcd --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioIngressGatewayResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + /// + [OutputType] + public sealed class IstioIngressGatewayResponse + { + /// + /// Whether to enable the ingress gateway. + /// + public readonly bool Enabled; + /// + /// Mode of an ingress gateway. + /// + public readonly string Mode; + + [OutputConstructor] + private IstioIngressGatewayResponse( + bool enabled, + + string mode) + { + Enabled = enabled; + Mode = mode; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/IstioPluginCertificateAuthorityResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioPluginCertificateAuthorityResponse.cs new file mode 100644 index 000000000000..e859a78724bb --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioPluginCertificateAuthorityResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Plugin certificates information for Service Mesh. + /// + [OutputType] + public sealed class IstioPluginCertificateAuthorityResponse + { + /// + /// Certificate chain object name in Azure Key Vault. + /// + public readonly string? CertChainObjectName; + /// + /// Intermediate certificate object name in Azure Key Vault. + /// + public readonly string? CertObjectName; + /// + /// Intermediate certificate private key object name in Azure Key Vault. + /// + public readonly string? KeyObjectName; + /// + /// The resource ID of the Key Vault. + /// + public readonly string? KeyVaultId; + /// + /// Root certificate object name in Azure Key Vault. + /// + public readonly string? RootCertObjectName; + + [OutputConstructor] + private IstioPluginCertificateAuthorityResponse( + string? certChainObjectName, + + string? certObjectName, + + string? keyObjectName, + + string? keyVaultId, + + string? rootCertObjectName) + { + CertChainObjectName = certChainObjectName; + CertObjectName = certObjectName; + KeyObjectName = keyObjectName; + KeyVaultId = keyVaultId; + RootCertObjectName = rootCertObjectName; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/IstioServiceMeshResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioServiceMeshResponse.cs new file mode 100644 index 000000000000..26df77a73775 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/IstioServiceMeshResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Istio service mesh configuration. + /// + [OutputType] + public sealed class IstioServiceMeshResponse + { + /// + /// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + /// + public readonly Outputs.IstioCertificateAuthorityResponse? CertificateAuthority; + /// + /// Istio components configuration. + /// + public readonly Outputs.IstioComponentsResponse? Components; + /// + /// The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + /// + public readonly ImmutableArray Revisions; + + [OutputConstructor] + private IstioServiceMeshResponse( + Outputs.IstioCertificateAuthorityResponse? certificateAuthority, + + Outputs.IstioComponentsResponse? components, + + ImmutableArray revisions) + { + CertificateAuthority = certificateAuthority; + Components = components; + Revisions = revisions; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/KubeletConfigResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/KubeletConfigResponse.cs new file mode 100644 index 000000000000..7af334bd2fb3 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/KubeletConfigResponse.cs @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + /// + [OutputType] + public sealed class KubeletConfigResponse + { + /// + /// Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + /// + public readonly ImmutableArray AllowedUnsafeSysctls; + /// + /// The maximum number of container log files that can be present for a container. The number must be ≥ 2. + /// + public readonly int? ContainerLogMaxFiles; + /// + /// The maximum size (e.g. 10Mi) of container log file before it is rotated. + /// + public readonly int? ContainerLogMaxSizeMB; + /// + /// The default is true. + /// + public readonly bool? CpuCfsQuota; + /// + /// The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + /// + public readonly string? CpuCfsQuotaPeriod; + /// + /// The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + /// + public readonly string? CpuManagerPolicy; + /// + /// If set to true it will make the Kubelet fail to start if swap is enabled on the node. + /// + public readonly bool? FailSwapOn; + /// + /// To disable image garbage collection, set to 100. The default is 85% + /// + public readonly int? ImageGcHighThreshold; + /// + /// This cannot be set higher than imageGcHighThreshold. The default is 80% + /// + public readonly int? ImageGcLowThreshold; + /// + /// The maximum number of processes per pod. + /// + public readonly int? PodMaxPids; + /// + /// For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + /// + public readonly string? TopologyManagerPolicy; + + [OutputConstructor] + private KubeletConfigResponse( + ImmutableArray allowedUnsafeSysctls, + + int? containerLogMaxFiles, + + int? containerLogMaxSizeMB, + + bool? cpuCfsQuota, + + string? cpuCfsQuotaPeriod, + + string? cpuManagerPolicy, + + bool? failSwapOn, + + int? imageGcHighThreshold, + + int? imageGcLowThreshold, + + int? podMaxPids, + + string? topologyManagerPolicy) + { + AllowedUnsafeSysctls = allowedUnsafeSysctls; + ContainerLogMaxFiles = containerLogMaxFiles; + ContainerLogMaxSizeMB = containerLogMaxSizeMB; + CpuCfsQuota = cpuCfsQuota; + CpuCfsQuotaPeriod = cpuCfsQuotaPeriod; + CpuManagerPolicy = cpuManagerPolicy; + FailSwapOn = failSwapOn; + ImageGcHighThreshold = imageGcHighThreshold; + ImageGcLowThreshold = imageGcLowThreshold; + PodMaxPids = podMaxPids; + TopologyManagerPolicy = topologyManagerPolicy; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/LinuxOSConfigResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/LinuxOSConfigResponse.cs new file mode 100644 index 000000000000..5442411bfce2 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/LinuxOSConfigResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + /// + [OutputType] + public sealed class LinuxOSConfigResponse + { + /// + /// The size in MB of a swap file that will be created on each node. + /// + public readonly int? SwapFileSizeMB; + /// + /// Sysctl settings for Linux agent nodes. + /// + public readonly Outputs.SysctlConfigResponse? Sysctls; + /// + /// Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + /// + public readonly string? TransparentHugePageDefrag; + /// + /// Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + /// + public readonly string? TransparentHugePageEnabled; + + [OutputConstructor] + private LinuxOSConfigResponse( + int? swapFileSizeMB, + + Outputs.SysctlConfigResponse? sysctls, + + string? transparentHugePageDefrag, + + string? transparentHugePageEnabled) + { + SwapFileSizeMB = swapFileSizeMB; + Sysctls = sysctls; + TransparentHugePageDefrag = transparentHugePageDefrag; + TransparentHugePageEnabled = transparentHugePageEnabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/MaintenanceWindowResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/MaintenanceWindowResponse.cs new file mode 100644 index 000000000000..e9ec16e97c41 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/MaintenanceWindowResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. + /// + [OutputType] + public sealed class MaintenanceWindowResponse + { + /// + /// Length of maintenance window range from 4 to 24 hours. + /// + public readonly int DurationHours; + /// + /// Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + /// + public readonly ImmutableArray NotAllowedDates; + /// + /// Recurrence schedule for the maintenance window. + /// + public readonly Outputs.ScheduleResponse Schedule; + /// + /// The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + /// + public readonly string? StartDate; + /// + /// The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + /// + public readonly string StartTime; + /// + /// The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + /// + public readonly string? UtcOffset; + + [OutputConstructor] + private MaintenanceWindowResponse( + int durationHours, + + ImmutableArray notAllowedDates, + + Outputs.ScheduleResponse schedule, + + string? startDate, + + string startTime, + + string? utcOffset) + { + DurationHours = durationHours; + NotAllowedDates = notAllowedDates; + Schedule = schedule; + StartDate = startDate; + StartTime = startTime; + UtcOffset = utcOffset; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAADProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAADProfileResponse.cs new file mode 100644 index 000000000000..2d7407a33777 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAADProfileResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). + /// + [OutputType] + public sealed class ManagedClusterAADProfileResponse + { + /// + /// The list of AAD group object IDs that will have admin role of the cluster. + /// + public readonly ImmutableArray AdminGroupObjectIDs; + /// + /// (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + /// + public readonly string? ClientAppID; + /// + /// Whether to enable Azure RBAC for Kubernetes authorization. + /// + public readonly bool? EnableAzureRBAC; + /// + /// Whether to enable managed AAD. + /// + public readonly bool? Managed; + /// + /// (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + /// + public readonly string? ServerAppID; + /// + /// (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + /// + public readonly string? ServerAppSecret; + /// + /// The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + /// + public readonly string? TenantID; + + [OutputConstructor] + private ManagedClusterAADProfileResponse( + ImmutableArray adminGroupObjectIDs, + + string? clientAppID, + + bool? enableAzureRBAC, + + bool? managed, + + string? serverAppID, + + string? serverAppSecret, + + string? tenantID) + { + AdminGroupObjectIDs = adminGroupObjectIDs; + ClientAppID = clientAppID; + EnableAzureRBAC = enableAzureRBAC; + Managed = managed; + ServerAppID = serverAppID; + ServerAppSecret = serverAppSecret; + TenantID = tenantID; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAPIServerAccessProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAPIServerAccessProfileResponse.cs new file mode 100644 index 000000000000..56c7f8364b4f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAPIServerAccessProfileResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Access profile for managed cluster API server. + /// + [OutputType] + public sealed class ManagedClusterAPIServerAccessProfileResponse + { + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + /// + public readonly ImmutableArray AuthorizedIPRanges; + /// + /// Whether to disable run command for the cluster or not. + /// + public readonly bool? DisableRunCommand; + /// + /// For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + /// + public readonly bool? EnablePrivateCluster; + /// + /// Whether to create additional public FQDN for private cluster or not. + /// + public readonly bool? EnablePrivateClusterPublicFQDN; + /// + /// The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + /// + public readonly string? PrivateDNSZone; + + [OutputConstructor] + private ManagedClusterAPIServerAccessProfileResponse( + ImmutableArray authorizedIPRanges, + + bool? disableRunCommand, + + bool? enablePrivateCluster, + + bool? enablePrivateClusterPublicFQDN, + + string? privateDNSZone) + { + AuthorizedIPRanges = authorizedIPRanges; + DisableRunCommand = disableRunCommand; + EnablePrivateCluster = enablePrivateCluster; + EnablePrivateClusterPublicFQDN = enablePrivateClusterPublicFQDN; + PrivateDNSZone = privateDNSZone; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAddonProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAddonProfileResponse.cs new file mode 100644 index 000000000000..f823bb570011 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAddonProfileResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// A Kubernetes add-on profile for a managed cluster. + /// + [OutputType] + public sealed class ManagedClusterAddonProfileResponse + { + /// + /// Key-value pairs for configuring an add-on. + /// + public readonly ImmutableDictionary? Config; + /// + /// Whether the add-on is enabled or not. + /// + public readonly bool Enabled; + /// + /// Information of user assigned identity used by this add-on. + /// + public readonly Outputs.ManagedClusterAddonProfileResponseIdentity Identity; + + [OutputConstructor] + private ManagedClusterAddonProfileResponse( + ImmutableDictionary? config, + + bool enabled, + + Outputs.ManagedClusterAddonProfileResponseIdentity identity) + { + Config = config; + Enabled = enabled; + Identity = identity; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAddonProfileResponseIdentity.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAddonProfileResponseIdentity.cs new file mode 100644 index 000000000000..03503941a6fe --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAddonProfileResponseIdentity.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Information of user assigned identity used by this add-on. + /// + [OutputType] + public sealed class ManagedClusterAddonProfileResponseIdentity + { + /// + /// The client ID of the user assigned identity. + /// + public readonly string? ClientId; + /// + /// The object ID of the user assigned identity. + /// + public readonly string? ObjectId; + /// + /// The resource ID of the user assigned identity. + /// + public readonly string? ResourceId; + + [OutputConstructor] + private ManagedClusterAddonProfileResponseIdentity( + string? clientId, + + string? objectId, + + string? resourceId) + { + ClientId = clientId; + ObjectId = objectId; + ResourceId = resourceId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAgentPoolProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAgentPoolProfileResponse.cs new file mode 100644 index 000000000000..66b39c910e59 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAgentPoolProfileResponse.cs @@ -0,0 +1,318 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile for the container service agent pool. + /// + [OutputType] + public sealed class ManagedClusterAgentPoolProfileResponse + { + /// + /// The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + /// + public readonly ImmutableArray AvailabilityZones; + /// + /// Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + /// + public readonly int? Count; + /// + /// CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + /// + public readonly Outputs.CreationDataResponse? CreationData; + /// + /// If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used. + /// + public readonly string CurrentOrchestratorVersion; + /// + /// Whether to enable auto-scaler + /// + public readonly bool? EnableAutoScaling; + /// + /// This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + public readonly bool? EnableEncryptionAtHost; + /// + /// See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + /// + public readonly bool? EnableFIPS; + /// + /// Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + /// + public readonly bool? EnableNodePublicIP; + /// + /// Whether to enable UltraSSD + /// + public readonly bool? EnableUltraSSD; + /// + /// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + /// + public readonly string? GpuInstanceProfile; + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + /// + public readonly string? HostGroupID; + /// + /// The Kubelet configuration on the agent pool nodes. + /// + public readonly Outputs.KubeletConfigResponse? KubeletConfig; + /// + /// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + /// + public readonly string? KubeletDiskType; + /// + /// The OS configuration of Linux agent nodes. + /// + public readonly Outputs.LinuxOSConfigResponse? LinuxOSConfig; + /// + /// The maximum number of nodes for auto-scaling + /// + public readonly int? MaxCount; + /// + /// The maximum number of pods that can run on a node. + /// + public readonly int? MaxPods; + /// + /// The minimum number of nodes for auto-scaling + /// + public readonly int? MinCount; + /// + /// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + /// + public readonly string? Mode; + /// + /// Windows agent pool names must be 6 characters or less. + /// + public readonly string Name; + /// + /// The version of node image + /// + public readonly string NodeImageVersion; + /// + /// The node labels to be persisted across all nodes in agent pool. + /// + public readonly ImmutableDictionary? NodeLabels; + /// + /// This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + public readonly string? NodePublicIPPrefixID; + /// + /// The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + /// + public readonly ImmutableArray NodeTaints; + /// + /// Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// + public readonly string? OrchestratorVersion; + /// + /// OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + /// + public readonly int? OsDiskSizeGB; + /// + /// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + /// + public readonly string? OsDiskType; + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + public readonly string? OsSKU; + /// + /// The operating system type. The default is Linux. + /// + public readonly string? OsType; + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + public readonly string? PodSubnetID; + /// + /// When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + /// + public readonly Outputs.PowerStateResponse? PowerState; + /// + /// The current deployment or provisioning state. + /// + public readonly string ProvisioningState; + /// + /// The ID for Proximity Placement Group. + /// + public readonly string? ProximityPlacementGroupID; + /// + /// This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + /// + public readonly string? ScaleDownMode; + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + /// + public readonly string? ScaleSetEvictionPolicy; + /// + /// The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + /// + public readonly string? ScaleSetPriority; + /// + /// Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// + public readonly double? SpotMaxPrice; + /// + /// The tags to be persisted on the agent pool virtual machine scale set. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Agent Pool. + /// + public readonly string? Type; + /// + /// Settings for upgrading the agentpool + /// + public readonly Outputs.AgentPoolUpgradeSettingsResponse? UpgradeSettings; + /// + /// VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// + public readonly string? VmSize; + /// + /// If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + public readonly string? VnetSubnetID; + /// + /// Determines the type of workload a node can run. + /// + public readonly string? WorkloadRuntime; + + [OutputConstructor] + private ManagedClusterAgentPoolProfileResponse( + ImmutableArray availabilityZones, + + int? count, + + Outputs.CreationDataResponse? creationData, + + string currentOrchestratorVersion, + + bool? enableAutoScaling, + + bool? enableEncryptionAtHost, + + bool? enableFIPS, + + bool? enableNodePublicIP, + + bool? enableUltraSSD, + + string? gpuInstanceProfile, + + string? hostGroupID, + + Outputs.KubeletConfigResponse? kubeletConfig, + + string? kubeletDiskType, + + Outputs.LinuxOSConfigResponse? linuxOSConfig, + + int? maxCount, + + int? maxPods, + + int? minCount, + + string? mode, + + string name, + + string nodeImageVersion, + + ImmutableDictionary? nodeLabels, + + string? nodePublicIPPrefixID, + + ImmutableArray nodeTaints, + + string? orchestratorVersion, + + int? osDiskSizeGB, + + string? osDiskType, + + string? osSKU, + + string? osType, + + string? podSubnetID, + + Outputs.PowerStateResponse? powerState, + + string provisioningState, + + string? proximityPlacementGroupID, + + string? scaleDownMode, + + string? scaleSetEvictionPolicy, + + string? scaleSetPriority, + + double? spotMaxPrice, + + ImmutableDictionary? tags, + + string? type, + + Outputs.AgentPoolUpgradeSettingsResponse? upgradeSettings, + + string? vmSize, + + string? vnetSubnetID, + + string? workloadRuntime) + { + AvailabilityZones = availabilityZones; + Count = count; + CreationData = creationData; + CurrentOrchestratorVersion = currentOrchestratorVersion; + EnableAutoScaling = enableAutoScaling; + EnableEncryptionAtHost = enableEncryptionAtHost; + EnableFIPS = enableFIPS; + EnableNodePublicIP = enableNodePublicIP; + EnableUltraSSD = enableUltraSSD; + GpuInstanceProfile = gpuInstanceProfile; + HostGroupID = hostGroupID; + KubeletConfig = kubeletConfig; + KubeletDiskType = kubeletDiskType; + LinuxOSConfig = linuxOSConfig; + MaxCount = maxCount; + MaxPods = maxPods; + MinCount = minCount; + Mode = mode; + Name = name; + NodeImageVersion = nodeImageVersion; + NodeLabels = nodeLabels; + NodePublicIPPrefixID = nodePublicIPPrefixID; + NodeTaints = nodeTaints; + OrchestratorVersion = orchestratorVersion; + OsDiskSizeGB = osDiskSizeGB; + OsDiskType = osDiskType; + OsSKU = osSKU; + OsType = osType; + PodSubnetID = podSubnetID; + PowerState = powerState; + ProvisioningState = provisioningState; + ProximityPlacementGroupID = proximityPlacementGroupID; + ScaleDownMode = scaleDownMode; + ScaleSetEvictionPolicy = scaleSetEvictionPolicy; + ScaleSetPriority = scaleSetPriority; + SpotMaxPrice = spotMaxPrice; + Tags = tags; + Type = type; + UpgradeSettings = upgradeSettings; + VmSize = vmSize; + VnetSubnetID = vnetSubnetID; + WorkloadRuntime = workloadRuntime; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAutoUpgradeProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAutoUpgradeProfileResponse.cs new file mode 100644 index 000000000000..815fe87e942f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAutoUpgradeProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Auto upgrade profile for a managed cluster. + /// + [OutputType] + public sealed class ManagedClusterAutoUpgradeProfileResponse + { + /// + /// Manner in which the OS on your nodes is updated. The default is NodeImage. + /// + public readonly string? NodeOSUpgradeChannel; + /// + /// For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + /// + public readonly string? UpgradeChannel; + + [OutputConstructor] + private ManagedClusterAutoUpgradeProfileResponse( + string? nodeOSUpgradeChannel, + + string? upgradeChannel) + { + NodeOSUpgradeChannel = nodeOSUpgradeChannel; + UpgradeChannel = upgradeChannel; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileKubeStateMetricsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileKubeStateMetricsResponse.cs new file mode 100644 index 000000000000..27e315134c30 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileKubeStateMetricsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + /// + [OutputType] + public sealed class ManagedClusterAzureMonitorProfileKubeStateMetricsResponse + { + /// + /// Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + /// + public readonly string? MetricAnnotationsAllowList; + /// + /// Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + /// + public readonly string? MetricLabelsAllowlist; + + [OutputConstructor] + private ManagedClusterAzureMonitorProfileKubeStateMetricsResponse( + string? metricAnnotationsAllowList, + + string? metricLabelsAllowlist) + { + MetricAnnotationsAllowList = metricAnnotationsAllowList; + MetricLabelsAllowlist = metricLabelsAllowlist; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileMetricsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileMetricsResponse.cs new file mode 100644 index 000000000000..bd023fe2c908 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileMetricsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + /// + [OutputType] + public sealed class ManagedClusterAzureMonitorProfileMetricsResponse + { + /// + /// Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + /// + public readonly bool Enabled; + /// + /// Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + /// + public readonly Outputs.ManagedClusterAzureMonitorProfileKubeStateMetricsResponse? KubeStateMetrics; + + [OutputConstructor] + private ManagedClusterAzureMonitorProfileMetricsResponse( + bool enabled, + + Outputs.ManagedClusterAzureMonitorProfileKubeStateMetricsResponse? kubeStateMetrics) + { + Enabled = enabled; + KubeStateMetrics = kubeStateMetrics; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileResponse.cs new file mode 100644 index 000000000000..0b36b52a0dcb --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterAzureMonitorProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Azure Monitor addon profiles for monitoring the managed cluster. + /// + [OutputType] + public sealed class ManagedClusterAzureMonitorProfileResponse + { + /// + /// Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + /// + public readonly Outputs.ManagedClusterAzureMonitorProfileMetricsResponse? Metrics; + + [OutputConstructor] + private ManagedClusterAzureMonitorProfileResponse(Outputs.ManagedClusterAzureMonitorProfileMetricsResponse? metrics) + { + Metrics = metrics; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterHTTPProxyConfigResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterHTTPProxyConfigResponse.cs new file mode 100644 index 000000000000..df031c035636 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterHTTPProxyConfigResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Cluster HTTP proxy configuration. + /// + [OutputType] + public sealed class ManagedClusterHTTPProxyConfigResponse + { + /// + /// The HTTP proxy server endpoint to use. + /// + public readonly string? HttpProxy; + /// + /// The HTTPS proxy server endpoint to use. + /// + public readonly string? HttpsProxy; + /// + /// The endpoints that should not go through proxy. + /// + public readonly ImmutableArray NoProxy; + /// + /// Alternative CA cert to use for connecting to proxy servers. + /// + public readonly string? TrustedCa; + + [OutputConstructor] + private ManagedClusterHTTPProxyConfigResponse( + string? httpProxy, + + string? httpsProxy, + + ImmutableArray noProxy, + + string? trustedCa) + { + HttpProxy = httpProxy; + HttpsProxy = httpsProxy; + NoProxy = noProxy; + TrustedCa = trustedCa; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterIdentityResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterIdentityResponse.cs new file mode 100644 index 000000000000..33c218eb0a2a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterIdentityResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Identity for the managed cluster. + /// + [OutputType] + public sealed class ManagedClusterIdentityResponse + { + /// + /// The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + /// + public readonly ImmutableDictionary? DelegatedResources; + /// + /// The principal id of the system assigned identity which is used by master components. + /// + public readonly string PrincipalId; + /// + /// The tenant id of the system assigned identity which is used by master components. + /// + public readonly string TenantId; + /// + /// For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + /// + public readonly string? Type; + /// + /// The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedClusterIdentityResponse( + ImmutableDictionary? delegatedResources, + + string principalId, + + string tenantId, + + string? type, + + ImmutableDictionary? userAssignedIdentities) + { + DelegatedResources = delegatedResources; + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterIdentityResponseUserAssignedIdentities.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterIdentityResponseUserAssignedIdentities.cs new file mode 100644 index 000000000000..b276ecc955e6 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterIdentityResponseUserAssignedIdentities.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + [OutputType] + public sealed class ManagedClusterIdentityResponseUserAssignedIdentities + { + /// + /// The client id of user assigned identity. + /// + public readonly string ClientId; + /// + /// The principal id of user assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private ManagedClusterIdentityResponseUserAssignedIdentities( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponse.cs new file mode 100644 index 000000000000..7e3fdf5e284a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile of the managed cluster load balancer. + /// + [OutputType] + public sealed class ManagedClusterLoadBalancerProfileResponse + { + /// + /// The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. + /// + public readonly int? AllocatedOutboundPorts; + /// + /// The effective outbound IP resources of the cluster load balancer. + /// + public readonly ImmutableArray EffectiveOutboundIPs; + /// + /// Enable multiple standard load balancers per AKS cluster or not. + /// + public readonly bool? EnableMultipleStandardLoadBalancers; + /// + /// Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + /// + public readonly int? IdleTimeoutInMinutes; + /// + /// Desired managed outbound IPs for the cluster load balancer. + /// + public readonly Outputs.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs? ManagedOutboundIPs; + /// + /// Desired outbound IP Prefix resources for the cluster load balancer. + /// + public readonly Outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes? OutboundIPPrefixes; + /// + /// Desired outbound IP resources for the cluster load balancer. + /// + public readonly Outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPs? OutboundIPs; + + [OutputConstructor] + private ManagedClusterLoadBalancerProfileResponse( + int? allocatedOutboundPorts, + + ImmutableArray effectiveOutboundIPs, + + bool? enableMultipleStandardLoadBalancers, + + int? idleTimeoutInMinutes, + + Outputs.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs? managedOutboundIPs, + + Outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes? outboundIPPrefixes, + + Outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPs? outboundIPs) + { + AllocatedOutboundPorts = allocatedOutboundPorts; + EffectiveOutboundIPs = effectiveOutboundIPs; + EnableMultipleStandardLoadBalancers = enableMultipleStandardLoadBalancers; + IdleTimeoutInMinutes = idleTimeoutInMinutes; + ManagedOutboundIPs = managedOutboundIPs; + OutboundIPPrefixes = outboundIPPrefixes; + OutboundIPs = outboundIPs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs.cs new file mode 100644 index 000000000000..f0da1b7473f8 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Desired managed outbound IPs for the cluster load balancer. + /// + [OutputType] + public sealed class ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs + { + /// + /// The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + /// + public readonly int? Count; + /// + /// The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + /// + public readonly int? CountIPv6; + + [OutputConstructor] + private ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs( + int? count, + + int? countIPv6) + { + Count = count; + CountIPv6 = countIPv6; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes.cs new file mode 100644 index 000000000000..7c0f97c4106d --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Desired outbound IP Prefix resources for the cluster load balancer. + /// + [OutputType] + public sealed class ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes + { + /// + /// A list of public IP prefix resources. + /// + public readonly ImmutableArray PublicIPPrefixes; + + [OutputConstructor] + private ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes(ImmutableArray publicIPPrefixes) + { + PublicIPPrefixes = publicIPPrefixes; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseOutboundIPs.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseOutboundIPs.cs new file mode 100644 index 000000000000..5698396a92bd --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterLoadBalancerProfileResponseOutboundIPs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Desired outbound IP resources for the cluster load balancer. + /// + [OutputType] + public sealed class ManagedClusterLoadBalancerProfileResponseOutboundIPs + { + /// + /// A list of public IP resources. + /// + public readonly ImmutableArray PublicIPs; + + [OutputConstructor] + private ManagedClusterLoadBalancerProfileResponseOutboundIPs(ImmutableArray publicIPs) + { + PublicIPs = publicIPs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterManagedOutboundIPProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterManagedOutboundIPProfileResponse.cs new file mode 100644 index 000000000000..a257bed8b008 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterManagedOutboundIPProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile of the managed outbound IP resources of the managed cluster. + /// + [OutputType] + public sealed class ManagedClusterManagedOutboundIPProfileResponse + { + /// + /// The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + /// + public readonly int? Count; + + [OutputConstructor] + private ManagedClusterManagedOutboundIPProfileResponse(int? count) + { + Count = count; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterNATGatewayProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterNATGatewayProfileResponse.cs new file mode 100644 index 000000000000..df83293eae87 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterNATGatewayProfileResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile of the managed cluster NAT gateway. + /// + [OutputType] + public sealed class ManagedClusterNATGatewayProfileResponse + { + /// + /// The effective outbound IP resources of the cluster NAT gateway. + /// + public readonly ImmutableArray EffectiveOutboundIPs; + /// + /// Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + /// + public readonly int? IdleTimeoutInMinutes; + /// + /// Profile of the managed outbound IP resources of the cluster NAT gateway. + /// + public readonly Outputs.ManagedClusterManagedOutboundIPProfileResponse? ManagedOutboundIPProfile; + + [OutputConstructor] + private ManagedClusterNATGatewayProfileResponse( + ImmutableArray effectiveOutboundIPs, + + int? idleTimeoutInMinutes, + + Outputs.ManagedClusterManagedOutboundIPProfileResponse? managedOutboundIPProfile) + { + EffectiveOutboundIPs = effectiveOutboundIPs; + IdleTimeoutInMinutes = idleTimeoutInMinutes; + ManagedOutboundIPProfile = managedOutboundIPProfile; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterOIDCIssuerProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterOIDCIssuerProfileResponse.cs new file mode 100644 index 000000000000..175b22f48950 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterOIDCIssuerProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// The OIDC issuer profile of the Managed Cluster. + /// + [OutputType] + public sealed class ManagedClusterOIDCIssuerProfileResponse + { + /// + /// Whether the OIDC issuer is enabled. + /// + public readonly bool? Enabled; + /// + /// The OIDC issuer url of the Managed Cluster. + /// + public readonly string IssuerURL; + + [OutputConstructor] + private ManagedClusterOIDCIssuerProfileResponse( + bool? enabled, + + string issuerURL) + { + Enabled = enabled; + IssuerURL = issuerURL; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityExceptionResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityExceptionResponse.cs new file mode 100644 index 000000000000..f821cbeaf79c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityExceptionResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. + /// + [OutputType] + public sealed class ManagedClusterPodIdentityExceptionResponse + { + /// + /// The name of the pod identity exception. + /// + public readonly string Name; + /// + /// The namespace of the pod identity exception. + /// + public readonly string Namespace; + /// + /// The pod labels to match. + /// + public readonly ImmutableDictionary PodLabels; + + [OutputConstructor] + private ManagedClusterPodIdentityExceptionResponse( + string name, + + string @namespace, + + ImmutableDictionary podLabels) + { + Name = name; + Namespace = @namespace; + PodLabels = podLabels; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProfileResponse.cs new file mode 100644 index 000000000000..e1de6f6783cc --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProfileResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. + /// + [OutputType] + public sealed class ManagedClusterPodIdentityProfileResponse + { + /// + /// Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + /// + public readonly bool? AllowNetworkPluginKubenet; + /// + /// Whether the pod identity addon is enabled. + /// + public readonly bool? Enabled; + /// + /// The pod identities to use in the cluster. + /// + public readonly ImmutableArray UserAssignedIdentities; + /// + /// The pod identity exceptions to allow. + /// + public readonly ImmutableArray UserAssignedIdentityExceptions; + + [OutputConstructor] + private ManagedClusterPodIdentityProfileResponse( + bool? allowNetworkPluginKubenet, + + bool? enabled, + + ImmutableArray userAssignedIdentities, + + ImmutableArray userAssignedIdentityExceptions) + { + AllowNetworkPluginKubenet = allowNetworkPluginKubenet; + Enabled = enabled; + UserAssignedIdentities = userAssignedIdentities; + UserAssignedIdentityExceptions = userAssignedIdentityExceptions; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProvisioningErrorBodyResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProvisioningErrorBodyResponse.cs new file mode 100644 index 000000000000..1f5eba148c30 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProvisioningErrorBodyResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// An error response from the pod identity provisioning. + /// + [OutputType] + public sealed class ManagedClusterPodIdentityProvisioningErrorBodyResponse + { + /// + /// An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + /// + public readonly string? Code; + /// + /// A list of additional details about the error. + /// + public readonly ImmutableArray Details; + /// + /// A message describing the error, intended to be suitable for display in a user interface. + /// + public readonly string? Message; + /// + /// The target of the particular error. For example, the name of the property in error. + /// + public readonly string? Target; + + [OutputConstructor] + private ManagedClusterPodIdentityProvisioningErrorBodyResponse( + string? code, + + ImmutableArray details, + + string? message, + + string? target) + { + Code = code; + Details = details; + Message = message; + Target = target; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProvisioningErrorResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProvisioningErrorResponse.cs new file mode 100644 index 000000000000..8309b31ded8a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityProvisioningErrorResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// An error response from the pod identity provisioning. + /// + [OutputType] + public sealed class ManagedClusterPodIdentityProvisioningErrorResponse + { + /// + /// Details about the error. + /// + public readonly Outputs.ManagedClusterPodIdentityProvisioningErrorBodyResponse? Error; + + [OutputConstructor] + private ManagedClusterPodIdentityProvisioningErrorResponse(Outputs.ManagedClusterPodIdentityProvisioningErrorBodyResponse? error) + { + Error = error; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityResponse.cs new file mode 100644 index 000000000000..bf53b4747ca2 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Details about the pod identity assigned to the Managed Cluster. + /// + [OutputType] + public sealed class ManagedClusterPodIdentityResponse + { + /// + /// The binding selector to use for the AzureIdentityBinding resource. + /// + public readonly string? BindingSelector; + /// + /// The user assigned identity details. + /// + public readonly Outputs.UserAssignedIdentityResponse Identity; + /// + /// The name of the pod identity. + /// + public readonly string Name; + /// + /// The namespace of the pod identity. + /// + public readonly string Namespace; + public readonly Outputs.ManagedClusterPodIdentityResponseProvisioningInfo ProvisioningInfo; + /// + /// The current provisioning state of the pod identity. + /// + public readonly string ProvisioningState; + + [OutputConstructor] + private ManagedClusterPodIdentityResponse( + string? bindingSelector, + + Outputs.UserAssignedIdentityResponse identity, + + string name, + + string @namespace, + + Outputs.ManagedClusterPodIdentityResponseProvisioningInfo provisioningInfo, + + string provisioningState) + { + BindingSelector = bindingSelector; + Identity = identity; + Name = name; + Namespace = @namespace; + ProvisioningInfo = provisioningInfo; + ProvisioningState = provisioningState; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityResponseProvisioningInfo.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityResponseProvisioningInfo.cs new file mode 100644 index 000000000000..3c8418e0ff26 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPodIdentityResponseProvisioningInfo.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + [OutputType] + public sealed class ManagedClusterPodIdentityResponseProvisioningInfo + { + /// + /// Pod identity assignment error (if any). + /// + public readonly Outputs.ManagedClusterPodIdentityProvisioningErrorResponse? Error; + + [OutputConstructor] + private ManagedClusterPodIdentityResponseProvisioningInfo(Outputs.ManagedClusterPodIdentityProvisioningErrorResponse? error) + { + Error = error; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPropertiesResponseAutoScalerProfile.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPropertiesResponseAutoScalerProfile.cs new file mode 100644 index 000000000000..751857a8d287 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterPropertiesResponseAutoScalerProfile.cs @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Parameters to be applied to the cluster-autoscaler when enabled + /// + [OutputType] + public sealed class ManagedClusterPropertiesResponseAutoScalerProfile + { + /// + /// Valid values are 'true' and 'false' + /// + public readonly string? BalanceSimilarNodeGroups; + /// + /// If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + /// + public readonly string? Expander; + /// + /// The default is 10. + /// + public readonly string? MaxEmptyBulkDelete; + /// + /// The default is 600. + /// + public readonly string? MaxGracefulTerminationSec; + /// + /// The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + public readonly string? MaxNodeProvisionTime; + /// + /// The default is 45. The maximum is 100 and the minimum is 0. + /// + public readonly string? MaxTotalUnreadyPercentage; + /// + /// For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + /// + public readonly string? NewPodScaleUpDelay; + /// + /// This must be an integer. The default is 3. + /// + public readonly string? OkTotalUnreadyCount; + /// + /// The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + public readonly string? ScaleDownDelayAfterAdd; + /// + /// The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + public readonly string? ScaleDownDelayAfterDelete; + /// + /// The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + public readonly string? ScaleDownDelayAfterFailure; + /// + /// The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + public readonly string? ScaleDownUnneededTime; + /// + /// The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + /// + public readonly string? ScaleDownUnreadyTime; + /// + /// The default is '0.5'. + /// + public readonly string? ScaleDownUtilizationThreshold; + /// + /// The default is '10'. Values must be an integer number of seconds. + /// + public readonly string? ScanInterval; + /// + /// The default is true. + /// + public readonly string? SkipNodesWithLocalStorage; + /// + /// The default is true. + /// + public readonly string? SkipNodesWithSystemPods; + + [OutputConstructor] + private ManagedClusterPropertiesResponseAutoScalerProfile( + string? balanceSimilarNodeGroups, + + string? expander, + + string? maxEmptyBulkDelete, + + string? maxGracefulTerminationSec, + + string? maxNodeProvisionTime, + + string? maxTotalUnreadyPercentage, + + string? newPodScaleUpDelay, + + string? okTotalUnreadyCount, + + string? scaleDownDelayAfterAdd, + + string? scaleDownDelayAfterDelete, + + string? scaleDownDelayAfterFailure, + + string? scaleDownUnneededTime, + + string? scaleDownUnreadyTime, + + string? scaleDownUtilizationThreshold, + + string? scanInterval, + + string? skipNodesWithLocalStorage, + + string? skipNodesWithSystemPods) + { + BalanceSimilarNodeGroups = balanceSimilarNodeGroups; + Expander = expander; + MaxEmptyBulkDelete = maxEmptyBulkDelete; + MaxGracefulTerminationSec = maxGracefulTerminationSec; + MaxNodeProvisionTime = maxNodeProvisionTime; + MaxTotalUnreadyPercentage = maxTotalUnreadyPercentage; + NewPodScaleUpDelay = newPodScaleUpDelay; + OkTotalUnreadyCount = okTotalUnreadyCount; + ScaleDownDelayAfterAdd = scaleDownDelayAfterAdd; + ScaleDownDelayAfterDelete = scaleDownDelayAfterDelete; + ScaleDownDelayAfterFailure = scaleDownDelayAfterFailure; + ScaleDownUnneededTime = scaleDownUnneededTime; + ScaleDownUnreadyTime = scaleDownUnreadyTime; + ScaleDownUtilizationThreshold = scaleDownUtilizationThreshold; + ScanInterval = scanInterval; + SkipNodesWithLocalStorage = skipNodesWithLocalStorage; + SkipNodesWithSystemPods = skipNodesWithSystemPods; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSKUResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSKUResponse.cs new file mode 100644 index 000000000000..442e1e1d8712 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSKUResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// The SKU of a Managed Cluster. + /// + [OutputType] + public sealed class ManagedClusterSKUResponse + { + /// + /// The name of a managed cluster SKU. + /// + public readonly string? Name; + /// + /// If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + /// + public readonly string? Tier; + + [OutputConstructor] + private ManagedClusterSKUResponse( + string? name, + + string? tier) + { + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileDefenderResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileDefenderResponse.cs new file mode 100644 index 000000000000..6457802e3711 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileDefenderResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Microsoft Defender settings for the security profile. + /// + [OutputType] + public sealed class ManagedClusterSecurityProfileDefenderResponse + { + /// + /// Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + /// + public readonly string? LogAnalyticsWorkspaceResourceId; + /// + /// Microsoft Defender threat detection for Cloud settings for the security profile. + /// + public readonly Outputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse? SecurityMonitoring; + + [OutputConstructor] + private ManagedClusterSecurityProfileDefenderResponse( + string? logAnalyticsWorkspaceResourceId, + + Outputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse? securityMonitoring) + { + LogAnalyticsWorkspaceResourceId = logAnalyticsWorkspaceResourceId; + SecurityMonitoring = securityMonitoring; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse.cs new file mode 100644 index 000000000000..c526b0f65a94 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Microsoft Defender settings for the security profile threat detection. + /// + [OutputType] + public sealed class ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse + { + /// + /// Whether to enable Defender threat detection + /// + public readonly bool? Enabled; + + [OutputConstructor] + private ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileImageCleanerResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileImageCleanerResponse.cs new file mode 100644 index 000000000000..cd7f07a9d05f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileImageCleanerResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. + /// + [OutputType] + public sealed class ManagedClusterSecurityProfileImageCleanerResponse + { + /// + /// Whether to enable Image Cleaner on AKS cluster. + /// + public readonly bool? Enabled; + /// + /// Image Cleaner scanning interval in hours. + /// + public readonly int? IntervalHours; + + [OutputConstructor] + private ManagedClusterSecurityProfileImageCleanerResponse( + bool? enabled, + + int? intervalHours) + { + Enabled = enabled; + IntervalHours = intervalHours; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileResponse.cs new file mode 100644 index 000000000000..040e864effe7 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Security profile for the container service cluster. + /// + [OutputType] + public sealed class ManagedClusterSecurityProfileResponse + { + /// + /// Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + /// + public readonly Outputs.AzureKeyVaultKmsResponse? AzureKeyVaultKms; + /// + /// Microsoft Defender settings for the security profile. + /// + public readonly Outputs.ManagedClusterSecurityProfileDefenderResponse? Defender; + /// + /// Image Cleaner settings for the security profile. + /// + public readonly Outputs.ManagedClusterSecurityProfileImageCleanerResponse? ImageCleaner; + /// + /// Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + /// + public readonly Outputs.ManagedClusterSecurityProfileWorkloadIdentityResponse? WorkloadIdentity; + + [OutputConstructor] + private ManagedClusterSecurityProfileResponse( + Outputs.AzureKeyVaultKmsResponse? azureKeyVaultKms, + + Outputs.ManagedClusterSecurityProfileDefenderResponse? defender, + + Outputs.ManagedClusterSecurityProfileImageCleanerResponse? imageCleaner, + + Outputs.ManagedClusterSecurityProfileWorkloadIdentityResponse? workloadIdentity) + { + AzureKeyVaultKms = azureKeyVaultKms; + Defender = defender; + ImageCleaner = imageCleaner; + WorkloadIdentity = workloadIdentity; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileWorkloadIdentityResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileWorkloadIdentityResponse.cs new file mode 100644 index 000000000000..8858acea6c30 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterSecurityProfileWorkloadIdentityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Workload identity settings for the security profile. + /// + [OutputType] + public sealed class ManagedClusterSecurityProfileWorkloadIdentityResponse + { + /// + /// Whether to enable workload identity. + /// + public readonly bool? Enabled; + + [OutputConstructor] + private ManagedClusterSecurityProfileWorkloadIdentityResponse(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterServicePrincipalProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterServicePrincipalProfileResponse.cs new file mode 100644 index 000000000000..d5d927278b67 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterServicePrincipalProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Information about a service principal identity for the cluster to use for manipulating Azure APIs. + /// + [OutputType] + public sealed class ManagedClusterServicePrincipalProfileResponse + { + /// + /// The ID for the service principal. + /// + public readonly string ClientId; + /// + /// The secret password associated with the service principal in plain text. + /// + public readonly string? Secret; + + [OutputConstructor] + private ManagedClusterServicePrincipalProfileResponse( + string clientId, + + string? secret) + { + ClientId = clientId; + Secret = secret; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileBlobCSIDriverResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileBlobCSIDriverResponse.cs new file mode 100644 index 000000000000..a5223fd523bf --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileBlobCSIDriverResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// AzureBlob CSI Driver settings for the storage profile. + /// + [OutputType] + public sealed class ManagedClusterStorageProfileBlobCSIDriverResponse + { + /// + /// Whether to enable AzureBlob CSI Driver. The default value is false. + /// + public readonly bool? Enabled; + + [OutputConstructor] + private ManagedClusterStorageProfileBlobCSIDriverResponse(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileDiskCSIDriverResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileDiskCSIDriverResponse.cs new file mode 100644 index 000000000000..6a4224164c47 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileDiskCSIDriverResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// AzureDisk CSI Driver settings for the storage profile. + /// + [OutputType] + public sealed class ManagedClusterStorageProfileDiskCSIDriverResponse + { + /// + /// Whether to enable AzureDisk CSI Driver. The default value is true. + /// + public readonly bool? Enabled; + + [OutputConstructor] + private ManagedClusterStorageProfileDiskCSIDriverResponse(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileFileCSIDriverResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileFileCSIDriverResponse.cs new file mode 100644 index 000000000000..716d2be7ca28 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileFileCSIDriverResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// AzureFile CSI Driver settings for the storage profile. + /// + [OutputType] + public sealed class ManagedClusterStorageProfileFileCSIDriverResponse + { + /// + /// Whether to enable AzureFile CSI Driver. The default value is true. + /// + public readonly bool? Enabled; + + [OutputConstructor] + private ManagedClusterStorageProfileFileCSIDriverResponse(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileResponse.cs new file mode 100644 index 000000000000..2825cb385a4b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Storage profile for the container service cluster. + /// + [OutputType] + public sealed class ManagedClusterStorageProfileResponse + { + /// + /// AzureBlob CSI Driver settings for the storage profile. + /// + public readonly Outputs.ManagedClusterStorageProfileBlobCSIDriverResponse? BlobCSIDriver; + /// + /// AzureDisk CSI Driver settings for the storage profile. + /// + public readonly Outputs.ManagedClusterStorageProfileDiskCSIDriverResponse? DiskCSIDriver; + /// + /// AzureFile CSI Driver settings for the storage profile. + /// + public readonly Outputs.ManagedClusterStorageProfileFileCSIDriverResponse? FileCSIDriver; + /// + /// Snapshot Controller settings for the storage profile. + /// + public readonly Outputs.ManagedClusterStorageProfileSnapshotControllerResponse? SnapshotController; + + [OutputConstructor] + private ManagedClusterStorageProfileResponse( + Outputs.ManagedClusterStorageProfileBlobCSIDriverResponse? blobCSIDriver, + + Outputs.ManagedClusterStorageProfileDiskCSIDriverResponse? diskCSIDriver, + + Outputs.ManagedClusterStorageProfileFileCSIDriverResponse? fileCSIDriver, + + Outputs.ManagedClusterStorageProfileSnapshotControllerResponse? snapshotController) + { + BlobCSIDriver = blobCSIDriver; + DiskCSIDriver = diskCSIDriver; + FileCSIDriver = fileCSIDriver; + SnapshotController = snapshotController; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileSnapshotControllerResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileSnapshotControllerResponse.cs new file mode 100644 index 000000000000..af43d013641d --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterStorageProfileSnapshotControllerResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Snapshot Controller settings for the storage profile. + /// + [OutputType] + public sealed class ManagedClusterStorageProfileSnapshotControllerResponse + { + /// + /// Whether to enable Snapshot Controller. The default value is true. + /// + public readonly bool? Enabled; + + [OutputConstructor] + private ManagedClusterStorageProfileSnapshotControllerResponse(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWindowsProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWindowsProfileResponse.cs new file mode 100644 index 000000000000..203bc746fcc3 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWindowsProfileResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Profile for Windows VMs in the managed cluster. + /// + [OutputType] + public sealed class ManagedClusterWindowsProfileResponse + { + /// + /// Specifies the password of the administrator account. <br><br> **Minimum-length:** 8 characters <br><br> **Max-length:** 123 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + /// + public readonly string? AdminPassword; + /// + /// Specifies the name of the administrator account. <br><br> **Restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters + /// + public readonly string AdminUsername; + /// + /// For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + /// + public readonly bool? EnableCSIProxy; + /// + /// The Windows gMSA Profile in the Managed Cluster. + /// + public readonly Outputs.WindowsGmsaProfileResponse? GmsaProfile; + /// + /// The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + /// + public readonly string? LicenseType; + + [OutputConstructor] + private ManagedClusterWindowsProfileResponse( + string? adminPassword, + + string adminUsername, + + bool? enableCSIProxy, + + Outputs.WindowsGmsaProfileResponse? gmsaProfile, + + string? licenseType) + { + AdminPassword = adminPassword; + AdminUsername = adminUsername; + EnableCSIProxy = enableCSIProxy; + GmsaProfile = gmsaProfile; + LicenseType = licenseType; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileKedaResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileKedaResponse.cs new file mode 100644 index 000000000000..a752cb2e7f88 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileKedaResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + /// + [OutputType] + public sealed class ManagedClusterWorkloadAutoScalerProfileKedaResponse + { + /// + /// Whether to enable KEDA. + /// + public readonly bool Enabled; + + [OutputConstructor] + private ManagedClusterWorkloadAutoScalerProfileKedaResponse(bool enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileResponse.cs new file mode 100644 index 000000000000..6340c08f6957 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Workload Auto-scaler profile for the managed cluster. + /// + [OutputType] + public sealed class ManagedClusterWorkloadAutoScalerProfileResponse + { + /// + /// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + /// + public readonly Outputs.ManagedClusterWorkloadAutoScalerProfileKedaResponse? Keda; + /// + /// VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + /// + public readonly Outputs.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse? VerticalPodAutoscaler; + + [OutputConstructor] + private ManagedClusterWorkloadAutoScalerProfileResponse( + Outputs.ManagedClusterWorkloadAutoScalerProfileKedaResponse? keda, + + Outputs.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse? verticalPodAutoscaler) + { + Keda = keda; + VerticalPodAutoscaler = verticalPodAutoscaler; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse.cs new file mode 100644 index 000000000000..ba0b0ee6c7be --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + /// + [OutputType] + public sealed class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse + { + /// + /// Whether to enable VPA. Default value is false. + /// + public readonly bool Enabled; + + [OutputConstructor] + private ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse(bool enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/PowerStateResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/PowerStateResponse.cs new file mode 100644 index 000000000000..f2e30f55994c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/PowerStateResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Describes the Power State of the cluster + /// + [OutputType] + public sealed class PowerStateResponse + { + /// + /// Tells whether the cluster is Running or Stopped + /// + public readonly string? Code; + + [OutputConstructor] + private PowerStateResponse(string? code) + { + Code = code; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateEndpointResponse.cs new file mode 100644 index 000000000000..8e1a03b68cd6 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateEndpointResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Private endpoint which a connection belongs to. + /// + [OutputType] + public sealed class PrivateEndpointResponse + { + /// + /// The resource ID of the private endpoint + /// + public readonly string? Id; + + [OutputConstructor] + private PrivateEndpointResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateLinkResourceResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateLinkResourceResponse.cs new file mode 100644 index 000000000000..f1a91c68241c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateLinkResourceResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// A private link resource + /// + [OutputType] + public sealed class PrivateLinkResourceResponse + { + /// + /// The group ID of the resource. + /// + public readonly string? GroupId; + /// + /// The ID of the private link resource. + /// + public readonly string? Id; + /// + /// The name of the private link resource. + /// + public readonly string? Name; + /// + /// The private link service ID of the resource, this field is exposed only to NRP internally. + /// + public readonly string PrivateLinkServiceID; + /// + /// The RequiredMembers of the resource + /// + public readonly ImmutableArray RequiredMembers; + /// + /// The resource type. + /// + public readonly string? Type; + + [OutputConstructor] + private PrivateLinkResourceResponse( + string? groupId, + + string? id, + + string? name, + + string privateLinkServiceID, + + ImmutableArray requiredMembers, + + string? type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateLinkServiceID = privateLinkServiceID; + RequiredMembers = requiredMembers; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateLinkServiceConnectionStateResponse.cs new file mode 100644 index 000000000000..42a0ae16eac9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/PrivateLinkServiceConnectionStateResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// The state of a private link service connection. + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStateResponse + { + /// + /// The private link service connection description. + /// + public readonly string? Description; + /// + /// The private link service connection status. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStateResponse( + string? description, + + string? status) + { + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/RelativeMonthlyScheduleResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/RelativeMonthlyScheduleResponse.cs new file mode 100644 index 000000000000..eec17c08caa3 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/RelativeMonthlyScheduleResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + /// + [OutputType] + public sealed class RelativeMonthlyScheduleResponse + { + /// + /// Specifies on which day of the week the maintenance occurs. + /// + public readonly string DayOfWeek; + /// + /// Specifies the number of months between each set of occurrences. + /// + public readonly int IntervalMonths; + /// + /// Specifies on which week of the month the dayOfWeek applies. + /// + public readonly string WeekIndex; + + [OutputConstructor] + private RelativeMonthlyScheduleResponse( + string dayOfWeek, + + int intervalMonths, + + string weekIndex) + { + DayOfWeek = dayOfWeek; + IntervalMonths = intervalMonths; + WeekIndex = weekIndex; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ResourceReferenceResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ResourceReferenceResponse.cs new file mode 100644 index 000000000000..645899decd32 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ResourceReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// A reference to an Azure resource. + /// + [OutputType] + public sealed class ResourceReferenceResponse + { + /// + /// The fully qualified Azure resource id. + /// + public readonly string? Id; + + [OutputConstructor] + private ResourceReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ScheduleResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ScheduleResponse.cs new file mode 100644 index 000000000000..e460038260f5 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ScheduleResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. + /// + [OutputType] + public sealed class ScheduleResponse + { + /// + /// For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + /// + public readonly Outputs.AbsoluteMonthlyScheduleResponse? AbsoluteMonthly; + /// + /// For schedules like: 'recur every day' or 'recur every 3 days'. + /// + public readonly Outputs.DailyScheduleResponse? Daily; + /// + /// For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + /// + public readonly Outputs.RelativeMonthlyScheduleResponse? RelativeMonthly; + /// + /// For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + /// + public readonly Outputs.WeeklyScheduleResponse? Weekly; + + [OutputConstructor] + private ScheduleResponse( + Outputs.AbsoluteMonthlyScheduleResponse? absoluteMonthly, + + Outputs.DailyScheduleResponse? daily, + + Outputs.RelativeMonthlyScheduleResponse? relativeMonthly, + + Outputs.WeeklyScheduleResponse? weekly) + { + AbsoluteMonthly = absoluteMonthly; + Daily = daily; + RelativeMonthly = relativeMonthly; + Weekly = weekly; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/ServiceMeshProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/ServiceMeshProfileResponse.cs new file mode 100644 index 000000000000..a7e5f7ddce16 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/ServiceMeshProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Service mesh profile for a managed cluster. + /// + [OutputType] + public sealed class ServiceMeshProfileResponse + { + /// + /// Istio service mesh configuration. + /// + public readonly Outputs.IstioServiceMeshResponse? Istio; + /// + /// Mode of the service mesh. + /// + public readonly string Mode; + + [OutputConstructor] + private ServiceMeshProfileResponse( + Outputs.IstioServiceMeshResponse? istio, + + string mode) + { + Istio = istio; + Mode = mode; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/SysctlConfigResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/SysctlConfigResponse.cs new file mode 100644 index 000000000000..18bb009483e5 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/SysctlConfigResponse.cs @@ -0,0 +1,220 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Sysctl settings for Linux agent nodes. + /// + [OutputType] + public sealed class SysctlConfigResponse + { + /// + /// Sysctl setting fs.aio-max-nr. + /// + public readonly int? FsAioMaxNr; + /// + /// Sysctl setting fs.file-max. + /// + public readonly int? FsFileMax; + /// + /// Sysctl setting fs.inotify.max_user_watches. + /// + public readonly int? FsInotifyMaxUserWatches; + /// + /// Sysctl setting fs.nr_open. + /// + public readonly int? FsNrOpen; + /// + /// Sysctl setting kernel.threads-max. + /// + public readonly int? KernelThreadsMax; + /// + /// Sysctl setting net.core.netdev_max_backlog. + /// + public readonly int? NetCoreNetdevMaxBacklog; + /// + /// Sysctl setting net.core.optmem_max. + /// + public readonly int? NetCoreOptmemMax; + /// + /// Sysctl setting net.core.rmem_default. + /// + public readonly int? NetCoreRmemDefault; + /// + /// Sysctl setting net.core.rmem_max. + /// + public readonly int? NetCoreRmemMax; + /// + /// Sysctl setting net.core.somaxconn. + /// + public readonly int? NetCoreSomaxconn; + /// + /// Sysctl setting net.core.wmem_default. + /// + public readonly int? NetCoreWmemDefault; + /// + /// Sysctl setting net.core.wmem_max. + /// + public readonly int? NetCoreWmemMax; + /// + /// Sysctl setting net.ipv4.ip_local_port_range. + /// + public readonly string? NetIpv4IpLocalPortRange; + /// + /// Sysctl setting net.ipv4.neigh.default.gc_thresh1. + /// + public readonly int? NetIpv4NeighDefaultGcThresh1; + /// + /// Sysctl setting net.ipv4.neigh.default.gc_thresh2. + /// + public readonly int? NetIpv4NeighDefaultGcThresh2; + /// + /// Sysctl setting net.ipv4.neigh.default.gc_thresh3. + /// + public readonly int? NetIpv4NeighDefaultGcThresh3; + /// + /// Sysctl setting net.ipv4.tcp_fin_timeout. + /// + public readonly int? NetIpv4TcpFinTimeout; + /// + /// Sysctl setting net.ipv4.tcp_keepalive_probes. + /// + public readonly int? NetIpv4TcpKeepaliveProbes; + /// + /// Sysctl setting net.ipv4.tcp_keepalive_time. + /// + public readonly int? NetIpv4TcpKeepaliveTime; + /// + /// Sysctl setting net.ipv4.tcp_max_syn_backlog. + /// + public readonly int? NetIpv4TcpMaxSynBacklog; + /// + /// Sysctl setting net.ipv4.tcp_max_tw_buckets. + /// + public readonly int? NetIpv4TcpMaxTwBuckets; + /// + /// Sysctl setting net.ipv4.tcp_tw_reuse. + /// + public readonly bool? NetIpv4TcpTwReuse; + /// + /// Sysctl setting net.ipv4.tcp_keepalive_intvl. + /// + public readonly int? NetIpv4TcpkeepaliveIntvl; + /// + /// Sysctl setting net.netfilter.nf_conntrack_buckets. + /// + public readonly int? NetNetfilterNfConntrackBuckets; + /// + /// Sysctl setting net.netfilter.nf_conntrack_max. + /// + public readonly int? NetNetfilterNfConntrackMax; + /// + /// Sysctl setting vm.max_map_count. + /// + public readonly int? VmMaxMapCount; + /// + /// Sysctl setting vm.swappiness. + /// + public readonly int? VmSwappiness; + /// + /// Sysctl setting vm.vfs_cache_pressure. + /// + public readonly int? VmVfsCachePressure; + + [OutputConstructor] + private SysctlConfigResponse( + int? fsAioMaxNr, + + int? fsFileMax, + + int? fsInotifyMaxUserWatches, + + int? fsNrOpen, + + int? kernelThreadsMax, + + int? netCoreNetdevMaxBacklog, + + int? netCoreOptmemMax, + + int? netCoreRmemDefault, + + int? netCoreRmemMax, + + int? netCoreSomaxconn, + + int? netCoreWmemDefault, + + int? netCoreWmemMax, + + string? netIpv4IpLocalPortRange, + + int? netIpv4NeighDefaultGcThresh1, + + int? netIpv4NeighDefaultGcThresh2, + + int? netIpv4NeighDefaultGcThresh3, + + int? netIpv4TcpFinTimeout, + + int? netIpv4TcpKeepaliveProbes, + + int? netIpv4TcpKeepaliveTime, + + int? netIpv4TcpMaxSynBacklog, + + int? netIpv4TcpMaxTwBuckets, + + bool? netIpv4TcpTwReuse, + + int? netIpv4TcpkeepaliveIntvl, + + int? netNetfilterNfConntrackBuckets, + + int? netNetfilterNfConntrackMax, + + int? vmMaxMapCount, + + int? vmSwappiness, + + int? vmVfsCachePressure) + { + FsAioMaxNr = fsAioMaxNr; + FsFileMax = fsFileMax; + FsInotifyMaxUserWatches = fsInotifyMaxUserWatches; + FsNrOpen = fsNrOpen; + KernelThreadsMax = kernelThreadsMax; + NetCoreNetdevMaxBacklog = netCoreNetdevMaxBacklog; + NetCoreOptmemMax = netCoreOptmemMax; + NetCoreRmemDefault = netCoreRmemDefault; + NetCoreRmemMax = netCoreRmemMax; + NetCoreSomaxconn = netCoreSomaxconn; + NetCoreWmemDefault = netCoreWmemDefault; + NetCoreWmemMax = netCoreWmemMax; + NetIpv4IpLocalPortRange = netIpv4IpLocalPortRange; + NetIpv4NeighDefaultGcThresh1 = netIpv4NeighDefaultGcThresh1; + NetIpv4NeighDefaultGcThresh2 = netIpv4NeighDefaultGcThresh2; + NetIpv4NeighDefaultGcThresh3 = netIpv4NeighDefaultGcThresh3; + NetIpv4TcpFinTimeout = netIpv4TcpFinTimeout; + NetIpv4TcpKeepaliveProbes = netIpv4TcpKeepaliveProbes; + NetIpv4TcpKeepaliveTime = netIpv4TcpKeepaliveTime; + NetIpv4TcpMaxSynBacklog = netIpv4TcpMaxSynBacklog; + NetIpv4TcpMaxTwBuckets = netIpv4TcpMaxTwBuckets; + NetIpv4TcpTwReuse = netIpv4TcpTwReuse; + NetIpv4TcpkeepaliveIntvl = netIpv4TcpkeepaliveIntvl; + NetNetfilterNfConntrackBuckets = netNetfilterNfConntrackBuckets; + NetNetfilterNfConntrackMax = netNetfilterNfConntrackMax; + VmMaxMapCount = vmMaxMapCount; + VmSwappiness = vmSwappiness; + VmVfsCachePressure = vmVfsCachePressure; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/SystemDataResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..89b197d3ddc9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/TimeInWeekResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/TimeInWeekResponse.cs new file mode 100644 index 000000000000..350b7f9e2240 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/TimeInWeekResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Time in a week. + /// + [OutputType] + public sealed class TimeInWeekResponse + { + /// + /// The day of the week. + /// + public readonly string? Day; + /// + /// Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + /// + public readonly ImmutableArray HourSlots; + + [OutputConstructor] + private TimeInWeekResponse( + string? day, + + ImmutableArray hourSlots) + { + Day = day; + HourSlots = hourSlots; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/TimeSpanResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/TimeSpanResponse.cs new file mode 100644 index 000000000000..942f88ca111b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/TimeSpanResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. + /// + [OutputType] + public sealed class TimeSpanResponse + { + /// + /// The end of a time span + /// + public readonly string? End; + /// + /// The start of a time span + /// + public readonly string? Start; + + [OutputConstructor] + private TimeSpanResponse( + string? end, + + string? start) + { + End = end; + Start = start; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/UpgradeOverrideSettingsResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/UpgradeOverrideSettingsResponse.cs new file mode 100644 index 000000000000..a0200fd78a31 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/UpgradeOverrideSettingsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Settings for overrides when upgrading a cluster. + /// + [OutputType] + public sealed class UpgradeOverrideSettingsResponse + { + /// + /// Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + /// + public readonly bool? ForceUpgrade; + /// + /// Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + /// + public readonly string? Until; + + [OutputConstructor] + private UpgradeOverrideSettingsResponse( + bool? forceUpgrade, + + string? until) + { + ForceUpgrade = forceUpgrade; + Until = until; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..3493212a2d8a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Details about a user assigned identity. + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the user assigned identity. + /// + public readonly string? ClientId; + /// + /// The object ID of the user assigned identity. + /// + public readonly string? ObjectId; + /// + /// The resource ID of the user assigned identity. + /// + public readonly string? ResourceId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string? clientId, + + string? objectId, + + string? resourceId) + { + ClientId = clientId; + ObjectId = objectId; + ResourceId = resourceId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/WeeklyScheduleResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/WeeklyScheduleResponse.cs new file mode 100644 index 000000000000..b0fe5eec03d9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/WeeklyScheduleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + /// + [OutputType] + public sealed class WeeklyScheduleResponse + { + /// + /// Specifies on which day of the week the maintenance occurs. + /// + public readonly string DayOfWeek; + /// + /// Specifies the number of weeks between each set of occurrences. + /// + public readonly int IntervalWeeks; + + [OutputConstructor] + private WeeklyScheduleResponse( + string dayOfWeek, + + int intervalWeeks) + { + DayOfWeek = dayOfWeek; + IntervalWeeks = intervalWeeks; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/Outputs/WindowsGmsaProfileResponse.cs b/sdk/dotnet/ContainerService/V20230801/Outputs/WindowsGmsaProfileResponse.cs new file mode 100644 index 000000000000..7bc7c5ddeb32 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Outputs/WindowsGmsaProfileResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801.Outputs +{ + + /// + /// Windows gMSA Profile in the managed cluster. + /// + [OutputType] + public sealed class WindowsGmsaProfileResponse + { + /// + /// Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + /// + public readonly string? DnsServer; + /// + /// Specifies whether to enable Windows gMSA in the managed cluster. + /// + public readonly bool? Enabled; + /// + /// Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + /// + public readonly string? RootDomainName; + + [OutputConstructor] + private WindowsGmsaProfileResponse( + string? dnsServer, + + bool? enabled, + + string? rootDomainName) + { + DnsServer = dnsServer; + Enabled = enabled; + RootDomainName = rootDomainName; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230801/PrivateEndpointConnection.cs b/sdk/dotnet/ContainerService/V20230801/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..8e5147410325 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/PrivateEndpointConnection.cs @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + /// + /// A private endpoint connection + /// + [AzureNativeResourceType("azure-native:containerservice/v20230801:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : global::Pulumi.CustomResource + { + /// + /// The name of the private endpoint connection. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource of private endpoint. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// The current provisioning state. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource type. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection 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 PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200601:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200701:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20200901:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201101:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20201201:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210201:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210301:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210501:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210701:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210801:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210901:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211001:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211101preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220101:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220102preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220201:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220202preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220301:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220302preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220401:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220402preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220502preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220601:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220701:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220802preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220803preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220901:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221002preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221101:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221102preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230101:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230102preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230201:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230202preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230301:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230302preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230401:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230402preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230501:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230502preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:PrivateEndpointConnection"}, + }, + }; + 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 PrivateEndpointConnection 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The resource of private endpoint. + /// + [Input("privateEndpoint")] + public Input? PrivateEndpoint { get; set; } + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + public static new PrivateEndpointConnectionArgs Empty => new PrivateEndpointConnectionArgs(); + } +} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/README.md b/sdk/dotnet/ContainerService/V20230801/README.md similarity index 100% rename from sdk/dotnet/IoTSecurity/V20210201Preview/README.md rename to sdk/dotnet/ContainerService/V20230801/README.md diff --git a/sdk/dotnet/ContainerService/V20230801/Snapshot.cs b/sdk/dotnet/ContainerService/V20230801/Snapshot.cs new file mode 100644 index 000000000000..14aa11c0f1bd --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230801/Snapshot.cs @@ -0,0 +1,230 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230801 +{ + /// + /// A node pool snapshot resource. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230801:Snapshot")] + public partial class Snapshot : global::Pulumi.CustomResource + { + /// + /// CreationData to be used to specify the source agent pool resource ID to create this snapshot. + /// + [Output("creationData")] + public Output CreationData { get; private set; } = null!; + + /// + /// Whether to use a FIPS-enabled OS. + /// + [Output("enableFIPS")] + public Output EnableFIPS { get; private set; } = null!; + + /// + /// The version of Kubernetes. + /// + [Output("kubernetesVersion")] + public Output KubernetesVersion { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The version of node image. + /// + [Output("nodeImageVersion")] + public Output NodeImageVersion { get; private set; } = null!; + + /// + /// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + /// + [Output("osSku")] + public Output OsSku { get; private set; } = null!; + + /// + /// The operating system type. The default is Linux. + /// + [Output("osType")] + public Output OsType { get; private set; } = null!; + + /// + /// The type of a snapshot. The default is NodePool. + /// + [Output("snapshotType")] + public Output SnapshotType { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The size of the VM. + /// + [Output("vmSize")] + public Output VmSize { get; private set; } = null!; + + + /// + /// Create a Snapshot 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 Snapshot(string name, SnapshotArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:Snapshot", name, args ?? new SnapshotArgs(), MakeResourceOptions(options, "")) + { + } + + private Snapshot(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230801:Snapshot", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210801:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20210901:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211001:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20211101preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220101:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220102preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220201:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220202preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220301:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220302preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220401:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220402preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220502preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220601:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220701:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220802preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220803preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220901:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221002preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221101:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20221102preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230101:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230102preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230201:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230202preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230301:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230302preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230401:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230402preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230501:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230502preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230601:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230602preview:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230701:Snapshot"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230702preview:Snapshot"}, + }, + }; + 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 Snapshot 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. + /// A bag of options that control this resource's behavior + public static Snapshot Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Snapshot(name, id, options); + } + } + + public sealed class SnapshotArgs : global::Pulumi.ResourceArgs + { + /// + /// CreationData to be used to specify the source agent pool resource ID to create this snapshot. + /// + [Input("creationData")] + public Input? CreationData { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the managed cluster resource. + /// + [Input("resourceName")] + public Input? ResourceName { get; set; } + + /// + /// The type of a snapshot. The default is NodePool. + /// + [Input("snapshotType")] + public InputUnion? SnapshotType { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SnapshotArgs() + { + } + public static new SnapshotArgs Empty => new SnapshotArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Enums.cs b/sdk/dotnet/ContainerService/V20230815Preview/Enums.cs new file mode 100644 index 000000000000..a6b01bd05028 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Enums.cs @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.ContainerService.V20230815Preview +{ + /// + /// The upgrade type. + /// Full requires the KubernetesVersion property to be set. + /// NodeImageOnly requires the KubernetesVersion property not to be set. + /// + [EnumType] + public readonly struct ManagedClusterUpgradeType : IEquatable + { + private readonly string _value; + + private ManagedClusterUpgradeType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Full upgrades the control plane and all agent pools of the target ManagedClusters. + /// + public static ManagedClusterUpgradeType Full { get; } = new ManagedClusterUpgradeType("Full"); + /// + /// NodeImageOnly upgrades only the node images of the target ManagedClusters. + /// + public static ManagedClusterUpgradeType NodeImageOnly { get; } = new ManagedClusterUpgradeType("NodeImageOnly"); + + public static bool operator ==(ManagedClusterUpgradeType left, ManagedClusterUpgradeType right) => left.Equals(right); + public static bool operator !=(ManagedClusterUpgradeType left, ManagedClusterUpgradeType right) => !left.Equals(right); + + public static explicit operator string(ManagedClusterUpgradeType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedClusterUpgradeType other && Equals(other); + public bool Equals(ManagedClusterUpgradeType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned, UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The node image upgrade type. + /// + [EnumType] + public readonly struct NodeImageSelectionType : IEquatable + { + private readonly string _value; + + private NodeImageSelectionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. + /// + public static NodeImageSelectionType Latest { get; } = new NodeImageSelectionType("Latest"); + /// + /// The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. + /// + public static NodeImageSelectionType Consistent { get; } = new NodeImageSelectionType("Consistent"); + + public static bool operator ==(NodeImageSelectionType left, NodeImageSelectionType right) => left.Equals(right); + public static bool operator !=(NodeImageSelectionType left, NodeImageSelectionType right) => !left.Equals(right); + + public static explicit operator string(NodeImageSelectionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NodeImageSelectionType other && Equals(other); + public bool Equals(NodeImageSelectionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Fleet.cs b/sdk/dotnet/ContainerService/V20230815Preview/Fleet.cs new file mode 100644 index 000000000000..cb64316979c9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Fleet.cs @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + /// + /// The Fleet resource. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230815preview:Fleet")] + public partial class Fleet : global::Pulumi.CustomResource + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// The FleetHubProfile configures the Fleet's hub. + /// + [Output("hubProfile")] + public Output HubProfile { get; private set; } = null!; + + /// + /// Managed identity. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The status of the last operation. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Fleet 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 Fleet(string name, FleetArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:Fleet", name, args ?? new FleetArgs(), MakeResourceOptions(options, "")) + { + } + + private Fleet(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:Fleet", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:Fleet"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:Fleet"}, + }, + }; + 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 Fleet 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. + /// A bag of options that control this resource's behavior + public static Fleet Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Fleet(name, id, options); + } + } + + public sealed class FleetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName")] + public Input? FleetName { get; set; } + + /// + /// The FleetHubProfile configures the Fleet's hub. + /// + [Input("hubProfile")] + public Input? HubProfile { get; set; } + + /// + /// Managed identity. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public FleetArgs() + { + } + public static new FleetArgs Empty => new FleetArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/FleetMember.cs b/sdk/dotnet/ContainerService/V20230815Preview/FleetMember.cs new file mode 100644 index 000000000000..2ee00bb46b66 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/FleetMember.cs @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + /// + /// A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230815preview:FleetMember")] + public partial class FleetMember : global::Pulumi.CustomResource + { + /// + /// The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + /// + [Output("clusterResourceId")] + public Output ClusterResourceId { get; private set; } = null!; + + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// The group this member belongs to for multi-cluster update management. + /// + [Output("group")] + public Output Group { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The status of the last operation. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a FleetMember 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 FleetMember(string name, FleetMemberArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:FleetMember", name, args ?? new FleetMemberArgs(), MakeResourceOptions(options, "")) + { + } + + private FleetMember(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:FleetMember", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220602preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220702preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20220902preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:FleetMember"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:FleetMember"}, + }, + }; + 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 FleetMember 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. + /// A bag of options that control this resource's behavior + public static FleetMember Get(string name, Input id, CustomResourceOptions? options = null) + { + return new FleetMember(name, id, options); + } + } + + public sealed class FleetMemberArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + /// + [Input("clusterResourceId", required: true)] + public Input ClusterResourceId { get; set; } = null!; + + /// + /// The name of the Fleet member resource. + /// + [Input("fleetMemberName")] + public Input? FleetMemberName { get; set; } + + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The group this member belongs to for multi-cluster update management. + /// + [Input("group")] + public Input? Group { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public FleetMemberArgs() + { + } + public static new FleetMemberArgs Empty => new FleetMemberArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/FleetUpdateStrategy.cs b/sdk/dotnet/ContainerService/V20230815Preview/FleetUpdateStrategy.cs new file mode 100644 index 000000000000..5a183dfccaf9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/FleetUpdateStrategy.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + /// + /// Defines a multi-stage process to perform update operations across members of a Fleet. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230815preview:FleetUpdateStrategy")] + public partial class FleetUpdateStrategy : global::Pulumi.CustomResource + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the UpdateStrategy resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Defines the update sequence of the clusters. + /// + [Output("strategy")] + public Output Strategy { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a FleetUpdateStrategy 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 FleetUpdateStrategy(string name, FleetUpdateStrategyArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:FleetUpdateStrategy", name, args ?? new FleetUpdateStrategyArgs(), MakeResourceOptions(options, "")) + { + } + + private FleetUpdateStrategy(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:FleetUpdateStrategy", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:FleetUpdateStrategy"}, + }, + }; + 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 FleetUpdateStrategy 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. + /// A bag of options that control this resource's behavior + public static FleetUpdateStrategy Get(string name, Input id, CustomResourceOptions? options = null) + { + return new FleetUpdateStrategy(name, id, options); + } + } + + public sealed class FleetUpdateStrategyArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Defines the update sequence of the clusters. + /// + [Input("strategy", required: true)] + public Input Strategy { get; set; } = null!; + + /// + /// The name of the UpdateStrategy resource. + /// + [Input("updateStrategyName")] + public Input? UpdateStrategyName { get; set; } + + public FleetUpdateStrategyArgs() + { + } + public static new FleetUpdateStrategyArgs Empty => new FleetUpdateStrategyArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/GetFleet.cs b/sdk/dotnet/ContainerService/V20230815Preview/GetFleet.cs new file mode 100644 index 000000000000..be34dccc188c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/GetFleet.cs @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + public static class GetFleet + { + /// + /// Gets a Fleet. + /// + public static Task InvokeAsync(GetFleetArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230815preview:getFleet", args ?? new GetFleetArgs(), options.WithDefaults()); + + /// + /// Gets a Fleet. + /// + public static Output Invoke(GetFleetInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230815preview:getFleet", args ?? new GetFleetInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFleetArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public string FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetFleetArgs() + { + } + public static new GetFleetArgs Empty => new GetFleetArgs(); + } + + public sealed class GetFleetInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetFleetInvokeArgs() + { + } + public static new GetFleetInvokeArgs Empty => new GetFleetInvokeArgs(); + } + + + [OutputType] + public sealed class GetFleetResult + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string ETag; + /// + /// The FleetHubProfile configures the Fleet's hub. + /// + public readonly Outputs.FleetHubProfileResponse? HubProfile; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Managed identity. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The status of the last operation. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetFleetResult( + string eTag, + + Outputs.FleetHubProfileResponse? hubProfile, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string location, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ETag = eTag; + HubProfile = hubProfile; + Id = id; + Identity = identity; + Location = location; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/GetFleetMember.cs b/sdk/dotnet/ContainerService/V20230815Preview/GetFleetMember.cs new file mode 100644 index 000000000000..50ade299aca9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/GetFleetMember.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + public static class GetFleetMember + { + /// + /// Get a FleetMember + /// + public static Task InvokeAsync(GetFleetMemberArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230815preview:getFleetMember", args ?? new GetFleetMemberArgs(), options.WithDefaults()); + + /// + /// Get a FleetMember + /// + public static Output Invoke(GetFleetMemberInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230815preview:getFleetMember", args ?? new GetFleetMemberInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFleetMemberArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet member resource. + /// + [Input("fleetMemberName", required: true)] + public string FleetMemberName { get; set; } = null!; + + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public string FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetFleetMemberArgs() + { + } + public static new GetFleetMemberArgs Empty => new GetFleetMemberArgs(); + } + + public sealed class GetFleetMemberInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet member resource. + /// + [Input("fleetMemberName", required: true)] + public Input FleetMemberName { get; set; } = null!; + + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetFleetMemberInvokeArgs() + { + } + public static new GetFleetMemberInvokeArgs Empty => new GetFleetMemberInvokeArgs(); + } + + + [OutputType] + public sealed class GetFleetMemberResult + { + /// + /// The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + /// + public readonly string ClusterResourceId; + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string ETag; + /// + /// The group this member belongs to for multi-cluster update management. + /// + public readonly string? Group; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The status of the last operation. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetFleetMemberResult( + string clusterResourceId, + + string eTag, + + string? group, + + string id, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + ClusterResourceId = clusterResourceId; + ETag = eTag; + Group = group; + Id = id; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/GetFleetUpdateStrategy.cs b/sdk/dotnet/ContainerService/V20230815Preview/GetFleetUpdateStrategy.cs new file mode 100644 index 000000000000..85b169fd43a0 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/GetFleetUpdateStrategy.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + public static class GetFleetUpdateStrategy + { + /// + /// Get a FleetUpdateStrategy + /// + public static Task InvokeAsync(GetFleetUpdateStrategyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230815preview:getFleetUpdateStrategy", args ?? new GetFleetUpdateStrategyArgs(), options.WithDefaults()); + + /// + /// Get a FleetUpdateStrategy + /// + public static Output Invoke(GetFleetUpdateStrategyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230815preview:getFleetUpdateStrategy", args ?? new GetFleetUpdateStrategyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFleetUpdateStrategyArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public string FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the UpdateStrategy resource. + /// + [Input("updateStrategyName", required: true)] + public string UpdateStrategyName { get; set; } = null!; + + public GetFleetUpdateStrategyArgs() + { + } + public static new GetFleetUpdateStrategyArgs Empty => new GetFleetUpdateStrategyArgs(); + } + + public sealed class GetFleetUpdateStrategyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the UpdateStrategy resource. + /// + [Input("updateStrategyName", required: true)] + public Input UpdateStrategyName { get; set; } = null!; + + public GetFleetUpdateStrategyInvokeArgs() + { + } + public static new GetFleetUpdateStrategyInvokeArgs Empty => new GetFleetUpdateStrategyInvokeArgs(); + } + + + [OutputType] + public sealed class GetFleetUpdateStrategyResult + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string ETag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the UpdateStrategy resource. + /// + public readonly string ProvisioningState; + /// + /// Defines the update sequence of the clusters. + /// + public readonly Outputs.UpdateRunStrategyResponse Strategy; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetFleetUpdateStrategyResult( + string eTag, + + string id, + + string name, + + string provisioningState, + + Outputs.UpdateRunStrategyResponse strategy, + + Outputs.SystemDataResponse systemData, + + string type) + { + ETag = eTag; + Id = id; + Name = name; + ProvisioningState = provisioningState; + Strategy = strategy; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/GetUpdateRun.cs b/sdk/dotnet/ContainerService/V20230815Preview/GetUpdateRun.cs new file mode 100644 index 000000000000..4113ff091e6c --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/GetUpdateRun.cs @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + public static class GetUpdateRun + { + /// + /// Get a UpdateRun + /// + public static Task InvokeAsync(GetUpdateRunArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230815preview:getUpdateRun", args ?? new GetUpdateRunArgs(), options.WithDefaults()); + + /// + /// Get a UpdateRun + /// + public static Output Invoke(GetUpdateRunInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230815preview:getUpdateRun", args ?? new GetUpdateRunInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetUpdateRunArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public string FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the UpdateRun resource. + /// + [Input("updateRunName", required: true)] + public string UpdateRunName { get; set; } = null!; + + public GetUpdateRunArgs() + { + } + public static new GetUpdateRunArgs Empty => new GetUpdateRunArgs(); + } + + public sealed class GetUpdateRunInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the UpdateRun resource. + /// + [Input("updateRunName", required: true)] + public Input UpdateRunName { get; set; } = null!; + + public GetUpdateRunInvokeArgs() + { + } + public static new GetUpdateRunInvokeArgs Empty => new GetUpdateRunInvokeArgs(); + } + + + [OutputType] + public sealed class GetUpdateRunResult + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string ETag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + /// + public readonly Outputs.ManagedClusterUpdateResponse ManagedClusterUpdate; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the UpdateRun resource. + /// + public readonly string ProvisioningState; + /// + /// The status of the UpdateRun. + /// + public readonly Outputs.UpdateRunStatusResponse Status; + /// + /// The strategy defines the order in which the clusters will be updated. + /// If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + /// The strategy of the UpdateRun can be modified until the run is started. + /// + public readonly Outputs.UpdateRunStrategyResponse? Strategy; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The resource id of the FleetUpdateStrategy resource to reference. + /// + /// When creating a new run, there are three ways to define a strategy for the run: + /// 1. Define a new strategy in place: Set the "strategy" field. + /// 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + /// 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + /// + /// Setting both "updateStrategyId" and "strategy" is invalid. + /// + /// UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + /// Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + /// UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + /// + public readonly string? UpdateStrategyId; + + [OutputConstructor] + private GetUpdateRunResult( + string eTag, + + string id, + + Outputs.ManagedClusterUpdateResponse managedClusterUpdate, + + string name, + + string provisioningState, + + Outputs.UpdateRunStatusResponse status, + + Outputs.UpdateRunStrategyResponse? strategy, + + Outputs.SystemDataResponse systemData, + + string type, + + string? updateStrategyId) + { + ETag = eTag; + Id = id; + ManagedClusterUpdate = managedClusterUpdate; + Name = name; + ProvisioningState = provisioningState; + Status = status; + Strategy = strategy; + SystemData = systemData; + Type = type; + UpdateStrategyId = updateStrategyId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/APIServerAccessProfileArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/APIServerAccessProfileArgs.cs new file mode 100644 index 000000000000..eaf9c870542e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/APIServerAccessProfileArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// Access profile for the Fleet hub API server. + /// + public sealed class APIServerAccessProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to create the Fleet hub as a private cluster or not. + /// + [Input("enablePrivateCluster")] + public Input? EnablePrivateCluster { get; set; } + + /// + /// Whether to enable apiserver vnet integration for the Fleet hub or not. + /// + [Input("enableVnetIntegration")] + public Input? EnableVnetIntegration { get; set; } + + /// + /// The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + /// + [Input("subnetId")] + public Input? SubnetId { get; set; } + + public APIServerAccessProfileArgs() + { + } + public static new APIServerAccessProfileArgs Empty => new APIServerAccessProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/AgentProfileArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/AgentProfileArgs.cs new file mode 100644 index 000000000000..964cd9908581 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/AgentProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// Agent profile for the Fleet hub. + /// + public sealed class AgentProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + /// + [Input("subnetId")] + public Input? SubnetId { get; set; } + + /// + /// The virtual machine size of the Fleet hub. + /// + [Input("vmSize")] + public Input? VmSize { get; set; } + + public AgentProfileArgs() + { + } + public static new AgentProfileArgs Empty => new AgentProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/FleetHubProfileArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/FleetHubProfileArgs.cs new file mode 100644 index 000000000000..4c0bffe4ad93 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/FleetHubProfileArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// The FleetHubProfile configures the fleet hub. + /// + public sealed class FleetHubProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// The agent profile for the Fleet hub. + /// + [Input("agentProfile")] + public Input? AgentProfile { get; set; } + + /// + /// The access profile for the Fleet hub API server. + /// + [Input("apiServerAccessProfile")] + public Input? ApiServerAccessProfile { get; set; } + + /// + /// DNS prefix used to create the FQDN for the Fleet hub. + /// + [Input("dnsPrefix")] + public Input? DnsPrefix { get; set; } + + public FleetHubProfileArgs() + { + } + public static new FleetHubProfileArgs Empty => new FleetHubProfileArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedClusterUpdateArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedClusterUpdateArgs.cs new file mode 100644 index 000000000000..adf5e9a62ff4 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedClusterUpdateArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// The update to be applied to the ManagedClusters. + /// + public sealed class ManagedClusterUpdateArgs : global::Pulumi.ResourceArgs + { + /// + /// The node image upgrade to be applied to the target nodes in update run. + /// + [Input("nodeImageSelection")] + public Input? NodeImageSelection { get; set; } + + /// + /// The upgrade to apply to the ManagedClusters. + /// + [Input("upgrade", required: true)] + public Input Upgrade { get; set; } = null!; + + public ManagedClusterUpdateArgs() + { + } + public static new ManagedClusterUpdateArgs Empty => new ManagedClusterUpdateArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedClusterUpgradeSpecArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedClusterUpgradeSpecArgs.cs new file mode 100644 index 000000000000..42d2fea68834 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedClusterUpgradeSpecArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// The upgrade to apply to a ManagedCluster. + /// + public sealed class ManagedClusterUpgradeSpecArgs : global::Pulumi.ResourceArgs + { + /// + /// The Kubernetes version to upgrade the member clusters to. + /// + [Input("kubernetesVersion")] + public Input? KubernetesVersion { get; set; } + + /// + /// The upgrade type. + /// Full requires the KubernetesVersion property to be set. + /// NodeImageOnly requires the KubernetesVersion property not to be set. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + public ManagedClusterUpgradeSpecArgs() + { + } + public static new ManagedClusterUpgradeSpecArgs Empty => new ManagedClusterUpgradeSpecArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..d77a7cc1d679 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/NodeImageSelectionArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/NodeImageSelectionArgs.cs new file mode 100644 index 000000000000..0b6652e0d79f --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/NodeImageSelectionArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// The node image upgrade to be applied to the target nodes in update run. + /// + public sealed class NodeImageSelectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The node image upgrade type. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + public NodeImageSelectionArgs() + { + } + public static new NodeImageSelectionArgs Empty => new NodeImageSelectionArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateGroupArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateGroupArgs.cs new file mode 100644 index 000000000000..8ab4ee7d9275 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateGroupArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// A group to be updated. + /// + public sealed class UpdateGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the group. + /// It must match a group name of an existing fleet member. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public UpdateGroupArgs() + { + } + public static new UpdateGroupArgs Empty => new UpdateGroupArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateRunStrategyArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateRunStrategyArgs.cs new file mode 100644 index 000000000000..1c9ce00a38c5 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateRunStrategyArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. + /// + public sealed class UpdateRunStrategyArgs : global::Pulumi.ResourceArgs + { + [Input("stages", required: true)] + private InputList? _stages; + + /// + /// The list of stages that compose this update run. Min size: 1. + /// + public InputList Stages + { + get => _stages ?? (_stages = new InputList()); + set => _stages = value; + } + + public UpdateRunStrategyArgs() + { + } + public static new UpdateRunStrategyArgs Empty => new UpdateRunStrategyArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateStageArgs.cs b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateStageArgs.cs new file mode 100644 index 000000000000..b6928f4bb5ff --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Inputs/UpdateStageArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Inputs +{ + + /// + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + /// + public sealed class UpdateStageArgs : global::Pulumi.ResourceArgs + { + /// + /// The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + /// + [Input("afterStageWaitInSeconds")] + public Input? AfterStageWaitInSeconds { get; set; } + + [Input("groups")] + private InputList? _groups; + + /// + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + /// + public InputList Groups + { + get => _groups ?? (_groups = new InputList()); + set => _groups = value; + } + + /// + /// The name of the stage. Must be unique within the UpdateRun. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public UpdateStageArgs() + { + } + public static new UpdateStageArgs Empty => new UpdateStageArgs(); + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/ListFleetCredentials.cs b/sdk/dotnet/ContainerService/V20230815Preview/ListFleetCredentials.cs new file mode 100644 index 000000000000..b99dca896d43 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/ListFleetCredentials.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + public static class ListFleetCredentials + { + /// + /// Lists the user credentials of a Fleet. + /// + public static Task InvokeAsync(ListFleetCredentialsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:containerservice/v20230815preview:listFleetCredentials", args ?? new ListFleetCredentialsArgs(), options.WithDefaults()); + + /// + /// Lists the user credentials of a Fleet. + /// + public static Output Invoke(ListFleetCredentialsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:containerservice/v20230815preview:listFleetCredentials", args ?? new ListFleetCredentialsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListFleetCredentialsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public string FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListFleetCredentialsArgs() + { + } + public static new ListFleetCredentialsArgs Empty => new ListFleetCredentialsArgs(); + } + + public sealed class ListFleetCredentialsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListFleetCredentialsInvokeArgs() + { + } + public static new ListFleetCredentialsInvokeArgs Empty => new ListFleetCredentialsInvokeArgs(); + } + + + [OutputType] + public sealed class ListFleetCredentialsResult + { + /// + /// Array of base64-encoded Kubernetes configuration files. + /// + public readonly ImmutableArray Kubeconfigs; + + [OutputConstructor] + private ListFleetCredentialsResult(ImmutableArray kubeconfigs) + { + Kubeconfigs = kubeconfigs; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/APIServerAccessProfileResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/APIServerAccessProfileResponse.cs new file mode 100644 index 000000000000..eabede8ed7f5 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/APIServerAccessProfileResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// Access profile for the Fleet hub API server. + /// + [OutputType] + public sealed class APIServerAccessProfileResponse + { + /// + /// Whether to create the Fleet hub as a private cluster or not. + /// + public readonly bool? EnablePrivateCluster; + /// + /// Whether to enable apiserver vnet integration for the Fleet hub or not. + /// + public readonly bool? EnableVnetIntegration; + /// + /// The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + /// + public readonly string? SubnetId; + + [OutputConstructor] + private APIServerAccessProfileResponse( + bool? enablePrivateCluster, + + bool? enableVnetIntegration, + + string? subnetId) + { + EnablePrivateCluster = enablePrivateCluster; + EnableVnetIntegration = enableVnetIntegration; + SubnetId = subnetId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/AgentProfileResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/AgentProfileResponse.cs new file mode 100644 index 000000000000..389e9413ce7b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/AgentProfileResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// Agent profile for the Fleet hub. + /// + [OutputType] + public sealed class AgentProfileResponse + { + /// + /// The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + /// + public readonly string? SubnetId; + /// + /// The virtual machine size of the Fleet hub. + /// + public readonly string? VmSize; + + [OutputConstructor] + private AgentProfileResponse( + string? subnetId, + + string? vmSize) + { + SubnetId = subnetId; + VmSize = vmSize; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ErrorAdditionalInfoResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ErrorAdditionalInfoResponse.cs new file mode 100644 index 000000000000..e735a4b49ebd --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ErrorAdditionalInfoResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The resource management error additional info. + /// + [OutputType] + public sealed class ErrorAdditionalInfoResponse + { + /// + /// The additional info. + /// + public readonly object Info; + /// + /// The additional info type. + /// + public readonly string Type; + + [OutputConstructor] + private ErrorAdditionalInfoResponse( + object info, + + string type) + { + Info = info; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ErrorDetailResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ErrorDetailResponse.cs new file mode 100644 index 000000000000..aab894c5440a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ErrorDetailResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The error detail. + /// + [OutputType] + public sealed class ErrorDetailResponse + { + /// + /// The error additional info. + /// + public readonly ImmutableArray AdditionalInfo; + /// + /// The error code. + /// + public readonly string Code; + /// + /// The error details. + /// + public readonly ImmutableArray Details; + /// + /// The error message. + /// + public readonly string Message; + /// + /// The error target. + /// + public readonly string Target; + + [OutputConstructor] + private ErrorDetailResponse( + ImmutableArray additionalInfo, + + string code, + + ImmutableArray details, + + string message, + + string target) + { + AdditionalInfo = additionalInfo; + Code = code; + Details = details; + Message = message; + Target = target; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/FleetCredentialResultResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/FleetCredentialResultResponse.cs new file mode 100644 index 000000000000..e43703089746 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/FleetCredentialResultResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// One credential result item. + /// + [OutputType] + public sealed class FleetCredentialResultResponse + { + /// + /// The name of the credential. + /// + public readonly string Name; + /// + /// Base64-encoded Kubernetes configuration file. + /// + public readonly string Value; + + [OutputConstructor] + private FleetCredentialResultResponse( + string name, + + string value) + { + Name = name; + Value = value; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/FleetHubProfileResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/FleetHubProfileResponse.cs new file mode 100644 index 000000000000..f63538797fbe --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/FleetHubProfileResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The FleetHubProfile configures the fleet hub. + /// + [OutputType] + public sealed class FleetHubProfileResponse + { + /// + /// The agent profile for the Fleet hub. + /// + public readonly Outputs.AgentProfileResponse? AgentProfile; + /// + /// The access profile for the Fleet hub API server. + /// + public readonly Outputs.APIServerAccessProfileResponse? ApiServerAccessProfile; + /// + /// DNS prefix used to create the FQDN for the Fleet hub. + /// + public readonly string? DnsPrefix; + /// + /// The FQDN of the Fleet hub. + /// + public readonly string Fqdn; + /// + /// The Kubernetes version of the Fleet hub. + /// + public readonly string KubernetesVersion; + /// + /// The Azure Portal FQDN of the Fleet hub. + /// + public readonly string PortalFqdn; + + [OutputConstructor] + private FleetHubProfileResponse( + Outputs.AgentProfileResponse? agentProfile, + + Outputs.APIServerAccessProfileResponse? apiServerAccessProfile, + + string? dnsPrefix, + + string fqdn, + + string kubernetesVersion, + + string portalFqdn) + { + AgentProfile = agentProfile; + ApiServerAccessProfile = apiServerAccessProfile; + DnsPrefix = dnsPrefix; + Fqdn = fqdn; + KubernetesVersion = kubernetesVersion; + PortalFqdn = portalFqdn; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedClusterUpdateResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedClusterUpdateResponse.cs new file mode 100644 index 000000000000..254bde768bdb --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedClusterUpdateResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The update to be applied to the ManagedClusters. + /// + [OutputType] + public sealed class ManagedClusterUpdateResponse + { + /// + /// The node image upgrade to be applied to the target nodes in update run. + /// + public readonly Outputs.NodeImageSelectionResponse? NodeImageSelection; + /// + /// The upgrade to apply to the ManagedClusters. + /// + public readonly Outputs.ManagedClusterUpgradeSpecResponse Upgrade; + + [OutputConstructor] + private ManagedClusterUpdateResponse( + Outputs.NodeImageSelectionResponse? nodeImageSelection, + + Outputs.ManagedClusterUpgradeSpecResponse upgrade) + { + NodeImageSelection = nodeImageSelection; + Upgrade = upgrade; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedClusterUpgradeSpecResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedClusterUpgradeSpecResponse.cs new file mode 100644 index 000000000000..69f5de020f19 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedClusterUpgradeSpecResponse.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The upgrade to apply to a ManagedCluster. + /// + [OutputType] + public sealed class ManagedClusterUpgradeSpecResponse + { + /// + /// The Kubernetes version to upgrade the member clusters to. + /// + public readonly string? KubernetesVersion; + /// + /// The upgrade type. + /// Full requires the KubernetesVersion property to be set. + /// NodeImageOnly requires the KubernetesVersion property not to be set. + /// + public readonly string Type; + + [OutputConstructor] + private ManagedClusterUpgradeSpecResponse( + string? kubernetesVersion, + + string type) + { + KubernetesVersion = kubernetesVersion; + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..d85290548a76 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + public readonly string Type; + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/MemberUpdateStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/MemberUpdateStatusResponse.cs new file mode 100644 index 000000000000..e86200ebd54e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/MemberUpdateStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The status of a member update operation. + /// + [OutputType] + public sealed class MemberUpdateStatusResponse + { + /// + /// The Azure resource id of the target Kubernetes cluster. + /// + public readonly string ClusterResourceId; + /// + /// The status message after processing the member update operation. + /// + public readonly string Message; + /// + /// The name of the FleetMember. + /// + public readonly string Name; + /// + /// The operation resource id of the latest attempt to perform the operation. + /// + public readonly string OperationId; + /// + /// The status of the MemberUpdate operation. + /// + public readonly Outputs.UpdateStatusResponse Status; + + [OutputConstructor] + private MemberUpdateStatusResponse( + string clusterResourceId, + + string message, + + string name, + + string operationId, + + Outputs.UpdateStatusResponse status) + { + ClusterResourceId = clusterResourceId; + Message = message; + Name = name; + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageSelectionResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageSelectionResponse.cs new file mode 100644 index 000000000000..4a5ec0db326a --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageSelectionResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The node image upgrade to be applied to the target nodes in update run. + /// + [OutputType] + public sealed class NodeImageSelectionResponse + { + /// + /// The node image upgrade type. + /// + public readonly string Type; + + [OutputConstructor] + private NodeImageSelectionResponse(string type) + { + Type = type; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageSelectionStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageSelectionStatusResponse.cs new file mode 100644 index 000000000000..e4fb5d5698d3 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageSelectionStatusResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The node image upgrade specs for the update run. + /// + [OutputType] + public sealed class NodeImageSelectionStatusResponse + { + /// + /// The image versions to upgrade the nodes to. + /// + public readonly ImmutableArray SelectedNodeImageVersions; + + [OutputConstructor] + private NodeImageSelectionStatusResponse(ImmutableArray selectedNodeImageVersions) + { + SelectedNodeImageVersions = selectedNodeImageVersions; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageVersionResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageVersionResponse.cs new file mode 100644 index 000000000000..01b1c3163f1b --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/NodeImageVersionResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The node upgrade image version. + /// + [OutputType] + public sealed class NodeImageVersionResponse + { + /// + /// The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13'). + /// + public readonly string Version; + + [OutputConstructor] + private NodeImageVersionResponse(string version) + { + Version = version; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..039ba3b9e721 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateGroupResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateGroupResponse.cs new file mode 100644 index 000000000000..494f0b8b8d1e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateGroupResponse.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// A group to be updated. + /// + [OutputType] + public sealed class UpdateGroupResponse + { + /// + /// Name of the group. + /// It must match a group name of an existing fleet member. + /// + public readonly string Name; + + [OutputConstructor] + private UpdateGroupResponse(string name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateGroupStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateGroupStatusResponse.cs new file mode 100644 index 000000000000..3ea2786e23d0 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateGroupStatusResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The status of a UpdateGroup. + /// + [OutputType] + public sealed class UpdateGroupStatusResponse + { + /// + /// The list of member this UpdateGroup updates. + /// + public readonly ImmutableArray Members; + /// + /// The name of the UpdateGroup. + /// + public readonly string Name; + /// + /// The status of the UpdateGroup. + /// + public readonly Outputs.UpdateStatusResponse Status; + + [OutputConstructor] + private UpdateGroupStatusResponse( + ImmutableArray members, + + string name, + + Outputs.UpdateStatusResponse status) + { + Members = members; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateRunStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateRunStatusResponse.cs new file mode 100644 index 000000000000..d2b2800a678d --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateRunStatusResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The status of a UpdateRun. + /// + [OutputType] + public sealed class UpdateRunStatusResponse + { + /// + /// The node image upgrade specs for the update run. It is only set in update run when `NodeImageSelection.type` is `Consistent`. + /// + public readonly Outputs.NodeImageSelectionStatusResponse NodeImageSelection; + /// + /// The stages composing an update run. Stages are run sequentially withing an UpdateRun. + /// + public readonly ImmutableArray Stages; + /// + /// The status of the UpdateRun. + /// + public readonly Outputs.UpdateStatusResponse Status; + + [OutputConstructor] + private UpdateRunStatusResponse( + Outputs.NodeImageSelectionStatusResponse nodeImageSelection, + + ImmutableArray stages, + + Outputs.UpdateStatusResponse status) + { + NodeImageSelection = nodeImageSelection; + Stages = stages; + Status = status; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateRunStrategyResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateRunStrategyResponse.cs new file mode 100644 index 000000000000..d7855edb62b9 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateRunStrategyResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// Defines the update sequence of the clusters via stages and groups. + /// + /// Stages within a run are executed sequentially one after another. + /// Groups within a stage are executed in parallel. + /// Member clusters within a group are updated sequentially one after another. + /// + /// A valid strategy contains no duplicate groups within or across stages. + /// + [OutputType] + public sealed class UpdateRunStrategyResponse + { + /// + /// The list of stages that compose this update run. Min size: 1. + /// + public readonly ImmutableArray Stages; + + [OutputConstructor] + private UpdateRunStrategyResponse(ImmutableArray stages) + { + Stages = stages; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStageResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStageResponse.cs new file mode 100644 index 000000000000..56514992d0a7 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStageResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + /// + [OutputType] + public sealed class UpdateStageResponse + { + /// + /// The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + /// + public readonly int? AfterStageWaitInSeconds; + /// + /// Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + /// + public readonly ImmutableArray Groups; + /// + /// The name of the stage. Must be unique within the UpdateRun. + /// + public readonly string Name; + + [OutputConstructor] + private UpdateStageResponse( + int? afterStageWaitInSeconds, + + ImmutableArray groups, + + string name) + { + AfterStageWaitInSeconds = afterStageWaitInSeconds; + Groups = groups; + Name = name; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStageStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStageStatusResponse.cs new file mode 100644 index 000000000000..95c061a46c5e --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStageStatusResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The status of a UpdateStage. + /// + [OutputType] + public sealed class UpdateStageStatusResponse + { + /// + /// The status of the wait period configured on the UpdateStage. + /// + public readonly Outputs.WaitStatusResponse AfterStageWaitStatus; + /// + /// The list of groups to be updated as part of this UpdateStage. + /// + public readonly ImmutableArray Groups; + /// + /// The name of the UpdateStage. + /// + public readonly string Name; + /// + /// The status of the UpdateStage. + /// + public readonly Outputs.UpdateStatusResponse Status; + + [OutputConstructor] + private UpdateStageStatusResponse( + Outputs.WaitStatusResponse afterStageWaitStatus, + + ImmutableArray groups, + + string name, + + Outputs.UpdateStatusResponse status) + { + AfterStageWaitStatus = afterStageWaitStatus; + Groups = groups; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStatusResponse.cs new file mode 100644 index 000000000000..5b393e4708a0 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UpdateStatusResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The status for an operation or group of operations. + /// + [OutputType] + public sealed class UpdateStatusResponse + { + /// + /// The time the operation or group was completed. + /// + public readonly string CompletedTime; + /// + /// The error details when a failure is encountered. + /// + public readonly Outputs.ErrorDetailResponse Error; + /// + /// The time the operation or group was started. + /// + public readonly string StartTime; + /// + /// The State of the operation or group. + /// + public readonly string State; + + [OutputConstructor] + private UpdateStatusResponse( + string completedTime, + + Outputs.ErrorDetailResponse error, + + string startTime, + + string state) + { + CompletedTime = completedTime; + Error = error; + StartTime = startTime; + State = state; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..0134cde83de6 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/ContainerService/V20230815Preview/Outputs/WaitStatusResponse.cs b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/WaitStatusResponse.cs new file mode 100644 index 000000000000..d9ef5f40c475 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/Outputs/WaitStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview.Outputs +{ + + /// + /// The status of the wait duration. + /// + [OutputType] + public sealed class WaitStatusResponse + { + /// + /// The status of the wait duration. + /// + public readonly Outputs.UpdateStatusResponse Status; + /// + /// The wait duration configured in seconds. + /// + public readonly int WaitDurationInSeconds; + + [OutputConstructor] + private WaitStatusResponse( + Outputs.UpdateStatusResponse status, + + int waitDurationInSeconds) + { + Status = status; + WaitDurationInSeconds = waitDurationInSeconds; + } + } +} diff --git a/sdk/dotnet/StorageTasks/README.md b/sdk/dotnet/ContainerService/V20230815Preview/README.md similarity index 100% rename from sdk/dotnet/StorageTasks/README.md rename to sdk/dotnet/ContainerService/V20230815Preview/README.md diff --git a/sdk/dotnet/ContainerService/V20230815Preview/UpdateRun.cs b/sdk/dotnet/ContainerService/V20230815Preview/UpdateRun.cs new file mode 100644 index 000000000000..af81a2e4cab4 --- /dev/null +++ b/sdk/dotnet/ContainerService/V20230815Preview/UpdateRun.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ContainerService.V20230815Preview +{ + /// + /// A multi-stage process to perform update operations across members of a Fleet. + /// + [AzureNativeResourceType("azure-native:containerservice/v20230815preview:UpdateRun")] + public partial class UpdateRun : global::Pulumi.CustomResource + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + /// + [Output("managedClusterUpdate")] + public Output ManagedClusterUpdate { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the UpdateRun resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The status of the UpdateRun. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The strategy defines the order in which the clusters will be updated. + /// If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + /// The strategy of the UpdateRun can be modified until the run is started. + /// + [Output("strategy")] + public Output Strategy { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The resource id of the FleetUpdateStrategy resource to reference. + /// + /// When creating a new run, there are three ways to define a strategy for the run: + /// 1. Define a new strategy in place: Set the "strategy" field. + /// 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + /// 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + /// + /// Setting both "updateStrategyId" and "strategy" is invalid. + /// + /// UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + /// Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + /// UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + /// + [Output("updateStrategyId")] + public Output UpdateStrategyId { get; private set; } = null!; + + + /// + /// Create a UpdateRun 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 UpdateRun(string name, UpdateRunArgs args, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:UpdateRun", name, args ?? new UpdateRunArgs(), MakeResourceOptions(options, "")) + { + } + + private UpdateRun(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:containerservice/v20230815preview:UpdateRun", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:containerservice:UpdateRun"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230315preview:UpdateRun"}, + new global::Pulumi.Alias { Type = "azure-native:containerservice/v20230615preview:UpdateRun"}, + }, + }; + 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 UpdateRun 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. + /// A bag of options that control this resource's behavior + public static UpdateRun Get(string name, Input id, CustomResourceOptions? options = null) + { + return new UpdateRun(name, id, options); + } + } + + public sealed class UpdateRunArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Fleet resource. + /// + [Input("fleetName", required: true)] + public Input FleetName { get; set; } = null!; + + /// + /// The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + /// + [Input("managedClusterUpdate", required: true)] + public Input ManagedClusterUpdate { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The strategy defines the order in which the clusters will be updated. + /// If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + /// The strategy of the UpdateRun can be modified until the run is started. + /// + [Input("strategy")] + public Input? Strategy { get; set; } + + /// + /// The name of the UpdateRun resource. + /// + [Input("updateRunName")] + public Input? UpdateRunName { get; set; } + + /// + /// The resource id of the FleetUpdateStrategy resource to reference. + /// + /// When creating a new run, there are three ways to define a strategy for the run: + /// 1. Define a new strategy in place: Set the "strategy" field. + /// 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + /// 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + /// + /// Setting both "updateStrategyId" and "strategy" is invalid. + /// + /// UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + /// Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + /// UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + /// + [Input("updateStrategyId")] + public Input? UpdateStrategyId { get; set; } + + public UpdateRunArgs() + { + } + public static new UpdateRunArgs Empty => new UpdateRunArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/AzureADAdministrator.cs b/sdk/dotnet/DBforMySQL/AzureADAdministrator.cs index bbcb4e9e05df..dea2253ba1a4 100644 --- a/sdk/dotnet/DBforMySQL/AzureADAdministrator.cs +++ b/sdk/dotnet/DBforMySQL/AzureADAdministrator.cs @@ -91,6 +91,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:AzureADAdministrator"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:AzureADAdministrator"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:AzureADAdministrator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/Configuration.cs b/sdk/dotnet/DBforMySQL/Configuration.cs index 9d74d7020932..ee1530614aa0 100644 --- a/sdk/dotnet/DBforMySQL/Configuration.cs +++ b/sdk/dotnet/DBforMySQL/Configuration.cs @@ -131,6 +131,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/Database.cs b/sdk/dotnet/DBforMySQL/Database.cs index 2a5dbf4d781a..29954a009f10 100644 --- a/sdk/dotnet/DBforMySQL/Database.cs +++ b/sdk/dotnet/DBforMySQL/Database.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/FirewallRule.cs b/sdk/dotnet/DBforMySQL/FirewallRule.cs index 2149e95fce3a..27502ff37e52 100644 --- a/sdk/dotnet/DBforMySQL/FirewallRule.cs +++ b/sdk/dotnet/DBforMySQL/FirewallRule.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/Server.cs b/sdk/dotnet/DBforMySQL/Server.cs index bbd4ef8c53cd..18b5a5a44a53 100644 --- a/sdk/dotnet/DBforMySQL/Server.cs +++ b/sdk/dotnet/DBforMySQL/Server.cs @@ -174,6 +174,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220930preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20200701Preview/Server.cs b/sdk/dotnet/DBforMySQL/V20200701Preview/Server.cs index 08fc757f985f..c0c4cae04a33 100644 --- a/sdk/dotnet/DBforMySQL/V20200701Preview/Server.cs +++ b/sdk/dotnet/DBforMySQL/V20200701Preview/Server.cs @@ -197,6 +197,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220930preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Configuration.cs b/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Configuration.cs index 1efddda58006..07f745927071 100644 --- a/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Configuration.cs +++ b/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Configuration.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Server.cs b/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Server.cs index 0a12e8c3f1c0..d135310e376b 100644 --- a/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Server.cs +++ b/sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Server.cs @@ -191,6 +191,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220930preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20220101/AzureADAdministrator.cs b/sdk/dotnet/DBforMySQL/V20220101/AzureADAdministrator.cs index 51b09ba4482f..e9566cf23bc5 100644 --- a/sdk/dotnet/DBforMySQL/V20220101/AzureADAdministrator.cs +++ b/sdk/dotnet/DBforMySQL/V20220101/AzureADAdministrator.cs @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:dbformysql:AzureADAdministrator"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:AzureADAdministrator"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:AzureADAdministrator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20220101/Configuration.cs b/sdk/dotnet/DBforMySQL/V20220101/Configuration.cs index bba086c9aff0..bf2da90434b4 100644 --- a/sdk/dotnet/DBforMySQL/V20220101/Configuration.cs +++ b/sdk/dotnet/DBforMySQL/V20220101/Configuration.cs @@ -130,6 +130,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Configuration"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Configuration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20220101/Database.cs b/sdk/dotnet/DBforMySQL/V20220101/Database.cs index 64703b53b6d3..4974ba40c821 100644 --- a/sdk/dotnet/DBforMySQL/V20220101/Database.cs +++ b/sdk/dotnet/DBforMySQL/V20220101/Database.cs @@ -76,6 +76,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Database"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20220101/FirewallRule.cs b/sdk/dotnet/DBforMySQL/V20220101/FirewallRule.cs index d6207758ccd6..7500730f6be6 100644 --- a/sdk/dotnet/DBforMySQL/V20220101/FirewallRule.cs +++ b/sdk/dotnet/DBforMySQL/V20220101/FirewallRule.cs @@ -76,6 +76,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:FirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:FirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20220101/Server.cs b/sdk/dotnet/DBforMySQL/V20220101/Server.cs index a58d35a44ff0..9eaad9ea48be 100644 --- a/sdk/dotnet/DBforMySQL/V20220101/Server.cs +++ b/sdk/dotnet/DBforMySQL/V20220101/Server.cs @@ -173,6 +173,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220930preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20220930Preview/Server.cs b/sdk/dotnet/DBforMySQL/V20220930Preview/Server.cs index 92f6955eb2f6..a65ea1e276b6 100644 --- a/sdk/dotnet/DBforMySQL/V20220930Preview/Server.cs +++ b/sdk/dotnet/DBforMySQL/V20220930Preview/Server.cs @@ -173,6 +173,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Server"}, new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20230601preview:Server"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/AzureADAdministrator.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/AzureADAdministrator.cs new file mode 100644 index 000000000000..ed4cb357ce15 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/AzureADAdministrator.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + /// + /// Represents a Administrator. + /// + [AzureNativeResourceType("azure-native:dbformysql/v20230601preview:AzureADAdministrator")] + public partial class AzureADAdministrator : global::Pulumi.CustomResource + { + /// + /// Type of the sever administrator. + /// + [Output("administratorType")] + public Output AdministratorType { get; private set; } = null!; + + /// + /// The resource id of the identity used for AAD Authentication. + /// + [Output("identityResourceId")] + public Output IdentityResourceId { get; private set; } = null!; + + /// + /// Login name of the server administrator. + /// + [Output("login")] + public Output Login { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// SID (object ID) of the server administrator. + /// + [Output("sid")] + public Output Sid { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Tenant ID of the administrator. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AzureADAdministrator 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 AzureADAdministrator(string name, AzureADAdministratorArgs args, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:AzureADAdministrator", name, args ?? new AzureADAdministratorArgs(), MakeResourceOptions(options, "")) + { + } + + private AzureADAdministrator(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:AzureADAdministrator", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dbformysql:AzureADAdministrator"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:AzureADAdministrator"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:AzureADAdministrator"}, + }, + }; + 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 AzureADAdministrator 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. + /// A bag of options that control this resource's behavior + public static AzureADAdministrator Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AzureADAdministrator(name, id, options); + } + } + + public sealed class AzureADAdministratorArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Azure AD Administrator. + /// + [Input("administratorName")] + public Input? AdministratorName { get; set; } + + /// + /// Type of the sever administrator. + /// + [Input("administratorType")] + public InputUnion? AdministratorType { get; set; } + + /// + /// The resource id of the identity used for AAD Authentication. + /// + [Input("identityResourceId")] + public Input? IdentityResourceId { get; set; } + + /// + /// Login name of the server administrator. + /// + [Input("login")] + public Input? Login { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + /// + /// SID (object ID) of the server administrator. + /// + [Input("sid")] + public Input? Sid { get; set; } + + /// + /// Tenant ID of the administrator. + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + public AzureADAdministratorArgs() + { + } + public static new AzureADAdministratorArgs Empty => new AzureADAdministratorArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Configuration.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Configuration.cs new file mode 100644 index 000000000000..416576bf7218 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Configuration.cs @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + /// + /// Represents a Configuration. + /// + [AzureNativeResourceType("azure-native:dbformysql/v20230601preview:Configuration")] + public partial class Configuration : global::Pulumi.CustomResource + { + /// + /// Allowed values of the configuration. + /// + [Output("allowedValues")] + public Output AllowedValues { get; private set; } = null!; + + /// + /// Current value of the configuration. + /// + [Output("currentValue")] + public Output CurrentValue { get; private set; } = null!; + + /// + /// Data type of the configuration. + /// + [Output("dataType")] + public Output DataType { get; private set; } = null!; + + /// + /// Default value of the configuration. + /// + [Output("defaultValue")] + public Output DefaultValue { get; private set; } = null!; + + /// + /// Description of the configuration. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The link used to get the document from community or Azure site. + /// + [Output("documentationLink")] + public Output DocumentationLink { get; private set; } = null!; + + /// + /// If is the configuration pending restart or not. + /// + [Output("isConfigPendingRestart")] + public Output IsConfigPendingRestart { get; private set; } = null!; + + /// + /// If is the configuration dynamic. + /// + [Output("isDynamicConfig")] + public Output IsDynamicConfig { get; private set; } = null!; + + /// + /// If is the configuration read only. + /// + [Output("isReadOnly")] + public Output IsReadOnly { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Source of the configuration. + /// + [Output("source")] + public Output Source { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Value of the configuration. + /// + [Output("value")] + public Output Value { get; private set; } = null!; + + + /// + /// Create a Configuration 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 Configuration(string name, ConfigurationArgs args, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:Configuration", name, args ?? new ConfigurationArgs(), MakeResourceOptions(options, "")) + { + } + + private Configuration(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:Configuration", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dbformysql:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701preview:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701privatepreview:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Configuration"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Configuration"}, + }, + }; + 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 Configuration 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. + /// A bag of options that control this resource's behavior + public static Configuration Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Configuration(name, id, options); + } + } + + public sealed class ConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the server configuration. + /// + [Input("configurationName")] + public Input? ConfigurationName { get; set; } + + /// + /// Current value of the configuration. + /// + [Input("currentValue")] + public Input? CurrentValue { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + /// + /// Source of the configuration. + /// + [Input("source")] + public InputUnion? Source { get; set; } + + /// + /// Value of the configuration. + /// + [Input("value")] + public Input? Value { get; set; } + + public ConfigurationArgs() + { + } + public static new ConfigurationArgs Empty => new ConfigurationArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Database.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Database.cs new file mode 100644 index 000000000000..8039bfbb2fde --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Database.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + /// + /// Represents a Database. + /// + [AzureNativeResourceType("azure-native:dbformysql/v20230601preview:Database")] + public partial class Database : global::Pulumi.CustomResource + { + /// + /// The charset of the database. + /// + [Output("charset")] + public Output Charset { get; private set; } = null!; + + /// + /// The collation of the database. + /// + [Output("collation")] + public Output Collation { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Database 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 Database(string name, DatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:Database", name, args ?? new DatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private Database(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:Database", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dbformysql:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701preview:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701privatepreview:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Database"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Database"}, + }, + }; + 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 Database 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. + /// A bag of options that control this resource's behavior + public static Database Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Database(name, id, options); + } + } + + public sealed class DatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// The charset of the database. + /// + [Input("charset")] + public Input? Charset { get; set; } + + /// + /// The collation of the database. + /// + [Input("collation")] + public Input? Collation { get; set; } + + /// + /// The name of the database. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + public DatabaseArgs() + { + } + public static new DatabaseArgs Empty => new DatabaseArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Enums.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Enums.cs new file mode 100644 index 000000000000..aab2b1e4f3d9 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Enums.cs @@ -0,0 +1,352 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.DBforMySQL.V20230601Preview +{ + /// + /// Type of the sever administrator. + /// + [EnumType] + public readonly struct AdministratorType : IEquatable + { + private readonly string _value; + + private AdministratorType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AdministratorType ActiveDirectory { get; } = new AdministratorType("ActiveDirectory"); + + public static bool operator ==(AdministratorType left, AdministratorType right) => left.Equals(right); + public static bool operator !=(AdministratorType left, AdministratorType right) => !left.Equals(right); + + public static explicit operator string(AdministratorType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AdministratorType other && Equals(other); + public bool Equals(AdministratorType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Source of the configuration. + /// + [EnumType] + public readonly struct ConfigurationSource : IEquatable + { + private readonly string _value; + + private ConfigurationSource(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConfigurationSource System_default { get; } = new ConfigurationSource("system-default"); + public static ConfigurationSource User_override { get; } = new ConfigurationSource("user-override"); + + public static bool operator ==(ConfigurationSource left, ConfigurationSource right) => left.Equals(right); + public static bool operator !=(ConfigurationSource left, ConfigurationSource right) => !left.Equals(right); + + public static explicit operator string(ConfigurationSource value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConfigurationSource other && Equals(other); + public bool Equals(ConfigurationSource other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The mode to create a new MySQL server. + /// + [EnumType] + public readonly struct CreateMode : IEquatable + { + private readonly string _value; + + private CreateMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CreateMode Default { get; } = new CreateMode("Default"); + public static CreateMode PointInTimeRestore { get; } = new CreateMode("PointInTimeRestore"); + public static CreateMode Replica { get; } = new CreateMode("Replica"); + public static CreateMode GeoRestore { get; } = new CreateMode("GeoRestore"); + + public static bool operator ==(CreateMode left, CreateMode right) => left.Equals(right); + public static bool operator !=(CreateMode left, CreateMode right) => !left.Equals(right); + + public static explicit operator string(CreateMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CreateMode other && Equals(other); + public bool Equals(CreateMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + /// + [EnumType] + public readonly struct DataEncryptionType : IEquatable + { + private readonly string _value; + + private DataEncryptionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataEncryptionType AzureKeyVault { get; } = new DataEncryptionType("AzureKeyVault"); + public static DataEncryptionType SystemManaged { get; } = new DataEncryptionType("SystemManaged"); + + public static bool operator ==(DataEncryptionType left, DataEncryptionType right) => left.Equals(right); + public static bool operator !=(DataEncryptionType left, DataEncryptionType right) => !left.Equals(right); + + public static explicit operator string(DataEncryptionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataEncryptionType other && Equals(other); + public bool Equals(DataEncryptionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enable Log On Disk or not. + /// + [EnumType] + public readonly struct EnableStatusEnum : IEquatable + { + private readonly string _value; + + private EnableStatusEnum(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EnableStatusEnum Enabled { get; } = new EnableStatusEnum("Enabled"); + public static EnableStatusEnum Disabled { get; } = new EnableStatusEnum("Disabled"); + + public static bool operator ==(EnableStatusEnum left, EnableStatusEnum right) => left.Equals(right); + public static bool operator !=(EnableStatusEnum left, EnableStatusEnum right) => !left.Equals(right); + + public static explicit operator string(EnableStatusEnum value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EnableStatusEnum other && Equals(other); + public bool Equals(EnableStatusEnum other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// High availability mode for a server. + /// + [EnumType] + public readonly struct HighAvailabilityMode : IEquatable + { + private readonly string _value; + + private HighAvailabilityMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HighAvailabilityMode Disabled { get; } = new HighAvailabilityMode("Disabled"); + public static HighAvailabilityMode ZoneRedundant { get; } = new HighAvailabilityMode("ZoneRedundant"); + public static HighAvailabilityMode SameZone { get; } = new HighAvailabilityMode("SameZone"); + + public static bool operator ==(HighAvailabilityMode left, HighAvailabilityMode right) => left.Equals(right); + public static bool operator !=(HighAvailabilityMode left, HighAvailabilityMode right) => !left.Equals(right); + + public static explicit operator string(HighAvailabilityMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HighAvailabilityMode other && Equals(other); + public bool Equals(HighAvailabilityMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Storage type of import source. + /// + [EnumType] + public readonly struct ImportSourceStorageType : IEquatable + { + private readonly string _value; + + private ImportSourceStorageType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ImportSourceStorageType AzureBlob { get; } = new ImportSourceStorageType("AzureBlob"); + + public static bool operator ==(ImportSourceStorageType left, ImportSourceStorageType right) => left.Equals(right); + public static bool operator !=(ImportSourceStorageType left, ImportSourceStorageType right) => !left.Equals(right); + + public static explicit operator string(ImportSourceStorageType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ImportSourceStorageType other && Equals(other); + public bool Equals(ImportSourceStorageType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of managed service identity. + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The replication role. + /// + [EnumType] + public readonly struct ReplicationRole : IEquatable + { + private readonly string _value; + + private ReplicationRole(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ReplicationRole None { get; } = new ReplicationRole("None"); + public static ReplicationRole Source { get; } = new ReplicationRole("Source"); + public static ReplicationRole Replica { get; } = new ReplicationRole("Replica"); + + public static bool operator ==(ReplicationRole left, ReplicationRole right) => left.Equals(right); + public static bool operator !=(ReplicationRole left, ReplicationRole right) => !left.Equals(right); + + public static explicit operator string(ReplicationRole value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ReplicationRole other && Equals(other); + public bool Equals(ReplicationRole other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The tier of the particular SKU, e.g. GeneralPurpose. + /// + [EnumType] + public readonly struct ServerSkuTier : IEquatable + { + private readonly string _value; + + private ServerSkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServerSkuTier Burstable { get; } = new ServerSkuTier("Burstable"); + public static ServerSkuTier GeneralPurpose { get; } = new ServerSkuTier("GeneralPurpose"); + public static ServerSkuTier MemoryOptimized { get; } = new ServerSkuTier("MemoryOptimized"); + + public static bool operator ==(ServerSkuTier left, ServerSkuTier right) => left.Equals(right); + public static bool operator !=(ServerSkuTier left, ServerSkuTier right) => !left.Equals(right); + + public static explicit operator string(ServerSkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServerSkuTier other && Equals(other); + public bool Equals(ServerSkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Server version. + /// + [EnumType] + public readonly struct ServerVersion : IEquatable + { + private readonly string _value; + + private ServerVersion(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServerVersion ServerVersion_5_7 { get; } = new ServerVersion("5.7"); + public static ServerVersion ServerVersion_8_0_21 { get; } = new ServerVersion("8.0.21"); + + public static bool operator ==(ServerVersion left, ServerVersion right) => left.Equals(right); + public static bool operator !=(ServerVersion left, ServerVersion right) => !left.Equals(right); + + public static explicit operator string(ServerVersion value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServerVersion other && Equals(other); + public bool Equals(ServerVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/FirewallRule.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/FirewallRule.cs new file mode 100644 index 000000000000..7105853fb9db --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/FirewallRule.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + /// + /// Represents a server firewall rule. + /// + [AzureNativeResourceType("azure-native:dbformysql/v20230601preview:FirewallRule")] + public partial class FirewallRule : global::Pulumi.CustomResource + { + /// + /// The end IP address of the server firewall rule. Must be IPv4 format. + /// + [Output("endIpAddress")] + public Output EndIpAddress { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The start IP address of the server firewall rule. Must be IPv4 format. + /// + [Output("startIpAddress")] + public Output StartIpAddress { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a FirewallRule 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 FirewallRule(string name, FirewallRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:FirewallRule", name, args ?? new FirewallRuleArgs(), MakeResourceOptions(options, "")) + { + } + + private FirewallRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:FirewallRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dbformysql:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701preview:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701privatepreview:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:FirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:FirewallRule"}, + }, + }; + 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 FirewallRule 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. + /// A bag of options that control this resource's behavior + public static FirewallRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new FirewallRule(name, id, options); + } + } + + public sealed class FirewallRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The end IP address of the server firewall rule. Must be IPv4 format. + /// + [Input("endIpAddress", required: true)] + public Input EndIpAddress { get; set; } = null!; + + /// + /// The name of the server firewall rule. + /// + [Input("firewallRuleName")] + public Input? FirewallRuleName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + /// + /// The start IP address of the server firewall rule. Must be IPv4 format. + /// + [Input("startIpAddress", required: true)] + public Input StartIpAddress { get; set; } = null!; + + public FirewallRuleArgs() + { + } + public static new FirewallRuleArgs Empty => new FirewallRuleArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/GetAzureADAdministrator.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/GetAzureADAdministrator.cs new file mode 100644 index 000000000000..3f5420afc837 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/GetAzureADAdministrator.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + public static class GetAzureADAdministrator + { + /// + /// Gets information about an azure ad administrator. + /// + public static Task InvokeAsync(GetAzureADAdministratorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbformysql/v20230601preview:getAzureADAdministrator", args ?? new GetAzureADAdministratorArgs(), options.WithDefaults()); + + /// + /// Gets information about an azure ad administrator. + /// + public static Output Invoke(GetAzureADAdministratorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbformysql/v20230601preview:getAzureADAdministrator", args ?? new GetAzureADAdministratorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAzureADAdministratorArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Azure AD Administrator. + /// + [Input("administratorName", required: true)] + public string AdministratorName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public string ServerName { get; set; } = null!; + + public GetAzureADAdministratorArgs() + { + } + public static new GetAzureADAdministratorArgs Empty => new GetAzureADAdministratorArgs(); + } + + public sealed class GetAzureADAdministratorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Azure AD Administrator. + /// + [Input("administratorName", required: true)] + public Input AdministratorName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + public GetAzureADAdministratorInvokeArgs() + { + } + public static new GetAzureADAdministratorInvokeArgs Empty => new GetAzureADAdministratorInvokeArgs(); + } + + + [OutputType] + public sealed class GetAzureADAdministratorResult + { + /// + /// Type of the sever administrator. + /// + public readonly string? AdministratorType; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The resource id of the identity used for AAD Authentication. + /// + public readonly string? IdentityResourceId; + /// + /// Login name of the server administrator. + /// + public readonly string? Login; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// SID (object ID) of the server administrator. + /// + public readonly string? Sid; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Tenant ID of the administrator. + /// + public readonly string? TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAzureADAdministratorResult( + string? administratorType, + + string id, + + string? identityResourceId, + + string? login, + + string name, + + string? sid, + + Outputs.SystemDataResponse systemData, + + string? tenantId, + + string type) + { + AdministratorType = administratorType; + Id = id; + IdentityResourceId = identityResourceId; + Login = login; + Name = name; + Sid = sid; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/GetConfiguration.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/GetConfiguration.cs new file mode 100644 index 000000000000..1d759fe8e9dd --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/GetConfiguration.cs @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + public static class GetConfiguration + { + /// + /// Gets information about a configuration of server. + /// + public static Task InvokeAsync(GetConfigurationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbformysql/v20230601preview:getConfiguration", args ?? new GetConfigurationArgs(), options.WithDefaults()); + + /// + /// Gets information about a configuration of server. + /// + public static Output Invoke(GetConfigurationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbformysql/v20230601preview:getConfiguration", args ?? new GetConfigurationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetConfigurationArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the server configuration. + /// + [Input("configurationName", required: true)] + public string ConfigurationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public string ServerName { get; set; } = null!; + + public GetConfigurationArgs() + { + } + public static new GetConfigurationArgs Empty => new GetConfigurationArgs(); + } + + public sealed class GetConfigurationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the server configuration. + /// + [Input("configurationName", required: true)] + public Input ConfigurationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + public GetConfigurationInvokeArgs() + { + } + public static new GetConfigurationInvokeArgs Empty => new GetConfigurationInvokeArgs(); + } + + + [OutputType] + public sealed class GetConfigurationResult + { + /// + /// Allowed values of the configuration. + /// + public readonly string AllowedValues; + /// + /// Current value of the configuration. + /// + public readonly string? CurrentValue; + /// + /// Data type of the configuration. + /// + public readonly string DataType; + /// + /// Default value of the configuration. + /// + public readonly string DefaultValue; + /// + /// Description of the configuration. + /// + public readonly string Description; + /// + /// The link used to get the document from community or Azure site. + /// + public readonly string DocumentationLink; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// If is the configuration pending restart or not. + /// + public readonly string IsConfigPendingRestart; + /// + /// If is the configuration dynamic. + /// + public readonly string IsDynamicConfig; + /// + /// If is the configuration read only. + /// + public readonly string IsReadOnly; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Source of the configuration. + /// + public readonly string? Source; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Value of the configuration. + /// + public readonly string? Value; + + [OutputConstructor] + private GetConfigurationResult( + string allowedValues, + + string? currentValue, + + string dataType, + + string defaultValue, + + string description, + + string documentationLink, + + string id, + + string isConfigPendingRestart, + + string isDynamicConfig, + + string isReadOnly, + + string name, + + string? source, + + Outputs.SystemDataResponse systemData, + + string type, + + string? value) + { + AllowedValues = allowedValues; + CurrentValue = currentValue; + DataType = dataType; + DefaultValue = defaultValue; + Description = description; + DocumentationLink = documentationLink; + Id = id; + IsConfigPendingRestart = isConfigPendingRestart; + IsDynamicConfig = isDynamicConfig; + IsReadOnly = isReadOnly; + Name = name; + Source = source; + SystemData = systemData; + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/GetDatabase.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/GetDatabase.cs new file mode 100644 index 000000000000..a9d2f850efc0 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/GetDatabase.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + public static class GetDatabase + { + /// + /// Gets information about a database. + /// + public static Task InvokeAsync(GetDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbformysql/v20230601preview:getDatabase", args ?? new GetDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets information about a database. + /// + public static Output Invoke(GetDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbformysql/v20230601preview:getDatabase", args ?? new GetDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the database. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public string ServerName { get; set; } = null!; + + public GetDatabaseArgs() + { + } + public static new GetDatabaseArgs Empty => new GetDatabaseArgs(); + } + + public sealed class GetDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the database. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + public GetDatabaseInvokeArgs() + { + } + public static new GetDatabaseInvokeArgs Empty => new GetDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetDatabaseResult + { + /// + /// The charset of the database. + /// + public readonly string? Charset; + /// + /// The collation of the database. + /// + public readonly string? Collation; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetDatabaseResult( + string? charset, + + string? collation, + + string id, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Charset = charset; + Collation = collation; + Id = id; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/GetFirewallRule.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/GetFirewallRule.cs new file mode 100644 index 000000000000..e0f1bc641594 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/GetFirewallRule.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + public static class GetFirewallRule + { + /// + /// Gets information about a server firewall rule. + /// + public static Task InvokeAsync(GetFirewallRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbformysql/v20230601preview:getFirewallRule", args ?? new GetFirewallRuleArgs(), options.WithDefaults()); + + /// + /// Gets information about a server firewall rule. + /// + public static Output Invoke(GetFirewallRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbformysql/v20230601preview:getFirewallRule", args ?? new GetFirewallRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFirewallRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the server firewall rule. + /// + [Input("firewallRuleName", required: true)] + public string FirewallRuleName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public string ServerName { get; set; } = null!; + + public GetFirewallRuleArgs() + { + } + public static new GetFirewallRuleArgs Empty => new GetFirewallRuleArgs(); + } + + public sealed class GetFirewallRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the server firewall rule. + /// + [Input("firewallRuleName", required: true)] + public Input FirewallRuleName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + public GetFirewallRuleInvokeArgs() + { + } + public static new GetFirewallRuleInvokeArgs Empty => new GetFirewallRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetFirewallRuleResult + { + /// + /// The end IP address of the server firewall rule. Must be IPv4 format. + /// + public readonly string EndIpAddress; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The start IP address of the server firewall rule. Must be IPv4 format. + /// + public readonly string StartIpAddress; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetFirewallRuleResult( + string endIpAddress, + + string id, + + string name, + + string startIpAddress, + + Outputs.SystemDataResponse systemData, + + string type) + { + EndIpAddress = endIpAddress; + Id = id; + Name = name; + StartIpAddress = startIpAddress; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/GetGetPrivateDnsZoneSuffixExecute.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/GetGetPrivateDnsZoneSuffixExecute.cs new file mode 100644 index 000000000000..c0e7f66d91ea --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/GetGetPrivateDnsZoneSuffixExecute.cs @@ -0,0 +1,51 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + public static class GetGetPrivateDnsZoneSuffixExecute + { + /// + /// Get private DNS zone suffix in the cloud. + /// + public static Task InvokeAsync(GetGetPrivateDnsZoneSuffixExecuteArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbformysql/v20230601preview:getGetPrivateDnsZoneSuffixExecute", args ?? new GetGetPrivateDnsZoneSuffixExecuteArgs(), options.WithDefaults()); + + /// + /// Get private DNS zone suffix in the cloud. + /// + public static Output Invoke(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbformysql/v20230601preview:getGetPrivateDnsZoneSuffixExecute", InvokeArgs.Empty, options.WithDefaults()); + } + + + public sealed class GetGetPrivateDnsZoneSuffixExecuteArgs : global::Pulumi.InvokeArgs + { + public GetGetPrivateDnsZoneSuffixExecuteArgs() + { + } + public static new GetGetPrivateDnsZoneSuffixExecuteArgs Empty => new GetGetPrivateDnsZoneSuffixExecuteArgs(); + } + + + [OutputType] + public sealed class GetGetPrivateDnsZoneSuffixExecuteResult + { + /// + /// Represents the private DNS zone suffix. + /// + public readonly string? PrivateDnsZoneSuffix; + + [OutputConstructor] + private GetGetPrivateDnsZoneSuffixExecuteResult(string? privateDnsZoneSuffix) + { + PrivateDnsZoneSuffix = privateDnsZoneSuffix; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/GetServer.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/GetServer.cs new file mode 100644 index 000000000000..1e57eb4250a6 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/GetServer.cs @@ -0,0 +1,245 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + public static class GetServer + { + /// + /// Gets information about a server. + /// + public static Task InvokeAsync(GetServerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dbformysql/v20230601preview:getServer", args ?? new GetServerArgs(), options.WithDefaults()); + + /// + /// Gets information about a server. + /// + public static Output Invoke(GetServerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dbformysql/v20230601preview:getServer", args ?? new GetServerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServerArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public string ServerName { get; set; } = null!; + + public GetServerArgs() + { + } + public static new GetServerArgs Empty => new GetServerArgs(); + } + + public sealed class GetServerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the server. + /// + [Input("serverName", required: true)] + public Input ServerName { get; set; } = null!; + + public GetServerInvokeArgs() + { + } + public static new GetServerInvokeArgs Empty => new GetServerInvokeArgs(); + } + + + [OutputType] + public sealed class GetServerResult + { + /// + /// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + /// + public readonly string? AdministratorLogin; + /// + /// availability Zone information of the server. + /// + public readonly string? AvailabilityZone; + /// + /// Backup related properties of a server. + /// + public readonly Outputs.BackupResponse? Backup; + /// + /// The Data Encryption for CMK. + /// + public readonly Outputs.DataEncryptionResponse? DataEncryption; + /// + /// The fully qualified domain name of a server. + /// + public readonly string FullyQualifiedDomainName; + /// + /// High availability related properties of a server. + /// + public readonly Outputs.HighAvailabilityResponse? HighAvailability; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The cmk identity for the server. + /// + public readonly Outputs.MySQLServerIdentityResponse? Identity; + /// + /// Source properties for import from storage. + /// + public readonly Outputs.ImportSourcePropertiesResponse? ImportSourceProperties; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// Maintenance window of a server. + /// + public readonly Outputs.MaintenanceWindowResponse? MaintenanceWindow; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Network related properties of a server. + /// + public readonly Outputs.NetworkResponse? Network; + /// + /// PrivateEndpointConnections related properties of a server. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The maximum number of replicas that a primary server can have. + /// + public readonly int ReplicaCapacity; + /// + /// The replication role. + /// + public readonly string? ReplicationRole; + /// + /// The SKU (pricing tier) of the server. + /// + public readonly Outputs.MySQLServerSkuResponse? Sku; + /// + /// The source MySQL server id. + /// + public readonly string? SourceServerResourceId; + /// + /// The state of a server. + /// + public readonly string State; + /// + /// Storage related properties of a server. + /// + public readonly Outputs.StorageResponse? Storage; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Server version. + /// + public readonly string? Version; + + [OutputConstructor] + private GetServerResult( + string? administratorLogin, + + string? availabilityZone, + + Outputs.BackupResponse? backup, + + Outputs.DataEncryptionResponse? dataEncryption, + + string fullyQualifiedDomainName, + + Outputs.HighAvailabilityResponse? highAvailability, + + string id, + + Outputs.MySQLServerIdentityResponse? identity, + + Outputs.ImportSourcePropertiesResponse? importSourceProperties, + + string location, + + Outputs.MaintenanceWindowResponse? maintenanceWindow, + + string name, + + Outputs.NetworkResponse? network, + + ImmutableArray privateEndpointConnections, + + int replicaCapacity, + + string? replicationRole, + + Outputs.MySQLServerSkuResponse? sku, + + string? sourceServerResourceId, + + string state, + + Outputs.StorageResponse? storage, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string? version) + { + AdministratorLogin = administratorLogin; + AvailabilityZone = availabilityZone; + Backup = backup; + DataEncryption = dataEncryption; + FullyQualifiedDomainName = fullyQualifiedDomainName; + HighAvailability = highAvailability; + Id = id; + Identity = identity; + ImportSourceProperties = importSourceProperties; + Location = location; + MaintenanceWindow = maintenanceWindow; + Name = name; + Network = network; + PrivateEndpointConnections = privateEndpointConnections; + ReplicaCapacity = replicaCapacity; + ReplicationRole = replicationRole; + Sku = sku; + SourceServerResourceId = sourceServerResourceId; + State = state; + Storage = storage; + SystemData = systemData; + Tags = tags; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/BackupArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/BackupArgs.cs new file mode 100644 index 000000000000..db9d8c848c8b --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/BackupArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Storage Profile properties of a server + /// + public sealed class BackupArgs : global::Pulumi.ResourceArgs + { + /// + /// Backup retention days for the server. + /// + [Input("backupRetentionDays")] + public Input? BackupRetentionDays { get; set; } + + /// + /// Whether or not geo redundant backup is enabled. + /// + [Input("geoRedundantBackup")] + public InputUnion? GeoRedundantBackup { get; set; } + + public BackupArgs() + { + GeoRedundantBackup = "Disabled"; + } + public static new BackupArgs Empty => new BackupArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/DataEncryptionArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/DataEncryptionArgs.cs new file mode 100644 index 000000000000..98249ad7681a --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/DataEncryptionArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// The date encryption for cmk. + /// + public sealed class DataEncryptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + /// + [Input("geoBackupKeyURI")] + public Input? GeoBackupKeyURI { get; set; } + + /// + /// Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + /// + [Input("geoBackupUserAssignedIdentityId")] + public Input? GeoBackupUserAssignedIdentityId { get; set; } + + /// + /// Primary key uri + /// + [Input("primaryKeyURI")] + public Input? PrimaryKeyURI { get; set; } + + /// + /// Primary user identity resource id + /// + [Input("primaryUserAssignedIdentityId")] + public Input? PrimaryUserAssignedIdentityId { get; set; } + + /// + /// The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + /// + [Input("type")] + public Input? Type { get; set; } + + public DataEncryptionArgs() + { + } + public static new DataEncryptionArgs Empty => new DataEncryptionArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/HighAvailabilityArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/HighAvailabilityArgs.cs new file mode 100644 index 000000000000..e61fbdc84408 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/HighAvailabilityArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Network related properties of a server + /// + public sealed class HighAvailabilityArgs : global::Pulumi.ResourceArgs + { + /// + /// High availability mode for a server. + /// + [Input("mode")] + public InputUnion? Mode { get; set; } + + /// + /// Availability zone of the standby server. + /// + [Input("standbyAvailabilityZone")] + public Input? StandbyAvailabilityZone { get; set; } + + public HighAvailabilityArgs() + { + } + public static new HighAvailabilityArgs Empty => new HighAvailabilityArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/ImportSourcePropertiesArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/ImportSourcePropertiesArgs.cs new file mode 100644 index 000000000000..3d911bc82384 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/ImportSourcePropertiesArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Import source related properties. + /// + public sealed class ImportSourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Relative path of data directory in storage. + /// + [Input("dataDirPath")] + public Input? DataDirPath { get; set; } + + /// + /// Sas token for accessing source storage. Read and list permissions are required for sas token. + /// + [Input("sasToken")] + public Input? SasToken { get; set; } + + /// + /// Storage type of import source. + /// + [Input("storageType")] + public InputUnion? StorageType { get; set; } + + /// + /// Uri of the import source storage. + /// + [Input("storageUrl")] + public Input? StorageUrl { get; set; } + + public ImportSourcePropertiesArgs() + { + } + public static new ImportSourcePropertiesArgs Empty => new ImportSourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MaintenanceWindowArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MaintenanceWindowArgs.cs new file mode 100644 index 000000000000..08775ec3c53b --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MaintenanceWindowArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Maintenance window of a server. + /// + public sealed class MaintenanceWindowArgs : global::Pulumi.ResourceArgs + { + /// + /// indicates whether custom window is enabled or disabled + /// + [Input("customWindow")] + public Input? CustomWindow { get; set; } + + /// + /// day of week for maintenance window + /// + [Input("dayOfWeek")] + public Input? DayOfWeek { get; set; } + + /// + /// start hour for maintenance window + /// + [Input("startHour")] + public Input? StartHour { get; set; } + + /// + /// start minute for maintenance window + /// + [Input("startMinute")] + public Input? StartMinute { get; set; } + + public MaintenanceWindowArgs() + { + } + public static new MaintenanceWindowArgs Empty => new MaintenanceWindowArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MySQLServerIdentityArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MySQLServerIdentityArgs.cs new file mode 100644 index 000000000000..df0a20e45284 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MySQLServerIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Properties to configure Identity for Bring your Own Keys + /// + public sealed class MySQLServerIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// Metadata of user assigned identity. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public MySQLServerIdentityArgs() + { + } + public static new MySQLServerIdentityArgs Empty => new MySQLServerIdentityArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MySQLServerSkuArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MySQLServerSkuArgs.cs new file mode 100644 index 000000000000..a587c51201f5 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/MySQLServerSkuArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Billing information related properties of a server. + /// + public sealed class MySQLServerSkuArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the sku, e.g. Standard_D32s_v3. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The tier of the particular SKU, e.g. GeneralPurpose. + /// + [Input("tier", required: true)] + public InputUnion Tier { get; set; } = null!; + + public MySQLServerSkuArgs() + { + } + public static new MySQLServerSkuArgs Empty => new MySQLServerSkuArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/NetworkArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/NetworkArgs.cs new file mode 100644 index 000000000000..bf526fdcf575 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/NetworkArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Network related properties of a server + /// + public sealed class NetworkArgs : global::Pulumi.ResourceArgs + { + /// + /// Delegated subnet resource id used to setup vnet for a server. + /// + [Input("delegatedSubnetResourceId")] + public Input? DelegatedSubnetResourceId { get; set; } + + /// + /// Private DNS zone resource id. + /// + [Input("privateDnsZoneResourceId")] + public Input? PrivateDnsZoneResourceId { get; set; } + + /// + /// Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + public NetworkArgs() + { + } + public static new NetworkArgs Empty => new NetworkArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/StorageArgs.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/StorageArgs.cs new file mode 100644 index 000000000000..24f098bed90d --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Inputs/StorageArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Inputs +{ + + /// + /// Storage Profile properties of a server + /// + public sealed class StorageArgs : global::Pulumi.ResourceArgs + { + /// + /// Enable Storage Auto Grow or not. + /// + [Input("autoGrow")] + public InputUnion? AutoGrow { get; set; } + + /// + /// Enable IO Auto Scaling or not. + /// + [Input("autoIoScaling")] + public InputUnion? AutoIoScaling { get; set; } + + /// + /// Storage IOPS for a server. + /// + [Input("iops")] + public Input? Iops { get; set; } + + /// + /// Enable Log On Disk or not. + /// + [Input("logOnDisk")] + public InputUnion? LogOnDisk { get; set; } + + /// + /// Max storage size allowed for a server. + /// + [Input("storageSizeGB")] + public Input? StorageSizeGB { get; set; } + + public StorageArgs() + { + AutoGrow = "Disabled"; + AutoIoScaling = "Disabled"; + LogOnDisk = "Disabled"; + } + public static new StorageArgs Empty => new StorageArgs(); + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/BackupResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/BackupResponse.cs new file mode 100644 index 000000000000..38d15af5c3d1 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/BackupResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Storage Profile properties of a server + /// + [OutputType] + public sealed class BackupResponse + { + /// + /// Backup retention days for the server. + /// + public readonly int? BackupRetentionDays; + /// + /// Earliest restore point creation time (ISO8601 format) + /// + public readonly string EarliestRestoreDate; + /// + /// Whether or not geo redundant backup is enabled. + /// + public readonly string? GeoRedundantBackup; + + [OutputConstructor] + private BackupResponse( + int? backupRetentionDays, + + string earliestRestoreDate, + + string? geoRedundantBackup) + { + BackupRetentionDays = backupRetentionDays; + EarliestRestoreDate = earliestRestoreDate; + GeoRedundantBackup = geoRedundantBackup; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/DataEncryptionResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/DataEncryptionResponse.cs new file mode 100644 index 000000000000..9c8a8fbd19b9 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/DataEncryptionResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// The date encryption for cmk. + /// + [OutputType] + public sealed class DataEncryptionResponse + { + /// + /// Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + /// + public readonly string? GeoBackupKeyURI; + /// + /// Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + /// + public readonly string? GeoBackupUserAssignedIdentityId; + /// + /// Primary key uri + /// + public readonly string? PrimaryKeyURI; + /// + /// Primary user identity resource id + /// + public readonly string? PrimaryUserAssignedIdentityId; + /// + /// The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + /// + public readonly string? Type; + + [OutputConstructor] + private DataEncryptionResponse( + string? geoBackupKeyURI, + + string? geoBackupUserAssignedIdentityId, + + string? primaryKeyURI, + + string? primaryUserAssignedIdentityId, + + string? type) + { + GeoBackupKeyURI = geoBackupKeyURI; + GeoBackupUserAssignedIdentityId = geoBackupUserAssignedIdentityId; + PrimaryKeyURI = primaryKeyURI; + PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId; + Type = type; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/HighAvailabilityResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/HighAvailabilityResponse.cs new file mode 100644 index 000000000000..850577d0f365 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/HighAvailabilityResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Network related properties of a server + /// + [OutputType] + public sealed class HighAvailabilityResponse + { + /// + /// High availability mode for a server. + /// + public readonly string? Mode; + /// + /// Availability zone of the standby server. + /// + public readonly string? StandbyAvailabilityZone; + /// + /// The state of server high availability. + /// + public readonly string State; + + [OutputConstructor] + private HighAvailabilityResponse( + string? mode, + + string? standbyAvailabilityZone, + + string state) + { + Mode = mode; + StandbyAvailabilityZone = standbyAvailabilityZone; + State = state; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/ImportSourcePropertiesResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/ImportSourcePropertiesResponse.cs new file mode 100644 index 000000000000..cdd8b0c41c47 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/ImportSourcePropertiesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Import source related properties. + /// + [OutputType] + public sealed class ImportSourcePropertiesResponse + { + /// + /// Relative path of data directory in storage. + /// + public readonly string? DataDirPath; + /// + /// Storage type of import source. + /// + public readonly string? StorageType; + /// + /// Uri of the import source storage. + /// + public readonly string? StorageUrl; + + [OutputConstructor] + private ImportSourcePropertiesResponse( + string? dataDirPath, + + string? storageType, + + string? storageUrl) + { + DataDirPath = dataDirPath; + StorageType = storageType; + StorageUrl = storageUrl; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MaintenanceWindowResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MaintenanceWindowResponse.cs new file mode 100644 index 000000000000..8efff913bd09 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MaintenanceWindowResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Maintenance window of a server. + /// + [OutputType] + public sealed class MaintenanceWindowResponse + { + /// + /// indicates whether custom window is enabled or disabled + /// + public readonly string? CustomWindow; + /// + /// day of week for maintenance window + /// + public readonly int? DayOfWeek; + /// + /// start hour for maintenance window + /// + public readonly int? StartHour; + /// + /// start minute for maintenance window + /// + public readonly int? StartMinute; + + [OutputConstructor] + private MaintenanceWindowResponse( + string? customWindow, + + int? dayOfWeek, + + int? startHour, + + int? startMinute) + { + CustomWindow = customWindow; + DayOfWeek = dayOfWeek; + StartHour = startHour; + StartMinute = startMinute; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MySQLServerIdentityResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MySQLServerIdentityResponse.cs new file mode 100644 index 000000000000..3cb9b20f3d23 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MySQLServerIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Properties to configure Identity for Bring your Own Keys + /// + [OutputType] + public sealed class MySQLServerIdentityResponse + { + /// + /// ObjectId from the KeyVault + /// + public readonly string PrincipalId; + /// + /// TenantId from the KeyVault + /// + public readonly string TenantId; + /// + /// Type of managed service identity. + /// + public readonly string? Type; + /// + /// Metadata of user assigned identity. + /// + public readonly ImmutableDictionary>? UserAssignedIdentities; + + [OutputConstructor] + private MySQLServerIdentityResponse( + string principalId, + + string tenantId, + + string? type, + + ImmutableDictionary>? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MySQLServerSkuResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MySQLServerSkuResponse.cs new file mode 100644 index 000000000000..7479286c3c3f --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/MySQLServerSkuResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Billing information related properties of a server. + /// + [OutputType] + public sealed class MySQLServerSkuResponse + { + /// + /// The name of the sku, e.g. Standard_D32s_v3. + /// + public readonly string Name; + /// + /// The tier of the particular SKU, e.g. GeneralPurpose. + /// + public readonly string Tier; + + [OutputConstructor] + private MySQLServerSkuResponse( + string name, + + string tier) + { + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/NetworkResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/NetworkResponse.cs new file mode 100644 index 000000000000..b22a5c9f3075 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/NetworkResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Network related properties of a server + /// + [OutputType] + public sealed class NetworkResponse + { + /// + /// Delegated subnet resource id used to setup vnet for a server. + /// + public readonly string? DelegatedSubnetResourceId; + /// + /// Private DNS zone resource id. + /// + public readonly string? PrivateDnsZoneResourceId; + /// + /// Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + /// + public readonly string? PublicNetworkAccess; + + [OutputConstructor] + private NetworkResponse( + string? delegatedSubnetResourceId, + + string? privateDnsZoneResourceId, + + string? publicNetworkAccess) + { + DelegatedSubnetResourceId = delegatedSubnetResourceId; + PrivateDnsZoneResourceId = privateDnsZoneResourceId; + PublicNetworkAccess = publicNetworkAccess; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..91f341034a20 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// The private endpoint connection resource. + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// The group ids for the private endpoint resource. + /// + public readonly ImmutableArray GroupIds; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The private endpoint resource. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private endpoint connection resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + ImmutableArray groupIds, + + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + GroupIds = groupIds; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateEndpointResponse.cs new file mode 100644 index 000000000000..f4a443b708d8 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateEndpointResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// The private endpoint resource. + /// + [OutputType] + public sealed class PrivateEndpointResponse + { + /// + /// The ARM identifier for private endpoint. + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointResponse(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateLinkServiceConnectionStateResponse.cs new file mode 100644 index 000000000000..a32395589dbd --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/PrivateLinkServiceConnectionStateResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStateResponse + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + public readonly string? ActionsRequired; + /// + /// The reason for approval/rejection of the connection. + /// + public readonly string? Description; + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStateResponse( + string? actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/StorageResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/StorageResponse.cs new file mode 100644 index 000000000000..508a574c4154 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/StorageResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Storage Profile properties of a server + /// + [OutputType] + public sealed class StorageResponse + { + /// + /// Enable Storage Auto Grow or not. + /// + public readonly string? AutoGrow; + /// + /// Enable IO Auto Scaling or not. + /// + public readonly string? AutoIoScaling; + /// + /// Storage IOPS for a server. + /// + public readonly int? Iops; + /// + /// Enable Log On Disk or not. + /// + public readonly string? LogOnDisk; + /// + /// Max storage size allowed for a server. + /// + public readonly int? StorageSizeGB; + /// + /// The sku name of the server storage. + /// + public readonly string StorageSku; + + [OutputConstructor] + private StorageResponse( + string? autoGrow, + + string? autoIoScaling, + + int? iops, + + string? logOnDisk, + + int? storageSizeGB, + + string storageSku) + { + AutoGrow = autoGrow; + AutoIoScaling = autoIoScaling; + Iops = iops; + LogOnDisk = logOnDisk; + StorageSizeGB = storageSizeGB; + StorageSku = storageSku; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..0eed8afc7cd7 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..b2a1f4caf42c --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview.Outputs +{ + + /// + /// Metadata of user assigned identity. + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// Client Id of user assigned identity + /// + public readonly string ClientId; + /// + /// Principal Id of user assigned identity + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/StorageTasks/V20230101/README.md b/sdk/dotnet/DBforMySQL/V20230601Preview/README.md similarity index 100% rename from sdk/dotnet/StorageTasks/V20230101/README.md rename to sdk/dotnet/DBforMySQL/V20230601Preview/README.md diff --git a/sdk/dotnet/DBforMySQL/V20230601Preview/Server.cs b/sdk/dotnet/DBforMySQL/V20230601Preview/Server.cs new file mode 100644 index 000000000000..c0a30f4bc812 --- /dev/null +++ b/sdk/dotnet/DBforMySQL/V20230601Preview/Server.cs @@ -0,0 +1,349 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DBforMySQL.V20230601Preview +{ + /// + /// Represents a server. + /// + [AzureNativeResourceType("azure-native:dbformysql/v20230601preview:Server")] + public partial class Server : global::Pulumi.CustomResource + { + /// + /// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + /// + [Output("administratorLogin")] + public Output AdministratorLogin { get; private set; } = null!; + + /// + /// availability Zone information of the server. + /// + [Output("availabilityZone")] + public Output AvailabilityZone { get; private set; } = null!; + + /// + /// Backup related properties of a server. + /// + [Output("backup")] + public Output Backup { get; private set; } = null!; + + /// + /// The Data Encryption for CMK. + /// + [Output("dataEncryption")] + public Output DataEncryption { get; private set; } = null!; + + /// + /// The fully qualified domain name of a server. + /// + [Output("fullyQualifiedDomainName")] + public Output FullyQualifiedDomainName { get; private set; } = null!; + + /// + /// High availability related properties of a server. + /// + [Output("highAvailability")] + public Output HighAvailability { get; private set; } = null!; + + /// + /// The cmk identity for the server. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Source properties for import from storage. + /// + [Output("importSourceProperties")] + public Output ImportSourceProperties { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Maintenance window of a server. + /// + [Output("maintenanceWindow")] + public Output MaintenanceWindow { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Network related properties of a server. + /// + [Output("network")] + public Output Network { get; private set; } = null!; + + /// + /// PrivateEndpointConnections related properties of a server. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// The maximum number of replicas that a primary server can have. + /// + [Output("replicaCapacity")] + public Output ReplicaCapacity { get; private set; } = null!; + + /// + /// The replication role. + /// + [Output("replicationRole")] + public Output ReplicationRole { get; private set; } = null!; + + /// + /// The SKU (pricing tier) of the server. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// The source MySQL server id. + /// + [Output("sourceServerResourceId")] + public Output SourceServerResourceId { get; private set; } = null!; + + /// + /// The state of a server. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// Storage related properties of a server. + /// + [Output("storage")] + public Output Storage { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Server version. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a Server 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 Server(string name, ServerArgs args, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:Server", name, args ?? new ServerArgs(), MakeResourceOptions(options, "")) + { + } + + private Server(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dbformysql/v20230601preview:Server", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dbformysql:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20200701privatepreview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20210501preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20211201preview:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220101:Server"}, + new global::Pulumi.Alias { Type = "azure-native:dbformysql/v20220930preview:Server"}, + }, + }; + 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 Server 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. + /// A bag of options that control this resource's behavior + public static Server Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Server(name, id, options); + } + } + + public sealed class ServerArgs : global::Pulumi.ResourceArgs + { + /// + /// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + /// + [Input("administratorLogin")] + public Input? AdministratorLogin { get; set; } + + /// + /// The password of the administrator login (required for server creation). + /// + [Input("administratorLoginPassword")] + public Input? AdministratorLoginPassword { get; set; } + + /// + /// availability Zone information of the server. + /// + [Input("availabilityZone")] + public Input? AvailabilityZone { get; set; } + + /// + /// Backup related properties of a server. + /// + [Input("backup")] + public Input? Backup { get; set; } + + /// + /// The mode to create a new MySQL server. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// The Data Encryption for CMK. + /// + [Input("dataEncryption")] + public Input? DataEncryption { get; set; } + + /// + /// High availability related properties of a server. + /// + [Input("highAvailability")] + public Input? HighAvailability { get; set; } + + /// + /// The cmk identity for the server. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Source properties for import from storage. + /// + [Input("importSourceProperties")] + public Input? ImportSourceProperties { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Maintenance window of a server. + /// + [Input("maintenanceWindow")] + public Input? MaintenanceWindow { get; set; } + + /// + /// Network related properties of a server. + /// + [Input("network")] + public Input? Network { get; set; } + + /// + /// The replication role. + /// + [Input("replicationRole")] + public InputUnion? ReplicationRole { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Restore point creation time (ISO8601 format), specifying the time to restore from. + /// + [Input("restorePointInTime")] + public Input? RestorePointInTime { get; set; } + + /// + /// The name of the server. + /// + [Input("serverName")] + public Input? ServerName { get; set; } + + /// + /// The SKU (pricing tier) of the server. + /// + [Input("sku")] + public Input? Sku { get; set; } + + /// + /// The source MySQL server id. + /// + [Input("sourceServerResourceId")] + public Input? SourceServerResourceId { get; set; } + + /// + /// Storage related properties of a server. + /// + [Input("storage")] + public Input? Storage { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Server version. + /// + [Input("version")] + public InputUnion? Version { get; set; } + + public ServerArgs() + { + } + public static new ServerArgs Empty => new ServerArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/BackupInstance.cs b/sdk/dotnet/DataProtection/BackupInstance.cs index bbc399da187d..149fc6680381 100644 --- a/sdk/dotnet/DataProtection/BackupInstance.cs +++ b/sdk/dotnet/DataProtection/BackupInstance.cs @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupInstance"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/BackupPolicy.cs b/sdk/dotnet/DataProtection/BackupPolicy.cs index 968682b5e02e..2a153084c704 100644 --- a/sdk/dotnet/DataProtection/BackupPolicy.cs +++ b/sdk/dotnet/DataProtection/BackupPolicy.cs @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupPolicy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/BackupVault.cs b/sdk/dotnet/DataProtection/BackupVault.cs index 7edafeb6a426..aa8f9da808dd 100644 --- a/sdk/dotnet/DataProtection/BackupVault.cs +++ b/sdk/dotnet/DataProtection/BackupVault.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupVault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/DppResourceGuardProxy.cs b/sdk/dotnet/DataProtection/DppResourceGuardProxy.cs index 1567f0181a6b..4ff1028b1a99 100644 --- a/sdk/dotnet/DataProtection/DppResourceGuardProxy.cs +++ b/sdk/dotnet/DataProtection/DppResourceGuardProxy.cs @@ -71,6 +71,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/ResourceGuard.cs b/sdk/dotnet/DataProtection/ResourceGuard.cs index 938e9f10a70f..926a3491e987 100644 --- a/sdk/dotnet/DataProtection/ResourceGuard.cs +++ b/sdk/dotnet/DataProtection/ResourceGuard.cs @@ -98,6 +98,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:ResourceGuard"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20221101Preview/ResourceGuard.cs b/sdk/dotnet/DataProtection/V20221101Preview/ResourceGuard.cs index f14b29e88a16..2b014ed2151f 100644 --- a/sdk/dotnet/DataProtection/V20221101Preview/ResourceGuard.cs +++ b/sdk/dotnet/DataProtection/V20221101Preview/ResourceGuard.cs @@ -101,6 +101,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:ResourceGuard"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230101/BackupInstance.cs b/sdk/dotnet/DataProtection/V20230101/BackupInstance.cs index 3a14edf27d2e..1e5701b4a927 100644 --- a/sdk/dotnet/DataProtection/V20230101/BackupInstance.cs +++ b/sdk/dotnet/DataProtection/V20230101/BackupInstance.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupInstance"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230101/BackupPolicy.cs b/sdk/dotnet/DataProtection/V20230101/BackupPolicy.cs index 0b22afc8c8a1..0929854d7424 100644 --- a/sdk/dotnet/DataProtection/V20230101/BackupPolicy.cs +++ b/sdk/dotnet/DataProtection/V20230101/BackupPolicy.cs @@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupPolicy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230101/BackupVault.cs b/sdk/dotnet/DataProtection/V20230101/BackupVault.cs index bfdca33bac7b..1eb6f6e5f558 100644 --- a/sdk/dotnet/DataProtection/V20230101/BackupVault.cs +++ b/sdk/dotnet/DataProtection/V20230101/BackupVault.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupVault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230101/DppResourceGuardProxy.cs b/sdk/dotnet/DataProtection/V20230101/DppResourceGuardProxy.cs index 0dd2dcf82fba..15ef2f50896a 100644 --- a/sdk/dotnet/DataProtection/V20230101/DppResourceGuardProxy.cs +++ b/sdk/dotnet/DataProtection/V20230101/DppResourceGuardProxy.cs @@ -70,6 +70,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230101/ResourceGuard.cs b/sdk/dotnet/DataProtection/V20230101/ResourceGuard.cs index 54e16cc45c34..45bc3cd70924 100644 --- a/sdk/dotnet/DataProtection/V20230101/ResourceGuard.cs +++ b/sdk/dotnet/DataProtection/V20230101/ResourceGuard.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:ResourceGuard"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230401Preview/BackupInstance.cs b/sdk/dotnet/DataProtection/V20230401Preview/BackupInstance.cs index 0c23a638e341..8e2d00582e94 100644 --- a/sdk/dotnet/DataProtection/V20230401Preview/BackupInstance.cs +++ b/sdk/dotnet/DataProtection/V20230401Preview/BackupInstance.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupInstance"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230401Preview/BackupPolicy.cs b/sdk/dotnet/DataProtection/V20230401Preview/BackupPolicy.cs index b692b84959f1..bbbed8d09e84 100644 --- a/sdk/dotnet/DataProtection/V20230401Preview/BackupPolicy.cs +++ b/sdk/dotnet/DataProtection/V20230401Preview/BackupPolicy.cs @@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupPolicy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230401Preview/BackupVault.cs b/sdk/dotnet/DataProtection/V20230401Preview/BackupVault.cs index 6b3e680cb883..d9cb1e74805e 100644 --- a/sdk/dotnet/DataProtection/V20230401Preview/BackupVault.cs +++ b/sdk/dotnet/DataProtection/V20230401Preview/BackupVault.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupVault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230401Preview/DppResourceGuardProxy.cs b/sdk/dotnet/DataProtection/V20230401Preview/DppResourceGuardProxy.cs index 44c50887811b..0a97bcdd30dc 100644 --- a/sdk/dotnet/DataProtection/V20230401Preview/DppResourceGuardProxy.cs +++ b/sdk/dotnet/DataProtection/V20230401Preview/DppResourceGuardProxy.cs @@ -70,6 +70,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230401Preview/ResourceGuard.cs b/sdk/dotnet/DataProtection/V20230401Preview/ResourceGuard.cs index 6f853bfdc6cb..1294e4b52882 100644 --- a/sdk/dotnet/DataProtection/V20230401Preview/ResourceGuard.cs +++ b/sdk/dotnet/DataProtection/V20230401Preview/ResourceGuard.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:ResourceGuard"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230501/BackupInstance.cs b/sdk/dotnet/DataProtection/V20230501/BackupInstance.cs index 007d4b4036be..80dbd60a3a85 100644 --- a/sdk/dotnet/DataProtection/V20230501/BackupInstance.cs +++ b/sdk/dotnet/DataProtection/V20230501/BackupInstance.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupInstance"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupInstance"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230501/BackupPolicy.cs b/sdk/dotnet/DataProtection/V20230501/BackupPolicy.cs index 532ac4940678..4edbb203a092 100644 --- a/sdk/dotnet/DataProtection/V20230501/BackupPolicy.cs +++ b/sdk/dotnet/DataProtection/V20230501/BackupPolicy.cs @@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupPolicy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupPolicy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230501/BackupVault.cs b/sdk/dotnet/DataProtection/V20230501/BackupVault.cs index 6a9c8ccd1ec9..07979e2e6a37 100644 --- a/sdk/dotnet/DataProtection/V20230501/BackupVault.cs +++ b/sdk/dotnet/DataProtection/V20230501/BackupVault.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupVault"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:BackupVault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230501/DppResourceGuardProxy.cs b/sdk/dotnet/DataProtection/V20230501/DppResourceGuardProxy.cs index 46af74c77a69..532b356e4d3d 100644 --- a/sdk/dotnet/DataProtection/V20230501/DppResourceGuardProxy.cs +++ b/sdk/dotnet/DataProtection/V20230501/DppResourceGuardProxy.cs @@ -70,6 +70,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:DppResourceGuardProxy"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230501/ResourceGuard.cs b/sdk/dotnet/DataProtection/V20230501/ResourceGuard.cs index c4275a618680..162c393773fd 100644 --- a/sdk/dotnet/DataProtection/V20230501/ResourceGuard.cs +++ b/sdk/dotnet/DataProtection/V20230501/ResourceGuard.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:ResourceGuard"}, new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230601preview:ResourceGuard"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DataProtection/V20230601Preview/BackupInstance.cs b/sdk/dotnet/DataProtection/V20230601Preview/BackupInstance.cs new file mode 100644 index 000000000000..98a28b1adeb9 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/BackupInstance.cs @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + /// + /// BackupInstance Resource + /// + [AzureNativeResourceType("azure-native:dataprotection/v20230601preview:BackupInstance")] + public partial class BackupInstance : global::Pulumi.CustomResource + { + /// + /// Proxy Resource name associated with the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// BackupInstanceResource properties + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Proxy Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a BackupInstance 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 BackupInstance(string name, BackupInstanceArgs args, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:BackupInstance", name, args ?? new BackupInstanceArgs(), MakeResourceOptions(options, "")) + { + } + + private BackupInstance(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:BackupInstance", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dataprotection:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210101:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210201preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210601preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210701:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211001preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211201preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220101:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220201preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220301:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220331preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220401:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220501:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220901preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221001preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupInstance"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupInstance"}, + }, + }; + 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 BackupInstance 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. + /// A bag of options that control this resource's behavior + public static BackupInstance Get(string name, Input id, CustomResourceOptions? options = null) + { + return new BackupInstance(name, id, options); + } + } + + public sealed class BackupInstanceArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the backup instance. + /// + [Input("backupInstanceName")] + public Input? BackupInstanceName { get; set; } + + /// + /// BackupInstanceResource properties + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Proxy Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public BackupInstanceArgs() + { + } + public static new BackupInstanceArgs Empty => new BackupInstanceArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/BackupPolicy.cs b/sdk/dotnet/DataProtection/V20230601Preview/BackupPolicy.cs new file mode 100644 index 000000000000..16bd815871c1 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/BackupPolicy.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + /// + /// BaseBackupPolicy resource + /// + [AzureNativeResourceType("azure-native:dataprotection/v20230601preview:BackupPolicy")] + public partial class BackupPolicy : global::Pulumi.CustomResource + { + /// + /// Resource name associated with the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// BaseBackupPolicyResource properties + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a BackupPolicy 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 BackupPolicy(string name, BackupPolicyArgs args, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:BackupPolicy", name, args ?? new BackupPolicyArgs(), MakeResourceOptions(options, "")) + { + } + + private BackupPolicy(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:BackupPolicy", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dataprotection:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210101:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210201preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210601preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210701:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211001preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211201preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220101:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220201preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220301:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220331preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220401:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220501:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220901preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221001preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupPolicy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupPolicy"}, + }, + }; + 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 BackupPolicy 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. + /// A bag of options that control this resource's behavior + public static BackupPolicy Get(string name, Input id, CustomResourceOptions? options = null) + { + return new BackupPolicy(name, id, options); + } + } + + public sealed class BackupPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the policy + /// + [Input("backupPolicyName")] + public Input? BackupPolicyName { get; set; } + + /// + /// BaseBackupPolicyResource properties + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public BackupPolicyArgs() + { + } + public static new BackupPolicyArgs Empty => new BackupPolicyArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/BackupVault.cs b/sdk/dotnet/DataProtection/V20230601Preview/BackupVault.cs new file mode 100644 index 000000000000..0a5b55c1da7d --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/BackupVault.cs @@ -0,0 +1,187 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + /// + /// Backup Vault Resource + /// + [AzureNativeResourceType("azure-native:dataprotection/v20230601preview:BackupVault")] + public partial class BackupVault : global::Pulumi.CustomResource + { + /// + /// Optional ETag. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// Input Managed Identity Details + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Resource name associated with the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// BackupVaultResource properties + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a BackupVault 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 BackupVault(string name, BackupVaultArgs args, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:BackupVault", name, args ?? new BackupVaultArgs(), MakeResourceOptions(options, "")) + { + } + + private BackupVault(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:BackupVault", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dataprotection:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210101:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210201preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210601preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210701:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211001preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211201preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220101:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220201preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220301:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220331preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220401:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220501:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220901preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221001preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:BackupVault"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:BackupVault"}, + }, + }; + 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 BackupVault 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. + /// A bag of options that control this resource's behavior + public static BackupVault Get(string name, Input id, CustomResourceOptions? options = null) + { + return new BackupVault(name, id, options); + } + } + + public sealed class BackupVaultArgs : global::Pulumi.ResourceArgs + { + /// + /// Optional ETag. + /// + [Input("eTag")] + public Input? ETag { get; set; } + + /// + /// Input Managed Identity Details + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// BackupVaultResource properties + /// + [Input("properties", required: true)] + public Input Properties { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// The name of the backup vault. + /// + [Input("vaultName")] + public Input? VaultName { get; set; } + + public BackupVaultArgs() + { + } + public static new BackupVaultArgs Empty => new BackupVaultArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/DppResourceGuardProxy.cs b/sdk/dotnet/DataProtection/V20230601Preview/DppResourceGuardProxy.cs new file mode 100644 index 000000000000..e53a1318af99 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/DppResourceGuardProxy.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + /// + /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + /// + [AzureNativeResourceType("azure-native:dataprotection/v20230601preview:DppResourceGuardProxy")] + public partial class DppResourceGuardProxy : global::Pulumi.CustomResource + { + /// + /// Resource name associated with the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ResourceGuardProxyBaseResource properties + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a DppResourceGuardProxy 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 DppResourceGuardProxy(string name, DppResourceGuardProxyArgs args, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:DppResourceGuardProxy", name, args ?? new DppResourceGuardProxyArgs(), MakeResourceOptions(options, "")) + { + } + + private DppResourceGuardProxy(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:DppResourceGuardProxy", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dataprotection:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:DppResourceGuardProxy"}, + }, + }; + 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 DppResourceGuardProxy 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. + /// A bag of options that control this resource's behavior + public static DppResourceGuardProxy Get(string name, Input id, CustomResourceOptions? options = null) + { + return new DppResourceGuardProxy(name, id, options); + } + } + + public sealed class DppResourceGuardProxyArgs : global::Pulumi.ResourceArgs + { + /// + /// ResourceGuardProxyBaseResource properties + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// name of the resource guard proxy + /// + [Input("resourceGuardProxyName")] + public Input? ResourceGuardProxyName { get; set; } + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public DppResourceGuardProxyArgs() + { + } + public static new DppResourceGuardProxyArgs Empty => new DppResourceGuardProxyArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Enums.cs b/sdk/dotnet/DataProtection/V20230601Preview/Enums.cs new file mode 100644 index 000000000000..dab41a5daffc --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Enums.cs @@ -0,0 +1,597 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.DataProtection.V20230601Preview +{ + [EnumType] + public readonly struct AbsoluteMarker : IEquatable + { + private readonly string _value; + + private AbsoluteMarker(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AbsoluteMarker AllBackup { get; } = new AbsoluteMarker("AllBackup"); + public static AbsoluteMarker FirstOfDay { get; } = new AbsoluteMarker("FirstOfDay"); + public static AbsoluteMarker FirstOfMonth { get; } = new AbsoluteMarker("FirstOfMonth"); + public static AbsoluteMarker FirstOfWeek { get; } = new AbsoluteMarker("FirstOfWeek"); + public static AbsoluteMarker FirstOfYear { get; } = new AbsoluteMarker("FirstOfYear"); + + public static bool operator ==(AbsoluteMarker left, AbsoluteMarker right) => left.Equals(right); + public static bool operator !=(AbsoluteMarker left, AbsoluteMarker right) => !left.Equals(right); + + public static explicit operator string(AbsoluteMarker value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AbsoluteMarker other && Equals(other); + public bool Equals(AbsoluteMarker other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AlertsState : IEquatable + { + private readonly string _value; + + private AlertsState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AlertsState Enabled { get; } = new AlertsState("Enabled"); + public static AlertsState Disabled { get; } = new AlertsState("Disabled"); + + public static bool operator ==(AlertsState left, AlertsState right) => left.Equals(right); + public static bool operator !=(AlertsState left, AlertsState right) => !left.Equals(right); + + public static explicit operator string(AlertsState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AlertsState other && Equals(other); + public bool Equals(AlertsState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// CrossRegionRestore state + /// + [EnumType] + public readonly struct CrossRegionRestoreState : IEquatable + { + private readonly string _value; + + private CrossRegionRestoreState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CrossRegionRestoreState Disabled { get; } = new CrossRegionRestoreState("Disabled"); + public static CrossRegionRestoreState Enabled { get; } = new CrossRegionRestoreState("Enabled"); + + public static bool operator ==(CrossRegionRestoreState left, CrossRegionRestoreState right) => left.Equals(right); + public static bool operator !=(CrossRegionRestoreState left, CrossRegionRestoreState right) => !left.Equals(right); + + public static explicit operator string(CrossRegionRestoreState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CrossRegionRestoreState other && Equals(other); + public bool Equals(CrossRegionRestoreState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// CrossSubscriptionRestore state + /// + [EnumType] + public readonly struct CrossSubscriptionRestoreState : IEquatable + { + private readonly string _value; + + private CrossSubscriptionRestoreState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CrossSubscriptionRestoreState Disabled { get; } = new CrossSubscriptionRestoreState("Disabled"); + public static CrossSubscriptionRestoreState PermanentlyDisabled { get; } = new CrossSubscriptionRestoreState("PermanentlyDisabled"); + public static CrossSubscriptionRestoreState Enabled { get; } = new CrossSubscriptionRestoreState("Enabled"); + + public static bool operator ==(CrossSubscriptionRestoreState left, CrossSubscriptionRestoreState right) => left.Equals(right); + public static bool operator !=(CrossSubscriptionRestoreState left, CrossSubscriptionRestoreState right) => !left.Equals(right); + + public static explicit operator string(CrossSubscriptionRestoreState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CrossSubscriptionRestoreState other && Equals(other); + public bool Equals(CrossSubscriptionRestoreState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// type of datastore; Operational/Vault/Archive + /// + [EnumType] + public readonly struct DataStoreTypes : IEquatable + { + private readonly string _value; + + private DataStoreTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataStoreTypes OperationalStore { get; } = new DataStoreTypes("OperationalStore"); + public static DataStoreTypes VaultStore { get; } = new DataStoreTypes("VaultStore"); + public static DataStoreTypes ArchiveStore { get; } = new DataStoreTypes("ArchiveStore"); + + public static bool operator ==(DataStoreTypes left, DataStoreTypes right) => left.Equals(right); + public static bool operator !=(DataStoreTypes left, DataStoreTypes right) => !left.Equals(right); + + public static explicit operator string(DataStoreTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataStoreTypes other && Equals(other); + public bool Equals(DataStoreTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct DayOfWeek : IEquatable + { + private readonly string _value; + + private DayOfWeek(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DayOfWeek Friday { get; } = new DayOfWeek("Friday"); + public static DayOfWeek Monday { get; } = new DayOfWeek("Monday"); + public static DayOfWeek Saturday { get; } = new DayOfWeek("Saturday"); + public static DayOfWeek Sunday { get; } = new DayOfWeek("Sunday"); + public static DayOfWeek Thursday { get; } = new DayOfWeek("Thursday"); + public static DayOfWeek Tuesday { get; } = new DayOfWeek("Tuesday"); + public static DayOfWeek Wednesday { get; } = new DayOfWeek("Wednesday"); + + public static bool operator ==(DayOfWeek left, DayOfWeek right) => left.Equals(right); + public static bool operator !=(DayOfWeek left, DayOfWeek right) => !left.Equals(right); + + public static explicit operator string(DayOfWeek value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DayOfWeek other && Equals(other); + public bool Equals(DayOfWeek other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Encryption state of the Backup Vault. + /// + [EnumType] + public readonly struct EncryptionState : IEquatable + { + private readonly string _value; + + private EncryptionState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// CMK encryption is enabled on the Backup Vault + /// + public static EncryptionState Enabled { get; } = new EncryptionState("Enabled"); + /// + /// CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'. + /// + public static EncryptionState Disabled { get; } = new EncryptionState("Disabled"); + /// + /// CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state. + /// + public static EncryptionState Inconsistent { get; } = new EncryptionState("Inconsistent"); + + public static bool operator ==(EncryptionState left, EncryptionState right) => left.Equals(right); + public static bool operator !=(EncryptionState left, EncryptionState right) => !left.Equals(right); + + public static explicit operator string(EncryptionState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EncryptionState other && Equals(other); + public bool Equals(EncryptionState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + /// + [EnumType] + public readonly struct IdentityType : IEquatable + { + private readonly string _value; + + private IdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IdentityType SystemAssigned { get; } = new IdentityType("SystemAssigned"); + public static IdentityType UserAssigned { get; } = new IdentityType("UserAssigned"); + + public static bool operator ==(IdentityType left, IdentityType right) => left.Equals(right); + public static bool operator !=(IdentityType left, IdentityType right) => !left.Equals(right); + + public static explicit operator string(IdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IdentityType other && Equals(other); + public bool Equals(IdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Immutability state + /// + [EnumType] + public readonly struct ImmutabilityState : IEquatable + { + private readonly string _value; + + private ImmutabilityState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ImmutabilityState Disabled { get; } = new ImmutabilityState("Disabled"); + public static ImmutabilityState Unlocked { get; } = new ImmutabilityState("Unlocked"); + public static ImmutabilityState Locked { get; } = new ImmutabilityState("Locked"); + + public static bool operator ==(ImmutabilityState left, ImmutabilityState right) => left.Equals(right); + public static bool operator !=(ImmutabilityState left, ImmutabilityState right) => !left.Equals(right); + + public static explicit operator string(ImmutabilityState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ImmutabilityState other && Equals(other); + public bool Equals(ImmutabilityState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enabling/Disabling the Double Encryption state + /// + [EnumType] + public readonly struct InfrastructureEncryptionState : IEquatable + { + private readonly string _value; + + private InfrastructureEncryptionState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static InfrastructureEncryptionState Enabled { get; } = new InfrastructureEncryptionState("Enabled"); + public static InfrastructureEncryptionState Disabled { get; } = new InfrastructureEncryptionState("Disabled"); + + public static bool operator ==(InfrastructureEncryptionState left, InfrastructureEncryptionState right) => left.Equals(right); + public static bool operator !=(InfrastructureEncryptionState left, InfrastructureEncryptionState right) => !left.Equals(right); + + public static explicit operator string(InfrastructureEncryptionState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is InfrastructureEncryptionState other && Equals(other); + public bool Equals(InfrastructureEncryptionState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct Month : IEquatable + { + private readonly string _value; + + private Month(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Month April { get; } = new Month("April"); + public static Month August { get; } = new Month("August"); + public static Month December { get; } = new Month("December"); + public static Month February { get; } = new Month("February"); + public static Month January { get; } = new Month("January"); + public static Month July { get; } = new Month("July"); + public static Month June { get; } = new Month("June"); + public static Month March { get; } = new Month("March"); + public static Month May { get; } = new Month("May"); + public static Month November { get; } = new Month("November"); + public static Month October { get; } = new Month("October"); + public static Month September { get; } = new Month("September"); + + public static bool operator ==(Month left, Month right) => left.Equals(right); + public static bool operator !=(Month left, Month right) => !left.Equals(right); + + public static explicit operator string(Month value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Month other && Equals(other); + public bool Equals(Month other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the specific object - used for deserializing + /// + [EnumType] + public readonly struct ResourcePropertiesObjectType : IEquatable + { + private readonly string _value; + + private ResourcePropertiesObjectType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResourcePropertiesObjectType DefaultResourceProperties { get; } = new ResourcePropertiesObjectType("DefaultResourceProperties"); + + public static bool operator ==(ResourcePropertiesObjectType left, ResourcePropertiesObjectType right) => left.Equals(right); + public static bool operator !=(ResourcePropertiesObjectType left, ResourcePropertiesObjectType right) => !left.Equals(right); + + public static explicit operator string(ResourcePropertiesObjectType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourcePropertiesObjectType other && Equals(other); + public bool Equals(ResourcePropertiesObjectType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the type of secret store + /// + [EnumType] + public readonly struct SecretStoreType : IEquatable + { + private readonly string _value; + + private SecretStoreType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SecretStoreType Invalid { get; } = new SecretStoreType("Invalid"); + public static SecretStoreType AzureKeyVault { get; } = new SecretStoreType("AzureKeyVault"); + + public static bool operator ==(SecretStoreType left, SecretStoreType right) => left.Equals(right); + public static bool operator !=(SecretStoreType left, SecretStoreType right) => !left.Equals(right); + + public static explicit operator string(SecretStoreType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecretStoreType other && Equals(other); + public bool Equals(SecretStoreType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// State of soft delete + /// + [EnumType] + public readonly struct SoftDeleteState : IEquatable + { + private readonly string _value; + + private SoftDeleteState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Soft Delete is turned off for the BackupVault + /// + public static SoftDeleteState Off { get; } = new SoftDeleteState("Off"); + /// + /// Soft Delete is enabled for the BackupVault but can be turned off + /// + public static SoftDeleteState On { get; } = new SoftDeleteState("On"); + /// + /// Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed + /// + public static SoftDeleteState AlwaysOn { get; } = new SoftDeleteState("AlwaysOn"); + + public static bool operator ==(SoftDeleteState left, SoftDeleteState right) => left.Equals(right); + public static bool operator !=(SoftDeleteState left, SoftDeleteState right) => !left.Equals(right); + + public static explicit operator string(SoftDeleteState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SoftDeleteState other && Equals(other); + public bool Equals(SoftDeleteState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the type of the datastore. + /// + [EnumType] + public readonly struct StorageSettingStoreTypes : IEquatable + { + private readonly string _value; + + private StorageSettingStoreTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StorageSettingStoreTypes ArchiveStore { get; } = new StorageSettingStoreTypes("ArchiveStore"); + public static StorageSettingStoreTypes OperationalStore { get; } = new StorageSettingStoreTypes("OperationalStore"); + public static StorageSettingStoreTypes VaultStore { get; } = new StorageSettingStoreTypes("VaultStore"); + + public static bool operator ==(StorageSettingStoreTypes left, StorageSettingStoreTypes right) => left.Equals(right); + public static bool operator !=(StorageSettingStoreTypes left, StorageSettingStoreTypes right) => !left.Equals(right); + + public static explicit operator string(StorageSettingStoreTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StorageSettingStoreTypes other && Equals(other); + public bool Equals(StorageSettingStoreTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Gets or sets the type. + /// + [EnumType] + public readonly struct StorageSettingTypes : IEquatable + { + private readonly string _value; + + private StorageSettingTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StorageSettingTypes GeoRedundant { get; } = new StorageSettingTypes("GeoRedundant"); + public static StorageSettingTypes LocallyRedundant { get; } = new StorageSettingTypes("LocallyRedundant"); + public static StorageSettingTypes ZoneRedundant { get; } = new StorageSettingTypes("ZoneRedundant"); + + public static bool operator ==(StorageSettingTypes left, StorageSettingTypes right) => left.Equals(right); + public static bool operator !=(StorageSettingTypes left, StorageSettingTypes right) => !left.Equals(right); + + public static explicit operator string(StorageSettingTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StorageSettingTypes other && Equals(other); + public bool Equals(StorageSettingTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + /// + [EnumType] + public readonly struct ValidationType : IEquatable + { + private readonly string _value; + + private ValidationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ValidationType ShallowValidation { get; } = new ValidationType("ShallowValidation"); + public static ValidationType DeepValidation { get; } = new ValidationType("DeepValidation"); + + public static bool operator ==(ValidationType left, ValidationType right) => left.Equals(right); + public static bool operator !=(ValidationType left, ValidationType right) => !left.Equals(right); + + public static explicit operator string(ValidationType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ValidationType other && Equals(other); + public bool Equals(ValidationType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct WeekNumber : IEquatable + { + private readonly string _value; + + private WeekNumber(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static WeekNumber First { get; } = new WeekNumber("First"); + public static WeekNumber Fourth { get; } = new WeekNumber("Fourth"); + public static WeekNumber Last { get; } = new WeekNumber("Last"); + public static WeekNumber Second { get; } = new WeekNumber("Second"); + public static WeekNumber Third { get; } = new WeekNumber("Third"); + + public static bool operator ==(WeekNumber left, WeekNumber right) => left.Equals(right); + public static bool operator !=(WeekNumber left, WeekNumber right) => !left.Equals(right); + + public static explicit operator string(WeekNumber value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is WeekNumber other && Equals(other); + public bool Equals(WeekNumber other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/GetBackupInstance.cs b/sdk/dotnet/DataProtection/V20230601Preview/GetBackupInstance.cs new file mode 100644 index 000000000000..3794eb78d019 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/GetBackupInstance.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + public static class GetBackupInstance + { + /// + /// Gets a backup instance with name in a backup vault + /// + public static Task InvokeAsync(GetBackupInstanceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dataprotection/v20230601preview:getBackupInstance", args ?? new GetBackupInstanceArgs(), options.WithDefaults()); + + /// + /// Gets a backup instance with name in a backup vault + /// + public static Output Invoke(GetBackupInstanceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dataprotection/v20230601preview:getBackupInstance", args ?? new GetBackupInstanceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetBackupInstanceArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the backup instance. + /// + [Input("backupInstanceName", required: true)] + public string BackupInstanceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public string VaultName { get; set; } = null!; + + public GetBackupInstanceArgs() + { + } + public static new GetBackupInstanceArgs Empty => new GetBackupInstanceArgs(); + } + + public sealed class GetBackupInstanceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the backup instance. + /// + [Input("backupInstanceName", required: true)] + public Input BackupInstanceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public GetBackupInstanceInvokeArgs() + { + } + public static new GetBackupInstanceInvokeArgs Empty => new GetBackupInstanceInvokeArgs(); + } + + + [OutputType] + public sealed class GetBackupInstanceResult + { + /// + /// Proxy Resource Id represents the complete path to the resource. + /// + public readonly string Id; + /// + /// Proxy Resource name associated with the resource. + /// + public readonly string Name; + /// + /// BackupInstanceResource properties + /// + public readonly Outputs.BackupInstanceResponse Properties; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Proxy Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + public readonly string Type; + + [OutputConstructor] + private GetBackupInstanceResult( + string id, + + string name, + + Outputs.BackupInstanceResponse properties, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/GetBackupPolicy.cs b/sdk/dotnet/DataProtection/V20230601Preview/GetBackupPolicy.cs new file mode 100644 index 000000000000..d627f8075474 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/GetBackupPolicy.cs @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + public static class GetBackupPolicy + { + /// + /// Gets a backup policy belonging to a backup vault + /// + public static Task InvokeAsync(GetBackupPolicyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dataprotection/v20230601preview:getBackupPolicy", args ?? new GetBackupPolicyArgs(), options.WithDefaults()); + + /// + /// Gets a backup policy belonging to a backup vault + /// + public static Output Invoke(GetBackupPolicyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dataprotection/v20230601preview:getBackupPolicy", args ?? new GetBackupPolicyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetBackupPolicyArgs : global::Pulumi.InvokeArgs + { + [Input("backupPolicyName", required: true)] + public string BackupPolicyName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public string VaultName { get; set; } = null!; + + public GetBackupPolicyArgs() + { + } + public static new GetBackupPolicyArgs Empty => new GetBackupPolicyArgs(); + } + + public sealed class GetBackupPolicyInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("backupPolicyName", required: true)] + public Input BackupPolicyName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public GetBackupPolicyInvokeArgs() + { + } + public static new GetBackupPolicyInvokeArgs Empty => new GetBackupPolicyInvokeArgs(); + } + + + [OutputType] + public sealed class GetBackupPolicyResult + { + /// + /// Resource Id represents the complete path to the resource. + /// + public readonly string Id; + /// + /// Resource name associated with the resource. + /// + public readonly string Name; + /// + /// BaseBackupPolicyResource properties + /// + public readonly Outputs.BackupPolicyResponse Properties; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + public readonly string Type; + + [OutputConstructor] + private GetBackupPolicyResult( + string id, + + string name, + + Outputs.BackupPolicyResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/GetBackupVault.cs b/sdk/dotnet/DataProtection/V20230601Preview/GetBackupVault.cs new file mode 100644 index 000000000000..0d8f8629652d --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/GetBackupVault.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + public static class GetBackupVault + { + /// + /// Returns a resource belonging to a resource group. + /// + public static Task InvokeAsync(GetBackupVaultArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dataprotection/v20230601preview:getBackupVault", args ?? new GetBackupVaultArgs(), options.WithDefaults()); + + /// + /// Returns a resource belonging to a resource group. + /// + public static Output Invoke(GetBackupVaultInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dataprotection/v20230601preview:getBackupVault", args ?? new GetBackupVaultInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetBackupVaultArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public string VaultName { get; set; } = null!; + + public GetBackupVaultArgs() + { + } + public static new GetBackupVaultArgs Empty => new GetBackupVaultArgs(); + } + + public sealed class GetBackupVaultInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public GetBackupVaultInvokeArgs() + { + } + public static new GetBackupVaultInvokeArgs Empty => new GetBackupVaultInvokeArgs(); + } + + + [OutputType] + public sealed class GetBackupVaultResult + { + /// + /// Optional ETag. + /// + public readonly string? ETag; + /// + /// Resource Id represents the complete path to the resource. + /// + public readonly string Id; + /// + /// Input Managed Identity Details + /// + public readonly Outputs.DppIdentityDetailsResponse? Identity; + /// + /// Resource location. + /// + public readonly string Location; + /// + /// Resource name associated with the resource. + /// + public readonly string Name; + /// + /// BackupVaultResource properties + /// + public readonly Outputs.BackupVaultResponse Properties; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + public readonly string Type; + + [OutputConstructor] + private GetBackupVaultResult( + string? eTag, + + string id, + + Outputs.DppIdentityDetailsResponse? identity, + + string location, + + string name, + + Outputs.BackupVaultResponse properties, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ETag = eTag; + Id = id; + Identity = identity; + Location = location; + Name = name; + Properties = properties; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/GetDppResourceGuardProxy.cs b/sdk/dotnet/DataProtection/V20230601Preview/GetDppResourceGuardProxy.cs new file mode 100644 index 000000000000..00b1acd663a2 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/GetDppResourceGuardProxy.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + public static class GetDppResourceGuardProxy + { + /// + /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + /// + public static Task InvokeAsync(GetDppResourceGuardProxyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dataprotection/v20230601preview:getDppResourceGuardProxy", args ?? new GetDppResourceGuardProxyArgs(), options.WithDefaults()); + + /// + /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + /// + public static Output Invoke(GetDppResourceGuardProxyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dataprotection/v20230601preview:getDppResourceGuardProxy", args ?? new GetDppResourceGuardProxyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDppResourceGuardProxyArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// name of the resource guard proxy + /// + [Input("resourceGuardProxyName", required: true)] + public string ResourceGuardProxyName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public string VaultName { get; set; } = null!; + + public GetDppResourceGuardProxyArgs() + { + } + public static new GetDppResourceGuardProxyArgs Empty => new GetDppResourceGuardProxyArgs(); + } + + public sealed class GetDppResourceGuardProxyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// name of the resource guard proxy + /// + [Input("resourceGuardProxyName", required: true)] + public Input ResourceGuardProxyName { get; set; } = null!; + + /// + /// The name of the backup vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public GetDppResourceGuardProxyInvokeArgs() + { + } + public static new GetDppResourceGuardProxyInvokeArgs Empty => new GetDppResourceGuardProxyInvokeArgs(); + } + + + [OutputType] + public sealed class GetDppResourceGuardProxyResult + { + /// + /// Resource Id represents the complete path to the resource. + /// + public readonly string Id; + /// + /// Resource name associated with the resource. + /// + public readonly string Name; + /// + /// ResourceGuardProxyBaseResource properties + /// + public readonly Outputs.ResourceGuardProxyBaseResponse Properties; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + public readonly string Type; + + [OutputConstructor] + private GetDppResourceGuardProxyResult( + string id, + + string name, + + Outputs.ResourceGuardProxyBaseResponse properties, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + Properties = properties; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/GetResourceGuard.cs b/sdk/dotnet/DataProtection/V20230601Preview/GetResourceGuard.cs new file mode 100644 index 000000000000..76188602b2b2 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/GetResourceGuard.cs @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + public static class GetResourceGuard + { + public static Task InvokeAsync(GetResourceGuardArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:dataprotection/v20230601preview:getResourceGuard", args ?? new GetResourceGuardArgs(), options.WithDefaults()); + + public static Output Invoke(GetResourceGuardInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:dataprotection/v20230601preview:getResourceGuard", args ?? new GetResourceGuardInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetResourceGuardArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of ResourceGuard + /// + [Input("resourceGuardsName", required: true)] + public string ResourceGuardsName { get; set; } = null!; + + public GetResourceGuardArgs() + { + } + public static new GetResourceGuardArgs Empty => new GetResourceGuardArgs(); + } + + public sealed class GetResourceGuardInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of ResourceGuard + /// + [Input("resourceGuardsName", required: true)] + public Input ResourceGuardsName { get; set; } = null!; + + public GetResourceGuardInvokeArgs() + { + } + public static new GetResourceGuardInvokeArgs Empty => new GetResourceGuardInvokeArgs(); + } + + + [OutputType] + public sealed class GetResourceGuardResult + { + /// + /// Optional ETag. + /// + public readonly string? ETag; + /// + /// Resource Id represents the complete path to the resource. + /// + public readonly string Id; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// Resource name associated with the resource. + /// + public readonly string Name; + /// + /// ResourceGuardResource properties + /// + public readonly Outputs.ResourceGuardResponse Properties; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + public readonly string Type; + + [OutputConstructor] + private GetResourceGuardResult( + string? eTag, + + string id, + + string? location, + + string name, + + Outputs.ResourceGuardResponse properties, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ETag = eTag; + Id = id; + Location = location; + Name = name; + Properties = properties; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AbsoluteDeleteOptionArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AbsoluteDeleteOptionArgs.cs new file mode 100644 index 000000000000..45fed6b90fb6 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AbsoluteDeleteOptionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Delete option with duration + /// + public sealed class AbsoluteDeleteOptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Duration of deletion after given timespan + /// + [Input("duration", required: true)] + public Input Duration { get; set; } = null!; + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AbsoluteDeleteOption'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public AbsoluteDeleteOptionArgs() + { + } + public static new AbsoluteDeleteOptionArgs Empty => new AbsoluteDeleteOptionArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AdhocBasedTaggingCriteriaArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AdhocBasedTaggingCriteriaArgs.cs new file mode 100644 index 000000000000..a4d93aa7fcc0 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AdhocBasedTaggingCriteriaArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Adhoc backup tagging criteria + /// + public sealed class AdhocBasedTaggingCriteriaArgs : global::Pulumi.ResourceArgs + { + /// + /// Retention tag information + /// + [Input("tagInfo")] + public Input? TagInfo { get; set; } + + public AdhocBasedTaggingCriteriaArgs() + { + } + public static new AdhocBasedTaggingCriteriaArgs Empty => new AdhocBasedTaggingCriteriaArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AdhocBasedTriggerContextArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AdhocBasedTriggerContextArgs.cs new file mode 100644 index 000000000000..da2516ef398e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AdhocBasedTriggerContextArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Adhoc trigger context + /// + public sealed class AdhocBasedTriggerContextArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AdhocBasedTriggerContext'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Tagging Criteria containing retention tag for adhoc backup. + /// + [Input("taggingCriteria", required: true)] + public Input TaggingCriteria { get; set; } = null!; + + public AdhocBasedTriggerContextArgs() + { + } + public static new AdhocBasedTriggerContextArgs Empty => new AdhocBasedTriggerContextArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureBackupParamsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureBackupParamsArgs.cs new file mode 100644 index 000000000000..9d473f415127 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureBackupParamsArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Azure backup parameters + /// + public sealed class AzureBackupParamsArgs : global::Pulumi.ResourceArgs + { + /// + /// BackupType ; Full/Incremental etc + /// + [Input("backupType", required: true)] + public Input BackupType { get; set; } = null!; + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AzureBackupParams'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public AzureBackupParamsArgs() + { + } + public static new AzureBackupParamsArgs Empty => new AzureBackupParamsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureBackupRuleArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureBackupRuleArgs.cs new file mode 100644 index 000000000000..824ebf88fa9b --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureBackupRuleArgs.cs @@ -0,0 +1,51 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Azure backup rule + /// + public sealed class AzureBackupRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// BackupParameters base + /// + [Input("backupParameters")] + public Input? BackupParameters { get; set; } + + /// + /// DataStoreInfo base + /// + [Input("dataStore", required: true)] + public Input DataStore { get; set; } = null!; + + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// + /// Expected value is 'AzureBackupRule'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Trigger context + /// + [Input("trigger", required: true)] + public InputUnion Trigger { get; set; } = null!; + + public AzureBackupRuleArgs() + { + } + public static new AzureBackupRuleArgs Empty => new AzureBackupRuleArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureMonitorAlertSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureMonitorAlertSettingsArgs.cs new file mode 100644 index 000000000000..62187a2f1110 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureMonitorAlertSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Settings for Azure Monitor based alerts + /// + public sealed class AzureMonitorAlertSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("alertsForAllJobFailures")] + public InputUnion? AlertsForAllJobFailures { get; set; } + + public AzureMonitorAlertSettingsArgs() + { + } + public static new AzureMonitorAlertSettingsArgs Empty => new AzureMonitorAlertSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureOperationalStoreParametersArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureOperationalStoreParametersArgs.cs new file mode 100644 index 000000000000..131c56e5fe94 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureOperationalStoreParametersArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Parameters for Operational-Tier DataStore + /// + public sealed class AzureOperationalStoreParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// type of datastore; Operational/Vault/Archive + /// + [Input("dataStoreType", required: true)] + public InputUnion DataStoreType { get; set; } = null!; + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AzureOperationalStoreParameters'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Gets or sets the Snapshot Resource Group Uri. + /// + [Input("resourceGroupId")] + public Input? ResourceGroupId { get; set; } + + public AzureOperationalStoreParametersArgs() + { + } + public static new AzureOperationalStoreParametersArgs Empty => new AzureOperationalStoreParametersArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureRetentionRuleArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureRetentionRuleArgs.cs new file mode 100644 index 000000000000..7d7dc1e69672 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/AzureRetentionRuleArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Azure retention rule + /// + public sealed class AzureRetentionRuleArgs : global::Pulumi.ResourceArgs + { + [Input("isDefault")] + public Input? IsDefault { get; set; } + + [Input("lifecycles", required: true)] + private InputList? _lifecycles; + public InputList Lifecycles + { + get => _lifecycles ?? (_lifecycles = new InputList()); + set => _lifecycles = value; + } + + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// + /// Expected value is 'AzureRetentionRule'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public AzureRetentionRuleArgs() + { + } + public static new AzureRetentionRuleArgs Empty => new AzureRetentionRuleArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupInstanceArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupInstanceArgs.cs new file mode 100644 index 000000000000..2c8ca8cffbce --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupInstanceArgs.cs @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Backup Instance + /// + public sealed class BackupInstanceArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the data source information. + /// + [Input("dataSourceInfo", required: true)] + public Input DataSourceInfo { get; set; } = null!; + + /// + /// Gets or sets the data source set information. + /// + [Input("dataSourceSetInfo")] + public Input? DataSourceSetInfo { get; set; } + + /// + /// Credentials to use to authenticate with data source provider. + /// + [Input("datasourceAuthCredentials")] + public Input? DatasourceAuthCredentials { get; set; } + + /// + /// Gets or sets the Backup Instance friendly name. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + /// + /// Contains information of the Identity Details for the BI. + /// If it is null, default will be considered as System Assigned. + /// + [Input("identityDetails")] + public Input? IdentityDetails { get; set; } + + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Gets or sets the policy information. + /// + [Input("policyInfo", required: true)] + public Input PolicyInfo { get; set; } = null!; + + /// + /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + /// + [Input("validationType")] + public InputUnion? ValidationType { get; set; } + + public BackupInstanceArgs() + { + } + public static new BackupInstanceArgs Empty => new BackupInstanceArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupPolicyArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupPolicyArgs.cs new file mode 100644 index 000000000000..18d4dd0a864e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupPolicyArgs.cs @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Rule based backup policy + /// + public sealed class BackupPolicyArgs : global::Pulumi.ResourceArgs + { + [Input("datasourceTypes", required: true)] + private InputList? _datasourceTypes; + + /// + /// Type of datasource for the backup management + /// + public InputList DatasourceTypes + { + get => _datasourceTypes ?? (_datasourceTypes = new InputList()); + set => _datasourceTypes = value; + } + + /// + /// + /// Expected value is 'BackupPolicy'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + [Input("policyRules", required: true)] + private InputList>? _policyRules; + + /// + /// Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + /// + public InputList> PolicyRules + { + get => _policyRules ?? (_policyRules = new InputList>()); + set => _policyRules = value; + } + + public BackupPolicyArgs() + { + } + public static new BackupPolicyArgs Empty => new BackupPolicyArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupScheduleArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupScheduleArgs.cs new file mode 100644 index 000000000000..327f05f4d629 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupScheduleArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Schedule for backup + /// + public sealed class BackupScheduleArgs : global::Pulumi.ResourceArgs + { + [Input("repeatingTimeIntervals", required: true)] + private InputList? _repeatingTimeIntervals; + + /// + /// ISO 8601 repeating time interval format + /// + public InputList RepeatingTimeIntervals + { + get => _repeatingTimeIntervals ?? (_repeatingTimeIntervals = new InputList()); + set => _repeatingTimeIntervals = value; + } + + /// + /// Time zone for a schedule. Example: Pacific Standard Time + /// + [Input("timeZone")] + public Input? TimeZone { get; set; } + + public BackupScheduleArgs() + { + } + public static new BackupScheduleArgs Empty => new BackupScheduleArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupVaultArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupVaultArgs.cs new file mode 100644 index 000000000000..e914514710ec --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BackupVaultArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Backup Vault + /// + public sealed class BackupVaultArgs : global::Pulumi.ResourceArgs + { + /// + /// Feature Settings + /// + [Input("featureSettings")] + public Input? FeatureSettings { get; set; } + + /// + /// Monitoring Settings + /// + [Input("monitoringSettings")] + public Input? MonitoringSettings { get; set; } + + /// + /// Security Settings + /// + [Input("securitySettings")] + public Input? SecuritySettings { get; set; } + + [Input("storageSettings", required: true)] + private InputList? _storageSettings; + + /// + /// Storage Settings + /// + public InputList StorageSettings + { + get => _storageSettings ?? (_storageSettings = new InputList()); + set => _storageSettings = value; + } + + public BackupVaultArgs() + { + } + public static new BackupVaultArgs Empty => new BackupVaultArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BlobBackupDatasourceParametersArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BlobBackupDatasourceParametersArgs.cs new file mode 100644 index 000000000000..79fcd90814ff --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/BlobBackupDatasourceParametersArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Parameters to be used during configuration of backup of blobs + /// + public sealed class BlobBackupDatasourceParametersArgs : global::Pulumi.ResourceArgs + { + [Input("containersList", required: true)] + private InputList? _containersList; + + /// + /// List of containers to be backed up during configuration of backup of blobs + /// + public InputList ContainersList + { + get => _containersList ?? (_containersList = new InputList()); + set => _containersList = value; + } + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'BlobBackupDatasourceParameters'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public BlobBackupDatasourceParametersArgs() + { + } + public static new BlobBackupDatasourceParametersArgs Empty => new BlobBackupDatasourceParametersArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CmkKekIdentityArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CmkKekIdentityArgs.cs new file mode 100644 index 000000000000..8ebb868ed780 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CmkKekIdentityArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// The details of the managed identity used for CMK + /// + public sealed class CmkKekIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + /// + [Input("identityId")] + public Input? IdentityId { get; set; } + + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + /// + [Input("identityType")] + public InputUnion? IdentityType { get; set; } + + public CmkKekIdentityArgs() + { + } + public static new CmkKekIdentityArgs Empty => new CmkKekIdentityArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CmkKeyVaultPropertiesArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CmkKeyVaultPropertiesArgs.cs new file mode 100644 index 000000000000..041e56c8c2b5 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CmkKeyVaultPropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// The properties of the Key Vault which hosts CMK + /// + public sealed class CmkKeyVaultPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The key uri of the Customer Managed Key + /// + [Input("keyUri")] + public Input? KeyUri { get; set; } + + public CmkKeyVaultPropertiesArgs() + { + } + public static new CmkKeyVaultPropertiesArgs Empty => new CmkKeyVaultPropertiesArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CopyOnExpiryOptionArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CopyOnExpiryOptionArgs.cs new file mode 100644 index 000000000000..75ea57cfc944 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CopyOnExpiryOptionArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Copy on Expiry Option + /// + public sealed class CopyOnExpiryOptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'CopyOnExpiryOption'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public CopyOnExpiryOptionArgs() + { + } + public static new CopyOnExpiryOptionArgs Empty => new CopyOnExpiryOptionArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CrossRegionRestoreSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CrossRegionRestoreSettingsArgs.cs new file mode 100644 index 000000000000..81db85ac5f95 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CrossRegionRestoreSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + public sealed class CrossRegionRestoreSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// CrossRegionRestore state + /// + [Input("state")] + public InputUnion? State { get; set; } + + public CrossRegionRestoreSettingsArgs() + { + } + public static new CrossRegionRestoreSettingsArgs Empty => new CrossRegionRestoreSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CrossSubscriptionRestoreSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CrossSubscriptionRestoreSettingsArgs.cs new file mode 100644 index 000000000000..f8107dac7aff --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CrossSubscriptionRestoreSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// CrossSubscriptionRestore Settings + /// + public sealed class CrossSubscriptionRestoreSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// CrossSubscriptionRestore state + /// + [Input("state")] + public InputUnion? State { get; set; } + + public CrossSubscriptionRestoreSettingsArgs() + { + } + public static new CrossSubscriptionRestoreSettingsArgs Empty => new CrossSubscriptionRestoreSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CustomCopyOptionArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CustomCopyOptionArgs.cs new file mode 100644 index 000000000000..05c19ad2e3f4 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/CustomCopyOptionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Duration based custom options to copy + /// + public sealed class CustomCopyOptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Data copied after given timespan + /// + [Input("duration")] + public Input? Duration { get; set; } + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'CustomCopyOption'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public CustomCopyOptionArgs() + { + } + public static new CustomCopyOptionArgs Empty => new CustomCopyOptionArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DataStoreInfoBaseArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DataStoreInfoBaseArgs.cs new file mode 100644 index 000000000000..fd2af6ec8ec6 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DataStoreInfoBaseArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// DataStoreInfo base + /// + public sealed class DataStoreInfoBaseArgs : global::Pulumi.ResourceArgs + { + /// + /// type of datastore; Operational/Vault/Archive + /// + [Input("dataStoreType", required: true)] + public InputUnion DataStoreType { get; set; } = null!; + + /// + /// Type of Datasource object, used to initialize the right inherited type + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public DataStoreInfoBaseArgs() + { + } + public static new DataStoreInfoBaseArgs Empty => new DataStoreInfoBaseArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DatasourceArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DatasourceArgs.cs new file mode 100644 index 000000000000..0f0821972b03 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DatasourceArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Datasource to be backed up + /// + public sealed class DatasourceArgs : global::Pulumi.ResourceArgs + { + /// + /// DatasourceType of the resource. + /// + [Input("datasourceType")] + public Input? DatasourceType { get; set; } + + /// + /// Type of Datasource object, used to initialize the right inherited type + /// + [Input("objectType")] + public Input? ObjectType { get; set; } + + /// + /// Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + /// + [Input("resourceID", required: true)] + public Input ResourceID { get; set; } = null!; + + /// + /// Location of datasource. + /// + [Input("resourceLocation")] + public Input? ResourceLocation { get; set; } + + /// + /// Unique identifier of the resource in the context of parent. + /// + [Input("resourceName")] + public Input? ResourceName { get; set; } + + /// + /// Properties specific to data source + /// + [Input("resourceProperties")] + public Input? ResourceProperties { get; set; } + + /// + /// Resource Type of Datasource. + /// + [Input("resourceType")] + public Input? ResourceType { get; set; } + + /// + /// Uri of the resource. + /// + [Input("resourceUri")] + public Input? ResourceUri { get; set; } + + public DatasourceArgs() + { + } + public static new DatasourceArgs Empty => new DatasourceArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DatasourceSetArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DatasourceSetArgs.cs new file mode 100644 index 000000000000..b5a39fd25fcc --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DatasourceSetArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// DatasourceSet details of datasource to be backed up + /// + public sealed class DatasourceSetArgs : global::Pulumi.ResourceArgs + { + /// + /// DatasourceType of the resource. + /// + [Input("datasourceType")] + public Input? DatasourceType { get; set; } + + /// + /// Type of Datasource object, used to initialize the right inherited type + /// + [Input("objectType")] + public Input? ObjectType { get; set; } + + /// + /// Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + /// + [Input("resourceID", required: true)] + public Input ResourceID { get; set; } = null!; + + /// + /// Location of datasource. + /// + [Input("resourceLocation")] + public Input? ResourceLocation { get; set; } + + /// + /// Unique identifier of the resource in the context of parent. + /// + [Input("resourceName")] + public Input? ResourceName { get; set; } + + /// + /// Properties specific to data source set + /// + [Input("resourceProperties")] + public Input? ResourceProperties { get; set; } + + /// + /// Resource Type of Datasource. + /// + [Input("resourceType")] + public Input? ResourceType { get; set; } + + /// + /// Uri of the resource. + /// + [Input("resourceUri")] + public Input? ResourceUri { get; set; } + + public DatasourceSetArgs() + { + } + public static new DatasourceSetArgs Empty => new DatasourceSetArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DayArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DayArgs.cs new file mode 100644 index 000000000000..1aef33b95e7b --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DayArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Day of the week + /// + public sealed class DayArgs : global::Pulumi.ResourceArgs + { + /// + /// Date of the month + /// + [Input("date")] + public Input? Date { get; set; } + + /// + /// Whether Date is last date of month + /// + [Input("isLast")] + public Input? IsLast { get; set; } + + public DayArgs() + { + } + public static new DayArgs Empty => new DayArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DefaultResourcePropertiesArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DefaultResourcePropertiesArgs.cs new file mode 100644 index 000000000000..a97f03a2486d --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DefaultResourcePropertiesArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Default source properties + /// + public sealed class DefaultResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'DefaultResourceProperties'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public DefaultResourcePropertiesArgs() + { + } + public static new DefaultResourcePropertiesArgs Empty => new DefaultResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DppIdentityDetailsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DppIdentityDetailsArgs.cs new file mode 100644 index 000000000000..192159078f05 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/DppIdentityDetailsArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Identity details + /// + public sealed class DppIdentityDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + /// + [Input("type")] + public Input? Type { get; set; } + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// Gets or sets the user assigned identities. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public DppIdentityDetailsArgs() + { + } + public static new DppIdentityDetailsArgs Empty => new DppIdentityDetailsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/EncryptionSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/EncryptionSettingsArgs.cs new file mode 100644 index 000000000000..ecbc94068046 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/EncryptionSettingsArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Customer Managed Key details of the resource. + /// + public sealed class EncryptionSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Enabling/Disabling the Double Encryption state + /// + [Input("infrastructureEncryption")] + public InputUnion? InfrastructureEncryption { get; set; } + + /// + /// The details of the managed identity used for CMK + /// + [Input("kekIdentity")] + public Input? KekIdentity { get; set; } + + /// + /// The properties of the Key Vault which hosts CMK + /// + [Input("keyVaultProperties")] + public Input? KeyVaultProperties { get; set; } + + /// + /// Encryption state of the Backup Vault. + /// + [Input("state")] + public InputUnion? State { get; set; } + + public EncryptionSettingsArgs() + { + } + public static new EncryptionSettingsArgs Empty => new EncryptionSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/FeatureSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/FeatureSettingsArgs.cs new file mode 100644 index 000000000000..dabb53747618 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/FeatureSettingsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Class containing feature settings of vault + /// + public sealed class FeatureSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("crossRegionRestoreSettings")] + public Input? CrossRegionRestoreSettings { get; set; } + + /// + /// CrossSubscriptionRestore Settings + /// + [Input("crossSubscriptionRestoreSettings")] + public Input? CrossSubscriptionRestoreSettings { get; set; } + + public FeatureSettingsArgs() + { + } + public static new FeatureSettingsArgs Empty => new FeatureSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/IdentityDetailsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/IdentityDetailsArgs.cs new file mode 100644 index 000000000000..3c5b2529e0a0 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/IdentityDetailsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + public sealed class IdentityDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies if the BI is protected by System Identity. + /// + [Input("useSystemAssignedIdentity")] + public Input? UseSystemAssignedIdentity { get; set; } + + /// + /// ARM URL for User Assigned Identity. + /// + [Input("userAssignedIdentityArmUrl")] + public Input? UserAssignedIdentityArmUrl { get; set; } + + public IdentityDetailsArgs() + { + } + public static new IdentityDetailsArgs Empty => new IdentityDetailsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ImmediateCopyOptionArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ImmediateCopyOptionArgs.cs new file mode 100644 index 000000000000..12773b0d7892 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ImmediateCopyOptionArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Immediate copy Option + /// + public sealed class ImmediateCopyOptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'ImmediateCopyOption'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + public ImmediateCopyOptionArgs() + { + } + public static new ImmediateCopyOptionArgs Empty => new ImmediateCopyOptionArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ImmutabilitySettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ImmutabilitySettingsArgs.cs new file mode 100644 index 000000000000..258c4722e7b3 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ImmutabilitySettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Immutability Settings at vault level + /// + public sealed class ImmutabilitySettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Immutability state + /// + [Input("state")] + public InputUnion? State { get; set; } + + public ImmutabilitySettingsArgs() + { + } + public static new ImmutabilitySettingsArgs Empty => new ImmutabilitySettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/KubernetesClusterBackupDatasourceParametersArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/KubernetesClusterBackupDatasourceParametersArgs.cs new file mode 100644 index 000000000000..babb3f48945d --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/KubernetesClusterBackupDatasourceParametersArgs.cs @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Parameters for Kubernetes Cluster Backup Datasource + /// + public sealed class KubernetesClusterBackupDatasourceParametersArgs : global::Pulumi.ResourceArgs + { + [Input("backupHookReferences")] + private InputList? _backupHookReferences; + + /// + /// Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + /// + public InputList BackupHookReferences + { + get => _backupHookReferences ?? (_backupHookReferences = new InputList()); + set => _backupHookReferences = value; + } + + [Input("excludedNamespaces")] + private InputList? _excludedNamespaces; + + /// + /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. + /// + public InputList ExcludedNamespaces + { + get => _excludedNamespaces ?? (_excludedNamespaces = new InputList()); + set => _excludedNamespaces = value; + } + + [Input("excludedResourceTypes")] + private InputList? _excludedResourceTypes; + + /// + /// Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. + /// + public InputList ExcludedResourceTypes + { + get => _excludedResourceTypes ?? (_excludedResourceTypes = new InputList()); + set => _excludedResourceTypes = value; + } + + /// + /// Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. + /// + [Input("includeClusterScopeResources", required: true)] + public Input IncludeClusterScopeResources { get; set; } = null!; + + [Input("includedNamespaces")] + private InputList? _includedNamespaces; + + /// + /// Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. + /// + public InputList IncludedNamespaces + { + get => _includedNamespaces ?? (_includedNamespaces = new InputList()); + set => _includedNamespaces = value; + } + + [Input("includedResourceTypes")] + private InputList? _includedResourceTypes; + + /// + /// Gets or sets the include resource types property. This property sets the resource types to be included during backup. + /// + public InputList IncludedResourceTypes + { + get => _includedResourceTypes ?? (_includedResourceTypes = new InputList()); + set => _includedResourceTypes = value; + } + + [Input("labelSelectors")] + private InputList? _labelSelectors; + + /// + /// Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. + /// + public InputList LabelSelectors + { + get => _labelSelectors ?? (_labelSelectors = new InputList()); + set => _labelSelectors = value; + } + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'KubernetesClusterBackupDatasourceParameters'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. + /// + [Input("snapshotVolumes", required: true)] + public Input SnapshotVolumes { get; set; } = null!; + + public KubernetesClusterBackupDatasourceParametersArgs() + { + } + public static new KubernetesClusterBackupDatasourceParametersArgs Empty => new KubernetesClusterBackupDatasourceParametersArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/MonitoringSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/MonitoringSettingsArgs.cs new file mode 100644 index 000000000000..4305b743daec --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/MonitoringSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Monitoring Settings + /// + public sealed class MonitoringSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Settings for Azure Monitor based alerts + /// + [Input("azureMonitorAlertSettings")] + public Input? AzureMonitorAlertSettings { get; set; } + + public MonitoringSettingsArgs() + { + } + public static new MonitoringSettingsArgs Empty => new MonitoringSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/NamespacedNameResourceArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/NamespacedNameResourceArgs.cs new file mode 100644 index 000000000000..a51e95ab1d75 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/NamespacedNameResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Class to refer resources which contains namespace and name + /// + public sealed class NamespacedNameResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the resource + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Namespace in which the resource exists + /// + [Input("namespace")] + public Input? Namespace { get; set; } + + public NamespacedNameResourceArgs() + { + } + public static new NamespacedNameResourceArgs Empty => new NamespacedNameResourceArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/PolicyInfoArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/PolicyInfoArgs.cs new file mode 100644 index 000000000000..9dbaec303e63 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/PolicyInfoArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Policy Info in backupInstance + /// + public sealed class PolicyInfoArgs : global::Pulumi.ResourceArgs + { + [Input("policyId", required: true)] + public Input PolicyId { get; set; } = null!; + + /// + /// Policy parameters for the backup instance + /// + [Input("policyParameters")] + public Input? PolicyParameters { get; set; } + + public PolicyInfoArgs() + { + } + public static new PolicyInfoArgs Empty => new PolicyInfoArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/PolicyParametersArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/PolicyParametersArgs.cs new file mode 100644 index 000000000000..9cee6b6bd1e3 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/PolicyParametersArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Parameters in Policy + /// + public sealed class PolicyParametersArgs : global::Pulumi.ResourceArgs + { + [Input("backupDatasourceParametersList")] + private InputList>? _backupDatasourceParametersList; + + /// + /// Gets or sets the Backup Data Source Parameters + /// + public InputList> BackupDatasourceParametersList + { + get => _backupDatasourceParametersList ?? (_backupDatasourceParametersList = new InputList>()); + set => _backupDatasourceParametersList = value; + } + + [Input("dataStoreParametersList")] + private InputList? _dataStoreParametersList; + + /// + /// Gets or sets the DataStore Parameters + /// + public InputList DataStoreParametersList + { + get => _dataStoreParametersList ?? (_dataStoreParametersList = new InputList()); + set => _dataStoreParametersList = value; + } + + public PolicyParametersArgs() + { + } + public static new PolicyParametersArgs Empty => new PolicyParametersArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardArgs.cs new file mode 100644 index 000000000000..884396d596b1 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + public sealed class ResourceGuardArgs : global::Pulumi.ResourceArgs + { + [Input("vaultCriticalOperationExclusionList")] + private InputList? _vaultCriticalOperationExclusionList; + + /// + /// List of critical operations which are not protected by this resourceGuard + /// + public InputList VaultCriticalOperationExclusionList + { + get => _vaultCriticalOperationExclusionList ?? (_vaultCriticalOperationExclusionList = new InputList()); + set => _vaultCriticalOperationExclusionList = value; + } + + public ResourceGuardArgs() + { + } + public static new ResourceGuardArgs Empty => new ResourceGuardArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardOperationDetailArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardOperationDetailArgs.cs new file mode 100644 index 000000000000..2feb59b884a2 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardOperationDetailArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// VaultCritical Operation protected by a resource guard + /// + public sealed class ResourceGuardOperationDetailArgs : global::Pulumi.ResourceArgs + { + [Input("defaultResourceRequest")] + public Input? DefaultResourceRequest { get; set; } + + [Input("vaultCriticalOperation")] + public Input? VaultCriticalOperation { get; set; } + + public ResourceGuardOperationDetailArgs() + { + } + public static new ResourceGuardOperationDetailArgs Empty => new ResourceGuardOperationDetailArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardProxyBaseArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardProxyBaseArgs.cs new file mode 100644 index 000000000000..5011708cb92c --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ResourceGuardProxyBaseArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + /// + public sealed class ResourceGuardProxyBaseArgs : global::Pulumi.ResourceArgs + { + [Input("description")] + public Input? Description { get; set; } + + [Input("lastUpdatedTime")] + public Input? LastUpdatedTime { get; set; } + + [Input("resourceGuardOperationDetails")] + private InputList? _resourceGuardOperationDetails; + public InputList ResourceGuardOperationDetails + { + get => _resourceGuardOperationDetails ?? (_resourceGuardOperationDetails = new InputList()); + set => _resourceGuardOperationDetails = value; + } + + [Input("resourceGuardResourceId")] + public Input? ResourceGuardResourceId { get; set; } + + public ResourceGuardProxyBaseArgs() + { + } + public static new ResourceGuardProxyBaseArgs Empty => new ResourceGuardProxyBaseArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/RetentionTagArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/RetentionTagArgs.cs new file mode 100644 index 000000000000..5a330faa724f --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/RetentionTagArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Retention tag + /// + public sealed class RetentionTagArgs : global::Pulumi.ResourceArgs + { + /// + /// Retention Tag Name to relate it to retention rule. + /// + [Input("tagName", required: true)] + public Input TagName { get; set; } = null!; + + public RetentionTagArgs() + { + } + public static new RetentionTagArgs Empty => new RetentionTagArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ScheduleBasedBackupCriteriaArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ScheduleBasedBackupCriteriaArgs.cs new file mode 100644 index 000000000000..0b4312574466 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ScheduleBasedBackupCriteriaArgs.cs @@ -0,0 +1,103 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Schedule based backup criteria + /// + public sealed class ScheduleBasedBackupCriteriaArgs : global::Pulumi.ResourceArgs + { + [Input("absoluteCriteria")] + private InputList>? _absoluteCriteria; + + /// + /// it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + /// and should be part of AbsoluteMarker enum + /// + public InputList> AbsoluteCriteria + { + get => _absoluteCriteria ?? (_absoluteCriteria = new InputList>()); + set => _absoluteCriteria = value; + } + + [Input("daysOfMonth")] + private InputList? _daysOfMonth; + + /// + /// This is day of the month from 1 to 28 other wise last of month + /// + public InputList DaysOfMonth + { + get => _daysOfMonth ?? (_daysOfMonth = new InputList()); + set => _daysOfMonth = value; + } + + [Input("daysOfTheWeek")] + private InputList>? _daysOfTheWeek; + + /// + /// It should be Sunday/Monday/T..../Saturday + /// + public InputList> DaysOfTheWeek + { + get => _daysOfTheWeek ?? (_daysOfTheWeek = new InputList>()); + set => _daysOfTheWeek = value; + } + + [Input("monthsOfYear")] + private InputList>? _monthsOfYear; + + /// + /// It should be January/February/....../December + /// + public InputList> MonthsOfYear + { + get => _monthsOfYear ?? (_monthsOfYear = new InputList>()); + set => _monthsOfYear = value; + } + + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'ScheduleBasedBackupCriteria'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + [Input("scheduleTimes")] + private InputList? _scheduleTimes; + + /// + /// List of schedule times for backup + /// + public InputList ScheduleTimes + { + get => _scheduleTimes ?? (_scheduleTimes = new InputList()); + set => _scheduleTimes = value; + } + + [Input("weeksOfTheMonth")] + private InputList>? _weeksOfTheMonth; + + /// + /// It should be First/Second/Third/Fourth/Last + /// + public InputList> WeeksOfTheMonth + { + get => _weeksOfTheMonth ?? (_weeksOfTheMonth = new InputList>()); + set => _weeksOfTheMonth = value; + } + + public ScheduleBasedBackupCriteriaArgs() + { + } + public static new ScheduleBasedBackupCriteriaArgs Empty => new ScheduleBasedBackupCriteriaArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ScheduleBasedTriggerContextArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ScheduleBasedTriggerContextArgs.cs new file mode 100644 index 000000000000..9b9198b0a44b --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/ScheduleBasedTriggerContextArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Schedule based trigger context + /// + public sealed class ScheduleBasedTriggerContextArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'ScheduleBasedTriggerContext'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Schedule for this backup + /// + [Input("schedule", required: true)] + public Input Schedule { get; set; } = null!; + + [Input("taggingCriteria", required: true)] + private InputList? _taggingCriteria; + + /// + /// List of tags that can be applicable for given schedule. + /// + public InputList TaggingCriteria + { + get => _taggingCriteria ?? (_taggingCriteria = new InputList()); + set => _taggingCriteria = value; + } + + public ScheduleBasedTriggerContextArgs() + { + } + public static new ScheduleBasedTriggerContextArgs Empty => new ScheduleBasedTriggerContextArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecretStoreBasedAuthCredentialsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecretStoreBasedAuthCredentialsArgs.cs new file mode 100644 index 000000000000..4065bfe99961 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecretStoreBasedAuthCredentialsArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Secret store based authentication credentials. + /// + public sealed class SecretStoreBasedAuthCredentialsArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'SecretStoreBasedAuthCredentials'. + /// + [Input("objectType", required: true)] + public Input ObjectType { get; set; } = null!; + + /// + /// Secret store resource + /// + [Input("secretStoreResource")] + public Input? SecretStoreResource { get; set; } + + public SecretStoreBasedAuthCredentialsArgs() + { + } + public static new SecretStoreBasedAuthCredentialsArgs Empty => new SecretStoreBasedAuthCredentialsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecretStoreResourceArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecretStoreResourceArgs.cs new file mode 100644 index 000000000000..9d1faabc3361 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecretStoreResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Class representing a secret store resource. + /// + public sealed class SecretStoreResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the type of secret store + /// + [Input("secretStoreType", required: true)] + public InputUnion SecretStoreType { get; set; } = null!; + + /// + /// Uri to get to the resource + /// + [Input("uri")] + public Input? Uri { get; set; } + + /// + /// Gets or sets value stored in secret store resource + /// + [Input("value")] + public Input? Value { get; set; } + + public SecretStoreResourceArgs() + { + } + public static new SecretStoreResourceArgs Empty => new SecretStoreResourceArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecuritySettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecuritySettingsArgs.cs new file mode 100644 index 000000000000..94a596ffbd5e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SecuritySettingsArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Class containing security settings of vault + /// + public sealed class SecuritySettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer Managed Key details of the resource. + /// + [Input("encryptionSettings")] + public Input? EncryptionSettings { get; set; } + + /// + /// Immutability Settings at vault level + /// + [Input("immutabilitySettings")] + public Input? ImmutabilitySettings { get; set; } + + /// + /// Soft delete related settings + /// + [Input("softDeleteSettings")] + public Input? SoftDeleteSettings { get; set; } + + public SecuritySettingsArgs() + { + } + public static new SecuritySettingsArgs Empty => new SecuritySettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SoftDeleteSettingsArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SoftDeleteSettingsArgs.cs new file mode 100644 index 000000000000..74c59e698945 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SoftDeleteSettingsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Soft delete related settings + /// + public sealed class SoftDeleteSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Soft delete retention duration + /// + [Input("retentionDurationInDays")] + public Input? RetentionDurationInDays { get; set; } + + /// + /// State of soft delete + /// + [Input("state")] + public InputUnion? State { get; set; } + + public SoftDeleteSettingsArgs() + { + } + public static new SoftDeleteSettingsArgs Empty => new SoftDeleteSettingsArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SourceLifeCycleArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SourceLifeCycleArgs.cs new file mode 100644 index 000000000000..abfa91f075a1 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/SourceLifeCycleArgs.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Source LifeCycle + /// + public sealed class SourceLifeCycleArgs : global::Pulumi.ResourceArgs + { + /// + /// Delete Option + /// + [Input("deleteAfter", required: true)] + public Input DeleteAfter { get; set; } = null!; + + /// + /// DataStoreInfo base + /// + [Input("sourceDataStore", required: true)] + public Input SourceDataStore { get; set; } = null!; + + [Input("targetDataStoreCopySettings")] + private InputList? _targetDataStoreCopySettings; + public InputList TargetDataStoreCopySettings + { + get => _targetDataStoreCopySettings ?? (_targetDataStoreCopySettings = new InputList()); + set => _targetDataStoreCopySettings = value; + } + + public SourceLifeCycleArgs() + { + } + public static new SourceLifeCycleArgs Empty => new SourceLifeCycleArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/StorageSettingArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/StorageSettingArgs.cs new file mode 100644 index 000000000000..eecab5c96eae --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/StorageSettingArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Storage setting + /// + public sealed class StorageSettingArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the type of the datastore. + /// + [Input("datastoreType")] + public InputUnion? DatastoreType { get; set; } + + /// + /// Gets or sets the type. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + public StorageSettingArgs() + { + } + public static new StorageSettingArgs Empty => new StorageSettingArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/TaggingCriteriaArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/TaggingCriteriaArgs.cs new file mode 100644 index 000000000000..0c454eb696fe --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/TaggingCriteriaArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Tagging criteria + /// + public sealed class TaggingCriteriaArgs : global::Pulumi.ResourceArgs + { + [Input("criteria")] + private InputList? _criteria; + + /// + /// Criteria which decides whether the tag can be applied to a triggered backup. + /// + public InputList Criteria + { + get => _criteria ?? (_criteria = new InputList()); + set => _criteria = value; + } + + /// + /// Specifies if tag is default. + /// + [Input("isDefault", required: true)] + public Input IsDefault { get; set; } = null!; + + /// + /// Retention tag information + /// + [Input("tagInfo", required: true)] + public Input TagInfo { get; set; } = null!; + + /// + /// Retention Tag priority. + /// + [Input("taggingPriority", required: true)] + public Input TaggingPriority { get; set; } = null!; + + public TaggingCriteriaArgs() + { + } + public static new TaggingCriteriaArgs Empty => new TaggingCriteriaArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Inputs/TargetCopySettingArgs.cs b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/TargetCopySettingArgs.cs new file mode 100644 index 000000000000..1597335938b4 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Inputs/TargetCopySettingArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Inputs +{ + + /// + /// Target copy settings + /// + public sealed class TargetCopySettingArgs : global::Pulumi.ResourceArgs + { + /// + /// It can be CustomCopyOption or ImmediateCopyOption. + /// + [Input("copyAfter", required: true)] + public object CopyAfter { get; set; } = null!; + + /// + /// Info of target datastore + /// + [Input("dataStore", required: true)] + public Input DataStore { get; set; } = null!; + + public TargetCopySettingArgs() + { + } + public static new TargetCopySettingArgs Empty => new TargetCopySettingArgs(); + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AbsoluteDeleteOptionResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AbsoluteDeleteOptionResponse.cs new file mode 100644 index 000000000000..edebf73d369c --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AbsoluteDeleteOptionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Delete option with duration + /// + [OutputType] + public sealed class AbsoluteDeleteOptionResponse + { + /// + /// Duration of deletion after given timespan + /// + public readonly string Duration; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AbsoluteDeleteOption'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private AbsoluteDeleteOptionResponse( + string duration, + + string objectType) + { + Duration = duration; + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AdhocBasedTaggingCriteriaResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AdhocBasedTaggingCriteriaResponse.cs new file mode 100644 index 000000000000..8bd7da675844 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AdhocBasedTaggingCriteriaResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Adhoc backup tagging criteria + /// + [OutputType] + public sealed class AdhocBasedTaggingCriteriaResponse + { + /// + /// Retention tag information + /// + public readonly Outputs.RetentionTagResponse? TagInfo; + + [OutputConstructor] + private AdhocBasedTaggingCriteriaResponse(Outputs.RetentionTagResponse? tagInfo) + { + TagInfo = tagInfo; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AdhocBasedTriggerContextResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AdhocBasedTriggerContextResponse.cs new file mode 100644 index 000000000000..5a0668fc6083 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AdhocBasedTriggerContextResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Adhoc trigger context + /// + [OutputType] + public sealed class AdhocBasedTriggerContextResponse + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AdhocBasedTriggerContext'. + /// + public readonly string ObjectType; + /// + /// Tagging Criteria containing retention tag for adhoc backup. + /// + public readonly Outputs.AdhocBasedTaggingCriteriaResponse TaggingCriteria; + + [OutputConstructor] + private AdhocBasedTriggerContextResponse( + string objectType, + + Outputs.AdhocBasedTaggingCriteriaResponse taggingCriteria) + { + ObjectType = objectType; + TaggingCriteria = taggingCriteria; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureBackupParamsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureBackupParamsResponse.cs new file mode 100644 index 000000000000..a1ccb0da2ab5 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureBackupParamsResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Azure backup parameters + /// + [OutputType] + public sealed class AzureBackupParamsResponse + { + /// + /// BackupType ; Full/Incremental etc + /// + public readonly string BackupType; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AzureBackupParams'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private AzureBackupParamsResponse( + string backupType, + + string objectType) + { + BackupType = backupType; + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureBackupRuleResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureBackupRuleResponse.cs new file mode 100644 index 000000000000..3a168bab43fe --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureBackupRuleResponse.cs @@ -0,0 +1,57 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Azure backup rule + /// + [OutputType] + public sealed class AzureBackupRuleResponse + { + /// + /// BackupParameters base + /// + public readonly Outputs.AzureBackupParamsResponse? BackupParameters; + /// + /// DataStoreInfo base + /// + public readonly Outputs.DataStoreInfoBaseResponse DataStore; + public readonly string Name; + /// + /// + /// Expected value is 'AzureBackupRule'. + /// + public readonly string ObjectType; + /// + /// Trigger context + /// + public readonly Union Trigger; + + [OutputConstructor] + private AzureBackupRuleResponse( + Outputs.AzureBackupParamsResponse? backupParameters, + + Outputs.DataStoreInfoBaseResponse dataStore, + + string name, + + string objectType, + + Union trigger) + { + BackupParameters = backupParameters; + DataStore = dataStore; + Name = name; + ObjectType = objectType; + Trigger = trigger; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureMonitorAlertSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureMonitorAlertSettingsResponse.cs new file mode 100644 index 000000000000..9829bf11e482 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureMonitorAlertSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Settings for Azure Monitor based alerts + /// + [OutputType] + public sealed class AzureMonitorAlertSettingsResponse + { + public readonly string? AlertsForAllJobFailures; + + [OutputConstructor] + private AzureMonitorAlertSettingsResponse(string? alertsForAllJobFailures) + { + AlertsForAllJobFailures = alertsForAllJobFailures; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureOperationalStoreParametersResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureOperationalStoreParametersResponse.cs new file mode 100644 index 000000000000..4df733afe90e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureOperationalStoreParametersResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Parameters for Operational-Tier DataStore + /// + [OutputType] + public sealed class AzureOperationalStoreParametersResponse + { + /// + /// type of datastore; Operational/Vault/Archive + /// + public readonly string DataStoreType; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'AzureOperationalStoreParameters'. + /// + public readonly string ObjectType; + /// + /// Gets or sets the Snapshot Resource Group Uri. + /// + public readonly string? ResourceGroupId; + + [OutputConstructor] + private AzureOperationalStoreParametersResponse( + string dataStoreType, + + string objectType, + + string? resourceGroupId) + { + DataStoreType = dataStoreType; + ObjectType = objectType; + ResourceGroupId = resourceGroupId; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureRetentionRuleResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureRetentionRuleResponse.cs new file mode 100644 index 000000000000..743efb90a524 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/AzureRetentionRuleResponse.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Azure retention rule + /// + [OutputType] + public sealed class AzureRetentionRuleResponse + { + public readonly bool? IsDefault; + public readonly ImmutableArray Lifecycles; + public readonly string Name; + /// + /// + /// Expected value is 'AzureRetentionRule'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private AzureRetentionRuleResponse( + bool? isDefault, + + ImmutableArray lifecycles, + + string name, + + string objectType) + { + IsDefault = isDefault; + Lifecycles = lifecycles; + Name = name; + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupInstanceResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupInstanceResponse.cs new file mode 100644 index 000000000000..b96602b4019e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupInstanceResponse.cs @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Backup Instance + /// + [OutputType] + public sealed class BackupInstanceResponse + { + /// + /// Specifies the current protection state of the resource + /// + public readonly string CurrentProtectionState; + /// + /// Gets or sets the data source information. + /// + public readonly Outputs.DatasourceResponse DataSourceInfo; + /// + /// Gets or sets the data source set information. + /// + public readonly Outputs.DatasourceSetResponse? DataSourceSetInfo; + /// + /// Credentials to use to authenticate with data source provider. + /// + public readonly Outputs.SecretStoreBasedAuthCredentialsResponse? DatasourceAuthCredentials; + /// + /// Gets or sets the Backup Instance friendly name. + /// + public readonly string? FriendlyName; + /// + /// Contains information of the Identity Details for the BI. + /// If it is null, default will be considered as System Assigned. + /// + public readonly Outputs.IdentityDetailsResponse? IdentityDetails; + public readonly string ObjectType; + /// + /// Gets or sets the policy information. + /// + public readonly Outputs.PolicyInfoResponse PolicyInfo; + /// + /// Specifies the protection error of the resource + /// + public readonly Outputs.UserFacingErrorResponse ProtectionErrorDetails; + /// + /// Specifies the protection status of the resource + /// + public readonly Outputs.ProtectionStatusDetailsResponse ProtectionStatus; + /// + /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed + /// + public readonly string ProvisioningState; + /// + /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + /// + public readonly string? ValidationType; + + [OutputConstructor] + private BackupInstanceResponse( + string currentProtectionState, + + Outputs.DatasourceResponse dataSourceInfo, + + Outputs.DatasourceSetResponse? dataSourceSetInfo, + + Outputs.SecretStoreBasedAuthCredentialsResponse? datasourceAuthCredentials, + + string? friendlyName, + + Outputs.IdentityDetailsResponse? identityDetails, + + string objectType, + + Outputs.PolicyInfoResponse policyInfo, + + Outputs.UserFacingErrorResponse protectionErrorDetails, + + Outputs.ProtectionStatusDetailsResponse protectionStatus, + + string provisioningState, + + string? validationType) + { + CurrentProtectionState = currentProtectionState; + DataSourceInfo = dataSourceInfo; + DataSourceSetInfo = dataSourceSetInfo; + DatasourceAuthCredentials = datasourceAuthCredentials; + FriendlyName = friendlyName; + IdentityDetails = identityDetails; + ObjectType = objectType; + PolicyInfo = policyInfo; + ProtectionErrorDetails = protectionErrorDetails; + ProtectionStatus = protectionStatus; + ProvisioningState = provisioningState; + ValidationType = validationType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupPolicyResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupPolicyResponse.cs new file mode 100644 index 000000000000..7fbe2a061259 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupPolicyResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Rule based backup policy + /// + [OutputType] + public sealed class BackupPolicyResponse + { + /// + /// Type of datasource for the backup management + /// + public readonly ImmutableArray DatasourceTypes; + /// + /// + /// Expected value is 'BackupPolicy'. + /// + public readonly string ObjectType; + /// + /// Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + /// + public readonly ImmutableArray> PolicyRules; + + [OutputConstructor] + private BackupPolicyResponse( + ImmutableArray datasourceTypes, + + string objectType, + + ImmutableArray> policyRules) + { + DatasourceTypes = datasourceTypes; + ObjectType = objectType; + PolicyRules = policyRules; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupScheduleResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupScheduleResponse.cs new file mode 100644 index 000000000000..0e27968ac417 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupScheduleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Schedule for backup + /// + [OutputType] + public sealed class BackupScheduleResponse + { + /// + /// ISO 8601 repeating time interval format + /// + public readonly ImmutableArray RepeatingTimeIntervals; + /// + /// Time zone for a schedule. Example: Pacific Standard Time + /// + public readonly string? TimeZone; + + [OutputConstructor] + private BackupScheduleResponse( + ImmutableArray repeatingTimeIntervals, + + string? timeZone) + { + RepeatingTimeIntervals = repeatingTimeIntervals; + TimeZone = timeZone; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupVaultResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupVaultResponse.cs new file mode 100644 index 000000000000..03209296f69f --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BackupVaultResponse.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Backup Vault + /// + [OutputType] + public sealed class BackupVaultResponse + { + /// + /// Feature Settings + /// + public readonly Outputs.FeatureSettingsResponse? FeatureSettings; + /// + /// Is vault protected by resource guard + /// + public readonly bool IsVaultProtectedByResourceGuard; + /// + /// Monitoring Settings + /// + public readonly Outputs.MonitoringSettingsResponse? MonitoringSettings; + /// + /// Provisioning state of the BackupVault resource + /// + public readonly string ProvisioningState; + /// + /// Resource move details for backup vault + /// + public readonly Outputs.ResourceMoveDetailsResponse ResourceMoveDetails; + /// + /// Resource move state for backup vault + /// + public readonly string ResourceMoveState; + /// + /// Secure Score of Backup Vault + /// + public readonly string SecureScore; + /// + /// Security Settings + /// + public readonly Outputs.SecuritySettingsResponse? SecuritySettings; + /// + /// Storage Settings + /// + public readonly ImmutableArray StorageSettings; + + [OutputConstructor] + private BackupVaultResponse( + Outputs.FeatureSettingsResponse? featureSettings, + + bool isVaultProtectedByResourceGuard, + + Outputs.MonitoringSettingsResponse? monitoringSettings, + + string provisioningState, + + Outputs.ResourceMoveDetailsResponse resourceMoveDetails, + + string resourceMoveState, + + string secureScore, + + Outputs.SecuritySettingsResponse? securitySettings, + + ImmutableArray storageSettings) + { + FeatureSettings = featureSettings; + IsVaultProtectedByResourceGuard = isVaultProtectedByResourceGuard; + MonitoringSettings = monitoringSettings; + ProvisioningState = provisioningState; + ResourceMoveDetails = resourceMoveDetails; + ResourceMoveState = resourceMoveState; + SecureScore = secureScore; + SecuritySettings = securitySettings; + StorageSettings = storageSettings; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BlobBackupDatasourceParametersResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BlobBackupDatasourceParametersResponse.cs new file mode 100644 index 000000000000..cf56cbe2df31 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/BlobBackupDatasourceParametersResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Parameters to be used during configuration of backup of blobs + /// + [OutputType] + public sealed class BlobBackupDatasourceParametersResponse + { + /// + /// List of containers to be backed up during configuration of backup of blobs + /// + public readonly ImmutableArray ContainersList; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'BlobBackupDatasourceParameters'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private BlobBackupDatasourceParametersResponse( + ImmutableArray containersList, + + string objectType) + { + ContainersList = containersList; + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CmkKekIdentityResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CmkKekIdentityResponse.cs new file mode 100644 index 000000000000..f043d2c606c0 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CmkKekIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// The details of the managed identity used for CMK + /// + [OutputType] + public sealed class CmkKekIdentityResponse + { + /// + /// The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + /// + public readonly string? IdentityId; + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + /// + public readonly string? IdentityType; + + [OutputConstructor] + private CmkKekIdentityResponse( + string? identityId, + + string? identityType) + { + IdentityId = identityId; + IdentityType = identityType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CmkKeyVaultPropertiesResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CmkKeyVaultPropertiesResponse.cs new file mode 100644 index 000000000000..7fabc61e1514 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CmkKeyVaultPropertiesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// The properties of the Key Vault which hosts CMK + /// + [OutputType] + public sealed class CmkKeyVaultPropertiesResponse + { + /// + /// The key uri of the Customer Managed Key + /// + public readonly string? KeyUri; + + [OutputConstructor] + private CmkKeyVaultPropertiesResponse(string? keyUri) + { + KeyUri = keyUri; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CopyOnExpiryOptionResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CopyOnExpiryOptionResponse.cs new file mode 100644 index 000000000000..73d2837fa153 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CopyOnExpiryOptionResponse.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Copy on Expiry Option + /// + [OutputType] + public sealed class CopyOnExpiryOptionResponse + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'CopyOnExpiryOption'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private CopyOnExpiryOptionResponse(string objectType) + { + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CrossRegionRestoreSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CrossRegionRestoreSettingsResponse.cs new file mode 100644 index 000000000000..e73196e10387 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CrossRegionRestoreSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + [OutputType] + public sealed class CrossRegionRestoreSettingsResponse + { + /// + /// CrossRegionRestore state + /// + public readonly string? State; + + [OutputConstructor] + private CrossRegionRestoreSettingsResponse(string? state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CrossSubscriptionRestoreSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CrossSubscriptionRestoreSettingsResponse.cs new file mode 100644 index 000000000000..694ce44bba32 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CrossSubscriptionRestoreSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// CrossSubscriptionRestore Settings + /// + [OutputType] + public sealed class CrossSubscriptionRestoreSettingsResponse + { + /// + /// CrossSubscriptionRestore state + /// + public readonly string? State; + + [OutputConstructor] + private CrossSubscriptionRestoreSettingsResponse(string? state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CustomCopyOptionResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CustomCopyOptionResponse.cs new file mode 100644 index 000000000000..345004131125 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/CustomCopyOptionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Duration based custom options to copy + /// + [OutputType] + public sealed class CustomCopyOptionResponse + { + /// + /// Data copied after given timespan + /// + public readonly string? Duration; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'CustomCopyOption'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private CustomCopyOptionResponse( + string? duration, + + string objectType) + { + Duration = duration; + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DataStoreInfoBaseResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DataStoreInfoBaseResponse.cs new file mode 100644 index 000000000000..e182d5aad0ed --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DataStoreInfoBaseResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// DataStoreInfo base + /// + [OutputType] + public sealed class DataStoreInfoBaseResponse + { + /// + /// type of datastore; Operational/Vault/Archive + /// + public readonly string DataStoreType; + /// + /// Type of Datasource object, used to initialize the right inherited type + /// + public readonly string ObjectType; + + [OutputConstructor] + private DataStoreInfoBaseResponse( + string dataStoreType, + + string objectType) + { + DataStoreType = dataStoreType; + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DatasourceResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DatasourceResponse.cs new file mode 100644 index 000000000000..3131905d8d4a --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DatasourceResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Datasource to be backed up + /// + [OutputType] + public sealed class DatasourceResponse + { + /// + /// DatasourceType of the resource. + /// + public readonly string? DatasourceType; + /// + /// Type of Datasource object, used to initialize the right inherited type + /// + public readonly string? ObjectType; + /// + /// Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + /// + public readonly string ResourceID; + /// + /// Location of datasource. + /// + public readonly string? ResourceLocation; + /// + /// Unique identifier of the resource in the context of parent. + /// + public readonly string? ResourceName; + /// + /// Properties specific to data source + /// + public readonly Outputs.DefaultResourcePropertiesResponse? ResourceProperties; + /// + /// Resource Type of Datasource. + /// + public readonly string? ResourceType; + /// + /// Uri of the resource. + /// + public readonly string? ResourceUri; + + [OutputConstructor] + private DatasourceResponse( + string? datasourceType, + + string? objectType, + + string resourceID, + + string? resourceLocation, + + string? resourceName, + + Outputs.DefaultResourcePropertiesResponse? resourceProperties, + + string? resourceType, + + string? resourceUri) + { + DatasourceType = datasourceType; + ObjectType = objectType; + ResourceID = resourceID; + ResourceLocation = resourceLocation; + ResourceName = resourceName; + ResourceProperties = resourceProperties; + ResourceType = resourceType; + ResourceUri = resourceUri; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DatasourceSetResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DatasourceSetResponse.cs new file mode 100644 index 000000000000..403726846760 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DatasourceSetResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// DatasourceSet details of datasource to be backed up + /// + [OutputType] + public sealed class DatasourceSetResponse + { + /// + /// DatasourceType of the resource. + /// + public readonly string? DatasourceType; + /// + /// Type of Datasource object, used to initialize the right inherited type + /// + public readonly string? ObjectType; + /// + /// Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + /// + public readonly string ResourceID; + /// + /// Location of datasource. + /// + public readonly string? ResourceLocation; + /// + /// Unique identifier of the resource in the context of parent. + /// + public readonly string? ResourceName; + /// + /// Properties specific to data source set + /// + public readonly Outputs.DefaultResourcePropertiesResponse? ResourceProperties; + /// + /// Resource Type of Datasource. + /// + public readonly string? ResourceType; + /// + /// Uri of the resource. + /// + public readonly string? ResourceUri; + + [OutputConstructor] + private DatasourceSetResponse( + string? datasourceType, + + string? objectType, + + string resourceID, + + string? resourceLocation, + + string? resourceName, + + Outputs.DefaultResourcePropertiesResponse? resourceProperties, + + string? resourceType, + + string? resourceUri) + { + DatasourceType = datasourceType; + ObjectType = objectType; + ResourceID = resourceID; + ResourceLocation = resourceLocation; + ResourceName = resourceName; + ResourceProperties = resourceProperties; + ResourceType = resourceType; + ResourceUri = resourceUri; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DayResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DayResponse.cs new file mode 100644 index 000000000000..d58338393ea9 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DayResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Day of the week + /// + [OutputType] + public sealed class DayResponse + { + /// + /// Date of the month + /// + public readonly int? Date; + /// + /// Whether Date is last date of month + /// + public readonly bool? IsLast; + + [OutputConstructor] + private DayResponse( + int? date, + + bool? isLast) + { + Date = date; + IsLast = isLast; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DefaultResourcePropertiesResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DefaultResourcePropertiesResponse.cs new file mode 100644 index 000000000000..b41181799bfe --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DefaultResourcePropertiesResponse.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Default source properties + /// + [OutputType] + public sealed class DefaultResourcePropertiesResponse + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'DefaultResourceProperties'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private DefaultResourcePropertiesResponse(string objectType) + { + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DppIdentityDetailsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DppIdentityDetailsResponse.cs new file mode 100644 index 000000000000..9578e22e6d46 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/DppIdentityDetailsResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Identity details + /// + [OutputType] + public sealed class DppIdentityDetailsResponse + { + /// + /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource. + /// + public readonly string PrincipalId; + /// + /// A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. + /// + public readonly string TenantId; + /// + /// The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + /// + public readonly string? Type; + /// + /// Gets or sets the user assigned identities. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private DppIdentityDetailsResponse( + string principalId, + + string tenantId, + + string? type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/EncryptionSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/EncryptionSettingsResponse.cs new file mode 100644 index 000000000000..f6b00ce3d0f7 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/EncryptionSettingsResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Customer Managed Key details of the resource. + /// + [OutputType] + public sealed class EncryptionSettingsResponse + { + /// + /// Enabling/Disabling the Double Encryption state + /// + public readonly string? InfrastructureEncryption; + /// + /// The details of the managed identity used for CMK + /// + public readonly Outputs.CmkKekIdentityResponse? KekIdentity; + /// + /// The properties of the Key Vault which hosts CMK + /// + public readonly Outputs.CmkKeyVaultPropertiesResponse? KeyVaultProperties; + /// + /// Encryption state of the Backup Vault. + /// + public readonly string? State; + + [OutputConstructor] + private EncryptionSettingsResponse( + string? infrastructureEncryption, + + Outputs.CmkKekIdentityResponse? kekIdentity, + + Outputs.CmkKeyVaultPropertiesResponse? keyVaultProperties, + + string? state) + { + InfrastructureEncryption = infrastructureEncryption; + KekIdentity = kekIdentity; + KeyVaultProperties = keyVaultProperties; + State = state; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/FeatureSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/FeatureSettingsResponse.cs new file mode 100644 index 000000000000..ab3b2b68fac2 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/FeatureSettingsResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Class containing feature settings of vault + /// + [OutputType] + public sealed class FeatureSettingsResponse + { + public readonly Outputs.CrossRegionRestoreSettingsResponse? CrossRegionRestoreSettings; + /// + /// CrossSubscriptionRestore Settings + /// + public readonly Outputs.CrossSubscriptionRestoreSettingsResponse? CrossSubscriptionRestoreSettings; + + [OutputConstructor] + private FeatureSettingsResponse( + Outputs.CrossRegionRestoreSettingsResponse? crossRegionRestoreSettings, + + Outputs.CrossSubscriptionRestoreSettingsResponse? crossSubscriptionRestoreSettings) + { + CrossRegionRestoreSettings = crossRegionRestoreSettings; + CrossSubscriptionRestoreSettings = crossSubscriptionRestoreSettings; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/IdentityDetailsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/IdentityDetailsResponse.cs new file mode 100644 index 000000000000..95c8a4d385d7 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/IdentityDetailsResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + [OutputType] + public sealed class IdentityDetailsResponse + { + /// + /// Specifies if the BI is protected by System Identity. + /// + public readonly bool? UseSystemAssignedIdentity; + /// + /// ARM URL for User Assigned Identity. + /// + public readonly string? UserAssignedIdentityArmUrl; + + [OutputConstructor] + private IdentityDetailsResponse( + bool? useSystemAssignedIdentity, + + string? userAssignedIdentityArmUrl) + { + UseSystemAssignedIdentity = useSystemAssignedIdentity; + UserAssignedIdentityArmUrl = userAssignedIdentityArmUrl; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ImmediateCopyOptionResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ImmediateCopyOptionResponse.cs new file mode 100644 index 000000000000..1c16b3f2595f --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ImmediateCopyOptionResponse.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Immediate copy Option + /// + [OutputType] + public sealed class ImmediateCopyOptionResponse + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'ImmediateCopyOption'. + /// + public readonly string ObjectType; + + [OutputConstructor] + private ImmediateCopyOptionResponse(string objectType) + { + ObjectType = objectType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ImmutabilitySettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ImmutabilitySettingsResponse.cs new file mode 100644 index 000000000000..577fd7f5cc53 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ImmutabilitySettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Immutability Settings at vault level + /// + [OutputType] + public sealed class ImmutabilitySettingsResponse + { + /// + /// Immutability state + /// + public readonly string? State; + + [OutputConstructor] + private ImmutabilitySettingsResponse(string? state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/InnerErrorResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/InnerErrorResponse.cs new file mode 100644 index 000000000000..14216794d5f0 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/InnerErrorResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Inner Error + /// + [OutputType] + public sealed class InnerErrorResponse + { + /// + /// Any Key value pairs that can be provided to the client for additional verbose information. + /// + public readonly ImmutableDictionary? AdditionalInfo; + /// + /// Unique code for this error + /// + public readonly string? Code; + /// + /// Child Inner Error, to allow Nesting. + /// + public readonly Outputs.InnerErrorResponse? EmbeddedInnerError; + + [OutputConstructor] + private InnerErrorResponse( + ImmutableDictionary? additionalInfo, + + string? code, + + Outputs.InnerErrorResponse? embeddedInnerError) + { + AdditionalInfo = additionalInfo; + Code = code; + EmbeddedInnerError = embeddedInnerError; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/KubernetesClusterBackupDatasourceParametersResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/KubernetesClusterBackupDatasourceParametersResponse.cs new file mode 100644 index 000000000000..d3382a95e819 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/KubernetesClusterBackupDatasourceParametersResponse.cs @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Parameters for Kubernetes Cluster Backup Datasource + /// + [OutputType] + public sealed class KubernetesClusterBackupDatasourceParametersResponse + { + /// + /// Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + /// + public readonly ImmutableArray BackupHookReferences; + /// + /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. + /// + public readonly ImmutableArray ExcludedNamespaces; + /// + /// Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. + /// + public readonly ImmutableArray ExcludedResourceTypes; + /// + /// Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. + /// + public readonly bool IncludeClusterScopeResources; + /// + /// Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. + /// + public readonly ImmutableArray IncludedNamespaces; + /// + /// Gets or sets the include resource types property. This property sets the resource types to be included during backup. + /// + public readonly ImmutableArray IncludedResourceTypes; + /// + /// Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. + /// + public readonly ImmutableArray LabelSelectors; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'KubernetesClusterBackupDatasourceParameters'. + /// + public readonly string ObjectType; + /// + /// Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. + /// + public readonly bool SnapshotVolumes; + + [OutputConstructor] + private KubernetesClusterBackupDatasourceParametersResponse( + ImmutableArray backupHookReferences, + + ImmutableArray excludedNamespaces, + + ImmutableArray excludedResourceTypes, + + bool includeClusterScopeResources, + + ImmutableArray includedNamespaces, + + ImmutableArray includedResourceTypes, + + ImmutableArray labelSelectors, + + string objectType, + + bool snapshotVolumes) + { + BackupHookReferences = backupHookReferences; + ExcludedNamespaces = excludedNamespaces; + ExcludedResourceTypes = excludedResourceTypes; + IncludeClusterScopeResources = includeClusterScopeResources; + IncludedNamespaces = includedNamespaces; + IncludedResourceTypes = includedResourceTypes; + LabelSelectors = labelSelectors; + ObjectType = objectType; + SnapshotVolumes = snapshotVolumes; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/MonitoringSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/MonitoringSettingsResponse.cs new file mode 100644 index 000000000000..9c8e210534a5 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/MonitoringSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Monitoring Settings + /// + [OutputType] + public sealed class MonitoringSettingsResponse + { + /// + /// Settings for Azure Monitor based alerts + /// + public readonly Outputs.AzureMonitorAlertSettingsResponse? AzureMonitorAlertSettings; + + [OutputConstructor] + private MonitoringSettingsResponse(Outputs.AzureMonitorAlertSettingsResponse? azureMonitorAlertSettings) + { + AzureMonitorAlertSettings = azureMonitorAlertSettings; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/NamespacedNameResourceResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/NamespacedNameResourceResponse.cs new file mode 100644 index 000000000000..f511c8013eb4 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/NamespacedNameResourceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Class to refer resources which contains namespace and name + /// + [OutputType] + public sealed class NamespacedNameResourceResponse + { + /// + /// Name of the resource + /// + public readonly string? Name; + /// + /// Namespace in which the resource exists + /// + public readonly string? Namespace; + + [OutputConstructor] + private NamespacedNameResourceResponse( + string? name, + + string? @namespace) + { + Name = name; + Namespace = @namespace; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/PolicyInfoResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/PolicyInfoResponse.cs new file mode 100644 index 000000000000..fc095aaf12d2 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/PolicyInfoResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Policy Info in backupInstance + /// + [OutputType] + public sealed class PolicyInfoResponse + { + public readonly string PolicyId; + /// + /// Policy parameters for the backup instance + /// + public readonly Outputs.PolicyParametersResponse? PolicyParameters; + public readonly string PolicyVersion; + + [OutputConstructor] + private PolicyInfoResponse( + string policyId, + + Outputs.PolicyParametersResponse? policyParameters, + + string policyVersion) + { + PolicyId = policyId; + PolicyParameters = policyParameters; + PolicyVersion = policyVersion; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/PolicyParametersResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/PolicyParametersResponse.cs new file mode 100644 index 000000000000..21062e46f10e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/PolicyParametersResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Parameters in Policy + /// + [OutputType] + public sealed class PolicyParametersResponse + { + /// + /// Gets or sets the Backup Data Source Parameters + /// + public readonly ImmutableArray> BackupDatasourceParametersList; + /// + /// Gets or sets the DataStore Parameters + /// + public readonly ImmutableArray DataStoreParametersList; + + [OutputConstructor] + private PolicyParametersResponse( + ImmutableArray> backupDatasourceParametersList, + + ImmutableArray dataStoreParametersList) + { + BackupDatasourceParametersList = backupDatasourceParametersList; + DataStoreParametersList = dataStoreParametersList; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ProtectionStatusDetailsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ProtectionStatusDetailsResponse.cs new file mode 100644 index 000000000000..ac89f32ef5cc --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ProtectionStatusDetailsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Protection status details + /// + [OutputType] + public sealed class ProtectionStatusDetailsResponse + { + /// + /// Specifies the protection status error of the resource + /// + public readonly Outputs.UserFacingErrorResponse? ErrorDetails; + /// + /// Specifies the protection status of the resource + /// + public readonly string? Status; + + [OutputConstructor] + private ProtectionStatusDetailsResponse( + Outputs.UserFacingErrorResponse? errorDetails, + + string? status) + { + ErrorDetails = errorDetails; + Status = status; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardOperationDetailResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardOperationDetailResponse.cs new file mode 100644 index 000000000000..612ee383ec3f --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardOperationDetailResponse.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// VaultCritical Operation protected by a resource guard + /// + [OutputType] + public sealed class ResourceGuardOperationDetailResponse + { + public readonly string? DefaultResourceRequest; + public readonly string? VaultCriticalOperation; + + [OutputConstructor] + private ResourceGuardOperationDetailResponse( + string? defaultResourceRequest, + + string? vaultCriticalOperation) + { + DefaultResourceRequest = defaultResourceRequest; + VaultCriticalOperation = vaultCriticalOperation; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardOperationResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardOperationResponse.cs new file mode 100644 index 000000000000..e2e59b48c8c8 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardOperationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// This class contains all the details about a critical operation. + /// + [OutputType] + public sealed class ResourceGuardOperationResponse + { + /// + /// Type of resource request. + /// + public readonly string RequestResourceType; + /// + /// Name of the critical operation. + /// + public readonly string VaultCriticalOperation; + + [OutputConstructor] + private ResourceGuardOperationResponse( + string requestResourceType, + + string vaultCriticalOperation) + { + RequestResourceType = requestResourceType; + VaultCriticalOperation = vaultCriticalOperation; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardProxyBaseResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardProxyBaseResponse.cs new file mode 100644 index 000000000000..abe26cc4f42e --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardProxyBaseResponse.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + /// + [OutputType] + public sealed class ResourceGuardProxyBaseResponse + { + public readonly string? Description; + public readonly string? LastUpdatedTime; + public readonly ImmutableArray ResourceGuardOperationDetails; + public readonly string? ResourceGuardResourceId; + + [OutputConstructor] + private ResourceGuardProxyBaseResponse( + string? description, + + string? lastUpdatedTime, + + ImmutableArray resourceGuardOperationDetails, + + string? resourceGuardResourceId) + { + Description = description; + LastUpdatedTime = lastUpdatedTime; + ResourceGuardOperationDetails = resourceGuardOperationDetails; + ResourceGuardResourceId = resourceGuardResourceId; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardResponse.cs new file mode 100644 index 000000000000..98bec03e3a51 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceGuardResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + [OutputType] + public sealed class ResourceGuardResponse + { + /// + /// This flag indicates whether auto approval is allowed or not. + /// + public readonly bool AllowAutoApprovals; + /// + /// Description about the pre-req steps to perform all the critical operations. + /// + public readonly string Description; + /// + /// Provisioning state of the BackupVault resource + /// + public readonly string ProvisioningState; + /// + /// {readonly} List of operation details those are protected by the ResourceGuard resource + /// + public readonly ImmutableArray ResourceGuardOperations; + /// + /// List of critical operations which are not protected by this resourceGuard + /// + public readonly ImmutableArray VaultCriticalOperationExclusionList; + + [OutputConstructor] + private ResourceGuardResponse( + bool allowAutoApprovals, + + string description, + + string provisioningState, + + ImmutableArray resourceGuardOperations, + + ImmutableArray vaultCriticalOperationExclusionList) + { + AllowAutoApprovals = allowAutoApprovals; + Description = description; + ProvisioningState = provisioningState; + ResourceGuardOperations = resourceGuardOperations; + VaultCriticalOperationExclusionList = vaultCriticalOperationExclusionList; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceMoveDetailsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceMoveDetailsResponse.cs new file mode 100644 index 000000000000..ed1d5762d943 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ResourceMoveDetailsResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// ResourceMoveDetails will be returned in response to GetResource call from ARM + /// + [OutputType] + public sealed class ResourceMoveDetailsResponse + { + /// + /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + /// + public readonly string? CompletionTimeUtc; + /// + /// CorrelationId of latest ResourceMove operation attempted + /// + public readonly string? OperationId; + /// + /// ARM resource path of source resource + /// + public readonly string? SourceResourcePath; + /// + /// Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + /// + public readonly string? StartTimeUtc; + /// + /// ARM resource path of target resource used in latest ResourceMove operation + /// + public readonly string? TargetResourcePath; + + [OutputConstructor] + private ResourceMoveDetailsResponse( + string? completionTimeUtc, + + string? operationId, + + string? sourceResourcePath, + + string? startTimeUtc, + + string? targetResourcePath) + { + CompletionTimeUtc = completionTimeUtc; + OperationId = operationId; + SourceResourcePath = sourceResourcePath; + StartTimeUtc = startTimeUtc; + TargetResourcePath = targetResourcePath; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/RetentionTagResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/RetentionTagResponse.cs new file mode 100644 index 000000000000..51971a52489c --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/RetentionTagResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Retention tag + /// + [OutputType] + public sealed class RetentionTagResponse + { + /// + /// Retention Tag version. + /// + public readonly string ETag; + /// + /// Retention Tag version. + /// + public readonly string Id; + /// + /// Retention Tag Name to relate it to retention rule. + /// + public readonly string TagName; + + [OutputConstructor] + private RetentionTagResponse( + string eTag, + + string id, + + string tagName) + { + ETag = eTag; + Id = id; + TagName = tagName; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ScheduleBasedBackupCriteriaResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ScheduleBasedBackupCriteriaResponse.cs new file mode 100644 index 000000000000..b2fe97a6e09b --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ScheduleBasedBackupCriteriaResponse.cs @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Schedule based backup criteria + /// + [OutputType] + public sealed class ScheduleBasedBackupCriteriaResponse + { + /// + /// it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + /// and should be part of AbsoluteMarker enum + /// + public readonly ImmutableArray AbsoluteCriteria; + /// + /// This is day of the month from 1 to 28 other wise last of month + /// + public readonly ImmutableArray DaysOfMonth; + /// + /// It should be Sunday/Monday/T..../Saturday + /// + public readonly ImmutableArray DaysOfTheWeek; + /// + /// It should be January/February/....../December + /// + public readonly ImmutableArray MonthsOfYear; + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'ScheduleBasedBackupCriteria'. + /// + public readonly string ObjectType; + /// + /// List of schedule times for backup + /// + public readonly ImmutableArray ScheduleTimes; + /// + /// It should be First/Second/Third/Fourth/Last + /// + public readonly ImmutableArray WeeksOfTheMonth; + + [OutputConstructor] + private ScheduleBasedBackupCriteriaResponse( + ImmutableArray absoluteCriteria, + + ImmutableArray daysOfMonth, + + ImmutableArray daysOfTheWeek, + + ImmutableArray monthsOfYear, + + string objectType, + + ImmutableArray scheduleTimes, + + ImmutableArray weeksOfTheMonth) + { + AbsoluteCriteria = absoluteCriteria; + DaysOfMonth = daysOfMonth; + DaysOfTheWeek = daysOfTheWeek; + MonthsOfYear = monthsOfYear; + ObjectType = objectType; + ScheduleTimes = scheduleTimes; + WeeksOfTheMonth = weeksOfTheMonth; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ScheduleBasedTriggerContextResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ScheduleBasedTriggerContextResponse.cs new file mode 100644 index 000000000000..edd46b35146a --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/ScheduleBasedTriggerContextResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Schedule based trigger context + /// + [OutputType] + public sealed class ScheduleBasedTriggerContextResponse + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'ScheduleBasedTriggerContext'. + /// + public readonly string ObjectType; + /// + /// Schedule for this backup + /// + public readonly Outputs.BackupScheduleResponse Schedule; + /// + /// List of tags that can be applicable for given schedule. + /// + public readonly ImmutableArray TaggingCriteria; + + [OutputConstructor] + private ScheduleBasedTriggerContextResponse( + string objectType, + + Outputs.BackupScheduleResponse schedule, + + ImmutableArray taggingCriteria) + { + ObjectType = objectType; + Schedule = schedule; + TaggingCriteria = taggingCriteria; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecretStoreBasedAuthCredentialsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecretStoreBasedAuthCredentialsResponse.cs new file mode 100644 index 000000000000..4e5aeb837cfd --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecretStoreBasedAuthCredentialsResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Secret store based authentication credentials. + /// + [OutputType] + public sealed class SecretStoreBasedAuthCredentialsResponse + { + /// + /// Type of the specific object - used for deserializing + /// Expected value is 'SecretStoreBasedAuthCredentials'. + /// + public readonly string ObjectType; + /// + /// Secret store resource + /// + public readonly Outputs.SecretStoreResourceResponse? SecretStoreResource; + + [OutputConstructor] + private SecretStoreBasedAuthCredentialsResponse( + string objectType, + + Outputs.SecretStoreResourceResponse? secretStoreResource) + { + ObjectType = objectType; + SecretStoreResource = secretStoreResource; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecretStoreResourceResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecretStoreResourceResponse.cs new file mode 100644 index 000000000000..6aff99f3072a --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecretStoreResourceResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Class representing a secret store resource. + /// + [OutputType] + public sealed class SecretStoreResourceResponse + { + /// + /// Gets or sets the type of secret store + /// + public readonly string SecretStoreType; + /// + /// Uri to get to the resource + /// + public readonly string? Uri; + /// + /// Gets or sets value stored in secret store resource + /// + public readonly string? Value; + + [OutputConstructor] + private SecretStoreResourceResponse( + string secretStoreType, + + string? uri, + + string? value) + { + SecretStoreType = secretStoreType; + Uri = uri; + Value = value; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecuritySettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecuritySettingsResponse.cs new file mode 100644 index 000000000000..0be536097879 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SecuritySettingsResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Class containing security settings of vault + /// + [OutputType] + public sealed class SecuritySettingsResponse + { + /// + /// Customer Managed Key details of the resource. + /// + public readonly Outputs.EncryptionSettingsResponse? EncryptionSettings; + /// + /// Immutability Settings at vault level + /// + public readonly Outputs.ImmutabilitySettingsResponse? ImmutabilitySettings; + /// + /// Soft delete related settings + /// + public readonly Outputs.SoftDeleteSettingsResponse? SoftDeleteSettings; + + [OutputConstructor] + private SecuritySettingsResponse( + Outputs.EncryptionSettingsResponse? encryptionSettings, + + Outputs.ImmutabilitySettingsResponse? immutabilitySettings, + + Outputs.SoftDeleteSettingsResponse? softDeleteSettings) + { + EncryptionSettings = encryptionSettings; + ImmutabilitySettings = immutabilitySettings; + SoftDeleteSettings = softDeleteSettings; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SoftDeleteSettingsResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SoftDeleteSettingsResponse.cs new file mode 100644 index 000000000000..8088fe2f2ba6 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SoftDeleteSettingsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Soft delete related settings + /// + [OutputType] + public sealed class SoftDeleteSettingsResponse + { + /// + /// Soft delete retention duration + /// + public readonly double? RetentionDurationInDays; + /// + /// State of soft delete + /// + public readonly string? State; + + [OutputConstructor] + private SoftDeleteSettingsResponse( + double? retentionDurationInDays, + + string? state) + { + RetentionDurationInDays = retentionDurationInDays; + State = state; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SourceLifeCycleResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SourceLifeCycleResponse.cs new file mode 100644 index 000000000000..dcb318f12315 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SourceLifeCycleResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Source LifeCycle + /// + [OutputType] + public sealed class SourceLifeCycleResponse + { + /// + /// Delete Option + /// + public readonly Outputs.AbsoluteDeleteOptionResponse DeleteAfter; + /// + /// DataStoreInfo base + /// + public readonly Outputs.DataStoreInfoBaseResponse SourceDataStore; + public readonly ImmutableArray TargetDataStoreCopySettings; + + [OutputConstructor] + private SourceLifeCycleResponse( + Outputs.AbsoluteDeleteOptionResponse deleteAfter, + + Outputs.DataStoreInfoBaseResponse sourceDataStore, + + ImmutableArray targetDataStoreCopySettings) + { + DeleteAfter = deleteAfter; + SourceDataStore = sourceDataStore; + TargetDataStoreCopySettings = targetDataStoreCopySettings; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/StorageSettingResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/StorageSettingResponse.cs new file mode 100644 index 000000000000..1ad5f660798f --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/StorageSettingResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Storage setting + /// + [OutputType] + public sealed class StorageSettingResponse + { + /// + /// Gets or sets the type of the datastore. + /// + public readonly string? DatastoreType; + /// + /// Gets or sets the type. + /// + public readonly string? Type; + + [OutputConstructor] + private StorageSettingResponse( + string? datastoreType, + + string? type) + { + DatastoreType = datastoreType; + Type = type; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..61114ccec8d2 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/TaggingCriteriaResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/TaggingCriteriaResponse.cs new file mode 100644 index 000000000000..0c9d651aaeff --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/TaggingCriteriaResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Tagging criteria + /// + [OutputType] + public sealed class TaggingCriteriaResponse + { + /// + /// Criteria which decides whether the tag can be applied to a triggered backup. + /// + public readonly ImmutableArray Criteria; + /// + /// Specifies if tag is default. + /// + public readonly bool IsDefault; + /// + /// Retention tag information + /// + public readonly Outputs.RetentionTagResponse TagInfo; + /// + /// Retention Tag priority. + /// + public readonly double TaggingPriority; + + [OutputConstructor] + private TaggingCriteriaResponse( + ImmutableArray criteria, + + bool isDefault, + + Outputs.RetentionTagResponse tagInfo, + + double taggingPriority) + { + Criteria = criteria; + IsDefault = isDefault; + TagInfo = tagInfo; + TaggingPriority = taggingPriority; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/TargetCopySettingResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/TargetCopySettingResponse.cs new file mode 100644 index 000000000000..65f973c0f091 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/TargetCopySettingResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Target copy settings + /// + [OutputType] + public sealed class TargetCopySettingResponse + { + /// + /// It can be CustomCopyOption or ImmediateCopyOption. + /// + public readonly object CopyAfter; + /// + /// Info of target datastore + /// + public readonly Outputs.DataStoreInfoBaseResponse DataStore; + + [OutputConstructor] + private TargetCopySettingResponse( + object copyAfter, + + Outputs.DataStoreInfoBaseResponse dataStore) + { + CopyAfter = copyAfter; + DataStore = dataStore; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..70b718480e74 --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/Outputs/UserFacingErrorResponse.cs b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/UserFacingErrorResponse.cs new file mode 100644 index 000000000000..beed8870f71f --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/Outputs/UserFacingErrorResponse.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview.Outputs +{ + + /// + /// Error object used by layers that have access to localized content, and propagate that to user + /// + [OutputType] + public sealed class UserFacingErrorResponse + { + /// + /// Unique code for this error + /// + public readonly string? Code; + /// + /// Additional related Errors + /// + public readonly ImmutableArray Details; + /// + /// Inner Error + /// + public readonly Outputs.InnerErrorResponse? InnerError; + /// + /// Whether the operation will be retryable or not + /// + public readonly bool? IsRetryable; + /// + /// Whether the operation is due to a user error or service error + /// + public readonly bool? IsUserError; + public readonly string? Message; + /// + /// Any key value pairs that can be injected inside error object + /// + public readonly ImmutableDictionary? Properties; + /// + /// RecommendedAction � localized. + /// + public readonly ImmutableArray RecommendedAction; + /// + /// Target of the error. + /// + public readonly string? Target; + + [OutputConstructor] + private UserFacingErrorResponse( + string? code, + + ImmutableArray details, + + Outputs.InnerErrorResponse? innerError, + + bool? isRetryable, + + bool? isUserError, + + string? message, + + ImmutableDictionary? properties, + + ImmutableArray recommendedAction, + + string? target) + { + Code = code; + Details = details; + InnerError = innerError; + IsRetryable = isRetryable; + IsUserError = isUserError; + Message = message; + Properties = properties; + RecommendedAction = recommendedAction; + Target = target; + } + } +} diff --git a/sdk/dotnet/DataProtection/V20230601Preview/README.md b/sdk/dotnet/DataProtection/V20230601Preview/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/DataProtection/V20230601Preview/ResourceGuard.cs b/sdk/dotnet/DataProtection/V20230601Preview/ResourceGuard.cs new file mode 100644 index 000000000000..40b001d5760b --- /dev/null +++ b/sdk/dotnet/DataProtection/V20230601Preview/ResourceGuard.cs @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DataProtection.V20230601Preview +{ + [AzureNativeResourceType("azure-native:dataprotection/v20230601preview:ResourceGuard")] + public partial class ResourceGuard : global::Pulumi.CustomResource + { + /// + /// Optional ETag. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Resource name associated with the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ResourceGuardResource properties + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ResourceGuard 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 ResourceGuard(string name, ResourceGuardArgs args, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:ResourceGuard", name, args ?? new ResourceGuardArgs(), MakeResourceOptions(options, "")) + { + } + + private ResourceGuard(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:dataprotection/v20230601preview:ResourceGuard", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:dataprotection:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20210701:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211001preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20211201preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220101:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220201preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220301:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220331preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220401:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220501:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20220901preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221001preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221101preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20221201:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230101:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230401preview:ResourceGuard"}, + new global::Pulumi.Alias { Type = "azure-native:dataprotection/v20230501:ResourceGuard"}, + }, + }; + 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 ResourceGuard 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. + /// A bag of options that control this resource's behavior + public static ResourceGuard Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ResourceGuard(name, id, options); + } + } + + public sealed class ResourceGuardArgs : global::Pulumi.ResourceArgs + { + /// + /// Optional ETag. + /// + [Input("eTag")] + public Input? ETag { get; set; } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// ResourceGuardResource properties + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of ResourceGuard + /// + [Input("resourceGuardsName")] + public Input? ResourceGuardsName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ResourceGuardArgs() + { + } + public static new ResourceGuardArgs Empty => new ResourceGuardArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/Application.cs b/sdk/dotnet/DesktopVirtualization/Application.cs index f37ebb14a5fb..cb640b3c1423 100644 --- a/sdk/dotnet/DesktopVirtualization/Application.cs +++ b/sdk/dotnet/DesktopVirtualization/Application.cs @@ -161,6 +161,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Application"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/ApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/ApplicationGroup.cs index 196e2288b669..a0ac1fd2fa52 100644 --- a/sdk/dotnet/DesktopVirtualization/ApplicationGroup.cs +++ b/sdk/dotnet/DesktopVirtualization/ApplicationGroup.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ApplicationGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/HostPool.cs b/sdk/dotnet/DesktopVirtualization/HostPool.cs index 7f26cf7d3b51..8993cfdf9ea2 100644 --- a/sdk/dotnet/DesktopVirtualization/HostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/HostPool.cs @@ -242,6 +242,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:HostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/MSIXPackage.cs b/sdk/dotnet/DesktopVirtualization/MSIXPackage.cs index 05e0fc0c32c1..9b7e33b0aef7 100644 --- a/sdk/dotnet/DesktopVirtualization/MSIXPackage.cs +++ b/sdk/dotnet/DesktopVirtualization/MSIXPackage.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:MSIXPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByHostPool.cs b/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByHostPool.cs index 70ca068e8634..4111ffeaaee1 100644 --- a/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByHostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByHostPool.cs @@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByWorkspace.cs b/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByWorkspace.cs index f7dafbdb3797..ebf66d4e51aa 100644 --- a/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByWorkspace.cs +++ b/sdk/dotnet/DesktopVirtualization/PrivateEndpointConnectionByWorkspace.cs @@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/ScalingPlan.cs index ffc824d18923..a02bc9c7ac1f 100644 --- a/sdk/dotnet/DesktopVirtualization/ScalingPlan.cs +++ b/sdk/dotnet/DesktopVirtualization/ScalingPlan.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/ScalingPlanPersonalSchedule.cs b/sdk/dotnet/DesktopVirtualization/ScalingPlanPersonalSchedule.cs index 035fb97b428d..1adf29400804 100644 --- a/sdk/dotnet/DesktopVirtualization/ScalingPlanPersonalSchedule.cs +++ b/sdk/dotnet/DesktopVirtualization/ScalingPlanPersonalSchedule.cs @@ -216,6 +216,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/ScalingPlanPooledSchedule.cs b/sdk/dotnet/DesktopVirtualization/ScalingPlanPooledSchedule.cs index 38a0205cdd5c..a7adbdca83e5 100644 --- a/sdk/dotnet/DesktopVirtualization/ScalingPlanPooledSchedule.cs +++ b/sdk/dotnet/DesktopVirtualization/ScalingPlanPooledSchedule.cs @@ -165,6 +165,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20210201Preview/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20210201Preview/ScalingPlan.cs index f39234ae1fb3..4db05c2228f4 100644 --- a/sdk/dotnet/DesktopVirtualization/V20210201Preview/ScalingPlan.cs +++ b/sdk/dotnet/DesktopVirtualization/V20210201Preview/ScalingPlan.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220210Preview/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20220210Preview/ScalingPlan.cs index 46af3f90e736..f973227c8aa8 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220210Preview/ScalingPlan.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220210Preview/ScalingPlan.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220401Preview/ApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/V20220401Preview/ApplicationGroup.cs index d8c1e6ed98a5..2f6cf4172363 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220401Preview/ApplicationGroup.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220401Preview/ApplicationGroup.cs @@ -163,6 +163,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ApplicationGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220401Preview/HostPool.cs b/sdk/dotnet/DesktopVirtualization/V20220401Preview/HostPool.cs index cfaed2717e56..a3d6c2445588 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220401Preview/HostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220401Preview/HostPool.cs @@ -259,6 +259,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:HostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/Application.cs b/sdk/dotnet/DesktopVirtualization/V20220909/Application.cs index d433189ddc46..50c578676964 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/Application.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/Application.cs @@ -160,6 +160,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Application"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/ApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/V20220909/ApplicationGroup.cs index 7799d76c9034..e307e52e63bf 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/ApplicationGroup.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/ApplicationGroup.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ApplicationGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/HostPool.cs b/sdk/dotnet/DesktopVirtualization/V20220909/HostPool.cs index d312eb96d729..9a3f2d076380 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/HostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/HostPool.cs @@ -241,6 +241,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:HostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/MSIXPackage.cs b/sdk/dotnet/DesktopVirtualization/V20220909/MSIXPackage.cs index 408e1f8bbcd0..5b3c6dcbde4b 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/MSIXPackage.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/MSIXPackage.cs @@ -139,6 +139,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:MSIXPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlan.cs index 220796d9168c..bcf2bcec2f05 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlan.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlan.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlanPooledSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlanPooledSchedule.cs index 29f44523ffcc..29511ea908ce 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlanPooledSchedule.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/ScalingPlanPooledSchedule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20220909/Workspace.cs b/sdk/dotnet/DesktopVirtualization/V20220909/Workspace.cs index ae128a83f0ee..3238cde0836c 100644 --- a/sdk/dotnet/DesktopVirtualization/V20220909/Workspace.cs +++ b/sdk/dotnet/DesktopVirtualization/V20220909/Workspace.cs @@ -145,6 +145,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Workspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/Application.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/Application.cs index 4ca50c071ed3..a2599b26c6d5 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/Application.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/Application.cs @@ -160,6 +160,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Application"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/ApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/ApplicationGroup.cs index 30d3c0a206b1..7a1783460ccd 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/ApplicationGroup.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/ApplicationGroup.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ApplicationGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/HostPool.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/HostPool.cs index af623547be4d..8bec2a2e242a 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/HostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/HostPool.cs @@ -253,6 +253,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:HostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/MSIXPackage.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/MSIXPackage.cs index f907165c780f..e5b2341f8ab6 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/MSIXPackage.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/MSIXPackage.cs @@ -139,6 +139,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:MSIXPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByHostPool.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByHostPool.cs index a006683cc111..d26564accd32 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByHostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByHostPool.cs @@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByWorkspace.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByWorkspace.cs index 9293f6630f6d..9c4a30077ecc 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByWorkspace.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/PrivateEndpointConnectionByWorkspace.cs @@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlan.cs index 41c3b99018ab..2da39c128792 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlan.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlan.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlanPooledSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlanPooledSchedule.cs index 1372a89ebe9e..0192e3889ad8 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlanPooledSchedule.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/ScalingPlanPooledSchedule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20221014Preview/Workspace.cs b/sdk/dotnet/DesktopVirtualization/V20221014Preview/Workspace.cs index f4a51a8f223c..0fc7482899a2 100644 --- a/sdk/dotnet/DesktopVirtualization/V20221014Preview/Workspace.cs +++ b/sdk/dotnet/DesktopVirtualization/V20221014Preview/Workspace.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Workspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/Application.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/Application.cs index a146d304829e..9854978c8441 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/Application.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/Application.cs @@ -160,6 +160,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Application"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Application"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ApplicationGroup.cs index b7ff6b8d8684..c569a68d0756 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ApplicationGroup.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ApplicationGroup.cs @@ -163,6 +163,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ApplicationGroup"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ApplicationGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/HostPool.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/HostPool.cs index 14aaa6f9a59d..5ae38bfd5b2e 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/HostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/HostPool.cs @@ -253,6 +253,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:HostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:HostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/MSIXPackage.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/MSIXPackage.cs index c132b3a14630..2319d194682e 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/MSIXPackage.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/MSIXPackage.cs @@ -139,6 +139,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:MSIXPackage"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:MSIXPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByHostPool.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByHostPool.cs index 787807ebab52..12d8c3f53753 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByHostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByHostPool.cs @@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByWorkspace.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByWorkspace.cs index d1c931f3d0c4..437099702574 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByWorkspace.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/PrivateEndpointConnectionByWorkspace.cs @@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlan.cs index 5e807a764fa0..6a1fb0050187 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlan.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlan.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlan"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPersonalSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPersonalSchedule.cs index 0e25ee2837e8..392e95dbae92 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPersonalSchedule.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPersonalSchedule.cs @@ -215,6 +215,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:ScalingPlanPersonalSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPooledSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPooledSchedule.cs index d7c81e0f14db..b998c0041b5b 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPooledSchedule.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/ScalingPlanPooledSchedule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230707Preview/Workspace.cs b/sdk/dotnet/DesktopVirtualization/V20230707Preview/Workspace.cs index e352ddef13fb..42451eaf8197 100644 --- a/sdk/dotnet/DesktopVirtualization/V20230707Preview/Workspace.cs +++ b/sdk/dotnet/DesktopVirtualization/V20230707Preview/Workspace.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Workspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Application.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Application.cs new file mode 100644 index 000000000000..50674e26eb1c --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Application.cs @@ -0,0 +1,276 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Schema for Application properties. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:Application")] + public partial class Application : global::Pulumi.CustomResource + { + /// + /// Resource Type of Application. + /// + [Output("applicationType")] + public Output ApplicationType { get; private set; } = null!; + + /// + /// Command Line Arguments for Application. + /// + [Output("commandLineArguments")] + public Output CommandLineArguments { get; private set; } = null!; + + /// + /// Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + /// + [Output("commandLineSetting")] + public Output CommandLineSetting { get; private set; } = null!; + + /// + /// Description of Application. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Specifies a path for the executable file for the application. + /// + [Output("filePath")] + public Output FilePath { get; private set; } = null!; + + /// + /// Friendly name of Application. + /// + [Output("friendlyName")] + public Output FriendlyName { get; private set; } = null!; + + /// + /// the icon a 64 bit string as a byte array. + /// + [Output("iconContent")] + public Output IconContent { get; private set; } = null!; + + /// + /// Hash of the icon. + /// + [Output("iconHash")] + public Output IconHash { get; private set; } = null!; + + /// + /// Index of the icon. + /// + [Output("iconIndex")] + public Output IconIndex { get; private set; } = null!; + + /// + /// Path to icon. + /// + [Output("iconPath")] + public Output IconPath { get; private set; } = null!; + + /// + /// Specifies the package application Id for MSIX applications + /// + [Output("msixPackageApplicationId")] + public Output MsixPackageApplicationId { get; private set; } = null!; + + /// + /// Specifies the package family name for MSIX applications + /// + [Output("msixPackageFamilyName")] + public Output MsixPackageFamilyName { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ObjectId of Application. (internal use) + /// + [Output("objectId")] + public Output ObjectId { get; private set; } = null!; + + /// + /// Specifies whether to show the RemoteApp program in the RD Web Access server. + /// + [Output("showInPortal")] + public Output ShowInPortal { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Application 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 Application(string name, ApplicationArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:Application", name, args ?? new ApplicationArgs(), MakeResourceOptions(options, "")) + { + } + + private Application(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:Application", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190123preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190924preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20191210preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20200921preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201019preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201102preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201110preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210114preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210201preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210309preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210712:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Application"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Application"}, + }, + }; + 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 Application 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. + /// A bag of options that control this resource's behavior + public static Application Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Application(name, id, options); + } + } + + public sealed class ApplicationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the application group + /// + [Input("applicationGroupName", required: true)] + public Input ApplicationGroupName { get; set; } = null!; + + /// + /// The name of the application within the specified application group + /// + [Input("applicationName")] + public Input? ApplicationName { get; set; } + + /// + /// Resource Type of Application. + /// + [Input("applicationType")] + public InputUnion? ApplicationType { get; set; } + + /// + /// Command Line Arguments for Application. + /// + [Input("commandLineArguments")] + public Input? CommandLineArguments { get; set; } + + /// + /// Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + /// + [Input("commandLineSetting", required: true)] + public InputUnion CommandLineSetting { get; set; } = null!; + + /// + /// Description of Application. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Specifies a path for the executable file for the application. + /// + [Input("filePath")] + public Input? FilePath { get; set; } + + /// + /// Friendly name of Application. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + /// + /// Index of the icon. + /// + [Input("iconIndex")] + public Input? IconIndex { get; set; } + + /// + /// Path to icon. + /// + [Input("iconPath")] + public Input? IconPath { get; set; } + + /// + /// Specifies the package application Id for MSIX applications + /// + [Input("msixPackageApplicationId")] + public Input? MsixPackageApplicationId { get; set; } + + /// + /// Specifies the package family name for MSIX applications + /// + [Input("msixPackageFamilyName")] + public Input? MsixPackageFamilyName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Specifies whether to show the RemoteApp program in the RD Web Access server. + /// + [Input("showInPortal")] + public Input? ShowInPortal { get; set; } + + public ApplicationArgs() + { + } + public static new ApplicationArgs Empty => new ApplicationArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/ApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/V20230905/ApplicationGroup.cs new file mode 100644 index 000000000000..0039c53b23f6 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/ApplicationGroup.cs @@ -0,0 +1,276 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Represents a ApplicationGroup definition. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:ApplicationGroup")] + public partial class ApplicationGroup : global::Pulumi.CustomResource + { + /// + /// Resource Type of ApplicationGroup. + /// + [Output("applicationGroupType")] + public Output ApplicationGroupType { get; private set; } = null!; + + /// + /// Is cloud pc resource. + /// + [Output("cloudPcResource")] + public Output CloudPcResource { get; private set; } = null!; + + /// + /// Description of ApplicationGroup. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Friendly name of ApplicationGroup. + /// + [Output("friendlyName")] + public Output FriendlyName { get; private set; } = null!; + + /// + /// HostPool arm path of ApplicationGroup. + /// + [Output("hostPoolArmPath")] + public Output HostPoolArmPath { get; private set; } = null!; + + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Output("managedBy")] + public Output ManagedBy { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ObjectId of ApplicationGroup. (internal use) + /// + [Output("objectId")] + public Output ObjectId { get; private set; } = null!; + + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// Boolean representing whether the applicationGroup is show in the feed. + /// + [Output("showInFeed")] + public Output ShowInFeed { get; private set; } = null!; + + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Workspace arm path of ApplicationGroup. + /// + [Output("workspaceArmPath")] + public Output WorkspaceArmPath { get; private set; } = null!; + + + /// + /// Create a ApplicationGroup 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 ApplicationGroup(string name, ApplicationGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ApplicationGroup", name, args ?? new ApplicationGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private ApplicationGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ApplicationGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210712:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"}, + }, + }; + 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 ApplicationGroup 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. + /// A bag of options that control this resource's behavior + public static ApplicationGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ApplicationGroup(name, id, options); + } + } + + public sealed class ApplicationGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the application group + /// + [Input("applicationGroupName")] + public Input? ApplicationGroupName { get; set; } + + /// + /// Resource Type of ApplicationGroup. + /// + [Input("applicationGroupType", required: true)] + public InputUnion ApplicationGroupType { get; set; } = null!; + + /// + /// Description of ApplicationGroup. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Friendly name of ApplicationGroup. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + /// + /// HostPool arm path of ApplicationGroup. + /// + [Input("hostPoolArmPath", required: true)] + public Input HostPoolArmPath { get; set; } = null!; + + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Input("managedBy")] + public Input? ManagedBy { get; set; } + + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Boolean representing whether the applicationGroup is show in the feed. + /// + [Input("showInFeed")] + public Input? ShowInFeed { get; set; } + + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ApplicationGroupArgs() + { + } + public static new ApplicationGroupArgs Empty => new ApplicationGroupArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Enums.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Enums.cs new file mode 100644 index 000000000000..6b1f8ee65129 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Enums.cs @@ -0,0 +1,731 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Resource Type of ApplicationGroup. + /// + [EnumType] + public readonly struct ApplicationGroupType : IEquatable + { + private readonly string _value; + + private ApplicationGroupType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ApplicationGroupType RemoteApp { get; } = new ApplicationGroupType("RemoteApp"); + public static ApplicationGroupType Desktop { get; } = new ApplicationGroupType("Desktop"); + + public static bool operator ==(ApplicationGroupType left, ApplicationGroupType right) => left.Equals(right); + public static bool operator !=(ApplicationGroupType left, ApplicationGroupType right) => !left.Equals(right); + + public static explicit operator string(ApplicationGroupType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ApplicationGroupType other && Equals(other); + public bool Equals(ApplicationGroupType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + /// + [EnumType] + public readonly struct CommandLineSetting : IEquatable + { + private readonly string _value; + + private CommandLineSetting(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CommandLineSetting DoNotAllow { get; } = new CommandLineSetting("DoNotAllow"); + public static CommandLineSetting Allow { get; } = new CommandLineSetting("Allow"); + public static CommandLineSetting Require { get; } = new CommandLineSetting("Require"); + + public static bool operator ==(CommandLineSetting left, CommandLineSetting right) => left.Equals(right); + public static bool operator !=(CommandLineSetting left, CommandLineSetting right) => !left.Equals(right); + + public static explicit operator string(CommandLineSetting value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CommandLineSetting other && Equals(other); + public bool Equals(CommandLineSetting other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct DayOfWeek : IEquatable + { + private readonly string _value; + + private DayOfWeek(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DayOfWeek Monday { get; } = new DayOfWeek("Monday"); + public static DayOfWeek Tuesday { get; } = new DayOfWeek("Tuesday"); + public static DayOfWeek Wednesday { get; } = new DayOfWeek("Wednesday"); + public static DayOfWeek Thursday { get; } = new DayOfWeek("Thursday"); + public static DayOfWeek Friday { get; } = new DayOfWeek("Friday"); + public static DayOfWeek Saturday { get; } = new DayOfWeek("Saturday"); + public static DayOfWeek Sunday { get; } = new DayOfWeek("Sunday"); + + public static bool operator ==(DayOfWeek left, DayOfWeek right) => left.Equals(right); + public static bool operator !=(DayOfWeek left, DayOfWeek right) => !left.Equals(right); + + public static explicit operator string(DayOfWeek value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DayOfWeek other && Equals(other); + public bool Equals(DayOfWeek other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// HostPool type for desktop. + /// + [EnumType] + public readonly struct HostPoolType : IEquatable + { + private readonly string _value; + + private HostPoolType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Users will be assigned a SessionHost either by administrators (PersonalDesktopAssignmentType = Direct) or upon connecting to the pool (PersonalDesktopAssignmentType = Automatic). They will always be redirected to their assigned SessionHost. + /// + public static HostPoolType Personal { get; } = new HostPoolType("Personal"); + /// + /// Users get a new (random) SessionHost every time it connects to the HostPool. + /// + public static HostPoolType Pooled { get; } = new HostPoolType("Pooled"); + /// + /// Users assign their own machines, load balancing logic remains the same as Personal. PersonalDesktopAssignmentType must be Direct. + /// + public static HostPoolType BYODesktop { get; } = new HostPoolType("BYODesktop"); + + public static bool operator ==(HostPoolType left, HostPoolType right) => left.Equals(right); + public static bool operator !=(HostPoolType left, HostPoolType right) => !left.Equals(right); + + public static explicit operator string(HostPoolType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HostPoolType other && Equals(other); + public bool Equals(HostPoolType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + [EnumType] + public readonly struct HostpoolPublicNetworkAccess : IEquatable + { + private readonly string _value; + + private HostpoolPublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HostpoolPublicNetworkAccess Enabled { get; } = new HostpoolPublicNetworkAccess("Enabled"); + public static HostpoolPublicNetworkAccess Disabled { get; } = new HostpoolPublicNetworkAccess("Disabled"); + public static HostpoolPublicNetworkAccess EnabledForSessionHostsOnly { get; } = new HostpoolPublicNetworkAccess("EnabledForSessionHostsOnly"); + public static HostpoolPublicNetworkAccess EnabledForClientsOnly { get; } = new HostpoolPublicNetworkAccess("EnabledForClientsOnly"); + + public static bool operator ==(HostpoolPublicNetworkAccess left, HostpoolPublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(HostpoolPublicNetworkAccess left, HostpoolPublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(HostpoolPublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HostpoolPublicNetworkAccess other && Equals(other); + public bool Equals(HostpoolPublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the load balancer. + /// + [EnumType] + public readonly struct LoadBalancerType : IEquatable + { + private readonly string _value; + + private LoadBalancerType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LoadBalancerType BreadthFirst { get; } = new LoadBalancerType("BreadthFirst"); + public static LoadBalancerType DepthFirst { get; } = new LoadBalancerType("DepthFirst"); + public static LoadBalancerType Persistent { get; } = new LoadBalancerType("Persistent"); + + public static bool operator ==(LoadBalancerType left, LoadBalancerType right) => left.Equals(right); + public static bool operator !=(LoadBalancerType left, LoadBalancerType right) => !left.Equals(right); + + public static explicit operator string(LoadBalancerType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LoadBalancerType other && Equals(other); + public bool Equals(LoadBalancerType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// PersonalDesktopAssignment type for HostPool. + /// + [EnumType] + public readonly struct PersonalDesktopAssignmentType : IEquatable + { + private readonly string _value; + + private PersonalDesktopAssignmentType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PersonalDesktopAssignmentType Automatic { get; } = new PersonalDesktopAssignmentType("Automatic"); + public static PersonalDesktopAssignmentType Direct { get; } = new PersonalDesktopAssignmentType("Direct"); + + public static bool operator ==(PersonalDesktopAssignmentType left, PersonalDesktopAssignmentType right) => left.Equals(right); + public static bool operator !=(PersonalDesktopAssignmentType left, PersonalDesktopAssignmentType right) => !left.Equals(right); + + public static explicit operator string(PersonalDesktopAssignmentType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PersonalDesktopAssignmentType other && Equals(other); + public bool Equals(PersonalDesktopAssignmentType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of preferred application group type, default to Desktop Application Group + /// + [EnumType] + public readonly struct PreferredAppGroupType : IEquatable + { + private readonly string _value; + + private PreferredAppGroupType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PreferredAppGroupType None { get; } = new PreferredAppGroupType("None"); + public static PreferredAppGroupType Desktop { get; } = new PreferredAppGroupType("Desktop"); + public static PreferredAppGroupType RailApplications { get; } = new PreferredAppGroupType("RailApplications"); + + public static bool operator ==(PreferredAppGroupType left, PreferredAppGroupType right) => left.Equals(right); + public static bool operator !=(PreferredAppGroupType left, PreferredAppGroupType right) => !left.Equals(right); + + public static explicit operator string(PreferredAppGroupType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PreferredAppGroupType other && Equals(other); + public bool Equals(PreferredAppGroupType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + [EnumType] + public readonly struct PrivateEndpointServiceConnectionStatus : IEquatable + { + private readonly string _value; + + private PrivateEndpointServiceConnectionStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PrivateEndpointServiceConnectionStatus Pending { get; } = new PrivateEndpointServiceConnectionStatus("Pending"); + public static PrivateEndpointServiceConnectionStatus Approved { get; } = new PrivateEndpointServiceConnectionStatus("Approved"); + public static PrivateEndpointServiceConnectionStatus Rejected { get; } = new PrivateEndpointServiceConnectionStatus("Rejected"); + + public static bool operator ==(PrivateEndpointServiceConnectionStatus left, PrivateEndpointServiceConnectionStatus right) => left.Equals(right); + public static bool operator !=(PrivateEndpointServiceConnectionStatus left, PrivateEndpointServiceConnectionStatus right) => !left.Equals(right); + + public static explicit operator string(PrivateEndpointServiceConnectionStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PrivateEndpointServiceConnectionStatus other && Equals(other); + public bool Equals(PrivateEndpointServiceConnectionStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of resetting the token. + /// + [EnumType] + public readonly struct RegistrationTokenOperation : IEquatable + { + private readonly string _value; + + private RegistrationTokenOperation(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RegistrationTokenOperation Delete { get; } = new RegistrationTokenOperation("Delete"); + public static RegistrationTokenOperation None { get; } = new RegistrationTokenOperation("None"); + public static RegistrationTokenOperation Update { get; } = new RegistrationTokenOperation("Update"); + + public static bool operator ==(RegistrationTokenOperation left, RegistrationTokenOperation right) => left.Equals(right); + public static bool operator !=(RegistrationTokenOperation left, RegistrationTokenOperation right) => !left.Equals(right); + + public static explicit operator string(RegistrationTokenOperation value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RegistrationTokenOperation other && Equals(other); + public bool Equals(RegistrationTokenOperation other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Resource Type of Application. + /// + [EnumType] + public readonly struct RemoteApplicationType : IEquatable + { + private readonly string _value; + + private RemoteApplicationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RemoteApplicationType InBuilt { get; } = new RemoteApplicationType("InBuilt"); + public static RemoteApplicationType MsixApplication { get; } = new RemoteApplicationType("MsixApplication"); + + public static bool operator ==(RemoteApplicationType left, RemoteApplicationType right) => left.Equals(right); + public static bool operator !=(RemoteApplicationType left, RemoteApplicationType right) => !left.Equals(right); + + public static explicit operator string(RemoteApplicationType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RemoteApplicationType other && Equals(other); + public bool Equals(RemoteApplicationType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The identity type. + /// + [EnumType] + public readonly struct ResourceIdentityType : IEquatable + { + private readonly string _value; + + private ResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResourceIdentityType SystemAssigned { get; } = new ResourceIdentityType("SystemAssigned"); + + public static bool operator ==(ResourceIdentityType left, ResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ResourceIdentityType left, ResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourceIdentityType other && Equals(other); + public bool Equals(ResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of single sign on Secret Type. + /// + [EnumType] + public readonly struct SSOSecretType : IEquatable + { + private readonly string _value; + + private SSOSecretType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SSOSecretType SharedKey { get; } = new SSOSecretType("SharedKey"); + public static SSOSecretType Certificate { get; } = new SSOSecretType("Certificate"); + public static SSOSecretType SharedKeyInKeyVault { get; } = new SSOSecretType("SharedKeyInKeyVault"); + public static SSOSecretType CertificateInKeyVault { get; } = new SSOSecretType("CertificateInKeyVault"); + + public static bool operator ==(SSOSecretType left, SSOSecretType right) => left.Equals(right); + public static bool operator !=(SSOSecretType left, SSOSecretType right) => !left.Equals(right); + + public static explicit operator string(SSOSecretType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SSOSecretType other && Equals(other); + public bool Equals(SSOSecretType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// HostPool type for desktop. + /// + [EnumType] + public readonly struct ScalingHostPoolType : IEquatable + { + private readonly string _value; + + private ScalingHostPoolType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Users get a new (random) SessionHost every time it connects to the HostPool. + /// + public static ScalingHostPoolType Pooled { get; } = new ScalingHostPoolType("Pooled"); + + public static bool operator ==(ScalingHostPoolType left, ScalingHostPoolType right) => left.Equals(right); + public static bool operator !=(ScalingHostPoolType left, ScalingHostPoolType right) => !left.Equals(right); + + public static explicit operator string(ScalingHostPoolType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScalingHostPoolType other && Equals(other); + public bool Equals(ScalingHostPoolType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action to be taken after a logoff during the ramp up period. + /// + [EnumType] + public readonly struct SessionHandlingOperation : IEquatable + { + private readonly string _value; + + private SessionHandlingOperation(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SessionHandlingOperation None { get; } = new SessionHandlingOperation("None"); + public static SessionHandlingOperation Deallocate { get; } = new SessionHandlingOperation("Deallocate"); + + public static bool operator ==(SessionHandlingOperation left, SessionHandlingOperation right) => left.Equals(right); + public static bool operator !=(SessionHandlingOperation left, SessionHandlingOperation right) => !left.Equals(right); + + public static explicit operator string(SessionHandlingOperation value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SessionHandlingOperation other && Equals(other); + public bool Equals(SessionHandlingOperation other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of maintenance for session host components. + /// + [EnumType] + public readonly struct SessionHostComponentUpdateType : IEquatable + { + private readonly string _value; + + private SessionHostComponentUpdateType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Agent and other agent side components are delivery schedule is controlled by WVD Infra. + /// + public static SessionHostComponentUpdateType Default { get; } = new SessionHostComponentUpdateType("Default"); + /// + /// TenantAdmin have opted in for Scheduled Component Update feature. + /// + public static SessionHostComponentUpdateType Scheduled { get; } = new SessionHostComponentUpdateType("Scheduled"); + + public static bool operator ==(SessionHostComponentUpdateType left, SessionHostComponentUpdateType right) => left.Equals(right); + public static bool operator !=(SessionHostComponentUpdateType left, SessionHostComponentUpdateType right) => !left.Equals(right); + + public static explicit operator string(SessionHostComponentUpdateType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SessionHostComponentUpdateType other && Equals(other); + public bool Equals(SessionHostComponentUpdateType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Load balancing algorithm for ramp up period. + /// + [EnumType] + public readonly struct SessionHostLoadBalancingAlgorithm : IEquatable + { + private readonly string _value; + + private SessionHostLoadBalancingAlgorithm(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SessionHostLoadBalancingAlgorithm BreadthFirst { get; } = new SessionHostLoadBalancingAlgorithm("BreadthFirst"); + public static SessionHostLoadBalancingAlgorithm DepthFirst { get; } = new SessionHostLoadBalancingAlgorithm("DepthFirst"); + + public static bool operator ==(SessionHostLoadBalancingAlgorithm left, SessionHostLoadBalancingAlgorithm right) => left.Equals(right); + public static bool operator !=(SessionHostLoadBalancingAlgorithm left, SessionHostLoadBalancingAlgorithm right) => !left.Equals(right); + + public static explicit operator string(SessionHostLoadBalancingAlgorithm value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SessionHostLoadBalancingAlgorithm other && Equals(other); + public bool Equals(SessionHostLoadBalancingAlgorithm other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + /// + [EnumType] + public readonly struct SetStartVMOnConnect : IEquatable + { + private readonly string _value; + + private SetStartVMOnConnect(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SetStartVMOnConnect Enable { get; } = new SetStartVMOnConnect("Enable"); + public static SetStartVMOnConnect Disable { get; } = new SetStartVMOnConnect("Disable"); + + public static bool operator ==(SetStartVMOnConnect left, SetStartVMOnConnect right) => left.Equals(right); + public static bool operator !=(SetStartVMOnConnect left, SetStartVMOnConnect right) => !left.Equals(right); + + public static explicit operator string(SetStartVMOnConnect value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SetStartVMOnConnect other && Equals(other); + public bool Equals(SetStartVMOnConnect other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [EnumType] + public readonly struct SkuTier : IEquatable + { + private readonly string _value; + + private SkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SkuTier Free { get; } = new SkuTier("Free"); + public static SkuTier Basic { get; } = new SkuTier("Basic"); + public static SkuTier Standard { get; } = new SkuTier("Standard"); + public static SkuTier Premium { get; } = new SkuTier("Premium"); + + public static bool operator ==(SkuTier left, SkuTier right) => left.Equals(right); + public static bool operator !=(SkuTier left, SkuTier right) => !left.Equals(right); + + public static explicit operator string(SkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuTier other && Equals(other); + public bool Equals(SkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The desired startup behavior during the ramp up period for personal vms in the hostpool. + /// + [EnumType] + public readonly struct StartupBehavior : IEquatable + { + private readonly string _value; + + private StartupBehavior(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Session hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts. + /// + public static StartupBehavior None { get; } = new StartupBehavior("None"); + /// + /// Session hosts with an assigned user will be started during Ramp Up + /// + public static StartupBehavior WithAssignedUser { get; } = new StartupBehavior("WithAssignedUser"); + /// + /// All personal session hosts in the hostpool will be started during ramp up. + /// + public static StartupBehavior All { get; } = new StartupBehavior("All"); + + public static bool operator ==(StartupBehavior left, StartupBehavior right) => left.Equals(right); + public static bool operator !=(StartupBehavior left, StartupBehavior right) => !left.Equals(right); + + public static explicit operator string(StartupBehavior value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StartupBehavior other && Equals(other); + public bool Equals(StartupBehavior other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies when to stop hosts during ramp down period. + /// + [EnumType] + public readonly struct StopHostsWhen : IEquatable + { + private readonly string _value; + + private StopHostsWhen(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StopHostsWhen ZeroSessions { get; } = new StopHostsWhen("ZeroSessions"); + public static StopHostsWhen ZeroActiveSessions { get; } = new StopHostsWhen("ZeroActiveSessions"); + + public static bool operator ==(StopHostsWhen left, StopHostsWhen right) => left.Equals(right); + public static bool operator !=(StopHostsWhen left, StopHostsWhen right) => !left.Equals(right); + + public static explicit operator string(StopHostsWhen value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StopHostsWhen other && Equals(other); + public bool Equals(StopHostsWhen other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetApplication.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetApplication.cs new file mode 100644 index 000000000000..b36b80fb68b9 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetApplication.cs @@ -0,0 +1,215 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetApplication + { + /// + /// Get an application. + /// + public static Task InvokeAsync(GetApplicationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getApplication", args ?? new GetApplicationArgs(), options.WithDefaults()); + + /// + /// Get an application. + /// + public static Output Invoke(GetApplicationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getApplication", args ?? new GetApplicationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetApplicationArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the application group + /// + [Input("applicationGroupName", required: true)] + public string ApplicationGroupName { get; set; } = null!; + + /// + /// The name of the application within the specified application group + /// + [Input("applicationName", required: true)] + public string ApplicationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetApplicationArgs() + { + } + public static new GetApplicationArgs Empty => new GetApplicationArgs(); + } + + public sealed class GetApplicationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the application group + /// + [Input("applicationGroupName", required: true)] + public Input ApplicationGroupName { get; set; } = null!; + + /// + /// The name of the application within the specified application group + /// + [Input("applicationName", required: true)] + public Input ApplicationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetApplicationInvokeArgs() + { + } + public static new GetApplicationInvokeArgs Empty => new GetApplicationInvokeArgs(); + } + + + [OutputType] + public sealed class GetApplicationResult + { + /// + /// Resource Type of Application. + /// + public readonly string? ApplicationType; + /// + /// Command Line Arguments for Application. + /// + public readonly string? CommandLineArguments; + /// + /// Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + /// + public readonly string CommandLineSetting; + /// + /// Description of Application. + /// + public readonly string? Description; + /// + /// Specifies a path for the executable file for the application. + /// + public readonly string? FilePath; + /// + /// Friendly name of Application. + /// + public readonly string? FriendlyName; + /// + /// the icon a 64 bit string as a byte array. + /// + public readonly string IconContent; + /// + /// Hash of the icon. + /// + public readonly string IconHash; + /// + /// Index of the icon. + /// + public readonly int? IconIndex; + /// + /// Path to icon. + /// + public readonly string? IconPath; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Specifies the package application Id for MSIX applications + /// + public readonly string? MsixPackageApplicationId; + /// + /// Specifies the package family name for MSIX applications + /// + public readonly string? MsixPackageFamilyName; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// ObjectId of Application. (internal use) + /// + public readonly string ObjectId; + /// + /// Specifies whether to show the RemoteApp program in the RD Web Access server. + /// + public readonly bool? ShowInPortal; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetApplicationResult( + string? applicationType, + + string? commandLineArguments, + + string commandLineSetting, + + string? description, + + string? filePath, + + string? friendlyName, + + string iconContent, + + string iconHash, + + int? iconIndex, + + string? iconPath, + + string id, + + string? msixPackageApplicationId, + + string? msixPackageFamilyName, + + string name, + + string objectId, + + bool? showInPortal, + + Outputs.SystemDataResponse systemData, + + string type) + { + ApplicationType = applicationType; + CommandLineArguments = commandLineArguments; + CommandLineSetting = commandLineSetting; + Description = description; + FilePath = filePath; + FriendlyName = friendlyName; + IconContent = iconContent; + IconHash = iconHash; + IconIndex = iconIndex; + IconPath = iconPath; + Id = id; + MsixPackageApplicationId = msixPackageApplicationId; + MsixPackageFamilyName = msixPackageFamilyName; + Name = name; + ObjectId = objectId; + ShowInPortal = showInPortal; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetApplicationGroup.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetApplicationGroup.cs new file mode 100644 index 000000000000..b67edc690632 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetApplicationGroup.cs @@ -0,0 +1,208 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetApplicationGroup + { + /// + /// Get an application group. + /// + public static Task InvokeAsync(GetApplicationGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getApplicationGroup", args ?? new GetApplicationGroupArgs(), options.WithDefaults()); + + /// + /// Get an application group. + /// + public static Output Invoke(GetApplicationGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getApplicationGroup", args ?? new GetApplicationGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetApplicationGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the application group + /// + [Input("applicationGroupName", required: true)] + public string ApplicationGroupName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetApplicationGroupArgs() + { + } + public static new GetApplicationGroupArgs Empty => new GetApplicationGroupArgs(); + } + + public sealed class GetApplicationGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the application group + /// + [Input("applicationGroupName", required: true)] + public Input ApplicationGroupName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetApplicationGroupInvokeArgs() + { + } + public static new GetApplicationGroupInvokeArgs Empty => new GetApplicationGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetApplicationGroupResult + { + /// + /// Resource Type of ApplicationGroup. + /// + public readonly string ApplicationGroupType; + /// + /// Is cloud pc resource. + /// + public readonly bool CloudPcResource; + /// + /// Description of ApplicationGroup. + /// + public readonly string? Description; + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string Etag; + /// + /// Friendly name of ApplicationGroup. + /// + public readonly string? FriendlyName; + /// + /// HostPool arm path of ApplicationGroup. + /// + public readonly string HostPoolArmPath; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? Identity; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// The geo-location where the resource lives + /// + public readonly string? Location; + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + public readonly string? ManagedBy; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// ObjectId of ApplicationGroup. (internal use) + /// + public readonly string ObjectId; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponsePlan? Plan; + /// + /// Boolean representing whether the applicationGroup is show in the feed. + /// + public readonly bool? ShowInFeed; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseSku? Sku; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Workspace arm path of ApplicationGroup. + /// + public readonly string WorkspaceArmPath; + + [OutputConstructor] + private GetApplicationGroupResult( + string applicationGroupType, + + bool cloudPcResource, + + string? description, + + string etag, + + string? friendlyName, + + string hostPoolArmPath, + + string id, + + Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? identity, + + string? kind, + + string? location, + + string? managedBy, + + string name, + + string objectId, + + Outputs.ResourceModelWithAllowedPropertySetResponsePlan? plan, + + bool? showInFeed, + + Outputs.ResourceModelWithAllowedPropertySetResponseSku? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string workspaceArmPath) + { + ApplicationGroupType = applicationGroupType; + CloudPcResource = cloudPcResource; + Description = description; + Etag = etag; + FriendlyName = friendlyName; + HostPoolArmPath = hostPoolArmPath; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + ManagedBy = managedBy; + Name = name; + ObjectId = objectId; + Plan = plan; + ShowInFeed = showInFeed; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + WorkspaceArmPath = workspaceArmPath; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetHostPool.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetHostPool.cs new file mode 100644 index 000000000000..3f7eecda2489 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetHostPool.cs @@ -0,0 +1,313 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetHostPool + { + /// + /// Get a host pool. + /// + public static Task InvokeAsync(GetHostPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getHostPool", args ?? new GetHostPoolArgs(), options.WithDefaults()); + + /// + /// Get a host pool. + /// + public static Output Invoke(GetHostPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getHostPool", args ?? new GetHostPoolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetHostPoolArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public string HostPoolName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetHostPoolArgs() + { + } + public static new GetHostPoolArgs Empty => new GetHostPoolArgs(); + } + + public sealed class GetHostPoolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public Input HostPoolName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetHostPoolInvokeArgs() + { + } + public static new GetHostPoolInvokeArgs Empty => new GetHostPoolInvokeArgs(); + } + + + [OutputType] + public sealed class GetHostPoolResult + { + /// + /// The session host configuration for updating agent, monitoring agent, and stack component. + /// + public readonly Outputs.AgentUpdatePropertiesResponse? AgentUpdate; + /// + /// List of applicationGroup links. + /// + public readonly ImmutableArray ApplicationGroupReferences; + /// + /// Is cloud pc resource. + /// + public readonly bool CloudPcResource; + /// + /// Custom rdp property of HostPool. + /// + public readonly string? CustomRdpProperty; + /// + /// Description of HostPool. + /// + public readonly string? Description; + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string Etag; + /// + /// Friendly name of HostPool. + /// + public readonly string? FriendlyName; + /// + /// HostPool type for desktop. + /// + public readonly string HostPoolType; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? Identity; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// The type of the load balancer. + /// + public readonly string LoadBalancerType; + /// + /// The geo-location where the resource lives + /// + public readonly string? Location; + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + public readonly string? ManagedBy; + /// + /// The max session limit of HostPool. + /// + public readonly int? MaxSessionLimit; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// ObjectId of HostPool. (internal use) + /// + public readonly string ObjectId; + /// + /// PersonalDesktopAssignment type for HostPool. + /// + public readonly string? PersonalDesktopAssignmentType; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponsePlan? Plan; + /// + /// The type of preferred application group type, default to Desktop Application Group + /// + public readonly string PreferredAppGroupType; + /// + /// List of private endpoint connection associated with the specified resource + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + public readonly string? PublicNetworkAccess; + /// + /// The registration info of HostPool. + /// + public readonly Outputs.RegistrationInfoResponse? RegistrationInfo; + /// + /// The ring number of HostPool. + /// + public readonly int? Ring; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseSku? Sku; + /// + /// ClientId for the registered Relying Party used to issue WVD SSO certificates. + /// + public readonly string? SsoClientId; + /// + /// Path to Azure KeyVault storing the secret used for communication to ADFS. + /// + public readonly string? SsoClientSecretKeyVaultPath; + /// + /// The type of single sign on Secret Type. + /// + public readonly string? SsoSecretType; + /// + /// URL to customer ADFS server for signing WVD SSO certificates. + /// + public readonly string? SsoadfsAuthority; + /// + /// The flag to turn on/off StartVMOnConnect feature. + /// + public readonly bool? StartVMOnConnect; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Is validation environment. + /// + public readonly bool? ValidationEnvironment; + /// + /// VM template for sessionhosts configuration within hostpool. + /// + public readonly string? VmTemplate; + + [OutputConstructor] + private GetHostPoolResult( + Outputs.AgentUpdatePropertiesResponse? agentUpdate, + + ImmutableArray applicationGroupReferences, + + bool cloudPcResource, + + string? customRdpProperty, + + string? description, + + string etag, + + string? friendlyName, + + string hostPoolType, + + string id, + + Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? identity, + + string? kind, + + string loadBalancerType, + + string? location, + + string? managedBy, + + int? maxSessionLimit, + + string name, + + string objectId, + + string? personalDesktopAssignmentType, + + Outputs.ResourceModelWithAllowedPropertySetResponsePlan? plan, + + string preferredAppGroupType, + + ImmutableArray privateEndpointConnections, + + string? publicNetworkAccess, + + Outputs.RegistrationInfoResponse? registrationInfo, + + int? ring, + + Outputs.ResourceModelWithAllowedPropertySetResponseSku? sku, + + string? ssoClientId, + + string? ssoClientSecretKeyVaultPath, + + string? ssoSecretType, + + string? ssoadfsAuthority, + + bool? startVMOnConnect, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + bool? validationEnvironment, + + string? vmTemplate) + { + AgentUpdate = agentUpdate; + ApplicationGroupReferences = applicationGroupReferences; + CloudPcResource = cloudPcResource; + CustomRdpProperty = customRdpProperty; + Description = description; + Etag = etag; + FriendlyName = friendlyName; + HostPoolType = hostPoolType; + Id = id; + Identity = identity; + Kind = kind; + LoadBalancerType = loadBalancerType; + Location = location; + ManagedBy = managedBy; + MaxSessionLimit = maxSessionLimit; + Name = name; + ObjectId = objectId; + PersonalDesktopAssignmentType = personalDesktopAssignmentType; + Plan = plan; + PreferredAppGroupType = preferredAppGroupType; + PrivateEndpointConnections = privateEndpointConnections; + PublicNetworkAccess = publicNetworkAccess; + RegistrationInfo = registrationInfo; + Ring = ring; + Sku = sku; + SsoClientId = ssoClientId; + SsoClientSecretKeyVaultPath = ssoClientSecretKeyVaultPath; + SsoSecretType = ssoSecretType; + SsoadfsAuthority = ssoadfsAuthority; + StartVMOnConnect = startVMOnConnect; + SystemData = systemData; + Tags = tags; + Type = type; + ValidationEnvironment = validationEnvironment; + VmTemplate = vmTemplate; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetMSIXPackage.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetMSIXPackage.cs new file mode 100644 index 000000000000..ce6d85cc5486 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetMSIXPackage.cs @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetMSIXPackage + { + /// + /// Get a msixpackage. + /// + public static Task InvokeAsync(GetMSIXPackageArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getMSIXPackage", args ?? new GetMSIXPackageArgs(), options.WithDefaults()); + + /// + /// Get a msixpackage. + /// + public static Output Invoke(GetMSIXPackageInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getMSIXPackage", args ?? new GetMSIXPackageInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMSIXPackageArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public string HostPoolName { get; set; } = null!; + + /// + /// The version specific package full name of the MSIX package within specified hostpool + /// + [Input("msixPackageFullName", required: true)] + public string MsixPackageFullName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMSIXPackageArgs() + { + } + public static new GetMSIXPackageArgs Empty => new GetMSIXPackageArgs(); + } + + public sealed class GetMSIXPackageInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public Input HostPoolName { get; set; } = null!; + + /// + /// The version specific package full name of the MSIX package within specified hostpool + /// + [Input("msixPackageFullName", required: true)] + public Input MsixPackageFullName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMSIXPackageInvokeArgs() + { + } + public static new GetMSIXPackageInvokeArgs Empty => new GetMSIXPackageInvokeArgs(); + } + + + [OutputType] + public sealed class GetMSIXPackageResult + { + /// + /// User friendly Name to be displayed in the portal. + /// + public readonly string? DisplayName; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// VHD/CIM image path on Network Share. + /// + public readonly string? ImagePath; + /// + /// Make this version of the package the active one across the hostpool. + /// + public readonly bool? IsActive; + /// + /// Specifies how to register Package in feed. + /// + public readonly bool? IsRegularRegistration; + /// + /// Date Package was last updated, found in the appxmanifest.xml. + /// + public readonly string? LastUpdated; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// List of package applications. + /// + public readonly ImmutableArray PackageApplications; + /// + /// List of package dependencies. + /// + public readonly ImmutableArray PackageDependencies; + /// + /// Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + /// + public readonly string? PackageFamilyName; + /// + /// Package Name from appxmanifest.xml. + /// + public readonly string? PackageName; + /// + /// Relative Path to the package inside the image. + /// + public readonly string? PackageRelativePath; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Package Version found in the appxmanifest.xml. + /// + public readonly string? Version; + + [OutputConstructor] + private GetMSIXPackageResult( + string? displayName, + + string id, + + string? imagePath, + + bool? isActive, + + bool? isRegularRegistration, + + string? lastUpdated, + + string name, + + ImmutableArray packageApplications, + + ImmutableArray packageDependencies, + + string? packageFamilyName, + + string? packageName, + + string? packageRelativePath, + + Outputs.SystemDataResponse systemData, + + string type, + + string? version) + { + DisplayName = displayName; + Id = id; + ImagePath = imagePath; + IsActive = isActive; + IsRegularRegistration = isRegularRegistration; + LastUpdated = lastUpdated; + Name = name; + PackageApplications = packageApplications; + PackageDependencies = packageDependencies; + PackageFamilyName = packageFamilyName; + PackageName = packageName; + PackageRelativePath = packageRelativePath; + SystemData = systemData; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetPrivateEndpointConnectionByHostPool.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetPrivateEndpointConnectionByHostPool.cs new file mode 100644 index 000000000000..c2e4e44972a9 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetPrivateEndpointConnectionByHostPool.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetPrivateEndpointConnectionByHostPool + { + /// + /// Get a private endpoint connection. + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionByHostPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByHostPool", args ?? new GetPrivateEndpointConnectionByHostPoolArgs(), options.WithDefaults()); + + /// + /// Get a private endpoint connection. + /// + public static Output Invoke(GetPrivateEndpointConnectionByHostPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByHostPool", args ?? new GetPrivateEndpointConnectionByHostPoolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionByHostPoolArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public string HostPoolName { get; set; } = null!; + + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionByHostPoolArgs() + { + } + public static new GetPrivateEndpointConnectionByHostPoolArgs Empty => new GetPrivateEndpointConnectionByHostPoolArgs(); + } + + public sealed class GetPrivateEndpointConnectionByHostPoolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public Input HostPoolName { get; set; } = null!; + + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionByHostPoolInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionByHostPoolInvokeArgs Empty => new GetPrivateEndpointConnectionByHostPoolInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionByHostPoolResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource of private end point. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private endpoint connection resource. + /// + public readonly string ProvisioningState; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionByHostPoolResult( + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetPrivateEndpointConnectionByWorkspace.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetPrivateEndpointConnectionByWorkspace.cs new file mode 100644 index 000000000000..588695213307 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetPrivateEndpointConnectionByWorkspace.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetPrivateEndpointConnectionByWorkspace + { + /// + /// Get a private endpoint connection. + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionByWorkspaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByWorkspace", args ?? new GetPrivateEndpointConnectionByWorkspaceArgs(), options.WithDefaults()); + + /// + /// Get a private endpoint connection. + /// + public static Output Invoke(GetPrivateEndpointConnectionByWorkspaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByWorkspace", args ?? new GetPrivateEndpointConnectionByWorkspaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionByWorkspaceArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetPrivateEndpointConnectionByWorkspaceArgs() + { + } + public static new GetPrivateEndpointConnectionByWorkspaceArgs Empty => new GetPrivateEndpointConnectionByWorkspaceArgs(); + } + + public sealed class GetPrivateEndpointConnectionByWorkspaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetPrivateEndpointConnectionByWorkspaceInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionByWorkspaceInvokeArgs Empty => new GetPrivateEndpointConnectionByWorkspaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionByWorkspaceResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource of private end point. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private endpoint connection resource. + /// + public readonly string ProvisioningState; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionByWorkspaceResult( + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlan.cs new file mode 100644 index 000000000000..e1d16799b5a6 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlan.cs @@ -0,0 +1,208 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetScalingPlan + { + /// + /// Get a scaling plan. + /// + public static Task InvokeAsync(GetScalingPlanArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getScalingPlan", args ?? new GetScalingPlanArgs(), options.WithDefaults()); + + /// + /// Get a scaling plan. + /// + public static Output Invoke(GetScalingPlanInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getScalingPlan", args ?? new GetScalingPlanInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScalingPlanArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public string ScalingPlanName { get; set; } = null!; + + public GetScalingPlanArgs() + { + } + public static new GetScalingPlanArgs Empty => new GetScalingPlanArgs(); + } + + public sealed class GetScalingPlanInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public Input ScalingPlanName { get; set; } = null!; + + public GetScalingPlanInvokeArgs() + { + } + public static new GetScalingPlanInvokeArgs Empty => new GetScalingPlanInvokeArgs(); + } + + + [OutputType] + public sealed class GetScalingPlanResult + { + /// + /// Description of scaling plan. + /// + public readonly string? Description; + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string Etag; + /// + /// Exclusion tag for scaling plan. + /// + public readonly string? ExclusionTag; + /// + /// User friendly name of scaling plan. + /// + public readonly string? FriendlyName; + /// + /// List of ScalingHostPoolReference definitions. + /// + public readonly ImmutableArray HostPoolReferences; + /// + /// HostPool type for desktop. + /// + public readonly string? HostPoolType; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? Identity; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// The geo-location where the resource lives + /// + public readonly string? Location; + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + public readonly string? ManagedBy; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// ObjectId of scaling plan. (internal use) + /// + public readonly string ObjectId; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponsePlan? Plan; + /// + /// List of ScalingPlanPooledSchedule definitions. + /// + public readonly ImmutableArray Schedules; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseSku? Sku; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Timezone of the scaling plan. + /// + public readonly string TimeZone; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetScalingPlanResult( + string? description, + + string etag, + + string? exclusionTag, + + string? friendlyName, + + ImmutableArray hostPoolReferences, + + string? hostPoolType, + + string id, + + Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? identity, + + string? kind, + + string? location, + + string? managedBy, + + string name, + + string objectId, + + Outputs.ResourceModelWithAllowedPropertySetResponsePlan? plan, + + ImmutableArray schedules, + + Outputs.ResourceModelWithAllowedPropertySetResponseSku? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string timeZone, + + string type) + { + Description = description; + Etag = etag; + ExclusionTag = exclusionTag; + FriendlyName = friendlyName; + HostPoolReferences = hostPoolReferences; + HostPoolType = hostPoolType; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + ManagedBy = managedBy; + Name = name; + ObjectId = objectId; + Plan = plan; + Schedules = schedules; + Sku = sku; + SystemData = systemData; + Tags = tags; + TimeZone = timeZone; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlanPersonalSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlanPersonalSchedule.cs new file mode 100644 index 000000000000..777924a35df9 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlanPersonalSchedule.cs @@ -0,0 +1,299 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetScalingPlanPersonalSchedule + { + /// + /// Get a ScalingPlanPersonalSchedule. + /// + public static Task InvokeAsync(GetScalingPlanPersonalScheduleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getScalingPlanPersonalSchedule", args ?? new GetScalingPlanPersonalScheduleArgs(), options.WithDefaults()); + + /// + /// Get a ScalingPlanPersonalSchedule. + /// + public static Output Invoke(GetScalingPlanPersonalScheduleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getScalingPlanPersonalSchedule", args ?? new GetScalingPlanPersonalScheduleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScalingPlanPersonalScheduleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public string ScalingPlanName { get; set; } = null!; + + /// + /// The name of the ScalingPlanSchedule + /// + [Input("scalingPlanScheduleName", required: true)] + public string ScalingPlanScheduleName { get; set; } = null!; + + public GetScalingPlanPersonalScheduleArgs() + { + } + public static new GetScalingPlanPersonalScheduleArgs Empty => new GetScalingPlanPersonalScheduleArgs(); + } + + public sealed class GetScalingPlanPersonalScheduleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public Input ScalingPlanName { get; set; } = null!; + + /// + /// The name of the ScalingPlanSchedule + /// + [Input("scalingPlanScheduleName", required: true)] + public Input ScalingPlanScheduleName { get; set; } = null!; + + public GetScalingPlanPersonalScheduleInvokeArgs() + { + } + public static new GetScalingPlanPersonalScheduleInvokeArgs Empty => new GetScalingPlanPersonalScheduleInvokeArgs(); + } + + + [OutputType] + public sealed class GetScalingPlanPersonalScheduleResult + { + /// + /// Set of days of the week on which this schedule is active. + /// + public readonly ImmutableArray DaysOfWeek; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Action to be taken after a user disconnect during the off-peak period. + /// + public readonly string? OffPeakActionOnDisconnect; + /// + /// Action to be taken after a logoff during the off-peak period. + /// + public readonly string? OffPeakActionOnLogoff; + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + /// + public readonly int? OffPeakMinutesToWaitOnDisconnect; + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + /// + public readonly int? OffPeakMinutesToWaitOnLogoff; + /// + /// Starting time for off-peak period. + /// + public readonly Outputs.TimeResponse? OffPeakStartTime; + /// + /// The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + /// + public readonly string? OffPeakStartVMOnConnect; + /// + /// Action to be taken after a user disconnect during the peak period. + /// + public readonly string? PeakActionOnDisconnect; + /// + /// Action to be taken after a logoff during the peak period. + /// + public readonly string? PeakActionOnLogoff; + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + /// + public readonly int? PeakMinutesToWaitOnDisconnect; + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + /// + public readonly int? PeakMinutesToWaitOnLogoff; + /// + /// Starting time for peak period. + /// + public readonly Outputs.TimeResponse? PeakStartTime; + /// + /// The desired configuration of Start VM On Connect for the hostpool during the peak phase. + /// + public readonly string? PeakStartVMOnConnect; + /// + /// Action to be taken after a user disconnect during the ramp down period. + /// + public readonly string? RampDownActionOnDisconnect; + /// + /// Action to be taken after a logoff during the ramp down period. + /// + public readonly string? RampDownActionOnLogoff; + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + /// + public readonly int? RampDownMinutesToWaitOnDisconnect; + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + /// + public readonly int? RampDownMinutesToWaitOnLogoff; + /// + /// Starting time for ramp down period. + /// + public readonly Outputs.TimeResponse? RampDownStartTime; + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + /// + public readonly string? RampDownStartVMOnConnect; + /// + /// Action to be taken after a user disconnect during the ramp up period. + /// + public readonly string? RampUpActionOnDisconnect; + /// + /// Action to be taken after a logoff during the ramp up period. + /// + public readonly string? RampUpActionOnLogoff; + /// + /// The desired startup behavior during the ramp up period for personal vms in the hostpool. + /// + public readonly string? RampUpAutoStartHosts; + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + /// + public readonly int? RampUpMinutesToWaitOnDisconnect; + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + /// + public readonly int? RampUpMinutesToWaitOnLogoff; + /// + /// Starting time for ramp up period. + /// + public readonly Outputs.TimeResponse? RampUpStartTime; + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + /// + public readonly string? RampUpStartVMOnConnect; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetScalingPlanPersonalScheduleResult( + ImmutableArray daysOfWeek, + + string id, + + string name, + + string? offPeakActionOnDisconnect, + + string? offPeakActionOnLogoff, + + int? offPeakMinutesToWaitOnDisconnect, + + int? offPeakMinutesToWaitOnLogoff, + + Outputs.TimeResponse? offPeakStartTime, + + string? offPeakStartVMOnConnect, + + string? peakActionOnDisconnect, + + string? peakActionOnLogoff, + + int? peakMinutesToWaitOnDisconnect, + + int? peakMinutesToWaitOnLogoff, + + Outputs.TimeResponse? peakStartTime, + + string? peakStartVMOnConnect, + + string? rampDownActionOnDisconnect, + + string? rampDownActionOnLogoff, + + int? rampDownMinutesToWaitOnDisconnect, + + int? rampDownMinutesToWaitOnLogoff, + + Outputs.TimeResponse? rampDownStartTime, + + string? rampDownStartVMOnConnect, + + string? rampUpActionOnDisconnect, + + string? rampUpActionOnLogoff, + + string? rampUpAutoStartHosts, + + int? rampUpMinutesToWaitOnDisconnect, + + int? rampUpMinutesToWaitOnLogoff, + + Outputs.TimeResponse? rampUpStartTime, + + string? rampUpStartVMOnConnect, + + Outputs.SystemDataResponse systemData, + + string type) + { + DaysOfWeek = daysOfWeek; + Id = id; + Name = name; + OffPeakActionOnDisconnect = offPeakActionOnDisconnect; + OffPeakActionOnLogoff = offPeakActionOnLogoff; + OffPeakMinutesToWaitOnDisconnect = offPeakMinutesToWaitOnDisconnect; + OffPeakMinutesToWaitOnLogoff = offPeakMinutesToWaitOnLogoff; + OffPeakStartTime = offPeakStartTime; + OffPeakStartVMOnConnect = offPeakStartVMOnConnect; + PeakActionOnDisconnect = peakActionOnDisconnect; + PeakActionOnLogoff = peakActionOnLogoff; + PeakMinutesToWaitOnDisconnect = peakMinutesToWaitOnDisconnect; + PeakMinutesToWaitOnLogoff = peakMinutesToWaitOnLogoff; + PeakStartTime = peakStartTime; + PeakStartVMOnConnect = peakStartVMOnConnect; + RampDownActionOnDisconnect = rampDownActionOnDisconnect; + RampDownActionOnLogoff = rampDownActionOnLogoff; + RampDownMinutesToWaitOnDisconnect = rampDownMinutesToWaitOnDisconnect; + RampDownMinutesToWaitOnLogoff = rampDownMinutesToWaitOnLogoff; + RampDownStartTime = rampDownStartTime; + RampDownStartVMOnConnect = rampDownStartVMOnConnect; + RampUpActionOnDisconnect = rampUpActionOnDisconnect; + RampUpActionOnLogoff = rampUpActionOnLogoff; + RampUpAutoStartHosts = rampUpAutoStartHosts; + RampUpMinutesToWaitOnDisconnect = rampUpMinutesToWaitOnDisconnect; + RampUpMinutesToWaitOnLogoff = rampUpMinutesToWaitOnLogoff; + RampUpStartTime = rampUpStartTime; + RampUpStartVMOnConnect = rampUpStartVMOnConnect; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlanPooledSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlanPooledSchedule.cs new file mode 100644 index 000000000000..38da353cf5e0 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetScalingPlanPooledSchedule.cs @@ -0,0 +1,236 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetScalingPlanPooledSchedule + { + /// + /// Get a ScalingPlanPooledSchedule. + /// + public static Task InvokeAsync(GetScalingPlanPooledScheduleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getScalingPlanPooledSchedule", args ?? new GetScalingPlanPooledScheduleArgs(), options.WithDefaults()); + + /// + /// Get a ScalingPlanPooledSchedule. + /// + public static Output Invoke(GetScalingPlanPooledScheduleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getScalingPlanPooledSchedule", args ?? new GetScalingPlanPooledScheduleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScalingPlanPooledScheduleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public string ScalingPlanName { get; set; } = null!; + + /// + /// The name of the ScalingPlanSchedule + /// + [Input("scalingPlanScheduleName", required: true)] + public string ScalingPlanScheduleName { get; set; } = null!; + + public GetScalingPlanPooledScheduleArgs() + { + } + public static new GetScalingPlanPooledScheduleArgs Empty => new GetScalingPlanPooledScheduleArgs(); + } + + public sealed class GetScalingPlanPooledScheduleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public Input ScalingPlanName { get; set; } = null!; + + /// + /// The name of the ScalingPlanSchedule + /// + [Input("scalingPlanScheduleName", required: true)] + public Input ScalingPlanScheduleName { get; set; } = null!; + + public GetScalingPlanPooledScheduleInvokeArgs() + { + } + public static new GetScalingPlanPooledScheduleInvokeArgs Empty => new GetScalingPlanPooledScheduleInvokeArgs(); + } + + + [OutputType] + public sealed class GetScalingPlanPooledScheduleResult + { + /// + /// Set of days of the week on which this schedule is active. + /// + public readonly ImmutableArray DaysOfWeek; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Load balancing algorithm for off-peak period. + /// + public readonly string? OffPeakLoadBalancingAlgorithm; + /// + /// Starting time for off-peak period. + /// + public readonly Outputs.TimeResponse? OffPeakStartTime; + /// + /// Load balancing algorithm for peak period. + /// + public readonly string? PeakLoadBalancingAlgorithm; + /// + /// Starting time for peak period. + /// + public readonly Outputs.TimeResponse? PeakStartTime; + /// + /// Capacity threshold for ramp down period. + /// + public readonly int? RampDownCapacityThresholdPct; + /// + /// Should users be logged off forcefully from hosts. + /// + public readonly bool? RampDownForceLogoffUsers; + /// + /// Load balancing algorithm for ramp down period. + /// + public readonly string? RampDownLoadBalancingAlgorithm; + /// + /// Minimum host percentage for ramp down period. + /// + public readonly int? RampDownMinimumHostsPct; + /// + /// Notification message for users during ramp down period. + /// + public readonly string? RampDownNotificationMessage; + /// + /// Starting time for ramp down period. + /// + public readonly Outputs.TimeResponse? RampDownStartTime; + /// + /// Specifies when to stop hosts during ramp down period. + /// + public readonly string? RampDownStopHostsWhen; + /// + /// Number of minutes to wait to stop hosts during ramp down period. + /// + public readonly int? RampDownWaitTimeMinutes; + /// + /// Capacity threshold for ramp up period. + /// + public readonly int? RampUpCapacityThresholdPct; + /// + /// Load balancing algorithm for ramp up period. + /// + public readonly string? RampUpLoadBalancingAlgorithm; + /// + /// Minimum host percentage for ramp up period. + /// + public readonly int? RampUpMinimumHostsPct; + /// + /// Starting time for ramp up period. + /// + public readonly Outputs.TimeResponse? RampUpStartTime; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetScalingPlanPooledScheduleResult( + ImmutableArray daysOfWeek, + + string id, + + string name, + + string? offPeakLoadBalancingAlgorithm, + + Outputs.TimeResponse? offPeakStartTime, + + string? peakLoadBalancingAlgorithm, + + Outputs.TimeResponse? peakStartTime, + + int? rampDownCapacityThresholdPct, + + bool? rampDownForceLogoffUsers, + + string? rampDownLoadBalancingAlgorithm, + + int? rampDownMinimumHostsPct, + + string? rampDownNotificationMessage, + + Outputs.TimeResponse? rampDownStartTime, + + string? rampDownStopHostsWhen, + + int? rampDownWaitTimeMinutes, + + int? rampUpCapacityThresholdPct, + + string? rampUpLoadBalancingAlgorithm, + + int? rampUpMinimumHostsPct, + + Outputs.TimeResponse? rampUpStartTime, + + Outputs.SystemDataResponse systemData, + + string type) + { + DaysOfWeek = daysOfWeek; + Id = id; + Name = name; + OffPeakLoadBalancingAlgorithm = offPeakLoadBalancingAlgorithm; + OffPeakStartTime = offPeakStartTime; + PeakLoadBalancingAlgorithm = peakLoadBalancingAlgorithm; + PeakStartTime = peakStartTime; + RampDownCapacityThresholdPct = rampDownCapacityThresholdPct; + RampDownForceLogoffUsers = rampDownForceLogoffUsers; + RampDownLoadBalancingAlgorithm = rampDownLoadBalancingAlgorithm; + RampDownMinimumHostsPct = rampDownMinimumHostsPct; + RampDownNotificationMessage = rampDownNotificationMessage; + RampDownStartTime = rampDownStartTime; + RampDownStopHostsWhen = rampDownStopHostsWhen; + RampDownWaitTimeMinutes = rampDownWaitTimeMinutes; + RampUpCapacityThresholdPct = rampUpCapacityThresholdPct; + RampUpLoadBalancingAlgorithm = rampUpLoadBalancingAlgorithm; + RampUpMinimumHostsPct = rampUpMinimumHostsPct; + RampUpStartTime = rampUpStartTime; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/GetWorkspace.cs b/sdk/dotnet/DesktopVirtualization/V20230905/GetWorkspace.cs new file mode 100644 index 000000000000..02a218145b61 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/GetWorkspace.cs @@ -0,0 +1,201 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + public static class GetWorkspace + { + /// + /// Get a workspace. + /// + public static Task InvokeAsync(GetWorkspaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:desktopvirtualization/v20230905:getWorkspace", args ?? new GetWorkspaceArgs(), options.WithDefaults()); + + /// + /// Get a workspace. + /// + public static Output Invoke(GetWorkspaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:desktopvirtualization/v20230905:getWorkspace", args ?? new GetWorkspaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWorkspaceArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWorkspaceArgs() + { + } + public static new GetWorkspaceArgs Empty => new GetWorkspaceArgs(); + } + + public sealed class GetWorkspaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWorkspaceInvokeArgs() + { + } + public static new GetWorkspaceInvokeArgs Empty => new GetWorkspaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetWorkspaceResult + { + /// + /// List of applicationGroup resource Ids. + /// + public readonly ImmutableArray ApplicationGroupReferences; + /// + /// Is cloud pc resource. + /// + public readonly bool CloudPcResource; + /// + /// Description of Workspace. + /// + public readonly string? Description; + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string Etag; + /// + /// Friendly name of Workspace. + /// + public readonly string? FriendlyName; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? Identity; + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + public readonly string? Kind; + /// + /// The geo-location where the resource lives + /// + public readonly string? Location; + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + public readonly string? ManagedBy; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// ObjectId of Workspace. (internal use) + /// + public readonly string ObjectId; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponsePlan? Plan; + /// + /// List of private endpoint connection associated with the specified resource + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + public readonly string? PublicNetworkAccess; + public readonly Outputs.ResourceModelWithAllowedPropertySetResponseSku? Sku; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetWorkspaceResult( + ImmutableArray applicationGroupReferences, + + bool cloudPcResource, + + string? description, + + string etag, + + string? friendlyName, + + string id, + + Outputs.ResourceModelWithAllowedPropertySetResponseIdentity? identity, + + string? kind, + + string? location, + + string? managedBy, + + string name, + + string objectId, + + Outputs.ResourceModelWithAllowedPropertySetResponsePlan? plan, + + ImmutableArray privateEndpointConnections, + + string? publicNetworkAccess, + + Outputs.ResourceModelWithAllowedPropertySetResponseSku? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ApplicationGroupReferences = applicationGroupReferences; + CloudPcResource = cloudPcResource; + Description = description; + Etag = etag; + FriendlyName = friendlyName; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + ManagedBy = managedBy; + Name = name; + ObjectId = objectId; + Plan = plan; + PrivateEndpointConnections = privateEndpointConnections; + PublicNetworkAccess = publicNetworkAccess; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/HostPool.cs b/sdk/dotnet/DesktopVirtualization/V20230905/HostPool.cs new file mode 100644 index 000000000000..4488a2749931 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/HostPool.cs @@ -0,0 +1,450 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Represents a HostPool definition. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:HostPool")] + public partial class HostPool : global::Pulumi.CustomResource + { + /// + /// The session host configuration for updating agent, monitoring agent, and stack component. + /// + [Output("agentUpdate")] + public Output AgentUpdate { get; private set; } = null!; + + /// + /// List of applicationGroup links. + /// + [Output("applicationGroupReferences")] + public Output> ApplicationGroupReferences { get; private set; } = null!; + + /// + /// Is cloud pc resource. + /// + [Output("cloudPcResource")] + public Output CloudPcResource { get; private set; } = null!; + + /// + /// Custom rdp property of HostPool. + /// + [Output("customRdpProperty")] + public Output CustomRdpProperty { get; private set; } = null!; + + /// + /// Description of HostPool. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Friendly name of HostPool. + /// + [Output("friendlyName")] + public Output FriendlyName { get; private set; } = null!; + + /// + /// HostPool type for desktop. + /// + [Output("hostPoolType")] + public Output HostPoolType { get; private set; } = null!; + + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The type of the load balancer. + /// + [Output("loadBalancerType")] + public Output LoadBalancerType { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Output("managedBy")] + public Output ManagedBy { get; private set; } = null!; + + /// + /// The max session limit of HostPool. + /// + [Output("maxSessionLimit")] + public Output MaxSessionLimit { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ObjectId of HostPool. (internal use) + /// + [Output("objectId")] + public Output ObjectId { get; private set; } = null!; + + /// + /// PersonalDesktopAssignment type for HostPool. + /// + [Output("personalDesktopAssignmentType")] + public Output PersonalDesktopAssignmentType { get; private set; } = null!; + + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// The type of preferred application group type, default to Desktop Application Group + /// + [Output("preferredAppGroupType")] + public Output PreferredAppGroupType { get; private set; } = null!; + + /// + /// List of private endpoint connection associated with the specified resource + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// The registration info of HostPool. + /// + [Output("registrationInfo")] + public Output RegistrationInfo { get; private set; } = null!; + + /// + /// The ring number of HostPool. + /// + [Output("ring")] + public Output Ring { get; private set; } = null!; + + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// ClientId for the registered Relying Party used to issue WVD SSO certificates. + /// + [Output("ssoClientId")] + public Output SsoClientId { get; private set; } = null!; + + /// + /// Path to Azure KeyVault storing the secret used for communication to ADFS. + /// + [Output("ssoClientSecretKeyVaultPath")] + public Output SsoClientSecretKeyVaultPath { get; private set; } = null!; + + /// + /// The type of single sign on Secret Type. + /// + [Output("ssoSecretType")] + public Output SsoSecretType { get; private set; } = null!; + + /// + /// URL to customer ADFS server for signing WVD SSO certificates. + /// + [Output("ssoadfsAuthority")] + public Output SsoadfsAuthority { get; private set; } = null!; + + /// + /// The flag to turn on/off StartVMOnConnect feature. + /// + [Output("startVMOnConnect")] + public Output StartVMOnConnect { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Is validation environment. + /// + [Output("validationEnvironment")] + public Output ValidationEnvironment { get; private set; } = null!; + + /// + /// VM template for sessionhosts configuration within hostpool. + /// + [Output("vmTemplate")] + public Output VmTemplate { get; private set; } = null!; + + + /// + /// Create a HostPool 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 HostPool(string name, HostPoolArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:HostPool", name, args ?? new HostPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private HostPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:HostPool", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190123preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190924preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20191210preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20200921preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201019preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201102preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201110preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210114preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210201preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210309preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210712:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:HostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:HostPool"}, + }, + }; + 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 HostPool 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. + /// A bag of options that control this resource's behavior + public static HostPool Get(string name, Input id, CustomResourceOptions? options = null) + { + return new HostPool(name, id, options); + } + } + + public sealed class HostPoolArgs : global::Pulumi.ResourceArgs + { + /// + /// The session host configuration for updating agent, monitoring agent, and stack component. + /// + [Input("agentUpdate")] + public Input? AgentUpdate { get; set; } + + /// + /// Custom rdp property of HostPool. + /// + [Input("customRdpProperty")] + public Input? CustomRdpProperty { get; set; } + + /// + /// Description of HostPool. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Friendly name of HostPool. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName")] + public Input? HostPoolName { get; set; } + + /// + /// HostPool type for desktop. + /// + [Input("hostPoolType", required: true)] + public InputUnion HostPoolType { get; set; } = null!; + + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The type of the load balancer. + /// + [Input("loadBalancerType", required: true)] + public InputUnion LoadBalancerType { get; set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Input("managedBy")] + public Input? ManagedBy { get; set; } + + /// + /// The max session limit of HostPool. + /// + [Input("maxSessionLimit")] + public Input? MaxSessionLimit { get; set; } + + /// + /// PersonalDesktopAssignment type for HostPool. + /// + [Input("personalDesktopAssignmentType")] + public InputUnion? PersonalDesktopAssignmentType { get; set; } + + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// The type of preferred application group type, default to Desktop Application Group + /// + [Input("preferredAppGroupType", required: true)] + public InputUnion PreferredAppGroupType { get; set; } = null!; + + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The registration info of HostPool. + /// + [Input("registrationInfo")] + public Input? RegistrationInfo { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The ring number of HostPool. + /// + [Input("ring")] + public Input? Ring { get; set; } + + [Input("sku")] + public Input? Sku { get; set; } + + /// + /// ClientId for the registered Relying Party used to issue WVD SSO certificates. + /// + [Input("ssoClientId")] + public Input? SsoClientId { get; set; } + + /// + /// Path to Azure KeyVault storing the secret used for communication to ADFS. + /// + [Input("ssoClientSecretKeyVaultPath")] + public Input? SsoClientSecretKeyVaultPath { get; set; } + + /// + /// The type of single sign on Secret Type. + /// + [Input("ssoSecretType")] + public InputUnion? SsoSecretType { get; set; } + + /// + /// URL to customer ADFS server for signing WVD SSO certificates. + /// + [Input("ssoadfsAuthority")] + public Input? SsoadfsAuthority { get; set; } + + /// + /// The flag to turn on/off StartVMOnConnect feature. + /// + [Input("startVMOnConnect")] + public Input? StartVMOnConnect { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Is validation environment. + /// + [Input("validationEnvironment")] + public Input? ValidationEnvironment { get; set; } + + /// + /// VM template for sessionhosts configuration within hostpool. + /// + [Input("vmTemplate")] + public Input? VmTemplate { get; set; } + + public HostPoolArgs() + { + } + public static new HostPoolArgs Empty => new HostPoolArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/AgentUpdatePropertiesArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/AgentUpdatePropertiesArgs.cs new file mode 100644 index 000000000000..52829c50c54b --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/AgentUpdatePropertiesArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// The session host configuration for updating agent, monitoring agent, and stack component. + /// + public sealed class AgentUpdatePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + /// + [Input("maintenanceWindowTimeZone")] + public Input? MaintenanceWindowTimeZone { get; set; } + + [Input("maintenanceWindows")] + private InputList? _maintenanceWindows; + + /// + /// List of maintenance windows. Maintenance windows are 2 hours long. + /// + public InputList MaintenanceWindows + { + get => _maintenanceWindows ?? (_maintenanceWindows = new InputList()); + set => _maintenanceWindows = value; + } + + /// + /// The type of maintenance for session host components. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + /// + /// Whether to use localTime of the virtual machine. + /// + [Input("useSessionHostLocalTime")] + public Input? UseSessionHostLocalTime { get; set; } + + public AgentUpdatePropertiesArgs() + { + } + public static new AgentUpdatePropertiesArgs Empty => new AgentUpdatePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MaintenanceWindowPropertiesArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MaintenanceWindowPropertiesArgs.cs new file mode 100644 index 000000000000..873dea1d9028 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MaintenanceWindowPropertiesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// Maintenance window starting hour and day of week. + /// + public sealed class MaintenanceWindowPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Day of the week. + /// + [Input("dayOfWeek")] + public Input? DayOfWeek { get; set; } + + /// + /// The update start hour of the day. (0 - 23) + /// + [Input("hour")] + public Input? Hour { get; set; } + + public MaintenanceWindowPropertiesArgs() + { + } + public static new MaintenanceWindowPropertiesArgs Empty => new MaintenanceWindowPropertiesArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MsixPackageApplicationsArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MsixPackageApplicationsArgs.cs new file mode 100644 index 000000000000..62c2028f31e6 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MsixPackageApplicationsArgs.cs @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// Schema for MSIX Package Application properties. + /// + public sealed class MsixPackageApplicationsArgs : global::Pulumi.ResourceArgs + { + /// + /// Package Application Id, found in appxmanifest.xml. + /// + [Input("appId")] + public Input? AppId { get; set; } + + /// + /// Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + /// + [Input("appUserModelID")] + public Input? AppUserModelID { get; set; } + + /// + /// Description of Package Application. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// User friendly name. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + /// + /// User friendly name. + /// + [Input("iconImageName")] + public Input? IconImageName { get; set; } + + /// + /// the icon a 64 bit string as a byte array. + /// + [Input("rawIcon")] + public Input? RawIcon { get; set; } + + /// + /// the icon a 64 bit string as a byte array. + /// + [Input("rawPng")] + public Input? RawPng { get; set; } + + public MsixPackageApplicationsArgs() + { + } + public static new MsixPackageApplicationsArgs Empty => new MsixPackageApplicationsArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MsixPackageDependenciesArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MsixPackageDependenciesArgs.cs new file mode 100644 index 000000000000..4750741ea14f --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/MsixPackageDependenciesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// Schema for MSIX Package Dependencies properties. + /// + public sealed class MsixPackageDependenciesArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of package dependency. + /// + [Input("dependencyName")] + public Input? DependencyName { get; set; } + + /// + /// Dependency version required. + /// + [Input("minVersion")] + public Input? MinVersion { get; set; } + + /// + /// Name of dependency publisher. + /// + [Input("publisher")] + public Input? Publisher { get; set; } + + public MsixPackageDependenciesArgs() + { + } + public static new MsixPackageDependenciesArgs Empty => new MsixPackageDependenciesArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/PrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/PrivateLinkServiceConnectionStateArgs.cs new file mode 100644 index 000000000000..9bfda9836281 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/PrivateLinkServiceConnectionStateArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public sealed class PrivateLinkServiceConnectionStateArgs : global::Pulumi.ResourceArgs + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + [Input("actionsRequired")] + public Input? ActionsRequired { get; set; } + + /// + /// The reason for approval/rejection of the connection. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public PrivateLinkServiceConnectionStateArgs() + { + } + public static new PrivateLinkServiceConnectionStateArgs Empty => new PrivateLinkServiceConnectionStateArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/RegistrationInfoArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/RegistrationInfoArgs.cs new file mode 100644 index 000000000000..c1f07f89dc44 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/RegistrationInfoArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// Represents a RegistrationInfo definition. + /// + public sealed class RegistrationInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// Expiration time of registration token. + /// + [Input("expirationTime")] + public Input? ExpirationTime { get; set; } + + /// + /// The type of resetting the token. + /// + [Input("registrationTokenOperation")] + public InputUnion? RegistrationTokenOperation { get; set; } + + /// + /// The registration token base64 encoded string. + /// + [Input("token")] + public Input? Token { get; set; } + + public RegistrationInfoArgs() + { + } + public static new RegistrationInfoArgs Empty => new RegistrationInfoArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetIdentityArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetIdentityArgs.cs new file mode 100644 index 000000000000..a4de986134e0 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetIdentityArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + public sealed class ResourceModelWithAllowedPropertySetIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The identity type. + /// + [Input("type")] + public Input? Type { get; set; } + + public ResourceModelWithAllowedPropertySetIdentityArgs() + { + } + public static new ResourceModelWithAllowedPropertySetIdentityArgs Empty => new ResourceModelWithAllowedPropertySetIdentityArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetPlanArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetPlanArgs.cs new file mode 100644 index 000000000000..01ac93e1dfe5 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetPlanArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + public sealed class ResourceModelWithAllowedPropertySetPlanArgs : global::Pulumi.ResourceArgs + { + /// + /// A user defined name of the 3rd Party Artifact that is being procured. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + /// + [Input("product", required: true)] + public Input Product { get; set; } = null!; + + /// + /// A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + /// + [Input("promotionCode")] + public Input? PromotionCode { get; set; } + + /// + /// The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + /// + [Input("publisher", required: true)] + public Input Publisher { get; set; } = null!; + + /// + /// The version of the desired product/artifact. + /// + [Input("version")] + public Input? Version { get; set; } + + public ResourceModelWithAllowedPropertySetPlanArgs() + { + } + public static new ResourceModelWithAllowedPropertySetPlanArgs Empty => new ResourceModelWithAllowedPropertySetPlanArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetSkuArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetSkuArgs.cs new file mode 100644 index 000000000000..921e3b7020db --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ResourceModelWithAllowedPropertySetSkuArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + public sealed class ResourceModelWithAllowedPropertySetSkuArgs : global::Pulumi.ResourceArgs + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + [Input("family")] + public Input? Family { get; set; } + + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + [Input("size")] + public Input? Size { get; set; } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [Input("tier")] + public Input? Tier { get; set; } + + public ResourceModelWithAllowedPropertySetSkuArgs() + { + } + public static new ResourceModelWithAllowedPropertySetSkuArgs Empty => new ResourceModelWithAllowedPropertySetSkuArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ScalingHostPoolReferenceArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ScalingHostPoolReferenceArgs.cs new file mode 100644 index 000000000000..77a74061d3f6 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ScalingHostPoolReferenceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// Scaling plan reference to hostpool. + /// + public sealed class ScalingHostPoolReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// Arm path of referenced hostpool. + /// + [Input("hostPoolArmPath")] + public Input? HostPoolArmPath { get; set; } + + /// + /// Is the scaling plan enabled for this hostpool. + /// + [Input("scalingPlanEnabled")] + public Input? ScalingPlanEnabled { get; set; } + + public ScalingHostPoolReferenceArgs() + { + } + public static new ScalingHostPoolReferenceArgs Empty => new ScalingHostPoolReferenceArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ScalingScheduleArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ScalingScheduleArgs.cs new file mode 100644 index 000000000000..85941eabac33 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/ScalingScheduleArgs.cs @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// A ScalingPlanPooledSchedule. + /// + public sealed class ScalingScheduleArgs : global::Pulumi.ResourceArgs + { + [Input("daysOfWeek")] + private InputList? _daysOfWeek; + + /// + /// Set of days of the week on which this schedule is active. + /// + public InputList DaysOfWeek + { + get => _daysOfWeek ?? (_daysOfWeek = new InputList()); + set => _daysOfWeek = value; + } + + /// + /// Name of the ScalingPlanPooledSchedule. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Load balancing algorithm for off-peak period. + /// + [Input("offPeakLoadBalancingAlgorithm")] + public InputUnion? OffPeakLoadBalancingAlgorithm { get; set; } + + /// + /// Starting time for off-peak period. + /// + [Input("offPeakStartTime")] + public Input? OffPeakStartTime { get; set; } + + /// + /// Load balancing algorithm for peak period. + /// + [Input("peakLoadBalancingAlgorithm")] + public InputUnion? PeakLoadBalancingAlgorithm { get; set; } + + /// + /// Starting time for peak period. + /// + [Input("peakStartTime")] + public Input? PeakStartTime { get; set; } + + /// + /// Capacity threshold for ramp down period. + /// + [Input("rampDownCapacityThresholdPct")] + public Input? RampDownCapacityThresholdPct { get; set; } + + /// + /// Should users be logged off forcefully from hosts. + /// + [Input("rampDownForceLogoffUsers")] + public Input? RampDownForceLogoffUsers { get; set; } + + /// + /// Load balancing algorithm for ramp down period. + /// + [Input("rampDownLoadBalancingAlgorithm")] + public InputUnion? RampDownLoadBalancingAlgorithm { get; set; } + + /// + /// Minimum host percentage for ramp down period. + /// + [Input("rampDownMinimumHostsPct")] + public Input? RampDownMinimumHostsPct { get; set; } + + /// + /// Notification message for users during ramp down period. + /// + [Input("rampDownNotificationMessage")] + public Input? RampDownNotificationMessage { get; set; } + + /// + /// Starting time for ramp down period. + /// + [Input("rampDownStartTime")] + public Input? RampDownStartTime { get; set; } + + /// + /// Specifies when to stop hosts during ramp down period. + /// + [Input("rampDownStopHostsWhen")] + public InputUnion? RampDownStopHostsWhen { get; set; } + + /// + /// Number of minutes to wait to stop hosts during ramp down period. + /// + [Input("rampDownWaitTimeMinutes")] + public Input? RampDownWaitTimeMinutes { get; set; } + + /// + /// Capacity threshold for ramp up period. + /// + [Input("rampUpCapacityThresholdPct")] + public Input? RampUpCapacityThresholdPct { get; set; } + + /// + /// Load balancing algorithm for ramp up period. + /// + [Input("rampUpLoadBalancingAlgorithm")] + public InputUnion? RampUpLoadBalancingAlgorithm { get; set; } + + /// + /// Minimum host percentage for ramp up period. + /// + [Input("rampUpMinimumHostsPct")] + public Input? RampUpMinimumHostsPct { get; set; } + + /// + /// Starting time for ramp up period. + /// + [Input("rampUpStartTime")] + public Input? RampUpStartTime { get; set; } + + public ScalingScheduleArgs() + { + } + public static new ScalingScheduleArgs Empty => new ScalingScheduleArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/TimeArgs.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/TimeArgs.cs new file mode 100644 index 000000000000..92dfd70182c1 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Inputs/TimeArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Inputs +{ + + /// + /// The time for a scaling action to occur. + /// + public sealed class TimeArgs : global::Pulumi.ResourceArgs + { + /// + /// The hour. + /// + [Input("hour", required: true)] + public Input Hour { get; set; } = null!; + + /// + /// The minute. + /// + [Input("minute", required: true)] + public Input Minute { get; set; } = null!; + + public TimeArgs() + { + } + public static new TimeArgs Empty => new TimeArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/MSIXPackage.cs b/sdk/dotnet/DesktopVirtualization/V20230905/MSIXPackage.cs new file mode 100644 index 000000000000..87622b448d59 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/MSIXPackage.cs @@ -0,0 +1,267 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Schema for MSIX Package properties. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:MSIXPackage")] + public partial class MSIXPackage : global::Pulumi.CustomResource + { + /// + /// User friendly Name to be displayed in the portal. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// VHD/CIM image path on Network Share. + /// + [Output("imagePath")] + public Output ImagePath { get; private set; } = null!; + + /// + /// Make this version of the package the active one across the hostpool. + /// + [Output("isActive")] + public Output IsActive { get; private set; } = null!; + + /// + /// Specifies how to register Package in feed. + /// + [Output("isRegularRegistration")] + public Output IsRegularRegistration { get; private set; } = null!; + + /// + /// Date Package was last updated, found in the appxmanifest.xml. + /// + [Output("lastUpdated")] + public Output LastUpdated { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// List of package applications. + /// + [Output("packageApplications")] + public Output> PackageApplications { get; private set; } = null!; + + /// + /// List of package dependencies. + /// + [Output("packageDependencies")] + public Output> PackageDependencies { get; private set; } = null!; + + /// + /// Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + /// + [Output("packageFamilyName")] + public Output PackageFamilyName { get; private set; } = null!; + + /// + /// Package Name from appxmanifest.xml. + /// + [Output("packageName")] + public Output PackageName { get; private set; } = null!; + + /// + /// Relative Path to the package inside the image. + /// + [Output("packageRelativePath")] + public Output PackageRelativePath { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Package Version found in the appxmanifest.xml. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a MSIXPackage 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 MSIXPackage(string name, MSIXPackageArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:MSIXPackage", name, args ?? new MSIXPackageArgs(), MakeResourceOptions(options, "")) + { + } + + private MSIXPackage(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:MSIXPackage", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20200921preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201019preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201102preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201110preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210114preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210201preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210309preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210712:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:MSIXPackage"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:MSIXPackage"}, + }, + }; + 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 MSIXPackage 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. + /// A bag of options that control this resource's behavior + public static MSIXPackage Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MSIXPackage(name, id, options); + } + } + + public sealed class MSIXPackageArgs : global::Pulumi.ResourceArgs + { + /// + /// User friendly Name to be displayed in the portal. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public Input HostPoolName { get; set; } = null!; + + /// + /// VHD/CIM image path on Network Share. + /// + [Input("imagePath")] + public Input? ImagePath { get; set; } + + /// + /// Make this version of the package the active one across the hostpool. + /// + [Input("isActive")] + public Input? IsActive { get; set; } + + /// + /// Specifies how to register Package in feed. + /// + [Input("isRegularRegistration")] + public Input? IsRegularRegistration { get; set; } + + /// + /// Date Package was last updated, found in the appxmanifest.xml. + /// + [Input("lastUpdated")] + public Input? LastUpdated { get; set; } + + /// + /// The version specific package full name of the MSIX package within specified hostpool + /// + [Input("msixPackageFullName")] + public Input? MsixPackageFullName { get; set; } + + [Input("packageApplications")] + private InputList? _packageApplications; + + /// + /// List of package applications. + /// + public InputList PackageApplications + { + get => _packageApplications ?? (_packageApplications = new InputList()); + set => _packageApplications = value; + } + + [Input("packageDependencies")] + private InputList? _packageDependencies; + + /// + /// List of package dependencies. + /// + public InputList PackageDependencies + { + get => _packageDependencies ?? (_packageDependencies = new InputList()); + set => _packageDependencies = value; + } + + /// + /// Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + /// + [Input("packageFamilyName")] + public Input? PackageFamilyName { get; set; } + + /// + /// Package Name from appxmanifest.xml. + /// + [Input("packageName")] + public Input? PackageName { get; set; } + + /// + /// Relative Path to the package inside the image. + /// + [Input("packageRelativePath")] + public Input? PackageRelativePath { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Package Version found in the appxmanifest.xml. + /// + [Input("version")] + public Input? Version { get; set; } + + public MSIXPackageArgs() + { + } + public static new MSIXPackageArgs Empty => new MSIXPackageArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/AgentUpdatePropertiesResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/AgentUpdatePropertiesResponse.cs new file mode 100644 index 000000000000..c1e590d782aa --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/AgentUpdatePropertiesResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// The session host configuration for updating agent, monitoring agent, and stack component. + /// + [OutputType] + public sealed class AgentUpdatePropertiesResponse + { + /// + /// Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + /// + public readonly string? MaintenanceWindowTimeZone; + /// + /// List of maintenance windows. Maintenance windows are 2 hours long. + /// + public readonly ImmutableArray MaintenanceWindows; + /// + /// The type of maintenance for session host components. + /// + public readonly string? Type; + /// + /// Whether to use localTime of the virtual machine. + /// + public readonly bool? UseSessionHostLocalTime; + + [OutputConstructor] + private AgentUpdatePropertiesResponse( + string? maintenanceWindowTimeZone, + + ImmutableArray maintenanceWindows, + + string? type, + + bool? useSessionHostLocalTime) + { + MaintenanceWindowTimeZone = maintenanceWindowTimeZone; + MaintenanceWindows = maintenanceWindows; + Type = type; + UseSessionHostLocalTime = useSessionHostLocalTime; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MaintenanceWindowPropertiesResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MaintenanceWindowPropertiesResponse.cs new file mode 100644 index 000000000000..5a366085de81 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MaintenanceWindowPropertiesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// Maintenance window starting hour and day of week. + /// + [OutputType] + public sealed class MaintenanceWindowPropertiesResponse + { + /// + /// Day of the week. + /// + public readonly string? DayOfWeek; + /// + /// The update start hour of the day. (0 - 23) + /// + public readonly int? Hour; + + [OutputConstructor] + private MaintenanceWindowPropertiesResponse( + string? dayOfWeek, + + int? hour) + { + DayOfWeek = dayOfWeek; + Hour = hour; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MsixPackageApplicationsResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MsixPackageApplicationsResponse.cs new file mode 100644 index 000000000000..c6a45d273505 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MsixPackageApplicationsResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// Schema for MSIX Package Application properties. + /// + [OutputType] + public sealed class MsixPackageApplicationsResponse + { + /// + /// Package Application Id, found in appxmanifest.xml. + /// + public readonly string? AppId; + /// + /// Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + /// + public readonly string? AppUserModelID; + /// + /// Description of Package Application. + /// + public readonly string? Description; + /// + /// User friendly name. + /// + public readonly string? FriendlyName; + /// + /// User friendly name. + /// + public readonly string? IconImageName; + /// + /// the icon a 64 bit string as a byte array. + /// + public readonly string? RawIcon; + /// + /// the icon a 64 bit string as a byte array. + /// + public readonly string? RawPng; + + [OutputConstructor] + private MsixPackageApplicationsResponse( + string? appId, + + string? appUserModelID, + + string? description, + + string? friendlyName, + + string? iconImageName, + + string? rawIcon, + + string? rawPng) + { + AppId = appId; + AppUserModelID = appUserModelID; + Description = description; + FriendlyName = friendlyName; + IconImageName = iconImageName; + RawIcon = rawIcon; + RawPng = rawPng; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MsixPackageDependenciesResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MsixPackageDependenciesResponse.cs new file mode 100644 index 000000000000..7ff0094d61df --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/MsixPackageDependenciesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// Schema for MSIX Package Dependencies properties. + /// + [OutputType] + public sealed class MsixPackageDependenciesResponse + { + /// + /// Name of package dependency. + /// + public readonly string? DependencyName; + /// + /// Dependency version required. + /// + public readonly string? MinVersion; + /// + /// Name of dependency publisher. + /// + public readonly string? Publisher; + + [OutputConstructor] + private MsixPackageDependenciesResponse( + string? dependencyName, + + string? minVersion, + + string? publisher) + { + DependencyName = dependencyName; + MinVersion = minVersion; + Publisher = publisher; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..b76760d4282d --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// The Private Endpoint Connection resource. + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource of private end point. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private endpoint connection resource. + /// + public readonly string ProvisioningState; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + string type) + { + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateEndpointResponse.cs new file mode 100644 index 000000000000..1df52300e1a7 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateEndpointResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// The Private Endpoint resource. + /// + [OutputType] + public sealed class PrivateEndpointResponse + { + /// + /// The ARM identifier for Private Endpoint + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointResponse(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateLinkServiceConnectionStateResponse.cs new file mode 100644 index 000000000000..a20526779874 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/PrivateLinkServiceConnectionStateResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStateResponse + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + public readonly string? ActionsRequired; + /// + /// The reason for approval/rejection of the connection. + /// + public readonly string? Description; + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStateResponse( + string? actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/RegistrationInfoResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/RegistrationInfoResponse.cs new file mode 100644 index 000000000000..edd491304853 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/RegistrationInfoResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// Represents a RegistrationInfo definition. + /// + [OutputType] + public sealed class RegistrationInfoResponse + { + /// + /// Expiration time of registration token. + /// + public readonly string? ExpirationTime; + /// + /// The type of resetting the token. + /// + public readonly string? RegistrationTokenOperation; + /// + /// The registration token base64 encoded string. + /// + public readonly string? Token; + + [OutputConstructor] + private RegistrationInfoResponse( + string? expirationTime, + + string? registrationTokenOperation, + + string? token) + { + ExpirationTime = expirationTime; + RegistrationTokenOperation = registrationTokenOperation; + Token = token; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponseIdentity.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponseIdentity.cs new file mode 100644 index 000000000000..d904af3ddadf --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponseIdentity.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + [OutputType] + public sealed class ResourceModelWithAllowedPropertySetResponseIdentity + { + /// + /// The principal ID of resource identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of resource. + /// + public readonly string TenantId; + /// + /// The identity type. + /// + public readonly string? Type; + + [OutputConstructor] + private ResourceModelWithAllowedPropertySetResponseIdentity( + string principalId, + + string tenantId, + + string? type) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponsePlan.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponsePlan.cs new file mode 100644 index 000000000000..c15e61d07725 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponsePlan.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + [OutputType] + public sealed class ResourceModelWithAllowedPropertySetResponsePlan + { + /// + /// A user defined name of the 3rd Party Artifact that is being procured. + /// + public readonly string Name; + /// + /// The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + /// + public readonly string Product; + /// + /// A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + /// + public readonly string? PromotionCode; + /// + /// The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + /// + public readonly string Publisher; + /// + /// The version of the desired product/artifact. + /// + public readonly string? Version; + + [OutputConstructor] + private ResourceModelWithAllowedPropertySetResponsePlan( + string name, + + string product, + + string? promotionCode, + + string publisher, + + string? version) + { + Name = name; + Product = product; + PromotionCode = promotionCode; + Publisher = publisher; + Version = version; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponseSku.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponseSku.cs new file mode 100644 index 000000000000..b7eecc1b8547 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ResourceModelWithAllowedPropertySetResponseSku.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + [OutputType] + public sealed class ResourceModelWithAllowedPropertySetResponseSku + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + public readonly int? Capacity; + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + public readonly string? Family; + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + public readonly string Name; + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + public readonly string? Size; + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + public readonly string? Tier; + + [OutputConstructor] + private ResourceModelWithAllowedPropertySetResponseSku( + int? capacity, + + string? family, + + string name, + + string? size, + + string? tier) + { + Capacity = capacity; + Family = family; + Name = name; + Size = size; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ScalingHostPoolReferenceResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ScalingHostPoolReferenceResponse.cs new file mode 100644 index 000000000000..cdb74bccec70 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ScalingHostPoolReferenceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// Scaling plan reference to hostpool. + /// + [OutputType] + public sealed class ScalingHostPoolReferenceResponse + { + /// + /// Arm path of referenced hostpool. + /// + public readonly string? HostPoolArmPath; + /// + /// Is the scaling plan enabled for this hostpool. + /// + public readonly bool? ScalingPlanEnabled; + + [OutputConstructor] + private ScalingHostPoolReferenceResponse( + string? hostPoolArmPath, + + bool? scalingPlanEnabled) + { + HostPoolArmPath = hostPoolArmPath; + ScalingPlanEnabled = scalingPlanEnabled; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ScalingScheduleResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ScalingScheduleResponse.cs new file mode 100644 index 000000000000..0411dd44887b --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/ScalingScheduleResponse.cs @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// A ScalingPlanPooledSchedule. + /// + [OutputType] + public sealed class ScalingScheduleResponse + { + /// + /// Set of days of the week on which this schedule is active. + /// + public readonly ImmutableArray DaysOfWeek; + /// + /// Name of the ScalingPlanPooledSchedule. + /// + public readonly string? Name; + /// + /// Load balancing algorithm for off-peak period. + /// + public readonly string? OffPeakLoadBalancingAlgorithm; + /// + /// Starting time for off-peak period. + /// + public readonly Outputs.TimeResponse? OffPeakStartTime; + /// + /// Load balancing algorithm for peak period. + /// + public readonly string? PeakLoadBalancingAlgorithm; + /// + /// Starting time for peak period. + /// + public readonly Outputs.TimeResponse? PeakStartTime; + /// + /// Capacity threshold for ramp down period. + /// + public readonly int? RampDownCapacityThresholdPct; + /// + /// Should users be logged off forcefully from hosts. + /// + public readonly bool? RampDownForceLogoffUsers; + /// + /// Load balancing algorithm for ramp down period. + /// + public readonly string? RampDownLoadBalancingAlgorithm; + /// + /// Minimum host percentage for ramp down period. + /// + public readonly int? RampDownMinimumHostsPct; + /// + /// Notification message for users during ramp down period. + /// + public readonly string? RampDownNotificationMessage; + /// + /// Starting time for ramp down period. + /// + public readonly Outputs.TimeResponse? RampDownStartTime; + /// + /// Specifies when to stop hosts during ramp down period. + /// + public readonly string? RampDownStopHostsWhen; + /// + /// Number of minutes to wait to stop hosts during ramp down period. + /// + public readonly int? RampDownWaitTimeMinutes; + /// + /// Capacity threshold for ramp up period. + /// + public readonly int? RampUpCapacityThresholdPct; + /// + /// Load balancing algorithm for ramp up period. + /// + public readonly string? RampUpLoadBalancingAlgorithm; + /// + /// Minimum host percentage for ramp up period. + /// + public readonly int? RampUpMinimumHostsPct; + /// + /// Starting time for ramp up period. + /// + public readonly Outputs.TimeResponse? RampUpStartTime; + + [OutputConstructor] + private ScalingScheduleResponse( + ImmutableArray daysOfWeek, + + string? name, + + string? offPeakLoadBalancingAlgorithm, + + Outputs.TimeResponse? offPeakStartTime, + + string? peakLoadBalancingAlgorithm, + + Outputs.TimeResponse? peakStartTime, + + int? rampDownCapacityThresholdPct, + + bool? rampDownForceLogoffUsers, + + string? rampDownLoadBalancingAlgorithm, + + int? rampDownMinimumHostsPct, + + string? rampDownNotificationMessage, + + Outputs.TimeResponse? rampDownStartTime, + + string? rampDownStopHostsWhen, + + int? rampDownWaitTimeMinutes, + + int? rampUpCapacityThresholdPct, + + string? rampUpLoadBalancingAlgorithm, + + int? rampUpMinimumHostsPct, + + Outputs.TimeResponse? rampUpStartTime) + { + DaysOfWeek = daysOfWeek; + Name = name; + OffPeakLoadBalancingAlgorithm = offPeakLoadBalancingAlgorithm; + OffPeakStartTime = offPeakStartTime; + PeakLoadBalancingAlgorithm = peakLoadBalancingAlgorithm; + PeakStartTime = peakStartTime; + RampDownCapacityThresholdPct = rampDownCapacityThresholdPct; + RampDownForceLogoffUsers = rampDownForceLogoffUsers; + RampDownLoadBalancingAlgorithm = rampDownLoadBalancingAlgorithm; + RampDownMinimumHostsPct = rampDownMinimumHostsPct; + RampDownNotificationMessage = rampDownNotificationMessage; + RampDownStartTime = rampDownStartTime; + RampDownStopHostsWhen = rampDownStopHostsWhen; + RampDownWaitTimeMinutes = rampDownWaitTimeMinutes; + RampUpCapacityThresholdPct = rampUpCapacityThresholdPct; + RampUpLoadBalancingAlgorithm = rampUpLoadBalancingAlgorithm; + RampUpMinimumHostsPct = rampUpMinimumHostsPct; + RampUpStartTime = rampUpStartTime; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/SystemDataResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..694937f1b5dd --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/TimeResponse.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/TimeResponse.cs new file mode 100644 index 000000000000..c2b89b149175 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Outputs/TimeResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905.Outputs +{ + + /// + /// The time for a scaling action to occur. + /// + [OutputType] + public sealed class TimeResponse + { + /// + /// The hour. + /// + public readonly int Hour; + /// + /// The minute. + /// + public readonly int Minute; + + [OutputConstructor] + private TimeResponse( + int hour, + + int minute) + { + Hour = hour; + Minute = minute; + } + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/PrivateEndpointConnectionByHostPool.cs b/sdk/dotnet/DesktopVirtualization/V20230905/PrivateEndpointConnectionByHostPool.cs new file mode 100644 index 000000000000..17ab196045fe --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/PrivateEndpointConnectionByHostPool.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// The Private Endpoint Connection resource. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool")] + public partial class PrivateEndpointConnectionByHostPool : global::Pulumi.CustomResource + { + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource of private end point. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// The provisioning state of the private endpoint connection resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnectionByHostPool 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 PrivateEndpointConnectionByHostPool(string name, PrivateEndpointConnectionByHostPoolArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool", name, args ?? new PrivateEndpointConnectionByHostPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnectionByHostPool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool"}, + }, + }; + 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 PrivateEndpointConnectionByHostPool 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnectionByHostPool Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnectionByHostPool(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionByHostPoolArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the host pool within the specified resource group + /// + [Input("hostPoolName", required: true)] + public Input HostPoolName { get; set; } = null!; + + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public PrivateEndpointConnectionByHostPoolArgs() + { + } + public static new PrivateEndpointConnectionByHostPoolArgs Empty => new PrivateEndpointConnectionByHostPoolArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/PrivateEndpointConnectionByWorkspace.cs b/sdk/dotnet/DesktopVirtualization/V20230905/PrivateEndpointConnectionByWorkspace.cs new file mode 100644 index 000000000000..cf7072588836 --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/PrivateEndpointConnectionByWorkspace.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// The Private Endpoint Connection resource. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace")] + public partial class PrivateEndpointConnectionByWorkspace : global::Pulumi.CustomResource + { + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource of private end point. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// The provisioning state of the private endpoint connection resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnectionByWorkspace 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 PrivateEndpointConnectionByWorkspace(string name, PrivateEndpointConnectionByWorkspaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace", name, args ?? new PrivateEndpointConnectionByWorkspaceArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnectionByWorkspace(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace"}, + }, + }; + 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 PrivateEndpointConnectionByWorkspace 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnectionByWorkspace Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnectionByWorkspace(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionByWorkspaceArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public PrivateEndpointConnectionByWorkspaceArgs() + { + } + public static new PrivateEndpointConnectionByWorkspaceArgs Empty => new PrivateEndpointConnectionByWorkspaceArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/README.md b/sdk/dotnet/DesktopVirtualization/V20230905/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlan.cs b/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlan.cs new file mode 100644 index 000000000000..9afbb3a2073a --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlan.cs @@ -0,0 +1,295 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Represents a scaling plan definition. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:ScalingPlan")] + public partial class ScalingPlan : global::Pulumi.CustomResource + { + /// + /// Description of scaling plan. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Exclusion tag for scaling plan. + /// + [Output("exclusionTag")] + public Output ExclusionTag { get; private set; } = null!; + + /// + /// User friendly name of scaling plan. + /// + [Output("friendlyName")] + public Output FriendlyName { get; private set; } = null!; + + /// + /// List of ScalingHostPoolReference definitions. + /// + [Output("hostPoolReferences")] + public Output> HostPoolReferences { get; private set; } = null!; + + /// + /// HostPool type for desktop. + /// + [Output("hostPoolType")] + public Output HostPoolType { get; private set; } = null!; + + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Output("managedBy")] + public Output ManagedBy { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ObjectId of scaling plan. (internal use) + /// + [Output("objectId")] + public Output ObjectId { get; private set; } = null!; + + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// List of ScalingPlanPooledSchedule definitions. + /// + [Output("schedules")] + public Output> Schedules { get; private set; } = null!; + + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Timezone of the scaling plan. + /// + [Output("timeZone")] + public Output TimeZone { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ScalingPlan 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 ScalingPlan(string name, ScalingPlanArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ScalingPlan", name, args ?? new ScalingPlanArgs(), MakeResourceOptions(options, "")) + { + } + + private ScalingPlan(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ScalingPlan", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201110preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210114preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210201preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210309preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210712:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlan"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlan"}, + }, + }; + 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 ScalingPlan 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. + /// A bag of options that control this resource's behavior + public static ScalingPlan Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ScalingPlan(name, id, options); + } + } + + public sealed class ScalingPlanArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of scaling plan. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Exclusion tag for scaling plan. + /// + [Input("exclusionTag")] + public Input? ExclusionTag { get; set; } + + /// + /// User friendly name of scaling plan. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + [Input("hostPoolReferences")] + private InputList? _hostPoolReferences; + + /// + /// List of ScalingHostPoolReference definitions. + /// + public InputList HostPoolReferences + { + get => _hostPoolReferences ?? (_hostPoolReferences = new InputList()); + set => _hostPoolReferences = value; + } + + /// + /// HostPool type for desktop. + /// + [Input("hostPoolType")] + public InputUnion? HostPoolType { get; set; } + + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Input("managedBy")] + public Input? ManagedBy { get; set; } + + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName")] + public Input? ScalingPlanName { get; set; } + + [Input("schedules")] + private InputList? _schedules; + + /// + /// List of ScalingPlanPooledSchedule definitions. + /// + public InputList Schedules + { + get => _schedules ?? (_schedules = new InputList()); + set => _schedules = value; + } + + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Timezone of the scaling plan. + /// + [Input("timeZone", required: true)] + public Input TimeZone { get; set; } = null!; + + public ScalingPlanArgs() + { + HostPoolType = "Pooled"; + } + public static new ScalingPlanArgs Empty => new ScalingPlanArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlanPersonalSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlanPersonalSchedule.cs new file mode 100644 index 000000000000..bff06f1e3a2a --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlanPersonalSchedule.cs @@ -0,0 +1,431 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Represents a ScalingPlanPersonalSchedule definition. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule")] + public partial class ScalingPlanPersonalSchedule : global::Pulumi.CustomResource + { + /// + /// Set of days of the week on which this schedule is active. + /// + [Output("daysOfWeek")] + public Output> DaysOfWeek { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Action to be taken after a user disconnect during the off-peak period. + /// + [Output("offPeakActionOnDisconnect")] + public Output OffPeakActionOnDisconnect { get; private set; } = null!; + + /// + /// Action to be taken after a logoff during the off-peak period. + /// + [Output("offPeakActionOnLogoff")] + public Output OffPeakActionOnLogoff { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + /// + [Output("offPeakMinutesToWaitOnDisconnect")] + public Output OffPeakMinutesToWaitOnDisconnect { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + /// + [Output("offPeakMinutesToWaitOnLogoff")] + public Output OffPeakMinutesToWaitOnLogoff { get; private set; } = null!; + + /// + /// Starting time for off-peak period. + /// + [Output("offPeakStartTime")] + public Output OffPeakStartTime { get; private set; } = null!; + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + /// + [Output("offPeakStartVMOnConnect")] + public Output OffPeakStartVMOnConnect { get; private set; } = null!; + + /// + /// Action to be taken after a user disconnect during the peak period. + /// + [Output("peakActionOnDisconnect")] + public Output PeakActionOnDisconnect { get; private set; } = null!; + + /// + /// Action to be taken after a logoff during the peak period. + /// + [Output("peakActionOnLogoff")] + public Output PeakActionOnLogoff { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + /// + [Output("peakMinutesToWaitOnDisconnect")] + public Output PeakMinutesToWaitOnDisconnect { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + /// + [Output("peakMinutesToWaitOnLogoff")] + public Output PeakMinutesToWaitOnLogoff { get; private set; } = null!; + + /// + /// Starting time for peak period. + /// + [Output("peakStartTime")] + public Output PeakStartTime { get; private set; } = null!; + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the peak phase. + /// + [Output("peakStartVMOnConnect")] + public Output PeakStartVMOnConnect { get; private set; } = null!; + + /// + /// Action to be taken after a user disconnect during the ramp down period. + /// + [Output("rampDownActionOnDisconnect")] + public Output RampDownActionOnDisconnect { get; private set; } = null!; + + /// + /// Action to be taken after a logoff during the ramp down period. + /// + [Output("rampDownActionOnLogoff")] + public Output RampDownActionOnLogoff { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + /// + [Output("rampDownMinutesToWaitOnDisconnect")] + public Output RampDownMinutesToWaitOnDisconnect { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + /// + [Output("rampDownMinutesToWaitOnLogoff")] + public Output RampDownMinutesToWaitOnLogoff { get; private set; } = null!; + + /// + /// Starting time for ramp down period. + /// + [Output("rampDownStartTime")] + public Output RampDownStartTime { get; private set; } = null!; + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + /// + [Output("rampDownStartVMOnConnect")] + public Output RampDownStartVMOnConnect { get; private set; } = null!; + + /// + /// Action to be taken after a user disconnect during the ramp up period. + /// + [Output("rampUpActionOnDisconnect")] + public Output RampUpActionOnDisconnect { get; private set; } = null!; + + /// + /// Action to be taken after a logoff during the ramp up period. + /// + [Output("rampUpActionOnLogoff")] + public Output RampUpActionOnLogoff { get; private set; } = null!; + + /// + /// The desired startup behavior during the ramp up period for personal vms in the hostpool. + /// + [Output("rampUpAutoStartHosts")] + public Output RampUpAutoStartHosts { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + /// + [Output("rampUpMinutesToWaitOnDisconnect")] + public Output RampUpMinutesToWaitOnDisconnect { get; private set; } = null!; + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + /// + [Output("rampUpMinutesToWaitOnLogoff")] + public Output RampUpMinutesToWaitOnLogoff { get; private set; } = null!; + + /// + /// Starting time for ramp up period. + /// + [Output("rampUpStartTime")] + public Output RampUpStartTime { get; private set; } = null!; + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + /// + [Output("rampUpStartVMOnConnect")] + public Output RampUpStartVMOnConnect { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ScalingPlanPersonalSchedule 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 ScalingPlanPersonalSchedule(string name, ScalingPlanPersonalScheduleArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule", name, args ?? new ScalingPlanPersonalScheduleArgs(), MakeResourceOptions(options, "")) + { + } + + private ScalingPlanPersonalSchedule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:ScalingPlanPersonalSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule"}, + }, + }; + 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 ScalingPlanPersonalSchedule 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. + /// A bag of options that control this resource's behavior + public static ScalingPlanPersonalSchedule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ScalingPlanPersonalSchedule(name, id, options); + } + } + + public sealed class ScalingPlanPersonalScheduleArgs : global::Pulumi.ResourceArgs + { + [Input("daysOfWeek")] + private InputList>? _daysOfWeek; + + /// + /// Set of days of the week on which this schedule is active. + /// + public InputList> DaysOfWeek + { + get => _daysOfWeek ?? (_daysOfWeek = new InputList>()); + set => _daysOfWeek = value; + } + + /// + /// Action to be taken after a user disconnect during the off-peak period. + /// + [Input("offPeakActionOnDisconnect")] + public InputUnion? OffPeakActionOnDisconnect { get; set; } + + /// + /// Action to be taken after a logoff during the off-peak period. + /// + [Input("offPeakActionOnLogoff")] + public InputUnion? OffPeakActionOnLogoff { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + /// + [Input("offPeakMinutesToWaitOnDisconnect")] + public Input? OffPeakMinutesToWaitOnDisconnect { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + /// + [Input("offPeakMinutesToWaitOnLogoff")] + public Input? OffPeakMinutesToWaitOnLogoff { get; set; } + + /// + /// Starting time for off-peak period. + /// + [Input("offPeakStartTime")] + public Input? OffPeakStartTime { get; set; } + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + /// + [Input("offPeakStartVMOnConnect")] + public InputUnion? OffPeakStartVMOnConnect { get; set; } + + /// + /// Action to be taken after a user disconnect during the peak period. + /// + [Input("peakActionOnDisconnect")] + public InputUnion? PeakActionOnDisconnect { get; set; } + + /// + /// Action to be taken after a logoff during the peak period. + /// + [Input("peakActionOnLogoff")] + public InputUnion? PeakActionOnLogoff { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + /// + [Input("peakMinutesToWaitOnDisconnect")] + public Input? PeakMinutesToWaitOnDisconnect { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + /// + [Input("peakMinutesToWaitOnLogoff")] + public Input? PeakMinutesToWaitOnLogoff { get; set; } + + /// + /// Starting time for peak period. + /// + [Input("peakStartTime")] + public Input? PeakStartTime { get; set; } + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the peak phase. + /// + [Input("peakStartVMOnConnect")] + public InputUnion? PeakStartVMOnConnect { get; set; } + + /// + /// Action to be taken after a user disconnect during the ramp down period. + /// + [Input("rampDownActionOnDisconnect")] + public InputUnion? RampDownActionOnDisconnect { get; set; } + + /// + /// Action to be taken after a logoff during the ramp down period. + /// + [Input("rampDownActionOnLogoff")] + public InputUnion? RampDownActionOnLogoff { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + /// + [Input("rampDownMinutesToWaitOnDisconnect")] + public Input? RampDownMinutesToWaitOnDisconnect { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + /// + [Input("rampDownMinutesToWaitOnLogoff")] + public Input? RampDownMinutesToWaitOnLogoff { get; set; } + + /// + /// Starting time for ramp down period. + /// + [Input("rampDownStartTime")] + public Input? RampDownStartTime { get; set; } + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + /// + [Input("rampDownStartVMOnConnect")] + public InputUnion? RampDownStartVMOnConnect { get; set; } + + /// + /// Action to be taken after a user disconnect during the ramp up period. + /// + [Input("rampUpActionOnDisconnect")] + public InputUnion? RampUpActionOnDisconnect { get; set; } + + /// + /// Action to be taken after a logoff during the ramp up period. + /// + [Input("rampUpActionOnLogoff")] + public InputUnion? RampUpActionOnLogoff { get; set; } + + /// + /// The desired startup behavior during the ramp up period for personal vms in the hostpool. + /// + [Input("rampUpAutoStartHosts")] + public InputUnion? RampUpAutoStartHosts { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + /// + [Input("rampUpMinutesToWaitOnDisconnect")] + public Input? RampUpMinutesToWaitOnDisconnect { get; set; } + + /// + /// The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + /// + [Input("rampUpMinutesToWaitOnLogoff")] + public Input? RampUpMinutesToWaitOnLogoff { get; set; } + + /// + /// Starting time for ramp up period. + /// + [Input("rampUpStartTime")] + public Input? RampUpStartTime { get; set; } + + /// + /// The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + /// + [Input("rampUpStartVMOnConnect")] + public InputUnion? RampUpStartVMOnConnect { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public Input ScalingPlanName { get; set; } = null!; + + /// + /// The name of the ScalingPlanSchedule + /// + [Input("scalingPlanScheduleName")] + public Input? ScalingPlanScheduleName { get; set; } + + public ScalingPlanPersonalScheduleArgs() + { + OffPeakStartVMOnConnect = "Enable"; + PeakStartVMOnConnect = "Enable"; + RampDownStartVMOnConnect = "Enable"; + RampUpStartVMOnConnect = "Enable"; + } + public static new ScalingPlanPersonalScheduleArgs Empty => new ScalingPlanPersonalScheduleArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlanPooledSchedule.cs b/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlanPooledSchedule.cs new file mode 100644 index 000000000000..f5a0ebcc44ba --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/ScalingPlanPooledSchedule.cs @@ -0,0 +1,322 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Represents a ScalingPlanPooledSchedule definition. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule")] + public partial class ScalingPlanPooledSchedule : global::Pulumi.CustomResource + { + /// + /// Set of days of the week on which this schedule is active. + /// + [Output("daysOfWeek")] + public Output> DaysOfWeek { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Load balancing algorithm for off-peak period. + /// + [Output("offPeakLoadBalancingAlgorithm")] + public Output OffPeakLoadBalancingAlgorithm { get; private set; } = null!; + + /// + /// Starting time for off-peak period. + /// + [Output("offPeakStartTime")] + public Output OffPeakStartTime { get; private set; } = null!; + + /// + /// Load balancing algorithm for peak period. + /// + [Output("peakLoadBalancingAlgorithm")] + public Output PeakLoadBalancingAlgorithm { get; private set; } = null!; + + /// + /// Starting time for peak period. + /// + [Output("peakStartTime")] + public Output PeakStartTime { get; private set; } = null!; + + /// + /// Capacity threshold for ramp down period. + /// + [Output("rampDownCapacityThresholdPct")] + public Output RampDownCapacityThresholdPct { get; private set; } = null!; + + /// + /// Should users be logged off forcefully from hosts. + /// + [Output("rampDownForceLogoffUsers")] + public Output RampDownForceLogoffUsers { get; private set; } = null!; + + /// + /// Load balancing algorithm for ramp down period. + /// + [Output("rampDownLoadBalancingAlgorithm")] + public Output RampDownLoadBalancingAlgorithm { get; private set; } = null!; + + /// + /// Minimum host percentage for ramp down period. + /// + [Output("rampDownMinimumHostsPct")] + public Output RampDownMinimumHostsPct { get; private set; } = null!; + + /// + /// Notification message for users during ramp down period. + /// + [Output("rampDownNotificationMessage")] + public Output RampDownNotificationMessage { get; private set; } = null!; + + /// + /// Starting time for ramp down period. + /// + [Output("rampDownStartTime")] + public Output RampDownStartTime { get; private set; } = null!; + + /// + /// Specifies when to stop hosts during ramp down period. + /// + [Output("rampDownStopHostsWhen")] + public Output RampDownStopHostsWhen { get; private set; } = null!; + + /// + /// Number of minutes to wait to stop hosts during ramp down period. + /// + [Output("rampDownWaitTimeMinutes")] + public Output RampDownWaitTimeMinutes { get; private set; } = null!; + + /// + /// Capacity threshold for ramp up period. + /// + [Output("rampUpCapacityThresholdPct")] + public Output RampUpCapacityThresholdPct { get; private set; } = null!; + + /// + /// Load balancing algorithm for ramp up period. + /// + [Output("rampUpLoadBalancingAlgorithm")] + public Output RampUpLoadBalancingAlgorithm { get; private set; } = null!; + + /// + /// Minimum host percentage for ramp up period. + /// + [Output("rampUpMinimumHostsPct")] + public Output RampUpMinimumHostsPct { get; private set; } = null!; + + /// + /// Starting time for ramp up period. + /// + [Output("rampUpStartTime")] + public Output RampUpStartTime { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ScalingPlanPooledSchedule 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 ScalingPlanPooledSchedule(string name, ScalingPlanPooledScheduleArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule", name, args ?? new ScalingPlanPooledScheduleArgs(), MakeResourceOptions(options, "")) + { + } + + private ScalingPlanPooledSchedule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"}, + }, + }; + 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 ScalingPlanPooledSchedule 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. + /// A bag of options that control this resource's behavior + public static ScalingPlanPooledSchedule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ScalingPlanPooledSchedule(name, id, options); + } + } + + public sealed class ScalingPlanPooledScheduleArgs : global::Pulumi.ResourceArgs + { + [Input("daysOfWeek")] + private InputList>? _daysOfWeek; + + /// + /// Set of days of the week on which this schedule is active. + /// + public InputList> DaysOfWeek + { + get => _daysOfWeek ?? (_daysOfWeek = new InputList>()); + set => _daysOfWeek = value; + } + + /// + /// Load balancing algorithm for off-peak period. + /// + [Input("offPeakLoadBalancingAlgorithm")] + public InputUnion? OffPeakLoadBalancingAlgorithm { get; set; } + + /// + /// Starting time for off-peak period. + /// + [Input("offPeakStartTime")] + public Input? OffPeakStartTime { get; set; } + + /// + /// Load balancing algorithm for peak period. + /// + [Input("peakLoadBalancingAlgorithm")] + public InputUnion? PeakLoadBalancingAlgorithm { get; set; } + + /// + /// Starting time for peak period. + /// + [Input("peakStartTime")] + public Input? PeakStartTime { get; set; } + + /// + /// Capacity threshold for ramp down period. + /// + [Input("rampDownCapacityThresholdPct")] + public Input? RampDownCapacityThresholdPct { get; set; } + + /// + /// Should users be logged off forcefully from hosts. + /// + [Input("rampDownForceLogoffUsers")] + public Input? RampDownForceLogoffUsers { get; set; } + + /// + /// Load balancing algorithm for ramp down period. + /// + [Input("rampDownLoadBalancingAlgorithm")] + public InputUnion? RampDownLoadBalancingAlgorithm { get; set; } + + /// + /// Minimum host percentage for ramp down period. + /// + [Input("rampDownMinimumHostsPct")] + public Input? RampDownMinimumHostsPct { get; set; } + + /// + /// Notification message for users during ramp down period. + /// + [Input("rampDownNotificationMessage")] + public Input? RampDownNotificationMessage { get; set; } + + /// + /// Starting time for ramp down period. + /// + [Input("rampDownStartTime")] + public Input? RampDownStartTime { get; set; } + + /// + /// Specifies when to stop hosts during ramp down period. + /// + [Input("rampDownStopHostsWhen")] + public InputUnion? RampDownStopHostsWhen { get; set; } + + /// + /// Number of minutes to wait to stop hosts during ramp down period. + /// + [Input("rampDownWaitTimeMinutes")] + public Input? RampDownWaitTimeMinutes { get; set; } + + /// + /// Capacity threshold for ramp up period. + /// + [Input("rampUpCapacityThresholdPct")] + public Input? RampUpCapacityThresholdPct { get; set; } + + /// + /// Load balancing algorithm for ramp up period. + /// + [Input("rampUpLoadBalancingAlgorithm")] + public InputUnion? RampUpLoadBalancingAlgorithm { get; set; } + + /// + /// Minimum host percentage for ramp up period. + /// + [Input("rampUpMinimumHostsPct")] + public Input? RampUpMinimumHostsPct { get; set; } + + /// + /// Starting time for ramp up period. + /// + [Input("rampUpStartTime")] + public Input? RampUpStartTime { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the scaling plan. + /// + [Input("scalingPlanName", required: true)] + public Input ScalingPlanName { get; set; } = null!; + + /// + /// The name of the ScalingPlanSchedule + /// + [Input("scalingPlanScheduleName")] + public Input? ScalingPlanScheduleName { get; set; } + + public ScalingPlanPooledScheduleArgs() + { + } + public static new ScalingPlanPooledScheduleArgs Empty => new ScalingPlanPooledScheduleArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/V20230905/Workspace.cs b/sdk/dotnet/DesktopVirtualization/V20230905/Workspace.cs new file mode 100644 index 000000000000..65c62c36ff5b --- /dev/null +++ b/sdk/dotnet/DesktopVirtualization/V20230905/Workspace.cs @@ -0,0 +1,270 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DesktopVirtualization.V20230905 +{ + /// + /// Represents a Workspace definition. + /// + [AzureNativeResourceType("azure-native:desktopvirtualization/v20230905:Workspace")] + public partial class Workspace : global::Pulumi.CustomResource + { + /// + /// List of applicationGroup resource Ids. + /// + [Output("applicationGroupReferences")] + public Output> ApplicationGroupReferences { get; private set; } = null!; + + /// + /// Is cloud pc resource. + /// + [Output("cloudPcResource")] + public Output CloudPcResource { get; private set; } = null!; + + /// + /// Description of Workspace. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Friendly name of Workspace. + /// + [Output("friendlyName")] + public Output FriendlyName { get; private set; } = null!; + + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Output("managedBy")] + public Output ManagedBy { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// ObjectId of Workspace. (internal use) + /// + [Output("objectId")] + public Output ObjectId { get; private set; } = null!; + + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// List of private endpoint connection associated with the specified resource + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Workspace 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 Workspace(string name, WorkspaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:Workspace", name, args ?? new WorkspaceArgs(), MakeResourceOptions(options, "")) + { + } + + private Workspace(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:desktopvirtualization/v20230905:Workspace", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190123preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20190924preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20191210preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20200921preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201019preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201102preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20201110preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210114preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210201preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210309preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210401preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210712:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20210903preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220210preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220401preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Workspace"}, + }, + }; + 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 Workspace 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. + /// A bag of options that control this resource's behavior + public static Workspace Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Workspace(name, id, options); + } + } + + public sealed class WorkspaceArgs : global::Pulumi.ResourceArgs + { + [Input("applicationGroupReferences")] + private InputList? _applicationGroupReferences; + + /// + /// List of applicationGroup resource Ids. + /// + public InputList ApplicationGroupReferences + { + get => _applicationGroupReferences ?? (_applicationGroupReferences = new InputList()); + set => _applicationGroupReferences = value; + } + + /// + /// Description of Workspace. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Friendly name of Workspace. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + /// + [Input("managedBy")] + public Input? ManagedBy { get; set; } + + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// The name of the workspace + /// + [Input("workspaceName")] + public Input? WorkspaceName { get; set; } + + public WorkspaceArgs() + { + } + public static new WorkspaceArgs Empty => new WorkspaceArgs(); + } +} diff --git a/sdk/dotnet/DesktopVirtualization/Workspace.cs b/sdk/dotnet/DesktopVirtualization/Workspace.cs index 060d4838e08b..d8baa70f90e7 100644 --- a/sdk/dotnet/DesktopVirtualization/Workspace.cs +++ b/sdk/dotnet/DesktopVirtualization/Workspace.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20220909:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20221014preview:Workspace"}, new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230707preview:Workspace"}, + new global::Pulumi.Alias { Type = "azure-native:desktopvirtualization/v20230905:Workspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/AttachedNetworkByDevCenter.cs b/sdk/dotnet/DevCenter/AttachedNetworkByDevCenter.cs index 6dc604feff6b..a51d1955a4d9 100644 --- a/sdk/dotnet/DevCenter/AttachedNetworkByDevCenter.cs +++ b/sdk/dotnet/DevCenter/AttachedNetworkByDevCenter.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/Catalog.cs b/sdk/dotnet/DevCenter/Catalog.cs index 7bcd1751244c..7d35e04235bf 100644 --- a/sdk/dotnet/DevCenter/Catalog.cs +++ b/sdk/dotnet/DevCenter/Catalog.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Catalog"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Catalog"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Catalog"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/DevBoxDefinition.cs b/sdk/dotnet/DevCenter/DevBoxDefinition.cs index 924d0d12f5e3..9c008e91e048 100644 --- a/sdk/dotnet/DevCenter/DevBoxDefinition.cs +++ b/sdk/dotnet/DevCenter/DevBoxDefinition.cs @@ -125,6 +125,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:DevBoxDefinition"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevBoxDefinition"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:DevBoxDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/DevCenter.cs b/sdk/dotnet/DevCenter/DevCenter.cs index 870524348a51..e9ecd0b195d1 100644 --- a/sdk/dotnet/DevCenter/DevCenter.cs +++ b/sdk/dotnet/DevCenter/DevCenter.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:DevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:DevCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/EnvironmentType.cs b/sdk/dotnet/DevCenter/EnvironmentType.cs index 03b88874a2a9..fc0fd4eb2216 100644 --- a/sdk/dotnet/DevCenter/EnvironmentType.cs +++ b/sdk/dotnet/DevCenter/EnvironmentType.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:EnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:EnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:EnvironmentType"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/Gallery.cs b/sdk/dotnet/DevCenter/Gallery.cs index 6c597ed5dd6f..0a1ff7e46961 100644 --- a/sdk/dotnet/DevCenter/Gallery.cs +++ b/sdk/dotnet/DevCenter/Gallery.cs @@ -77,6 +77,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Gallery"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Gallery"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Gallery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/GetCatalogDevBoxDefinitionErrorDetails.cs b/sdk/dotnet/DevCenter/GetCatalogDevBoxDefinitionErrorDetails.cs new file mode 100644 index 000000000000..529a9b73824c --- /dev/null +++ b/sdk/dotnet/DevCenter/GetCatalogDevBoxDefinitionErrorDetails.cs @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter +{ + public static class GetCatalogDevBoxDefinitionErrorDetails + { + /// + /// Gets Catalog Devbox Definition error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Task InvokeAsync(GetCatalogDevBoxDefinitionErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter:getCatalogDevBoxDefinitionErrorDetails", args ?? new GetCatalogDevBoxDefinitionErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets Catalog Devbox Definition error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Output Invoke(GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter:getCatalogDevBoxDefinitionErrorDetails", args ?? new GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCatalogDevBoxDefinitionErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName", required: true)] + public string DevBoxDefinitionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCatalogDevBoxDefinitionErrorDetailsArgs() + { + } + public static new GetCatalogDevBoxDefinitionErrorDetailsArgs Empty => new GetCatalogDevBoxDefinitionErrorDetailsArgs(); + } + + public sealed class GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName", required: true)] + public Input DevBoxDefinitionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs() + { + } + public static new GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs Empty => new GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetCatalogDevBoxDefinitionErrorDetailsResult + { + /// + /// Errors associated with resources synchronized from the catalog. + /// + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetCatalogDevBoxDefinitionErrorDetailsResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/DevCenter/GetCatalogSyncErrorDetails.cs b/sdk/dotnet/DevCenter/GetCatalogSyncErrorDetails.cs new file mode 100644 index 000000000000..38de8da8e896 --- /dev/null +++ b/sdk/dotnet/DevCenter/GetCatalogSyncErrorDetails.cs @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter +{ + public static class GetCatalogSyncErrorDetails + { + /// + /// Gets catalog synchronization error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Task InvokeAsync(GetCatalogSyncErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter:getCatalogSyncErrorDetails", args ?? new GetCatalogSyncErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets catalog synchronization error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Output Invoke(GetCatalogSyncErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter:getCatalogSyncErrorDetails", args ?? new GetCatalogSyncErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCatalogSyncErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCatalogSyncErrorDetailsArgs() + { + } + public static new GetCatalogSyncErrorDetailsArgs Empty => new GetCatalogSyncErrorDetailsArgs(); + } + + public sealed class GetCatalogSyncErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCatalogSyncErrorDetailsInvokeArgs() + { + } + public static new GetCatalogSyncErrorDetailsInvokeArgs Empty => new GetCatalogSyncErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetCatalogSyncErrorDetailsResult + { + /// + /// Catalog items that have conflicting names. + /// + public readonly ImmutableArray Conflicts; + /// + /// Errors that occured during synchronization. + /// + public readonly ImmutableArray Errors; + /// + /// Error information for the overall synchronization operation. + /// + public readonly Outputs.CatalogErrorDetailsResponse OperationError; + + [OutputConstructor] + private GetCatalogSyncErrorDetailsResult( + ImmutableArray conflicts, + + ImmutableArray errors, + + Outputs.CatalogErrorDetailsResponse operationError) + { + Conflicts = conflicts; + Errors = errors; + OperationError = operationError; + } + } +} diff --git a/sdk/dotnet/DevCenter/GetCustomizationTaskErrorDetails.cs b/sdk/dotnet/DevCenter/GetCustomizationTaskErrorDetails.cs new file mode 100644 index 000000000000..5b5ddf0a1ca6 --- /dev/null +++ b/sdk/dotnet/DevCenter/GetCustomizationTaskErrorDetails.cs @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter +{ + public static class GetCustomizationTaskErrorDetails + { + /// + /// Gets Customization Task error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Task InvokeAsync(GetCustomizationTaskErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter:getCustomizationTaskErrorDetails", args ?? new GetCustomizationTaskErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets Customization Task error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Output Invoke(GetCustomizationTaskErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter:getCustomizationTaskErrorDetails", args ?? new GetCustomizationTaskErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCustomizationTaskErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Task. + /// + [Input("taskName", required: true)] + public string TaskName { get; set; } = null!; + + public GetCustomizationTaskErrorDetailsArgs() + { + } + public static new GetCustomizationTaskErrorDetailsArgs Empty => new GetCustomizationTaskErrorDetailsArgs(); + } + + public sealed class GetCustomizationTaskErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Task. + /// + [Input("taskName", required: true)] + public Input TaskName { get; set; } = null!; + + public GetCustomizationTaskErrorDetailsInvokeArgs() + { + } + public static new GetCustomizationTaskErrorDetailsInvokeArgs Empty => new GetCustomizationTaskErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetCustomizationTaskErrorDetailsResult + { + /// + /// Errors associated with resources synchronized from the catalog. + /// + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetCustomizationTaskErrorDetailsResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/DevCenter/GetEnvironmentDefinitionErrorDetails.cs b/sdk/dotnet/DevCenter/GetEnvironmentDefinitionErrorDetails.cs new file mode 100644 index 000000000000..b999949c71b6 --- /dev/null +++ b/sdk/dotnet/DevCenter/GetEnvironmentDefinitionErrorDetails.cs @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter +{ + public static class GetEnvironmentDefinitionErrorDetails + { + /// + /// Gets Environment Definition error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Task InvokeAsync(GetEnvironmentDefinitionErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter:getEnvironmentDefinitionErrorDetails", args ?? new GetEnvironmentDefinitionErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets Environment Definition error details + /// Azure REST API version: 2023-08-01-preview. + /// + public static Output Invoke(GetEnvironmentDefinitionErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter:getEnvironmentDefinitionErrorDetails", args ?? new GetEnvironmentDefinitionErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEnvironmentDefinitionErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the Environment Definition. + /// + [Input("environmentDefinitionName", required: true)] + public string EnvironmentDefinitionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetEnvironmentDefinitionErrorDetailsArgs() + { + } + public static new GetEnvironmentDefinitionErrorDetailsArgs Empty => new GetEnvironmentDefinitionErrorDetailsArgs(); + } + + public sealed class GetEnvironmentDefinitionErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the Environment Definition. + /// + [Input("environmentDefinitionName", required: true)] + public Input EnvironmentDefinitionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetEnvironmentDefinitionErrorDetailsInvokeArgs() + { + } + public static new GetEnvironmentDefinitionErrorDetailsInvokeArgs Empty => new GetEnvironmentDefinitionErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetEnvironmentDefinitionErrorDetailsResult + { + /// + /// Errors associated with resources synchronized from the catalog. + /// + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetEnvironmentDefinitionErrorDetailsResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/DevCenter/NetworkConnection.cs b/sdk/dotnet/DevCenter/NetworkConnection.cs index f1bd8361b33a..75a00aaaf4dc 100644 --- a/sdk/dotnet/DevCenter/NetworkConnection.cs +++ b/sdk/dotnet/DevCenter/NetworkConnection.cs @@ -131,6 +131,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:NetworkConnection"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:NetworkConnection"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:NetworkConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/Outputs/CatalogConflictErrorResponse.cs b/sdk/dotnet/DevCenter/Outputs/CatalogConflictErrorResponse.cs new file mode 100644 index 000000000000..c6b55e72949f --- /dev/null +++ b/sdk/dotnet/DevCenter/Outputs/CatalogConflictErrorResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.Outputs +{ + + /// + /// An individual conflict error. + /// + [OutputType] + public sealed class CatalogConflictErrorResponse + { + /// + /// Name of the conflicting catalog item. + /// + public readonly string Name; + /// + /// The path of the file that has a conflicting name. + /// + public readonly string Path; + + [OutputConstructor] + private CatalogConflictErrorResponse( + string name, + + string path) + { + Name = name; + Path = path; + } + } +} diff --git a/sdk/dotnet/DevCenter/Outputs/CatalogErrorDetailsResponse.cs b/sdk/dotnet/DevCenter/Outputs/CatalogErrorDetailsResponse.cs new file mode 100644 index 000000000000..3fb0c6395d17 --- /dev/null +++ b/sdk/dotnet/DevCenter/Outputs/CatalogErrorDetailsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.Outputs +{ + + /// + /// Catalog error details + /// + [OutputType] + public sealed class CatalogErrorDetailsResponse + { + /// + /// An identifier for the error. + /// + public readonly string? Code; + /// + /// A message describing the error. + /// + public readonly string? Message; + + [OutputConstructor] + private CatalogErrorDetailsResponse( + string? code, + + string? message) + { + Code = code; + Message = message; + } + } +} diff --git a/sdk/dotnet/DevCenter/Outputs/CatalogSyncErrorResponse.cs b/sdk/dotnet/DevCenter/Outputs/CatalogSyncErrorResponse.cs new file mode 100644 index 000000000000..4389974de49d --- /dev/null +++ b/sdk/dotnet/DevCenter/Outputs/CatalogSyncErrorResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.Outputs +{ + + /// + /// An individual synchronization error. + /// + [OutputType] + public sealed class CatalogSyncErrorResponse + { + /// + /// Errors associated with the file. + /// + public readonly ImmutableArray ErrorDetails; + /// + /// The path of the file the error is associated with. + /// + public readonly string Path; + + [OutputConstructor] + private CatalogSyncErrorResponse( + ImmutableArray errorDetails, + + string path) + { + ErrorDetails = errorDetails; + Path = path; + } + } +} diff --git a/sdk/dotnet/DevCenter/Pool.cs b/sdk/dotnet/DevCenter/Pool.cs index ad2d88add469..6ad576fa1250 100644 --- a/sdk/dotnet/DevCenter/Pool.cs +++ b/sdk/dotnet/DevCenter/Pool.cs @@ -125,6 +125,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Pool"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Pool"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Pool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/Project.cs b/sdk/dotnet/DevCenter/Project.cs index 89ca1031c620..b07c8610afee 100644 --- a/sdk/dotnet/DevCenter/Project.cs +++ b/sdk/dotnet/DevCenter/Project.cs @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Project"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Project"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Project"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/ProjectEnvironmentType.cs b/sdk/dotnet/DevCenter/ProjectEnvironmentType.cs index 8ab8cfb35622..be3a5c25e2ed 100644 --- a/sdk/dotnet/DevCenter/ProjectEnvironmentType.cs +++ b/sdk/dotnet/DevCenter/ProjectEnvironmentType.cs @@ -113,6 +113,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:ProjectEnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:ProjectEnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:ProjectEnvironmentType"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/Schedule.cs b/sdk/dotnet/DevCenter/Schedule.cs index d45c8f016859..b5711d8edcba 100644 --- a/sdk/dotnet/DevCenter/Schedule.cs +++ b/sdk/dotnet/DevCenter/Schedule.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Schedule"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Schedule"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Schedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20221111Preview/DevBoxDefinition.cs b/sdk/dotnet/DevCenter/V20221111Preview/DevBoxDefinition.cs index e343a4af6ed9..32f6bb73b26d 100644 --- a/sdk/dotnet/DevCenter/V20221111Preview/DevBoxDefinition.cs +++ b/sdk/dotnet/DevCenter/V20221111Preview/DevBoxDefinition.cs @@ -124,6 +124,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:DevBoxDefinition"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevBoxDefinition"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:DevBoxDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/AttachedNetworkByDevCenter.cs b/sdk/dotnet/DevCenter/V20230401/AttachedNetworkByDevCenter.cs index 6a2a4a36c65a..9ceaf971a497 100644 --- a/sdk/dotnet/DevCenter/V20230401/AttachedNetworkByDevCenter.cs +++ b/sdk/dotnet/DevCenter/V20230401/AttachedNetworkByDevCenter.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/Catalog.cs b/sdk/dotnet/DevCenter/V20230401/Catalog.cs index f7d8ae67777a..8b473b588168 100644 --- a/sdk/dotnet/DevCenter/V20230401/Catalog.cs +++ b/sdk/dotnet/DevCenter/V20230401/Catalog.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Catalog"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Catalog"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Catalog"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/DevBoxDefinition.cs b/sdk/dotnet/DevCenter/V20230401/DevBoxDefinition.cs index ae5e64526a54..38a0acfa1b4a 100644 --- a/sdk/dotnet/DevCenter/V20230401/DevBoxDefinition.cs +++ b/sdk/dotnet/DevCenter/V20230401/DevBoxDefinition.cs @@ -124,6 +124,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:DevBoxDefinition"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:DevBoxDefinition"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:DevBoxDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/DevCenter.cs b/sdk/dotnet/DevCenter/V20230401/DevCenter.cs index ce90a214b0e9..b05f20c20676 100644 --- a/sdk/dotnet/DevCenter/V20230401/DevCenter.cs +++ b/sdk/dotnet/DevCenter/V20230401/DevCenter.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:DevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:DevCenter"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:DevCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/EnvironmentType.cs b/sdk/dotnet/DevCenter/V20230401/EnvironmentType.cs index ee1821982c42..51294ba2a569 100644 --- a/sdk/dotnet/DevCenter/V20230401/EnvironmentType.cs +++ b/sdk/dotnet/DevCenter/V20230401/EnvironmentType.cs @@ -76,6 +76,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:EnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:EnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:EnvironmentType"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/Gallery.cs b/sdk/dotnet/DevCenter/V20230401/Gallery.cs index e29c08763dfe..010f19532ea6 100644 --- a/sdk/dotnet/DevCenter/V20230401/Gallery.cs +++ b/sdk/dotnet/DevCenter/V20230401/Gallery.cs @@ -76,6 +76,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Gallery"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Gallery"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Gallery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/NetworkConnection.cs b/sdk/dotnet/DevCenter/V20230401/NetworkConnection.cs index eeb42edbe140..c48c3a848bed 100644 --- a/sdk/dotnet/DevCenter/V20230401/NetworkConnection.cs +++ b/sdk/dotnet/DevCenter/V20230401/NetworkConnection.cs @@ -130,6 +130,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:NetworkConnection"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:NetworkConnection"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:NetworkConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/Pool.cs b/sdk/dotnet/DevCenter/V20230401/Pool.cs index b4eee5589cab..b6087517ac83 100644 --- a/sdk/dotnet/DevCenter/V20230401/Pool.cs +++ b/sdk/dotnet/DevCenter/V20230401/Pool.cs @@ -124,6 +124,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Pool"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Pool"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Pool"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/Project.cs b/sdk/dotnet/DevCenter/V20230401/Project.cs index 8192bc60cb49..15a029f36bfd 100644 --- a/sdk/dotnet/DevCenter/V20230401/Project.cs +++ b/sdk/dotnet/DevCenter/V20230401/Project.cs @@ -106,6 +106,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Project"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Project"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Project"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/ProjectEnvironmentType.cs b/sdk/dotnet/DevCenter/V20230401/ProjectEnvironmentType.cs index 94b0ad82f479..0cbc414cb747 100644 --- a/sdk/dotnet/DevCenter/V20230401/ProjectEnvironmentType.cs +++ b/sdk/dotnet/DevCenter/V20230401/ProjectEnvironmentType.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:ProjectEnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:ProjectEnvironmentType"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:ProjectEnvironmentType"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230401/Schedule.cs b/sdk/dotnet/DevCenter/V20230401/Schedule.cs index 37d39da6ce30..12a1fdba1f42 100644 --- a/sdk/dotnet/DevCenter/V20230401/Schedule.cs +++ b/sdk/dotnet/DevCenter/V20230401/Schedule.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Schedule"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Schedule"}, new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230801preview:Schedule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DevCenter/V20230801Preview/AttachedNetworkByDevCenter.cs b/sdk/dotnet/DevCenter/V20230801Preview/AttachedNetworkByDevCenter.cs new file mode 100644 index 000000000000..4bcf19d9271b --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/AttachedNetworkByDevCenter.cs @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents an attached NetworkConnection. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter")] + public partial class AttachedNetworkByDevCenter : global::Pulumi.CustomResource + { + /// + /// AAD Join type of the network. This is populated based on the referenced Network Connection. + /// + [Output("domainJoinType")] + public Output DomainJoinType { get; private set; } = null!; + + /// + /// Health check status values + /// + [Output("healthCheckStatus")] + public Output HealthCheckStatus { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource ID of the NetworkConnection you want to attach. + /// + [Output("networkConnectionId")] + public Output NetworkConnectionId { get; private set; } = null!; + + /// + /// The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. + /// + [Output("networkConnectionLocation")] + public Output NetworkConnectionLocation { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AttachedNetworkByDevCenter 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 AttachedNetworkByDevCenter(string name, AttachedNetworkByDevCenterArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter", name, args ?? new AttachedNetworkByDevCenterArgs(), MakeResourceOptions(options, "")) + { + } + + private AttachedNetworkByDevCenter(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:AttachedNetworkByDevCenter"}, + }, + }; + 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 AttachedNetworkByDevCenter 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. + /// A bag of options that control this resource's behavior + public static AttachedNetworkByDevCenter Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AttachedNetworkByDevCenter(name, id, options); + } + } + + public sealed class AttachedNetworkByDevCenterArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the attached NetworkConnection. + /// + [Input("attachedNetworkConnectionName")] + public Input? AttachedNetworkConnectionName { get; set; } + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The resource ID of the NetworkConnection you want to attach. + /// + [Input("networkConnectionId", required: true)] + public Input NetworkConnectionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public AttachedNetworkByDevCenterArgs() + { + } + public static new AttachedNetworkByDevCenterArgs Empty => new AttachedNetworkByDevCenterArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Catalog.cs b/sdk/dotnet/DevCenter/V20230801Preview/Catalog.cs new file mode 100644 index 000000000000..a156a72b9c1b --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Catalog.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents a catalog. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:Catalog")] + public partial class Catalog : global::Pulumi.CustomResource + { + /// + /// Properties for an Azure DevOps catalog type. + /// + [Output("adoGit")] + public Output AdoGit { get; private set; } = null!; + + /// + /// The connection state of the catalog. + /// + [Output("connectionState")] + public Output ConnectionState { get; private set; } = null!; + + /// + /// Properties for a GitHub catalog type. + /// + [Output("gitHub")] + public Output GitHub { get; private set; } = null!; + + /// + /// When the catalog was last connected. + /// + [Output("lastConnectionTime")] + public Output LastConnectionTime { get; private set; } = null!; + + /// + /// Stats of the latest synchronization. + /// + [Output("lastSyncStats")] + public Output LastSyncStats { get; private set; } = null!; + + /// + /// When the catalog was last synced. + /// + [Output("lastSyncTime")] + public Output LastSyncTime { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The synchronization state of the catalog. + /// + [Output("syncState")] + public Output SyncState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Catalog 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 Catalog(string name, CatalogArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Catalog", name, args ?? new CatalogArgs(), MakeResourceOptions(options, "")) + { + } + + private Catalog(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Catalog", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Catalog"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Catalog"}, + }, + }; + 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 Catalog 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. + /// A bag of options that control this resource's behavior + public static Catalog Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Catalog(name, id, options); + } + } + + public sealed class CatalogArgs : global::Pulumi.ResourceArgs + { + /// + /// Properties for an Azure DevOps catalog type. + /// + [Input("adoGit")] + public Input? AdoGit { get; set; } + + /// + /// The name of the Catalog. + /// + [Input("catalogName")] + public Input? CatalogName { get; set; } + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// Properties for a GitHub catalog type. + /// + [Input("gitHub")] + public Input? GitHub { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public CatalogArgs() + { + } + public static new CatalogArgs Empty => new CatalogArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/DevBoxDefinition.cs b/sdk/dotnet/DevCenter/V20230801Preview/DevBoxDefinition.cs new file mode 100644 index 000000000000..b13e3f6f5829 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/DevBoxDefinition.cs @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents a definition for a Developer Machine. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:DevBoxDefinition")] + public partial class DevBoxDefinition : global::Pulumi.CustomResource + { + /// + /// Image reference information for the currently active image (only populated during updates). + /// + [Output("activeImageReference")] + public Output ActiveImageReference { get; private set; } = null!; + + /// + /// Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + /// + [Output("hibernateSupport")] + public Output HibernateSupport { get; private set; } = null!; + + /// + /// Image reference information. + /// + [Output("imageReference")] + public Output ImageReference { get; private set; } = null!; + + /// + /// Details for image validator error. Populated when the image validation is not successful. + /// + [Output("imageValidationErrorDetails")] + public Output ImageValidationErrorDetails { get; private set; } = null!; + + /// + /// Validation status of the configured image. + /// + [Output("imageValidationStatus")] + public Output ImageValidationStatus { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The storage type used for the Operating System disk of Dev Boxes created using this definition. + /// + [Output("osStorageType")] + public Output OsStorageType { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The SKU for Dev Boxes created using this definition. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Validation status for the Dev Box Definition. + /// + [Output("validationStatus")] + public Output ValidationStatus { get; private set; } = null!; + + + /// + /// Create a DevBoxDefinition 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 DevBoxDefinition(string name, DevBoxDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:DevBoxDefinition", name, args ?? new DevBoxDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private DevBoxDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:DevBoxDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevBoxDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:DevBoxDefinition"}, + }, + }; + 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 DevBoxDefinition 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. + /// A bag of options that control this resource's behavior + public static DevBoxDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new DevBoxDefinition(name, id, options); + } + } + + public sealed class DevBoxDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName")] + public Input? DevBoxDefinitionName { get; set; } + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + /// + [Input("hibernateSupport")] + public InputUnion? HibernateSupport { get; set; } + + /// + /// Image reference information. + /// + [Input("imageReference", required: true)] + public Input ImageReference { get; set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The storage type used for the Operating System disk of Dev Boxes created using this definition. + /// + [Input("osStorageType")] + public Input? OsStorageType { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The SKU for Dev Boxes created using this definition. + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public DevBoxDefinitionArgs() + { + } + public static new DevBoxDefinitionArgs Empty => new DevBoxDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/DevCenter.cs b/sdk/dotnet/DevCenter/V20230801Preview/DevCenter.cs new file mode 100644 index 000000000000..01ff55756341 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/DevCenter.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents a devcenter resource. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:DevCenter")] + public partial class DevCenter : global::Pulumi.CustomResource + { + /// + /// The URI of the Dev Center. + /// + [Output("devCenterUri")] + public Output DevCenterUri { get; private set; } = null!; + + /// + /// Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + /// + [Output("encryption")] + public Output Encryption { get; private set; } = null!; + + /// + /// Managed identity properties + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a DevCenter 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 DevCenter(string name, DevCenterArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:DevCenter", name, args ?? new DevCenterArgs(), MakeResourceOptions(options, "")) + { + } + + private DevCenter(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:DevCenter", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:DevCenter"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:DevCenter"}, + }, + }; + 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 DevCenter 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. + /// A bag of options that control this resource's behavior + public static DevCenter Get(string name, Input id, CustomResourceOptions? options = null) + { + return new DevCenter(name, id, options); + } + } + + public sealed class DevCenterArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName")] + public Input? DevCenterName { get; set; } + + /// + /// Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + /// + [Input("encryption")] + public Input? Encryption { get; set; } + + /// + /// Managed identity properties + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public DevCenterArgs() + { + } + public static new DevCenterArgs Empty => new DevCenterArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Enums.cs b/sdk/dotnet/DevCenter/V20230801Preview/Enums.cs new file mode 100644 index 000000000000..62ba46021b1e --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Enums.cs @@ -0,0 +1,414 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.DevCenter.V20230801Preview +{ + /// + /// AAD Join type. + /// + [EnumType] + public readonly struct DomainJoinType : IEquatable + { + private readonly string _value; + + private DomainJoinType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DomainJoinType HybridAzureADJoin { get; } = new DomainJoinType("HybridAzureADJoin"); + public static DomainJoinType AzureADJoin { get; } = new DomainJoinType("AzureADJoin"); + + public static bool operator ==(DomainJoinType left, DomainJoinType right) => left.Equals(right); + public static bool operator !=(DomainJoinType left, DomainJoinType right) => !left.Equals(right); + + public static explicit operator string(DomainJoinType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DomainJoinType other && Equals(other); + public bool Equals(DomainJoinType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Defines whether this Environment Type can be used in this Project. + /// + [EnumType] + public readonly struct EnvironmentTypeEnableStatus : IEquatable + { + private readonly string _value; + + private EnvironmentTypeEnableStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EnvironmentTypeEnableStatus Enabled { get; } = new EnvironmentTypeEnableStatus("Enabled"); + public static EnvironmentTypeEnableStatus Disabled { get; } = new EnvironmentTypeEnableStatus("Disabled"); + + public static bool operator ==(EnvironmentTypeEnableStatus left, EnvironmentTypeEnableStatus right) => left.Equals(right); + public static bool operator !=(EnvironmentTypeEnableStatus left, EnvironmentTypeEnableStatus right) => !left.Equals(right); + + public static explicit operator string(EnvironmentTypeEnableStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EnvironmentTypeEnableStatus other && Equals(other); + public bool Equals(EnvironmentTypeEnableStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + /// + [EnumType] + public readonly struct HibernateSupport : IEquatable + { + private readonly string _value; + + private HibernateSupport(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HibernateSupport Disabled { get; } = new HibernateSupport("Disabled"); + public static HibernateSupport Enabled { get; } = new HibernateSupport("Enabled"); + + public static bool operator ==(HibernateSupport left, HibernateSupport right) => left.Equals(right); + public static bool operator !=(HibernateSupport left, HibernateSupport right) => !left.Equals(right); + + public static explicit operator string(HibernateSupport value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HibernateSupport other && Equals(other); + public bool Equals(HibernateSupport other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Values can be systemAssignedIdentity or userAssignedIdentity + /// + [EnumType] + public readonly struct IdentityType : IEquatable + { + private readonly string _value; + + private IdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IdentityType SystemAssignedIdentity { get; } = new IdentityType("systemAssignedIdentity"); + public static IdentityType UserAssignedIdentity { get; } = new IdentityType("userAssignedIdentity"); + public static IdentityType DelegatedResourceIdentity { get; } = new IdentityType("delegatedResourceIdentity"); + + public static bool operator ==(IdentityType left, IdentityType right) => left.Equals(right); + public static bool operator !=(IdentityType left, IdentityType right) => !left.Equals(right); + + public static explicit operator string(IdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IdentityType other && Equals(other); + public bool Equals(IdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + /// + [EnumType] + public readonly struct LicenseType : IEquatable + { + private readonly string _value; + + private LicenseType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LicenseType Windows_Client { get; } = new LicenseType("Windows_Client"); + + public static bool operator ==(LicenseType left, LicenseType right) => left.Equals(right); + public static bool operator !=(LicenseType left, LicenseType right) => !left.Equals(right); + + public static explicit operator string(LicenseType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LicenseType other && Equals(other); + public bool Equals(LicenseType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + /// + [EnumType] + public readonly struct LocalAdminStatus : IEquatable + { + private readonly string _value; + + private LocalAdminStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LocalAdminStatus Disabled { get; } = new LocalAdminStatus("Disabled"); + public static LocalAdminStatus Enabled { get; } = new LocalAdminStatus("Enabled"); + + public static bool operator ==(LocalAdminStatus left, LocalAdminStatus right) => left.Equals(right); + public static bool operator !=(LocalAdminStatus left, LocalAdminStatus right) => !left.Equals(right); + + public static explicit operator string(LocalAdminStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LocalAdminStatus other && Equals(other); + public bool Equals(LocalAdminStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned, UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether or not this scheduled task is enabled. + /// + [EnumType] + public readonly struct ScheduleEnableStatus : IEquatable + { + private readonly string _value; + + private ScheduleEnableStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ScheduleEnableStatus Enabled { get; } = new ScheduleEnableStatus("Enabled"); + public static ScheduleEnableStatus Disabled { get; } = new ScheduleEnableStatus("Disabled"); + + public static bool operator ==(ScheduleEnableStatus left, ScheduleEnableStatus right) => left.Equals(right); + public static bool operator !=(ScheduleEnableStatus left, ScheduleEnableStatus right) => !left.Equals(right); + + public static explicit operator string(ScheduleEnableStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScheduleEnableStatus other && Equals(other); + public bool Equals(ScheduleEnableStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The frequency of this scheduled task. + /// + [EnumType] + public readonly struct ScheduledFrequency : IEquatable + { + private readonly string _value; + + private ScheduledFrequency(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ScheduledFrequency Daily { get; } = new ScheduledFrequency("Daily"); + + public static bool operator ==(ScheduledFrequency left, ScheduledFrequency right) => left.Equals(right); + public static bool operator !=(ScheduledFrequency left, ScheduledFrequency right) => !left.Equals(right); + + public static explicit operator string(ScheduledFrequency value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScheduledFrequency other && Equals(other); + public bool Equals(ScheduledFrequency other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Supported type this scheduled task represents. + /// + [EnumType] + public readonly struct ScheduledType : IEquatable + { + private readonly string _value; + + private ScheduledType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ScheduledType StopDevBox { get; } = new ScheduledType("StopDevBox"); + + public static bool operator ==(ScheduledType left, ScheduledType right) => left.Equals(right); + public static bool operator !=(ScheduledType left, ScheduledType right) => !left.Equals(right); + + public static explicit operator string(ScheduledType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ScheduledType other && Equals(other); + public bool Equals(ScheduledType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + /// + [EnumType] + public readonly struct SingleSignOnStatus : IEquatable + { + private readonly string _value; + + private SingleSignOnStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SingleSignOnStatus Disabled { get; } = new SingleSignOnStatus("Disabled"); + public static SingleSignOnStatus Enabled { get; } = new SingleSignOnStatus("Enabled"); + + public static bool operator ==(SingleSignOnStatus left, SingleSignOnStatus right) => left.Equals(right); + public static bool operator !=(SingleSignOnStatus left, SingleSignOnStatus right) => !left.Equals(right); + + public static explicit operator string(SingleSignOnStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SingleSignOnStatus other && Equals(other); + public bool Equals(SingleSignOnStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [EnumType] + public readonly struct SkuTier : IEquatable + { + private readonly string _value; + + private SkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SkuTier Free { get; } = new SkuTier("Free"); + public static SkuTier Basic { get; } = new SkuTier("Basic"); + public static SkuTier Standard { get; } = new SkuTier("Standard"); + public static SkuTier Premium { get; } = new SkuTier("Premium"); + + public static bool operator ==(SkuTier left, SkuTier right) => left.Equals(right); + public static bool operator !=(SkuTier left, SkuTier right) => !left.Equals(right); + + public static explicit operator string(SkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuTier other && Equals(other); + public bool Equals(SkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + /// + [EnumType] + public readonly struct StopOnDisconnectEnableStatus : IEquatable + { + private readonly string _value; + + private StopOnDisconnectEnableStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StopOnDisconnectEnableStatus Enabled { get; } = new StopOnDisconnectEnableStatus("Enabled"); + public static StopOnDisconnectEnableStatus Disabled { get; } = new StopOnDisconnectEnableStatus("Disabled"); + + public static bool operator ==(StopOnDisconnectEnableStatus left, StopOnDisconnectEnableStatus right) => left.Equals(right); + public static bool operator !=(StopOnDisconnectEnableStatus left, StopOnDisconnectEnableStatus right) => !left.Equals(right); + + public static explicit operator string(StopOnDisconnectEnableStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StopOnDisconnectEnableStatus other && Equals(other); + public bool Equals(StopOnDisconnectEnableStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/EnvironmentType.cs b/sdk/dotnet/DevCenter/V20230801Preview/EnvironmentType.cs new file mode 100644 index 000000000000..1c2a504deb33 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/EnvironmentType.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents an environment type. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:EnvironmentType")] + public partial class EnvironmentType : global::Pulumi.CustomResource + { + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a EnvironmentType 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 EnvironmentType(string name, EnvironmentTypeArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:EnvironmentType", name, args ?? new EnvironmentTypeArgs(), MakeResourceOptions(options, "")) + { + } + + private EnvironmentType(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:EnvironmentType", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:EnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:EnvironmentType"}, + }, + }; + 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 EnvironmentType 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. + /// A bag of options that control this resource's behavior + public static EnvironmentType Get(string name, Input id, CustomResourceOptions? options = null) + { + return new EnvironmentType(name, id, options); + } + } + + public sealed class EnvironmentTypeArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the environment type. + /// + [Input("environmentTypeName")] + public Input? EnvironmentTypeName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public EnvironmentTypeArgs() + { + } + public static new EnvironmentTypeArgs Empty => new EnvironmentTypeArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Gallery.cs b/sdk/dotnet/DevCenter/V20230801Preview/Gallery.cs new file mode 100644 index 000000000000..7a07841f6727 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Gallery.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents a gallery. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:Gallery")] + public partial class Gallery : global::Pulumi.CustomResource + { + /// + /// The resource ID of the backing Azure Compute Gallery. + /// + [Output("galleryResourceId")] + public Output GalleryResourceId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Gallery 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 Gallery(string name, GalleryArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Gallery", name, args ?? new GalleryArgs(), MakeResourceOptions(options, "")) + { + } + + private Gallery(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Gallery", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Gallery"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Gallery"}, + }, + }; + 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 Gallery 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. + /// A bag of options that control this resource's behavior + public static Gallery Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Gallery(name, id, options); + } + } + + public sealed class GalleryArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the gallery. + /// + [Input("galleryName")] + public Input? GalleryName { get; set; } + + /// + /// The resource ID of the backing Azure Compute Gallery. + /// + [Input("galleryResourceId", required: true)] + public Input GalleryResourceId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GalleryArgs() + { + } + public static new GalleryArgs Empty => new GalleryArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetAttachedNetworkByDevCenter.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetAttachedNetworkByDevCenter.cs new file mode 100644 index 000000000000..b0af17a6f352 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetAttachedNetworkByDevCenter.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetAttachedNetworkByDevCenter + { + /// + /// Gets an attached NetworkConnection. + /// + public static Task InvokeAsync(GetAttachedNetworkByDevCenterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getAttachedNetworkByDevCenter", args ?? new GetAttachedNetworkByDevCenterArgs(), options.WithDefaults()); + + /// + /// Gets an attached NetworkConnection. + /// + public static Output Invoke(GetAttachedNetworkByDevCenterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getAttachedNetworkByDevCenter", args ?? new GetAttachedNetworkByDevCenterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAttachedNetworkByDevCenterArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the attached NetworkConnection. + /// + [Input("attachedNetworkConnectionName", required: true)] + public string AttachedNetworkConnectionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetAttachedNetworkByDevCenterArgs() + { + } + public static new GetAttachedNetworkByDevCenterArgs Empty => new GetAttachedNetworkByDevCenterArgs(); + } + + public sealed class GetAttachedNetworkByDevCenterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the attached NetworkConnection. + /// + [Input("attachedNetworkConnectionName", required: true)] + public Input AttachedNetworkConnectionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetAttachedNetworkByDevCenterInvokeArgs() + { + } + public static new GetAttachedNetworkByDevCenterInvokeArgs Empty => new GetAttachedNetworkByDevCenterInvokeArgs(); + } + + + [OutputType] + public sealed class GetAttachedNetworkByDevCenterResult + { + /// + /// AAD Join type of the network. This is populated based on the referenced Network Connection. + /// + public readonly string DomainJoinType; + /// + /// Health check status values + /// + public readonly string HealthCheckStatus; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource ID of the NetworkConnection you want to attach. + /// + public readonly string NetworkConnectionId; + /// + /// The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. + /// + public readonly string NetworkConnectionLocation; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAttachedNetworkByDevCenterResult( + string domainJoinType, + + string healthCheckStatus, + + string id, + + string name, + + string networkConnectionId, + + string networkConnectionLocation, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + DomainJoinType = domainJoinType; + HealthCheckStatus = healthCheckStatus; + Id = id; + Name = name; + NetworkConnectionId = networkConnectionId; + NetworkConnectionLocation = networkConnectionLocation; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetCatalog.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetCatalog.cs new file mode 100644 index 000000000000..45cce83bd731 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetCatalog.cs @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetCatalog + { + /// + /// Gets a catalog + /// + public static Task InvokeAsync(GetCatalogArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getCatalog", args ?? new GetCatalogArgs(), options.WithDefaults()); + + /// + /// Gets a catalog + /// + public static Output Invoke(GetCatalogInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getCatalog", args ?? new GetCatalogInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCatalogArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCatalogArgs() + { + } + public static new GetCatalogArgs Empty => new GetCatalogArgs(); + } + + public sealed class GetCatalogInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCatalogInvokeArgs() + { + } + public static new GetCatalogInvokeArgs Empty => new GetCatalogInvokeArgs(); + } + + + [OutputType] + public sealed class GetCatalogResult + { + /// + /// Properties for an Azure DevOps catalog type. + /// + public readonly Outputs.GitCatalogResponse? AdoGit; + /// + /// The connection state of the catalog. + /// + public readonly string ConnectionState; + /// + /// Properties for a GitHub catalog type. + /// + public readonly Outputs.GitCatalogResponse? GitHub; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// When the catalog was last connected. + /// + public readonly string LastConnectionTime; + /// + /// Stats of the latest synchronization. + /// + public readonly Outputs.SyncStatsResponse LastSyncStats; + /// + /// When the catalog was last synced. + /// + public readonly string LastSyncTime; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The synchronization state of the catalog. + /// + public readonly string SyncState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetCatalogResult( + Outputs.GitCatalogResponse? adoGit, + + string connectionState, + + Outputs.GitCatalogResponse? gitHub, + + string id, + + string lastConnectionTime, + + Outputs.SyncStatsResponse lastSyncStats, + + string lastSyncTime, + + string name, + + string provisioningState, + + string syncState, + + Outputs.SystemDataResponse systemData, + + string type) + { + AdoGit = adoGit; + ConnectionState = connectionState; + GitHub = gitHub; + Id = id; + LastConnectionTime = lastConnectionTime; + LastSyncStats = lastSyncStats; + LastSyncTime = lastSyncTime; + Name = name; + ProvisioningState = provisioningState; + SyncState = syncState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetCatalogDevBoxDefinitionErrorDetails.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetCatalogDevBoxDefinitionErrorDetails.cs new file mode 100644 index 000000000000..8c5c1117bc21 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetCatalogDevBoxDefinitionErrorDetails.cs @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetCatalogDevBoxDefinitionErrorDetails + { + /// + /// Gets Catalog Devbox Definition error details + /// + public static Task InvokeAsync(GetCatalogDevBoxDefinitionErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getCatalogDevBoxDefinitionErrorDetails", args ?? new GetCatalogDevBoxDefinitionErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets Catalog Devbox Definition error details + /// + public static Output Invoke(GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getCatalogDevBoxDefinitionErrorDetails", args ?? new GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCatalogDevBoxDefinitionErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName", required: true)] + public string DevBoxDefinitionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCatalogDevBoxDefinitionErrorDetailsArgs() + { + } + public static new GetCatalogDevBoxDefinitionErrorDetailsArgs Empty => new GetCatalogDevBoxDefinitionErrorDetailsArgs(); + } + + public sealed class GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName", required: true)] + public Input DevBoxDefinitionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs() + { + } + public static new GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs Empty => new GetCatalogDevBoxDefinitionErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetCatalogDevBoxDefinitionErrorDetailsResult + { + /// + /// Errors associated with resources synchronized from the catalog. + /// + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetCatalogDevBoxDefinitionErrorDetailsResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetCatalogSyncErrorDetails.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetCatalogSyncErrorDetails.cs new file mode 100644 index 000000000000..53a5b33b3897 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetCatalogSyncErrorDetails.cs @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetCatalogSyncErrorDetails + { + /// + /// Gets catalog synchronization error details + /// + public static Task InvokeAsync(GetCatalogSyncErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getCatalogSyncErrorDetails", args ?? new GetCatalogSyncErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets catalog synchronization error details + /// + public static Output Invoke(GetCatalogSyncErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getCatalogSyncErrorDetails", args ?? new GetCatalogSyncErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCatalogSyncErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCatalogSyncErrorDetailsArgs() + { + } + public static new GetCatalogSyncErrorDetailsArgs Empty => new GetCatalogSyncErrorDetailsArgs(); + } + + public sealed class GetCatalogSyncErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCatalogSyncErrorDetailsInvokeArgs() + { + } + public static new GetCatalogSyncErrorDetailsInvokeArgs Empty => new GetCatalogSyncErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetCatalogSyncErrorDetailsResult + { + /// + /// Catalog items that have conflicting names. + /// + public readonly ImmutableArray Conflicts; + /// + /// Errors that occured during synchronization. + /// + public readonly ImmutableArray Errors; + /// + /// Error information for the overall synchronization operation. + /// + public readonly Outputs.CatalogErrorDetailsResponse OperationError; + + [OutputConstructor] + private GetCatalogSyncErrorDetailsResult( + ImmutableArray conflicts, + + ImmutableArray errors, + + Outputs.CatalogErrorDetailsResponse operationError) + { + Conflicts = conflicts; + Errors = errors; + OperationError = operationError; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetCustomizationTaskErrorDetails.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetCustomizationTaskErrorDetails.cs new file mode 100644 index 000000000000..62d677fb512b --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetCustomizationTaskErrorDetails.cs @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetCustomizationTaskErrorDetails + { + /// + /// Gets Customization Task error details + /// + public static Task InvokeAsync(GetCustomizationTaskErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getCustomizationTaskErrorDetails", args ?? new GetCustomizationTaskErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets Customization Task error details + /// + public static Output Invoke(GetCustomizationTaskErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getCustomizationTaskErrorDetails", args ?? new GetCustomizationTaskErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCustomizationTaskErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Task. + /// + [Input("taskName", required: true)] + public string TaskName { get; set; } = null!; + + public GetCustomizationTaskErrorDetailsArgs() + { + } + public static new GetCustomizationTaskErrorDetailsArgs Empty => new GetCustomizationTaskErrorDetailsArgs(); + } + + public sealed class GetCustomizationTaskErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Task. + /// + [Input("taskName", required: true)] + public Input TaskName { get; set; } = null!; + + public GetCustomizationTaskErrorDetailsInvokeArgs() + { + } + public static new GetCustomizationTaskErrorDetailsInvokeArgs Empty => new GetCustomizationTaskErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetCustomizationTaskErrorDetailsResult + { + /// + /// Errors associated with resources synchronized from the catalog. + /// + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetCustomizationTaskErrorDetailsResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetDevBoxDefinition.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetDevBoxDefinition.cs new file mode 100644 index 000000000000..c734a0290425 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetDevBoxDefinition.cs @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetDevBoxDefinition + { + /// + /// Gets a Dev Box definition + /// + public static Task InvokeAsync(GetDevBoxDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getDevBoxDefinition", args ?? new GetDevBoxDefinitionArgs(), options.WithDefaults()); + + /// + /// Gets a Dev Box definition + /// + public static Output Invoke(GetDevBoxDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getDevBoxDefinition", args ?? new GetDevBoxDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDevBoxDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName", required: true)] + public string DevBoxDefinitionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetDevBoxDefinitionArgs() + { + } + public static new GetDevBoxDefinitionArgs Empty => new GetDevBoxDefinitionArgs(); + } + + public sealed class GetDevBoxDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Dev Box definition. + /// + [Input("devBoxDefinitionName", required: true)] + public Input DevBoxDefinitionName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetDevBoxDefinitionInvokeArgs() + { + } + public static new GetDevBoxDefinitionInvokeArgs Empty => new GetDevBoxDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetDevBoxDefinitionResult + { + /// + /// Image reference information for the currently active image (only populated during updates). + /// + public readonly Outputs.ImageReferenceResponse ActiveImageReference; + /// + /// Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + /// + public readonly string? HibernateSupport; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Image reference information. + /// + public readonly Outputs.ImageReferenceResponse ImageReference; + /// + /// Details for image validator error. Populated when the image validation is not successful. + /// + public readonly Outputs.ImageValidationErrorDetailsResponse ImageValidationErrorDetails; + /// + /// Validation status of the configured image. + /// + public readonly string ImageValidationStatus; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The storage type used for the Operating System disk of Dev Boxes created using this definition. + /// + public readonly string? OsStorageType; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The SKU for Dev Boxes created using this definition. + /// + public readonly Outputs.SkuResponse Sku; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Validation status for the Dev Box Definition. + /// + public readonly string ValidationStatus; + + [OutputConstructor] + private GetDevBoxDefinitionResult( + Outputs.ImageReferenceResponse activeImageReference, + + string? hibernateSupport, + + string id, + + Outputs.ImageReferenceResponse imageReference, + + Outputs.ImageValidationErrorDetailsResponse imageValidationErrorDetails, + + string imageValidationStatus, + + string location, + + string name, + + string? osStorageType, + + string provisioningState, + + Outputs.SkuResponse sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string validationStatus) + { + ActiveImageReference = activeImageReference; + HibernateSupport = hibernateSupport; + Id = id; + ImageReference = imageReference; + ImageValidationErrorDetails = imageValidationErrorDetails; + ImageValidationStatus = imageValidationStatus; + Location = location; + Name = name; + OsStorageType = osStorageType; + ProvisioningState = provisioningState; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + ValidationStatus = validationStatus; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetDevCenter.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetDevCenter.cs new file mode 100644 index 000000000000..60e2790bb946 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetDevCenter.cs @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetDevCenter + { + /// + /// Gets a devcenter. + /// + public static Task InvokeAsync(GetDevCenterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getDevCenter", args ?? new GetDevCenterArgs(), options.WithDefaults()); + + /// + /// Gets a devcenter. + /// + public static Output Invoke(GetDevCenterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getDevCenter", args ?? new GetDevCenterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDevCenterArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetDevCenterArgs() + { + } + public static new GetDevCenterArgs Empty => new GetDevCenterArgs(); + } + + public sealed class GetDevCenterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetDevCenterInvokeArgs() + { + } + public static new GetDevCenterInvokeArgs Empty => new GetDevCenterInvokeArgs(); + } + + + [OutputType] + public sealed class GetDevCenterResult + { + /// + /// The URI of the Dev Center. + /// + public readonly string DevCenterUri; + /// + /// Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + /// + public readonly Outputs.EncryptionResponse? Encryption; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Managed identity properties + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetDevCenterResult( + string devCenterUri, + + Outputs.EncryptionResponse? encryption, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string location, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + DevCenterUri = devCenterUri; + Encryption = encryption; + Id = id; + Identity = identity; + Location = location; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetEnvironmentDefinitionErrorDetails.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetEnvironmentDefinitionErrorDetails.cs new file mode 100644 index 000000000000..84c10c8d848d --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetEnvironmentDefinitionErrorDetails.cs @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetEnvironmentDefinitionErrorDetails + { + /// + /// Gets Environment Definition error details + /// + public static Task InvokeAsync(GetEnvironmentDefinitionErrorDetailsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getEnvironmentDefinitionErrorDetails", args ?? new GetEnvironmentDefinitionErrorDetailsArgs(), options.WithDefaults()); + + /// + /// Gets Environment Definition error details + /// + public static Output Invoke(GetEnvironmentDefinitionErrorDetailsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getEnvironmentDefinitionErrorDetails", args ?? new GetEnvironmentDefinitionErrorDetailsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEnvironmentDefinitionErrorDetailsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public string CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the Environment Definition. + /// + [Input("environmentDefinitionName", required: true)] + public string EnvironmentDefinitionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetEnvironmentDefinitionErrorDetailsArgs() + { + } + public static new GetEnvironmentDefinitionErrorDetailsArgs Empty => new GetEnvironmentDefinitionErrorDetailsArgs(); + } + + public sealed class GetEnvironmentDefinitionErrorDetailsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Catalog. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the Environment Definition. + /// + [Input("environmentDefinitionName", required: true)] + public Input EnvironmentDefinitionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetEnvironmentDefinitionErrorDetailsInvokeArgs() + { + } + public static new GetEnvironmentDefinitionErrorDetailsInvokeArgs Empty => new GetEnvironmentDefinitionErrorDetailsInvokeArgs(); + } + + + [OutputType] + public sealed class GetEnvironmentDefinitionErrorDetailsResult + { + /// + /// Errors associated with resources synchronized from the catalog. + /// + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetEnvironmentDefinitionErrorDetailsResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetEnvironmentType.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetEnvironmentType.cs new file mode 100644 index 000000000000..7daeb890be15 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetEnvironmentType.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetEnvironmentType + { + /// + /// Gets an environment type. + /// + public static Task InvokeAsync(GetEnvironmentTypeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getEnvironmentType", args ?? new GetEnvironmentTypeArgs(), options.WithDefaults()); + + /// + /// Gets an environment type. + /// + public static Output Invoke(GetEnvironmentTypeInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getEnvironmentType", args ?? new GetEnvironmentTypeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEnvironmentTypeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the environment type. + /// + [Input("environmentTypeName", required: true)] + public string EnvironmentTypeName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetEnvironmentTypeArgs() + { + } + public static new GetEnvironmentTypeArgs Empty => new GetEnvironmentTypeArgs(); + } + + public sealed class GetEnvironmentTypeInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the environment type. + /// + [Input("environmentTypeName", required: true)] + public Input EnvironmentTypeName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetEnvironmentTypeInvokeArgs() + { + } + public static new GetEnvironmentTypeInvokeArgs Empty => new GetEnvironmentTypeInvokeArgs(); + } + + + [OutputType] + public sealed class GetEnvironmentTypeResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetEnvironmentTypeResult( + string id, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetGallery.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetGallery.cs new file mode 100644 index 000000000000..461756416bb8 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetGallery.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetGallery + { + /// + /// Gets a gallery + /// + public static Task InvokeAsync(GetGalleryArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getGallery", args ?? new GetGalleryArgs(), options.WithDefaults()); + + /// + /// Gets a gallery + /// + public static Output Invoke(GetGalleryInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getGallery", args ?? new GetGalleryInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGalleryArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public string DevCenterName { get; set; } = null!; + + /// + /// The name of the gallery. + /// + [Input("galleryName", required: true)] + public string GalleryName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGalleryArgs() + { + } + public static new GetGalleryArgs Empty => new GetGalleryArgs(); + } + + public sealed class GetGalleryInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the devcenter. + /// + [Input("devCenterName", required: true)] + public Input DevCenterName { get; set; } = null!; + + /// + /// The name of the gallery. + /// + [Input("galleryName", required: true)] + public Input GalleryName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGalleryInvokeArgs() + { + } + public static new GetGalleryInvokeArgs Empty => new GetGalleryInvokeArgs(); + } + + + [OutputType] + public sealed class GetGalleryResult + { + /// + /// The resource ID of the backing Azure Compute Gallery. + /// + public readonly string GalleryResourceId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetGalleryResult( + string galleryResourceId, + + string id, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + GalleryResourceId = galleryResourceId; + Id = id; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetNetworkConnection.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetNetworkConnection.cs new file mode 100644 index 000000000000..f7e922621379 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetNetworkConnection.cs @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetNetworkConnection + { + /// + /// Gets a network connection resource + /// + public static Task InvokeAsync(GetNetworkConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getNetworkConnection", args ?? new GetNetworkConnectionArgs(), options.WithDefaults()); + + /// + /// Gets a network connection resource + /// + public static Output Invoke(GetNetworkConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getNetworkConnection", args ?? new GetNetworkConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNetworkConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Network Connection that can be applied to a Pool. + /// + [Input("networkConnectionName", required: true)] + public string NetworkConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetNetworkConnectionArgs() + { + } + public static new GetNetworkConnectionArgs Empty => new GetNetworkConnectionArgs(); + } + + public sealed class GetNetworkConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the Network Connection that can be applied to a Pool. + /// + [Input("networkConnectionName", required: true)] + public Input NetworkConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetNetworkConnectionInvokeArgs() + { + } + public static new GetNetworkConnectionInvokeArgs Empty => new GetNetworkConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetNetworkConnectionResult + { + /// + /// AAD Join type. + /// + public readonly string DomainJoinType; + /// + /// Active Directory domain name + /// + public readonly string? DomainName; + /// + /// The password for the account used to join domain + /// + public readonly string? DomainPassword; + /// + /// The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + /// + public readonly string? DomainUsername; + /// + /// Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. + /// + public readonly string HealthCheckStatus; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The name for resource group where NICs will be placed. + /// + public readonly string? NetworkingResourceGroupName; + /// + /// Active Directory domain Organization Unit (OU) + /// + public readonly string? OrganizationUnit; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The subnet to attach Virtual Machines to + /// + public readonly string SubnetId; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetNetworkConnectionResult( + string domainJoinType, + + string? domainName, + + string? domainPassword, + + string? domainUsername, + + string healthCheckStatus, + + string id, + + string location, + + string name, + + string? networkingResourceGroupName, + + string? organizationUnit, + + string provisioningState, + + string subnetId, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + DomainJoinType = domainJoinType; + DomainName = domainName; + DomainPassword = domainPassword; + DomainUsername = domainUsername; + HealthCheckStatus = healthCheckStatus; + Id = id; + Location = location; + Name = name; + NetworkingResourceGroupName = networkingResourceGroupName; + OrganizationUnit = organizationUnit; + ProvisioningState = provisioningState; + SubnetId = subnetId; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetPool.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetPool.cs new file mode 100644 index 000000000000..60b0174dc9eb --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetPool.cs @@ -0,0 +1,201 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetPool + { + /// + /// Gets a machine pool + /// + public static Task InvokeAsync(GetPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getPool", args ?? new GetPoolArgs(), options.WithDefaults()); + + /// + /// Gets a machine pool + /// + public static Output Invoke(GetPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getPool", args ?? new GetPoolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPoolArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the pool. + /// + [Input("poolName", required: true)] + public string PoolName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public string ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPoolArgs() + { + } + public static new GetPoolArgs Empty => new GetPoolArgs(); + } + + public sealed class GetPoolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the pool. + /// + [Input("poolName", required: true)] + public Input PoolName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPoolInvokeArgs() + { + } + public static new GetPoolInvokeArgs Empty => new GetPoolInvokeArgs(); + } + + + [OutputType] + public sealed class GetPoolResult + { + /// + /// Indicates the number of provisioned Dev Boxes in this pool. + /// + public readonly int DevBoxCount; + /// + /// Name of a Dev Box definition in parent Project of this Pool + /// + public readonly string DevBoxDefinitionName; + /// + /// Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. + /// + public readonly string HealthStatus; + /// + /// Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state + /// + public readonly ImmutableArray HealthStatusDetails; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + /// + public readonly string LicenseType; + /// + /// Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + /// + public readonly string LocalAdministrator; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Name of a Network Connection in parent Project of this Pool + /// + public readonly string NetworkConnectionName; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + /// + public readonly string? SingleSignOnStatus; + /// + /// Stop on disconnect configuration settings for Dev Boxes created in this pool. + /// + public readonly Outputs.StopOnDisconnectConfigurationResponse? StopOnDisconnect; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPoolResult( + int devBoxCount, + + string devBoxDefinitionName, + + string healthStatus, + + ImmutableArray healthStatusDetails, + + string id, + + string licenseType, + + string localAdministrator, + + string location, + + string name, + + string networkConnectionName, + + string provisioningState, + + string? singleSignOnStatus, + + Outputs.StopOnDisconnectConfigurationResponse? stopOnDisconnect, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + DevBoxCount = devBoxCount; + DevBoxDefinitionName = devBoxDefinitionName; + HealthStatus = healthStatus; + HealthStatusDetails = healthStatusDetails; + Id = id; + LicenseType = licenseType; + LocalAdministrator = localAdministrator; + Location = location; + Name = name; + NetworkConnectionName = networkConnectionName; + ProvisioningState = provisioningState; + SingleSignOnStatus = singleSignOnStatus; + StopOnDisconnect = stopOnDisconnect; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetProject.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetProject.cs new file mode 100644 index 000000000000..9792b2f96338 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetProject.cs @@ -0,0 +1,154 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetProject + { + /// + /// Gets a specific project. + /// + public static Task InvokeAsync(GetProjectArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getProject", args ?? new GetProjectArgs(), options.WithDefaults()); + + /// + /// Gets a specific project. + /// + public static Output Invoke(GetProjectInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetProjectArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public string ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetProjectArgs() + { + } + public static new GetProjectArgs Empty => new GetProjectArgs(); + } + + public sealed class GetProjectInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetProjectInvokeArgs() + { + } + public static new GetProjectInvokeArgs Empty => new GetProjectInvokeArgs(); + } + + + [OutputType] + public sealed class GetProjectResult + { + /// + /// Description of the project. + /// + public readonly string? Description; + /// + /// Resource Id of an associated DevCenter + /// + public readonly string? DevCenterId; + /// + /// The URI of the Dev Center resource this project is associated with. + /// + public readonly string DevCenterUri; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + /// + public readonly int? MaxDevBoxesPerUser; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetProjectResult( + string? description, + + string? devCenterId, + + string devCenterUri, + + string id, + + string location, + + int? maxDevBoxesPerUser, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Description = description; + DevCenterId = devCenterId; + DevCenterUri = devCenterUri; + Id = id; + Location = location; + MaxDevBoxesPerUser = maxDevBoxesPerUser; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetProjectEnvironmentType.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetProjectEnvironmentType.cs new file mode 100644 index 000000000000..36377accec30 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetProjectEnvironmentType.cs @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetProjectEnvironmentType + { + /// + /// Gets a project environment type. + /// + public static Task InvokeAsync(GetProjectEnvironmentTypeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getProjectEnvironmentType", args ?? new GetProjectEnvironmentTypeArgs(), options.WithDefaults()); + + /// + /// Gets a project environment type. + /// + public static Output Invoke(GetProjectEnvironmentTypeInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getProjectEnvironmentType", args ?? new GetProjectEnvironmentTypeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetProjectEnvironmentTypeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the environment type. + /// + [Input("environmentTypeName", required: true)] + public string EnvironmentTypeName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public string ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetProjectEnvironmentTypeArgs() + { + } + public static new GetProjectEnvironmentTypeArgs Empty => new GetProjectEnvironmentTypeArgs(); + } + + public sealed class GetProjectEnvironmentTypeInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the environment type. + /// + [Input("environmentTypeName", required: true)] + public Input EnvironmentTypeName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetProjectEnvironmentTypeInvokeArgs() + { + } + public static new GetProjectEnvironmentTypeInvokeArgs Empty => new GetProjectEnvironmentTypeInvokeArgs(); + } + + + [OutputType] + public sealed class GetProjectEnvironmentTypeResult + { + /// + /// The role definition assigned to the environment creator on backing resources. + /// + public readonly Outputs.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment? CreatorRoleAssignment; + /// + /// Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + /// + public readonly string? DeploymentTargetId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Managed identity properties + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The geo-location for the environment type + /// + public readonly string? Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Defines whether this Environment Type can be used in this Project. + /// + public readonly string? Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + /// + public readonly ImmutableDictionary? UserRoleAssignments; + + [OutputConstructor] + private GetProjectEnvironmentTypeResult( + Outputs.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment? creatorRoleAssignment, + + string? deploymentTargetId, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + string provisioningState, + + string? status, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + ImmutableDictionary? userRoleAssignments) + { + CreatorRoleAssignment = creatorRoleAssignment; + DeploymentTargetId = deploymentTargetId; + Id = id; + Identity = identity; + Location = location; + Name = name; + ProvisioningState = provisioningState; + Status = status; + SystemData = systemData; + Tags = tags; + Type = type; + UserRoleAssignments = userRoleAssignments; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/GetSchedule.cs b/sdk/dotnet/DevCenter/V20230801Preview/GetSchedule.cs new file mode 100644 index 000000000000..492f9ba442a2 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/GetSchedule.cs @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + public static class GetSchedule + { + /// + /// Gets a schedule resource. + /// + public static Task InvokeAsync(GetScheduleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:devcenter/v20230801preview:getSchedule", args ?? new GetScheduleArgs(), options.WithDefaults()); + + /// + /// Gets a schedule resource. + /// + public static Output Invoke(GetScheduleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:devcenter/v20230801preview:getSchedule", args ?? new GetScheduleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScheduleArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the pool. + /// + [Input("poolName", required: true)] + public string PoolName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public string ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the schedule that uniquely identifies it. + /// + [Input("scheduleName", required: true)] + public string ScheduleName { get; set; } = null!; + + /// + /// The maximum number of resources to return from the operation. Example: '$top=10'. + /// + [Input("top")] + public int? Top { get; set; } + + public GetScheduleArgs() + { + } + public static new GetScheduleArgs Empty => new GetScheduleArgs(); + } + + public sealed class GetScheduleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the pool. + /// + [Input("poolName", required: true)] + public Input PoolName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the schedule that uniquely identifies it. + /// + [Input("scheduleName", required: true)] + public Input ScheduleName { get; set; } = null!; + + /// + /// The maximum number of resources to return from the operation. Example: '$top=10'. + /// + [Input("top")] + public Input? Top { get; set; } + + public GetScheduleInvokeArgs() + { + } + public static new GetScheduleInvokeArgs Empty => new GetScheduleInvokeArgs(); + } + + + [OutputType] + public sealed class GetScheduleResult + { + /// + /// The frequency of this scheduled task. + /// + public readonly string Frequency; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Indicates whether or not this scheduled task is enabled. + /// + public readonly string? State; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The target time to trigger the action. The format is HH:MM. + /// + public readonly string Time; + /// + /// The IANA timezone id at which the schedule should execute. + /// + public readonly string TimeZone; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetScheduleResult( + string frequency, + + string id, + + string name, + + string provisioningState, + + string? state, + + Outputs.SystemDataResponse systemData, + + string time, + + string timeZone, + + string type) + { + Frequency = frequency; + Id = id; + Name = name; + ProvisioningState = provisioningState; + State = state; + SystemData = systemData; + Time = time; + TimeZone = timeZone; + Type = type; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/CustomerManagedKeyEncryptionArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/CustomerManagedKeyEncryptionArgs.cs new file mode 100644 index 000000000000..8eeda4baf852 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/CustomerManagedKeyEncryptionArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// All Customer-managed key encryption properties for the resource. + /// + public sealed class CustomerManagedKeyEncryptionArgs : global::Pulumi.ResourceArgs + { + /// + /// All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + /// + [Input("keyEncryptionKeyIdentity")] + public Input? KeyEncryptionKeyIdentity { get; set; } + + /// + /// key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + /// + [Input("keyEncryptionKeyUrl")] + public Input? KeyEncryptionKeyUrl { get; set; } + + public CustomerManagedKeyEncryptionArgs() + { + } + public static new CustomerManagedKeyEncryptionArgs Empty => new CustomerManagedKeyEncryptionArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs.cs new file mode 100644 index 000000000000..cfd2997753c9 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + /// + public sealed class CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + /// + [Input("delegatedIdentityClientId")] + public Input? DelegatedIdentityClientId { get; set; } + + /// + /// Values can be systemAssignedIdentity or userAssignedIdentity + /// + [Input("identityType")] + public InputUnion? IdentityType { get; set; } + + /// + /// user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + /// + [Input("userAssignedIdentityResourceId")] + public Input? UserAssignedIdentityResourceId { get; set; } + + public CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs() + { + } + public static new CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs Empty => new CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/EncryptionArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/EncryptionArgs.cs new file mode 100644 index 000000000000..321efcd34512 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/EncryptionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + public sealed class EncryptionArgs : global::Pulumi.ResourceArgs + { + /// + /// All Customer-managed key encryption properties for the resource. + /// + [Input("customerManagedKeyEncryption")] + public Input? CustomerManagedKeyEncryption { get; set; } + + public EncryptionArgs() + { + } + public static new EncryptionArgs Empty => new EncryptionArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/GitCatalogArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/GitCatalogArgs.cs new file mode 100644 index 000000000000..643ebf72096d --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/GitCatalogArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// Properties for a Git repository catalog. + /// + public sealed class GitCatalogArgs : global::Pulumi.ResourceArgs + { + /// + /// Git branch. + /// + [Input("branch")] + public Input? Branch { get; set; } + + /// + /// The folder where the catalog items can be found inside the repository. + /// + [Input("path")] + public Input? Path { get; set; } + + /// + /// A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + /// + [Input("secretIdentifier")] + public Input? SecretIdentifier { get; set; } + + /// + /// Git URI. + /// + [Input("uri")] + public Input? Uri { get; set; } + + public GitCatalogArgs() + { + } + public static new GitCatalogArgs Empty => new GitCatalogArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ImageReferenceArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ImageReferenceArgs.cs new file mode 100644 index 000000000000..23e5410296f4 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ImageReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// Image reference information + /// + public sealed class ImageReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + /// + [Input("id")] + public Input? Id { get; set; } + + public ImageReferenceArgs() + { + } + public static new ImageReferenceArgs Empty => new ImageReferenceArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..6eb23263d7be --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs.cs new file mode 100644 index 000000000000..38b28ae34543 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// The role definition assigned to the environment creator on backing resources. + /// + public sealed class ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs : global::Pulumi.ResourceArgs + { + [Input("roles")] + private InputList? _roles; + + /// + /// A map of roles to assign to the environment creator. + /// + public InputList Roles + { + get => _roles ?? (_roles = new InputList()); + set => _roles = value; + } + + public ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs() + { + } + public static new ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs Empty => new ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/SkuArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..49faadff0172 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/SkuArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// The resource model definition representing SKU + /// + public sealed class SkuArgs : global::Pulumi.ResourceArgs + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + [Input("family")] + public Input? Family { get; set; } + + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + [Input("size")] + public Input? Size { get; set; } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [Input("tier")] + public Input? Tier { get; set; } + + public SkuArgs() + { + } + public static new SkuArgs Empty => new SkuArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/StopOnDisconnectConfigurationArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/StopOnDisconnectConfigurationArgs.cs new file mode 100644 index 000000000000..799d98f526c6 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/StopOnDisconnectConfigurationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// Stop on disconnect configuration settings for Dev Boxes created in this pool. + /// + public sealed class StopOnDisconnectConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + /// + [Input("gracePeriodMinutes")] + public Input? GracePeriodMinutes { get; set; } + + /// + /// Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public StopOnDisconnectConfigurationArgs() + { + } + public static new StopOnDisconnectConfigurationArgs Empty => new StopOnDisconnectConfigurationArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Inputs/UserRoleAssignmentArgs.cs b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/UserRoleAssignmentArgs.cs new file mode 100644 index 000000000000..51de31a5f395 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Inputs/UserRoleAssignmentArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Inputs +{ + + /// + /// Mapping of user object ID to role assignments. + /// + public sealed class UserRoleAssignmentArgs : global::Pulumi.ResourceArgs + { + [Input("roles")] + private InputList? _roles; + + /// + /// A map of roles to assign to the parent user. + /// + public InputList Roles + { + get => _roles ?? (_roles = new InputList()); + set => _roles = value; + } + + public UserRoleAssignmentArgs() + { + } + public static new UserRoleAssignmentArgs Empty => new UserRoleAssignmentArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/NetworkConnection.cs b/sdk/dotnet/DevCenter/V20230801Preview/NetworkConnection.cs new file mode 100644 index 000000000000..2d76409723f5 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/NetworkConnection.cs @@ -0,0 +1,234 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Network related settings + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:NetworkConnection")] + public partial class NetworkConnection : global::Pulumi.CustomResource + { + /// + /// AAD Join type. + /// + [Output("domainJoinType")] + public Output DomainJoinType { get; private set; } = null!; + + /// + /// Active Directory domain name + /// + [Output("domainName")] + public Output DomainName { get; private set; } = null!; + + /// + /// The password for the account used to join domain + /// + [Output("domainPassword")] + public Output DomainPassword { get; private set; } = null!; + + /// + /// The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + /// + [Output("domainUsername")] + public Output DomainUsername { get; private set; } = null!; + + /// + /// Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. + /// + [Output("healthCheckStatus")] + public Output HealthCheckStatus { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name for resource group where NICs will be placed. + /// + [Output("networkingResourceGroupName")] + public Output NetworkingResourceGroupName { get; private set; } = null!; + + /// + /// Active Directory domain Organization Unit (OU) + /// + [Output("organizationUnit")] + public Output OrganizationUnit { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The subnet to attach Virtual Machines to + /// + [Output("subnetId")] + public Output SubnetId { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a NetworkConnection 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 NetworkConnection(string name, NetworkConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:NetworkConnection", name, args ?? new NetworkConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private NetworkConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:NetworkConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:NetworkConnection"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:NetworkConnection"}, + }, + }; + 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 NetworkConnection 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. + /// A bag of options that control this resource's behavior + public static NetworkConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new NetworkConnection(name, id, options); + } + } + + public sealed class NetworkConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// AAD Join type. + /// + [Input("domainJoinType", required: true)] + public InputUnion DomainJoinType { get; set; } = null!; + + /// + /// Active Directory domain name + /// + [Input("domainName")] + public Input? DomainName { get; set; } + + /// + /// The password for the account used to join domain + /// + [Input("domainPassword")] + public Input? DomainPassword { get; set; } + + /// + /// The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + /// + [Input("domainUsername")] + public Input? DomainUsername { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Name of the Network Connection that can be applied to a Pool. + /// + [Input("networkConnectionName")] + public Input? NetworkConnectionName { get; set; } + + /// + /// The name for resource group where NICs will be placed. + /// + [Input("networkingResourceGroupName")] + public Input? NetworkingResourceGroupName { get; set; } + + /// + /// Active Directory domain Organization Unit (OU) + /// + [Input("organizationUnit")] + public Input? OrganizationUnit { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The subnet to attach Virtual Machines to + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public NetworkConnectionArgs() + { + } + public static new NetworkConnectionArgs Empty => new NetworkConnectionArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogConflictErrorResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogConflictErrorResponse.cs new file mode 100644 index 000000000000..6c04dcb55b0d --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogConflictErrorResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// An individual conflict error. + /// + [OutputType] + public sealed class CatalogConflictErrorResponse + { + /// + /// Name of the conflicting catalog item. + /// + public readonly string Name; + /// + /// The path of the file that has a conflicting name. + /// + public readonly string Path; + + [OutputConstructor] + private CatalogConflictErrorResponse( + string name, + + string path) + { + Name = name; + Path = path; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogErrorDetailsResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogErrorDetailsResponse.cs new file mode 100644 index 000000000000..ad0f0f2be88d --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogErrorDetailsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Catalog error details + /// + [OutputType] + public sealed class CatalogErrorDetailsResponse + { + /// + /// An identifier for the error. + /// + public readonly string? Code; + /// + /// A message describing the error. + /// + public readonly string? Message; + + [OutputConstructor] + private CatalogErrorDetailsResponse( + string? code, + + string? message) + { + Code = code; + Message = message; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogSyncErrorResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogSyncErrorResponse.cs new file mode 100644 index 000000000000..ee9e55642105 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CatalogSyncErrorResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// An individual synchronization error. + /// + [OutputType] + public sealed class CatalogSyncErrorResponse + { + /// + /// Errors associated with the file. + /// + public readonly ImmutableArray ErrorDetails; + /// + /// The path of the file the error is associated with. + /// + public readonly string Path; + + [OutputConstructor] + private CatalogSyncErrorResponse( + ImmutableArray errorDetails, + + string path) + { + ErrorDetails = errorDetails; + Path = path; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CustomerManagedKeyEncryptionResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CustomerManagedKeyEncryptionResponse.cs new file mode 100644 index 000000000000..1cc95102a06f --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CustomerManagedKeyEncryptionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// All Customer-managed key encryption properties for the resource. + /// + [OutputType] + public sealed class CustomerManagedKeyEncryptionResponse + { + /// + /// All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + /// + public readonly Outputs.CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity? KeyEncryptionKeyIdentity; + /// + /// key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + /// + public readonly string? KeyEncryptionKeyUrl; + + [OutputConstructor] + private CustomerManagedKeyEncryptionResponse( + Outputs.CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity? keyEncryptionKeyIdentity, + + string? keyEncryptionKeyUrl) + { + KeyEncryptionKeyIdentity = keyEncryptionKeyIdentity; + KeyEncryptionKeyUrl = keyEncryptionKeyUrl; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity.cs new file mode 100644 index 000000000000..d8ac52f6a26e --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + /// + [OutputType] + public sealed class CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity + { + /// + /// delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + /// + public readonly string? DelegatedIdentityClientId; + /// + /// Values can be systemAssignedIdentity or userAssignedIdentity + /// + public readonly string? IdentityType; + /// + /// user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + /// + public readonly string? UserAssignedIdentityResourceId; + + [OutputConstructor] + private CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity( + string? delegatedIdentityClientId, + + string? identityType, + + string? userAssignedIdentityResourceId) + { + DelegatedIdentityClientId = delegatedIdentityClientId; + IdentityType = identityType; + UserAssignedIdentityResourceId = userAssignedIdentityResourceId; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/EncryptionResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/EncryptionResponse.cs new file mode 100644 index 000000000000..a54b19621db6 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/EncryptionResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + [OutputType] + public sealed class EncryptionResponse + { + /// + /// All Customer-managed key encryption properties for the resource. + /// + public readonly Outputs.CustomerManagedKeyEncryptionResponse? CustomerManagedKeyEncryption; + + [OutputConstructor] + private EncryptionResponse(Outputs.CustomerManagedKeyEncryptionResponse? customerManagedKeyEncryption) + { + CustomerManagedKeyEncryption = customerManagedKeyEncryption; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/EnvironmentRoleResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/EnvironmentRoleResponse.cs new file mode 100644 index 000000000000..6b583c8f96d3 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/EnvironmentRoleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// A role that can be assigned to a user. + /// + [OutputType] + public sealed class EnvironmentRoleResponse + { + /// + /// This is a description of the Role Assignment. + /// + public readonly string Description; + /// + /// The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'. + /// + public readonly string RoleName; + + [OutputConstructor] + private EnvironmentRoleResponse( + string description, + + string roleName) + { + Description = description; + RoleName = roleName; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/GitCatalogResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/GitCatalogResponse.cs new file mode 100644 index 000000000000..4fe55b10dd92 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/GitCatalogResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Properties for a Git repository catalog. + /// + [OutputType] + public sealed class GitCatalogResponse + { + /// + /// Git branch. + /// + public readonly string? Branch; + /// + /// The folder where the catalog items can be found inside the repository. + /// + public readonly string? Path; + /// + /// A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + /// + public readonly string? SecretIdentifier; + /// + /// Git URI. + /// + public readonly string? Uri; + + [OutputConstructor] + private GitCatalogResponse( + string? branch, + + string? path, + + string? secretIdentifier, + + string? uri) + { + Branch = branch; + Path = path; + SecretIdentifier = secretIdentifier; + Uri = uri; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/HealthStatusDetailResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/HealthStatusDetailResponse.cs new file mode 100644 index 000000000000..5749c879b718 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/HealthStatusDetailResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Pool health status detail. + /// + [OutputType] + public sealed class HealthStatusDetailResponse + { + /// + /// An identifier for the issue. + /// + public readonly string Code; + /// + /// A message describing the issue, intended to be suitable for display in a user interface + /// + public readonly string Message; + + [OutputConstructor] + private HealthStatusDetailResponse( + string code, + + string message) + { + Code = code; + Message = message; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ImageReferenceResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ImageReferenceResponse.cs new file mode 100644 index 000000000000..c89a39cd47a9 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ImageReferenceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Image reference information + /// + [OutputType] + public sealed class ImageReferenceResponse + { + /// + /// The actual version of the image after use. When id references a gallery image latest version, this will indicate the actual version in use. + /// + public readonly string ExactVersion; + /// + /// Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + /// + public readonly string? Id; + + [OutputConstructor] + private ImageReferenceResponse( + string exactVersion, + + string? id) + { + ExactVersion = exactVersion; + Id = id; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ImageValidationErrorDetailsResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ImageValidationErrorDetailsResponse.cs new file mode 100644 index 000000000000..8047aa8f7c0f --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ImageValidationErrorDetailsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Image validation error details + /// + [OutputType] + public sealed class ImageValidationErrorDetailsResponse + { + /// + /// An identifier for the error. + /// + public readonly string? Code; + /// + /// A message describing the error. + /// + public readonly string? Message; + + [OutputConstructor] + private ImageValidationErrorDetailsResponse( + string? code, + + string? message) + { + Code = code; + Message = message; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..612c104529fa --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + public readonly string Type; + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment.cs new file mode 100644 index 000000000000..abd0d796ee0b --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// The role definition assigned to the environment creator on backing resources. + /// + [OutputType] + public sealed class ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment + { + /// + /// A map of roles to assign to the environment creator. + /// + public readonly ImmutableDictionary? Roles; + + [OutputConstructor] + private ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment(ImmutableDictionary? roles) + { + Roles = roles; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SkuResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..ae9f16c50718 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SkuResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// The resource model definition representing SKU + /// + [OutputType] + public sealed class SkuResponse + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + public readonly int? Capacity; + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + public readonly string? Family; + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + public readonly string Name; + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + public readonly string? Size; + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + public readonly string? Tier; + + [OutputConstructor] + private SkuResponse( + int? capacity, + + string? family, + + string name, + + string? size, + + string? tier) + { + Capacity = capacity; + Family = family; + Name = name; + Size = size; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/StopOnDisconnectConfigurationResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/StopOnDisconnectConfigurationResponse.cs new file mode 100644 index 000000000000..5ff0fbc4ea2f --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/StopOnDisconnectConfigurationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Stop on disconnect configuration settings for Dev Boxes created in this pool. + /// + [OutputType] + public sealed class StopOnDisconnectConfigurationResponse + { + /// + /// The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + /// + public readonly int? GracePeriodMinutes; + /// + /// Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + /// + public readonly string? Status; + + [OutputConstructor] + private StopOnDisconnectConfigurationResponse( + int? gracePeriodMinutes, + + string? status) + { + GracePeriodMinutes = gracePeriodMinutes; + Status = status; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SyncStatsResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SyncStatsResponse.cs new file mode 100644 index 000000000000..7a990dd55c1b --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SyncStatsResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Stats of the synchronization. + /// + [OutputType] + public sealed class SyncStatsResponse + { + /// + /// Count of catalog items added during synchronization. + /// + public readonly int Added; + /// + /// Count of catalog items removed during synchronization. + /// + public readonly int Removed; + /// + /// Count of synchronization errors that occured during synchronization. + /// + public readonly int SynchronizationErrors; + /// + /// Count of catalog items that were unchanged during synchronization. + /// + public readonly int Unchanged; + /// + /// Count of catalog items updated during synchronization. + /// + public readonly int Updated; + /// + /// Count of catalog items that had validation errors during synchronization. + /// + public readonly int ValidationErrors; + + [OutputConstructor] + private SyncStatsResponse( + int added, + + int removed, + + int synchronizationErrors, + + int unchanged, + + int updated, + + int validationErrors) + { + Added = added; + Removed = removed; + SynchronizationErrors = synchronizationErrors; + Unchanged = unchanged; + Updated = updated; + ValidationErrors = validationErrors; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..a2c5bdcf2f04 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..ec054ffad05a --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Outputs/UserRoleAssignmentResponse.cs b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/UserRoleAssignmentResponse.cs new file mode 100644 index 000000000000..aece9b417afa --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Outputs/UserRoleAssignmentResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview.Outputs +{ + + /// + /// Mapping of user object ID to role assignments. + /// + [OutputType] + public sealed class UserRoleAssignmentResponse + { + /// + /// A map of roles to assign to the parent user. + /// + public readonly ImmutableDictionary? Roles; + + [OutputConstructor] + private UserRoleAssignmentResponse(ImmutableDictionary? roles) + { + Roles = roles; + } + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Pool.cs b/sdk/dotnet/DevCenter/V20230801Preview/Pool.cs new file mode 100644 index 000000000000..f4ff1d8a7e2d --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Pool.cs @@ -0,0 +1,240 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// A pool of Virtual Machines. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:Pool")] + public partial class Pool : global::Pulumi.CustomResource + { + /// + /// Indicates the number of provisioned Dev Boxes in this pool. + /// + [Output("devBoxCount")] + public Output DevBoxCount { get; private set; } = null!; + + /// + /// Name of a Dev Box definition in parent Project of this Pool + /// + [Output("devBoxDefinitionName")] + public Output DevBoxDefinitionName { get; private set; } = null!; + + /// + /// Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. + /// + [Output("healthStatus")] + public Output HealthStatus { get; private set; } = null!; + + /// + /// Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state + /// + [Output("healthStatusDetails")] + public Output> HealthStatusDetails { get; private set; } = null!; + + /// + /// Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + /// + [Output("licenseType")] + public Output LicenseType { get; private set; } = null!; + + /// + /// Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + /// + [Output("localAdministrator")] + public Output LocalAdministrator { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Name of a Network Connection in parent Project of this Pool + /// + [Output("networkConnectionName")] + public Output NetworkConnectionName { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + /// + [Output("singleSignOnStatus")] + public Output SingleSignOnStatus { get; private set; } = null!; + + /// + /// Stop on disconnect configuration settings for Dev Boxes created in this pool. + /// + [Output("stopOnDisconnect")] + public Output StopOnDisconnect { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Pool 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 Pool(string name, PoolArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Pool", name, args ?? new PoolArgs(), MakeResourceOptions(options, "")) + { + } + + private Pool(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Pool", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Pool"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Pool"}, + }, + }; + 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 Pool 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. + /// A bag of options that control this resource's behavior + public static Pool Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Pool(name, id, options); + } + } + + public sealed class PoolArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of a Dev Box definition in parent Project of this Pool + /// + [Input("devBoxDefinitionName", required: true)] + public Input DevBoxDefinitionName { get; set; } = null!; + + /// + /// Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + /// + [Input("licenseType", required: true)] + public InputUnion LicenseType { get; set; } = null!; + + /// + /// Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + /// + [Input("localAdministrator", required: true)] + public InputUnion LocalAdministrator { get; set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Name of a Network Connection in parent Project of this Pool + /// + [Input("networkConnectionName", required: true)] + public Input NetworkConnectionName { get; set; } = null!; + + /// + /// Name of the pool. + /// + [Input("poolName")] + public Input? PoolName { get; set; } + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + /// + [Input("singleSignOnStatus")] + public InputUnion? SingleSignOnStatus { get; set; } + + /// + /// Stop on disconnect configuration settings for Dev Boxes created in this pool. + /// + [Input("stopOnDisconnect")] + public Input? StopOnDisconnect { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public PoolArgs() + { + } + public static new PoolArgs Empty => new PoolArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Project.cs b/sdk/dotnet/DevCenter/V20230801Preview/Project.cs new file mode 100644 index 000000000000..c2ae36d3ae27 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Project.cs @@ -0,0 +1,186 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents a project resource. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:Project")] + public partial class Project : global::Pulumi.CustomResource + { + /// + /// Description of the project. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Resource Id of an associated DevCenter + /// + [Output("devCenterId")] + public Output DevCenterId { get; private set; } = null!; + + /// + /// The URI of the Dev Center resource this project is associated with. + /// + [Output("devCenterUri")] + public Output DevCenterUri { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + /// + [Output("maxDevBoxesPerUser")] + public Output MaxDevBoxesPerUser { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Project 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 Project(string name, ProjectArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Project", name, args ?? new ProjectArgs(), MakeResourceOptions(options, "")) + { + } + + private Project(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Project", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Project"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Project"}, + }, + }; + 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 Project 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. + /// A bag of options that control this resource's behavior + public static Project Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Project(name, id, options); + } + } + + public sealed class ProjectArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the project. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Resource Id of an associated DevCenter + /// + [Input("devCenterId")] + public Input? DevCenterId { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + /// + [Input("maxDevBoxesPerUser")] + public Input? MaxDevBoxesPerUser { get; set; } + + /// + /// The name of the project. + /// + [Input("projectName")] + public Input? ProjectName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ProjectArgs() + { + } + public static new ProjectArgs Empty => new ProjectArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/ProjectEnvironmentType.cs b/sdk/dotnet/DevCenter/V20230801Preview/ProjectEnvironmentType.cs new file mode 100644 index 000000000000..a1da1e9e3863 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/ProjectEnvironmentType.cs @@ -0,0 +1,216 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents an environment type. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:ProjectEnvironmentType")] + public partial class ProjectEnvironmentType : global::Pulumi.CustomResource + { + /// + /// The role definition assigned to the environment creator on backing resources. + /// + [Output("creatorRoleAssignment")] + public Output CreatorRoleAssignment { get; private set; } = null!; + + /// + /// Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + /// + [Output("deploymentTargetId")] + public Output DeploymentTargetId { get; private set; } = null!; + + /// + /// Managed identity properties + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The geo-location for the environment type + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Defines whether this Environment Type can be used in this Project. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + /// + [Output("userRoleAssignments")] + public Output?> UserRoleAssignments { get; private set; } = null!; + + + /// + /// Create a ProjectEnvironmentType 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 ProjectEnvironmentType(string name, ProjectEnvironmentTypeArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:ProjectEnvironmentType", name, args ?? new ProjectEnvironmentTypeArgs(), MakeResourceOptions(options, "")) + { + } + + private ProjectEnvironmentType(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:ProjectEnvironmentType", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:ProjectEnvironmentType"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:ProjectEnvironmentType"}, + }, + }; + 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 ProjectEnvironmentType 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. + /// A bag of options that control this resource's behavior + public static ProjectEnvironmentType Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ProjectEnvironmentType(name, id, options); + } + } + + public sealed class ProjectEnvironmentTypeArgs : global::Pulumi.ResourceArgs + { + /// + /// The role definition assigned to the environment creator on backing resources. + /// + [Input("creatorRoleAssignment")] + public Input? CreatorRoleAssignment { get; set; } + + /// + /// Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + /// + [Input("deploymentTargetId")] + public Input? DeploymentTargetId { get; set; } + + /// + /// The name of the environment type. + /// + [Input("environmentTypeName")] + public Input? EnvironmentTypeName { get; set; } + + /// + /// Managed identity properties + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The geo-location for the environment type + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Defines whether this Environment Type can be used in this Project. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("userRoleAssignments")] + private InputMap? _userRoleAssignments; + + /// + /// Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + /// + public InputMap UserRoleAssignments + { + get => _userRoleAssignments ?? (_userRoleAssignments = new InputMap()); + set => _userRoleAssignments = value; + } + + public ProjectEnvironmentTypeArgs() + { + } + public static new ProjectEnvironmentTypeArgs Empty => new ProjectEnvironmentTypeArgs(); + } +} diff --git a/sdk/dotnet/DevCenter/V20230801Preview/README.md b/sdk/dotnet/DevCenter/V20230801Preview/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/DevCenter/V20230801Preview/Schedule.cs b/sdk/dotnet/DevCenter/V20230801Preview/Schedule.cs new file mode 100644 index 000000000000..46e51008e613 --- /dev/null +++ b/sdk/dotnet/DevCenter/V20230801Preview/Schedule.cs @@ -0,0 +1,186 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DevCenter.V20230801Preview +{ + /// + /// Represents a Schedule to execute a task. + /// + [AzureNativeResourceType("azure-native:devcenter/v20230801preview:Schedule")] + public partial class Schedule : global::Pulumi.CustomResource + { + /// + /// The frequency of this scheduled task. + /// + [Output("frequency")] + public Output Frequency { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Indicates whether or not this scheduled task is enabled. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The target time to trigger the action. The format is HH:MM. + /// + [Output("time")] + public Output Time { get; private set; } = null!; + + /// + /// The IANA timezone id at which the schedule should execute. + /// + [Output("timeZone")] + public Output TimeZone { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Schedule 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 Schedule(string name, ScheduleArgs args, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Schedule", name, args ?? new ScheduleArgs(), MakeResourceOptions(options, "")) + { + } + + private Schedule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:devcenter/v20230801preview:Schedule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:devcenter:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220801preview:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20220901preview:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221012preview:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20221111preview:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230101preview:Schedule"}, + new global::Pulumi.Alias { Type = "azure-native:devcenter/v20230401:Schedule"}, + }, + }; + 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 Schedule 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. + /// A bag of options that control this resource's behavior + public static Schedule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Schedule(name, id, options); + } + } + + public sealed class ScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// The frequency of this scheduled task. + /// + [Input("frequency", required: true)] + public InputUnion Frequency { get; set; } = null!; + + /// + /// Name of the pool. + /// + [Input("poolName", required: true)] + public Input PoolName { get; set; } = null!; + + /// + /// The name of the project. + /// + [Input("projectName", required: true)] + public Input ProjectName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the schedule that uniquely identifies it. + /// + [Input("scheduleName")] + public Input? ScheduleName { get; set; } + + /// + /// Indicates whether or not this scheduled task is enabled. + /// + [Input("state")] + public InputUnion? State { get; set; } + + /// + /// The target time to trigger the action. The format is HH:MM. + /// + [Input("time", required: true)] + public Input Time { get; set; } = null!; + + /// + /// The IANA timezone id at which the schedule should execute. + /// + [Input("timeZone", required: true)] + public Input TimeZone { get; set; } = null!; + + /// + /// The maximum number of resources to return from the operation. Example: '$top=10'. + /// + [Input("top")] + public Input? Top { get; set; } + + /// + /// Supported type this scheduled task represents. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + public ScheduleArgs() + { + } + public static new ScheduleArgs Empty => new ScheduleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/CassandraCluster.cs b/sdk/dotnet/DocumentDB/CassandraCluster.cs index 1335397e7371..1c8afe0e18ea 100644 --- a/sdk/dotnet/DocumentDB/CassandraCluster.cs +++ b/sdk/dotnet/DocumentDB/CassandraCluster.cs @@ -94,6 +94,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/CassandraDataCenter.cs b/sdk/dotnet/DocumentDB/CassandraDataCenter.cs index 49ccd7591c62..39f63e42accc 100644 --- a/sdk/dotnet/DocumentDB/CassandraDataCenter.cs +++ b/sdk/dotnet/DocumentDB/CassandraDataCenter.cs @@ -76,6 +76,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraDataCenter"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraDataCenter"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraDataCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/CassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/CassandraResourceCassandraKeyspace.cs index ca3277a45f41..68fad10dd1f9 100644 --- a/sdk/dotnet/DocumentDB/CassandraResourceCassandraKeyspace.cs +++ b/sdk/dotnet/DocumentDB/CassandraResourceCassandraKeyspace.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/CassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/CassandraResourceCassandraTable.cs index c4f164ba3a41..d3f561015133 100644 --- a/sdk/dotnet/DocumentDB/CassandraResourceCassandraTable.cs +++ b/sdk/dotnet/DocumentDB/CassandraResourceCassandraTable.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/CassandraResourceCassandraView.cs b/sdk/dotnet/DocumentDB/CassandraResourceCassandraView.cs index 7c6c17439b81..08eb15778edf 100644 --- a/sdk/dotnet/DocumentDB/CassandraResourceCassandraView.cs +++ b/sdk/dotnet/DocumentDB/CassandraResourceCassandraView.cs @@ -86,6 +86,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/DatabaseAccount.cs b/sdk/dotnet/DocumentDB/DatabaseAccount.cs index 76dd7ae763a4..a3b690ae9244 100644 --- a/sdk/dotnet/DocumentDB/DatabaseAccount.cs +++ b/sdk/dotnet/DocumentDB/DatabaseAccount.cs @@ -338,6 +338,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:DatabaseAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/GraphResourceGraph.cs b/sdk/dotnet/DocumentDB/GraphResourceGraph.cs index 4d8079f31b56..983a1a5877c1 100644 --- a/sdk/dotnet/DocumentDB/GraphResourceGraph.cs +++ b/sdk/dotnet/DocumentDB/GraphResourceGraph.cs @@ -86,6 +86,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GraphResourceGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GraphResourceGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GraphResourceGraph"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/GremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/GremlinResourceGremlinDatabase.cs index d46bc454454d..34e0c4f21d77 100644 --- a/sdk/dotnet/DocumentDB/GremlinResourceGremlinDatabase.cs +++ b/sdk/dotnet/DocumentDB/GremlinResourceGremlinDatabase.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/GremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/GremlinResourceGremlinGraph.cs index ffa4fb363745..b71a8f8d4ae5 100644 --- a/sdk/dotnet/DocumentDB/GremlinResourceGremlinGraph.cs +++ b/sdk/dotnet/DocumentDB/GremlinResourceGremlinGraph.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/MongoCluster.cs b/sdk/dotnet/DocumentDB/MongoCluster.cs index 0ab1b376e53b..15dc10e22adf 100644 --- a/sdk/dotnet/DocumentDB/MongoCluster.cs +++ b/sdk/dotnet/DocumentDB/MongoCluster.cs @@ -115,6 +115,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/MongoClusterFirewallRule.cs b/sdk/dotnet/DocumentDB/MongoClusterFirewallRule.cs index c8c0298c5f76..a5da438223c9 100644 --- a/sdk/dotnet/DocumentDB/MongoClusterFirewallRule.cs +++ b/sdk/dotnet/DocumentDB/MongoClusterFirewallRule.cs @@ -79,6 +79,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoClusterFirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBCollection.cs index d1a16c1b04bb..6e94c6206170 100644 --- a/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBCollection.cs +++ b/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBCollection.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBDatabase.cs index 9cd30b20f8ee..5a3fb30de155 100644 --- a/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBDatabase.cs +++ b/sdk/dotnet/DocumentDB/MongoDBResourceMongoDBDatabase.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/MongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/MongoDBResourceMongoRoleDefinition.cs index 885d02e0efb0..a3740c6b946c 100644 --- a/sdk/dotnet/DocumentDB/MongoDBResourceMongoRoleDefinition.cs +++ b/sdk/dotnet/DocumentDB/MongoDBResourceMongoRoleDefinition.cs @@ -89,6 +89,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/MongoDBResourceMongoUserDefinition.cs b/sdk/dotnet/DocumentDB/MongoDBResourceMongoUserDefinition.cs index 9ef6a2b783f5..4ead5fd9f926 100644 --- a/sdk/dotnet/DocumentDB/MongoDBResourceMongoUserDefinition.cs +++ b/sdk/dotnet/DocumentDB/MongoDBResourceMongoUserDefinition.cs @@ -101,6 +101,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/NotebookWorkspace.cs b/sdk/dotnet/DocumentDB/NotebookWorkspace.cs index 1b70a94a86dd..b16528c68870 100644 --- a/sdk/dotnet/DocumentDB/NotebookWorkspace.cs +++ b/sdk/dotnet/DocumentDB/NotebookWorkspace.cs @@ -93,6 +93,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:NotebookWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:NotebookWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:NotebookWorkspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/PrivateEndpointConnection.cs b/sdk/dotnet/DocumentDB/PrivateEndpointConnection.cs index 1fc837834111..daabfa000ec9 100644 --- a/sdk/dotnet/DocumentDB/PrivateEndpointConnection.cs +++ b/sdk/dotnet/DocumentDB/PrivateEndpointConnection.cs @@ -100,6 +100,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/Service.cs b/sdk/dotnet/DocumentDB/Service.cs index 6b030bf63950..ece401fe7b2b 100644 --- a/sdk/dotnet/DocumentDB/Service.cs +++ b/sdk/dotnet/DocumentDB/Service.cs @@ -74,6 +74,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:Service"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:Service"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlContainer.cs index 72c5229d3a4c..526158ecd553 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlContainer.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlContainer.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlContainer"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlDatabase.cs index 08410cfd930b..bef720b9fe8d 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlDatabase.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlDatabase.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlRoleAssignment.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlRoleAssignment.cs index 044683491ca2..885bbf6e6853 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlRoleAssignment.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlRoleAssignment.cs @@ -92,6 +92,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlRoleDefinition.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlRoleDefinition.cs index 2b0f2cd56cf5..641f59435a4b 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlRoleDefinition.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlRoleDefinition.cs @@ -92,6 +92,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlStoredProcedure.cs index 4ff3de8285b9..d4136a6687a2 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlStoredProcedure.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlStoredProcedure.cs @@ -96,6 +96,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlTrigger.cs index c82685573cd0..36ed5f181839 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlTrigger.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlTrigger.cs @@ -96,6 +96,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlTrigger"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/SqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/SqlResourceSqlUserDefinedFunction.cs index 59359d8321f9..c8ae256392f8 100644 --- a/sdk/dotnet/DocumentDB/SqlResourceSqlUserDefinedFunction.cs +++ b/sdk/dotnet/DocumentDB/SqlResourceSqlUserDefinedFunction.cs @@ -96,6 +96,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/TableResourceTable.cs b/sdk/dotnet/DocumentDB/TableResourceTable.cs index 780937637d2a..adbf4743e163 100644 --- a/sdk/dotnet/DocumentDB/TableResourceTable.cs +++ b/sdk/dotnet/DocumentDB/TableResourceTable.cs @@ -104,6 +104,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:TableResourceTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:TableResourceTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:TableResourceTable"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20210401Preview/DatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20210401Preview/DatabaseAccount.cs index 5f464b369996..a76f0a392382 100644 --- a/sdk/dotnet/DocumentDB/V20210401Preview/DatabaseAccount.cs +++ b/sdk/dotnet/DocumentDB/V20210401Preview/DatabaseAccount.cs @@ -301,6 +301,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:DatabaseAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20210701Preview/CassandraCluster.cs b/sdk/dotnet/DocumentDB/V20210701Preview/CassandraCluster.cs index d10848a65457..11d13d8d6ea5 100644 --- a/sdk/dotnet/DocumentDB/V20210701Preview/CassandraCluster.cs +++ b/sdk/dotnet/DocumentDB/V20210701Preview/CassandraCluster.cs @@ -93,6 +93,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230301Preview/MongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230301Preview/MongoDBResourceMongoRoleDefinition.cs index f9a089f7bfcd..50f63be703ce 100644 --- a/sdk/dotnet/DocumentDB/V20230301Preview/MongoDBResourceMongoRoleDefinition.cs +++ b/sdk/dotnet/DocumentDB/V20230301Preview/MongoDBResourceMongoRoleDefinition.cs @@ -88,6 +88,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraKeyspace.cs index 246c8a19f93e..7074e9bd3247 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraKeyspace.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraKeyspace.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraTable.cs index 85ca55a07e57..922a5bb3a2c3 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraTable.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraTable.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraView.cs b/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraView.cs index 54459f0ade41..5b1f9ef669f0 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraView.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/CassandraResourceCassandraView.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/DatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20230315Preview/DatabaseAccount.cs index fdd8e0dfd83f..f6291724b2cb 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/DatabaseAccount.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/DatabaseAccount.cs @@ -355,6 +355,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:DatabaseAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/GraphResourceGraph.cs b/sdk/dotnet/DocumentDB/V20230315Preview/GraphResourceGraph.cs index 75005745fbdd..eb03ccfe2179 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/GraphResourceGraph.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/GraphResourceGraph.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:GraphResourceGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GraphResourceGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GraphResourceGraph"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinDatabase.cs index 7e2dcd30200a..8556a49e80dd 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinDatabase.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinDatabase.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinGraph.cs index d71da4b4a4c3..eb48f1fd053c 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinGraph.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/GremlinResourceGremlinGraph.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/MongoCluster.cs b/sdk/dotnet/DocumentDB/V20230315Preview/MongoCluster.cs index 709480c58540..0ffe50ff8faf 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/MongoCluster.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/MongoCluster.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/MongoClusterFirewallRule.cs b/sdk/dotnet/DocumentDB/V20230315Preview/MongoClusterFirewallRule.cs index d95089608005..1252db9ba145 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/MongoClusterFirewallRule.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/MongoClusterFirewallRule.cs @@ -78,6 +78,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoClusterFirewallRule"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBCollection.cs index a637b2636d23..3be128af03d2 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBCollection.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBCollection.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBDatabase.cs index 21cdf98a149f..774ce622af71 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBDatabase.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/MongoDBResourceMongoDBDatabase.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlContainer.cs index ed9e9759a0a5..c8dbcc51f532 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlContainer.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlContainer.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlContainer"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlDatabase.cs index 4004f37f77aa..5a323a56f546 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlDatabase.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlDatabase.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlStoredProcedure.cs index 352899de821b..66b46c7d5c97 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlStoredProcedure.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlStoredProcedure.cs @@ -101,6 +101,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlTrigger.cs index fa659bbf8099..a63149ef2af9 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlTrigger.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlTrigger.cs @@ -101,6 +101,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlTrigger"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlUserDefinedFunction.cs index 5fd5a72cfff6..6fcda25a0391 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlUserDefinedFunction.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/SqlResourceSqlUserDefinedFunction.cs @@ -101,6 +101,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230315Preview/TableResourceTable.cs b/sdk/dotnet/DocumentDB/V20230315Preview/TableResourceTable.cs index 7f78cbd85177..4496884f0847 100644 --- a/sdk/dotnet/DocumentDB/V20230315Preview/TableResourceTable.cs +++ b/sdk/dotnet/DocumentDB/V20230315Preview/TableResourceTable.cs @@ -109,6 +109,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:TableResourceTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:TableResourceTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:TableResourceTable"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/CassandraCluster.cs b/sdk/dotnet/DocumentDB/V20230415/CassandraCluster.cs index 50d6dd14d218..a147bd33acfa 100644 --- a/sdk/dotnet/DocumentDB/V20230415/CassandraCluster.cs +++ b/sdk/dotnet/DocumentDB/V20230415/CassandraCluster.cs @@ -93,6 +93,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraCluster"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraCluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/CassandraDataCenter.cs b/sdk/dotnet/DocumentDB/V20230415/CassandraDataCenter.cs index cce96549e38d..9ed5bb5198e5 100644 --- a/sdk/dotnet/DocumentDB/V20230415/CassandraDataCenter.cs +++ b/sdk/dotnet/DocumentDB/V20230415/CassandraDataCenter.cs @@ -75,6 +75,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraDataCenter"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraDataCenter"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraDataCenter"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraKeyspace.cs index 1ee846c416c0..e5581f2ec6f8 100644 --- a/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraKeyspace.cs +++ b/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraKeyspace.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraTable.cs index 031f1bc0aafe..93d1e8f00d85 100644 --- a/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraTable.cs +++ b/sdk/dotnet/DocumentDB/V20230415/CassandraResourceCassandraTable.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/DatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20230415/DatabaseAccount.cs index 4b09a5885e6b..54bdcf959edb 100644 --- a/sdk/dotnet/DocumentDB/V20230415/DatabaseAccount.cs +++ b/sdk/dotnet/DocumentDB/V20230415/DatabaseAccount.cs @@ -337,6 +337,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:DatabaseAccount"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:DatabaseAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinDatabase.cs index 0e5093d359d1..e1e5c50c49a5 100644 --- a/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinDatabase.cs +++ b/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinDatabase.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinGraph.cs index c791784e7337..d03d785f0815 100644 --- a/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinGraph.cs +++ b/sdk/dotnet/DocumentDB/V20230415/GremlinResourceGremlinGraph.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBCollection.cs index 0147afb21a45..de697945573d 100644 --- a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBCollection.cs +++ b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBCollection.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBDatabase.cs index fc27b34ebe42..4da4dba1b3e2 100644 --- a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBDatabase.cs +++ b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoDBDatabase.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoRoleDefinition.cs index e205910ac42d..78a53a9dd8fa 100644 --- a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoRoleDefinition.cs +++ b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoRoleDefinition.cs @@ -88,6 +88,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoUserDefinition.cs b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoUserDefinition.cs index a1f2baac8043..c0bac1fb97f8 100644 --- a/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoUserDefinition.cs +++ b/sdk/dotnet/DocumentDB/V20230415/MongoDBResourceMongoUserDefinition.cs @@ -100,6 +100,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/NotebookWorkspace.cs b/sdk/dotnet/DocumentDB/V20230415/NotebookWorkspace.cs index 6080f12fc63f..9ef3a99d86f3 100644 --- a/sdk/dotnet/DocumentDB/V20230415/NotebookWorkspace.cs +++ b/sdk/dotnet/DocumentDB/V20230415/NotebookWorkspace.cs @@ -92,6 +92,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:NotebookWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:NotebookWorkspace"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:NotebookWorkspace"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/PrivateEndpointConnection.cs b/sdk/dotnet/DocumentDB/V20230415/PrivateEndpointConnection.cs index a34742b7a134..d13ccde2f33a 100644 --- a/sdk/dotnet/DocumentDB/V20230415/PrivateEndpointConnection.cs +++ b/sdk/dotnet/DocumentDB/V20230415/PrivateEndpointConnection.cs @@ -99,6 +99,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/Service.cs b/sdk/dotnet/DocumentDB/V20230415/Service.cs index 2305d3fd96c2..b00862422c69 100644 --- a/sdk/dotnet/DocumentDB/V20230415/Service.cs +++ b/sdk/dotnet/DocumentDB/V20230415/Service.cs @@ -73,6 +73,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:Service"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:Service"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlContainer.cs index 7f589b2f96ed..1bb5adedec72 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlContainer.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlContainer.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlContainer"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlDatabase.cs index a1ea202b0f6b..8990ead33cd7 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlDatabase.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlDatabase.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlDatabase"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleAssignment.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleAssignment.cs index 9a9ac24703c7..dcadc7c872db 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleAssignment.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleAssignment.cs @@ -91,6 +91,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleDefinition.cs index bfd124ff9934..ac7bba3db52a 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleDefinition.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlRoleDefinition.cs @@ -91,6 +91,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlStoredProcedure.cs index 8567a1f13278..21779049a9ba 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlStoredProcedure.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlStoredProcedure.cs @@ -95,6 +95,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlTrigger.cs index 3e844875a9d1..75377958b0f7 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlTrigger.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlTrigger.cs @@ -95,6 +95,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlTrigger"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlUserDefinedFunction.cs index 894bc7925cb3..c6377ab699fb 100644 --- a/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlUserDefinedFunction.cs +++ b/sdk/dotnet/DocumentDB/V20230415/SqlResourceSqlUserDefinedFunction.cs @@ -95,6 +95,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230415/TableResourceTable.cs b/sdk/dotnet/DocumentDB/V20230415/TableResourceTable.cs index 05fbf137329c..9ce5d5383446 100644 --- a/sdk/dotnet/DocumentDB/V20230415/TableResourceTable.cs +++ b/sdk/dotnet/DocumentDB/V20230415/TableResourceTable.cs @@ -103,6 +103,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:TableResourceTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:TableResourceTable"}, new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:TableResourceTable"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/DocumentDB/V20230915/CassandraCluster.cs b/sdk/dotnet/DocumentDB/V20230915/CassandraCluster.cs new file mode 100644 index 000000000000..875357ec2a00 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/CassandraCluster.cs @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// Representation of a managed Cassandra cluster. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:CassandraCluster")] + public partial class CassandraCluster : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of a managed Cassandra cluster. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraCluster 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 CassandraCluster(string name, CassandraClusterArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraCluster", name, args ?? new CassandraClusterArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraCluster(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraCluster", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraCluster"}, + }, + }; + 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 CassandraCluster 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. + /// A bag of options that control this resource's behavior + public static CassandraCluster Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraCluster(name, id, options); + } + } + + public sealed class CassandraClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName")] + public Input? ClusterName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Properties of a managed Cassandra cluster. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CassandraClusterArgs() + { + } + public static new CassandraClusterArgs Empty => new CassandraClusterArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/CassandraDataCenter.cs b/sdk/dotnet/DocumentDB/V20230915/CassandraDataCenter.cs new file mode 100644 index 000000000000..0e5bbd899992 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/CassandraDataCenter.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// A managed Cassandra data center. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:CassandraDataCenter")] + public partial class CassandraDataCenter : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of a managed Cassandra data center. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraDataCenter 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 CassandraDataCenter(string name, CassandraDataCenterArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraDataCenter", name, args ?? new CassandraDataCenterArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraDataCenter(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraDataCenter", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraDataCenter"}, + }, + }; + 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 CassandraDataCenter 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. + /// A bag of options that control this resource's behavior + public static CassandraDataCenter Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraDataCenter(name, id, options); + } + } + + public sealed class CassandraDataCenterArgs : global::Pulumi.ResourceArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// Data center name in a managed Cassandra cluster. + /// + [Input("dataCenterName")] + public Input? DataCenterName { get; set; } + + /// + /// Properties of a managed Cassandra data center. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public CassandraDataCenterArgs() + { + } + public static new CassandraDataCenterArgs Empty => new CassandraDataCenterArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/CassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/V20230915/CassandraResourceCassandraKeyspace.cs new file mode 100644 index 000000000000..7c702a988f3b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/CassandraResourceCassandraKeyspace.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Cassandra keyspace. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace")] + public partial class CassandraResourceCassandraKeyspace : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraResourceCassandraKeyspace 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 CassandraResourceCassandraKeyspace(string name, CassandraResourceCassandraKeyspaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace", name, args ?? new CassandraResourceCassandraKeyspaceArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraResourceCassandraKeyspace(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace"}, + }, + }; + 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 CassandraResourceCassandraKeyspace 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. + /// A bag of options that control this resource's behavior + public static CassandraResourceCassandraKeyspace Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraResourceCassandraKeyspace(name, id, options); + } + } + + public sealed class CassandraResourceCassandraKeyspaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName")] + public Input? KeyspaceName { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Cassandra keyspace + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CassandraResourceCassandraKeyspaceArgs() + { + } + public static new CassandraResourceCassandraKeyspaceArgs Empty => new CassandraResourceCassandraKeyspaceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/CassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/V20230915/CassandraResourceCassandraTable.cs new file mode 100644 index 000000000000..8e906f1dfd49 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/CassandraResourceCassandraTable.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Cassandra table. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:CassandraResourceCassandraTable")] + public partial class CassandraResourceCassandraTable : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraResourceCassandraTable 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 CassandraResourceCassandraTable(string name, CassandraResourceCassandraTableArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraResourceCassandraTable", name, args ?? new CassandraResourceCassandraTableArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraResourceCassandraTable(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:CassandraResourceCassandraTable", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable"}, + }, + }; + 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 CassandraResourceCassandraTable 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. + /// A bag of options that control this resource's behavior + public static CassandraResourceCassandraTable Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraResourceCassandraTable(name, id, options); + } + } + + public sealed class CassandraResourceCassandraTableArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Cassandra table + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CassandraResourceCassandraTableArgs() + { + } + public static new CassandraResourceCassandraTableArgs Empty => new CassandraResourceCassandraTableArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/DatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20230915/DatabaseAccount.cs new file mode 100644 index 000000000000..f803ecdb4d8c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/DatabaseAccount.cs @@ -0,0 +1,648 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB database account. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:DatabaseAccount")] + public partial class DatabaseAccount : global::Pulumi.CustomResource + { + /// + /// Analytical storage specific properties. + /// + [Output("analyticalStorageConfiguration")] + public Output AnalyticalStorageConfiguration { get; private set; } = null!; + + /// + /// API specific properties. + /// + [Output("apiProperties")] + public Output ApiProperties { get; private set; } = null!; + + /// + /// The object representing the policy for taking backups on an account. + /// + [Output("backupPolicy")] + public Output?> BackupPolicy { get; private set; } = null!; + + /// + /// List of Cosmos DB capabilities for the account + /// + [Output("capabilities")] + public Output> Capabilities { get; private set; } = null!; + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + [Output("capacity")] + public Output Capacity { get; private set; } = null!; + + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + [Output("connectorOffer")] + public Output ConnectorOffer { get; private set; } = null!; + + /// + /// The consistency policy for the Cosmos DB database account. + /// + [Output("consistencyPolicy")] + public Output ConsistencyPolicy { get; private set; } = null!; + + /// + /// The CORS policy for the Cosmos DB database account. + /// + [Output("cors")] + public Output> Cors { get; private set; } = null!; + + /// + /// Enum to indicate the mode of account creation. + /// + [Output("createMode")] + public Output CreateMode { get; private set; } = null!; + + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + [Output("customerManagedKeyStatus")] + public Output CustomerManagedKeyStatus { get; private set; } = null!; + + /// + /// The offer type for the Cosmos DB database account. Default value: Standard. + /// + [Output("databaseAccountOfferType")] + public Output DatabaseAccountOfferType { get; private set; } = null!; + + /// + /// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + /// + [Output("defaultIdentity")] + public Output DefaultIdentity { get; private set; } = null!; + + /// + /// Disable write operations on metadata resources (databases, containers, throughput) via account keys + /// + [Output("disableKeyBasedMetadataWriteAccess")] + public Output DisableKeyBasedMetadataWriteAccess { get; private set; } = null!; + + /// + /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + /// + [Output("disableLocalAuth")] + public Output DisableLocalAuth { get; private set; } = null!; + + /// + /// The connection endpoint for the Cosmos DB database account. + /// + [Output("documentEndpoint")] + public Output DocumentEndpoint { get; private set; } = null!; + + /// + /// Flag to indicate whether to enable storage analytics. + /// + [Output("enableAnalyticalStorage")] + public Output EnableAnalyticalStorage { get; private set; } = null!; + + /// + /// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + /// + [Output("enableAutomaticFailover")] + public Output EnableAutomaticFailover { get; private set; } = null!; + + /// + /// Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + /// + [Output("enableBurstCapacity")] + public Output EnableBurstCapacity { get; private set; } = null!; + + /// + /// Enables the cassandra connector on the Cosmos DB C* account + /// + [Output("enableCassandraConnector")] + public Output EnableCassandraConnector { get; private set; } = null!; + + /// + /// Flag to indicate whether Free Tier is enabled. + /// + [Output("enableFreeTier")] + public Output EnableFreeTier { get; private set; } = null!; + + /// + /// Enables the account to write in multiple locations + /// + [Output("enableMultipleWriteLocations")] + public Output EnableMultipleWriteLocations { get; private set; } = null!; + + /// + /// Flag to indicate enabling/disabling of Partition Merge feature on the account + /// + [Output("enablePartitionMerge")] + public Output EnablePartitionMerge { get; private set; } = null!; + + /// + /// An array that contains the regions ordered by their failover priorities. + /// + [Output("failoverPolicies")] + public Output> FailoverPolicies { get; private set; } = null!; + + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// A unique identifier assigned to the database account + /// + [Output("instanceId")] + public Output InstanceId { get; private set; } = null!; + + /// + /// List of IpRules. + /// + [Output("ipRules")] + public Output> IpRules { get; private set; } = null!; + + /// + /// Flag to indicate whether to enable/disable Virtual Network ACL rules. + /// + [Output("isVirtualNetworkFilterEnabled")] + public Output IsVirtualNetworkFilterEnabled { get; private set; } = null!; + + /// + /// The URI of the key vault + /// + [Output("keyVaultKeyUri")] + public Output KeyVaultKeyUri { get; private set; } = null!; + + /// + /// The object that represents the metadata for the Account Keys of the Cosmos DB account. + /// + [Output("keysMetadata")] + public Output KeysMetadata { get; private set; } = null!; + + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// An array that contains all of the locations enabled for the Cosmos DB account. + /// + [Output("locations")] + public Output> Locations { get; private set; } = null!; + + /// + /// Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + /// + [Output("minimalTlsVersion")] + public Output MinimalTlsVersion { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + [Output("networkAclBypass")] + public Output NetworkAclBypass { get; private set; } = null!; + + /// + /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + /// + [Output("networkAclBypassResourceIds")] + public Output> NetworkAclBypassResourceIds { get; private set; } = null!; + + /// + /// List of Private Endpoint Connections configured for the Cosmos DB account. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Whether requests from Public Network are allowed + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// An array that contains of the read locations enabled for the Cosmos DB account. + /// + [Output("readLocations")] + public Output> ReadLocations { get; private set; } = null!; + + /// + /// Parameters to indicate the information about the restore. + /// + [Output("restoreParameters")] + public Output RestoreParameters { get; private set; } = null!; + + /// + /// The system meta data relating to this resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// List of Virtual Network ACL rules configured for the Cosmos DB account. + /// + [Output("virtualNetworkRules")] + public Output> VirtualNetworkRules { get; private set; } = null!; + + /// + /// An array that contains the write location for the Cosmos DB account. + /// + [Output("writeLocations")] + public Output> WriteLocations { get; private set; } = null!; + + + /// + /// Create a DatabaseAccount 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 DatabaseAccount(string name, DatabaseAccountArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:DatabaseAccount", name, args ?? new DatabaseAccountArgs(), MakeResourceOptions(options, "")) + { + } + + private DatabaseAccount(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:DatabaseAccount", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:DatabaseAccount"}, + }, + }; + 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 DatabaseAccount 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. + /// A bag of options that control this resource's behavior + public static DatabaseAccount Get(string name, Input id, CustomResourceOptions? options = null) + { + return new DatabaseAccount(name, id, options); + } + } + + public sealed class DatabaseAccountArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName")] + public Input? AccountName { get; set; } + + /// + /// Analytical storage specific properties. + /// + [Input("analyticalStorageConfiguration")] + public Input? AnalyticalStorageConfiguration { get; set; } + + /// + /// API specific properties. Currently, supported only for MongoDB API. + /// + [Input("apiProperties")] + public Input? ApiProperties { get; set; } + + /// + /// The object representing the policy for taking backups on an account. + /// + [Input("backupPolicy")] + public InputUnion? BackupPolicy { get; set; } + + [Input("capabilities")] + private InputList? _capabilities; + + /// + /// List of Cosmos DB capabilities for the account + /// + public InputList Capabilities + { + get => _capabilities ?? (_capabilities = new InputList()); + set => _capabilities = value; + } + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + [Input("connectorOffer")] + public InputUnion? ConnectorOffer { get; set; } + + /// + /// The consistency policy for the Cosmos DB account. + /// + [Input("consistencyPolicy")] + public Input? ConsistencyPolicy { get; set; } + + [Input("cors")] + private InputList? _cors; + + /// + /// The CORS policy for the Cosmos DB database account. + /// + public InputList Cors + { + get => _cors ?? (_cors = new InputList()); + set => _cors = value; + } + + /// + /// Enum to indicate the mode of account creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + [Input("customerManagedKeyStatus")] + public InputUnion? CustomerManagedKeyStatus { get; set; } + + /// + /// The offer type for the database + /// + [Input("databaseAccountOfferType", required: true)] + public Input DatabaseAccountOfferType { get; set; } = null!; + + /// + /// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + /// + [Input("defaultIdentity")] + public Input? DefaultIdentity { get; set; } + + /// + /// Disable write operations on metadata resources (databases, containers, throughput) via account keys + /// + [Input("disableKeyBasedMetadataWriteAccess")] + public Input? DisableKeyBasedMetadataWriteAccess { get; set; } + + /// + /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + /// + [Input("disableLocalAuth")] + public Input? DisableLocalAuth { get; set; } + + /// + /// Flag to indicate whether to enable storage analytics. + /// + [Input("enableAnalyticalStorage")] + public Input? EnableAnalyticalStorage { get; set; } + + /// + /// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + /// + [Input("enableAutomaticFailover")] + public Input? EnableAutomaticFailover { get; set; } + + /// + /// Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + /// + [Input("enableBurstCapacity")] + public Input? EnableBurstCapacity { get; set; } + + /// + /// Enables the cassandra connector on the Cosmos DB C* account + /// + [Input("enableCassandraConnector")] + public Input? EnableCassandraConnector { get; set; } + + /// + /// Flag to indicate whether Free Tier is enabled. + /// + [Input("enableFreeTier")] + public Input? EnableFreeTier { get; set; } + + /// + /// Enables the account to write in multiple locations + /// + [Input("enableMultipleWriteLocations")] + public Input? EnableMultipleWriteLocations { get; set; } + + /// + /// Flag to indicate enabling/disabling of Partition Merge feature on the account + /// + [Input("enablePartitionMerge")] + public Input? EnablePartitionMerge { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + [Input("ipRules")] + private InputList? _ipRules; + + /// + /// List of IpRules. + /// + public InputList IpRules + { + get => _ipRules ?? (_ipRules = new InputList()); + set => _ipRules = value; + } + + /// + /// Flag to indicate whether to enable/disable Virtual Network ACL rules. + /// + [Input("isVirtualNetworkFilterEnabled")] + public Input? IsVirtualNetworkFilterEnabled { get; set; } + + /// + /// The URI of the key vault + /// + [Input("keyVaultKeyUri")] + public Input? KeyVaultKeyUri { get; set; } + + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + [Input("locations", required: true)] + private InputList? _locations; + + /// + /// An array that contains the georeplication locations enabled for the Cosmos DB account. + /// + public InputList Locations + { + get => _locations ?? (_locations = new InputList()); + set => _locations = value; + } + + /// + /// Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + /// + [Input("minimalTlsVersion")] + public InputUnion? MinimalTlsVersion { get; set; } + + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + [Input("networkAclBypass")] + public Input? NetworkAclBypass { get; set; } + + [Input("networkAclBypassResourceIds")] + private InputList? _networkAclBypassResourceIds; + + /// + /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + /// + public InputList NetworkAclBypassResourceIds + { + get => _networkAclBypassResourceIds ?? (_networkAclBypassResourceIds = new InputList()); + set => _networkAclBypassResourceIds = value; + } + + /// + /// Whether requests from Public Network are allowed + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Parameters to indicate the information about the restore. + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("virtualNetworkRules")] + private InputList? _virtualNetworkRules; + + /// + /// List of Virtual Network ACL rules configured for the Cosmos DB account. + /// + public InputList VirtualNetworkRules + { + get => _virtualNetworkRules ?? (_virtualNetworkRules = new InputList()); + set => _virtualNetworkRules = value; + } + + public DatabaseAccountArgs() + { + CreateMode = "Default"; + Kind = "GlobalDocumentDB"; + } + public static new DatabaseAccountArgs Empty => new DatabaseAccountArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Enums.cs b/sdk/dotnet/DocumentDB/V20230915/Enums.cs new file mode 100644 index 000000000000..c85cf392ec58 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Enums.cs @@ -0,0 +1,1071 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.DocumentDB.V20230915 +{ + /// + /// Describes the types of schema for analytical storage. + /// + [EnumType] + public readonly struct AnalyticalStorageSchemaType : IEquatable + { + private readonly string _value; + + private AnalyticalStorageSchemaType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AnalyticalStorageSchemaType WellDefined { get; } = new AnalyticalStorageSchemaType("WellDefined"); + public static AnalyticalStorageSchemaType FullFidelity { get; } = new AnalyticalStorageSchemaType("FullFidelity"); + + public static bool operator ==(AnalyticalStorageSchemaType left, AnalyticalStorageSchemaType right) => left.Equals(right); + public static bool operator !=(AnalyticalStorageSchemaType left, AnalyticalStorageSchemaType right) => !left.Equals(right); + + public static explicit operator string(AnalyticalStorageSchemaType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AnalyticalStorageSchemaType other && Equals(other); + public bool Equals(AnalyticalStorageSchemaType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + /// + [EnumType] + public readonly struct AuthenticationMethod : IEquatable + { + private readonly string _value; + + private AuthenticationMethod(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AuthenticationMethod None { get; } = new AuthenticationMethod("None"); + public static AuthenticationMethod Cassandra { get; } = new AuthenticationMethod("Cassandra"); + public static AuthenticationMethod Ldap { get; } = new AuthenticationMethod("Ldap"); + + public static bool operator ==(AuthenticationMethod left, AuthenticationMethod right) => left.Equals(right); + public static bool operator !=(AuthenticationMethod left, AuthenticationMethod right) => !left.Equals(right); + + public static explicit operator string(AuthenticationMethod value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AuthenticationMethod other && Equals(other); + public bool Equals(AuthenticationMethod other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the status of migration between backup policy types. + /// + [EnumType] + public readonly struct BackupPolicyMigrationStatus : IEquatable + { + private readonly string _value; + + private BackupPolicyMigrationStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BackupPolicyMigrationStatus Invalid { get; } = new BackupPolicyMigrationStatus("Invalid"); + public static BackupPolicyMigrationStatus InProgress { get; } = new BackupPolicyMigrationStatus("InProgress"); + public static BackupPolicyMigrationStatus Completed { get; } = new BackupPolicyMigrationStatus("Completed"); + public static BackupPolicyMigrationStatus Failed { get; } = new BackupPolicyMigrationStatus("Failed"); + + public static bool operator ==(BackupPolicyMigrationStatus left, BackupPolicyMigrationStatus right) => left.Equals(right); + public static bool operator !=(BackupPolicyMigrationStatus left, BackupPolicyMigrationStatus right) => !left.Equals(right); + + public static explicit operator string(BackupPolicyMigrationStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BackupPolicyMigrationStatus other && Equals(other); + public bool Equals(BackupPolicyMigrationStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the mode of backups. + /// + [EnumType] + public readonly struct BackupPolicyType : IEquatable + { + private readonly string _value; + + private BackupPolicyType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BackupPolicyType Periodic { get; } = new BackupPolicyType("Periodic"); + public static BackupPolicyType Continuous { get; } = new BackupPolicyType("Continuous"); + + public static bool operator ==(BackupPolicyType left, BackupPolicyType right) => left.Equals(right); + public static bool operator !=(BackupPolicyType left, BackupPolicyType right) => !left.Equals(right); + + public static explicit operator string(BackupPolicyType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BackupPolicyType other && Equals(other); + public bool Equals(BackupPolicyType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate type of backup residency + /// + [EnumType] + public readonly struct BackupStorageRedundancy : IEquatable + { + private readonly string _value; + + private BackupStorageRedundancy(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BackupStorageRedundancy Geo { get; } = new BackupStorageRedundancy("Geo"); + public static BackupStorageRedundancy Local { get; } = new BackupStorageRedundancy("Local"); + public static BackupStorageRedundancy Zone { get; } = new BackupStorageRedundancy("Zone"); + + public static bool operator ==(BackupStorageRedundancy left, BackupStorageRedundancy right) => left.Equals(right); + public static bool operator !=(BackupStorageRedundancy left, BackupStorageRedundancy right) => !left.Equals(right); + + public static explicit operator string(BackupStorageRedundancy value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BackupStorageRedundancy other && Equals(other); + public bool Equals(BackupStorageRedundancy other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Sort order for composite paths. + /// + [EnumType] + public readonly struct CompositePathSortOrder : IEquatable + { + private readonly string _value; + + private CompositePathSortOrder(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CompositePathSortOrder @Ascending { get; } = new CompositePathSortOrder("ascending"); + public static CompositePathSortOrder @Descending { get; } = new CompositePathSortOrder("descending"); + + public static bool operator ==(CompositePathSortOrder left, CompositePathSortOrder right) => left.Equals(right); + public static bool operator !=(CompositePathSortOrder left, CompositePathSortOrder right) => !left.Equals(right); + + public static explicit operator string(CompositePathSortOrder value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CompositePathSortOrder other && Equals(other); + public bool Equals(CompositePathSortOrder other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the conflict resolution mode. + /// + [EnumType] + public readonly struct ConflictResolutionMode : IEquatable + { + private readonly string _value; + + private ConflictResolutionMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConflictResolutionMode LastWriterWins { get; } = new ConflictResolutionMode("LastWriterWins"); + public static ConflictResolutionMode Custom { get; } = new ConflictResolutionMode("Custom"); + + public static bool operator ==(ConflictResolutionMode left, ConflictResolutionMode right) => left.Equals(right); + public static bool operator !=(ConflictResolutionMode left, ConflictResolutionMode right) => !left.Equals(right); + + public static explicit operator string(ConflictResolutionMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConflictResolutionMode other && Equals(other); + public bool Equals(ConflictResolutionMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + [EnumType] + public readonly struct ConnectorOffer : IEquatable + { + private readonly string _value; + + private ConnectorOffer(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConnectorOffer Small { get; } = new ConnectorOffer("Small"); + + public static bool operator ==(ConnectorOffer left, ConnectorOffer right) => left.Equals(right); + public static bool operator !=(ConnectorOffer left, ConnectorOffer right) => !left.Equals(right); + + public static explicit operator string(ConnectorOffer value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConnectorOffer other && Equals(other); + public bool Equals(ConnectorOffer other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate type of Continuous backup mode + /// + [EnumType] + public readonly struct ContinuousTier : IEquatable + { + private readonly string _value; + + private ContinuousTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ContinuousTier Continuous7Days { get; } = new ContinuousTier("Continuous7Days"); + public static ContinuousTier Continuous30Days { get; } = new ContinuousTier("Continuous30Days"); + + public static bool operator ==(ContinuousTier left, ContinuousTier right) => left.Equals(right); + public static bool operator !=(ContinuousTier left, ContinuousTier right) => !left.Equals(right); + + public static explicit operator string(ContinuousTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ContinuousTier other && Equals(other); + public bool Equals(ContinuousTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate the mode of account creation. + /// + [EnumType] + public readonly struct CreateMode : IEquatable + { + private readonly string _value; + + private CreateMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CreateMode Default { get; } = new CreateMode("Default"); + public static CreateMode Restore { get; } = new CreateMode("Restore"); + + public static bool operator ==(CreateMode left, CreateMode right) => left.Equals(right); + public static bool operator !=(CreateMode left, CreateMode right) => !left.Equals(right); + + public static explicit operator string(CreateMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CreateMode other && Equals(other); + public bool Equals(CreateMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + [EnumType] + public readonly struct CustomerManagedKeyStatus : IEquatable + { + private readonly string _value; + + private CustomerManagedKeyStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_obtain_the_AAD_authentication_token_for_the_account_s_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_active_directory_token_acquisition_error_4000_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB service is unable to obtain the AAD authentication token for the account's default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-active-directory-token-acquisition-error (4000)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_s_key_vault_key_URI_does_not_follow_the_expected_format_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_improper_syntax_detected_on_the_key_vault_uri_property_4006_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB account's key vault key URI does not follow the expected format; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#improper-syntax-detected-on-the-key-vault-uri-property (4006)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_current_default_identity_no_longer_has_permission_to_the_associated_Key_Vault_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_default_identity_is_unauthorized_to_access_the_azure_key_vault_key_4002_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the current default identity no longer has permission to the associated Key Vault key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#default-identity-is-unauthorized-to-access-the-azure-key-vault-key (4002)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Key_Vault_DNS_name_specified_by_the_account_s_keyvaultkeyuri_property_could_not_be_resolved_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_unable_to_resolve_the_key_vaults_dns_4009_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Key Vault DNS name specified by the account's keyvaultkeyuri property could not be resolved; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#unable-to-resolve-the-key-vaults-dns (4009)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_correspondent_key_is_not_found_on_the_specified_Key_Vault_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4003_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the correspondent key is not found on the specified Key Vault; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4003)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_wrap_or_unwrap_the_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_internal_unwrapping_procedure_error_4005_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB service is unable to wrap or unwrap the key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#internal-unwrapping-procedure-error (4005)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_has_an_undefined_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_invalid_azure_cosmos_db_default_identity_4015_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB account has an undefined default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#invalid-azure-cosmos-db-default-identity (4015)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_access_rules_are_blocking_outbound_requests_to_the_Azure_Key_Vault_service_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_4016_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the access rules are blocking outbound requests to the Azure Key Vault service; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide (4016)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_correspondent_Azure_Key_Vault_was_not_found_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4017_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the correspondent Azure Key Vault was not found; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4017)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide"); + public static CustomerManagedKeyStatus Access_to_the_configured_customer_managed_key_confirmed_ { get; } = new CustomerManagedKeyStatus("Access to the configured customer managed key confirmed."); + + public static bool operator ==(CustomerManagedKeyStatus left, CustomerManagedKeyStatus right) => left.Equals(right); + public static bool operator !=(CustomerManagedKeyStatus left, CustomerManagedKeyStatus right) => !left.Equals(right); + + public static explicit operator string(CustomerManagedKeyStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CustomerManagedKeyStatus other && Equals(other); + public bool Equals(CustomerManagedKeyStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The datatype for which the indexing behavior is applied to. + /// + [EnumType] + public readonly struct DataType : IEquatable + { + private readonly string _value; + + private DataType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataType String { get; } = new DataType("String"); + public static DataType Number { get; } = new DataType("Number"); + public static DataType Point { get; } = new DataType("Point"); + public static DataType Polygon { get; } = new DataType("Polygon"); + public static DataType LineString { get; } = new DataType("LineString"); + public static DataType MultiPolygon { get; } = new DataType("MultiPolygon"); + + public static bool operator ==(DataType left, DataType right) => left.Equals(right); + public static bool operator !=(DataType left, DataType right) => !left.Equals(right); + + public static explicit operator string(DataType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataType other && Equals(other); + public bool Equals(DataType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + [EnumType] + public readonly struct DatabaseAccountKind : IEquatable + { + private readonly string _value; + + private DatabaseAccountKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DatabaseAccountKind GlobalDocumentDB { get; } = new DatabaseAccountKind("GlobalDocumentDB"); + public static DatabaseAccountKind MongoDB { get; } = new DatabaseAccountKind("MongoDB"); + public static DatabaseAccountKind Parse { get; } = new DatabaseAccountKind("Parse"); + + public static bool operator ==(DatabaseAccountKind left, DatabaseAccountKind right) => left.Equals(right); + public static bool operator !=(DatabaseAccountKind left, DatabaseAccountKind right) => !left.Equals(right); + + public static explicit operator string(DatabaseAccountKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DatabaseAccountKind other && Equals(other); + public bool Equals(DatabaseAccountKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The offer type for the database + /// + [EnumType] + public readonly struct DatabaseAccountOfferType : IEquatable + { + private readonly string _value; + + private DatabaseAccountOfferType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DatabaseAccountOfferType Standard { get; } = new DatabaseAccountOfferType("Standard"); + + public static bool operator ==(DatabaseAccountOfferType left, DatabaseAccountOfferType right) => left.Equals(right); + public static bool operator !=(DatabaseAccountOfferType left, DatabaseAccountOfferType right) => !left.Equals(right); + + public static explicit operator string(DatabaseAccountOfferType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DatabaseAccountOfferType other && Equals(other); + public bool Equals(DatabaseAccountOfferType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The default consistency level and configuration settings of the Cosmos DB account. + /// + [EnumType] + public readonly struct DefaultConsistencyLevel : IEquatable + { + private readonly string _value; + + private DefaultConsistencyLevel(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DefaultConsistencyLevel Eventual { get; } = new DefaultConsistencyLevel("Eventual"); + public static DefaultConsistencyLevel Session { get; } = new DefaultConsistencyLevel("Session"); + public static DefaultConsistencyLevel BoundedStaleness { get; } = new DefaultConsistencyLevel("BoundedStaleness"); + public static DefaultConsistencyLevel Strong { get; } = new DefaultConsistencyLevel("Strong"); + public static DefaultConsistencyLevel ConsistentPrefix { get; } = new DefaultConsistencyLevel("ConsistentPrefix"); + + public static bool operator ==(DefaultConsistencyLevel left, DefaultConsistencyLevel right) => left.Equals(right); + public static bool operator !=(DefaultConsistencyLevel left, DefaultConsistencyLevel right) => !left.Equals(right); + + public static explicit operator string(DefaultConsistencyLevel value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DefaultConsistencyLevel other && Equals(other); + public bool Equals(DefaultConsistencyLevel other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the type of index. + /// + [EnumType] + public readonly struct IndexKind : IEquatable + { + private readonly string _value; + + private IndexKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IndexKind Hash { get; } = new IndexKind("Hash"); + public static IndexKind Range { get; } = new IndexKind("Range"); + public static IndexKind Spatial { get; } = new IndexKind("Spatial"); + + public static bool operator ==(IndexKind left, IndexKind right) => left.Equals(right); + public static bool operator !=(IndexKind left, IndexKind right) => !left.Equals(right); + + public static explicit operator string(IndexKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IndexKind other && Equals(other); + public bool Equals(IndexKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the indexing mode. + /// + [EnumType] + public readonly struct IndexingMode : IEquatable + { + private readonly string _value; + + private IndexingMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IndexingMode Consistent { get; } = new IndexingMode("consistent"); + public static IndexingMode Lazy { get; } = new IndexingMode("lazy"); + public static IndexingMode None { get; } = new IndexingMode("none"); + + public static bool operator ==(IndexingMode left, IndexingMode right) => left.Equals(right); + public static bool operator !=(IndexingMode left, IndexingMode right) => !left.Equals(right); + + public static explicit operator string(IndexingMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IndexingMode other && Equals(other); + public bool Equals(IndexingMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The status of the resource at the time the operation was called. + /// + [EnumType] + public readonly struct ManagedCassandraProvisioningState : IEquatable + { + private readonly string _value; + + private ManagedCassandraProvisioningState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedCassandraProvisioningState Creating { get; } = new ManagedCassandraProvisioningState("Creating"); + public static ManagedCassandraProvisioningState Updating { get; } = new ManagedCassandraProvisioningState("Updating"); + public static ManagedCassandraProvisioningState Deleting { get; } = new ManagedCassandraProvisioningState("Deleting"); + public static ManagedCassandraProvisioningState Succeeded { get; } = new ManagedCassandraProvisioningState("Succeeded"); + public static ManagedCassandraProvisioningState Failed { get; } = new ManagedCassandraProvisioningState("Failed"); + public static ManagedCassandraProvisioningState Canceled { get; } = new ManagedCassandraProvisioningState("Canceled"); + + public static bool operator ==(ManagedCassandraProvisioningState left, ManagedCassandraProvisioningState right) => left.Equals(right); + public static bool operator !=(ManagedCassandraProvisioningState left, ManagedCassandraProvisioningState right) => !left.Equals(right); + + public static explicit operator string(ManagedCassandraProvisioningState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedCassandraProvisioningState other && Equals(other); + public bool Equals(ManagedCassandraProvisioningState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the resource. + /// + [EnumType] + public readonly struct ManagedCassandraResourceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedCassandraResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedCassandraResourceIdentityType SystemAssigned { get; } = new ManagedCassandraResourceIdentityType("SystemAssigned"); + public static ManagedCassandraResourceIdentityType None { get; } = new ManagedCassandraResourceIdentityType("None"); + + public static bool operator ==(ManagedCassandraResourceIdentityType left, ManagedCassandraResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedCassandraResourceIdentityType left, ManagedCassandraResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedCassandraResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedCassandraResourceIdentityType other && Equals(other); + public bool Equals(ManagedCassandraResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + /// + [EnumType] + public readonly struct MinimalTlsVersion : IEquatable + { + private readonly string _value; + + private MinimalTlsVersion(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MinimalTlsVersion Tls { get; } = new MinimalTlsVersion("Tls"); + public static MinimalTlsVersion Tls11 { get; } = new MinimalTlsVersion("Tls11"); + public static MinimalTlsVersion Tls12 { get; } = new MinimalTlsVersion("Tls12"); + + public static bool operator ==(MinimalTlsVersion left, MinimalTlsVersion right) => left.Equals(right); + public static bool operator !=(MinimalTlsVersion left, MinimalTlsVersion right) => !left.Equals(right); + + public static explicit operator string(MinimalTlsVersion value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MinimalTlsVersion other && Equals(other); + public bool Equals(MinimalTlsVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [EnumType] + public readonly struct MongoRoleDefinitionType : IEquatable + { + private readonly string _value; + + private MongoRoleDefinitionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MongoRoleDefinitionType BuiltInRole { get; } = new MongoRoleDefinitionType("BuiltInRole"); + public static MongoRoleDefinitionType CustomRole { get; } = new MongoRoleDefinitionType("CustomRole"); + + public static bool operator ==(MongoRoleDefinitionType left, MongoRoleDefinitionType right) => left.Equals(right); + public static bool operator !=(MongoRoleDefinitionType left, MongoRoleDefinitionType right) => !left.Equals(right); + + public static explicit operator string(MongoRoleDefinitionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MongoRoleDefinitionType other && Equals(other); + public bool Equals(MongoRoleDefinitionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + [EnumType] + public readonly struct NetworkAclBypass : IEquatable + { + private readonly string _value; + + private NetworkAclBypass(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static NetworkAclBypass None { get; } = new NetworkAclBypass("None"); + public static NetworkAclBypass AzureServices { get; } = new NetworkAclBypass("AzureServices"); + + public static bool operator ==(NetworkAclBypass left, NetworkAclBypass right) => left.Equals(right); + public static bool operator !=(NetworkAclBypass left, NetworkAclBypass right) => !left.Equals(right); + + public static explicit operator string(NetworkAclBypass value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkAclBypass other && Equals(other); + public bool Equals(NetworkAclBypass other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + /// + [EnumType] + public readonly struct PartitionKind : IEquatable + { + private readonly string _value; + + private PartitionKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PartitionKind Hash { get; } = new PartitionKind("Hash"); + public static PartitionKind Range { get; } = new PartitionKind("Range"); + public static PartitionKind MultiHash { get; } = new PartitionKind("MultiHash"); + + public static bool operator ==(PartitionKind left, PartitionKind right) => left.Equals(right); + public static bool operator !=(PartitionKind left, PartitionKind right) => !left.Equals(right); + + public static explicit operator string(PartitionKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PartitionKind other && Equals(other); + public bool Equals(PartitionKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Whether requests from Public Network are allowed + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + public static PublicNetworkAccess SecuredByPerimeter { get; } = new PublicNetworkAccess("SecuredByPerimeter"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + /// + [EnumType] + public readonly struct ResourceIdentityType : IEquatable + { + private readonly string _value; + + private ResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResourceIdentityType SystemAssigned { get; } = new ResourceIdentityType("SystemAssigned"); + public static ResourceIdentityType UserAssigned { get; } = new ResourceIdentityType("UserAssigned"); + public static ResourceIdentityType SystemAssigned_UserAssigned { get; } = new ResourceIdentityType("SystemAssigned,UserAssigned"); + public static ResourceIdentityType None { get; } = new ResourceIdentityType("None"); + + public static bool operator ==(ResourceIdentityType left, ResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ResourceIdentityType left, ResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourceIdentityType other && Equals(other); + public bool Equals(ResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the mode of the restore. + /// + [EnumType] + public readonly struct RestoreMode : IEquatable + { + private readonly string _value; + + private RestoreMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RestoreMode PointInTime { get; } = new RestoreMode("PointInTime"); + + public static bool operator ==(RestoreMode left, RestoreMode right) => left.Equals(right); + public static bool operator !=(RestoreMode left, RestoreMode right) => !left.Equals(right); + + public static explicit operator string(RestoreMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RestoreMode other && Equals(other); + public bool Equals(RestoreMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [EnumType] + public readonly struct RoleDefinitionType : IEquatable + { + private readonly string _value; + + private RoleDefinitionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RoleDefinitionType BuiltInRole { get; } = new RoleDefinitionType("BuiltInRole"); + public static RoleDefinitionType CustomRole { get; } = new RoleDefinitionType("CustomRole"); + + public static bool operator ==(RoleDefinitionType left, RoleDefinitionType right) => left.Equals(right); + public static bool operator !=(RoleDefinitionType left, RoleDefinitionType right) => !left.Equals(right); + + public static explicit operator string(RoleDefinitionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RoleDefinitionType other && Equals(other); + public bool Equals(RoleDefinitionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the ServerVersion of an a MongoDB account. + /// + [EnumType] + public readonly struct ServerVersion : IEquatable + { + private readonly string _value; + + private ServerVersion(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServerVersion ServerVersion_3_2 { get; } = new ServerVersion("3.2"); + public static ServerVersion ServerVersion_3_6 { get; } = new ServerVersion("3.6"); + public static ServerVersion ServerVersion_4_0 { get; } = new ServerVersion("4.0"); + public static ServerVersion ServerVersion_4_2 { get; } = new ServerVersion("4.2"); + + public static bool operator ==(ServerVersion left, ServerVersion right) => left.Equals(right); + public static bool operator !=(ServerVersion left, ServerVersion right) => !left.Equals(right); + + public static explicit operator string(ServerVersion value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServerVersion other && Equals(other); + public bool Equals(ServerVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Instance type for the service. + /// + [EnumType] + public readonly struct ServiceSize : IEquatable + { + private readonly string _value; + + private ServiceSize(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServiceSize Cosmos_D4s { get; } = new ServiceSize("Cosmos.D4s"); + public static ServiceSize Cosmos_D8s { get; } = new ServiceSize("Cosmos.D8s"); + public static ServiceSize Cosmos_D16s { get; } = new ServiceSize("Cosmos.D16s"); + + public static bool operator ==(ServiceSize left, ServiceSize right) => left.Equals(right); + public static bool operator !=(ServiceSize left, ServiceSize right) => !left.Equals(right); + + public static explicit operator string(ServiceSize value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServiceSize other && Equals(other); + public bool Equals(ServiceSize other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// ServiceType for the service. + /// + [EnumType] + public readonly struct ServiceType : IEquatable + { + private readonly string _value; + + private ServiceType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServiceType SqlDedicatedGateway { get; } = new ServiceType("SqlDedicatedGateway"); + public static ServiceType DataTransfer { get; } = new ServiceType("DataTransfer"); + public static ServiceType GraphAPICompute { get; } = new ServiceType("GraphAPICompute"); + public static ServiceType MaterializedViewsBuilder { get; } = new ServiceType("MaterializedViewsBuilder"); + + public static bool operator ==(ServiceType left, ServiceType right) => left.Equals(right); + public static bool operator !=(ServiceType left, ServiceType right) => !left.Equals(right); + + public static explicit operator string(ServiceType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServiceType other && Equals(other); + public bool Equals(ServiceType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the spatial type of index. + /// + [EnumType] + public readonly struct SpatialType : IEquatable + { + private readonly string _value; + + private SpatialType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SpatialType Point { get; } = new SpatialType("Point"); + public static SpatialType LineString { get; } = new SpatialType("LineString"); + public static SpatialType Polygon { get; } = new SpatialType("Polygon"); + public static SpatialType MultiPolygon { get; } = new SpatialType("MultiPolygon"); + + public static bool operator ==(SpatialType left, SpatialType right) => left.Equals(right); + public static bool operator !=(SpatialType left, SpatialType right) => !left.Equals(right); + + public static explicit operator string(SpatialType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SpatialType other && Equals(other); + public bool Equals(SpatialType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The operation the trigger is associated with + /// + [EnumType] + public readonly struct TriggerOperation : IEquatable + { + private readonly string _value; + + private TriggerOperation(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static TriggerOperation All { get; } = new TriggerOperation("All"); + public static TriggerOperation Create { get; } = new TriggerOperation("Create"); + public static TriggerOperation Update { get; } = new TriggerOperation("Update"); + public static TriggerOperation Delete { get; } = new TriggerOperation("Delete"); + public static TriggerOperation Replace { get; } = new TriggerOperation("Replace"); + + public static bool operator ==(TriggerOperation left, TriggerOperation right) => left.Equals(right); + public static bool operator !=(TriggerOperation left, TriggerOperation right) => !left.Equals(right); + + public static explicit operator string(TriggerOperation value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggerOperation other && Equals(other); + public bool Equals(TriggerOperation other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the Trigger + /// + [EnumType] + public readonly struct TriggerType : IEquatable + { + private readonly string _value; + + private TriggerType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static TriggerType Pre { get; } = new TriggerType("Pre"); + public static TriggerType Post { get; } = new TriggerType("Post"); + + public static bool operator ==(TriggerType left, TriggerType right) => left.Equals(right); + public static bool operator !=(TriggerType left, TriggerType right) => !left.Equals(right); + + public static explicit operator string(TriggerType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggerType other && Equals(other); + public bool Equals(TriggerType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetCassandraCluster.cs b/sdk/dotnet/DocumentDB/V20230915/GetCassandraCluster.cs new file mode 100644 index 000000000000..bde1091368cf --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetCassandraCluster.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetCassandraCluster + { + /// + /// Get the properties of a managed Cassandra cluster. + /// + public static Task InvokeAsync(GetCassandraClusterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getCassandraCluster", args ?? new GetCassandraClusterArgs(), options.WithDefaults()); + + /// + /// Get the properties of a managed Cassandra cluster. + /// + public static Output Invoke(GetCassandraClusterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getCassandraCluster", args ?? new GetCassandraClusterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCassandraClusterArgs() + { + } + public static new GetCassandraClusterArgs Empty => new GetCassandraClusterArgs(); + } + + public sealed class GetCassandraClusterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCassandraClusterInvokeArgs() + { + } + public static new GetCassandraClusterInvokeArgs Empty => new GetCassandraClusterInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraClusterResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedCassandraManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + /// + /// Properties of a managed Cassandra cluster. + /// + public readonly Outputs.ClusterResourceResponseProperties Properties; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraClusterResult( + string id, + + Outputs.ManagedCassandraManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.ClusterResourceResponseProperties properties, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Properties = properties; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetCassandraDataCenter.cs b/sdk/dotnet/DocumentDB/V20230915/GetCassandraDataCenter.cs new file mode 100644 index 000000000000..bf4f1d826f4c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetCassandraDataCenter.cs @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetCassandraDataCenter + { + /// + /// Get the properties of a managed Cassandra data center. + /// + public static Task InvokeAsync(GetCassandraDataCenterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getCassandraDataCenter", args ?? new GetCassandraDataCenterArgs(), options.WithDefaults()); + + /// + /// Get the properties of a managed Cassandra data center. + /// + public static Output Invoke(GetCassandraDataCenterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getCassandraDataCenter", args ?? new GetCassandraDataCenterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraDataCenterArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// Data center name in a managed Cassandra cluster. + /// + [Input("dataCenterName", required: true)] + public string DataCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCassandraDataCenterArgs() + { + } + public static new GetCassandraDataCenterArgs Empty => new GetCassandraDataCenterArgs(); + } + + public sealed class GetCassandraDataCenterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// Data center name in a managed Cassandra cluster. + /// + [Input("dataCenterName", required: true)] + public Input DataCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCassandraDataCenterInvokeArgs() + { + } + public static new GetCassandraDataCenterInvokeArgs Empty => new GetCassandraDataCenterInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraDataCenterResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// Properties of a managed Cassandra data center. + /// + public readonly Outputs.DataCenterResourceResponseProperties Properties; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraDataCenterResult( + string id, + + string name, + + Outputs.DataCenterResourceResponseProperties properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetCassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/V20230915/GetCassandraResourceCassandraKeyspace.cs new file mode 100644 index 000000000000..96123f5a5658 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetCassandraResourceCassandraKeyspace.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetCassandraResourceCassandraKeyspace + { + /// + /// Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetCassandraResourceCassandraKeyspaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getCassandraResourceCassandraKeyspace", args ?? new GetCassandraResourceCassandraKeyspaceArgs(), options.WithDefaults()); + + /// + /// Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetCassandraResourceCassandraKeyspaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getCassandraResourceCassandraKeyspace", args ?? new GetCassandraResourceCassandraKeyspaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraResourceCassandraKeyspaceArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public string KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCassandraResourceCassandraKeyspaceArgs() + { + } + public static new GetCassandraResourceCassandraKeyspaceArgs Empty => new GetCassandraResourceCassandraKeyspaceArgs(); + } + + public sealed class GetCassandraResourceCassandraKeyspaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCassandraResourceCassandraKeyspaceInvokeArgs() + { + } + public static new GetCassandraResourceCassandraKeyspaceInvokeArgs Empty => new GetCassandraResourceCassandraKeyspaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraResourceCassandraKeyspaceResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.CassandraKeyspaceGetPropertiesResponseOptions? Options; + public readonly Outputs.CassandraKeyspaceGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraResourceCassandraKeyspaceResult( + string id, + + string? location, + + string name, + + Outputs.CassandraKeyspaceGetPropertiesResponseOptions? options, + + Outputs.CassandraKeyspaceGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetCassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/V20230915/GetCassandraResourceCassandraTable.cs new file mode 100644 index 000000000000..d52fb3767995 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetCassandraResourceCassandraTable.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetCassandraResourceCassandraTable + { + /// + /// Gets the Cassandra table under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetCassandraResourceCassandraTableArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getCassandraResourceCassandraTable", args ?? new GetCassandraResourceCassandraTableArgs(), options.WithDefaults()); + + /// + /// Gets the Cassandra table under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetCassandraResourceCassandraTableInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getCassandraResourceCassandraTable", args ?? new GetCassandraResourceCassandraTableInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraResourceCassandraTableArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public string KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public string TableName { get; set; } = null!; + + public GetCassandraResourceCassandraTableArgs() + { + } + public static new GetCassandraResourceCassandraTableArgs Empty => new GetCassandraResourceCassandraTableArgs(); + } + + public sealed class GetCassandraResourceCassandraTableInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public GetCassandraResourceCassandraTableInvokeArgs() + { + } + public static new GetCassandraResourceCassandraTableInvokeArgs Empty => new GetCassandraResourceCassandraTableInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraResourceCassandraTableResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.CassandraTableGetPropertiesResponseOptions? Options; + public readonly Outputs.CassandraTableGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraResourceCassandraTableResult( + string id, + + string? location, + + string name, + + Outputs.CassandraTableGetPropertiesResponseOptions? options, + + Outputs.CassandraTableGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetDatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20230915/GetDatabaseAccount.cs new file mode 100644 index 000000000000..7a98940365ae --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetDatabaseAccount.cs @@ -0,0 +1,406 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetDatabaseAccount + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetDatabaseAccountArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getDatabaseAccount", args ?? new GetDatabaseAccountArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetDatabaseAccountInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getDatabaseAccount", args ?? new GetDatabaseAccountInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDatabaseAccountArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetDatabaseAccountArgs() + { + } + public static new GetDatabaseAccountArgs Empty => new GetDatabaseAccountArgs(); + } + + public sealed class GetDatabaseAccountInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetDatabaseAccountInvokeArgs() + { + } + public static new GetDatabaseAccountInvokeArgs Empty => new GetDatabaseAccountInvokeArgs(); + } + + + [OutputType] + public sealed class GetDatabaseAccountResult + { + /// + /// Analytical storage specific properties. + /// + public readonly Outputs.AnalyticalStorageConfigurationResponse? AnalyticalStorageConfiguration; + /// + /// API specific properties. + /// + public readonly Outputs.ApiPropertiesResponse? ApiProperties; + /// + /// The object representing the policy for taking backups on an account. + /// + public readonly Union? BackupPolicy; + /// + /// List of Cosmos DB capabilities for the account + /// + public readonly ImmutableArray Capabilities; + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + public readonly Outputs.CapacityResponse? Capacity; + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + public readonly string? ConnectorOffer; + /// + /// The consistency policy for the Cosmos DB database account. + /// + public readonly Outputs.ConsistencyPolicyResponse? ConsistencyPolicy; + /// + /// The CORS policy for the Cosmos DB database account. + /// + public readonly ImmutableArray Cors; + /// + /// Enum to indicate the mode of account creation. + /// + public readonly string? CreateMode; + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + public readonly string? CustomerManagedKeyStatus; + /// + /// The offer type for the Cosmos DB database account. Default value: Standard. + /// + public readonly string DatabaseAccountOfferType; + /// + /// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + /// + public readonly string? DefaultIdentity; + /// + /// Disable write operations on metadata resources (databases, containers, throughput) via account keys + /// + public readonly bool? DisableKeyBasedMetadataWriteAccess; + /// + /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + /// + public readonly bool? DisableLocalAuth; + /// + /// The connection endpoint for the Cosmos DB database account. + /// + public readonly string DocumentEndpoint; + /// + /// Flag to indicate whether to enable storage analytics. + /// + public readonly bool? EnableAnalyticalStorage; + /// + /// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + /// + public readonly bool? EnableAutomaticFailover; + /// + /// Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + /// + public readonly bool? EnableBurstCapacity; + /// + /// Enables the cassandra connector on the Cosmos DB C* account + /// + public readonly bool? EnableCassandraConnector; + /// + /// Flag to indicate whether Free Tier is enabled. + /// + public readonly bool? EnableFreeTier; + /// + /// Enables the account to write in multiple locations + /// + public readonly bool? EnableMultipleWriteLocations; + /// + /// Flag to indicate enabling/disabling of Partition Merge feature on the account + /// + public readonly bool? EnablePartitionMerge; + /// + /// An array that contains the regions ordered by their failover priorities. + /// + public readonly ImmutableArray FailoverPolicies; + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// A unique identifier assigned to the database account + /// + public readonly string InstanceId; + /// + /// List of IpRules. + /// + public readonly ImmutableArray IpRules; + /// + /// Flag to indicate whether to enable/disable Virtual Network ACL rules. + /// + public readonly bool? IsVirtualNetworkFilterEnabled; + /// + /// The URI of the key vault + /// + public readonly string? KeyVaultKeyUri; + /// + /// The object that represents the metadata for the Account Keys of the Cosmos DB account. + /// + public readonly Outputs.DatabaseAccountKeysMetadataResponse KeysMetadata; + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + public readonly string? Kind; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// An array that contains all of the locations enabled for the Cosmos DB account. + /// + public readonly ImmutableArray Locations; + /// + /// Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + /// + public readonly string? MinimalTlsVersion; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + public readonly string? NetworkAclBypass; + /// + /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + /// + public readonly ImmutableArray NetworkAclBypassResourceIds; + /// + /// List of Private Endpoint Connections configured for the Cosmos DB account. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + /// + public readonly string ProvisioningState; + /// + /// Whether requests from Public Network are allowed + /// + public readonly string? PublicNetworkAccess; + /// + /// An array that contains of the read locations enabled for the Cosmos DB account. + /// + public readonly ImmutableArray ReadLocations; + /// + /// Parameters to indicate the information about the restore. + /// + public readonly Outputs.RestoreParametersResponse? RestoreParameters; + /// + /// The system meta data relating to this resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + /// + /// List of Virtual Network ACL rules configured for the Cosmos DB account. + /// + public readonly ImmutableArray VirtualNetworkRules; + /// + /// An array that contains the write location for the Cosmos DB account. + /// + public readonly ImmutableArray WriteLocations; + + [OutputConstructor] + private GetDatabaseAccountResult( + Outputs.AnalyticalStorageConfigurationResponse? analyticalStorageConfiguration, + + Outputs.ApiPropertiesResponse? apiProperties, + + Union? backupPolicy, + + ImmutableArray capabilities, + + Outputs.CapacityResponse? capacity, + + string? connectorOffer, + + Outputs.ConsistencyPolicyResponse? consistencyPolicy, + + ImmutableArray cors, + + string? createMode, + + string? customerManagedKeyStatus, + + string databaseAccountOfferType, + + string? defaultIdentity, + + bool? disableKeyBasedMetadataWriteAccess, + + bool? disableLocalAuth, + + string documentEndpoint, + + bool? enableAnalyticalStorage, + + bool? enableAutomaticFailover, + + bool? enableBurstCapacity, + + bool? enableCassandraConnector, + + bool? enableFreeTier, + + bool? enableMultipleWriteLocations, + + bool? enablePartitionMerge, + + ImmutableArray failoverPolicies, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string instanceId, + + ImmutableArray ipRules, + + bool? isVirtualNetworkFilterEnabled, + + string? keyVaultKeyUri, + + Outputs.DatabaseAccountKeysMetadataResponse keysMetadata, + + string? kind, + + string? location, + + ImmutableArray locations, + + string? minimalTlsVersion, + + string name, + + string? networkAclBypass, + + ImmutableArray networkAclBypassResourceIds, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicNetworkAccess, + + ImmutableArray readLocations, + + Outputs.RestoreParametersResponse? restoreParameters, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + ImmutableArray virtualNetworkRules, + + ImmutableArray writeLocations) + { + AnalyticalStorageConfiguration = analyticalStorageConfiguration; + ApiProperties = apiProperties; + BackupPolicy = backupPolicy; + Capabilities = capabilities; + Capacity = capacity; + ConnectorOffer = connectorOffer; + ConsistencyPolicy = consistencyPolicy; + Cors = cors; + CreateMode = createMode; + CustomerManagedKeyStatus = customerManagedKeyStatus; + DatabaseAccountOfferType = databaseAccountOfferType; + DefaultIdentity = defaultIdentity; + DisableKeyBasedMetadataWriteAccess = disableKeyBasedMetadataWriteAccess; + DisableLocalAuth = disableLocalAuth; + DocumentEndpoint = documentEndpoint; + EnableAnalyticalStorage = enableAnalyticalStorage; + EnableAutomaticFailover = enableAutomaticFailover; + EnableBurstCapacity = enableBurstCapacity; + EnableCassandraConnector = enableCassandraConnector; + EnableFreeTier = enableFreeTier; + EnableMultipleWriteLocations = enableMultipleWriteLocations; + EnablePartitionMerge = enablePartitionMerge; + FailoverPolicies = failoverPolicies; + Id = id; + Identity = identity; + InstanceId = instanceId; + IpRules = ipRules; + IsVirtualNetworkFilterEnabled = isVirtualNetworkFilterEnabled; + KeyVaultKeyUri = keyVaultKeyUri; + KeysMetadata = keysMetadata; + Kind = kind; + Location = location; + Locations = locations; + MinimalTlsVersion = minimalTlsVersion; + Name = name; + NetworkAclBypass = networkAclBypass; + NetworkAclBypassResourceIds = networkAclBypassResourceIds; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + ReadLocations = readLocations; + RestoreParameters = restoreParameters; + SystemData = systemData; + Tags = tags; + Type = type; + VirtualNetworkRules = virtualNetworkRules; + WriteLocations = writeLocations; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetGremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/V20230915/GetGremlinResourceGremlinDatabase.cs new file mode 100644 index 000000000000..f3ea44815f29 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetGremlinResourceGremlinDatabase.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetGremlinResourceGremlinDatabase + { + /// + /// Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetGremlinResourceGremlinDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getGremlinResourceGremlinDatabase", args ?? new GetGremlinResourceGremlinDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetGremlinResourceGremlinDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getGremlinResourceGremlinDatabase", args ?? new GetGremlinResourceGremlinDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGremlinResourceGremlinDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinDatabaseArgs() + { + } + public static new GetGremlinResourceGremlinDatabaseArgs Empty => new GetGremlinResourceGremlinDatabaseArgs(); + } + + public sealed class GetGremlinResourceGremlinDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinDatabaseInvokeArgs() + { + } + public static new GetGremlinResourceGremlinDatabaseInvokeArgs Empty => new GetGremlinResourceGremlinDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetGremlinResourceGremlinDatabaseResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.GremlinDatabaseGetPropertiesResponseOptions? Options; + public readonly Outputs.GremlinDatabaseGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetGremlinResourceGremlinDatabaseResult( + string id, + + string? location, + + string name, + + Outputs.GremlinDatabaseGetPropertiesResponseOptions? options, + + Outputs.GremlinDatabaseGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetGremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/V20230915/GetGremlinResourceGremlinGraph.cs new file mode 100644 index 000000000000..5449de82776c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetGremlinResourceGremlinGraph.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetGremlinResourceGremlinGraph + { + /// + /// Gets the Gremlin graph under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetGremlinResourceGremlinGraphArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getGremlinResourceGremlinGraph", args ?? new GetGremlinResourceGremlinGraphArgs(), options.WithDefaults()); + + /// + /// Gets the Gremlin graph under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetGremlinResourceGremlinGraphInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getGremlinResourceGremlinGraph", args ?? new GetGremlinResourceGremlinGraphInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGremlinResourceGremlinGraphArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// Cosmos DB graph name. + /// + [Input("graphName", required: true)] + public string GraphName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinGraphArgs() + { + } + public static new GetGremlinResourceGremlinGraphArgs Empty => new GetGremlinResourceGremlinGraphArgs(); + } + + public sealed class GetGremlinResourceGremlinGraphInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Cosmos DB graph name. + /// + [Input("graphName", required: true)] + public Input GraphName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinGraphInvokeArgs() + { + } + public static new GetGremlinResourceGremlinGraphInvokeArgs Empty => new GetGremlinResourceGremlinGraphInvokeArgs(); + } + + + [OutputType] + public sealed class GetGremlinResourceGremlinGraphResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.GremlinGraphGetPropertiesResponseOptions? Options; + public readonly Outputs.GremlinGraphGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetGremlinResourceGremlinGraphResult( + string id, + + string? location, + + string name, + + Outputs.GremlinGraphGetPropertiesResponseOptions? options, + + Outputs.GremlinGraphGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoDBCollection.cs new file mode 100644 index 000000000000..ce92c15895d8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoDBCollection.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetMongoDBResourceMongoDBCollection + { + /// + /// Gets the MongoDB collection under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoDBCollectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getMongoDBResourceMongoDBCollection", args ?? new GetMongoDBResourceMongoDBCollectionArgs(), options.WithDefaults()); + + /// + /// Gets the MongoDB collection under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetMongoDBResourceMongoDBCollectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoDBCollection", args ?? new GetMongoDBResourceMongoDBCollectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoDBCollectionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB collection name. + /// + [Input("collectionName", required: true)] + public string CollectionName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBCollectionArgs() + { + } + public static new GetMongoDBResourceMongoDBCollectionArgs Empty => new GetMongoDBResourceMongoDBCollectionArgs(); + } + + public sealed class GetMongoDBResourceMongoDBCollectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB collection name. + /// + [Input("collectionName", required: true)] + public Input CollectionName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBCollectionInvokeArgs() + { + } + public static new GetMongoDBResourceMongoDBCollectionInvokeArgs Empty => new GetMongoDBResourceMongoDBCollectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoDBCollectionResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.MongoDBCollectionGetPropertiesResponseOptions? Options; + public readonly Outputs.MongoDBCollectionGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoDBResourceMongoDBCollectionResult( + string id, + + string? location, + + string name, + + Outputs.MongoDBCollectionGetPropertiesResponseOptions? options, + + Outputs.MongoDBCollectionGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoDBDatabase.cs new file mode 100644 index 000000000000..0bca5a4965a4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoDBDatabase.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetMongoDBResourceMongoDBDatabase + { + /// + /// Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoDBDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getMongoDBResourceMongoDBDatabase", args ?? new GetMongoDBResourceMongoDBDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetMongoDBResourceMongoDBDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoDBDatabase", args ?? new GetMongoDBResourceMongoDBDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoDBDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBDatabaseArgs() + { + } + public static new GetMongoDBResourceMongoDBDatabaseArgs Empty => new GetMongoDBResourceMongoDBDatabaseArgs(); + } + + public sealed class GetMongoDBResourceMongoDBDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBDatabaseInvokeArgs() + { + } + public static new GetMongoDBResourceMongoDBDatabaseInvokeArgs Empty => new GetMongoDBResourceMongoDBDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoDBDatabaseResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.MongoDBDatabaseGetPropertiesResponseOptions? Options; + public readonly Outputs.MongoDBDatabaseGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoDBResourceMongoDBDatabaseResult( + string id, + + string? location, + + string name, + + Outputs.MongoDBDatabaseGetPropertiesResponseOptions? options, + + Outputs.MongoDBDatabaseGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoRoleDefinition.cs new file mode 100644 index 000000000000..63f762196d38 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoRoleDefinition.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetMongoDBResourceMongoRoleDefinition + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoRoleDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getMongoDBResourceMongoRoleDefinition", args ?? new GetMongoDBResourceMongoRoleDefinitionArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + /// + public static Output Invoke(GetMongoDBResourceMongoRoleDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoRoleDefinition", args ?? new GetMongoDBResourceMongoRoleDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoRoleDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The ID for the Role Definition {dbName.roleName}. + /// + [Input("mongoRoleDefinitionId", required: true)] + public string MongoRoleDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoRoleDefinitionArgs() + { + } + public static new GetMongoDBResourceMongoRoleDefinitionArgs Empty => new GetMongoDBResourceMongoRoleDefinitionArgs(); + } + + public sealed class GetMongoDBResourceMongoRoleDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The ID for the Role Definition {dbName.roleName}. + /// + [Input("mongoRoleDefinitionId", required: true)] + public Input MongoRoleDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoRoleDefinitionInvokeArgs() + { + } + public static new GetMongoDBResourceMongoRoleDefinitionInvokeArgs Empty => new GetMongoDBResourceMongoRoleDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoRoleDefinitionResult + { + /// + /// The database name for which access is being granted for this Role Definition. + /// + public readonly string? DatabaseName; + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + /// + public readonly ImmutableArray Privileges; + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + public readonly string? RoleName; + /// + /// The set of roles inherited by this Role Definition. + /// + public readonly ImmutableArray Roles; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoDBResourceMongoRoleDefinitionResult( + string? databaseName, + + string id, + + string name, + + ImmutableArray privileges, + + string? roleName, + + ImmutableArray roles, + + string type) + { + DatabaseName = databaseName; + Id = id; + Name = name; + Privileges = privileges; + RoleName = roleName; + Roles = roles; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoUserDefinition.cs b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoUserDefinition.cs new file mode 100644 index 000000000000..f84ac660dd73 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetMongoDBResourceMongoUserDefinition.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetMongoDBResourceMongoUserDefinition + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoUserDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getMongoDBResourceMongoUserDefinition", args ?? new GetMongoDBResourceMongoUserDefinitionArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + /// + public static Output Invoke(GetMongoDBResourceMongoUserDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoUserDefinition", args ?? new GetMongoDBResourceMongoUserDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoUserDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The ID for the User Definition {dbName.userName}. + /// + [Input("mongoUserDefinitionId", required: true)] + public string MongoUserDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoUserDefinitionArgs() + { + } + public static new GetMongoDBResourceMongoUserDefinitionArgs Empty => new GetMongoDBResourceMongoUserDefinitionArgs(); + } + + public sealed class GetMongoDBResourceMongoUserDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The ID for the User Definition {dbName.userName}. + /// + [Input("mongoUserDefinitionId", required: true)] + public Input MongoUserDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoUserDefinitionInvokeArgs() + { + } + public static new GetMongoDBResourceMongoUserDefinitionInvokeArgs Empty => new GetMongoDBResourceMongoUserDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoUserDefinitionResult + { + /// + /// A custom definition for the USer Definition. + /// + public readonly string? CustomData; + /// + /// The database name for which access is being granted for this User Definition. + /// + public readonly string? DatabaseName; + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + /// + public readonly string? Mechanisms; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// The password for User Definition. Response does not contain user password. + /// + public readonly string? Password; + /// + /// The set of roles inherited by the User Definition. + /// + public readonly ImmutableArray Roles; + /// + /// The type of Azure resource. + /// + public readonly string Type; + /// + /// The user name for User Definition. + /// + public readonly string? UserName; + + [OutputConstructor] + private GetMongoDBResourceMongoUserDefinitionResult( + string? customData, + + string? databaseName, + + string id, + + string? mechanisms, + + string name, + + string? password, + + ImmutableArray roles, + + string type, + + string? userName) + { + CustomData = customData; + DatabaseName = databaseName; + Id = id; + Mechanisms = mechanisms; + Name = name; + Password = password; + Roles = roles; + Type = type; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetNotebookWorkspace.cs b/sdk/dotnet/DocumentDB/V20230915/GetNotebookWorkspace.cs new file mode 100644 index 000000000000..dece72f84b88 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetNotebookWorkspace.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetNotebookWorkspace + { + /// + /// Gets the notebook workspace for a Cosmos DB account. + /// + public static Task InvokeAsync(GetNotebookWorkspaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getNotebookWorkspace", args ?? new GetNotebookWorkspaceArgs(), options.WithDefaults()); + + /// + /// Gets the notebook workspace for a Cosmos DB account. + /// + public static Output Invoke(GetNotebookWorkspaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getNotebookWorkspace", args ?? new GetNotebookWorkspaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNotebookWorkspaceArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public string NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetNotebookWorkspaceArgs() + { + } + public static new GetNotebookWorkspaceArgs Empty => new GetNotebookWorkspaceArgs(); + } + + public sealed class GetNotebookWorkspaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public Input NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetNotebookWorkspaceInvokeArgs() + { + } + public static new GetNotebookWorkspaceInvokeArgs Empty => new GetNotebookWorkspaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetNotebookWorkspaceResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// Specifies the endpoint of Notebook server. + /// + public readonly string NotebookServerEndpoint; + /// + /// Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + /// + public readonly string Status; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetNotebookWorkspaceResult( + string id, + + string name, + + string notebookServerEndpoint, + + string status, + + string type) + { + Id = id; + Name = name; + NotebookServerEndpoint = notebookServerEndpoint; + Status = status; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetPrivateEndpointConnection.cs b/sdk/dotnet/DocumentDB/V20230915/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..b5c9df5d45ad --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetPrivateEndpointConnection.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetPrivateEndpointConnection + { + /// + /// Gets a private endpoint connection. + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); + + /// + /// Gets a private endpoint connection. + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + public static new GetPrivateEndpointConnectionArgs Empty => new GetPrivateEndpointConnectionArgs(); + } + + public sealed class GetPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionInvokeArgs Empty => new GetPrivateEndpointConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// Group id of the private endpoint. + /// + public readonly string? GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private endpoint which the connection belongs to. + /// + public readonly Outputs.PrivateEndpointPropertyResponse? PrivateEndpoint; + /// + /// Connection State of the Private Endpoint Connection. + /// + public readonly Outputs.PrivateLinkServiceConnectionStatePropertyResponse? PrivateLinkServiceConnectionState; + /// + /// Provisioning state of the private endpoint. + /// + public readonly string? ProvisioningState; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + string? groupId, + + string id, + + string name, + + Outputs.PrivateEndpointPropertyResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStatePropertyResponse? privateLinkServiceConnectionState, + + string? provisioningState, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetService.cs b/sdk/dotnet/DocumentDB/V20230915/GetService.cs new file mode 100644 index 000000000000..225285066bf4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetService.cs @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetService + { + /// + /// Gets the status of service. + /// + public static Task InvokeAsync(GetServiceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getService", args ?? new GetServiceArgs(), options.WithDefaults()); + + /// + /// Gets the status of service. + /// + public static Output Invoke(GetServiceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getService", args ?? new GetServiceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB service name. + /// + [Input("serviceName", required: true)] + public string ServiceName { get; set; } = null!; + + public GetServiceArgs() + { + } + public static new GetServiceArgs Empty => new GetServiceArgs(); + } + + public sealed class GetServiceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB service name. + /// + [Input("serviceName", required: true)] + public Input ServiceName { get; set; } = null!; + + public GetServiceInvokeArgs() + { + } + public static new GetServiceInvokeArgs Empty => new GetServiceInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// Services response resource. + /// + public readonly object Properties; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetServiceResult( + string id, + + string name, + + object properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlContainer.cs new file mode 100644 index 000000000000..9e61a6aa6619 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlContainer.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlContainer + { + /// + /// Gets the SQL container under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlContainerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlContainer", args ?? new GetSqlResourceSqlContainerArgs(), options.WithDefaults()); + + /// + /// Gets the SQL container under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlContainerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlContainer", args ?? new GetSqlResourceSqlContainerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlContainerArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlContainerArgs() + { + } + public static new GetSqlResourceSqlContainerArgs Empty => new GetSqlResourceSqlContainerArgs(); + } + + public sealed class GetSqlResourceSqlContainerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlContainerInvokeArgs() + { + } + public static new GetSqlResourceSqlContainerInvokeArgs Empty => new GetSqlResourceSqlContainerInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlContainerResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlContainerGetPropertiesResponseOptions? Options; + public readonly Outputs.SqlContainerGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlContainerResult( + string id, + + string? location, + + string name, + + Outputs.SqlContainerGetPropertiesResponseOptions? options, + + Outputs.SqlContainerGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlDatabase.cs new file mode 100644 index 000000000000..9507086c22b6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlDatabase.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlDatabase + { + /// + /// Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetSqlResourceSqlDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlDatabase", args ?? new GetSqlResourceSqlDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetSqlResourceSqlDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlDatabase", args ?? new GetSqlResourceSqlDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlDatabaseArgs() + { + } + public static new GetSqlResourceSqlDatabaseArgs Empty => new GetSqlResourceSqlDatabaseArgs(); + } + + public sealed class GetSqlResourceSqlDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlDatabaseInvokeArgs() + { + } + public static new GetSqlResourceSqlDatabaseInvokeArgs Empty => new GetSqlResourceSqlDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlDatabaseResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlDatabaseGetPropertiesResponseOptions? Options; + public readonly Outputs.SqlDatabaseGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlDatabaseResult( + string id, + + string? location, + + string name, + + Outputs.SqlDatabaseGetPropertiesResponseOptions? options, + + Outputs.SqlDatabaseGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlRoleAssignment.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlRoleAssignment.cs new file mode 100644 index 000000000000..fc1e0fcd34b2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlRoleAssignment.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlRoleAssignment + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + /// + public static Task InvokeAsync(GetSqlResourceSqlRoleAssignmentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlRoleAssignment", args ?? new GetSqlResourceSqlRoleAssignmentArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + /// + public static Output Invoke(GetSqlResourceSqlRoleAssignmentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlRoleAssignment", args ?? new GetSqlResourceSqlRoleAssignmentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlRoleAssignmentArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Assignment. + /// + [Input("roleAssignmentId", required: true)] + public string RoleAssignmentId { get; set; } = null!; + + public GetSqlResourceSqlRoleAssignmentArgs() + { + } + public static new GetSqlResourceSqlRoleAssignmentArgs Empty => new GetSqlResourceSqlRoleAssignmentArgs(); + } + + public sealed class GetSqlResourceSqlRoleAssignmentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Assignment. + /// + [Input("roleAssignmentId", required: true)] + public Input RoleAssignmentId { get; set; } = null!; + + public GetSqlResourceSqlRoleAssignmentInvokeArgs() + { + } + public static new GetSqlResourceSqlRoleAssignmentInvokeArgs Empty => new GetSqlResourceSqlRoleAssignmentInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlRoleAssignmentResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + /// + public readonly string? PrincipalId; + /// + /// The unique identifier for the associated Role Definition. + /// + public readonly string? RoleDefinitionId; + /// + /// The data plane resource path for which access is being granted through this Role Assignment. + /// + public readonly string? Scope; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlRoleAssignmentResult( + string id, + + string name, + + string? principalId, + + string? roleDefinitionId, + + string? scope, + + string type) + { + Id = id; + Name = name; + PrincipalId = principalId; + RoleDefinitionId = roleDefinitionId; + Scope = scope; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlRoleDefinition.cs new file mode 100644 index 000000000000..f95fa640d16e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlRoleDefinition.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlRoleDefinition + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + /// + public static Task InvokeAsync(GetSqlResourceSqlRoleDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlRoleDefinition", args ?? new GetSqlResourceSqlRoleDefinitionArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + /// + public static Output Invoke(GetSqlResourceSqlRoleDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlRoleDefinition", args ?? new GetSqlResourceSqlRoleDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlRoleDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Definition. + /// + [Input("roleDefinitionId", required: true)] + public string RoleDefinitionId { get; set; } = null!; + + public GetSqlResourceSqlRoleDefinitionArgs() + { + } + public static new GetSqlResourceSqlRoleDefinitionArgs Empty => new GetSqlResourceSqlRoleDefinitionArgs(); + } + + public sealed class GetSqlResourceSqlRoleDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Definition. + /// + [Input("roleDefinitionId", required: true)] + public Input RoleDefinitionId { get; set; } = null!; + + public GetSqlResourceSqlRoleDefinitionInvokeArgs() + { + } + public static new GetSqlResourceSqlRoleDefinitionInvokeArgs Empty => new GetSqlResourceSqlRoleDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlRoleDefinitionResult + { + /// + /// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + /// + public readonly ImmutableArray AssignableScopes; + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// The set of operations allowed through this Role Definition. + /// + public readonly ImmutableArray Permissions; + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + public readonly string? RoleName; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlRoleDefinitionResult( + ImmutableArray assignableScopes, + + string id, + + string name, + + ImmutableArray permissions, + + string? roleName, + + string type) + { + AssignableScopes = assignableScopes; + Id = id; + Name = name; + Permissions = permissions; + RoleName = roleName; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlStoredProcedure.cs new file mode 100644 index 000000000000..8ac569618a34 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlStoredProcedure.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlStoredProcedure + { + /// + /// Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlStoredProcedureArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlStoredProcedure", args ?? new GetSqlResourceSqlStoredProcedureArgs(), options.WithDefaults()); + + /// + /// Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlStoredProcedureInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlStoredProcedure", args ?? new GetSqlResourceSqlStoredProcedureInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlStoredProcedureArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB storedProcedure name. + /// + [Input("storedProcedureName", required: true)] + public string StoredProcedureName { get; set; } = null!; + + public GetSqlResourceSqlStoredProcedureArgs() + { + } + public static new GetSqlResourceSqlStoredProcedureArgs Empty => new GetSqlResourceSqlStoredProcedureArgs(); + } + + public sealed class GetSqlResourceSqlStoredProcedureInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB storedProcedure name. + /// + [Input("storedProcedureName", required: true)] + public Input StoredProcedureName { get; set; } = null!; + + public GetSqlResourceSqlStoredProcedureInvokeArgs() + { + } + public static new GetSqlResourceSqlStoredProcedureInvokeArgs Empty => new GetSqlResourceSqlStoredProcedureInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlStoredProcedureResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlStoredProcedureGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlStoredProcedureResult( + string id, + + string? location, + + string name, + + Outputs.SqlStoredProcedureGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlTrigger.cs new file mode 100644 index 000000000000..f15ab927dc23 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlTrigger.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlTrigger + { + /// + /// Gets the SQL trigger under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlTriggerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlTrigger", args ?? new GetSqlResourceSqlTriggerArgs(), options.WithDefaults()); + + /// + /// Gets the SQL trigger under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlTriggerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlTrigger", args ?? new GetSqlResourceSqlTriggerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlTriggerArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB trigger name. + /// + [Input("triggerName", required: true)] + public string TriggerName { get; set; } = null!; + + public GetSqlResourceSqlTriggerArgs() + { + } + public static new GetSqlResourceSqlTriggerArgs Empty => new GetSqlResourceSqlTriggerArgs(); + } + + public sealed class GetSqlResourceSqlTriggerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB trigger name. + /// + [Input("triggerName", required: true)] + public Input TriggerName { get; set; } = null!; + + public GetSqlResourceSqlTriggerInvokeArgs() + { + } + public static new GetSqlResourceSqlTriggerInvokeArgs Empty => new GetSqlResourceSqlTriggerInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlTriggerResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlTriggerGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlTriggerResult( + string id, + + string? location, + + string name, + + Outputs.SqlTriggerGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlUserDefinedFunction.cs new file mode 100644 index 000000000000..5d78b4510b47 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetSqlResourceSqlUserDefinedFunction.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetSqlResourceSqlUserDefinedFunction + { + /// + /// Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlUserDefinedFunctionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getSqlResourceSqlUserDefinedFunction", args ?? new GetSqlResourceSqlUserDefinedFunctionArgs(), options.WithDefaults()); + + /// + /// Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlUserDefinedFunctionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getSqlResourceSqlUserDefinedFunction", args ?? new GetSqlResourceSqlUserDefinedFunctionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlUserDefinedFunctionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB userDefinedFunction name. + /// + [Input("userDefinedFunctionName", required: true)] + public string UserDefinedFunctionName { get; set; } = null!; + + public GetSqlResourceSqlUserDefinedFunctionArgs() + { + } + public static new GetSqlResourceSqlUserDefinedFunctionArgs Empty => new GetSqlResourceSqlUserDefinedFunctionArgs(); + } + + public sealed class GetSqlResourceSqlUserDefinedFunctionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB userDefinedFunction name. + /// + [Input("userDefinedFunctionName", required: true)] + public Input UserDefinedFunctionName { get; set; } = null!; + + public GetSqlResourceSqlUserDefinedFunctionInvokeArgs() + { + } + public static new GetSqlResourceSqlUserDefinedFunctionInvokeArgs Empty => new GetSqlResourceSqlUserDefinedFunctionInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlUserDefinedFunctionResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlUserDefinedFunctionGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlUserDefinedFunctionResult( + string id, + + string? location, + + string name, + + Outputs.SqlUserDefinedFunctionGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GetTableResourceTable.cs b/sdk/dotnet/DocumentDB/V20230915/GetTableResourceTable.cs new file mode 100644 index 000000000000..a4e7ddafa10b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GetTableResourceTable.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class GetTableResourceTable + { + /// + /// Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetTableResourceTableArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:getTableResourceTable", args ?? new GetTableResourceTableArgs(), options.WithDefaults()); + + /// + /// Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetTableResourceTableInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:getTableResourceTable", args ?? new GetTableResourceTableInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetTableResourceTableArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public string TableName { get; set; } = null!; + + public GetTableResourceTableArgs() + { + } + public static new GetTableResourceTableArgs Empty => new GetTableResourceTableArgs(); + } + + public sealed class GetTableResourceTableInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public GetTableResourceTableInvokeArgs() + { + } + public static new GetTableResourceTableInvokeArgs Empty => new GetTableResourceTableInvokeArgs(); + } + + + [OutputType] + public sealed class GetTableResourceTableResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.TableGetPropertiesResponseOptions? Options; + public readonly Outputs.TableGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetTableResourceTableResult( + string id, + + string? location, + + string name, + + Outputs.TableGetPropertiesResponseOptions? options, + + Outputs.TableGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/V20230915/GremlinResourceGremlinDatabase.cs new file mode 100644 index 000000000000..75b503635468 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GremlinResourceGremlinDatabase.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Gremlin database. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase")] + public partial class GremlinResourceGremlinDatabase : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GremlinResourceGremlinDatabase 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 GremlinResourceGremlinDatabase(string name, GremlinResourceGremlinDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase", name, args ?? new GremlinResourceGremlinDatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private GremlinResourceGremlinDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase"}, + }, + }; + 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 GremlinResourceGremlinDatabase 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. + /// A bag of options that control this resource's behavior + public static GremlinResourceGremlinDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GremlinResourceGremlinDatabase(name, id, options); + } + } + + public sealed class GremlinResourceGremlinDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Gremlin database + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GremlinResourceGremlinDatabaseArgs() + { + } + public static new GremlinResourceGremlinDatabaseArgs Empty => new GremlinResourceGremlinDatabaseArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/GremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/V20230915/GremlinResourceGremlinGraph.cs new file mode 100644 index 000000000000..ac7c58e403ff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/GremlinResourceGremlinGraph.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Gremlin graph. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:GremlinResourceGremlinGraph")] + public partial class GremlinResourceGremlinGraph : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GremlinResourceGremlinGraph 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 GremlinResourceGremlinGraph(string name, GremlinResourceGremlinGraphArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:GremlinResourceGremlinGraph", name, args ?? new GremlinResourceGremlinGraphArgs(), MakeResourceOptions(options, "")) + { + } + + private GremlinResourceGremlinGraph(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:GremlinResourceGremlinGraph", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph"}, + }, + }; + 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 GremlinResourceGremlinGraph 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. + /// A bag of options that control this resource's behavior + public static GremlinResourceGremlinGraph Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GremlinResourceGremlinGraph(name, id, options); + } + } + + public sealed class GremlinResourceGremlinGraphArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Cosmos DB graph name. + /// + [Input("graphName")] + public Input? GraphName { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Gremlin graph + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GremlinResourceGremlinGraphArgs() + { + } + public static new GremlinResourceGremlinGraphArgs Empty => new GremlinResourceGremlinGraphArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/AnalyticalStorageConfigurationArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/AnalyticalStorageConfigurationArgs.cs new file mode 100644 index 000000000000..636f2ae2a03b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/AnalyticalStorageConfigurationArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Analytical storage specific properties. + /// + public sealed class AnalyticalStorageConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the types of schema for analytical storage. + /// + [Input("schemaType")] + public InputUnion? SchemaType { get; set; } + + public AnalyticalStorageConfigurationArgs() + { + } + public static new AnalyticalStorageConfigurationArgs Empty => new AnalyticalStorageConfigurationArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ApiPropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ApiPropertiesArgs.cs new file mode 100644 index 000000000000..6bd6381d0952 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ApiPropertiesArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class ApiPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the ServerVersion of an a MongoDB account. + /// + [Input("serverVersion")] + public InputUnion? ServerVersion { get; set; } + + public ApiPropertiesArgs() + { + } + public static new ApiPropertiesArgs Empty => new ApiPropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/AuthenticationMethodLdapPropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/AuthenticationMethodLdapPropertiesArgs.cs new file mode 100644 index 000000000000..5f0c2026e7d6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/AuthenticationMethodLdapPropertiesArgs.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Ldap authentication method properties. This feature is in preview. + /// + public sealed class AuthenticationMethodLdapPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + /// + [Input("connectionTimeoutInMs")] + public Input? ConnectionTimeoutInMs { get; set; } + + /// + /// Distinguished name of the object to start the recursive search of users from. + /// + [Input("searchBaseDistinguishedName")] + public Input? SearchBaseDistinguishedName { get; set; } + + /// + /// Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + /// + [Input("searchFilterTemplate")] + public Input? SearchFilterTemplate { get; set; } + + [Input("serverCertificates")] + private InputList? _serverCertificates; + public InputList ServerCertificates + { + get => _serverCertificates ?? (_serverCertificates = new InputList()); + set => _serverCertificates = value; + } + + /// + /// Hostname of the LDAP server. + /// + [Input("serverHostname")] + public Input? ServerHostname { get; set; } + + /// + /// Port of the LDAP server. + /// + [Input("serverPort")] + public Input? ServerPort { get; set; } + + /// + /// Distinguished name of the look up user account, who can look up user details on authentication. + /// + [Input("serviceUserDistinguishedName")] + public Input? ServiceUserDistinguishedName { get; set; } + + /// + /// Password of the look up user. + /// + [Input("serviceUserPassword")] + public Input? ServiceUserPassword { get; set; } + + public AuthenticationMethodLdapPropertiesArgs() + { + } + public static new AuthenticationMethodLdapPropertiesArgs Empty => new AuthenticationMethodLdapPropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/AutoscaleSettingsArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/AutoscaleSettingsArgs.cs new file mode 100644 index 000000000000..b42d1c34bc73 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/AutoscaleSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class AutoscaleSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Represents maximum throughput, the resource can scale up to. + /// + [Input("maxThroughput")] + public Input? MaxThroughput { get; set; } + + public AutoscaleSettingsArgs() + { + } + public static new AutoscaleSettingsArgs Empty => new AutoscaleSettingsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/BackupPolicyMigrationStateArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/BackupPolicyMigrationStateArgs.cs new file mode 100644 index 000000000000..4c8d996c5474 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/BackupPolicyMigrationStateArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The object representing the state of the migration between the backup policies. + /// + public sealed class BackupPolicyMigrationStateArgs : global::Pulumi.ResourceArgs + { + /// + /// Time at which the backup policy migration started (ISO-8601 format). + /// + [Input("startTime")] + public Input? StartTime { get; set; } + + /// + /// Describes the status of migration between backup policy types. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + /// + /// Describes the target backup policy type of the backup policy migration. + /// + [Input("targetType")] + public InputUnion? TargetType { get; set; } + + public BackupPolicyMigrationStateArgs() + { + } + public static new BackupPolicyMigrationStateArgs Empty => new BackupPolicyMigrationStateArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CapabilityArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CapabilityArgs.cs new file mode 100644 index 000000000000..52f6c61be3a2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CapabilityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB capability object + /// + public sealed class CapabilityArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + /// + [Input("name")] + public Input? Name { get; set; } + + public CapabilityArgs() + { + } + public static new CapabilityArgs Empty => new CapabilityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CapacityArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CapacityArgs.cs new file mode 100644 index 000000000000..cef6c5b7cd26 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CapacityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + public sealed class CapacityArgs : global::Pulumi.ResourceArgs + { + /// + /// The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + /// + [Input("totalThroughputLimit")] + public Input? TotalThroughputLimit { get; set; } + + public CapacityArgs() + { + } + public static new CapacityArgs Empty => new CapacityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraErrorArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraErrorArgs.cs new file mode 100644 index 000000000000..02f7ca1670a6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraErrorArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class CassandraErrorArgs : global::Pulumi.ResourceArgs + { + /// + /// Additional information about the error. + /// + [Input("additionalErrorInfo")] + public Input? AdditionalErrorInfo { get; set; } + + /// + /// The code of error that occurred. + /// + [Input("code")] + public Input? Code { get; set; } + + /// + /// The message of the error. + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// The target resource of the error. + /// + [Input("target")] + public Input? Target { get; set; } + + public CassandraErrorArgs() + { + } + public static new CassandraErrorArgs Empty => new CassandraErrorArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraKeyspaceResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraKeyspaceResourceArgs.cs new file mode 100644 index 000000000000..c775497a480c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraKeyspaceResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Cassandra keyspace resource object + /// + public sealed class CassandraKeyspaceResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra keyspace + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public CassandraKeyspaceResourceArgs() + { + } + public static new CassandraKeyspaceResourceArgs Empty => new CassandraKeyspaceResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraPartitionKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraPartitionKeyArgs.cs new file mode 100644 index 000000000000..68d4de2568af --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraPartitionKeyArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Cassandra table partition key + /// + public sealed class CassandraPartitionKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra table partition key + /// + [Input("name")] + public Input? Name { get; set; } + + public CassandraPartitionKeyArgs() + { + } + public static new CassandraPartitionKeyArgs Empty => new CassandraPartitionKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraSchemaArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraSchemaArgs.cs new file mode 100644 index 000000000000..5489400e6034 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraSchemaArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Cassandra table schema + /// + public sealed class CassandraSchemaArgs : global::Pulumi.ResourceArgs + { + [Input("clusterKeys")] + private InputList? _clusterKeys; + + /// + /// List of cluster key. + /// + public InputList ClusterKeys + { + get => _clusterKeys ?? (_clusterKeys = new InputList()); + set => _clusterKeys = value; + } + + [Input("columns")] + private InputList? _columns; + + /// + /// List of Cassandra table columns. + /// + public InputList Columns + { + get => _columns ?? (_columns = new InputList()); + set => _columns = value; + } + + [Input("partitionKeys")] + private InputList? _partitionKeys; + + /// + /// List of partition key. + /// + public InputList PartitionKeys + { + get => _partitionKeys ?? (_partitionKeys = new InputList()); + set => _partitionKeys = value; + } + + public CassandraSchemaArgs() + { + } + public static new CassandraSchemaArgs Empty => new CassandraSchemaArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraTableResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraTableResourceArgs.cs new file mode 100644 index 000000000000..2e14fea1f598 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CassandraTableResourceArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Cassandra table resource object + /// + public sealed class CassandraTableResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// Time to live of the Cosmos DB Cassandra table + /// + [Input("defaultTtl")] + public Input? DefaultTtl { get; set; } + + /// + /// Name of the Cosmos DB Cassandra table + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Schema of the Cosmos DB Cassandra table + /// + [Input("schema")] + public Input? Schema { get; set; } + + public CassandraTableResourceArgs() + { + } + public static new CassandraTableResourceArgs Empty => new CassandraTableResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CertificateArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CertificateArgs.cs new file mode 100644 index 000000000000..f2d38b4951ce --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CertificateArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class CertificateArgs : global::Pulumi.ResourceArgs + { + /// + /// PEM formatted public key. + /// + [Input("pem")] + public Input? Pem { get; set; } + + public CertificateArgs() + { + } + public static new CertificateArgs Empty => new CertificateArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ClientEncryptionIncludedPathArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClientEncryptionIncludedPathArgs.cs new file mode 100644 index 000000000000..b1801898d7ee --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClientEncryptionIncludedPathArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// . + /// + public sealed class ClientEncryptionIncludedPathArgs : global::Pulumi.ResourceArgs + { + /// + /// The identifier of the Client Encryption Key to be used to encrypt the path. + /// + [Input("clientEncryptionKeyId", required: true)] + public Input ClientEncryptionKeyId { get; set; } = null!; + + /// + /// The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + /// + [Input("encryptionAlgorithm", required: true)] + public Input EncryptionAlgorithm { get; set; } = null!; + + /// + /// The type of encryption to be performed. Eg - Deterministic, Randomized. + /// + [Input("encryptionType", required: true)] + public Input EncryptionType { get; set; } = null!; + + /// + /// Path that needs to be encrypted. + /// + [Input("path", required: true)] + public Input Path { get; set; } = null!; + + public ClientEncryptionIncludedPathArgs() + { + } + public static new ClientEncryptionIncludedPathArgs Empty => new ClientEncryptionIncludedPathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ClientEncryptionPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClientEncryptionPolicyArgs.cs new file mode 100644 index 000000000000..8cdda1718063 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClientEncryptionPolicyArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB client encryption policy. + /// + public sealed class ClientEncryptionPolicyArgs : global::Pulumi.ResourceArgs + { + [Input("includedPaths", required: true)] + private InputList? _includedPaths; + + /// + /// Paths of the item that need encryption along with path-specific settings. + /// + public InputList IncludedPaths + { + get => _includedPaths ?? (_includedPaths = new InputList()); + set => _includedPaths = value; + } + + /// + /// Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + /// + [Input("policyFormatVersion", required: true)] + public Input PolicyFormatVersion { get; set; } = null!; + + public ClientEncryptionPolicyArgs() + { + } + public static new ClientEncryptionPolicyArgs Empty => new ClientEncryptionPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ClusterKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClusterKeyArgs.cs new file mode 100644 index 000000000000..0dda790b7c05 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClusterKeyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Cassandra table cluster key + /// + public sealed class ClusterKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra table cluster key + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + /// + [Input("orderBy")] + public Input? OrderBy { get; set; } + + public ClusterKeyArgs() + { + } + public static new ClusterKeyArgs Empty => new ClusterKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ClusterResourcePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClusterResourcePropertiesArgs.cs new file mode 100644 index 000000000000..5a1712c43eac --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ClusterResourcePropertiesArgs.cs @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Properties of a managed Cassandra cluster. + /// + public sealed class ClusterResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + /// + [Input("authenticationMethod")] + public InputUnion? AuthenticationMethod { get; set; } + + /// + /// Whether Cassandra audit logging is enabled + /// + [Input("cassandraAuditLoggingEnabled")] + public Input? CassandraAuditLoggingEnabled { get; set; } + + /// + /// Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + /// + [Input("cassandraVersion")] + public Input? CassandraVersion { get; set; } + + [Input("clientCertificates")] + private InputList? _clientCertificates; + + /// + /// List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + /// + public InputList ClientCertificates + { + get => _clientCertificates ?? (_clientCertificates = new InputList()); + set => _clientCertificates = value; + } + + /// + /// If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + /// + [Input("clusterNameOverride")] + public Input? ClusterNameOverride { get; set; } + + /// + /// Whether the cluster and associated data centers has been deallocated. + /// + [Input("deallocated")] + public Input? Deallocated { get; set; } + + /// + /// Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>' + /// + [Input("delegatedManagementSubnetId")] + public Input? DelegatedManagementSubnetId { get; set; } + + [Input("externalGossipCertificates")] + private InputList? _externalGossipCertificates; + + /// + /// List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + /// + public InputList ExternalGossipCertificates + { + get => _externalGossipCertificates ?? (_externalGossipCertificates = new InputList()); + set => _externalGossipCertificates = value; + } + + [Input("externalSeedNodes")] + private InputList? _externalSeedNodes; + + /// + /// List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + /// + public InputList ExternalSeedNodes + { + get => _externalSeedNodes ?? (_externalSeedNodes = new InputList()); + set => _externalSeedNodes = value; + } + + /// + /// (Deprecated) Number of hours to wait between taking a backup of the cluster. + /// + [Input("hoursBetweenBackups")] + public Input? HoursBetweenBackups { get; set; } + + /// + /// Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + /// + [Input("initialCassandraAdminPassword")] + public Input? InitialCassandraAdminPassword { get; set; } + + /// + /// Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + /// + [Input("prometheusEndpoint")] + public Input? PrometheusEndpoint { get; set; } + + /// + /// Error related to resource provisioning. + /// + [Input("provisionError")] + public Input? ProvisionError { get; set; } + + /// + /// The status of the resource at the time the operation was called. + /// + [Input("provisioningState")] + public InputUnion? ProvisioningState { get; set; } + + /// + /// Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + /// + [Input("repairEnabled")] + public Input? RepairEnabled { get; set; } + + /// + /// To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + /// + [Input("restoreFromBackupId")] + public Input? RestoreFromBackupId { get; set; } + + public ClusterResourcePropertiesArgs() + { + } + public static new ClusterResourcePropertiesArgs Empty => new ClusterResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ColumnArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ColumnArgs.cs new file mode 100644 index 000000000000..140d6065d1e9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ColumnArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Cassandra table column + /// + public sealed class ColumnArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra table column + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Type of the Cosmos DB Cassandra table column + /// + [Input("type")] + public Input? Type { get; set; } + + public ColumnArgs() + { + } + public static new ColumnArgs Empty => new ColumnArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CompositePathArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CompositePathArgs.cs new file mode 100644 index 000000000000..6323d391c174 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CompositePathArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class CompositePathArgs : global::Pulumi.ResourceArgs + { + /// + /// Sort order for composite paths. + /// + [Input("order")] + public InputUnion? Order { get; set; } + + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + public CompositePathArgs() + { + } + public static new CompositePathArgs Empty => new CompositePathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ConflictResolutionPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ConflictResolutionPolicyArgs.cs new file mode 100644 index 000000000000..bbec22618dcf --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ConflictResolutionPolicyArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The conflict resolution policy for the container. + /// + public sealed class ConflictResolutionPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The conflict resolution path in the case of LastWriterWins mode. + /// + [Input("conflictResolutionPath")] + public Input? ConflictResolutionPath { get; set; } + + /// + /// The procedure to resolve conflicts in the case of custom mode. + /// + [Input("conflictResolutionProcedure")] + public Input? ConflictResolutionProcedure { get; set; } + + /// + /// Indicates the conflict resolution mode. + /// + [Input("mode")] + public InputUnion? Mode { get; set; } + + public ConflictResolutionPolicyArgs() + { + Mode = "LastWriterWins"; + } + public static new ConflictResolutionPolicyArgs Empty => new ConflictResolutionPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ConsistencyPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ConsistencyPolicyArgs.cs new file mode 100644 index 000000000000..5d015a2c385a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ConsistencyPolicyArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The consistency policy for the Cosmos DB database account. + /// + public sealed class ConsistencyPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The default consistency level and configuration settings of the Cosmos DB account. + /// + [Input("defaultConsistencyLevel", required: true)] + public Input DefaultConsistencyLevel { get; set; } = null!; + + /// + /// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + [Input("maxIntervalInSeconds")] + public Input? MaxIntervalInSeconds { get; set; } + + /// + /// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + [Input("maxStalenessPrefix")] + public Input? MaxStalenessPrefix { get; set; } + + public ConsistencyPolicyArgs() + { + } + public static new ConsistencyPolicyArgs Empty => new ConsistencyPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ContainerPartitionKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ContainerPartitionKeyArgs.cs new file mode 100644 index 000000000000..e9828aebbb46 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ContainerPartitionKeyArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + public sealed class ContainerPartitionKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + [Input("paths")] + private InputList? _paths; + + /// + /// List of paths using which data within the container can be partitioned + /// + public InputList Paths + { + get => _paths ?? (_paths = new InputList()); + set => _paths = value; + } + + /// + /// Indicates the version of the partition key definition + /// + [Input("version")] + public Input? Version { get; set; } + + public ContainerPartitionKeyArgs() + { + Kind = "Hash"; + } + public static new ContainerPartitionKeyArgs Empty => new ContainerPartitionKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ContinuousModeBackupPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ContinuousModeBackupPolicyArgs.cs new file mode 100644 index 000000000000..e234c72869fd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ContinuousModeBackupPolicyArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The object representing continuous mode backup policy. + /// + public sealed class ContinuousModeBackupPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// Configuration values for continuous mode backup + /// + [Input("continuousModeProperties")] + public Input? ContinuousModeProperties { get; set; } + + /// + /// The object representing the state of the migration between the backup policies. + /// + [Input("migrationState")] + public Input? MigrationState { get; set; } + + /// + /// Describes the mode of backups. + /// Expected value is 'Continuous'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ContinuousModeBackupPolicyArgs() + { + } + public static new ContinuousModeBackupPolicyArgs Empty => new ContinuousModeBackupPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ContinuousModePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ContinuousModePropertiesArgs.cs new file mode 100644 index 000000000000..e591d386362d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ContinuousModePropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Configuration values for periodic mode backup + /// + public sealed class ContinuousModePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Enum to indicate type of Continuous backup mode + /// + [Input("tier")] + public InputUnion? Tier { get; set; } + + public ContinuousModePropertiesArgs() + { + } + public static new ContinuousModePropertiesArgs Empty => new ContinuousModePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CorsPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CorsPolicyArgs.cs new file mode 100644 index 000000000000..4250e0d4f11f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CorsPolicyArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The CORS policy for the Cosmos DB database account. + /// + public sealed class CorsPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The request headers that the origin domain may specify on the CORS request. + /// + [Input("allowedHeaders")] + public Input? AllowedHeaders { get; set; } + + /// + /// The methods (HTTP request verbs) that the origin domain may use for a CORS request. + /// + [Input("allowedMethods")] + public Input? AllowedMethods { get; set; } + + /// + /// The origin domains that are permitted to make a request against the service via CORS. + /// + [Input("allowedOrigins", required: true)] + public Input AllowedOrigins { get; set; } = null!; + + /// + /// The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + /// + [Input("exposedHeaders")] + public Input? ExposedHeaders { get; set; } + + /// + /// The maximum amount time that a browser should cache the preflight OPTIONS request. + /// + [Input("maxAgeInSeconds")] + public Input? MaxAgeInSeconds { get; set; } + + public CorsPolicyArgs() + { + } + public static new CorsPolicyArgs Empty => new CorsPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/CreateUpdateOptionsArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/CreateUpdateOptionsArgs.cs new file mode 100644 index 000000000000..330aaba216e6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/CreateUpdateOptionsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + /// + public sealed class CreateUpdateOptionsArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. + /// + [Input("autoscaleSettings")] + public Input? AutoscaleSettings { get; set; } + + /// + /// Request Units per second. For example, "throughput": 10000. + /// + [Input("throughput")] + public Input? Throughput { get; set; } + + public CreateUpdateOptionsArgs() + { + } + public static new CreateUpdateOptionsArgs Empty => new CreateUpdateOptionsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/DataCenterResourcePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/DataCenterResourcePropertiesArgs.cs new file mode 100644 index 000000000000..309889bd4985 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/DataCenterResourcePropertiesArgs.cs @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Properties of a managed Cassandra data center. + /// + public sealed class DataCenterResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Ldap authentication method properties. This feature is in preview. + /// + [Input("authenticationMethodLdapProperties")] + public Input? AuthenticationMethodLdapProperties { get; set; } + + /// + /// If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + /// + [Input("availabilityZone")] + public Input? AvailabilityZone { get; set; } + + /// + /// Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + /// + [Input("backupStorageCustomerKeyUri")] + public Input? BackupStorageCustomerKeyUri { get; set; } + + /// + /// A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + /// + [Input("base64EncodedCassandraYamlFragment")] + public Input? Base64EncodedCassandraYamlFragment { get; set; } + + /// + /// The region this data center should be created in. + /// + [Input("dataCenterLocation")] + public Input? DataCenterLocation { get; set; } + + /// + /// Whether the data center has been deallocated. + /// + [Input("deallocated")] + public Input? Deallocated { get; set; } + + /// + /// Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'. + /// + [Input("delegatedSubnetId")] + public Input? DelegatedSubnetId { get; set; } + + /// + /// Number of disks attached to each node. Default is 4. + /// + [Input("diskCapacity")] + public Input? DiskCapacity { get; set; } + + /// + /// Disk SKU used for data centers. Default value is P30. + /// + [Input("diskSku")] + public Input? DiskSku { get; set; } + + /// + /// Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + /// + [Input("managedDiskCustomerKeyUri")] + public Input? ManagedDiskCustomerKeyUri { get; set; } + + /// + /// The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + /// + [Input("nodeCount")] + public Input? NodeCount { get; set; } + + /// + /// Error related to resource provisioning. + /// + [Input("provisionError")] + public Input? ProvisionError { get; set; } + + /// + /// The status of the resource at the time the operation was called. + /// + [Input("provisioningState")] + public InputUnion? ProvisioningState { get; set; } + + /// + /// Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + /// + [Input("sku")] + public Input? Sku { get; set; } + + public DataCenterResourcePropertiesArgs() + { + } + public static new DataCenterResourcePropertiesArgs Empty => new DataCenterResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/DatabaseRestoreResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/DatabaseRestoreResourceArgs.cs new file mode 100644 index 000000000000..544ae59fd4b7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/DatabaseRestoreResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Specific Databases to restore. + /// + public sealed class DatabaseRestoreResourceArgs : global::Pulumi.ResourceArgs + { + [Input("collectionNames")] + private InputList? _collectionNames; + + /// + /// The names of the collections available for restore. + /// + public InputList CollectionNames + { + get => _collectionNames ?? (_collectionNames = new InputList()); + set => _collectionNames = value; + } + + /// + /// The name of the database available for restore. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + public DatabaseRestoreResourceArgs() + { + } + public static new DatabaseRestoreResourceArgs Empty => new DatabaseRestoreResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ExcludedPathArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ExcludedPathArgs.cs new file mode 100644 index 000000000000..307e0853afcb --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ExcludedPathArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class ExcludedPathArgs : global::Pulumi.ResourceArgs + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + public ExcludedPathArgs() + { + } + public static new ExcludedPathArgs Empty => new ExcludedPathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinDatabaseResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinDatabaseResourceArgs.cs new file mode 100644 index 000000000000..478a66b26096 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinDatabaseResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Gremlin database resource object + /// + public sealed class GremlinDatabaseResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Gremlin database + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GremlinDatabaseResourceArgs() + { + } + public static new GremlinDatabaseResourceArgs Empty => new GremlinDatabaseResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinDatabaseRestoreResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinDatabaseRestoreResourceArgs.cs new file mode 100644 index 000000000000..db7ab3fc38b4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinDatabaseRestoreResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Specific Gremlin Databases to restore. + /// + public sealed class GremlinDatabaseRestoreResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the gremlin database available for restore. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + [Input("graphNames")] + private InputList? _graphNames; + + /// + /// The names of the graphs available for restore. + /// + public InputList GraphNames + { + get => _graphNames ?? (_graphNames = new InputList()); + set => _graphNames = value; + } + + public GremlinDatabaseRestoreResourceArgs() + { + } + public static new GremlinDatabaseRestoreResourceArgs Empty => new GremlinDatabaseRestoreResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinGraphResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinGraphResourceArgs.cs new file mode 100644 index 000000000000..9b963b200453 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/GremlinGraphResourceArgs.cs @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB Gremlin graph resource object + /// + public sealed class GremlinGraphResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// The conflict resolution policy for the graph. + /// + [Input("conflictResolutionPolicy")] + public Input? ConflictResolutionPolicy { get; set; } + + /// + /// Default time to live + /// + [Input("defaultTtl")] + public Input? DefaultTtl { get; set; } + + /// + /// Name of the Cosmos DB Gremlin graph + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + /// + [Input("indexingPolicy")] + public Input? IndexingPolicy { get; set; } + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + [Input("partitionKey")] + public Input? PartitionKey { get; set; } + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + [Input("uniqueKeyPolicy")] + public Input? UniqueKeyPolicy { get; set; } + + public GremlinGraphResourceArgs() + { + } + public static new GremlinGraphResourceArgs Empty => new GremlinGraphResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/IncludedPathArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/IncludedPathArgs.cs new file mode 100644 index 000000000000..dd9839585372 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/IncludedPathArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The paths that are included in indexing + /// + public sealed class IncludedPathArgs : global::Pulumi.ResourceArgs + { + [Input("indexes")] + private InputList? _indexes; + + /// + /// List of indexes for this path + /// + public InputList Indexes + { + get => _indexes ?? (_indexes = new InputList()); + set => _indexes = value; + } + + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + public IncludedPathArgs() + { + } + public static new IncludedPathArgs Empty => new IncludedPathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/IndexesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/IndexesArgs.cs new file mode 100644 index 000000000000..06598f24dd8a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/IndexesArgs.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The indexes for the path. + /// + public sealed class IndexesArgs : global::Pulumi.ResourceArgs + { + /// + /// The datatype for which the indexing behavior is applied to. + /// + [Input("dataType")] + public InputUnion? DataType { get; set; } + + /// + /// Indicates the type of index. + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + /// + /// The precision of the index. -1 is maximum precision. + /// + [Input("precision")] + public Input? Precision { get; set; } + + public IndexesArgs() + { + DataType = "String"; + Kind = "Hash"; + } + public static new IndexesArgs Empty => new IndexesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/IndexingPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/IndexingPolicyArgs.cs new file mode 100644 index 000000000000..34d8af6d2db7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/IndexingPolicyArgs.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB indexing policy + /// + public sealed class IndexingPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates if the indexing policy is automatic + /// + [Input("automatic")] + public Input? Automatic { get; set; } + + [Input("compositeIndexes")] + private InputList>? _compositeIndexes; + + /// + /// List of composite path list + /// + public InputList> CompositeIndexes + { + get => _compositeIndexes ?? (_compositeIndexes = new InputList>()); + set => _compositeIndexes = value; + } + + [Input("excludedPaths")] + private InputList? _excludedPaths; + + /// + /// List of paths to exclude from indexing + /// + public InputList ExcludedPaths + { + get => _excludedPaths ?? (_excludedPaths = new InputList()); + set => _excludedPaths = value; + } + + [Input("includedPaths")] + private InputList? _includedPaths; + + /// + /// List of paths to include in the indexing + /// + public InputList IncludedPaths + { + get => _includedPaths ?? (_includedPaths = new InputList()); + set => _includedPaths = value; + } + + /// + /// Indicates the indexing mode. + /// + [Input("indexingMode")] + public InputUnion? IndexingMode { get; set; } + + [Input("spatialIndexes")] + private InputList? _spatialIndexes; + + /// + /// List of spatial specifics + /// + public InputList SpatialIndexes + { + get => _spatialIndexes ?? (_spatialIndexes = new InputList()); + set => _spatialIndexes = value; + } + + public IndexingPolicyArgs() + { + IndexingMode = "consistent"; + } + public static new IndexingPolicyArgs Empty => new IndexingPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/IpAddressOrRangeArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/IpAddressOrRangeArgs.cs new file mode 100644 index 000000000000..1ec78ae74495 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/IpAddressOrRangeArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// IpAddressOrRange object + /// + public sealed class IpAddressOrRangeArgs : global::Pulumi.ResourceArgs + { + /// + /// A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + /// + [Input("ipAddressOrRange")] + public Input? IpAddressOrRange { get; set; } + + public IpAddressOrRangeArgs() + { + } + public static new IpAddressOrRangeArgs Empty => new IpAddressOrRangeArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/LocationArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/LocationArgs.cs new file mode 100644 index 000000000000..701444d34551 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/LocationArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// A region in which the Azure Cosmos DB database account is deployed. + /// + public sealed class LocationArgs : global::Pulumi.ResourceArgs + { + /// + /// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + /// + [Input("failoverPriority")] + public Input? FailoverPriority { get; set; } + + /// + /// Flag to indicate whether or not this region is an AvailabilityZone region + /// + [Input("isZoneRedundant")] + public Input? IsZoneRedundant { get; set; } + + /// + /// The name of the region. + /// + [Input("locationName")] + public Input? LocationName { get; set; } + + public LocationArgs() + { + } + public static new LocationArgs Empty => new LocationArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ManagedCassandraManagedServiceIdentityArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ManagedCassandraManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..ddf720502ce6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ManagedCassandraManagedServiceIdentityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class ManagedCassandraManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of the resource. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + public ManagedCassandraManagedServiceIdentityArgs() + { + } + public static new ManagedCassandraManagedServiceIdentityArgs Empty => new ManagedCassandraManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..d6ac211e9358 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + /// + [Input("type")] + public Input? Type { get; set; } + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoDBCollectionResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoDBCollectionResourceArgs.cs new file mode 100644 index 000000000000..130f1a7e2a96 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoDBCollectionResourceArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB MongoDB collection resource object + /// + public sealed class MongoDBCollectionResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// Name of the Cosmos DB MongoDB collection + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + [Input("indexes")] + private InputList? _indexes; + + /// + /// List of index keys + /// + public InputList Indexes + { + get => _indexes ?? (_indexes = new InputList()); + set => _indexes = value; + } + + [Input("shardKey")] + private InputMap? _shardKey; + + /// + /// A key-value pair of shard keys to be applied for the request. + /// + public InputMap ShardKey + { + get => _shardKey ?? (_shardKey = new InputMap()); + set => _shardKey = value; + } + + public MongoDBCollectionResourceArgs() + { + } + public static new MongoDBCollectionResourceArgs Empty => new MongoDBCollectionResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoDBDatabaseResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoDBDatabaseResourceArgs.cs new file mode 100644 index 000000000000..4c4719628d55 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoDBDatabaseResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB MongoDB database resource object + /// + public sealed class MongoDBDatabaseResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB MongoDB database + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public MongoDBDatabaseResourceArgs() + { + } + public static new MongoDBDatabaseResourceArgs Empty => new MongoDBDatabaseResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexArgs.cs new file mode 100644 index 000000000000..bd8e07168c08 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB MongoDB collection index key + /// + public sealed class MongoIndexArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB MongoDB collection index keys + /// + [Input("key")] + public Input? Key { get; set; } + + /// + /// Cosmos DB MongoDB collection index key options + /// + [Input("options")] + public Input? Options { get; set; } + + public MongoIndexArgs() + { + } + public static new MongoIndexArgs Empty => new MongoIndexArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexKeysArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexKeysArgs.cs new file mode 100644 index 000000000000..01d43eb2f8ff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexKeysArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB MongoDB collection resource object + /// + public sealed class MongoIndexKeysArgs : global::Pulumi.ResourceArgs + { + [Input("keys")] + private InputList? _keys; + + /// + /// List of keys for each MongoDB collection in the Azure Cosmos DB service + /// + public InputList Keys + { + get => _keys ?? (_keys = new InputList()); + set => _keys = value; + } + + public MongoIndexKeysArgs() + { + } + public static new MongoIndexKeysArgs Empty => new MongoIndexKeysArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexOptionsArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexOptionsArgs.cs new file mode 100644 index 000000000000..3629f4b4a4f8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/MongoIndexOptionsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB MongoDB collection index options + /// + public sealed class MongoIndexOptionsArgs : global::Pulumi.ResourceArgs + { + /// + /// Expire after seconds + /// + [Input("expireAfterSeconds")] + public Input? ExpireAfterSeconds { get; set; } + + /// + /// Is unique or not + /// + [Input("unique")] + public Input? Unique { get; set; } + + public MongoIndexOptionsArgs() + { + } + public static new MongoIndexOptionsArgs Empty => new MongoIndexOptionsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PeriodicModeBackupPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PeriodicModeBackupPolicyArgs.cs new file mode 100644 index 000000000000..2f32ebb08bba --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PeriodicModeBackupPolicyArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The object representing periodic mode backup policy. + /// + public sealed class PeriodicModeBackupPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The object representing the state of the migration between the backup policies. + /// + [Input("migrationState")] + public Input? MigrationState { get; set; } + + /// + /// Configuration values for periodic mode backup + /// + [Input("periodicModeProperties")] + public Input? PeriodicModeProperties { get; set; } + + /// + /// Describes the mode of backups. + /// Expected value is 'Periodic'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public PeriodicModeBackupPolicyArgs() + { + } + public static new PeriodicModeBackupPolicyArgs Empty => new PeriodicModeBackupPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PeriodicModePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PeriodicModePropertiesArgs.cs new file mode 100644 index 000000000000..4af6fb685f54 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PeriodicModePropertiesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Configuration values for periodic mode backup + /// + public sealed class PeriodicModePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// An integer representing the interval in minutes between two backups + /// + [Input("backupIntervalInMinutes")] + public Input? BackupIntervalInMinutes { get; set; } + + /// + /// An integer representing the time (in hours) that each backup is retained + /// + [Input("backupRetentionIntervalInHours")] + public Input? BackupRetentionIntervalInHours { get; set; } + + /// + /// Enum to indicate type of backup residency + /// + [Input("backupStorageRedundancy")] + public InputUnion? BackupStorageRedundancy { get; set; } + + public PeriodicModePropertiesArgs() + { + } + public static new PeriodicModePropertiesArgs Empty => new PeriodicModePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PermissionArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PermissionArgs.cs new file mode 100644 index 000000000000..71b971f457ce --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PermissionArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + public sealed class PermissionArgs : global::Pulumi.ResourceArgs + { + [Input("dataActions")] + private InputList? _dataActions; + + /// + /// An array of data actions that are allowed. + /// + public InputList DataActions + { + get => _dataActions ?? (_dataActions = new InputList()); + set => _dataActions = value; + } + + [Input("notDataActions")] + private InputList? _notDataActions; + + /// + /// An array of data actions that are denied. + /// + public InputList NotDataActions + { + get => _notDataActions ?? (_notDataActions = new InputList()); + set => _notDataActions = value; + } + + public PermissionArgs() + { + } + public static new PermissionArgs Empty => new PermissionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivateEndpointPropertyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivateEndpointPropertyArgs.cs new file mode 100644 index 000000000000..d7436ddba072 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivateEndpointPropertyArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Private endpoint which the connection belongs to. + /// + public sealed class PrivateEndpointPropertyArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource id of the private endpoint. + /// + [Input("id")] + public Input? Id { get; set; } + + public PrivateEndpointPropertyArgs() + { + } + public static new PrivateEndpointPropertyArgs Empty => new PrivateEndpointPropertyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs new file mode 100644 index 000000000000..a3aa09a829ae --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Connection State of the Private Endpoint Connection. + /// + public sealed class PrivateLinkServiceConnectionStatePropertyArgs : global::Pulumi.ResourceArgs + { + /// + /// The private link service connection description. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The private link service connection status. + /// + [Input("status")] + public Input? Status { get; set; } + + public PrivateLinkServiceConnectionStatePropertyArgs() + { + } + public static new PrivateLinkServiceConnectionStatePropertyArgs Empty => new PrivateLinkServiceConnectionStatePropertyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivilegeArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivilegeArgs.cs new file mode 100644 index 000000000000..f19f2b2b1a03 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivilegeArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + public sealed class PrivilegeArgs : global::Pulumi.ResourceArgs + { + [Input("actions")] + private InputList? _actions; + + /// + /// An array of actions that are allowed. + /// + public InputList Actions + { + get => _actions ?? (_actions = new InputList()); + set => _actions = value; + } + + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + [Input("resource")] + public Input? Resource { get; set; } + + public PrivilegeArgs() + { + } + public static new PrivilegeArgs Empty => new PrivilegeArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivilegeResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivilegeResourceArgs.cs new file mode 100644 index 000000000000..5ee28f7882b5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/PrivilegeResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + public sealed class PrivilegeResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The collection name the role is applied. + /// + [Input("collection")] + public Input? Collection { get; set; } + + /// + /// The database name the role is applied. + /// + [Input("db")] + public Input? Db { get; set; } + + public PrivilegeResourceArgs() + { + } + public static new PrivilegeResourceArgs Empty => new PrivilegeResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/RestoreParametersArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/RestoreParametersArgs.cs new file mode 100644 index 000000000000..58d038b7718c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/RestoreParametersArgs.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Parameters to indicate the information about the restore. + /// + public sealed class RestoreParametersArgs : global::Pulumi.ResourceArgs + { + [Input("databasesToRestore")] + private InputList? _databasesToRestore; + + /// + /// List of specific databases available for restore. + /// + public InputList DatabasesToRestore + { + get => _databasesToRestore ?? (_databasesToRestore = new InputList()); + set => _databasesToRestore = value; + } + + [Input("gremlinDatabasesToRestore")] + private InputList? _gremlinDatabasesToRestore; + + /// + /// List of specific gremlin databases available for restore. + /// + public InputList GremlinDatabasesToRestore + { + get => _gremlinDatabasesToRestore ?? (_gremlinDatabasesToRestore = new InputList()); + set => _gremlinDatabasesToRestore = value; + } + + /// + /// Describes the mode of the restore. + /// + [Input("restoreMode")] + public InputUnion? RestoreMode { get; set; } + + /// + /// The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + [Input("restoreSource")] + public Input? RestoreSource { get; set; } + + /// + /// Time to which the account has to be restored (ISO-8601 format). + /// + [Input("restoreTimestampInUtc")] + public Input? RestoreTimestampInUtc { get; set; } + + [Input("tablesToRestore")] + private InputList? _tablesToRestore; + + /// + /// List of specific tables available for restore. + /// + public InputList TablesToRestore + { + get => _tablesToRestore ?? (_tablesToRestore = new InputList()); + set => _tablesToRestore = value; + } + + public RestoreParametersArgs() + { + } + public static new RestoreParametersArgs Empty => new RestoreParametersArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/RoleArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/RoleArgs.cs new file mode 100644 index 000000000000..7c12cf807808 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/RoleArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The set of roles permitted through this Role Definition. + /// + public sealed class RoleArgs : global::Pulumi.ResourceArgs + { + /// + /// The database name the role is applied. + /// + [Input("db")] + public Input? Db { get; set; } + + /// + /// The role name. + /// + [Input("role")] + public Input? Role { get; set; } + + public RoleArgs() + { + } + public static new RoleArgs Empty => new RoleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SeedNodeArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SeedNodeArgs.cs new file mode 100644 index 000000000000..662ddfb76025 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SeedNodeArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class SeedNodeArgs : global::Pulumi.ResourceArgs + { + /// + /// IP address of this seed node. + /// + [Input("ipAddress")] + public Input? IpAddress { get; set; } + + public SeedNodeArgs() + { + } + public static new SeedNodeArgs Empty => new SeedNodeArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SpatialSpecArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SpatialSpecArgs.cs new file mode 100644 index 000000000000..266174f5cfb5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SpatialSpecArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + public sealed class SpatialSpecArgs : global::Pulumi.ResourceArgs + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + [Input("types")] + private InputList>? _types; + + /// + /// List of path's spatial type + /// + public InputList> Types + { + get => _types ?? (_types = new InputList>()); + set => _types = value; + } + + public SpatialSpecArgs() + { + } + public static new SpatialSpecArgs Empty => new SpatialSpecArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlContainerResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlContainerResourceArgs.cs new file mode 100644 index 000000000000..df7743604157 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlContainerResourceArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB SQL container resource object + /// + public sealed class SqlContainerResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// The client encryption policy for the container. + /// + [Input("clientEncryptionPolicy")] + public Input? ClientEncryptionPolicy { get; set; } + + /// + /// The conflict resolution policy for the container. + /// + [Input("conflictResolutionPolicy")] + public Input? ConflictResolutionPolicy { get; set; } + + /// + /// Default time to live + /// + [Input("defaultTtl")] + public Input? DefaultTtl { get; set; } + + /// + /// Name of the Cosmos DB SQL container + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + /// + [Input("indexingPolicy")] + public Input? IndexingPolicy { get; set; } + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + [Input("partitionKey")] + public Input? PartitionKey { get; set; } + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + [Input("uniqueKeyPolicy")] + public Input? UniqueKeyPolicy { get; set; } + + public SqlContainerResourceArgs() + { + } + public static new SqlContainerResourceArgs Empty => new SqlContainerResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlDatabaseResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlDatabaseResourceArgs.cs new file mode 100644 index 000000000000..41ec72e00e2a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlDatabaseResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB SQL database resource object + /// + public sealed class SqlDatabaseResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB SQL database + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SqlDatabaseResourceArgs() + { + } + public static new SqlDatabaseResourceArgs Empty => new SqlDatabaseResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlStoredProcedureResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlStoredProcedureResourceArgs.cs new file mode 100644 index 000000000000..23704a7bc500 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlStoredProcedureResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB SQL storedProcedure resource object + /// + public sealed class SqlStoredProcedureResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Body of the Stored Procedure + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// Name of the Cosmos DB SQL storedProcedure + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SqlStoredProcedureResourceArgs() + { + } + public static new SqlStoredProcedureResourceArgs Empty => new SqlStoredProcedureResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlTriggerResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlTriggerResourceArgs.cs new file mode 100644 index 000000000000..1038ca9bcf5c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlTriggerResourceArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB SQL trigger resource object + /// + public sealed class SqlTriggerResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Body of the Trigger + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// Name of the Cosmos DB SQL trigger + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The operation the trigger is associated with + /// + [Input("triggerOperation")] + public InputUnion? TriggerOperation { get; set; } + + /// + /// Type of the Trigger + /// + [Input("triggerType")] + public InputUnion? TriggerType { get; set; } + + public SqlTriggerResourceArgs() + { + } + public static new SqlTriggerResourceArgs Empty => new SqlTriggerResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlUserDefinedFunctionResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlUserDefinedFunctionResourceArgs.cs new file mode 100644 index 000000000000..67b35e5bde9e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/SqlUserDefinedFunctionResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB SQL userDefinedFunction resource object + /// + public sealed class SqlUserDefinedFunctionResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Body of the User Defined Function + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// Name of the Cosmos DB SQL userDefinedFunction + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SqlUserDefinedFunctionResourceArgs() + { + } + public static new SqlUserDefinedFunctionResourceArgs Empty => new SqlUserDefinedFunctionResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/TableResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/TableResourceArgs.cs new file mode 100644 index 000000000000..c70c167cd29b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/TableResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Cosmos DB table resource object + /// + public sealed class TableResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB table + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public TableResourceArgs() + { + } + public static new TableResourceArgs Empty => new TableResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/UniqueKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/UniqueKeyArgs.cs new file mode 100644 index 000000000000..012000bba729 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/UniqueKeyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + public sealed class UniqueKeyArgs : global::Pulumi.ResourceArgs + { + [Input("paths")] + private InputList? _paths; + + /// + /// List of paths must be unique for each document in the Azure Cosmos DB service + /// + public InputList Paths + { + get => _paths ?? (_paths = new InputList()); + set => _paths = value; + } + + public UniqueKeyArgs() + { + } + public static new UniqueKeyArgs Empty => new UniqueKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/UniqueKeyPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/UniqueKeyPolicyArgs.cs new file mode 100644 index 000000000000..440cfbdd7af7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/UniqueKeyPolicyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + public sealed class UniqueKeyPolicyArgs : global::Pulumi.ResourceArgs + { + [Input("uniqueKeys")] + private InputList? _uniqueKeys; + + /// + /// List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + public InputList UniqueKeys + { + get => _uniqueKeys ?? (_uniqueKeys = new InputList()); + set => _uniqueKeys = value; + } + + public UniqueKeyPolicyArgs() + { + } + public static new UniqueKeyPolicyArgs Empty => new UniqueKeyPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Inputs/VirtualNetworkRuleArgs.cs b/sdk/dotnet/DocumentDB/V20230915/Inputs/VirtualNetworkRuleArgs.cs new file mode 100644 index 000000000000..436f0a8a3d88 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Inputs/VirtualNetworkRuleArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Inputs +{ + + /// + /// Virtual Network ACL Rule object + /// + public sealed class VirtualNetworkRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Create firewall rule before the virtual network has vnet service endpoint enabled. + /// + [Input("ignoreMissingVNetServiceEndpoint")] + public Input? IgnoreMissingVNetServiceEndpoint { get; set; } + + public VirtualNetworkRuleArgs() + { + } + public static new VirtualNetworkRuleArgs Empty => new VirtualNetworkRuleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/ListDatabaseAccountConnectionStrings.cs b/sdk/dotnet/DocumentDB/V20230915/ListDatabaseAccountConnectionStrings.cs new file mode 100644 index 000000000000..467bf5ba440b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/ListDatabaseAccountConnectionStrings.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class ListDatabaseAccountConnectionStrings + { + /// + /// Lists the connection strings for the specified Azure Cosmos DB database account. + /// + public static Task InvokeAsync(ListDatabaseAccountConnectionStringsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:listDatabaseAccountConnectionStrings", args ?? new ListDatabaseAccountConnectionStringsArgs(), options.WithDefaults()); + + /// + /// Lists the connection strings for the specified Azure Cosmos DB database account. + /// + public static Output Invoke(ListDatabaseAccountConnectionStringsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:listDatabaseAccountConnectionStrings", args ?? new ListDatabaseAccountConnectionStringsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListDatabaseAccountConnectionStringsArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountConnectionStringsArgs() + { + } + public static new ListDatabaseAccountConnectionStringsArgs Empty => new ListDatabaseAccountConnectionStringsArgs(); + } + + public sealed class ListDatabaseAccountConnectionStringsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountConnectionStringsInvokeArgs() + { + } + public static new ListDatabaseAccountConnectionStringsInvokeArgs Empty => new ListDatabaseAccountConnectionStringsInvokeArgs(); + } + + + [OutputType] + public sealed class ListDatabaseAccountConnectionStringsResult + { + /// + /// An array that contains the connection strings for the Cosmos DB account. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private ListDatabaseAccountConnectionStringsResult(ImmutableArray connectionStrings) + { + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/ListDatabaseAccountKeys.cs b/sdk/dotnet/DocumentDB/V20230915/ListDatabaseAccountKeys.cs new file mode 100644 index 000000000000..787abd5236e6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/ListDatabaseAccountKeys.cs @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class ListDatabaseAccountKeys + { + /// + /// Lists the access keys for the specified Azure Cosmos DB database account. + /// + public static Task InvokeAsync(ListDatabaseAccountKeysArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:listDatabaseAccountKeys", args ?? new ListDatabaseAccountKeysArgs(), options.WithDefaults()); + + /// + /// Lists the access keys for the specified Azure Cosmos DB database account. + /// + public static Output Invoke(ListDatabaseAccountKeysInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:listDatabaseAccountKeys", args ?? new ListDatabaseAccountKeysInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListDatabaseAccountKeysArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountKeysArgs() + { + } + public static new ListDatabaseAccountKeysArgs Empty => new ListDatabaseAccountKeysArgs(); + } + + public sealed class ListDatabaseAccountKeysInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountKeysInvokeArgs() + { + } + public static new ListDatabaseAccountKeysInvokeArgs Empty => new ListDatabaseAccountKeysInvokeArgs(); + } + + + [OutputType] + public sealed class ListDatabaseAccountKeysResult + { + /// + /// Base 64 encoded value of the primary read-write key. + /// + public readonly string PrimaryMasterKey; + /// + /// Base 64 encoded value of the primary read-only key. + /// + public readonly string PrimaryReadonlyMasterKey; + /// + /// Base 64 encoded value of the secondary read-write key. + /// + public readonly string SecondaryMasterKey; + /// + /// Base 64 encoded value of the secondary read-only key. + /// + public readonly string SecondaryReadonlyMasterKey; + + [OutputConstructor] + private ListDatabaseAccountKeysResult( + string primaryMasterKey, + + string primaryReadonlyMasterKey, + + string secondaryMasterKey, + + string secondaryReadonlyMasterKey) + { + PrimaryMasterKey = primaryMasterKey; + PrimaryReadonlyMasterKey = primaryReadonlyMasterKey; + SecondaryMasterKey = secondaryMasterKey; + SecondaryReadonlyMasterKey = secondaryReadonlyMasterKey; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/ListNotebookWorkspaceConnectionInfo.cs b/sdk/dotnet/DocumentDB/V20230915/ListNotebookWorkspaceConnectionInfo.cs new file mode 100644 index 000000000000..e9d31b9a1ce8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/ListNotebookWorkspaceConnectionInfo.cs @@ -0,0 +1,103 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + public static class ListNotebookWorkspaceConnectionInfo + { + /// + /// Retrieves the connection info for the notebook workspace + /// + public static Task InvokeAsync(ListNotebookWorkspaceConnectionInfoArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915:listNotebookWorkspaceConnectionInfo", args ?? new ListNotebookWorkspaceConnectionInfoArgs(), options.WithDefaults()); + + /// + /// Retrieves the connection info for the notebook workspace + /// + public static Output Invoke(ListNotebookWorkspaceConnectionInfoInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915:listNotebookWorkspaceConnectionInfo", args ?? new ListNotebookWorkspaceConnectionInfoInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListNotebookWorkspaceConnectionInfoArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public string NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListNotebookWorkspaceConnectionInfoArgs() + { + } + public static new ListNotebookWorkspaceConnectionInfoArgs Empty => new ListNotebookWorkspaceConnectionInfoArgs(); + } + + public sealed class ListNotebookWorkspaceConnectionInfoInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public Input NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListNotebookWorkspaceConnectionInfoInvokeArgs() + { + } + public static new ListNotebookWorkspaceConnectionInfoInvokeArgs Empty => new ListNotebookWorkspaceConnectionInfoInvokeArgs(); + } + + + [OutputType] + public sealed class ListNotebookWorkspaceConnectionInfoResult + { + /// + /// Specifies auth token used for connecting to Notebook server (uses token-based auth). + /// + public readonly string AuthToken; + /// + /// Specifies the endpoint of Notebook server. + /// + public readonly string NotebookServerEndpoint; + + [OutputConstructor] + private ListNotebookWorkspaceConnectionInfoResult( + string authToken, + + string notebookServerEndpoint) + { + AuthToken = authToken; + NotebookServerEndpoint = notebookServerEndpoint; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoDBCollection.cs new file mode 100644 index 000000000000..1a0cb669a144 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoDBCollection.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB MongoDB collection. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection")] + public partial class MongoDBResourceMongoDBCollection : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoDBCollection 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 MongoDBResourceMongoDBCollection(string name, MongoDBResourceMongoDBCollectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection", name, args ?? new MongoDBResourceMongoDBCollectionArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoDBCollection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection"}, + }, + }; + 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 MongoDBResourceMongoDBCollection 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoDBCollection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoDBCollection(name, id, options); + } + } + + public sealed class MongoDBResourceMongoDBCollectionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB collection name. + /// + [Input("collectionName")] + public Input? CollectionName { get; set; } + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a MongoDB collection + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public MongoDBResourceMongoDBCollectionArgs() + { + } + public static new MongoDBResourceMongoDBCollectionArgs Empty => new MongoDBResourceMongoDBCollectionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoDBDatabase.cs new file mode 100644 index 000000000000..479b6d718226 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoDBDatabase.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB MongoDB database. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase")] + public partial class MongoDBResourceMongoDBDatabase : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoDBDatabase 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 MongoDBResourceMongoDBDatabase(string name, MongoDBResourceMongoDBDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase", name, args ?? new MongoDBResourceMongoDBDatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoDBDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase"}, + }, + }; + 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 MongoDBResourceMongoDBDatabase 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoDBDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoDBDatabase(name, id, options); + } + } + + public sealed class MongoDBResourceMongoDBDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a MongoDB database + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public MongoDBResourceMongoDBDatabaseArgs() + { + } + public static new MongoDBResourceMongoDBDatabaseArgs Empty => new MongoDBResourceMongoDBDatabaseArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoRoleDefinition.cs new file mode 100644 index 000000000000..26a5d7f2f810 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoRoleDefinition.cs @@ -0,0 +1,181 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Mongo Role Definition. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition")] + public partial class MongoDBResourceMongoRoleDefinition : global::Pulumi.CustomResource + { + /// + /// The database name for which access is being granted for this Role Definition. + /// + [Output("databaseName")] + public Output DatabaseName { get; private set; } = null!; + + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + /// + [Output("privileges")] + public Output> Privileges { get; private set; } = null!; + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Output("roleName")] + public Output RoleName { get; private set; } = null!; + + /// + /// The set of roles inherited by this Role Definition. + /// + [Output("roles")] + public Output> Roles { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoRoleDefinition 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 MongoDBResourceMongoRoleDefinition(string name, MongoDBResourceMongoRoleDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition", name, args ?? new MongoDBResourceMongoRoleDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoRoleDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition"}, + }, + }; + 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 MongoDBResourceMongoRoleDefinition 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoRoleDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoRoleDefinition(name, id, options); + } + } + + public sealed class MongoDBResourceMongoRoleDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The database name for which access is being granted for this Role Definition. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The ID for the Role Definition {dbName.roleName}. + /// + [Input("mongoRoleDefinitionId")] + public Input? MongoRoleDefinitionId { get; set; } + + [Input("privileges")] + private InputList? _privileges; + + /// + /// A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + /// + public InputList Privileges + { + get => _privileges ?? (_privileges = new InputList()); + set => _privileges = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Input("roleName")] + public Input? RoleName { get; set; } + + [Input("roles")] + private InputList? _roles; + + /// + /// The set of roles inherited by this Role Definition. + /// + public InputList Roles + { + get => _roles ?? (_roles = new InputList()); + set => _roles = value; + } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [Input("type")] + public Input? Type { get; set; } + + public MongoDBResourceMongoRoleDefinitionArgs() + { + } + public static new MongoDBResourceMongoRoleDefinitionArgs Empty => new MongoDBResourceMongoRoleDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoUserDefinition.cs b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoUserDefinition.cs new file mode 100644 index 000000000000..56b1e61ded53 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/MongoDBResourceMongoUserDefinition.cs @@ -0,0 +1,193 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB User Definition + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition")] + public partial class MongoDBResourceMongoUserDefinition : global::Pulumi.CustomResource + { + /// + /// A custom definition for the USer Definition. + /// + [Output("customData")] + public Output CustomData { get; private set; } = null!; + + /// + /// The database name for which access is being granted for this User Definition. + /// + [Output("databaseName")] + public Output DatabaseName { get; private set; } = null!; + + /// + /// The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + /// + [Output("mechanisms")] + public Output Mechanisms { get; private set; } = null!; + + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The password for User Definition. Response does not contain user password. + /// + [Output("password")] + public Output Password { get; private set; } = null!; + + /// + /// The set of roles inherited by the User Definition. + /// + [Output("roles")] + public Output> Roles { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The user name for User Definition. + /// + [Output("userName")] + public Output UserName { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoUserDefinition 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 MongoDBResourceMongoUserDefinition(string name, MongoDBResourceMongoUserDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition", name, args ?? new MongoDBResourceMongoUserDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoUserDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition"}, + }, + }; + 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 MongoDBResourceMongoUserDefinition 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoUserDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoUserDefinition(name, id, options); + } + } + + public sealed class MongoDBResourceMongoUserDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// A custom definition for the USer Definition. + /// + [Input("customData")] + public Input? CustomData { get; set; } + + /// + /// The database name for which access is being granted for this User Definition. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + /// + [Input("mechanisms")] + public Input? Mechanisms { get; set; } + + /// + /// The ID for the User Definition {dbName.userName}. + /// + [Input("mongoUserDefinitionId")] + public Input? MongoUserDefinitionId { get; set; } + + /// + /// The password for User Definition. Response does not contain user password. + /// + [Input("password")] + public Input? Password { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("roles")] + private InputList? _roles; + + /// + /// The set of roles inherited by the User Definition. + /// + public InputList Roles + { + get => _roles ?? (_roles = new InputList()); + set => _roles = value; + } + + /// + /// The user name for User Definition. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public MongoDBResourceMongoUserDefinitionArgs() + { + } + public static new MongoDBResourceMongoUserDefinitionArgs Empty => new MongoDBResourceMongoUserDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/NotebookWorkspace.cs b/sdk/dotnet/DocumentDB/V20230915/NotebookWorkspace.cs new file mode 100644 index 000000000000..7c012a0db9df --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/NotebookWorkspace.cs @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// A notebook workspace resource + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:NotebookWorkspace")] + public partial class NotebookWorkspace : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Specifies the endpoint of Notebook server. + /// + [Output("notebookServerEndpoint")] + public Output NotebookServerEndpoint { get; private set; } = null!; + + /// + /// Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a NotebookWorkspace 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 NotebookWorkspace(string name, NotebookWorkspaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:NotebookWorkspace", name, args ?? new NotebookWorkspaceArgs(), MakeResourceOptions(options, "")) + { + } + + private NotebookWorkspace(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:NotebookWorkspace", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:NotebookWorkspace"}, + }, + }; + 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 NotebookWorkspace 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. + /// A bag of options that control this resource's behavior + public static NotebookWorkspace Get(string name, Input id, CustomResourceOptions? options = null) + { + return new NotebookWorkspace(name, id, options); + } + } + + public sealed class NotebookWorkspaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName")] + public Input? NotebookWorkspaceName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public NotebookWorkspaceArgs() + { + } + public static new NotebookWorkspaceArgs Empty => new NotebookWorkspaceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/AccountKeyMetadataResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/AccountKeyMetadataResponse.cs new file mode 100644 index 000000000000..c6b8905a3841 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/AccountKeyMetadataResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The metadata related to an access key for a given database account. + /// + [OutputType] + public sealed class AccountKeyMetadataResponse + { + /// + /// Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + /// + public readonly string GenerationTime; + + [OutputConstructor] + private AccountKeyMetadataResponse(string generationTime) + { + GenerationTime = generationTime; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/AnalyticalStorageConfigurationResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/AnalyticalStorageConfigurationResponse.cs new file mode 100644 index 000000000000..910d64cdcd5f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/AnalyticalStorageConfigurationResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Analytical storage specific properties. + /// + [OutputType] + public sealed class AnalyticalStorageConfigurationResponse + { + /// + /// Describes the types of schema for analytical storage. + /// + public readonly string? SchemaType; + + [OutputConstructor] + private AnalyticalStorageConfigurationResponse(string? schemaType) + { + SchemaType = schemaType; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ApiPropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ApiPropertiesResponse.cs new file mode 100644 index 000000000000..4431cf50a45c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ApiPropertiesResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class ApiPropertiesResponse + { + /// + /// Describes the ServerVersion of an a MongoDB account. + /// + public readonly string? ServerVersion; + + [OutputConstructor] + private ApiPropertiesResponse(string? serverVersion) + { + ServerVersion = serverVersion; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/AuthenticationMethodLdapPropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/AuthenticationMethodLdapPropertiesResponse.cs new file mode 100644 index 000000000000..c835b92229a8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/AuthenticationMethodLdapPropertiesResponse.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Ldap authentication method properties. This feature is in preview. + /// + [OutputType] + public sealed class AuthenticationMethodLdapPropertiesResponse + { + /// + /// Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + /// + public readonly int? ConnectionTimeoutInMs; + /// + /// Distinguished name of the object to start the recursive search of users from. + /// + public readonly string? SearchBaseDistinguishedName; + /// + /// Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + /// + public readonly string? SearchFilterTemplate; + public readonly ImmutableArray ServerCertificates; + /// + /// Hostname of the LDAP server. + /// + public readonly string? ServerHostname; + /// + /// Port of the LDAP server. + /// + public readonly int? ServerPort; + /// + /// Distinguished name of the look up user account, who can look up user details on authentication. + /// + public readonly string? ServiceUserDistinguishedName; + /// + /// Password of the look up user. + /// + public readonly string? ServiceUserPassword; + + [OutputConstructor] + private AuthenticationMethodLdapPropertiesResponse( + int? connectionTimeoutInMs, + + string? searchBaseDistinguishedName, + + string? searchFilterTemplate, + + ImmutableArray serverCertificates, + + string? serverHostname, + + int? serverPort, + + string? serviceUserDistinguishedName, + + string? serviceUserPassword) + { + ConnectionTimeoutInMs = connectionTimeoutInMs; + SearchBaseDistinguishedName = searchBaseDistinguishedName; + SearchFilterTemplate = searchFilterTemplate; + ServerCertificates = serverCertificates; + ServerHostname = serverHostname; + ServerPort = serverPort; + ServiceUserDistinguishedName = serviceUserDistinguishedName; + ServiceUserPassword = serviceUserPassword; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/AutoscaleSettingsResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/AutoscaleSettingsResponse.cs new file mode 100644 index 000000000000..22d0cf16001d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/AutoscaleSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class AutoscaleSettingsResponse + { + /// + /// Represents maximum throughput, the resource can scale up to. + /// + public readonly int? MaxThroughput; + + [OutputConstructor] + private AutoscaleSettingsResponse(int? maxThroughput) + { + MaxThroughput = maxThroughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/BackupPolicyMigrationStateResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/BackupPolicyMigrationStateResponse.cs new file mode 100644 index 000000000000..c7e9fb1542c9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/BackupPolicyMigrationStateResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The object representing the state of the migration between the backup policies. + /// + [OutputType] + public sealed class BackupPolicyMigrationStateResponse + { + /// + /// Time at which the backup policy migration started (ISO-8601 format). + /// + public readonly string? StartTime; + /// + /// Describes the status of migration between backup policy types. + /// + public readonly string? Status; + /// + /// Describes the target backup policy type of the backup policy migration. + /// + public readonly string? TargetType; + + [OutputConstructor] + private BackupPolicyMigrationStateResponse( + string? startTime, + + string? status, + + string? targetType) + { + StartTime = startTime; + Status = status; + TargetType = targetType; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CapabilityResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CapabilityResponse.cs new file mode 100644 index 000000000000..4b5fc6cc22ee --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CapabilityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB capability object + /// + [OutputType] + public sealed class CapabilityResponse + { + /// + /// Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + /// + public readonly string? Name; + + [OutputConstructor] + private CapabilityResponse(string? name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CapacityResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CapacityResponse.cs new file mode 100644 index 000000000000..faf4add73357 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CapacityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + [OutputType] + public sealed class CapacityResponse + { + /// + /// The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + /// + public readonly int? TotalThroughputLimit; + + [OutputConstructor] + private CapacityResponse(int? totalThroughputLimit) + { + TotalThroughputLimit = totalThroughputLimit; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraErrorResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraErrorResponse.cs new file mode 100644 index 000000000000..c32792d73409 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraErrorResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CassandraErrorResponse + { + /// + /// Additional information about the error. + /// + public readonly string? AdditionalErrorInfo; + /// + /// The code of error that occurred. + /// + public readonly string? Code; + /// + /// The message of the error. + /// + public readonly string? Message; + /// + /// The target resource of the error. + /// + public readonly string? Target; + + [OutputConstructor] + private CassandraErrorResponse( + string? additionalErrorInfo, + + string? code, + + string? message, + + string? target) + { + AdditionalErrorInfo = additionalErrorInfo; + Code = code; + Message = message; + Target = target; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraKeyspaceGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraKeyspaceGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..81e91d629504 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraKeyspaceGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CassandraKeyspaceGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private CassandraKeyspaceGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraKeyspaceGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraKeyspaceGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..a78a0fcbfb9e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraKeyspaceGetPropertiesResponseResource.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CassandraKeyspaceGetPropertiesResponseResource + { + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Cassandra keyspace + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private CassandraKeyspaceGetPropertiesResponseResource( + string etag, + + string id, + + string rid, + + double ts) + { + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraPartitionKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraPartitionKeyResponse.cs new file mode 100644 index 000000000000..629c063b8c21 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraPartitionKeyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB Cassandra table partition key + /// + [OutputType] + public sealed class CassandraPartitionKeyResponse + { + /// + /// Name of the Cosmos DB Cassandra table partition key + /// + public readonly string? Name; + + [OutputConstructor] + private CassandraPartitionKeyResponse(string? name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraSchemaResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraSchemaResponse.cs new file mode 100644 index 000000000000..2b66f6d618dd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraSchemaResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB Cassandra table schema + /// + [OutputType] + public sealed class CassandraSchemaResponse + { + /// + /// List of cluster key. + /// + public readonly ImmutableArray ClusterKeys; + /// + /// List of Cassandra table columns. + /// + public readonly ImmutableArray Columns; + /// + /// List of partition key. + /// + public readonly ImmutableArray PartitionKeys; + + [OutputConstructor] + private CassandraSchemaResponse( + ImmutableArray clusterKeys, + + ImmutableArray columns, + + ImmutableArray partitionKeys) + { + ClusterKeys = clusterKeys; + Columns = columns; + PartitionKeys = partitionKeys; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraTableGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraTableGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..fa8b49864795 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraTableGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CassandraTableGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private CassandraTableGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraTableGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraTableGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..716b3c7fac16 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CassandraTableGetPropertiesResponseResource.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CassandraTableGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly int? AnalyticalStorageTtl; + /// + /// Time to live of the Cosmos DB Cassandra table + /// + public readonly int? DefaultTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Cassandra table + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// Schema of the Cosmos DB Cassandra table + /// + public readonly Outputs.CassandraSchemaResponse? Schema; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private CassandraTableGetPropertiesResponseResource( + int? analyticalStorageTtl, + + int? defaultTtl, + + string etag, + + string id, + + string rid, + + Outputs.CassandraSchemaResponse? schema, + + double ts) + { + AnalyticalStorageTtl = analyticalStorageTtl; + DefaultTtl = defaultTtl; + Etag = etag; + Id = id; + Rid = rid; + Schema = schema; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CertificateResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CertificateResponse.cs new file mode 100644 index 000000000000..3d540d833607 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CertificateResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CertificateResponse + { + /// + /// PEM formatted public key. + /// + public readonly string? Pem; + + [OutputConstructor] + private CertificateResponse(string? pem) + { + Pem = pem; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ClientEncryptionIncludedPathResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClientEncryptionIncludedPathResponse.cs new file mode 100644 index 000000000000..67a8e56bf2d2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClientEncryptionIncludedPathResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// . + /// + [OutputType] + public sealed class ClientEncryptionIncludedPathResponse + { + /// + /// The identifier of the Client Encryption Key to be used to encrypt the path. + /// + public readonly string ClientEncryptionKeyId; + /// + /// The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + /// + public readonly string EncryptionAlgorithm; + /// + /// The type of encryption to be performed. Eg - Deterministic, Randomized. + /// + public readonly string EncryptionType; + /// + /// Path that needs to be encrypted. + /// + public readonly string Path; + + [OutputConstructor] + private ClientEncryptionIncludedPathResponse( + string clientEncryptionKeyId, + + string encryptionAlgorithm, + + string encryptionType, + + string path) + { + ClientEncryptionKeyId = clientEncryptionKeyId; + EncryptionAlgorithm = encryptionAlgorithm; + EncryptionType = encryptionType; + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ClientEncryptionPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClientEncryptionPolicyResponse.cs new file mode 100644 index 000000000000..db398889962a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClientEncryptionPolicyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB client encryption policy. + /// + [OutputType] + public sealed class ClientEncryptionPolicyResponse + { + /// + /// Paths of the item that need encryption along with path-specific settings. + /// + public readonly ImmutableArray IncludedPaths; + /// + /// Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + /// + public readonly int PolicyFormatVersion; + + [OutputConstructor] + private ClientEncryptionPolicyResponse( + ImmutableArray includedPaths, + + int policyFormatVersion) + { + IncludedPaths = includedPaths; + PolicyFormatVersion = policyFormatVersion; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ClusterKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClusterKeyResponse.cs new file mode 100644 index 000000000000..edc891c29f2e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClusterKeyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB Cassandra table cluster key + /// + [OutputType] + public sealed class ClusterKeyResponse + { + /// + /// Name of the Cosmos DB Cassandra table cluster key + /// + public readonly string? Name; + /// + /// Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + /// + public readonly string? OrderBy; + + [OutputConstructor] + private ClusterKeyResponse( + string? name, + + string? orderBy) + { + Name = name; + OrderBy = orderBy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ClusterResourceResponseProperties.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClusterResourceResponseProperties.cs new file mode 100644 index 000000000000..41f0d4fd8dd3 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ClusterResourceResponseProperties.cs @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Properties of a managed Cassandra cluster. + /// + [OutputType] + public sealed class ClusterResourceResponseProperties + { + /// + /// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + /// + public readonly string? AuthenticationMethod; + /// + /// Whether Cassandra audit logging is enabled + /// + public readonly bool? CassandraAuditLoggingEnabled; + /// + /// Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + /// + public readonly string? CassandraVersion; + /// + /// List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + /// + public readonly ImmutableArray ClientCertificates; + /// + /// If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + /// + public readonly string? ClusterNameOverride; + /// + /// Whether the cluster and associated data centers has been deallocated. + /// + public readonly bool? Deallocated; + /// + /// Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>' + /// + public readonly string? DelegatedManagementSubnetId; + /// + /// List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + /// + public readonly ImmutableArray ExternalGossipCertificates; + /// + /// List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + /// + public readonly ImmutableArray ExternalSeedNodes; + /// + /// List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + /// + public readonly ImmutableArray GossipCertificates; + /// + /// (Deprecated) Number of hours to wait between taking a backup of the cluster. + /// + public readonly int? HoursBetweenBackups; + /// + /// Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + /// + public readonly Outputs.SeedNodeResponse? PrometheusEndpoint; + /// + /// Error related to resource provisioning. + /// + public readonly Outputs.CassandraErrorResponse? ProvisionError; + /// + /// The status of the resource at the time the operation was called. + /// + public readonly string? ProvisioningState; + /// + /// Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + /// + public readonly bool? RepairEnabled; + /// + /// List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + /// + public readonly ImmutableArray SeedNodes; + + [OutputConstructor] + private ClusterResourceResponseProperties( + string? authenticationMethod, + + bool? cassandraAuditLoggingEnabled, + + string? cassandraVersion, + + ImmutableArray clientCertificates, + + string? clusterNameOverride, + + bool? deallocated, + + string? delegatedManagementSubnetId, + + ImmutableArray externalGossipCertificates, + + ImmutableArray externalSeedNodes, + + ImmutableArray gossipCertificates, + + int? hoursBetweenBackups, + + Outputs.SeedNodeResponse? prometheusEndpoint, + + Outputs.CassandraErrorResponse? provisionError, + + string? provisioningState, + + bool? repairEnabled, + + ImmutableArray seedNodes) + { + AuthenticationMethod = authenticationMethod; + CassandraAuditLoggingEnabled = cassandraAuditLoggingEnabled; + CassandraVersion = cassandraVersion; + ClientCertificates = clientCertificates; + ClusterNameOverride = clusterNameOverride; + Deallocated = deallocated; + DelegatedManagementSubnetId = delegatedManagementSubnetId; + ExternalGossipCertificates = externalGossipCertificates; + ExternalSeedNodes = externalSeedNodes; + GossipCertificates = gossipCertificates; + HoursBetweenBackups = hoursBetweenBackups; + PrometheusEndpoint = prometheusEndpoint; + ProvisionError = provisionError; + ProvisioningState = provisioningState; + RepairEnabled = repairEnabled; + SeedNodes = seedNodes; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ColumnResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ColumnResponse.cs new file mode 100644 index 000000000000..8728d3964a0a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ColumnResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB Cassandra table column + /// + [OutputType] + public sealed class ColumnResponse + { + /// + /// Name of the Cosmos DB Cassandra table column + /// + public readonly string? Name; + /// + /// Type of the Cosmos DB Cassandra table column + /// + public readonly string? Type; + + [OutputConstructor] + private ColumnResponse( + string? name, + + string? type) + { + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CompositePathResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CompositePathResponse.cs new file mode 100644 index 000000000000..bccd0f556336 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CompositePathResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class CompositePathResponse + { + /// + /// Sort order for composite paths. + /// + public readonly string? Order; + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + + [OutputConstructor] + private CompositePathResponse( + string? order, + + string? path) + { + Order = order; + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ConflictResolutionPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ConflictResolutionPolicyResponse.cs new file mode 100644 index 000000000000..ff2a21e1809b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ConflictResolutionPolicyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The conflict resolution policy for the container. + /// + [OutputType] + public sealed class ConflictResolutionPolicyResponse + { + /// + /// The conflict resolution path in the case of LastWriterWins mode. + /// + public readonly string? ConflictResolutionPath; + /// + /// The procedure to resolve conflicts in the case of custom mode. + /// + public readonly string? ConflictResolutionProcedure; + /// + /// Indicates the conflict resolution mode. + /// + public readonly string? Mode; + + [OutputConstructor] + private ConflictResolutionPolicyResponse( + string? conflictResolutionPath, + + string? conflictResolutionProcedure, + + string? mode) + { + ConflictResolutionPath = conflictResolutionPath; + ConflictResolutionProcedure = conflictResolutionProcedure; + Mode = mode; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ConsistencyPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ConsistencyPolicyResponse.cs new file mode 100644 index 000000000000..ab89bcaefe77 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ConsistencyPolicyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The consistency policy for the Cosmos DB database account. + /// + [OutputType] + public sealed class ConsistencyPolicyResponse + { + /// + /// The default consistency level and configuration settings of the Cosmos DB account. + /// + public readonly string DefaultConsistencyLevel; + /// + /// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + public readonly int? MaxIntervalInSeconds; + /// + /// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + public readonly double? MaxStalenessPrefix; + + [OutputConstructor] + private ConsistencyPolicyResponse( + string defaultConsistencyLevel, + + int? maxIntervalInSeconds, + + double? maxStalenessPrefix) + { + DefaultConsistencyLevel = defaultConsistencyLevel; + MaxIntervalInSeconds = maxIntervalInSeconds; + MaxStalenessPrefix = maxStalenessPrefix; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ContainerPartitionKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ContainerPartitionKeyResponse.cs new file mode 100644 index 000000000000..1834c5ce4ff1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ContainerPartitionKeyResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + [OutputType] + public sealed class ContainerPartitionKeyResponse + { + /// + /// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + /// + public readonly string? Kind; + /// + /// List of paths using which data within the container can be partitioned + /// + public readonly ImmutableArray Paths; + /// + /// Indicates if the container is using a system generated partition key + /// + public readonly bool SystemKey; + /// + /// Indicates the version of the partition key definition + /// + public readonly int? Version; + + [OutputConstructor] + private ContainerPartitionKeyResponse( + string? kind, + + ImmutableArray paths, + + bool systemKey, + + int? version) + { + Kind = kind; + Paths = paths; + SystemKey = systemKey; + Version = version; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ContinuousModeBackupPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ContinuousModeBackupPolicyResponse.cs new file mode 100644 index 000000000000..2c53b75c4c72 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ContinuousModeBackupPolicyResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The object representing continuous mode backup policy. + /// + [OutputType] + public sealed class ContinuousModeBackupPolicyResponse + { + /// + /// Configuration values for continuous mode backup + /// + public readonly Outputs.ContinuousModePropertiesResponse? ContinuousModeProperties; + /// + /// The object representing the state of the migration between the backup policies. + /// + public readonly Outputs.BackupPolicyMigrationStateResponse? MigrationState; + /// + /// Describes the mode of backups. + /// Expected value is 'Continuous'. + /// + public readonly string Type; + + [OutputConstructor] + private ContinuousModeBackupPolicyResponse( + Outputs.ContinuousModePropertiesResponse? continuousModeProperties, + + Outputs.BackupPolicyMigrationStateResponse? migrationState, + + string type) + { + ContinuousModeProperties = continuousModeProperties; + MigrationState = migrationState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ContinuousModePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ContinuousModePropertiesResponse.cs new file mode 100644 index 000000000000..7149f014e281 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ContinuousModePropertiesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Configuration values for periodic mode backup + /// + [OutputType] + public sealed class ContinuousModePropertiesResponse + { + /// + /// Enum to indicate type of Continuous backup mode + /// + public readonly string? Tier; + + [OutputConstructor] + private ContinuousModePropertiesResponse(string? tier) + { + Tier = tier; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/CorsPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/CorsPolicyResponse.cs new file mode 100644 index 000000000000..96f7fbc9b59b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/CorsPolicyResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The CORS policy for the Cosmos DB database account. + /// + [OutputType] + public sealed class CorsPolicyResponse + { + /// + /// The request headers that the origin domain may specify on the CORS request. + /// + public readonly string? AllowedHeaders; + /// + /// The methods (HTTP request verbs) that the origin domain may use for a CORS request. + /// + public readonly string? AllowedMethods; + /// + /// The origin domains that are permitted to make a request against the service via CORS. + /// + public readonly string AllowedOrigins; + /// + /// The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + /// + public readonly string? ExposedHeaders; + /// + /// The maximum amount time that a browser should cache the preflight OPTIONS request. + /// + public readonly double? MaxAgeInSeconds; + + [OutputConstructor] + private CorsPolicyResponse( + string? allowedHeaders, + + string? allowedMethods, + + string allowedOrigins, + + string? exposedHeaders, + + double? maxAgeInSeconds) + { + AllowedHeaders = allowedHeaders; + AllowedMethods = allowedMethods; + AllowedOrigins = allowedOrigins; + ExposedHeaders = exposedHeaders; + MaxAgeInSeconds = maxAgeInSeconds; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/DataCenterResourceResponseProperties.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/DataCenterResourceResponseProperties.cs new file mode 100644 index 000000000000..23f348bf463d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/DataCenterResourceResponseProperties.cs @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Properties of a managed Cassandra data center. + /// + [OutputType] + public sealed class DataCenterResourceResponseProperties + { + /// + /// Ldap authentication method properties. This feature is in preview. + /// + public readonly Outputs.AuthenticationMethodLdapPropertiesResponse? AuthenticationMethodLdapProperties; + /// + /// If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + /// + public readonly bool? AvailabilityZone; + /// + /// Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + /// + public readonly string? BackupStorageCustomerKeyUri; + /// + /// A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + /// + public readonly string? Base64EncodedCassandraYamlFragment; + /// + /// The region this data center should be created in. + /// + public readonly string? DataCenterLocation; + /// + /// Whether the data center has been deallocated. + /// + public readonly bool? Deallocated; + /// + /// Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'. + /// + public readonly string? DelegatedSubnetId; + /// + /// Number of disks attached to each node. Default is 4. + /// + public readonly int? DiskCapacity; + /// + /// Disk SKU used for data centers. Default value is P30. + /// + public readonly string? DiskSku; + /// + /// Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + /// + public readonly string? ManagedDiskCustomerKeyUri; + /// + /// The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + /// + public readonly int? NodeCount; + /// + /// Error related to resource provisioning. + /// + public readonly Outputs.CassandraErrorResponse? ProvisionError; + /// + /// The status of the resource at the time the operation was called. + /// + public readonly string? ProvisioningState; + /// + /// IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + /// + public readonly ImmutableArray SeedNodes; + /// + /// Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + /// + public readonly string? Sku; + + [OutputConstructor] + private DataCenterResourceResponseProperties( + Outputs.AuthenticationMethodLdapPropertiesResponse? authenticationMethodLdapProperties, + + bool? availabilityZone, + + string? backupStorageCustomerKeyUri, + + string? base64EncodedCassandraYamlFragment, + + string? dataCenterLocation, + + bool? deallocated, + + string? delegatedSubnetId, + + int? diskCapacity, + + string? diskSku, + + string? managedDiskCustomerKeyUri, + + int? nodeCount, + + Outputs.CassandraErrorResponse? provisionError, + + string? provisioningState, + + ImmutableArray seedNodes, + + string? sku) + { + AuthenticationMethodLdapProperties = authenticationMethodLdapProperties; + AvailabilityZone = availabilityZone; + BackupStorageCustomerKeyUri = backupStorageCustomerKeyUri; + Base64EncodedCassandraYamlFragment = base64EncodedCassandraYamlFragment; + DataCenterLocation = dataCenterLocation; + Deallocated = deallocated; + DelegatedSubnetId = delegatedSubnetId; + DiskCapacity = diskCapacity; + DiskSku = diskSku; + ManagedDiskCustomerKeyUri = managedDiskCustomerKeyUri; + NodeCount = nodeCount; + ProvisionError = provisionError; + ProvisioningState = provisioningState; + SeedNodes = seedNodes; + Sku = sku; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/DataTransferRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/DataTransferRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..5436b160f988 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/DataTransferRegionalServiceResourceResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class DataTransferRegionalServiceResourceResponse + { + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private DataTransferRegionalServiceResourceResponse( + string location, + + string name, + + string status) + { + Location = location; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/DataTransferServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/DataTransferServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..bdb77bf22f3e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/DataTransferServiceResourcePropertiesResponse.cs @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Properties for DataTransferServiceResource. + /// + [OutputType] + public sealed class DataTransferServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'DataTransfer'. + /// + public readonly string ServiceType; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private DataTransferServiceResourcePropertiesResponse( + string creationTime, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string status) + { + CreationTime = creationTime; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseAccountConnectionStringResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseAccountConnectionStringResponse.cs new file mode 100644 index 000000000000..ca2f2a07ea4e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseAccountConnectionStringResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Connection string for the Cosmos DB account + /// + [OutputType] + public sealed class DatabaseAccountConnectionStringResponse + { + /// + /// Value of the connection string + /// + public readonly string ConnectionString; + /// + /// Description of the connection string + /// + public readonly string Description; + /// + /// Kind of the connection string key + /// + public readonly string KeyKind; + /// + /// Type of the connection string + /// + public readonly string Type; + + [OutputConstructor] + private DatabaseAccountConnectionStringResponse( + string connectionString, + + string description, + + string keyKind, + + string type) + { + ConnectionString = connectionString; + Description = description; + KeyKind = keyKind; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseAccountKeysMetadataResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseAccountKeysMetadataResponse.cs new file mode 100644 index 000000000000..e474b92bf782 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseAccountKeysMetadataResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The metadata related to each access key for the given Cosmos DB database account. + /// + [OutputType] + public sealed class DatabaseAccountKeysMetadataResponse + { + /// + /// The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse PrimaryMasterKey; + /// + /// The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse PrimaryReadonlyMasterKey; + /// + /// The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse SecondaryMasterKey; + /// + /// The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse SecondaryReadonlyMasterKey; + + [OutputConstructor] + private DatabaseAccountKeysMetadataResponse( + Outputs.AccountKeyMetadataResponse primaryMasterKey, + + Outputs.AccountKeyMetadataResponse primaryReadonlyMasterKey, + + Outputs.AccountKeyMetadataResponse secondaryMasterKey, + + Outputs.AccountKeyMetadataResponse secondaryReadonlyMasterKey) + { + PrimaryMasterKey = primaryMasterKey; + PrimaryReadonlyMasterKey = primaryReadonlyMasterKey; + SecondaryMasterKey = secondaryMasterKey; + SecondaryReadonlyMasterKey = secondaryReadonlyMasterKey; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseRestoreResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseRestoreResourceResponse.cs new file mode 100644 index 000000000000..274054adf7fc --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/DatabaseRestoreResourceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Specific Databases to restore. + /// + [OutputType] + public sealed class DatabaseRestoreResourceResponse + { + /// + /// The names of the collections available for restore. + /// + public readonly ImmutableArray CollectionNames; + /// + /// The name of the database available for restore. + /// + public readonly string? DatabaseName; + + [OutputConstructor] + private DatabaseRestoreResourceResponse( + ImmutableArray collectionNames, + + string? databaseName) + { + CollectionNames = collectionNames; + DatabaseName = databaseName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ExcludedPathResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ExcludedPathResponse.cs new file mode 100644 index 000000000000..9619063e809a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ExcludedPathResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class ExcludedPathResponse + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + + [OutputConstructor] + private ExcludedPathResponse(string? path) + { + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/FailoverPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/FailoverPolicyResponse.cs new file mode 100644 index 000000000000..c6bf833343ee --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/FailoverPolicyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The failover policy for a given region of a database account. + /// + [OutputType] + public sealed class FailoverPolicyResponse + { + /// + /// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + /// + public readonly int? FailoverPriority; + /// + /// The unique identifier of the region in which the database account replicates to. Example: &lt;accountName&gt;-&lt;locationName&gt;. + /// + public readonly string Id; + /// + /// The name of the region in which the database account exists. + /// + public readonly string? LocationName; + + [OutputConstructor] + private FailoverPolicyResponse( + int? failoverPriority, + + string id, + + string? locationName) + { + FailoverPriority = failoverPriority; + Id = id; + LocationName = locationName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GraphAPIComputeRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GraphAPIComputeRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..d18b43b94fc8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GraphAPIComputeRegionalServiceResourceResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class GraphAPIComputeRegionalServiceResourceResponse + { + /// + /// The regional endpoint for GraphAPICompute. + /// + public readonly string GraphApiComputeEndpoint; + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private GraphAPIComputeRegionalServiceResourceResponse( + string graphApiComputeEndpoint, + + string location, + + string name, + + string status) + { + GraphApiComputeEndpoint = graphApiComputeEndpoint; + Location = location; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GraphAPIComputeServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GraphAPIComputeServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..ed6a9de95498 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GraphAPIComputeServiceResourcePropertiesResponse.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Properties for GraphAPIComputeServiceResource. + /// + [OutputType] + public sealed class GraphAPIComputeServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// GraphAPICompute endpoint for the service. + /// + public readonly string? GraphApiComputeEndpoint; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'GraphAPICompute'. + /// + public readonly string ServiceType; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private GraphAPIComputeServiceResourcePropertiesResponse( + string creationTime, + + string? graphApiComputeEndpoint, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string status) + { + CreationTime = creationTime; + GraphApiComputeEndpoint = graphApiComputeEndpoint; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..a3a40be7a766 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class GremlinDatabaseGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private GremlinDatabaseGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..142c66653608 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseGetPropertiesResponseResource.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class GremlinDatabaseGetPropertiesResponseResource + { + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Gremlin database + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private GremlinDatabaseGetPropertiesResponseResource( + string etag, + + string id, + + string rid, + + double ts) + { + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseRestoreResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseRestoreResourceResponse.cs new file mode 100644 index 000000000000..e0ed939299aa --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinDatabaseRestoreResourceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Specific Gremlin Databases to restore. + /// + [OutputType] + public sealed class GremlinDatabaseRestoreResourceResponse + { + /// + /// The name of the gremlin database available for restore. + /// + public readonly string? DatabaseName; + /// + /// The names of the graphs available for restore. + /// + public readonly ImmutableArray GraphNames; + + [OutputConstructor] + private GremlinDatabaseRestoreResourceResponse( + string? databaseName, + + ImmutableArray graphNames) + { + DatabaseName = databaseName; + GraphNames = graphNames; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinGraphGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinGraphGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..33f5a31e0d6f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinGraphGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class GremlinGraphGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private GremlinGraphGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinGraphGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinGraphGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..7ec63f5a1d41 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/GremlinGraphGetPropertiesResponseResource.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class GremlinGraphGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly double? AnalyticalStorageTtl; + /// + /// The conflict resolution policy for the graph. + /// + public readonly Outputs.ConflictResolutionPolicyResponse? ConflictResolutionPolicy; + /// + /// Default time to live + /// + public readonly int? DefaultTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Gremlin graph + /// + public readonly string Id; + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + /// + public readonly Outputs.IndexingPolicyResponse? IndexingPolicy; + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + public readonly Outputs.ContainerPartitionKeyResponse? PartitionKey; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + public readonly Outputs.UniqueKeyPolicyResponse? UniqueKeyPolicy; + + [OutputConstructor] + private GremlinGraphGetPropertiesResponseResource( + double? analyticalStorageTtl, + + Outputs.ConflictResolutionPolicyResponse? conflictResolutionPolicy, + + int? defaultTtl, + + string etag, + + string id, + + Outputs.IndexingPolicyResponse? indexingPolicy, + + Outputs.ContainerPartitionKeyResponse? partitionKey, + + string rid, + + double ts, + + Outputs.UniqueKeyPolicyResponse? uniqueKeyPolicy) + { + AnalyticalStorageTtl = analyticalStorageTtl; + ConflictResolutionPolicy = conflictResolutionPolicy; + DefaultTtl = defaultTtl; + Etag = etag; + Id = id; + IndexingPolicy = indexingPolicy; + PartitionKey = partitionKey; + Rid = rid; + Ts = ts; + UniqueKeyPolicy = uniqueKeyPolicy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/IncludedPathResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/IncludedPathResponse.cs new file mode 100644 index 000000000000..0c7063fca849 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/IncludedPathResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The paths that are included in indexing + /// + [OutputType] + public sealed class IncludedPathResponse + { + /// + /// List of indexes for this path + /// + public readonly ImmutableArray Indexes; + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + + [OutputConstructor] + private IncludedPathResponse( + ImmutableArray indexes, + + string? path) + { + Indexes = indexes; + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/IndexesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/IndexesResponse.cs new file mode 100644 index 000000000000..09cba76edc38 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/IndexesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The indexes for the path. + /// + [OutputType] + public sealed class IndexesResponse + { + /// + /// The datatype for which the indexing behavior is applied to. + /// + public readonly string? DataType; + /// + /// Indicates the type of index. + /// + public readonly string? Kind; + /// + /// The precision of the index. -1 is maximum precision. + /// + public readonly int? Precision; + + [OutputConstructor] + private IndexesResponse( + string? dataType, + + string? kind, + + int? precision) + { + DataType = dataType; + Kind = kind; + Precision = precision; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/IndexingPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/IndexingPolicyResponse.cs new file mode 100644 index 000000000000..1512d434c2d3 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/IndexingPolicyResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB indexing policy + /// + [OutputType] + public sealed class IndexingPolicyResponse + { + /// + /// Indicates if the indexing policy is automatic + /// + public readonly bool? Automatic; + /// + /// List of composite path list + /// + public readonly ImmutableArray> CompositeIndexes; + /// + /// List of paths to exclude from indexing + /// + public readonly ImmutableArray ExcludedPaths; + /// + /// List of paths to include in the indexing + /// + public readonly ImmutableArray IncludedPaths; + /// + /// Indicates the indexing mode. + /// + public readonly string? IndexingMode; + /// + /// List of spatial specifics + /// + public readonly ImmutableArray SpatialIndexes; + + [OutputConstructor] + private IndexingPolicyResponse( + bool? automatic, + + ImmutableArray> compositeIndexes, + + ImmutableArray excludedPaths, + + ImmutableArray includedPaths, + + string? indexingMode, + + ImmutableArray spatialIndexes) + { + Automatic = automatic; + CompositeIndexes = compositeIndexes; + ExcludedPaths = excludedPaths; + IncludedPaths = includedPaths; + IndexingMode = indexingMode; + SpatialIndexes = spatialIndexes; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/IpAddressOrRangeResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/IpAddressOrRangeResponse.cs new file mode 100644 index 000000000000..f7ef2c39821f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/IpAddressOrRangeResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// IpAddressOrRange object + /// + [OutputType] + public sealed class IpAddressOrRangeResponse + { + /// + /// A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + /// + public readonly string? IpAddressOrRange; + + [OutputConstructor] + private IpAddressOrRangeResponse(string? ipAddressOrRange) + { + IpAddressOrRange = ipAddressOrRange; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/LocationResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/LocationResponse.cs new file mode 100644 index 000000000000..eebea93eeffc --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/LocationResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// A region in which the Azure Cosmos DB database account is deployed. + /// + [OutputType] + public sealed class LocationResponse + { + /// + /// The connection endpoint for the specific region. Example: https://&lt;accountName&gt;-&lt;locationName&gt;.documents.azure.com:443/ + /// + public readonly string DocumentEndpoint; + /// + /// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + /// + public readonly int? FailoverPriority; + /// + /// The unique identifier of the region within the database account. Example: &lt;accountName&gt;-&lt;locationName&gt;. + /// + public readonly string Id; + /// + /// Flag to indicate whether or not this region is an AvailabilityZone region + /// + public readonly bool? IsZoneRedundant; + /// + /// The name of the region. + /// + public readonly string? LocationName; + /// + /// The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + /// + public readonly string ProvisioningState; + + [OutputConstructor] + private LocationResponse( + string documentEndpoint, + + int? failoverPriority, + + string id, + + bool? isZoneRedundant, + + string? locationName, + + string provisioningState) + { + DocumentEndpoint = documentEndpoint; + FailoverPriority = failoverPriority; + Id = id; + IsZoneRedundant = isZoneRedundant; + LocationName = locationName; + ProvisioningState = provisioningState; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedCassandraManagedServiceIdentityResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedCassandraManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..f04773441c39 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedCassandraManagedServiceIdentityResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class ManagedCassandraManagedServiceIdentityResponse + { + /// + /// The object id of the identity resource. + /// + public readonly string PrincipalId; + /// + /// The tenant id of the resource. + /// + public readonly string TenantId; + /// + /// The type of the resource. + /// + public readonly string? Type; + + [OutputConstructor] + private ManagedCassandraManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string? type) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..65d951b7d9ca --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + /// + public readonly string? Type; + /// + /// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string? type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedServiceIdentityResponseUserAssignedIdentities.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedServiceIdentityResponseUserAssignedIdentities.cs new file mode 100644 index 000000000000..09799b1e2b17 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/ManagedServiceIdentityResponseUserAssignedIdentities.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class ManagedServiceIdentityResponseUserAssignedIdentities + { + /// + /// The client id of user assigned identity. + /// + public readonly string ClientId; + /// + /// The principal id of user assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private ManagedServiceIdentityResponseUserAssignedIdentities( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MaterializedViewsBuilderRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MaterializedViewsBuilderRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..59a42a4ba5a6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MaterializedViewsBuilderRegionalServiceResourceResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class MaterializedViewsBuilderRegionalServiceResourceResponse + { + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private MaterializedViewsBuilderRegionalServiceResourceResponse( + string location, + + string name, + + string status) + { + Location = location; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MaterializedViewsBuilderServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MaterializedViewsBuilderServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..df209cb46556 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MaterializedViewsBuilderServiceResourcePropertiesResponse.cs @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Properties for MaterializedViewsBuilderServiceResource. + /// + [OutputType] + public sealed class MaterializedViewsBuilderServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'MaterializedViewsBuilder'. + /// + public readonly string ServiceType; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private MaterializedViewsBuilderServiceResourcePropertiesResponse( + string creationTime, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string status) + { + CreationTime = creationTime; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBCollectionGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBCollectionGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..77338b5f3fd5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBCollectionGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class MongoDBCollectionGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private MongoDBCollectionGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBCollectionGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBCollectionGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..8742aa8e2263 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBCollectionGetPropertiesResponseResource.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class MongoDBCollectionGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly int? AnalyticalStorageTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB MongoDB collection + /// + public readonly string Id; + /// + /// List of index keys + /// + public readonly ImmutableArray Indexes; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A key-value pair of shard keys to be applied for the request. + /// + public readonly ImmutableDictionary? ShardKey; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private MongoDBCollectionGetPropertiesResponseResource( + int? analyticalStorageTtl, + + string etag, + + string id, + + ImmutableArray indexes, + + string rid, + + ImmutableDictionary? shardKey, + + double ts) + { + AnalyticalStorageTtl = analyticalStorageTtl; + Etag = etag; + Id = id; + Indexes = indexes; + Rid = rid; + ShardKey = shardKey; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBDatabaseGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBDatabaseGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..2857a7d67f37 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBDatabaseGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class MongoDBDatabaseGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private MongoDBDatabaseGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBDatabaseGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBDatabaseGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..66fdc81d49c8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoDBDatabaseGetPropertiesResponseResource.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class MongoDBDatabaseGetPropertiesResponseResource + { + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB MongoDB database + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private MongoDBDatabaseGetPropertiesResponseResource( + string etag, + + string id, + + string rid, + + double ts) + { + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexKeysResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexKeysResponse.cs new file mode 100644 index 000000000000..2742eff99115 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexKeysResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB MongoDB collection resource object + /// + [OutputType] + public sealed class MongoIndexKeysResponse + { + /// + /// List of keys for each MongoDB collection in the Azure Cosmos DB service + /// + public readonly ImmutableArray Keys; + + [OutputConstructor] + private MongoIndexKeysResponse(ImmutableArray keys) + { + Keys = keys; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexOptionsResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexOptionsResponse.cs new file mode 100644 index 000000000000..23e5f38734d4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexOptionsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB MongoDB collection index options + /// + [OutputType] + public sealed class MongoIndexOptionsResponse + { + /// + /// Expire after seconds + /// + public readonly int? ExpireAfterSeconds; + /// + /// Is unique or not + /// + public readonly bool? Unique; + + [OutputConstructor] + private MongoIndexOptionsResponse( + int? expireAfterSeconds, + + bool? unique) + { + ExpireAfterSeconds = expireAfterSeconds; + Unique = unique; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexResponse.cs new file mode 100644 index 000000000000..0c8da0f5c7ab --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/MongoIndexResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Cosmos DB MongoDB collection index key + /// + [OutputType] + public sealed class MongoIndexResponse + { + /// + /// Cosmos DB MongoDB collection index keys + /// + public readonly Outputs.MongoIndexKeysResponse? Key; + /// + /// Cosmos DB MongoDB collection index key options + /// + public readonly Outputs.MongoIndexOptionsResponse? Options; + + [OutputConstructor] + private MongoIndexResponse( + Outputs.MongoIndexKeysResponse? key, + + Outputs.MongoIndexOptionsResponse? options) + { + Key = key; + Options = options; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PeriodicModeBackupPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PeriodicModeBackupPolicyResponse.cs new file mode 100644 index 000000000000..12c6f5ceeca1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PeriodicModeBackupPolicyResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The object representing periodic mode backup policy. + /// + [OutputType] + public sealed class PeriodicModeBackupPolicyResponse + { + /// + /// The object representing the state of the migration between the backup policies. + /// + public readonly Outputs.BackupPolicyMigrationStateResponse? MigrationState; + /// + /// Configuration values for periodic mode backup + /// + public readonly Outputs.PeriodicModePropertiesResponse? PeriodicModeProperties; + /// + /// Describes the mode of backups. + /// Expected value is 'Periodic'. + /// + public readonly string Type; + + [OutputConstructor] + private PeriodicModeBackupPolicyResponse( + Outputs.BackupPolicyMigrationStateResponse? migrationState, + + Outputs.PeriodicModePropertiesResponse? periodicModeProperties, + + string type) + { + MigrationState = migrationState; + PeriodicModeProperties = periodicModeProperties; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PeriodicModePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PeriodicModePropertiesResponse.cs new file mode 100644 index 000000000000..6fddc4117a05 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PeriodicModePropertiesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Configuration values for periodic mode backup + /// + [OutputType] + public sealed class PeriodicModePropertiesResponse + { + /// + /// An integer representing the interval in minutes between two backups + /// + public readonly int? BackupIntervalInMinutes; + /// + /// An integer representing the time (in hours) that each backup is retained + /// + public readonly int? BackupRetentionIntervalInHours; + /// + /// Enum to indicate type of backup residency + /// + public readonly string? BackupStorageRedundancy; + + [OutputConstructor] + private PeriodicModePropertiesResponse( + int? backupIntervalInMinutes, + + int? backupRetentionIntervalInHours, + + string? backupStorageRedundancy) + { + BackupIntervalInMinutes = backupIntervalInMinutes; + BackupRetentionIntervalInHours = backupRetentionIntervalInHours; + BackupStorageRedundancy = backupStorageRedundancy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PermissionResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PermissionResponse.cs new file mode 100644 index 000000000000..69f9df892fdd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PermissionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + [OutputType] + public sealed class PermissionResponse + { + /// + /// An array of data actions that are allowed. + /// + public readonly ImmutableArray DataActions; + /// + /// An array of data actions that are denied. + /// + public readonly ImmutableArray NotDataActions; + + [OutputConstructor] + private PermissionResponse( + ImmutableArray dataActions, + + ImmutableArray notDataActions) + { + DataActions = dataActions; + NotDataActions = notDataActions; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..3780c4d894bf --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// A private endpoint connection + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// Group id of the private endpoint. + /// + public readonly string? GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private endpoint which the connection belongs to. + /// + public readonly Outputs.PrivateEndpointPropertyResponse? PrivateEndpoint; + /// + /// Connection State of the Private Endpoint Connection. + /// + public readonly Outputs.PrivateLinkServiceConnectionStatePropertyResponse? PrivateLinkServiceConnectionState; + /// + /// Provisioning state of the private endpoint. + /// + public readonly string? ProvisioningState; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + string? groupId, + + string id, + + string name, + + Outputs.PrivateEndpointPropertyResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStatePropertyResponse? privateLinkServiceConnectionState, + + string? provisioningState, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateEndpointPropertyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateEndpointPropertyResponse.cs new file mode 100644 index 000000000000..e1244a91c3c9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateEndpointPropertyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Private endpoint which the connection belongs to. + /// + [OutputType] + public sealed class PrivateEndpointPropertyResponse + { + /// + /// Resource id of the private endpoint. + /// + public readonly string? Id; + + [OutputConstructor] + private PrivateEndpointPropertyResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs new file mode 100644 index 000000000000..feed8fd4f49f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Connection State of the Private Endpoint Connection. + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStatePropertyResponse + { + /// + /// Any action that is required beyond basic workflow (approve/ reject/ disconnect) + /// + public readonly string ActionsRequired; + /// + /// The private link service connection description. + /// + public readonly string? Description; + /// + /// The private link service connection status. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStatePropertyResponse( + string actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivilegeResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivilegeResponse.cs new file mode 100644 index 000000000000..bc686aac1d96 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivilegeResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + [OutputType] + public sealed class PrivilegeResponse + { + /// + /// An array of actions that are allowed. + /// + public readonly ImmutableArray Actions; + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + public readonly Outputs.PrivilegeResponseResource? Resource; + + [OutputConstructor] + private PrivilegeResponse( + ImmutableArray actions, + + Outputs.PrivilegeResponseResource? resource) + { + Actions = actions; + Resource = resource; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivilegeResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivilegeResponseResource.cs new file mode 100644 index 000000000000..3aad4bbb63a9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/PrivilegeResponseResource.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + [OutputType] + public sealed class PrivilegeResponseResource + { + /// + /// The collection name the role is applied. + /// + public readonly string? Collection; + /// + /// The database name the role is applied. + /// + public readonly string? Db; + + [OutputConstructor] + private PrivilegeResponseResource( + string? collection, + + string? db) + { + Collection = collection; + Db = db; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/RestoreParametersResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/RestoreParametersResponse.cs new file mode 100644 index 000000000000..28d14293e168 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/RestoreParametersResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Parameters to indicate the information about the restore. + /// + [OutputType] + public sealed class RestoreParametersResponse + { + /// + /// List of specific databases available for restore. + /// + public readonly ImmutableArray DatabasesToRestore; + /// + /// List of specific gremlin databases available for restore. + /// + public readonly ImmutableArray GremlinDatabasesToRestore; + /// + /// Describes the mode of the restore. + /// + public readonly string? RestoreMode; + /// + /// The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + public readonly string? RestoreSource; + /// + /// Time to which the account has to be restored (ISO-8601 format). + /// + public readonly string? RestoreTimestampInUtc; + /// + /// List of specific tables available for restore. + /// + public readonly ImmutableArray TablesToRestore; + + [OutputConstructor] + private RestoreParametersResponse( + ImmutableArray databasesToRestore, + + ImmutableArray gremlinDatabasesToRestore, + + string? restoreMode, + + string? restoreSource, + + string? restoreTimestampInUtc, + + ImmutableArray tablesToRestore) + { + DatabasesToRestore = databasesToRestore; + GremlinDatabasesToRestore = gremlinDatabasesToRestore; + RestoreMode = restoreMode; + RestoreSource = restoreSource; + RestoreTimestampInUtc = restoreTimestampInUtc; + TablesToRestore = tablesToRestore; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/RoleResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/RoleResponse.cs new file mode 100644 index 000000000000..a57228e9cbfb --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/RoleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The set of roles permitted through this Role Definition. + /// + [OutputType] + public sealed class RoleResponse + { + /// + /// The database name the role is applied. + /// + public readonly string? Db; + /// + /// The role name. + /// + public readonly string? Role; + + [OutputConstructor] + private RoleResponse( + string? db, + + string? role) + { + Db = db; + Role = role; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SeedNodeResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SeedNodeResponse.cs new file mode 100644 index 000000000000..db8e983fbc25 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SeedNodeResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SeedNodeResponse + { + /// + /// IP address of this seed node. + /// + public readonly string? IpAddress; + + [OutputConstructor] + private SeedNodeResponse(string? ipAddress) + { + IpAddress = ipAddress; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SpatialSpecResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SpatialSpecResponse.cs new file mode 100644 index 000000000000..37912ee85cff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SpatialSpecResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SpatialSpecResponse + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + /// + /// List of path's spatial type + /// + public readonly ImmutableArray Types; + + [OutputConstructor] + private SpatialSpecResponse( + string? path, + + ImmutableArray types) + { + Path = path; + Types = types; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlContainerGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlContainerGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..d9a15e9ac52f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlContainerGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlContainerGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private SqlContainerGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlContainerGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlContainerGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..bc0032f32d1b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlContainerGetPropertiesResponseResource.cs @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlContainerGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly double? AnalyticalStorageTtl; + /// + /// The client encryption policy for the container. + /// + public readonly Outputs.ClientEncryptionPolicyResponse? ClientEncryptionPolicy; + /// + /// The conflict resolution policy for the container. + /// + public readonly Outputs.ConflictResolutionPolicyResponse? ConflictResolutionPolicy; + /// + /// Default time to live + /// + public readonly int? DefaultTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL container + /// + public readonly string Id; + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + /// + public readonly Outputs.IndexingPolicyResponse? IndexingPolicy; + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + public readonly Outputs.ContainerPartitionKeyResponse? PartitionKey; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + public readonly Outputs.UniqueKeyPolicyResponse? UniqueKeyPolicy; + + [OutputConstructor] + private SqlContainerGetPropertiesResponseResource( + double? analyticalStorageTtl, + + Outputs.ClientEncryptionPolicyResponse? clientEncryptionPolicy, + + Outputs.ConflictResolutionPolicyResponse? conflictResolutionPolicy, + + int? defaultTtl, + + string etag, + + string id, + + Outputs.IndexingPolicyResponse? indexingPolicy, + + Outputs.ContainerPartitionKeyResponse? partitionKey, + + string rid, + + double ts, + + Outputs.UniqueKeyPolicyResponse? uniqueKeyPolicy) + { + AnalyticalStorageTtl = analyticalStorageTtl; + ClientEncryptionPolicy = clientEncryptionPolicy; + ConflictResolutionPolicy = conflictResolutionPolicy; + DefaultTtl = defaultTtl; + Etag = etag; + Id = id; + IndexingPolicy = indexingPolicy; + PartitionKey = partitionKey; + Rid = rid; + Ts = ts; + UniqueKeyPolicy = uniqueKeyPolicy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDatabaseGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDatabaseGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..f1cb7bda5ac9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDatabaseGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlDatabaseGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private SqlDatabaseGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDatabaseGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDatabaseGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..33b8e682997f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDatabaseGetPropertiesResponseResource.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlDatabaseGetPropertiesResponseResource + { + /// + /// A system generated property that specified the addressable path of the collections resource. + /// + public readonly string? Colls; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL database + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// A system generated property that specifies the addressable path of the users resource. + /// + public readonly string? Users; + + [OutputConstructor] + private SqlDatabaseGetPropertiesResponseResource( + string? colls, + + string etag, + + string id, + + string rid, + + double ts, + + string? users) + { + Colls = colls; + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + Users = users; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDedicatedGatewayRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDedicatedGatewayRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..0b8917e2975e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDedicatedGatewayRegionalServiceResourceResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class SqlDedicatedGatewayRegionalServiceResourceResponse + { + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// The regional endpoint for SqlDedicatedGateway. + /// + public readonly string SqlDedicatedGatewayEndpoint; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private SqlDedicatedGatewayRegionalServiceResourceResponse( + string location, + + string name, + + string sqlDedicatedGatewayEndpoint, + + string status) + { + Location = location; + Name = name; + SqlDedicatedGatewayEndpoint = sqlDedicatedGatewayEndpoint; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDedicatedGatewayServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDedicatedGatewayServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..f042c498222f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlDedicatedGatewayServiceResourcePropertiesResponse.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Properties for SqlDedicatedGatewayServiceResource. + /// + [OutputType] + public sealed class SqlDedicatedGatewayServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'SqlDedicatedGateway'. + /// + public readonly string ServiceType; + /// + /// SqlDedicatedGateway endpoint for the service. + /// + public readonly string? SqlDedicatedGatewayEndpoint; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private SqlDedicatedGatewayServiceResourcePropertiesResponse( + string creationTime, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string? sqlDedicatedGatewayEndpoint, + + string status) + { + CreationTime = creationTime; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + SqlDedicatedGatewayEndpoint = sqlDedicatedGatewayEndpoint; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlStoredProcedureGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlStoredProcedureGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..6df8e54b205e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlStoredProcedureGetPropertiesResponseResource.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlStoredProcedureGetPropertiesResponseResource + { + /// + /// Body of the Stored Procedure + /// + public readonly string? Body; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL storedProcedure + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private SqlStoredProcedureGetPropertiesResponseResource( + string? body, + + string etag, + + string id, + + string rid, + + double ts) + { + Body = body; + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlTriggerGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlTriggerGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..708c63ae746f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlTriggerGetPropertiesResponseResource.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlTriggerGetPropertiesResponseResource + { + /// + /// Body of the Trigger + /// + public readonly string? Body; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL trigger + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// The operation the trigger is associated with + /// + public readonly string? TriggerOperation; + /// + /// Type of the Trigger + /// + public readonly string? TriggerType; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private SqlTriggerGetPropertiesResponseResource( + string? body, + + string etag, + + string id, + + string rid, + + string? triggerOperation, + + string? triggerType, + + double ts) + { + Body = body; + Etag = etag; + Id = id; + Rid = rid; + TriggerOperation = triggerOperation; + TriggerType = triggerType; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlUserDefinedFunctionGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlUserDefinedFunctionGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..4f47940a5a0f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SqlUserDefinedFunctionGetPropertiesResponseResource.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class SqlUserDefinedFunctionGetPropertiesResponseResource + { + /// + /// Body of the User Defined Function + /// + public readonly string? Body; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL userDefinedFunction + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private SqlUserDefinedFunctionGetPropertiesResponseResource( + string? body, + + string etag, + + string id, + + string rid, + + double ts) + { + Body = body; + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/SystemDataResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..d7ef2e86efa6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/TableGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/TableGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..c08334589f0a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/TableGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class TableGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private TableGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/TableGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/TableGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..6e35aa7661e9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/TableGetPropertiesResponseResource.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + [OutputType] + public sealed class TableGetPropertiesResponseResource + { + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB table + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private TableGetPropertiesResponseResource( + string etag, + + string id, + + string rid, + + double ts) + { + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/UniqueKeyPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/UniqueKeyPolicyResponse.cs new file mode 100644 index 000000000000..3d29cd121aab --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/UniqueKeyPolicyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + [OutputType] + public sealed class UniqueKeyPolicyResponse + { + /// + /// List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + public readonly ImmutableArray UniqueKeys; + + [OutputConstructor] + private UniqueKeyPolicyResponse(ImmutableArray uniqueKeys) + { + UniqueKeys = uniqueKeys; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/UniqueKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/UniqueKeyResponse.cs new file mode 100644 index 000000000000..0916d87bb318 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/UniqueKeyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + [OutputType] + public sealed class UniqueKeyResponse + { + /// + /// List of paths must be unique for each document in the Azure Cosmos DB service + /// + public readonly ImmutableArray Paths; + + [OutputConstructor] + private UniqueKeyResponse(ImmutableArray paths) + { + Paths = paths; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/Outputs/VirtualNetworkRuleResponse.cs b/sdk/dotnet/DocumentDB/V20230915/Outputs/VirtualNetworkRuleResponse.cs new file mode 100644 index 000000000000..341ec45b25bd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Outputs/VirtualNetworkRuleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915.Outputs +{ + + /// + /// Virtual Network ACL Rule object + /// + [OutputType] + public sealed class VirtualNetworkRuleResponse + { + /// + /// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + /// + public readonly string? Id; + /// + /// Create firewall rule before the virtual network has vnet service endpoint enabled. + /// + public readonly bool? IgnoreMissingVNetServiceEndpoint; + + [OutputConstructor] + private VirtualNetworkRuleResponse( + string? id, + + bool? ignoreMissingVNetServiceEndpoint) + { + Id = id; + IgnoreMissingVNetServiceEndpoint = ignoreMissingVNetServiceEndpoint; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/PrivateEndpointConnection.cs b/sdk/dotnet/DocumentDB/V20230915/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..c3d34f28e6f9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/PrivateEndpointConnection.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// A private endpoint connection + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : global::Pulumi.CustomResource + { + /// + /// Group id of the private endpoint. + /// + [Output("groupId")] + public Output GroupId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Private endpoint which the connection belongs to. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// Connection State of the Private Endpoint Connection. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// Provisioning state of the private endpoint. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection 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 PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:PrivateEndpointConnection"}, + }, + }; + 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 PrivateEndpointConnection 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Group id of the private endpoint. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// Private endpoint which the connection belongs to. + /// + [Input("privateEndpoint")] + public Input? PrivateEndpoint { get; set; } + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// Connection State of the Private Endpoint Connection. + /// + [Input("privateLinkServiceConnectionState")] + public Input? PrivateLinkServiceConnectionState { get; set; } + + /// + /// Provisioning state of the private endpoint. + /// + [Input("provisioningState")] + public Input? ProvisioningState { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + public static new PrivateEndpointConnectionArgs Empty => new PrivateEndpointConnectionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/README.md b/sdk/dotnet/DocumentDB/V20230915/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/DocumentDB/V20230915/Service.cs b/sdk/dotnet/DocumentDB/V20230915/Service.cs new file mode 100644 index 000000000000..8dd71065b70c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/Service.cs @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// Properties for the database account. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:Service")] + public partial class Service : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Services response resource. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Service 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 Service(string name, ServiceArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:Service", name, args ?? new ServiceArgs(), MakeResourceOptions(options, "")) + { + } + + private Service(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:Service", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:Service"}, + }, + }; + 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 Service 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. + /// A bag of options that control this resource's behavior + public static Service Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Service(name, id, options); + } + } + + public sealed class ServiceArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Instance count for the service. + /// + [Input("instanceCount")] + public Input? InstanceCount { get; set; } + + /// + /// Instance type for the service. + /// + [Input("instanceSize")] + public InputUnion? InstanceSize { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB service name. + /// + [Input("serviceName")] + public Input? ServiceName { get; set; } + + /// + /// ServiceType for the service. + /// + [Input("serviceType")] + public InputUnion? ServiceType { get; set; } + + public ServiceArgs() + { + } + public static new ServiceArgs Empty => new ServiceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlContainer.cs new file mode 100644 index 000000000000..d52cd8a32da5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlContainer.cs @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB container. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlContainer")] + public partial class SqlResourceSqlContainer : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlContainer 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 SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlContainer", name, args ?? new SqlResourceSqlContainerArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlContainer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlContainer", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer"}, + }, + }; + 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 SqlResourceSqlContainer 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlContainer Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlContainer(name, id, options); + } + } + + public sealed class SqlResourceSqlContainerArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName")] + public Input? ContainerName { get; set; } + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a container + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SqlResourceSqlContainerArgs() + { + } + public static new SqlResourceSqlContainerArgs Empty => new SqlResourceSqlContainerArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlDatabase.cs new file mode 100644 index 000000000000..47102f1bcb5f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlDatabase.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB SQL database. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlDatabase")] + public partial class SqlResourceSqlDatabase : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlDatabase 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 SqlResourceSqlDatabase(string name, SqlResourceSqlDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlDatabase", name, args ?? new SqlResourceSqlDatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase"}, + }, + }; + 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 SqlResourceSqlDatabase 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlDatabase(name, id, options); + } + } + + public sealed class SqlResourceSqlDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a SQL database + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SqlResourceSqlDatabaseArgs() + { + } + public static new SqlResourceSqlDatabaseArgs Empty => new SqlResourceSqlDatabaseArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlRoleAssignment.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlRoleAssignment.cs new file mode 100644 index 000000000000..2ec614032186 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlRoleAssignment.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Role Assignment + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment")] + public partial class SqlResourceSqlRoleAssignment : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + /// + [Output("principalId")] + public Output PrincipalId { get; private set; } = null!; + + /// + /// The unique identifier for the associated Role Definition. + /// + [Output("roleDefinitionId")] + public Output RoleDefinitionId { get; private set; } = null!; + + /// + /// The data plane resource path for which access is being granted through this Role Assignment. + /// + [Output("scope")] + public Output Scope { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlRoleAssignment 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 SqlResourceSqlRoleAssignment(string name, SqlResourceSqlRoleAssignmentArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment", name, args ?? new SqlResourceSqlRoleAssignmentArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlRoleAssignment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment"}, + }, + }; + 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 SqlResourceSqlRoleAssignment 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlRoleAssignment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlRoleAssignment(name, id, options); + } + } + + public sealed class SqlResourceSqlRoleAssignmentArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + /// + [Input("principalId")] + public Input? PrincipalId { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Assignment. + /// + [Input("roleAssignmentId")] + public Input? RoleAssignmentId { get; set; } + + /// + /// The unique identifier for the associated Role Definition. + /// + [Input("roleDefinitionId")] + public Input? RoleDefinitionId { get; set; } + + /// + /// The data plane resource path for which access is being granted through this Role Assignment. + /// + [Input("scope")] + public Input? Scope { get; set; } + + public SqlResourceSqlRoleAssignmentArgs() + { + } + public static new SqlResourceSqlRoleAssignmentArgs Empty => new SqlResourceSqlRoleAssignmentArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlRoleDefinition.cs new file mode 100644 index 000000000000..76340a372b48 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlRoleDefinition.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB SQL Role Definition. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition")] + public partial class SqlResourceSqlRoleDefinition : global::Pulumi.CustomResource + { + /// + /// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + /// + [Output("assignableScopes")] + public Output> AssignableScopes { get; private set; } = null!; + + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The set of operations allowed through this Role Definition. + /// + [Output("permissions")] + public Output> Permissions { get; private set; } = null!; + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Output("roleName")] + public Output RoleName { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlRoleDefinition 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 SqlResourceSqlRoleDefinition(string name, SqlResourceSqlRoleDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition", name, args ?? new SqlResourceSqlRoleDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlRoleDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition"}, + }, + }; + 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 SqlResourceSqlRoleDefinition 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlRoleDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlRoleDefinition(name, id, options); + } + } + + public sealed class SqlResourceSqlRoleDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + [Input("assignableScopes")] + private InputList? _assignableScopes; + + /// + /// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + /// + public InputList AssignableScopes + { + get => _assignableScopes ?? (_assignableScopes = new InputList()); + set => _assignableScopes = value; + } + + [Input("permissions")] + private InputList? _permissions; + + /// + /// The set of operations allowed through this Role Definition. + /// + public InputList Permissions + { + get => _permissions ?? (_permissions = new InputList()); + set => _permissions = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Definition. + /// + [Input("roleDefinitionId")] + public Input? RoleDefinitionId { get; set; } + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Input("roleName")] + public Input? RoleName { get; set; } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [Input("type")] + public Input? Type { get; set; } + + public SqlResourceSqlRoleDefinitionArgs() + { + } + public static new SqlResourceSqlRoleDefinitionArgs Empty => new SqlResourceSqlRoleDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlStoredProcedure.cs new file mode 100644 index 000000000000..6bdfc7b16636 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlStoredProcedure.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB storedProcedure. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure")] + public partial class SqlResourceSqlStoredProcedure : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlStoredProcedure 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 SqlResourceSqlStoredProcedure(string name, SqlResourceSqlStoredProcedureArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure", name, args ?? new SqlResourceSqlStoredProcedureArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlStoredProcedure(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure"}, + }, + }; + 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 SqlResourceSqlStoredProcedure 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlStoredProcedure Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlStoredProcedure(name, id, options); + } + } + + public sealed class SqlResourceSqlStoredProcedureArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a storedProcedure + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB storedProcedure name. + /// + [Input("storedProcedureName")] + public Input? StoredProcedureName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SqlResourceSqlStoredProcedureArgs() + { + } + public static new SqlResourceSqlStoredProcedureArgs Empty => new SqlResourceSqlStoredProcedureArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlTrigger.cs new file mode 100644 index 000000000000..0d9ec25c5d88 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlTrigger.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB trigger. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlTrigger")] + public partial class SqlResourceSqlTrigger : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlTrigger 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 SqlResourceSqlTrigger(string name, SqlResourceSqlTriggerArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlTrigger", name, args ?? new SqlResourceSqlTriggerArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlTrigger(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlTrigger", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger"}, + }, + }; + 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 SqlResourceSqlTrigger 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlTrigger Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlTrigger(name, id, options); + } + } + + public sealed class SqlResourceSqlTriggerArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a trigger + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Cosmos DB trigger name. + /// + [Input("triggerName")] + public Input? TriggerName { get; set; } + + public SqlResourceSqlTriggerArgs() + { + } + public static new SqlResourceSqlTriggerArgs Empty => new SqlResourceSqlTriggerArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlUserDefinedFunction.cs new file mode 100644 index 000000000000..fa39b5db8510 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/SqlResourceSqlUserDefinedFunction.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB userDefinedFunction. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction")] + public partial class SqlResourceSqlUserDefinedFunction : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlUserDefinedFunction 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 SqlResourceSqlUserDefinedFunction(string name, SqlResourceSqlUserDefinedFunctionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction", name, args ?? new SqlResourceSqlUserDefinedFunctionArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlUserDefinedFunction(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction"}, + }, + }; + 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 SqlResourceSqlUserDefinedFunction 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlUserDefinedFunction Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlUserDefinedFunction(name, id, options); + } + } + + public sealed class SqlResourceSqlUserDefinedFunctionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a userDefinedFunction + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Cosmos DB userDefinedFunction name. + /// + [Input("userDefinedFunctionName")] + public Input? UserDefinedFunctionName { get; set; } + + public SqlResourceSqlUserDefinedFunctionArgs() + { + } + public static new SqlResourceSqlUserDefinedFunctionArgs Empty => new SqlResourceSqlUserDefinedFunctionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915/TableResourceTable.cs b/sdk/dotnet/DocumentDB/V20230915/TableResourceTable.cs new file mode 100644 index 000000000000..520250151fcd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915/TableResourceTable.cs @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915 +{ + /// + /// An Azure Cosmos DB Table. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915:TableResourceTable")] + public partial class TableResourceTable : global::Pulumi.CustomResource + { + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a TableResourceTable 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 TableResourceTable(string name, TableResourceTableArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:TableResourceTable", name, args ?? new TableResourceTableArgs(), MakeResourceOptions(options, "")) + { + } + + private TableResourceTable(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915:TableResourceTable", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915preview:TableResourceTable"}, + }, + }; + 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 TableResourceTable 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. + /// A bag of options that control this resource's behavior + public static TableResourceTable Get(string name, Input id, CustomResourceOptions? options = null) + { + return new TableResourceTable(name, id, options); + } + } + + public sealed class TableResourceTableArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Table + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public TableResourceTableArgs() + { + } + public static new TableResourceTableArgs Empty => new TableResourceTableArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/CassandraCluster.cs b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraCluster.cs new file mode 100644 index 000000000000..d7c605926c81 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraCluster.cs @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// Representation of a managed Cassandra cluster. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:CassandraCluster")] + public partial class CassandraCluster : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of a managed Cassandra cluster. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraCluster 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 CassandraCluster(string name, CassandraClusterArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraCluster", name, args ?? new CassandraClusterArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraCluster(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraCluster", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraCluster"}, + }, + }; + 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 CassandraCluster 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. + /// A bag of options that control this resource's behavior + public static CassandraCluster Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraCluster(name, id, options); + } + } + + public sealed class CassandraClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName")] + public Input? ClusterName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Properties of a managed Cassandra cluster. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CassandraClusterArgs() + { + } + public static new CassandraClusterArgs Empty => new CassandraClusterArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/CassandraDataCenter.cs b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraDataCenter.cs new file mode 100644 index 000000000000..69b2c550b6dd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraDataCenter.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// A managed Cassandra data center. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:CassandraDataCenter")] + public partial class CassandraDataCenter : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of a managed Cassandra data center. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraDataCenter 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 CassandraDataCenter(string name, CassandraDataCenterArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraDataCenter", name, args ?? new CassandraDataCenterArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraDataCenter(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraDataCenter", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraDataCenter"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraDataCenter"}, + }, + }; + 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 CassandraDataCenter 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. + /// A bag of options that control this resource's behavior + public static CassandraDataCenter Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraDataCenter(name, id, options); + } + } + + public sealed class CassandraDataCenterArgs : global::Pulumi.ResourceArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// Data center name in a managed Cassandra cluster. + /// + [Input("dataCenterName")] + public Input? DataCenterName { get; set; } + + /// + /// Properties of a managed Cassandra data center. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public CassandraDataCenterArgs() + { + } + public static new CassandraDataCenterArgs Empty => new CassandraDataCenterArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraKeyspace.cs new file mode 100644 index 000000000000..460413af1ab6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraKeyspace.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Cassandra keyspace. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace")] + public partial class CassandraResourceCassandraKeyspace : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraResourceCassandraKeyspace 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 CassandraResourceCassandraKeyspace(string name, CassandraResourceCassandraKeyspaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace", name, args ?? new CassandraResourceCassandraKeyspaceArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraResourceCassandraKeyspace(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"}, + }, + }; + 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 CassandraResourceCassandraKeyspace 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. + /// A bag of options that control this resource's behavior + public static CassandraResourceCassandraKeyspace Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraResourceCassandraKeyspace(name, id, options); + } + } + + public sealed class CassandraResourceCassandraKeyspaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName")] + public Input? KeyspaceName { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Cassandra keyspace + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CassandraResourceCassandraKeyspaceArgs() + { + } + public static new CassandraResourceCassandraKeyspaceArgs Empty => new CassandraResourceCassandraKeyspaceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraTable.cs new file mode 100644 index 000000000000..bb39e73c4661 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraTable.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Cassandra table. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable")] + public partial class CassandraResourceCassandraTable : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraResourceCassandraTable 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 CassandraResourceCassandraTable(string name, CassandraResourceCassandraTableArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable", name, args ?? new CassandraResourceCassandraTableArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraResourceCassandraTable(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:CassandraResourceCassandraTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:CassandraResourceCassandraTable"}, + }, + }; + 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 CassandraResourceCassandraTable 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. + /// A bag of options that control this resource's behavior + public static CassandraResourceCassandraTable Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraResourceCassandraTable(name, id, options); + } + } + + public sealed class CassandraResourceCassandraTableArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Cassandra table + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CassandraResourceCassandraTableArgs() + { + } + public static new CassandraResourceCassandraTableArgs Empty => new CassandraResourceCassandraTableArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraView.cs b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraView.cs new file mode 100644 index 000000000000..41e46a29cc0d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/CassandraResourceCassandraView.cs @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Cassandra view. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:CassandraResourceCassandraView")] + public partial class CassandraResourceCassandraView : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CassandraResourceCassandraView 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 CassandraResourceCassandraView(string name, CassandraResourceCassandraViewArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraResourceCassandraView", name, args ?? new CassandraResourceCassandraViewArgs(), MakeResourceOptions(options, "")) + { + } + + private CassandraResourceCassandraView(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:CassandraResourceCassandraView", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:CassandraResourceCassandraView"}, + }, + }; + 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 CassandraResourceCassandraView 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. + /// A bag of options that control this resource's behavior + public static CassandraResourceCassandraView Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CassandraResourceCassandraView(name, id, options); + } + } + + public sealed class CassandraResourceCassandraViewArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Cassandra view + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Cosmos DB view name. + /// + [Input("viewName")] + public Input? ViewName { get; set; } + + public CassandraResourceCassandraViewArgs() + { + } + public static new CassandraResourceCassandraViewArgs Empty => new CassandraResourceCassandraViewArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/DatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20230915Preview/DatabaseAccount.cs new file mode 100644 index 000000000000..af1ebf576ad9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/DatabaseAccount.cs @@ -0,0 +1,696 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB database account. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:DatabaseAccount")] + public partial class DatabaseAccount : global::Pulumi.CustomResource + { + /// + /// Analytical storage specific properties. + /// + [Output("analyticalStorageConfiguration")] + public Output AnalyticalStorageConfiguration { get; private set; } = null!; + + /// + /// API specific properties. + /// + [Output("apiProperties")] + public Output ApiProperties { get; private set; } = null!; + + /// + /// The object representing the policy for taking backups on an account. + /// + [Output("backupPolicy")] + public Output?> BackupPolicy { get; private set; } = null!; + + /// + /// List of Cosmos DB capabilities for the account + /// + [Output("capabilities")] + public Output> Capabilities { get; private set; } = null!; + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + [Output("capacity")] + public Output Capacity { get; private set; } = null!; + + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + [Output("connectorOffer")] + public Output ConnectorOffer { get; private set; } = null!; + + /// + /// The consistency policy for the Cosmos DB database account. + /// + [Output("consistencyPolicy")] + public Output ConsistencyPolicy { get; private set; } = null!; + + /// + /// The CORS policy for the Cosmos DB database account. + /// + [Output("cors")] + public Output> Cors { get; private set; } = null!; + + /// + /// Enum to indicate the mode of account creation. + /// + [Output("createMode")] + public Output CreateMode { get; private set; } = null!; + + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + [Output("customerManagedKeyStatus")] + public Output CustomerManagedKeyStatus { get; private set; } = null!; + + /// + /// The offer type for the Cosmos DB database account. Default value: Standard. + /// + [Output("databaseAccountOfferType")] + public Output DatabaseAccountOfferType { get; private set; } = null!; + + /// + /// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + /// + [Output("defaultIdentity")] + public Output DefaultIdentity { get; private set; } = null!; + + /// + /// Enum to indicate default Priority Level of request for Priority Based Execution. + /// + [Output("defaultPriorityLevel")] + public Output DefaultPriorityLevel { get; private set; } = null!; + + /// + /// The Object representing the different Diagnostic log settings for the Cosmos DB Account. + /// + [Output("diagnosticLogSettings")] + public Output DiagnosticLogSettings { get; private set; } = null!; + + /// + /// Disable write operations on metadata resources (databases, containers, throughput) via account keys + /// + [Output("disableKeyBasedMetadataWriteAccess")] + public Output DisableKeyBasedMetadataWriteAccess { get; private set; } = null!; + + /// + /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + /// + [Output("disableLocalAuth")] + public Output DisableLocalAuth { get; private set; } = null!; + + /// + /// The connection endpoint for the Cosmos DB database account. + /// + [Output("documentEndpoint")] + public Output DocumentEndpoint { get; private set; } = null!; + + /// + /// Flag to indicate whether to enable storage analytics. + /// + [Output("enableAnalyticalStorage")] + public Output EnableAnalyticalStorage { get; private set; } = null!; + + /// + /// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + /// + [Output("enableAutomaticFailover")] + public Output EnableAutomaticFailover { get; private set; } = null!; + + /// + /// Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + /// + [Output("enableBurstCapacity")] + public Output EnableBurstCapacity { get; private set; } = null!; + + /// + /// Enables the cassandra connector on the Cosmos DB C* account + /// + [Output("enableCassandraConnector")] + public Output EnableCassandraConnector { get; private set; } = null!; + + /// + /// Flag to indicate whether Free Tier is enabled. + /// + [Output("enableFreeTier")] + public Output EnableFreeTier { get; private set; } = null!; + + /// + /// Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + /// + [Output("enableMaterializedViews")] + public Output EnableMaterializedViews { get; private set; } = null!; + + /// + /// Enables the account to write in multiple locations + /// + [Output("enableMultipleWriteLocations")] + public Output EnableMultipleWriteLocations { get; private set; } = null!; + + /// + /// Flag to indicate enabling/disabling of Partition Merge feature on the account + /// + [Output("enablePartitionMerge")] + public Output EnablePartitionMerge { get; private set; } = null!; + + /// + /// Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + /// + [Output("enablePriorityBasedExecution")] + public Output EnablePriorityBasedExecution { get; private set; } = null!; + + /// + /// An array that contains the regions ordered by their failover priorities. + /// + [Output("failoverPolicies")] + public Output> FailoverPolicies { get; private set; } = null!; + + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// A unique identifier assigned to the database account + /// + [Output("instanceId")] + public Output InstanceId { get; private set; } = null!; + + /// + /// List of IpRules. + /// + [Output("ipRules")] + public Output> IpRules { get; private set; } = null!; + + /// + /// Flag to indicate whether to enable/disable Virtual Network ACL rules. + /// + [Output("isVirtualNetworkFilterEnabled")] + public Output IsVirtualNetworkFilterEnabled { get; private set; } = null!; + + /// + /// The URI of the key vault + /// + [Output("keyVaultKeyUri")] + public Output KeyVaultKeyUri { get; private set; } = null!; + + /// + /// The object that represents the metadata for the Account Keys of the Cosmos DB account. + /// + [Output("keysMetadata")] + public Output KeysMetadata { get; private set; } = null!; + + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// An array that contains all of the locations enabled for the Cosmos DB account. + /// + [Output("locations")] + public Output> Locations { get; private set; } = null!; + + /// + /// Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + /// + [Output("minimalTlsVersion")] + public Output MinimalTlsVersion { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + [Output("networkAclBypass")] + public Output NetworkAclBypass { get; private set; } = null!; + + /// + /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + /// + [Output("networkAclBypassResourceIds")] + public Output> NetworkAclBypassResourceIds { get; private set; } = null!; + + /// + /// List of Private Endpoint Connections configured for the Cosmos DB account. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Whether requests from Public Network are allowed + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// An array that contains of the read locations enabled for the Cosmos DB account. + /// + [Output("readLocations")] + public Output> ReadLocations { get; private set; } = null!; + + /// + /// Parameters to indicate the information about the restore. + /// + [Output("restoreParameters")] + public Output RestoreParameters { get; private set; } = null!; + + /// + /// The system meta data relating to this resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// List of Virtual Network ACL rules configured for the Cosmos DB account. + /// + [Output("virtualNetworkRules")] + public Output> VirtualNetworkRules { get; private set; } = null!; + + /// + /// An array that contains the write location for the Cosmos DB account. + /// + [Output("writeLocations")] + public Output> WriteLocations { get; private set; } = null!; + + + /// + /// Create a DatabaseAccount 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 DatabaseAccount(string name, DatabaseAccountArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:DatabaseAccount", name, args ?? new DatabaseAccountArgs(), MakeResourceOptions(options, "")) + { + } + + private DatabaseAccount(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:DatabaseAccount", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:DatabaseAccount"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:DatabaseAccount"}, + }, + }; + 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 DatabaseAccount 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. + /// A bag of options that control this resource's behavior + public static DatabaseAccount Get(string name, Input id, CustomResourceOptions? options = null) + { + return new DatabaseAccount(name, id, options); + } + } + + public sealed class DatabaseAccountArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName")] + public Input? AccountName { get; set; } + + /// + /// Analytical storage specific properties. + /// + [Input("analyticalStorageConfiguration")] + public Input? AnalyticalStorageConfiguration { get; set; } + + /// + /// API specific properties. Currently, supported only for MongoDB API. + /// + [Input("apiProperties")] + public Input? ApiProperties { get; set; } + + /// + /// The object representing the policy for taking backups on an account. + /// + [Input("backupPolicy")] + public InputUnion? BackupPolicy { get; set; } + + [Input("capabilities")] + private InputList? _capabilities; + + /// + /// List of Cosmos DB capabilities for the account + /// + public InputList Capabilities + { + get => _capabilities ?? (_capabilities = new InputList()); + set => _capabilities = value; + } + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + [Input("connectorOffer")] + public InputUnion? ConnectorOffer { get; set; } + + /// + /// The consistency policy for the Cosmos DB account. + /// + [Input("consistencyPolicy")] + public Input? ConsistencyPolicy { get; set; } + + [Input("cors")] + private InputList? _cors; + + /// + /// The CORS policy for the Cosmos DB database account. + /// + public InputList Cors + { + get => _cors ?? (_cors = new InputList()); + set => _cors = value; + } + + /// + /// Enum to indicate the mode of account creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + [Input("customerManagedKeyStatus")] + public InputUnion? CustomerManagedKeyStatus { get; set; } + + /// + /// The offer type for the database + /// + [Input("databaseAccountOfferType", required: true)] + public Input DatabaseAccountOfferType { get; set; } = null!; + + /// + /// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + /// + [Input("defaultIdentity")] + public Input? DefaultIdentity { get; set; } + + /// + /// Enum to indicate default Priority Level of request for Priority Based Execution. + /// + [Input("defaultPriorityLevel")] + public InputUnion? DefaultPriorityLevel { get; set; } + + /// + /// The Object representing the different Diagnostic log settings for the Cosmos DB Account. + /// + [Input("diagnosticLogSettings")] + public Input? DiagnosticLogSettings { get; set; } + + /// + /// Disable write operations on metadata resources (databases, containers, throughput) via account keys + /// + [Input("disableKeyBasedMetadataWriteAccess")] + public Input? DisableKeyBasedMetadataWriteAccess { get; set; } + + /// + /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + /// + [Input("disableLocalAuth")] + public Input? DisableLocalAuth { get; set; } + + /// + /// Flag to indicate whether to enable storage analytics. + /// + [Input("enableAnalyticalStorage")] + public Input? EnableAnalyticalStorage { get; set; } + + /// + /// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + /// + [Input("enableAutomaticFailover")] + public Input? EnableAutomaticFailover { get; set; } + + /// + /// Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + /// + [Input("enableBurstCapacity")] + public Input? EnableBurstCapacity { get; set; } + + /// + /// Enables the cassandra connector on the Cosmos DB C* account + /// + [Input("enableCassandraConnector")] + public Input? EnableCassandraConnector { get; set; } + + /// + /// Flag to indicate whether Free Tier is enabled. + /// + [Input("enableFreeTier")] + public Input? EnableFreeTier { get; set; } + + /// + /// Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + /// + [Input("enableMaterializedViews")] + public Input? EnableMaterializedViews { get; set; } + + /// + /// Enables the account to write in multiple locations + /// + [Input("enableMultipleWriteLocations")] + public Input? EnableMultipleWriteLocations { get; set; } + + /// + /// Flag to indicate enabling/disabling of Partition Merge feature on the account + /// + [Input("enablePartitionMerge")] + public Input? EnablePartitionMerge { get; set; } + + /// + /// Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + /// + [Input("enablePriorityBasedExecution")] + public Input? EnablePriorityBasedExecution { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + [Input("ipRules")] + private InputList? _ipRules; + + /// + /// List of IpRules. + /// + public InputList IpRules + { + get => _ipRules ?? (_ipRules = new InputList()); + set => _ipRules = value; + } + + /// + /// Flag to indicate whether to enable/disable Virtual Network ACL rules. + /// + [Input("isVirtualNetworkFilterEnabled")] + public Input? IsVirtualNetworkFilterEnabled { get; set; } + + /// + /// The URI of the key vault + /// + [Input("keyVaultKeyUri")] + public Input? KeyVaultKeyUri { get; set; } + + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + [Input("locations", required: true)] + private InputList? _locations; + + /// + /// An array that contains the georeplication locations enabled for the Cosmos DB account. + /// + public InputList Locations + { + get => _locations ?? (_locations = new InputList()); + set => _locations = value; + } + + /// + /// Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + /// + [Input("minimalTlsVersion")] + public InputUnion? MinimalTlsVersion { get; set; } + + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + [Input("networkAclBypass")] + public Input? NetworkAclBypass { get; set; } + + [Input("networkAclBypassResourceIds")] + private InputList? _networkAclBypassResourceIds; + + /// + /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + /// + public InputList NetworkAclBypassResourceIds + { + get => _networkAclBypassResourceIds ?? (_networkAclBypassResourceIds = new InputList()); + set => _networkAclBypassResourceIds = value; + } + + /// + /// Whether requests from Public Network are allowed + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Parameters to indicate the information about the restore. + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("virtualNetworkRules")] + private InputList? _virtualNetworkRules; + + /// + /// List of Virtual Network ACL rules configured for the Cosmos DB account. + /// + public InputList VirtualNetworkRules + { + get => _virtualNetworkRules ?? (_virtualNetworkRules = new InputList()); + set => _virtualNetworkRules = value; + } + + public DatabaseAccountArgs() + { + CreateMode = "Default"; + Kind = "GlobalDocumentDB"; + } + public static new DatabaseAccountArgs Empty => new DatabaseAccountArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Enums.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Enums.cs new file mode 100644 index 000000000000..14f35d1e30e0 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Enums.cs @@ -0,0 +1,1195 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// Describes the types of schema for analytical storage. + /// + [EnumType] + public readonly struct AnalyticalStorageSchemaType : IEquatable + { + private readonly string _value; + + private AnalyticalStorageSchemaType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AnalyticalStorageSchemaType WellDefined { get; } = new AnalyticalStorageSchemaType("WellDefined"); + public static AnalyticalStorageSchemaType FullFidelity { get; } = new AnalyticalStorageSchemaType("FullFidelity"); + + public static bool operator ==(AnalyticalStorageSchemaType left, AnalyticalStorageSchemaType right) => left.Equals(right); + public static bool operator !=(AnalyticalStorageSchemaType left, AnalyticalStorageSchemaType right) => !left.Equals(right); + + public static explicit operator string(AnalyticalStorageSchemaType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AnalyticalStorageSchemaType other && Equals(other); + public bool Equals(AnalyticalStorageSchemaType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + /// + [EnumType] + public readonly struct AuthenticationMethod : IEquatable + { + private readonly string _value; + + private AuthenticationMethod(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AuthenticationMethod None { get; } = new AuthenticationMethod("None"); + public static AuthenticationMethod Cassandra { get; } = new AuthenticationMethod("Cassandra"); + public static AuthenticationMethod Ldap { get; } = new AuthenticationMethod("Ldap"); + + public static bool operator ==(AuthenticationMethod left, AuthenticationMethod right) => left.Equals(right); + public static bool operator !=(AuthenticationMethod left, AuthenticationMethod right) => !left.Equals(right); + + public static explicit operator string(AuthenticationMethod value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AuthenticationMethod other && Equals(other); + public bool Equals(AuthenticationMethod other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the status of migration between backup policy types. + /// + [EnumType] + public readonly struct BackupPolicyMigrationStatus : IEquatable + { + private readonly string _value; + + private BackupPolicyMigrationStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BackupPolicyMigrationStatus Invalid { get; } = new BackupPolicyMigrationStatus("Invalid"); + public static BackupPolicyMigrationStatus InProgress { get; } = new BackupPolicyMigrationStatus("InProgress"); + public static BackupPolicyMigrationStatus Completed { get; } = new BackupPolicyMigrationStatus("Completed"); + public static BackupPolicyMigrationStatus Failed { get; } = new BackupPolicyMigrationStatus("Failed"); + + public static bool operator ==(BackupPolicyMigrationStatus left, BackupPolicyMigrationStatus right) => left.Equals(right); + public static bool operator !=(BackupPolicyMigrationStatus left, BackupPolicyMigrationStatus right) => !left.Equals(right); + + public static explicit operator string(BackupPolicyMigrationStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BackupPolicyMigrationStatus other && Equals(other); + public bool Equals(BackupPolicyMigrationStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the mode of backups. + /// + [EnumType] + public readonly struct BackupPolicyType : IEquatable + { + private readonly string _value; + + private BackupPolicyType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BackupPolicyType Periodic { get; } = new BackupPolicyType("Periodic"); + public static BackupPolicyType Continuous { get; } = new BackupPolicyType("Continuous"); + + public static bool operator ==(BackupPolicyType left, BackupPolicyType right) => left.Equals(right); + public static bool operator !=(BackupPolicyType left, BackupPolicyType right) => !left.Equals(right); + + public static explicit operator string(BackupPolicyType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BackupPolicyType other && Equals(other); + public bool Equals(BackupPolicyType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate type of backup residency + /// + [EnumType] + public readonly struct BackupStorageRedundancy : IEquatable + { + private readonly string _value; + + private BackupStorageRedundancy(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BackupStorageRedundancy Geo { get; } = new BackupStorageRedundancy("Geo"); + public static BackupStorageRedundancy Local { get; } = new BackupStorageRedundancy("Local"); + public static BackupStorageRedundancy Zone { get; } = new BackupStorageRedundancy("Zone"); + + public static bool operator ==(BackupStorageRedundancy left, BackupStorageRedundancy right) => left.Equals(right); + public static bool operator !=(BackupStorageRedundancy left, BackupStorageRedundancy right) => !left.Equals(right); + + public static explicit operator string(BackupStorageRedundancy value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BackupStorageRedundancy other && Equals(other); + public bool Equals(BackupStorageRedundancy other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the cluster. If set to Production, some operations might not be permitted on cluster. + /// + [EnumType] + public readonly struct ClusterType : IEquatable + { + private readonly string _value; + + private ClusterType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ClusterType Production { get; } = new ClusterType("Production"); + public static ClusterType NonProduction { get; } = new ClusterType("NonProduction"); + + public static bool operator ==(ClusterType left, ClusterType right) => left.Equals(right); + public static bool operator !=(ClusterType left, ClusterType right) => !left.Equals(right); + + public static explicit operator string(ClusterType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ClusterType other && Equals(other); + public bool Equals(ClusterType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Sort order for composite paths. + /// + [EnumType] + public readonly struct CompositePathSortOrder : IEquatable + { + private readonly string _value; + + private CompositePathSortOrder(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CompositePathSortOrder @Ascending { get; } = new CompositePathSortOrder("ascending"); + public static CompositePathSortOrder @Descending { get; } = new CompositePathSortOrder("descending"); + + public static bool operator ==(CompositePathSortOrder left, CompositePathSortOrder right) => left.Equals(right); + public static bool operator !=(CompositePathSortOrder left, CompositePathSortOrder right) => !left.Equals(right); + + public static explicit operator string(CompositePathSortOrder value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CompositePathSortOrder other && Equals(other); + public bool Equals(CompositePathSortOrder other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the conflict resolution mode. + /// + [EnumType] + public readonly struct ConflictResolutionMode : IEquatable + { + private readonly string _value; + + private ConflictResolutionMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConflictResolutionMode LastWriterWins { get; } = new ConflictResolutionMode("LastWriterWins"); + public static ConflictResolutionMode Custom { get; } = new ConflictResolutionMode("Custom"); + + public static bool operator ==(ConflictResolutionMode left, ConflictResolutionMode right) => left.Equals(right); + public static bool operator !=(ConflictResolutionMode left, ConflictResolutionMode right) => !left.Equals(right); + + public static explicit operator string(ConflictResolutionMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConflictResolutionMode other && Equals(other); + public bool Equals(ConflictResolutionMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + [EnumType] + public readonly struct ConnectorOffer : IEquatable + { + private readonly string _value; + + private ConnectorOffer(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConnectorOffer Small { get; } = new ConnectorOffer("Small"); + + public static bool operator ==(ConnectorOffer left, ConnectorOffer right) => left.Equals(right); + public static bool operator !=(ConnectorOffer left, ConnectorOffer right) => !left.Equals(right); + + public static explicit operator string(ConnectorOffer value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConnectorOffer other && Equals(other); + public bool Equals(ConnectorOffer other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate type of Continuos backup mode + /// + [EnumType] + public readonly struct ContinuousTier : IEquatable + { + private readonly string _value; + + private ContinuousTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ContinuousTier Continuous7Days { get; } = new ContinuousTier("Continuous7Days"); + public static ContinuousTier Continuous30Days { get; } = new ContinuousTier("Continuous30Days"); + + public static bool operator ==(ContinuousTier left, ContinuousTier right) => left.Equals(right); + public static bool operator !=(ContinuousTier left, ContinuousTier right) => !left.Equals(right); + + public static explicit operator string(ContinuousTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ContinuousTier other && Equals(other); + public bool Equals(ContinuousTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate the mode of resource creation. + /// + [EnumType] + public readonly struct CreateMode : IEquatable + { + private readonly string _value; + + private CreateMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CreateMode Default { get; } = new CreateMode("Default"); + public static CreateMode Restore { get; } = new CreateMode("Restore"); + + public static bool operator ==(CreateMode left, CreateMode right) => left.Equals(right); + public static bool operator !=(CreateMode left, CreateMode right) => !left.Equals(right); + + public static explicit operator string(CreateMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CreateMode other && Equals(other); + public bool Equals(CreateMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + [EnumType] + public readonly struct CustomerManagedKeyStatus : IEquatable + { + private readonly string _value; + + private CustomerManagedKeyStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_obtain_the_AAD_authentication_token_for_the_account_s_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_active_directory_token_acquisition_error_4000_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB service is unable to obtain the AAD authentication token for the account's default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-active-directory-token-acquisition-error (4000)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_s_key_vault_key_URI_does_not_follow_the_expected_format_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_improper_syntax_detected_on_the_key_vault_uri_property_4006_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB account's key vault key URI does not follow the expected format; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#improper-syntax-detected-on-the-key-vault-uri-property (4006)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_current_default_identity_no_longer_has_permission_to_the_associated_Key_Vault_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_default_identity_is_unauthorized_to_access_the_azure_key_vault_key_4002_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the current default identity no longer has permission to the associated Key Vault key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#default-identity-is-unauthorized-to-access-the-azure-key-vault-key (4002)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Key_Vault_DNS_name_specified_by_the_account_s_keyvaultkeyuri_property_could_not_be_resolved_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_unable_to_resolve_the_key_vaults_dns_4009_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Key Vault DNS name specified by the account's keyvaultkeyuri property could not be resolved; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#unable-to-resolve-the-key-vaults-dns (4009)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_correspondent_key_is_not_found_on_the_specified_Key_Vault_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4003_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the correspondent key is not found on the specified Key Vault; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4003)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_wrap_or_unwrap_the_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_internal_unwrapping_procedure_error_4005_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB service is unable to wrap or unwrap the key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#internal-unwrapping-procedure-error (4005)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_has_an_undefined_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_invalid_azure_cosmos_db_default_identity_4015_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the Azure Cosmos DB account has an undefined default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#invalid-azure-cosmos-db-default-identity (4015)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_access_rules_are_blocking_outbound_requests_to_the_Azure_Key_Vault_service_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_4016_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the access rules are blocking outbound requests to the Azure Key Vault service; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide (4016)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_because_the_correspondent_Azure_Key_Vault_was_not_found_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4017_ { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked because the correspondent Azure Key Vault was not found; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4017)."); + public static CustomerManagedKeyStatus Access_to_your_account_is_currently_revoked_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide { get; } = new CustomerManagedKeyStatus("Access to your account is currently revoked; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide"); + public static CustomerManagedKeyStatus Access_to_the_configured_customer_managed_key_confirmed_ { get; } = new CustomerManagedKeyStatus("Access to the configured customer managed key confirmed."); + + public static bool operator ==(CustomerManagedKeyStatus left, CustomerManagedKeyStatus right) => left.Equals(right); + public static bool operator !=(CustomerManagedKeyStatus left, CustomerManagedKeyStatus right) => !left.Equals(right); + + public static explicit operator string(CustomerManagedKeyStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CustomerManagedKeyStatus other && Equals(other); + public bool Equals(CustomerManagedKeyStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The datatype for which the indexing behavior is applied to. + /// + [EnumType] + public readonly struct DataType : IEquatable + { + private readonly string _value; + + private DataType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataType String { get; } = new DataType("String"); + public static DataType Number { get; } = new DataType("Number"); + public static DataType Point { get; } = new DataType("Point"); + public static DataType Polygon { get; } = new DataType("Polygon"); + public static DataType LineString { get; } = new DataType("LineString"); + public static DataType MultiPolygon { get; } = new DataType("MultiPolygon"); + + public static bool operator ==(DataType left, DataType right) => left.Equals(right); + public static bool operator !=(DataType left, DataType right) => !left.Equals(right); + + public static explicit operator string(DataType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataType other && Equals(other); + public bool Equals(DataType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + [EnumType] + public readonly struct DatabaseAccountKind : IEquatable + { + private readonly string _value; + + private DatabaseAccountKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DatabaseAccountKind GlobalDocumentDB { get; } = new DatabaseAccountKind("GlobalDocumentDB"); + public static DatabaseAccountKind MongoDB { get; } = new DatabaseAccountKind("MongoDB"); + public static DatabaseAccountKind Parse { get; } = new DatabaseAccountKind("Parse"); + + public static bool operator ==(DatabaseAccountKind left, DatabaseAccountKind right) => left.Equals(right); + public static bool operator !=(DatabaseAccountKind left, DatabaseAccountKind right) => !left.Equals(right); + + public static explicit operator string(DatabaseAccountKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DatabaseAccountKind other && Equals(other); + public bool Equals(DatabaseAccountKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The offer type for the database + /// + [EnumType] + public readonly struct DatabaseAccountOfferType : IEquatable + { + private readonly string _value; + + private DatabaseAccountOfferType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DatabaseAccountOfferType Standard { get; } = new DatabaseAccountOfferType("Standard"); + + public static bool operator ==(DatabaseAccountOfferType left, DatabaseAccountOfferType right) => left.Equals(right); + public static bool operator !=(DatabaseAccountOfferType left, DatabaseAccountOfferType right) => !left.Equals(right); + + public static explicit operator string(DatabaseAccountOfferType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DatabaseAccountOfferType other && Equals(other); + public bool Equals(DatabaseAccountOfferType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The default consistency level and configuration settings of the Cosmos DB account. + /// + [EnumType] + public readonly struct DefaultConsistencyLevel : IEquatable + { + private readonly string _value; + + private DefaultConsistencyLevel(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DefaultConsistencyLevel Eventual { get; } = new DefaultConsistencyLevel("Eventual"); + public static DefaultConsistencyLevel Session { get; } = new DefaultConsistencyLevel("Session"); + public static DefaultConsistencyLevel BoundedStaleness { get; } = new DefaultConsistencyLevel("BoundedStaleness"); + public static DefaultConsistencyLevel Strong { get; } = new DefaultConsistencyLevel("Strong"); + public static DefaultConsistencyLevel ConsistentPrefix { get; } = new DefaultConsistencyLevel("ConsistentPrefix"); + + public static bool operator ==(DefaultConsistencyLevel left, DefaultConsistencyLevel right) => left.Equals(right); + public static bool operator !=(DefaultConsistencyLevel left, DefaultConsistencyLevel right) => !left.Equals(right); + + public static explicit operator string(DefaultConsistencyLevel value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DefaultConsistencyLevel other && Equals(other); + public bool Equals(DefaultConsistencyLevel other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum to indicate default Priority Level of request for Priority Based Execution. + /// + [EnumType] + public readonly struct DefaultPriorityLevel : IEquatable + { + private readonly string _value; + + private DefaultPriorityLevel(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DefaultPriorityLevel High { get; } = new DefaultPriorityLevel("High"); + public static DefaultPriorityLevel Low { get; } = new DefaultPriorityLevel("Low"); + + public static bool operator ==(DefaultPriorityLevel left, DefaultPriorityLevel right) => left.Equals(right); + public static bool operator !=(DefaultPriorityLevel left, DefaultPriorityLevel right) => !left.Equals(right); + + public static explicit operator string(DefaultPriorityLevel value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DefaultPriorityLevel other && Equals(other); + public bool Equals(DefaultPriorityLevel other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describe the level of detail with which queries are to be logged. + /// + [EnumType] + public readonly struct EnableFullTextQuery : IEquatable + { + private readonly string _value; + + private EnableFullTextQuery(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EnableFullTextQuery None { get; } = new EnableFullTextQuery("None"); + public static EnableFullTextQuery True { get; } = new EnableFullTextQuery("True"); + public static EnableFullTextQuery False { get; } = new EnableFullTextQuery("False"); + + public static bool operator ==(EnableFullTextQuery left, EnableFullTextQuery right) => left.Equals(right); + public static bool operator !=(EnableFullTextQuery left, EnableFullTextQuery right) => !left.Equals(right); + + public static explicit operator string(EnableFullTextQuery value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EnableFullTextQuery other && Equals(other); + public bool Equals(EnableFullTextQuery other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the type of index. + /// + [EnumType] + public readonly struct IndexKind : IEquatable + { + private readonly string _value; + + private IndexKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IndexKind Hash { get; } = new IndexKind("Hash"); + public static IndexKind Range { get; } = new IndexKind("Range"); + public static IndexKind Spatial { get; } = new IndexKind("Spatial"); + + public static bool operator ==(IndexKind left, IndexKind right) => left.Equals(right); + public static bool operator !=(IndexKind left, IndexKind right) => !left.Equals(right); + + public static explicit operator string(IndexKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IndexKind other && Equals(other); + public bool Equals(IndexKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the indexing mode. + /// + [EnumType] + public readonly struct IndexingMode : IEquatable + { + private readonly string _value; + + private IndexingMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IndexingMode Consistent { get; } = new IndexingMode("consistent"); + public static IndexingMode Lazy { get; } = new IndexingMode("lazy"); + public static IndexingMode None { get; } = new IndexingMode("none"); + + public static bool operator ==(IndexingMode left, IndexingMode right) => left.Equals(right); + public static bool operator !=(IndexingMode left, IndexingMode right) => !left.Equals(right); + + public static explicit operator string(IndexingMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IndexingMode other && Equals(other); + public bool Equals(IndexingMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The status of the resource at the time the operation was called. + /// + [EnumType] + public readonly struct ManagedCassandraProvisioningState : IEquatable + { + private readonly string _value; + + private ManagedCassandraProvisioningState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedCassandraProvisioningState Creating { get; } = new ManagedCassandraProvisioningState("Creating"); + public static ManagedCassandraProvisioningState Updating { get; } = new ManagedCassandraProvisioningState("Updating"); + public static ManagedCassandraProvisioningState Deleting { get; } = new ManagedCassandraProvisioningState("Deleting"); + public static ManagedCassandraProvisioningState Succeeded { get; } = new ManagedCassandraProvisioningState("Succeeded"); + public static ManagedCassandraProvisioningState Failed { get; } = new ManagedCassandraProvisioningState("Failed"); + public static ManagedCassandraProvisioningState Canceled { get; } = new ManagedCassandraProvisioningState("Canceled"); + + public static bool operator ==(ManagedCassandraProvisioningState left, ManagedCassandraProvisioningState right) => left.Equals(right); + public static bool operator !=(ManagedCassandraProvisioningState left, ManagedCassandraProvisioningState right) => !left.Equals(right); + + public static explicit operator string(ManagedCassandraProvisioningState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedCassandraProvisioningState other && Equals(other); + public bool Equals(ManagedCassandraProvisioningState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the resource. + /// + [EnumType] + public readonly struct ManagedCassandraResourceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedCassandraResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedCassandraResourceIdentityType SystemAssigned { get; } = new ManagedCassandraResourceIdentityType("SystemAssigned"); + public static ManagedCassandraResourceIdentityType None { get; } = new ManagedCassandraResourceIdentityType("None"); + + public static bool operator ==(ManagedCassandraResourceIdentityType left, ManagedCassandraResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedCassandraResourceIdentityType left, ManagedCassandraResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedCassandraResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedCassandraResourceIdentityType other && Equals(other); + public bool Equals(ManagedCassandraResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + /// + [EnumType] + public readonly struct MinimalTlsVersion : IEquatable + { + private readonly string _value; + + private MinimalTlsVersion(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MinimalTlsVersion Tls { get; } = new MinimalTlsVersion("Tls"); + public static MinimalTlsVersion Tls11 { get; } = new MinimalTlsVersion("Tls11"); + public static MinimalTlsVersion Tls12 { get; } = new MinimalTlsVersion("Tls12"); + + public static bool operator ==(MinimalTlsVersion left, MinimalTlsVersion right) => left.Equals(right); + public static bool operator !=(MinimalTlsVersion left, MinimalTlsVersion right) => !left.Equals(right); + + public static explicit operator string(MinimalTlsVersion value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MinimalTlsVersion other && Equals(other); + public bool Equals(MinimalTlsVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [EnumType] + public readonly struct MongoRoleDefinitionType : IEquatable + { + private readonly string _value; + + private MongoRoleDefinitionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MongoRoleDefinitionType BuiltInRole { get; } = new MongoRoleDefinitionType("BuiltInRole"); + public static MongoRoleDefinitionType CustomRole { get; } = new MongoRoleDefinitionType("CustomRole"); + + public static bool operator ==(MongoRoleDefinitionType left, MongoRoleDefinitionType right) => left.Equals(right); + public static bool operator !=(MongoRoleDefinitionType left, MongoRoleDefinitionType right) => !left.Equals(right); + + public static explicit operator string(MongoRoleDefinitionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MongoRoleDefinitionType other && Equals(other); + public bool Equals(MongoRoleDefinitionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + [EnumType] + public readonly struct NetworkAclBypass : IEquatable + { + private readonly string _value; + + private NetworkAclBypass(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static NetworkAclBypass None { get; } = new NetworkAclBypass("None"); + public static NetworkAclBypass AzureServices { get; } = new NetworkAclBypass("AzureServices"); + + public static bool operator ==(NetworkAclBypass left, NetworkAclBypass right) => left.Equals(right); + public static bool operator !=(NetworkAclBypass left, NetworkAclBypass right) => !left.Equals(right); + + public static explicit operator string(NetworkAclBypass value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NetworkAclBypass other && Equals(other); + public bool Equals(NetworkAclBypass other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The node type deployed in the node group. + /// + [EnumType] + public readonly struct NodeKind : IEquatable + { + private readonly string _value; + + private NodeKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static NodeKind Shard { get; } = new NodeKind("Shard"); + + public static bool operator ==(NodeKind left, NodeKind right) => left.Equals(right); + public static bool operator !=(NodeKind left, NodeKind right) => !left.Equals(right); + + public static explicit operator string(NodeKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NodeKind other && Equals(other); + public bool Equals(NodeKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + /// + [EnumType] + public readonly struct PartitionKind : IEquatable + { + private readonly string _value; + + private PartitionKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PartitionKind Hash { get; } = new PartitionKind("Hash"); + public static PartitionKind Range { get; } = new PartitionKind("Range"); + public static PartitionKind MultiHash { get; } = new PartitionKind("MultiHash"); + + public static bool operator ==(PartitionKind left, PartitionKind right) => left.Equals(right); + public static bool operator !=(PartitionKind left, PartitionKind right) => !left.Equals(right); + + public static explicit operator string(PartitionKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PartitionKind other && Equals(other); + public bool Equals(PartitionKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Whether requests from Public Network are allowed + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + public static PublicNetworkAccess SecuredByPerimeter { get; } = new PublicNetworkAccess("SecuredByPerimeter"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + /// + [EnumType] + public readonly struct ResourceIdentityType : IEquatable + { + private readonly string _value; + + private ResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResourceIdentityType SystemAssigned { get; } = new ResourceIdentityType("SystemAssigned"); + public static ResourceIdentityType UserAssigned { get; } = new ResourceIdentityType("UserAssigned"); + public static ResourceIdentityType SystemAssigned_UserAssigned { get; } = new ResourceIdentityType("SystemAssigned,UserAssigned"); + public static ResourceIdentityType None { get; } = new ResourceIdentityType("None"); + + public static bool operator ==(ResourceIdentityType left, ResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ResourceIdentityType left, ResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourceIdentityType other && Equals(other); + public bool Equals(ResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the mode of the restore. + /// + [EnumType] + public readonly struct RestoreMode : IEquatable + { + private readonly string _value; + + private RestoreMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RestoreMode PointInTime { get; } = new RestoreMode("PointInTime"); + + public static bool operator ==(RestoreMode left, RestoreMode right) => left.Equals(right); + public static bool operator !=(RestoreMode left, RestoreMode right) => !left.Equals(right); + + public static explicit operator string(RestoreMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RestoreMode other && Equals(other); + public bool Equals(RestoreMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [EnumType] + public readonly struct RoleDefinitionType : IEquatable + { + private readonly string _value; + + private RoleDefinitionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static RoleDefinitionType BuiltInRole { get; } = new RoleDefinitionType("BuiltInRole"); + public static RoleDefinitionType CustomRole { get; } = new RoleDefinitionType("CustomRole"); + + public static bool operator ==(RoleDefinitionType left, RoleDefinitionType right) => left.Equals(right); + public static bool operator !=(RoleDefinitionType left, RoleDefinitionType right) => !left.Equals(right); + + public static explicit operator string(RoleDefinitionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is RoleDefinitionType other && Equals(other); + public bool Equals(RoleDefinitionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes the ServerVersion of an a MongoDB account. + /// + [EnumType] + public readonly struct ServerVersion : IEquatable + { + private readonly string _value; + + private ServerVersion(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServerVersion ServerVersion_3_2 { get; } = new ServerVersion("3.2"); + public static ServerVersion ServerVersion_3_6 { get; } = new ServerVersion("3.6"); + public static ServerVersion ServerVersion_4_0 { get; } = new ServerVersion("4.0"); + public static ServerVersion ServerVersion_4_2 { get; } = new ServerVersion("4.2"); + + public static bool operator ==(ServerVersion left, ServerVersion right) => left.Equals(right); + public static bool operator !=(ServerVersion left, ServerVersion right) => !left.Equals(right); + + public static explicit operator string(ServerVersion value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServerVersion other && Equals(other); + public bool Equals(ServerVersion other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Instance type for the service. + /// + [EnumType] + public readonly struct ServiceSize : IEquatable + { + private readonly string _value; + + private ServiceSize(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServiceSize Cosmos_D4s { get; } = new ServiceSize("Cosmos.D4s"); + public static ServiceSize Cosmos_D8s { get; } = new ServiceSize("Cosmos.D8s"); + public static ServiceSize Cosmos_D16s { get; } = new ServiceSize("Cosmos.D16s"); + + public static bool operator ==(ServiceSize left, ServiceSize right) => left.Equals(right); + public static bool operator !=(ServiceSize left, ServiceSize right) => !left.Equals(right); + + public static explicit operator string(ServiceSize value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServiceSize other && Equals(other); + public bool Equals(ServiceSize other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// ServiceType for the service. + /// + [EnumType] + public readonly struct ServiceType : IEquatable + { + private readonly string _value; + + private ServiceType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ServiceType SqlDedicatedGateway { get; } = new ServiceType("SqlDedicatedGateway"); + public static ServiceType DataTransfer { get; } = new ServiceType("DataTransfer"); + public static ServiceType GraphAPICompute { get; } = new ServiceType("GraphAPICompute"); + public static ServiceType MaterializedViewsBuilder { get; } = new ServiceType("MaterializedViewsBuilder"); + + public static bool operator ==(ServiceType left, ServiceType right) => left.Equals(right); + public static bool operator !=(ServiceType left, ServiceType right) => !left.Equals(right); + + public static explicit operator string(ServiceType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ServiceType other && Equals(other); + public bool Equals(ServiceType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates the spatial type of index. + /// + [EnumType] + public readonly struct SpatialType : IEquatable + { + private readonly string _value; + + private SpatialType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SpatialType Point { get; } = new SpatialType("Point"); + public static SpatialType LineString { get; } = new SpatialType("LineString"); + public static SpatialType Polygon { get; } = new SpatialType("Polygon"); + public static SpatialType MultiPolygon { get; } = new SpatialType("MultiPolygon"); + + public static bool operator ==(SpatialType left, SpatialType right) => left.Equals(right); + public static bool operator !=(SpatialType left, SpatialType right) => !left.Equals(right); + + public static explicit operator string(SpatialType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SpatialType other && Equals(other); + public bool Equals(SpatialType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The operation the trigger is associated with + /// + [EnumType] + public readonly struct TriggerOperation : IEquatable + { + private readonly string _value; + + private TriggerOperation(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static TriggerOperation All { get; } = new TriggerOperation("All"); + public static TriggerOperation Create { get; } = new TriggerOperation("Create"); + public static TriggerOperation Update { get; } = new TriggerOperation("Update"); + public static TriggerOperation Delete { get; } = new TriggerOperation("Delete"); + public static TriggerOperation Replace { get; } = new TriggerOperation("Replace"); + + public static bool operator ==(TriggerOperation left, TriggerOperation right) => left.Equals(right); + public static bool operator !=(TriggerOperation left, TriggerOperation right) => !left.Equals(right); + + public static explicit operator string(TriggerOperation value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggerOperation other && Equals(other); + public bool Equals(TriggerOperation other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the Trigger + /// + [EnumType] + public readonly struct TriggerType : IEquatable + { + private readonly string _value; + + private TriggerType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static TriggerType Pre { get; } = new TriggerType("Pre"); + public static TriggerType Post { get; } = new TriggerType("Post"); + + public static bool operator ==(TriggerType left, TriggerType right) => left.Equals(right); + public static bool operator !=(TriggerType left, TriggerType right) => !left.Equals(right); + + public static explicit operator string(TriggerType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggerType other && Equals(other); + public bool Equals(TriggerType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraCluster.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraCluster.cs new file mode 100644 index 000000000000..71812065adb7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraCluster.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetCassandraCluster + { + /// + /// Get the properties of a managed Cassandra cluster. + /// + public static Task InvokeAsync(GetCassandraClusterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getCassandraCluster", args ?? new GetCassandraClusterArgs(), options.WithDefaults()); + + /// + /// Get the properties of a managed Cassandra cluster. + /// + public static Output Invoke(GetCassandraClusterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getCassandraCluster", args ?? new GetCassandraClusterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCassandraClusterArgs() + { + } + public static new GetCassandraClusterArgs Empty => new GetCassandraClusterArgs(); + } + + public sealed class GetCassandraClusterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCassandraClusterInvokeArgs() + { + } + public static new GetCassandraClusterInvokeArgs Empty => new GetCassandraClusterInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraClusterResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedCassandraManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + /// + /// Properties of a managed Cassandra cluster. + /// + public readonly Outputs.ClusterResourceResponseProperties Properties; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraClusterResult( + string id, + + Outputs.ManagedCassandraManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.ClusterResourceResponseProperties properties, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Properties = properties; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraDataCenter.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraDataCenter.cs new file mode 100644 index 000000000000..49534f78b530 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraDataCenter.cs @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetCassandraDataCenter + { + /// + /// Get the properties of a managed Cassandra data center. + /// + public static Task InvokeAsync(GetCassandraDataCenterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getCassandraDataCenter", args ?? new GetCassandraDataCenterArgs(), options.WithDefaults()); + + /// + /// Get the properties of a managed Cassandra data center. + /// + public static Output Invoke(GetCassandraDataCenterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getCassandraDataCenter", args ?? new GetCassandraDataCenterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraDataCenterArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// Data center name in a managed Cassandra cluster. + /// + [Input("dataCenterName", required: true)] + public string DataCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCassandraDataCenterArgs() + { + } + public static new GetCassandraDataCenterArgs Empty => new GetCassandraDataCenterArgs(); + } + + public sealed class GetCassandraDataCenterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Managed Cassandra cluster name. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// Data center name in a managed Cassandra cluster. + /// + [Input("dataCenterName", required: true)] + public Input DataCenterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCassandraDataCenterInvokeArgs() + { + } + public static new GetCassandraDataCenterInvokeArgs Empty => new GetCassandraDataCenterInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraDataCenterResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// Properties of a managed Cassandra data center. + /// + public readonly Outputs.DataCenterResourceResponseProperties Properties; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraDataCenterResult( + string id, + + string name, + + Outputs.DataCenterResourceResponseProperties properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraKeyspace.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraKeyspace.cs new file mode 100644 index 000000000000..a2dd262f0a8c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraKeyspace.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetCassandraResourceCassandraKeyspace + { + /// + /// Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetCassandraResourceCassandraKeyspaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraKeyspace", args ?? new GetCassandraResourceCassandraKeyspaceArgs(), options.WithDefaults()); + + /// + /// Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetCassandraResourceCassandraKeyspaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraKeyspace", args ?? new GetCassandraResourceCassandraKeyspaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraResourceCassandraKeyspaceArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public string KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCassandraResourceCassandraKeyspaceArgs() + { + } + public static new GetCassandraResourceCassandraKeyspaceArgs Empty => new GetCassandraResourceCassandraKeyspaceArgs(); + } + + public sealed class GetCassandraResourceCassandraKeyspaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCassandraResourceCassandraKeyspaceInvokeArgs() + { + } + public static new GetCassandraResourceCassandraKeyspaceInvokeArgs Empty => new GetCassandraResourceCassandraKeyspaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraResourceCassandraKeyspaceResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.CassandraKeyspaceGetPropertiesResponseOptions? Options; + public readonly Outputs.CassandraKeyspaceGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraResourceCassandraKeyspaceResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.CassandraKeyspaceGetPropertiesResponseOptions? options, + + Outputs.CassandraKeyspaceGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraTable.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraTable.cs new file mode 100644 index 000000000000..dcca8b499cf1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraTable.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetCassandraResourceCassandraTable + { + /// + /// Gets the Cassandra table under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetCassandraResourceCassandraTableArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraTable", args ?? new GetCassandraResourceCassandraTableArgs(), options.WithDefaults()); + + /// + /// Gets the Cassandra table under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetCassandraResourceCassandraTableInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraTable", args ?? new GetCassandraResourceCassandraTableInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraResourceCassandraTableArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public string KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public string TableName { get; set; } = null!; + + public GetCassandraResourceCassandraTableArgs() + { + } + public static new GetCassandraResourceCassandraTableArgs Empty => new GetCassandraResourceCassandraTableArgs(); + } + + public sealed class GetCassandraResourceCassandraTableInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public GetCassandraResourceCassandraTableInvokeArgs() + { + } + public static new GetCassandraResourceCassandraTableInvokeArgs Empty => new GetCassandraResourceCassandraTableInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraResourceCassandraTableResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.CassandraTableGetPropertiesResponseOptions? Options; + public readonly Outputs.CassandraTableGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraResourceCassandraTableResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.CassandraTableGetPropertiesResponseOptions? options, + + Outputs.CassandraTableGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraView.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraView.cs new file mode 100644 index 000000000000..c9ddd50b6497 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetCassandraResourceCassandraView.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetCassandraResourceCassandraView + { + /// + /// Gets the Cassandra view under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetCassandraResourceCassandraViewArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraView", args ?? new GetCassandraResourceCassandraViewArgs(), options.WithDefaults()); + + /// + /// Gets the Cassandra view under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetCassandraResourceCassandraViewInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraView", args ?? new GetCassandraResourceCassandraViewInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCassandraResourceCassandraViewArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public string KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB view name. + /// + [Input("viewName", required: true)] + public string ViewName { get; set; } = null!; + + public GetCassandraResourceCassandraViewArgs() + { + } + public static new GetCassandraResourceCassandraViewArgs Empty => new GetCassandraResourceCassandraViewArgs(); + } + + public sealed class GetCassandraResourceCassandraViewInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB keyspace name. + /// + [Input("keyspaceName", required: true)] + public Input KeyspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB view name. + /// + [Input("viewName", required: true)] + public Input ViewName { get; set; } = null!; + + public GetCassandraResourceCassandraViewInvokeArgs() + { + } + public static new GetCassandraResourceCassandraViewInvokeArgs Empty => new GetCassandraResourceCassandraViewInvokeArgs(); + } + + + [OutputType] + public sealed class GetCassandraResourceCassandraViewResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.CassandraViewGetPropertiesResponseOptions? Options; + public readonly Outputs.CassandraViewGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetCassandraResourceCassandraViewResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.CassandraViewGetPropertiesResponseOptions? options, + + Outputs.CassandraViewGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetDatabaseAccount.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetDatabaseAccount.cs new file mode 100644 index 000000000000..7b664ae22b49 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetDatabaseAccount.cs @@ -0,0 +1,434 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetDatabaseAccount + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetDatabaseAccountArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getDatabaseAccount", args ?? new GetDatabaseAccountArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetDatabaseAccountInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getDatabaseAccount", args ?? new GetDatabaseAccountInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDatabaseAccountArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetDatabaseAccountArgs() + { + } + public static new GetDatabaseAccountArgs Empty => new GetDatabaseAccountArgs(); + } + + public sealed class GetDatabaseAccountInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetDatabaseAccountInvokeArgs() + { + } + public static new GetDatabaseAccountInvokeArgs Empty => new GetDatabaseAccountInvokeArgs(); + } + + + [OutputType] + public sealed class GetDatabaseAccountResult + { + /// + /// Analytical storage specific properties. + /// + public readonly Outputs.AnalyticalStorageConfigurationResponse? AnalyticalStorageConfiguration; + /// + /// API specific properties. + /// + public readonly Outputs.ApiPropertiesResponse? ApiProperties; + /// + /// The object representing the policy for taking backups on an account. + /// + public readonly Union? BackupPolicy; + /// + /// List of Cosmos DB capabilities for the account + /// + public readonly ImmutableArray Capabilities; + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + public readonly Outputs.CapacityResponse? Capacity; + /// + /// The cassandra connector offer type for the Cosmos DB database C* account. + /// + public readonly string? ConnectorOffer; + /// + /// The consistency policy for the Cosmos DB database account. + /// + public readonly Outputs.ConsistencyPolicyResponse? ConsistencyPolicy; + /// + /// The CORS policy for the Cosmos DB database account. + /// + public readonly ImmutableArray Cors; + /// + /// Enum to indicate the mode of account creation. + /// + public readonly string? CreateMode; + /// + /// Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + /// + public readonly string? CustomerManagedKeyStatus; + /// + /// The offer type for the Cosmos DB database account. Default value: Standard. + /// + public readonly string DatabaseAccountOfferType; + /// + /// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + /// + public readonly string? DefaultIdentity; + /// + /// Enum to indicate default Priority Level of request for Priority Based Execution. + /// + public readonly string? DefaultPriorityLevel; + /// + /// The Object representing the different Diagnostic log settings for the Cosmos DB Account. + /// + public readonly Outputs.DiagnosticLogSettingsResponse? DiagnosticLogSettings; + /// + /// Disable write operations on metadata resources (databases, containers, throughput) via account keys + /// + public readonly bool? DisableKeyBasedMetadataWriteAccess; + /// + /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + /// + public readonly bool? DisableLocalAuth; + /// + /// The connection endpoint for the Cosmos DB database account. + /// + public readonly string DocumentEndpoint; + /// + /// Flag to indicate whether to enable storage analytics. + /// + public readonly bool? EnableAnalyticalStorage; + /// + /// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + /// + public readonly bool? EnableAutomaticFailover; + /// + /// Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + /// + public readonly bool? EnableBurstCapacity; + /// + /// Enables the cassandra connector on the Cosmos DB C* account + /// + public readonly bool? EnableCassandraConnector; + /// + /// Flag to indicate whether Free Tier is enabled. + /// + public readonly bool? EnableFreeTier; + /// + /// Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + /// + public readonly bool? EnableMaterializedViews; + /// + /// Enables the account to write in multiple locations + /// + public readonly bool? EnableMultipleWriteLocations; + /// + /// Flag to indicate enabling/disabling of Partition Merge feature on the account + /// + public readonly bool? EnablePartitionMerge; + /// + /// Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + /// + public readonly bool? EnablePriorityBasedExecution; + /// + /// An array that contains the regions ordered by their failover priorities. + /// + public readonly ImmutableArray FailoverPolicies; + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// A unique identifier assigned to the database account + /// + public readonly string InstanceId; + /// + /// List of IpRules. + /// + public readonly ImmutableArray IpRules; + /// + /// Flag to indicate whether to enable/disable Virtual Network ACL rules. + /// + public readonly bool? IsVirtualNetworkFilterEnabled; + /// + /// The URI of the key vault + /// + public readonly string? KeyVaultKeyUri; + /// + /// The object that represents the metadata for the Account Keys of the Cosmos DB account. + /// + public readonly Outputs.DatabaseAccountKeysMetadataResponse KeysMetadata; + /// + /// Indicates the type of database account. This can only be set at database account creation. + /// + public readonly string? Kind; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// An array that contains all of the locations enabled for the Cosmos DB account. + /// + public readonly ImmutableArray Locations; + /// + /// Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + /// + public readonly string? MinimalTlsVersion; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + /// + /// Indicates what services are allowed to bypass firewall checks. + /// + public readonly string? NetworkAclBypass; + /// + /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + /// + public readonly ImmutableArray NetworkAclBypassResourceIds; + /// + /// List of Private Endpoint Connections configured for the Cosmos DB account. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + /// + public readonly string ProvisioningState; + /// + /// Whether requests from Public Network are allowed + /// + public readonly string? PublicNetworkAccess; + /// + /// An array that contains of the read locations enabled for the Cosmos DB account. + /// + public readonly ImmutableArray ReadLocations; + /// + /// Parameters to indicate the information about the restore. + /// + public readonly Outputs.RestoreParametersResponse? RestoreParameters; + /// + /// The system meta data relating to this resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + /// + /// List of Virtual Network ACL rules configured for the Cosmos DB account. + /// + public readonly ImmutableArray VirtualNetworkRules; + /// + /// An array that contains the write location for the Cosmos DB account. + /// + public readonly ImmutableArray WriteLocations; + + [OutputConstructor] + private GetDatabaseAccountResult( + Outputs.AnalyticalStorageConfigurationResponse? analyticalStorageConfiguration, + + Outputs.ApiPropertiesResponse? apiProperties, + + Union? backupPolicy, + + ImmutableArray capabilities, + + Outputs.CapacityResponse? capacity, + + string? connectorOffer, + + Outputs.ConsistencyPolicyResponse? consistencyPolicy, + + ImmutableArray cors, + + string? createMode, + + string? customerManagedKeyStatus, + + string databaseAccountOfferType, + + string? defaultIdentity, + + string? defaultPriorityLevel, + + Outputs.DiagnosticLogSettingsResponse? diagnosticLogSettings, + + bool? disableKeyBasedMetadataWriteAccess, + + bool? disableLocalAuth, + + string documentEndpoint, + + bool? enableAnalyticalStorage, + + bool? enableAutomaticFailover, + + bool? enableBurstCapacity, + + bool? enableCassandraConnector, + + bool? enableFreeTier, + + bool? enableMaterializedViews, + + bool? enableMultipleWriteLocations, + + bool? enablePartitionMerge, + + bool? enablePriorityBasedExecution, + + ImmutableArray failoverPolicies, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string instanceId, + + ImmutableArray ipRules, + + bool? isVirtualNetworkFilterEnabled, + + string? keyVaultKeyUri, + + Outputs.DatabaseAccountKeysMetadataResponse keysMetadata, + + string? kind, + + string? location, + + ImmutableArray locations, + + string? minimalTlsVersion, + + string name, + + string? networkAclBypass, + + ImmutableArray networkAclBypassResourceIds, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicNetworkAccess, + + ImmutableArray readLocations, + + Outputs.RestoreParametersResponse? restoreParameters, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + ImmutableArray virtualNetworkRules, + + ImmutableArray writeLocations) + { + AnalyticalStorageConfiguration = analyticalStorageConfiguration; + ApiProperties = apiProperties; + BackupPolicy = backupPolicy; + Capabilities = capabilities; + Capacity = capacity; + ConnectorOffer = connectorOffer; + ConsistencyPolicy = consistencyPolicy; + Cors = cors; + CreateMode = createMode; + CustomerManagedKeyStatus = customerManagedKeyStatus; + DatabaseAccountOfferType = databaseAccountOfferType; + DefaultIdentity = defaultIdentity; + DefaultPriorityLevel = defaultPriorityLevel; + DiagnosticLogSettings = diagnosticLogSettings; + DisableKeyBasedMetadataWriteAccess = disableKeyBasedMetadataWriteAccess; + DisableLocalAuth = disableLocalAuth; + DocumentEndpoint = documentEndpoint; + EnableAnalyticalStorage = enableAnalyticalStorage; + EnableAutomaticFailover = enableAutomaticFailover; + EnableBurstCapacity = enableBurstCapacity; + EnableCassandraConnector = enableCassandraConnector; + EnableFreeTier = enableFreeTier; + EnableMaterializedViews = enableMaterializedViews; + EnableMultipleWriteLocations = enableMultipleWriteLocations; + EnablePartitionMerge = enablePartitionMerge; + EnablePriorityBasedExecution = enablePriorityBasedExecution; + FailoverPolicies = failoverPolicies; + Id = id; + Identity = identity; + InstanceId = instanceId; + IpRules = ipRules; + IsVirtualNetworkFilterEnabled = isVirtualNetworkFilterEnabled; + KeyVaultKeyUri = keyVaultKeyUri; + KeysMetadata = keysMetadata; + Kind = kind; + Location = location; + Locations = locations; + MinimalTlsVersion = minimalTlsVersion; + Name = name; + NetworkAclBypass = networkAclBypass; + NetworkAclBypassResourceIds = networkAclBypassResourceIds; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + ReadLocations = readLocations; + RestoreParameters = restoreParameters; + SystemData = systemData; + Tags = tags; + Type = type; + VirtualNetworkRules = virtualNetworkRules; + WriteLocations = writeLocations; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetGraphResourceGraph.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetGraphResourceGraph.cs new file mode 100644 index 000000000000..45215700e07c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetGraphResourceGraph.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetGraphResourceGraph + { + /// + /// Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetGraphResourceGraphArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getGraphResourceGraph", args ?? new GetGraphResourceGraphArgs(), options.WithDefaults()); + + /// + /// Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetGraphResourceGraphInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getGraphResourceGraph", args ?? new GetGraphResourceGraphInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGraphResourceGraphArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB graph resource name. + /// + [Input("graphName", required: true)] + public string GraphName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGraphResourceGraphArgs() + { + } + public static new GetGraphResourceGraphArgs Empty => new GetGraphResourceGraphArgs(); + } + + public sealed class GetGraphResourceGraphInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB graph resource name. + /// + [Input("graphName", required: true)] + public Input GraphName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGraphResourceGraphInvokeArgs() + { + } + public static new GetGraphResourceGraphInvokeArgs Empty => new GetGraphResourceGraphInvokeArgs(); + } + + + [OutputType] + public sealed class GetGraphResourceGraphResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.GraphResourceGetPropertiesResponseOptions? Options; + public readonly Outputs.GraphResourceGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetGraphResourceGraphResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.GraphResourceGetPropertiesResponseOptions? options, + + Outputs.GraphResourceGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetGremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetGremlinResourceGremlinDatabase.cs new file mode 100644 index 000000000000..52a745a38d69 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetGremlinResourceGremlinDatabase.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetGremlinResourceGremlinDatabase + { + /// + /// Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetGremlinResourceGremlinDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getGremlinResourceGremlinDatabase", args ?? new GetGremlinResourceGremlinDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetGremlinResourceGremlinDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getGremlinResourceGremlinDatabase", args ?? new GetGremlinResourceGremlinDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGremlinResourceGremlinDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinDatabaseArgs() + { + } + public static new GetGremlinResourceGremlinDatabaseArgs Empty => new GetGremlinResourceGremlinDatabaseArgs(); + } + + public sealed class GetGremlinResourceGremlinDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinDatabaseInvokeArgs() + { + } + public static new GetGremlinResourceGremlinDatabaseInvokeArgs Empty => new GetGremlinResourceGremlinDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetGremlinResourceGremlinDatabaseResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.GremlinDatabaseGetPropertiesResponseOptions? Options; + public readonly Outputs.GremlinDatabaseGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetGremlinResourceGremlinDatabaseResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.GremlinDatabaseGetPropertiesResponseOptions? options, + + Outputs.GremlinDatabaseGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetGremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetGremlinResourceGremlinGraph.cs new file mode 100644 index 000000000000..beade07c49de --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetGremlinResourceGremlinGraph.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetGremlinResourceGremlinGraph + { + /// + /// Gets the Gremlin graph under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetGremlinResourceGremlinGraphArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getGremlinResourceGremlinGraph", args ?? new GetGremlinResourceGremlinGraphArgs(), options.WithDefaults()); + + /// + /// Gets the Gremlin graph under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetGremlinResourceGremlinGraphInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getGremlinResourceGremlinGraph", args ?? new GetGremlinResourceGremlinGraphInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGremlinResourceGremlinGraphArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// Cosmos DB graph name. + /// + [Input("graphName", required: true)] + public string GraphName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinGraphArgs() + { + } + public static new GetGremlinResourceGremlinGraphArgs Empty => new GetGremlinResourceGremlinGraphArgs(); + } + + public sealed class GetGremlinResourceGremlinGraphInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Cosmos DB graph name. + /// + [Input("graphName", required: true)] + public Input GraphName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGremlinResourceGremlinGraphInvokeArgs() + { + } + public static new GetGremlinResourceGremlinGraphInvokeArgs Empty => new GetGremlinResourceGremlinGraphInvokeArgs(); + } + + + [OutputType] + public sealed class GetGremlinResourceGremlinGraphResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.GremlinGraphGetPropertiesResponseOptions? Options; + public readonly Outputs.GremlinGraphGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetGremlinResourceGremlinGraphResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.GremlinGraphGetPropertiesResponseOptions? options, + + Outputs.GremlinGraphGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoCluster.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoCluster.cs new file mode 100644 index 000000000000..9f809b1aae81 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoCluster.cs @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetMongoCluster + { + /// + /// Gets information about a mongo cluster. + /// + public static Task InvokeAsync(GetMongoClusterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getMongoCluster", args ?? new GetMongoClusterArgs(), options.WithDefaults()); + + /// + /// Gets information about a mongo cluster. + /// + public static Output Invoke(GetMongoClusterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getMongoCluster", args ?? new GetMongoClusterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public string MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoClusterArgs() + { + } + public static new GetMongoClusterArgs Empty => new GetMongoClusterArgs(); + } + + public sealed class GetMongoClusterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public Input MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoClusterInvokeArgs() + { + } + public static new GetMongoClusterInvokeArgs Empty => new GetMongoClusterInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoClusterResult + { + /// + /// The administrator's login for the mongo cluster. + /// + public readonly string? AdministratorLogin; + /// + /// A status of the mongo cluster. + /// + public readonly string ClusterStatus; + /// + /// The default mongo connection string for the cluster. + /// + public readonly string ConnectionString; + /// + /// Earliest restore timestamp in UTC ISO8601 format. + /// + public readonly string EarliestRestoreTime; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The list of node group specs in the cluster. + /// + public readonly ImmutableArray NodeGroupSpecs; + /// + /// A provisioning state of the mongo cluster. + /// + public readonly string ProvisioningState; + /// + /// The Mongo DB server version. Defaults to the latest available version if not specified. + /// + public readonly string? ServerVersion; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoClusterResult( + string? administratorLogin, + + string clusterStatus, + + string connectionString, + + string earliestRestoreTime, + + string id, + + string location, + + string name, + + ImmutableArray nodeGroupSpecs, + + string provisioningState, + + string? serverVersion, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + AdministratorLogin = administratorLogin; + ClusterStatus = clusterStatus; + ConnectionString = connectionString; + EarliestRestoreTime = earliestRestoreTime; + Id = id; + Location = location; + Name = name; + NodeGroupSpecs = nodeGroupSpecs; + ProvisioningState = provisioningState; + ServerVersion = serverVersion; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoClusterFirewallRule.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoClusterFirewallRule.cs new file mode 100644 index 000000000000..25d674ab4c25 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoClusterFirewallRule.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetMongoClusterFirewallRule + { + /// + /// Gets information about a mongo cluster firewall rule. + /// + public static Task InvokeAsync(GetMongoClusterFirewallRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getMongoClusterFirewallRule", args ?? new GetMongoClusterFirewallRuleArgs(), options.WithDefaults()); + + /// + /// Gets information about a mongo cluster firewall rule. + /// + public static Output Invoke(GetMongoClusterFirewallRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getMongoClusterFirewallRule", args ?? new GetMongoClusterFirewallRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoClusterFirewallRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the mongo cluster firewall rule. + /// + [Input("firewallRuleName", required: true)] + public string FirewallRuleName { get; set; } = null!; + + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public string MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoClusterFirewallRuleArgs() + { + } + public static new GetMongoClusterFirewallRuleArgs Empty => new GetMongoClusterFirewallRuleArgs(); + } + + public sealed class GetMongoClusterFirewallRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the mongo cluster firewall rule. + /// + [Input("firewallRuleName", required: true)] + public Input FirewallRuleName { get; set; } = null!; + + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public Input MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoClusterFirewallRuleInvokeArgs() + { + } + public static new GetMongoClusterFirewallRuleInvokeArgs Empty => new GetMongoClusterFirewallRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoClusterFirewallRuleResult + { + /// + /// The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + /// + public readonly string EndIpAddress; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioning state of the firewall rule. + /// + public readonly string ProvisioningState; + /// + /// The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + /// + public readonly string StartIpAddress; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoClusterFirewallRuleResult( + string endIpAddress, + + string id, + + string name, + + string provisioningState, + + string startIpAddress, + + Outputs.SystemDataResponse systemData, + + string type) + { + EndIpAddress = endIpAddress; + Id = id; + Name = name; + ProvisioningState = provisioningState; + StartIpAddress = startIpAddress; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoDBCollection.cs new file mode 100644 index 000000000000..a97a6d179442 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoDBCollection.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetMongoDBResourceMongoDBCollection + { + /// + /// Gets the MongoDB collection under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoDBCollectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBCollection", args ?? new GetMongoDBResourceMongoDBCollectionArgs(), options.WithDefaults()); + + /// + /// Gets the MongoDB collection under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetMongoDBResourceMongoDBCollectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBCollection", args ?? new GetMongoDBResourceMongoDBCollectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoDBCollectionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB collection name. + /// + [Input("collectionName", required: true)] + public string CollectionName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBCollectionArgs() + { + } + public static new GetMongoDBResourceMongoDBCollectionArgs Empty => new GetMongoDBResourceMongoDBCollectionArgs(); + } + + public sealed class GetMongoDBResourceMongoDBCollectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB collection name. + /// + [Input("collectionName", required: true)] + public Input CollectionName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBCollectionInvokeArgs() + { + } + public static new GetMongoDBResourceMongoDBCollectionInvokeArgs Empty => new GetMongoDBResourceMongoDBCollectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoDBCollectionResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.MongoDBCollectionGetPropertiesResponseOptions? Options; + public readonly Outputs.MongoDBCollectionGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoDBResourceMongoDBCollectionResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.MongoDBCollectionGetPropertiesResponseOptions? options, + + Outputs.MongoDBCollectionGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoDBDatabase.cs new file mode 100644 index 000000000000..ccb8d1263747 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoDBDatabase.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetMongoDBResourceMongoDBDatabase + { + /// + /// Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoDBDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBDatabase", args ?? new GetMongoDBResourceMongoDBDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetMongoDBResourceMongoDBDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBDatabase", args ?? new GetMongoDBResourceMongoDBDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoDBDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBDatabaseArgs() + { + } + public static new GetMongoDBResourceMongoDBDatabaseArgs Empty => new GetMongoDBResourceMongoDBDatabaseArgs(); + } + + public sealed class GetMongoDBResourceMongoDBDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoDBDatabaseInvokeArgs() + { + } + public static new GetMongoDBResourceMongoDBDatabaseInvokeArgs Empty => new GetMongoDBResourceMongoDBDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoDBDatabaseResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.MongoDBDatabaseGetPropertiesResponseOptions? Options; + public readonly Outputs.MongoDBDatabaseGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoDBResourceMongoDBDatabaseResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.MongoDBDatabaseGetPropertiesResponseOptions? options, + + Outputs.MongoDBDatabaseGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoRoleDefinition.cs new file mode 100644 index 000000000000..354bf82db8d8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoRoleDefinition.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetMongoDBResourceMongoRoleDefinition + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoRoleDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoRoleDefinition", args ?? new GetMongoDBResourceMongoRoleDefinitionArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + /// + public static Output Invoke(GetMongoDBResourceMongoRoleDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoRoleDefinition", args ?? new GetMongoDBResourceMongoRoleDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoRoleDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The ID for the Role Definition {dbName.roleName}. + /// + [Input("mongoRoleDefinitionId", required: true)] + public string MongoRoleDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoRoleDefinitionArgs() + { + } + public static new GetMongoDBResourceMongoRoleDefinitionArgs Empty => new GetMongoDBResourceMongoRoleDefinitionArgs(); + } + + public sealed class GetMongoDBResourceMongoRoleDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The ID for the Role Definition {dbName.roleName}. + /// + [Input("mongoRoleDefinitionId", required: true)] + public Input MongoRoleDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoRoleDefinitionInvokeArgs() + { + } + public static new GetMongoDBResourceMongoRoleDefinitionInvokeArgs Empty => new GetMongoDBResourceMongoRoleDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoRoleDefinitionResult + { + /// + /// The database name for which access is being granted for this Role Definition. + /// + public readonly string? DatabaseName; + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + /// + public readonly ImmutableArray Privileges; + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + public readonly string? RoleName; + /// + /// The set of roles inherited by this Role Definition. + /// + public readonly ImmutableArray Roles; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetMongoDBResourceMongoRoleDefinitionResult( + string? databaseName, + + string id, + + string name, + + ImmutableArray privileges, + + string? roleName, + + ImmutableArray roles, + + string type) + { + DatabaseName = databaseName; + Id = id; + Name = name; + Privileges = privileges; + RoleName = roleName; + Roles = roles; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoUserDefinition.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoUserDefinition.cs new file mode 100644 index 000000000000..6e1fa2f0ad62 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetMongoDBResourceMongoUserDefinition.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetMongoDBResourceMongoUserDefinition + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + /// + public static Task InvokeAsync(GetMongoDBResourceMongoUserDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoUserDefinition", args ?? new GetMongoDBResourceMongoUserDefinitionArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + /// + public static Output Invoke(GetMongoDBResourceMongoUserDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoUserDefinition", args ?? new GetMongoDBResourceMongoUserDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMongoDBResourceMongoUserDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The ID for the User Definition {dbName.userName}. + /// + [Input("mongoUserDefinitionId", required: true)] + public string MongoUserDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoUserDefinitionArgs() + { + } + public static new GetMongoDBResourceMongoUserDefinitionArgs Empty => new GetMongoDBResourceMongoUserDefinitionArgs(); + } + + public sealed class GetMongoDBResourceMongoUserDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The ID for the User Definition {dbName.userName}. + /// + [Input("mongoUserDefinitionId", required: true)] + public Input MongoUserDefinitionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMongoDBResourceMongoUserDefinitionInvokeArgs() + { + } + public static new GetMongoDBResourceMongoUserDefinitionInvokeArgs Empty => new GetMongoDBResourceMongoUserDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMongoDBResourceMongoUserDefinitionResult + { + /// + /// A custom definition for the USer Definition. + /// + public readonly string? CustomData; + /// + /// The database name for which access is being granted for this User Definition. + /// + public readonly string? DatabaseName; + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + /// + public readonly string? Mechanisms; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// The password for User Definition. Response does not contain user password. + /// + public readonly string? Password; + /// + /// The set of roles inherited by the User Definition. + /// + public readonly ImmutableArray Roles; + /// + /// The type of Azure resource. + /// + public readonly string Type; + /// + /// The user name for User Definition. + /// + public readonly string? UserName; + + [OutputConstructor] + private GetMongoDBResourceMongoUserDefinitionResult( + string? customData, + + string? databaseName, + + string id, + + string? mechanisms, + + string name, + + string? password, + + ImmutableArray roles, + + string type, + + string? userName) + { + CustomData = customData; + DatabaseName = databaseName; + Id = id; + Mechanisms = mechanisms; + Name = name; + Password = password; + Roles = roles; + Type = type; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetNotebookWorkspace.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetNotebookWorkspace.cs new file mode 100644 index 000000000000..d593ab6c6e49 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetNotebookWorkspace.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetNotebookWorkspace + { + /// + /// Gets the notebook workspace for a Cosmos DB account. + /// + public static Task InvokeAsync(GetNotebookWorkspaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getNotebookWorkspace", args ?? new GetNotebookWorkspaceArgs(), options.WithDefaults()); + + /// + /// Gets the notebook workspace for a Cosmos DB account. + /// + public static Output Invoke(GetNotebookWorkspaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getNotebookWorkspace", args ?? new GetNotebookWorkspaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNotebookWorkspaceArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public string NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetNotebookWorkspaceArgs() + { + } + public static new GetNotebookWorkspaceArgs Empty => new GetNotebookWorkspaceArgs(); + } + + public sealed class GetNotebookWorkspaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public Input NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetNotebookWorkspaceInvokeArgs() + { + } + public static new GetNotebookWorkspaceInvokeArgs Empty => new GetNotebookWorkspaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetNotebookWorkspaceResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// Specifies the endpoint of Notebook server. + /// + public readonly string NotebookServerEndpoint; + /// + /// Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + /// + public readonly string Status; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetNotebookWorkspaceResult( + string id, + + string name, + + string notebookServerEndpoint, + + string status, + + string type) + { + Id = id; + Name = name; + NotebookServerEndpoint = notebookServerEndpoint; + Status = status; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetPrivateEndpointConnection.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..dd993b4bd09d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetPrivateEndpointConnection.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetPrivateEndpointConnection + { + /// + /// Gets a private endpoint connection. + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); + + /// + /// Gets a private endpoint connection. + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + public static new GetPrivateEndpointConnectionArgs Empty => new GetPrivateEndpointConnectionArgs(); + } + + public sealed class GetPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionInvokeArgs Empty => new GetPrivateEndpointConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// Group id of the private endpoint. + /// + public readonly string? GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private endpoint which the connection belongs to. + /// + public readonly Outputs.PrivateEndpointPropertyResponse? PrivateEndpoint; + /// + /// Connection State of the Private Endpoint Connection. + /// + public readonly Outputs.PrivateLinkServiceConnectionStatePropertyResponse? PrivateLinkServiceConnectionState; + /// + /// Provisioning state of the private endpoint. + /// + public readonly string? ProvisioningState; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + string? groupId, + + string id, + + string name, + + Outputs.PrivateEndpointPropertyResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStatePropertyResponse? privateLinkServiceConnectionState, + + string? provisioningState, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetService.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetService.cs new file mode 100644 index 000000000000..6bf7fd91dfd3 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetService.cs @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetService + { + /// + /// Gets the status of service. + /// + public static Task InvokeAsync(GetServiceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getService", args ?? new GetServiceArgs(), options.WithDefaults()); + + /// + /// Gets the status of service. + /// + public static Output Invoke(GetServiceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getService", args ?? new GetServiceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB service name. + /// + [Input("serviceName", required: true)] + public string ServiceName { get; set; } = null!; + + public GetServiceArgs() + { + } + public static new GetServiceArgs Empty => new GetServiceArgs(); + } + + public sealed class GetServiceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB service name. + /// + [Input("serviceName", required: true)] + public Input ServiceName { get; set; } = null!; + + public GetServiceInvokeArgs() + { + } + public static new GetServiceInvokeArgs Empty => new GetServiceInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// Services response resource. + /// + public readonly object Properties; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetServiceResult( + string id, + + string name, + + object properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlContainer.cs new file mode 100644 index 000000000000..3b7486ce3361 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlContainer.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlContainer + { + /// + /// Gets the SQL container under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlContainerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlContainer", args ?? new GetSqlResourceSqlContainerArgs(), options.WithDefaults()); + + /// + /// Gets the SQL container under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlContainerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlContainer", args ?? new GetSqlResourceSqlContainerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlContainerArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlContainerArgs() + { + } + public static new GetSqlResourceSqlContainerArgs Empty => new GetSqlResourceSqlContainerArgs(); + } + + public sealed class GetSqlResourceSqlContainerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlContainerInvokeArgs() + { + } + public static new GetSqlResourceSqlContainerInvokeArgs Empty => new GetSqlResourceSqlContainerInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlContainerResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlContainerGetPropertiesResponseOptions? Options; + public readonly Outputs.SqlContainerGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlContainerResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.SqlContainerGetPropertiesResponseOptions? options, + + Outputs.SqlContainerGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlDatabase.cs new file mode 100644 index 000000000000..ab1e3c499d6c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlDatabase.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlDatabase + { + /// + /// Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetSqlResourceSqlDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlDatabase", args ?? new GetSqlResourceSqlDatabaseArgs(), options.WithDefaults()); + + /// + /// Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetSqlResourceSqlDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlDatabase", args ?? new GetSqlResourceSqlDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlDatabaseArgs() + { + } + public static new GetSqlResourceSqlDatabaseArgs Empty => new GetSqlResourceSqlDatabaseArgs(); + } + + public sealed class GetSqlResourceSqlDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetSqlResourceSqlDatabaseInvokeArgs() + { + } + public static new GetSqlResourceSqlDatabaseInvokeArgs Empty => new GetSqlResourceSqlDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlDatabaseResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlDatabaseGetPropertiesResponseOptions? Options; + public readonly Outputs.SqlDatabaseGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlDatabaseResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.SqlDatabaseGetPropertiesResponseOptions? options, + + Outputs.SqlDatabaseGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlRoleAssignment.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlRoleAssignment.cs new file mode 100644 index 000000000000..c3e3d7c95558 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlRoleAssignment.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlRoleAssignment + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + /// + public static Task InvokeAsync(GetSqlResourceSqlRoleAssignmentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleAssignment", args ?? new GetSqlResourceSqlRoleAssignmentArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + /// + public static Output Invoke(GetSqlResourceSqlRoleAssignmentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleAssignment", args ?? new GetSqlResourceSqlRoleAssignmentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlRoleAssignmentArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Assignment. + /// + [Input("roleAssignmentId", required: true)] + public string RoleAssignmentId { get; set; } = null!; + + public GetSqlResourceSqlRoleAssignmentArgs() + { + } + public static new GetSqlResourceSqlRoleAssignmentArgs Empty => new GetSqlResourceSqlRoleAssignmentArgs(); + } + + public sealed class GetSqlResourceSqlRoleAssignmentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Assignment. + /// + [Input("roleAssignmentId", required: true)] + public Input RoleAssignmentId { get; set; } = null!; + + public GetSqlResourceSqlRoleAssignmentInvokeArgs() + { + } + public static new GetSqlResourceSqlRoleAssignmentInvokeArgs Empty => new GetSqlResourceSqlRoleAssignmentInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlRoleAssignmentResult + { + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + /// + public readonly string? PrincipalId; + /// + /// The unique identifier for the associated Role Definition. + /// + public readonly string? RoleDefinitionId; + /// + /// The data plane resource path for which access is being granted through this Role Assignment. + /// + public readonly string? Scope; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlRoleAssignmentResult( + string id, + + string name, + + string? principalId, + + string? roleDefinitionId, + + string? scope, + + string type) + { + Id = id; + Name = name; + PrincipalId = principalId; + RoleDefinitionId = roleDefinitionId; + Scope = scope; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlRoleDefinition.cs new file mode 100644 index 000000000000..838ed5bc7aff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlRoleDefinition.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlRoleDefinition + { + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + /// + public static Task InvokeAsync(GetSqlResourceSqlRoleDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleDefinition", args ?? new GetSqlResourceSqlRoleDefinitionArgs(), options.WithDefaults()); + + /// + /// Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + /// + public static Output Invoke(GetSqlResourceSqlRoleDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleDefinition", args ?? new GetSqlResourceSqlRoleDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlRoleDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Definition. + /// + [Input("roleDefinitionId", required: true)] + public string RoleDefinitionId { get; set; } = null!; + + public GetSqlResourceSqlRoleDefinitionArgs() + { + } + public static new GetSqlResourceSqlRoleDefinitionArgs Empty => new GetSqlResourceSqlRoleDefinitionArgs(); + } + + public sealed class GetSqlResourceSqlRoleDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Definition. + /// + [Input("roleDefinitionId", required: true)] + public Input RoleDefinitionId { get; set; } = null!; + + public GetSqlResourceSqlRoleDefinitionInvokeArgs() + { + } + public static new GetSqlResourceSqlRoleDefinitionInvokeArgs Empty => new GetSqlResourceSqlRoleDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlRoleDefinitionResult + { + /// + /// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + /// + public readonly ImmutableArray AssignableScopes; + /// + /// The unique resource identifier of the database account. + /// + public readonly string Id; + /// + /// The name of the database account. + /// + public readonly string Name; + /// + /// The set of operations allowed through this Role Definition. + /// + public readonly ImmutableArray Permissions; + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + public readonly string? RoleName; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlRoleDefinitionResult( + ImmutableArray assignableScopes, + + string id, + + string name, + + ImmutableArray permissions, + + string? roleName, + + string type) + { + AssignableScopes = assignableScopes; + Id = id; + Name = name; + Permissions = permissions; + RoleName = roleName; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlStoredProcedure.cs new file mode 100644 index 000000000000..a9d3efc4a7bf --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlStoredProcedure.cs @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlStoredProcedure + { + /// + /// Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlStoredProcedureArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlStoredProcedure", args ?? new GetSqlResourceSqlStoredProcedureArgs(), options.WithDefaults()); + + /// + /// Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlStoredProcedureInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlStoredProcedure", args ?? new GetSqlResourceSqlStoredProcedureInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlStoredProcedureArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB storedProcedure name. + /// + [Input("storedProcedureName", required: true)] + public string StoredProcedureName { get; set; } = null!; + + public GetSqlResourceSqlStoredProcedureArgs() + { + } + public static new GetSqlResourceSqlStoredProcedureArgs Empty => new GetSqlResourceSqlStoredProcedureArgs(); + } + + public sealed class GetSqlResourceSqlStoredProcedureInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB storedProcedure name. + /// + [Input("storedProcedureName", required: true)] + public Input StoredProcedureName { get; set; } = null!; + + public GetSqlResourceSqlStoredProcedureInvokeArgs() + { + } + public static new GetSqlResourceSqlStoredProcedureInvokeArgs Empty => new GetSqlResourceSqlStoredProcedureInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlStoredProcedureResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlStoredProcedureGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlStoredProcedureResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.SqlStoredProcedureGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlTrigger.cs new file mode 100644 index 000000000000..da2e333cb4ca --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlTrigger.cs @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlTrigger + { + /// + /// Gets the SQL trigger under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlTriggerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlTrigger", args ?? new GetSqlResourceSqlTriggerArgs(), options.WithDefaults()); + + /// + /// Gets the SQL trigger under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlTriggerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlTrigger", args ?? new GetSqlResourceSqlTriggerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlTriggerArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB trigger name. + /// + [Input("triggerName", required: true)] + public string TriggerName { get; set; } = null!; + + public GetSqlResourceSqlTriggerArgs() + { + } + public static new GetSqlResourceSqlTriggerArgs Empty => new GetSqlResourceSqlTriggerArgs(); + } + + public sealed class GetSqlResourceSqlTriggerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB trigger name. + /// + [Input("triggerName", required: true)] + public Input TriggerName { get; set; } = null!; + + public GetSqlResourceSqlTriggerInvokeArgs() + { + } + public static new GetSqlResourceSqlTriggerInvokeArgs Empty => new GetSqlResourceSqlTriggerInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlTriggerResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlTriggerGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlTriggerResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.SqlTriggerGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlUserDefinedFunction.cs new file mode 100644 index 000000000000..04d9ff7ded9c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetSqlResourceSqlUserDefinedFunction.cs @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetSqlResourceSqlUserDefinedFunction + { + /// + /// Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + /// + public static Task InvokeAsync(GetSqlResourceSqlUserDefinedFunctionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getSqlResourceSqlUserDefinedFunction", args ?? new GetSqlResourceSqlUserDefinedFunctionArgs(), options.WithDefaults()); + + /// + /// Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + /// + public static Output Invoke(GetSqlResourceSqlUserDefinedFunctionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlUserDefinedFunction", args ?? new GetSqlResourceSqlUserDefinedFunctionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSqlResourceSqlUserDefinedFunctionArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public string ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB userDefinedFunction name. + /// + [Input("userDefinedFunctionName", required: true)] + public string UserDefinedFunctionName { get; set; } = null!; + + public GetSqlResourceSqlUserDefinedFunctionArgs() + { + } + public static new GetSqlResourceSqlUserDefinedFunctionArgs Empty => new GetSqlResourceSqlUserDefinedFunctionArgs(); + } + + public sealed class GetSqlResourceSqlUserDefinedFunctionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB userDefinedFunction name. + /// + [Input("userDefinedFunctionName", required: true)] + public Input UserDefinedFunctionName { get; set; } = null!; + + public GetSqlResourceSqlUserDefinedFunctionInvokeArgs() + { + } + public static new GetSqlResourceSqlUserDefinedFunctionInvokeArgs Empty => new GetSqlResourceSqlUserDefinedFunctionInvokeArgs(); + } + + + [OutputType] + public sealed class GetSqlResourceSqlUserDefinedFunctionResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.SqlUserDefinedFunctionGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetSqlResourceSqlUserDefinedFunctionResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.SqlUserDefinedFunctionGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GetTableResourceTable.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GetTableResourceTable.cs new file mode 100644 index 000000000000..a5b0917f1c94 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GetTableResourceTable.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class GetTableResourceTable + { + /// + /// Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + /// + public static Task InvokeAsync(GetTableResourceTableArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:getTableResourceTable", args ?? new GetTableResourceTableArgs(), options.WithDefaults()); + + /// + /// Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + /// + public static Output Invoke(GetTableResourceTableInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:getTableResourceTable", args ?? new GetTableResourceTableInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetTableResourceTableArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public string TableName { get; set; } = null!; + + public GetTableResourceTableArgs() + { + } + public static new GetTableResourceTableArgs Empty => new GetTableResourceTableArgs(); + } + + public sealed class GetTableResourceTableInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public GetTableResourceTableInvokeArgs() + { + } + public static new GetTableResourceTableInvokeArgs Empty => new GetTableResourceTableInvokeArgs(); + } + + + [OutputType] + public sealed class GetTableResourceTableResult + { + /// + /// The unique resource identifier of the ARM resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The location of the resource group to which the resource belongs. + /// + public readonly string? Location; + /// + /// The name of the ARM resource. + /// + public readonly string Name; + public readonly Outputs.TableGetPropertiesResponseOptions? Options; + public readonly Outputs.TableGetPropertiesResponseResource? Resource; + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of Azure resource. + /// + public readonly string Type; + + [OutputConstructor] + private GetTableResourceTableResult( + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string? location, + + string name, + + Outputs.TableGetPropertiesResponseOptions? options, + + Outputs.TableGetPropertiesResponseResource? resource, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Identity = identity; + Location = location; + Name = name; + Options = options; + Resource = resource; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GraphResourceGraph.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GraphResourceGraph.cs new file mode 100644 index 000000000000..0db684125067 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GraphResourceGraph.cs @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Graph resource. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:GraphResourceGraph")] + public partial class GraphResourceGraph : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GraphResourceGraph 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 GraphResourceGraph(string name, GraphResourceGraphArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:GraphResourceGraph", name, args ?? new GraphResourceGraphArgs(), MakeResourceOptions(options, "")) + { + } + + private GraphResourceGraph(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:GraphResourceGraph", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GraphResourceGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GraphResourceGraph"}, + }, + }; + 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 GraphResourceGraph 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. + /// A bag of options that control this resource's behavior + public static GraphResourceGraph Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GraphResourceGraph(name, id, options); + } + } + + public sealed class GraphResourceGraphArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB graph resource name. + /// + [Input("graphName")] + public Input? GraphName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Graph resource + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GraphResourceGraphArgs() + { + } + public static new GraphResourceGraphArgs Empty => new GraphResourceGraphArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GremlinResourceGremlinDatabase.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GremlinResourceGremlinDatabase.cs new file mode 100644 index 000000000000..12d93c9dc4ce --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GremlinResourceGremlinDatabase.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Gremlin database. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase")] + public partial class GremlinResourceGremlinDatabase : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GremlinResourceGremlinDatabase 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 GremlinResourceGremlinDatabase(string name, GremlinResourceGremlinDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase", name, args ?? new GremlinResourceGremlinDatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private GremlinResourceGremlinDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"}, + }, + }; + 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 GremlinResourceGremlinDatabase 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. + /// A bag of options that control this resource's behavior + public static GremlinResourceGremlinDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GremlinResourceGremlinDatabase(name, id, options); + } + } + + public sealed class GremlinResourceGremlinDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Gremlin database + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GremlinResourceGremlinDatabaseArgs() + { + } + public static new GremlinResourceGremlinDatabaseArgs Empty => new GremlinResourceGremlinDatabaseArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/GremlinResourceGremlinGraph.cs b/sdk/dotnet/DocumentDB/V20230915Preview/GremlinResourceGremlinGraph.cs new file mode 100644 index 000000000000..725fc43d63dc --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/GremlinResourceGremlinGraph.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Gremlin graph. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph")] + public partial class GremlinResourceGremlinGraph : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GremlinResourceGremlinGraph 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 GremlinResourceGremlinGraph(string name, GremlinResourceGremlinGraphArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph", name, args ?? new GremlinResourceGremlinGraphArgs(), MakeResourceOptions(options, "")) + { + } + + private GremlinResourceGremlinGraph(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"}, + }, + }; + 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 GremlinResourceGremlinGraph 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. + /// A bag of options that control this resource's behavior + public static GremlinResourceGremlinGraph Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GremlinResourceGremlinGraph(name, id, options); + } + } + + public sealed class GremlinResourceGremlinGraphArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Cosmos DB graph name. + /// + [Input("graphName")] + public Input? GraphName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Gremlin graph + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public GremlinResourceGremlinGraphArgs() + { + } + public static new GremlinResourceGremlinGraphArgs Empty => new GremlinResourceGremlinGraphArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AnalyticalStorageConfigurationArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AnalyticalStorageConfigurationArgs.cs new file mode 100644 index 000000000000..37a6d026a1ca --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AnalyticalStorageConfigurationArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Analytical storage specific properties. + /// + public sealed class AnalyticalStorageConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the types of schema for analytical storage. + /// + [Input("schemaType")] + public InputUnion? SchemaType { get; set; } + + public AnalyticalStorageConfigurationArgs() + { + } + public static new AnalyticalStorageConfigurationArgs Empty => new AnalyticalStorageConfigurationArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ApiPropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ApiPropertiesArgs.cs new file mode 100644 index 000000000000..a0270b55657b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ApiPropertiesArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class ApiPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the ServerVersion of an a MongoDB account. + /// + [Input("serverVersion")] + public InputUnion? ServerVersion { get; set; } + + public ApiPropertiesArgs() + { + } + public static new ApiPropertiesArgs Empty => new ApiPropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AuthenticationMethodLdapPropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AuthenticationMethodLdapPropertiesArgs.cs new file mode 100644 index 000000000000..e0cd456eb9b4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AuthenticationMethodLdapPropertiesArgs.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Ldap authentication method properties. This feature is in preview. + /// + public sealed class AuthenticationMethodLdapPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + /// + [Input("connectionTimeoutInMs")] + public Input? ConnectionTimeoutInMs { get; set; } + + /// + /// Distinguished name of the object to start the recursive search of users from. + /// + [Input("searchBaseDistinguishedName")] + public Input? SearchBaseDistinguishedName { get; set; } + + /// + /// Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + /// + [Input("searchFilterTemplate")] + public Input? SearchFilterTemplate { get; set; } + + [Input("serverCertificates")] + private InputList? _serverCertificates; + public InputList ServerCertificates + { + get => _serverCertificates ?? (_serverCertificates = new InputList()); + set => _serverCertificates = value; + } + + /// + /// Hostname of the LDAP server. + /// + [Input("serverHostname")] + public Input? ServerHostname { get; set; } + + /// + /// Port of the LDAP server. + /// + [Input("serverPort")] + public Input? ServerPort { get; set; } + + /// + /// Distinguished name of the look up user account, who can look up user details on authentication. + /// + [Input("serviceUserDistinguishedName")] + public Input? ServiceUserDistinguishedName { get; set; } + + /// + /// Password of the look up user. + /// + [Input("serviceUserPassword")] + public Input? ServiceUserPassword { get; set; } + + public AuthenticationMethodLdapPropertiesArgs() + { + } + public static new AuthenticationMethodLdapPropertiesArgs Empty => new AuthenticationMethodLdapPropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AutoscaleSettingsArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AutoscaleSettingsArgs.cs new file mode 100644 index 000000000000..0827fd9ae632 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/AutoscaleSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class AutoscaleSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Represents maximum throughput, the resource can scale up to. + /// + [Input("maxThroughput")] + public Input? MaxThroughput { get; set; } + + public AutoscaleSettingsArgs() + { + } + public static new AutoscaleSettingsArgs Empty => new AutoscaleSettingsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/BackupPolicyMigrationStateArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/BackupPolicyMigrationStateArgs.cs new file mode 100644 index 000000000000..f6ae1ed15d90 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/BackupPolicyMigrationStateArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The object representing the state of the migration between the backup policies. + /// + public sealed class BackupPolicyMigrationStateArgs : global::Pulumi.ResourceArgs + { + /// + /// Time at which the backup policy migration started (ISO-8601 format). + /// + [Input("startTime")] + public Input? StartTime { get; set; } + + /// + /// Describes the status of migration between backup policy types. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + /// + /// Describes the target backup policy type of the backup policy migration. + /// + [Input("targetType")] + public InputUnion? TargetType { get; set; } + + public BackupPolicyMigrationStateArgs() + { + } + public static new BackupPolicyMigrationStateArgs Empty => new BackupPolicyMigrationStateArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/BackupScheduleArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/BackupScheduleArgs.cs new file mode 100644 index 000000000000..e3fc7b0012f4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/BackupScheduleArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class BackupScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// The cron expression that defines when you want to back up your data. + /// + [Input("cronExpression")] + public Input? CronExpression { get; set; } + + /// + /// The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + /// + [Input("retentionInHours")] + public Input? RetentionInHours { get; set; } + + /// + /// The unique identifier of backup schedule. + /// + [Input("scheduleName")] + public Input? ScheduleName { get; set; } + + public BackupScheduleArgs() + { + } + public static new BackupScheduleArgs Empty => new BackupScheduleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CapabilityArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CapabilityArgs.cs new file mode 100644 index 000000000000..690466f4bff0 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CapabilityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB capability object + /// + public sealed class CapabilityArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + /// + [Input("name")] + public Input? Name { get; set; } + + public CapabilityArgs() + { + } + public static new CapabilityArgs Empty => new CapabilityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CapacityArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CapacityArgs.cs new file mode 100644 index 000000000000..f51c7bfdbac4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CapacityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + public sealed class CapacityArgs : global::Pulumi.ResourceArgs + { + /// + /// The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + /// + [Input("totalThroughputLimit")] + public Input? TotalThroughputLimit { get; set; } + + public CapacityArgs() + { + } + public static new CapacityArgs Empty => new CapacityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraErrorArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraErrorArgs.cs new file mode 100644 index 000000000000..889e70db850d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraErrorArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class CassandraErrorArgs : global::Pulumi.ResourceArgs + { + /// + /// Additional information about the error. + /// + [Input("additionalErrorInfo")] + public Input? AdditionalErrorInfo { get; set; } + + /// + /// The code of error that occurred. + /// + [Input("code")] + public Input? Code { get; set; } + + /// + /// The message of the error. + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// The target resource of the error. + /// + [Input("target")] + public Input? Target { get; set; } + + public CassandraErrorArgs() + { + } + public static new CassandraErrorArgs Empty => new CassandraErrorArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraKeyspaceResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraKeyspaceResourceArgs.cs new file mode 100644 index 000000000000..9078c879b7a9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraKeyspaceResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra keyspace resource object + /// + public sealed class CassandraKeyspaceResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra keyspace + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public CassandraKeyspaceResourceArgs() + { + } + public static new CassandraKeyspaceResourceArgs Empty => new CassandraKeyspaceResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraPartitionKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraPartitionKeyArgs.cs new file mode 100644 index 000000000000..9f90a4d382b3 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraPartitionKeyArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra table partition key + /// + public sealed class CassandraPartitionKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra table partition key + /// + [Input("name")] + public Input? Name { get; set; } + + public CassandraPartitionKeyArgs() + { + } + public static new CassandraPartitionKeyArgs Empty => new CassandraPartitionKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraSchemaArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraSchemaArgs.cs new file mode 100644 index 000000000000..b95d579c8b11 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraSchemaArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra table schema + /// + public sealed class CassandraSchemaArgs : global::Pulumi.ResourceArgs + { + [Input("clusterKeys")] + private InputList? _clusterKeys; + + /// + /// List of cluster key. + /// + public InputList ClusterKeys + { + get => _clusterKeys ?? (_clusterKeys = new InputList()); + set => _clusterKeys = value; + } + + [Input("columns")] + private InputList? _columns; + + /// + /// List of Cassandra table columns. + /// + public InputList Columns + { + get => _columns ?? (_columns = new InputList()); + set => _columns = value; + } + + [Input("partitionKeys")] + private InputList? _partitionKeys; + + /// + /// List of partition key. + /// + public InputList PartitionKeys + { + get => _partitionKeys ?? (_partitionKeys = new InputList()); + set => _partitionKeys = value; + } + + public CassandraSchemaArgs() + { + } + public static new CassandraSchemaArgs Empty => new CassandraSchemaArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraTableResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraTableResourceArgs.cs new file mode 100644 index 000000000000..161e52db272d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraTableResourceArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra table resource object + /// + public sealed class CassandraTableResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// Time to live of the Cosmos DB Cassandra table + /// + [Input("defaultTtl")] + public Input? DefaultTtl { get; set; } + + /// + /// Name of the Cosmos DB Cassandra table + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Schema of the Cosmos DB Cassandra table + /// + [Input("schema")] + public Input? Schema { get; set; } + + public CassandraTableResourceArgs() + { + } + public static new CassandraTableResourceArgs Empty => new CassandraTableResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraViewResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraViewResourceArgs.cs new file mode 100644 index 000000000000..75132c1151d1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CassandraViewResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra view resource object + /// + public sealed class CassandraViewResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra view + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// View Definition of the Cosmos DB Cassandra view + /// + [Input("viewDefinition", required: true)] + public Input ViewDefinition { get; set; } = null!; + + public CassandraViewResourceArgs() + { + } + public static new CassandraViewResourceArgs Empty => new CassandraViewResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CertificateArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CertificateArgs.cs new file mode 100644 index 000000000000..90ed949b2cb8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CertificateArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class CertificateArgs : global::Pulumi.ResourceArgs + { + /// + /// PEM formatted public key. + /// + [Input("pem")] + public Input? Pem { get; set; } + + public CertificateArgs() + { + } + public static new CertificateArgs Empty => new CertificateArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClientEncryptionIncludedPathArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClientEncryptionIncludedPathArgs.cs new file mode 100644 index 000000000000..2c69651dc2db --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClientEncryptionIncludedPathArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// . + /// + public sealed class ClientEncryptionIncludedPathArgs : global::Pulumi.ResourceArgs + { + /// + /// The identifier of the Client Encryption Key to be used to encrypt the path. + /// + [Input("clientEncryptionKeyId", required: true)] + public Input ClientEncryptionKeyId { get; set; } = null!; + + /// + /// The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + /// + [Input("encryptionAlgorithm", required: true)] + public Input EncryptionAlgorithm { get; set; } = null!; + + /// + /// The type of encryption to be performed. Eg - Deterministic, Randomized. + /// + [Input("encryptionType", required: true)] + public Input EncryptionType { get; set; } = null!; + + /// + /// Path that needs to be encrypted. + /// + [Input("path", required: true)] + public Input Path { get; set; } = null!; + + public ClientEncryptionIncludedPathArgs() + { + } + public static new ClientEncryptionIncludedPathArgs Empty => new ClientEncryptionIncludedPathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClientEncryptionPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClientEncryptionPolicyArgs.cs new file mode 100644 index 000000000000..e4b2ef96f5a7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClientEncryptionPolicyArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB client encryption policy. + /// + public sealed class ClientEncryptionPolicyArgs : global::Pulumi.ResourceArgs + { + [Input("includedPaths", required: true)] + private InputList? _includedPaths; + + /// + /// Paths of the item that need encryption along with path-specific settings. + /// + public InputList IncludedPaths + { + get => _includedPaths ?? (_includedPaths = new InputList()); + set => _includedPaths = value; + } + + /// + /// Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + /// + [Input("policyFormatVersion", required: true)] + public Input PolicyFormatVersion { get; set; } = null!; + + public ClientEncryptionPolicyArgs() + { + } + public static new ClientEncryptionPolicyArgs Empty => new ClientEncryptionPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClusterKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClusterKeyArgs.cs new file mode 100644 index 000000000000..19f70b4b88b2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClusterKeyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra table cluster key + /// + public sealed class ClusterKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra table cluster key + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + /// + [Input("orderBy")] + public Input? OrderBy { get; set; } + + public ClusterKeyArgs() + { + } + public static new ClusterKeyArgs Empty => new ClusterKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClusterResourcePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClusterResourcePropertiesArgs.cs new file mode 100644 index 000000000000..d0f5277e1f74 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ClusterResourcePropertiesArgs.cs @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Properties of a managed Cassandra cluster. + /// + public sealed class ClusterResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + /// + [Input("authenticationMethod")] + public InputUnion? AuthenticationMethod { get; set; } + + [Input("backupSchedules")] + private InputList? _backupSchedules; + + /// + /// List of backup schedules that define when you want to back up your data. + /// + public InputList BackupSchedules + { + get => _backupSchedules ?? (_backupSchedules = new InputList()); + set => _backupSchedules = value; + } + + /// + /// Whether Cassandra audit logging is enabled + /// + [Input("cassandraAuditLoggingEnabled")] + public Input? CassandraAuditLoggingEnabled { get; set; } + + /// + /// Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + /// + [Input("cassandraVersion")] + public Input? CassandraVersion { get; set; } + + [Input("clientCertificates")] + private InputList? _clientCertificates; + + /// + /// List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + /// + public InputList ClientCertificates + { + get => _clientCertificates ?? (_clientCertificates = new InputList()); + set => _clientCertificates = value; + } + + /// + /// If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + /// + [Input("clusterNameOverride")] + public Input? ClusterNameOverride { get; set; } + + /// + /// Type of the cluster. If set to Production, some operations might not be permitted on cluster. + /// + [Input("clusterType")] + public InputUnion? ClusterType { get; set; } + + /// + /// Whether the cluster and associated data centers has been deallocated. + /// + [Input("deallocated")] + public Input? Deallocated { get; set; } + + /// + /// Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>' + /// + [Input("delegatedManagementSubnetId")] + public Input? DelegatedManagementSubnetId { get; set; } + + [Input("extensions")] + private InputList? _extensions; + + /// + /// Extensions to be added or updated on cluster. + /// + public InputList Extensions + { + get => _extensions ?? (_extensions = new InputList()); + set => _extensions = value; + } + + [Input("externalGossipCertificates")] + private InputList? _externalGossipCertificates; + + /// + /// List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + /// + public InputList ExternalGossipCertificates + { + get => _externalGossipCertificates ?? (_externalGossipCertificates = new InputList()); + set => _externalGossipCertificates = value; + } + + [Input("externalSeedNodes")] + private InputList? _externalSeedNodes; + + /// + /// List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + /// + public InputList ExternalSeedNodes + { + get => _externalSeedNodes ?? (_externalSeedNodes = new InputList()); + set => _externalSeedNodes = value; + } + + /// + /// (Deprecated) Number of hours to wait between taking a backup of the cluster. + /// + [Input("hoursBetweenBackups")] + public Input? HoursBetweenBackups { get; set; } + + /// + /// Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + /// + [Input("initialCassandraAdminPassword")] + public Input? InitialCassandraAdminPassword { get; set; } + + /// + /// Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + /// + [Input("prometheusEndpoint")] + public Input? PrometheusEndpoint { get; set; } + + /// + /// Error related to resource provisioning. + /// + [Input("provisionError")] + public Input? ProvisionError { get; set; } + + /// + /// The status of the resource at the time the operation was called. + /// + [Input("provisioningState")] + public InputUnion? ProvisioningState { get; set; } + + /// + /// Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + /// + [Input("repairEnabled")] + public Input? RepairEnabled { get; set; } + + /// + /// To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + /// + [Input("restoreFromBackupId")] + public Input? RestoreFromBackupId { get; set; } + + public ClusterResourcePropertiesArgs() + { + } + public static new ClusterResourcePropertiesArgs Empty => new ClusterResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ColumnArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ColumnArgs.cs new file mode 100644 index 000000000000..f0a29ec2493a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ColumnArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Cassandra table column + /// + public sealed class ColumnArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Cassandra table column + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Type of the Cosmos DB Cassandra table column + /// + [Input("type")] + public Input? Type { get; set; } + + public ColumnArgs() + { + } + public static new ColumnArgs Empty => new ColumnArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CompositePathArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CompositePathArgs.cs new file mode 100644 index 000000000000..b289115d89ff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CompositePathArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class CompositePathArgs : global::Pulumi.ResourceArgs + { + /// + /// Sort order for composite paths. + /// + [Input("order")] + public InputUnion? Order { get; set; } + + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + public CompositePathArgs() + { + } + public static new CompositePathArgs Empty => new CompositePathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ConflictResolutionPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ConflictResolutionPolicyArgs.cs new file mode 100644 index 000000000000..82207e98553f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ConflictResolutionPolicyArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The conflict resolution policy for the container. + /// + public sealed class ConflictResolutionPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The conflict resolution path in the case of LastWriterWins mode. + /// + [Input("conflictResolutionPath")] + public Input? ConflictResolutionPath { get; set; } + + /// + /// The procedure to resolve conflicts in the case of custom mode. + /// + [Input("conflictResolutionProcedure")] + public Input? ConflictResolutionProcedure { get; set; } + + /// + /// Indicates the conflict resolution mode. + /// + [Input("mode")] + public InputUnion? Mode { get; set; } + + public ConflictResolutionPolicyArgs() + { + Mode = "LastWriterWins"; + } + public static new ConflictResolutionPolicyArgs Empty => new ConflictResolutionPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ConsistencyPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ConsistencyPolicyArgs.cs new file mode 100644 index 000000000000..ee175ea7bfc9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ConsistencyPolicyArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The consistency policy for the Cosmos DB database account. + /// + public sealed class ConsistencyPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The default consistency level and configuration settings of the Cosmos DB account. + /// + [Input("defaultConsistencyLevel", required: true)] + public Input DefaultConsistencyLevel { get; set; } = null!; + + /// + /// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + [Input("maxIntervalInSeconds")] + public Input? MaxIntervalInSeconds { get; set; } + + /// + /// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + [Input("maxStalenessPrefix")] + public Input? MaxStalenessPrefix { get; set; } + + public ConsistencyPolicyArgs() + { + } + public static new ConsistencyPolicyArgs Empty => new ConsistencyPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContainerPartitionKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContainerPartitionKeyArgs.cs new file mode 100644 index 000000000000..4d04305a805b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContainerPartitionKeyArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + public sealed class ContainerPartitionKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + [Input("paths")] + private InputList? _paths; + + /// + /// List of paths using which data within the container can be partitioned + /// + public InputList Paths + { + get => _paths ?? (_paths = new InputList()); + set => _paths = value; + } + + /// + /// Indicates the version of the partition key definition + /// + [Input("version")] + public Input? Version { get; set; } + + public ContainerPartitionKeyArgs() + { + Kind = "Hash"; + } + public static new ContainerPartitionKeyArgs Empty => new ContainerPartitionKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContinuousModeBackupPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContinuousModeBackupPolicyArgs.cs new file mode 100644 index 000000000000..bf986a37587f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContinuousModeBackupPolicyArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The object representing continuous mode backup policy. + /// + public sealed class ContinuousModeBackupPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// Configuration values for continuous mode backup + /// + [Input("continuousModeProperties")] + public Input? ContinuousModeProperties { get; set; } + + /// + /// The object representing the state of the migration between the backup policies. + /// + [Input("migrationState")] + public Input? MigrationState { get; set; } + + /// + /// Describes the mode of backups. + /// Expected value is 'Continuous'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ContinuousModeBackupPolicyArgs() + { + } + public static new ContinuousModeBackupPolicyArgs Empty => new ContinuousModeBackupPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContinuousModePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContinuousModePropertiesArgs.cs new file mode 100644 index 000000000000..9439f7d99ab2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ContinuousModePropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Configuration values for periodic mode backup + /// + public sealed class ContinuousModePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Enum to indicate type of Continuos backup mode + /// + [Input("tier")] + public InputUnion? Tier { get; set; } + + public ContinuousModePropertiesArgs() + { + } + public static new ContinuousModePropertiesArgs Empty => new ContinuousModePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CorsPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CorsPolicyArgs.cs new file mode 100644 index 000000000000..3e6efe1872ff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CorsPolicyArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The CORS policy for the Cosmos DB database account. + /// + public sealed class CorsPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The request headers that the origin domain may specify on the CORS request. + /// + [Input("allowedHeaders")] + public Input? AllowedHeaders { get; set; } + + /// + /// The methods (HTTP request verbs) that the origin domain may use for a CORS request. + /// + [Input("allowedMethods")] + public Input? AllowedMethods { get; set; } + + /// + /// The origin domains that are permitted to make a request against the service via CORS. + /// + [Input("allowedOrigins", required: true)] + public Input AllowedOrigins { get; set; } = null!; + + /// + /// The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + /// + [Input("exposedHeaders")] + public Input? ExposedHeaders { get; set; } + + /// + /// The maximum amount time that a browser should cache the preflight OPTIONS request. + /// + [Input("maxAgeInSeconds")] + public Input? MaxAgeInSeconds { get; set; } + + public CorsPolicyArgs() + { + } + public static new CorsPolicyArgs Empty => new CorsPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CreateUpdateOptionsArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CreateUpdateOptionsArgs.cs new file mode 100644 index 000000000000..78708e2acc36 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/CreateUpdateOptionsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + /// + public sealed class CreateUpdateOptionsArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. + /// + [Input("autoscaleSettings")] + public Input? AutoscaleSettings { get; set; } + + /// + /// Request Units per second. For example, "throughput": 10000. + /// + [Input("throughput")] + public Input? Throughput { get; set; } + + public CreateUpdateOptionsArgs() + { + } + public static new CreateUpdateOptionsArgs Empty => new CreateUpdateOptionsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DataCenterResourcePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DataCenterResourcePropertiesArgs.cs new file mode 100644 index 000000000000..1c80fc8c3867 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DataCenterResourcePropertiesArgs.cs @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Properties of a managed Cassandra data center. + /// + public sealed class DataCenterResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Ldap authentication method properties. This feature is in preview. + /// + [Input("authenticationMethodLdapProperties")] + public Input? AuthenticationMethodLdapProperties { get; set; } + + /// + /// If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + /// + [Input("availabilityZone")] + public Input? AvailabilityZone { get; set; } + + /// + /// Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + /// + [Input("backupStorageCustomerKeyUri")] + public Input? BackupStorageCustomerKeyUri { get; set; } + + /// + /// A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + /// + [Input("base64EncodedCassandraYamlFragment")] + public Input? Base64EncodedCassandraYamlFragment { get; set; } + + /// + /// The region this data center should be created in. + /// + [Input("dataCenterLocation")] + public Input? DataCenterLocation { get; set; } + + /// + /// Whether the data center has been deallocated. + /// + [Input("deallocated")] + public Input? Deallocated { get; set; } + + /// + /// Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'. + /// + [Input("delegatedSubnetId")] + public Input? DelegatedSubnetId { get; set; } + + /// + /// Number of disks attached to each node. Default is 4. + /// + [Input("diskCapacity")] + public Input? DiskCapacity { get; set; } + + /// + /// Disk SKU used for data centers. Default value is P30. + /// + [Input("diskSku")] + public Input? DiskSku { get; set; } + + /// + /// Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + /// + [Input("managedDiskCustomerKeyUri")] + public Input? ManagedDiskCustomerKeyUri { get; set; } + + /// + /// The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + /// + [Input("nodeCount")] + public Input? NodeCount { get; set; } + + /// + /// Error related to resource provisioning. + /// + [Input("provisionError")] + public Input? ProvisionError { get; set; } + + /// + /// The status of the resource at the time the operation was called. + /// + [Input("provisioningState")] + public InputUnion? ProvisioningState { get; set; } + + /// + /// Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + /// + [Input("sku")] + public Input? Sku { get; set; } + + public DataCenterResourcePropertiesArgs() + { + } + public static new DataCenterResourcePropertiesArgs Empty => new DataCenterResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DatabaseRestoreResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DatabaseRestoreResourceArgs.cs new file mode 100644 index 000000000000..bd2038380786 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DatabaseRestoreResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Specific Databases to restore. + /// + public sealed class DatabaseRestoreResourceArgs : global::Pulumi.ResourceArgs + { + [Input("collectionNames")] + private InputList? _collectionNames; + + /// + /// The names of the collections available for restore. + /// + public InputList CollectionNames + { + get => _collectionNames ?? (_collectionNames = new InputList()); + set => _collectionNames = value; + } + + /// + /// The name of the database available for restore. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + public DatabaseRestoreResourceArgs() + { + } + public static new DatabaseRestoreResourceArgs Empty => new DatabaseRestoreResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DiagnosticLogSettingsArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DiagnosticLogSettingsArgs.cs new file mode 100644 index 000000000000..52684596aa08 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/DiagnosticLogSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Indicates what diagnostic log settings are to be enabled. + /// + public sealed class DiagnosticLogSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe the level of detail with which queries are to be logged. + /// + [Input("enableFullTextQuery")] + public Input? EnableFullTextQuery { get; set; } + + public DiagnosticLogSettingsArgs() + { + } + public static new DiagnosticLogSettingsArgs Empty => new DiagnosticLogSettingsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ExcludedPathArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ExcludedPathArgs.cs new file mode 100644 index 000000000000..ccdfad167dbf --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ExcludedPathArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class ExcludedPathArgs : global::Pulumi.ResourceArgs + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + public ExcludedPathArgs() + { + } + public static new ExcludedPathArgs Empty => new ExcludedPathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GraphResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GraphResourceArgs.cs new file mode 100644 index 000000000000..2c5c4015099c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GraphResourceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Graph resource object + /// + public sealed class GraphResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the Cosmos DB Graph + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GraphResourceArgs() + { + } + public static new GraphResourceArgs Empty => new GraphResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinDatabaseResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinDatabaseResourceArgs.cs new file mode 100644 index 000000000000..b8ea12ceda2c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinDatabaseResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Gremlin database resource object + /// + public sealed class GremlinDatabaseResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Name of the Cosmos DB Gremlin database + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + public GremlinDatabaseResourceArgs() + { + } + public static new GremlinDatabaseResourceArgs Empty => new GremlinDatabaseResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinDatabaseRestoreResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinDatabaseRestoreResourceArgs.cs new file mode 100644 index 000000000000..b45c35067ad7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinDatabaseRestoreResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Specific Gremlin Databases to restore. + /// + public sealed class GremlinDatabaseRestoreResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the gremlin database available for restore. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + [Input("graphNames")] + private InputList? _graphNames; + + /// + /// The names of the graphs available for restore. + /// + public InputList GraphNames + { + get => _graphNames ?? (_graphNames = new InputList()); + set => _graphNames = value; + } + + public GremlinDatabaseRestoreResourceArgs() + { + } + public static new GremlinDatabaseRestoreResourceArgs Empty => new GremlinDatabaseRestoreResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinGraphResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinGraphResourceArgs.cs new file mode 100644 index 000000000000..d0d18ffb7678 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/GremlinGraphResourceArgs.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB Gremlin graph resource object + /// + public sealed class GremlinGraphResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// The conflict resolution policy for the graph. + /// + [Input("conflictResolutionPolicy")] + public Input? ConflictResolutionPolicy { get; set; } + + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Default time to live + /// + [Input("defaultTtl")] + public Input? DefaultTtl { get; set; } + + /// + /// Name of the Cosmos DB Gremlin graph + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + /// + [Input("indexingPolicy")] + public Input? IndexingPolicy { get; set; } + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + [Input("partitionKey")] + public Input? PartitionKey { get; set; } + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + [Input("uniqueKeyPolicy")] + public Input? UniqueKeyPolicy { get; set; } + + public GremlinGraphResourceArgs() + { + } + public static new GremlinGraphResourceArgs Empty => new GremlinGraphResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IncludedPathArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IncludedPathArgs.cs new file mode 100644 index 000000000000..2f41b3da3c07 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IncludedPathArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The paths that are included in indexing + /// + public sealed class IncludedPathArgs : global::Pulumi.ResourceArgs + { + [Input("indexes")] + private InputList? _indexes; + + /// + /// List of indexes for this path + /// + public InputList Indexes + { + get => _indexes ?? (_indexes = new InputList()); + set => _indexes = value; + } + + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + public IncludedPathArgs() + { + } + public static new IncludedPathArgs Empty => new IncludedPathArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IndexesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IndexesArgs.cs new file mode 100644 index 000000000000..50c35a82e9e4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IndexesArgs.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The indexes for the path. + /// + public sealed class IndexesArgs : global::Pulumi.ResourceArgs + { + /// + /// The datatype for which the indexing behavior is applied to. + /// + [Input("dataType")] + public InputUnion? DataType { get; set; } + + /// + /// Indicates the type of index. + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + /// + /// The precision of the index. -1 is maximum precision. + /// + [Input("precision")] + public Input? Precision { get; set; } + + public IndexesArgs() + { + DataType = "String"; + Kind = "Hash"; + } + public static new IndexesArgs Empty => new IndexesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IndexingPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IndexingPolicyArgs.cs new file mode 100644 index 000000000000..a6cb52912326 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IndexingPolicyArgs.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB indexing policy + /// + public sealed class IndexingPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates if the indexing policy is automatic + /// + [Input("automatic")] + public Input? Automatic { get; set; } + + [Input("compositeIndexes")] + private InputList>? _compositeIndexes; + + /// + /// List of composite path list + /// + public InputList> CompositeIndexes + { + get => _compositeIndexes ?? (_compositeIndexes = new InputList>()); + set => _compositeIndexes = value; + } + + [Input("excludedPaths")] + private InputList? _excludedPaths; + + /// + /// List of paths to exclude from indexing + /// + public InputList ExcludedPaths + { + get => _excludedPaths ?? (_excludedPaths = new InputList()); + set => _excludedPaths = value; + } + + [Input("includedPaths")] + private InputList? _includedPaths; + + /// + /// List of paths to include in the indexing + /// + public InputList IncludedPaths + { + get => _includedPaths ?? (_includedPaths = new InputList()); + set => _includedPaths = value; + } + + /// + /// Indicates the indexing mode. + /// + [Input("indexingMode")] + public InputUnion? IndexingMode { get; set; } + + [Input("spatialIndexes")] + private InputList? _spatialIndexes; + + /// + /// List of spatial specifics + /// + public InputList SpatialIndexes + { + get => _spatialIndexes ?? (_spatialIndexes = new InputList()); + set => _spatialIndexes = value; + } + + public IndexingPolicyArgs() + { + IndexingMode = "consistent"; + } + public static new IndexingPolicyArgs Empty => new IndexingPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IpAddressOrRangeArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IpAddressOrRangeArgs.cs new file mode 100644 index 000000000000..b4d5938e1588 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/IpAddressOrRangeArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// IpAddressOrRange object + /// + public sealed class IpAddressOrRangeArgs : global::Pulumi.ResourceArgs + { + /// + /// A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + /// + [Input("ipAddressOrRange")] + public Input? IpAddressOrRange { get; set; } + + public IpAddressOrRangeArgs() + { + } + public static new IpAddressOrRangeArgs Empty => new IpAddressOrRangeArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/LocationArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/LocationArgs.cs new file mode 100644 index 000000000000..f7b975fcccaa --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/LocationArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// A region in which the Azure Cosmos DB database account is deployed. + /// + public sealed class LocationArgs : global::Pulumi.ResourceArgs + { + /// + /// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + /// + [Input("failoverPriority")] + public Input? FailoverPriority { get; set; } + + /// + /// Flag to indicate whether or not this region is an AvailabilityZone region + /// + [Input("isZoneRedundant")] + public Input? IsZoneRedundant { get; set; } + + /// + /// The name of the region. + /// + [Input("locationName")] + public Input? LocationName { get; set; } + + public LocationArgs() + { + } + public static new LocationArgs Empty => new LocationArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ManagedCassandraManagedServiceIdentityArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ManagedCassandraManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..563124163b9c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ManagedCassandraManagedServiceIdentityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class ManagedCassandraManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of the resource. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + public ManagedCassandraManagedServiceIdentityArgs() + { + } + public static new ManagedCassandraManagedServiceIdentityArgs Empty => new ManagedCassandraManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..bf5d855384d2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + /// + [Input("type")] + public Input? Type { get; set; } + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MaterializedViewDefinitionArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MaterializedViewDefinitionArgs.cs new file mode 100644 index 000000000000..4e552afadab5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MaterializedViewDefinitionArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Materialized View definition for the container. + /// + public sealed class MaterializedViewDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + /// + [Input("definition", required: true)] + public Input Definition { get; set; } = null!; + + /// + /// The name of the source container on which the Materialized View will be created. + /// + [Input("sourceCollectionId", required: true)] + public Input SourceCollectionId { get; set; } = null!; + + public MaterializedViewDefinitionArgs() + { + } + public static new MaterializedViewDefinitionArgs Empty => new MaterializedViewDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoClusterRestoreParametersArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoClusterRestoreParametersArgs.cs new file mode 100644 index 000000000000..ccdc65bf2431 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoClusterRestoreParametersArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Parameters used for restore operations + /// + public sealed class MongoClusterRestoreParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// UTC point in time to restore a mongo cluster + /// + [Input("pointInTimeUTC")] + public Input? PointInTimeUTC { get; set; } + + /// + /// Resource ID to locate the source cluster to restore + /// + [Input("sourceResourceId")] + public Input? SourceResourceId { get; set; } + + public MongoClusterRestoreParametersArgs() + { + } + public static new MongoClusterRestoreParametersArgs Empty => new MongoClusterRestoreParametersArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoDBCollectionResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoDBCollectionResourceArgs.cs new file mode 100644 index 000000000000..ad5a62a37ecb --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoDBCollectionResourceArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB MongoDB collection resource object + /// + public sealed class MongoDBCollectionResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Name of the Cosmos DB MongoDB collection + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + [Input("indexes")] + private InputList? _indexes; + + /// + /// List of index keys + /// + public InputList Indexes + { + get => _indexes ?? (_indexes = new InputList()); + set => _indexes = value; + } + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + [Input("shardKey")] + private InputMap? _shardKey; + + /// + /// A key-value pair of shard keys to be applied for the request. + /// + public InputMap ShardKey + { + get => _shardKey ?? (_shardKey = new InputMap()); + set => _shardKey = value; + } + + public MongoDBCollectionResourceArgs() + { + } + public static new MongoDBCollectionResourceArgs Empty => new MongoDBCollectionResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoDBDatabaseResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoDBDatabaseResourceArgs.cs new file mode 100644 index 000000000000..ce3e6fd5b151 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoDBDatabaseResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB MongoDB database resource object + /// + public sealed class MongoDBDatabaseResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Name of the Cosmos DB MongoDB database + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + public MongoDBDatabaseResourceArgs() + { + } + public static new MongoDBDatabaseResourceArgs Empty => new MongoDBDatabaseResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexArgs.cs new file mode 100644 index 000000000000..7680f682c0b8 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB MongoDB collection index key + /// + public sealed class MongoIndexArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB MongoDB collection index keys + /// + [Input("key")] + public Input? Key { get; set; } + + /// + /// Cosmos DB MongoDB collection index key options + /// + [Input("options")] + public Input? Options { get; set; } + + public MongoIndexArgs() + { + } + public static new MongoIndexArgs Empty => new MongoIndexArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexKeysArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexKeysArgs.cs new file mode 100644 index 000000000000..c44eaade94e5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexKeysArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB MongoDB collection resource object + /// + public sealed class MongoIndexKeysArgs : global::Pulumi.ResourceArgs + { + [Input("keys")] + private InputList? _keys; + + /// + /// List of keys for each MongoDB collection in the Azure Cosmos DB service + /// + public InputList Keys + { + get => _keys ?? (_keys = new InputList()); + set => _keys = value; + } + + public MongoIndexKeysArgs() + { + } + public static new MongoIndexKeysArgs Empty => new MongoIndexKeysArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexOptionsArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexOptionsArgs.cs new file mode 100644 index 000000000000..b7e56ca93c07 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/MongoIndexOptionsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB MongoDB collection index options + /// + public sealed class MongoIndexOptionsArgs : global::Pulumi.ResourceArgs + { + /// + /// Expire after seconds + /// + [Input("expireAfterSeconds")] + public Input? ExpireAfterSeconds { get; set; } + + /// + /// Is unique or not + /// + [Input("unique")] + public Input? Unique { get; set; } + + public MongoIndexOptionsArgs() + { + } + public static new MongoIndexOptionsArgs Empty => new MongoIndexOptionsArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/NodeGroupSpecArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/NodeGroupSpecArgs.cs new file mode 100644 index 000000000000..fbe1fa066faf --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/NodeGroupSpecArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Specification for a node group. + /// + public sealed class NodeGroupSpecArgs : global::Pulumi.ResourceArgs + { + /// + /// The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + /// + [Input("diskSizeGB")] + public Input? DiskSizeGB { get; set; } + + /// + /// Whether high availability is enabled on the node group. + /// + [Input("enableHa")] + public Input? EnableHa { get; set; } + + /// + /// The node type deployed in the node group. + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + /// + /// The number of nodes in the node group. + /// + [Input("nodeCount")] + public Input? NodeCount { get; set; } + + /// + /// The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + /// + [Input("sku")] + public Input? Sku { get; set; } + + public NodeGroupSpecArgs() + { + } + public static new NodeGroupSpecArgs Empty => new NodeGroupSpecArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PeriodicModeBackupPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PeriodicModeBackupPolicyArgs.cs new file mode 100644 index 000000000000..a4150af09f1e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PeriodicModeBackupPolicyArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The object representing periodic mode backup policy. + /// + public sealed class PeriodicModeBackupPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// The object representing the state of the migration between the backup policies. + /// + [Input("migrationState")] + public Input? MigrationState { get; set; } + + /// + /// Configuration values for periodic mode backup + /// + [Input("periodicModeProperties")] + public Input? PeriodicModeProperties { get; set; } + + /// + /// Describes the mode of backups. + /// Expected value is 'Periodic'. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public PeriodicModeBackupPolicyArgs() + { + } + public static new PeriodicModeBackupPolicyArgs Empty => new PeriodicModeBackupPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PeriodicModePropertiesArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PeriodicModePropertiesArgs.cs new file mode 100644 index 000000000000..1f6fa928431d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PeriodicModePropertiesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Configuration values for periodic mode backup + /// + public sealed class PeriodicModePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// An integer representing the interval in minutes between two backups + /// + [Input("backupIntervalInMinutes")] + public Input? BackupIntervalInMinutes { get; set; } + + /// + /// An integer representing the time (in hours) that each backup is retained + /// + [Input("backupRetentionIntervalInHours")] + public Input? BackupRetentionIntervalInHours { get; set; } + + /// + /// Enum to indicate type of backup residency + /// + [Input("backupStorageRedundancy")] + public InputUnion? BackupStorageRedundancy { get; set; } + + public PeriodicModePropertiesArgs() + { + } + public static new PeriodicModePropertiesArgs Empty => new PeriodicModePropertiesArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PermissionArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PermissionArgs.cs new file mode 100644 index 000000000000..297413a70a50 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PermissionArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + public sealed class PermissionArgs : global::Pulumi.ResourceArgs + { + [Input("dataActions")] + private InputList? _dataActions; + + /// + /// An array of data actions that are allowed. + /// + public InputList DataActions + { + get => _dataActions ?? (_dataActions = new InputList()); + set => _dataActions = value; + } + + [Input("notDataActions")] + private InputList? _notDataActions; + + /// + /// An array of data actions that are denied. + /// + public InputList NotDataActions + { + get => _notDataActions ?? (_notDataActions = new InputList()); + set => _notDataActions = value; + } + + public PermissionArgs() + { + } + public static new PermissionArgs Empty => new PermissionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivateEndpointPropertyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivateEndpointPropertyArgs.cs new file mode 100644 index 000000000000..93187b3a3ec1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivateEndpointPropertyArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Private endpoint which the connection belongs to. + /// + public sealed class PrivateEndpointPropertyArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource id of the private endpoint. + /// + [Input("id")] + public Input? Id { get; set; } + + public PrivateEndpointPropertyArgs() + { + } + public static new PrivateEndpointPropertyArgs Empty => new PrivateEndpointPropertyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs new file mode 100644 index 000000000000..bac078c0c39e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Connection State of the Private Endpoint Connection. + /// + public sealed class PrivateLinkServiceConnectionStatePropertyArgs : global::Pulumi.ResourceArgs + { + /// + /// The private link service connection description. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The private link service connection status. + /// + [Input("status")] + public Input? Status { get; set; } + + public PrivateLinkServiceConnectionStatePropertyArgs() + { + } + public static new PrivateLinkServiceConnectionStatePropertyArgs Empty => new PrivateLinkServiceConnectionStatePropertyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivilegeArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivilegeArgs.cs new file mode 100644 index 000000000000..7e78d9d2f70f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivilegeArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + public sealed class PrivilegeArgs : global::Pulumi.ResourceArgs + { + [Input("actions")] + private InputList? _actions; + + /// + /// An array of actions that are allowed. + /// + public InputList Actions + { + get => _actions ?? (_actions = new InputList()); + set => _actions = value; + } + + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + [Input("resource")] + public Input? Resource { get; set; } + + public PrivilegeArgs() + { + } + public static new PrivilegeArgs Empty => new PrivilegeArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivilegeResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivilegeResourceArgs.cs new file mode 100644 index 000000000000..4906a6e94841 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/PrivilegeResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + public sealed class PrivilegeResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The collection name the role is applied. + /// + [Input("collection")] + public Input? Collection { get; set; } + + /// + /// The database name the role is applied. + /// + [Input("db")] + public Input? Db { get; set; } + + public PrivilegeResourceArgs() + { + } + public static new PrivilegeResourceArgs Empty => new PrivilegeResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ResourceRestoreParametersArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ResourceRestoreParametersArgs.cs new file mode 100644 index 000000000000..53be2462002c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/ResourceRestoreParametersArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Parameters to indicate the information about the restore. + /// + public sealed class ResourceRestoreParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + [Input("restoreSource")] + public Input? RestoreSource { get; set; } + + /// + /// Time to which the account has to be restored (ISO-8601 format). + /// + [Input("restoreTimestampInUtc")] + public Input? RestoreTimestampInUtc { get; set; } + + public ResourceRestoreParametersArgs() + { + } + public static new ResourceRestoreParametersArgs Empty => new ResourceRestoreParametersArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/RestoreParametersArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/RestoreParametersArgs.cs new file mode 100644 index 000000000000..30257d01e9ec --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/RestoreParametersArgs.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Parameters to indicate the information about the restore. + /// + public sealed class RestoreParametersArgs : global::Pulumi.ResourceArgs + { + [Input("databasesToRestore")] + private InputList? _databasesToRestore; + + /// + /// List of specific databases available for restore. + /// + public InputList DatabasesToRestore + { + get => _databasesToRestore ?? (_databasesToRestore = new InputList()); + set => _databasesToRestore = value; + } + + [Input("gremlinDatabasesToRestore")] + private InputList? _gremlinDatabasesToRestore; + + /// + /// List of specific gremlin databases available for restore. + /// + public InputList GremlinDatabasesToRestore + { + get => _gremlinDatabasesToRestore ?? (_gremlinDatabasesToRestore = new InputList()); + set => _gremlinDatabasesToRestore = value; + } + + /// + /// Describes the mode of the restore. + /// + [Input("restoreMode")] + public InputUnion? RestoreMode { get; set; } + + /// + /// The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + [Input("restoreSource")] + public Input? RestoreSource { get; set; } + + /// + /// Time to which the account has to be restored (ISO-8601 format). + /// + [Input("restoreTimestampInUtc")] + public Input? RestoreTimestampInUtc { get; set; } + + /// + /// The source backup location for restore. + /// + [Input("sourceBackupLocation")] + public Input? SourceBackupLocation { get; set; } + + [Input("tablesToRestore")] + private InputList? _tablesToRestore; + + /// + /// List of specific tables available for restore. + /// + public InputList TablesToRestore + { + get => _tablesToRestore ?? (_tablesToRestore = new InputList()); + set => _tablesToRestore = value; + } + + public RestoreParametersArgs() + { + } + public static new RestoreParametersArgs Empty => new RestoreParametersArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/RoleArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/RoleArgs.cs new file mode 100644 index 000000000000..fcb725b5fc09 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/RoleArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The set of roles permitted through this Role Definition. + /// + public sealed class RoleArgs : global::Pulumi.ResourceArgs + { + /// + /// The database name the role is applied. + /// + [Input("db")] + public Input? Db { get; set; } + + /// + /// The role name. + /// + [Input("role")] + public Input? Role { get; set; } + + public RoleArgs() + { + } + public static new RoleArgs Empty => new RoleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SeedNodeArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SeedNodeArgs.cs new file mode 100644 index 000000000000..7a142bc8280d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SeedNodeArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class SeedNodeArgs : global::Pulumi.ResourceArgs + { + /// + /// IP address of this seed node. + /// + [Input("ipAddress")] + public Input? IpAddress { get; set; } + + public SeedNodeArgs() + { + } + public static new SeedNodeArgs Empty => new SeedNodeArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SpatialSpecArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SpatialSpecArgs.cs new file mode 100644 index 000000000000..ddaaec66e590 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SpatialSpecArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + public sealed class SpatialSpecArgs : global::Pulumi.ResourceArgs + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + [Input("path")] + public Input? Path { get; set; } + + [Input("types")] + private InputList>? _types; + + /// + /// List of path's spatial type + /// + public InputList> Types + { + get => _types ?? (_types = new InputList>()); + set => _types = value; + } + + public SpatialSpecArgs() + { + } + public static new SpatialSpecArgs Empty => new SpatialSpecArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlContainerResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlContainerResourceArgs.cs new file mode 100644 index 000000000000..fb2d5a817d2e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlContainerResourceArgs.cs @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB SQL container resource object + /// + public sealed class SqlContainerResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Analytical TTL. + /// + [Input("analyticalStorageTtl")] + public Input? AnalyticalStorageTtl { get; set; } + + /// + /// The client encryption policy for the container. + /// + [Input("clientEncryptionPolicy")] + public Input? ClientEncryptionPolicy { get; set; } + + /// + /// The conflict resolution policy for the container. + /// + [Input("conflictResolutionPolicy")] + public Input? ConflictResolutionPolicy { get; set; } + + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Default time to live + /// + [Input("defaultTtl")] + public Input? DefaultTtl { get; set; } + + /// + /// Name of the Cosmos DB SQL container + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + /// + [Input("indexingPolicy")] + public Input? IndexingPolicy { get; set; } + + /// + /// The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + /// + [Input("materializedViewDefinition")] + public Input? MaterializedViewDefinition { get; set; } + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + [Input("partitionKey")] + public Input? PartitionKey { get; set; } + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + [Input("uniqueKeyPolicy")] + public Input? UniqueKeyPolicy { get; set; } + + public SqlContainerResourceArgs() + { + } + public static new SqlContainerResourceArgs Empty => new SqlContainerResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlDatabaseResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlDatabaseResourceArgs.cs new file mode 100644 index 000000000000..ced0811f2f0c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlDatabaseResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB SQL database resource object + /// + public sealed class SqlDatabaseResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Name of the Cosmos DB SQL database + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + public SqlDatabaseResourceArgs() + { + } + public static new SqlDatabaseResourceArgs Empty => new SqlDatabaseResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlStoredProcedureResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlStoredProcedureResourceArgs.cs new file mode 100644 index 000000000000..7f7040dc586e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlStoredProcedureResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB SQL storedProcedure resource object + /// + public sealed class SqlStoredProcedureResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Body of the Stored Procedure + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// Name of the Cosmos DB SQL storedProcedure + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SqlStoredProcedureResourceArgs() + { + } + public static new SqlStoredProcedureResourceArgs Empty => new SqlStoredProcedureResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlTriggerResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlTriggerResourceArgs.cs new file mode 100644 index 000000000000..adc04b5509a6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlTriggerResourceArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB SQL trigger resource object + /// + public sealed class SqlTriggerResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Body of the Trigger + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// Name of the Cosmos DB SQL trigger + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// The operation the trigger is associated with + /// + [Input("triggerOperation")] + public InputUnion? TriggerOperation { get; set; } + + /// + /// Type of the Trigger + /// + [Input("triggerType")] + public InputUnion? TriggerType { get; set; } + + public SqlTriggerResourceArgs() + { + } + public static new SqlTriggerResourceArgs Empty => new SqlTriggerResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlUserDefinedFunctionResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlUserDefinedFunctionResourceArgs.cs new file mode 100644 index 000000000000..462b50bf8ed5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/SqlUserDefinedFunctionResourceArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB SQL userDefinedFunction resource object + /// + public sealed class SqlUserDefinedFunctionResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Body of the User Defined Function + /// + [Input("body")] + public Input? Body { get; set; } + + /// + /// Name of the Cosmos DB SQL userDefinedFunction + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public SqlUserDefinedFunctionResourceArgs() + { + } + public static new SqlUserDefinedFunctionResourceArgs Empty => new SqlUserDefinedFunctionResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/TableResourceArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/TableResourceArgs.cs new file mode 100644 index 000000000000..8039b205b873 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/TableResourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Cosmos DB table resource object + /// + public sealed class TableResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Enum to indicate the mode of resource creation. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// Name of the Cosmos DB table + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Parameters to indicate the information about the restore + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + public TableResourceArgs() + { + } + public static new TableResourceArgs Empty => new TableResourceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/UniqueKeyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/UniqueKeyArgs.cs new file mode 100644 index 000000000000..91a866647707 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/UniqueKeyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + public sealed class UniqueKeyArgs : global::Pulumi.ResourceArgs + { + [Input("paths")] + private InputList? _paths; + + /// + /// List of paths must be unique for each document in the Azure Cosmos DB service + /// + public InputList Paths + { + get => _paths ?? (_paths = new InputList()); + set => _paths = value; + } + + public UniqueKeyArgs() + { + } + public static new UniqueKeyArgs Empty => new UniqueKeyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/UniqueKeyPolicyArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/UniqueKeyPolicyArgs.cs new file mode 100644 index 000000000000..247ad1abf710 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/UniqueKeyPolicyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + public sealed class UniqueKeyPolicyArgs : global::Pulumi.ResourceArgs + { + [Input("uniqueKeys")] + private InputList? _uniqueKeys; + + /// + /// List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + public InputList UniqueKeys + { + get => _uniqueKeys ?? (_uniqueKeys = new InputList()); + set => _uniqueKeys = value; + } + + public UniqueKeyPolicyArgs() + { + } + public static new UniqueKeyPolicyArgs Empty => new UniqueKeyPolicyArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/VirtualNetworkRuleArgs.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/VirtualNetworkRuleArgs.cs new file mode 100644 index 000000000000..fef82a5d8e0e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Inputs/VirtualNetworkRuleArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Inputs +{ + + /// + /// Virtual Network ACL Rule object + /// + public sealed class VirtualNetworkRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Create firewall rule before the virtual network has vnet service endpoint enabled. + /// + [Input("ignoreMissingVNetServiceEndpoint")] + public Input? IgnoreMissingVNetServiceEndpoint { get; set; } + + public VirtualNetworkRuleArgs() + { + } + public static new VirtualNetworkRuleArgs Empty => new VirtualNetworkRuleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/ListDatabaseAccountConnectionStrings.cs b/sdk/dotnet/DocumentDB/V20230915Preview/ListDatabaseAccountConnectionStrings.cs new file mode 100644 index 000000000000..306032158fa0 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/ListDatabaseAccountConnectionStrings.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class ListDatabaseAccountConnectionStrings + { + /// + /// Lists the connection strings for the specified Azure Cosmos DB database account. + /// + public static Task InvokeAsync(ListDatabaseAccountConnectionStringsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:listDatabaseAccountConnectionStrings", args ?? new ListDatabaseAccountConnectionStringsArgs(), options.WithDefaults()); + + /// + /// Lists the connection strings for the specified Azure Cosmos DB database account. + /// + public static Output Invoke(ListDatabaseAccountConnectionStringsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:listDatabaseAccountConnectionStrings", args ?? new ListDatabaseAccountConnectionStringsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListDatabaseAccountConnectionStringsArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountConnectionStringsArgs() + { + } + public static new ListDatabaseAccountConnectionStringsArgs Empty => new ListDatabaseAccountConnectionStringsArgs(); + } + + public sealed class ListDatabaseAccountConnectionStringsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountConnectionStringsInvokeArgs() + { + } + public static new ListDatabaseAccountConnectionStringsInvokeArgs Empty => new ListDatabaseAccountConnectionStringsInvokeArgs(); + } + + + [OutputType] + public sealed class ListDatabaseAccountConnectionStringsResult + { + /// + /// An array that contains the connection strings for the Cosmos DB account. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private ListDatabaseAccountConnectionStringsResult(ImmutableArray connectionStrings) + { + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/ListDatabaseAccountKeys.cs b/sdk/dotnet/DocumentDB/V20230915Preview/ListDatabaseAccountKeys.cs new file mode 100644 index 000000000000..8e1d983acf78 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/ListDatabaseAccountKeys.cs @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class ListDatabaseAccountKeys + { + /// + /// Lists the access keys for the specified Azure Cosmos DB database account. + /// + public static Task InvokeAsync(ListDatabaseAccountKeysArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:listDatabaseAccountKeys", args ?? new ListDatabaseAccountKeysArgs(), options.WithDefaults()); + + /// + /// Lists the access keys for the specified Azure Cosmos DB database account. + /// + public static Output Invoke(ListDatabaseAccountKeysInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:listDatabaseAccountKeys", args ?? new ListDatabaseAccountKeysInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListDatabaseAccountKeysArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountKeysArgs() + { + } + public static new ListDatabaseAccountKeysArgs Empty => new ListDatabaseAccountKeysArgs(); + } + + public sealed class ListDatabaseAccountKeysInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListDatabaseAccountKeysInvokeArgs() + { + } + public static new ListDatabaseAccountKeysInvokeArgs Empty => new ListDatabaseAccountKeysInvokeArgs(); + } + + + [OutputType] + public sealed class ListDatabaseAccountKeysResult + { + /// + /// Base 64 encoded value of the primary read-write key. + /// + public readonly string PrimaryMasterKey; + /// + /// Base 64 encoded value of the primary read-only key. + /// + public readonly string PrimaryReadonlyMasterKey; + /// + /// Base 64 encoded value of the secondary read-write key. + /// + public readonly string SecondaryMasterKey; + /// + /// Base 64 encoded value of the secondary read-only key. + /// + public readonly string SecondaryReadonlyMasterKey; + + [OutputConstructor] + private ListDatabaseAccountKeysResult( + string primaryMasterKey, + + string primaryReadonlyMasterKey, + + string secondaryMasterKey, + + string secondaryReadonlyMasterKey) + { + PrimaryMasterKey = primaryMasterKey; + PrimaryReadonlyMasterKey = primaryReadonlyMasterKey; + SecondaryMasterKey = secondaryMasterKey; + SecondaryReadonlyMasterKey = secondaryReadonlyMasterKey; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/ListMongoClusterConnectionStrings.cs b/sdk/dotnet/DocumentDB/V20230915Preview/ListMongoClusterConnectionStrings.cs new file mode 100644 index 000000000000..966b3e0874a2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/ListMongoClusterConnectionStrings.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class ListMongoClusterConnectionStrings + { + /// + /// List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + /// + public static Task InvokeAsync(ListMongoClusterConnectionStringsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:listMongoClusterConnectionStrings", args ?? new ListMongoClusterConnectionStringsArgs(), options.WithDefaults()); + + /// + /// List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + /// + public static Output Invoke(ListMongoClusterConnectionStringsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:listMongoClusterConnectionStrings", args ?? new ListMongoClusterConnectionStringsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListMongoClusterConnectionStringsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public string MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListMongoClusterConnectionStringsArgs() + { + } + public static new ListMongoClusterConnectionStringsArgs Empty => new ListMongoClusterConnectionStringsArgs(); + } + + public sealed class ListMongoClusterConnectionStringsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public Input MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListMongoClusterConnectionStringsInvokeArgs() + { + } + public static new ListMongoClusterConnectionStringsInvokeArgs Empty => new ListMongoClusterConnectionStringsInvokeArgs(); + } + + + [OutputType] + public sealed class ListMongoClusterConnectionStringsResult + { + /// + /// An array that contains the connection strings for a mongo cluster. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private ListMongoClusterConnectionStringsResult(ImmutableArray connectionStrings) + { + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/ListNotebookWorkspaceConnectionInfo.cs b/sdk/dotnet/DocumentDB/V20230915Preview/ListNotebookWorkspaceConnectionInfo.cs new file mode 100644 index 000000000000..409bc8845461 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/ListNotebookWorkspaceConnectionInfo.cs @@ -0,0 +1,103 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + public static class ListNotebookWorkspaceConnectionInfo + { + /// + /// Retrieves the connection info for the notebook workspace + /// + public static Task InvokeAsync(ListNotebookWorkspaceConnectionInfoArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:documentdb/v20230915preview:listNotebookWorkspaceConnectionInfo", args ?? new ListNotebookWorkspaceConnectionInfoArgs(), options.WithDefaults()); + + /// + /// Retrieves the connection info for the notebook workspace + /// + public static Output Invoke(ListNotebookWorkspaceConnectionInfoInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:documentdb/v20230915preview:listNotebookWorkspaceConnectionInfo", args ?? new ListNotebookWorkspaceConnectionInfoInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListNotebookWorkspaceConnectionInfoArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public string NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListNotebookWorkspaceConnectionInfoArgs() + { + } + public static new ListNotebookWorkspaceConnectionInfoArgs Empty => new ListNotebookWorkspaceConnectionInfoArgs(); + } + + public sealed class ListNotebookWorkspaceConnectionInfoInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName", required: true)] + public Input NotebookWorkspaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListNotebookWorkspaceConnectionInfoInvokeArgs() + { + } + public static new ListNotebookWorkspaceConnectionInfoInvokeArgs Empty => new ListNotebookWorkspaceConnectionInfoInvokeArgs(); + } + + + [OutputType] + public sealed class ListNotebookWorkspaceConnectionInfoResult + { + /// + /// Specifies auth token used for connecting to Notebook server (uses token-based auth). + /// + public readonly string AuthToken; + /// + /// Specifies the endpoint of Notebook server. + /// + public readonly string NotebookServerEndpoint; + + [OutputConstructor] + private ListNotebookWorkspaceConnectionInfoResult( + string authToken, + + string notebookServerEndpoint) + { + AuthToken = authToken; + NotebookServerEndpoint = notebookServerEndpoint; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/MongoCluster.cs b/sdk/dotnet/DocumentDB/V20230915Preview/MongoCluster.cs new file mode 100644 index 000000000000..7593fee36f56 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/MongoCluster.cs @@ -0,0 +1,219 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// Represents a mongo cluster resource. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:MongoCluster")] + public partial class MongoCluster : global::Pulumi.CustomResource + { + /// + /// The administrator's login for the mongo cluster. + /// + [Output("administratorLogin")] + public Output AdministratorLogin { get; private set; } = null!; + + /// + /// A status of the mongo cluster. + /// + [Output("clusterStatus")] + public Output ClusterStatus { get; private set; } = null!; + + /// + /// The default mongo connection string for the cluster. + /// + [Output("connectionString")] + public Output ConnectionString { get; private set; } = null!; + + /// + /// Earliest restore timestamp in UTC ISO8601 format. + /// + [Output("earliestRestoreTime")] + public Output EarliestRestoreTime { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The list of node group specs in the cluster. + /// + [Output("nodeGroupSpecs")] + public Output> NodeGroupSpecs { get; private set; } = null!; + + /// + /// A provisioning state of the mongo cluster. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The Mongo DB server version. Defaults to the latest available version if not specified. + /// + [Output("serverVersion")] + public Output ServerVersion { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoCluster 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 MongoCluster(string name, MongoClusterArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoCluster", name, args ?? new MongoClusterArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoCluster(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoCluster", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoCluster"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoCluster"}, + }, + }; + 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 MongoCluster 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. + /// A bag of options that control this resource's behavior + public static MongoCluster Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoCluster(name, id, options); + } + } + + public sealed class MongoClusterArgs : global::Pulumi.ResourceArgs + { + /// + /// The administrator's login for the mongo cluster. + /// + [Input("administratorLogin")] + public Input? AdministratorLogin { get; set; } + + /// + /// The password of the administrator login. + /// + [Input("administratorLoginPassword")] + public Input? AdministratorLoginPassword { get; set; } + + /// + /// The mode to create a mongo cluster. + /// + [Input("createMode")] + public InputUnion? CreateMode { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName")] + public Input? MongoClusterName { get; set; } + + [Input("nodeGroupSpecs")] + private InputList? _nodeGroupSpecs; + + /// + /// The list of node group specs in the cluster. + /// + public InputList NodeGroupSpecs + { + get => _nodeGroupSpecs ?? (_nodeGroupSpecs = new InputList()); + set => _nodeGroupSpecs = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Parameters used for restore operations + /// + [Input("restoreParameters")] + public Input? RestoreParameters { get; set; } + + /// + /// The Mongo DB server version. Defaults to the latest available version if not specified. + /// + [Input("serverVersion")] + public Input? ServerVersion { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public MongoClusterArgs() + { + CreateMode = "Default"; + } + public static new MongoClusterArgs Empty => new MongoClusterArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/MongoClusterFirewallRule.cs b/sdk/dotnet/DocumentDB/V20230915Preview/MongoClusterFirewallRule.cs new file mode 100644 index 000000000000..8880a1525673 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/MongoClusterFirewallRule.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// Represents a mongo cluster firewall rule. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:MongoClusterFirewallRule")] + public partial class MongoClusterFirewallRule : global::Pulumi.CustomResource + { + /// + /// The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + /// + [Output("endIpAddress")] + public Output EndIpAddress { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioning state of the firewall rule. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + /// + [Output("startIpAddress")] + public Output StartIpAddress { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoClusterFirewallRule 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 MongoClusterFirewallRule(string name, MongoClusterFirewallRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoClusterFirewallRule", name, args ?? new MongoClusterFirewallRuleArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoClusterFirewallRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoClusterFirewallRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoClusterFirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoClusterFirewallRule"}, + }, + }; + 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 MongoClusterFirewallRule 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. + /// A bag of options that control this resource's behavior + public static MongoClusterFirewallRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoClusterFirewallRule(name, id, options); + } + } + + public sealed class MongoClusterFirewallRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + /// + [Input("endIpAddress", required: true)] + public Input EndIpAddress { get; set; } = null!; + + /// + /// The name of the mongo cluster firewall rule. + /// + [Input("firewallRuleName")] + public Input? FirewallRuleName { get; set; } + + /// + /// The name of the mongo cluster. + /// + [Input("mongoClusterName", required: true)] + public Input MongoClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + /// + [Input("startIpAddress", required: true)] + public Input StartIpAddress { get; set; } = null!; + + public MongoClusterFirewallRuleArgs() + { + } + public static new MongoClusterFirewallRuleArgs Empty => new MongoClusterFirewallRuleArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoDBCollection.cs b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoDBCollection.cs new file mode 100644 index 000000000000..c6ccebed3c0c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoDBCollection.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB MongoDB collection. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection")] + public partial class MongoDBResourceMongoDBCollection : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoDBCollection 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 MongoDBResourceMongoDBCollection(string name, MongoDBResourceMongoDBCollectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection", name, args ?? new MongoDBResourceMongoDBCollectionArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoDBCollection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"}, + }, + }; + 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 MongoDBResourceMongoDBCollection 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoDBCollection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoDBCollection(name, id, options); + } + } + + public sealed class MongoDBResourceMongoDBCollectionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB collection name. + /// + [Input("collectionName")] + public Input? CollectionName { get; set; } + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a MongoDB collection + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public MongoDBResourceMongoDBCollectionArgs() + { + } + public static new MongoDBResourceMongoDBCollectionArgs Empty => new MongoDBResourceMongoDBCollectionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoDBDatabase.cs b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoDBDatabase.cs new file mode 100644 index 000000000000..1f2c85d2e9db --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoDBDatabase.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB MongoDB database. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase")] + public partial class MongoDBResourceMongoDBDatabase : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoDBDatabase 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 MongoDBResourceMongoDBDatabase(string name, MongoDBResourceMongoDBDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase", name, args ?? new MongoDBResourceMongoDBDatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoDBDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"}, + }, + }; + 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 MongoDBResourceMongoDBDatabase 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoDBDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoDBDatabase(name, id, options); + } + } + + public sealed class MongoDBResourceMongoDBDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a MongoDB database + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public MongoDBResourceMongoDBDatabaseArgs() + { + } + public static new MongoDBResourceMongoDBDatabaseArgs Empty => new MongoDBResourceMongoDBDatabaseArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoRoleDefinition.cs new file mode 100644 index 000000000000..f26a3f8afff7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoRoleDefinition.cs @@ -0,0 +1,181 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Mongo Role Definition. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition")] + public partial class MongoDBResourceMongoRoleDefinition : global::Pulumi.CustomResource + { + /// + /// The database name for which access is being granted for this Role Definition. + /// + [Output("databaseName")] + public Output DatabaseName { get; private set; } = null!; + + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + /// + [Output("privileges")] + public Output> Privileges { get; private set; } = null!; + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Output("roleName")] + public Output RoleName { get; private set; } = null!; + + /// + /// The set of roles inherited by this Role Definition. + /// + [Output("roles")] + public Output> Roles { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoRoleDefinition 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 MongoDBResourceMongoRoleDefinition(string name, MongoDBResourceMongoRoleDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition", name, args ?? new MongoDBResourceMongoRoleDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoRoleDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"}, + }, + }; + 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 MongoDBResourceMongoRoleDefinition 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoRoleDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoRoleDefinition(name, id, options); + } + } + + public sealed class MongoDBResourceMongoRoleDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The database name for which access is being granted for this Role Definition. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The ID for the Role Definition {dbName.roleName}. + /// + [Input("mongoRoleDefinitionId")] + public Input? MongoRoleDefinitionId { get; set; } + + [Input("privileges")] + private InputList? _privileges; + + /// + /// A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + /// + public InputList Privileges + { + get => _privileges ?? (_privileges = new InputList()); + set => _privileges = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Input("roleName")] + public Input? RoleName { get; set; } + + [Input("roles")] + private InputList? _roles; + + /// + /// The set of roles inherited by this Role Definition. + /// + public InputList Roles + { + get => _roles ?? (_roles = new InputList()); + set => _roles = value; + } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [Input("type")] + public Input? Type { get; set; } + + public MongoDBResourceMongoRoleDefinitionArgs() + { + } + public static new MongoDBResourceMongoRoleDefinitionArgs Empty => new MongoDBResourceMongoRoleDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoUserDefinition.cs b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoUserDefinition.cs new file mode 100644 index 000000000000..35cdc1fd47e2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/MongoDBResourceMongoUserDefinition.cs @@ -0,0 +1,193 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB User Definition + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition")] + public partial class MongoDBResourceMongoUserDefinition : global::Pulumi.CustomResource + { + /// + /// A custom definition for the USer Definition. + /// + [Output("customData")] + public Output CustomData { get; private set; } = null!; + + /// + /// The database name for which access is being granted for this User Definition. + /// + [Output("databaseName")] + public Output DatabaseName { get; private set; } = null!; + + /// + /// The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + /// + [Output("mechanisms")] + public Output Mechanisms { get; private set; } = null!; + + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The password for User Definition. Response does not contain user password. + /// + [Output("password")] + public Output Password { get; private set; } = null!; + + /// + /// The set of roles inherited by the User Definition. + /// + [Output("roles")] + public Output> Roles { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The user name for User Definition. + /// + [Output("userName")] + public Output UserName { get; private set; } = null!; + + + /// + /// Create a MongoDBResourceMongoUserDefinition 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 MongoDBResourceMongoUserDefinition(string name, MongoDBResourceMongoUserDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition", name, args ?? new MongoDBResourceMongoUserDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private MongoDBResourceMongoUserDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition"}, + }, + }; + 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 MongoDBResourceMongoUserDefinition 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. + /// A bag of options that control this resource's behavior + public static MongoDBResourceMongoUserDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MongoDBResourceMongoUserDefinition(name, id, options); + } + } + + public sealed class MongoDBResourceMongoUserDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// A custom definition for the USer Definition. + /// + [Input("customData")] + public Input? CustomData { get; set; } + + /// + /// The database name for which access is being granted for this User Definition. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + /// + [Input("mechanisms")] + public Input? Mechanisms { get; set; } + + /// + /// The ID for the User Definition {dbName.userName}. + /// + [Input("mongoUserDefinitionId")] + public Input? MongoUserDefinitionId { get; set; } + + /// + /// The password for User Definition. Response does not contain user password. + /// + [Input("password")] + public Input? Password { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("roles")] + private InputList? _roles; + + /// + /// The set of roles inherited by the User Definition. + /// + public InputList Roles + { + get => _roles ?? (_roles = new InputList()); + set => _roles = value; + } + + /// + /// The user name for User Definition. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public MongoDBResourceMongoUserDefinitionArgs() + { + } + public static new MongoDBResourceMongoUserDefinitionArgs Empty => new MongoDBResourceMongoUserDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/NotebookWorkspace.cs b/sdk/dotnet/DocumentDB/V20230915Preview/NotebookWorkspace.cs new file mode 100644 index 000000000000..073373bc0e8d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/NotebookWorkspace.cs @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// A notebook workspace resource + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:NotebookWorkspace")] + public partial class NotebookWorkspace : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Specifies the endpoint of Notebook server. + /// + [Output("notebookServerEndpoint")] + public Output NotebookServerEndpoint { get; private set; } = null!; + + /// + /// Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a NotebookWorkspace 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 NotebookWorkspace(string name, NotebookWorkspaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:NotebookWorkspace", name, args ?? new NotebookWorkspaceArgs(), MakeResourceOptions(options, "")) + { + } + + private NotebookWorkspace(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:NotebookWorkspace", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:NotebookWorkspace"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:NotebookWorkspace"}, + }, + }; + 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 NotebookWorkspace 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. + /// A bag of options that control this resource's behavior + public static NotebookWorkspace Get(string name, Input id, CustomResourceOptions? options = null) + { + return new NotebookWorkspace(name, id, options); + } + } + + public sealed class NotebookWorkspaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The name of the notebook workspace resource. + /// + [Input("notebookWorkspaceName")] + public Input? NotebookWorkspaceName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public NotebookWorkspaceArgs() + { + } + public static new NotebookWorkspaceArgs Empty => new NotebookWorkspaceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AccountKeyMetadataResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AccountKeyMetadataResponse.cs new file mode 100644 index 000000000000..2b668fcc54ad --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AccountKeyMetadataResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The metadata related to an access key for a given database account. + /// + [OutputType] + public sealed class AccountKeyMetadataResponse + { + /// + /// Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + /// + public readonly string GenerationTime; + + [OutputConstructor] + private AccountKeyMetadataResponse(string generationTime) + { + GenerationTime = generationTime; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AnalyticalStorageConfigurationResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AnalyticalStorageConfigurationResponse.cs new file mode 100644 index 000000000000..238648167529 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AnalyticalStorageConfigurationResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Analytical storage specific properties. + /// + [OutputType] + public sealed class AnalyticalStorageConfigurationResponse + { + /// + /// Describes the types of schema for analytical storage. + /// + public readonly string? SchemaType; + + [OutputConstructor] + private AnalyticalStorageConfigurationResponse(string? schemaType) + { + SchemaType = schemaType; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ApiPropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ApiPropertiesResponse.cs new file mode 100644 index 000000000000..dddb8ee1d4cd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ApiPropertiesResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class ApiPropertiesResponse + { + /// + /// Describes the ServerVersion of an a MongoDB account. + /// + public readonly string? ServerVersion; + + [OutputConstructor] + private ApiPropertiesResponse(string? serverVersion) + { + ServerVersion = serverVersion; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AuthenticationMethodLdapPropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AuthenticationMethodLdapPropertiesResponse.cs new file mode 100644 index 000000000000..e756c3b6fd9a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AuthenticationMethodLdapPropertiesResponse.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Ldap authentication method properties. This feature is in preview. + /// + [OutputType] + public sealed class AuthenticationMethodLdapPropertiesResponse + { + /// + /// Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + /// + public readonly int? ConnectionTimeoutInMs; + /// + /// Distinguished name of the object to start the recursive search of users from. + /// + public readonly string? SearchBaseDistinguishedName; + /// + /// Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + /// + public readonly string? SearchFilterTemplate; + public readonly ImmutableArray ServerCertificates; + /// + /// Hostname of the LDAP server. + /// + public readonly string? ServerHostname; + /// + /// Port of the LDAP server. + /// + public readonly int? ServerPort; + /// + /// Distinguished name of the look up user account, who can look up user details on authentication. + /// + public readonly string? ServiceUserDistinguishedName; + /// + /// Password of the look up user. + /// + public readonly string? ServiceUserPassword; + + [OutputConstructor] + private AuthenticationMethodLdapPropertiesResponse( + int? connectionTimeoutInMs, + + string? searchBaseDistinguishedName, + + string? searchFilterTemplate, + + ImmutableArray serverCertificates, + + string? serverHostname, + + int? serverPort, + + string? serviceUserDistinguishedName, + + string? serviceUserPassword) + { + ConnectionTimeoutInMs = connectionTimeoutInMs; + SearchBaseDistinguishedName = searchBaseDistinguishedName; + SearchFilterTemplate = searchFilterTemplate; + ServerCertificates = serverCertificates; + ServerHostname = serverHostname; + ServerPort = serverPort; + ServiceUserDistinguishedName = serviceUserDistinguishedName; + ServiceUserPassword = serviceUserPassword; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AutoscaleSettingsResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AutoscaleSettingsResponse.cs new file mode 100644 index 000000000000..da191cbe796d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/AutoscaleSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class AutoscaleSettingsResponse + { + /// + /// Represents maximum throughput, the resource can scale up to. + /// + public readonly int? MaxThroughput; + + [OutputConstructor] + private AutoscaleSettingsResponse(int? maxThroughput) + { + MaxThroughput = maxThroughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/BackupPolicyMigrationStateResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/BackupPolicyMigrationStateResponse.cs new file mode 100644 index 000000000000..5c995e95d88b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/BackupPolicyMigrationStateResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The object representing the state of the migration between the backup policies. + /// + [OutputType] + public sealed class BackupPolicyMigrationStateResponse + { + /// + /// Time at which the backup policy migration started (ISO-8601 format). + /// + public readonly string? StartTime; + /// + /// Describes the status of migration between backup policy types. + /// + public readonly string? Status; + /// + /// Describes the target backup policy type of the backup policy migration. + /// + public readonly string? TargetType; + + [OutputConstructor] + private BackupPolicyMigrationStateResponse( + string? startTime, + + string? status, + + string? targetType) + { + StartTime = startTime; + Status = status; + TargetType = targetType; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/BackupScheduleResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/BackupScheduleResponse.cs new file mode 100644 index 000000000000..05ea1d77dbee --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/BackupScheduleResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class BackupScheduleResponse + { + /// + /// The cron expression that defines when you want to back up your data. + /// + public readonly string? CronExpression; + /// + /// The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + /// + public readonly int? RetentionInHours; + /// + /// The unique identifier of backup schedule. + /// + public readonly string? ScheduleName; + + [OutputConstructor] + private BackupScheduleResponse( + string? cronExpression, + + int? retentionInHours, + + string? scheduleName) + { + CronExpression = cronExpression; + RetentionInHours = retentionInHours; + ScheduleName = scheduleName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CapabilityResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CapabilityResponse.cs new file mode 100644 index 000000000000..527d9f76abd5 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CapabilityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB capability object + /// + [OutputType] + public sealed class CapabilityResponse + { + /// + /// Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + /// + public readonly string? Name; + + [OutputConstructor] + private CapabilityResponse(string? name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CapacityResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CapacityResponse.cs new file mode 100644 index 000000000000..e2377f781db0 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CapacityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The object that represents all properties related to capacity enforcement on an account. + /// + [OutputType] + public sealed class CapacityResponse + { + /// + /// The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + /// + public readonly int? TotalThroughputLimit; + + [OutputConstructor] + private CapacityResponse(int? totalThroughputLimit) + { + TotalThroughputLimit = totalThroughputLimit; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraErrorResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraErrorResponse.cs new file mode 100644 index 000000000000..f54a5a00e4c1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraErrorResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraErrorResponse + { + /// + /// Additional information about the error. + /// + public readonly string? AdditionalErrorInfo; + /// + /// The code of error that occurred. + /// + public readonly string? Code; + /// + /// The message of the error. + /// + public readonly string? Message; + /// + /// The target resource of the error. + /// + public readonly string? Target; + + [OutputConstructor] + private CassandraErrorResponse( + string? additionalErrorInfo, + + string? code, + + string? message, + + string? target) + { + AdditionalErrorInfo = additionalErrorInfo; + Code = code; + Message = message; + Target = target; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraKeyspaceGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraKeyspaceGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..5722ddfa32a9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraKeyspaceGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraKeyspaceGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private CassandraKeyspaceGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraKeyspaceGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraKeyspaceGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..fa08ebf2c795 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraKeyspaceGetPropertiesResponseResource.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraKeyspaceGetPropertiesResponseResource + { + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Cassandra keyspace + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private CassandraKeyspaceGetPropertiesResponseResource( + string etag, + + string id, + + string rid, + + double ts) + { + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraPartitionKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraPartitionKeyResponse.cs new file mode 100644 index 000000000000..e4acff1d4948 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraPartitionKeyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB Cassandra table partition key + /// + [OutputType] + public sealed class CassandraPartitionKeyResponse + { + /// + /// Name of the Cosmos DB Cassandra table partition key + /// + public readonly string? Name; + + [OutputConstructor] + private CassandraPartitionKeyResponse(string? name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraSchemaResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraSchemaResponse.cs new file mode 100644 index 000000000000..a7bd8f852019 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraSchemaResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB Cassandra table schema + /// + [OutputType] + public sealed class CassandraSchemaResponse + { + /// + /// List of cluster key. + /// + public readonly ImmutableArray ClusterKeys; + /// + /// List of Cassandra table columns. + /// + public readonly ImmutableArray Columns; + /// + /// List of partition key. + /// + public readonly ImmutableArray PartitionKeys; + + [OutputConstructor] + private CassandraSchemaResponse( + ImmutableArray clusterKeys, + + ImmutableArray columns, + + ImmutableArray partitionKeys) + { + ClusterKeys = clusterKeys; + Columns = columns; + PartitionKeys = partitionKeys; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraTableGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraTableGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..d6bf472f189e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraTableGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraTableGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private CassandraTableGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraTableGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraTableGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..c3a54140a1de --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraTableGetPropertiesResponseResource.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraTableGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly int? AnalyticalStorageTtl; + /// + /// Time to live of the Cosmos DB Cassandra table + /// + public readonly int? DefaultTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Cassandra table + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// Schema of the Cosmos DB Cassandra table + /// + public readonly Outputs.CassandraSchemaResponse? Schema; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private CassandraTableGetPropertiesResponseResource( + int? analyticalStorageTtl, + + int? defaultTtl, + + string etag, + + string id, + + string rid, + + Outputs.CassandraSchemaResponse? schema, + + double ts) + { + AnalyticalStorageTtl = analyticalStorageTtl; + DefaultTtl = defaultTtl; + Etag = etag; + Id = id; + Rid = rid; + Schema = schema; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraViewGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraViewGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..505eb89cff69 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraViewGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraViewGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private CassandraViewGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraViewGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraViewGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..41845d61dd00 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CassandraViewGetPropertiesResponseResource.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CassandraViewGetPropertiesResponseResource + { + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Cassandra view + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// View Definition of the Cosmos DB Cassandra view + /// + public readonly string ViewDefinition; + + [OutputConstructor] + private CassandraViewGetPropertiesResponseResource( + string etag, + + string id, + + string rid, + + double ts, + + string viewDefinition) + { + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + ViewDefinition = viewDefinition; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CertificateResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CertificateResponse.cs new file mode 100644 index 000000000000..e897fa464b7d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CertificateResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CertificateResponse + { + /// + /// PEM formatted public key. + /// + public readonly string? Pem; + + [OutputConstructor] + private CertificateResponse(string? pem) + { + Pem = pem; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClientEncryptionIncludedPathResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClientEncryptionIncludedPathResponse.cs new file mode 100644 index 000000000000..b9805c69a507 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClientEncryptionIncludedPathResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// . + /// + [OutputType] + public sealed class ClientEncryptionIncludedPathResponse + { + /// + /// The identifier of the Client Encryption Key to be used to encrypt the path. + /// + public readonly string ClientEncryptionKeyId; + /// + /// The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + /// + public readonly string EncryptionAlgorithm; + /// + /// The type of encryption to be performed. Eg - Deterministic, Randomized. + /// + public readonly string EncryptionType; + /// + /// Path that needs to be encrypted. + /// + public readonly string Path; + + [OutputConstructor] + private ClientEncryptionIncludedPathResponse( + string clientEncryptionKeyId, + + string encryptionAlgorithm, + + string encryptionType, + + string path) + { + ClientEncryptionKeyId = clientEncryptionKeyId; + EncryptionAlgorithm = encryptionAlgorithm; + EncryptionType = encryptionType; + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClientEncryptionPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClientEncryptionPolicyResponse.cs new file mode 100644 index 000000000000..7b934f6f9c7b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClientEncryptionPolicyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB client encryption policy. + /// + [OutputType] + public sealed class ClientEncryptionPolicyResponse + { + /// + /// Paths of the item that need encryption along with path-specific settings. + /// + public readonly ImmutableArray IncludedPaths; + /// + /// Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + /// + public readonly int PolicyFormatVersion; + + [OutputConstructor] + private ClientEncryptionPolicyResponse( + ImmutableArray includedPaths, + + int policyFormatVersion) + { + IncludedPaths = includedPaths; + PolicyFormatVersion = policyFormatVersion; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClusterKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClusterKeyResponse.cs new file mode 100644 index 000000000000..9ba819dcb2f2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClusterKeyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB Cassandra table cluster key + /// + [OutputType] + public sealed class ClusterKeyResponse + { + /// + /// Name of the Cosmos DB Cassandra table cluster key + /// + public readonly string? Name; + /// + /// Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + /// + public readonly string? OrderBy; + + [OutputConstructor] + private ClusterKeyResponse( + string? name, + + string? orderBy) + { + Name = name; + OrderBy = orderBy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClusterResourceResponseProperties.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClusterResourceResponseProperties.cs new file mode 100644 index 000000000000..509fcd0c314c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ClusterResourceResponseProperties.cs @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Properties of a managed Cassandra cluster. + /// + [OutputType] + public sealed class ClusterResourceResponseProperties + { + /// + /// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + /// + public readonly string? AuthenticationMethod; + /// + /// List of backup schedules that define when you want to back up your data. + /// + public readonly ImmutableArray BackupSchedules; + /// + /// Whether Cassandra audit logging is enabled + /// + public readonly bool? CassandraAuditLoggingEnabled; + /// + /// Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + /// + public readonly string? CassandraVersion; + /// + /// List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + /// + public readonly ImmutableArray ClientCertificates; + /// + /// If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + /// + public readonly string? ClusterNameOverride; + /// + /// Type of the cluster. If set to Production, some operations might not be permitted on cluster. + /// + public readonly string? ClusterType; + /// + /// Whether the cluster and associated data centers has been deallocated. + /// + public readonly bool? Deallocated; + /// + /// Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>' + /// + public readonly string? DelegatedManagementSubnetId; + /// + /// Extensions to be added or updated on cluster. + /// + public readonly ImmutableArray Extensions; + /// + /// List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + /// + public readonly ImmutableArray ExternalGossipCertificates; + /// + /// List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + /// + public readonly ImmutableArray ExternalSeedNodes; + /// + /// List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + /// + public readonly ImmutableArray GossipCertificates; + /// + /// (Deprecated) Number of hours to wait between taking a backup of the cluster. + /// + public readonly int? HoursBetweenBackups; + /// + /// Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + /// + public readonly Outputs.SeedNodeResponse? PrometheusEndpoint; + /// + /// Error related to resource provisioning. + /// + public readonly Outputs.CassandraErrorResponse? ProvisionError; + /// + /// The status of the resource at the time the operation was called. + /// + public readonly string? ProvisioningState; + /// + /// Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + /// + public readonly bool? RepairEnabled; + /// + /// List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + /// + public readonly ImmutableArray SeedNodes; + + [OutputConstructor] + private ClusterResourceResponseProperties( + string? authenticationMethod, + + ImmutableArray backupSchedules, + + bool? cassandraAuditLoggingEnabled, + + string? cassandraVersion, + + ImmutableArray clientCertificates, + + string? clusterNameOverride, + + string? clusterType, + + bool? deallocated, + + string? delegatedManagementSubnetId, + + ImmutableArray extensions, + + ImmutableArray externalGossipCertificates, + + ImmutableArray externalSeedNodes, + + ImmutableArray gossipCertificates, + + int? hoursBetweenBackups, + + Outputs.SeedNodeResponse? prometheusEndpoint, + + Outputs.CassandraErrorResponse? provisionError, + + string? provisioningState, + + bool? repairEnabled, + + ImmutableArray seedNodes) + { + AuthenticationMethod = authenticationMethod; + BackupSchedules = backupSchedules; + CassandraAuditLoggingEnabled = cassandraAuditLoggingEnabled; + CassandraVersion = cassandraVersion; + ClientCertificates = clientCertificates; + ClusterNameOverride = clusterNameOverride; + ClusterType = clusterType; + Deallocated = deallocated; + DelegatedManagementSubnetId = delegatedManagementSubnetId; + Extensions = extensions; + ExternalGossipCertificates = externalGossipCertificates; + ExternalSeedNodes = externalSeedNodes; + GossipCertificates = gossipCertificates; + HoursBetweenBackups = hoursBetweenBackups; + PrometheusEndpoint = prometheusEndpoint; + ProvisionError = provisionError; + ProvisioningState = provisioningState; + RepairEnabled = repairEnabled; + SeedNodes = seedNodes; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ColumnResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ColumnResponse.cs new file mode 100644 index 000000000000..9f1bde4a338e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ColumnResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB Cassandra table column + /// + [OutputType] + public sealed class ColumnResponse + { + /// + /// Name of the Cosmos DB Cassandra table column + /// + public readonly string? Name; + /// + /// Type of the Cosmos DB Cassandra table column + /// + public readonly string? Type; + + [OutputConstructor] + private ColumnResponse( + string? name, + + string? type) + { + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CompositePathResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CompositePathResponse.cs new file mode 100644 index 000000000000..cfdd054ad39e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CompositePathResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class CompositePathResponse + { + /// + /// Sort order for composite paths. + /// + public readonly string? Order; + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + + [OutputConstructor] + private CompositePathResponse( + string? order, + + string? path) + { + Order = order; + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConflictResolutionPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConflictResolutionPolicyResponse.cs new file mode 100644 index 000000000000..0105770a51b9 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConflictResolutionPolicyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The conflict resolution policy for the container. + /// + [OutputType] + public sealed class ConflictResolutionPolicyResponse + { + /// + /// The conflict resolution path in the case of LastWriterWins mode. + /// + public readonly string? ConflictResolutionPath; + /// + /// The procedure to resolve conflicts in the case of custom mode. + /// + public readonly string? ConflictResolutionProcedure; + /// + /// Indicates the conflict resolution mode. + /// + public readonly string? Mode; + + [OutputConstructor] + private ConflictResolutionPolicyResponse( + string? conflictResolutionPath, + + string? conflictResolutionProcedure, + + string? mode) + { + ConflictResolutionPath = conflictResolutionPath; + ConflictResolutionProcedure = conflictResolutionProcedure; + Mode = mode; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConnectionStringResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConnectionStringResponse.cs new file mode 100644 index 000000000000..b78f1520a74f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConnectionStringResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Connection string for the mongo cluster + /// + [OutputType] + public sealed class ConnectionStringResponse + { + /// + /// Value of the connection string + /// + public readonly string ConnectionString; + /// + /// Description of the connection string + /// + public readonly string Description; + + [OutputConstructor] + private ConnectionStringResponse( + string connectionString, + + string description) + { + ConnectionString = connectionString; + Description = description; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConsistencyPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConsistencyPolicyResponse.cs new file mode 100644 index 000000000000..69fd27b76627 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ConsistencyPolicyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The consistency policy for the Cosmos DB database account. + /// + [OutputType] + public sealed class ConsistencyPolicyResponse + { + /// + /// The default consistency level and configuration settings of the Cosmos DB account. + /// + public readonly string DefaultConsistencyLevel; + /// + /// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + public readonly int? MaxIntervalInSeconds; + /// + /// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + /// + public readonly double? MaxStalenessPrefix; + + [OutputConstructor] + private ConsistencyPolicyResponse( + string defaultConsistencyLevel, + + int? maxIntervalInSeconds, + + double? maxStalenessPrefix) + { + DefaultConsistencyLevel = defaultConsistencyLevel; + MaxIntervalInSeconds = maxIntervalInSeconds; + MaxStalenessPrefix = maxStalenessPrefix; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContainerPartitionKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContainerPartitionKeyResponse.cs new file mode 100644 index 000000000000..c67201355d1f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContainerPartitionKeyResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + [OutputType] + public sealed class ContainerPartitionKeyResponse + { + /// + /// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + /// + public readonly string? Kind; + /// + /// List of paths using which data within the container can be partitioned + /// + public readonly ImmutableArray Paths; + /// + /// Indicates if the container is using a system generated partition key + /// + public readonly bool SystemKey; + /// + /// Indicates the version of the partition key definition + /// + public readonly int? Version; + + [OutputConstructor] + private ContainerPartitionKeyResponse( + string? kind, + + ImmutableArray paths, + + bool systemKey, + + int? version) + { + Kind = kind; + Paths = paths; + SystemKey = systemKey; + Version = version; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContinuousModeBackupPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContinuousModeBackupPolicyResponse.cs new file mode 100644 index 000000000000..1ab01b9233bc --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContinuousModeBackupPolicyResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The object representing continuous mode backup policy. + /// + [OutputType] + public sealed class ContinuousModeBackupPolicyResponse + { + /// + /// Configuration values for continuous mode backup + /// + public readonly Outputs.ContinuousModePropertiesResponse? ContinuousModeProperties; + /// + /// The object representing the state of the migration between the backup policies. + /// + public readonly Outputs.BackupPolicyMigrationStateResponse? MigrationState; + /// + /// Describes the mode of backups. + /// Expected value is 'Continuous'. + /// + public readonly string Type; + + [OutputConstructor] + private ContinuousModeBackupPolicyResponse( + Outputs.ContinuousModePropertiesResponse? continuousModeProperties, + + Outputs.BackupPolicyMigrationStateResponse? migrationState, + + string type) + { + ContinuousModeProperties = continuousModeProperties; + MigrationState = migrationState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContinuousModePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContinuousModePropertiesResponse.cs new file mode 100644 index 000000000000..2a446fe48c57 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ContinuousModePropertiesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Configuration values for periodic mode backup + /// + [OutputType] + public sealed class ContinuousModePropertiesResponse + { + /// + /// Enum to indicate type of Continuos backup mode + /// + public readonly string? Tier; + + [OutputConstructor] + private ContinuousModePropertiesResponse(string? tier) + { + Tier = tier; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CorsPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CorsPolicyResponse.cs new file mode 100644 index 000000000000..30b80bd5fff2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/CorsPolicyResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The CORS policy for the Cosmos DB database account. + /// + [OutputType] + public sealed class CorsPolicyResponse + { + /// + /// The request headers that the origin domain may specify on the CORS request. + /// + public readonly string? AllowedHeaders; + /// + /// The methods (HTTP request verbs) that the origin domain may use for a CORS request. + /// + public readonly string? AllowedMethods; + /// + /// The origin domains that are permitted to make a request against the service via CORS. + /// + public readonly string AllowedOrigins; + /// + /// The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + /// + public readonly string? ExposedHeaders; + /// + /// The maximum amount time that a browser should cache the preflight OPTIONS request. + /// + public readonly double? MaxAgeInSeconds; + + [OutputConstructor] + private CorsPolicyResponse( + string? allowedHeaders, + + string? allowedMethods, + + string allowedOrigins, + + string? exposedHeaders, + + double? maxAgeInSeconds) + { + AllowedHeaders = allowedHeaders; + AllowedMethods = allowedMethods; + AllowedOrigins = allowedOrigins; + ExposedHeaders = exposedHeaders; + MaxAgeInSeconds = maxAgeInSeconds; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataCenterResourceResponseProperties.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataCenterResourceResponseProperties.cs new file mode 100644 index 000000000000..8ca21f7bfb4c --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataCenterResourceResponseProperties.cs @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Properties of a managed Cassandra data center. + /// + [OutputType] + public sealed class DataCenterResourceResponseProperties + { + /// + /// Ldap authentication method properties. This feature is in preview. + /// + public readonly Outputs.AuthenticationMethodLdapPropertiesResponse? AuthenticationMethodLdapProperties; + /// + /// If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + /// + public readonly bool? AvailabilityZone; + /// + /// Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + /// + public readonly string? BackupStorageCustomerKeyUri; + /// + /// A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + /// + public readonly string? Base64EncodedCassandraYamlFragment; + /// + /// The region this data center should be created in. + /// + public readonly string? DataCenterLocation; + /// + /// Whether the data center has been deallocated. + /// + public readonly bool? Deallocated; + /// + /// Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Network/virtualNetworks/<virtual network>/subnets/<subnet>'. + /// + public readonly string? DelegatedSubnetId; + /// + /// Number of disks attached to each node. Default is 4. + /// + public readonly int? DiskCapacity; + /// + /// Disk SKU used for data centers. Default value is P30. + /// + public readonly string? DiskSku; + /// + /// Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + /// + public readonly string? ManagedDiskCustomerKeyUri; + /// + /// The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + /// + public readonly int? NodeCount; + /// + /// Error related to resource provisioning. + /// + public readonly Outputs.CassandraErrorResponse? ProvisionError; + /// + /// The status of the resource at the time the operation was called. + /// + public readonly string? ProvisioningState; + /// + /// IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + /// + public readonly ImmutableArray SeedNodes; + /// + /// Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + /// + public readonly string? Sku; + + [OutputConstructor] + private DataCenterResourceResponseProperties( + Outputs.AuthenticationMethodLdapPropertiesResponse? authenticationMethodLdapProperties, + + bool? availabilityZone, + + string? backupStorageCustomerKeyUri, + + string? base64EncodedCassandraYamlFragment, + + string? dataCenterLocation, + + bool? deallocated, + + string? delegatedSubnetId, + + int? diskCapacity, + + string? diskSku, + + string? managedDiskCustomerKeyUri, + + int? nodeCount, + + Outputs.CassandraErrorResponse? provisionError, + + string? provisioningState, + + ImmutableArray seedNodes, + + string? sku) + { + AuthenticationMethodLdapProperties = authenticationMethodLdapProperties; + AvailabilityZone = availabilityZone; + BackupStorageCustomerKeyUri = backupStorageCustomerKeyUri; + Base64EncodedCassandraYamlFragment = base64EncodedCassandraYamlFragment; + DataCenterLocation = dataCenterLocation; + Deallocated = deallocated; + DelegatedSubnetId = delegatedSubnetId; + DiskCapacity = diskCapacity; + DiskSku = diskSku; + ManagedDiskCustomerKeyUri = managedDiskCustomerKeyUri; + NodeCount = nodeCount; + ProvisionError = provisionError; + ProvisioningState = provisioningState; + SeedNodes = seedNodes; + Sku = sku; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataTransferRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataTransferRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..b3ae2ed2e417 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataTransferRegionalServiceResourceResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class DataTransferRegionalServiceResourceResponse + { + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private DataTransferRegionalServiceResourceResponse( + string location, + + string name, + + string status) + { + Location = location; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataTransferServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataTransferServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..46224ce2d71f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DataTransferServiceResourcePropertiesResponse.cs @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Properties for DataTransferServiceResource. + /// + [OutputType] + public sealed class DataTransferServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'DataTransfer'. + /// + public readonly string ServiceType; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private DataTransferServiceResourcePropertiesResponse( + string creationTime, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string status) + { + CreationTime = creationTime; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseAccountConnectionStringResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseAccountConnectionStringResponse.cs new file mode 100644 index 000000000000..44dd2385a263 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseAccountConnectionStringResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Connection string for the Cosmos DB account + /// + [OutputType] + public sealed class DatabaseAccountConnectionStringResponse + { + /// + /// Value of the connection string + /// + public readonly string ConnectionString; + /// + /// Description of the connection string + /// + public readonly string Description; + /// + /// Kind of the connection string key + /// + public readonly string KeyKind; + /// + /// Type of the connection string + /// + public readonly string Type; + + [OutputConstructor] + private DatabaseAccountConnectionStringResponse( + string connectionString, + + string description, + + string keyKind, + + string type) + { + ConnectionString = connectionString; + Description = description; + KeyKind = keyKind; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseAccountKeysMetadataResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseAccountKeysMetadataResponse.cs new file mode 100644 index 000000000000..e5a09f6d1f4f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseAccountKeysMetadataResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The metadata related to each access key for the given Cosmos DB database account. + /// + [OutputType] + public sealed class DatabaseAccountKeysMetadataResponse + { + /// + /// The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse PrimaryMasterKey; + /// + /// The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse PrimaryReadonlyMasterKey; + /// + /// The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse SecondaryMasterKey; + /// + /// The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + /// + public readonly Outputs.AccountKeyMetadataResponse SecondaryReadonlyMasterKey; + + [OutputConstructor] + private DatabaseAccountKeysMetadataResponse( + Outputs.AccountKeyMetadataResponse primaryMasterKey, + + Outputs.AccountKeyMetadataResponse primaryReadonlyMasterKey, + + Outputs.AccountKeyMetadataResponse secondaryMasterKey, + + Outputs.AccountKeyMetadataResponse secondaryReadonlyMasterKey) + { + PrimaryMasterKey = primaryMasterKey; + PrimaryReadonlyMasterKey = primaryReadonlyMasterKey; + SecondaryMasterKey = secondaryMasterKey; + SecondaryReadonlyMasterKey = secondaryReadonlyMasterKey; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseRestoreResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseRestoreResourceResponse.cs new file mode 100644 index 000000000000..8dec1e7da016 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DatabaseRestoreResourceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Specific Databases to restore. + /// + [OutputType] + public sealed class DatabaseRestoreResourceResponse + { + /// + /// The names of the collections available for restore. + /// + public readonly ImmutableArray CollectionNames; + /// + /// The name of the database available for restore. + /// + public readonly string? DatabaseName; + + [OutputConstructor] + private DatabaseRestoreResourceResponse( + ImmutableArray collectionNames, + + string? databaseName) + { + CollectionNames = collectionNames; + DatabaseName = databaseName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DiagnosticLogSettingsResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DiagnosticLogSettingsResponse.cs new file mode 100644 index 000000000000..7a9a12711ae6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/DiagnosticLogSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Indicates what diagnostic log settings are to be enabled. + /// + [OutputType] + public sealed class DiagnosticLogSettingsResponse + { + /// + /// Describe the level of detail with which queries are to be logged. + /// + public readonly string? EnableFullTextQuery; + + [OutputConstructor] + private DiagnosticLogSettingsResponse(string? enableFullTextQuery) + { + EnableFullTextQuery = enableFullTextQuery; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ExcludedPathResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ExcludedPathResponse.cs new file mode 100644 index 000000000000..971927bf64d6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ExcludedPathResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class ExcludedPathResponse + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + + [OutputConstructor] + private ExcludedPathResponse(string? path) + { + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/FailoverPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/FailoverPolicyResponse.cs new file mode 100644 index 000000000000..faf545dbfc84 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/FailoverPolicyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The failover policy for a given region of a database account. + /// + [OutputType] + public sealed class FailoverPolicyResponse + { + /// + /// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + /// + public readonly int? FailoverPriority; + /// + /// The unique identifier of the region in which the database account replicates to. Example: &lt;accountName&gt;-&lt;locationName&gt;. + /// + public readonly string Id; + /// + /// The name of the region in which the database account exists. + /// + public readonly string? LocationName; + + [OutputConstructor] + private FailoverPolicyResponse( + int? failoverPriority, + + string id, + + string? locationName) + { + FailoverPriority = failoverPriority; + Id = id; + LocationName = locationName; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphAPIComputeRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphAPIComputeRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..31fa11f512a2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphAPIComputeRegionalServiceResourceResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class GraphAPIComputeRegionalServiceResourceResponse + { + /// + /// The regional endpoint for GraphAPICompute. + /// + public readonly string GraphApiComputeEndpoint; + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private GraphAPIComputeRegionalServiceResourceResponse( + string graphApiComputeEndpoint, + + string location, + + string name, + + string status) + { + GraphApiComputeEndpoint = graphApiComputeEndpoint; + Location = location; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphAPIComputeServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphAPIComputeServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..96e9b07411c6 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphAPIComputeServiceResourcePropertiesResponse.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Properties for GraphAPIComputeServiceResource. + /// + [OutputType] + public sealed class GraphAPIComputeServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// GraphAPICompute endpoint for the service. + /// + public readonly string? GraphApiComputeEndpoint; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'GraphAPICompute'. + /// + public readonly string ServiceType; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private GraphAPIComputeServiceResourcePropertiesResponse( + string creationTime, + + string? graphApiComputeEndpoint, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string status) + { + CreationTime = creationTime; + GraphApiComputeEndpoint = graphApiComputeEndpoint; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphResourceGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphResourceGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..1c31d6529f21 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphResourceGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class GraphResourceGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private GraphResourceGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphResourceGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphResourceGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..74371704b4b2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GraphResourceGetPropertiesResponseResource.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class GraphResourceGetPropertiesResponseResource + { + /// + /// Name of the Cosmos DB Graph + /// + public readonly string Id; + + [OutputConstructor] + private GraphResourceGetPropertiesResponseResource(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..716b1f3ed919 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class GremlinDatabaseGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private GremlinDatabaseGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..0e3a9ecb8fff --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseGetPropertiesResponseResource.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class GremlinDatabaseGetPropertiesResponseResource + { + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Gremlin database + /// + public readonly string Id; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private GremlinDatabaseGetPropertiesResponseResource( + string? createMode, + + string etag, + + string id, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + double ts) + { + CreateMode = createMode; + Etag = etag; + Id = id; + RestoreParameters = restoreParameters; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseRestoreResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseRestoreResourceResponse.cs new file mode 100644 index 000000000000..271cb8b78939 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinDatabaseRestoreResourceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Specific Gremlin Databases to restore. + /// + [OutputType] + public sealed class GremlinDatabaseRestoreResourceResponse + { + /// + /// The name of the gremlin database available for restore. + /// + public readonly string? DatabaseName; + /// + /// The names of the graphs available for restore. + /// + public readonly ImmutableArray GraphNames; + + [OutputConstructor] + private GremlinDatabaseRestoreResourceResponse( + string? databaseName, + + ImmutableArray graphNames) + { + DatabaseName = databaseName; + GraphNames = graphNames; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinGraphGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinGraphGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..b8107cd9c7df --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinGraphGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class GremlinGraphGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private GremlinGraphGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinGraphGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinGraphGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..ba28acfd9c6f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/GremlinGraphGetPropertiesResponseResource.cs @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class GremlinGraphGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly double? AnalyticalStorageTtl; + /// + /// The conflict resolution policy for the graph. + /// + public readonly Outputs.ConflictResolutionPolicyResponse? ConflictResolutionPolicy; + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// Default time to live + /// + public readonly int? DefaultTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB Gremlin graph + /// + public readonly string Id; + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + /// + public readonly Outputs.IndexingPolicyResponse? IndexingPolicy; + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + public readonly Outputs.ContainerPartitionKeyResponse? PartitionKey; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + public readonly Outputs.UniqueKeyPolicyResponse? UniqueKeyPolicy; + + [OutputConstructor] + private GremlinGraphGetPropertiesResponseResource( + double? analyticalStorageTtl, + + Outputs.ConflictResolutionPolicyResponse? conflictResolutionPolicy, + + string? createMode, + + int? defaultTtl, + + string etag, + + string id, + + Outputs.IndexingPolicyResponse? indexingPolicy, + + Outputs.ContainerPartitionKeyResponse? partitionKey, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + double ts, + + Outputs.UniqueKeyPolicyResponse? uniqueKeyPolicy) + { + AnalyticalStorageTtl = analyticalStorageTtl; + ConflictResolutionPolicy = conflictResolutionPolicy; + CreateMode = createMode; + DefaultTtl = defaultTtl; + Etag = etag; + Id = id; + IndexingPolicy = indexingPolicy; + PartitionKey = partitionKey; + RestoreParameters = restoreParameters; + Rid = rid; + Ts = ts; + UniqueKeyPolicy = uniqueKeyPolicy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IncludedPathResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IncludedPathResponse.cs new file mode 100644 index 000000000000..b205b8fd2e55 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IncludedPathResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The paths that are included in indexing + /// + [OutputType] + public sealed class IncludedPathResponse + { + /// + /// List of indexes for this path + /// + public readonly ImmutableArray Indexes; + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + + [OutputConstructor] + private IncludedPathResponse( + ImmutableArray indexes, + + string? path) + { + Indexes = indexes; + Path = path; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IndexesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IndexesResponse.cs new file mode 100644 index 000000000000..86d55ce9ca77 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IndexesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The indexes for the path. + /// + [OutputType] + public sealed class IndexesResponse + { + /// + /// The datatype for which the indexing behavior is applied to. + /// + public readonly string? DataType; + /// + /// Indicates the type of index. + /// + public readonly string? Kind; + /// + /// The precision of the index. -1 is maximum precision. + /// + public readonly int? Precision; + + [OutputConstructor] + private IndexesResponse( + string? dataType, + + string? kind, + + int? precision) + { + DataType = dataType; + Kind = kind; + Precision = precision; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IndexingPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IndexingPolicyResponse.cs new file mode 100644 index 000000000000..d130ae65331a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IndexingPolicyResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB indexing policy + /// + [OutputType] + public sealed class IndexingPolicyResponse + { + /// + /// Indicates if the indexing policy is automatic + /// + public readonly bool? Automatic; + /// + /// List of composite path list + /// + public readonly ImmutableArray> CompositeIndexes; + /// + /// List of paths to exclude from indexing + /// + public readonly ImmutableArray ExcludedPaths; + /// + /// List of paths to include in the indexing + /// + public readonly ImmutableArray IncludedPaths; + /// + /// Indicates the indexing mode. + /// + public readonly string? IndexingMode; + /// + /// List of spatial specifics + /// + public readonly ImmutableArray SpatialIndexes; + + [OutputConstructor] + private IndexingPolicyResponse( + bool? automatic, + + ImmutableArray> compositeIndexes, + + ImmutableArray excludedPaths, + + ImmutableArray includedPaths, + + string? indexingMode, + + ImmutableArray spatialIndexes) + { + Automatic = automatic; + CompositeIndexes = compositeIndexes; + ExcludedPaths = excludedPaths; + IncludedPaths = includedPaths; + IndexingMode = indexingMode; + SpatialIndexes = spatialIndexes; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IpAddressOrRangeResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IpAddressOrRangeResponse.cs new file mode 100644 index 000000000000..63779b8c905f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/IpAddressOrRangeResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// IpAddressOrRange object + /// + [OutputType] + public sealed class IpAddressOrRangeResponse + { + /// + /// A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + /// + public readonly string? IpAddressOrRange; + + [OutputConstructor] + private IpAddressOrRangeResponse(string? ipAddressOrRange) + { + IpAddressOrRange = ipAddressOrRange; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/LocationResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/LocationResponse.cs new file mode 100644 index 000000000000..84dc51f31003 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/LocationResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// A region in which the Azure Cosmos DB database account is deployed. + /// + [OutputType] + public sealed class LocationResponse + { + /// + /// The connection endpoint for the specific region. Example: https://&lt;accountName&gt;-&lt;locationName&gt;.documents.azure.com:443/ + /// + public readonly string DocumentEndpoint; + /// + /// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + /// + public readonly int? FailoverPriority; + /// + /// The unique identifier of the region within the database account. Example: &lt;accountName&gt;-&lt;locationName&gt;. + /// + public readonly string Id; + /// + /// Flag to indicate whether or not this region is an AvailabilityZone region + /// + public readonly bool? IsZoneRedundant; + /// + /// The name of the region. + /// + public readonly string? LocationName; + /// + /// The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + /// + public readonly string ProvisioningState; + + [OutputConstructor] + private LocationResponse( + string documentEndpoint, + + int? failoverPriority, + + string id, + + bool? isZoneRedundant, + + string? locationName, + + string provisioningState) + { + DocumentEndpoint = documentEndpoint; + FailoverPriority = failoverPriority; + Id = id; + IsZoneRedundant = isZoneRedundant; + LocationName = locationName; + ProvisioningState = provisioningState; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedCassandraManagedServiceIdentityResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedCassandraManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..2ff8155b123d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedCassandraManagedServiceIdentityResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class ManagedCassandraManagedServiceIdentityResponse + { + /// + /// The object id of the identity resource. + /// + public readonly string PrincipalId; + /// + /// The tenant id of the resource. + /// + public readonly string TenantId; + /// + /// The type of the resource. + /// + public readonly string? Type; + + [OutputConstructor] + private ManagedCassandraManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string? type) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..9818290fc058 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + /// + public readonly string? Type; + /// + /// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string? type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedServiceIdentityResponseUserAssignedIdentities.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedServiceIdentityResponseUserAssignedIdentities.cs new file mode 100644 index 000000000000..2cdb21786c12 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ManagedServiceIdentityResponseUserAssignedIdentities.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class ManagedServiceIdentityResponseUserAssignedIdentities + { + /// + /// The client id of user assigned identity. + /// + public readonly string ClientId; + /// + /// The principal id of user assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private ManagedServiceIdentityResponseUserAssignedIdentities( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewDefinitionResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewDefinitionResponse.cs new file mode 100644 index 000000000000..4b22a7ec4bb7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewDefinitionResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Materialized View definition for the container. + /// + [OutputType] + public sealed class MaterializedViewDefinitionResponse + { + /// + /// The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + /// + public readonly string Definition; + /// + /// The name of the source container on which the Materialized View will be created. + /// + public readonly string SourceCollectionId; + /// + /// An unique identifier for the source collection. This is a system generated property. + /// + public readonly string SourceCollectionRid; + + [OutputConstructor] + private MaterializedViewDefinitionResponse( + string definition, + + string sourceCollectionId, + + string sourceCollectionRid) + { + Definition = definition; + SourceCollectionId = sourceCollectionId; + SourceCollectionRid = sourceCollectionRid; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewsBuilderRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewsBuilderRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..d5343a079680 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewsBuilderRegionalServiceResourceResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class MaterializedViewsBuilderRegionalServiceResourceResponse + { + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private MaterializedViewsBuilderRegionalServiceResourceResponse( + string location, + + string name, + + string status) + { + Location = location; + Name = name; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewsBuilderServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewsBuilderServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..9fbcf8091a9b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MaterializedViewsBuilderServiceResourcePropertiesResponse.cs @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Properties for MaterializedViewsBuilderServiceResource. + /// + [OutputType] + public sealed class MaterializedViewsBuilderServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'MaterializedViewsBuilder'. + /// + public readonly string ServiceType; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private MaterializedViewsBuilderServiceResourcePropertiesResponse( + string creationTime, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string status) + { + CreationTime = creationTime; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBCollectionGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBCollectionGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..00c8c6fafb09 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBCollectionGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class MongoDBCollectionGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private MongoDBCollectionGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBCollectionGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBCollectionGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..c28c9b5041c1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBCollectionGetPropertiesResponseResource.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class MongoDBCollectionGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly int? AnalyticalStorageTtl; + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB MongoDB collection + /// + public readonly string Id; + /// + /// List of index keys + /// + public readonly ImmutableArray Indexes; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A key-value pair of shard keys to be applied for the request. + /// + public readonly ImmutableDictionary? ShardKey; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private MongoDBCollectionGetPropertiesResponseResource( + int? analyticalStorageTtl, + + string? createMode, + + string etag, + + string id, + + ImmutableArray indexes, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + ImmutableDictionary? shardKey, + + double ts) + { + AnalyticalStorageTtl = analyticalStorageTtl; + CreateMode = createMode; + Etag = etag; + Id = id; + Indexes = indexes; + RestoreParameters = restoreParameters; + Rid = rid; + ShardKey = shardKey; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBDatabaseGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBDatabaseGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..0e9845dca519 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBDatabaseGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class MongoDBDatabaseGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private MongoDBDatabaseGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBDatabaseGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBDatabaseGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..042a053b0ce3 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoDBDatabaseGetPropertiesResponseResource.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class MongoDBDatabaseGetPropertiesResponseResource + { + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB MongoDB database + /// + public readonly string Id; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private MongoDBDatabaseGetPropertiesResponseResource( + string? createMode, + + string etag, + + string id, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + double ts) + { + CreateMode = createMode; + Etag = etag; + Id = id; + RestoreParameters = restoreParameters; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexKeysResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexKeysResponse.cs new file mode 100644 index 000000000000..cc4798ef9367 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexKeysResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB MongoDB collection resource object + /// + [OutputType] + public sealed class MongoIndexKeysResponse + { + /// + /// List of keys for each MongoDB collection in the Azure Cosmos DB service + /// + public readonly ImmutableArray Keys; + + [OutputConstructor] + private MongoIndexKeysResponse(ImmutableArray keys) + { + Keys = keys; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexOptionsResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexOptionsResponse.cs new file mode 100644 index 000000000000..c9d6b0e81177 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexOptionsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB MongoDB collection index options + /// + [OutputType] + public sealed class MongoIndexOptionsResponse + { + /// + /// Expire after seconds + /// + public readonly int? ExpireAfterSeconds; + /// + /// Is unique or not + /// + public readonly bool? Unique; + + [OutputConstructor] + private MongoIndexOptionsResponse( + int? expireAfterSeconds, + + bool? unique) + { + ExpireAfterSeconds = expireAfterSeconds; + Unique = unique; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexResponse.cs new file mode 100644 index 000000000000..22b2111631c2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/MongoIndexResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Cosmos DB MongoDB collection index key + /// + [OutputType] + public sealed class MongoIndexResponse + { + /// + /// Cosmos DB MongoDB collection index keys + /// + public readonly Outputs.MongoIndexKeysResponse? Key; + /// + /// Cosmos DB MongoDB collection index key options + /// + public readonly Outputs.MongoIndexOptionsResponse? Options; + + [OutputConstructor] + private MongoIndexResponse( + Outputs.MongoIndexKeysResponse? key, + + Outputs.MongoIndexOptionsResponse? options) + { + Key = key; + Options = options; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/NodeGroupSpecResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/NodeGroupSpecResponse.cs new file mode 100644 index 000000000000..f23ba54fa3ca --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/NodeGroupSpecResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Specification for a node group. + /// + [OutputType] + public sealed class NodeGroupSpecResponse + { + /// + /// The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + /// + public readonly double? DiskSizeGB; + /// + /// Whether high availability is enabled on the node group. + /// + public readonly bool? EnableHa; + /// + /// The node type deployed in the node group. + /// + public readonly string? Kind; + /// + /// The number of nodes in the node group. + /// + public readonly int? NodeCount; + /// + /// The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + /// + public readonly string? Sku; + + [OutputConstructor] + private NodeGroupSpecResponse( + double? diskSizeGB, + + bool? enableHa, + + string? kind, + + int? nodeCount, + + string? sku) + { + DiskSizeGB = diskSizeGB; + EnableHa = enableHa; + Kind = kind; + NodeCount = nodeCount; + Sku = sku; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PeriodicModeBackupPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PeriodicModeBackupPolicyResponse.cs new file mode 100644 index 000000000000..760757d6b7e0 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PeriodicModeBackupPolicyResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The object representing periodic mode backup policy. + /// + [OutputType] + public sealed class PeriodicModeBackupPolicyResponse + { + /// + /// The object representing the state of the migration between the backup policies. + /// + public readonly Outputs.BackupPolicyMigrationStateResponse? MigrationState; + /// + /// Configuration values for periodic mode backup + /// + public readonly Outputs.PeriodicModePropertiesResponse? PeriodicModeProperties; + /// + /// Describes the mode of backups. + /// Expected value is 'Periodic'. + /// + public readonly string Type; + + [OutputConstructor] + private PeriodicModeBackupPolicyResponse( + Outputs.BackupPolicyMigrationStateResponse? migrationState, + + Outputs.PeriodicModePropertiesResponse? periodicModeProperties, + + string type) + { + MigrationState = migrationState; + PeriodicModeProperties = periodicModeProperties; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PeriodicModePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PeriodicModePropertiesResponse.cs new file mode 100644 index 000000000000..c9bb9092f425 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PeriodicModePropertiesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Configuration values for periodic mode backup + /// + [OutputType] + public sealed class PeriodicModePropertiesResponse + { + /// + /// An integer representing the interval in minutes between two backups + /// + public readonly int? BackupIntervalInMinutes; + /// + /// An integer representing the time (in hours) that each backup is retained + /// + public readonly int? BackupRetentionIntervalInHours; + /// + /// Enum to indicate type of backup residency + /// + public readonly string? BackupStorageRedundancy; + + [OutputConstructor] + private PeriodicModePropertiesResponse( + int? backupIntervalInMinutes, + + int? backupRetentionIntervalInHours, + + string? backupStorageRedundancy) + { + BackupIntervalInMinutes = backupIntervalInMinutes; + BackupRetentionIntervalInHours = backupRetentionIntervalInHours; + BackupStorageRedundancy = backupStorageRedundancy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PermissionResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PermissionResponse.cs new file mode 100644 index 000000000000..836c119b898a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PermissionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + [OutputType] + public sealed class PermissionResponse + { + /// + /// An array of data actions that are allowed. + /// + public readonly ImmutableArray DataActions; + /// + /// An array of data actions that are denied. + /// + public readonly ImmutableArray NotDataActions; + + [OutputConstructor] + private PermissionResponse( + ImmutableArray dataActions, + + ImmutableArray notDataActions) + { + DataActions = dataActions; + NotDataActions = notDataActions; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..5365a06c121e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// A private endpoint connection + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// Group id of the private endpoint. + /// + public readonly string? GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private endpoint which the connection belongs to. + /// + public readonly Outputs.PrivateEndpointPropertyResponse? PrivateEndpoint; + /// + /// Connection State of the Private Endpoint Connection. + /// + public readonly Outputs.PrivateLinkServiceConnectionStatePropertyResponse? PrivateLinkServiceConnectionState; + /// + /// Provisioning state of the private endpoint. + /// + public readonly string? ProvisioningState; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + string? groupId, + + string id, + + string name, + + Outputs.PrivateEndpointPropertyResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStatePropertyResponse? privateLinkServiceConnectionState, + + string? provisioningState, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateEndpointPropertyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateEndpointPropertyResponse.cs new file mode 100644 index 000000000000..df2e46cf91e7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateEndpointPropertyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Private endpoint which the connection belongs to. + /// + [OutputType] + public sealed class PrivateEndpointPropertyResponse + { + /// + /// Resource id of the private endpoint. + /// + public readonly string? Id; + + [OutputConstructor] + private PrivateEndpointPropertyResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs new file mode 100644 index 000000000000..18c700c64702 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Connection State of the Private Endpoint Connection. + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStatePropertyResponse + { + /// + /// Any action that is required beyond basic workflow (approve/ reject/ disconnect) + /// + public readonly string ActionsRequired; + /// + /// The private link service connection description. + /// + public readonly string? Description; + /// + /// The private link service connection status. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStatePropertyResponse( + string actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivilegeResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivilegeResponse.cs new file mode 100644 index 000000000000..8244aefd4df0 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivilegeResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The set of data plane operations permitted through this Role Definition. + /// + [OutputType] + public sealed class PrivilegeResponse + { + /// + /// An array of actions that are allowed. + /// + public readonly ImmutableArray Actions; + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + public readonly Outputs.PrivilegeResponseResource? Resource; + + [OutputConstructor] + private PrivilegeResponse( + ImmutableArray actions, + + Outputs.PrivilegeResponseResource? resource) + { + Actions = actions; + Resource = resource; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivilegeResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivilegeResponseResource.cs new file mode 100644 index 000000000000..de7d6dc789b1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/PrivilegeResponseResource.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// An Azure Cosmos DB Mongo DB Resource. + /// + [OutputType] + public sealed class PrivilegeResponseResource + { + /// + /// The collection name the role is applied. + /// + public readonly string? Collection; + /// + /// The database name the role is applied. + /// + public readonly string? Db; + + [OutputConstructor] + private PrivilegeResponseResource( + string? collection, + + string? db) + { + Collection = collection; + Db = db; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ResourceRestoreParametersResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ResourceRestoreParametersResponse.cs new file mode 100644 index 000000000000..b9f78745ea1b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/ResourceRestoreParametersResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Parameters to indicate the information about the restore. + /// + [OutputType] + public sealed class ResourceRestoreParametersResponse + { + /// + /// The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + public readonly string? RestoreSource; + /// + /// Time to which the account has to be restored (ISO-8601 format). + /// + public readonly string? RestoreTimestampInUtc; + + [OutputConstructor] + private ResourceRestoreParametersResponse( + string? restoreSource, + + string? restoreTimestampInUtc) + { + RestoreSource = restoreSource; + RestoreTimestampInUtc = restoreTimestampInUtc; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/RestoreParametersResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/RestoreParametersResponse.cs new file mode 100644 index 000000000000..9e8d925bc5a1 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/RestoreParametersResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Parameters to indicate the information about the restore. + /// + [OutputType] + public sealed class RestoreParametersResponse + { + /// + /// List of specific databases available for restore. + /// + public readonly ImmutableArray DatabasesToRestore; + /// + /// List of specific gremlin databases available for restore. + /// + public readonly ImmutableArray GremlinDatabasesToRestore; + /// + /// Describes the mode of the restore. + /// + public readonly string? RestoreMode; + /// + /// The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + public readonly string? RestoreSource; + /// + /// Time to which the account has to be restored (ISO-8601 format). + /// + public readonly string? RestoreTimestampInUtc; + /// + /// The source backup location for restore. + /// + public readonly string? SourceBackupLocation; + /// + /// List of specific tables available for restore. + /// + public readonly ImmutableArray TablesToRestore; + + [OutputConstructor] + private RestoreParametersResponse( + ImmutableArray databasesToRestore, + + ImmutableArray gremlinDatabasesToRestore, + + string? restoreMode, + + string? restoreSource, + + string? restoreTimestampInUtc, + + string? sourceBackupLocation, + + ImmutableArray tablesToRestore) + { + DatabasesToRestore = databasesToRestore; + GremlinDatabasesToRestore = gremlinDatabasesToRestore; + RestoreMode = restoreMode; + RestoreSource = restoreSource; + RestoreTimestampInUtc = restoreTimestampInUtc; + SourceBackupLocation = sourceBackupLocation; + TablesToRestore = tablesToRestore; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/RoleResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/RoleResponse.cs new file mode 100644 index 000000000000..68b3fcecfe78 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/RoleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The set of roles permitted through this Role Definition. + /// + [OutputType] + public sealed class RoleResponse + { + /// + /// The database name the role is applied. + /// + public readonly string? Db; + /// + /// The role name. + /// + public readonly string? Role; + + [OutputConstructor] + private RoleResponse( + string? db, + + string? role) + { + Db = db; + Role = role; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SeedNodeResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SeedNodeResponse.cs new file mode 100644 index 000000000000..62172ee1d939 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SeedNodeResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SeedNodeResponse + { + /// + /// IP address of this seed node. + /// + public readonly string? IpAddress; + + [OutputConstructor] + private SeedNodeResponse(string? ipAddress) + { + IpAddress = ipAddress; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SpatialSpecResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SpatialSpecResponse.cs new file mode 100644 index 000000000000..9ead9ada5ac4 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SpatialSpecResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SpatialSpecResponse + { + /// + /// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + /// + public readonly string? Path; + /// + /// List of path's spatial type + /// + public readonly ImmutableArray Types; + + [OutputConstructor] + private SpatialSpecResponse( + string? path, + + ImmutableArray types) + { + Path = path; + Types = types; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlContainerGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlContainerGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..15ea59c455aa --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlContainerGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlContainerGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private SqlContainerGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlContainerGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlContainerGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..4b67932df2ae --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlContainerGetPropertiesResponseResource.cs @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlContainerGetPropertiesResponseResource + { + /// + /// Analytical TTL. + /// + public readonly double? AnalyticalStorageTtl; + /// + /// The client encryption policy for the container. + /// + public readonly Outputs.ClientEncryptionPolicyResponse? ClientEncryptionPolicy; + /// + /// The conflict resolution policy for the container. + /// + public readonly Outputs.ConflictResolutionPolicyResponse? ConflictResolutionPolicy; + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// Default time to live + /// + public readonly int? DefaultTtl; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL container + /// + public readonly string Id; + /// + /// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + /// + public readonly Outputs.IndexingPolicyResponse? IndexingPolicy; + /// + /// The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + /// + public readonly Outputs.MaterializedViewDefinitionResponse? MaterializedViewDefinition; + /// + /// The configuration of the partition key to be used for partitioning data into multiple partitions + /// + public readonly Outputs.ContainerPartitionKeyResponse? PartitionKey; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + public readonly Outputs.UniqueKeyPolicyResponse? UniqueKeyPolicy; + + [OutputConstructor] + private SqlContainerGetPropertiesResponseResource( + double? analyticalStorageTtl, + + Outputs.ClientEncryptionPolicyResponse? clientEncryptionPolicy, + + Outputs.ConflictResolutionPolicyResponse? conflictResolutionPolicy, + + string? createMode, + + int? defaultTtl, + + string etag, + + string id, + + Outputs.IndexingPolicyResponse? indexingPolicy, + + Outputs.MaterializedViewDefinitionResponse? materializedViewDefinition, + + Outputs.ContainerPartitionKeyResponse? partitionKey, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + double ts, + + Outputs.UniqueKeyPolicyResponse? uniqueKeyPolicy) + { + AnalyticalStorageTtl = analyticalStorageTtl; + ClientEncryptionPolicy = clientEncryptionPolicy; + ConflictResolutionPolicy = conflictResolutionPolicy; + CreateMode = createMode; + DefaultTtl = defaultTtl; + Etag = etag; + Id = id; + IndexingPolicy = indexingPolicy; + MaterializedViewDefinition = materializedViewDefinition; + PartitionKey = partitionKey; + RestoreParameters = restoreParameters; + Rid = rid; + Ts = ts; + UniqueKeyPolicy = uniqueKeyPolicy; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDatabaseGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDatabaseGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..37192481ae07 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDatabaseGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlDatabaseGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private SqlDatabaseGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDatabaseGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDatabaseGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..8fedf4c0911d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDatabaseGetPropertiesResponseResource.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlDatabaseGetPropertiesResponseResource + { + /// + /// A system generated property that specified the addressable path of the collections resource. + /// + public readonly string? Colls; + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL database + /// + public readonly string Id; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + /// + /// A system generated property that specifies the addressable path of the users resource. + /// + public readonly string? Users; + + [OutputConstructor] + private SqlDatabaseGetPropertiesResponseResource( + string? colls, + + string? createMode, + + string etag, + + string id, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + double ts, + + string? users) + { + Colls = colls; + CreateMode = createMode; + Etag = etag; + Id = id; + RestoreParameters = restoreParameters; + Rid = rid; + Ts = ts; + Users = users; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDedicatedGatewayRegionalServiceResourceResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDedicatedGatewayRegionalServiceResourceResponse.cs new file mode 100644 index 000000000000..c0fa40fee22a --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDedicatedGatewayRegionalServiceResourceResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Resource for a regional service location. + /// + [OutputType] + public sealed class SqlDedicatedGatewayRegionalServiceResourceResponse + { + /// + /// The location name. + /// + public readonly string Location; + /// + /// The regional service name. + /// + public readonly string Name; + /// + /// The regional endpoint for SqlDedicatedGateway. + /// + public readonly string SqlDedicatedGatewayEndpoint; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private SqlDedicatedGatewayRegionalServiceResourceResponse( + string location, + + string name, + + string sqlDedicatedGatewayEndpoint, + + string status) + { + Location = location; + Name = name; + SqlDedicatedGatewayEndpoint = sqlDedicatedGatewayEndpoint; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDedicatedGatewayServiceResourcePropertiesResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDedicatedGatewayServiceResourcePropertiesResponse.cs new file mode 100644 index 000000000000..020d0adce338 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlDedicatedGatewayServiceResourcePropertiesResponse.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Properties for SqlDedicatedGatewayServiceResource. + /// + [OutputType] + public sealed class SqlDedicatedGatewayServiceResourcePropertiesResponse + { + /// + /// Time of the last state change (ISO-8601 format). + /// + public readonly string CreationTime; + /// + /// Instance count for the service. + /// + public readonly int? InstanceCount; + /// + /// Instance type for the service. + /// + public readonly string? InstanceSize; + /// + /// An array that contains all of the locations for the service. + /// + public readonly ImmutableArray Locations; + /// + /// ServiceType for the service. + /// Expected value is 'SqlDedicatedGateway'. + /// + public readonly string ServiceType; + /// + /// SqlDedicatedGateway endpoint for the service. + /// + public readonly string? SqlDedicatedGatewayEndpoint; + /// + /// Describes the status of a service. + /// + public readonly string Status; + + [OutputConstructor] + private SqlDedicatedGatewayServiceResourcePropertiesResponse( + string creationTime, + + int? instanceCount, + + string? instanceSize, + + ImmutableArray locations, + + string serviceType, + + string? sqlDedicatedGatewayEndpoint, + + string status) + { + CreationTime = creationTime; + InstanceCount = instanceCount; + InstanceSize = instanceSize; + Locations = locations; + ServiceType = serviceType; + SqlDedicatedGatewayEndpoint = sqlDedicatedGatewayEndpoint; + Status = status; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlStoredProcedureGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlStoredProcedureGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..46803af86e65 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlStoredProcedureGetPropertiesResponseResource.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlStoredProcedureGetPropertiesResponseResource + { + /// + /// Body of the Stored Procedure + /// + public readonly string? Body; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL storedProcedure + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private SqlStoredProcedureGetPropertiesResponseResource( + string? body, + + string etag, + + string id, + + string rid, + + double ts) + { + Body = body; + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlTriggerGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlTriggerGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..b2195129540f --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlTriggerGetPropertiesResponseResource.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlTriggerGetPropertiesResponseResource + { + /// + /// Body of the Trigger + /// + public readonly string? Body; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL trigger + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// The operation the trigger is associated with + /// + public readonly string? TriggerOperation; + /// + /// Type of the Trigger + /// + public readonly string? TriggerType; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private SqlTriggerGetPropertiesResponseResource( + string? body, + + string etag, + + string id, + + string rid, + + string? triggerOperation, + + string? triggerType, + + double ts) + { + Body = body; + Etag = etag; + Id = id; + Rid = rid; + TriggerOperation = triggerOperation; + TriggerType = triggerType; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlUserDefinedFunctionGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlUserDefinedFunctionGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..f30183c6d186 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SqlUserDefinedFunctionGetPropertiesResponseResource.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class SqlUserDefinedFunctionGetPropertiesResponseResource + { + /// + /// Body of the User Defined Function + /// + public readonly string? Body; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB SQL userDefinedFunction + /// + public readonly string Id; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private SqlUserDefinedFunctionGetPropertiesResponseResource( + string? body, + + string etag, + + string id, + + string rid, + + double ts) + { + Body = body; + Etag = etag; + Id = id; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..bd31b0550811 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/TableGetPropertiesResponseOptions.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/TableGetPropertiesResponseOptions.cs new file mode 100644 index 000000000000..f41c72c0a0a7 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/TableGetPropertiesResponseOptions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class TableGetPropertiesResponseOptions + { + /// + /// Specifies the Autoscale settings. + /// + public readonly Outputs.AutoscaleSettingsResponse? AutoscaleSettings; + /// + /// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + /// + public readonly int? Throughput; + + [OutputConstructor] + private TableGetPropertiesResponseOptions( + Outputs.AutoscaleSettingsResponse? autoscaleSettings, + + int? throughput) + { + AutoscaleSettings = autoscaleSettings; + Throughput = throughput; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/TableGetPropertiesResponseResource.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/TableGetPropertiesResponseResource.cs new file mode 100644 index 000000000000..7989c24b1291 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/TableGetPropertiesResponseResource.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + [OutputType] + public sealed class TableGetPropertiesResponseResource + { + /// + /// Enum to indicate the mode of resource creation. + /// + public readonly string? CreateMode; + /// + /// A system generated property representing the resource etag required for optimistic concurrency control. + /// + public readonly string Etag; + /// + /// Name of the Cosmos DB table + /// + public readonly string Id; + /// + /// Parameters to indicate the information about the restore + /// + public readonly Outputs.ResourceRestoreParametersResponse? RestoreParameters; + /// + /// A system generated property. A unique identifier. + /// + public readonly string Rid; + /// + /// A system generated property that denotes the last updated timestamp of the resource. + /// + public readonly double Ts; + + [OutputConstructor] + private TableGetPropertiesResponseResource( + string? createMode, + + string etag, + + string id, + + Outputs.ResourceRestoreParametersResponse? restoreParameters, + + string rid, + + double ts) + { + CreateMode = createMode; + Etag = etag; + Id = id; + RestoreParameters = restoreParameters; + Rid = rid; + Ts = ts; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/UniqueKeyPolicyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/UniqueKeyPolicyResponse.cs new file mode 100644 index 000000000000..5ff0f3440a63 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/UniqueKeyPolicyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + /// + [OutputType] + public sealed class UniqueKeyPolicyResponse + { + /// + /// List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + public readonly ImmutableArray UniqueKeys; + + [OutputConstructor] + private UniqueKeyPolicyResponse(ImmutableArray uniqueKeys) + { + UniqueKeys = uniqueKeys; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/UniqueKeyResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/UniqueKeyResponse.cs new file mode 100644 index 000000000000..2ffaccfcf036 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/UniqueKeyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + /// + [OutputType] + public sealed class UniqueKeyResponse + { + /// + /// List of paths must be unique for each document in the Azure Cosmos DB service + /// + public readonly ImmutableArray Paths; + + [OutputConstructor] + private UniqueKeyResponse(ImmutableArray paths) + { + Paths = paths; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/VirtualNetworkRuleResponse.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/VirtualNetworkRuleResponse.cs new file mode 100644 index 000000000000..1ebe57a39c1e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Outputs/VirtualNetworkRuleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview.Outputs +{ + + /// + /// Virtual Network ACL Rule object + /// + [OutputType] + public sealed class VirtualNetworkRuleResponse + { + /// + /// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + /// + public readonly string? Id; + /// + /// Create firewall rule before the virtual network has vnet service endpoint enabled. + /// + public readonly bool? IgnoreMissingVNetServiceEndpoint; + + [OutputConstructor] + private VirtualNetworkRuleResponse( + string? id, + + bool? ignoreMissingVNetServiceEndpoint) + { + Id = id; + IgnoreMissingVNetServiceEndpoint = ignoreMissingVNetServiceEndpoint; + } + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/PrivateEndpointConnection.cs b/sdk/dotnet/DocumentDB/V20230915Preview/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..d88dbf09e433 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/PrivateEndpointConnection.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// A private endpoint connection + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : global::Pulumi.CustomResource + { + /// + /// Group id of the private endpoint. + /// + [Output("groupId")] + public Output GroupId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Private endpoint which the connection belongs to. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// Connection State of the Private Endpoint Connection. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// Provisioning state of the private endpoint. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection 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 PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:PrivateEndpointConnection"}, + }, + }; + 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 PrivateEndpointConnection 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Group id of the private endpoint. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// Private endpoint which the connection belongs to. + /// + [Input("privateEndpoint")] + public Input? PrivateEndpoint { get; set; } + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// Connection State of the Private Endpoint Connection. + /// + [Input("privateLinkServiceConnectionState")] + public Input? PrivateLinkServiceConnectionState { get; set; } + + /// + /// Provisioning state of the private endpoint. + /// + [Input("provisioningState")] + public Input? ProvisioningState { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + public static new PrivateEndpointConnectionArgs Empty => new PrivateEndpointConnectionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/README.md b/sdk/dotnet/DocumentDB/V20230915Preview/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/Service.cs b/sdk/dotnet/DocumentDB/V20230915Preview/Service.cs new file mode 100644 index 000000000000..b396bc52e851 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/Service.cs @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// Properties for the database account. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:Service")] + public partial class Service : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Services response resource. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Service 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 Service(string name, ServiceArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:Service", name, args ?? new ServiceArgs(), MakeResourceOptions(options, "")) + { + } + + private Service(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:Service", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:Service"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:Service"}, + }, + }; + 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 Service 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. + /// A bag of options that control this resource's behavior + public static Service Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Service(name, id, options); + } + } + + public sealed class ServiceArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Instance count for the service. + /// + [Input("instanceCount")] + public Input? InstanceCount { get; set; } + + /// + /// Instance type for the service. + /// + [Input("instanceSize")] + public InputUnion? InstanceSize { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB service name. + /// + [Input("serviceName")] + public Input? ServiceName { get; set; } + + /// + /// ServiceType for the service. + /// + [Input("serviceType")] + public InputUnion? ServiceType { get; set; } + + public ServiceArgs() + { + } + public static new ServiceArgs Empty => new ServiceArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlContainer.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlContainer.cs new file mode 100644 index 000000000000..1b282e498e61 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlContainer.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB container. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlContainer")] + public partial class SqlResourceSqlContainer : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlContainer 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 SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlContainer", name, args ?? new SqlResourceSqlContainerArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlContainer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlContainer", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlContainer"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlContainer"}, + }, + }; + 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 SqlResourceSqlContainer 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlContainer Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlContainer(name, id, options); + } + } + + public sealed class SqlResourceSqlContainerArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName")] + public Input? ContainerName { get; set; } + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a container + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SqlResourceSqlContainerArgs() + { + } + public static new SqlResourceSqlContainerArgs Empty => new SqlResourceSqlContainerArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlDatabase.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlDatabase.cs new file mode 100644 index 000000000000..e8f69636708d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlDatabase.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB SQL database. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase")] + public partial class SqlResourceSqlDatabase : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlDatabase 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 SqlResourceSqlDatabase(string name, SqlResourceSqlDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase", name, args ?? new SqlResourceSqlDatabaseArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlDatabase"}, + }, + }; + 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 SqlResourceSqlDatabase 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlDatabase(name, id, options); + } + } + + public sealed class SqlResourceSqlDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a SQL database + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SqlResourceSqlDatabaseArgs() + { + } + public static new SqlResourceSqlDatabaseArgs Empty => new SqlResourceSqlDatabaseArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlRoleAssignment.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlRoleAssignment.cs new file mode 100644 index 000000000000..b2284867b0a2 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlRoleAssignment.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Role Assignment + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment")] + public partial class SqlResourceSqlRoleAssignment : global::Pulumi.CustomResource + { + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + /// + [Output("principalId")] + public Output PrincipalId { get; private set; } = null!; + + /// + /// The unique identifier for the associated Role Definition. + /// + [Output("roleDefinitionId")] + public Output RoleDefinitionId { get; private set; } = null!; + + /// + /// The data plane resource path for which access is being granted through this Role Assignment. + /// + [Output("scope")] + public Output Scope { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlRoleAssignment 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 SqlResourceSqlRoleAssignment(string name, SqlResourceSqlRoleAssignmentArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment", name, args ?? new SqlResourceSqlRoleAssignmentArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlRoleAssignment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment"}, + }, + }; + 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 SqlResourceSqlRoleAssignment 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlRoleAssignment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlRoleAssignment(name, id, options); + } + } + + public sealed class SqlResourceSqlRoleAssignmentArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + /// + [Input("principalId")] + public Input? PrincipalId { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Assignment. + /// + [Input("roleAssignmentId")] + public Input? RoleAssignmentId { get; set; } + + /// + /// The unique identifier for the associated Role Definition. + /// + [Input("roleDefinitionId")] + public Input? RoleDefinitionId { get; set; } + + /// + /// The data plane resource path for which access is being granted through this Role Assignment. + /// + [Input("scope")] + public Input? Scope { get; set; } + + public SqlResourceSqlRoleAssignmentArgs() + { + } + public static new SqlResourceSqlRoleAssignmentArgs Empty => new SqlResourceSqlRoleAssignmentArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlRoleDefinition.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlRoleDefinition.cs new file mode 100644 index 000000000000..ba2570736a33 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlRoleDefinition.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB SQL Role Definition. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition")] + public partial class SqlResourceSqlRoleDefinition : global::Pulumi.CustomResource + { + /// + /// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + /// + [Output("assignableScopes")] + public Output> AssignableScopes { get; private set; } = null!; + + /// + /// The name of the database account. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The set of operations allowed through this Role Definition. + /// + [Output("permissions")] + public Output> Permissions { get; private set; } = null!; + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Output("roleName")] + public Output RoleName { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlRoleDefinition 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 SqlResourceSqlRoleDefinition(string name, SqlResourceSqlRoleDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition", name, args ?? new SqlResourceSqlRoleDefinitionArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlRoleDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition"}, + }, + }; + 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 SqlResourceSqlRoleDefinition 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlRoleDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlRoleDefinition(name, id, options); + } + } + + public sealed class SqlResourceSqlRoleDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + [Input("assignableScopes")] + private InputList? _assignableScopes; + + /// + /// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + /// + public InputList AssignableScopes + { + get => _assignableScopes ?? (_assignableScopes = new InputList()); + set => _assignableScopes = value; + } + + [Input("permissions")] + private InputList? _permissions; + + /// + /// The set of operations allowed through this Role Definition. + /// + public InputList Permissions + { + get => _permissions ?? (_permissions = new InputList()); + set => _permissions = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The GUID for the Role Definition. + /// + [Input("roleDefinitionId")] + public Input? RoleDefinitionId { get; set; } + + /// + /// A user-friendly name for the Role Definition. Must be unique for the database account. + /// + [Input("roleName")] + public Input? RoleName { get; set; } + + /// + /// Indicates whether the Role Definition was built-in or user created. + /// + [Input("type")] + public Input? Type { get; set; } + + public SqlResourceSqlRoleDefinitionArgs() + { + } + public static new SqlResourceSqlRoleDefinitionArgs Empty => new SqlResourceSqlRoleDefinitionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlStoredProcedure.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlStoredProcedure.cs new file mode 100644 index 000000000000..c1cae8432072 --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlStoredProcedure.cs @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB storedProcedure. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure")] + public partial class SqlResourceSqlStoredProcedure : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlStoredProcedure 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 SqlResourceSqlStoredProcedure(string name, SqlResourceSqlStoredProcedureArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure", name, args ?? new SqlResourceSqlStoredProcedureArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlStoredProcedure(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"}, + }, + }; + 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 SqlResourceSqlStoredProcedure 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlStoredProcedure Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlStoredProcedure(name, id, options); + } + } + + public sealed class SqlResourceSqlStoredProcedureArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a storedProcedure + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB storedProcedure name. + /// + [Input("storedProcedureName")] + public Input? StoredProcedureName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public SqlResourceSqlStoredProcedureArgs() + { + } + public static new SqlResourceSqlStoredProcedureArgs Empty => new SqlResourceSqlStoredProcedureArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlTrigger.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlTrigger.cs new file mode 100644 index 000000000000..89fce6d041fd --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlTrigger.cs @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB trigger. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger")] + public partial class SqlResourceSqlTrigger : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlTrigger 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 SqlResourceSqlTrigger(string name, SqlResourceSqlTriggerArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger", name, args ?? new SqlResourceSqlTriggerArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlTrigger(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlTrigger"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlTrigger"}, + }, + }; + 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 SqlResourceSqlTrigger 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlTrigger Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlTrigger(name, id, options); + } + } + + public sealed class SqlResourceSqlTriggerArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a trigger + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Cosmos DB trigger name. + /// + [Input("triggerName")] + public Input? TriggerName { get; set; } + + public SqlResourceSqlTriggerArgs() + { + } + public static new SqlResourceSqlTriggerArgs Empty => new SqlResourceSqlTriggerArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlUserDefinedFunction.cs b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlUserDefinedFunction.cs new file mode 100644 index 000000000000..a997120b837e --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/SqlResourceSqlUserDefinedFunction.cs @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB userDefinedFunction. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction")] + public partial class SqlResourceSqlUserDefinedFunction : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SqlResourceSqlUserDefinedFunction 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 SqlResourceSqlUserDefinedFunction(string name, SqlResourceSqlUserDefinedFunctionArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction", name, args ?? new SqlResourceSqlUserDefinedFunctionArgs(), MakeResourceOptions(options, "")) + { + } + + private SqlResourceSqlUserDefinedFunction(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"}, + }, + }; + 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 SqlResourceSqlUserDefinedFunction 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. + /// A bag of options that control this resource's behavior + public static SqlResourceSqlUserDefinedFunction Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SqlResourceSqlUserDefinedFunction(name, id, options); + } + } + + public sealed class SqlResourceSqlUserDefinedFunctionArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Cosmos DB container name. + /// + [Input("containerName", required: true)] + public Input ContainerName { get; set; } = null!; + + /// + /// Cosmos DB database name. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a userDefinedFunction + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Cosmos DB userDefinedFunction name. + /// + [Input("userDefinedFunctionName")] + public Input? UserDefinedFunctionName { get; set; } + + public SqlResourceSqlUserDefinedFunctionArgs() + { + } + public static new SqlResourceSqlUserDefinedFunctionArgs Empty => new SqlResourceSqlUserDefinedFunctionArgs(); + } +} diff --git a/sdk/dotnet/DocumentDB/V20230915Preview/TableResourceTable.cs b/sdk/dotnet/DocumentDB/V20230915Preview/TableResourceTable.cs new file mode 100644 index 000000000000..2bf4dd102d7d --- /dev/null +++ b/sdk/dotnet/DocumentDB/V20230915Preview/TableResourceTable.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.DocumentDB.V20230915Preview +{ + /// + /// An Azure Cosmos DB Table. + /// + [AzureNativeResourceType("azure-native:documentdb/v20230915preview:TableResourceTable")] + public partial class TableResourceTable : global::Pulumi.CustomResource + { + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The location of the resource group to which the resource belongs. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the ARM resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("options")] + public Output Options { get; private set; } = null!; + + [Output("resource")] + public Output Resource { get; private set; } = null!; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of Azure resource. + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a TableResourceTable 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 TableResourceTable(string name, TableResourceTableArgs args, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:TableResourceTable", name, args ?? new TableResourceTableArgs(), MakeResourceOptions(options, "")) + { + } + + private TableResourceTable(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:documentdb/v20230915preview:TableResourceTable", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:documentdb:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150401:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20150408:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20151106:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160319:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20160331:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20190801:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20191212:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200301:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200401:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200601preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20200901:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210115:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210301preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210315:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210401preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210415:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210515:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210615:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20210701preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211015preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20211115preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220215preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220515preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20220815preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20221115preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230301preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230315preview:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230415:TableResourceTable"}, + new global::Pulumi.Alias { Type = "azure-native:documentdb/v20230915:TableResourceTable"}, + }, + }; + 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 TableResourceTable 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. + /// A bag of options that control this resource's behavior + public static TableResourceTable Get(string name, Input id, CustomResourceOptions? options = null) + { + return new TableResourceTable(name, id, options); + } + } + + public sealed class TableResourceTableArgs : global::Pulumi.ResourceArgs + { + /// + /// Cosmos DB database account name. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The location of the resource group to which the resource belongs. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + /// + [Input("options")] + public Input? Options { get; set; } + + /// + /// The standard JSON format of a Table + /// + [Input("resource", required: true)] + public Input Resource { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cosmos DB table name. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public TableResourceTableArgs() + { + } + public static new TableResourceTableArgs Empty => new TableResourceTableArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/ElasticSan.cs b/sdk/dotnet/ElasticSan/ElasticSan.cs index ad6b637ac0af..ac628dd69076 100644 --- a/sdk/dotnet/ElasticSan/ElasticSan.cs +++ b/sdk/dotnet/ElasticSan/ElasticSan.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:ElasticSan"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:ElasticSan"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:ElasticSan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/GetVolumeSnapshot.cs b/sdk/dotnet/ElasticSan/GetVolumeSnapshot.cs new file mode 100644 index 000000000000..1a4e790d9acd --- /dev/null +++ b/sdk/dotnet/ElasticSan/GetVolumeSnapshot.cs @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan +{ + public static class GetVolumeSnapshot + { + /// + /// Get a Volume Snapshot. + /// Azure REST API version: 2023-01-01. + /// + public static Task InvokeAsync(GetVolumeSnapshotArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:elasticsan:getVolumeSnapshot", args ?? new GetVolumeSnapshotArgs(), options.WithDefaults()); + + /// + /// Get a Volume Snapshot. + /// Azure REST API version: 2023-01-01. + /// + public static Output Invoke(GetVolumeSnapshotInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:elasticsan:getVolumeSnapshot", args ?? new GetVolumeSnapshotInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVolumeSnapshotArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public string ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the volume snapshot within the given volume group. + /// + [Input("snapshotName", required: true)] + public string SnapshotName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public string VolumeGroupName { get; set; } = null!; + + public GetVolumeSnapshotArgs() + { + } + public static new GetVolumeSnapshotArgs Empty => new GetVolumeSnapshotArgs(); + } + + public sealed class GetVolumeSnapshotInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the volume snapshot within the given volume group. + /// + [Input("snapshotName", required: true)] + public Input SnapshotName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + public GetVolumeSnapshotInvokeArgs() + { + } + public static new GetVolumeSnapshotInvokeArgs Empty => new GetVolumeSnapshotInvokeArgs(); + } + + + [OutputType] + public sealed class GetVolumeSnapshotResult + { + /// + /// Data used when creating a volume snapshot. + /// + public readonly Outputs.SnapshotCreationDataResponse CreationData; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// State of the operation on the resource. + /// + public readonly string ProvisioningState; + /// + /// Size of Source Volume + /// + public readonly double SourceVolumeSizeGiB; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Source Volume Name of a snapshot + /// + public readonly string VolumeName; + + [OutputConstructor] + private GetVolumeSnapshotResult( + Outputs.SnapshotCreationDataResponse creationData, + + string id, + + string name, + + string provisioningState, + + double sourceVolumeSizeGiB, + + Outputs.SystemDataResponse systemData, + + string type, + + string volumeName) + { + CreationData = creationData; + Id = id; + Name = name; + ProvisioningState = provisioningState; + SourceVolumeSizeGiB = sourceVolumeSizeGiB; + SystemData = systemData; + Type = type; + VolumeName = volumeName; + } + } +} diff --git a/sdk/dotnet/ElasticSan/Inputs/SnapshotCreationDataArgs.cs b/sdk/dotnet/ElasticSan/Inputs/SnapshotCreationDataArgs.cs new file mode 100644 index 000000000000..ad442e9c5a35 --- /dev/null +++ b/sdk/dotnet/ElasticSan/Inputs/SnapshotCreationDataArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.Inputs +{ + + /// + /// Data used when creating a volume snapshot. + /// + public sealed class SnapshotCreationDataArgs : global::Pulumi.ResourceArgs + { + /// + /// Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + /// + [Input("sourceId", required: true)] + public Input SourceId { get; set; } = null!; + + public SnapshotCreationDataArgs() + { + } + public static new SnapshotCreationDataArgs Empty => new SnapshotCreationDataArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/Outputs/SnapshotCreationDataResponse.cs b/sdk/dotnet/ElasticSan/Outputs/SnapshotCreationDataResponse.cs new file mode 100644 index 000000000000..3a6326fbad65 --- /dev/null +++ b/sdk/dotnet/ElasticSan/Outputs/SnapshotCreationDataResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.Outputs +{ + + /// + /// Data used when creating a volume snapshot. + /// + [OutputType] + public sealed class SnapshotCreationDataResponse + { + /// + /// Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + /// + public readonly string SourceId; + + [OutputConstructor] + private SnapshotCreationDataResponse(string sourceId) + { + SourceId = sourceId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/PrivateEndpointConnection.cs b/sdk/dotnet/ElasticSan/PrivateEndpointConnection.cs index a1dcc96aa11f..9e22131dbea7 100644 --- a/sdk/dotnet/ElasticSan/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ElasticSan/PrivateEndpointConnection.cs @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20211120Preview/ElasticSan.cs b/sdk/dotnet/ElasticSan/V20211120Preview/ElasticSan.cs index e0d32172e6e2..c70c2bce3981 100644 --- a/sdk/dotnet/ElasticSan/V20211120Preview/ElasticSan.cs +++ b/sdk/dotnet/ElasticSan/V20211120Preview/ElasticSan.cs @@ -132,6 +132,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan:ElasticSan"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:ElasticSan"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:ElasticSan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20211120Preview/Volume.cs b/sdk/dotnet/ElasticSan/V20211120Preview/Volume.cs index 3bd3ea15a843..36c968fc118d 100644 --- a/sdk/dotnet/ElasticSan/V20211120Preview/Volume.cs +++ b/sdk/dotnet/ElasticSan/V20211120Preview/Volume.cs @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan:Volume"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:Volume"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:Volume"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20211120Preview/VolumeGroup.cs b/sdk/dotnet/ElasticSan/V20211120Preview/VolumeGroup.cs index 0a4b23a531df..ff616f8d1542 100644 --- a/sdk/dotnet/ElasticSan/V20211120Preview/VolumeGroup.cs +++ b/sdk/dotnet/ElasticSan/V20211120Preview/VolumeGroup.cs @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan:VolumeGroup"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:VolumeGroup"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:VolumeGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20221201Preview/ElasticSan.cs b/sdk/dotnet/ElasticSan/V20221201Preview/ElasticSan.cs index 5bd6431a1f1f..f94a02fccbb7 100644 --- a/sdk/dotnet/ElasticSan/V20221201Preview/ElasticSan.cs +++ b/sdk/dotnet/ElasticSan/V20221201Preview/ElasticSan.cs @@ -138,6 +138,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan:ElasticSan"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:ElasticSan"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:ElasticSan"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20221201Preview/PrivateEndpointConnection.cs b/sdk/dotnet/ElasticSan/V20221201Preview/PrivateEndpointConnection.cs index 7e09e3918e2f..72a75216bc13 100644 --- a/sdk/dotnet/ElasticSan/V20221201Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/ElasticSan/V20221201Preview/PrivateEndpointConnection.cs @@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new global::Pulumi.Alias { Type = "azure-native:elasticsan:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20221201Preview/Volume.cs b/sdk/dotnet/ElasticSan/V20221201Preview/Volume.cs index 4b78d626fb6e..ba15373a2bb4 100644 --- a/sdk/dotnet/ElasticSan/V20221201Preview/Volume.cs +++ b/sdk/dotnet/ElasticSan/V20221201Preview/Volume.cs @@ -84,6 +84,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan:Volume"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:Volume"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:Volume"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20221201Preview/VolumeGroup.cs b/sdk/dotnet/ElasticSan/V20221201Preview/VolumeGroup.cs index 13db2cc57b4b..cb5ffa2417b7 100644 --- a/sdk/dotnet/ElasticSan/V20221201Preview/VolumeGroup.cs +++ b/sdk/dotnet/ElasticSan/V20221201Preview/VolumeGroup.cs @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan:VolumeGroup"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:VolumeGroup"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:VolumeGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/V20230101/ElasticSan.cs b/sdk/dotnet/ElasticSan/V20230101/ElasticSan.cs new file mode 100644 index 000000000000..9a565cb565c8 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/ElasticSan.cs @@ -0,0 +1,242 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + /// + /// Response for ElasticSan request. + /// + [AzureNativeResourceType("azure-native:elasticsan/v20230101:ElasticSan")] + public partial class ElasticSan : global::Pulumi.CustomResource + { + /// + /// Logical zone for Elastic San resource; example: ["1"]. + /// + [Output("availabilityZones")] + public Output> AvailabilityZones { get; private set; } = null!; + + /// + /// Base size of the Elastic San appliance in TiB. + /// + [Output("baseSizeTiB")] + public Output BaseSizeTiB { get; private set; } = null!; + + /// + /// Extended size of the Elastic San appliance in TiB. + /// + [Output("extendedCapacitySizeTiB")] + public Output ExtendedCapacitySizeTiB { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The list of Private Endpoint Connections. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// State of the operation on the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// resource sku + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Total Provisioned IOPS of the Elastic San appliance. + /// + [Output("totalIops")] + public Output TotalIops { get; private set; } = null!; + + /// + /// Total Provisioned MBps Elastic San appliance. + /// + [Output("totalMBps")] + public Output TotalMBps { get; private set; } = null!; + + /// + /// Total size of the Elastic San appliance in TB. + /// + [Output("totalSizeTiB")] + public Output TotalSizeTiB { get; private set; } = null!; + + /// + /// Total size of the provisioned Volumes in GiB. + /// + [Output("totalVolumeSizeGiB")] + public Output TotalVolumeSizeGiB { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Total number of volume groups in this Elastic San appliance. + /// + [Output("volumeGroupCount")] + public Output VolumeGroupCount { get; private set; } = null!; + + + /// + /// Create a ElasticSan 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 ElasticSan(string name, ElasticSanArgs args, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:ElasticSan", name, args ?? new ElasticSanArgs(), MakeResourceOptions(options, "")) + { + } + + private ElasticSan(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:ElasticSan", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:elasticsan:ElasticSan"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:ElasticSan"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:ElasticSan"}, + }, + }; + 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 ElasticSan 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. + /// A bag of options that control this resource's behavior + public static ElasticSan Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ElasticSan(name, id, options); + } + } + + public sealed class ElasticSanArgs : global::Pulumi.ResourceArgs + { + [Input("availabilityZones")] + private InputList? _availabilityZones; + + /// + /// Logical zone for Elastic San resource; example: ["1"]. + /// + public InputList AvailabilityZones + { + get => _availabilityZones ?? (_availabilityZones = new InputList()); + set => _availabilityZones = value; + } + + /// + /// Base size of the Elastic San appliance in TiB. + /// + [Input("baseSizeTiB", required: true)] + public Input BaseSizeTiB { get; set; } = null!; + + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName")] + public Input? ElasticSanName { get; set; } + + /// + /// Extended size of the Elastic San appliance in TiB. + /// + [Input("extendedCapacitySizeTiB", required: true)] + public Input ExtendedCapacitySizeTiB { get; set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// resource sku + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ElasticSanArgs() + { + } + public static new ElasticSanArgs Empty => new ElasticSanArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Enums.cs b/sdk/dotnet/ElasticSan/V20230101/Enums.cs new file mode 100644 index 000000000000..3a43019437bd --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Enums.cs @@ -0,0 +1,307 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.ElasticSan.V20230101 +{ + /// + /// The action of virtual network rule. + /// + [EnumType] + public readonly struct Action : IEquatable + { + private readonly string _value; + + private Action(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Action Allow { get; } = new Action("Allow"); + + public static bool operator ==(Action left, Action right) => left.Equals(right); + public static bool operator !=(Action left, Action right) => !left.Equals(right); + + public static explicit operator string(Action value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Action other && Equals(other); + public bool Equals(Action other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of encryption + /// + [EnumType] + public readonly struct EncryptionType : IEquatable + { + private readonly string _value; + + private EncryptionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Volume is encrypted at rest with Platform managed key. It is the default encryption type. + /// + public static EncryptionType EncryptionAtRestWithPlatformKey { get; } = new EncryptionType("EncryptionAtRestWithPlatformKey"); + /// + /// Volume is encrypted at rest with Customer managed key that can be changed and revoked by a customer. + /// + public static EncryptionType EncryptionAtRestWithCustomerManagedKey { get; } = new EncryptionType("EncryptionAtRestWithCustomerManagedKey"); + + public static bool operator ==(EncryptionType left, EncryptionType right) => left.Equals(right); + public static bool operator !=(EncryptionType left, EncryptionType right) => !left.Equals(right); + + public static explicit operator string(EncryptionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EncryptionType other && Equals(other); + public bool Equals(EncryptionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The identity type. + /// + [EnumType] + public readonly struct IdentityType : IEquatable + { + private readonly string _value; + + private IdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IdentityType None { get; } = new IdentityType("None"); + public static IdentityType SystemAssigned { get; } = new IdentityType("SystemAssigned"); + public static IdentityType UserAssigned { get; } = new IdentityType("UserAssigned"); + + public static bool operator ==(IdentityType left, IdentityType right) => left.Equals(right); + public static bool operator !=(IdentityType left, IdentityType right) => !left.Equals(right); + + public static explicit operator string(IdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IdentityType other && Equals(other); + public bool Equals(IdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + [EnumType] + public readonly struct PrivateEndpointServiceConnectionStatus : IEquatable + { + private readonly string _value; + + private PrivateEndpointServiceConnectionStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PrivateEndpointServiceConnectionStatus Pending { get; } = new PrivateEndpointServiceConnectionStatus("Pending"); + public static PrivateEndpointServiceConnectionStatus Approved { get; } = new PrivateEndpointServiceConnectionStatus("Approved"); + public static PrivateEndpointServiceConnectionStatus Failed { get; } = new PrivateEndpointServiceConnectionStatus("Failed"); + public static PrivateEndpointServiceConnectionStatus Rejected { get; } = new PrivateEndpointServiceConnectionStatus("Rejected"); + + public static bool operator ==(PrivateEndpointServiceConnectionStatus left, PrivateEndpointServiceConnectionStatus right) => left.Equals(right); + public static bool operator !=(PrivateEndpointServiceConnectionStatus left, PrivateEndpointServiceConnectionStatus right) => !left.Equals(right); + + public static explicit operator string(PrivateEndpointServiceConnectionStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PrivateEndpointServiceConnectionStatus other && Equals(other); + public bool Equals(PrivateEndpointServiceConnectionStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The sku name. + /// + [EnumType] + public readonly struct SkuName : IEquatable + { + private readonly string _value; + + private SkuName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Premium locally redundant storage + /// + public static SkuName Premium_LRS { get; } = new SkuName("Premium_LRS"); + /// + /// Premium zone redundant storage + /// + public static SkuName Premium_ZRS { get; } = new SkuName("Premium_ZRS"); + + public static bool operator ==(SkuName left, SkuName right) => left.Equals(right); + public static bool operator !=(SkuName left, SkuName right) => !left.Equals(right); + + public static explicit operator string(SkuName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuName other && Equals(other); + public bool Equals(SkuName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The sku tier. + /// + [EnumType] + public readonly struct SkuTier : IEquatable + { + private readonly string _value; + + private SkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Premium Tier + /// + public static SkuTier Premium { get; } = new SkuTier("Premium"); + + public static bool operator ==(SkuTier left, SkuTier right) => left.Equals(right); + public static bool operator !=(SkuTier left, SkuTier right) => !left.Equals(right); + + public static explicit operator string(SkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuTier other && Equals(other); + public bool Equals(SkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of storage target + /// + [EnumType] + public readonly struct StorageTargetType : IEquatable + { + private readonly string _value; + + private StorageTargetType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StorageTargetType Iscsi { get; } = new StorageTargetType("Iscsi"); + public static StorageTargetType None { get; } = new StorageTargetType("None"); + + public static bool operator ==(StorageTargetType left, StorageTargetType right) => left.Equals(right); + public static bool operator !=(StorageTargetType left, StorageTargetType right) => !left.Equals(right); + + public static explicit operator string(StorageTargetType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StorageTargetType other && Equals(other); + public bool Equals(StorageTargetType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This enumerates the possible sources of a volume creation. + /// + [EnumType] + public readonly struct VolumeCreateOption : IEquatable + { + private readonly string _value; + + private VolumeCreateOption(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static VolumeCreateOption None { get; } = new VolumeCreateOption("None"); + public static VolumeCreateOption VolumeSnapshot { get; } = new VolumeCreateOption("VolumeSnapshot"); + public static VolumeCreateOption DiskSnapshot { get; } = new VolumeCreateOption("DiskSnapshot"); + public static VolumeCreateOption Disk { get; } = new VolumeCreateOption("Disk"); + public static VolumeCreateOption DiskRestorePoint { get; } = new VolumeCreateOption("DiskRestorePoint"); + + public static bool operator ==(VolumeCreateOption left, VolumeCreateOption right) => left.Equals(right); + public static bool operator !=(VolumeCreateOption left, VolumeCreateOption right) => !left.Equals(right); + + public static explicit operator string(VolumeCreateOption value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is VolumeCreateOption other && Equals(other); + public bool Equals(VolumeCreateOption other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/GetElasticSan.cs b/sdk/dotnet/ElasticSan/V20230101/GetElasticSan.cs new file mode 100644 index 000000000000..22b703e85199 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/GetElasticSan.cs @@ -0,0 +1,203 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + public static class GetElasticSan + { + /// + /// Get a ElasticSan. + /// + public static Task InvokeAsync(GetElasticSanArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:elasticsan/v20230101:getElasticSan", args ?? new GetElasticSanArgs(), options.WithDefaults()); + + /// + /// Get a ElasticSan. + /// + public static Output Invoke(GetElasticSanInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:elasticsan/v20230101:getElasticSan", args ?? new GetElasticSanInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetElasticSanArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public string ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetElasticSanArgs() + { + } + public static new GetElasticSanArgs Empty => new GetElasticSanArgs(); + } + + public sealed class GetElasticSanInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetElasticSanInvokeArgs() + { + } + public static new GetElasticSanInvokeArgs Empty => new GetElasticSanInvokeArgs(); + } + + + [OutputType] + public sealed class GetElasticSanResult + { + /// + /// Logical zone for Elastic San resource; example: ["1"]. + /// + public readonly ImmutableArray AvailabilityZones; + /// + /// Base size of the Elastic San appliance in TiB. + /// + public readonly double BaseSizeTiB; + /// + /// Extended size of the Elastic San appliance in TiB. + /// + public readonly double ExtendedCapacitySizeTiB; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The list of Private Endpoint Connections. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// State of the operation on the resource. + /// + public readonly string ProvisioningState; + /// + /// Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + /// + public readonly string? PublicNetworkAccess; + /// + /// resource sku + /// + public readonly Outputs.SkuResponse Sku; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Total Provisioned IOPS of the Elastic San appliance. + /// + public readonly double TotalIops; + /// + /// Total Provisioned MBps Elastic San appliance. + /// + public readonly double TotalMBps; + /// + /// Total size of the Elastic San appliance in TB. + /// + public readonly double TotalSizeTiB; + /// + /// Total size of the provisioned Volumes in GiB. + /// + public readonly double TotalVolumeSizeGiB; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Total number of volume groups in this Elastic San appliance. + /// + public readonly double VolumeGroupCount; + + [OutputConstructor] + private GetElasticSanResult( + ImmutableArray availabilityZones, + + double baseSizeTiB, + + double extendedCapacitySizeTiB, + + string id, + + string location, + + string name, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicNetworkAccess, + + Outputs.SkuResponse sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + double totalIops, + + double totalMBps, + + double totalSizeTiB, + + double totalVolumeSizeGiB, + + string type, + + double volumeGroupCount) + { + AvailabilityZones = availabilityZones; + BaseSizeTiB = baseSizeTiB; + ExtendedCapacitySizeTiB = extendedCapacitySizeTiB; + Id = id; + Location = location; + Name = name; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + Sku = sku; + SystemData = systemData; + Tags = tags; + TotalIops = totalIops; + TotalMBps = totalMBps; + TotalSizeTiB = totalSizeTiB; + TotalVolumeSizeGiB = totalVolumeSizeGiB; + Type = type; + VolumeGroupCount = volumeGroupCount; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/GetPrivateEndpointConnection.cs b/sdk/dotnet/ElasticSan/V20230101/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..ce58ce9a7414 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/GetPrivateEndpointConnection.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + public static class GetPrivateEndpointConnection + { + /// + /// Gets the specified private endpoint connection associated with the Elastic San + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:elasticsan/v20230101:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); + + /// + /// Gets the specified private endpoint connection associated with the Elastic San + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:elasticsan/v20230101:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public string ElasticSanName { get; set; } = null!; + + /// + /// The name of the Private Endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + public static new GetPrivateEndpointConnectionArgs Empty => new GetPrivateEndpointConnectionArgs(); + } + + public sealed class GetPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the Private Endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionInvokeArgs Empty => new GetPrivateEndpointConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// List of resources private endpoint is mapped + /// + public readonly ImmutableArray GroupIds; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private Endpoint resource + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// Private Link Service Connection State. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// Provisioning State of Private Endpoint connection resource + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + ImmutableArray groupIds, + + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + GroupIds = groupIds; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/GetVolume.cs b/sdk/dotnet/ElasticSan/V20230101/GetVolume.cs new file mode 100644 index 000000000000..257a65a7cf24 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/GetVolume.cs @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + public static class GetVolume + { + /// + /// Get an Volume. + /// + public static Task InvokeAsync(GetVolumeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:elasticsan/v20230101:getVolume", args ?? new GetVolumeArgs(), options.WithDefaults()); + + /// + /// Get an Volume. + /// + public static Output Invoke(GetVolumeInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:elasticsan/v20230101:getVolume", args ?? new GetVolumeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVolumeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public string ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public string VolumeGroupName { get; set; } = null!; + + /// + /// The name of the Volume. + /// + [Input("volumeName", required: true)] + public string VolumeName { get; set; } = null!; + + public GetVolumeArgs() + { + } + public static new GetVolumeArgs Empty => new GetVolumeArgs(); + } + + public sealed class GetVolumeInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + /// + /// The name of the Volume. + /// + [Input("volumeName", required: true)] + public Input VolumeName { get; set; } = null!; + + public GetVolumeInvokeArgs() + { + } + public static new GetVolumeInvokeArgs Empty => new GetVolumeInvokeArgs(); + } + + + [OutputType] + public sealed class GetVolumeResult + { + /// + /// State of the operation on the resource. + /// + public readonly Outputs.SourceCreationDataResponse? CreationData; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Parent resource information. + /// + public readonly Outputs.ManagedByInfoResponse? ManagedBy; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// State of the operation on the resource. + /// + public readonly string ProvisioningState; + /// + /// Volume size. + /// + public readonly double SizeGiB; + /// + /// Storage target information + /// + public readonly Outputs.IscsiTargetInfoResponse StorageTarget; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Unique Id of the volume in GUID format + /// + public readonly string VolumeId; + + [OutputConstructor] + private GetVolumeResult( + Outputs.SourceCreationDataResponse? creationData, + + string id, + + Outputs.ManagedByInfoResponse? managedBy, + + string name, + + string provisioningState, + + double sizeGiB, + + Outputs.IscsiTargetInfoResponse storageTarget, + + Outputs.SystemDataResponse systemData, + + string type, + + string volumeId) + { + CreationData = creationData; + Id = id; + ManagedBy = managedBy; + Name = name; + ProvisioningState = provisioningState; + SizeGiB = sizeGiB; + StorageTarget = storageTarget; + SystemData = systemData; + Type = type; + VolumeId = volumeId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/GetVolumeGroup.cs b/sdk/dotnet/ElasticSan/V20230101/GetVolumeGroup.cs new file mode 100644 index 000000000000..abef3b59d192 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/GetVolumeGroup.cs @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + public static class GetVolumeGroup + { + /// + /// Get an VolumeGroups. + /// + public static Task InvokeAsync(GetVolumeGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:elasticsan/v20230101:getVolumeGroup", args ?? new GetVolumeGroupArgs(), options.WithDefaults()); + + /// + /// Get an VolumeGroups. + /// + public static Output Invoke(GetVolumeGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:elasticsan/v20230101:getVolumeGroup", args ?? new GetVolumeGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVolumeGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public string ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public string VolumeGroupName { get; set; } = null!; + + public GetVolumeGroupArgs() + { + } + public static new GetVolumeGroupArgs Empty => new GetVolumeGroupArgs(); + } + + public sealed class GetVolumeGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + public GetVolumeGroupInvokeArgs() + { + } + public static new GetVolumeGroupInvokeArgs Empty => new GetVolumeGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetVolumeGroupResult + { + /// + /// Type of encryption + /// + public readonly string? Encryption; + /// + /// Encryption Properties describing Key Vault and Identity information + /// + public readonly Outputs.EncryptionPropertiesResponse? EncryptionProperties; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity of the resource. + /// + public readonly Outputs.IdentityResponse? Identity; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// A collection of rules governing the accessibility from specific network locations. + /// + public readonly Outputs.NetworkRuleSetResponse? NetworkAcls; + /// + /// The list of Private Endpoint Connections. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// Type of storage target + /// + public readonly string? ProtocolType; + /// + /// State of the operation on the resource. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetVolumeGroupResult( + string? encryption, + + Outputs.EncryptionPropertiesResponse? encryptionProperties, + + string id, + + Outputs.IdentityResponse? identity, + + string name, + + Outputs.NetworkRuleSetResponse? networkAcls, + + ImmutableArray privateEndpointConnections, + + string? protocolType, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + Encryption = encryption; + EncryptionProperties = encryptionProperties; + Id = id; + Identity = identity; + Name = name; + NetworkAcls = networkAcls; + PrivateEndpointConnections = privateEndpointConnections; + ProtocolType = protocolType; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/GetVolumeSnapshot.cs b/sdk/dotnet/ElasticSan/V20230101/GetVolumeSnapshot.cs new file mode 100644 index 000000000000..afecc862cbea --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/GetVolumeSnapshot.cs @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + public static class GetVolumeSnapshot + { + /// + /// Get a Volume Snapshot. + /// + public static Task InvokeAsync(GetVolumeSnapshotArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:elasticsan/v20230101:getVolumeSnapshot", args ?? new GetVolumeSnapshotArgs(), options.WithDefaults()); + + /// + /// Get a Volume Snapshot. + /// + public static Output Invoke(GetVolumeSnapshotInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:elasticsan/v20230101:getVolumeSnapshot", args ?? new GetVolumeSnapshotInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVolumeSnapshotArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public string ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the volume snapshot within the given volume group. + /// + [Input("snapshotName", required: true)] + public string SnapshotName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public string VolumeGroupName { get; set; } = null!; + + public GetVolumeSnapshotArgs() + { + } + public static new GetVolumeSnapshotArgs Empty => new GetVolumeSnapshotArgs(); + } + + public sealed class GetVolumeSnapshotInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the volume snapshot within the given volume group. + /// + [Input("snapshotName", required: true)] + public Input SnapshotName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + public GetVolumeSnapshotInvokeArgs() + { + } + public static new GetVolumeSnapshotInvokeArgs Empty => new GetVolumeSnapshotInvokeArgs(); + } + + + [OutputType] + public sealed class GetVolumeSnapshotResult + { + /// + /// Data used when creating a volume snapshot. + /// + public readonly Outputs.SnapshotCreationDataResponse CreationData; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// State of the operation on the resource. + /// + public readonly string ProvisioningState; + /// + /// Size of Source Volume + /// + public readonly double SourceVolumeSizeGiB; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Source Volume Name of a snapshot + /// + public readonly string VolumeName; + + [OutputConstructor] + private GetVolumeSnapshotResult( + Outputs.SnapshotCreationDataResponse creationData, + + string id, + + string name, + + string provisioningState, + + double sourceVolumeSizeGiB, + + Outputs.SystemDataResponse systemData, + + string type, + + string volumeName) + { + CreationData = creationData; + Id = id; + Name = name; + ProvisioningState = provisioningState; + SourceVolumeSizeGiB = sourceVolumeSizeGiB; + SystemData = systemData; + Type = type; + VolumeName = volumeName; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/EncryptionIdentityArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/EncryptionIdentityArgs.cs new file mode 100644 index 000000000000..706a089a903f --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/EncryptionIdentityArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Encryption identity for the volume group. + /// + public sealed class EncryptionIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + /// + [Input("encryptionUserAssignedIdentity")] + public Input? EncryptionUserAssignedIdentity { get; set; } + + public EncryptionIdentityArgs() + { + } + public static new EncryptionIdentityArgs Empty => new EncryptionIdentityArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/EncryptionPropertiesArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/EncryptionPropertiesArgs.cs new file mode 100644 index 000000000000..58bbbe539280 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/EncryptionPropertiesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// The encryption settings on the volume group. + /// + public sealed class EncryptionPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The identity to be used with service-side encryption at rest. + /// + [Input("encryptionIdentity")] + public Input? EncryptionIdentity { get; set; } + + /// + /// Properties provided by key vault. + /// + [Input("keyVaultProperties")] + public Input? KeyVaultProperties { get; set; } + + public EncryptionPropertiesArgs() + { + } + public static new EncryptionPropertiesArgs Empty => new EncryptionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/IdentityArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/IdentityArgs.cs new file mode 100644 index 000000000000..254c7c2ba18b --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/IdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class IdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The identity type. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public IdentityArgs() + { + } + public static new IdentityArgs Empty => new IdentityArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/KeyVaultPropertiesArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/KeyVaultPropertiesArgs.cs new file mode 100644 index 000000000000..2b0c332eb761 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/KeyVaultPropertiesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Properties of key vault. + /// + public sealed class KeyVaultPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of KeyVault key. + /// + [Input("keyName")] + public Input? KeyName { get; set; } + + /// + /// The Uri of KeyVault. + /// + [Input("keyVaultUri")] + public Input? KeyVaultUri { get; set; } + + /// + /// The version of KeyVault key. + /// + [Input("keyVersion")] + public Input? KeyVersion { get; set; } + + public KeyVaultPropertiesArgs() + { + } + public static new KeyVaultPropertiesArgs Empty => new KeyVaultPropertiesArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/ManagedByInfoArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/ManagedByInfoArgs.cs new file mode 100644 index 000000000000..47b8157cc937 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/ManagedByInfoArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Parent resource information. + /// + public sealed class ManagedByInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + public ManagedByInfoArgs() + { + } + public static new ManagedByInfoArgs Empty => new ManagedByInfoArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/NetworkRuleSetArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/NetworkRuleSetArgs.cs new file mode 100644 index 000000000000..1f01e927ec7b --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/NetworkRuleSetArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// A set of rules governing the network accessibility. + /// + public sealed class NetworkRuleSetArgs : global::Pulumi.ResourceArgs + { + [Input("virtualNetworkRules")] + private InputList? _virtualNetworkRules; + + /// + /// The list of virtual network rules. + /// + public InputList VirtualNetworkRules + { + get => _virtualNetworkRules ?? (_virtualNetworkRules = new InputList()); + set => _virtualNetworkRules = value; + } + + public NetworkRuleSetArgs() + { + } + public static new NetworkRuleSetArgs Empty => new NetworkRuleSetArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/PrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/PrivateLinkServiceConnectionStateArgs.cs new file mode 100644 index 000000000000..a438c6b3de7b --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/PrivateLinkServiceConnectionStateArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Response for Private Link Service Connection state + /// + public sealed class PrivateLinkServiceConnectionStateArgs : global::Pulumi.ResourceArgs + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + [Input("actionsRequired")] + public Input? ActionsRequired { get; set; } + + /// + /// The reason for approval/rejection of the connection. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public PrivateLinkServiceConnectionStateArgs() + { + } + public static new PrivateLinkServiceConnectionStateArgs Empty => new PrivateLinkServiceConnectionStateArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/SkuArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..76991aea2ae0 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/SkuArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// The SKU name. Required for account creation; optional for update. + /// + public sealed class SkuArgs : global::Pulumi.ResourceArgs + { + /// + /// The sku name. + /// + [Input("name", required: true)] + public InputUnion Name { get; set; } = null!; + + /// + /// The sku tier. + /// + [Input("tier")] + public InputUnion? Tier { get; set; } + + public SkuArgs() + { + } + public static new SkuArgs Empty => new SkuArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/SnapshotCreationDataArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/SnapshotCreationDataArgs.cs new file mode 100644 index 000000000000..f9cd6e816825 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/SnapshotCreationDataArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Data used when creating a volume snapshot. + /// + public sealed class SnapshotCreationDataArgs : global::Pulumi.ResourceArgs + { + /// + /// Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + /// + [Input("sourceId", required: true)] + public Input SourceId { get; set; } = null!; + + public SnapshotCreationDataArgs() + { + } + public static new SnapshotCreationDataArgs Empty => new SnapshotCreationDataArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/SourceCreationDataArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/SourceCreationDataArgs.cs new file mode 100644 index 000000000000..3bd40eaeb9ca --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/SourceCreationDataArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Data source used when creating the volume. + /// + public sealed class SourceCreationDataArgs : global::Pulumi.ResourceArgs + { + /// + /// This enumerates the possible sources of a volume creation. + /// + [Input("createSource")] + public InputUnion? CreateSource { get; set; } + + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + [Input("sourceId")] + public Input? SourceId { get; set; } + + public SourceCreationDataArgs() + { + } + public static new SourceCreationDataArgs Empty => new SourceCreationDataArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Inputs/VirtualNetworkRuleArgs.cs b/sdk/dotnet/ElasticSan/V20230101/Inputs/VirtualNetworkRuleArgs.cs new file mode 100644 index 000000000000..ff6a6965f62a --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Inputs/VirtualNetworkRuleArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Inputs +{ + + /// + /// Virtual Network rule. + /// + public sealed class VirtualNetworkRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The action of virtual network rule. + /// + [Input("action")] + public InputUnion? Action { get; set; } + + /// + /// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + /// + [Input("virtualNetworkResourceId", required: true)] + public Input VirtualNetworkResourceId { get; set; } = null!; + + public VirtualNetworkRuleArgs() + { + Action = "Allow"; + } + public static new VirtualNetworkRuleArgs Empty => new VirtualNetworkRuleArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/EncryptionIdentityResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/EncryptionIdentityResponse.cs new file mode 100644 index 000000000000..5fa1c958e9f6 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/EncryptionIdentityResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Encryption identity for the volume group. + /// + [OutputType] + public sealed class EncryptionIdentityResponse + { + /// + /// Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + /// + public readonly string? EncryptionUserAssignedIdentity; + + [OutputConstructor] + private EncryptionIdentityResponse(string? encryptionUserAssignedIdentity) + { + EncryptionUserAssignedIdentity = encryptionUserAssignedIdentity; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/EncryptionPropertiesResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/EncryptionPropertiesResponse.cs new file mode 100644 index 000000000000..fec1585a258f --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/EncryptionPropertiesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// The encryption settings on the volume group. + /// + [OutputType] + public sealed class EncryptionPropertiesResponse + { + /// + /// The identity to be used with service-side encryption at rest. + /// + public readonly Outputs.EncryptionIdentityResponse? EncryptionIdentity; + /// + /// Properties provided by key vault. + /// + public readonly Outputs.KeyVaultPropertiesResponse? KeyVaultProperties; + + [OutputConstructor] + private EncryptionPropertiesResponse( + Outputs.EncryptionIdentityResponse? encryptionIdentity, + + Outputs.KeyVaultPropertiesResponse? keyVaultProperties) + { + EncryptionIdentity = encryptionIdentity; + KeyVaultProperties = keyVaultProperties; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/IdentityResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/IdentityResponse.cs new file mode 100644 index 000000000000..6d14c3ecaf50 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/IdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class IdentityResponse + { + /// + /// The principal ID of resource identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of resource. + /// + public readonly string TenantId; + /// + /// The identity type. + /// + public readonly string Type; + /// + /// Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private IdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/IscsiTargetInfoResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/IscsiTargetInfoResponse.cs new file mode 100644 index 000000000000..89299e0439a1 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/IscsiTargetInfoResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Iscsi target information + /// + [OutputType] + public sealed class IscsiTargetInfoResponse + { + /// + /// State of the operation on the resource. + /// + public readonly string ProvisioningState; + /// + /// Operational status of the iSCSI Target. + /// + public readonly string? Status; + /// + /// iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". + /// + public readonly string TargetIqn; + /// + /// iSCSI Target Portal Host Name + /// + public readonly string TargetPortalHostname; + /// + /// iSCSI Target Portal Port + /// + public readonly int TargetPortalPort; + + [OutputConstructor] + private IscsiTargetInfoResponse( + string provisioningState, + + string? status, + + string targetIqn, + + string targetPortalHostname, + + int targetPortalPort) + { + ProvisioningState = provisioningState; + Status = status; + TargetIqn = targetIqn; + TargetPortalHostname = targetPortalHostname; + TargetPortalPort = targetPortalPort; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/KeyVaultPropertiesResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/KeyVaultPropertiesResponse.cs new file mode 100644 index 000000000000..41ada901bc01 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/KeyVaultPropertiesResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Properties of key vault. + /// + [OutputType] + public sealed class KeyVaultPropertiesResponse + { + /// + /// This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. + /// + public readonly string CurrentVersionedKeyExpirationTimestamp; + /// + /// The object identifier of the current versioned Key Vault Key in use. + /// + public readonly string CurrentVersionedKeyIdentifier; + /// + /// The name of KeyVault key. + /// + public readonly string? KeyName; + /// + /// The Uri of KeyVault. + /// + public readonly string? KeyVaultUri; + /// + /// The version of KeyVault key. + /// + public readonly string? KeyVersion; + /// + /// Timestamp of last rotation of the Key Vault Key. + /// + public readonly string LastKeyRotationTimestamp; + + [OutputConstructor] + private KeyVaultPropertiesResponse( + string currentVersionedKeyExpirationTimestamp, + + string currentVersionedKeyIdentifier, + + string? keyName, + + string? keyVaultUri, + + string? keyVersion, + + string lastKeyRotationTimestamp) + { + CurrentVersionedKeyExpirationTimestamp = currentVersionedKeyExpirationTimestamp; + CurrentVersionedKeyIdentifier = currentVersionedKeyIdentifier; + KeyName = keyName; + KeyVaultUri = keyVaultUri; + KeyVersion = keyVersion; + LastKeyRotationTimestamp = lastKeyRotationTimestamp; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/ManagedByInfoResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/ManagedByInfoResponse.cs new file mode 100644 index 000000000000..b18d5dbb0bce --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/ManagedByInfoResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Parent resource information. + /// + [OutputType] + public sealed class ManagedByInfoResponse + { + /// + /// Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + /// + public readonly string? ResourceId; + + [OutputConstructor] + private ManagedByInfoResponse(string? resourceId) + { + ResourceId = resourceId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/NetworkRuleSetResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/NetworkRuleSetResponse.cs new file mode 100644 index 000000000000..acbb14d8221d --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/NetworkRuleSetResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// A set of rules governing the network accessibility. + /// + [OutputType] + public sealed class NetworkRuleSetResponse + { + /// + /// The list of virtual network rules. + /// + public readonly ImmutableArray VirtualNetworkRules; + + [OutputConstructor] + private NetworkRuleSetResponse(ImmutableArray virtualNetworkRules) + { + VirtualNetworkRules = virtualNetworkRules; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..3555e76d03b9 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Response for PrivateEndpoint Connection object + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// List of resources private endpoint is mapped + /// + public readonly ImmutableArray GroupIds; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private Endpoint resource + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// Private Link Service Connection State. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// Provisioning State of Private Endpoint connection resource + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + ImmutableArray groupIds, + + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + GroupIds = groupIds; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateEndpointResponse.cs new file mode 100644 index 000000000000..cfbca6d40b04 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateEndpointResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Response for PrivateEndpoint + /// + [OutputType] + public sealed class PrivateEndpointResponse + { + /// + /// The ARM identifier for Private Endpoint + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointResponse(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateLinkServiceConnectionStateResponse.cs new file mode 100644 index 000000000000..c95b52b37395 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/PrivateLinkServiceConnectionStateResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Response for Private Link Service Connection state + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStateResponse + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + public readonly string? ActionsRequired; + /// + /// The reason for approval/rejection of the connection. + /// + public readonly string? Description; + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStateResponse( + string? actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/SkuResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..110b1776c199 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/SkuResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// The SKU name. Required for account creation; optional for update. + /// + [OutputType] + public sealed class SkuResponse + { + /// + /// The sku name. + /// + public readonly string Name; + /// + /// The sku tier. + /// + public readonly string? Tier; + + [OutputConstructor] + private SkuResponse( + string name, + + string? tier) + { + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/SnapshotCreationDataResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/SnapshotCreationDataResponse.cs new file mode 100644 index 000000000000..ec91eea0255a --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/SnapshotCreationDataResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Data used when creating a volume snapshot. + /// + [OutputType] + public sealed class SnapshotCreationDataResponse + { + /// + /// Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + /// + public readonly string SourceId; + + [OutputConstructor] + private SnapshotCreationDataResponse(string sourceId) + { + SourceId = sourceId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/SourceCreationDataResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/SourceCreationDataResponse.cs new file mode 100644 index 000000000000..7929f7a213b5 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/SourceCreationDataResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Data source used when creating the volume. + /// + [OutputType] + public sealed class SourceCreationDataResponse + { + /// + /// This enumerates the possible sources of a volume creation. + /// + public readonly string? CreateSource; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string? SourceId; + + [OutputConstructor] + private SourceCreationDataResponse( + string? createSource, + + string? sourceId) + { + CreateSource = createSource; + SourceId = sourceId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/SystemDataResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..16230da37f19 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..f29f68fbafe9 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// UserAssignedIdentity for the resource. + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/Outputs/VirtualNetworkRuleResponse.cs b/sdk/dotnet/ElasticSan/V20230101/Outputs/VirtualNetworkRuleResponse.cs new file mode 100644 index 000000000000..28c7c2ff5c31 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Outputs/VirtualNetworkRuleResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101.Outputs +{ + + /// + /// Virtual Network rule. + /// + [OutputType] + public sealed class VirtualNetworkRuleResponse + { + /// + /// The action of virtual network rule. + /// + public readonly string? Action; + /// + /// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + /// + public readonly string VirtualNetworkResourceId; + + [OutputConstructor] + private VirtualNetworkRuleResponse( + string? action, + + string virtualNetworkResourceId) + { + Action = action; + VirtualNetworkResourceId = virtualNetworkResourceId; + } + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/PrivateEndpointConnection.cs b/sdk/dotnet/ElasticSan/V20230101/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..60b6143abf18 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/PrivateEndpointConnection.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + /// + /// Response for PrivateEndpoint Connection object + /// + [AzureNativeResourceType("azure-native:elasticsan/v20230101:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : global::Pulumi.CustomResource + { + /// + /// List of resources private endpoint is mapped + /// + [Output("groupIds")] + public Output> GroupIds { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Private Endpoint resource + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// Private Link Service Connection State. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// Provisioning State of Private Endpoint connection resource + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection 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 PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:elasticsan:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:PrivateEndpointConnection"}, + }, + }; + 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 PrivateEndpointConnection 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + [Input("groupIds")] + private InputList? _groupIds; + + /// + /// List of resources private endpoint is mapped + /// + public InputList GroupIds + { + get => _groupIds ?? (_groupIds = new InputList()); + set => _groupIds = value; + } + + /// + /// The name of the Private Endpoint connection. + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// Private Link Service Connection State. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + public static new PrivateEndpointConnectionArgs Empty => new PrivateEndpointConnectionArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/README.md b/sdk/dotnet/ElasticSan/V20230101/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/ElasticSan/V20230101/Volume.cs b/sdk/dotnet/ElasticSan/V20230101/Volume.cs new file mode 100644 index 000000000000..11bd539217d0 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/Volume.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + /// + /// Response for Volume request. + /// + [AzureNativeResourceType("azure-native:elasticsan/v20230101:Volume")] + public partial class Volume : global::Pulumi.CustomResource + { + /// + /// State of the operation on the resource. + /// + [Output("creationData")] + public Output CreationData { get; private set; } = null!; + + /// + /// Parent resource information. + /// + [Output("managedBy")] + public Output ManagedBy { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// State of the operation on the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Volume size. + /// + [Output("sizeGiB")] + public Output SizeGiB { get; private set; } = null!; + + /// + /// Storage target information + /// + [Output("storageTarget")] + public Output StorageTarget { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Unique Id of the volume in GUID format + /// + [Output("volumeId")] + public Output VolumeId { get; private set; } = null!; + + + /// + /// Create a Volume 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 Volume(string name, VolumeArgs args, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:Volume", name, args ?? new VolumeArgs(), MakeResourceOptions(options, "")) + { + } + + private Volume(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:Volume", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:elasticsan:Volume"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:Volume"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:Volume"}, + }, + }; + 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 Volume 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. + /// A bag of options that control this resource's behavior + public static Volume Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Volume(name, id, options); + } + } + + public sealed class VolumeArgs : global::Pulumi.ResourceArgs + { + /// + /// State of the operation on the resource. + /// + [Input("creationData")] + public Input? CreationData { get; set; } + + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// Parent resource information. + /// + [Input("managedBy")] + public Input? ManagedBy { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Volume size. + /// + [Input("sizeGiB", required: true)] + public Input SizeGiB { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + /// + /// The name of the Volume. + /// + [Input("volumeName")] + public Input? VolumeName { get; set; } + + public VolumeArgs() + { + } + public static new VolumeArgs Empty => new VolumeArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/VolumeGroup.cs b/sdk/dotnet/ElasticSan/V20230101/VolumeGroup.cs new file mode 100644 index 000000000000..363779eb5104 --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/VolumeGroup.cs @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + /// + /// Response for Volume Group request. + /// + [AzureNativeResourceType("azure-native:elasticsan/v20230101:VolumeGroup")] + public partial class VolumeGroup : global::Pulumi.CustomResource + { + /// + /// Type of encryption + /// + [Output("encryption")] + public Output Encryption { get; private set; } = null!; + + /// + /// Encryption Properties describing Key Vault and Identity information + /// + [Output("encryptionProperties")] + public Output EncryptionProperties { get; private set; } = null!; + + /// + /// The identity of the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// A collection of rules governing the accessibility from specific network locations. + /// + [Output("networkAcls")] + public Output NetworkAcls { get; private set; } = null!; + + /// + /// The list of Private Endpoint Connections. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// Type of storage target + /// + [Output("protocolType")] + public Output ProtocolType { get; private set; } = null!; + + /// + /// State of the operation on the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a VolumeGroup 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 VolumeGroup(string name, VolumeGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:VolumeGroup", name, args ?? new VolumeGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private VolumeGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:VolumeGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:elasticsan:VolumeGroup"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:VolumeGroup"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:VolumeGroup"}, + }, + }; + 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 VolumeGroup 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. + /// A bag of options that control this resource's behavior + public static VolumeGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VolumeGroup(name, id, options); + } + } + + public sealed class VolumeGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// Type of encryption + /// + [Input("encryption")] + public InputUnion? Encryption { get; set; } + + /// + /// Encryption Properties describing Key Vault and Identity information + /// + [Input("encryptionProperties")] + public Input? EncryptionProperties { get; set; } + + /// + /// The identity of the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// A collection of rules governing the accessibility from specific network locations. + /// + [Input("networkAcls")] + public Input? NetworkAcls { get; set; } + + /// + /// Type of storage target + /// + [Input("protocolType")] + public InputUnion? ProtocolType { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName")] + public Input? VolumeGroupName { get; set; } + + public VolumeGroupArgs() + { + } + public static new VolumeGroupArgs Empty => new VolumeGroupArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/V20230101/VolumeSnapshot.cs b/sdk/dotnet/ElasticSan/V20230101/VolumeSnapshot.cs new file mode 100644 index 000000000000..80275f45232f --- /dev/null +++ b/sdk/dotnet/ElasticSan/V20230101/VolumeSnapshot.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan.V20230101 +{ + /// + /// Response for Volume Snapshot request. + /// + [AzureNativeResourceType("azure-native:elasticsan/v20230101:VolumeSnapshot")] + public partial class VolumeSnapshot : global::Pulumi.CustomResource + { + /// + /// Data used when creating a volume snapshot. + /// + [Output("creationData")] + public Output CreationData { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// State of the operation on the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Size of Source Volume + /// + [Output("sourceVolumeSizeGiB")] + public Output SourceVolumeSizeGiB { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Source Volume Name of a snapshot + /// + [Output("volumeName")] + public Output VolumeName { get; private set; } = null!; + + + /// + /// Create a VolumeSnapshot 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 VolumeSnapshot(string name, VolumeSnapshotArgs args, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:VolumeSnapshot", name, args ?? new VolumeSnapshotArgs(), MakeResourceOptions(options, "")) + { + } + + private VolumeSnapshot(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:elasticsan/v20230101:VolumeSnapshot", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:elasticsan:VolumeSnapshot"}, + }, + }; + 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 VolumeSnapshot 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. + /// A bag of options that control this resource's behavior + public static VolumeSnapshot Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VolumeSnapshot(name, id, options); + } + } + + public sealed class VolumeSnapshotArgs : global::Pulumi.ResourceArgs + { + /// + /// Data used when creating a volume snapshot. + /// + [Input("creationData", required: true)] + public Input CreationData { get; set; } = null!; + + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the volume snapshot within the given volume group. + /// + [Input("snapshotName")] + public Input? SnapshotName { get; set; } + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + public VolumeSnapshotArgs() + { + } + public static new VolumeSnapshotArgs Empty => new VolumeSnapshotArgs(); + } +} diff --git a/sdk/dotnet/ElasticSan/Volume.cs b/sdk/dotnet/ElasticSan/Volume.cs index 20031851e3e7..42aa5b2c8fd7 100644 --- a/sdk/dotnet/ElasticSan/Volume.cs +++ b/sdk/dotnet/ElasticSan/Volume.cs @@ -91,6 +91,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:Volume"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:Volume"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:Volume"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/VolumeGroup.cs b/sdk/dotnet/ElasticSan/VolumeGroup.cs index c92b32e7543a..43a0cb6c1ac3 100644 --- a/sdk/dotnet/ElasticSan/VolumeGroup.cs +++ b/sdk/dotnet/ElasticSan/VolumeGroup.cs @@ -91,6 +91,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20211120preview:VolumeGroup"}, new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20221201preview:VolumeGroup"}, + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:VolumeGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/ElasticSan/VolumeSnapshot.cs b/sdk/dotnet/ElasticSan/VolumeSnapshot.cs new file mode 100644 index 000000000000..3de91665e1c3 --- /dev/null +++ b/sdk/dotnet/ElasticSan/VolumeSnapshot.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.ElasticSan +{ + /// + /// Response for Volume Snapshot request. + /// Azure REST API version: 2023-01-01. + /// + [AzureNativeResourceType("azure-native:elasticsan:VolumeSnapshot")] + public partial class VolumeSnapshot : global::Pulumi.CustomResource + { + /// + /// Data used when creating a volume snapshot. + /// + [Output("creationData")] + public Output CreationData { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// State of the operation on the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Size of Source Volume + /// + [Output("sourceVolumeSizeGiB")] + public Output SourceVolumeSizeGiB { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Source Volume Name of a snapshot + /// + [Output("volumeName")] + public Output VolumeName { get; private set; } = null!; + + + /// + /// Create a VolumeSnapshot 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 VolumeSnapshot(string name, VolumeSnapshotArgs args, CustomResourceOptions? options = null) + : base("azure-native:elasticsan:VolumeSnapshot", name, args ?? new VolumeSnapshotArgs(), MakeResourceOptions(options, "")) + { + } + + private VolumeSnapshot(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:elasticsan:VolumeSnapshot", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:elasticsan/v20230101:VolumeSnapshot"}, + }, + }; + 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 VolumeSnapshot 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. + /// A bag of options that control this resource's behavior + public static VolumeSnapshot Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VolumeSnapshot(name, id, options); + } + } + + public sealed class VolumeSnapshotArgs : global::Pulumi.ResourceArgs + { + /// + /// Data used when creating a volume snapshot. + /// + [Input("creationData", required: true)] + public Input CreationData { get; set; } = null!; + + /// + /// The name of the ElasticSan. + /// + [Input("elasticSanName", required: true)] + public Input ElasticSanName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the volume snapshot within the given volume group. + /// + [Input("snapshotName")] + public Input? SnapshotName { get; set; } + + /// + /// The name of the VolumeGroup. + /// + [Input("volumeGroupName", required: true)] + public Input VolumeGroupName { get; set; } = null!; + + public VolumeSnapshotArgs() + { + } + public static new VolumeSnapshotArgs Empty => new VolumeSnapshotArgs(); + } +} diff --git a/sdk/dotnet/IoTSecurity/DefenderSetting.cs b/sdk/dotnet/IoTSecurity/DefenderSetting.cs deleted file mode 100644 index af64691104a8..000000000000 --- a/sdk/dotnet/IoTSecurity/DefenderSetting.cs +++ /dev/null @@ -1,145 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - /// - /// IoT Defender settings - /// Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - /// - [AzureNativeResourceType("azure-native:iotsecurity:DefenderSetting")] - public partial class DefenderSetting : global::Pulumi.CustomResource - { - /// - /// Size of the device quota. Value is required to be in multiples of 100. - /// - [Output("deviceQuota")] - public Output DeviceQuota { get; private set; } = null!; - - /// - /// End time of the evaluation period, if such exist - /// - [Output("evaluationEndTime")] - public Output EvaluationEndTime { get; private set; } = null!; - - /// - /// MDE integration configuration - /// - [Output("mdeIntegration")] - public Output MdeIntegration { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The kind of onboarding for the subscription - /// - [Output("onboardingKind")] - public Output OnboardingKind { get; private set; } = null!; - - /// - /// Sentinel Workspace Resource Ids - /// - [Output("sentinelWorkspaceResourceIds")] - public Output> SentinelWorkspaceResourceIds { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a DefenderSetting 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 DefenderSetting(string name, DefenderSettingArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:DefenderSetting", name, args ?? new DefenderSettingArgs(), MakeResourceOptions(options, "")) - { - } - - private DefenderSetting(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:DefenderSetting", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity/v20210201preview:DefenderSetting"}, - }, - }; - 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 DefenderSetting 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. - /// A bag of options that control this resource's behavior - public static DefenderSetting Get(string name, Input id, CustomResourceOptions? options = null) - { - return new DefenderSetting(name, id, options); - } - } - - public sealed class DefenderSettingArgs : global::Pulumi.ResourceArgs - { - /// - /// Size of the device quota. Value is required to be in multiples of 100. - /// - [Input("deviceQuota", required: true)] - public Input DeviceQuota { get; set; } = null!; - - /// - /// MDE integration configuration - /// - [Input("mdeIntegration", required: true)] - public Input MdeIntegration { get; set; } = null!; - - /// - /// The kind of onboarding for the subscription - /// - [Input("onboardingKind", required: true)] - public InputUnion OnboardingKind { get; set; } = null!; - - [Input("sentinelWorkspaceResourceIds", required: true)] - private InputList? _sentinelWorkspaceResourceIds; - - /// - /// Sentinel Workspace Resource Ids - /// - public InputList SentinelWorkspaceResourceIds - { - get => _sentinelWorkspaceResourceIds ?? (_sentinelWorkspaceResourceIds = new InputList()); - set => _sentinelWorkspaceResourceIds = value; - } - - public DefenderSettingArgs() - { - } - public static new DefenderSettingArgs Empty => new DefenderSettingArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/DeviceGroup.cs b/sdk/dotnet/IoTSecurity/DeviceGroup.cs deleted file mode 100644 index 479cee5e0387..000000000000 --- a/sdk/dotnet/IoTSecurity/DeviceGroup.cs +++ /dev/null @@ -1,103 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - /// - /// Device group - /// Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - /// - [AzureNativeResourceType("azure-native:iotsecurity:DeviceGroup")] - public partial class DeviceGroup : global::Pulumi.CustomResource - { - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a DeviceGroup 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 DeviceGroup(string name, DeviceGroupArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:DeviceGroup", name, args ?? new DeviceGroupArgs(), MakeResourceOptions(options, "")) - { - } - - private DeviceGroup(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:DeviceGroup", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity/v20210201preview:DeviceGroup"}, - }, - }; - 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 DeviceGroup 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. - /// A bag of options that control this resource's behavior - public static DeviceGroup Get(string name, Input id, CustomResourceOptions? options = null) - { - return new DeviceGroup(name, id, options); - } - } - - public sealed class DeviceGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// Device group name - /// - [Input("deviceGroupName")] - public Input? DeviceGroupName { get; set; } - - /// - /// Defender for IoT location - /// - [Input("iotDefenderLocation", required: true)] - public Input IotDefenderLocation { get; set; } = null!; - - public DeviceGroupArgs() - { - } - public static new DeviceGroupArgs Empty => new DeviceGroupArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/Enums.cs b/sdk/dotnet/IoTSecurity/Enums.cs deleted file mode 100644 index 408a2f664c59..000000000000 --- a/sdk/dotnet/IoTSecurity/Enums.cs +++ /dev/null @@ -1,104 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.IoTSecurity -{ - /// - /// Integration status - /// - [EnumType] - public readonly struct MdeIntegration : IEquatable - { - private readonly string _value; - - private MdeIntegration(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static MdeIntegration Disabled { get; } = new MdeIntegration("Disabled"); - public static MdeIntegration Enabled { get; } = new MdeIntegration("Enabled"); - - public static bool operator ==(MdeIntegration left, MdeIntegration right) => left.Equals(right); - public static bool operator !=(MdeIntegration left, MdeIntegration right) => !left.Equals(right); - - public static explicit operator string(MdeIntegration value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is MdeIntegration other && Equals(other); - public bool Equals(MdeIntegration other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The kind of onboarding for the subscription - /// - [EnumType] - public readonly struct OnboardingKind : IEquatable - { - private readonly string _value; - - private OnboardingKind(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OnboardingKind Default { get; } = new OnboardingKind("Default"); - public static OnboardingKind MigratedToAzure { get; } = new OnboardingKind("MigratedToAzure"); - public static OnboardingKind Evaluation { get; } = new OnboardingKind("Evaluation"); - public static OnboardingKind Purchased { get; } = new OnboardingKind("Purchased"); - - public static bool operator ==(OnboardingKind left, OnboardingKind right) => left.Equals(right); - public static bool operator !=(OnboardingKind left, OnboardingKind right) => !left.Equals(right); - - public static explicit operator string(OnboardingKind value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OnboardingKind other && Equals(other); - public bool Equals(OnboardingKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Type of sensor - /// - [EnumType] - public readonly struct SensorType : IEquatable - { - private readonly string _value; - - private SensorType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static SensorType Ot { get; } = new SensorType("Ot"); - public static SensorType Enterprise { get; } = new SensorType("Enterprise"); - - public static bool operator ==(SensorType left, SensorType right) => left.Equals(right); - public static bool operator !=(SensorType left, SensorType right) => !left.Equals(right); - - public static explicit operator string(SensorType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is SensorType other && Equals(other); - public bool Equals(SensorType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/IoTSecurity/GetDefenderSetting.cs b/sdk/dotnet/IoTSecurity/GetDefenderSetting.cs deleted file mode 100644 index 044e7fb77e98..000000000000 --- a/sdk/dotnet/IoTSecurity/GetDefenderSetting.cs +++ /dev/null @@ -1,103 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - public static class GetDefenderSetting - { - /// - /// Get IoT Defender Settings - /// Azure REST API version: 2021-02-01-preview. - /// - public static Task InvokeAsync(GetDefenderSettingArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity:getDefenderSetting", args ?? new GetDefenderSettingArgs(), options.WithDefaults()); - - /// - /// Get IoT Defender Settings - /// Azure REST API version: 2021-02-01-preview. - /// - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity:getDefenderSetting", InvokeArgs.Empty, options.WithDefaults()); - } - - - public sealed class GetDefenderSettingArgs : global::Pulumi.InvokeArgs - { - public GetDefenderSettingArgs() - { - } - public static new GetDefenderSettingArgs Empty => new GetDefenderSettingArgs(); - } - - - [OutputType] - public sealed class GetDefenderSettingResult - { - /// - /// Size of the device quota. Value is required to be in multiples of 100. - /// - public readonly int DeviceQuota; - /// - /// End time of the evaluation period, if such exist - /// - public readonly string EvaluationEndTime; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// MDE integration configuration - /// - public readonly Outputs.DefenderSettingsPropertiesResponseMdeIntegration MdeIntegration; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// The kind of onboarding for the subscription - /// - public readonly string OnboardingKind; - /// - /// Sentinel Workspace Resource Ids - /// - public readonly ImmutableArray SentinelWorkspaceResourceIds; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetDefenderSettingResult( - int deviceQuota, - - string evaluationEndTime, - - string id, - - Outputs.DefenderSettingsPropertiesResponseMdeIntegration mdeIntegration, - - string name, - - string onboardingKind, - - ImmutableArray sentinelWorkspaceResourceIds, - - string type) - { - DeviceQuota = deviceQuota; - EvaluationEndTime = evaluationEndTime; - Id = id; - MdeIntegration = mdeIntegration; - Name = name; - OnboardingKind = onboardingKind; - SentinelWorkspaceResourceIds = sentinelWorkspaceResourceIds; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/GetDeviceGroup.cs b/sdk/dotnet/IoTSecurity/GetDeviceGroup.cs deleted file mode 100644 index 9d1c52857fbf..000000000000 --- a/sdk/dotnet/IoTSecurity/GetDeviceGroup.cs +++ /dev/null @@ -1,107 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - public static class GetDeviceGroup - { - /// - /// Get device group - /// Azure REST API version: 2021-02-01-preview. - /// - public static Task InvokeAsync(GetDeviceGroupArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity:getDeviceGroup", args ?? new GetDeviceGroupArgs(), options.WithDefaults()); - - /// - /// Get device group - /// Azure REST API version: 2021-02-01-preview. - /// - public static Output Invoke(GetDeviceGroupInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity:getDeviceGroup", args ?? new GetDeviceGroupInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetDeviceGroupArgs : global::Pulumi.InvokeArgs - { - /// - /// Device group name - /// - [Input("deviceGroupName", required: true)] - public string DeviceGroupName { get; set; } = null!; - - /// - /// Defender for IoT location - /// - [Input("iotDefenderLocation", required: true)] - public string IotDefenderLocation { get; set; } = null!; - - public GetDeviceGroupArgs() - { - } - public static new GetDeviceGroupArgs Empty => new GetDeviceGroupArgs(); - } - - public sealed class GetDeviceGroupInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Device group name - /// - [Input("deviceGroupName", required: true)] - public Input DeviceGroupName { get; set; } = null!; - - /// - /// Defender for IoT location - /// - [Input("iotDefenderLocation", required: true)] - public Input IotDefenderLocation { get; set; } = null!; - - public GetDeviceGroupInvokeArgs() - { - } - public static new GetDeviceGroupInvokeArgs Empty => new GetDeviceGroupInvokeArgs(); - } - - - [OutputType] - public sealed class GetDeviceGroupResult - { - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetDeviceGroupResult( - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - string type) - { - Id = id; - Name = name; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/GetOnPremiseSensor.cs b/sdk/dotnet/IoTSecurity/GetOnPremiseSensor.cs deleted file mode 100644 index e49f68426171..000000000000 --- a/sdk/dotnet/IoTSecurity/GetOnPremiseSensor.cs +++ /dev/null @@ -1,95 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - public static class GetOnPremiseSensor - { - /// - /// Get on-premise IoT sensor - /// Azure REST API version: 2021-02-01-preview. - /// - public static Task InvokeAsync(GetOnPremiseSensorArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity:getOnPremiseSensor", args ?? new GetOnPremiseSensorArgs(), options.WithDefaults()); - - /// - /// Get on-premise IoT sensor - /// Azure REST API version: 2021-02-01-preview. - /// - public static Output Invoke(GetOnPremiseSensorInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity:getOnPremiseSensor", args ?? new GetOnPremiseSensorInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetOnPremiseSensorArgs : global::Pulumi.InvokeArgs - { - /// - /// Name of the on-premise IoT sensor - /// - [Input("onPremiseSensorName", required: true)] - public string OnPremiseSensorName { get; set; } = null!; - - public GetOnPremiseSensorArgs() - { - } - public static new GetOnPremiseSensorArgs Empty => new GetOnPremiseSensorArgs(); - } - - public sealed class GetOnPremiseSensorInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Name of the on-premise IoT sensor - /// - [Input("onPremiseSensorName", required: true)] - public Input OnPremiseSensorName { get; set; } = null!; - - public GetOnPremiseSensorInvokeArgs() - { - } - public static new GetOnPremiseSensorInvokeArgs Empty => new GetOnPremiseSensorInvokeArgs(); - } - - - [OutputType] - public sealed class GetOnPremiseSensorResult - { - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetOnPremiseSensorResult( - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - string type) - { - Id = id; - Name = name; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/GetSensor.cs b/sdk/dotnet/IoTSecurity/GetSensor.cs deleted file mode 100644 index 2abaa92a7a67..000000000000 --- a/sdk/dotnet/IoTSecurity/GetSensor.cs +++ /dev/null @@ -1,177 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - public static class GetSensor - { - /// - /// Get IoT sensor - /// Azure REST API version: 2021-02-01-preview. - /// - public static Task InvokeAsync(GetSensorArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity:getSensor", args ?? new GetSensorArgs(), options.WithDefaults()); - - /// - /// Get IoT sensor - /// Azure REST API version: 2021-02-01-preview. - /// - public static Output Invoke(GetSensorInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity:getSensor", args ?? new GetSensorInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSensorArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public string Scope { get; set; } = null!; - - /// - /// Name of the IoT sensor - /// - [Input("sensorName", required: true)] - public string SensorName { get; set; } = null!; - - public GetSensorArgs() - { - } - public static new GetSensorArgs Empty => new GetSensorArgs(); - } - - public sealed class GetSensorInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - /// - /// Name of the IoT sensor - /// - [Input("sensorName", required: true)] - public Input SensorName { get; set; } = null!; - - public GetSensorInvokeArgs() - { - } - public static new GetSensorInvokeArgs Empty => new GetSensorInvokeArgs(); - } - - - [OutputType] - public sealed class GetSensorResult - { - /// - /// Last connectivity time of the IoT sensor - /// - public readonly string ConnectivityTime; - /// - /// Dynamic mode status of the IoT sensor - /// - public readonly bool DynamicLearning; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// Learning mode status of the IoT sensor - /// - public readonly bool LearningMode; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Status of the IoT sensor - /// - public readonly string SensorStatus; - /// - /// Type of sensor - /// - public readonly string? SensorType; - /// - /// Version of the IoT sensor - /// - public readonly string SensorVersion; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// TI Automatic mode status of the IoT sensor - /// - public readonly bool? TiAutomaticUpdates; - /// - /// TI Status of the IoT sensor - /// - public readonly string TiStatus; - /// - /// TI Version of the IoT sensor - /// - public readonly string TiVersion; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - /// - /// Zone of the IoT sensor - /// - public readonly string? Zone; - - [OutputConstructor] - private GetSensorResult( - string connectivityTime, - - bool dynamicLearning, - - string id, - - bool learningMode, - - string name, - - string sensorStatus, - - string? sensorType, - - string sensorVersion, - - Outputs.SystemDataResponse systemData, - - bool? tiAutomaticUpdates, - - string tiStatus, - - string tiVersion, - - string type, - - string? zone) - { - ConnectivityTime = connectivityTime; - DynamicLearning = dynamicLearning; - Id = id; - LearningMode = learningMode; - Name = name; - SensorStatus = sensorStatus; - SensorType = sensorType; - SensorVersion = sensorVersion; - SystemData = systemData; - TiAutomaticUpdates = tiAutomaticUpdates; - TiStatus = tiStatus; - TiVersion = tiVersion; - Type = type; - Zone = zone; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/GetSite.cs b/sdk/dotnet/IoTSecurity/GetSite.cs deleted file mode 100644 index b064cefec32e..000000000000 --- a/sdk/dotnet/IoTSecurity/GetSite.cs +++ /dev/null @@ -1,109 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - public static class GetSite - { - /// - /// Get IoT site - /// Azure REST API version: 2021-02-01-preview. - /// - public static Task InvokeAsync(GetSiteArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity:getSite", args ?? new GetSiteArgs(), options.WithDefaults()); - - /// - /// Get IoT site - /// Azure REST API version: 2021-02-01-preview. - /// - public static Output Invoke(GetSiteInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity:getSite", args ?? new GetSiteInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSiteArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public string Scope { get; set; } = null!; - - public GetSiteArgs() - { - } - public static new GetSiteArgs Empty => new GetSiteArgs(); - } - - public sealed class GetSiteInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - public GetSiteInvokeArgs() - { - } - public static new GetSiteInvokeArgs Empty => new GetSiteInvokeArgs(); - } - - - [OutputType] - public sealed class GetSiteResult - { - /// - /// Display name of the IoT site - /// - public readonly string DisplayName; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// Tags of the IoT site - /// - public readonly ImmutableDictionary? Tags; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetSiteResult( - string displayName, - - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - ImmutableDictionary? tags, - - string type) - { - DisplayName = displayName; - Id = id; - Name = name; - SystemData = systemData; - Tags = tags; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/Inputs/DefenderSettingsPropertiesMdeIntegrationArgs.cs b/sdk/dotnet/IoTSecurity/Inputs/DefenderSettingsPropertiesMdeIntegrationArgs.cs deleted file mode 100644 index 2c4d913ba596..000000000000 --- a/sdk/dotnet/IoTSecurity/Inputs/DefenderSettingsPropertiesMdeIntegrationArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.Inputs -{ - - /// - /// MDE integration configuration - /// - public sealed class DefenderSettingsPropertiesMdeIntegrationArgs : global::Pulumi.ResourceArgs - { - /// - /// Integration status - /// - [Input("status", required: true)] - public InputUnion Status { get; set; } = null!; - - public DefenderSettingsPropertiesMdeIntegrationArgs() - { - } - public static new DefenderSettingsPropertiesMdeIntegrationArgs Empty => new DefenderSettingsPropertiesMdeIntegrationArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/OnPremiseSensor.cs b/sdk/dotnet/IoTSecurity/OnPremiseSensor.cs deleted file mode 100644 index 559c800127ef..000000000000 --- a/sdk/dotnet/IoTSecurity/OnPremiseSensor.cs +++ /dev/null @@ -1,97 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - /// - /// On-premise IoT sensor - /// Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - /// - [AzureNativeResourceType("azure-native:iotsecurity:OnPremiseSensor")] - public partial class OnPremiseSensor : global::Pulumi.CustomResource - { - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a OnPremiseSensor 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 OnPremiseSensor(string name, OnPremiseSensorArgs? args = null, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:OnPremiseSensor", name, args ?? new OnPremiseSensorArgs(), MakeResourceOptions(options, "")) - { - } - - private OnPremiseSensor(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:OnPremiseSensor", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity/v20210201preview:OnPremiseSensor"}, - }, - }; - 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 OnPremiseSensor 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. - /// A bag of options that control this resource's behavior - public static OnPremiseSensor Get(string name, Input id, CustomResourceOptions? options = null) - { - return new OnPremiseSensor(name, id, options); - } - } - - public sealed class OnPremiseSensorArgs : global::Pulumi.ResourceArgs - { - /// - /// Name of the on-premise IoT sensor - /// - [Input("onPremiseSensorName")] - public Input? OnPremiseSensorName { get; set; } - - public OnPremiseSensorArgs() - { - } - public static new OnPremiseSensorArgs Empty => new OnPremiseSensorArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/Outputs/DefenderSettingsPropertiesResponseMdeIntegration.cs b/sdk/dotnet/IoTSecurity/Outputs/DefenderSettingsPropertiesResponseMdeIntegration.cs deleted file mode 100644 index d9e11a9a3493..000000000000 --- a/sdk/dotnet/IoTSecurity/Outputs/DefenderSettingsPropertiesResponseMdeIntegration.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.Outputs -{ - - /// - /// MDE integration configuration - /// - [OutputType] - public sealed class DefenderSettingsPropertiesResponseMdeIntegration - { - /// - /// Integration status - /// - public readonly string Status; - - [OutputConstructor] - private DefenderSettingsPropertiesResponseMdeIntegration(string status) - { - Status = status; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/Outputs/SystemDataResponse.cs b/sdk/dotnet/IoTSecurity/Outputs/SystemDataResponse.cs deleted file mode 100644 index 2799e1f51b7c..000000000000 --- a/sdk/dotnet/IoTSecurity/Outputs/SystemDataResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.Outputs -{ - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [OutputType] - public sealed class SystemDataResponse - { - /// - /// The timestamp of resource creation (UTC). - /// - public readonly string? CreatedAt; - /// - /// The identity that created the resource. - /// - public readonly string? CreatedBy; - /// - /// The type of identity that created the resource. - /// - public readonly string? CreatedByType; - /// - /// The timestamp of resource last modification (UTC) - /// - public readonly string? LastModifiedAt; - /// - /// The identity that last modified the resource. - /// - public readonly string? LastModifiedBy; - /// - /// The type of identity that last modified the resource. - /// - public readonly string? LastModifiedByType; - - [OutputConstructor] - private SystemDataResponse( - string? createdAt, - - string? createdBy, - - string? createdByType, - - string? lastModifiedAt, - - string? lastModifiedBy, - - string? lastModifiedByType) - { - CreatedAt = createdAt; - CreatedBy = createdBy; - CreatedByType = createdByType; - LastModifiedAt = lastModifiedAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/Sensor.cs b/sdk/dotnet/IoTSecurity/Sensor.cs deleted file mode 100644 index 145f74ea3fd3..000000000000 --- a/sdk/dotnet/IoTSecurity/Sensor.cs +++ /dev/null @@ -1,181 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - /// - /// IoT sensor model - /// Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - /// - [AzureNativeResourceType("azure-native:iotsecurity:Sensor")] - public partial class Sensor : global::Pulumi.CustomResource - { - /// - /// Last connectivity time of the IoT sensor - /// - [Output("connectivityTime")] - public Output ConnectivityTime { get; private set; } = null!; - - /// - /// Dynamic mode status of the IoT sensor - /// - [Output("dynamicLearning")] - public Output DynamicLearning { get; private set; } = null!; - - /// - /// Learning mode status of the IoT sensor - /// - [Output("learningMode")] - public Output LearningMode { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Status of the IoT sensor - /// - [Output("sensorStatus")] - public Output SensorStatus { get; private set; } = null!; - - /// - /// Type of sensor - /// - [Output("sensorType")] - public Output SensorType { get; private set; } = null!; - - /// - /// Version of the IoT sensor - /// - [Output("sensorVersion")] - public Output SensorVersion { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// TI Automatic mode status of the IoT sensor - /// - [Output("tiAutomaticUpdates")] - public Output TiAutomaticUpdates { get; private set; } = null!; - - /// - /// TI Status of the IoT sensor - /// - [Output("tiStatus")] - public Output TiStatus { get; private set; } = null!; - - /// - /// TI Version of the IoT sensor - /// - [Output("tiVersion")] - public Output TiVersion { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - /// - /// Zone of the IoT sensor - /// - [Output("zone")] - public Output Zone { get; private set; } = null!; - - - /// - /// Create a Sensor 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 Sensor(string name, SensorArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:Sensor", name, args ?? new SensorArgs(), MakeResourceOptions(options, "")) - { - } - - private Sensor(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:Sensor", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity/v20210201preview:Sensor"}, - }, - }; - 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 Sensor 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. - /// A bag of options that control this resource's behavior - public static Sensor Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Sensor(name, id, options); - } - } - - public sealed class SensorArgs : global::Pulumi.ResourceArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - /// - /// Name of the IoT sensor - /// - [Input("sensorName")] - public Input? SensorName { get; set; } - - /// - /// Type of sensor - /// - [Input("sensorType")] - public InputUnion? SensorType { get; set; } - - /// - /// TI Automatic mode status of the IoT sensor - /// - [Input("tiAutomaticUpdates")] - public Input? TiAutomaticUpdates { get; set; } - - /// - /// Zone of the IoT sensor - /// - [Input("zone")] - public Input? Zone { get; set; } - - public SensorArgs() - { - } - public static new SensorArgs Empty => new SensorArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/Site.cs b/sdk/dotnet/IoTSecurity/Site.cs deleted file mode 100644 index 2c30374dbf93..000000000000 --- a/sdk/dotnet/IoTSecurity/Site.cs +++ /dev/null @@ -1,127 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity -{ - /// - /// IoT site model - /// Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - /// - [AzureNativeResourceType("azure-native:iotsecurity:Site")] - public partial class Site : global::Pulumi.CustomResource - { - /// - /// Display name of the IoT site - /// - [Output("displayName")] - public Output DisplayName { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// Tags of the IoT site - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a Site 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 Site(string name, SiteArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:Site", name, args ?? new SiteArgs(), MakeResourceOptions(options, "")) - { - } - - private Site(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity:Site", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity/v20210201preview:Site"}, - }, - }; - 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 Site 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. - /// A bag of options that control this resource's behavior - public static Site Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Site(name, id, options); - } - } - - public sealed class SiteArgs : global::Pulumi.ResourceArgs - { - /// - /// Display name of the IoT site - /// - [Input("displayName", required: true)] - public Input DisplayName { get; set; } = null!; - - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - [Input("tags")] - private InputMap? _tags; - - /// - /// Tags of the IoT site - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - public SiteArgs() - { - } - public static new SiteArgs Empty => new SiteArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/DefenderSetting.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/DefenderSetting.cs deleted file mode 100644 index 6e1c215a7810..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/DefenderSetting.cs +++ /dev/null @@ -1,144 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - /// - /// IoT Defender settings - /// - [AzureNativeResourceType("azure-native:iotsecurity/v20210201preview:DefenderSetting")] - public partial class DefenderSetting : global::Pulumi.CustomResource - { - /// - /// Size of the device quota. Value is required to be in multiples of 100. - /// - [Output("deviceQuota")] - public Output DeviceQuota { get; private set; } = null!; - - /// - /// End time of the evaluation period, if such exist - /// - [Output("evaluationEndTime")] - public Output EvaluationEndTime { get; private set; } = null!; - - /// - /// MDE integration configuration - /// - [Output("mdeIntegration")] - public Output MdeIntegration { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The kind of onboarding for the subscription - /// - [Output("onboardingKind")] - public Output OnboardingKind { get; private set; } = null!; - - /// - /// Sentinel Workspace Resource Ids - /// - [Output("sentinelWorkspaceResourceIds")] - public Output> SentinelWorkspaceResourceIds { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a DefenderSetting 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 DefenderSetting(string name, DefenderSettingArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:DefenderSetting", name, args ?? new DefenderSettingArgs(), MakeResourceOptions(options, "")) - { - } - - private DefenderSetting(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:DefenderSetting", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity:DefenderSetting"}, - }, - }; - 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 DefenderSetting 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. - /// A bag of options that control this resource's behavior - public static DefenderSetting Get(string name, Input id, CustomResourceOptions? options = null) - { - return new DefenderSetting(name, id, options); - } - } - - public sealed class DefenderSettingArgs : global::Pulumi.ResourceArgs - { - /// - /// Size of the device quota. Value is required to be in multiples of 100. - /// - [Input("deviceQuota", required: true)] - public Input DeviceQuota { get; set; } = null!; - - /// - /// MDE integration configuration - /// - [Input("mdeIntegration", required: true)] - public Input MdeIntegration { get; set; } = null!; - - /// - /// The kind of onboarding for the subscription - /// - [Input("onboardingKind", required: true)] - public InputUnion OnboardingKind { get; set; } = null!; - - [Input("sentinelWorkspaceResourceIds", required: true)] - private InputList? _sentinelWorkspaceResourceIds; - - /// - /// Sentinel Workspace Resource Ids - /// - public InputList SentinelWorkspaceResourceIds - { - get => _sentinelWorkspaceResourceIds ?? (_sentinelWorkspaceResourceIds = new InputList()); - set => _sentinelWorkspaceResourceIds = value; - } - - public DefenderSettingArgs() - { - } - public static new DefenderSettingArgs Empty => new DefenderSettingArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/DeviceGroup.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/DeviceGroup.cs deleted file mode 100644 index debcae9c5e85..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/DeviceGroup.cs +++ /dev/null @@ -1,102 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - /// - /// Device group - /// - [AzureNativeResourceType("azure-native:iotsecurity/v20210201preview:DeviceGroup")] - public partial class DeviceGroup : global::Pulumi.CustomResource - { - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a DeviceGroup 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 DeviceGroup(string name, DeviceGroupArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:DeviceGroup", name, args ?? new DeviceGroupArgs(), MakeResourceOptions(options, "")) - { - } - - private DeviceGroup(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:DeviceGroup", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity:DeviceGroup"}, - }, - }; - 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 DeviceGroup 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. - /// A bag of options that control this resource's behavior - public static DeviceGroup Get(string name, Input id, CustomResourceOptions? options = null) - { - return new DeviceGroup(name, id, options); - } - } - - public sealed class DeviceGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// Device group name - /// - [Input("deviceGroupName")] - public Input? DeviceGroupName { get; set; } - - /// - /// Defender for IoT location - /// - [Input("iotDefenderLocation", required: true)] - public Input IotDefenderLocation { get; set; } = null!; - - public DeviceGroupArgs() - { - } - public static new DeviceGroupArgs Empty => new DeviceGroupArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/Enums.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/Enums.cs deleted file mode 100644 index 29245872cbf6..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/Enums.cs +++ /dev/null @@ -1,104 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.IoTSecurity.V20210201Preview -{ - /// - /// Integration status - /// - [EnumType] - public readonly struct MdeIntegration : IEquatable - { - private readonly string _value; - - private MdeIntegration(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static MdeIntegration Disabled { get; } = new MdeIntegration("Disabled"); - public static MdeIntegration Enabled { get; } = new MdeIntegration("Enabled"); - - public static bool operator ==(MdeIntegration left, MdeIntegration right) => left.Equals(right); - public static bool operator !=(MdeIntegration left, MdeIntegration right) => !left.Equals(right); - - public static explicit operator string(MdeIntegration value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is MdeIntegration other && Equals(other); - public bool Equals(MdeIntegration other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The kind of onboarding for the subscription - /// - [EnumType] - public readonly struct OnboardingKind : IEquatable - { - private readonly string _value; - - private OnboardingKind(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OnboardingKind Default { get; } = new OnboardingKind("Default"); - public static OnboardingKind MigratedToAzure { get; } = new OnboardingKind("MigratedToAzure"); - public static OnboardingKind Evaluation { get; } = new OnboardingKind("Evaluation"); - public static OnboardingKind Purchased { get; } = new OnboardingKind("Purchased"); - - public static bool operator ==(OnboardingKind left, OnboardingKind right) => left.Equals(right); - public static bool operator !=(OnboardingKind left, OnboardingKind right) => !left.Equals(right); - - public static explicit operator string(OnboardingKind value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OnboardingKind other && Equals(other); - public bool Equals(OnboardingKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Type of sensor - /// - [EnumType] - public readonly struct SensorType : IEquatable - { - private readonly string _value; - - private SensorType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static SensorType Ot { get; } = new SensorType("Ot"); - public static SensorType Enterprise { get; } = new SensorType("Enterprise"); - - public static bool operator ==(SensorType left, SensorType right) => left.Equals(right); - public static bool operator !=(SensorType left, SensorType right) => !left.Equals(right); - - public static explicit operator string(SensorType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is SensorType other && Equals(other); - public bool Equals(SensorType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/GetDefenderSetting.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/GetDefenderSetting.cs deleted file mode 100644 index b11fa89f66a8..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/GetDefenderSetting.cs +++ /dev/null @@ -1,101 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - public static class GetDefenderSetting - { - /// - /// Get IoT Defender Settings - /// - public static Task InvokeAsync(GetDefenderSettingArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity/v20210201preview:getDefenderSetting", args ?? new GetDefenderSettingArgs(), options.WithDefaults()); - - /// - /// Get IoT Defender Settings - /// - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity/v20210201preview:getDefenderSetting", InvokeArgs.Empty, options.WithDefaults()); - } - - - public sealed class GetDefenderSettingArgs : global::Pulumi.InvokeArgs - { - public GetDefenderSettingArgs() - { - } - public static new GetDefenderSettingArgs Empty => new GetDefenderSettingArgs(); - } - - - [OutputType] - public sealed class GetDefenderSettingResult - { - /// - /// Size of the device quota. Value is required to be in multiples of 100. - /// - public readonly int DeviceQuota; - /// - /// End time of the evaluation period, if such exist - /// - public readonly string EvaluationEndTime; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// MDE integration configuration - /// - public readonly Outputs.DefenderSettingsPropertiesResponseMdeIntegration MdeIntegration; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// The kind of onboarding for the subscription - /// - public readonly string OnboardingKind; - /// - /// Sentinel Workspace Resource Ids - /// - public readonly ImmutableArray SentinelWorkspaceResourceIds; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetDefenderSettingResult( - int deviceQuota, - - string evaluationEndTime, - - string id, - - Outputs.DefenderSettingsPropertiesResponseMdeIntegration mdeIntegration, - - string name, - - string onboardingKind, - - ImmutableArray sentinelWorkspaceResourceIds, - - string type) - { - DeviceQuota = deviceQuota; - EvaluationEndTime = evaluationEndTime; - Id = id; - MdeIntegration = mdeIntegration; - Name = name; - OnboardingKind = onboardingKind; - SentinelWorkspaceResourceIds = sentinelWorkspaceResourceIds; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/GetDeviceGroup.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/GetDeviceGroup.cs deleted file mode 100644 index 6e6bbbd29d64..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/GetDeviceGroup.cs +++ /dev/null @@ -1,105 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - public static class GetDeviceGroup - { - /// - /// Get device group - /// - public static Task InvokeAsync(GetDeviceGroupArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity/v20210201preview:getDeviceGroup", args ?? new GetDeviceGroupArgs(), options.WithDefaults()); - - /// - /// Get device group - /// - public static Output Invoke(GetDeviceGroupInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity/v20210201preview:getDeviceGroup", args ?? new GetDeviceGroupInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetDeviceGroupArgs : global::Pulumi.InvokeArgs - { - /// - /// Device group name - /// - [Input("deviceGroupName", required: true)] - public string DeviceGroupName { get; set; } = null!; - - /// - /// Defender for IoT location - /// - [Input("iotDefenderLocation", required: true)] - public string IotDefenderLocation { get; set; } = null!; - - public GetDeviceGroupArgs() - { - } - public static new GetDeviceGroupArgs Empty => new GetDeviceGroupArgs(); - } - - public sealed class GetDeviceGroupInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Device group name - /// - [Input("deviceGroupName", required: true)] - public Input DeviceGroupName { get; set; } = null!; - - /// - /// Defender for IoT location - /// - [Input("iotDefenderLocation", required: true)] - public Input IotDefenderLocation { get; set; } = null!; - - public GetDeviceGroupInvokeArgs() - { - } - public static new GetDeviceGroupInvokeArgs Empty => new GetDeviceGroupInvokeArgs(); - } - - - [OutputType] - public sealed class GetDeviceGroupResult - { - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetDeviceGroupResult( - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - string type) - { - Id = id; - Name = name; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/GetOnPremiseSensor.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/GetOnPremiseSensor.cs deleted file mode 100644 index 7556e06a2375..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/GetOnPremiseSensor.cs +++ /dev/null @@ -1,93 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - public static class GetOnPremiseSensor - { - /// - /// Get on-premise IoT sensor - /// - public static Task InvokeAsync(GetOnPremiseSensorArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity/v20210201preview:getOnPremiseSensor", args ?? new GetOnPremiseSensorArgs(), options.WithDefaults()); - - /// - /// Get on-premise IoT sensor - /// - public static Output Invoke(GetOnPremiseSensorInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity/v20210201preview:getOnPremiseSensor", args ?? new GetOnPremiseSensorInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetOnPremiseSensorArgs : global::Pulumi.InvokeArgs - { - /// - /// Name of the on-premise IoT sensor - /// - [Input("onPremiseSensorName", required: true)] - public string OnPremiseSensorName { get; set; } = null!; - - public GetOnPremiseSensorArgs() - { - } - public static new GetOnPremiseSensorArgs Empty => new GetOnPremiseSensorArgs(); - } - - public sealed class GetOnPremiseSensorInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Name of the on-premise IoT sensor - /// - [Input("onPremiseSensorName", required: true)] - public Input OnPremiseSensorName { get; set; } = null!; - - public GetOnPremiseSensorInvokeArgs() - { - } - public static new GetOnPremiseSensorInvokeArgs Empty => new GetOnPremiseSensorInvokeArgs(); - } - - - [OutputType] - public sealed class GetOnPremiseSensorResult - { - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetOnPremiseSensorResult( - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - string type) - { - Id = id; - Name = name; - SystemData = systemData; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/GetSensor.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/GetSensor.cs deleted file mode 100644 index 4feb61d9643f..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/GetSensor.cs +++ /dev/null @@ -1,175 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - public static class GetSensor - { - /// - /// Get IoT sensor - /// - public static Task InvokeAsync(GetSensorArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity/v20210201preview:getSensor", args ?? new GetSensorArgs(), options.WithDefaults()); - - /// - /// Get IoT sensor - /// - public static Output Invoke(GetSensorInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity/v20210201preview:getSensor", args ?? new GetSensorInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSensorArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public string Scope { get; set; } = null!; - - /// - /// Name of the IoT sensor - /// - [Input("sensorName", required: true)] - public string SensorName { get; set; } = null!; - - public GetSensorArgs() - { - } - public static new GetSensorArgs Empty => new GetSensorArgs(); - } - - public sealed class GetSensorInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - /// - /// Name of the IoT sensor - /// - [Input("sensorName", required: true)] - public Input SensorName { get; set; } = null!; - - public GetSensorInvokeArgs() - { - } - public static new GetSensorInvokeArgs Empty => new GetSensorInvokeArgs(); - } - - - [OutputType] - public sealed class GetSensorResult - { - /// - /// Last connectivity time of the IoT sensor - /// - public readonly string ConnectivityTime; - /// - /// Dynamic mode status of the IoT sensor - /// - public readonly bool DynamicLearning; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// Learning mode status of the IoT sensor - /// - public readonly bool LearningMode; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Status of the IoT sensor - /// - public readonly string SensorStatus; - /// - /// Type of sensor - /// - public readonly string? SensorType; - /// - /// Version of the IoT sensor - /// - public readonly string SensorVersion; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// TI Automatic mode status of the IoT sensor - /// - public readonly bool? TiAutomaticUpdates; - /// - /// TI Status of the IoT sensor - /// - public readonly string TiStatus; - /// - /// TI Version of the IoT sensor - /// - public readonly string TiVersion; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - /// - /// Zone of the IoT sensor - /// - public readonly string? Zone; - - [OutputConstructor] - private GetSensorResult( - string connectivityTime, - - bool dynamicLearning, - - string id, - - bool learningMode, - - string name, - - string sensorStatus, - - string? sensorType, - - string sensorVersion, - - Outputs.SystemDataResponse systemData, - - bool? tiAutomaticUpdates, - - string tiStatus, - - string tiVersion, - - string type, - - string? zone) - { - ConnectivityTime = connectivityTime; - DynamicLearning = dynamicLearning; - Id = id; - LearningMode = learningMode; - Name = name; - SensorStatus = sensorStatus; - SensorType = sensorType; - SensorVersion = sensorVersion; - SystemData = systemData; - TiAutomaticUpdates = tiAutomaticUpdates; - TiStatus = tiStatus; - TiVersion = tiVersion; - Type = type; - Zone = zone; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/GetSite.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/GetSite.cs deleted file mode 100644 index f44f317e4b50..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/GetSite.cs +++ /dev/null @@ -1,107 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - public static class GetSite - { - /// - /// Get IoT site - /// - public static Task InvokeAsync(GetSiteArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:iotsecurity/v20210201preview:getSite", args ?? new GetSiteArgs(), options.WithDefaults()); - - /// - /// Get IoT site - /// - public static Output Invoke(GetSiteInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:iotsecurity/v20210201preview:getSite", args ?? new GetSiteInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSiteArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public string Scope { get; set; } = null!; - - public GetSiteArgs() - { - } - public static new GetSiteArgs Empty => new GetSiteArgs(); - } - - public sealed class GetSiteInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - public GetSiteInvokeArgs() - { - } - public static new GetSiteInvokeArgs Empty => new GetSiteInvokeArgs(); - } - - - [OutputType] - public sealed class GetSiteResult - { - /// - /// Display name of the IoT site - /// - public readonly string DisplayName; - /// - /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - public readonly string Id; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// Tags of the IoT site - /// - public readonly ImmutableDictionary? Tags; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetSiteResult( - string displayName, - - string id, - - string name, - - Outputs.SystemDataResponse systemData, - - ImmutableDictionary? tags, - - string type) - { - DisplayName = displayName; - Id = id; - Name = name; - SystemData = systemData; - Tags = tags; - Type = type; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/Inputs/DefenderSettingsPropertiesMdeIntegrationArgs.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/Inputs/DefenderSettingsPropertiesMdeIntegrationArgs.cs deleted file mode 100644 index c48823dd720a..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/Inputs/DefenderSettingsPropertiesMdeIntegrationArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview.Inputs -{ - - /// - /// MDE integration configuration - /// - public sealed class DefenderSettingsPropertiesMdeIntegrationArgs : global::Pulumi.ResourceArgs - { - /// - /// Integration status - /// - [Input("status", required: true)] - public InputUnion Status { get; set; } = null!; - - public DefenderSettingsPropertiesMdeIntegrationArgs() - { - } - public static new DefenderSettingsPropertiesMdeIntegrationArgs Empty => new DefenderSettingsPropertiesMdeIntegrationArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/OnPremiseSensor.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/OnPremiseSensor.cs deleted file mode 100644 index 917bf12b132e..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/OnPremiseSensor.cs +++ /dev/null @@ -1,96 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - /// - /// On-premise IoT sensor - /// - [AzureNativeResourceType("azure-native:iotsecurity/v20210201preview:OnPremiseSensor")] - public partial class OnPremiseSensor : global::Pulumi.CustomResource - { - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a OnPremiseSensor 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 OnPremiseSensor(string name, OnPremiseSensorArgs? args = null, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:OnPremiseSensor", name, args ?? new OnPremiseSensorArgs(), MakeResourceOptions(options, "")) - { - } - - private OnPremiseSensor(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:OnPremiseSensor", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity:OnPremiseSensor"}, - }, - }; - 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 OnPremiseSensor 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. - /// A bag of options that control this resource's behavior - public static OnPremiseSensor Get(string name, Input id, CustomResourceOptions? options = null) - { - return new OnPremiseSensor(name, id, options); - } - } - - public sealed class OnPremiseSensorArgs : global::Pulumi.ResourceArgs - { - /// - /// Name of the on-premise IoT sensor - /// - [Input("onPremiseSensorName")] - public Input? OnPremiseSensorName { get; set; } - - public OnPremiseSensorArgs() - { - } - public static new OnPremiseSensorArgs Empty => new OnPremiseSensorArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/Outputs/DefenderSettingsPropertiesResponseMdeIntegration.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/Outputs/DefenderSettingsPropertiesResponseMdeIntegration.cs deleted file mode 100644 index 6166163761a3..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/Outputs/DefenderSettingsPropertiesResponseMdeIntegration.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview.Outputs -{ - - /// - /// MDE integration configuration - /// - [OutputType] - public sealed class DefenderSettingsPropertiesResponseMdeIntegration - { - /// - /// Integration status - /// - public readonly string Status; - - [OutputConstructor] - private DefenderSettingsPropertiesResponseMdeIntegration(string status) - { - Status = status; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/Outputs/SystemDataResponse.cs deleted file mode 100644 index 9aa4f63a2b0c..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/Outputs/SystemDataResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview.Outputs -{ - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [OutputType] - public sealed class SystemDataResponse - { - /// - /// The timestamp of resource creation (UTC). - /// - public readonly string? CreatedAt; - /// - /// The identity that created the resource. - /// - public readonly string? CreatedBy; - /// - /// The type of identity that created the resource. - /// - public readonly string? CreatedByType; - /// - /// The timestamp of resource last modification (UTC) - /// - public readonly string? LastModifiedAt; - /// - /// The identity that last modified the resource. - /// - public readonly string? LastModifiedBy; - /// - /// The type of identity that last modified the resource. - /// - public readonly string? LastModifiedByType; - - [OutputConstructor] - private SystemDataResponse( - string? createdAt, - - string? createdBy, - - string? createdByType, - - string? lastModifiedAt, - - string? lastModifiedBy, - - string? lastModifiedByType) - { - CreatedAt = createdAt; - CreatedBy = createdBy; - CreatedByType = createdByType; - LastModifiedAt = lastModifiedAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - } - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/Sensor.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/Sensor.cs deleted file mode 100644 index d0a151361598..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/Sensor.cs +++ /dev/null @@ -1,180 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - /// - /// IoT sensor model - /// - [AzureNativeResourceType("azure-native:iotsecurity/v20210201preview:Sensor")] - public partial class Sensor : global::Pulumi.CustomResource - { - /// - /// Last connectivity time of the IoT sensor - /// - [Output("connectivityTime")] - public Output ConnectivityTime { get; private set; } = null!; - - /// - /// Dynamic mode status of the IoT sensor - /// - [Output("dynamicLearning")] - public Output DynamicLearning { get; private set; } = null!; - - /// - /// Learning mode status of the IoT sensor - /// - [Output("learningMode")] - public Output LearningMode { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Status of the IoT sensor - /// - [Output("sensorStatus")] - public Output SensorStatus { get; private set; } = null!; - - /// - /// Type of sensor - /// - [Output("sensorType")] - public Output SensorType { get; private set; } = null!; - - /// - /// Version of the IoT sensor - /// - [Output("sensorVersion")] - public Output SensorVersion { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// TI Automatic mode status of the IoT sensor - /// - [Output("tiAutomaticUpdates")] - public Output TiAutomaticUpdates { get; private set; } = null!; - - /// - /// TI Status of the IoT sensor - /// - [Output("tiStatus")] - public Output TiStatus { get; private set; } = null!; - - /// - /// TI Version of the IoT sensor - /// - [Output("tiVersion")] - public Output TiVersion { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - /// - /// Zone of the IoT sensor - /// - [Output("zone")] - public Output Zone { get; private set; } = null!; - - - /// - /// Create a Sensor 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 Sensor(string name, SensorArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:Sensor", name, args ?? new SensorArgs(), MakeResourceOptions(options, "")) - { - } - - private Sensor(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:Sensor", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity:Sensor"}, - }, - }; - 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 Sensor 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. - /// A bag of options that control this resource's behavior - public static Sensor Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Sensor(name, id, options); - } - } - - public sealed class SensorArgs : global::Pulumi.ResourceArgs - { - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - /// - /// Name of the IoT sensor - /// - [Input("sensorName")] - public Input? SensorName { get; set; } - - /// - /// Type of sensor - /// - [Input("sensorType")] - public InputUnion? SensorType { get; set; } - - /// - /// TI Automatic mode status of the IoT sensor - /// - [Input("tiAutomaticUpdates")] - public Input? TiAutomaticUpdates { get; set; } - - /// - /// Zone of the IoT sensor - /// - [Input("zone")] - public Input? Zone { get; set; } - - public SensorArgs() - { - } - public static new SensorArgs Empty => new SensorArgs(); - } -} diff --git a/sdk/dotnet/IoTSecurity/V20210201Preview/Site.cs b/sdk/dotnet/IoTSecurity/V20210201Preview/Site.cs deleted file mode 100644 index 23fd04d63b06..000000000000 --- a/sdk/dotnet/IoTSecurity/V20210201Preview/Site.cs +++ /dev/null @@ -1,126 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.IoTSecurity.V20210201Preview -{ - /// - /// IoT site model - /// - [AzureNativeResourceType("azure-native:iotsecurity/v20210201preview:Site")] - public partial class Site : global::Pulumi.CustomResource - { - /// - /// Display name of the IoT site - /// - [Output("displayName")] - public Output DisplayName { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// Tags of the IoT site - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a Site 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 Site(string name, SiteArgs args, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:Site", name, args ?? new SiteArgs(), MakeResourceOptions(options, "")) - { - } - - private Site(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:iotsecurity/v20210201preview:Site", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:iotsecurity:Site"}, - }, - }; - 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 Site 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. - /// A bag of options that control this resource's behavior - public static Site Get(string name, Input id, CustomResourceOptions? options = null) - { - return new Site(name, id, options); - } - } - - public sealed class SiteArgs : global::Pulumi.ResourceArgs - { - /// - /// Display name of the IoT site - /// - [Input("displayName", required: true)] - public Input DisplayName { get; set; } = null!; - - /// - /// Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - /// - [Input("scope", required: true)] - public Input Scope { get; set; } = null!; - - [Input("tags")] - private InputMap? _tags; - - /// - /// Tags of the IoT site - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - public SiteArgs() - { - } - public static new SiteArgs Empty => new SiteArgs(); - } -} diff --git a/sdk/dotnet/KeyVault/Enums.cs b/sdk/dotnet/KeyVault/Enums.cs index 53c2b63e92e5..d233d818c84d 100644 --- a/sdk/dotnet/KeyVault/Enums.cs +++ b/sdk/dotnet/KeyVault/Enums.cs @@ -262,7 +262,7 @@ private KeyPermissions(string value) } /// - /// The type of the action. + /// The type of the action. The value should be compared case-insensitively. /// [EnumType] public readonly struct KeyRotationPolicyActionType : IEquatable @@ -275,7 +275,7 @@ private KeyRotationPolicyActionType(string value) } /// - /// Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead. + /// Rotate the key based on the key policy. /// public static KeyRotationPolicyActionType Rotate { get; } = new KeyRotationPolicyActionType("Rotate"); /// diff --git a/sdk/dotnet/KeyVault/Inputs/ActionArgs.cs b/sdk/dotnet/KeyVault/Inputs/ActionArgs.cs index a37e859fe036..8b09d3aa96d8 100644 --- a/sdk/dotnet/KeyVault/Inputs/ActionArgs.cs +++ b/sdk/dotnet/KeyVault/Inputs/ActionArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.KeyVault.Inputs public sealed class ActionArgs : global::Pulumi.ResourceArgs { /// - /// The type of the action. + /// The type of the action. The value should be compared case-insensitively. /// [Input("type")] public Input? Type { get; set; } diff --git a/sdk/dotnet/KeyVault/Outputs/ActionResponse.cs b/sdk/dotnet/KeyVault/Outputs/ActionResponse.cs index cdf4ab428e1a..a8fe28e24528 100644 --- a/sdk/dotnet/KeyVault/Outputs/ActionResponse.cs +++ b/sdk/dotnet/KeyVault/Outputs/ActionResponse.cs @@ -14,7 +14,7 @@ namespace Pulumi.AzureNative.KeyVault.Outputs public sealed class ActionResponse { /// - /// The type of the action. + /// The type of the action. The value should be compared case-insensitively. /// public readonly string? Type; diff --git a/sdk/dotnet/KeyVault/V20230201/Enums.cs b/sdk/dotnet/KeyVault/V20230201/Enums.cs index 92c080a03396..30a37295c57a 100644 --- a/sdk/dotnet/KeyVault/V20230201/Enums.cs +++ b/sdk/dotnet/KeyVault/V20230201/Enums.cs @@ -262,7 +262,7 @@ private KeyPermissions(string value) } /// - /// The type of the action. + /// The type of the action. The value should be compared case-insensitively. /// [EnumType] public readonly struct KeyRotationPolicyActionType : IEquatable @@ -275,7 +275,7 @@ private KeyRotationPolicyActionType(string value) } /// - /// Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead. + /// Rotate the key based on the key policy. /// public static KeyRotationPolicyActionType Rotate { get; } = new KeyRotationPolicyActionType("Rotate"); /// diff --git a/sdk/dotnet/KeyVault/V20230201/Inputs/ActionArgs.cs b/sdk/dotnet/KeyVault/V20230201/Inputs/ActionArgs.cs index aba82058710d..c3c6d91e61f9 100644 --- a/sdk/dotnet/KeyVault/V20230201/Inputs/ActionArgs.cs +++ b/sdk/dotnet/KeyVault/V20230201/Inputs/ActionArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.KeyVault.V20230201.Inputs public sealed class ActionArgs : global::Pulumi.ResourceArgs { /// - /// The type of the action. + /// The type of the action. The value should be compared case-insensitively. /// [Input("type")] public Input? Type { get; set; } diff --git a/sdk/dotnet/KeyVault/V20230201/Outputs/ActionResponse.cs b/sdk/dotnet/KeyVault/V20230201/Outputs/ActionResponse.cs index 341291daa783..0bb539dedf1f 100644 --- a/sdk/dotnet/KeyVault/V20230201/Outputs/ActionResponse.cs +++ b/sdk/dotnet/KeyVault/V20230201/Outputs/ActionResponse.cs @@ -14,7 +14,7 @@ namespace Pulumi.AzureNative.KeyVault.V20230201.Outputs public sealed class ActionResponse { /// - /// The type of the action. + /// The type of the action. The value should be compared case-insensitively. /// public readonly string? Type; diff --git a/sdk/dotnet/Kusto/AttachedDatabaseConfiguration.cs b/sdk/dotnet/Kusto/AttachedDatabaseConfiguration.cs index 31a7d6cf7503..ea4587111a5c 100644 --- a/sdk/dotnet/Kusto/AttachedDatabaseConfiguration.cs +++ b/sdk/dotnet/Kusto/AttachedDatabaseConfiguration.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:AttachedDatabaseConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:AttachedDatabaseConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:AttachedDatabaseConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/Cluster.cs b/sdk/dotnet/Kusto/Cluster.cs index 1698aec3290f..0d7f7051c826 100644 --- a/sdk/dotnet/Kusto/Cluster.cs +++ b/sdk/dotnet/Kusto/Cluster.cs @@ -249,6 +249,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/ClusterPrincipalAssignment.cs b/sdk/dotnet/Kusto/ClusterPrincipalAssignment.cs index b9ced5d9614d..9badeea2dc65 100644 --- a/sdk/dotnet/Kusto/ClusterPrincipalAssignment.cs +++ b/sdk/dotnet/Kusto/ClusterPrincipalAssignment.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ClusterPrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ClusterPrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ClusterPrincipalAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/CosmosDbDataConnection.cs b/sdk/dotnet/Kusto/CosmosDbDataConnection.cs index ed64f8dfaa37..bcb3e1c70893 100644 --- a/sdk/dotnet/Kusto/CosmosDbDataConnection.cs +++ b/sdk/dotnet/Kusto/CosmosDbDataConnection.cs @@ -141,6 +141,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:CosmosDbDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:CosmosDbDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:CosmosDbDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/DatabasePrincipalAssignment.cs b/sdk/dotnet/Kusto/DatabasePrincipalAssignment.cs index 45577a496bf5..db6f7906a6fa 100644 --- a/sdk/dotnet/Kusto/DatabasePrincipalAssignment.cs +++ b/sdk/dotnet/Kusto/DatabasePrincipalAssignment.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:DatabasePrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:DatabasePrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:DatabasePrincipalAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/Enums.cs b/sdk/dotnet/Kusto/Enums.cs index 5d3e28273bef..b90c80ba6dee 100644 --- a/sdk/dotnet/Kusto/Enums.cs +++ b/sdk/dotnet/Kusto/Enums.cs @@ -648,6 +648,36 @@ private Kind(string value) public override string ToString() => _value; } + /// + /// The language name, for example Python. + /// + [EnumType] + public readonly struct Language : IEquatable + { + private readonly string _value; + + private Language(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Language Python { get; } = new Language("Python"); + + public static bool operator ==(Language left, Language right) => left.Equals(right); + public static bool operator !=(Language left, Language right) => !left.Equals(right); + + public static explicit operator string(Language value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Language other && Equals(other); + public bool Equals(Language other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The language extension image name. /// diff --git a/sdk/dotnet/Kusto/EventGridDataConnection.cs b/sdk/dotnet/Kusto/EventGridDataConnection.cs index f9d9d4c9f751..9798734a6b5c 100644 --- a/sdk/dotnet/Kusto/EventGridDataConnection.cs +++ b/sdk/dotnet/Kusto/EventGridDataConnection.cs @@ -165,6 +165,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventGridDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/EventHubDataConnection.cs b/sdk/dotnet/Kusto/EventHubDataConnection.cs index e4737fcfb5a1..89bf1daaff61 100644 --- a/sdk/dotnet/Kusto/EventHubDataConnection.cs +++ b/sdk/dotnet/Kusto/EventHubDataConnection.cs @@ -159,6 +159,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventHubDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/GetSandboxCustomImage.cs b/sdk/dotnet/Kusto/GetSandboxCustomImage.cs new file mode 100644 index 000000000000..a9b0392ba421 --- /dev/null +++ b/sdk/dotnet/Kusto/GetSandboxCustomImage.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto +{ + public static class GetSandboxCustomImage + { + /// + /// Returns a sandbox custom image + /// Azure REST API version: 2023-08-15. + /// + public static Task InvokeAsync(GetSandboxCustomImageArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto:getSandboxCustomImage", args ?? new GetSandboxCustomImageArgs(), options.WithDefaults()); + + /// + /// Returns a sandbox custom image + /// Azure REST API version: 2023-08-15. + /// + public static Output Invoke(GetSandboxCustomImageInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto:getSandboxCustomImage", args ?? new GetSandboxCustomImageInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSandboxCustomImageArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the sandbox custom image. + /// + [Input("sandboxCustomImageName", required: true)] + public string SandboxCustomImageName { get; set; } = null!; + + public GetSandboxCustomImageArgs() + { + } + public static new GetSandboxCustomImageArgs Empty => new GetSandboxCustomImageArgs(); + } + + public sealed class GetSandboxCustomImageInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the sandbox custom image. + /// + [Input("sandboxCustomImageName", required: true)] + public Input SandboxCustomImageName { get; set; } = null!; + + public GetSandboxCustomImageInvokeArgs() + { + } + public static new GetSandboxCustomImageInvokeArgs Empty => new GetSandboxCustomImageInvokeArgs(); + } + + + [OutputType] + public sealed class GetSandboxCustomImageResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The language name, for example Python. + /// + public readonly string Language; + /// + /// The version of the language. + /// + public readonly string LanguageVersion; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The requirements file content. + /// + public readonly string? RequirementsFileContent; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetSandboxCustomImageResult( + string id, + + string language, + + string languageVersion, + + string name, + + string provisioningState, + + string? requirementsFileContent, + + string type) + { + Id = id; + Language = language; + LanguageVersion = languageVersion; + Name = name; + ProvisioningState = provisioningState; + RequirementsFileContent = requirementsFileContent; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/IotHubDataConnection.cs b/sdk/dotnet/Kusto/IotHubDataConnection.cs index b306d22a9195..aeeb5175150f 100644 --- a/sdk/dotnet/Kusto/IotHubDataConnection.cs +++ b/sdk/dotnet/Kusto/IotHubDataConnection.cs @@ -147,6 +147,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:IotHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:IotHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:IotHubDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/ManagedPrivateEndpoint.cs b/sdk/dotnet/Kusto/ManagedPrivateEndpoint.cs index 5f0cd70a2b97..57a6569d523a 100644 --- a/sdk/dotnet/Kusto/ManagedPrivateEndpoint.cs +++ b/sdk/dotnet/Kusto/ManagedPrivateEndpoint.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ManagedPrivateEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ManagedPrivateEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ManagedPrivateEndpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/PrivateEndpointConnection.cs b/sdk/dotnet/Kusto/PrivateEndpointConnection.cs index e0d6c2a77553..573b1bf10ae8 100644 --- a/sdk/dotnet/Kusto/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Kusto/PrivateEndpointConnection.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/ReadOnlyFollowingDatabase.cs b/sdk/dotnet/Kusto/ReadOnlyFollowingDatabase.cs index 3ffd4f35c078..83c7ad2155b2 100644 --- a/sdk/dotnet/Kusto/ReadOnlyFollowingDatabase.cs +++ b/sdk/dotnet/Kusto/ReadOnlyFollowingDatabase.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/ReadWriteDatabase.cs b/sdk/dotnet/Kusto/ReadWriteDatabase.cs index 23e79057be8e..e4b67403f425 100644 --- a/sdk/dotnet/Kusto/ReadWriteDatabase.cs +++ b/sdk/dotnet/Kusto/ReadWriteDatabase.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadWriteDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/SandboxCustomImage.cs b/sdk/dotnet/Kusto/SandboxCustomImage.cs new file mode 100644 index 000000000000..66e4a8f12570 --- /dev/null +++ b/sdk/dotnet/Kusto/SandboxCustomImage.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto +{ + /// + /// Class representing a Kusto sandbox custom image. + /// Azure REST API version: 2023-08-15. + /// + [AzureNativeResourceType("azure-native:kusto:SandboxCustomImage")] + public partial class SandboxCustomImage : global::Pulumi.CustomResource + { + /// + /// The language name, for example Python. + /// + [Output("language")] + public Output Language { get; private set; } = null!; + + /// + /// The version of the language. + /// + [Output("languageVersion")] + public Output LanguageVersion { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The requirements file content. + /// + [Output("requirementsFileContent")] + public Output RequirementsFileContent { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SandboxCustomImage 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 SandboxCustomImage(string name, SandboxCustomImageArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto:SandboxCustomImage", name, args ?? new SandboxCustomImageArgs(), MakeResourceOptions(options, "")) + { + } + + private SandboxCustomImage(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto:SandboxCustomImage", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:SandboxCustomImage"}, + }, + }; + 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 SandboxCustomImage 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. + /// A bag of options that control this resource's behavior + public static SandboxCustomImage Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SandboxCustomImage(name, id, options); + } + } + + public sealed class SandboxCustomImageArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The language name, for example Python. + /// + [Input("language", required: true)] + public InputUnion Language { get; set; } = null!; + + /// + /// The version of the language. + /// + [Input("languageVersion", required: true)] + public Input LanguageVersion { get; set; } = null!; + + /// + /// The requirements file content. + /// + [Input("requirementsFileContent")] + public Input? RequirementsFileContent { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the sandbox custom image. + /// + [Input("sandboxCustomImageName")] + public Input? SandboxCustomImageName { get; set; } + + public SandboxCustomImageArgs() + { + } + public static new SandboxCustomImageArgs Empty => new SandboxCustomImageArgs(); + } +} diff --git a/sdk/dotnet/Kusto/Script.cs b/sdk/dotnet/Kusto/Script.cs index 0a8e2c2eb392..1a9d551764c6 100644 --- a/sdk/dotnet/Kusto/Script.cs +++ b/sdk/dotnet/Kusto/Script.cs @@ -90,6 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Script"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20180907Preview/Database.cs b/sdk/dotnet/Kusto/V20180907Preview/Database.cs index 0419c1c5907a..c5e677f821ae 100644 --- a/sdk/dotnet/Kusto/V20180907Preview/Database.cs +++ b/sdk/dotnet/Kusto/V20180907Preview/Database.cs @@ -110,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Database"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Database"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Database"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20190515/Database.cs b/sdk/dotnet/Kusto/V20190515/Database.cs index 6c3e17f6c41a..e3daa7ab4765 100644 --- a/sdk/dotnet/Kusto/V20190515/Database.cs +++ b/sdk/dotnet/Kusto/V20190515/Database.cs @@ -98,6 +98,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Database"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Database"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Database"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Database"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20190907/ReadOnlyFollowingDatabase.cs b/sdk/dotnet/Kusto/V20190907/ReadOnlyFollowingDatabase.cs index 564ddaf994f1..59cd866b5943 100644 --- a/sdk/dotnet/Kusto/V20190907/ReadOnlyFollowingDatabase.cs +++ b/sdk/dotnet/Kusto/V20190907/ReadOnlyFollowingDatabase.cs @@ -130,6 +130,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20190907/ReadWriteDatabase.cs b/sdk/dotnet/Kusto/V20190907/ReadWriteDatabase.cs index b9e7575da9ea..fd8e19df44e2 100644 --- a/sdk/dotnet/Kusto/V20190907/ReadWriteDatabase.cs +++ b/sdk/dotnet/Kusto/V20190907/ReadWriteDatabase.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadWriteDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20191109/ReadWriteDatabase.cs b/sdk/dotnet/Kusto/V20191109/ReadWriteDatabase.cs index f95731e6a123..fab4c144cdd1 100644 --- a/sdk/dotnet/Kusto/V20191109/ReadWriteDatabase.cs +++ b/sdk/dotnet/Kusto/V20191109/ReadWriteDatabase.cs @@ -118,6 +118,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadWriteDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20200215/EventGridDataConnection.cs b/sdk/dotnet/Kusto/V20200215/EventGridDataConnection.cs index 1f27789a2285..271747da9c76 100644 --- a/sdk/dotnet/Kusto/V20200215/EventGridDataConnection.cs +++ b/sdk/dotnet/Kusto/V20200215/EventGridDataConnection.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventGridDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20210827/Script.cs b/sdk/dotnet/Kusto/V20210827/Script.cs index 440997661908..15a01a369ded 100644 --- a/sdk/dotnet/Kusto/V20210827/Script.cs +++ b/sdk/dotnet/Kusto/V20210827/Script.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Script"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20220707/Cluster.cs b/sdk/dotnet/Kusto/V20220707/Cluster.cs index b9092c89634b..48b780f3a4bc 100644 --- a/sdk/dotnet/Kusto/V20220707/Cluster.cs +++ b/sdk/dotnet/Kusto/V20220707/Cluster.cs @@ -248,6 +248,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/AttachedDatabaseConfiguration.cs b/sdk/dotnet/Kusto/V20221229/AttachedDatabaseConfiguration.cs index 9024c6da960b..6a7c9a18ad76 100644 --- a/sdk/dotnet/Kusto/V20221229/AttachedDatabaseConfiguration.cs +++ b/sdk/dotnet/Kusto/V20221229/AttachedDatabaseConfiguration.cs @@ -118,6 +118,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:AttachedDatabaseConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:AttachedDatabaseConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:AttachedDatabaseConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/Cluster.cs b/sdk/dotnet/Kusto/V20221229/Cluster.cs index e78a699f5038..551948b42ebd 100644 --- a/sdk/dotnet/Kusto/V20221229/Cluster.cs +++ b/sdk/dotnet/Kusto/V20221229/Cluster.cs @@ -248,6 +248,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/ClusterPrincipalAssignment.cs b/sdk/dotnet/Kusto/V20221229/ClusterPrincipalAssignment.cs index 8a2fb38e8f36..9ea74290586e 100644 --- a/sdk/dotnet/Kusto/V20221229/ClusterPrincipalAssignment.cs +++ b/sdk/dotnet/Kusto/V20221229/ClusterPrincipalAssignment.cs @@ -111,6 +111,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ClusterPrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ClusterPrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ClusterPrincipalAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/CosmosDbDataConnection.cs b/sdk/dotnet/Kusto/V20221229/CosmosDbDataConnection.cs index bb0351c869cb..d89391b884f0 100644 --- a/sdk/dotnet/Kusto/V20221229/CosmosDbDataConnection.cs +++ b/sdk/dotnet/Kusto/V20221229/CosmosDbDataConnection.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:CosmosDbDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:CosmosDbDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:CosmosDbDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/DatabasePrincipalAssignment.cs b/sdk/dotnet/Kusto/V20221229/DatabasePrincipalAssignment.cs index d04025c5fe79..36c3751ffb63 100644 --- a/sdk/dotnet/Kusto/V20221229/DatabasePrincipalAssignment.cs +++ b/sdk/dotnet/Kusto/V20221229/DatabasePrincipalAssignment.cs @@ -111,6 +111,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:DatabasePrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:DatabasePrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:DatabasePrincipalAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/EventGridDataConnection.cs b/sdk/dotnet/Kusto/V20221229/EventGridDataConnection.cs index 60efea09dcfe..43e06509a838 100644 --- a/sdk/dotnet/Kusto/V20221229/EventGridDataConnection.cs +++ b/sdk/dotnet/Kusto/V20221229/EventGridDataConnection.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventGridDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/EventHubDataConnection.cs b/sdk/dotnet/Kusto/V20221229/EventHubDataConnection.cs index 97e05a92201f..a2cf284308ee 100644 --- a/sdk/dotnet/Kusto/V20221229/EventHubDataConnection.cs +++ b/sdk/dotnet/Kusto/V20221229/EventHubDataConnection.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:EventHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventHubDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/IotHubDataConnection.cs b/sdk/dotnet/Kusto/V20221229/IotHubDataConnection.cs index 0bb33fe1a0fa..6225d8ac9d82 100644 --- a/sdk/dotnet/Kusto/V20221229/IotHubDataConnection.cs +++ b/sdk/dotnet/Kusto/V20221229/IotHubDataConnection.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:IotHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:IotHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:IotHubDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/ManagedPrivateEndpoint.cs b/sdk/dotnet/Kusto/V20221229/ManagedPrivateEndpoint.cs index 38101519fffd..627f4747175c 100644 --- a/sdk/dotnet/Kusto/V20221229/ManagedPrivateEndpoint.cs +++ b/sdk/dotnet/Kusto/V20221229/ManagedPrivateEndpoint.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ManagedPrivateEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ManagedPrivateEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ManagedPrivateEndpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/PrivateEndpointConnection.cs b/sdk/dotnet/Kusto/V20221229/PrivateEndpointConnection.cs index 44181bcd0b46..b4dc7740bd03 100644 --- a/sdk/dotnet/Kusto/V20221229/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Kusto/V20221229/PrivateEndpointConnection.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/ReadOnlyFollowingDatabase.cs b/sdk/dotnet/Kusto/V20221229/ReadOnlyFollowingDatabase.cs index d111ff599dea..1173d1e26fe1 100644 --- a/sdk/dotnet/Kusto/V20221229/ReadOnlyFollowingDatabase.cs +++ b/sdk/dotnet/Kusto/V20221229/ReadOnlyFollowingDatabase.cs @@ -148,6 +148,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/ReadWriteDatabase.cs b/sdk/dotnet/Kusto/V20221229/ReadWriteDatabase.cs index 1c18401a8085..7070b9a89073 100644 --- a/sdk/dotnet/Kusto/V20221229/ReadWriteDatabase.cs +++ b/sdk/dotnet/Kusto/V20221229/ReadWriteDatabase.cs @@ -118,6 +118,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadWriteDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20221229/Script.cs b/sdk/dotnet/Kusto/V20221229/Script.cs index 0f7059803daf..8f61368a463e 100644 --- a/sdk/dotnet/Kusto/V20221229/Script.cs +++ b/sdk/dotnet/Kusto/V20221229/Script.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Script"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/AttachedDatabaseConfiguration.cs b/sdk/dotnet/Kusto/V20230502/AttachedDatabaseConfiguration.cs index 0550c3526ebf..606548ce016c 100644 --- a/sdk/dotnet/Kusto/V20230502/AttachedDatabaseConfiguration.cs +++ b/sdk/dotnet/Kusto/V20230502/AttachedDatabaseConfiguration.cs @@ -118,6 +118,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:AttachedDatabaseConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:AttachedDatabaseConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:AttachedDatabaseConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/Cluster.cs b/sdk/dotnet/Kusto/V20230502/Cluster.cs index 1e5bd5e2f4ae..d807a67fc238 100644 --- a/sdk/dotnet/Kusto/V20230502/Cluster.cs +++ b/sdk/dotnet/Kusto/V20230502/Cluster.cs @@ -254,6 +254,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Cluster"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Cluster"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/ClusterPrincipalAssignment.cs b/sdk/dotnet/Kusto/V20230502/ClusterPrincipalAssignment.cs index adf8965e48c1..6ca1c819899e 100644 --- a/sdk/dotnet/Kusto/V20230502/ClusterPrincipalAssignment.cs +++ b/sdk/dotnet/Kusto/V20230502/ClusterPrincipalAssignment.cs @@ -111,6 +111,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ClusterPrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ClusterPrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ClusterPrincipalAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/CosmosDbDataConnection.cs b/sdk/dotnet/Kusto/V20230502/CosmosDbDataConnection.cs index 5ee846245789..04e55abd25da 100644 --- a/sdk/dotnet/Kusto/V20230502/CosmosDbDataConnection.cs +++ b/sdk/dotnet/Kusto/V20230502/CosmosDbDataConnection.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:CosmosDbDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:CosmosDbDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:CosmosDbDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/DatabasePrincipalAssignment.cs b/sdk/dotnet/Kusto/V20230502/DatabasePrincipalAssignment.cs index aab43d33cd89..4ae5d66dde6e 100644 --- a/sdk/dotnet/Kusto/V20230502/DatabasePrincipalAssignment.cs +++ b/sdk/dotnet/Kusto/V20230502/DatabasePrincipalAssignment.cs @@ -111,6 +111,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:DatabasePrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:DatabasePrincipalAssignment"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:DatabasePrincipalAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/EventGridDataConnection.cs b/sdk/dotnet/Kusto/V20230502/EventGridDataConnection.cs index 712be82e053a..56a81f3c2c08 100644 --- a/sdk/dotnet/Kusto/V20230502/EventGridDataConnection.cs +++ b/sdk/dotnet/Kusto/V20230502/EventGridDataConnection.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventGridDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventGridDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/EventHubDataConnection.cs b/sdk/dotnet/Kusto/V20230502/EventHubDataConnection.cs index b61bdb5f4ef5..64456945d254 100644 --- a/sdk/dotnet/Kusto/V20230502/EventHubDataConnection.cs +++ b/sdk/dotnet/Kusto/V20230502/EventHubDataConnection.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:EventHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:EventHubDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/IotHubDataConnection.cs b/sdk/dotnet/Kusto/V20230502/IotHubDataConnection.cs index c4d1dcc42704..4bfd2771c608 100644 --- a/sdk/dotnet/Kusto/V20230502/IotHubDataConnection.cs +++ b/sdk/dotnet/Kusto/V20230502/IotHubDataConnection.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:IotHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:IotHubDataConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:IotHubDataConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/ManagedPrivateEndpoint.cs b/sdk/dotnet/Kusto/V20230502/ManagedPrivateEndpoint.cs index c7cdc8aa1745..05b017af452f 100644 --- a/sdk/dotnet/Kusto/V20230502/ManagedPrivateEndpoint.cs +++ b/sdk/dotnet/Kusto/V20230502/ManagedPrivateEndpoint.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ManagedPrivateEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ManagedPrivateEndpoint"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ManagedPrivateEndpoint"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/PrivateEndpointConnection.cs b/sdk/dotnet/Kusto/V20230502/PrivateEndpointConnection.cs index 3c5fbad2ec6f..4761e9342197 100644 --- a/sdk/dotnet/Kusto/V20230502/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Kusto/V20230502/PrivateEndpointConnection.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:PrivateEndpointConnection"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/ReadOnlyFollowingDatabase.cs b/sdk/dotnet/Kusto/V20230502/ReadOnlyFollowingDatabase.cs index f922d6e6b801..31c987d0753a 100644 --- a/sdk/dotnet/Kusto/V20230502/ReadOnlyFollowingDatabase.cs +++ b/sdk/dotnet/Kusto/V20230502/ReadOnlyFollowingDatabase.cs @@ -154,6 +154,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/ReadWriteDatabase.cs b/sdk/dotnet/Kusto/V20230502/ReadWriteDatabase.cs index 4388820fb488..83ded494c92a 100644 --- a/sdk/dotnet/Kusto/V20230502/ReadWriteDatabase.cs +++ b/sdk/dotnet/Kusto/V20230502/ReadWriteDatabase.cs @@ -130,6 +130,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadWriteDatabase"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:ReadWriteDatabase"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230502/Script.cs b/sdk/dotnet/Kusto/V20230502/Script.cs index be972d71157d..ff2a5f33d7bd 100644 --- a/sdk/dotnet/Kusto/V20230502/Script.cs +++ b/sdk/dotnet/Kusto/V20230502/Script.cs @@ -89,6 +89,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Script"}, new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230815:Script"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Kusto/V20230815/AttachedDatabaseConfiguration.cs b/sdk/dotnet/Kusto/V20230815/AttachedDatabaseConfiguration.cs new file mode 100644 index 000000000000..4bdb667c4802 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/AttachedDatabaseConfiguration.cs @@ -0,0 +1,210 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing an attached database configuration. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:AttachedDatabaseConfiguration")] + public partial class AttachedDatabaseConfiguration : global::Pulumi.CustomResource + { + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + [Output("attachedDatabaseNames")] + public Output> AttachedDatabaseNames { get; private set; } = null!; + + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + [Output("clusterResourceId")] + public Output ClusterResourceId { get; private set; } = null!; + + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + [Output("databaseName")] + public Output DatabaseName { get; private set; } = null!; + + /// + /// Overrides the original database name. Relevant only when attaching to a specific database. + /// + [Output("databaseNameOverride")] + public Output DatabaseNameOverride { get; private set; } = null!; + + /// + /// Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + /// + [Output("databaseNamePrefix")] + public Output DatabaseNamePrefix { get; private set; } = null!; + + /// + /// The default principals modification kind + /// + [Output("defaultPrincipalsModificationKind")] + public Output DefaultPrincipalsModificationKind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Table level sharing specifications + /// + [Output("tableLevelSharingProperties")] + public Output TableLevelSharingProperties { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AttachedDatabaseConfiguration 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 AttachedDatabaseConfiguration(string name, AttachedDatabaseConfigurationArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:AttachedDatabaseConfiguration", name, args ?? new AttachedDatabaseConfigurationArgs(), MakeResourceOptions(options, "")) + { + } + + private AttachedDatabaseConfiguration(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:AttachedDatabaseConfiguration", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:AttachedDatabaseConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:AttachedDatabaseConfiguration"}, + }, + }; + 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 AttachedDatabaseConfiguration 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. + /// A bag of options that control this resource's behavior + public static AttachedDatabaseConfiguration Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AttachedDatabaseConfiguration(name, id, options); + } + } + + public sealed class AttachedDatabaseConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the attached database configuration. + /// + [Input("attachedDatabaseConfigurationName")] + public Input? AttachedDatabaseConfigurationName { get; set; } + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + [Input("clusterResourceId", required: true)] + public Input ClusterResourceId { get; set; } = null!; + + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Overrides the original database name. Relevant only when attaching to a specific database. + /// + [Input("databaseNameOverride")] + public Input? DatabaseNameOverride { get; set; } + + /// + /// Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + /// + [Input("databaseNamePrefix")] + public Input? DatabaseNamePrefix { get; set; } + + /// + /// The default principals modification kind + /// + [Input("defaultPrincipalsModificationKind", required: true)] + public InputUnion DefaultPrincipalsModificationKind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Table level sharing specifications + /// + [Input("tableLevelSharingProperties")] + public Input? TableLevelSharingProperties { get; set; } + + public AttachedDatabaseConfigurationArgs() + { + } + public static new AttachedDatabaseConfigurationArgs Empty => new AttachedDatabaseConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Cluster.cs b/sdk/dotnet/Kusto/V20230815/Cluster.cs new file mode 100644 index 000000000000..6d7417336849 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Cluster.cs @@ -0,0 +1,481 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a Kusto cluster. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:Cluster")] + public partial class Cluster : global::Pulumi.CustomResource + { + /// + /// The cluster's accepted audiences. + /// + [Output("acceptedAudiences")] + public Output> AcceptedAudiences { get; private set; } = null!; + + /// + /// List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + /// + [Output("allowedFqdnList")] + public Output> AllowedFqdnList { get; private set; } = null!; + + /// + /// The list of ips in the format of CIDR allowed to connect to the cluster. + /// + [Output("allowedIpRangeList")] + public Output> AllowedIpRangeList { get; private set; } = null!; + + /// + /// The cluster data ingestion URI. + /// + [Output("dataIngestionUri")] + public Output DataIngestionUri { get; private set; } = null!; + + /// + /// A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + /// + [Output("enableAutoStop")] + public Output EnableAutoStop { get; private set; } = null!; + + /// + /// A boolean value that indicates if the cluster's disks are encrypted. + /// + [Output("enableDiskEncryption")] + public Output EnableDiskEncryption { get; private set; } = null!; + + /// + /// A boolean value that indicates if double encryption is enabled. + /// + [Output("enableDoubleEncryption")] + public Output EnableDoubleEncryption { get; private set; } = null!; + + /// + /// A boolean value that indicates if the purge operations are enabled. + /// + [Output("enablePurge")] + public Output EnablePurge { get; private set; } = null!; + + /// + /// A boolean value that indicates if the streaming ingest is enabled. + /// + [Output("enableStreamingIngest")] + public Output EnableStreamingIngest { get; private set; } = null!; + + /// + /// The engine type + /// + [Output("engineType")] + public Output EngineType { get; private set; } = null!; + + /// + /// A unique read-only string that changes whenever the resource is updated. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The identity of the cluster, if configured. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// KeyVault properties for the cluster encryption. + /// + [Output("keyVaultProperties")] + public Output KeyVaultProperties { get; private set; } = null!; + + /// + /// List of the cluster's language extensions. + /// + [Output("languageExtensions")] + public Output LanguageExtensions { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Properties of the peer cluster involved in a migration to/from this cluster. + /// + [Output("migrationCluster")] + public Output MigrationCluster { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Optimized auto scale definition. + /// + [Output("optimizedAutoscale")] + public Output OptimizedAutoscale { get; private set; } = null!; + + /// + /// A list of private endpoint connections. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + /// + [Output("publicIPType")] + public Output PublicIPType { get; private set; } = null!; + + /// + /// Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + /// + [Output("restrictOutboundNetworkAccess")] + public Output RestrictOutboundNetworkAccess { get; private set; } = null!; + + /// + /// The SKU of the cluster. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// The state of the resource. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The reason for the cluster's current state. + /// + [Output("stateReason")] + public Output StateReason { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The cluster's external tenants. + /// + [Output("trustedExternalTenants")] + public Output> TrustedExternalTenants { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The cluster URI. + /// + [Output("uri")] + public Output Uri { get; private set; } = null!; + + /// + /// Virtual network definition. + /// + [Output("virtualNetworkConfiguration")] + public Output VirtualNetworkConfiguration { get; private set; } = null!; + + /// + /// The availability zones of the cluster. + /// + [Output("zones")] + public Output> Zones { get; private set; } = null!; + + + /// + /// Create a Cluster 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 Cluster(string name, ClusterArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:Cluster", name, args ?? new ClusterArgs(), MakeResourceOptions(options, "")) + { + } + + private Cluster(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:Cluster", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20170907privatepreview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20180907preview:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Cluster"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Cluster"}, + }, + }; + 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 Cluster 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. + /// A bag of options that control this resource's behavior + public static Cluster Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Cluster(name, id, options); + } + } + + public sealed class ClusterArgs : global::Pulumi.ResourceArgs + { + [Input("acceptedAudiences")] + private InputList? _acceptedAudiences; + + /// + /// The cluster's accepted audiences. + /// + public InputList AcceptedAudiences + { + get => _acceptedAudiences ?? (_acceptedAudiences = new InputList()); + set => _acceptedAudiences = value; + } + + [Input("allowedFqdnList")] + private InputList? _allowedFqdnList; + + /// + /// List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + /// + public InputList AllowedFqdnList + { + get => _allowedFqdnList ?? (_allowedFqdnList = new InputList()); + set => _allowedFqdnList = value; + } + + [Input("allowedIpRangeList")] + private InputList? _allowedIpRangeList; + + /// + /// The list of ips in the format of CIDR allowed to connect to the cluster. + /// + public InputList AllowedIpRangeList + { + get => _allowedIpRangeList ?? (_allowedIpRangeList = new InputList()); + set => _allowedIpRangeList = value; + } + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName")] + public Input? ClusterName { get; set; } + + /// + /// A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + /// + [Input("enableAutoStop")] + public Input? EnableAutoStop { get; set; } + + /// + /// A boolean value that indicates if the cluster's disks are encrypted. + /// + [Input("enableDiskEncryption")] + public Input? EnableDiskEncryption { get; set; } + + /// + /// A boolean value that indicates if double encryption is enabled. + /// + [Input("enableDoubleEncryption")] + public Input? EnableDoubleEncryption { get; set; } + + /// + /// A boolean value that indicates if the purge operations are enabled. + /// + [Input("enablePurge")] + public Input? EnablePurge { get; set; } + + /// + /// A boolean value that indicates if the streaming ingest is enabled. + /// + [Input("enableStreamingIngest")] + public Input? EnableStreamingIngest { get; set; } + + /// + /// The engine type + /// + [Input("engineType")] + public InputUnion? EngineType { get; set; } + + /// + /// The identity of the cluster, if configured. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// KeyVault properties for the cluster encryption. + /// + [Input("keyVaultProperties")] + public Input? KeyVaultProperties { get; set; } + + /// + /// List of the cluster's language extensions. + /// + [Input("languageExtensions")] + public Input? LanguageExtensions { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Optimized auto scale definition. + /// + [Input("optimizedAutoscale")] + public Input? OptimizedAutoscale { get; set; } + + /// + /// Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + /// + [Input("publicIPType")] + public InputUnion? PublicIPType { get; set; } + + /// + /// Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + /// + [Input("restrictOutboundNetworkAccess")] + public InputUnion? RestrictOutboundNetworkAccess { get; set; } + + /// + /// The SKU of the cluster. + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("trustedExternalTenants")] + private InputList? _trustedExternalTenants; + + /// + /// The cluster's external tenants. + /// + public InputList TrustedExternalTenants + { + get => _trustedExternalTenants ?? (_trustedExternalTenants = new InputList()); + set => _trustedExternalTenants = value; + } + + /// + /// Virtual Cluster graduation properties + /// + [Input("virtualClusterGraduationProperties")] + public Input? VirtualClusterGraduationProperties { get; set; } + + /// + /// Virtual network definition. + /// + [Input("virtualNetworkConfiguration")] + public Input? VirtualNetworkConfiguration { get; set; } + + [Input("zones")] + private InputList? _zones; + + /// + /// The availability zones of the cluster. + /// + public InputList Zones + { + get => _zones ?? (_zones = new InputList()); + set => _zones = value; + } + + public ClusterArgs() + { + EnableAutoStop = true; + EnableDiskEncryption = false; + EnableDoubleEncryption = false; + EnablePurge = false; + EnableStreamingIngest = false; + EngineType = "V3"; + PublicIPType = "IPv4"; + PublicNetworkAccess = "Enabled"; + RestrictOutboundNetworkAccess = "Disabled"; + } + public static new ClusterArgs Empty => new ClusterArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/ClusterPrincipalAssignment.cs b/sdk/dotnet/Kusto/V20230815/ClusterPrincipalAssignment.cs new file mode 100644 index 000000000000..823e7c79b289 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ClusterPrincipalAssignment.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a cluster principal assignment. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:ClusterPrincipalAssignment")] + public partial class ClusterPrincipalAssignment : global::Pulumi.CustomResource + { + /// + /// The service principal object id in AAD (Azure active directory) + /// + [Output("aadObjectId")] + public Output AadObjectId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + /// + [Output("principalId")] + public Output PrincipalId { get; private set; } = null!; + + /// + /// The principal name + /// + [Output("principalName")] + public Output PrincipalName { get; private set; } = null!; + + /// + /// Principal type. + /// + [Output("principalType")] + public Output PrincipalType { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Cluster principal role. + /// + [Output("role")] + public Output Role { get; private set; } = null!; + + /// + /// The tenant id of the principal + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The tenant name of the principal + /// + [Output("tenantName")] + public Output TenantName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ClusterPrincipalAssignment 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 ClusterPrincipalAssignment(string name, ClusterPrincipalAssignmentArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ClusterPrincipalAssignment", name, args ?? new ClusterPrincipalAssignmentArgs(), MakeResourceOptions(options, "")) + { + } + + private ClusterPrincipalAssignment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ClusterPrincipalAssignment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ClusterPrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ClusterPrincipalAssignment"}, + }, + }; + 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 ClusterPrincipalAssignment 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. + /// A bag of options that control this resource's behavior + public static ClusterPrincipalAssignment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ClusterPrincipalAssignment(name, id, options); + } + } + + public sealed class ClusterPrincipalAssignmentArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the Kusto principalAssignment. + /// + [Input("principalAssignmentName")] + public Input? PrincipalAssignmentName { get; set; } + + /// + /// The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + /// + [Input("principalId", required: true)] + public Input PrincipalId { get; set; } = null!; + + /// + /// Principal type. + /// + [Input("principalType", required: true)] + public InputUnion PrincipalType { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Cluster principal role. + /// + [Input("role", required: true)] + public InputUnion Role { get; set; } = null!; + + /// + /// The tenant id of the principal + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + public ClusterPrincipalAssignmentArgs() + { + } + public static new ClusterPrincipalAssignmentArgs Empty => new ClusterPrincipalAssignmentArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/CosmosDbDataConnection.cs b/sdk/dotnet/Kusto/V20230815/CosmosDbDataConnection.cs new file mode 100644 index 000000000000..37129edd58df --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/CosmosDbDataConnection.cs @@ -0,0 +1,251 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a CosmosDb data connection. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:CosmosDbDataConnection")] + public partial class CosmosDbDataConnection : global::Pulumi.CustomResource + { + /// + /// The resource ID of the Cosmos DB account used to create the data connection. + /// + [Output("cosmosDbAccountResourceId")] + public Output CosmosDbAccountResourceId { get; private set; } = null!; + + /// + /// The name of an existing container in the Cosmos DB database. + /// + [Output("cosmosDbContainer")] + public Output CosmosDbContainer { get; private set; } = null!; + + /// + /// The name of an existing database in the Cosmos DB account. + /// + [Output("cosmosDbDatabase")] + public Output CosmosDbDatabase { get; private set; } = null!; + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'CosmosDb'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The object ID of the managed identity resource. + /// + [Output("managedIdentityObjectId")] + public Output ManagedIdentityObjectId { get; private set; } = null!; + + /// + /// The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + /// + [Output("managedIdentityResourceId")] + public Output ManagedIdentityResourceId { get; private set; } = null!; + + /// + /// The name of an existing mapping rule to use when ingesting the retrieved data. + /// + [Output("mappingRuleName")] + public Output MappingRuleName { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + /// + [Output("retrievalStartDate")] + public Output RetrievalStartDate { get; private set; } = null!; + + /// + /// The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + /// + [Output("tableName")] + public Output TableName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CosmosDbDataConnection 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 CosmosDbDataConnection(string name, CosmosDbDataConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:CosmosDbDataConnection", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private CosmosDbDataConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:CosmosDbDataConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CosmosDbDataConnectionArgs MakeArgs(CosmosDbDataConnectionArgs args) + { + args ??= new CosmosDbDataConnectionArgs(); + args.Kind = "CosmosDb"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:CosmosDbDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:CosmosDbDataConnection"}, + }, + }; + 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 CosmosDbDataConnection 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. + /// A bag of options that control this resource's behavior + public static CosmosDbDataConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CosmosDbDataConnection(name, id, options); + } + } + + public sealed class CosmosDbDataConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The resource ID of the Cosmos DB account used to create the data connection. + /// + [Input("cosmosDbAccountResourceId", required: true)] + public Input CosmosDbAccountResourceId { get; set; } = null!; + + /// + /// The name of an existing container in the Cosmos DB database. + /// + [Input("cosmosDbContainer", required: true)] + public Input CosmosDbContainer { get; set; } = null!; + + /// + /// The name of an existing database in the Cosmos DB account. + /// + [Input("cosmosDbDatabase", required: true)] + public Input CosmosDbDatabase { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName")] + public Input? DataConnectionName { get; set; } + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'CosmosDb'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + /// + [Input("managedIdentityResourceId", required: true)] + public Input ManagedIdentityResourceId { get; set; } = null!; + + /// + /// The name of an existing mapping rule to use when ingesting the retrieved data. + /// + [Input("mappingRuleName")] + public Input? MappingRuleName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + /// + [Input("retrievalStartDate")] + public Input? RetrievalStartDate { get; set; } + + /// + /// The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + /// + [Input("tableName", required: true)] + public Input TableName { get; set; } = null!; + + public CosmosDbDataConnectionArgs() + { + } + public static new CosmosDbDataConnectionArgs Empty => new CosmosDbDataConnectionArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/DatabasePrincipalAssignment.cs b/sdk/dotnet/Kusto/V20230815/DatabasePrincipalAssignment.cs new file mode 100644 index 000000000000..34a85e690163 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/DatabasePrincipalAssignment.cs @@ -0,0 +1,191 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a database principal assignment. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:DatabasePrincipalAssignment")] + public partial class DatabasePrincipalAssignment : global::Pulumi.CustomResource + { + /// + /// The service principal object id in AAD (Azure active directory) + /// + [Output("aadObjectId")] + public Output AadObjectId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + /// + [Output("principalId")] + public Output PrincipalId { get; private set; } = null!; + + /// + /// The principal name + /// + [Output("principalName")] + public Output PrincipalName { get; private set; } = null!; + + /// + /// Principal type. + /// + [Output("principalType")] + public Output PrincipalType { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Database principal role. + /// + [Output("role")] + public Output Role { get; private set; } = null!; + + /// + /// The tenant id of the principal + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The tenant name of the principal + /// + [Output("tenantName")] + public Output TenantName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a DatabasePrincipalAssignment 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 DatabasePrincipalAssignment(string name, DatabasePrincipalAssignmentArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:DatabasePrincipalAssignment", name, args ?? new DatabasePrincipalAssignmentArgs(), MakeResourceOptions(options, "")) + { + } + + private DatabasePrincipalAssignment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:DatabasePrincipalAssignment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:DatabasePrincipalAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:DatabasePrincipalAssignment"}, + }, + }; + 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 DatabasePrincipalAssignment 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. + /// A bag of options that control this resource's behavior + public static DatabasePrincipalAssignment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new DatabasePrincipalAssignment(name, id, options); + } + } + + public sealed class DatabasePrincipalAssignmentArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the Kusto principalAssignment. + /// + [Input("principalAssignmentName")] + public Input? PrincipalAssignmentName { get; set; } + + /// + /// The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + /// + [Input("principalId", required: true)] + public Input PrincipalId { get; set; } = null!; + + /// + /// Principal type. + /// + [Input("principalType", required: true)] + public InputUnion PrincipalType { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Database principal role. + /// + [Input("role", required: true)] + public InputUnion Role { get; set; } = null!; + + /// + /// The tenant id of the principal + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + public DatabasePrincipalAssignmentArgs() + { + } + public static new DatabasePrincipalAssignmentArgs Empty => new DatabasePrincipalAssignmentArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Enums.cs b/sdk/dotnet/Kusto/V20230815/Enums.cs new file mode 100644 index 000000000000..6de2d93417cf --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Enums.cs @@ -0,0 +1,838 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.Kusto.V20230815 +{ + /// + /// SKU name. + /// + [EnumType] + public readonly struct AzureSkuName : IEquatable + { + private readonly string _value; + + private AzureSkuName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AzureSkuName Dev_No_SLA_Standard_D11_v2 { get; } = new AzureSkuName("Dev(No SLA)_Standard_D11_v2"); + public static AzureSkuName Dev_No_SLA_Standard_E2a_v4 { get; } = new AzureSkuName("Dev(No SLA)_Standard_E2a_v4"); + public static AzureSkuName Standard_D11_v2 { get; } = new AzureSkuName("Standard_D11_v2"); + public static AzureSkuName Standard_D12_v2 { get; } = new AzureSkuName("Standard_D12_v2"); + public static AzureSkuName Standard_D13_v2 { get; } = new AzureSkuName("Standard_D13_v2"); + public static AzureSkuName Standard_D14_v2 { get; } = new AzureSkuName("Standard_D14_v2"); + public static AzureSkuName Standard_D32d_v4 { get; } = new AzureSkuName("Standard_D32d_v4"); + public static AzureSkuName Standard_D16d_v5 { get; } = new AzureSkuName("Standard_D16d_v5"); + public static AzureSkuName Standard_D32d_v5 { get; } = new AzureSkuName("Standard_D32d_v5"); + public static AzureSkuName Standard_DS13_v2_1TB_PS { get; } = new AzureSkuName("Standard_DS13_v2+1TB_PS"); + public static AzureSkuName Standard_DS13_v2_2TB_PS { get; } = new AzureSkuName("Standard_DS13_v2+2TB_PS"); + public static AzureSkuName Standard_DS14_v2_3TB_PS { get; } = new AzureSkuName("Standard_DS14_v2+3TB_PS"); + public static AzureSkuName Standard_DS14_v2_4TB_PS { get; } = new AzureSkuName("Standard_DS14_v2+4TB_PS"); + public static AzureSkuName Standard_L4s { get; } = new AzureSkuName("Standard_L4s"); + public static AzureSkuName Standard_L8s { get; } = new AzureSkuName("Standard_L8s"); + public static AzureSkuName Standard_L16s { get; } = new AzureSkuName("Standard_L16s"); + public static AzureSkuName Standard_L8s_v2 { get; } = new AzureSkuName("Standard_L8s_v2"); + public static AzureSkuName Standard_L16s_v2 { get; } = new AzureSkuName("Standard_L16s_v2"); + public static AzureSkuName Standard_L8s_v3 { get; } = new AzureSkuName("Standard_L8s_v3"); + public static AzureSkuName Standard_L16s_v3 { get; } = new AzureSkuName("Standard_L16s_v3"); + public static AzureSkuName Standard_L32s_v3 { get; } = new AzureSkuName("Standard_L32s_v3"); + public static AzureSkuName Standard_L8as_v3 { get; } = new AzureSkuName("Standard_L8as_v3"); + public static AzureSkuName Standard_L16as_v3 { get; } = new AzureSkuName("Standard_L16as_v3"); + public static AzureSkuName Standard_L32as_v3 { get; } = new AzureSkuName("Standard_L32as_v3"); + public static AzureSkuName Standard_E64i_v3 { get; } = new AzureSkuName("Standard_E64i_v3"); + public static AzureSkuName Standard_E80ids_v4 { get; } = new AzureSkuName("Standard_E80ids_v4"); + public static AzureSkuName Standard_E2a_v4 { get; } = new AzureSkuName("Standard_E2a_v4"); + public static AzureSkuName Standard_E4a_v4 { get; } = new AzureSkuName("Standard_E4a_v4"); + public static AzureSkuName Standard_E8a_v4 { get; } = new AzureSkuName("Standard_E8a_v4"); + public static AzureSkuName Standard_E16a_v4 { get; } = new AzureSkuName("Standard_E16a_v4"); + public static AzureSkuName Standard_E8as_v4_1TB_PS { get; } = new AzureSkuName("Standard_E8as_v4+1TB_PS"); + public static AzureSkuName Standard_E8as_v4_2TB_PS { get; } = new AzureSkuName("Standard_E8as_v4+2TB_PS"); + public static AzureSkuName Standard_E16as_v4_3TB_PS { get; } = new AzureSkuName("Standard_E16as_v4+3TB_PS"); + public static AzureSkuName Standard_E16as_v4_4TB_PS { get; } = new AzureSkuName("Standard_E16as_v4+4TB_PS"); + public static AzureSkuName Standard_E8as_v5_1TB_PS { get; } = new AzureSkuName("Standard_E8as_v5+1TB_PS"); + public static AzureSkuName Standard_E8as_v5_2TB_PS { get; } = new AzureSkuName("Standard_E8as_v5+2TB_PS"); + public static AzureSkuName Standard_E16as_v5_3TB_PS { get; } = new AzureSkuName("Standard_E16as_v5+3TB_PS"); + public static AzureSkuName Standard_E16as_v5_4TB_PS { get; } = new AzureSkuName("Standard_E16as_v5+4TB_PS"); + public static AzureSkuName Standard_E2ads_v5 { get; } = new AzureSkuName("Standard_E2ads_v5"); + public static AzureSkuName Standard_E4ads_v5 { get; } = new AzureSkuName("Standard_E4ads_v5"); + public static AzureSkuName Standard_E8ads_v5 { get; } = new AzureSkuName("Standard_E8ads_v5"); + public static AzureSkuName Standard_E16ads_v5 { get; } = new AzureSkuName("Standard_E16ads_v5"); + public static AzureSkuName Standard_EC8as_v5_1TB_PS { get; } = new AzureSkuName("Standard_EC8as_v5+1TB_PS"); + public static AzureSkuName Standard_EC8as_v5_2TB_PS { get; } = new AzureSkuName("Standard_EC8as_v5+2TB_PS"); + public static AzureSkuName Standard_EC16as_v5_3TB_PS { get; } = new AzureSkuName("Standard_EC16as_v5+3TB_PS"); + public static AzureSkuName Standard_EC16as_v5_4TB_PS { get; } = new AzureSkuName("Standard_EC16as_v5+4TB_PS"); + public static AzureSkuName Standard_EC8ads_v5 { get; } = new AzureSkuName("Standard_EC8ads_v5"); + public static AzureSkuName Standard_EC16ads_v5 { get; } = new AzureSkuName("Standard_EC16ads_v5"); + public static AzureSkuName Standard_E8s_v4_1TB_PS { get; } = new AzureSkuName("Standard_E8s_v4+1TB_PS"); + public static AzureSkuName Standard_E8s_v4_2TB_PS { get; } = new AzureSkuName("Standard_E8s_v4+2TB_PS"); + public static AzureSkuName Standard_E16s_v4_3TB_PS { get; } = new AzureSkuName("Standard_E16s_v4+3TB_PS"); + public static AzureSkuName Standard_E16s_v4_4TB_PS { get; } = new AzureSkuName("Standard_E16s_v4+4TB_PS"); + public static AzureSkuName Standard_E8s_v5_1TB_PS { get; } = new AzureSkuName("Standard_E8s_v5+1TB_PS"); + public static AzureSkuName Standard_E8s_v5_2TB_PS { get; } = new AzureSkuName("Standard_E8s_v5+2TB_PS"); + public static AzureSkuName Standard_E16s_v5_3TB_PS { get; } = new AzureSkuName("Standard_E16s_v5+3TB_PS"); + public static AzureSkuName Standard_E16s_v5_4TB_PS { get; } = new AzureSkuName("Standard_E16s_v5+4TB_PS"); + public static AzureSkuName Standard_E2d_v4 { get; } = new AzureSkuName("Standard_E2d_v4"); + public static AzureSkuName Standard_E4d_v4 { get; } = new AzureSkuName("Standard_E4d_v4"); + public static AzureSkuName Standard_E8d_v4 { get; } = new AzureSkuName("Standard_E8d_v4"); + public static AzureSkuName Standard_E16d_v4 { get; } = new AzureSkuName("Standard_E16d_v4"); + public static AzureSkuName Standard_E2d_v5 { get; } = new AzureSkuName("Standard_E2d_v5"); + public static AzureSkuName Standard_E4d_v5 { get; } = new AzureSkuName("Standard_E4d_v5"); + public static AzureSkuName Standard_E8d_v5 { get; } = new AzureSkuName("Standard_E8d_v5"); + public static AzureSkuName Standard_E16d_v5 { get; } = new AzureSkuName("Standard_E16d_v5"); + + public static bool operator ==(AzureSkuName left, AzureSkuName right) => left.Equals(right); + public static bool operator !=(AzureSkuName left, AzureSkuName right) => !left.Equals(right); + + public static explicit operator string(AzureSkuName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AzureSkuName other && Equals(other); + public bool Equals(AzureSkuName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// SKU tier. + /// + [EnumType] + public readonly struct AzureSkuTier : IEquatable + { + private readonly string _value; + + private AzureSkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AzureSkuTier Basic { get; } = new AzureSkuTier("Basic"); + public static AzureSkuTier Standard { get; } = new AzureSkuTier("Standard"); + + public static bool operator ==(AzureSkuTier left, AzureSkuTier right) => left.Equals(right); + public static bool operator !=(AzureSkuTier left, AzureSkuTier right) => !left.Equals(right); + + public static explicit operator string(AzureSkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AzureSkuTier other && Equals(other); + public bool Equals(AzureSkuTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The name of blob storage event type to process. + /// + [EnumType] + public readonly struct BlobStorageEventType : IEquatable + { + private readonly string _value; + + private BlobStorageEventType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static BlobStorageEventType Microsoft_Storage_BlobCreated { get; } = new BlobStorageEventType("Microsoft.Storage.BlobCreated"); + public static BlobStorageEventType Microsoft_Storage_BlobRenamed { get; } = new BlobStorageEventType("Microsoft.Storage.BlobRenamed"); + + public static bool operator ==(BlobStorageEventType left, BlobStorageEventType right) => left.Equals(right); + public static bool operator !=(BlobStorageEventType left, BlobStorageEventType right) => !left.Equals(right); + + public static explicit operator string(BlobStorageEventType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is BlobStorageEventType other && Equals(other); + public bool Equals(BlobStorageEventType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + /// + [EnumType] + public readonly struct ClusterNetworkAccessFlag : IEquatable + { + private readonly string _value; + + private ClusterNetworkAccessFlag(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ClusterNetworkAccessFlag Enabled { get; } = new ClusterNetworkAccessFlag("Enabled"); + public static ClusterNetworkAccessFlag Disabled { get; } = new ClusterNetworkAccessFlag("Disabled"); + + public static bool operator ==(ClusterNetworkAccessFlag left, ClusterNetworkAccessFlag right) => left.Equals(right); + public static bool operator !=(ClusterNetworkAccessFlag left, ClusterNetworkAccessFlag right) => !left.Equals(right); + + public static explicit operator string(ClusterNetworkAccessFlag value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ClusterNetworkAccessFlag other && Equals(other); + public bool Equals(ClusterNetworkAccessFlag other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Cluster principal role. + /// + [EnumType] + public readonly struct ClusterPrincipalRole : IEquatable + { + private readonly string _value; + + private ClusterPrincipalRole(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ClusterPrincipalRole AllDatabasesAdmin { get; } = new ClusterPrincipalRole("AllDatabasesAdmin"); + public static ClusterPrincipalRole AllDatabasesViewer { get; } = new ClusterPrincipalRole("AllDatabasesViewer"); + + public static bool operator ==(ClusterPrincipalRole left, ClusterPrincipalRole right) => left.Equals(right); + public static bool operator !=(ClusterPrincipalRole left, ClusterPrincipalRole right) => !left.Equals(right); + + public static explicit operator string(ClusterPrincipalRole value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ClusterPrincipalRole other && Equals(other); + public bool Equals(ClusterPrincipalRole other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The event hub messages compression type + /// + [EnumType] + public readonly struct Compression : IEquatable + { + private readonly string _value; + + private Compression(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Compression None { get; } = new Compression("None"); + public static Compression GZip { get; } = new Compression("GZip"); + + public static bool operator ==(Compression left, Compression right) => left.Equals(right); + public static bool operator !=(Compression left, Compression right) => !left.Equals(right); + + public static explicit operator string(Compression value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Compression other && Equals(other); + public bool Equals(Compression other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Kind of the endpoint for the data connection + /// + [EnumType] + public readonly struct DataConnectionKind : IEquatable + { + private readonly string _value; + + private DataConnectionKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataConnectionKind EventHub { get; } = new DataConnectionKind("EventHub"); + public static DataConnectionKind EventGrid { get; } = new DataConnectionKind("EventGrid"); + public static DataConnectionKind IotHub { get; } = new DataConnectionKind("IotHub"); + public static DataConnectionKind CosmosDb { get; } = new DataConnectionKind("CosmosDb"); + + public static bool operator ==(DataConnectionKind left, DataConnectionKind right) => left.Equals(right); + public static bool operator !=(DataConnectionKind left, DataConnectionKind right) => !left.Equals(right); + + public static explicit operator string(DataConnectionKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataConnectionKind other && Equals(other); + public bool Equals(DataConnectionKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Database principal role. + /// + [EnumType] + public readonly struct DatabasePrincipalRole : IEquatable + { + private readonly string _value; + + private DatabasePrincipalRole(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DatabasePrincipalRole Admin { get; } = new DatabasePrincipalRole("Admin"); + public static DatabasePrincipalRole Ingestor { get; } = new DatabasePrincipalRole("Ingestor"); + public static DatabasePrincipalRole Monitor { get; } = new DatabasePrincipalRole("Monitor"); + public static DatabasePrincipalRole User { get; } = new DatabasePrincipalRole("User"); + public static DatabasePrincipalRole UnrestrictedViewer { get; } = new DatabasePrincipalRole("UnrestrictedViewer"); + public static DatabasePrincipalRole Viewer { get; } = new DatabasePrincipalRole("Viewer"); + + public static bool operator ==(DatabasePrincipalRole left, DatabasePrincipalRole right) => left.Equals(right); + public static bool operator !=(DatabasePrincipalRole left, DatabasePrincipalRole right) => !left.Equals(right); + + public static explicit operator string(DatabasePrincipalRole value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DatabasePrincipalRole other && Equals(other); + public bool Equals(DatabasePrincipalRole other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [EnumType] + public readonly struct DatabaseRouting : IEquatable + { + private readonly string _value; + + private DatabaseRouting(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DatabaseRouting Single { get; } = new DatabaseRouting("Single"); + public static DatabaseRouting Multi { get; } = new DatabaseRouting("Multi"); + + public static bool operator ==(DatabaseRouting left, DatabaseRouting right) => left.Equals(right); + public static bool operator !=(DatabaseRouting left, DatabaseRouting right) => !left.Equals(right); + + public static explicit operator string(DatabaseRouting value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DatabaseRouting other && Equals(other); + public bool Equals(DatabaseRouting other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The default principals modification kind + /// + [EnumType] + public readonly struct DefaultPrincipalsModificationKind : IEquatable + { + private readonly string _value; + + private DefaultPrincipalsModificationKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DefaultPrincipalsModificationKind Union { get; } = new DefaultPrincipalsModificationKind("Union"); + public static DefaultPrincipalsModificationKind Replace { get; } = new DefaultPrincipalsModificationKind("Replace"); + public static DefaultPrincipalsModificationKind None { get; } = new DefaultPrincipalsModificationKind("None"); + + public static bool operator ==(DefaultPrincipalsModificationKind left, DefaultPrincipalsModificationKind right) => left.Equals(right); + public static bool operator !=(DefaultPrincipalsModificationKind left, DefaultPrincipalsModificationKind right) => !left.Equals(right); + + public static explicit operator string(DefaultPrincipalsModificationKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DefaultPrincipalsModificationKind other && Equals(other); + public bool Equals(DefaultPrincipalsModificationKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The engine type + /// + [EnumType] + public readonly struct EngineType : IEquatable + { + private readonly string _value; + + private EngineType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EngineType V2 { get; } = new EngineType("V2"); + public static EngineType V3 { get; } = new EngineType("V3"); + + public static bool operator ==(EngineType left, EngineType right) => left.Equals(right); + public static bool operator !=(EngineType left, EngineType right) => !left.Equals(right); + + public static explicit operator string(EngineType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EngineType other && Equals(other); + public bool Equals(EngineType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [EnumType] + public readonly struct EventGridDataFormat : IEquatable + { + private readonly string _value; + + private EventGridDataFormat(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EventGridDataFormat MULTIJSON { get; } = new EventGridDataFormat("MULTIJSON"); + public static EventGridDataFormat JSON { get; } = new EventGridDataFormat("JSON"); + public static EventGridDataFormat CSV { get; } = new EventGridDataFormat("CSV"); + public static EventGridDataFormat TSV { get; } = new EventGridDataFormat("TSV"); + public static EventGridDataFormat SCSV { get; } = new EventGridDataFormat("SCSV"); + public static EventGridDataFormat SOHSV { get; } = new EventGridDataFormat("SOHSV"); + public static EventGridDataFormat PSV { get; } = new EventGridDataFormat("PSV"); + public static EventGridDataFormat TXT { get; } = new EventGridDataFormat("TXT"); + public static EventGridDataFormat RAW { get; } = new EventGridDataFormat("RAW"); + public static EventGridDataFormat SINGLEJSON { get; } = new EventGridDataFormat("SINGLEJSON"); + public static EventGridDataFormat AVRO { get; } = new EventGridDataFormat("AVRO"); + public static EventGridDataFormat TSVE { get; } = new EventGridDataFormat("TSVE"); + public static EventGridDataFormat PARQUET { get; } = new EventGridDataFormat("PARQUET"); + public static EventGridDataFormat ORC { get; } = new EventGridDataFormat("ORC"); + public static EventGridDataFormat APACHEAVRO { get; } = new EventGridDataFormat("APACHEAVRO"); + public static EventGridDataFormat W3CLOGFILE { get; } = new EventGridDataFormat("W3CLOGFILE"); + + public static bool operator ==(EventGridDataFormat left, EventGridDataFormat right) => left.Equals(right); + public static bool operator !=(EventGridDataFormat left, EventGridDataFormat right) => !left.Equals(right); + + public static explicit operator string(EventGridDataFormat value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EventGridDataFormat other && Equals(other); + public bool Equals(EventGridDataFormat other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [EnumType] + public readonly struct EventHubDataFormat : IEquatable + { + private readonly string _value; + + private EventHubDataFormat(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EventHubDataFormat MULTIJSON { get; } = new EventHubDataFormat("MULTIJSON"); + public static EventHubDataFormat JSON { get; } = new EventHubDataFormat("JSON"); + public static EventHubDataFormat CSV { get; } = new EventHubDataFormat("CSV"); + public static EventHubDataFormat TSV { get; } = new EventHubDataFormat("TSV"); + public static EventHubDataFormat SCSV { get; } = new EventHubDataFormat("SCSV"); + public static EventHubDataFormat SOHSV { get; } = new EventHubDataFormat("SOHSV"); + public static EventHubDataFormat PSV { get; } = new EventHubDataFormat("PSV"); + public static EventHubDataFormat TXT { get; } = new EventHubDataFormat("TXT"); + public static EventHubDataFormat RAW { get; } = new EventHubDataFormat("RAW"); + public static EventHubDataFormat SINGLEJSON { get; } = new EventHubDataFormat("SINGLEJSON"); + public static EventHubDataFormat AVRO { get; } = new EventHubDataFormat("AVRO"); + public static EventHubDataFormat TSVE { get; } = new EventHubDataFormat("TSVE"); + public static EventHubDataFormat PARQUET { get; } = new EventHubDataFormat("PARQUET"); + public static EventHubDataFormat ORC { get; } = new EventHubDataFormat("ORC"); + public static EventHubDataFormat APACHEAVRO { get; } = new EventHubDataFormat("APACHEAVRO"); + public static EventHubDataFormat W3CLOGFILE { get; } = new EventHubDataFormat("W3CLOGFILE"); + + public static bool operator ==(EventHubDataFormat left, EventHubDataFormat right) => left.Equals(right); + public static bool operator !=(EventHubDataFormat left, EventHubDataFormat right) => !left.Equals(right); + + public static explicit operator string(EventHubDataFormat value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EventHubDataFormat other && Equals(other); + public bool Equals(EventHubDataFormat other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + /// + [EnumType] + public readonly struct IdentityType : IEquatable + { + private readonly string _value; + + private IdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IdentityType None { get; } = new IdentityType("None"); + public static IdentityType SystemAssigned { get; } = new IdentityType("SystemAssigned"); + public static IdentityType UserAssigned { get; } = new IdentityType("UserAssigned"); + public static IdentityType SystemAssigned_UserAssigned { get; } = new IdentityType("SystemAssigned, UserAssigned"); + + public static bool operator ==(IdentityType left, IdentityType right) => left.Equals(right); + public static bool operator !=(IdentityType left, IdentityType right) => !left.Equals(right); + + public static explicit operator string(IdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IdentityType other && Equals(other); + public bool Equals(IdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [EnumType] + public readonly struct IotHubDataFormat : IEquatable + { + private readonly string _value; + + private IotHubDataFormat(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static IotHubDataFormat MULTIJSON { get; } = new IotHubDataFormat("MULTIJSON"); + public static IotHubDataFormat JSON { get; } = new IotHubDataFormat("JSON"); + public static IotHubDataFormat CSV { get; } = new IotHubDataFormat("CSV"); + public static IotHubDataFormat TSV { get; } = new IotHubDataFormat("TSV"); + public static IotHubDataFormat SCSV { get; } = new IotHubDataFormat("SCSV"); + public static IotHubDataFormat SOHSV { get; } = new IotHubDataFormat("SOHSV"); + public static IotHubDataFormat PSV { get; } = new IotHubDataFormat("PSV"); + public static IotHubDataFormat TXT { get; } = new IotHubDataFormat("TXT"); + public static IotHubDataFormat RAW { get; } = new IotHubDataFormat("RAW"); + public static IotHubDataFormat SINGLEJSON { get; } = new IotHubDataFormat("SINGLEJSON"); + public static IotHubDataFormat AVRO { get; } = new IotHubDataFormat("AVRO"); + public static IotHubDataFormat TSVE { get; } = new IotHubDataFormat("TSVE"); + public static IotHubDataFormat PARQUET { get; } = new IotHubDataFormat("PARQUET"); + public static IotHubDataFormat ORC { get; } = new IotHubDataFormat("ORC"); + public static IotHubDataFormat APACHEAVRO { get; } = new IotHubDataFormat("APACHEAVRO"); + public static IotHubDataFormat W3CLOGFILE { get; } = new IotHubDataFormat("W3CLOGFILE"); + + public static bool operator ==(IotHubDataFormat left, IotHubDataFormat right) => left.Equals(right); + public static bool operator !=(IotHubDataFormat left, IotHubDataFormat right) => !left.Equals(right); + + public static explicit operator string(IotHubDataFormat value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IotHubDataFormat other && Equals(other); + public bool Equals(IotHubDataFormat other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Kind of the database + /// + [EnumType] + public readonly struct Kind : IEquatable + { + private readonly string _value; + + private Kind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Kind ReadWrite { get; } = new Kind("ReadWrite"); + public static Kind ReadOnlyFollowing { get; } = new Kind("ReadOnlyFollowing"); + + public static bool operator ==(Kind left, Kind right) => left.Equals(right); + public static bool operator !=(Kind left, Kind right) => !left.Equals(right); + + public static explicit operator string(Kind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Kind other && Equals(other); + public bool Equals(Kind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The language name, for example Python. + /// + [EnumType] + public readonly struct Language : IEquatable + { + private readonly string _value; + + private Language(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Language Python { get; } = new Language("Python"); + + public static bool operator ==(Language left, Language right) => left.Equals(right); + public static bool operator !=(Language left, Language right) => !left.Equals(right); + + public static explicit operator string(Language value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Language other && Equals(other); + public bool Equals(Language other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The language extension image name. + /// + [EnumType] + public readonly struct LanguageExtensionImageName : IEquatable + { + private readonly string _value; + + private LanguageExtensionImageName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LanguageExtensionImageName R { get; } = new LanguageExtensionImageName("R"); + public static LanguageExtensionImageName Python3_6_5 { get; } = new LanguageExtensionImageName("Python3_6_5"); + public static LanguageExtensionImageName Python3_10_8 { get; } = new LanguageExtensionImageName("Python3_10_8"); + public static LanguageExtensionImageName Python3_10_8_DL { get; } = new LanguageExtensionImageName("Python3_10_8_DL"); + public static LanguageExtensionImageName PythonCustomImage { get; } = new LanguageExtensionImageName("PythonCustomImage"); + + public static bool operator ==(LanguageExtensionImageName left, LanguageExtensionImageName right) => left.Equals(right); + public static bool operator !=(LanguageExtensionImageName left, LanguageExtensionImageName right) => !left.Equals(right); + + public static explicit operator string(LanguageExtensionImageName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LanguageExtensionImageName other && Equals(other); + public bool Equals(LanguageExtensionImageName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The language extension name. + /// + [EnumType] + public readonly struct LanguageExtensionName : IEquatable + { + private readonly string _value; + + private LanguageExtensionName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static LanguageExtensionName PYTHON { get; } = new LanguageExtensionName("PYTHON"); + public static LanguageExtensionName R { get; } = new LanguageExtensionName("R"); + + public static bool operator ==(LanguageExtensionName left, LanguageExtensionName right) => left.Equals(right); + public static bool operator !=(LanguageExtensionName left, LanguageExtensionName right) => !left.Equals(right); + + public static explicit operator string(LanguageExtensionName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is LanguageExtensionName other && Equals(other); + public bool Equals(LanguageExtensionName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Principal type. + /// + [EnumType] + public readonly struct PrincipalType : IEquatable + { + private readonly string _value; + + private PrincipalType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PrincipalType App { get; } = new PrincipalType("App"); + public static PrincipalType Group { get; } = new PrincipalType("Group"); + public static PrincipalType User { get; } = new PrincipalType("User"); + + public static bool operator ==(PrincipalType left, PrincipalType right) => left.Equals(right); + public static bool operator !=(PrincipalType left, PrincipalType right) => !left.Equals(right); + + public static explicit operator string(PrincipalType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PrincipalType other && Equals(other); + public bool Equals(PrincipalType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + /// + [EnumType] + public readonly struct PublicIPType : IEquatable + { + private readonly string _value; + + private PublicIPType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicIPType IPv4 { get; } = new PublicIPType("IPv4"); + public static PublicIPType DualStack { get; } = new PublicIPType("DualStack"); + + public static bool operator ==(PublicIPType left, PublicIPType right) => left.Equals(right); + public static bool operator !=(PublicIPType left, PublicIPType right) => !left.Equals(right); + + public static explicit operator string(PublicIPType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicIPType other && Equals(other); + public bool Equals(PublicIPType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + /// + [EnumType] + public readonly struct VnetState : IEquatable + { + private readonly string _value; + + private VnetState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static VnetState Enabled { get; } = new VnetState("Enabled"); + public static VnetState Disabled { get; } = new VnetState("Disabled"); + + public static bool operator ==(VnetState left, VnetState right) => left.Equals(right); + public static bool operator !=(VnetState left, VnetState right) => !left.Equals(right); + + public static explicit operator string(VnetState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is VnetState other && Equals(other); + public bool Equals(VnetState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/Kusto/V20230815/EventGridDataConnection.cs b/sdk/dotnet/Kusto/V20230815/EventGridDataConnection.cs new file mode 100644 index 000000000000..4c04b0857acd --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/EventGridDataConnection.cs @@ -0,0 +1,300 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing an Event Grid data connection. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:EventGridDataConnection")] + public partial class EventGridDataConnection : global::Pulumi.CustomResource + { + /// + /// The name of blob storage event type to process. + /// + [Output("blobStorageEventType")] + public Output BlobStorageEventType { get; private set; } = null!; + + /// + /// The event hub consumer group. + /// + [Output("consumerGroup")] + public Output ConsumerGroup { get; private set; } = null!; + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [Output("dataFormat")] + public Output DataFormat { get; private set; } = null!; + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [Output("databaseRouting")] + public Output DatabaseRouting { get; private set; } = null!; + + /// + /// The resource ID of the event grid that is subscribed to the storage account events. + /// + [Output("eventGridResourceId")] + public Output EventGridResourceId { get; private set; } = null!; + + /// + /// The resource ID where the event grid is configured to send events. + /// + [Output("eventHubResourceId")] + public Output EventHubResourceId { get; private set; } = null!; + + /// + /// A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + /// + [Output("ignoreFirstRecord")] + public Output IgnoreFirstRecord { get; private set; } = null!; + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'EventGrid'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The object ID of managedIdentityResourceId + /// + [Output("managedIdentityObjectId")] + public Output ManagedIdentityObjectId { get; private set; } = null!; + + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + /// + [Output("managedIdentityResourceId")] + public Output ManagedIdentityResourceId { get; private set; } = null!; + + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + [Output("mappingRuleName")] + public Output MappingRuleName { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The resource ID of the storage account where the data resides. + /// + [Output("storageAccountResourceId")] + public Output StorageAccountResourceId { get; private set; } = null!; + + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + [Output("tableName")] + public Output TableName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a EventGridDataConnection 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 EventGridDataConnection(string name, EventGridDataConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:EventGridDataConnection", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private EventGridDataConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:EventGridDataConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static EventGridDataConnectionArgs MakeArgs(EventGridDataConnectionArgs args) + { + args ??= new EventGridDataConnectionArgs(); + args.Kind = "EventGrid"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventGridDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventGridDataConnection"}, + }, + }; + 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 EventGridDataConnection 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. + /// A bag of options that control this resource's behavior + public static EventGridDataConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new EventGridDataConnection(name, id, options); + } + } + + public sealed class EventGridDataConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of blob storage event type to process. + /// + [Input("blobStorageEventType")] + public InputUnion? BlobStorageEventType { get; set; } + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The event hub consumer group. + /// + [Input("consumerGroup", required: true)] + public Input ConsumerGroup { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName")] + public Input? DataConnectionName { get; set; } + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [Input("dataFormat")] + public InputUnion? DataFormat { get; set; } + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [Input("databaseRouting")] + public InputUnion? DatabaseRouting { get; set; } + + /// + /// The resource ID of the event grid that is subscribed to the storage account events. + /// + [Input("eventGridResourceId")] + public Input? EventGridResourceId { get; set; } + + /// + /// The resource ID where the event grid is configured to send events. + /// + [Input("eventHubResourceId", required: true)] + public Input EventHubResourceId { get; set; } = null!; + + /// + /// A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + /// + [Input("ignoreFirstRecord")] + public Input? IgnoreFirstRecord { get; set; } + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'EventGrid'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + /// + [Input("managedIdentityResourceId")] + public Input? ManagedIdentityResourceId { get; set; } + + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + [Input("mappingRuleName")] + public Input? MappingRuleName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The resource ID of the storage account where the data resides. + /// + [Input("storageAccountResourceId", required: true)] + public Input StorageAccountResourceId { get; set; } = null!; + + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + public EventGridDataConnectionArgs() + { + DatabaseRouting = "Single"; + } + public static new EventGridDataConnectionArgs Empty => new EventGridDataConnectionArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/EventHubDataConnection.cs b/sdk/dotnet/Kusto/V20230815/EventHubDataConnection.cs new file mode 100644 index 000000000000..58c669a9015e --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/EventHubDataConnection.cs @@ -0,0 +1,294 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing an event hub data connection. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:EventHubDataConnection")] + public partial class EventHubDataConnection : global::Pulumi.CustomResource + { + /// + /// The event hub messages compression type + /// + [Output("compression")] + public Output Compression { get; private set; } = null!; + + /// + /// The event hub consumer group. + /// + [Output("consumerGroup")] + public Output ConsumerGroup { get; private set; } = null!; + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [Output("dataFormat")] + public Output DataFormat { get; private set; } = null!; + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [Output("databaseRouting")] + public Output DatabaseRouting { get; private set; } = null!; + + /// + /// The resource ID of the event hub to be used to create a data connection. + /// + [Output("eventHubResourceId")] + public Output EventHubResourceId { get; private set; } = null!; + + /// + /// System properties of the event hub + /// + [Output("eventSystemProperties")] + public Output> EventSystemProperties { get; private set; } = null!; + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'EventHub'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The object ID of the managedIdentityResourceId + /// + [Output("managedIdentityObjectId")] + public Output ManagedIdentityObjectId { get; private set; } = null!; + + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + [Output("managedIdentityResourceId")] + public Output ManagedIdentityResourceId { get; private set; } = null!; + + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + [Output("mappingRuleName")] + public Output MappingRuleName { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + /// + [Output("retrievalStartDate")] + public Output RetrievalStartDate { get; private set; } = null!; + + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + [Output("tableName")] + public Output TableName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a EventHubDataConnection 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 EventHubDataConnection(string name, EventHubDataConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:EventHubDataConnection", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private EventHubDataConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:EventHubDataConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static EventHubDataConnectionArgs MakeArgs(EventHubDataConnectionArgs args) + { + args ??= new EventHubDataConnectionArgs(); + args.Kind = "EventHub"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:EventHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:EventHubDataConnection"}, + }, + }; + 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 EventHubDataConnection 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. + /// A bag of options that control this resource's behavior + public static EventHubDataConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new EventHubDataConnection(name, id, options); + } + } + + public sealed class EventHubDataConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The event hub messages compression type + /// + [Input("compression")] + public InputUnion? Compression { get; set; } + + /// + /// The event hub consumer group. + /// + [Input("consumerGroup", required: true)] + public Input ConsumerGroup { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName")] + public Input? DataConnectionName { get; set; } + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [Input("dataFormat")] + public InputUnion? DataFormat { get; set; } + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [Input("databaseRouting")] + public InputUnion? DatabaseRouting { get; set; } + + /// + /// The resource ID of the event hub to be used to create a data connection. + /// + [Input("eventHubResourceId", required: true)] + public Input EventHubResourceId { get; set; } = null!; + + [Input("eventSystemProperties")] + private InputList? _eventSystemProperties; + + /// + /// System properties of the event hub + /// + public InputList EventSystemProperties + { + get => _eventSystemProperties ?? (_eventSystemProperties = new InputList()); + set => _eventSystemProperties = value; + } + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'EventHub'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + [Input("managedIdentityResourceId")] + public Input? ManagedIdentityResourceId { get; set; } + + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + [Input("mappingRuleName")] + public Input? MappingRuleName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + /// + [Input("retrievalStartDate")] + public Input? RetrievalStartDate { get; set; } + + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + public EventHubDataConnectionArgs() + { + DatabaseRouting = "Single"; + } + public static new EventHubDataConnectionArgs Empty => new EventHubDataConnectionArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetAttachedDatabaseConfiguration.cs b/sdk/dotnet/Kusto/V20230815/GetAttachedDatabaseConfiguration.cs new file mode 100644 index 000000000000..2b1c7999f92d --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetAttachedDatabaseConfiguration.cs @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetAttachedDatabaseConfiguration + { + /// + /// Returns an attached database configuration. + /// + public static Task InvokeAsync(GetAttachedDatabaseConfigurationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getAttachedDatabaseConfiguration", args ?? new GetAttachedDatabaseConfigurationArgs(), options.WithDefaults()); + + /// + /// Returns an attached database configuration. + /// + public static Output Invoke(GetAttachedDatabaseConfigurationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getAttachedDatabaseConfiguration", args ?? new GetAttachedDatabaseConfigurationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAttachedDatabaseConfigurationArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the attached database configuration. + /// + [Input("attachedDatabaseConfigurationName", required: true)] + public string AttachedDatabaseConfigurationName { get; set; } = null!; + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetAttachedDatabaseConfigurationArgs() + { + } + public static new GetAttachedDatabaseConfigurationArgs Empty => new GetAttachedDatabaseConfigurationArgs(); + } + + public sealed class GetAttachedDatabaseConfigurationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the attached database configuration. + /// + [Input("attachedDatabaseConfigurationName", required: true)] + public Input AttachedDatabaseConfigurationName { get; set; } = null!; + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetAttachedDatabaseConfigurationInvokeArgs() + { + } + public static new GetAttachedDatabaseConfigurationInvokeArgs Empty => new GetAttachedDatabaseConfigurationInvokeArgs(); + } + + + [OutputType] + public sealed class GetAttachedDatabaseConfigurationResult + { + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + public readonly ImmutableArray AttachedDatabaseNames; + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + public readonly string ClusterResourceId; + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + public readonly string DatabaseName; + /// + /// Overrides the original database name. Relevant only when attaching to a specific database. + /// + public readonly string? DatabaseNameOverride; + /// + /// Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + /// + public readonly string? DatabaseNamePrefix; + /// + /// The default principals modification kind + /// + public readonly string DefaultPrincipalsModificationKind; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Table level sharing specifications + /// + public readonly Outputs.TableLevelSharingPropertiesResponse? TableLevelSharingProperties; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAttachedDatabaseConfigurationResult( + ImmutableArray attachedDatabaseNames, + + string clusterResourceId, + + string databaseName, + + string? databaseNameOverride, + + string? databaseNamePrefix, + + string defaultPrincipalsModificationKind, + + string id, + + string? location, + + string name, + + string provisioningState, + + Outputs.TableLevelSharingPropertiesResponse? tableLevelSharingProperties, + + string type) + { + AttachedDatabaseNames = attachedDatabaseNames; + ClusterResourceId = clusterResourceId; + DatabaseName = databaseName; + DatabaseNameOverride = databaseNameOverride; + DatabaseNamePrefix = databaseNamePrefix; + DefaultPrincipalsModificationKind = defaultPrincipalsModificationKind; + Id = id; + Location = location; + Name = name; + ProvisioningState = provisioningState; + TableLevelSharingProperties = tableLevelSharingProperties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetCluster.cs b/sdk/dotnet/Kusto/V20230815/GetCluster.cs new file mode 100644 index 000000000000..e0733ffeefe7 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetCluster.cs @@ -0,0 +1,315 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetCluster + { + /// + /// Gets a Kusto cluster. + /// + public static Task InvokeAsync(GetClusterArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getCluster", args ?? new GetClusterArgs(), options.WithDefaults()); + + /// + /// Gets a Kusto cluster. + /// + public static Output Invoke(GetClusterInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetClusterArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetClusterArgs() + { + } + public static new GetClusterArgs Empty => new GetClusterArgs(); + } + + public sealed class GetClusterInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetClusterInvokeArgs() + { + } + public static new GetClusterInvokeArgs Empty => new GetClusterInvokeArgs(); + } + + + [OutputType] + public sealed class GetClusterResult + { + /// + /// The cluster's accepted audiences. + /// + public readonly ImmutableArray AcceptedAudiences; + /// + /// List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + /// + public readonly ImmutableArray AllowedFqdnList; + /// + /// The list of ips in the format of CIDR allowed to connect to the cluster. + /// + public readonly ImmutableArray AllowedIpRangeList; + /// + /// The cluster data ingestion URI. + /// + public readonly string DataIngestionUri; + /// + /// A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + /// + public readonly bool? EnableAutoStop; + /// + /// A boolean value that indicates if the cluster's disks are encrypted. + /// + public readonly bool? EnableDiskEncryption; + /// + /// A boolean value that indicates if double encryption is enabled. + /// + public readonly bool? EnableDoubleEncryption; + /// + /// A boolean value that indicates if the purge operations are enabled. + /// + public readonly bool? EnablePurge; + /// + /// A boolean value that indicates if the streaming ingest is enabled. + /// + public readonly bool? EnableStreamingIngest; + /// + /// The engine type + /// + public readonly string? EngineType; + /// + /// A unique read-only string that changes whenever the resource is updated. + /// + public readonly string Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity of the cluster, if configured. + /// + public readonly Outputs.IdentityResponse? Identity; + /// + /// KeyVault properties for the cluster encryption. + /// + public readonly Outputs.KeyVaultPropertiesResponse? KeyVaultProperties; + /// + /// List of the cluster's language extensions. + /// + public readonly Outputs.LanguageExtensionsListResponse? LanguageExtensions; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// Properties of the peer cluster involved in a migration to/from this cluster. + /// + public readonly Outputs.MigrationClusterPropertiesResponse MigrationCluster; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Optimized auto scale definition. + /// + public readonly Outputs.OptimizedAutoscaleResponse? OptimizedAutoscale; + /// + /// A list of private endpoint connections. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + /// + public readonly string? PublicIPType; + /// + /// Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + /// + public readonly string? PublicNetworkAccess; + /// + /// Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + /// + public readonly string? RestrictOutboundNetworkAccess; + /// + /// The SKU of the cluster. + /// + public readonly Outputs.AzureSkuResponse Sku; + /// + /// The state of the resource. + /// + public readonly string State; + /// + /// The reason for the cluster's current state. + /// + public readonly string StateReason; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The cluster's external tenants. + /// + public readonly ImmutableArray TrustedExternalTenants; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The cluster URI. + /// + public readonly string Uri; + /// + /// Virtual network definition. + /// + public readonly Outputs.VirtualNetworkConfigurationResponse? VirtualNetworkConfiguration; + /// + /// The availability zones of the cluster. + /// + public readonly ImmutableArray Zones; + + [OutputConstructor] + private GetClusterResult( + ImmutableArray acceptedAudiences, + + ImmutableArray allowedFqdnList, + + ImmutableArray allowedIpRangeList, + + string dataIngestionUri, + + bool? enableAutoStop, + + bool? enableDiskEncryption, + + bool? enableDoubleEncryption, + + bool? enablePurge, + + bool? enableStreamingIngest, + + string? engineType, + + string etag, + + string id, + + Outputs.IdentityResponse? identity, + + Outputs.KeyVaultPropertiesResponse? keyVaultProperties, + + Outputs.LanguageExtensionsListResponse? languageExtensions, + + string location, + + Outputs.MigrationClusterPropertiesResponse migrationCluster, + + string name, + + Outputs.OptimizedAutoscaleResponse? optimizedAutoscale, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicIPType, + + string? publicNetworkAccess, + + string? restrictOutboundNetworkAccess, + + Outputs.AzureSkuResponse sku, + + string state, + + string stateReason, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + ImmutableArray trustedExternalTenants, + + string type, + + string uri, + + Outputs.VirtualNetworkConfigurationResponse? virtualNetworkConfiguration, + + ImmutableArray zones) + { + AcceptedAudiences = acceptedAudiences; + AllowedFqdnList = allowedFqdnList; + AllowedIpRangeList = allowedIpRangeList; + DataIngestionUri = dataIngestionUri; + EnableAutoStop = enableAutoStop; + EnableDiskEncryption = enableDiskEncryption; + EnableDoubleEncryption = enableDoubleEncryption; + EnablePurge = enablePurge; + EnableStreamingIngest = enableStreamingIngest; + EngineType = engineType; + Etag = etag; + Id = id; + Identity = identity; + KeyVaultProperties = keyVaultProperties; + LanguageExtensions = languageExtensions; + Location = location; + MigrationCluster = migrationCluster; + Name = name; + OptimizedAutoscale = optimizedAutoscale; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicIPType = publicIPType; + PublicNetworkAccess = publicNetworkAccess; + RestrictOutboundNetworkAccess = restrictOutboundNetworkAccess; + Sku = sku; + State = state; + StateReason = stateReason; + SystemData = systemData; + Tags = tags; + TrustedExternalTenants = trustedExternalTenants; + Type = type; + Uri = uri; + VirtualNetworkConfiguration = virtualNetworkConfiguration; + Zones = zones; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetClusterPrincipalAssignment.cs b/sdk/dotnet/Kusto/V20230815/GetClusterPrincipalAssignment.cs new file mode 100644 index 000000000000..794ea1af20db --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetClusterPrincipalAssignment.cs @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetClusterPrincipalAssignment + { + /// + /// Gets a Kusto cluster principalAssignment. + /// + public static Task InvokeAsync(GetClusterPrincipalAssignmentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getClusterPrincipalAssignment", args ?? new GetClusterPrincipalAssignmentArgs(), options.WithDefaults()); + + /// + /// Gets a Kusto cluster principalAssignment. + /// + public static Output Invoke(GetClusterPrincipalAssignmentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getClusterPrincipalAssignment", args ?? new GetClusterPrincipalAssignmentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetClusterPrincipalAssignmentArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the Kusto principalAssignment. + /// + [Input("principalAssignmentName", required: true)] + public string PrincipalAssignmentName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetClusterPrincipalAssignmentArgs() + { + } + public static new GetClusterPrincipalAssignmentArgs Empty => new GetClusterPrincipalAssignmentArgs(); + } + + public sealed class GetClusterPrincipalAssignmentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the Kusto principalAssignment. + /// + [Input("principalAssignmentName", required: true)] + public Input PrincipalAssignmentName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetClusterPrincipalAssignmentInvokeArgs() + { + } + public static new GetClusterPrincipalAssignmentInvokeArgs Empty => new GetClusterPrincipalAssignmentInvokeArgs(); + } + + + [OutputType] + public sealed class GetClusterPrincipalAssignmentResult + { + /// + /// The service principal object id in AAD (Azure active directory) + /// + public readonly string AadObjectId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + /// + public readonly string PrincipalId; + /// + /// The principal name + /// + public readonly string PrincipalName; + /// + /// Principal type. + /// + public readonly string PrincipalType; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Cluster principal role. + /// + public readonly string Role; + /// + /// The tenant id of the principal + /// + public readonly string? TenantId; + /// + /// The tenant name of the principal + /// + public readonly string TenantName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetClusterPrincipalAssignmentResult( + string aadObjectId, + + string id, + + string name, + + string principalId, + + string principalName, + + string principalType, + + string provisioningState, + + string role, + + string? tenantId, + + string tenantName, + + string type) + { + AadObjectId = aadObjectId; + Id = id; + Name = name; + PrincipalId = principalId; + PrincipalName = principalName; + PrincipalType = principalType; + ProvisioningState = provisioningState; + Role = role; + TenantId = tenantId; + TenantName = tenantName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetCosmosDbDataConnection.cs b/sdk/dotnet/Kusto/V20230815/GetCosmosDbDataConnection.cs new file mode 100644 index 000000000000..e251e91e5180 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetCosmosDbDataConnection.cs @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetCosmosDbDataConnection + { + /// + /// Returns a data connection. + /// + public static Task InvokeAsync(GetCosmosDbDataConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getCosmosDbDataConnection", args ?? new GetCosmosDbDataConnectionArgs(), options.WithDefaults()); + + /// + /// Returns a data connection. + /// + public static Output Invoke(GetCosmosDbDataConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getCosmosDbDataConnection", args ?? new GetCosmosDbDataConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCosmosDbDataConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public string DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetCosmosDbDataConnectionArgs() + { + } + public static new GetCosmosDbDataConnectionArgs Empty => new GetCosmosDbDataConnectionArgs(); + } + + public sealed class GetCosmosDbDataConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public Input DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetCosmosDbDataConnectionInvokeArgs() + { + } + public static new GetCosmosDbDataConnectionInvokeArgs Empty => new GetCosmosDbDataConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetCosmosDbDataConnectionResult + { + /// + /// The resource ID of the Cosmos DB account used to create the data connection. + /// + public readonly string CosmosDbAccountResourceId; + /// + /// The name of an existing container in the Cosmos DB database. + /// + public readonly string CosmosDbContainer; + /// + /// The name of an existing database in the Cosmos DB account. + /// + public readonly string CosmosDbDatabase; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'CosmosDb'. + /// + public readonly string Kind; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The object ID of the managed identity resource. + /// + public readonly string ManagedIdentityObjectId; + /// + /// The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + /// + public readonly string ManagedIdentityResourceId; + /// + /// The name of an existing mapping rule to use when ingesting the retrieved data. + /// + public readonly string? MappingRuleName; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + /// + public readonly string? RetrievalStartDate; + /// + /// The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + /// + public readonly string TableName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetCosmosDbDataConnectionResult( + string cosmosDbAccountResourceId, + + string cosmosDbContainer, + + string cosmosDbDatabase, + + string id, + + string kind, + + string? location, + + string managedIdentityObjectId, + + string managedIdentityResourceId, + + string? mappingRuleName, + + string name, + + string provisioningState, + + string? retrievalStartDate, + + string tableName, + + string type) + { + CosmosDbAccountResourceId = cosmosDbAccountResourceId; + CosmosDbContainer = cosmosDbContainer; + CosmosDbDatabase = cosmosDbDatabase; + Id = id; + Kind = kind; + Location = location; + ManagedIdentityObjectId = managedIdentityObjectId; + ManagedIdentityResourceId = managedIdentityResourceId; + MappingRuleName = mappingRuleName; + Name = name; + ProvisioningState = provisioningState; + RetrievalStartDate = retrievalStartDate; + TableName = tableName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetDatabasePrincipalAssignment.cs b/sdk/dotnet/Kusto/V20230815/GetDatabasePrincipalAssignment.cs new file mode 100644 index 000000000000..7b6cc8e293bb --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetDatabasePrincipalAssignment.cs @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetDatabasePrincipalAssignment + { + /// + /// Gets a Kusto cluster database principalAssignment. + /// + public static Task InvokeAsync(GetDatabasePrincipalAssignmentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getDatabasePrincipalAssignment", args ?? new GetDatabasePrincipalAssignmentArgs(), options.WithDefaults()); + + /// + /// Gets a Kusto cluster database principalAssignment. + /// + public static Output Invoke(GetDatabasePrincipalAssignmentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getDatabasePrincipalAssignment", args ?? new GetDatabasePrincipalAssignmentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDatabasePrincipalAssignmentArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the Kusto principalAssignment. + /// + [Input("principalAssignmentName", required: true)] + public string PrincipalAssignmentName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetDatabasePrincipalAssignmentArgs() + { + } + public static new GetDatabasePrincipalAssignmentArgs Empty => new GetDatabasePrincipalAssignmentArgs(); + } + + public sealed class GetDatabasePrincipalAssignmentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the Kusto principalAssignment. + /// + [Input("principalAssignmentName", required: true)] + public Input PrincipalAssignmentName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetDatabasePrincipalAssignmentInvokeArgs() + { + } + public static new GetDatabasePrincipalAssignmentInvokeArgs Empty => new GetDatabasePrincipalAssignmentInvokeArgs(); + } + + + [OutputType] + public sealed class GetDatabasePrincipalAssignmentResult + { + /// + /// The service principal object id in AAD (Azure active directory) + /// + public readonly string AadObjectId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + /// + public readonly string PrincipalId; + /// + /// The principal name + /// + public readonly string PrincipalName; + /// + /// Principal type. + /// + public readonly string PrincipalType; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// Database principal role. + /// + public readonly string Role; + /// + /// The tenant id of the principal + /// + public readonly string? TenantId; + /// + /// The tenant name of the principal + /// + public readonly string TenantName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetDatabasePrincipalAssignmentResult( + string aadObjectId, + + string id, + + string name, + + string principalId, + + string principalName, + + string principalType, + + string provisioningState, + + string role, + + string? tenantId, + + string tenantName, + + string type) + { + AadObjectId = aadObjectId; + Id = id; + Name = name; + PrincipalId = principalId; + PrincipalName = principalName; + PrincipalType = principalType; + ProvisioningState = provisioningState; + Role = role; + TenantId = tenantId; + TenantName = tenantName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetEventGridDataConnection.cs b/sdk/dotnet/Kusto/V20230815/GetEventGridDataConnection.cs new file mode 100644 index 000000000000..de474c4db864 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetEventGridDataConnection.cs @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetEventGridDataConnection + { + /// + /// Returns a data connection. + /// + public static Task InvokeAsync(GetEventGridDataConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getEventGridDataConnection", args ?? new GetEventGridDataConnectionArgs(), options.WithDefaults()); + + /// + /// Returns a data connection. + /// + public static Output Invoke(GetEventGridDataConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getEventGridDataConnection", args ?? new GetEventGridDataConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEventGridDataConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public string DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetEventGridDataConnectionArgs() + { + } + public static new GetEventGridDataConnectionArgs Empty => new GetEventGridDataConnectionArgs(); + } + + public sealed class GetEventGridDataConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public Input DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetEventGridDataConnectionInvokeArgs() + { + } + public static new GetEventGridDataConnectionInvokeArgs Empty => new GetEventGridDataConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetEventGridDataConnectionResult + { + /// + /// The name of blob storage event type to process. + /// + public readonly string? BlobStorageEventType; + /// + /// The event hub consumer group. + /// + public readonly string ConsumerGroup; + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + public readonly string? DataFormat; + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + public readonly string? DatabaseRouting; + /// + /// The resource ID of the event grid that is subscribed to the storage account events. + /// + public readonly string? EventGridResourceId; + /// + /// The resource ID where the event grid is configured to send events. + /// + public readonly string EventHubResourceId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + /// + public readonly bool? IgnoreFirstRecord; + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'EventGrid'. + /// + public readonly string Kind; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The object ID of managedIdentityResourceId + /// + public readonly string ManagedIdentityObjectId; + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + /// + public readonly string? ManagedIdentityResourceId; + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + public readonly string? MappingRuleName; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The resource ID of the storage account where the data resides. + /// + public readonly string StorageAccountResourceId; + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + public readonly string? TableName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetEventGridDataConnectionResult( + string? blobStorageEventType, + + string consumerGroup, + + string? dataFormat, + + string? databaseRouting, + + string? eventGridResourceId, + + string eventHubResourceId, + + string id, + + bool? ignoreFirstRecord, + + string kind, + + string? location, + + string managedIdentityObjectId, + + string? managedIdentityResourceId, + + string? mappingRuleName, + + string name, + + string provisioningState, + + string storageAccountResourceId, + + string? tableName, + + string type) + { + BlobStorageEventType = blobStorageEventType; + ConsumerGroup = consumerGroup; + DataFormat = dataFormat; + DatabaseRouting = databaseRouting; + EventGridResourceId = eventGridResourceId; + EventHubResourceId = eventHubResourceId; + Id = id; + IgnoreFirstRecord = ignoreFirstRecord; + Kind = kind; + Location = location; + ManagedIdentityObjectId = managedIdentityObjectId; + ManagedIdentityResourceId = managedIdentityResourceId; + MappingRuleName = mappingRuleName; + Name = name; + ProvisioningState = provisioningState; + StorageAccountResourceId = storageAccountResourceId; + TableName = tableName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetEventHubDataConnection.cs b/sdk/dotnet/Kusto/V20230815/GetEventHubDataConnection.cs new file mode 100644 index 000000000000..8b051ef6c35f --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetEventHubDataConnection.cs @@ -0,0 +1,221 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetEventHubDataConnection + { + /// + /// Returns a data connection. + /// + public static Task InvokeAsync(GetEventHubDataConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getEventHubDataConnection", args ?? new GetEventHubDataConnectionArgs(), options.WithDefaults()); + + /// + /// Returns a data connection. + /// + public static Output Invoke(GetEventHubDataConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getEventHubDataConnection", args ?? new GetEventHubDataConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEventHubDataConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public string DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetEventHubDataConnectionArgs() + { + } + public static new GetEventHubDataConnectionArgs Empty => new GetEventHubDataConnectionArgs(); + } + + public sealed class GetEventHubDataConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public Input DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetEventHubDataConnectionInvokeArgs() + { + } + public static new GetEventHubDataConnectionInvokeArgs Empty => new GetEventHubDataConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetEventHubDataConnectionResult + { + /// + /// The event hub messages compression type + /// + public readonly string? Compression; + /// + /// The event hub consumer group. + /// + public readonly string ConsumerGroup; + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + public readonly string? DataFormat; + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + public readonly string? DatabaseRouting; + /// + /// The resource ID of the event hub to be used to create a data connection. + /// + public readonly string EventHubResourceId; + /// + /// System properties of the event hub + /// + public readonly ImmutableArray EventSystemProperties; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'EventHub'. + /// + public readonly string Kind; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The object ID of the managedIdentityResourceId + /// + public readonly string ManagedIdentityObjectId; + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + public readonly string? ManagedIdentityResourceId; + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + public readonly string? MappingRuleName; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + /// + public readonly string? RetrievalStartDate; + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + public readonly string? TableName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetEventHubDataConnectionResult( + string? compression, + + string consumerGroup, + + string? dataFormat, + + string? databaseRouting, + + string eventHubResourceId, + + ImmutableArray eventSystemProperties, + + string id, + + string kind, + + string? location, + + string managedIdentityObjectId, + + string? managedIdentityResourceId, + + string? mappingRuleName, + + string name, + + string provisioningState, + + string? retrievalStartDate, + + string? tableName, + + string type) + { + Compression = compression; + ConsumerGroup = consumerGroup; + DataFormat = dataFormat; + DatabaseRouting = databaseRouting; + EventHubResourceId = eventHubResourceId; + EventSystemProperties = eventSystemProperties; + Id = id; + Kind = kind; + Location = location; + ManagedIdentityObjectId = managedIdentityObjectId; + ManagedIdentityResourceId = managedIdentityResourceId; + MappingRuleName = mappingRuleName; + Name = name; + ProvisioningState = provisioningState; + RetrievalStartDate = retrievalStartDate; + TableName = tableName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetIotHubDataConnection.cs b/sdk/dotnet/Kusto/V20230815/GetIotHubDataConnection.cs new file mode 100644 index 000000000000..80238a6cbbcd --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetIotHubDataConnection.cs @@ -0,0 +1,207 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetIotHubDataConnection + { + /// + /// Returns a data connection. + /// + public static Task InvokeAsync(GetIotHubDataConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getIotHubDataConnection", args ?? new GetIotHubDataConnectionArgs(), options.WithDefaults()); + + /// + /// Returns a data connection. + /// + public static Output Invoke(GetIotHubDataConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getIotHubDataConnection", args ?? new GetIotHubDataConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIotHubDataConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public string DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetIotHubDataConnectionArgs() + { + } + public static new GetIotHubDataConnectionArgs Empty => new GetIotHubDataConnectionArgs(); + } + + public sealed class GetIotHubDataConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName", required: true)] + public Input DataConnectionName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetIotHubDataConnectionInvokeArgs() + { + } + public static new GetIotHubDataConnectionInvokeArgs Empty => new GetIotHubDataConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetIotHubDataConnectionResult + { + /// + /// The iot hub consumer group. + /// + public readonly string ConsumerGroup; + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + public readonly string? DataFormat; + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + public readonly string? DatabaseRouting; + /// + /// System properties of the iot hub + /// + public readonly ImmutableArray EventSystemProperties; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The resource ID of the Iot hub to be used to create a data connection. + /// + public readonly string IotHubResourceId; + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'IotHub'. + /// + public readonly string Kind; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + public readonly string? MappingRuleName; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + /// + public readonly string? RetrievalStartDate; + /// + /// The name of the share access policy + /// + public readonly string SharedAccessPolicyName; + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + public readonly string? TableName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetIotHubDataConnectionResult( + string consumerGroup, + + string? dataFormat, + + string? databaseRouting, + + ImmutableArray eventSystemProperties, + + string id, + + string iotHubResourceId, + + string kind, + + string? location, + + string? mappingRuleName, + + string name, + + string provisioningState, + + string? retrievalStartDate, + + string sharedAccessPolicyName, + + string? tableName, + + string type) + { + ConsumerGroup = consumerGroup; + DataFormat = dataFormat; + DatabaseRouting = databaseRouting; + EventSystemProperties = eventSystemProperties; + Id = id; + IotHubResourceId = iotHubResourceId; + Kind = kind; + Location = location; + MappingRuleName = mappingRuleName; + Name = name; + ProvisioningState = provisioningState; + RetrievalStartDate = retrievalStartDate; + SharedAccessPolicyName = sharedAccessPolicyName; + TableName = tableName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetManagedPrivateEndpoint.cs b/sdk/dotnet/Kusto/V20230815/GetManagedPrivateEndpoint.cs new file mode 100644 index 000000000000..7e3357d4786e --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetManagedPrivateEndpoint.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetManagedPrivateEndpoint + { + /// + /// Gets a managed private endpoint. + /// + public static Task InvokeAsync(GetManagedPrivateEndpointArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getManagedPrivateEndpoint", args ?? new GetManagedPrivateEndpointArgs(), options.WithDefaults()); + + /// + /// Gets a managed private endpoint. + /// + public static Output Invoke(GetManagedPrivateEndpointInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getManagedPrivateEndpoint", args ?? new GetManagedPrivateEndpointInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetManagedPrivateEndpointArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the managed private endpoint. + /// + [Input("managedPrivateEndpointName", required: true)] + public string ManagedPrivateEndpointName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetManagedPrivateEndpointArgs() + { + } + public static new GetManagedPrivateEndpointArgs Empty => new GetManagedPrivateEndpointArgs(); + } + + public sealed class GetManagedPrivateEndpointInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the managed private endpoint. + /// + [Input("managedPrivateEndpointName", required: true)] + public Input ManagedPrivateEndpointName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetManagedPrivateEndpointInvokeArgs() + { + } + public static new GetManagedPrivateEndpointInvokeArgs Empty => new GetManagedPrivateEndpointInvokeArgs(); + } + + + [OutputType] + public sealed class GetManagedPrivateEndpointResult + { + /// + /// The groupId in which the managed private endpoint is created. + /// + public readonly string GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The ARM resource ID of the resource for which the managed private endpoint is created. + /// + public readonly string PrivateLinkResourceId; + /// + /// The region of the resource to which the managed private endpoint is created. + /// + public readonly string? PrivateLinkResourceRegion; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The user request message. + /// + public readonly string? RequestMessage; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetManagedPrivateEndpointResult( + string groupId, + + string id, + + string name, + + string privateLinkResourceId, + + string? privateLinkResourceRegion, + + string provisioningState, + + string? requestMessage, + + Outputs.SystemDataResponse systemData, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateLinkResourceId = privateLinkResourceId; + PrivateLinkResourceRegion = privateLinkResourceRegion; + ProvisioningState = provisioningState; + RequestMessage = requestMessage; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetPrivateEndpointConnection.cs b/sdk/dotnet/Kusto/V20230815/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..16129f23a6c4 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetPrivateEndpointConnection.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetPrivateEndpointConnection + { + /// + /// Gets a private endpoint connection. + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); + + /// + /// Gets a private endpoint connection. + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + public static new GetPrivateEndpointConnectionArgs Empty => new GetPrivateEndpointConnectionArgs(); + } + + public sealed class GetPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetPrivateEndpointConnectionInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionInvokeArgs Empty => new GetPrivateEndpointConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// Group id of the private endpoint. + /// + public readonly string GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private endpoint which the connection belongs to. + /// + public readonly Outputs.PrivateEndpointPropertyResponse PrivateEndpoint; + /// + /// Connection State of the Private Endpoint Connection. + /// + public readonly Outputs.PrivateLinkServiceConnectionStatePropertyResponse PrivateLinkServiceConnectionState; + /// + /// Provisioning state of the private endpoint. + /// + public readonly string ProvisioningState; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + string groupId, + + string id, + + string name, + + Outputs.PrivateEndpointPropertyResponse privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStatePropertyResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetReadOnlyFollowingDatabase.cs b/sdk/dotnet/Kusto/V20230815/GetReadOnlyFollowingDatabase.cs new file mode 100644 index 000000000000..1bd0ba22cc53 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetReadOnlyFollowingDatabase.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetReadOnlyFollowingDatabase + { + /// + /// Returns a database. + /// + public static Task InvokeAsync(GetReadOnlyFollowingDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getReadOnlyFollowingDatabase", args ?? new GetReadOnlyFollowingDatabaseArgs(), options.WithDefaults()); + + /// + /// Returns a database. + /// + public static Output Invoke(GetReadOnlyFollowingDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getReadOnlyFollowingDatabase", args ?? new GetReadOnlyFollowingDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetReadOnlyFollowingDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetReadOnlyFollowingDatabaseArgs() + { + } + public static new GetReadOnlyFollowingDatabaseArgs Empty => new GetReadOnlyFollowingDatabaseArgs(); + } + + public sealed class GetReadOnlyFollowingDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetReadOnlyFollowingDatabaseInvokeArgs() + { + } + public static new GetReadOnlyFollowingDatabaseInvokeArgs Empty => new GetReadOnlyFollowingDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetReadOnlyFollowingDatabaseResult + { + /// + /// The name of the attached database configuration cluster + /// + public readonly string AttachedDatabaseConfigurationName; + /// + /// The origin of the following setup. + /// + public readonly string DatabaseShareOrigin; + /// + /// The time the data should be kept in cache for fast queries in TimeSpan. + /// + public readonly string? HotCachePeriod; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Kind of the database + /// Expected value is 'ReadOnlyFollowing'. + /// + public readonly string Kind; + /// + /// The name of the leader cluster + /// + public readonly string LeaderClusterResourceId; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The original database name, before databaseNameOverride or databaseNamePrefix where applied. + /// + public readonly string OriginalDatabaseName; + /// + /// The principals modification kind of the database + /// + public readonly string PrincipalsModificationKind; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The time the data should be kept before it stops being accessible to queries in TimeSpan. + /// + public readonly string SoftDeletePeriod; + /// + /// The statistics of the database. + /// + public readonly Outputs.DatabaseStatisticsResponse Statistics; + /// + /// The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + /// + public readonly Outputs.SuspensionDetailsResponse SuspensionDetails; + /// + /// Table level sharing specifications + /// + public readonly Outputs.TableLevelSharingPropertiesResponse TableLevelSharingProperties; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetReadOnlyFollowingDatabaseResult( + string attachedDatabaseConfigurationName, + + string databaseShareOrigin, + + string? hotCachePeriod, + + string id, + + string kind, + + string leaderClusterResourceId, + + string? location, + + string name, + + string originalDatabaseName, + + string principalsModificationKind, + + string provisioningState, + + string softDeletePeriod, + + Outputs.DatabaseStatisticsResponse statistics, + + Outputs.SuspensionDetailsResponse suspensionDetails, + + Outputs.TableLevelSharingPropertiesResponse tableLevelSharingProperties, + + string type) + { + AttachedDatabaseConfigurationName = attachedDatabaseConfigurationName; + DatabaseShareOrigin = databaseShareOrigin; + HotCachePeriod = hotCachePeriod; + Id = id; + Kind = kind; + LeaderClusterResourceId = leaderClusterResourceId; + Location = location; + Name = name; + OriginalDatabaseName = originalDatabaseName; + PrincipalsModificationKind = principalsModificationKind; + ProvisioningState = provisioningState; + SoftDeletePeriod = softDeletePeriod; + Statistics = statistics; + SuspensionDetails = suspensionDetails; + TableLevelSharingProperties = tableLevelSharingProperties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetReadWriteDatabase.cs b/sdk/dotnet/Kusto/V20230815/GetReadWriteDatabase.cs new file mode 100644 index 000000000000..7430c6d6ab0c --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetReadWriteDatabase.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetReadWriteDatabase + { + /// + /// Returns a database. + /// + public static Task InvokeAsync(GetReadWriteDatabaseArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getReadWriteDatabase", args ?? new GetReadWriteDatabaseArgs(), options.WithDefaults()); + + /// + /// Returns a database. + /// + public static Output Invoke(GetReadWriteDatabaseInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getReadWriteDatabase", args ?? new GetReadWriteDatabaseInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetReadWriteDatabaseArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetReadWriteDatabaseArgs() + { + } + public static new GetReadWriteDatabaseArgs Empty => new GetReadWriteDatabaseArgs(); + } + + public sealed class GetReadWriteDatabaseInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetReadWriteDatabaseInvokeArgs() + { + } + public static new GetReadWriteDatabaseInvokeArgs Empty => new GetReadWriteDatabaseInvokeArgs(); + } + + + [OutputType] + public sealed class GetReadWriteDatabaseResult + { + /// + /// The time the data should be kept in cache for fast queries in TimeSpan. + /// + public readonly string? HotCachePeriod; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Indicates whether the database is followed. + /// + public readonly bool IsFollowed; + /// + /// KeyVault properties for the database encryption. + /// + public readonly Outputs.KeyVaultPropertiesResponse? KeyVaultProperties; + /// + /// Kind of the database + /// Expected value is 'ReadWrite'. + /// + public readonly string Kind; + /// + /// Resource location. + /// + public readonly string? Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The time the data should be kept before it stops being accessible to queries in TimeSpan. + /// + public readonly string? SoftDeletePeriod; + /// + /// The statistics of the database. + /// + public readonly Outputs.DatabaseStatisticsResponse Statistics; + /// + /// The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + /// + public readonly Outputs.SuspensionDetailsResponse SuspensionDetails; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetReadWriteDatabaseResult( + string? hotCachePeriod, + + string id, + + bool isFollowed, + + Outputs.KeyVaultPropertiesResponse? keyVaultProperties, + + string kind, + + string? location, + + string name, + + string provisioningState, + + string? softDeletePeriod, + + Outputs.DatabaseStatisticsResponse statistics, + + Outputs.SuspensionDetailsResponse suspensionDetails, + + string type) + { + HotCachePeriod = hotCachePeriod; + Id = id; + IsFollowed = isFollowed; + KeyVaultProperties = keyVaultProperties; + Kind = kind; + Location = location; + Name = name; + ProvisioningState = provisioningState; + SoftDeletePeriod = softDeletePeriod; + Statistics = statistics; + SuspensionDetails = suspensionDetails; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetSandboxCustomImage.cs b/sdk/dotnet/Kusto/V20230815/GetSandboxCustomImage.cs new file mode 100644 index 000000000000..f0ef43991357 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetSandboxCustomImage.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetSandboxCustomImage + { + /// + /// Returns a sandbox custom image + /// + public static Task InvokeAsync(GetSandboxCustomImageArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getSandboxCustomImage", args ?? new GetSandboxCustomImageArgs(), options.WithDefaults()); + + /// + /// Returns a sandbox custom image + /// + public static Output Invoke(GetSandboxCustomImageInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getSandboxCustomImage", args ?? new GetSandboxCustomImageInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSandboxCustomImageArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the sandbox custom image. + /// + [Input("sandboxCustomImageName", required: true)] + public string SandboxCustomImageName { get; set; } = null!; + + public GetSandboxCustomImageArgs() + { + } + public static new GetSandboxCustomImageArgs Empty => new GetSandboxCustomImageArgs(); + } + + public sealed class GetSandboxCustomImageInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the sandbox custom image. + /// + [Input("sandboxCustomImageName", required: true)] + public Input SandboxCustomImageName { get; set; } = null!; + + public GetSandboxCustomImageInvokeArgs() + { + } + public static new GetSandboxCustomImageInvokeArgs Empty => new GetSandboxCustomImageInvokeArgs(); + } + + + [OutputType] + public sealed class GetSandboxCustomImageResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The language name, for example Python. + /// + public readonly string Language; + /// + /// The version of the language. + /// + public readonly string LanguageVersion; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The requirements file content. + /// + public readonly string? RequirementsFileContent; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetSandboxCustomImageResult( + string id, + + string language, + + string languageVersion, + + string name, + + string provisioningState, + + string? requirementsFileContent, + + string type) + { + Id = id; + Language = language; + LanguageVersion = languageVersion; + Name = name; + ProvisioningState = provisioningState; + RequirementsFileContent = requirementsFileContent; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/GetScript.cs b/sdk/dotnet/Kusto/V20230815/GetScript.cs new file mode 100644 index 000000000000..20c34526a858 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/GetScript.cs @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class GetScript + { + /// + /// Gets a Kusto cluster database script. + /// + public static Task InvokeAsync(GetScriptArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:getScript", args ?? new GetScriptArgs(), options.WithDefaults()); + + /// + /// Gets a Kusto cluster database script. + /// + public static Output Invoke(GetScriptInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:getScript", args ?? new GetScriptInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScriptArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Kusto database script. + /// + [Input("scriptName", required: true)] + public string ScriptName { get; set; } = null!; + + public GetScriptArgs() + { + } + public static new GetScriptArgs Empty => new GetScriptArgs(); + } + + public sealed class GetScriptInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Kusto database script. + /// + [Input("scriptName", required: true)] + public Input ScriptName { get; set; } = null!; + + public GetScriptInvokeArgs() + { + } + public static new GetScriptInvokeArgs Empty => new GetScriptInvokeArgs(); + } + + + [OutputType] + public sealed class GetScriptResult + { + /// + /// Flag that indicates whether to continue if one of the command fails. + /// + public readonly bool? ContinueOnErrors; + /// + /// A unique string. If changed the script will be applied again. + /// + public readonly string? ForceUpdateTag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The provisioned state of the resource. + /// + public readonly string ProvisioningState; + /// + /// The url to the KQL script blob file. Must not be used together with scriptContent property + /// + public readonly string? ScriptUrl; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetScriptResult( + bool? continueOnErrors, + + string? forceUpdateTag, + + string id, + + string name, + + string provisioningState, + + string? scriptUrl, + + Outputs.SystemDataResponse systemData, + + string type) + { + ContinueOnErrors = continueOnErrors; + ForceUpdateTag = forceUpdateTag; + Id = id; + Name = name; + ProvisioningState = provisioningState; + ScriptUrl = scriptUrl; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/AcceptedAudiencesArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/AcceptedAudiencesArgs.cs new file mode 100644 index 000000000000..f3fc902c599c --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/AcceptedAudiencesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Represents an accepted audience trusted by the cluster. + /// + public sealed class AcceptedAudiencesArgs : global::Pulumi.ResourceArgs + { + /// + /// GUID or valid URL representing an accepted audience. + /// + [Input("value")] + public Input? Value { get; set; } + + public AcceptedAudiencesArgs() + { + } + public static new AcceptedAudiencesArgs Empty => new AcceptedAudiencesArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/AzureSkuArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/AzureSkuArgs.cs new file mode 100644 index 000000000000..c5be9a108996 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/AzureSkuArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Azure SKU definition. + /// + public sealed class AzureSkuArgs : global::Pulumi.ResourceArgs + { + /// + /// The number of instances of the cluster. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// SKU name. + /// + [Input("name", required: true)] + public InputUnion Name { get; set; } = null!; + + /// + /// SKU tier. + /// + [Input("tier", required: true)] + public InputUnion Tier { get; set; } = null!; + + public AzureSkuArgs() + { + } + public static new AzureSkuArgs Empty => new AzureSkuArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/IdentityArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/IdentityArgs.cs new file mode 100644 index 000000000000..d19a36f0e27b --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/IdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class IdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public IdentityArgs() + { + } + public static new IdentityArgs Empty => new IdentityArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/KeyVaultPropertiesArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/KeyVaultPropertiesArgs.cs new file mode 100644 index 000000000000..6efcd4c6aa80 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/KeyVaultPropertiesArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Properties of the key vault. + /// + public sealed class KeyVaultPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the key vault key. + /// + [Input("keyName")] + public Input? KeyName { get; set; } + + /// + /// The Uri of the key vault. + /// + [Input("keyVaultUri")] + public Input? KeyVaultUri { get; set; } + + /// + /// The version of the key vault key. + /// + [Input("keyVersion")] + public Input? KeyVersion { get; set; } + + /// + /// The user assigned identity (ARM resource id) that has access to the key. + /// + [Input("userIdentity")] + public Input? UserIdentity { get; set; } + + public KeyVaultPropertiesArgs() + { + } + public static new KeyVaultPropertiesArgs Empty => new KeyVaultPropertiesArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/LanguageExtensionArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/LanguageExtensionArgs.cs new file mode 100644 index 000000000000..14f5ef4c1e75 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/LanguageExtensionArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// The language extension object. + /// + public sealed class LanguageExtensionArgs : global::Pulumi.ResourceArgs + { + /// + /// The language extension custom image name. + /// + [Input("languageExtensionCustomImageName")] + public Input? LanguageExtensionCustomImageName { get; set; } + + /// + /// The language extension image name. + /// + [Input("languageExtensionImageName")] + public InputUnion? LanguageExtensionImageName { get; set; } + + /// + /// The language extension name. + /// + [Input("languageExtensionName")] + public InputUnion? LanguageExtensionName { get; set; } + + public LanguageExtensionArgs() + { + } + public static new LanguageExtensionArgs Empty => new LanguageExtensionArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/LanguageExtensionsListArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/LanguageExtensionsListArgs.cs new file mode 100644 index 000000000000..99029a664e65 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/LanguageExtensionsListArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// The list of language extension objects. + /// + public sealed class LanguageExtensionsListArgs : global::Pulumi.ResourceArgs + { + [Input("value")] + private InputList? _value; + + /// + /// The list of language extensions. + /// + public InputList Value + { + get => _value ?? (_value = new InputList()); + set => _value = value; + } + + public LanguageExtensionsListArgs() + { + } + public static new LanguageExtensionsListArgs Empty => new LanguageExtensionsListArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/OptimizedAutoscaleArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/OptimizedAutoscaleArgs.cs new file mode 100644 index 000000000000..474d2c40a5af --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/OptimizedAutoscaleArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// A class that contains the optimized auto scale definition. + /// + public sealed class OptimizedAutoscaleArgs : global::Pulumi.ResourceArgs + { + /// + /// A boolean value that indicate if the optimized autoscale feature is enabled or not. + /// + [Input("isEnabled", required: true)] + public Input IsEnabled { get; set; } = null!; + + /// + /// Maximum allowed instances count. + /// + [Input("maximum", required: true)] + public Input Maximum { get; set; } = null!; + + /// + /// Minimum allowed instances count. + /// + [Input("minimum", required: true)] + public Input Minimum { get; set; } = null!; + + /// + /// The version of the template defined, for instance 1. + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + public OptimizedAutoscaleArgs() + { + } + public static new OptimizedAutoscaleArgs Empty => new OptimizedAutoscaleArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs new file mode 100644 index 000000000000..18e307624498 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/PrivateLinkServiceConnectionStatePropertyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Connection State of the Private Endpoint Connection. + /// + public sealed class PrivateLinkServiceConnectionStatePropertyArgs : global::Pulumi.ResourceArgs + { + /// + /// The private link service connection description. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The private link service connection status. + /// + [Input("status")] + public Input? Status { get; set; } + + public PrivateLinkServiceConnectionStatePropertyArgs() + { + } + public static new PrivateLinkServiceConnectionStatePropertyArgs Empty => new PrivateLinkServiceConnectionStatePropertyArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/TableLevelSharingPropertiesArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/TableLevelSharingPropertiesArgs.cs new file mode 100644 index 000000000000..59851aa6ec01 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/TableLevelSharingPropertiesArgs.cs @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Tables that will be included and excluded in the follower database + /// + public sealed class TableLevelSharingPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("externalTablesToExclude")] + private InputList? _externalTablesToExclude; + + /// + /// List of external tables to exclude from the follower database + /// + public InputList ExternalTablesToExclude + { + get => _externalTablesToExclude ?? (_externalTablesToExclude = new InputList()); + set => _externalTablesToExclude = value; + } + + [Input("externalTablesToInclude")] + private InputList? _externalTablesToInclude; + + /// + /// List of external tables to include in the follower database + /// + public InputList ExternalTablesToInclude + { + get => _externalTablesToInclude ?? (_externalTablesToInclude = new InputList()); + set => _externalTablesToInclude = value; + } + + [Input("functionsToExclude")] + private InputList? _functionsToExclude; + + /// + /// List of functions to exclude from the follower database + /// + public InputList FunctionsToExclude + { + get => _functionsToExclude ?? (_functionsToExclude = new InputList()); + set => _functionsToExclude = value; + } + + [Input("functionsToInclude")] + private InputList? _functionsToInclude; + + /// + /// List of functions to include in the follower database + /// + public InputList FunctionsToInclude + { + get => _functionsToInclude ?? (_functionsToInclude = new InputList()); + set => _functionsToInclude = value; + } + + [Input("materializedViewsToExclude")] + private InputList? _materializedViewsToExclude; + + /// + /// List of materialized views to exclude from the follower database + /// + public InputList MaterializedViewsToExclude + { + get => _materializedViewsToExclude ?? (_materializedViewsToExclude = new InputList()); + set => _materializedViewsToExclude = value; + } + + [Input("materializedViewsToInclude")] + private InputList? _materializedViewsToInclude; + + /// + /// List of materialized views to include in the follower database + /// + public InputList MaterializedViewsToInclude + { + get => _materializedViewsToInclude ?? (_materializedViewsToInclude = new InputList()); + set => _materializedViewsToInclude = value; + } + + [Input("tablesToExclude")] + private InputList? _tablesToExclude; + + /// + /// List of tables to exclude from the follower database + /// + public InputList TablesToExclude + { + get => _tablesToExclude ?? (_tablesToExclude = new InputList()); + set => _tablesToExclude = value; + } + + [Input("tablesToInclude")] + private InputList? _tablesToInclude; + + /// + /// List of tables to include in the follower database + /// + public InputList TablesToInclude + { + get => _tablesToInclude ?? (_tablesToInclude = new InputList()); + set => _tablesToInclude = value; + } + + public TableLevelSharingPropertiesArgs() + { + } + public static new TableLevelSharingPropertiesArgs Empty => new TableLevelSharingPropertiesArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/TrustedExternalTenantArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/TrustedExternalTenantArgs.cs new file mode 100644 index 000000000000..9ea9e087cee6 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/TrustedExternalTenantArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// Represents a tenant ID that is trusted by the cluster. + /// + public sealed class TrustedExternalTenantArgs : global::Pulumi.ResourceArgs + { + /// + /// GUID representing an external tenant. + /// + [Input("value")] + public Input? Value { get; set; } + + public TrustedExternalTenantArgs() + { + } + public static new TrustedExternalTenantArgs Empty => new TrustedExternalTenantArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Inputs/VirtualNetworkConfigurationArgs.cs b/sdk/dotnet/Kusto/V20230815/Inputs/VirtualNetworkConfigurationArgs.cs new file mode 100644 index 000000000000..ffe9945e57f2 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Inputs/VirtualNetworkConfigurationArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Inputs +{ + + /// + /// A class that contains virtual network definition. + /// + public sealed class VirtualNetworkConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Data management's service public IP address resource id. + /// + [Input("dataManagementPublicIpId", required: true)] + public Input DataManagementPublicIpId { get; set; } = null!; + + /// + /// Engine service's public IP address resource id. + /// + [Input("enginePublicIpId", required: true)] + public Input EnginePublicIpId { get; set; } = null!; + + /// + /// When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + /// + [Input("state")] + public InputUnion? State { get; set; } + + /// + /// The subnet resource id. + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + public VirtualNetworkConfigurationArgs() + { + State = "Enabled"; + } + public static new VirtualNetworkConfigurationArgs Empty => new VirtualNetworkConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/IotHubDataConnection.cs b/sdk/dotnet/Kusto/V20230815/IotHubDataConnection.cs new file mode 100644 index 000000000000..89de2726e0b5 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/IotHubDataConnection.cs @@ -0,0 +1,276 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing an iot hub data connection. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:IotHubDataConnection")] + public partial class IotHubDataConnection : global::Pulumi.CustomResource + { + /// + /// The iot hub consumer group. + /// + [Output("consumerGroup")] + public Output ConsumerGroup { get; private set; } = null!; + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [Output("dataFormat")] + public Output DataFormat { get; private set; } = null!; + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [Output("databaseRouting")] + public Output DatabaseRouting { get; private set; } = null!; + + /// + /// System properties of the iot hub + /// + [Output("eventSystemProperties")] + public Output> EventSystemProperties { get; private set; } = null!; + + /// + /// The resource ID of the Iot hub to be used to create a data connection. + /// + [Output("iotHubResourceId")] + public Output IotHubResourceId { get; private set; } = null!; + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'IotHub'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + [Output("mappingRuleName")] + public Output MappingRuleName { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + /// + [Output("retrievalStartDate")] + public Output RetrievalStartDate { get; private set; } = null!; + + /// + /// The name of the share access policy + /// + [Output("sharedAccessPolicyName")] + public Output SharedAccessPolicyName { get; private set; } = null!; + + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + [Output("tableName")] + public Output TableName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IotHubDataConnection 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 IotHubDataConnection(string name, IotHubDataConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:IotHubDataConnection", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private IotHubDataConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:IotHubDataConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static IotHubDataConnectionArgs MakeArgs(IotHubDataConnectionArgs args) + { + args ??= new IotHubDataConnectionArgs(); + args.Kind = "IotHub"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:IotHubDataConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:IotHubDataConnection"}, + }, + }; + 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 IotHubDataConnection 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. + /// A bag of options that control this resource's behavior + public static IotHubDataConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IotHubDataConnection(name, id, options); + } + } + + public sealed class IotHubDataConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The iot hub consumer group. + /// + [Input("consumerGroup", required: true)] + public Input ConsumerGroup { get; set; } = null!; + + /// + /// The name of the data connection. + /// + [Input("dataConnectionName")] + public Input? DataConnectionName { get; set; } + + /// + /// The data format of the message. Optionally the data format can be added to each message. + /// + [Input("dataFormat")] + public InputUnion? DataFormat { get; set; } + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// Indication for database routing information from the data connection, by default only database routing information is allowed + /// + [Input("databaseRouting")] + public InputUnion? DatabaseRouting { get; set; } + + [Input("eventSystemProperties")] + private InputList? _eventSystemProperties; + + /// + /// System properties of the iot hub + /// + public InputList EventSystemProperties + { + get => _eventSystemProperties ?? (_eventSystemProperties = new InputList()); + set => _eventSystemProperties = value; + } + + /// + /// The resource ID of the Iot hub to be used to create a data connection. + /// + [Input("iotHubResourceId", required: true)] + public Input IotHubResourceId { get; set; } = null!; + + /// + /// Kind of the endpoint for the data connection + /// Expected value is 'IotHub'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + /// + [Input("mappingRuleName")] + public Input? MappingRuleName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + /// + [Input("retrievalStartDate")] + public Input? RetrievalStartDate { get; set; } + + /// + /// The name of the share access policy + /// + [Input("sharedAccessPolicyName", required: true)] + public Input SharedAccessPolicyName { get; set; } = null!; + + /// + /// The table where the data should be ingested. Optionally the table information can be added to each message. + /// + [Input("tableName")] + public Input? TableName { get; set; } + + public IotHubDataConnectionArgs() + { + DatabaseRouting = "Single"; + } + public static new IotHubDataConnectionArgs Empty => new IotHubDataConnectionArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/ListClusterFollowerDatabases.cs b/sdk/dotnet/Kusto/V20230815/ListClusterFollowerDatabases.cs new file mode 100644 index 000000000000..d3f5eff01018 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ListClusterFollowerDatabases.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class ListClusterFollowerDatabases + { + /// + /// Returns a list of databases that are owned by this cluster and were followed by another cluster. + /// + public static Task InvokeAsync(ListClusterFollowerDatabasesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:listClusterFollowerDatabases", args ?? new ListClusterFollowerDatabasesArgs(), options.WithDefaults()); + + /// + /// Returns a list of databases that are owned by this cluster and were followed by another cluster. + /// + public static Output Invoke(ListClusterFollowerDatabasesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:listClusterFollowerDatabases", args ?? new ListClusterFollowerDatabasesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListClusterFollowerDatabasesArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListClusterFollowerDatabasesArgs() + { + } + public static new ListClusterFollowerDatabasesArgs Empty => new ListClusterFollowerDatabasesArgs(); + } + + public sealed class ListClusterFollowerDatabasesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListClusterFollowerDatabasesInvokeArgs() + { + } + public static new ListClusterFollowerDatabasesInvokeArgs Empty => new ListClusterFollowerDatabasesInvokeArgs(); + } + + + [OutputType] + public sealed class ListClusterFollowerDatabasesResult + { + /// + /// The list of follower database result. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListClusterFollowerDatabasesResult(ImmutableArray value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/ListClusterLanguageExtensions.cs b/sdk/dotnet/Kusto/V20230815/ListClusterLanguageExtensions.cs new file mode 100644 index 000000000000..fe6fe2ac06f2 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ListClusterLanguageExtensions.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class ListClusterLanguageExtensions + { + /// + /// Returns a list of language extensions that can run within KQL queries. + /// + public static Task InvokeAsync(ListClusterLanguageExtensionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:listClusterLanguageExtensions", args ?? new ListClusterLanguageExtensionsArgs(), options.WithDefaults()); + + /// + /// Returns a list of language extensions that can run within KQL queries. + /// + public static Output Invoke(ListClusterLanguageExtensionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:listClusterLanguageExtensions", args ?? new ListClusterLanguageExtensionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListClusterLanguageExtensionsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListClusterLanguageExtensionsArgs() + { + } + public static new ListClusterLanguageExtensionsArgs Empty => new ListClusterLanguageExtensionsArgs(); + } + + public sealed class ListClusterLanguageExtensionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListClusterLanguageExtensionsInvokeArgs() + { + } + public static new ListClusterLanguageExtensionsInvokeArgs Empty => new ListClusterLanguageExtensionsInvokeArgs(); + } + + + [OutputType] + public sealed class ListClusterLanguageExtensionsResult + { + /// + /// The list of language extensions. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListClusterLanguageExtensionsResult(ImmutableArray value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/ListDatabasePrincipals.cs b/sdk/dotnet/Kusto/V20230815/ListDatabasePrincipals.cs new file mode 100644 index 000000000000..5e95f6a4d1aa --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ListDatabasePrincipals.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + public static class ListDatabasePrincipals + { + /// + /// Returns a list of database principals of the given Kusto cluster and database. + /// + public static Task InvokeAsync(ListDatabasePrincipalsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:kusto/v20230815:listDatabasePrincipals", args ?? new ListDatabasePrincipalsArgs(), options.WithDefaults()); + + /// + /// Returns a list of database principals of the given Kusto cluster and database. + /// + public static Output Invoke(ListDatabasePrincipalsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:kusto/v20230815:listDatabasePrincipals", args ?? new ListDatabasePrincipalsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListDatabasePrincipalsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public string ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public string DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListDatabasePrincipalsArgs() + { + } + public static new ListDatabasePrincipalsArgs Empty => new ListDatabasePrincipalsArgs(); + } + + public sealed class ListDatabasePrincipalsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ListDatabasePrincipalsInvokeArgs() + { + } + public static new ListDatabasePrincipalsInvokeArgs Empty => new ListDatabasePrincipalsInvokeArgs(); + } + + + [OutputType] + public sealed class ListDatabasePrincipalsResult + { + /// + /// The list of Kusto database principals. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListDatabasePrincipalsResult(ImmutableArray value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/ManagedPrivateEndpoint.cs b/sdk/dotnet/Kusto/V20230815/ManagedPrivateEndpoint.cs new file mode 100644 index 000000000000..bb08847aeb25 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ManagedPrivateEndpoint.cs @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a managed private endpoint. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:ManagedPrivateEndpoint")] + public partial class ManagedPrivateEndpoint : global::Pulumi.CustomResource + { + /// + /// The groupId in which the managed private endpoint is created. + /// + [Output("groupId")] + public Output GroupId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The ARM resource ID of the resource for which the managed private endpoint is created. + /// + [Output("privateLinkResourceId")] + public Output PrivateLinkResourceId { get; private set; } = null!; + + /// + /// The region of the resource to which the managed private endpoint is created. + /// + [Output("privateLinkResourceRegion")] + public Output PrivateLinkResourceRegion { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The user request message. + /// + [Output("requestMessage")] + public Output RequestMessage { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ManagedPrivateEndpoint 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 ManagedPrivateEndpoint(string name, ManagedPrivateEndpointArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ManagedPrivateEndpoint", name, args ?? new ManagedPrivateEndpointArgs(), MakeResourceOptions(options, "")) + { + } + + private ManagedPrivateEndpoint(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ManagedPrivateEndpoint", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ManagedPrivateEndpoint"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ManagedPrivateEndpoint"}, + }, + }; + 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 ManagedPrivateEndpoint 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. + /// A bag of options that control this resource's behavior + public static ManagedPrivateEndpoint Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ManagedPrivateEndpoint(name, id, options); + } + } + + public sealed class ManagedPrivateEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The groupId in which the managed private endpoint is created. + /// + [Input("groupId", required: true)] + public Input GroupId { get; set; } = null!; + + /// + /// The name of the managed private endpoint. + /// + [Input("managedPrivateEndpointName")] + public Input? ManagedPrivateEndpointName { get; set; } + + /// + /// The ARM resource ID of the resource for which the managed private endpoint is created. + /// + [Input("privateLinkResourceId", required: true)] + public Input PrivateLinkResourceId { get; set; } = null!; + + /// + /// The region of the resource to which the managed private endpoint is created. + /// + [Input("privateLinkResourceRegion")] + public Input? PrivateLinkResourceRegion { get; set; } + + /// + /// The user request message. + /// + [Input("requestMessage")] + public Input? RequestMessage { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ManagedPrivateEndpointArgs() + { + } + public static new ManagedPrivateEndpointArgs Empty => new ManagedPrivateEndpointArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/AcceptedAudiencesResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/AcceptedAudiencesResponse.cs new file mode 100644 index 000000000000..ea5bb4175a7a --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/AcceptedAudiencesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Represents an accepted audience trusted by the cluster. + /// + [OutputType] + public sealed class AcceptedAudiencesResponse + { + /// + /// GUID or valid URL representing an accepted audience. + /// + public readonly string? Value; + + [OutputConstructor] + private AcceptedAudiencesResponse(string? value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/AzureSkuResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/AzureSkuResponse.cs new file mode 100644 index 000000000000..a31f979a9804 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/AzureSkuResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Azure SKU definition. + /// + [OutputType] + public sealed class AzureSkuResponse + { + /// + /// The number of instances of the cluster. + /// + public readonly int? Capacity; + /// + /// SKU name. + /// + public readonly string Name; + /// + /// SKU tier. + /// + public readonly string Tier; + + [OutputConstructor] + private AzureSkuResponse( + int? capacity, + + string name, + + string tier) + { + Capacity = capacity; + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/DatabasePrincipalResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/DatabasePrincipalResponse.cs new file mode 100644 index 000000000000..4eff0f1f979c --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/DatabasePrincipalResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// A class representing database principal entity. + /// + [OutputType] + public sealed class DatabasePrincipalResponse + { + /// + /// Application id - relevant only for application principal type. + /// + public readonly string? AppId; + /// + /// Database principal email if exists. + /// + public readonly string? Email; + /// + /// Database principal fully qualified name. + /// + public readonly string? Fqn; + /// + /// Database principal name. + /// + public readonly string Name; + /// + /// Database principal role. + /// + public readonly string Role; + /// + /// The tenant name of the principal + /// + public readonly string TenantName; + /// + /// Database principal type. + /// + public readonly string Type; + + [OutputConstructor] + private DatabasePrincipalResponse( + string? appId, + + string? email, + + string? fqn, + + string name, + + string role, + + string tenantName, + + string type) + { + AppId = appId; + Email = email; + Fqn = fqn; + Name = name; + Role = role; + TenantName = tenantName; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/DatabaseStatisticsResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/DatabaseStatisticsResponse.cs new file mode 100644 index 000000000000..0a5f30e86042 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/DatabaseStatisticsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// A class that contains database statistics information. + /// + [OutputType] + public sealed class DatabaseStatisticsResponse + { + /// + /// The database size - the total size of compressed data and index in bytes. + /// + public readonly double? Size; + + [OutputConstructor] + private DatabaseStatisticsResponse(double? size) + { + Size = size; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/FollowerDatabaseDefinitionResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/FollowerDatabaseDefinitionResponse.cs new file mode 100644 index 000000000000..4430f13a3469 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/FollowerDatabaseDefinitionResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// A class representing follower database request. + /// + [OutputType] + public sealed class FollowerDatabaseDefinitionResponse + { + /// + /// Resource name of the attached database configuration in the follower cluster. + /// + public readonly string AttachedDatabaseConfigurationName; + /// + /// Resource id of the cluster that follows a database owned by this cluster. + /// + public readonly string ClusterResourceId; + /// + /// The database name owned by this cluster that was followed. * in case following all databases. + /// + public readonly string DatabaseName; + /// + /// The origin of the following setup. + /// + public readonly string DatabaseShareOrigin; + /// + /// Table level sharing specifications + /// + public readonly Outputs.TableLevelSharingPropertiesResponse TableLevelSharingProperties; + + [OutputConstructor] + private FollowerDatabaseDefinitionResponse( + string attachedDatabaseConfigurationName, + + string clusterResourceId, + + string databaseName, + + string databaseShareOrigin, + + Outputs.TableLevelSharingPropertiesResponse tableLevelSharingProperties) + { + AttachedDatabaseConfigurationName = attachedDatabaseConfigurationName; + ClusterResourceId = clusterResourceId; + DatabaseName = databaseName; + DatabaseShareOrigin = databaseShareOrigin; + TableLevelSharingProperties = tableLevelSharingProperties; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/IdentityResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/IdentityResponse.cs new file mode 100644 index 000000000000..b0a3ee54200d --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/IdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class IdentityResponse + { + /// + /// The principal ID of resource identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of resource. + /// + public readonly string TenantId; + /// + /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + /// + public readonly string Type; + /// + /// The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private IdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/IdentityResponseUserAssignedIdentities.cs b/sdk/dotnet/Kusto/V20230815/Outputs/IdentityResponseUserAssignedIdentities.cs new file mode 100644 index 000000000000..dbea16793912 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/IdentityResponseUserAssignedIdentities.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + [OutputType] + public sealed class IdentityResponseUserAssignedIdentities + { + /// + /// The client id of user assigned identity. + /// + public readonly string ClientId; + /// + /// The principal id of user assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private IdentityResponseUserAssignedIdentities( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/KeyVaultPropertiesResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/KeyVaultPropertiesResponse.cs new file mode 100644 index 000000000000..9ab408cd4aa7 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/KeyVaultPropertiesResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Properties of the key vault. + /// + [OutputType] + public sealed class KeyVaultPropertiesResponse + { + /// + /// The name of the key vault key. + /// + public readonly string? KeyName; + /// + /// The Uri of the key vault. + /// + public readonly string? KeyVaultUri; + /// + /// The version of the key vault key. + /// + public readonly string? KeyVersion; + /// + /// The user assigned identity (ARM resource id) that has access to the key. + /// + public readonly string? UserIdentity; + + [OutputConstructor] + private KeyVaultPropertiesResponse( + string? keyName, + + string? keyVaultUri, + + string? keyVersion, + + string? userIdentity) + { + KeyName = keyName; + KeyVaultUri = keyVaultUri; + KeyVersion = keyVersion; + UserIdentity = userIdentity; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/LanguageExtensionResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/LanguageExtensionResponse.cs new file mode 100644 index 000000000000..18cba53ff42b --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/LanguageExtensionResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// The language extension object. + /// + [OutputType] + public sealed class LanguageExtensionResponse + { + /// + /// The language extension custom image name. + /// + public readonly string? LanguageExtensionCustomImageName; + /// + /// The language extension image name. + /// + public readonly string? LanguageExtensionImageName; + /// + /// The language extension name. + /// + public readonly string? LanguageExtensionName; + + [OutputConstructor] + private LanguageExtensionResponse( + string? languageExtensionCustomImageName, + + string? languageExtensionImageName, + + string? languageExtensionName) + { + LanguageExtensionCustomImageName = languageExtensionCustomImageName; + LanguageExtensionImageName = languageExtensionImageName; + LanguageExtensionName = languageExtensionName; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/LanguageExtensionsListResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/LanguageExtensionsListResponse.cs new file mode 100644 index 000000000000..f21e9edc7a41 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/LanguageExtensionsListResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// The list of language extension objects. + /// + [OutputType] + public sealed class LanguageExtensionsListResponse + { + /// + /// The list of language extensions. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private LanguageExtensionsListResponse(ImmutableArray value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/MigrationClusterPropertiesResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/MigrationClusterPropertiesResponse.cs new file mode 100644 index 000000000000..827ab63e2905 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/MigrationClusterPropertiesResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Represents a properties of a cluster that is part of a migration. + /// + [OutputType] + public sealed class MigrationClusterPropertiesResponse + { + /// + /// The public data ingestion URL of the cluster. + /// + public readonly string DataIngestionUri; + /// + /// The resource ID of the cluster. + /// + public readonly string Id; + /// + /// The role of the cluster in the migration process. + /// + public readonly string Role; + /// + /// The public URL of the cluster. + /// + public readonly string Uri; + + [OutputConstructor] + private MigrationClusterPropertiesResponse( + string dataIngestionUri, + + string id, + + string role, + + string uri) + { + DataIngestionUri = dataIngestionUri; + Id = id; + Role = role; + Uri = uri; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/OptimizedAutoscaleResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/OptimizedAutoscaleResponse.cs new file mode 100644 index 000000000000..026dce5c091f --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/OptimizedAutoscaleResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// A class that contains the optimized auto scale definition. + /// + [OutputType] + public sealed class OptimizedAutoscaleResponse + { + /// + /// A boolean value that indicate if the optimized autoscale feature is enabled or not. + /// + public readonly bool IsEnabled; + /// + /// Maximum allowed instances count. + /// + public readonly int Maximum; + /// + /// Minimum allowed instances count. + /// + public readonly int Minimum; + /// + /// The version of the template defined, for instance 1. + /// + public readonly int Version; + + [OutputConstructor] + private OptimizedAutoscaleResponse( + bool isEnabled, + + int maximum, + + int minimum, + + int version) + { + IsEnabled = isEnabled; + Maximum = maximum; + Minimum = minimum; + Version = version; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..0d6ca27cfa50 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// A private endpoint connection + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// Group id of the private endpoint. + /// + public readonly string GroupId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Private endpoint which the connection belongs to. + /// + public readonly Outputs.PrivateEndpointPropertyResponse PrivateEndpoint; + /// + /// Connection State of the Private Endpoint Connection. + /// + public readonly Outputs.PrivateLinkServiceConnectionStatePropertyResponse PrivateLinkServiceConnectionState; + /// + /// Provisioning state of the private endpoint. + /// + public readonly string ProvisioningState; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + string groupId, + + string id, + + string name, + + Outputs.PrivateEndpointPropertyResponse privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStatePropertyResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + GroupId = groupId; + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/PrivateEndpointPropertyResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/PrivateEndpointPropertyResponse.cs new file mode 100644 index 000000000000..106822072445 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/PrivateEndpointPropertyResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Private endpoint which the connection belongs to. + /// + [OutputType] + public sealed class PrivateEndpointPropertyResponse + { + /// + /// Resource id of the private endpoint. + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointPropertyResponse(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs new file mode 100644 index 000000000000..79411f4898c0 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/PrivateLinkServiceConnectionStatePropertyResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Connection State of the Private Endpoint Connection. + /// + [OutputType] + public sealed class PrivateLinkServiceConnectionStatePropertyResponse + { + /// + /// Any action that is required beyond basic workflow (approve/ reject/ disconnect) + /// + public readonly string ActionsRequired; + /// + /// The private link service connection description. + /// + public readonly string? Description; + /// + /// The private link service connection status. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStatePropertyResponse( + string actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/SuspensionDetailsResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/SuspensionDetailsResponse.cs new file mode 100644 index 000000000000..5fdc2e548dbd --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/SuspensionDetailsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + /// + [OutputType] + public sealed class SuspensionDetailsResponse + { + /// + /// The starting date and time of the suspension state. + /// + public readonly string? SuspensionStartDate; + + [OutputConstructor] + private SuspensionDetailsResponse(string? suspensionStartDate) + { + SuspensionStartDate = suspensionStartDate; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/SystemDataResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..e17f6e98a2d5 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/TableLevelSharingPropertiesResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/TableLevelSharingPropertiesResponse.cs new file mode 100644 index 000000000000..aa1027b2906c --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/TableLevelSharingPropertiesResponse.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Tables that will be included and excluded in the follower database + /// + [OutputType] + public sealed class TableLevelSharingPropertiesResponse + { + /// + /// List of external tables to exclude from the follower database + /// + public readonly ImmutableArray ExternalTablesToExclude; + /// + /// List of external tables to include in the follower database + /// + public readonly ImmutableArray ExternalTablesToInclude; + /// + /// List of functions to exclude from the follower database + /// + public readonly ImmutableArray FunctionsToExclude; + /// + /// List of functions to include in the follower database + /// + public readonly ImmutableArray FunctionsToInclude; + /// + /// List of materialized views to exclude from the follower database + /// + public readonly ImmutableArray MaterializedViewsToExclude; + /// + /// List of materialized views to include in the follower database + /// + public readonly ImmutableArray MaterializedViewsToInclude; + /// + /// List of tables to exclude from the follower database + /// + public readonly ImmutableArray TablesToExclude; + /// + /// List of tables to include in the follower database + /// + public readonly ImmutableArray TablesToInclude; + + [OutputConstructor] + private TableLevelSharingPropertiesResponse( + ImmutableArray externalTablesToExclude, + + ImmutableArray externalTablesToInclude, + + ImmutableArray functionsToExclude, + + ImmutableArray functionsToInclude, + + ImmutableArray materializedViewsToExclude, + + ImmutableArray materializedViewsToInclude, + + ImmutableArray tablesToExclude, + + ImmutableArray tablesToInclude) + { + ExternalTablesToExclude = externalTablesToExclude; + ExternalTablesToInclude = externalTablesToInclude; + FunctionsToExclude = functionsToExclude; + FunctionsToInclude = functionsToInclude; + MaterializedViewsToExclude = materializedViewsToExclude; + MaterializedViewsToInclude = materializedViewsToInclude; + TablesToExclude = tablesToExclude; + TablesToInclude = tablesToInclude; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/TrustedExternalTenantResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/TrustedExternalTenantResponse.cs new file mode 100644 index 000000000000..1a9a1f0862dd --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/TrustedExternalTenantResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// Represents a tenant ID that is trusted by the cluster. + /// + [OutputType] + public sealed class TrustedExternalTenantResponse + { + /// + /// GUID representing an external tenant. + /// + public readonly string? Value; + + [OutputConstructor] + private TrustedExternalTenantResponse(string? value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Outputs/VirtualNetworkConfigurationResponse.cs b/sdk/dotnet/Kusto/V20230815/Outputs/VirtualNetworkConfigurationResponse.cs new file mode 100644 index 000000000000..e83ea6cba11d --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Outputs/VirtualNetworkConfigurationResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815.Outputs +{ + + /// + /// A class that contains virtual network definition. + /// + [OutputType] + public sealed class VirtualNetworkConfigurationResponse + { + /// + /// Data management's service public IP address resource id. + /// + public readonly string DataManagementPublicIpId; + /// + /// Engine service's public IP address resource id. + /// + public readonly string EnginePublicIpId; + /// + /// When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + /// + public readonly string? State; + /// + /// The subnet resource id. + /// + public readonly string SubnetId; + + [OutputConstructor] + private VirtualNetworkConfigurationResponse( + string dataManagementPublicIpId, + + string enginePublicIpId, + + string? state, + + string subnetId) + { + DataManagementPublicIpId = dataManagementPublicIpId; + EnginePublicIpId = enginePublicIpId; + State = state; + SubnetId = subnetId; + } + } +} diff --git a/sdk/dotnet/Kusto/V20230815/PrivateEndpointConnection.cs b/sdk/dotnet/Kusto/V20230815/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..921f03d0c43e --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/PrivateEndpointConnection.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// A private endpoint connection + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : global::Pulumi.CustomResource + { + /// + /// Group id of the private endpoint. + /// + [Output("groupId")] + public Output GroupId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Private endpoint which the connection belongs to. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// Connection State of the Private Endpoint Connection. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// Provisioning state of the private endpoint. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection 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 PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:PrivateEndpointConnection"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:PrivateEndpointConnection"}, + }, + }; + 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 PrivateEndpointConnection 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. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the private endpoint connection. + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// Connection State of the Private Endpoint Connection. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + public static new PrivateEndpointConnectionArgs Empty => new PrivateEndpointConnectionArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/README.md b/sdk/dotnet/Kusto/V20230815/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/Kusto/V20230815/ReadOnlyFollowingDatabase.cs b/sdk/dotnet/Kusto/V20230815/ReadOnlyFollowingDatabase.cs new file mode 100644 index 000000000000..b7231b6e1433 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ReadOnlyFollowingDatabase.cs @@ -0,0 +1,229 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a read only following database. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:ReadOnlyFollowingDatabase")] + public partial class ReadOnlyFollowingDatabase : global::Pulumi.CustomResource + { + /// + /// The name of the attached database configuration cluster + /// + [Output("attachedDatabaseConfigurationName")] + public Output AttachedDatabaseConfigurationName { get; private set; } = null!; + + /// + /// The origin of the following setup. + /// + [Output("databaseShareOrigin")] + public Output DatabaseShareOrigin { get; private set; } = null!; + + /// + /// The time the data should be kept in cache for fast queries in TimeSpan. + /// + [Output("hotCachePeriod")] + public Output HotCachePeriod { get; private set; } = null!; + + /// + /// Kind of the database + /// Expected value is 'ReadOnlyFollowing'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the leader cluster + /// + [Output("leaderClusterResourceId")] + public Output LeaderClusterResourceId { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The original database name, before databaseNameOverride or databaseNamePrefix where applied. + /// + [Output("originalDatabaseName")] + public Output OriginalDatabaseName { get; private set; } = null!; + + /// + /// The principals modification kind of the database + /// + [Output("principalsModificationKind")] + public Output PrincipalsModificationKind { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The time the data should be kept before it stops being accessible to queries in TimeSpan. + /// + [Output("softDeletePeriod")] + public Output SoftDeletePeriod { get; private set; } = null!; + + /// + /// The statistics of the database. + /// + [Output("statistics")] + public Output Statistics { get; private set; } = null!; + + /// + /// The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + /// + [Output("suspensionDetails")] + public Output SuspensionDetails { get; private set; } = null!; + + /// + /// Table level sharing specifications + /// + [Output("tableLevelSharingProperties")] + public Output TableLevelSharingProperties { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ReadOnlyFollowingDatabase 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 ReadOnlyFollowingDatabase(string name, ReadOnlyFollowingDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ReadOnlyFollowingDatabase", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ReadOnlyFollowingDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ReadOnlyFollowingDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static ReadOnlyFollowingDatabaseArgs MakeArgs(ReadOnlyFollowingDatabaseArgs args) + { + args ??= new ReadOnlyFollowingDatabaseArgs(); + args.Kind = "ReadOnlyFollowing"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"}, + }, + }; + 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 ReadOnlyFollowingDatabase 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. + /// A bag of options that control this resource's behavior + public static ReadOnlyFollowingDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ReadOnlyFollowingDatabase(name, id, options); + } + } + + public sealed class ReadOnlyFollowingDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + /// + [Input("callerRole")] + public Input? CallerRole { get; set; } + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The time the data should be kept in cache for fast queries in TimeSpan. + /// + [Input("hotCachePeriod")] + public Input? HotCachePeriod { get; set; } + + /// + /// Kind of the database + /// Expected value is 'ReadOnlyFollowing'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public ReadOnlyFollowingDatabaseArgs() + { + } + public static new ReadOnlyFollowingDatabaseArgs Empty => new ReadOnlyFollowingDatabaseArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/ReadWriteDatabase.cs b/sdk/dotnet/Kusto/V20230815/ReadWriteDatabase.cs new file mode 100644 index 000000000000..54d436d5d72b --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/ReadWriteDatabase.cs @@ -0,0 +1,217 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a read write database. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:ReadWriteDatabase")] + public partial class ReadWriteDatabase : global::Pulumi.CustomResource + { + /// + /// The time the data should be kept in cache for fast queries in TimeSpan. + /// + [Output("hotCachePeriod")] + public Output HotCachePeriod { get; private set; } = null!; + + /// + /// Indicates whether the database is followed. + /// + [Output("isFollowed")] + public Output IsFollowed { get; private set; } = null!; + + /// + /// KeyVault properties for the database encryption. + /// + [Output("keyVaultProperties")] + public Output KeyVaultProperties { get; private set; } = null!; + + /// + /// Kind of the database + /// Expected value is 'ReadWrite'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The time the data should be kept before it stops being accessible to queries in TimeSpan. + /// + [Output("softDeletePeriod")] + public Output SoftDeletePeriod { get; private set; } = null!; + + /// + /// The statistics of the database. + /// + [Output("statistics")] + public Output Statistics { get; private set; } = null!; + + /// + /// The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + /// + [Output("suspensionDetails")] + public Output SuspensionDetails { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ReadWriteDatabase 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 ReadWriteDatabase(string name, ReadWriteDatabaseArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ReadWriteDatabase", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ReadWriteDatabase(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:ReadWriteDatabase", name, null, MakeResourceOptions(options, id)) + { + } + + private static ReadWriteDatabaseArgs MakeArgs(ReadWriteDatabaseArgs args) + { + args ??= new ReadWriteDatabaseArgs(); + args.Kind = "ReadWrite"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20180907preview:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190121:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190515:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20190907:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20191109:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200215:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200614:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20200918:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:ReadWriteDatabase"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:ReadWriteDatabase"}, + }, + }; + 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 ReadWriteDatabase 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. + /// A bag of options that control this resource's behavior + public static ReadWriteDatabase Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ReadWriteDatabase(name, id, options); + } + } + + public sealed class ReadWriteDatabaseArgs : global::Pulumi.ResourceArgs + { + /// + /// By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + /// + [Input("callerRole")] + public Input? CallerRole { get; set; } + + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName")] + public Input? DatabaseName { get; set; } + + /// + /// The time the data should be kept in cache for fast queries in TimeSpan. + /// + [Input("hotCachePeriod")] + public Input? HotCachePeriod { get; set; } + + /// + /// KeyVault properties for the database encryption. + /// + [Input("keyVaultProperties")] + public Input? KeyVaultProperties { get; set; } + + /// + /// Kind of the database + /// Expected value is 'ReadWrite'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The time the data should be kept before it stops being accessible to queries in TimeSpan. + /// + [Input("softDeletePeriod")] + public Input? SoftDeletePeriod { get; set; } + + public ReadWriteDatabaseArgs() + { + } + public static new ReadWriteDatabaseArgs Empty => new ReadWriteDatabaseArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/SandboxCustomImage.cs b/sdk/dotnet/Kusto/V20230815/SandboxCustomImage.cs new file mode 100644 index 000000000000..79bb50703318 --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/SandboxCustomImage.cs @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a Kusto sandbox custom image. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:SandboxCustomImage")] + public partial class SandboxCustomImage : global::Pulumi.CustomResource + { + /// + /// The language name, for example Python. + /// + [Output("language")] + public Output Language { get; private set; } = null!; + + /// + /// The version of the language. + /// + [Output("languageVersion")] + public Output LanguageVersion { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The requirements file content. + /// + [Output("requirementsFileContent")] + public Output RequirementsFileContent { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SandboxCustomImage 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 SandboxCustomImage(string name, SandboxCustomImageArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:SandboxCustomImage", name, args ?? new SandboxCustomImageArgs(), MakeResourceOptions(options, "")) + { + } + + private SandboxCustomImage(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:SandboxCustomImage", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:SandboxCustomImage"}, + }, + }; + 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 SandboxCustomImage 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. + /// A bag of options that control this resource's behavior + public static SandboxCustomImage Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SandboxCustomImage(name, id, options); + } + } + + public sealed class SandboxCustomImageArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// The language name, for example Python. + /// + [Input("language", required: true)] + public InputUnion Language { get; set; } = null!; + + /// + /// The version of the language. + /// + [Input("languageVersion", required: true)] + public Input LanguageVersion { get; set; } = null!; + + /// + /// The requirements file content. + /// + [Input("requirementsFileContent")] + public Input? RequirementsFileContent { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the sandbox custom image. + /// + [Input("sandboxCustomImageName")] + public Input? SandboxCustomImageName { get; set; } + + public SandboxCustomImageArgs() + { + } + public static new SandboxCustomImageArgs Empty => new SandboxCustomImageArgs(); + } +} diff --git a/sdk/dotnet/Kusto/V20230815/Script.cs b/sdk/dotnet/Kusto/V20230815/Script.cs new file mode 100644 index 000000000000..7138542e5c3c --- /dev/null +++ b/sdk/dotnet/Kusto/V20230815/Script.cs @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.Kusto.V20230815 +{ + /// + /// Class representing a database script. + /// + [AzureNativeResourceType("azure-native:kusto/v20230815:Script")] + public partial class Script : global::Pulumi.CustomResource + { + /// + /// Flag that indicates whether to continue if one of the command fails. + /// + [Output("continueOnErrors")] + public Output ContinueOnErrors { get; private set; } = null!; + + /// + /// A unique string. If changed the script will be applied again. + /// + [Output("forceUpdateTag")] + public Output ForceUpdateTag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The provisioned state of the resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The url to the KQL script blob file. Must not be used together with scriptContent property + /// + [Output("scriptUrl")] + public Output ScriptUrl { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Script 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 Script(string name, ScriptArgs args, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:Script", name, args ?? new ScriptArgs(), MakeResourceOptions(options, "")) + { + } + + private Script(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:kusto/v20230815:Script", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:kusto:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210101:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20210827:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220201:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20220707:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221111:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20221229:Script"}, + new global::Pulumi.Alias { Type = "azure-native:kusto/v20230502:Script"}, + }, + }; + 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 Script 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. + /// A bag of options that control this resource's behavior + public static Script Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Script(name, id, options); + } + } + + public sealed class ScriptArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the Kusto cluster. + /// + [Input("clusterName", required: true)] + public Input ClusterName { get; set; } = null!; + + /// + /// Flag that indicates whether to continue if one of the command fails. + /// + [Input("continueOnErrors")] + public Input? ContinueOnErrors { get; set; } + + /// + /// The name of the database in the Kusto cluster. + /// + [Input("databaseName", required: true)] + public Input DatabaseName { get; set; } = null!; + + /// + /// A unique string. If changed the script will be applied again. + /// + [Input("forceUpdateTag")] + public Input? ForceUpdateTag { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The script content. This property should be used when the script is provide inline and not through file in a SA. Must not be used together with scriptUrl and scriptUrlSasToken properties. + /// + [Input("scriptContent")] + public Input? ScriptContent { get; set; } + + /// + /// The name of the Kusto database script. + /// + [Input("scriptName")] + public Input? ScriptName { get; set; } + + /// + /// The url to the KQL script blob file. Must not be used together with scriptContent property + /// + [Input("scriptUrl")] + public Input? ScriptUrl { get; set; } + + /// + /// The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. + /// + [Input("scriptUrlSasToken")] + public Input? ScriptUrlSasToken { get; set; } + + public ScriptArgs() + { + ContinueOnErrors = false; + } + public static new ScriptArgs Empty => new ScriptArgs(); + } +} diff --git a/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/AcrDetailsArgs.cs b/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/AcrDetailsArgs.cs index a8be38f6c87d..acd5f9d86add 100644 --- a/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/AcrDetailsArgs.cs +++ b/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/AcrDetailsArgs.cs @@ -22,7 +22,7 @@ public sealed class AcrDetailsArgs : global::Pulumi.ResourceArgs public Input? SystemCreatedAcrAccount { get; set; } /// - /// Details of user created ACR account to be used for the Registry + /// Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. /// [Input("userCreatedAcrAccount")] public Input? UserCreatedAcrAccount { get; set; } diff --git a/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/StorageAccountDetailsArgs.cs b/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/StorageAccountDetailsArgs.cs index f4c41ec25cef..8ff0294a1a6c 100644 --- a/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/StorageAccountDetailsArgs.cs +++ b/sdk/dotnet/MachineLearningServices/V20230601Preview/Inputs/StorageAccountDetailsArgs.cs @@ -22,7 +22,7 @@ public sealed class StorageAccountDetailsArgs : global::Pulumi.ResourceArgs public Input? SystemCreatedStorageAccount { get; set; } /// - /// Details of user created storage account to be used for the registry + /// Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. /// [Input("userCreatedStorageAccount")] public Input? UserCreatedStorageAccount { get; set; } diff --git a/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/AcrDetailsResponse.cs b/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/AcrDetailsResponse.cs index 2263ecd046d2..26d7ec29f5b5 100644 --- a/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/AcrDetailsResponse.cs +++ b/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/AcrDetailsResponse.cs @@ -21,7 +21,7 @@ public sealed class AcrDetailsResponse /// public readonly Outputs.SystemCreatedAcrAccountResponse? SystemCreatedAcrAccount; /// - /// Details of user created ACR account to be used for the Registry + /// Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. /// public readonly Outputs.UserCreatedAcrAccountResponse? UserCreatedAcrAccount; diff --git a/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/StorageAccountDetailsResponse.cs b/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/StorageAccountDetailsResponse.cs index 02b59390f047..0ad301f9c5d0 100644 --- a/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/StorageAccountDetailsResponse.cs +++ b/sdk/dotnet/MachineLearningServices/V20230601Preview/Outputs/StorageAccountDetailsResponse.cs @@ -21,7 +21,7 @@ public sealed class StorageAccountDetailsResponse /// public readonly Outputs.SystemCreatedStorageAccountResponse? SystemCreatedStorageAccount; /// - /// Details of user created storage account to be used for the registry + /// Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. /// public readonly Outputs.UserCreatedStorageAccountResponse? UserCreatedStorageAccount; diff --git a/sdk/dotnet/ManagedNetworkFabric/V20230615/Inputs/AccessControlListPortConditionArgs.cs b/sdk/dotnet/ManagedNetworkFabric/V20230615/Inputs/AccessControlListPortConditionArgs.cs index aef316ede647..13619599c206 100644 --- a/sdk/dotnet/ManagedNetworkFabric/V20230615/Inputs/AccessControlListPortConditionArgs.cs +++ b/sdk/dotnet/ManagedNetworkFabric/V20230615/Inputs/AccessControlListPortConditionArgs.cs @@ -19,7 +19,7 @@ public sealed class AccessControlListPortConditionArgs : global::Pulumi.Resource private InputList? _flags; /// - /// List of protocol flags that need to be matched. + /// List of protocol flags that need to be matched. Example: established | initial | <List-of-TCP-flags>. List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg /// public InputList Flags { diff --git a/sdk/dotnet/ManagedNetworkFabric/V20230615/Outputs/AccessControlListPortConditionResponse.cs b/sdk/dotnet/ManagedNetworkFabric/V20230615/Outputs/AccessControlListPortConditionResponse.cs index b00f61e2357b..d45e52e1102d 100644 --- a/sdk/dotnet/ManagedNetworkFabric/V20230615/Outputs/AccessControlListPortConditionResponse.cs +++ b/sdk/dotnet/ManagedNetworkFabric/V20230615/Outputs/AccessControlListPortConditionResponse.cs @@ -17,7 +17,7 @@ namespace Pulumi.AzureNative.ManagedNetworkFabric.V20230615.Outputs public sealed class AccessControlListPortConditionResponse { /// - /// List of protocol flags that need to be matched. + /// List of protocol flags that need to be matched. Example: established | initial | <List-of-TCP-flags>. List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg /// public readonly ImmutableArray Flags; /// diff --git a/sdk/dotnet/RecoveryServices/V20200202/Vault.cs b/sdk/dotnet/RecoveryServices/V20200202/Vault.cs index 81ff58fdc55f..a9444cd8e33e 100644 --- a/sdk/dotnet/RecoveryServices/V20200202/Vault.cs +++ b/sdk/dotnet/RecoveryServices/V20200202/Vault.cs @@ -113,6 +113,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230101:Vault"}, new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230201:Vault"}, new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230401:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230601:Vault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/RecoveryServices/V20230401/Vault.cs b/sdk/dotnet/RecoveryServices/V20230401/Vault.cs index e6b148353183..2bf0304fb5e5 100644 --- a/sdk/dotnet/RecoveryServices/V20230401/Vault.cs +++ b/sdk/dotnet/RecoveryServices/V20230401/Vault.cs @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20221001:Vault"}, new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230101:Vault"}, new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230201:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230601:Vault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/RecoveryServices/V20230601/Enums.cs b/sdk/dotnet/RecoveryServices/V20230601/Enums.cs index d9d0bc040059..e72be7950b30 100644 --- a/sdk/dotnet/RecoveryServices/V20230601/Enums.cs +++ b/sdk/dotnet/RecoveryServices/V20230601/Enums.cs @@ -38,6 +38,34 @@ private AgentAutoUpdateStatus(string value) public override string ToString() => _value; } + [EnumType] + public readonly struct AlertsState : IEquatable + { + private readonly string _value; + + private AlertsState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AlertsState Enabled { get; } = new AlertsState("Enabled"); + public static AlertsState Disabled { get; } = new AlertsState("Disabled"); + + public static bool operator ==(AlertsState left, AlertsState right) => left.Equals(right); + public static bool operator !=(AlertsState left, AlertsState right) => !left.Equals(right); + + public static explicit operator string(AlertsState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AlertsState other && Equals(other); + public bool Equals(AlertsState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// A value indicating the type authentication to use for automation Account. /// @@ -69,6 +97,35 @@ private AutomationAccountAuthenticationType(string value) public override string ToString() => _value; } + [EnumType] + public readonly struct CrossSubscriptionRestoreState : IEquatable + { + private readonly string _value; + + private CrossSubscriptionRestoreState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CrossSubscriptionRestoreState Enabled { get; } = new CrossSubscriptionRestoreState("Enabled"); + public static CrossSubscriptionRestoreState Disabled { get; } = new CrossSubscriptionRestoreState("Disabled"); + public static CrossSubscriptionRestoreState PermanentlyDisabled { get; } = new CrossSubscriptionRestoreState("PermanentlyDisabled"); + + public static bool operator ==(CrossSubscriptionRestoreState left, CrossSubscriptionRestoreState right) => left.Equals(right); + public static bool operator !=(CrossSubscriptionRestoreState left, CrossSubscriptionRestoreState right) => !left.Equals(right); + + public static explicit operator string(CrossSubscriptionRestoreState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CrossSubscriptionRestoreState other && Equals(other); + public bool Equals(CrossSubscriptionRestoreState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The disk type. /// @@ -163,6 +220,66 @@ private FailoverDeploymentModel(string value) public override string ToString() => _value; } + [EnumType] + public readonly struct ImmutabilityState : IEquatable + { + private readonly string _value; + + private ImmutabilityState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ImmutabilityState Disabled { get; } = new ImmutabilityState("Disabled"); + public static ImmutabilityState Unlocked { get; } = new ImmutabilityState("Unlocked"); + public static ImmutabilityState Locked { get; } = new ImmutabilityState("Locked"); + + public static bool operator ==(ImmutabilityState left, ImmutabilityState right) => left.Equals(right); + public static bool operator !=(ImmutabilityState left, ImmutabilityState right) => !left.Equals(right); + + public static explicit operator string(ImmutabilityState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ImmutabilityState other && Equals(other); + public bool Equals(ImmutabilityState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enabling/Disabling the Double Encryption state + /// + [EnumType] + public readonly struct InfrastructureEncryptionState : IEquatable + { + private readonly string _value; + + private InfrastructureEncryptionState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static InfrastructureEncryptionState Enabled { get; } = new InfrastructureEncryptionState("Enabled"); + public static InfrastructureEncryptionState Disabled { get; } = new InfrastructureEncryptionState("Disabled"); + + public static bool operator ==(InfrastructureEncryptionState left, InfrastructureEncryptionState right) => left.Equals(right); + public static bool operator !=(InfrastructureEncryptionState left, InfrastructureEncryptionState right) => !left.Equals(right); + + public static explicit operator string(InfrastructureEncryptionState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is InfrastructureEncryptionState other && Equals(other); + public bool Equals(InfrastructureEncryptionState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The license type. /// @@ -223,6 +340,37 @@ private PossibleOperationsDirections(string value) public override string ToString() => _value; } + /// + /// property to enable or disable resource provider inbound network traffic from public clients + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("Disabled"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The fabric location. /// @@ -326,6 +474,39 @@ private ReplicationProtectedItemOperation(string value) public override string ToString() => _value; } + /// + /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + /// + [EnumType] + public readonly struct ResourceIdentityType : IEquatable + { + private readonly string _value; + + private ResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResourceIdentityType SystemAssigned { get; } = new ResourceIdentityType("SystemAssigned"); + public static ResourceIdentityType None { get; } = new ResourceIdentityType("None"); + public static ResourceIdentityType UserAssigned { get; } = new ResourceIdentityType("UserAssigned"); + public static ResourceIdentityType SystemAssigned_UserAssigned { get; } = new ResourceIdentityType("SystemAssigned, UserAssigned"); + + public static bool operator ==(ResourceIdentityType left, ResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ResourceIdentityType left, ResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourceIdentityType other && Equals(other); + public bool Equals(ResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The target VM security type. /// @@ -389,6 +570,67 @@ private SetMultiVmSyncStatus(string value) public override string ToString() => _value; } + /// + /// Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + /// + [EnumType] + public readonly struct SkuName : IEquatable + { + private readonly string _value; + + private SkuName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SkuName Standard { get; } = new SkuName("Standard"); + public static SkuName RS0 { get; } = new SkuName("RS0"); + + public static bool operator ==(SkuName left, SkuName right) => left.Equals(right); + public static bool operator !=(SkuName left, SkuName right) => !left.Equals(right); + + public static explicit operator string(SkuName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuName other && Equals(other); + public bool Equals(SkuName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct SoftDeleteState : IEquatable + { + private readonly string _value; + + private SoftDeleteState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SoftDeleteState Invalid { get; } = new SoftDeleteState("Invalid"); + public static SoftDeleteState Enabled { get; } = new SoftDeleteState("Enabled"); + public static SoftDeleteState Disabled { get; } = new SoftDeleteState("Disabled"); + public static SoftDeleteState AlwaysON { get; } = new SoftDeleteState("AlwaysON"); + + public static bool operator ==(SoftDeleteState left, SoftDeleteState right) => left.Equals(right); + public static bool operator !=(SoftDeleteState left, SoftDeleteState right) => !left.Equals(right); + + public static explicit operator string(SoftDeleteState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SoftDeleteState other && Equals(other); + public bool Equals(SoftDeleteState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// The SQL Server license type. /// diff --git a/sdk/dotnet/RecoveryServices/V20230601/GetVault.cs b/sdk/dotnet/RecoveryServices/V20230601/GetVault.cs new file mode 100644 index 000000000000..25aec4857d55 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/GetVault.cs @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601 +{ + public static class GetVault + { + /// + /// Get the Vault details. + /// + public static Task InvokeAsync(GetVaultArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:recoveryservices/v20230601:getVault", args ?? new GetVaultArgs(), options.WithDefaults()); + + /// + /// Get the Vault details. + /// + public static Output Invoke(GetVaultInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:recoveryservices/v20230601:getVault", args ?? new GetVaultInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVaultArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the recovery services vault. + /// + [Input("vaultName", required: true)] + public string VaultName { get; set; } = null!; + + public GetVaultArgs() + { + } + public static new GetVaultArgs Empty => new GetVaultArgs(); + } + + public sealed class GetVaultInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the recovery services vault. + /// + [Input("vaultName", required: true)] + public Input VaultName { get; set; } = null!; + + public GetVaultInvokeArgs() + { + } + public static new GetVaultInvokeArgs Empty => new GetVaultInvokeArgs(); + } + + + [OutputType] + public sealed class GetVaultResult + { + /// + /// Optional ETag. + /// + public readonly string? Etag; + /// + /// Resource Id represents the complete path to the resource. + /// + public readonly string Id; + /// + /// Identity for the resource. + /// + public readonly Outputs.IdentityDataResponse? Identity; + /// + /// Resource location. + /// + public readonly string Location; + /// + /// Resource name associated with the resource. + /// + public readonly string Name; + /// + /// Properties of the vault. + /// + public readonly Outputs.VaultPropertiesResponse Properties; + /// + /// Identifies the unique system identifier for each Azure resource. + /// + public readonly Outputs.SkuResponse? Sku; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + public readonly string Type; + + [OutputConstructor] + private GetVaultResult( + string? etag, + + string id, + + Outputs.IdentityDataResponse? identity, + + string location, + + string name, + + Outputs.VaultPropertiesResponse properties, + + Outputs.SkuResponse? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Etag = etag; + Id = id; + Identity = identity; + Location = location; + Name = name; + Properties = properties; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/AzureMonitorAlertSettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/AzureMonitorAlertSettingsArgs.cs new file mode 100644 index 000000000000..74eff2c089b8 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/AzureMonitorAlertSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Settings for Azure Monitor based alerts + /// + public sealed class AzureMonitorAlertSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("alertsForAllJobFailures")] + public InputUnion? AlertsForAllJobFailures { get; set; } + + public AzureMonitorAlertSettingsArgs() + { + } + public static new AzureMonitorAlertSettingsArgs Empty => new AzureMonitorAlertSettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/ClassicAlertSettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/ClassicAlertSettingsArgs.cs new file mode 100644 index 000000000000..4a6397d24095 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/ClassicAlertSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Settings for classic alerts + /// + public sealed class ClassicAlertSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("alertsForCriticalOperations")] + public InputUnion? AlertsForCriticalOperations { get; set; } + + public ClassicAlertSettingsArgs() + { + } + public static new ClassicAlertSettingsArgs Empty => new ClassicAlertSettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/CmkKekIdentityArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/CmkKekIdentityArgs.cs new file mode 100644 index 000000000000..3c394fdec2f1 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/CmkKekIdentityArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// The details of the identity used for CMK + /// + public sealed class CmkKekIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + /// + [Input("useSystemAssignedIdentity")] + public Input? UseSystemAssignedIdentity { get; set; } + + /// + /// The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + /// + [Input("userAssignedIdentity")] + public Input? UserAssignedIdentity { get; set; } + + public CmkKekIdentityArgs() + { + } + public static new CmkKekIdentityArgs Empty => new CmkKekIdentityArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/CmkKeyVaultPropertiesArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/CmkKeyVaultPropertiesArgs.cs new file mode 100644 index 000000000000..eb22a965041b --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/CmkKeyVaultPropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// The properties of the Key Vault which hosts CMK + /// + public sealed class CmkKeyVaultPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The key uri of the Customer Managed Key + /// + [Input("keyUri")] + public Input? KeyUri { get; set; } + + public CmkKeyVaultPropertiesArgs() + { + } + public static new CmkKeyVaultPropertiesArgs Empty => new CmkKeyVaultPropertiesArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/CrossSubscriptionRestoreSettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/CrossSubscriptionRestoreSettingsArgs.cs new file mode 100644 index 000000000000..4b2e8b07e27f --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/CrossSubscriptionRestoreSettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Settings for Cross Subscription Restore Settings + /// + public sealed class CrossSubscriptionRestoreSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("crossSubscriptionRestoreState")] + public InputUnion? CrossSubscriptionRestoreState { get; set; } + + public CrossSubscriptionRestoreSettingsArgs() + { + } + public static new CrossSubscriptionRestoreSettingsArgs Empty => new CrossSubscriptionRestoreSettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/IdentityDataArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/IdentityDataArgs.cs new file mode 100644 index 000000000000..45d81fb43020 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/IdentityDataArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class IdentityDataArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public IdentityDataArgs() + { + } + public static new IdentityDataArgs Empty => new IdentityDataArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/ImmutabilitySettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/ImmutabilitySettingsArgs.cs new file mode 100644 index 000000000000..da7f63d40700 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/ImmutabilitySettingsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Immutability Settings of vault + /// + public sealed class ImmutabilitySettingsArgs : global::Pulumi.ResourceArgs + { + [Input("state")] + public InputUnion? State { get; set; } + + public ImmutabilitySettingsArgs() + { + } + public static new ImmutabilitySettingsArgs Empty => new ImmutabilitySettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/MonitoringSettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/MonitoringSettingsArgs.cs new file mode 100644 index 000000000000..822a42c88af9 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/MonitoringSettingsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Monitoring Settings of the vault + /// + public sealed class MonitoringSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Settings for Azure Monitor based alerts + /// + [Input("azureMonitorAlertSettings")] + public Input? AzureMonitorAlertSettings { get; set; } + + /// + /// Settings for classic alerts + /// + [Input("classicAlertSettings")] + public Input? ClassicAlertSettings { get; set; } + + public MonitoringSettingsArgs() + { + } + public static new MonitoringSettingsArgs Empty => new MonitoringSettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/RestoreSettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/RestoreSettingsArgs.cs new file mode 100644 index 000000000000..8b2997cddee4 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/RestoreSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Restore Settings of the vault + /// + public sealed class RestoreSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Settings for CrossSubscriptionRestore + /// + [Input("crossSubscriptionRestoreSettings")] + public Input? CrossSubscriptionRestoreSettings { get; set; } + + public RestoreSettingsArgs() + { + } + public static new RestoreSettingsArgs Empty => new RestoreSettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/SecuritySettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/SecuritySettingsArgs.cs new file mode 100644 index 000000000000..b53b51f5c988 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/SecuritySettingsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Security Settings of the vault + /// + public sealed class SecuritySettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Immutability Settings of a vault + /// + [Input("immutabilitySettings")] + public Input? ImmutabilitySettings { get; set; } + + /// + /// Soft delete Settings of a vault + /// + [Input("softDeleteSettings")] + public Input? SoftDeleteSettings { get; set; } + + public SecuritySettingsArgs() + { + } + public static new SecuritySettingsArgs Empty => new SecuritySettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/SkuArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..87d01033b205 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/SkuArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Identifies the unique system identifier for each Azure resource. + /// + public sealed class SkuArgs : global::Pulumi.ResourceArgs + { + /// + /// The sku capacity + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// The sku family + /// + [Input("family")] + public Input? Family { get; set; } + + /// + /// Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + /// + [Input("name", required: true)] + public InputUnion Name { get; set; } = null!; + + /// + /// The sku size + /// + [Input("size")] + public Input? Size { get; set; } + + /// + /// The Sku tier. + /// + [Input("tier")] + public Input? Tier { get; set; } + + public SkuArgs() + { + } + public static new SkuArgs Empty => new SkuArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/SoftDeleteSettingsArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/SoftDeleteSettingsArgs.cs new file mode 100644 index 000000000000..f8b7f7df3630 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/SoftDeleteSettingsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Soft delete Settings of vault + /// + public sealed class SoftDeleteSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Soft delete retention period in days + /// + [Input("softDeleteRetentionPeriodInDays")] + public Input? SoftDeleteRetentionPeriodInDays { get; set; } + + [Input("softDeleteState")] + public InputUnion? SoftDeleteState { get; set; } + + public SoftDeleteSettingsArgs() + { + } + public static new SoftDeleteSettingsArgs Empty => new SoftDeleteSettingsArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/VaultPropertiesArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/VaultPropertiesArgs.cs new file mode 100644 index 000000000000..d90ab6fb7c7c --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/VaultPropertiesArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Properties of the vault. + /// + public sealed class VaultPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer Managed Key details of the resource. + /// + [Input("encryption")] + public Input? Encryption { get; set; } + + /// + /// Monitoring Settings of the vault + /// + [Input("monitoringSettings")] + public Input? MonitoringSettings { get; set; } + + /// + /// property to enable or disable resource provider inbound network traffic from public clients + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// Restore Settings of the vault + /// + [Input("restoreSettings")] + public Input? RestoreSettings { get; set; } + + /// + /// Security Settings of the vault + /// + [Input("securitySettings")] + public Input? SecuritySettings { get; set; } + + public VaultPropertiesArgs() + { + } + public static new VaultPropertiesArgs Empty => new VaultPropertiesArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Inputs/VaultPropertiesEncryptionArgs.cs b/sdk/dotnet/RecoveryServices/V20230601/Inputs/VaultPropertiesEncryptionArgs.cs new file mode 100644 index 000000000000..036b6be48dbd --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Inputs/VaultPropertiesEncryptionArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Inputs +{ + + /// + /// Customer Managed Key details of the resource. + /// + public sealed class VaultPropertiesEncryptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Enabling/Disabling the Double Encryption state + /// + [Input("infrastructureEncryption")] + public InputUnion? InfrastructureEncryption { get; set; } + + /// + /// The details of the identity used for CMK + /// + [Input("kekIdentity")] + public Input? KekIdentity { get; set; } + + /// + /// The properties of the Key Vault which hosts CMK + /// + [Input("keyVaultProperties")] + public Input? KeyVaultProperties { get; set; } + + public VaultPropertiesEncryptionArgs() + { + } + public static new VaultPropertiesEncryptionArgs Empty => new VaultPropertiesEncryptionArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/AzureMonitorAlertSettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/AzureMonitorAlertSettingsResponse.cs new file mode 100644 index 000000000000..75487461c967 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/AzureMonitorAlertSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Settings for Azure Monitor based alerts + /// + [OutputType] + public sealed class AzureMonitorAlertSettingsResponse + { + public readonly string? AlertsForAllJobFailures; + + [OutputConstructor] + private AzureMonitorAlertSettingsResponse(string? alertsForAllJobFailures) + { + AlertsForAllJobFailures = alertsForAllJobFailures; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/ClassicAlertSettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/ClassicAlertSettingsResponse.cs new file mode 100644 index 000000000000..b35c4ac78982 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/ClassicAlertSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Settings for classic alerts + /// + [OutputType] + public sealed class ClassicAlertSettingsResponse + { + public readonly string? AlertsForCriticalOperations; + + [OutputConstructor] + private ClassicAlertSettingsResponse(string? alertsForCriticalOperations) + { + AlertsForCriticalOperations = alertsForCriticalOperations; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/CmkKekIdentityResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/CmkKekIdentityResponse.cs new file mode 100644 index 000000000000..85edf03e272d --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/CmkKekIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// The details of the identity used for CMK + /// + [OutputType] + public sealed class CmkKekIdentityResponse + { + /// + /// Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + /// + public readonly bool? UseSystemAssignedIdentity; + /// + /// The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + /// + public readonly string? UserAssignedIdentity; + + [OutputConstructor] + private CmkKekIdentityResponse( + bool? useSystemAssignedIdentity, + + string? userAssignedIdentity) + { + UseSystemAssignedIdentity = useSystemAssignedIdentity; + UserAssignedIdentity = userAssignedIdentity; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/CmkKeyVaultPropertiesResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/CmkKeyVaultPropertiesResponse.cs new file mode 100644 index 000000000000..dca117798034 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/CmkKeyVaultPropertiesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// The properties of the Key Vault which hosts CMK + /// + [OutputType] + public sealed class CmkKeyVaultPropertiesResponse + { + /// + /// The key uri of the Customer Managed Key + /// + public readonly string? KeyUri; + + [OutputConstructor] + private CmkKeyVaultPropertiesResponse(string? keyUri) + { + KeyUri = keyUri; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/CrossSubscriptionRestoreSettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/CrossSubscriptionRestoreSettingsResponse.cs new file mode 100644 index 000000000000..d60b90767857 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/CrossSubscriptionRestoreSettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Settings for Cross Subscription Restore Settings + /// + [OutputType] + public sealed class CrossSubscriptionRestoreSettingsResponse + { + public readonly string? CrossSubscriptionRestoreState; + + [OutputConstructor] + private CrossSubscriptionRestoreSettingsResponse(string? crossSubscriptionRestoreState) + { + CrossSubscriptionRestoreState = crossSubscriptionRestoreState; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/IdentityDataResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/IdentityDataResponse.cs new file mode 100644 index 000000000000..2c056a7a80db --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/IdentityDataResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Identity for the resource. + /// + [OutputType] + public sealed class IdentityDataResponse + { + /// + /// The principal ID of resource identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of resource. + /// + public readonly string TenantId; + /// + /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + /// + public readonly string Type; + /// + /// The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private IdentityDataResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/ImmutabilitySettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/ImmutabilitySettingsResponse.cs new file mode 100644 index 000000000000..d175bc3b612c --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/ImmutabilitySettingsResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Immutability Settings of vault + /// + [OutputType] + public sealed class ImmutabilitySettingsResponse + { + public readonly string? State; + + [OutputConstructor] + private ImmutabilitySettingsResponse(string? state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/MonitoringSettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/MonitoringSettingsResponse.cs new file mode 100644 index 000000000000..5dbfcf117327 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/MonitoringSettingsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Monitoring Settings of the vault + /// + [OutputType] + public sealed class MonitoringSettingsResponse + { + /// + /// Settings for Azure Monitor based alerts + /// + public readonly Outputs.AzureMonitorAlertSettingsResponse? AzureMonitorAlertSettings; + /// + /// Settings for classic alerts + /// + public readonly Outputs.ClassicAlertSettingsResponse? ClassicAlertSettings; + + [OutputConstructor] + private MonitoringSettingsResponse( + Outputs.AzureMonitorAlertSettingsResponse? azureMonitorAlertSettings, + + Outputs.ClassicAlertSettingsResponse? classicAlertSettings) + { + AzureMonitorAlertSettings = azureMonitorAlertSettings; + ClassicAlertSettings = classicAlertSettings; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/PrivateEndpointConnectionVaultPropertiesResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/PrivateEndpointConnectionVaultPropertiesResponse.cs new file mode 100644 index 000000000000..5ecc66039b93 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/PrivateEndpointConnectionVaultPropertiesResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Information to be stored in Vault properties as an element of privateEndpointConnections List. + /// + [OutputType] + public sealed class PrivateEndpointConnectionVaultPropertiesResponse + { + /// + /// Format of id subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. + /// + public readonly string Id; + /// + /// The location of the private Endpoint connection + /// + public readonly string Location; + /// + /// The name of the private Endpoint Connection + /// + public readonly string Name; + /// + /// Private Endpoint Connection Response Properties. + /// + public readonly Outputs.VaultPrivateEndpointConnectionResponse Properties; + /// + /// The type, which will be of the format, Microsoft.RecoveryServices/vaults/privateEndpointConnections + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionVaultPropertiesResponse( + string id, + + string location, + + string name, + + Outputs.VaultPrivateEndpointConnectionResponse properties, + + string type) + { + Id = id; + Location = location; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/PrivateEndpointResponse.cs new file mode 100644 index 000000000000..bc13fba9f01a --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/PrivateEndpointResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// The Private Endpoint network resource that is linked to the Private Endpoint connection. + /// + [OutputType] + public sealed class PrivateEndpointResponse + { + /// + /// Gets or sets id. + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointResponse(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/RestoreSettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/RestoreSettingsResponse.cs new file mode 100644 index 000000000000..535d4a40b6b9 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/RestoreSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Restore Settings of the vault + /// + [OutputType] + public sealed class RestoreSettingsResponse + { + /// + /// Settings for CrossSubscriptionRestore + /// + public readonly Outputs.CrossSubscriptionRestoreSettingsResponse? CrossSubscriptionRestoreSettings; + + [OutputConstructor] + private RestoreSettingsResponse(Outputs.CrossSubscriptionRestoreSettingsResponse? crossSubscriptionRestoreSettings) + { + CrossSubscriptionRestoreSettings = crossSubscriptionRestoreSettings; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/SecuritySettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SecuritySettingsResponse.cs new file mode 100644 index 000000000000..3f7bc6107fbd --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SecuritySettingsResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Security Settings of the vault + /// + [OutputType] + public sealed class SecuritySettingsResponse + { + /// + /// Immutability Settings of a vault + /// + public readonly Outputs.ImmutabilitySettingsResponse? ImmutabilitySettings; + /// + /// MUA Settings of a vault + /// + public readonly string MultiUserAuthorization; + /// + /// Soft delete Settings of a vault + /// + public readonly Outputs.SoftDeleteSettingsResponse? SoftDeleteSettings; + + [OutputConstructor] + private SecuritySettingsResponse( + Outputs.ImmutabilitySettingsResponse? immutabilitySettings, + + string multiUserAuthorization, + + Outputs.SoftDeleteSettingsResponse? softDeleteSettings) + { + ImmutabilitySettings = immutabilitySettings; + MultiUserAuthorization = multiUserAuthorization; + SoftDeleteSettings = softDeleteSettings; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/SkuResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..389e95137b73 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SkuResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Identifies the unique system identifier for each Azure resource. + /// + [OutputType] + public sealed class SkuResponse + { + /// + /// The sku capacity + /// + public readonly string? Capacity; + /// + /// The sku family + /// + public readonly string? Family; + /// + /// Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + /// + public readonly string Name; + /// + /// The sku size + /// + public readonly string? Size; + /// + /// The Sku tier. + /// + public readonly string? Tier; + + [OutputConstructor] + private SkuResponse( + string? capacity, + + string? family, + + string name, + + string? size, + + string? tier) + { + Capacity = capacity; + Family = family; + Name = name; + Size = size; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/SoftDeleteSettingsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SoftDeleteSettingsResponse.cs new file mode 100644 index 000000000000..b50bd47a69db --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SoftDeleteSettingsResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Soft delete Settings of vault + /// + [OutputType] + public sealed class SoftDeleteSettingsResponse + { + /// + /// Soft delete retention period in days + /// + public readonly int? SoftDeleteRetentionPeriodInDays; + public readonly string? SoftDeleteState; + + [OutputConstructor] + private SoftDeleteSettingsResponse( + int? softDeleteRetentionPeriodInDays, + + string? softDeleteState) + { + SoftDeleteRetentionPeriodInDays = softDeleteRetentionPeriodInDays; + SoftDeleteState = softDeleteState; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/SystemDataResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..9a9e85559ccd --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/UpgradeDetailsResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/UpgradeDetailsResponse.cs new file mode 100644 index 000000000000..8fc78d7d20fb --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/UpgradeDetailsResponse.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Details for upgrading vault. + /// + [OutputType] + public sealed class UpgradeDetailsResponse + { + /// + /// UTC time at which the upgrade operation has ended. + /// + public readonly string EndTimeUtc; + /// + /// UTC time at which the upgrade operation status was last updated. + /// + public readonly string LastUpdatedTimeUtc; + /// + /// Message to the user containing information about the upgrade operation. + /// + public readonly string Message; + /// + /// ID of the vault upgrade operation. + /// + public readonly string OperationId; + /// + /// Resource ID of the vault before the upgrade. + /// + public readonly string PreviousResourceId; + /// + /// UTC time at which the upgrade operation has started. + /// + public readonly string StartTimeUtc; + /// + /// Status of the vault upgrade operation. + /// + public readonly string Status; + /// + /// The way the vault upgrade was triggered. + /// + public readonly string TriggerType; + /// + /// Resource ID of the upgraded vault. + /// + public readonly string UpgradedResourceId; + + [OutputConstructor] + private UpgradeDetailsResponse( + string endTimeUtc, + + string lastUpdatedTimeUtc, + + string message, + + string operationId, + + string previousResourceId, + + string startTimeUtc, + + string status, + + string triggerType, + + string upgradedResourceId) + { + EndTimeUtc = endTimeUtc; + LastUpdatedTimeUtc = lastUpdatedTimeUtc; + Message = message; + OperationId = operationId; + PreviousResourceId = previousResourceId; + StartTimeUtc = startTimeUtc; + Status = status; + TriggerType = triggerType; + UpgradedResourceId = upgradedResourceId; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/UserIdentityResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/UserIdentityResponse.cs new file mode 100644 index 000000000000..b4477c445ed0 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/UserIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// A resource identity that is managed by the user of the service. + /// + [OutputType] + public sealed class UserIdentityResponse + { + /// + /// The client ID of the user-assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the user-assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPrivateEndpointConnectionResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..36008e631160 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPrivateEndpointConnectionResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Private Endpoint Connection Response Properties. + /// + [OutputType] + public sealed class VaultPrivateEndpointConnectionResponse + { + /// + /// Group Ids for the Private Endpoint + /// + public readonly ImmutableArray GroupIds; + /// + /// The Private Endpoint network resource that is linked to the Private Endpoint connection. + /// + public readonly Outputs.PrivateEndpointResponse PrivateEndpoint; + /// + /// Gets or sets private link service connection state. + /// + public readonly Outputs.VaultPrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// Gets or sets provisioning state of the private endpoint connection. + /// + public readonly string ProvisioningState; + + [OutputConstructor] + private VaultPrivateEndpointConnectionResponse( + ImmutableArray groupIds, + + Outputs.PrivateEndpointResponse privateEndpoint, + + Outputs.VaultPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState) + { + GroupIds = groupIds; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPrivateLinkServiceConnectionStateResponse.cs new file mode 100644 index 000000000000..9e1677873a16 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPrivateLinkServiceConnectionStateResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Gets or sets private link service connection state. + /// + [OutputType] + public sealed class VaultPrivateLinkServiceConnectionStateResponse + { + /// + /// Gets or sets actions required. + /// + public readonly string ActionsRequired; + /// + /// Gets or sets description. + /// + public readonly string Description; + /// + /// Gets or sets the status. + /// + public readonly string Status; + + [OutputConstructor] + private VaultPrivateLinkServiceConnectionStateResponse( + string actionsRequired, + + string description, + + string status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponse.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponse.cs new file mode 100644 index 000000000000..1f1bb06c68f7 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponse.cs @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Properties of the vault. + /// + [OutputType] + public sealed class VaultPropertiesResponse + { + /// + /// Backup storage version + /// + public readonly string BackupStorageVersion; + /// + /// Customer Managed Key details of the resource. + /// + public readonly Outputs.VaultPropertiesResponseEncryption? Encryption; + /// + /// Monitoring Settings of the vault + /// + public readonly Outputs.MonitoringSettingsResponse? MonitoringSettings; + /// + /// The details of the latest move operation performed on the Azure Resource + /// + public readonly Outputs.VaultPropertiesResponseMoveDetails? MoveDetails; + /// + /// The State of the Resource after the move operation + /// + public readonly string MoveState; + /// + /// List of private endpoint connection. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// Private endpoint state for backup. + /// + public readonly string PrivateEndpointStateForBackup; + /// + /// Private endpoint state for site recovery. + /// + public readonly string PrivateEndpointStateForSiteRecovery; + /// + /// Provisioning State. + /// + public readonly string ProvisioningState; + /// + /// property to enable or disable resource provider inbound network traffic from public clients + /// + public readonly string? PublicNetworkAccess; + /// + /// The redundancy Settings of a Vault + /// + public readonly Outputs.VaultPropertiesResponseRedundancySettings? RedundancySettings; + /// + /// Restore Settings of the vault + /// + public readonly Outputs.RestoreSettingsResponse? RestoreSettings; + /// + /// Secure Score of Recovery Services Vault + /// + public readonly string SecureScore; + /// + /// Security Settings of the vault + /// + public readonly Outputs.SecuritySettingsResponse? SecuritySettings; + /// + /// Details for upgrading vault. + /// + public readonly Outputs.UpgradeDetailsResponse? UpgradeDetails; + + [OutputConstructor] + private VaultPropertiesResponse( + string backupStorageVersion, + + Outputs.VaultPropertiesResponseEncryption? encryption, + + Outputs.MonitoringSettingsResponse? monitoringSettings, + + Outputs.VaultPropertiesResponseMoveDetails? moveDetails, + + string moveState, + + ImmutableArray privateEndpointConnections, + + string privateEndpointStateForBackup, + + string privateEndpointStateForSiteRecovery, + + string provisioningState, + + string? publicNetworkAccess, + + Outputs.VaultPropertiesResponseRedundancySettings? redundancySettings, + + Outputs.RestoreSettingsResponse? restoreSettings, + + string secureScore, + + Outputs.SecuritySettingsResponse? securitySettings, + + Outputs.UpgradeDetailsResponse? upgradeDetails) + { + BackupStorageVersion = backupStorageVersion; + Encryption = encryption; + MonitoringSettings = monitoringSettings; + MoveDetails = moveDetails; + MoveState = moveState; + PrivateEndpointConnections = privateEndpointConnections; + PrivateEndpointStateForBackup = privateEndpointStateForBackup; + PrivateEndpointStateForSiteRecovery = privateEndpointStateForSiteRecovery; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + RedundancySettings = redundancySettings; + RestoreSettings = restoreSettings; + SecureScore = secureScore; + SecuritySettings = securitySettings; + UpgradeDetails = upgradeDetails; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseEncryption.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseEncryption.cs new file mode 100644 index 000000000000..600646214371 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseEncryption.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// Customer Managed Key details of the resource. + /// + [OutputType] + public sealed class VaultPropertiesResponseEncryption + { + /// + /// Enabling/Disabling the Double Encryption state + /// + public readonly string? InfrastructureEncryption; + /// + /// The details of the identity used for CMK + /// + public readonly Outputs.CmkKekIdentityResponse? KekIdentity; + /// + /// The properties of the Key Vault which hosts CMK + /// + public readonly Outputs.CmkKeyVaultPropertiesResponse? KeyVaultProperties; + + [OutputConstructor] + private VaultPropertiesResponseEncryption( + string? infrastructureEncryption, + + Outputs.CmkKekIdentityResponse? kekIdentity, + + Outputs.CmkKeyVaultPropertiesResponse? keyVaultProperties) + { + InfrastructureEncryption = infrastructureEncryption; + KekIdentity = kekIdentity; + KeyVaultProperties = keyVaultProperties; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseMoveDetails.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseMoveDetails.cs new file mode 100644 index 000000000000..4d47cc6c7a27 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseMoveDetails.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// The details of the latest move operation performed on the Azure Resource + /// + [OutputType] + public sealed class VaultPropertiesResponseMoveDetails + { + /// + /// End Time of the Resource Move Operation + /// + public readonly string CompletionTimeUtc; + /// + /// OperationId of the Resource Move Operation + /// + public readonly string OperationId; + /// + /// Source Resource of the Resource Move Operation + /// + public readonly string SourceResourceId; + /// + /// Start Time of the Resource Move Operation + /// + public readonly string StartTimeUtc; + /// + /// Target Resource of the Resource Move Operation + /// + public readonly string TargetResourceId; + + [OutputConstructor] + private VaultPropertiesResponseMoveDetails( + string completionTimeUtc, + + string operationId, + + string sourceResourceId, + + string startTimeUtc, + + string targetResourceId) + { + CompletionTimeUtc = completionTimeUtc; + OperationId = operationId; + SourceResourceId = sourceResourceId; + StartTimeUtc = startTimeUtc; + TargetResourceId = targetResourceId; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseRedundancySettings.cs b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseRedundancySettings.cs new file mode 100644 index 000000000000..5555317f86e0 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Outputs/VaultPropertiesResponseRedundancySettings.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601.Outputs +{ + + /// + /// The redundancy Settings of a Vault + /// + [OutputType] + public sealed class VaultPropertiesResponseRedundancySettings + { + /// + /// Flag to show if Cross Region Restore is enabled on the Vault or not + /// + public readonly string CrossRegionRestore; + /// + /// The storage redundancy setting of a vault + /// + public readonly string StandardTierStorageRedundancy; + + [OutputConstructor] + private VaultPropertiesResponseRedundancySettings( + string crossRegionRestore, + + string standardTierStorageRedundancy) + { + CrossRegionRestore = crossRegionRestore; + StandardTierStorageRedundancy = standardTierStorageRedundancy; + } + } +} diff --git a/sdk/dotnet/RecoveryServices/V20230601/Vault.cs b/sdk/dotnet/RecoveryServices/V20230601/Vault.cs new file mode 100644 index 000000000000..67f747ea1d26 --- /dev/null +++ b/sdk/dotnet/RecoveryServices/V20230601/Vault.cs @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.RecoveryServices.V20230601 +{ + /// + /// Resource information, as returned by the resource provider. + /// + [AzureNativeResourceType("azure-native:recoveryservices/v20230601:Vault")] + public partial class Vault : global::Pulumi.CustomResource + { + /// + /// Optional ETag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Identity for the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// Resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Resource name associated with the resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Properties of the vault. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Identifies the unique system identifier for each Azure resource. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Vault 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 Vault(string name, VaultArgs args, CustomResourceOptions? options = null) + : base("azure-native:recoveryservices/v20230601:Vault", name, args ?? new VaultArgs(), MakeResourceOptions(options, "")) + { + } + + private Vault(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:recoveryservices/v20230601:Vault", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:recoveryservices:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20160601:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20200202:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20201001:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210101:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210210:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210301:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210401:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210601:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210701:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20210801:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20211101preview:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20211201:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220101:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220131preview:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220201:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220301:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220401:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220501:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220801:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220910:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20220930preview:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20221001:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230101:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230201:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230401:Vault"}, + }, + }; + 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 Vault 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. + /// A bag of options that control this resource's behavior + public static Vault Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Vault(name, id, options); + } + } + + public sealed class VaultArgs : global::Pulumi.ResourceArgs + { + /// + /// Identity for the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// Resource location. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Properties of the vault. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Identifies the unique system identifier for each Azure resource. + /// + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// The name of the recovery services vault. + /// + [Input("vaultName")] + public Input? VaultName { get; set; } + + public VaultArgs() + { + } + public static new VaultArgs Empty => new VaultArgs(); + } +} diff --git a/sdk/dotnet/RecoveryServices/Vault.cs b/sdk/dotnet/RecoveryServices/Vault.cs index 9d8982cef48f..3b940558904d 100644 --- a/sdk/dotnet/RecoveryServices/Vault.cs +++ b/sdk/dotnet/RecoveryServices/Vault.cs @@ -120,6 +120,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230101:Vault"}, new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230201:Vault"}, new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230401:Vault"}, + new global::Pulumi.Alias { Type = "azure-native:recoveryservices/v20230601:Vault"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/AADDataConnector.cs index 7961a7c84264..b3eb4a4da397 100644 --- a/sdk/dotnet/SecurityInsights/AADDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/AADDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AADDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/AATPDataConnector.cs index 22fa7f918242..070bbc926f3d 100644 --- a/sdk/dotnet/SecurityInsights/AATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/AATPDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/ASCDataConnector.cs b/sdk/dotnet/SecurityInsights/ASCDataConnector.cs index f03dc3a325d0..282a494cb608 100644 --- a/sdk/dotnet/SecurityInsights/ASCDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/ASCDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ASCDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/Action.cs b/sdk/dotnet/SecurityInsights/Action.cs index 1cf033a998da..c0790c27a4fa 100644 --- a/sdk/dotnet/SecurityInsights/Action.cs +++ b/sdk/dotnet/SecurityInsights/Action.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/ActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/ActivityCustomEntityQuery.cs index d66fbfecef12..3e70edf1f155 100644 --- a/sdk/dotnet/SecurityInsights/ActivityCustomEntityQuery.cs +++ b/sdk/dotnet/SecurityInsights/ActivityCustomEntityQuery.cs @@ -165,6 +165,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/Anomalies.cs b/sdk/dotnet/SecurityInsights/Anomalies.cs index 38d595be0305..67e17cd35ef5 100644 --- a/sdk/dotnet/SecurityInsights/Anomalies.cs +++ b/sdk/dotnet/SecurityInsights/Anomalies.cs @@ -106,6 +106,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Anomalies"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/AnomalySecurityMLAnalyticsSettings.cs b/sdk/dotnet/SecurityInsights/AnomalySecurityMLAnalyticsSettings.cs index b3798807855a..fcaf4e5766f0 100644 --- a/sdk/dotnet/SecurityInsights/AnomalySecurityMLAnalyticsSettings.cs +++ b/sdk/dotnet/SecurityInsights/AnomalySecurityMLAnalyticsSettings.cs @@ -180,6 +180,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/AutomationRule.cs b/sdk/dotnet/SecurityInsights/AutomationRule.cs index de2b67077b81..059860928ce2 100644 --- a/sdk/dotnet/SecurityInsights/AutomationRule.cs +++ b/sdk/dotnet/SecurityInsights/AutomationRule.cs @@ -136,6 +136,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AutomationRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/AwsCloudTrailDataConnector.cs index 87de1b328aea..8089756fb701 100644 --- a/sdk/dotnet/SecurityInsights/AwsCloudTrailDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/AwsCloudTrailDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/Bookmark.cs b/sdk/dotnet/SecurityInsights/Bookmark.cs index f08651f674c9..25344e089605 100644 --- a/sdk/dotnet/SecurityInsights/Bookmark.cs +++ b/sdk/dotnet/SecurityInsights/Bookmark.cs @@ -168,6 +168,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Bookmark"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/BookmarkRelation.cs b/sdk/dotnet/SecurityInsights/BookmarkRelation.cs index df7d67c7c1cb..385a8afa7c54 100644 --- a/sdk/dotnet/SecurityInsights/BookmarkRelation.cs +++ b/sdk/dotnet/SecurityInsights/BookmarkRelation.cs @@ -109,6 +109,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:BookmarkRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/ContentPackage.cs b/sdk/dotnet/SecurityInsights/ContentPackage.cs index 4a97865299ad..4b7099fb124b 100644 --- a/sdk/dotnet/SecurityInsights/ContentPackage.cs +++ b/sdk/dotnet/SecurityInsights/ContentPackage.cs @@ -196,6 +196,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/ContentTemplate.cs b/sdk/dotnet/SecurityInsights/ContentTemplate.cs index a2f655fdc7f1..9e82bb06634d 100644 --- a/sdk/dotnet/SecurityInsights/ContentTemplate.cs +++ b/sdk/dotnet/SecurityInsights/ContentTemplate.cs @@ -208,6 +208,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/CustomizableConnectorDefinition.cs b/sdk/dotnet/SecurityInsights/CustomizableConnectorDefinition.cs index b7578920b1d8..4bbd6adf7271 100644 --- a/sdk/dotnet/SecurityInsights/CustomizableConnectorDefinition.cs +++ b/sdk/dotnet/SecurityInsights/CustomizableConnectorDefinition.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/EntityAnalytics.cs index ccb1f4f7cd20..e6b048d54537 100644 --- a/sdk/dotnet/SecurityInsights/EntityAnalytics.cs +++ b/sdk/dotnet/SecurityInsights/EntityAnalytics.cs @@ -106,6 +106,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EntityAnalytics"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/EyesOn.cs b/sdk/dotnet/SecurityInsights/EyesOn.cs index 837468d820f7..69871121c51d 100644 --- a/sdk/dotnet/SecurityInsights/EyesOn.cs +++ b/sdk/dotnet/SecurityInsights/EyesOn.cs @@ -106,6 +106,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EyesOn"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/FileImport.cs b/sdk/dotnet/SecurityInsights/FileImport.cs index 4896c3e4547e..308622c833bd 100644 --- a/sdk/dotnet/SecurityInsights/FileImport.cs +++ b/sdk/dotnet/SecurityInsights/FileImport.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FileImport"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/FusionAlertRule.cs index 4e6f5360fff3..556ad72ab7ac 100644 --- a/sdk/dotnet/SecurityInsights/FusionAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/FusionAlertRule.cs @@ -153,6 +153,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FusionAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/GetWorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/GetWorkspaceManagerMember.cs index ac188c5b7daa..9000ac97e81c 100644 --- a/sdk/dotnet/SecurityInsights/GetWorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/GetWorkspaceManagerMember.cs @@ -102,7 +102,7 @@ public sealed class GetWorkspaceManagerMemberResult /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - public readonly string TargetWorkspaceId; + public readonly string TargetWorkspaceResourceId; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager /// @@ -122,7 +122,7 @@ private GetWorkspaceManagerMemberResult( Outputs.SystemDataResponse systemData, - string targetWorkspaceId, + string targetWorkspaceResourceId, string targetWorkspaceTenantId, @@ -132,7 +132,7 @@ private GetWorkspaceManagerMemberResult( Id = id; Name = name; SystemData = systemData; - TargetWorkspaceId = targetWorkspaceId; + TargetWorkspaceResourceId = targetWorkspaceResourceId; TargetWorkspaceTenantId = targetWorkspaceTenantId; Type = type; } diff --git a/sdk/dotnet/SecurityInsights/Hunt.cs b/sdk/dotnet/SecurityInsights/Hunt.cs index 3d33237ed4a4..38ea6368ca57 100644 --- a/sdk/dotnet/SecurityInsights/Hunt.cs +++ b/sdk/dotnet/SecurityInsights/Hunt.cs @@ -118,6 +118,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Hunt"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/HuntComment.cs b/sdk/dotnet/SecurityInsights/HuntComment.cs index 6983104e9c76..b4026605ad7b 100644 --- a/sdk/dotnet/SecurityInsights/HuntComment.cs +++ b/sdk/dotnet/SecurityInsights/HuntComment.cs @@ -76,6 +76,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/HuntRelation.cs b/sdk/dotnet/SecurityInsights/HuntRelation.cs index 96703e15009c..6c2e970b75d6 100644 --- a/sdk/dotnet/SecurityInsights/HuntRelation.cs +++ b/sdk/dotnet/SecurityInsights/HuntRelation.cs @@ -100,6 +100,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/Incident.cs b/sdk/dotnet/SecurityInsights/Incident.cs index 3f335bc3c00f..824996ea9fcf 100644 --- a/sdk/dotnet/SecurityInsights/Incident.cs +++ b/sdk/dotnet/SecurityInsights/Incident.cs @@ -206,6 +206,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/IncidentComment.cs b/sdk/dotnet/SecurityInsights/IncidentComment.cs index 4f1272419146..80c737a85bf6 100644 --- a/sdk/dotnet/SecurityInsights/IncidentComment.cs +++ b/sdk/dotnet/SecurityInsights/IncidentComment.cs @@ -115,6 +115,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/IncidentRelation.cs index 859f1ff6a973..5ac39632bfeb 100644 --- a/sdk/dotnet/SecurityInsights/IncidentRelation.cs +++ b/sdk/dotnet/SecurityInsights/IncidentRelation.cs @@ -115,6 +115,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/IncidentTask.cs b/sdk/dotnet/SecurityInsights/IncidentTask.cs index 055c0632db46..c66a8f7c16e2 100644 --- a/sdk/dotnet/SecurityInsights/IncidentTask.cs +++ b/sdk/dotnet/SecurityInsights/IncidentTask.cs @@ -111,6 +111,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentTask"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/MCASDataConnector.cs index 1c0c4deddf58..a7edf3eb7f6b 100644 --- a/sdk/dotnet/SecurityInsights/MCASDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/MCASDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MCASDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/MDATPDataConnector.cs index 59a8acd9bdc2..a144ba899553 100644 --- a/sdk/dotnet/SecurityInsights/MDATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/MDATPDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MDATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/Metadata.cs b/sdk/dotnet/SecurityInsights/Metadata.cs index 78f74bf5d5aa..4c8b36e44336 100644 --- a/sdk/dotnet/SecurityInsights/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/Metadata.cs @@ -200,6 +200,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/MicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/MicrosoftSecurityIncidentCreationAlertRule.cs index 705cdcc3b8ba..2f3c3faaaeac 100644 --- a/sdk/dotnet/SecurityInsights/MicrosoftSecurityIncidentCreationAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/MicrosoftSecurityIncidentCreationAlertRule.cs @@ -159,6 +159,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/OfficeDataConnector.cs index 9ed36ef9c42e..ce391b52ebb3 100644 --- a/sdk/dotnet/SecurityInsights/OfficeDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/OfficeDataConnector.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/ScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/ScheduledAlertRule.cs index b159d16c228b..c80f72a02c21 100644 --- a/sdk/dotnet/SecurityInsights/ScheduledAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/ScheduledAlertRule.cs @@ -231,6 +231,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ScheduledAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/SentinelOnboardingState.cs index 5ba74a676817..e82e1b33b47e 100644 --- a/sdk/dotnet/SecurityInsights/SentinelOnboardingState.cs +++ b/sdk/dotnet/SecurityInsights/SentinelOnboardingState.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:SentinelOnboardingState"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/TIDataConnector.cs index 6eb16231c5a7..18079c99067d 100644 --- a/sdk/dotnet/SecurityInsights/TIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/TIDataConnector.cs @@ -123,6 +123,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/ThreatIntelligenceIndicator.cs index fe5adf6e8fdf..5605e6e3fdea 100644 --- a/sdk/dotnet/SecurityInsights/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/ThreatIntelligenceIndicator.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/Ueba.cs b/sdk/dotnet/SecurityInsights/Ueba.cs index 6af624c1b828..aa05641c4fc6 100644 --- a/sdk/dotnet/SecurityInsights/Ueba.cs +++ b/sdk/dotnet/SecurityInsights/Ueba.cs @@ -106,6 +106,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Ueba"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/AutomationRule.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/AutomationRule.cs index 83ab84cc3848..7d6383d95a2f 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/AutomationRule.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/AutomationRule.cs @@ -130,6 +130,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AutomationRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/Bookmark.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/Bookmark.cs index 35986a570dc8..7e576569f820 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/Bookmark.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/Bookmark.cs @@ -161,6 +161,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Bookmark"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/BookmarkRelation.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/BookmarkRelation.cs index df3d20921c6a..86a74dfc036c 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/BookmarkRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/BookmarkRelation.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:BookmarkRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/IPSyncer.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/IPSyncer.cs index bfbaff2c02f2..df15e396aafb 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/IPSyncer.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/IPSyncer.cs @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IPSyncer"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IPSyncer"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IPSyncer"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IPSyncer"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/Watchlist.cs index b618c69367d8..5d7799e02120 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/Watchlist.cs @@ -204,6 +204,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/AADDataConnector.cs index 9791d97d527e..b7b57d9dc5c2 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/AADDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/AADDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AADDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/AATPDataConnector.cs index f7b9aa6f358b..3b2f516d6a8b 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/AATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/AATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/ASCDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/ASCDataConnector.cs index b55e18e9b6df..bbd79c2d98a7 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/ASCDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/ASCDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ASCDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Action.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Action.cs index 9ddc218520fe..c1b56d3a120a 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Action.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Action.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/ActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/ActivityCustomEntityQuery.cs index a9557577bdb6..41716d7b97ee 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/ActivityCustomEntityQuery.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/ActivityCustomEntityQuery.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Anomalies.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Anomalies.cs index 5edbd679d40f..383d20d6a9ba 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Anomalies.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Anomalies.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Anomalies"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/AwsCloudTrailDataConnector.cs index d30d4224ffd5..47a806b5f6f9 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/AwsCloudTrailDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/AwsCloudTrailDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/CodelessUiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/CodelessUiDataConnector.cs index c6972990be7b..38a95778f82e 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/CodelessUiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/CodelessUiDataConnector.cs @@ -110,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Dynamics365DataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Dynamics365DataConnector.cs index 8114ecdf2787..f3cb4130b705 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Dynamics365DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Dynamics365DataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/EntityAnalytics.cs index da9ee5196280..e0e81850717a 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/EntityAnalytics.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/EntityAnalytics.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EntityAnalytics"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/EyesOn.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/EyesOn.cs index dc1913dddde8..59a9e89f846d 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/EyesOn.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/EyesOn.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EyesOn"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/FusionAlertRule.cs index 107e13c902c3..919bb8498869 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/FusionAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/FusionAlertRule.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FusionAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Incident.cs index 2d46e9146ea6..1d1e22ceb04b 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Incident.cs @@ -211,6 +211,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentComment.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentComment.cs index a3d8e0fb3160..ee65095fd237 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentComment.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentComment.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentRelation.cs index cc0d86703dc3..7767af0effd5 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/IncidentRelation.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/MCASDataConnector.cs index b24c2443956e..414ef71a080c 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/MCASDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/MCASDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MCASDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/MDATPDataConnector.cs index e62a0d26d9ec..5c7e15f57a39 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/MDATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/MDATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MDATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/MLBehaviorAnalyticsAlertRule.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/MLBehaviorAnalyticsAlertRule.cs index 30a9f4b81187..9ac22ad7f454 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/MLBehaviorAnalyticsAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/MLBehaviorAnalyticsAlertRule.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/MSTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/MSTIDataConnector.cs index d596969bce10..b67dedb3f70a 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/MSTIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/MSTIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MSTIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/MTPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/MTPDataConnector.cs index 612c213c3b7f..8a354e771245 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/MTPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/MTPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MTPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Metadata.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Metadata.cs index 6706385c5127..2534143cfd09 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Metadata.cs @@ -157,6 +157,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/MicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/MicrosoftSecurityIncidentCreationAlertRule.cs index b8f4db497a0a..4a8c2c76f5ed 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/MicrosoftSecurityIncidentCreationAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/MicrosoftSecurityIncidentCreationAlertRule.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeATPDataConnector.cs index 355e3aaadfa9..280c20913ce0 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeDataConnector.cs index e7ca87fa33dc..d0bafd4bb968 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/OfficeDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/ScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/ScheduledAlertRule.cs index 098a81e7b182..aa36b22b8d0c 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/ScheduledAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/ScheduledAlertRule.cs @@ -218,6 +218,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ScheduledAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/SentinelOnboardingState.cs index d8898f019396..5562956f2012 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/SentinelOnboardingState.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/SentinelOnboardingState.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:SentinelOnboardingState"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/TIDataConnector.cs index 23163a37281f..b14b7dd0ec27 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/TIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/TIDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/ThreatIntelligenceAlertRule.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/ThreatIntelligenceAlertRule.cs index 5c9e466c1885..9607137d35ad 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/ThreatIntelligenceAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/ThreatIntelligenceAlertRule.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/TiTaxiiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/TiTaxiiDataConnector.cs index 230ac87001c3..1fc795c4ee5f 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/TiTaxiiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/TiTaxiiDataConnector.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Ueba.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Ueba.cs index 6ecab5472ad8..7a331ce7747a 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Ueba.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Ueba.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Ueba"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210301Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20210301Preview/Watchlist.cs index a6218a323172..51cf83c023ce 100644 --- a/sdk/dotnet/SecurityInsights/V20210301Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20210301Preview/Watchlist.cs @@ -216,6 +216,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210401/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20210401/ThreatIntelligenceIndicator.cs index ae4a926c4a56..5f1e04e28ffa 100644 --- a/sdk/dotnet/SecurityInsights/V20210401/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/V20210401/ThreatIntelligenceIndicator.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210401/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20210401/Watchlist.cs index 4a2c1d02b42f..1b1d82c69b51 100644 --- a/sdk/dotnet/SecurityInsights/V20210401/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20210401/Watchlist.cs @@ -212,6 +212,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210401/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20210401/WatchlistItem.cs index d8190a3eada4..b4d3b88bfe16 100644 --- a/sdk/dotnet/SecurityInsights/V20210401/WatchlistItem.cs +++ b/sdk/dotnet/SecurityInsights/V20210401/WatchlistItem.cs @@ -150,6 +150,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WatchlistItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20210901Preview/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20210901Preview/ThreatIntelligenceIndicator.cs index e90e7503dfab..ac81d013ac1b 100644 --- a/sdk/dotnet/SecurityInsights/V20210901Preview/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/V20210901Preview/ThreatIntelligenceIndicator.cs @@ -95,6 +95,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20211001Preview/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20211001Preview/FusionAlertRule.cs index e16b5572cbb3..2c82522d8265 100644 --- a/sdk/dotnet/SecurityInsights/V20211001Preview/FusionAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20211001Preview/FusionAlertRule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FusionAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20211001Preview/NrtAlertRule.cs b/sdk/dotnet/SecurityInsights/V20211001Preview/NrtAlertRule.cs index 82a8f6ea7418..8fc085332ce4 100644 --- a/sdk/dotnet/SecurityInsights/V20211001Preview/NrtAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20211001Preview/NrtAlertRule.cs @@ -200,6 +200,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:NrtAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20211001Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20211001Preview/Watchlist.cs index c6782a1d2228..d9357a8eca13 100644 --- a/sdk/dotnet/SecurityInsights/V20211001Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20211001Preview/Watchlist.cs @@ -216,6 +216,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20220101Preview/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20220101Preview/EntityAnalytics.cs index 2724e76af37c..cfea6ed2e01a 100644 --- a/sdk/dotnet/SecurityInsights/V20220101Preview/EntityAnalytics.cs +++ b/sdk/dotnet/SecurityInsights/V20220101Preview/EntityAnalytics.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EntityAnalytics"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20220101Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20220101Preview/Watchlist.cs index b73fc9dd925b..1fe5fcd480be 100644 --- a/sdk/dotnet/SecurityInsights/V20220101Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20220101Preview/Watchlist.cs @@ -228,6 +228,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/AADDataConnector.cs index 5dfb08e5609b..e54677cdd722 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/AADDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/AADDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AADDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/AATPDataConnector.cs index 367bdda4d4da..c1436e0cd9d5 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/AATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/AATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/Action.cs b/sdk/dotnet/SecurityInsights/V20230201/Action.cs index 35c6596d252a..13a8b41c1bfd 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/Action.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/Action.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/AutomationRule.cs b/sdk/dotnet/SecurityInsights/V20230201/AutomationRule.cs index fc465e2425ae..890f2cff3838 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/AutomationRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/AutomationRule.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AutomationRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/AwsCloudTrailDataConnector.cs index 0fc463e33881..f05a558be580 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/AwsCloudTrailDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/AwsCloudTrailDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/Bookmark.cs b/sdk/dotnet/SecurityInsights/V20230201/Bookmark.cs index 4b7583aa65f9..a710fa45fa2a 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/Bookmark.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/Bookmark.cs @@ -167,6 +167,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Bookmark"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/Incident.cs b/sdk/dotnet/SecurityInsights/V20230201/Incident.cs index cb547de8675e..71cd88253fbb 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/Incident.cs @@ -205,6 +205,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/IncidentComment.cs b/sdk/dotnet/SecurityInsights/V20230201/IncidentComment.cs index 29a9baf2abb5..8153fbbb50e5 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/IncidentComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/IncidentComment.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20230201/IncidentRelation.cs index 0453dab14ca1..52e48aec7ad1 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/IncidentRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/IncidentRelation.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/MCASDataConnector.cs index df4b1bfefd4f..d0afbe27cafe 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/MCASDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/MCASDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MCASDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/MDATPDataConnector.cs index 78f8986a646b..6f6c4b46327b 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/MDATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/MDATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MDATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/Metadata.cs b/sdk/dotnet/SecurityInsights/V20230201/Metadata.cs index 842e436f4da9..3a5d7d0c6fdf 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/Metadata.cs @@ -199,6 +199,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/OfficeDataConnector.cs index 9ecc3d02bf86..df6f371fef82 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/OfficeDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/OfficeDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20230201/SentinelOnboardingState.cs index 797693c5db36..2b072476a2d9 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/SentinelOnboardingState.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/SentinelOnboardingState.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:SentinelOnboardingState"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230201/TIDataConnector.cs index 836864ad33ad..5ed8c0b30762 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/TIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/TIDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20230201/ThreatIntelligenceIndicator.cs index 3f79f8209cb2..ee66dff1f99a 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/ThreatIntelligenceIndicator.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20230201/Watchlist.cs index 2cc831804d4b..ca5884d90839 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/Watchlist.cs @@ -212,6 +212,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20230201/WatchlistItem.cs index 7ec7a152a726..83eba5d9d335 100644 --- a/sdk/dotnet/SecurityInsights/V20230201/WatchlistItem.cs +++ b/sdk/dotnet/SecurityInsights/V20230201/WatchlistItem.cs @@ -150,6 +150,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WatchlistItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20230201Preview/Incident.cs index 755f837bf7d7..74efdd31986d 100644 --- a/sdk/dotnet/SecurityInsights/V20230201Preview/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20230201Preview/Incident.cs @@ -208,6 +208,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230201Preview/Metadata.cs b/sdk/dotnet/SecurityInsights/V20230201Preview/Metadata.cs index e61e407586a4..fc979e4b2d93 100644 --- a/sdk/dotnet/SecurityInsights/V20230201Preview/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/V20230201Preview/Metadata.cs @@ -199,6 +199,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230301Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20230301Preview/Incident.cs index cbdacfb4ad92..8abb5c55d14d 100644 --- a/sdk/dotnet/SecurityInsights/V20230301Preview/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20230301Preview/Incident.cs @@ -208,6 +208,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/AADDataConnector.cs index b9d57165ab47..770a6f553c9b 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/AADDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/AADDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AADDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/AATPDataConnector.cs index f78dcfc86f22..b1e68b8b0a14 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/AATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/AATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ASCDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ASCDataConnector.cs index 441075743f38..005585e5243e 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ASCDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ASCDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ASCDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Action.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Action.cs index b4b1c445b9d7..c62656e2641f 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Action.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Action.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ActivityCustomEntityQuery.cs index 7fb6fc77add8..1c4b89ae4ea7 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ActivityCustomEntityQuery.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ActivityCustomEntityQuery.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Anomalies.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Anomalies.cs index 91c4ae569d44..ae02e2e96dc6 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Anomalies.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Anomalies.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Anomalies"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/AnomalySecurityMLAnalyticsSettings.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/AnomalySecurityMLAnalyticsSettings.cs index 75176e25b9c5..8234da098a17 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/AnomalySecurityMLAnalyticsSettings.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/AnomalySecurityMLAnalyticsSettings.cs @@ -179,6 +179,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/AutomationRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/AutomationRule.cs index 86090d8a6116..c1ca9029399d 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/AutomationRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/AutomationRule.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AutomationRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/AwsCloudTrailDataConnector.cs index ecf8627f8211..0e5c45e0d002 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/AwsCloudTrailDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/AwsCloudTrailDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/AwsS3DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/AwsS3DataConnector.cs index f406c09413af..8d9acb976019 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/AwsS3DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/AwsS3DataConnector.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsS3DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsS3DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsS3DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Bookmark.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Bookmark.cs index c1eaa9de5c3a..d28ad153b7ba 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Bookmark.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Bookmark.cs @@ -185,6 +185,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Bookmark"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/BookmarkRelation.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/BookmarkRelation.cs index 94e3b91cb9dc..bbd5f0d14a01 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/BookmarkRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/BookmarkRelation.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:BookmarkRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessApiPollingDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessApiPollingDataConnector.cs index 9bc50ad0ab80..bac3f516217d 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessApiPollingDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessApiPollingDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessUiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessUiDataConnector.cs index c520b67b8ca6..5f5f029e8c2b 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessUiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/CodelessUiDataConnector.cs @@ -110,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ContentPackage.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ContentPackage.cs index 20f29301ec05..9846e4961d25 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ContentPackage.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ContentPackage.cs @@ -195,6 +195,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ContentTemplate.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ContentTemplate.cs index 0bfdfd391a89..d50018ad5c59 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ContentTemplate.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ContentTemplate.cs @@ -207,6 +207,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Dynamics365DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Dynamics365DataConnector.cs index f1a60997dfae..61aa097c44fe 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Dynamics365DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Dynamics365DataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/EntityAnalytics.cs index 820b876f0821..16d9559b597d 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/EntityAnalytics.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/EntityAnalytics.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EntityAnalytics"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/EyesOn.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/EyesOn.cs index f5cad3e3a1e7..e7c7463e7ac8 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/EyesOn.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/EyesOn.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EyesOn"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/FileImport.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/FileImport.cs index 41f190de5741..a92fff6adcff 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/FileImport.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/FileImport.cs @@ -148,6 +148,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FileImport"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/FusionAlertRule.cs index 61e87f86878f..88305f23a0c6 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/FusionAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/FusionAlertRule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FusionAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/GCPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/GCPDataConnector.cs index e2ed554c80d1..9d11d4150fa1 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/GCPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/GCPDataConnector.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:GCPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:GCPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:GCPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/GetWorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/GetWorkspaceManagerMember.cs index 9456f2f91cd0..c7345cb47045 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/GetWorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/GetWorkspaceManagerMember.cs @@ -100,7 +100,7 @@ public sealed class GetWorkspaceManagerMemberResult /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - public readonly string TargetWorkspaceId; + public readonly string TargetWorkspaceResourceId; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager /// @@ -120,7 +120,7 @@ private GetWorkspaceManagerMemberResult( Outputs.SystemDataResponse systemData, - string targetWorkspaceId, + string targetWorkspaceResourceId, string targetWorkspaceTenantId, @@ -130,7 +130,7 @@ private GetWorkspaceManagerMemberResult( Id = id; Name = name; SystemData = systemData; - TargetWorkspaceId = targetWorkspaceId; + TargetWorkspaceResourceId = targetWorkspaceResourceId; TargetWorkspaceTenantId = targetWorkspaceTenantId; Type = type; } diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Hunt.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Hunt.cs index 06641b0e4529..1841ac735428 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Hunt.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Hunt.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Hunt"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/HuntComment.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/HuntComment.cs index db68bc0936d9..5e441b21832a 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/HuntComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/HuntComment.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/HuntRelation.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/HuntRelation.cs index 324c846d3bd0..c855ae946ae7 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/HuntRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/HuntRelation.cs @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Incident.cs index 27a94d253ac4..d1e74d4faf65 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Incident.cs @@ -208,6 +208,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentComment.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentComment.cs index b9e4ab0114e2..b6c0e40374c5 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentComment.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentRelation.cs index 88e6e017196f..08e028de9e0a 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentRelation.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentTask.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentTask.cs index 977804cc0ef0..b67e1408506b 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentTask.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/IncidentTask.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentTask"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/IoTDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/IoTDataConnector.cs index 5b5e093bdec8..e7564f41382c 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/IoTDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/IoTDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IoTDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IoTDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IoTDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MCASDataConnector.cs index b4e8137f216d..fa1360ccf77b 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MCASDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MCASDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MCASDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MDATPDataConnector.cs index 928a67393adc..83744c40b7bf 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MDATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MDATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MDATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MLBehaviorAnalyticsAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MLBehaviorAnalyticsAlertRule.cs index 214447ec66a6..d2e105e46bee 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MLBehaviorAnalyticsAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MLBehaviorAnalyticsAlertRule.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MSTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MSTIDataConnector.cs index e915afb4a5a2..f94c43f69685 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MSTIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MSTIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MSTIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MTPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MTPDataConnector.cs index 46c62b265135..788a59c85217 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MTPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MTPDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MTPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Metadata.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Metadata.cs index d7092df1a82b..10315525b96c 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Metadata.cs @@ -199,6 +199,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftPurviewInformationProtectionDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftPurviewInformationProtectionDataConnector.cs index 326e81aaa49e..22cb8c5f6f59 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftPurviewInformationProtectionDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftPurviewInformationProtectionDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftSecurityIncidentCreationAlertRule.cs index 18b5ac4e5f94..db8a4dec9975 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftSecurityIncidentCreationAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/MicrosoftSecurityIncidentCreationAlertRule.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/NrtAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/NrtAlertRule.cs index 2ddbf1c81576..fe6dc9301eeb 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/NrtAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/NrtAlertRule.cs @@ -212,6 +212,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:NrtAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Office365ProjectDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Office365ProjectDataConnector.cs index 3ffe5130c3b8..1e7bce60a6ca 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Office365ProjectDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Office365ProjectDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeATPDataConnector.cs index f2cb3db98014..3eeef2730bcd 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeDataConnector.cs index bc91838c71c0..b9505ceeca0c 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeIRMDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeIRMDataConnector.cs index ffd84110fe6c..e96bc0fcc436 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeIRMDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficeIRMDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficePowerBIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficePowerBIDataConnector.cs index c560dfa4ffcd..334a6b959460 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/OfficePowerBIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/OfficePowerBIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ScheduledAlertRule.cs index 174f08c35c6d..4b45be275edb 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ScheduledAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ScheduledAlertRule.cs @@ -236,6 +236,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ScheduledAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/SentinelOnboardingState.cs index 26257d0eea87..aba110c6f697 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/SentinelOnboardingState.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/SentinelOnboardingState.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:SentinelOnboardingState"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/TIDataConnector.cs index 3f3d12af975c..50a0251c43dc 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/TIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/TIDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceAlertRule.cs index 754ffcb62081..6db76acb79da 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceAlertRule.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceIndicator.cs index 7244ec2cd79c..2d8385a8757a 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/ThreatIntelligenceIndicator.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/TiTaxiiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/TiTaxiiDataConnector.cs index d98c1bfd66fa..777c09f6dca5 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/TiTaxiiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/TiTaxiiDataConnector.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Ueba.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Ueba.cs index 011778f22b5f..9cfe5d412d82 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Ueba.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Ueba.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Ueba"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/Watchlist.cs index 51f0f1587a9d..f4cf03533a3f 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/Watchlist.cs @@ -216,6 +216,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/WatchlistItem.cs index 74728583f927..aa8ca4f2967d 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/WatchlistItem.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/WatchlistItem.cs @@ -150,6 +150,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WatchlistItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerAssignment.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerAssignment.cs index c57c37e004d3..ccc11290794e 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerAssignment.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerAssignment.cs @@ -93,6 +93,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerConfiguration.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerConfiguration.cs index ca0b010dd88d..0bd2daf8457a 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerConfiguration.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerConfiguration.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerGroup.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerGroup.cs index f6ebae8a6ff0..fec142feba62 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerGroup.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerGroup.cs @@ -87,6 +87,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerMember.cs index b73915f92652..dad86fd063c7 100644 --- a/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/V20230601Preview/WorkspaceManagerMember.cs @@ -36,8 +36,8 @@ public partial class WorkspaceManagerMember : global::Pulumi.CustomResource /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Output("targetWorkspaceId")] - public Output TargetWorkspaceId { get; private set; } = null!; + [Output("targetWorkspaceResourceId")] + public Output TargetWorkspaceResourceId { get; private set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager @@ -81,6 +81,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -113,8 +114,8 @@ public sealed class WorkspaceManagerMemberArgs : global::Pulumi.ResourceArgs /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Input("targetWorkspaceId", required: true)] - public Input TargetWorkspaceId { get; set; } = null!; + [Input("targetWorkspaceResourceId", required: true)] + public Input TargetWorkspaceResourceId { get; set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/AADDataConnector.cs index c781d5afd9d6..cf9776bcc836 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/AADDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/AADDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AADDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/AATPDataConnector.cs index a2377db420ba..6a9a41c77fe2 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/AATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/AATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ASCDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ASCDataConnector.cs index cc4f88d22c8e..800a13a75294 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ASCDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ASCDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ASCDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Action.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Action.cs index f6ecf8a1ae6d..677e15303890 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Action.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Action.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ActivityCustomEntityQuery.cs index 30a9c853a837..e8f6fadd2887 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ActivityCustomEntityQuery.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ActivityCustomEntityQuery.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Anomalies.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Anomalies.cs index 1dc9b072f0d7..8cd6cf4455b4 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Anomalies.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Anomalies.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Anomalies"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/AnomalySecurityMLAnalyticsSettings.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/AnomalySecurityMLAnalyticsSettings.cs index ed6f07831913..98807560ead2 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/AnomalySecurityMLAnalyticsSettings.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/AnomalySecurityMLAnalyticsSettings.cs @@ -179,6 +179,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/AutomationRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/AutomationRule.cs index 0b4bcd8a2c23..0c779b53abe8 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/AutomationRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/AutomationRule.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AutomationRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/AwsCloudTrailDataConnector.cs index ac6ab0e1ac68..d916a7ce15b4 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/AwsCloudTrailDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/AwsCloudTrailDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/AwsS3DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/AwsS3DataConnector.cs index 5b45cf52acdf..98b7fd37080f 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/AwsS3DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/AwsS3DataConnector.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsS3DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsS3DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsS3DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Bookmark.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Bookmark.cs index 417e7c8951b8..e96afd6f4d4a 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Bookmark.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Bookmark.cs @@ -185,6 +185,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Bookmark"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/BookmarkRelation.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/BookmarkRelation.cs index 9b955cf441f5..734181bae8c9 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/BookmarkRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/BookmarkRelation.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:BookmarkRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessApiPollingDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessApiPollingDataConnector.cs index 446420448c5f..402c3876cdbd 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessApiPollingDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessApiPollingDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessUiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessUiDataConnector.cs index 3db0c07202ab..71466230a98e 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessUiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/CodelessUiDataConnector.cs @@ -110,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ContentPackage.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ContentPackage.cs index dd299fc7e741..7fc5fed7e69e 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ContentPackage.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ContentPackage.cs @@ -201,6 +201,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ContentTemplate.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ContentTemplate.cs index 5adb8663f4e1..9f76e9e248db 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ContentTemplate.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ContentTemplate.cs @@ -219,6 +219,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/CustomizableConnectorDefinition.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/CustomizableConnectorDefinition.cs index 512db2f37eee..328bfdd98e46 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/CustomizableConnectorDefinition.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/CustomizableConnectorDefinition.cs @@ -104,6 +104,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:securityinsights:CustomizableConnectorDefinition"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Dynamics365DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Dynamics365DataConnector.cs index c0d69cea73aa..6c55adfb6840 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Dynamics365DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Dynamics365DataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/EntityAnalytics.cs index b237097e36da..5760c8e2574d 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/EntityAnalytics.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/EntityAnalytics.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EntityAnalytics"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/EyesOn.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/EyesOn.cs index 45c034824342..1cff15a3c7e2 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/EyesOn.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/EyesOn.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EyesOn"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/FileImport.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/FileImport.cs index ee725dd4ddef..7b0f95a9a187 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/FileImport.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/FileImport.cs @@ -148,6 +148,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FileImport"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/FusionAlertRule.cs index f39c28491d09..bf122a19ba1e 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/FusionAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/FusionAlertRule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FusionAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/GCPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/GCPDataConnector.cs index 16e203f317f3..7ca455f33868 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/GCPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/GCPDataConnector.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:GCPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:GCPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:GCPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/GetWorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/GetWorkspaceManagerMember.cs index 791226ed5f97..7f96470b3c14 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/GetWorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/GetWorkspaceManagerMember.cs @@ -100,7 +100,7 @@ public sealed class GetWorkspaceManagerMemberResult /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - public readonly string TargetWorkspaceId; + public readonly string TargetWorkspaceResourceId; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager /// @@ -120,7 +120,7 @@ private GetWorkspaceManagerMemberResult( Outputs.SystemDataResponse systemData, - string targetWorkspaceId, + string targetWorkspaceResourceId, string targetWorkspaceTenantId, @@ -130,7 +130,7 @@ private GetWorkspaceManagerMemberResult( Id = id; Name = name; SystemData = systemData; - TargetWorkspaceId = targetWorkspaceId; + TargetWorkspaceResourceId = targetWorkspaceResourceId; TargetWorkspaceTenantId = targetWorkspaceTenantId; Type = type; } diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Hunt.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Hunt.cs index 864c07587b9c..a7992f5c34d7 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Hunt.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Hunt.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Hunt"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/HuntComment.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/HuntComment.cs index 555b29b869c2..abc7776ff837 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/HuntComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/HuntComment.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/HuntRelation.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/HuntRelation.cs index cda4cc55bcb1..8118540d692c 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/HuntRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/HuntRelation.cs @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Incident.cs index 69d62f3b52d2..319ae42280b7 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Incident.cs @@ -208,6 +208,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentComment.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentComment.cs index 58d6fcb51b05..7fdfd8da6f97 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentComment.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentRelation.cs index d5012d08ff75..96c62dabb715 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentRelation.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentTask.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentTask.cs index 5bccbdd60b3b..c5d0cfce1100 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentTask.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/IncidentTask.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentTask"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/IoTDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/IoTDataConnector.cs index 51303828fb1f..5cdffdfc1ce8 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/IoTDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/IoTDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IoTDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IoTDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IoTDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MCASDataConnector.cs index fb7cf384b278..68de92f0efd4 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MCASDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MCASDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MCASDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MDATPDataConnector.cs index 94e4def6104d..06126f1448b3 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MDATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MDATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MDATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MLBehaviorAnalyticsAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MLBehaviorAnalyticsAlertRule.cs index 61c517fe7232..228d67d7ab03 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MLBehaviorAnalyticsAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MLBehaviorAnalyticsAlertRule.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MSTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MSTIDataConnector.cs index d3b14a96e124..603bbf65a0be 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MSTIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MSTIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MSTIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MTPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MTPDataConnector.cs index 154a1aabda7d..93d5955c26d2 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MTPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MTPDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MTPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Metadata.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Metadata.cs index 2503893cd3e5..3626de4fd89a 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Metadata.cs @@ -199,6 +199,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftPurviewInformationProtectionDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftPurviewInformationProtectionDataConnector.cs index a1003ef1bc96..34c7f8bbe332 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftPurviewInformationProtectionDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftPurviewInformationProtectionDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftSecurityIncidentCreationAlertRule.cs index 48fd0587825f..42d451518c18 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftSecurityIncidentCreationAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/MicrosoftSecurityIncidentCreationAlertRule.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/NrtAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/NrtAlertRule.cs index 32d7ee1ff5a9..0f06c82f813a 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/NrtAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/NrtAlertRule.cs @@ -212,6 +212,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:NrtAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Office365ProjectDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Office365ProjectDataConnector.cs index 3f087d8663a6..93feb97df425 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Office365ProjectDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Office365ProjectDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeATPDataConnector.cs index 22b1d292e135..9f38ac915efb 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeDataConnector.cs index d2ef583685b1..e01ac1d0e270 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeIRMDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeIRMDataConnector.cs index 500a4f2cebbc..0c5e2d1f2476 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeIRMDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficeIRMDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficePowerBIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficePowerBIDataConnector.cs index 44c41df71bbd..74e3809ec5f8 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/OfficePowerBIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/OfficePowerBIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ScheduledAlertRule.cs index 5635a29cf964..067d8696cd1d 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ScheduledAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ScheduledAlertRule.cs @@ -236,6 +236,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ScheduledAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/SentinelOnboardingState.cs index 322b0d12ad70..0c4d29fcba3c 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/SentinelOnboardingState.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/SentinelOnboardingState.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:SentinelOnboardingState"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/TIDataConnector.cs index fa899052eae3..8b12c73ca0c7 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/TIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/TIDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceAlertRule.cs index 6cbc5f1ce978..a84afc11c505 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceAlertRule.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceIndicator.cs index fe07c0bdcf42..90f4b6e5d27a 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/ThreatIntelligenceIndicator.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/TiTaxiiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/TiTaxiiDataConnector.cs index d4c9e8092f16..238e0df7a818 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/TiTaxiiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/TiTaxiiDataConnector.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Ueba.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Ueba.cs index fe55b6be4093..32cf137c8c8a 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Ueba.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Ueba.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Ueba"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/Watchlist.cs index d424b9dd93cb..d2866f4102f0 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/Watchlist.cs @@ -216,6 +216,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/WatchlistItem.cs index 59e750305bc3..ca449e84f588 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/WatchlistItem.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/WatchlistItem.cs @@ -150,6 +150,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WatchlistItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerAssignment.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerAssignment.cs index 934948655908..2f2040c88bdd 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerAssignment.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerAssignment.cs @@ -93,6 +93,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerConfiguration.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerConfiguration.cs index 37987f33f465..a13d3d4033a0 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerConfiguration.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerConfiguration.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerGroup.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerGroup.cs index 25f4da3178cf..20789b335565 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerGroup.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerGroup.cs @@ -87,6 +87,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerMember.cs index 06dda9ac469b..bc5ac6352400 100644 --- a/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/V20230701Preview/WorkspaceManagerMember.cs @@ -36,8 +36,8 @@ public partial class WorkspaceManagerMember : global::Pulumi.CustomResource /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Output("targetWorkspaceId")] - public Output TargetWorkspaceId { get; private set; } = null!; + [Output("targetWorkspaceResourceId")] + public Output TargetWorkspaceResourceId { get; private set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager @@ -81,6 +81,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -113,8 +114,8 @@ public sealed class WorkspaceManagerMemberArgs : global::Pulumi.ResourceArgs /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Input("targetWorkspaceId", required: true)] - public Input TargetWorkspaceId { get; set; } = null!; + [Input("targetWorkspaceResourceId", required: true)] + public Input TargetWorkspaceResourceId { get; set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/AADDataConnector.cs index 11e291164ca6..2ce2c54190ea 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/AADDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/AADDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AADDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AADDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/AATPDataConnector.cs index 4c8b95648a21..2858184ffb63 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/AATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/AATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ASCDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ASCDataConnector.cs index 57ab817ec708..5b45322d1377 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ASCDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ASCDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ASCDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ASCDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Action.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Action.cs index c1f4d642db58..eb33ecbf5469 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Action.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Action.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Action"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ActivityCustomEntityQuery.cs index 60f523fbfcbb..445eeb313048 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ActivityCustomEntityQuery.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ActivityCustomEntityQuery.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Anomalies.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Anomalies.cs index 1437858a5c34..bc91d97e36b5 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Anomalies.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Anomalies.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Anomalies"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Anomalies"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/AnomalySecurityMLAnalyticsSettings.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/AnomalySecurityMLAnalyticsSettings.cs index ce9cc192db73..e5f2153bff93 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/AnomalySecurityMLAnalyticsSettings.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/AnomalySecurityMLAnalyticsSettings.cs @@ -179,6 +179,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/AutomationRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/AutomationRule.cs index eb89ad8da9c8..d35143e3811d 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/AutomationRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/AutomationRule.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AutomationRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AutomationRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/AwsCloudTrailDataConnector.cs index 195d67a227a3..133a11d97f92 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/AwsCloudTrailDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/AwsCloudTrailDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/AwsS3DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/AwsS3DataConnector.cs index e67adb212a1a..a892f641f1fa 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/AwsS3DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/AwsS3DataConnector.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsS3DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsS3DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:AwsS3DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Bookmark.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Bookmark.cs index feed4b8a330f..b7a0e92563d4 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Bookmark.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Bookmark.cs @@ -185,6 +185,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Bookmark"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Bookmark"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/BookmarkRelation.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/BookmarkRelation.cs index 2a3aae18d438..f6cf53a1aac9 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/BookmarkRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/BookmarkRelation.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:BookmarkRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:BookmarkRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessApiPollingDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessApiPollingDataConnector.cs index 5a240d311b94..977edd4525c3 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessApiPollingDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessApiPollingDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessUiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessUiDataConnector.cs index 4a861abed6bf..d724be7b95ba 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessUiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/CodelessUiDataConnector.cs @@ -110,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ContentPackage.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ContentPackage.cs index cffbf4314650..a217dcf69abd 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ContentPackage.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ContentPackage.cs @@ -201,6 +201,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentPackage"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentPackage"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ContentTemplate.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ContentTemplate.cs index 62bcc59dc25c..461a11438fc1 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ContentTemplate.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ContentTemplate.cs @@ -219,6 +219,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentTemplate"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ContentTemplate"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/CustomizableConnectorDefinition.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/CustomizableConnectorDefinition.cs index 08e64b50f125..4f5aa9713ff1 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/CustomizableConnectorDefinition.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/CustomizableConnectorDefinition.cs @@ -104,6 +104,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { new global::Pulumi.Alias { Type = "azure-native:securityinsights:CustomizableConnectorDefinition"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Dynamics365DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Dynamics365DataConnector.cs index 6bf6d6196e1e..1ba9452eaf38 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Dynamics365DataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Dynamics365DataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/EntityAnalytics.cs index 109a6072c2d2..2589a1020654 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/EntityAnalytics.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/EntityAnalytics.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EntityAnalytics"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EntityAnalytics"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/EyesOn.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/EyesOn.cs index 856777cd483e..1b39501b3753 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/EyesOn.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/EyesOn.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EyesOn"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:EyesOn"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/FileImport.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/FileImport.cs index 44ef11e1dee1..269b9ee535f8 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/FileImport.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/FileImport.cs @@ -148,6 +148,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FileImport"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FileImport"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/FusionAlertRule.cs index ed7ffd0b73eb..dcb0edcf6311 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/FusionAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/FusionAlertRule.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FusionAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:FusionAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/GCPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/GCPDataConnector.cs index c0293dccf5eb..07d8453c43f2 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/GCPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/GCPDataConnector.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:GCPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:GCPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:GCPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/GetWorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/GetWorkspaceManagerMember.cs index df95558e8f2c..cb178e060163 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/GetWorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/GetWorkspaceManagerMember.cs @@ -100,7 +100,7 @@ public sealed class GetWorkspaceManagerMemberResult /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - public readonly string TargetWorkspaceId; + public readonly string TargetWorkspaceResourceId; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager /// @@ -120,7 +120,7 @@ private GetWorkspaceManagerMemberResult( Outputs.SystemDataResponse systemData, - string targetWorkspaceId, + string targetWorkspaceResourceId, string targetWorkspaceTenantId, @@ -130,7 +130,7 @@ private GetWorkspaceManagerMemberResult( Id = id; Name = name; SystemData = systemData; - TargetWorkspaceId = targetWorkspaceId; + TargetWorkspaceResourceId = targetWorkspaceResourceId; TargetWorkspaceTenantId = targetWorkspaceTenantId; Type = type; } diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Hunt.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Hunt.cs index 427bda64d9bc..bed904069bc8 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Hunt.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Hunt.cs @@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Hunt"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Hunt"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/HuntComment.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/HuntComment.cs index 5d642514b9b4..c98849a6a638 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/HuntComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/HuntComment.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/HuntRelation.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/HuntRelation.cs index 74a30eaebcf8..04b164b7aca6 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/HuntRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/HuntRelation.cs @@ -99,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:HuntRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Incident.cs index c7d34c234aca..956337d97cc5 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Incident.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Incident.cs @@ -208,6 +208,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Incident"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentComment.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentComment.cs index 059733440c92..c993649cd6bd 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentComment.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentComment.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentComment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentComment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentRelation.cs index c17b299597f0..ec1851505e9a 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentRelation.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentRelation.cs @@ -114,6 +114,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentRelation"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentRelation"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentTask.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentTask.cs index 9da9055cabd2..3f8cdf6c4ac4 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentTask.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/IncidentTask.cs @@ -108,6 +108,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentTask"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IncidentTask"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/IoTDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/IoTDataConnector.cs index c988d2f396f6..8904ae7573b8 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/IoTDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/IoTDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IoTDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IoTDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:IoTDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MCASDataConnector.cs index 6c09c00835de..4774be6381b1 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MCASDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MCASDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MCASDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MCASDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MDATPDataConnector.cs index 5e5c1419f4b2..34139694e5ef 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MDATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MDATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MDATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MDATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MLBehaviorAnalyticsAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MLBehaviorAnalyticsAlertRule.cs index 09ac1df87695..f1b4ef3d6442 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MLBehaviorAnalyticsAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MLBehaviorAnalyticsAlertRule.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MSTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MSTIDataConnector.cs index e66b2b2956d3..1bf5af9ed247 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MSTIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MSTIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MSTIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MSTIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MTPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MTPDataConnector.cs index 71fea6d332a0..fbe6a8308c6f 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MTPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MTPDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MTPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MTPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Metadata.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Metadata.cs index 79a54eb5b305..e7e527645e59 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Metadata.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Metadata.cs @@ -199,6 +199,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Metadata"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftPurviewInformationProtectionDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftPurviewInformationProtectionDataConnector.cs index f3901ea79f8e..04275a375a92 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftPurviewInformationProtectionDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftPurviewInformationProtectionDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftSecurityIncidentCreationAlertRule.cs index 5be501604832..47eb68f5a150 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftSecurityIncidentCreationAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/MicrosoftSecurityIncidentCreationAlertRule.cs @@ -158,6 +158,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/NrtAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/NrtAlertRule.cs index 1cc89266154e..9efcb8fa0ce0 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/NrtAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/NrtAlertRule.cs @@ -212,6 +212,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:NrtAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:NrtAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Office365ProjectDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Office365ProjectDataConnector.cs index 62eec7d85db6..c5df9522bddb 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Office365ProjectDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Office365ProjectDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeATPDataConnector.cs index 0062e913a8fd..e4d578523f3d 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeATPDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeATPDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeDataConnector.cs index 1628d3c9ea95..ad81cc0109cd 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeIRMDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeIRMDataConnector.cs index 7296b6b864ec..973180cb4b27 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeIRMDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficeIRMDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficePowerBIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficePowerBIDataConnector.cs index c83c0063612e..727348d8ada3 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/OfficePowerBIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/OfficePowerBIDataConnector.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ScheduledAlertRule.cs index 47793a6a6fd9..1d8b79bca013 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ScheduledAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ScheduledAlertRule.cs @@ -236,6 +236,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ScheduledAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ScheduledAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/SentinelOnboardingState.cs index 5daa99f6a1f0..1416b081ed3c 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/SentinelOnboardingState.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/SentinelOnboardingState.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:SentinelOnboardingState"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:SentinelOnboardingState"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/TIDataConnector.cs index 787eff39a486..bc2b1fe7512e 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/TIDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/TIDataConnector.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TIDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TIDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceAlertRule.cs index c52c32b31c50..40d74658cd70 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceAlertRule.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceAlertRule.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceIndicator.cs index 1e116dcf6ba5..e8aee7b8b9b6 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceIndicator.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/ThreatIntelligenceIndicator.cs @@ -102,6 +102,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/TiTaxiiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/TiTaxiiDataConnector.cs index 8e0b006faa0b..65d9c9de5a77 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/TiTaxiiDataConnector.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/TiTaxiiDataConnector.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Ueba.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Ueba.cs index 2da138a1260d..7a27f0f6b7e0 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Ueba.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Ueba.cs @@ -105,6 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Ueba"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Ueba"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/Watchlist.cs index 700571e49e27..d6b944430589 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/Watchlist.cs @@ -216,6 +216,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/WatchlistItem.cs index 7512f2b28491..0056cb8d7f02 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/WatchlistItem.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/WatchlistItem.cs @@ -150,6 +150,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WatchlistItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerAssignment.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerAssignment.cs index 5f12f70c82a5..9305725fd4e8 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerAssignment.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerAssignment.cs @@ -93,6 +93,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerConfiguration.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerConfiguration.cs index 5b9b65a92db6..d4e045cbf7b7 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerConfiguration.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerConfiguration.cs @@ -75,6 +75,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerGroup.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerGroup.cs index 94dca7f25b20..24dc057983f4 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerGroup.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerGroup.cs @@ -87,6 +87,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerMember.cs index 7c9519ca10e8..5fe07b7ca0fa 100644 --- a/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/V20230801Preview/WorkspaceManagerMember.cs @@ -36,8 +36,8 @@ public partial class WorkspaceManagerMember : global::Pulumi.CustomResource /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Output("targetWorkspaceId")] - public Output TargetWorkspaceId { get; private set; } = null!; + [Output("targetWorkspaceResourceId")] + public Output TargetWorkspaceResourceId { get; private set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager @@ -81,6 +81,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -113,8 +114,8 @@ public sealed class WorkspaceManagerMemberArgs : global::Pulumi.ResourceArgs /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Input("targetWorkspaceId", required: true)] - public Input TargetWorkspaceId { get; set; } = null!; + [Input("targetWorkspaceResourceId", required: true)] + public Input TargetWorkspaceResourceId { get; set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/AADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/AADDataConnector.cs new file mode 100644 index 000000000000..10eb235cd484 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/AADDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents AADIP (Azure Active Directory Identity Protection) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:AADDataConnector")] + public partial class AADDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AzureActiveDirectory'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AADDataConnector 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 AADDataConnector(string name, AADDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AADDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private AADDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AADDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static AADDataConnectorArgs MakeArgs(AADDataConnectorArgs args) + { + args ??= new AADDataConnectorArgs(); + args.Kind = "AzureActiveDirectory"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AADDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AADDataConnector"}, + }, + }; + 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 AADDataConnector 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. + /// A bag of options that control this resource's behavior + public static AADDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AADDataConnector(name, id, options); + } + } + + public sealed class AADDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'AzureActiveDirectory'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AADDataConnectorArgs() + { + } + public static new AADDataConnectorArgs Empty => new AADDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/AATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/AATPDataConnector.cs new file mode 100644 index 000000000000..93a9db363910 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/AATPDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents AATP (Azure Advanced Threat Protection) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:AATPDataConnector")] + public partial class AATPDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AzureAdvancedThreatProtection'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AATPDataConnector 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 AATPDataConnector(string name, AATPDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AATPDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private AATPDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AATPDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static AATPDataConnectorArgs MakeArgs(AATPDataConnectorArgs args) + { + args ??= new AATPDataConnectorArgs(); + args.Kind = "AzureAdvancedThreatProtection"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AATPDataConnector"}, + }, + }; + 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 AATPDataConnector 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. + /// A bag of options that control this resource's behavior + public static AATPDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AATPDataConnector(name, id, options); + } + } + + public sealed class AATPDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'AzureAdvancedThreatProtection'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AATPDataConnectorArgs() + { + } + public static new AATPDataConnectorArgs Empty => new AATPDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ASCDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ASCDataConnector.cs new file mode 100644 index 000000000000..039c9727c912 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ASCDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents ASC (Azure Security Center) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ASCDataConnector")] + public partial class ASCDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AzureSecurityCenter'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The subscription id to connect to, and get the data from. + /// + [Output("subscriptionId")] + public Output SubscriptionId { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ASCDataConnector 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 ASCDataConnector(string name, ASCDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ASCDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ASCDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ASCDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static ASCDataConnectorArgs MakeArgs(ASCDataConnectorArgs args) + { + args ??= new ASCDataConnectorArgs(); + args.Kind = "AzureSecurityCenter"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ASCDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ASCDataConnector"}, + }, + }; + 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 ASCDataConnector 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. + /// A bag of options that control this resource's behavior + public static ASCDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ASCDataConnector(name, id, options); + } + } + + public sealed class ASCDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'AzureSecurityCenter'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The subscription id to connect to, and get the data from. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ASCDataConnectorArgs() + { + } + public static new ASCDataConnectorArgs Empty => new ASCDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Action.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Action.cs new file mode 100644 index 000000000000..88103fba384a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Action.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Action for alert rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Action")] + public partial class Action : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + /// + [Output("logicAppResourceId")] + public Output LogicAppResourceId { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The name of the logic app's workflow. + /// + [Output("workflowId")] + public Output WorkflowId { get; private set; } = null!; + + + /// + /// Create a Action 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 Action(string name, ActionArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Action", name, args ?? new ActionArgs(), MakeResourceOptions(options, "")) + { + } + + private Action(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Action", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Action"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Action"}, + }, + }; + 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 Action 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. + /// A bag of options that control this resource's behavior + public static Action Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Action(name, id, options); + } + } + + public sealed class ActionArgs : global::Pulumi.ResourceArgs + { + /// + /// Action ID + /// + [Input("actionId")] + public Input? ActionId { get; set; } + + /// + /// Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + /// + [Input("logicAppResourceId", required: true)] + public Input LogicAppResourceId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// Logic App Callback URL for this specific workflow. + /// + [Input("triggerUri", required: true)] + public Input TriggerUri { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ActionArgs() + { + } + public static new ActionArgs Empty => new ActionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ActivityCustomEntityQuery.cs new file mode 100644 index 000000000000..c738396ac151 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ActivityCustomEntityQuery.cs @@ -0,0 +1,287 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Activity entity query. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery")] + public partial class ActivityCustomEntityQuery : global::Pulumi.CustomResource + { + /// + /// The entity query content to display in timeline + /// + [Output("content")] + public Output Content { get; private set; } = null!; + + /// + /// The time the activity was created + /// + [Output("createdTimeUtc")] + public Output CreatedTimeUtc { get; private set; } = null!; + + /// + /// The entity query description + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Determines whether this activity is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// The query applied only to entities matching to all filters + /// + [Output("entitiesFilter")] + public Output>?> EntitiesFilter { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The type of the query's source entity + /// + [Output("inputEntityType")] + public Output InputEntityType { get; private set; } = null!; + + /// + /// The kind of the entity query + /// Expected value is 'Activity'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time the activity was updated + /// + [Output("lastModifiedTimeUtc")] + public Output LastModifiedTimeUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The Activity query definitions + /// + [Output("queryDefinitions")] + public Output QueryDefinitions { get; private set; } = null!; + + /// + /// List of the fields of the source entity that are required to run the query + /// + [Output("requiredInputFieldsSets")] + public Output>> RequiredInputFieldsSets { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The template id this activity was created from + /// + [Output("templateName")] + public Output TemplateName { get; private set; } = null!; + + /// + /// The entity query title + /// + [Output("title")] + public Output Title { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ActivityCustomEntityQuery 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 ActivityCustomEntityQuery(string name, ActivityCustomEntityQueryArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ActivityCustomEntityQuery(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery", name, null, MakeResourceOptions(options, id)) + { + } + + private static ActivityCustomEntityQueryArgs MakeArgs(ActivityCustomEntityQueryArgs args) + { + args ??= new ActivityCustomEntityQueryArgs(); + args.Kind = "Activity"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"}, + }, + }; + 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 ActivityCustomEntityQuery 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. + /// A bag of options that control this resource's behavior + public static ActivityCustomEntityQuery Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ActivityCustomEntityQuery(name, id, options); + } + } + + public sealed class ActivityCustomEntityQueryArgs : global::Pulumi.ResourceArgs + { + /// + /// The entity query content to display in timeline + /// + [Input("content")] + public Input? Content { get; set; } + + /// + /// The entity query description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Determines whether this activity is enabled or disabled. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + [Input("entitiesFilter")] + private InputMap>? _entitiesFilter; + + /// + /// The query applied only to entities matching to all filters + /// + public InputMap> EntitiesFilter + { + get => _entitiesFilter ?? (_entitiesFilter = new InputMap>()); + set => _entitiesFilter = value; + } + + /// + /// entity query ID + /// + [Input("entityQueryId")] + public Input? EntityQueryId { get; set; } + + /// + /// The type of the query's source entity + /// + [Input("inputEntityType")] + public InputUnion? InputEntityType { get; set; } + + /// + /// The kind of the entity query that supports put request. + /// Expected value is 'Activity'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The Activity query definitions + /// + [Input("queryDefinitions")] + public Input? QueryDefinitions { get; set; } + + [Input("requiredInputFieldsSets")] + private InputList>? _requiredInputFieldsSets; + + /// + /// List of the fields of the source entity that are required to run the query + /// + public InputList> RequiredInputFieldsSets + { + get => _requiredInputFieldsSets ?? (_requiredInputFieldsSets = new InputList>()); + set => _requiredInputFieldsSets = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The template id this activity was created from + /// + [Input("templateName")] + public Input? TemplateName { get; set; } + + /// + /// The entity query title + /// + [Input("title")] + public Input? Title { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ActivityCustomEntityQueryArgs() + { + } + public static new ActivityCustomEntityQueryArgs Empty => new ActivityCustomEntityQueryArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Anomalies.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Anomalies.cs new file mode 100644 index 000000000000..2191d72edaed --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Anomalies.cs @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Settings with single toggle. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Anomalies")] + public partial class Anomalies : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Determines whether the setting is enable or disabled. + /// + [Output("isEnabled")] + public Output IsEnabled { get; private set; } = null!; + + /// + /// The kind of the setting + /// Expected value is 'Anomalies'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Anomalies 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 Anomalies(string name, AnomaliesArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Anomalies", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private Anomalies(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Anomalies", name, null, MakeResourceOptions(options, id)) + { + } + + private static AnomaliesArgs MakeArgs(AnomaliesArgs args) + { + args ??= new AnomaliesArgs(); + args.Kind = "Anomalies"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Anomalies"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Anomalies"}, + }, + }; + 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 Anomalies 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. + /// A bag of options that control this resource's behavior + public static Anomalies Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Anomalies(name, id, options); + } + } + + public sealed class AnomaliesArgs : global::Pulumi.ResourceArgs + { + /// + /// The kind of the setting + /// Expected value is 'Anomalies'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName")] + public Input? SettingsName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AnomaliesArgs() + { + } + public static new AnomaliesArgs Empty => new AnomaliesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/AnomalySecurityMLAnalyticsSettings.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/AnomalySecurityMLAnalyticsSettings.cs new file mode 100644 index 000000000000..8d225d0ed32c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/AnomalySecurityMLAnalyticsSettings.cs @@ -0,0 +1,332 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Anomaly Security ML Analytics Settings + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings")] + public partial class AnomalySecurityMLAnalyticsSettings : global::Pulumi.CustomResource + { + /// + /// The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + /// + [Output("anomalySettingsVersion")] + public Output AnomalySettingsVersion { get; private set; } = null!; + + /// + /// The anomaly version of the AnomalySecurityMLAnalyticsSettings. + /// + [Output("anomalyVersion")] + public Output AnomalyVersion { get; private set; } = null!; + + /// + /// The customizable observations of the AnomalySecurityMLAnalyticsSettings. + /// + [Output("customizableObservations")] + public Output CustomizableObservations { get; private set; } = null!; + + /// + /// The description of the SecurityMLAnalyticsSettings. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for settings created by this SecurityMLAnalyticsSettings. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Determines whether this settings is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The frequency that this SecurityMLAnalyticsSettings will be run. + /// + [Output("frequency")] + public Output Frequency { get; private set; } = null!; + + /// + /// Determines whether this anomaly security ml analytics settings is a default settings + /// + [Output("isDefaultSettings")] + public Output IsDefaultSettings { get; private set; } = null!; + + /// + /// The kind of security ML analytics settings + /// Expected value is 'Anomaly'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this SecurityMLAnalyticsSettings has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The required data sources for this SecurityMLAnalyticsSettings + /// + [Output("requiredDataConnectors")] + public Output> RequiredDataConnectors { get; private set; } = null!; + + /// + /// The anomaly settings definition Id + /// + [Output("settingsDefinitionId")] + public Output SettingsDefinitionId { get; private set; } = null!; + + /// + /// The anomaly SecurityMLAnalyticsSettings status + /// + [Output("settingsStatus")] + public Output SettingsStatus { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tactics of the SecurityMLAnalyticsSettings + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// The techniques of the SecurityMLAnalyticsSettings + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AnomalySecurityMLAnalyticsSettings 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 AnomalySecurityMLAnalyticsSettings(string name, AnomalySecurityMLAnalyticsSettingsArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private AnomalySecurityMLAnalyticsSettings(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings", name, null, MakeResourceOptions(options, id)) + { + } + + private static AnomalySecurityMLAnalyticsSettingsArgs MakeArgs(AnomalySecurityMLAnalyticsSettingsArgs args) + { + args ??= new AnomalySecurityMLAnalyticsSettingsArgs(); + args.Kind = "Anomaly"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"}, + }, + }; + 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 AnomalySecurityMLAnalyticsSettings 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. + /// A bag of options that control this resource's behavior + public static AnomalySecurityMLAnalyticsSettings Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AnomalySecurityMLAnalyticsSettings(name, id, options); + } + } + + public sealed class AnomalySecurityMLAnalyticsSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + /// + [Input("anomalySettingsVersion")] + public Input? AnomalySettingsVersion { get; set; } + + /// + /// The anomaly version of the AnomalySecurityMLAnalyticsSettings. + /// + [Input("anomalyVersion", required: true)] + public Input AnomalyVersion { get; set; } = null!; + + /// + /// The customizable observations of the AnomalySecurityMLAnalyticsSettings. + /// + [Input("customizableObservations")] + public Input? CustomizableObservations { get; set; } + + /// + /// The description of the SecurityMLAnalyticsSettings. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name for settings created by this SecurityMLAnalyticsSettings. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// Determines whether this settings is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The frequency that this SecurityMLAnalyticsSettings will be run. + /// + [Input("frequency", required: true)] + public Input Frequency { get; set; } = null!; + + /// + /// Determines whether this anomaly security ml analytics settings is a default settings + /// + [Input("isDefaultSettings", required: true)] + public Input IsDefaultSettings { get; set; } = null!; + + /// + /// The kind of security ML analytics settings + /// Expected value is 'Anomaly'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + [Input("requiredDataConnectors")] + private InputList? _requiredDataConnectors; + + /// + /// The required data sources for this SecurityMLAnalyticsSettings + /// + public InputList RequiredDataConnectors + { + get => _requiredDataConnectors ?? (_requiredDataConnectors = new InputList()); + set => _requiredDataConnectors = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The anomaly settings definition Id + /// + [Input("settingsDefinitionId")] + public Input? SettingsDefinitionId { get; set; } + + /// + /// Security ML Analytics Settings resource name + /// + [Input("settingsResourceName")] + public Input? SettingsResourceName { get; set; } + + /// + /// The anomaly SecurityMLAnalyticsSettings status + /// + [Input("settingsStatus", required: true)] + public InputUnion SettingsStatus { get; set; } = null!; + + [Input("tactics")] + private InputList>? _tactics; + + /// + /// The tactics of the SecurityMLAnalyticsSettings + /// + public InputList> Tactics + { + get => _tactics ?? (_tactics = new InputList>()); + set => _tactics = value; + } + + [Input("techniques")] + private InputList? _techniques; + + /// + /// The techniques of the SecurityMLAnalyticsSettings + /// + public InputList Techniques + { + get => _techniques ?? (_techniques = new InputList()); + set => _techniques = value; + } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AnomalySecurityMLAnalyticsSettingsArgs() + { + } + public static new AnomalySecurityMLAnalyticsSettingsArgs Empty => new AnomalySecurityMLAnalyticsSettingsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/AutomationRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/AutomationRule.cs new file mode 100644 index 000000000000..1ba6216562dc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/AutomationRule.cs @@ -0,0 +1,213 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:AutomationRule")] + public partial class AutomationRule : global::Pulumi.CustomResource + { + /// + /// The actions to execute when the automation rule is triggered. + /// + [Output("actions")] + public Output> Actions { get; private set; } = null!; + + /// + /// Information on the client (user or application) that made some action + /// + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// The time the automation rule was created. + /// + [Output("createdTimeUtc")] + public Output CreatedTimeUtc { get; private set; } = null!; + + /// + /// The display name of the automation rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Information on the client (user or application) that made some action + /// + [Output("lastModifiedBy")] + public Output LastModifiedBy { get; private set; } = null!; + + /// + /// The last time the automation rule was updated. + /// + [Output("lastModifiedTimeUtc")] + public Output LastModifiedTimeUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The order of execution of the automation rule. + /// + [Output("order")] + public Output Order { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Describes automation rule triggering logic. + /// + [Output("triggeringLogic")] + public Output TriggeringLogic { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AutomationRule 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 AutomationRule(string name, AutomationRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AutomationRule", name, args ?? new AutomationRuleArgs(), MakeResourceOptions(options, "")) + { + } + + private AutomationRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AutomationRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AutomationRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AutomationRule"}, + }, + }; + 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 AutomationRule 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. + /// A bag of options that control this resource's behavior + public static AutomationRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AutomationRule(name, id, options); + } + } + + public sealed class AutomationRuleArgs : global::Pulumi.ResourceArgs + { + [Input("actions", required: true)] + private InputList? _actions; + + /// + /// The actions to execute when the automation rule is triggered. + /// + public InputList Actions + { + get => _actions ?? (_actions = new InputList()); + set => _actions = value; + } + + /// + /// Automation rule ID + /// + [Input("automationRuleId")] + public Input? AutomationRuleId { get; set; } + + /// + /// The display name of the automation rule. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// The order of execution of the automation rule. + /// + [Input("order", required: true)] + public Input Order { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Describes automation rule triggering logic. + /// + [Input("triggeringLogic", required: true)] + public Input TriggeringLogic { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AutomationRuleArgs() + { + } + public static new AutomationRuleArgs Empty => new AutomationRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/AwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/AwsCloudTrailDataConnector.cs new file mode 100644 index 000000000000..4f0b82490d68 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/AwsCloudTrailDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Amazon Web Services CloudTrail data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")] + public partial class AwsCloudTrailDataConnector : global::Pulumi.CustomResource + { + /// + /// The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + /// + [Output("awsRoleArn")] + public Output AwsRoleArn { get; private set; } = null!; + + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AmazonWebServicesCloudTrail'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AwsCloudTrailDataConnector 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 AwsCloudTrailDataConnector(string name, AwsCloudTrailDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private AwsCloudTrailDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static AwsCloudTrailDataConnectorArgs MakeArgs(AwsCloudTrailDataConnectorArgs args) + { + args ??= new AwsCloudTrailDataConnectorArgs(); + args.Kind = "AmazonWebServicesCloudTrail"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"}, + }, + }; + 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 AwsCloudTrailDataConnector 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. + /// A bag of options that control this resource's behavior + public static AwsCloudTrailDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AwsCloudTrailDataConnector(name, id, options); + } + } + + public sealed class AwsCloudTrailDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + /// + [Input("awsRoleArn")] + public Input? AwsRoleArn { get; set; } + + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AmazonWebServicesCloudTrail'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AwsCloudTrailDataConnectorArgs() + { + } + public static new AwsCloudTrailDataConnectorArgs Empty => new AwsCloudTrailDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/AwsS3DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/AwsS3DataConnector.cs new file mode 100644 index 000000000000..38b418467822 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/AwsS3DataConnector.cs @@ -0,0 +1,215 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Amazon Web Services S3 data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:AwsS3DataConnector")] + public partial class AwsS3DataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// The logs destination table name in LogAnalytics. + /// + [Output("destinationTable")] + public Output DestinationTable { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AmazonWebServicesS3'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The Aws Role Arn that is used to access the Aws account. + /// + [Output("roleArn")] + public Output RoleArn { get; private set; } = null!; + + /// + /// The AWS sqs urls for the connector. + /// + [Output("sqsUrls")] + public Output> SqsUrls { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AwsS3DataConnector 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 AwsS3DataConnector(string name, AwsS3DataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AwsS3DataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private AwsS3DataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:AwsS3DataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static AwsS3DataConnectorArgs MakeArgs(AwsS3DataConnectorArgs args) + { + args ??= new AwsS3DataConnectorArgs(); + args.Kind = "AmazonWebServicesS3"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:AwsS3DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:AwsS3DataConnector"}, + }, + }; + 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 AwsS3DataConnector 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. + /// A bag of options that control this resource's behavior + public static AwsS3DataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AwsS3DataConnector(name, id, options); + } + } + + public sealed class AwsS3DataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The logs destination table name in LogAnalytics. + /// + [Input("destinationTable", required: true)] + public Input DestinationTable { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'AmazonWebServicesS3'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The Aws Role Arn that is used to access the Aws account. + /// + [Input("roleArn", required: true)] + public Input RoleArn { get; set; } = null!; + + [Input("sqsUrls", required: true)] + private InputList? _sqsUrls; + + /// + /// The AWS sqs urls for the connector. + /// + public InputList SqsUrls + { + get => _sqsUrls ?? (_sqsUrls = new InputList()); + set => _sqsUrls = value; + } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public AwsS3DataConnectorArgs() + { + } + public static new AwsS3DataConnectorArgs Empty => new AwsS3DataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Bookmark.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Bookmark.cs new file mode 100644 index 000000000000..60686abe3615 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Bookmark.cs @@ -0,0 +1,355 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a bookmark in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Bookmark")] + public partial class Bookmark : global::Pulumi.CustomResource + { + /// + /// The time the bookmark was created + /// + [Output("created")] + public Output Created { get; private set; } = null!; + + /// + /// Describes a user that created the bookmark + /// + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// The display name of the bookmark + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Describes the entity mappings of the bookmark + /// + [Output("entityMappings")] + public Output> EntityMappings { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The bookmark event time + /// + [Output("eventTime")] + public Output EventTime { get; private set; } = null!; + + /// + /// Describes an incident that relates to bookmark + /// + [Output("incidentInfo")] + public Output IncidentInfo { get; private set; } = null!; + + /// + /// List of labels relevant to this bookmark + /// + [Output("labels")] + public Output> Labels { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The notes of the bookmark + /// + [Output("notes")] + public Output Notes { get; private set; } = null!; + + /// + /// The query of the bookmark. + /// + [Output("query")] + public Output Query { get; private set; } = null!; + + /// + /// The end time for the query + /// + [Output("queryEndTime")] + public Output QueryEndTime { get; private set; } = null!; + + /// + /// The query result of the bookmark. + /// + [Output("queryResult")] + public Output QueryResult { get; private set; } = null!; + + /// + /// The start time for the query + /// + [Output("queryStartTime")] + public Output QueryStartTime { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// A list of relevant mitre attacks + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// A list of relevant mitre techniques + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The last time the bookmark was updated + /// + [Output("updated")] + public Output Updated { get; private set; } = null!; + + /// + /// Describes a user that updated the bookmark + /// + [Output("updatedBy")] + public Output UpdatedBy { get; private set; } = null!; + + + /// + /// Create a Bookmark 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 Bookmark(string name, BookmarkArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Bookmark", name, args ?? new BookmarkArgs(), MakeResourceOptions(options, "")) + { + } + + private Bookmark(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Bookmark", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Bookmark"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Bookmark"}, + }, + }; + 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 Bookmark 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. + /// A bag of options that control this resource's behavior + public static Bookmark Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Bookmark(name, id, options); + } + } + + public sealed class BookmarkArgs : global::Pulumi.ResourceArgs + { + /// + /// Bookmark ID + /// + [Input("bookmarkId")] + public Input? BookmarkId { get; set; } + + /// + /// The time the bookmark was created + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// Describes a user that created the bookmark + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// The display name of the bookmark + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [Input("entityMappings")] + private InputList? _entityMappings; + + /// + /// Describes the entity mappings of the bookmark + /// + public InputList EntityMappings + { + get => _entityMappings ?? (_entityMappings = new InputList()); + set => _entityMappings = value; + } + + /// + /// The bookmark event time + /// + [Input("eventTime")] + public Input? EventTime { get; set; } + + /// + /// Describes an incident that relates to bookmark + /// + [Input("incidentInfo")] + public Input? IncidentInfo { get; set; } + + [Input("labels")] + private InputList? _labels; + + /// + /// List of labels relevant to this bookmark + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// The notes of the bookmark + /// + [Input("notes")] + public Input? Notes { get; set; } + + /// + /// The query of the bookmark. + /// + [Input("query", required: true)] + public Input Query { get; set; } = null!; + + /// + /// The end time for the query + /// + [Input("queryEndTime")] + public Input? QueryEndTime { get; set; } + + /// + /// The query result of the bookmark. + /// + [Input("queryResult")] + public Input? QueryResult { get; set; } + + /// + /// The start time for the query + /// + [Input("queryStartTime")] + public Input? QueryStartTime { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tactics")] + private InputList>? _tactics; + + /// + /// A list of relevant mitre attacks + /// + public InputList> Tactics + { + get => _tactics ?? (_tactics = new InputList>()); + set => _tactics = value; + } + + [Input("techniques")] + private InputList? _techniques; + + /// + /// A list of relevant mitre techniques + /// + public InputList Techniques + { + get => _techniques ?? (_techniques = new InputList()); + set => _techniques = value; + } + + /// + /// The last time the bookmark was updated + /// + [Input("updated")] + public Input? Updated { get; set; } + + /// + /// Describes a user that updated the bookmark + /// + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public BookmarkArgs() + { + } + public static new BookmarkArgs Empty => new BookmarkArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/BookmarkRelation.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/BookmarkRelation.cs new file mode 100644 index 000000000000..a316cf73b744 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/BookmarkRelation.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a relation between two resources + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:BookmarkRelation")] + public partial class BookmarkRelation : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource ID of the related resource + /// + [Output("relatedResourceId")] + public Output RelatedResourceId { get; private set; } = null!; + + /// + /// The resource kind of the related resource + /// + [Output("relatedResourceKind")] + public Output RelatedResourceKind { get; private set; } = null!; + + /// + /// The name of the related resource + /// + [Output("relatedResourceName")] + public Output RelatedResourceName { get; private set; } = null!; + + /// + /// The resource type of the related resource + /// + [Output("relatedResourceType")] + public Output RelatedResourceType { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a BookmarkRelation 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 BookmarkRelation(string name, BookmarkRelationArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:BookmarkRelation", name, args ?? new BookmarkRelationArgs(), MakeResourceOptions(options, "")) + { + } + + private BookmarkRelation(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:BookmarkRelation", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:BookmarkRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:BookmarkRelation"}, + }, + }; + 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 BookmarkRelation 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. + /// A bag of options that control this resource's behavior + public static BookmarkRelation Get(string name, Input id, CustomResourceOptions? options = null) + { + return new BookmarkRelation(name, id, options); + } + } + + public sealed class BookmarkRelationArgs : global::Pulumi.ResourceArgs + { + /// + /// Bookmark ID + /// + [Input("bookmarkId", required: true)] + public Input BookmarkId { get; set; } = null!; + + /// + /// The resource ID of the related resource + /// + [Input("relatedResourceId", required: true)] + public Input RelatedResourceId { get; set; } = null!; + + /// + /// Relation Name + /// + [Input("relationName")] + public Input? RelationName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public BookmarkRelationArgs() + { + } + public static new BookmarkRelationArgs Empty => new BookmarkRelationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/CodelessApiPollingDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/CodelessApiPollingDataConnector.cs new file mode 100644 index 000000000000..646981996aa4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/CodelessApiPollingDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Codeless API Polling data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector")] + public partial class CodelessApiPollingDataConnector : global::Pulumi.CustomResource + { + /// + /// Config to describe the instructions blade + /// + [Output("connectorUiConfig")] + public Output ConnectorUiConfig { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'APIPolling'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Config to describe the polling instructions + /// + [Output("pollingConfig")] + public Output PollingConfig { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CodelessApiPollingDataConnector 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 CodelessApiPollingDataConnector(string name, CodelessApiPollingDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private CodelessApiPollingDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static CodelessApiPollingDataConnectorArgs MakeArgs(CodelessApiPollingDataConnectorArgs args) + { + args ??= new CodelessApiPollingDataConnectorArgs(); + args.Kind = "APIPolling"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector"}, + }, + }; + 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 CodelessApiPollingDataConnector 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. + /// A bag of options that control this resource's behavior + public static CodelessApiPollingDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CodelessApiPollingDataConnector(name, id, options); + } + } + + public sealed class CodelessApiPollingDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Config to describe the instructions blade + /// + [Input("connectorUiConfig")] + public Input? ConnectorUiConfig { get; set; } + + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'APIPolling'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Config to describe the polling instructions + /// + [Input("pollingConfig")] + public Input? PollingConfig { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public CodelessApiPollingDataConnectorArgs() + { + } + public static new CodelessApiPollingDataConnectorArgs Empty => new CodelessApiPollingDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/CodelessUiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/CodelessUiDataConnector.cs new file mode 100644 index 000000000000..fd83f727523b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/CodelessUiDataConnector.cs @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Codeless UI data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:CodelessUiDataConnector")] + public partial class CodelessUiDataConnector : global::Pulumi.CustomResource + { + /// + /// Config to describe the instructions blade + /// + [Output("connectorUiConfig")] + public Output ConnectorUiConfig { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'GenericUI'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CodelessUiDataConnector 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 CodelessUiDataConnector(string name, CodelessUiDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:CodelessUiDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private CodelessUiDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:CodelessUiDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static CodelessUiDataConnectorArgs MakeArgs(CodelessUiDataConnectorArgs args) + { + args ??= new CodelessUiDataConnectorArgs(); + args.Kind = "GenericUI"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"}, + }, + }; + 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 CodelessUiDataConnector 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. + /// A bag of options that control this resource's behavior + public static CodelessUiDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CodelessUiDataConnector(name, id, options); + } + } + + public sealed class CodelessUiDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Config to describe the instructions blade + /// + [Input("connectorUiConfig")] + public Input? ConnectorUiConfig { get; set; } + + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'GenericUI'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public CodelessUiDataConnectorArgs() + { + } + public static new CodelessUiDataConnectorArgs Empty => new CodelessUiDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ContentPackage.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ContentPackage.cs new file mode 100644 index 000000000000..d3eec6080bf4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ContentPackage.cs @@ -0,0 +1,401 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a Package in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ContentPackage")] + public partial class ContentPackage : global::Pulumi.CustomResource + { + /// + /// The author of the package + /// + [Output("author")] + public Output Author { get; private set; } = null!; + + /// + /// The categories of the package + /// + [Output("categories")] + public Output Categories { get; private set; } = null!; + + /// + /// The content id of the package + /// + [Output("contentId")] + public Output ContentId { get; private set; } = null!; + + /// + /// The package kind + /// + [Output("contentKind")] + public Output ContentKind { get; private set; } = null!; + + /// + /// Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + /// + [Output("contentProductId")] + public Output ContentProductId { get; private set; } = null!; + + /// + /// The version of the content schema. + /// + [Output("contentSchemaVersion")] + public Output ContentSchemaVersion { get; private set; } = null!; + + /// + /// The support tier of the package + /// + [Output("dependencies")] + public Output Dependencies { get; private set; } = null!; + + /// + /// The description of the package + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name of the package + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// first publish date package item + /// + [Output("firstPublishDate")] + public Output FirstPublishDate { get; private set; } = null!; + + /// + /// the icon identifier. this id can later be fetched from the content metadata + /// + [Output("icon")] + public Output Icon { get; private set; } = null!; + + /// + /// Flag indicates if this package is among the featured list. + /// + [Output("isFeatured")] + public Output IsFeatured { get; private set; } = null!; + + /// + /// Flag indicates if this is a newly published package. + /// + [Output("isNew")] + public Output IsNew { get; private set; } = null!; + + /// + /// Flag indicates if this package is in preview. + /// + [Output("isPreview")] + public Output IsPreview { get; private set; } = null!; + + /// + /// last publish date for the package item + /// + [Output("lastPublishDate")] + public Output LastPublishDate { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Providers for the package item + /// + [Output("providers")] + public Output> Providers { get; private set; } = null!; + + /// + /// The publisher display name of the package + /// + [Output("publisherDisplayName")] + public Output PublisherDisplayName { get; private set; } = null!; + + /// + /// The source of the package + /// + [Output("source")] + public Output Source { get; private set; } = null!; + + /// + /// The support tier of the package + /// + [Output("support")] + public Output Support { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// the tactics the resource covers + /// + [Output("threatAnalysisTactics")] + public Output> ThreatAnalysisTactics { get; private set; } = null!; + + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + [Output("threatAnalysisTechniques")] + public Output> ThreatAnalysisTechniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// the latest version number of the package + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a ContentPackage 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 ContentPackage(string name, ContentPackageArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ContentPackage", name, args ?? new ContentPackageArgs(), MakeResourceOptions(options, "")) + { + } + + private ContentPackage(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ContentPackage", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentPackage"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentPackage"}, + }, + }; + 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 ContentPackage 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. + /// A bag of options that control this resource's behavior + public static ContentPackage Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ContentPackage(name, id, options); + } + } + + public sealed class ContentPackageArgs : global::Pulumi.ResourceArgs + { + /// + /// The author of the package + /// + [Input("author")] + public Input? Author { get; set; } + + /// + /// The categories of the package + /// + [Input("categories")] + public Input? Categories { get; set; } + + /// + /// The content id of the package + /// + [Input("contentId", required: true)] + public Input ContentId { get; set; } = null!; + + /// + /// The package kind + /// + [Input("contentKind", required: true)] + public InputUnion ContentKind { get; set; } = null!; + + /// + /// Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + /// + [Input("contentProductId", required: true)] + public Input ContentProductId { get; set; } = null!; + + /// + /// The version of the content schema. + /// + [Input("contentSchemaVersion")] + public Input? ContentSchemaVersion { get; set; } + + /// + /// The support tier of the package + /// + [Input("dependencies")] + public Input? Dependencies { get; set; } + + /// + /// The description of the package + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name of the package + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// first publish date package item + /// + [Input("firstPublishDate")] + public Input? FirstPublishDate { get; set; } + + /// + /// the icon identifier. this id can later be fetched from the content metadata + /// + [Input("icon")] + public Input? Icon { get; set; } + + /// + /// Flag indicates if this package is among the featured list. + /// + [Input("isFeatured")] + public InputUnion? IsFeatured { get; set; } + + /// + /// Flag indicates if this is a newly published package. + /// + [Input("isNew")] + public InputUnion? IsNew { get; set; } + + /// + /// Flag indicates if this package is in preview. + /// + [Input("isPreview")] + public InputUnion? IsPreview { get; set; } + + /// + /// last publish date for the package item + /// + [Input("lastPublishDate")] + public Input? LastPublishDate { get; set; } + + /// + /// package Id + /// + [Input("packageId")] + public Input? PackageId { get; set; } + + [Input("providers")] + private InputList? _providers; + + /// + /// Providers for the package item + /// + public InputList Providers + { + get => _providers ?? (_providers = new InputList()); + set => _providers = value; + } + + /// + /// The publisher display name of the package + /// + [Input("publisherDisplayName")] + public Input? PublisherDisplayName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The source of the package + /// + [Input("source")] + public Input? Source { get; set; } + + /// + /// The support tier of the package + /// + [Input("support")] + public Input? Support { get; set; } + + [Input("threatAnalysisTactics")] + private InputList? _threatAnalysisTactics; + + /// + /// the tactics the resource covers + /// + public InputList ThreatAnalysisTactics + { + get => _threatAnalysisTactics ?? (_threatAnalysisTactics = new InputList()); + set => _threatAnalysisTactics = value; + } + + [Input("threatAnalysisTechniques")] + private InputList? _threatAnalysisTechniques; + + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + public InputList ThreatAnalysisTechniques + { + get => _threatAnalysisTechniques ?? (_threatAnalysisTechniques = new InputList()); + set => _threatAnalysisTechniques = value; + } + + /// + /// the latest version number of the package + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ContentPackageArgs() + { + } + public static new ContentPackageArgs Empty => new ContentPackageArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ContentTemplate.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ContentTemplate.cs new file mode 100644 index 000000000000..b6286d5a58a4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ContentTemplate.cs @@ -0,0 +1,449 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Template resource definition. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ContentTemplate")] + public partial class ContentTemplate : global::Pulumi.CustomResource + { + /// + /// The creator of the content item. + /// + [Output("author")] + public Output Author { get; private set; } = null!; + + /// + /// Categories for the item + /// + [Output("categories")] + public Output Categories { get; private set; } = null!; + + /// + /// Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + /// + [Output("contentId")] + public Output ContentId { get; private set; } = null!; + + /// + /// The kind of content the template is for. + /// + [Output("contentKind")] + public Output ContentKind { get; private set; } = null!; + + /// + /// Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + /// + [Output("contentProductId")] + public Output ContentProductId { get; private set; } = null!; + + /// + /// Schema version of the content. Can be used to distinguish between different flow based on the schema version + /// + [Output("contentSchemaVersion")] + public Output ContentSchemaVersion { get; private set; } = null!; + + /// + /// The custom version of the content. A optional free text + /// + [Output("customVersion")] + public Output CustomVersion { get; private set; } = null!; + + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + /// + [Output("dependencies")] + public Output Dependencies { get; private set; } = null!; + + /// + /// The display name of the template + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// first publish date content item + /// + [Output("firstPublishDate")] + public Output FirstPublishDate { get; private set; } = null!; + + /// + /// the icon identifier. this id can later be fetched from the content metadata + /// + [Output("icon")] + public Output Icon { get; private set; } = null!; + + /// + /// last publish date for the content item + /// + [Output("lastPublishDate")] + public Output LastPublishDate { get; private set; } = null!; + + /// + /// The JSON of the ARM template to deploy active content + /// + [Output("mainTemplate")] + public Output MainTemplate { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// the package Id contains this template + /// + [Output("packageId")] + public Output PackageId { get; private set; } = null!; + + /// + /// the packageKind of the package contains this template + /// + [Output("packageKind")] + public Output PackageKind { get; private set; } = null!; + + /// + /// the name of the package contains this template + /// + [Output("packageName")] + public Output PackageName { get; private set; } = null!; + + /// + /// Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + /// + [Output("packageVersion")] + public Output PackageVersion { get; private set; } = null!; + + /// + /// preview image file names. These will be taken from the solution artifacts + /// + [Output("previewImages")] + public Output> PreviewImages { get; private set; } = null!; + + /// + /// preview image file names. These will be taken from the solution artifacts. used for dark theme support + /// + [Output("previewImagesDark")] + public Output> PreviewImagesDark { get; private set; } = null!; + + /// + /// Providers for the content item + /// + [Output("providers")] + public Output> Providers { get; private set; } = null!; + + /// + /// Source of the content. This is where/how it was created. + /// + [Output("source")] + public Output Source { get; private set; } = null!; + + /// + /// Support information for the template - type, name, contact information + /// + [Output("support")] + public Output Support { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// the tactics the resource covers + /// + [Output("threatAnalysisTactics")] + public Output> ThreatAnalysisTactics { get; private set; } = null!; + + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + [Output("threatAnalysisTechniques")] + public Output> ThreatAnalysisTechniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a ContentTemplate 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 ContentTemplate(string name, ContentTemplateArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ContentTemplate", name, args ?? new ContentTemplateArgs(), MakeResourceOptions(options, "")) + { + } + + private ContentTemplate(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ContentTemplate", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ContentTemplate"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ContentTemplate"}, + }, + }; + 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 ContentTemplate 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. + /// A bag of options that control this resource's behavior + public static ContentTemplate Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ContentTemplate(name, id, options); + } + } + + public sealed class ContentTemplateArgs : global::Pulumi.ResourceArgs + { + /// + /// The creator of the content item. + /// + [Input("author")] + public Input? Author { get; set; } + + /// + /// Categories for the item + /// + [Input("categories")] + public Input? Categories { get; set; } + + /// + /// Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + /// + [Input("contentId", required: true)] + public Input ContentId { get; set; } = null!; + + /// + /// The kind of content the template is for. + /// + [Input("contentKind", required: true)] + public InputUnion ContentKind { get; set; } = null!; + + /// + /// Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + /// + [Input("contentProductId", required: true)] + public Input ContentProductId { get; set; } = null!; + + /// + /// Schema version of the content. Can be used to distinguish between different flow based on the schema version + /// + [Input("contentSchemaVersion")] + public Input? ContentSchemaVersion { get; set; } + + /// + /// The custom version of the content. A optional free text + /// + [Input("customVersion")] + public Input? CustomVersion { get; set; } + + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + /// + [Input("dependencies")] + public Input? Dependencies { get; set; } + + /// + /// The display name of the template + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// first publish date content item + /// + [Input("firstPublishDate")] + public Input? FirstPublishDate { get; set; } + + /// + /// the icon identifier. this id can later be fetched from the content metadata + /// + [Input("icon")] + public Input? Icon { get; set; } + + /// + /// last publish date for the content item + /// + [Input("lastPublishDate")] + public Input? LastPublishDate { get; set; } + + /// + /// The JSON of the ARM template to deploy active content + /// + [Input("mainTemplate")] + public Input? MainTemplate { get; set; } + + /// + /// the package Id contains this template + /// + [Input("packageId", required: true)] + public Input PackageId { get; set; } = null!; + + /// + /// the packageKind of the package contains this template + /// + [Input("packageKind")] + public InputUnion? PackageKind { get; set; } + + /// + /// the name of the package contains this template + /// + [Input("packageName")] + public Input? PackageName { get; set; } + + /// + /// Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + /// + [Input("packageVersion", required: true)] + public Input PackageVersion { get; set; } = null!; + + [Input("previewImages")] + private InputList? _previewImages; + + /// + /// preview image file names. These will be taken from the solution artifacts + /// + public InputList PreviewImages + { + get => _previewImages ?? (_previewImages = new InputList()); + set => _previewImages = value; + } + + [Input("previewImagesDark")] + private InputList? _previewImagesDark; + + /// + /// preview image file names. These will be taken from the solution artifacts. used for dark theme support + /// + public InputList PreviewImagesDark + { + get => _previewImagesDark ?? (_previewImagesDark = new InputList()); + set => _previewImagesDark = value; + } + + [Input("providers")] + private InputList? _providers; + + /// + /// Providers for the content item + /// + public InputList Providers + { + get => _providers ?? (_providers = new InputList()); + set => _providers = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Source of the content. This is where/how it was created. + /// + [Input("source", required: true)] + public Input Source { get; set; } = null!; + + /// + /// Support information for the template - type, name, contact information + /// + [Input("support")] + public Input? Support { get; set; } + + /// + /// template Id + /// + [Input("templateId")] + public Input? TemplateId { get; set; } + + [Input("threatAnalysisTactics")] + private InputList? _threatAnalysisTactics; + + /// + /// the tactics the resource covers + /// + public InputList ThreatAnalysisTactics + { + get => _threatAnalysisTactics ?? (_threatAnalysisTactics = new InputList()); + set => _threatAnalysisTactics = value; + } + + [Input("threatAnalysisTechniques")] + private InputList? _threatAnalysisTechniques; + + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + public InputList ThreatAnalysisTechniques + { + get => _threatAnalysisTechniques ?? (_threatAnalysisTechniques = new InputList()); + set => _threatAnalysisTechniques = value; + } + + /// + /// Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ContentTemplateArgs() + { + } + public static new ContentTemplateArgs Empty => new ContentTemplateArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/CustomizableConnectorDefinition.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/CustomizableConnectorDefinition.cs new file mode 100644 index 000000000000..5e7f1b90688d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/CustomizableConnectorDefinition.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Connector definition for kind 'Customizable'. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition")] + public partial class CustomizableConnectorDefinition : global::Pulumi.CustomResource + { + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + [Output("connectionsConfig")] + public Output ConnectionsConfig { get; private set; } = null!; + + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + [Output("connectorUiConfig")] + public Output ConnectorUiConfig { get; private set; } = null!; + + /// + /// Gets or sets the connector definition created date in UTC format. + /// + [Output("createdTimeUtc")] + public Output CreatedTimeUtc { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector definitions + /// Expected value is 'Customizable'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// Gets or sets the connector definition last modified date in UTC format. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CustomizableConnectorDefinition 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 CustomizableConnectorDefinition(string name, CustomizableConnectorDefinitionArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private CustomizableConnectorDefinition(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomizableConnectorDefinitionArgs MakeArgs(CustomizableConnectorDefinitionArgs args) + { + args ??= new CustomizableConnectorDefinitionArgs(); + args.Kind = "Customizable"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:CustomizableConnectorDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition"}, + }, + }; + 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 CustomizableConnectorDefinition 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. + /// A bag of options that control this resource's behavior + public static CustomizableConnectorDefinition Get(string name, Input id, CustomResourceOptions? options = null) + { + return new CustomizableConnectorDefinition(name, id, options); + } + } + + public sealed class CustomizableConnectorDefinitionArgs : global::Pulumi.ResourceArgs + { + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + [Input("connectionsConfig")] + public Input? ConnectionsConfig { get; set; } + + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + [Input("connectorUiConfig", required: true)] + public Input ConnectorUiConfig { get; set; } = null!; + + /// + /// Gets or sets the connector definition created date in UTC format. + /// + [Input("createdTimeUtc")] + public Input? CreatedTimeUtc { get; set; } + + /// + /// The data connector definition name. + /// + [Input("dataConnectorDefinitionName")] + public Input? DataConnectorDefinitionName { get; set; } + + /// + /// The kind of the data connector definitions + /// Expected value is 'Customizable'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// Gets or sets the connector definition last modified date in UTC format. + /// + [Input("lastModifiedUtc")] + public Input? LastModifiedUtc { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public CustomizableConnectorDefinitionArgs() + { + } + public static new CustomizableConnectorDefinitionArgs Empty => new CustomizableConnectorDefinitionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Dynamics365DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Dynamics365DataConnector.cs new file mode 100644 index 000000000000..fa966382ca8a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Dynamics365DataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Dynamics365 data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Dynamics365DataConnector")] + public partial class Dynamics365DataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'Dynamics365'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Dynamics365DataConnector 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 Dynamics365DataConnector(string name, Dynamics365DataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Dynamics365DataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private Dynamics365DataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Dynamics365DataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static Dynamics365DataConnectorArgs MakeArgs(Dynamics365DataConnectorArgs args) + { + args ??= new Dynamics365DataConnectorArgs(); + args.Kind = "Dynamics365"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"}, + }, + }; + 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 Dynamics365DataConnector 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. + /// A bag of options that control this resource's behavior + public static Dynamics365DataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Dynamics365DataConnector(name, id, options); + } + } + + public sealed class Dynamics365DataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'Dynamics365'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public Dynamics365DataConnectorArgs() + { + } + public static new Dynamics365DataConnectorArgs Empty => new Dynamics365DataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/EntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/EntityAnalytics.cs new file mode 100644 index 000000000000..2d418cd0d54c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/EntityAnalytics.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Settings with single toggle. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:EntityAnalytics")] + public partial class EntityAnalytics : global::Pulumi.CustomResource + { + /// + /// The relevant entity providers that are synced + /// + [Output("entityProviders")] + public Output> EntityProviders { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the setting + /// Expected value is 'EntityAnalytics'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a EntityAnalytics 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 EntityAnalytics(string name, EntityAnalyticsArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:EntityAnalytics", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private EntityAnalytics(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:EntityAnalytics", name, null, MakeResourceOptions(options, id)) + { + } + + private static EntityAnalyticsArgs MakeArgs(EntityAnalyticsArgs args) + { + args ??= new EntityAnalyticsArgs(); + args.Kind = "EntityAnalytics"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EntityAnalytics"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EntityAnalytics"}, + }, + }; + 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 EntityAnalytics 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. + /// A bag of options that control this resource's behavior + public static EntityAnalytics Get(string name, Input id, CustomResourceOptions? options = null) + { + return new EntityAnalytics(name, id, options); + } + } + + public sealed class EntityAnalyticsArgs : global::Pulumi.ResourceArgs + { + [Input("entityProviders")] + private InputList>? _entityProviders; + + /// + /// The relevant entity providers that are synced + /// + public InputList> EntityProviders + { + get => _entityProviders ?? (_entityProviders = new InputList>()); + set => _entityProviders = value; + } + + /// + /// The kind of the setting + /// Expected value is 'EntityAnalytics'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName")] + public Input? SettingsName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public EntityAnalyticsArgs() + { + } + public static new EntityAnalyticsArgs Empty => new EntityAnalyticsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Enums.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Enums.cs new file mode 100644 index 000000000000..57156c82c4ed --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Enums.cs @@ -0,0 +1,2641 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// The type of the automation rule action. + /// + [EnumType] + public readonly struct ActionType : IEquatable + { + private readonly string _value; + + private ActionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Modify an object's properties + /// + public static ActionType ModifyProperties { get; } = new ActionType("ModifyProperties"); + /// + /// Run a playbook on an object + /// + public static ActionType RunPlaybook { get; } = new ActionType("RunPlaybook"); + /// + /// Add a task to an incident object + /// + public static ActionType AddIncidentTask { get; } = new ActionType("AddIncidentTask"); + + public static bool operator ==(ActionType left, ActionType right) => left.Equals(right); + public static bool operator !=(ActionType left, ActionType right) => !left.Equals(right); + + public static explicit operator string(ActionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ActionType other && Equals(other); + public bool Equals(ActionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Alert detail + /// + [EnumType] + public readonly struct AlertDetail : IEquatable + { + private readonly string _value; + + private AlertDetail(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Alert display name + /// + public static AlertDetail DisplayName { get; } = new AlertDetail("DisplayName"); + /// + /// Alert severity + /// + public static AlertDetail Severity { get; } = new AlertDetail("Severity"); + + public static bool operator ==(AlertDetail left, AlertDetail right) => left.Equals(right); + public static bool operator !=(AlertDetail left, AlertDetail right) => !left.Equals(right); + + public static explicit operator string(AlertDetail value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AlertDetail other && Equals(other); + public bool Equals(AlertDetail other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The V3 alert property + /// + [EnumType] + public readonly struct AlertProperty : IEquatable + { + private readonly string _value; + + private AlertProperty(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Alert's link + /// + public static AlertProperty AlertLink { get; } = new AlertProperty("AlertLink"); + /// + /// Confidence level property + /// + public static AlertProperty ConfidenceLevel { get; } = new AlertProperty("ConfidenceLevel"); + /// + /// Confidence score + /// + public static AlertProperty ConfidenceScore { get; } = new AlertProperty("ConfidenceScore"); + /// + /// Extended links to the alert + /// + public static AlertProperty ExtendedLinks { get; } = new AlertProperty("ExtendedLinks"); + /// + /// Product name alert property + /// + public static AlertProperty ProductName { get; } = new AlertProperty("ProductName"); + /// + /// Provider name alert property + /// + public static AlertProperty ProviderName { get; } = new AlertProperty("ProviderName"); + /// + /// Product component name alert property + /// + public static AlertProperty ProductComponentName { get; } = new AlertProperty("ProductComponentName"); + /// + /// Remediation steps alert property + /// + public static AlertProperty RemediationSteps { get; } = new AlertProperty("RemediationSteps"); + /// + /// Techniques alert property + /// + public static AlertProperty Techniques { get; } = new AlertProperty("Techniques"); + + public static bool operator ==(AlertProperty left, AlertProperty right) => left.Equals(right); + public static bool operator !=(AlertProperty left, AlertProperty right) => !left.Equals(right); + + public static explicit operator string(AlertProperty value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AlertProperty other && Equals(other); + public bool Equals(AlertProperty other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The kind of the alert rule + /// + [EnumType] + public readonly struct AlertRuleKind : IEquatable + { + private readonly string _value; + + private AlertRuleKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AlertRuleKind Scheduled { get; } = new AlertRuleKind("Scheduled"); + public static AlertRuleKind MicrosoftSecurityIncidentCreation { get; } = new AlertRuleKind("MicrosoftSecurityIncidentCreation"); + public static AlertRuleKind Fusion { get; } = new AlertRuleKind("Fusion"); + public static AlertRuleKind MLBehaviorAnalytics { get; } = new AlertRuleKind("MLBehaviorAnalytics"); + public static AlertRuleKind ThreatIntelligence { get; } = new AlertRuleKind("ThreatIntelligence"); + public static AlertRuleKind NRT { get; } = new AlertRuleKind("NRT"); + + public static bool operator ==(AlertRuleKind left, AlertRuleKind right) => left.Equals(right); + public static bool operator !=(AlertRuleKind left, AlertRuleKind right) => !left.Equals(right); + + public static explicit operator string(AlertRuleKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AlertRuleKind other && Equals(other); + public bool Equals(AlertRuleKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The severity for alerts created by this alert rule. + /// + [EnumType] + public readonly struct AlertSeverity : IEquatable + { + private readonly string _value; + + private AlertSeverity(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// High severity + /// + public static AlertSeverity High { get; } = new AlertSeverity("High"); + /// + /// Medium severity + /// + public static AlertSeverity Medium { get; } = new AlertSeverity("Medium"); + /// + /// Low severity + /// + public static AlertSeverity Low { get; } = new AlertSeverity("Low"); + /// + /// Informational severity + /// + public static AlertSeverity Informational { get; } = new AlertSeverity("Informational"); + + public static bool operator ==(AlertSeverity left, AlertSeverity right) => left.Equals(right); + public static bool operator !=(AlertSeverity left, AlertSeverity right) => !left.Equals(right); + + public static explicit operator string(AlertSeverity value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AlertSeverity other && Equals(other); + public bool Equals(AlertSeverity other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The severity for alerts created by this alert rule. + /// + [EnumType] + public readonly struct AttackTactic : IEquatable + { + private readonly string _value; + + private AttackTactic(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AttackTactic Reconnaissance { get; } = new AttackTactic("Reconnaissance"); + public static AttackTactic ResourceDevelopment { get; } = new AttackTactic("ResourceDevelopment"); + public static AttackTactic InitialAccess { get; } = new AttackTactic("InitialAccess"); + public static AttackTactic Execution { get; } = new AttackTactic("Execution"); + public static AttackTactic Persistence { get; } = new AttackTactic("Persistence"); + public static AttackTactic PrivilegeEscalation { get; } = new AttackTactic("PrivilegeEscalation"); + public static AttackTactic DefenseEvasion { get; } = new AttackTactic("DefenseEvasion"); + public static AttackTactic CredentialAccess { get; } = new AttackTactic("CredentialAccess"); + public static AttackTactic Discovery { get; } = new AttackTactic("Discovery"); + public static AttackTactic LateralMovement { get; } = new AttackTactic("LateralMovement"); + public static AttackTactic Collection { get; } = new AttackTactic("Collection"); + public static AttackTactic Exfiltration { get; } = new AttackTactic("Exfiltration"); + public static AttackTactic CommandAndControl { get; } = new AttackTactic("CommandAndControl"); + public static AttackTactic Impact { get; } = new AttackTactic("Impact"); + public static AttackTactic PreAttack { get; } = new AttackTactic("PreAttack"); + public static AttackTactic ImpairProcessControl { get; } = new AttackTactic("ImpairProcessControl"); + public static AttackTactic InhibitResponseFunction { get; } = new AttackTactic("InhibitResponseFunction"); + + public static bool operator ==(AttackTactic left, AttackTactic right) => left.Equals(right); + public static bool operator !=(AttackTactic left, AttackTactic right) => !left.Equals(right); + + public static explicit operator string(AttackTactic value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AttackTactic other && Equals(other); + public bool Equals(AttackTactic other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRuleBooleanConditionSupportedOperator : IEquatable + { + private readonly string _value; + + private AutomationRuleBooleanConditionSupportedOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluates as true if all the item conditions are evaluated as true + /// + public static AutomationRuleBooleanConditionSupportedOperator And { get; } = new AutomationRuleBooleanConditionSupportedOperator("And"); + /// + /// Evaluates as true if at least one of the item conditions are evaluated as true + /// + public static AutomationRuleBooleanConditionSupportedOperator Or { get; } = new AutomationRuleBooleanConditionSupportedOperator("Or"); + + public static bool operator ==(AutomationRuleBooleanConditionSupportedOperator left, AutomationRuleBooleanConditionSupportedOperator right) => left.Equals(right); + public static bool operator !=(AutomationRuleBooleanConditionSupportedOperator left, AutomationRuleBooleanConditionSupportedOperator right) => !left.Equals(right); + + public static explicit operator string(AutomationRuleBooleanConditionSupportedOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRuleBooleanConditionSupportedOperator other && Equals(other); + public bool Equals(AutomationRuleBooleanConditionSupportedOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyArrayChangedConditionSupportedArrayType : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyArrayChangedConditionSupportedArrayType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate the condition on the alerts + /// + public static AutomationRulePropertyArrayChangedConditionSupportedArrayType Alerts { get; } = new AutomationRulePropertyArrayChangedConditionSupportedArrayType("Alerts"); + /// + /// Evaluate the condition on the labels + /// + public static AutomationRulePropertyArrayChangedConditionSupportedArrayType Labels { get; } = new AutomationRulePropertyArrayChangedConditionSupportedArrayType("Labels"); + /// + /// Evaluate the condition on the tactics + /// + public static AutomationRulePropertyArrayChangedConditionSupportedArrayType Tactics { get; } = new AutomationRulePropertyArrayChangedConditionSupportedArrayType("Tactics"); + /// + /// Evaluate the condition on the comments + /// + public static AutomationRulePropertyArrayChangedConditionSupportedArrayType Comments { get; } = new AutomationRulePropertyArrayChangedConditionSupportedArrayType("Comments"); + + public static bool operator ==(AutomationRulePropertyArrayChangedConditionSupportedArrayType left, AutomationRulePropertyArrayChangedConditionSupportedArrayType right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyArrayChangedConditionSupportedArrayType left, AutomationRulePropertyArrayChangedConditionSupportedArrayType right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyArrayChangedConditionSupportedArrayType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyArrayChangedConditionSupportedArrayType other && Equals(other); + public bool Equals(AutomationRulePropertyArrayChangedConditionSupportedArrayType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyArrayChangedConditionSupportedChangeType : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyArrayChangedConditionSupportedChangeType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate the condition on items added to the array + /// + public static AutomationRulePropertyArrayChangedConditionSupportedChangeType Added { get; } = new AutomationRulePropertyArrayChangedConditionSupportedChangeType("Added"); + + public static bool operator ==(AutomationRulePropertyArrayChangedConditionSupportedChangeType left, AutomationRulePropertyArrayChangedConditionSupportedChangeType right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyArrayChangedConditionSupportedChangeType left, AutomationRulePropertyArrayChangedConditionSupportedChangeType right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyArrayChangedConditionSupportedChangeType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyArrayChangedConditionSupportedChangeType other && Equals(other); + public bool Equals(AutomationRulePropertyArrayChangedConditionSupportedChangeType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyArrayConditionSupportedArrayConditionType : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyArrayConditionSupportedArrayConditionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate the condition as true if any item fulfills it + /// + public static AutomationRulePropertyArrayConditionSupportedArrayConditionType AnyItem { get; } = new AutomationRulePropertyArrayConditionSupportedArrayConditionType("AnyItem"); + + public static bool operator ==(AutomationRulePropertyArrayConditionSupportedArrayConditionType left, AutomationRulePropertyArrayConditionSupportedArrayConditionType right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyArrayConditionSupportedArrayConditionType left, AutomationRulePropertyArrayConditionSupportedArrayConditionType right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyArrayConditionSupportedArrayConditionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyArrayConditionSupportedArrayConditionType other && Equals(other); + public bool Equals(AutomationRulePropertyArrayConditionSupportedArrayConditionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyArrayConditionSupportedArrayType : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyArrayConditionSupportedArrayType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate the condition on the custom detail keys + /// + public static AutomationRulePropertyArrayConditionSupportedArrayType CustomDetails { get; } = new AutomationRulePropertyArrayConditionSupportedArrayType("CustomDetails"); + /// + /// Evaluate the condition on a custom detail's values + /// + public static AutomationRulePropertyArrayConditionSupportedArrayType CustomDetailValues { get; } = new AutomationRulePropertyArrayConditionSupportedArrayType("CustomDetailValues"); + + public static bool operator ==(AutomationRulePropertyArrayConditionSupportedArrayType left, AutomationRulePropertyArrayConditionSupportedArrayType right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyArrayConditionSupportedArrayType left, AutomationRulePropertyArrayConditionSupportedArrayType right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyArrayConditionSupportedArrayType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyArrayConditionSupportedArrayType other && Equals(other); + public bool Equals(AutomationRulePropertyArrayConditionSupportedArrayType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyChangedConditionSupportedChangedType : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyChangedConditionSupportedChangedType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate the condition on the previous value of the property + /// + public static AutomationRulePropertyChangedConditionSupportedChangedType ChangedFrom { get; } = new AutomationRulePropertyChangedConditionSupportedChangedType("ChangedFrom"); + /// + /// Evaluate the condition on the updated value of the property + /// + public static AutomationRulePropertyChangedConditionSupportedChangedType ChangedTo { get; } = new AutomationRulePropertyChangedConditionSupportedChangedType("ChangedTo"); + + public static bool operator ==(AutomationRulePropertyChangedConditionSupportedChangedType left, AutomationRulePropertyChangedConditionSupportedChangedType right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyChangedConditionSupportedChangedType left, AutomationRulePropertyChangedConditionSupportedChangedType right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyChangedConditionSupportedChangedType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyChangedConditionSupportedChangedType other && Equals(other); + public bool Equals(AutomationRulePropertyChangedConditionSupportedChangedType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyChangedConditionSupportedPropertyType : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyChangedConditionSupportedPropertyType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate the condition on the incident severity + /// + public static AutomationRulePropertyChangedConditionSupportedPropertyType IncidentSeverity { get; } = new AutomationRulePropertyChangedConditionSupportedPropertyType("IncidentSeverity"); + /// + /// Evaluate the condition on the incident status + /// + public static AutomationRulePropertyChangedConditionSupportedPropertyType IncidentStatus { get; } = new AutomationRulePropertyChangedConditionSupportedPropertyType("IncidentStatus"); + /// + /// Evaluate the condition on the incident owner + /// + public static AutomationRulePropertyChangedConditionSupportedPropertyType IncidentOwner { get; } = new AutomationRulePropertyChangedConditionSupportedPropertyType("IncidentOwner"); + + public static bool operator ==(AutomationRulePropertyChangedConditionSupportedPropertyType left, AutomationRulePropertyChangedConditionSupportedPropertyType right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyChangedConditionSupportedPropertyType left, AutomationRulePropertyChangedConditionSupportedPropertyType right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyChangedConditionSupportedPropertyType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyChangedConditionSupportedPropertyType other && Equals(other); + public bool Equals(AutomationRulePropertyChangedConditionSupportedPropertyType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AutomationRulePropertyConditionSupportedOperator : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyConditionSupportedOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluates if the property equals at least one of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator EqualsValue { get; } = new AutomationRulePropertyConditionSupportedOperator("Equals"); + /// + /// Evaluates if the property does not equal any of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator NotEquals { get; } = new AutomationRulePropertyConditionSupportedOperator("NotEquals"); + /// + /// Evaluates if the property contains at least one of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator Contains { get; } = new AutomationRulePropertyConditionSupportedOperator("Contains"); + /// + /// Evaluates if the property does not contain any of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator NotContains { get; } = new AutomationRulePropertyConditionSupportedOperator("NotContains"); + /// + /// Evaluates if the property starts with any of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator StartsWith { get; } = new AutomationRulePropertyConditionSupportedOperator("StartsWith"); + /// + /// Evaluates if the property does not start with any of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator NotStartsWith { get; } = new AutomationRulePropertyConditionSupportedOperator("NotStartsWith"); + /// + /// Evaluates if the property ends with any of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator EndsWith { get; } = new AutomationRulePropertyConditionSupportedOperator("EndsWith"); + /// + /// Evaluates if the property does not end with any of the condition values + /// + public static AutomationRulePropertyConditionSupportedOperator NotEndsWith { get; } = new AutomationRulePropertyConditionSupportedOperator("NotEndsWith"); + + public static bool operator ==(AutomationRulePropertyConditionSupportedOperator left, AutomationRulePropertyConditionSupportedOperator right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyConditionSupportedOperator left, AutomationRulePropertyConditionSupportedOperator right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyConditionSupportedOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyConditionSupportedOperator other && Equals(other); + public bool Equals(AutomationRulePropertyConditionSupportedOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The property to evaluate in an automation rule property condition. + /// + [EnumType] + public readonly struct AutomationRulePropertyConditionSupportedProperty : IEquatable + { + private readonly string _value; + + private AutomationRulePropertyConditionSupportedProperty(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The title of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentTitle { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentTitle"); + /// + /// The description of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentDescription { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentDescription"); + /// + /// The severity of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentSeverity { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentSeverity"); + /// + /// The status of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentStatus { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentStatus"); + /// + /// The related Analytic rule ids of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentRelatedAnalyticRuleIds { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentRelatedAnalyticRuleIds"); + /// + /// The tactics of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentTactics { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentTactics"); + /// + /// The labels of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentLabel { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentLabel"); + /// + /// The provider name of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentProviderName { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentProviderName"); + /// + /// The update source of the incident + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentUpdatedBySource { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentUpdatedBySource"); + /// + /// The incident custom detail key + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentCustomDetailsKey { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentCustomDetailsKey"); + /// + /// The incident custom detail value + /// + public static AutomationRulePropertyConditionSupportedProperty IncidentCustomDetailsValue { get; } = new AutomationRulePropertyConditionSupportedProperty("IncidentCustomDetailsValue"); + /// + /// The account Azure Active Directory tenant id + /// + public static AutomationRulePropertyConditionSupportedProperty AccountAadTenantId { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountAadTenantId"); + /// + /// The account Azure Active Directory user id + /// + public static AutomationRulePropertyConditionSupportedProperty AccountAadUserId { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountAadUserId"); + /// + /// The account name + /// + public static AutomationRulePropertyConditionSupportedProperty AccountName { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountName"); + /// + /// The account NetBIOS domain name + /// + public static AutomationRulePropertyConditionSupportedProperty AccountNTDomain { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountNTDomain"); + /// + /// The account Azure Active Directory Passport User ID + /// + public static AutomationRulePropertyConditionSupportedProperty AccountPUID { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountPUID"); + /// + /// The account security identifier + /// + public static AutomationRulePropertyConditionSupportedProperty AccountSid { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountSid"); + /// + /// The account unique identifier + /// + public static AutomationRulePropertyConditionSupportedProperty AccountObjectGuid { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountObjectGuid"); + /// + /// The account user principal name suffix + /// + public static AutomationRulePropertyConditionSupportedProperty AccountUPNSuffix { get; } = new AutomationRulePropertyConditionSupportedProperty("AccountUPNSuffix"); + /// + /// The name of the product of the alert + /// + public static AutomationRulePropertyConditionSupportedProperty AlertProductNames { get; } = new AutomationRulePropertyConditionSupportedProperty("AlertProductNames"); + /// + /// The analytic rule ids of the alert + /// + public static AutomationRulePropertyConditionSupportedProperty AlertAnalyticRuleIds { get; } = new AutomationRulePropertyConditionSupportedProperty("AlertAnalyticRuleIds"); + /// + /// The Azure resource id + /// + public static AutomationRulePropertyConditionSupportedProperty AzureResourceResourceId { get; } = new AutomationRulePropertyConditionSupportedProperty("AzureResourceResourceId"); + /// + /// The Azure resource subscription id + /// + public static AutomationRulePropertyConditionSupportedProperty AzureResourceSubscriptionId { get; } = new AutomationRulePropertyConditionSupportedProperty("AzureResourceSubscriptionId"); + /// + /// The cloud application identifier + /// + public static AutomationRulePropertyConditionSupportedProperty CloudApplicationAppId { get; } = new AutomationRulePropertyConditionSupportedProperty("CloudApplicationAppId"); + /// + /// The cloud application name + /// + public static AutomationRulePropertyConditionSupportedProperty CloudApplicationAppName { get; } = new AutomationRulePropertyConditionSupportedProperty("CloudApplicationAppName"); + /// + /// The dns record domain name + /// + public static AutomationRulePropertyConditionSupportedProperty DNSDomainName { get; } = new AutomationRulePropertyConditionSupportedProperty("DNSDomainName"); + /// + /// The file directory full path + /// + public static AutomationRulePropertyConditionSupportedProperty FileDirectory { get; } = new AutomationRulePropertyConditionSupportedProperty("FileDirectory"); + /// + /// The file name without path + /// + public static AutomationRulePropertyConditionSupportedProperty FileName { get; } = new AutomationRulePropertyConditionSupportedProperty("FileName"); + /// + /// The file hash value + /// + public static AutomationRulePropertyConditionSupportedProperty FileHashValue { get; } = new AutomationRulePropertyConditionSupportedProperty("FileHashValue"); + /// + /// The host Azure resource id + /// + public static AutomationRulePropertyConditionSupportedProperty HostAzureID { get; } = new AutomationRulePropertyConditionSupportedProperty("HostAzureID"); + /// + /// The host name without domain + /// + public static AutomationRulePropertyConditionSupportedProperty HostName { get; } = new AutomationRulePropertyConditionSupportedProperty("HostName"); + /// + /// The host NetBIOS name + /// + public static AutomationRulePropertyConditionSupportedProperty HostNetBiosName { get; } = new AutomationRulePropertyConditionSupportedProperty("HostNetBiosName"); + /// + /// The host NT domain + /// + public static AutomationRulePropertyConditionSupportedProperty HostNTDomain { get; } = new AutomationRulePropertyConditionSupportedProperty("HostNTDomain"); + /// + /// The host operating system + /// + public static AutomationRulePropertyConditionSupportedProperty HostOSVersion { get; } = new AutomationRulePropertyConditionSupportedProperty("HostOSVersion"); + /// + /// "The IoT device id + /// + public static AutomationRulePropertyConditionSupportedProperty IoTDeviceId { get; } = new AutomationRulePropertyConditionSupportedProperty("IoTDeviceId"); + /// + /// The IoT device name + /// + public static AutomationRulePropertyConditionSupportedProperty IoTDeviceName { get; } = new AutomationRulePropertyConditionSupportedProperty("IoTDeviceName"); + /// + /// The IoT device type + /// + public static AutomationRulePropertyConditionSupportedProperty IoTDeviceType { get; } = new AutomationRulePropertyConditionSupportedProperty("IoTDeviceType"); + /// + /// The IoT device vendor + /// + public static AutomationRulePropertyConditionSupportedProperty IoTDeviceVendor { get; } = new AutomationRulePropertyConditionSupportedProperty("IoTDeviceVendor"); + /// + /// The IoT device model + /// + public static AutomationRulePropertyConditionSupportedProperty IoTDeviceModel { get; } = new AutomationRulePropertyConditionSupportedProperty("IoTDeviceModel"); + /// + /// The IoT device operating system + /// + public static AutomationRulePropertyConditionSupportedProperty IoTDeviceOperatingSystem { get; } = new AutomationRulePropertyConditionSupportedProperty("IoTDeviceOperatingSystem"); + /// + /// The IP address + /// + public static AutomationRulePropertyConditionSupportedProperty IPAddress { get; } = new AutomationRulePropertyConditionSupportedProperty("IPAddress"); + /// + /// The mailbox display name + /// + public static AutomationRulePropertyConditionSupportedProperty MailboxDisplayName { get; } = new AutomationRulePropertyConditionSupportedProperty("MailboxDisplayName"); + /// + /// The mailbox primary address + /// + public static AutomationRulePropertyConditionSupportedProperty MailboxPrimaryAddress { get; } = new AutomationRulePropertyConditionSupportedProperty("MailboxPrimaryAddress"); + /// + /// The mailbox user principal name + /// + public static AutomationRulePropertyConditionSupportedProperty MailboxUPN { get; } = new AutomationRulePropertyConditionSupportedProperty("MailboxUPN"); + /// + /// The mail message delivery action + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageDeliveryAction { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageDeliveryAction"); + /// + /// The mail message delivery location + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageDeliveryLocation { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageDeliveryLocation"); + /// + /// The mail message recipient + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageRecipient { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageRecipient"); + /// + /// The mail message sender IP address + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageSenderIP { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageSenderIP"); + /// + /// The mail message subject + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageSubject { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageSubject"); + /// + /// The mail message P1 sender + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageP1Sender { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageP1Sender"); + /// + /// The mail message P2 sender + /// + public static AutomationRulePropertyConditionSupportedProperty MailMessageP2Sender { get; } = new AutomationRulePropertyConditionSupportedProperty("MailMessageP2Sender"); + /// + /// The malware category + /// + public static AutomationRulePropertyConditionSupportedProperty MalwareCategory { get; } = new AutomationRulePropertyConditionSupportedProperty("MalwareCategory"); + /// + /// The malware name + /// + public static AutomationRulePropertyConditionSupportedProperty MalwareName { get; } = new AutomationRulePropertyConditionSupportedProperty("MalwareName"); + /// + /// The process execution command line + /// + public static AutomationRulePropertyConditionSupportedProperty ProcessCommandLine { get; } = new AutomationRulePropertyConditionSupportedProperty("ProcessCommandLine"); + /// + /// The process id + /// + public static AutomationRulePropertyConditionSupportedProperty ProcessId { get; } = new AutomationRulePropertyConditionSupportedProperty("ProcessId"); + /// + /// The registry key path + /// + public static AutomationRulePropertyConditionSupportedProperty RegistryKey { get; } = new AutomationRulePropertyConditionSupportedProperty("RegistryKey"); + /// + /// The registry key value in string formatted representation + /// + public static AutomationRulePropertyConditionSupportedProperty RegistryValueData { get; } = new AutomationRulePropertyConditionSupportedProperty("RegistryValueData"); + /// + /// The url + /// + public static AutomationRulePropertyConditionSupportedProperty Url { get; } = new AutomationRulePropertyConditionSupportedProperty("Url"); + + public static bool operator ==(AutomationRulePropertyConditionSupportedProperty left, AutomationRulePropertyConditionSupportedProperty right) => left.Equals(right); + public static bool operator !=(AutomationRulePropertyConditionSupportedProperty left, AutomationRulePropertyConditionSupportedProperty right) => !left.Equals(right); + + public static explicit operator string(AutomationRulePropertyConditionSupportedProperty value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AutomationRulePropertyConditionSupportedProperty other && Equals(other); + public bool Equals(AutomationRulePropertyConditionSupportedProperty other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct ConditionType : IEquatable + { + private readonly string _value; + + private ConditionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Evaluate an object property value + /// + public static ConditionType Property { get; } = new ConditionType("Property"); + /// + /// Evaluate an object array property value + /// + public static ConditionType PropertyArray { get; } = new ConditionType("PropertyArray"); + /// + /// Evaluate an object property changed value + /// + public static ConditionType PropertyChanged { get; } = new ConditionType("PropertyChanged"); + /// + /// Evaluate an object array property changed value + /// + public static ConditionType PropertyArrayChanged { get; } = new ConditionType("PropertyArrayChanged"); + /// + /// Apply a boolean operator (e.g AND, OR) to conditions + /// + public static ConditionType Boolean { get; } = new ConditionType("Boolean"); + + public static bool operator ==(ConditionType left, ConditionType right) => left.Equals(right); + public static bool operator !=(ConditionType left, ConditionType right) => !left.Equals(right); + + public static explicit operator string(ConditionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConditionType other && Equals(other); + public bool Equals(ConditionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// type of connectivity + /// + [EnumType] + public readonly struct ConnectivityType : IEquatable + { + private readonly string _value; + + private ConnectivityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ConnectivityType IsConnectedQuery { get; } = new ConnectivityType("IsConnectedQuery"); + + public static bool operator ==(ConnectivityType left, ConnectivityType right) => left.Equals(right); + public static bool operator !=(ConnectivityType left, ConnectivityType right) => !left.Equals(right); + + public static explicit operator string(ConnectivityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ConnectivityType other && Equals(other); + public bool Equals(ConnectivityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// the entity query kind + /// + [EnumType] + public readonly struct CustomEntityQueryKind : IEquatable + { + private readonly string _value; + + private CustomEntityQueryKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static CustomEntityQueryKind Activity { get; } = new CustomEntityQueryKind("Activity"); + + public static bool operator ==(CustomEntityQueryKind left, CustomEntityQueryKind right) => left.Equals(right); + public static bool operator !=(CustomEntityQueryKind left, CustomEntityQueryKind right) => !left.Equals(right); + + public static explicit operator string(CustomEntityQueryKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CustomEntityQueryKind other && Equals(other); + public bool Equals(CustomEntityQueryKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The data connector kind + /// + [EnumType] + public readonly struct DataConnectorDefinitionKind : IEquatable + { + private readonly string _value; + + private DataConnectorDefinitionKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataConnectorDefinitionKind Customizable { get; } = new DataConnectorDefinitionKind("Customizable"); + + public static bool operator ==(DataConnectorDefinitionKind left, DataConnectorDefinitionKind right) => left.Equals(right); + public static bool operator !=(DataConnectorDefinitionKind left, DataConnectorDefinitionKind right) => !left.Equals(right); + + public static explicit operator string(DataConnectorDefinitionKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataConnectorDefinitionKind other && Equals(other); + public bool Equals(DataConnectorDefinitionKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The data connector kind + /// + [EnumType] + public readonly struct DataConnectorKind : IEquatable + { + private readonly string _value; + + private DataConnectorKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataConnectorKind AzureActiveDirectory { get; } = new DataConnectorKind("AzureActiveDirectory"); + public static DataConnectorKind AzureSecurityCenter { get; } = new DataConnectorKind("AzureSecurityCenter"); + public static DataConnectorKind MicrosoftCloudAppSecurity { get; } = new DataConnectorKind("MicrosoftCloudAppSecurity"); + public static DataConnectorKind ThreatIntelligence { get; } = new DataConnectorKind("ThreatIntelligence"); + public static DataConnectorKind ThreatIntelligenceTaxii { get; } = new DataConnectorKind("ThreatIntelligenceTaxii"); + public static DataConnectorKind Office365 { get; } = new DataConnectorKind("Office365"); + public static DataConnectorKind OfficeATP { get; } = new DataConnectorKind("OfficeATP"); + public static DataConnectorKind OfficeIRM { get; } = new DataConnectorKind("OfficeIRM"); + public static DataConnectorKind Office365Project { get; } = new DataConnectorKind("Office365Project"); + public static DataConnectorKind MicrosoftPurviewInformationProtection { get; } = new DataConnectorKind("MicrosoftPurviewInformationProtection"); + public static DataConnectorKind OfficePowerBI { get; } = new DataConnectorKind("OfficePowerBI"); + public static DataConnectorKind AmazonWebServicesCloudTrail { get; } = new DataConnectorKind("AmazonWebServicesCloudTrail"); + public static DataConnectorKind AmazonWebServicesS3 { get; } = new DataConnectorKind("AmazonWebServicesS3"); + public static DataConnectorKind AzureAdvancedThreatProtection { get; } = new DataConnectorKind("AzureAdvancedThreatProtection"); + public static DataConnectorKind MicrosoftDefenderAdvancedThreatProtection { get; } = new DataConnectorKind("MicrosoftDefenderAdvancedThreatProtection"); + public static DataConnectorKind Dynamics365 { get; } = new DataConnectorKind("Dynamics365"); + public static DataConnectorKind MicrosoftThreatProtection { get; } = new DataConnectorKind("MicrosoftThreatProtection"); + public static DataConnectorKind MicrosoftThreatIntelligence { get; } = new DataConnectorKind("MicrosoftThreatIntelligence"); + public static DataConnectorKind GenericUI { get; } = new DataConnectorKind("GenericUI"); + public static DataConnectorKind APIPolling { get; } = new DataConnectorKind("APIPolling"); + public static DataConnectorKind IOT { get; } = new DataConnectorKind("IOT"); + public static DataConnectorKind GCP { get; } = new DataConnectorKind("GCP"); + + public static bool operator ==(DataConnectorKind left, DataConnectorKind right) => left.Equals(right); + public static bool operator !=(DataConnectorKind left, DataConnectorKind right) => !left.Equals(right); + + public static explicit operator string(DataConnectorKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataConnectorKind other && Equals(other); + public bool Equals(DataConnectorKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describe whether this data type connection is enabled or not. + /// + [EnumType] + public readonly struct DataTypeState : IEquatable + { + private readonly string _value; + + private DataTypeState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static DataTypeState Enabled { get; } = new DataTypeState("Enabled"); + public static DataTypeState Disabled { get; } = new DataTypeState("Disabled"); + + public static bool operator ==(DataTypeState left, DataTypeState right) => left.Equals(right); + public static bool operator !=(DataTypeState left, DataTypeState right) => !left.Equals(right); + + public static explicit operator string(DataTypeState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DataTypeState other && Equals(other); + public bool Equals(DataTypeState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The V3 type of the mapped entity + /// + [EnumType] + public readonly struct EntityMappingType : IEquatable + { + private readonly string _value; + + private EntityMappingType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// User account entity type + /// + public static EntityMappingType Account { get; } = new EntityMappingType("Account"); + /// + /// Host entity type + /// + public static EntityMappingType Host { get; } = new EntityMappingType("Host"); + /// + /// IP address entity type + /// + public static EntityMappingType IP { get; } = new EntityMappingType("IP"); + /// + /// Malware entity type + /// + public static EntityMappingType Malware { get; } = new EntityMappingType("Malware"); + /// + /// System file entity type + /// + public static EntityMappingType File { get; } = new EntityMappingType("File"); + /// + /// Process entity type + /// + public static EntityMappingType Process { get; } = new EntityMappingType("Process"); + /// + /// Cloud app entity type + /// + public static EntityMappingType CloudApplication { get; } = new EntityMappingType("CloudApplication"); + /// + /// DNS entity type + /// + public static EntityMappingType DNS { get; } = new EntityMappingType("DNS"); + /// + /// Azure resource entity type + /// + public static EntityMappingType AzureResource { get; } = new EntityMappingType("AzureResource"); + /// + /// File-hash entity type + /// + public static EntityMappingType FileHash { get; } = new EntityMappingType("FileHash"); + /// + /// Registry key entity type + /// + public static EntityMappingType RegistryKey { get; } = new EntityMappingType("RegistryKey"); + /// + /// Registry value entity type + /// + public static EntityMappingType RegistryValue { get; } = new EntityMappingType("RegistryValue"); + /// + /// Security group entity type + /// + public static EntityMappingType SecurityGroup { get; } = new EntityMappingType("SecurityGroup"); + /// + /// URL entity type + /// + public static EntityMappingType URL { get; } = new EntityMappingType("URL"); + /// + /// Mailbox entity type + /// + public static EntityMappingType Mailbox { get; } = new EntityMappingType("Mailbox"); + /// + /// Mail cluster entity type + /// + public static EntityMappingType MailCluster { get; } = new EntityMappingType("MailCluster"); + /// + /// Mail message entity type + /// + public static EntityMappingType MailMessage { get; } = new EntityMappingType("MailMessage"); + /// + /// Submission mail entity type + /// + public static EntityMappingType SubmissionMail { get; } = new EntityMappingType("SubmissionMail"); + + public static bool operator ==(EntityMappingType left, EntityMappingType right) => left.Equals(right); + public static bool operator !=(EntityMappingType left, EntityMappingType right) => !left.Equals(right); + + public static explicit operator string(EntityMappingType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EntityMappingType other && Equals(other); + public bool Equals(EntityMappingType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The entity provider that is synced. + /// + [EnumType] + public readonly struct EntityProviders : IEquatable + { + private readonly string _value; + + private EntityProviders(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EntityProviders ActiveDirectory { get; } = new EntityProviders("ActiveDirectory"); + public static EntityProviders AzureActiveDirectory { get; } = new EntityProviders("AzureActiveDirectory"); + + public static bool operator ==(EntityProviders left, EntityProviders right) => left.Equals(right); + public static bool operator !=(EntityProviders left, EntityProviders right) => !left.Equals(right); + + public static explicit operator string(EntityProviders value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EntityProviders other && Equals(other); + public bool Equals(EntityProviders other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The entity query kind + /// + [EnumType] + public readonly struct EntityTimelineKind : IEquatable + { + private readonly string _value; + + private EntityTimelineKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// activity + /// + public static EntityTimelineKind Activity { get; } = new EntityTimelineKind("Activity"); + /// + /// bookmarks + /// + public static EntityTimelineKind Bookmark { get; } = new EntityTimelineKind("Bookmark"); + /// + /// security alerts + /// + public static EntityTimelineKind SecurityAlert { get; } = new EntityTimelineKind("SecurityAlert"); + /// + /// anomaly + /// + public static EntityTimelineKind Anomaly { get; } = new EntityTimelineKind("Anomaly"); + + public static bool operator ==(EntityTimelineKind left, EntityTimelineKind right) => left.Equals(right); + public static bool operator !=(EntityTimelineKind left, EntityTimelineKind right) => !left.Equals(right); + + public static explicit operator string(EntityTimelineKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EntityTimelineKind other && Equals(other); + public bool Equals(EntityTimelineKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the query's source entity + /// + [EnumType] + public readonly struct EntityType : IEquatable + { + private readonly string _value; + + private EntityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Entity represents account in the system. + /// + public static EntityType Account { get; } = new EntityType("Account"); + /// + /// Entity represents host in the system. + /// + public static EntityType Host { get; } = new EntityType("Host"); + /// + /// Entity represents file in the system. + /// + public static EntityType File { get; } = new EntityType("File"); + /// + /// Entity represents azure resource in the system. + /// + public static EntityType AzureResource { get; } = new EntityType("AzureResource"); + /// + /// Entity represents cloud application in the system. + /// + public static EntityType CloudApplication { get; } = new EntityType("CloudApplication"); + /// + /// Entity represents dns in the system. + /// + public static EntityType DNS { get; } = new EntityType("DNS"); + /// + /// Entity represents file hash in the system. + /// + public static EntityType FileHash { get; } = new EntityType("FileHash"); + /// + /// Entity represents ip in the system. + /// + public static EntityType IP { get; } = new EntityType("IP"); + /// + /// Entity represents malware in the system. + /// + public static EntityType Malware { get; } = new EntityType("Malware"); + /// + /// Entity represents process in the system. + /// + public static EntityType Process { get; } = new EntityType("Process"); + /// + /// Entity represents registry key in the system. + /// + public static EntityType RegistryKey { get; } = new EntityType("RegistryKey"); + /// + /// Entity represents registry value in the system. + /// + public static EntityType RegistryValue { get; } = new EntityType("RegistryValue"); + /// + /// Entity represents security group in the system. + /// + public static EntityType SecurityGroup { get; } = new EntityType("SecurityGroup"); + /// + /// Entity represents url in the system. + /// + public static EntityType URL { get; } = new EntityType("URL"); + /// + /// Entity represents IoT device in the system. + /// + public static EntityType IoTDevice { get; } = new EntityType("IoTDevice"); + /// + /// Entity represents security alert in the system. + /// + public static EntityType SecurityAlert { get; } = new EntityType("SecurityAlert"); + /// + /// Entity represents HuntingBookmark in the system. + /// + public static EntityType HuntingBookmark { get; } = new EntityType("HuntingBookmark"); + /// + /// Entity represents mail cluster in the system. + /// + public static EntityType MailCluster { get; } = new EntityType("MailCluster"); + /// + /// Entity represents mail message in the system. + /// + public static EntityType MailMessage { get; } = new EntityType("MailMessage"); + /// + /// Entity represents mailbox in the system. + /// + public static EntityType Mailbox { get; } = new EntityType("Mailbox"); + /// + /// Entity represents submission mail in the system. + /// + public static EntityType SubmissionMail { get; } = new EntityType("SubmissionMail"); + /// + /// Entity represents network interface in the system. + /// + public static EntityType Nic { get; } = new EntityType("Nic"); + + public static bool operator ==(EntityType left, EntityType right) => left.Equals(right); + public static bool operator !=(EntityType left, EntityType right) => !left.Equals(right); + + public static explicit operator string(EntityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EntityType other && Equals(other); + public bool Equals(EntityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The event grouping aggregation kinds + /// + [EnumType] + public readonly struct EventGroupingAggregationKind : IEquatable + { + private readonly string _value; + + private EventGroupingAggregationKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EventGroupingAggregationKind SingleAlert { get; } = new EventGroupingAggregationKind("SingleAlert"); + public static EventGroupingAggregationKind AlertPerResult { get; } = new EventGroupingAggregationKind("AlertPerResult"); + + public static bool operator ==(EventGroupingAggregationKind left, EventGroupingAggregationKind right) => left.Equals(right); + public static bool operator !=(EventGroupingAggregationKind left, EventGroupingAggregationKind right) => !left.Equals(right); + + public static explicit operator string(EventGroupingAggregationKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EventGroupingAggregationKind other && Equals(other); + public bool Equals(EventGroupingAggregationKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The format of the file + /// + [EnumType] + public readonly struct FileFormat : IEquatable + { + private readonly string _value; + + private FileFormat(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// A CSV file. + /// + public static FileFormat CSV { get; } = new FileFormat("CSV"); + /// + /// A JSON file. + /// + public static FileFormat JSON { get; } = new FileFormat("JSON"); + /// + /// A file of other format. + /// + public static FileFormat Unspecified { get; } = new FileFormat("Unspecified"); + + public static bool operator ==(FileFormat left, FileFormat right) => left.Equals(right); + public static bool operator !=(FileFormat left, FileFormat right) => !left.Equals(right); + + public static explicit operator string(FileFormat value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is FileFormat other && Equals(other); + public bool Equals(FileFormat other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The content type of this file. + /// + [EnumType] + public readonly struct FileImportContentType : IEquatable + { + private readonly string _value; + + private FileImportContentType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. + /// + public static FileImportContentType BasicIndicator { get; } = new FileImportContentType("BasicIndicator"); + /// + /// File containing STIX indicators. + /// + public static FileImportContentType StixIndicator { get; } = new FileImportContentType("StixIndicator"); + /// + /// File containing other records. + /// + public static FileImportContentType Unspecified { get; } = new FileImportContentType("Unspecified"); + + public static bool operator ==(FileImportContentType left, FileImportContentType right) => left.Equals(right); + public static bool operator !=(FileImportContentType left, FileImportContentType right) => !left.Equals(right); + + public static explicit operator string(FileImportContentType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is FileImportContentType other && Equals(other); + public bool Equals(FileImportContentType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Flag indicates if this package is in preview. + /// + [EnumType] + public readonly struct Flag : IEquatable + { + private readonly string _value; + + private Flag(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Flag @True { get; } = new Flag("true"); + public static Flag @False { get; } = new Flag("false"); + + public static bool operator ==(Flag left, Flag right) => left.Equals(right); + public static bool operator !=(Flag left, Flag right) => !left.Equals(right); + + public static explicit operator string(Flag value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Flag other && Equals(other); + public bool Equals(Flag other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The hypothesis status of the hunt. + /// + [EnumType] + public readonly struct HypothesisStatus : IEquatable + { + private readonly string _value; + + private HypothesisStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static HypothesisStatus Unknown { get; } = new HypothesisStatus("Unknown"); + public static HypothesisStatus Invalidated { get; } = new HypothesisStatus("Invalidated"); + public static HypothesisStatus Validated { get; } = new HypothesisStatus("Validated"); + + public static bool operator ==(HypothesisStatus left, HypothesisStatus right) => left.Equals(right); + public static bool operator !=(HypothesisStatus left, HypothesisStatus right) => !left.Equals(right); + + public static explicit operator string(HypothesisStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HypothesisStatus other && Equals(other); + public bool Equals(HypothesisStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The reason the incident was closed + /// + [EnumType] + public readonly struct IncidentClassification : IEquatable + { + private readonly string _value; + + private IncidentClassification(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Incident classification was undetermined + /// + public static IncidentClassification Undetermined { get; } = new IncidentClassification("Undetermined"); + /// + /// Incident was true positive + /// + public static IncidentClassification TruePositive { get; } = new IncidentClassification("TruePositive"); + /// + /// Incident was benign positive + /// + public static IncidentClassification BenignPositive { get; } = new IncidentClassification("BenignPositive"); + /// + /// Incident was false positive + /// + public static IncidentClassification FalsePositive { get; } = new IncidentClassification("FalsePositive"); + + public static bool operator ==(IncidentClassification left, IncidentClassification right) => left.Equals(right); + public static bool operator !=(IncidentClassification left, IncidentClassification right) => !left.Equals(right); + + public static explicit operator string(IncidentClassification value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IncidentClassification other && Equals(other); + public bool Equals(IncidentClassification other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The classification reason the incident was closed with + /// + [EnumType] + public readonly struct IncidentClassificationReason : IEquatable + { + private readonly string _value; + + private IncidentClassificationReason(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Classification reason was suspicious activity + /// + public static IncidentClassificationReason SuspiciousActivity { get; } = new IncidentClassificationReason("SuspiciousActivity"); + /// + /// Classification reason was suspicious but expected + /// + public static IncidentClassificationReason SuspiciousButExpected { get; } = new IncidentClassificationReason("SuspiciousButExpected"); + /// + /// Classification reason was incorrect alert logic + /// + public static IncidentClassificationReason IncorrectAlertLogic { get; } = new IncidentClassificationReason("IncorrectAlertLogic"); + /// + /// Classification reason was inaccurate data + /// + public static IncidentClassificationReason InaccurateData { get; } = new IncidentClassificationReason("InaccurateData"); + + public static bool operator ==(IncidentClassificationReason left, IncidentClassificationReason right) => left.Equals(right); + public static bool operator !=(IncidentClassificationReason left, IncidentClassificationReason right) => !left.Equals(right); + + public static explicit operator string(IncidentClassificationReason value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IncidentClassificationReason other && Equals(other); + public bool Equals(IncidentClassificationReason other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The severity of the incident + /// + [EnumType] + public readonly struct IncidentSeverity : IEquatable + { + private readonly string _value; + + private IncidentSeverity(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// High severity + /// + public static IncidentSeverity High { get; } = new IncidentSeverity("High"); + /// + /// Medium severity + /// + public static IncidentSeverity Medium { get; } = new IncidentSeverity("Medium"); + /// + /// Low severity + /// + public static IncidentSeverity Low { get; } = new IncidentSeverity("Low"); + /// + /// Informational severity + /// + public static IncidentSeverity Informational { get; } = new IncidentSeverity("Informational"); + + public static bool operator ==(IncidentSeverity left, IncidentSeverity right) => left.Equals(right); + public static bool operator !=(IncidentSeverity left, IncidentSeverity right) => !left.Equals(right); + + public static explicit operator string(IncidentSeverity value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IncidentSeverity other && Equals(other); + public bool Equals(IncidentSeverity other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The status of the incident + /// + [EnumType] + public readonly struct IncidentStatus : IEquatable + { + private readonly string _value; + + private IncidentStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// An active incident which isn't being handled currently + /// + public static IncidentStatus New { get; } = new IncidentStatus("New"); + /// + /// An active incident which is being handled + /// + public static IncidentStatus Active { get; } = new IncidentStatus("Active"); + /// + /// A non-active incident + /// + public static IncidentStatus Closed { get; } = new IncidentStatus("Closed"); + + public static bool operator ==(IncidentStatus left, IncidentStatus right) => left.Equals(right); + public static bool operator !=(IncidentStatus left, IncidentStatus right) => !left.Equals(right); + + public static explicit operator string(IncidentStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IncidentStatus other && Equals(other); + public bool Equals(IncidentStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct IncidentTaskStatus : IEquatable + { + private readonly string _value; + + private IncidentTaskStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// A new task + /// + public static IncidentTaskStatus New { get; } = new IncidentTaskStatus("New"); + /// + /// A completed task + /// + public static IncidentTaskStatus Completed { get; } = new IncidentTaskStatus("Completed"); + + public static bool operator ==(IncidentTaskStatus left, IncidentTaskStatus right) => left.Equals(right); + public static bool operator !=(IncidentTaskStatus left, IncidentTaskStatus right) => !left.Equals(right); + + public static explicit operator string(IncidentTaskStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IncidentTaskStatus other && Equals(other); + public bool Equals(IncidentTaskStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes how to ingest the records in the file. + /// + [EnumType] + public readonly struct IngestionMode : IEquatable + { + private readonly string _value; + + private IngestionMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// No records should be ingested when invalid records are detected. + /// + public static IngestionMode IngestOnlyIfAllAreValid { get; } = new IngestionMode("IngestOnlyIfAllAreValid"); + /// + /// Valid records should still be ingested when invalid records are detected. + /// + public static IngestionMode IngestAnyValidRecords { get; } = new IngestionMode("IngestAnyValidRecords"); + /// + /// Unspecified + /// + public static IngestionMode Unspecified { get; } = new IngestionMode("Unspecified"); + + public static bool operator ==(IngestionMode left, IngestionMode right) => left.Equals(right); + public static bool operator !=(IngestionMode left, IngestionMode right) => !left.Equals(right); + + public static explicit operator string(IngestionMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IngestionMode other && Equals(other); + public bool Equals(IngestionMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the content item we depend on + /// + [EnumType] + public readonly struct Kind : IEquatable + { + private readonly string _value; + + private Kind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Kind DataConnector { get; } = new Kind("DataConnector"); + public static Kind DataType { get; } = new Kind("DataType"); + public static Kind Workbook { get; } = new Kind("Workbook"); + public static Kind WorkbookTemplate { get; } = new Kind("WorkbookTemplate"); + public static Kind Playbook { get; } = new Kind("Playbook"); + public static Kind PlaybookTemplate { get; } = new Kind("PlaybookTemplate"); + public static Kind AnalyticsRuleTemplate { get; } = new Kind("AnalyticsRuleTemplate"); + public static Kind AnalyticsRule { get; } = new Kind("AnalyticsRule"); + public static Kind HuntingQuery { get; } = new Kind("HuntingQuery"); + public static Kind InvestigationQuery { get; } = new Kind("InvestigationQuery"); + public static Kind Parser { get; } = new Kind("Parser"); + public static Kind Watchlist { get; } = new Kind("Watchlist"); + public static Kind WatchlistTemplate { get; } = new Kind("WatchlistTemplate"); + public static Kind Solution { get; } = new Kind("Solution"); + public static Kind AzureFunction { get; } = new Kind("AzureFunction"); + public static Kind LogicAppsCustomConnector { get; } = new Kind("LogicAppsCustomConnector"); + public static Kind AutomationRule { get; } = new Kind("AutomationRule"); + + public static bool operator ==(Kind left, Kind right) => left.Equals(right); + public static bool operator !=(Kind left, Kind right) => !left.Equals(right); + + public static explicit operator string(Kind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Kind other && Equals(other); + public bool Equals(Kind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + /// + [EnumType] + public readonly struct MatchingMethod : IEquatable + { + private readonly string _value; + + private MatchingMethod(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Grouping alerts into a single incident if all the entities match + /// + public static MatchingMethod AllEntities { get; } = new MatchingMethod("AllEntities"); + /// + /// Grouping any alerts triggered by this rule into a single incident + /// + public static MatchingMethod AnyAlert { get; } = new MatchingMethod("AnyAlert"); + /// + /// Grouping alerts into a single incident if the selected entities, custom details and alert details match + /// + public static MatchingMethod Selected { get; } = new MatchingMethod("Selected"); + + public static bool operator ==(MatchingMethod left, MatchingMethod right) => left.Equals(right); + public static bool operator !=(MatchingMethod left, MatchingMethod right) => !left.Equals(right); + + public static explicit operator string(MatchingMethod value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MatchingMethod other && Equals(other); + public bool Equals(MatchingMethod other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The alerts' productName on which the cases will be generated + /// + [EnumType] + public readonly struct MicrosoftSecurityProductName : IEquatable + { + private readonly string _value; + + private MicrosoftSecurityProductName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MicrosoftSecurityProductName Microsoft_Cloud_App_Security { get; } = new MicrosoftSecurityProductName("Microsoft Cloud App Security"); + public static MicrosoftSecurityProductName Azure_Security_Center { get; } = new MicrosoftSecurityProductName("Azure Security Center"); + public static MicrosoftSecurityProductName Azure_Advanced_Threat_Protection { get; } = new MicrosoftSecurityProductName("Azure Advanced Threat Protection"); + public static MicrosoftSecurityProductName Azure_Active_Directory_Identity_Protection { get; } = new MicrosoftSecurityProductName("Azure Active Directory Identity Protection"); + public static MicrosoftSecurityProductName Azure_Security_Center_for_IoT { get; } = new MicrosoftSecurityProductName("Azure Security Center for IoT"); + public static MicrosoftSecurityProductName Office_365_Advanced_Threat_Protection { get; } = new MicrosoftSecurityProductName("Office 365 Advanced Threat Protection"); + public static MicrosoftSecurityProductName Microsoft_Defender_Advanced_Threat_Protection { get; } = new MicrosoftSecurityProductName("Microsoft Defender Advanced Threat Protection"); + + public static bool operator ==(MicrosoftSecurityProductName left, MicrosoftSecurityProductName right) => left.Equals(right); + public static bool operator !=(MicrosoftSecurityProductName left, MicrosoftSecurityProductName right) => !left.Equals(right); + + public static explicit operator string(MicrosoftSecurityProductName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MicrosoftSecurityProductName other && Equals(other); + public bool Equals(MicrosoftSecurityProductName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The current mode of the workspace manager configuration + /// + [EnumType] + public readonly struct Mode : IEquatable + { + private readonly string _value; + + private Mode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The workspace manager configuration is enabled + /// + public static Mode Enabled { get; } = new Mode("Enabled"); + /// + /// The workspace manager configuration is disabled + /// + public static Mode Disabled { get; } = new Mode("Disabled"); + + public static bool operator ==(Mode left, Mode right) => left.Equals(right); + public static bool operator !=(Mode left, Mode right) => !left.Equals(right); + + public static explicit operator string(Mode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Mode other && Equals(other); + public bool Equals(Mode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The available data providers. + /// + [EnumType] + public readonly struct MtpProvider : IEquatable + { + private readonly string _value; + + private MtpProvider(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static MtpProvider MicrosoftDefenderForCloudApps { get; } = new MtpProvider("microsoftDefenderForCloudApps"); + public static MtpProvider MicrosoftDefenderForIdentity { get; } = new MtpProvider("microsoftDefenderForIdentity"); + + public static bool operator ==(MtpProvider left, MtpProvider right) => left.Equals(right); + public static bool operator !=(MtpProvider left, MtpProvider right) => !left.Equals(right); + + public static explicit operator string(MtpProvider value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is MtpProvider other && Equals(other); + public bool Equals(MtpProvider other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Operator used for list of dependencies in criteria array. + /// + [EnumType] + public readonly struct Operator : IEquatable + { + private readonly string _value; + + private Operator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Operator AND { get; } = new Operator("AND"); + public static Operator OR { get; } = new Operator("OR"); + + public static bool operator ==(Operator left, Operator right) => left.Equals(right); + public static bool operator !=(Operator left, Operator right) => !left.Equals(right); + + public static explicit operator string(Operator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Operator other && Equals(other); + public bool Equals(Operator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the owner the incident is assigned to. + /// + [EnumType] + public readonly struct OwnerType : IEquatable + { + private readonly string _value; + + private OwnerType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The incident owner type is unknown + /// + public static OwnerType Unknown { get; } = new OwnerType("Unknown"); + /// + /// The incident owner type is an AAD user + /// + public static OwnerType User { get; } = new OwnerType("User"); + /// + /// The incident owner type is an AAD group + /// + public static OwnerType Group { get; } = new OwnerType("Group"); + + public static bool operator ==(OwnerType left, OwnerType right) => left.Equals(right); + public static bool operator !=(OwnerType left, OwnerType right) => !left.Equals(right); + + public static explicit operator string(OwnerType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OwnerType other && Equals(other); + public bool Equals(OwnerType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// the packageKind of the package contains this template + /// + [EnumType] + public readonly struct PackageKind : IEquatable + { + private readonly string _value; + + private PackageKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PackageKind Solution { get; } = new PackageKind("Solution"); + public static PackageKind Standalone { get; } = new PackageKind("Standalone"); + + public static bool operator ==(PackageKind left, PackageKind right) => left.Equals(right); + public static bool operator !=(PackageKind left, PackageKind right) => !left.Equals(right); + + public static explicit operator string(PackageKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PackageKind other && Equals(other); + public bool Equals(PackageKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Permission provider scope + /// + [EnumType] + public readonly struct PermissionProviderScope : IEquatable + { + private readonly string _value; + + private PermissionProviderScope(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PermissionProviderScope ResourceGroup { get; } = new PermissionProviderScope("ResourceGroup"); + public static PermissionProviderScope Subscription { get; } = new PermissionProviderScope("Subscription"); + public static PermissionProviderScope Workspace { get; } = new PermissionProviderScope("Workspace"); + + public static bool operator ==(PermissionProviderScope left, PermissionProviderScope right) => left.Equals(right); + public static bool operator !=(PermissionProviderScope left, PermissionProviderScope right) => !left.Equals(right); + + public static explicit operator string(PermissionProviderScope value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PermissionProviderScope other && Equals(other); + public bool Equals(PermissionProviderScope other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The polling frequency for the TAXII server. + /// + [EnumType] + public readonly struct PollingFrequency : IEquatable + { + private readonly string _value; + + private PollingFrequency(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Once a minute + /// + public static PollingFrequency OnceAMinute { get; } = new PollingFrequency("OnceAMinute"); + /// + /// Once an hour + /// + public static PollingFrequency OnceAnHour { get; } = new PollingFrequency("OnceAnHour"); + /// + /// Once a day + /// + public static PollingFrequency OnceADay { get; } = new PollingFrequency("OnceADay"); + + public static bool operator ==(PollingFrequency left, PollingFrequency right) => left.Equals(right); + public static bool operator !=(PollingFrequency left, PollingFrequency right) => !left.Equals(right); + + public static explicit operator string(PollingFrequency value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PollingFrequency other && Equals(other); + public bool Equals(PollingFrequency other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Provider name + /// + [EnumType] + public readonly struct ProviderName : IEquatable + { + private readonly string _value; + + private ProviderName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ProviderName Microsoft_OperationalInsights_solutions { get; } = new ProviderName("Microsoft.OperationalInsights/solutions"); + public static ProviderName Microsoft_OperationalInsights_workspaces { get; } = new ProviderName("Microsoft.OperationalInsights/workspaces"); + public static ProviderName Microsoft_OperationalInsights_workspaces_datasources { get; } = new ProviderName("Microsoft.OperationalInsights/workspaces/datasources"); + public static ProviderName Microsoft_aadiam_diagnosticSettings { get; } = new ProviderName("microsoft.aadiam/diagnosticSettings"); + public static ProviderName Microsoft_OperationalInsights_workspaces_sharedKeys { get; } = new ProviderName("Microsoft.OperationalInsights/workspaces/sharedKeys"); + public static ProviderName Microsoft_Authorization_policyAssignments { get; } = new ProviderName("Microsoft.Authorization/policyAssignments"); + + public static bool operator ==(ProviderName left, ProviderName right) => left.Equals(right); + public static bool operator !=(ProviderName left, ProviderName right) => !left.Equals(right); + + public static explicit operator string(ProviderName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ProviderName other && Equals(other); + public bool Equals(ProviderName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The scope on which the user should have permissions, in order to be able to create connections. + /// + [EnumType] + public readonly struct ProviderPermissionsScope : IEquatable + { + private readonly string _value; + + private ProviderPermissionsScope(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ProviderPermissionsScope Subscription { get; } = new ProviderPermissionsScope("Subscription"); + public static ProviderPermissionsScope ResourceGroup { get; } = new ProviderPermissionsScope("ResourceGroup"); + public static ProviderPermissionsScope Workspace { get; } = new ProviderPermissionsScope("Workspace"); + + public static bool operator ==(ProviderPermissionsScope left, ProviderPermissionsScope right) => left.Equals(right); + public static bool operator !=(ProviderPermissionsScope left, ProviderPermissionsScope right) => !left.Equals(right); + + public static explicit operator string(ProviderPermissionsScope value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ProviderPermissionsScope other && Equals(other); + public bool Equals(ProviderPermissionsScope other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The kind of security ML Analytics Settings + /// + [EnumType] + public readonly struct SecurityMLAnalyticsSettingsKind : IEquatable + { + private readonly string _value; + + private SecurityMLAnalyticsSettingsKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SecurityMLAnalyticsSettingsKind Anomaly { get; } = new SecurityMLAnalyticsSettingsKind("Anomaly"); + + public static bool operator ==(SecurityMLAnalyticsSettingsKind left, SecurityMLAnalyticsSettingsKind right) => left.Equals(right); + public static bool operator !=(SecurityMLAnalyticsSettingsKind left, SecurityMLAnalyticsSettingsKind right) => !left.Equals(right); + + public static explicit operator string(SecurityMLAnalyticsSettingsKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityMLAnalyticsSettingsKind other && Equals(other); + public bool Equals(SecurityMLAnalyticsSettingsKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The kind of the setting + /// + [EnumType] + public readonly struct SettingKind : IEquatable + { + private readonly string _value; + + private SettingKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SettingKind Anomalies { get; } = new SettingKind("Anomalies"); + public static SettingKind EyesOn { get; } = new SettingKind("EyesOn"); + public static SettingKind EntityAnalytics { get; } = new SettingKind("EntityAnalytics"); + public static SettingKind Ueba { get; } = new SettingKind("Ueba"); + + public static bool operator ==(SettingKind left, SettingKind right) => left.Equals(right); + public static bool operator !=(SettingKind left, SettingKind right) => !left.Equals(right); + + public static explicit operator string(SettingKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SettingKind other && Equals(other); + public bool Equals(SettingKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The kind of the setting + /// + [EnumType] + public readonly struct SettingType : IEquatable + { + private readonly string _value; + + private SettingType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SettingType CopyableLabel { get; } = new SettingType("CopyableLabel"); + public static SettingType InstructionStepsGroup { get; } = new SettingType("InstructionStepsGroup"); + public static SettingType InfoMessage { get; } = new SettingType("InfoMessage"); + + public static bool operator ==(SettingType left, SettingType right) => left.Equals(right); + public static bool operator !=(SettingType left, SettingType right) => !left.Equals(right); + + public static explicit operator string(SettingType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SettingType other && Equals(other); + public bool Equals(SettingType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The anomaly SecurityMLAnalyticsSettings status + /// + [EnumType] + public readonly struct SettingsStatus : IEquatable + { + private readonly string _value; + + private SettingsStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Anomaly settings status in Production mode + /// + public static SettingsStatus Production { get; } = new SettingsStatus("Production"); + /// + /// Anomaly settings status in Flighting mode + /// + public static SettingsStatus Flighting { get; } = new SettingsStatus("Flighting"); + + public static bool operator ==(SettingsStatus left, SettingsStatus right) => left.Equals(right); + public static bool operator !=(SettingsStatus left, SettingsStatus right) => !left.Equals(right); + + public static explicit operator string(SettingsStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SettingsStatus other && Equals(other); + public bool Equals(SettingsStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Source type of the content + /// + [EnumType] + public readonly struct SourceKind : IEquatable + { + private readonly string _value; + + private SourceKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SourceKind LocalWorkspace { get; } = new SourceKind("LocalWorkspace"); + public static SourceKind Community { get; } = new SourceKind("Community"); + public static SourceKind Solution { get; } = new SourceKind("Solution"); + public static SourceKind SourceRepository { get; } = new SourceKind("SourceRepository"); + + public static bool operator ==(SourceKind left, SourceKind right) => left.Equals(right); + public static bool operator !=(SourceKind left, SourceKind right) => !left.Equals(right); + + public static explicit operator string(SourceKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SourceKind other && Equals(other); + public bool Equals(SourceKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The sourceType of the watchlist + /// + [EnumType] + public readonly struct SourceType : IEquatable + { + private readonly string _value; + + private SourceType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SourceType Local_file { get; } = new SourceType("Local file"); + public static SourceType Remote_storage { get; } = new SourceType("Remote storage"); + + public static bool operator ==(SourceType left, SourceType right) => left.Equals(right); + public static bool operator !=(SourceType left, SourceType right) => !left.Equals(right); + + public static explicit operator string(SourceType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SourceType other && Equals(other); + public bool Equals(SourceType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The status of the hunt. + /// + [EnumType] + public readonly struct Status : IEquatable + { + private readonly string _value; + + private Status(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Status New { get; } = new Status("New"); + public static Status Active { get; } = new Status("Active"); + public static Status Closed { get; } = new Status("Closed"); + public static Status Backlog { get; } = new Status("Backlog"); + public static Status Approved { get; } = new Status("Approved"); + + public static bool operator ==(Status left, Status right) => left.Equals(right); + public static bool operator !=(Status left, Status right) => !left.Equals(right); + + public static explicit operator string(Status value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Status other && Equals(other); + public bool Equals(Status other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of support for content item + /// + [EnumType] + public readonly struct SupportTier : IEquatable + { + private readonly string _value; + + private SupportTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SupportTier Microsoft { get; } = new SupportTier("Microsoft"); + public static SupportTier Partner { get; } = new SupportTier("Partner"); + public static SupportTier Community { get; } = new SupportTier("Community"); + + public static bool operator ==(SupportTier left, SupportTier right) => left.Equals(right); + public static bool operator !=(SupportTier left, SupportTier right) => !left.Equals(right); + + public static explicit operator string(SupportTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SupportTier other && Equals(other); + public bool Equals(SupportTier other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The kind of the entity. + /// + [EnumType] + public readonly struct ThreatIntelligenceResourceInnerKind : IEquatable + { + private readonly string _value; + + private ThreatIntelligenceResourceInnerKind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Entity represents threat intelligence indicator in the system. + /// + public static ThreatIntelligenceResourceInnerKind Indicator { get; } = new ThreatIntelligenceResourceInnerKind("indicator"); + + public static bool operator ==(ThreatIntelligenceResourceInnerKind left, ThreatIntelligenceResourceInnerKind right) => left.Equals(right); + public static bool operator !=(ThreatIntelligenceResourceInnerKind left, ThreatIntelligenceResourceInnerKind right) => !left.Equals(right); + + public static explicit operator string(ThreatIntelligenceResourceInnerKind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ThreatIntelligenceResourceInnerKind other && Equals(other); + public bool Equals(ThreatIntelligenceResourceInnerKind other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The operation against the threshold that triggers alert rule. + /// + [EnumType] + public readonly struct TriggerOperator : IEquatable + { + private readonly string _value; + + private TriggerOperator(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static TriggerOperator GreaterThan { get; } = new TriggerOperator("GreaterThan"); + public static TriggerOperator LessThan { get; } = new TriggerOperator("LessThan"); + public static TriggerOperator Equal { get; } = new TriggerOperator("Equal"); + public static TriggerOperator NotEqual { get; } = new TriggerOperator("NotEqual"); + + public static bool operator ==(TriggerOperator left, TriggerOperator right) => left.Equals(right); + public static bool operator !=(TriggerOperator left, TriggerOperator right) => !left.Equals(right); + + public static explicit operator string(TriggerOperator value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggerOperator other && Equals(other); + public bool Equals(TriggerOperator other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct TriggersOn : IEquatable + { + private readonly string _value; + + private TriggersOn(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Trigger on Incidents + /// + public static TriggersOn Incidents { get; } = new TriggersOn("Incidents"); + /// + /// Trigger on Alerts + /// + public static TriggersOn Alerts { get; } = new TriggersOn("Alerts"); + + public static bool operator ==(TriggersOn left, TriggersOn right) => left.Equals(right); + public static bool operator !=(TriggersOn left, TriggersOn right) => !left.Equals(right); + + public static explicit operator string(TriggersOn value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggersOn other && Equals(other); + public bool Equals(TriggersOn other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct TriggersWhen : IEquatable + { + private readonly string _value; + + private TriggersWhen(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Trigger on created objects + /// + public static TriggersWhen Created { get; } = new TriggersWhen("Created"); + /// + /// Trigger on updated objects + /// + public static TriggersWhen Updated { get; } = new TriggersWhen("Updated"); + + public static bool operator ==(TriggersWhen left, TriggersWhen right) => left.Equals(right); + public static bool operator !=(TriggersWhen left, TriggersWhen right) => !left.Equals(right); + + public static explicit operator string(TriggersWhen value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TriggersWhen other && Equals(other); + public bool Equals(TriggersWhen other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The data source that enriched by ueba. + /// + [EnumType] + public readonly struct UebaDataSources : IEquatable + { + private readonly string _value; + + private UebaDataSources(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static UebaDataSources AuditLogs { get; } = new UebaDataSources("AuditLogs"); + public static UebaDataSources AzureActivity { get; } = new UebaDataSources("AzureActivity"); + public static UebaDataSources SecurityEvent { get; } = new UebaDataSources("SecurityEvent"); + public static UebaDataSources SigninLogs { get; } = new UebaDataSources("SigninLogs"); + + public static bool operator ==(UebaDataSources left, UebaDataSources right) => left.Equals(right); + public static bool operator !=(UebaDataSources left, UebaDataSources right) => !left.Equals(right); + + public static explicit operator string(UebaDataSources value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is UebaDataSources other && Equals(other); + public bool Equals(UebaDataSources other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/EyesOn.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/EyesOn.cs new file mode 100644 index 000000000000..8e5e9c48141f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/EyesOn.cs @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Settings with single toggle. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:EyesOn")] + public partial class EyesOn : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Determines whether the setting is enable or disabled. + /// + [Output("isEnabled")] + public Output IsEnabled { get; private set; } = null!; + + /// + /// The kind of the setting + /// Expected value is 'EyesOn'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a EyesOn 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 EyesOn(string name, EyesOnArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:EyesOn", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private EyesOn(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:EyesOn", name, null, MakeResourceOptions(options, id)) + { + } + + private static EyesOnArgs MakeArgs(EyesOnArgs args) + { + args ??= new EyesOnArgs(); + args.Kind = "EyesOn"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:EyesOn"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:EyesOn"}, + }, + }; + 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 EyesOn 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. + /// A bag of options that control this resource's behavior + public static EyesOn Get(string name, Input id, CustomResourceOptions? options = null) + { + return new EyesOn(name, id, options); + } + } + + public sealed class EyesOnArgs : global::Pulumi.ResourceArgs + { + /// + /// The kind of the setting + /// Expected value is 'EyesOn'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName")] + public Input? SettingsName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public EyesOnArgs() + { + } + public static new EyesOnArgs Empty => new EyesOnArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/FileImport.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/FileImport.cs new file mode 100644 index 000000000000..300243fa1979 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/FileImport.cs @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a file import in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:FileImport")] + public partial class FileImport : global::Pulumi.CustomResource + { + /// + /// The content type of this file. + /// + [Output("contentType")] + public Output ContentType { get; private set; } = null!; + + /// + /// The time the file was imported. + /// + [Output("createdTimeUTC")] + public Output CreatedTimeUTC { get; private set; } = null!; + + /// + /// Represents the error file (if the import was ingested with errors or failed the validation). + /// + [Output("errorFile")] + public Output ErrorFile { get; private set; } = null!; + + /// + /// An ordered list of some of the errors that were encountered during validation. + /// + [Output("errorsPreview")] + public Output> ErrorsPreview { get; private set; } = null!; + + /// + /// The time the files associated with this import are deleted from the storage account. + /// + [Output("filesValidUntilTimeUTC")] + public Output FilesValidUntilTimeUTC { get; private set; } = null!; + + /// + /// Represents the imported file. + /// + [Output("importFile")] + public Output ImportFile { get; private set; } = null!; + + /// + /// The time the file import record is soft deleted from the database and history. + /// + [Output("importValidUntilTimeUTC")] + public Output ImportValidUntilTimeUTC { get; private set; } = null!; + + /// + /// The number of records that have been successfully ingested. + /// + [Output("ingestedRecordCount")] + public Output IngestedRecordCount { get; private set; } = null!; + + /// + /// Describes how to ingest the records in the file. + /// + [Output("ingestionMode")] + public Output IngestionMode { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The source for the data in the file. + /// + [Output("source")] + public Output Source { get; private set; } = null!; + + /// + /// The state of the file import. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The number of records in the file. + /// + [Output("totalRecordCount")] + public Output TotalRecordCount { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The number of records that have passed validation. + /// + [Output("validRecordCount")] + public Output ValidRecordCount { get; private set; } = null!; + + + /// + /// Create a FileImport 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 FileImport(string name, FileImportArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:FileImport", name, args ?? new FileImportArgs(), MakeResourceOptions(options, "")) + { + } + + private FileImport(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:FileImport", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FileImport"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FileImport"}, + }, + }; + 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 FileImport 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. + /// A bag of options that control this resource's behavior + public static FileImport Get(string name, Input id, CustomResourceOptions? options = null) + { + return new FileImport(name, id, options); + } + } + + public sealed class FileImportArgs : global::Pulumi.ResourceArgs + { + /// + /// The content type of this file. + /// + [Input("contentType", required: true)] + public InputUnion ContentType { get; set; } = null!; + + /// + /// File import ID + /// + [Input("fileImportId")] + public Input? FileImportId { get; set; } + + /// + /// Represents the imported file. + /// + [Input("importFile", required: true)] + public Input ImportFile { get; set; } = null!; + + /// + /// Describes how to ingest the records in the file. + /// + [Input("ingestionMode", required: true)] + public InputUnion IngestionMode { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The source for the data in the file. + /// + [Input("source", required: true)] + public Input Source { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public FileImportArgs() + { + } + public static new FileImportArgs Empty => new FileImportArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/FusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/FusionAlertRule.cs new file mode 100644 index 000000000000..b3c733d46edc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/FusionAlertRule.cs @@ -0,0 +1,257 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Fusion alert rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:FusionAlertRule")] + public partial class FusionAlertRule : global::Pulumi.CustomResource + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Output("alertRuleTemplateName")] + public Output AlertRuleTemplateName { get; private set; } = null!; + + /// + /// The description of the alert rule. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for alerts created by this alert rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'Fusion'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this alert has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Configuration to exclude scenarios in fusion detection. + /// + [Output("scenarioExclusionPatterns")] + public Output> ScenarioExclusionPatterns { get; private set; } = null!; + + /// + /// The severity for alerts created by this alert rule. + /// + [Output("severity")] + public Output Severity { get; private set; } = null!; + + /// + /// Configuration for all supported source signals in fusion detection. + /// + [Output("sourceSettings")] + public Output> SourceSettings { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tactics of the alert rule + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// The techniques of the alert rule + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a FusionAlertRule 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 FusionAlertRule(string name, FusionAlertRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:FusionAlertRule", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private FusionAlertRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:FusionAlertRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static FusionAlertRuleArgs MakeArgs(FusionAlertRuleArgs args) + { + args ??= new FusionAlertRuleArgs(); + args.Kind = "Fusion"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:FusionAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:FusionAlertRule"}, + }, + }; + 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 FusionAlertRule 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. + /// A bag of options that control this resource's behavior + public static FusionAlertRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new FusionAlertRule(name, id, options); + } + } + + public sealed class FusionAlertRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Input("alertRuleTemplateName", required: true)] + public Input AlertRuleTemplateName { get; set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'Fusion'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + [Input("scenarioExclusionPatterns")] + private InputList? _scenarioExclusionPatterns; + + /// + /// Configuration to exclude scenarios in fusion detection. + /// + public InputList ScenarioExclusionPatterns + { + get => _scenarioExclusionPatterns ?? (_scenarioExclusionPatterns = new InputList()); + set => _scenarioExclusionPatterns = value; + } + + [Input("sourceSettings")] + private InputList? _sourceSettings; + + /// + /// Configuration for all supported source signals in fusion detection. + /// + public InputList SourceSettings + { + get => _sourceSettings ?? (_sourceSettings = new InputList()); + set => _sourceSettings = value; + } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public FusionAlertRuleArgs() + { + } + public static new FusionAlertRuleArgs Empty => new FusionAlertRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GCPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GCPDataConnector.cs new file mode 100644 index 000000000000..ff9ac07e4f81 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GCPDataConnector.cs @@ -0,0 +1,209 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Google Cloud Platform data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:GCPDataConnector")] + public partial class GCPDataConnector : global::Pulumi.CustomResource + { + /// + /// The auth section of the connector. + /// + [Output("auth")] + public Output Auth { get; private set; } = null!; + + /// + /// The name of the connector definition that represents the UI config. + /// + [Output("connectorDefinitionName")] + public Output ConnectorDefinitionName { get; private set; } = null!; + + /// + /// The configuration of the destination of the data. + /// + [Output("dcrConfig")] + public Output DcrConfig { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'GCP'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The request section of the connector. + /// + [Output("request")] + public Output Request { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GCPDataConnector 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 GCPDataConnector(string name, GCPDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:GCPDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private GCPDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:GCPDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static GCPDataConnectorArgs MakeArgs(GCPDataConnectorArgs args) + { + args ??= new GCPDataConnectorArgs(); + args.Kind = "GCP"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:GCPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:GCPDataConnector"}, + }, + }; + 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 GCPDataConnector 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. + /// A bag of options that control this resource's behavior + public static GCPDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GCPDataConnector(name, id, options); + } + } + + public sealed class GCPDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// The auth section of the connector. + /// + [Input("auth", required: true)] + public Input Auth { get; set; } = null!; + + /// + /// The name of the connector definition that represents the UI config. + /// + [Input("connectorDefinitionName", required: true)] + public Input ConnectorDefinitionName { get; set; } = null!; + + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The configuration of the destination of the data. + /// + [Input("dcrConfig")] + public Input? DcrConfig { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'GCP'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The request section of the connector. + /// + [Input("request", required: true)] + public Input Request { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GCPDataConnectorArgs() + { + } + public static new GCPDataConnectorArgs Empty => new GCPDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAADDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAADDataConnector.cs new file mode 100644 index 000000000000..ba5c90dfb371 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAADDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAADDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetAADDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAADDataConnector", args ?? new GetAADDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetAADDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAADDataConnector", args ?? new GetAADDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAADDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAADDataConnectorArgs() + { + } + public static new GetAADDataConnectorArgs Empty => new GetAADDataConnectorArgs(); + } + + public sealed class GetAADDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAADDataConnectorInvokeArgs() + { + } + public static new GetAADDataConnectorInvokeArgs Empty => new GetAADDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetAADDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'AzureActiveDirectory'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAADDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAATPDataConnector.cs new file mode 100644 index 000000000000..f76e6e2cadda --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAATPDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAATPDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetAATPDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAATPDataConnector", args ?? new GetAATPDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetAATPDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAATPDataConnector", args ?? new GetAATPDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAATPDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAATPDataConnectorArgs() + { + } + public static new GetAATPDataConnectorArgs Empty => new GetAATPDataConnectorArgs(); + } + + public sealed class GetAATPDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAATPDataConnectorInvokeArgs() + { + } + public static new GetAATPDataConnectorInvokeArgs Empty => new GetAATPDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetAATPDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'AzureAdvancedThreatProtection'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAATPDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetASCDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetASCDataConnector.cs new file mode 100644 index 000000000000..39c2f6e377c5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetASCDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetASCDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetASCDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getASCDataConnector", args ?? new GetASCDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetASCDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getASCDataConnector", args ?? new GetASCDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetASCDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetASCDataConnectorArgs() + { + } + public static new GetASCDataConnectorArgs Empty => new GetASCDataConnectorArgs(); + } + + public sealed class GetASCDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetASCDataConnectorInvokeArgs() + { + } + public static new GetASCDataConnectorInvokeArgs Empty => new GetASCDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetASCDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'AzureSecurityCenter'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The subscription id to connect to, and get the data from. + /// + public readonly string? SubscriptionId; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetASCDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + string? subscriptionId, + + Outputs.SystemDataResponse systemData, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SubscriptionId = subscriptionId; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAction.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAction.cs new file mode 100644 index 000000000000..23b570004e15 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAction.cs @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAction + { + /// + /// Gets the action of alert rule. + /// + public static Task InvokeAsync(GetActionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAction", args ?? new GetActionArgs(), options.WithDefaults()); + + /// + /// Gets the action of alert rule. + /// + public static Output Invoke(GetActionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAction", args ?? new GetActionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetActionArgs : global::Pulumi.InvokeArgs + { + /// + /// Action ID + /// + [Input("actionId", required: true)] + public string ActionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetActionArgs() + { + } + public static new GetActionArgs Empty => new GetActionArgs(); + } + + public sealed class GetActionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Action ID + /// + [Input("actionId", required: true)] + public Input ActionId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetActionInvokeArgs() + { + } + public static new GetActionInvokeArgs Empty => new GetActionInvokeArgs(); + } + + + [OutputType] + public sealed class GetActionResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + /// + public readonly string LogicAppResourceId; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The name of the logic app's workflow. + /// + public readonly string? WorkflowId; + + [OutputConstructor] + private GetActionResult( + string? etag, + + string id, + + string logicAppResourceId, + + string name, + + Outputs.SystemDataResponse systemData, + + string type, + + string? workflowId) + { + Etag = etag; + Id = id; + LogicAppResourceId = logicAppResourceId; + Name = name; + SystemData = systemData; + Type = type; + WorkflowId = workflowId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetActivityCustomEntityQuery.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetActivityCustomEntityQuery.cs new file mode 100644 index 000000000000..6b4d5b212a25 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetActivityCustomEntityQuery.cs @@ -0,0 +1,209 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetActivityCustomEntityQuery + { + /// + /// Gets an entity query. + /// + public static Task InvokeAsync(GetActivityCustomEntityQueryArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getActivityCustomEntityQuery", args ?? new GetActivityCustomEntityQueryArgs(), options.WithDefaults()); + + /// + /// Gets an entity query. + /// + public static Output Invoke(GetActivityCustomEntityQueryInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getActivityCustomEntityQuery", args ?? new GetActivityCustomEntityQueryInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetActivityCustomEntityQueryArgs : global::Pulumi.InvokeArgs + { + /// + /// entity query ID + /// + [Input("entityQueryId", required: true)] + public string EntityQueryId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetActivityCustomEntityQueryArgs() + { + } + public static new GetActivityCustomEntityQueryArgs Empty => new GetActivityCustomEntityQueryArgs(); + } + + public sealed class GetActivityCustomEntityQueryInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// entity query ID + /// + [Input("entityQueryId", required: true)] + public Input EntityQueryId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetActivityCustomEntityQueryInvokeArgs() + { + } + public static new GetActivityCustomEntityQueryInvokeArgs Empty => new GetActivityCustomEntityQueryInvokeArgs(); + } + + + [OutputType] + public sealed class GetActivityCustomEntityQueryResult + { + /// + /// The entity query content to display in timeline + /// + public readonly string? Content; + /// + /// The time the activity was created + /// + public readonly string CreatedTimeUtc; + /// + /// The entity query description + /// + public readonly string? Description; + /// + /// Determines whether this activity is enabled or disabled. + /// + public readonly bool? Enabled; + /// + /// The query applied only to entities matching to all filters + /// + public readonly ImmutableDictionary>? EntitiesFilter; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The type of the query's source entity + /// + public readonly string? InputEntityType; + /// + /// The kind of the entity query + /// Expected value is 'Activity'. + /// + public readonly string Kind; + /// + /// The last time the activity was updated + /// + public readonly string LastModifiedTimeUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The Activity query definitions + /// + public readonly Outputs.ActivityEntityQueriesPropertiesResponseQueryDefinitions? QueryDefinitions; + /// + /// List of the fields of the source entity that are required to run the query + /// + public readonly ImmutableArray> RequiredInputFieldsSets; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The template id this activity was created from + /// + public readonly string? TemplateName; + /// + /// The entity query title + /// + public readonly string? Title; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetActivityCustomEntityQueryResult( + string? content, + + string createdTimeUtc, + + string? description, + + bool? enabled, + + ImmutableDictionary>? entitiesFilter, + + string? etag, + + string id, + + string? inputEntityType, + + string kind, + + string lastModifiedTimeUtc, + + string name, + + Outputs.ActivityEntityQueriesPropertiesResponseQueryDefinitions? queryDefinitions, + + ImmutableArray> requiredInputFieldsSets, + + Outputs.SystemDataResponse systemData, + + string? templateName, + + string? title, + + string type) + { + Content = content; + CreatedTimeUtc = createdTimeUtc; + Description = description; + Enabled = enabled; + EntitiesFilter = entitiesFilter; + Etag = etag; + Id = id; + InputEntityType = inputEntityType; + Kind = kind; + LastModifiedTimeUtc = lastModifiedTimeUtc; + Name = name; + QueryDefinitions = queryDefinitions; + RequiredInputFieldsSets = requiredInputFieldsSets; + SystemData = systemData; + TemplateName = templateName; + Title = title; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAnomalies.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAnomalies.cs new file mode 100644 index 000000000000..f046be356d1d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAnomalies.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAnomalies + { + /// + /// Gets a setting. + /// + public static Task InvokeAsync(GetAnomaliesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAnomalies", args ?? new GetAnomaliesArgs(), options.WithDefaults()); + + /// + /// Gets a setting. + /// + public static Output Invoke(GetAnomaliesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAnomalies", args ?? new GetAnomaliesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAnomaliesArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public string SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAnomaliesArgs() + { + } + public static new GetAnomaliesArgs Empty => new GetAnomaliesArgs(); + } + + public sealed class GetAnomaliesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public Input SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAnomaliesInvokeArgs() + { + } + public static new GetAnomaliesInvokeArgs Empty => new GetAnomaliesInvokeArgs(); + } + + + [OutputType] + public sealed class GetAnomaliesResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Determines whether the setting is enable or disabled. + /// + public readonly bool IsEnabled; + /// + /// The kind of the setting + /// Expected value is 'Anomalies'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAnomaliesResult( + string? etag, + + string id, + + bool isEnabled, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + IsEnabled = isEnabled; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAnomalySecurityMLAnalyticsSettings.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAnomalySecurityMLAnalyticsSettings.cs new file mode 100644 index 000000000000..abd5e71770ad --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAnomalySecurityMLAnalyticsSettings.cs @@ -0,0 +1,230 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAnomalySecurityMLAnalyticsSettings + { + /// + /// Gets the Security ML Analytics Settings. + /// + public static Task InvokeAsync(GetAnomalySecurityMLAnalyticsSettingsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAnomalySecurityMLAnalyticsSettings", args ?? new GetAnomalySecurityMLAnalyticsSettingsArgs(), options.WithDefaults()); + + /// + /// Gets the Security ML Analytics Settings. + /// + public static Output Invoke(GetAnomalySecurityMLAnalyticsSettingsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAnomalySecurityMLAnalyticsSettings", args ?? new GetAnomalySecurityMLAnalyticsSettingsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAnomalySecurityMLAnalyticsSettingsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Security ML Analytics Settings resource name + /// + [Input("settingsResourceName", required: true)] + public string SettingsResourceName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAnomalySecurityMLAnalyticsSettingsArgs() + { + } + public static new GetAnomalySecurityMLAnalyticsSettingsArgs Empty => new GetAnomalySecurityMLAnalyticsSettingsArgs(); + } + + public sealed class GetAnomalySecurityMLAnalyticsSettingsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Security ML Analytics Settings resource name + /// + [Input("settingsResourceName", required: true)] + public Input SettingsResourceName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAnomalySecurityMLAnalyticsSettingsInvokeArgs() + { + } + public static new GetAnomalySecurityMLAnalyticsSettingsInvokeArgs Empty => new GetAnomalySecurityMLAnalyticsSettingsInvokeArgs(); + } + + + [OutputType] + public sealed class GetAnomalySecurityMLAnalyticsSettingsResult + { + /// + /// The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + /// + public readonly int? AnomalySettingsVersion; + /// + /// The anomaly version of the AnomalySecurityMLAnalyticsSettings. + /// + public readonly string AnomalyVersion; + /// + /// The customizable observations of the AnomalySecurityMLAnalyticsSettings. + /// + public readonly object? CustomizableObservations; + /// + /// The description of the SecurityMLAnalyticsSettings. + /// + public readonly string? Description; + /// + /// The display name for settings created by this SecurityMLAnalyticsSettings. + /// + public readonly string DisplayName; + /// + /// Determines whether this settings is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The frequency that this SecurityMLAnalyticsSettings will be run. + /// + public readonly string Frequency; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Determines whether this anomaly security ml analytics settings is a default settings + /// + public readonly bool IsDefaultSettings; + /// + /// The kind of security ML analytics settings + /// Expected value is 'Anomaly'. + /// + public readonly string Kind; + /// + /// The last time that this SecurityMLAnalyticsSettings has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The required data sources for this SecurityMLAnalyticsSettings + /// + public readonly ImmutableArray RequiredDataConnectors; + /// + /// The anomaly settings definition Id + /// + public readonly string? SettingsDefinitionId; + /// + /// The anomaly SecurityMLAnalyticsSettings status + /// + public readonly string SettingsStatus; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tactics of the SecurityMLAnalyticsSettings + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques of the SecurityMLAnalyticsSettings + /// + public readonly ImmutableArray Techniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAnomalySecurityMLAnalyticsSettingsResult( + int? anomalySettingsVersion, + + string anomalyVersion, + + object? customizableObservations, + + string? description, + + string displayName, + + bool enabled, + + string? etag, + + string frequency, + + string id, + + bool isDefaultSettings, + + string kind, + + string lastModifiedUtc, + + string name, + + ImmutableArray requiredDataConnectors, + + string? settingsDefinitionId, + + string settingsStatus, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string type) + { + AnomalySettingsVersion = anomalySettingsVersion; + AnomalyVersion = anomalyVersion; + CustomizableObservations = customizableObservations; + Description = description; + DisplayName = displayName; + Enabled = enabled; + Etag = etag; + Frequency = frequency; + Id = id; + IsDefaultSettings = isDefaultSettings; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + RequiredDataConnectors = requiredDataConnectors; + SettingsDefinitionId = settingsDefinitionId; + SettingsStatus = settingsStatus; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAutomationRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAutomationRule.cs new file mode 100644 index 000000000000..0241b5f9795f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAutomationRule.cs @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAutomationRule + { + /// + /// Gets the automation rule. + /// + public static Task InvokeAsync(GetAutomationRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAutomationRule", args ?? new GetAutomationRuleArgs(), options.WithDefaults()); + + /// + /// Gets the automation rule. + /// + public static Output Invoke(GetAutomationRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAutomationRule", args ?? new GetAutomationRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAutomationRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// Automation rule ID + /// + [Input("automationRuleId", required: true)] + public string AutomationRuleId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAutomationRuleArgs() + { + } + public static new GetAutomationRuleArgs Empty => new GetAutomationRuleArgs(); + } + + public sealed class GetAutomationRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Automation rule ID + /// + [Input("automationRuleId", required: true)] + public Input AutomationRuleId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAutomationRuleInvokeArgs() + { + } + public static new GetAutomationRuleInvokeArgs Empty => new GetAutomationRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetAutomationRuleResult + { + /// + /// The actions to execute when the automation rule is triggered. + /// + public readonly ImmutableArray Actions; + /// + /// Information on the client (user or application) that made some action + /// + public readonly Outputs.ClientInfoResponse CreatedBy; + /// + /// The time the automation rule was created. + /// + public readonly string CreatedTimeUtc; + /// + /// The display name of the automation rule. + /// + public readonly string DisplayName; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Information on the client (user or application) that made some action + /// + public readonly Outputs.ClientInfoResponse LastModifiedBy; + /// + /// The last time the automation rule was updated. + /// + public readonly string LastModifiedTimeUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The order of execution of the automation rule. + /// + public readonly int Order; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Describes automation rule triggering logic. + /// + public readonly Outputs.AutomationRuleTriggeringLogicResponse TriggeringLogic; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAutomationRuleResult( + ImmutableArray actions, + + Outputs.ClientInfoResponse createdBy, + + string createdTimeUtc, + + string displayName, + + string? etag, + + string id, + + Outputs.ClientInfoResponse lastModifiedBy, + + string lastModifiedTimeUtc, + + string name, + + int order, + + Outputs.SystemDataResponse systemData, + + Outputs.AutomationRuleTriggeringLogicResponse triggeringLogic, + + string type) + { + Actions = actions; + CreatedBy = createdBy; + CreatedTimeUtc = createdTimeUtc; + DisplayName = displayName; + Etag = etag; + Id = id; + LastModifiedBy = lastModifiedBy; + LastModifiedTimeUtc = lastModifiedTimeUtc; + Name = name; + Order = order; + SystemData = systemData; + TriggeringLogic = triggeringLogic; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAwsCloudTrailDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAwsCloudTrailDataConnector.cs new file mode 100644 index 000000000000..bdc52255c8f3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAwsCloudTrailDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAwsCloudTrailDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetAwsCloudTrailDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAwsCloudTrailDataConnector", args ?? new GetAwsCloudTrailDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetAwsCloudTrailDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAwsCloudTrailDataConnector", args ?? new GetAwsCloudTrailDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAwsCloudTrailDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAwsCloudTrailDataConnectorArgs() + { + } + public static new GetAwsCloudTrailDataConnectorArgs Empty => new GetAwsCloudTrailDataConnectorArgs(); + } + + public sealed class GetAwsCloudTrailDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAwsCloudTrailDataConnectorInvokeArgs() + { + } + public static new GetAwsCloudTrailDataConnectorInvokeArgs Empty => new GetAwsCloudTrailDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetAwsCloudTrailDataConnectorResult + { + /// + /// The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + /// + public readonly string? AwsRoleArn; + /// + /// The available data types for the connector. + /// + public readonly Outputs.AwsCloudTrailDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'AmazonWebServicesCloudTrail'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAwsCloudTrailDataConnectorResult( + string? awsRoleArn, + + Outputs.AwsCloudTrailDataConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + AwsRoleArn = awsRoleArn; + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetAwsS3DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAwsS3DataConnector.cs new file mode 100644 index 000000000000..00853b99973e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetAwsS3DataConnector.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetAwsS3DataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetAwsS3DataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getAwsS3DataConnector", args ?? new GetAwsS3DataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetAwsS3DataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getAwsS3DataConnector", args ?? new GetAwsS3DataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAwsS3DataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetAwsS3DataConnectorArgs() + { + } + public static new GetAwsS3DataConnectorArgs Empty => new GetAwsS3DataConnectorArgs(); + } + + public sealed class GetAwsS3DataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetAwsS3DataConnectorInvokeArgs() + { + } + public static new GetAwsS3DataConnectorInvokeArgs Empty => new GetAwsS3DataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetAwsS3DataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AwsS3DataConnectorDataTypesResponse DataTypes; + /// + /// The logs destination table name in LogAnalytics. + /// + public readonly string DestinationTable; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'AmazonWebServicesS3'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The Aws Role Arn that is used to access the Aws account. + /// + public readonly string RoleArn; + /// + /// The AWS sqs urls for the connector. + /// + public readonly ImmutableArray SqsUrls; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetAwsS3DataConnectorResult( + Outputs.AwsS3DataConnectorDataTypesResponse dataTypes, + + string destinationTable, + + string? etag, + + string id, + + string kind, + + string name, + + string roleArn, + + ImmutableArray sqsUrls, + + Outputs.SystemDataResponse systemData, + + string type) + { + DataTypes = dataTypes; + DestinationTable = destinationTable; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + RoleArn = roleArn; + SqsUrls = sqsUrls; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetBookmark.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetBookmark.cs new file mode 100644 index 000000000000..c993d8c85425 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetBookmark.cs @@ -0,0 +1,236 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetBookmark + { + /// + /// Gets a bookmark. + /// + public static Task InvokeAsync(GetBookmarkArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getBookmark", args ?? new GetBookmarkArgs(), options.WithDefaults()); + + /// + /// Gets a bookmark. + /// + public static Output Invoke(GetBookmarkInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getBookmark", args ?? new GetBookmarkInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetBookmarkArgs : global::Pulumi.InvokeArgs + { + /// + /// Bookmark ID + /// + [Input("bookmarkId", required: true)] + public string BookmarkId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetBookmarkArgs() + { + } + public static new GetBookmarkArgs Empty => new GetBookmarkArgs(); + } + + public sealed class GetBookmarkInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Bookmark ID + /// + [Input("bookmarkId", required: true)] + public Input BookmarkId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetBookmarkInvokeArgs() + { + } + public static new GetBookmarkInvokeArgs Empty => new GetBookmarkInvokeArgs(); + } + + + [OutputType] + public sealed class GetBookmarkResult + { + /// + /// The time the bookmark was created + /// + public readonly string? Created; + /// + /// Describes a user that created the bookmark + /// + public readonly Outputs.UserInfoResponse? CreatedBy; + /// + /// The display name of the bookmark + /// + public readonly string DisplayName; + /// + /// Describes the entity mappings of the bookmark + /// + public readonly ImmutableArray EntityMappings; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The bookmark event time + /// + public readonly string? EventTime; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Describes an incident that relates to bookmark + /// + public readonly Outputs.IncidentInfoResponse? IncidentInfo; + /// + /// List of labels relevant to this bookmark + /// + public readonly ImmutableArray Labels; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The notes of the bookmark + /// + public readonly string? Notes; + /// + /// The query of the bookmark. + /// + public readonly string Query; + /// + /// The end time for the query + /// + public readonly string? QueryEndTime; + /// + /// The query result of the bookmark. + /// + public readonly string? QueryResult; + /// + /// The start time for the query + /// + public readonly string? QueryStartTime; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// A list of relevant mitre attacks + /// + public readonly ImmutableArray Tactics; + /// + /// A list of relevant mitre techniques + /// + public readonly ImmutableArray Techniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The last time the bookmark was updated + /// + public readonly string? Updated; + /// + /// Describes a user that updated the bookmark + /// + public readonly Outputs.UserInfoResponse? UpdatedBy; + + [OutputConstructor] + private GetBookmarkResult( + string? created, + + Outputs.UserInfoResponse? createdBy, + + string displayName, + + ImmutableArray entityMappings, + + string? etag, + + string? eventTime, + + string id, + + Outputs.IncidentInfoResponse? incidentInfo, + + ImmutableArray labels, + + string name, + + string? notes, + + string query, + + string? queryEndTime, + + string? queryResult, + + string? queryStartTime, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string type, + + string? updated, + + Outputs.UserInfoResponse? updatedBy) + { + Created = created; + CreatedBy = createdBy; + DisplayName = displayName; + EntityMappings = entityMappings; + Etag = etag; + EventTime = eventTime; + Id = id; + IncidentInfo = incidentInfo; + Labels = labels; + Name = name; + Notes = notes; + Query = query; + QueryEndTime = queryEndTime; + QueryResult = queryResult; + QueryStartTime = queryStartTime; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + Type = type; + Updated = updated; + UpdatedBy = updatedBy; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetBookmarkRelation.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetBookmarkRelation.cs new file mode 100644 index 000000000000..544c0a1fb088 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetBookmarkRelation.cs @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetBookmarkRelation + { + /// + /// Gets a bookmark relation. + /// + public static Task InvokeAsync(GetBookmarkRelationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getBookmarkRelation", args ?? new GetBookmarkRelationArgs(), options.WithDefaults()); + + /// + /// Gets a bookmark relation. + /// + public static Output Invoke(GetBookmarkRelationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getBookmarkRelation", args ?? new GetBookmarkRelationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetBookmarkRelationArgs : global::Pulumi.InvokeArgs + { + /// + /// Bookmark ID + /// + [Input("bookmarkId", required: true)] + public string BookmarkId { get; set; } = null!; + + /// + /// Relation Name + /// + [Input("relationName", required: true)] + public string RelationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetBookmarkRelationArgs() + { + } + public static new GetBookmarkRelationArgs Empty => new GetBookmarkRelationArgs(); + } + + public sealed class GetBookmarkRelationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Bookmark ID + /// + [Input("bookmarkId", required: true)] + public Input BookmarkId { get; set; } = null!; + + /// + /// Relation Name + /// + [Input("relationName", required: true)] + public Input RelationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetBookmarkRelationInvokeArgs() + { + } + public static new GetBookmarkRelationInvokeArgs Empty => new GetBookmarkRelationInvokeArgs(); + } + + + [OutputType] + public sealed class GetBookmarkRelationResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource ID of the related resource + /// + public readonly string RelatedResourceId; + /// + /// The resource kind of the related resource + /// + public readonly string RelatedResourceKind; + /// + /// The name of the related resource + /// + public readonly string RelatedResourceName; + /// + /// The resource type of the related resource + /// + public readonly string RelatedResourceType; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetBookmarkRelationResult( + string? etag, + + string id, + + string name, + + string relatedResourceId, + + string relatedResourceKind, + + string relatedResourceName, + + string relatedResourceType, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + Name = name; + RelatedResourceId = relatedResourceId; + RelatedResourceKind = relatedResourceKind; + RelatedResourceName = relatedResourceName; + RelatedResourceType = relatedResourceType; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetCodelessApiPollingDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetCodelessApiPollingDataConnector.cs new file mode 100644 index 000000000000..ae6f64c274a1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetCodelessApiPollingDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetCodelessApiPollingDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetCodelessApiPollingDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getCodelessApiPollingDataConnector", args ?? new GetCodelessApiPollingDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetCodelessApiPollingDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getCodelessApiPollingDataConnector", args ?? new GetCodelessApiPollingDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCodelessApiPollingDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetCodelessApiPollingDataConnectorArgs() + { + } + public static new GetCodelessApiPollingDataConnectorArgs Empty => new GetCodelessApiPollingDataConnectorArgs(); + } + + public sealed class GetCodelessApiPollingDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetCodelessApiPollingDataConnectorInvokeArgs() + { + } + public static new GetCodelessApiPollingDataConnectorInvokeArgs Empty => new GetCodelessApiPollingDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetCodelessApiPollingDataConnectorResult + { + /// + /// Config to describe the instructions blade + /// + public readonly Outputs.CodelessUiConnectorConfigPropertiesResponse? ConnectorUiConfig; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'APIPolling'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Config to describe the polling instructions + /// + public readonly Outputs.CodelessConnectorPollingConfigPropertiesResponse? PollingConfig; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetCodelessApiPollingDataConnectorResult( + Outputs.CodelessUiConnectorConfigPropertiesResponse? connectorUiConfig, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.CodelessConnectorPollingConfigPropertiesResponse? pollingConfig, + + Outputs.SystemDataResponse systemData, + + string type) + { + ConnectorUiConfig = connectorUiConfig; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + PollingConfig = pollingConfig; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetCodelessUiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetCodelessUiDataConnector.cs new file mode 100644 index 000000000000..7323b4372a62 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetCodelessUiDataConnector.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetCodelessUiDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetCodelessUiDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getCodelessUiDataConnector", args ?? new GetCodelessUiDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetCodelessUiDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getCodelessUiDataConnector", args ?? new GetCodelessUiDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCodelessUiDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetCodelessUiDataConnectorArgs() + { + } + public static new GetCodelessUiDataConnectorArgs Empty => new GetCodelessUiDataConnectorArgs(); + } + + public sealed class GetCodelessUiDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetCodelessUiDataConnectorInvokeArgs() + { + } + public static new GetCodelessUiDataConnectorInvokeArgs Empty => new GetCodelessUiDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetCodelessUiDataConnectorResult + { + /// + /// Config to describe the instructions blade + /// + public readonly Outputs.CodelessUiConnectorConfigPropertiesResponse? ConnectorUiConfig; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'GenericUI'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetCodelessUiDataConnectorResult( + Outputs.CodelessUiConnectorConfigPropertiesResponse? connectorUiConfig, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + ConnectorUiConfig = connectorUiConfig; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetContentPackage.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetContentPackage.cs new file mode 100644 index 000000000000..e32daff661f5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetContentPackage.cs @@ -0,0 +1,278 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetContentPackage + { + /// + /// Gets an installed packages by its id. + /// + public static Task InvokeAsync(GetContentPackageArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getContentPackage", args ?? new GetContentPackageArgs(), options.WithDefaults()); + + /// + /// Gets an installed packages by its id. + /// + public static Output Invoke(GetContentPackageInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getContentPackage", args ?? new GetContentPackageInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetContentPackageArgs : global::Pulumi.InvokeArgs + { + /// + /// package Id + /// + [Input("packageId", required: true)] + public string PackageId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetContentPackageArgs() + { + } + public static new GetContentPackageArgs Empty => new GetContentPackageArgs(); + } + + public sealed class GetContentPackageInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// package Id + /// + [Input("packageId", required: true)] + public Input PackageId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetContentPackageInvokeArgs() + { + } + public static new GetContentPackageInvokeArgs Empty => new GetContentPackageInvokeArgs(); + } + + + [OutputType] + public sealed class GetContentPackageResult + { + /// + /// The author of the package + /// + public readonly Outputs.MetadataAuthorResponse? Author; + /// + /// The categories of the package + /// + public readonly Outputs.MetadataCategoriesResponse? Categories; + /// + /// The content id of the package + /// + public readonly string ContentId; + /// + /// The package kind + /// + public readonly string ContentKind; + /// + /// Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + /// + public readonly string ContentProductId; + /// + /// The version of the content schema. + /// + public readonly string? ContentSchemaVersion; + /// + /// The support tier of the package + /// + public readonly Outputs.MetadataDependenciesResponse? Dependencies; + /// + /// The description of the package + /// + public readonly string? Description; + /// + /// The display name of the package + /// + public readonly string DisplayName; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// first publish date package item + /// + public readonly string? FirstPublishDate; + /// + /// the icon identifier. this id can later be fetched from the content metadata + /// + public readonly string? Icon; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Flag indicates if this package is among the featured list. + /// + public readonly string? IsFeatured; + /// + /// Flag indicates if this is a newly published package. + /// + public readonly string? IsNew; + /// + /// Flag indicates if this package is in preview. + /// + public readonly string? IsPreview; + /// + /// last publish date for the package item + /// + public readonly string? LastPublishDate; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Providers for the package item + /// + public readonly ImmutableArray Providers; + /// + /// The publisher display name of the package + /// + public readonly string? PublisherDisplayName; + /// + /// The source of the package + /// + public readonly Outputs.MetadataSourceResponse? Source; + /// + /// The support tier of the package + /// + public readonly Outputs.MetadataSupportResponse? Support; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// the tactics the resource covers + /// + public readonly ImmutableArray ThreatAnalysisTactics; + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + public readonly ImmutableArray ThreatAnalysisTechniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// the latest version number of the package + /// + public readonly string Version; + + [OutputConstructor] + private GetContentPackageResult( + Outputs.MetadataAuthorResponse? author, + + Outputs.MetadataCategoriesResponse? categories, + + string contentId, + + string contentKind, + + string contentProductId, + + string? contentSchemaVersion, + + Outputs.MetadataDependenciesResponse? dependencies, + + string? description, + + string displayName, + + string? etag, + + string? firstPublishDate, + + string? icon, + + string id, + + string? isFeatured, + + string? isNew, + + string? isPreview, + + string? lastPublishDate, + + string name, + + ImmutableArray providers, + + string? publisherDisplayName, + + Outputs.MetadataSourceResponse? source, + + Outputs.MetadataSupportResponse? support, + + Outputs.SystemDataResponse systemData, + + ImmutableArray threatAnalysisTactics, + + ImmutableArray threatAnalysisTechniques, + + string type, + + string version) + { + Author = author; + Categories = categories; + ContentId = contentId; + ContentKind = contentKind; + ContentProductId = contentProductId; + ContentSchemaVersion = contentSchemaVersion; + Dependencies = dependencies; + Description = description; + DisplayName = displayName; + Etag = etag; + FirstPublishDate = firstPublishDate; + Icon = icon; + Id = id; + IsFeatured = isFeatured; + IsNew = isNew; + IsPreview = isPreview; + LastPublishDate = lastPublishDate; + Name = name; + Providers = providers; + PublisherDisplayName = publisherDisplayName; + Source = source; + Support = support; + SystemData = systemData; + ThreatAnalysisTactics = threatAnalysisTactics; + ThreatAnalysisTechniques = threatAnalysisTechniques; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetContentTemplate.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetContentTemplate.cs new file mode 100644 index 000000000000..d36dd2538bb3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetContentTemplate.cs @@ -0,0 +1,299 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetContentTemplate + { + /// + /// Gets a template byt its identifier. + /// + public static Task InvokeAsync(GetContentTemplateArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getContentTemplate", args ?? new GetContentTemplateArgs(), options.WithDefaults()); + + /// + /// Gets a template byt its identifier. + /// + public static Output Invoke(GetContentTemplateInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getContentTemplate", args ?? new GetContentTemplateInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetContentTemplateArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// template Id + /// + [Input("templateId", required: true)] + public string TemplateId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetContentTemplateArgs() + { + } + public static new GetContentTemplateArgs Empty => new GetContentTemplateArgs(); + } + + public sealed class GetContentTemplateInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// template Id + /// + [Input("templateId", required: true)] + public Input TemplateId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetContentTemplateInvokeArgs() + { + } + public static new GetContentTemplateInvokeArgs Empty => new GetContentTemplateInvokeArgs(); + } + + + [OutputType] + public sealed class GetContentTemplateResult + { + /// + /// The creator of the content item. + /// + public readonly Outputs.MetadataAuthorResponse? Author; + /// + /// Categories for the item + /// + public readonly Outputs.MetadataCategoriesResponse? Categories; + /// + /// Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + /// + public readonly string ContentId; + /// + /// The kind of content the template is for. + /// + public readonly string ContentKind; + /// + /// Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + /// + public readonly string ContentProductId; + /// + /// Schema version of the content. Can be used to distinguish between different flow based on the schema version + /// + public readonly string? ContentSchemaVersion; + /// + /// The custom version of the content. A optional free text + /// + public readonly string? CustomVersion; + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + /// + public readonly Outputs.MetadataDependenciesResponse? Dependencies; + /// + /// The display name of the template + /// + public readonly string DisplayName; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// first publish date content item + /// + public readonly string? FirstPublishDate; + /// + /// the icon identifier. this id can later be fetched from the content metadata + /// + public readonly string? Icon; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// last publish date for the content item + /// + public readonly string? LastPublishDate; + /// + /// The JSON of the ARM template to deploy active content + /// + public readonly object? MainTemplate; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// the package Id contains this template + /// + public readonly string PackageId; + /// + /// the packageKind of the package contains this template + /// + public readonly string? PackageKind; + /// + /// the name of the package contains this template + /// + public readonly string? PackageName; + /// + /// Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + /// + public readonly string PackageVersion; + /// + /// preview image file names. These will be taken from the solution artifacts + /// + public readonly ImmutableArray PreviewImages; + /// + /// preview image file names. These will be taken from the solution artifacts. used for dark theme support + /// + public readonly ImmutableArray PreviewImagesDark; + /// + /// Providers for the content item + /// + public readonly ImmutableArray Providers; + /// + /// Source of the content. This is where/how it was created. + /// + public readonly Outputs.MetadataSourceResponse Source; + /// + /// Support information for the template - type, name, contact information + /// + public readonly Outputs.MetadataSupportResponse? Support; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// the tactics the resource covers + /// + public readonly ImmutableArray ThreatAnalysisTactics; + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + public readonly ImmutableArray ThreatAnalysisTechniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + /// + public readonly string Version; + + [OutputConstructor] + private GetContentTemplateResult( + Outputs.MetadataAuthorResponse? author, + + Outputs.MetadataCategoriesResponse? categories, + + string contentId, + + string contentKind, + + string contentProductId, + + string? contentSchemaVersion, + + string? customVersion, + + Outputs.MetadataDependenciesResponse? dependencies, + + string displayName, + + string? etag, + + string? firstPublishDate, + + string? icon, + + string id, + + string? lastPublishDate, + + object? mainTemplate, + + string name, + + string packageId, + + string? packageKind, + + string? packageName, + + string packageVersion, + + ImmutableArray previewImages, + + ImmutableArray previewImagesDark, + + ImmutableArray providers, + + Outputs.MetadataSourceResponse source, + + Outputs.MetadataSupportResponse? support, + + Outputs.SystemDataResponse systemData, + + ImmutableArray threatAnalysisTactics, + + ImmutableArray threatAnalysisTechniques, + + string type, + + string version) + { + Author = author; + Categories = categories; + ContentId = contentId; + ContentKind = contentKind; + ContentProductId = contentProductId; + ContentSchemaVersion = contentSchemaVersion; + CustomVersion = customVersion; + Dependencies = dependencies; + DisplayName = displayName; + Etag = etag; + FirstPublishDate = firstPublishDate; + Icon = icon; + Id = id; + LastPublishDate = lastPublishDate; + MainTemplate = mainTemplate; + Name = name; + PackageId = packageId; + PackageKind = packageKind; + PackageName = packageName; + PackageVersion = packageVersion; + PreviewImages = previewImages; + PreviewImagesDark = previewImagesDark; + Providers = providers; + Source = source; + Support = support; + SystemData = systemData; + ThreatAnalysisTactics = threatAnalysisTactics; + ThreatAnalysisTechniques = threatAnalysisTechniques; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetCustomizableConnectorDefinition.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetCustomizableConnectorDefinition.cs new file mode 100644 index 000000000000..e1a6ce4e1b45 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetCustomizableConnectorDefinition.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetCustomizableConnectorDefinition + { + /// + /// Gets a data connector definition. + /// + public static Task InvokeAsync(GetCustomizableConnectorDefinitionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getCustomizableConnectorDefinition", args ?? new GetCustomizableConnectorDefinitionArgs(), options.WithDefaults()); + + /// + /// Gets a data connector definition. + /// + public static Output Invoke(GetCustomizableConnectorDefinitionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getCustomizableConnectorDefinition", args ?? new GetCustomizableConnectorDefinitionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCustomizableConnectorDefinitionArgs : global::Pulumi.InvokeArgs + { + /// + /// The data connector definition name. + /// + [Input("dataConnectorDefinitionName", required: true)] + public string DataConnectorDefinitionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetCustomizableConnectorDefinitionArgs() + { + } + public static new GetCustomizableConnectorDefinitionArgs Empty => new GetCustomizableConnectorDefinitionArgs(); + } + + public sealed class GetCustomizableConnectorDefinitionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The data connector definition name. + /// + [Input("dataConnectorDefinitionName", required: true)] + public Input DataConnectorDefinitionName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetCustomizableConnectorDefinitionInvokeArgs() + { + } + public static new GetCustomizableConnectorDefinitionInvokeArgs Empty => new GetCustomizableConnectorDefinitionInvokeArgs(); + } + + + [OutputType] + public sealed class GetCustomizableConnectorDefinitionResult + { + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + public readonly Outputs.CustomizableConnectionsConfigResponse? ConnectionsConfig; + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + public readonly Outputs.CustomizableConnectorUiConfigResponse ConnectorUiConfig; + /// + /// Gets or sets the connector definition created date in UTC format. + /// + public readonly string? CreatedTimeUtc; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector definitions + /// Expected value is 'Customizable'. + /// + public readonly string Kind; + /// + /// Gets or sets the connector definition last modified date in UTC format. + /// + public readonly string? LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetCustomizableConnectorDefinitionResult( + Outputs.CustomizableConnectionsConfigResponse? connectionsConfig, + + Outputs.CustomizableConnectorUiConfigResponse connectorUiConfig, + + string? createdTimeUtc, + + string? etag, + + string id, + + string kind, + + string? lastModifiedUtc, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + ConnectionsConfig = connectionsConfig; + ConnectorUiConfig = connectorUiConfig; + CreatedTimeUtc = createdTimeUtc; + Etag = etag; + Id = id; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetDynamics365DataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetDynamics365DataConnector.cs new file mode 100644 index 000000000000..88cd937ec9e7 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetDynamics365DataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetDynamics365DataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetDynamics365DataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getDynamics365DataConnector", args ?? new GetDynamics365DataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetDynamics365DataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getDynamics365DataConnector", args ?? new GetDynamics365DataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDynamics365DataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetDynamics365DataConnectorArgs() + { + } + public static new GetDynamics365DataConnectorArgs Empty => new GetDynamics365DataConnectorArgs(); + } + + public sealed class GetDynamics365DataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetDynamics365DataConnectorInvokeArgs() + { + } + public static new GetDynamics365DataConnectorInvokeArgs Empty => new GetDynamics365DataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetDynamics365DataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.Dynamics365DataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'Dynamics365'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetDynamics365DataConnectorResult( + Outputs.Dynamics365DataConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntitiesGetTimeline.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntitiesGetTimeline.cs new file mode 100644 index 000000000000..c730f1078a93 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntitiesGetTimeline.cs @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetEntitiesGetTimeline + { + /// + /// Timeline for an entity. + /// + public static Task InvokeAsync(GetEntitiesGetTimelineArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getEntitiesGetTimeline", args ?? new GetEntitiesGetTimelineArgs(), options.WithDefaults()); + + /// + /// Timeline for an entity. + /// + public static Output Invoke(GetEntitiesGetTimelineInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getEntitiesGetTimeline", args ?? new GetEntitiesGetTimelineInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEntitiesGetTimelineArgs : global::Pulumi.InvokeArgs + { + /// + /// The end timeline date, so the results returned are before this date. + /// + [Input("endTime", required: true)] + public string EndTime { get; set; } = null!; + + /// + /// entity ID + /// + [Input("entityId", required: true)] + public string EntityId { get; set; } = null!; + + [Input("kinds")] + private List>? _kinds; + + /// + /// Array of timeline Item kinds. + /// + public List> Kinds + { + get => _kinds ?? (_kinds = new List>()); + set => _kinds = value; + } + + /// + /// The number of bucket for timeline queries aggregation. + /// + [Input("numberOfBucket")] + public int? NumberOfBucket { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The start timeline date, so the results returned are after this date. + /// + [Input("startTime", required: true)] + public string StartTime { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetEntitiesGetTimelineArgs() + { + } + public static new GetEntitiesGetTimelineArgs Empty => new GetEntitiesGetTimelineArgs(); + } + + public sealed class GetEntitiesGetTimelineInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The end timeline date, so the results returned are before this date. + /// + [Input("endTime", required: true)] + public Input EndTime { get; set; } = null!; + + /// + /// entity ID + /// + [Input("entityId", required: true)] + public Input EntityId { get; set; } = null!; + + [Input("kinds")] + private InputList>? _kinds; + + /// + /// Array of timeline Item kinds. + /// + public InputList> Kinds + { + get => _kinds ?? (_kinds = new InputList>()); + set => _kinds = value; + } + + /// + /// The number of bucket for timeline queries aggregation. + /// + [Input("numberOfBucket")] + public Input? NumberOfBucket { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The start timeline date, so the results returned are after this date. + /// + [Input("startTime", required: true)] + public Input StartTime { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetEntitiesGetTimelineInvokeArgs() + { + } + public static new GetEntitiesGetTimelineInvokeArgs Empty => new GetEntitiesGetTimelineInvokeArgs(); + } + + + [OutputType] + public sealed class GetEntitiesGetTimelineResult + { + /// + /// The metadata from the timeline operation results. + /// + public readonly Outputs.TimelineResultsMetadataResponse? MetaData; + /// + /// The timeline result values. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private GetEntitiesGetTimelineResult( + Outputs.TimelineResultsMetadataResponse? metaData, + + ImmutableArray value) + { + MetaData = metaData; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntityAnalytics.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntityAnalytics.cs new file mode 100644 index 000000000000..08b3f500c8a4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntityAnalytics.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetEntityAnalytics + { + /// + /// Gets a setting. + /// + public static Task InvokeAsync(GetEntityAnalyticsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getEntityAnalytics", args ?? new GetEntityAnalyticsArgs(), options.WithDefaults()); + + /// + /// Gets a setting. + /// + public static Output Invoke(GetEntityAnalyticsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getEntityAnalytics", args ?? new GetEntityAnalyticsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEntityAnalyticsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public string SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetEntityAnalyticsArgs() + { + } + public static new GetEntityAnalyticsArgs Empty => new GetEntityAnalyticsArgs(); + } + + public sealed class GetEntityAnalyticsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public Input SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetEntityAnalyticsInvokeArgs() + { + } + public static new GetEntityAnalyticsInvokeArgs Empty => new GetEntityAnalyticsInvokeArgs(); + } + + + [OutputType] + public sealed class GetEntityAnalyticsResult + { + /// + /// The relevant entity providers that are synced + /// + public readonly ImmutableArray EntityProviders; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the setting + /// Expected value is 'EntityAnalytics'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetEntityAnalyticsResult( + ImmutableArray entityProviders, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + EntityProviders = entityProviders; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntityInsights.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntityInsights.cs new file mode 100644 index 000000000000..1e7fca277f60 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEntityInsights.cs @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetEntityInsights + { + /// + /// Execute Insights for an entity. + /// + public static Task InvokeAsync(GetEntityInsightsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getEntityInsights", args ?? new GetEntityInsightsArgs(), options.WithDefaults()); + + /// + /// Execute Insights for an entity. + /// + public static Output Invoke(GetEntityInsightsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getEntityInsights", args ?? new GetEntityInsightsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEntityInsightsArgs : global::Pulumi.InvokeArgs + { + /// + /// Indicates if query time range should be extended with default time range of the query. Default value is false + /// + [Input("addDefaultExtendedTimeRange")] + public bool? AddDefaultExtendedTimeRange { get; set; } + + /// + /// The end timeline date, so the results returned are before this date. + /// + [Input("endTime", required: true)] + public string EndTime { get; set; } = null!; + + /// + /// entity ID + /// + [Input("entityId", required: true)] + public string EntityId { get; set; } = null!; + + [Input("insightQueryIds")] + private List? _insightQueryIds; + + /// + /// List of Insights Query Id. If empty, default value is all insights of this entity + /// + public List InsightQueryIds + { + get => _insightQueryIds ?? (_insightQueryIds = new List()); + set => _insightQueryIds = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The start timeline date, so the results returned are after this date. + /// + [Input("startTime", required: true)] + public string StartTime { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetEntityInsightsArgs() + { + } + public static new GetEntityInsightsArgs Empty => new GetEntityInsightsArgs(); + } + + public sealed class GetEntityInsightsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Indicates if query time range should be extended with default time range of the query. Default value is false + /// + [Input("addDefaultExtendedTimeRange")] + public Input? AddDefaultExtendedTimeRange { get; set; } + + /// + /// The end timeline date, so the results returned are before this date. + /// + [Input("endTime", required: true)] + public Input EndTime { get; set; } = null!; + + /// + /// entity ID + /// + [Input("entityId", required: true)] + public Input EntityId { get; set; } = null!; + + [Input("insightQueryIds")] + private InputList? _insightQueryIds; + + /// + /// List of Insights Query Id. If empty, default value is all insights of this entity + /// + public InputList InsightQueryIds + { + get => _insightQueryIds ?? (_insightQueryIds = new InputList()); + set => _insightQueryIds = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The start timeline date, so the results returned are after this date. + /// + [Input("startTime", required: true)] + public Input StartTime { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetEntityInsightsInvokeArgs() + { + } + public static new GetEntityInsightsInvokeArgs Empty => new GetEntityInsightsInvokeArgs(); + } + + + [OutputType] + public sealed class GetEntityInsightsResult + { + /// + /// The metadata from the get insights operation results. + /// + public readonly Outputs.GetInsightsResultsMetadataResponse? MetaData; + /// + /// The insights result values. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private GetEntityInsightsResult( + Outputs.GetInsightsResultsMetadataResponse? metaData, + + ImmutableArray value) + { + MetaData = metaData; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetEyesOn.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEyesOn.cs new file mode 100644 index 000000000000..1f03a23b57a6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetEyesOn.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetEyesOn + { + /// + /// Gets a setting. + /// + public static Task InvokeAsync(GetEyesOnArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getEyesOn", args ?? new GetEyesOnArgs(), options.WithDefaults()); + + /// + /// Gets a setting. + /// + public static Output Invoke(GetEyesOnInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getEyesOn", args ?? new GetEyesOnInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEyesOnArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public string SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetEyesOnArgs() + { + } + public static new GetEyesOnArgs Empty => new GetEyesOnArgs(); + } + + public sealed class GetEyesOnInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public Input SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetEyesOnInvokeArgs() + { + } + public static new GetEyesOnInvokeArgs Empty => new GetEyesOnInvokeArgs(); + } + + + [OutputType] + public sealed class GetEyesOnResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Determines whether the setting is enable or disabled. + /// + public readonly bool IsEnabled; + /// + /// The kind of the setting + /// Expected value is 'EyesOn'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetEyesOnResult( + string? etag, + + string id, + + bool isEnabled, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + IsEnabled = isEnabled; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetFileImport.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetFileImport.cs new file mode 100644 index 000000000000..7f31bbe6ae12 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetFileImport.cs @@ -0,0 +1,208 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetFileImport + { + /// + /// Gets a file import. + /// + public static Task InvokeAsync(GetFileImportArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getFileImport", args ?? new GetFileImportArgs(), options.WithDefaults()); + + /// + /// Gets a file import. + /// + public static Output Invoke(GetFileImportInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getFileImport", args ?? new GetFileImportInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFileImportArgs : global::Pulumi.InvokeArgs + { + /// + /// File import ID + /// + [Input("fileImportId", required: true)] + public string FileImportId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetFileImportArgs() + { + } + public static new GetFileImportArgs Empty => new GetFileImportArgs(); + } + + public sealed class GetFileImportInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// File import ID + /// + [Input("fileImportId", required: true)] + public Input FileImportId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetFileImportInvokeArgs() + { + } + public static new GetFileImportInvokeArgs Empty => new GetFileImportInvokeArgs(); + } + + + [OutputType] + public sealed class GetFileImportResult + { + /// + /// The content type of this file. + /// + public readonly string ContentType; + /// + /// The time the file was imported. + /// + public readonly string CreatedTimeUTC; + /// + /// Represents the error file (if the import was ingested with errors or failed the validation). + /// + public readonly Outputs.FileMetadataResponse ErrorFile; + /// + /// An ordered list of some of the errors that were encountered during validation. + /// + public readonly ImmutableArray ErrorsPreview; + /// + /// The time the files associated with this import are deleted from the storage account. + /// + public readonly string FilesValidUntilTimeUTC; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Represents the imported file. + /// + public readonly Outputs.FileMetadataResponse ImportFile; + /// + /// The time the file import record is soft deleted from the database and history. + /// + public readonly string ImportValidUntilTimeUTC; + /// + /// The number of records that have been successfully ingested. + /// + public readonly int IngestedRecordCount; + /// + /// Describes how to ingest the records in the file. + /// + public readonly string IngestionMode; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The source for the data in the file. + /// + public readonly string Source; + /// + /// The state of the file import. + /// + public readonly string State; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The number of records in the file. + /// + public readonly int TotalRecordCount; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The number of records that have passed validation. + /// + public readonly int ValidRecordCount; + + [OutputConstructor] + private GetFileImportResult( + string contentType, + + string createdTimeUTC, + + Outputs.FileMetadataResponse errorFile, + + ImmutableArray errorsPreview, + + string filesValidUntilTimeUTC, + + string id, + + Outputs.FileMetadataResponse importFile, + + string importValidUntilTimeUTC, + + int ingestedRecordCount, + + string ingestionMode, + + string name, + + string source, + + string state, + + Outputs.SystemDataResponse systemData, + + int totalRecordCount, + + string type, + + int validRecordCount) + { + ContentType = contentType; + CreatedTimeUTC = createdTimeUTC; + ErrorFile = errorFile; + ErrorsPreview = errorsPreview; + FilesValidUntilTimeUTC = filesValidUntilTimeUTC; + Id = id; + ImportFile = importFile; + ImportValidUntilTimeUTC = importValidUntilTimeUTC; + IngestedRecordCount = ingestedRecordCount; + IngestionMode = ingestionMode; + Name = name; + Source = source; + State = state; + SystemData = systemData; + TotalRecordCount = totalRecordCount; + Type = type; + ValidRecordCount = validRecordCount; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetFusionAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetFusionAlertRule.cs new file mode 100644 index 000000000000..ec50e3f81e03 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetFusionAlertRule.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetFusionAlertRule + { + /// + /// Gets the alert rule. + /// + public static Task InvokeAsync(GetFusionAlertRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getFusionAlertRule", args ?? new GetFusionAlertRuleArgs(), options.WithDefaults()); + + /// + /// Gets the alert rule. + /// + public static Output Invoke(GetFusionAlertRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getFusionAlertRule", args ?? new GetFusionAlertRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetFusionAlertRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetFusionAlertRuleArgs() + { + } + public static new GetFusionAlertRuleArgs Empty => new GetFusionAlertRuleArgs(); + } + + public sealed class GetFusionAlertRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetFusionAlertRuleInvokeArgs() + { + } + public static new GetFusionAlertRuleInvokeArgs Empty => new GetFusionAlertRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetFusionAlertRuleResult + { + /// + /// The Name of the alert rule template used to create this rule. + /// + public readonly string AlertRuleTemplateName; + /// + /// The description of the alert rule. + /// + public readonly string Description; + /// + /// The display name for alerts created by this alert rule. + /// + public readonly string DisplayName; + /// + /// Determines whether this alert rule is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the alert rule + /// Expected value is 'Fusion'. + /// + public readonly string Kind; + /// + /// The last time that this alert has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Configuration to exclude scenarios in fusion detection. + /// + public readonly ImmutableArray ScenarioExclusionPatterns; + /// + /// The severity for alerts created by this alert rule. + /// + public readonly string Severity; + /// + /// Configuration for all supported source signals in fusion detection. + /// + public readonly ImmutableArray SourceSettings; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tactics of the alert rule + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques of the alert rule + /// + public readonly ImmutableArray Techniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetFusionAlertRuleResult( + string alertRuleTemplateName, + + string description, + + string displayName, + + bool enabled, + + string? etag, + + string id, + + string kind, + + string lastModifiedUtc, + + string name, + + ImmutableArray scenarioExclusionPatterns, + + string severity, + + ImmutableArray sourceSettings, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string type) + { + AlertRuleTemplateName = alertRuleTemplateName; + Description = description; + DisplayName = displayName; + Enabled = enabled; + Etag = etag; + Id = id; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + ScenarioExclusionPatterns = scenarioExclusionPatterns; + Severity = severity; + SourceSettings = sourceSettings; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetGCPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetGCPDataConnector.cs new file mode 100644 index 000000000000..39f1ada3aec9 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetGCPDataConnector.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetGCPDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetGCPDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getGCPDataConnector", args ?? new GetGCPDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetGCPDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getGCPDataConnector", args ?? new GetGCPDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGCPDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetGCPDataConnectorArgs() + { + } + public static new GetGCPDataConnectorArgs Empty => new GetGCPDataConnectorArgs(); + } + + public sealed class GetGCPDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetGCPDataConnectorInvokeArgs() + { + } + public static new GetGCPDataConnectorInvokeArgs Empty => new GetGCPDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetGCPDataConnectorResult + { + /// + /// The auth section of the connector. + /// + public readonly Outputs.GCPAuthPropertiesResponse Auth; + /// + /// The name of the connector definition that represents the UI config. + /// + public readonly string ConnectorDefinitionName; + /// + /// The configuration of the destination of the data. + /// + public readonly Outputs.DCRConfigurationResponse? DcrConfig; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'GCP'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The request section of the connector. + /// + public readonly Outputs.GCPRequestPropertiesResponse Request; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetGCPDataConnectorResult( + Outputs.GCPAuthPropertiesResponse auth, + + string connectorDefinitionName, + + Outputs.DCRConfigurationResponse? dcrConfig, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.GCPRequestPropertiesResponse request, + + Outputs.SystemDataResponse systemData, + + string type) + { + Auth = auth; + ConnectorDefinitionName = connectorDefinitionName; + DcrConfig = dcrConfig; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + Request = request; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetHunt.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetHunt.cs new file mode 100644 index 000000000000..dcee111cb38a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetHunt.cs @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetHunt + { + /// + /// Gets a hunt, without relations and comments. + /// + public static Task InvokeAsync(GetHuntArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getHunt", args ?? new GetHuntArgs(), options.WithDefaults()); + + /// + /// Gets a hunt, without relations and comments. + /// + public static Output Invoke(GetHuntInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getHunt", args ?? new GetHuntInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetHuntArgs : global::Pulumi.InvokeArgs + { + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public string HuntId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetHuntArgs() + { + } + public static new GetHuntArgs Empty => new GetHuntArgs(); + } + + public sealed class GetHuntInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public Input HuntId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetHuntInvokeArgs() + { + } + public static new GetHuntInvokeArgs Empty => new GetHuntInvokeArgs(); + } + + + [OutputType] + public sealed class GetHuntResult + { + /// + /// A list of mitre attack tactics the hunt is associated with + /// + public readonly ImmutableArray AttackTactics; + /// + /// A list of a mitre attack techniques the hunt is associated with + /// + public readonly ImmutableArray AttackTechniques; + /// + /// The description of the hunt + /// + public readonly string Description; + /// + /// The display name of the hunt + /// + public readonly string DisplayName; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The hypothesis status of the hunt. + /// + public readonly string? HypothesisStatus; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// List of labels relevant to this hunt + /// + public readonly ImmutableArray Labels; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Describes a user that the hunt is assigned to + /// + public readonly Outputs.HuntOwnerResponse? Owner; + /// + /// The status of the hunt. + /// + public readonly string? Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetHuntResult( + ImmutableArray attackTactics, + + ImmutableArray attackTechniques, + + string description, + + string displayName, + + string? etag, + + string? hypothesisStatus, + + string id, + + ImmutableArray labels, + + string name, + + Outputs.HuntOwnerResponse? owner, + + string? status, + + Outputs.SystemDataResponse systemData, + + string type) + { + AttackTactics = attackTactics; + AttackTechniques = attackTechniques; + Description = description; + DisplayName = displayName; + Etag = etag; + HypothesisStatus = hypothesisStatus; + Id = id; + Labels = labels; + Name = name; + Owner = owner; + Status = status; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetHuntComment.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetHuntComment.cs new file mode 100644 index 000000000000..6f67447cd33d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetHuntComment.cs @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetHuntComment + { + /// + /// Gets a hunt comment + /// + public static Task InvokeAsync(GetHuntCommentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getHuntComment", args ?? new GetHuntCommentArgs(), options.WithDefaults()); + + /// + /// Gets a hunt comment + /// + public static Output Invoke(GetHuntCommentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getHuntComment", args ?? new GetHuntCommentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetHuntCommentArgs : global::Pulumi.InvokeArgs + { + /// + /// The hunt comment id (GUID) + /// + [Input("huntCommentId", required: true)] + public string HuntCommentId { get; set; } = null!; + + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public string HuntId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetHuntCommentArgs() + { + } + public static new GetHuntCommentArgs Empty => new GetHuntCommentArgs(); + } + + public sealed class GetHuntCommentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The hunt comment id (GUID) + /// + [Input("huntCommentId", required: true)] + public Input HuntCommentId { get; set; } = null!; + + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public Input HuntId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetHuntCommentInvokeArgs() + { + } + public static new GetHuntCommentInvokeArgs Empty => new GetHuntCommentInvokeArgs(); + } + + + [OutputType] + public sealed class GetHuntCommentResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The message for the comment + /// + public readonly string Message; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetHuntCommentResult( + string? etag, + + string id, + + string message, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + Message = message; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetHuntRelation.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetHuntRelation.cs new file mode 100644 index 000000000000..b0e361a88e86 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetHuntRelation.cs @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetHuntRelation + { + /// + /// Gets a hunt relation + /// + public static Task InvokeAsync(GetHuntRelationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getHuntRelation", args ?? new GetHuntRelationArgs(), options.WithDefaults()); + + /// + /// Gets a hunt relation + /// + public static Output Invoke(GetHuntRelationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getHuntRelation", args ?? new GetHuntRelationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetHuntRelationArgs : global::Pulumi.InvokeArgs + { + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public string HuntId { get; set; } = null!; + + /// + /// The hunt relation id (GUID) + /// + [Input("huntRelationId", required: true)] + public string HuntRelationId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetHuntRelationArgs() + { + } + public static new GetHuntRelationArgs Empty => new GetHuntRelationArgs(); + } + + public sealed class GetHuntRelationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public Input HuntId { get; set; } = null!; + + /// + /// The hunt relation id (GUID) + /// + [Input("huntRelationId", required: true)] + public Input HuntRelationId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetHuntRelationInvokeArgs() + { + } + public static new GetHuntRelationInvokeArgs Empty => new GetHuntRelationInvokeArgs(); + } + + + [OutputType] + public sealed class GetHuntRelationResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// List of labels relevant to this hunt + /// + public readonly ImmutableArray Labels; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The id of the related resource + /// + public readonly string RelatedResourceId; + /// + /// The resource that the relation is related to + /// + public readonly string RelatedResourceKind; + /// + /// The name of the related resource + /// + public readonly string RelatedResourceName; + /// + /// The type of the hunt relation + /// + public readonly string RelationType; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetHuntRelationResult( + string? etag, + + string id, + + ImmutableArray labels, + + string name, + + string relatedResourceId, + + string relatedResourceKind, + + string relatedResourceName, + + string relationType, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + Labels = labels; + Name = name; + RelatedResourceId = relatedResourceId; + RelatedResourceKind = relatedResourceKind; + RelatedResourceName = relatedResourceName; + RelationType = relationType; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncident.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncident.cs new file mode 100644 index 000000000000..7a9c6287e5a6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncident.cs @@ -0,0 +1,264 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetIncident + { + /// + /// Gets an incident. + /// + public static Task InvokeAsync(GetIncidentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getIncident", args ?? new GetIncidentArgs(), options.WithDefaults()); + + /// + /// Gets an incident. + /// + public static Output Invoke(GetIncidentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getIncident", args ?? new GetIncidentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIncidentArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public string IncidentId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetIncidentArgs() + { + } + public static new GetIncidentArgs Empty => new GetIncidentArgs(); + } + + public sealed class GetIncidentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetIncidentInvokeArgs() + { + } + public static new GetIncidentInvokeArgs Empty => new GetIncidentInvokeArgs(); + } + + + [OutputType] + public sealed class GetIncidentResult + { + /// + /// Additional data on the incident + /// + public readonly Outputs.IncidentAdditionalDataResponse AdditionalData; + /// + /// The reason the incident was closed + /// + public readonly string? Classification; + /// + /// Describes the reason the incident was closed + /// + public readonly string? ClassificationComment; + /// + /// The classification reason the incident was closed with + /// + public readonly string? ClassificationReason; + /// + /// The time the incident was created + /// + public readonly string CreatedTimeUtc; + /// + /// The description of the incident + /// + public readonly string? Description; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The time of the first activity in the incident + /// + public readonly string? FirstActivityTimeUtc; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// A sequential number + /// + public readonly int IncidentNumber; + /// + /// The deep-link url to the incident in Azure portal + /// + public readonly string IncidentUrl; + /// + /// List of labels relevant to this incident + /// + public readonly ImmutableArray Labels; + /// + /// The time of the last activity in the incident + /// + public readonly string? LastActivityTimeUtc; + /// + /// The last time the incident was updated + /// + public readonly string LastModifiedTimeUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Describes a user that the incident is assigned to + /// + public readonly Outputs.IncidentOwnerInfoResponse? Owner; + /// + /// The incident ID assigned by the incident provider + /// + public readonly string ProviderIncidentId; + /// + /// The name of the source provider that generated the incident + /// + public readonly string ProviderName; + /// + /// List of resource ids of Analytic rules related to the incident + /// + public readonly ImmutableArray RelatedAnalyticRuleIds; + /// + /// The severity of the incident + /// + public readonly string Severity; + /// + /// The status of the incident + /// + public readonly string Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Describes a team for the incident + /// + public readonly Outputs.TeamInformationResponse? TeamInformation; + /// + /// The title of the incident + /// + public readonly string Title; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetIncidentResult( + Outputs.IncidentAdditionalDataResponse additionalData, + + string? classification, + + string? classificationComment, + + string? classificationReason, + + string createdTimeUtc, + + string? description, + + string? etag, + + string? firstActivityTimeUtc, + + string id, + + int incidentNumber, + + string incidentUrl, + + ImmutableArray labels, + + string? lastActivityTimeUtc, + + string lastModifiedTimeUtc, + + string name, + + Outputs.IncidentOwnerInfoResponse? owner, + + string providerIncidentId, + + string providerName, + + ImmutableArray relatedAnalyticRuleIds, + + string severity, + + string status, + + Outputs.SystemDataResponse systemData, + + Outputs.TeamInformationResponse? teamInformation, + + string title, + + string type) + { + AdditionalData = additionalData; + Classification = classification; + ClassificationComment = classificationComment; + ClassificationReason = classificationReason; + CreatedTimeUtc = createdTimeUtc; + Description = description; + Etag = etag; + FirstActivityTimeUtc = firstActivityTimeUtc; + Id = id; + IncidentNumber = incidentNumber; + IncidentUrl = incidentUrl; + Labels = labels; + LastActivityTimeUtc = lastActivityTimeUtc; + LastModifiedTimeUtc = lastModifiedTimeUtc; + Name = name; + Owner = owner; + ProviderIncidentId = providerIncidentId; + ProviderName = providerName; + RelatedAnalyticRuleIds = relatedAnalyticRuleIds; + Severity = severity; + Status = status; + SystemData = systemData; + TeamInformation = teamInformation; + Title = title; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentComment.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentComment.cs new file mode 100644 index 000000000000..d51954dce903 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentComment.cs @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetIncidentComment + { + /// + /// Gets an incident comment. + /// + public static Task InvokeAsync(GetIncidentCommentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getIncidentComment", args ?? new GetIncidentCommentArgs(), options.WithDefaults()); + + /// + /// Gets an incident comment. + /// + public static Output Invoke(GetIncidentCommentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getIncidentComment", args ?? new GetIncidentCommentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIncidentCommentArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident comment ID + /// + [Input("incidentCommentId", required: true)] + public string IncidentCommentId { get; set; } = null!; + + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public string IncidentId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetIncidentCommentArgs() + { + } + public static new GetIncidentCommentArgs Empty => new GetIncidentCommentArgs(); + } + + public sealed class GetIncidentCommentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident comment ID + /// + [Input("incidentCommentId", required: true)] + public Input IncidentCommentId { get; set; } = null!; + + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetIncidentCommentInvokeArgs() + { + } + public static new GetIncidentCommentInvokeArgs Empty => new GetIncidentCommentInvokeArgs(); + } + + + [OutputType] + public sealed class GetIncidentCommentResult + { + /// + /// Describes the client that created the comment + /// + public readonly Outputs.ClientInfoResponse Author; + /// + /// The time the comment was created + /// + public readonly string CreatedTimeUtc; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The time the comment was updated + /// + public readonly string LastModifiedTimeUtc; + /// + /// The comment message + /// + public readonly string Message; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetIncidentCommentResult( + Outputs.ClientInfoResponse author, + + string createdTimeUtc, + + string? etag, + + string id, + + string lastModifiedTimeUtc, + + string message, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Author = author; + CreatedTimeUtc = createdTimeUtc; + Etag = etag; + Id = id; + LastModifiedTimeUtc = lastModifiedTimeUtc; + Message = message; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentRelation.cs new file mode 100644 index 000000000000..d729e1e78bc6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentRelation.cs @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetIncidentRelation + { + /// + /// Gets an incident relation. + /// + public static Task InvokeAsync(GetIncidentRelationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getIncidentRelation", args ?? new GetIncidentRelationArgs(), options.WithDefaults()); + + /// + /// Gets an incident relation. + /// + public static Output Invoke(GetIncidentRelationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getIncidentRelation", args ?? new GetIncidentRelationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIncidentRelationArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public string IncidentId { get; set; } = null!; + + /// + /// Relation Name + /// + [Input("relationName", required: true)] + public string RelationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetIncidentRelationArgs() + { + } + public static new GetIncidentRelationArgs Empty => new GetIncidentRelationArgs(); + } + + public sealed class GetIncidentRelationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// Relation Name + /// + [Input("relationName", required: true)] + public Input RelationName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetIncidentRelationInvokeArgs() + { + } + public static new GetIncidentRelationInvokeArgs Empty => new GetIncidentRelationInvokeArgs(); + } + + + [OutputType] + public sealed class GetIncidentRelationResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The resource ID of the related resource + /// + public readonly string RelatedResourceId; + /// + /// The resource kind of the related resource + /// + public readonly string RelatedResourceKind; + /// + /// The name of the related resource + /// + public readonly string RelatedResourceName; + /// + /// The resource type of the related resource + /// + public readonly string RelatedResourceType; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetIncidentRelationResult( + string? etag, + + string id, + + string name, + + string relatedResourceId, + + string relatedResourceKind, + + string relatedResourceName, + + string relatedResourceType, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + Name = name; + RelatedResourceId = relatedResourceId; + RelatedResourceKind = relatedResourceKind; + RelatedResourceName = relatedResourceName; + RelatedResourceType = relatedResourceType; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentTask.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentTask.cs new file mode 100644 index 000000000000..3e9ac1eeaa4a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIncidentTask.cs @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetIncidentTask + { + /// + /// Gets an incident task. + /// + public static Task InvokeAsync(GetIncidentTaskArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getIncidentTask", args ?? new GetIncidentTaskArgs(), options.WithDefaults()); + + /// + /// Gets an incident task. + /// + public static Output Invoke(GetIncidentTaskInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getIncidentTask", args ?? new GetIncidentTaskInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIncidentTaskArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public string IncidentId { get; set; } = null!; + + /// + /// Incident task ID + /// + [Input("incidentTaskId", required: true)] + public string IncidentTaskId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetIncidentTaskArgs() + { + } + public static new GetIncidentTaskArgs Empty => new GetIncidentTaskArgs(); + } + + public sealed class GetIncidentTaskInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// Incident task ID + /// + [Input("incidentTaskId", required: true)] + public Input IncidentTaskId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetIncidentTaskInvokeArgs() + { + } + public static new GetIncidentTaskInvokeArgs Empty => new GetIncidentTaskInvokeArgs(); + } + + + [OutputType] + public sealed class GetIncidentTaskResult + { + /// + /// Information on the client (user or application) that made some action + /// + public readonly Outputs.ClientInfoResponse? CreatedBy; + /// + /// The time the task was created + /// + public readonly string CreatedTimeUtc; + /// + /// The description of the task + /// + public readonly string? Description; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// Information on the client (user or application) that made some action + /// + public readonly Outputs.ClientInfoResponse? LastModifiedBy; + /// + /// The last time the task was updated + /// + public readonly string LastModifiedTimeUtc; + /// + /// The name of the resource + /// + public readonly string Name; + public readonly string Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The title of the task + /// + public readonly string Title; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetIncidentTaskResult( + Outputs.ClientInfoResponse? createdBy, + + string createdTimeUtc, + + string? description, + + string? etag, + + string id, + + Outputs.ClientInfoResponse? lastModifiedBy, + + string lastModifiedTimeUtc, + + string name, + + string status, + + Outputs.SystemDataResponse systemData, + + string title, + + string type) + { + CreatedBy = createdBy; + CreatedTimeUtc = createdTimeUtc; + Description = description; + Etag = etag; + Id = id; + LastModifiedBy = lastModifiedBy; + LastModifiedTimeUtc = lastModifiedTimeUtc; + Name = name; + Status = status; + SystemData = systemData; + Title = title; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetIoTDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIoTDataConnector.cs new file mode 100644 index 000000000000..10ffdd89c960 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetIoTDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetIoTDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetIoTDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getIoTDataConnector", args ?? new GetIoTDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetIoTDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getIoTDataConnector", args ?? new GetIoTDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIoTDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetIoTDataConnectorArgs() + { + } + public static new GetIoTDataConnectorArgs Empty => new GetIoTDataConnectorArgs(); + } + + public sealed class GetIoTDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetIoTDataConnectorInvokeArgs() + { + } + public static new GetIoTDataConnectorInvokeArgs Empty => new GetIoTDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetIoTDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'IOT'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The subscription id to connect to, and get the data from. + /// + public readonly string? SubscriptionId; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetIoTDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + string? subscriptionId, + + Outputs.SystemDataResponse systemData, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SubscriptionId = subscriptionId; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMCASDataConnector.cs new file mode 100644 index 000000000000..0ab6a2671f8f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMCASDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMCASDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetMCASDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMCASDataConnector", args ?? new GetMCASDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetMCASDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMCASDataConnector", args ?? new GetMCASDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMCASDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMCASDataConnectorArgs() + { + } + public static new GetMCASDataConnectorArgs Empty => new GetMCASDataConnectorArgs(); + } + + public sealed class GetMCASDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMCASDataConnectorInvokeArgs() + { + } + public static new GetMCASDataConnectorInvokeArgs Empty => new GetMCASDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetMCASDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.MCASDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftCloudAppSecurity'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMCASDataConnectorResult( + Outputs.MCASDataConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMDATPDataConnector.cs new file mode 100644 index 000000000000..5f9ef022fb74 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMDATPDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMDATPDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetMDATPDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMDATPDataConnector", args ?? new GetMDATPDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetMDATPDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMDATPDataConnector", args ?? new GetMDATPDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMDATPDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMDATPDataConnectorArgs() + { + } + public static new GetMDATPDataConnectorArgs Empty => new GetMDATPDataConnectorArgs(); + } + + public sealed class GetMDATPDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMDATPDataConnectorInvokeArgs() + { + } + public static new GetMDATPDataConnectorInvokeArgs Empty => new GetMDATPDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetMDATPDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMDATPDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMLBehaviorAnalyticsAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMLBehaviorAnalyticsAlertRule.cs new file mode 100644 index 000000000000..5e3d95f1b61e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMLBehaviorAnalyticsAlertRule.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMLBehaviorAnalyticsAlertRule + { + /// + /// Gets the alert rule. + /// + public static Task InvokeAsync(GetMLBehaviorAnalyticsAlertRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMLBehaviorAnalyticsAlertRule", args ?? new GetMLBehaviorAnalyticsAlertRuleArgs(), options.WithDefaults()); + + /// + /// Gets the alert rule. + /// + public static Output Invoke(GetMLBehaviorAnalyticsAlertRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMLBehaviorAnalyticsAlertRule", args ?? new GetMLBehaviorAnalyticsAlertRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMLBehaviorAnalyticsAlertRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMLBehaviorAnalyticsAlertRuleArgs() + { + } + public static new GetMLBehaviorAnalyticsAlertRuleArgs Empty => new GetMLBehaviorAnalyticsAlertRuleArgs(); + } + + public sealed class GetMLBehaviorAnalyticsAlertRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMLBehaviorAnalyticsAlertRuleInvokeArgs() + { + } + public static new GetMLBehaviorAnalyticsAlertRuleInvokeArgs Empty => new GetMLBehaviorAnalyticsAlertRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetMLBehaviorAnalyticsAlertRuleResult + { + /// + /// The Name of the alert rule template used to create this rule. + /// + public readonly string AlertRuleTemplateName; + /// + /// The description of the alert rule. + /// + public readonly string Description; + /// + /// The display name for alerts created by this alert rule. + /// + public readonly string DisplayName; + /// + /// Determines whether this alert rule is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the alert rule + /// Expected value is 'MLBehaviorAnalytics'. + /// + public readonly string Kind; + /// + /// The last time that this alert rule has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The severity for alerts created by this alert rule. + /// + public readonly string Severity; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tactics of the alert rule + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques of the alert rule + /// + public readonly ImmutableArray Techniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMLBehaviorAnalyticsAlertRuleResult( + string alertRuleTemplateName, + + string description, + + string displayName, + + bool enabled, + + string? etag, + + string id, + + string kind, + + string lastModifiedUtc, + + string name, + + string severity, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string type) + { + AlertRuleTemplateName = alertRuleTemplateName; + Description = description; + DisplayName = displayName; + Enabled = enabled; + Etag = etag; + Id = id; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + Severity = severity; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMSTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMSTIDataConnector.cs new file mode 100644 index 000000000000..4331ff253553 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMSTIDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMSTIDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetMSTIDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMSTIDataConnector", args ?? new GetMSTIDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetMSTIDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMSTIDataConnector", args ?? new GetMSTIDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMSTIDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMSTIDataConnectorArgs() + { + } + public static new GetMSTIDataConnectorArgs Empty => new GetMSTIDataConnectorArgs(); + } + + public sealed class GetMSTIDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMSTIDataConnectorInvokeArgs() + { + } + public static new GetMSTIDataConnectorInvokeArgs Empty => new GetMSTIDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetMSTIDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.MSTIDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftThreatIntelligence'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMSTIDataConnectorResult( + Outputs.MSTIDataConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMTPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMTPDataConnector.cs new file mode 100644 index 000000000000..e6441d7a67b8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMTPDataConnector.cs @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMTPDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetMTPDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMTPDataConnector", args ?? new GetMTPDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetMTPDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMTPDataConnector", args ?? new GetMTPDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMTPDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMTPDataConnectorArgs() + { + } + public static new GetMTPDataConnectorArgs Empty => new GetMTPDataConnectorArgs(); + } + + public sealed class GetMTPDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMTPDataConnectorInvokeArgs() + { + } + public static new GetMTPDataConnectorInvokeArgs Empty => new GetMTPDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetMTPDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.MTPDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The available filtered providers for the connector. + /// + public readonly Outputs.MtpFilteredProvidersResponse? FilteredProviders; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftThreatProtection'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMTPDataConnectorResult( + Outputs.MTPDataConnectorDataTypesResponse dataTypes, + + string? etag, + + Outputs.MtpFilteredProvidersResponse? filteredProviders, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + FilteredProviders = filteredProviders; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMetadata.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMetadata.cs new file mode 100644 index 000000000000..41c2fd9b98ef --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMetadata.cs @@ -0,0 +1,257 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMetadata + { + /// + /// Get a Metadata. + /// + public static Task InvokeAsync(GetMetadataArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMetadata", args ?? new GetMetadataArgs(), options.WithDefaults()); + + /// + /// Get a Metadata. + /// + public static Output Invoke(GetMetadataInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMetadata", args ?? new GetMetadataInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMetadataArgs : global::Pulumi.InvokeArgs + { + /// + /// The Metadata name. + /// + [Input("metadataName", required: true)] + public string MetadataName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMetadataArgs() + { + } + public static new GetMetadataArgs Empty => new GetMetadataArgs(); + } + + public sealed class GetMetadataInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The Metadata name. + /// + [Input("metadataName", required: true)] + public Input MetadataName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMetadataInvokeArgs() + { + } + public static new GetMetadataInvokeArgs Empty => new GetMetadataInvokeArgs(); + } + + + [OutputType] + public sealed class GetMetadataResult + { + /// + /// The creator of the content item. + /// + public readonly Outputs.MetadataAuthorResponse? Author; + /// + /// Categories for the solution content item + /// + public readonly Outputs.MetadataCategoriesResponse? Categories; + /// + /// Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + /// + public readonly string? ContentId; + /// + /// Schema version of the content. Can be used to distinguish between different flow based on the schema version + /// + public readonly string? ContentSchemaVersion; + /// + /// The custom version of the content. A optional free text + /// + public readonly string? CustomVersion; + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + /// + public readonly Outputs.MetadataDependenciesResponse? Dependencies; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// first publish date solution content item + /// + public readonly string? FirstPublishDate; + /// + /// the icon identifier. this id can later be fetched from the solution template + /// + public readonly string? Icon; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of content the metadata is for. + /// + public readonly string Kind; + /// + /// last publish date for the solution content item + /// + public readonly string? LastPublishDate; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + /// + public readonly string ParentId; + /// + /// preview image file names. These will be taken from the solution artifacts + /// + public readonly ImmutableArray PreviewImages; + /// + /// preview image file names. These will be taken from the solution artifacts. used for dark theme support + /// + public readonly ImmutableArray PreviewImagesDark; + /// + /// Providers for the solution content item + /// + public readonly ImmutableArray Providers; + /// + /// Source of the content. This is where/how it was created. + /// + public readonly Outputs.MetadataSourceResponse? Source; + /// + /// Support information for the metadata - type, name, contact information + /// + public readonly Outputs.MetadataSupportResponse? Support; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// the tactics the resource covers + /// + public readonly ImmutableArray ThreatAnalysisTactics; + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + public readonly ImmutableArray ThreatAnalysisTechniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + /// + public readonly string? Version; + + [OutputConstructor] + private GetMetadataResult( + Outputs.MetadataAuthorResponse? author, + + Outputs.MetadataCategoriesResponse? categories, + + string? contentId, + + string? contentSchemaVersion, + + string? customVersion, + + Outputs.MetadataDependenciesResponse? dependencies, + + string? etag, + + string? firstPublishDate, + + string? icon, + + string id, + + string kind, + + string? lastPublishDate, + + string name, + + string parentId, + + ImmutableArray previewImages, + + ImmutableArray previewImagesDark, + + ImmutableArray providers, + + Outputs.MetadataSourceResponse? source, + + Outputs.MetadataSupportResponse? support, + + Outputs.SystemDataResponse systemData, + + ImmutableArray threatAnalysisTactics, + + ImmutableArray threatAnalysisTechniques, + + string type, + + string? version) + { + Author = author; + Categories = categories; + ContentId = contentId; + ContentSchemaVersion = contentSchemaVersion; + CustomVersion = customVersion; + Dependencies = dependencies; + Etag = etag; + FirstPublishDate = firstPublishDate; + Icon = icon; + Id = id; + Kind = kind; + LastPublishDate = lastPublishDate; + Name = name; + ParentId = parentId; + PreviewImages = previewImages; + PreviewImagesDark = previewImagesDark; + Providers = providers; + Source = source; + Support = support; + SystemData = systemData; + ThreatAnalysisTactics = threatAnalysisTactics; + ThreatAnalysisTechniques = threatAnalysisTechniques; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMicrosoftPurviewInformationProtectionDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMicrosoftPurviewInformationProtectionDataConnector.cs new file mode 100644 index 000000000000..35e2d3a5148d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMicrosoftPurviewInformationProtectionDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMicrosoftPurviewInformationProtectionDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetMicrosoftPurviewInformationProtectionDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMicrosoftPurviewInformationProtectionDataConnector", args ?? new GetMicrosoftPurviewInformationProtectionDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetMicrosoftPurviewInformationProtectionDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMicrosoftPurviewInformationProtectionDataConnector", args ?? new GetMicrosoftPurviewInformationProtectionDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMicrosoftPurviewInformationProtectionDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMicrosoftPurviewInformationProtectionDataConnectorArgs() + { + } + public static new GetMicrosoftPurviewInformationProtectionDataConnectorArgs Empty => new GetMicrosoftPurviewInformationProtectionDataConnectorArgs(); + } + + public sealed class GetMicrosoftPurviewInformationProtectionDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMicrosoftPurviewInformationProtectionDataConnectorInvokeArgs() + { + } + public static new GetMicrosoftPurviewInformationProtectionDataConnectorInvokeArgs Empty => new GetMicrosoftPurviewInformationProtectionDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetMicrosoftPurviewInformationProtectionDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftPurviewInformationProtection'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMicrosoftPurviewInformationProtectionDataConnectorResult( + Outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetMicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMicrosoftSecurityIncidentCreationAlertRule.cs new file mode 100644 index 000000000000..8d1ee67025b1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetMicrosoftSecurityIncidentCreationAlertRule.cs @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetMicrosoftSecurityIncidentCreationAlertRule + { + /// + /// Gets the alert rule. + /// + public static Task InvokeAsync(GetMicrosoftSecurityIncidentCreationAlertRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getMicrosoftSecurityIncidentCreationAlertRule", args ?? new GetMicrosoftSecurityIncidentCreationAlertRuleArgs(), options.WithDefaults()); + + /// + /// Gets the alert rule. + /// + public static Output Invoke(GetMicrosoftSecurityIncidentCreationAlertRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getMicrosoftSecurityIncidentCreationAlertRule", args ?? new GetMicrosoftSecurityIncidentCreationAlertRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMicrosoftSecurityIncidentCreationAlertRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetMicrosoftSecurityIncidentCreationAlertRuleArgs() + { + } + public static new GetMicrosoftSecurityIncidentCreationAlertRuleArgs Empty => new GetMicrosoftSecurityIncidentCreationAlertRuleArgs(); + } + + public sealed class GetMicrosoftSecurityIncidentCreationAlertRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetMicrosoftSecurityIncidentCreationAlertRuleInvokeArgs() + { + } + public static new GetMicrosoftSecurityIncidentCreationAlertRuleInvokeArgs Empty => new GetMicrosoftSecurityIncidentCreationAlertRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetMicrosoftSecurityIncidentCreationAlertRuleResult + { + /// + /// The Name of the alert rule template used to create this rule. + /// + public readonly string? AlertRuleTemplateName; + /// + /// The description of the alert rule. + /// + public readonly string? Description; + /// + /// The display name for alerts created by this alert rule. + /// + public readonly string DisplayName; + /// + /// the alerts' displayNames on which the cases will not be generated + /// + public readonly ImmutableArray DisplayNamesExcludeFilter; + /// + /// the alerts' displayNames on which the cases will be generated + /// + public readonly ImmutableArray DisplayNamesFilter; + /// + /// Determines whether this alert rule is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the alert rule + /// Expected value is 'MicrosoftSecurityIncidentCreation'. + /// + public readonly string Kind; + /// + /// The last time that this alert has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The alerts' productName on which the cases will be generated + /// + public readonly string ProductFilter; + /// + /// the alerts' severities on which the cases will be generated + /// + public readonly ImmutableArray SeveritiesFilter; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetMicrosoftSecurityIncidentCreationAlertRuleResult( + string? alertRuleTemplateName, + + string? description, + + string displayName, + + ImmutableArray displayNamesExcludeFilter, + + ImmutableArray displayNamesFilter, + + bool enabled, + + string? etag, + + string id, + + string kind, + + string lastModifiedUtc, + + string name, + + string productFilter, + + ImmutableArray severitiesFilter, + + Outputs.SystemDataResponse systemData, + + string type) + { + AlertRuleTemplateName = alertRuleTemplateName; + Description = description; + DisplayName = displayName; + DisplayNamesExcludeFilter = displayNamesExcludeFilter; + DisplayNamesFilter = displayNamesFilter; + Enabled = enabled; + Etag = etag; + Id = id; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + ProductFilter = productFilter; + SeveritiesFilter = severitiesFilter; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetNrtAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetNrtAlertRule.cs new file mode 100644 index 000000000000..e76cf4a29fbd --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetNrtAlertRule.cs @@ -0,0 +1,258 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetNrtAlertRule + { + /// + /// Gets the alert rule. + /// + public static Task InvokeAsync(GetNrtAlertRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getNrtAlertRule", args ?? new GetNrtAlertRuleArgs(), options.WithDefaults()); + + /// + /// Gets the alert rule. + /// + public static Output Invoke(GetNrtAlertRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getNrtAlertRule", args ?? new GetNrtAlertRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNrtAlertRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetNrtAlertRuleArgs() + { + } + public static new GetNrtAlertRuleArgs Empty => new GetNrtAlertRuleArgs(); + } + + public sealed class GetNrtAlertRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetNrtAlertRuleInvokeArgs() + { + } + public static new GetNrtAlertRuleInvokeArgs Empty => new GetNrtAlertRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetNrtAlertRuleResult + { + /// + /// The alert details override settings + /// + public readonly Outputs.AlertDetailsOverrideResponse? AlertDetailsOverride; + /// + /// The Name of the alert rule template used to create this rule. + /// + public readonly string? AlertRuleTemplateName; + /// + /// Dictionary of string key-value pairs of columns to be attached to the alert + /// + public readonly ImmutableDictionary? CustomDetails; + /// + /// The description of the alert rule. + /// + public readonly string? Description; + /// + /// The display name for alerts created by this alert rule. + /// + public readonly string DisplayName; + /// + /// Determines whether this alert rule is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Array of the entity mappings of the alert rule + /// + public readonly ImmutableArray EntityMappings; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The event grouping settings. + /// + public readonly Outputs.EventGroupingSettingsResponse? EventGroupingSettings; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The settings of the incidents that created from alerts triggered by this analytics rule + /// + public readonly Outputs.IncidentConfigurationResponse? IncidentConfiguration; + /// + /// The kind of the alert rule + /// Expected value is 'NRT'. + /// + public readonly string Kind; + /// + /// The last time that this alert rule has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The query that creates alerts for this rule. + /// + public readonly string Query; + /// + /// Array of the sentinel entity mappings of the alert rule + /// + public readonly ImmutableArray SentinelEntitiesMappings; + /// + /// The severity for alerts created by this alert rule. + /// + public readonly string Severity; + /// + /// The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + /// + public readonly string SuppressionDuration; + /// + /// Determines whether the suppression for this alert rule is enabled or disabled. + /// + public readonly bool SuppressionEnabled; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tactics of the alert rule + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques of the alert rule + /// + public readonly ImmutableArray Techniques; + /// + /// The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2> + /// + public readonly string? TemplateVersion; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetNrtAlertRuleResult( + Outputs.AlertDetailsOverrideResponse? alertDetailsOverride, + + string? alertRuleTemplateName, + + ImmutableDictionary? customDetails, + + string? description, + + string displayName, + + bool enabled, + + ImmutableArray entityMappings, + + string? etag, + + Outputs.EventGroupingSettingsResponse? eventGroupingSettings, + + string id, + + Outputs.IncidentConfigurationResponse? incidentConfiguration, + + string kind, + + string lastModifiedUtc, + + string name, + + string query, + + ImmutableArray sentinelEntitiesMappings, + + string severity, + + string suppressionDuration, + + bool suppressionEnabled, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string? templateVersion, + + string type) + { + AlertDetailsOverride = alertDetailsOverride; + AlertRuleTemplateName = alertRuleTemplateName; + CustomDetails = customDetails; + Description = description; + DisplayName = displayName; + Enabled = enabled; + EntityMappings = entityMappings; + Etag = etag; + EventGroupingSettings = eventGroupingSettings; + Id = id; + IncidentConfiguration = incidentConfiguration; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + Query = query; + SentinelEntitiesMappings = sentinelEntitiesMappings; + Severity = severity; + SuppressionDuration = suppressionDuration; + SuppressionEnabled = suppressionEnabled; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + TemplateVersion = templateVersion; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetOffice365ProjectDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOffice365ProjectDataConnector.cs new file mode 100644 index 000000000000..247c4511379f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOffice365ProjectDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetOffice365ProjectDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetOffice365ProjectDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getOffice365ProjectDataConnector", args ?? new GetOffice365ProjectDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetOffice365ProjectDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getOffice365ProjectDataConnector", args ?? new GetOffice365ProjectDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOffice365ProjectDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetOffice365ProjectDataConnectorArgs() + { + } + public static new GetOffice365ProjectDataConnectorArgs Empty => new GetOffice365ProjectDataConnectorArgs(); + } + + public sealed class GetOffice365ProjectDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetOffice365ProjectDataConnectorInvokeArgs() + { + } + public static new GetOffice365ProjectDataConnectorInvokeArgs Empty => new GetOffice365ProjectDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetOffice365ProjectDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.Office365ProjectConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'Office365Project'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetOffice365ProjectDataConnectorResult( + Outputs.Office365ProjectConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeATPDataConnector.cs new file mode 100644 index 000000000000..ac44731ab83f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeATPDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetOfficeATPDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetOfficeATPDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getOfficeATPDataConnector", args ?? new GetOfficeATPDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetOfficeATPDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getOfficeATPDataConnector", args ?? new GetOfficeATPDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOfficeATPDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetOfficeATPDataConnectorArgs() + { + } + public static new GetOfficeATPDataConnectorArgs Empty => new GetOfficeATPDataConnectorArgs(); + } + + public sealed class GetOfficeATPDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetOfficeATPDataConnectorInvokeArgs() + { + } + public static new GetOfficeATPDataConnectorInvokeArgs Empty => new GetOfficeATPDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetOfficeATPDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'OfficeATP'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetOfficeATPDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeDataConnector.cs new file mode 100644 index 000000000000..2868bf5aee58 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetOfficeDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetOfficeDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getOfficeDataConnector", args ?? new GetOfficeDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetOfficeDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getOfficeDataConnector", args ?? new GetOfficeDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOfficeDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetOfficeDataConnectorArgs() + { + } + public static new GetOfficeDataConnectorArgs Empty => new GetOfficeDataConnectorArgs(); + } + + public sealed class GetOfficeDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetOfficeDataConnectorInvokeArgs() + { + } + public static new GetOfficeDataConnectorInvokeArgs Empty => new GetOfficeDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetOfficeDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.OfficeDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'Office365'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetOfficeDataConnectorResult( + Outputs.OfficeDataConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeIRMDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeIRMDataConnector.cs new file mode 100644 index 000000000000..64ef150be1e1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficeIRMDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetOfficeIRMDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetOfficeIRMDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getOfficeIRMDataConnector", args ?? new GetOfficeIRMDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetOfficeIRMDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getOfficeIRMDataConnector", args ?? new GetOfficeIRMDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOfficeIRMDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetOfficeIRMDataConnectorArgs() + { + } + public static new GetOfficeIRMDataConnectorArgs Empty => new GetOfficeIRMDataConnectorArgs(); + } + + public sealed class GetOfficeIRMDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetOfficeIRMDataConnectorInvokeArgs() + { + } + public static new GetOfficeIRMDataConnectorInvokeArgs Empty => new GetOfficeIRMDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetOfficeIRMDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.AlertsDataTypeOfDataConnectorResponse? DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'OfficeIRM'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetOfficeIRMDataConnectorResult( + Outputs.AlertsDataTypeOfDataConnectorResponse? dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficePowerBIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficePowerBIDataConnector.cs new file mode 100644 index 000000000000..3d79c6892fe2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetOfficePowerBIDataConnector.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetOfficePowerBIDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetOfficePowerBIDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getOfficePowerBIDataConnector", args ?? new GetOfficePowerBIDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetOfficePowerBIDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getOfficePowerBIDataConnector", args ?? new GetOfficePowerBIDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOfficePowerBIDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetOfficePowerBIDataConnectorArgs() + { + } + public static new GetOfficePowerBIDataConnectorArgs Empty => new GetOfficePowerBIDataConnectorArgs(); + } + + public sealed class GetOfficePowerBIDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetOfficePowerBIDataConnectorInvokeArgs() + { + } + public static new GetOfficePowerBIDataConnectorInvokeArgs Empty => new GetOfficePowerBIDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetOfficePowerBIDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.OfficePowerBIConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'OfficePowerBI'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetOfficePowerBIDataConnectorResult( + Outputs.OfficePowerBIConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetScheduledAlertRule.cs new file mode 100644 index 000000000000..a58784e00589 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetScheduledAlertRule.cs @@ -0,0 +1,286 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetScheduledAlertRule + { + /// + /// Gets the alert rule. + /// + public static Task InvokeAsync(GetScheduledAlertRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getScheduledAlertRule", args ?? new GetScheduledAlertRuleArgs(), options.WithDefaults()); + + /// + /// Gets the alert rule. + /// + public static Output Invoke(GetScheduledAlertRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getScheduledAlertRule", args ?? new GetScheduledAlertRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScheduledAlertRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetScheduledAlertRuleArgs() + { + } + public static new GetScheduledAlertRuleArgs Empty => new GetScheduledAlertRuleArgs(); + } + + public sealed class GetScheduledAlertRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetScheduledAlertRuleInvokeArgs() + { + } + public static new GetScheduledAlertRuleInvokeArgs Empty => new GetScheduledAlertRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetScheduledAlertRuleResult + { + /// + /// The alert details override settings + /// + public readonly Outputs.AlertDetailsOverrideResponse? AlertDetailsOverride; + /// + /// The Name of the alert rule template used to create this rule. + /// + public readonly string? AlertRuleTemplateName; + /// + /// Dictionary of string key-value pairs of columns to be attached to the alert + /// + public readonly ImmutableDictionary? CustomDetails; + /// + /// The description of the alert rule. + /// + public readonly string? Description; + /// + /// The display name for alerts created by this alert rule. + /// + public readonly string DisplayName; + /// + /// Determines whether this alert rule is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Array of the entity mappings of the alert rule + /// + public readonly ImmutableArray EntityMappings; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The event grouping settings. + /// + public readonly Outputs.EventGroupingSettingsResponse? EventGroupingSettings; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The settings of the incidents that created from alerts triggered by this analytics rule + /// + public readonly Outputs.IncidentConfigurationResponse? IncidentConfiguration; + /// + /// The kind of the alert rule + /// Expected value is 'Scheduled'. + /// + public readonly string Kind; + /// + /// The last time that this alert rule has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The query that creates alerts for this rule. + /// + public readonly string Query; + /// + /// The frequency (in ISO 8601 duration format) for this alert rule to run. + /// + public readonly string QueryFrequency; + /// + /// The period (in ISO 8601 duration format) that this alert rule looks at. + /// + public readonly string QueryPeriod; + /// + /// Array of the sentinel entity mappings of the alert rule + /// + public readonly ImmutableArray SentinelEntitiesMappings; + /// + /// The severity for alerts created by this alert rule. + /// + public readonly string Severity; + /// + /// The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + /// + public readonly string SuppressionDuration; + /// + /// Determines whether the suppression for this alert rule is enabled or disabled. + /// + public readonly bool SuppressionEnabled; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tactics of the alert rule + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques of the alert rule + /// + public readonly ImmutableArray Techniques; + /// + /// The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2> + /// + public readonly string? TemplateVersion; + /// + /// The operation against the threshold that triggers alert rule. + /// + public readonly string TriggerOperator; + /// + /// The threshold triggers this alert rule. + /// + public readonly int TriggerThreshold; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetScheduledAlertRuleResult( + Outputs.AlertDetailsOverrideResponse? alertDetailsOverride, + + string? alertRuleTemplateName, + + ImmutableDictionary? customDetails, + + string? description, + + string displayName, + + bool enabled, + + ImmutableArray entityMappings, + + string? etag, + + Outputs.EventGroupingSettingsResponse? eventGroupingSettings, + + string id, + + Outputs.IncidentConfigurationResponse? incidentConfiguration, + + string kind, + + string lastModifiedUtc, + + string name, + + string query, + + string queryFrequency, + + string queryPeriod, + + ImmutableArray sentinelEntitiesMappings, + + string severity, + + string suppressionDuration, + + bool suppressionEnabled, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string? templateVersion, + + string triggerOperator, + + int triggerThreshold, + + string type) + { + AlertDetailsOverride = alertDetailsOverride; + AlertRuleTemplateName = alertRuleTemplateName; + CustomDetails = customDetails; + Description = description; + DisplayName = displayName; + Enabled = enabled; + EntityMappings = entityMappings; + Etag = etag; + EventGroupingSettings = eventGroupingSettings; + Id = id; + IncidentConfiguration = incidentConfiguration; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + Query = query; + QueryFrequency = queryFrequency; + QueryPeriod = queryPeriod; + SentinelEntitiesMappings = sentinelEntitiesMappings; + Severity = severity; + SuppressionDuration = suppressionDuration; + SuppressionEnabled = suppressionEnabled; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + TemplateVersion = templateVersion; + TriggerOperator = triggerOperator; + TriggerThreshold = triggerThreshold; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetSentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetSentinelOnboardingState.cs new file mode 100644 index 000000000000..4f46e894bdd0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetSentinelOnboardingState.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetSentinelOnboardingState + { + /// + /// Get Sentinel onboarding state + /// + public static Task InvokeAsync(GetSentinelOnboardingStateArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getSentinelOnboardingState", args ?? new GetSentinelOnboardingStateArgs(), options.WithDefaults()); + + /// + /// Get Sentinel onboarding state + /// + public static Output Invoke(GetSentinelOnboardingStateInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getSentinelOnboardingState", args ?? new GetSentinelOnboardingStateInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSentinelOnboardingStateArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The Sentinel onboarding state name. Supports - default + /// + [Input("sentinelOnboardingStateName", required: true)] + public string SentinelOnboardingStateName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetSentinelOnboardingStateArgs() + { + } + public static new GetSentinelOnboardingStateArgs Empty => new GetSentinelOnboardingStateArgs(); + } + + public sealed class GetSentinelOnboardingStateInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The Sentinel onboarding state name. Supports - default + /// + [Input("sentinelOnboardingStateName", required: true)] + public Input SentinelOnboardingStateName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetSentinelOnboardingStateInvokeArgs() + { + } + public static new GetSentinelOnboardingStateInvokeArgs Empty => new GetSentinelOnboardingStateInvokeArgs(); + } + + + [OutputType] + public sealed class GetSentinelOnboardingStateResult + { + /// + /// Flag that indicates the status of the CMK setting + /// + public readonly bool? CustomerManagedKey; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetSentinelOnboardingStateResult( + bool? customerManagedKey, + + string? etag, + + string id, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + CustomerManagedKey = customerManagedKey; + Etag = etag; + Id = id; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetTIDataConnector.cs new file mode 100644 index 000000000000..0d151b9cd41c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetTIDataConnector.cs @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetTIDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetTIDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getTIDataConnector", args ?? new GetTIDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetTIDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getTIDataConnector", args ?? new GetTIDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetTIDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetTIDataConnectorArgs() + { + } + public static new GetTIDataConnectorArgs Empty => new GetTIDataConnectorArgs(); + } + + public sealed class GetTIDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetTIDataConnectorInvokeArgs() + { + } + public static new GetTIDataConnectorInvokeArgs Empty => new GetTIDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetTIDataConnectorResult + { + /// + /// The available data types for the connector. + /// + public readonly Outputs.TIDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'ThreatIntelligence'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The lookback period for the feed to be imported. + /// + public readonly string? TipLookbackPeriod; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetTIDataConnectorResult( + Outputs.TIDataConnectorDataTypesResponse dataTypes, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string tenantId, + + string? tipLookbackPeriod, + + string type) + { + DataTypes = dataTypes; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + TenantId = tenantId; + TipLookbackPeriod = tipLookbackPeriod; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetThreatIntelligenceAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetThreatIntelligenceAlertRule.cs new file mode 100644 index 000000000000..703e16a3aeff --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetThreatIntelligenceAlertRule.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetThreatIntelligenceAlertRule + { + /// + /// Gets the alert rule. + /// + public static Task InvokeAsync(GetThreatIntelligenceAlertRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getThreatIntelligenceAlertRule", args ?? new GetThreatIntelligenceAlertRuleArgs(), options.WithDefaults()); + + /// + /// Gets the alert rule. + /// + public static Output Invoke(GetThreatIntelligenceAlertRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getThreatIntelligenceAlertRule", args ?? new GetThreatIntelligenceAlertRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetThreatIntelligenceAlertRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public string RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetThreatIntelligenceAlertRuleArgs() + { + } + public static new GetThreatIntelligenceAlertRuleArgs Empty => new GetThreatIntelligenceAlertRuleArgs(); + } + + public sealed class GetThreatIntelligenceAlertRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId", required: true)] + public Input RuleId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetThreatIntelligenceAlertRuleInvokeArgs() + { + } + public static new GetThreatIntelligenceAlertRuleInvokeArgs Empty => new GetThreatIntelligenceAlertRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetThreatIntelligenceAlertRuleResult + { + /// + /// The Name of the alert rule template used to create this rule. + /// + public readonly string AlertRuleTemplateName; + /// + /// The description of the alert rule. + /// + public readonly string Description; + /// + /// The display name for alerts created by this alert rule. + /// + public readonly string DisplayName; + /// + /// Determines whether this alert rule is enabled or disabled. + /// + public readonly bool Enabled; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the alert rule + /// Expected value is 'ThreatIntelligence'. + /// + public readonly string Kind; + /// + /// The last time that this alert has been modified. + /// + public readonly string LastModifiedUtc; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The severity for alerts created by this alert rule. + /// + public readonly string Severity; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tactics of the alert rule + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques of the alert rule + /// + public readonly ImmutableArray Techniques; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetThreatIntelligenceAlertRuleResult( + string alertRuleTemplateName, + + string description, + + string displayName, + + bool enabled, + + string? etag, + + string id, + + string kind, + + string lastModifiedUtc, + + string name, + + string severity, + + Outputs.SystemDataResponse systemData, + + ImmutableArray tactics, + + ImmutableArray techniques, + + string type) + { + AlertRuleTemplateName = alertRuleTemplateName; + Description = description; + DisplayName = displayName; + Enabled = enabled; + Etag = etag; + Id = id; + Kind = kind; + LastModifiedUtc = lastModifiedUtc; + Name = name; + Severity = severity; + SystemData = systemData; + Tactics = tactics; + Techniques = techniques; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetThreatIntelligenceIndicator.cs new file mode 100644 index 000000000000..87013bf30411 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetThreatIntelligenceIndicator.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetThreatIntelligenceIndicator + { + /// + /// View a threat intelligence indicator by name. + /// + public static Task InvokeAsync(GetThreatIntelligenceIndicatorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getThreatIntelligenceIndicator", args ?? new GetThreatIntelligenceIndicatorArgs(), options.WithDefaults()); + + /// + /// View a threat intelligence indicator by name. + /// + public static Output Invoke(GetThreatIntelligenceIndicatorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getThreatIntelligenceIndicator", args ?? new GetThreatIntelligenceIndicatorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetThreatIntelligenceIndicatorArgs : global::Pulumi.InvokeArgs + { + /// + /// Threat intelligence indicator name field. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetThreatIntelligenceIndicatorArgs() + { + } + public static new GetThreatIntelligenceIndicatorArgs Empty => new GetThreatIntelligenceIndicatorArgs(); + } + + public sealed class GetThreatIntelligenceIndicatorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Threat intelligence indicator name field. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetThreatIntelligenceIndicatorInvokeArgs() + { + } + public static new GetThreatIntelligenceIndicatorInvokeArgs Empty => new GetThreatIntelligenceIndicatorInvokeArgs(); + } + + + [OutputType] + public sealed class GetThreatIntelligenceIndicatorResult + { + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the entity. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetThreatIntelligenceIndicatorResult( + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetTiTaxiiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetTiTaxiiDataConnector.cs new file mode 100644 index 000000000000..adb4d65787c3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetTiTaxiiDataConnector.cs @@ -0,0 +1,202 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetTiTaxiiDataConnector + { + /// + /// Gets a data connector. + /// + public static Task InvokeAsync(GetTiTaxiiDataConnectorArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getTiTaxiiDataConnector", args ?? new GetTiTaxiiDataConnectorArgs(), options.WithDefaults()); + + /// + /// Gets a data connector. + /// + public static Output Invoke(GetTiTaxiiDataConnectorInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getTiTaxiiDataConnector", args ?? new GetTiTaxiiDataConnectorInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetTiTaxiiDataConnectorArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public string DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetTiTaxiiDataConnectorArgs() + { + } + public static new GetTiTaxiiDataConnectorArgs Empty => new GetTiTaxiiDataConnectorArgs(); + } + + public sealed class GetTiTaxiiDataConnectorInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId", required: true)] + public Input DataConnectorId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetTiTaxiiDataConnectorInvokeArgs() + { + } + public static new GetTiTaxiiDataConnectorInvokeArgs Empty => new GetTiTaxiiDataConnectorInvokeArgs(); + } + + + [OutputType] + public sealed class GetTiTaxiiDataConnectorResult + { + /// + /// The collection id of the TAXII server. + /// + public readonly string? CollectionId; + /// + /// The available data types for Threat Intelligence TAXII data connector. + /// + public readonly Outputs.TiTaxiiDataConnectorDataTypesResponse DataTypes; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// The friendly name for the TAXII server. + /// + public readonly string? FriendlyName; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the data connector + /// Expected value is 'ThreatIntelligenceTaxii'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The password for the TAXII server. + /// + public readonly string? Password; + /// + /// The polling frequency for the TAXII server. + /// + public readonly string PollingFrequency; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The lookback period for the TAXII server. + /// + public readonly string? TaxiiLookbackPeriod; + /// + /// The API root for the TAXII server. + /// + public readonly string? TaxiiServer; + /// + /// The tenant id to connect to, and get the data from. + /// + public readonly string TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The userName for the TAXII server. + /// + public readonly string? UserName; + /// + /// The workspace id. + /// + public readonly string? WorkspaceId; + + [OutputConstructor] + private GetTiTaxiiDataConnectorResult( + string? collectionId, + + Outputs.TiTaxiiDataConnectorDataTypesResponse dataTypes, + + string? etag, + + string? friendlyName, + + string id, + + string kind, + + string name, + + string? password, + + string pollingFrequency, + + Outputs.SystemDataResponse systemData, + + string? taxiiLookbackPeriod, + + string? taxiiServer, + + string tenantId, + + string type, + + string? userName, + + string? workspaceId) + { + CollectionId = collectionId; + DataTypes = dataTypes; + Etag = etag; + FriendlyName = friendlyName; + Id = id; + Kind = kind; + Name = name; + Password = password; + PollingFrequency = pollingFrequency; + SystemData = systemData; + TaxiiLookbackPeriod = taxiiLookbackPeriod; + TaxiiServer = taxiiServer; + TenantId = tenantId; + Type = type; + UserName = userName; + WorkspaceId = workspaceId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetUeba.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetUeba.cs new file mode 100644 index 000000000000..e3c936d31290 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetUeba.cs @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetUeba + { + /// + /// Gets a setting. + /// + public static Task InvokeAsync(GetUebaArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getUeba", args ?? new GetUebaArgs(), options.WithDefaults()); + + /// + /// Gets a setting. + /// + public static Output Invoke(GetUebaInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getUeba", args ?? new GetUebaInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetUebaArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public string SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetUebaArgs() + { + } + public static new GetUebaArgs Empty => new GetUebaArgs(); + } + + public sealed class GetUebaInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName", required: true)] + public Input SettingsName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetUebaInvokeArgs() + { + } + public static new GetUebaInvokeArgs Empty => new GetUebaInvokeArgs(); + } + + + [OutputType] + public sealed class GetUebaResult + { + /// + /// The relevant data sources that enriched by ueba + /// + public readonly ImmutableArray DataSources; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The kind of the setting + /// Expected value is 'Ueba'. + /// + public readonly string Kind; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetUebaResult( + ImmutableArray dataSources, + + string? etag, + + string id, + + string kind, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + DataSources = dataSources; + Etag = etag; + Id = id; + Kind = kind; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetWatchlist.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWatchlist.cs new file mode 100644 index 000000000000..b863b02b0c7c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWatchlist.cs @@ -0,0 +1,271 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetWatchlist + { + /// + /// Gets a watchlist, without its watchlist items. + /// + public static Task InvokeAsync(GetWatchlistArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getWatchlist", args ?? new GetWatchlistArgs(), options.WithDefaults()); + + /// + /// Gets a watchlist, without its watchlist items. + /// + public static Output Invoke(GetWatchlistInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getWatchlist", args ?? new GetWatchlistInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWatchlistArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Watchlist Alias + /// + [Input("watchlistAlias", required: true)] + public string WatchlistAlias { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWatchlistArgs() + { + } + public static new GetWatchlistArgs Empty => new GetWatchlistArgs(); + } + + public sealed class GetWatchlistInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Watchlist Alias + /// + [Input("watchlistAlias", required: true)] + public Input WatchlistAlias { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWatchlistInvokeArgs() + { + } + public static new GetWatchlistInvokeArgs Empty => new GetWatchlistInvokeArgs(); + } + + + [OutputType] + public sealed class GetWatchlistResult + { + /// + /// The content type of the raw content. Example : text/csv or text/tsv + /// + public readonly string? ContentType; + /// + /// The time the watchlist was created + /// + public readonly string? Created; + /// + /// Describes a user that created the watchlist + /// + public readonly Outputs.WatchlistUserInfoResponse? CreatedBy; + /// + /// The default duration of a watchlist (in ISO 8601 duration format) + /// + public readonly string? DefaultDuration; + /// + /// A description of the watchlist + /// + public readonly string? Description; + /// + /// The display name of the watchlist + /// + public readonly string DisplayName; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// A flag that indicates if the watchlist is deleted or not + /// + public readonly bool? IsDeleted; + /// + /// The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + /// + public readonly string ItemsSearchKey; + /// + /// List of labels relevant to this watchlist + /// + public readonly ImmutableArray Labels; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The number of lines in a csv/tsv content to skip before the header + /// + public readonly int? NumberOfLinesToSkip; + /// + /// The provider of the watchlist + /// + public readonly string Provider; + /// + /// The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + /// + public readonly string? RawContent; + /// + /// The filename of the watchlist, called 'source' + /// + public readonly string? Source; + /// + /// The sourceType of the watchlist + /// + public readonly string? SourceType; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenantId where the watchlist belongs to + /// + public readonly string? TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The last time the watchlist was updated + /// + public readonly string? Updated; + /// + /// Describes a user that updated the watchlist + /// + public readonly Outputs.WatchlistUserInfoResponse? UpdatedBy; + /// + /// The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + /// + public readonly string? UploadStatus; + /// + /// The alias of the watchlist + /// + public readonly string? WatchlistAlias; + /// + /// The id (a Guid) of the watchlist + /// + public readonly string? WatchlistId; + /// + /// The type of the watchlist + /// + public readonly string? WatchlistType; + + [OutputConstructor] + private GetWatchlistResult( + string? contentType, + + string? created, + + Outputs.WatchlistUserInfoResponse? createdBy, + + string? defaultDuration, + + string? description, + + string displayName, + + string? etag, + + string id, + + bool? isDeleted, + + string itemsSearchKey, + + ImmutableArray labels, + + string name, + + int? numberOfLinesToSkip, + + string provider, + + string? rawContent, + + string? source, + + string? sourceType, + + Outputs.SystemDataResponse systemData, + + string? tenantId, + + string type, + + string? updated, + + Outputs.WatchlistUserInfoResponse? updatedBy, + + string? uploadStatus, + + string? watchlistAlias, + + string? watchlistId, + + string? watchlistType) + { + ContentType = contentType; + Created = created; + CreatedBy = createdBy; + DefaultDuration = defaultDuration; + Description = description; + DisplayName = displayName; + Etag = etag; + Id = id; + IsDeleted = isDeleted; + ItemsSearchKey = itemsSearchKey; + Labels = labels; + Name = name; + NumberOfLinesToSkip = numberOfLinesToSkip; + Provider = provider; + RawContent = rawContent; + Source = source; + SourceType = sourceType; + SystemData = systemData; + TenantId = tenantId; + Type = type; + Updated = updated; + UpdatedBy = updatedBy; + UploadStatus = uploadStatus; + WatchlistAlias = watchlistAlias; + WatchlistId = watchlistId; + WatchlistType = watchlistType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetWatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWatchlistItem.cs new file mode 100644 index 000000000000..0ec04075c635 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWatchlistItem.cs @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetWatchlistItem + { + /// + /// Gets a watchlist, without its watchlist items. + /// + public static Task InvokeAsync(GetWatchlistItemArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getWatchlistItem", args ?? new GetWatchlistItemArgs(), options.WithDefaults()); + + /// + /// Gets a watchlist, without its watchlist items. + /// + public static Output Invoke(GetWatchlistItemInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getWatchlistItem", args ?? new GetWatchlistItemInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWatchlistItemArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Watchlist Alias + /// + [Input("watchlistAlias", required: true)] + public string WatchlistAlias { get; set; } = null!; + + /// + /// Watchlist Item Id (GUID) + /// + [Input("watchlistItemId", required: true)] + public string WatchlistItemId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWatchlistItemArgs() + { + } + public static new GetWatchlistItemArgs Empty => new GetWatchlistItemArgs(); + } + + public sealed class GetWatchlistItemInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Watchlist Alias + /// + [Input("watchlistAlias", required: true)] + public Input WatchlistAlias { get; set; } = null!; + + /// + /// Watchlist Item Id (GUID) + /// + [Input("watchlistItemId", required: true)] + public Input WatchlistItemId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWatchlistItemInvokeArgs() + { + } + public static new GetWatchlistItemInvokeArgs Empty => new GetWatchlistItemInvokeArgs(); + } + + + [OutputType] + public sealed class GetWatchlistItemResult + { + /// + /// The time the watchlist item was created + /// + public readonly string? Created; + /// + /// Describes a user that created the watchlist item + /// + public readonly Outputs.WatchlistUserInfoResponse? CreatedBy; + /// + /// key-value pairs for a watchlist item entity mapping + /// + public readonly object? EntityMapping; + /// + /// Etag of the azure resource + /// + public readonly string? Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// A flag that indicates if the watchlist item is deleted or not + /// + public readonly bool? IsDeleted; + /// + /// key-value pairs for a watchlist item + /// + public readonly object ItemsKeyValue; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The tenantId to which the watchlist item belongs to + /// + public readonly string? TenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// The last time the watchlist item was updated + /// + public readonly string? Updated; + /// + /// Describes a user that updated the watchlist item + /// + public readonly Outputs.WatchlistUserInfoResponse? UpdatedBy; + /// + /// The id (a Guid) of the watchlist item + /// + public readonly string? WatchlistItemId; + /// + /// The type of the watchlist item + /// + public readonly string? WatchlistItemType; + + [OutputConstructor] + private GetWatchlistItemResult( + string? created, + + Outputs.WatchlistUserInfoResponse? createdBy, + + object? entityMapping, + + string? etag, + + string id, + + bool? isDeleted, + + object itemsKeyValue, + + string name, + + Outputs.SystemDataResponse systemData, + + string? tenantId, + + string type, + + string? updated, + + Outputs.WatchlistUserInfoResponse? updatedBy, + + string? watchlistItemId, + + string? watchlistItemType) + { + Created = created; + CreatedBy = createdBy; + EntityMapping = entityMapping; + Etag = etag; + Id = id; + IsDeleted = isDeleted; + ItemsKeyValue = itemsKeyValue; + Name = name; + SystemData = systemData; + TenantId = tenantId; + Type = type; + Updated = updated; + UpdatedBy = updatedBy; + WatchlistItemId = watchlistItemId; + WatchlistItemType = watchlistItemType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerAssignment.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerAssignment.cs new file mode 100644 index 000000000000..3b486398b176 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerAssignment.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetWorkspaceManagerAssignment + { + /// + /// Gets a workspace manager assignment + /// + public static Task InvokeAsync(GetWorkspaceManagerAssignmentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getWorkspaceManagerAssignment", args ?? new GetWorkspaceManagerAssignmentArgs(), options.WithDefaults()); + + /// + /// Gets a workspace manager assignment + /// + public static Output Invoke(GetWorkspaceManagerAssignmentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerAssignment", args ?? new GetWorkspaceManagerAssignmentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWorkspaceManagerAssignmentArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager assignment + /// + [Input("workspaceManagerAssignmentName", required: true)] + public string WorkspaceManagerAssignmentName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerAssignmentArgs() + { + } + public static new GetWorkspaceManagerAssignmentArgs Empty => new GetWorkspaceManagerAssignmentArgs(); + } + + public sealed class GetWorkspaceManagerAssignmentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager assignment + /// + [Input("workspaceManagerAssignmentName", required: true)] + public Input WorkspaceManagerAssignmentName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerAssignmentInvokeArgs() + { + } + public static new GetWorkspaceManagerAssignmentInvokeArgs Empty => new GetWorkspaceManagerAssignmentInvokeArgs(); + } + + + [OutputType] + public sealed class GetWorkspaceManagerAssignmentResult + { + /// + /// Resource Etag. + /// + public readonly string Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// List of resources included in this workspace manager assignment + /// + public readonly ImmutableArray Items; + /// + /// The time the last job associated to this assignment ended at + /// + public readonly string LastJobEndTime; + /// + /// State of the last job associated to this assignment + /// + public readonly string LastJobProvisioningState; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The resource name of the workspace manager group targeted by the workspace manager assignment + /// + public readonly string TargetResourceName; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetWorkspaceManagerAssignmentResult( + string etag, + + string id, + + ImmutableArray items, + + string lastJobEndTime, + + string lastJobProvisioningState, + + string name, + + Outputs.SystemDataResponse systemData, + + string targetResourceName, + + string type) + { + Etag = etag; + Id = id; + Items = items; + LastJobEndTime = lastJobEndTime; + LastJobProvisioningState = lastJobProvisioningState; + Name = name; + SystemData = systemData; + TargetResourceName = targetResourceName; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerConfiguration.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerConfiguration.cs new file mode 100644 index 000000000000..114d866e7ee5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerConfiguration.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetWorkspaceManagerConfiguration + { + /// + /// Gets a workspace manager configuration + /// + public static Task InvokeAsync(GetWorkspaceManagerConfigurationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getWorkspaceManagerConfiguration", args ?? new GetWorkspaceManagerConfigurationArgs(), options.WithDefaults()); + + /// + /// Gets a workspace manager configuration + /// + public static Output Invoke(GetWorkspaceManagerConfigurationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerConfiguration", args ?? new GetWorkspaceManagerConfigurationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWorkspaceManagerConfigurationArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager configuration + /// + [Input("workspaceManagerConfigurationName", required: true)] + public string WorkspaceManagerConfigurationName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerConfigurationArgs() + { + } + public static new GetWorkspaceManagerConfigurationArgs Empty => new GetWorkspaceManagerConfigurationArgs(); + } + + public sealed class GetWorkspaceManagerConfigurationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager configuration + /// + [Input("workspaceManagerConfigurationName", required: true)] + public Input WorkspaceManagerConfigurationName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerConfigurationInvokeArgs() + { + } + public static new GetWorkspaceManagerConfigurationInvokeArgs Empty => new GetWorkspaceManagerConfigurationInvokeArgs(); + } + + + [OutputType] + public sealed class GetWorkspaceManagerConfigurationResult + { + /// + /// Resource Etag. + /// + public readonly string Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The current mode of the workspace manager configuration + /// + public readonly string Mode; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetWorkspaceManagerConfigurationResult( + string etag, + + string id, + + string mode, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Etag = etag; + Id = id; + Mode = mode; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerGroup.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerGroup.cs new file mode 100644 index 000000000000..720bdd32314e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerGroup.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetWorkspaceManagerGroup + { + /// + /// Gets a workspace manager group + /// + public static Task InvokeAsync(GetWorkspaceManagerGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getWorkspaceManagerGroup", args ?? new GetWorkspaceManagerGroupArgs(), options.WithDefaults()); + + /// + /// Gets a workspace manager group + /// + public static Output Invoke(GetWorkspaceManagerGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerGroup", args ?? new GetWorkspaceManagerGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWorkspaceManagerGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager group + /// + [Input("workspaceManagerGroupName", required: true)] + public string WorkspaceManagerGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerGroupArgs() + { + } + public static new GetWorkspaceManagerGroupArgs Empty => new GetWorkspaceManagerGroupArgs(); + } + + public sealed class GetWorkspaceManagerGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager group + /// + [Input("workspaceManagerGroupName", required: true)] + public Input WorkspaceManagerGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerGroupInvokeArgs() + { + } + public static new GetWorkspaceManagerGroupInvokeArgs Empty => new GetWorkspaceManagerGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetWorkspaceManagerGroupResult + { + /// + /// The description of the workspace manager group + /// + public readonly string? Description; + /// + /// The display name of the workspace manager group + /// + public readonly string DisplayName; + /// + /// Resource Etag. + /// + public readonly string Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The names of the workspace manager members participating in this group. + /// + public readonly ImmutableArray MemberResourceNames; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetWorkspaceManagerGroupResult( + string? description, + + string displayName, + + string etag, + + string id, + + ImmutableArray memberResourceNames, + + string name, + + Outputs.SystemDataResponse systemData, + + string type) + { + Description = description; + DisplayName = displayName; + Etag = etag; + Id = id; + MemberResourceNames = memberResourceNames; + Name = name; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerMember.cs new file mode 100644 index 000000000000..0016931ba5ad --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/GetWorkspaceManagerMember.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class GetWorkspaceManagerMember + { + /// + /// Gets a workspace manager member + /// + public static Task InvokeAsync(GetWorkspaceManagerMemberArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:getWorkspaceManagerMember", args ?? new GetWorkspaceManagerMemberArgs(), options.WithDefaults()); + + /// + /// Gets a workspace manager member + /// + public static Output Invoke(GetWorkspaceManagerMemberInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerMember", args ?? new GetWorkspaceManagerMemberInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetWorkspaceManagerMemberArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager member + /// + [Input("workspaceManagerMemberName", required: true)] + public string WorkspaceManagerMemberName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerMemberArgs() + { + } + public static new GetWorkspaceManagerMemberArgs Empty => new GetWorkspaceManagerMemberArgs(); + } + + public sealed class GetWorkspaceManagerMemberInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager member + /// + [Input("workspaceManagerMemberName", required: true)] + public Input WorkspaceManagerMemberName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public GetWorkspaceManagerMemberInvokeArgs() + { + } + public static new GetWorkspaceManagerMemberInvokeArgs Empty => new GetWorkspaceManagerMemberInvokeArgs(); + } + + + [OutputType] + public sealed class GetWorkspaceManagerMemberResult + { + /// + /// Resource Etag. + /// + public readonly string Etag; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + /// + public readonly string TargetWorkspaceResourceId; + /// + /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + /// + public readonly string TargetWorkspaceTenantId; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetWorkspaceManagerMemberResult( + string etag, + + string id, + + string name, + + Outputs.SystemDataResponse systemData, + + string targetWorkspaceResourceId, + + string targetWorkspaceTenantId, + + string type) + { + Etag = etag; + Id = id; + Name = name; + SystemData = systemData; + TargetWorkspaceResourceId = targetWorkspaceResourceId; + TargetWorkspaceTenantId = targetWorkspaceTenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Hunt.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Hunt.cs new file mode 100644 index 000000000000..7bf8c4466abf --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Hunt.cs @@ -0,0 +1,235 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a Hunt in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Hunt")] + public partial class Hunt : global::Pulumi.CustomResource + { + /// + /// A list of mitre attack tactics the hunt is associated with + /// + [Output("attackTactics")] + public Output> AttackTactics { get; private set; } = null!; + + /// + /// A list of a mitre attack techniques the hunt is associated with + /// + [Output("attackTechniques")] + public Output> AttackTechniques { get; private set; } = null!; + + /// + /// The description of the hunt + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name of the hunt + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The hypothesis status of the hunt. + /// + [Output("hypothesisStatus")] + public Output HypothesisStatus { get; private set; } = null!; + + /// + /// List of labels relevant to this hunt + /// + [Output("labels")] + public Output> Labels { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Describes a user that the hunt is assigned to + /// + [Output("owner")] + public Output Owner { get; private set; } = null!; + + /// + /// The status of the hunt. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Hunt 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 Hunt(string name, HuntArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Hunt", name, args ?? new HuntArgs(), MakeResourceOptions(options, "")) + { + } + + private Hunt(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Hunt", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Hunt"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Hunt"}, + }, + }; + 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 Hunt 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. + /// A bag of options that control this resource's behavior + public static Hunt Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Hunt(name, id, options); + } + } + + public sealed class HuntArgs : global::Pulumi.ResourceArgs + { + [Input("attackTactics")] + private InputList>? _attackTactics; + + /// + /// A list of mitre attack tactics the hunt is associated with + /// + public InputList> AttackTactics + { + get => _attackTactics ?? (_attackTactics = new InputList>()); + set => _attackTactics = value; + } + + [Input("attackTechniques")] + private InputList? _attackTechniques; + + /// + /// A list of a mitre attack techniques the hunt is associated with + /// + public InputList AttackTechniques + { + get => _attackTechniques ?? (_attackTechniques = new InputList()); + set => _attackTechniques = value; + } + + /// + /// The description of the hunt + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// The display name of the hunt + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// The hunt id (GUID) + /// + [Input("huntId")] + public Input? HuntId { get; set; } + + /// + /// The hypothesis status of the hunt. + /// + [Input("hypothesisStatus")] + public InputUnion? HypothesisStatus { get; set; } + + [Input("labels")] + private InputList? _labels; + + /// + /// List of labels relevant to this hunt + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// Describes a user that the hunt is assigned to + /// + [Input("owner")] + public Input? Owner { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The status of the hunt. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public HuntArgs() + { + HypothesisStatus = "Unknown"; + Status = "New"; + } + public static new HuntArgs Empty => new HuntArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/HuntComment.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/HuntComment.cs new file mode 100644 index 000000000000..e02fc93c3224 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/HuntComment.cs @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a Hunt Comment in Azure Security Insights + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:HuntComment")] + public partial class HuntComment : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The message for the comment + /// + [Output("message")] + public Output Message { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a HuntComment 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 HuntComment(string name, HuntCommentArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:HuntComment", name, args ?? new HuntCommentArgs(), MakeResourceOptions(options, "")) + { + } + + private HuntComment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:HuntComment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntComment"}, + }, + }; + 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 HuntComment 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. + /// A bag of options that control this resource's behavior + public static HuntComment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new HuntComment(name, id, options); + } + } + + public sealed class HuntCommentArgs : global::Pulumi.ResourceArgs + { + /// + /// The hunt comment id (GUID) + /// + [Input("huntCommentId")] + public Input? HuntCommentId { get; set; } + + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public Input HuntId { get; set; } = null!; + + /// + /// The message for the comment + /// + [Input("message", required: true)] + public Input Message { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public HuntCommentArgs() + { + } + public static new HuntCommentArgs Empty => new HuntCommentArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/HuntRelation.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/HuntRelation.cs new file mode 100644 index 000000000000..d019603ceea8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/HuntRelation.cs @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a Hunt Relation in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:HuntRelation")] + public partial class HuntRelation : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// List of labels relevant to this hunt + /// + [Output("labels")] + public Output> Labels { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The id of the related resource + /// + [Output("relatedResourceId")] + public Output RelatedResourceId { get; private set; } = null!; + + /// + /// The resource that the relation is related to + /// + [Output("relatedResourceKind")] + public Output RelatedResourceKind { get; private set; } = null!; + + /// + /// The name of the related resource + /// + [Output("relatedResourceName")] + public Output RelatedResourceName { get; private set; } = null!; + + /// + /// The type of the hunt relation + /// + [Output("relationType")] + public Output RelationType { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a HuntRelation 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 HuntRelation(string name, HuntRelationArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:HuntRelation", name, args ?? new HuntRelationArgs(), MakeResourceOptions(options, "")) + { + } + + private HuntRelation(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:HuntRelation", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:HuntRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:HuntRelation"}, + }, + }; + 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 HuntRelation 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. + /// A bag of options that control this resource's behavior + public static HuntRelation Get(string name, Input id, CustomResourceOptions? options = null) + { + return new HuntRelation(name, id, options); + } + } + + public sealed class HuntRelationArgs : global::Pulumi.ResourceArgs + { + /// + /// The hunt id (GUID) + /// + [Input("huntId", required: true)] + public Input HuntId { get; set; } = null!; + + /// + /// The hunt relation id (GUID) + /// + [Input("huntRelationId")] + public Input? HuntRelationId { get; set; } + + [Input("labels")] + private InputList? _labels; + + /// + /// List of labels relevant to this hunt + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// The id of the related resource + /// + [Input("relatedResourceId", required: true)] + public Input RelatedResourceId { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public HuntRelationArgs() + { + } + public static new HuntRelationArgs Empty => new HuntRelationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Incident.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Incident.cs new file mode 100644 index 000000000000..a163f8f9bfa2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Incident.cs @@ -0,0 +1,330 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Incident")] + public partial class Incident : global::Pulumi.CustomResource + { + /// + /// Additional data on the incident + /// + [Output("additionalData")] + public Output AdditionalData { get; private set; } = null!; + + /// + /// The reason the incident was closed + /// + [Output("classification")] + public Output Classification { get; private set; } = null!; + + /// + /// Describes the reason the incident was closed + /// + [Output("classificationComment")] + public Output ClassificationComment { get; private set; } = null!; + + /// + /// The classification reason the incident was closed with + /// + [Output("classificationReason")] + public Output ClassificationReason { get; private set; } = null!; + + /// + /// The time the incident was created + /// + [Output("createdTimeUtc")] + public Output CreatedTimeUtc { get; private set; } = null!; + + /// + /// The description of the incident + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The time of the first activity in the incident + /// + [Output("firstActivityTimeUtc")] + public Output FirstActivityTimeUtc { get; private set; } = null!; + + /// + /// A sequential number + /// + [Output("incidentNumber")] + public Output IncidentNumber { get; private set; } = null!; + + /// + /// The deep-link url to the incident in Azure portal + /// + [Output("incidentUrl")] + public Output IncidentUrl { get; private set; } = null!; + + /// + /// List of labels relevant to this incident + /// + [Output("labels")] + public Output> Labels { get; private set; } = null!; + + /// + /// The time of the last activity in the incident + /// + [Output("lastActivityTimeUtc")] + public Output LastActivityTimeUtc { get; private set; } = null!; + + /// + /// The last time the incident was updated + /// + [Output("lastModifiedTimeUtc")] + public Output LastModifiedTimeUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Describes a user that the incident is assigned to + /// + [Output("owner")] + public Output Owner { get; private set; } = null!; + + /// + /// The incident ID assigned by the incident provider + /// + [Output("providerIncidentId")] + public Output ProviderIncidentId { get; private set; } = null!; + + /// + /// The name of the source provider that generated the incident + /// + [Output("providerName")] + public Output ProviderName { get; private set; } = null!; + + /// + /// List of resource ids of Analytic rules related to the incident + /// + [Output("relatedAnalyticRuleIds")] + public Output> RelatedAnalyticRuleIds { get; private set; } = null!; + + /// + /// The severity of the incident + /// + [Output("severity")] + public Output Severity { get; private set; } = null!; + + /// + /// The status of the incident + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Describes a team for the incident + /// + [Output("teamInformation")] + public Output TeamInformation { get; private set; } = null!; + + /// + /// The title of the incident + /// + [Output("title")] + public Output Title { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Incident 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 Incident(string name, IncidentArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Incident", name, args ?? new IncidentArgs(), MakeResourceOptions(options, "")) + { + } + + private Incident(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Incident", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210401:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Incident"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Incident"}, + }, + }; + 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 Incident 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. + /// A bag of options that control this resource's behavior + public static Incident Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Incident(name, id, options); + } + } + + public sealed class IncidentArgs : global::Pulumi.ResourceArgs + { + /// + /// The reason the incident was closed + /// + [Input("classification")] + public InputUnion? Classification { get; set; } + + /// + /// Describes the reason the incident was closed + /// + [Input("classificationComment")] + public Input? ClassificationComment { get; set; } + + /// + /// The classification reason the incident was closed with + /// + [Input("classificationReason")] + public InputUnion? ClassificationReason { get; set; } + + /// + /// The description of the incident + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The time of the first activity in the incident + /// + [Input("firstActivityTimeUtc")] + public Input? FirstActivityTimeUtc { get; set; } + + /// + /// Incident ID + /// + [Input("incidentId")] + public Input? IncidentId { get; set; } + + [Input("labels")] + private InputList? _labels; + + /// + /// List of labels relevant to this incident + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// The time of the last activity in the incident + /// + [Input("lastActivityTimeUtc")] + public Input? LastActivityTimeUtc { get; set; } + + /// + /// Describes a user that the incident is assigned to + /// + [Input("owner")] + public Input? Owner { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The severity of the incident + /// + [Input("severity", required: true)] + public InputUnion Severity { get; set; } = null!; + + /// + /// The status of the incident + /// + [Input("status", required: true)] + public InputUnion Status { get; set; } = null!; + + /// + /// The title of the incident + /// + [Input("title", required: true)] + public Input Title { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public IncidentArgs() + { + } + public static new IncidentArgs Empty => new IncidentArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentComment.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentComment.cs new file mode 100644 index 000000000000..98607e20a3a4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentComment.cs @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents an incident comment + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:IncidentComment")] + public partial class IncidentComment : global::Pulumi.CustomResource + { + /// + /// Describes the client that created the comment + /// + [Output("author")] + public Output Author { get; private set; } = null!; + + /// + /// The time the comment was created + /// + [Output("createdTimeUtc")] + public Output CreatedTimeUtc { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The time the comment was updated + /// + [Output("lastModifiedTimeUtc")] + public Output LastModifiedTimeUtc { get; private set; } = null!; + + /// + /// The comment message + /// + [Output("message")] + public Output Message { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IncidentComment 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 IncidentComment(string name, IncidentCommentArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IncidentComment", name, args ?? new IncidentCommentArgs(), MakeResourceOptions(options, "")) + { + } + + private IncidentComment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IncidentComment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210401:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentComment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentComment"}, + }, + }; + 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 IncidentComment 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. + /// A bag of options that control this resource's behavior + public static IncidentComment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IncidentComment(name, id, options); + } + } + + public sealed class IncidentCommentArgs : global::Pulumi.ResourceArgs + { + /// + /// Incident comment ID + /// + [Input("incidentCommentId")] + public Input? IncidentCommentId { get; set; } + + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// The comment message + /// + [Input("message", required: true)] + public Input Message { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public IncidentCommentArgs() + { + } + public static new IncidentCommentArgs Empty => new IncidentCommentArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentRelation.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentRelation.cs new file mode 100644 index 000000000000..51aebeb6f6db --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentRelation.cs @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a relation between two resources + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:IncidentRelation")] + public partial class IncidentRelation : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource ID of the related resource + /// + [Output("relatedResourceId")] + public Output RelatedResourceId { get; private set; } = null!; + + /// + /// The resource kind of the related resource + /// + [Output("relatedResourceKind")] + public Output RelatedResourceKind { get; private set; } = null!; + + /// + /// The name of the related resource + /// + [Output("relatedResourceName")] + public Output RelatedResourceName { get; private set; } = null!; + + /// + /// The resource type of the related resource + /// + [Output("relatedResourceType")] + public Output RelatedResourceType { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IncidentRelation 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 IncidentRelation(string name, IncidentRelationArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IncidentRelation", name, args ?? new IncidentRelationArgs(), MakeResourceOptions(options, "")) + { + } + + private IncidentRelation(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IncidentRelation", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210401:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentRelation"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentRelation"}, + }, + }; + 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 IncidentRelation 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. + /// A bag of options that control this resource's behavior + public static IncidentRelation Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IncidentRelation(name, id, options); + } + } + + public sealed class IncidentRelationArgs : global::Pulumi.ResourceArgs + { + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// The resource ID of the related resource + /// + [Input("relatedResourceId", required: true)] + public Input RelatedResourceId { get; set; } = null!; + + /// + /// Relation Name + /// + [Input("relationName")] + public Input? RelationName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public IncidentRelationArgs() + { + } + public static new IncidentRelationArgs Empty => new IncidentRelationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentTask.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentTask.cs new file mode 100644 index 000000000000..f43427dca1f6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/IncidentTask.cs @@ -0,0 +1,191 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:IncidentTask")] + public partial class IncidentTask : global::Pulumi.CustomResource + { + /// + /// Information on the client (user or application) that made some action + /// + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// The time the task was created + /// + [Output("createdTimeUtc")] + public Output CreatedTimeUtc { get; private set; } = null!; + + /// + /// The description of the task + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Information on the client (user or application) that made some action + /// + [Output("lastModifiedBy")] + public Output LastModifiedBy { get; private set; } = null!; + + /// + /// The last time the task was updated + /// + [Output("lastModifiedTimeUtc")] + public Output LastModifiedTimeUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The title of the task + /// + [Output("title")] + public Output Title { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IncidentTask 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 IncidentTask(string name, IncidentTaskArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IncidentTask", name, args ?? new IncidentTaskArgs(), MakeResourceOptions(options, "")) + { + } + + private IncidentTask(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IncidentTask", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IncidentTask"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IncidentTask"}, + }, + }; + 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 IncidentTask 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. + /// A bag of options that control this resource's behavior + public static IncidentTask Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IncidentTask(name, id, options); + } + } + + public sealed class IncidentTaskArgs : global::Pulumi.ResourceArgs + { + /// + /// Information on the client (user or application) that made some action + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// The description of the task + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Incident ID + /// + [Input("incidentId", required: true)] + public Input IncidentId { get; set; } = null!; + + /// + /// Incident task ID + /// + [Input("incidentTaskId")] + public Input? IncidentTaskId { get; set; } + + /// + /// Information on the client (user or application) that made some action + /// + [Input("lastModifiedBy")] + public Input? LastModifiedBy { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("status", required: true)] + public InputUnion Status { get; set; } = null!; + + /// + /// The title of the task + /// + [Input("title", required: true)] + public Input Title { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public IncidentTaskArgs() + { + } + public static new IncidentTaskArgs Empty => new IncidentTaskArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ActivityEntityQueriesPropertiesQueryDefinitionsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ActivityEntityQueriesPropertiesQueryDefinitionsArgs.cs new file mode 100644 index 000000000000..97994e15dc45 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ActivityEntityQueriesPropertiesQueryDefinitionsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The Activity query definitions + /// + public sealed class ActivityEntityQueriesPropertiesQueryDefinitionsArgs : global::Pulumi.ResourceArgs + { + /// + /// The Activity query to run on a given entity + /// + [Input("query")] + public Input? Query { get; set; } + + public ActivityEntityQueriesPropertiesQueryDefinitionsArgs() + { + } + public static new ActivityEntityQueriesPropertiesQueryDefinitionsArgs Empty => new ActivityEntityQueriesPropertiesQueryDefinitionsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AddIncidentTaskActionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AddIncidentTaskActionPropertiesArgs.cs new file mode 100644 index 000000000000..e7a550e0080d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AddIncidentTaskActionPropertiesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class AddIncidentTaskActionPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the task. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The title of the task. + /// + [Input("title", required: true)] + public Input Title { get; set; } = null!; + + public AddIncidentTaskActionPropertiesArgs() + { + } + public static new AddIncidentTaskActionPropertiesArgs Empty => new AddIncidentTaskActionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertDetailsOverrideArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertDetailsOverrideArgs.cs new file mode 100644 index 000000000000..92f48b9d2cae --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertDetailsOverrideArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Settings for how to dynamically override alert static details + /// + public sealed class AlertDetailsOverrideArgs : global::Pulumi.ResourceArgs + { + /// + /// the format containing columns name(s) to override the alert description + /// + [Input("alertDescriptionFormat")] + public Input? AlertDescriptionFormat { get; set; } + + /// + /// the format containing columns name(s) to override the alert name + /// + [Input("alertDisplayNameFormat")] + public Input? AlertDisplayNameFormat { get; set; } + + [Input("alertDynamicProperties")] + private InputList? _alertDynamicProperties; + + /// + /// List of additional dynamic properties to override + /// + public InputList AlertDynamicProperties + { + get => _alertDynamicProperties ?? (_alertDynamicProperties = new InputList()); + set => _alertDynamicProperties = value; + } + + /// + /// the column name to take the alert severity from + /// + [Input("alertSeverityColumnName")] + public Input? AlertSeverityColumnName { get; set; } + + /// + /// the column name to take the alert tactics from + /// + [Input("alertTacticsColumnName")] + public Input? AlertTacticsColumnName { get; set; } + + public AlertDetailsOverrideArgs() + { + } + public static new AlertDetailsOverrideArgs Empty => new AlertDetailsOverrideArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertPropertyMappingArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertPropertyMappingArgs.cs new file mode 100644 index 000000000000..a517038a7214 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertPropertyMappingArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// A single alert property mapping to override + /// + public sealed class AlertPropertyMappingArgs : global::Pulumi.ResourceArgs + { + /// + /// The V3 alert property + /// + [Input("alertProperty")] + public InputUnion? AlertProperty { get; set; } + + /// + /// the column name to use to override this property + /// + [Input("value")] + public Input? Value { get; set; } + + public AlertPropertyMappingArgs() + { + } + public static new AlertPropertyMappingArgs Empty => new AlertPropertyMappingArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertsDataTypeOfDataConnectorArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertsDataTypeOfDataConnectorArgs.cs new file mode 100644 index 000000000000..c5c816190b87 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AlertsDataTypeOfDataConnectorArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Alerts data type for data connectors. + /// + public sealed class AlertsDataTypeOfDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Alerts data type connection. + /// + [Input("alerts", required: true)] + public Input Alerts { get; set; } = null!; + + public AlertsDataTypeOfDataConnectorArgs() + { + } + public static new AlertsDataTypeOfDataConnectorArgs Empty => new AlertsDataTypeOfDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AssignmentItemArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AssignmentItemArgs.cs new file mode 100644 index 000000000000..6ee98e24a891 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AssignmentItemArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// An entity describing a content item. + /// + public sealed class AssignmentItemArgs : global::Pulumi.ResourceArgs + { + /// + /// The resource id of the content item + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + public AssignmentItemArgs() + { + } + public static new AssignmentItemArgs Empty => new AssignmentItemArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleAddIncidentTaskActionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleAddIncidentTaskActionArgs.cs new file mode 100644 index 000000000000..77a7d641ae81 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleAddIncidentTaskActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule action to add a task to an incident + /// + public sealed class AutomationRuleAddIncidentTaskActionArgs : global::Pulumi.ResourceArgs + { + [Input("actionConfiguration")] + public Input? ActionConfiguration { get; set; } + + /// + /// The type of the automation rule action. + /// Expected value is 'AddIncidentTask'. + /// + [Input("actionType", required: true)] + public Input ActionType { get; set; } = null!; + + [Input("order", required: true)] + public Input Order { get; set; } = null!; + + public AutomationRuleAddIncidentTaskActionArgs() + { + } + public static new AutomationRuleAddIncidentTaskActionArgs Empty => new AutomationRuleAddIncidentTaskActionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleBooleanConditionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleBooleanConditionArgs.cs new file mode 100644 index 000000000000..6f8d9b3306eb --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleBooleanConditionArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class AutomationRuleBooleanConditionArgs : global::Pulumi.ResourceArgs + { + [Input("innerConditions")] + private InputList? _innerConditions; + public InputList InnerConditions + { + get => _innerConditions ?? (_innerConditions = new InputList()); + set => _innerConditions = value; + } + + [Input("operator")] + public InputUnion? Operator { get; set; } + + public AutomationRuleBooleanConditionArgs() + { + } + public static new AutomationRuleBooleanConditionArgs Empty => new AutomationRuleBooleanConditionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleModifyPropertiesActionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleModifyPropertiesActionArgs.cs new file mode 100644 index 000000000000..7bedec63d59a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleModifyPropertiesActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule action to modify an object's properties + /// + public sealed class AutomationRuleModifyPropertiesActionArgs : global::Pulumi.ResourceArgs + { + [Input("actionConfiguration")] + public Input? ActionConfiguration { get; set; } + + /// + /// The type of the automation rule action. + /// Expected value is 'ModifyProperties'. + /// + [Input("actionType", required: true)] + public Input ActionType { get; set; } = null!; + + [Input("order", required: true)] + public Input Order { get; set; } = null!; + + public AutomationRuleModifyPropertiesActionArgs() + { + } + public static new AutomationRuleModifyPropertiesActionArgs Empty => new AutomationRuleModifyPropertiesActionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyArrayChangedValuesConditionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyArrayChangedValuesConditionArgs.cs new file mode 100644 index 000000000000..8e565a17d2dd --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyArrayChangedValuesConditionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class AutomationRulePropertyArrayChangedValuesConditionArgs : global::Pulumi.ResourceArgs + { + [Input("arrayType")] + public InputUnion? ArrayType { get; set; } + + [Input("changeType")] + public InputUnion? ChangeType { get; set; } + + public AutomationRulePropertyArrayChangedValuesConditionArgs() + { + } + public static new AutomationRulePropertyArrayChangedValuesConditionArgs Empty => new AutomationRulePropertyArrayChangedValuesConditionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyArrayValuesConditionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyArrayValuesConditionArgs.cs new file mode 100644 index 000000000000..4a7259cc15ec --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyArrayValuesConditionArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class AutomationRulePropertyArrayValuesConditionArgs : global::Pulumi.ResourceArgs + { + [Input("arrayConditionType")] + public InputUnion? ArrayConditionType { get; set; } + + [Input("arrayType")] + public InputUnion? ArrayType { get; set; } + + [Input("itemConditions")] + private InputList? _itemConditions; + public InputList ItemConditions + { + get => _itemConditions ?? (_itemConditions = new InputList()); + set => _itemConditions = value; + } + + public AutomationRulePropertyArrayValuesConditionArgs() + { + } + public static new AutomationRulePropertyArrayValuesConditionArgs Empty => new AutomationRulePropertyArrayValuesConditionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyValuesChangedConditionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyValuesChangedConditionArgs.cs new file mode 100644 index 000000000000..34d3dd91df0f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyValuesChangedConditionArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class AutomationRulePropertyValuesChangedConditionArgs : global::Pulumi.ResourceArgs + { + [Input("changeType")] + public InputUnion? ChangeType { get; set; } + + [Input("operator")] + public InputUnion? Operator { get; set; } + + [Input("propertyName")] + public InputUnion? PropertyName { get; set; } + + [Input("propertyValues")] + private InputList? _propertyValues; + public InputList PropertyValues + { + get => _propertyValues ?? (_propertyValues = new InputList()); + set => _propertyValues = value; + } + + public AutomationRulePropertyValuesChangedConditionArgs() + { + } + public static new AutomationRulePropertyValuesChangedConditionArgs Empty => new AutomationRulePropertyValuesChangedConditionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyValuesConditionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyValuesConditionArgs.cs new file mode 100644 index 000000000000..2d76476d3589 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRulePropertyValuesConditionArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class AutomationRulePropertyValuesConditionArgs : global::Pulumi.ResourceArgs + { + [Input("operator")] + public InputUnion? Operator { get; set; } + + /// + /// The property to evaluate in an automation rule property condition. + /// + [Input("propertyName")] + public InputUnion? PropertyName { get; set; } + + [Input("propertyValues")] + private InputList? _propertyValues; + public InputList PropertyValues + { + get => _propertyValues ?? (_propertyValues = new InputList()); + set => _propertyValues = value; + } + + public AutomationRulePropertyValuesConditionArgs() + { + } + public static new AutomationRulePropertyValuesConditionArgs Empty => new AutomationRulePropertyValuesConditionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleRunPlaybookActionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleRunPlaybookActionArgs.cs new file mode 100644 index 000000000000..8b300ecc28c8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleRunPlaybookActionArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule action to run a playbook + /// + public sealed class AutomationRuleRunPlaybookActionArgs : global::Pulumi.ResourceArgs + { + [Input("actionConfiguration")] + public Input? ActionConfiguration { get; set; } + + /// + /// The type of the automation rule action. + /// Expected value is 'RunPlaybook'. + /// + [Input("actionType", required: true)] + public Input ActionType { get; set; } = null!; + + [Input("order", required: true)] + public Input Order { get; set; } = null!; + + public AutomationRuleRunPlaybookActionArgs() + { + } + public static new AutomationRuleRunPlaybookActionArgs Empty => new AutomationRuleRunPlaybookActionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleTriggeringLogicArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleTriggeringLogicArgs.cs new file mode 100644 index 000000000000..d98b12a54f96 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AutomationRuleTriggeringLogicArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes automation rule triggering logic. + /// + public sealed class AutomationRuleTriggeringLogicArgs : global::Pulumi.ResourceArgs + { + [Input("conditions")] + private InputList? _conditions; + + /// + /// The conditions to evaluate to determine if the automation rule should be triggered on a given object. + /// + public InputList Conditions + { + get => _conditions ?? (_conditions = new InputList()); + set => _conditions = value; + } + + /// + /// Determines when the automation rule should automatically expire and be disabled. + /// + [Input("expirationTimeUtc")] + public Input? ExpirationTimeUtc { get; set; } + + /// + /// Determines whether the automation rule is enabled or disabled. + /// + [Input("isEnabled", required: true)] + public Input IsEnabled { get; set; } = null!; + + [Input("triggersOn", required: true)] + public InputUnion TriggersOn { get; set; } = null!; + + [Input("triggersWhen", required: true)] + public InputUnion TriggersWhen { get; set; } = null!; + + public AutomationRuleTriggeringLogicArgs() + { + } + public static new AutomationRuleTriggeringLogicArgs Empty => new AutomationRuleTriggeringLogicArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AvailabilityArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AvailabilityArgs.cs new file mode 100644 index 000000000000..b9499c763e67 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AvailabilityArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Connector Availability Status + /// + public sealed class AvailabilityArgs : global::Pulumi.ResourceArgs + { + /// + /// Set connector as preview + /// + [Input("isPreview")] + public Input? IsPreview { get; set; } + + /// + /// The connector Availability Status + /// + [Input("status")] + public Input? Status { get; set; } + + public AvailabilityArgs() + { + } + public static new AvailabilityArgs Empty => new AvailabilityArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsCloudTrailDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsCloudTrailDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..68aa13cbd2b0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsCloudTrailDataConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Amazon Web Services CloudTrail data connector. + /// + public sealed class AwsCloudTrailDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Logs data type. + /// + [Input("logs", required: true)] + public Input Logs { get; set; } = null!; + + public AwsCloudTrailDataConnectorDataTypesArgs() + { + } + public static new AwsCloudTrailDataConnectorDataTypesArgs Empty => new AwsCloudTrailDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsCloudTrailDataConnectorDataTypesLogsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsCloudTrailDataConnectorDataTypesLogsArgs.cs new file mode 100644 index 000000000000..b53a92e6b512 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsCloudTrailDataConnectorDataTypesLogsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Logs data type. + /// + public sealed class AwsCloudTrailDataConnectorDataTypesLogsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public AwsCloudTrailDataConnectorDataTypesLogsArgs() + { + } + public static new AwsCloudTrailDataConnectorDataTypesLogsArgs Empty => new AwsCloudTrailDataConnectorDataTypesLogsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsS3DataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsS3DataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..a2e2f4dbe88e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsS3DataConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Amazon Web Services S3 data connector. + /// + public sealed class AwsS3DataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Logs data type. + /// + [Input("logs", required: true)] + public Input Logs { get; set; } = null!; + + public AwsS3DataConnectorDataTypesArgs() + { + } + public static new AwsS3DataConnectorDataTypesArgs Empty => new AwsS3DataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsS3DataConnectorDataTypesLogsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsS3DataConnectorDataTypesLogsArgs.cs new file mode 100644 index 000000000000..d9732756fd59 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/AwsS3DataConnectorDataTypesLogsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Logs data type. + /// + public sealed class AwsS3DataConnectorDataTypesLogsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public AwsS3DataConnectorDataTypesLogsArgs() + { + } + public static new AwsS3DataConnectorDataTypesLogsArgs Empty => new AwsS3DataConnectorDataTypesLogsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/BookmarkEntityMappingsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/BookmarkEntityMappingsArgs.cs new file mode 100644 index 000000000000..290b0460e053 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/BookmarkEntityMappingsArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes the entity mappings of a single entity + /// + public sealed class BookmarkEntityMappingsArgs : global::Pulumi.ResourceArgs + { + /// + /// The entity type + /// + [Input("entityType")] + public Input? EntityType { get; set; } + + [Input("fieldMappings")] + private InputList? _fieldMappings; + + /// + /// Array of fields mapping for that entity type + /// + public InputList FieldMappings + { + get => _fieldMappings ?? (_fieldMappings = new InputList()); + set => _fieldMappings = value; + } + + public BookmarkEntityMappingsArgs() + { + } + public static new BookmarkEntityMappingsArgs Empty => new BookmarkEntityMappingsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/BooleanConditionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/BooleanConditionPropertiesArgs.cs new file mode 100644 index 000000000000..c23f463fc5d1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/BooleanConditionPropertiesArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions + /// + public sealed class BooleanConditionPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("conditionProperties")] + public Input? ConditionProperties { get; set; } + + /// + /// + /// Expected value is 'Boolean'. + /// + [Input("conditionType", required: true)] + public Input ConditionType { get; set; } = null!; + + public BooleanConditionPropertiesArgs() + { + } + public static new BooleanConditionPropertiesArgs Empty => new BooleanConditionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ClientInfoArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ClientInfoArgs.cs new file mode 100644 index 000000000000..b00c598b05c5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ClientInfoArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Information on the client (user or application) that made some action + /// + public sealed class ClientInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// The email of the client. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// The name of the client. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The object id of the client. + /// + [Input("objectId")] + public Input? ObjectId { get; set; } + + /// + /// The user principal name of the client. + /// + [Input("userPrincipalName")] + public Input? UserPrincipalName { get; set; } + + public ClientInfoArgs() + { + } + public static new ClientInfoArgs Empty => new ClientInfoArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingAuthPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingAuthPropertiesArgs.cs new file mode 100644 index 000000000000..db0984c304b8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingAuthPropertiesArgs.cs @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describe the authentication properties needed to successfully authenticate with the server + /// + public sealed class CodelessConnectorPollingAuthPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// A prefix send in the header before the actual token + /// + [Input("apiKeyIdentifier")] + public Input? ApiKeyIdentifier { get; set; } + + /// + /// The header name which the token is sent with + /// + [Input("apiKeyName")] + public Input? ApiKeyName { get; set; } + + /// + /// The authentication type + /// + [Input("authType", required: true)] + public Input AuthType { get; set; } = null!; + + /// + /// The endpoint used to authorize the user, used in Oauth 2.0 flow + /// + [Input("authorizationEndpoint")] + public Input? AuthorizationEndpoint { get; set; } + + /// + /// The query parameters used in authorization request, used in Oauth 2.0 flow + /// + [Input("authorizationEndpointQueryParameters")] + public Input? AuthorizationEndpointQueryParameters { get; set; } + + /// + /// Describes the flow name, for example 'AuthCode' for Oauth 2.0 + /// + [Input("flowName")] + public Input? FlowName { get; set; } + + /// + /// Marks if the key should sent in header + /// + [Input("isApiKeyInPostPayload")] + public Input? IsApiKeyInPostPayload { get; set; } + + /// + /// Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + /// + [Input("isClientSecretInHeader")] + public Input? IsClientSecretInHeader { get; set; } + + /// + /// The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + /// + [Input("redirectionEndpoint")] + public Input? RedirectionEndpoint { get; set; } + + /// + /// The OAuth token scope + /// + [Input("scope")] + public Input? Scope { get; set; } + + /// + /// The endpoint used to issue a token, used in Oauth 2.0 flow + /// + [Input("tokenEndpoint")] + public Input? TokenEndpoint { get; set; } + + /// + /// The query headers used in token request, used in Oauth 2.0 flow + /// + [Input("tokenEndpointHeaders")] + public Input? TokenEndpointHeaders { get; set; } + + /// + /// The query parameters used in token request, used in Oauth 2.0 flow + /// + [Input("tokenEndpointQueryParameters")] + public Input? TokenEndpointQueryParameters { get; set; } + + public CodelessConnectorPollingAuthPropertiesArgs() + { + } + public static new CodelessConnectorPollingAuthPropertiesArgs Empty => new CodelessConnectorPollingAuthPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingConfigPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingConfigPropertiesArgs.cs new file mode 100644 index 000000000000..b38e2523f548 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingConfigPropertiesArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Config to describe the polling config for API poller connector + /// + public sealed class CodelessConnectorPollingConfigPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe the authentication type of the poller + /// + [Input("auth", required: true)] + public Input Auth { get; set; } = null!; + + /// + /// The poller active status + /// + [Input("isActive")] + public Input? IsActive { get; set; } + + /// + /// Describe the poll request paging config of the poller + /// + [Input("paging")] + public Input? Paging { get; set; } + + /// + /// Describe the poll request config parameters of the poller + /// + [Input("request", required: true)] + public Input Request { get; set; } = null!; + + /// + /// Describe the response config parameters of the poller + /// + [Input("response")] + public Input? Response { get; set; } + + public CodelessConnectorPollingConfigPropertiesArgs() + { + } + public static new CodelessConnectorPollingConfigPropertiesArgs Empty => new CodelessConnectorPollingConfigPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingPagingPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingPagingPropertiesArgs.cs new file mode 100644 index 000000000000..680b988c6183 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingPagingPropertiesArgs.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describe the properties needed to make a pagination call + /// + public sealed class CodelessConnectorPollingPagingPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Defines the name of a next page attribute + /// + [Input("nextPageParaName")] + public Input? NextPageParaName { get; set; } + + /// + /// Defines the path to a next page token JSON + /// + [Input("nextPageTokenJsonPath")] + public Input? NextPageTokenJsonPath { get; set; } + + /// + /// Defines the path to a page count attribute + /// + [Input("pageCountAttributePath")] + public Input? PageCountAttributePath { get; set; } + + /// + /// Defines the paging size + /// + [Input("pageSize")] + public Input? PageSize { get; set; } + + /// + /// Defines the name of the page size parameter + /// + [Input("pageSizeParaName")] + public Input? PageSizeParaName { get; set; } + + /// + /// Defines the path to a paging time stamp attribute + /// + [Input("pageTimeStampAttributePath")] + public Input? PageTimeStampAttributePath { get; set; } + + /// + /// Defines the path to a page total count attribute + /// + [Input("pageTotalCountAttributePath")] + public Input? PageTotalCountAttributePath { get; set; } + + /// + /// Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + /// + [Input("pagingType", required: true)] + public Input PagingType { get; set; } = null!; + + /// + /// Determines whether to search for the latest time stamp in the events list + /// + [Input("searchTheLatestTimeStampFromEventsList")] + public Input? SearchTheLatestTimeStampFromEventsList { get; set; } + + public CodelessConnectorPollingPagingPropertiesArgs() + { + } + public static new CodelessConnectorPollingPagingPropertiesArgs Empty => new CodelessConnectorPollingPagingPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingRequestPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingRequestPropertiesArgs.cs new file mode 100644 index 000000000000..52e024bdb7ba --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingRequestPropertiesArgs.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describe the request properties needed to successfully pull from the server + /// + public sealed class CodelessConnectorPollingRequestPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe the endpoint we should pull the data from + /// + [Input("apiEndpoint", required: true)] + public Input ApiEndpoint { get; set; } = null!; + + /// + /// This will be used the query events from the end of the time window + /// + [Input("endTimeAttributeName")] + public Input? EndTimeAttributeName { get; set; } + + /// + /// Describe the headers sent in the poll request + /// + [Input("headers")] + public Input? Headers { get; set; } + + /// + /// The http method type we will use in the poll request, GET or POST + /// + [Input("httpMethod", required: true)] + public Input HttpMethod { get; set; } = null!; + + /// + /// Describe the query parameters sent in the poll request + /// + [Input("queryParameters")] + public Input? QueryParameters { get; set; } + + /// + /// For advanced scenarios for example user name/password embedded in nested JSON payload + /// + [Input("queryParametersTemplate")] + public Input? QueryParametersTemplate { get; set; } + + /// + /// The time format will be used the query events in a specific window + /// + [Input("queryTimeFormat", required: true)] + public Input QueryTimeFormat { get; set; } = null!; + + /// + /// The window interval we will use the pull the data + /// + [Input("queryWindowInMin", required: true)] + public Input QueryWindowInMin { get; set; } = null!; + + /// + /// Defines the rate limit QPS + /// + [Input("rateLimitQps")] + public Input? RateLimitQps { get; set; } + + /// + /// Describe the amount of time we should try and poll the data in case of failure + /// + [Input("retryCount")] + public Input? RetryCount { get; set; } + + /// + /// This will be used the query events from a start of the time window + /// + [Input("startTimeAttributeName")] + public Input? StartTimeAttributeName { get; set; } + + /// + /// The number of seconds we will consider as a request timeout + /// + [Input("timeoutInSeconds")] + public Input? TimeoutInSeconds { get; set; } + + public CodelessConnectorPollingRequestPropertiesArgs() + { + } + public static new CodelessConnectorPollingRequestPropertiesArgs Empty => new CodelessConnectorPollingRequestPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingResponsePropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingResponsePropertiesArgs.cs new file mode 100644 index 000000000000..65181ca7b66e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessConnectorPollingResponsePropertiesArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes the response from the external server + /// + public sealed class CodelessConnectorPollingResponsePropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("eventsJsonPaths", required: true)] + private InputList? _eventsJsonPaths; + + /// + /// Describes the path we should extract the data in the response + /// + public InputList EventsJsonPaths + { + get => _eventsJsonPaths ?? (_eventsJsonPaths = new InputList()); + set => _eventsJsonPaths = value; + } + + /// + /// Describes if the data in the response is Gzip + /// + [Input("isGzipCompressed")] + public Input? IsGzipCompressed { get; set; } + + /// + /// Describes the path we should extract the status code in the response + /// + [Input("successStatusJsonPath")] + public Input? SuccessStatusJsonPath { get; set; } + + /// + /// Describes the path we should extract the status value in the response + /// + [Input("successStatusValue")] + public Input? SuccessStatusValue { get; set; } + + public CodelessConnectorPollingResponsePropertiesArgs() + { + } + public static new CodelessConnectorPollingResponsePropertiesArgs Empty => new CodelessConnectorPollingResponsePropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesArgs.cs new file mode 100644 index 000000000000..122ed3ae7279 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesArgs.cs @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Config to describe the instructions blade + /// + public sealed class CodelessUiConnectorConfigPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector Availability Status + /// + [Input("availability", required: true)] + public Input Availability { get; set; } = null!; + + [Input("connectivityCriteria", required: true)] + private InputList? _connectivityCriteria; + + /// + /// Define the way the connector check connectivity + /// + public InputList ConnectivityCriteria + { + get => _connectivityCriteria ?? (_connectivityCriteria = new InputList()); + set => _connectivityCriteria = value; + } + + /// + /// An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + /// + [Input("customImage")] + public Input? CustomImage { get; set; } + + [Input("dataTypes", required: true)] + private InputList? _dataTypes; + + /// + /// Data types to check for last data received + /// + public InputList DataTypes + { + get => _dataTypes ?? (_dataTypes = new InputList()); + set => _dataTypes = value; + } + + /// + /// Connector description + /// + [Input("descriptionMarkdown", required: true)] + public Input DescriptionMarkdown { get; set; } = null!; + + [Input("graphQueries", required: true)] + private InputList? _graphQueries; + + /// + /// The graph query to show the current data status + /// + public InputList GraphQueries + { + get => _graphQueries ?? (_graphQueries = new InputList()); + set => _graphQueries = value; + } + + /// + /// Name of the table the connector will insert the data to + /// + [Input("graphQueriesTableName", required: true)] + public Input GraphQueriesTableName { get; set; } = null!; + + [Input("instructionSteps", required: true)] + private InputList? _instructionSteps; + + /// + /// Instruction steps to enable the connector + /// + public InputList InstructionSteps + { + get => _instructionSteps ?? (_instructionSteps = new InputList()); + set => _instructionSteps = value; + } + + /// + /// Permissions required for the connector + /// + [Input("permissions", required: true)] + public Input Permissions { get; set; } = null!; + + /// + /// Connector publisher name + /// + [Input("publisher", required: true)] + public Input Publisher { get; set; } = null!; + + [Input("sampleQueries", required: true)] + private InputList? _sampleQueries; + + /// + /// The sample queries for the connector + /// + public InputList SampleQueries + { + get => _sampleQueries ?? (_sampleQueries = new InputList()); + set => _sampleQueries = value; + } + + /// + /// Connector blade title + /// + [Input("title", required: true)] + public Input Title { get; set; } = null!; + + public CodelessUiConnectorConfigPropertiesArgs() + { + } + public static new CodelessUiConnectorConfigPropertiesArgs Empty => new CodelessUiConnectorConfigPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs.cs new file mode 100644 index 000000000000..8d1503bc2b1d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs : global::Pulumi.ResourceArgs + { + /// + /// type of connectivity + /// + [Input("type")] + public InputUnion? Type { get; set; } + + [Input("value")] + private InputList? _value; + + /// + /// Queries for checking connectivity + /// + public InputList Value + { + get => _value ?? (_value = new InputList()); + set => _value = value; + } + + public CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs() + { + } + public static new CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs Empty => new CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesDataTypesArgs.cs new file mode 100644 index 000000000000..e054e5f44671 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesDataTypesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class CodelessUiConnectorConfigPropertiesDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Query for indicate last data received + /// + [Input("lastDataReceivedQuery")] + public Input? LastDataReceivedQuery { get; set; } + + /// + /// Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + /// + [Input("name")] + public Input? Name { get; set; } + + public CodelessUiConnectorConfigPropertiesDataTypesArgs() + { + } + public static new CodelessUiConnectorConfigPropertiesDataTypesArgs Empty => new CodelessUiConnectorConfigPropertiesDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesGraphQueriesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesGraphQueriesArgs.cs new file mode 100644 index 000000000000..b058411c8f9b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesGraphQueriesArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class CodelessUiConnectorConfigPropertiesGraphQueriesArgs : global::Pulumi.ResourceArgs + { + /// + /// The base query for the graph + /// + [Input("baseQuery")] + public Input? BaseQuery { get; set; } + + /// + /// The legend for the graph + /// + [Input("legend")] + public Input? Legend { get; set; } + + /// + /// the metric that the query is checking + /// + [Input("metricName")] + public Input? MetricName { get; set; } + + public CodelessUiConnectorConfigPropertiesGraphQueriesArgs() + { + } + public static new CodelessUiConnectorConfigPropertiesGraphQueriesArgs Empty => new CodelessUiConnectorConfigPropertiesGraphQueriesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesInstructionStepsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesInstructionStepsArgs.cs new file mode 100644 index 000000000000..80529f81d787 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesInstructionStepsArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class CodelessUiConnectorConfigPropertiesInstructionStepsArgs : global::Pulumi.ResourceArgs + { + /// + /// Instruction step description + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("instructions")] + private InputList? _instructions; + + /// + /// Instruction step details + /// + public InputList Instructions + { + get => _instructions ?? (_instructions = new InputList()); + set => _instructions = value; + } + + /// + /// Instruction step title + /// + [Input("title")] + public Input? Title { get; set; } + + public CodelessUiConnectorConfigPropertiesInstructionStepsArgs() + { + } + public static new CodelessUiConnectorConfigPropertiesInstructionStepsArgs Empty => new CodelessUiConnectorConfigPropertiesInstructionStepsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesSampleQueriesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesSampleQueriesArgs.cs new file mode 100644 index 000000000000..0f5db8ea7dd3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CodelessUiConnectorConfigPropertiesSampleQueriesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class CodelessUiConnectorConfigPropertiesSampleQueriesArgs : global::Pulumi.ResourceArgs + { + /// + /// The sample query description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// the sample query + /// + [Input("query")] + public Input? Query { get; set; } + + public CodelessUiConnectorConfigPropertiesSampleQueriesArgs() + { + } + public static new CodelessUiConnectorConfigPropertiesSampleQueriesArgs Empty => new CodelessUiConnectorConfigPropertiesSampleQueriesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectivityCriterionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectivityCriterionArgs.cs new file mode 100644 index 000000000000..893560a9abfc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectivityCriterionArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The criteria by which we determine whether the connector is connected or not. + /// For Example, use a KQL query to check if the expected data type is flowing). + /// + public sealed class ConnectivityCriterionArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the type of connectivity. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + [Input("value")] + private InputList? _value; + + /// + /// Gets or sets the queries for checking connectivity. + /// + public InputList Value + { + get => _value ?? (_value = new InputList()); + set => _value = value; + } + + public ConnectivityCriterionArgs() + { + } + public static new ConnectivityCriterionArgs Empty => new ConnectivityCriterionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDataTypeArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDataTypeArgs.cs new file mode 100644 index 000000000000..1cec071304ac --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDataTypeArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The data type which is created by the connector, + /// including a query indicated when was the last time that data type was received in the workspace. + /// + public sealed class ConnectorDataTypeArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the query to indicate when relevant data was last received in the workspace. + /// + [Input("lastDataReceivedQuery", required: true)] + public Input LastDataReceivedQuery { get; set; } = null!; + + /// + /// Gets or sets the name of the data type to show in the graph. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public ConnectorDataTypeArgs() + { + } + public static new ConnectorDataTypeArgs Empty => new ConnectorDataTypeArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsAvailabilityArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsAvailabilityArgs.cs new file mode 100644 index 000000000000..5ce2e426cff0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsAvailabilityArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The exposure status of the connector to the customers. + /// + public sealed class ConnectorDefinitionsAvailabilityArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets a value indicating whether the connector is preview. + /// + [Input("isPreview")] + public Input? IsPreview { get; set; } + + /// + /// The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + /// + [Input("status")] + public Input? Status { get; set; } + + public ConnectorDefinitionsAvailabilityArgs() + { + } + public static new ConnectorDefinitionsAvailabilityArgs Empty => new ConnectorDefinitionsAvailabilityArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsPermissionsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsPermissionsArgs.cs new file mode 100644 index 000000000000..18965115545e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsPermissionsArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The required Permissions for the connector. + /// + public sealed class ConnectorDefinitionsPermissionsArgs : global::Pulumi.ResourceArgs + { + [Input("customs")] + private InputList? _customs; + + /// + /// Gets or sets the customs permissions required for the user to create connections. + /// + public InputList Customs + { + get => _customs ?? (_customs = new InputList()); + set => _customs = value; + } + + [Input("licenses")] + private InputList? _licenses; + + /// + /// Gets or sets the required licenses for the user to create connections. + /// + public InputList Licenses + { + get => _licenses ?? (_licenses = new InputList()); + set => _licenses = value; + } + + [Input("resourceProvider")] + private InputList? _resourceProvider; + + /// + /// Gets or sets the resource provider permissions required for the user to create connections. + /// + public InputList ResourceProvider + { + get => _resourceProvider ?? (_resourceProvider = new InputList()); + set => _resourceProvider = value; + } + + [Input("tenant")] + private InputList? _tenant; + + /// + /// Gets or sets the required tenant permissions for the connector. + /// + public InputList Tenant + { + get => _tenant ?? (_tenant = new InputList()); + set => _tenant = value; + } + + public ConnectorDefinitionsPermissionsArgs() + { + } + public static new ConnectorDefinitionsPermissionsArgs Empty => new ConnectorDefinitionsPermissionsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsResourceProviderArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsResourceProviderArgs.cs new file mode 100644 index 000000000000..c28d5a939fb7 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ConnectorDefinitionsResourceProviderArgs.cs @@ -0,0 +1,55 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The resource provider details include the required permissions for the user to create connections. + /// The user should have the required permissions(Read\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + /// + public sealed class ConnectorDefinitionsResourceProviderArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the permissions description text. + /// + [Input("permissionsDisplayText", required: true)] + public Input PermissionsDisplayText { get; set; } = null!; + + /// + /// Gets or sets the provider name. + /// + [Input("provider", required: true)] + public Input Provider { get; set; } = null!; + + /// + /// Gets or sets the permissions provider display name. + /// + [Input("providerDisplayName", required: true)] + public Input ProviderDisplayName { get; set; } = null!; + + /// + /// Required permissions for the connector resource provider that define in ResourceProviders. + /// For more information about the permissions see <see href="https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#actions-format">here</see>. + /// + [Input("requiredPermissions", required: true)] + public Input RequiredPermissions { get; set; } = null!; + + /// + /// The scope on which the user should have permissions, in order to be able to create connections. + /// + [Input("scope", required: true)] + public InputUnion Scope { get; set; } = null!; + + public ConnectorDefinitionsResourceProviderArgs() + { + } + public static new ConnectorDefinitionsResourceProviderArgs Empty => new ConnectorDefinitionsResourceProviderArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomPermissionDetailsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomPermissionDetailsArgs.cs new file mode 100644 index 000000000000..f932dd39423e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomPermissionDetailsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The Custom permissions required for the connector. + /// + public sealed class CustomPermissionDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the custom permissions description. + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Gets or sets the custom permissions name. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public CustomPermissionDetailsArgs() + { + } + public static new CustomPermissionDetailsArgs Empty => new CustomPermissionDetailsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomizableConnectionsConfigArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomizableConnectionsConfigArgs.cs new file mode 100644 index 000000000000..81022ce7b886 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomizableConnectionsConfigArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + public sealed class CustomizableConnectionsConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + /// + [Input("templateSpecName", required: true)] + public Input TemplateSpecName { get; set; } = null!; + + /// + /// Gets or sets the template version. + /// + [Input("templateSpecVersion", required: true)] + public Input TemplateSpecVersion { get; set; } = null!; + + public CustomizableConnectionsConfigArgs() + { + } + public static new CustomizableConnectionsConfigArgs Empty => new CustomizableConnectionsConfigArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomizableConnectorUiConfigArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomizableConnectorUiConfigArgs.cs new file mode 100644 index 000000000000..eeccc9e847cb --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/CustomizableConnectorUiConfigArgs.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + public sealed class CustomizableConnectorUiConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// The exposure status of the connector to the customers. + /// + [Input("availability")] + public Input? Availability { get; set; } + + [Input("connectivityCriteria", required: true)] + private InputList? _connectivityCriteria; + + /// + /// Gets or sets the way the connector checks whether the connector is connected. + /// + public InputList ConnectivityCriteria + { + get => _connectivityCriteria ?? (_connectivityCriteria = new InputList()); + set => _connectivityCriteria = value; + } + + [Input("dataTypes", required: true)] + private InputList? _dataTypes; + + /// + /// Gets or sets the data types to check for last data received. + /// + public InputList DataTypes + { + get => _dataTypes ?? (_dataTypes = new InputList()); + set => _dataTypes = value; + } + + /// + /// Gets or sets the connector description in markdown format. + /// + [Input("descriptionMarkdown", required: true)] + public Input DescriptionMarkdown { get; set; } = null!; + + [Input("graphQueries", required: true)] + private InputList? _graphQueries; + + /// + /// Gets or sets the graph queries to show the current data volume over time. + /// + public InputList GraphQueries + { + get => _graphQueries ?? (_graphQueries = new InputList()); + set => _graphQueries = value; + } + + /// + /// Gets or sets the name of the table the connector will insert the data to. + /// This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + /// in Query and LastDataReceivedQuery values. + /// + [Input("graphQueriesTableName")] + public Input? GraphQueriesTableName { get; set; } + + /// + /// Gets or sets custom connector id. optional field. + /// + [Input("id")] + public Input? Id { get; set; } + + [Input("instructionSteps", required: true)] + private InputList? _instructionSteps; + + /// + /// Gets or sets the instruction steps to enable the connector. + /// + public InputList InstructionSteps + { + get => _instructionSteps ?? (_instructionSteps = new InputList()); + set => _instructionSteps = value; + } + + /// + /// Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + /// + [Input("isConnectivityCriteriasMatchSome")] + public Input? IsConnectivityCriteriasMatchSome { get; set; } + + /// + /// Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + /// The logo value should be in SVG format. + /// + [Input("logo")] + public Input? Logo { get; set; } + + /// + /// The required Permissions for the connector. + /// + [Input("permissions", required: true)] + public Input Permissions { get; set; } = null!; + + /// + /// Gets or sets the connector publisher name. + /// + [Input("publisher", required: true)] + public Input Publisher { get; set; } = null!; + + [Input("sampleQueries", required: true)] + private InputList? _sampleQueries; + + /// + /// Gets or sets the sample queries for the connector. + /// + public InputList SampleQueries + { + get => _sampleQueries ?? (_sampleQueries = new InputList()); + set => _sampleQueries = value; + } + + /// + /// Gets or sets the connector blade title. + /// + [Input("title", required: true)] + public Input Title { get; set; } = null!; + + public CustomizableConnectorUiConfigArgs() + { + } + public static new CustomizableConnectorUiConfigArgs Empty => new CustomizableConnectorUiConfigArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/DCRConfigurationArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/DCRConfigurationArgs.cs new file mode 100644 index 000000000000..2c450521d2be --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/DCRConfigurationArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The configuration of the destination of the data. + /// + public sealed class DCRConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Represents the data collection ingestion endpoint in log analytics. + /// + [Input("dataCollectionEndpoint", required: true)] + public Input DataCollectionEndpoint { get; set; } = null!; + + /// + /// The data collection rule immutable id, the rule defines the transformation and data destination. + /// + [Input("dataCollectionRuleImmutableId", required: true)] + public Input DataCollectionRuleImmutableId { get; set; } = null!; + + /// + /// The stream we are sending the data to. + /// + [Input("streamName", required: true)] + public Input StreamName { get; set; } = null!; + + public DCRConfigurationArgs() + { + } + public static new DCRConfigurationArgs Empty => new DCRConfigurationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/DataConnectorDataTypeCommonArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/DataConnectorDataTypeCommonArgs.cs new file mode 100644 index 000000000000..e0f6436512ba --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/DataConnectorDataTypeCommonArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Common field for data type in data connectors. + /// + public sealed class DataConnectorDataTypeCommonArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public DataConnectorDataTypeCommonArgs() + { + } + public static new DataConnectorDataTypeCommonArgs Empty => new DataConnectorDataTypeCommonArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Dynamics365DataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Dynamics365DataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..3325332e4cf4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Dynamics365DataConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Dynamics365 data connector. + /// + public sealed class Dynamics365DataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Common Data Service data type connection. + /// + [Input("dynamics365CdsActivities", required: true)] + public Input Dynamics365CdsActivities { get; set; } = null!; + + public Dynamics365DataConnectorDataTypesArgs() + { + } + public static new Dynamics365DataConnectorDataTypesArgs Empty => new Dynamics365DataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs.cs new file mode 100644 index 000000000000..5cce232e92e2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Common Data Service data type connection. + /// + public sealed class Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs() + { + } + public static new Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs Empty => new Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EntityFieldMappingArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EntityFieldMappingArgs.cs new file mode 100644 index 000000000000..e4e100d1de3c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EntityFieldMappingArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Map identifiers of a single entity + /// + public sealed class EntityFieldMappingArgs : global::Pulumi.ResourceArgs + { + /// + /// Alert V3 identifier + /// + [Input("identifier")] + public Input? Identifier { get; set; } + + /// + /// The value of the identifier + /// + [Input("value")] + public Input? Value { get; set; } + + public EntityFieldMappingArgs() + { + } + public static new EntityFieldMappingArgs Empty => new EntityFieldMappingArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EntityMappingArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EntityMappingArgs.cs new file mode 100644 index 000000000000..778814f315ec --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EntityMappingArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Single entity mapping for the alert rule + /// + public sealed class EntityMappingArgs : global::Pulumi.ResourceArgs + { + /// + /// The V3 type of the mapped entity + /// + [Input("entityType")] + public InputUnion? EntityType { get; set; } + + [Input("fieldMappings")] + private InputList? _fieldMappings; + + /// + /// array of field mappings for the given entity mapping + /// + public InputList FieldMappings + { + get => _fieldMappings ?? (_fieldMappings = new InputList()); + set => _fieldMappings = value; + } + + public EntityMappingArgs() + { + } + public static new EntityMappingArgs Empty => new EntityMappingArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EventGroupingSettingsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EventGroupingSettingsArgs.cs new file mode 100644 index 000000000000..030a13fe97c1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/EventGroupingSettingsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Event grouping settings property bag. + /// + public sealed class EventGroupingSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// The event grouping aggregation kinds + /// + [Input("aggregationKind")] + public InputUnion? AggregationKind { get; set; } + + public EventGroupingSettingsArgs() + { + } + public static new EventGroupingSettingsArgs Empty => new EventGroupingSettingsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FieldMappingArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FieldMappingArgs.cs new file mode 100644 index 000000000000..07d3402bc97f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FieldMappingArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// A single field mapping of the mapped entity + /// + public sealed class FieldMappingArgs : global::Pulumi.ResourceArgs + { + /// + /// the column name to be mapped to the identifier + /// + [Input("columnName")] + public Input? ColumnName { get; set; } + + /// + /// the V3 identifier of the entity + /// + [Input("identifier")] + public Input? Identifier { get; set; } + + public FieldMappingArgs() + { + } + public static new FieldMappingArgs Empty => new FieldMappingArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FileMetadataArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FileMetadataArgs.cs new file mode 100644 index 000000000000..79d60e60fc1f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FileMetadataArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents a file. + /// + public sealed class FileMetadataArgs : global::Pulumi.ResourceArgs + { + /// + /// The format of the file + /// + [Input("fileFormat")] + public InputUnion? FileFormat { get; set; } + + /// + /// The name of the file. + /// + [Input("fileName")] + public Input? FileName { get; set; } + + /// + /// The size of the file. + /// + [Input("fileSize")] + public Input? FileSize { get; set; } + + public FileMetadataArgs() + { + } + public static new FileMetadataArgs Empty => new FileMetadataArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionScenarioExclusionPatternArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionScenarioExclusionPatternArgs.cs new file mode 100644 index 000000000000..c768713653f2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionScenarioExclusionPatternArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents a Fusion scenario exclusion patterns in Fusion detection. + /// + public sealed class FusionScenarioExclusionPatternArgs : global::Pulumi.ResourceArgs + { + /// + /// DateTime when scenario exclusion pattern is added in UTC. + /// + [Input("dateAddedInUTC", required: true)] + public Input DateAddedInUTC { get; set; } = null!; + + /// + /// Scenario exclusion pattern. + /// + [Input("exclusionPattern", required: true)] + public Input ExclusionPattern { get; set; } = null!; + + public FusionScenarioExclusionPatternArgs() + { + } + public static new FusionScenarioExclusionPatternArgs Empty => new FusionScenarioExclusionPatternArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSourceSettingsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSourceSettingsArgs.cs new file mode 100644 index 000000000000..1f681e29d439 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSourceSettingsArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents a supported source signal configuration in Fusion detection. + /// + public sealed class FusionSourceSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Determines whether this source signal is enabled or disabled in Fusion detection. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + /// + [Input("sourceName", required: true)] + public Input SourceName { get; set; } = null!; + + [Input("sourceSubTypes")] + private InputList? _sourceSubTypes; + + /// + /// Configuration for all source subtypes under this source signal consumed in fusion detection. + /// + public InputList SourceSubTypes + { + get => _sourceSubTypes ?? (_sourceSubTypes = new InputList()); + set => _sourceSubTypes = value; + } + + public FusionSourceSettingsArgs() + { + } + public static new FusionSourceSettingsArgs Empty => new FusionSourceSettingsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSourceSubTypeSettingArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSourceSubTypeSettingArgs.cs new file mode 100644 index 000000000000..5225210dd5ea --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSourceSubTypeSettingArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents a supported source subtype configuration under a source signal in Fusion detection. + /// + public sealed class FusionSourceSubTypeSettingArgs : global::Pulumi.ResourceArgs + { + /// + /// Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Severity configuration for a source subtype consumed in fusion detection. + /// + [Input("severityFilters", required: true)] + public Input SeverityFilters { get; set; } = null!; + + /// + /// The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + /// + [Input("sourceSubTypeName", required: true)] + public Input SourceSubTypeName { get; set; } = null!; + + public FusionSourceSubTypeSettingArgs() + { + } + public static new FusionSourceSubTypeSettingArgs Empty => new FusionSourceSubTypeSettingArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSubTypeSeverityFilterArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSubTypeSeverityFilterArgs.cs new file mode 100644 index 000000000000..ca06fec15e64 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSubTypeSeverityFilterArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents severity configuration for a source subtype consumed in Fusion detection. + /// + public sealed class FusionSubTypeSeverityFilterArgs : global::Pulumi.ResourceArgs + { + [Input("filters")] + private InputList? _filters; + + /// + /// Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + /// + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public FusionSubTypeSeverityFilterArgs() + { + } + public static new FusionSubTypeSeverityFilterArgs Empty => new FusionSubTypeSeverityFilterArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSubTypeSeverityFiltersItemArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSubTypeSeverityFiltersItemArgs.cs new file mode 100644 index 000000000000..af0b67e3ec7d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/FusionSubTypeSeverityFiltersItemArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents a Severity filter setting for a given source subtype consumed in Fusion detection. + /// + public sealed class FusionSubTypeSeverityFiltersItemArgs : global::Pulumi.ResourceArgs + { + /// + /// Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The Severity for a given source subtype consumed in Fusion detection. + /// + [Input("severity", required: true)] + public InputUnion Severity { get; set; } = null!; + + public FusionSubTypeSeverityFiltersItemArgs() + { + } + public static new FusionSubTypeSeverityFiltersItemArgs Empty => new FusionSubTypeSeverityFiltersItemArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GCPAuthPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GCPAuthPropertiesArgs.cs new file mode 100644 index 000000000000..dd9bda419564 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GCPAuthPropertiesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Google Cloud Platform auth section properties. + /// + public sealed class GCPAuthPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The GCP project number. + /// + [Input("projectNumber", required: true)] + public Input ProjectNumber { get; set; } = null!; + + /// + /// The service account that is used to access the GCP project. + /// + [Input("serviceAccountEmail", required: true)] + public Input ServiceAccountEmail { get; set; } = null!; + + /// + /// The workload identity provider id that is used to gain access to the GCP project. + /// + [Input("workloadIdentityProviderId", required: true)] + public Input WorkloadIdentityProviderId { get; set; } = null!; + + public GCPAuthPropertiesArgs() + { + } + public static new GCPAuthPropertiesArgs Empty => new GCPAuthPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GCPRequestPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GCPRequestPropertiesArgs.cs new file mode 100644 index 000000000000..bd2428686e4b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GCPRequestPropertiesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Google Cloud Platform request section properties. + /// + public sealed class GCPRequestPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The GCP project id. + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + [Input("subscriptionNames", required: true)] + private InputList? _subscriptionNames; + + /// + /// The GCP pub/sub subscription names. + /// + public InputList SubscriptionNames + { + get => _subscriptionNames ?? (_subscriptionNames = new InputList()); + set => _subscriptionNames = value; + } + + public GCPRequestPropertiesArgs() + { + } + public static new GCPRequestPropertiesArgs Empty => new GCPRequestPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GraphQueryArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GraphQueryArgs.cs new file mode 100644 index 000000000000..1df011acd888 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GraphQueryArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The graph query to show the volume of data arriving into the workspace over time. + /// + public sealed class GraphQueryArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the base query for the graph. + /// The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + /// + [Input("baseQuery", required: true)] + public Input BaseQuery { get; set; } = null!; + + /// + /// Gets or sets the legend for the graph. + /// + [Input("legend", required: true)] + public Input Legend { get; set; } = null!; + + /// + /// Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + /// + [Input("metricName", required: true)] + public Input MetricName { get; set; } = null!; + + public GraphQueryArgs() + { + } + public static new GraphQueryArgs Empty => new GraphQueryArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GroupingConfigurationArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GroupingConfigurationArgs.cs new file mode 100644 index 000000000000..0acfbe1aa82c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/GroupingConfigurationArgs.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Grouping configuration property bag. + /// + public sealed class GroupingConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Grouping enabled + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + [Input("groupByAlertDetails")] + private InputList>? _groupByAlertDetails; + + /// + /// A list of alert details to group by (when matchingMethod is Selected) + /// + public InputList> GroupByAlertDetails + { + get => _groupByAlertDetails ?? (_groupByAlertDetails = new InputList>()); + set => _groupByAlertDetails = value; + } + + [Input("groupByCustomDetails")] + private InputList? _groupByCustomDetails; + + /// + /// A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + /// + public InputList GroupByCustomDetails + { + get => _groupByCustomDetails ?? (_groupByCustomDetails = new InputList()); + set => _groupByCustomDetails = value; + } + + [Input("groupByEntities")] + private InputList>? _groupByEntities; + + /// + /// A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + /// + public InputList> GroupByEntities + { + get => _groupByEntities ?? (_groupByEntities = new InputList>()); + set => _groupByEntities = value; + } + + /// + /// Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + /// + [Input("lookbackDuration", required: true)] + public Input LookbackDuration { get; set; } = null!; + + /// + /// Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + /// + [Input("matchingMethod", required: true)] + public InputUnion MatchingMethod { get; set; } = null!; + + /// + /// Re-open closed matching incidents + /// + [Input("reopenClosedIncident", required: true)] + public Input ReopenClosedIncident { get; set; } = null!; + + public GroupingConfigurationArgs() + { + } + public static new GroupingConfigurationArgs Empty => new GroupingConfigurationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/HuntOwnerArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/HuntOwnerArgs.cs new file mode 100644 index 000000000000..465513fdf3cc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/HuntOwnerArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes a user that the hunt is assigned to + /// + public sealed class HuntOwnerArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the user the hunt is assigned to. + /// + [Input("assignedTo")] + public Input? AssignedTo { get; set; } + + /// + /// The email of the user the hunt is assigned to. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// The object id of the user the hunt is assigned to. + /// + [Input("objectId")] + public Input? ObjectId { get; set; } + + /// + /// The type of the owner the hunt is assigned to. + /// + [Input("ownerType")] + public InputUnion? OwnerType { get; set; } + + /// + /// The user principal name of the user the hunt is assigned to. + /// + [Input("userPrincipalName")] + public Input? UserPrincipalName { get; set; } + + public HuntOwnerArgs() + { + } + public static new HuntOwnerArgs Empty => new HuntOwnerArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentConfigurationArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentConfigurationArgs.cs new file mode 100644 index 000000000000..9c1dcdf21d70 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentConfigurationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Incident Configuration property bag. + /// + public sealed class IncidentConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Create incidents from alerts triggered by this analytics rule + /// + [Input("createIncident", required: true)] + public Input CreateIncident { get; set; } = null!; + + /// + /// Set how the alerts that are triggered by this analytics rule, are grouped into incidents + /// + [Input("groupingConfiguration")] + public Input? GroupingConfiguration { get; set; } + + public IncidentConfigurationArgs() + { + } + public static new IncidentConfigurationArgs Empty => new IncidentConfigurationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentInfoArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentInfoArgs.cs new file mode 100644 index 000000000000..0d5023358315 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentInfoArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes related incident information for the bookmark + /// + public sealed class IncidentInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// Incident Id + /// + [Input("incidentId")] + public Input? IncidentId { get; set; } + + /// + /// Relation Name + /// + [Input("relationName")] + public Input? RelationName { get; set; } + + /// + /// The severity of the incident + /// + [Input("severity")] + public InputUnion? Severity { get; set; } + + /// + /// The title of the incident + /// + [Input("title")] + public Input? Title { get; set; } + + public IncidentInfoArgs() + { + } + public static new IncidentInfoArgs Empty => new IncidentInfoArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentLabelArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentLabelArgs.cs new file mode 100644 index 000000000000..bb2f33b671e0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentLabelArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents an incident label + /// + public sealed class IncidentLabelArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the label + /// + [Input("labelName", required: true)] + public Input LabelName { get; set; } = null!; + + public IncidentLabelArgs() + { + } + public static new IncidentLabelArgs Empty => new IncidentLabelArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentOwnerInfoArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentOwnerInfoArgs.cs new file mode 100644 index 000000000000..9fa22307262f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentOwnerInfoArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Information on the user an incident is assigned to + /// + public sealed class IncidentOwnerInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the user the incident is assigned to. + /// + [Input("assignedTo")] + public Input? AssignedTo { get; set; } + + /// + /// The email of the user the incident is assigned to. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// The object id of the user the incident is assigned to. + /// + [Input("objectId")] + public Input? ObjectId { get; set; } + + /// + /// The type of the owner the incident is assigned to. + /// + [Input("ownerType")] + public InputUnion? OwnerType { get; set; } + + /// + /// The user principal name of the user the incident is assigned to. + /// + [Input("userPrincipalName")] + public Input? UserPrincipalName { get; set; } + + public IncidentOwnerInfoArgs() + { + } + public static new IncidentOwnerInfoArgs Empty => new IncidentOwnerInfoArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentPropertiesActionArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentPropertiesActionArgs.cs new file mode 100644 index 000000000000..2624def27414 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/IncidentPropertiesActionArgs.cs @@ -0,0 +1,68 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class IncidentPropertiesActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The reason the incident was closed + /// + [Input("classification")] + public InputUnion? Classification { get; set; } + + /// + /// Describes the reason the incident was closed. + /// + [Input("classificationComment")] + public Input? ClassificationComment { get; set; } + + /// + /// The classification reason the incident was closed with + /// + [Input("classificationReason")] + public InputUnion? ClassificationReason { get; set; } + + [Input("labels")] + private InputList? _labels; + + /// + /// List of labels to add to the incident. + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// Information on the user an incident is assigned to + /// + [Input("owner")] + public Input? Owner { get; set; } + + /// + /// The severity of the incident + /// + [Input("severity")] + public InputUnion? Severity { get; set; } + + /// + /// The status of the incident + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public IncidentPropertiesActionArgs() + { + } + public static new IncidentPropertiesActionArgs Empty => new IncidentPropertiesActionArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepArgs.cs new file mode 100644 index 000000000000..40566e53caf1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepArgs.cs @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Instruction steps to enable the connector. + /// + public sealed class InstructionStepArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the instruction step description. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("innerSteps")] + private InputList? _innerSteps; + + /// + /// Gets or sets the inner instruction steps details. + /// Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + /// + public InputList InnerSteps + { + get => _innerSteps ?? (_innerSteps = new InputList()); + set => _innerSteps = value; + } + + [Input("instructions")] + private InputList? _instructions; + + /// + /// Gets or sets the instruction step details. + /// + public InputList Instructions + { + get => _instructions ?? (_instructions = new InputList()); + set => _instructions = value; + } + + /// + /// Gets or sets the instruction step title. + /// + [Input("title")] + public Input? Title { get; set; } + + public InstructionStepArgs() + { + } + public static new InstructionStepArgs Empty => new InstructionStepArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepDetailsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepDetailsArgs.cs new file mode 100644 index 000000000000..acb04c8ffe45 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepDetailsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + /// + public sealed class InstructionStepDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the instruction type parameters settings. + /// + [Input("parameters", required: true)] + public Input Parameters { get; set; } = null!; + + /// + /// Gets or sets the instruction type name. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public InstructionStepDetailsArgs() + { + } + public static new InstructionStepDetailsArgs Empty => new InstructionStepDetailsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepsInstructionsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepsInstructionsArgs.cs new file mode 100644 index 000000000000..2f9ece6d522f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/InstructionStepsInstructionsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class InstructionStepsInstructionsArgs : global::Pulumi.ResourceArgs + { + /// + /// The parameters for the setting + /// + [Input("parameters")] + public Input? Parameters { get; set; } + + /// + /// The kind of the setting + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + public InstructionStepsInstructionsArgs() + { + } + public static new InstructionStepsInstructionsArgs Empty => new InstructionStepsInstructionsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MCASDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MCASDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..acff2587bccd --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MCASDataConnectorDataTypesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for MCAS (Microsoft Cloud App Security) data connector. + /// + public sealed class MCASDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Alerts data type connection. + /// + [Input("alerts", required: true)] + public Input Alerts { get; set; } = null!; + + /// + /// Discovery log data type connection. + /// + [Input("discoveryLogs")] + public Input? DiscoveryLogs { get; set; } + + public MCASDataConnectorDataTypesArgs() + { + } + public static new MCASDataConnectorDataTypesArgs Empty => new MCASDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MSTIDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MSTIDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..62a7c708346e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MSTIDataConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Microsoft Threat Intelligence Platforms data connector. + /// + public sealed class MSTIDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Data type for Microsoft Threat Intelligence Platforms data connector. + /// + [Input("microsoftEmergingThreatFeed", required: true)] + public Input MicrosoftEmergingThreatFeed { get; set; } = null!; + + public MSTIDataConnectorDataTypesArgs() + { + } + public static new MSTIDataConnectorDataTypesArgs Empty => new MSTIDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs.cs new file mode 100644 index 000000000000..ce3530606927 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Data type for Microsoft Threat Intelligence Platforms data connector. + /// + public sealed class MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs : global::Pulumi.ResourceArgs + { + /// + /// The lookback period for the feed to be imported. + /// + [Input("lookbackPeriod", required: true)] + public Input LookbackPeriod { get; set; } = null!; + + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs() + { + } + public static new MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs Empty => new MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesAlertsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesAlertsArgs.cs new file mode 100644 index 000000000000..1510363f1a40 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesAlertsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Alerts data type for Microsoft Threat Protection Platforms data connector. + /// + public sealed class MTPDataConnectorDataTypesAlertsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public MTPDataConnectorDataTypesAlertsArgs() + { + } + public static new MTPDataConnectorDataTypesAlertsArgs Empty => new MTPDataConnectorDataTypesAlertsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..ef8859f63623 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Microsoft Threat Protection Platforms data connector. + /// + public sealed class MTPDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Alerts data type for Microsoft Threat Protection Platforms data connector. + /// + [Input("alerts")] + public Input? Alerts { get; set; } + + /// + /// Incidents data type for Microsoft Threat Protection Platforms data connector. + /// + [Input("incidents", required: true)] + public Input Incidents { get; set; } = null!; + + public MTPDataConnectorDataTypesArgs() + { + } + public static new MTPDataConnectorDataTypesArgs Empty => new MTPDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesIncidentsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesIncidentsArgs.cs new file mode 100644 index 000000000000..716ef3bf90ad --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MTPDataConnectorDataTypesIncidentsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Incidents data type for Microsoft Threat Protection Platforms data connector. + /// + public sealed class MTPDataConnectorDataTypesIncidentsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public MTPDataConnectorDataTypesIncidentsArgs() + { + } + public static new MTPDataConnectorDataTypesIncidentsArgs Empty => new MTPDataConnectorDataTypesIncidentsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataAuthorArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataAuthorArgs.cs new file mode 100644 index 000000000000..f2e9668251ed --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataAuthorArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Publisher or creator of the content item. + /// + public sealed class MetadataAuthorArgs : global::Pulumi.ResourceArgs + { + /// + /// Email of author contact + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// Link for author/vendor page + /// + [Input("link")] + public Input? Link { get; set; } + + /// + /// Name of the author. Company or person. + /// + [Input("name")] + public Input? Name { get; set; } + + public MetadataAuthorArgs() + { + } + public static new MetadataAuthorArgs Empty => new MetadataAuthorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataCategoriesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataCategoriesArgs.cs new file mode 100644 index 000000000000..6e648ff8937d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataCategoriesArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// ies for the solution content item + /// + public sealed class MetadataCategoriesArgs : global::Pulumi.ResourceArgs + { + [Input("domains")] + private InputList? _domains; + + /// + /// domain for the solution content item + /// + public InputList Domains + { + get => _domains ?? (_domains = new InputList()); + set => _domains = value; + } + + [Input("verticals")] + private InputList? _verticals; + + /// + /// Industry verticals for the solution content item + /// + public InputList Verticals + { + get => _verticals ?? (_verticals = new InputList()); + set => _verticals = value; + } + + public MetadataCategoriesArgs() + { + } + public static new MetadataCategoriesArgs Empty => new MetadataCategoriesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataDependenciesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataDependenciesArgs.cs new file mode 100644 index 000000000000..7413222e85d2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataDependenciesArgs.cs @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + /// + public sealed class MetadataDependenciesArgs : global::Pulumi.ResourceArgs + { + /// + /// Id of the content item we depend on + /// + [Input("contentId")] + public Input? ContentId { get; set; } + + [Input("criteria")] + private InputList? _criteria; + + /// + /// This is the list of dependencies we must fulfill, according to the AND/OR operator + /// + public InputList Criteria + { + get => _criteria ?? (_criteria = new InputList()); + set => _criteria = value; + } + + /// + /// Type of the content item we depend on + /// + [Input("kind")] + public InputUnion? Kind { get; set; } + + /// + /// Name of the content item + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Operator used for list of dependencies in criteria array. + /// + [Input("operator")] + public InputUnion? Operator { get; set; } + + /// + /// Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + /// + [Input("version")] + public Input? Version { get; set; } + + public MetadataDependenciesArgs() + { + } + public static new MetadataDependenciesArgs Empty => new MetadataDependenciesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataSourceArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataSourceArgs.cs new file mode 100644 index 000000000000..d6df33243067 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataSourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The original source of the content item, where it comes from. + /// + public sealed class MetadataSourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Source type of the content + /// + [Input("kind", required: true)] + public InputUnion Kind { get; set; } = null!; + + /// + /// Name of the content source. The repo name, solution name, LA workspace name etc. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// ID of the content source. The solution ID, workspace ID, etc + /// + [Input("sourceId")] + public Input? SourceId { get; set; } + + public MetadataSourceArgs() + { + } + public static new MetadataSourceArgs Empty => new MetadataSourceArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataSupportArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataSupportArgs.cs new file mode 100644 index 000000000000..2d0bff7e9b5c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MetadataSupportArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Support information for the content item. + /// + public sealed class MetadataSupportArgs : global::Pulumi.ResourceArgs + { + /// + /// Email of support contact + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// Link for support help, like to support page to open a ticket etc. + /// + [Input("link")] + public Input? Link { get; set; } + + /// + /// Name of the support contact. Company or person. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Type of support for content item + /// + [Input("tier", required: true)] + public InputUnion Tier { get; set; } = null!; + + public MetadataSupportArgs() + { + } + public static new MetadataSupportArgs Empty => new MetadataSupportArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MicrosoftPurviewInformationProtectionConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MicrosoftPurviewInformationProtectionConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..160a810af4e8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MicrosoftPurviewInformationProtectionConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Microsoft Purview Information Protection data connector. + /// + public sealed class MicrosoftPurviewInformationProtectionConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Logs data type. + /// + [Input("logs", required: true)] + public Input Logs { get; set; } = null!; + + public MicrosoftPurviewInformationProtectionConnectorDataTypesArgs() + { + } + public static new MicrosoftPurviewInformationProtectionConnectorDataTypesArgs Empty => new MicrosoftPurviewInformationProtectionConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs.cs new file mode 100644 index 000000000000..0e4f64e9c110 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Logs data type. + /// + public sealed class MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs() + { + } + public static new MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs Empty => new MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MtpFilteredProvidersArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MtpFilteredProvidersArgs.cs new file mode 100644 index 000000000000..fe97401b373e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/MtpFilteredProvidersArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Represents the connector's Filtered providers + /// + public sealed class MtpFilteredProvidersArgs : global::Pulumi.ResourceArgs + { + [Input("alerts", required: true)] + private InputList>? _alerts; + + /// + /// Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. + /// + public InputList> Alerts + { + get => _alerts ?? (_alerts = new InputList>()); + set => _alerts = value; + } + + public MtpFilteredProvidersArgs() + { + } + public static new MtpFilteredProvidersArgs Empty => new MtpFilteredProvidersArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Office365ProjectConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Office365ProjectConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..cc5ed74ab642 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Office365ProjectConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Office Microsoft Project data connector. + /// + public sealed class Office365ProjectConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Logs data type. + /// + [Input("logs", required: true)] + public Input Logs { get; set; } = null!; + + public Office365ProjectConnectorDataTypesArgs() + { + } + public static new Office365ProjectConnectorDataTypesArgs Empty => new Office365ProjectConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Office365ProjectConnectorDataTypesLogsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Office365ProjectConnectorDataTypesLogsArgs.cs new file mode 100644 index 000000000000..5560aa0de203 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/Office365ProjectConnectorDataTypesLogsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Logs data type. + /// + public sealed class Office365ProjectConnectorDataTypesLogsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public Office365ProjectConnectorDataTypesLogsArgs() + { + } + public static new Office365ProjectConnectorDataTypesLogsArgs Empty => new Office365ProjectConnectorDataTypesLogsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..729d7f26fcd2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for office data connector. + /// + public sealed class OfficeDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Exchange data type connection. + /// + [Input("exchange", required: true)] + public Input Exchange { get; set; } = null!; + + /// + /// SharePoint data type connection. + /// + [Input("sharePoint", required: true)] + public Input SharePoint { get; set; } = null!; + + /// + /// Teams data type connection. + /// + [Input("teams", required: true)] + public Input Teams { get; set; } = null!; + + public OfficeDataConnectorDataTypesArgs() + { + } + public static new OfficeDataConnectorDataTypesArgs Empty => new OfficeDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesExchangeArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesExchangeArgs.cs new file mode 100644 index 000000000000..e5fca82f8184 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesExchangeArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Exchange data type connection. + /// + public sealed class OfficeDataConnectorDataTypesExchangeArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public OfficeDataConnectorDataTypesExchangeArgs() + { + } + public static new OfficeDataConnectorDataTypesExchangeArgs Empty => new OfficeDataConnectorDataTypesExchangeArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesSharePointArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesSharePointArgs.cs new file mode 100644 index 000000000000..ffb5fee81cf0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesSharePointArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// SharePoint data type connection. + /// + public sealed class OfficeDataConnectorDataTypesSharePointArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public OfficeDataConnectorDataTypesSharePointArgs() + { + } + public static new OfficeDataConnectorDataTypesSharePointArgs Empty => new OfficeDataConnectorDataTypesSharePointArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesTeamsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesTeamsArgs.cs new file mode 100644 index 000000000000..968aa6cb5695 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficeDataConnectorDataTypesTeamsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Teams data type connection. + /// + public sealed class OfficeDataConnectorDataTypesTeamsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public OfficeDataConnectorDataTypesTeamsArgs() + { + } + public static new OfficeDataConnectorDataTypesTeamsArgs Empty => new OfficeDataConnectorDataTypesTeamsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficePowerBIConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficePowerBIConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..e88c6fd773ea --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficePowerBIConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Office Microsoft PowerBI data connector. + /// + public sealed class OfficePowerBIConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Logs data type. + /// + [Input("logs", required: true)] + public Input Logs { get; set; } = null!; + + public OfficePowerBIConnectorDataTypesArgs() + { + } + public static new OfficePowerBIConnectorDataTypesArgs Empty => new OfficePowerBIConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficePowerBIConnectorDataTypesLogsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficePowerBIConnectorDataTypesLogsArgs.cs new file mode 100644 index 000000000000..c1cd3083bc50 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/OfficePowerBIConnectorDataTypesLogsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Logs data type. + /// + public sealed class OfficePowerBIConnectorDataTypesLogsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public OfficePowerBIConnectorDataTypesLogsArgs() + { + } + public static new OfficePowerBIConnectorDataTypesLogsArgs Empty => new OfficePowerBIConnectorDataTypesLogsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsArgs.cs new file mode 100644 index 000000000000..6c353990f0d4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Permissions required for the connector + /// + public sealed class PermissionsArgs : global::Pulumi.ResourceArgs + { + [Input("customs")] + private InputList? _customs; + + /// + /// Customs permissions required for the connector + /// + public InputList Customs + { + get => _customs ?? (_customs = new InputList()); + set => _customs = value; + } + + [Input("resourceProvider")] + private InputList? _resourceProvider; + + /// + /// Resource provider permissions required for the connector + /// + public InputList ResourceProvider + { + get => _resourceProvider ?? (_resourceProvider = new InputList()); + set => _resourceProvider = value; + } + + public PermissionsArgs() + { + } + public static new PermissionsArgs Empty => new PermissionsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsCustomsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsCustomsArgs.cs new file mode 100644 index 000000000000..f1058ffa9fc8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsCustomsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class PermissionsCustomsArgs : global::Pulumi.ResourceArgs + { + /// + /// Customs permissions description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Customs permissions name + /// + [Input("name")] + public Input? Name { get; set; } + + public PermissionsCustomsArgs() + { + } + public static new PermissionsCustomsArgs Empty => new PermissionsCustomsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsResourceProviderArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsResourceProviderArgs.cs new file mode 100644 index 000000000000..5b12dcba7f23 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PermissionsResourceProviderArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class PermissionsResourceProviderArgs : global::Pulumi.ResourceArgs + { + /// + /// Permission description text + /// + [Input("permissionsDisplayText")] + public Input? PermissionsDisplayText { get; set; } + + /// + /// Provider name + /// + [Input("provider")] + public InputUnion? Provider { get; set; } + + /// + /// Permission provider display name + /// + [Input("providerDisplayName")] + public Input? ProviderDisplayName { get; set; } + + /// + /// Required permissions for the connector + /// + [Input("requiredPermissions")] + public Input? RequiredPermissions { get; set; } + + /// + /// Permission provider scope + /// + [Input("scope")] + public InputUnion? Scope { get; set; } + + public PermissionsResourceProviderArgs() + { + } + public static new PermissionsResourceProviderArgs Empty => new PermissionsResourceProviderArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PlaybookActionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PlaybookActionPropertiesArgs.cs new file mode 100644 index 000000000000..e24668889dae --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PlaybookActionPropertiesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + public sealed class PlaybookActionPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The resource id of the playbook resource. + /// + [Input("logicAppResourceId", required: true)] + public Input LogicAppResourceId { get; set; } = null!; + + /// + /// The tenant id of the playbook resource. + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + public PlaybookActionPropertiesArgs() + { + } + public static new PlaybookActionPropertiesArgs Empty => new PlaybookActionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyArrayChangedConditionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyArrayChangedConditionPropertiesArgs.cs new file mode 100644 index 000000000000..9b99bdeee90b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyArrayChangedConditionPropertiesArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule condition that evaluates an array property's value change + /// + public sealed class PropertyArrayChangedConditionPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("conditionProperties")] + public Input? ConditionProperties { get; set; } + + /// + /// + /// Expected value is 'PropertyArrayChanged'. + /// + [Input("conditionType", required: true)] + public Input ConditionType { get; set; } = null!; + + public PropertyArrayChangedConditionPropertiesArgs() + { + } + public static new PropertyArrayChangedConditionPropertiesArgs Empty => new PropertyArrayChangedConditionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyArrayConditionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyArrayConditionPropertiesArgs.cs new file mode 100644 index 000000000000..c5bee702e435 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyArrayConditionPropertiesArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule condition that evaluates an array property's value + /// + public sealed class PropertyArrayConditionPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("conditionProperties")] + public Input? ConditionProperties { get; set; } + + /// + /// + /// Expected value is 'PropertyArray'. + /// + [Input("conditionType", required: true)] + public Input ConditionType { get; set; } = null!; + + public PropertyArrayConditionPropertiesArgs() + { + } + public static new PropertyArrayConditionPropertiesArgs Empty => new PropertyArrayConditionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyChangedConditionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyChangedConditionPropertiesArgs.cs new file mode 100644 index 000000000000..6a1202accfa5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyChangedConditionPropertiesArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule condition that evaluates a property's value change + /// + public sealed class PropertyChangedConditionPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("conditionProperties")] + public Input? ConditionProperties { get; set; } + + /// + /// + /// Expected value is 'PropertyChanged'. + /// + [Input("conditionType", required: true)] + public Input ConditionType { get; set; } = null!; + + public PropertyChangedConditionPropertiesArgs() + { + } + public static new PropertyChangedConditionPropertiesArgs Empty => new PropertyChangedConditionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyConditionPropertiesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyConditionPropertiesArgs.cs new file mode 100644 index 000000000000..26ed289db49f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/PropertyConditionPropertiesArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes an automation rule condition that evaluates a property's value + /// + public sealed class PropertyConditionPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("conditionProperties")] + public Input? ConditionProperties { get; set; } + + /// + /// + /// Expected value is 'Property'. + /// + [Input("conditionType", required: true)] + public Input ConditionType { get; set; } = null!; + + public PropertyConditionPropertiesArgs() + { + } + public static new PropertyConditionPropertiesArgs Empty => new PropertyConditionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/RequiredPermissionsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/RequiredPermissionsArgs.cs new file mode 100644 index 000000000000..49a5ea9274e5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/RequiredPermissionsArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Required permissions for the connector + /// + public sealed class RequiredPermissionsArgs : global::Pulumi.ResourceArgs + { + /// + /// action permission + /// + [Input("action")] + public Input? Action { get; set; } + + /// + /// delete permission + /// + [Input("delete")] + public Input? Delete { get; set; } + + /// + /// read permission + /// + [Input("read")] + public Input? Read { get; set; } + + /// + /// write permission + /// + [Input("write")] + public Input? Write { get; set; } + + public RequiredPermissionsArgs() + { + } + public static new RequiredPermissionsArgs Empty => new RequiredPermissionsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ResourceProviderRequiredPermissionsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ResourceProviderRequiredPermissionsArgs.cs new file mode 100644 index 000000000000..000df428b752 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ResourceProviderRequiredPermissionsArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Required permissions for the connector resource provider that define in ResourceProviders. + /// For more information about the permissions see <see href="https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#actions-format">here</see>. + /// + public sealed class ResourceProviderRequiredPermissionsArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets a value indicating whether the permission is custom actions (POST). + /// + [Input("action")] + public Input? Action { get; set; } + + /// + /// Gets or sets a value indicating whether the permission is delete action (DELETE). + /// + [Input("delete")] + public Input? Delete { get; set; } + + /// + /// Gets or sets a value indicating whether the permission is read action (GET). + /// + [Input("read")] + public Input? Read { get; set; } + + /// + /// Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + /// + [Input("write")] + public Input? Write { get; set; } + + public ResourceProviderRequiredPermissionsArgs() + { + } + public static new ResourceProviderRequiredPermissionsArgs Empty => new ResourceProviderRequiredPermissionsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SampleQueryArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SampleQueryArgs.cs new file mode 100644 index 000000000000..0295b529c290 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SampleQueryArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The sample queries for the connector. + /// + public sealed class SampleQueryArgs : global::Pulumi.ResourceArgs + { + /// + /// Gets or sets the sample query description. + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Gets or sets the KQL sample query. + /// + [Input("query", required: true)] + public Input Query { get; set; } = null!; + + public SampleQueryArgs() + { + } + public static new SampleQueryArgs Empty => new SampleQueryArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SecurityMLAnalyticsSettingsDataSourceArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SecurityMLAnalyticsSettingsDataSourceArgs.cs new file mode 100644 index 000000000000..50d75979d966 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SecurityMLAnalyticsSettingsDataSourceArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// security ml analytics settings data sources + /// + public sealed class SecurityMLAnalyticsSettingsDataSourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The connector id that provides the following data types + /// + [Input("connectorId")] + public Input? ConnectorId { get; set; } + + [Input("dataTypes")] + private InputList? _dataTypes; + + /// + /// The data types used by the security ml analytics settings + /// + public InputList DataTypes + { + get => _dataTypes ?? (_dataTypes = new InputList()); + set => _dataTypes = value; + } + + public SecurityMLAnalyticsSettingsDataSourceArgs() + { + } + public static new SecurityMLAnalyticsSettingsDataSourceArgs Empty => new SecurityMLAnalyticsSettingsDataSourceArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SentinelEntityMappingArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SentinelEntityMappingArgs.cs new file mode 100644 index 000000000000..a75ebbd94135 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/SentinelEntityMappingArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// A single sentinel entity mapping + /// + public sealed class SentinelEntityMappingArgs : global::Pulumi.ResourceArgs + { + /// + /// the column name to be mapped to the SentinelEntities + /// + [Input("columnName")] + public Input? ColumnName { get; set; } + + public SentinelEntityMappingArgs() + { + } + public static new SentinelEntityMappingArgs Empty => new SentinelEntityMappingArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TIDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TIDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..8c7d064f27b3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TIDataConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for TI (Threat Intelligence) data connector. + /// + public sealed class TIDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Data type for indicators connection. + /// + [Input("indicators", required: true)] + public Input Indicators { get; set; } = null!; + + public TIDataConnectorDataTypesArgs() + { + } + public static new TIDataConnectorDataTypesArgs Empty => new TIDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TIDataConnectorDataTypesIndicatorsArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TIDataConnectorDataTypesIndicatorsArgs.cs new file mode 100644 index 000000000000..0339acfe0f56 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TIDataConnectorDataTypesIndicatorsArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Data type for indicators connection. + /// + public sealed class TIDataConnectorDataTypesIndicatorsArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public TIDataConnectorDataTypesIndicatorsArgs() + { + } + public static new TIDataConnectorDataTypesIndicatorsArgs Empty => new TIDataConnectorDataTypesIndicatorsArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceExternalReferenceArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceExternalReferenceArgs.cs new file mode 100644 index 000000000000..175cc35cec54 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceExternalReferenceArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes external reference + /// + public sealed class ThreatIntelligenceExternalReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// External reference description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// External reference ID + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + [Input("hashes")] + private InputMap? _hashes; + + /// + /// External reference hashes + /// + public InputMap Hashes + { + get => _hashes ?? (_hashes = new InputMap()); + set => _hashes = value; + } + + /// + /// External reference source name + /// + [Input("sourceName")] + public Input? SourceName { get; set; } + + /// + /// External reference URL + /// + [Input("url")] + public Input? Url { get; set; } + + public ThreatIntelligenceExternalReferenceArgs() + { + } + public static new ThreatIntelligenceExternalReferenceArgs Empty => new ThreatIntelligenceExternalReferenceArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceGranularMarkingModelArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceGranularMarkingModelArgs.cs new file mode 100644 index 000000000000..e3b5b1d246f8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceGranularMarkingModelArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes threat granular marking model entity + /// + public sealed class ThreatIntelligenceGranularMarkingModelArgs : global::Pulumi.ResourceArgs + { + /// + /// Language granular marking model + /// + [Input("language")] + public Input? Language { get; set; } + + /// + /// marking reference granular marking model + /// + [Input("markingRef")] + public Input? MarkingRef { get; set; } + + [Input("selectors")] + private InputList? _selectors; + + /// + /// granular marking model selectors + /// + public InputList Selectors + { + get => _selectors ?? (_selectors = new InputList()); + set => _selectors = value; + } + + public ThreatIntelligenceGranularMarkingModelArgs() + { + } + public static new ThreatIntelligenceGranularMarkingModelArgs Empty => new ThreatIntelligenceGranularMarkingModelArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceKillChainPhaseArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceKillChainPhaseArgs.cs new file mode 100644 index 000000000000..079fa5b4dd2a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceKillChainPhaseArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes threat kill chain phase entity + /// + public sealed class ThreatIntelligenceKillChainPhaseArgs : global::Pulumi.ResourceArgs + { + /// + /// Kill chainName name + /// + [Input("killChainName")] + public Input? KillChainName { get; set; } + + /// + /// Phase name + /// + [Input("phaseName")] + public Input? PhaseName { get; set; } + + public ThreatIntelligenceKillChainPhaseArgs() + { + } + public static new ThreatIntelligenceKillChainPhaseArgs Empty => new ThreatIntelligenceKillChainPhaseArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceParsedPatternArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceParsedPatternArgs.cs new file mode 100644 index 000000000000..64d550f432e4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceParsedPatternArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes parsed pattern entity + /// + public sealed class ThreatIntelligenceParsedPatternArgs : global::Pulumi.ResourceArgs + { + /// + /// Pattern type key + /// + [Input("patternTypeKey")] + public Input? PatternTypeKey { get; set; } + + [Input("patternTypeValues")] + private InputList? _patternTypeValues; + + /// + /// Pattern type keys + /// + public InputList PatternTypeValues + { + get => _patternTypeValues ?? (_patternTypeValues = new InputList()); + set => _patternTypeValues = value; + } + + public ThreatIntelligenceParsedPatternArgs() + { + } + public static new ThreatIntelligenceParsedPatternArgs Empty => new ThreatIntelligenceParsedPatternArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceParsedPatternTypeValueArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceParsedPatternTypeValueArgs.cs new file mode 100644 index 000000000000..f18939e3d0ff --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/ThreatIntelligenceParsedPatternTypeValueArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Describes threat kill chain phase entity + /// + public sealed class ThreatIntelligenceParsedPatternTypeValueArgs : global::Pulumi.ResourceArgs + { + /// + /// Value of parsed pattern + /// + [Input("value")] + public Input? Value { get; set; } + + /// + /// Type of the value + /// + [Input("valueType")] + public Input? ValueType { get; set; } + + public ThreatIntelligenceParsedPatternTypeValueArgs() + { + } + public static new ThreatIntelligenceParsedPatternTypeValueArgs Empty => new ThreatIntelligenceParsedPatternTypeValueArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TiTaxiiDataConnectorDataTypesArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TiTaxiiDataConnectorDataTypesArgs.cs new file mode 100644 index 000000000000..e485ff581bbb --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TiTaxiiDataConnectorDataTypesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// The available data types for Threat Intelligence TAXII data connector. + /// + public sealed class TiTaxiiDataConnectorDataTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Data type for TAXII connector. + /// + [Input("taxiiClient", required: true)] + public Input TaxiiClient { get; set; } = null!; + + public TiTaxiiDataConnectorDataTypesArgs() + { + } + public static new TiTaxiiDataConnectorDataTypesArgs Empty => new TiTaxiiDataConnectorDataTypesArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TiTaxiiDataConnectorDataTypesTaxiiClientArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TiTaxiiDataConnectorDataTypesTaxiiClientArgs.cs new file mode 100644 index 000000000000..61f5bc8eec5a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/TiTaxiiDataConnectorDataTypesTaxiiClientArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// Data type for TAXII connector. + /// + public sealed class TiTaxiiDataConnectorDataTypesTaxiiClientArgs : global::Pulumi.ResourceArgs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + [Input("state", required: true)] + public InputUnion State { get; set; } = null!; + + public TiTaxiiDataConnectorDataTypesTaxiiClientArgs() + { + } + public static new TiTaxiiDataConnectorDataTypesTaxiiClientArgs Empty => new TiTaxiiDataConnectorDataTypesTaxiiClientArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/UserInfoArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/UserInfoArgs.cs new file mode 100644 index 000000000000..260c0b747974 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/UserInfoArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// User information that made some action + /// + public sealed class UserInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// The object id of the user. + /// + [Input("objectId")] + public Input? ObjectId { get; set; } + + public UserInfoArgs() + { + } + public static new UserInfoArgs Empty => new UserInfoArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/WatchlistUserInfoArgs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/WatchlistUserInfoArgs.cs new file mode 100644 index 000000000000..b4c1d35f6e5a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Inputs/WatchlistUserInfoArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Inputs +{ + + /// + /// User information that made some action + /// + public sealed class WatchlistUserInfoArgs : global::Pulumi.ResourceArgs + { + /// + /// The object id of the user. + /// + [Input("objectId")] + public Input? ObjectId { get; set; } + + public WatchlistUserInfoArgs() + { + } + public static new WatchlistUserInfoArgs Empty => new WatchlistUserInfoArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/IoTDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/IoTDataConnector.cs new file mode 100644 index 000000000000..a7c95dccd5ed --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/IoTDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents IoT data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:IoTDataConnector")] + public partial class IoTDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'IOT'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The subscription id to connect to, and get the data from. + /// + [Output("subscriptionId")] + public Output SubscriptionId { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a IoTDataConnector 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 IoTDataConnector(string name, IoTDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IoTDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private IoTDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:IoTDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static IoTDataConnectorArgs MakeArgs(IoTDataConnectorArgs args) + { + args ??= new IoTDataConnectorArgs(); + args.Kind = "IOT"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:IoTDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:IoTDataConnector"}, + }, + }; + 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 IoTDataConnector 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. + /// A bag of options that control this resource's behavior + public static IoTDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new IoTDataConnector(name, id, options); + } + } + + public sealed class IoTDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'IOT'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The subscription id to connect to, and get the data from. + /// + [Input("subscriptionId")] + public Input? SubscriptionId { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public IoTDataConnectorArgs() + { + } + public static new IoTDataConnectorArgs Empty => new IoTDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ListSourceControlRepositories.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ListSourceControlRepositories.cs new file mode 100644 index 000000000000..4a8b87403fdf --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ListSourceControlRepositories.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + public static class ListSourceControlRepositories + { + /// + /// Gets a list of repositories metadata. + /// + public static Task InvokeAsync(ListSourceControlRepositoriesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:securityinsights/v20230901preview:listSourceControlRepositories", args ?? new ListSourceControlRepositoriesArgs(), options.WithDefaults()); + + /// + /// Gets a list of repositories metadata. + /// + public static Output Invoke(ListSourceControlRepositoriesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:securityinsights/v20230901preview:listSourceControlRepositories", args ?? new ListSourceControlRepositoriesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListSourceControlRepositoriesArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public string WorkspaceName { get; set; } = null!; + + public ListSourceControlRepositoriesArgs() + { + } + public static new ListSourceControlRepositoriesArgs Empty => new ListSourceControlRepositoriesArgs(); + } + + public sealed class ListSourceControlRepositoriesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ListSourceControlRepositoriesInvokeArgs() + { + } + public static new ListSourceControlRepositoriesInvokeArgs Empty => new ListSourceControlRepositoriesInvokeArgs(); + } + + + [OutputType] + public sealed class ListSourceControlRepositoriesResult + { + /// + /// URL to fetch the next set of repositories. + /// + public readonly string NextLink; + /// + /// Array of repositories. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListSourceControlRepositoriesResult( + string nextLink, + + ImmutableArray value) + { + NextLink = nextLink; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MCASDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MCASDataConnector.cs new file mode 100644 index 000000000000..0ee6753efe21 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MCASDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents MCAS (Microsoft Cloud App Security) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MCASDataConnector")] + public partial class MCASDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftCloudAppSecurity'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MCASDataConnector 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 MCASDataConnector(string name, MCASDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MCASDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MCASDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MCASDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static MCASDataConnectorArgs MakeArgs(MCASDataConnectorArgs args) + { + args ??= new MCASDataConnectorArgs(); + args.Kind = "MicrosoftCloudAppSecurity"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MCASDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MCASDataConnector"}, + }, + }; + 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 MCASDataConnector 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. + /// A bag of options that control this resource's behavior + public static MCASDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MCASDataConnector(name, id, options); + } + } + + public sealed class MCASDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftCloudAppSecurity'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MCASDataConnectorArgs() + { + } + public static new MCASDataConnectorArgs Empty => new MCASDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MDATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MDATPDataConnector.cs new file mode 100644 index 000000000000..da90d2b9a50a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MDATPDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MDATPDataConnector")] + public partial class MDATPDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MDATPDataConnector 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 MDATPDataConnector(string name, MDATPDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MDATPDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MDATPDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MDATPDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static MDATPDataConnectorArgs MakeArgs(MDATPDataConnectorArgs args) + { + args ??= new MDATPDataConnectorArgs(); + args.Kind = "MicrosoftDefenderAdvancedThreatProtection"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MDATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MDATPDataConnector"}, + }, + }; + 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 MDATPDataConnector 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. + /// A bag of options that control this resource's behavior + public static MDATPDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MDATPDataConnector(name, id, options); + } + } + + public sealed class MDATPDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MDATPDataConnectorArgs() + { + } + public static new MDATPDataConnectorArgs Empty => new MDATPDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MLBehaviorAnalyticsAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MLBehaviorAnalyticsAlertRule.cs new file mode 100644 index 000000000000..855276f54799 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MLBehaviorAnalyticsAlertRule.cs @@ -0,0 +1,221 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents MLBehaviorAnalytics alert rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule")] + public partial class MLBehaviorAnalyticsAlertRule : global::Pulumi.CustomResource + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Output("alertRuleTemplateName")] + public Output AlertRuleTemplateName { get; private set; } = null!; + + /// + /// The description of the alert rule. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for alerts created by this alert rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'MLBehaviorAnalytics'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this alert rule has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The severity for alerts created by this alert rule. + /// + [Output("severity")] + public Output Severity { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tactics of the alert rule + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// The techniques of the alert rule + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MLBehaviorAnalyticsAlertRule 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 MLBehaviorAnalyticsAlertRule(string name, MLBehaviorAnalyticsAlertRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MLBehaviorAnalyticsAlertRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static MLBehaviorAnalyticsAlertRuleArgs MakeArgs(MLBehaviorAnalyticsAlertRuleArgs args) + { + args ??= new MLBehaviorAnalyticsAlertRuleArgs(); + args.Kind = "MLBehaviorAnalytics"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"}, + }, + }; + 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 MLBehaviorAnalyticsAlertRule 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. + /// A bag of options that control this resource's behavior + public static MLBehaviorAnalyticsAlertRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MLBehaviorAnalyticsAlertRule(name, id, options); + } + } + + public sealed class MLBehaviorAnalyticsAlertRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Input("alertRuleTemplateName", required: true)] + public Input AlertRuleTemplateName { get; set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'MLBehaviorAnalytics'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MLBehaviorAnalyticsAlertRuleArgs() + { + } + public static new MLBehaviorAnalyticsAlertRuleArgs Empty => new MLBehaviorAnalyticsAlertRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MSTIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MSTIDataConnector.cs new file mode 100644 index 000000000000..99ce89652711 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MSTIDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Microsoft Threat Intelligence data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MSTIDataConnector")] + public partial class MSTIDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftThreatIntelligence'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MSTIDataConnector 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 MSTIDataConnector(string name, MSTIDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MSTIDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MSTIDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MSTIDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static MSTIDataConnectorArgs MakeArgs(MSTIDataConnectorArgs args) + { + args ??= new MSTIDataConnectorArgs(); + args.Kind = "MicrosoftThreatIntelligence"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MSTIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MSTIDataConnector"}, + }, + }; + 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 MSTIDataConnector 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. + /// A bag of options that control this resource's behavior + public static MSTIDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MSTIDataConnector(name, id, options); + } + } + + public sealed class MSTIDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftThreatIntelligence'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MSTIDataConnectorArgs() + { + } + public static new MSTIDataConnectorArgs Empty => new MSTIDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MTPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MTPDataConnector.cs new file mode 100644 index 000000000000..e37ff5eb9546 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MTPDataConnector.cs @@ -0,0 +1,197 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents MTP (Microsoft Threat Protection) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MTPDataConnector")] + public partial class MTPDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The available filtered providers for the connector. + /// + [Output("filteredProviders")] + public Output FilteredProviders { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftThreatProtection'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MTPDataConnector 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 MTPDataConnector(string name, MTPDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MTPDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MTPDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MTPDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static MTPDataConnectorArgs MakeArgs(MTPDataConnectorArgs args) + { + args ??= new MTPDataConnectorArgs(); + args.Kind = "MicrosoftThreatProtection"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MTPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MTPDataConnector"}, + }, + }; + 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 MTPDataConnector 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. + /// A bag of options that control this resource's behavior + public static MTPDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MTPDataConnector(name, id, options); + } + } + + public sealed class MTPDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The available filtered providers for the connector. + /// + [Input("filteredProviders")] + public Input? FilteredProviders { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftThreatProtection'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MTPDataConnectorArgs() + { + } + public static new MTPDataConnectorArgs Empty => new MTPDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Metadata.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Metadata.cs new file mode 100644 index 000000000000..2481ef8d0d97 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Metadata.cs @@ -0,0 +1,393 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Metadata resource definition. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Metadata")] + public partial class Metadata : global::Pulumi.CustomResource + { + /// + /// The creator of the content item. + /// + [Output("author")] + public Output Author { get; private set; } = null!; + + /// + /// Categories for the solution content item + /// + [Output("categories")] + public Output Categories { get; private set; } = null!; + + /// + /// Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + /// + [Output("contentId")] + public Output ContentId { get; private set; } = null!; + + /// + /// Schema version of the content. Can be used to distinguish between different flow based on the schema version + /// + [Output("contentSchemaVersion")] + public Output ContentSchemaVersion { get; private set; } = null!; + + /// + /// The custom version of the content. A optional free text + /// + [Output("customVersion")] + public Output CustomVersion { get; private set; } = null!; + + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + /// + [Output("dependencies")] + public Output Dependencies { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// first publish date solution content item + /// + [Output("firstPublishDate")] + public Output FirstPublishDate { get; private set; } = null!; + + /// + /// the icon identifier. this id can later be fetched from the solution template + /// + [Output("icon")] + public Output Icon { get; private set; } = null!; + + /// + /// The kind of content the metadata is for. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// last publish date for the solution content item + /// + [Output("lastPublishDate")] + public Output LastPublishDate { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + /// + [Output("parentId")] + public Output ParentId { get; private set; } = null!; + + /// + /// preview image file names. These will be taken from the solution artifacts + /// + [Output("previewImages")] + public Output> PreviewImages { get; private set; } = null!; + + /// + /// preview image file names. These will be taken from the solution artifacts. used for dark theme support + /// + [Output("previewImagesDark")] + public Output> PreviewImagesDark { get; private set; } = null!; + + /// + /// Providers for the solution content item + /// + [Output("providers")] + public Output> Providers { get; private set; } = null!; + + /// + /// Source of the content. This is where/how it was created. + /// + [Output("source")] + public Output Source { get; private set; } = null!; + + /// + /// Support information for the metadata - type, name, contact information + /// + [Output("support")] + public Output Support { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// the tactics the resource covers + /// + [Output("threatAnalysisTactics")] + public Output> ThreatAnalysisTactics { get; private set; } = null!; + + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + [Output("threatAnalysisTechniques")] + public Output> ThreatAnalysisTechniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a Metadata 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 Metadata(string name, MetadataArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Metadata", name, args ?? new MetadataArgs(), MakeResourceOptions(options, "")) + { + } + + private Metadata(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Metadata", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Metadata"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Metadata"}, + }, + }; + 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 Metadata 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. + /// A bag of options that control this resource's behavior + public static Metadata Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Metadata(name, id, options); + } + } + + public sealed class MetadataArgs : global::Pulumi.ResourceArgs + { + /// + /// The creator of the content item. + /// + [Input("author")] + public Input? Author { get; set; } + + /// + /// Categories for the solution content item + /// + [Input("categories")] + public Input? Categories { get; set; } + + /// + /// Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + /// + [Input("contentId")] + public Input? ContentId { get; set; } + + /// + /// Schema version of the content. Can be used to distinguish between different flow based on the schema version + /// + [Input("contentSchemaVersion")] + public Input? ContentSchemaVersion { get; set; } + + /// + /// The custom version of the content. A optional free text + /// + [Input("customVersion")] + public Input? CustomVersion { get; set; } + + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + /// + [Input("dependencies")] + public Input? Dependencies { get; set; } + + /// + /// first publish date solution content item + /// + [Input("firstPublishDate")] + public Input? FirstPublishDate { get; set; } + + /// + /// the icon identifier. this id can later be fetched from the solution template + /// + [Input("icon")] + public Input? Icon { get; set; } + + /// + /// The kind of content the metadata is for. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// last publish date for the solution content item + /// + [Input("lastPublishDate")] + public Input? LastPublishDate { get; set; } + + /// + /// The Metadata name. + /// + [Input("metadataName")] + public Input? MetadataName { get; set; } + + /// + /// Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + /// + [Input("parentId", required: true)] + public Input ParentId { get; set; } = null!; + + [Input("previewImages")] + private InputList? _previewImages; + + /// + /// preview image file names. These will be taken from the solution artifacts + /// + public InputList PreviewImages + { + get => _previewImages ?? (_previewImages = new InputList()); + set => _previewImages = value; + } + + [Input("previewImagesDark")] + private InputList? _previewImagesDark; + + /// + /// preview image file names. These will be taken from the solution artifacts. used for dark theme support + /// + public InputList PreviewImagesDark + { + get => _previewImagesDark ?? (_previewImagesDark = new InputList()); + set => _previewImagesDark = value; + } + + [Input("providers")] + private InputList? _providers; + + /// + /// Providers for the solution content item + /// + public InputList Providers + { + get => _providers ?? (_providers = new InputList()); + set => _providers = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Source of the content. This is where/how it was created. + /// + [Input("source")] + public Input? Source { get; set; } + + /// + /// Support information for the metadata - type, name, contact information + /// + [Input("support")] + public Input? Support { get; set; } + + [Input("threatAnalysisTactics")] + private InputList? _threatAnalysisTactics; + + /// + /// the tactics the resource covers + /// + public InputList ThreatAnalysisTactics + { + get => _threatAnalysisTactics ?? (_threatAnalysisTactics = new InputList()); + set => _threatAnalysisTactics = value; + } + + [Input("threatAnalysisTechniques")] + private InputList? _threatAnalysisTechniques; + + /// + /// the techniques the resource covers, these have to be aligned with the tactics being used + /// + public InputList ThreatAnalysisTechniques + { + get => _threatAnalysisTechniques ?? (_threatAnalysisTechniques = new InputList()); + set => _threatAnalysisTechniques = value; + } + + /// + /// Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + /// + [Input("version")] + public Input? Version { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MetadataArgs() + { + } + public static new MetadataArgs Empty => new MetadataArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MicrosoftPurviewInformationProtectionDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MicrosoftPurviewInformationProtectionDataConnector.cs new file mode 100644 index 000000000000..8e6692647852 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MicrosoftPurviewInformationProtectionDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Microsoft Purview Information Protection data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector")] + public partial class MicrosoftPurviewInformationProtectionDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftPurviewInformationProtection'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MicrosoftPurviewInformationProtectionDataConnector 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 MicrosoftPurviewInformationProtectionDataConnector(string name, MicrosoftPurviewInformationProtectionDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MicrosoftPurviewInformationProtectionDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static MicrosoftPurviewInformationProtectionDataConnectorArgs MakeArgs(MicrosoftPurviewInformationProtectionDataConnectorArgs args) + { + args ??= new MicrosoftPurviewInformationProtectionDataConnectorArgs(); + args.Kind = "MicrosoftPurviewInformationProtection"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector"}, + }, + }; + 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 MicrosoftPurviewInformationProtectionDataConnector 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. + /// A bag of options that control this resource's behavior + public static MicrosoftPurviewInformationProtectionDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MicrosoftPurviewInformationProtectionDataConnector(name, id, options); + } + } + + public sealed class MicrosoftPurviewInformationProtectionDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'MicrosoftPurviewInformationProtection'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MicrosoftPurviewInformationProtectionDataConnectorArgs() + { + } + public static new MicrosoftPurviewInformationProtectionDataConnectorArgs Empty => new MicrosoftPurviewInformationProtectionDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/MicrosoftSecurityIncidentCreationAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/MicrosoftSecurityIncidentCreationAlertRule.cs new file mode 100644 index 000000000000..66a4198e9bd1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/MicrosoftSecurityIncidentCreationAlertRule.cs @@ -0,0 +1,281 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents MicrosoftSecurityIncidentCreation rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule")] + public partial class MicrosoftSecurityIncidentCreationAlertRule : global::Pulumi.CustomResource + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Output("alertRuleTemplateName")] + public Output AlertRuleTemplateName { get; private set; } = null!; + + /// + /// The description of the alert rule. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for alerts created by this alert rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// the alerts' displayNames on which the cases will not be generated + /// + [Output("displayNamesExcludeFilter")] + public Output> DisplayNamesExcludeFilter { get; private set; } = null!; + + /// + /// the alerts' displayNames on which the cases will be generated + /// + [Output("displayNamesFilter")] + public Output> DisplayNamesFilter { get; private set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'MicrosoftSecurityIncidentCreation'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this alert has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The alerts' productName on which the cases will be generated + /// + [Output("productFilter")] + public Output ProductFilter { get; private set; } = null!; + + /// + /// the alerts' severities on which the cases will be generated + /// + [Output("severitiesFilter")] + public Output> SeveritiesFilter { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule(string name, MicrosoftSecurityIncidentCreationAlertRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private MicrosoftSecurityIncidentCreationAlertRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static MicrosoftSecurityIncidentCreationAlertRuleArgs MakeArgs(MicrosoftSecurityIncidentCreationAlertRuleArgs args) + { + args ??= new MicrosoftSecurityIncidentCreationAlertRuleArgs(); + args.Kind = "MicrosoftSecurityIncidentCreation"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"}, + }, + }; + 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 MicrosoftSecurityIncidentCreationAlertRule 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. + /// A bag of options that control this resource's behavior + public static MicrosoftSecurityIncidentCreationAlertRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MicrosoftSecurityIncidentCreationAlertRule(name, id, options); + } + } + + public sealed class MicrosoftSecurityIncidentCreationAlertRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Input("alertRuleTemplateName")] + public Input? AlertRuleTemplateName { get; set; } + + /// + /// The description of the alert rule. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name for alerts created by this alert rule. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [Input("displayNamesExcludeFilter")] + private InputList? _displayNamesExcludeFilter; + + /// + /// the alerts' displayNames on which the cases will not be generated + /// + public InputList DisplayNamesExcludeFilter + { + get => _displayNamesExcludeFilter ?? (_displayNamesExcludeFilter = new InputList()); + set => _displayNamesExcludeFilter = value; + } + + [Input("displayNamesFilter")] + private InputList? _displayNamesFilter; + + /// + /// the alerts' displayNames on which the cases will be generated + /// + public InputList DisplayNamesFilter + { + get => _displayNamesFilter ?? (_displayNamesFilter = new InputList()); + set => _displayNamesFilter = value; + } + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'MicrosoftSecurityIncidentCreation'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The alerts' productName on which the cases will be generated + /// + [Input("productFilter", required: true)] + public InputUnion ProductFilter { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + [Input("severitiesFilter")] + private InputList>? _severitiesFilter; + + /// + /// the alerts' severities on which the cases will be generated + /// + public InputList> SeveritiesFilter + { + get => _severitiesFilter ?? (_severitiesFilter = new InputList>()); + set => _severitiesFilter = value; + } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public MicrosoftSecurityIncidentCreationAlertRuleArgs() + { + } + public static new MicrosoftSecurityIncidentCreationAlertRuleArgs Empty => new MicrosoftSecurityIncidentCreationAlertRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/NrtAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/NrtAlertRule.cs new file mode 100644 index 000000000000..f31b31377dcf --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/NrtAlertRule.cs @@ -0,0 +1,401 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents NRT alert rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:NrtAlertRule")] + public partial class NrtAlertRule : global::Pulumi.CustomResource + { + /// + /// The alert details override settings + /// + [Output("alertDetailsOverride")] + public Output AlertDetailsOverride { get; private set; } = null!; + + /// + /// The Name of the alert rule template used to create this rule. + /// + [Output("alertRuleTemplateName")] + public Output AlertRuleTemplateName { get; private set; } = null!; + + /// + /// Dictionary of string key-value pairs of columns to be attached to the alert + /// + [Output("customDetails")] + public Output?> CustomDetails { get; private set; } = null!; + + /// + /// The description of the alert rule. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for alerts created by this alert rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Array of the entity mappings of the alert rule + /// + [Output("entityMappings")] + public Output> EntityMappings { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The event grouping settings. + /// + [Output("eventGroupingSettings")] + public Output EventGroupingSettings { get; private set; } = null!; + + /// + /// The settings of the incidents that created from alerts triggered by this analytics rule + /// + [Output("incidentConfiguration")] + public Output IncidentConfiguration { get; private set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'NRT'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this alert rule has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The query that creates alerts for this rule. + /// + [Output("query")] + public Output Query { get; private set; } = null!; + + /// + /// Array of the sentinel entity mappings of the alert rule + /// + [Output("sentinelEntitiesMappings")] + public Output> SentinelEntitiesMappings { get; private set; } = null!; + + /// + /// The severity for alerts created by this alert rule. + /// + [Output("severity")] + public Output Severity { get; private set; } = null!; + + /// + /// The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + /// + [Output("suppressionDuration")] + public Output SuppressionDuration { get; private set; } = null!; + + /// + /// Determines whether the suppression for this alert rule is enabled or disabled. + /// + [Output("suppressionEnabled")] + public Output SuppressionEnabled { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tactics of the alert rule + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// The techniques of the alert rule + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2> + /// + [Output("templateVersion")] + public Output TemplateVersion { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a NrtAlertRule 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 NrtAlertRule(string name, NrtAlertRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:NrtAlertRule", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private NrtAlertRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:NrtAlertRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static NrtAlertRuleArgs MakeArgs(NrtAlertRuleArgs args) + { + args ??= new NrtAlertRuleArgs(); + args.Kind = "NRT"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:NrtAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:NrtAlertRule"}, + }, + }; + 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 NrtAlertRule 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. + /// A bag of options that control this resource's behavior + public static NrtAlertRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new NrtAlertRule(name, id, options); + } + } + + public sealed class NrtAlertRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The alert details override settings + /// + [Input("alertDetailsOverride")] + public Input? AlertDetailsOverride { get; set; } + + /// + /// The Name of the alert rule template used to create this rule. + /// + [Input("alertRuleTemplateName")] + public Input? AlertRuleTemplateName { get; set; } + + [Input("customDetails")] + private InputMap? _customDetails; + + /// + /// Dictionary of string key-value pairs of columns to be attached to the alert + /// + public InputMap CustomDetails + { + get => _customDetails ?? (_customDetails = new InputMap()); + set => _customDetails = value; + } + + /// + /// The description of the alert rule. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name for alerts created by this alert rule. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + [Input("entityMappings")] + private InputList? _entityMappings; + + /// + /// Array of the entity mappings of the alert rule + /// + public InputList EntityMappings + { + get => _entityMappings ?? (_entityMappings = new InputList()); + set => _entityMappings = value; + } + + /// + /// The event grouping settings. + /// + [Input("eventGroupingSettings")] + public Input? EventGroupingSettings { get; set; } + + /// + /// The settings of the incidents that created from alerts triggered by this analytics rule + /// + [Input("incidentConfiguration")] + public Input? IncidentConfiguration { get; set; } + + /// + /// The kind of the alert rule + /// Expected value is 'NRT'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The query that creates alerts for this rule. + /// + [Input("query", required: true)] + public Input Query { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + [Input("sentinelEntitiesMappings")] + private InputList? _sentinelEntitiesMappings; + + /// + /// Array of the sentinel entity mappings of the alert rule + /// + public InputList SentinelEntitiesMappings + { + get => _sentinelEntitiesMappings ?? (_sentinelEntitiesMappings = new InputList()); + set => _sentinelEntitiesMappings = value; + } + + /// + /// The severity for alerts created by this alert rule. + /// + [Input("severity", required: true)] + public InputUnion Severity { get; set; } = null!; + + /// + /// The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + /// + [Input("suppressionDuration", required: true)] + public Input SuppressionDuration { get; set; } = null!; + + /// + /// Determines whether the suppression for this alert rule is enabled or disabled. + /// + [Input("suppressionEnabled", required: true)] + public Input SuppressionEnabled { get; set; } = null!; + + [Input("tactics")] + private InputList>? _tactics; + + /// + /// The tactics of the alert rule + /// + public InputList> Tactics + { + get => _tactics ?? (_tactics = new InputList>()); + set => _tactics = value; + } + + [Input("techniques")] + private InputList? _techniques; + + /// + /// The techniques of the alert rule + /// + public InputList Techniques + { + get => _techniques ?? (_techniques = new InputList()); + set => _techniques = value; + } + + /// + /// The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2> + /// + [Input("templateVersion")] + public Input? TemplateVersion { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public NrtAlertRuleArgs() + { + } + public static new NrtAlertRuleArgs Empty => new NrtAlertRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Office365ProjectDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Office365ProjectDataConnector.cs new file mode 100644 index 000000000000..44b141fd778b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Office365ProjectDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Office Microsoft Project data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector")] + public partial class Office365ProjectDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'Office365Project'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Office365ProjectDataConnector 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 Office365ProjectDataConnector(string name, Office365ProjectDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private Office365ProjectDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static Office365ProjectDataConnectorArgs MakeArgs(Office365ProjectDataConnectorArgs args) + { + args ??= new Office365ProjectDataConnectorArgs(); + args.Kind = "Office365Project"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector"}, + }, + }; + 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 Office365ProjectDataConnector 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. + /// A bag of options that control this resource's behavior + public static Office365ProjectDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Office365ProjectDataConnector(name, id, options); + } + } + + public sealed class Office365ProjectDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'Office365Project'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public Office365ProjectDataConnectorArgs() + { + } + public static new Office365ProjectDataConnectorArgs Empty => new Office365ProjectDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeATPDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeATPDataConnector.cs new file mode 100644 index 000000000000..ec3ee3dac397 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeATPDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents OfficeATP (Office 365 Advanced Threat Protection) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:OfficeATPDataConnector")] + public partial class OfficeATPDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'OfficeATP'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a OfficeATPDataConnector 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 OfficeATPDataConnector(string name, OfficeATPDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficeATPDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private OfficeATPDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficeATPDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static OfficeATPDataConnectorArgs MakeArgs(OfficeATPDataConnectorArgs args) + { + args ??= new OfficeATPDataConnectorArgs(); + args.Kind = "OfficeATP"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"}, + }, + }; + 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 OfficeATPDataConnector 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. + /// A bag of options that control this resource's behavior + public static OfficeATPDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OfficeATPDataConnector(name, id, options); + } + } + + public sealed class OfficeATPDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'OfficeATP'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public OfficeATPDataConnectorArgs() + { + } + public static new OfficeATPDataConnectorArgs Empty => new OfficeATPDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeDataConnector.cs new file mode 100644 index 000000000000..313a9c79657f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents office data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:OfficeDataConnector")] + public partial class OfficeDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'Office365'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a OfficeDataConnector 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 OfficeDataConnector(string name, OfficeDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficeDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private OfficeDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficeDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static OfficeDataConnectorArgs MakeArgs(OfficeDataConnectorArgs args) + { + args ??= new OfficeDataConnectorArgs(); + args.Kind = "Office365"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeDataConnector"}, + }, + }; + 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 OfficeDataConnector 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. + /// A bag of options that control this resource's behavior + public static OfficeDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OfficeDataConnector(name, id, options); + } + } + + public sealed class OfficeDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'Office365'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public OfficeDataConnectorArgs() + { + } + public static new OfficeDataConnectorArgs Empty => new OfficeDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeIRMDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeIRMDataConnector.cs new file mode 100644 index 000000000000..af55aacea2aa --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficeIRMDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents OfficeIRM (Microsoft Insider Risk Management) data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector")] + public partial class OfficeIRMDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'OfficeIRM'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a OfficeIRMDataConnector 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 OfficeIRMDataConnector(string name, OfficeIRMDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private OfficeIRMDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static OfficeIRMDataConnectorArgs MakeArgs(OfficeIRMDataConnectorArgs args) + { + args ??= new OfficeIRMDataConnectorArgs(); + args.Kind = "OfficeIRM"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector"}, + }, + }; + 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 OfficeIRMDataConnector 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. + /// A bag of options that control this resource's behavior + public static OfficeIRMDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OfficeIRMDataConnector(name, id, options); + } + } + + public sealed class OfficeIRMDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes")] + public Input? DataTypes { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'OfficeIRM'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public OfficeIRMDataConnectorArgs() + { + } + public static new OfficeIRMDataConnectorArgs Empty => new OfficeIRMDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/OfficePowerBIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficePowerBIDataConnector.cs new file mode 100644 index 000000000000..87082a04dc1e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/OfficePowerBIDataConnector.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Office Microsoft PowerBI data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector")] + public partial class OfficePowerBIDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'OfficePowerBI'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a OfficePowerBIDataConnector 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 OfficePowerBIDataConnector(string name, OfficePowerBIDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private OfficePowerBIDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static OfficePowerBIDataConnectorArgs MakeArgs(OfficePowerBIDataConnectorArgs args) + { + args ??= new OfficePowerBIDataConnectorArgs(); + args.Kind = "OfficePowerBI"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector"}, + }, + }; + 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 OfficePowerBIDataConnector 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. + /// A bag of options that control this resource's behavior + public static OfficePowerBIDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OfficePowerBIDataConnector(name, id, options); + } + } + + public sealed class OfficePowerBIDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'OfficePowerBI'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public OfficePowerBIDataConnectorArgs() + { + } + public static new OfficePowerBIDataConnectorArgs Empty => new OfficePowerBIDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ActivityEntityQueriesPropertiesResponseQueryDefinitions.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ActivityEntityQueriesPropertiesResponseQueryDefinitions.cs new file mode 100644 index 000000000000..010562085667 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ActivityEntityQueriesPropertiesResponseQueryDefinitions.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The Activity query definitions + /// + [OutputType] + public sealed class ActivityEntityQueriesPropertiesResponseQueryDefinitions + { + /// + /// The Activity query to run on a given entity + /// + public readonly string? Query; + + [OutputConstructor] + private ActivityEntityQueriesPropertiesResponseQueryDefinitions(string? query) + { + Query = query; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ActivityTimelineItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ActivityTimelineItemResponse.cs new file mode 100644 index 000000000000..340eb3ebb867 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ActivityTimelineItemResponse.cs @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents Activity timeline item. + /// + [OutputType] + public sealed class ActivityTimelineItemResponse + { + /// + /// The grouping bucket end time. + /// + public readonly string BucketEndTimeUTC; + /// + /// The grouping bucket start time. + /// + public readonly string BucketStartTimeUTC; + /// + /// The activity timeline content. + /// + public readonly string Content; + /// + /// The time of the first activity in the grouping bucket. + /// + public readonly string FirstActivityTimeUTC; + /// + /// The entity query kind + /// Expected value is 'Activity'. + /// + public readonly string Kind; + /// + /// The time of the last activity in the grouping bucket. + /// + public readonly string LastActivityTimeUTC; + /// + /// The activity query id. + /// + public readonly string QueryId; + /// + /// The activity timeline title. + /// + public readonly string Title; + + [OutputConstructor] + private ActivityTimelineItemResponse( + string bucketEndTimeUTC, + + string bucketStartTimeUTC, + + string content, + + string firstActivityTimeUTC, + + string kind, + + string lastActivityTimeUTC, + + string queryId, + + string title) + { + BucketEndTimeUTC = bucketEndTimeUTC; + BucketStartTimeUTC = bucketStartTimeUTC; + Content = content; + FirstActivityTimeUTC = firstActivityTimeUTC; + Kind = kind; + LastActivityTimeUTC = lastActivityTimeUTC; + QueryId = queryId; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AddIncidentTaskActionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AddIncidentTaskActionPropertiesResponse.cs new file mode 100644 index 000000000000..3f2f62111871 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AddIncidentTaskActionPropertiesResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class AddIncidentTaskActionPropertiesResponse + { + /// + /// The description of the task. + /// + public readonly string? Description; + /// + /// The title of the task. + /// + public readonly string Title; + + [OutputConstructor] + private AddIncidentTaskActionPropertiesResponse( + string? description, + + string title) + { + Description = description; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertDetailsOverrideResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertDetailsOverrideResponse.cs new file mode 100644 index 000000000000..7ac14c2cad05 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertDetailsOverrideResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Settings for how to dynamically override alert static details + /// + [OutputType] + public sealed class AlertDetailsOverrideResponse + { + /// + /// the format containing columns name(s) to override the alert description + /// + public readonly string? AlertDescriptionFormat; + /// + /// the format containing columns name(s) to override the alert name + /// + public readonly string? AlertDisplayNameFormat; + /// + /// List of additional dynamic properties to override + /// + public readonly ImmutableArray AlertDynamicProperties; + /// + /// the column name to take the alert severity from + /// + public readonly string? AlertSeverityColumnName; + /// + /// the column name to take the alert tactics from + /// + public readonly string? AlertTacticsColumnName; + + [OutputConstructor] + private AlertDetailsOverrideResponse( + string? alertDescriptionFormat, + + string? alertDisplayNameFormat, + + ImmutableArray alertDynamicProperties, + + string? alertSeverityColumnName, + + string? alertTacticsColumnName) + { + AlertDescriptionFormat = alertDescriptionFormat; + AlertDisplayNameFormat = alertDisplayNameFormat; + AlertDynamicProperties = alertDynamicProperties; + AlertSeverityColumnName = alertSeverityColumnName; + AlertTacticsColumnName = alertTacticsColumnName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertPropertyMappingResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertPropertyMappingResponse.cs new file mode 100644 index 000000000000..1f623438bee8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertPropertyMappingResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// A single alert property mapping to override + /// + [OutputType] + public sealed class AlertPropertyMappingResponse + { + /// + /// The V3 alert property + /// + public readonly string? AlertProperty; + /// + /// the column name to use to override this property + /// + public readonly string? Value; + + [OutputConstructor] + private AlertPropertyMappingResponse( + string? alertProperty, + + string? value) + { + AlertProperty = alertProperty; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertsDataTypeOfDataConnectorResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertsDataTypeOfDataConnectorResponse.cs new file mode 100644 index 000000000000..7ff470dd50c3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AlertsDataTypeOfDataConnectorResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Alerts data type for data connectors. + /// + [OutputType] + public sealed class AlertsDataTypeOfDataConnectorResponse + { + /// + /// Alerts data type connection. + /// + public readonly Outputs.DataConnectorDataTypeCommonResponse Alerts; + + [OutputConstructor] + private AlertsDataTypeOfDataConnectorResponse(Outputs.DataConnectorDataTypeCommonResponse alerts) + { + Alerts = alerts; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AnomalyTimelineItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AnomalyTimelineItemResponse.cs new file mode 100644 index 000000000000..28a10af577a7 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AnomalyTimelineItemResponse.cs @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents anomaly timeline item. + /// + [OutputType] + public sealed class AnomalyTimelineItemResponse + { + /// + /// The anomaly azure resource id. + /// + public readonly string AzureResourceId; + /// + /// The anomaly description. + /// + public readonly string? Description; + /// + /// The anomaly name. + /// + public readonly string DisplayName; + /// + /// The anomaly end time. + /// + public readonly string EndTimeUtc; + /// + /// The intent of the anomaly. + /// + public readonly string? Intent; + /// + /// The entity query kind + /// Expected value is 'Anomaly'. + /// + public readonly string Kind; + /// + /// The anomaly product name. + /// + public readonly string? ProductName; + /// + /// The reasons that cause the anomaly. + /// + public readonly ImmutableArray Reasons; + /// + /// The anomaly start time. + /// + public readonly string StartTimeUtc; + /// + /// The techniques of the anomaly. + /// + public readonly ImmutableArray Techniques; + /// + /// The anomaly generated time. + /// + public readonly string TimeGenerated; + /// + /// The name of the anomaly vendor. + /// + public readonly string? Vendor; + + [OutputConstructor] + private AnomalyTimelineItemResponse( + string azureResourceId, + + string? description, + + string displayName, + + string endTimeUtc, + + string? intent, + + string kind, + + string? productName, + + ImmutableArray reasons, + + string startTimeUtc, + + ImmutableArray techniques, + + string timeGenerated, + + string? vendor) + { + AzureResourceId = azureResourceId; + Description = description; + DisplayName = displayName; + EndTimeUtc = endTimeUtc; + Intent = intent; + Kind = kind; + ProductName = productName; + Reasons = reasons; + StartTimeUtc = startTimeUtc; + Techniques = techniques; + TimeGenerated = timeGenerated; + Vendor = vendor; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AssignmentItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AssignmentItemResponse.cs new file mode 100644 index 000000000000..79ce77693b01 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AssignmentItemResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// An entity describing a content item. + /// + [OutputType] + public sealed class AssignmentItemResponse + { + /// + /// The resource id of the content item + /// + public readonly string? ResourceId; + + [OutputConstructor] + private AssignmentItemResponse(string? resourceId) + { + ResourceId = resourceId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleAddIncidentTaskActionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleAddIncidentTaskActionResponse.cs new file mode 100644 index 000000000000..896156b8c7a9 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleAddIncidentTaskActionResponse.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule action to add a task to an incident + /// + [OutputType] + public sealed class AutomationRuleAddIncidentTaskActionResponse + { + public readonly Outputs.AddIncidentTaskActionPropertiesResponse? ActionConfiguration; + /// + /// The type of the automation rule action. + /// Expected value is 'AddIncidentTask'. + /// + public readonly string ActionType; + public readonly int Order; + + [OutputConstructor] + private AutomationRuleAddIncidentTaskActionResponse( + Outputs.AddIncidentTaskActionPropertiesResponse? actionConfiguration, + + string actionType, + + int order) + { + ActionConfiguration = actionConfiguration; + ActionType = actionType; + Order = order; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleBooleanConditionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleBooleanConditionResponse.cs new file mode 100644 index 000000000000..66e77e05024e --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleBooleanConditionResponse.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class AutomationRuleBooleanConditionResponse + { + public readonly ImmutableArray InnerConditions; + public readonly string? Operator; + + [OutputConstructor] + private AutomationRuleBooleanConditionResponse( + ImmutableArray innerConditions, + + string? @operator) + { + InnerConditions = innerConditions; + Operator = @operator; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleModifyPropertiesActionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleModifyPropertiesActionResponse.cs new file mode 100644 index 000000000000..6f143966c53c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleModifyPropertiesActionResponse.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule action to modify an object's properties + /// + [OutputType] + public sealed class AutomationRuleModifyPropertiesActionResponse + { + public readonly Outputs.IncidentPropertiesActionResponse? ActionConfiguration; + /// + /// The type of the automation rule action. + /// Expected value is 'ModifyProperties'. + /// + public readonly string ActionType; + public readonly int Order; + + [OutputConstructor] + private AutomationRuleModifyPropertiesActionResponse( + Outputs.IncidentPropertiesActionResponse? actionConfiguration, + + string actionType, + + int order) + { + ActionConfiguration = actionConfiguration; + ActionType = actionType; + Order = order; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyArrayChangedValuesConditionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyArrayChangedValuesConditionResponse.cs new file mode 100644 index 000000000000..691a75e90be5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyArrayChangedValuesConditionResponse.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class AutomationRulePropertyArrayChangedValuesConditionResponse + { + public readonly string? ArrayType; + public readonly string? ChangeType; + + [OutputConstructor] + private AutomationRulePropertyArrayChangedValuesConditionResponse( + string? arrayType, + + string? changeType) + { + ArrayType = arrayType; + ChangeType = changeType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyArrayValuesConditionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyArrayValuesConditionResponse.cs new file mode 100644 index 000000000000..281ce3157fcc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyArrayValuesConditionResponse.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class AutomationRulePropertyArrayValuesConditionResponse + { + public readonly string? ArrayConditionType; + public readonly string? ArrayType; + public readonly ImmutableArray ItemConditions; + + [OutputConstructor] + private AutomationRulePropertyArrayValuesConditionResponse( + string? arrayConditionType, + + string? arrayType, + + ImmutableArray itemConditions) + { + ArrayConditionType = arrayConditionType; + ArrayType = arrayType; + ItemConditions = itemConditions; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyValuesChangedConditionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyValuesChangedConditionResponse.cs new file mode 100644 index 000000000000..579ffc9a13d3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyValuesChangedConditionResponse.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class AutomationRulePropertyValuesChangedConditionResponse + { + public readonly string? ChangeType; + public readonly string? Operator; + public readonly string? PropertyName; + public readonly ImmutableArray PropertyValues; + + [OutputConstructor] + private AutomationRulePropertyValuesChangedConditionResponse( + string? changeType, + + string? @operator, + + string? propertyName, + + ImmutableArray propertyValues) + { + ChangeType = changeType; + Operator = @operator; + PropertyName = propertyName; + PropertyValues = propertyValues; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyValuesConditionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyValuesConditionResponse.cs new file mode 100644 index 000000000000..43ed9556fb98 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRulePropertyValuesConditionResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class AutomationRulePropertyValuesConditionResponse + { + public readonly string? Operator; + /// + /// The property to evaluate in an automation rule property condition. + /// + public readonly string? PropertyName; + public readonly ImmutableArray PropertyValues; + + [OutputConstructor] + private AutomationRulePropertyValuesConditionResponse( + string? @operator, + + string? propertyName, + + ImmutableArray propertyValues) + { + Operator = @operator; + PropertyName = propertyName; + PropertyValues = propertyValues; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleRunPlaybookActionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleRunPlaybookActionResponse.cs new file mode 100644 index 000000000000..1aba065b1472 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleRunPlaybookActionResponse.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule action to run a playbook + /// + [OutputType] + public sealed class AutomationRuleRunPlaybookActionResponse + { + public readonly Outputs.PlaybookActionPropertiesResponse? ActionConfiguration; + /// + /// The type of the automation rule action. + /// Expected value is 'RunPlaybook'. + /// + public readonly string ActionType; + public readonly int Order; + + [OutputConstructor] + private AutomationRuleRunPlaybookActionResponse( + Outputs.PlaybookActionPropertiesResponse? actionConfiguration, + + string actionType, + + int order) + { + ActionConfiguration = actionConfiguration; + ActionType = actionType; + Order = order; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleTriggeringLogicResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleTriggeringLogicResponse.cs new file mode 100644 index 000000000000..f93b035bbd0d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AutomationRuleTriggeringLogicResponse.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes automation rule triggering logic. + /// + [OutputType] + public sealed class AutomationRuleTriggeringLogicResponse + { + /// + /// The conditions to evaluate to determine if the automation rule should be triggered on a given object. + /// + public readonly ImmutableArray Conditions; + /// + /// Determines when the automation rule should automatically expire and be disabled. + /// + public readonly string? ExpirationTimeUtc; + /// + /// Determines whether the automation rule is enabled or disabled. + /// + public readonly bool IsEnabled; + public readonly string TriggersOn; + public readonly string TriggersWhen; + + [OutputConstructor] + private AutomationRuleTriggeringLogicResponse( + ImmutableArray conditions, + + string? expirationTimeUtc, + + bool isEnabled, + + string triggersOn, + + string triggersWhen) + { + Conditions = conditions; + ExpirationTimeUtc = expirationTimeUtc; + IsEnabled = isEnabled; + TriggersOn = triggersOn; + TriggersWhen = triggersWhen; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AvailabilityResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AvailabilityResponse.cs new file mode 100644 index 000000000000..eddf8dd62197 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AvailabilityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Connector Availability Status + /// + [OutputType] + public sealed class AvailabilityResponse + { + /// + /// Set connector as preview + /// + public readonly bool? IsPreview; + /// + /// The connector Availability Status + /// + public readonly int? Status; + + [OutputConstructor] + private AvailabilityResponse( + bool? isPreview, + + int? status) + { + IsPreview = isPreview; + Status = status; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsCloudTrailDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsCloudTrailDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..5611435931bc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsCloudTrailDataConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Amazon Web Services CloudTrail data connector. + /// + [OutputType] + public sealed class AwsCloudTrailDataConnectorDataTypesResponse + { + /// + /// Logs data type. + /// + public readonly Outputs.AwsCloudTrailDataConnectorDataTypesResponseLogs Logs; + + [OutputConstructor] + private AwsCloudTrailDataConnectorDataTypesResponse(Outputs.AwsCloudTrailDataConnectorDataTypesResponseLogs logs) + { + Logs = logs; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsCloudTrailDataConnectorDataTypesResponseLogs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsCloudTrailDataConnectorDataTypesResponseLogs.cs new file mode 100644 index 000000000000..6efdd9937d6c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsCloudTrailDataConnectorDataTypesResponseLogs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Logs data type. + /// + [OutputType] + public sealed class AwsCloudTrailDataConnectorDataTypesResponseLogs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private AwsCloudTrailDataConnectorDataTypesResponseLogs(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsS3DataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsS3DataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..13ce859a459b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsS3DataConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Amazon Web Services S3 data connector. + /// + [OutputType] + public sealed class AwsS3DataConnectorDataTypesResponse + { + /// + /// Logs data type. + /// + public readonly Outputs.AwsS3DataConnectorDataTypesResponseLogs Logs; + + [OutputConstructor] + private AwsS3DataConnectorDataTypesResponse(Outputs.AwsS3DataConnectorDataTypesResponseLogs logs) + { + Logs = logs; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsS3DataConnectorDataTypesResponseLogs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsS3DataConnectorDataTypesResponseLogs.cs new file mode 100644 index 000000000000..a0e50bde3afb --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/AwsS3DataConnectorDataTypesResponseLogs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Logs data type. + /// + [OutputType] + public sealed class AwsS3DataConnectorDataTypesResponseLogs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private AwsS3DataConnectorDataTypesResponseLogs(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BookmarkEntityMappingsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BookmarkEntityMappingsResponse.cs new file mode 100644 index 000000000000..b8a05f63c891 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BookmarkEntityMappingsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes the entity mappings of a single entity + /// + [OutputType] + public sealed class BookmarkEntityMappingsResponse + { + /// + /// The entity type + /// + public readonly string? EntityType; + /// + /// Array of fields mapping for that entity type + /// + public readonly ImmutableArray FieldMappings; + + [OutputConstructor] + private BookmarkEntityMappingsResponse( + string? entityType, + + ImmutableArray fieldMappings) + { + EntityType = entityType; + FieldMappings = fieldMappings; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BookmarkTimelineItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BookmarkTimelineItemResponse.cs new file mode 100644 index 000000000000..2e968d4c7447 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BookmarkTimelineItemResponse.cs @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents bookmark timeline item. + /// + [OutputType] + public sealed class BookmarkTimelineItemResponse + { + /// + /// The bookmark azure resource id. + /// + public readonly string AzureResourceId; + /// + /// Describes a user that created the bookmark + /// + public readonly Outputs.UserInfoResponse? CreatedBy; + /// + /// The bookmark display name. + /// + public readonly string? DisplayName; + /// + /// The bookmark end time. + /// + public readonly string? EndTimeUtc; + /// + /// The bookmark event time. + /// + public readonly string? EventTime; + /// + /// The entity query kind + /// Expected value is 'Bookmark'. + /// + public readonly string Kind; + /// + /// List of labels relevant to this bookmark + /// + public readonly ImmutableArray Labels; + /// + /// The notes of the bookmark + /// + public readonly string? Notes; + /// + /// The bookmark start time. + /// + public readonly string? StartTimeUtc; + + [OutputConstructor] + private BookmarkTimelineItemResponse( + string azureResourceId, + + Outputs.UserInfoResponse? createdBy, + + string? displayName, + + string? endTimeUtc, + + string? eventTime, + + string kind, + + ImmutableArray labels, + + string? notes, + + string? startTimeUtc) + { + AzureResourceId = azureResourceId; + CreatedBy = createdBy; + DisplayName = displayName; + EndTimeUtc = endTimeUtc; + EventTime = eventTime; + Kind = kind; + Labels = labels; + Notes = notes; + StartTimeUtc = startTimeUtc; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BooleanConditionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BooleanConditionPropertiesResponse.cs new file mode 100644 index 000000000000..31f635a3ac06 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/BooleanConditionPropertiesResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions + /// + [OutputType] + public sealed class BooleanConditionPropertiesResponse + { + public readonly Outputs.AutomationRuleBooleanConditionResponse? ConditionProperties; + /// + /// + /// Expected value is 'Boolean'. + /// + public readonly string ConditionType; + + [OutputConstructor] + private BooleanConditionPropertiesResponse( + Outputs.AutomationRuleBooleanConditionResponse? conditionProperties, + + string conditionType) + { + ConditionProperties = conditionProperties; + ConditionType = conditionType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ClientInfoResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ClientInfoResponse.cs new file mode 100644 index 000000000000..87d475a2b96c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ClientInfoResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Information on the client (user or application) that made some action + /// + [OutputType] + public sealed class ClientInfoResponse + { + /// + /// The email of the client. + /// + public readonly string? Email; + /// + /// The name of the client. + /// + public readonly string? Name; + /// + /// The object id of the client. + /// + public readonly string? ObjectId; + /// + /// The user principal name of the client. + /// + public readonly string? UserPrincipalName; + + [OutputConstructor] + private ClientInfoResponse( + string? email, + + string? name, + + string? objectId, + + string? userPrincipalName) + { + Email = email; + Name = name; + ObjectId = objectId; + UserPrincipalName = userPrincipalName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingAuthPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingAuthPropertiesResponse.cs new file mode 100644 index 000000000000..02f852b4802b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingAuthPropertiesResponse.cs @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describe the authentication properties needed to successfully authenticate with the server + /// + [OutputType] + public sealed class CodelessConnectorPollingAuthPropertiesResponse + { + /// + /// A prefix send in the header before the actual token + /// + public readonly string? ApiKeyIdentifier; + /// + /// The header name which the token is sent with + /// + public readonly string? ApiKeyName; + /// + /// The authentication type + /// + public readonly string AuthType; + /// + /// The endpoint used to authorize the user, used in Oauth 2.0 flow + /// + public readonly string? AuthorizationEndpoint; + /// + /// The query parameters used in authorization request, used in Oauth 2.0 flow + /// + public readonly object? AuthorizationEndpointQueryParameters; + /// + /// Describes the flow name, for example 'AuthCode' for Oauth 2.0 + /// + public readonly string? FlowName; + /// + /// Marks if the key should sent in header + /// + public readonly string? IsApiKeyInPostPayload; + /// + /// Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + /// + public readonly bool? IsClientSecretInHeader; + /// + /// The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + /// + public readonly string? RedirectionEndpoint; + /// + /// The OAuth token scope + /// + public readonly string? Scope; + /// + /// The endpoint used to issue a token, used in Oauth 2.0 flow + /// + public readonly string? TokenEndpoint; + /// + /// The query headers used in token request, used in Oauth 2.0 flow + /// + public readonly object? TokenEndpointHeaders; + /// + /// The query parameters used in token request, used in Oauth 2.0 flow + /// + public readonly object? TokenEndpointQueryParameters; + + [OutputConstructor] + private CodelessConnectorPollingAuthPropertiesResponse( + string? apiKeyIdentifier, + + string? apiKeyName, + + string authType, + + string? authorizationEndpoint, + + object? authorizationEndpointQueryParameters, + + string? flowName, + + string? isApiKeyInPostPayload, + + bool? isClientSecretInHeader, + + string? redirectionEndpoint, + + string? scope, + + string? tokenEndpoint, + + object? tokenEndpointHeaders, + + object? tokenEndpointQueryParameters) + { + ApiKeyIdentifier = apiKeyIdentifier; + ApiKeyName = apiKeyName; + AuthType = authType; + AuthorizationEndpoint = authorizationEndpoint; + AuthorizationEndpointQueryParameters = authorizationEndpointQueryParameters; + FlowName = flowName; + IsApiKeyInPostPayload = isApiKeyInPostPayload; + IsClientSecretInHeader = isClientSecretInHeader; + RedirectionEndpoint = redirectionEndpoint; + Scope = scope; + TokenEndpoint = tokenEndpoint; + TokenEndpointHeaders = tokenEndpointHeaders; + TokenEndpointQueryParameters = tokenEndpointQueryParameters; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingConfigPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingConfigPropertiesResponse.cs new file mode 100644 index 000000000000..097c767efe50 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingConfigPropertiesResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Config to describe the polling config for API poller connector + /// + [OutputType] + public sealed class CodelessConnectorPollingConfigPropertiesResponse + { + /// + /// Describe the authentication type of the poller + /// + public readonly Outputs.CodelessConnectorPollingAuthPropertiesResponse Auth; + /// + /// The poller active status + /// + public readonly bool? IsActive; + /// + /// Describe the poll request paging config of the poller + /// + public readonly Outputs.CodelessConnectorPollingPagingPropertiesResponse? Paging; + /// + /// Describe the poll request config parameters of the poller + /// + public readonly Outputs.CodelessConnectorPollingRequestPropertiesResponse Request; + /// + /// Describe the response config parameters of the poller + /// + public readonly Outputs.CodelessConnectorPollingResponsePropertiesResponse? Response; + + [OutputConstructor] + private CodelessConnectorPollingConfigPropertiesResponse( + Outputs.CodelessConnectorPollingAuthPropertiesResponse auth, + + bool? isActive, + + Outputs.CodelessConnectorPollingPagingPropertiesResponse? paging, + + Outputs.CodelessConnectorPollingRequestPropertiesResponse request, + + Outputs.CodelessConnectorPollingResponsePropertiesResponse? response) + { + Auth = auth; + IsActive = isActive; + Paging = paging; + Request = request; + Response = response; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingPagingPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingPagingPropertiesResponse.cs new file mode 100644 index 000000000000..d4011d058dcd --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingPagingPropertiesResponse.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describe the properties needed to make a pagination call + /// + [OutputType] + public sealed class CodelessConnectorPollingPagingPropertiesResponse + { + /// + /// Defines the name of a next page attribute + /// + public readonly string? NextPageParaName; + /// + /// Defines the path to a next page token JSON + /// + public readonly string? NextPageTokenJsonPath; + /// + /// Defines the path to a page count attribute + /// + public readonly string? PageCountAttributePath; + /// + /// Defines the paging size + /// + public readonly int? PageSize; + /// + /// Defines the name of the page size parameter + /// + public readonly string? PageSizeParaName; + /// + /// Defines the path to a paging time stamp attribute + /// + public readonly string? PageTimeStampAttributePath; + /// + /// Defines the path to a page total count attribute + /// + public readonly string? PageTotalCountAttributePath; + /// + /// Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + /// + public readonly string PagingType; + /// + /// Determines whether to search for the latest time stamp in the events list + /// + public readonly string? SearchTheLatestTimeStampFromEventsList; + + [OutputConstructor] + private CodelessConnectorPollingPagingPropertiesResponse( + string? nextPageParaName, + + string? nextPageTokenJsonPath, + + string? pageCountAttributePath, + + int? pageSize, + + string? pageSizeParaName, + + string? pageTimeStampAttributePath, + + string? pageTotalCountAttributePath, + + string pagingType, + + string? searchTheLatestTimeStampFromEventsList) + { + NextPageParaName = nextPageParaName; + NextPageTokenJsonPath = nextPageTokenJsonPath; + PageCountAttributePath = pageCountAttributePath; + PageSize = pageSize; + PageSizeParaName = pageSizeParaName; + PageTimeStampAttributePath = pageTimeStampAttributePath; + PageTotalCountAttributePath = pageTotalCountAttributePath; + PagingType = pagingType; + SearchTheLatestTimeStampFromEventsList = searchTheLatestTimeStampFromEventsList; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingRequestPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingRequestPropertiesResponse.cs new file mode 100644 index 000000000000..db000253863a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingRequestPropertiesResponse.cs @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describe the request properties needed to successfully pull from the server + /// + [OutputType] + public sealed class CodelessConnectorPollingRequestPropertiesResponse + { + /// + /// Describe the endpoint we should pull the data from + /// + public readonly string ApiEndpoint; + /// + /// This will be used the query events from the end of the time window + /// + public readonly string? EndTimeAttributeName; + /// + /// Describe the headers sent in the poll request + /// + public readonly object? Headers; + /// + /// The http method type we will use in the poll request, GET or POST + /// + public readonly string HttpMethod; + /// + /// Describe the query parameters sent in the poll request + /// + public readonly object? QueryParameters; + /// + /// For advanced scenarios for example user name/password embedded in nested JSON payload + /// + public readonly string? QueryParametersTemplate; + /// + /// The time format will be used the query events in a specific window + /// + public readonly string QueryTimeFormat; + /// + /// The window interval we will use the pull the data + /// + public readonly int QueryWindowInMin; + /// + /// Defines the rate limit QPS + /// + public readonly int? RateLimitQps; + /// + /// Describe the amount of time we should try and poll the data in case of failure + /// + public readonly int? RetryCount; + /// + /// This will be used the query events from a start of the time window + /// + public readonly string? StartTimeAttributeName; + /// + /// The number of seconds we will consider as a request timeout + /// + public readonly int? TimeoutInSeconds; + + [OutputConstructor] + private CodelessConnectorPollingRequestPropertiesResponse( + string apiEndpoint, + + string? endTimeAttributeName, + + object? headers, + + string httpMethod, + + object? queryParameters, + + string? queryParametersTemplate, + + string queryTimeFormat, + + int queryWindowInMin, + + int? rateLimitQps, + + int? retryCount, + + string? startTimeAttributeName, + + int? timeoutInSeconds) + { + ApiEndpoint = apiEndpoint; + EndTimeAttributeName = endTimeAttributeName; + Headers = headers; + HttpMethod = httpMethod; + QueryParameters = queryParameters; + QueryParametersTemplate = queryParametersTemplate; + QueryTimeFormat = queryTimeFormat; + QueryWindowInMin = queryWindowInMin; + RateLimitQps = rateLimitQps; + RetryCount = retryCount; + StartTimeAttributeName = startTimeAttributeName; + TimeoutInSeconds = timeoutInSeconds; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingResponsePropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingResponsePropertiesResponse.cs new file mode 100644 index 000000000000..c8fbd8683079 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessConnectorPollingResponsePropertiesResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes the response from the external server + /// + [OutputType] + public sealed class CodelessConnectorPollingResponsePropertiesResponse + { + /// + /// Describes the path we should extract the data in the response + /// + public readonly ImmutableArray EventsJsonPaths; + /// + /// Describes if the data in the response is Gzip + /// + public readonly bool? IsGzipCompressed; + /// + /// Describes the path we should extract the status code in the response + /// + public readonly string? SuccessStatusJsonPath; + /// + /// Describes the path we should extract the status value in the response + /// + public readonly string? SuccessStatusValue; + + [OutputConstructor] + private CodelessConnectorPollingResponsePropertiesResponse( + ImmutableArray eventsJsonPaths, + + bool? isGzipCompressed, + + string? successStatusJsonPath, + + string? successStatusValue) + { + EventsJsonPaths = eventsJsonPaths; + IsGzipCompressed = isGzipCompressed; + SuccessStatusJsonPath = successStatusJsonPath; + SuccessStatusValue = successStatusValue; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponse.cs new file mode 100644 index 000000000000..8feca891e64c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponse.cs @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Config to describe the instructions blade + /// + [OutputType] + public sealed class CodelessUiConnectorConfigPropertiesResponse + { + /// + /// Connector Availability Status + /// + public readonly Outputs.AvailabilityResponse Availability; + /// + /// Define the way the connector check connectivity + /// + public readonly ImmutableArray ConnectivityCriteria; + /// + /// An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + /// + public readonly string? CustomImage; + /// + /// Data types to check for last data received + /// + public readonly ImmutableArray DataTypes; + /// + /// Connector description + /// + public readonly string DescriptionMarkdown; + /// + /// The graph query to show the current data status + /// + public readonly ImmutableArray GraphQueries; + /// + /// Name of the table the connector will insert the data to + /// + public readonly string GraphQueriesTableName; + /// + /// Instruction steps to enable the connector + /// + public readonly ImmutableArray InstructionSteps; + /// + /// Permissions required for the connector + /// + public readonly Outputs.PermissionsResponse Permissions; + /// + /// Connector publisher name + /// + public readonly string Publisher; + /// + /// The sample queries for the connector + /// + public readonly ImmutableArray SampleQueries; + /// + /// Connector blade title + /// + public readonly string Title; + + [OutputConstructor] + private CodelessUiConnectorConfigPropertiesResponse( + Outputs.AvailabilityResponse availability, + + ImmutableArray connectivityCriteria, + + string? customImage, + + ImmutableArray dataTypes, + + string descriptionMarkdown, + + ImmutableArray graphQueries, + + string graphQueriesTableName, + + ImmutableArray instructionSteps, + + Outputs.PermissionsResponse permissions, + + string publisher, + + ImmutableArray sampleQueries, + + string title) + { + Availability = availability; + ConnectivityCriteria = connectivityCriteria; + CustomImage = customImage; + DataTypes = dataTypes; + DescriptionMarkdown = descriptionMarkdown; + GraphQueries = graphQueries; + GraphQueriesTableName = graphQueriesTableName; + InstructionSteps = instructionSteps; + Permissions = permissions; + Publisher = publisher; + SampleQueries = sampleQueries; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria.cs new file mode 100644 index 000000000000..a5d31ba9b7cd --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria + { + /// + /// type of connectivity + /// + public readonly string? Type; + /// + /// Queries for checking connectivity + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria( + string? type, + + ImmutableArray value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseDataTypes.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseDataTypes.cs new file mode 100644 index 000000000000..b0713576d3f4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseDataTypes.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class CodelessUiConnectorConfigPropertiesResponseDataTypes + { + /// + /// Query for indicate last data received + /// + public readonly string? LastDataReceivedQuery; + /// + /// Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + /// + public readonly string? Name; + + [OutputConstructor] + private CodelessUiConnectorConfigPropertiesResponseDataTypes( + string? lastDataReceivedQuery, + + string? name) + { + LastDataReceivedQuery = lastDataReceivedQuery; + Name = name; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseGraphQueries.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseGraphQueries.cs new file mode 100644 index 000000000000..98759d0102b4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseGraphQueries.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class CodelessUiConnectorConfigPropertiesResponseGraphQueries + { + /// + /// The base query for the graph + /// + public readonly string? BaseQuery; + /// + /// The legend for the graph + /// + public readonly string? Legend; + /// + /// the metric that the query is checking + /// + public readonly string? MetricName; + + [OutputConstructor] + private CodelessUiConnectorConfigPropertiesResponseGraphQueries( + string? baseQuery, + + string? legend, + + string? metricName) + { + BaseQuery = baseQuery; + Legend = legend; + MetricName = metricName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseInstructionSteps.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseInstructionSteps.cs new file mode 100644 index 000000000000..363f7a785f68 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseInstructionSteps.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class CodelessUiConnectorConfigPropertiesResponseInstructionSteps + { + /// + /// Instruction step description + /// + public readonly string? Description; + /// + /// Instruction step details + /// + public readonly ImmutableArray Instructions; + /// + /// Instruction step title + /// + public readonly string? Title; + + [OutputConstructor] + private CodelessUiConnectorConfigPropertiesResponseInstructionSteps( + string? description, + + ImmutableArray instructions, + + string? title) + { + Description = description; + Instructions = instructions; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseSampleQueries.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseSampleQueries.cs new file mode 100644 index 000000000000..20e726a74bfc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CodelessUiConnectorConfigPropertiesResponseSampleQueries.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class CodelessUiConnectorConfigPropertiesResponseSampleQueries + { + /// + /// The sample query description + /// + public readonly string? Description; + /// + /// the sample query + /// + public readonly string? Query; + + [OutputConstructor] + private CodelessUiConnectorConfigPropertiesResponseSampleQueries( + string? description, + + string? query) + { + Description = description; + Query = query; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectivityCriterionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectivityCriterionResponse.cs new file mode 100644 index 000000000000..e1811f0aaee6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectivityCriterionResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The criteria by which we determine whether the connector is connected or not. + /// For Example, use a KQL query to check if the expected data type is flowing). + /// + [OutputType] + public sealed class ConnectivityCriterionResponse + { + /// + /// Gets or sets the type of connectivity. + /// + public readonly string Type; + /// + /// Gets or sets the queries for checking connectivity. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ConnectivityCriterionResponse( + string type, + + ImmutableArray value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDataTypeResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDataTypeResponse.cs new file mode 100644 index 000000000000..311a4c88aa49 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDataTypeResponse.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The data type which is created by the connector, + /// including a query indicated when was the last time that data type was received in the workspace. + /// + [OutputType] + public sealed class ConnectorDataTypeResponse + { + /// + /// Gets or sets the query to indicate when relevant data was last received in the workspace. + /// + public readonly string LastDataReceivedQuery; + /// + /// Gets or sets the name of the data type to show in the graph. + /// + public readonly string Name; + + [OutputConstructor] + private ConnectorDataTypeResponse( + string lastDataReceivedQuery, + + string name) + { + LastDataReceivedQuery = lastDataReceivedQuery; + Name = name; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsAvailabilityResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsAvailabilityResponse.cs new file mode 100644 index 000000000000..a2eda41bdd4b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsAvailabilityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The exposure status of the connector to the customers. + /// + [OutputType] + public sealed class ConnectorDefinitionsAvailabilityResponse + { + /// + /// Gets or sets a value indicating whether the connector is preview. + /// + public readonly bool? IsPreview; + /// + /// The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + /// + public readonly int? Status; + + [OutputConstructor] + private ConnectorDefinitionsAvailabilityResponse( + bool? isPreview, + + int? status) + { + IsPreview = isPreview; + Status = status; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsPermissionsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsPermissionsResponse.cs new file mode 100644 index 000000000000..15a82ae5eccf --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsPermissionsResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The required Permissions for the connector. + /// + [OutputType] + public sealed class ConnectorDefinitionsPermissionsResponse + { + /// + /// Gets or sets the customs permissions required for the user to create connections. + /// + public readonly ImmutableArray Customs; + /// + /// Gets or sets the required licenses for the user to create connections. + /// + public readonly ImmutableArray Licenses; + /// + /// Gets or sets the resource provider permissions required for the user to create connections. + /// + public readonly ImmutableArray ResourceProvider; + /// + /// Gets or sets the required tenant permissions for the connector. + /// + public readonly ImmutableArray Tenant; + + [OutputConstructor] + private ConnectorDefinitionsPermissionsResponse( + ImmutableArray customs, + + ImmutableArray licenses, + + ImmutableArray resourceProvider, + + ImmutableArray tenant) + { + Customs = customs; + Licenses = licenses; + ResourceProvider = resourceProvider; + Tenant = tenant; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsResourceProviderResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsResourceProviderResponse.cs new file mode 100644 index 000000000000..7bfe8a79e238 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ConnectorDefinitionsResourceProviderResponse.cs @@ -0,0 +1,61 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The resource provider details include the required permissions for the user to create connections. + /// The user should have the required permissions(Read\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + /// + [OutputType] + public sealed class ConnectorDefinitionsResourceProviderResponse + { + /// + /// Gets or sets the permissions description text. + /// + public readonly string PermissionsDisplayText; + /// + /// Gets or sets the provider name. + /// + public readonly string Provider; + /// + /// Gets or sets the permissions provider display name. + /// + public readonly string ProviderDisplayName; + /// + /// Required permissions for the connector resource provider that define in ResourceProviders. + /// For more information about the permissions see <see href="https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#actions-format">here</see>. + /// + public readonly Outputs.ResourceProviderRequiredPermissionsResponse RequiredPermissions; + /// + /// The scope on which the user should have permissions, in order to be able to create connections. + /// + public readonly string Scope; + + [OutputConstructor] + private ConnectorDefinitionsResourceProviderResponse( + string permissionsDisplayText, + + string provider, + + string providerDisplayName, + + Outputs.ResourceProviderRequiredPermissionsResponse requiredPermissions, + + string scope) + { + PermissionsDisplayText = permissionsDisplayText; + Provider = provider; + ProviderDisplayName = providerDisplayName; + RequiredPermissions = requiredPermissions; + Scope = scope; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomPermissionDetailsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomPermissionDetailsResponse.cs new file mode 100644 index 000000000000..3619f9cef706 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomPermissionDetailsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The Custom permissions required for the connector. + /// + [OutputType] + public sealed class CustomPermissionDetailsResponse + { + /// + /// Gets or sets the custom permissions description. + /// + public readonly string Description; + /// + /// Gets or sets the custom permissions name. + /// + public readonly string Name; + + [OutputConstructor] + private CustomPermissionDetailsResponse( + string description, + + string name) + { + Description = description; + Name = name; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomizableConnectionsConfigResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomizableConnectionsConfigResponse.cs new file mode 100644 index 000000000000..f390bf2758d2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomizableConnectionsConfigResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + [OutputType] + public sealed class CustomizableConnectionsConfigResponse + { + /// + /// Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + /// + public readonly string TemplateSpecName; + /// + /// Gets or sets the template version. + /// + public readonly string TemplateSpecVersion; + + [OutputConstructor] + private CustomizableConnectionsConfigResponse( + string templateSpecName, + + string templateSpecVersion) + { + TemplateSpecName = templateSpecName; + TemplateSpecVersion = templateSpecVersion; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomizableConnectorUiConfigResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomizableConnectorUiConfigResponse.cs new file mode 100644 index 000000000000..f3f3c60a4e9d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/CustomizableConnectorUiConfigResponse.cs @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The UiConfig for 'Customizable' connector definition kind. + /// + [OutputType] + public sealed class CustomizableConnectorUiConfigResponse + { + /// + /// The exposure status of the connector to the customers. + /// + public readonly Outputs.ConnectorDefinitionsAvailabilityResponse? Availability; + /// + /// Gets or sets the way the connector checks whether the connector is connected. + /// + public readonly ImmutableArray ConnectivityCriteria; + /// + /// Gets or sets the data types to check for last data received. + /// + public readonly ImmutableArray DataTypes; + /// + /// Gets or sets the connector description in markdown format. + /// + public readonly string DescriptionMarkdown; + /// + /// Gets or sets the graph queries to show the current data volume over time. + /// + public readonly ImmutableArray GraphQueries; + /// + /// Gets or sets the name of the table the connector will insert the data to. + /// This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + /// in Query and LastDataReceivedQuery values. + /// + public readonly string? GraphQueriesTableName; + /// + /// Gets or sets custom connector id. optional field. + /// + public readonly string? Id; + /// + /// Gets or sets the instruction steps to enable the connector. + /// + public readonly ImmutableArray InstructionSteps; + /// + /// Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + /// + public readonly bool? IsConnectivityCriteriasMatchSome; + /// + /// Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + /// The logo value should be in SVG format. + /// + public readonly string? Logo; + /// + /// The required Permissions for the connector. + /// + public readonly Outputs.ConnectorDefinitionsPermissionsResponse Permissions; + /// + /// Gets or sets the connector publisher name. + /// + public readonly string Publisher; + /// + /// Gets or sets the sample queries for the connector. + /// + public readonly ImmutableArray SampleQueries; + /// + /// Gets or sets the connector blade title. + /// + public readonly string Title; + + [OutputConstructor] + private CustomizableConnectorUiConfigResponse( + Outputs.ConnectorDefinitionsAvailabilityResponse? availability, + + ImmutableArray connectivityCriteria, + + ImmutableArray dataTypes, + + string descriptionMarkdown, + + ImmutableArray graphQueries, + + string? graphQueriesTableName, + + string? id, + + ImmutableArray instructionSteps, + + bool? isConnectivityCriteriasMatchSome, + + string? logo, + + Outputs.ConnectorDefinitionsPermissionsResponse permissions, + + string publisher, + + ImmutableArray sampleQueries, + + string title) + { + Availability = availability; + ConnectivityCriteria = connectivityCriteria; + DataTypes = dataTypes; + DescriptionMarkdown = descriptionMarkdown; + GraphQueries = graphQueries; + GraphQueriesTableName = graphQueriesTableName; + Id = id; + InstructionSteps = instructionSteps; + IsConnectivityCriteriasMatchSome = isConnectivityCriteriasMatchSome; + Logo = logo; + Permissions = permissions; + Publisher = publisher; + SampleQueries = sampleQueries; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/DCRConfigurationResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/DCRConfigurationResponse.cs new file mode 100644 index 000000000000..a8869883c2e3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/DCRConfigurationResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The configuration of the destination of the data. + /// + [OutputType] + public sealed class DCRConfigurationResponse + { + /// + /// Represents the data collection ingestion endpoint in log analytics. + /// + public readonly string DataCollectionEndpoint; + /// + /// The data collection rule immutable id, the rule defines the transformation and data destination. + /// + public readonly string DataCollectionRuleImmutableId; + /// + /// The stream we are sending the data to. + /// + public readonly string StreamName; + + [OutputConstructor] + private DCRConfigurationResponse( + string dataCollectionEndpoint, + + string dataCollectionRuleImmutableId, + + string streamName) + { + DataCollectionEndpoint = dataCollectionEndpoint; + DataCollectionRuleImmutableId = dataCollectionRuleImmutableId; + StreamName = streamName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/DataConnectorDataTypeCommonResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/DataConnectorDataTypeCommonResponse.cs new file mode 100644 index 000000000000..c05501751103 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/DataConnectorDataTypeCommonResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Common field for data type in data connectors. + /// + [OutputType] + public sealed class DataConnectorDataTypeCommonResponse + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private DataConnectorDataTypeCommonResponse(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Dynamics365DataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Dynamics365DataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..6e02ea14ad82 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Dynamics365DataConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Dynamics365 data connector. + /// + [OutputType] + public sealed class Dynamics365DataConnectorDataTypesResponse + { + /// + /// Common Data Service data type connection. + /// + public readonly Outputs.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities Dynamics365CdsActivities; + + [OutputConstructor] + private Dynamics365DataConnectorDataTypesResponse(Outputs.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities dynamics365CdsActivities) + { + Dynamics365CdsActivities = dynamics365CdsActivities; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities.cs new file mode 100644 index 000000000000..4b56a0de8f53 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Common Data Service data type connection. + /// + [OutputType] + public sealed class Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityFieldMappingResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityFieldMappingResponse.cs new file mode 100644 index 000000000000..c4a494741a96 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityFieldMappingResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Map identifiers of a single entity + /// + [OutputType] + public sealed class EntityFieldMappingResponse + { + /// + /// Alert V3 identifier + /// + public readonly string? Identifier; + /// + /// The value of the identifier + /// + public readonly string? Value; + + [OutputConstructor] + private EntityFieldMappingResponse( + string? identifier, + + string? value) + { + Identifier = identifier; + Value = value; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityInsightItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityInsightItemResponse.cs new file mode 100644 index 000000000000..a2f1e400b368 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityInsightItemResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Entity insight Item. + /// + [OutputType] + public sealed class EntityInsightItemResponse + { + /// + /// Query results for table insights query. + /// + public readonly ImmutableArray ChartQueryResults; + /// + /// The query id of the insight + /// + public readonly string? QueryId; + /// + /// The Time interval that the query actually executed on. + /// + public readonly Outputs.EntityInsightItemResponseQueryTimeInterval? QueryTimeInterval; + /// + /// Query results for table insights query. + /// + public readonly Outputs.InsightsTableResultResponse? TableQueryResults; + + [OutputConstructor] + private EntityInsightItemResponse( + ImmutableArray chartQueryResults, + + string? queryId, + + Outputs.EntityInsightItemResponseQueryTimeInterval? queryTimeInterval, + + Outputs.InsightsTableResultResponse? tableQueryResults) + { + ChartQueryResults = chartQueryResults; + QueryId = queryId; + QueryTimeInterval = queryTimeInterval; + TableQueryResults = tableQueryResults; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityInsightItemResponseQueryTimeInterval.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityInsightItemResponseQueryTimeInterval.cs new file mode 100644 index 000000000000..afb8189c59c2 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityInsightItemResponseQueryTimeInterval.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The Time interval that the query actually executed on. + /// + [OutputType] + public sealed class EntityInsightItemResponseQueryTimeInterval + { + /// + /// Insight query end time + /// + public readonly string? EndTime; + /// + /// Insight query start time + /// + public readonly string? StartTime; + + [OutputConstructor] + private EntityInsightItemResponseQueryTimeInterval( + string? endTime, + + string? startTime) + { + EndTime = endTime; + StartTime = startTime; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityMappingResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityMappingResponse.cs new file mode 100644 index 000000000000..30698788d1cb --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EntityMappingResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Single entity mapping for the alert rule + /// + [OutputType] + public sealed class EntityMappingResponse + { + /// + /// The V3 type of the mapped entity + /// + public readonly string? EntityType; + /// + /// array of field mappings for the given entity mapping + /// + public readonly ImmutableArray FieldMappings; + + [OutputConstructor] + private EntityMappingResponse( + string? entityType, + + ImmutableArray fieldMappings) + { + EntityType = entityType; + FieldMappings = fieldMappings; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EventGroupingSettingsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EventGroupingSettingsResponse.cs new file mode 100644 index 000000000000..6a0ba6d9a9a0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/EventGroupingSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Event grouping settings property bag. + /// + [OutputType] + public sealed class EventGroupingSettingsResponse + { + /// + /// The event grouping aggregation kinds + /// + public readonly string? AggregationKind; + + [OutputConstructor] + private EventGroupingSettingsResponse(string? aggregationKind) + { + AggregationKind = aggregationKind; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FieldMappingResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FieldMappingResponse.cs new file mode 100644 index 000000000000..22b89878c516 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FieldMappingResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// A single field mapping of the mapped entity + /// + [OutputType] + public sealed class FieldMappingResponse + { + /// + /// the column name to be mapped to the identifier + /// + public readonly string? ColumnName; + /// + /// the V3 identifier of the entity + /// + public readonly string? Identifier; + + [OutputConstructor] + private FieldMappingResponse( + string? columnName, + + string? identifier) + { + ColumnName = columnName; + Identifier = identifier; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FileMetadataResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FileMetadataResponse.cs new file mode 100644 index 000000000000..a9160d40aac5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FileMetadataResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents a file. + /// + [OutputType] + public sealed class FileMetadataResponse + { + /// + /// Indicates whether the file was deleted from the storage account. + /// + public readonly string DeleteStatus; + /// + /// A URI with a valid SAS token to allow uploading / downloading the file. + /// + public readonly string FileContentUri; + /// + /// The format of the file + /// + public readonly string? FileFormat; + /// + /// The name of the file. + /// + public readonly string? FileName; + /// + /// The size of the file. + /// + public readonly int? FileSize; + + [OutputConstructor] + private FileMetadataResponse( + string deleteStatus, + + string fileContentUri, + + string? fileFormat, + + string? fileName, + + int? fileSize) + { + DeleteStatus = deleteStatus; + FileContentUri = fileContentUri; + FileFormat = fileFormat; + FileName = fileName; + FileSize = fileSize; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionScenarioExclusionPatternResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionScenarioExclusionPatternResponse.cs new file mode 100644 index 000000000000..4cf010c21358 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionScenarioExclusionPatternResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents a Fusion scenario exclusion patterns in Fusion detection. + /// + [OutputType] + public sealed class FusionScenarioExclusionPatternResponse + { + /// + /// DateTime when scenario exclusion pattern is added in UTC. + /// + public readonly string DateAddedInUTC; + /// + /// Scenario exclusion pattern. + /// + public readonly string ExclusionPattern; + + [OutputConstructor] + private FusionScenarioExclusionPatternResponse( + string dateAddedInUTC, + + string exclusionPattern) + { + DateAddedInUTC = dateAddedInUTC; + ExclusionPattern = exclusionPattern; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSourceSettingsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSourceSettingsResponse.cs new file mode 100644 index 000000000000..9f3b11f809fd --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSourceSettingsResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents a supported source signal configuration in Fusion detection. + /// + [OutputType] + public sealed class FusionSourceSettingsResponse + { + /// + /// Determines whether this source signal is enabled or disabled in Fusion detection. + /// + public readonly bool Enabled; + /// + /// Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + /// + public readonly string SourceName; + /// + /// Configuration for all source subtypes under this source signal consumed in fusion detection. + /// + public readonly ImmutableArray SourceSubTypes; + + [OutputConstructor] + private FusionSourceSettingsResponse( + bool enabled, + + string sourceName, + + ImmutableArray sourceSubTypes) + { + Enabled = enabled; + SourceName = sourceName; + SourceSubTypes = sourceSubTypes; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSourceSubTypeSettingResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSourceSubTypeSettingResponse.cs new file mode 100644 index 000000000000..35c0ea71a62d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSourceSubTypeSettingResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents a supported source subtype configuration under a source signal in Fusion detection. + /// + [OutputType] + public sealed class FusionSourceSubTypeSettingResponse + { + /// + /// Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + /// + public readonly bool Enabled; + /// + /// Severity configuration for a source subtype consumed in fusion detection. + /// + public readonly Outputs.FusionSubTypeSeverityFilterResponse SeverityFilters; + /// + /// The display name of source subtype under a source signal consumed in Fusion detection. + /// + public readonly string SourceSubTypeDisplayName; + /// + /// The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + /// + public readonly string SourceSubTypeName; + + [OutputConstructor] + private FusionSourceSubTypeSettingResponse( + bool enabled, + + Outputs.FusionSubTypeSeverityFilterResponse severityFilters, + + string sourceSubTypeDisplayName, + + string sourceSubTypeName) + { + Enabled = enabled; + SeverityFilters = severityFilters; + SourceSubTypeDisplayName = sourceSubTypeDisplayName; + SourceSubTypeName = sourceSubTypeName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSubTypeSeverityFilterResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSubTypeSeverityFilterResponse.cs new file mode 100644 index 000000000000..75c0596ca69a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSubTypeSeverityFilterResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents severity configuration for a source subtype consumed in Fusion detection. + /// + [OutputType] + public sealed class FusionSubTypeSeverityFilterResponse + { + /// + /// Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + /// + public readonly ImmutableArray Filters; + /// + /// Determines whether this source subtype supports severity configuration or not. + /// + public readonly bool IsSupported; + + [OutputConstructor] + private FusionSubTypeSeverityFilterResponse( + ImmutableArray filters, + + bool isSupported) + { + Filters = filters; + IsSupported = isSupported; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSubTypeSeverityFiltersItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSubTypeSeverityFiltersItemResponse.cs new file mode 100644 index 000000000000..6dd00ed88c59 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/FusionSubTypeSeverityFiltersItemResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents a Severity filter setting for a given source subtype consumed in Fusion detection. + /// + [OutputType] + public sealed class FusionSubTypeSeverityFiltersItemResponse + { + /// + /// Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + /// + public readonly bool Enabled; + /// + /// The Severity for a given source subtype consumed in Fusion detection. + /// + public readonly string Severity; + + [OutputConstructor] + private FusionSubTypeSeverityFiltersItemResponse( + bool enabled, + + string severity) + { + Enabled = enabled; + Severity = severity; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GCPAuthPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GCPAuthPropertiesResponse.cs new file mode 100644 index 000000000000..f6bee1a0f6bc --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GCPAuthPropertiesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Google Cloud Platform auth section properties. + /// + [OutputType] + public sealed class GCPAuthPropertiesResponse + { + /// + /// The GCP project number. + /// + public readonly string ProjectNumber; + /// + /// The service account that is used to access the GCP project. + /// + public readonly string ServiceAccountEmail; + /// + /// The workload identity provider id that is used to gain access to the GCP project. + /// + public readonly string WorkloadIdentityProviderId; + + [OutputConstructor] + private GCPAuthPropertiesResponse( + string projectNumber, + + string serviceAccountEmail, + + string workloadIdentityProviderId) + { + ProjectNumber = projectNumber; + ServiceAccountEmail = serviceAccountEmail; + WorkloadIdentityProviderId = workloadIdentityProviderId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GCPRequestPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GCPRequestPropertiesResponse.cs new file mode 100644 index 000000000000..82c7a2416030 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GCPRequestPropertiesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Google Cloud Platform request section properties. + /// + [OutputType] + public sealed class GCPRequestPropertiesResponse + { + /// + /// The GCP project id. + /// + public readonly string ProjectId; + /// + /// The GCP pub/sub subscription names. + /// + public readonly ImmutableArray SubscriptionNames; + + [OutputConstructor] + private GCPRequestPropertiesResponse( + string projectId, + + ImmutableArray subscriptionNames) + { + ProjectId = projectId; + SubscriptionNames = subscriptionNames; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GetInsightsErrorKindResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GetInsightsErrorKindResponse.cs new file mode 100644 index 000000000000..cd5816ea0785 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GetInsightsErrorKindResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// GetInsights Query Errors. + /// + [OutputType] + public sealed class GetInsightsErrorKindResponse + { + /// + /// the error message + /// + public readonly string ErrorMessage; + /// + /// the query kind + /// + public readonly string Kind; + /// + /// the query id + /// + public readonly string? QueryId; + + [OutputConstructor] + private GetInsightsErrorKindResponse( + string errorMessage, + + string kind, + + string? queryId) + { + ErrorMessage = errorMessage; + Kind = kind; + QueryId = queryId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GetInsightsResultsMetadataResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GetInsightsResultsMetadataResponse.cs new file mode 100644 index 000000000000..fb85fe63ec13 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GetInsightsResultsMetadataResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Get Insights result metadata. + /// + [OutputType] + public sealed class GetInsightsResultsMetadataResponse + { + /// + /// information about the failed queries + /// + public readonly ImmutableArray Errors; + /// + /// the total items found for the insights request + /// + public readonly int TotalCount; + + [OutputConstructor] + private GetInsightsResultsMetadataResponse( + ImmutableArray errors, + + int totalCount) + { + Errors = errors; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GraphQueryResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GraphQueryResponse.cs new file mode 100644 index 000000000000..f70d54a2e382 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GraphQueryResponse.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The graph query to show the volume of data arriving into the workspace over time. + /// + [OutputType] + public sealed class GraphQueryResponse + { + /// + /// Gets or sets the base query for the graph. + /// The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + /// + public readonly string BaseQuery; + /// + /// Gets or sets the legend for the graph. + /// + public readonly string Legend; + /// + /// Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + /// + public readonly string MetricName; + + [OutputConstructor] + private GraphQueryResponse( + string baseQuery, + + string legend, + + string metricName) + { + BaseQuery = baseQuery; + Legend = legend; + MetricName = metricName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GroupingConfigurationResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GroupingConfigurationResponse.cs new file mode 100644 index 000000000000..c9577ff411b5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/GroupingConfigurationResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Grouping configuration property bag. + /// + [OutputType] + public sealed class GroupingConfigurationResponse + { + /// + /// Grouping enabled + /// + public readonly bool Enabled; + /// + /// A list of alert details to group by (when matchingMethod is Selected) + /// + public readonly ImmutableArray GroupByAlertDetails; + /// + /// A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + /// + public readonly ImmutableArray GroupByCustomDetails; + /// + /// A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + /// + public readonly ImmutableArray GroupByEntities; + /// + /// Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + /// + public readonly string LookbackDuration; + /// + /// Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + /// + public readonly string MatchingMethod; + /// + /// Re-open closed matching incidents + /// + public readonly bool ReopenClosedIncident; + + [OutputConstructor] + private GroupingConfigurationResponse( + bool enabled, + + ImmutableArray groupByAlertDetails, + + ImmutableArray groupByCustomDetails, + + ImmutableArray groupByEntities, + + string lookbackDuration, + + string matchingMethod, + + bool reopenClosedIncident) + { + Enabled = enabled; + GroupByAlertDetails = groupByAlertDetails; + GroupByCustomDetails = groupByCustomDetails; + GroupByEntities = groupByEntities; + LookbackDuration = lookbackDuration; + MatchingMethod = matchingMethod; + ReopenClosedIncident = reopenClosedIncident; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/HuntOwnerResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/HuntOwnerResponse.cs new file mode 100644 index 000000000000..94e8a941013c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/HuntOwnerResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes a user that the hunt is assigned to + /// + [OutputType] + public sealed class HuntOwnerResponse + { + /// + /// The name of the user the hunt is assigned to. + /// + public readonly string? AssignedTo; + /// + /// The email of the user the hunt is assigned to. + /// + public readonly string? Email; + /// + /// The object id of the user the hunt is assigned to. + /// + public readonly string? ObjectId; + /// + /// The type of the owner the hunt is assigned to. + /// + public readonly string? OwnerType; + /// + /// The user principal name of the user the hunt is assigned to. + /// + public readonly string? UserPrincipalName; + + [OutputConstructor] + private HuntOwnerResponse( + string? assignedTo, + + string? email, + + string? objectId, + + string? ownerType, + + string? userPrincipalName) + { + AssignedTo = assignedTo; + Email = email; + ObjectId = objectId; + OwnerType = ownerType; + UserPrincipalName = userPrincipalName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentAdditionalDataResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentAdditionalDataResponse.cs new file mode 100644 index 000000000000..53034107d4e1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentAdditionalDataResponse.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Incident additional data property bag. + /// + [OutputType] + public sealed class IncidentAdditionalDataResponse + { + /// + /// List of product names of alerts in the incident + /// + public readonly ImmutableArray AlertProductNames; + /// + /// The number of alerts in the incident + /// + public readonly int AlertsCount; + /// + /// The number of bookmarks in the incident + /// + public readonly int BookmarksCount; + /// + /// The number of comments in the incident + /// + public readonly int CommentsCount; + /// + /// The provider incident url to the incident in Microsoft 365 Defender portal + /// + public readonly string ProviderIncidentUrl; + /// + /// The tactics associated with incident + /// + public readonly ImmutableArray Tactics; + /// + /// The techniques associated with incident's tactics + /// + public readonly ImmutableArray Techniques; + + [OutputConstructor] + private IncidentAdditionalDataResponse( + ImmutableArray alertProductNames, + + int alertsCount, + + int bookmarksCount, + + int commentsCount, + + string providerIncidentUrl, + + ImmutableArray tactics, + + ImmutableArray techniques) + { + AlertProductNames = alertProductNames; + AlertsCount = alertsCount; + BookmarksCount = bookmarksCount; + CommentsCount = commentsCount; + ProviderIncidentUrl = providerIncidentUrl; + Tactics = tactics; + Techniques = techniques; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentConfigurationResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentConfigurationResponse.cs new file mode 100644 index 000000000000..b94ebd0c411c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentConfigurationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Incident Configuration property bag. + /// + [OutputType] + public sealed class IncidentConfigurationResponse + { + /// + /// Create incidents from alerts triggered by this analytics rule + /// + public readonly bool CreateIncident; + /// + /// Set how the alerts that are triggered by this analytics rule, are grouped into incidents + /// + public readonly Outputs.GroupingConfigurationResponse? GroupingConfiguration; + + [OutputConstructor] + private IncidentConfigurationResponse( + bool createIncident, + + Outputs.GroupingConfigurationResponse? groupingConfiguration) + { + CreateIncident = createIncident; + GroupingConfiguration = groupingConfiguration; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentInfoResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentInfoResponse.cs new file mode 100644 index 000000000000..4b695bab0c6f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentInfoResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes related incident information for the bookmark + /// + [OutputType] + public sealed class IncidentInfoResponse + { + /// + /// Incident Id + /// + public readonly string? IncidentId; + /// + /// Relation Name + /// + public readonly string? RelationName; + /// + /// The severity of the incident + /// + public readonly string? Severity; + /// + /// The title of the incident + /// + public readonly string? Title; + + [OutputConstructor] + private IncidentInfoResponse( + string? incidentId, + + string? relationName, + + string? severity, + + string? title) + { + IncidentId = incidentId; + RelationName = relationName; + Severity = severity; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentLabelResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentLabelResponse.cs new file mode 100644 index 000000000000..4a56e374112d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentLabelResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents an incident label + /// + [OutputType] + public sealed class IncidentLabelResponse + { + /// + /// The name of the label + /// + public readonly string LabelName; + /// + /// The type of the label + /// + public readonly string LabelType; + + [OutputConstructor] + private IncidentLabelResponse( + string labelName, + + string labelType) + { + LabelName = labelName; + LabelType = labelType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentOwnerInfoResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentOwnerInfoResponse.cs new file mode 100644 index 000000000000..d159af6bf712 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentOwnerInfoResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Information on the user an incident is assigned to + /// + [OutputType] + public sealed class IncidentOwnerInfoResponse + { + /// + /// The name of the user the incident is assigned to. + /// + public readonly string? AssignedTo; + /// + /// The email of the user the incident is assigned to. + /// + public readonly string? Email; + /// + /// The object id of the user the incident is assigned to. + /// + public readonly string? ObjectId; + /// + /// The type of the owner the incident is assigned to. + /// + public readonly string? OwnerType; + /// + /// The user principal name of the user the incident is assigned to. + /// + public readonly string? UserPrincipalName; + + [OutputConstructor] + private IncidentOwnerInfoResponse( + string? assignedTo, + + string? email, + + string? objectId, + + string? ownerType, + + string? userPrincipalName) + { + AssignedTo = assignedTo; + Email = email; + ObjectId = objectId; + OwnerType = ownerType; + UserPrincipalName = userPrincipalName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentPropertiesActionResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentPropertiesActionResponse.cs new file mode 100644 index 000000000000..18e50f6fe51a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/IncidentPropertiesActionResponse.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class IncidentPropertiesActionResponse + { + /// + /// The reason the incident was closed + /// + public readonly string? Classification; + /// + /// Describes the reason the incident was closed. + /// + public readonly string? ClassificationComment; + /// + /// The classification reason the incident was closed with + /// + public readonly string? ClassificationReason; + /// + /// List of labels to add to the incident. + /// + public readonly ImmutableArray Labels; + /// + /// Information on the user an incident is assigned to + /// + public readonly Outputs.IncidentOwnerInfoResponse? Owner; + /// + /// The severity of the incident + /// + public readonly string? Severity; + /// + /// The status of the incident + /// + public readonly string? Status; + + [OutputConstructor] + private IncidentPropertiesActionResponse( + string? classification, + + string? classificationComment, + + string? classificationReason, + + ImmutableArray labels, + + Outputs.IncidentOwnerInfoResponse? owner, + + string? severity, + + string? status) + { + Classification = classification; + ClassificationComment = classificationComment; + ClassificationReason = classificationReason; + Labels = labels; + Owner = owner; + Severity = severity; + Status = status; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InsightsTableResultResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InsightsTableResultResponse.cs new file mode 100644 index 000000000000..86d17e95a47c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InsightsTableResultResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Query results for table insights query. + /// + [OutputType] + public sealed class InsightsTableResultResponse + { + /// + /// Columns Metadata of the table + /// + public readonly ImmutableArray Columns; + /// + /// Rows data of the table + /// + public readonly ImmutableArray> Rows; + + [OutputConstructor] + private InsightsTableResultResponse( + ImmutableArray columns, + + ImmutableArray> rows) + { + Columns = columns; + Rows = rows; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InsightsTableResultResponseColumns.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InsightsTableResultResponseColumns.cs new file mode 100644 index 000000000000..dcf5a82a161f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InsightsTableResultResponseColumns.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class InsightsTableResultResponseColumns + { + /// + /// the name of the colum + /// + public readonly string? Name; + /// + /// the type of the colum + /// + public readonly string? Type; + + [OutputConstructor] + private InsightsTableResultResponseColumns( + string? name, + + string? type) + { + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepDetailsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepDetailsResponse.cs new file mode 100644 index 000000000000..da5a85baee70 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepDetailsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + /// + [OutputType] + public sealed class InstructionStepDetailsResponse + { + /// + /// Gets or sets the instruction type parameters settings. + /// + public readonly object Parameters; + /// + /// Gets or sets the instruction type name. + /// + public readonly string Type; + + [OutputConstructor] + private InstructionStepDetailsResponse( + object parameters, + + string type) + { + Parameters = parameters; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepResponse.cs new file mode 100644 index 000000000000..034af466e3a5 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepResponse.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Instruction steps to enable the connector. + /// + [OutputType] + public sealed class InstructionStepResponse + { + /// + /// Gets or sets the instruction step description. + /// + public readonly string? Description; + /// + /// Gets or sets the inner instruction steps details. + /// Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + /// + public readonly ImmutableArray InnerSteps; + /// + /// Gets or sets the instruction step details. + /// + public readonly ImmutableArray Instructions; + /// + /// Gets or sets the instruction step title. + /// + public readonly string? Title; + + [OutputConstructor] + private InstructionStepResponse( + string? description, + + ImmutableArray innerSteps, + + ImmutableArray instructions, + + string? title) + { + Description = description; + InnerSteps = innerSteps; + Instructions = instructions; + Title = title; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepsResponseInstructions.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepsResponseInstructions.cs new file mode 100644 index 000000000000..bfe29f561951 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/InstructionStepsResponseInstructions.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class InstructionStepsResponseInstructions + { + /// + /// The parameters for the setting + /// + public readonly object? Parameters; + /// + /// The kind of the setting + /// + public readonly string Type; + + [OutputConstructor] + private InstructionStepsResponseInstructions( + object? parameters, + + string type) + { + Parameters = parameters; + Type = type; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MCASDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MCASDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..a987a1fde94a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MCASDataConnectorDataTypesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for MCAS (Microsoft Cloud App Security) data connector. + /// + [OutputType] + public sealed class MCASDataConnectorDataTypesResponse + { + /// + /// Alerts data type connection. + /// + public readonly Outputs.DataConnectorDataTypeCommonResponse Alerts; + /// + /// Discovery log data type connection. + /// + public readonly Outputs.DataConnectorDataTypeCommonResponse? DiscoveryLogs; + + [OutputConstructor] + private MCASDataConnectorDataTypesResponse( + Outputs.DataConnectorDataTypeCommonResponse alerts, + + Outputs.DataConnectorDataTypeCommonResponse? discoveryLogs) + { + Alerts = alerts; + DiscoveryLogs = discoveryLogs; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MSTIDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MSTIDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..80d04aba507d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MSTIDataConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Microsoft Threat Intelligence Platforms data connector. + /// + [OutputType] + public sealed class MSTIDataConnectorDataTypesResponse + { + /// + /// Data type for Microsoft Threat Intelligence Platforms data connector. + /// + public readonly Outputs.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed MicrosoftEmergingThreatFeed; + + [OutputConstructor] + private MSTIDataConnectorDataTypesResponse(Outputs.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed microsoftEmergingThreatFeed) + { + MicrosoftEmergingThreatFeed = microsoftEmergingThreatFeed; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed.cs new file mode 100644 index 000000000000..1471410d318d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Data type for Microsoft Threat Intelligence Platforms data connector. + /// + [OutputType] + public sealed class MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed + { + /// + /// The lookback period for the feed to be imported. + /// + public readonly string LookbackPeriod; + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed( + string lookbackPeriod, + + string state) + { + LookbackPeriod = lookbackPeriod; + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..eb11416a572d --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Microsoft Threat Protection Platforms data connector. + /// + [OutputType] + public sealed class MTPDataConnectorDataTypesResponse + { + /// + /// Alerts data type for Microsoft Threat Protection Platforms data connector. + /// + public readonly Outputs.MTPDataConnectorDataTypesResponseAlerts? Alerts; + /// + /// Incidents data type for Microsoft Threat Protection Platforms data connector. + /// + public readonly Outputs.MTPDataConnectorDataTypesResponseIncidents Incidents; + + [OutputConstructor] + private MTPDataConnectorDataTypesResponse( + Outputs.MTPDataConnectorDataTypesResponseAlerts? alerts, + + Outputs.MTPDataConnectorDataTypesResponseIncidents incidents) + { + Alerts = alerts; + Incidents = incidents; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponseAlerts.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponseAlerts.cs new file mode 100644 index 000000000000..b3d7217e0d30 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponseAlerts.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Alerts data type for Microsoft Threat Protection Platforms data connector. + /// + [OutputType] + public sealed class MTPDataConnectorDataTypesResponseAlerts + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private MTPDataConnectorDataTypesResponseAlerts(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponseIncidents.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponseIncidents.cs new file mode 100644 index 000000000000..4bab4a8b9ea7 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MTPDataConnectorDataTypesResponseIncidents.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Incidents data type for Microsoft Threat Protection Platforms data connector. + /// + [OutputType] + public sealed class MTPDataConnectorDataTypesResponseIncidents + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private MTPDataConnectorDataTypesResponseIncidents(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataAuthorResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataAuthorResponse.cs new file mode 100644 index 000000000000..e19a05fe9671 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataAuthorResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Publisher or creator of the content item. + /// + [OutputType] + public sealed class MetadataAuthorResponse + { + /// + /// Email of author contact + /// + public readonly string? Email; + /// + /// Link for author/vendor page + /// + public readonly string? Link; + /// + /// Name of the author. Company or person. + /// + public readonly string? Name; + + [OutputConstructor] + private MetadataAuthorResponse( + string? email, + + string? link, + + string? name) + { + Email = email; + Link = link; + Name = name; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataCategoriesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataCategoriesResponse.cs new file mode 100644 index 000000000000..8ed12721bf88 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataCategoriesResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// ies for the solution content item + /// + [OutputType] + public sealed class MetadataCategoriesResponse + { + /// + /// domain for the solution content item + /// + public readonly ImmutableArray Domains; + /// + /// Industry verticals for the solution content item + /// + public readonly ImmutableArray Verticals; + + [OutputConstructor] + private MetadataCategoriesResponse( + ImmutableArray domains, + + ImmutableArray verticals) + { + Domains = domains; + Verticals = verticals; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataDependenciesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataDependenciesResponse.cs new file mode 100644 index 000000000000..050a946b73d3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataDependenciesResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + /// + [OutputType] + public sealed class MetadataDependenciesResponse + { + /// + /// Id of the content item we depend on + /// + public readonly string? ContentId; + /// + /// This is the list of dependencies we must fulfill, according to the AND/OR operator + /// + public readonly ImmutableArray Criteria; + /// + /// Type of the content item we depend on + /// + public readonly string? Kind; + /// + /// Name of the content item + /// + public readonly string? Name; + /// + /// Operator used for list of dependencies in criteria array. + /// + public readonly string? Operator; + /// + /// Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + /// + public readonly string? Version; + + [OutputConstructor] + private MetadataDependenciesResponse( + string? contentId, + + ImmutableArray criteria, + + string? kind, + + string? name, + + string? @operator, + + string? version) + { + ContentId = contentId; + Criteria = criteria; + Kind = kind; + Name = name; + Operator = @operator; + Version = version; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataSourceResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataSourceResponse.cs new file mode 100644 index 000000000000..95888c6b5f7b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataSourceResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The original source of the content item, where it comes from. + /// + [OutputType] + public sealed class MetadataSourceResponse + { + /// + /// Source type of the content + /// + public readonly string Kind; + /// + /// Name of the content source. The repo name, solution name, LA workspace name etc. + /// + public readonly string? Name; + /// + /// ID of the content source. The solution ID, workspace ID, etc + /// + public readonly string? SourceId; + + [OutputConstructor] + private MetadataSourceResponse( + string kind, + + string? name, + + string? sourceId) + { + Kind = kind; + Name = name; + SourceId = sourceId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataSupportResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataSupportResponse.cs new file mode 100644 index 000000000000..6b182f5fc6ec --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MetadataSupportResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Support information for the content item. + /// + [OutputType] + public sealed class MetadataSupportResponse + { + /// + /// Email of support contact + /// + public readonly string? Email; + /// + /// Link for support help, like to support page to open a ticket etc. + /// + public readonly string? Link; + /// + /// Name of the support contact. Company or person. + /// + public readonly string? Name; + /// + /// Type of support for content item + /// + public readonly string Tier; + + [OutputConstructor] + private MetadataSupportResponse( + string? email, + + string? link, + + string? name, + + string tier) + { + Email = email; + Link = link; + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MicrosoftPurviewInformationProtectionConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MicrosoftPurviewInformationProtectionConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..d085f09fcc47 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MicrosoftPurviewInformationProtectionConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Microsoft Purview Information Protection data connector. + /// + [OutputType] + public sealed class MicrosoftPurviewInformationProtectionConnectorDataTypesResponse + { + /// + /// Logs data type. + /// + public readonly Outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs Logs; + + [OutputConstructor] + private MicrosoftPurviewInformationProtectionConnectorDataTypesResponse(Outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs logs) + { + Logs = logs; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs.cs new file mode 100644 index 000000000000..b717fa89d251 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Logs data type. + /// + [OutputType] + public sealed class MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MtpFilteredProvidersResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MtpFilteredProvidersResponse.cs new file mode 100644 index 000000000000..e8bce05e31b7 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/MtpFilteredProvidersResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents the connector's Filtered providers + /// + [OutputType] + public sealed class MtpFilteredProvidersResponse + { + /// + /// Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. + /// + public readonly ImmutableArray Alerts; + + [OutputConstructor] + private MtpFilteredProvidersResponse(ImmutableArray alerts) + { + Alerts = alerts; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Office365ProjectConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Office365ProjectConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..0132b20f1698 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Office365ProjectConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Office Microsoft Project data connector. + /// + [OutputType] + public sealed class Office365ProjectConnectorDataTypesResponse + { + /// + /// Logs data type. + /// + public readonly Outputs.Office365ProjectConnectorDataTypesResponseLogs Logs; + + [OutputConstructor] + private Office365ProjectConnectorDataTypesResponse(Outputs.Office365ProjectConnectorDataTypesResponseLogs logs) + { + Logs = logs; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Office365ProjectConnectorDataTypesResponseLogs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Office365ProjectConnectorDataTypesResponseLogs.cs new file mode 100644 index 000000000000..6a625e0e0a99 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/Office365ProjectConnectorDataTypesResponseLogs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Logs data type. + /// + [OutputType] + public sealed class Office365ProjectConnectorDataTypesResponseLogs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private Office365ProjectConnectorDataTypesResponseLogs(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..6a87e4a145d3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for office data connector. + /// + [OutputType] + public sealed class OfficeDataConnectorDataTypesResponse + { + /// + /// Exchange data type connection. + /// + public readonly Outputs.OfficeDataConnectorDataTypesResponseExchange Exchange; + /// + /// SharePoint data type connection. + /// + public readonly Outputs.OfficeDataConnectorDataTypesResponseSharePoint SharePoint; + /// + /// Teams data type connection. + /// + public readonly Outputs.OfficeDataConnectorDataTypesResponseTeams Teams; + + [OutputConstructor] + private OfficeDataConnectorDataTypesResponse( + Outputs.OfficeDataConnectorDataTypesResponseExchange exchange, + + Outputs.OfficeDataConnectorDataTypesResponseSharePoint sharePoint, + + Outputs.OfficeDataConnectorDataTypesResponseTeams teams) + { + Exchange = exchange; + SharePoint = sharePoint; + Teams = teams; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseExchange.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseExchange.cs new file mode 100644 index 000000000000..baa3966b4403 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseExchange.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Exchange data type connection. + /// + [OutputType] + public sealed class OfficeDataConnectorDataTypesResponseExchange + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private OfficeDataConnectorDataTypesResponseExchange(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseSharePoint.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseSharePoint.cs new file mode 100644 index 000000000000..88142af26298 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseSharePoint.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// SharePoint data type connection. + /// + [OutputType] + public sealed class OfficeDataConnectorDataTypesResponseSharePoint + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private OfficeDataConnectorDataTypesResponseSharePoint(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseTeams.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseTeams.cs new file mode 100644 index 000000000000..cdd83d32be07 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficeDataConnectorDataTypesResponseTeams.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Teams data type connection. + /// + [OutputType] + public sealed class OfficeDataConnectorDataTypesResponseTeams + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private OfficeDataConnectorDataTypesResponseTeams(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficePowerBIConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficePowerBIConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..c90448dbf66b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficePowerBIConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Office Microsoft PowerBI data connector. + /// + [OutputType] + public sealed class OfficePowerBIConnectorDataTypesResponse + { + /// + /// Logs data type. + /// + public readonly Outputs.OfficePowerBIConnectorDataTypesResponseLogs Logs; + + [OutputConstructor] + private OfficePowerBIConnectorDataTypesResponse(Outputs.OfficePowerBIConnectorDataTypesResponseLogs logs) + { + Logs = logs; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficePowerBIConnectorDataTypesResponseLogs.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficePowerBIConnectorDataTypesResponseLogs.cs new file mode 100644 index 000000000000..3e80db28e828 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/OfficePowerBIConnectorDataTypesResponseLogs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Logs data type. + /// + [OutputType] + public sealed class OfficePowerBIConnectorDataTypesResponseLogs + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private OfficePowerBIConnectorDataTypesResponseLogs(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponse.cs new file mode 100644 index 000000000000..87e9aaa4fba0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Permissions required for the connector + /// + [OutputType] + public sealed class PermissionsResponse + { + /// + /// Customs permissions required for the connector + /// + public readonly ImmutableArray Customs; + /// + /// Resource provider permissions required for the connector + /// + public readonly ImmutableArray ResourceProvider; + + [OutputConstructor] + private PermissionsResponse( + ImmutableArray customs, + + ImmutableArray resourceProvider) + { + Customs = customs; + ResourceProvider = resourceProvider; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponseCustoms.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponseCustoms.cs new file mode 100644 index 000000000000..7e848f86c51c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponseCustoms.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class PermissionsResponseCustoms + { + /// + /// Customs permissions description + /// + public readonly string? Description; + /// + /// Customs permissions name + /// + public readonly string? Name; + + [OutputConstructor] + private PermissionsResponseCustoms( + string? description, + + string? name) + { + Description = description; + Name = name; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponseResourceProvider.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponseResourceProvider.cs new file mode 100644 index 000000000000..614f53aca319 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PermissionsResponseResourceProvider.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class PermissionsResponseResourceProvider + { + /// + /// Permission description text + /// + public readonly string? PermissionsDisplayText; + /// + /// Provider name + /// + public readonly string? Provider; + /// + /// Permission provider display name + /// + public readonly string? ProviderDisplayName; + /// + /// Required permissions for the connector + /// + public readonly Outputs.RequiredPermissionsResponse? RequiredPermissions; + /// + /// Permission provider scope + /// + public readonly string? Scope; + + [OutputConstructor] + private PermissionsResponseResourceProvider( + string? permissionsDisplayText, + + string? provider, + + string? providerDisplayName, + + Outputs.RequiredPermissionsResponse? requiredPermissions, + + string? scope) + { + PermissionsDisplayText = permissionsDisplayText; + Provider = provider; + ProviderDisplayName = providerDisplayName; + RequiredPermissions = requiredPermissions; + Scope = scope; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PlaybookActionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PlaybookActionPropertiesResponse.cs new file mode 100644 index 000000000000..d9aa91f8538f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PlaybookActionPropertiesResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + [OutputType] + public sealed class PlaybookActionPropertiesResponse + { + /// + /// The resource id of the playbook resource. + /// + public readonly string LogicAppResourceId; + /// + /// The tenant id of the playbook resource. + /// + public readonly string? TenantId; + + [OutputConstructor] + private PlaybookActionPropertiesResponse( + string logicAppResourceId, + + string? tenantId) + { + LogicAppResourceId = logicAppResourceId; + TenantId = tenantId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyArrayChangedConditionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyArrayChangedConditionPropertiesResponse.cs new file mode 100644 index 000000000000..068d0922e83a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyArrayChangedConditionPropertiesResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule condition that evaluates an array property's value change + /// + [OutputType] + public sealed class PropertyArrayChangedConditionPropertiesResponse + { + public readonly Outputs.AutomationRulePropertyArrayChangedValuesConditionResponse? ConditionProperties; + /// + /// + /// Expected value is 'PropertyArrayChanged'. + /// + public readonly string ConditionType; + + [OutputConstructor] + private PropertyArrayChangedConditionPropertiesResponse( + Outputs.AutomationRulePropertyArrayChangedValuesConditionResponse? conditionProperties, + + string conditionType) + { + ConditionProperties = conditionProperties; + ConditionType = conditionType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyArrayConditionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyArrayConditionPropertiesResponse.cs new file mode 100644 index 000000000000..720b881fd658 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyArrayConditionPropertiesResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule condition that evaluates an array property's value + /// + [OutputType] + public sealed class PropertyArrayConditionPropertiesResponse + { + public readonly Outputs.AutomationRulePropertyArrayValuesConditionResponse? ConditionProperties; + /// + /// + /// Expected value is 'PropertyArray'. + /// + public readonly string ConditionType; + + [OutputConstructor] + private PropertyArrayConditionPropertiesResponse( + Outputs.AutomationRulePropertyArrayValuesConditionResponse? conditionProperties, + + string conditionType) + { + ConditionProperties = conditionProperties; + ConditionType = conditionType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyChangedConditionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyChangedConditionPropertiesResponse.cs new file mode 100644 index 000000000000..0dd58bf705ca --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyChangedConditionPropertiesResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule condition that evaluates a property's value change + /// + [OutputType] + public sealed class PropertyChangedConditionPropertiesResponse + { + public readonly Outputs.AutomationRulePropertyValuesChangedConditionResponse? ConditionProperties; + /// + /// + /// Expected value is 'PropertyChanged'. + /// + public readonly string ConditionType; + + [OutputConstructor] + private PropertyChangedConditionPropertiesResponse( + Outputs.AutomationRulePropertyValuesChangedConditionResponse? conditionProperties, + + string conditionType) + { + ConditionProperties = conditionProperties; + ConditionType = conditionType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyConditionPropertiesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyConditionPropertiesResponse.cs new file mode 100644 index 000000000000..a96cb758f33a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/PropertyConditionPropertiesResponse.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an automation rule condition that evaluates a property's value + /// + [OutputType] + public sealed class PropertyConditionPropertiesResponse + { + public readonly Outputs.AutomationRulePropertyValuesConditionResponse? ConditionProperties; + /// + /// + /// Expected value is 'Property'. + /// + public readonly string ConditionType; + + [OutputConstructor] + private PropertyConditionPropertiesResponse( + Outputs.AutomationRulePropertyValuesConditionResponse? conditionProperties, + + string conditionType) + { + ConditionProperties = conditionProperties; + ConditionType = conditionType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/RepoResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/RepoResponse.cs new file mode 100644 index 000000000000..7504bf3d7ca3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/RepoResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents a repository. + /// + [OutputType] + public sealed class RepoResponse + { + /// + /// Array of branches. + /// + public readonly ImmutableArray Branches; + /// + /// The name of the repository. + /// + public readonly string? FullName; + /// + /// The url to access the repository. + /// + public readonly string? Url; + + [OutputConstructor] + private RepoResponse( + ImmutableArray branches, + + string? fullName, + + string? url) + { + Branches = branches; + FullName = fullName; + Url = url; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/RequiredPermissionsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/RequiredPermissionsResponse.cs new file mode 100644 index 000000000000..9a25faf1e2e8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/RequiredPermissionsResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Required permissions for the connector + /// + [OutputType] + public sealed class RequiredPermissionsResponse + { + /// + /// action permission + /// + public readonly bool? Action; + /// + /// delete permission + /// + public readonly bool? Delete; + /// + /// read permission + /// + public readonly bool? Read; + /// + /// write permission + /// + public readonly bool? Write; + + [OutputConstructor] + private RequiredPermissionsResponse( + bool? action, + + bool? delete, + + bool? read, + + bool? write) + { + Action = action; + Delete = delete; + Read = read; + Write = write; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ResourceProviderRequiredPermissionsResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ResourceProviderRequiredPermissionsResponse.cs new file mode 100644 index 000000000000..8819e821e7ed --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ResourceProviderRequiredPermissionsResponse.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Required permissions for the connector resource provider that define in ResourceProviders. + /// For more information about the permissions see <see href="https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#actions-format">here</see>. + /// + [OutputType] + public sealed class ResourceProviderRequiredPermissionsResponse + { + /// + /// Gets or sets a value indicating whether the permission is custom actions (POST). + /// + public readonly bool? Action; + /// + /// Gets or sets a value indicating whether the permission is delete action (DELETE). + /// + public readonly bool? Delete; + /// + /// Gets or sets a value indicating whether the permission is read action (GET). + /// + public readonly bool? Read; + /// + /// Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + /// + public readonly bool? Write; + + [OutputConstructor] + private ResourceProviderRequiredPermissionsResponse( + bool? action, + + bool? delete, + + bool? read, + + bool? write) + { + Action = action; + Delete = delete; + Read = read; + Write = write; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SampleQueryResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SampleQueryResponse.cs new file mode 100644 index 000000000000..d9224b91609c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SampleQueryResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The sample queries for the connector. + /// + [OutputType] + public sealed class SampleQueryResponse + { + /// + /// Gets or sets the sample query description. + /// + public readonly string Description; + /// + /// Gets or sets the KQL sample query. + /// + public readonly string Query; + + [OutputConstructor] + private SampleQueryResponse( + string description, + + string query) + { + Description = description; + Query = query; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SecurityAlertTimelineItemResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SecurityAlertTimelineItemResponse.cs new file mode 100644 index 000000000000..623c980029d4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SecurityAlertTimelineItemResponse.cs @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Represents security alert timeline item. + /// + [OutputType] + public sealed class SecurityAlertTimelineItemResponse + { + /// + /// The name of the alert type. + /// + public readonly string AlertType; + /// + /// The alert azure resource id. + /// + public readonly string AzureResourceId; + /// + /// The alert description. + /// + public readonly string? Description; + /// + /// The alert name. + /// + public readonly string DisplayName; + /// + /// The alert end time. + /// + public readonly string EndTimeUtc; + /// + /// The intent of the alert. + /// + public readonly string Intent; + /// + /// The entity query kind + /// Expected value is 'SecurityAlert'. + /// + public readonly string Kind; + /// + /// The alert product name. + /// + public readonly string? ProductName; + /// + /// The alert severity. + /// + public readonly string Severity; + /// + /// The alert start time. + /// + public readonly string StartTimeUtc; + /// + /// The techniques of the alert. + /// + public readonly ImmutableArray Techniques; + /// + /// The alert generated time. + /// + public readonly string TimeGenerated; + + [OutputConstructor] + private SecurityAlertTimelineItemResponse( + string alertType, + + string azureResourceId, + + string? description, + + string displayName, + + string endTimeUtc, + + string intent, + + string kind, + + string? productName, + + string severity, + + string startTimeUtc, + + ImmutableArray techniques, + + string timeGenerated) + { + AlertType = alertType; + AzureResourceId = azureResourceId; + Description = description; + DisplayName = displayName; + EndTimeUtc = endTimeUtc; + Intent = intent; + Kind = kind; + ProductName = productName; + Severity = severity; + StartTimeUtc = startTimeUtc; + Techniques = techniques; + TimeGenerated = timeGenerated; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SecurityMLAnalyticsSettingsDataSourceResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SecurityMLAnalyticsSettingsDataSourceResponse.cs new file mode 100644 index 000000000000..100cfe902052 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SecurityMLAnalyticsSettingsDataSourceResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// security ml analytics settings data sources + /// + [OutputType] + public sealed class SecurityMLAnalyticsSettingsDataSourceResponse + { + /// + /// The connector id that provides the following data types + /// + public readonly string? ConnectorId; + /// + /// The data types used by the security ml analytics settings + /// + public readonly ImmutableArray DataTypes; + + [OutputConstructor] + private SecurityMLAnalyticsSettingsDataSourceResponse( + string? connectorId, + + ImmutableArray dataTypes) + { + ConnectorId = connectorId; + DataTypes = dataTypes; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SentinelEntityMappingResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SentinelEntityMappingResponse.cs new file mode 100644 index 000000000000..b3013cafbbb0 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SentinelEntityMappingResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// A single sentinel entity mapping + /// + [OutputType] + public sealed class SentinelEntityMappingResponse + { + /// + /// the column name to be mapped to the SentinelEntities + /// + public readonly string? ColumnName; + + [OutputConstructor] + private SentinelEntityMappingResponse(string? columnName) + { + ColumnName = columnName; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..3a41c6b820ca --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TIDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TIDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..ccf0e45a7bb6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TIDataConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for TI (Threat Intelligence) data connector. + /// + [OutputType] + public sealed class TIDataConnectorDataTypesResponse + { + /// + /// Data type for indicators connection. + /// + public readonly Outputs.TIDataConnectorDataTypesResponseIndicators Indicators; + + [OutputConstructor] + private TIDataConnectorDataTypesResponse(Outputs.TIDataConnectorDataTypesResponseIndicators indicators) + { + Indicators = indicators; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TIDataConnectorDataTypesResponseIndicators.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TIDataConnectorDataTypesResponseIndicators.cs new file mode 100644 index 000000000000..ecdb86fdd65f --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TIDataConnectorDataTypesResponseIndicators.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Data type for indicators connection. + /// + [OutputType] + public sealed class TIDataConnectorDataTypesResponseIndicators + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private TIDataConnectorDataTypesResponseIndicators(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TeamInformationResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TeamInformationResponse.cs new file mode 100644 index 000000000000..7fb584ae5933 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TeamInformationResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes team information + /// + [OutputType] + public sealed class TeamInformationResponse + { + /// + /// The description of the team + /// + public readonly string Description; + /// + /// The name of the team + /// + public readonly string Name; + /// + /// The primary channel URL of the team + /// + public readonly string PrimaryChannelUrl; + /// + /// The time the team was created + /// + public readonly string TeamCreationTimeUtc; + /// + /// Team ID + /// + public readonly string TeamId; + + [OutputConstructor] + private TeamInformationResponse( + string description, + + string name, + + string primaryChannelUrl, + + string teamCreationTimeUtc, + + string teamId) + { + Description = description; + Name = name; + PrimaryChannelUrl = primaryChannelUrl; + TeamCreationTimeUtc = teamCreationTimeUtc; + TeamId = teamId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TiTaxiiDataConnectorDataTypesResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TiTaxiiDataConnectorDataTypesResponse.cs new file mode 100644 index 000000000000..699b6949ba55 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TiTaxiiDataConnectorDataTypesResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// The available data types for Threat Intelligence TAXII data connector. + /// + [OutputType] + public sealed class TiTaxiiDataConnectorDataTypesResponse + { + /// + /// Data type for TAXII connector. + /// + public readonly Outputs.TiTaxiiDataConnectorDataTypesResponseTaxiiClient TaxiiClient; + + [OutputConstructor] + private TiTaxiiDataConnectorDataTypesResponse(Outputs.TiTaxiiDataConnectorDataTypesResponseTaxiiClient taxiiClient) + { + TaxiiClient = taxiiClient; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TiTaxiiDataConnectorDataTypesResponseTaxiiClient.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TiTaxiiDataConnectorDataTypesResponseTaxiiClient.cs new file mode 100644 index 000000000000..234ebd1e4ed9 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TiTaxiiDataConnectorDataTypesResponseTaxiiClient.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Data type for TAXII connector. + /// + [OutputType] + public sealed class TiTaxiiDataConnectorDataTypesResponseTaxiiClient + { + /// + /// Describe whether this data type connection is enabled or not. + /// + public readonly string State; + + [OutputConstructor] + private TiTaxiiDataConnectorDataTypesResponseTaxiiClient(string state) + { + State = state; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineAggregationResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineAggregationResponse.cs new file mode 100644 index 000000000000..7b229191d556 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineAggregationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// timeline aggregation information per kind + /// + [OutputType] + public sealed class TimelineAggregationResponse + { + /// + /// the total items found for a kind + /// + public readonly int Count; + /// + /// the query kind + /// + public readonly string Kind; + + [OutputConstructor] + private TimelineAggregationResponse( + int count, + + string kind) + { + Count = count; + Kind = kind; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineErrorResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineErrorResponse.cs new file mode 100644 index 000000000000..f6a9c84a3344 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineErrorResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Timeline Query Errors. + /// + [OutputType] + public sealed class TimelineErrorResponse + { + /// + /// the error message + /// + public readonly string ErrorMessage; + /// + /// the query kind + /// + public readonly string Kind; + /// + /// the query id + /// + public readonly string? QueryId; + + [OutputConstructor] + private TimelineErrorResponse( + string errorMessage, + + string kind, + + string? queryId) + { + ErrorMessage = errorMessage; + Kind = kind; + QueryId = queryId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineResultsMetadataResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineResultsMetadataResponse.cs new file mode 100644 index 000000000000..119617494c8a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/TimelineResultsMetadataResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Expansion result metadata. + /// + [OutputType] + public sealed class TimelineResultsMetadataResponse + { + /// + /// timeline aggregation per kind + /// + public readonly ImmutableArray Aggregations; + /// + /// information about the failure queries + /// + public readonly ImmutableArray Errors; + /// + /// the total items found for the timeline request + /// + public readonly int TotalCount; + + [OutputConstructor] + private TimelineResultsMetadataResponse( + ImmutableArray aggregations, + + ImmutableArray errors, + + int totalCount) + { + Aggregations = aggregations; + Errors = errors; + TotalCount = totalCount; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/UserInfoResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/UserInfoResponse.cs new file mode 100644 index 000000000000..c1b8156d2b9a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/UserInfoResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// User information that made some action + /// + [OutputType] + public sealed class UserInfoResponse + { + /// + /// The email of the user. + /// + public readonly string Email; + /// + /// The name of the user. + /// + public readonly string Name; + /// + /// The object id of the user. + /// + public readonly string? ObjectId; + + [OutputConstructor] + private UserInfoResponse( + string email, + + string name, + + string? objectId) + { + Email = email; + Name = name; + ObjectId = objectId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ValidationErrorResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ValidationErrorResponse.cs new file mode 100644 index 000000000000..6582d476c2cf --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/ValidationErrorResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// Describes an error encountered in the file during validation. + /// + [OutputType] + public sealed class ValidationErrorResponse + { + /// + /// A list of descriptions of the error. + /// + public readonly ImmutableArray ErrorMessages; + /// + /// The number of the record that has the error. + /// + public readonly int? RecordIndex; + + [OutputConstructor] + private ValidationErrorResponse( + ImmutableArray errorMessages, + + int? recordIndex) + { + ErrorMessages = errorMessages; + RecordIndex = recordIndex; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/WatchlistUserInfoResponse.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/WatchlistUserInfoResponse.cs new file mode 100644 index 000000000000..bf8817e68108 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Outputs/WatchlistUserInfoResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview.Outputs +{ + + /// + /// User information that made some action + /// + [OutputType] + public sealed class WatchlistUserInfoResponse + { + /// + /// The email of the user. + /// + public readonly string Email; + /// + /// The name of the user. + /// + public readonly string Name; + /// + /// The object id of the user. + /// + public readonly string? ObjectId; + + [OutputConstructor] + private WatchlistUserInfoResponse( + string email, + + string name, + + string? objectId) + { + Email = email; + Name = name; + ObjectId = objectId; + } + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/README.md b/sdk/dotnet/SecurityInsights/V20230901Preview/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ScheduledAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ScheduledAlertRule.cs new file mode 100644 index 000000000000..277e88a167ca --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ScheduledAlertRule.cs @@ -0,0 +1,449 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents scheduled alert rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ScheduledAlertRule")] + public partial class ScheduledAlertRule : global::Pulumi.CustomResource + { + /// + /// The alert details override settings + /// + [Output("alertDetailsOverride")] + public Output AlertDetailsOverride { get; private set; } = null!; + + /// + /// The Name of the alert rule template used to create this rule. + /// + [Output("alertRuleTemplateName")] + public Output AlertRuleTemplateName { get; private set; } = null!; + + /// + /// Dictionary of string key-value pairs of columns to be attached to the alert + /// + [Output("customDetails")] + public Output?> CustomDetails { get; private set; } = null!; + + /// + /// The description of the alert rule. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for alerts created by this alert rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Array of the entity mappings of the alert rule + /// + [Output("entityMappings")] + public Output> EntityMappings { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The event grouping settings. + /// + [Output("eventGroupingSettings")] + public Output EventGroupingSettings { get; private set; } = null!; + + /// + /// The settings of the incidents that created from alerts triggered by this analytics rule + /// + [Output("incidentConfiguration")] + public Output IncidentConfiguration { get; private set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'Scheduled'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this alert rule has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The query that creates alerts for this rule. + /// + [Output("query")] + public Output Query { get; private set; } = null!; + + /// + /// The frequency (in ISO 8601 duration format) for this alert rule to run. + /// + [Output("queryFrequency")] + public Output QueryFrequency { get; private set; } = null!; + + /// + /// The period (in ISO 8601 duration format) that this alert rule looks at. + /// + [Output("queryPeriod")] + public Output QueryPeriod { get; private set; } = null!; + + /// + /// Array of the sentinel entity mappings of the alert rule + /// + [Output("sentinelEntitiesMappings")] + public Output> SentinelEntitiesMappings { get; private set; } = null!; + + /// + /// The severity for alerts created by this alert rule. + /// + [Output("severity")] + public Output Severity { get; private set; } = null!; + + /// + /// The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + /// + [Output("suppressionDuration")] + public Output SuppressionDuration { get; private set; } = null!; + + /// + /// Determines whether the suppression for this alert rule is enabled or disabled. + /// + [Output("suppressionEnabled")] + public Output SuppressionEnabled { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tactics of the alert rule + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// The techniques of the alert rule + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2> + /// + [Output("templateVersion")] + public Output TemplateVersion { get; private set; } = null!; + + /// + /// The operation against the threshold that triggers alert rule. + /// + [Output("triggerOperator")] + public Output TriggerOperator { get; private set; } = null!; + + /// + /// The threshold triggers this alert rule. + /// + [Output("triggerThreshold")] + public Output TriggerThreshold { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ScheduledAlertRule 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 ScheduledAlertRule(string name, ScheduledAlertRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ScheduledAlertRule", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ScheduledAlertRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ScheduledAlertRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static ScheduledAlertRuleArgs MakeArgs(ScheduledAlertRuleArgs args) + { + args ??= new ScheduledAlertRuleArgs(); + args.Kind = "Scheduled"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ScheduledAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ScheduledAlertRule"}, + }, + }; + 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 ScheduledAlertRule 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. + /// A bag of options that control this resource's behavior + public static ScheduledAlertRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ScheduledAlertRule(name, id, options); + } + } + + public sealed class ScheduledAlertRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The alert details override settings + /// + [Input("alertDetailsOverride")] + public Input? AlertDetailsOverride { get; set; } + + /// + /// The Name of the alert rule template used to create this rule. + /// + [Input("alertRuleTemplateName")] + public Input? AlertRuleTemplateName { get; set; } + + [Input("customDetails")] + private InputMap? _customDetails; + + /// + /// Dictionary of string key-value pairs of columns to be attached to the alert + /// + public InputMap CustomDetails + { + get => _customDetails ?? (_customDetails = new InputMap()); + set => _customDetails = value; + } + + /// + /// The description of the alert rule. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name for alerts created by this alert rule. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + [Input("entityMappings")] + private InputList? _entityMappings; + + /// + /// Array of the entity mappings of the alert rule + /// + public InputList EntityMappings + { + get => _entityMappings ?? (_entityMappings = new InputList()); + set => _entityMappings = value; + } + + /// + /// The event grouping settings. + /// + [Input("eventGroupingSettings")] + public Input? EventGroupingSettings { get; set; } + + /// + /// The settings of the incidents that created from alerts triggered by this analytics rule + /// + [Input("incidentConfiguration")] + public Input? IncidentConfiguration { get; set; } + + /// + /// The kind of the alert rule + /// Expected value is 'Scheduled'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The query that creates alerts for this rule. + /// + [Input("query", required: true)] + public Input Query { get; set; } = null!; + + /// + /// The frequency (in ISO 8601 duration format) for this alert rule to run. + /// + [Input("queryFrequency", required: true)] + public Input QueryFrequency { get; set; } = null!; + + /// + /// The period (in ISO 8601 duration format) that this alert rule looks at. + /// + [Input("queryPeriod", required: true)] + public Input QueryPeriod { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + [Input("sentinelEntitiesMappings")] + private InputList? _sentinelEntitiesMappings; + + /// + /// Array of the sentinel entity mappings of the alert rule + /// + public InputList SentinelEntitiesMappings + { + get => _sentinelEntitiesMappings ?? (_sentinelEntitiesMappings = new InputList()); + set => _sentinelEntitiesMappings = value; + } + + /// + /// The severity for alerts created by this alert rule. + /// + [Input("severity", required: true)] + public InputUnion Severity { get; set; } = null!; + + /// + /// The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + /// + [Input("suppressionDuration", required: true)] + public Input SuppressionDuration { get; set; } = null!; + + /// + /// Determines whether the suppression for this alert rule is enabled or disabled. + /// + [Input("suppressionEnabled", required: true)] + public Input SuppressionEnabled { get; set; } = null!; + + [Input("tactics")] + private InputList>? _tactics; + + /// + /// The tactics of the alert rule + /// + public InputList> Tactics + { + get => _tactics ?? (_tactics = new InputList>()); + set => _tactics = value; + } + + [Input("techniques")] + private InputList? _techniques; + + /// + /// The techniques of the alert rule + /// + public InputList Techniques + { + get => _techniques ?? (_techniques = new InputList()); + set => _techniques = value; + } + + /// + /// The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2> + /// + [Input("templateVersion")] + public Input? TemplateVersion { get; set; } + + /// + /// The operation against the threshold that triggers alert rule. + /// + [Input("triggerOperator", required: true)] + public Input TriggerOperator { get; set; } = null!; + + /// + /// The threshold triggers this alert rule. + /// + [Input("triggerThreshold", required: true)] + public Input TriggerThreshold { get; set; } = null!; + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ScheduledAlertRuleArgs() + { + } + public static new ScheduledAlertRuleArgs Empty => new ScheduledAlertRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/SentinelOnboardingState.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/SentinelOnboardingState.cs new file mode 100644 index 000000000000..69069637ccab --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/SentinelOnboardingState.cs @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Sentinel onboarding state + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:SentinelOnboardingState")] + public partial class SentinelOnboardingState : global::Pulumi.CustomResource + { + /// + /// Flag that indicates the status of the CMK setting + /// + [Output("customerManagedKey")] + public Output CustomerManagedKey { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SentinelOnboardingState 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 SentinelOnboardingState(string name, SentinelOnboardingStateArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:SentinelOnboardingState", name, args ?? new SentinelOnboardingStateArgs(), MakeResourceOptions(options, "")) + { + } + + private SentinelOnboardingState(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:SentinelOnboardingState", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:SentinelOnboardingState"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:SentinelOnboardingState"}, + }, + }; + 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 SentinelOnboardingState 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. + /// A bag of options that control this resource's behavior + public static SentinelOnboardingState Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SentinelOnboardingState(name, id, options); + } + } + + public sealed class SentinelOnboardingStateArgs : global::Pulumi.ResourceArgs + { + /// + /// Flag that indicates the status of the CMK setting + /// + [Input("customerManagedKey")] + public Input? CustomerManagedKey { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The Sentinel onboarding state name. Supports - default + /// + [Input("sentinelOnboardingStateName")] + public Input? SentinelOnboardingStateName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public SentinelOnboardingStateArgs() + { + } + public static new SentinelOnboardingStateArgs Empty => new SentinelOnboardingStateArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/TIDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/TIDataConnector.cs new file mode 100644 index 000000000000..3709d940998c --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/TIDataConnector.cs @@ -0,0 +1,197 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents threat intelligence data connector. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:TIDataConnector")] + public partial class TIDataConnector : global::Pulumi.CustomResource + { + /// + /// The available data types for the connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'ThreatIntelligence'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The lookback period for the feed to be imported. + /// + [Output("tipLookbackPeriod")] + public Output TipLookbackPeriod { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a TIDataConnector 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 TIDataConnector(string name, TIDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:TIDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private TIDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:TIDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static TIDataConnectorArgs MakeArgs(TIDataConnectorArgs args) + { + args ??= new TIDataConnectorArgs(); + args.Kind = "ThreatIntelligence"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TIDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TIDataConnector"}, + }, + }; + 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 TIDataConnector 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. + /// A bag of options that control this resource's behavior + public static TIDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new TIDataConnector(name, id, options); + } + } + + public sealed class TIDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for the connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'ThreatIntelligence'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The lookback period for the feed to be imported. + /// + [Input("tipLookbackPeriod")] + public Input? TipLookbackPeriod { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public TIDataConnectorArgs() + { + } + public static new TIDataConnectorArgs Empty => new TIDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ThreatIntelligenceAlertRule.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ThreatIntelligenceAlertRule.cs new file mode 100644 index 000000000000..08a71d5390d6 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ThreatIntelligenceAlertRule.cs @@ -0,0 +1,221 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents Threat Intelligence alert rule. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule")] + public partial class ThreatIntelligenceAlertRule : global::Pulumi.CustomResource + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Output("alertRuleTemplateName")] + public Output AlertRuleTemplateName { get; private set; } = null!; + + /// + /// The description of the alert rule. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name for alerts created by this alert rule. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'ThreatIntelligence'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The last time that this alert has been modified. + /// + [Output("lastModifiedUtc")] + public Output LastModifiedUtc { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The severity for alerts created by this alert rule. + /// + [Output("severity")] + public Output Severity { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tactics of the alert rule + /// + [Output("tactics")] + public Output> Tactics { get; private set; } = null!; + + /// + /// The techniques of the alert rule + /// + [Output("techniques")] + public Output> Techniques { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ThreatIntelligenceAlertRule 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 ThreatIntelligenceAlertRule(string name, ThreatIntelligenceAlertRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ThreatIntelligenceAlertRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static ThreatIntelligenceAlertRuleArgs MakeArgs(ThreatIntelligenceAlertRuleArgs args) + { + args ??= new ThreatIntelligenceAlertRuleArgs(); + args.Kind = "ThreatIntelligence"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"}, + }, + }; + 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 ThreatIntelligenceAlertRule 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. + /// A bag of options that control this resource's behavior + public static ThreatIntelligenceAlertRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ThreatIntelligenceAlertRule(name, id, options); + } + } + + public sealed class ThreatIntelligenceAlertRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The Name of the alert rule template used to create this rule. + /// + [Input("alertRuleTemplateName", required: true)] + public Input AlertRuleTemplateName { get; set; } = null!; + + /// + /// Determines whether this alert rule is enabled or disabled. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The kind of the alert rule + /// Expected value is 'ThreatIntelligence'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Alert rule ID + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ThreatIntelligenceAlertRuleArgs() + { + } + public static new ThreatIntelligenceAlertRuleArgs Empty => new ThreatIntelligenceAlertRuleArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/ThreatIntelligenceIndicator.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/ThreatIntelligenceIndicator.cs new file mode 100644 index 000000000000..e5ab5ad1b5e9 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/ThreatIntelligenceIndicator.cs @@ -0,0 +1,381 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Threat intelligence information object. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")] + public partial class ThreatIntelligenceIndicator : global::Pulumi.CustomResource + { + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the entity. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a ThreatIntelligenceIndicator 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 ThreatIntelligenceIndicator(string name, ThreatIntelligenceIndicatorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private ThreatIntelligenceIndicator(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator", name, null, MakeResourceOptions(options, id)) + { + } + + private static ThreatIntelligenceIndicatorArgs MakeArgs(ThreatIntelligenceIndicatorArgs args) + { + args ??= new ThreatIntelligenceIndicatorArgs(); + args.Kind = "indicator"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"}, + }, + }; + 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 ThreatIntelligenceIndicator 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. + /// A bag of options that control this resource's behavior + public static ThreatIntelligenceIndicator Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ThreatIntelligenceIndicator(name, id, options); + } + } + + public sealed class ThreatIntelligenceIndicatorArgs : global::Pulumi.ResourceArgs + { + /// + /// Confidence of threat intelligence entity + /// + [Input("confidence")] + public Input? Confidence { get; set; } + + /// + /// Created by + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// Created by reference of threat intelligence entity + /// + [Input("createdByRef")] + public Input? CreatedByRef { get; set; } + + /// + /// Is threat intelligence entity defanged + /// + [Input("defanged")] + public Input? Defanged { get; set; } + + /// + /// Description of a threat intelligence entity + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Display name of a threat intelligence entity + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// Extensions map + /// + [Input("extensions")] + public Input? Extensions { get; set; } + + /// + /// External ID of threat intelligence entity + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// External last updated time in UTC + /// + [Input("externalLastUpdatedTimeUtc")] + public Input? ExternalLastUpdatedTimeUtc { get; set; } + + [Input("externalReferences")] + private InputList? _externalReferences; + + /// + /// External References + /// + public InputList ExternalReferences + { + get => _externalReferences ?? (_externalReferences = new InputList()); + set => _externalReferences = value; + } + + [Input("granularMarkings")] + private InputList? _granularMarkings; + + /// + /// Granular Markings + /// + public InputList GranularMarkings + { + get => _granularMarkings ?? (_granularMarkings = new InputList()); + set => _granularMarkings = value; + } + + [Input("indicatorTypes")] + private InputList? _indicatorTypes; + + /// + /// Indicator types of threat intelligence entities + /// + public InputList IndicatorTypes + { + get => _indicatorTypes ?? (_indicatorTypes = new InputList()); + set => _indicatorTypes = value; + } + + [Input("killChainPhases")] + private InputList? _killChainPhases; + + /// + /// Kill chain phases + /// + public InputList KillChainPhases + { + get => _killChainPhases ?? (_killChainPhases = new InputList()); + set => _killChainPhases = value; + } + + /// + /// The kind of the threat intelligence entity + /// Expected value is 'indicator'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + [Input("labels")] + private InputList? _labels; + + /// + /// Labels of threat intelligence entity + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// Language of threat intelligence entity + /// + [Input("language")] + public Input? Language { get; set; } + + /// + /// Last updated time in UTC + /// + [Input("lastUpdatedTimeUtc")] + public Input? LastUpdatedTimeUtc { get; set; } + + /// + /// Modified by + /// + [Input("modified")] + public Input? Modified { get; set; } + + /// + /// Threat intelligence indicator name field. + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("objectMarkingRefs")] + private InputList? _objectMarkingRefs; + + /// + /// Threat intelligence entity object marking references + /// + public InputList ObjectMarkingRefs + { + get => _objectMarkingRefs ?? (_objectMarkingRefs = new InputList()); + set => _objectMarkingRefs = value; + } + + [Input("parsedPattern")] + private InputList? _parsedPattern; + + /// + /// Parsed patterns + /// + public InputList ParsedPattern + { + get => _parsedPattern ?? (_parsedPattern = new InputList()); + set => _parsedPattern = value; + } + + /// + /// Pattern of a threat intelligence entity + /// + [Input("pattern")] + public Input? Pattern { get; set; } + + /// + /// Pattern type of a threat intelligence entity + /// + [Input("patternType")] + public Input? PatternType { get; set; } + + /// + /// Pattern version of a threat intelligence entity + /// + [Input("patternVersion")] + public Input? PatternVersion { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Is threat intelligence entity revoked + /// + [Input("revoked")] + public Input? Revoked { get; set; } + + /// + /// Source of a threat intelligence entity + /// + [Input("source")] + public Input? Source { get; set; } + + [Input("threatIntelligenceTags")] + private InputList? _threatIntelligenceTags; + + /// + /// List of tags + /// + public InputList ThreatIntelligenceTags + { + get => _threatIntelligenceTags ?? (_threatIntelligenceTags = new InputList()); + set => _threatIntelligenceTags = value; + } + + [Input("threatTypes")] + private InputList? _threatTypes; + + /// + /// Threat types + /// + public InputList ThreatTypes + { + get => _threatTypes ?? (_threatTypes = new InputList()); + set => _threatTypes = value; + } + + /// + /// Valid from + /// + [Input("validFrom")] + public Input? ValidFrom { get; set; } + + /// + /// Valid until + /// + [Input("validUntil")] + public Input? ValidUntil { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public ThreatIntelligenceIndicatorArgs() + { + } + public static new ThreatIntelligenceIndicatorArgs Empty => new ThreatIntelligenceIndicatorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/TiTaxiiDataConnector.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/TiTaxiiDataConnector.cs new file mode 100644 index 000000000000..27f6a9289bc1 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/TiTaxiiDataConnector.cs @@ -0,0 +1,281 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector")] + public partial class TiTaxiiDataConnector : global::Pulumi.CustomResource + { + /// + /// The collection id of the TAXII server. + /// + [Output("collectionId")] + public Output CollectionId { get; private set; } = null!; + + /// + /// The available data types for Threat Intelligence TAXII data connector. + /// + [Output("dataTypes")] + public Output DataTypes { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The friendly name for the TAXII server. + /// + [Output("friendlyName")] + public Output FriendlyName { get; private set; } = null!; + + /// + /// The kind of the data connector + /// Expected value is 'ThreatIntelligenceTaxii'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The password for the TAXII server. + /// + [Output("password")] + public Output Password { get; private set; } = null!; + + /// + /// The polling frequency for the TAXII server. + /// + [Output("pollingFrequency")] + public Output PollingFrequency { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The lookback period for the TAXII server. + /// + [Output("taxiiLookbackPeriod")] + public Output TaxiiLookbackPeriod { get; private set; } = null!; + + /// + /// The API root for the TAXII server. + /// + [Output("taxiiServer")] + public Output TaxiiServer { get; private set; } = null!; + + /// + /// The tenant id to connect to, and get the data from. + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The userName for the TAXII server. + /// + [Output("userName")] + public Output UserName { get; private set; } = null!; + + /// + /// The workspace id. + /// + [Output("workspaceId")] + public Output WorkspaceId { get; private set; } = null!; + + + /// + /// Create a TiTaxiiDataConnector 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 TiTaxiiDataConnector(string name, TiTaxiiDataConnectorArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private TiTaxiiDataConnector(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector", name, null, MakeResourceOptions(options, id)) + { + } + + private static TiTaxiiDataConnectorArgs MakeArgs(TiTaxiiDataConnectorArgs args) + { + args ??= new TiTaxiiDataConnectorArgs(); + args.Kind = "ThreatIntelligenceTaxii"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20200101:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"}, + }, + }; + 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 TiTaxiiDataConnector 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. + /// A bag of options that control this resource's behavior + public static TiTaxiiDataConnector Get(string name, Input id, CustomResourceOptions? options = null) + { + return new TiTaxiiDataConnector(name, id, options); + } + } + + public sealed class TiTaxiiDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// The collection id of the TAXII server. + /// + [Input("collectionId")] + public Input? CollectionId { get; set; } + + /// + /// Connector ID + /// + [Input("dataConnectorId")] + public Input? DataConnectorId { get; set; } + + /// + /// The available data types for Threat Intelligence TAXII data connector. + /// + [Input("dataTypes", required: true)] + public Input DataTypes { get; set; } = null!; + + /// + /// The friendly name for the TAXII server. + /// + [Input("friendlyName")] + public Input? FriendlyName { get; set; } + + /// + /// The kind of the data connector + /// Expected value is 'ThreatIntelligenceTaxii'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The password for the TAXII server. + /// + [Input("password")] + public Input? Password { get; set; } + + /// + /// The polling frequency for the TAXII server. + /// + [Input("pollingFrequency", required: true)] + public InputUnion PollingFrequency { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The lookback period for the TAXII server. + /// + [Input("taxiiLookbackPeriod")] + public Input? TaxiiLookbackPeriod { get; set; } + + /// + /// The API root for the TAXII server. + /// + [Input("taxiiServer")] + public Input? TaxiiServer { get; set; } + + /// + /// The tenant id to connect to, and get the data from. + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// The userName for the TAXII server. + /// + [Input("userName")] + public Input? UserName { get; set; } + + /// + /// The workspace id. + /// + [Input("workspaceId")] + public Input? WorkspaceId { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public TiTaxiiDataConnectorArgs() + { + } + public static new TiTaxiiDataConnectorArgs Empty => new TiTaxiiDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Ueba.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Ueba.cs new file mode 100644 index 000000000000..827a7bdcfd94 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Ueba.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Settings with single toggle. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Ueba")] + public partial class Ueba : global::Pulumi.CustomResource + { + /// + /// The relevant data sources that enriched by ueba + /// + [Output("dataSources")] + public Output> DataSources { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The kind of the setting + /// Expected value is 'Ueba'. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Ueba 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 Ueba(string name, UebaArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Ueba", name, MakeArgs(args), MakeResourceOptions(options, "")) + { + } + + private Ueba(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Ueba", name, null, MakeResourceOptions(options, id)) + { + } + + private static UebaArgs MakeArgs(UebaArgs args) + { + args ??= new UebaArgs(); + args.Kind = "Ueba"; + return args; + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Ueba"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Ueba"}, + }, + }; + 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 Ueba 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. + /// A bag of options that control this resource's behavior + public static Ueba Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Ueba(name, id, options); + } + } + + public sealed class UebaArgs : global::Pulumi.ResourceArgs + { + [Input("dataSources")] + private InputList>? _dataSources; + + /// + /// The relevant data sources that enriched by ueba + /// + public InputList> DataSources + { + get => _dataSources ?? (_dataSources = new InputList>()); + set => _dataSources = value; + } + + /// + /// The kind of the setting + /// Expected value is 'Ueba'. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + /// + [Input("settingsName")] + public Input? SettingsName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public UebaArgs() + { + } + public static new UebaArgs Empty => new UebaArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/Watchlist.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/Watchlist.cs new file mode 100644 index 000000000000..ff88fa9683c7 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/Watchlist.cs @@ -0,0 +1,392 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a Watchlist in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:Watchlist")] + public partial class Watchlist : global::Pulumi.CustomResource + { + /// + /// The content type of the raw content. Example : text/csv or text/tsv + /// + [Output("contentType")] + public Output ContentType { get; private set; } = null!; + + /// + /// The time the watchlist was created + /// + [Output("created")] + public Output Created { get; private set; } = null!; + + /// + /// Describes a user that created the watchlist + /// + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// The default duration of a watchlist (in ISO 8601 duration format) + /// + [Output("defaultDuration")] + public Output DefaultDuration { get; private set; } = null!; + + /// + /// A description of the watchlist + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name of the watchlist + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// A flag that indicates if the watchlist is deleted or not + /// + [Output("isDeleted")] + public Output IsDeleted { get; private set; } = null!; + + /// + /// The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + /// + [Output("itemsSearchKey")] + public Output ItemsSearchKey { get; private set; } = null!; + + /// + /// List of labels relevant to this watchlist + /// + [Output("labels")] + public Output> Labels { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The number of lines in a csv/tsv content to skip before the header + /// + [Output("numberOfLinesToSkip")] + public Output NumberOfLinesToSkip { get; private set; } = null!; + + /// + /// The provider of the watchlist + /// + [Output("provider")] + public Output Provider { get; private set; } = null!; + + /// + /// The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + /// + [Output("rawContent")] + public Output RawContent { get; private set; } = null!; + + /// + /// The filename of the watchlist, called 'source' + /// + [Output("source")] + public Output Source { get; private set; } = null!; + + /// + /// The sourceType of the watchlist + /// + [Output("sourceType")] + public Output SourceType { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenantId where the watchlist belongs to + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The last time the watchlist was updated + /// + [Output("updated")] + public Output Updated { get; private set; } = null!; + + /// + /// Describes a user that updated the watchlist + /// + [Output("updatedBy")] + public Output UpdatedBy { get; private set; } = null!; + + /// + /// The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + /// + [Output("uploadStatus")] + public Output UploadStatus { get; private set; } = null!; + + /// + /// The alias of the watchlist + /// + [Output("watchlistAlias")] + public Output WatchlistAlias { get; private set; } = null!; + + /// + /// The id (a Guid) of the watchlist + /// + [Output("watchlistId")] + public Output WatchlistId { get; private set; } = null!; + + /// + /// The type of the watchlist + /// + [Output("watchlistType")] + public Output WatchlistType { get; private set; } = null!; + + + /// + /// Create a Watchlist 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 Watchlist(string name, WatchlistArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Watchlist", name, args ?? new WatchlistArgs(), MakeResourceOptions(options, "")) + { + } + + private Watchlist(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:Watchlist", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210401:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + }, + }; + 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 Watchlist 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. + /// A bag of options that control this resource's behavior + public static Watchlist Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Watchlist(name, id, options); + } + } + + public sealed class WatchlistArgs : global::Pulumi.ResourceArgs + { + /// + /// The content type of the raw content. Example : text/csv or text/tsv + /// + [Input("contentType")] + public Input? ContentType { get; set; } + + /// + /// The time the watchlist was created + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// Describes a user that created the watchlist + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// The default duration of a watchlist (in ISO 8601 duration format) + /// + [Input("defaultDuration")] + public Input? DefaultDuration { get; set; } + + /// + /// A description of the watchlist + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name of the watchlist + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// A flag that indicates if the watchlist is deleted or not + /// + [Input("isDeleted")] + public Input? IsDeleted { get; set; } + + /// + /// The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + /// + [Input("itemsSearchKey", required: true)] + public Input ItemsSearchKey { get; set; } = null!; + + [Input("labels")] + private InputList? _labels; + + /// + /// List of labels relevant to this watchlist + /// + public InputList Labels + { + get => _labels ?? (_labels = new InputList()); + set => _labels = value; + } + + /// + /// The number of lines in a csv/tsv content to skip before the header + /// + [Input("numberOfLinesToSkip")] + public Input? NumberOfLinesToSkip { get; set; } + + /// + /// The provider of the watchlist + /// + [Input("provider", required: true)] + public Input Provider { get; set; } = null!; + + /// + /// The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + /// + [Input("rawContent")] + public Input? RawContent { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The filename of the watchlist, called 'source' + /// + [Input("source")] + public Input? Source { get; set; } + + /// + /// The sourceType of the watchlist + /// + [Input("sourceType")] + public InputUnion? SourceType { get; set; } + + /// + /// The tenantId where the watchlist belongs to + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// The last time the watchlist was updated + /// + [Input("updated")] + public Input? Updated { get; set; } + + /// + /// Describes a user that updated the watchlist + /// + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + /// + /// The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + /// + [Input("uploadStatus")] + public Input? UploadStatus { get; set; } + + /// + /// The alias of the watchlist + /// + [Input("watchlistAlias")] + public Input? WatchlistAlias { get; set; } + + /// + /// The id (a Guid) of the watchlist + /// + [Input("watchlistId")] + public Input? WatchlistId { get; set; } + + /// + /// The type of the watchlist + /// + [Input("watchlistType")] + public Input? WatchlistType { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public WatchlistArgs() + { + } + public static new WatchlistArgs Empty => new WatchlistArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/WatchlistItem.cs new file mode 100644 index 000000000000..73fc42d3b3ae --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/WatchlistItem.cs @@ -0,0 +1,260 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// Represents a Watchlist item in Azure Security Insights. + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:WatchlistItem")] + public partial class WatchlistItem : global::Pulumi.CustomResource + { + /// + /// The time the watchlist item was created + /// + [Output("created")] + public Output Created { get; private set; } = null!; + + /// + /// Describes a user that created the watchlist item + /// + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// key-value pairs for a watchlist item entity mapping + /// + [Output("entityMapping")] + public Output EntityMapping { get; private set; } = null!; + + /// + /// Etag of the azure resource + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// A flag that indicates if the watchlist item is deleted or not + /// + [Output("isDeleted")] + public Output IsDeleted { get; private set; } = null!; + + /// + /// key-value pairs for a watchlist item + /// + [Output("itemsKeyValue")] + public Output ItemsKeyValue { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The tenantId to which the watchlist item belongs to + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// The last time the watchlist item was updated + /// + [Output("updated")] + public Output Updated { get; private set; } = null!; + + /// + /// Describes a user that updated the watchlist item + /// + [Output("updatedBy")] + public Output UpdatedBy { get; private set; } = null!; + + /// + /// The id (a Guid) of the watchlist item + /// + [Output("watchlistItemId")] + public Output WatchlistItemId { get; private set; } = null!; + + /// + /// The type of the watchlist item + /// + [Output("watchlistItemType")] + public Output WatchlistItemType { get; private set; } = null!; + + + /// + /// Create a WatchlistItem 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 WatchlistItem(string name, WatchlistItemArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WatchlistItem", name, args ?? new WatchlistItemArgs(), MakeResourceOptions(options, "")) + { + } + + private WatchlistItem(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WatchlistItem", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20190101preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210301preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210401:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20210901preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20211001preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220101preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220401preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220501preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220601preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220701preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220801preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20220901preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221001preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221101preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20221201preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230201preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230301preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WatchlistItem"}, + }, + }; + 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 WatchlistItem 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. + /// A bag of options that control this resource's behavior + public static WatchlistItem Get(string name, Input id, CustomResourceOptions? options = null) + { + return new WatchlistItem(name, id, options); + } + } + + public sealed class WatchlistItemArgs : global::Pulumi.ResourceArgs + { + /// + /// The time the watchlist item was created + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// Describes a user that created the watchlist item + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// key-value pairs for a watchlist item entity mapping + /// + [Input("entityMapping")] + public Input? EntityMapping { get; set; } + + /// + /// A flag that indicates if the watchlist item is deleted or not + /// + [Input("isDeleted")] + public Input? IsDeleted { get; set; } + + /// + /// key-value pairs for a watchlist item + /// + [Input("itemsKeyValue", required: true)] + public Input ItemsKeyValue { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The tenantId to which the watchlist item belongs to + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// The last time the watchlist item was updated + /// + [Input("updated")] + public Input? Updated { get; set; } + + /// + /// Describes a user that updated the watchlist item + /// + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + /// + /// Watchlist Alias + /// + [Input("watchlistAlias", required: true)] + public Input WatchlistAlias { get; set; } = null!; + + /// + /// The id (a Guid) of the watchlist item + /// + [Input("watchlistItemId")] + public Input? WatchlistItemId { get; set; } + + /// + /// The type of the watchlist item + /// + [Input("watchlistItemType")] + public Input? WatchlistItemType { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public WatchlistItemArgs() + { + } + public static new WatchlistItemArgs Empty => new WatchlistItemArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerAssignment.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerAssignment.cs new file mode 100644 index 000000000000..eabdcfa970a4 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerAssignment.cs @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// The workspace manager assignment + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment")] + public partial class WorkspaceManagerAssignment : global::Pulumi.CustomResource + { + /// + /// Resource Etag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// List of resources included in this workspace manager assignment + /// + [Output("items")] + public Output> Items { get; private set; } = null!; + + /// + /// The time the last job associated to this assignment ended at + /// + [Output("lastJobEndTime")] + public Output LastJobEndTime { get; private set; } = null!; + + /// + /// State of the last job associated to this assignment + /// + [Output("lastJobProvisioningState")] + public Output LastJobProvisioningState { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The resource name of the workspace manager group targeted by the workspace manager assignment + /// + [Output("targetResourceName")] + public Output TargetResourceName { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a WorkspaceManagerAssignment 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 WorkspaceManagerAssignment(string name, WorkspaceManagerAssignmentArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment", name, args ?? new WorkspaceManagerAssignmentArgs(), MakeResourceOptions(options, "")) + { + } + + private WorkspaceManagerAssignment(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"}, + }, + }; + 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 WorkspaceManagerAssignment 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. + /// A bag of options that control this resource's behavior + public static WorkspaceManagerAssignment Get(string name, Input id, CustomResourceOptions? options = null) + { + return new WorkspaceManagerAssignment(name, id, options); + } + } + + public sealed class WorkspaceManagerAssignmentArgs : global::Pulumi.ResourceArgs + { + [Input("items", required: true)] + private InputList? _items; + + /// + /// List of resources included in this workspace manager assignment + /// + public InputList Items + { + get => _items ?? (_items = new InputList()); + set => _items = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The resource name of the workspace manager group targeted by the workspace manager assignment + /// + [Input("targetResourceName", required: true)] + public Input TargetResourceName { get; set; } = null!; + + /// + /// The name of the workspace manager assignment + /// + [Input("workspaceManagerAssignmentName")] + public Input? WorkspaceManagerAssignmentName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public WorkspaceManagerAssignmentArgs() + { + } + public static new WorkspaceManagerAssignmentArgs Empty => new WorkspaceManagerAssignmentArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerConfiguration.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerConfiguration.cs new file mode 100644 index 000000000000..116ac68485a8 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerConfiguration.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// The workspace manager configuration + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration")] + public partial class WorkspaceManagerConfiguration : global::Pulumi.CustomResource + { + /// + /// Resource Etag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The current mode of the workspace manager configuration + /// + [Output("mode")] + public Output Mode { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a WorkspaceManagerConfiguration 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 WorkspaceManagerConfiguration(string name, WorkspaceManagerConfigurationArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration", name, args ?? new WorkspaceManagerConfigurationArgs(), MakeResourceOptions(options, "")) + { + } + + private WorkspaceManagerConfiguration(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"}, + }, + }; + 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 WorkspaceManagerConfiguration 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. + /// A bag of options that control this resource's behavior + public static WorkspaceManagerConfiguration Get(string name, Input id, CustomResourceOptions? options = null) + { + return new WorkspaceManagerConfiguration(name, id, options); + } + } + + public sealed class WorkspaceManagerConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The current mode of the workspace manager configuration + /// + [Input("mode", required: true)] + public InputUnion Mode { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager configuration + /// + [Input("workspaceManagerConfigurationName")] + public Input? WorkspaceManagerConfigurationName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public WorkspaceManagerConfigurationArgs() + { + } + public static new WorkspaceManagerConfigurationArgs Empty => new WorkspaceManagerConfigurationArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerGroup.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerGroup.cs new file mode 100644 index 000000000000..dff950a0c00a --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerGroup.cs @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// The workspace manager group + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup")] + public partial class WorkspaceManagerGroup : global::Pulumi.CustomResource + { + /// + /// The description of the workspace manager group + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name of the workspace manager group + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Resource Etag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The names of the workspace manager members participating in this group. + /// + [Output("memberResourceNames")] + public Output> MemberResourceNames { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a WorkspaceManagerGroup 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 WorkspaceManagerGroup(string name, WorkspaceManagerGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup", name, args ?? new WorkspaceManagerGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private WorkspaceManagerGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"}, + }, + }; + 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 WorkspaceManagerGroup 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. + /// A bag of options that control this resource's behavior + public static WorkspaceManagerGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new WorkspaceManagerGroup(name, id, options); + } + } + + public sealed class WorkspaceManagerGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the workspace manager group + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name of the workspace manager group + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [Input("memberResourceNames", required: true)] + private InputList? _memberResourceNames; + + /// + /// The names of the workspace manager members participating in this group. + /// + public InputList MemberResourceNames + { + get => _memberResourceNames ?? (_memberResourceNames = new InputList()); + set => _memberResourceNames = value; + } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the workspace manager group + /// + [Input("workspaceManagerGroupName")] + public Input? WorkspaceManagerGroupName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public WorkspaceManagerGroupArgs() + { + } + public static new WorkspaceManagerGroupArgs Empty => new WorkspaceManagerGroupArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerMember.cs new file mode 100644 index 000000000000..0d10244e69b3 --- /dev/null +++ b/sdk/dotnet/SecurityInsights/V20230901Preview/WorkspaceManagerMember.cs @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.SecurityInsights.V20230901Preview +{ + /// + /// The workspace manager member + /// + [AzureNativeResourceType("azure-native:securityinsights/v20230901preview:WorkspaceManagerMember")] + public partial class WorkspaceManagerMember : global::Pulumi.CustomResource + { + /// + /// Resource Etag. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + /// + [Output("targetWorkspaceResourceId")] + public Output TargetWorkspaceResourceId { get; private set; } = null!; + + /// + /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + /// + [Output("targetWorkspaceTenantId")] + public Output TargetWorkspaceTenantId { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a WorkspaceManagerMember 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 WorkspaceManagerMember(string name, WorkspaceManagerMemberArgs args, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerMember", name, args ?? new WorkspaceManagerMemberArgs(), MakeResourceOptions(options, "")) + { + } + + private WorkspaceManagerMember(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:securityinsights/v20230901preview:WorkspaceManagerMember", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:securityinsights:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"}, + }, + }; + 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 WorkspaceManagerMember 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. + /// A bag of options that control this resource's behavior + public static WorkspaceManagerMember Get(string name, Input id, CustomResourceOptions? options = null) + { + return new WorkspaceManagerMember(name, id, options); + } + } + + public sealed class WorkspaceManagerMemberArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + /// + [Input("targetWorkspaceResourceId", required: true)] + public Input TargetWorkspaceResourceId { get; set; } = null!; + + /// + /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + /// + [Input("targetWorkspaceTenantId", required: true)] + public Input TargetWorkspaceTenantId { get; set; } = null!; + + /// + /// The name of the workspace manager member + /// + [Input("workspaceManagerMemberName")] + public Input? WorkspaceManagerMemberName { get; set; } + + /// + /// The name of the workspace. + /// + [Input("workspaceName", required: true)] + public Input WorkspaceName { get; set; } = null!; + + public WorkspaceManagerMemberArgs() + { + } + public static new WorkspaceManagerMemberArgs Empty => new WorkspaceManagerMemberArgs(); + } +} diff --git a/sdk/dotnet/SecurityInsights/Watchlist.cs b/sdk/dotnet/SecurityInsights/Watchlist.cs index f9611120a18c..2bd80a5e578f 100644 --- a/sdk/dotnet/SecurityInsights/Watchlist.cs +++ b/sdk/dotnet/SecurityInsights/Watchlist.cs @@ -213,6 +213,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:Watchlist"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:Watchlist"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:Watchlist"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/WatchlistItem.cs b/sdk/dotnet/SecurityInsights/WatchlistItem.cs index afb5f4260c22..c0948a60c306 100644 --- a/sdk/dotnet/SecurityInsights/WatchlistItem.cs +++ b/sdk/dotnet/SecurityInsights/WatchlistItem.cs @@ -151,6 +151,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WatchlistItem"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WatchlistItem"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WatchlistItem"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/WorkspaceManagerAssignment.cs b/sdk/dotnet/SecurityInsights/WorkspaceManagerAssignment.cs index 1deb144bff5b..61b0abf25a7d 100644 --- a/sdk/dotnet/SecurityInsights/WorkspaceManagerAssignment.cs +++ b/sdk/dotnet/SecurityInsights/WorkspaceManagerAssignment.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/WorkspaceManagerConfiguration.cs b/sdk/dotnet/SecurityInsights/WorkspaceManagerConfiguration.cs index 6f1b2f408fa9..25d50bff848d 100644 --- a/sdk/dotnet/SecurityInsights/WorkspaceManagerConfiguration.cs +++ b/sdk/dotnet/SecurityInsights/WorkspaceManagerConfiguration.cs @@ -76,6 +76,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/WorkspaceManagerGroup.cs b/sdk/dotnet/SecurityInsights/WorkspaceManagerGroup.cs index 63f6a0aad90f..79db177294e0 100644 --- a/sdk/dotnet/SecurityInsights/WorkspaceManagerGroup.cs +++ b/sdk/dotnet/SecurityInsights/WorkspaceManagerGroup.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/SecurityInsights/WorkspaceManagerMember.cs b/sdk/dotnet/SecurityInsights/WorkspaceManagerMember.cs index 3e6d314a0dce..afdb6bf723b9 100644 --- a/sdk/dotnet/SecurityInsights/WorkspaceManagerMember.cs +++ b/sdk/dotnet/SecurityInsights/WorkspaceManagerMember.cs @@ -37,8 +37,8 @@ public partial class WorkspaceManagerMember : global::Pulumi.CustomResource /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Output("targetWorkspaceId")] - public Output TargetWorkspaceId { get; private set; } = null!; + [Output("targetWorkspaceResourceId")] + public Output TargetWorkspaceResourceId { get; private set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager @@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"}, new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"}, + new global::Pulumi.Alias { Type = "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -114,8 +115,8 @@ public sealed class WorkspaceManagerMemberArgs : global::Pulumi.ResourceArgs /// /// Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager /// - [Input("targetWorkspaceId", required: true)] - public Input TargetWorkspaceId { get; set; } = null!; + [Input("targetWorkspaceResourceId", required: true)] + public Input TargetWorkspaceResourceId { get; set; } = null!; /// /// Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager diff --git a/sdk/dotnet/StorageActions/Enums.cs b/sdk/dotnet/StorageActions/Enums.cs new file mode 100644 index 000000000000..3650e95964b3 --- /dev/null +++ b/sdk/dotnet/StorageActions/Enums.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.StorageActions +{ + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned,UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action to be taken when the operation fails for a object. + /// + [EnumType] + public readonly struct OnFailure : IEquatable + { + private readonly string _value; + + private OnFailure(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static OnFailure @Break { get; } = new OnFailure("break"); + + public static bool operator ==(OnFailure left, OnFailure right) => left.Equals(right); + public static bool operator !=(OnFailure left, OnFailure right) => !left.Equals(right); + + public static explicit operator string(OnFailure value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OnFailure other && Equals(other); + public bool Equals(OnFailure other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action to be taken when the operation is successful for a object. + /// + [EnumType] + public readonly struct OnSuccess : IEquatable + { + private readonly string _value; + + private OnSuccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static OnSuccess @Continue { get; } = new OnSuccess("continue"); + + public static bool operator ==(OnSuccess left, OnSuccess right) => left.Equals(right); + public static bool operator !=(OnSuccess left, OnSuccess right) => !left.Equals(right); + + public static explicit operator string(OnSuccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OnSuccess other && Equals(other); + public bool Equals(OnSuccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The operation to be performed on the object. + /// + [EnumType] + public readonly struct StorageTaskOperationName : IEquatable + { + private readonly string _value; + + private StorageTaskOperationName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StorageTaskOperationName SetBlobTier { get; } = new StorageTaskOperationName("SetBlobTier"); + public static StorageTaskOperationName SetBlobTags { get; } = new StorageTaskOperationName("SetBlobTags"); + public static StorageTaskOperationName SetBlobImmutabilityPolicy { get; } = new StorageTaskOperationName("SetBlobImmutabilityPolicy"); + public static StorageTaskOperationName SetBlobLegalHold { get; } = new StorageTaskOperationName("SetBlobLegalHold"); + public static StorageTaskOperationName SetBlobExpiry { get; } = new StorageTaskOperationName("SetBlobExpiry"); + public static StorageTaskOperationName DeleteBlob { get; } = new StorageTaskOperationName("DeleteBlob"); + public static StorageTaskOperationName UndeleteBlob { get; } = new StorageTaskOperationName("UndeleteBlob"); + + public static bool operator ==(StorageTaskOperationName left, StorageTaskOperationName right) => left.Equals(right); + public static bool operator !=(StorageTaskOperationName left, StorageTaskOperationName right) => !left.Equals(right); + + public static explicit operator string(StorageTaskOperationName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StorageTaskOperationName other && Equals(other); + public bool Equals(StorageTaskOperationName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/StorageActions/GetStorageTask.cs b/sdk/dotnet/StorageActions/GetStorageTask.cs new file mode 100644 index 000000000000..cd2a02bd8a26 --- /dev/null +++ b/sdk/dotnet/StorageActions/GetStorageTask.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions +{ + public static class GetStorageTask + { + /// + /// Get the storage task properties + /// Azure REST API version: 2023-01-01. + /// + public static Task InvokeAsync(GetStorageTaskArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:storageactions:getStorageTask", args ?? new GetStorageTaskArgs(), options.WithDefaults()); + + /// + /// Get the storage task properties + /// Azure REST API version: 2023-01-01. + /// + public static Output Invoke(GetStorageTaskInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:storageactions:getStorageTask", args ?? new GetStorageTaskInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetStorageTaskArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + /// + [Input("storageTaskName", required: true)] + public string StorageTaskName { get; set; } = null!; + + public GetStorageTaskArgs() + { + } + public static new GetStorageTaskArgs Empty => new GetStorageTaskArgs(); + } + + public sealed class GetStorageTaskInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + /// + [Input("storageTaskName", required: true)] + public Input StorageTaskName { get; set; } = null!; + + public GetStorageTaskInvokeArgs() + { + } + public static new GetStorageTaskInvokeArgs Empty => new GetStorageTaskInvokeArgs(); + } + + + [OutputType] + public sealed class GetStorageTaskResult + { + /// + /// The storage task action that is executed + /// + public readonly Outputs.StorageTaskActionResponse Action; + /// + /// The creation date and time of the storage task in UTC. + /// + public readonly string CreationTimeInUtc; + /// + /// Text that describes the purpose of the storage task + /// + public readonly string Description; + /// + /// Storage Task is enabled when set to true and disabled when set to false + /// + public readonly bool Enabled; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The managed service identity of the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Represents the provisioning state of the storage task. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Storage task version. + /// + public readonly double TaskVersion; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetStorageTaskResult( + Outputs.StorageTaskActionResponse action, + + string creationTimeInUtc, + + string description, + + bool enabled, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string location, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + double taskVersion, + + string type) + { + Action = action; + CreationTimeInUtc = creationTimeInUtc; + Description = description; + Enabled = enabled; + Id = id; + Identity = identity; + Location = location; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + TaskVersion = taskVersion; + Type = type; + } + } +} diff --git a/sdk/dotnet/StorageActions/Inputs/ElseConditionArgs.cs b/sdk/dotnet/StorageActions/Inputs/ElseConditionArgs.cs new file mode 100644 index 000000000000..092e7a49d08e --- /dev/null +++ b/sdk/dotnet/StorageActions/Inputs/ElseConditionArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Inputs +{ + + /// + /// The else block of storage task operation + /// + public sealed class ElseConditionArgs : global::Pulumi.ResourceArgs + { + [Input("operations", required: true)] + private InputList? _operations; + + /// + /// List of operations to execute in the else block + /// + public InputList Operations + { + get => _operations ?? (_operations = new InputList()); + set => _operations = value; + } + + public ElseConditionArgs() + { + } + public static new ElseConditionArgs Empty => new ElseConditionArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/Inputs/IfConditionArgs.cs b/sdk/dotnet/StorageActions/Inputs/IfConditionArgs.cs new file mode 100644 index 000000000000..f2a0f4753297 --- /dev/null +++ b/sdk/dotnet/StorageActions/Inputs/IfConditionArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Inputs +{ + + /// + /// The if block of storage task operation + /// + public sealed class IfConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The condition predicate which is composed of object properties, eg: blob and container properties. + /// + [Input("condition", required: true)] + public Input Condition { get; set; } = null!; + + [Input("operations", required: true)] + private InputList? _operations; + + /// + /// List of operations to execute when the condition predicate satisfies. + /// + public InputList Operations + { + get => _operations ?? (_operations = new InputList()); + set => _operations = value; + } + + public IfConditionArgs() + { + } + public static new IfConditionArgs Empty => new IfConditionArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/StorageActions/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..3daf492a5b9a --- /dev/null +++ b/sdk/dotnet/StorageActions/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Inputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/Inputs/StorageTaskActionArgs.cs b/sdk/dotnet/StorageActions/Inputs/StorageTaskActionArgs.cs new file mode 100644 index 000000000000..9b931f6a7d1c --- /dev/null +++ b/sdk/dotnet/StorageActions/Inputs/StorageTaskActionArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Inputs +{ + + /// + /// The storage task action represents conditional statements and operations to be performed on target objects. + /// + public sealed class StorageTaskActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The else block of storage task operation + /// + [Input("else")] + public Input? Else { get; set; } + + /// + /// The if block of storage task operation + /// + [Input("if", required: true)] + public Input If { get; set; } = null!; + + public StorageTaskActionArgs() + { + } + public static new StorageTaskActionArgs Empty => new StorageTaskActionArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/Inputs/StorageTaskOperationArgs.cs b/sdk/dotnet/StorageActions/Inputs/StorageTaskOperationArgs.cs new file mode 100644 index 000000000000..1888eee1c8cb --- /dev/null +++ b/sdk/dotnet/StorageActions/Inputs/StorageTaskOperationArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Inputs +{ + + /// + /// Represents an operation to be performed on the object + /// + public sealed class StorageTaskOperationArgs : global::Pulumi.ResourceArgs + { + /// + /// The operation to be performed on the object. + /// + [Input("name", required: true)] + public InputUnion Name { get; set; } = null!; + + /// + /// Action to be taken when the operation fails for a object. + /// + [Input("onFailure")] + public Input? OnFailure { get; set; } + + /// + /// Action to be taken when the operation is successful for a object. + /// + [Input("onSuccess")] + public Input? OnSuccess { get; set; } + + [Input("parameters")] + private InputMap? _parameters; + + /// + /// Key-value parameters for the operation. + /// + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } + + public StorageTaskOperationArgs() + { + } + public static new StorageTaskOperationArgs Empty => new StorageTaskOperationArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/ElseConditionResponse.cs b/sdk/dotnet/StorageActions/Outputs/ElseConditionResponse.cs new file mode 100644 index 000000000000..916457e88cfb --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/ElseConditionResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// The else block of storage task operation + /// + [OutputType] + public sealed class ElseConditionResponse + { + /// + /// List of operations to execute in the else block + /// + public readonly ImmutableArray Operations; + + [OutputConstructor] + private ElseConditionResponse(ImmutableArray operations) + { + Operations = operations; + } + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/IfConditionResponse.cs b/sdk/dotnet/StorageActions/Outputs/IfConditionResponse.cs new file mode 100644 index 000000000000..d6da413342d7 --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/IfConditionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// The if block of storage task operation + /// + [OutputType] + public sealed class IfConditionResponse + { + /// + /// The condition predicate which is composed of object properties, eg: blob and container properties. + /// + public readonly string Condition; + /// + /// List of operations to execute when the condition predicate satisfies. + /// + public readonly ImmutableArray Operations; + + [OutputConstructor] + private IfConditionResponse( + string condition, + + ImmutableArray operations) + { + Condition = condition; + Operations = operations; + } + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/StorageActions/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..ef23bd29a32c --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + public readonly string Type; + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/StorageTaskActionResponse.cs b/sdk/dotnet/StorageActions/Outputs/StorageTaskActionResponse.cs new file mode 100644 index 000000000000..fcaeec837d79 --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/StorageTaskActionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// The storage task action represents conditional statements and operations to be performed on target objects. + /// + [OutputType] + public sealed class StorageTaskActionResponse + { + /// + /// The else block of storage task operation + /// + public readonly Outputs.ElseConditionResponse? Else; + /// + /// The if block of storage task operation + /// + public readonly Outputs.IfConditionResponse If; + + [OutputConstructor] + private StorageTaskActionResponse( + Outputs.ElseConditionResponse? @else, + + Outputs.IfConditionResponse @if) + { + Else = @else; + If = @if; + } + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/StorageTaskOperationResponse.cs b/sdk/dotnet/StorageActions/Outputs/StorageTaskOperationResponse.cs new file mode 100644 index 000000000000..97051144eae4 --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/StorageTaskOperationResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// Represents an operation to be performed on the object + /// + [OutputType] + public sealed class StorageTaskOperationResponse + { + /// + /// The operation to be performed on the object. + /// + public readonly string Name; + /// + /// Action to be taken when the operation fails for a object. + /// + public readonly string? OnFailure; + /// + /// Action to be taken when the operation is successful for a object. + /// + public readonly string? OnSuccess; + /// + /// Key-value parameters for the operation. + /// + public readonly ImmutableDictionary? Parameters; + + [OutputConstructor] + private StorageTaskOperationResponse( + string name, + + string? onFailure, + + string? onSuccess, + + ImmutableDictionary? parameters) + { + Name = name; + OnFailure = onFailure; + OnSuccess = onSuccess; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/SystemDataResponse.cs b/sdk/dotnet/StorageActions/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..5287f40e3969 --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/StorageActions/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/StorageActions/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..623aa805d5ed --- /dev/null +++ b/sdk/dotnet/StorageActions/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/StorageActions/README.md b/sdk/dotnet/StorageActions/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/StorageActions/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/StorageActions/StorageTask.cs b/sdk/dotnet/StorageActions/StorageTask.cs new file mode 100644 index 000000000000..01a5af94b914 --- /dev/null +++ b/sdk/dotnet/StorageActions/StorageTask.cs @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions +{ + /// + /// Represents Storage Task. + /// Azure REST API version: 2023-01-01. + /// + [AzureNativeResourceType("azure-native:storageactions:StorageTask")] + public partial class StorageTask : global::Pulumi.CustomResource + { + /// + /// The storage task action that is executed + /// + [Output("action")] + public Output Action { get; private set; } = null!; + + /// + /// The creation date and time of the storage task in UTC. + /// + [Output("creationTimeInUtc")] + public Output CreationTimeInUtc { get; private set; } = null!; + + /// + /// Text that describes the purpose of the storage task + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Storage Task is enabled when set to true and disabled when set to false + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// The managed service identity of the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Represents the provisioning state of the storage task. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Storage task version. + /// + [Output("taskVersion")] + public Output TaskVersion { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a StorageTask 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 StorageTask(string name, StorageTaskArgs args, CustomResourceOptions? options = null) + : base("azure-native:storageactions:StorageTask", name, args ?? new StorageTaskArgs(), MakeResourceOptions(options, "")) + { + } + + private StorageTask(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:storageactions:StorageTask", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:storageactions/v20230101:StorageTask"}, + }, + }; + 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 StorageTask 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. + /// A bag of options that control this resource's behavior + public static StorageTask Get(string name, Input id, CustomResourceOptions? options = null) + { + return new StorageTask(name, id, options); + } + } + + public sealed class StorageTaskArgs : global::Pulumi.ResourceArgs + { + /// + /// The storage task action that is executed + /// + [Input("action", required: true)] + public Input Action { get; set; } = null!; + + /// + /// Text that describes the purpose of the storage task + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Storage Task is enabled when set to true and disabled when set to false + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The managed service identity of the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + /// + [Input("storageTaskName")] + public Input? StorageTaskName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public StorageTaskArgs() + { + } + public static new StorageTaskArgs Empty => new StorageTaskArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Enums.cs b/sdk/dotnet/StorageActions/V20230101/Enums.cs new file mode 100644 index 000000000000..3b87c5b4cdc1 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Enums.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.StorageActions.V20230101 +{ + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned,UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action to be taken when the operation fails for a object. + /// + [EnumType] + public readonly struct OnFailure : IEquatable + { + private readonly string _value; + + private OnFailure(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static OnFailure @Break { get; } = new OnFailure("break"); + + public static bool operator ==(OnFailure left, OnFailure right) => left.Equals(right); + public static bool operator !=(OnFailure left, OnFailure right) => !left.Equals(right); + + public static explicit operator string(OnFailure value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OnFailure other && Equals(other); + public bool Equals(OnFailure other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Action to be taken when the operation is successful for a object. + /// + [EnumType] + public readonly struct OnSuccess : IEquatable + { + private readonly string _value; + + private OnSuccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static OnSuccess @Continue { get; } = new OnSuccess("continue"); + + public static bool operator ==(OnSuccess left, OnSuccess right) => left.Equals(right); + public static bool operator !=(OnSuccess left, OnSuccess right) => !left.Equals(right); + + public static explicit operator string(OnSuccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OnSuccess other && Equals(other); + public bool Equals(OnSuccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The operation to be performed on the object. + /// + [EnumType] + public readonly struct StorageTaskOperationName : IEquatable + { + private readonly string _value; + + private StorageTaskOperationName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static StorageTaskOperationName SetBlobTier { get; } = new StorageTaskOperationName("SetBlobTier"); + public static StorageTaskOperationName SetBlobTags { get; } = new StorageTaskOperationName("SetBlobTags"); + public static StorageTaskOperationName SetBlobImmutabilityPolicy { get; } = new StorageTaskOperationName("SetBlobImmutabilityPolicy"); + public static StorageTaskOperationName SetBlobLegalHold { get; } = new StorageTaskOperationName("SetBlobLegalHold"); + public static StorageTaskOperationName SetBlobExpiry { get; } = new StorageTaskOperationName("SetBlobExpiry"); + public static StorageTaskOperationName DeleteBlob { get; } = new StorageTaskOperationName("DeleteBlob"); + public static StorageTaskOperationName UndeleteBlob { get; } = new StorageTaskOperationName("UndeleteBlob"); + + public static bool operator ==(StorageTaskOperationName left, StorageTaskOperationName right) => left.Equals(right); + public static bool operator !=(StorageTaskOperationName left, StorageTaskOperationName right) => !left.Equals(right); + + public static explicit operator string(StorageTaskOperationName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is StorageTaskOperationName other && Equals(other); + public bool Equals(StorageTaskOperationName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/GetStorageTask.cs b/sdk/dotnet/StorageActions/V20230101/GetStorageTask.cs new file mode 100644 index 000000000000..bc7751d83dab --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/GetStorageTask.cs @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101 +{ + public static class GetStorageTask + { + /// + /// Get the storage task properties + /// + public static Task InvokeAsync(GetStorageTaskArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:storageactions/v20230101:getStorageTask", args ?? new GetStorageTaskArgs(), options.WithDefaults()); + + /// + /// Get the storage task properties + /// + public static Output Invoke(GetStorageTaskInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:storageactions/v20230101:getStorageTask", args ?? new GetStorageTaskInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetStorageTaskArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + /// + [Input("storageTaskName", required: true)] + public string StorageTaskName { get; set; } = null!; + + public GetStorageTaskArgs() + { + } + public static new GetStorageTaskArgs Empty => new GetStorageTaskArgs(); + } + + public sealed class GetStorageTaskInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + /// + [Input("storageTaskName", required: true)] + public Input StorageTaskName { get; set; } = null!; + + public GetStorageTaskInvokeArgs() + { + } + public static new GetStorageTaskInvokeArgs Empty => new GetStorageTaskInvokeArgs(); + } + + + [OutputType] + public sealed class GetStorageTaskResult + { + /// + /// The storage task action that is executed + /// + public readonly Outputs.StorageTaskActionResponse Action; + /// + /// The creation date and time of the storage task in UTC. + /// + public readonly string CreationTimeInUtc; + /// + /// Text that describes the purpose of the storage task + /// + public readonly string Description; + /// + /// Storage Task is enabled when set to true and disabled when set to false + /// + public readonly bool Enabled; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The managed service identity of the resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Represents the provisioning state of the storage task. + /// + public readonly string ProvisioningState; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// Storage task version. + /// + public readonly double TaskVersion; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetStorageTaskResult( + Outputs.StorageTaskActionResponse action, + + string creationTimeInUtc, + + string description, + + bool enabled, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + string location, + + string name, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + double taskVersion, + + string type) + { + Action = action; + CreationTimeInUtc = creationTimeInUtc; + Description = description; + Enabled = enabled; + Id = id; + Identity = identity; + Location = location; + Name = name; + ProvisioningState = provisioningState; + SystemData = systemData; + Tags = tags; + TaskVersion = taskVersion; + Type = type; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Inputs/ElseConditionArgs.cs b/sdk/dotnet/StorageActions/V20230101/Inputs/ElseConditionArgs.cs new file mode 100644 index 000000000000..3a8206589f2d --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Inputs/ElseConditionArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Inputs +{ + + /// + /// The else block of storage task operation + /// + public sealed class ElseConditionArgs : global::Pulumi.ResourceArgs + { + [Input("operations", required: true)] + private InputList? _operations; + + /// + /// List of operations to execute in the else block + /// + public InputList Operations + { + get => _operations ?? (_operations = new InputList()); + set => _operations = value; + } + + public ElseConditionArgs() + { + } + public static new ElseConditionArgs Empty => new ElseConditionArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Inputs/IfConditionArgs.cs b/sdk/dotnet/StorageActions/V20230101/Inputs/IfConditionArgs.cs new file mode 100644 index 000000000000..ffa8bf408732 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Inputs/IfConditionArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Inputs +{ + + /// + /// The if block of storage task operation + /// + public sealed class IfConditionArgs : global::Pulumi.ResourceArgs + { + /// + /// The condition predicate which is composed of object properties, eg: blob and container properties. + /// + [Input("condition", required: true)] + public Input Condition { get; set; } = null!; + + [Input("operations", required: true)] + private InputList? _operations; + + /// + /// List of operations to execute when the condition predicate satisfies. + /// + public InputList Operations + { + get => _operations ?? (_operations = new InputList()); + set => _operations = value; + } + + public IfConditionArgs() + { + } + public static new IfConditionArgs Empty => new IfConditionArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/StorageActions/V20230101/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..f16297cf6724 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Inputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Inputs/StorageTaskActionArgs.cs b/sdk/dotnet/StorageActions/V20230101/Inputs/StorageTaskActionArgs.cs new file mode 100644 index 000000000000..70d376a790a1 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Inputs/StorageTaskActionArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Inputs +{ + + /// + /// The storage task action represents conditional statements and operations to be performed on target objects. + /// + public sealed class StorageTaskActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The else block of storage task operation + /// + [Input("else")] + public Input? Else { get; set; } + + /// + /// The if block of storage task operation + /// + [Input("if", required: true)] + public Input If { get; set; } = null!; + + public StorageTaskActionArgs() + { + } + public static new StorageTaskActionArgs Empty => new StorageTaskActionArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Inputs/StorageTaskOperationArgs.cs b/sdk/dotnet/StorageActions/V20230101/Inputs/StorageTaskOperationArgs.cs new file mode 100644 index 000000000000..c05494eecd06 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Inputs/StorageTaskOperationArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Inputs +{ + + /// + /// Represents an operation to be performed on the object + /// + public sealed class StorageTaskOperationArgs : global::Pulumi.ResourceArgs + { + /// + /// The operation to be performed on the object. + /// + [Input("name", required: true)] + public InputUnion Name { get; set; } = null!; + + /// + /// Action to be taken when the operation fails for a object. + /// + [Input("onFailure")] + public Input? OnFailure { get; set; } + + /// + /// Action to be taken when the operation is successful for a object. + /// + [Input("onSuccess")] + public Input? OnSuccess { get; set; } + + [Input("parameters")] + private InputMap? _parameters; + + /// + /// Key-value parameters for the operation. + /// + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } + + public StorageTaskOperationArgs() + { + } + public static new StorageTaskOperationArgs Empty => new StorageTaskOperationArgs(); + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/ElseConditionResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/ElseConditionResponse.cs new file mode 100644 index 000000000000..36feacbe2980 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/ElseConditionResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// The else block of storage task operation + /// + [OutputType] + public sealed class ElseConditionResponse + { + /// + /// List of operations to execute in the else block + /// + public readonly ImmutableArray Operations; + + [OutputConstructor] + private ElseConditionResponse(ImmutableArray operations) + { + Operations = operations; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/IfConditionResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/IfConditionResponse.cs new file mode 100644 index 000000000000..2139dd655d76 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/IfConditionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// The if block of storage task operation + /// + [OutputType] + public sealed class IfConditionResponse + { + /// + /// The condition predicate which is composed of object properties, eg: blob and container properties. + /// + public readonly string Condition; + /// + /// List of operations to execute when the condition predicate satisfies. + /// + public readonly ImmutableArray Operations; + + [OutputConstructor] + private IfConditionResponse( + string condition, + + ImmutableArray operations) + { + Condition = condition; + Operations = operations; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..30071cc889c9 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + public readonly string Type; + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/StorageTaskActionResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/StorageTaskActionResponse.cs new file mode 100644 index 000000000000..a541163faa85 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/StorageTaskActionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// The storage task action represents conditional statements and operations to be performed on target objects. + /// + [OutputType] + public sealed class StorageTaskActionResponse + { + /// + /// The else block of storage task operation + /// + public readonly Outputs.ElseConditionResponse? Else; + /// + /// The if block of storage task operation + /// + public readonly Outputs.IfConditionResponse If; + + [OutputConstructor] + private StorageTaskActionResponse( + Outputs.ElseConditionResponse? @else, + + Outputs.IfConditionResponse @if) + { + Else = @else; + If = @if; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/StorageTaskOperationResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/StorageTaskOperationResponse.cs new file mode 100644 index 000000000000..c5b7e79425a1 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/StorageTaskOperationResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// Represents an operation to be performed on the object + /// + [OutputType] + public sealed class StorageTaskOperationResponse + { + /// + /// The operation to be performed on the object. + /// + public readonly string Name; + /// + /// Action to be taken when the operation fails for a object. + /// + public readonly string? OnFailure; + /// + /// Action to be taken when the operation is successful for a object. + /// + public readonly string? OnSuccess; + /// + /// Key-value parameters for the operation. + /// + public readonly ImmutableDictionary? Parameters; + + [OutputConstructor] + private StorageTaskOperationResponse( + string name, + + string? onFailure, + + string? onSuccess, + + ImmutableDictionary? parameters) + { + Name = name; + OnFailure = onFailure; + OnSuccess = onSuccess; + Parameters = parameters; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/SystemDataResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..2e6cd8290a01 --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/StorageActions/V20230101/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..cfe652daedff --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/StorageActions/V20230101/README.md b/sdk/dotnet/StorageActions/V20230101/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/StorageActions/V20230101/StorageTask.cs b/sdk/dotnet/StorageActions/V20230101/StorageTask.cs new file mode 100644 index 000000000000..a9e5e0e1379f --- /dev/null +++ b/sdk/dotnet/StorageActions/V20230101/StorageTask.cs @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** 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.AzureNative.StorageActions.V20230101 +{ + /// + /// Represents Storage Task. + /// + [AzureNativeResourceType("azure-native:storageactions/v20230101:StorageTask")] + public partial class StorageTask : global::Pulumi.CustomResource + { + /// + /// The storage task action that is executed + /// + [Output("action")] + public Output Action { get; private set; } = null!; + + /// + /// The creation date and time of the storage task in UTC. + /// + [Output("creationTimeInUtc")] + public Output CreationTimeInUtc { get; private set; } = null!; + + /// + /// Text that describes the purpose of the storage task + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Storage Task is enabled when set to true and disabled when set to false + /// + [Output("enabled")] + public Output Enabled { get; private set; } = null!; + + /// + /// The managed service identity of the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Represents the provisioning state of the storage task. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// Storage task version. + /// + [Output("taskVersion")] + public Output TaskVersion { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a StorageTask 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 StorageTask(string name, StorageTaskArgs args, CustomResourceOptions? options = null) + : base("azure-native:storageactions/v20230101:StorageTask", name, args ?? new StorageTaskArgs(), MakeResourceOptions(options, "")) + { + } + + private StorageTask(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:storageactions/v20230101:StorageTask", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:storageactions:StorageTask"}, + }, + }; + 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 StorageTask 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. + /// A bag of options that control this resource's behavior + public static StorageTask Get(string name, Input id, CustomResourceOptions? options = null) + { + return new StorageTask(name, id, options); + } + } + + public sealed class StorageTaskArgs : global::Pulumi.ResourceArgs + { + /// + /// The storage task action that is executed + /// + [Input("action", required: true)] + public Input Action { get; set; } = null!; + + /// + /// Text that describes the purpose of the storage task + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Storage Task is enabled when set to true and disabled when set to false + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// The managed service identity of the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + /// + [Input("storageTaskName")] + public Input? StorageTaskName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public StorageTaskArgs() + { + } + public static new StorageTaskArgs Empty => new StorageTaskArgs(); + } +} diff --git a/sdk/dotnet/StorageTasks/Enums.cs b/sdk/dotnet/StorageTasks/Enums.cs deleted file mode 100644 index 1fb382191710..000000000000 --- a/sdk/dotnet/StorageTasks/Enums.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.StorageTasks -{ - /// - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - /// - [EnumType] - public readonly struct ManagedServiceIdentityType : IEquatable - { - private readonly string _value; - - private ManagedServiceIdentityType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); - public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); - public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); - public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned,UserAssigned"); - - public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); - public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); - - public static explicit operator string(ManagedServiceIdentityType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); - public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Action to be taken when the operation fails for a object. - /// - [EnumType] - public readonly struct OnFailure : IEquatable - { - private readonly string _value; - - private OnFailure(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OnFailure @Break { get; } = new OnFailure("break"); - - public static bool operator ==(OnFailure left, OnFailure right) => left.Equals(right); - public static bool operator !=(OnFailure left, OnFailure right) => !left.Equals(right); - - public static explicit operator string(OnFailure value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OnFailure other && Equals(other); - public bool Equals(OnFailure other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Action to be taken when the operation is successful for a object. - /// - [EnumType] - public readonly struct OnSuccess : IEquatable - { - private readonly string _value; - - private OnSuccess(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OnSuccess @Continue { get; } = new OnSuccess("continue"); - - public static bool operator ==(OnSuccess left, OnSuccess right) => left.Equals(right); - public static bool operator !=(OnSuccess left, OnSuccess right) => !left.Equals(right); - - public static explicit operator string(OnSuccess value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OnSuccess other && Equals(other); - public bool Equals(OnSuccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The operation to be performed on the object. - /// - [EnumType] - public readonly struct StorageTaskOperationName : IEquatable - { - private readonly string _value; - - private StorageTaskOperationName(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static StorageTaskOperationName SetBlobTier { get; } = new StorageTaskOperationName("SetBlobTier"); - public static StorageTaskOperationName SetBlobTags { get; } = new StorageTaskOperationName("SetBlobTags"); - public static StorageTaskOperationName SetBlobImmutabilityPolicy { get; } = new StorageTaskOperationName("SetBlobImmutabilityPolicy"); - public static StorageTaskOperationName SetBlobLegalHold { get; } = new StorageTaskOperationName("SetBlobLegalHold"); - public static StorageTaskOperationName SetBlobExpiry { get; } = new StorageTaskOperationName("SetBlobExpiry"); - public static StorageTaskOperationName DeleteBlob { get; } = new StorageTaskOperationName("DeleteBlob"); - public static StorageTaskOperationName UndeleteBlob { get; } = new StorageTaskOperationName("UndeleteBlob"); - - public static bool operator ==(StorageTaskOperationName left, StorageTaskOperationName right) => left.Equals(right); - public static bool operator !=(StorageTaskOperationName left, StorageTaskOperationName right) => !left.Equals(right); - - public static explicit operator string(StorageTaskOperationName value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is StorageTaskOperationName other && Equals(other); - public bool Equals(StorageTaskOperationName other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/StorageTasks/GetStorageTask.cs b/sdk/dotnet/StorageTasks/GetStorageTask.cs deleted file mode 100644 index d7b6c132203a..000000000000 --- a/sdk/dotnet/StorageTasks/GetStorageTask.cs +++ /dev/null @@ -1,170 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks -{ - public static class GetStorageTask - { - /// - /// Get the storage task properties - /// Azure REST API version: 2023-01-01. - /// - public static Task InvokeAsync(GetStorageTaskArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:storagetasks:getStorageTask", args ?? new GetStorageTaskArgs(), options.WithDefaults()); - - /// - /// Get the storage task properties - /// Azure REST API version: 2023-01-01. - /// - public static Output Invoke(GetStorageTaskInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:storagetasks:getStorageTask", args ?? new GetStorageTaskInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetStorageTaskArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - /// - [Input("storageTaskName", required: true)] - public string StorageTaskName { get; set; } = null!; - - public GetStorageTaskArgs() - { - } - public static new GetStorageTaskArgs Empty => new GetStorageTaskArgs(); - } - - public sealed class GetStorageTaskInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - /// - [Input("storageTaskName", required: true)] - public Input StorageTaskName { get; set; } = null!; - - public GetStorageTaskInvokeArgs() - { - } - public static new GetStorageTaskInvokeArgs Empty => new GetStorageTaskInvokeArgs(); - } - - - [OutputType] - public sealed class GetStorageTaskResult - { - /// - /// The storage task action that is executed - /// - public readonly Outputs.StorageTaskActionResponse Action; - /// - /// The creation date and time of the storage task in UTC. - /// - public readonly string CreationTimeInUtc; - /// - /// Text that describes the purpose of the storage task - /// - public readonly string Description; - /// - /// Storage Task is enabled when set to true and disabled when set to false - /// - public readonly bool Enabled; - /// - /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - /// - public readonly string Id; - /// - /// The managed service identity of the resource. - /// - public readonly Outputs.ManagedServiceIdentityResponse? Identity; - /// - /// The geo-location where the resource lives - /// - public readonly string Location; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Represents the provisioning state of the storage task. - /// - public readonly string ProvisioningState; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// Resource tags. - /// - public readonly ImmutableDictionary? Tags; - /// - /// Storage task version. - /// - public readonly double TaskVersion; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetStorageTaskResult( - Outputs.StorageTaskActionResponse action, - - string creationTimeInUtc, - - string description, - - bool enabled, - - string id, - - Outputs.ManagedServiceIdentityResponse? identity, - - string location, - - string name, - - string provisioningState, - - Outputs.SystemDataResponse systemData, - - ImmutableDictionary? tags, - - double taskVersion, - - string type) - { - Action = action; - CreationTimeInUtc = creationTimeInUtc; - Description = description; - Enabled = enabled; - Id = id; - Identity = identity; - Location = location; - Name = name; - ProvisioningState = provisioningState; - SystemData = systemData; - Tags = tags; - TaskVersion = taskVersion; - Type = type; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Inputs/ElseConditionArgs.cs b/sdk/dotnet/StorageTasks/Inputs/ElseConditionArgs.cs deleted file mode 100644 index 4912887b761c..000000000000 --- a/sdk/dotnet/StorageTasks/Inputs/ElseConditionArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Inputs -{ - - /// - /// The else block of storage task operation - /// - public sealed class ElseConditionArgs : global::Pulumi.ResourceArgs - { - [Input("operations", required: true)] - private InputList? _operations; - - /// - /// List of operations to execute in the else block - /// - public InputList Operations - { - get => _operations ?? (_operations = new InputList()); - set => _operations = value; - } - - public ElseConditionArgs() - { - } - public static new ElseConditionArgs Empty => new ElseConditionArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/Inputs/IfConditionArgs.cs b/sdk/dotnet/StorageTasks/Inputs/IfConditionArgs.cs deleted file mode 100644 index 159aa693b7d7..000000000000 --- a/sdk/dotnet/StorageTasks/Inputs/IfConditionArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Inputs -{ - - /// - /// The if block of storage task operation - /// - public sealed class IfConditionArgs : global::Pulumi.ResourceArgs - { - /// - /// The condition predicate which is composed of object properties, eg: blob and container properties. - /// - [Input("condition", required: true)] - public Input Condition { get; set; } = null!; - - [Input("operations", required: true)] - private InputList? _operations; - - /// - /// List of operations to execute when the condition predicate satisfies. - /// - public InputList Operations - { - get => _operations ?? (_operations = new InputList()); - set => _operations = value; - } - - public IfConditionArgs() - { - } - public static new IfConditionArgs Empty => new IfConditionArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/StorageTasks/Inputs/ManagedServiceIdentityArgs.cs deleted file mode 100644 index 88276d4fd133..000000000000 --- a/sdk/dotnet/StorageTasks/Inputs/ManagedServiceIdentityArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Inputs -{ - - /// - /// Managed service identity (system assigned and/or user assigned identities) - /// - public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs - { - /// - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - /// - [Input("type", required: true)] - public InputUnion Type { get; set; } = null!; - - [Input("userAssignedIdentities")] - private InputList? _userAssignedIdentities; - - /// - /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - /// - public InputList UserAssignedIdentities - { - get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); - set => _userAssignedIdentities = value; - } - - public ManagedServiceIdentityArgs() - { - } - public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/Inputs/StorageTaskActionArgs.cs b/sdk/dotnet/StorageTasks/Inputs/StorageTaskActionArgs.cs deleted file mode 100644 index e064f701ff5f..000000000000 --- a/sdk/dotnet/StorageTasks/Inputs/StorageTaskActionArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Inputs -{ - - /// - /// The storage task action represents conditional statements and operations to be performed on target objects. - /// - public sealed class StorageTaskActionArgs : global::Pulumi.ResourceArgs - { - /// - /// The else block of storage task operation - /// - [Input("else")] - public Input? Else { get; set; } - - /// - /// The if block of storage task operation - /// - [Input("if", required: true)] - public Input If { get; set; } = null!; - - public StorageTaskActionArgs() - { - } - public static new StorageTaskActionArgs Empty => new StorageTaskActionArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/Inputs/StorageTaskOperationArgs.cs b/sdk/dotnet/StorageTasks/Inputs/StorageTaskOperationArgs.cs deleted file mode 100644 index 7281251a9810..000000000000 --- a/sdk/dotnet/StorageTasks/Inputs/StorageTaskOperationArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Inputs -{ - - /// - /// Represents an operation to be performed on the object - /// - public sealed class StorageTaskOperationArgs : global::Pulumi.ResourceArgs - { - /// - /// The operation to be performed on the object. - /// - [Input("name", required: true)] - public InputUnion Name { get; set; } = null!; - - /// - /// Action to be taken when the operation fails for a object. - /// - [Input("onFailure")] - public Input? OnFailure { get; set; } - - /// - /// Action to be taken when the operation is successful for a object. - /// - [Input("onSuccess")] - public Input? OnSuccess { get; set; } - - [Input("parameters")] - private InputMap? _parameters; - - /// - /// Key-value parameters for the operation. - /// - public InputMap Parameters - { - get => _parameters ?? (_parameters = new InputMap()); - set => _parameters = value; - } - - public StorageTaskOperationArgs() - { - } - public static new StorageTaskOperationArgs Empty => new StorageTaskOperationArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/ElseConditionResponse.cs b/sdk/dotnet/StorageTasks/Outputs/ElseConditionResponse.cs deleted file mode 100644 index a7ab725197bc..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/ElseConditionResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// The else block of storage task operation - /// - [OutputType] - public sealed class ElseConditionResponse - { - /// - /// List of operations to execute in the else block - /// - public readonly ImmutableArray Operations; - - [OutputConstructor] - private ElseConditionResponse(ImmutableArray operations) - { - Operations = operations; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/IfConditionResponse.cs b/sdk/dotnet/StorageTasks/Outputs/IfConditionResponse.cs deleted file mode 100644 index 56be5b6ec4f6..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/IfConditionResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// The if block of storage task operation - /// - [OutputType] - public sealed class IfConditionResponse - { - /// - /// The condition predicate which is composed of object properties, eg: blob and container properties. - /// - public readonly string Condition; - /// - /// List of operations to execute when the condition predicate satisfies. - /// - public readonly ImmutableArray Operations; - - [OutputConstructor] - private IfConditionResponse( - string condition, - - ImmutableArray operations) - { - Condition = condition; - Operations = operations; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/StorageTasks/Outputs/ManagedServiceIdentityResponse.cs deleted file mode 100644 index 2a59ed69fdf6..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/ManagedServiceIdentityResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// Managed service identity (system assigned and/or user assigned identities) - /// - [OutputType] - public sealed class ManagedServiceIdentityResponse - { - /// - /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - /// - public readonly string PrincipalId; - /// - /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - /// - public readonly string TenantId; - /// - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - /// - public readonly string Type; - /// - /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - /// - public readonly ImmutableDictionary? UserAssignedIdentities; - - [OutputConstructor] - private ManagedServiceIdentityResponse( - string principalId, - - string tenantId, - - string type, - - ImmutableDictionary? userAssignedIdentities) - { - PrincipalId = principalId; - TenantId = tenantId; - Type = type; - UserAssignedIdentities = userAssignedIdentities; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/StorageTaskActionResponse.cs b/sdk/dotnet/StorageTasks/Outputs/StorageTaskActionResponse.cs deleted file mode 100644 index 2335cc2bebce..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/StorageTaskActionResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// The storage task action represents conditional statements and operations to be performed on target objects. - /// - [OutputType] - public sealed class StorageTaskActionResponse - { - /// - /// The else block of storage task operation - /// - public readonly Outputs.ElseConditionResponse? Else; - /// - /// The if block of storage task operation - /// - public readonly Outputs.IfConditionResponse If; - - [OutputConstructor] - private StorageTaskActionResponse( - Outputs.ElseConditionResponse? @else, - - Outputs.IfConditionResponse @if) - { - Else = @else; - If = @if; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/StorageTaskOperationResponse.cs b/sdk/dotnet/StorageTasks/Outputs/StorageTaskOperationResponse.cs deleted file mode 100644 index f1aa42e42f19..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/StorageTaskOperationResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// Represents an operation to be performed on the object - /// - [OutputType] - public sealed class StorageTaskOperationResponse - { - /// - /// The operation to be performed on the object. - /// - public readonly string Name; - /// - /// Action to be taken when the operation fails for a object. - /// - public readonly string? OnFailure; - /// - /// Action to be taken when the operation is successful for a object. - /// - public readonly string? OnSuccess; - /// - /// Key-value parameters for the operation. - /// - public readonly ImmutableDictionary? Parameters; - - [OutputConstructor] - private StorageTaskOperationResponse( - string name, - - string? onFailure, - - string? onSuccess, - - ImmutableDictionary? parameters) - { - Name = name; - OnFailure = onFailure; - OnSuccess = onSuccess; - Parameters = parameters; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/SystemDataResponse.cs b/sdk/dotnet/StorageTasks/Outputs/SystemDataResponse.cs deleted file mode 100644 index 4ba2fb28892c..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/SystemDataResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [OutputType] - public sealed class SystemDataResponse - { - /// - /// The timestamp of resource creation (UTC). - /// - public readonly string? CreatedAt; - /// - /// The identity that created the resource. - /// - public readonly string? CreatedBy; - /// - /// The type of identity that created the resource. - /// - public readonly string? CreatedByType; - /// - /// The timestamp of resource last modification (UTC) - /// - public readonly string? LastModifiedAt; - /// - /// The identity that last modified the resource. - /// - public readonly string? LastModifiedBy; - /// - /// The type of identity that last modified the resource. - /// - public readonly string? LastModifiedByType; - - [OutputConstructor] - private SystemDataResponse( - string? createdAt, - - string? createdBy, - - string? createdByType, - - string? lastModifiedAt, - - string? lastModifiedBy, - - string? lastModifiedByType) - { - CreatedAt = createdAt; - CreatedBy = createdBy; - CreatedByType = createdByType; - LastModifiedAt = lastModifiedAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - } - } -} diff --git a/sdk/dotnet/StorageTasks/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/StorageTasks/Outputs/UserAssignedIdentityResponse.cs deleted file mode 100644 index 97eaf567e96e..000000000000 --- a/sdk/dotnet/StorageTasks/Outputs/UserAssignedIdentityResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.Outputs -{ - - /// - /// User assigned identity properties - /// - [OutputType] - public sealed class UserAssignedIdentityResponse - { - /// - /// The client ID of the assigned identity. - /// - public readonly string ClientId; - /// - /// The principal ID of the assigned identity. - /// - public readonly string PrincipalId; - - [OutputConstructor] - private UserAssignedIdentityResponse( - string clientId, - - string principalId) - { - ClientId = clientId; - PrincipalId = principalId; - } - } -} diff --git a/sdk/dotnet/StorageTasks/StorageTask.cs b/sdk/dotnet/StorageTasks/StorageTask.cs deleted file mode 100644 index dc5381bb300f..000000000000 --- a/sdk/dotnet/StorageTasks/StorageTask.cs +++ /dev/null @@ -1,199 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks -{ - /// - /// Represents Storage Task. - /// Azure REST API version: 2023-01-01. - /// - [AzureNativeResourceType("azure-native:storagetasks:StorageTask")] - public partial class StorageTask : global::Pulumi.CustomResource - { - /// - /// The storage task action that is executed - /// - [Output("action")] - public Output Action { get; private set; } = null!; - - /// - /// The creation date and time of the storage task in UTC. - /// - [Output("creationTimeInUtc")] - public Output CreationTimeInUtc { get; private set; } = null!; - - /// - /// Text that describes the purpose of the storage task - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// Storage Task is enabled when set to true and disabled when set to false - /// - [Output("enabled")] - public Output Enabled { get; private set; } = null!; - - /// - /// The managed service identity of the resource. - /// - [Output("identity")] - public Output Identity { get; private set; } = null!; - - /// - /// The geo-location where the resource lives - /// - [Output("location")] - public Output Location { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Represents the provisioning state of the storage task. - /// - [Output("provisioningState")] - public Output ProvisioningState { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// Resource tags. - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// Storage task version. - /// - [Output("taskVersion")] - public Output TaskVersion { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a StorageTask 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 StorageTask(string name, StorageTaskArgs args, CustomResourceOptions? options = null) - : base("azure-native:storagetasks:StorageTask", name, args ?? new StorageTaskArgs(), MakeResourceOptions(options, "")) - { - } - - private StorageTask(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:storagetasks:StorageTask", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:storagetasks/v20230101:StorageTask"}, - }, - }; - 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 StorageTask 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. - /// A bag of options that control this resource's behavior - public static StorageTask Get(string name, Input id, CustomResourceOptions? options = null) - { - return new StorageTask(name, id, options); - } - } - - public sealed class StorageTaskArgs : global::Pulumi.ResourceArgs - { - /// - /// The storage task action that is executed - /// - [Input("action", required: true)] - public Input Action { get; set; } = null!; - - /// - /// Text that describes the purpose of the storage task - /// - [Input("description", required: true)] - public Input Description { get; set; } = null!; - - /// - /// Storage Task is enabled when set to true and disabled when set to false - /// - [Input("enabled", required: true)] - public Input Enabled { get; set; } = null!; - - /// - /// The managed service identity of the resource. - /// - [Input("identity")] - public Input? Identity { get; set; } - - /// - /// The geo-location where the resource lives - /// - [Input("location")] - public Input? Location { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - /// - [Input("storageTaskName")] - public Input? StorageTaskName { get; set; } - - [Input("tags")] - private InputMap? _tags; - - /// - /// Resource tags. - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - public StorageTaskArgs() - { - } - public static new StorageTaskArgs Empty => new StorageTaskArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Enums.cs b/sdk/dotnet/StorageTasks/V20230101/Enums.cs deleted file mode 100644 index 19939d1b5c06..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Enums.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.ComponentModel; -using Pulumi; - -namespace Pulumi.AzureNative.StorageTasks.V20230101 -{ - /// - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - /// - [EnumType] - public readonly struct ManagedServiceIdentityType : IEquatable - { - private readonly string _value; - - private ManagedServiceIdentityType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); - public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); - public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); - public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned,UserAssigned"); - - public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); - public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); - - public static explicit operator string(ManagedServiceIdentityType value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); - public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Action to be taken when the operation fails for a object. - /// - [EnumType] - public readonly struct OnFailure : IEquatable - { - private readonly string _value; - - private OnFailure(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OnFailure @Break { get; } = new OnFailure("break"); - - public static bool operator ==(OnFailure left, OnFailure right) => left.Equals(right); - public static bool operator !=(OnFailure left, OnFailure right) => !left.Equals(right); - - public static explicit operator string(OnFailure value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OnFailure other && Equals(other); - public bool Equals(OnFailure other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// Action to be taken when the operation is successful for a object. - /// - [EnumType] - public readonly struct OnSuccess : IEquatable - { - private readonly string _value; - - private OnSuccess(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static OnSuccess @Continue { get; } = new OnSuccess("continue"); - - public static bool operator ==(OnSuccess left, OnSuccess right) => left.Equals(right); - public static bool operator !=(OnSuccess left, OnSuccess right) => !left.Equals(right); - - public static explicit operator string(OnSuccess value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is OnSuccess other && Equals(other); - public bool Equals(OnSuccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } - - /// - /// The operation to be performed on the object. - /// - [EnumType] - public readonly struct StorageTaskOperationName : IEquatable - { - private readonly string _value; - - private StorageTaskOperationName(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - public static StorageTaskOperationName SetBlobTier { get; } = new StorageTaskOperationName("SetBlobTier"); - public static StorageTaskOperationName SetBlobTags { get; } = new StorageTaskOperationName("SetBlobTags"); - public static StorageTaskOperationName SetBlobImmutabilityPolicy { get; } = new StorageTaskOperationName("SetBlobImmutabilityPolicy"); - public static StorageTaskOperationName SetBlobLegalHold { get; } = new StorageTaskOperationName("SetBlobLegalHold"); - public static StorageTaskOperationName SetBlobExpiry { get; } = new StorageTaskOperationName("SetBlobExpiry"); - public static StorageTaskOperationName DeleteBlob { get; } = new StorageTaskOperationName("DeleteBlob"); - public static StorageTaskOperationName UndeleteBlob { get; } = new StorageTaskOperationName("UndeleteBlob"); - - public static bool operator ==(StorageTaskOperationName left, StorageTaskOperationName right) => left.Equals(right); - public static bool operator !=(StorageTaskOperationName left, StorageTaskOperationName right) => !left.Equals(right); - - public static explicit operator string(StorageTaskOperationName value) => value._value; - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object? obj) => obj is StorageTaskOperationName other && Equals(other); - public bool Equals(StorageTaskOperationName other) => string.Equals(_value, other._value, StringComparison.Ordinal); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - - public override string ToString() => _value; - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/GetStorageTask.cs b/sdk/dotnet/StorageTasks/V20230101/GetStorageTask.cs deleted file mode 100644 index 285bf1574dde..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/GetStorageTask.cs +++ /dev/null @@ -1,168 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101 -{ - public static class GetStorageTask - { - /// - /// Get the storage task properties - /// - public static Task InvokeAsync(GetStorageTaskArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:storagetasks/v20230101:getStorageTask", args ?? new GetStorageTaskArgs(), options.WithDefaults()); - - /// - /// Get the storage task properties - /// - public static Output Invoke(GetStorageTaskInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("azure-native:storagetasks/v20230101:getStorageTask", args ?? new GetStorageTaskInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetStorageTaskArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public string ResourceGroupName { get; set; } = null!; - - /// - /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - /// - [Input("storageTaskName", required: true)] - public string StorageTaskName { get; set; } = null!; - - public GetStorageTaskArgs() - { - } - public static new GetStorageTaskArgs Empty => new GetStorageTaskArgs(); - } - - public sealed class GetStorageTaskInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - /// - [Input("storageTaskName", required: true)] - public Input StorageTaskName { get; set; } = null!; - - public GetStorageTaskInvokeArgs() - { - } - public static new GetStorageTaskInvokeArgs Empty => new GetStorageTaskInvokeArgs(); - } - - - [OutputType] - public sealed class GetStorageTaskResult - { - /// - /// The storage task action that is executed - /// - public readonly Outputs.StorageTaskActionResponse Action; - /// - /// The creation date and time of the storage task in UTC. - /// - public readonly string CreationTimeInUtc; - /// - /// Text that describes the purpose of the storage task - /// - public readonly string Description; - /// - /// Storage Task is enabled when set to true and disabled when set to false - /// - public readonly bool Enabled; - /// - /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - /// - public readonly string Id; - /// - /// The managed service identity of the resource. - /// - public readonly Outputs.ManagedServiceIdentityResponse? Identity; - /// - /// The geo-location where the resource lives - /// - public readonly string Location; - /// - /// The name of the resource - /// - public readonly string Name; - /// - /// Represents the provisioning state of the storage task. - /// - public readonly string ProvisioningState; - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - public readonly Outputs.SystemDataResponse SystemData; - /// - /// Resource tags. - /// - public readonly ImmutableDictionary? Tags; - /// - /// Storage task version. - /// - public readonly double TaskVersion; - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - public readonly string Type; - - [OutputConstructor] - private GetStorageTaskResult( - Outputs.StorageTaskActionResponse action, - - string creationTimeInUtc, - - string description, - - bool enabled, - - string id, - - Outputs.ManagedServiceIdentityResponse? identity, - - string location, - - string name, - - string provisioningState, - - Outputs.SystemDataResponse systemData, - - ImmutableDictionary? tags, - - double taskVersion, - - string type) - { - Action = action; - CreationTimeInUtc = creationTimeInUtc; - Description = description; - Enabled = enabled; - Id = id; - Identity = identity; - Location = location; - Name = name; - ProvisioningState = provisioningState; - SystemData = systemData; - Tags = tags; - TaskVersion = taskVersion; - Type = type; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Inputs/ElseConditionArgs.cs b/sdk/dotnet/StorageTasks/V20230101/Inputs/ElseConditionArgs.cs deleted file mode 100644 index 306d5a973ac2..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Inputs/ElseConditionArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Inputs -{ - - /// - /// The else block of storage task operation - /// - public sealed class ElseConditionArgs : global::Pulumi.ResourceArgs - { - [Input("operations", required: true)] - private InputList? _operations; - - /// - /// List of operations to execute in the else block - /// - public InputList Operations - { - get => _operations ?? (_operations = new InputList()); - set => _operations = value; - } - - public ElseConditionArgs() - { - } - public static new ElseConditionArgs Empty => new ElseConditionArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Inputs/IfConditionArgs.cs b/sdk/dotnet/StorageTasks/V20230101/Inputs/IfConditionArgs.cs deleted file mode 100644 index 6d5108d516a1..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Inputs/IfConditionArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Inputs -{ - - /// - /// The if block of storage task operation - /// - public sealed class IfConditionArgs : global::Pulumi.ResourceArgs - { - /// - /// The condition predicate which is composed of object properties, eg: blob and container properties. - /// - [Input("condition", required: true)] - public Input Condition { get; set; } = null!; - - [Input("operations", required: true)] - private InputList? _operations; - - /// - /// List of operations to execute when the condition predicate satisfies. - /// - public InputList Operations - { - get => _operations ?? (_operations = new InputList()); - set => _operations = value; - } - - public IfConditionArgs() - { - } - public static new IfConditionArgs Empty => new IfConditionArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/StorageTasks/V20230101/Inputs/ManagedServiceIdentityArgs.cs deleted file mode 100644 index 524a59384980..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Inputs/ManagedServiceIdentityArgs.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Inputs -{ - - /// - /// Managed service identity (system assigned and/or user assigned identities) - /// - public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs - { - /// - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - /// - [Input("type", required: true)] - public InputUnion Type { get; set; } = null!; - - [Input("userAssignedIdentities")] - private InputList? _userAssignedIdentities; - - /// - /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - /// - public InputList UserAssignedIdentities - { - get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); - set => _userAssignedIdentities = value; - } - - public ManagedServiceIdentityArgs() - { - } - public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Inputs/StorageTaskActionArgs.cs b/sdk/dotnet/StorageTasks/V20230101/Inputs/StorageTaskActionArgs.cs deleted file mode 100644 index 485b93f741db..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Inputs/StorageTaskActionArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Inputs -{ - - /// - /// The storage task action represents conditional statements and operations to be performed on target objects. - /// - public sealed class StorageTaskActionArgs : global::Pulumi.ResourceArgs - { - /// - /// The else block of storage task operation - /// - [Input("else")] - public Input? Else { get; set; } - - /// - /// The if block of storage task operation - /// - [Input("if", required: true)] - public Input If { get; set; } = null!; - - public StorageTaskActionArgs() - { - } - public static new StorageTaskActionArgs Empty => new StorageTaskActionArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Inputs/StorageTaskOperationArgs.cs b/sdk/dotnet/StorageTasks/V20230101/Inputs/StorageTaskOperationArgs.cs deleted file mode 100644 index e2d7e36a0843..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Inputs/StorageTaskOperationArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Inputs -{ - - /// - /// Represents an operation to be performed on the object - /// - public sealed class StorageTaskOperationArgs : global::Pulumi.ResourceArgs - { - /// - /// The operation to be performed on the object. - /// - [Input("name", required: true)] - public InputUnion Name { get; set; } = null!; - - /// - /// Action to be taken when the operation fails for a object. - /// - [Input("onFailure")] - public Input? OnFailure { get; set; } - - /// - /// Action to be taken when the operation is successful for a object. - /// - [Input("onSuccess")] - public Input? OnSuccess { get; set; } - - [Input("parameters")] - private InputMap? _parameters; - - /// - /// Key-value parameters for the operation. - /// - public InputMap Parameters - { - get => _parameters ?? (_parameters = new InputMap()); - set => _parameters = value; - } - - public StorageTaskOperationArgs() - { - } - public static new StorageTaskOperationArgs Empty => new StorageTaskOperationArgs(); - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/ElseConditionResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/ElseConditionResponse.cs deleted file mode 100644 index 9502861895a9..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/ElseConditionResponse.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// The else block of storage task operation - /// - [OutputType] - public sealed class ElseConditionResponse - { - /// - /// List of operations to execute in the else block - /// - public readonly ImmutableArray Operations; - - [OutputConstructor] - private ElseConditionResponse(ImmutableArray operations) - { - Operations = operations; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/IfConditionResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/IfConditionResponse.cs deleted file mode 100644 index 8b6625039256..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/IfConditionResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// The if block of storage task operation - /// - [OutputType] - public sealed class IfConditionResponse - { - /// - /// The condition predicate which is composed of object properties, eg: blob and container properties. - /// - public readonly string Condition; - /// - /// List of operations to execute when the condition predicate satisfies. - /// - public readonly ImmutableArray Operations; - - [OutputConstructor] - private IfConditionResponse( - string condition, - - ImmutableArray operations) - { - Condition = condition; - Operations = operations; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/ManagedServiceIdentityResponse.cs deleted file mode 100644 index 49b5184aa776..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/ManagedServiceIdentityResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// Managed service identity (system assigned and/or user assigned identities) - /// - [OutputType] - public sealed class ManagedServiceIdentityResponse - { - /// - /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - /// - public readonly string PrincipalId; - /// - /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - /// - public readonly string TenantId; - /// - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - /// - public readonly string Type; - /// - /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - /// - public readonly ImmutableDictionary? UserAssignedIdentities; - - [OutputConstructor] - private ManagedServiceIdentityResponse( - string principalId, - - string tenantId, - - string type, - - ImmutableDictionary? userAssignedIdentities) - { - PrincipalId = principalId; - TenantId = tenantId; - Type = type; - UserAssignedIdentities = userAssignedIdentities; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/StorageTaskActionResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/StorageTaskActionResponse.cs deleted file mode 100644 index 9180050bc18e..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/StorageTaskActionResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// The storage task action represents conditional statements and operations to be performed on target objects. - /// - [OutputType] - public sealed class StorageTaskActionResponse - { - /// - /// The else block of storage task operation - /// - public readonly Outputs.ElseConditionResponse? Else; - /// - /// The if block of storage task operation - /// - public readonly Outputs.IfConditionResponse If; - - [OutputConstructor] - private StorageTaskActionResponse( - Outputs.ElseConditionResponse? @else, - - Outputs.IfConditionResponse @if) - { - Else = @else; - If = @if; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/StorageTaskOperationResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/StorageTaskOperationResponse.cs deleted file mode 100644 index f6be0e766113..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/StorageTaskOperationResponse.cs +++ /dev/null @@ -1,52 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// Represents an operation to be performed on the object - /// - [OutputType] - public sealed class StorageTaskOperationResponse - { - /// - /// The operation to be performed on the object. - /// - public readonly string Name; - /// - /// Action to be taken when the operation fails for a object. - /// - public readonly string? OnFailure; - /// - /// Action to be taken when the operation is successful for a object. - /// - public readonly string? OnSuccess; - /// - /// Key-value parameters for the operation. - /// - public readonly ImmutableDictionary? Parameters; - - [OutputConstructor] - private StorageTaskOperationResponse( - string name, - - string? onFailure, - - string? onSuccess, - - ImmutableDictionary? parameters) - { - Name = name; - OnFailure = onFailure; - OnSuccess = onSuccess; - Parameters = parameters; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/SystemDataResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/SystemDataResponse.cs deleted file mode 100644 index 69a91c7f0372..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/SystemDataResponse.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// Metadata pertaining to creation and last modification of the resource. - /// - [OutputType] - public sealed class SystemDataResponse - { - /// - /// The timestamp of resource creation (UTC). - /// - public readonly string? CreatedAt; - /// - /// The identity that created the resource. - /// - public readonly string? CreatedBy; - /// - /// The type of identity that created the resource. - /// - public readonly string? CreatedByType; - /// - /// The timestamp of resource last modification (UTC) - /// - public readonly string? LastModifiedAt; - /// - /// The identity that last modified the resource. - /// - public readonly string? LastModifiedBy; - /// - /// The type of identity that last modified the resource. - /// - public readonly string? LastModifiedByType; - - [OutputConstructor] - private SystemDataResponse( - string? createdAt, - - string? createdBy, - - string? createdByType, - - string? lastModifiedAt, - - string? lastModifiedBy, - - string? lastModifiedByType) - { - CreatedAt = createdAt; - CreatedBy = createdBy; - CreatedByType = createdByType; - LastModifiedAt = lastModifiedAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/StorageTasks/V20230101/Outputs/UserAssignedIdentityResponse.cs deleted file mode 100644 index 513b500fe110..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/Outputs/UserAssignedIdentityResponse.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101.Outputs -{ - - /// - /// User assigned identity properties - /// - [OutputType] - public sealed class UserAssignedIdentityResponse - { - /// - /// The client ID of the assigned identity. - /// - public readonly string ClientId; - /// - /// The principal ID of the assigned identity. - /// - public readonly string PrincipalId; - - [OutputConstructor] - private UserAssignedIdentityResponse( - string clientId, - - string principalId) - { - ClientId = clientId; - PrincipalId = principalId; - } - } -} diff --git a/sdk/dotnet/StorageTasks/V20230101/StorageTask.cs b/sdk/dotnet/StorageTasks/V20230101/StorageTask.cs deleted file mode 100644 index f590c3b2efa2..000000000000 --- a/sdk/dotnet/StorageTasks/V20230101/StorageTask.cs +++ /dev/null @@ -1,198 +0,0 @@ -// *** WARNING: this file was generated by pulumi. *** -// *** 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.AzureNative.StorageTasks.V20230101 -{ - /// - /// Represents Storage Task. - /// - [AzureNativeResourceType("azure-native:storagetasks/v20230101:StorageTask")] - public partial class StorageTask : global::Pulumi.CustomResource - { - /// - /// The storage task action that is executed - /// - [Output("action")] - public Output Action { get; private set; } = null!; - - /// - /// The creation date and time of the storage task in UTC. - /// - [Output("creationTimeInUtc")] - public Output CreationTimeInUtc { get; private set; } = null!; - - /// - /// Text that describes the purpose of the storage task - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// Storage Task is enabled when set to true and disabled when set to false - /// - [Output("enabled")] - public Output Enabled { get; private set; } = null!; - - /// - /// The managed service identity of the resource. - /// - [Output("identity")] - public Output Identity { get; private set; } = null!; - - /// - /// The geo-location where the resource lives - /// - [Output("location")] - public Output Location { get; private set; } = null!; - - /// - /// The name of the resource - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// Represents the provisioning state of the storage task. - /// - [Output("provisioningState")] - public Output ProvisioningState { get; private set; } = null!; - - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Output("systemData")] - public Output SystemData { get; private set; } = null!; - - /// - /// Resource tags. - /// - [Output("tags")] - public Output?> Tags { get; private set; } = null!; - - /// - /// Storage task version. - /// - [Output("taskVersion")] - public Output TaskVersion { get; private set; } = null!; - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a StorageTask 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 StorageTask(string name, StorageTaskArgs args, CustomResourceOptions? options = null) - : base("azure-native:storagetasks/v20230101:StorageTask", name, args ?? new StorageTaskArgs(), MakeResourceOptions(options, "")) - { - } - - private StorageTask(string name, Input id, CustomResourceOptions? options = null) - : base("azure-native:storagetasks/v20230101:StorageTask", name, null, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) - { - var defaultOptions = new CustomResourceOptions - { - Version = Utilities.Version, - Aliases = - { - new global::Pulumi.Alias { Type = "azure-native:storagetasks:StorageTask"}, - }, - }; - 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 StorageTask 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. - /// A bag of options that control this resource's behavior - public static StorageTask Get(string name, Input id, CustomResourceOptions? options = null) - { - return new StorageTask(name, id, options); - } - } - - public sealed class StorageTaskArgs : global::Pulumi.ResourceArgs - { - /// - /// The storage task action that is executed - /// - [Input("action", required: true)] - public Input Action { get; set; } = null!; - - /// - /// Text that describes the purpose of the storage task - /// - [Input("description", required: true)] - public Input Description { get; set; } = null!; - - /// - /// Storage Task is enabled when set to true and disabled when set to false - /// - [Input("enabled", required: true)] - public Input Enabled { get; set; } = null!; - - /// - /// The managed service identity of the resource. - /// - [Input("identity")] - public Input? Identity { get; set; } - - /// - /// The geo-location where the resource lives - /// - [Input("location")] - public Input? Location { get; set; } - - /// - /// The name of the resource group. The name is case insensitive. - /// - [Input("resourceGroupName", required: true)] - public Input ResourceGroupName { get; set; } = null!; - - /// - /// The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - /// - [Input("storageTaskName")] - public Input? StorageTaskName { get; set; } - - [Input("tags")] - private InputMap? _tags; - - /// - /// Resource tags. - /// - public InputMap Tags - { - get => _tags ?? (_tags = new InputMap()); - set => _tags = value; - } - - public StorageTaskArgs() - { - } - public static new StorageTaskArgs Empty => new StorageTaskArgs(); - } -} diff --git a/sdk/nodejs/batch/pool.ts b/sdk/nodejs/batch/pool.ts index 7ebad0e316dc..edf495315d76 100644 --- a/sdk/nodejs/batch/pool.ts +++ b/sdk/nodejs/batch/pool.ts @@ -159,20 +159,20 @@ export class Pool extends pulumi.CustomResource { resourceInputs["applicationLicenses"] = args ? args.applicationLicenses : undefined; resourceInputs["applicationPackages"] = args ? args.applicationPackages : undefined; resourceInputs["certificates"] = args ? args.certificates : undefined; - resourceInputs["deploymentConfiguration"] = args ? args.deploymentConfiguration : undefined; + resourceInputs["deploymentConfiguration"] = args ? (args.deploymentConfiguration ? pulumi.output(args.deploymentConfiguration).apply(inputs.batch.deploymentConfigurationArgsProvideDefaults) : undefined) : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; resourceInputs["identity"] = args ? args.identity : undefined; resourceInputs["interNodeCommunication"] = args ? args.interNodeCommunication : undefined; resourceInputs["metadata"] = args ? args.metadata : undefined; resourceInputs["mountConfiguration"] = args ? args.mountConfiguration : undefined; - resourceInputs["networkConfiguration"] = args ? args.networkConfiguration : undefined; + resourceInputs["networkConfiguration"] = args ? (args.networkConfiguration ? pulumi.output(args.networkConfiguration).apply(inputs.batch.networkConfigurationArgsProvideDefaults) : undefined) : undefined; resourceInputs["poolName"] = args ? args.poolName : undefined; resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["scaleSettings"] = args ? args.scaleSettings : undefined; - resourceInputs["startTask"] = args ? args.startTask : undefined; + resourceInputs["scaleSettings"] = args ? (args.scaleSettings ? pulumi.output(args.scaleSettings).apply(inputs.batch.scaleSettingsArgsProvideDefaults) : undefined) : undefined; + resourceInputs["startTask"] = args ? (args.startTask ? pulumi.output(args.startTask).apply(inputs.batch.startTaskArgsProvideDefaults) : undefined) : undefined; resourceInputs["targetNodeCommunicationMode"] = args ? args.targetNodeCommunicationMode : undefined; - resourceInputs["taskSchedulingPolicy"] = args ? args.taskSchedulingPolicy : undefined; - resourceInputs["taskSlotsPerNode"] = args ? args.taskSlotsPerNode : undefined; + resourceInputs["taskSchedulingPolicy"] = args ? (args.taskSchedulingPolicy ? pulumi.output(args.taskSchedulingPolicy).apply(inputs.batch.taskSchedulingPolicyArgsProvideDefaults) : undefined) : undefined; + resourceInputs["taskSlotsPerNode"] = (args ? args.taskSlotsPerNode : undefined) ?? 1; resourceInputs["userAccounts"] = args ? args.userAccounts : undefined; resourceInputs["vmSize"] = args ? args.vmSize : undefined; resourceInputs["allocationState"] = undefined /*out*/; diff --git a/sdk/nodejs/batch/v20230501/pool.ts b/sdk/nodejs/batch/v20230501/pool.ts index 7e1bfa80bdc7..2414c4b62ae1 100644 --- a/sdk/nodejs/batch/v20230501/pool.ts +++ b/sdk/nodejs/batch/v20230501/pool.ts @@ -158,20 +158,20 @@ export class Pool extends pulumi.CustomResource { resourceInputs["applicationLicenses"] = args ? args.applicationLicenses : undefined; resourceInputs["applicationPackages"] = args ? args.applicationPackages : undefined; resourceInputs["certificates"] = args ? args.certificates : undefined; - resourceInputs["deploymentConfiguration"] = args ? args.deploymentConfiguration : undefined; + resourceInputs["deploymentConfiguration"] = args ? (args.deploymentConfiguration ? pulumi.output(args.deploymentConfiguration).apply(inputs.batch.v20230501.deploymentConfigurationArgsProvideDefaults) : undefined) : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; resourceInputs["identity"] = args ? args.identity : undefined; resourceInputs["interNodeCommunication"] = args ? args.interNodeCommunication : undefined; resourceInputs["metadata"] = args ? args.metadata : undefined; resourceInputs["mountConfiguration"] = args ? args.mountConfiguration : undefined; - resourceInputs["networkConfiguration"] = args ? args.networkConfiguration : undefined; + resourceInputs["networkConfiguration"] = args ? (args.networkConfiguration ? pulumi.output(args.networkConfiguration).apply(inputs.batch.v20230501.networkConfigurationArgsProvideDefaults) : undefined) : undefined; resourceInputs["poolName"] = args ? args.poolName : undefined; resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["scaleSettings"] = args ? args.scaleSettings : undefined; - resourceInputs["startTask"] = args ? args.startTask : undefined; + resourceInputs["scaleSettings"] = args ? (args.scaleSettings ? pulumi.output(args.scaleSettings).apply(inputs.batch.v20230501.scaleSettingsArgsProvideDefaults) : undefined) : undefined; + resourceInputs["startTask"] = args ? (args.startTask ? pulumi.output(args.startTask).apply(inputs.batch.v20230501.startTaskArgsProvideDefaults) : undefined) : undefined; resourceInputs["targetNodeCommunicationMode"] = args ? args.targetNodeCommunicationMode : undefined; - resourceInputs["taskSchedulingPolicy"] = args ? args.taskSchedulingPolicy : undefined; - resourceInputs["taskSlotsPerNode"] = args ? args.taskSlotsPerNode : undefined; + resourceInputs["taskSchedulingPolicy"] = args ? (args.taskSchedulingPolicy ? pulumi.output(args.taskSchedulingPolicy).apply(inputs.batch.v20230501.taskSchedulingPolicyArgsProvideDefaults) : undefined) : undefined; + resourceInputs["taskSlotsPerNode"] = (args ? args.taskSlotsPerNode : undefined) ?? 1; resourceInputs["userAccounts"] = args ? args.userAccounts : undefined; resourceInputs["vmSize"] = args ? args.vmSize : undefined; resourceInputs["allocationState"] = undefined /*out*/; diff --git a/sdk/nodejs/cdn/afdcustomDomain.ts b/sdk/nodejs/cdn/afdcustomDomain.ts index 8f6bbe523d5e..87342e79a729 100644 --- a/sdk/nodejs/cdn/afdcustomDomain.ts +++ b/sdk/nodejs/cdn/afdcustomDomain.ts @@ -139,7 +139,7 @@ export class AFDCustomDomain extends pulumi.CustomResource { resourceInputs["validationProperties"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDCustomDomain" }, { type: "azure-native:cdn/v20210601:AFDCustomDomain" }, { type: "azure-native:cdn/v20220501preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20221101preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20230501:AFDCustomDomain" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDCustomDomain" }, { type: "azure-native:cdn/v20210601:AFDCustomDomain" }, { type: "azure-native:cdn/v20220501preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20221101preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20230501:AFDCustomDomain" }, { type: "azure-native:cdn/v20230701preview:AFDCustomDomain" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDCustomDomain.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/afdendpoint.ts b/sdk/nodejs/cdn/afdendpoint.ts index 51806997148a..c272c4e1680a 100644 --- a/sdk/nodejs/cdn/afdendpoint.ts +++ b/sdk/nodejs/cdn/afdendpoint.ts @@ -124,7 +124,7 @@ export class AFDEndpoint extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }, { type: "azure-native:cdn/v20230501:AFDEndpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }, { type: "azure-native:cdn/v20230501:AFDEndpoint" }, { type: "azure-native:cdn/v20230701preview:AFDEndpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDEndpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/afdorigin.ts b/sdk/nodejs/cdn/afdorigin.ts index f18824d7788d..d0539878ba11 100644 --- a/sdk/nodejs/cdn/afdorigin.ts +++ b/sdk/nodejs/cdn/afdorigin.ts @@ -161,7 +161,7 @@ export class AFDOrigin extends pulumi.CustomResource { resourceInputs["weight"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDOrigin" }, { type: "azure-native:cdn/v20210601:AFDOrigin" }, { type: "azure-native:cdn/v20220501preview:AFDOrigin" }, { type: "azure-native:cdn/v20221101preview:AFDOrigin" }, { type: "azure-native:cdn/v20230501:AFDOrigin" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDOrigin" }, { type: "azure-native:cdn/v20210601:AFDOrigin" }, { type: "azure-native:cdn/v20220501preview:AFDOrigin" }, { type: "azure-native:cdn/v20221101preview:AFDOrigin" }, { type: "azure-native:cdn/v20230501:AFDOrigin" }, { type: "azure-native:cdn/v20230701preview:AFDOrigin" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDOrigin.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/afdoriginGroup.ts b/sdk/nodejs/cdn/afdoriginGroup.ts index f8c55259b1c4..2af6502a64eb 100644 --- a/sdk/nodejs/cdn/afdoriginGroup.ts +++ b/sdk/nodejs/cdn/afdoriginGroup.ts @@ -118,7 +118,7 @@ export class AFDOriginGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20230501:AFDOriginGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20230501:AFDOriginGroup" }, { type: "azure-native:cdn/v20230701preview:AFDOriginGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDOriginGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/customDomain.ts b/sdk/nodejs/cdn/customDomain.ts index 089be23e2f08..75db01cc665f 100644 --- a/sdk/nodejs/cdn/customDomain.ts +++ b/sdk/nodejs/cdn/customDomain.ts @@ -129,7 +129,7 @@ export class CustomDomain extends pulumi.CustomResource { resourceInputs["validationData"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:CustomDomain" }, { type: "azure-native:cdn/v20160402:CustomDomain" }, { type: "azure-native:cdn/v20161002:CustomDomain" }, { type: "azure-native:cdn/v20170402:CustomDomain" }, { type: "azure-native:cdn/v20171012:CustomDomain" }, { type: "azure-native:cdn/v20190415:CustomDomain" }, { type: "azure-native:cdn/v20190615:CustomDomain" }, { type: "azure-native:cdn/v20190615preview:CustomDomain" }, { type: "azure-native:cdn/v20191231:CustomDomain" }, { type: "azure-native:cdn/v20200331:CustomDomain" }, { type: "azure-native:cdn/v20200415:CustomDomain" }, { type: "azure-native:cdn/v20200901:CustomDomain" }, { type: "azure-native:cdn/v20210601:CustomDomain" }, { type: "azure-native:cdn/v20220501preview:CustomDomain" }, { type: "azure-native:cdn/v20221101preview:CustomDomain" }, { type: "azure-native:cdn/v20230501:CustomDomain" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:CustomDomain" }, { type: "azure-native:cdn/v20160402:CustomDomain" }, { type: "azure-native:cdn/v20161002:CustomDomain" }, { type: "azure-native:cdn/v20170402:CustomDomain" }, { type: "azure-native:cdn/v20171012:CustomDomain" }, { type: "azure-native:cdn/v20190415:CustomDomain" }, { type: "azure-native:cdn/v20190615:CustomDomain" }, { type: "azure-native:cdn/v20190615preview:CustomDomain" }, { type: "azure-native:cdn/v20191231:CustomDomain" }, { type: "azure-native:cdn/v20200331:CustomDomain" }, { type: "azure-native:cdn/v20200415:CustomDomain" }, { type: "azure-native:cdn/v20200901:CustomDomain" }, { type: "azure-native:cdn/v20210601:CustomDomain" }, { type: "azure-native:cdn/v20220501preview:CustomDomain" }, { type: "azure-native:cdn/v20221101preview:CustomDomain" }, { type: "azure-native:cdn/v20230501:CustomDomain" }, { type: "azure-native:cdn/v20230701preview:CustomDomain" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CustomDomain.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/endpoint.ts b/sdk/nodejs/cdn/endpoint.ts index aadcb7d87c2f..0dcfdfe68ad5 100644 --- a/sdk/nodejs/cdn/endpoint.ts +++ b/sdk/nodejs/cdn/endpoint.ts @@ -215,7 +215,7 @@ export class Endpoint extends pulumi.CustomResource { resourceInputs["webApplicationFirewallPolicyLink"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:Endpoint" }, { type: "azure-native:cdn/v20160402:Endpoint" }, { type: "azure-native:cdn/v20161002:Endpoint" }, { type: "azure-native:cdn/v20170402:Endpoint" }, { type: "azure-native:cdn/v20171012:Endpoint" }, { type: "azure-native:cdn/v20190415:Endpoint" }, { type: "azure-native:cdn/v20190615:Endpoint" }, { type: "azure-native:cdn/v20190615preview:Endpoint" }, { type: "azure-native:cdn/v20191231:Endpoint" }, { type: "azure-native:cdn/v20200331:Endpoint" }, { type: "azure-native:cdn/v20200415:Endpoint" }, { type: "azure-native:cdn/v20200901:Endpoint" }, { type: "azure-native:cdn/v20210601:Endpoint" }, { type: "azure-native:cdn/v20220501preview:Endpoint" }, { type: "azure-native:cdn/v20221101preview:Endpoint" }, { type: "azure-native:cdn/v20230501:Endpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:Endpoint" }, { type: "azure-native:cdn/v20160402:Endpoint" }, { type: "azure-native:cdn/v20161002:Endpoint" }, { type: "azure-native:cdn/v20170402:Endpoint" }, { type: "azure-native:cdn/v20171012:Endpoint" }, { type: "azure-native:cdn/v20190415:Endpoint" }, { type: "azure-native:cdn/v20190615:Endpoint" }, { type: "azure-native:cdn/v20190615preview:Endpoint" }, { type: "azure-native:cdn/v20191231:Endpoint" }, { type: "azure-native:cdn/v20200331:Endpoint" }, { type: "azure-native:cdn/v20200415:Endpoint" }, { type: "azure-native:cdn/v20200901:Endpoint" }, { type: "azure-native:cdn/v20210601:Endpoint" }, { type: "azure-native:cdn/v20220501preview:Endpoint" }, { type: "azure-native:cdn/v20221101preview:Endpoint" }, { type: "azure-native:cdn/v20230501:Endpoint" }, { type: "azure-native:cdn/v20230701preview:Endpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Endpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/getKeyGroup.ts b/sdk/nodejs/cdn/getKeyGroup.ts new file mode 100644 index 000000000000..1696e1d0bf37 --- /dev/null +++ b/sdk/nodejs/cdn/getKeyGroup.ts @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Gets an existing KeyGroup within a profile. + * Azure REST API version: 2023-07-01-preview. + */ +export function getKeyGroup(args: GetKeyGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn:getKeyGroup", { + "keyGroupName": args.keyGroupName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetKeyGroupArgs { + /** + * Name of the KeyGroup under the profile. + */ + keyGroupName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Contains a list of references of UrlSigningKey type secret objects. + */ +export interface GetKeyGroupResult { + readonly deploymentStatus: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Names of UrlSigningKey type secret objects + */ + readonly keyReferences?: outputs.cdn.ResourceReferenceResponse[]; + /** + * Resource name. + */ + readonly name: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing KeyGroup within a profile. + * Azure REST API version: 2023-07-01-preview. + */ +export function getKeyGroupOutput(args: GetKeyGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getKeyGroup(a, opts)) +} + +export interface GetKeyGroupOutputArgs { + /** + * Name of the KeyGroup under the profile. + */ + keyGroupName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/index.ts b/sdk/nodejs/cdn/index.ts index 5e1ea6495005..15bc1439fb54 100644 --- a/sdk/nodejs/cdn/index.ts +++ b/sdk/nodejs/cdn/index.ts @@ -65,6 +65,11 @@ export const getEndpoint: typeof import("./getEndpoint").getEndpoint = null as a export const getEndpointOutput: typeof import("./getEndpoint").getEndpointOutput = null as any; utilities.lazyLoad(exports, ["getEndpoint","getEndpointOutput"], () => require("./getEndpoint")); +export { GetKeyGroupArgs, GetKeyGroupResult, GetKeyGroupOutputArgs } from "./getKeyGroup"; +export const getKeyGroup: typeof import("./getKeyGroup").getKeyGroup = null as any; +export const getKeyGroupOutput: typeof import("./getKeyGroup").getKeyGroupOutput = null as any; +utilities.lazyLoad(exports, ["getKeyGroup","getKeyGroupOutput"], () => require("./getKeyGroup")); + export { GetOriginArgs, GetOriginResult, GetOriginOutputArgs } from "./getOrigin"; export const getOrigin: typeof import("./getOrigin").getOrigin = null as any; export const getOriginOutput: typeof import("./getOrigin").getOriginOutput = null as any; @@ -115,6 +120,11 @@ export const getSecurityPolicy: typeof import("./getSecurityPolicy").getSecurity export const getSecurityPolicyOutput: typeof import("./getSecurityPolicy").getSecurityPolicyOutput = null as any; utilities.lazyLoad(exports, ["getSecurityPolicy","getSecurityPolicyOutput"], () => require("./getSecurityPolicy")); +export { KeyGroupArgs } from "./keyGroup"; +export type KeyGroup = import("./keyGroup").KeyGroup; +export const KeyGroup: typeof import("./keyGroup").KeyGroup = null as any; +utilities.lazyLoad(exports, ["KeyGroup"], () => require("./keyGroup")); + export { OriginArgs } from "./origin"; export type Origin = import("./origin").Origin; export const Origin: typeof import("./origin").Origin = null as any; @@ -167,10 +177,12 @@ export * from "../types/enums/cdn"; // Export sub-modules: import * as v20200901 from "./v20200901"; import * as v20230501 from "./v20230501"; +import * as v20230701preview from "./v20230701preview"; export { v20200901, v20230501, + v20230701preview, }; const _module = { @@ -189,6 +201,8 @@ const _module = { return new CustomDomain(name, undefined, { urn }) case "azure-native:cdn:Endpoint": return new Endpoint(name, undefined, { urn }) + case "azure-native:cdn:KeyGroup": + return new KeyGroup(name, undefined, { urn }) case "azure-native:cdn:Origin": return new Origin(name, undefined, { urn }) case "azure-native:cdn:OriginGroup": diff --git a/sdk/nodejs/cdn/keyGroup.ts b/sdk/nodejs/cdn/keyGroup.ts new file mode 100644 index 000000000000..b4328e682168 --- /dev/null +++ b/sdk/nodejs/cdn/keyGroup.ts @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Contains a list of references of UrlSigningKey type secret objects. + * Azure REST API version: 2023-07-01-preview. + */ +export class KeyGroup extends pulumi.CustomResource { + /** + * Get an existing KeyGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): KeyGroup { + return new KeyGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn:KeyGroup'; + + /** + * Returns true if the given object is an instance of KeyGroup. 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 KeyGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === KeyGroup.__pulumiType; + } + + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Names of UrlSigningKey type secret objects + */ + public readonly keyReferences!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a KeyGroup 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: KeyGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["keyGroupName"] = args ? args.keyGroupName : undefined; + resourceInputs["keyReferences"] = args ? args.keyReferences : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["keyReferences"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20230701preview:KeyGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(KeyGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a KeyGroup resource. + */ +export interface KeyGroupArgs { + /** + * Name of the KeyGroup under the profile. + */ + keyGroupName?: pulumi.Input; + /** + * Names of UrlSigningKey type secret objects + */ + keyReferences?: pulumi.Input[]>; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/origin.ts b/sdk/nodejs/cdn/origin.ts index 3da6b3dc8f8e..d0814ce42dfc 100644 --- a/sdk/nodejs/cdn/origin.ts +++ b/sdk/nodejs/cdn/origin.ts @@ -171,7 +171,7 @@ export class Origin extends pulumi.CustomResource { resourceInputs["weight"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:Origin" }, { type: "azure-native:cdn/v20160402:Origin" }, { type: "azure-native:cdn/v20191231:Origin" }, { type: "azure-native:cdn/v20200331:Origin" }, { type: "azure-native:cdn/v20200415:Origin" }, { type: "azure-native:cdn/v20200901:Origin" }, { type: "azure-native:cdn/v20210601:Origin" }, { type: "azure-native:cdn/v20220501preview:Origin" }, { type: "azure-native:cdn/v20221101preview:Origin" }, { type: "azure-native:cdn/v20230501:Origin" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:Origin" }, { type: "azure-native:cdn/v20160402:Origin" }, { type: "azure-native:cdn/v20191231:Origin" }, { type: "azure-native:cdn/v20200331:Origin" }, { type: "azure-native:cdn/v20200415:Origin" }, { type: "azure-native:cdn/v20200901:Origin" }, { type: "azure-native:cdn/v20210601:Origin" }, { type: "azure-native:cdn/v20220501preview:Origin" }, { type: "azure-native:cdn/v20221101preview:Origin" }, { type: "azure-native:cdn/v20230501:Origin" }, { type: "azure-native:cdn/v20230701preview:Origin" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Origin.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/originGroup.ts b/sdk/nodejs/cdn/originGroup.ts index 91e11bfdcb82..a302cd389807 100644 --- a/sdk/nodejs/cdn/originGroup.ts +++ b/sdk/nodejs/cdn/originGroup.ts @@ -123,7 +123,7 @@ export class OriginGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20191231:OriginGroup" }, { type: "azure-native:cdn/v20200331:OriginGroup" }, { type: "azure-native:cdn/v20200415:OriginGroup" }, { type: "azure-native:cdn/v20200901:OriginGroup" }, { type: "azure-native:cdn/v20210601:OriginGroup" }, { type: "azure-native:cdn/v20220501preview:OriginGroup" }, { type: "azure-native:cdn/v20221101preview:OriginGroup" }, { type: "azure-native:cdn/v20230501:OriginGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20191231:OriginGroup" }, { type: "azure-native:cdn/v20200331:OriginGroup" }, { type: "azure-native:cdn/v20200415:OriginGroup" }, { type: "azure-native:cdn/v20200901:OriginGroup" }, { type: "azure-native:cdn/v20210601:OriginGroup" }, { type: "azure-native:cdn/v20220501preview:OriginGroup" }, { type: "azure-native:cdn/v20221101preview:OriginGroup" }, { type: "azure-native:cdn/v20230501:OriginGroup" }, { type: "azure-native:cdn/v20230701preview:OriginGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OriginGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/policy.ts b/sdk/nodejs/cdn/policy.ts index 1919e2b54a02..c7df924fd6c9 100644 --- a/sdk/nodejs/cdn/policy.ts +++ b/sdk/nodejs/cdn/policy.ts @@ -148,7 +148,7 @@ export class Policy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20190615:Policy" }, { type: "azure-native:cdn/v20190615preview:Policy" }, { type: "azure-native:cdn/v20200331:Policy" }, { type: "azure-native:cdn/v20200415:Policy" }, { type: "azure-native:cdn/v20200901:Policy" }, { type: "azure-native:cdn/v20210601:Policy" }, { type: "azure-native:cdn/v20220501preview:Policy" }, { type: "azure-native:cdn/v20221101preview:Policy" }, { type: "azure-native:cdn/v20230501:Policy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20190615:Policy" }, { type: "azure-native:cdn/v20190615preview:Policy" }, { type: "azure-native:cdn/v20200331:Policy" }, { type: "azure-native:cdn/v20200415:Policy" }, { type: "azure-native:cdn/v20200901:Policy" }, { type: "azure-native:cdn/v20210601:Policy" }, { type: "azure-native:cdn/v20220501preview:Policy" }, { type: "azure-native:cdn/v20221101preview:Policy" }, { type: "azure-native:cdn/v20230501:Policy" }, { type: "azure-native:cdn/v20230701preview:Policy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Policy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/profile.ts b/sdk/nodejs/cdn/profile.ts index faa5f2b5f0d7..347abff751b6 100644 --- a/sdk/nodejs/cdn/profile.ts +++ b/sdk/nodejs/cdn/profile.ts @@ -139,7 +139,7 @@ export class Profile extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20200901:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }, { type: "azure-native:cdn/v20230501:Profile" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20200901:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }, { type: "azure-native:cdn/v20230501:Profile" }, { type: "azure-native:cdn/v20230701preview:Profile" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Profile.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/route.ts b/sdk/nodejs/cdn/route.ts index 2f84ae691799..708ccdc116de 100644 --- a/sdk/nodejs/cdn/route.ts +++ b/sdk/nodejs/cdn/route.ts @@ -167,7 +167,7 @@ export class Route extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }, { type: "azure-native:cdn/v20230501:Route" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }, { type: "azure-native:cdn/v20230501:Route" }, { type: "azure-native:cdn/v20230701preview:Route" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Route.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/rule.ts b/sdk/nodejs/cdn/rule.ts index 24d3f9e99596..aa0ce05ca80c 100644 --- a/sdk/nodejs/cdn/rule.ts +++ b/sdk/nodejs/cdn/rule.ts @@ -128,7 +128,7 @@ export class Rule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:Rule" }, { type: "azure-native:cdn/v20210601:Rule" }, { type: "azure-native:cdn/v20220501preview:Rule" }, { type: "azure-native:cdn/v20221101preview:Rule" }, { type: "azure-native:cdn/v20230501:Rule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:Rule" }, { type: "azure-native:cdn/v20210601:Rule" }, { type: "azure-native:cdn/v20220501preview:Rule" }, { type: "azure-native:cdn/v20221101preview:Rule" }, { type: "azure-native:cdn/v20230501:Rule" }, { type: "azure-native:cdn/v20230701preview:Rule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Rule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/ruleSet.ts b/sdk/nodejs/cdn/ruleSet.ts index b74aaee4ed50..94762cbd3638 100644 --- a/sdk/nodejs/cdn/ruleSet.ts +++ b/sdk/nodejs/cdn/ruleSet.ts @@ -94,7 +94,7 @@ export class RuleSet extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:RuleSet" }, { type: "azure-native:cdn/v20210601:RuleSet" }, { type: "azure-native:cdn/v20220501preview:RuleSet" }, { type: "azure-native:cdn/v20221101preview:RuleSet" }, { type: "azure-native:cdn/v20230501:RuleSet" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:RuleSet" }, { type: "azure-native:cdn/v20210601:RuleSet" }, { type: "azure-native:cdn/v20220501preview:RuleSet" }, { type: "azure-native:cdn/v20221101preview:RuleSet" }, { type: "azure-native:cdn/v20230501:RuleSet" }, { type: "azure-native:cdn/v20230701preview:RuleSet" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(RuleSet.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/secret.ts b/sdk/nodejs/cdn/secret.ts index 7176d769c3df..5ab5b8f958c9 100644 --- a/sdk/nodejs/cdn/secret.ts +++ b/sdk/nodejs/cdn/secret.ts @@ -100,7 +100,7 @@ export class Secret extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:Secret" }, { type: "azure-native:cdn/v20210601:Secret" }, { type: "azure-native:cdn/v20220501preview:Secret" }, { type: "azure-native:cdn/v20221101preview:Secret" }, { type: "azure-native:cdn/v20230501:Secret" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:Secret" }, { type: "azure-native:cdn/v20210601:Secret" }, { type: "azure-native:cdn/v20220501preview:Secret" }, { type: "azure-native:cdn/v20221101preview:Secret" }, { type: "azure-native:cdn/v20230501:Secret" }, { type: "azure-native:cdn/v20230701preview:Secret" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Secret.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/securityPolicy.ts b/sdk/nodejs/cdn/securityPolicy.ts index d41c05beb5e0..3bcfada3c245 100644 --- a/sdk/nodejs/cdn/securityPolicy.ts +++ b/sdk/nodejs/cdn/securityPolicy.ts @@ -100,7 +100,7 @@ export class SecurityPolicy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:SecurityPolicy" }, { type: "azure-native:cdn/v20210601:SecurityPolicy" }, { type: "azure-native:cdn/v20220501preview:SecurityPolicy" }, { type: "azure-native:cdn/v20221101preview:SecurityPolicy" }, { type: "azure-native:cdn/v20230501:SecurityPolicy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn/v20200901:SecurityPolicy" }, { type: "azure-native:cdn/v20210601:SecurityPolicy" }, { type: "azure-native:cdn/v20220501preview:SecurityPolicy" }, { type: "azure-native:cdn/v20221101preview:SecurityPolicy" }, { type: "azure-native:cdn/v20230501:SecurityPolicy" }, { type: "azure-native:cdn/v20230701preview:SecurityPolicy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityPolicy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20200901/afdendpoint.ts b/sdk/nodejs/cdn/v20200901/afdendpoint.ts index fecf2277daa4..a0cb866c1649 100644 --- a/sdk/nodejs/cdn/v20200901/afdendpoint.ts +++ b/sdk/nodejs/cdn/v20200901/afdendpoint.ts @@ -118,7 +118,7 @@ export class AFDEndpoint extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }, { type: "azure-native:cdn/v20230501:AFDEndpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }, { type: "azure-native:cdn/v20230501:AFDEndpoint" }, { type: "azure-native:cdn/v20230701preview:AFDEndpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDEndpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20200901/afdoriginGroup.ts b/sdk/nodejs/cdn/v20200901/afdoriginGroup.ts index 753903659a2c..1c210f498631 100644 --- a/sdk/nodejs/cdn/v20200901/afdoriginGroup.ts +++ b/sdk/nodejs/cdn/v20200901/afdoriginGroup.ts @@ -118,7 +118,7 @@ export class AFDOriginGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20230501:AFDOriginGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20230501:AFDOriginGroup" }, { type: "azure-native:cdn/v20230701preview:AFDOriginGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDOriginGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20200901/profile.ts b/sdk/nodejs/cdn/v20200901/profile.ts index c7f61e44d1ab..a33cdae30e57 100644 --- a/sdk/nodejs/cdn/v20200901/profile.ts +++ b/sdk/nodejs/cdn/v20200901/profile.ts @@ -114,7 +114,7 @@ export class Profile extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Profile" }, { type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }, { type: "azure-native:cdn/v20230501:Profile" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Profile" }, { type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }, { type: "azure-native:cdn/v20230501:Profile" }, { type: "azure-native:cdn/v20230701preview:Profile" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Profile.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20200901/route.ts b/sdk/nodejs/cdn/v20200901/route.ts index 1cdf9b402ebb..944cf3b18e06 100644 --- a/sdk/nodejs/cdn/v20200901/route.ts +++ b/sdk/nodejs/cdn/v20200901/route.ts @@ -167,7 +167,7 @@ export class Route extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }, { type: "azure-native:cdn/v20230501:Route" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }, { type: "azure-native:cdn/v20230501:Route" }, { type: "azure-native:cdn/v20230701preview:Route" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Route.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/afdcustomDomain.ts b/sdk/nodejs/cdn/v20230501/afdcustomDomain.ts index a4f116d2a730..167690d76f55 100644 --- a/sdk/nodejs/cdn/v20230501/afdcustomDomain.ts +++ b/sdk/nodejs/cdn/v20230501/afdcustomDomain.ts @@ -138,7 +138,7 @@ export class AFDCustomDomain extends pulumi.CustomResource { resourceInputs["validationProperties"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDCustomDomain" }, { type: "azure-native:cdn/v20200901:AFDCustomDomain" }, { type: "azure-native:cdn/v20210601:AFDCustomDomain" }, { type: "azure-native:cdn/v20220501preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20221101preview:AFDCustomDomain" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDCustomDomain" }, { type: "azure-native:cdn/v20200901:AFDCustomDomain" }, { type: "azure-native:cdn/v20210601:AFDCustomDomain" }, { type: "azure-native:cdn/v20220501preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20221101preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20230701preview:AFDCustomDomain" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDCustomDomain.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/afdendpoint.ts b/sdk/nodejs/cdn/v20230501/afdendpoint.ts index 3fec4fb21399..eed51e23000c 100644 --- a/sdk/nodejs/cdn/v20230501/afdendpoint.ts +++ b/sdk/nodejs/cdn/v20230501/afdendpoint.ts @@ -123,7 +123,7 @@ export class AFDEndpoint extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDEndpoint" }, { type: "azure-native:cdn/v20200901:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDEndpoint" }, { type: "azure-native:cdn/v20200901:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }, { type: "azure-native:cdn/v20230701preview:AFDEndpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDEndpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/afdorigin.ts b/sdk/nodejs/cdn/v20230501/afdorigin.ts index f10171fd8475..0a148e30ad6d 100644 --- a/sdk/nodejs/cdn/v20230501/afdorigin.ts +++ b/sdk/nodejs/cdn/v20230501/afdorigin.ts @@ -160,7 +160,7 @@ export class AFDOrigin extends pulumi.CustomResource { resourceInputs["weight"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOrigin" }, { type: "azure-native:cdn/v20200901:AFDOrigin" }, { type: "azure-native:cdn/v20210601:AFDOrigin" }, { type: "azure-native:cdn/v20220501preview:AFDOrigin" }, { type: "azure-native:cdn/v20221101preview:AFDOrigin" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOrigin" }, { type: "azure-native:cdn/v20200901:AFDOrigin" }, { type: "azure-native:cdn/v20210601:AFDOrigin" }, { type: "azure-native:cdn/v20220501preview:AFDOrigin" }, { type: "azure-native:cdn/v20221101preview:AFDOrigin" }, { type: "azure-native:cdn/v20230701preview:AFDOrigin" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDOrigin.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/afdoriginGroup.ts b/sdk/nodejs/cdn/v20230501/afdoriginGroup.ts index 459602f37b08..c245464362d4 100644 --- a/sdk/nodejs/cdn/v20230501/afdoriginGroup.ts +++ b/sdk/nodejs/cdn/v20230501/afdoriginGroup.ts @@ -117,7 +117,7 @@ export class AFDOriginGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOriginGroup" }, { type: "azure-native:cdn/v20200901:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOriginGroup" }, { type: "azure-native:cdn/v20200901:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20230701preview:AFDOriginGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AFDOriginGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/customDomain.ts b/sdk/nodejs/cdn/v20230501/customDomain.ts index 56a8532a9943..249e3d6054b3 100644 --- a/sdk/nodejs/cdn/v20230501/customDomain.ts +++ b/sdk/nodejs/cdn/v20230501/customDomain.ts @@ -128,7 +128,7 @@ export class CustomDomain extends pulumi.CustomResource { resourceInputs["validationData"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:CustomDomain" }, { type: "azure-native:cdn/v20150601:CustomDomain" }, { type: "azure-native:cdn/v20160402:CustomDomain" }, { type: "azure-native:cdn/v20161002:CustomDomain" }, { type: "azure-native:cdn/v20170402:CustomDomain" }, { type: "azure-native:cdn/v20171012:CustomDomain" }, { type: "azure-native:cdn/v20190415:CustomDomain" }, { type: "azure-native:cdn/v20190615:CustomDomain" }, { type: "azure-native:cdn/v20190615preview:CustomDomain" }, { type: "azure-native:cdn/v20191231:CustomDomain" }, { type: "azure-native:cdn/v20200331:CustomDomain" }, { type: "azure-native:cdn/v20200415:CustomDomain" }, { type: "azure-native:cdn/v20200901:CustomDomain" }, { type: "azure-native:cdn/v20210601:CustomDomain" }, { type: "azure-native:cdn/v20220501preview:CustomDomain" }, { type: "azure-native:cdn/v20221101preview:CustomDomain" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:CustomDomain" }, { type: "azure-native:cdn/v20150601:CustomDomain" }, { type: "azure-native:cdn/v20160402:CustomDomain" }, { type: "azure-native:cdn/v20161002:CustomDomain" }, { type: "azure-native:cdn/v20170402:CustomDomain" }, { type: "azure-native:cdn/v20171012:CustomDomain" }, { type: "azure-native:cdn/v20190415:CustomDomain" }, { type: "azure-native:cdn/v20190615:CustomDomain" }, { type: "azure-native:cdn/v20190615preview:CustomDomain" }, { type: "azure-native:cdn/v20191231:CustomDomain" }, { type: "azure-native:cdn/v20200331:CustomDomain" }, { type: "azure-native:cdn/v20200415:CustomDomain" }, { type: "azure-native:cdn/v20200901:CustomDomain" }, { type: "azure-native:cdn/v20210601:CustomDomain" }, { type: "azure-native:cdn/v20220501preview:CustomDomain" }, { type: "azure-native:cdn/v20221101preview:CustomDomain" }, { type: "azure-native:cdn/v20230701preview:CustomDomain" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CustomDomain.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/endpoint.ts b/sdk/nodejs/cdn/v20230501/endpoint.ts index c0e0c0a61233..8e4659f33b27 100644 --- a/sdk/nodejs/cdn/v20230501/endpoint.ts +++ b/sdk/nodejs/cdn/v20230501/endpoint.ts @@ -214,7 +214,7 @@ export class Endpoint extends pulumi.CustomResource { resourceInputs["webApplicationFirewallPolicyLink"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Endpoint" }, { type: "azure-native:cdn/v20150601:Endpoint" }, { type: "azure-native:cdn/v20160402:Endpoint" }, { type: "azure-native:cdn/v20161002:Endpoint" }, { type: "azure-native:cdn/v20170402:Endpoint" }, { type: "azure-native:cdn/v20171012:Endpoint" }, { type: "azure-native:cdn/v20190415:Endpoint" }, { type: "azure-native:cdn/v20190615:Endpoint" }, { type: "azure-native:cdn/v20190615preview:Endpoint" }, { type: "azure-native:cdn/v20191231:Endpoint" }, { type: "azure-native:cdn/v20200331:Endpoint" }, { type: "azure-native:cdn/v20200415:Endpoint" }, { type: "azure-native:cdn/v20200901:Endpoint" }, { type: "azure-native:cdn/v20210601:Endpoint" }, { type: "azure-native:cdn/v20220501preview:Endpoint" }, { type: "azure-native:cdn/v20221101preview:Endpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Endpoint" }, { type: "azure-native:cdn/v20150601:Endpoint" }, { type: "azure-native:cdn/v20160402:Endpoint" }, { type: "azure-native:cdn/v20161002:Endpoint" }, { type: "azure-native:cdn/v20170402:Endpoint" }, { type: "azure-native:cdn/v20171012:Endpoint" }, { type: "azure-native:cdn/v20190415:Endpoint" }, { type: "azure-native:cdn/v20190615:Endpoint" }, { type: "azure-native:cdn/v20190615preview:Endpoint" }, { type: "azure-native:cdn/v20191231:Endpoint" }, { type: "azure-native:cdn/v20200331:Endpoint" }, { type: "azure-native:cdn/v20200415:Endpoint" }, { type: "azure-native:cdn/v20200901:Endpoint" }, { type: "azure-native:cdn/v20210601:Endpoint" }, { type: "azure-native:cdn/v20220501preview:Endpoint" }, { type: "azure-native:cdn/v20221101preview:Endpoint" }, { type: "azure-native:cdn/v20230701preview:Endpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Endpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/origin.ts b/sdk/nodejs/cdn/v20230501/origin.ts index 76d47ed3449d..6de8e5b46921 100644 --- a/sdk/nodejs/cdn/v20230501/origin.ts +++ b/sdk/nodejs/cdn/v20230501/origin.ts @@ -170,7 +170,7 @@ export class Origin extends pulumi.CustomResource { resourceInputs["weight"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Origin" }, { type: "azure-native:cdn/v20150601:Origin" }, { type: "azure-native:cdn/v20160402:Origin" }, { type: "azure-native:cdn/v20191231:Origin" }, { type: "azure-native:cdn/v20200331:Origin" }, { type: "azure-native:cdn/v20200415:Origin" }, { type: "azure-native:cdn/v20200901:Origin" }, { type: "azure-native:cdn/v20210601:Origin" }, { type: "azure-native:cdn/v20220501preview:Origin" }, { type: "azure-native:cdn/v20221101preview:Origin" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Origin" }, { type: "azure-native:cdn/v20150601:Origin" }, { type: "azure-native:cdn/v20160402:Origin" }, { type: "azure-native:cdn/v20191231:Origin" }, { type: "azure-native:cdn/v20200331:Origin" }, { type: "azure-native:cdn/v20200415:Origin" }, { type: "azure-native:cdn/v20200901:Origin" }, { type: "azure-native:cdn/v20210601:Origin" }, { type: "azure-native:cdn/v20220501preview:Origin" }, { type: "azure-native:cdn/v20221101preview:Origin" }, { type: "azure-native:cdn/v20230701preview:Origin" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Origin.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/originGroup.ts b/sdk/nodejs/cdn/v20230501/originGroup.ts index 5bcddd5becc9..46f96e7a4da7 100644 --- a/sdk/nodejs/cdn/v20230501/originGroup.ts +++ b/sdk/nodejs/cdn/v20230501/originGroup.ts @@ -122,7 +122,7 @@ export class OriginGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:OriginGroup" }, { type: "azure-native:cdn/v20191231:OriginGroup" }, { type: "azure-native:cdn/v20200331:OriginGroup" }, { type: "azure-native:cdn/v20200415:OriginGroup" }, { type: "azure-native:cdn/v20200901:OriginGroup" }, { type: "azure-native:cdn/v20210601:OriginGroup" }, { type: "azure-native:cdn/v20220501preview:OriginGroup" }, { type: "azure-native:cdn/v20221101preview:OriginGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:OriginGroup" }, { type: "azure-native:cdn/v20191231:OriginGroup" }, { type: "azure-native:cdn/v20200331:OriginGroup" }, { type: "azure-native:cdn/v20200415:OriginGroup" }, { type: "azure-native:cdn/v20200901:OriginGroup" }, { type: "azure-native:cdn/v20210601:OriginGroup" }, { type: "azure-native:cdn/v20220501preview:OriginGroup" }, { type: "azure-native:cdn/v20221101preview:OriginGroup" }, { type: "azure-native:cdn/v20230701preview:OriginGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OriginGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/policy.ts b/sdk/nodejs/cdn/v20230501/policy.ts index 77af824abebf..145fee8c56dc 100644 --- a/sdk/nodejs/cdn/v20230501/policy.ts +++ b/sdk/nodejs/cdn/v20230501/policy.ts @@ -147,7 +147,7 @@ export class Policy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Policy" }, { type: "azure-native:cdn/v20190615:Policy" }, { type: "azure-native:cdn/v20190615preview:Policy" }, { type: "azure-native:cdn/v20200331:Policy" }, { type: "azure-native:cdn/v20200415:Policy" }, { type: "azure-native:cdn/v20200901:Policy" }, { type: "azure-native:cdn/v20210601:Policy" }, { type: "azure-native:cdn/v20220501preview:Policy" }, { type: "azure-native:cdn/v20221101preview:Policy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Policy" }, { type: "azure-native:cdn/v20190615:Policy" }, { type: "azure-native:cdn/v20190615preview:Policy" }, { type: "azure-native:cdn/v20200331:Policy" }, { type: "azure-native:cdn/v20200415:Policy" }, { type: "azure-native:cdn/v20200901:Policy" }, { type: "azure-native:cdn/v20210601:Policy" }, { type: "azure-native:cdn/v20220501preview:Policy" }, { type: "azure-native:cdn/v20221101preview:Policy" }, { type: "azure-native:cdn/v20230701preview:Policy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Policy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/profile.ts b/sdk/nodejs/cdn/v20230501/profile.ts index 2dbaf752ab34..9a2fa15f8590 100644 --- a/sdk/nodejs/cdn/v20230501/profile.ts +++ b/sdk/nodejs/cdn/v20230501/profile.ts @@ -138,7 +138,7 @@ export class Profile extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Profile" }, { type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20200901:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Profile" }, { type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20200901:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }, { type: "azure-native:cdn/v20230701preview:Profile" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Profile.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/route.ts b/sdk/nodejs/cdn/v20230501/route.ts index 2a0d6ceec638..e725f308c5b8 100644 --- a/sdk/nodejs/cdn/v20230501/route.ts +++ b/sdk/nodejs/cdn/v20230501/route.ts @@ -166,7 +166,7 @@ export class Route extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Route" }, { type: "azure-native:cdn/v20200901:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Route" }, { type: "azure-native:cdn/v20200901:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }, { type: "azure-native:cdn/v20230701preview:Route" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Route.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/rule.ts b/sdk/nodejs/cdn/v20230501/rule.ts index d7b00a89371e..d2e5587602cc 100644 --- a/sdk/nodejs/cdn/v20230501/rule.ts +++ b/sdk/nodejs/cdn/v20230501/rule.ts @@ -127,7 +127,7 @@ export class Rule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Rule" }, { type: "azure-native:cdn/v20200901:Rule" }, { type: "azure-native:cdn/v20210601:Rule" }, { type: "azure-native:cdn/v20220501preview:Rule" }, { type: "azure-native:cdn/v20221101preview:Rule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Rule" }, { type: "azure-native:cdn/v20200901:Rule" }, { type: "azure-native:cdn/v20210601:Rule" }, { type: "azure-native:cdn/v20220501preview:Rule" }, { type: "azure-native:cdn/v20221101preview:Rule" }, { type: "azure-native:cdn/v20230701preview:Rule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Rule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/ruleSet.ts b/sdk/nodejs/cdn/v20230501/ruleSet.ts index cca28876f44b..2870dd97de66 100644 --- a/sdk/nodejs/cdn/v20230501/ruleSet.ts +++ b/sdk/nodejs/cdn/v20230501/ruleSet.ts @@ -93,7 +93,7 @@ export class RuleSet extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:RuleSet" }, { type: "azure-native:cdn/v20200901:RuleSet" }, { type: "azure-native:cdn/v20210601:RuleSet" }, { type: "azure-native:cdn/v20220501preview:RuleSet" }, { type: "azure-native:cdn/v20221101preview:RuleSet" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:RuleSet" }, { type: "azure-native:cdn/v20200901:RuleSet" }, { type: "azure-native:cdn/v20210601:RuleSet" }, { type: "azure-native:cdn/v20220501preview:RuleSet" }, { type: "azure-native:cdn/v20221101preview:RuleSet" }, { type: "azure-native:cdn/v20230701preview:RuleSet" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(RuleSet.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/secret.ts b/sdk/nodejs/cdn/v20230501/secret.ts index 62768e3e146b..0d59f2a0eb88 100644 --- a/sdk/nodejs/cdn/v20230501/secret.ts +++ b/sdk/nodejs/cdn/v20230501/secret.ts @@ -99,7 +99,7 @@ export class Secret extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:Secret" }, { type: "azure-native:cdn/v20200901:Secret" }, { type: "azure-native:cdn/v20210601:Secret" }, { type: "azure-native:cdn/v20220501preview:Secret" }, { type: "azure-native:cdn/v20221101preview:Secret" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Secret" }, { type: "azure-native:cdn/v20200901:Secret" }, { type: "azure-native:cdn/v20210601:Secret" }, { type: "azure-native:cdn/v20220501preview:Secret" }, { type: "azure-native:cdn/v20221101preview:Secret" }, { type: "azure-native:cdn/v20230701preview:Secret" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Secret.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230501/securityPolicy.ts b/sdk/nodejs/cdn/v20230501/securityPolicy.ts index 2a53e4d78460..1bbd15c396e1 100644 --- a/sdk/nodejs/cdn/v20230501/securityPolicy.ts +++ b/sdk/nodejs/cdn/v20230501/securityPolicy.ts @@ -99,7 +99,7 @@ export class SecurityPolicy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:cdn:SecurityPolicy" }, { type: "azure-native:cdn/v20200901:SecurityPolicy" }, { type: "azure-native:cdn/v20210601:SecurityPolicy" }, { type: "azure-native:cdn/v20220501preview:SecurityPolicy" }, { type: "azure-native:cdn/v20221101preview:SecurityPolicy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:cdn:SecurityPolicy" }, { type: "azure-native:cdn/v20200901:SecurityPolicy" }, { type: "azure-native:cdn/v20210601:SecurityPolicy" }, { type: "azure-native:cdn/v20220501preview:SecurityPolicy" }, { type: "azure-native:cdn/v20221101preview:SecurityPolicy" }, { type: "azure-native:cdn/v20230701preview:SecurityPolicy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityPolicy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/cdn/v20230701preview/afdcustomDomain.ts b/sdk/nodejs/cdn/v20230701preview/afdcustomDomain.ts new file mode 100644 index 000000000000..f464cf197a41 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/afdcustomDomain.ts @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + */ +export class AFDCustomDomain extends pulumi.CustomResource { + /** + * Get an existing AFDCustomDomain 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AFDCustomDomain { + return new AFDCustomDomain(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:AFDCustomDomain'; + + /** + * Returns true if the given object is an instance of AFDCustomDomain. 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 AFDCustomDomain { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AFDCustomDomain.__pulumiType; + } + + /** + * Resource reference to the Azure DNS zone + */ + public readonly azureDnsZone!: pulumi.Output; + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + */ + public /*out*/ readonly domainValidationState!: pulumi.Output; + /** + * Key-Value pair representing migration properties for domains. + */ + public readonly extendedProperties!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The host name of the domain. Must be a domain name. + */ + public readonly hostName!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Resource reference to the Azure resource where custom domain ownership was prevalidated + */ + public readonly preValidatedCustomDomainResourceId!: pulumi.Output; + /** + * The name of the profile which holds the domain. + */ + public readonly profileName!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + */ + public readonly tlsSettings!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Values the customer needs to validate domain ownership + */ + public /*out*/ readonly validationProperties!: pulumi.Output; + + /** + * Create a AFDCustomDomain 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: AFDCustomDomainArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.hostName === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostName'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["azureDnsZone"] = args ? args.azureDnsZone : undefined; + resourceInputs["customDomainName"] = args ? args.customDomainName : undefined; + resourceInputs["extendedProperties"] = args ? args.extendedProperties : undefined; + resourceInputs["hostName"] = args ? args.hostName : undefined; + resourceInputs["preValidatedCustomDomainResourceId"] = args ? args.preValidatedCustomDomainResourceId : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tlsSettings"] = args ? args.tlsSettings : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["domainValidationState"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationProperties"] = undefined /*out*/; + } else { + resourceInputs["azureDnsZone"] = undefined /*out*/; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["domainValidationState"] = undefined /*out*/; + resourceInputs["extendedProperties"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["preValidatedCustomDomainResourceId"] = undefined /*out*/; + resourceInputs["profileName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tlsSettings"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationProperties"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDCustomDomain" }, { type: "azure-native:cdn/v20200901:AFDCustomDomain" }, { type: "azure-native:cdn/v20210601:AFDCustomDomain" }, { type: "azure-native:cdn/v20220501preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20221101preview:AFDCustomDomain" }, { type: "azure-native:cdn/v20230501:AFDCustomDomain" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AFDCustomDomain.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AFDCustomDomain resource. + */ +export interface AFDCustomDomainArgs { + /** + * Resource reference to the Azure DNS zone + */ + azureDnsZone?: pulumi.Input; + /** + * Name of the domain under the profile which is unique globally + */ + customDomainName?: pulumi.Input; + /** + * Key-Value pair representing migration properties for domains. + */ + extendedProperties?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The host name of the domain. Must be a domain name. + */ + hostName: pulumi.Input; + /** + * Resource reference to the Azure resource where custom domain ownership was prevalidated + */ + preValidatedCustomDomainResourceId?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + */ + tlsSettings?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/afdendpoint.ts b/sdk/nodejs/cdn/v20230701preview/afdendpoint.ts new file mode 100644 index 000000000000..376bc26cfca8 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/afdendpoint.ts @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. + */ +export class AFDEndpoint extends pulumi.CustomResource { + /** + * Get an existing AFDEndpoint 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AFDEndpoint { + return new AFDEndpoint(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:AFDEndpoint'; + + /** + * Returns true if the given object is an instance of AFDEndpoint. 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 AFDEndpoint { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AFDEndpoint.__pulumiType; + } + + /** + * Indicates the endpoint name reuse scope. The default value is TenantReuse. + */ + public readonly autoGeneratedDomainNameLabelScope!: pulumi.Output; + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ + public readonly enabledState!: pulumi.Output; + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + */ + public /*out*/ readonly hostName!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The name of the profile which holds the endpoint. + */ + public readonly profileName!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AFDEndpoint 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: AFDEndpointArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["autoGeneratedDomainNameLabelScope"] = args ? args.autoGeneratedDomainNameLabelScope : undefined; + resourceInputs["enabledState"] = args ? args.enabledState : undefined; + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["autoGeneratedDomainNameLabelScope"] = undefined /*out*/; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["enabledState"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["profileName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDEndpoint" }, { type: "azure-native:cdn/v20200901:AFDEndpoint" }, { type: "azure-native:cdn/v20210601:AFDEndpoint" }, { type: "azure-native:cdn/v20220501preview:AFDEndpoint" }, { type: "azure-native:cdn/v20221101preview:AFDEndpoint" }, { type: "azure-native:cdn/v20230501:AFDEndpoint" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AFDEndpoint.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AFDEndpoint resource. + */ +export interface AFDEndpointArgs { + /** + * Indicates the endpoint name reuse scope. The default value is TenantReuse. + */ + autoGeneratedDomainNameLabelScope?: pulumi.Input; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ + enabledState?: pulumi.Input; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName?: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/cdn/v20230701preview/afdorigin.ts b/sdk/nodejs/cdn/v20230701preview/afdorigin.ts new file mode 100644 index 000000000000..67c585555380 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/afdorigin.ts @@ -0,0 +1,229 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + */ +export class AFDOrigin extends pulumi.CustomResource { + /** + * Get an existing AFDOrigin 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AFDOrigin { + return new AFDOrigin(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:AFDOrigin'; + + /** + * Returns true if the given object is an instance of AFDOrigin. 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 AFDOrigin { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AFDOrigin.__pulumiType; + } + + /** + * Resource reference to the Azure origin resource. + */ + public readonly azureOrigin!: pulumi.Output; + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + */ + public readonly enabledState!: pulumi.Output; + /** + * Whether to enable certificate name check at origin level + */ + public readonly enforceCertificateNameCheck!: pulumi.Output; + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + */ + public readonly hostName!: pulumi.Output; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + public readonly httpPort!: pulumi.Output; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + public readonly httpsPort!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The name of the origin group which contains this origin. + */ + public readonly originGroupName!: pulumi.Output; + /** + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + */ + public readonly originHostHeader!: pulumi.Output; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + */ + public readonly priority!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The properties of the private link resource for private origin. + */ + public readonly sharedPrivateLinkResource!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + public readonly weight!: pulumi.Output; + + /** + * Create a AFDOrigin 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: AFDOriginArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.hostName === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostName'"); + } + if ((!args || args.originGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'originGroupName'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["azureOrigin"] = args ? args.azureOrigin : undefined; + resourceInputs["enabledState"] = args ? args.enabledState : undefined; + resourceInputs["enforceCertificateNameCheck"] = (args ? args.enforceCertificateNameCheck : undefined) ?? true; + resourceInputs["hostName"] = args ? args.hostName : undefined; + resourceInputs["httpPort"] = (args ? args.httpPort : undefined) ?? 80; + resourceInputs["httpsPort"] = (args ? args.httpsPort : undefined) ?? 443; + resourceInputs["originGroupName"] = args ? args.originGroupName : undefined; + resourceInputs["originHostHeader"] = args ? args.originHostHeader : undefined; + resourceInputs["originName"] = args ? args.originName : undefined; + resourceInputs["priority"] = args ? args.priority : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sharedPrivateLinkResource"] = args ? args.sharedPrivateLinkResource : undefined; + resourceInputs["weight"] = args ? args.weight : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["azureOrigin"] = undefined /*out*/; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["enabledState"] = undefined /*out*/; + resourceInputs["enforceCertificateNameCheck"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["httpPort"] = undefined /*out*/; + resourceInputs["httpsPort"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["originGroupName"] = undefined /*out*/; + resourceInputs["originHostHeader"] = undefined /*out*/; + resourceInputs["priority"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sharedPrivateLinkResource"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["weight"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOrigin" }, { type: "azure-native:cdn/v20200901:AFDOrigin" }, { type: "azure-native:cdn/v20210601:AFDOrigin" }, { type: "azure-native:cdn/v20220501preview:AFDOrigin" }, { type: "azure-native:cdn/v20221101preview:AFDOrigin" }, { type: "azure-native:cdn/v20230501:AFDOrigin" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AFDOrigin.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AFDOrigin resource. + */ +export interface AFDOriginArgs { + /** + * Resource reference to the Azure origin resource. + */ + azureOrigin?: pulumi.Input; + /** + * Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + */ + enabledState?: pulumi.Input; + /** + * Whether to enable certificate name check at origin level + */ + enforceCertificateNameCheck?: pulumi.Input; + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + */ + hostName: pulumi.Input; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + httpPort?: pulumi.Input; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + httpsPort?: pulumi.Input; + /** + * Name of the origin group which is unique within the profile. + */ + originGroupName: pulumi.Input; + /** + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + */ + originHostHeader?: pulumi.Input; + /** + * Name of the origin that is unique within the profile. + */ + originName?: pulumi.Input; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + */ + priority?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * The properties of the private link resource for private origin. + */ + sharedPrivateLinkResource?: pulumi.Input; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + weight?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/afdoriginGroup.ts b/sdk/nodejs/cdn/v20230701preview/afdoriginGroup.ts new file mode 100644 index 000000000000..2604433d0155 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/afdoriginGroup.ts @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door. + */ +export class AFDOriginGroup extends pulumi.CustomResource { + /** + * Get an existing AFDOriginGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AFDOriginGroup { + return new AFDOriginGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:AFDOriginGroup'; + + /** + * Returns true if the given object is an instance of AFDOriginGroup. 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 AFDOriginGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AFDOriginGroup.__pulumiType; + } + + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Health probe settings to the origin that is used to determine the health of the origin. + */ + public readonly healthProbeSettings!: pulumi.Output; + /** + * Load balancing settings for a backend pool + */ + public readonly loadBalancingSettings!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The name of the profile which holds the origin group. + */ + public readonly profileName!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + */ + public readonly sessionAffinityState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + public readonly trafficRestorationTimeToHealedOrNewEndpointsInMinutes!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AFDOriginGroup 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: AFDOriginGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["healthProbeSettings"] = args ? args.healthProbeSettings : undefined; + resourceInputs["loadBalancingSettings"] = args ? args.loadBalancingSettings : undefined; + resourceInputs["originGroupName"] = args ? args.originGroupName : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sessionAffinityState"] = args ? args.sessionAffinityState : undefined; + resourceInputs["trafficRestorationTimeToHealedOrNewEndpointsInMinutes"] = args ? args.trafficRestorationTimeToHealedOrNewEndpointsInMinutes : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["healthProbeSettings"] = undefined /*out*/; + resourceInputs["loadBalancingSettings"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["profileName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sessionAffinityState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["trafficRestorationTimeToHealedOrNewEndpointsInMinutes"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:AFDOriginGroup" }, { type: "azure-native:cdn/v20200901:AFDOriginGroup" }, { type: "azure-native:cdn/v20210601:AFDOriginGroup" }, { type: "azure-native:cdn/v20220501preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20221101preview:AFDOriginGroup" }, { type: "azure-native:cdn/v20230501:AFDOriginGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AFDOriginGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AFDOriginGroup resource. + */ +export interface AFDOriginGroupArgs { + /** + * Health probe settings to the origin that is used to determine the health of the origin. + */ + healthProbeSettings?: pulumi.Input; + /** + * Load balancing settings for a backend pool + */ + loadBalancingSettings?: pulumi.Input; + /** + * Name of the origin group which is unique within the endpoint. + */ + originGroupName?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + */ + sessionAffinityState?: pulumi.Input; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/customDomain.ts b/sdk/nodejs/cdn/v20230701preview/customDomain.ts new file mode 100644 index 000000000000..11aad02da09e --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/customDomain.ts @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + */ +export class CustomDomain extends pulumi.CustomResource { + /** + * Get an existing CustomDomain 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CustomDomain { + return new CustomDomain(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:CustomDomain'; + + /** + * Returns true if the given object is an instance of CustomDomain. 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 CustomDomain { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CustomDomain.__pulumiType; + } + + /** + * Certificate parameters for securing custom HTTPS + */ + public /*out*/ readonly customHttpsParameters!: pulumi.Output; + /** + * Provisioning status of the custom domain. + */ + public /*out*/ readonly customHttpsProvisioningState!: pulumi.Output; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + */ + public /*out*/ readonly customHttpsProvisioningSubstate!: pulumi.Output; + /** + * The host name of the custom domain. Must be a domain name. + */ + public readonly hostName!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Provisioning status of Custom Https of the custom domain. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Resource status of the custom domain. + */ + public /*out*/ readonly resourceState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + */ + public /*out*/ readonly validationData!: pulumi.Output; + + /** + * Create a CustomDomain 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: CustomDomainArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.endpointName === undefined) && !opts.urn) { + throw new Error("Missing required property 'endpointName'"); + } + if ((!args || args.hostName === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostName'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["customDomainName"] = args ? args.customDomainName : undefined; + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["hostName"] = args ? args.hostName : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["customHttpsParameters"] = undefined /*out*/; + resourceInputs["customHttpsProvisioningState"] = undefined /*out*/; + resourceInputs["customHttpsProvisioningSubstate"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationData"] = undefined /*out*/; + } else { + resourceInputs["customHttpsParameters"] = undefined /*out*/; + resourceInputs["customHttpsProvisioningState"] = undefined /*out*/; + resourceInputs["customHttpsProvisioningSubstate"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationData"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:CustomDomain" }, { type: "azure-native:cdn/v20150601:CustomDomain" }, { type: "azure-native:cdn/v20160402:CustomDomain" }, { type: "azure-native:cdn/v20161002:CustomDomain" }, { type: "azure-native:cdn/v20170402:CustomDomain" }, { type: "azure-native:cdn/v20171012:CustomDomain" }, { type: "azure-native:cdn/v20190415:CustomDomain" }, { type: "azure-native:cdn/v20190615:CustomDomain" }, { type: "azure-native:cdn/v20190615preview:CustomDomain" }, { type: "azure-native:cdn/v20191231:CustomDomain" }, { type: "azure-native:cdn/v20200331:CustomDomain" }, { type: "azure-native:cdn/v20200415:CustomDomain" }, { type: "azure-native:cdn/v20200901:CustomDomain" }, { type: "azure-native:cdn/v20210601:CustomDomain" }, { type: "azure-native:cdn/v20220501preview:CustomDomain" }, { type: "azure-native:cdn/v20221101preview:CustomDomain" }, { type: "azure-native:cdn/v20230501:CustomDomain" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CustomDomain.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CustomDomain resource. + */ +export interface CustomDomainArgs { + /** + * Name of the custom domain within an endpoint. + */ + customDomainName?: pulumi.Input; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * The host name of the custom domain. Must be a domain name. + */ + hostName: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/endpoint.ts b/sdk/nodejs/cdn/v20230701preview/endpoint.ts new file mode 100644 index 000000000000..72c8c61fce45 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/endpoint.ts @@ -0,0 +1,311 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. + */ +export class Endpoint extends pulumi.CustomResource { + /** + * Get an existing Endpoint 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Endpoint { + return new Endpoint(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Endpoint'; + + /** + * Returns true if the given object is an instance of Endpoint. 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 Endpoint { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Endpoint.__pulumiType; + } + + /** + * List of content types on which compression applies. The value should be a valid MIME type. + */ + public readonly contentTypesToCompress!: pulumi.Output; + /** + * The custom domains under the endpoint. + */ + public /*out*/ readonly customDomains!: pulumi.Output; + /** + * A reference to the origin group. + */ + public readonly defaultOriginGroup!: pulumi.Output; + /** + * A policy that specifies the delivery rules to be used for an endpoint. + */ + public readonly deliveryPolicy!: pulumi.Output; + /** + * List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + */ + public readonly geoFilters!: pulumi.Output; + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + */ + public /*out*/ readonly hostName!: pulumi.Output; + /** + * Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + */ + public readonly isCompressionEnabled!: pulumi.Output; + /** + * Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + public readonly isHttpAllowed!: pulumi.Output; + /** + * Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + public readonly isHttpsAllowed!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + */ + public readonly optimizationType!: pulumi.Output; + /** + * The origin groups comprising of origins that are used for load balancing the traffic based on availability. + */ + public readonly originGroups!: pulumi.Output; + /** + * The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + */ + public readonly originHostHeader!: pulumi.Output; + /** + * A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + */ + public readonly originPath!: pulumi.Output; + /** + * The source of the content being delivered via CDN. + */ + public readonly origins!: pulumi.Output; + /** + * Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + */ + public readonly probePath!: pulumi.Output; + /** + * Provisioning status of the endpoint. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + */ + public readonly queryStringCachingBehavior!: pulumi.Output; + /** + * Resource status of the endpoint. + */ + public /*out*/ readonly resourceState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * List of keys used to validate the signed URL hashes. + */ + public readonly urlSigningKeys!: pulumi.Output; + /** + * Defines the Web Application Firewall policy for the endpoint (if applicable) + */ + public readonly webApplicationFirewallPolicyLink!: pulumi.Output; + + /** + * Create a Endpoint 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: EndpointArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.origins === undefined) && !opts.urn) { + throw new Error("Missing required property 'origins'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["contentTypesToCompress"] = args ? args.contentTypesToCompress : undefined; + resourceInputs["defaultOriginGroup"] = args ? args.defaultOriginGroup : undefined; + resourceInputs["deliveryPolicy"] = args ? args.deliveryPolicy : undefined; + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["geoFilters"] = args ? args.geoFilters : undefined; + resourceInputs["isCompressionEnabled"] = args ? args.isCompressionEnabled : undefined; + resourceInputs["isHttpAllowed"] = (args ? args.isHttpAllowed : undefined) ?? true; + resourceInputs["isHttpsAllowed"] = (args ? args.isHttpsAllowed : undefined) ?? true; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["optimizationType"] = args ? args.optimizationType : undefined; + resourceInputs["originGroups"] = args ? args.originGroups : undefined; + resourceInputs["originHostHeader"] = args ? args.originHostHeader : undefined; + resourceInputs["originPath"] = args ? args.originPath : undefined; + resourceInputs["origins"] = args ? args.origins : undefined; + resourceInputs["probePath"] = args ? args.probePath : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["queryStringCachingBehavior"] = (args ? args.queryStringCachingBehavior : undefined) ?? "NotSet"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["urlSigningKeys"] = args ? args.urlSigningKeys : undefined; + resourceInputs["webApplicationFirewallPolicyLink"] = args ? args.webApplicationFirewallPolicyLink : undefined; + resourceInputs["customDomains"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["contentTypesToCompress"] = undefined /*out*/; + resourceInputs["customDomains"] = undefined /*out*/; + resourceInputs["defaultOriginGroup"] = undefined /*out*/; + resourceInputs["deliveryPolicy"] = undefined /*out*/; + resourceInputs["geoFilters"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["isCompressionEnabled"] = undefined /*out*/; + resourceInputs["isHttpAllowed"] = undefined /*out*/; + resourceInputs["isHttpsAllowed"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["optimizationType"] = undefined /*out*/; + resourceInputs["originGroups"] = undefined /*out*/; + resourceInputs["originHostHeader"] = undefined /*out*/; + resourceInputs["originPath"] = undefined /*out*/; + resourceInputs["origins"] = undefined /*out*/; + resourceInputs["probePath"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["queryStringCachingBehavior"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["urlSigningKeys"] = undefined /*out*/; + resourceInputs["webApplicationFirewallPolicyLink"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Endpoint" }, { type: "azure-native:cdn/v20150601:Endpoint" }, { type: "azure-native:cdn/v20160402:Endpoint" }, { type: "azure-native:cdn/v20161002:Endpoint" }, { type: "azure-native:cdn/v20170402:Endpoint" }, { type: "azure-native:cdn/v20171012:Endpoint" }, { type: "azure-native:cdn/v20190415:Endpoint" }, { type: "azure-native:cdn/v20190615:Endpoint" }, { type: "azure-native:cdn/v20190615preview:Endpoint" }, { type: "azure-native:cdn/v20191231:Endpoint" }, { type: "azure-native:cdn/v20200331:Endpoint" }, { type: "azure-native:cdn/v20200415:Endpoint" }, { type: "azure-native:cdn/v20200901:Endpoint" }, { type: "azure-native:cdn/v20210601:Endpoint" }, { type: "azure-native:cdn/v20220501preview:Endpoint" }, { type: "azure-native:cdn/v20221101preview:Endpoint" }, { type: "azure-native:cdn/v20230501:Endpoint" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Endpoint.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Endpoint resource. + */ +export interface EndpointArgs { + /** + * List of content types on which compression applies. The value should be a valid MIME type. + */ + contentTypesToCompress?: pulumi.Input[]>; + /** + * A reference to the origin group. + */ + defaultOriginGroup?: pulumi.Input; + /** + * A policy that specifies the delivery rules to be used for an endpoint. + */ + deliveryPolicy?: pulumi.Input; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName?: pulumi.Input; + /** + * List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + */ + geoFilters?: pulumi.Input[]>; + /** + * Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + */ + isCompressionEnabled?: pulumi.Input; + /** + * Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + isHttpAllowed?: pulumi.Input; + /** + * Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + isHttpsAllowed?: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + */ + optimizationType?: pulumi.Input; + /** + * The origin groups comprising of origins that are used for load balancing the traffic based on availability. + */ + originGroups?: pulumi.Input[]>; + /** + * The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + */ + originHostHeader?: pulumi.Input; + /** + * A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + */ + originPath?: pulumi.Input; + /** + * The source of the content being delivered via CDN. + */ + origins: pulumi.Input[]>; + /** + * Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + */ + probePath?: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + */ + queryStringCachingBehavior?: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * List of keys used to validate the signed URL hashes. + */ + urlSigningKeys?: pulumi.Input[]>; + /** + * Defines the Web Application Firewall policy for the endpoint (if applicable) + */ + webApplicationFirewallPolicyLink?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getAFDCustomDomain.ts b/sdk/nodejs/cdn/v20230701preview/getAFDCustomDomain.ts new file mode 100644 index 000000000000..f1221f51f900 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getAFDCustomDomain.ts @@ -0,0 +1,116 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. + */ +export function getAFDCustomDomain(args: GetAFDCustomDomainArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getAFDCustomDomain", { + "customDomainName": args.customDomainName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAFDCustomDomainArgs { + /** + * Name of the domain under the profile which is unique globally. + */ + customDomainName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + */ +export interface GetAFDCustomDomainResult { + /** + * Resource reference to the Azure DNS zone + */ + readonly azureDnsZone?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + readonly deploymentStatus: string; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + */ + readonly domainValidationState: string; + /** + * Key-Value pair representing migration properties for domains. + */ + readonly extendedProperties?: {[key: string]: string}; + /** + * The host name of the domain. Must be a domain name. + */ + readonly hostName: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * Resource reference to the Azure resource where custom domain ownership was prevalidated + */ + readonly preValidatedCustomDomainResourceId?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + /** + * The name of the profile which holds the domain. + */ + readonly profileName: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + */ + readonly tlsSettings?: outputs.cdn.v20230701preview.AFDDomainHttpsParametersResponse; + /** + * Resource type. + */ + readonly type: string; + /** + * Values the customer needs to validate domain ownership + */ + readonly validationProperties: outputs.cdn.v20230701preview.DomainValidationPropertiesResponse; +} +/** + * Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. + */ +export function getAFDCustomDomainOutput(args: GetAFDCustomDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAFDCustomDomain(a, opts)) +} + +export interface GetAFDCustomDomainOutputArgs { + /** + * Name of the domain under the profile which is unique globally. + */ + customDomainName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getAFDEndpoint.ts b/sdk/nodejs/cdn/v20230701preview/getAFDEndpoint.ts new file mode 100644 index 000000000000..6a388fad1d94 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getAFDEndpoint.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. + */ +export function getAFDEndpoint(args: GetAFDEndpointArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getAFDEndpoint", { + "endpointName": args.endpointName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAFDEndpointArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. + */ +export interface GetAFDEndpointResult { + /** + * Indicates the endpoint name reuse scope. The default value is TenantReuse. + */ + readonly autoGeneratedDomainNameLabelScope?: string; + readonly deploymentStatus: string; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ + readonly enabledState?: string; + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + */ + readonly hostName: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource location. + */ + readonly location: string; + /** + * Resource name. + */ + readonly name: string; + /** + * The name of the profile which holds the endpoint. + */ + readonly profileName: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. + */ +export function getAFDEndpointOutput(args: GetAFDEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAFDEndpoint(a, opts)) +} + +export interface GetAFDEndpointOutputArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getAFDOrigin.ts b/sdk/nodejs/cdn/v20230701preview/getAFDOrigin.ts new file mode 100644 index 000000000000..4e6e368e5170 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getAFDOrigin.ts @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing origin within an origin group. + */ +export function getAFDOrigin(args: GetAFDOriginArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getAFDOrigin", { + "originGroupName": args.originGroupName, + "originName": args.originName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAFDOriginArgs { + /** + * Name of the origin group which is unique within the profile. + */ + originGroupName: string; + /** + * Name of the origin which is unique within the profile. + */ + originName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + */ +export interface GetAFDOriginResult { + /** + * Resource reference to the Azure origin resource. + */ + readonly azureOrigin?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + readonly deploymentStatus: string; + /** + * Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + */ + readonly enabledState?: string; + /** + * Whether to enable certificate name check at origin level + */ + readonly enforceCertificateNameCheck?: boolean; + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + */ + readonly hostName: string; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + readonly httpPort?: number; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + readonly httpsPort?: number; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * The name of the origin group which contains this origin. + */ + readonly originGroupName: string; + /** + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + */ + readonly originHostHeader?: string; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + */ + readonly priority?: number; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * The properties of the private link resource for private origin. + */ + readonly sharedPrivateLinkResource?: outputs.cdn.v20230701preview.SharedPrivateLinkResourcePropertiesResponse; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + readonly weight?: number; +} +/** + * Gets an existing origin within an origin group. + */ +export function getAFDOriginOutput(args: GetAFDOriginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAFDOrigin(a, opts)) +} + +export interface GetAFDOriginOutputArgs { + /** + * Name of the origin group which is unique within the profile. + */ + originGroupName: pulumi.Input; + /** + * Name of the origin which is unique within the profile. + */ + originName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getAFDOriginGroup.ts b/sdk/nodejs/cdn/v20230701preview/getAFDOriginGroup.ts new file mode 100644 index 000000000000..574830765450 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getAFDOriginGroup.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing origin group within a profile. + */ +export function getAFDOriginGroup(args: GetAFDOriginGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getAFDOriginGroup", { + "originGroupName": args.originGroupName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAFDOriginGroupArgs { + /** + * Name of the origin group which is unique within the endpoint. + */ + originGroupName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door. + */ +export interface GetAFDOriginGroupResult { + readonly deploymentStatus: string; + /** + * Health probe settings to the origin that is used to determine the health of the origin. + */ + readonly healthProbeSettings?: outputs.cdn.v20230701preview.HealthProbeParametersResponse; + /** + * Resource ID. + */ + readonly id: string; + /** + * Load balancing settings for a backend pool + */ + readonly loadBalancingSettings?: outputs.cdn.v20230701preview.LoadBalancingSettingsParametersResponse; + /** + * Resource name. + */ + readonly name: string; + /** + * The name of the profile which holds the origin group. + */ + readonly profileName: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + */ + readonly sessionAffinityState?: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + readonly trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing origin group within a profile. + */ +export function getAFDOriginGroupOutput(args: GetAFDOriginGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAFDOriginGroup(a, opts)) +} + +export interface GetAFDOriginGroupOutputArgs { + /** + * Name of the origin group which is unique within the endpoint. + */ + originGroupName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getCustomDomain.ts b/sdk/nodejs/cdn/v20230701preview/getCustomDomain.ts new file mode 100644 index 000000000000..36717f28cf97 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getCustomDomain.ts @@ -0,0 +1,116 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing custom domain within an endpoint. + */ +export function getCustomDomain(args: GetCustomDomainArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getCustomDomain", { + "customDomainName": args.customDomainName, + "endpointName": args.endpointName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCustomDomainArgs { + /** + * Name of the custom domain within an endpoint. + */ + customDomainName: string; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: string; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + */ +export interface GetCustomDomainResult { + /** + * Certificate parameters for securing custom HTTPS + */ + readonly customHttpsParameters?: outputs.cdn.v20230701preview.CdnManagedHttpsParametersResponse | outputs.cdn.v20230701preview.UserManagedHttpsParametersResponse; + /** + * Provisioning status of the custom domain. + */ + readonly customHttpsProvisioningState: string; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + */ + readonly customHttpsProvisioningSubstate: string; + /** + * The host name of the custom domain. Must be a domain name. + */ + readonly hostName: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * Provisioning status of Custom Https of the custom domain. + */ + readonly provisioningState: string; + /** + * Resource status of the custom domain. + */ + readonly resourceState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; + /** + * Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + */ + readonly validationData?: string; +} +/** + * Gets an existing custom domain within an endpoint. + */ +export function getCustomDomainOutput(args: GetCustomDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCustomDomain(a, opts)) +} + +export interface GetCustomDomainOutputArgs { + /** + * Name of the custom domain within an endpoint. + */ + customDomainName: pulumi.Input; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getEndpoint.ts b/sdk/nodejs/cdn/v20230701preview/getEndpoint.ts new file mode 100644 index 000000000000..72f186c88370 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getEndpoint.ts @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. + */ +export function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getEndpoint", { + "endpointName": args.endpointName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetEndpointArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: string; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. + */ +export interface GetEndpointResult { + /** + * List of content types on which compression applies. The value should be a valid MIME type. + */ + readonly contentTypesToCompress?: string[]; + /** + * The custom domains under the endpoint. + */ + readonly customDomains: outputs.cdn.v20230701preview.DeepCreatedCustomDomainResponse[]; + /** + * A reference to the origin group. + */ + readonly defaultOriginGroup?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + /** + * A policy that specifies the delivery rules to be used for an endpoint. + */ + readonly deliveryPolicy?: outputs.cdn.v20230701preview.EndpointPropertiesUpdateParametersResponseDeliveryPolicy; + /** + * List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + */ + readonly geoFilters?: outputs.cdn.v20230701preview.GeoFilterResponse[]; + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + */ + readonly hostName: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + */ + readonly isCompressionEnabled?: boolean; + /** + * Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + readonly isHttpAllowed?: boolean; + /** + * Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + readonly isHttpsAllowed?: boolean; + /** + * Resource location. + */ + readonly location: string; + /** + * Resource name. + */ + readonly name: string; + /** + * Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + */ + readonly optimizationType?: string; + /** + * The origin groups comprising of origins that are used for load balancing the traffic based on availability. + */ + readonly originGroups?: outputs.cdn.v20230701preview.DeepCreatedOriginGroupResponse[]; + /** + * The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + */ + readonly originHostHeader?: string; + /** + * A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + */ + readonly originPath?: string; + /** + * The source of the content being delivered via CDN. + */ + readonly origins: outputs.cdn.v20230701preview.DeepCreatedOriginResponse[]; + /** + * Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + */ + readonly probePath?: string; + /** + * Provisioning status of the endpoint. + */ + readonly provisioningState: string; + /** + * Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + */ + readonly queryStringCachingBehavior?: string; + /** + * Resource status of the endpoint. + */ + readonly resourceState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type. + */ + readonly type: string; + /** + * List of keys used to validate the signed URL hashes. + */ + readonly urlSigningKeys?: outputs.cdn.v20230701preview.UrlSigningKeyResponse[]; + /** + * Defines the Web Application Firewall policy for the endpoint (if applicable) + */ + readonly webApplicationFirewallPolicyLink?: outputs.cdn.v20230701preview.EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink; +} +/** + * Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. + */ +export function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEndpoint(a, opts)) +} + +export interface GetEndpointOutputArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getKeyGroup.ts b/sdk/nodejs/cdn/v20230701preview/getKeyGroup.ts new file mode 100644 index 000000000000..659b31992631 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getKeyGroup.ts @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing KeyGroup within a profile. + */ +export function getKeyGroup(args: GetKeyGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getKeyGroup", { + "keyGroupName": args.keyGroupName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetKeyGroupArgs { + /** + * Name of the KeyGroup under the profile. + */ + keyGroupName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Contains a list of references of UrlSigningKey type secret objects. + */ +export interface GetKeyGroupResult { + readonly deploymentStatus: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Names of UrlSigningKey type secret objects + */ + readonly keyReferences?: outputs.cdn.v20230701preview.ResourceReferenceResponse[]; + /** + * Resource name. + */ + readonly name: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing KeyGroup within a profile. + */ +export function getKeyGroupOutput(args: GetKeyGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getKeyGroup(a, opts)) +} + +export interface GetKeyGroupOutputArgs { + /** + * Name of the KeyGroup under the profile. + */ + keyGroupName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getOrigin.ts b/sdk/nodejs/cdn/v20230701preview/getOrigin.ts new file mode 100644 index 000000000000..321b580629df --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getOrigin.ts @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing origin within an endpoint. + */ +export function getOrigin(args: GetOriginArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getOrigin", { + "endpointName": args.endpointName, + "originName": args.originName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetOriginArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: string; + /** + * Name of the origin which is unique within the endpoint. + */ + originName: string; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + */ +export interface GetOriginResult { + /** + * Origin is enabled for load balancing or not + */ + readonly enabled?: boolean; + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + */ + readonly hostName: string; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + readonly httpPort?: number; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + readonly httpsPort?: number; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + */ + readonly originHostHeader?: string; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + */ + readonly priority?: number; + /** + * The approval status for the connection to the Private Link + */ + readonly privateEndpointStatus: string; + /** + * The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + */ + readonly privateLinkAlias?: string; + /** + * A custom message to be included in the approval request to connect to the Private Link. + */ + readonly privateLinkApprovalMessage?: string; + /** + * The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + */ + readonly privateLinkLocation?: string; + /** + * The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + */ + readonly privateLinkResourceId?: string; + /** + * Provisioning status of the origin. + */ + readonly provisioningState: string; + /** + * Resource status of the origin. + */ + readonly resourceState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + readonly weight?: number; +} +/** + * Gets an existing origin within an endpoint. + */ +export function getOriginOutput(args: GetOriginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOrigin(a, opts)) +} + +export interface GetOriginOutputArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Name of the origin which is unique within the endpoint. + */ + originName: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getOriginGroup.ts b/sdk/nodejs/cdn/v20230701preview/getOriginGroup.ts new file mode 100644 index 000000000000..e73fde96bd6d --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getOriginGroup.ts @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing origin group within an endpoint. + */ +export function getOriginGroup(args: GetOriginGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getOriginGroup", { + "endpointName": args.endpointName, + "originGroupName": args.originGroupName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetOriginGroupArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: string; + /** + * Name of the origin group which is unique within the endpoint. + */ + originGroupName: string; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. + */ +export interface GetOriginGroupResult { + /** + * Health probe settings to the origin that is used to determine the health of the origin. + */ + readonly healthProbeSettings?: outputs.cdn.v20230701preview.HealthProbeParametersResponse; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * The source of the content being delivered via CDN within given origin group. + */ + readonly origins: outputs.cdn.v20230701preview.ResourceReferenceResponse[]; + /** + * Provisioning status of the origin group. + */ + readonly provisioningState: string; + /** + * Resource status of the origin group. + */ + readonly resourceState: string; + /** + * The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + */ + readonly responseBasedOriginErrorDetectionSettings?: outputs.cdn.v20230701preview.ResponseBasedOriginErrorDetectionParametersResponse; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + readonly trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing origin group within an endpoint. + */ +export function getOriginGroupOutput(args: GetOriginGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOriginGroup(a, opts)) +} + +export interface GetOriginGroupOutputArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Name of the origin group which is unique within the endpoint. + */ + originGroupName: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getPolicy.ts b/sdk/nodejs/cdn/v20230701preview/getPolicy.ts new file mode 100644 index 000000000000..4d060c81cd39 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getPolicy.ts @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieve protection policy with specified name within a resource group. + */ +export function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getPolicy", { + "policyName": args.policyName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPolicyArgs { + /** + * The name of the CdnWebApplicationFirewallPolicy. + */ + policyName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * Defines web application firewall policy for Azure CDN. + */ +export interface GetPolicyResult { + /** + * Describes custom rules inside the policy. + */ + readonly customRules?: outputs.cdn.v20230701preview.CustomRuleListResponse; + /** + * Describes Azure CDN endpoints associated with this Web Application Firewall policy. + */ + readonly endpointLinks: outputs.cdn.v20230701preview.CdnEndpointResponse[]; + /** + * Gets a unique read-only string that changes whenever the resource is updated. + */ + readonly etag?: string; + /** + * Key-Value pair representing additional properties for Web Application Firewall policy. + */ + readonly extendedProperties?: {[key: string]: string}; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource location. + */ + readonly location: string; + /** + * Describes managed rules inside the policy. + */ + readonly managedRules?: outputs.cdn.v20230701preview.ManagedRuleSetListResponse; + /** + * Resource name. + */ + readonly name: string; + /** + * Describes policySettings for policy + */ + readonly policySettings?: outputs.cdn.v20230701preview.PolicySettingsResponse; + /** + * Provisioning state of the WebApplicationFirewallPolicy. + */ + readonly provisioningState: string; + /** + * Describes rate limit rules inside the policy. + */ + readonly rateLimitRules?: outputs.cdn.v20230701preview.RateLimitRuleListResponse; + readonly resourceState: string; + /** + * The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + */ + readonly sku: outputs.cdn.v20230701preview.SkuResponse; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Retrieve protection policy with specified name within a resource group. + */ +export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPolicy(a, opts)) +} + +export interface GetPolicyOutputArgs { + /** + * The name of the CdnWebApplicationFirewallPolicy. + */ + policyName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getProfile.ts b/sdk/nodejs/cdn/v20230701preview/getProfile.ts new file mode 100644 index 000000000000..b8626cf259f5 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getProfile.ts @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. + */ +export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getProfile", { + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetProfileArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * A profile is a logical grouping of endpoints that share the same settings. + */ +export interface GetProfileResult { + /** + * Key-Value pair representing additional properties for profiles. + */ + readonly extendedProperties: {[key: string]: string}; + /** + * The Id of the frontdoor. + */ + readonly frontDoorId: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Managed service identity (system assigned and/or user assigned identities). + */ + readonly identity?: outputs.cdn.v20230701preview.ManagedServiceIdentityResponse; + /** + * Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + */ + readonly kind: string; + /** + * Resource location. + */ + readonly location: string; + /** + * Resource name. + */ + readonly name: string; + /** + * Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + */ + readonly originResponseTimeoutSeconds?: number; + /** + * Provisioning status of the profile. + */ + readonly provisioningState: string; + /** + * Resource status of the profile. + */ + readonly resourceState: string; + /** + * The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + */ + readonly sku: outputs.cdn.v20230701preview.SkuResponse; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. + */ +export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getProfile(a, opts)) +} + +export interface GetProfileOutputArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getProfileSupportedOptimizationTypes.ts b/sdk/nodejs/cdn/v20230701preview/getProfileSupportedOptimizationTypes.ts new file mode 100644 index 000000000000..540b53820fb9 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getProfileSupportedOptimizationTypes.ts @@ -0,0 +1,55 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. + */ +export function getProfileSupportedOptimizationTypes(args: GetProfileSupportedOptimizationTypesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getProfileSupportedOptimizationTypes", { + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetProfileSupportedOptimizationTypesArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; +} + +/** + * The result of the GetSupportedOptimizationTypes API + */ +export interface GetProfileSupportedOptimizationTypesResult { + /** + * Supported optimization types for a profile. + */ + readonly supportedOptimizationTypes: string[]; +} +/** + * Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. + */ +export function getProfileSupportedOptimizationTypesOutput(args: GetProfileSupportedOptimizationTypesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getProfileSupportedOptimizationTypes(a, opts)) +} + +export interface GetProfileSupportedOptimizationTypesOutputArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getRoute.ts b/sdk/nodejs/cdn/v20230701preview/getRoute.ts new file mode 100644 index 000000000000..f8c57223f6bb --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getRoute.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. + */ +export function getRoute(args: GetRouteArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getRoute", { + "endpointName": args.endpointName, + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + "routeName": args.routeName, + }, opts); +} + +export interface GetRouteArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: string; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; + /** + * Name of the routing rule. + */ + routeName: string; +} + +/** + * Friendly Routes name mapping to the any Routes or secret related information. + */ +export interface GetRouteResult { + /** + * The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + */ + readonly cacheConfiguration?: outputs.cdn.v20230701preview.AfdRouteCacheConfigurationResponse; + /** + * Domains referenced by this endpoint. + */ + readonly customDomains?: outputs.cdn.v20230701preview.ActivatedResourceReferenceResponse[]; + readonly deploymentStatus: string; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ + readonly enabledState?: string; + /** + * The name of the endpoint which holds the route. + */ + readonly endpointName: string; + /** + * Protocol this rule will use when forwarding traffic to backends. + */ + readonly forwardingProtocol?: string; + /** + * Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + */ + readonly httpsRedirect?: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * whether this route will be linked to the default endpoint domain. + */ + readonly linkToDefaultDomain?: string; + /** + * Resource name. + */ + readonly name: string; + /** + * A reference to the origin group. + */ + readonly originGroup: outputs.cdn.v20230701preview.ResourceReferenceResponse; + /** + * A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + */ + readonly originPath?: string; + /** + * The route patterns of the rule. + */ + readonly patternsToMatch?: string[]; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * rule sets referenced by this endpoint. + */ + readonly ruleSets?: outputs.cdn.v20230701preview.ResourceReferenceResponse[]; + /** + * List of supported protocols for this route. + */ + readonly supportedProtocols?: string[]; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. + */ +export function getRouteOutput(args: GetRouteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getRoute(a, opts)) +} + +export interface GetRouteOutputArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the routing rule. + */ + routeName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getRule.ts b/sdk/nodejs/cdn/v20230701preview/getRule.ts new file mode 100644 index 000000000000..03f52e8727d2 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getRule.ts @@ -0,0 +1,113 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing delivery rule within a rule set. + */ +export function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getRule", { + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + "ruleName": args.ruleName, + "ruleSetName": args.ruleSetName, + }, opts); +} + +export interface GetRuleArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; + /** + * Name of the delivery rule which is unique within the endpoint. + */ + ruleName: string; + /** + * Name of the rule set under the profile. + */ + ruleSetName: string; +} + +/** + * Friendly Rules name mapping to the any Rules or secret related information. + */ +export interface GetRuleResult { + /** + * A list of actions that are executed when all the conditions of a rule are satisfied. + */ + readonly actions: (outputs.cdn.v20230701preview.DeliveryRuleCacheExpirationActionResponse | outputs.cdn.v20230701preview.DeliveryRuleCacheKeyQueryStringActionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestHeaderActionResponse | outputs.cdn.v20230701preview.DeliveryRuleResponseHeaderActionResponse | outputs.cdn.v20230701preview.DeliveryRuleRouteConfigurationOverrideActionResponse | outputs.cdn.v20230701preview.OriginGroupOverrideActionResponse | outputs.cdn.v20230701preview.UrlRedirectActionResponse | outputs.cdn.v20230701preview.UrlRewriteActionResponse | outputs.cdn.v20230701preview.UrlSigningActionResponse)[]; + /** + * A list of conditions that must be matched for the actions to be executed + */ + readonly conditions?: (outputs.cdn.v20230701preview.DeliveryRuleClientPortConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleCookiesConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleHostNameConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleHttpVersionConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleIsDeviceConditionResponse | outputs.cdn.v20230701preview.DeliveryRulePostArgsConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleQueryStringConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRemoteAddressConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestBodyConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestHeaderConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestMethodConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestSchemeConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestUriConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleServerPortConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleSocketAddrConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleSslProtocolConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlFileExtensionConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlFileNameConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlPathConditionResponse)[]; + readonly deploymentStatus: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + */ + readonly matchProcessingBehavior?: string; + /** + * Resource name. + */ + readonly name: string; + /** + * The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + */ + readonly order: number; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * The name of the rule set containing the rule. + */ + readonly ruleSetName: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing delivery rule within a rule set. + */ +export function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getRule(a, opts)) +} + +export interface GetRuleOutputArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the delivery rule which is unique within the endpoint. + */ + ruleName: pulumi.Input; + /** + * Name of the rule set under the profile. + */ + ruleSetName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getRuleSet.ts b/sdk/nodejs/cdn/v20230701preview/getRuleSet.ts new file mode 100644 index 000000000000..f79f09210c11 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getRuleSet.ts @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. + */ +export function getRuleSet(args: GetRuleSetArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getRuleSet", { + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + "ruleSetName": args.ruleSetName, + }, opts); +} + +export interface GetRuleSetArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; + /** + * Name of the rule set under the profile which is unique globally. + */ + ruleSetName: string; +} + +/** + * Friendly RuleSet name mapping to the any RuleSet or secret related information. + */ +export interface GetRuleSetResult { + readonly deploymentStatus: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * The name of the profile which holds the rule set. + */ + readonly profileName: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. + */ +export function getRuleSetOutput(args: GetRuleSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getRuleSet(a, opts)) +} + +export interface GetRuleSetOutputArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the rule set under the profile which is unique globally. + */ + ruleSetName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getSecret.ts b/sdk/nodejs/cdn/v20230701preview/getSecret.ts new file mode 100644 index 000000000000..87ba6f5c7429 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getSecret.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing Secret within a profile. + */ +export function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getSecret", { + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + "secretName": args.secretName, + }, opts); +} + +export interface GetSecretArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; + /** + * Name of the Secret under the profile. + */ + secretName: string; +} + +/** + * Friendly Secret name mapping to the any Secret or secret related information. + */ +export interface GetSecretResult { + readonly deploymentStatus: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * object which contains secret parameters + */ + readonly parameters?: outputs.cdn.v20230701preview.AzureFirstPartyManagedCertificateParametersResponse | outputs.cdn.v20230701preview.CustomerCertificateParametersResponse | outputs.cdn.v20230701preview.ManagedCertificateParametersResponse | outputs.cdn.v20230701preview.UrlSigningKeyParametersResponse; + /** + * The name of the profile which holds the secret. + */ + readonly profileName: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing Secret within a profile. + */ +export function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSecret(a, opts)) +} + +export interface GetSecretOutputArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the Secret under the profile. + */ + secretName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/getSecurityPolicy.ts b/sdk/nodejs/cdn/v20230701preview/getSecurityPolicy.ts new file mode 100644 index 000000000000..350993e5ad12 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/getSecurityPolicy.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an existing security policy within a profile. + */ +export function getSecurityPolicy(args: GetSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:cdn/v20230701preview:getSecurityPolicy", { + "profileName": args.profileName, + "resourceGroupName": args.resourceGroupName, + "securityPolicyName": args.securityPolicyName, + }, opts); +} + +export interface GetSecurityPolicyArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: string; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: string; + /** + * Name of the security policy under the profile. + */ + securityPolicyName: string; +} + +/** + * SecurityPolicy association for AzureFrontDoor profile + */ +export interface GetSecurityPolicyResult { + readonly deploymentStatus: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * Resource name. + */ + readonly name: string; + /** + * object which contains security policy parameters + */ + readonly parameters?: outputs.cdn.v20230701preview.SecurityPolicyWebApplicationFirewallParametersResponse; + /** + * The name of the profile which holds the security policy. + */ + readonly profileName: string; + /** + * Provisioning status + */ + readonly provisioningState: string; + /** + * Read only system data + */ + readonly systemData: outputs.cdn.v20230701preview.SystemDataResponse; + /** + * Resource type. + */ + readonly type: string; +} +/** + * Gets an existing security policy within a profile. + */ +export function getSecurityPolicyOutput(args: GetSecurityPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSecurityPolicy(a, opts)) +} + +export interface GetSecurityPolicyOutputArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the security policy under the profile. + */ + securityPolicyName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/index.ts b/sdk/nodejs/cdn/v20230701preview/index.ts new file mode 100644 index 000000000000..ef4d4ecae783 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/index.ts @@ -0,0 +1,218 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { AFDCustomDomainArgs } from "./afdcustomDomain"; +export type AFDCustomDomain = import("./afdcustomDomain").AFDCustomDomain; +export const AFDCustomDomain: typeof import("./afdcustomDomain").AFDCustomDomain = null as any; +utilities.lazyLoad(exports, ["AFDCustomDomain"], () => require("./afdcustomDomain")); + +export { AFDEndpointArgs } from "./afdendpoint"; +export type AFDEndpoint = import("./afdendpoint").AFDEndpoint; +export const AFDEndpoint: typeof import("./afdendpoint").AFDEndpoint = null as any; +utilities.lazyLoad(exports, ["AFDEndpoint"], () => require("./afdendpoint")); + +export { AFDOriginArgs } from "./afdorigin"; +export type AFDOrigin = import("./afdorigin").AFDOrigin; +export const AFDOrigin: typeof import("./afdorigin").AFDOrigin = null as any; +utilities.lazyLoad(exports, ["AFDOrigin"], () => require("./afdorigin")); + +export { AFDOriginGroupArgs } from "./afdoriginGroup"; +export type AFDOriginGroup = import("./afdoriginGroup").AFDOriginGroup; +export const AFDOriginGroup: typeof import("./afdoriginGroup").AFDOriginGroup = null as any; +utilities.lazyLoad(exports, ["AFDOriginGroup"], () => require("./afdoriginGroup")); + +export { CustomDomainArgs } from "./customDomain"; +export type CustomDomain = import("./customDomain").CustomDomain; +export const CustomDomain: typeof import("./customDomain").CustomDomain = null as any; +utilities.lazyLoad(exports, ["CustomDomain"], () => require("./customDomain")); + +export { EndpointArgs } from "./endpoint"; +export type Endpoint = import("./endpoint").Endpoint; +export const Endpoint: typeof import("./endpoint").Endpoint = null as any; +utilities.lazyLoad(exports, ["Endpoint"], () => require("./endpoint")); + +export { GetAFDCustomDomainArgs, GetAFDCustomDomainResult, GetAFDCustomDomainOutputArgs } from "./getAFDCustomDomain"; +export const getAFDCustomDomain: typeof import("./getAFDCustomDomain").getAFDCustomDomain = null as any; +export const getAFDCustomDomainOutput: typeof import("./getAFDCustomDomain").getAFDCustomDomainOutput = null as any; +utilities.lazyLoad(exports, ["getAFDCustomDomain","getAFDCustomDomainOutput"], () => require("./getAFDCustomDomain")); + +export { GetAFDEndpointArgs, GetAFDEndpointResult, GetAFDEndpointOutputArgs } from "./getAFDEndpoint"; +export const getAFDEndpoint: typeof import("./getAFDEndpoint").getAFDEndpoint = null as any; +export const getAFDEndpointOutput: typeof import("./getAFDEndpoint").getAFDEndpointOutput = null as any; +utilities.lazyLoad(exports, ["getAFDEndpoint","getAFDEndpointOutput"], () => require("./getAFDEndpoint")); + +export { GetAFDOriginArgs, GetAFDOriginResult, GetAFDOriginOutputArgs } from "./getAFDOrigin"; +export const getAFDOrigin: typeof import("./getAFDOrigin").getAFDOrigin = null as any; +export const getAFDOriginOutput: typeof import("./getAFDOrigin").getAFDOriginOutput = null as any; +utilities.lazyLoad(exports, ["getAFDOrigin","getAFDOriginOutput"], () => require("./getAFDOrigin")); + +export { GetAFDOriginGroupArgs, GetAFDOriginGroupResult, GetAFDOriginGroupOutputArgs } from "./getAFDOriginGroup"; +export const getAFDOriginGroup: typeof import("./getAFDOriginGroup").getAFDOriginGroup = null as any; +export const getAFDOriginGroupOutput: typeof import("./getAFDOriginGroup").getAFDOriginGroupOutput = null as any; +utilities.lazyLoad(exports, ["getAFDOriginGroup","getAFDOriginGroupOutput"], () => require("./getAFDOriginGroup")); + +export { GetCustomDomainArgs, GetCustomDomainResult, GetCustomDomainOutputArgs } from "./getCustomDomain"; +export const getCustomDomain: typeof import("./getCustomDomain").getCustomDomain = null as any; +export const getCustomDomainOutput: typeof import("./getCustomDomain").getCustomDomainOutput = null as any; +utilities.lazyLoad(exports, ["getCustomDomain","getCustomDomainOutput"], () => require("./getCustomDomain")); + +export { GetEndpointArgs, GetEndpointResult, GetEndpointOutputArgs } from "./getEndpoint"; +export const getEndpoint: typeof import("./getEndpoint").getEndpoint = null as any; +export const getEndpointOutput: typeof import("./getEndpoint").getEndpointOutput = null as any; +utilities.lazyLoad(exports, ["getEndpoint","getEndpointOutput"], () => require("./getEndpoint")); + +export { GetKeyGroupArgs, GetKeyGroupResult, GetKeyGroupOutputArgs } from "./getKeyGroup"; +export const getKeyGroup: typeof import("./getKeyGroup").getKeyGroup = null as any; +export const getKeyGroupOutput: typeof import("./getKeyGroup").getKeyGroupOutput = null as any; +utilities.lazyLoad(exports, ["getKeyGroup","getKeyGroupOutput"], () => require("./getKeyGroup")); + +export { GetOriginArgs, GetOriginResult, GetOriginOutputArgs } from "./getOrigin"; +export const getOrigin: typeof import("./getOrigin").getOrigin = null as any; +export const getOriginOutput: typeof import("./getOrigin").getOriginOutput = null as any; +utilities.lazyLoad(exports, ["getOrigin","getOriginOutput"], () => require("./getOrigin")); + +export { GetOriginGroupArgs, GetOriginGroupResult, GetOriginGroupOutputArgs } from "./getOriginGroup"; +export const getOriginGroup: typeof import("./getOriginGroup").getOriginGroup = null as any; +export const getOriginGroupOutput: typeof import("./getOriginGroup").getOriginGroupOutput = null as any; +utilities.lazyLoad(exports, ["getOriginGroup","getOriginGroupOutput"], () => require("./getOriginGroup")); + +export { GetPolicyArgs, GetPolicyResult, GetPolicyOutputArgs } from "./getPolicy"; +export const getPolicy: typeof import("./getPolicy").getPolicy = null as any; +export const getPolicyOutput: typeof import("./getPolicy").getPolicyOutput = null as any; +utilities.lazyLoad(exports, ["getPolicy","getPolicyOutput"], () => require("./getPolicy")); + +export { GetProfileArgs, GetProfileResult, GetProfileOutputArgs } from "./getProfile"; +export const getProfile: typeof import("./getProfile").getProfile = null as any; +export const getProfileOutput: typeof import("./getProfile").getProfileOutput = null as any; +utilities.lazyLoad(exports, ["getProfile","getProfileOutput"], () => require("./getProfile")); + +export { GetProfileSupportedOptimizationTypesArgs, GetProfileSupportedOptimizationTypesResult, GetProfileSupportedOptimizationTypesOutputArgs } from "./getProfileSupportedOptimizationTypes"; +export const getProfileSupportedOptimizationTypes: typeof import("./getProfileSupportedOptimizationTypes").getProfileSupportedOptimizationTypes = null as any; +export const getProfileSupportedOptimizationTypesOutput: typeof import("./getProfileSupportedOptimizationTypes").getProfileSupportedOptimizationTypesOutput = null as any; +utilities.lazyLoad(exports, ["getProfileSupportedOptimizationTypes","getProfileSupportedOptimizationTypesOutput"], () => require("./getProfileSupportedOptimizationTypes")); + +export { GetRouteArgs, GetRouteResult, GetRouteOutputArgs } from "./getRoute"; +export const getRoute: typeof import("./getRoute").getRoute = null as any; +export const getRouteOutput: typeof import("./getRoute").getRouteOutput = null as any; +utilities.lazyLoad(exports, ["getRoute","getRouteOutput"], () => require("./getRoute")); + +export { GetRuleArgs, GetRuleResult, GetRuleOutputArgs } from "./getRule"; +export const getRule: typeof import("./getRule").getRule = null as any; +export const getRuleOutput: typeof import("./getRule").getRuleOutput = null as any; +utilities.lazyLoad(exports, ["getRule","getRuleOutput"], () => require("./getRule")); + +export { GetRuleSetArgs, GetRuleSetResult, GetRuleSetOutputArgs } from "./getRuleSet"; +export const getRuleSet: typeof import("./getRuleSet").getRuleSet = null as any; +export const getRuleSetOutput: typeof import("./getRuleSet").getRuleSetOutput = null as any; +utilities.lazyLoad(exports, ["getRuleSet","getRuleSetOutput"], () => require("./getRuleSet")); + +export { GetSecretArgs, GetSecretResult, GetSecretOutputArgs } from "./getSecret"; +export const getSecret: typeof import("./getSecret").getSecret = null as any; +export const getSecretOutput: typeof import("./getSecret").getSecretOutput = null as any; +utilities.lazyLoad(exports, ["getSecret","getSecretOutput"], () => require("./getSecret")); + +export { GetSecurityPolicyArgs, GetSecurityPolicyResult, GetSecurityPolicyOutputArgs } from "./getSecurityPolicy"; +export const getSecurityPolicy: typeof import("./getSecurityPolicy").getSecurityPolicy = null as any; +export const getSecurityPolicyOutput: typeof import("./getSecurityPolicy").getSecurityPolicyOutput = null as any; +utilities.lazyLoad(exports, ["getSecurityPolicy","getSecurityPolicyOutput"], () => require("./getSecurityPolicy")); + +export { KeyGroupArgs } from "./keyGroup"; +export type KeyGroup = import("./keyGroup").KeyGroup; +export const KeyGroup: typeof import("./keyGroup").KeyGroup = null as any; +utilities.lazyLoad(exports, ["KeyGroup"], () => require("./keyGroup")); + +export { OriginArgs } from "./origin"; +export type Origin = import("./origin").Origin; +export const Origin: typeof import("./origin").Origin = null as any; +utilities.lazyLoad(exports, ["Origin"], () => require("./origin")); + +export { OriginGroupArgs } from "./originGroup"; +export type OriginGroup = import("./originGroup").OriginGroup; +export const OriginGroup: typeof import("./originGroup").OriginGroup = null as any; +utilities.lazyLoad(exports, ["OriginGroup"], () => require("./originGroup")); + +export { PolicyArgs } from "./policy"; +export type Policy = import("./policy").Policy; +export const Policy: typeof import("./policy").Policy = null as any; +utilities.lazyLoad(exports, ["Policy"], () => require("./policy")); + +export { ProfileArgs } from "./profile"; +export type Profile = import("./profile").Profile; +export const Profile: typeof import("./profile").Profile = null as any; +utilities.lazyLoad(exports, ["Profile"], () => require("./profile")); + +export { RouteArgs } from "./route"; +export type Route = import("./route").Route; +export const Route: typeof import("./route").Route = null as any; +utilities.lazyLoad(exports, ["Route"], () => require("./route")); + +export { RuleArgs } from "./rule"; +export type Rule = import("./rule").Rule; +export const Rule: typeof import("./rule").Rule = null as any; +utilities.lazyLoad(exports, ["Rule"], () => require("./rule")); + +export { RuleSetArgs } from "./ruleSet"; +export type RuleSet = import("./ruleSet").RuleSet; +export const RuleSet: typeof import("./ruleSet").RuleSet = null as any; +utilities.lazyLoad(exports, ["RuleSet"], () => require("./ruleSet")); + +export { SecretArgs } from "./secret"; +export type Secret = import("./secret").Secret; +export const Secret: typeof import("./secret").Secret = null as any; +utilities.lazyLoad(exports, ["Secret"], () => require("./secret")); + +export { SecurityPolicyArgs } from "./securityPolicy"; +export type SecurityPolicy = import("./securityPolicy").SecurityPolicy; +export const SecurityPolicy: typeof import("./securityPolicy").SecurityPolicy = null as any; +utilities.lazyLoad(exports, ["SecurityPolicy"], () => require("./securityPolicy")); + + +// Export enums: +export * from "../../types/enums/cdn/v20230701preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:cdn/v20230701preview:AFDCustomDomain": + return new AFDCustomDomain(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:AFDEndpoint": + return new AFDEndpoint(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:AFDOrigin": + return new AFDOrigin(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:AFDOriginGroup": + return new AFDOriginGroup(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:CustomDomain": + return new CustomDomain(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Endpoint": + return new Endpoint(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:KeyGroup": + return new KeyGroup(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Origin": + return new Origin(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:OriginGroup": + return new OriginGroup(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Policy": + return new Policy(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Profile": + return new Profile(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Route": + return new Route(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Rule": + return new Rule(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:RuleSet": + return new RuleSet(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:Secret": + return new Secret(name, undefined, { urn }) + case "azure-native:cdn/v20230701preview:SecurityPolicy": + return new SecurityPolicy(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "cdn/v20230701preview", _module) diff --git a/sdk/nodejs/cdn/v20230701preview/keyGroup.ts b/sdk/nodejs/cdn/v20230701preview/keyGroup.ts new file mode 100644 index 000000000000..88d5d89ba9d2 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/keyGroup.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Contains a list of references of UrlSigningKey type secret objects. + */ +export class KeyGroup extends pulumi.CustomResource { + /** + * Get an existing KeyGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): KeyGroup { + return new KeyGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:KeyGroup'; + + /** + * Returns true if the given object is an instance of KeyGroup. 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 KeyGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === KeyGroup.__pulumiType; + } + + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Names of UrlSigningKey type secret objects + */ + public readonly keyReferences!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a KeyGroup 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: KeyGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["keyGroupName"] = args ? args.keyGroupName : undefined; + resourceInputs["keyReferences"] = args ? args.keyReferences : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["keyReferences"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:KeyGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(KeyGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a KeyGroup resource. + */ +export interface KeyGroupArgs { + /** + * Name of the KeyGroup under the profile. + */ + keyGroupName?: pulumi.Input; + /** + * Names of UrlSigningKey type secret objects + */ + keyReferences?: pulumi.Input[]>; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/origin.ts b/sdk/nodejs/cdn/v20230701preview/origin.ts new file mode 100644 index 000000000000..dfe69b0950da --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/origin.ts @@ -0,0 +1,243 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + */ +export class Origin extends pulumi.CustomResource { + /** + * Get an existing Origin 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Origin { + return new Origin(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Origin'; + + /** + * Returns true if the given object is an instance of Origin. 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 Origin { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Origin.__pulumiType; + } + + /** + * Origin is enabled for load balancing or not + */ + public readonly enabled!: pulumi.Output; + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + */ + public readonly hostName!: pulumi.Output; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + public readonly httpPort!: pulumi.Output; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + public readonly httpsPort!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + */ + public readonly originHostHeader!: pulumi.Output; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + */ + public readonly priority!: pulumi.Output; + /** + * The approval status for the connection to the Private Link + */ + public /*out*/ readonly privateEndpointStatus!: pulumi.Output; + /** + * The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + */ + public readonly privateLinkAlias!: pulumi.Output; + /** + * A custom message to be included in the approval request to connect to the Private Link. + */ + public readonly privateLinkApprovalMessage!: pulumi.Output; + /** + * The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + */ + public readonly privateLinkLocation!: pulumi.Output; + /** + * The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + */ + public readonly privateLinkResourceId!: pulumi.Output; + /** + * Provisioning status of the origin. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Resource status of the origin. + */ + public /*out*/ readonly resourceState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + public readonly weight!: pulumi.Output; + + /** + * Create a Origin 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: OriginArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.endpointName === undefined) && !opts.urn) { + throw new Error("Missing required property 'endpointName'"); + } + if ((!args || args.hostName === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostName'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["hostName"] = args ? args.hostName : undefined; + resourceInputs["httpPort"] = args ? args.httpPort : undefined; + resourceInputs["httpsPort"] = args ? args.httpsPort : undefined; + resourceInputs["originHostHeader"] = args ? args.originHostHeader : undefined; + resourceInputs["originName"] = args ? args.originName : undefined; + resourceInputs["priority"] = args ? args.priority : undefined; + resourceInputs["privateLinkAlias"] = args ? args.privateLinkAlias : undefined; + resourceInputs["privateLinkApprovalMessage"] = args ? args.privateLinkApprovalMessage : undefined; + resourceInputs["privateLinkLocation"] = args ? args.privateLinkLocation : undefined; + resourceInputs["privateLinkResourceId"] = args ? args.privateLinkResourceId : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["weight"] = args ? args.weight : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointStatus"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["hostName"] = undefined /*out*/; + resourceInputs["httpPort"] = undefined /*out*/; + resourceInputs["httpsPort"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["originHostHeader"] = undefined /*out*/; + resourceInputs["priority"] = undefined /*out*/; + resourceInputs["privateEndpointStatus"] = undefined /*out*/; + resourceInputs["privateLinkAlias"] = undefined /*out*/; + resourceInputs["privateLinkApprovalMessage"] = undefined /*out*/; + resourceInputs["privateLinkLocation"] = undefined /*out*/; + resourceInputs["privateLinkResourceId"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["weight"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Origin" }, { type: "azure-native:cdn/v20150601:Origin" }, { type: "azure-native:cdn/v20160402:Origin" }, { type: "azure-native:cdn/v20191231:Origin" }, { type: "azure-native:cdn/v20200331:Origin" }, { type: "azure-native:cdn/v20200415:Origin" }, { type: "azure-native:cdn/v20200901:Origin" }, { type: "azure-native:cdn/v20210601:Origin" }, { type: "azure-native:cdn/v20220501preview:Origin" }, { type: "azure-native:cdn/v20221101preview:Origin" }, { type: "azure-native:cdn/v20230501:Origin" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Origin.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Origin resource. + */ +export interface OriginArgs { + /** + * Origin is enabled for load balancing or not + */ + enabled?: pulumi.Input; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + */ + hostName: pulumi.Input; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + httpPort?: pulumi.Input; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + httpsPort?: pulumi.Input; + /** + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + */ + originHostHeader?: pulumi.Input; + /** + * Name of the origin that is unique within the endpoint. + */ + originName?: pulumi.Input; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + */ + priority?: pulumi.Input; + /** + * The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + */ + privateLinkAlias?: pulumi.Input; + /** + * A custom message to be included in the approval request to connect to the Private Link. + */ + privateLinkApprovalMessage?: pulumi.Input; + /** + * The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + */ + privateLinkLocation?: pulumi.Input; + /** + * The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + */ + privateLinkResourceId?: pulumi.Input; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + weight?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/originGroup.ts b/sdk/nodejs/cdn/v20230701preview/originGroup.ts new file mode 100644 index 000000000000..9531b849a03c --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/originGroup.ts @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. + */ +export class OriginGroup extends pulumi.CustomResource { + /** + * Get an existing OriginGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OriginGroup { + return new OriginGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:OriginGroup'; + + /** + * Returns true if the given object is an instance of OriginGroup. 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 OriginGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OriginGroup.__pulumiType; + } + + /** + * Health probe settings to the origin that is used to determine the health of the origin. + */ + public readonly healthProbeSettings!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The source of the content being delivered via CDN within given origin group. + */ + public readonly origins!: pulumi.Output; + /** + * Provisioning status of the origin group. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Resource status of the origin group. + */ + public /*out*/ readonly resourceState!: pulumi.Output; + /** + * The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + */ + public readonly responseBasedOriginErrorDetectionSettings!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + public readonly trafficRestorationTimeToHealedOrNewEndpointsInMinutes!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a OriginGroup 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: OriginGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.endpointName === undefined) && !opts.urn) { + throw new Error("Missing required property 'endpointName'"); + } + if ((!args || args.origins === undefined) && !opts.urn) { + throw new Error("Missing required property 'origins'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["healthProbeSettings"] = args ? args.healthProbeSettings : undefined; + resourceInputs["originGroupName"] = args ? args.originGroupName : undefined; + resourceInputs["origins"] = args ? args.origins : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["responseBasedOriginErrorDetectionSettings"] = args ? args.responseBasedOriginErrorDetectionSettings : undefined; + resourceInputs["trafficRestorationTimeToHealedOrNewEndpointsInMinutes"] = args ? args.trafficRestorationTimeToHealedOrNewEndpointsInMinutes : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["healthProbeSettings"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["origins"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["responseBasedOriginErrorDetectionSettings"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["trafficRestorationTimeToHealedOrNewEndpointsInMinutes"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:OriginGroup" }, { type: "azure-native:cdn/v20191231:OriginGroup" }, { type: "azure-native:cdn/v20200331:OriginGroup" }, { type: "azure-native:cdn/v20200415:OriginGroup" }, { type: "azure-native:cdn/v20200901:OriginGroup" }, { type: "azure-native:cdn/v20210601:OriginGroup" }, { type: "azure-native:cdn/v20220501preview:OriginGroup" }, { type: "azure-native:cdn/v20221101preview:OriginGroup" }, { type: "azure-native:cdn/v20230501:OriginGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(OriginGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a OriginGroup resource. + */ +export interface OriginGroupArgs { + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Health probe settings to the origin that is used to determine the health of the origin. + */ + healthProbeSettings?: pulumi.Input; + /** + * Name of the origin group which is unique within the endpoint. + */ + originGroupName?: pulumi.Input; + /** + * The source of the content being delivered via CDN within given origin group. + */ + origins: pulumi.Input[]>; + /** + * Name of the CDN profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + */ + responseBasedOriginErrorDetectionSettings?: pulumi.Input; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/policy.ts b/sdk/nodejs/cdn/v20230701preview/policy.ts new file mode 100644 index 000000000000..a937e3bcf6c1 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/policy.ts @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Defines web application firewall policy for Azure CDN. + */ +export class Policy extends pulumi.CustomResource { + /** + * Get an existing Policy 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Policy { + return new Policy(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Policy'; + + /** + * Returns true if the given object is an instance of Policy. 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 Policy { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Policy.__pulumiType; + } + + /** + * Describes custom rules inside the policy. + */ + public readonly customRules!: pulumi.Output; + /** + * Describes Azure CDN endpoints associated with this Web Application Firewall policy. + */ + public /*out*/ readonly endpointLinks!: pulumi.Output; + /** + * Gets a unique read-only string that changes whenever the resource is updated. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Key-Value pair representing additional properties for Web Application Firewall policy. + */ + public readonly extendedProperties!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Describes managed rules inside the policy. + */ + public readonly managedRules!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Describes policySettings for policy + */ + public readonly policySettings!: pulumi.Output; + /** + * Provisioning state of the WebApplicationFirewallPolicy. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Describes rate limit rules inside the policy. + */ + public readonly rateLimitRules!: pulumi.Output; + public /*out*/ readonly resourceState!: pulumi.Output; + /** + * The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + */ + public readonly sku!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Policy 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: PolicyArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sku === undefined) && !opts.urn) { + throw new Error("Missing required property 'sku'"); + } + resourceInputs["customRules"] = args ? args.customRules : undefined; + resourceInputs["extendedProperties"] = args ? args.extendedProperties : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedRules"] = args ? args.managedRules : undefined; + resourceInputs["policyName"] = args ? args.policyName : undefined; + resourceInputs["policySettings"] = args ? args.policySettings : undefined; + resourceInputs["rateLimitRules"] = args ? args.rateLimitRules : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["endpointLinks"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["customRules"] = undefined /*out*/; + resourceInputs["endpointLinks"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["extendedProperties"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedRules"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["policySettings"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["rateLimitRules"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Policy" }, { type: "azure-native:cdn/v20190615:Policy" }, { type: "azure-native:cdn/v20190615preview:Policy" }, { type: "azure-native:cdn/v20200331:Policy" }, { type: "azure-native:cdn/v20200415:Policy" }, { type: "azure-native:cdn/v20200901:Policy" }, { type: "azure-native:cdn/v20210601:Policy" }, { type: "azure-native:cdn/v20220501preview:Policy" }, { type: "azure-native:cdn/v20221101preview:Policy" }, { type: "azure-native:cdn/v20230501:Policy" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Policy.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Policy resource. + */ +export interface PolicyArgs { + /** + * Describes custom rules inside the policy. + */ + customRules?: pulumi.Input; + /** + * Key-Value pair representing additional properties for Web Application Firewall policy. + */ + extendedProperties?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * Describes managed rules inside the policy. + */ + managedRules?: pulumi.Input; + /** + * The name of the CdnWebApplicationFirewallPolicy. + */ + policyName?: pulumi.Input; + /** + * Describes policySettings for policy + */ + policySettings?: pulumi.Input; + /** + * Describes rate limit rules inside the policy. + */ + rateLimitRules?: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + */ + sku: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/cdn/v20230701preview/profile.ts b/sdk/nodejs/cdn/v20230701preview/profile.ts new file mode 100644 index 000000000000..2d5bca9609b2 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/profile.ts @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A profile is a logical grouping of endpoints that share the same settings. + */ +export class Profile extends pulumi.CustomResource { + /** + * Get an existing Profile 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Profile { + return new Profile(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Profile'; + + /** + * Returns true if the given object is an instance of Profile. 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 Profile { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Profile.__pulumiType; + } + + /** + * Key-Value pair representing additional properties for profiles. + */ + public /*out*/ readonly extendedProperties!: pulumi.Output<{[key: string]: string}>; + /** + * The Id of the frontdoor. + */ + public /*out*/ readonly frontDoorId!: pulumi.Output; + /** + * Managed service identity (system assigned and/or user assigned identities). + */ + public readonly identity!: pulumi.Output; + /** + * Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + */ + public /*out*/ readonly kind!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + */ + public readonly originResponseTimeoutSeconds!: pulumi.Output; + /** + * Provisioning status of the profile. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Resource status of the profile. + */ + public /*out*/ readonly resourceState!: pulumi.Output; + /** + * The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + */ + public readonly sku!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Profile 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: ProfileArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sku === undefined) && !opts.urn) { + throw new Error("Missing required property 'sku'"); + } + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["originResponseTimeoutSeconds"] = args ? args.originResponseTimeoutSeconds : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["extendedProperties"] = undefined /*out*/; + resourceInputs["frontDoorId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["extendedProperties"] = undefined /*out*/; + resourceInputs["frontDoorId"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["originResponseTimeoutSeconds"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceState"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Profile" }, { type: "azure-native:cdn/v20150601:Profile" }, { type: "azure-native:cdn/v20160402:Profile" }, { type: "azure-native:cdn/v20161002:Profile" }, { type: "azure-native:cdn/v20170402:Profile" }, { type: "azure-native:cdn/v20171012:Profile" }, { type: "azure-native:cdn/v20190415:Profile" }, { type: "azure-native:cdn/v20190615:Profile" }, { type: "azure-native:cdn/v20190615preview:Profile" }, { type: "azure-native:cdn/v20191231:Profile" }, { type: "azure-native:cdn/v20200331:Profile" }, { type: "azure-native:cdn/v20200415:Profile" }, { type: "azure-native:cdn/v20200901:Profile" }, { type: "azure-native:cdn/v20210601:Profile" }, { type: "azure-native:cdn/v20220501preview:Profile" }, { type: "azure-native:cdn/v20221101preview:Profile" }, { type: "azure-native:cdn/v20230501:Profile" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Profile.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Profile resource. + */ +export interface ProfileArgs { + /** + * Managed service identity (system assigned and/or user assigned identities). + */ + identity?: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + */ + originResponseTimeoutSeconds?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + */ + profileName?: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + */ + sku: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/cdn/v20230701preview/route.ts b/sdk/nodejs/cdn/v20230701preview/route.ts new file mode 100644 index 000000000000..aa5ecd692d71 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/route.ts @@ -0,0 +1,239 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Friendly Routes name mapping to the any Routes or secret related information. + */ +export class Route extends pulumi.CustomResource { + /** + * Get an existing Route 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Route { + return new Route(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Route'; + + /** + * Returns true if the given object is an instance of Route. 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 Route { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Route.__pulumiType; + } + + /** + * The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + */ + public readonly cacheConfiguration!: pulumi.Output; + /** + * Domains referenced by this endpoint. + */ + public readonly customDomains!: pulumi.Output; + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ + public readonly enabledState!: pulumi.Output; + /** + * The name of the endpoint which holds the route. + */ + public readonly endpointName!: pulumi.Output; + /** + * Protocol this rule will use when forwarding traffic to backends. + */ + public readonly forwardingProtocol!: pulumi.Output; + /** + * Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + */ + public readonly httpsRedirect!: pulumi.Output; + /** + * whether this route will be linked to the default endpoint domain. + */ + public readonly linkToDefaultDomain!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * A reference to the origin group. + */ + public readonly originGroup!: pulumi.Output; + /** + * A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + */ + public readonly originPath!: pulumi.Output; + /** + * The route patterns of the rule. + */ + public readonly patternsToMatch!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * rule sets referenced by this endpoint. + */ + public readonly ruleSets!: pulumi.Output; + /** + * List of supported protocols for this route. + */ + public readonly supportedProtocols!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Route 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: RouteArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.endpointName === undefined) && !opts.urn) { + throw new Error("Missing required property 'endpointName'"); + } + if ((!args || args.originGroup === undefined) && !opts.urn) { + throw new Error("Missing required property 'originGroup'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["cacheConfiguration"] = args ? args.cacheConfiguration : undefined; + resourceInputs["customDomains"] = args ? args.customDomains : undefined; + resourceInputs["enabledState"] = args ? args.enabledState : undefined; + resourceInputs["endpointName"] = args ? args.endpointName : undefined; + resourceInputs["forwardingProtocol"] = (args ? args.forwardingProtocol : undefined) ?? "MatchRequest"; + resourceInputs["httpsRedirect"] = (args ? args.httpsRedirect : undefined) ?? "Disabled"; + resourceInputs["linkToDefaultDomain"] = (args ? args.linkToDefaultDomain : undefined) ?? "Disabled"; + resourceInputs["originGroup"] = args ? args.originGroup : undefined; + resourceInputs["originPath"] = args ? args.originPath : undefined; + resourceInputs["patternsToMatch"] = args ? args.patternsToMatch : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["routeName"] = args ? args.routeName : undefined; + resourceInputs["ruleSets"] = args ? args.ruleSets : undefined; + resourceInputs["supportedProtocols"] = args ? args.supportedProtocols : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["cacheConfiguration"] = undefined /*out*/; + resourceInputs["customDomains"] = undefined /*out*/; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["enabledState"] = undefined /*out*/; + resourceInputs["endpointName"] = undefined /*out*/; + resourceInputs["forwardingProtocol"] = undefined /*out*/; + resourceInputs["httpsRedirect"] = undefined /*out*/; + resourceInputs["linkToDefaultDomain"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["originGroup"] = undefined /*out*/; + resourceInputs["originPath"] = undefined /*out*/; + resourceInputs["patternsToMatch"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["ruleSets"] = undefined /*out*/; + resourceInputs["supportedProtocols"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Route" }, { type: "azure-native:cdn/v20200901:Route" }, { type: "azure-native:cdn/v20210601:Route" }, { type: "azure-native:cdn/v20220501preview:Route" }, { type: "azure-native:cdn/v20221101preview:Route" }, { type: "azure-native:cdn/v20230501:Route" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Route.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Route resource. + */ +export interface RouteArgs { + /** + * The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + */ + cacheConfiguration?: pulumi.Input; + /** + * Domains referenced by this endpoint. + */ + customDomains?: pulumi.Input[]>; + /** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ + enabledState?: pulumi.Input; + /** + * Name of the endpoint under the profile which is unique globally. + */ + endpointName: pulumi.Input; + /** + * Protocol this rule will use when forwarding traffic to backends. + */ + forwardingProtocol?: pulumi.Input; + /** + * Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + */ + httpsRedirect?: pulumi.Input; + /** + * whether this route will be linked to the default endpoint domain. + */ + linkToDefaultDomain?: pulumi.Input; + /** + * A reference to the origin group. + */ + originGroup: pulumi.Input; + /** + * A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + */ + originPath?: pulumi.Input; + /** + * The route patterns of the rule. + */ + patternsToMatch?: pulumi.Input[]>; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the routing rule. + */ + routeName?: pulumi.Input; + /** + * rule sets referenced by this endpoint. + */ + ruleSets?: pulumi.Input[]>; + /** + * List of supported protocols for this route. + */ + supportedProtocols?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/cdn/v20230701preview/rule.ts b/sdk/nodejs/cdn/v20230701preview/rule.ts new file mode 100644 index 000000000000..7fba2286e779 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/rule.ts @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Friendly Rules name mapping to the any Rules or secret related information. + */ +export class Rule extends pulumi.CustomResource { + /** + * Get an existing Rule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Rule { + return new Rule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Rule'; + + /** + * Returns true if the given object is an instance of Rule. 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 Rule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Rule.__pulumiType; + } + + /** + * A list of actions that are executed when all the conditions of a rule are satisfied. + */ + public readonly actions!: pulumi.Output<(outputs.cdn.v20230701preview.DeliveryRuleCacheExpirationActionResponse | outputs.cdn.v20230701preview.DeliveryRuleCacheKeyQueryStringActionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestHeaderActionResponse | outputs.cdn.v20230701preview.DeliveryRuleResponseHeaderActionResponse | outputs.cdn.v20230701preview.DeliveryRuleRouteConfigurationOverrideActionResponse | outputs.cdn.v20230701preview.OriginGroupOverrideActionResponse | outputs.cdn.v20230701preview.UrlRedirectActionResponse | outputs.cdn.v20230701preview.UrlRewriteActionResponse | outputs.cdn.v20230701preview.UrlSigningActionResponse)[]>; + /** + * A list of conditions that must be matched for the actions to be executed + */ + public readonly conditions!: pulumi.Output<(outputs.cdn.v20230701preview.DeliveryRuleClientPortConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleCookiesConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleHostNameConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleHttpVersionConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleIsDeviceConditionResponse | outputs.cdn.v20230701preview.DeliveryRulePostArgsConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleQueryStringConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRemoteAddressConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestBodyConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestHeaderConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestMethodConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestSchemeConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestUriConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleServerPortConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleSocketAddrConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleSslProtocolConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlFileExtensionConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlFileNameConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlPathConditionResponse)[] | undefined>; + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + */ + public readonly matchProcessingBehavior!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + */ + public readonly order!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The name of the rule set containing the rule. + */ + public readonly ruleSetName!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Rule 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: RuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.actions === undefined) && !opts.urn) { + throw new Error("Missing required property 'actions'"); + } + if ((!args || args.order === undefined) && !opts.urn) { + throw new Error("Missing required property 'order'"); + } + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.ruleSetName === undefined) && !opts.urn) { + throw new Error("Missing required property 'ruleSetName'"); + } + resourceInputs["actions"] = args ? args.actions : undefined; + resourceInputs["conditions"] = args ? args.conditions : undefined; + resourceInputs["matchProcessingBehavior"] = (args ? args.matchProcessingBehavior : undefined) ?? "Continue"; + resourceInputs["order"] = args ? args.order : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleName"] = args ? args.ruleName : undefined; + resourceInputs["ruleSetName"] = args ? args.ruleSetName : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["actions"] = undefined /*out*/; + resourceInputs["conditions"] = undefined /*out*/; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["matchProcessingBehavior"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["order"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["ruleSetName"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Rule" }, { type: "azure-native:cdn/v20200901:Rule" }, { type: "azure-native:cdn/v20210601:Rule" }, { type: "azure-native:cdn/v20220501preview:Rule" }, { type: "azure-native:cdn/v20221101preview:Rule" }, { type: "azure-native:cdn/v20230501:Rule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Rule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Rule resource. + */ +export interface RuleArgs { + /** + * A list of actions that are executed when all the conditions of a rule are satisfied. + */ + actions: pulumi.Input[]>; + /** + * A list of conditions that must be matched for the actions to be executed + */ + conditions?: pulumi.Input[]>; + /** + * If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + */ + matchProcessingBehavior?: pulumi.Input; + /** + * The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + */ + order: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the delivery rule which is unique within the endpoint. + */ + ruleName?: pulumi.Input; + /** + * Name of the rule set under the profile. + */ + ruleSetName: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/ruleSet.ts b/sdk/nodejs/cdn/v20230701preview/ruleSet.ts new file mode 100644 index 000000000000..2f60cd7fbb3e --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/ruleSet.ts @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Friendly RuleSet name mapping to the any RuleSet or secret related information. + */ +export class RuleSet extends pulumi.CustomResource { + /** + * Get an existing RuleSet 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): RuleSet { + return new RuleSet(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:RuleSet'; + + /** + * Returns true if the given object is an instance of RuleSet. 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 RuleSet { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RuleSet.__pulumiType; + } + + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The name of the profile which holds the rule set. + */ + public readonly profileName!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a RuleSet 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: RuleSetArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleSetName"] = args ? args.ruleSetName : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["profileName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:RuleSet" }, { type: "azure-native:cdn/v20200901:RuleSet" }, { type: "azure-native:cdn/v20210601:RuleSet" }, { type: "azure-native:cdn/v20220501preview:RuleSet" }, { type: "azure-native:cdn/v20221101preview:RuleSet" }, { type: "azure-native:cdn/v20230501:RuleSet" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(RuleSet.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a RuleSet resource. + */ +export interface RuleSetArgs { + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the rule set under the profile which is unique globally + */ + ruleSetName?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/secret.ts b/sdk/nodejs/cdn/v20230701preview/secret.ts new file mode 100644 index 000000000000..327be3bc39b0 --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/secret.ts @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Friendly Secret name mapping to the any Secret or secret related information. + */ +export class Secret extends pulumi.CustomResource { + /** + * Get an existing Secret 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Secret { + return new Secret(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:Secret'; + + /** + * Returns true if the given object is an instance of Secret. 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 Secret { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Secret.__pulumiType; + } + + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * object which contains secret parameters + */ + public readonly parameters!: pulumi.Output; + /** + * The name of the profile which holds the secret. + */ + public readonly profileName!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Secret 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: SecretArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["parameters"] = args ? args.parameters : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["secretName"] = args ? args.secretName : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["parameters"] = undefined /*out*/; + resourceInputs["profileName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:Secret" }, { type: "azure-native:cdn/v20200901:Secret" }, { type: "azure-native:cdn/v20210601:Secret" }, { type: "azure-native:cdn/v20220501preview:Secret" }, { type: "azure-native:cdn/v20221101preview:Secret" }, { type: "azure-native:cdn/v20230501:Secret" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Secret.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Secret resource. + */ +export interface SecretArgs { + /** + * object which contains secret parameters + */ + parameters?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the Secret under the profile. + */ + secretName?: pulumi.Input; +} diff --git a/sdk/nodejs/cdn/v20230701preview/securityPolicy.ts b/sdk/nodejs/cdn/v20230701preview/securityPolicy.ts new file mode 100644 index 000000000000..d3da052524ca --- /dev/null +++ b/sdk/nodejs/cdn/v20230701preview/securityPolicy.ts @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * SecurityPolicy association for AzureFrontDoor profile + */ +export class SecurityPolicy extends pulumi.CustomResource { + /** + * Get an existing SecurityPolicy 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SecurityPolicy { + return new SecurityPolicy(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:cdn/v20230701preview:SecurityPolicy'; + + /** + * Returns true if the given object is an instance of SecurityPolicy. 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 SecurityPolicy { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SecurityPolicy.__pulumiType; + } + + public /*out*/ readonly deploymentStatus!: pulumi.Output; + /** + * Resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * object which contains security policy parameters + */ + public readonly parameters!: pulumi.Output; + /** + * The name of the profile which holds the security policy. + */ + public readonly profileName!: pulumi.Output; + /** + * Provisioning status + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Read only system data + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SecurityPolicy 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: SecurityPolicyArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.profileName === undefined) && !opts.urn) { + throw new Error("Missing required property 'profileName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["parameters"] = args ? args.parameters : undefined; + resourceInputs["profileName"] = args ? args.profileName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["securityPolicyName"] = args ? args.securityPolicyName : undefined; + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["deploymentStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["parameters"] = undefined /*out*/; + resourceInputs["profileName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:cdn:SecurityPolicy" }, { type: "azure-native:cdn/v20200901:SecurityPolicy" }, { type: "azure-native:cdn/v20210601:SecurityPolicy" }, { type: "azure-native:cdn/v20220501preview:SecurityPolicy" }, { type: "azure-native:cdn/v20221101preview:SecurityPolicy" }, { type: "azure-native:cdn/v20230501:SecurityPolicy" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SecurityPolicy.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SecurityPolicy resource. + */ +export interface SecurityPolicyArgs { + /** + * object which contains security policy parameters + */ + parameters?: pulumi.Input; + /** + * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + */ + profileName: pulumi.Input; + /** + * Name of the Resource group within the Azure subscription. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the security policy under the profile. + */ + securityPolicyName?: pulumi.Input; +} diff --git a/sdk/nodejs/confidentialledger/index.ts b/sdk/nodejs/confidentialledger/index.ts index aa9bdd323d1c..28f9aaa08d9c 100644 --- a/sdk/nodejs/confidentialledger/index.ts +++ b/sdk/nodejs/confidentialledger/index.ts @@ -32,10 +32,12 @@ export * from "../types/enums/confidentialledger"; // Export sub-modules: import * as v20220513 from "./v20220513"; import * as v20230126preview from "./v20230126preview"; +import * as v20230628preview from "./v20230628preview"; export { v20220513, v20230126preview, + v20230628preview, }; const _module = { diff --git a/sdk/nodejs/confidentialledger/ledger.ts b/sdk/nodejs/confidentialledger/ledger.ts index 6816fd1ea7b2..f4013aff70d5 100644 --- a/sdk/nodejs/confidentialledger/ledger.ts +++ b/sdk/nodejs/confidentialledger/ledger.ts @@ -94,7 +94,7 @@ export class Ledger extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220513:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }, { type: "azure-native:confidentialledger/v20230126preview:Ledger" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220513:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }, { type: "azure-native:confidentialledger/v20230126preview:Ledger" }, { type: "azure-native:confidentialledger/v20230628preview:Ledger" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ledger.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/confidentialledger/managedCCF.ts b/sdk/nodejs/confidentialledger/managedCCF.ts index f91e3e21cbef..3d0e3f6e6549 100644 --- a/sdk/nodejs/confidentialledger/managedCCF.ts +++ b/sdk/nodejs/confidentialledger/managedCCF.ts @@ -94,7 +94,7 @@ export class ManagedCCF extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger/v20220908preview:ManagedCCF" }, { type: "azure-native:confidentialledger/v20230126preview:ManagedCCF" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger/v20220908preview:ManagedCCF" }, { type: "azure-native:confidentialledger/v20230126preview:ManagedCCF" }, { type: "azure-native:confidentialledger/v20230628preview:ManagedCCF" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCCF.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/confidentialledger/v20220513/ledger.ts b/sdk/nodejs/confidentialledger/v20220513/ledger.ts index c33c2d7d987d..14c7f2d117f8 100644 --- a/sdk/nodejs/confidentialledger/v20220513/ledger.ts +++ b/sdk/nodejs/confidentialledger/v20220513/ledger.ts @@ -93,7 +93,7 @@ export class Ledger extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:Ledger" }, { type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }, { type: "azure-native:confidentialledger/v20230126preview:Ledger" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:Ledger" }, { type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }, { type: "azure-native:confidentialledger/v20230126preview:Ledger" }, { type: "azure-native:confidentialledger/v20230628preview:Ledger" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ledger.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/confidentialledger/v20230126preview/ledger.ts b/sdk/nodejs/confidentialledger/v20230126preview/ledger.ts index 784308e95257..0f7db7ef2599 100644 --- a/sdk/nodejs/confidentialledger/v20230126preview/ledger.ts +++ b/sdk/nodejs/confidentialledger/v20230126preview/ledger.ts @@ -93,7 +93,7 @@ export class Ledger extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:Ledger" }, { type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220513:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:Ledger" }, { type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220513:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }, { type: "azure-native:confidentialledger/v20230628preview:Ledger" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ledger.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/confidentialledger/v20230126preview/managedCCF.ts b/sdk/nodejs/confidentialledger/v20230126preview/managedCCF.ts index a1853648e121..3b71f389159b 100644 --- a/sdk/nodejs/confidentialledger/v20230126preview/managedCCF.ts +++ b/sdk/nodejs/confidentialledger/v20230126preview/managedCCF.ts @@ -93,7 +93,7 @@ export class ManagedCCF extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:ManagedCCF" }, { type: "azure-native:confidentialledger/v20220908preview:ManagedCCF" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:ManagedCCF" }, { type: "azure-native:confidentialledger/v20220908preview:ManagedCCF" }, { type: "azure-native:confidentialledger/v20230628preview:ManagedCCF" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCCF.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/confidentialledger/v20230628preview/getLedger.ts b/sdk/nodejs/confidentialledger/v20230628preview/getLedger.ts new file mode 100644 index 000000000000..28435eebca25 --- /dev/null +++ b/sdk/nodejs/confidentialledger/v20230628preview/getLedger.ts @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of a Confidential Ledger. + */ +export function getLedger(args: GetLedgerArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:confidentialledger/v20230628preview:getLedger", { + "ledgerName": args.ledgerName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetLedgerArgs { + /** + * Name of the Confidential Ledger + */ + ledgerName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Confidential Ledger. Contains the properties of Confidential Ledger Resource. + */ +export interface GetLedgerResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Properties of Confidential Ledger Resource. + */ + readonly properties: outputs.confidentialledger.v20230628preview.LedgerPropertiesResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.confidentialledger.v20230628preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Retrieves the properties of a Confidential Ledger. + */ +export function getLedgerOutput(args: GetLedgerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getLedger(a, opts)) +} + +export interface GetLedgerOutputArgs { + /** + * Name of the Confidential Ledger + */ + ledgerName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/confidentialledger/v20230628preview/getManagedCCF.ts b/sdk/nodejs/confidentialledger/v20230628preview/getManagedCCF.ts new file mode 100644 index 000000000000..a6e14d85059d --- /dev/null +++ b/sdk/nodejs/confidentialledger/v20230628preview/getManagedCCF.ts @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of a Managed CCF app. + */ +export function getManagedCCF(args: GetManagedCCFArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:confidentialledger/v20230628preview:getManagedCCF", { + "appName": args.appName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetManagedCCFArgs { + /** + * Name of the Managed CCF + */ + appName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Managed CCF. Contains the properties of Managed CCF Resource. + */ +export interface GetManagedCCFResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Properties of Managed CCF Resource. + */ + readonly properties: outputs.confidentialledger.v20230628preview.ManagedCCFPropertiesResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.confidentialledger.v20230628preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Retrieves the properties of a Managed CCF app. + */ +export function getManagedCCFOutput(args: GetManagedCCFOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getManagedCCF(a, opts)) +} + +export interface GetManagedCCFOutputArgs { + /** + * Name of the Managed CCF + */ + appName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/confidentialledger/v20230628preview/index.ts b/sdk/nodejs/confidentialledger/v20230628preview/index.ts new file mode 100644 index 000000000000..cfa595dde2fe --- /dev/null +++ b/sdk/nodejs/confidentialledger/v20230628preview/index.ts @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { GetLedgerArgs, GetLedgerResult, GetLedgerOutputArgs } from "./getLedger"; +export const getLedger: typeof import("./getLedger").getLedger = null as any; +export const getLedgerOutput: typeof import("./getLedger").getLedgerOutput = null as any; +utilities.lazyLoad(exports, ["getLedger","getLedgerOutput"], () => require("./getLedger")); + +export { GetManagedCCFArgs, GetManagedCCFResult, GetManagedCCFOutputArgs } from "./getManagedCCF"; +export const getManagedCCF: typeof import("./getManagedCCF").getManagedCCF = null as any; +export const getManagedCCFOutput: typeof import("./getManagedCCF").getManagedCCFOutput = null as any; +utilities.lazyLoad(exports, ["getManagedCCF","getManagedCCFOutput"], () => require("./getManagedCCF")); + +export { LedgerArgs } from "./ledger"; +export type Ledger = import("./ledger").Ledger; +export const Ledger: typeof import("./ledger").Ledger = null as any; +utilities.lazyLoad(exports, ["Ledger"], () => require("./ledger")); + +export { ManagedCCFArgs } from "./managedCCF"; +export type ManagedCCF = import("./managedCCF").ManagedCCF; +export const ManagedCCF: typeof import("./managedCCF").ManagedCCF = null as any; +utilities.lazyLoad(exports, ["ManagedCCF"], () => require("./managedCCF")); + + +// Export enums: +export * from "../../types/enums/confidentialledger/v20230628preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:confidentialledger/v20230628preview:Ledger": + return new Ledger(name, undefined, { urn }) + case "azure-native:confidentialledger/v20230628preview:ManagedCCF": + return new ManagedCCF(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "confidentialledger/v20230628preview", _module) diff --git a/sdk/nodejs/confidentialledger/v20230628preview/ledger.ts b/sdk/nodejs/confidentialledger/v20230628preview/ledger.ts new file mode 100644 index 000000000000..37b7a6048418 --- /dev/null +++ b/sdk/nodejs/confidentialledger/v20230628preview/ledger.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Confidential Ledger. Contains the properties of Confidential Ledger Resource. + */ +export class Ledger extends pulumi.CustomResource { + /** + * Get an existing Ledger 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Ledger { + return new Ledger(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:confidentialledger/v20230628preview:Ledger'; + + /** + * Returns true if the given object is an instance of Ledger. 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 Ledger { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Ledger.__pulumiType; + } + + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of Confidential Ledger Resource. + */ + public readonly properties!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Ledger 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: LedgerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["ledgerName"] = args ? args.ledgerName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:Ledger" }, { type: "azure-native:confidentialledger/v20201201preview:Ledger" }, { type: "azure-native:confidentialledger/v20210513preview:Ledger" }, { type: "azure-native:confidentialledger/v20220513:Ledger" }, { type: "azure-native:confidentialledger/v20220908preview:Ledger" }, { type: "azure-native:confidentialledger/v20230126preview:Ledger" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Ledger.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Ledger resource. + */ +export interface LedgerArgs { + /** + * Name of the Confidential Ledger + */ + ledgerName?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Properties of Confidential Ledger Resource. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/confidentialledger/v20230628preview/managedCCF.ts b/sdk/nodejs/confidentialledger/v20230628preview/managedCCF.ts new file mode 100644 index 000000000000..52ee975007e7 --- /dev/null +++ b/sdk/nodejs/confidentialledger/v20230628preview/managedCCF.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Managed CCF. Contains the properties of Managed CCF Resource. + */ +export class ManagedCCF extends pulumi.CustomResource { + /** + * Get an existing ManagedCCF 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ManagedCCF { + return new ManagedCCF(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:confidentialledger/v20230628preview:ManagedCCF'; + + /** + * Returns true if the given object is an instance of ManagedCCF. 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 ManagedCCF { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ManagedCCF.__pulumiType; + } + + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of Managed CCF Resource. + */ + public readonly properties!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ManagedCCF 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: ManagedCCFArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["appName"] = args ? args.appName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:confidentialledger:ManagedCCF" }, { type: "azure-native:confidentialledger/v20220908preview:ManagedCCF" }, { type: "azure-native:confidentialledger/v20230126preview:ManagedCCF" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ManagedCCF.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ManagedCCF resource. + */ +export interface ManagedCCFArgs { + /** + * Name of the Managed CCF + */ + appName?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Properties of Managed CCF Resource. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/cluster.ts b/sdk/nodejs/connectedvmwarevsphere/cluster.ts index 52325d19af25..76506dbe3dd8 100644 --- a/sdk/nodejs/connectedvmwarevsphere/cluster.ts +++ b/sdk/nodejs/connectedvmwarevsphere/cluster.ts @@ -160,7 +160,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/datastore.ts b/sdk/nodejs/connectedvmwarevsphere/datastore.ts index 96aa4a7cc1cd..5d4abc19f0a1 100644 --- a/sdk/nodejs/connectedvmwarevsphere/datastore.ts +++ b/sdk/nodejs/connectedvmwarevsphere/datastore.ts @@ -160,7 +160,7 @@ export class Datastore extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Datastore" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Datastore" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Datastore.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/host.ts b/sdk/nodejs/connectedvmwarevsphere/host.ts index 3c980269da29..0719be9eaa75 100644 --- a/sdk/nodejs/connectedvmwarevsphere/host.ts +++ b/sdk/nodejs/connectedvmwarevsphere/host.ts @@ -160,7 +160,7 @@ export class Host extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Host" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Host" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Host.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/index.ts b/sdk/nodejs/connectedvmwarevsphere/index.ts index 5f2e113346cc..5635701b8897 100644 --- a/sdk/nodejs/connectedvmwarevsphere/index.ts +++ b/sdk/nodejs/connectedvmwarevsphere/index.ts @@ -153,11 +153,13 @@ export * from "../types/enums/connectedvmwarevsphere"; import * as v20220110preview from "./v20220110preview"; import * as v20220715preview from "./v20220715preview"; import * as v20230301preview from "./v20230301preview"; +import * as v20231001 from "./v20231001"; export { v20220110preview, v20220715preview, v20230301preview, + v20231001, }; const _module = { diff --git a/sdk/nodejs/connectedvmwarevsphere/inventoryItem.ts b/sdk/nodejs/connectedvmwarevsphere/inventoryItem.ts index 5b19a319e972..6029d25c33b6 100644 --- a/sdk/nodejs/connectedvmwarevsphere/inventoryItem.ts +++ b/sdk/nodejs/connectedvmwarevsphere/inventoryItem.ts @@ -119,7 +119,7 @@ export class InventoryItem extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20231001:InventoryItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(InventoryItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/resourcePool.ts b/sdk/nodejs/connectedvmwarevsphere/resourcePool.ts index a3ec6e4697d2..c2480631fd90 100644 --- a/sdk/nodejs/connectedvmwarevsphere/resourcePool.ts +++ b/sdk/nodejs/connectedvmwarevsphere/resourcePool.ts @@ -202,7 +202,7 @@ export class ResourcePool extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20231001:ResourcePool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourcePool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/cluster.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/cluster.ts index 3184e209961d..238c3399f360 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/cluster.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/cluster.ts @@ -159,7 +159,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/datastore.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/datastore.ts index 545f518773a6..aa04130b8162 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/datastore.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/datastore.ts @@ -159,7 +159,7 @@ export class Datastore extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Datastore" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Datastore" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Datastore.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/host.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/host.ts index a4ddc57f1307..b821759242ce 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/host.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/host.ts @@ -159,7 +159,7 @@ export class Host extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Host" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Host" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Host" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Host" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Host.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/inventoryItem.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/inventoryItem.ts index 4afe2de9b36d..c6fb5e220d89 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/inventoryItem.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/inventoryItem.ts @@ -118,7 +118,7 @@ export class InventoryItem extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20231001:InventoryItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(InventoryItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/resourcePool.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/resourcePool.ts index 17abc962b880..692cc9762389 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/resourcePool.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/resourcePool.ts @@ -201,7 +201,7 @@ export class ResourcePool extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20231001:ResourcePool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourcePool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/vcenter.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/vcenter.ts index 4d3e8a713072..1ebd9e4eb797 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/vcenter.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/vcenter.ts @@ -162,7 +162,7 @@ export class VCenter extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualMachineTemplate.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualMachineTemplate.ts index 79bcf9ebb245..44eb4ff098f4 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualMachineTemplate.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualMachineTemplate.ts @@ -215,7 +215,7 @@ export class VirtualMachineTemplate extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualNetwork.ts b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualNetwork.ts index e1bf5408121c..b60a89c9ba54 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualNetwork.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20220715preview/virtualNetwork.ts @@ -147,7 +147,7 @@ export class VirtualNetwork extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/cluster.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/cluster.ts index 1b149c81eba2..6689e497cdf3 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/cluster.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/cluster.ts @@ -183,7 +183,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/datastore.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/datastore.ts index f1fb731f608e..075e15ff427c 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/datastore.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/datastore.ts @@ -159,7 +159,7 @@ export class Datastore extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Datastore" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Datastore" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Datastore.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/host.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/host.ts index 07855f62d50b..3595ac96fec5 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/host.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/host.ts @@ -183,7 +183,7 @@ export class Host extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Host" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Host" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Host" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20231001:Host" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Host.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/inventoryItem.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/inventoryItem.ts index 134643e10236..d4dab3170b89 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/inventoryItem.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/inventoryItem.ts @@ -118,7 +118,7 @@ export class InventoryItem extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20231001:InventoryItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(InventoryItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/resourcePool.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/resourcePool.ts index 70d5a70a74d4..07f4c1c5bab5 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/resourcePool.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/resourcePool.ts @@ -225,7 +225,7 @@ export class ResourcePool extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20231001:ResourcePool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourcePool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vcenter.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vcenter.ts index 95c78c5b5ea7..01e43a79741b 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vcenter.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vcenter.ts @@ -162,7 +162,7 @@ export class VCenter extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineInstance.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineInstance.ts index ae90427540ca..8cafe3d932c7 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineInstance.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineInstance.ts @@ -146,7 +146,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineInstance" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineTemplate.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineTemplate.ts index 98b280da9bc4..4dcf5e1f293a 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineTemplate.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualMachineTemplate.ts @@ -215,7 +215,7 @@ export class VirtualMachineTemplate extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualNetwork.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualNetwork.ts index 9cee26eae917..d23f324d4dd9 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualNetwork.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/virtualNetwork.ts @@ -147,7 +147,7 @@ export class VirtualNetwork extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vminstanceGuestAgent.ts b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vminstanceGuestAgent.ts index 3fba138b334b..ea903330bd6b 100644 --- a/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vminstanceGuestAgent.ts +++ b/sdk/nodejs/connectedvmwarevsphere/v20230301preview/vminstanceGuestAgent.ts @@ -128,7 +128,7 @@ export class VMInstanceGuestAgent extends pulumi.CustomResource { resourceInputs["uuid"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VMInstanceGuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VMInstanceGuestAgent" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VMInstanceGuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/cluster.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/cluster.ts new file mode 100644 index 000000000000..95762d1b403e --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/cluster.ts @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the cluster. + */ +export class Cluster extends pulumi.CustomResource { + /** + * Get an existing Cluster 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Cluster { + return new Cluster(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:Cluster'; + + /** + * Returns true if the given object is an instance of Cluster. 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 Cluster { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Cluster.__pulumiType; + } + + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets the datastore ARM ids. + */ + public /*out*/ readonly datastoreIds!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Gets or sets the inventory Item ID for the cluster. + */ + public readonly inventoryItemId!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the cluster. + */ + public /*out*/ readonly moName!: pulumi.Output; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + */ + public readonly moRefId!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets the network ARM ids. + */ + public /*out*/ readonly networkIds!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets the max CPU usage across all cores on the cluster in MHz. + */ + public /*out*/ readonly totalCpuMHz!: pulumi.Output; + /** + * Gets the total amount of physical memory on the cluster in GB. + */ + public /*out*/ readonly totalMemoryGB!: pulumi.Output; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets the used CPU usage across all cores on the cluster in MHz. + */ + public /*out*/ readonly usedCpuMHz!: pulumi.Output; + /** + * Gets the used physical memory on the cluster in GB. + */ + public /*out*/ readonly usedMemoryGB!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + */ + public readonly vCenterId!: pulumi.Output; + + /** + * Create a Cluster 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: ClusterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["inventoryItemId"] = args ? args.inventoryItemId : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vCenterId"] = args ? args.vCenterId : undefined; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["datastoreIds"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkIds"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["totalCpuMHz"] = undefined /*out*/; + resourceInputs["totalMemoryGB"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["usedCpuMHz"] = undefined /*out*/; + resourceInputs["usedMemoryGB"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["datastoreIds"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["inventoryItemId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkIds"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["totalCpuMHz"] = undefined /*out*/; + resourceInputs["totalMemoryGB"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["usedCpuMHz"] = undefined /*out*/; + resourceInputs["usedMemoryGB"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["vCenterId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Cluster" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Cluster" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Cluster.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Cluster resource. + */ +export interface ClusterArgs { + /** + * Name of the cluster. + */ + clusterName?: pulumi.Input; + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the cluster. + */ + inventoryItemId?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + */ + vCenterId?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/datastore.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/datastore.ts new file mode 100644 index 000000000000..0041b624d5c9 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/datastore.ts @@ -0,0 +1,208 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the datastore. + */ +export class Datastore extends pulumi.CustomResource { + /** + * Get an existing Datastore 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Datastore { + return new Datastore(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:Datastore'; + + /** + * Returns true if the given object is an instance of Datastore. 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 Datastore { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Datastore.__pulumiType; + } + + /** + * Gets or sets Maximum capacity of this datastore in GBs. + */ + public /*out*/ readonly capacityGB!: pulumi.Output; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Gets or sets Available space of this datastore in GBs. + */ + public /*out*/ readonly freeSpaceGB!: pulumi.Output; + /** + * Gets or sets the inventory Item ID for the datastore. + */ + public readonly inventoryItemId!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the datastore. + */ + public /*out*/ readonly moName!: pulumi.Output; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + */ + public readonly moRefId!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + */ + public readonly vCenterId!: pulumi.Output; + + /** + * Create a Datastore 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: DatastoreArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["datastoreName"] = args ? args.datastoreName : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["inventoryItemId"] = args ? args.inventoryItemId : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vCenterId"] = args ? args.vCenterId : undefined; + resourceInputs["capacityGB"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["freeSpaceGB"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["capacityGB"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["freeSpaceGB"] = undefined /*out*/; + resourceInputs["inventoryItemId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["vCenterId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Datastore" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Datastore" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Datastore.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Datastore resource. + */ +export interface DatastoreArgs { + /** + * Name of the datastore. + */ + datastoreName?: pulumi.Input; + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the datastore. + */ + inventoryItemId?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + */ + vCenterId?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getCluster.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getCluster.ts new file mode 100644 index 000000000000..3cbc0dc0139c --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getCluster.ts @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements cluster GET method. + */ +export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getCluster", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetClusterArgs { + /** + * Name of the cluster. + */ + clusterName: string; + /** + * The Resource Group Name. + */ + resourceGroupName: string; +} + +/** + * Define the cluster. + */ +export interface GetClusterResult { + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets the datastore ARM ids. + */ + readonly datastoreIds: string[]; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the inventory Item ID for the cluster. + */ + readonly inventoryItemId?: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets or sets the vCenter Managed Object name for the cluster. + */ + readonly moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + */ + readonly moRefId?: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Gets the network ARM ids. + */ + readonly networkIds: string[]; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets the max CPU usage across all cores on the cluster in MHz. + */ + readonly totalCpuMHz: number; + /** + * Gets the total amount of physical memory on the cluster in GB. + */ + readonly totalMemoryGB: number; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets the used CPU usage across all cores on the cluster in MHz. + */ + readonly usedCpuMHz: number; + /** + * Gets the used physical memory on the cluster in GB. + */ + readonly usedMemoryGB: number; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + */ + readonly vCenterId?: string; +} +/** + * Implements cluster GET method. + */ +export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCluster(a, opts)) +} + +export interface GetClusterOutputArgs { + /** + * Name of the cluster. + */ + clusterName: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getDatastore.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getDatastore.ts new file mode 100644 index 000000000000..1c5a6545413b --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getDatastore.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements datastore GET method. + */ +export function getDatastore(args: GetDatastoreArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getDatastore", { + "datastoreName": args.datastoreName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetDatastoreArgs { + /** + * Name of the datastore. + */ + datastoreName: string; + /** + * The Resource Group Name. + */ + resourceGroupName: string; +} + +/** + * Define the datastore. + */ +export interface GetDatastoreResult { + /** + * Gets or sets Maximum capacity of this datastore in GBs. + */ + readonly capacityGB: number; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Gets or sets Available space of this datastore in GBs. + */ + readonly freeSpaceGB: number; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the inventory Item ID for the datastore. + */ + readonly inventoryItemId?: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets or sets the vCenter Managed Object name for the datastore. + */ + readonly moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + */ + readonly moRefId?: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + */ + readonly vCenterId?: string; +} +/** + * Implements datastore GET method. + */ +export function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDatastore(a, opts)) +} + +export interface GetDatastoreOutputArgs { + /** + * Name of the datastore. + */ + datastoreName: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getHost.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getHost.ts new file mode 100644 index 000000000000..96fa86301ebd --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getHost.ts @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements host GET method. + */ +export function getHost(args: GetHostArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getHost", { + "hostName": args.hostName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetHostArgs { + /** + * Name of the host. + */ + hostName: string; + /** + * The Resource Group Name. + */ + resourceGroupName: string; +} + +/** + * Define the host. + */ +export interface GetHostResult { + /** + * Gets the max CPU usage across all cores in MHz. + */ + readonly cpuMhz: number; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets the datastore ARM ids. + */ + readonly datastoreIds: string[]; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the inventory Item ID for the host. + */ + readonly inventoryItemId?: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets the total amount of physical memory on the host in GB. + */ + readonly memorySizeGB: number; + /** + * Gets or sets the vCenter Managed Object name for the host. + */ + readonly moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + */ + readonly moRefId?: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Gets the network ARM ids. + */ + readonly networkIds: string[]; + /** + * Gets the used CPU usage across all cores in MHz. + */ + readonly overallCpuUsageMHz: number; + /** + * Gets the used physical memory on the host in GB. + */ + readonly overallMemoryUsageGB: number; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this host resides. + */ + readonly vCenterId?: string; +} +/** + * Implements host GET method. + */ +export function getHostOutput(args: GetHostOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getHost(a, opts)) +} + +export interface GetHostOutputArgs { + /** + * Name of the host. + */ + hostName: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getInventoryItem.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getInventoryItem.ts new file mode 100644 index 000000000000..3da58644866e --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getInventoryItem.ts @@ -0,0 +1,103 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements InventoryItem GET method. + */ +export function getInventoryItem(args: GetInventoryItemArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getInventoryItem", { + "inventoryItemName": args.inventoryItemName, + "resourceGroupName": args.resourceGroupName, + "vcenterName": args.vcenterName, + }, opts); +} + +export interface GetInventoryItemArgs { + /** + * Name of the inventoryItem. + */ + inventoryItemName: string; + /** + * The Resource Group Name. + */ + resourceGroupName: string; + /** + * Name of the vCenter. + */ + vcenterName: string; +} + +/** + * Defines the inventory item. + */ +export interface GetInventoryItemResult { + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * They inventory type. + */ + readonly inventoryType: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the tracked resource id corresponding to the inventory resource. + */ + readonly managedResourceId?: string; + /** + * Gets or sets the vCenter Managed Object name for the inventory item. + */ + readonly moName?: string; + /** + * Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + */ + readonly moRefId?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Implements InventoryItem GET method. + */ +export function getInventoryItemOutput(args: GetInventoryItemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getInventoryItem(a, opts)) +} + +export interface GetInventoryItemOutputArgs { + /** + * Name of the inventoryItem. + */ + inventoryItemName: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the vCenter. + */ + vcenterName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getResourcePool.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getResourcePool.ts new file mode 100644 index 000000000000..66f96dc614a7 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getResourcePool.ts @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements resourcePool GET method. + */ +export function getResourcePool(args: GetResourcePoolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getResourcePool", { + "resourceGroupName": args.resourceGroupName, + "resourcePoolName": args.resourcePoolName, + }, opts); +} + +export interface GetResourcePoolArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: string; + /** + * Name of the resourcePool. + */ + resourcePoolName: string; +} + +/** + * Define the resourcePool. + */ +export interface GetResourcePoolResult { + /** + * Gets the max CPU usage across all cores on the pool in MHz. + */ + readonly cpuCapacityMHz: number; + /** + * Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. + * Utilization will not exceed this limit even if there are available resources. + */ + readonly cpuLimitMHz: number; + /** + * Gets the used CPU usage across all cores on the pool in MHz. + */ + readonly cpuOverallUsageMHz: number; + /** + * Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed + * to be available. + */ + readonly cpuReservationMHz: number; + /** + * Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. + * This property is used in relative allocation between resource consumers. + */ + readonly cpuSharesLevel: string; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets the datastore ARM ids. + */ + readonly datastoreIds: string[]; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the inventory Item ID for the resource pool. + */ + readonly inventoryItemId?: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets the total amount of physical memory on the pool in GB. + */ + readonly memCapacityGB: number; + /** + * Gets or sets MemLimitMB specifies a memory usage limit in megabytes. + * Utilization will not exceed the specified limit even if there are available resources. + */ + readonly memLimitMB: number; + /** + * Gets the used physical memory on the pool in GB. + */ + readonly memOverallUsageGB: number; + /** + * Gets or sets MemReservationMB which specifies the guaranteed available memory in + * megabytes. + */ + readonly memReservationMB: number; + /** + * Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. + * This property is used in relative allocation between resource consumers. + */ + readonly memSharesLevel: string; + /** + * Gets or sets the vCenter Managed Object name for the resource pool. + */ + readonly moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + */ + readonly moRefId?: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Gets the network ARM ids. + */ + readonly networkIds: string[]; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + */ + readonly vCenterId?: string; +} +/** + * Implements resourcePool GET method. + */ +export function getResourcePoolOutput(args: GetResourcePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getResourcePool(a, opts)) +} + +export interface GetResourcePoolOutputArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the resourcePool. + */ + resourcePoolName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getVCenter.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVCenter.ts new file mode 100644 index 000000000000..6007e201225f --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVCenter.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements vCenter GET method. + */ +export function getVCenter(args: GetVCenterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getVCenter", { + "resourceGroupName": args.resourceGroupName, + "vcenterName": args.vcenterName, + }, opts); +} + +export interface GetVCenterArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: string; + /** + * Name of the vCenter. + */ + vcenterName: string; +} + +/** + * Defines the vCenter. + */ +export interface GetVCenterResult { + /** + * Gets or sets the connection status to the vCenter. + */ + readonly connectionStatus: string; + /** + * Username / Password Credentials to connect to vcenter. + */ + readonly credentials?: outputs.connectedvmwarevsphere.v20231001.VICredentialResponse; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Gets or sets the FQDN/IPAddress of the vCenter. + */ + readonly fqdn: string; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the instance UUID of the vCenter. + */ + readonly instanceUuid: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Gets or sets the port of the vCenter. + */ + readonly port?: number; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the version of the vCenter. + */ + readonly version: string; +} +/** + * Implements vCenter GET method. + */ +export function getVCenterOutput(args: GetVCenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVCenter(a, opts)) +} + +export interface GetVCenterOutputArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the vCenter. + */ + vcenterName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getVMInstanceGuestAgent.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVMInstanceGuestAgent.ts new file mode 100644 index 000000000000..03e14a2e2a2d --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVMInstanceGuestAgent.ts @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements GuestAgent GET method. + */ +export function getVMInstanceGuestAgent(args: GetVMInstanceGuestAgentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getVMInstanceGuestAgent", { + "resourceUri": args.resourceUri, + }, opts); +} + +export interface GetVMInstanceGuestAgentArgs { + /** + * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + */ + resourceUri: string; +} + +/** + * Defines the GuestAgent. + */ +export interface GetVMInstanceGuestAgentResult { + /** + * Username / Password Credentials to provision guest agent. + */ + readonly credentials?: outputs.connectedvmwarevsphere.v20231001.GuestCredentialResponse; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * HTTP Proxy configuration for the VM. + */ + readonly httpProxyConfig?: outputs.connectedvmwarevsphere.v20231001.HttpProxyConfigurationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The resource id of the private link scope this machine is assigned to, if any. + */ + readonly privateLinkScopeResourceId?: string; + /** + * Gets or sets the guest agent provisioning action. + */ + readonly provisioningAction?: string; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * Gets or sets the guest agent status. + */ + readonly status: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; +} +/** + * Implements GuestAgent GET method. + */ +export function getVMInstanceGuestAgentOutput(args: GetVMInstanceGuestAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVMInstanceGuestAgent(a, opts)) +} + +export interface GetVMInstanceGuestAgentOutputArgs { + /** + * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + */ + resourceUri: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualMachineInstance.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualMachineInstance.ts new file mode 100644 index 000000000000..acd38491554c --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualMachineInstance.ts @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves information about a virtual machine instance. + */ +export function getVirtualMachineInstance(args: GetVirtualMachineInstanceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineInstance", { + "resourceUri": args.resourceUri, + }, opts); +} + +export interface GetVirtualMachineInstanceArgs { + /** + * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + */ + resourceUri: string; +} + +/** + * Define the virtualMachineInstance. + */ +export interface GetVirtualMachineInstanceResult { + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Hardware properties. + */ + readonly hardwareProfile?: outputs.connectedvmwarevsphere.v20231001.HardwareProfileResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * Gets the infrastructure profile. + */ + readonly infrastructureProfile?: outputs.connectedvmwarevsphere.v20231001.InfrastructureProfileResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * Network properties. + */ + readonly networkProfile?: outputs.connectedvmwarevsphere.v20231001.NetworkProfileResponse; + /** + * OS properties. + */ + readonly osProfile?: outputs.connectedvmwarevsphere.v20231001.OsProfileForVMInstanceResponse; + /** + * Placement properties. + */ + readonly placementProfile?: outputs.connectedvmwarevsphere.v20231001.PlacementProfileResponse; + /** + * Gets the power state of the virtual machine. + */ + readonly powerState: string; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * Gets or sets a unique identifier for the vm resource. + */ + readonly resourceUid: string; + /** + * Gets the security profile. + */ + readonly securityProfile?: outputs.connectedvmwarevsphere.v20231001.SecurityProfileResponse; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * Storage properties. + */ + readonly storageProfile?: outputs.connectedvmwarevsphere.v20231001.StorageProfileResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Retrieves information about a virtual machine instance. + */ +export function getVirtualMachineInstanceOutput(args: GetVirtualMachineInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVirtualMachineInstance(a, opts)) +} + +export interface GetVirtualMachineInstanceOutputArgs { + /** + * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + */ + resourceUri: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualMachineTemplate.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualMachineTemplate.ts new file mode 100644 index 000000000000..8a599fd4a37e --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualMachineTemplate.ts @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements virtual machine template GET method. + */ +export function getVirtualMachineTemplate(args: GetVirtualMachineTemplateArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineTemplate", { + "resourceGroupName": args.resourceGroupName, + "virtualMachineTemplateName": args.virtualMachineTemplateName, + }, opts); +} + +export interface GetVirtualMachineTemplateArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: string; + /** + * Name of the virtual machine template resource. + */ + virtualMachineTemplateName: string; +} + +/** + * Define the virtualMachineTemplate. + */ +export interface GetVirtualMachineTemplateResult { + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets or sets the disks the template. + */ + readonly disks: outputs.connectedvmwarevsphere.v20231001.VirtualDiskResponse[]; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Firmware type + */ + readonly firmwareType: string; + /** + * Gets or sets the folder path of the template. + */ + readonly folderPath: string; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the inventory Item ID for the virtual machine template. + */ + readonly inventoryItemId?: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets or sets memory size in MBs for the template. + */ + readonly memorySizeMB: number; + /** + * Gets or sets the vCenter Managed Object name for the virtual machine template. + */ + readonly moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + * template. + */ + readonly moRefId?: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Gets or sets the network interfaces of the template. + */ + readonly networkInterfaces: outputs.connectedvmwarevsphere.v20231001.NetworkInterfaceResponse[]; + /** + * Gets or sets the number of vCPUs for the template. + */ + readonly numCPUs: number; + /** + * Gets or sets the number of cores per socket for the template. + * Defaults to 1 if unspecified. + */ + readonly numCoresPerSocket: number; + /** + * Gets or sets os name. + */ + readonly osName: string; + /** + * Gets or sets the type of the os. + */ + readonly osType: string; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets or sets the current version of VMware Tools. + */ + readonly toolsVersion: string; + /** + * Gets or sets the current version status of VMware Tools installed in the guest operating system. + */ + readonly toolsVersionStatus: string; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this template resides. + */ + readonly vCenterId?: string; +} +/** + * Implements virtual machine template GET method. + */ +export function getVirtualMachineTemplateOutput(args: GetVirtualMachineTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVirtualMachineTemplate(a, opts)) +} + +export interface GetVirtualMachineTemplateOutputArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the virtual machine template resource. + */ + virtualMachineTemplateName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualNetwork.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualNetwork.ts new file mode 100644 index 000000000000..4e722820f997 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/getVirtualNetwork.ts @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements virtual network GET method. + */ +export function getVirtualNetwork(args: GetVirtualNetworkArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:connectedvmwarevsphere/v20231001:getVirtualNetwork", { + "resourceGroupName": args.resourceGroupName, + "virtualNetworkName": args.virtualNetworkName, + }, opts); +} + +export interface GetVirtualNetworkArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: string; + /** + * Name of the virtual network resource. + */ + virtualNetworkName: string; +} + +/** + * Define the virtualNetwork. + */ +export interface GetVirtualNetworkResult { + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + readonly customResourceName: string; + /** + * Gets or sets the extended location. + */ + readonly extendedLocation?: outputs.connectedvmwarevsphere.v20231001.ExtendedLocationResponse; + /** + * Gets or sets the Id. + */ + readonly id: string; + /** + * Gets or sets the inventory Item ID for the virtual network. + */ + readonly inventoryItemId?: string; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * Gets or sets the location. + */ + readonly location: string; + /** + * Gets or sets the vCenter Managed Object name for the virtual network. + */ + readonly moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + */ + readonly moRefId?: string; + /** + * Gets or sets the name. + */ + readonly name: string; + /** + * Gets the provisioning state. + */ + readonly provisioningState: string; + /** + * The resource status information. + */ + readonly statuses: outputs.connectedvmwarevsphere.v20231001.ResourceStatusResponse[]; + /** + * The system data. + */ + readonly systemData: outputs.connectedvmwarevsphere.v20231001.SystemDataResponse; + /** + * Gets or sets the Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Gets or sets the type of the resource. + */ + readonly type: string; + /** + * Gets or sets a unique identifier for this resource. + */ + readonly uuid: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this template resides. + */ + readonly vCenterId?: string; +} +/** + * Implements virtual network GET method. + */ +export function getVirtualNetworkOutput(args: GetVirtualNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVirtualNetwork(a, opts)) +} + +export interface GetVirtualNetworkOutputArgs { + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the virtual network resource. + */ + virtualNetworkName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/host.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/host.ts new file mode 100644 index 000000000000..7f36fd367008 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/host.ts @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the host. + */ +export class Host extends pulumi.CustomResource { + /** + * 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Host { + return new Host(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:Host'; + + /** + * Returns true if the given object is an instance of Host. 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 Host { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Host.__pulumiType; + } + + /** + * Gets the max CPU usage across all cores in MHz. + */ + public /*out*/ readonly cpuMhz!: pulumi.Output; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets the datastore ARM ids. + */ + public /*out*/ readonly datastoreIds!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Gets or sets the inventory Item ID for the host. + */ + public readonly inventoryItemId!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets the total amount of physical memory on the host in GB. + */ + public /*out*/ readonly memorySizeGB!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the host. + */ + public /*out*/ readonly moName!: pulumi.Output; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + */ + public readonly moRefId!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets the network ARM ids. + */ + public /*out*/ readonly networkIds!: pulumi.Output; + /** + * Gets the used CPU usage across all cores in MHz. + */ + public /*out*/ readonly overallCpuUsageMHz!: pulumi.Output; + /** + * Gets the used physical memory on the host in GB. + */ + public /*out*/ readonly overallMemoryUsageGB!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the ARM Id of the vCenter resource in which this host resides. + */ + public readonly vCenterId!: pulumi.Output; + + /** + * Create a Host 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: HostArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["hostName"] = args ? args.hostName : undefined; + resourceInputs["inventoryItemId"] = args ? args.inventoryItemId : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vCenterId"] = args ? args.vCenterId : undefined; + resourceInputs["cpuMhz"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["datastoreIds"] = undefined /*out*/; + resourceInputs["memorySizeGB"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkIds"] = undefined /*out*/; + resourceInputs["overallCpuUsageMHz"] = undefined /*out*/; + resourceInputs["overallMemoryUsageGB"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["cpuMhz"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["datastoreIds"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["inventoryItemId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["memorySizeGB"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkIds"] = undefined /*out*/; + resourceInputs["overallCpuUsageMHz"] = undefined /*out*/; + resourceInputs["overallMemoryUsageGB"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["vCenterId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:Host" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:Host" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:Host" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Host.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Host resource. + */ +export interface HostArgs { + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Name of the host. + */ + hostName?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the host. + */ + inventoryItemId?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Gets or sets the ARM Id of the vCenter resource in which this host resides. + */ + vCenterId?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/index.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/index.ts new file mode 100644 index 000000000000..7f8d9e25a908 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/index.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { ClusterArgs } from "./cluster"; +export type Cluster = import("./cluster").Cluster; +export const Cluster: typeof import("./cluster").Cluster = null as any; +utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster")); + +export { DatastoreArgs } from "./datastore"; +export type Datastore = import("./datastore").Datastore; +export const Datastore: typeof import("./datastore").Datastore = null as any; +utilities.lazyLoad(exports, ["Datastore"], () => require("./datastore")); + +export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster"; +export const getCluster: typeof import("./getCluster").getCluster = null as any; +export const getClusterOutput: typeof import("./getCluster").getClusterOutput = null as any; +utilities.lazyLoad(exports, ["getCluster","getClusterOutput"], () => require("./getCluster")); + +export { GetDatastoreArgs, GetDatastoreResult, GetDatastoreOutputArgs } from "./getDatastore"; +export const getDatastore: typeof import("./getDatastore").getDatastore = null as any; +export const getDatastoreOutput: typeof import("./getDatastore").getDatastoreOutput = null as any; +utilities.lazyLoad(exports, ["getDatastore","getDatastoreOutput"], () => require("./getDatastore")); + +export { GetHostArgs, GetHostResult, GetHostOutputArgs } from "./getHost"; +export const getHost: typeof import("./getHost").getHost = null as any; +export const getHostOutput: typeof import("./getHost").getHostOutput = null as any; +utilities.lazyLoad(exports, ["getHost","getHostOutput"], () => require("./getHost")); + +export { GetInventoryItemArgs, GetInventoryItemResult, GetInventoryItemOutputArgs } from "./getInventoryItem"; +export const getInventoryItem: typeof import("./getInventoryItem").getInventoryItem = null as any; +export const getInventoryItemOutput: typeof import("./getInventoryItem").getInventoryItemOutput = null as any; +utilities.lazyLoad(exports, ["getInventoryItem","getInventoryItemOutput"], () => require("./getInventoryItem")); + +export { GetResourcePoolArgs, GetResourcePoolResult, GetResourcePoolOutputArgs } from "./getResourcePool"; +export const getResourcePool: typeof import("./getResourcePool").getResourcePool = null as any; +export const getResourcePoolOutput: typeof import("./getResourcePool").getResourcePoolOutput = null as any; +utilities.lazyLoad(exports, ["getResourcePool","getResourcePoolOutput"], () => require("./getResourcePool")); + +export { GetVCenterArgs, GetVCenterResult, GetVCenterOutputArgs } from "./getVCenter"; +export const getVCenter: typeof import("./getVCenter").getVCenter = null as any; +export const getVCenterOutput: typeof import("./getVCenter").getVCenterOutput = null as any; +utilities.lazyLoad(exports, ["getVCenter","getVCenterOutput"], () => require("./getVCenter")); + +export { GetVMInstanceGuestAgentArgs, GetVMInstanceGuestAgentResult, GetVMInstanceGuestAgentOutputArgs } from "./getVMInstanceGuestAgent"; +export const getVMInstanceGuestAgent: typeof import("./getVMInstanceGuestAgent").getVMInstanceGuestAgent = null as any; +export const getVMInstanceGuestAgentOutput: typeof import("./getVMInstanceGuestAgent").getVMInstanceGuestAgentOutput = null as any; +utilities.lazyLoad(exports, ["getVMInstanceGuestAgent","getVMInstanceGuestAgentOutput"], () => require("./getVMInstanceGuestAgent")); + +export { GetVirtualMachineInstanceArgs, GetVirtualMachineInstanceResult, GetVirtualMachineInstanceOutputArgs } from "./getVirtualMachineInstance"; +export const getVirtualMachineInstance: typeof import("./getVirtualMachineInstance").getVirtualMachineInstance = null as any; +export const getVirtualMachineInstanceOutput: typeof import("./getVirtualMachineInstance").getVirtualMachineInstanceOutput = null as any; +utilities.lazyLoad(exports, ["getVirtualMachineInstance","getVirtualMachineInstanceOutput"], () => require("./getVirtualMachineInstance")); + +export { GetVirtualMachineTemplateArgs, GetVirtualMachineTemplateResult, GetVirtualMachineTemplateOutputArgs } from "./getVirtualMachineTemplate"; +export const getVirtualMachineTemplate: typeof import("./getVirtualMachineTemplate").getVirtualMachineTemplate = null as any; +export const getVirtualMachineTemplateOutput: typeof import("./getVirtualMachineTemplate").getVirtualMachineTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getVirtualMachineTemplate","getVirtualMachineTemplateOutput"], () => require("./getVirtualMachineTemplate")); + +export { GetVirtualNetworkArgs, GetVirtualNetworkResult, GetVirtualNetworkOutputArgs } from "./getVirtualNetwork"; +export const getVirtualNetwork: typeof import("./getVirtualNetwork").getVirtualNetwork = null as any; +export const getVirtualNetworkOutput: typeof import("./getVirtualNetwork").getVirtualNetworkOutput = null as any; +utilities.lazyLoad(exports, ["getVirtualNetwork","getVirtualNetworkOutput"], () => require("./getVirtualNetwork")); + +export { HostArgs } from "./host"; +export type Host = import("./host").Host; +export const Host: typeof import("./host").Host = null as any; +utilities.lazyLoad(exports, ["Host"], () => require("./host")); + +export { InventoryItemArgs } from "./inventoryItem"; +export type InventoryItem = import("./inventoryItem").InventoryItem; +export const InventoryItem: typeof import("./inventoryItem").InventoryItem = null as any; +utilities.lazyLoad(exports, ["InventoryItem"], () => require("./inventoryItem")); + +export { ResourcePoolArgs } from "./resourcePool"; +export type ResourcePool = import("./resourcePool").ResourcePool; +export const ResourcePool: typeof import("./resourcePool").ResourcePool = null as any; +utilities.lazyLoad(exports, ["ResourcePool"], () => require("./resourcePool")); + +export { VCenterArgs } from "./vcenter"; +export type VCenter = import("./vcenter").VCenter; +export const VCenter: typeof import("./vcenter").VCenter = null as any; +utilities.lazyLoad(exports, ["VCenter"], () => require("./vcenter")); + +export { VirtualMachineInstanceArgs } from "./virtualMachineInstance"; +export type VirtualMachineInstance = import("./virtualMachineInstance").VirtualMachineInstance; +export const VirtualMachineInstance: typeof import("./virtualMachineInstance").VirtualMachineInstance = null as any; +utilities.lazyLoad(exports, ["VirtualMachineInstance"], () => require("./virtualMachineInstance")); + +export { VirtualMachineTemplateArgs } from "./virtualMachineTemplate"; +export type VirtualMachineTemplate = import("./virtualMachineTemplate").VirtualMachineTemplate; +export const VirtualMachineTemplate: typeof import("./virtualMachineTemplate").VirtualMachineTemplate = null as any; +utilities.lazyLoad(exports, ["VirtualMachineTemplate"], () => require("./virtualMachineTemplate")); + +export { VirtualNetworkArgs } from "./virtualNetwork"; +export type VirtualNetwork = import("./virtualNetwork").VirtualNetwork; +export const VirtualNetwork: typeof import("./virtualNetwork").VirtualNetwork = null as any; +utilities.lazyLoad(exports, ["VirtualNetwork"], () => require("./virtualNetwork")); + +export { VMInstanceGuestAgentArgs } from "./vminstanceGuestAgent"; +export type VMInstanceGuestAgent = import("./vminstanceGuestAgent").VMInstanceGuestAgent; +export const VMInstanceGuestAgent: typeof import("./vminstanceGuestAgent").VMInstanceGuestAgent = null as any; +utilities.lazyLoad(exports, ["VMInstanceGuestAgent"], () => require("./vminstanceGuestAgent")); + + +// Export enums: +export * from "../../types/enums/connectedvmwarevsphere/v20231001"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:connectedvmwarevsphere/v20231001:Cluster": + return new Cluster(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:Datastore": + return new Datastore(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:Host": + return new Host(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:InventoryItem": + return new InventoryItem(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:ResourcePool": + return new ResourcePool(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:VCenter": + return new VCenter(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent": + return new VMInstanceGuestAgent(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance": + return new VirtualMachineInstance(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate": + return new VirtualMachineTemplate(name, undefined, { urn }) + case "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork": + return new VirtualNetwork(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "connectedvmwarevsphere/v20231001", _module) diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/inventoryItem.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/inventoryItem.ts new file mode 100644 index 000000000000..dade49ad4a01 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/inventoryItem.ts @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Defines the inventory item. + */ +export class InventoryItem extends pulumi.CustomResource { + /** + * Get an existing InventoryItem 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): InventoryItem { + return new InventoryItem(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:InventoryItem'; + + /** + * Returns true if the given object is an instance of InventoryItem. 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 InventoryItem { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === InventoryItem.__pulumiType; + } + + /** + * They inventory type. + */ + public readonly inventoryType!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the tracked resource id corresponding to the inventory resource. + */ + public readonly managedResourceId!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the inventory item. + */ + public readonly moName!: pulumi.Output; + /** + * Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + */ + public readonly moRefId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a InventoryItem 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: InventoryItemArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.inventoryType === undefined) && !opts.urn) { + throw new Error("Missing required property 'inventoryType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.vcenterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'vcenterName'"); + } + resourceInputs["inventoryItemName"] = args ? args.inventoryItemName : undefined; + resourceInputs["inventoryType"] = args ? args.inventoryType : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["managedResourceId"] = args ? args.managedResourceId : undefined; + resourceInputs["moName"] = args ? args.moName : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["vcenterName"] = args ? args.vcenterName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["inventoryType"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["managedResourceId"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(InventoryItem.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a InventoryItem resource. + */ +export interface InventoryItemArgs { + /** + * Name of the inventoryItem. + */ + inventoryItemName?: pulumi.Input; + /** + * They inventory type. + */ + inventoryType: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the tracked resource id corresponding to the inventory resource. + */ + managedResourceId?: pulumi.Input; + /** + * Gets or sets the vCenter Managed Object name for the inventory item. + */ + moName?: pulumi.Input; + /** + * Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the vCenter. + */ + vcenterName: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/resourcePool.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/resourcePool.ts new file mode 100644 index 000000000000..55241ceeac7d --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/resourcePool.ts @@ -0,0 +1,274 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the resourcePool. + */ +export class ResourcePool extends pulumi.CustomResource { + /** + * Get an existing ResourcePool 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ResourcePool { + return new ResourcePool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:ResourcePool'; + + /** + * Returns true if the given object is an instance of ResourcePool. 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 ResourcePool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ResourcePool.__pulumiType; + } + + /** + * Gets the max CPU usage across all cores on the pool in MHz. + */ + public /*out*/ readonly cpuCapacityMHz!: pulumi.Output; + /** + * Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. + * Utilization will not exceed this limit even if there are available resources. + */ + public /*out*/ readonly cpuLimitMHz!: pulumi.Output; + /** + * Gets the used CPU usage across all cores on the pool in MHz. + */ + public /*out*/ readonly cpuOverallUsageMHz!: pulumi.Output; + /** + * Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed + * to be available. + */ + public /*out*/ readonly cpuReservationMHz!: pulumi.Output; + /** + * Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. + * This property is used in relative allocation between resource consumers. + */ + public /*out*/ readonly cpuSharesLevel!: pulumi.Output; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets the datastore ARM ids. + */ + public /*out*/ readonly datastoreIds!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Gets or sets the inventory Item ID for the resource pool. + */ + public readonly inventoryItemId!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets the total amount of physical memory on the pool in GB. + */ + public /*out*/ readonly memCapacityGB!: pulumi.Output; + /** + * Gets or sets MemLimitMB specifies a memory usage limit in megabytes. + * Utilization will not exceed the specified limit even if there are available resources. + */ + public /*out*/ readonly memLimitMB!: pulumi.Output; + /** + * Gets the used physical memory on the pool in GB. + */ + public /*out*/ readonly memOverallUsageGB!: pulumi.Output; + /** + * Gets or sets MemReservationMB which specifies the guaranteed available memory in + * megabytes. + */ + public /*out*/ readonly memReservationMB!: pulumi.Output; + /** + * Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. + * This property is used in relative allocation between resource consumers. + */ + public /*out*/ readonly memSharesLevel!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the resource pool. + */ + public /*out*/ readonly moName!: pulumi.Output; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + */ + public readonly moRefId!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets the network ARM ids. + */ + public /*out*/ readonly networkIds!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + */ + public readonly vCenterId!: pulumi.Output; + + /** + * Create a ResourcePool 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: ResourcePoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["inventoryItemId"] = args ? args.inventoryItemId : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourcePoolName"] = args ? args.resourcePoolName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vCenterId"] = args ? args.vCenterId : undefined; + resourceInputs["cpuCapacityMHz"] = undefined /*out*/; + resourceInputs["cpuLimitMHz"] = undefined /*out*/; + resourceInputs["cpuOverallUsageMHz"] = undefined /*out*/; + resourceInputs["cpuReservationMHz"] = undefined /*out*/; + resourceInputs["cpuSharesLevel"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["datastoreIds"] = undefined /*out*/; + resourceInputs["memCapacityGB"] = undefined /*out*/; + resourceInputs["memLimitMB"] = undefined /*out*/; + resourceInputs["memOverallUsageGB"] = undefined /*out*/; + resourceInputs["memReservationMB"] = undefined /*out*/; + resourceInputs["memSharesLevel"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkIds"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["cpuCapacityMHz"] = undefined /*out*/; + resourceInputs["cpuLimitMHz"] = undefined /*out*/; + resourceInputs["cpuOverallUsageMHz"] = undefined /*out*/; + resourceInputs["cpuReservationMHz"] = undefined /*out*/; + resourceInputs["cpuSharesLevel"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["datastoreIds"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["inventoryItemId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["memCapacityGB"] = undefined /*out*/; + resourceInputs["memLimitMB"] = undefined /*out*/; + resourceInputs["memOverallUsageGB"] = undefined /*out*/; + resourceInputs["memReservationMB"] = undefined /*out*/; + resourceInputs["memSharesLevel"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkIds"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["vCenterId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ResourcePool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ResourcePool resource. + */ +export interface ResourcePoolArgs { + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the resource pool. + */ + inventoryItemId?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the resourcePool. + */ + resourcePoolName?: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + */ + vCenterId?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/vcenter.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/vcenter.ts new file mode 100644 index 000000000000..ae898f6b358a --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/vcenter.ts @@ -0,0 +1,211 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Defines the vCenter. + */ +export class VCenter extends pulumi.CustomResource { + /** + * Get an existing VCenter 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VCenter { + return new VCenter(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:VCenter'; + + /** + * Returns true if the given object is an instance of VCenter. 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 VCenter { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VCenter.__pulumiType; + } + + /** + * Gets or sets the connection status to the vCenter. + */ + public /*out*/ readonly connectionStatus!: pulumi.Output; + /** + * Username / Password Credentials to connect to vcenter. + */ + public readonly credentials!: pulumi.Output; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Gets or sets the FQDN/IPAddress of the vCenter. + */ + public readonly fqdn!: pulumi.Output; + /** + * Gets or sets the instance UUID of the vCenter. + */ + public /*out*/ readonly instanceUuid!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets or sets the port of the vCenter. + */ + public readonly port!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the version of the vCenter. + */ + public /*out*/ readonly version!: pulumi.Output; + + /** + * Create a VCenter 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: VCenterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.fqdn === undefined) && !opts.urn) { + throw new Error("Missing required property 'fqdn'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["credentials"] = args ? args.credentials : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["fqdn"] = args ? args.fqdn : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["port"] = args ? args.port : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vcenterName"] = args ? args.vcenterName : undefined; + resourceInputs["connectionStatus"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["instanceUuid"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } else { + resourceInputs["connectionStatus"] = undefined /*out*/; + resourceInputs["credentials"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["fqdn"] = undefined /*out*/; + resourceInputs["instanceUuid"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["port"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VCenter" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VCenter.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VCenter resource. + */ +export interface VCenterArgs { + /** + * Username / Password Credentials to connect to vcenter. + */ + credentials?: pulumi.Input; + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Gets or sets the FQDN/IPAddress of the vCenter. + */ + fqdn: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the port of the vCenter. + */ + port?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Name of the vCenter. + */ + vcenterName?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualMachineInstance.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualMachineInstance.ts new file mode 100644 index 000000000000..358a5a6e0697 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualMachineInstance.ts @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the virtualMachineInstance. + */ +export class VirtualMachineInstance extends pulumi.CustomResource { + /** + * Get an existing VirtualMachineInstance 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VirtualMachineInstance { + return new VirtualMachineInstance(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance'; + + /** + * Returns true if the given object is an instance of VirtualMachineInstance. 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 VirtualMachineInstance { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VirtualMachineInstance.__pulumiType; + } + + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Hardware properties. + */ + public readonly hardwareProfile!: pulumi.Output; + /** + * Gets the infrastructure profile. + */ + public readonly infrastructureProfile!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Network properties. + */ + public readonly networkProfile!: pulumi.Output; + /** + * OS properties. + */ + public readonly osProfile!: pulumi.Output; + /** + * Placement properties. + */ + public readonly placementProfile!: pulumi.Output; + /** + * Gets the power state of the virtual machine. + */ + public /*out*/ readonly powerState!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Gets or sets a unique identifier for the vm resource. + */ + public /*out*/ readonly resourceUid!: pulumi.Output; + /** + * Gets the security profile. + */ + public readonly securityProfile!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * Storage properties. + */ + public readonly storageProfile!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a VirtualMachineInstance 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: VirtualMachineInstanceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceUri === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceUri'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["hardwareProfile"] = args ? args.hardwareProfile : undefined; + resourceInputs["infrastructureProfile"] = args ? args.infrastructureProfile : undefined; + resourceInputs["networkProfile"] = args ? args.networkProfile : undefined; + resourceInputs["osProfile"] = args ? args.osProfile : undefined; + resourceInputs["placementProfile"] = args ? args.placementProfile : undefined; + resourceInputs["resourceUri"] = args ? args.resourceUri : undefined; + resourceInputs["securityProfile"] = args ? args.securityProfile : undefined; + resourceInputs["storageProfile"] = args ? args.storageProfile : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["powerState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceUid"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["hardwareProfile"] = undefined /*out*/; + resourceInputs["infrastructureProfile"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkProfile"] = undefined /*out*/; + resourceInputs["osProfile"] = undefined /*out*/; + resourceInputs["placementProfile"] = undefined /*out*/; + resourceInputs["powerState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceUid"] = undefined /*out*/; + resourceInputs["securityProfile"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["storageProfile"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineInstance" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VirtualMachineInstance resource. + */ +export interface VirtualMachineInstanceArgs { + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Hardware properties. + */ + hardwareProfile?: pulumi.Input; + /** + * Gets the infrastructure profile. + */ + infrastructureProfile?: pulumi.Input; + /** + * Network properties. + */ + networkProfile?: pulumi.Input; + /** + * OS properties. + */ + osProfile?: pulumi.Input; + /** + * Placement properties. + */ + placementProfile?: pulumi.Input; + /** + * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + */ + resourceUri: pulumi.Input; + /** + * Gets the security profile. + */ + securityProfile?: pulumi.Input; + /** + * Storage properties. + */ + storageProfile?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualMachineTemplate.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualMachineTemplate.ts new file mode 100644 index 000000000000..701cf8894a5d --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualMachineTemplate.ts @@ -0,0 +1,265 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the virtualMachineTemplate. + */ +export class VirtualMachineTemplate extends pulumi.CustomResource { + /** + * Get an existing VirtualMachineTemplate 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VirtualMachineTemplate { + return new VirtualMachineTemplate(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate'; + + /** + * Returns true if the given object is an instance of VirtualMachineTemplate. 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 VirtualMachineTemplate { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VirtualMachineTemplate.__pulumiType; + } + + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets or sets the disks the template. + */ + public /*out*/ readonly disks!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Firmware type + */ + public /*out*/ readonly firmwareType!: pulumi.Output; + /** + * Gets or sets the folder path of the template. + */ + public /*out*/ readonly folderPath!: pulumi.Output; + /** + * Gets or sets the inventory Item ID for the virtual machine template. + */ + public readonly inventoryItemId!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets or sets memory size in MBs for the template. + */ + public /*out*/ readonly memorySizeMB!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the virtual machine template. + */ + public /*out*/ readonly moName!: pulumi.Output; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + * template. + */ + public readonly moRefId!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets or sets the network interfaces of the template. + */ + public /*out*/ readonly networkInterfaces!: pulumi.Output; + /** + * Gets or sets the number of vCPUs for the template. + */ + public /*out*/ readonly numCPUs!: pulumi.Output; + /** + * Gets or sets the number of cores per socket for the template. + * Defaults to 1 if unspecified. + */ + public /*out*/ readonly numCoresPerSocket!: pulumi.Output; + /** + * Gets or sets os name. + */ + public /*out*/ readonly osName!: pulumi.Output; + /** + * Gets or sets the type of the os. + */ + public /*out*/ readonly osType!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets or sets the current version of VMware Tools. + */ + public /*out*/ readonly toolsVersion!: pulumi.Output; + /** + * Gets or sets the current version status of VMware Tools installed in the guest operating system. + */ + public /*out*/ readonly toolsVersionStatus!: pulumi.Output; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the ARM Id of the vCenter resource in which this template resides. + */ + public readonly vCenterId!: pulumi.Output; + + /** + * Create a VirtualMachineTemplate 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: VirtualMachineTemplateArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["inventoryItemId"] = args ? args.inventoryItemId : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vCenterId"] = args ? args.vCenterId : undefined; + resourceInputs["virtualMachineTemplateName"] = args ? args.virtualMachineTemplateName : undefined; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["disks"] = undefined /*out*/; + resourceInputs["firmwareType"] = undefined /*out*/; + resourceInputs["folderPath"] = undefined /*out*/; + resourceInputs["memorySizeMB"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkInterfaces"] = undefined /*out*/; + resourceInputs["numCPUs"] = undefined /*out*/; + resourceInputs["numCoresPerSocket"] = undefined /*out*/; + resourceInputs["osName"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["toolsVersion"] = undefined /*out*/; + resourceInputs["toolsVersionStatus"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["disks"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["firmwareType"] = undefined /*out*/; + resourceInputs["folderPath"] = undefined /*out*/; + resourceInputs["inventoryItemId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["memorySizeMB"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkInterfaces"] = undefined /*out*/; + resourceInputs["numCPUs"] = undefined /*out*/; + resourceInputs["numCoresPerSocket"] = undefined /*out*/; + resourceInputs["osName"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["toolsVersion"] = undefined /*out*/; + resourceInputs["toolsVersionStatus"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["vCenterId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VirtualMachineTemplate.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VirtualMachineTemplate resource. + */ +export interface VirtualMachineTemplateArgs { + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the virtual machine template. + */ + inventoryItemId?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + * template. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Gets or sets the ARM Id of the vCenter resource in which this template resides. + */ + vCenterId?: pulumi.Input; + /** + * Name of the virtual machine template resource. + */ + virtualMachineTemplateName?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualNetwork.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualNetwork.ts new file mode 100644 index 000000000000..10d115f4a279 --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/virtualNetwork.ts @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Define the virtualNetwork. + */ +export class VirtualNetwork extends pulumi.CustomResource { + /** + * Get an existing VirtualNetwork 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VirtualNetwork { + return new VirtualNetwork(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork'; + + /** + * Returns true if the given object is an instance of VirtualNetwork. 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 VirtualNetwork { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VirtualNetwork.__pulumiType; + } + + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * Gets or sets the extended location. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Gets or sets the inventory Item ID for the virtual network. + */ + public readonly inventoryItemId!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * Gets or sets the location. + */ + public readonly location!: pulumi.Output; + /** + * Gets or sets the vCenter Managed Object name for the virtual network. + */ + public /*out*/ readonly moName!: pulumi.Output; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + */ + public readonly moRefId!: pulumi.Output; + /** + * Gets or sets the name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * The system data. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Gets or sets the Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Gets or sets the type of the resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + /** + * Gets or sets the ARM Id of the vCenter resource in which this template resides. + */ + public readonly vCenterId!: pulumi.Output; + + /** + * Create a VirtualNetwork 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: VirtualNetworkArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["inventoryItemId"] = args ? args.inventoryItemId : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["moRefId"] = args ? args.moRefId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vCenterId"] = args ? args.vCenterId : undefined; + resourceInputs["virtualNetworkName"] = args ? args.virtualNetworkName : undefined; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["inventoryItemId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["moName"] = undefined /*out*/; + resourceInputs["moRefId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + resourceInputs["vCenterId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VirtualNetwork.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VirtualNetwork resource. + */ +export interface VirtualNetworkArgs { + /** + * Gets or sets the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the virtual network. + */ + inventoryItemId?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * Gets or sets the location. + */ + location?: pulumi.Input; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + */ + moRefId?: pulumi.Input; + /** + * The Resource Group Name. + */ + resourceGroupName: pulumi.Input; + /** + * Gets or sets the Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Gets or sets the ARM Id of the vCenter resource in which this template resides. + */ + vCenterId?: pulumi.Input; + /** + * Name of the virtual network resource. + */ + virtualNetworkName?: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/v20231001/vminstanceGuestAgent.ts b/sdk/nodejs/connectedvmwarevsphere/v20231001/vminstanceGuestAgent.ts new file mode 100644 index 000000000000..4aadc6d2039b --- /dev/null +++ b/sdk/nodejs/connectedvmwarevsphere/v20231001/vminstanceGuestAgent.ts @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Defines the GuestAgent. + */ +export class VMInstanceGuestAgent extends pulumi.CustomResource { + /** + * Get an existing VMInstanceGuestAgent 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VMInstanceGuestAgent { + return new VMInstanceGuestAgent(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent'; + + /** + * Returns true if the given object is an instance of VMInstanceGuestAgent. 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 VMInstanceGuestAgent { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VMInstanceGuestAgent.__pulumiType; + } + + /** + * Username / Password Credentials to provision guest agent. + */ + public readonly credentials!: pulumi.Output; + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + public /*out*/ readonly customResourceName!: pulumi.Output; + /** + * HTTP Proxy configuration for the VM. + */ + public readonly httpProxyConfig!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource id of the private link scope this machine is assigned to, if any. + */ + public readonly privateLinkScopeResourceId!: pulumi.Output; + /** + * Gets or sets the guest agent provisioning action. + */ + public readonly provisioningAction!: pulumi.Output; + /** + * Gets the provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Gets or sets the guest agent status. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The resource status information. + */ + public /*out*/ readonly statuses!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Gets or sets a unique identifier for this resource. + */ + public /*out*/ readonly uuid!: pulumi.Output; + + /** + * Create a VMInstanceGuestAgent 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: VMInstanceGuestAgentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceUri === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceUri'"); + } + resourceInputs["credentials"] = args ? args.credentials : undefined; + resourceInputs["httpProxyConfig"] = args ? args.httpProxyConfig : undefined; + resourceInputs["privateLinkScopeResourceId"] = args ? args.privateLinkScopeResourceId : undefined; + resourceInputs["provisioningAction"] = args ? args.provisioningAction : undefined; + resourceInputs["resourceUri"] = args ? args.resourceUri : undefined; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } else { + resourceInputs["credentials"] = undefined /*out*/; + resourceInputs["customResourceName"] = undefined /*out*/; + resourceInputs["httpProxyConfig"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateLinkScopeResourceId"] = undefined /*out*/; + resourceInputs["provisioningAction"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["statuses"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uuid"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere:VMInstanceGuestAgent" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VMInstanceGuestAgent.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VMInstanceGuestAgent resource. + */ +export interface VMInstanceGuestAgentArgs { + /** + * Username / Password Credentials to provision guest agent. + */ + credentials?: pulumi.Input; + /** + * HTTP Proxy configuration for the VM. + */ + httpProxyConfig?: pulumi.Input; + /** + * The resource id of the private link scope this machine is assigned to, if any. + */ + privateLinkScopeResourceId?: pulumi.Input; + /** + * Gets or sets the guest agent provisioning action. + */ + provisioningAction?: pulumi.Input; + /** + * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + */ + resourceUri: pulumi.Input; +} diff --git a/sdk/nodejs/connectedvmwarevsphere/vcenter.ts b/sdk/nodejs/connectedvmwarevsphere/vcenter.ts index fe6cc589742c..0b1a7454b507 100644 --- a/sdk/nodejs/connectedvmwarevsphere/vcenter.ts +++ b/sdk/nodejs/connectedvmwarevsphere/vcenter.ts @@ -163,7 +163,7 @@ export class VCenter extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VCenter" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/virtualMachineInstance.ts b/sdk/nodejs/connectedvmwarevsphere/virtualMachineInstance.ts index 8cf24bef5b57..f7880850b764 100644 --- a/sdk/nodejs/connectedvmwarevsphere/virtualMachineInstance.ts +++ b/sdk/nodejs/connectedvmwarevsphere/virtualMachineInstance.ts @@ -147,7 +147,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/virtualMachineTemplate.ts b/sdk/nodejs/connectedvmwarevsphere/virtualMachineTemplate.ts index b8bab085da89..c39680b239f2 100644 --- a/sdk/nodejs/connectedvmwarevsphere/virtualMachineTemplate.ts +++ b/sdk/nodejs/connectedvmwarevsphere/virtualMachineTemplate.ts @@ -216,7 +216,7 @@ export class VirtualMachineTemplate extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/virtualNetwork.ts b/sdk/nodejs/connectedvmwarevsphere/virtualNetwork.ts index 2d567874513a..607d5ff4e252 100644 --- a/sdk/nodejs/connectedvmwarevsphere/virtualNetwork.ts +++ b/sdk/nodejs/connectedvmwarevsphere/virtualNetwork.ts @@ -148,7 +148,7 @@ export class VirtualNetwork extends pulumi.CustomResource { resourceInputs["vCenterId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/connectedvmwarevsphere/vminstanceGuestAgent.ts b/sdk/nodejs/connectedvmwarevsphere/vminstanceGuestAgent.ts index d0e1e359fa17..9a7c48f35340 100644 --- a/sdk/nodejs/connectedvmwarevsphere/vminstanceGuestAgent.ts +++ b/sdk/nodejs/connectedvmwarevsphere/vminstanceGuestAgent.ts @@ -129,7 +129,7 @@ export class VMInstanceGuestAgent extends pulumi.CustomResource { resourceInputs["uuid"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent" }, { type: "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VMInstanceGuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/buildStep.ts b/sdk/nodejs/containerregistry/buildStep.ts deleted file mode 100644 index d034b839a64c..000000000000 --- a/sdk/nodejs/containerregistry/buildStep.ts +++ /dev/null @@ -1,113 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Build step resource properties - * Azure REST API version: 2018-02-01-preview. - */ -export class BuildStep extends pulumi.CustomResource { - /** - * Get an existing BuildStep 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildStep { - return new BuildStep(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:containerregistry:BuildStep'; - - /** - * Returns true if the given object is an instance of BuildStep. 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 BuildStep { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === BuildStep.__pulumiType; - } - - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The properties of a build step. - */ - public /*out*/ readonly properties!: pulumi.Output; - /** - * The type of the resource. - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a BuildStep 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: BuildStepArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.buildTaskName === undefined) && !opts.urn) { - throw new Error("Missing required property 'buildTaskName'"); - } - if ((!args || args.registryName === undefined) && !opts.urn) { - throw new Error("Missing required property 'registryName'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - resourceInputs["buildTaskName"] = args ? args.buildTaskName : undefined; - resourceInputs["registryName"] = args ? args.registryName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["stepName"] = args ? args.stepName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["properties"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["properties"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20180201preview:BuildStep" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(BuildStep.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a BuildStep resource. - */ -export interface BuildStepArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The name of a build step for a container registry build task. - */ - stepName?: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/getBuildLogLink.ts b/sdk/nodejs/containerregistry/getBuildLogLink.ts deleted file mode 100644 index 6ac699d14e8c..000000000000 --- a/sdk/nodejs/containerregistry/getBuildLogLink.ts +++ /dev/null @@ -1,66 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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"; - -/** - * Gets a link to download the build logs. - * Azure REST API version: 2018-02-01-preview. - */ -export function getBuildLogLink(args: GetBuildLogLinkArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry:getBuildLogLink", { - "buildId": args.buildId, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetBuildLogLinkArgs { - /** - * The build ID. - */ - buildId: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The result of get log link operation. - */ -export interface GetBuildLogLinkResult { - /** - * The link to logs for a azure container registry build. - */ - readonly logLink?: string; -} -/** - * Gets a link to download the build logs. - * Azure REST API version: 2018-02-01-preview. - */ -export function getBuildLogLinkOutput(args: GetBuildLogLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBuildLogLink(a, opts)) -} - -export interface GetBuildLogLinkOutputArgs { - /** - * The build ID. - */ - buildId: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/getBuildStep.ts b/sdk/nodejs/containerregistry/getBuildStep.ts deleted file mode 100644 index d944aa10f955..000000000000 --- a/sdk/nodejs/containerregistry/getBuildStep.ts +++ /dev/null @@ -1,90 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Gets the build step for a build task. - * Azure REST API version: 2018-02-01-preview. - */ -export function getBuildStep(args: GetBuildStepArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry:getBuildStep", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - "stepName": args.stepName, - }, opts); -} - -export interface GetBuildStepArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; - /** - * The name of a build step for a container registry build task. - */ - stepName: string; -} - -/** - * Build step resource properties - */ -export interface GetBuildStepResult { - /** - * The resource ID. - */ - readonly id: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * The properties of a build step. - */ - readonly properties: outputs.containerregistry.DockerBuildStepResponse; - /** - * The type of the resource. - */ - readonly type: string; -} -/** - * Gets the build step for a build task. - * Azure REST API version: 2018-02-01-preview. - */ -export function getBuildStepOutput(args: GetBuildStepOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBuildStep(a, opts)) -} - -export interface GetBuildStepOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The name of a build step for a container registry build task. - */ - stepName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/getRegistryBuildSourceUploadUrl.ts b/sdk/nodejs/containerregistry/getRegistryBuildSourceUploadUrl.ts deleted file mode 100644 index 953a18708f51..000000000000 --- a/sdk/nodejs/containerregistry/getRegistryBuildSourceUploadUrl.ts +++ /dev/null @@ -1,61 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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"; - -/** - * Get the upload location for the user to be able to upload the source. - * Azure REST API version: 2018-02-01-preview. - */ -export function getRegistryBuildSourceUploadUrl(args: GetRegistryBuildSourceUploadUrlArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry:getRegistryBuildSourceUploadUrl", { - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetRegistryBuildSourceUploadUrlArgs { - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The properties of a response to source upload request. - */ -export interface GetRegistryBuildSourceUploadUrlResult { - /** - * The relative path to the source. This is used to submit the subsequent queue build request. - */ - readonly relativePath?: string; - /** - * The URL where the client can upload the source. - */ - readonly uploadUrl?: string; -} -/** - * Get the upload location for the user to be able to upload the source. - * Azure REST API version: 2018-02-01-preview. - */ -export function getRegistryBuildSourceUploadUrlOutput(args: GetRegistryBuildSourceUploadUrlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistryBuildSourceUploadUrl(a, opts)) -} - -export interface GetRegistryBuildSourceUploadUrlOutputArgs { - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/getRegistryCredentials.ts b/sdk/nodejs/containerregistry/getRegistryCredentials.ts deleted file mode 100644 index e464413922ee..000000000000 --- a/sdk/nodejs/containerregistry/getRegistryCredentials.ts +++ /dev/null @@ -1,61 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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"; - -/** - * Gets the administrator login credentials for the specified container registry. - * Azure REST API version: 2016-06-27-preview. - */ -export function getRegistryCredentials(args: GetRegistryCredentialsArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry:getRegistryCredentials", { - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetRegistryCredentialsArgs { - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The result of a request to get the administrator login credentials for a container registry. - */ -export interface GetRegistryCredentialsResult { - /** - * The administrator password. - */ - readonly password?: string; - /** - * The administrator username. - */ - readonly username?: string; -} -/** - * Gets the administrator login credentials for the specified container registry. - * Azure REST API version: 2016-06-27-preview. - */ -export function getRegistryCredentialsOutput(args: GetRegistryCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistryCredentials(a, opts)) -} - -export interface GetRegistryCredentialsOutputArgs { - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/index.ts b/sdk/nodejs/containerregistry/index.ts index 56844c9959e4..154f9b2f01b0 100644 --- a/sdk/nodejs/containerregistry/index.ts +++ b/sdk/nodejs/containerregistry/index.ts @@ -20,11 +20,6 @@ export type ArchiveVersion = import("./archiveVersion").ArchiveVersion; export const ArchiveVersion: typeof import("./archiveVersion").ArchiveVersion = null as any; utilities.lazyLoad(exports, ["ArchiveVersion"], () => require("./archiveVersion")); -export { BuildStepArgs } from "./buildStep"; -export type BuildStep = import("./buildStep").BuildStep; -export const BuildStep: typeof import("./buildStep").BuildStep = null as any; -utilities.lazyLoad(exports, ["BuildStep"], () => require("./buildStep")); - export { CacheRuleArgs } from "./cacheRule"; export type CacheRule = import("./cacheRule").CacheRule; export const CacheRule: typeof import("./cacheRule").CacheRule = null as any; @@ -60,16 +55,6 @@ export const getArchiveVersion: typeof import("./getArchiveVersion").getArchiveV export const getArchiveVersionOutput: typeof import("./getArchiveVersion").getArchiveVersionOutput = null as any; utilities.lazyLoad(exports, ["getArchiveVersion","getArchiveVersionOutput"], () => require("./getArchiveVersion")); -export { GetBuildLogLinkArgs, GetBuildLogLinkResult, GetBuildLogLinkOutputArgs } from "./getBuildLogLink"; -export const getBuildLogLink: typeof import("./getBuildLogLink").getBuildLogLink = null as any; -export const getBuildLogLinkOutput: typeof import("./getBuildLogLink").getBuildLogLinkOutput = null as any; -utilities.lazyLoad(exports, ["getBuildLogLink","getBuildLogLinkOutput"], () => require("./getBuildLogLink")); - -export { GetBuildStepArgs, GetBuildStepResult, GetBuildStepOutputArgs } from "./getBuildStep"; -export const getBuildStep: typeof import("./getBuildStep").getBuildStep = null as any; -export const getBuildStepOutput: typeof import("./getBuildStep").getBuildStepOutput = null as any; -utilities.lazyLoad(exports, ["getBuildStep","getBuildStepOutput"], () => require("./getBuildStep")); - export { GetCacheRuleArgs, GetCacheRuleResult, GetCacheRuleOutputArgs } from "./getCacheRule"; export const getCacheRule: typeof import("./getCacheRule").getCacheRule = null as any; export const getCacheRuleOutput: typeof import("./getCacheRule").getCacheRuleOutput = null as any; @@ -110,16 +95,6 @@ export const getRegistry: typeof import("./getRegistry").getRegistry = null as a export const getRegistryOutput: typeof import("./getRegistry").getRegistryOutput = null as any; utilities.lazyLoad(exports, ["getRegistry","getRegistryOutput"], () => require("./getRegistry")); -export { GetRegistryBuildSourceUploadUrlArgs, GetRegistryBuildSourceUploadUrlResult, GetRegistryBuildSourceUploadUrlOutputArgs } from "./getRegistryBuildSourceUploadUrl"; -export const getRegistryBuildSourceUploadUrl: typeof import("./getRegistryBuildSourceUploadUrl").getRegistryBuildSourceUploadUrl = null as any; -export const getRegistryBuildSourceUploadUrlOutput: typeof import("./getRegistryBuildSourceUploadUrl").getRegistryBuildSourceUploadUrlOutput = null as any; -utilities.lazyLoad(exports, ["getRegistryBuildSourceUploadUrl","getRegistryBuildSourceUploadUrlOutput"], () => require("./getRegistryBuildSourceUploadUrl")); - -export { GetRegistryCredentialsArgs, GetRegistryCredentialsResult, GetRegistryCredentialsOutputArgs } from "./getRegistryCredentials"; -export const getRegistryCredentials: typeof import("./getRegistryCredentials").getRegistryCredentials = null as any; -export const getRegistryCredentialsOutput: typeof import("./getRegistryCredentials").getRegistryCredentialsOutput = null as any; -utilities.lazyLoad(exports, ["getRegistryCredentials","getRegistryCredentialsOutput"], () => require("./getRegistryCredentials")); - export { GetReplicationArgs, GetReplicationResult, GetReplicationOutputArgs } from "./getReplication"; export const getReplication: typeof import("./getReplication").getReplication = null as any; export const getReplicationOutput: typeof import("./getReplication").getReplicationOutput = null as any; @@ -165,16 +140,6 @@ export const listAgentPoolQueueStatus: typeof import("./listAgentPoolQueueStatus export const listAgentPoolQueueStatusOutput: typeof import("./listAgentPoolQueueStatus").listAgentPoolQueueStatusOutput = null as any; utilities.lazyLoad(exports, ["listAgentPoolQueueStatus","listAgentPoolQueueStatusOutput"], () => require("./listAgentPoolQueueStatus")); -export { ListBuildStepBuildArgumentsArgs, ListBuildStepBuildArgumentsResult, ListBuildStepBuildArgumentsOutputArgs } from "./listBuildStepBuildArguments"; -export const listBuildStepBuildArguments: typeof import("./listBuildStepBuildArguments").listBuildStepBuildArguments = null as any; -export const listBuildStepBuildArgumentsOutput: typeof import("./listBuildStepBuildArguments").listBuildStepBuildArgumentsOutput = null as any; -utilities.lazyLoad(exports, ["listBuildStepBuildArguments","listBuildStepBuildArgumentsOutput"], () => require("./listBuildStepBuildArguments")); - -export { ListBuildTaskSourceRepositoryPropertiesArgs, ListBuildTaskSourceRepositoryPropertiesResult, ListBuildTaskSourceRepositoryPropertiesOutputArgs } from "./listBuildTaskSourceRepositoryProperties"; -export const listBuildTaskSourceRepositoryProperties: typeof import("./listBuildTaskSourceRepositoryProperties").listBuildTaskSourceRepositoryProperties = null as any; -export const listBuildTaskSourceRepositoryPropertiesOutput: typeof import("./listBuildTaskSourceRepositoryProperties").listBuildTaskSourceRepositoryPropertiesOutput = null as any; -utilities.lazyLoad(exports, ["listBuildTaskSourceRepositoryProperties","listBuildTaskSourceRepositoryPropertiesOutput"], () => require("./listBuildTaskSourceRepositoryProperties")); - export { ListRegistryBuildSourceUploadUrlArgs, ListRegistryBuildSourceUploadUrlResult, ListRegistryBuildSourceUploadUrlOutputArgs } from "./listRegistryBuildSourceUploadUrl"; export const listRegistryBuildSourceUploadUrl: typeof import("./listRegistryBuildSourceUploadUrl").listRegistryBuildSourceUploadUrl = null as any; export const listRegistryBuildSourceUploadUrlOutput: typeof import("./listRegistryBuildSourceUploadUrl").listRegistryBuildSourceUploadUrlOutput = null as any; @@ -255,9 +220,7 @@ utilities.lazyLoad(exports, ["Webhook"], () => require("./webhook")); export * from "../types/enums/containerregistry"; // Export sub-modules: -import * as v20160627preview from "./v20160627preview"; import * as v20170301 from "./v20170301"; -import * as v20180201preview from "./v20180201preview"; import * as v20180901 from "./v20180901"; import * as v20190401 from "./v20190401"; import * as v20190501 from "./v20190501"; @@ -269,9 +232,7 @@ import * as v20230701 from "./v20230701"; import * as v20230801preview from "./v20230801preview"; export { - v20160627preview, v20170301, - v20180201preview, v20180901, v20190401, v20190501, @@ -293,8 +254,6 @@ const _module = { return new Archife(name, undefined, { urn }) case "azure-native:containerregistry:ArchiveVersion": return new ArchiveVersion(name, undefined, { urn }) - case "azure-native:containerregistry:BuildStep": - return new BuildStep(name, undefined, { urn }) case "azure-native:containerregistry:CacheRule": return new CacheRule(name, undefined, { urn }) case "azure-native:containerregistry:ConnectedRegistry": diff --git a/sdk/nodejs/containerregistry/listBuildStepBuildArguments.ts b/sdk/nodejs/containerregistry/listBuildStepBuildArguments.ts deleted file mode 100644 index ecfa42a9438b..000000000000 --- a/sdk/nodejs/containerregistry/listBuildStepBuildArguments.ts +++ /dev/null @@ -1,82 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * List the build arguments for a step including the secret arguments. - * Azure REST API version: 2018-02-01-preview. - */ -export function listBuildStepBuildArguments(args: ListBuildStepBuildArgumentsArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry:listBuildStepBuildArguments", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - "stepName": args.stepName, - }, opts); -} - -export interface ListBuildStepBuildArgumentsArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; - /** - * The name of a build step for a container registry build task. - */ - stepName: string; -} - -/** - * The list of build arguments for a build step. - */ -export interface ListBuildStepBuildArgumentsResult { - /** - * The URI that can be used to request the next set of paged results. - */ - readonly nextLink?: string; - /** - * The collection value. - */ - readonly value?: outputs.containerregistry.BuildArgumentResponse[]; -} -/** - * List the build arguments for a step including the secret arguments. - * Azure REST API version: 2018-02-01-preview. - */ -export function listBuildStepBuildArgumentsOutput(args: ListBuildStepBuildArgumentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => listBuildStepBuildArguments(a, opts)) -} - -export interface ListBuildStepBuildArgumentsOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The name of a build step for a container registry build task. - */ - stepName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/listBuildTaskSourceRepositoryProperties.ts b/sdk/nodejs/containerregistry/listBuildTaskSourceRepositoryProperties.ts deleted file mode 100644 index 754cbc394148..000000000000 --- a/sdk/nodejs/containerregistry/listBuildTaskSourceRepositoryProperties.ts +++ /dev/null @@ -1,81 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get the source control properties for a build task. - * Azure REST API version: 2018-02-01-preview. - */ -export function listBuildTaskSourceRepositoryProperties(args: ListBuildTaskSourceRepositoryPropertiesArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry:listBuildTaskSourceRepositoryProperties", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface ListBuildTaskSourceRepositoryPropertiesArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The properties of the source code repository. - */ -export interface ListBuildTaskSourceRepositoryPropertiesResult { - /** - * The value of this property indicates whether the source control commit trigger is enabled or not. - */ - readonly isCommitTriggerEnabled?: boolean; - /** - * The full URL to the source code repository - */ - readonly repositoryUrl: string; - /** - * The authorization properties for accessing the source code repository. - */ - readonly sourceControlAuthProperties?: outputs.containerregistry.SourceControlAuthInfoResponse; - /** - * The type of source control service. - */ - readonly sourceControlType: string; -} -/** - * Get the source control properties for a build task. - * Azure REST API version: 2018-02-01-preview. - */ -export function listBuildTaskSourceRepositoryPropertiesOutput(args: ListBuildTaskSourceRepositoryPropertiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => listBuildTaskSourceRepositoryProperties(a, opts)) -} - -export interface ListBuildTaskSourceRepositoryPropertiesOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/registry.ts b/sdk/nodejs/containerregistry/registry.ts index 8f4ed296d2db..1165f3b60879 100644 --- a/sdk/nodejs/containerregistry/registry.ts +++ b/sdk/nodejs/containerregistry/registry.ts @@ -187,7 +187,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/replication.ts b/sdk/nodejs/containerregistry/replication.ts index 792d4eb9a4df..efa75c718e97 100644 --- a/sdk/nodejs/containerregistry/replication.ts +++ b/sdk/nodejs/containerregistry/replication.ts @@ -116,7 +116,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20170601preview:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Replication.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/task.ts b/sdk/nodejs/containerregistry/task.ts index 711b06b180d5..0794e70c8a16 100644 --- a/sdk/nodejs/containerregistry/task.ts +++ b/sdk/nodejs/containerregistry/task.ts @@ -171,7 +171,7 @@ export class Task extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20180201preview:Task" }, { type: "azure-native:containerregistry/v20180901:Task" }, { type: "azure-native:containerregistry/v20190401:Task" }, { type: "azure-native:containerregistry/v20190601preview:Task" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20180901:Task" }, { type: "azure-native:containerregistry/v20190401:Task" }, { type: "azure-native:containerregistry/v20190601preview:Task" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Task.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20160627preview/getRegistry.ts b/sdk/nodejs/containerregistry/v20160627preview/getRegistry.ts deleted file mode 100644 index 166bab1b7e78..000000000000 --- a/sdk/nodejs/containerregistry/v20160627preview/getRegistry.ts +++ /dev/null @@ -1,90 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Gets the properties of the specified container registry. - */ -export function getRegistry(args: GetRegistryArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20160627preview:getRegistry", { - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetRegistryArgs { - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * An object that represents a container registry. - */ -export interface GetRegistryResult { - /** - * The value that indicates whether the admin user is enabled. This value is false by default. - */ - readonly adminUserEnabled?: boolean; - /** - * The creation date of the container registry in ISO8601 format. - */ - readonly creationDate: string; - /** - * The resource ID. - */ - readonly id: string; - /** - * The location of the resource. This cannot be changed after the resource is created. - */ - readonly location: string; - /** - * The URL that can be used to log into the container registry. - */ - readonly loginServer: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - */ - readonly storageAccount: outputs.containerregistry.v20160627preview.StorageAccountPropertiesResponse; - /** - * The tags of the resource. - */ - readonly tags?: {[key: string]: string}; - /** - * The type of the resource. - */ - readonly type: string; -} -/** - * Gets the properties of the specified container registry. - */ -export function getRegistryOutput(args: GetRegistryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistry(a, opts)) -} - -export interface GetRegistryOutputArgs { - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20160627preview/getRegistryCredentials.ts b/sdk/nodejs/containerregistry/v20160627preview/getRegistryCredentials.ts deleted file mode 100644 index 1b30000cdc08..000000000000 --- a/sdk/nodejs/containerregistry/v20160627preview/getRegistryCredentials.ts +++ /dev/null @@ -1,59 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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"; - -/** - * Gets the administrator login credentials for the specified container registry. - */ -export function getRegistryCredentials(args: GetRegistryCredentialsArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20160627preview:getRegistryCredentials", { - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetRegistryCredentialsArgs { - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The result of a request to get the administrator login credentials for a container registry. - */ -export interface GetRegistryCredentialsResult { - /** - * The administrator password. - */ - readonly password?: string; - /** - * The administrator username. - */ - readonly username?: string; -} -/** - * Gets the administrator login credentials for the specified container registry. - */ -export function getRegistryCredentialsOutput(args: GetRegistryCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistryCredentials(a, opts)) -} - -export interface GetRegistryCredentialsOutputArgs { - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20160627preview/index.ts b/sdk/nodejs/containerregistry/v20160627preview/index.ts deleted file mode 100644 index d180a10cad38..000000000000 --- a/sdk/nodejs/containerregistry/v20160627preview/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -// Export members: -export { GetRegistryArgs, GetRegistryResult, GetRegistryOutputArgs } from "./getRegistry"; -export const getRegistry: typeof import("./getRegistry").getRegistry = null as any; -export const getRegistryOutput: typeof import("./getRegistry").getRegistryOutput = null as any; -utilities.lazyLoad(exports, ["getRegistry","getRegistryOutput"], () => require("./getRegistry")); - -export { GetRegistryCredentialsArgs, GetRegistryCredentialsResult, GetRegistryCredentialsOutputArgs } from "./getRegistryCredentials"; -export const getRegistryCredentials: typeof import("./getRegistryCredentials").getRegistryCredentials = null as any; -export const getRegistryCredentialsOutput: typeof import("./getRegistryCredentials").getRegistryCredentialsOutput = null as any; -utilities.lazyLoad(exports, ["getRegistryCredentials","getRegistryCredentialsOutput"], () => require("./getRegistryCredentials")); - -export { RegistryArgs } from "./registry"; -export type Registry = import("./registry").Registry; -export const Registry: typeof import("./registry").Registry = null as any; -utilities.lazyLoad(exports, ["Registry"], () => require("./registry")); - - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:containerregistry/v20160627preview:Registry": - return new Registry(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "containerregistry/v20160627preview", _module) diff --git a/sdk/nodejs/containerregistry/v20160627preview/registry.ts b/sdk/nodejs/containerregistry/v20160627preview/registry.ts deleted file mode 100644 index 82f3247da68e..000000000000 --- a/sdk/nodejs/containerregistry/v20160627preview/registry.ts +++ /dev/null @@ -1,145 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * An object that represents a container registry. - */ -export class Registry extends pulumi.CustomResource { - /** - * Get an existing Registry 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Registry { - return new Registry(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:containerregistry/v20160627preview:Registry'; - - /** - * Returns true if the given object is an instance of Registry. 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 Registry { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Registry.__pulumiType; - } - - /** - * The value that indicates whether the admin user is enabled. This value is false by default. - */ - public readonly adminUserEnabled!: pulumi.Output; - /** - * The creation date of the container registry in ISO8601 format. - */ - public /*out*/ readonly creationDate!: pulumi.Output; - /** - * The location of the resource. This cannot be changed after the resource is created. - */ - public readonly location!: pulumi.Output; - /** - * The URL that can be used to log into the container registry. - */ - public /*out*/ readonly loginServer!: pulumi.Output; - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - */ - public readonly storageAccount!: pulumi.Output; - /** - * The tags of the resource. - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * The type of the resource. - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a Registry 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: RegistryArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.storageAccount === undefined) && !opts.urn) { - throw new Error("Missing required property 'storageAccount'"); - } - resourceInputs["adminUserEnabled"] = (args ? args.adminUserEnabled : undefined) ?? false; - resourceInputs["location"] = args ? args.location : undefined; - resourceInputs["registryName"] = args ? args.registryName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["storageAccount"] = args ? args.storageAccount : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["creationDate"] = undefined /*out*/; - resourceInputs["loginServer"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["adminUserEnabled"] = undefined /*out*/; - resourceInputs["creationDate"] = undefined /*out*/; - resourceInputs["location"] = undefined /*out*/; - resourceInputs["loginServer"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["storageAccount"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Registry.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Registry resource. - */ -export interface RegistryArgs { - /** - * The value that indicates whether the admin user is enabled. This value is false by default. - */ - adminUserEnabled?: pulumi.Input; - /** - * The location of the resource. This cannot be changed after the resource is created. - */ - location?: pulumi.Input; - /** - * The name of the container registry. - */ - registryName?: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - */ - storageAccount: pulumi.Input; - /** - * The tags of the resource. - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; -} diff --git a/sdk/nodejs/containerregistry/v20170301/registry.ts b/sdk/nodejs/containerregistry/v20170301/registry.ts index 0bf442780acc..5f3fd2d83cbf 100644 --- a/sdk/nodejs/containerregistry/v20170301/registry.ts +++ b/sdk/nodejs/containerregistry/v20170301/registry.ts @@ -123,7 +123,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20180201preview/buildStep.ts b/sdk/nodejs/containerregistry/v20180201preview/buildStep.ts deleted file mode 100644 index e8087add1439..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/buildStep.ts +++ /dev/null @@ -1,112 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Build step resource properties - */ -export class BuildStep extends pulumi.CustomResource { - /** - * Get an existing BuildStep 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildStep { - return new BuildStep(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:containerregistry/v20180201preview:BuildStep'; - - /** - * Returns true if the given object is an instance of BuildStep. 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 BuildStep { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === BuildStep.__pulumiType; - } - - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The properties of a build step. - */ - public /*out*/ readonly properties!: pulumi.Output; - /** - * The type of the resource. - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a BuildStep 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: BuildStepArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.buildTaskName === undefined) && !opts.urn) { - throw new Error("Missing required property 'buildTaskName'"); - } - if ((!args || args.registryName === undefined) && !opts.urn) { - throw new Error("Missing required property 'registryName'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - resourceInputs["buildTaskName"] = args ? args.buildTaskName : undefined; - resourceInputs["registryName"] = args ? args.registryName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["stepName"] = args ? args.stepName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["properties"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["properties"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:BuildStep" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(BuildStep.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a BuildStep resource. - */ -export interface BuildStepArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The name of a build step for a container registry build task. - */ - stepName?: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/buildTask.ts b/sdk/nodejs/containerregistry/v20180201preview/buildTask.ts deleted file mode 100644 index d501d9549c9b..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/buildTask.ts +++ /dev/null @@ -1,189 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it. - */ -export class BuildTask extends pulumi.CustomResource { - /** - * Get an existing BuildTask 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BuildTask { - return new BuildTask(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:containerregistry/v20180201preview:BuildTask'; - - /** - * Returns true if the given object is an instance of BuildTask. 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 BuildTask { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === BuildTask.__pulumiType; - } - - /** - * The alternative updatable name for a build task. - */ - public readonly alias!: pulumi.Output; - /** - * The creation date of build task. - */ - public /*out*/ readonly creationDate!: pulumi.Output; - /** - * The location of the resource. This cannot be changed after the resource is created. - */ - public readonly location!: pulumi.Output; - /** - * The name of the resource. - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The platform properties against which the build has to happen. - */ - public readonly platform!: pulumi.Output; - /** - * The provisioning state of the build task. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * The properties that describes the source(code) for the build task. - */ - public readonly sourceRepository!: pulumi.Output; - /** - * The current status of build task. - */ - public readonly status!: pulumi.Output; - /** - * The tags of the resource. - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * Build timeout in seconds. - */ - public readonly timeout!: pulumi.Output; - /** - * The type of the resource. - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a BuildTask 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: BuildTaskArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.alias === undefined) && !opts.urn) { - throw new Error("Missing required property 'alias'"); - } - if ((!args || args.platform === undefined) && !opts.urn) { - throw new Error("Missing required property 'platform'"); - } - if ((!args || args.registryName === undefined) && !opts.urn) { - throw new Error("Missing required property 'registryName'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - if ((!args || args.sourceRepository === undefined) && !opts.urn) { - throw new Error("Missing required property 'sourceRepository'"); - } - resourceInputs["alias"] = args ? args.alias : undefined; - resourceInputs["buildTaskName"] = args ? args.buildTaskName : undefined; - resourceInputs["location"] = args ? args.location : undefined; - resourceInputs["platform"] = args ? args.platform : undefined; - resourceInputs["registryName"] = args ? args.registryName : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["sourceRepository"] = args ? (args.sourceRepository ? pulumi.output(args.sourceRepository).apply(inputs.containerregistry.v20180201preview.sourceRepositoryPropertiesArgsProvideDefaults) : undefined) : undefined; - resourceInputs["status"] = args ? args.status : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["timeout"] = (args ? args.timeout : undefined) ?? 3600; - resourceInputs["creationDate"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["alias"] = undefined /*out*/; - resourceInputs["creationDate"] = undefined /*out*/; - resourceInputs["location"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["platform"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["sourceRepository"] = undefined /*out*/; - resourceInputs["status"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["timeout"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:BuildTask" }, { type: "azure-native:containerregistry/v20180901:BuildTask" }, { type: "azure-native:containerregistry/v20190401:BuildTask" }, { type: "azure-native:containerregistry/v20190601preview:BuildTask" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(BuildTask.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a BuildTask resource. - */ -export interface BuildTaskArgs { - /** - * The alternative updatable name for a build task. - */ - alias: pulumi.Input; - /** - * The name of the container registry build task. - */ - buildTaskName?: pulumi.Input; - /** - * The location of the resource. This cannot be changed after the resource is created. - */ - location?: pulumi.Input; - /** - * The platform properties against which the build has to happen. - */ - platform: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The properties that describes the source(code) for the build task. - */ - sourceRepository: pulumi.Input; - /** - * The current status of build task. - */ - status?: pulumi.Input; - /** - * The tags of the resource. - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * Build timeout in seconds. - */ - timeout?: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/getBuildLogLink.ts b/sdk/nodejs/containerregistry/v20180201preview/getBuildLogLink.ts deleted file mode 100644 index 825eaf1ad0bf..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/getBuildLogLink.ts +++ /dev/null @@ -1,64 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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"; - -/** - * Gets a link to download the build logs. - */ -export function getBuildLogLink(args: GetBuildLogLinkArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20180201preview:getBuildLogLink", { - "buildId": args.buildId, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetBuildLogLinkArgs { - /** - * The build ID. - */ - buildId: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The result of get log link operation. - */ -export interface GetBuildLogLinkResult { - /** - * The link to logs for a azure container registry build. - */ - readonly logLink?: string; -} -/** - * Gets a link to download the build logs. - */ -export function getBuildLogLinkOutput(args: GetBuildLogLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBuildLogLink(a, opts)) -} - -export interface GetBuildLogLinkOutputArgs { - /** - * The build ID. - */ - buildId: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/getBuildStep.ts b/sdk/nodejs/containerregistry/v20180201preview/getBuildStep.ts deleted file mode 100644 index 6a1fa337791d..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/getBuildStep.ts +++ /dev/null @@ -1,88 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Gets the build step for a build task. - */ -export function getBuildStep(args: GetBuildStepArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20180201preview:getBuildStep", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - "stepName": args.stepName, - }, opts); -} - -export interface GetBuildStepArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; - /** - * The name of a build step for a container registry build task. - */ - stepName: string; -} - -/** - * Build step resource properties - */ -export interface GetBuildStepResult { - /** - * The resource ID. - */ - readonly id: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * The properties of a build step. - */ - readonly properties: outputs.containerregistry.v20180201preview.DockerBuildStepResponse; - /** - * The type of the resource. - */ - readonly type: string; -} -/** - * Gets the build step for a build task. - */ -export function getBuildStepOutput(args: GetBuildStepOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBuildStep(a, opts)) -} - -export interface GetBuildStepOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The name of a build step for a container registry build task. - */ - stepName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/getBuildTask.ts b/sdk/nodejs/containerregistry/v20180201preview/getBuildTask.ts deleted file mode 100644 index 73797842432b..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/getBuildTask.ts +++ /dev/null @@ -1,111 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get the properties of a specified build task. - */ -export function getBuildTask(args: GetBuildTaskArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20180201preview:getBuildTask", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetBuildTaskArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it. - */ -export interface GetBuildTaskResult { - /** - * The alternative updatable name for a build task. - */ - readonly alias: string; - /** - * The creation date of build task. - */ - readonly creationDate: string; - /** - * The resource ID. - */ - readonly id: string; - /** - * The location of the resource. This cannot be changed after the resource is created. - */ - readonly location: string; - /** - * The name of the resource. - */ - readonly name: string; - /** - * The platform properties against which the build has to happen. - */ - readonly platform: outputs.containerregistry.v20180201preview.PlatformPropertiesResponse; - /** - * The provisioning state of the build task. - */ - readonly provisioningState: string; - /** - * The properties that describes the source(code) for the build task. - */ - readonly sourceRepository: outputs.containerregistry.v20180201preview.SourceRepositoryPropertiesResponse; - /** - * The current status of build task. - */ - readonly status?: string; - /** - * The tags of the resource. - */ - readonly tags?: {[key: string]: string}; - /** - * Build timeout in seconds. - */ - readonly timeout?: number; - /** - * The type of the resource. - */ - readonly type: string; -} -/** - * Get the properties of a specified build task. - */ -export function getBuildTaskOutput(args: GetBuildTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBuildTask(a, opts)) -} - -export interface GetBuildTaskOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/getRegistryBuildSourceUploadUrl.ts b/sdk/nodejs/containerregistry/v20180201preview/getRegistryBuildSourceUploadUrl.ts deleted file mode 100644 index 821f8f98c4b7..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/getRegistryBuildSourceUploadUrl.ts +++ /dev/null @@ -1,59 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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"; - -/** - * Get the upload location for the user to be able to upload the source. - */ -export function getRegistryBuildSourceUploadUrl(args: GetRegistryBuildSourceUploadUrlArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20180201preview:getRegistryBuildSourceUploadUrl", { - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface GetRegistryBuildSourceUploadUrlArgs { - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The properties of a response to source upload request. - */ -export interface GetRegistryBuildSourceUploadUrlResult { - /** - * The relative path to the source. This is used to submit the subsequent queue build request. - */ - readonly relativePath?: string; - /** - * The URL where the client can upload the source. - */ - readonly uploadUrl?: string; -} -/** - * Get the upload location for the user to be able to upload the source. - */ -export function getRegistryBuildSourceUploadUrlOutput(args: GetRegistryBuildSourceUploadUrlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistryBuildSourceUploadUrl(a, opts)) -} - -export interface GetRegistryBuildSourceUploadUrlOutputArgs { - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/index.ts b/sdk/nodejs/containerregistry/v20180201preview/index.ts deleted file mode 100644 index 9b961360ad96..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -// Export members: -export { BuildStepArgs } from "./buildStep"; -export type BuildStep = import("./buildStep").BuildStep; -export const BuildStep: typeof import("./buildStep").BuildStep = null as any; -utilities.lazyLoad(exports, ["BuildStep"], () => require("./buildStep")); - -export { BuildTaskArgs } from "./buildTask"; -export type BuildTask = import("./buildTask").BuildTask; -export const BuildTask: typeof import("./buildTask").BuildTask = null as any; -utilities.lazyLoad(exports, ["BuildTask"], () => require("./buildTask")); - -export { GetBuildLogLinkArgs, GetBuildLogLinkResult, GetBuildLogLinkOutputArgs } from "./getBuildLogLink"; -export const getBuildLogLink: typeof import("./getBuildLogLink").getBuildLogLink = null as any; -export const getBuildLogLinkOutput: typeof import("./getBuildLogLink").getBuildLogLinkOutput = null as any; -utilities.lazyLoad(exports, ["getBuildLogLink","getBuildLogLinkOutput"], () => require("./getBuildLogLink")); - -export { GetBuildStepArgs, GetBuildStepResult, GetBuildStepOutputArgs } from "./getBuildStep"; -export const getBuildStep: typeof import("./getBuildStep").getBuildStep = null as any; -export const getBuildStepOutput: typeof import("./getBuildStep").getBuildStepOutput = null as any; -utilities.lazyLoad(exports, ["getBuildStep","getBuildStepOutput"], () => require("./getBuildStep")); - -export { GetBuildTaskArgs, GetBuildTaskResult, GetBuildTaskOutputArgs } from "./getBuildTask"; -export const getBuildTask: typeof import("./getBuildTask").getBuildTask = null as any; -export const getBuildTaskOutput: typeof import("./getBuildTask").getBuildTaskOutput = null as any; -utilities.lazyLoad(exports, ["getBuildTask","getBuildTaskOutput"], () => require("./getBuildTask")); - -export { GetRegistryBuildSourceUploadUrlArgs, GetRegistryBuildSourceUploadUrlResult, GetRegistryBuildSourceUploadUrlOutputArgs } from "./getRegistryBuildSourceUploadUrl"; -export const getRegistryBuildSourceUploadUrl: typeof import("./getRegistryBuildSourceUploadUrl").getRegistryBuildSourceUploadUrl = null as any; -export const getRegistryBuildSourceUploadUrlOutput: typeof import("./getRegistryBuildSourceUploadUrl").getRegistryBuildSourceUploadUrlOutput = null as any; -utilities.lazyLoad(exports, ["getRegistryBuildSourceUploadUrl","getRegistryBuildSourceUploadUrlOutput"], () => require("./getRegistryBuildSourceUploadUrl")); - -export { ListBuildStepBuildArgumentsArgs, ListBuildStepBuildArgumentsResult, ListBuildStepBuildArgumentsOutputArgs } from "./listBuildStepBuildArguments"; -export const listBuildStepBuildArguments: typeof import("./listBuildStepBuildArguments").listBuildStepBuildArguments = null as any; -export const listBuildStepBuildArgumentsOutput: typeof import("./listBuildStepBuildArguments").listBuildStepBuildArgumentsOutput = null as any; -utilities.lazyLoad(exports, ["listBuildStepBuildArguments","listBuildStepBuildArgumentsOutput"], () => require("./listBuildStepBuildArguments")); - -export { ListBuildTaskSourceRepositoryPropertiesArgs, ListBuildTaskSourceRepositoryPropertiesResult, ListBuildTaskSourceRepositoryPropertiesOutputArgs } from "./listBuildTaskSourceRepositoryProperties"; -export const listBuildTaskSourceRepositoryProperties: typeof import("./listBuildTaskSourceRepositoryProperties").listBuildTaskSourceRepositoryProperties = null as any; -export const listBuildTaskSourceRepositoryPropertiesOutput: typeof import("./listBuildTaskSourceRepositoryProperties").listBuildTaskSourceRepositoryPropertiesOutput = null as any; -utilities.lazyLoad(exports, ["listBuildTaskSourceRepositoryProperties","listBuildTaskSourceRepositoryPropertiesOutput"], () => require("./listBuildTaskSourceRepositoryProperties")); - - -// Export enums: -export * from "../../types/enums/containerregistry/v20180201preview"; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:containerregistry/v20180201preview:BuildStep": - return new BuildStep(name, undefined, { urn }) - case "azure-native:containerregistry/v20180201preview:BuildTask": - return new BuildTask(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "containerregistry/v20180201preview", _module) diff --git a/sdk/nodejs/containerregistry/v20180201preview/listBuildStepBuildArguments.ts b/sdk/nodejs/containerregistry/v20180201preview/listBuildStepBuildArguments.ts deleted file mode 100644 index 681d20e4533a..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/listBuildStepBuildArguments.ts +++ /dev/null @@ -1,80 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * List the build arguments for a step including the secret arguments. - */ -export function listBuildStepBuildArguments(args: ListBuildStepBuildArgumentsArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20180201preview:listBuildStepBuildArguments", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - "stepName": args.stepName, - }, opts); -} - -export interface ListBuildStepBuildArgumentsArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; - /** - * The name of a build step for a container registry build task. - */ - stepName: string; -} - -/** - * The list of build arguments for a build step. - */ -export interface ListBuildStepBuildArgumentsResult { - /** - * The URI that can be used to request the next set of paged results. - */ - readonly nextLink?: string; - /** - * The collection value. - */ - readonly value?: outputs.containerregistry.v20180201preview.BuildArgumentResponse[]; -} -/** - * List the build arguments for a step including the secret arguments. - */ -export function listBuildStepBuildArgumentsOutput(args: ListBuildStepBuildArgumentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => listBuildStepBuildArguments(a, opts)) -} - -export interface ListBuildStepBuildArgumentsOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; - /** - * The name of a build step for a container registry build task. - */ - stepName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180201preview/listBuildTaskSourceRepositoryProperties.ts b/sdk/nodejs/containerregistry/v20180201preview/listBuildTaskSourceRepositoryProperties.ts deleted file mode 100644 index f7b3fe2d6361..000000000000 --- a/sdk/nodejs/containerregistry/v20180201preview/listBuildTaskSourceRepositoryProperties.ts +++ /dev/null @@ -1,79 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get the source control properties for a build task. - */ -export function listBuildTaskSourceRepositoryProperties(args: ListBuildTaskSourceRepositoryPropertiesArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:containerregistry/v20180201preview:listBuildTaskSourceRepositoryProperties", { - "buildTaskName": args.buildTaskName, - "registryName": args.registryName, - "resourceGroupName": args.resourceGroupName, - }, opts); -} - -export interface ListBuildTaskSourceRepositoryPropertiesArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: string; - /** - * The name of the container registry. - */ - registryName: string; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: string; -} - -/** - * The properties of the source code repository. - */ -export interface ListBuildTaskSourceRepositoryPropertiesResult { - /** - * The value of this property indicates whether the source control commit trigger is enabled or not. - */ - readonly isCommitTriggerEnabled?: boolean; - /** - * The full URL to the source code repository - */ - readonly repositoryUrl: string; - /** - * The authorization properties for accessing the source code repository. - */ - readonly sourceControlAuthProperties?: outputs.containerregistry.v20180201preview.SourceControlAuthInfoResponse; - /** - * The type of source control service. - */ - readonly sourceControlType: string; -} -/** - * Get the source control properties for a build task. - */ -export function listBuildTaskSourceRepositoryPropertiesOutput(args: ListBuildTaskSourceRepositoryPropertiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => listBuildTaskSourceRepositoryProperties(a, opts)) -} - -export interface ListBuildTaskSourceRepositoryPropertiesOutputArgs { - /** - * The name of the container registry build task. - */ - buildTaskName: pulumi.Input; - /** - * The name of the container registry. - */ - registryName: pulumi.Input; - /** - * The name of the resource group to which the container registry belongs. - */ - resourceGroupName: pulumi.Input; -} diff --git a/sdk/nodejs/containerregistry/v20180901/task.ts b/sdk/nodejs/containerregistry/v20180901/task.ts index def458f9b493..f563b2d08064 100644 --- a/sdk/nodejs/containerregistry/v20180901/task.ts +++ b/sdk/nodejs/containerregistry/v20180901/task.ts @@ -146,7 +146,7 @@ export class Task extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Task" }, { type: "azure-native:containerregistry/v20180201preview:Task" }, { type: "azure-native:containerregistry/v20190401:Task" }, { type: "azure-native:containerregistry/v20190601preview:Task" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Task" }, { type: "azure-native:containerregistry/v20190401:Task" }, { type: "azure-native:containerregistry/v20190601preview:Task" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Task.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20190401/task.ts b/sdk/nodejs/containerregistry/v20190401/task.ts index 3ea6b45b35cc..6c9c68f45cde 100644 --- a/sdk/nodejs/containerregistry/v20190401/task.ts +++ b/sdk/nodejs/containerregistry/v20190401/task.ts @@ -152,7 +152,7 @@ export class Task extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Task" }, { type: "azure-native:containerregistry/v20180201preview:Task" }, { type: "azure-native:containerregistry/v20180901:Task" }, { type: "azure-native:containerregistry/v20190601preview:Task" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Task" }, { type: "azure-native:containerregistry/v20180901:Task" }, { type: "azure-native:containerregistry/v20190601preview:Task" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Task.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20190501/registry.ts b/sdk/nodejs/containerregistry/v20190501/registry.ts index 6c28ea87bfb7..1cecccf85c5d 100644 --- a/sdk/nodejs/containerregistry/v20190501/registry.ts +++ b/sdk/nodejs/containerregistry/v20190501/registry.ts @@ -138,7 +138,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20190601preview/task.ts b/sdk/nodejs/containerregistry/v20190601preview/task.ts index e9303b6023aa..09dbd3d58190 100644 --- a/sdk/nodejs/containerregistry/v20190601preview/task.ts +++ b/sdk/nodejs/containerregistry/v20190601preview/task.ts @@ -170,7 +170,7 @@ export class Task extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Task" }, { type: "azure-native:containerregistry/v20180201preview:Task" }, { type: "azure-native:containerregistry/v20180901:Task" }, { type: "azure-native:containerregistry/v20190401:Task" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Task" }, { type: "azure-native:containerregistry/v20180901:Task" }, { type: "azure-native:containerregistry/v20190401:Task" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Task.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20221201/registry.ts b/sdk/nodejs/containerregistry/v20221201/registry.ts index bd5840f208b3..a672ba7bddaf 100644 --- a/sdk/nodejs/containerregistry/v20221201/registry.ts +++ b/sdk/nodejs/containerregistry/v20221201/registry.ts @@ -186,7 +186,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20221201/replication.ts b/sdk/nodejs/containerregistry/v20221201/replication.ts index e298b654ea77..96580861022b 100644 --- a/sdk/nodejs/containerregistry/v20221201/replication.ts +++ b/sdk/nodejs/containerregistry/v20221201/replication.ts @@ -115,7 +115,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20170601preview:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Replication.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20221201/webhook.ts b/sdk/nodejs/containerregistry/v20221201/webhook.ts index cb94ecddaa63..064be6a3375a 100644 --- a/sdk/nodejs/containerregistry/v20221201/webhook.ts +++ b/sdk/nodejs/containerregistry/v20221201/webhook.ts @@ -123,7 +123,7 @@ export class Webhook extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20170601preview:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Webhook.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230101preview/registry.ts b/sdk/nodejs/containerregistry/v20230101preview/registry.ts index ad8e903fc017..d24e01d0397a 100644 --- a/sdk/nodejs/containerregistry/v20230101preview/registry.ts +++ b/sdk/nodejs/containerregistry/v20230101preview/registry.ts @@ -192,7 +192,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230101preview/replication.ts b/sdk/nodejs/containerregistry/v20230101preview/replication.ts index c61114dff851..9e36e67654da 100644 --- a/sdk/nodejs/containerregistry/v20230101preview/replication.ts +++ b/sdk/nodejs/containerregistry/v20230101preview/replication.ts @@ -115,7 +115,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20170601preview:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Replication.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230101preview/webhook.ts b/sdk/nodejs/containerregistry/v20230101preview/webhook.ts index 767a91cb735c..693e854bfc04 100644 --- a/sdk/nodejs/containerregistry/v20230101preview/webhook.ts +++ b/sdk/nodejs/containerregistry/v20230101preview/webhook.ts @@ -123,7 +123,7 @@ export class Webhook extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20170601preview:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Webhook.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230601preview/registry.ts b/sdk/nodejs/containerregistry/v20230601preview/registry.ts index 9e092d262cb4..f5363f382817 100644 --- a/sdk/nodejs/containerregistry/v20230601preview/registry.ts +++ b/sdk/nodejs/containerregistry/v20230601preview/registry.ts @@ -192,7 +192,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230601preview/replication.ts b/sdk/nodejs/containerregistry/v20230601preview/replication.ts index a49b7ba538df..a20016bf9ced 100644 --- a/sdk/nodejs/containerregistry/v20230601preview/replication.ts +++ b/sdk/nodejs/containerregistry/v20230601preview/replication.ts @@ -115,7 +115,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20170601preview:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Replication.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230601preview/webhook.ts b/sdk/nodejs/containerregistry/v20230601preview/webhook.ts index fbafc982f571..fa942958f239 100644 --- a/sdk/nodejs/containerregistry/v20230601preview/webhook.ts +++ b/sdk/nodejs/containerregistry/v20230601preview/webhook.ts @@ -123,7 +123,7 @@ export class Webhook extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20170601preview:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Webhook.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230701/registry.ts b/sdk/nodejs/containerregistry/v20230701/registry.ts index a4f3dd6b89cb..fd4c8613324e 100644 --- a/sdk/nodejs/containerregistry/v20230701/registry.ts +++ b/sdk/nodejs/containerregistry/v20230701/registry.ts @@ -186,7 +186,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230801preview:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230701/replication.ts b/sdk/nodejs/containerregistry/v20230701/replication.ts index 762546218e99..38be9b92ce9c 100644 --- a/sdk/nodejs/containerregistry/v20230701/replication.ts +++ b/sdk/nodejs/containerregistry/v20230701/replication.ts @@ -115,7 +115,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20170601preview:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230801preview:Replication" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Replication.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230701/webhook.ts b/sdk/nodejs/containerregistry/v20230701/webhook.ts index 14e1431212e4..32366864e1fa 100644 --- a/sdk/nodejs/containerregistry/v20230701/webhook.ts +++ b/sdk/nodejs/containerregistry/v20230701/webhook.ts @@ -123,7 +123,7 @@ export class Webhook extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20170601preview:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Webhook.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230801preview/registry.ts b/sdk/nodejs/containerregistry/v20230801preview/registry.ts index 3a143f2d5fb9..65956679464a 100644 --- a/sdk/nodejs/containerregistry/v20230801preview/registry.ts +++ b/sdk/nodejs/containerregistry/v20230801preview/registry.ts @@ -192,7 +192,7 @@ export class Registry extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20160627preview:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20170601preview:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Registry" }, { type: "azure-native:containerregistry/v20170301:Registry" }, { type: "azure-native:containerregistry/v20171001:Registry" }, { type: "azure-native:containerregistry/v20190501:Registry" }, { type: "azure-native:containerregistry/v20191201preview:Registry" }, { type: "azure-native:containerregistry/v20201101preview:Registry" }, { type: "azure-native:containerregistry/v20210601preview:Registry" }, { type: "azure-native:containerregistry/v20210801preview:Registry" }, { type: "azure-native:containerregistry/v20210901:Registry" }, { type: "azure-native:containerregistry/v20211201preview:Registry" }, { type: "azure-native:containerregistry/v20220201preview:Registry" }, { type: "azure-native:containerregistry/v20221201:Registry" }, { type: "azure-native:containerregistry/v20230101preview:Registry" }, { type: "azure-native:containerregistry/v20230601preview:Registry" }, { type: "azure-native:containerregistry/v20230701:Registry" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Registry.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230801preview/replication.ts b/sdk/nodejs/containerregistry/v20230801preview/replication.ts index be909da0e891..0e9ec07c4d34 100644 --- a/sdk/nodejs/containerregistry/v20230801preview/replication.ts +++ b/sdk/nodejs/containerregistry/v20230801preview/replication.ts @@ -115,7 +115,7 @@ export class Replication extends pulumi.CustomResource { resourceInputs["zoneRedundancy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20170601preview:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Replication" }, { type: "azure-native:containerregistry/v20171001:Replication" }, { type: "azure-native:containerregistry/v20190501:Replication" }, { type: "azure-native:containerregistry/v20191201preview:Replication" }, { type: "azure-native:containerregistry/v20201101preview:Replication" }, { type: "azure-native:containerregistry/v20210601preview:Replication" }, { type: "azure-native:containerregistry/v20210801preview:Replication" }, { type: "azure-native:containerregistry/v20210901:Replication" }, { type: "azure-native:containerregistry/v20211201preview:Replication" }, { type: "azure-native:containerregistry/v20220201preview:Replication" }, { type: "azure-native:containerregistry/v20221201:Replication" }, { type: "azure-native:containerregistry/v20230101preview:Replication" }, { type: "azure-native:containerregistry/v20230601preview:Replication" }, { type: "azure-native:containerregistry/v20230701:Replication" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Replication.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/v20230801preview/webhook.ts b/sdk/nodejs/containerregistry/v20230801preview/webhook.ts index 598fa75f8a32..5039330374c5 100644 --- a/sdk/nodejs/containerregistry/v20230801preview/webhook.ts +++ b/sdk/nodejs/containerregistry/v20230801preview/webhook.ts @@ -123,7 +123,7 @@ export class Webhook extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20170601preview:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Webhook.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerregistry/webhook.ts b/sdk/nodejs/containerregistry/webhook.ts index ef1afa602b67..e55da07adf1a 100644 --- a/sdk/nodejs/containerregistry/webhook.ts +++ b/sdk/nodejs/containerregistry/webhook.ts @@ -124,7 +124,7 @@ export class Webhook extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20170601preview:Webhook" }, { type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerregistry/v20171001:Webhook" }, { type: "azure-native:containerregistry/v20190501:Webhook" }, { type: "azure-native:containerregistry/v20191201preview:Webhook" }, { type: "azure-native:containerregistry/v20201101preview:Webhook" }, { type: "azure-native:containerregistry/v20210601preview:Webhook" }, { type: "azure-native:containerregistry/v20210801preview:Webhook" }, { type: "azure-native:containerregistry/v20210901:Webhook" }, { type: "azure-native:containerregistry/v20211201preview:Webhook" }, { type: "azure-native:containerregistry/v20220201preview:Webhook" }, { type: "azure-native:containerregistry/v20221201:Webhook" }, { type: "azure-native:containerregistry/v20230101preview:Webhook" }, { type: "azure-native:containerregistry/v20230601preview:Webhook" }, { type: "azure-native:containerregistry/v20230701:Webhook" }, { type: "azure-native:containerregistry/v20230801preview:Webhook" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Webhook.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/agentPool.ts b/sdk/nodejs/containerservice/agentPool.ts index 9a2150ff6085..4ae6c44bd3b1 100644 --- a/sdk/nodejs/containerservice/agentPool.ts +++ b/sdk/nodejs/containerservice/agentPool.ts @@ -314,7 +314,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/fleet.ts b/sdk/nodejs/containerservice/fleet.ts index dc270bba0afe..88ac67a969b5 100644 --- a/sdk/nodejs/containerservice/fleet.ts +++ b/sdk/nodejs/containerservice/fleet.ts @@ -106,7 +106,7 @@ export class Fleet extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }, { type: "azure-native:containerservice/v20230815preview:Fleet" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Fleet.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/fleetMember.ts b/sdk/nodejs/containerservice/fleetMember.ts index 17ca23e75b24..632c5451cd03 100644 --- a/sdk/nodejs/containerservice/fleetMember.ts +++ b/sdk/nodejs/containerservice/fleetMember.ts @@ -107,7 +107,7 @@ export class FleetMember extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }, { type: "azure-native:containerservice/v20230815preview:FleetMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FleetMember.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/fleetUpdateStrategy.ts b/sdk/nodejs/containerservice/fleetUpdateStrategy.ts new file mode 100644 index 000000000000..92c94fa5afab --- /dev/null +++ b/sdk/nodejs/containerservice/fleetUpdateStrategy.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Defines a multi-stage process to perform update operations across members of a Fleet. + * Azure REST API version: 2023-08-15-preview. + */ +export class FleetUpdateStrategy extends pulumi.CustomResource { + /** + * Get an existing FleetUpdateStrategy 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FleetUpdateStrategy { + return new FleetUpdateStrategy(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice:FleetUpdateStrategy'; + + /** + * Returns true if the given object is an instance of FleetUpdateStrategy. 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 FleetUpdateStrategy { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === FleetUpdateStrategy.__pulumiType; + } + + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the UpdateStrategy resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Defines the update sequence of the clusters. + */ + public readonly strategy!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a FleetUpdateStrategy 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: FleetUpdateStrategyArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.fleetName === undefined) && !opts.urn) { + throw new Error("Missing required property 'fleetName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.strategy === undefined) && !opts.urn) { + throw new Error("Missing required property 'strategy'"); + } + resourceInputs["fleetName"] = args ? args.fleetName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["strategy"] = args ? args.strategy : undefined; + resourceInputs["updateStrategyName"] = args ? args.updateStrategyName : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["strategy"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20230815preview:FleetUpdateStrategy" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(FleetUpdateStrategy.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a FleetUpdateStrategy resource. + */ +export interface FleetUpdateStrategyArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Defines the update sequence of the clusters. + */ + strategy: pulumi.Input; + /** + * The name of the UpdateStrategy resource. + */ + updateStrategyName?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/getFleetUpdateStrategy.ts b/sdk/nodejs/containerservice/getFleetUpdateStrategy.ts new file mode 100644 index 000000000000..a7978bdc11c5 --- /dev/null +++ b/sdk/nodejs/containerservice/getFleetUpdateStrategy.ts @@ -0,0 +1,93 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Get a FleetUpdateStrategy + * Azure REST API version: 2023-08-15-preview. + */ +export function getFleetUpdateStrategy(args: GetFleetUpdateStrategyArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice:getFleetUpdateStrategy", { + "fleetName": args.fleetName, + "resourceGroupName": args.resourceGroupName, + "updateStrategyName": args.updateStrategyName, + }, opts); +} + +export interface GetFleetUpdateStrategyArgs { + /** + * The name of the Fleet resource. + */ + fleetName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the UpdateStrategy resource. + */ + updateStrategyName: string; +} + +/** + * Defines a multi-stage process to perform update operations across members of a Fleet. + */ +export interface GetFleetUpdateStrategyResult { + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly eTag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the UpdateStrategy resource. + */ + readonly provisioningState: string; + /** + * Defines the update sequence of the clusters. + */ + readonly strategy: outputs.containerservice.UpdateRunStrategyResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a FleetUpdateStrategy + * Azure REST API version: 2023-08-15-preview. + */ +export function getFleetUpdateStrategyOutput(args: GetFleetUpdateStrategyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFleetUpdateStrategy(a, opts)) +} + +export interface GetFleetUpdateStrategyOutputArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the UpdateStrategy resource. + */ + updateStrategyName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/getUpdateRun.ts b/sdk/nodejs/containerservice/getUpdateRun.ts index aeda0c64d917..2f6f543d0df0 100644 --- a/sdk/nodejs/containerservice/getUpdateRun.ts +++ b/sdk/nodejs/containerservice/getUpdateRun.ts @@ -37,7 +37,7 @@ export interface GetUpdateRunArgs { } /** - * An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + * A multi-stage process to perform update operations across members of a Fleet. */ export interface GetUpdateRunResult { /** diff --git a/sdk/nodejs/containerservice/index.ts b/sdk/nodejs/containerservice/index.ts index 3e86653ab71a..9fe3c17af612 100644 --- a/sdk/nodejs/containerservice/index.ts +++ b/sdk/nodejs/containerservice/index.ts @@ -20,6 +20,11 @@ export type FleetMember = import("./fleetMember").FleetMember; export const FleetMember: typeof import("./fleetMember").FleetMember = null as any; utilities.lazyLoad(exports, ["FleetMember"], () => require("./fleetMember")); +export { FleetUpdateStrategyArgs } from "./fleetUpdateStrategy"; +export type FleetUpdateStrategy = import("./fleetUpdateStrategy").FleetUpdateStrategy; +export const FleetUpdateStrategy: typeof import("./fleetUpdateStrategy").FleetUpdateStrategy = null as any; +utilities.lazyLoad(exports, ["FleetUpdateStrategy"], () => require("./fleetUpdateStrategy")); + export { GetAgentPoolArgs, GetAgentPoolResult, GetAgentPoolOutputArgs } from "./getAgentPool"; export const getAgentPool: typeof import("./getAgentPool").getAgentPool = null as any; export const getAgentPoolOutput: typeof import("./getAgentPool").getAgentPoolOutput = null as any; @@ -35,6 +40,11 @@ export const getFleetMember: typeof import("./getFleetMember").getFleetMember = export const getFleetMemberOutput: typeof import("./getFleetMember").getFleetMemberOutput = null as any; utilities.lazyLoad(exports, ["getFleetMember","getFleetMemberOutput"], () => require("./getFleetMember")); +export { GetFleetUpdateStrategyArgs, GetFleetUpdateStrategyResult, GetFleetUpdateStrategyOutputArgs } from "./getFleetUpdateStrategy"; +export const getFleetUpdateStrategy: typeof import("./getFleetUpdateStrategy").getFleetUpdateStrategy = null as any; +export const getFleetUpdateStrategyOutput: typeof import("./getFleetUpdateStrategy").getFleetUpdateStrategyOutput = null as any; +utilities.lazyLoad(exports, ["getFleetUpdateStrategy","getFleetUpdateStrategyOutput"], () => require("./getFleetUpdateStrategy")); + export { GetMaintenanceConfigurationArgs, GetMaintenanceConfigurationResult, GetMaintenanceConfigurationOutputArgs } from "./getMaintenanceConfiguration"; export const getMaintenanceConfiguration: typeof import("./getMaintenanceConfiguration").getMaintenanceConfiguration = null as any; export const getMaintenanceConfigurationOutput: typeof import("./getMaintenanceConfiguration").getMaintenanceConfigurationOutput = null as any; @@ -162,6 +172,8 @@ import * as v20230602preview from "./v20230602preview"; import * as v20230615preview from "./v20230615preview"; import * as v20230701 from "./v20230701"; import * as v20230702preview from "./v20230702preview"; +import * as v20230801 from "./v20230801"; +import * as v20230815preview from "./v20230815preview"; export { v20190601, @@ -181,6 +193,8 @@ export { v20230615preview, v20230701, v20230702preview, + v20230801, + v20230815preview, }; const _module = { @@ -193,6 +207,8 @@ const _module = { return new Fleet(name, undefined, { urn }) case "azure-native:containerservice:FleetMember": return new FleetMember(name, undefined, { urn }) + case "azure-native:containerservice:FleetUpdateStrategy": + return new FleetUpdateStrategy(name, undefined, { urn }) case "azure-native:containerservice:MaintenanceConfiguration": return new MaintenanceConfiguration(name, undefined, { urn }) case "azure-native:containerservice:ManagedCluster": diff --git a/sdk/nodejs/containerservice/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/maintenanceConfiguration.ts index dee0e6788e7a..9383e06d1d27 100644 --- a/sdk/nodejs/containerservice/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/maintenanceConfiguration.ts @@ -92,7 +92,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/managedCluster.ts b/sdk/nodejs/containerservice/managedCluster.ts index e538edd96556..fd8896ac8d8d 100644 --- a/sdk/nodejs/containerservice/managedCluster.ts +++ b/sdk/nodejs/containerservice/managedCluster.ts @@ -322,7 +322,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/privateEndpointConnection.ts b/sdk/nodejs/containerservice/privateEndpointConnection.ts index db59dd4576bc..2ca67726f5ff 100644 --- a/sdk/nodejs/containerservice/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/privateEndpointConnection.ts @@ -95,7 +95,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/snapshot.ts b/sdk/nodejs/containerservice/snapshot.ts index 198ac5f8c9a8..a097daaf80c3 100644 --- a/sdk/nodejs/containerservice/snapshot.ts +++ b/sdk/nodejs/containerservice/snapshot.ts @@ -136,7 +136,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/updateRun.ts b/sdk/nodejs/containerservice/updateRun.ts index 8d9a310a5a75..30186df96df4 100644 --- a/sdk/nodejs/containerservice/updateRun.ts +++ b/sdk/nodejs/containerservice/updateRun.ts @@ -8,7 +8,7 @@ import * as enums from "../types/enums"; import * as utilities from "../utilities"; /** - * An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + * A multi-stage process to perform update operations across members of a Fleet. * Azure REST API version: 2023-03-15-preview. */ export class UpdateRun extends pulumi.CustomResource { @@ -115,7 +115,7 @@ export class UpdateRun extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20230315preview:UpdateRun" }, { type: "azure-native:containerservice/v20230615preview:UpdateRun" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice/v20230315preview:UpdateRun" }, { type: "azure-native:containerservice/v20230615preview:UpdateRun" }, { type: "azure-native:containerservice/v20230815preview:UpdateRun" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(UpdateRun.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20190601/managedCluster.ts b/sdk/nodejs/containerservice/v20190601/managedCluster.ts index 3cd1dcc47944..2f6edf18aee9 100644 --- a/sdk/nodejs/containerservice/v20190601/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20190601/managedCluster.ts @@ -183,7 +183,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["windowsProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20200601/agentPool.ts b/sdk/nodejs/containerservice/v20200601/agentPool.ts index ff81cd5e1b10..fcfa8b615027 100644 --- a/sdk/nodejs/containerservice/v20200601/agentPool.ts +++ b/sdk/nodejs/containerservice/v20200601/agentPool.ts @@ -211,7 +211,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["vnetSubnetID"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20210201/agentPool.ts b/sdk/nodejs/containerservice/v20210201/agentPool.ts index b2a8d599f461..c9ede1bf2e4b 100644 --- a/sdk/nodejs/containerservice/v20210201/agentPool.ts +++ b/sdk/nodejs/containerservice/v20210201/agentPool.ts @@ -259,7 +259,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["vnetSubnetID"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20210501/managedCluster.ts b/sdk/nodejs/containerservice/v20210501/managedCluster.ts index 49ac13324869..a0013806721a 100644 --- a/sdk/nodejs/containerservice/v20210501/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20210501/managedCluster.ts @@ -267,7 +267,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["windowsProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20210801/agentPool.ts b/sdk/nodejs/containerservice/v20210801/agentPool.ts index 368119c22fe9..1b39f0e2c896 100644 --- a/sdk/nodejs/containerservice/v20210801/agentPool.ts +++ b/sdk/nodejs/containerservice/v20210801/agentPool.ts @@ -301,7 +301,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20220402preview/agentPool.ts b/sdk/nodejs/containerservice/v20220402preview/agentPool.ts index 9406792a70ba..d9284192bc6f 100644 --- a/sdk/nodejs/containerservice/v20220402preview/agentPool.ts +++ b/sdk/nodejs/containerservice/v20220402preview/agentPool.ts @@ -331,7 +331,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20220702preview/fleet.ts b/sdk/nodejs/containerservice/v20220702preview/fleet.ts index 3d5e5ef2d89b..94dc6b6744bc 100644 --- a/sdk/nodejs/containerservice/v20220702preview/fleet.ts +++ b/sdk/nodejs/containerservice/v20220702preview/fleet.ts @@ -105,7 +105,7 @@ export class Fleet extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }, { type: "azure-native:containerservice/v20230815preview:Fleet" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Fleet.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20220702preview/fleetMember.ts b/sdk/nodejs/containerservice/v20220702preview/fleetMember.ts index 508976166024..47b755a88193 100644 --- a/sdk/nodejs/containerservice/v20220702preview/fleetMember.ts +++ b/sdk/nodejs/containerservice/v20220702preview/fleetMember.ts @@ -97,7 +97,7 @@ export class FleetMember extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }, { type: "azure-native:containerservice/v20230815preview:FleetMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FleetMember.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230315preview/fleet.ts b/sdk/nodejs/containerservice/v20230315preview/fleet.ts index 06c67dff4046..ae71270e8db7 100644 --- a/sdk/nodejs/containerservice/v20230315preview/fleet.ts +++ b/sdk/nodejs/containerservice/v20230315preview/fleet.ts @@ -105,7 +105,7 @@ export class Fleet extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }, { type: "azure-native:containerservice/v20230815preview:Fleet" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Fleet.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230315preview/fleetMember.ts b/sdk/nodejs/containerservice/v20230315preview/fleetMember.ts index 6fdc2d12b5ea..eb842140aa61 100644 --- a/sdk/nodejs/containerservice/v20230315preview/fleetMember.ts +++ b/sdk/nodejs/containerservice/v20230315preview/fleetMember.ts @@ -106,7 +106,7 @@ export class FleetMember extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }, { type: "azure-native:containerservice/v20230815preview:FleetMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FleetMember.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230315preview/getUpdateRun.ts b/sdk/nodejs/containerservice/v20230315preview/getUpdateRun.ts index 547607612b4e..31bbca02ba77 100644 --- a/sdk/nodejs/containerservice/v20230315preview/getUpdateRun.ts +++ b/sdk/nodejs/containerservice/v20230315preview/getUpdateRun.ts @@ -36,7 +36,7 @@ export interface GetUpdateRunArgs { } /** - * An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + * A multi-stage process to perform update operations across members of a Fleet. */ export interface GetUpdateRunResult { /** diff --git a/sdk/nodejs/containerservice/v20230315preview/updateRun.ts b/sdk/nodejs/containerservice/v20230315preview/updateRun.ts index 6b941ed7caea..a63bd40ad66c 100644 --- a/sdk/nodejs/containerservice/v20230315preview/updateRun.ts +++ b/sdk/nodejs/containerservice/v20230315preview/updateRun.ts @@ -8,7 +8,7 @@ import * as enums from "../../types/enums"; import * as utilities from "../../utilities"; /** - * An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + * A multi-stage process to perform update operations across members of a Fleet. */ export class UpdateRun extends pulumi.CustomResource { /** @@ -114,7 +114,7 @@ export class UpdateRun extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:UpdateRun" }, { type: "azure-native:containerservice/v20230615preview:UpdateRun" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:UpdateRun" }, { type: "azure-native:containerservice/v20230615preview:UpdateRun" }, { type: "azure-native:containerservice/v20230815preview:UpdateRun" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(UpdateRun.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230401/agentPool.ts b/sdk/nodejs/containerservice/v20230401/agentPool.ts index 17012947b618..f0df867d575a 100644 --- a/sdk/nodejs/containerservice/v20230401/agentPool.ts +++ b/sdk/nodejs/containerservice/v20230401/agentPool.ts @@ -313,7 +313,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230401/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230401/maintenanceConfiguration.ts index 729b9dd8a4ba..6377a3e5d572 100644 --- a/sdk/nodejs/containerservice/v20230401/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/v20230401/maintenanceConfiguration.ts @@ -91,7 +91,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230401/managedCluster.ts b/sdk/nodejs/containerservice/v20230401/managedCluster.ts index 399ab34048ff..5e3f9abb7d29 100644 --- a/sdk/nodejs/containerservice/v20230401/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20230401/managedCluster.ts @@ -321,7 +321,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230401/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230401/privateEndpointConnection.ts index eeb0d9ea10c3..a0ca4c782678 100644 --- a/sdk/nodejs/containerservice/v20230401/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/v20230401/privateEndpointConnection.ts @@ -94,7 +94,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230401/snapshot.ts b/sdk/nodejs/containerservice/v20230401/snapshot.ts index 268a381ed21f..a0c3ecf9b1e0 100644 --- a/sdk/nodejs/containerservice/v20230401/snapshot.ts +++ b/sdk/nodejs/containerservice/v20230401/snapshot.ts @@ -135,7 +135,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230502preview/agentPool.ts b/sdk/nodejs/containerservice/v20230502preview/agentPool.ts index 6863b03df30c..f058663c02f9 100644 --- a/sdk/nodejs/containerservice/v20230502preview/agentPool.ts +++ b/sdk/nodejs/containerservice/v20230502preview/agentPool.ts @@ -343,7 +343,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230502preview/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230502preview/maintenanceConfiguration.ts index 2f639b68514a..0b03bcb7140a 100644 --- a/sdk/nodejs/containerservice/v20230502preview/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/v20230502preview/maintenanceConfiguration.ts @@ -97,7 +97,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230502preview/managedCluster.ts b/sdk/nodejs/containerservice/v20230502preview/managedCluster.ts index 0903deb31315..0d7e6250a3b5 100644 --- a/sdk/nodejs/containerservice/v20230502preview/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20230502preview/managedCluster.ts @@ -363,7 +363,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230502preview/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230502preview/privateEndpointConnection.ts index f596cefeceba..91568c776d12 100644 --- a/sdk/nodejs/containerservice/v20230502preview/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/v20230502preview/privateEndpointConnection.ts @@ -94,7 +94,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230502preview/snapshot.ts b/sdk/nodejs/containerservice/v20230502preview/snapshot.ts index b1c298e2cfb5..6257b892f2bb 100644 --- a/sdk/nodejs/containerservice/v20230502preview/snapshot.ts +++ b/sdk/nodejs/containerservice/v20230502preview/snapshot.ts @@ -135,7 +135,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230601/agentPool.ts b/sdk/nodejs/containerservice/v20230601/agentPool.ts index 23bee21a6a9d..90566424ed38 100644 --- a/sdk/nodejs/containerservice/v20230601/agentPool.ts +++ b/sdk/nodejs/containerservice/v20230601/agentPool.ts @@ -313,7 +313,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230601/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230601/maintenanceConfiguration.ts index dad1ce2abf60..c2158d5ccd6b 100644 --- a/sdk/nodejs/containerservice/v20230601/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/v20230601/maintenanceConfiguration.ts @@ -97,7 +97,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230601/managedCluster.ts b/sdk/nodejs/containerservice/v20230601/managedCluster.ts index 330a0a6be6eb..34aacd5f0652 100644 --- a/sdk/nodejs/containerservice/v20230601/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20230601/managedCluster.ts @@ -321,7 +321,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230601/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230601/privateEndpointConnection.ts index ced5e8163aa7..3656d104ddc2 100644 --- a/sdk/nodejs/containerservice/v20230601/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/v20230601/privateEndpointConnection.ts @@ -94,7 +94,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230601/snapshot.ts b/sdk/nodejs/containerservice/v20230601/snapshot.ts index 26578c67424f..4df22a70c823 100644 --- a/sdk/nodejs/containerservice/v20230601/snapshot.ts +++ b/sdk/nodejs/containerservice/v20230601/snapshot.ts @@ -135,7 +135,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230602preview/agentPool.ts b/sdk/nodejs/containerservice/v20230602preview/agentPool.ts index 8facd4eadefd..63a80178e3c0 100644 --- a/sdk/nodejs/containerservice/v20230602preview/agentPool.ts +++ b/sdk/nodejs/containerservice/v20230602preview/agentPool.ts @@ -349,7 +349,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230602preview/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230602preview/maintenanceConfiguration.ts index ab19b6164488..db6884f3793f 100644 --- a/sdk/nodejs/containerservice/v20230602preview/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/v20230602preview/maintenanceConfiguration.ts @@ -97,7 +97,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230602preview/managedCluster.ts b/sdk/nodejs/containerservice/v20230602preview/managedCluster.ts index 7fd3112b231b..2de3a9c5ba6e 100644 --- a/sdk/nodejs/containerservice/v20230602preview/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20230602preview/managedCluster.ts @@ -363,7 +363,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230602preview/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230602preview/privateEndpointConnection.ts index b55351d9ec86..594101f41e1a 100644 --- a/sdk/nodejs/containerservice/v20230602preview/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/v20230602preview/privateEndpointConnection.ts @@ -94,7 +94,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230602preview/snapshot.ts b/sdk/nodejs/containerservice/v20230602preview/snapshot.ts index 7699d8957bd1..5d349ef9549c 100644 --- a/sdk/nodejs/containerservice/v20230602preview/snapshot.ts +++ b/sdk/nodejs/containerservice/v20230602preview/snapshot.ts @@ -135,7 +135,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230615preview/fleet.ts b/sdk/nodejs/containerservice/v20230615preview/fleet.ts index 1189fc2fcf72..76db870f2bc5 100644 --- a/sdk/nodejs/containerservice/v20230615preview/fleet.ts +++ b/sdk/nodejs/containerservice/v20230615preview/fleet.ts @@ -111,7 +111,7 @@ export class Fleet extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }, { type: "azure-native:containerservice/v20230815preview:Fleet" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Fleet.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230615preview/fleetMember.ts b/sdk/nodejs/containerservice/v20230615preview/fleetMember.ts index b1f11f778ef8..9ec1e869df2e 100644 --- a/sdk/nodejs/containerservice/v20230615preview/fleetMember.ts +++ b/sdk/nodejs/containerservice/v20230615preview/fleetMember.ts @@ -106,7 +106,7 @@ export class FleetMember extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }, { type: "azure-native:containerservice/v20230815preview:FleetMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FleetMember.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230615preview/getUpdateRun.ts b/sdk/nodejs/containerservice/v20230615preview/getUpdateRun.ts index 8bd216940f65..8ac9715bac0d 100644 --- a/sdk/nodejs/containerservice/v20230615preview/getUpdateRun.ts +++ b/sdk/nodejs/containerservice/v20230615preview/getUpdateRun.ts @@ -36,7 +36,7 @@ export interface GetUpdateRunArgs { } /** - * An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + * A multi-stage process to perform update operations across members of a Fleet. */ export interface GetUpdateRunResult { /** diff --git a/sdk/nodejs/containerservice/v20230615preview/updateRun.ts b/sdk/nodejs/containerservice/v20230615preview/updateRun.ts index 2b74c05689d0..da5a7218a663 100644 --- a/sdk/nodejs/containerservice/v20230615preview/updateRun.ts +++ b/sdk/nodejs/containerservice/v20230615preview/updateRun.ts @@ -8,7 +8,7 @@ import * as enums from "../../types/enums"; import * as utilities from "../../utilities"; /** - * An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + * A multi-stage process to perform update operations across members of a Fleet. */ export class UpdateRun extends pulumi.CustomResource { /** @@ -114,7 +114,7 @@ export class UpdateRun extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:UpdateRun" }, { type: "azure-native:containerservice/v20230315preview:UpdateRun" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:UpdateRun" }, { type: "azure-native:containerservice/v20230315preview:UpdateRun" }, { type: "azure-native:containerservice/v20230815preview:UpdateRun" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(UpdateRun.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230701/agentPool.ts b/sdk/nodejs/containerservice/v20230701/agentPool.ts index 0f67126bbd25..9828a0e7274c 100644 --- a/sdk/nodejs/containerservice/v20230701/agentPool.ts +++ b/sdk/nodejs/containerservice/v20230701/agentPool.ts @@ -313,7 +313,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230701/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230701/maintenanceConfiguration.ts index 88c4d5e1be3f..505c96938ef5 100644 --- a/sdk/nodejs/containerservice/v20230701/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/v20230701/maintenanceConfiguration.ts @@ -97,7 +97,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230701/managedCluster.ts b/sdk/nodejs/containerservice/v20230701/managedCluster.ts index cde90b32d754..5e4d5c503f2a 100644 --- a/sdk/nodejs/containerservice/v20230701/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20230701/managedCluster.ts @@ -327,7 +327,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230701/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230701/privateEndpointConnection.ts index 24be1fa5fc55..51274b45f692 100644 --- a/sdk/nodejs/containerservice/v20230701/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/v20230701/privateEndpointConnection.ts @@ -94,7 +94,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230701/snapshot.ts b/sdk/nodejs/containerservice/v20230701/snapshot.ts index 4221c7e1b38d..e7b0588491e1 100644 --- a/sdk/nodejs/containerservice/v20230701/snapshot.ts +++ b/sdk/nodejs/containerservice/v20230701/snapshot.ts @@ -135,7 +135,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230702preview/agentPool.ts b/sdk/nodejs/containerservice/v20230702preview/agentPool.ts index 1fba39f747ea..a9d1f343cdf6 100644 --- a/sdk/nodejs/containerservice/v20230702preview/agentPool.ts +++ b/sdk/nodejs/containerservice/v20230702preview/agentPool.ts @@ -349,7 +349,7 @@ export class AgentPool extends pulumi.CustomResource { resourceInputs["workloadRuntime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230801:AgentPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AgentPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230702preview/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230702preview/maintenanceConfiguration.ts index 3aacf1df78ae..74314976a644 100644 --- a/sdk/nodejs/containerservice/v20230702preview/maintenanceConfiguration.ts +++ b/sdk/nodejs/containerservice/v20230702preview/maintenanceConfiguration.ts @@ -97,7 +97,7 @@ export class MaintenanceConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230801:MaintenanceConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230702preview/managedCluster.ts b/sdk/nodejs/containerservice/v20230702preview/managedCluster.ts index 14e3034d389c..2ec32298a05e 100644 --- a/sdk/nodejs/containerservice/v20230702preview/managedCluster.ts +++ b/sdk/nodejs/containerservice/v20230702preview/managedCluster.ts @@ -375,7 +375,7 @@ export class ManagedCluster extends pulumi.CustomResource { resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230801:ManagedCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230702preview/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230702preview/privateEndpointConnection.ts index 0886461e1d69..b9bf5e575287 100644 --- a/sdk/nodejs/containerservice/v20230702preview/privateEndpointConnection.ts +++ b/sdk/nodejs/containerservice/v20230702preview/privateEndpointConnection.ts @@ -94,7 +94,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230801:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230702preview/snapshot.ts b/sdk/nodejs/containerservice/v20230702preview/snapshot.ts index 729373aec642..aa13603303f1 100644 --- a/sdk/nodejs/containerservice/v20230702preview/snapshot.ts +++ b/sdk/nodejs/containerservice/v20230702preview/snapshot.ts @@ -135,7 +135,7 @@ export class Snapshot extends pulumi.CustomResource { resourceInputs["vmSize"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230801:Snapshot" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Snapshot.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/containerservice/v20230801/agentPool.ts b/sdk/nodejs/containerservice/v20230801/agentPool.ts new file mode 100644 index 000000000000..42567e4aa773 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/agentPool.ts @@ -0,0 +1,490 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Agent Pool. + */ +export class AgentPool extends pulumi.CustomResource { + /** + * Get an existing AgentPool 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AgentPool { + return new AgentPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230801:AgentPool'; + + /** + * Returns true if the given object is an instance of AgentPool. 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 AgentPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AgentPool.__pulumiType; + } + + /** + * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + */ + public readonly availabilityZones!: pulumi.Output; + /** + * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + */ + public readonly count!: pulumi.Output; + /** + * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + */ + public readonly creationData!: pulumi.Output; + /** + * If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + */ + public /*out*/ readonly currentOrchestratorVersion!: pulumi.Output; + /** + * Whether to enable auto-scaler + */ + public readonly enableAutoScaling!: pulumi.Output; + /** + * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + */ + public readonly enableEncryptionAtHost!: pulumi.Output; + /** + * See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + */ + public readonly enableFIPS!: pulumi.Output; + /** + * Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + */ + public readonly enableNodePublicIP!: pulumi.Output; + /** + * Whether to enable UltraSSD + */ + public readonly enableUltraSSD!: pulumi.Output; + /** + * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + */ + public readonly gpuInstanceProfile!: pulumi.Output; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + */ + public readonly hostGroupID!: pulumi.Output; + /** + * The Kubelet configuration on the agent pool nodes. + */ + public readonly kubeletConfig!: pulumi.Output; + /** + * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + */ + public readonly kubeletDiskType!: pulumi.Output; + /** + * The OS configuration of Linux agent nodes. + */ + public readonly linuxOSConfig!: pulumi.Output; + /** + * The maximum number of nodes for auto-scaling + */ + public readonly maxCount!: pulumi.Output; + /** + * The maximum number of pods that can run on a node. + */ + public readonly maxPods!: pulumi.Output; + /** + * The minimum number of nodes for auto-scaling + */ + public readonly minCount!: pulumi.Output; + /** + * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + */ + public readonly mode!: pulumi.Output; + /** + * The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The version of node image + */ + public /*out*/ readonly nodeImageVersion!: pulumi.Output; + /** + * The node labels to be persisted across all nodes in agent pool. + */ + public readonly nodeLabels!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + */ + public readonly nodePublicIPPrefixID!: pulumi.Output; + /** + * The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + */ + public readonly nodeTaints!: pulumi.Output; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + */ + public readonly orchestratorVersion!: pulumi.Output; + /** + * OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + */ + public readonly osDiskSizeGB!: pulumi.Output; + /** + * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + */ + public readonly osDiskType!: pulumi.Output; + /** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ + public readonly osSKU!: pulumi.Output; + /** + * The operating system type. The default is Linux. + */ + public readonly osType!: pulumi.Output; + /** + * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + public readonly podSubnetID!: pulumi.Output; + /** + * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + */ + public readonly powerState!: pulumi.Output; + /** + * The current deployment or provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The ID for Proximity Placement Group. + */ + public readonly proximityPlacementGroupID!: pulumi.Output; + /** + * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + */ + public readonly scaleDownMode!: pulumi.Output; + /** + * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + */ + public readonly scaleSetEvictionPolicy!: pulumi.Output; + /** + * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + */ + public readonly scaleSetPriority!: pulumi.Output; + /** + * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + */ + public readonly spotMaxPrice!: pulumi.Output; + /** + * The tags to be persisted on the agent pool virtual machine scale set. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type + */ + public readonly type!: pulumi.Output; + /** + * Settings for upgrading the agentpool + */ + public readonly upgradeSettings!: pulumi.Output; + /** + * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + */ + public readonly vmSize!: pulumi.Output; + /** + * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + public readonly vnetSubnetID!: pulumi.Output; + /** + * Determines the type of workload a node can run. + */ + public readonly workloadRuntime!: pulumi.Output; + + /** + * Create a AgentPool 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: AgentPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.resourceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceName'"); + } + resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined; + resourceInputs["availabilityZones"] = args ? args.availabilityZones : undefined; + resourceInputs["count"] = args ? args.count : undefined; + resourceInputs["creationData"] = args ? args.creationData : undefined; + resourceInputs["enableAutoScaling"] = args ? args.enableAutoScaling : undefined; + resourceInputs["enableEncryptionAtHost"] = args ? args.enableEncryptionAtHost : undefined; + resourceInputs["enableFIPS"] = args ? args.enableFIPS : undefined; + resourceInputs["enableNodePublicIP"] = args ? args.enableNodePublicIP : undefined; + resourceInputs["enableUltraSSD"] = args ? args.enableUltraSSD : undefined; + resourceInputs["gpuInstanceProfile"] = args ? args.gpuInstanceProfile : undefined; + resourceInputs["hostGroupID"] = args ? args.hostGroupID : undefined; + resourceInputs["kubeletConfig"] = args ? args.kubeletConfig : undefined; + resourceInputs["kubeletDiskType"] = args ? args.kubeletDiskType : undefined; + resourceInputs["linuxOSConfig"] = args ? args.linuxOSConfig : undefined; + resourceInputs["maxCount"] = args ? args.maxCount : undefined; + resourceInputs["maxPods"] = args ? args.maxPods : undefined; + resourceInputs["minCount"] = args ? args.minCount : undefined; + resourceInputs["mode"] = args ? args.mode : undefined; + resourceInputs["nodeLabels"] = args ? args.nodeLabels : undefined; + resourceInputs["nodePublicIPPrefixID"] = args ? args.nodePublicIPPrefixID : undefined; + resourceInputs["nodeTaints"] = args ? args.nodeTaints : undefined; + resourceInputs["orchestratorVersion"] = args ? args.orchestratorVersion : undefined; + resourceInputs["osDiskSizeGB"] = args ? args.osDiskSizeGB : undefined; + resourceInputs["osDiskType"] = args ? args.osDiskType : undefined; + resourceInputs["osSKU"] = args ? args.osSKU : undefined; + resourceInputs["osType"] = args ? args.osType : undefined; + resourceInputs["podSubnetID"] = args ? args.podSubnetID : undefined; + resourceInputs["powerState"] = args ? args.powerState : undefined; + resourceInputs["proximityPlacementGroupID"] = args ? args.proximityPlacementGroupID : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceName"] = args ? args.resourceName : undefined; + resourceInputs["scaleDownMode"] = args ? args.scaleDownMode : undefined; + resourceInputs["scaleSetEvictionPolicy"] = args ? args.scaleSetEvictionPolicy : undefined; + resourceInputs["scaleSetPriority"] = args ? args.scaleSetPriority : undefined; + resourceInputs["spotMaxPrice"] = args ? args.spotMaxPrice : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["upgradeSettings"] = args ? args.upgradeSettings : undefined; + resourceInputs["vmSize"] = args ? args.vmSize : undefined; + resourceInputs["vnetSubnetID"] = args ? args.vnetSubnetID : undefined; + resourceInputs["workloadRuntime"] = args ? args.workloadRuntime : undefined; + resourceInputs["currentOrchestratorVersion"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["nodeImageVersion"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + } else { + resourceInputs["availabilityZones"] = undefined /*out*/; + resourceInputs["count"] = undefined /*out*/; + resourceInputs["creationData"] = undefined /*out*/; + resourceInputs["currentOrchestratorVersion"] = undefined /*out*/; + resourceInputs["enableAutoScaling"] = undefined /*out*/; + resourceInputs["enableEncryptionAtHost"] = undefined /*out*/; + resourceInputs["enableFIPS"] = undefined /*out*/; + resourceInputs["enableNodePublicIP"] = undefined /*out*/; + resourceInputs["enableUltraSSD"] = undefined /*out*/; + resourceInputs["gpuInstanceProfile"] = undefined /*out*/; + resourceInputs["hostGroupID"] = undefined /*out*/; + resourceInputs["kubeletConfig"] = undefined /*out*/; + resourceInputs["kubeletDiskType"] = undefined /*out*/; + resourceInputs["linuxOSConfig"] = undefined /*out*/; + resourceInputs["maxCount"] = undefined /*out*/; + resourceInputs["maxPods"] = undefined /*out*/; + resourceInputs["minCount"] = undefined /*out*/; + resourceInputs["mode"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["nodeImageVersion"] = undefined /*out*/; + resourceInputs["nodeLabels"] = undefined /*out*/; + resourceInputs["nodePublicIPPrefixID"] = undefined /*out*/; + resourceInputs["nodeTaints"] = undefined /*out*/; + resourceInputs["orchestratorVersion"] = undefined /*out*/; + resourceInputs["osDiskSizeGB"] = undefined /*out*/; + resourceInputs["osDiskType"] = undefined /*out*/; + resourceInputs["osSKU"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["podSubnetID"] = undefined /*out*/; + resourceInputs["powerState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["proximityPlacementGroupID"] = undefined /*out*/; + resourceInputs["scaleDownMode"] = undefined /*out*/; + resourceInputs["scaleSetEvictionPolicy"] = undefined /*out*/; + resourceInputs["scaleSetPriority"] = undefined /*out*/; + resourceInputs["spotMaxPrice"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["upgradeSettings"] = undefined /*out*/; + resourceInputs["vmSize"] = undefined /*out*/; + resourceInputs["vnetSubnetID"] = undefined /*out*/; + resourceInputs["workloadRuntime"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:AgentPool" }, { type: "azure-native:containerservice/v20190201:AgentPool" }, { type: "azure-native:containerservice/v20190401:AgentPool" }, { type: "azure-native:containerservice/v20190601:AgentPool" }, { type: "azure-native:containerservice/v20190801:AgentPool" }, { type: "azure-native:containerservice/v20191001:AgentPool" }, { type: "azure-native:containerservice/v20191101:AgentPool" }, { type: "azure-native:containerservice/v20200101:AgentPool" }, { type: "azure-native:containerservice/v20200201:AgentPool" }, { type: "azure-native:containerservice/v20200301:AgentPool" }, { type: "azure-native:containerservice/v20200401:AgentPool" }, { type: "azure-native:containerservice/v20200601:AgentPool" }, { type: "azure-native:containerservice/v20200701:AgentPool" }, { type: "azure-native:containerservice/v20200901:AgentPool" }, { type: "azure-native:containerservice/v20201101:AgentPool" }, { type: "azure-native:containerservice/v20201201:AgentPool" }, { type: "azure-native:containerservice/v20210201:AgentPool" }, { type: "azure-native:containerservice/v20210301:AgentPool" }, { type: "azure-native:containerservice/v20210501:AgentPool" }, { type: "azure-native:containerservice/v20210701:AgentPool" }, { type: "azure-native:containerservice/v20210801:AgentPool" }, { type: "azure-native:containerservice/v20210901:AgentPool" }, { type: "azure-native:containerservice/v20211001:AgentPool" }, { type: "azure-native:containerservice/v20211101preview:AgentPool" }, { type: "azure-native:containerservice/v20220101:AgentPool" }, { type: "azure-native:containerservice/v20220102preview:AgentPool" }, { type: "azure-native:containerservice/v20220201:AgentPool" }, { type: "azure-native:containerservice/v20220202preview:AgentPool" }, { type: "azure-native:containerservice/v20220301:AgentPool" }, { type: "azure-native:containerservice/v20220302preview:AgentPool" }, { type: "azure-native:containerservice/v20220401:AgentPool" }, { type: "azure-native:containerservice/v20220402preview:AgentPool" }, { type: "azure-native:containerservice/v20220502preview:AgentPool" }, { type: "azure-native:containerservice/v20220601:AgentPool" }, { type: "azure-native:containerservice/v20220602preview:AgentPool" }, { type: "azure-native:containerservice/v20220701:AgentPool" }, { type: "azure-native:containerservice/v20220702preview:AgentPool" }, { type: "azure-native:containerservice/v20220802preview:AgentPool" }, { type: "azure-native:containerservice/v20220803preview:AgentPool" }, { type: "azure-native:containerservice/v20220901:AgentPool" }, { type: "azure-native:containerservice/v20220902preview:AgentPool" }, { type: "azure-native:containerservice/v20221002preview:AgentPool" }, { type: "azure-native:containerservice/v20221101:AgentPool" }, { type: "azure-native:containerservice/v20221102preview:AgentPool" }, { type: "azure-native:containerservice/v20230101:AgentPool" }, { type: "azure-native:containerservice/v20230102preview:AgentPool" }, { type: "azure-native:containerservice/v20230201:AgentPool" }, { type: "azure-native:containerservice/v20230202preview:AgentPool" }, { type: "azure-native:containerservice/v20230301:AgentPool" }, { type: "azure-native:containerservice/v20230302preview:AgentPool" }, { type: "azure-native:containerservice/v20230401:AgentPool" }, { type: "azure-native:containerservice/v20230402preview:AgentPool" }, { type: "azure-native:containerservice/v20230501:AgentPool" }, { type: "azure-native:containerservice/v20230502preview:AgentPool" }, { type: "azure-native:containerservice/v20230601:AgentPool" }, { type: "azure-native:containerservice/v20230602preview:AgentPool" }, { type: "azure-native:containerservice/v20230701:AgentPool" }, { type: "azure-native:containerservice/v20230702preview:AgentPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AgentPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AgentPool resource. + */ +export interface AgentPoolArgs { + /** + * The name of the agent pool. + */ + agentPoolName?: pulumi.Input; + /** + * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + */ + availabilityZones?: pulumi.Input[]>; + /** + * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + */ + count?: pulumi.Input; + /** + * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + */ + creationData?: pulumi.Input; + /** + * Whether to enable auto-scaler + */ + enableAutoScaling?: pulumi.Input; + /** + * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + */ + enableEncryptionAtHost?: pulumi.Input; + /** + * See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + */ + enableFIPS?: pulumi.Input; + /** + * Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + */ + enableNodePublicIP?: pulumi.Input; + /** + * Whether to enable UltraSSD + */ + enableUltraSSD?: pulumi.Input; + /** + * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + */ + gpuInstanceProfile?: pulumi.Input; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + */ + hostGroupID?: pulumi.Input; + /** + * The Kubelet configuration on the agent pool nodes. + */ + kubeletConfig?: pulumi.Input; + /** + * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + */ + kubeletDiskType?: pulumi.Input; + /** + * The OS configuration of Linux agent nodes. + */ + linuxOSConfig?: pulumi.Input; + /** + * The maximum number of nodes for auto-scaling + */ + maxCount?: pulumi.Input; + /** + * The maximum number of pods that can run on a node. + */ + maxPods?: pulumi.Input; + /** + * The minimum number of nodes for auto-scaling + */ + minCount?: pulumi.Input; + /** + * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + */ + mode?: pulumi.Input; + /** + * The node labels to be persisted across all nodes in agent pool. + */ + nodeLabels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + */ + nodePublicIPPrefixID?: pulumi.Input; + /** + * The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + */ + nodeTaints?: pulumi.Input[]>; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + */ + orchestratorVersion?: pulumi.Input; + /** + * OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + */ + osDiskSizeGB?: pulumi.Input; + /** + * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + */ + osDiskType?: pulumi.Input; + /** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ + osSKU?: pulumi.Input; + /** + * The operating system type. The default is Linux. + */ + osType?: pulumi.Input; + /** + * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + podSubnetID?: pulumi.Input; + /** + * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + */ + powerState?: pulumi.Input; + /** + * The ID for Proximity Placement Group. + */ + proximityPlacementGroupID?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; + /** + * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + */ + scaleDownMode?: pulumi.Input; + /** + * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + */ + scaleSetEvictionPolicy?: pulumi.Input; + /** + * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + */ + scaleSetPriority?: pulumi.Input; + /** + * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + */ + spotMaxPrice?: pulumi.Input; + /** + * The tags to be persisted on the agent pool virtual machine scale set. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The type of Agent Pool. + */ + type?: pulumi.Input; + /** + * Settings for upgrading the agentpool + */ + upgradeSettings?: pulumi.Input; + /** + * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + */ + vmSize?: pulumi.Input; + /** + * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + vnetSubnetID?: pulumi.Input; + /** + * Determines the type of workload a node can run. + */ + workloadRuntime?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/getAgentPool.ts b/sdk/nodejs/containerservice/v20230801/getAgentPool.ts new file mode 100644 index 000000000000..239798738c5c --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/getAgentPool.ts @@ -0,0 +1,235 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Agent Pool. + */ +export function getAgentPool(args: GetAgentPoolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:getAgentPool", { + "agentPoolName": args.agentPoolName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetAgentPoolArgs { + /** + * The name of the agent pool. + */ + agentPoolName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; +} + +/** + * Agent Pool. + */ +export interface GetAgentPoolResult { + /** + * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + */ + readonly availabilityZones?: string[]; + /** + * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + */ + readonly count?: number; + /** + * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + */ + readonly creationData?: outputs.containerservice.v20230801.CreationDataResponse; + /** + * If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + */ + readonly currentOrchestratorVersion: string; + /** + * Whether to enable auto-scaler + */ + readonly enableAutoScaling?: boolean; + /** + * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + */ + readonly enableEncryptionAtHost?: boolean; + /** + * See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + */ + readonly enableFIPS?: boolean; + /** + * Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + */ + readonly enableNodePublicIP?: boolean; + /** + * Whether to enable UltraSSD + */ + readonly enableUltraSSD?: boolean; + /** + * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + */ + readonly gpuInstanceProfile?: string; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + */ + readonly hostGroupID?: string; + /** + * Resource ID. + */ + readonly id: string; + /** + * The Kubelet configuration on the agent pool nodes. + */ + readonly kubeletConfig?: outputs.containerservice.v20230801.KubeletConfigResponse; + /** + * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + */ + readonly kubeletDiskType?: string; + /** + * The OS configuration of Linux agent nodes. + */ + readonly linuxOSConfig?: outputs.containerservice.v20230801.LinuxOSConfigResponse; + /** + * The maximum number of nodes for auto-scaling + */ + readonly maxCount?: number; + /** + * The maximum number of pods that can run on a node. + */ + readonly maxPods?: number; + /** + * The minimum number of nodes for auto-scaling + */ + readonly minCount?: number; + /** + * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + */ + readonly mode?: string; + /** + * The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + readonly name: string; + /** + * The version of node image + */ + readonly nodeImageVersion: string; + /** + * The node labels to be persisted across all nodes in agent pool. + */ + readonly nodeLabels?: {[key: string]: string}; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + */ + readonly nodePublicIPPrefixID?: string; + /** + * The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + */ + readonly nodeTaints?: string[]; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + */ + readonly orchestratorVersion?: string; + /** + * OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + */ + readonly osDiskSizeGB?: number; + /** + * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + */ + readonly osDiskType?: string; + /** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ + readonly osSKU?: string; + /** + * The operating system type. The default is Linux. + */ + readonly osType?: string; + /** + * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + readonly podSubnetID?: string; + /** + * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + */ + readonly powerState?: outputs.containerservice.v20230801.PowerStateResponse; + /** + * The current deployment or provisioning state. + */ + readonly provisioningState: string; + /** + * The ID for Proximity Placement Group. + */ + readonly proximityPlacementGroupID?: string; + /** + * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + */ + readonly scaleDownMode?: string; + /** + * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + */ + readonly scaleSetEvictionPolicy?: string; + /** + * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + */ + readonly scaleSetPriority?: string; + /** + * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + */ + readonly spotMaxPrice?: number; + /** + * The tags to be persisted on the agent pool virtual machine scale set. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type + */ + readonly type: string; + /** + * Settings for upgrading the agentpool + */ + readonly upgradeSettings?: outputs.containerservice.v20230801.AgentPoolUpgradeSettingsResponse; + /** + * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + */ + readonly vmSize?: string; + /** + * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + readonly vnetSubnetID?: string; + /** + * Determines the type of workload a node can run. + */ + readonly workloadRuntime?: string; +} +/** + * Agent Pool. + */ +export function getAgentPoolOutput(args: GetAgentPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAgentPool(a, opts)) +} + +export interface GetAgentPoolOutputArgs { + /** + * The name of the agent pool. + */ + agentPoolName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/getMaintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230801/getMaintenanceConfiguration.ts new file mode 100644 index 000000000000..d21289e83847 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/getMaintenanceConfiguration.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + */ +export function getMaintenanceConfiguration(args: GetMaintenanceConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:getMaintenanceConfiguration", { + "configName": args.configName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetMaintenanceConfigurationArgs { + /** + * The name of the maintenance configuration. + */ + configName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; +} + +/** + * See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + */ +export interface GetMaintenanceConfigurationResult { + /** + * Resource ID. + */ + readonly id: string; + /** + * Maintenance window for the maintenance configuration. + */ + readonly maintenanceWindow?: outputs.containerservice.v20230801.MaintenanceWindowResponse; + /** + * The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + readonly name: string; + /** + * Time slots on which upgrade is not allowed. + */ + readonly notAllowedTime?: outputs.containerservice.v20230801.TimeSpanResponse[]; + /** + * The system metadata relating to this resource. + */ + readonly systemData: outputs.containerservice.v20230801.SystemDataResponse; + /** + * If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + */ + readonly timeInWeek?: outputs.containerservice.v20230801.TimeInWeekResponse[]; + /** + * Resource type + */ + readonly type: string; +} +/** + * See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + */ +export function getMaintenanceConfigurationOutput(args: GetMaintenanceConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMaintenanceConfiguration(a, opts)) +} + +export interface GetMaintenanceConfigurationOutputArgs { + /** + * The name of the maintenance configuration. + */ + configName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/getManagedCluster.ts b/sdk/nodejs/containerservice/v20230801/getManagedCluster.ts new file mode 100644 index 000000000000..753843aee883 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/getManagedCluster.ts @@ -0,0 +1,246 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Managed cluster. + */ +export function getManagedCluster(args: GetManagedClusterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:getManagedCluster", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetManagedClusterArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; +} + +/** + * Managed cluster. + */ +export interface GetManagedClusterResult { + /** + * The Azure Active Directory configuration. + */ + readonly aadProfile?: outputs.containerservice.v20230801.ManagedClusterAADProfileResponse; + /** + * The profile of managed cluster add-on. + */ + readonly addonProfiles?: {[key: string]: outputs.containerservice.v20230801.ManagedClusterAddonProfileResponse}; + /** + * The agent pool properties. + */ + readonly agentPoolProfiles?: outputs.containerservice.v20230801.ManagedClusterAgentPoolProfileResponse[]; + /** + * The access profile for managed cluster API server. + */ + readonly apiServerAccessProfile?: outputs.containerservice.v20230801.ManagedClusterAPIServerAccessProfileResponse; + /** + * Parameters to be applied to the cluster-autoscaler when enabled + */ + readonly autoScalerProfile?: outputs.containerservice.v20230801.ManagedClusterPropertiesResponseAutoScalerProfile; + /** + * The auto upgrade configuration. + */ + readonly autoUpgradeProfile?: outputs.containerservice.v20230801.ManagedClusterAutoUpgradeProfileResponse; + /** + * Azure Monitor addon profiles for monitoring the managed cluster. + */ + readonly azureMonitorProfile?: outputs.containerservice.v20230801.ManagedClusterAzureMonitorProfileResponse; + /** + * The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. + */ + readonly azurePortalFQDN: string; + /** + * If kubernetesVersion was a fully specified version , this field will be exactly equal to it. If kubernetesVersion was , this field will contain the full version being used. + */ + readonly currentKubernetesVersion: string; + /** + * If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + */ + readonly disableLocalAccounts?: boolean; + /** + * This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + */ + readonly diskEncryptionSetID?: string; + /** + * This cannot be updated once the Managed Cluster has been created. + */ + readonly dnsPrefix?: string; + /** + * (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + */ + readonly enablePodSecurityPolicy?: boolean; + /** + * Whether to enable Kubernetes Role-Based Access Control. + */ + readonly enableRBAC?: boolean; + /** + * The extended location of the Virtual Machine. + */ + readonly extendedLocation?: outputs.containerservice.v20230801.ExtendedLocationResponse; + /** + * The FQDN of the master pool. + */ + readonly fqdn: string; + /** + * This cannot be updated once the Managed Cluster has been created. + */ + readonly fqdnSubdomain?: string; + /** + * Configurations for provisioning the cluster with HTTP proxy servers. + */ + readonly httpProxyConfig?: outputs.containerservice.v20230801.ManagedClusterHTTPProxyConfigResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity of the managed cluster, if configured. + */ + readonly identity?: outputs.containerservice.v20230801.ManagedClusterIdentityResponse; + /** + * Identities associated with the cluster. + */ + readonly identityProfile?: {[key: string]: outputs.containerservice.v20230801.UserAssignedIdentityResponse}; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + */ + readonly kubernetesVersion?: string; + /** + * The profile for Linux VMs in the Managed Cluster. + */ + readonly linuxProfile?: outputs.containerservice.v20230801.ContainerServiceLinuxProfileResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The max number of agent pools for the managed cluster. + */ + readonly maxAgentPools: number; + /** + * The name of the resource + */ + readonly name: string; + /** + * The network configuration profile. + */ + readonly networkProfile?: outputs.containerservice.v20230801.ContainerServiceNetworkProfileResponse; + /** + * The name of the resource group containing agent pool nodes. + */ + readonly nodeResourceGroup?: string; + /** + * The OIDC issuer profile of the Managed Cluster. + */ + readonly oidcIssuerProfile?: outputs.containerservice.v20230801.ManagedClusterOIDCIssuerProfileResponse; + /** + * See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + */ + readonly podIdentityProfile?: outputs.containerservice.v20230801.ManagedClusterPodIdentityProfileResponse; + /** + * The Power State of the cluster. + */ + readonly powerState: outputs.containerservice.v20230801.PowerStateResponse; + /** + * The FQDN of private cluster. + */ + readonly privateFQDN: string; + /** + * Private link resources associated with the cluster. + */ + readonly privateLinkResources?: outputs.containerservice.v20230801.PrivateLinkResourceResponse[]; + /** + * The current provisioning state. + */ + readonly provisioningState: string; + /** + * Allow or deny public network access for AKS + */ + readonly publicNetworkAccess?: string; + /** + * The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence) + */ + readonly resourceUID: string; + /** + * Security profile for the managed cluster. + */ + readonly securityProfile?: outputs.containerservice.v20230801.ManagedClusterSecurityProfileResponse; + /** + * Service mesh profile for a managed cluster. + */ + readonly serviceMeshProfile?: outputs.containerservice.v20230801.ServiceMeshProfileResponse; + /** + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. + */ + readonly servicePrincipalProfile?: outputs.containerservice.v20230801.ManagedClusterServicePrincipalProfileResponse; + /** + * The managed cluster SKU. + */ + readonly sku?: outputs.containerservice.v20230801.ManagedClusterSKUResponse; + /** + * Storage profile for the managed cluster. + */ + readonly storageProfile?: outputs.containerservice.v20230801.ManagedClusterStorageProfileResponse; + /** + * The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + */ + readonly supportPlan?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.v20230801.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Settings for upgrading a cluster. + */ + readonly upgradeSettings?: outputs.containerservice.v20230801.ClusterUpgradeSettingsResponse; + /** + * The profile for Windows VMs in the Managed Cluster. + */ + readonly windowsProfile?: outputs.containerservice.v20230801.ManagedClusterWindowsProfileResponse; + /** + * Workload Auto-scaler profile for the managed cluster. + */ + readonly workloadAutoScalerProfile?: outputs.containerservice.v20230801.ManagedClusterWorkloadAutoScalerProfileResponse; +} +/** + * Managed cluster. + */ +export function getManagedClusterOutput(args: GetManagedClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getManagedCluster(a, opts)) +} + +export interface GetManagedClusterOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/getPrivateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230801/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..c75e3361beed --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/getPrivateEndpointConnection.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + */ +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:getPrivateEndpointConnection", { + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; +} + +/** + * A private endpoint connection + */ +export interface GetPrivateEndpointConnectionResult { + /** + * The ID of the private endpoint connection. + */ + readonly id: string; + /** + * The name of the private endpoint connection. + */ + readonly name: string; + /** + * The resource of private endpoint. + */ + readonly privateEndpoint?: outputs.containerservice.v20230801.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + readonly privateLinkServiceConnectionState: outputs.containerservice.v20230801.PrivateLinkServiceConnectionStateResponse; + /** + * The current provisioning state. + */ + readonly provisioningState: string; + /** + * The resource type. + */ + readonly type: string; +} +/** + * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + */ +export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnection(a, opts)) +} + +export interface GetPrivateEndpointConnectionOutputArgs { + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/getSnapshot.ts b/sdk/nodejs/containerservice/v20230801/getSnapshot.ts new file mode 100644 index 000000000000..32493a9ef1e7 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/getSnapshot.ts @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A node pool snapshot resource. + */ +export function getSnapshot(args: GetSnapshotArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:getSnapshot", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetSnapshotArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; +} + +/** + * A node pool snapshot resource. + */ +export interface GetSnapshotResult { + /** + * CreationData to be used to specify the source agent pool resource ID to create this snapshot. + */ + readonly creationData?: outputs.containerservice.v20230801.CreationDataResponse; + /** + * Whether to use a FIPS-enabled OS. + */ + readonly enableFIPS: boolean; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The version of Kubernetes. + */ + readonly kubernetesVersion: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The version of node image. + */ + readonly nodeImageVersion: string; + /** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ + readonly osSku: string; + /** + * The operating system type. The default is Linux. + */ + readonly osType: string; + /** + * The type of a snapshot. The default is NodePool. + */ + readonly snapshotType?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.v20230801.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The size of the VM. + */ + readonly vmSize: string; +} +/** + * A node pool snapshot resource. + */ +export function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSnapshot(a, opts)) +} + +export interface GetSnapshotOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/index.ts b/sdk/nodejs/containerservice/v20230801/index.ts new file mode 100644 index 000000000000..0c827cb22faf --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/index.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { AgentPoolArgs } from "./agentPool"; +export type AgentPool = import("./agentPool").AgentPool; +export const AgentPool: typeof import("./agentPool").AgentPool = null as any; +utilities.lazyLoad(exports, ["AgentPool"], () => require("./agentPool")); + +export { GetAgentPoolArgs, GetAgentPoolResult, GetAgentPoolOutputArgs } from "./getAgentPool"; +export const getAgentPool: typeof import("./getAgentPool").getAgentPool = null as any; +export const getAgentPoolOutput: typeof import("./getAgentPool").getAgentPoolOutput = null as any; +utilities.lazyLoad(exports, ["getAgentPool","getAgentPoolOutput"], () => require("./getAgentPool")); + +export { GetMaintenanceConfigurationArgs, GetMaintenanceConfigurationResult, GetMaintenanceConfigurationOutputArgs } from "./getMaintenanceConfiguration"; +export const getMaintenanceConfiguration: typeof import("./getMaintenanceConfiguration").getMaintenanceConfiguration = null as any; +export const getMaintenanceConfigurationOutput: typeof import("./getMaintenanceConfiguration").getMaintenanceConfigurationOutput = null as any; +utilities.lazyLoad(exports, ["getMaintenanceConfiguration","getMaintenanceConfigurationOutput"], () => require("./getMaintenanceConfiguration")); + +export { GetManagedClusterArgs, GetManagedClusterResult, GetManagedClusterOutputArgs } from "./getManagedCluster"; +export const getManagedCluster: typeof import("./getManagedCluster").getManagedCluster = null as any; +export const getManagedClusterOutput: typeof import("./getManagedCluster").getManagedClusterOutput = null as any; +utilities.lazyLoad(exports, ["getManagedCluster","getManagedClusterOutput"], () => require("./getManagedCluster")); + +export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection"; +export const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection = null as any; +export const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnection","getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection")); + +export { GetSnapshotArgs, GetSnapshotResult, GetSnapshotOutputArgs } from "./getSnapshot"; +export const getSnapshot: typeof import("./getSnapshot").getSnapshot = null as any; +export const getSnapshotOutput: typeof import("./getSnapshot").getSnapshotOutput = null as any; +utilities.lazyLoad(exports, ["getSnapshot","getSnapshotOutput"], () => require("./getSnapshot")); + +export { ListManagedClusterAdminCredentialsArgs, ListManagedClusterAdminCredentialsResult, ListManagedClusterAdminCredentialsOutputArgs } from "./listManagedClusterAdminCredentials"; +export const listManagedClusterAdminCredentials: typeof import("./listManagedClusterAdminCredentials").listManagedClusterAdminCredentials = null as any; +export const listManagedClusterAdminCredentialsOutput: typeof import("./listManagedClusterAdminCredentials").listManagedClusterAdminCredentialsOutput = null as any; +utilities.lazyLoad(exports, ["listManagedClusterAdminCredentials","listManagedClusterAdminCredentialsOutput"], () => require("./listManagedClusterAdminCredentials")); + +export { ListManagedClusterMonitoringUserCredentialsArgs, ListManagedClusterMonitoringUserCredentialsResult, ListManagedClusterMonitoringUserCredentialsOutputArgs } from "./listManagedClusterMonitoringUserCredentials"; +export const listManagedClusterMonitoringUserCredentials: typeof import("./listManagedClusterMonitoringUserCredentials").listManagedClusterMonitoringUserCredentials = null as any; +export const listManagedClusterMonitoringUserCredentialsOutput: typeof import("./listManagedClusterMonitoringUserCredentials").listManagedClusterMonitoringUserCredentialsOutput = null as any; +utilities.lazyLoad(exports, ["listManagedClusterMonitoringUserCredentials","listManagedClusterMonitoringUserCredentialsOutput"], () => require("./listManagedClusterMonitoringUserCredentials")); + +export { ListManagedClusterUserCredentialsArgs, ListManagedClusterUserCredentialsResult, ListManagedClusterUserCredentialsOutputArgs } from "./listManagedClusterUserCredentials"; +export const listManagedClusterUserCredentials: typeof import("./listManagedClusterUserCredentials").listManagedClusterUserCredentials = null as any; +export const listManagedClusterUserCredentialsOutput: typeof import("./listManagedClusterUserCredentials").listManagedClusterUserCredentialsOutput = null as any; +utilities.lazyLoad(exports, ["listManagedClusterUserCredentials","listManagedClusterUserCredentialsOutput"], () => require("./listManagedClusterUserCredentials")); + +export { MaintenanceConfigurationArgs } from "./maintenanceConfiguration"; +export type MaintenanceConfiguration = import("./maintenanceConfiguration").MaintenanceConfiguration; +export const MaintenanceConfiguration: typeof import("./maintenanceConfiguration").MaintenanceConfiguration = null as any; +utilities.lazyLoad(exports, ["MaintenanceConfiguration"], () => require("./maintenanceConfiguration")); + +export { ManagedClusterArgs } from "./managedCluster"; +export type ManagedCluster = import("./managedCluster").ManagedCluster; +export const ManagedCluster: typeof import("./managedCluster").ManagedCluster = null as any; +utilities.lazyLoad(exports, ["ManagedCluster"], () => require("./managedCluster")); + +export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; +export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; +export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection")); + +export { SnapshotArgs } from "./snapshot"; +export type Snapshot = import("./snapshot").Snapshot; +export const Snapshot: typeof import("./snapshot").Snapshot = null as any; +utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot")); + + +// Export enums: +export * from "../../types/enums/containerservice/v20230801"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:containerservice/v20230801:AgentPool": + return new AgentPool(name, undefined, { urn }) + case "azure-native:containerservice/v20230801:MaintenanceConfiguration": + return new MaintenanceConfiguration(name, undefined, { urn }) + case "azure-native:containerservice/v20230801:ManagedCluster": + return new ManagedCluster(name, undefined, { urn }) + case "azure-native:containerservice/v20230801:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-native:containerservice/v20230801:Snapshot": + return new Snapshot(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "containerservice/v20230801", _module) diff --git a/sdk/nodejs/containerservice/v20230801/listManagedClusterAdminCredentials.ts b/sdk/nodejs/containerservice/v20230801/listManagedClusterAdminCredentials.ts new file mode 100644 index 000000000000..8c7c4ff052a3 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/listManagedClusterAdminCredentials.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The list credential result response. + */ +export function listManagedClusterAdminCredentials(args: ListManagedClusterAdminCredentialsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:listManagedClusterAdminCredentials", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + "serverFqdn": args.serverFqdn, + }, opts); +} + +export interface ListManagedClusterAdminCredentialsArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; + /** + * server fqdn type for credentials to be returned + */ + serverFqdn?: string; +} + +/** + * The list credential result response. + */ +export interface ListManagedClusterAdminCredentialsResult { + /** + * Base64-encoded Kubernetes configuration file. + */ + readonly kubeconfigs: outputs.containerservice.v20230801.CredentialResultResponse[]; +} +/** + * The list credential result response. + */ +export function listManagedClusterAdminCredentialsOutput(args: ListManagedClusterAdminCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listManagedClusterAdminCredentials(a, opts)) +} + +export interface ListManagedClusterAdminCredentialsOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; + /** + * server fqdn type for credentials to be returned + */ + serverFqdn?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/listManagedClusterMonitoringUserCredentials.ts b/sdk/nodejs/containerservice/v20230801/listManagedClusterMonitoringUserCredentials.ts new file mode 100644 index 000000000000..c84b7d95903c --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/listManagedClusterMonitoringUserCredentials.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The list credential result response. + */ +export function listManagedClusterMonitoringUserCredentials(args: ListManagedClusterMonitoringUserCredentialsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:listManagedClusterMonitoringUserCredentials", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + "serverFqdn": args.serverFqdn, + }, opts); +} + +export interface ListManagedClusterMonitoringUserCredentialsArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; + /** + * server fqdn type for credentials to be returned + */ + serverFqdn?: string; +} + +/** + * The list credential result response. + */ +export interface ListManagedClusterMonitoringUserCredentialsResult { + /** + * Base64-encoded Kubernetes configuration file. + */ + readonly kubeconfigs: outputs.containerservice.v20230801.CredentialResultResponse[]; +} +/** + * The list credential result response. + */ +export function listManagedClusterMonitoringUserCredentialsOutput(args: ListManagedClusterMonitoringUserCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listManagedClusterMonitoringUserCredentials(a, opts)) +} + +export interface ListManagedClusterMonitoringUserCredentialsOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; + /** + * server fqdn type for credentials to be returned + */ + serverFqdn?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/listManagedClusterUserCredentials.ts b/sdk/nodejs/containerservice/v20230801/listManagedClusterUserCredentials.ts new file mode 100644 index 000000000000..0604c093f975 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/listManagedClusterUserCredentials.ts @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The list credential result response. + */ +export function listManagedClusterUserCredentials(args: ListManagedClusterUserCredentialsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230801:listManagedClusterUserCredentials", { + "format": args.format, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + "serverFqdn": args.serverFqdn, + }, opts); +} + +export interface ListManagedClusterUserCredentialsArgs { + /** + * Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path. + */ + format?: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the managed cluster resource. + */ + resourceName: string; + /** + * server fqdn type for credentials to be returned + */ + serverFqdn?: string; +} + +/** + * The list credential result response. + */ +export interface ListManagedClusterUserCredentialsResult { + /** + * Base64-encoded Kubernetes configuration file. + */ + readonly kubeconfigs: outputs.containerservice.v20230801.CredentialResultResponse[]; +} +/** + * The list credential result response. + */ +export function listManagedClusterUserCredentialsOutput(args: ListManagedClusterUserCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listManagedClusterUserCredentials(a, opts)) +} + +export interface ListManagedClusterUserCredentialsOutputArgs { + /** + * Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path. + */ + format?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; + /** + * server fqdn type for credentials to be returned + */ + serverFqdn?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/maintenanceConfiguration.ts b/sdk/nodejs/containerservice/v20230801/maintenanceConfiguration.ts new file mode 100644 index 000000000000..43e1ded71b35 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/maintenanceConfiguration.ts @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + */ +export class MaintenanceConfiguration extends pulumi.CustomResource { + /** + * Get an existing MaintenanceConfiguration 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MaintenanceConfiguration { + return new MaintenanceConfiguration(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230801:MaintenanceConfiguration'; + + /** + * Returns true if the given object is an instance of MaintenanceConfiguration. 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 MaintenanceConfiguration { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MaintenanceConfiguration.__pulumiType; + } + + /** + * Maintenance window for the maintenance configuration. + */ + public readonly maintenanceWindow!: pulumi.Output; + /** + * The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Time slots on which upgrade is not allowed. + */ + public readonly notAllowedTime!: pulumi.Output; + /** + * The system metadata relating to this resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + */ + public readonly timeInWeek!: pulumi.Output; + /** + * Resource type + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MaintenanceConfiguration 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: MaintenanceConfigurationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.resourceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceName'"); + } + resourceInputs["configName"] = args ? args.configName : undefined; + resourceInputs["maintenanceWindow"] = args ? (args.maintenanceWindow ? pulumi.output(args.maintenanceWindow).apply(inputs.containerservice.v20230801.maintenanceWindowArgsProvideDefaults) : undefined) : undefined; + resourceInputs["notAllowedTime"] = args ? args.notAllowedTime : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceName"] = args ? args.resourceName : undefined; + resourceInputs["timeInWeek"] = args ? args.timeInWeek : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["maintenanceWindow"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["notAllowedTime"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["timeInWeek"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20201201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210801:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20210901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211001:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20211101preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220702preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220802preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220803preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220901:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20220902preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221002preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20221102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230101:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230102preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230201:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230202preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230301:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230302preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230401:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230402preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230501:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230502preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230601:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230602preview:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230701:MaintenanceConfiguration" }, { type: "azure-native:containerservice/v20230702preview:MaintenanceConfiguration" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MaintenanceConfiguration.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MaintenanceConfiguration resource. + */ +export interface MaintenanceConfigurationArgs { + /** + * The name of the maintenance configuration. + */ + configName?: pulumi.Input; + /** + * Maintenance window for the maintenance configuration. + */ + maintenanceWindow?: pulumi.Input; + /** + * Time slots on which upgrade is not allowed. + */ + notAllowedTime?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; + /** + * If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + */ + timeInWeek?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/containerservice/v20230801/managedCluster.ts b/sdk/nodejs/containerservice/v20230801/managedCluster.ts new file mode 100644 index 000000000000..c471274d8429 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/managedCluster.ts @@ -0,0 +1,504 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Managed cluster. + */ +export class ManagedCluster extends pulumi.CustomResource { + /** + * Get an existing ManagedCluster 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ManagedCluster { + return new ManagedCluster(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230801:ManagedCluster'; + + /** + * Returns true if the given object is an instance of ManagedCluster. 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 ManagedCluster { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ManagedCluster.__pulumiType; + } + + /** + * The Azure Active Directory configuration. + */ + public readonly aadProfile!: pulumi.Output; + /** + * The profile of managed cluster add-on. + */ + public readonly addonProfiles!: pulumi.Output<{[key: string]: outputs.containerservice.v20230801.ManagedClusterAddonProfileResponse} | undefined>; + /** + * The agent pool properties. + */ + public readonly agentPoolProfiles!: pulumi.Output; + /** + * The access profile for managed cluster API server. + */ + public readonly apiServerAccessProfile!: pulumi.Output; + /** + * Parameters to be applied to the cluster-autoscaler when enabled + */ + public readonly autoScalerProfile!: pulumi.Output; + /** + * The auto upgrade configuration. + */ + public readonly autoUpgradeProfile!: pulumi.Output; + /** + * Azure Monitor addon profiles for monitoring the managed cluster. + */ + public readonly azureMonitorProfile!: pulumi.Output; + /** + * The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. + */ + public /*out*/ readonly azurePortalFQDN!: pulumi.Output; + /** + * If kubernetesVersion was a fully specified version , this field will be exactly equal to it. If kubernetesVersion was , this field will contain the full version being used. + */ + public /*out*/ readonly currentKubernetesVersion!: pulumi.Output; + /** + * If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + */ + public readonly disableLocalAccounts!: pulumi.Output; + /** + * This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + */ + public readonly diskEncryptionSetID!: pulumi.Output; + /** + * This cannot be updated once the Managed Cluster has been created. + */ + public readonly dnsPrefix!: pulumi.Output; + /** + * (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + */ + public readonly enablePodSecurityPolicy!: pulumi.Output; + /** + * Whether to enable Kubernetes Role-Based Access Control. + */ + public readonly enableRBAC!: pulumi.Output; + /** + * The extended location of the Virtual Machine. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The FQDN of the master pool. + */ + public /*out*/ readonly fqdn!: pulumi.Output; + /** + * This cannot be updated once the Managed Cluster has been created. + */ + public readonly fqdnSubdomain!: pulumi.Output; + /** + * Configurations for provisioning the cluster with HTTP proxy servers. + */ + public readonly httpProxyConfig!: pulumi.Output; + /** + * The identity of the managed cluster, if configured. + */ + public readonly identity!: pulumi.Output; + /** + * Identities associated with the cluster. + */ + public readonly identityProfile!: pulumi.Output<{[key: string]: outputs.containerservice.v20230801.UserAssignedIdentityResponse} | undefined>; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + */ + public readonly kubernetesVersion!: pulumi.Output; + /** + * The profile for Linux VMs in the Managed Cluster. + */ + public readonly linuxProfile!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The max number of agent pools for the managed cluster. + */ + public /*out*/ readonly maxAgentPools!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The network configuration profile. + */ + public readonly networkProfile!: pulumi.Output; + /** + * The name of the resource group containing agent pool nodes. + */ + public readonly nodeResourceGroup!: pulumi.Output; + /** + * The OIDC issuer profile of the Managed Cluster. + */ + public readonly oidcIssuerProfile!: pulumi.Output; + /** + * See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + */ + public readonly podIdentityProfile!: pulumi.Output; + /** + * The Power State of the cluster. + */ + public /*out*/ readonly powerState!: pulumi.Output; + /** + * The FQDN of private cluster. + */ + public /*out*/ readonly privateFQDN!: pulumi.Output; + /** + * Private link resources associated with the cluster. + */ + public readonly privateLinkResources!: pulumi.Output; + /** + * The current provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Allow or deny public network access for AKS + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence) + */ + public /*out*/ readonly resourceUID!: pulumi.Output; + /** + * Security profile for the managed cluster. + */ + public readonly securityProfile!: pulumi.Output; + /** + * Service mesh profile for a managed cluster. + */ + public readonly serviceMeshProfile!: pulumi.Output; + /** + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. + */ + public readonly servicePrincipalProfile!: pulumi.Output; + /** + * The managed cluster SKU. + */ + public readonly sku!: pulumi.Output; + /** + * Storage profile for the managed cluster. + */ + public readonly storageProfile!: pulumi.Output; + /** + * The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + */ + public readonly supportPlan!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Settings for upgrading a cluster. + */ + public readonly upgradeSettings!: pulumi.Output; + /** + * The profile for Windows VMs in the Managed Cluster. + */ + public readonly windowsProfile!: pulumi.Output; + /** + * Workload Auto-scaler profile for the managed cluster. + */ + public readonly workloadAutoScalerProfile!: pulumi.Output; + + /** + * Create a ManagedCluster 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: ManagedClusterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["aadProfile"] = args ? args.aadProfile : undefined; + resourceInputs["addonProfiles"] = args ? args.addonProfiles : undefined; + resourceInputs["agentPoolProfiles"] = args ? args.agentPoolProfiles : undefined; + resourceInputs["apiServerAccessProfile"] = args ? args.apiServerAccessProfile : undefined; + resourceInputs["autoScalerProfile"] = args ? args.autoScalerProfile : undefined; + resourceInputs["autoUpgradeProfile"] = args ? args.autoUpgradeProfile : undefined; + resourceInputs["azureMonitorProfile"] = args ? args.azureMonitorProfile : undefined; + resourceInputs["disableLocalAccounts"] = args ? args.disableLocalAccounts : undefined; + resourceInputs["diskEncryptionSetID"] = args ? args.diskEncryptionSetID : undefined; + resourceInputs["dnsPrefix"] = args ? args.dnsPrefix : undefined; + resourceInputs["enablePodSecurityPolicy"] = args ? args.enablePodSecurityPolicy : undefined; + resourceInputs["enableRBAC"] = args ? args.enableRBAC : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["fqdnSubdomain"] = args ? args.fqdnSubdomain : undefined; + resourceInputs["httpProxyConfig"] = args ? args.httpProxyConfig : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["identityProfile"] = args ? args.identityProfile : undefined; + resourceInputs["kubernetesVersion"] = args ? args.kubernetesVersion : undefined; + resourceInputs["linuxProfile"] = args ? args.linuxProfile : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["networkProfile"] = args ? (args.networkProfile ? pulumi.output(args.networkProfile).apply(inputs.containerservice.v20230801.containerServiceNetworkProfileArgsProvideDefaults) : undefined) : undefined; + resourceInputs["nodeResourceGroup"] = args ? args.nodeResourceGroup : undefined; + resourceInputs["oidcIssuerProfile"] = args ? args.oidcIssuerProfile : undefined; + resourceInputs["podIdentityProfile"] = args ? args.podIdentityProfile : undefined; + resourceInputs["privateLinkResources"] = args ? args.privateLinkResources : undefined; + resourceInputs["publicNetworkAccess"] = args ? args.publicNetworkAccess : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceName"] = args ? args.resourceName : undefined; + resourceInputs["securityProfile"] = args ? (args.securityProfile ? pulumi.output(args.securityProfile).apply(inputs.containerservice.v20230801.managedClusterSecurityProfileArgsProvideDefaults) : undefined) : undefined; + resourceInputs["serviceMeshProfile"] = args ? args.serviceMeshProfile : undefined; + resourceInputs["servicePrincipalProfile"] = args ? args.servicePrincipalProfile : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["storageProfile"] = args ? args.storageProfile : undefined; + resourceInputs["supportPlan"] = args ? args.supportPlan : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["upgradeSettings"] = args ? args.upgradeSettings : undefined; + resourceInputs["windowsProfile"] = args ? args.windowsProfile : undefined; + resourceInputs["workloadAutoScalerProfile"] = args ? (args.workloadAutoScalerProfile ? pulumi.output(args.workloadAutoScalerProfile).apply(inputs.containerservice.v20230801.managedClusterWorkloadAutoScalerProfileArgsProvideDefaults) : undefined) : undefined; + resourceInputs["azurePortalFQDN"] = undefined /*out*/; + resourceInputs["currentKubernetesVersion"] = undefined /*out*/; + resourceInputs["fqdn"] = undefined /*out*/; + resourceInputs["maxAgentPools"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["powerState"] = undefined /*out*/; + resourceInputs["privateFQDN"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceUID"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["aadProfile"] = undefined /*out*/; + resourceInputs["addonProfiles"] = undefined /*out*/; + resourceInputs["agentPoolProfiles"] = undefined /*out*/; + resourceInputs["apiServerAccessProfile"] = undefined /*out*/; + resourceInputs["autoScalerProfile"] = undefined /*out*/; + resourceInputs["autoUpgradeProfile"] = undefined /*out*/; + resourceInputs["azureMonitorProfile"] = undefined /*out*/; + resourceInputs["azurePortalFQDN"] = undefined /*out*/; + resourceInputs["currentKubernetesVersion"] = undefined /*out*/; + resourceInputs["disableLocalAccounts"] = undefined /*out*/; + resourceInputs["diskEncryptionSetID"] = undefined /*out*/; + resourceInputs["dnsPrefix"] = undefined /*out*/; + resourceInputs["enablePodSecurityPolicy"] = undefined /*out*/; + resourceInputs["enableRBAC"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["fqdn"] = undefined /*out*/; + resourceInputs["fqdnSubdomain"] = undefined /*out*/; + resourceInputs["httpProxyConfig"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["identityProfile"] = undefined /*out*/; + resourceInputs["kubernetesVersion"] = undefined /*out*/; + resourceInputs["linuxProfile"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["maxAgentPools"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkProfile"] = undefined /*out*/; + resourceInputs["nodeResourceGroup"] = undefined /*out*/; + resourceInputs["oidcIssuerProfile"] = undefined /*out*/; + resourceInputs["podIdentityProfile"] = undefined /*out*/; + resourceInputs["powerState"] = undefined /*out*/; + resourceInputs["privateFQDN"] = undefined /*out*/; + resourceInputs["privateLinkResources"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["resourceUID"] = undefined /*out*/; + resourceInputs["securityProfile"] = undefined /*out*/; + resourceInputs["serviceMeshProfile"] = undefined /*out*/; + resourceInputs["servicePrincipalProfile"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["storageProfile"] = undefined /*out*/; + resourceInputs["supportPlan"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["upgradeSettings"] = undefined /*out*/; + resourceInputs["windowsProfile"] = undefined /*out*/; + resourceInputs["workloadAutoScalerProfile"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:ManagedCluster" }, { type: "azure-native:containerservice/v20170831:ManagedCluster" }, { type: "azure-native:containerservice/v20180331:ManagedCluster" }, { type: "azure-native:containerservice/v20180801preview:ManagedCluster" }, { type: "azure-native:containerservice/v20190201:ManagedCluster" }, { type: "azure-native:containerservice/v20190401:ManagedCluster" }, { type: "azure-native:containerservice/v20190601:ManagedCluster" }, { type: "azure-native:containerservice/v20190801:ManagedCluster" }, { type: "azure-native:containerservice/v20191001:ManagedCluster" }, { type: "azure-native:containerservice/v20191101:ManagedCluster" }, { type: "azure-native:containerservice/v20200101:ManagedCluster" }, { type: "azure-native:containerservice/v20200201:ManagedCluster" }, { type: "azure-native:containerservice/v20200301:ManagedCluster" }, { type: "azure-native:containerservice/v20200401:ManagedCluster" }, { type: "azure-native:containerservice/v20200601:ManagedCluster" }, { type: "azure-native:containerservice/v20200701:ManagedCluster" }, { type: "azure-native:containerservice/v20200901:ManagedCluster" }, { type: "azure-native:containerservice/v20201101:ManagedCluster" }, { type: "azure-native:containerservice/v20201201:ManagedCluster" }, { type: "azure-native:containerservice/v20210201:ManagedCluster" }, { type: "azure-native:containerservice/v20210301:ManagedCluster" }, { type: "azure-native:containerservice/v20210501:ManagedCluster" }, { type: "azure-native:containerservice/v20210701:ManagedCluster" }, { type: "azure-native:containerservice/v20210801:ManagedCluster" }, { type: "azure-native:containerservice/v20210901:ManagedCluster" }, { type: "azure-native:containerservice/v20211001:ManagedCluster" }, { type: "azure-native:containerservice/v20211101preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220101:ManagedCluster" }, { type: "azure-native:containerservice/v20220102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220201:ManagedCluster" }, { type: "azure-native:containerservice/v20220202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220301:ManagedCluster" }, { type: "azure-native:containerservice/v20220302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220401:ManagedCluster" }, { type: "azure-native:containerservice/v20220402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220601:ManagedCluster" }, { type: "azure-native:containerservice/v20220602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220701:ManagedCluster" }, { type: "azure-native:containerservice/v20220702preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220802preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220803preview:ManagedCluster" }, { type: "azure-native:containerservice/v20220901:ManagedCluster" }, { type: "azure-native:containerservice/v20220902preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221002preview:ManagedCluster" }, { type: "azure-native:containerservice/v20221101:ManagedCluster" }, { type: "azure-native:containerservice/v20221102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230101:ManagedCluster" }, { type: "azure-native:containerservice/v20230102preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230201:ManagedCluster" }, { type: "azure-native:containerservice/v20230202preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230301:ManagedCluster" }, { type: "azure-native:containerservice/v20230302preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230401:ManagedCluster" }, { type: "azure-native:containerservice/v20230402preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230501:ManagedCluster" }, { type: "azure-native:containerservice/v20230502preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230601:ManagedCluster" }, { type: "azure-native:containerservice/v20230602preview:ManagedCluster" }, { type: "azure-native:containerservice/v20230701:ManagedCluster" }, { type: "azure-native:containerservice/v20230702preview:ManagedCluster" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ManagedCluster.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ManagedCluster resource. + */ +export interface ManagedClusterArgs { + /** + * The Azure Active Directory configuration. + */ + aadProfile?: pulumi.Input; + /** + * The profile of managed cluster add-on. + */ + addonProfiles?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The agent pool properties. + */ + agentPoolProfiles?: pulumi.Input[]>; + /** + * The access profile for managed cluster API server. + */ + apiServerAccessProfile?: pulumi.Input; + /** + * Parameters to be applied to the cluster-autoscaler when enabled + */ + autoScalerProfile?: pulumi.Input; + /** + * The auto upgrade configuration. + */ + autoUpgradeProfile?: pulumi.Input; + /** + * Azure Monitor addon profiles for monitoring the managed cluster. + */ + azureMonitorProfile?: pulumi.Input; + /** + * If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + */ + disableLocalAccounts?: pulumi.Input; + /** + * This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + */ + diskEncryptionSetID?: pulumi.Input; + /** + * This cannot be updated once the Managed Cluster has been created. + */ + dnsPrefix?: pulumi.Input; + /** + * (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + */ + enablePodSecurityPolicy?: pulumi.Input; + /** + * Whether to enable Kubernetes Role-Based Access Control. + */ + enableRBAC?: pulumi.Input; + /** + * The extended location of the Virtual Machine. + */ + extendedLocation?: pulumi.Input; + /** + * This cannot be updated once the Managed Cluster has been created. + */ + fqdnSubdomain?: pulumi.Input; + /** + * Configurations for provisioning the cluster with HTTP proxy servers. + */ + httpProxyConfig?: pulumi.Input; + /** + * The identity of the managed cluster, if configured. + */ + identity?: pulumi.Input; + /** + * Identities associated with the cluster. + */ + identityProfile?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + */ + kubernetesVersion?: pulumi.Input; + /** + * The profile for Linux VMs in the Managed Cluster. + */ + linuxProfile?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The network configuration profile. + */ + networkProfile?: pulumi.Input; + /** + * The name of the resource group containing agent pool nodes. + */ + nodeResourceGroup?: pulumi.Input; + /** + * The OIDC issuer profile of the Managed Cluster. + */ + oidcIssuerProfile?: pulumi.Input; + /** + * See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + */ + podIdentityProfile?: pulumi.Input; + /** + * Private link resources associated with the cluster. + */ + privateLinkResources?: pulumi.Input[]>; + /** + * Allow or deny public network access for AKS + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName?: pulumi.Input; + /** + * Security profile for the managed cluster. + */ + securityProfile?: pulumi.Input; + /** + * Service mesh profile for a managed cluster. + */ + serviceMeshProfile?: pulumi.Input; + /** + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. + */ + servicePrincipalProfile?: pulumi.Input; + /** + * The managed cluster SKU. + */ + sku?: pulumi.Input; + /** + * Storage profile for the managed cluster. + */ + storageProfile?: pulumi.Input; + /** + * The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + */ + supportPlan?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Settings for upgrading a cluster. + */ + upgradeSettings?: pulumi.Input; + /** + * The profile for Windows VMs in the Managed Cluster. + */ + windowsProfile?: pulumi.Input; + /** + * Workload Auto-scaler profile for the managed cluster. + */ + workloadAutoScalerProfile?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/privateEndpointConnection.ts b/sdk/nodejs/containerservice/v20230801/privateEndpointConnection.ts new file mode 100644 index 000000000000..2dcaa8c5d65e --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/privateEndpointConnection.ts @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A private endpoint connection + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230801:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. 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 PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * The name of the private endpoint connection. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource of private endpoint. + */ + public readonly privateEndpoint!: pulumi.Output; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * The current provisioning state. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource type. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection 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: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.privateLinkServiceConnectionState === undefined) && !opts.urn) { + throw new Error("Missing required property 'privateLinkServiceConnectionState'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.resourceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceName'"); + } + resourceInputs["privateEndpoint"] = args ? args.privateEndpoint : undefined; + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceName"] = args ? args.resourceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20200901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20201201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210801:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20210901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211001:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20211101preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220702preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220802preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220803preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220901:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20220902preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221002preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20221102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230101:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230102preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230201:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230202preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230301:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230302preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230401:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230402preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230501:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230502preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230601:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230602preview:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230701:PrivateEndpointConnection" }, { type: "azure-native:containerservice/v20230702preview:PrivateEndpointConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * The resource of private endpoint. + */ + privateEndpoint?: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230801/snapshot.ts b/sdk/nodejs/containerservice/v20230801/snapshot.ts new file mode 100644 index 000000000000..fb6d15913c71 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230801/snapshot.ts @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A node pool snapshot resource. + */ +export class Snapshot extends pulumi.CustomResource { + /** + * Get an existing Snapshot 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Snapshot { + return new Snapshot(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230801:Snapshot'; + + /** + * Returns true if the given object is an instance of Snapshot. 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 Snapshot { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Snapshot.__pulumiType; + } + + /** + * CreationData to be used to specify the source agent pool resource ID to create this snapshot. + */ + public readonly creationData!: pulumi.Output; + /** + * Whether to use a FIPS-enabled OS. + */ + public /*out*/ readonly enableFIPS!: pulumi.Output; + /** + * The version of Kubernetes. + */ + public /*out*/ readonly kubernetesVersion!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The version of node image. + */ + public /*out*/ readonly nodeImageVersion!: pulumi.Output; + /** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ + public /*out*/ readonly osSku!: pulumi.Output; + /** + * The operating system type. The default is Linux. + */ + public /*out*/ readonly osType!: pulumi.Output; + /** + * The type of a snapshot. The default is NodePool. + */ + public readonly snapshotType!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The size of the VM. + */ + public /*out*/ readonly vmSize!: pulumi.Output; + + /** + * Create a Snapshot 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: SnapshotArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["creationData"] = args ? args.creationData : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceName"] = args ? args.resourceName : undefined; + resourceInputs["snapshotType"] = args ? args.snapshotType : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["enableFIPS"] = undefined /*out*/; + resourceInputs["kubernetesVersion"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["nodeImageVersion"] = undefined /*out*/; + resourceInputs["osSku"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["vmSize"] = undefined /*out*/; + } else { + resourceInputs["creationData"] = undefined /*out*/; + resourceInputs["enableFIPS"] = undefined /*out*/; + resourceInputs["kubernetesVersion"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["nodeImageVersion"] = undefined /*out*/; + resourceInputs["osSku"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["snapshotType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["vmSize"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Snapshot" }, { type: "azure-native:containerservice/v20210801:Snapshot" }, { type: "azure-native:containerservice/v20210901:Snapshot" }, { type: "azure-native:containerservice/v20211001:Snapshot" }, { type: "azure-native:containerservice/v20211101preview:Snapshot" }, { type: "azure-native:containerservice/v20220101:Snapshot" }, { type: "azure-native:containerservice/v20220102preview:Snapshot" }, { type: "azure-native:containerservice/v20220201:Snapshot" }, { type: "azure-native:containerservice/v20220202preview:Snapshot" }, { type: "azure-native:containerservice/v20220301:Snapshot" }, { type: "azure-native:containerservice/v20220302preview:Snapshot" }, { type: "azure-native:containerservice/v20220401:Snapshot" }, { type: "azure-native:containerservice/v20220402preview:Snapshot" }, { type: "azure-native:containerservice/v20220502preview:Snapshot" }, { type: "azure-native:containerservice/v20220601:Snapshot" }, { type: "azure-native:containerservice/v20220602preview:Snapshot" }, { type: "azure-native:containerservice/v20220701:Snapshot" }, { type: "azure-native:containerservice/v20220702preview:Snapshot" }, { type: "azure-native:containerservice/v20220802preview:Snapshot" }, { type: "azure-native:containerservice/v20220803preview:Snapshot" }, { type: "azure-native:containerservice/v20220901:Snapshot" }, { type: "azure-native:containerservice/v20220902preview:Snapshot" }, { type: "azure-native:containerservice/v20221002preview:Snapshot" }, { type: "azure-native:containerservice/v20221101:Snapshot" }, { type: "azure-native:containerservice/v20221102preview:Snapshot" }, { type: "azure-native:containerservice/v20230101:Snapshot" }, { type: "azure-native:containerservice/v20230102preview:Snapshot" }, { type: "azure-native:containerservice/v20230201:Snapshot" }, { type: "azure-native:containerservice/v20230202preview:Snapshot" }, { type: "azure-native:containerservice/v20230301:Snapshot" }, { type: "azure-native:containerservice/v20230302preview:Snapshot" }, { type: "azure-native:containerservice/v20230401:Snapshot" }, { type: "azure-native:containerservice/v20230402preview:Snapshot" }, { type: "azure-native:containerservice/v20230501:Snapshot" }, { type: "azure-native:containerservice/v20230502preview:Snapshot" }, { type: "azure-native:containerservice/v20230601:Snapshot" }, { type: "azure-native:containerservice/v20230602preview:Snapshot" }, { type: "azure-native:containerservice/v20230701:Snapshot" }, { type: "azure-native:containerservice/v20230702preview:Snapshot" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Snapshot.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Snapshot resource. + */ +export interface SnapshotArgs { + /** + * CreationData to be used to specify the source agent pool resource ID to create this snapshot. + */ + creationData?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the managed cluster resource. + */ + resourceName?: pulumi.Input; + /** + * The type of a snapshot. The default is NodePool. + */ + snapshotType?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/fleet.ts b/sdk/nodejs/containerservice/v20230815preview/fleet.ts new file mode 100644 index 000000000000..6dc893fbc0fa --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/fleet.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The Fleet resource. + */ +export class Fleet extends pulumi.CustomResource { + /** + * Get an existing Fleet 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Fleet { + return new Fleet(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230815preview:Fleet'; + + /** + * Returns true if the given object is an instance of Fleet. 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 Fleet { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Fleet.__pulumiType; + } + + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * The FleetHubProfile configures the Fleet's hub. + */ + public readonly hubProfile!: pulumi.Output; + /** + * Managed identity. + */ + public readonly identity!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The status of the last operation. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Fleet 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: FleetArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["fleetName"] = args ? args.fleetName : undefined; + resourceInputs["hubProfile"] = args ? args.hubProfile : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["hubProfile"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:Fleet" }, { type: "azure-native:containerservice/v20220602preview:Fleet" }, { type: "azure-native:containerservice/v20220702preview:Fleet" }, { type: "azure-native:containerservice/v20220902preview:Fleet" }, { type: "azure-native:containerservice/v20230315preview:Fleet" }, { type: "azure-native:containerservice/v20230615preview:Fleet" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Fleet.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Fleet resource. + */ +export interface FleetArgs { + /** + * The name of the Fleet resource. + */ + fleetName?: pulumi.Input; + /** + * The FleetHubProfile configures the Fleet's hub. + */ + hubProfile?: pulumi.Input; + /** + * Managed identity. + */ + identity?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/fleetMember.ts b/sdk/nodejs/containerservice/v20230815preview/fleetMember.ts new file mode 100644 index 000000000000..16779b305ec8 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/fleetMember.ts @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. + */ +export class FleetMember extends pulumi.CustomResource { + /** + * Get an existing FleetMember 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FleetMember { + return new FleetMember(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230815preview:FleetMember'; + + /** + * Returns true if the given object is an instance of FleetMember. 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 FleetMember { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === FleetMember.__pulumiType; + } + + /** + * The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + */ + public readonly clusterResourceId!: pulumi.Output; + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * The group this member belongs to for multi-cluster update management. + */ + public readonly group!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The status of the last operation. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a FleetMember 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: FleetMemberArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterResourceId'"); + } + if ((!args || args.fleetName === undefined) && !opts.urn) { + throw new Error("Missing required property 'fleetName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterResourceId"] = args ? args.clusterResourceId : undefined; + resourceInputs["fleetMemberName"] = args ? args.fleetMemberName : undefined; + resourceInputs["fleetName"] = args ? args.fleetName : undefined; + resourceInputs["group"] = args ? args.group : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["clusterResourceId"] = undefined /*out*/; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["group"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetMember" }, { type: "azure-native:containerservice/v20220602preview:FleetMember" }, { type: "azure-native:containerservice/v20220702preview:FleetMember" }, { type: "azure-native:containerservice/v20220902preview:FleetMember" }, { type: "azure-native:containerservice/v20230315preview:FleetMember" }, { type: "azure-native:containerservice/v20230615preview:FleetMember" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(FleetMember.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a FleetMember resource. + */ +export interface FleetMemberArgs { + /** + * The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + */ + clusterResourceId: pulumi.Input; + /** + * The name of the Fleet member resource. + */ + fleetMemberName?: pulumi.Input; + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The group this member belongs to for multi-cluster update management. + */ + group?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/fleetUpdateStrategy.ts b/sdk/nodejs/containerservice/v20230815preview/fleetUpdateStrategy.ts new file mode 100644 index 000000000000..93752195cc42 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/fleetUpdateStrategy.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Defines a multi-stage process to perform update operations across members of a Fleet. + */ +export class FleetUpdateStrategy extends pulumi.CustomResource { + /** + * Get an existing FleetUpdateStrategy 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FleetUpdateStrategy { + return new FleetUpdateStrategy(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230815preview:FleetUpdateStrategy'; + + /** + * Returns true if the given object is an instance of FleetUpdateStrategy. 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 FleetUpdateStrategy { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === FleetUpdateStrategy.__pulumiType; + } + + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the UpdateStrategy resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Defines the update sequence of the clusters. + */ + public readonly strategy!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a FleetUpdateStrategy 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: FleetUpdateStrategyArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.fleetName === undefined) && !opts.urn) { + throw new Error("Missing required property 'fleetName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.strategy === undefined) && !opts.urn) { + throw new Error("Missing required property 'strategy'"); + } + resourceInputs["fleetName"] = args ? args.fleetName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["strategy"] = args ? args.strategy : undefined; + resourceInputs["updateStrategyName"] = args ? args.updateStrategyName : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["strategy"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:FleetUpdateStrategy" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(FleetUpdateStrategy.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a FleetUpdateStrategy resource. + */ +export interface FleetUpdateStrategyArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Defines the update sequence of the clusters. + */ + strategy: pulumi.Input; + /** + * The name of the UpdateStrategy resource. + */ + updateStrategyName?: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/getFleet.ts b/sdk/nodejs/containerservice/v20230815preview/getFleet.ts new file mode 100644 index 000000000000..e0e02f32ddb3 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/getFleet.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a Fleet. + */ +export function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230815preview:getFleet", { + "fleetName": args.fleetName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetFleetArgs { + /** + * The name of the Fleet resource. + */ + fleetName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The Fleet resource. + */ +export interface GetFleetResult { + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly eTag: string; + /** + * The FleetHubProfile configures the Fleet's hub. + */ + readonly hubProfile?: outputs.containerservice.v20230815preview.FleetHubProfileResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Managed identity. + */ + readonly identity?: outputs.containerservice.v20230815preview.ManagedServiceIdentityResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The status of the last operation. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.v20230815preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a Fleet. + */ +export function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFleet(a, opts)) +} + +export interface GetFleetOutputArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/getFleetMember.ts b/sdk/nodejs/containerservice/v20230815preview/getFleetMember.ts new file mode 100644 index 000000000000..333fa428d6a4 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/getFleetMember.ts @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a FleetMember + */ +export function getFleetMember(args: GetFleetMemberArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230815preview:getFleetMember", { + "fleetMemberName": args.fleetMemberName, + "fleetName": args.fleetName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetFleetMemberArgs { + /** + * The name of the Fleet member resource. + */ + fleetMemberName: string; + /** + * The name of the Fleet resource. + */ + fleetName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. + */ +export interface GetFleetMemberResult { + /** + * The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + */ + readonly clusterResourceId: string; + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly eTag: string; + /** + * The group this member belongs to for multi-cluster update management. + */ + readonly group?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The status of the last operation. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.v20230815preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a FleetMember + */ +export function getFleetMemberOutput(args: GetFleetMemberOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFleetMember(a, opts)) +} + +export interface GetFleetMemberOutputArgs { + /** + * The name of the Fleet member resource. + */ + fleetMemberName: pulumi.Input; + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/getFleetUpdateStrategy.ts b/sdk/nodejs/containerservice/v20230815preview/getFleetUpdateStrategy.ts new file mode 100644 index 000000000000..abafa5b38af9 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/getFleetUpdateStrategy.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a FleetUpdateStrategy + */ +export function getFleetUpdateStrategy(args: GetFleetUpdateStrategyArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230815preview:getFleetUpdateStrategy", { + "fleetName": args.fleetName, + "resourceGroupName": args.resourceGroupName, + "updateStrategyName": args.updateStrategyName, + }, opts); +} + +export interface GetFleetUpdateStrategyArgs { + /** + * The name of the Fleet resource. + */ + fleetName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the UpdateStrategy resource. + */ + updateStrategyName: string; +} + +/** + * Defines a multi-stage process to perform update operations across members of a Fleet. + */ +export interface GetFleetUpdateStrategyResult { + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly eTag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the UpdateStrategy resource. + */ + readonly provisioningState: string; + /** + * Defines the update sequence of the clusters. + */ + readonly strategy: outputs.containerservice.v20230815preview.UpdateRunStrategyResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.v20230815preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a FleetUpdateStrategy + */ +export function getFleetUpdateStrategyOutput(args: GetFleetUpdateStrategyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFleetUpdateStrategy(a, opts)) +} + +export interface GetFleetUpdateStrategyOutputArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the UpdateStrategy resource. + */ + updateStrategyName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/getUpdateRun.ts b/sdk/nodejs/containerservice/v20230815preview/getUpdateRun.ts new file mode 100644 index 000000000000..303e0efa199b --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/getUpdateRun.ts @@ -0,0 +1,116 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a UpdateRun + */ +export function getUpdateRun(args: GetUpdateRunArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230815preview:getUpdateRun", { + "fleetName": args.fleetName, + "resourceGroupName": args.resourceGroupName, + "updateRunName": args.updateRunName, + }, opts); +} + +export interface GetUpdateRunArgs { + /** + * The name of the Fleet resource. + */ + fleetName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the UpdateRun resource. + */ + updateRunName: string; +} + +/** + * A multi-stage process to perform update operations across members of a Fleet. + */ +export interface GetUpdateRunResult { + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly eTag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + */ + readonly managedClusterUpdate: outputs.containerservice.v20230815preview.ManagedClusterUpdateResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the UpdateRun resource. + */ + readonly provisioningState: string; + /** + * The status of the UpdateRun. + */ + readonly status: outputs.containerservice.v20230815preview.UpdateRunStatusResponse; + /** + * The strategy defines the order in which the clusters will be updated. + * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + * The strategy of the UpdateRun can be modified until the run is started. + */ + readonly strategy?: outputs.containerservice.v20230815preview.UpdateRunStrategyResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.containerservice.v20230815preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The resource id of the FleetUpdateStrategy resource to reference. + * + * When creating a new run, there are three ways to define a strategy for the run: + * 1. Define a new strategy in place: Set the "strategy" field. + * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + * + * Setting both "updateStrategyId" and "strategy" is invalid. + * + * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + */ + readonly updateStrategyId?: string; +} +/** + * Get a UpdateRun + */ +export function getUpdateRunOutput(args: GetUpdateRunOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getUpdateRun(a, opts)) +} + +export interface GetUpdateRunOutputArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the UpdateRun resource. + */ + updateRunName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/index.ts b/sdk/nodejs/containerservice/v20230815preview/index.ts new file mode 100644 index 000000000000..5074f54da8e7 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/index.ts @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { FleetArgs } from "./fleet"; +export type Fleet = import("./fleet").Fleet; +export const Fleet: typeof import("./fleet").Fleet = null as any; +utilities.lazyLoad(exports, ["Fleet"], () => require("./fleet")); + +export { FleetMemberArgs } from "./fleetMember"; +export type FleetMember = import("./fleetMember").FleetMember; +export const FleetMember: typeof import("./fleetMember").FleetMember = null as any; +utilities.lazyLoad(exports, ["FleetMember"], () => require("./fleetMember")); + +export { FleetUpdateStrategyArgs } from "./fleetUpdateStrategy"; +export type FleetUpdateStrategy = import("./fleetUpdateStrategy").FleetUpdateStrategy; +export const FleetUpdateStrategy: typeof import("./fleetUpdateStrategy").FleetUpdateStrategy = null as any; +utilities.lazyLoad(exports, ["FleetUpdateStrategy"], () => require("./fleetUpdateStrategy")); + +export { GetFleetArgs, GetFleetResult, GetFleetOutputArgs } from "./getFleet"; +export const getFleet: typeof import("./getFleet").getFleet = null as any; +export const getFleetOutput: typeof import("./getFleet").getFleetOutput = null as any; +utilities.lazyLoad(exports, ["getFleet","getFleetOutput"], () => require("./getFleet")); + +export { GetFleetMemberArgs, GetFleetMemberResult, GetFleetMemberOutputArgs } from "./getFleetMember"; +export const getFleetMember: typeof import("./getFleetMember").getFleetMember = null as any; +export const getFleetMemberOutput: typeof import("./getFleetMember").getFleetMemberOutput = null as any; +utilities.lazyLoad(exports, ["getFleetMember","getFleetMemberOutput"], () => require("./getFleetMember")); + +export { GetFleetUpdateStrategyArgs, GetFleetUpdateStrategyResult, GetFleetUpdateStrategyOutputArgs } from "./getFleetUpdateStrategy"; +export const getFleetUpdateStrategy: typeof import("./getFleetUpdateStrategy").getFleetUpdateStrategy = null as any; +export const getFleetUpdateStrategyOutput: typeof import("./getFleetUpdateStrategy").getFleetUpdateStrategyOutput = null as any; +utilities.lazyLoad(exports, ["getFleetUpdateStrategy","getFleetUpdateStrategyOutput"], () => require("./getFleetUpdateStrategy")); + +export { GetUpdateRunArgs, GetUpdateRunResult, GetUpdateRunOutputArgs } from "./getUpdateRun"; +export const getUpdateRun: typeof import("./getUpdateRun").getUpdateRun = null as any; +export const getUpdateRunOutput: typeof import("./getUpdateRun").getUpdateRunOutput = null as any; +utilities.lazyLoad(exports, ["getUpdateRun","getUpdateRunOutput"], () => require("./getUpdateRun")); + +export { ListFleetCredentialsArgs, ListFleetCredentialsResult, ListFleetCredentialsOutputArgs } from "./listFleetCredentials"; +export const listFleetCredentials: typeof import("./listFleetCredentials").listFleetCredentials = null as any; +export const listFleetCredentialsOutput: typeof import("./listFleetCredentials").listFleetCredentialsOutput = null as any; +utilities.lazyLoad(exports, ["listFleetCredentials","listFleetCredentialsOutput"], () => require("./listFleetCredentials")); + +export { UpdateRunArgs } from "./updateRun"; +export type UpdateRun = import("./updateRun").UpdateRun; +export const UpdateRun: typeof import("./updateRun").UpdateRun = null as any; +utilities.lazyLoad(exports, ["UpdateRun"], () => require("./updateRun")); + + +// Export enums: +export * from "../../types/enums/containerservice/v20230815preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:containerservice/v20230815preview:Fleet": + return new Fleet(name, undefined, { urn }) + case "azure-native:containerservice/v20230815preview:FleetMember": + return new FleetMember(name, undefined, { urn }) + case "azure-native:containerservice/v20230815preview:FleetUpdateStrategy": + return new FleetUpdateStrategy(name, undefined, { urn }) + case "azure-native:containerservice/v20230815preview:UpdateRun": + return new UpdateRun(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "containerservice/v20230815preview", _module) diff --git a/sdk/nodejs/containerservice/v20230815preview/listFleetCredentials.ts b/sdk/nodejs/containerservice/v20230815preview/listFleetCredentials.ts new file mode 100644 index 000000000000..ee5769da30e9 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/listFleetCredentials.ts @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Lists the user credentials of a Fleet. + */ +export function listFleetCredentials(args: ListFleetCredentialsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:containerservice/v20230815preview:listFleetCredentials", { + "fleetName": args.fleetName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListFleetCredentialsArgs { + /** + * The name of the Fleet resource. + */ + fleetName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The Credential results response. + */ +export interface ListFleetCredentialsResult { + /** + * Array of base64-encoded Kubernetes configuration files. + */ + readonly kubeconfigs: outputs.containerservice.v20230815preview.FleetCredentialResultResponse[]; +} +/** + * Lists the user credentials of a Fleet. + */ +export function listFleetCredentialsOutput(args: ListFleetCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listFleetCredentials(a, opts)) +} + +export interface ListFleetCredentialsOutputArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/containerservice/v20230815preview/updateRun.ts b/sdk/nodejs/containerservice/v20230815preview/updateRun.ts new file mode 100644 index 000000000000..50c549ef52b3 --- /dev/null +++ b/sdk/nodejs/containerservice/v20230815preview/updateRun.ts @@ -0,0 +1,181 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A multi-stage process to perform update operations across members of a Fleet. + */ +export class UpdateRun extends pulumi.CustomResource { + /** + * Get an existing UpdateRun 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): UpdateRun { + return new UpdateRun(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:containerservice/v20230815preview:UpdateRun'; + + /** + * Returns true if the given object is an instance of UpdateRun. 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 UpdateRun { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === UpdateRun.__pulumiType; + } + + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + */ + public readonly managedClusterUpdate!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the UpdateRun resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The status of the UpdateRun. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The strategy defines the order in which the clusters will be updated. + * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + * The strategy of the UpdateRun can be modified until the run is started. + */ + public readonly strategy!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The resource id of the FleetUpdateStrategy resource to reference. + * + * When creating a new run, there are three ways to define a strategy for the run: + * 1. Define a new strategy in place: Set the "strategy" field. + * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + * + * Setting both "updateStrategyId" and "strategy" is invalid. + * + * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + */ + public readonly updateStrategyId!: pulumi.Output; + + /** + * Create a UpdateRun 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: UpdateRunArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.fleetName === undefined) && !opts.urn) { + throw new Error("Missing required property 'fleetName'"); + } + if ((!args || args.managedClusterUpdate === undefined) && !opts.urn) { + throw new Error("Missing required property 'managedClusterUpdate'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["fleetName"] = args ? args.fleetName : undefined; + resourceInputs["managedClusterUpdate"] = args ? args.managedClusterUpdate : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["strategy"] = args ? args.strategy : undefined; + resourceInputs["updateRunName"] = args ? args.updateRunName : undefined; + resourceInputs["updateStrategyId"] = args ? args.updateStrategyId : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["managedClusterUpdate"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["strategy"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["updateStrategyId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:containerservice:UpdateRun" }, { type: "azure-native:containerservice/v20230315preview:UpdateRun" }, { type: "azure-native:containerservice/v20230615preview:UpdateRun" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(UpdateRun.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a UpdateRun resource. + */ +export interface UpdateRunArgs { + /** + * The name of the Fleet resource. + */ + fleetName: pulumi.Input; + /** + * The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + */ + managedClusterUpdate: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The strategy defines the order in which the clusters will be updated. + * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + * The strategy of the UpdateRun can be modified until the run is started. + */ + strategy?: pulumi.Input; + /** + * The name of the UpdateRun resource. + */ + updateRunName?: pulumi.Input; + /** + * The resource id of the FleetUpdateStrategy resource to reference. + * + * When creating a new run, there are three ways to define a strategy for the run: + * 1. Define a new strategy in place: Set the "strategy" field. + * 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + * 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + * + * Setting both "updateStrategyId" and "strategy" is invalid. + * + * UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + * Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + * UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + */ + updateStrategyId?: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/backupInstance.ts b/sdk/nodejs/dataprotection/backupInstance.ts index b19a6479604f..160ae9eacd41 100644 --- a/sdk/nodejs/dataprotection/backupInstance.ts +++ b/sdk/nodejs/dataprotection/backupInstance.ts @@ -92,7 +92,7 @@ export class BackupInstance extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }, { type: "azure-native:dataprotection/v20230601preview:BackupInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/backupPolicy.ts b/sdk/nodejs/dataprotection/backupPolicy.ts index 6e58db80df2c..232276655140 100644 --- a/sdk/nodejs/dataprotection/backupPolicy.ts +++ b/sdk/nodejs/dataprotection/backupPolicy.ts @@ -86,7 +86,7 @@ export class BackupPolicy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }, { type: "azure-native:dataprotection/v20230601preview:BackupPolicy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupPolicy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/backupVault.ts b/sdk/nodejs/dataprotection/backupVault.ts index 3bdb64238f0a..e05efa5ba07b 100644 --- a/sdk/nodejs/dataprotection/backupVault.ts +++ b/sdk/nodejs/dataprotection/backupVault.ts @@ -109,7 +109,7 @@ export class BackupVault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }, { type: "azure-native:dataprotection/v20230601preview:BackupVault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupVault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/dppResourceGuardProxy.ts b/sdk/nodejs/dataprotection/dppResourceGuardProxy.ts index 62160ec1d9c1..9bad3e25c2cc 100644 --- a/sdk/nodejs/dataprotection/dppResourceGuardProxy.ts +++ b/sdk/nodejs/dataprotection/dppResourceGuardProxy.ts @@ -86,7 +86,7 @@ export class DppResourceGuardProxy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DppResourceGuardProxy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/index.ts b/sdk/nodejs/dataprotection/index.ts index 4013c51d3742..a4e27e50a39f 100644 --- a/sdk/nodejs/dataprotection/index.ts +++ b/sdk/nodejs/dataprotection/index.ts @@ -64,12 +64,14 @@ import * as v20221101preview from "./v20221101preview"; import * as v20230101 from "./v20230101"; import * as v20230401preview from "./v20230401preview"; import * as v20230501 from "./v20230501"; +import * as v20230601preview from "./v20230601preview"; export { v20221101preview, v20230101, v20230401preview, v20230501, + v20230601preview, }; const _module = { diff --git a/sdk/nodejs/dataprotection/resourceGuard.ts b/sdk/nodejs/dataprotection/resourceGuard.ts index f240774bc079..c3927d5feefe 100644 --- a/sdk/nodejs/dataprotection/resourceGuard.ts +++ b/sdk/nodejs/dataprotection/resourceGuard.ts @@ -99,7 +99,7 @@ export class ResourceGuard extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }, { type: "azure-native:dataprotection/v20230601preview:ResourceGuard" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourceGuard.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20221101preview/resourceGuard.ts b/sdk/nodejs/dataprotection/v20221101preview/resourceGuard.ts index e6b5857deeb9..4b34a640d7c8 100644 --- a/sdk/nodejs/dataprotection/v20221101preview/resourceGuard.ts +++ b/sdk/nodejs/dataprotection/v20221101preview/resourceGuard.ts @@ -102,7 +102,7 @@ export class ResourceGuard extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }, { type: "azure-native:dataprotection/v20230601preview:ResourceGuard" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourceGuard.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230101/backupInstance.ts b/sdk/nodejs/dataprotection/v20230101/backupInstance.ts index 33a9f5cc3535..d268c82ad01d 100644 --- a/sdk/nodejs/dataprotection/v20230101/backupInstance.ts +++ b/sdk/nodejs/dataprotection/v20230101/backupInstance.ts @@ -91,7 +91,7 @@ export class BackupInstance extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }, { type: "azure-native:dataprotection/v20230601preview:BackupInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230101/backupPolicy.ts b/sdk/nodejs/dataprotection/v20230101/backupPolicy.ts index 3584ee48172c..00e078b2fbbd 100644 --- a/sdk/nodejs/dataprotection/v20230101/backupPolicy.ts +++ b/sdk/nodejs/dataprotection/v20230101/backupPolicy.ts @@ -85,7 +85,7 @@ export class BackupPolicy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }, { type: "azure-native:dataprotection/v20230601preview:BackupPolicy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupPolicy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230101/backupVault.ts b/sdk/nodejs/dataprotection/v20230101/backupVault.ts index ba085096e2d3..4458b6e6dc64 100644 --- a/sdk/nodejs/dataprotection/v20230101/backupVault.ts +++ b/sdk/nodejs/dataprotection/v20230101/backupVault.ts @@ -108,7 +108,7 @@ export class BackupVault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }, { type: "azure-native:dataprotection/v20230601preview:BackupVault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupVault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230101/dppResourceGuardProxy.ts b/sdk/nodejs/dataprotection/v20230101/dppResourceGuardProxy.ts index 061e987d65dd..ec848393735a 100644 --- a/sdk/nodejs/dataprotection/v20230101/dppResourceGuardProxy.ts +++ b/sdk/nodejs/dataprotection/v20230101/dppResourceGuardProxy.ts @@ -85,7 +85,7 @@ export class DppResourceGuardProxy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DppResourceGuardProxy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230101/resourceGuard.ts b/sdk/nodejs/dataprotection/v20230101/resourceGuard.ts index a56bbf36c60f..66b4e1f69c98 100644 --- a/sdk/nodejs/dataprotection/v20230101/resourceGuard.ts +++ b/sdk/nodejs/dataprotection/v20230101/resourceGuard.ts @@ -96,7 +96,7 @@ export class ResourceGuard extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }, { type: "azure-native:dataprotection/v20230601preview:ResourceGuard" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourceGuard.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230401preview/backupInstance.ts b/sdk/nodejs/dataprotection/v20230401preview/backupInstance.ts index a17fe940d1ff..797db66a0c00 100644 --- a/sdk/nodejs/dataprotection/v20230401preview/backupInstance.ts +++ b/sdk/nodejs/dataprotection/v20230401preview/backupInstance.ts @@ -91,7 +91,7 @@ export class BackupInstance extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }, { type: "azure-native:dataprotection/v20230601preview:BackupInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230401preview/backupPolicy.ts b/sdk/nodejs/dataprotection/v20230401preview/backupPolicy.ts index 822ae8c68137..ea03426bbf79 100644 --- a/sdk/nodejs/dataprotection/v20230401preview/backupPolicy.ts +++ b/sdk/nodejs/dataprotection/v20230401preview/backupPolicy.ts @@ -85,7 +85,7 @@ export class BackupPolicy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }, { type: "azure-native:dataprotection/v20230601preview:BackupPolicy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupPolicy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230401preview/backupVault.ts b/sdk/nodejs/dataprotection/v20230401preview/backupVault.ts index 187707853220..b7450d36a44d 100644 --- a/sdk/nodejs/dataprotection/v20230401preview/backupVault.ts +++ b/sdk/nodejs/dataprotection/v20230401preview/backupVault.ts @@ -108,7 +108,7 @@ export class BackupVault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }, { type: "azure-native:dataprotection/v20230601preview:BackupVault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupVault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230401preview/dppResourceGuardProxy.ts b/sdk/nodejs/dataprotection/v20230401preview/dppResourceGuardProxy.ts index cafa8222e5d8..b4db9b6b2bea 100644 --- a/sdk/nodejs/dataprotection/v20230401preview/dppResourceGuardProxy.ts +++ b/sdk/nodejs/dataprotection/v20230401preview/dppResourceGuardProxy.ts @@ -85,7 +85,7 @@ export class DppResourceGuardProxy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DppResourceGuardProxy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230401preview/resourceGuard.ts b/sdk/nodejs/dataprotection/v20230401preview/resourceGuard.ts index e61189e8019a..44e4734de5d5 100644 --- a/sdk/nodejs/dataprotection/v20230401preview/resourceGuard.ts +++ b/sdk/nodejs/dataprotection/v20230401preview/resourceGuard.ts @@ -96,7 +96,7 @@ export class ResourceGuard extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }, { type: "azure-native:dataprotection/v20230601preview:ResourceGuard" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourceGuard.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230501/backupInstance.ts b/sdk/nodejs/dataprotection/v20230501/backupInstance.ts index d469b1be944a..88f28870c729 100644 --- a/sdk/nodejs/dataprotection/v20230501/backupInstance.ts +++ b/sdk/nodejs/dataprotection/v20230501/backupInstance.ts @@ -91,7 +91,7 @@ export class BackupInstance extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }, { type: "azure-native:dataprotection/v20230601preview:BackupInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230501/backupPolicy.ts b/sdk/nodejs/dataprotection/v20230501/backupPolicy.ts index 0ff904b931d3..e771bc920643 100644 --- a/sdk/nodejs/dataprotection/v20230501/backupPolicy.ts +++ b/sdk/nodejs/dataprotection/v20230501/backupPolicy.ts @@ -85,7 +85,7 @@ export class BackupPolicy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20230601preview:BackupPolicy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupPolicy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230501/backupVault.ts b/sdk/nodejs/dataprotection/v20230501/backupVault.ts index 9dd43e7d230d..95f33f3abcee 100644 --- a/sdk/nodejs/dataprotection/v20230501/backupVault.ts +++ b/sdk/nodejs/dataprotection/v20230501/backupVault.ts @@ -108,7 +108,7 @@ export class BackupVault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }, { type: "azure-native:dataprotection/v20230601preview:BackupVault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BackupVault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230501/dppResourceGuardProxy.ts b/sdk/nodejs/dataprotection/v20230501/dppResourceGuardProxy.ts index d683ed45fc07..688acb4df1ef 100644 --- a/sdk/nodejs/dataprotection/v20230501/dppResourceGuardProxy.ts +++ b/sdk/nodejs/dataprotection/v20230501/dppResourceGuardProxy.ts @@ -85,7 +85,7 @@ export class DppResourceGuardProxy extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DppResourceGuardProxy.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230501/resourceGuard.ts b/sdk/nodejs/dataprotection/v20230501/resourceGuard.ts index 8d1930d64571..3db85e9dddb1 100644 --- a/sdk/nodejs/dataprotection/v20230501/resourceGuard.ts +++ b/sdk/nodejs/dataprotection/v20230501/resourceGuard.ts @@ -96,7 +96,7 @@ export class ResourceGuard extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230601preview:ResourceGuard" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ResourceGuard.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dataprotection/v20230601preview/backupInstance.ts b/sdk/nodejs/dataprotection/v20230601preview/backupInstance.ts new file mode 100644 index 000000000000..a7527d21f456 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/backupInstance.ts @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * BackupInstance Resource + */ +export class BackupInstance extends pulumi.CustomResource { + /** + * Get an existing BackupInstance 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BackupInstance { + return new BackupInstance(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dataprotection/v20230601preview:BackupInstance'; + + /** + * Returns true if the given object is an instance of BackupInstance. 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 BackupInstance { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BackupInstance.__pulumiType; + } + + /** + * Proxy Resource name associated with the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * BackupInstanceResource properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Proxy Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BackupInstance 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: BackupInstanceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.vaultName === undefined) && !opts.urn) { + throw new Error("Missing required property 'vaultName'"); + } + resourceInputs["backupInstanceName"] = args ? args.backupInstanceName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vaultName"] = args ? args.vaultName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupInstance" }, { type: "azure-native:dataprotection/v20210101:BackupInstance" }, { type: "azure-native:dataprotection/v20210201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210601preview:BackupInstance" }, { type: "azure-native:dataprotection/v20210701:BackupInstance" }, { type: "azure-native:dataprotection/v20211001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20211201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220101:BackupInstance" }, { type: "azure-native:dataprotection/v20220201preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220301:BackupInstance" }, { type: "azure-native:dataprotection/v20220331preview:BackupInstance" }, { type: "azure-native:dataprotection/v20220401:BackupInstance" }, { type: "azure-native:dataprotection/v20220501:BackupInstance" }, { type: "azure-native:dataprotection/v20220901preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221001preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221101preview:BackupInstance" }, { type: "azure-native:dataprotection/v20221201:BackupInstance" }, { type: "azure-native:dataprotection/v20230101:BackupInstance" }, { type: "azure-native:dataprotection/v20230401preview:BackupInstance" }, { type: "azure-native:dataprotection/v20230501:BackupInstance" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BackupInstance.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BackupInstance resource. + */ +export interface BackupInstanceArgs { + /** + * The name of the backup instance. + */ + backupInstanceName?: pulumi.Input; + /** + * BackupInstanceResource properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Proxy Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/backupPolicy.ts b/sdk/nodejs/dataprotection/v20230601preview/backupPolicy.ts new file mode 100644 index 000000000000..742ed76b1441 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/backupPolicy.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * BaseBackupPolicy resource + */ +export class BackupPolicy extends pulumi.CustomResource { + /** + * Get an existing BackupPolicy 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BackupPolicy { + return new BackupPolicy(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dataprotection/v20230601preview:BackupPolicy'; + + /** + * Returns true if the given object is an instance of BackupPolicy. 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 BackupPolicy { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BackupPolicy.__pulumiType; + } + + /** + * Resource name associated with the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * BaseBackupPolicyResource properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BackupPolicy 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: BackupPolicyArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.vaultName === undefined) && !opts.urn) { + throw new Error("Missing required property 'vaultName'"); + } + resourceInputs["backupPolicyName"] = args ? args.backupPolicyName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["vaultName"] = args ? args.vaultName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupPolicy" }, { type: "azure-native:dataprotection/v20210101:BackupPolicy" }, { type: "azure-native:dataprotection/v20210201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210601preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20210701:BackupPolicy" }, { type: "azure-native:dataprotection/v20211001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20211201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220101:BackupPolicy" }, { type: "azure-native:dataprotection/v20220201preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220301:BackupPolicy" }, { type: "azure-native:dataprotection/v20220331preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20220401:BackupPolicy" }, { type: "azure-native:dataprotection/v20220501:BackupPolicy" }, { type: "azure-native:dataprotection/v20220901preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221001preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221101preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20221201:BackupPolicy" }, { type: "azure-native:dataprotection/v20230101:BackupPolicy" }, { type: "azure-native:dataprotection/v20230401preview:BackupPolicy" }, { type: "azure-native:dataprotection/v20230501:BackupPolicy" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BackupPolicy.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BackupPolicy resource. + */ +export interface BackupPolicyArgs { + /** + * Name of the policy + */ + backupPolicyName?: pulumi.Input; + /** + * BaseBackupPolicyResource properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/backupVault.ts b/sdk/nodejs/dataprotection/v20230601preview/backupVault.ts new file mode 100644 index 000000000000..e4969265e430 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/backupVault.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Backup Vault Resource + */ +export class BackupVault extends pulumi.CustomResource { + /** + * Get an existing BackupVault 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BackupVault { + return new BackupVault(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dataprotection/v20230601preview:BackupVault'; + + /** + * Returns true if the given object is an instance of BackupVault. 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 BackupVault { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BackupVault.__pulumiType; + } + + /** + * Optional ETag. + */ + public readonly eTag!: pulumi.Output; + /** + * Input Managed Identity Details + */ + public readonly identity!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Resource name associated with the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * BackupVaultResource properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BackupVault 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: BackupVaultArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.properties === undefined) && !opts.urn) { + throw new Error("Missing required property 'properties'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["eTag"] = args ? args.eTag : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vaultName"] = args ? args.vaultName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:BackupVault" }, { type: "azure-native:dataprotection/v20210101:BackupVault" }, { type: "azure-native:dataprotection/v20210201preview:BackupVault" }, { type: "azure-native:dataprotection/v20210601preview:BackupVault" }, { type: "azure-native:dataprotection/v20210701:BackupVault" }, { type: "azure-native:dataprotection/v20211001preview:BackupVault" }, { type: "azure-native:dataprotection/v20211201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220101:BackupVault" }, { type: "azure-native:dataprotection/v20220201preview:BackupVault" }, { type: "azure-native:dataprotection/v20220301:BackupVault" }, { type: "azure-native:dataprotection/v20220331preview:BackupVault" }, { type: "azure-native:dataprotection/v20220401:BackupVault" }, { type: "azure-native:dataprotection/v20220501:BackupVault" }, { type: "azure-native:dataprotection/v20220901preview:BackupVault" }, { type: "azure-native:dataprotection/v20221001preview:BackupVault" }, { type: "azure-native:dataprotection/v20221101preview:BackupVault" }, { type: "azure-native:dataprotection/v20221201:BackupVault" }, { type: "azure-native:dataprotection/v20230101:BackupVault" }, { type: "azure-native:dataprotection/v20230401preview:BackupVault" }, { type: "azure-native:dataprotection/v20230501:BackupVault" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BackupVault.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BackupVault resource. + */ +export interface BackupVaultArgs { + /** + * Optional ETag. + */ + eTag?: pulumi.Input; + /** + * Input Managed Identity Details + */ + identity?: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * BackupVaultResource properties + */ + properties: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the backup vault. + */ + vaultName?: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/dppResourceGuardProxy.ts b/sdk/nodejs/dataprotection/v20230601preview/dppResourceGuardProxy.ts new file mode 100644 index 000000000000..6ad01b6f15a6 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/dppResourceGuardProxy.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + */ +export class DppResourceGuardProxy extends pulumi.CustomResource { + /** + * Get an existing DppResourceGuardProxy 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DppResourceGuardProxy { + return new DppResourceGuardProxy(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dataprotection/v20230601preview:DppResourceGuardProxy'; + + /** + * Returns true if the given object is an instance of DppResourceGuardProxy. 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 DppResourceGuardProxy { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DppResourceGuardProxy.__pulumiType; + } + + /** + * Resource name associated with the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ResourceGuardProxyBaseResource properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a DppResourceGuardProxy 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: DppResourceGuardProxyArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.vaultName === undefined) && !opts.urn) { + throw new Error("Missing required property 'vaultName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceGuardProxyName"] = args ? args.resourceGuardProxyName : undefined; + resourceInputs["vaultName"] = args ? args.vaultName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20220901preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221001preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20221101preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230101:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230401preview:DppResourceGuardProxy" }, { type: "azure-native:dataprotection/v20230501:DppResourceGuardProxy" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(DppResourceGuardProxy.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a DppResourceGuardProxy resource. + */ +export interface DppResourceGuardProxyArgs { + /** + * ResourceGuardProxyBaseResource properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * name of the resource guard proxy + */ + resourceGuardProxyName?: pulumi.Input; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/getBackupInstance.ts b/sdk/nodejs/dataprotection/v20230601preview/getBackupInstance.ts new file mode 100644 index 000000000000..1939528ad1c3 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/getBackupInstance.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a backup instance with name in a backup vault + */ +export function getBackupInstance(args: GetBackupInstanceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dataprotection/v20230601preview:getBackupInstance", { + "backupInstanceName": args.backupInstanceName, + "resourceGroupName": args.resourceGroupName, + "vaultName": args.vaultName, + }, opts); +} + +export interface GetBackupInstanceArgs { + /** + * The name of the backup instance. + */ + backupInstanceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the backup vault. + */ + vaultName: string; +} + +/** + * BackupInstance Resource + */ +export interface GetBackupInstanceResult { + /** + * Proxy Resource Id represents the complete path to the resource. + */ + readonly id: string; + /** + * Proxy Resource name associated with the resource. + */ + readonly name: string; + /** + * BackupInstanceResource properties + */ + readonly properties: outputs.dataprotection.v20230601preview.BackupInstanceResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.dataprotection.v20230601preview.SystemDataResponse; + /** + * Proxy Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + readonly type: string; +} +/** + * Gets a backup instance with name in a backup vault + */ +export function getBackupInstanceOutput(args: GetBackupInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getBackupInstance(a, opts)) +} + +export interface GetBackupInstanceOutputArgs { + /** + * The name of the backup instance. + */ + backupInstanceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/getBackupPolicy.ts b/sdk/nodejs/dataprotection/v20230601preview/getBackupPolicy.ts new file mode 100644 index 000000000000..15edf38d7064 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/getBackupPolicy.ts @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a backup policy belonging to a backup vault + */ +export function getBackupPolicy(args: GetBackupPolicyArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dataprotection/v20230601preview:getBackupPolicy", { + "backupPolicyName": args.backupPolicyName, + "resourceGroupName": args.resourceGroupName, + "vaultName": args.vaultName, + }, opts); +} + +export interface GetBackupPolicyArgs { + backupPolicyName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the backup vault. + */ + vaultName: string; +} + +/** + * BaseBackupPolicy resource + */ +export interface GetBackupPolicyResult { + /** + * Resource Id represents the complete path to the resource. + */ + readonly id: string; + /** + * Resource name associated with the resource. + */ + readonly name: string; + /** + * BaseBackupPolicyResource properties + */ + readonly properties: outputs.dataprotection.v20230601preview.BackupPolicyResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.dataprotection.v20230601preview.SystemDataResponse; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + readonly type: string; +} +/** + * Gets a backup policy belonging to a backup vault + */ +export function getBackupPolicyOutput(args: GetBackupPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getBackupPolicy(a, opts)) +} + +export interface GetBackupPolicyOutputArgs { + backupPolicyName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/getBackupVault.ts b/sdk/nodejs/dataprotection/v20230601preview/getBackupVault.ts new file mode 100644 index 000000000000..479013e4c1d7 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/getBackupVault.ts @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns a resource belonging to a resource group. + */ +export function getBackupVault(args: GetBackupVaultArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dataprotection/v20230601preview:getBackupVault", { + "resourceGroupName": args.resourceGroupName, + "vaultName": args.vaultName, + }, opts); +} + +export interface GetBackupVaultArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the backup vault. + */ + vaultName: string; +} + +/** + * Backup Vault Resource + */ +export interface GetBackupVaultResult { + /** + * Optional ETag. + */ + readonly eTag?: string; + /** + * Resource Id represents the complete path to the resource. + */ + readonly id: string; + /** + * Input Managed Identity Details + */ + readonly identity?: outputs.dataprotection.v20230601preview.DppIdentityDetailsResponse; + /** + * Resource location. + */ + readonly location: string; + /** + * Resource name associated with the resource. + */ + readonly name: string; + /** + * BackupVaultResource properties + */ + readonly properties: outputs.dataprotection.v20230601preview.BackupVaultResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.dataprotection.v20230601preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + readonly type: string; +} +/** + * Returns a resource belonging to a resource group. + */ +export function getBackupVaultOutput(args: GetBackupVaultOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getBackupVault(a, opts)) +} + +export interface GetBackupVaultOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/getDppResourceGuardProxy.ts b/sdk/nodejs/dataprotection/v20230601preview/getDppResourceGuardProxy.ts new file mode 100644 index 000000000000..5b79e76e51fe --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/getDppResourceGuardProxy.ts @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + */ +export function getDppResourceGuardProxy(args: GetDppResourceGuardProxyArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dataprotection/v20230601preview:getDppResourceGuardProxy", { + "resourceGroupName": args.resourceGroupName, + "resourceGuardProxyName": args.resourceGuardProxyName, + "vaultName": args.vaultName, + }, opts); +} + +export interface GetDppResourceGuardProxyArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * name of the resource guard proxy + */ + resourceGuardProxyName: string; + /** + * The name of the backup vault. + */ + vaultName: string; +} + +/** + * ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + */ +export interface GetDppResourceGuardProxyResult { + /** + * Resource Id represents the complete path to the resource. + */ + readonly id: string; + /** + * Resource name associated with the resource. + */ + readonly name: string; + /** + * ResourceGuardProxyBaseResource properties + */ + readonly properties: outputs.dataprotection.v20230601preview.ResourceGuardProxyBaseResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.dataprotection.v20230601preview.SystemDataResponse; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + readonly type: string; +} +/** + * ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + */ +export function getDppResourceGuardProxyOutput(args: GetDppResourceGuardProxyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDppResourceGuardProxy(a, opts)) +} + +export interface GetDppResourceGuardProxyOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * name of the resource guard proxy + */ + resourceGuardProxyName: pulumi.Input; + /** + * The name of the backup vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/getResourceGuard.ts b/sdk/nodejs/dataprotection/v20230601preview/getResourceGuard.ts new file mode 100644 index 000000000000..1585f125ddf7 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/getResourceGuard.ts @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +export function getResourceGuard(args: GetResourceGuardArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dataprotection/v20230601preview:getResourceGuard", { + "resourceGroupName": args.resourceGroupName, + "resourceGuardsName": args.resourceGuardsName, + }, opts); +} + +export interface GetResourceGuardArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of ResourceGuard + */ + resourceGuardsName: string; +} + +export interface GetResourceGuardResult { + /** + * Optional ETag. + */ + readonly eTag?: string; + /** + * Resource Id represents the complete path to the resource. + */ + readonly id: string; + /** + * Resource location. + */ + readonly location?: string; + /** + * Resource name associated with the resource. + */ + readonly name: string; + /** + * ResourceGuardResource properties + */ + readonly properties: outputs.dataprotection.v20230601preview.ResourceGuardResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.dataprotection.v20230601preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + readonly type: string; +} +export function getResourceGuardOutput(args: GetResourceGuardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getResourceGuard(a, opts)) +} + +export interface GetResourceGuardOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of ResourceGuard + */ + resourceGuardsName: pulumi.Input; +} diff --git a/sdk/nodejs/dataprotection/v20230601preview/index.ts b/sdk/nodejs/dataprotection/v20230601preview/index.ts new file mode 100644 index 000000000000..b076cf561319 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/index.ts @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { BackupInstanceArgs } from "./backupInstance"; +export type BackupInstance = import("./backupInstance").BackupInstance; +export const BackupInstance: typeof import("./backupInstance").BackupInstance = null as any; +utilities.lazyLoad(exports, ["BackupInstance"], () => require("./backupInstance")); + +export { BackupPolicyArgs } from "./backupPolicy"; +export type BackupPolicy = import("./backupPolicy").BackupPolicy; +export const BackupPolicy: typeof import("./backupPolicy").BackupPolicy = null as any; +utilities.lazyLoad(exports, ["BackupPolicy"], () => require("./backupPolicy")); + +export { BackupVaultArgs } from "./backupVault"; +export type BackupVault = import("./backupVault").BackupVault; +export const BackupVault: typeof import("./backupVault").BackupVault = null as any; +utilities.lazyLoad(exports, ["BackupVault"], () => require("./backupVault")); + +export { DppResourceGuardProxyArgs } from "./dppResourceGuardProxy"; +export type DppResourceGuardProxy = import("./dppResourceGuardProxy").DppResourceGuardProxy; +export const DppResourceGuardProxy: typeof import("./dppResourceGuardProxy").DppResourceGuardProxy = null as any; +utilities.lazyLoad(exports, ["DppResourceGuardProxy"], () => require("./dppResourceGuardProxy")); + +export { GetBackupInstanceArgs, GetBackupInstanceResult, GetBackupInstanceOutputArgs } from "./getBackupInstance"; +export const getBackupInstance: typeof import("./getBackupInstance").getBackupInstance = null as any; +export const getBackupInstanceOutput: typeof import("./getBackupInstance").getBackupInstanceOutput = null as any; +utilities.lazyLoad(exports, ["getBackupInstance","getBackupInstanceOutput"], () => require("./getBackupInstance")); + +export { GetBackupPolicyArgs, GetBackupPolicyResult, GetBackupPolicyOutputArgs } from "./getBackupPolicy"; +export const getBackupPolicy: typeof import("./getBackupPolicy").getBackupPolicy = null as any; +export const getBackupPolicyOutput: typeof import("./getBackupPolicy").getBackupPolicyOutput = null as any; +utilities.lazyLoad(exports, ["getBackupPolicy","getBackupPolicyOutput"], () => require("./getBackupPolicy")); + +export { GetBackupVaultArgs, GetBackupVaultResult, GetBackupVaultOutputArgs } from "./getBackupVault"; +export const getBackupVault: typeof import("./getBackupVault").getBackupVault = null as any; +export const getBackupVaultOutput: typeof import("./getBackupVault").getBackupVaultOutput = null as any; +utilities.lazyLoad(exports, ["getBackupVault","getBackupVaultOutput"], () => require("./getBackupVault")); + +export { GetDppResourceGuardProxyArgs, GetDppResourceGuardProxyResult, GetDppResourceGuardProxyOutputArgs } from "./getDppResourceGuardProxy"; +export const getDppResourceGuardProxy: typeof import("./getDppResourceGuardProxy").getDppResourceGuardProxy = null as any; +export const getDppResourceGuardProxyOutput: typeof import("./getDppResourceGuardProxy").getDppResourceGuardProxyOutput = null as any; +utilities.lazyLoad(exports, ["getDppResourceGuardProxy","getDppResourceGuardProxyOutput"], () => require("./getDppResourceGuardProxy")); + +export { GetResourceGuardArgs, GetResourceGuardResult, GetResourceGuardOutputArgs } from "./getResourceGuard"; +export const getResourceGuard: typeof import("./getResourceGuard").getResourceGuard = null as any; +export const getResourceGuardOutput: typeof import("./getResourceGuard").getResourceGuardOutput = null as any; +utilities.lazyLoad(exports, ["getResourceGuard","getResourceGuardOutput"], () => require("./getResourceGuard")); + +export { ResourceGuardArgs } from "./resourceGuard"; +export type ResourceGuard = import("./resourceGuard").ResourceGuard; +export const ResourceGuard: typeof import("./resourceGuard").ResourceGuard = null as any; +utilities.lazyLoad(exports, ["ResourceGuard"], () => require("./resourceGuard")); + + +// Export enums: +export * from "../../types/enums/dataprotection/v20230601preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:dataprotection/v20230601preview:BackupInstance": + return new BackupInstance(name, undefined, { urn }) + case "azure-native:dataprotection/v20230601preview:BackupPolicy": + return new BackupPolicy(name, undefined, { urn }) + case "azure-native:dataprotection/v20230601preview:BackupVault": + return new BackupVault(name, undefined, { urn }) + case "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy": + return new DppResourceGuardProxy(name, undefined, { urn }) + case "azure-native:dataprotection/v20230601preview:ResourceGuard": + return new ResourceGuard(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "dataprotection/v20230601preview", _module) diff --git a/sdk/nodejs/dataprotection/v20230601preview/resourceGuard.ts b/sdk/nodejs/dataprotection/v20230601preview/resourceGuard.ts new file mode 100644 index 000000000000..95941cd064a5 --- /dev/null +++ b/sdk/nodejs/dataprotection/v20230601preview/resourceGuard.ts @@ -0,0 +1,133 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +export class ResourceGuard extends pulumi.CustomResource { + /** + * Get an existing ResourceGuard 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ResourceGuard { + return new ResourceGuard(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dataprotection/v20230601preview:ResourceGuard'; + + /** + * Returns true if the given object is an instance of ResourceGuard. 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 ResourceGuard { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ResourceGuard.__pulumiType; + } + + /** + * Optional ETag. + */ + public readonly eTag!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Resource name associated with the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ResourceGuardResource properties + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ResourceGuard 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: ResourceGuardArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["eTag"] = args ? args.eTag : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["resourceGuardsName"] = args ? args.resourceGuardsName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dataprotection:ResourceGuard" }, { type: "azure-native:dataprotection/v20210701:ResourceGuard" }, { type: "azure-native:dataprotection/v20211001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20211201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220101:ResourceGuard" }, { type: "azure-native:dataprotection/v20220201preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220301:ResourceGuard" }, { type: "azure-native:dataprotection/v20220331preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20220401:ResourceGuard" }, { type: "azure-native:dataprotection/v20220501:ResourceGuard" }, { type: "azure-native:dataprotection/v20220901preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221001preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221101preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20221201:ResourceGuard" }, { type: "azure-native:dataprotection/v20230101:ResourceGuard" }, { type: "azure-native:dataprotection/v20230401preview:ResourceGuard" }, { type: "azure-native:dataprotection/v20230501:ResourceGuard" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ResourceGuard.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ResourceGuard resource. + */ +export interface ResourceGuardArgs { + /** + * Optional ETag. + */ + eTag?: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * ResourceGuardResource properties + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of ResourceGuard + */ + resourceGuardsName?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/dbformysql/azureADAdministrator.ts b/sdk/nodejs/dbformysql/azureADAdministrator.ts index e058e354107f..fcc45fea7fce 100644 --- a/sdk/nodejs/dbformysql/azureADAdministrator.ts +++ b/sdk/nodejs/dbformysql/azureADAdministrator.ts @@ -110,7 +110,7 @@ export class AzureADAdministrator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20211201preview:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20220101:AzureADAdministrator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20211201preview:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20220101:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20230601preview:AzureADAdministrator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AzureADAdministrator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/configuration.ts b/sdk/nodejs/dbformysql/configuration.ts index 67102aa2af5a..425755f41853 100644 --- a/sdk/nodejs/dbformysql/configuration.ts +++ b/sdk/nodejs/dbformysql/configuration.ts @@ -146,7 +146,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20200701privatepreview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }, { type: "azure-native:dbformysql/v20220101:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20200701privatepreview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }, { type: "azure-native:dbformysql/v20220101:Configuration" }, { type: "azure-native:dbformysql/v20230601preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/database.ts b/sdk/nodejs/dbformysql/database.ts index 8269f88b0a82..3f782f573d1a 100644 --- a/sdk/nodejs/dbformysql/database.ts +++ b/sdk/nodejs/dbformysql/database.ts @@ -92,7 +92,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:Database" }, { type: "azure-native:dbformysql/v20200701privatepreview:Database" }, { type: "azure-native:dbformysql/v20210501:Database" }, { type: "azure-native:dbformysql/v20210501preview:Database" }, { type: "azure-native:dbformysql/v20211201preview:Database" }, { type: "azure-native:dbformysql/v20220101:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:Database" }, { type: "azure-native:dbformysql/v20200701privatepreview:Database" }, { type: "azure-native:dbformysql/v20210501:Database" }, { type: "azure-native:dbformysql/v20210501preview:Database" }, { type: "azure-native:dbformysql/v20211201preview:Database" }, { type: "azure-native:dbformysql/v20220101:Database" }, { type: "azure-native:dbformysql/v20230601preview:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/firewallRule.ts b/sdk/nodejs/dbformysql/firewallRule.ts index 22cb599953fc..7c60b12fba20 100644 --- a/sdk/nodejs/dbformysql/firewallRule.ts +++ b/sdk/nodejs/dbformysql/firewallRule.ts @@ -98,7 +98,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:FirewallRule" }, { type: "azure-native:dbformysql/v20200701privatepreview:FirewallRule" }, { type: "azure-native:dbformysql/v20210501:FirewallRule" }, { type: "azure-native:dbformysql/v20210501preview:FirewallRule" }, { type: "azure-native:dbformysql/v20211201preview:FirewallRule" }, { type: "azure-native:dbformysql/v20220101:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:FirewallRule" }, { type: "azure-native:dbformysql/v20200701privatepreview:FirewallRule" }, { type: "azure-native:dbformysql/v20210501:FirewallRule" }, { type: "azure-native:dbformysql/v20210501preview:FirewallRule" }, { type: "azure-native:dbformysql/v20211201preview:FirewallRule" }, { type: "azure-native:dbformysql/v20220101:FirewallRule" }, { type: "azure-native:dbformysql/v20230601preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/index.ts b/sdk/nodejs/dbformysql/index.ts index 782600126bbe..b25d3fa3c848 100644 --- a/sdk/nodejs/dbformysql/index.ts +++ b/sdk/nodejs/dbformysql/index.ts @@ -84,6 +84,7 @@ import * as v20210501preview from "./v20210501preview"; import * as v20211201preview from "./v20211201preview"; import * as v20220101 from "./v20220101"; import * as v20220930preview from "./v20220930preview"; +import * as v20230601preview from "./v20230601preview"; import * as v20230630 from "./v20230630"; export { @@ -96,6 +97,7 @@ export { v20211201preview, v20220101, v20220930preview, + v20230601preview, v20230630, }; diff --git a/sdk/nodejs/dbformysql/server.ts b/sdk/nodejs/dbformysql/server.ts index e7b603672690..c0114225431b 100644 --- a/sdk/nodejs/dbformysql/server.ts +++ b/sdk/nodejs/dbformysql/server.ts @@ -187,7 +187,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }, { type: "azure-native:dbformysql/v20230601preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20200701preview/server.ts b/sdk/nodejs/dbformysql/v20200701preview/server.ts index f9709160ab29..a6bb964b8599 100644 --- a/sdk/nodejs/dbformysql/v20200701preview/server.ts +++ b/sdk/nodejs/dbformysql/v20200701preview/server.ts @@ -211,7 +211,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }, { type: "azure-native:dbformysql/v20230601preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20200701privatepreview/configuration.ts b/sdk/nodejs/dbformysql/v20200701privatepreview/configuration.ts index b9450b8a210f..cda78a48e5c2 100644 --- a/sdk/nodejs/dbformysql/v20200701privatepreview/configuration.ts +++ b/sdk/nodejs/dbformysql/v20200701privatepreview/configuration.ts @@ -124,7 +124,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Configuration" }, { type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }, { type: "azure-native:dbformysql/v20220101:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Configuration" }, { type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }, { type: "azure-native:dbformysql/v20220101:Configuration" }, { type: "azure-native:dbformysql/v20230601preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20200701privatepreview/server.ts b/sdk/nodejs/dbformysql/v20200701privatepreview/server.ts index bb80a763dc24..02cc290efb3d 100644 --- a/sdk/nodejs/dbformysql/v20200701privatepreview/server.ts +++ b/sdk/nodejs/dbformysql/v20200701privatepreview/server.ts @@ -205,7 +205,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }, { type: "azure-native:dbformysql/v20230601preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20220101/azureADAdministrator.ts b/sdk/nodejs/dbformysql/v20220101/azureADAdministrator.ts index 604ad9b4d301..2d65d882e5e8 100644 --- a/sdk/nodejs/dbformysql/v20220101/azureADAdministrator.ts +++ b/sdk/nodejs/dbformysql/v20220101/azureADAdministrator.ts @@ -109,7 +109,7 @@ export class AzureADAdministrator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20211201preview:AzureADAdministrator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20211201preview:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20230601preview:AzureADAdministrator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AzureADAdministrator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20220101/configuration.ts b/sdk/nodejs/dbformysql/v20220101/configuration.ts index 8624424050bc..0558b8bbe9fa 100644 --- a/sdk/nodejs/dbformysql/v20220101/configuration.ts +++ b/sdk/nodejs/dbformysql/v20220101/configuration.ts @@ -145,7 +145,7 @@ export class Configuration extends pulumi.CustomResource { resourceInputs["value"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Configuration" }, { type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20200701privatepreview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Configuration" }, { type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20200701privatepreview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }, { type: "azure-native:dbformysql/v20230601preview:Configuration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Configuration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20220101/database.ts b/sdk/nodejs/dbformysql/v20220101/database.ts index b65745413ad1..1412470b85b2 100644 --- a/sdk/nodejs/dbformysql/v20220101/database.ts +++ b/sdk/nodejs/dbformysql/v20220101/database.ts @@ -91,7 +91,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Database" }, { type: "azure-native:dbformysql/v20200701preview:Database" }, { type: "azure-native:dbformysql/v20200701privatepreview:Database" }, { type: "azure-native:dbformysql/v20210501:Database" }, { type: "azure-native:dbformysql/v20210501preview:Database" }, { type: "azure-native:dbformysql/v20211201preview:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Database" }, { type: "azure-native:dbformysql/v20200701preview:Database" }, { type: "azure-native:dbformysql/v20200701privatepreview:Database" }, { type: "azure-native:dbformysql/v20210501:Database" }, { type: "azure-native:dbformysql/v20210501preview:Database" }, { type: "azure-native:dbformysql/v20211201preview:Database" }, { type: "azure-native:dbformysql/v20230601preview:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20220101/firewallRule.ts b/sdk/nodejs/dbformysql/v20220101/firewallRule.ts index 60a34e4caed7..c840ab205e2b 100644 --- a/sdk/nodejs/dbformysql/v20220101/firewallRule.ts +++ b/sdk/nodejs/dbformysql/v20220101/firewallRule.ts @@ -97,7 +97,7 @@ export class FirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:FirewallRule" }, { type: "azure-native:dbformysql/v20200701preview:FirewallRule" }, { type: "azure-native:dbformysql/v20200701privatepreview:FirewallRule" }, { type: "azure-native:dbformysql/v20210501:FirewallRule" }, { type: "azure-native:dbformysql/v20210501preview:FirewallRule" }, { type: "azure-native:dbformysql/v20211201preview:FirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:FirewallRule" }, { type: "azure-native:dbformysql/v20200701preview:FirewallRule" }, { type: "azure-native:dbformysql/v20200701privatepreview:FirewallRule" }, { type: "azure-native:dbformysql/v20210501:FirewallRule" }, { type: "azure-native:dbformysql/v20210501preview:FirewallRule" }, { type: "azure-native:dbformysql/v20211201preview:FirewallRule" }, { type: "azure-native:dbformysql/v20230601preview:FirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20220101/server.ts b/sdk/nodejs/dbformysql/v20220101/server.ts index ade578c5bc1b..b6b37ec7ec24 100644 --- a/sdk/nodejs/dbformysql/v20220101/server.ts +++ b/sdk/nodejs/dbformysql/v20220101/server.ts @@ -186,7 +186,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }, { type: "azure-native:dbformysql/v20230601preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20220930preview/server.ts b/sdk/nodejs/dbformysql/v20220930preview/server.ts index 832062e132bd..994cfa7a1778 100644 --- a/sdk/nodejs/dbformysql/v20220930preview/server.ts +++ b/sdk/nodejs/dbformysql/v20220930preview/server.ts @@ -186,7 +186,7 @@ export class Server extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20230601preview:Server" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Server.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/dbformysql/v20230601preview/azureADAdministrator.ts b/sdk/nodejs/dbformysql/v20230601preview/azureADAdministrator.ts new file mode 100644 index 000000000000..3f912795e870 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/azureADAdministrator.ts @@ -0,0 +1,154 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Administrator. + */ +export class AzureADAdministrator extends pulumi.CustomResource { + /** + * Get an existing AzureADAdministrator 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AzureADAdministrator { + return new AzureADAdministrator(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dbformysql/v20230601preview:AzureADAdministrator'; + + /** + * Returns true if the given object is an instance of AzureADAdministrator. 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 AzureADAdministrator { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AzureADAdministrator.__pulumiType; + } + + /** + * Type of the sever administrator. + */ + public readonly administratorType!: pulumi.Output; + /** + * The resource id of the identity used for AAD Authentication. + */ + public readonly identityResourceId!: pulumi.Output; + /** + * Login name of the server administrator. + */ + public readonly login!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * SID (object ID) of the server administrator. + */ + public readonly sid!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Tenant ID of the administrator. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AzureADAdministrator 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: AzureADAdministratorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serverName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serverName'"); + } + resourceInputs["administratorName"] = args ? args.administratorName : undefined; + resourceInputs["administratorType"] = args ? args.administratorType : undefined; + resourceInputs["identityResourceId"] = args ? args.identityResourceId : undefined; + resourceInputs["login"] = args ? args.login : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serverName"] = args ? args.serverName : undefined; + resourceInputs["sid"] = args ? args.sid : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["administratorType"] = undefined /*out*/; + resourceInputs["identityResourceId"] = undefined /*out*/; + resourceInputs["login"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["sid"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20211201preview:AzureADAdministrator" }, { type: "azure-native:dbformysql/v20220101:AzureADAdministrator" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AzureADAdministrator.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AzureADAdministrator resource. + */ +export interface AzureADAdministratorArgs { + /** + * The name of the Azure AD Administrator. + */ + administratorName?: pulumi.Input; + /** + * Type of the sever administrator. + */ + administratorType?: pulumi.Input; + /** + * The resource id of the identity used for AAD Authentication. + */ + identityResourceId?: pulumi.Input; + /** + * Login name of the server administrator. + */ + login?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; + /** + * SID (object ID) of the server administrator. + */ + sid?: pulumi.Input; + /** + * Tenant ID of the administrator. + */ + tenantId?: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/configuration.ts b/sdk/nodejs/dbformysql/v20230601preview/configuration.ts new file mode 100644 index 000000000000..37e0b2228a53 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/configuration.ts @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Configuration. + */ +export class Configuration extends pulumi.CustomResource { + /** + * Get an existing Configuration 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Configuration { + return new Configuration(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dbformysql/v20230601preview:Configuration'; + + /** + * Returns true if the given object is an instance of Configuration. 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 Configuration { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Configuration.__pulumiType; + } + + /** + * Allowed values of the configuration. + */ + public /*out*/ readonly allowedValues!: pulumi.Output; + /** + * Current value of the configuration. + */ + public readonly currentValue!: pulumi.Output; + /** + * Data type of the configuration. + */ + public /*out*/ readonly dataType!: pulumi.Output; + /** + * Default value of the configuration. + */ + public /*out*/ readonly defaultValue!: pulumi.Output; + /** + * Description of the configuration. + */ + public /*out*/ readonly description!: pulumi.Output; + /** + * The link used to get the document from community or Azure site. + */ + public /*out*/ readonly documentationLink!: pulumi.Output; + /** + * If is the configuration pending restart or not. + */ + public /*out*/ readonly isConfigPendingRestart!: pulumi.Output; + /** + * If is the configuration dynamic. + */ + public /*out*/ readonly isDynamicConfig!: pulumi.Output; + /** + * If is the configuration read only. + */ + public /*out*/ readonly isReadOnly!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Source of the configuration. + */ + public readonly source!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Value of the configuration. + */ + public readonly value!: pulumi.Output; + + /** + * Create a Configuration 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: ConfigurationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serverName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serverName'"); + } + resourceInputs["configurationName"] = args ? args.configurationName : undefined; + resourceInputs["currentValue"] = args ? args.currentValue : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serverName"] = args ? args.serverName : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["value"] = args ? args.value : undefined; + resourceInputs["allowedValues"] = undefined /*out*/; + resourceInputs["dataType"] = undefined /*out*/; + resourceInputs["defaultValue"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["documentationLink"] = undefined /*out*/; + resourceInputs["isConfigPendingRestart"] = undefined /*out*/; + resourceInputs["isDynamicConfig"] = undefined /*out*/; + resourceInputs["isReadOnly"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["allowedValues"] = undefined /*out*/; + resourceInputs["currentValue"] = undefined /*out*/; + resourceInputs["dataType"] = undefined /*out*/; + resourceInputs["defaultValue"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["documentationLink"] = undefined /*out*/; + resourceInputs["isConfigPendingRestart"] = undefined /*out*/; + resourceInputs["isDynamicConfig"] = undefined /*out*/; + resourceInputs["isReadOnly"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["source"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["value"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Configuration" }, { type: "azure-native:dbformysql/v20200701preview:Configuration" }, { type: "azure-native:dbformysql/v20200701privatepreview:Configuration" }, { type: "azure-native:dbformysql/v20210501:Configuration" }, { type: "azure-native:dbformysql/v20210501preview:Configuration" }, { type: "azure-native:dbformysql/v20211201preview:Configuration" }, { type: "azure-native:dbformysql/v20220101:Configuration" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Configuration.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Configuration resource. + */ +export interface ConfigurationArgs { + /** + * The name of the server configuration. + */ + configurationName?: pulumi.Input; + /** + * Current value of the configuration. + */ + currentValue?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; + /** + * Source of the configuration. + */ + source?: pulumi.Input; + /** + * Value of the configuration. + */ + value?: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/database.ts b/sdk/nodejs/dbformysql/v20230601preview/database.ts new file mode 100644 index 000000000000..a26edcf222ac --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/database.ts @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Database. + */ +export class Database extends pulumi.CustomResource { + /** + * Get an existing Database 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Database { + return new Database(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dbformysql/v20230601preview:Database'; + + /** + * Returns true if the given object is an instance of Database. 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 Database { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Database.__pulumiType; + } + + /** + * The charset of the database. + */ + public readonly charset!: pulumi.Output; + /** + * The collation of the database. + */ + public readonly collation!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Database 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: DatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serverName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serverName'"); + } + resourceInputs["charset"] = args ? args.charset : undefined; + resourceInputs["collation"] = args ? args.collation : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serverName"] = args ? args.serverName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["charset"] = undefined /*out*/; + resourceInputs["collation"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Database" }, { type: "azure-native:dbformysql/v20200701preview:Database" }, { type: "azure-native:dbformysql/v20200701privatepreview:Database" }, { type: "azure-native:dbformysql/v20210501:Database" }, { type: "azure-native:dbformysql/v20210501preview:Database" }, { type: "azure-native:dbformysql/v20211201preview:Database" }, { type: "azure-native:dbformysql/v20220101:Database" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Database.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Database resource. + */ +export interface DatabaseArgs { + /** + * The charset of the database. + */ + charset?: pulumi.Input; + /** + * The collation of the database. + */ + collation?: pulumi.Input; + /** + * The name of the database. + */ + databaseName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/firewallRule.ts b/sdk/nodejs/dbformysql/v20230601preview/firewallRule.ts new file mode 100644 index 000000000000..ac11da22b38b --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/firewallRule.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a server firewall rule. + */ +export class FirewallRule extends pulumi.CustomResource { + /** + * Get an existing FirewallRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FirewallRule { + return new FirewallRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dbformysql/v20230601preview:FirewallRule'; + + /** + * Returns true if the given object is an instance of FirewallRule. 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 FirewallRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === FirewallRule.__pulumiType; + } + + /** + * The end IP address of the server firewall rule. Must be IPv4 format. + */ + public readonly endIpAddress!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The start IP address of the server firewall rule. Must be IPv4 format. + */ + public readonly startIpAddress!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a FirewallRule 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: FirewallRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.endIpAddress === undefined) && !opts.urn) { + throw new Error("Missing required property 'endIpAddress'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.serverName === undefined) && !opts.urn) { + throw new Error("Missing required property 'serverName'"); + } + if ((!args || args.startIpAddress === undefined) && !opts.urn) { + throw new Error("Missing required property 'startIpAddress'"); + } + resourceInputs["endIpAddress"] = args ? args.endIpAddress : undefined; + resourceInputs["firewallRuleName"] = args ? args.firewallRuleName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serverName"] = args ? args.serverName : undefined; + resourceInputs["startIpAddress"] = args ? args.startIpAddress : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["endIpAddress"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["startIpAddress"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:FirewallRule" }, { type: "azure-native:dbformysql/v20200701preview:FirewallRule" }, { type: "azure-native:dbformysql/v20200701privatepreview:FirewallRule" }, { type: "azure-native:dbformysql/v20210501:FirewallRule" }, { type: "azure-native:dbformysql/v20210501preview:FirewallRule" }, { type: "azure-native:dbformysql/v20211201preview:FirewallRule" }, { type: "azure-native:dbformysql/v20220101:FirewallRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(FirewallRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a FirewallRule resource. + */ +export interface FirewallRuleArgs { + /** + * The end IP address of the server firewall rule. Must be IPv4 format. + */ + endIpAddress: pulumi.Input; + /** + * The name of the server firewall rule. + */ + firewallRuleName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; + /** + * The start IP address of the server firewall rule. Must be IPv4 format. + */ + startIpAddress: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/getAzureADAdministrator.ts b/sdk/nodejs/dbformysql/v20230601preview/getAzureADAdministrator.ts new file mode 100644 index 000000000000..004f31bff464 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/getAzureADAdministrator.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about an azure ad administrator. + */ +export function getAzureADAdministrator(args: GetAzureADAdministratorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dbformysql/v20230601preview:getAzureADAdministrator", { + "administratorName": args.administratorName, + "resourceGroupName": args.resourceGroupName, + "serverName": args.serverName, + }, opts); +} + +export interface GetAzureADAdministratorArgs { + /** + * The name of the Azure AD Administrator. + */ + administratorName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the server. + */ + serverName: string; +} + +/** + * Represents a Administrator. + */ +export interface GetAzureADAdministratorResult { + /** + * Type of the sever administrator. + */ + readonly administratorType?: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The resource id of the identity used for AAD Authentication. + */ + readonly identityResourceId?: string; + /** + * Login name of the server administrator. + */ + readonly login?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * SID (object ID) of the server administrator. + */ + readonly sid?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.dbformysql.v20230601preview.SystemDataResponse; + /** + * Tenant ID of the administrator. + */ + readonly tenantId?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets information about an azure ad administrator. + */ +export function getAzureADAdministratorOutput(args: GetAzureADAdministratorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAzureADAdministrator(a, opts)) +} + +export interface GetAzureADAdministratorOutputArgs { + /** + * The name of the Azure AD Administrator. + */ + administratorName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/getConfiguration.ts b/sdk/nodejs/dbformysql/v20230601preview/getConfiguration.ts new file mode 100644 index 000000000000..823d900a4b41 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/getConfiguration.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about a configuration of server. + */ +export function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dbformysql/v20230601preview:getConfiguration", { + "configurationName": args.configurationName, + "resourceGroupName": args.resourceGroupName, + "serverName": args.serverName, + }, opts); +} + +export interface GetConfigurationArgs { + /** + * The name of the server configuration. + */ + configurationName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the server. + */ + serverName: string; +} + +/** + * Represents a Configuration. + */ +export interface GetConfigurationResult { + /** + * Allowed values of the configuration. + */ + readonly allowedValues: string; + /** + * Current value of the configuration. + */ + readonly currentValue?: string; + /** + * Data type of the configuration. + */ + readonly dataType: string; + /** + * Default value of the configuration. + */ + readonly defaultValue: string; + /** + * Description of the configuration. + */ + readonly description: string; + /** + * The link used to get the document from community or Azure site. + */ + readonly documentationLink: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * If is the configuration pending restart or not. + */ + readonly isConfigPendingRestart: string; + /** + * If is the configuration dynamic. + */ + readonly isDynamicConfig: string; + /** + * If is the configuration read only. + */ + readonly isReadOnly: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Source of the configuration. + */ + readonly source?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.dbformysql.v20230601preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Value of the configuration. + */ + readonly value?: string; +} +/** + * Gets information about a configuration of server. + */ +export function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getConfiguration(a, opts)) +} + +export interface GetConfigurationOutputArgs { + /** + * The name of the server configuration. + */ + configurationName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/getDatabase.ts b/sdk/nodejs/dbformysql/v20230601preview/getDatabase.ts new file mode 100644 index 000000000000..d453362347f1 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/getDatabase.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about a database. + */ +export function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dbformysql/v20230601preview:getDatabase", { + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "serverName": args.serverName, + }, opts); +} + +export interface GetDatabaseArgs { + /** + * The name of the database. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the server. + */ + serverName: string; +} + +/** + * Represents a Database. + */ +export interface GetDatabaseResult { + /** + * The charset of the database. + */ + readonly charset?: string; + /** + * The collation of the database. + */ + readonly collation?: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.dbformysql.v20230601preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets information about a database. + */ +export function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDatabase(a, opts)) +} + +export interface GetDatabaseOutputArgs { + /** + * The name of the database. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/getFirewallRule.ts b/sdk/nodejs/dbformysql/v20230601preview/getFirewallRule.ts new file mode 100644 index 000000000000..f40a11562462 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/getFirewallRule.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about a server firewall rule. + */ +export function getFirewallRule(args: GetFirewallRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dbformysql/v20230601preview:getFirewallRule", { + "firewallRuleName": args.firewallRuleName, + "resourceGroupName": args.resourceGroupName, + "serverName": args.serverName, + }, opts); +} + +export interface GetFirewallRuleArgs { + /** + * The name of the server firewall rule. + */ + firewallRuleName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the server. + */ + serverName: string; +} + +/** + * Represents a server firewall rule. + */ +export interface GetFirewallRuleResult { + /** + * The end IP address of the server firewall rule. Must be IPv4 format. + */ + readonly endIpAddress: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The start IP address of the server firewall rule. Must be IPv4 format. + */ + readonly startIpAddress: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.dbformysql.v20230601preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets information about a server firewall rule. + */ +export function getFirewallRuleOutput(args: GetFirewallRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFirewallRule(a, opts)) +} + +export interface GetFirewallRuleOutputArgs { + /** + * The name of the server firewall rule. + */ + firewallRuleName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/getGetPrivateDnsZoneSuffixExecute.ts b/sdk/nodejs/dbformysql/v20230601preview/getGetPrivateDnsZoneSuffixExecute.ts new file mode 100644 index 000000000000..f9f784625b6a --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/getGetPrivateDnsZoneSuffixExecute.ts @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Get private DNS zone suffix in the cloud. + */ +export function getGetPrivateDnsZoneSuffixExecute(args?: GetGetPrivateDnsZoneSuffixExecuteArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dbformysql/v20230601preview:getGetPrivateDnsZoneSuffixExecute", { + }, opts); +} + +export interface GetGetPrivateDnsZoneSuffixExecuteArgs { +} + +/** + * The response of get private dns zone suffix. + */ +export interface GetGetPrivateDnsZoneSuffixExecuteResult { + /** + * Represents the private DNS zone suffix. + */ + readonly privateDnsZoneSuffix?: string; +} +/** + * Get private DNS zone suffix in the cloud. + */ +export function getGetPrivateDnsZoneSuffixExecuteOutput(opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(getGetPrivateDnsZoneSuffixExecute(opts)) +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/getServer.ts b/sdk/nodejs/dbformysql/v20230601preview/getServer.ts new file mode 100644 index 000000000000..88971023ff2a --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/getServer.ts @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about a server. + */ +export function getServer(args: GetServerArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:dbformysql/v20230601preview:getServer", { + "resourceGroupName": args.resourceGroupName, + "serverName": args.serverName, + }, opts); +} + +export interface GetServerArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the server. + */ + serverName: string; +} + +/** + * Represents a server. + */ +export interface GetServerResult { + /** + * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + */ + readonly administratorLogin?: string; + /** + * availability Zone information of the server. + */ + readonly availabilityZone?: string; + /** + * Backup related properties of a server. + */ + readonly backup?: outputs.dbformysql.v20230601preview.BackupResponse; + /** + * The Data Encryption for CMK. + */ + readonly dataEncryption?: outputs.dbformysql.v20230601preview.DataEncryptionResponse; + /** + * The fully qualified domain name of a server. + */ + readonly fullyQualifiedDomainName: string; + /** + * High availability related properties of a server. + */ + readonly highAvailability?: outputs.dbformysql.v20230601preview.HighAvailabilityResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The cmk identity for the server. + */ + readonly identity?: outputs.dbformysql.v20230601preview.MySQLServerIdentityResponse; + /** + * Source properties for import from storage. + */ + readonly importSourceProperties?: outputs.dbformysql.v20230601preview.ImportSourcePropertiesResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * Maintenance window of a server. + */ + readonly maintenanceWindow?: outputs.dbformysql.v20230601preview.MaintenanceWindowResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * Network related properties of a server. + */ + readonly network?: outputs.dbformysql.v20230601preview.NetworkResponse; + /** + * PrivateEndpointConnections related properties of a server. + */ + readonly privateEndpointConnections: outputs.dbformysql.v20230601preview.PrivateEndpointConnectionResponse[]; + /** + * The maximum number of replicas that a primary server can have. + */ + readonly replicaCapacity: number; + /** + * The replication role. + */ + readonly replicationRole?: string; + /** + * The SKU (pricing tier) of the server. + */ + readonly sku?: outputs.dbformysql.v20230601preview.MySQLServerSkuResponse; + /** + * The source MySQL server id. + */ + readonly sourceServerResourceId?: string; + /** + * The state of a server. + */ + readonly state: string; + /** + * Storage related properties of a server. + */ + readonly storage?: outputs.dbformysql.v20230601preview.StorageResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.dbformysql.v20230601preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Server version. + */ + readonly version?: string; +} +/** + * Gets information about a server. + */ +export function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getServer(a, opts)) +} + +export interface GetServerOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the server. + */ + serverName: pulumi.Input; +} diff --git a/sdk/nodejs/dbformysql/v20230601preview/index.ts b/sdk/nodejs/dbformysql/v20230601preview/index.ts new file mode 100644 index 000000000000..230bccdd1f52 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/index.ts @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { AzureADAdministratorArgs } from "./azureADAdministrator"; +export type AzureADAdministrator = import("./azureADAdministrator").AzureADAdministrator; +export const AzureADAdministrator: typeof import("./azureADAdministrator").AzureADAdministrator = null as any; +utilities.lazyLoad(exports, ["AzureADAdministrator"], () => require("./azureADAdministrator")); + +export { ConfigurationArgs } from "./configuration"; +export type Configuration = import("./configuration").Configuration; +export const Configuration: typeof import("./configuration").Configuration = null as any; +utilities.lazyLoad(exports, ["Configuration"], () => require("./configuration")); + +export { DatabaseArgs } from "./database"; +export type Database = import("./database").Database; +export const Database: typeof import("./database").Database = null as any; +utilities.lazyLoad(exports, ["Database"], () => require("./database")); + +export { FirewallRuleArgs } from "./firewallRule"; +export type FirewallRule = import("./firewallRule").FirewallRule; +export const FirewallRule: typeof import("./firewallRule").FirewallRule = null as any; +utilities.lazyLoad(exports, ["FirewallRule"], () => require("./firewallRule")); + +export { GetAzureADAdministratorArgs, GetAzureADAdministratorResult, GetAzureADAdministratorOutputArgs } from "./getAzureADAdministrator"; +export const getAzureADAdministrator: typeof import("./getAzureADAdministrator").getAzureADAdministrator = null as any; +export const getAzureADAdministratorOutput: typeof import("./getAzureADAdministrator").getAzureADAdministratorOutput = null as any; +utilities.lazyLoad(exports, ["getAzureADAdministrator","getAzureADAdministratorOutput"], () => require("./getAzureADAdministrator")); + +export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration"; +export const getConfiguration: typeof import("./getConfiguration").getConfiguration = null as any; +export const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput = null as any; +utilities.lazyLoad(exports, ["getConfiguration","getConfigurationOutput"], () => require("./getConfiguration")); + +export { GetDatabaseArgs, GetDatabaseResult, GetDatabaseOutputArgs } from "./getDatabase"; +export const getDatabase: typeof import("./getDatabase").getDatabase = null as any; +export const getDatabaseOutput: typeof import("./getDatabase").getDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getDatabase","getDatabaseOutput"], () => require("./getDatabase")); + +export { GetFirewallRuleArgs, GetFirewallRuleResult, GetFirewallRuleOutputArgs } from "./getFirewallRule"; +export const getFirewallRule: typeof import("./getFirewallRule").getFirewallRule = null as any; +export const getFirewallRuleOutput: typeof import("./getFirewallRule").getFirewallRuleOutput = null as any; +utilities.lazyLoad(exports, ["getFirewallRule","getFirewallRuleOutput"], () => require("./getFirewallRule")); + +export { GetGetPrivateDnsZoneSuffixExecuteArgs, GetGetPrivateDnsZoneSuffixExecuteResult } from "./getGetPrivateDnsZoneSuffixExecute"; +export const getGetPrivateDnsZoneSuffixExecute: typeof import("./getGetPrivateDnsZoneSuffixExecute").getGetPrivateDnsZoneSuffixExecute = null as any; +export const getGetPrivateDnsZoneSuffixExecuteOutput: typeof import("./getGetPrivateDnsZoneSuffixExecute").getGetPrivateDnsZoneSuffixExecuteOutput = null as any; +utilities.lazyLoad(exports, ["getGetPrivateDnsZoneSuffixExecute","getGetPrivateDnsZoneSuffixExecuteOutput"], () => require("./getGetPrivateDnsZoneSuffixExecute")); + +export { GetServerArgs, GetServerResult, GetServerOutputArgs } from "./getServer"; +export const getServer: typeof import("./getServer").getServer = null as any; +export const getServerOutput: typeof import("./getServer").getServerOutput = null as any; +utilities.lazyLoad(exports, ["getServer","getServerOutput"], () => require("./getServer")); + +export { ServerArgs } from "./server"; +export type Server = import("./server").Server; +export const Server: typeof import("./server").Server = null as any; +utilities.lazyLoad(exports, ["Server"], () => require("./server")); + + +// Export enums: +export * from "../../types/enums/dbformysql/v20230601preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:dbformysql/v20230601preview:AzureADAdministrator": + return new AzureADAdministrator(name, undefined, { urn }) + case "azure-native:dbformysql/v20230601preview:Configuration": + return new Configuration(name, undefined, { urn }) + case "azure-native:dbformysql/v20230601preview:Database": + return new Database(name, undefined, { urn }) + case "azure-native:dbformysql/v20230601preview:FirewallRule": + return new FirewallRule(name, undefined, { urn }) + case "azure-native:dbformysql/v20230601preview:Server": + return new Server(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "dbformysql/v20230601preview", _module) diff --git a/sdk/nodejs/dbformysql/v20230601preview/server.ts b/sdk/nodejs/dbformysql/v20230601preview/server.ts new file mode 100644 index 000000000000..4a1f20fee034 --- /dev/null +++ b/sdk/nodejs/dbformysql/v20230601preview/server.ts @@ -0,0 +1,295 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a server. + */ +export class Server extends pulumi.CustomResource { + /** + * Get an existing Server 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Server { + return new Server(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:dbformysql/v20230601preview:Server'; + + /** + * Returns true if the given object is an instance of Server. 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 Server { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Server.__pulumiType; + } + + /** + * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + */ + public readonly administratorLogin!: pulumi.Output; + /** + * availability Zone information of the server. + */ + public readonly availabilityZone!: pulumi.Output; + /** + * Backup related properties of a server. + */ + public readonly backup!: pulumi.Output; + /** + * The Data Encryption for CMK. + */ + public readonly dataEncryption!: pulumi.Output; + /** + * The fully qualified domain name of a server. + */ + public /*out*/ readonly fullyQualifiedDomainName!: pulumi.Output; + /** + * High availability related properties of a server. + */ + public readonly highAvailability!: pulumi.Output; + /** + * The cmk identity for the server. + */ + public readonly identity!: pulumi.Output; + /** + * Source properties for import from storage. + */ + public readonly importSourceProperties!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * Maintenance window of a server. + */ + public readonly maintenanceWindow!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Network related properties of a server. + */ + public readonly network!: pulumi.Output; + /** + * PrivateEndpointConnections related properties of a server. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * The maximum number of replicas that a primary server can have. + */ + public /*out*/ readonly replicaCapacity!: pulumi.Output; + /** + * The replication role. + */ + public readonly replicationRole!: pulumi.Output; + /** + * The SKU (pricing tier) of the server. + */ + public readonly sku!: pulumi.Output; + /** + * The source MySQL server id. + */ + public readonly sourceServerResourceId!: pulumi.Output; + /** + * The state of a server. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * Storage related properties of a server. + */ + public readonly storage!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Server version. + */ + public readonly version!: pulumi.Output; + + /** + * Create a Server 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: ServerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["administratorLogin"] = args ? args.administratorLogin : undefined; + resourceInputs["administratorLoginPassword"] = args ? args.administratorLoginPassword : undefined; + resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined; + resourceInputs["backup"] = args ? (args.backup ? pulumi.output(args.backup).apply(inputs.dbformysql.v20230601preview.backupArgsProvideDefaults) : undefined) : undefined; + resourceInputs["createMode"] = args ? args.createMode : undefined; + resourceInputs["dataEncryption"] = args ? args.dataEncryption : undefined; + resourceInputs["highAvailability"] = args ? args.highAvailability : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["importSourceProperties"] = args ? args.importSourceProperties : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["maintenanceWindow"] = args ? args.maintenanceWindow : undefined; + resourceInputs["network"] = args ? args.network : undefined; + resourceInputs["replicationRole"] = args ? args.replicationRole : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["restorePointInTime"] = args ? args.restorePointInTime : undefined; + resourceInputs["serverName"] = args ? args.serverName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["sourceServerResourceId"] = args ? args.sourceServerResourceId : undefined; + resourceInputs["storage"] = args ? (args.storage ? pulumi.output(args.storage).apply(inputs.dbformysql.v20230601preview.storageArgsProvideDefaults) : undefined) : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["fullyQualifiedDomainName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["replicaCapacity"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["administratorLogin"] = undefined /*out*/; + resourceInputs["availabilityZone"] = undefined /*out*/; + resourceInputs["backup"] = undefined /*out*/; + resourceInputs["dataEncryption"] = undefined /*out*/; + resourceInputs["fullyQualifiedDomainName"] = undefined /*out*/; + resourceInputs["highAvailability"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["importSourceProperties"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["maintenanceWindow"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["network"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["replicaCapacity"] = undefined /*out*/; + resourceInputs["replicationRole"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["sourceServerResourceId"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["storage"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:dbformysql:Server" }, { type: "azure-native:dbformysql/v20200701preview:Server" }, { type: "azure-native:dbformysql/v20200701privatepreview:Server" }, { type: "azure-native:dbformysql/v20210501:Server" }, { type: "azure-native:dbformysql/v20210501preview:Server" }, { type: "azure-native:dbformysql/v20211201preview:Server" }, { type: "azure-native:dbformysql/v20220101:Server" }, { type: "azure-native:dbformysql/v20220930preview:Server" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Server.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Server resource. + */ +export interface ServerArgs { + /** + * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + */ + administratorLogin?: pulumi.Input; + /** + * The password of the administrator login (required for server creation). + */ + administratorLoginPassword?: pulumi.Input; + /** + * availability Zone information of the server. + */ + availabilityZone?: pulumi.Input; + /** + * Backup related properties of a server. + */ + backup?: pulumi.Input; + /** + * The mode to create a new MySQL server. + */ + createMode?: pulumi.Input; + /** + * The Data Encryption for CMK. + */ + dataEncryption?: pulumi.Input; + /** + * High availability related properties of a server. + */ + highAvailability?: pulumi.Input; + /** + * The cmk identity for the server. + */ + identity?: pulumi.Input; + /** + * Source properties for import from storage. + */ + importSourceProperties?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Maintenance window of a server. + */ + maintenanceWindow?: pulumi.Input; + /** + * Network related properties of a server. + */ + network?: pulumi.Input; + /** + * The replication role. + */ + replicationRole?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Restore point creation time (ISO8601 format), specifying the time to restore from. + */ + restorePointInTime?: pulumi.Input; + /** + * The name of the server. + */ + serverName?: pulumi.Input; + /** + * The SKU (pricing tier) of the server. + */ + sku?: pulumi.Input; + /** + * The source MySQL server id. + */ + sourceServerResourceId?: pulumi.Input; + /** + * Storage related properties of a server. + */ + storage?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Server version. + */ + version?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/application.ts b/sdk/nodejs/desktopvirtualization/application.ts index 7520164321ed..293725c6ab54 100644 --- a/sdk/nodejs/desktopvirtualization/application.ts +++ b/sdk/nodejs/desktopvirtualization/application.ts @@ -167,7 +167,7 @@ export class Application extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }, { type: "azure-native:desktopvirtualization/v20230905:Application" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Application.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/applicationGroup.ts b/sdk/nodejs/desktopvirtualization/applicationGroup.ts index c110fafa7928..6ff6b83473f3 100644 --- a/sdk/nodejs/desktopvirtualization/applicationGroup.ts +++ b/sdk/nodejs/desktopvirtualization/applicationGroup.ts @@ -163,7 +163,7 @@ export class ApplicationGroup extends pulumi.CustomResource { resourceInputs["workspaceArmPath"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230905:ApplicationGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ApplicationGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/hostPool.ts b/sdk/nodejs/desktopvirtualization/hostPool.ts index 11f6c17bc10f..4ef8e7b07c41 100644 --- a/sdk/nodejs/desktopvirtualization/hostPool.ts +++ b/sdk/nodejs/desktopvirtualization/hostPool.ts @@ -250,7 +250,7 @@ export class HostPool extends pulumi.CustomResource { resourceInputs["vmTemplate"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230905:HostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/index.ts b/sdk/nodejs/desktopvirtualization/index.ts index c783c533070b..d07ce06267d3 100644 --- a/sdk/nodejs/desktopvirtualization/index.ts +++ b/sdk/nodejs/desktopvirtualization/index.ts @@ -116,6 +116,7 @@ import * as v20220401preview from "./v20220401preview"; import * as v20220909 from "./v20220909"; import * as v20221014preview from "./v20221014preview"; import * as v20230707preview from "./v20230707preview"; +import * as v20230905 from "./v20230905"; export { v20210201preview, @@ -124,6 +125,7 @@ export { v20220909, v20221014preview, v20230707preview, + v20230905, }; const _module = { diff --git a/sdk/nodejs/desktopvirtualization/msixpackage.ts b/sdk/nodejs/desktopvirtualization/msixpackage.ts index 6cd8cb2864ac..635faee639ee 100644 --- a/sdk/nodejs/desktopvirtualization/msixpackage.ts +++ b/sdk/nodejs/desktopvirtualization/msixpackage.ts @@ -146,7 +146,7 @@ export class MSIXPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230905:MSIXPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSIXPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByHostPool.ts b/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByHostPool.ts index e391e3b7a416..554053619b1d 100644 --- a/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByHostPool.ts +++ b/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByHostPool.ts @@ -101,7 +101,7 @@ export class PrivateEndpointConnectionByHostPool extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnectionByHostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByWorkspace.ts b/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByWorkspace.ts index 10e0dbc8ace9..89e04196b9ad 100644 --- a/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByWorkspace.ts +++ b/sdk/nodejs/desktopvirtualization/privateEndpointConnectionByWorkspace.ts @@ -101,7 +101,7 @@ export class PrivateEndpointConnectionByWorkspace extends pulumi.CustomResource resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnectionByWorkspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/scalingPlan.ts index 8a7d70b65aea..272b90b9115a 100644 --- a/sdk/nodejs/desktopvirtualization/scalingPlan.ts +++ b/sdk/nodejs/desktopvirtualization/scalingPlan.ts @@ -166,7 +166,7 @@ export class ScalingPlan extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/scalingPlanPersonalSchedule.ts b/sdk/nodejs/desktopvirtualization/scalingPlanPersonalSchedule.ts index 98a50507fb94..b79cc458815e 100644 --- a/sdk/nodejs/desktopvirtualization/scalingPlanPersonalSchedule.ts +++ b/sdk/nodejs/desktopvirtualization/scalingPlanPersonalSchedule.ts @@ -236,7 +236,7 @@ export class ScalingPlanPersonalSchedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlanPersonalSchedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/scalingPlanPooledSchedule.ts b/sdk/nodejs/desktopvirtualization/scalingPlanPooledSchedule.ts index eae1b758a270..6b526791c983 100644 --- a/sdk/nodejs/desktopvirtualization/scalingPlanPooledSchedule.ts +++ b/sdk/nodejs/desktopvirtualization/scalingPlanPooledSchedule.ts @@ -182,7 +182,7 @@ export class ScalingPlanPooledSchedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlanPooledSchedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20210201preview/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20210201preview/scalingPlan.ts index 8cc0ffa492ed..d87458696f71 100644 --- a/sdk/nodejs/desktopvirtualization/v20210201preview/scalingPlan.ts +++ b/sdk/nodejs/desktopvirtualization/v20210201preview/scalingPlan.ts @@ -162,7 +162,7 @@ export class ScalingPlan extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220210preview/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20220210preview/scalingPlan.ts index 4f04acab1529..ad82cea635e3 100644 --- a/sdk/nodejs/desktopvirtualization/v20220210preview/scalingPlan.ts +++ b/sdk/nodejs/desktopvirtualization/v20220210preview/scalingPlan.ts @@ -162,7 +162,7 @@ export class ScalingPlan extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220401preview/applicationGroup.ts b/sdk/nodejs/desktopvirtualization/v20220401preview/applicationGroup.ts index 0e131540bb53..d0b1c2ab0446 100644 --- a/sdk/nodejs/desktopvirtualization/v20220401preview/applicationGroup.ts +++ b/sdk/nodejs/desktopvirtualization/v20220401preview/applicationGroup.ts @@ -168,7 +168,7 @@ export class ApplicationGroup extends pulumi.CustomResource { resourceInputs["workspaceArmPath"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230905:ApplicationGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ApplicationGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220401preview/hostPool.ts b/sdk/nodejs/desktopvirtualization/v20220401preview/hostPool.ts index 69abd7e85b69..60396f676546 100644 --- a/sdk/nodejs/desktopvirtualization/v20220401preview/hostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20220401preview/hostPool.ts @@ -267,7 +267,7 @@ export class HostPool extends pulumi.CustomResource { resourceInputs["vmTemplate"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230905:HostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/application.ts b/sdk/nodejs/desktopvirtualization/v20220909/application.ts index 4860822fdf72..7cf310ce0900 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/application.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/application.ts @@ -166,7 +166,7 @@ export class Application extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }, { type: "azure-native:desktopvirtualization/v20230905:Application" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Application.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/applicationGroup.ts b/sdk/nodejs/desktopvirtualization/v20220909/applicationGroup.ts index 06f495e6ffda..f547886f41e3 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/applicationGroup.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/applicationGroup.ts @@ -162,7 +162,7 @@ export class ApplicationGroup extends pulumi.CustomResource { resourceInputs["workspaceArmPath"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230905:ApplicationGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ApplicationGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/hostPool.ts b/sdk/nodejs/desktopvirtualization/v20220909/hostPool.ts index 6029b42f8e5d..c8fc2519df98 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/hostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/hostPool.ts @@ -249,7 +249,7 @@ export class HostPool extends pulumi.CustomResource { resourceInputs["vmTemplate"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230905:HostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/msixpackage.ts b/sdk/nodejs/desktopvirtualization/v20220909/msixpackage.ts index 3c668f1f8bac..de7bce5e3e05 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/msixpackage.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/msixpackage.ts @@ -145,7 +145,7 @@ export class MSIXPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230905:MSIXPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSIXPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20220909/scalingPlan.ts index 097516e2f6fd..45d278338ca6 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/scalingPlan.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/scalingPlan.ts @@ -165,7 +165,7 @@ export class ScalingPlan extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/scalingPlanPooledSchedule.ts b/sdk/nodejs/desktopvirtualization/v20220909/scalingPlanPooledSchedule.ts index 67d858015aa4..1e05de28c960 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/scalingPlanPooledSchedule.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/scalingPlanPooledSchedule.ts @@ -181,7 +181,7 @@ export class ScalingPlanPooledSchedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlanPooledSchedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20220909/workspace.ts b/sdk/nodejs/desktopvirtualization/v20220909/workspace.ts index 61cb651de957..e273f7528a0f 100644 --- a/sdk/nodejs/desktopvirtualization/v20220909/workspace.ts +++ b/sdk/nodejs/desktopvirtualization/v20220909/workspace.ts @@ -144,7 +144,7 @@ export class Workspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230905:Workspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Workspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/application.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/application.ts index e4180055f09d..5985c7d25baf 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/application.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/application.ts @@ -166,7 +166,7 @@ export class Application extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }, { type: "azure-native:desktopvirtualization/v20230905:Application" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Application.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/applicationGroup.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/applicationGroup.ts index a0d315082de5..a869478d36e3 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/applicationGroup.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/applicationGroup.ts @@ -162,7 +162,7 @@ export class ApplicationGroup extends pulumi.CustomResource { resourceInputs["workspaceArmPath"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230905:ApplicationGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ApplicationGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/hostPool.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/hostPool.ts index 027f5928ff5a..3a968c11c6d8 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/hostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/hostPool.ts @@ -261,7 +261,7 @@ export class HostPool extends pulumi.CustomResource { resourceInputs["vmTemplate"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230905:HostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/msixpackage.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/msixpackage.ts index 3cc5804de122..8b71b180c5ba 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/msixpackage.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/msixpackage.ts @@ -145,7 +145,7 @@ export class MSIXPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230905:MSIXPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSIXPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByHostPool.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByHostPool.ts index f0690f44ed83..2fd66ab652ca 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByHostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByHostPool.ts @@ -100,7 +100,7 @@ export class PrivateEndpointConnectionByHostPool extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnectionByHostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByWorkspace.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByWorkspace.ts index 726f7f1fc373..7c8330340fdb 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByWorkspace.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/privateEndpointConnectionByWorkspace.ts @@ -100,7 +100,7 @@ export class PrivateEndpointConnectionByWorkspace extends pulumi.CustomResource resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnectionByWorkspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlan.ts index 32281fdf9bde..415cd9fbd4be 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlan.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlan.ts @@ -165,7 +165,7 @@ export class ScalingPlan extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlanPooledSchedule.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlanPooledSchedule.ts index ddb9986b645e..7deb393a76af 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlanPooledSchedule.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/scalingPlanPooledSchedule.ts @@ -181,7 +181,7 @@ export class ScalingPlanPooledSchedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlanPooledSchedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20221014preview/workspace.ts b/sdk/nodejs/desktopvirtualization/v20221014preview/workspace.ts index 34f0f07c67a7..7cd705dc18f1 100644 --- a/sdk/nodejs/desktopvirtualization/v20221014preview/workspace.ts +++ b/sdk/nodejs/desktopvirtualization/v20221014preview/workspace.ts @@ -156,7 +156,7 @@ export class Workspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230905:Workspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Workspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/application.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/application.ts index 0d7cdfd5178a..761f24d1757a 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/application.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/application.ts @@ -166,7 +166,7 @@ export class Application extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }, { type: "azure-native:desktopvirtualization/v20230905:Application" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Application.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/applicationGroup.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/applicationGroup.ts index 9c7672121c3c..5d785fa381e6 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/applicationGroup.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/applicationGroup.ts @@ -168,7 +168,7 @@ export class ApplicationGroup extends pulumi.CustomResource { resourceInputs["workspaceArmPath"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230905:ApplicationGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ApplicationGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/hostPool.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/hostPool.ts index 873e914ae9c0..e2f620399a95 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/hostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/hostPool.ts @@ -261,7 +261,7 @@ export class HostPool extends pulumi.CustomResource { resourceInputs["vmTemplate"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230905:HostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/msixpackage.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/msixpackage.ts index b70829652b4c..d955d1827a32 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/msixpackage.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/msixpackage.ts @@ -145,7 +145,7 @@ export class MSIXPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230905:MSIXPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSIXPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByHostPool.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByHostPool.ts index e7b0d53cf3cd..05ffa0ac7176 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByHostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByHostPool.ts @@ -100,7 +100,7 @@ export class PrivateEndpointConnectionByHostPool extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnectionByHostPool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByWorkspace.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByWorkspace.ts index e1b1fc7636b4..68a32c95aaab 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByWorkspace.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/privateEndpointConnectionByWorkspace.ts @@ -100,7 +100,7 @@ export class PrivateEndpointConnectionByWorkspace extends pulumi.CustomResource resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnectionByWorkspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlan.ts index 8271b09e71f8..20b198ba0a15 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlan.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlan.ts @@ -165,7 +165,7 @@ export class ScalingPlan extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPersonalSchedule.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPersonalSchedule.ts index 579517f65226..4af53f7bcb59 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPersonalSchedule.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPersonalSchedule.ts @@ -235,7 +235,7 @@ export class ScalingPlanPersonalSchedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPersonalSchedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPersonalSchedule" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlanPersonalSchedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPooledSchedule.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPooledSchedule.ts index cb3e068fb23d..fc4dcfc432f3 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPooledSchedule.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/scalingPlanPooledSchedule.ts @@ -181,7 +181,7 @@ export class ScalingPlanPooledSchedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScalingPlanPooledSchedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230707preview/workspace.ts b/sdk/nodejs/desktopvirtualization/v20230707preview/workspace.ts index a9a499b44450..a1164e0b3045 100644 --- a/sdk/nodejs/desktopvirtualization/v20230707preview/workspace.ts +++ b/sdk/nodejs/desktopvirtualization/v20230707preview/workspace.ts @@ -156,7 +156,7 @@ export class Workspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230905:Workspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Workspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/desktopvirtualization/v20230905/application.ts b/sdk/nodejs/desktopvirtualization/v20230905/application.ts new file mode 100644 index 000000000000..969ea138dab0 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/application.ts @@ -0,0 +1,235 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Schema for Application properties. + */ +export class Application extends pulumi.CustomResource { + /** + * Get an existing Application 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Application { + return new Application(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:Application'; + + /** + * Returns true if the given object is an instance of Application. 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 Application { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Application.__pulumiType; + } + + /** + * Resource Type of Application. + */ + public readonly applicationType!: pulumi.Output; + /** + * Command Line Arguments for Application. + */ + public readonly commandLineArguments!: pulumi.Output; + /** + * Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + */ + public readonly commandLineSetting!: pulumi.Output; + /** + * Description of Application. + */ + public readonly description!: pulumi.Output; + /** + * Specifies a path for the executable file for the application. + */ + public readonly filePath!: pulumi.Output; + /** + * Friendly name of Application. + */ + public readonly friendlyName!: pulumi.Output; + /** + * the icon a 64 bit string as a byte array. + */ + public /*out*/ readonly iconContent!: pulumi.Output; + /** + * Hash of the icon. + */ + public /*out*/ readonly iconHash!: pulumi.Output; + /** + * Index of the icon. + */ + public readonly iconIndex!: pulumi.Output; + /** + * Path to icon. + */ + public readonly iconPath!: pulumi.Output; + /** + * Specifies the package application Id for MSIX applications + */ + public readonly msixPackageApplicationId!: pulumi.Output; + /** + * Specifies the package family name for MSIX applications + */ + public readonly msixPackageFamilyName!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ObjectId of Application. (internal use) + */ + public /*out*/ readonly objectId!: pulumi.Output; + /** + * Specifies whether to show the RemoteApp program in the RD Web Access server. + */ + public readonly showInPortal!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Application 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: ApplicationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.applicationGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'applicationGroupName'"); + } + if ((!args || args.commandLineSetting === undefined) && !opts.urn) { + throw new Error("Missing required property 'commandLineSetting'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["applicationGroupName"] = args ? args.applicationGroupName : undefined; + resourceInputs["applicationName"] = args ? args.applicationName : undefined; + resourceInputs["applicationType"] = args ? args.applicationType : undefined; + resourceInputs["commandLineArguments"] = args ? args.commandLineArguments : undefined; + resourceInputs["commandLineSetting"] = args ? args.commandLineSetting : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["filePath"] = args ? args.filePath : undefined; + resourceInputs["friendlyName"] = args ? args.friendlyName : undefined; + resourceInputs["iconIndex"] = args ? args.iconIndex : undefined; + resourceInputs["iconPath"] = args ? args.iconPath : undefined; + resourceInputs["msixPackageApplicationId"] = args ? args.msixPackageApplicationId : undefined; + resourceInputs["msixPackageFamilyName"] = args ? args.msixPackageFamilyName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["showInPortal"] = args ? args.showInPortal : undefined; + resourceInputs["iconContent"] = undefined /*out*/; + resourceInputs["iconHash"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["applicationType"] = undefined /*out*/; + resourceInputs["commandLineArguments"] = undefined /*out*/; + resourceInputs["commandLineSetting"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["filePath"] = undefined /*out*/; + resourceInputs["friendlyName"] = undefined /*out*/; + resourceInputs["iconContent"] = undefined /*out*/; + resourceInputs["iconHash"] = undefined /*out*/; + resourceInputs["iconIndex"] = undefined /*out*/; + resourceInputs["iconPath"] = undefined /*out*/; + resourceInputs["msixPackageApplicationId"] = undefined /*out*/; + resourceInputs["msixPackageFamilyName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["showInPortal"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Application" }, { type: "azure-native:desktopvirtualization/v20190123preview:Application" }, { type: "azure-native:desktopvirtualization/v20190924preview:Application" }, { type: "azure-native:desktopvirtualization/v20191210preview:Application" }, { type: "azure-native:desktopvirtualization/v20200921preview:Application" }, { type: "azure-native:desktopvirtualization/v20201019preview:Application" }, { type: "azure-native:desktopvirtualization/v20201102preview:Application" }, { type: "azure-native:desktopvirtualization/v20201110preview:Application" }, { type: "azure-native:desktopvirtualization/v20210114preview:Application" }, { type: "azure-native:desktopvirtualization/v20210201preview:Application" }, { type: "azure-native:desktopvirtualization/v20210309preview:Application" }, { type: "azure-native:desktopvirtualization/v20210401preview:Application" }, { type: "azure-native:desktopvirtualization/v20210712:Application" }, { type: "azure-native:desktopvirtualization/v20210903preview:Application" }, { type: "azure-native:desktopvirtualization/v20220210preview:Application" }, { type: "azure-native:desktopvirtualization/v20220401preview:Application" }, { type: "azure-native:desktopvirtualization/v20220909:Application" }, { type: "azure-native:desktopvirtualization/v20221014preview:Application" }, { type: "azure-native:desktopvirtualization/v20230707preview:Application" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Application.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Application resource. + */ +export interface ApplicationArgs { + /** + * The name of the application group + */ + applicationGroupName: pulumi.Input; + /** + * The name of the application within the specified application group + */ + applicationName?: pulumi.Input; + /** + * Resource Type of Application. + */ + applicationType?: pulumi.Input; + /** + * Command Line Arguments for Application. + */ + commandLineArguments?: pulumi.Input; + /** + * Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + */ + commandLineSetting: pulumi.Input; + /** + * Description of Application. + */ + description?: pulumi.Input; + /** + * Specifies a path for the executable file for the application. + */ + filePath?: pulumi.Input; + /** + * Friendly name of Application. + */ + friendlyName?: pulumi.Input; + /** + * Index of the icon. + */ + iconIndex?: pulumi.Input; + /** + * Path to icon. + */ + iconPath?: pulumi.Input; + /** + * Specifies the package application Id for MSIX applications + */ + msixPackageApplicationId?: pulumi.Input; + /** + * Specifies the package family name for MSIX applications + */ + msixPackageFamilyName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Specifies whether to show the RemoteApp program in the RD Web Access server. + */ + showInPortal?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/applicationGroup.ts b/sdk/nodejs/desktopvirtualization/v20230905/applicationGroup.ts new file mode 100644 index 000000000000..cf3c1e2e1ced --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/applicationGroup.ts @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a ApplicationGroup definition. + */ +export class ApplicationGroup extends pulumi.CustomResource { + /** + * Get an existing ApplicationGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ApplicationGroup { + return new ApplicationGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:ApplicationGroup'; + + /** + * Returns true if the given object is an instance of ApplicationGroup. 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 ApplicationGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ApplicationGroup.__pulumiType; + } + + /** + * Resource Type of ApplicationGroup. + */ + public readonly applicationGroupType!: pulumi.Output; + /** + * Is cloud pc resource. + */ + public /*out*/ readonly cloudPcResource!: pulumi.Output; + /** + * Description of ApplicationGroup. + */ + public readonly description!: pulumi.Output; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Friendly name of ApplicationGroup. + */ + public readonly friendlyName!: pulumi.Output; + /** + * HostPool arm path of ApplicationGroup. + */ + public readonly hostPoolArmPath!: pulumi.Output; + public readonly identity!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + public readonly managedBy!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ObjectId of ApplicationGroup. (internal use) + */ + public /*out*/ readonly objectId!: pulumi.Output; + public readonly plan!: pulumi.Output; + /** + * Boolean representing whether the applicationGroup is show in the feed. + */ + public readonly showInFeed!: pulumi.Output; + public readonly sku!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Workspace arm path of ApplicationGroup. + */ + public /*out*/ readonly workspaceArmPath!: pulumi.Output; + + /** + * Create a ApplicationGroup 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: ApplicationGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.applicationGroupType === undefined) && !opts.urn) { + throw new Error("Missing required property 'applicationGroupType'"); + } + if ((!args || args.hostPoolArmPath === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostPoolArmPath'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["applicationGroupName"] = args ? args.applicationGroupName : undefined; + resourceInputs["applicationGroupType"] = args ? args.applicationGroupType : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["friendlyName"] = args ? args.friendlyName : undefined; + resourceInputs["hostPoolArmPath"] = args ? args.hostPoolArmPath : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedBy"] = args ? args.managedBy : undefined; + resourceInputs["plan"] = args ? args.plan : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["showInFeed"] = args ? args.showInFeed : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["cloudPcResource"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["workspaceArmPath"] = undefined /*out*/; + } else { + resourceInputs["applicationGroupType"] = undefined /*out*/; + resourceInputs["cloudPcResource"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["friendlyName"] = undefined /*out*/; + resourceInputs["hostPoolArmPath"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedBy"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["plan"] = undefined /*out*/; + resourceInputs["showInFeed"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["workspaceArmPath"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190123preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20190924preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20191210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20200921preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201019preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201102preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20201110preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210114preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210201preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210309preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210712:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20210903preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220210preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220401preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20220909:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20221014preview:ApplicationGroup" }, { type: "azure-native:desktopvirtualization/v20230707preview:ApplicationGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ApplicationGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ApplicationGroup resource. + */ +export interface ApplicationGroupArgs { + /** + * The name of the application group + */ + applicationGroupName?: pulumi.Input; + /** + * Resource Type of ApplicationGroup. + */ + applicationGroupType: pulumi.Input; + /** + * Description of ApplicationGroup. + */ + description?: pulumi.Input; + /** + * Friendly name of ApplicationGroup. + */ + friendlyName?: pulumi.Input; + /** + * HostPool arm path of ApplicationGroup. + */ + hostPoolArmPath: pulumi.Input; + identity?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + managedBy?: pulumi.Input; + plan?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Boolean representing whether the applicationGroup is show in the feed. + */ + showInFeed?: pulumi.Input; + sku?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getApplication.ts b/sdk/nodejs/desktopvirtualization/v20230905/getApplication.ts new file mode 100644 index 000000000000..557dd41fa2be --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getApplication.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get an application. + */ +export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getApplication", { + "applicationGroupName": args.applicationGroupName, + "applicationName": args.applicationName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetApplicationArgs { + /** + * The name of the application group + */ + applicationGroupName: string; + /** + * The name of the application within the specified application group + */ + applicationName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Schema for Application properties. + */ +export interface GetApplicationResult { + /** + * Resource Type of Application. + */ + readonly applicationType?: string; + /** + * Command Line Arguments for Application. + */ + readonly commandLineArguments?: string; + /** + * Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + */ + readonly commandLineSetting: string; + /** + * Description of Application. + */ + readonly description?: string; + /** + * Specifies a path for the executable file for the application. + */ + readonly filePath?: string; + /** + * Friendly name of Application. + */ + readonly friendlyName?: string; + /** + * the icon a 64 bit string as a byte array. + */ + readonly iconContent: string; + /** + * Hash of the icon. + */ + readonly iconHash: string; + /** + * Index of the icon. + */ + readonly iconIndex?: number; + /** + * Path to icon. + */ + readonly iconPath?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Specifies the package application Id for MSIX applications + */ + readonly msixPackageApplicationId?: string; + /** + * Specifies the package family name for MSIX applications + */ + readonly msixPackageFamilyName?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * ObjectId of Application. (internal use) + */ + readonly objectId: string; + /** + * Specifies whether to show the RemoteApp program in the RD Web Access server. + */ + readonly showInPortal?: boolean; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get an application. + */ +export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getApplication(a, opts)) +} + +export interface GetApplicationOutputArgs { + /** + * The name of the application group + */ + applicationGroupName: pulumi.Input; + /** + * The name of the application within the specified application group + */ + applicationName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getApplicationGroup.ts b/sdk/nodejs/desktopvirtualization/v20230905/getApplicationGroup.ts new file mode 100644 index 000000000000..0fcc7a29e77e --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getApplicationGroup.ts @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get an application group. + */ +export function getApplicationGroup(args: GetApplicationGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getApplicationGroup", { + "applicationGroupName": args.applicationGroupName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetApplicationGroupArgs { + /** + * The name of the application group + */ + applicationGroupName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a ApplicationGroup definition. + */ +export interface GetApplicationGroupResult { + /** + * Resource Type of ApplicationGroup. + */ + readonly applicationGroupType: string; + /** + * Is cloud pc resource. + */ + readonly cloudPcResource: boolean; + /** + * Description of ApplicationGroup. + */ + readonly description?: string; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly etag: string; + /** + * Friendly name of ApplicationGroup. + */ + readonly friendlyName?: string; + /** + * HostPool arm path of ApplicationGroup. + */ + readonly hostPoolArmPath: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + readonly identity?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseIdentity; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * The geo-location where the resource lives + */ + readonly location?: string; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + readonly managedBy?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * ObjectId of ApplicationGroup. (internal use) + */ + readonly objectId: string; + readonly plan?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponsePlan; + /** + * Boolean representing whether the applicationGroup is show in the feed. + */ + readonly showInFeed?: boolean; + readonly sku?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseSku; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Workspace arm path of ApplicationGroup. + */ + readonly workspaceArmPath: string; +} +/** + * Get an application group. + */ +export function getApplicationGroupOutput(args: GetApplicationGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getApplicationGroup(a, opts)) +} + +export interface GetApplicationGroupOutputArgs { + /** + * The name of the application group + */ + applicationGroupName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getHostPool.ts b/sdk/nodejs/desktopvirtualization/v20230905/getHostPool.ts new file mode 100644 index 000000000000..3eec17a979f4 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getHostPool.ts @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a host pool. + */ +export function getHostPool(args: GetHostPoolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getHostPool", { + "hostPoolName": args.hostPoolName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetHostPoolArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a HostPool definition. + */ +export interface GetHostPoolResult { + /** + * The session host configuration for updating agent, monitoring agent, and stack component. + */ + readonly agentUpdate?: outputs.desktopvirtualization.v20230905.AgentUpdatePropertiesResponse; + /** + * List of applicationGroup links. + */ + readonly applicationGroupReferences: string[]; + /** + * Is cloud pc resource. + */ + readonly cloudPcResource: boolean; + /** + * Custom rdp property of HostPool. + */ + readonly customRdpProperty?: string; + /** + * Description of HostPool. + */ + readonly description?: string; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly etag: string; + /** + * Friendly name of HostPool. + */ + readonly friendlyName?: string; + /** + * HostPool type for desktop. + */ + readonly hostPoolType: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + readonly identity?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseIdentity; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * The type of the load balancer. + */ + readonly loadBalancerType: string; + /** + * The geo-location where the resource lives + */ + readonly location?: string; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + readonly managedBy?: string; + /** + * The max session limit of HostPool. + */ + readonly maxSessionLimit?: number; + /** + * The name of the resource + */ + readonly name: string; + /** + * ObjectId of HostPool. (internal use) + */ + readonly objectId: string; + /** + * PersonalDesktopAssignment type for HostPool. + */ + readonly personalDesktopAssignmentType?: string; + readonly plan?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponsePlan; + /** + * The type of preferred application group type, default to Desktop Application Group + */ + readonly preferredAppGroupType: string; + /** + * List of private endpoint connection associated with the specified resource + */ + readonly privateEndpointConnections: outputs.desktopvirtualization.v20230905.PrivateEndpointConnectionResponse[]; + /** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ + readonly publicNetworkAccess?: string; + /** + * The registration info of HostPool. + */ + readonly registrationInfo?: outputs.desktopvirtualization.v20230905.RegistrationInfoResponse; + /** + * The ring number of HostPool. + */ + readonly ring?: number; + readonly sku?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseSku; + /** + * ClientId for the registered Relying Party used to issue WVD SSO certificates. + */ + readonly ssoClientId?: string; + /** + * Path to Azure KeyVault storing the secret used for communication to ADFS. + */ + readonly ssoClientSecretKeyVaultPath?: string; + /** + * The type of single sign on Secret Type. + */ + readonly ssoSecretType?: string; + /** + * URL to customer ADFS server for signing WVD SSO certificates. + */ + readonly ssoadfsAuthority?: string; + /** + * The flag to turn on/off StartVMOnConnect feature. + */ + readonly startVMOnConnect?: boolean; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Is validation environment. + */ + readonly validationEnvironment?: boolean; + /** + * VM template for sessionhosts configuration within hostpool. + */ + readonly vmTemplate?: string; +} +/** + * Get a host pool. + */ +export function getHostPoolOutput(args: GetHostPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getHostPool(a, opts)) +} + +export interface GetHostPoolOutputArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getMSIXPackage.ts b/sdk/nodejs/desktopvirtualization/v20230905/getMSIXPackage.ts new file mode 100644 index 000000000000..5325a13e0bf9 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getMSIXPackage.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a msixpackage. + */ +export function getMSIXPackage(args: GetMSIXPackageArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getMSIXPackage", { + "hostPoolName": args.hostPoolName, + "msixPackageFullName": args.msixPackageFullName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMSIXPackageArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: string; + /** + * The version specific package full name of the MSIX package within specified hostpool + */ + msixPackageFullName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Schema for MSIX Package properties. + */ +export interface GetMSIXPackageResult { + /** + * User friendly Name to be displayed in the portal. + */ + readonly displayName?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * VHD/CIM image path on Network Share. + */ + readonly imagePath?: string; + /** + * Make this version of the package the active one across the hostpool. + */ + readonly isActive?: boolean; + /** + * Specifies how to register Package in feed. + */ + readonly isRegularRegistration?: boolean; + /** + * Date Package was last updated, found in the appxmanifest.xml. + */ + readonly lastUpdated?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * List of package applications. + */ + readonly packageApplications?: outputs.desktopvirtualization.v20230905.MsixPackageApplicationsResponse[]; + /** + * List of package dependencies. + */ + readonly packageDependencies?: outputs.desktopvirtualization.v20230905.MsixPackageDependenciesResponse[]; + /** + * Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + */ + readonly packageFamilyName?: string; + /** + * Package Name from appxmanifest.xml. + */ + readonly packageName?: string; + /** + * Relative Path to the package inside the image. + */ + readonly packageRelativePath?: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Package Version found in the appxmanifest.xml. + */ + readonly version?: string; +} +/** + * Get a msixpackage. + */ +export function getMSIXPackageOutput(args: GetMSIXPackageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMSIXPackage(a, opts)) +} + +export interface GetMSIXPackageOutputArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: pulumi.Input; + /** + * The version specific package full name of the MSIX package within specified hostpool + */ + msixPackageFullName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getPrivateEndpointConnectionByHostPool.ts b/sdk/nodejs/desktopvirtualization/v20230905/getPrivateEndpointConnectionByHostPool.ts new file mode 100644 index 000000000000..ea345857666a --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getPrivateEndpointConnectionByHostPool.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a private endpoint connection. + */ +export function getPrivateEndpointConnectionByHostPool(args: GetPrivateEndpointConnectionByHostPoolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByHostPool", { + "hostPoolName": args.hostPoolName, + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPrivateEndpointConnectionByHostPoolArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: string; + /** + * The name of the private endpoint connection associated with the Azure resource + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The Private Endpoint Connection resource. + */ +export interface GetPrivateEndpointConnectionByHostPoolResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The resource of private end point. + */ + readonly privateEndpoint?: outputs.desktopvirtualization.v20230905.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + readonly privateLinkServiceConnectionState: outputs.desktopvirtualization.v20230905.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + readonly provisioningState: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a private endpoint connection. + */ +export function getPrivateEndpointConnectionByHostPoolOutput(args: GetPrivateEndpointConnectionByHostPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnectionByHostPool(a, opts)) +} + +export interface GetPrivateEndpointConnectionByHostPoolOutputArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: pulumi.Input; + /** + * The name of the private endpoint connection associated with the Azure resource + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getPrivateEndpointConnectionByWorkspace.ts b/sdk/nodejs/desktopvirtualization/v20230905/getPrivateEndpointConnectionByWorkspace.ts new file mode 100644 index 000000000000..b1dd279db283 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getPrivateEndpointConnectionByWorkspace.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a private endpoint connection. + */ +export function getPrivateEndpointConnectionByWorkspace(args: GetPrivateEndpointConnectionByWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByWorkspace", { + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetPrivateEndpointConnectionByWorkspaceArgs { + /** + * The name of the private endpoint connection associated with the Azure resource + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace + */ + workspaceName: string; +} + +/** + * The Private Endpoint Connection resource. + */ +export interface GetPrivateEndpointConnectionByWorkspaceResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The resource of private end point. + */ + readonly privateEndpoint?: outputs.desktopvirtualization.v20230905.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + readonly privateLinkServiceConnectionState: outputs.desktopvirtualization.v20230905.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + readonly provisioningState: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a private endpoint connection. + */ +export function getPrivateEndpointConnectionByWorkspaceOutput(args: GetPrivateEndpointConnectionByWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnectionByWorkspace(a, opts)) +} + +export interface GetPrivateEndpointConnectionByWorkspaceOutputArgs { + /** + * The name of the private endpoint connection associated with the Azure resource + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlan.ts new file mode 100644 index 000000000000..5412d34fe5c6 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlan.ts @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a scaling plan. + */ +export function getScalingPlan(args: GetScalingPlanArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getScalingPlan", { + "resourceGroupName": args.resourceGroupName, + "scalingPlanName": args.scalingPlanName, + }, opts); +} + +export interface GetScalingPlanArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the scaling plan. + */ + scalingPlanName: string; +} + +/** + * Represents a scaling plan definition. + */ +export interface GetScalingPlanResult { + /** + * Description of scaling plan. + */ + readonly description?: string; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly etag: string; + /** + * Exclusion tag for scaling plan. + */ + readonly exclusionTag?: string; + /** + * User friendly name of scaling plan. + */ + readonly friendlyName?: string; + /** + * List of ScalingHostPoolReference definitions. + */ + readonly hostPoolReferences?: outputs.desktopvirtualization.v20230905.ScalingHostPoolReferenceResponse[]; + /** + * HostPool type for desktop. + */ + readonly hostPoolType?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + readonly identity?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseIdentity; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * The geo-location where the resource lives + */ + readonly location?: string; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + readonly managedBy?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * ObjectId of scaling plan. (internal use) + */ + readonly objectId: string; + readonly plan?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponsePlan; + /** + * List of ScalingPlanPooledSchedule definitions. + */ + readonly schedules?: outputs.desktopvirtualization.v20230905.ScalingScheduleResponse[]; + readonly sku?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseSku; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Timezone of the scaling plan. + */ + readonly timeZone: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a scaling plan. + */ +export function getScalingPlanOutput(args: GetScalingPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getScalingPlan(a, opts)) +} + +export interface GetScalingPlanOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the scaling plan. + */ + scalingPlanName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlanPersonalSchedule.ts b/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlanPersonalSchedule.ts new file mode 100644 index 000000000000..8084c3b3d0af --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlanPersonalSchedule.ts @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a ScalingPlanPersonalSchedule. + */ +export function getScalingPlanPersonalSchedule(args: GetScalingPlanPersonalScheduleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getScalingPlanPersonalSchedule", { + "resourceGroupName": args.resourceGroupName, + "scalingPlanName": args.scalingPlanName, + "scalingPlanScheduleName": args.scalingPlanScheduleName, + }, opts); +} + +export interface GetScalingPlanPersonalScheduleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the scaling plan. + */ + scalingPlanName: string; + /** + * The name of the ScalingPlanSchedule + */ + scalingPlanScheduleName: string; +} + +/** + * Represents a ScalingPlanPersonalSchedule definition. + */ +export interface GetScalingPlanPersonalScheduleResult { + /** + * Set of days of the week on which this schedule is active. + */ + readonly daysOfWeek?: string[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Action to be taken after a user disconnect during the off-peak period. + */ + readonly offPeakActionOnDisconnect?: string; + /** + * Action to be taken after a logoff during the off-peak period. + */ + readonly offPeakActionOnLogoff?: string; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + */ + readonly offPeakMinutesToWaitOnDisconnect?: number; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + */ + readonly offPeakMinutesToWaitOnLogoff?: number; + /** + * Starting time for off-peak period. + */ + readonly offPeakStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + */ + readonly offPeakStartVMOnConnect?: string; + /** + * Action to be taken after a user disconnect during the peak period. + */ + readonly peakActionOnDisconnect?: string; + /** + * Action to be taken after a logoff during the peak period. + */ + readonly peakActionOnLogoff?: string; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + */ + readonly peakMinutesToWaitOnDisconnect?: number; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + */ + readonly peakMinutesToWaitOnLogoff?: number; + /** + * Starting time for peak period. + */ + readonly peakStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * The desired configuration of Start VM On Connect for the hostpool during the peak phase. + */ + readonly peakStartVMOnConnect?: string; + /** + * Action to be taken after a user disconnect during the ramp down period. + */ + readonly rampDownActionOnDisconnect?: string; + /** + * Action to be taken after a logoff during the ramp down period. + */ + readonly rampDownActionOnLogoff?: string; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + */ + readonly rampDownMinutesToWaitOnDisconnect?: number; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + */ + readonly rampDownMinutesToWaitOnLogoff?: number; + /** + * Starting time for ramp down period. + */ + readonly rampDownStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + */ + readonly rampDownStartVMOnConnect?: string; + /** + * Action to be taken after a user disconnect during the ramp up period. + */ + readonly rampUpActionOnDisconnect?: string; + /** + * Action to be taken after a logoff during the ramp up period. + */ + readonly rampUpActionOnLogoff?: string; + /** + * The desired startup behavior during the ramp up period for personal vms in the hostpool. + */ + readonly rampUpAutoStartHosts?: string; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + */ + readonly rampUpMinutesToWaitOnDisconnect?: number; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + */ + readonly rampUpMinutesToWaitOnLogoff?: number; + /** + * Starting time for ramp up period. + */ + readonly rampUpStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + */ + readonly rampUpStartVMOnConnect?: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a ScalingPlanPersonalSchedule. + */ +export function getScalingPlanPersonalScheduleOutput(args: GetScalingPlanPersonalScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getScalingPlanPersonalSchedule(a, opts)) +} + +export interface GetScalingPlanPersonalScheduleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the scaling plan. + */ + scalingPlanName: pulumi.Input; + /** + * The name of the ScalingPlanSchedule + */ + scalingPlanScheduleName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlanPooledSchedule.ts b/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlanPooledSchedule.ts new file mode 100644 index 000000000000..b96850d9d840 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getScalingPlanPooledSchedule.ts @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a ScalingPlanPooledSchedule. + */ +export function getScalingPlanPooledSchedule(args: GetScalingPlanPooledScheduleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getScalingPlanPooledSchedule", { + "resourceGroupName": args.resourceGroupName, + "scalingPlanName": args.scalingPlanName, + "scalingPlanScheduleName": args.scalingPlanScheduleName, + }, opts); +} + +export interface GetScalingPlanPooledScheduleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the scaling plan. + */ + scalingPlanName: string; + /** + * The name of the ScalingPlanSchedule + */ + scalingPlanScheduleName: string; +} + +/** + * Represents a ScalingPlanPooledSchedule definition. + */ +export interface GetScalingPlanPooledScheduleResult { + /** + * Set of days of the week on which this schedule is active. + */ + readonly daysOfWeek?: string[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Load balancing algorithm for off-peak period. + */ + readonly offPeakLoadBalancingAlgorithm?: string; + /** + * Starting time for off-peak period. + */ + readonly offPeakStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * Load balancing algorithm for peak period. + */ + readonly peakLoadBalancingAlgorithm?: string; + /** + * Starting time for peak period. + */ + readonly peakStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * Capacity threshold for ramp down period. + */ + readonly rampDownCapacityThresholdPct?: number; + /** + * Should users be logged off forcefully from hosts. + */ + readonly rampDownForceLogoffUsers?: boolean; + /** + * Load balancing algorithm for ramp down period. + */ + readonly rampDownLoadBalancingAlgorithm?: string; + /** + * Minimum host percentage for ramp down period. + */ + readonly rampDownMinimumHostsPct?: number; + /** + * Notification message for users during ramp down period. + */ + readonly rampDownNotificationMessage?: string; + /** + * Starting time for ramp down period. + */ + readonly rampDownStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * Specifies when to stop hosts during ramp down period. + */ + readonly rampDownStopHostsWhen?: string; + /** + * Number of minutes to wait to stop hosts during ramp down period. + */ + readonly rampDownWaitTimeMinutes?: number; + /** + * Capacity threshold for ramp up period. + */ + readonly rampUpCapacityThresholdPct?: number; + /** + * Load balancing algorithm for ramp up period. + */ + readonly rampUpLoadBalancingAlgorithm?: string; + /** + * Minimum host percentage for ramp up period. + */ + readonly rampUpMinimumHostsPct?: number; + /** + * Starting time for ramp up period. + */ + readonly rampUpStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a ScalingPlanPooledSchedule. + */ +export function getScalingPlanPooledScheduleOutput(args: GetScalingPlanPooledScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getScalingPlanPooledSchedule(a, opts)) +} + +export interface GetScalingPlanPooledScheduleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the scaling plan. + */ + scalingPlanName: pulumi.Input; + /** + * The name of the ScalingPlanSchedule + */ + scalingPlanScheduleName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/getWorkspace.ts b/sdk/nodejs/desktopvirtualization/v20230905/getWorkspace.ts new file mode 100644 index 000000000000..6d31cdba6581 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/getWorkspace.ts @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a workspace. + */ +export function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:desktopvirtualization/v20230905:getWorkspace", { + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWorkspaceArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace + */ + workspaceName: string; +} + +/** + * Represents a Workspace definition. + */ +export interface GetWorkspaceResult { + /** + * List of applicationGroup resource Ids. + */ + readonly applicationGroupReferences?: string[]; + /** + * Is cloud pc resource. + */ + readonly cloudPcResource: boolean; + /** + * Description of Workspace. + */ + readonly description?: string; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly etag: string; + /** + * Friendly name of Workspace. + */ + readonly friendlyName?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + readonly identity?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseIdentity; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + readonly kind?: string; + /** + * The geo-location where the resource lives + */ + readonly location?: string; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + readonly managedBy?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * ObjectId of Workspace. (internal use) + */ + readonly objectId: string; + readonly plan?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponsePlan; + /** + * List of private endpoint connection associated with the specified resource + */ + readonly privateEndpointConnections: outputs.desktopvirtualization.v20230905.PrivateEndpointConnectionResponse[]; + /** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ + readonly publicNetworkAccess?: string; + readonly sku?: outputs.desktopvirtualization.v20230905.ResourceModelWithAllowedPropertySetResponseSku; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.desktopvirtualization.v20230905.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get a workspace. + */ +export function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWorkspace(a, opts)) +} + +export interface GetWorkspaceOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/hostPool.ts b/sdk/nodejs/desktopvirtualization/v20230905/hostPool.ts new file mode 100644 index 000000000000..8aed6c7ba7a6 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/hostPool.ts @@ -0,0 +1,377 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a HostPool definition. + */ +export class HostPool extends pulumi.CustomResource { + /** + * Get an existing HostPool 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): HostPool { + return new HostPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:HostPool'; + + /** + * Returns true if the given object is an instance of HostPool. 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 HostPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === HostPool.__pulumiType; + } + + /** + * The session host configuration for updating agent, monitoring agent, and stack component. + */ + public readonly agentUpdate!: pulumi.Output; + /** + * List of applicationGroup links. + */ + public /*out*/ readonly applicationGroupReferences!: pulumi.Output; + /** + * Is cloud pc resource. + */ + public /*out*/ readonly cloudPcResource!: pulumi.Output; + /** + * Custom rdp property of HostPool. + */ + public readonly customRdpProperty!: pulumi.Output; + /** + * Description of HostPool. + */ + public readonly description!: pulumi.Output; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Friendly name of HostPool. + */ + public readonly friendlyName!: pulumi.Output; + /** + * HostPool type for desktop. + */ + public readonly hostPoolType!: pulumi.Output; + public readonly identity!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * The type of the load balancer. + */ + public readonly loadBalancerType!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + public readonly managedBy!: pulumi.Output; + /** + * The max session limit of HostPool. + */ + public readonly maxSessionLimit!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ObjectId of HostPool. (internal use) + */ + public /*out*/ readonly objectId!: pulumi.Output; + /** + * PersonalDesktopAssignment type for HostPool. + */ + public readonly personalDesktopAssignmentType!: pulumi.Output; + public readonly plan!: pulumi.Output; + /** + * The type of preferred application group type, default to Desktop Application Group + */ + public readonly preferredAppGroupType!: pulumi.Output; + /** + * List of private endpoint connection associated with the specified resource + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * The registration info of HostPool. + */ + public readonly registrationInfo!: pulumi.Output; + /** + * The ring number of HostPool. + */ + public readonly ring!: pulumi.Output; + public readonly sku!: pulumi.Output; + /** + * ClientId for the registered Relying Party used to issue WVD SSO certificates. + */ + public readonly ssoClientId!: pulumi.Output; + /** + * Path to Azure KeyVault storing the secret used for communication to ADFS. + */ + public readonly ssoClientSecretKeyVaultPath!: pulumi.Output; + /** + * The type of single sign on Secret Type. + */ + public readonly ssoSecretType!: pulumi.Output; + /** + * URL to customer ADFS server for signing WVD SSO certificates. + */ + public readonly ssoadfsAuthority!: pulumi.Output; + /** + * The flag to turn on/off StartVMOnConnect feature. + */ + public readonly startVMOnConnect!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Is validation environment. + */ + public readonly validationEnvironment!: pulumi.Output; + /** + * VM template for sessionhosts configuration within hostpool. + */ + public readonly vmTemplate!: pulumi.Output; + + /** + * Create a HostPool 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: HostPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.hostPoolType === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostPoolType'"); + } + if ((!args || args.loadBalancerType === undefined) && !opts.urn) { + throw new Error("Missing required property 'loadBalancerType'"); + } + if ((!args || args.preferredAppGroupType === undefined) && !opts.urn) { + throw new Error("Missing required property 'preferredAppGroupType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["agentUpdate"] = args ? args.agentUpdate : undefined; + resourceInputs["customRdpProperty"] = args ? args.customRdpProperty : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["friendlyName"] = args ? args.friendlyName : undefined; + resourceInputs["hostPoolName"] = args ? args.hostPoolName : undefined; + resourceInputs["hostPoolType"] = args ? args.hostPoolType : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["loadBalancerType"] = args ? args.loadBalancerType : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedBy"] = args ? args.managedBy : undefined; + resourceInputs["maxSessionLimit"] = args ? args.maxSessionLimit : undefined; + resourceInputs["personalDesktopAssignmentType"] = args ? args.personalDesktopAssignmentType : undefined; + resourceInputs["plan"] = args ? args.plan : undefined; + resourceInputs["preferredAppGroupType"] = args ? args.preferredAppGroupType : undefined; + resourceInputs["publicNetworkAccess"] = args ? args.publicNetworkAccess : undefined; + resourceInputs["registrationInfo"] = args ? args.registrationInfo : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ring"] = args ? args.ring : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["ssoClientId"] = args ? args.ssoClientId : undefined; + resourceInputs["ssoClientSecretKeyVaultPath"] = args ? args.ssoClientSecretKeyVaultPath : undefined; + resourceInputs["ssoSecretType"] = args ? args.ssoSecretType : undefined; + resourceInputs["ssoadfsAuthority"] = args ? args.ssoadfsAuthority : undefined; + resourceInputs["startVMOnConnect"] = args ? args.startVMOnConnect : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["validationEnvironment"] = args ? args.validationEnvironment : undefined; + resourceInputs["vmTemplate"] = args ? args.vmTemplate : undefined; + resourceInputs["applicationGroupReferences"] = undefined /*out*/; + resourceInputs["cloudPcResource"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["agentUpdate"] = undefined /*out*/; + resourceInputs["applicationGroupReferences"] = undefined /*out*/; + resourceInputs["cloudPcResource"] = undefined /*out*/; + resourceInputs["customRdpProperty"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["friendlyName"] = undefined /*out*/; + resourceInputs["hostPoolType"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["loadBalancerType"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedBy"] = undefined /*out*/; + resourceInputs["maxSessionLimit"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["personalDesktopAssignmentType"] = undefined /*out*/; + resourceInputs["plan"] = undefined /*out*/; + resourceInputs["preferredAppGroupType"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["registrationInfo"] = undefined /*out*/; + resourceInputs["ring"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["ssoClientId"] = undefined /*out*/; + resourceInputs["ssoClientSecretKeyVaultPath"] = undefined /*out*/; + resourceInputs["ssoSecretType"] = undefined /*out*/; + resourceInputs["ssoadfsAuthority"] = undefined /*out*/; + resourceInputs["startVMOnConnect"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationEnvironment"] = undefined /*out*/; + resourceInputs["vmTemplate"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:HostPool" }, { type: "azure-native:desktopvirtualization/v20190123preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20190924preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20191210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20200921preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201019preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201102preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20201110preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210114preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210201preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210309preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20210712:HostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20220909:HostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:HostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:HostPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(HostPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a HostPool resource. + */ +export interface HostPoolArgs { + /** + * The session host configuration for updating agent, monitoring agent, and stack component. + */ + agentUpdate?: pulumi.Input; + /** + * Custom rdp property of HostPool. + */ + customRdpProperty?: pulumi.Input; + /** + * Description of HostPool. + */ + description?: pulumi.Input; + /** + * Friendly name of HostPool. + */ + friendlyName?: pulumi.Input; + /** + * The name of the host pool within the specified resource group + */ + hostPoolName?: pulumi.Input; + /** + * HostPool type for desktop. + */ + hostPoolType: pulumi.Input; + identity?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * The type of the load balancer. + */ + loadBalancerType: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + managedBy?: pulumi.Input; + /** + * The max session limit of HostPool. + */ + maxSessionLimit?: pulumi.Input; + /** + * PersonalDesktopAssignment type for HostPool. + */ + personalDesktopAssignmentType?: pulumi.Input; + plan?: pulumi.Input; + /** + * The type of preferred application group type, default to Desktop Application Group + */ + preferredAppGroupType: pulumi.Input; + /** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ + publicNetworkAccess?: pulumi.Input; + /** + * The registration info of HostPool. + */ + registrationInfo?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The ring number of HostPool. + */ + ring?: pulumi.Input; + sku?: pulumi.Input; + /** + * ClientId for the registered Relying Party used to issue WVD SSO certificates. + */ + ssoClientId?: pulumi.Input; + /** + * Path to Azure KeyVault storing the secret used for communication to ADFS. + */ + ssoClientSecretKeyVaultPath?: pulumi.Input; + /** + * The type of single sign on Secret Type. + */ + ssoSecretType?: pulumi.Input; + /** + * URL to customer ADFS server for signing WVD SSO certificates. + */ + ssoadfsAuthority?: pulumi.Input; + /** + * The flag to turn on/off StartVMOnConnect feature. + */ + startVMOnConnect?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Is validation environment. + */ + validationEnvironment?: pulumi.Input; + /** + * VM template for sessionhosts configuration within hostpool. + */ + vmTemplate?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/index.ts b/sdk/nodejs/desktopvirtualization/v20230905/index.ts new file mode 100644 index 000000000000..78416f7e854c --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/index.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { ApplicationArgs } from "./application"; +export type Application = import("./application").Application; +export const Application: typeof import("./application").Application = null as any; +utilities.lazyLoad(exports, ["Application"], () => require("./application")); + +export { ApplicationGroupArgs } from "./applicationGroup"; +export type ApplicationGroup = import("./applicationGroup").ApplicationGroup; +export const ApplicationGroup: typeof import("./applicationGroup").ApplicationGroup = null as any; +utilities.lazyLoad(exports, ["ApplicationGroup"], () => require("./applicationGroup")); + +export { GetApplicationArgs, GetApplicationResult, GetApplicationOutputArgs } from "./getApplication"; +export const getApplication: typeof import("./getApplication").getApplication = null as any; +export const getApplicationOutput: typeof import("./getApplication").getApplicationOutput = null as any; +utilities.lazyLoad(exports, ["getApplication","getApplicationOutput"], () => require("./getApplication")); + +export { GetApplicationGroupArgs, GetApplicationGroupResult, GetApplicationGroupOutputArgs } from "./getApplicationGroup"; +export const getApplicationGroup: typeof import("./getApplicationGroup").getApplicationGroup = null as any; +export const getApplicationGroupOutput: typeof import("./getApplicationGroup").getApplicationGroupOutput = null as any; +utilities.lazyLoad(exports, ["getApplicationGroup","getApplicationGroupOutput"], () => require("./getApplicationGroup")); + +export { GetHostPoolArgs, GetHostPoolResult, GetHostPoolOutputArgs } from "./getHostPool"; +export const getHostPool: typeof import("./getHostPool").getHostPool = null as any; +export const getHostPoolOutput: typeof import("./getHostPool").getHostPoolOutput = null as any; +utilities.lazyLoad(exports, ["getHostPool","getHostPoolOutput"], () => require("./getHostPool")); + +export { GetMSIXPackageArgs, GetMSIXPackageResult, GetMSIXPackageOutputArgs } from "./getMSIXPackage"; +export const getMSIXPackage: typeof import("./getMSIXPackage").getMSIXPackage = null as any; +export const getMSIXPackageOutput: typeof import("./getMSIXPackage").getMSIXPackageOutput = null as any; +utilities.lazyLoad(exports, ["getMSIXPackage","getMSIXPackageOutput"], () => require("./getMSIXPackage")); + +export { GetPrivateEndpointConnectionByHostPoolArgs, GetPrivateEndpointConnectionByHostPoolResult, GetPrivateEndpointConnectionByHostPoolOutputArgs } from "./getPrivateEndpointConnectionByHostPool"; +export const getPrivateEndpointConnectionByHostPool: typeof import("./getPrivateEndpointConnectionByHostPool").getPrivateEndpointConnectionByHostPool = null as any; +export const getPrivateEndpointConnectionByHostPoolOutput: typeof import("./getPrivateEndpointConnectionByHostPool").getPrivateEndpointConnectionByHostPoolOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnectionByHostPool","getPrivateEndpointConnectionByHostPoolOutput"], () => require("./getPrivateEndpointConnectionByHostPool")); + +export { GetPrivateEndpointConnectionByWorkspaceArgs, GetPrivateEndpointConnectionByWorkspaceResult, GetPrivateEndpointConnectionByWorkspaceOutputArgs } from "./getPrivateEndpointConnectionByWorkspace"; +export const getPrivateEndpointConnectionByWorkspace: typeof import("./getPrivateEndpointConnectionByWorkspace").getPrivateEndpointConnectionByWorkspace = null as any; +export const getPrivateEndpointConnectionByWorkspaceOutput: typeof import("./getPrivateEndpointConnectionByWorkspace").getPrivateEndpointConnectionByWorkspaceOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnectionByWorkspace","getPrivateEndpointConnectionByWorkspaceOutput"], () => require("./getPrivateEndpointConnectionByWorkspace")); + +export { GetScalingPlanArgs, GetScalingPlanResult, GetScalingPlanOutputArgs } from "./getScalingPlan"; +export const getScalingPlan: typeof import("./getScalingPlan").getScalingPlan = null as any; +export const getScalingPlanOutput: typeof import("./getScalingPlan").getScalingPlanOutput = null as any; +utilities.lazyLoad(exports, ["getScalingPlan","getScalingPlanOutput"], () => require("./getScalingPlan")); + +export { GetScalingPlanPersonalScheduleArgs, GetScalingPlanPersonalScheduleResult, GetScalingPlanPersonalScheduleOutputArgs } from "./getScalingPlanPersonalSchedule"; +export const getScalingPlanPersonalSchedule: typeof import("./getScalingPlanPersonalSchedule").getScalingPlanPersonalSchedule = null as any; +export const getScalingPlanPersonalScheduleOutput: typeof import("./getScalingPlanPersonalSchedule").getScalingPlanPersonalScheduleOutput = null as any; +utilities.lazyLoad(exports, ["getScalingPlanPersonalSchedule","getScalingPlanPersonalScheduleOutput"], () => require("./getScalingPlanPersonalSchedule")); + +export { GetScalingPlanPooledScheduleArgs, GetScalingPlanPooledScheduleResult, GetScalingPlanPooledScheduleOutputArgs } from "./getScalingPlanPooledSchedule"; +export const getScalingPlanPooledSchedule: typeof import("./getScalingPlanPooledSchedule").getScalingPlanPooledSchedule = null as any; +export const getScalingPlanPooledScheduleOutput: typeof import("./getScalingPlanPooledSchedule").getScalingPlanPooledScheduleOutput = null as any; +utilities.lazyLoad(exports, ["getScalingPlanPooledSchedule","getScalingPlanPooledScheduleOutput"], () => require("./getScalingPlanPooledSchedule")); + +export { GetWorkspaceArgs, GetWorkspaceResult, GetWorkspaceOutputArgs } from "./getWorkspace"; +export const getWorkspace: typeof import("./getWorkspace").getWorkspace = null as any; +export const getWorkspaceOutput: typeof import("./getWorkspace").getWorkspaceOutput = null as any; +utilities.lazyLoad(exports, ["getWorkspace","getWorkspaceOutput"], () => require("./getWorkspace")); + +export { HostPoolArgs } from "./hostPool"; +export type HostPool = import("./hostPool").HostPool; +export const HostPool: typeof import("./hostPool").HostPool = null as any; +utilities.lazyLoad(exports, ["HostPool"], () => require("./hostPool")); + +export { MSIXPackageArgs } from "./msixpackage"; +export type MSIXPackage = import("./msixpackage").MSIXPackage; +export const MSIXPackage: typeof import("./msixpackage").MSIXPackage = null as any; +utilities.lazyLoad(exports, ["MSIXPackage"], () => require("./msixpackage")); + +export { PrivateEndpointConnectionByHostPoolArgs } from "./privateEndpointConnectionByHostPool"; +export type PrivateEndpointConnectionByHostPool = import("./privateEndpointConnectionByHostPool").PrivateEndpointConnectionByHostPool; +export const PrivateEndpointConnectionByHostPool: typeof import("./privateEndpointConnectionByHostPool").PrivateEndpointConnectionByHostPool = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnectionByHostPool"], () => require("./privateEndpointConnectionByHostPool")); + +export { PrivateEndpointConnectionByWorkspaceArgs } from "./privateEndpointConnectionByWorkspace"; +export type PrivateEndpointConnectionByWorkspace = import("./privateEndpointConnectionByWorkspace").PrivateEndpointConnectionByWorkspace; +export const PrivateEndpointConnectionByWorkspace: typeof import("./privateEndpointConnectionByWorkspace").PrivateEndpointConnectionByWorkspace = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnectionByWorkspace"], () => require("./privateEndpointConnectionByWorkspace")); + +export { ScalingPlanArgs } from "./scalingPlan"; +export type ScalingPlan = import("./scalingPlan").ScalingPlan; +export const ScalingPlan: typeof import("./scalingPlan").ScalingPlan = null as any; +utilities.lazyLoad(exports, ["ScalingPlan"], () => require("./scalingPlan")); + +export { ScalingPlanPersonalScheduleArgs } from "./scalingPlanPersonalSchedule"; +export type ScalingPlanPersonalSchedule = import("./scalingPlanPersonalSchedule").ScalingPlanPersonalSchedule; +export const ScalingPlanPersonalSchedule: typeof import("./scalingPlanPersonalSchedule").ScalingPlanPersonalSchedule = null as any; +utilities.lazyLoad(exports, ["ScalingPlanPersonalSchedule"], () => require("./scalingPlanPersonalSchedule")); + +export { ScalingPlanPooledScheduleArgs } from "./scalingPlanPooledSchedule"; +export type ScalingPlanPooledSchedule = import("./scalingPlanPooledSchedule").ScalingPlanPooledSchedule; +export const ScalingPlanPooledSchedule: typeof import("./scalingPlanPooledSchedule").ScalingPlanPooledSchedule = null as any; +utilities.lazyLoad(exports, ["ScalingPlanPooledSchedule"], () => require("./scalingPlanPooledSchedule")); + +export { WorkspaceArgs } from "./workspace"; +export type Workspace = import("./workspace").Workspace; +export const Workspace: typeof import("./workspace").Workspace = null as any; +utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace")); + + +// Export enums: +export * from "../../types/enums/desktopvirtualization/v20230905"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:desktopvirtualization/v20230905:Application": + return new Application(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:ApplicationGroup": + return new ApplicationGroup(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:HostPool": + return new HostPool(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:MSIXPackage": + return new MSIXPackage(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool": + return new PrivateEndpointConnectionByHostPool(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace": + return new PrivateEndpointConnectionByWorkspace(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:ScalingPlan": + return new ScalingPlan(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule": + return new ScalingPlanPersonalSchedule(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule": + return new ScalingPlanPooledSchedule(name, undefined, { urn }) + case "azure-native:desktopvirtualization/v20230905:Workspace": + return new Workspace(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "desktopvirtualization/v20230905", _module) diff --git a/sdk/nodejs/desktopvirtualization/v20230905/msixpackage.ts b/sdk/nodejs/desktopvirtualization/v20230905/msixpackage.ts new file mode 100644 index 000000000000..ece5c7d3a4f3 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/msixpackage.ts @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Schema for MSIX Package properties. + */ +export class MSIXPackage extends pulumi.CustomResource { + /** + * Get an existing MSIXPackage 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MSIXPackage { + return new MSIXPackage(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:MSIXPackage'; + + /** + * Returns true if the given object is an instance of MSIXPackage. 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 MSIXPackage { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MSIXPackage.__pulumiType; + } + + /** + * User friendly Name to be displayed in the portal. + */ + public readonly displayName!: pulumi.Output; + /** + * VHD/CIM image path on Network Share. + */ + public readonly imagePath!: pulumi.Output; + /** + * Make this version of the package the active one across the hostpool. + */ + public readonly isActive!: pulumi.Output; + /** + * Specifies how to register Package in feed. + */ + public readonly isRegularRegistration!: pulumi.Output; + /** + * Date Package was last updated, found in the appxmanifest.xml. + */ + public readonly lastUpdated!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * List of package applications. + */ + public readonly packageApplications!: pulumi.Output; + /** + * List of package dependencies. + */ + public readonly packageDependencies!: pulumi.Output; + /** + * Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + */ + public readonly packageFamilyName!: pulumi.Output; + /** + * Package Name from appxmanifest.xml. + */ + public readonly packageName!: pulumi.Output; + /** + * Relative Path to the package inside the image. + */ + public readonly packageRelativePath!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Package Version found in the appxmanifest.xml. + */ + public readonly version!: pulumi.Output; + + /** + * Create a MSIXPackage 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: MSIXPackageArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.hostPoolName === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostPoolName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["hostPoolName"] = args ? args.hostPoolName : undefined; + resourceInputs["imagePath"] = args ? args.imagePath : undefined; + resourceInputs["isActive"] = args ? args.isActive : undefined; + resourceInputs["isRegularRegistration"] = args ? args.isRegularRegistration : undefined; + resourceInputs["lastUpdated"] = args ? args.lastUpdated : undefined; + resourceInputs["msixPackageFullName"] = args ? args.msixPackageFullName : undefined; + resourceInputs["packageApplications"] = args ? args.packageApplications : undefined; + resourceInputs["packageDependencies"] = args ? args.packageDependencies : undefined; + resourceInputs["packageFamilyName"] = args ? args.packageFamilyName : undefined; + resourceInputs["packageName"] = args ? args.packageName : undefined; + resourceInputs["packageRelativePath"] = args ? args.packageRelativePath : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["imagePath"] = undefined /*out*/; + resourceInputs["isActive"] = undefined /*out*/; + resourceInputs["isRegularRegistration"] = undefined /*out*/; + resourceInputs["lastUpdated"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["packageApplications"] = undefined /*out*/; + resourceInputs["packageDependencies"] = undefined /*out*/; + resourceInputs["packageFamilyName"] = undefined /*out*/; + resourceInputs["packageName"] = undefined /*out*/; + resourceInputs["packageRelativePath"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MSIXPackage.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MSIXPackage resource. + */ +export interface MSIXPackageArgs { + /** + * User friendly Name to be displayed in the portal. + */ + displayName?: pulumi.Input; + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: pulumi.Input; + /** + * VHD/CIM image path on Network Share. + */ + imagePath?: pulumi.Input; + /** + * Make this version of the package the active one across the hostpool. + */ + isActive?: pulumi.Input; + /** + * Specifies how to register Package in feed. + */ + isRegularRegistration?: pulumi.Input; + /** + * Date Package was last updated, found in the appxmanifest.xml. + */ + lastUpdated?: pulumi.Input; + /** + * The version specific package full name of the MSIX package within specified hostpool + */ + msixPackageFullName?: pulumi.Input; + /** + * List of package applications. + */ + packageApplications?: pulumi.Input[]>; + /** + * List of package dependencies. + */ + packageDependencies?: pulumi.Input[]>; + /** + * Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + */ + packageFamilyName?: pulumi.Input; + /** + * Package Name from appxmanifest.xml. + */ + packageName?: pulumi.Input; + /** + * Relative Path to the package inside the image. + */ + packageRelativePath?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Package Version found in the appxmanifest.xml. + */ + version?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/privateEndpointConnectionByHostPool.ts b/sdk/nodejs/desktopvirtualization/v20230905/privateEndpointConnectionByHostPool.ts new file mode 100644 index 000000000000..7683c2f12453 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/privateEndpointConnectionByHostPool.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The Private Endpoint Connection resource. + */ +export class PrivateEndpointConnectionByHostPool extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnectionByHostPool 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnectionByHostPool { + return new PrivateEndpointConnectionByHostPool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnectionByHostPool. 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 PrivateEndpointConnectionByHostPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnectionByHostPool.__pulumiType; + } + + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource of private end point. + */ + public /*out*/ readonly privateEndpoint!: pulumi.Output; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * The provisioning state of the private endpoint connection resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnectionByHostPool 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: PrivateEndpointConnectionByHostPoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.hostPoolName === undefined) && !opts.urn) { + throw new Error("Missing required property 'hostPoolName'"); + } + if ((!args || args.privateLinkServiceConnectionState === undefined) && !opts.urn) { + throw new Error("Missing required property 'privateLinkServiceConnectionState'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["hostPoolName"] = args ? args.hostPoolName : undefined; + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnectionByHostPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnectionByHostPool resource. + */ +export interface PrivateEndpointConnectionByHostPoolArgs { + /** + * The name of the host pool within the specified resource group + */ + hostPoolName: pulumi.Input; + /** + * The name of the private endpoint connection associated with the Azure resource + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/privateEndpointConnectionByWorkspace.ts b/sdk/nodejs/desktopvirtualization/v20230905/privateEndpointConnectionByWorkspace.ts new file mode 100644 index 000000000000..2b160567be14 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/privateEndpointConnectionByWorkspace.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The Private Endpoint Connection resource. + */ +export class PrivateEndpointConnectionByWorkspace extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnectionByWorkspace 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnectionByWorkspace { + return new PrivateEndpointConnectionByWorkspace(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnectionByWorkspace. 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 PrivateEndpointConnectionByWorkspace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnectionByWorkspace.__pulumiType; + } + + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource of private end point. + */ + public /*out*/ readonly privateEndpoint!: pulumi.Output; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * The provisioning state of the private endpoint connection resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnectionByWorkspace 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: PrivateEndpointConnectionByWorkspaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.privateLinkServiceConnectionState === undefined) && !opts.urn) { + throw new Error("Missing required property 'privateLinkServiceConnectionState'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnectionByWorkspace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnectionByWorkspace resource. + */ +export interface PrivateEndpointConnectionByWorkspaceArgs { + /** + * The name of the private endpoint connection associated with the Azure resource + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/scalingPlan.ts b/sdk/nodejs/desktopvirtualization/v20230905/scalingPlan.ts new file mode 100644 index 000000000000..2ef047045979 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/scalingPlan.ts @@ -0,0 +1,233 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a scaling plan definition. + */ +export class ScalingPlan extends pulumi.CustomResource { + /** + * Get an existing ScalingPlan 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ScalingPlan { + return new ScalingPlan(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:ScalingPlan'; + + /** + * Returns true if the given object is an instance of ScalingPlan. 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 ScalingPlan { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ScalingPlan.__pulumiType; + } + + /** + * Description of scaling plan. + */ + public readonly description!: pulumi.Output; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Exclusion tag for scaling plan. + */ + public readonly exclusionTag!: pulumi.Output; + /** + * User friendly name of scaling plan. + */ + public readonly friendlyName!: pulumi.Output; + /** + * List of ScalingHostPoolReference definitions. + */ + public readonly hostPoolReferences!: pulumi.Output; + /** + * HostPool type for desktop. + */ + public readonly hostPoolType!: pulumi.Output; + public readonly identity!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + public readonly managedBy!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ObjectId of scaling plan. (internal use) + */ + public /*out*/ readonly objectId!: pulumi.Output; + public readonly plan!: pulumi.Output; + /** + * List of ScalingPlanPooledSchedule definitions. + */ + public readonly schedules!: pulumi.Output; + public readonly sku!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Timezone of the scaling plan. + */ + public readonly timeZone!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ScalingPlan 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: ScalingPlanArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.timeZone === undefined) && !opts.urn) { + throw new Error("Missing required property 'timeZone'"); + } + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["exclusionTag"] = args ? args.exclusionTag : undefined; + resourceInputs["friendlyName"] = args ? args.friendlyName : undefined; + resourceInputs["hostPoolReferences"] = args ? args.hostPoolReferences : undefined; + resourceInputs["hostPoolType"] = (args ? args.hostPoolType : undefined) ?? "Pooled"; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedBy"] = args ? args.managedBy : undefined; + resourceInputs["plan"] = args ? args.plan : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["scalingPlanName"] = args ? args.scalingPlanName : undefined; + resourceInputs["schedules"] = args ? args.schedules : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["timeZone"] = args ? args.timeZone : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["description"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["exclusionTag"] = undefined /*out*/; + resourceInputs["friendlyName"] = undefined /*out*/; + resourceInputs["hostPoolReferences"] = undefined /*out*/; + resourceInputs["hostPoolType"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedBy"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["plan"] = undefined /*out*/; + resourceInputs["schedules"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["timeZone"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20201110preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210114preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210201preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210309preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210712:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20210903preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220210preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlan" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlan" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ScalingPlan.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ScalingPlan resource. + */ +export interface ScalingPlanArgs { + /** + * Description of scaling plan. + */ + description?: pulumi.Input; + /** + * Exclusion tag for scaling plan. + */ + exclusionTag?: pulumi.Input; + /** + * User friendly name of scaling plan. + */ + friendlyName?: pulumi.Input; + /** + * List of ScalingHostPoolReference definitions. + */ + hostPoolReferences?: pulumi.Input[]>; + /** + * HostPool type for desktop. + */ + hostPoolType?: pulumi.Input; + identity?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + managedBy?: pulumi.Input; + plan?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the scaling plan. + */ + scalingPlanName?: pulumi.Input; + /** + * List of ScalingPlanPooledSchedule definitions. + */ + schedules?: pulumi.Input[]>; + sku?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Timezone of the scaling plan. + */ + timeZone: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/scalingPlanPersonalSchedule.ts b/sdk/nodejs/desktopvirtualization/v20230905/scalingPlanPersonalSchedule.ts new file mode 100644 index 000000000000..485dd69c6e50 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/scalingPlanPersonalSchedule.ts @@ -0,0 +1,364 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a ScalingPlanPersonalSchedule definition. + */ +export class ScalingPlanPersonalSchedule extends pulumi.CustomResource { + /** + * Get an existing ScalingPlanPersonalSchedule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ScalingPlanPersonalSchedule { + return new ScalingPlanPersonalSchedule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule'; + + /** + * Returns true if the given object is an instance of ScalingPlanPersonalSchedule. 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 ScalingPlanPersonalSchedule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ScalingPlanPersonalSchedule.__pulumiType; + } + + /** + * Set of days of the week on which this schedule is active. + */ + public readonly daysOfWeek!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Action to be taken after a user disconnect during the off-peak period. + */ + public readonly offPeakActionOnDisconnect!: pulumi.Output; + /** + * Action to be taken after a logoff during the off-peak period. + */ + public readonly offPeakActionOnLogoff!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + */ + public readonly offPeakMinutesToWaitOnDisconnect!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + */ + public readonly offPeakMinutesToWaitOnLogoff!: pulumi.Output; + /** + * Starting time for off-peak period. + */ + public readonly offPeakStartTime!: pulumi.Output; + /** + * The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + */ + public readonly offPeakStartVMOnConnect!: pulumi.Output; + /** + * Action to be taken after a user disconnect during the peak period. + */ + public readonly peakActionOnDisconnect!: pulumi.Output; + /** + * Action to be taken after a logoff during the peak period. + */ + public readonly peakActionOnLogoff!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + */ + public readonly peakMinutesToWaitOnDisconnect!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + */ + public readonly peakMinutesToWaitOnLogoff!: pulumi.Output; + /** + * Starting time for peak period. + */ + public readonly peakStartTime!: pulumi.Output; + /** + * The desired configuration of Start VM On Connect for the hostpool during the peak phase. + */ + public readonly peakStartVMOnConnect!: pulumi.Output; + /** + * Action to be taken after a user disconnect during the ramp down period. + */ + public readonly rampDownActionOnDisconnect!: pulumi.Output; + /** + * Action to be taken after a logoff during the ramp down period. + */ + public readonly rampDownActionOnLogoff!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + */ + public readonly rampDownMinutesToWaitOnDisconnect!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + */ + public readonly rampDownMinutesToWaitOnLogoff!: pulumi.Output; + /** + * Starting time for ramp down period. + */ + public readonly rampDownStartTime!: pulumi.Output; + /** + * The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + */ + public readonly rampDownStartVMOnConnect!: pulumi.Output; + /** + * Action to be taken after a user disconnect during the ramp up period. + */ + public readonly rampUpActionOnDisconnect!: pulumi.Output; + /** + * Action to be taken after a logoff during the ramp up period. + */ + public readonly rampUpActionOnLogoff!: pulumi.Output; + /** + * The desired startup behavior during the ramp up period for personal vms in the hostpool. + */ + public readonly rampUpAutoStartHosts!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + */ + public readonly rampUpMinutesToWaitOnDisconnect!: pulumi.Output; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + */ + public readonly rampUpMinutesToWaitOnLogoff!: pulumi.Output; + /** + * Starting time for ramp up period. + */ + public readonly rampUpStartTime!: pulumi.Output; + /** + * The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + */ + public readonly rampUpStartVMOnConnect!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ScalingPlanPersonalSchedule 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: ScalingPlanPersonalScheduleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.scalingPlanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'scalingPlanName'"); + } + resourceInputs["daysOfWeek"] = args ? args.daysOfWeek : undefined; + resourceInputs["offPeakActionOnDisconnect"] = args ? args.offPeakActionOnDisconnect : undefined; + resourceInputs["offPeakActionOnLogoff"] = args ? args.offPeakActionOnLogoff : undefined; + resourceInputs["offPeakMinutesToWaitOnDisconnect"] = args ? args.offPeakMinutesToWaitOnDisconnect : undefined; + resourceInputs["offPeakMinutesToWaitOnLogoff"] = args ? args.offPeakMinutesToWaitOnLogoff : undefined; + resourceInputs["offPeakStartTime"] = args ? args.offPeakStartTime : undefined; + resourceInputs["offPeakStartVMOnConnect"] = (args ? args.offPeakStartVMOnConnect : undefined) ?? "Enable"; + resourceInputs["peakActionOnDisconnect"] = args ? args.peakActionOnDisconnect : undefined; + resourceInputs["peakActionOnLogoff"] = args ? args.peakActionOnLogoff : undefined; + resourceInputs["peakMinutesToWaitOnDisconnect"] = args ? args.peakMinutesToWaitOnDisconnect : undefined; + resourceInputs["peakMinutesToWaitOnLogoff"] = args ? args.peakMinutesToWaitOnLogoff : undefined; + resourceInputs["peakStartTime"] = args ? args.peakStartTime : undefined; + resourceInputs["peakStartVMOnConnect"] = (args ? args.peakStartVMOnConnect : undefined) ?? "Enable"; + resourceInputs["rampDownActionOnDisconnect"] = args ? args.rampDownActionOnDisconnect : undefined; + resourceInputs["rampDownActionOnLogoff"] = args ? args.rampDownActionOnLogoff : undefined; + resourceInputs["rampDownMinutesToWaitOnDisconnect"] = args ? args.rampDownMinutesToWaitOnDisconnect : undefined; + resourceInputs["rampDownMinutesToWaitOnLogoff"] = args ? args.rampDownMinutesToWaitOnLogoff : undefined; + resourceInputs["rampDownStartTime"] = args ? args.rampDownStartTime : undefined; + resourceInputs["rampDownStartVMOnConnect"] = (args ? args.rampDownStartVMOnConnect : undefined) ?? "Enable"; + resourceInputs["rampUpActionOnDisconnect"] = args ? args.rampUpActionOnDisconnect : undefined; + resourceInputs["rampUpActionOnLogoff"] = args ? args.rampUpActionOnLogoff : undefined; + resourceInputs["rampUpAutoStartHosts"] = args ? args.rampUpAutoStartHosts : undefined; + resourceInputs["rampUpMinutesToWaitOnDisconnect"] = args ? args.rampUpMinutesToWaitOnDisconnect : undefined; + resourceInputs["rampUpMinutesToWaitOnLogoff"] = args ? args.rampUpMinutesToWaitOnLogoff : undefined; + resourceInputs["rampUpStartTime"] = args ? args.rampUpStartTime : undefined; + resourceInputs["rampUpStartVMOnConnect"] = (args ? args.rampUpStartVMOnConnect : undefined) ?? "Enable"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["scalingPlanName"] = args ? args.scalingPlanName : undefined; + resourceInputs["scalingPlanScheduleName"] = args ? args.scalingPlanScheduleName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["daysOfWeek"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["offPeakActionOnDisconnect"] = undefined /*out*/; + resourceInputs["offPeakActionOnLogoff"] = undefined /*out*/; + resourceInputs["offPeakMinutesToWaitOnDisconnect"] = undefined /*out*/; + resourceInputs["offPeakMinutesToWaitOnLogoff"] = undefined /*out*/; + resourceInputs["offPeakStartTime"] = undefined /*out*/; + resourceInputs["offPeakStartVMOnConnect"] = undefined /*out*/; + resourceInputs["peakActionOnDisconnect"] = undefined /*out*/; + resourceInputs["peakActionOnLogoff"] = undefined /*out*/; + resourceInputs["peakMinutesToWaitOnDisconnect"] = undefined /*out*/; + resourceInputs["peakMinutesToWaitOnLogoff"] = undefined /*out*/; + resourceInputs["peakStartTime"] = undefined /*out*/; + resourceInputs["peakStartVMOnConnect"] = undefined /*out*/; + resourceInputs["rampDownActionOnDisconnect"] = undefined /*out*/; + resourceInputs["rampDownActionOnLogoff"] = undefined /*out*/; + resourceInputs["rampDownMinutesToWaitOnDisconnect"] = undefined /*out*/; + resourceInputs["rampDownMinutesToWaitOnLogoff"] = undefined /*out*/; + resourceInputs["rampDownStartTime"] = undefined /*out*/; + resourceInputs["rampDownStartVMOnConnect"] = undefined /*out*/; + resourceInputs["rampUpActionOnDisconnect"] = undefined /*out*/; + resourceInputs["rampUpActionOnLogoff"] = undefined /*out*/; + resourceInputs["rampUpAutoStartHosts"] = undefined /*out*/; + resourceInputs["rampUpMinutesToWaitOnDisconnect"] = undefined /*out*/; + resourceInputs["rampUpMinutesToWaitOnLogoff"] = undefined /*out*/; + resourceInputs["rampUpStartTime"] = undefined /*out*/; + resourceInputs["rampUpStartVMOnConnect"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPersonalSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ScalingPlanPersonalSchedule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ScalingPlanPersonalSchedule resource. + */ +export interface ScalingPlanPersonalScheduleArgs { + /** + * Set of days of the week on which this schedule is active. + */ + daysOfWeek?: pulumi.Input[]>; + /** + * Action to be taken after a user disconnect during the off-peak period. + */ + offPeakActionOnDisconnect?: pulumi.Input; + /** + * Action to be taken after a logoff during the off-peak period. + */ + offPeakActionOnLogoff?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + */ + offPeakMinutesToWaitOnDisconnect?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + */ + offPeakMinutesToWaitOnLogoff?: pulumi.Input; + /** + * Starting time for off-peak period. + */ + offPeakStartTime?: pulumi.Input; + /** + * The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + */ + offPeakStartVMOnConnect?: pulumi.Input; + /** + * Action to be taken after a user disconnect during the peak period. + */ + peakActionOnDisconnect?: pulumi.Input; + /** + * Action to be taken after a logoff during the peak period. + */ + peakActionOnLogoff?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + */ + peakMinutesToWaitOnDisconnect?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + */ + peakMinutesToWaitOnLogoff?: pulumi.Input; + /** + * Starting time for peak period. + */ + peakStartTime?: pulumi.Input; + /** + * The desired configuration of Start VM On Connect for the hostpool during the peak phase. + */ + peakStartVMOnConnect?: pulumi.Input; + /** + * Action to be taken after a user disconnect during the ramp down period. + */ + rampDownActionOnDisconnect?: pulumi.Input; + /** + * Action to be taken after a logoff during the ramp down period. + */ + rampDownActionOnLogoff?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + */ + rampDownMinutesToWaitOnDisconnect?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + */ + rampDownMinutesToWaitOnLogoff?: pulumi.Input; + /** + * Starting time for ramp down period. + */ + rampDownStartTime?: pulumi.Input; + /** + * The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + */ + rampDownStartVMOnConnect?: pulumi.Input; + /** + * Action to be taken after a user disconnect during the ramp up period. + */ + rampUpActionOnDisconnect?: pulumi.Input; + /** + * Action to be taken after a logoff during the ramp up period. + */ + rampUpActionOnLogoff?: pulumi.Input; + /** + * The desired startup behavior during the ramp up period for personal vms in the hostpool. + */ + rampUpAutoStartHosts?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + */ + rampUpMinutesToWaitOnDisconnect?: pulumi.Input; + /** + * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + */ + rampUpMinutesToWaitOnLogoff?: pulumi.Input; + /** + * Starting time for ramp up period. + */ + rampUpStartTime?: pulumi.Input; + /** + * The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + */ + rampUpStartVMOnConnect?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the scaling plan. + */ + scalingPlanName: pulumi.Input; + /** + * The name of the ScalingPlanSchedule + */ + scalingPlanScheduleName?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/scalingPlanPooledSchedule.ts b/sdk/nodejs/desktopvirtualization/v20230905/scalingPlanPooledSchedule.ts new file mode 100644 index 000000000000..7732681f78a6 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/scalingPlanPooledSchedule.ts @@ -0,0 +1,274 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a ScalingPlanPooledSchedule definition. + */ +export class ScalingPlanPooledSchedule extends pulumi.CustomResource { + /** + * Get an existing ScalingPlanPooledSchedule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ScalingPlanPooledSchedule { + return new ScalingPlanPooledSchedule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule'; + + /** + * Returns true if the given object is an instance of ScalingPlanPooledSchedule. 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 ScalingPlanPooledSchedule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ScalingPlanPooledSchedule.__pulumiType; + } + + /** + * Set of days of the week on which this schedule is active. + */ + public readonly daysOfWeek!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Load balancing algorithm for off-peak period. + */ + public readonly offPeakLoadBalancingAlgorithm!: pulumi.Output; + /** + * Starting time for off-peak period. + */ + public readonly offPeakStartTime!: pulumi.Output; + /** + * Load balancing algorithm for peak period. + */ + public readonly peakLoadBalancingAlgorithm!: pulumi.Output; + /** + * Starting time for peak period. + */ + public readonly peakStartTime!: pulumi.Output; + /** + * Capacity threshold for ramp down period. + */ + public readonly rampDownCapacityThresholdPct!: pulumi.Output; + /** + * Should users be logged off forcefully from hosts. + */ + public readonly rampDownForceLogoffUsers!: pulumi.Output; + /** + * Load balancing algorithm for ramp down period. + */ + public readonly rampDownLoadBalancingAlgorithm!: pulumi.Output; + /** + * Minimum host percentage for ramp down period. + */ + public readonly rampDownMinimumHostsPct!: pulumi.Output; + /** + * Notification message for users during ramp down period. + */ + public readonly rampDownNotificationMessage!: pulumi.Output; + /** + * Starting time for ramp down period. + */ + public readonly rampDownStartTime!: pulumi.Output; + /** + * Specifies when to stop hosts during ramp down period. + */ + public readonly rampDownStopHostsWhen!: pulumi.Output; + /** + * Number of minutes to wait to stop hosts during ramp down period. + */ + public readonly rampDownWaitTimeMinutes!: pulumi.Output; + /** + * Capacity threshold for ramp up period. + */ + public readonly rampUpCapacityThresholdPct!: pulumi.Output; + /** + * Load balancing algorithm for ramp up period. + */ + public readonly rampUpLoadBalancingAlgorithm!: pulumi.Output; + /** + * Minimum host percentage for ramp up period. + */ + public readonly rampUpMinimumHostsPct!: pulumi.Output; + /** + * Starting time for ramp up period. + */ + public readonly rampUpStartTime!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ScalingPlanPooledSchedule 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: ScalingPlanPooledScheduleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.scalingPlanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'scalingPlanName'"); + } + resourceInputs["daysOfWeek"] = args ? args.daysOfWeek : undefined; + resourceInputs["offPeakLoadBalancingAlgorithm"] = args ? args.offPeakLoadBalancingAlgorithm : undefined; + resourceInputs["offPeakStartTime"] = args ? args.offPeakStartTime : undefined; + resourceInputs["peakLoadBalancingAlgorithm"] = args ? args.peakLoadBalancingAlgorithm : undefined; + resourceInputs["peakStartTime"] = args ? args.peakStartTime : undefined; + resourceInputs["rampDownCapacityThresholdPct"] = args ? args.rampDownCapacityThresholdPct : undefined; + resourceInputs["rampDownForceLogoffUsers"] = args ? args.rampDownForceLogoffUsers : undefined; + resourceInputs["rampDownLoadBalancingAlgorithm"] = args ? args.rampDownLoadBalancingAlgorithm : undefined; + resourceInputs["rampDownMinimumHostsPct"] = args ? args.rampDownMinimumHostsPct : undefined; + resourceInputs["rampDownNotificationMessage"] = args ? args.rampDownNotificationMessage : undefined; + resourceInputs["rampDownStartTime"] = args ? args.rampDownStartTime : undefined; + resourceInputs["rampDownStopHostsWhen"] = args ? args.rampDownStopHostsWhen : undefined; + resourceInputs["rampDownWaitTimeMinutes"] = args ? args.rampDownWaitTimeMinutes : undefined; + resourceInputs["rampUpCapacityThresholdPct"] = args ? args.rampUpCapacityThresholdPct : undefined; + resourceInputs["rampUpLoadBalancingAlgorithm"] = args ? args.rampUpLoadBalancingAlgorithm : undefined; + resourceInputs["rampUpMinimumHostsPct"] = args ? args.rampUpMinimumHostsPct : undefined; + resourceInputs["rampUpStartTime"] = args ? args.rampUpStartTime : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["scalingPlanName"] = args ? args.scalingPlanName : undefined; + resourceInputs["scalingPlanScheduleName"] = args ? args.scalingPlanScheduleName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["daysOfWeek"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["offPeakLoadBalancingAlgorithm"] = undefined /*out*/; + resourceInputs["offPeakStartTime"] = undefined /*out*/; + resourceInputs["peakLoadBalancingAlgorithm"] = undefined /*out*/; + resourceInputs["peakStartTime"] = undefined /*out*/; + resourceInputs["rampDownCapacityThresholdPct"] = undefined /*out*/; + resourceInputs["rampDownForceLogoffUsers"] = undefined /*out*/; + resourceInputs["rampDownLoadBalancingAlgorithm"] = undefined /*out*/; + resourceInputs["rampDownMinimumHostsPct"] = undefined /*out*/; + resourceInputs["rampDownNotificationMessage"] = undefined /*out*/; + resourceInputs["rampDownStartTime"] = undefined /*out*/; + resourceInputs["rampDownStopHostsWhen"] = undefined /*out*/; + resourceInputs["rampDownWaitTimeMinutes"] = undefined /*out*/; + resourceInputs["rampUpCapacityThresholdPct"] = undefined /*out*/; + resourceInputs["rampUpLoadBalancingAlgorithm"] = undefined /*out*/; + resourceInputs["rampUpMinimumHostsPct"] = undefined /*out*/; + resourceInputs["rampUpStartTime"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule" }, { type: "azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ScalingPlanPooledSchedule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ScalingPlanPooledSchedule resource. + */ +export interface ScalingPlanPooledScheduleArgs { + /** + * Set of days of the week on which this schedule is active. + */ + daysOfWeek?: pulumi.Input[]>; + /** + * Load balancing algorithm for off-peak period. + */ + offPeakLoadBalancingAlgorithm?: pulumi.Input; + /** + * Starting time for off-peak period. + */ + offPeakStartTime?: pulumi.Input; + /** + * Load balancing algorithm for peak period. + */ + peakLoadBalancingAlgorithm?: pulumi.Input; + /** + * Starting time for peak period. + */ + peakStartTime?: pulumi.Input; + /** + * Capacity threshold for ramp down period. + */ + rampDownCapacityThresholdPct?: pulumi.Input; + /** + * Should users be logged off forcefully from hosts. + */ + rampDownForceLogoffUsers?: pulumi.Input; + /** + * Load balancing algorithm for ramp down period. + */ + rampDownLoadBalancingAlgorithm?: pulumi.Input; + /** + * Minimum host percentage for ramp down period. + */ + rampDownMinimumHostsPct?: pulumi.Input; + /** + * Notification message for users during ramp down period. + */ + rampDownNotificationMessage?: pulumi.Input; + /** + * Starting time for ramp down period. + */ + rampDownStartTime?: pulumi.Input; + /** + * Specifies when to stop hosts during ramp down period. + */ + rampDownStopHostsWhen?: pulumi.Input; + /** + * Number of minutes to wait to stop hosts during ramp down period. + */ + rampDownWaitTimeMinutes?: pulumi.Input; + /** + * Capacity threshold for ramp up period. + */ + rampUpCapacityThresholdPct?: pulumi.Input; + /** + * Load balancing algorithm for ramp up period. + */ + rampUpLoadBalancingAlgorithm?: pulumi.Input; + /** + * Minimum host percentage for ramp up period. + */ + rampUpMinimumHostsPct?: pulumi.Input; + /** + * Starting time for ramp up period. + */ + rampUpStartTime?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the scaling plan. + */ + scalingPlanName: pulumi.Input; + /** + * The name of the ScalingPlanSchedule + */ + scalingPlanScheduleName?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/v20230905/workspace.ts b/sdk/nodejs/desktopvirtualization/v20230905/workspace.ts new file mode 100644 index 000000000000..0e30d6594447 --- /dev/null +++ b/sdk/nodejs/desktopvirtualization/v20230905/workspace.ts @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Workspace definition. + */ +export class Workspace extends pulumi.CustomResource { + /** + * Get an existing Workspace 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Workspace { + return new Workspace(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:desktopvirtualization/v20230905:Workspace'; + + /** + * Returns true if the given object is an instance of Workspace. 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 Workspace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Workspace.__pulumiType; + } + + /** + * List of applicationGroup resource Ids. + */ + public readonly applicationGroupReferences!: pulumi.Output; + /** + * Is cloud pc resource. + */ + public /*out*/ readonly cloudPcResource!: pulumi.Output; + /** + * Description of Workspace. + */ + public readonly description!: pulumi.Output; + /** + * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Friendly name of Workspace. + */ + public readonly friendlyName!: pulumi.Output; + public readonly identity!: pulumi.Output; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + public readonly kind!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + public readonly managedBy!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * ObjectId of Workspace. (internal use) + */ + public /*out*/ readonly objectId!: pulumi.Output; + public readonly plan!: pulumi.Output; + /** + * List of private endpoint connection associated with the specified resource + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ + public readonly publicNetworkAccess!: pulumi.Output; + public readonly sku!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Workspace 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: WorkspaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["applicationGroupReferences"] = args ? args.applicationGroupReferences : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["friendlyName"] = args ? args.friendlyName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedBy"] = args ? args.managedBy : undefined; + resourceInputs["plan"] = args ? args.plan : 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["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["cloudPcResource"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["applicationGroupReferences"] = undefined /*out*/; + resourceInputs["cloudPcResource"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["friendlyName"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedBy"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["objectId"] = undefined /*out*/; + resourceInputs["plan"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization:Workspace" }, { type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Workspace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Workspace resource. + */ +export interface WorkspaceArgs { + /** + * List of applicationGroup resource Ids. + */ + applicationGroupReferences?: pulumi.Input[]>; + /** + * Description of Workspace. + */ + description?: pulumi.Input; + /** + * Friendly name of Workspace. + */ + friendlyName?: pulumi.Input; + identity?: pulumi.Input; + /** + * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + */ + kind?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + */ + managedBy?: pulumi.Input; + plan?: pulumi.Input; + /** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + sku?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the workspace + */ + workspaceName?: pulumi.Input; +} diff --git a/sdk/nodejs/desktopvirtualization/workspace.ts b/sdk/nodejs/desktopvirtualization/workspace.ts index ebadcbba1a26..b9f4ed22f045 100644 --- a/sdk/nodejs/desktopvirtualization/workspace.ts +++ b/sdk/nodejs/desktopvirtualization/workspace.ts @@ -145,7 +145,7 @@ export class Workspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20190123preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20190924preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20191210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20200921preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201019preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201102preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20201110preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210114preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210201preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210309preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20210712:Workspace" }, { type: "azure-native:desktopvirtualization/v20210903preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220210preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220401preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20220909:Workspace" }, { type: "azure-native:desktopvirtualization/v20221014preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230707preview:Workspace" }, { type: "azure-native:desktopvirtualization/v20230905:Workspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Workspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/attachedNetworkByDevCenter.ts b/sdk/nodejs/devcenter/attachedNetworkByDevCenter.ts index b2dffb00092c..2f3f745b9ff8 100644 --- a/sdk/nodejs/devcenter/attachedNetworkByDevCenter.ts +++ b/sdk/nodejs/devcenter/attachedNetworkByDevCenter.ts @@ -113,7 +113,7 @@ export class AttachedNetworkByDevCenter extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230401:AttachedNetworkByDevCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230401:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AttachedNetworkByDevCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/catalog.ts b/sdk/nodejs/devcenter/catalog.ts index 233270a24fe9..14758544fdfc 100644 --- a/sdk/nodejs/devcenter/catalog.ts +++ b/sdk/nodejs/devcenter/catalog.ts @@ -110,7 +110,7 @@ export class Catalog extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Catalog" }, { type: "azure-native:devcenter/v20220901preview:Catalog" }, { type: "azure-native:devcenter/v20221012preview:Catalog" }, { type: "azure-native:devcenter/v20221111preview:Catalog" }, { type: "azure-native:devcenter/v20230101preview:Catalog" }, { type: "azure-native:devcenter/v20230401:Catalog" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Catalog" }, { type: "azure-native:devcenter/v20220901preview:Catalog" }, { type: "azure-native:devcenter/v20221012preview:Catalog" }, { type: "azure-native:devcenter/v20221111preview:Catalog" }, { type: "azure-native:devcenter/v20230101preview:Catalog" }, { type: "azure-native:devcenter/v20230401:Catalog" }, { type: "azure-native:devcenter/v20230801preview:Catalog" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Catalog.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/devBoxDefinition.ts b/sdk/nodejs/devcenter/devBoxDefinition.ts index 5337eed6c1e6..d6290dbde5b8 100644 --- a/sdk/nodejs/devcenter/devBoxDefinition.ts +++ b/sdk/nodejs/devcenter/devBoxDefinition.ts @@ -146,7 +146,7 @@ export class DevBoxDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221111preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230401:DevBoxDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221111preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230401:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230801preview:DevBoxDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DevBoxDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/devCenter.ts b/sdk/nodejs/devcenter/devCenter.ts index f16ba71027bf..d879d36fc06d 100644 --- a/sdk/nodejs/devcenter/devCenter.ts +++ b/sdk/nodejs/devcenter/devCenter.ts @@ -106,7 +106,7 @@ export class DevCenter extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:DevCenter" }, { type: "azure-native:devcenter/v20220901preview:DevCenter" }, { type: "azure-native:devcenter/v20221012preview:DevCenter" }, { type: "azure-native:devcenter/v20221111preview:DevCenter" }, { type: "azure-native:devcenter/v20230101preview:DevCenter" }, { type: "azure-native:devcenter/v20230401:DevCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:DevCenter" }, { type: "azure-native:devcenter/v20220901preview:DevCenter" }, { type: "azure-native:devcenter/v20221012preview:DevCenter" }, { type: "azure-native:devcenter/v20221111preview:DevCenter" }, { type: "azure-native:devcenter/v20230101preview:DevCenter" }, { type: "azure-native:devcenter/v20230401:DevCenter" }, { type: "azure-native:devcenter/v20230801preview:DevCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DevCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/environmentType.ts b/sdk/nodejs/devcenter/environmentType.ts index 41e8feb31879..0b991e023c9f 100644 --- a/sdk/nodejs/devcenter/environmentType.ts +++ b/sdk/nodejs/devcenter/environmentType.ts @@ -92,7 +92,7 @@ export class EnvironmentType extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:EnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230401:EnvironmentType" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:EnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230401:EnvironmentType" }, { type: "azure-native:devcenter/v20230801preview:EnvironmentType" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EnvironmentType.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/gallery.ts b/sdk/nodejs/devcenter/gallery.ts index 1210bc693737..d244b36de3de 100644 --- a/sdk/nodejs/devcenter/gallery.ts +++ b/sdk/nodejs/devcenter/gallery.ts @@ -95,7 +95,7 @@ export class Gallery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Gallery" }, { type: "azure-native:devcenter/v20220901preview:Gallery" }, { type: "azure-native:devcenter/v20221012preview:Gallery" }, { type: "azure-native:devcenter/v20221111preview:Gallery" }, { type: "azure-native:devcenter/v20230101preview:Gallery" }, { type: "azure-native:devcenter/v20230401:Gallery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Gallery" }, { type: "azure-native:devcenter/v20220901preview:Gallery" }, { type: "azure-native:devcenter/v20221012preview:Gallery" }, { type: "azure-native:devcenter/v20221111preview:Gallery" }, { type: "azure-native:devcenter/v20230101preview:Gallery" }, { type: "azure-native:devcenter/v20230401:Gallery" }, { type: "azure-native:devcenter/v20230801preview:Gallery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Gallery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/getCatalogDevBoxDefinitionErrorDetails.ts b/sdk/nodejs/devcenter/getCatalogDevBoxDefinitionErrorDetails.ts new file mode 100644 index 000000000000..2fb9a02d991b --- /dev/null +++ b/sdk/nodejs/devcenter/getCatalogDevBoxDefinitionErrorDetails.ts @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Gets Catalog Devbox Definition error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getCatalogDevBoxDefinitionErrorDetails(args: GetCatalogDevBoxDefinitionErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter:getCatalogDevBoxDefinitionErrorDetails", { + "catalogName": args.catalogName, + "devBoxDefinitionName": args.devBoxDefinitionName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCatalogDevBoxDefinitionErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + */ +export interface GetCatalogDevBoxDefinitionErrorDetailsResult { + /** + * Errors associated with resources synchronized from the catalog. + */ + readonly errors: outputs.devcenter.CatalogErrorDetailsResponse[]; +} +/** + * Gets Catalog Devbox Definition error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getCatalogDevBoxDefinitionErrorDetailsOutput(args: GetCatalogDevBoxDefinitionErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCatalogDevBoxDefinitionErrorDetails(a, opts)) +} + +export interface GetCatalogDevBoxDefinitionErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/getCatalogSyncErrorDetails.ts b/sdk/nodejs/devcenter/getCatalogSyncErrorDetails.ts new file mode 100644 index 000000000000..8fde586d3cc6 --- /dev/null +++ b/sdk/nodejs/devcenter/getCatalogSyncErrorDetails.ts @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Gets catalog synchronization error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getCatalogSyncErrorDetails(args: GetCatalogSyncErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter:getCatalogSyncErrorDetails", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCatalogSyncErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Synchronization error details. + */ +export interface GetCatalogSyncErrorDetailsResult { + /** + * Catalog items that have conflicting names. + */ + readonly conflicts: outputs.devcenter.CatalogConflictErrorResponse[]; + /** + * Errors that occured during synchronization. + */ + readonly errors: outputs.devcenter.CatalogSyncErrorResponse[]; + /** + * Error information for the overall synchronization operation. + */ + readonly operationError: outputs.devcenter.CatalogErrorDetailsResponse; +} +/** + * Gets catalog synchronization error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getCatalogSyncErrorDetailsOutput(args: GetCatalogSyncErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCatalogSyncErrorDetails(a, opts)) +} + +export interface GetCatalogSyncErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/getCustomizationTaskErrorDetails.ts b/sdk/nodejs/devcenter/getCustomizationTaskErrorDetails.ts new file mode 100644 index 000000000000..e5e58aca0908 --- /dev/null +++ b/sdk/nodejs/devcenter/getCustomizationTaskErrorDetails.ts @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Gets Customization Task error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getCustomizationTaskErrorDetails(args: GetCustomizationTaskErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter:getCustomizationTaskErrorDetails", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + "taskName": args.taskName, + }, opts); +} + +export interface GetCustomizationTaskErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the Task. + */ + taskName: string; +} + +/** + * List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + */ +export interface GetCustomizationTaskErrorDetailsResult { + /** + * Errors associated with resources synchronized from the catalog. + */ + readonly errors: outputs.devcenter.CatalogErrorDetailsResponse[]; +} +/** + * Gets Customization Task error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getCustomizationTaskErrorDetailsOutput(args: GetCustomizationTaskErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCustomizationTaskErrorDetails(a, opts)) +} + +export interface GetCustomizationTaskErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Task. + */ + taskName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/getEnvironmentDefinitionErrorDetails.ts b/sdk/nodejs/devcenter/getEnvironmentDefinitionErrorDetails.ts new file mode 100644 index 000000000000..55106e36f7e1 --- /dev/null +++ b/sdk/nodejs/devcenter/getEnvironmentDefinitionErrorDetails.ts @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Gets Environment Definition error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getEnvironmentDefinitionErrorDetails(args: GetEnvironmentDefinitionErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter:getEnvironmentDefinitionErrorDetails", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "environmentDefinitionName": args.environmentDefinitionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetEnvironmentDefinitionErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the Environment Definition. + */ + environmentDefinitionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + */ +export interface GetEnvironmentDefinitionErrorDetailsResult { + /** + * Errors associated with resources synchronized from the catalog. + */ + readonly errors: outputs.devcenter.CatalogErrorDetailsResponse[]; +} +/** + * Gets Environment Definition error details + * Azure REST API version: 2023-08-01-preview. + */ +export function getEnvironmentDefinitionErrorDetailsOutput(args: GetEnvironmentDefinitionErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEnvironmentDefinitionErrorDetails(a, opts)) +} + +export interface GetEnvironmentDefinitionErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the Environment Definition. + */ + environmentDefinitionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/index.ts b/sdk/nodejs/devcenter/index.ts index de6cf1bad440..cca7f7a7d368 100644 --- a/sdk/nodejs/devcenter/index.ts +++ b/sdk/nodejs/devcenter/index.ts @@ -45,6 +45,21 @@ export const getCatalog: typeof import("./getCatalog").getCatalog = null as any; export const getCatalogOutput: typeof import("./getCatalog").getCatalogOutput = null as any; utilities.lazyLoad(exports, ["getCatalog","getCatalogOutput"], () => require("./getCatalog")); +export { GetCatalogDevBoxDefinitionErrorDetailsArgs, GetCatalogDevBoxDefinitionErrorDetailsResult, GetCatalogDevBoxDefinitionErrorDetailsOutputArgs } from "./getCatalogDevBoxDefinitionErrorDetails"; +export const getCatalogDevBoxDefinitionErrorDetails: typeof import("./getCatalogDevBoxDefinitionErrorDetails").getCatalogDevBoxDefinitionErrorDetails = null as any; +export const getCatalogDevBoxDefinitionErrorDetailsOutput: typeof import("./getCatalogDevBoxDefinitionErrorDetails").getCatalogDevBoxDefinitionErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getCatalogDevBoxDefinitionErrorDetails","getCatalogDevBoxDefinitionErrorDetailsOutput"], () => require("./getCatalogDevBoxDefinitionErrorDetails")); + +export { GetCatalogSyncErrorDetailsArgs, GetCatalogSyncErrorDetailsResult, GetCatalogSyncErrorDetailsOutputArgs } from "./getCatalogSyncErrorDetails"; +export const getCatalogSyncErrorDetails: typeof import("./getCatalogSyncErrorDetails").getCatalogSyncErrorDetails = null as any; +export const getCatalogSyncErrorDetailsOutput: typeof import("./getCatalogSyncErrorDetails").getCatalogSyncErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getCatalogSyncErrorDetails","getCatalogSyncErrorDetailsOutput"], () => require("./getCatalogSyncErrorDetails")); + +export { GetCustomizationTaskErrorDetailsArgs, GetCustomizationTaskErrorDetailsResult, GetCustomizationTaskErrorDetailsOutputArgs } from "./getCustomizationTaskErrorDetails"; +export const getCustomizationTaskErrorDetails: typeof import("./getCustomizationTaskErrorDetails").getCustomizationTaskErrorDetails = null as any; +export const getCustomizationTaskErrorDetailsOutput: typeof import("./getCustomizationTaskErrorDetails").getCustomizationTaskErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getCustomizationTaskErrorDetails","getCustomizationTaskErrorDetailsOutput"], () => require("./getCustomizationTaskErrorDetails")); + export { GetDevBoxDefinitionArgs, GetDevBoxDefinitionResult, GetDevBoxDefinitionOutputArgs } from "./getDevBoxDefinition"; export const getDevBoxDefinition: typeof import("./getDevBoxDefinition").getDevBoxDefinition = null as any; export const getDevBoxDefinitionOutput: typeof import("./getDevBoxDefinition").getDevBoxDefinitionOutput = null as any; @@ -55,6 +70,11 @@ export const getDevCenter: typeof import("./getDevCenter").getDevCenter = null a export const getDevCenterOutput: typeof import("./getDevCenter").getDevCenterOutput = null as any; utilities.lazyLoad(exports, ["getDevCenter","getDevCenterOutput"], () => require("./getDevCenter")); +export { GetEnvironmentDefinitionErrorDetailsArgs, GetEnvironmentDefinitionErrorDetailsResult, GetEnvironmentDefinitionErrorDetailsOutputArgs } from "./getEnvironmentDefinitionErrorDetails"; +export const getEnvironmentDefinitionErrorDetails: typeof import("./getEnvironmentDefinitionErrorDetails").getEnvironmentDefinitionErrorDetails = null as any; +export const getEnvironmentDefinitionErrorDetailsOutput: typeof import("./getEnvironmentDefinitionErrorDetails").getEnvironmentDefinitionErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getEnvironmentDefinitionErrorDetails","getEnvironmentDefinitionErrorDetailsOutput"], () => require("./getEnvironmentDefinitionErrorDetails")); + export { GetEnvironmentTypeArgs, GetEnvironmentTypeResult, GetEnvironmentTypeOutputArgs } from "./getEnvironmentType"; export const getEnvironmentType: typeof import("./getEnvironmentType").getEnvironmentType = null as any; export const getEnvironmentTypeOutput: typeof import("./getEnvironmentType").getEnvironmentTypeOutput = null as any; @@ -122,10 +142,12 @@ export * from "../types/enums/devcenter"; // Export sub-modules: import * as v20221111preview from "./v20221111preview"; import * as v20230401 from "./v20230401"; +import * as v20230801preview from "./v20230801preview"; export { v20221111preview, v20230401, + v20230801preview, }; const _module = { diff --git a/sdk/nodejs/devcenter/networkConnection.ts b/sdk/nodejs/devcenter/networkConnection.ts index 121457994402..137b14113ad6 100644 --- a/sdk/nodejs/devcenter/networkConnection.ts +++ b/sdk/nodejs/devcenter/networkConnection.ts @@ -148,7 +148,7 @@ export class NetworkConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:NetworkConnection" }, { type: "azure-native:devcenter/v20220901preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221012preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221111preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230101preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230401:NetworkConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:NetworkConnection" }, { type: "azure-native:devcenter/v20220901preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221012preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221111preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230101preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230401:NetworkConnection" }, { type: "azure-native:devcenter/v20230801preview:NetworkConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/pool.ts b/sdk/nodejs/devcenter/pool.ts index 525893c5c61c..500afe8c3368 100644 --- a/sdk/nodejs/devcenter/pool.ts +++ b/sdk/nodejs/devcenter/pool.ts @@ -152,7 +152,7 @@ export class Pool extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Pool" }, { type: "azure-native:devcenter/v20220901preview:Pool" }, { type: "azure-native:devcenter/v20221012preview:Pool" }, { type: "azure-native:devcenter/v20221111preview:Pool" }, { type: "azure-native:devcenter/v20230101preview:Pool" }, { type: "azure-native:devcenter/v20230401:Pool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Pool" }, { type: "azure-native:devcenter/v20220901preview:Pool" }, { type: "azure-native:devcenter/v20221012preview:Pool" }, { type: "azure-native:devcenter/v20221111preview:Pool" }, { type: "azure-native:devcenter/v20230101preview:Pool" }, { type: "azure-native:devcenter/v20230401:Pool" }, { type: "azure-native:devcenter/v20230801preview:Pool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Pool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/project.ts b/sdk/nodejs/devcenter/project.ts index 305f0407432a..c8d12692d690 100644 --- a/sdk/nodejs/devcenter/project.ts +++ b/sdk/nodejs/devcenter/project.ts @@ -118,7 +118,7 @@ export class Project extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Project" }, { type: "azure-native:devcenter/v20220901preview:Project" }, { type: "azure-native:devcenter/v20221012preview:Project" }, { type: "azure-native:devcenter/v20221111preview:Project" }, { type: "azure-native:devcenter/v20230101preview:Project" }, { type: "azure-native:devcenter/v20230401:Project" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Project" }, { type: "azure-native:devcenter/v20220901preview:Project" }, { type: "azure-native:devcenter/v20221012preview:Project" }, { type: "azure-native:devcenter/v20221111preview:Project" }, { type: "azure-native:devcenter/v20230101preview:Project" }, { type: "azure-native:devcenter/v20230401:Project" }, { type: "azure-native:devcenter/v20230801preview:Project" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Project.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/projectEnvironmentType.ts b/sdk/nodejs/devcenter/projectEnvironmentType.ts index e58209912b25..910002daf7ac 100644 --- a/sdk/nodejs/devcenter/projectEnvironmentType.ts +++ b/sdk/nodejs/devcenter/projectEnvironmentType.ts @@ -128,7 +128,7 @@ export class ProjectEnvironmentType extends pulumi.CustomResource { resourceInputs["userRoleAssignments"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230401:ProjectEnvironmentType" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230401:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230801preview:ProjectEnvironmentType" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ProjectEnvironmentType.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/schedule.ts b/sdk/nodejs/devcenter/schedule.ts index d1713492e672..ed152046243e 100644 --- a/sdk/nodejs/devcenter/schedule.ts +++ b/sdk/nodejs/devcenter/schedule.ts @@ -127,7 +127,7 @@ export class Schedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Schedule" }, { type: "azure-native:devcenter/v20220901preview:Schedule" }, { type: "azure-native:devcenter/v20221012preview:Schedule" }, { type: "azure-native:devcenter/v20221111preview:Schedule" }, { type: "azure-native:devcenter/v20230101preview:Schedule" }, { type: "azure-native:devcenter/v20230401:Schedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Schedule" }, { type: "azure-native:devcenter/v20220901preview:Schedule" }, { type: "azure-native:devcenter/v20221012preview:Schedule" }, { type: "azure-native:devcenter/v20221111preview:Schedule" }, { type: "azure-native:devcenter/v20230101preview:Schedule" }, { type: "azure-native:devcenter/v20230401:Schedule" }, { type: "azure-native:devcenter/v20230801preview:Schedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Schedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20221111preview/devBoxDefinition.ts b/sdk/nodejs/devcenter/v20221111preview/devBoxDefinition.ts index 88f7c77b9863..c180d701e7c1 100644 --- a/sdk/nodejs/devcenter/v20221111preview/devBoxDefinition.ts +++ b/sdk/nodejs/devcenter/v20221111preview/devBoxDefinition.ts @@ -148,7 +148,7 @@ export class DevBoxDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230401:DevBoxDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230401:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230801preview:DevBoxDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DevBoxDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/attachedNetworkByDevCenter.ts b/sdk/nodejs/devcenter/v20230401/attachedNetworkByDevCenter.ts index a698e661b713..023cdc79dd1f 100644 --- a/sdk/nodejs/devcenter/v20230401/attachedNetworkByDevCenter.ts +++ b/sdk/nodejs/devcenter/v20230401/attachedNetworkByDevCenter.ts @@ -112,7 +112,7 @@ export class AttachedNetworkByDevCenter extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AttachedNetworkByDevCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/catalog.ts b/sdk/nodejs/devcenter/v20230401/catalog.ts index 01eb31f6a15e..f77571685a37 100644 --- a/sdk/nodejs/devcenter/v20230401/catalog.ts +++ b/sdk/nodejs/devcenter/v20230401/catalog.ts @@ -109,7 +109,7 @@ export class Catalog extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Catalog" }, { type: "azure-native:devcenter/v20220801preview:Catalog" }, { type: "azure-native:devcenter/v20220901preview:Catalog" }, { type: "azure-native:devcenter/v20221012preview:Catalog" }, { type: "azure-native:devcenter/v20221111preview:Catalog" }, { type: "azure-native:devcenter/v20230101preview:Catalog" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Catalog" }, { type: "azure-native:devcenter/v20220801preview:Catalog" }, { type: "azure-native:devcenter/v20220901preview:Catalog" }, { type: "azure-native:devcenter/v20221012preview:Catalog" }, { type: "azure-native:devcenter/v20221111preview:Catalog" }, { type: "azure-native:devcenter/v20230101preview:Catalog" }, { type: "azure-native:devcenter/v20230801preview:Catalog" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Catalog.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/devBoxDefinition.ts b/sdk/nodejs/devcenter/v20230401/devBoxDefinition.ts index 969f35b87028..44289273304b 100644 --- a/sdk/nodejs/devcenter/v20230401/devBoxDefinition.ts +++ b/sdk/nodejs/devcenter/v20230401/devBoxDefinition.ts @@ -145,7 +145,7 @@ export class DevBoxDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221111preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221111preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230801preview:DevBoxDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DevBoxDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/devCenter.ts b/sdk/nodejs/devcenter/v20230401/devCenter.ts index 38a45408649b..9809f93dec6b 100644 --- a/sdk/nodejs/devcenter/v20230401/devCenter.ts +++ b/sdk/nodejs/devcenter/v20230401/devCenter.ts @@ -105,7 +105,7 @@ export class DevCenter extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevCenter" }, { type: "azure-native:devcenter/v20220801preview:DevCenter" }, { type: "azure-native:devcenter/v20220901preview:DevCenter" }, { type: "azure-native:devcenter/v20221012preview:DevCenter" }, { type: "azure-native:devcenter/v20221111preview:DevCenter" }, { type: "azure-native:devcenter/v20230101preview:DevCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevCenter" }, { type: "azure-native:devcenter/v20220801preview:DevCenter" }, { type: "azure-native:devcenter/v20220901preview:DevCenter" }, { type: "azure-native:devcenter/v20221012preview:DevCenter" }, { type: "azure-native:devcenter/v20221111preview:DevCenter" }, { type: "azure-native:devcenter/v20230101preview:DevCenter" }, { type: "azure-native:devcenter/v20230801preview:DevCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DevCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/environmentType.ts b/sdk/nodejs/devcenter/v20230401/environmentType.ts index b3be712536aa..ff3eef6c7c1f 100644 --- a/sdk/nodejs/devcenter/v20230401/environmentType.ts +++ b/sdk/nodejs/devcenter/v20230401/environmentType.ts @@ -91,7 +91,7 @@ export class EnvironmentType extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:EnvironmentType" }, { type: "azure-native:devcenter/v20220801preview:EnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:EnvironmentType" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:EnvironmentType" }, { type: "azure-native:devcenter/v20220801preview:EnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230801preview:EnvironmentType" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EnvironmentType.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/gallery.ts b/sdk/nodejs/devcenter/v20230401/gallery.ts index 415a5618b763..c0ae72a7f6cd 100644 --- a/sdk/nodejs/devcenter/v20230401/gallery.ts +++ b/sdk/nodejs/devcenter/v20230401/gallery.ts @@ -94,7 +94,7 @@ export class Gallery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Gallery" }, { type: "azure-native:devcenter/v20220801preview:Gallery" }, { type: "azure-native:devcenter/v20220901preview:Gallery" }, { type: "azure-native:devcenter/v20221012preview:Gallery" }, { type: "azure-native:devcenter/v20221111preview:Gallery" }, { type: "azure-native:devcenter/v20230101preview:Gallery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Gallery" }, { type: "azure-native:devcenter/v20220801preview:Gallery" }, { type: "azure-native:devcenter/v20220901preview:Gallery" }, { type: "azure-native:devcenter/v20221012preview:Gallery" }, { type: "azure-native:devcenter/v20221111preview:Gallery" }, { type: "azure-native:devcenter/v20230101preview:Gallery" }, { type: "azure-native:devcenter/v20230801preview:Gallery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Gallery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/networkConnection.ts b/sdk/nodejs/devcenter/v20230401/networkConnection.ts index c0f9fe17654b..8c5195528545 100644 --- a/sdk/nodejs/devcenter/v20230401/networkConnection.ts +++ b/sdk/nodejs/devcenter/v20230401/networkConnection.ts @@ -147,7 +147,7 @@ export class NetworkConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:NetworkConnection" }, { type: "azure-native:devcenter/v20220801preview:NetworkConnection" }, { type: "azure-native:devcenter/v20220901preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221012preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221111preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230101preview:NetworkConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:NetworkConnection" }, { type: "azure-native:devcenter/v20220801preview:NetworkConnection" }, { type: "azure-native:devcenter/v20220901preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221012preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221111preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230101preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230801preview:NetworkConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/pool.ts b/sdk/nodejs/devcenter/v20230401/pool.ts index bfecb2f8092e..5f44ea66bb90 100644 --- a/sdk/nodejs/devcenter/v20230401/pool.ts +++ b/sdk/nodejs/devcenter/v20230401/pool.ts @@ -151,7 +151,7 @@ export class Pool extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Pool" }, { type: "azure-native:devcenter/v20220801preview:Pool" }, { type: "azure-native:devcenter/v20220901preview:Pool" }, { type: "azure-native:devcenter/v20221012preview:Pool" }, { type: "azure-native:devcenter/v20221111preview:Pool" }, { type: "azure-native:devcenter/v20230101preview:Pool" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Pool" }, { type: "azure-native:devcenter/v20220801preview:Pool" }, { type: "azure-native:devcenter/v20220901preview:Pool" }, { type: "azure-native:devcenter/v20221012preview:Pool" }, { type: "azure-native:devcenter/v20221111preview:Pool" }, { type: "azure-native:devcenter/v20230101preview:Pool" }, { type: "azure-native:devcenter/v20230801preview:Pool" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Pool.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/project.ts b/sdk/nodejs/devcenter/v20230401/project.ts index 29ac138db114..ce2450c7489d 100644 --- a/sdk/nodejs/devcenter/v20230401/project.ts +++ b/sdk/nodejs/devcenter/v20230401/project.ts @@ -117,7 +117,7 @@ export class Project extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Project" }, { type: "azure-native:devcenter/v20220801preview:Project" }, { type: "azure-native:devcenter/v20220901preview:Project" }, { type: "azure-native:devcenter/v20221012preview:Project" }, { type: "azure-native:devcenter/v20221111preview:Project" }, { type: "azure-native:devcenter/v20230101preview:Project" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Project" }, { type: "azure-native:devcenter/v20220801preview:Project" }, { type: "azure-native:devcenter/v20220901preview:Project" }, { type: "azure-native:devcenter/v20221012preview:Project" }, { type: "azure-native:devcenter/v20221111preview:Project" }, { type: "azure-native:devcenter/v20230101preview:Project" }, { type: "azure-native:devcenter/v20230801preview:Project" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Project.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/projectEnvironmentType.ts b/sdk/nodejs/devcenter/v20230401/projectEnvironmentType.ts index 3a89fa5bcf44..be48d0e36640 100644 --- a/sdk/nodejs/devcenter/v20230401/projectEnvironmentType.ts +++ b/sdk/nodejs/devcenter/v20230401/projectEnvironmentType.ts @@ -127,7 +127,7 @@ export class ProjectEnvironmentType extends pulumi.CustomResource { resourceInputs["userRoleAssignments"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220801preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:ProjectEnvironmentType" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220801preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230801preview:ProjectEnvironmentType" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ProjectEnvironmentType.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230401/schedule.ts b/sdk/nodejs/devcenter/v20230401/schedule.ts index 2c576e72d93c..f0b88e4185ab 100644 --- a/sdk/nodejs/devcenter/v20230401/schedule.ts +++ b/sdk/nodejs/devcenter/v20230401/schedule.ts @@ -126,7 +126,7 @@ export class Schedule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Schedule" }, { type: "azure-native:devcenter/v20220801preview:Schedule" }, { type: "azure-native:devcenter/v20220901preview:Schedule" }, { type: "azure-native:devcenter/v20221012preview:Schedule" }, { type: "azure-native:devcenter/v20221111preview:Schedule" }, { type: "azure-native:devcenter/v20230101preview:Schedule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Schedule" }, { type: "azure-native:devcenter/v20220801preview:Schedule" }, { type: "azure-native:devcenter/v20220901preview:Schedule" }, { type: "azure-native:devcenter/v20221012preview:Schedule" }, { type: "azure-native:devcenter/v20221111preview:Schedule" }, { type: "azure-native:devcenter/v20230101preview:Schedule" }, { type: "azure-native:devcenter/v20230801preview:Schedule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Schedule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/devcenter/v20230801preview/attachedNetworkByDevCenter.ts b/sdk/nodejs/devcenter/v20230801preview/attachedNetworkByDevCenter.ts new file mode 100644 index 000000000000..a3e4c9f961d0 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/attachedNetworkByDevCenter.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents an attached NetworkConnection. + */ +export class AttachedNetworkByDevCenter extends pulumi.CustomResource { + /** + * Get an existing AttachedNetworkByDevCenter 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AttachedNetworkByDevCenter { + return new AttachedNetworkByDevCenter(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter'; + + /** + * Returns true if the given object is an instance of AttachedNetworkByDevCenter. 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 AttachedNetworkByDevCenter { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AttachedNetworkByDevCenter.__pulumiType; + } + + /** + * AAD Join type of the network. This is populated based on the referenced Network Connection. + */ + public /*out*/ readonly domainJoinType!: pulumi.Output; + /** + * Health check status values + */ + public /*out*/ readonly healthCheckStatus!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource ID of the NetworkConnection you want to attach. + */ + public readonly networkConnectionId!: pulumi.Output; + /** + * The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. + */ + public /*out*/ readonly networkConnectionLocation!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AttachedNetworkByDevCenter 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: AttachedNetworkByDevCenterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.devCenterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'devCenterName'"); + } + if ((!args || args.networkConnectionId === undefined) && !opts.urn) { + throw new Error("Missing required property 'networkConnectionId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["attachedNetworkConnectionName"] = args ? args.attachedNetworkConnectionName : undefined; + resourceInputs["devCenterName"] = args ? args.devCenterName : undefined; + resourceInputs["networkConnectionId"] = args ? args.networkConnectionId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["domainJoinType"] = undefined /*out*/; + resourceInputs["healthCheckStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkConnectionLocation"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["domainJoinType"] = undefined /*out*/; + resourceInputs["healthCheckStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkConnectionId"] = undefined /*out*/; + resourceInputs["networkConnectionLocation"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter" }, { type: "azure-native:devcenter/v20230401:AttachedNetworkByDevCenter" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AttachedNetworkByDevCenter.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AttachedNetworkByDevCenter resource. + */ +export interface AttachedNetworkByDevCenterArgs { + /** + * The name of the attached NetworkConnection. + */ + attachedNetworkConnectionName?: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The resource ID of the NetworkConnection you want to attach. + */ + networkConnectionId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/catalog.ts b/sdk/nodejs/devcenter/v20230801preview/catalog.ts new file mode 100644 index 000000000000..7650833e8f59 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/catalog.ts @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a catalog. + */ +export class Catalog extends pulumi.CustomResource { + /** + * Get an existing Catalog 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Catalog { + return new Catalog(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:Catalog'; + + /** + * Returns true if the given object is an instance of Catalog. 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 Catalog { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Catalog.__pulumiType; + } + + /** + * Properties for an Azure DevOps catalog type. + */ + public readonly adoGit!: pulumi.Output; + /** + * The connection state of the catalog. + */ + public /*out*/ readonly connectionState!: pulumi.Output; + /** + * Properties for a GitHub catalog type. + */ + public readonly gitHub!: pulumi.Output; + /** + * When the catalog was last connected. + */ + public /*out*/ readonly lastConnectionTime!: pulumi.Output; + /** + * Stats of the latest synchronization. + */ + public /*out*/ readonly lastSyncStats!: pulumi.Output; + /** + * When the catalog was last synced. + */ + public /*out*/ readonly lastSyncTime!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The synchronization state of the catalog. + */ + public /*out*/ readonly syncState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Catalog 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: CatalogArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.devCenterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'devCenterName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["adoGit"] = args ? args.adoGit : undefined; + resourceInputs["catalogName"] = args ? args.catalogName : undefined; + resourceInputs["devCenterName"] = args ? args.devCenterName : undefined; + resourceInputs["gitHub"] = args ? args.gitHub : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["connectionState"] = undefined /*out*/; + resourceInputs["lastConnectionTime"] = undefined /*out*/; + resourceInputs["lastSyncStats"] = undefined /*out*/; + resourceInputs["lastSyncTime"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["syncState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["adoGit"] = undefined /*out*/; + resourceInputs["connectionState"] = undefined /*out*/; + resourceInputs["gitHub"] = undefined /*out*/; + resourceInputs["lastConnectionTime"] = undefined /*out*/; + resourceInputs["lastSyncStats"] = undefined /*out*/; + resourceInputs["lastSyncTime"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["syncState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Catalog" }, { type: "azure-native:devcenter/v20220801preview:Catalog" }, { type: "azure-native:devcenter/v20220901preview:Catalog" }, { type: "azure-native:devcenter/v20221012preview:Catalog" }, { type: "azure-native:devcenter/v20221111preview:Catalog" }, { type: "azure-native:devcenter/v20230101preview:Catalog" }, { type: "azure-native:devcenter/v20230401:Catalog" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Catalog.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Catalog resource. + */ +export interface CatalogArgs { + /** + * Properties for an Azure DevOps catalog type. + */ + adoGit?: pulumi.Input; + /** + * The name of the Catalog. + */ + catalogName?: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * Properties for a GitHub catalog type. + */ + gitHub?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/devBoxDefinition.ts b/sdk/nodejs/devcenter/v20230801preview/devBoxDefinition.ts new file mode 100644 index 000000000000..f56623747549 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/devBoxDefinition.ts @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a definition for a Developer Machine. + */ +export class DevBoxDefinition extends pulumi.CustomResource { + /** + * Get an existing DevBoxDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DevBoxDefinition { + return new DevBoxDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:DevBoxDefinition'; + + /** + * Returns true if the given object is an instance of DevBoxDefinition. 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 DevBoxDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DevBoxDefinition.__pulumiType; + } + + /** + * Image reference information for the currently active image (only populated during updates). + */ + public /*out*/ readonly activeImageReference!: pulumi.Output; + /** + * Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + */ + public readonly hibernateSupport!: pulumi.Output; + /** + * Image reference information. + */ + public readonly imageReference!: pulumi.Output; + /** + * Details for image validator error. Populated when the image validation is not successful. + */ + public /*out*/ readonly imageValidationErrorDetails!: pulumi.Output; + /** + * Validation status of the configured image. + */ + public /*out*/ readonly imageValidationStatus!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The storage type used for the Operating System disk of Dev Boxes created using this definition. + */ + public readonly osStorageType!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The SKU for Dev Boxes created using this definition. + */ + public readonly sku!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Validation status for the Dev Box Definition. + */ + public /*out*/ readonly validationStatus!: pulumi.Output; + + /** + * Create a DevBoxDefinition 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: DevBoxDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.devCenterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'devCenterName'"); + } + if ((!args || args.imageReference === undefined) && !opts.urn) { + throw new Error("Missing required property 'imageReference'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sku === undefined) && !opts.urn) { + throw new Error("Missing required property 'sku'"); + } + resourceInputs["devBoxDefinitionName"] = args ? args.devBoxDefinitionName : undefined; + resourceInputs["devCenterName"] = args ? args.devCenterName : undefined; + resourceInputs["hibernateSupport"] = args ? args.hibernateSupport : undefined; + resourceInputs["imageReference"] = args ? args.imageReference : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["osStorageType"] = args ? args.osStorageType : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["activeImageReference"] = undefined /*out*/; + resourceInputs["imageValidationErrorDetails"] = undefined /*out*/; + resourceInputs["imageValidationStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationStatus"] = undefined /*out*/; + } else { + resourceInputs["activeImageReference"] = undefined /*out*/; + resourceInputs["hibernateSupport"] = undefined /*out*/; + resourceInputs["imageReference"] = undefined /*out*/; + resourceInputs["imageValidationErrorDetails"] = undefined /*out*/; + resourceInputs["imageValidationStatus"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["osStorageType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validationStatus"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220801preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20220901preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221012preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20221111preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230101preview:DevBoxDefinition" }, { type: "azure-native:devcenter/v20230401:DevBoxDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(DevBoxDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a DevBoxDefinition resource. + */ +export interface DevBoxDefinitionArgs { + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName?: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + */ + hibernateSupport?: pulumi.Input; + /** + * Image reference information. + */ + imageReference: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The storage type used for the Operating System disk of Dev Boxes created using this definition. + */ + osStorageType?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The SKU for Dev Boxes created using this definition. + */ + sku: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/devCenter.ts b/sdk/nodejs/devcenter/v20230801preview/devCenter.ts new file mode 100644 index 000000000000..68eb85d2c918 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/devCenter.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a devcenter resource. + */ +export class DevCenter extends pulumi.CustomResource { + /** + * Get an existing DevCenter 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DevCenter { + return new DevCenter(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:DevCenter'; + + /** + * Returns true if the given object is an instance of DevCenter. 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 DevCenter { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DevCenter.__pulumiType; + } + + /** + * The URI of the Dev Center. + */ + public /*out*/ readonly devCenterUri!: pulumi.Output; + /** + * Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + */ + public readonly encryption!: pulumi.Output; + /** + * Managed identity properties + */ + public readonly identity!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a DevCenter 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: DevCenterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["devCenterName"] = args ? args.devCenterName : undefined; + resourceInputs["encryption"] = args ? args.encryption : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["devCenterUri"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["devCenterUri"] = undefined /*out*/; + resourceInputs["encryption"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:DevCenter" }, { type: "azure-native:devcenter/v20220801preview:DevCenter" }, { type: "azure-native:devcenter/v20220901preview:DevCenter" }, { type: "azure-native:devcenter/v20221012preview:DevCenter" }, { type: "azure-native:devcenter/v20221111preview:DevCenter" }, { type: "azure-native:devcenter/v20230101preview:DevCenter" }, { type: "azure-native:devcenter/v20230401:DevCenter" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(DevCenter.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a DevCenter resource. + */ +export interface DevCenterArgs { + /** + * The name of the devcenter. + */ + devCenterName?: pulumi.Input; + /** + * Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + */ + encryption?: pulumi.Input; + /** + * Managed identity properties + */ + identity?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/environmentType.ts b/sdk/nodejs/devcenter/v20230801preview/environmentType.ts new file mode 100644 index 000000000000..462daa8645a8 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/environmentType.ts @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents an environment type. + */ +export class EnvironmentType extends pulumi.CustomResource { + /** + * Get an existing EnvironmentType 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EnvironmentType { + return new EnvironmentType(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:EnvironmentType'; + + /** + * Returns true if the given object is an instance of EnvironmentType. 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 EnvironmentType { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EnvironmentType.__pulumiType; + } + + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a EnvironmentType 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: EnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.devCenterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'devCenterName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["devCenterName"] = args ? args.devCenterName : undefined; + resourceInputs["environmentTypeName"] = args ? args.environmentTypeName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:EnvironmentType" }, { type: "azure-native:devcenter/v20220801preview:EnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:EnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:EnvironmentType" }, { type: "azure-native:devcenter/v20230401:EnvironmentType" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(EnvironmentType.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a EnvironmentType resource. + */ +export interface EnvironmentTypeArgs { + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the environment type. + */ + environmentTypeName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/gallery.ts b/sdk/nodejs/devcenter/v20230801preview/gallery.ts new file mode 100644 index 000000000000..ffc43788a04b --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/gallery.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a gallery. + */ +export class Gallery extends pulumi.CustomResource { + /** + * Get an existing Gallery 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Gallery { + return new Gallery(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:Gallery'; + + /** + * Returns true if the given object is an instance of Gallery. 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 Gallery { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Gallery.__pulumiType; + } + + /** + * The resource ID of the backing Azure Compute Gallery. + */ + public readonly galleryResourceId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Gallery 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: GalleryArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.devCenterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'devCenterName'"); + } + if ((!args || args.galleryResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'galleryResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["devCenterName"] = args ? args.devCenterName : undefined; + resourceInputs["galleryName"] = args ? args.galleryName : undefined; + resourceInputs["galleryResourceId"] = args ? args.galleryResourceId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["galleryResourceId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Gallery" }, { type: "azure-native:devcenter/v20220801preview:Gallery" }, { type: "azure-native:devcenter/v20220901preview:Gallery" }, { type: "azure-native:devcenter/v20221012preview:Gallery" }, { type: "azure-native:devcenter/v20221111preview:Gallery" }, { type: "azure-native:devcenter/v20230101preview:Gallery" }, { type: "azure-native:devcenter/v20230401:Gallery" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Gallery.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Gallery resource. + */ +export interface GalleryArgs { + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the gallery. + */ + galleryName?: pulumi.Input; + /** + * The resource ID of the backing Azure Compute Gallery. + */ + galleryResourceId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getAttachedNetworkByDevCenter.ts b/sdk/nodejs/devcenter/v20230801preview/getAttachedNetworkByDevCenter.ts new file mode 100644 index 000000000000..75b2749ebfab --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getAttachedNetworkByDevCenter.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an attached NetworkConnection. + */ +export function getAttachedNetworkByDevCenter(args: GetAttachedNetworkByDevCenterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getAttachedNetworkByDevCenter", { + "attachedNetworkConnectionName": args.attachedNetworkConnectionName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAttachedNetworkByDevCenterArgs { + /** + * The name of the attached NetworkConnection. + */ + attachedNetworkConnectionName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents an attached NetworkConnection. + */ +export interface GetAttachedNetworkByDevCenterResult { + /** + * AAD Join type of the network. This is populated based on the referenced Network Connection. + */ + readonly domainJoinType: string; + /** + * Health check status values + */ + readonly healthCheckStatus: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The resource ID of the NetworkConnection you want to attach. + */ + readonly networkConnectionId: string; + /** + * The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. + */ + readonly networkConnectionLocation: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an attached NetworkConnection. + */ +export function getAttachedNetworkByDevCenterOutput(args: GetAttachedNetworkByDevCenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAttachedNetworkByDevCenter(a, opts)) +} + +export interface GetAttachedNetworkByDevCenterOutputArgs { + /** + * The name of the attached NetworkConnection. + */ + attachedNetworkConnectionName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getCatalog.ts b/sdk/nodejs/devcenter/v20230801preview/getCatalog.ts new file mode 100644 index 000000000000..6548a5667567 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getCatalog.ts @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a catalog + */ +export function getCatalog(args: GetCatalogArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getCatalog", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCatalogArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a catalog. + */ +export interface GetCatalogResult { + /** + * Properties for an Azure DevOps catalog type. + */ + readonly adoGit?: outputs.devcenter.v20230801preview.GitCatalogResponse; + /** + * The connection state of the catalog. + */ + readonly connectionState: string; + /** + * Properties for a GitHub catalog type. + */ + readonly gitHub?: outputs.devcenter.v20230801preview.GitCatalogResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * When the catalog was last connected. + */ + readonly lastConnectionTime: string; + /** + * Stats of the latest synchronization. + */ + readonly lastSyncStats: outputs.devcenter.v20230801preview.SyncStatsResponse; + /** + * When the catalog was last synced. + */ + readonly lastSyncTime: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * The synchronization state of the catalog. + */ + readonly syncState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a catalog + */ +export function getCatalogOutput(args: GetCatalogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCatalog(a, opts)) +} + +export interface GetCatalogOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getCatalogDevBoxDefinitionErrorDetails.ts b/sdk/nodejs/devcenter/v20230801preview/getCatalogDevBoxDefinitionErrorDetails.ts new file mode 100644 index 000000000000..d1ca598df04c --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getCatalogDevBoxDefinitionErrorDetails.ts @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets Catalog Devbox Definition error details + */ +export function getCatalogDevBoxDefinitionErrorDetails(args: GetCatalogDevBoxDefinitionErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getCatalogDevBoxDefinitionErrorDetails", { + "catalogName": args.catalogName, + "devBoxDefinitionName": args.devBoxDefinitionName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCatalogDevBoxDefinitionErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + */ +export interface GetCatalogDevBoxDefinitionErrorDetailsResult { + /** + * Errors associated with resources synchronized from the catalog. + */ + readonly errors: outputs.devcenter.v20230801preview.CatalogErrorDetailsResponse[]; +} +/** + * Gets Catalog Devbox Definition error details + */ +export function getCatalogDevBoxDefinitionErrorDetailsOutput(args: GetCatalogDevBoxDefinitionErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCatalogDevBoxDefinitionErrorDetails(a, opts)) +} + +export interface GetCatalogDevBoxDefinitionErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getCatalogSyncErrorDetails.ts b/sdk/nodejs/devcenter/v20230801preview/getCatalogSyncErrorDetails.ts new file mode 100644 index 000000000000..7ba987aaed39 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getCatalogSyncErrorDetails.ts @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets catalog synchronization error details + */ +export function getCatalogSyncErrorDetails(args: GetCatalogSyncErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getCatalogSyncErrorDetails", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCatalogSyncErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Synchronization error details. + */ +export interface GetCatalogSyncErrorDetailsResult { + /** + * Catalog items that have conflicting names. + */ + readonly conflicts: outputs.devcenter.v20230801preview.CatalogConflictErrorResponse[]; + /** + * Errors that occured during synchronization. + */ + readonly errors: outputs.devcenter.v20230801preview.CatalogSyncErrorResponse[]; + /** + * Error information for the overall synchronization operation. + */ + readonly operationError: outputs.devcenter.v20230801preview.CatalogErrorDetailsResponse; +} +/** + * Gets catalog synchronization error details + */ +export function getCatalogSyncErrorDetailsOutput(args: GetCatalogSyncErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCatalogSyncErrorDetails(a, opts)) +} + +export interface GetCatalogSyncErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getCustomizationTaskErrorDetails.ts b/sdk/nodejs/devcenter/v20230801preview/getCustomizationTaskErrorDetails.ts new file mode 100644 index 000000000000..27c669c3f543 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getCustomizationTaskErrorDetails.ts @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets Customization Task error details + */ +export function getCustomizationTaskErrorDetails(args: GetCustomizationTaskErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getCustomizationTaskErrorDetails", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + "taskName": args.taskName, + }, opts); +} + +export interface GetCustomizationTaskErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the Task. + */ + taskName: string; +} + +/** + * List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + */ +export interface GetCustomizationTaskErrorDetailsResult { + /** + * Errors associated with resources synchronized from the catalog. + */ + readonly errors: outputs.devcenter.v20230801preview.CatalogErrorDetailsResponse[]; +} +/** + * Gets Customization Task error details + */ +export function getCustomizationTaskErrorDetailsOutput(args: GetCustomizationTaskErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCustomizationTaskErrorDetails(a, opts)) +} + +export interface GetCustomizationTaskErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Task. + */ + taskName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getDevBoxDefinition.ts b/sdk/nodejs/devcenter/v20230801preview/getDevBoxDefinition.ts new file mode 100644 index 000000000000..3aad90d32cff --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getDevBoxDefinition.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a Dev Box definition + */ +export function getDevBoxDefinition(args: GetDevBoxDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getDevBoxDefinition", { + "devBoxDefinitionName": args.devBoxDefinitionName, + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetDevBoxDefinitionArgs { + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a definition for a Developer Machine. + */ +export interface GetDevBoxDefinitionResult { + /** + * Image reference information for the currently active image (only populated during updates). + */ + readonly activeImageReference: outputs.devcenter.v20230801preview.ImageReferenceResponse; + /** + * Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + */ + readonly hibernateSupport?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Image reference information. + */ + readonly imageReference: outputs.devcenter.v20230801preview.ImageReferenceResponse; + /** + * Details for image validator error. Populated when the image validation is not successful. + */ + readonly imageValidationErrorDetails: outputs.devcenter.v20230801preview.ImageValidationErrorDetailsResponse; + /** + * Validation status of the configured image. + */ + readonly imageValidationStatus: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The storage type used for the Operating System disk of Dev Boxes created using this definition. + */ + readonly osStorageType?: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * The SKU for Dev Boxes created using this definition. + */ + readonly sku: outputs.devcenter.v20230801preview.SkuResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Validation status for the Dev Box Definition. + */ + readonly validationStatus: string; +} +/** + * Gets a Dev Box definition + */ +export function getDevBoxDefinitionOutput(args: GetDevBoxDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDevBoxDefinition(a, opts)) +} + +export interface GetDevBoxDefinitionOutputArgs { + /** + * The name of the Dev Box definition. + */ + devBoxDefinitionName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getDevCenter.ts b/sdk/nodejs/devcenter/v20230801preview/getDevCenter.ts new file mode 100644 index 000000000000..d7dd1c59e3f0 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getDevCenter.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a devcenter. + */ +export function getDevCenter(args: GetDevCenterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getDevCenter", { + "devCenterName": args.devCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetDevCenterArgs { + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a devcenter resource. + */ +export interface GetDevCenterResult { + /** + * The URI of the Dev Center. + */ + readonly devCenterUri: string; + /** + * Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + */ + readonly encryption?: outputs.devcenter.v20230801preview.EncryptionResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Managed identity properties + */ + readonly identity?: outputs.devcenter.v20230801preview.ManagedServiceIdentityResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a devcenter. + */ +export function getDevCenterOutput(args: GetDevCenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDevCenter(a, opts)) +} + +export interface GetDevCenterOutputArgs { + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getEnvironmentDefinitionErrorDetails.ts b/sdk/nodejs/devcenter/v20230801preview/getEnvironmentDefinitionErrorDetails.ts new file mode 100644 index 000000000000..7b7187d3bcd9 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getEnvironmentDefinitionErrorDetails.ts @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets Environment Definition error details + */ +export function getEnvironmentDefinitionErrorDetails(args: GetEnvironmentDefinitionErrorDetailsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getEnvironmentDefinitionErrorDetails", { + "catalogName": args.catalogName, + "devCenterName": args.devCenterName, + "environmentDefinitionName": args.environmentDefinitionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetEnvironmentDefinitionErrorDetailsArgs { + /** + * The name of the Catalog. + */ + catalogName: string; + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the Environment Definition. + */ + environmentDefinitionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + */ +export interface GetEnvironmentDefinitionErrorDetailsResult { + /** + * Errors associated with resources synchronized from the catalog. + */ + readonly errors: outputs.devcenter.v20230801preview.CatalogErrorDetailsResponse[]; +} +/** + * Gets Environment Definition error details + */ +export function getEnvironmentDefinitionErrorDetailsOutput(args: GetEnvironmentDefinitionErrorDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEnvironmentDefinitionErrorDetails(a, opts)) +} + +export interface GetEnvironmentDefinitionErrorDetailsOutputArgs { + /** + * The name of the Catalog. + */ + catalogName: pulumi.Input; + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the Environment Definition. + */ + environmentDefinitionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getEnvironmentType.ts b/sdk/nodejs/devcenter/v20230801preview/getEnvironmentType.ts new file mode 100644 index 000000000000..9a410e7a60d3 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getEnvironmentType.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an environment type. + */ +export function getEnvironmentType(args: GetEnvironmentTypeArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getEnvironmentType", { + "devCenterName": args.devCenterName, + "environmentTypeName": args.environmentTypeName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetEnvironmentTypeArgs { + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the environment type. + */ + environmentTypeName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents an environment type. + */ +export interface GetEnvironmentTypeResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an environment type. + */ +export function getEnvironmentTypeOutput(args: GetEnvironmentTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEnvironmentType(a, opts)) +} + +export interface GetEnvironmentTypeOutputArgs { + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the environment type. + */ + environmentTypeName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getGallery.ts b/sdk/nodejs/devcenter/v20230801preview/getGallery.ts new file mode 100644 index 000000000000..29987204782e --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getGallery.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a gallery + */ +export function getGallery(args: GetGalleryArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getGallery", { + "devCenterName": args.devCenterName, + "galleryName": args.galleryName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGalleryArgs { + /** + * The name of the devcenter. + */ + devCenterName: string; + /** + * The name of the gallery. + */ + galleryName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a gallery. + */ +export interface GetGalleryResult { + /** + * The resource ID of the backing Azure Compute Gallery. + */ + readonly galleryResourceId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a gallery + */ +export function getGalleryOutput(args: GetGalleryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGallery(a, opts)) +} + +export interface GetGalleryOutputArgs { + /** + * The name of the devcenter. + */ + devCenterName: pulumi.Input; + /** + * The name of the gallery. + */ + galleryName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getNetworkConnection.ts b/sdk/nodejs/devcenter/v20230801preview/getNetworkConnection.ts new file mode 100644 index 000000000000..04e3703425fd --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getNetworkConnection.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a network connection resource + */ +export function getNetworkConnection(args: GetNetworkConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getNetworkConnection", { + "networkConnectionName": args.networkConnectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNetworkConnectionArgs { + /** + * Name of the Network Connection that can be applied to a Pool. + */ + networkConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Network related settings + */ +export interface GetNetworkConnectionResult { + /** + * AAD Join type. + */ + readonly domainJoinType: string; + /** + * Active Directory domain name + */ + readonly domainName?: string; + /** + * The password for the account used to join domain + */ + readonly domainPassword?: string; + /** + * The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + */ + readonly domainUsername?: string; + /** + * Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. + */ + readonly healthCheckStatus: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The name for resource group where NICs will be placed. + */ + readonly networkingResourceGroupName?: string; + /** + * Active Directory domain Organization Unit (OU) + */ + readonly organizationUnit?: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * The subnet to attach Virtual Machines to + */ + readonly subnetId: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a network connection resource + */ +export function getNetworkConnectionOutput(args: GetNetworkConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getNetworkConnection(a, opts)) +} + +export interface GetNetworkConnectionOutputArgs { + /** + * Name of the Network Connection that can be applied to a Pool. + */ + networkConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getPool.ts b/sdk/nodejs/devcenter/v20230801preview/getPool.ts new file mode 100644 index 000000000000..3a9b1dcb8867 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getPool.ts @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a machine pool + */ +export function getPool(args: GetPoolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getPool", { + "poolName": args.poolName, + "projectName": args.projectName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPoolArgs { + /** + * Name of the pool. + */ + poolName: string; + /** + * The name of the project. + */ + projectName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A pool of Virtual Machines. + */ +export interface GetPoolResult { + /** + * Indicates the number of provisioned Dev Boxes in this pool. + */ + readonly devBoxCount: number; + /** + * Name of a Dev Box definition in parent Project of this Pool + */ + readonly devBoxDefinitionName: string; + /** + * Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. + */ + readonly healthStatus: string; + /** + * Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state + */ + readonly healthStatusDetails: outputs.devcenter.v20230801preview.HealthStatusDetailResponse[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + */ + readonly licenseType: string; + /** + * Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + */ + readonly localAdministrator: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Name of a Network Connection in parent Project of this Pool + */ + readonly networkConnectionName: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + */ + readonly singleSignOnStatus?: string; + /** + * Stop on disconnect configuration settings for Dev Boxes created in this pool. + */ + readonly stopOnDisconnect?: outputs.devcenter.v20230801preview.StopOnDisconnectConfigurationResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a machine pool + */ +export function getPoolOutput(args: GetPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPool(a, opts)) +} + +export interface GetPoolOutputArgs { + /** + * Name of the pool. + */ + poolName: pulumi.Input; + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getProject.ts b/sdk/nodejs/devcenter/v20230801preview/getProject.ts new file mode 100644 index 000000000000..f5f2b213333c --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getProject.ts @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a specific project. + */ +export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getProject", { + "projectName": args.projectName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetProjectArgs { + /** + * The name of the project. + */ + projectName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a project resource. + */ +export interface GetProjectResult { + /** + * Description of the project. + */ + readonly description?: string; + /** + * Resource Id of an associated DevCenter + */ + readonly devCenterId?: string; + /** + * The URI of the Dev Center resource this project is associated with. + */ + readonly devCenterUri: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + */ + readonly maxDevBoxesPerUser?: number; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a specific project. + */ +export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getProject(a, opts)) +} + +export interface GetProjectOutputArgs { + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getProjectEnvironmentType.ts b/sdk/nodejs/devcenter/v20230801preview/getProjectEnvironmentType.ts new file mode 100644 index 000000000000..a2a2d4d16a7e --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getProjectEnvironmentType.ts @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a project environment type. + */ +export function getProjectEnvironmentType(args: GetProjectEnvironmentTypeArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getProjectEnvironmentType", { + "environmentTypeName": args.environmentTypeName, + "projectName": args.projectName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetProjectEnvironmentTypeArgs { + /** + * The name of the environment type. + */ + environmentTypeName: string; + /** + * The name of the project. + */ + projectName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents an environment type. + */ +export interface GetProjectEnvironmentTypeResult { + /** + * The role definition assigned to the environment creator on backing resources. + */ + readonly creatorRoleAssignment?: outputs.devcenter.v20230801preview.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment; + /** + * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + */ + readonly deploymentTargetId?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Managed identity properties + */ + readonly identity?: outputs.devcenter.v20230801preview.ManagedServiceIdentityResponse; + /** + * The geo-location for the environment type + */ + readonly location?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Defines whether this Environment Type can be used in this Project. + */ + readonly status?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + */ + readonly userRoleAssignments?: {[key: string]: outputs.devcenter.v20230801preview.UserRoleAssignmentResponse}; +} +/** + * Gets a project environment type. + */ +export function getProjectEnvironmentTypeOutput(args: GetProjectEnvironmentTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getProjectEnvironmentType(a, opts)) +} + +export interface GetProjectEnvironmentTypeOutputArgs { + /** + * The name of the environment type. + */ + environmentTypeName: pulumi.Input; + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/getSchedule.ts b/sdk/nodejs/devcenter/v20230801preview/getSchedule.ts new file mode 100644 index 000000000000..7215ec5f1dcb --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/getSchedule.ts @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a schedule resource. + */ +export function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:devcenter/v20230801preview:getSchedule", { + "poolName": args.poolName, + "projectName": args.projectName, + "resourceGroupName": args.resourceGroupName, + "scheduleName": args.scheduleName, + "top": args.top, + }, opts); +} + +export interface GetScheduleArgs { + /** + * Name of the pool. + */ + poolName: string; + /** + * The name of the project. + */ + projectName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the schedule that uniquely identifies it. + */ + scheduleName: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10'. + */ + top?: number; +} + +/** + * Represents a Schedule to execute a task. + */ +export interface GetScheduleResult { + /** + * The frequency of this scheduled task. + */ + readonly frequency: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the resource. + */ + readonly provisioningState: string; + /** + * Indicates whether or not this scheduled task is enabled. + */ + readonly state?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.devcenter.v20230801preview.SystemDataResponse; + /** + * The target time to trigger the action. The format is HH:MM. + */ + readonly time: string; + /** + * The IANA timezone id at which the schedule should execute. + */ + readonly timeZone: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a schedule resource. + */ +export function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSchedule(a, opts)) +} + +export interface GetScheduleOutputArgs { + /** + * Name of the pool. + */ + poolName: pulumi.Input; + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the schedule that uniquely identifies it. + */ + scheduleName: pulumi.Input; + /** + * The maximum number of resources to return from the operation. Example: '$top=10'. + */ + top?: pulumi.Input; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/index.ts b/sdk/nodejs/devcenter/v20230801preview/index.ts new file mode 100644 index 000000000000..26a8c9e4fb56 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/index.ts @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { AttachedNetworkByDevCenterArgs } from "./attachedNetworkByDevCenter"; +export type AttachedNetworkByDevCenter = import("./attachedNetworkByDevCenter").AttachedNetworkByDevCenter; +export const AttachedNetworkByDevCenter: typeof import("./attachedNetworkByDevCenter").AttachedNetworkByDevCenter = null as any; +utilities.lazyLoad(exports, ["AttachedNetworkByDevCenter"], () => require("./attachedNetworkByDevCenter")); + +export { CatalogArgs } from "./catalog"; +export type Catalog = import("./catalog").Catalog; +export const Catalog: typeof import("./catalog").Catalog = null as any; +utilities.lazyLoad(exports, ["Catalog"], () => require("./catalog")); + +export { DevBoxDefinitionArgs } from "./devBoxDefinition"; +export type DevBoxDefinition = import("./devBoxDefinition").DevBoxDefinition; +export const DevBoxDefinition: typeof import("./devBoxDefinition").DevBoxDefinition = null as any; +utilities.lazyLoad(exports, ["DevBoxDefinition"], () => require("./devBoxDefinition")); + +export { DevCenterArgs } from "./devCenter"; +export type DevCenter = import("./devCenter").DevCenter; +export const DevCenter: typeof import("./devCenter").DevCenter = null as any; +utilities.lazyLoad(exports, ["DevCenter"], () => require("./devCenter")); + +export { EnvironmentTypeArgs } from "./environmentType"; +export type EnvironmentType = import("./environmentType").EnvironmentType; +export const EnvironmentType: typeof import("./environmentType").EnvironmentType = null as any; +utilities.lazyLoad(exports, ["EnvironmentType"], () => require("./environmentType")); + +export { GalleryArgs } from "./gallery"; +export type Gallery = import("./gallery").Gallery; +export const Gallery: typeof import("./gallery").Gallery = null as any; +utilities.lazyLoad(exports, ["Gallery"], () => require("./gallery")); + +export { GetAttachedNetworkByDevCenterArgs, GetAttachedNetworkByDevCenterResult, GetAttachedNetworkByDevCenterOutputArgs } from "./getAttachedNetworkByDevCenter"; +export const getAttachedNetworkByDevCenter: typeof import("./getAttachedNetworkByDevCenter").getAttachedNetworkByDevCenter = null as any; +export const getAttachedNetworkByDevCenterOutput: typeof import("./getAttachedNetworkByDevCenter").getAttachedNetworkByDevCenterOutput = null as any; +utilities.lazyLoad(exports, ["getAttachedNetworkByDevCenter","getAttachedNetworkByDevCenterOutput"], () => require("./getAttachedNetworkByDevCenter")); + +export { GetCatalogArgs, GetCatalogResult, GetCatalogOutputArgs } from "./getCatalog"; +export const getCatalog: typeof import("./getCatalog").getCatalog = null as any; +export const getCatalogOutput: typeof import("./getCatalog").getCatalogOutput = null as any; +utilities.lazyLoad(exports, ["getCatalog","getCatalogOutput"], () => require("./getCatalog")); + +export { GetCatalogDevBoxDefinitionErrorDetailsArgs, GetCatalogDevBoxDefinitionErrorDetailsResult, GetCatalogDevBoxDefinitionErrorDetailsOutputArgs } from "./getCatalogDevBoxDefinitionErrorDetails"; +export const getCatalogDevBoxDefinitionErrorDetails: typeof import("./getCatalogDevBoxDefinitionErrorDetails").getCatalogDevBoxDefinitionErrorDetails = null as any; +export const getCatalogDevBoxDefinitionErrorDetailsOutput: typeof import("./getCatalogDevBoxDefinitionErrorDetails").getCatalogDevBoxDefinitionErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getCatalogDevBoxDefinitionErrorDetails","getCatalogDevBoxDefinitionErrorDetailsOutput"], () => require("./getCatalogDevBoxDefinitionErrorDetails")); + +export { GetCatalogSyncErrorDetailsArgs, GetCatalogSyncErrorDetailsResult, GetCatalogSyncErrorDetailsOutputArgs } from "./getCatalogSyncErrorDetails"; +export const getCatalogSyncErrorDetails: typeof import("./getCatalogSyncErrorDetails").getCatalogSyncErrorDetails = null as any; +export const getCatalogSyncErrorDetailsOutput: typeof import("./getCatalogSyncErrorDetails").getCatalogSyncErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getCatalogSyncErrorDetails","getCatalogSyncErrorDetailsOutput"], () => require("./getCatalogSyncErrorDetails")); + +export { GetCustomizationTaskErrorDetailsArgs, GetCustomizationTaskErrorDetailsResult, GetCustomizationTaskErrorDetailsOutputArgs } from "./getCustomizationTaskErrorDetails"; +export const getCustomizationTaskErrorDetails: typeof import("./getCustomizationTaskErrorDetails").getCustomizationTaskErrorDetails = null as any; +export const getCustomizationTaskErrorDetailsOutput: typeof import("./getCustomizationTaskErrorDetails").getCustomizationTaskErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getCustomizationTaskErrorDetails","getCustomizationTaskErrorDetailsOutput"], () => require("./getCustomizationTaskErrorDetails")); + +export { GetDevBoxDefinitionArgs, GetDevBoxDefinitionResult, GetDevBoxDefinitionOutputArgs } from "./getDevBoxDefinition"; +export const getDevBoxDefinition: typeof import("./getDevBoxDefinition").getDevBoxDefinition = null as any; +export const getDevBoxDefinitionOutput: typeof import("./getDevBoxDefinition").getDevBoxDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getDevBoxDefinition","getDevBoxDefinitionOutput"], () => require("./getDevBoxDefinition")); + +export { GetDevCenterArgs, GetDevCenterResult, GetDevCenterOutputArgs } from "./getDevCenter"; +export const getDevCenter: typeof import("./getDevCenter").getDevCenter = null as any; +export const getDevCenterOutput: typeof import("./getDevCenter").getDevCenterOutput = null as any; +utilities.lazyLoad(exports, ["getDevCenter","getDevCenterOutput"], () => require("./getDevCenter")); + +export { GetEnvironmentDefinitionErrorDetailsArgs, GetEnvironmentDefinitionErrorDetailsResult, GetEnvironmentDefinitionErrorDetailsOutputArgs } from "./getEnvironmentDefinitionErrorDetails"; +export const getEnvironmentDefinitionErrorDetails: typeof import("./getEnvironmentDefinitionErrorDetails").getEnvironmentDefinitionErrorDetails = null as any; +export const getEnvironmentDefinitionErrorDetailsOutput: typeof import("./getEnvironmentDefinitionErrorDetails").getEnvironmentDefinitionErrorDetailsOutput = null as any; +utilities.lazyLoad(exports, ["getEnvironmentDefinitionErrorDetails","getEnvironmentDefinitionErrorDetailsOutput"], () => require("./getEnvironmentDefinitionErrorDetails")); + +export { GetEnvironmentTypeArgs, GetEnvironmentTypeResult, GetEnvironmentTypeOutputArgs } from "./getEnvironmentType"; +export const getEnvironmentType: typeof import("./getEnvironmentType").getEnvironmentType = null as any; +export const getEnvironmentTypeOutput: typeof import("./getEnvironmentType").getEnvironmentTypeOutput = null as any; +utilities.lazyLoad(exports, ["getEnvironmentType","getEnvironmentTypeOutput"], () => require("./getEnvironmentType")); + +export { GetGalleryArgs, GetGalleryResult, GetGalleryOutputArgs } from "./getGallery"; +export const getGallery: typeof import("./getGallery").getGallery = null as any; +export const getGalleryOutput: typeof import("./getGallery").getGalleryOutput = null as any; +utilities.lazyLoad(exports, ["getGallery","getGalleryOutput"], () => require("./getGallery")); + +export { GetNetworkConnectionArgs, GetNetworkConnectionResult, GetNetworkConnectionOutputArgs } from "./getNetworkConnection"; +export const getNetworkConnection: typeof import("./getNetworkConnection").getNetworkConnection = null as any; +export const getNetworkConnectionOutput: typeof import("./getNetworkConnection").getNetworkConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getNetworkConnection","getNetworkConnectionOutput"], () => require("./getNetworkConnection")); + +export { GetPoolArgs, GetPoolResult, GetPoolOutputArgs } from "./getPool"; +export const getPool: typeof import("./getPool").getPool = null as any; +export const getPoolOutput: typeof import("./getPool").getPoolOutput = null as any; +utilities.lazyLoad(exports, ["getPool","getPoolOutput"], () => require("./getPool")); + +export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject"; +export const getProject: typeof import("./getProject").getProject = null as any; +export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any; +utilities.lazyLoad(exports, ["getProject","getProjectOutput"], () => require("./getProject")); + +export { GetProjectEnvironmentTypeArgs, GetProjectEnvironmentTypeResult, GetProjectEnvironmentTypeOutputArgs } from "./getProjectEnvironmentType"; +export const getProjectEnvironmentType: typeof import("./getProjectEnvironmentType").getProjectEnvironmentType = null as any; +export const getProjectEnvironmentTypeOutput: typeof import("./getProjectEnvironmentType").getProjectEnvironmentTypeOutput = null as any; +utilities.lazyLoad(exports, ["getProjectEnvironmentType","getProjectEnvironmentTypeOutput"], () => require("./getProjectEnvironmentType")); + +export { GetScheduleArgs, GetScheduleResult, GetScheduleOutputArgs } from "./getSchedule"; +export const getSchedule: typeof import("./getSchedule").getSchedule = null as any; +export const getScheduleOutput: typeof import("./getSchedule").getScheduleOutput = null as any; +utilities.lazyLoad(exports, ["getSchedule","getScheduleOutput"], () => require("./getSchedule")); + +export { NetworkConnectionArgs } from "./networkConnection"; +export type NetworkConnection = import("./networkConnection").NetworkConnection; +export const NetworkConnection: typeof import("./networkConnection").NetworkConnection = null as any; +utilities.lazyLoad(exports, ["NetworkConnection"], () => require("./networkConnection")); + +export { PoolArgs } from "./pool"; +export type Pool = import("./pool").Pool; +export const Pool: typeof import("./pool").Pool = null as any; +utilities.lazyLoad(exports, ["Pool"], () => require("./pool")); + +export { ProjectArgs } from "./project"; +export type Project = import("./project").Project; +export const Project: typeof import("./project").Project = null as any; +utilities.lazyLoad(exports, ["Project"], () => require("./project")); + +export { ProjectEnvironmentTypeArgs } from "./projectEnvironmentType"; +export type ProjectEnvironmentType = import("./projectEnvironmentType").ProjectEnvironmentType; +export const ProjectEnvironmentType: typeof import("./projectEnvironmentType").ProjectEnvironmentType = null as any; +utilities.lazyLoad(exports, ["ProjectEnvironmentType"], () => require("./projectEnvironmentType")); + +export { ScheduleArgs } from "./schedule"; +export type Schedule = import("./schedule").Schedule; +export const Schedule: typeof import("./schedule").Schedule = null as any; +utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule")); + + +// Export enums: +export * from "../../types/enums/devcenter/v20230801preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter": + return new AttachedNetworkByDevCenter(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:Catalog": + return new Catalog(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:DevBoxDefinition": + return new DevBoxDefinition(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:DevCenter": + return new DevCenter(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:EnvironmentType": + return new EnvironmentType(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:Gallery": + return new Gallery(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:NetworkConnection": + return new NetworkConnection(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:Pool": + return new Pool(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:Project": + return new Project(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:ProjectEnvironmentType": + return new ProjectEnvironmentType(name, undefined, { urn }) + case "azure-native:devcenter/v20230801preview:Schedule": + return new Schedule(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "devcenter/v20230801preview", _module) diff --git a/sdk/nodejs/devcenter/v20230801preview/networkConnection.ts b/sdk/nodejs/devcenter/v20230801preview/networkConnection.ts new file mode 100644 index 000000000000..a936ee8434f3 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/networkConnection.ts @@ -0,0 +1,204 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Network related settings + */ +export class NetworkConnection extends pulumi.CustomResource { + /** + * Get an existing NetworkConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NetworkConnection { + return new NetworkConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:NetworkConnection'; + + /** + * Returns true if the given object is an instance of NetworkConnection. 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 NetworkConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === NetworkConnection.__pulumiType; + } + + /** + * AAD Join type. + */ + public readonly domainJoinType!: pulumi.Output; + /** + * Active Directory domain name + */ + public readonly domainName!: pulumi.Output; + /** + * The password for the account used to join domain + */ + public readonly domainPassword!: pulumi.Output; + /** + * The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + */ + public readonly domainUsername!: pulumi.Output; + /** + * Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. + */ + public /*out*/ readonly healthCheckStatus!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The name for resource group where NICs will be placed. + */ + public readonly networkingResourceGroupName!: pulumi.Output; + /** + * Active Directory domain Organization Unit (OU) + */ + public readonly organizationUnit!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The subnet to attach Virtual Machines to + */ + public readonly subnetId!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a NetworkConnection 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: NetworkConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.domainJoinType === undefined) && !opts.urn) { + throw new Error("Missing required property 'domainJoinType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.subnetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'subnetId'"); + } + resourceInputs["domainJoinType"] = args ? args.domainJoinType : undefined; + resourceInputs["domainName"] = args ? args.domainName : undefined; + resourceInputs["domainPassword"] = args ? args.domainPassword : undefined; + resourceInputs["domainUsername"] = args ? args.domainUsername : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["networkConnectionName"] = args ? args.networkConnectionName : undefined; + resourceInputs["networkingResourceGroupName"] = args ? args.networkingResourceGroupName : undefined; + resourceInputs["organizationUnit"] = args ? args.organizationUnit : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["subnetId"] = args ? args.subnetId : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["healthCheckStatus"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["domainJoinType"] = undefined /*out*/; + resourceInputs["domainName"] = undefined /*out*/; + resourceInputs["domainPassword"] = undefined /*out*/; + resourceInputs["domainUsername"] = undefined /*out*/; + resourceInputs["healthCheckStatus"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkingResourceGroupName"] = undefined /*out*/; + resourceInputs["organizationUnit"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["subnetId"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:NetworkConnection" }, { type: "azure-native:devcenter/v20220801preview:NetworkConnection" }, { type: "azure-native:devcenter/v20220901preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221012preview:NetworkConnection" }, { type: "azure-native:devcenter/v20221111preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230101preview:NetworkConnection" }, { type: "azure-native:devcenter/v20230401:NetworkConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(NetworkConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a NetworkConnection resource. + */ +export interface NetworkConnectionArgs { + /** + * AAD Join type. + */ + domainJoinType: pulumi.Input; + /** + * Active Directory domain name + */ + domainName?: pulumi.Input; + /** + * The password for the account used to join domain + */ + domainPassword?: pulumi.Input; + /** + * The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + */ + domainUsername?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Name of the Network Connection that can be applied to a Pool. + */ + networkConnectionName?: pulumi.Input; + /** + * The name for resource group where NICs will be placed. + */ + networkingResourceGroupName?: pulumi.Input; + /** + * Active Directory domain Organization Unit (OU) + */ + organizationUnit?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The subnet to attach Virtual Machines to + */ + subnetId: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/pool.ts b/sdk/nodejs/devcenter/v20230801preview/pool.ts new file mode 100644 index 000000000000..09a4bf1bdafa --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/pool.ts @@ -0,0 +1,220 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A pool of Virtual Machines. + */ +export class Pool extends pulumi.CustomResource { + /** + * Get an existing Pool 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Pool { + return new Pool(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:Pool'; + + /** + * Returns true if the given object is an instance of Pool. 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 Pool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Pool.__pulumiType; + } + + /** + * Indicates the number of provisioned Dev Boxes in this pool. + */ + public /*out*/ readonly devBoxCount!: pulumi.Output; + /** + * Name of a Dev Box definition in parent Project of this Pool + */ + public readonly devBoxDefinitionName!: pulumi.Output; + /** + * Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. + */ + public /*out*/ readonly healthStatus!: pulumi.Output; + /** + * Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state + */ + public /*out*/ readonly healthStatusDetails!: pulumi.Output; + /** + * Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + */ + public readonly licenseType!: pulumi.Output; + /** + * Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + */ + public readonly localAdministrator!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Name of a Network Connection in parent Project of this Pool + */ + public readonly networkConnectionName!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + */ + public readonly singleSignOnStatus!: pulumi.Output; + /** + * Stop on disconnect configuration settings for Dev Boxes created in this pool. + */ + public readonly stopOnDisconnect!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Pool 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: PoolArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.devBoxDefinitionName === undefined) && !opts.urn) { + throw new Error("Missing required property 'devBoxDefinitionName'"); + } + if ((!args || args.licenseType === undefined) && !opts.urn) { + throw new Error("Missing required property 'licenseType'"); + } + if ((!args || args.localAdministrator === undefined) && !opts.urn) { + throw new Error("Missing required property 'localAdministrator'"); + } + if ((!args || args.networkConnectionName === undefined) && !opts.urn) { + throw new Error("Missing required property 'networkConnectionName'"); + } + if ((!args || args.projectName === undefined) && !opts.urn) { + throw new Error("Missing required property 'projectName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["devBoxDefinitionName"] = args ? args.devBoxDefinitionName : undefined; + resourceInputs["licenseType"] = args ? args.licenseType : undefined; + resourceInputs["localAdministrator"] = args ? args.localAdministrator : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["networkConnectionName"] = args ? args.networkConnectionName : undefined; + resourceInputs["poolName"] = args ? args.poolName : undefined; + resourceInputs["projectName"] = args ? args.projectName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["singleSignOnStatus"] = args ? args.singleSignOnStatus : undefined; + resourceInputs["stopOnDisconnect"] = args ? args.stopOnDisconnect : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["devBoxCount"] = undefined /*out*/; + resourceInputs["healthStatus"] = undefined /*out*/; + resourceInputs["healthStatusDetails"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["devBoxCount"] = undefined /*out*/; + resourceInputs["devBoxDefinitionName"] = undefined /*out*/; + resourceInputs["healthStatus"] = undefined /*out*/; + resourceInputs["healthStatusDetails"] = undefined /*out*/; + resourceInputs["licenseType"] = undefined /*out*/; + resourceInputs["localAdministrator"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkConnectionName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["singleSignOnStatus"] = undefined /*out*/; + resourceInputs["stopOnDisconnect"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Pool" }, { type: "azure-native:devcenter/v20220801preview:Pool" }, { type: "azure-native:devcenter/v20220901preview:Pool" }, { type: "azure-native:devcenter/v20221012preview:Pool" }, { type: "azure-native:devcenter/v20221111preview:Pool" }, { type: "azure-native:devcenter/v20230101preview:Pool" }, { type: "azure-native:devcenter/v20230401:Pool" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Pool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Pool resource. + */ +export interface PoolArgs { + /** + * Name of a Dev Box definition in parent Project of this Pool + */ + devBoxDefinitionName: pulumi.Input; + /** + * Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + */ + licenseType: pulumi.Input; + /** + * Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + */ + localAdministrator: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Name of a Network Connection in parent Project of this Pool + */ + networkConnectionName: pulumi.Input; + /** + * Name of the pool. + */ + poolName?: pulumi.Input; + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + */ + singleSignOnStatus?: pulumi.Input; + /** + * Stop on disconnect configuration settings for Dev Boxes created in this pool. + */ + stopOnDisconnect?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/project.ts b/sdk/nodejs/devcenter/v20230801preview/project.ts new file mode 100644 index 000000000000..a7ff6070b6f1 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/project.ts @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a project resource. + */ +export class Project extends pulumi.CustomResource { + /** + * Get an existing Project 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Project { + return new Project(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:Project'; + + /** + * Returns true if the given object is an instance of Project. 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 Project { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Project.__pulumiType; + } + + /** + * Description of the project. + */ + public readonly description!: pulumi.Output; + /** + * Resource Id of an associated DevCenter + */ + public readonly devCenterId!: pulumi.Output; + /** + * The URI of the Dev Center resource this project is associated with. + */ + public /*out*/ readonly devCenterUri!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + */ + public readonly maxDevBoxesPerUser!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Project 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: ProjectArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["devCenterId"] = args ? args.devCenterId : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["maxDevBoxesPerUser"] = args ? args.maxDevBoxesPerUser : undefined; + resourceInputs["projectName"] = args ? args.projectName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["devCenterUri"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["description"] = undefined /*out*/; + resourceInputs["devCenterId"] = undefined /*out*/; + resourceInputs["devCenterUri"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["maxDevBoxesPerUser"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Project" }, { type: "azure-native:devcenter/v20220801preview:Project" }, { type: "azure-native:devcenter/v20220901preview:Project" }, { type: "azure-native:devcenter/v20221012preview:Project" }, { type: "azure-native:devcenter/v20221111preview:Project" }, { type: "azure-native:devcenter/v20230101preview:Project" }, { type: "azure-native:devcenter/v20230401:Project" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Project.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Project resource. + */ +export interface ProjectArgs { + /** + * Description of the project. + */ + description?: pulumi.Input; + /** + * Resource Id of an associated DevCenter + */ + devCenterId?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + */ + maxDevBoxesPerUser?: pulumi.Input; + /** + * The name of the project. + */ + projectName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/projectEnvironmentType.ts b/sdk/nodejs/devcenter/v20230801preview/projectEnvironmentType.ts new file mode 100644 index 000000000000..1cc00be1bd57 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/projectEnvironmentType.ts @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents an environment type. + */ +export class ProjectEnvironmentType extends pulumi.CustomResource { + /** + * Get an existing ProjectEnvironmentType 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ProjectEnvironmentType { + return new ProjectEnvironmentType(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:ProjectEnvironmentType'; + + /** + * Returns true if the given object is an instance of ProjectEnvironmentType. 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 ProjectEnvironmentType { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ProjectEnvironmentType.__pulumiType; + } + + /** + * The role definition assigned to the environment creator on backing resources. + */ + public readonly creatorRoleAssignment!: pulumi.Output; + /** + * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + */ + public readonly deploymentTargetId!: pulumi.Output; + /** + * Managed identity properties + */ + public readonly identity!: pulumi.Output; + /** + * The geo-location for the environment type + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Defines whether this Environment Type can be used in this Project. + */ + public readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + */ + public readonly userRoleAssignments!: pulumi.Output<{[key: string]: outputs.devcenter.v20230801preview.UserRoleAssignmentResponse} | undefined>; + + /** + * Create a ProjectEnvironmentType 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: ProjectEnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.projectName === undefined) && !opts.urn) { + throw new Error("Missing required property 'projectName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["creatorRoleAssignment"] = args ? args.creatorRoleAssignment : undefined; + resourceInputs["deploymentTargetId"] = args ? args.deploymentTargetId : undefined; + resourceInputs["environmentTypeName"] = args ? args.environmentTypeName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["projectName"] = args ? args.projectName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["status"] = args ? args.status : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["userRoleAssignments"] = args ? args.userRoleAssignments : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["creatorRoleAssignment"] = undefined /*out*/; + resourceInputs["deploymentTargetId"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["userRoleAssignments"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220801preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20220901preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221012preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20221111preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230101preview:ProjectEnvironmentType" }, { type: "azure-native:devcenter/v20230401:ProjectEnvironmentType" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ProjectEnvironmentType.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ProjectEnvironmentType resource. + */ +export interface ProjectEnvironmentTypeArgs { + /** + * The role definition assigned to the environment creator on backing resources. + */ + creatorRoleAssignment?: pulumi.Input; + /** + * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + */ + deploymentTargetId?: pulumi.Input; + /** + * The name of the environment type. + */ + environmentTypeName?: pulumi.Input; + /** + * Managed identity properties + */ + identity?: pulumi.Input; + /** + * The geo-location for the environment type + */ + location?: pulumi.Input; + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Defines whether this Environment Type can be used in this Project. + */ + status?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + */ + userRoleAssignments?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/devcenter/v20230801preview/schedule.ts b/sdk/nodejs/devcenter/v20230801preview/schedule.ts new file mode 100644 index 000000000000..d492a79cb336 --- /dev/null +++ b/sdk/nodejs/devcenter/v20230801preview/schedule.ts @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Schedule to execute a task. + */ +export class Schedule extends pulumi.CustomResource { + /** + * Get an existing Schedule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Schedule { + return new Schedule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:devcenter/v20230801preview:Schedule'; + + /** + * Returns true if the given object is an instance of Schedule. 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 Schedule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Schedule.__pulumiType; + } + + /** + * The frequency of this scheduled task. + */ + public readonly frequency!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Indicates whether or not this scheduled task is enabled. + */ + public readonly state!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The target time to trigger the action. The format is HH:MM. + */ + public readonly time!: pulumi.Output; + /** + * The IANA timezone id at which the schedule should execute. + */ + public readonly timeZone!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public readonly type!: pulumi.Output; + + /** + * Create a Schedule 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: ScheduleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.frequency === undefined) && !opts.urn) { + throw new Error("Missing required property 'frequency'"); + } + if ((!args || args.poolName === undefined) && !opts.urn) { + throw new Error("Missing required property 'poolName'"); + } + if ((!args || args.projectName === undefined) && !opts.urn) { + throw new Error("Missing required property 'projectName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.time === undefined) && !opts.urn) { + throw new Error("Missing required property 'time'"); + } + if ((!args || args.timeZone === undefined) && !opts.urn) { + throw new Error("Missing required property 'timeZone'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["frequency"] = args ? args.frequency : undefined; + resourceInputs["poolName"] = args ? args.poolName : undefined; + resourceInputs["projectName"] = args ? args.projectName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["scheduleName"] = args ? args.scheduleName : undefined; + resourceInputs["state"] = args ? args.state : undefined; + resourceInputs["time"] = args ? args.time : undefined; + resourceInputs["timeZone"] = args ? args.timeZone : undefined; + resourceInputs["top"] = args ? args.top : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + } else { + resourceInputs["frequency"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["time"] = undefined /*out*/; + resourceInputs["timeZone"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:devcenter:Schedule" }, { type: "azure-native:devcenter/v20220801preview:Schedule" }, { type: "azure-native:devcenter/v20220901preview:Schedule" }, { type: "azure-native:devcenter/v20221012preview:Schedule" }, { type: "azure-native:devcenter/v20221111preview:Schedule" }, { type: "azure-native:devcenter/v20230101preview:Schedule" }, { type: "azure-native:devcenter/v20230401:Schedule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Schedule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Schedule resource. + */ +export interface ScheduleArgs { + /** + * The frequency of this scheduled task. + */ + frequency: pulumi.Input; + /** + * Name of the pool. + */ + poolName: pulumi.Input; + /** + * The name of the project. + */ + projectName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the schedule that uniquely identifies it. + */ + scheduleName?: pulumi.Input; + /** + * Indicates whether or not this scheduled task is enabled. + */ + state?: pulumi.Input; + /** + * The target time to trigger the action. The format is HH:MM. + */ + time: pulumi.Input; + /** + * The IANA timezone id at which the schedule should execute. + */ + timeZone: pulumi.Input; + /** + * The maximum number of resources to return from the operation. Example: '$top=10'. + */ + top?: pulumi.Input; + /** + * Supported type this scheduled task represents. + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/cassandraCluster.ts b/sdk/nodejs/documentdb/cassandraCluster.ts index 4e3a9aee1b71..d13d305fa184 100644 --- a/sdk/nodejs/documentdb/cassandraCluster.ts +++ b/sdk/nodejs/documentdb/cassandraCluster.ts @@ -94,7 +94,7 @@ export class CassandraCluster extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210701preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230415:CassandraCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210701preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230415:CassandraCluster" }, { type: "azure-native:documentdb/v20230915:CassandraCluster" }, { type: "azure-native:documentdb/v20230915preview:CassandraCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/cassandraDataCenter.ts b/sdk/nodejs/documentdb/cassandraDataCenter.ts index f29da431184d..a002daf98f32 100644 --- a/sdk/nodejs/documentdb/cassandraDataCenter.ts +++ b/sdk/nodejs/documentdb/cassandraDataCenter.ts @@ -80,7 +80,7 @@ export class CassandraDataCenter extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210401preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210701preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220215preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230415:CassandraDataCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210401preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210701preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220215preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230415:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230915:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230915preview:CassandraDataCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraDataCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/cassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/cassandraResourceCassandraKeyspace.ts index c2aa434e5183..959ffbd2a20a 100644 --- a/sdk/nodejs/documentdb/cassandraResourceCassandraKeyspace.ts +++ b/sdk/nodejs/documentdb/cassandraResourceCassandraKeyspace.ts @@ -95,7 +95,7 @@ export class CassandraResourceCassandraKeyspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraKeyspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/cassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/cassandraResourceCassandraTable.ts index fff9cc8cfd7c..80feedefd1c6 100644 --- a/sdk/nodejs/documentdb/cassandraResourceCassandraTable.ts +++ b/sdk/nodejs/documentdb/cassandraResourceCassandraTable.ts @@ -99,7 +99,7 @@ export class CassandraResourceCassandraTable extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraTable.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/cassandraResourceCassandraView.ts b/sdk/nodejs/documentdb/cassandraResourceCassandraView.ts index f1eefeb42235..c0e136a555dc 100644 --- a/sdk/nodejs/documentdb/cassandraResourceCassandraView.ts +++ b/sdk/nodejs/documentdb/cassandraResourceCassandraView.ts @@ -105,7 +105,7 @@ export class CassandraResourceCassandraView extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraView" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraView.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/databaseAccount.ts b/sdk/nodejs/documentdb/databaseAccount.ts index 78ec9a9046bc..04504a47c915 100644 --- a/sdk/nodejs/documentdb/databaseAccount.ts +++ b/sdk/nodejs/documentdb/databaseAccount.ts @@ -328,7 +328,7 @@ export class DatabaseAccount extends pulumi.CustomResource { resourceInputs["writeLocations"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915preview:DatabaseAccount" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabaseAccount.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/graphResourceGraph.ts b/sdk/nodejs/documentdb/graphResourceGraph.ts index 0c0384408200..34ef32541697 100644 --- a/sdk/nodejs/documentdb/graphResourceGraph.ts +++ b/sdk/nodejs/documentdb/graphResourceGraph.ts @@ -101,7 +101,7 @@ export class GraphResourceGraph extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210701preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211015preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220215preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220515preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220815preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20221115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230301preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230315preview:GraphResourceGraph" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210701preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211015preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220215preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220515preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220815preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20221115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230301preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230315preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230915preview:GraphResourceGraph" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GraphResourceGraph.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/gremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/gremlinResourceGremlinDatabase.ts index a23c9bc530e9..87bfa53f04f7 100644 --- a/sdk/nodejs/documentdb/gremlinResourceGremlinDatabase.ts +++ b/sdk/nodejs/documentdb/gremlinResourceGremlinDatabase.ts @@ -95,7 +95,7 @@ export class GremlinResourceGremlinDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GremlinResourceGremlinDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/gremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/gremlinResourceGremlinGraph.ts index 7a404e337842..f76b7a3e9c3d 100644 --- a/sdk/nodejs/documentdb/gremlinResourceGremlinGraph.ts +++ b/sdk/nodejs/documentdb/gremlinResourceGremlinGraph.ts @@ -99,7 +99,7 @@ export class GremlinResourceGremlinGraph extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GremlinResourceGremlinGraph.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/index.ts b/sdk/nodejs/documentdb/index.ts index 2a5dad66178b..0d20b4479d32 100644 --- a/sdk/nodejs/documentdb/index.ts +++ b/sdk/nodejs/documentdb/index.ts @@ -295,6 +295,8 @@ import * as v20210701preview from "./v20210701preview"; import * as v20230301preview from "./v20230301preview"; import * as v20230315preview from "./v20230315preview"; import * as v20230415 from "./v20230415"; +import * as v20230915 from "./v20230915"; +import * as v20230915preview from "./v20230915preview"; export { v20210401preview, @@ -302,6 +304,8 @@ export { v20230301preview, v20230315preview, v20230415, + v20230915, + v20230915preview, }; const _module = { diff --git a/sdk/nodejs/documentdb/mongoCluster.ts b/sdk/nodejs/documentdb/mongoCluster.ts index 8a822ba62da9..5b2bdf176388 100644 --- a/sdk/nodejs/documentdb/mongoCluster.ts +++ b/sdk/nodejs/documentdb/mongoCluster.ts @@ -133,7 +133,7 @@ export class MongoCluster extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20230301preview:MongoCluster" }, { type: "azure-native:documentdb/v20230315preview:MongoCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20230301preview:MongoCluster" }, { type: "azure-native:documentdb/v20230315preview:MongoCluster" }, { type: "azure-native:documentdb/v20230915preview:MongoCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/mongoClusterFirewallRule.ts b/sdk/nodejs/documentdb/mongoClusterFirewallRule.ts index c16317372e08..c48c3f302f00 100644 --- a/sdk/nodejs/documentdb/mongoClusterFirewallRule.ts +++ b/sdk/nodejs/documentdb/mongoClusterFirewallRule.ts @@ -104,7 +104,7 @@ export class MongoClusterFirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230315preview:MongoClusterFirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230315preview:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoClusterFirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/mongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/mongoDBResourceMongoDBCollection.ts index 31b12d37f038..9b61f90de1b8 100644 --- a/sdk/nodejs/documentdb/mongoDBResourceMongoDBCollection.ts +++ b/sdk/nodejs/documentdb/mongoDBResourceMongoDBCollection.ts @@ -99,7 +99,7 @@ export class MongoDBResourceMongoDBCollection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoDBCollection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/mongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/mongoDBResourceMongoDBDatabase.ts index 80277f486fdb..9107f8839ae0 100644 --- a/sdk/nodejs/documentdb/mongoDBResourceMongoDBDatabase.ts +++ b/sdk/nodejs/documentdb/mongoDBResourceMongoDBDatabase.ts @@ -95,7 +95,7 @@ export class MongoDBResourceMongoDBDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoDBDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/mongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/mongoDBResourceMongoRoleDefinition.ts index 4cf578720782..0dcc5a37fe15 100644 --- a/sdk/nodejs/documentdb/mongoDBResourceMongoRoleDefinition.ts +++ b/sdk/nodejs/documentdb/mongoDBResourceMongoRoleDefinition.ts @@ -98,7 +98,7 @@ export class MongoDBResourceMongoRoleDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoRoleDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/mongoDBResourceMongoUserDefinition.ts b/sdk/nodejs/documentdb/mongoDBResourceMongoUserDefinition.ts index 1b5b4cb050fb..df75c3ddcd38 100644 --- a/sdk/nodejs/documentdb/mongoDBResourceMongoUserDefinition.ts +++ b/sdk/nodejs/documentdb/mongoDBResourceMongoUserDefinition.ts @@ -110,7 +110,7 @@ export class MongoDBResourceMongoUserDefinition extends pulumi.CustomResource { resourceInputs["userName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoUserDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/notebookWorkspace.ts b/sdk/nodejs/documentdb/notebookWorkspace.ts index 1213a8dde3aa..a46043984324 100644 --- a/sdk/nodejs/documentdb/notebookWorkspace.ts +++ b/sdk/nodejs/documentdb/notebookWorkspace.ts @@ -83,7 +83,7 @@ export class NotebookWorkspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:NotebookWorkspace" }, { type: "azure-native:documentdb/v20191212:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200301:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200401:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200601preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200901:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210401preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210615:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210701preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220215preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230415:NotebookWorkspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:NotebookWorkspace" }, { type: "azure-native:documentdb/v20191212:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200301:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200401:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200601preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200901:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210401preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210615:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210701preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220215preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230915:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230915preview:NotebookWorkspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NotebookWorkspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/privateEndpointConnection.ts b/sdk/nodejs/documentdb/privateEndpointConnection.ts index 319f2a0dbcb9..03cbccc7a41e 100644 --- a/sdk/nodejs/documentdb/privateEndpointConnection.ts +++ b/sdk/nodejs/documentdb/privateEndpointConnection.ts @@ -98,7 +98,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210615:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210701preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220215preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230415:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210615:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210701preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220215preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230915:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230915preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/service.ts b/sdk/nodejs/documentdb/service.ts index f42d9da85eac..99908e8f8ade 100644 --- a/sdk/nodejs/documentdb/service.ts +++ b/sdk/nodejs/documentdb/service.ts @@ -83,7 +83,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210401preview:Service" }, { type: "azure-native:documentdb/v20210701preview:Service" }, { type: "azure-native:documentdb/v20211015preview:Service" }, { type: "azure-native:documentdb/v20211115preview:Service" }, { type: "azure-native:documentdb/v20220215preview:Service" }, { type: "azure-native:documentdb/v20220515:Service" }, { type: "azure-native:documentdb/v20220515preview:Service" }, { type: "azure-native:documentdb/v20220815:Service" }, { type: "azure-native:documentdb/v20220815preview:Service" }, { type: "azure-native:documentdb/v20221115:Service" }, { type: "azure-native:documentdb/v20221115preview:Service" }, { type: "azure-native:documentdb/v20230301preview:Service" }, { type: "azure-native:documentdb/v20230315:Service" }, { type: "azure-native:documentdb/v20230315preview:Service" }, { type: "azure-native:documentdb/v20230415:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20210401preview:Service" }, { type: "azure-native:documentdb/v20210701preview:Service" }, { type: "azure-native:documentdb/v20211015preview:Service" }, { type: "azure-native:documentdb/v20211115preview:Service" }, { type: "azure-native:documentdb/v20220215preview:Service" }, { type: "azure-native:documentdb/v20220515:Service" }, { type: "azure-native:documentdb/v20220515preview:Service" }, { type: "azure-native:documentdb/v20220815:Service" }, { type: "azure-native:documentdb/v20220815preview:Service" }, { type: "azure-native:documentdb/v20221115:Service" }, { type: "azure-native:documentdb/v20221115preview:Service" }, { type: "azure-native:documentdb/v20230301preview:Service" }, { type: "azure-native:documentdb/v20230315:Service" }, { type: "azure-native:documentdb/v20230315preview:Service" }, { type: "azure-native:documentdb/v20230415:Service" }, { type: "azure-native:documentdb/v20230915:Service" }, { type: "azure-native:documentdb/v20230915preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/sqlResourceSqlContainer.ts index 552df0a6d2b0..b8f2188a558b 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlContainer.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlContainer.ts @@ -99,7 +99,7 @@ export class SqlResourceSqlContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/sqlResourceSqlDatabase.ts index bdcd90ea662e..ea52668ff098 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlDatabase.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlDatabase.ts @@ -95,7 +95,7 @@ export class SqlResourceSqlDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlRoleAssignment.ts b/sdk/nodejs/documentdb/sqlResourceSqlRoleAssignment.ts index 7f838e3a96cd..bdb02eb35031 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlRoleAssignment.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlRoleAssignment.ts @@ -89,7 +89,7 @@ export class SqlResourceSqlRoleAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlRoleAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlRoleDefinition.ts b/sdk/nodejs/documentdb/sqlResourceSqlRoleDefinition.ts index a6555cc90120..515a8e26c62f 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlRoleDefinition.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlRoleDefinition.ts @@ -92,7 +92,7 @@ export class SqlResourceSqlRoleDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlRoleDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/sqlResourceSqlStoredProcedure.ts index e7247dbb47e3..0fd71ba047fe 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlStoredProcedure.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlStoredProcedure.ts @@ -101,7 +101,7 @@ export class SqlResourceSqlStoredProcedure extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlStoredProcedure.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/sqlResourceSqlTrigger.ts index 52a7e9a9e984..622806b31b86 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlTrigger.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlTrigger.ts @@ -101,7 +101,7 @@ export class SqlResourceSqlTrigger extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlTrigger.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/sqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/sqlResourceSqlUserDefinedFunction.ts index 8ed872e56779..b1c4617c3d30 100644 --- a/sdk/nodejs/documentdb/sqlResourceSqlUserDefinedFunction.ts +++ b/sdk/nodejs/documentdb/sqlResourceSqlUserDefinedFunction.ts @@ -101,7 +101,7 @@ export class SqlResourceSqlUserDefinedFunction extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlUserDefinedFunction.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/tableResourceTable.ts b/sdk/nodejs/documentdb/tableResourceTable.ts index 4593c9735440..f49da21b781f 100644 --- a/sdk/nodejs/documentdb/tableResourceTable.ts +++ b/sdk/nodejs/documentdb/tableResourceTable.ts @@ -95,7 +95,7 @@ export class TableResourceTable extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230315preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230415:TableResourceTable" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230315preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230415:TableResourceTable" }, { type: "azure-native:documentdb/v20230915:TableResourceTable" }, { type: "azure-native:documentdb/v20230915preview:TableResourceTable" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TableResourceTable.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20210401preview/databaseAccount.ts b/sdk/nodejs/documentdb/v20210401preview/databaseAccount.ts index 226b3ae2b04f..6ddd375e9ecf 100644 --- a/sdk/nodejs/documentdb/v20210401preview/databaseAccount.ts +++ b/sdk/nodejs/documentdb/v20210401preview/databaseAccount.ts @@ -289,7 +289,7 @@ export class DatabaseAccount extends pulumi.CustomResource { resourceInputs["writeLocations"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915preview:DatabaseAccount" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabaseAccount.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20210701preview/cassandraCluster.ts b/sdk/nodejs/documentdb/v20210701preview/cassandraCluster.ts index 190aff7dc1a0..8b5ab36f4a08 100644 --- a/sdk/nodejs/documentdb/v20210701preview/cassandraCluster.ts +++ b/sdk/nodejs/documentdb/v20210701preview/cassandraCluster.ts @@ -93,7 +93,7 @@ export class CassandraCluster extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraCluster" }, { type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230415:CassandraCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraCluster" }, { type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230415:CassandraCluster" }, { type: "azure-native:documentdb/v20230915:CassandraCluster" }, { type: "azure-native:documentdb/v20230915preview:CassandraCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230301preview/mongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/v20230301preview/mongoDBResourceMongoRoleDefinition.ts index 2f8b6b39b99e..b1b94bede071 100644 --- a/sdk/nodejs/documentdb/v20230301preview/mongoDBResourceMongoRoleDefinition.ts +++ b/sdk/nodejs/documentdb/v20230301preview/mongoDBResourceMongoRoleDefinition.ts @@ -97,7 +97,7 @@ export class MongoDBResourceMongoRoleDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoRoleDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraKeyspace.ts index 1e439dfcbb6c..2c3e53cc64d2 100644 --- a/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraKeyspace.ts +++ b/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraKeyspace.ts @@ -100,7 +100,7 @@ export class CassandraResourceCassandraKeyspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraKeyspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraTable.ts index 7dec06ee9619..509ab6f3f391 100644 --- a/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraTable.ts +++ b/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraTable.ts @@ -104,7 +104,7 @@ export class CassandraResourceCassandraTable extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraTable.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraView.ts b/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraView.ts index 4e90f437ff84..00f29eca70d4 100644 --- a/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraView.ts +++ b/sdk/nodejs/documentdb/v20230315preview/cassandraResourceCassandraView.ts @@ -104,7 +104,7 @@ export class CassandraResourceCassandraView extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraView.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/databaseAccount.ts b/sdk/nodejs/documentdb/v20230315preview/databaseAccount.ts index 77e6d7f09d60..971fbd6b4b2a 100644 --- a/sdk/nodejs/documentdb/v20230315preview/databaseAccount.ts +++ b/sdk/nodejs/documentdb/v20230315preview/databaseAccount.ts @@ -345,7 +345,7 @@ export class DatabaseAccount extends pulumi.CustomResource { resourceInputs["writeLocations"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915preview:DatabaseAccount" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabaseAccount.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/graphResourceGraph.ts b/sdk/nodejs/documentdb/v20230315preview/graphResourceGraph.ts index fd0b65b83f8e..585a932705a0 100644 --- a/sdk/nodejs/documentdb/v20230315preview/graphResourceGraph.ts +++ b/sdk/nodejs/documentdb/v20230315preview/graphResourceGraph.ts @@ -100,7 +100,7 @@ export class GraphResourceGraph extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GraphResourceGraph" }, { type: "azure-native:documentdb/v20210701preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211015preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220215preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220515preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220815preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20221115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230301preview:GraphResourceGraph" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GraphResourceGraph" }, { type: "azure-native:documentdb/v20210701preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211015preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220215preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220515preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220815preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20221115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230301preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230915preview:GraphResourceGraph" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GraphResourceGraph.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinDatabase.ts index ccfdf54d7e93..3495b8f31f09 100644 --- a/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinDatabase.ts +++ b/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinDatabase.ts @@ -100,7 +100,7 @@ export class GremlinResourceGremlinDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GremlinResourceGremlinDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinGraph.ts index 73bf0a5dca50..0605b18aed95 100644 --- a/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinGraph.ts +++ b/sdk/nodejs/documentdb/v20230315preview/gremlinResourceGremlinGraph.ts @@ -104,7 +104,7 @@ export class GremlinResourceGremlinGraph extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GremlinResourceGremlinGraph.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/mongoCluster.ts b/sdk/nodejs/documentdb/v20230315preview/mongoCluster.ts index e3c403d174dd..b435a7e60713 100644 --- a/sdk/nodejs/documentdb/v20230315preview/mongoCluster.ts +++ b/sdk/nodejs/documentdb/v20230315preview/mongoCluster.ts @@ -132,7 +132,7 @@ export class MongoCluster extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoCluster" }, { type: "azure-native:documentdb/v20230301preview:MongoCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoCluster" }, { type: "azure-native:documentdb/v20230301preview:MongoCluster" }, { type: "azure-native:documentdb/v20230915preview:MongoCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/mongoClusterFirewallRule.ts b/sdk/nodejs/documentdb/v20230315preview/mongoClusterFirewallRule.ts index 9bdf61062d4a..64cf787d5ff8 100644 --- a/sdk/nodejs/documentdb/v20230315preview/mongoClusterFirewallRule.ts +++ b/sdk/nodejs/documentdb/v20230315preview/mongoClusterFirewallRule.ts @@ -103,7 +103,7 @@ export class MongoClusterFirewallRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoClusterFirewallRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBCollection.ts index 5d84adec3c68..f0fdc23021c2 100644 --- a/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBCollection.ts +++ b/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBCollection.ts @@ -104,7 +104,7 @@ export class MongoDBResourceMongoDBCollection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoDBCollection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBDatabase.ts index 7af241d7bff5..7c045f9779a3 100644 --- a/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBDatabase.ts +++ b/sdk/nodejs/documentdb/v20230315preview/mongoDBResourceMongoDBDatabase.ts @@ -100,7 +100,7 @@ export class MongoDBResourceMongoDBDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoDBDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlContainer.ts index 51cbfe282192..be2007a7c8f7 100644 --- a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlContainer.ts +++ b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlContainer.ts @@ -104,7 +104,7 @@ export class SqlResourceSqlContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlDatabase.ts index a9cedfe93715..b2fdc78a7fba 100644 --- a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlDatabase.ts +++ b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlDatabase.ts @@ -100,7 +100,7 @@ export class SqlResourceSqlDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlStoredProcedure.ts index 443990d83b56..da17b628c73a 100644 --- a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlStoredProcedure.ts +++ b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlStoredProcedure.ts @@ -106,7 +106,7 @@ export class SqlResourceSqlStoredProcedure extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlStoredProcedure.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlTrigger.ts index 7278f8177f63..73fb4c598078 100644 --- a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlTrigger.ts +++ b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlTrigger.ts @@ -106,7 +106,7 @@ export class SqlResourceSqlTrigger extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlTrigger.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlUserDefinedFunction.ts index 772ed2bc426f..8f91fd051421 100644 --- a/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlUserDefinedFunction.ts +++ b/sdk/nodejs/documentdb/v20230315preview/sqlResourceSqlUserDefinedFunction.ts @@ -106,7 +106,7 @@ export class SqlResourceSqlUserDefinedFunction extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlUserDefinedFunction.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230315preview/tableResourceTable.ts b/sdk/nodejs/documentdb/v20230315preview/tableResourceTable.ts index 921208b90d35..f4819b593ff8 100644 --- a/sdk/nodejs/documentdb/v20230315preview/tableResourceTable.ts +++ b/sdk/nodejs/documentdb/v20230315preview/tableResourceTable.ts @@ -100,7 +100,7 @@ export class TableResourceTable extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:TableResourceTable" }, { type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230415:TableResourceTable" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:TableResourceTable" }, { type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230415:TableResourceTable" }, { type: "azure-native:documentdb/v20230915:TableResourceTable" }, { type: "azure-native:documentdb/v20230915preview:TableResourceTable" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TableResourceTable.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/cassandraCluster.ts b/sdk/nodejs/documentdb/v20230415/cassandraCluster.ts index 107f714d0ff2..9fa7bd91c4ff 100644 --- a/sdk/nodejs/documentdb/v20230415/cassandraCluster.ts +++ b/sdk/nodejs/documentdb/v20230415/cassandraCluster.ts @@ -93,7 +93,7 @@ export class CassandraCluster extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraCluster" }, { type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210701preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraCluster" }, { type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210701preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230915:CassandraCluster" }, { type: "azure-native:documentdb/v20230915preview:CassandraCluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraCluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/cassandraDataCenter.ts b/sdk/nodejs/documentdb/v20230415/cassandraDataCenter.ts index f4480e75bf68..ceb7c74d418d 100644 --- a/sdk/nodejs/documentdb/v20230415/cassandraDataCenter.ts +++ b/sdk/nodejs/documentdb/v20230415/cassandraDataCenter.ts @@ -79,7 +79,7 @@ export class CassandraDataCenter extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210401preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210701preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220215preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315preview:CassandraDataCenter" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210401preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210701preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220215preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230915:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230915preview:CassandraDataCenter" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraDataCenter.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraKeyspace.ts index eb9e35167979..d2a33cc14482 100644 --- a/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraKeyspace.ts +++ b/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraKeyspace.ts @@ -94,7 +94,7 @@ export class CassandraResourceCassandraKeyspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraKeyspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraTable.ts index e7e34e7c222e..905d7bc2a65d 100644 --- a/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraTable.ts +++ b/sdk/nodejs/documentdb/v20230415/cassandraResourceCassandraTable.ts @@ -98,7 +98,7 @@ export class CassandraResourceCassandraTable extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CassandraResourceCassandraTable.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/databaseAccount.ts b/sdk/nodejs/documentdb/v20230415/databaseAccount.ts index 7bcf3c20512f..bb36197afdff 100644 --- a/sdk/nodejs/documentdb/v20230415/databaseAccount.ts +++ b/sdk/nodejs/documentdb/v20230415/databaseAccount.ts @@ -327,7 +327,7 @@ export class DatabaseAccount extends pulumi.CustomResource { resourceInputs["writeLocations"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915preview:DatabaseAccount" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabaseAccount.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinDatabase.ts index 91a9325b9e68..ff846fe496cb 100644 --- a/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinDatabase.ts +++ b/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinDatabase.ts @@ -94,7 +94,7 @@ export class GremlinResourceGremlinDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GremlinResourceGremlinDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinGraph.ts index 372578869959..935ff69cf37d 100644 --- a/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinGraph.ts +++ b/sdk/nodejs/documentdb/v20230415/gremlinResourceGremlinGraph.ts @@ -98,7 +98,7 @@ export class GremlinResourceGremlinGraph extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GremlinResourceGremlinGraph.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBCollection.ts index 9f5951d1a081..e13fbe3084fc 100644 --- a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBCollection.ts +++ b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBCollection.ts @@ -98,7 +98,7 @@ export class MongoDBResourceMongoDBCollection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoDBCollection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBDatabase.ts index adab4f355edf..2c80a3f9f3f7 100644 --- a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBDatabase.ts +++ b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoDBDatabase.ts @@ -94,7 +94,7 @@ export class MongoDBResourceMongoDBDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoDBDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoRoleDefinition.ts index 98d523d2d3bc..8a638230fbb0 100644 --- a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoRoleDefinition.ts +++ b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoRoleDefinition.ts @@ -97,7 +97,7 @@ export class MongoDBResourceMongoRoleDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoRoleDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoUserDefinition.ts b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoUserDefinition.ts index d05a8f474e86..026cdbc1bd0a 100644 --- a/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoUserDefinition.ts +++ b/sdk/nodejs/documentdb/v20230415/mongoDBResourceMongoUserDefinition.ts @@ -109,7 +109,7 @@ export class MongoDBResourceMongoUserDefinition extends pulumi.CustomResource { resourceInputs["userName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MongoDBResourceMongoUserDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/notebookWorkspace.ts b/sdk/nodejs/documentdb/v20230415/notebookWorkspace.ts index b04805ba597a..7bb7833e421d 100644 --- a/sdk/nodejs/documentdb/v20230415/notebookWorkspace.ts +++ b/sdk/nodejs/documentdb/v20230415/notebookWorkspace.ts @@ -82,7 +82,7 @@ export class NotebookWorkspace extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:NotebookWorkspace" }, { type: "azure-native:documentdb/v20190801:NotebookWorkspace" }, { type: "azure-native:documentdb/v20191212:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200301:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200401:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200601preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200901:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210401preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210615:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210701preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220215preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315preview:NotebookWorkspace" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:NotebookWorkspace" }, { type: "azure-native:documentdb/v20190801:NotebookWorkspace" }, { type: "azure-native:documentdb/v20191212:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200301:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200401:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200601preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200901:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210401preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210615:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210701preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220215preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230915:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230915preview:NotebookWorkspace" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NotebookWorkspace.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/privateEndpointConnection.ts b/sdk/nodejs/documentdb/v20230415/privateEndpointConnection.ts index af1fb619571f..0a79a1bc1cd9 100644 --- a/sdk/nodejs/documentdb/v20230415/privateEndpointConnection.ts +++ b/sdk/nodejs/documentdb/v20230415/privateEndpointConnection.ts @@ -97,7 +97,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20190801preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210615:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210701preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220215preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20190801preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210615:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210701preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220215preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230915:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230915preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/service.ts b/sdk/nodejs/documentdb/v20230415/service.ts index beaf38d77137..4c5fbdad46a2 100644 --- a/sdk/nodejs/documentdb/v20230415/service.ts +++ b/sdk/nodejs/documentdb/v20230415/service.ts @@ -82,7 +82,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:Service" }, { type: "azure-native:documentdb/v20210401preview:Service" }, { type: "azure-native:documentdb/v20210701preview:Service" }, { type: "azure-native:documentdb/v20211015preview:Service" }, { type: "azure-native:documentdb/v20211115preview:Service" }, { type: "azure-native:documentdb/v20220215preview:Service" }, { type: "azure-native:documentdb/v20220515:Service" }, { type: "azure-native:documentdb/v20220515preview:Service" }, { type: "azure-native:documentdb/v20220815:Service" }, { type: "azure-native:documentdb/v20220815preview:Service" }, { type: "azure-native:documentdb/v20221115:Service" }, { type: "azure-native:documentdb/v20221115preview:Service" }, { type: "azure-native:documentdb/v20230301preview:Service" }, { type: "azure-native:documentdb/v20230315:Service" }, { type: "azure-native:documentdb/v20230315preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:Service" }, { type: "azure-native:documentdb/v20210401preview:Service" }, { type: "azure-native:documentdb/v20210701preview:Service" }, { type: "azure-native:documentdb/v20211015preview:Service" }, { type: "azure-native:documentdb/v20211115preview:Service" }, { type: "azure-native:documentdb/v20220215preview:Service" }, { type: "azure-native:documentdb/v20220515:Service" }, { type: "azure-native:documentdb/v20220515preview:Service" }, { type: "azure-native:documentdb/v20220815:Service" }, { type: "azure-native:documentdb/v20220815preview:Service" }, { type: "azure-native:documentdb/v20221115:Service" }, { type: "azure-native:documentdb/v20221115preview:Service" }, { type: "azure-native:documentdb/v20230301preview:Service" }, { type: "azure-native:documentdb/v20230315:Service" }, { type: "azure-native:documentdb/v20230315preview:Service" }, { type: "azure-native:documentdb/v20230915:Service" }, { type: "azure-native:documentdb/v20230915preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlContainer.ts index be8056d71dee..ab3f01443ed2 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlContainer.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlContainer.ts @@ -98,7 +98,7 @@ export class SqlResourceSqlContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlDatabase.ts index e6fd008474d5..2e451f6727f4 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlDatabase.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlDatabase.ts @@ -94,7 +94,7 @@ export class SqlResourceSqlDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleAssignment.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleAssignment.ts index 5dafec4056a7..0e1b091afcd4 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleAssignment.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleAssignment.ts @@ -88,7 +88,7 @@ export class SqlResourceSqlRoleAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlRoleAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleDefinition.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleDefinition.ts index d7cac33632e3..fc2ca2bdce2e 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleDefinition.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlRoleDefinition.ts @@ -91,7 +91,7 @@ export class SqlResourceSqlRoleDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlRoleDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlStoredProcedure.ts index 0399cd7ce1be..1a75f60d8257 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlStoredProcedure.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlStoredProcedure.ts @@ -100,7 +100,7 @@ export class SqlResourceSqlStoredProcedure extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlStoredProcedure.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlTrigger.ts index 977b90feba48..e5854609eb01 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlTrigger.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlTrigger.ts @@ -100,7 +100,7 @@ export class SqlResourceSqlTrigger extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlTrigger.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlUserDefinedFunction.ts index 7eff0343987a..b97c9e5ecf8b 100644 --- a/sdk/nodejs/documentdb/v20230415/sqlResourceSqlUserDefinedFunction.ts +++ b/sdk/nodejs/documentdb/v20230415/sqlResourceSqlUserDefinedFunction.ts @@ -100,7 +100,7 @@ export class SqlResourceSqlUserDefinedFunction extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SqlResourceSqlUserDefinedFunction.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230415/tableResourceTable.ts b/sdk/nodejs/documentdb/v20230415/tableResourceTable.ts index cbd6540c8280..a5d0f61c0129 100644 --- a/sdk/nodejs/documentdb/v20230415/tableResourceTable.ts +++ b/sdk/nodejs/documentdb/v20230415/tableResourceTable.ts @@ -94,7 +94,7 @@ export class TableResourceTable extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:documentdb:TableResourceTable" }, { type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230315preview:TableResourceTable" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:TableResourceTable" }, { type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230315preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230915:TableResourceTable" }, { type: "azure-native:documentdb/v20230915preview:TableResourceTable" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TableResourceTable.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/documentdb/v20230915/cassandraCluster.ts b/sdk/nodejs/documentdb/v20230915/cassandraCluster.ts new file mode 100644 index 000000000000..16305c9359f0 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/cassandraCluster.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Representation of a managed Cassandra cluster. + */ +export class CassandraCluster extends pulumi.CustomResource { + /** + * Get an existing CassandraCluster 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraCluster { + return new CassandraCluster(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:CassandraCluster'; + + /** + * Returns true if the given object is an instance of CassandraCluster. 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 CassandraCluster { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraCluster.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of a managed Cassandra cluster. + */ + public readonly properties!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraCluster 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: CassandraClusterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraCluster" }, { type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210701preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230415:CassandraCluster" }, { type: "azure-native:documentdb/v20230915preview:CassandraCluster" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraCluster.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraCluster resource. + */ +export interface CassandraClusterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * Properties of a managed Cassandra cluster. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/cassandraDataCenter.ts b/sdk/nodejs/documentdb/v20230915/cassandraDataCenter.ts new file mode 100644 index 000000000000..e8d7ed167de4 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/cassandraDataCenter.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A managed Cassandra data center. + */ +export class CassandraDataCenter extends pulumi.CustomResource { + /** + * Get an existing CassandraDataCenter 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraDataCenter { + return new CassandraDataCenter(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:CassandraDataCenter'; + + /** + * Returns true if the given object is an instance of CassandraDataCenter. 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 CassandraDataCenter { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraDataCenter.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of a managed Cassandra data center. + */ + public readonly properties!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraDataCenter 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: CassandraDataCenterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["dataCenterName"] = args ? args.dataCenterName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210401preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210701preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220215preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230415:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230915preview:CassandraDataCenter" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraDataCenter.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraDataCenter resource. + */ +export interface CassandraDataCenterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: pulumi.Input; + /** + * Data center name in a managed Cassandra cluster. + */ + dataCenterName?: pulumi.Input; + /** + * Properties of a managed Cassandra data center. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/cassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/v20230915/cassandraResourceCassandraKeyspace.ts new file mode 100644 index 000000000000..3cd6b4256169 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/cassandraResourceCassandraKeyspace.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Cassandra keyspace. + */ +export class CassandraResourceCassandraKeyspace extends pulumi.CustomResource { + /** + * Get an existing CassandraResourceCassandraKeyspace 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraResourceCassandraKeyspace { + return new CassandraResourceCassandraKeyspace(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace'; + + /** + * Returns true if the given object is an instance of CassandraResourceCassandraKeyspace. 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 CassandraResourceCassandraKeyspace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraResourceCassandraKeyspace.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraResourceCassandraKeyspace 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: CassandraResourceCassandraKeyspaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["keyspaceName"] = args ? args.keyspaceName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraResourceCassandraKeyspace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraResourceCassandraKeyspace resource. + */ +export interface CassandraResourceCassandraKeyspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Cassandra keyspace + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/cassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/v20230915/cassandraResourceCassandraTable.ts new file mode 100644 index 000000000000..7f23b33a298b --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/cassandraResourceCassandraTable.ts @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Cassandra table. + */ +export class CassandraResourceCassandraTable extends pulumi.CustomResource { + /** + * Get an existing CassandraResourceCassandraTable 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraResourceCassandraTable { + return new CassandraResourceCassandraTable(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:CassandraResourceCassandraTable'; + + /** + * Returns true if the given object is an instance of CassandraResourceCassandraTable. 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 CassandraResourceCassandraTable { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraResourceCassandraTable.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraResourceCassandraTable 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: CassandraResourceCassandraTableArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.keyspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'keyspaceName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["keyspaceName"] = args ? args.keyspaceName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraResourceCassandraTable.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraResourceCassandraTable resource. + */ +export interface CassandraResourceCassandraTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Cassandra table + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/databaseAccount.ts b/sdk/nodejs/documentdb/v20230915/databaseAccount.ts new file mode 100644 index 000000000000..72f6eb93ac72 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/databaseAccount.ts @@ -0,0 +1,500 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB database account. + */ +export class DatabaseAccount extends pulumi.CustomResource { + /** + * Get an existing DatabaseAccount 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DatabaseAccount { + return new DatabaseAccount(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:DatabaseAccount'; + + /** + * Returns true if the given object is an instance of DatabaseAccount. 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 DatabaseAccount { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DatabaseAccount.__pulumiType; + } + + /** + * Analytical storage specific properties. + */ + public readonly analyticalStorageConfiguration!: pulumi.Output; + /** + * API specific properties. + */ + public readonly apiProperties!: pulumi.Output; + /** + * The object representing the policy for taking backups on an account. + */ + public readonly backupPolicy!: pulumi.Output; + /** + * List of Cosmos DB capabilities for the account + */ + public readonly capabilities!: pulumi.Output; + /** + * The object that represents all properties related to capacity enforcement on an account. + */ + public readonly capacity!: pulumi.Output; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + public readonly connectorOffer!: pulumi.Output; + /** + * The consistency policy for the Cosmos DB database account. + */ + public readonly consistencyPolicy!: pulumi.Output; + /** + * The CORS policy for the Cosmos DB database account. + */ + public readonly cors!: pulumi.Output; + /** + * Enum to indicate the mode of account creation. + */ + public readonly createMode!: pulumi.Output; + /** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ + public readonly customerManagedKeyStatus!: pulumi.Output; + /** + * The offer type for the Cosmos DB database account. Default value: Standard. + */ + public readonly databaseAccountOfferType!: pulumi.Output; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + public readonly defaultIdentity!: pulumi.Output; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + public readonly disableKeyBasedMetadataWriteAccess!: pulumi.Output; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + */ + public readonly disableLocalAuth!: pulumi.Output; + /** + * The connection endpoint for the Cosmos DB database account. + */ + public /*out*/ readonly documentEndpoint!: pulumi.Output; + /** + * Flag to indicate whether to enable storage analytics. + */ + public readonly enableAnalyticalStorage!: pulumi.Output; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + public readonly enableAutomaticFailover!: pulumi.Output; + /** + * Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + */ + public readonly enableBurstCapacity!: pulumi.Output; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + public readonly enableCassandraConnector!: pulumi.Output; + /** + * Flag to indicate whether Free Tier is enabled. + */ + public readonly enableFreeTier!: pulumi.Output; + /** + * Enables the account to write in multiple locations + */ + public readonly enableMultipleWriteLocations!: pulumi.Output; + /** + * Flag to indicate enabling/disabling of Partition Merge feature on the account + */ + public readonly enablePartitionMerge!: pulumi.Output; + /** + * An array that contains the regions ordered by their failover priorities. + */ + public /*out*/ readonly failoverPolicies!: pulumi.Output; + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * A unique identifier assigned to the database account + */ + public /*out*/ readonly instanceId!: pulumi.Output; + /** + * List of IpRules. + */ + public readonly ipRules!: pulumi.Output; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + public readonly isVirtualNetworkFilterEnabled!: pulumi.Output; + /** + * The URI of the key vault + */ + public readonly keyVaultKeyUri!: pulumi.Output; + /** + * The object that represents the metadata for the Account Keys of the Cosmos DB account. + */ + public /*out*/ readonly keysMetadata!: pulumi.Output; + /** + * Indicates the type of database account. This can only be set at database account creation. + */ + public readonly kind!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * An array that contains all of the locations enabled for the Cosmos DB account. + */ + public readonly locations!: pulumi.Output; + /** + * Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + */ + public readonly minimalTlsVersion!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + public readonly networkAclBypass!: pulumi.Output; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + public readonly networkAclBypassResourceIds!: pulumi.Output; + /** + * List of Private Endpoint Connections configured for the Cosmos DB account. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Whether requests from Public Network are allowed + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * An array that contains of the read locations enabled for the Cosmos DB account. + */ + public /*out*/ readonly readLocations!: pulumi.Output; + /** + * Parameters to indicate the information about the restore. + */ + public readonly restoreParameters!: pulumi.Output; + /** + * The system meta data relating to this resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + public readonly virtualNetworkRules!: pulumi.Output; + /** + * An array that contains the write location for the Cosmos DB account. + */ + public /*out*/ readonly writeLocations!: pulumi.Output; + + /** + * Create a DatabaseAccount 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: DatabaseAccountArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.databaseAccountOfferType === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseAccountOfferType'"); + } + if ((!args || args.locations === undefined) && !opts.urn) { + throw new Error("Missing required property 'locations'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["analyticalStorageConfiguration"] = args ? args.analyticalStorageConfiguration : undefined; + resourceInputs["apiProperties"] = args ? args.apiProperties : undefined; + resourceInputs["backupPolicy"] = args ? args.backupPolicy : undefined; + resourceInputs["capabilities"] = args ? args.capabilities : undefined; + resourceInputs["capacity"] = args ? args.capacity : undefined; + resourceInputs["connectorOffer"] = args ? args.connectorOffer : undefined; + resourceInputs["consistencyPolicy"] = args ? args.consistencyPolicy : undefined; + resourceInputs["cors"] = args ? args.cors : undefined; + resourceInputs["createMode"] = (args ? args.createMode : undefined) ?? "Default"; + resourceInputs["customerManagedKeyStatus"] = args ? args.customerManagedKeyStatus : undefined; + resourceInputs["databaseAccountOfferType"] = args ? args.databaseAccountOfferType : undefined; + resourceInputs["defaultIdentity"] = args ? args.defaultIdentity : undefined; + resourceInputs["disableKeyBasedMetadataWriteAccess"] = args ? args.disableKeyBasedMetadataWriteAccess : undefined; + resourceInputs["disableLocalAuth"] = args ? args.disableLocalAuth : undefined; + resourceInputs["enableAnalyticalStorage"] = args ? args.enableAnalyticalStorage : undefined; + resourceInputs["enableAutomaticFailover"] = args ? args.enableAutomaticFailover : undefined; + resourceInputs["enableBurstCapacity"] = args ? args.enableBurstCapacity : undefined; + resourceInputs["enableCassandraConnector"] = args ? args.enableCassandraConnector : undefined; + resourceInputs["enableFreeTier"] = args ? args.enableFreeTier : undefined; + resourceInputs["enableMultipleWriteLocations"] = args ? args.enableMultipleWriteLocations : undefined; + resourceInputs["enablePartitionMerge"] = args ? args.enablePartitionMerge : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["ipRules"] = args ? args.ipRules : undefined; + resourceInputs["isVirtualNetworkFilterEnabled"] = args ? args.isVirtualNetworkFilterEnabled : undefined; + resourceInputs["keyVaultKeyUri"] = args ? args.keyVaultKeyUri : undefined; + resourceInputs["kind"] = (args ? args.kind : undefined) ?? "GlobalDocumentDB"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["locations"] = args ? args.locations : undefined; + resourceInputs["minimalTlsVersion"] = args ? args.minimalTlsVersion : undefined; + resourceInputs["networkAclBypass"] = args ? args.networkAclBypass : undefined; + resourceInputs["networkAclBypassResourceIds"] = args ? args.networkAclBypassResourceIds : undefined; + resourceInputs["publicNetworkAccess"] = args ? args.publicNetworkAccess : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["restoreParameters"] = args ? args.restoreParameters : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["virtualNetworkRules"] = args ? args.virtualNetworkRules : undefined; + resourceInputs["documentEndpoint"] = undefined /*out*/; + resourceInputs["failoverPolicies"] = undefined /*out*/; + resourceInputs["instanceId"] = undefined /*out*/; + resourceInputs["keysMetadata"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["readLocations"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["writeLocations"] = undefined /*out*/; + } else { + resourceInputs["analyticalStorageConfiguration"] = undefined /*out*/; + resourceInputs["apiProperties"] = undefined /*out*/; + resourceInputs["backupPolicy"] = undefined /*out*/; + resourceInputs["capabilities"] = undefined /*out*/; + resourceInputs["capacity"] = undefined /*out*/; + resourceInputs["connectorOffer"] = undefined /*out*/; + resourceInputs["consistencyPolicy"] = undefined /*out*/; + resourceInputs["cors"] = undefined /*out*/; + resourceInputs["createMode"] = undefined /*out*/; + resourceInputs["customerManagedKeyStatus"] = undefined /*out*/; + resourceInputs["databaseAccountOfferType"] = undefined /*out*/; + resourceInputs["defaultIdentity"] = undefined /*out*/; + resourceInputs["disableKeyBasedMetadataWriteAccess"] = undefined /*out*/; + resourceInputs["disableLocalAuth"] = undefined /*out*/; + resourceInputs["documentEndpoint"] = undefined /*out*/; + resourceInputs["enableAnalyticalStorage"] = undefined /*out*/; + resourceInputs["enableAutomaticFailover"] = undefined /*out*/; + resourceInputs["enableBurstCapacity"] = undefined /*out*/; + resourceInputs["enableCassandraConnector"] = undefined /*out*/; + resourceInputs["enableFreeTier"] = undefined /*out*/; + resourceInputs["enableMultipleWriteLocations"] = undefined /*out*/; + resourceInputs["enablePartitionMerge"] = undefined /*out*/; + resourceInputs["failoverPolicies"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["instanceId"] = undefined /*out*/; + resourceInputs["ipRules"] = undefined /*out*/; + resourceInputs["isVirtualNetworkFilterEnabled"] = undefined /*out*/; + resourceInputs["keyVaultKeyUri"] = undefined /*out*/; + resourceInputs["keysMetadata"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["locations"] = undefined /*out*/; + resourceInputs["minimalTlsVersion"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkAclBypass"] = undefined /*out*/; + resourceInputs["networkAclBypassResourceIds"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["readLocations"] = undefined /*out*/; + resourceInputs["restoreParameters"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["virtualNetworkRules"] = undefined /*out*/; + resourceInputs["writeLocations"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915preview:DatabaseAccount" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(DatabaseAccount.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a DatabaseAccount resource. + */ +export interface DatabaseAccountArgs { + /** + * Cosmos DB database account name. + */ + accountName?: pulumi.Input; + /** + * Analytical storage specific properties. + */ + analyticalStorageConfiguration?: pulumi.Input; + /** + * API specific properties. Currently, supported only for MongoDB API. + */ + apiProperties?: pulumi.Input; + /** + * The object representing the policy for taking backups on an account. + */ + backupPolicy?: pulumi.Input; + /** + * List of Cosmos DB capabilities for the account + */ + capabilities?: pulumi.Input[]>; + /** + * The object that represents all properties related to capacity enforcement on an account. + */ + capacity?: pulumi.Input; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + connectorOffer?: pulumi.Input; + /** + * The consistency policy for the Cosmos DB account. + */ + consistencyPolicy?: pulumi.Input; + /** + * The CORS policy for the Cosmos DB database account. + */ + cors?: pulumi.Input[]>; + /** + * Enum to indicate the mode of account creation. + */ + createMode?: pulumi.Input; + /** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ + customerManagedKeyStatus?: pulumi.Input; + /** + * The offer type for the database + */ + databaseAccountOfferType: pulumi.Input; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + defaultIdentity?: pulumi.Input; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + disableKeyBasedMetadataWriteAccess?: pulumi.Input; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + */ + disableLocalAuth?: pulumi.Input; + /** + * Flag to indicate whether to enable storage analytics. + */ + enableAnalyticalStorage?: pulumi.Input; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + enableAutomaticFailover?: pulumi.Input; + /** + * Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + */ + enableBurstCapacity?: pulumi.Input; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + enableCassandraConnector?: pulumi.Input; + /** + * Flag to indicate whether Free Tier is enabled. + */ + enableFreeTier?: pulumi.Input; + /** + * Enables the account to write in multiple locations + */ + enableMultipleWriteLocations?: pulumi.Input; + /** + * Flag to indicate enabling/disabling of Partition Merge feature on the account + */ + enablePartitionMerge?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * List of IpRules. + */ + ipRules?: pulumi.Input[]>; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + isVirtualNetworkFilterEnabled?: pulumi.Input; + /** + * The URI of the key vault + */ + keyVaultKeyUri?: pulumi.Input; + /** + * Indicates the type of database account. This can only be set at database account creation. + */ + kind?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * An array that contains the georeplication locations enabled for the Cosmos DB account. + */ + locations: pulumi.Input[]>; + /** + * Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + */ + minimalTlsVersion?: pulumi.Input; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + networkAclBypass?: pulumi.Input; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + networkAclBypassResourceIds?: pulumi.Input[]>; + /** + * Whether requests from Public Network are allowed + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Parameters to indicate the information about the restore. + */ + restoreParameters?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + virtualNetworkRules?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/documentdb/v20230915/getCassandraCluster.ts b/sdk/nodejs/documentdb/v20230915/getCassandraCluster.ts new file mode 100644 index 000000000000..b3225d497f6c --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getCassandraCluster.ts @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get the properties of a managed Cassandra cluster. + */ +export function getCassandraCluster(args: GetCassandraClusterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getCassandraCluster", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCassandraClusterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Representation of a managed Cassandra cluster. + */ +export interface GetCassandraClusterResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915.ManagedCassandraManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + /** + * Properties of a managed Cassandra cluster. + */ + readonly properties: outputs.documentdb.v20230915.ClusterResourceResponseProperties; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Get the properties of a managed Cassandra cluster. + */ +export function getCassandraClusterOutput(args: GetCassandraClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraCluster(a, opts)) +} + +export interface GetCassandraClusterOutputArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getCassandraDataCenter.ts b/sdk/nodejs/documentdb/v20230915/getCassandraDataCenter.ts new file mode 100644 index 000000000000..3f5f1b86283d --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getCassandraDataCenter.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get the properties of a managed Cassandra data center. + */ +export function getCassandraDataCenter(args: GetCassandraDataCenterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getCassandraDataCenter", { + "clusterName": args.clusterName, + "dataCenterName": args.dataCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCassandraDataCenterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: string; + /** + * Data center name in a managed Cassandra cluster. + */ + dataCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A managed Cassandra data center. + */ +export interface GetCassandraDataCenterResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * Properties of a managed Cassandra data center. + */ + readonly properties: outputs.documentdb.v20230915.DataCenterResourceResponseProperties; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Get the properties of a managed Cassandra data center. + */ +export function getCassandraDataCenterOutput(args: GetCassandraDataCenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraDataCenter(a, opts)) +} + +export interface GetCassandraDataCenterOutputArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: pulumi.Input; + /** + * Data center name in a managed Cassandra cluster. + */ + dataCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getCassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/v20230915/getCassandraResourceCassandraKeyspace.ts new file mode 100644 index 000000000000..7df452901b8e --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getCassandraResourceCassandraKeyspace.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + */ +export function getCassandraResourceCassandraKeyspace(args: GetCassandraResourceCassandraKeyspaceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getCassandraResourceCassandraKeyspace", { + "accountName": args.accountName, + "keyspaceName": args.keyspaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCassandraResourceCassandraKeyspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Cassandra keyspace. + */ +export interface GetCassandraResourceCassandraKeyspaceResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.CassandraKeyspaceGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.CassandraKeyspaceGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + */ +export function getCassandraResourceCassandraKeyspaceOutput(args: GetCassandraResourceCassandraKeyspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraResourceCassandraKeyspace(a, opts)) +} + +export interface GetCassandraResourceCassandraKeyspaceOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getCassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/v20230915/getCassandraResourceCassandraTable.ts new file mode 100644 index 000000000000..71f502781fce --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getCassandraResourceCassandraTable.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Cassandra table under an existing Azure Cosmos DB database account. + */ +export function getCassandraResourceCassandraTable(args: GetCassandraResourceCassandraTableArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getCassandraResourceCassandraTable", { + "accountName": args.accountName, + "keyspaceName": args.keyspaceName, + "resourceGroupName": args.resourceGroupName, + "tableName": args.tableName, + }, opts); +} + +export interface GetCassandraResourceCassandraTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB table name. + */ + tableName: string; +} + +/** + * An Azure Cosmos DB Cassandra table. + */ +export interface GetCassandraResourceCassandraTableResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.CassandraTableGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.CassandraTableGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Cassandra table under an existing Azure Cosmos DB database account. + */ +export function getCassandraResourceCassandraTableOutput(args: GetCassandraResourceCassandraTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraResourceCassandraTable(a, opts)) +} + +export interface GetCassandraResourceCassandraTableOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getDatabaseAccount.ts b/sdk/nodejs/documentdb/v20230915/getDatabaseAccount.ts new file mode 100644 index 000000000000..947c81ad9af3 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getDatabaseAccount.ts @@ -0,0 +1,242 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB database account. + */ +export function getDatabaseAccount(args: GetDatabaseAccountArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getDatabaseAccount", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetDatabaseAccountArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB database account. + */ +export interface GetDatabaseAccountResult { + /** + * Analytical storage specific properties. + */ + readonly analyticalStorageConfiguration?: outputs.documentdb.v20230915.AnalyticalStorageConfigurationResponse; + /** + * API specific properties. + */ + readonly apiProperties?: outputs.documentdb.v20230915.ApiPropertiesResponse; + /** + * The object representing the policy for taking backups on an account. + */ + readonly backupPolicy?: outputs.documentdb.v20230915.ContinuousModeBackupPolicyResponse | outputs.documentdb.v20230915.PeriodicModeBackupPolicyResponse; + /** + * List of Cosmos DB capabilities for the account + */ + readonly capabilities?: outputs.documentdb.v20230915.CapabilityResponse[]; + /** + * The object that represents all properties related to capacity enforcement on an account. + */ + readonly capacity?: outputs.documentdb.v20230915.CapacityResponse; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + readonly connectorOffer?: string; + /** + * The consistency policy for the Cosmos DB database account. + */ + readonly consistencyPolicy?: outputs.documentdb.v20230915.ConsistencyPolicyResponse; + /** + * The CORS policy for the Cosmos DB database account. + */ + readonly cors?: outputs.documentdb.v20230915.CorsPolicyResponse[]; + /** + * Enum to indicate the mode of account creation. + */ + readonly createMode?: string; + /** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ + readonly customerManagedKeyStatus?: string; + /** + * The offer type for the Cosmos DB database account. Default value: Standard. + */ + readonly databaseAccountOfferType: string; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + readonly defaultIdentity?: string; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + readonly disableKeyBasedMetadataWriteAccess?: boolean; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + */ + readonly disableLocalAuth?: boolean; + /** + * The connection endpoint for the Cosmos DB database account. + */ + readonly documentEndpoint: string; + /** + * Flag to indicate whether to enable storage analytics. + */ + readonly enableAnalyticalStorage?: boolean; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + readonly enableAutomaticFailover?: boolean; + /** + * Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + */ + readonly enableBurstCapacity?: boolean; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + readonly enableCassandraConnector?: boolean; + /** + * Flag to indicate whether Free Tier is enabled. + */ + readonly enableFreeTier?: boolean; + /** + * Enables the account to write in multiple locations + */ + readonly enableMultipleWriteLocations?: boolean; + /** + * Flag to indicate enabling/disabling of Partition Merge feature on the account + */ + readonly enablePartitionMerge?: boolean; + /** + * An array that contains the regions ordered by their failover priorities. + */ + readonly failoverPolicies: outputs.documentdb.v20230915.FailoverPolicyResponse[]; + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915.ManagedServiceIdentityResponse; + /** + * A unique identifier assigned to the database account + */ + readonly instanceId: string; + /** + * List of IpRules. + */ + readonly ipRules?: outputs.documentdb.v20230915.IpAddressOrRangeResponse[]; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + readonly isVirtualNetworkFilterEnabled?: boolean; + /** + * The URI of the key vault + */ + readonly keyVaultKeyUri?: string; + /** + * The object that represents the metadata for the Account Keys of the Cosmos DB account. + */ + readonly keysMetadata: outputs.documentdb.v20230915.DatabaseAccountKeysMetadataResponse; + /** + * Indicates the type of database account. This can only be set at database account creation. + */ + readonly kind?: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * An array that contains all of the locations enabled for the Cosmos DB account. + */ + readonly locations: outputs.documentdb.v20230915.LocationResponse[]; + /** + * Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + */ + readonly minimalTlsVersion?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + readonly networkAclBypass?: string; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + readonly networkAclBypassResourceIds?: string[]; + /** + * List of Private Endpoint Connections configured for the Cosmos DB account. + */ + readonly privateEndpointConnections: outputs.documentdb.v20230915.PrivateEndpointConnectionResponse[]; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + readonly provisioningState: string; + /** + * Whether requests from Public Network are allowed + */ + readonly publicNetworkAccess?: string; + /** + * An array that contains of the read locations enabled for the Cosmos DB account. + */ + readonly readLocations: outputs.documentdb.v20230915.LocationResponse[]; + /** + * Parameters to indicate the information about the restore. + */ + readonly restoreParameters?: outputs.documentdb.v20230915.RestoreParametersResponse; + /** + * The system meta data relating to this resource. + */ + readonly systemData: outputs.documentdb.v20230915.SystemDataResponse; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + readonly virtualNetworkRules?: outputs.documentdb.v20230915.VirtualNetworkRuleResponse[]; + /** + * An array that contains the write location for the Cosmos DB account. + */ + readonly writeLocations: outputs.documentdb.v20230915.LocationResponse[]; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB database account. + */ +export function getDatabaseAccountOutput(args: GetDatabaseAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDatabaseAccount(a, opts)) +} + +export interface GetDatabaseAccountOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getGremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/v20230915/getGremlinResourceGremlinDatabase.ts new file mode 100644 index 000000000000..8ed30ec2ce2a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getGremlinResourceGremlinDatabase.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getGremlinResourceGremlinDatabase(args: GetGremlinResourceGremlinDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getGremlinResourceGremlinDatabase", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGremlinResourceGremlinDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Gremlin database. + */ +export interface GetGremlinResourceGremlinDatabaseResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.GremlinDatabaseGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.GremlinDatabaseGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getGremlinResourceGremlinDatabaseOutput(args: GetGremlinResourceGremlinDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGremlinResourceGremlinDatabase(a, opts)) +} + +export interface GetGremlinResourceGremlinDatabaseOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getGremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/v20230915/getGremlinResourceGremlinGraph.ts new file mode 100644 index 000000000000..2540fb8d48bd --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getGremlinResourceGremlinGraph.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Gremlin graph under an existing Azure Cosmos DB database account. + */ +export function getGremlinResourceGremlinGraph(args: GetGremlinResourceGremlinGraphArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getGremlinResourceGremlinGraph", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "graphName": args.graphName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGremlinResourceGremlinGraphArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * Cosmos DB graph name. + */ + graphName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Gremlin graph. + */ +export interface GetGremlinResourceGremlinGraphResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.GremlinGraphGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.GremlinGraphGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Gremlin graph under an existing Azure Cosmos DB database account. + */ +export function getGremlinResourceGremlinGraphOutput(args: GetGremlinResourceGremlinGraphOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGremlinResourceGremlinGraph(a, opts)) +} + +export interface GetGremlinResourceGremlinGraphOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Cosmos DB graph name. + */ + graphName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoDBCollection.ts new file mode 100644 index 000000000000..c55edb71d7b3 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoDBCollection.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the MongoDB collection under an existing Azure Cosmos DB database account. + */ +export function getMongoDBResourceMongoDBCollection(args: GetMongoDBResourceMongoDBCollectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoDBCollection", { + "accountName": args.accountName, + "collectionName": args.collectionName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoDBCollectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB collection name. + */ + collectionName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB MongoDB collection. + */ +export interface GetMongoDBResourceMongoDBCollectionResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.MongoDBCollectionGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.MongoDBCollectionGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the MongoDB collection under an existing Azure Cosmos DB database account. + */ +export function getMongoDBResourceMongoDBCollectionOutput(args: GetMongoDBResourceMongoDBCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoDBCollection(a, opts)) +} + +export interface GetMongoDBResourceMongoDBCollectionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB collection name. + */ + collectionName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoDBDatabase.ts new file mode 100644 index 000000000000..bc49e588c13a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoDBDatabase.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getMongoDBResourceMongoDBDatabase(args: GetMongoDBResourceMongoDBDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoDBDatabase", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoDBDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB MongoDB database. + */ +export interface GetMongoDBResourceMongoDBDatabaseResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.MongoDBDatabaseGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.MongoDBDatabaseGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getMongoDBResourceMongoDBDatabaseOutput(args: GetMongoDBResourceMongoDBDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoDBDatabase(a, opts)) +} + +export interface GetMongoDBResourceMongoDBDatabaseOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoRoleDefinition.ts new file mode 100644 index 000000000000..a2ab92af9a02 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoRoleDefinition.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + */ +export function getMongoDBResourceMongoRoleDefinition(args: GetMongoDBResourceMongoRoleDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoRoleDefinition", { + "accountName": args.accountName, + "mongoRoleDefinitionId": args.mongoRoleDefinitionId, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The ID for the Role Definition {dbName.roleName}. + */ + mongoRoleDefinitionId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Mongo Role Definition. + */ +export interface GetMongoDBResourceMongoRoleDefinitionResult { + /** + * The database name for which access is being granted for this Role Definition. + */ + readonly databaseName?: string; + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + */ + readonly privileges?: outputs.documentdb.v20230915.PrivilegeResponse[]; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + readonly roleName?: string; + /** + * The set of roles inherited by this Role Definition. + */ + readonly roles?: outputs.documentdb.v20230915.RoleResponse[]; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + */ +export function getMongoDBResourceMongoRoleDefinitionOutput(args: GetMongoDBResourceMongoRoleDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoRoleDefinition(a, opts)) +} + +export interface GetMongoDBResourceMongoRoleDefinitionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The ID for the Role Definition {dbName.roleName}. + */ + mongoRoleDefinitionId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoUserDefinition.ts b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoUserDefinition.ts new file mode 100644 index 000000000000..0404dfacb099 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getMongoDBResourceMongoUserDefinition.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + */ +export function getMongoDBResourceMongoUserDefinition(args: GetMongoDBResourceMongoUserDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getMongoDBResourceMongoUserDefinition", { + "accountName": args.accountName, + "mongoUserDefinitionId": args.mongoUserDefinitionId, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoUserDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The ID for the User Definition {dbName.userName}. + */ + mongoUserDefinitionId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB User Definition + */ +export interface GetMongoDBResourceMongoUserDefinitionResult { + /** + * A custom definition for the USer Definition. + */ + readonly customData?: string; + /** + * The database name for which access is being granted for this User Definition. + */ + readonly databaseName?: string; + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + */ + readonly mechanisms?: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * The password for User Definition. Response does not contain user password. + */ + readonly password?: string; + /** + * The set of roles inherited by the User Definition. + */ + readonly roles?: outputs.documentdb.v20230915.RoleResponse[]; + /** + * The type of Azure resource. + */ + readonly type: string; + /** + * The user name for User Definition. + */ + readonly userName?: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + */ +export function getMongoDBResourceMongoUserDefinitionOutput(args: GetMongoDBResourceMongoUserDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoUserDefinition(a, opts)) +} + +export interface GetMongoDBResourceMongoUserDefinitionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The ID for the User Definition {dbName.userName}. + */ + mongoUserDefinitionId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getNotebookWorkspace.ts b/sdk/nodejs/documentdb/v20230915/getNotebookWorkspace.ts new file mode 100644 index 000000000000..5c3954c089fb --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getNotebookWorkspace.ts @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Gets the notebook workspace for a Cosmos DB account. + */ +export function getNotebookWorkspace(args: GetNotebookWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getNotebookWorkspace", { + "accountName": args.accountName, + "notebookWorkspaceName": args.notebookWorkspaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNotebookWorkspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A notebook workspace resource + */ +export interface GetNotebookWorkspaceResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * Specifies the endpoint of Notebook server. + */ + readonly notebookServerEndpoint: string; + /** + * Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + */ + readonly status: string; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the notebook workspace for a Cosmos DB account. + */ +export function getNotebookWorkspaceOutput(args: GetNotebookWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getNotebookWorkspace(a, opts)) +} + +export interface GetNotebookWorkspaceOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getPrivateEndpointConnection.ts b/sdk/nodejs/documentdb/v20230915/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..e9c153413382 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getPrivateEndpointConnection.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a private endpoint connection. + */ +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getPrivateEndpointConnection", { + "accountName": args.accountName, + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A private endpoint connection + */ +export interface GetPrivateEndpointConnectionResult { + /** + * Group id of the private endpoint. + */ + readonly groupId?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Private endpoint which the connection belongs to. + */ + readonly privateEndpoint?: outputs.documentdb.v20230915.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + readonly privateLinkServiceConnectionState?: outputs.documentdb.v20230915.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + readonly provisioningState?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a private endpoint connection. + */ +export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnection(a, opts)) +} + +export interface GetPrivateEndpointConnectionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getService.ts b/sdk/nodejs/documentdb/v20230915/getService.ts new file mode 100644 index 000000000000..f1c328a33a83 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getService.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the status of service. + */ +export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getService", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetServiceArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB service name. + */ + serviceName: string; +} + +/** + * Properties for the database account. + */ +export interface GetServiceResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * Services response resource. + */ + readonly properties: outputs.documentdb.v20230915.DataTransferServiceResourcePropertiesResponse | outputs.documentdb.v20230915.GraphAPIComputeServiceResourcePropertiesResponse | outputs.documentdb.v20230915.MaterializedViewsBuilderServiceResourcePropertiesResponse | outputs.documentdb.v20230915.SqlDedicatedGatewayServiceResourcePropertiesResponse; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the status of service. + */ +export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getService(a, opts)) +} + +export interface GetServiceOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB service name. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlContainer.ts new file mode 100644 index 000000000000..661ad96905e2 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlContainer.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL container under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlContainer(args: GetSqlResourceSqlContainerArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlContainer", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetSqlResourceSqlContainerArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB container. + */ +export interface GetSqlResourceSqlContainerResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.SqlContainerGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.SqlContainerGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL container under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlContainerOutput(args: GetSqlResourceSqlContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlContainer(a, opts)) +} + +export interface GetSqlResourceSqlContainerOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlDatabase.ts new file mode 100644 index 000000000000..a2eed1c9973b --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlDatabase.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + */ +export function getSqlResourceSqlDatabase(args: GetSqlResourceSqlDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlDatabase", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetSqlResourceSqlDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB SQL database. + */ +export interface GetSqlResourceSqlDatabaseResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.SqlDatabaseGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.SqlDatabaseGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + */ +export function getSqlResourceSqlDatabaseOutput(args: GetSqlResourceSqlDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlDatabase(a, opts)) +} + +export interface GetSqlResourceSqlDatabaseOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlRoleAssignment.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlRoleAssignment.ts new file mode 100644 index 000000000000..9c4ed6aff59e --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlRoleAssignment.ts @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + */ +export function getSqlResourceSqlRoleAssignment(args: GetSqlResourceSqlRoleAssignmentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlRoleAssignment", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "roleAssignmentId": args.roleAssignmentId, + }, opts); +} + +export interface GetSqlResourceSqlRoleAssignmentArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The GUID for the Role Assignment. + */ + roleAssignmentId: string; +} + +/** + * An Azure Cosmos DB Role Assignment + */ +export interface GetSqlResourceSqlRoleAssignmentResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + */ + readonly principalId?: string; + /** + * The unique identifier for the associated Role Definition. + */ + readonly roleDefinitionId?: string; + /** + * The data plane resource path for which access is being granted through this Role Assignment. + */ + readonly scope?: string; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + */ +export function getSqlResourceSqlRoleAssignmentOutput(args: GetSqlResourceSqlRoleAssignmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlRoleAssignment(a, opts)) +} + +export interface GetSqlResourceSqlRoleAssignmentOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Assignment. + */ + roleAssignmentId: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlRoleDefinition.ts new file mode 100644 index 000000000000..479d58ee7b9f --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlRoleDefinition.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + */ +export function getSqlResourceSqlRoleDefinition(args: GetSqlResourceSqlRoleDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlRoleDefinition", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "roleDefinitionId": args.roleDefinitionId, + }, opts); +} + +export interface GetSqlResourceSqlRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The GUID for the Role Definition. + */ + roleDefinitionId: string; +} + +/** + * An Azure Cosmos DB SQL Role Definition. + */ +export interface GetSqlResourceSqlRoleDefinitionResult { + /** + * A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + */ + readonly assignableScopes?: string[]; + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * The set of operations allowed through this Role Definition. + */ + readonly permissions?: outputs.documentdb.v20230915.PermissionResponse[]; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + readonly roleName?: string; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + */ +export function getSqlResourceSqlRoleDefinitionOutput(args: GetSqlResourceSqlRoleDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlRoleDefinition(a, opts)) +} + +export interface GetSqlResourceSqlRoleDefinitionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Definition. + */ + roleDefinitionId: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlStoredProcedure.ts new file mode 100644 index 000000000000..566c8fb823a0 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlStoredProcedure.ts @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlStoredProcedure(args: GetSqlResourceSqlStoredProcedureArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlStoredProcedure", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "storedProcedureName": args.storedProcedureName, + }, opts); +} + +export interface GetSqlResourceSqlStoredProcedureArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB storedProcedure name. + */ + storedProcedureName: string; +} + +/** + * An Azure Cosmos DB storedProcedure. + */ +export interface GetSqlResourceSqlStoredProcedureResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly resource?: outputs.documentdb.v20230915.SqlStoredProcedureGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlStoredProcedureOutput(args: GetSqlResourceSqlStoredProcedureOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlStoredProcedure(a, opts)) +} + +export interface GetSqlResourceSqlStoredProcedureOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB storedProcedure name. + */ + storedProcedureName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlTrigger.ts new file mode 100644 index 000000000000..4eb25c70de94 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlTrigger.ts @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL trigger under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlTrigger(args: GetSqlResourceSqlTriggerArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlTrigger", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "triggerName": args.triggerName, + }, opts); +} + +export interface GetSqlResourceSqlTriggerArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB trigger name. + */ + triggerName: string; +} + +/** + * An Azure Cosmos DB trigger. + */ +export interface GetSqlResourceSqlTriggerResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly resource?: outputs.documentdb.v20230915.SqlTriggerGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL trigger under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlTriggerOutput(args: GetSqlResourceSqlTriggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlTrigger(a, opts)) +} + +export interface GetSqlResourceSqlTriggerOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB trigger name. + */ + triggerName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlUserDefinedFunction.ts new file mode 100644 index 000000000000..e897bf69926a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getSqlResourceSqlUserDefinedFunction.ts @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlUserDefinedFunction(args: GetSqlResourceSqlUserDefinedFunctionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getSqlResourceSqlUserDefinedFunction", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "userDefinedFunctionName": args.userDefinedFunctionName, + }, opts); +} + +export interface GetSqlResourceSqlUserDefinedFunctionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB userDefinedFunction name. + */ + userDefinedFunctionName: string; +} + +/** + * An Azure Cosmos DB userDefinedFunction. + */ +export interface GetSqlResourceSqlUserDefinedFunctionResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly resource?: outputs.documentdb.v20230915.SqlUserDefinedFunctionGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlUserDefinedFunctionOutput(args: GetSqlResourceSqlUserDefinedFunctionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlUserDefinedFunction(a, opts)) +} + +export interface GetSqlResourceSqlUserDefinedFunctionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB userDefinedFunction name. + */ + userDefinedFunctionName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/getTableResourceTable.ts b/sdk/nodejs/documentdb/v20230915/getTableResourceTable.ts new file mode 100644 index 000000000000..472ebe8f4493 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/getTableResourceTable.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + */ +export function getTableResourceTable(args: GetTableResourceTableArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:getTableResourceTable", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "tableName": args.tableName, + }, opts); +} + +export interface GetTableResourceTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB table name. + */ + tableName: string; +} + +/** + * An Azure Cosmos DB Table. + */ +export interface GetTableResourceTableResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915.TableGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915.TableGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + */ +export function getTableResourceTableOutput(args: GetTableResourceTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getTableResourceTable(a, opts)) +} + +export interface GetTableResourceTableOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/gremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/v20230915/gremlinResourceGremlinDatabase.ts new file mode 100644 index 000000000000..90bc660d976c --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/gremlinResourceGremlinDatabase.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Gremlin database. + */ +export class GremlinResourceGremlinDatabase extends pulumi.CustomResource { + /** + * Get an existing GremlinResourceGremlinDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GremlinResourceGremlinDatabase { + return new GremlinResourceGremlinDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase'; + + /** + * Returns true if the given object is an instance of GremlinResourceGremlinDatabase. 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 GremlinResourceGremlinDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GremlinResourceGremlinDatabase.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GremlinResourceGremlinDatabase 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: GremlinResourceGremlinDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GremlinResourceGremlinDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GremlinResourceGremlinDatabase resource. + */ +export interface GremlinResourceGremlinDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Gremlin database + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/gremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/v20230915/gremlinResourceGremlinGraph.ts new file mode 100644 index 000000000000..6436b71482e7 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/gremlinResourceGremlinGraph.ts @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Gremlin graph. + */ +export class GremlinResourceGremlinGraph extends pulumi.CustomResource { + /** + * Get an existing GremlinResourceGremlinGraph 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GremlinResourceGremlinGraph { + return new GremlinResourceGremlinGraph(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:GremlinResourceGremlinGraph'; + + /** + * Returns true if the given object is an instance of GremlinResourceGremlinGraph. 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 GremlinResourceGremlinGraph { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GremlinResourceGremlinGraph.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GremlinResourceGremlinGraph 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: GremlinResourceGremlinGraphArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["graphName"] = args ? args.graphName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? (args.resource ? pulumi.output(args.resource).apply(inputs.documentdb.v20230915.gremlinGraphResourceArgsProvideDefaults) : undefined) : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GremlinResourceGremlinGraph.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GremlinResourceGremlinGraph resource. + */ +export interface GremlinResourceGremlinGraphArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Cosmos DB graph name. + */ + graphName?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Gremlin graph + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/index.ts b/sdk/nodejs/documentdb/v20230915/index.ts new file mode 100644 index 000000000000..f14e5dfc24c1 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/index.ts @@ -0,0 +1,300 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { CassandraClusterArgs } from "./cassandraCluster"; +export type CassandraCluster = import("./cassandraCluster").CassandraCluster; +export const CassandraCluster: typeof import("./cassandraCluster").CassandraCluster = null as any; +utilities.lazyLoad(exports, ["CassandraCluster"], () => require("./cassandraCluster")); + +export { CassandraDataCenterArgs } from "./cassandraDataCenter"; +export type CassandraDataCenter = import("./cassandraDataCenter").CassandraDataCenter; +export const CassandraDataCenter: typeof import("./cassandraDataCenter").CassandraDataCenter = null as any; +utilities.lazyLoad(exports, ["CassandraDataCenter"], () => require("./cassandraDataCenter")); + +export { CassandraResourceCassandraKeyspaceArgs } from "./cassandraResourceCassandraKeyspace"; +export type CassandraResourceCassandraKeyspace = import("./cassandraResourceCassandraKeyspace").CassandraResourceCassandraKeyspace; +export const CassandraResourceCassandraKeyspace: typeof import("./cassandraResourceCassandraKeyspace").CassandraResourceCassandraKeyspace = null as any; +utilities.lazyLoad(exports, ["CassandraResourceCassandraKeyspace"], () => require("./cassandraResourceCassandraKeyspace")); + +export { CassandraResourceCassandraTableArgs } from "./cassandraResourceCassandraTable"; +export type CassandraResourceCassandraTable = import("./cassandraResourceCassandraTable").CassandraResourceCassandraTable; +export const CassandraResourceCassandraTable: typeof import("./cassandraResourceCassandraTable").CassandraResourceCassandraTable = null as any; +utilities.lazyLoad(exports, ["CassandraResourceCassandraTable"], () => require("./cassandraResourceCassandraTable")); + +export { DatabaseAccountArgs } from "./databaseAccount"; +export type DatabaseAccount = import("./databaseAccount").DatabaseAccount; +export const DatabaseAccount: typeof import("./databaseAccount").DatabaseAccount = null as any; +utilities.lazyLoad(exports, ["DatabaseAccount"], () => require("./databaseAccount")); + +export { GetCassandraClusterArgs, GetCassandraClusterResult, GetCassandraClusterOutputArgs } from "./getCassandraCluster"; +export const getCassandraCluster: typeof import("./getCassandraCluster").getCassandraCluster = null as any; +export const getCassandraClusterOutput: typeof import("./getCassandraCluster").getCassandraClusterOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraCluster","getCassandraClusterOutput"], () => require("./getCassandraCluster")); + +export { GetCassandraDataCenterArgs, GetCassandraDataCenterResult, GetCassandraDataCenterOutputArgs } from "./getCassandraDataCenter"; +export const getCassandraDataCenter: typeof import("./getCassandraDataCenter").getCassandraDataCenter = null as any; +export const getCassandraDataCenterOutput: typeof import("./getCassandraDataCenter").getCassandraDataCenterOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraDataCenter","getCassandraDataCenterOutput"], () => require("./getCassandraDataCenter")); + +export { GetCassandraResourceCassandraKeyspaceArgs, GetCassandraResourceCassandraKeyspaceResult, GetCassandraResourceCassandraKeyspaceOutputArgs } from "./getCassandraResourceCassandraKeyspace"; +export const getCassandraResourceCassandraKeyspace: typeof import("./getCassandraResourceCassandraKeyspace").getCassandraResourceCassandraKeyspace = null as any; +export const getCassandraResourceCassandraKeyspaceOutput: typeof import("./getCassandraResourceCassandraKeyspace").getCassandraResourceCassandraKeyspaceOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraResourceCassandraKeyspace","getCassandraResourceCassandraKeyspaceOutput"], () => require("./getCassandraResourceCassandraKeyspace")); + +export { GetCassandraResourceCassandraTableArgs, GetCassandraResourceCassandraTableResult, GetCassandraResourceCassandraTableOutputArgs } from "./getCassandraResourceCassandraTable"; +export const getCassandraResourceCassandraTable: typeof import("./getCassandraResourceCassandraTable").getCassandraResourceCassandraTable = null as any; +export const getCassandraResourceCassandraTableOutput: typeof import("./getCassandraResourceCassandraTable").getCassandraResourceCassandraTableOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraResourceCassandraTable","getCassandraResourceCassandraTableOutput"], () => require("./getCassandraResourceCassandraTable")); + +export { GetDatabaseAccountArgs, GetDatabaseAccountResult, GetDatabaseAccountOutputArgs } from "./getDatabaseAccount"; +export const getDatabaseAccount: typeof import("./getDatabaseAccount").getDatabaseAccount = null as any; +export const getDatabaseAccountOutput: typeof import("./getDatabaseAccount").getDatabaseAccountOutput = null as any; +utilities.lazyLoad(exports, ["getDatabaseAccount","getDatabaseAccountOutput"], () => require("./getDatabaseAccount")); + +export { GetGremlinResourceGremlinDatabaseArgs, GetGremlinResourceGremlinDatabaseResult, GetGremlinResourceGremlinDatabaseOutputArgs } from "./getGremlinResourceGremlinDatabase"; +export const getGremlinResourceGremlinDatabase: typeof import("./getGremlinResourceGremlinDatabase").getGremlinResourceGremlinDatabase = null as any; +export const getGremlinResourceGremlinDatabaseOutput: typeof import("./getGremlinResourceGremlinDatabase").getGremlinResourceGremlinDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getGremlinResourceGremlinDatabase","getGremlinResourceGremlinDatabaseOutput"], () => require("./getGremlinResourceGremlinDatabase")); + +export { GetGremlinResourceGremlinGraphArgs, GetGremlinResourceGremlinGraphResult, GetGremlinResourceGremlinGraphOutputArgs } from "./getGremlinResourceGremlinGraph"; +export const getGremlinResourceGremlinGraph: typeof import("./getGremlinResourceGremlinGraph").getGremlinResourceGremlinGraph = null as any; +export const getGremlinResourceGremlinGraphOutput: typeof import("./getGremlinResourceGremlinGraph").getGremlinResourceGremlinGraphOutput = null as any; +utilities.lazyLoad(exports, ["getGremlinResourceGremlinGraph","getGremlinResourceGremlinGraphOutput"], () => require("./getGremlinResourceGremlinGraph")); + +export { GetMongoDBResourceMongoDBCollectionArgs, GetMongoDBResourceMongoDBCollectionResult, GetMongoDBResourceMongoDBCollectionOutputArgs } from "./getMongoDBResourceMongoDBCollection"; +export const getMongoDBResourceMongoDBCollection: typeof import("./getMongoDBResourceMongoDBCollection").getMongoDBResourceMongoDBCollection = null as any; +export const getMongoDBResourceMongoDBCollectionOutput: typeof import("./getMongoDBResourceMongoDBCollection").getMongoDBResourceMongoDBCollectionOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoDBCollection","getMongoDBResourceMongoDBCollectionOutput"], () => require("./getMongoDBResourceMongoDBCollection")); + +export { GetMongoDBResourceMongoDBDatabaseArgs, GetMongoDBResourceMongoDBDatabaseResult, GetMongoDBResourceMongoDBDatabaseOutputArgs } from "./getMongoDBResourceMongoDBDatabase"; +export const getMongoDBResourceMongoDBDatabase: typeof import("./getMongoDBResourceMongoDBDatabase").getMongoDBResourceMongoDBDatabase = null as any; +export const getMongoDBResourceMongoDBDatabaseOutput: typeof import("./getMongoDBResourceMongoDBDatabase").getMongoDBResourceMongoDBDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoDBDatabase","getMongoDBResourceMongoDBDatabaseOutput"], () => require("./getMongoDBResourceMongoDBDatabase")); + +export { GetMongoDBResourceMongoRoleDefinitionArgs, GetMongoDBResourceMongoRoleDefinitionResult, GetMongoDBResourceMongoRoleDefinitionOutputArgs } from "./getMongoDBResourceMongoRoleDefinition"; +export const getMongoDBResourceMongoRoleDefinition: typeof import("./getMongoDBResourceMongoRoleDefinition").getMongoDBResourceMongoRoleDefinition = null as any; +export const getMongoDBResourceMongoRoleDefinitionOutput: typeof import("./getMongoDBResourceMongoRoleDefinition").getMongoDBResourceMongoRoleDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoRoleDefinition","getMongoDBResourceMongoRoleDefinitionOutput"], () => require("./getMongoDBResourceMongoRoleDefinition")); + +export { GetMongoDBResourceMongoUserDefinitionArgs, GetMongoDBResourceMongoUserDefinitionResult, GetMongoDBResourceMongoUserDefinitionOutputArgs } from "./getMongoDBResourceMongoUserDefinition"; +export const getMongoDBResourceMongoUserDefinition: typeof import("./getMongoDBResourceMongoUserDefinition").getMongoDBResourceMongoUserDefinition = null as any; +export const getMongoDBResourceMongoUserDefinitionOutput: typeof import("./getMongoDBResourceMongoUserDefinition").getMongoDBResourceMongoUserDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoUserDefinition","getMongoDBResourceMongoUserDefinitionOutput"], () => require("./getMongoDBResourceMongoUserDefinition")); + +export { GetNotebookWorkspaceArgs, GetNotebookWorkspaceResult, GetNotebookWorkspaceOutputArgs } from "./getNotebookWorkspace"; +export const getNotebookWorkspace: typeof import("./getNotebookWorkspace").getNotebookWorkspace = null as any; +export const getNotebookWorkspaceOutput: typeof import("./getNotebookWorkspace").getNotebookWorkspaceOutput = null as any; +utilities.lazyLoad(exports, ["getNotebookWorkspace","getNotebookWorkspaceOutput"], () => require("./getNotebookWorkspace")); + +export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection"; +export const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection = null as any; +export const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnection","getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection")); + +export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; +export const getService: typeof import("./getService").getService = null as any; +export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; +utilities.lazyLoad(exports, ["getService","getServiceOutput"], () => require("./getService")); + +export { GetSqlResourceSqlContainerArgs, GetSqlResourceSqlContainerResult, GetSqlResourceSqlContainerOutputArgs } from "./getSqlResourceSqlContainer"; +export const getSqlResourceSqlContainer: typeof import("./getSqlResourceSqlContainer").getSqlResourceSqlContainer = null as any; +export const getSqlResourceSqlContainerOutput: typeof import("./getSqlResourceSqlContainer").getSqlResourceSqlContainerOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlContainer","getSqlResourceSqlContainerOutput"], () => require("./getSqlResourceSqlContainer")); + +export { GetSqlResourceSqlDatabaseArgs, GetSqlResourceSqlDatabaseResult, GetSqlResourceSqlDatabaseOutputArgs } from "./getSqlResourceSqlDatabase"; +export const getSqlResourceSqlDatabase: typeof import("./getSqlResourceSqlDatabase").getSqlResourceSqlDatabase = null as any; +export const getSqlResourceSqlDatabaseOutput: typeof import("./getSqlResourceSqlDatabase").getSqlResourceSqlDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlDatabase","getSqlResourceSqlDatabaseOutput"], () => require("./getSqlResourceSqlDatabase")); + +export { GetSqlResourceSqlRoleAssignmentArgs, GetSqlResourceSqlRoleAssignmentResult, GetSqlResourceSqlRoleAssignmentOutputArgs } from "./getSqlResourceSqlRoleAssignment"; +export const getSqlResourceSqlRoleAssignment: typeof import("./getSqlResourceSqlRoleAssignment").getSqlResourceSqlRoleAssignment = null as any; +export const getSqlResourceSqlRoleAssignmentOutput: typeof import("./getSqlResourceSqlRoleAssignment").getSqlResourceSqlRoleAssignmentOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlRoleAssignment","getSqlResourceSqlRoleAssignmentOutput"], () => require("./getSqlResourceSqlRoleAssignment")); + +export { GetSqlResourceSqlRoleDefinitionArgs, GetSqlResourceSqlRoleDefinitionResult, GetSqlResourceSqlRoleDefinitionOutputArgs } from "./getSqlResourceSqlRoleDefinition"; +export const getSqlResourceSqlRoleDefinition: typeof import("./getSqlResourceSqlRoleDefinition").getSqlResourceSqlRoleDefinition = null as any; +export const getSqlResourceSqlRoleDefinitionOutput: typeof import("./getSqlResourceSqlRoleDefinition").getSqlResourceSqlRoleDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlRoleDefinition","getSqlResourceSqlRoleDefinitionOutput"], () => require("./getSqlResourceSqlRoleDefinition")); + +export { GetSqlResourceSqlStoredProcedureArgs, GetSqlResourceSqlStoredProcedureResult, GetSqlResourceSqlStoredProcedureOutputArgs } from "./getSqlResourceSqlStoredProcedure"; +export const getSqlResourceSqlStoredProcedure: typeof import("./getSqlResourceSqlStoredProcedure").getSqlResourceSqlStoredProcedure = null as any; +export const getSqlResourceSqlStoredProcedureOutput: typeof import("./getSqlResourceSqlStoredProcedure").getSqlResourceSqlStoredProcedureOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlStoredProcedure","getSqlResourceSqlStoredProcedureOutput"], () => require("./getSqlResourceSqlStoredProcedure")); + +export { GetSqlResourceSqlTriggerArgs, GetSqlResourceSqlTriggerResult, GetSqlResourceSqlTriggerOutputArgs } from "./getSqlResourceSqlTrigger"; +export const getSqlResourceSqlTrigger: typeof import("./getSqlResourceSqlTrigger").getSqlResourceSqlTrigger = null as any; +export const getSqlResourceSqlTriggerOutput: typeof import("./getSqlResourceSqlTrigger").getSqlResourceSqlTriggerOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlTrigger","getSqlResourceSqlTriggerOutput"], () => require("./getSqlResourceSqlTrigger")); + +export { GetSqlResourceSqlUserDefinedFunctionArgs, GetSqlResourceSqlUserDefinedFunctionResult, GetSqlResourceSqlUserDefinedFunctionOutputArgs } from "./getSqlResourceSqlUserDefinedFunction"; +export const getSqlResourceSqlUserDefinedFunction: typeof import("./getSqlResourceSqlUserDefinedFunction").getSqlResourceSqlUserDefinedFunction = null as any; +export const getSqlResourceSqlUserDefinedFunctionOutput: typeof import("./getSqlResourceSqlUserDefinedFunction").getSqlResourceSqlUserDefinedFunctionOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlUserDefinedFunction","getSqlResourceSqlUserDefinedFunctionOutput"], () => require("./getSqlResourceSqlUserDefinedFunction")); + +export { GetTableResourceTableArgs, GetTableResourceTableResult, GetTableResourceTableOutputArgs } from "./getTableResourceTable"; +export const getTableResourceTable: typeof import("./getTableResourceTable").getTableResourceTable = null as any; +export const getTableResourceTableOutput: typeof import("./getTableResourceTable").getTableResourceTableOutput = null as any; +utilities.lazyLoad(exports, ["getTableResourceTable","getTableResourceTableOutput"], () => require("./getTableResourceTable")); + +export { GremlinResourceGremlinDatabaseArgs } from "./gremlinResourceGremlinDatabase"; +export type GremlinResourceGremlinDatabase = import("./gremlinResourceGremlinDatabase").GremlinResourceGremlinDatabase; +export const GremlinResourceGremlinDatabase: typeof import("./gremlinResourceGremlinDatabase").GremlinResourceGremlinDatabase = null as any; +utilities.lazyLoad(exports, ["GremlinResourceGremlinDatabase"], () => require("./gremlinResourceGremlinDatabase")); + +export { GremlinResourceGremlinGraphArgs } from "./gremlinResourceGremlinGraph"; +export type GremlinResourceGremlinGraph = import("./gremlinResourceGremlinGraph").GremlinResourceGremlinGraph; +export const GremlinResourceGremlinGraph: typeof import("./gremlinResourceGremlinGraph").GremlinResourceGremlinGraph = null as any; +utilities.lazyLoad(exports, ["GremlinResourceGremlinGraph"], () => require("./gremlinResourceGremlinGraph")); + +export { ListDatabaseAccountConnectionStringsArgs, ListDatabaseAccountConnectionStringsResult, ListDatabaseAccountConnectionStringsOutputArgs } from "./listDatabaseAccountConnectionStrings"; +export const listDatabaseAccountConnectionStrings: typeof import("./listDatabaseAccountConnectionStrings").listDatabaseAccountConnectionStrings = null as any; +export const listDatabaseAccountConnectionStringsOutput: typeof import("./listDatabaseAccountConnectionStrings").listDatabaseAccountConnectionStringsOutput = null as any; +utilities.lazyLoad(exports, ["listDatabaseAccountConnectionStrings","listDatabaseAccountConnectionStringsOutput"], () => require("./listDatabaseAccountConnectionStrings")); + +export { ListDatabaseAccountKeysArgs, ListDatabaseAccountKeysResult, ListDatabaseAccountKeysOutputArgs } from "./listDatabaseAccountKeys"; +export const listDatabaseAccountKeys: typeof import("./listDatabaseAccountKeys").listDatabaseAccountKeys = null as any; +export const listDatabaseAccountKeysOutput: typeof import("./listDatabaseAccountKeys").listDatabaseAccountKeysOutput = null as any; +utilities.lazyLoad(exports, ["listDatabaseAccountKeys","listDatabaseAccountKeysOutput"], () => require("./listDatabaseAccountKeys")); + +export { ListNotebookWorkspaceConnectionInfoArgs, ListNotebookWorkspaceConnectionInfoResult, ListNotebookWorkspaceConnectionInfoOutputArgs } from "./listNotebookWorkspaceConnectionInfo"; +export const listNotebookWorkspaceConnectionInfo: typeof import("./listNotebookWorkspaceConnectionInfo").listNotebookWorkspaceConnectionInfo = null as any; +export const listNotebookWorkspaceConnectionInfoOutput: typeof import("./listNotebookWorkspaceConnectionInfo").listNotebookWorkspaceConnectionInfoOutput = null as any; +utilities.lazyLoad(exports, ["listNotebookWorkspaceConnectionInfo","listNotebookWorkspaceConnectionInfoOutput"], () => require("./listNotebookWorkspaceConnectionInfo")); + +export { MongoDBResourceMongoDBCollectionArgs } from "./mongoDBResourceMongoDBCollection"; +export type MongoDBResourceMongoDBCollection = import("./mongoDBResourceMongoDBCollection").MongoDBResourceMongoDBCollection; +export const MongoDBResourceMongoDBCollection: typeof import("./mongoDBResourceMongoDBCollection").MongoDBResourceMongoDBCollection = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoDBCollection"], () => require("./mongoDBResourceMongoDBCollection")); + +export { MongoDBResourceMongoDBDatabaseArgs } from "./mongoDBResourceMongoDBDatabase"; +export type MongoDBResourceMongoDBDatabase = import("./mongoDBResourceMongoDBDatabase").MongoDBResourceMongoDBDatabase; +export const MongoDBResourceMongoDBDatabase: typeof import("./mongoDBResourceMongoDBDatabase").MongoDBResourceMongoDBDatabase = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoDBDatabase"], () => require("./mongoDBResourceMongoDBDatabase")); + +export { MongoDBResourceMongoRoleDefinitionArgs } from "./mongoDBResourceMongoRoleDefinition"; +export type MongoDBResourceMongoRoleDefinition = import("./mongoDBResourceMongoRoleDefinition").MongoDBResourceMongoRoleDefinition; +export const MongoDBResourceMongoRoleDefinition: typeof import("./mongoDBResourceMongoRoleDefinition").MongoDBResourceMongoRoleDefinition = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoRoleDefinition"], () => require("./mongoDBResourceMongoRoleDefinition")); + +export { MongoDBResourceMongoUserDefinitionArgs } from "./mongoDBResourceMongoUserDefinition"; +export type MongoDBResourceMongoUserDefinition = import("./mongoDBResourceMongoUserDefinition").MongoDBResourceMongoUserDefinition; +export const MongoDBResourceMongoUserDefinition: typeof import("./mongoDBResourceMongoUserDefinition").MongoDBResourceMongoUserDefinition = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoUserDefinition"], () => require("./mongoDBResourceMongoUserDefinition")); + +export { NotebookWorkspaceArgs } from "./notebookWorkspace"; +export type NotebookWorkspace = import("./notebookWorkspace").NotebookWorkspace; +export const NotebookWorkspace: typeof import("./notebookWorkspace").NotebookWorkspace = null as any; +utilities.lazyLoad(exports, ["NotebookWorkspace"], () => require("./notebookWorkspace")); + +export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; +export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; +export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection")); + +export { ServiceArgs } from "./service"; +export type Service = import("./service").Service; +export const Service: typeof import("./service").Service = null as any; +utilities.lazyLoad(exports, ["Service"], () => require("./service")); + +export { SqlResourceSqlContainerArgs } from "./sqlResourceSqlContainer"; +export type SqlResourceSqlContainer = import("./sqlResourceSqlContainer").SqlResourceSqlContainer; +export const SqlResourceSqlContainer: typeof import("./sqlResourceSqlContainer").SqlResourceSqlContainer = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlContainer"], () => require("./sqlResourceSqlContainer")); + +export { SqlResourceSqlDatabaseArgs } from "./sqlResourceSqlDatabase"; +export type SqlResourceSqlDatabase = import("./sqlResourceSqlDatabase").SqlResourceSqlDatabase; +export const SqlResourceSqlDatabase: typeof import("./sqlResourceSqlDatabase").SqlResourceSqlDatabase = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlDatabase"], () => require("./sqlResourceSqlDatabase")); + +export { SqlResourceSqlRoleAssignmentArgs } from "./sqlResourceSqlRoleAssignment"; +export type SqlResourceSqlRoleAssignment = import("./sqlResourceSqlRoleAssignment").SqlResourceSqlRoleAssignment; +export const SqlResourceSqlRoleAssignment: typeof import("./sqlResourceSqlRoleAssignment").SqlResourceSqlRoleAssignment = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlRoleAssignment"], () => require("./sqlResourceSqlRoleAssignment")); + +export { SqlResourceSqlRoleDefinitionArgs } from "./sqlResourceSqlRoleDefinition"; +export type SqlResourceSqlRoleDefinition = import("./sqlResourceSqlRoleDefinition").SqlResourceSqlRoleDefinition; +export const SqlResourceSqlRoleDefinition: typeof import("./sqlResourceSqlRoleDefinition").SqlResourceSqlRoleDefinition = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlRoleDefinition"], () => require("./sqlResourceSqlRoleDefinition")); + +export { SqlResourceSqlStoredProcedureArgs } from "./sqlResourceSqlStoredProcedure"; +export type SqlResourceSqlStoredProcedure = import("./sqlResourceSqlStoredProcedure").SqlResourceSqlStoredProcedure; +export const SqlResourceSqlStoredProcedure: typeof import("./sqlResourceSqlStoredProcedure").SqlResourceSqlStoredProcedure = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlStoredProcedure"], () => require("./sqlResourceSqlStoredProcedure")); + +export { SqlResourceSqlTriggerArgs } from "./sqlResourceSqlTrigger"; +export type SqlResourceSqlTrigger = import("./sqlResourceSqlTrigger").SqlResourceSqlTrigger; +export const SqlResourceSqlTrigger: typeof import("./sqlResourceSqlTrigger").SqlResourceSqlTrigger = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlTrigger"], () => require("./sqlResourceSqlTrigger")); + +export { SqlResourceSqlUserDefinedFunctionArgs } from "./sqlResourceSqlUserDefinedFunction"; +export type SqlResourceSqlUserDefinedFunction = import("./sqlResourceSqlUserDefinedFunction").SqlResourceSqlUserDefinedFunction; +export const SqlResourceSqlUserDefinedFunction: typeof import("./sqlResourceSqlUserDefinedFunction").SqlResourceSqlUserDefinedFunction = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlUserDefinedFunction"], () => require("./sqlResourceSqlUserDefinedFunction")); + +export { TableResourceTableArgs } from "./tableResourceTable"; +export type TableResourceTable = import("./tableResourceTable").TableResourceTable; +export const TableResourceTable: typeof import("./tableResourceTable").TableResourceTable = null as any; +utilities.lazyLoad(exports, ["TableResourceTable"], () => require("./tableResourceTable")); + + +// Export enums: +export * from "../../types/enums/documentdb/v20230915"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:documentdb/v20230915:CassandraCluster": + return new CassandraCluster(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:CassandraDataCenter": + return new CassandraDataCenter(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace": + return new CassandraResourceCassandraKeyspace(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:CassandraResourceCassandraTable": + return new CassandraResourceCassandraTable(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:DatabaseAccount": + return new DatabaseAccount(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase": + return new GremlinResourceGremlinDatabase(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph": + return new GremlinResourceGremlinGraph(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection": + return new MongoDBResourceMongoDBCollection(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase": + return new MongoDBResourceMongoDBDatabase(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition": + return new MongoDBResourceMongoRoleDefinition(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition": + return new MongoDBResourceMongoUserDefinition(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:NotebookWorkspace": + return new NotebookWorkspace(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:Service": + return new Service(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlContainer": + return new SqlResourceSqlContainer(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlDatabase": + return new SqlResourceSqlDatabase(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment": + return new SqlResourceSqlRoleAssignment(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition": + return new SqlResourceSqlRoleDefinition(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure": + return new SqlResourceSqlStoredProcedure(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlTrigger": + return new SqlResourceSqlTrigger(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction": + return new SqlResourceSqlUserDefinedFunction(name, undefined, { urn }) + case "azure-native:documentdb/v20230915:TableResourceTable": + return new TableResourceTable(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "documentdb/v20230915", _module) diff --git a/sdk/nodejs/documentdb/v20230915/listDatabaseAccountConnectionStrings.ts b/sdk/nodejs/documentdb/v20230915/listDatabaseAccountConnectionStrings.ts new file mode 100644 index 000000000000..d7d6e39a2e8e --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/listDatabaseAccountConnectionStrings.ts @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Lists the connection strings for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountConnectionStrings(args: ListDatabaseAccountConnectionStringsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:listDatabaseAccountConnectionStrings", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListDatabaseAccountConnectionStringsArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The connection strings for the given database account. + */ +export interface ListDatabaseAccountConnectionStringsResult { + /** + * An array that contains the connection strings for the Cosmos DB account. + */ + readonly connectionStrings?: outputs.documentdb.v20230915.DatabaseAccountConnectionStringResponse[]; +} +/** + * Lists the connection strings for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountConnectionStringsOutput(args: ListDatabaseAccountConnectionStringsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listDatabaseAccountConnectionStrings(a, opts)) +} + +export interface ListDatabaseAccountConnectionStringsOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/listDatabaseAccountKeys.ts b/sdk/nodejs/documentdb/v20230915/listDatabaseAccountKeys.ts new file mode 100644 index 000000000000..db75e9ea3b09 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/listDatabaseAccountKeys.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Lists the access keys for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountKeys(args: ListDatabaseAccountKeysArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:listDatabaseAccountKeys", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListDatabaseAccountKeysArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The access keys for the given database account. + */ +export interface ListDatabaseAccountKeysResult { + /** + * Base 64 encoded value of the primary read-write key. + */ + readonly primaryMasterKey: string; + /** + * Base 64 encoded value of the primary read-only key. + */ + readonly primaryReadonlyMasterKey: string; + /** + * Base 64 encoded value of the secondary read-write key. + */ + readonly secondaryMasterKey: string; + /** + * Base 64 encoded value of the secondary read-only key. + */ + readonly secondaryReadonlyMasterKey: string; +} +/** + * Lists the access keys for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountKeysOutput(args: ListDatabaseAccountKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listDatabaseAccountKeys(a, opts)) +} + +export interface ListDatabaseAccountKeysOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/listNotebookWorkspaceConnectionInfo.ts b/sdk/nodejs/documentdb/v20230915/listNotebookWorkspaceConnectionInfo.ts new file mode 100644 index 000000000000..bb689aa93435 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/listNotebookWorkspaceConnectionInfo.ts @@ -0,0 +1,68 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Retrieves the connection info for the notebook workspace + */ +export function listNotebookWorkspaceConnectionInfo(args: ListNotebookWorkspaceConnectionInfoArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915:listNotebookWorkspaceConnectionInfo", { + "accountName": args.accountName, + "notebookWorkspaceName": args.notebookWorkspaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListNotebookWorkspaceConnectionInfoArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The connection info for the given notebook workspace + */ +export interface ListNotebookWorkspaceConnectionInfoResult { + /** + * Specifies auth token used for connecting to Notebook server (uses token-based auth). + */ + readonly authToken: string; + /** + * Specifies the endpoint of Notebook server. + */ + readonly notebookServerEndpoint: string; +} +/** + * Retrieves the connection info for the notebook workspace + */ +export function listNotebookWorkspaceConnectionInfoOutput(args: ListNotebookWorkspaceConnectionInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listNotebookWorkspaceConnectionInfo(a, opts)) +} + +export interface ListNotebookWorkspaceConnectionInfoOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoDBCollection.ts new file mode 100644 index 000000000000..f218b875e792 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoDBCollection.ts @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB MongoDB collection. + */ +export class MongoDBResourceMongoDBCollection extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoDBCollection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoDBCollection { + return new MongoDBResourceMongoDBCollection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoDBCollection. 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 MongoDBResourceMongoDBCollection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoDBCollection.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoDBCollection 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: MongoDBResourceMongoDBCollectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["collectionName"] = args ? args.collectionName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoDBCollection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoDBCollection resource. + */ +export interface MongoDBResourceMongoDBCollectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB collection name. + */ + collectionName?: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a MongoDB collection + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoDBDatabase.ts new file mode 100644 index 000000000000..7429207c1c75 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoDBDatabase.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB MongoDB database. + */ +export class MongoDBResourceMongoDBDatabase extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoDBDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoDBDatabase { + return new MongoDBResourceMongoDBDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoDBDatabase. 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 MongoDBResourceMongoDBDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoDBDatabase.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoDBDatabase 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: MongoDBResourceMongoDBDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoDBDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoDBDatabase resource. + */ +export interface MongoDBResourceMongoDBDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a MongoDB database + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoRoleDefinition.ts new file mode 100644 index 000000000000..e16d4f872f5b --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoRoleDefinition.ts @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Mongo Role Definition. + */ +export class MongoDBResourceMongoRoleDefinition extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoRoleDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoRoleDefinition { + return new MongoDBResourceMongoRoleDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoRoleDefinition. 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 MongoDBResourceMongoRoleDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoRoleDefinition.__pulumiType; + } + + /** + * The database name for which access is being granted for this Role Definition. + */ + public readonly databaseName!: pulumi.Output; + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + */ + public readonly privileges!: pulumi.Output; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + public readonly roleName!: pulumi.Output; + /** + * The set of roles inherited by this Role Definition. + */ + public readonly roles!: pulumi.Output; + /** + * The type of Azure resource. + */ + public readonly type!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoRoleDefinition 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: MongoDBResourceMongoRoleDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["mongoRoleDefinitionId"] = args ? args.mongoRoleDefinitionId : undefined; + resourceInputs["privileges"] = args ? args.privileges : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleName"] = args ? args.roleName : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["name"] = undefined /*out*/; + } else { + resourceInputs["databaseName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privileges"] = undefined /*out*/; + resourceInputs["roleName"] = undefined /*out*/; + resourceInputs["roles"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoRoleDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoRoleDefinition resource. + */ +export interface MongoDBResourceMongoRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The database name for which access is being granted for this Role Definition. + */ + databaseName?: pulumi.Input; + /** + * The ID for the Role Definition {dbName.roleName}. + */ + mongoRoleDefinitionId?: pulumi.Input; + /** + * A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + */ + privileges?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + roleName?: pulumi.Input; + /** + * The set of roles inherited by this Role Definition. + */ + roles?: pulumi.Input[]>; + /** + * Indicates whether the Role Definition was built-in or user created. + */ + type?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoUserDefinition.ts b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoUserDefinition.ts new file mode 100644 index 000000000000..41641c4745c9 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/mongoDBResourceMongoUserDefinition.ts @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB User Definition + */ +export class MongoDBResourceMongoUserDefinition extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoUserDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoUserDefinition { + return new MongoDBResourceMongoUserDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoUserDefinition. 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 MongoDBResourceMongoUserDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoUserDefinition.__pulumiType; + } + + /** + * A custom definition for the USer Definition. + */ + public readonly customData!: pulumi.Output; + /** + * The database name for which access is being granted for this User Definition. + */ + public readonly databaseName!: pulumi.Output; + /** + * The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + */ + public readonly mechanisms!: pulumi.Output; + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The password for User Definition. Response does not contain user password. + */ + public readonly password!: pulumi.Output; + /** + * The set of roles inherited by the User Definition. + */ + public readonly roles!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The user name for User Definition. + */ + public readonly userName!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoUserDefinition 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: MongoDBResourceMongoUserDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["customData"] = args ? args.customData : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["mechanisms"] = args ? args.mechanisms : undefined; + resourceInputs["mongoUserDefinitionId"] = args ? args.mongoUserDefinitionId : undefined; + resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["userName"] = args ? args.userName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["customData"] = undefined /*out*/; + resourceInputs["databaseName"] = undefined /*out*/; + resourceInputs["mechanisms"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["password"] = undefined /*out*/; + resourceInputs["roles"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["userName"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoUserDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoUserDefinition resource. + */ +export interface MongoDBResourceMongoUserDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * A custom definition for the USer Definition. + */ + customData?: pulumi.Input; + /** + * The database name for which access is being granted for this User Definition. + */ + databaseName?: pulumi.Input; + /** + * The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + */ + mechanisms?: pulumi.Input; + /** + * The ID for the User Definition {dbName.userName}. + */ + mongoUserDefinitionId?: pulumi.Input; + /** + * The password for User Definition. Response does not contain user password. + */ + password?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The set of roles inherited by the User Definition. + */ + roles?: pulumi.Input[]>; + /** + * The user name for User Definition. + */ + userName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/notebookWorkspace.ts b/sdk/nodejs/documentdb/v20230915/notebookWorkspace.ts new file mode 100644 index 000000000000..316c8fef0ce6 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/notebookWorkspace.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * A notebook workspace resource + */ +export class NotebookWorkspace extends pulumi.CustomResource { + /** + * Get an existing NotebookWorkspace 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NotebookWorkspace { + return new NotebookWorkspace(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:NotebookWorkspace'; + + /** + * Returns true if the given object is an instance of NotebookWorkspace. 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 NotebookWorkspace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === NotebookWorkspace.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Specifies the endpoint of Notebook server. + */ + public /*out*/ readonly notebookServerEndpoint!: pulumi.Output; + /** + * Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a NotebookWorkspace 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: NotebookWorkspaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["notebookWorkspaceName"] = args ? args.notebookWorkspaceName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["notebookServerEndpoint"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["notebookServerEndpoint"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:NotebookWorkspace" }, { type: "azure-native:documentdb/v20190801:NotebookWorkspace" }, { type: "azure-native:documentdb/v20191212:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200301:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200401:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200601preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200901:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210401preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210615:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210701preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220215preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230915preview:NotebookWorkspace" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(NotebookWorkspace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a NotebookWorkspace resource. + */ +export interface NotebookWorkspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/privateEndpointConnection.ts b/sdk/nodejs/documentdb/v20230915/privateEndpointConnection.ts new file mode 100644 index 000000000000..f1545c8bf887 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/privateEndpointConnection.ts @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A private endpoint connection + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. 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 PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * Group id of the private endpoint. + */ + public readonly groupId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Private endpoint which the connection belongs to. + */ + public readonly privateEndpoint!: pulumi.Output; + /** + * Connection State of the Private Endpoint Connection. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * Provisioning state of the private endpoint. + */ + public readonly provisioningState!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection 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: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["groupId"] = args ? args.groupId : undefined; + resourceInputs["privateEndpoint"] = args ? args.privateEndpoint : undefined; + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["provisioningState"] = args ? args.provisioningState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["groupId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20190801preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210615:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210701preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220215preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230915preview:PrivateEndpointConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Group id of the private endpoint. + */ + groupId?: pulumi.Input; + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: pulumi.Input; + /** + * Provisioning state of the private endpoint. + */ + provisioningState?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/service.ts b/sdk/nodejs/documentdb/v20230915/service.ts new file mode 100644 index 000000000000..9f564e5da307 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/service.ts @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Properties for the database account. + */ +export class Service extends pulumi.CustomResource { + /** + * Get an existing Service 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Service { + return new Service(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:Service'; + + /** + * Returns true if the given object is an instance of Service. 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 Service { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Service.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Services response resource. + */ + public /*out*/ readonly properties!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Service 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: ServiceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["instanceCount"] = args ? args.instanceCount : undefined; + resourceInputs["instanceSize"] = args ? args.instanceSize : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["serviceType"] = args ? args.serviceType : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:Service" }, { type: "azure-native:documentdb/v20210401preview:Service" }, { type: "azure-native:documentdb/v20210701preview:Service" }, { type: "azure-native:documentdb/v20211015preview:Service" }, { type: "azure-native:documentdb/v20211115preview:Service" }, { type: "azure-native:documentdb/v20220215preview:Service" }, { type: "azure-native:documentdb/v20220515:Service" }, { type: "azure-native:documentdb/v20220515preview:Service" }, { type: "azure-native:documentdb/v20220815:Service" }, { type: "azure-native:documentdb/v20220815preview:Service" }, { type: "azure-native:documentdb/v20221115:Service" }, { type: "azure-native:documentdb/v20221115preview:Service" }, { type: "azure-native:documentdb/v20230301preview:Service" }, { type: "azure-native:documentdb/v20230315:Service" }, { type: "azure-native:documentdb/v20230315preview:Service" }, { type: "azure-native:documentdb/v20230415:Service" }, { type: "azure-native:documentdb/v20230915preview:Service" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Service.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Service resource. + */ +export interface ServiceArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Instance count for the service. + */ + instanceCount?: pulumi.Input; + /** + * Instance type for the service. + */ + instanceSize?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB service name. + */ + serviceName?: pulumi.Input; + /** + * ServiceType for the service. + */ + serviceType?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlContainer.ts new file mode 100644 index 000000000000..9f3101273aa4 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlContainer.ts @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB container. + */ +export class SqlResourceSqlContainer extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlContainer 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlContainer { + return new SqlResourceSqlContainer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlContainer'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlContainer. 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 SqlResourceSqlContainer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlContainer.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlContainer 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: SqlResourceSqlContainerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? (args.resource ? pulumi.output(args.resource).apply(inputs.documentdb.v20230915.sqlContainerResourceArgsProvideDefaults) : undefined) : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlContainer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlContainer resource. + */ +export interface SqlResourceSqlContainerArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName?: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a container + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlDatabase.ts new file mode 100644 index 000000000000..cee35421b98e --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlDatabase.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB SQL database. + */ +export class SqlResourceSqlDatabase extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlDatabase { + return new SqlResourceSqlDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlDatabase'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlDatabase. 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 SqlResourceSqlDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlDatabase.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlDatabase 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: SqlResourceSqlDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlDatabase resource. + */ +export interface SqlResourceSqlDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a SQL database + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlRoleAssignment.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlRoleAssignment.ts new file mode 100644 index 000000000000..18a28150a597 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlRoleAssignment.ts @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * An Azure Cosmos DB Role Assignment + */ +export class SqlResourceSqlRoleAssignment extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlRoleAssignment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlRoleAssignment { + return new SqlResourceSqlRoleAssignment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlRoleAssignment. 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 SqlResourceSqlRoleAssignment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlRoleAssignment.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + */ + public readonly principalId!: pulumi.Output; + /** + * The unique identifier for the associated Role Definition. + */ + public readonly roleDefinitionId!: pulumi.Output; + /** + * The data plane resource path for which access is being granted through this Role Assignment. + */ + public readonly scope!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlRoleAssignment 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: SqlResourceSqlRoleAssignmentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["principalId"] = args ? args.principalId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleAssignmentId"] = args ? args.roleAssignmentId : undefined; + resourceInputs["roleDefinitionId"] = args ? args.roleDefinitionId : undefined; + resourceInputs["scope"] = args ? args.scope : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["principalId"] = undefined /*out*/; + resourceInputs["roleDefinitionId"] = undefined /*out*/; + resourceInputs["scope"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlRoleAssignment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlRoleAssignment resource. + */ +export interface SqlResourceSqlRoleAssignmentArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + */ + principalId?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Assignment. + */ + roleAssignmentId?: pulumi.Input; + /** + * The unique identifier for the associated Role Definition. + */ + roleDefinitionId?: pulumi.Input; + /** + * The data plane resource path for which access is being granted through this Role Assignment. + */ + scope?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlRoleDefinition.ts new file mode 100644 index 000000000000..5eac3344a462 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlRoleDefinition.ts @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB SQL Role Definition. + */ +export class SqlResourceSqlRoleDefinition extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlRoleDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlRoleDefinition { + return new SqlResourceSqlRoleDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlRoleDefinition. 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 SqlResourceSqlRoleDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlRoleDefinition.__pulumiType; + } + + /** + * A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + */ + public readonly assignableScopes!: pulumi.Output; + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The set of operations allowed through this Role Definition. + */ + public readonly permissions!: pulumi.Output; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + public readonly roleName!: pulumi.Output; + /** + * The type of Azure resource. + */ + public readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlRoleDefinition 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: SqlResourceSqlRoleDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["assignableScopes"] = args ? args.assignableScopes : undefined; + resourceInputs["permissions"] = args ? args.permissions : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleDefinitionId"] = args ? args.roleDefinitionId : undefined; + resourceInputs["roleName"] = args ? args.roleName : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["name"] = undefined /*out*/; + } else { + resourceInputs["assignableScopes"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["permissions"] = undefined /*out*/; + resourceInputs["roleName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlRoleDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlRoleDefinition resource. + */ +export interface SqlResourceSqlRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + */ + assignableScopes?: pulumi.Input[]>; + /** + * The set of operations allowed through this Role Definition. + */ + permissions?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Definition. + */ + roleDefinitionId?: pulumi.Input; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + roleName?: pulumi.Input; + /** + * Indicates whether the Role Definition was built-in or user created. + */ + type?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlStoredProcedure.ts new file mode 100644 index 000000000000..2d8c71cd8606 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlStoredProcedure.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB storedProcedure. + */ +export class SqlResourceSqlStoredProcedure extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlStoredProcedure 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlStoredProcedure { + return new SqlResourceSqlStoredProcedure(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlStoredProcedure. 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 SqlResourceSqlStoredProcedure { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlStoredProcedure.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlStoredProcedure 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: SqlResourceSqlStoredProcedureArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.containerName === undefined) && !opts.urn) { + throw new Error("Missing required property 'containerName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["storedProcedureName"] = args ? args.storedProcedureName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlStoredProcedure.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlStoredProcedure resource. + */ +export interface SqlResourceSqlStoredProcedureArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a storedProcedure + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB storedProcedure name. + */ + storedProcedureName?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlTrigger.ts new file mode 100644 index 000000000000..514a7dccfd5b --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlTrigger.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB trigger. + */ +export class SqlResourceSqlTrigger extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlTrigger 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlTrigger { + return new SqlResourceSqlTrigger(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlTrigger'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlTrigger. 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 SqlResourceSqlTrigger { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlTrigger.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlTrigger 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: SqlResourceSqlTriggerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.containerName === undefined) && !opts.urn) { + throw new Error("Missing required property 'containerName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["triggerName"] = args ? args.triggerName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlTrigger.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlTrigger resource. + */ +export interface SqlResourceSqlTriggerArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a trigger + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Cosmos DB trigger name. + */ + triggerName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/sqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlUserDefinedFunction.ts new file mode 100644 index 000000000000..a23aec99c474 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/sqlResourceSqlUserDefinedFunction.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB userDefinedFunction. + */ +export class SqlResourceSqlUserDefinedFunction extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlUserDefinedFunction 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlUserDefinedFunction { + return new SqlResourceSqlUserDefinedFunction(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlUserDefinedFunction. 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 SqlResourceSqlUserDefinedFunction { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlUserDefinedFunction.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlUserDefinedFunction 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: SqlResourceSqlUserDefinedFunctionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.containerName === undefined) && !opts.urn) { + throw new Error("Missing required property 'containerName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["userDefinedFunctionName"] = args ? args.userDefinedFunctionName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlUserDefinedFunction.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlUserDefinedFunction resource. + */ +export interface SqlResourceSqlUserDefinedFunctionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a userDefinedFunction + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Cosmos DB userDefinedFunction name. + */ + userDefinedFunctionName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915/tableResourceTable.ts b/sdk/nodejs/documentdb/v20230915/tableResourceTable.ts new file mode 100644 index 000000000000..2c204cecbcee --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915/tableResourceTable.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Table. + */ +export class TableResourceTable extends pulumi.CustomResource { + /** + * Get an existing TableResourceTable 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TableResourceTable { + return new TableResourceTable(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915:TableResourceTable'; + + /** + * Returns true if the given object is an instance of TableResourceTable. 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 TableResourceTable { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === TableResourceTable.__pulumiType; + } + + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a TableResourceTable 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: TableResourceTableArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:TableResourceTable" }, { type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230315preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230415:TableResourceTable" }, { type: "azure-native:documentdb/v20230915preview:TableResourceTable" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(TableResourceTable.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a TableResourceTable resource. + */ +export interface TableResourceTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Table + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/cassandraCluster.ts b/sdk/nodejs/documentdb/v20230915preview/cassandraCluster.ts new file mode 100644 index 000000000000..789996a43ab4 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/cassandraCluster.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Representation of a managed Cassandra cluster. + */ +export class CassandraCluster extends pulumi.CustomResource { + /** + * Get an existing CassandraCluster 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraCluster { + return new CassandraCluster(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:CassandraCluster'; + + /** + * Returns true if the given object is an instance of CassandraCluster. 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 CassandraCluster { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraCluster.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of a managed Cassandra cluster. + */ + public readonly properties!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraCluster 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: CassandraClusterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraCluster" }, { type: "azure-native:documentdb/v20210301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210401preview:CassandraCluster" }, { type: "azure-native:documentdb/v20210701preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211015:CassandraCluster" }, { type: "azure-native:documentdb/v20211015preview:CassandraCluster" }, { type: "azure-native:documentdb/v20211115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220215preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220515:CassandraCluster" }, { type: "azure-native:documentdb/v20220515preview:CassandraCluster" }, { type: "azure-native:documentdb/v20220815:CassandraCluster" }, { type: "azure-native:documentdb/v20220815preview:CassandraCluster" }, { type: "azure-native:documentdb/v20221115:CassandraCluster" }, { type: "azure-native:documentdb/v20221115preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230301preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230315:CassandraCluster" }, { type: "azure-native:documentdb/v20230315preview:CassandraCluster" }, { type: "azure-native:documentdb/v20230415:CassandraCluster" }, { type: "azure-native:documentdb/v20230915:CassandraCluster" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraCluster.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraCluster resource. + */ +export interface CassandraClusterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * Properties of a managed Cassandra cluster. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/cassandraDataCenter.ts b/sdk/nodejs/documentdb/v20230915preview/cassandraDataCenter.ts new file mode 100644 index 000000000000..5692dd02dd5c --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/cassandraDataCenter.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A managed Cassandra data center. + */ +export class CassandraDataCenter extends pulumi.CustomResource { + /** + * Get an existing CassandraDataCenter 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraDataCenter { + return new CassandraDataCenter(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:CassandraDataCenter'; + + /** + * Returns true if the given object is an instance of CassandraDataCenter. 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 CassandraDataCenter { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraDataCenter.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of a managed Cassandra data center. + */ + public readonly properties!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraDataCenter 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: CassandraDataCenterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["dataCenterName"] = args ? args.dataCenterName : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210401preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20210701preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211015preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20211115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220215preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220515preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815:CassandraDataCenter" }, { type: "azure-native:documentdb/v20220815preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115:CassandraDataCenter" }, { type: "azure-native:documentdb/v20221115preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230301preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230315preview:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230415:CassandraDataCenter" }, { type: "azure-native:documentdb/v20230915:CassandraDataCenter" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraDataCenter.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraDataCenter resource. + */ +export interface CassandraDataCenterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: pulumi.Input; + /** + * Data center name in a managed Cassandra cluster. + */ + dataCenterName?: pulumi.Input; + /** + * Properties of a managed Cassandra data center. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraKeyspace.ts new file mode 100644 index 000000000000..caefe3912ef1 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraKeyspace.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Cassandra keyspace. + */ +export class CassandraResourceCassandraKeyspace extends pulumi.CustomResource { + /** + * Get an existing CassandraResourceCassandraKeyspace 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraResourceCassandraKeyspace { + return new CassandraResourceCassandraKeyspace(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace'; + + /** + * Returns true if the given object is an instance of CassandraResourceCassandraKeyspace. 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 CassandraResourceCassandraKeyspace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraResourceCassandraKeyspace.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraResourceCassandraKeyspace 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: CassandraResourceCassandraKeyspaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["keyspaceName"] = args ? args.keyspaceName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraResourceCassandraKeyspace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraResourceCassandraKeyspace resource. + */ +export interface CassandraResourceCassandraKeyspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Cassandra keyspace + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraTable.ts new file mode 100644 index 000000000000..55ce5b4d21f3 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraTable.ts @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Cassandra table. + */ +export class CassandraResourceCassandraTable extends pulumi.CustomResource { + /** + * Get an existing CassandraResourceCassandraTable 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraResourceCassandraTable { + return new CassandraResourceCassandraTable(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable'; + + /** + * Returns true if the given object is an instance of CassandraResourceCassandraTable. 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 CassandraResourceCassandraTable { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraResourceCassandraTable.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraResourceCassandraTable 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: CassandraResourceCassandraTableArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.keyspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'keyspaceName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["keyspaceName"] = args ? args.keyspaceName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20150408:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20151106:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160319:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20160331:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20190801:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20191212:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200301:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200401:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20200901:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210615:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230415:CassandraResourceCassandraTable" }, { type: "azure-native:documentdb/v20230915:CassandraResourceCassandraTable" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraResourceCassandraTable.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraResourceCassandraTable resource. + */ +export interface CassandraResourceCassandraTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Cassandra table + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraView.ts b/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraView.ts new file mode 100644 index 000000000000..283e4bb6ec10 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/cassandraResourceCassandraView.ts @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Cassandra view. + */ +export class CassandraResourceCassandraView extends pulumi.CustomResource { + /** + * Get an existing CassandraResourceCassandraView 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CassandraResourceCassandraView { + return new CassandraResourceCassandraView(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:CassandraResourceCassandraView'; + + /** + * Returns true if the given object is an instance of CassandraResourceCassandraView. 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 CassandraResourceCassandraView { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CassandraResourceCassandraView.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CassandraResourceCassandraView 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: CassandraResourceCassandraViewArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.keyspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'keyspaceName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["keyspaceName"] = args ? args.keyspaceName : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["viewName"] = args ? args.viewName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20210701preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211015preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20211115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220215preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220515preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20220815preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20221115preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230301preview:CassandraResourceCassandraView" }, { type: "azure-native:documentdb/v20230315preview:CassandraResourceCassandraView" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CassandraResourceCassandraView.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CassandraResourceCassandraView resource. + */ +export interface CassandraResourceCassandraViewArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Cassandra view + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Cosmos DB view name. + */ + viewName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/databaseAccount.ts b/sdk/nodejs/documentdb/v20230915preview/databaseAccount.ts new file mode 100644 index 000000000000..ecf617591fb2 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/databaseAccount.ts @@ -0,0 +1,540 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB database account. + */ +export class DatabaseAccount extends pulumi.CustomResource { + /** + * Get an existing DatabaseAccount 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DatabaseAccount { + return new DatabaseAccount(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:DatabaseAccount'; + + /** + * Returns true if the given object is an instance of DatabaseAccount. 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 DatabaseAccount { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DatabaseAccount.__pulumiType; + } + + /** + * Analytical storage specific properties. + */ + public readonly analyticalStorageConfiguration!: pulumi.Output; + /** + * API specific properties. + */ + public readonly apiProperties!: pulumi.Output; + /** + * The object representing the policy for taking backups on an account. + */ + public readonly backupPolicy!: pulumi.Output; + /** + * List of Cosmos DB capabilities for the account + */ + public readonly capabilities!: pulumi.Output; + /** + * The object that represents all properties related to capacity enforcement on an account. + */ + public readonly capacity!: pulumi.Output; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + public readonly connectorOffer!: pulumi.Output; + /** + * The consistency policy for the Cosmos DB database account. + */ + public readonly consistencyPolicy!: pulumi.Output; + /** + * The CORS policy for the Cosmos DB database account. + */ + public readonly cors!: pulumi.Output; + /** + * Enum to indicate the mode of account creation. + */ + public readonly createMode!: pulumi.Output; + /** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ + public readonly customerManagedKeyStatus!: pulumi.Output; + /** + * The offer type for the Cosmos DB database account. Default value: Standard. + */ + public readonly databaseAccountOfferType!: pulumi.Output; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + public readonly defaultIdentity!: pulumi.Output; + /** + * Enum to indicate default Priority Level of request for Priority Based Execution. + */ + public readonly defaultPriorityLevel!: pulumi.Output; + /** + * The Object representing the different Diagnostic log settings for the Cosmos DB Account. + */ + public readonly diagnosticLogSettings!: pulumi.Output; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + public readonly disableKeyBasedMetadataWriteAccess!: pulumi.Output; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + */ + public readonly disableLocalAuth!: pulumi.Output; + /** + * The connection endpoint for the Cosmos DB database account. + */ + public /*out*/ readonly documentEndpoint!: pulumi.Output; + /** + * Flag to indicate whether to enable storage analytics. + */ + public readonly enableAnalyticalStorage!: pulumi.Output; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + public readonly enableAutomaticFailover!: pulumi.Output; + /** + * Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + */ + public readonly enableBurstCapacity!: pulumi.Output; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + public readonly enableCassandraConnector!: pulumi.Output; + /** + * Flag to indicate whether Free Tier is enabled. + */ + public readonly enableFreeTier!: pulumi.Output; + /** + * Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + */ + public readonly enableMaterializedViews!: pulumi.Output; + /** + * Enables the account to write in multiple locations + */ + public readonly enableMultipleWriteLocations!: pulumi.Output; + /** + * Flag to indicate enabling/disabling of Partition Merge feature on the account + */ + public readonly enablePartitionMerge!: pulumi.Output; + /** + * Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + */ + public readonly enablePriorityBasedExecution!: pulumi.Output; + /** + * An array that contains the regions ordered by their failover priorities. + */ + public /*out*/ readonly failoverPolicies!: pulumi.Output; + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * A unique identifier assigned to the database account + */ + public /*out*/ readonly instanceId!: pulumi.Output; + /** + * List of IpRules. + */ + public readonly ipRules!: pulumi.Output; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + public readonly isVirtualNetworkFilterEnabled!: pulumi.Output; + /** + * The URI of the key vault + */ + public readonly keyVaultKeyUri!: pulumi.Output; + /** + * The object that represents the metadata for the Account Keys of the Cosmos DB account. + */ + public /*out*/ readonly keysMetadata!: pulumi.Output; + /** + * Indicates the type of database account. This can only be set at database account creation. + */ + public readonly kind!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * An array that contains all of the locations enabled for the Cosmos DB account. + */ + public readonly locations!: pulumi.Output; + /** + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + */ + public readonly minimalTlsVersion!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + public readonly networkAclBypass!: pulumi.Output; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + public readonly networkAclBypassResourceIds!: pulumi.Output; + /** + * List of Private Endpoint Connections configured for the Cosmos DB account. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Whether requests from Public Network are allowed + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * An array that contains of the read locations enabled for the Cosmos DB account. + */ + public /*out*/ readonly readLocations!: pulumi.Output; + /** + * Parameters to indicate the information about the restore. + */ + public readonly restoreParameters!: pulumi.Output; + /** + * The system meta data relating to this resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + public readonly virtualNetworkRules!: pulumi.Output; + /** + * An array that contains the write location for the Cosmos DB account. + */ + public /*out*/ readonly writeLocations!: pulumi.Output; + + /** + * Create a DatabaseAccount 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: DatabaseAccountArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.databaseAccountOfferType === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseAccountOfferType'"); + } + if ((!args || args.locations === undefined) && !opts.urn) { + throw new Error("Missing required property 'locations'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["analyticalStorageConfiguration"] = args ? args.analyticalStorageConfiguration : undefined; + resourceInputs["apiProperties"] = args ? args.apiProperties : undefined; + resourceInputs["backupPolicy"] = args ? args.backupPolicy : undefined; + resourceInputs["capabilities"] = args ? args.capabilities : undefined; + resourceInputs["capacity"] = args ? args.capacity : undefined; + resourceInputs["connectorOffer"] = args ? args.connectorOffer : undefined; + resourceInputs["consistencyPolicy"] = args ? args.consistencyPolicy : undefined; + resourceInputs["cors"] = args ? args.cors : undefined; + resourceInputs["createMode"] = (args ? args.createMode : undefined) ?? "Default"; + resourceInputs["customerManagedKeyStatus"] = args ? args.customerManagedKeyStatus : undefined; + resourceInputs["databaseAccountOfferType"] = args ? args.databaseAccountOfferType : undefined; + resourceInputs["defaultIdentity"] = args ? args.defaultIdentity : undefined; + resourceInputs["defaultPriorityLevel"] = args ? args.defaultPriorityLevel : undefined; + resourceInputs["diagnosticLogSettings"] = args ? args.diagnosticLogSettings : undefined; + resourceInputs["disableKeyBasedMetadataWriteAccess"] = args ? args.disableKeyBasedMetadataWriteAccess : undefined; + resourceInputs["disableLocalAuth"] = args ? args.disableLocalAuth : undefined; + resourceInputs["enableAnalyticalStorage"] = args ? args.enableAnalyticalStorage : undefined; + resourceInputs["enableAutomaticFailover"] = args ? args.enableAutomaticFailover : undefined; + resourceInputs["enableBurstCapacity"] = args ? args.enableBurstCapacity : undefined; + resourceInputs["enableCassandraConnector"] = args ? args.enableCassandraConnector : undefined; + resourceInputs["enableFreeTier"] = args ? args.enableFreeTier : undefined; + resourceInputs["enableMaterializedViews"] = args ? args.enableMaterializedViews : undefined; + resourceInputs["enableMultipleWriteLocations"] = args ? args.enableMultipleWriteLocations : undefined; + resourceInputs["enablePartitionMerge"] = args ? args.enablePartitionMerge : undefined; + resourceInputs["enablePriorityBasedExecution"] = args ? args.enablePriorityBasedExecution : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["ipRules"] = args ? args.ipRules : undefined; + resourceInputs["isVirtualNetworkFilterEnabled"] = args ? args.isVirtualNetworkFilterEnabled : undefined; + resourceInputs["keyVaultKeyUri"] = args ? args.keyVaultKeyUri : undefined; + resourceInputs["kind"] = (args ? args.kind : undefined) ?? "GlobalDocumentDB"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["locations"] = args ? args.locations : undefined; + resourceInputs["minimalTlsVersion"] = args ? args.minimalTlsVersion : undefined; + resourceInputs["networkAclBypass"] = args ? args.networkAclBypass : undefined; + resourceInputs["networkAclBypassResourceIds"] = args ? args.networkAclBypassResourceIds : undefined; + resourceInputs["publicNetworkAccess"] = args ? args.publicNetworkAccess : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["restoreParameters"] = args ? args.restoreParameters : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["virtualNetworkRules"] = args ? args.virtualNetworkRules : undefined; + resourceInputs["documentEndpoint"] = undefined /*out*/; + resourceInputs["failoverPolicies"] = undefined /*out*/; + resourceInputs["instanceId"] = undefined /*out*/; + resourceInputs["keysMetadata"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["readLocations"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["writeLocations"] = undefined /*out*/; + } else { + resourceInputs["analyticalStorageConfiguration"] = undefined /*out*/; + resourceInputs["apiProperties"] = undefined /*out*/; + resourceInputs["backupPolicy"] = undefined /*out*/; + resourceInputs["capabilities"] = undefined /*out*/; + resourceInputs["capacity"] = undefined /*out*/; + resourceInputs["connectorOffer"] = undefined /*out*/; + resourceInputs["consistencyPolicy"] = undefined /*out*/; + resourceInputs["cors"] = undefined /*out*/; + resourceInputs["createMode"] = undefined /*out*/; + resourceInputs["customerManagedKeyStatus"] = undefined /*out*/; + resourceInputs["databaseAccountOfferType"] = undefined /*out*/; + resourceInputs["defaultIdentity"] = undefined /*out*/; + resourceInputs["defaultPriorityLevel"] = undefined /*out*/; + resourceInputs["diagnosticLogSettings"] = undefined /*out*/; + resourceInputs["disableKeyBasedMetadataWriteAccess"] = undefined /*out*/; + resourceInputs["disableLocalAuth"] = undefined /*out*/; + resourceInputs["documentEndpoint"] = undefined /*out*/; + resourceInputs["enableAnalyticalStorage"] = undefined /*out*/; + resourceInputs["enableAutomaticFailover"] = undefined /*out*/; + resourceInputs["enableBurstCapacity"] = undefined /*out*/; + resourceInputs["enableCassandraConnector"] = undefined /*out*/; + resourceInputs["enableFreeTier"] = undefined /*out*/; + resourceInputs["enableMaterializedViews"] = undefined /*out*/; + resourceInputs["enableMultipleWriteLocations"] = undefined /*out*/; + resourceInputs["enablePartitionMerge"] = undefined /*out*/; + resourceInputs["enablePriorityBasedExecution"] = undefined /*out*/; + resourceInputs["failoverPolicies"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["instanceId"] = undefined /*out*/; + resourceInputs["ipRules"] = undefined /*out*/; + resourceInputs["isVirtualNetworkFilterEnabled"] = undefined /*out*/; + resourceInputs["keyVaultKeyUri"] = undefined /*out*/; + resourceInputs["keysMetadata"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["locations"] = undefined /*out*/; + resourceInputs["minimalTlsVersion"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkAclBypass"] = undefined /*out*/; + resourceInputs["networkAclBypassResourceIds"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["readLocations"] = undefined /*out*/; + resourceInputs["restoreParameters"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["virtualNetworkRules"] = undefined /*out*/; + resourceInputs["writeLocations"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:DatabaseAccount" }, { type: "azure-native:documentdb/v20150401:DatabaseAccount" }, { type: "azure-native:documentdb/v20150408:DatabaseAccount" }, { type: "azure-native:documentdb/v20151106:DatabaseAccount" }, { type: "azure-native:documentdb/v20160319:DatabaseAccount" }, { type: "azure-native:documentdb/v20160331:DatabaseAccount" }, { type: "azure-native:documentdb/v20190801:DatabaseAccount" }, { type: "azure-native:documentdb/v20191212:DatabaseAccount" }, { type: "azure-native:documentdb/v20200301:DatabaseAccount" }, { type: "azure-native:documentdb/v20200401:DatabaseAccount" }, { type: "azure-native:documentdb/v20200601preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20200901:DatabaseAccount" }, { type: "azure-native:documentdb/v20210115:DatabaseAccount" }, { type: "azure-native:documentdb/v20210301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210315:DatabaseAccount" }, { type: "azure-native:documentdb/v20210401preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20210415:DatabaseAccount" }, { type: "azure-native:documentdb/v20210515:DatabaseAccount" }, { type: "azure-native:documentdb/v20210615:DatabaseAccount" }, { type: "azure-native:documentdb/v20210701preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015:DatabaseAccount" }, { type: "azure-native:documentdb/v20211015preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20211115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220215preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515:DatabaseAccount" }, { type: "azure-native:documentdb/v20220515preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815:DatabaseAccount" }, { type: "azure-native:documentdb/v20220815preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115:DatabaseAccount" }, { type: "azure-native:documentdb/v20221115preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230301preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315:DatabaseAccount" }, { type: "azure-native:documentdb/v20230315preview:DatabaseAccount" }, { type: "azure-native:documentdb/v20230415:DatabaseAccount" }, { type: "azure-native:documentdb/v20230915:DatabaseAccount" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(DatabaseAccount.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a DatabaseAccount resource. + */ +export interface DatabaseAccountArgs { + /** + * Cosmos DB database account name. + */ + accountName?: pulumi.Input; + /** + * Analytical storage specific properties. + */ + analyticalStorageConfiguration?: pulumi.Input; + /** + * API specific properties. Currently, supported only for MongoDB API. + */ + apiProperties?: pulumi.Input; + /** + * The object representing the policy for taking backups on an account. + */ + backupPolicy?: pulumi.Input; + /** + * List of Cosmos DB capabilities for the account + */ + capabilities?: pulumi.Input[]>; + /** + * The object that represents all properties related to capacity enforcement on an account. + */ + capacity?: pulumi.Input; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + connectorOffer?: pulumi.Input; + /** + * The consistency policy for the Cosmos DB account. + */ + consistencyPolicy?: pulumi.Input; + /** + * The CORS policy for the Cosmos DB database account. + */ + cors?: pulumi.Input[]>; + /** + * Enum to indicate the mode of account creation. + */ + createMode?: pulumi.Input; + /** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ + customerManagedKeyStatus?: pulumi.Input; + /** + * The offer type for the database + */ + databaseAccountOfferType: pulumi.Input; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + defaultIdentity?: pulumi.Input; + /** + * Enum to indicate default Priority Level of request for Priority Based Execution. + */ + defaultPriorityLevel?: pulumi.Input; + /** + * The Object representing the different Diagnostic log settings for the Cosmos DB Account. + */ + diagnosticLogSettings?: pulumi.Input; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + disableKeyBasedMetadataWriteAccess?: pulumi.Input; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + */ + disableLocalAuth?: pulumi.Input; + /** + * Flag to indicate whether to enable storage analytics. + */ + enableAnalyticalStorage?: pulumi.Input; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + enableAutomaticFailover?: pulumi.Input; + /** + * Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + */ + enableBurstCapacity?: pulumi.Input; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + enableCassandraConnector?: pulumi.Input; + /** + * Flag to indicate whether Free Tier is enabled. + */ + enableFreeTier?: pulumi.Input; + /** + * Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + */ + enableMaterializedViews?: pulumi.Input; + /** + * Enables the account to write in multiple locations + */ + enableMultipleWriteLocations?: pulumi.Input; + /** + * Flag to indicate enabling/disabling of Partition Merge feature on the account + */ + enablePartitionMerge?: pulumi.Input; + /** + * Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + */ + enablePriorityBasedExecution?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * List of IpRules. + */ + ipRules?: pulumi.Input[]>; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + isVirtualNetworkFilterEnabled?: pulumi.Input; + /** + * The URI of the key vault + */ + keyVaultKeyUri?: pulumi.Input; + /** + * Indicates the type of database account. This can only be set at database account creation. + */ + kind?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * An array that contains the georeplication locations enabled for the Cosmos DB account. + */ + locations: pulumi.Input[]>; + /** + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + */ + minimalTlsVersion?: pulumi.Input; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + networkAclBypass?: pulumi.Input; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + networkAclBypassResourceIds?: pulumi.Input[]>; + /** + * Whether requests from Public Network are allowed + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Parameters to indicate the information about the restore. + */ + restoreParameters?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + virtualNetworkRules?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getCassandraCluster.ts b/sdk/nodejs/documentdb/v20230915preview/getCassandraCluster.ts new file mode 100644 index 000000000000..2d00a4f8e556 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getCassandraCluster.ts @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get the properties of a managed Cassandra cluster. + */ +export function getCassandraCluster(args: GetCassandraClusterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getCassandraCluster", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCassandraClusterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Representation of a managed Cassandra cluster. + */ +export interface GetCassandraClusterResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedCassandraManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + /** + * Properties of a managed Cassandra cluster. + */ + readonly properties: outputs.documentdb.v20230915preview.ClusterResourceResponseProperties; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Get the properties of a managed Cassandra cluster. + */ +export function getCassandraClusterOutput(args: GetCassandraClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraCluster(a, opts)) +} + +export interface GetCassandraClusterOutputArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getCassandraDataCenter.ts b/sdk/nodejs/documentdb/v20230915preview/getCassandraDataCenter.ts new file mode 100644 index 000000000000..270040945a33 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getCassandraDataCenter.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get the properties of a managed Cassandra data center. + */ +export function getCassandraDataCenter(args: GetCassandraDataCenterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getCassandraDataCenter", { + "clusterName": args.clusterName, + "dataCenterName": args.dataCenterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCassandraDataCenterArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: string; + /** + * Data center name in a managed Cassandra cluster. + */ + dataCenterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A managed Cassandra data center. + */ +export interface GetCassandraDataCenterResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * Properties of a managed Cassandra data center. + */ + readonly properties: outputs.documentdb.v20230915preview.DataCenterResourceResponseProperties; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Get the properties of a managed Cassandra data center. + */ +export function getCassandraDataCenterOutput(args: GetCassandraDataCenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraDataCenter(a, opts)) +} + +export interface GetCassandraDataCenterOutputArgs { + /** + * Managed Cassandra cluster name. + */ + clusterName: pulumi.Input; + /** + * Data center name in a managed Cassandra cluster. + */ + dataCenterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraKeyspace.ts b/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraKeyspace.ts new file mode 100644 index 000000000000..639daf67853a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraKeyspace.ts @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + */ +export function getCassandraResourceCassandraKeyspace(args: GetCassandraResourceCassandraKeyspaceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraKeyspace", { + "accountName": args.accountName, + "keyspaceName": args.keyspaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCassandraResourceCassandraKeyspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Cassandra keyspace. + */ +export interface GetCassandraResourceCassandraKeyspaceResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.CassandraKeyspaceGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.CassandraKeyspaceGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + */ +export function getCassandraResourceCassandraKeyspaceOutput(args: GetCassandraResourceCassandraKeyspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraResourceCassandraKeyspace(a, opts)) +} + +export interface GetCassandraResourceCassandraKeyspaceOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraTable.ts b/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraTable.ts new file mode 100644 index 000000000000..8b20106a248e --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraTable.ts @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Cassandra table under an existing Azure Cosmos DB database account. + */ +export function getCassandraResourceCassandraTable(args: GetCassandraResourceCassandraTableArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraTable", { + "accountName": args.accountName, + "keyspaceName": args.keyspaceName, + "resourceGroupName": args.resourceGroupName, + "tableName": args.tableName, + }, opts); +} + +export interface GetCassandraResourceCassandraTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB table name. + */ + tableName: string; +} + +/** + * An Azure Cosmos DB Cassandra table. + */ +export interface GetCassandraResourceCassandraTableResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.CassandraTableGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.CassandraTableGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Cassandra table under an existing Azure Cosmos DB database account. + */ +export function getCassandraResourceCassandraTableOutput(args: GetCassandraResourceCassandraTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraResourceCassandraTable(a, opts)) +} + +export interface GetCassandraResourceCassandraTableOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraView.ts b/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraView.ts new file mode 100644 index 000000000000..90a050d4b024 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getCassandraResourceCassandraView.ts @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Cassandra view under an existing Azure Cosmos DB database account. + */ +export function getCassandraResourceCassandraView(args: GetCassandraResourceCassandraViewArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getCassandraResourceCassandraView", { + "accountName": args.accountName, + "keyspaceName": args.keyspaceName, + "resourceGroupName": args.resourceGroupName, + "viewName": args.viewName, + }, opts); +} + +export interface GetCassandraResourceCassandraViewArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB view name. + */ + viewName: string; +} + +/** + * An Azure Cosmos DB Cassandra view. + */ +export interface GetCassandraResourceCassandraViewResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.CassandraViewGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.CassandraViewGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Cassandra view under an existing Azure Cosmos DB database account. + */ +export function getCassandraResourceCassandraViewOutput(args: GetCassandraResourceCassandraViewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCassandraResourceCassandraView(a, opts)) +} + +export interface GetCassandraResourceCassandraViewOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB keyspace name. + */ + keyspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB view name. + */ + viewName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getDatabaseAccount.ts b/sdk/nodejs/documentdb/v20230915preview/getDatabaseAccount.ts new file mode 100644 index 000000000000..abb33dd384c7 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getDatabaseAccount.ts @@ -0,0 +1,258 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB database account. + */ +export function getDatabaseAccount(args: GetDatabaseAccountArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getDatabaseAccount", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetDatabaseAccountArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB database account. + */ +export interface GetDatabaseAccountResult { + /** + * Analytical storage specific properties. + */ + readonly analyticalStorageConfiguration?: outputs.documentdb.v20230915preview.AnalyticalStorageConfigurationResponse; + /** + * API specific properties. + */ + readonly apiProperties?: outputs.documentdb.v20230915preview.ApiPropertiesResponse; + /** + * The object representing the policy for taking backups on an account. + */ + readonly backupPolicy?: outputs.documentdb.v20230915preview.ContinuousModeBackupPolicyResponse | outputs.documentdb.v20230915preview.PeriodicModeBackupPolicyResponse; + /** + * List of Cosmos DB capabilities for the account + */ + readonly capabilities?: outputs.documentdb.v20230915preview.CapabilityResponse[]; + /** + * The object that represents all properties related to capacity enforcement on an account. + */ + readonly capacity?: outputs.documentdb.v20230915preview.CapacityResponse; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + readonly connectorOffer?: string; + /** + * The consistency policy for the Cosmos DB database account. + */ + readonly consistencyPolicy?: outputs.documentdb.v20230915preview.ConsistencyPolicyResponse; + /** + * The CORS policy for the Cosmos DB database account. + */ + readonly cors?: outputs.documentdb.v20230915preview.CorsPolicyResponse[]; + /** + * Enum to indicate the mode of account creation. + */ + readonly createMode?: string; + /** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ + readonly customerManagedKeyStatus?: string; + /** + * The offer type for the Cosmos DB database account. Default value: Standard. + */ + readonly databaseAccountOfferType: string; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + readonly defaultIdentity?: string; + /** + * Enum to indicate default Priority Level of request for Priority Based Execution. + */ + readonly defaultPriorityLevel?: string; + /** + * The Object representing the different Diagnostic log settings for the Cosmos DB Account. + */ + readonly diagnosticLogSettings?: outputs.documentdb.v20230915preview.DiagnosticLogSettingsResponse; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + readonly disableKeyBasedMetadataWriteAccess?: boolean; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + */ + readonly disableLocalAuth?: boolean; + /** + * The connection endpoint for the Cosmos DB database account. + */ + readonly documentEndpoint: string; + /** + * Flag to indicate whether to enable storage analytics. + */ + readonly enableAnalyticalStorage?: boolean; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + readonly enableAutomaticFailover?: boolean; + /** + * Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + */ + readonly enableBurstCapacity?: boolean; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + readonly enableCassandraConnector?: boolean; + /** + * Flag to indicate whether Free Tier is enabled. + */ + readonly enableFreeTier?: boolean; + /** + * Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + */ + readonly enableMaterializedViews?: boolean; + /** + * Enables the account to write in multiple locations + */ + readonly enableMultipleWriteLocations?: boolean; + /** + * Flag to indicate enabling/disabling of Partition Merge feature on the account + */ + readonly enablePartitionMerge?: boolean; + /** + * Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + */ + readonly enablePriorityBasedExecution?: boolean; + /** + * An array that contains the regions ordered by their failover priorities. + */ + readonly failoverPolicies: outputs.documentdb.v20230915preview.FailoverPolicyResponse[]; + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * A unique identifier assigned to the database account + */ + readonly instanceId: string; + /** + * List of IpRules. + */ + readonly ipRules?: outputs.documentdb.v20230915preview.IpAddressOrRangeResponse[]; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + readonly isVirtualNetworkFilterEnabled?: boolean; + /** + * The URI of the key vault + */ + readonly keyVaultKeyUri?: string; + /** + * The object that represents the metadata for the Account Keys of the Cosmos DB account. + */ + readonly keysMetadata: outputs.documentdb.v20230915preview.DatabaseAccountKeysMetadataResponse; + /** + * Indicates the type of database account. This can only be set at database account creation. + */ + readonly kind?: string; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * An array that contains all of the locations enabled for the Cosmos DB account. + */ + readonly locations: outputs.documentdb.v20230915preview.LocationResponse[]; + /** + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + */ + readonly minimalTlsVersion?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + readonly networkAclBypass?: string; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + readonly networkAclBypassResourceIds?: string[]; + /** + * List of Private Endpoint Connections configured for the Cosmos DB account. + */ + readonly privateEndpointConnections: outputs.documentdb.v20230915preview.PrivateEndpointConnectionResponse[]; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + readonly provisioningState: string; + /** + * Whether requests from Public Network are allowed + */ + readonly publicNetworkAccess?: string; + /** + * An array that contains of the read locations enabled for the Cosmos DB account. + */ + readonly readLocations: outputs.documentdb.v20230915preview.LocationResponse[]; + /** + * Parameters to indicate the information about the restore. + */ + readonly restoreParameters?: outputs.documentdb.v20230915preview.RestoreParametersResponse; + /** + * The system meta data relating to this resource. + */ + readonly systemData: outputs.documentdb.v20230915preview.SystemDataResponse; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + readonly virtualNetworkRules?: outputs.documentdb.v20230915preview.VirtualNetworkRuleResponse[]; + /** + * An array that contains the write location for the Cosmos DB account. + */ + readonly writeLocations: outputs.documentdb.v20230915preview.LocationResponse[]; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB database account. + */ +export function getDatabaseAccountOutput(args: GetDatabaseAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDatabaseAccount(a, opts)) +} + +export interface GetDatabaseAccountOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getGraphResourceGraph.ts b/sdk/nodejs/documentdb/v20230915preview/getGraphResourceGraph.ts new file mode 100644 index 000000000000..df6a27a95958 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getGraphResourceGraph.ts @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. + */ +export function getGraphResourceGraph(args: GetGraphResourceGraphArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getGraphResourceGraph", { + "accountName": args.accountName, + "graphName": args.graphName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGraphResourceGraphArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB graph resource name. + */ + graphName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Graph resource. + */ +export interface GetGraphResourceGraphResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.GraphResourceGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.GraphResourceGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. + */ +export function getGraphResourceGraphOutput(args: GetGraphResourceGraphOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGraphResourceGraph(a, opts)) +} + +export interface GetGraphResourceGraphOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB graph resource name. + */ + graphName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getGremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/v20230915preview/getGremlinResourceGremlinDatabase.ts new file mode 100644 index 000000000000..6845e349889a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getGremlinResourceGremlinDatabase.ts @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getGremlinResourceGremlinDatabase(args: GetGremlinResourceGremlinDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getGremlinResourceGremlinDatabase", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGremlinResourceGremlinDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Gremlin database. + */ +export interface GetGremlinResourceGremlinDatabaseResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.GremlinDatabaseGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.GremlinDatabaseGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getGremlinResourceGremlinDatabaseOutput(args: GetGremlinResourceGremlinDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGremlinResourceGremlinDatabase(a, opts)) +} + +export interface GetGremlinResourceGremlinDatabaseOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getGremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/v20230915preview/getGremlinResourceGremlinGraph.ts new file mode 100644 index 000000000000..4d85dd82334f --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getGremlinResourceGremlinGraph.ts @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Gremlin graph under an existing Azure Cosmos DB database account. + */ +export function getGremlinResourceGremlinGraph(args: GetGremlinResourceGremlinGraphArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getGremlinResourceGremlinGraph", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "graphName": args.graphName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGremlinResourceGremlinGraphArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * Cosmos DB graph name. + */ + graphName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Gremlin graph. + */ +export interface GetGremlinResourceGremlinGraphResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.GremlinGraphGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.GremlinGraphGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Gremlin graph under an existing Azure Cosmos DB database account. + */ +export function getGremlinResourceGremlinGraphOutput(args: GetGremlinResourceGremlinGraphOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGremlinResourceGremlinGraph(a, opts)) +} + +export interface GetGremlinResourceGremlinGraphOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Cosmos DB graph name. + */ + graphName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getMongoCluster.ts b/sdk/nodejs/documentdb/v20230915preview/getMongoCluster.ts new file mode 100644 index 000000000000..4943a8208b3a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getMongoCluster.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about a mongo cluster. + */ +export function getMongoCluster(args: GetMongoClusterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getMongoCluster", { + "mongoClusterName": args.mongoClusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoClusterArgs { + /** + * The name of the mongo cluster. + */ + mongoClusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a mongo cluster resource. + */ +export interface GetMongoClusterResult { + /** + * The administrator's login for the mongo cluster. + */ + readonly administratorLogin?: string; + /** + * A status of the mongo cluster. + */ + readonly clusterStatus: string; + /** + * The default mongo connection string for the cluster. + */ + readonly connectionString: string; + /** + * Earliest restore timestamp in UTC ISO8601 format. + */ + readonly earliestRestoreTime: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The list of node group specs in the cluster. + */ + readonly nodeGroupSpecs?: outputs.documentdb.v20230915preview.NodeGroupSpecResponse[]; + /** + * A provisioning state of the mongo cluster. + */ + readonly provisioningState: string; + /** + * The Mongo DB server version. Defaults to the latest available version if not specified. + */ + readonly serverVersion?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.documentdb.v20230915preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets information about a mongo cluster. + */ +export function getMongoClusterOutput(args: GetMongoClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoCluster(a, opts)) +} + +export interface GetMongoClusterOutputArgs { + /** + * The name of the mongo cluster. + */ + mongoClusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getMongoClusterFirewallRule.ts b/sdk/nodejs/documentdb/v20230915preview/getMongoClusterFirewallRule.ts new file mode 100644 index 000000000000..93678d0ec3c5 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getMongoClusterFirewallRule.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets information about a mongo cluster firewall rule. + */ +export function getMongoClusterFirewallRule(args: GetMongoClusterFirewallRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getMongoClusterFirewallRule", { + "firewallRuleName": args.firewallRuleName, + "mongoClusterName": args.mongoClusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoClusterFirewallRuleArgs { + /** + * The name of the mongo cluster firewall rule. + */ + firewallRuleName: string; + /** + * The name of the mongo cluster. + */ + mongoClusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Represents a mongo cluster firewall rule. + */ +export interface GetMongoClusterFirewallRuleResult { + /** + * The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + */ + readonly endIpAddress: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioning state of the firewall rule. + */ + readonly provisioningState: string; + /** + * The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + */ + readonly startIpAddress: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.documentdb.v20230915preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets information about a mongo cluster firewall rule. + */ +export function getMongoClusterFirewallRuleOutput(args: GetMongoClusterFirewallRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoClusterFirewallRule(a, opts)) +} + +export interface GetMongoClusterFirewallRuleOutputArgs { + /** + * The name of the mongo cluster firewall rule. + */ + firewallRuleName: pulumi.Input; + /** + * The name of the mongo cluster. + */ + mongoClusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoDBCollection.ts new file mode 100644 index 000000000000..797b3f17cf5c --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoDBCollection.ts @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the MongoDB collection under an existing Azure Cosmos DB database account. + */ +export function getMongoDBResourceMongoDBCollection(args: GetMongoDBResourceMongoDBCollectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBCollection", { + "accountName": args.accountName, + "collectionName": args.collectionName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoDBCollectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB collection name. + */ + collectionName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB MongoDB collection. + */ +export interface GetMongoDBResourceMongoDBCollectionResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.MongoDBCollectionGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.MongoDBCollectionGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the MongoDB collection under an existing Azure Cosmos DB database account. + */ +export function getMongoDBResourceMongoDBCollectionOutput(args: GetMongoDBResourceMongoDBCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoDBCollection(a, opts)) +} + +export interface GetMongoDBResourceMongoDBCollectionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB collection name. + */ + collectionName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoDBDatabase.ts new file mode 100644 index 000000000000..f18fab672f41 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoDBDatabase.ts @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getMongoDBResourceMongoDBDatabase(args: GetMongoDBResourceMongoDBDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBDatabase", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoDBDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB MongoDB database. + */ +export interface GetMongoDBResourceMongoDBDatabaseResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.MongoDBDatabaseGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.MongoDBDatabaseGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + */ +export function getMongoDBResourceMongoDBDatabaseOutput(args: GetMongoDBResourceMongoDBDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoDBDatabase(a, opts)) +} + +export interface GetMongoDBResourceMongoDBDatabaseOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoRoleDefinition.ts new file mode 100644 index 000000000000..795643a5e599 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoRoleDefinition.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + */ +export function getMongoDBResourceMongoRoleDefinition(args: GetMongoDBResourceMongoRoleDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoRoleDefinition", { + "accountName": args.accountName, + "mongoRoleDefinitionId": args.mongoRoleDefinitionId, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The ID for the Role Definition {dbName.roleName}. + */ + mongoRoleDefinitionId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB Mongo Role Definition. + */ +export interface GetMongoDBResourceMongoRoleDefinitionResult { + /** + * The database name for which access is being granted for this Role Definition. + */ + readonly databaseName?: string; + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + */ + readonly privileges?: outputs.documentdb.v20230915preview.PrivilegeResponse[]; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + readonly roleName?: string; + /** + * The set of roles inherited by this Role Definition. + */ + readonly roles?: outputs.documentdb.v20230915preview.RoleResponse[]; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + */ +export function getMongoDBResourceMongoRoleDefinitionOutput(args: GetMongoDBResourceMongoRoleDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoRoleDefinition(a, opts)) +} + +export interface GetMongoDBResourceMongoRoleDefinitionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The ID for the Role Definition {dbName.roleName}. + */ + mongoRoleDefinitionId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoUserDefinition.ts b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoUserDefinition.ts new file mode 100644 index 000000000000..f8e8012a8537 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getMongoDBResourceMongoUserDefinition.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + */ +export function getMongoDBResourceMongoUserDefinition(args: GetMongoDBResourceMongoUserDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getMongoDBResourceMongoUserDefinition", { + "accountName": args.accountName, + "mongoUserDefinitionId": args.mongoUserDefinitionId, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMongoDBResourceMongoUserDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The ID for the User Definition {dbName.userName}. + */ + mongoUserDefinitionId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB User Definition + */ +export interface GetMongoDBResourceMongoUserDefinitionResult { + /** + * A custom definition for the USer Definition. + */ + readonly customData?: string; + /** + * The database name for which access is being granted for this User Definition. + */ + readonly databaseName?: string; + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + */ + readonly mechanisms?: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * The password for User Definition. Response does not contain user password. + */ + readonly password?: string; + /** + * The set of roles inherited by the User Definition. + */ + readonly roles?: outputs.documentdb.v20230915preview.RoleResponse[]; + /** + * The type of Azure resource. + */ + readonly type: string; + /** + * The user name for User Definition. + */ + readonly userName?: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + */ +export function getMongoDBResourceMongoUserDefinitionOutput(args: GetMongoDBResourceMongoUserDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMongoDBResourceMongoUserDefinition(a, opts)) +} + +export interface GetMongoDBResourceMongoUserDefinitionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The ID for the User Definition {dbName.userName}. + */ + mongoUserDefinitionId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getNotebookWorkspace.ts b/sdk/nodejs/documentdb/v20230915preview/getNotebookWorkspace.ts new file mode 100644 index 000000000000..d75a8fd7559d --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getNotebookWorkspace.ts @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Gets the notebook workspace for a Cosmos DB account. + */ +export function getNotebookWorkspace(args: GetNotebookWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getNotebookWorkspace", { + "accountName": args.accountName, + "notebookWorkspaceName": args.notebookWorkspaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNotebookWorkspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A notebook workspace resource + */ +export interface GetNotebookWorkspaceResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * Specifies the endpoint of Notebook server. + */ + readonly notebookServerEndpoint: string; + /** + * Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + */ + readonly status: string; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the notebook workspace for a Cosmos DB account. + */ +export function getNotebookWorkspaceOutput(args: GetNotebookWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getNotebookWorkspace(a, opts)) +} + +export interface GetNotebookWorkspaceOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getPrivateEndpointConnection.ts b/sdk/nodejs/documentdb/v20230915preview/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..bd369c0cd5e7 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getPrivateEndpointConnection.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a private endpoint connection. + */ +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getPrivateEndpointConnection", { + "accountName": args.accountName, + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A private endpoint connection + */ +export interface GetPrivateEndpointConnectionResult { + /** + * Group id of the private endpoint. + */ + readonly groupId?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Private endpoint which the connection belongs to. + */ + readonly privateEndpoint?: outputs.documentdb.v20230915preview.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + readonly privateLinkServiceConnectionState?: outputs.documentdb.v20230915preview.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + readonly provisioningState?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a private endpoint connection. + */ +export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnection(a, opts)) +} + +export interface GetPrivateEndpointConnectionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getService.ts b/sdk/nodejs/documentdb/v20230915preview/getService.ts new file mode 100644 index 000000000000..fb66fa88e533 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getService.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the status of service. + */ +export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getService", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "serviceName": args.serviceName, + }, opts); +} + +export interface GetServiceArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB service name. + */ + serviceName: string; +} + +/** + * Properties for the database account. + */ +export interface GetServiceResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * Services response resource. + */ + readonly properties: outputs.documentdb.v20230915preview.DataTransferServiceResourcePropertiesResponse | outputs.documentdb.v20230915preview.GraphAPIComputeServiceResourcePropertiesResponse | outputs.documentdb.v20230915preview.MaterializedViewsBuilderServiceResourcePropertiesResponse | outputs.documentdb.v20230915preview.SqlDedicatedGatewayServiceResourcePropertiesResponse; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the status of service. + */ +export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getService(a, opts)) +} + +export interface GetServiceOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB service name. + */ + serviceName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlContainer.ts new file mode 100644 index 000000000000..a80626056ce8 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlContainer.ts @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL container under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlContainer(args: GetSqlResourceSqlContainerArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlContainer", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetSqlResourceSqlContainerArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB container. + */ +export interface GetSqlResourceSqlContainerResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.SqlContainerGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.SqlContainerGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL container under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlContainerOutput(args: GetSqlResourceSqlContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlContainer(a, opts)) +} + +export interface GetSqlResourceSqlContainerOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlDatabase.ts new file mode 100644 index 000000000000..723fb139f30a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlDatabase.ts @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + */ +export function getSqlResourceSqlDatabase(args: GetSqlResourceSqlDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlDatabase", { + "accountName": args.accountName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetSqlResourceSqlDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * An Azure Cosmos DB SQL database. + */ +export interface GetSqlResourceSqlDatabaseResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.SqlDatabaseGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.SqlDatabaseGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + */ +export function getSqlResourceSqlDatabaseOutput(args: GetSqlResourceSqlDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlDatabase(a, opts)) +} + +export interface GetSqlResourceSqlDatabaseOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlRoleAssignment.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlRoleAssignment.ts new file mode 100644 index 000000000000..e6886a1c0203 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlRoleAssignment.ts @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + */ +export function getSqlResourceSqlRoleAssignment(args: GetSqlResourceSqlRoleAssignmentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleAssignment", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "roleAssignmentId": args.roleAssignmentId, + }, opts); +} + +export interface GetSqlResourceSqlRoleAssignmentArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The GUID for the Role Assignment. + */ + roleAssignmentId: string; +} + +/** + * An Azure Cosmos DB Role Assignment + */ +export interface GetSqlResourceSqlRoleAssignmentResult { + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + */ + readonly principalId?: string; + /** + * The unique identifier for the associated Role Definition. + */ + readonly roleDefinitionId?: string; + /** + * The data plane resource path for which access is being granted through this Role Assignment. + */ + readonly scope?: string; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + */ +export function getSqlResourceSqlRoleAssignmentOutput(args: GetSqlResourceSqlRoleAssignmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlRoleAssignment(a, opts)) +} + +export interface GetSqlResourceSqlRoleAssignmentOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Assignment. + */ + roleAssignmentId: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlRoleDefinition.ts new file mode 100644 index 000000000000..0a91445c6d17 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlRoleDefinition.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + */ +export function getSqlResourceSqlRoleDefinition(args: GetSqlResourceSqlRoleDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleDefinition", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "roleDefinitionId": args.roleDefinitionId, + }, opts); +} + +export interface GetSqlResourceSqlRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The GUID for the Role Definition. + */ + roleDefinitionId: string; +} + +/** + * An Azure Cosmos DB SQL Role Definition. + */ +export interface GetSqlResourceSqlRoleDefinitionResult { + /** + * A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + */ + readonly assignableScopes?: string[]; + /** + * The unique resource identifier of the database account. + */ + readonly id: string; + /** + * The name of the database account. + */ + readonly name: string; + /** + * The set of operations allowed through this Role Definition. + */ + readonly permissions?: outputs.documentdb.v20230915preview.PermissionResponse[]; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + readonly roleName?: string; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + */ +export function getSqlResourceSqlRoleDefinitionOutput(args: GetSqlResourceSqlRoleDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlRoleDefinition(a, opts)) +} + +export interface GetSqlResourceSqlRoleDefinitionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Definition. + */ + roleDefinitionId: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlStoredProcedure.ts new file mode 100644 index 000000000000..4b511a2a2191 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlStoredProcedure.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlStoredProcedure(args: GetSqlResourceSqlStoredProcedureArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlStoredProcedure", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "storedProcedureName": args.storedProcedureName, + }, opts); +} + +export interface GetSqlResourceSqlStoredProcedureArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB storedProcedure name. + */ + storedProcedureName: string; +} + +/** + * An Azure Cosmos DB storedProcedure. + */ +export interface GetSqlResourceSqlStoredProcedureResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly resource?: outputs.documentdb.v20230915preview.SqlStoredProcedureGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlStoredProcedureOutput(args: GetSqlResourceSqlStoredProcedureOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlStoredProcedure(a, opts)) +} + +export interface GetSqlResourceSqlStoredProcedureOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB storedProcedure name. + */ + storedProcedureName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlTrigger.ts new file mode 100644 index 000000000000..6afc5f4a0321 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlTrigger.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL trigger under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlTrigger(args: GetSqlResourceSqlTriggerArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlTrigger", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "triggerName": args.triggerName, + }, opts); +} + +export interface GetSqlResourceSqlTriggerArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB trigger name. + */ + triggerName: string; +} + +/** + * An Azure Cosmos DB trigger. + */ +export interface GetSqlResourceSqlTriggerResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly resource?: outputs.documentdb.v20230915preview.SqlTriggerGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL trigger under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlTriggerOutput(args: GetSqlResourceSqlTriggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlTrigger(a, opts)) +} + +export interface GetSqlResourceSqlTriggerOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB trigger name. + */ + triggerName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlUserDefinedFunction.ts new file mode 100644 index 000000000000..4f518a305f1a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getSqlResourceSqlUserDefinedFunction.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlUserDefinedFunction(args: GetSqlResourceSqlUserDefinedFunctionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getSqlResourceSqlUserDefinedFunction", { + "accountName": args.accountName, + "containerName": args.containerName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "userDefinedFunctionName": args.userDefinedFunctionName, + }, opts); +} + +export interface GetSqlResourceSqlUserDefinedFunctionArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * Cosmos DB container name. + */ + containerName: string; + /** + * Cosmos DB database name. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB userDefinedFunction name. + */ + userDefinedFunctionName: string; +} + +/** + * An Azure Cosmos DB userDefinedFunction. + */ +export interface GetSqlResourceSqlUserDefinedFunctionResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly resource?: outputs.documentdb.v20230915preview.SqlUserDefinedFunctionGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + */ +export function getSqlResourceSqlUserDefinedFunctionOutput(args: GetSqlResourceSqlUserDefinedFunctionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSqlResourceSqlUserDefinedFunction(a, opts)) +} + +export interface GetSqlResourceSqlUserDefinedFunctionOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB userDefinedFunction name. + */ + userDefinedFunctionName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/getTableResourceTable.ts b/sdk/nodejs/documentdb/v20230915preview/getTableResourceTable.ts new file mode 100644 index 000000000000..25f12eaa92f3 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/getTableResourceTable.ts @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + */ +export function getTableResourceTable(args: GetTableResourceTableArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:getTableResourceTable", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + "tableName": args.tableName, + }, opts); +} + +export interface GetTableResourceTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Cosmos DB table name. + */ + tableName: string; +} + +/** + * An Azure Cosmos DB Table. + */ +export interface GetTableResourceTableResult { + /** + * The unique resource identifier of the ARM resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponse; + /** + * The location of the resource group to which the resource belongs. + */ + readonly location?: string; + /** + * The name of the ARM resource. + */ + readonly name: string; + readonly options?: outputs.documentdb.v20230915preview.TableGetPropertiesResponseOptions; + readonly resource?: outputs.documentdb.v20230915preview.TableGetPropertiesResponseResource; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + readonly tags?: {[key: string]: string}; + /** + * The type of Azure resource. + */ + readonly type: string; +} +/** + * Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + */ +export function getTableResourceTableOutput(args: GetTableResourceTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getTableResourceTable(a, opts)) +} + +export interface GetTableResourceTableOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/graphResourceGraph.ts b/sdk/nodejs/documentdb/v20230915preview/graphResourceGraph.ts new file mode 100644 index 000000000000..ca19b77d313d --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/graphResourceGraph.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Graph resource. + */ +export class GraphResourceGraph extends pulumi.CustomResource { + /** + * Get an existing GraphResourceGraph 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GraphResourceGraph { + return new GraphResourceGraph(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:GraphResourceGraph'; + + /** + * Returns true if the given object is an instance of GraphResourceGraph. 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 GraphResourceGraph { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GraphResourceGraph.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GraphResourceGraph 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: GraphResourceGraphArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["graphName"] = args ? args.graphName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GraphResourceGraph" }, { type: "azure-native:documentdb/v20210701preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211015preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20211115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220215preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220515preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20220815preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20221115preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230301preview:GraphResourceGraph" }, { type: "azure-native:documentdb/v20230315preview:GraphResourceGraph" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GraphResourceGraph.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GraphResourceGraph resource. + */ +export interface GraphResourceGraphArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB graph resource name. + */ + graphName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Graph resource + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/gremlinResourceGremlinDatabase.ts b/sdk/nodejs/documentdb/v20230915preview/gremlinResourceGremlinDatabase.ts new file mode 100644 index 000000000000..216d98a6f91f --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/gremlinResourceGremlinDatabase.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Gremlin database. + */ +export class GremlinResourceGremlinDatabase extends pulumi.CustomResource { + /** + * Get an existing GremlinResourceGremlinDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GremlinResourceGremlinDatabase { + return new GremlinResourceGremlinDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase'; + + /** + * Returns true if the given object is an instance of GremlinResourceGremlinDatabase. 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 GremlinResourceGremlinDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GremlinResourceGremlinDatabase.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GremlinResourceGremlinDatabase 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: GremlinResourceGremlinDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GremlinResourceGremlinDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GremlinResourceGremlinDatabase resource. + */ +export interface GremlinResourceGremlinDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Gremlin database + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/gremlinResourceGremlinGraph.ts b/sdk/nodejs/documentdb/v20230915preview/gremlinResourceGremlinGraph.ts new file mode 100644 index 000000000000..9c44e152f31a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/gremlinResourceGremlinGraph.ts @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Gremlin graph. + */ +export class GremlinResourceGremlinGraph extends pulumi.CustomResource { + /** + * Get an existing GremlinResourceGremlinGraph 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GremlinResourceGremlinGraph { + return new GremlinResourceGremlinGraph(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph'; + + /** + * Returns true if the given object is an instance of GremlinResourceGremlinGraph. 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 GremlinResourceGremlinGraph { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GremlinResourceGremlinGraph.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GremlinResourceGremlinGraph 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: GremlinResourceGremlinGraphArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["graphName"] = args ? args.graphName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? (args.resource ? pulumi.output(args.resource).apply(inputs.documentdb.v20230915preview.gremlinGraphResourceArgsProvideDefaults) : undefined) : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20150408:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20151106:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160319:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20160331:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20190801:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20191212:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200301:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200401:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20200901:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210615:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230415:GremlinResourceGremlinGraph" }, { type: "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GremlinResourceGremlinGraph.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GremlinResourceGremlinGraph resource. + */ +export interface GremlinResourceGremlinGraphArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Cosmos DB graph name. + */ + graphName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Gremlin graph + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/index.ts b/sdk/nodejs/documentdb/v20230915preview/index.ts new file mode 100644 index 000000000000..3ec1346f3382 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/index.ts @@ -0,0 +1,353 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { CassandraClusterArgs } from "./cassandraCluster"; +export type CassandraCluster = import("./cassandraCluster").CassandraCluster; +export const CassandraCluster: typeof import("./cassandraCluster").CassandraCluster = null as any; +utilities.lazyLoad(exports, ["CassandraCluster"], () => require("./cassandraCluster")); + +export { CassandraDataCenterArgs } from "./cassandraDataCenter"; +export type CassandraDataCenter = import("./cassandraDataCenter").CassandraDataCenter; +export const CassandraDataCenter: typeof import("./cassandraDataCenter").CassandraDataCenter = null as any; +utilities.lazyLoad(exports, ["CassandraDataCenter"], () => require("./cassandraDataCenter")); + +export { CassandraResourceCassandraKeyspaceArgs } from "./cassandraResourceCassandraKeyspace"; +export type CassandraResourceCassandraKeyspace = import("./cassandraResourceCassandraKeyspace").CassandraResourceCassandraKeyspace; +export const CassandraResourceCassandraKeyspace: typeof import("./cassandraResourceCassandraKeyspace").CassandraResourceCassandraKeyspace = null as any; +utilities.lazyLoad(exports, ["CassandraResourceCassandraKeyspace"], () => require("./cassandraResourceCassandraKeyspace")); + +export { CassandraResourceCassandraTableArgs } from "./cassandraResourceCassandraTable"; +export type CassandraResourceCassandraTable = import("./cassandraResourceCassandraTable").CassandraResourceCassandraTable; +export const CassandraResourceCassandraTable: typeof import("./cassandraResourceCassandraTable").CassandraResourceCassandraTable = null as any; +utilities.lazyLoad(exports, ["CassandraResourceCassandraTable"], () => require("./cassandraResourceCassandraTable")); + +export { CassandraResourceCassandraViewArgs } from "./cassandraResourceCassandraView"; +export type CassandraResourceCassandraView = import("./cassandraResourceCassandraView").CassandraResourceCassandraView; +export const CassandraResourceCassandraView: typeof import("./cassandraResourceCassandraView").CassandraResourceCassandraView = null as any; +utilities.lazyLoad(exports, ["CassandraResourceCassandraView"], () => require("./cassandraResourceCassandraView")); + +export { DatabaseAccountArgs } from "./databaseAccount"; +export type DatabaseAccount = import("./databaseAccount").DatabaseAccount; +export const DatabaseAccount: typeof import("./databaseAccount").DatabaseAccount = null as any; +utilities.lazyLoad(exports, ["DatabaseAccount"], () => require("./databaseAccount")); + +export { GetCassandraClusterArgs, GetCassandraClusterResult, GetCassandraClusterOutputArgs } from "./getCassandraCluster"; +export const getCassandraCluster: typeof import("./getCassandraCluster").getCassandraCluster = null as any; +export const getCassandraClusterOutput: typeof import("./getCassandraCluster").getCassandraClusterOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraCluster","getCassandraClusterOutput"], () => require("./getCassandraCluster")); + +export { GetCassandraDataCenterArgs, GetCassandraDataCenterResult, GetCassandraDataCenterOutputArgs } from "./getCassandraDataCenter"; +export const getCassandraDataCenter: typeof import("./getCassandraDataCenter").getCassandraDataCenter = null as any; +export const getCassandraDataCenterOutput: typeof import("./getCassandraDataCenter").getCassandraDataCenterOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraDataCenter","getCassandraDataCenterOutput"], () => require("./getCassandraDataCenter")); + +export { GetCassandraResourceCassandraKeyspaceArgs, GetCassandraResourceCassandraKeyspaceResult, GetCassandraResourceCassandraKeyspaceOutputArgs } from "./getCassandraResourceCassandraKeyspace"; +export const getCassandraResourceCassandraKeyspace: typeof import("./getCassandraResourceCassandraKeyspace").getCassandraResourceCassandraKeyspace = null as any; +export const getCassandraResourceCassandraKeyspaceOutput: typeof import("./getCassandraResourceCassandraKeyspace").getCassandraResourceCassandraKeyspaceOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraResourceCassandraKeyspace","getCassandraResourceCassandraKeyspaceOutput"], () => require("./getCassandraResourceCassandraKeyspace")); + +export { GetCassandraResourceCassandraTableArgs, GetCassandraResourceCassandraTableResult, GetCassandraResourceCassandraTableOutputArgs } from "./getCassandraResourceCassandraTable"; +export const getCassandraResourceCassandraTable: typeof import("./getCassandraResourceCassandraTable").getCassandraResourceCassandraTable = null as any; +export const getCassandraResourceCassandraTableOutput: typeof import("./getCassandraResourceCassandraTable").getCassandraResourceCassandraTableOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraResourceCassandraTable","getCassandraResourceCassandraTableOutput"], () => require("./getCassandraResourceCassandraTable")); + +export { GetCassandraResourceCassandraViewArgs, GetCassandraResourceCassandraViewResult, GetCassandraResourceCassandraViewOutputArgs } from "./getCassandraResourceCassandraView"; +export const getCassandraResourceCassandraView: typeof import("./getCassandraResourceCassandraView").getCassandraResourceCassandraView = null as any; +export const getCassandraResourceCassandraViewOutput: typeof import("./getCassandraResourceCassandraView").getCassandraResourceCassandraViewOutput = null as any; +utilities.lazyLoad(exports, ["getCassandraResourceCassandraView","getCassandraResourceCassandraViewOutput"], () => require("./getCassandraResourceCassandraView")); + +export { GetDatabaseAccountArgs, GetDatabaseAccountResult, GetDatabaseAccountOutputArgs } from "./getDatabaseAccount"; +export const getDatabaseAccount: typeof import("./getDatabaseAccount").getDatabaseAccount = null as any; +export const getDatabaseAccountOutput: typeof import("./getDatabaseAccount").getDatabaseAccountOutput = null as any; +utilities.lazyLoad(exports, ["getDatabaseAccount","getDatabaseAccountOutput"], () => require("./getDatabaseAccount")); + +export { GetGraphResourceGraphArgs, GetGraphResourceGraphResult, GetGraphResourceGraphOutputArgs } from "./getGraphResourceGraph"; +export const getGraphResourceGraph: typeof import("./getGraphResourceGraph").getGraphResourceGraph = null as any; +export const getGraphResourceGraphOutput: typeof import("./getGraphResourceGraph").getGraphResourceGraphOutput = null as any; +utilities.lazyLoad(exports, ["getGraphResourceGraph","getGraphResourceGraphOutput"], () => require("./getGraphResourceGraph")); + +export { GetGremlinResourceGremlinDatabaseArgs, GetGremlinResourceGremlinDatabaseResult, GetGremlinResourceGremlinDatabaseOutputArgs } from "./getGremlinResourceGremlinDatabase"; +export const getGremlinResourceGremlinDatabase: typeof import("./getGremlinResourceGremlinDatabase").getGremlinResourceGremlinDatabase = null as any; +export const getGremlinResourceGremlinDatabaseOutput: typeof import("./getGremlinResourceGremlinDatabase").getGremlinResourceGremlinDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getGremlinResourceGremlinDatabase","getGremlinResourceGremlinDatabaseOutput"], () => require("./getGremlinResourceGremlinDatabase")); + +export { GetGremlinResourceGremlinGraphArgs, GetGremlinResourceGremlinGraphResult, GetGremlinResourceGremlinGraphOutputArgs } from "./getGremlinResourceGremlinGraph"; +export const getGremlinResourceGremlinGraph: typeof import("./getGremlinResourceGremlinGraph").getGremlinResourceGremlinGraph = null as any; +export const getGremlinResourceGremlinGraphOutput: typeof import("./getGremlinResourceGremlinGraph").getGremlinResourceGremlinGraphOutput = null as any; +utilities.lazyLoad(exports, ["getGremlinResourceGremlinGraph","getGremlinResourceGremlinGraphOutput"], () => require("./getGremlinResourceGremlinGraph")); + +export { GetMongoClusterArgs, GetMongoClusterResult, GetMongoClusterOutputArgs } from "./getMongoCluster"; +export const getMongoCluster: typeof import("./getMongoCluster").getMongoCluster = null as any; +export const getMongoClusterOutput: typeof import("./getMongoCluster").getMongoClusterOutput = null as any; +utilities.lazyLoad(exports, ["getMongoCluster","getMongoClusterOutput"], () => require("./getMongoCluster")); + +export { GetMongoClusterFirewallRuleArgs, GetMongoClusterFirewallRuleResult, GetMongoClusterFirewallRuleOutputArgs } from "./getMongoClusterFirewallRule"; +export const getMongoClusterFirewallRule: typeof import("./getMongoClusterFirewallRule").getMongoClusterFirewallRule = null as any; +export const getMongoClusterFirewallRuleOutput: typeof import("./getMongoClusterFirewallRule").getMongoClusterFirewallRuleOutput = null as any; +utilities.lazyLoad(exports, ["getMongoClusterFirewallRule","getMongoClusterFirewallRuleOutput"], () => require("./getMongoClusterFirewallRule")); + +export { GetMongoDBResourceMongoDBCollectionArgs, GetMongoDBResourceMongoDBCollectionResult, GetMongoDBResourceMongoDBCollectionOutputArgs } from "./getMongoDBResourceMongoDBCollection"; +export const getMongoDBResourceMongoDBCollection: typeof import("./getMongoDBResourceMongoDBCollection").getMongoDBResourceMongoDBCollection = null as any; +export const getMongoDBResourceMongoDBCollectionOutput: typeof import("./getMongoDBResourceMongoDBCollection").getMongoDBResourceMongoDBCollectionOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoDBCollection","getMongoDBResourceMongoDBCollectionOutput"], () => require("./getMongoDBResourceMongoDBCollection")); + +export { GetMongoDBResourceMongoDBDatabaseArgs, GetMongoDBResourceMongoDBDatabaseResult, GetMongoDBResourceMongoDBDatabaseOutputArgs } from "./getMongoDBResourceMongoDBDatabase"; +export const getMongoDBResourceMongoDBDatabase: typeof import("./getMongoDBResourceMongoDBDatabase").getMongoDBResourceMongoDBDatabase = null as any; +export const getMongoDBResourceMongoDBDatabaseOutput: typeof import("./getMongoDBResourceMongoDBDatabase").getMongoDBResourceMongoDBDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoDBDatabase","getMongoDBResourceMongoDBDatabaseOutput"], () => require("./getMongoDBResourceMongoDBDatabase")); + +export { GetMongoDBResourceMongoRoleDefinitionArgs, GetMongoDBResourceMongoRoleDefinitionResult, GetMongoDBResourceMongoRoleDefinitionOutputArgs } from "./getMongoDBResourceMongoRoleDefinition"; +export const getMongoDBResourceMongoRoleDefinition: typeof import("./getMongoDBResourceMongoRoleDefinition").getMongoDBResourceMongoRoleDefinition = null as any; +export const getMongoDBResourceMongoRoleDefinitionOutput: typeof import("./getMongoDBResourceMongoRoleDefinition").getMongoDBResourceMongoRoleDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoRoleDefinition","getMongoDBResourceMongoRoleDefinitionOutput"], () => require("./getMongoDBResourceMongoRoleDefinition")); + +export { GetMongoDBResourceMongoUserDefinitionArgs, GetMongoDBResourceMongoUserDefinitionResult, GetMongoDBResourceMongoUserDefinitionOutputArgs } from "./getMongoDBResourceMongoUserDefinition"; +export const getMongoDBResourceMongoUserDefinition: typeof import("./getMongoDBResourceMongoUserDefinition").getMongoDBResourceMongoUserDefinition = null as any; +export const getMongoDBResourceMongoUserDefinitionOutput: typeof import("./getMongoDBResourceMongoUserDefinition").getMongoDBResourceMongoUserDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getMongoDBResourceMongoUserDefinition","getMongoDBResourceMongoUserDefinitionOutput"], () => require("./getMongoDBResourceMongoUserDefinition")); + +export { GetNotebookWorkspaceArgs, GetNotebookWorkspaceResult, GetNotebookWorkspaceOutputArgs } from "./getNotebookWorkspace"; +export const getNotebookWorkspace: typeof import("./getNotebookWorkspace").getNotebookWorkspace = null as any; +export const getNotebookWorkspaceOutput: typeof import("./getNotebookWorkspace").getNotebookWorkspaceOutput = null as any; +utilities.lazyLoad(exports, ["getNotebookWorkspace","getNotebookWorkspaceOutput"], () => require("./getNotebookWorkspace")); + +export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection"; +export const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection = null as any; +export const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnection","getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection")); + +export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; +export const getService: typeof import("./getService").getService = null as any; +export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; +utilities.lazyLoad(exports, ["getService","getServiceOutput"], () => require("./getService")); + +export { GetSqlResourceSqlContainerArgs, GetSqlResourceSqlContainerResult, GetSqlResourceSqlContainerOutputArgs } from "./getSqlResourceSqlContainer"; +export const getSqlResourceSqlContainer: typeof import("./getSqlResourceSqlContainer").getSqlResourceSqlContainer = null as any; +export const getSqlResourceSqlContainerOutput: typeof import("./getSqlResourceSqlContainer").getSqlResourceSqlContainerOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlContainer","getSqlResourceSqlContainerOutput"], () => require("./getSqlResourceSqlContainer")); + +export { GetSqlResourceSqlDatabaseArgs, GetSqlResourceSqlDatabaseResult, GetSqlResourceSqlDatabaseOutputArgs } from "./getSqlResourceSqlDatabase"; +export const getSqlResourceSqlDatabase: typeof import("./getSqlResourceSqlDatabase").getSqlResourceSqlDatabase = null as any; +export const getSqlResourceSqlDatabaseOutput: typeof import("./getSqlResourceSqlDatabase").getSqlResourceSqlDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlDatabase","getSqlResourceSqlDatabaseOutput"], () => require("./getSqlResourceSqlDatabase")); + +export { GetSqlResourceSqlRoleAssignmentArgs, GetSqlResourceSqlRoleAssignmentResult, GetSqlResourceSqlRoleAssignmentOutputArgs } from "./getSqlResourceSqlRoleAssignment"; +export const getSqlResourceSqlRoleAssignment: typeof import("./getSqlResourceSqlRoleAssignment").getSqlResourceSqlRoleAssignment = null as any; +export const getSqlResourceSqlRoleAssignmentOutput: typeof import("./getSqlResourceSqlRoleAssignment").getSqlResourceSqlRoleAssignmentOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlRoleAssignment","getSqlResourceSqlRoleAssignmentOutput"], () => require("./getSqlResourceSqlRoleAssignment")); + +export { GetSqlResourceSqlRoleDefinitionArgs, GetSqlResourceSqlRoleDefinitionResult, GetSqlResourceSqlRoleDefinitionOutputArgs } from "./getSqlResourceSqlRoleDefinition"; +export const getSqlResourceSqlRoleDefinition: typeof import("./getSqlResourceSqlRoleDefinition").getSqlResourceSqlRoleDefinition = null as any; +export const getSqlResourceSqlRoleDefinitionOutput: typeof import("./getSqlResourceSqlRoleDefinition").getSqlResourceSqlRoleDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlRoleDefinition","getSqlResourceSqlRoleDefinitionOutput"], () => require("./getSqlResourceSqlRoleDefinition")); + +export { GetSqlResourceSqlStoredProcedureArgs, GetSqlResourceSqlStoredProcedureResult, GetSqlResourceSqlStoredProcedureOutputArgs } from "./getSqlResourceSqlStoredProcedure"; +export const getSqlResourceSqlStoredProcedure: typeof import("./getSqlResourceSqlStoredProcedure").getSqlResourceSqlStoredProcedure = null as any; +export const getSqlResourceSqlStoredProcedureOutput: typeof import("./getSqlResourceSqlStoredProcedure").getSqlResourceSqlStoredProcedureOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlStoredProcedure","getSqlResourceSqlStoredProcedureOutput"], () => require("./getSqlResourceSqlStoredProcedure")); + +export { GetSqlResourceSqlTriggerArgs, GetSqlResourceSqlTriggerResult, GetSqlResourceSqlTriggerOutputArgs } from "./getSqlResourceSqlTrigger"; +export const getSqlResourceSqlTrigger: typeof import("./getSqlResourceSqlTrigger").getSqlResourceSqlTrigger = null as any; +export const getSqlResourceSqlTriggerOutput: typeof import("./getSqlResourceSqlTrigger").getSqlResourceSqlTriggerOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlTrigger","getSqlResourceSqlTriggerOutput"], () => require("./getSqlResourceSqlTrigger")); + +export { GetSqlResourceSqlUserDefinedFunctionArgs, GetSqlResourceSqlUserDefinedFunctionResult, GetSqlResourceSqlUserDefinedFunctionOutputArgs } from "./getSqlResourceSqlUserDefinedFunction"; +export const getSqlResourceSqlUserDefinedFunction: typeof import("./getSqlResourceSqlUserDefinedFunction").getSqlResourceSqlUserDefinedFunction = null as any; +export const getSqlResourceSqlUserDefinedFunctionOutput: typeof import("./getSqlResourceSqlUserDefinedFunction").getSqlResourceSqlUserDefinedFunctionOutput = null as any; +utilities.lazyLoad(exports, ["getSqlResourceSqlUserDefinedFunction","getSqlResourceSqlUserDefinedFunctionOutput"], () => require("./getSqlResourceSqlUserDefinedFunction")); + +export { GetTableResourceTableArgs, GetTableResourceTableResult, GetTableResourceTableOutputArgs } from "./getTableResourceTable"; +export const getTableResourceTable: typeof import("./getTableResourceTable").getTableResourceTable = null as any; +export const getTableResourceTableOutput: typeof import("./getTableResourceTable").getTableResourceTableOutput = null as any; +utilities.lazyLoad(exports, ["getTableResourceTable","getTableResourceTableOutput"], () => require("./getTableResourceTable")); + +export { GraphResourceGraphArgs } from "./graphResourceGraph"; +export type GraphResourceGraph = import("./graphResourceGraph").GraphResourceGraph; +export const GraphResourceGraph: typeof import("./graphResourceGraph").GraphResourceGraph = null as any; +utilities.lazyLoad(exports, ["GraphResourceGraph"], () => require("./graphResourceGraph")); + +export { GremlinResourceGremlinDatabaseArgs } from "./gremlinResourceGremlinDatabase"; +export type GremlinResourceGremlinDatabase = import("./gremlinResourceGremlinDatabase").GremlinResourceGremlinDatabase; +export const GremlinResourceGremlinDatabase: typeof import("./gremlinResourceGremlinDatabase").GremlinResourceGremlinDatabase = null as any; +utilities.lazyLoad(exports, ["GremlinResourceGremlinDatabase"], () => require("./gremlinResourceGremlinDatabase")); + +export { GremlinResourceGremlinGraphArgs } from "./gremlinResourceGremlinGraph"; +export type GremlinResourceGremlinGraph = import("./gremlinResourceGremlinGraph").GremlinResourceGremlinGraph; +export const GremlinResourceGremlinGraph: typeof import("./gremlinResourceGremlinGraph").GremlinResourceGremlinGraph = null as any; +utilities.lazyLoad(exports, ["GremlinResourceGremlinGraph"], () => require("./gremlinResourceGremlinGraph")); + +export { ListDatabaseAccountConnectionStringsArgs, ListDatabaseAccountConnectionStringsResult, ListDatabaseAccountConnectionStringsOutputArgs } from "./listDatabaseAccountConnectionStrings"; +export const listDatabaseAccountConnectionStrings: typeof import("./listDatabaseAccountConnectionStrings").listDatabaseAccountConnectionStrings = null as any; +export const listDatabaseAccountConnectionStringsOutput: typeof import("./listDatabaseAccountConnectionStrings").listDatabaseAccountConnectionStringsOutput = null as any; +utilities.lazyLoad(exports, ["listDatabaseAccountConnectionStrings","listDatabaseAccountConnectionStringsOutput"], () => require("./listDatabaseAccountConnectionStrings")); + +export { ListDatabaseAccountKeysArgs, ListDatabaseAccountKeysResult, ListDatabaseAccountKeysOutputArgs } from "./listDatabaseAccountKeys"; +export const listDatabaseAccountKeys: typeof import("./listDatabaseAccountKeys").listDatabaseAccountKeys = null as any; +export const listDatabaseAccountKeysOutput: typeof import("./listDatabaseAccountKeys").listDatabaseAccountKeysOutput = null as any; +utilities.lazyLoad(exports, ["listDatabaseAccountKeys","listDatabaseAccountKeysOutput"], () => require("./listDatabaseAccountKeys")); + +export { ListMongoClusterConnectionStringsArgs, ListMongoClusterConnectionStringsResult, ListMongoClusterConnectionStringsOutputArgs } from "./listMongoClusterConnectionStrings"; +export const listMongoClusterConnectionStrings: typeof import("./listMongoClusterConnectionStrings").listMongoClusterConnectionStrings = null as any; +export const listMongoClusterConnectionStringsOutput: typeof import("./listMongoClusterConnectionStrings").listMongoClusterConnectionStringsOutput = null as any; +utilities.lazyLoad(exports, ["listMongoClusterConnectionStrings","listMongoClusterConnectionStringsOutput"], () => require("./listMongoClusterConnectionStrings")); + +export { ListNotebookWorkspaceConnectionInfoArgs, ListNotebookWorkspaceConnectionInfoResult, ListNotebookWorkspaceConnectionInfoOutputArgs } from "./listNotebookWorkspaceConnectionInfo"; +export const listNotebookWorkspaceConnectionInfo: typeof import("./listNotebookWorkspaceConnectionInfo").listNotebookWorkspaceConnectionInfo = null as any; +export const listNotebookWorkspaceConnectionInfoOutput: typeof import("./listNotebookWorkspaceConnectionInfo").listNotebookWorkspaceConnectionInfoOutput = null as any; +utilities.lazyLoad(exports, ["listNotebookWorkspaceConnectionInfo","listNotebookWorkspaceConnectionInfoOutput"], () => require("./listNotebookWorkspaceConnectionInfo")); + +export { MongoClusterArgs } from "./mongoCluster"; +export type MongoCluster = import("./mongoCluster").MongoCluster; +export const MongoCluster: typeof import("./mongoCluster").MongoCluster = null as any; +utilities.lazyLoad(exports, ["MongoCluster"], () => require("./mongoCluster")); + +export { MongoClusterFirewallRuleArgs } from "./mongoClusterFirewallRule"; +export type MongoClusterFirewallRule = import("./mongoClusterFirewallRule").MongoClusterFirewallRule; +export const MongoClusterFirewallRule: typeof import("./mongoClusterFirewallRule").MongoClusterFirewallRule = null as any; +utilities.lazyLoad(exports, ["MongoClusterFirewallRule"], () => require("./mongoClusterFirewallRule")); + +export { MongoDBResourceMongoDBCollectionArgs } from "./mongoDBResourceMongoDBCollection"; +export type MongoDBResourceMongoDBCollection = import("./mongoDBResourceMongoDBCollection").MongoDBResourceMongoDBCollection; +export const MongoDBResourceMongoDBCollection: typeof import("./mongoDBResourceMongoDBCollection").MongoDBResourceMongoDBCollection = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoDBCollection"], () => require("./mongoDBResourceMongoDBCollection")); + +export { MongoDBResourceMongoDBDatabaseArgs } from "./mongoDBResourceMongoDBDatabase"; +export type MongoDBResourceMongoDBDatabase = import("./mongoDBResourceMongoDBDatabase").MongoDBResourceMongoDBDatabase; +export const MongoDBResourceMongoDBDatabase: typeof import("./mongoDBResourceMongoDBDatabase").MongoDBResourceMongoDBDatabase = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoDBDatabase"], () => require("./mongoDBResourceMongoDBDatabase")); + +export { MongoDBResourceMongoRoleDefinitionArgs } from "./mongoDBResourceMongoRoleDefinition"; +export type MongoDBResourceMongoRoleDefinition = import("./mongoDBResourceMongoRoleDefinition").MongoDBResourceMongoRoleDefinition; +export const MongoDBResourceMongoRoleDefinition: typeof import("./mongoDBResourceMongoRoleDefinition").MongoDBResourceMongoRoleDefinition = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoRoleDefinition"], () => require("./mongoDBResourceMongoRoleDefinition")); + +export { MongoDBResourceMongoUserDefinitionArgs } from "./mongoDBResourceMongoUserDefinition"; +export type MongoDBResourceMongoUserDefinition = import("./mongoDBResourceMongoUserDefinition").MongoDBResourceMongoUserDefinition; +export const MongoDBResourceMongoUserDefinition: typeof import("./mongoDBResourceMongoUserDefinition").MongoDBResourceMongoUserDefinition = null as any; +utilities.lazyLoad(exports, ["MongoDBResourceMongoUserDefinition"], () => require("./mongoDBResourceMongoUserDefinition")); + +export { NotebookWorkspaceArgs } from "./notebookWorkspace"; +export type NotebookWorkspace = import("./notebookWorkspace").NotebookWorkspace; +export const NotebookWorkspace: typeof import("./notebookWorkspace").NotebookWorkspace = null as any; +utilities.lazyLoad(exports, ["NotebookWorkspace"], () => require("./notebookWorkspace")); + +export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; +export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; +export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection")); + +export { ServiceArgs } from "./service"; +export type Service = import("./service").Service; +export const Service: typeof import("./service").Service = null as any; +utilities.lazyLoad(exports, ["Service"], () => require("./service")); + +export { SqlResourceSqlContainerArgs } from "./sqlResourceSqlContainer"; +export type SqlResourceSqlContainer = import("./sqlResourceSqlContainer").SqlResourceSqlContainer; +export const SqlResourceSqlContainer: typeof import("./sqlResourceSqlContainer").SqlResourceSqlContainer = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlContainer"], () => require("./sqlResourceSqlContainer")); + +export { SqlResourceSqlDatabaseArgs } from "./sqlResourceSqlDatabase"; +export type SqlResourceSqlDatabase = import("./sqlResourceSqlDatabase").SqlResourceSqlDatabase; +export const SqlResourceSqlDatabase: typeof import("./sqlResourceSqlDatabase").SqlResourceSqlDatabase = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlDatabase"], () => require("./sqlResourceSqlDatabase")); + +export { SqlResourceSqlRoleAssignmentArgs } from "./sqlResourceSqlRoleAssignment"; +export type SqlResourceSqlRoleAssignment = import("./sqlResourceSqlRoleAssignment").SqlResourceSqlRoleAssignment; +export const SqlResourceSqlRoleAssignment: typeof import("./sqlResourceSqlRoleAssignment").SqlResourceSqlRoleAssignment = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlRoleAssignment"], () => require("./sqlResourceSqlRoleAssignment")); + +export { SqlResourceSqlRoleDefinitionArgs } from "./sqlResourceSqlRoleDefinition"; +export type SqlResourceSqlRoleDefinition = import("./sqlResourceSqlRoleDefinition").SqlResourceSqlRoleDefinition; +export const SqlResourceSqlRoleDefinition: typeof import("./sqlResourceSqlRoleDefinition").SqlResourceSqlRoleDefinition = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlRoleDefinition"], () => require("./sqlResourceSqlRoleDefinition")); + +export { SqlResourceSqlStoredProcedureArgs } from "./sqlResourceSqlStoredProcedure"; +export type SqlResourceSqlStoredProcedure = import("./sqlResourceSqlStoredProcedure").SqlResourceSqlStoredProcedure; +export const SqlResourceSqlStoredProcedure: typeof import("./sqlResourceSqlStoredProcedure").SqlResourceSqlStoredProcedure = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlStoredProcedure"], () => require("./sqlResourceSqlStoredProcedure")); + +export { SqlResourceSqlTriggerArgs } from "./sqlResourceSqlTrigger"; +export type SqlResourceSqlTrigger = import("./sqlResourceSqlTrigger").SqlResourceSqlTrigger; +export const SqlResourceSqlTrigger: typeof import("./sqlResourceSqlTrigger").SqlResourceSqlTrigger = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlTrigger"], () => require("./sqlResourceSqlTrigger")); + +export { SqlResourceSqlUserDefinedFunctionArgs } from "./sqlResourceSqlUserDefinedFunction"; +export type SqlResourceSqlUserDefinedFunction = import("./sqlResourceSqlUserDefinedFunction").SqlResourceSqlUserDefinedFunction; +export const SqlResourceSqlUserDefinedFunction: typeof import("./sqlResourceSqlUserDefinedFunction").SqlResourceSqlUserDefinedFunction = null as any; +utilities.lazyLoad(exports, ["SqlResourceSqlUserDefinedFunction"], () => require("./sqlResourceSqlUserDefinedFunction")); + +export { TableResourceTableArgs } from "./tableResourceTable"; +export type TableResourceTable = import("./tableResourceTable").TableResourceTable; +export const TableResourceTable: typeof import("./tableResourceTable").TableResourceTable = null as any; +utilities.lazyLoad(exports, ["TableResourceTable"], () => require("./tableResourceTable")); + + +// Export enums: +export * from "../../types/enums/documentdb/v20230915preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:documentdb/v20230915preview:CassandraCluster": + return new CassandraCluster(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:CassandraDataCenter": + return new CassandraDataCenter(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace": + return new CassandraResourceCassandraKeyspace(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable": + return new CassandraResourceCassandraTable(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView": + return new CassandraResourceCassandraView(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:DatabaseAccount": + return new DatabaseAccount(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:GraphResourceGraph": + return new GraphResourceGraph(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase": + return new GremlinResourceGremlinDatabase(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph": + return new GremlinResourceGremlinGraph(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:MongoCluster": + return new MongoCluster(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule": + return new MongoClusterFirewallRule(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection": + return new MongoDBResourceMongoDBCollection(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase": + return new MongoDBResourceMongoDBDatabase(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition": + return new MongoDBResourceMongoRoleDefinition(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition": + return new MongoDBResourceMongoUserDefinition(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:NotebookWorkspace": + return new NotebookWorkspace(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:Service": + return new Service(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer": + return new SqlResourceSqlContainer(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase": + return new SqlResourceSqlDatabase(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment": + return new SqlResourceSqlRoleAssignment(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition": + return new SqlResourceSqlRoleDefinition(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure": + return new SqlResourceSqlStoredProcedure(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger": + return new SqlResourceSqlTrigger(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction": + return new SqlResourceSqlUserDefinedFunction(name, undefined, { urn }) + case "azure-native:documentdb/v20230915preview:TableResourceTable": + return new TableResourceTable(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "documentdb/v20230915preview", _module) diff --git a/sdk/nodejs/documentdb/v20230915preview/listDatabaseAccountConnectionStrings.ts b/sdk/nodejs/documentdb/v20230915preview/listDatabaseAccountConnectionStrings.ts new file mode 100644 index 000000000000..d39ff1ce3508 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/listDatabaseAccountConnectionStrings.ts @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Lists the connection strings for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountConnectionStrings(args: ListDatabaseAccountConnectionStringsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:listDatabaseAccountConnectionStrings", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListDatabaseAccountConnectionStringsArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The connection strings for the given database account. + */ +export interface ListDatabaseAccountConnectionStringsResult { + /** + * An array that contains the connection strings for the Cosmos DB account. + */ + readonly connectionStrings?: outputs.documentdb.v20230915preview.DatabaseAccountConnectionStringResponse[]; +} +/** + * Lists the connection strings for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountConnectionStringsOutput(args: ListDatabaseAccountConnectionStringsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listDatabaseAccountConnectionStrings(a, opts)) +} + +export interface ListDatabaseAccountConnectionStringsOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/listDatabaseAccountKeys.ts b/sdk/nodejs/documentdb/v20230915preview/listDatabaseAccountKeys.ts new file mode 100644 index 000000000000..8d8920018c4a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/listDatabaseAccountKeys.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Lists the access keys for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountKeys(args: ListDatabaseAccountKeysArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:listDatabaseAccountKeys", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListDatabaseAccountKeysArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The access keys for the given database account. + */ +export interface ListDatabaseAccountKeysResult { + /** + * Base 64 encoded value of the primary read-write key. + */ + readonly primaryMasterKey: string; + /** + * Base 64 encoded value of the primary read-only key. + */ + readonly primaryReadonlyMasterKey: string; + /** + * Base 64 encoded value of the secondary read-write key. + */ + readonly secondaryMasterKey: string; + /** + * Base 64 encoded value of the secondary read-only key. + */ + readonly secondaryReadonlyMasterKey: string; +} +/** + * Lists the access keys for the specified Azure Cosmos DB database account. + */ +export function listDatabaseAccountKeysOutput(args: ListDatabaseAccountKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listDatabaseAccountKeys(a, opts)) +} + +export interface ListDatabaseAccountKeysOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/listMongoClusterConnectionStrings.ts b/sdk/nodejs/documentdb/v20230915preview/listMongoClusterConnectionStrings.ts new file mode 100644 index 000000000000..d010bb116c4d --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/listMongoClusterConnectionStrings.ts @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + */ +export function listMongoClusterConnectionStrings(args: ListMongoClusterConnectionStringsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:listMongoClusterConnectionStrings", { + "mongoClusterName": args.mongoClusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListMongoClusterConnectionStringsArgs { + /** + * The name of the mongo cluster. + */ + mongoClusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The connection strings for the given mongo cluster. + */ +export interface ListMongoClusterConnectionStringsResult { + /** + * An array that contains the connection strings for a mongo cluster. + */ + readonly connectionStrings: outputs.documentdb.v20230915preview.ConnectionStringResponse[]; +} +/** + * List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + */ +export function listMongoClusterConnectionStringsOutput(args: ListMongoClusterConnectionStringsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listMongoClusterConnectionStrings(a, opts)) +} + +export interface ListMongoClusterConnectionStringsOutputArgs { + /** + * The name of the mongo cluster. + */ + mongoClusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/listNotebookWorkspaceConnectionInfo.ts b/sdk/nodejs/documentdb/v20230915preview/listNotebookWorkspaceConnectionInfo.ts new file mode 100644 index 000000000000..6a81023f42c8 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/listNotebookWorkspaceConnectionInfo.ts @@ -0,0 +1,68 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Retrieves the connection info for the notebook workspace + */ +export function listNotebookWorkspaceConnectionInfo(args: ListNotebookWorkspaceConnectionInfoArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:documentdb/v20230915preview:listNotebookWorkspaceConnectionInfo", { + "accountName": args.accountName, + "notebookWorkspaceName": args.notebookWorkspaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListNotebookWorkspaceConnectionInfoArgs { + /** + * Cosmos DB database account name. + */ + accountName: string; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The connection info for the given notebook workspace + */ +export interface ListNotebookWorkspaceConnectionInfoResult { + /** + * Specifies auth token used for connecting to Notebook server (uses token-based auth). + */ + readonly authToken: string; + /** + * Specifies the endpoint of Notebook server. + */ + readonly notebookServerEndpoint: string; +} +/** + * Retrieves the connection info for the notebook workspace + */ +export function listNotebookWorkspaceConnectionInfoOutput(args: ListNotebookWorkspaceConnectionInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listNotebookWorkspaceConnectionInfo(a, opts)) +} + +export interface ListNotebookWorkspaceConnectionInfoOutputArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/mongoCluster.ts b/sdk/nodejs/documentdb/v20230915preview/mongoCluster.ts new file mode 100644 index 000000000000..f4b24cd512c1 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/mongoCluster.ts @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a mongo cluster resource. + */ +export class MongoCluster extends pulumi.CustomResource { + /** + * Get an existing MongoCluster 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoCluster { + return new MongoCluster(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:MongoCluster'; + + /** + * Returns true if the given object is an instance of MongoCluster. 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 MongoCluster { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoCluster.__pulumiType; + } + + /** + * The administrator's login for the mongo cluster. + */ + public readonly administratorLogin!: pulumi.Output; + /** + * A status of the mongo cluster. + */ + public /*out*/ readonly clusterStatus!: pulumi.Output; + /** + * The default mongo connection string for the cluster. + */ + public /*out*/ readonly connectionString!: pulumi.Output; + /** + * Earliest restore timestamp in UTC ISO8601 format. + */ + public /*out*/ readonly earliestRestoreTime!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The list of node group specs in the cluster. + */ + public readonly nodeGroupSpecs!: pulumi.Output; + /** + * A provisioning state of the mongo cluster. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The Mongo DB server version. Defaults to the latest available version if not specified. + */ + public readonly serverVersion!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MongoCluster 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: MongoClusterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["administratorLogin"] = args ? args.administratorLogin : undefined; + resourceInputs["administratorLoginPassword"] = args ? args.administratorLoginPassword : undefined; + resourceInputs["createMode"] = (args ? args.createMode : undefined) ?? "Default"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["mongoClusterName"] = args ? args.mongoClusterName : undefined; + resourceInputs["nodeGroupSpecs"] = args ? args.nodeGroupSpecs : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["restoreParameters"] = args ? args.restoreParameters : undefined; + resourceInputs["serverVersion"] = args ? args.serverVersion : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["clusterStatus"] = undefined /*out*/; + resourceInputs["connectionString"] = undefined /*out*/; + resourceInputs["earliestRestoreTime"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["administratorLogin"] = undefined /*out*/; + resourceInputs["clusterStatus"] = undefined /*out*/; + resourceInputs["connectionString"] = undefined /*out*/; + resourceInputs["earliestRestoreTime"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["nodeGroupSpecs"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["serverVersion"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoCluster" }, { type: "azure-native:documentdb/v20230301preview:MongoCluster" }, { type: "azure-native:documentdb/v20230315preview:MongoCluster" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoCluster.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoCluster resource. + */ +export interface MongoClusterArgs { + /** + * The administrator's login for the mongo cluster. + */ + administratorLogin?: pulumi.Input; + /** + * The password of the administrator login. + */ + administratorLoginPassword?: pulumi.Input; + /** + * The mode to create a mongo cluster. + */ + createMode?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The name of the mongo cluster. + */ + mongoClusterName?: pulumi.Input; + /** + * The list of node group specs in the cluster. + */ + nodeGroupSpecs?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Parameters used for restore operations + */ + restoreParameters?: pulumi.Input; + /** + * The Mongo DB server version. Defaults to the latest available version if not specified. + */ + serverVersion?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/mongoClusterFirewallRule.ts b/sdk/nodejs/documentdb/v20230915preview/mongoClusterFirewallRule.ts new file mode 100644 index 000000000000..b580eee64440 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/mongoClusterFirewallRule.ts @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a mongo cluster firewall rule. + */ +export class MongoClusterFirewallRule extends pulumi.CustomResource { + /** + * Get an existing MongoClusterFirewallRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoClusterFirewallRule { + return new MongoClusterFirewallRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:MongoClusterFirewallRule'; + + /** + * Returns true if the given object is an instance of MongoClusterFirewallRule. 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 MongoClusterFirewallRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoClusterFirewallRule.__pulumiType; + } + + /** + * The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + */ + public readonly endIpAddress!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioning state of the firewall rule. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + */ + public readonly startIpAddress!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MongoClusterFirewallRule 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: MongoClusterFirewallRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.endIpAddress === undefined) && !opts.urn) { + throw new Error("Missing required property 'endIpAddress'"); + } + if ((!args || args.mongoClusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'mongoClusterName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.startIpAddress === undefined) && !opts.urn) { + throw new Error("Missing required property 'startIpAddress'"); + } + resourceInputs["endIpAddress"] = args ? args.endIpAddress : undefined; + resourceInputs["firewallRuleName"] = args ? args.firewallRuleName : undefined; + resourceInputs["mongoClusterName"] = args ? args.mongoClusterName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["startIpAddress"] = args ? args.startIpAddress : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["endIpAddress"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["startIpAddress"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230301preview:MongoClusterFirewallRule" }, { type: "azure-native:documentdb/v20230315preview:MongoClusterFirewallRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoClusterFirewallRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoClusterFirewallRule resource. + */ +export interface MongoClusterFirewallRuleArgs { + /** + * The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + */ + endIpAddress: pulumi.Input; + /** + * The name of the mongo cluster firewall rule. + */ + firewallRuleName?: pulumi.Input; + /** + * The name of the mongo cluster. + */ + mongoClusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + */ + startIpAddress: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoDBCollection.ts b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoDBCollection.ts new file mode 100644 index 000000000000..75cd56c32fef --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoDBCollection.ts @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB MongoDB collection. + */ +export class MongoDBResourceMongoDBCollection extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoDBCollection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoDBCollection { + return new MongoDBResourceMongoDBCollection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoDBCollection. 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 MongoDBResourceMongoDBCollection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoDBCollection.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoDBCollection 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: MongoDBResourceMongoDBCollectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["collectionName"] = args ? args.collectionName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoDBCollection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoDBCollection resource. + */ +export interface MongoDBResourceMongoDBCollectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB collection name. + */ + collectionName?: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a MongoDB collection + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoDBDatabase.ts b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoDBDatabase.ts new file mode 100644 index 000000000000..a5040e7ce18a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoDBDatabase.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB MongoDB database. + */ +export class MongoDBResourceMongoDBDatabase extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoDBDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoDBDatabase { + return new MongoDBResourceMongoDBDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoDBDatabase. 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 MongoDBResourceMongoDBDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoDBDatabase.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoDBDatabase 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: MongoDBResourceMongoDBDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoDBDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoDBDatabase resource. + */ +export interface MongoDBResourceMongoDBDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a MongoDB database + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoRoleDefinition.ts new file mode 100644 index 000000000000..4fc0c54d31d3 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoRoleDefinition.ts @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Mongo Role Definition. + */ +export class MongoDBResourceMongoRoleDefinition extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoRoleDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoRoleDefinition { + return new MongoDBResourceMongoRoleDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoRoleDefinition. 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 MongoDBResourceMongoRoleDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoRoleDefinition.__pulumiType; + } + + /** + * The database name for which access is being granted for this Role Definition. + */ + public readonly databaseName!: pulumi.Output; + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + */ + public readonly privileges!: pulumi.Output; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + public readonly roleName!: pulumi.Output; + /** + * The set of roles inherited by this Role Definition. + */ + public readonly roles!: pulumi.Output; + /** + * The type of Azure resource. + */ + public readonly type!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoRoleDefinition 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: MongoDBResourceMongoRoleDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["mongoRoleDefinitionId"] = args ? args.mongoRoleDefinitionId : undefined; + resourceInputs["privileges"] = args ? args.privileges : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleName"] = args ? args.roleName : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["name"] = undefined /*out*/; + } else { + resourceInputs["databaseName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privileges"] = undefined /*out*/; + resourceInputs["roleName"] = undefined /*out*/; + resourceInputs["roles"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoRoleDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoRoleDefinition resource. + */ +export interface MongoDBResourceMongoRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The database name for which access is being granted for this Role Definition. + */ + databaseName?: pulumi.Input; + /** + * The ID for the Role Definition {dbName.roleName}. + */ + mongoRoleDefinitionId?: pulumi.Input; + /** + * A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + */ + privileges?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + roleName?: pulumi.Input; + /** + * The set of roles inherited by this Role Definition. + */ + roles?: pulumi.Input[]>; + /** + * Indicates whether the Role Definition was built-in or user created. + */ + type?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoUserDefinition.ts b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoUserDefinition.ts new file mode 100644 index 000000000000..921e55df798f --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/mongoDBResourceMongoUserDefinition.ts @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB User Definition + */ +export class MongoDBResourceMongoUserDefinition extends pulumi.CustomResource { + /** + * Get an existing MongoDBResourceMongoUserDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MongoDBResourceMongoUserDefinition { + return new MongoDBResourceMongoUserDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition'; + + /** + * Returns true if the given object is an instance of MongoDBResourceMongoUserDefinition. 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 MongoDBResourceMongoUserDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MongoDBResourceMongoUserDefinition.__pulumiType; + } + + /** + * A custom definition for the USer Definition. + */ + public readonly customData!: pulumi.Output; + /** + * The database name for which access is being granted for this User Definition. + */ + public readonly databaseName!: pulumi.Output; + /** + * The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + */ + public readonly mechanisms!: pulumi.Output; + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The password for User Definition. Response does not contain user password. + */ + public readonly password!: pulumi.Output; + /** + * The set of roles inherited by the User Definition. + */ + public readonly roles!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The user name for User Definition. + */ + public readonly userName!: pulumi.Output; + + /** + * Create a MongoDBResourceMongoUserDefinition 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: MongoDBResourceMongoUserDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["customData"] = args ? args.customData : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["mechanisms"] = args ? args.mechanisms : undefined; + resourceInputs["mongoUserDefinitionId"] = args ? args.mongoUserDefinitionId : undefined; + resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["userName"] = args ? args.userName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["customData"] = undefined /*out*/; + resourceInputs["databaseName"] = undefined /*out*/; + resourceInputs["mechanisms"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["password"] = undefined /*out*/; + resourceInputs["roles"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["userName"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition" }, { type: "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MongoDBResourceMongoUserDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MongoDBResourceMongoUserDefinition resource. + */ +export interface MongoDBResourceMongoUserDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * A custom definition for the USer Definition. + */ + customData?: pulumi.Input; + /** + * The database name for which access is being granted for this User Definition. + */ + databaseName?: pulumi.Input; + /** + * The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + */ + mechanisms?: pulumi.Input; + /** + * The ID for the User Definition {dbName.userName}. + */ + mongoUserDefinitionId?: pulumi.Input; + /** + * The password for User Definition. Response does not contain user password. + */ + password?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The set of roles inherited by the User Definition. + */ + roles?: pulumi.Input[]>; + /** + * The user name for User Definition. + */ + userName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/notebookWorkspace.ts b/sdk/nodejs/documentdb/v20230915preview/notebookWorkspace.ts new file mode 100644 index 000000000000..e34d2e7a1e0a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/notebookWorkspace.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * A notebook workspace resource + */ +export class NotebookWorkspace extends pulumi.CustomResource { + /** + * Get an existing NotebookWorkspace 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NotebookWorkspace { + return new NotebookWorkspace(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:NotebookWorkspace'; + + /** + * Returns true if the given object is an instance of NotebookWorkspace. 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 NotebookWorkspace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === NotebookWorkspace.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Specifies the endpoint of Notebook server. + */ + public /*out*/ readonly notebookServerEndpoint!: pulumi.Output; + /** + * Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a NotebookWorkspace 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: NotebookWorkspaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["notebookWorkspaceName"] = args ? args.notebookWorkspaceName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["notebookServerEndpoint"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["notebookServerEndpoint"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:NotebookWorkspace" }, { type: "azure-native:documentdb/v20190801:NotebookWorkspace" }, { type: "azure-native:documentdb/v20191212:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200301:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200401:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200601preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20200901:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210401preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210615:NotebookWorkspace" }, { type: "azure-native:documentdb/v20210701preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211015preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20211115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220215preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220515preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815:NotebookWorkspace" }, { type: "azure-native:documentdb/v20220815preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115:NotebookWorkspace" }, { type: "azure-native:documentdb/v20221115preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230301preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230315preview:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230415:NotebookWorkspace" }, { type: "azure-native:documentdb/v20230915:NotebookWorkspace" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(NotebookWorkspace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a NotebookWorkspace resource. + */ +export interface NotebookWorkspaceArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The name of the notebook workspace resource. + */ + notebookWorkspaceName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/privateEndpointConnection.ts b/sdk/nodejs/documentdb/v20230915preview/privateEndpointConnection.ts new file mode 100644 index 000000000000..eae30e458360 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/privateEndpointConnection.ts @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A private endpoint connection + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. 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 PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * Group id of the private endpoint. + */ + public readonly groupId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Private endpoint which the connection belongs to. + */ + public readonly privateEndpoint!: pulumi.Output; + /** + * Connection State of the Private Endpoint Connection. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * Provisioning state of the private endpoint. + */ + public readonly provisioningState!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection 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: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["groupId"] = args ? args.groupId : undefined; + resourceInputs["privateEndpoint"] = args ? args.privateEndpoint : undefined; + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["provisioningState"] = args ? args.provisioningState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["groupId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20190801preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210615:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20210701preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211015preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20211115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220215preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220515preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20220815preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20221115preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230301preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230315preview:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230415:PrivateEndpointConnection" }, { type: "azure-native:documentdb/v20230915:PrivateEndpointConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Group id of the private endpoint. + */ + groupId?: pulumi.Input; + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: pulumi.Input; + /** + * Provisioning state of the private endpoint. + */ + provisioningState?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/service.ts b/sdk/nodejs/documentdb/v20230915preview/service.ts new file mode 100644 index 000000000000..be95e36501b4 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/service.ts @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Properties for the database account. + */ +export class Service extends pulumi.CustomResource { + /** + * Get an existing Service 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Service { + return new Service(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:Service'; + + /** + * Returns true if the given object is an instance of Service. 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 Service { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Service.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Services response resource. + */ + public /*out*/ readonly properties!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Service 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: ServiceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["instanceCount"] = args ? args.instanceCount : undefined; + resourceInputs["instanceSize"] = args ? args.instanceSize : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["serviceName"] = args ? args.serviceName : undefined; + resourceInputs["serviceType"] = args ? args.serviceType : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:Service" }, { type: "azure-native:documentdb/v20210401preview:Service" }, { type: "azure-native:documentdb/v20210701preview:Service" }, { type: "azure-native:documentdb/v20211015preview:Service" }, { type: "azure-native:documentdb/v20211115preview:Service" }, { type: "azure-native:documentdb/v20220215preview:Service" }, { type: "azure-native:documentdb/v20220515:Service" }, { type: "azure-native:documentdb/v20220515preview:Service" }, { type: "azure-native:documentdb/v20220815:Service" }, { type: "azure-native:documentdb/v20220815preview:Service" }, { type: "azure-native:documentdb/v20221115:Service" }, { type: "azure-native:documentdb/v20221115preview:Service" }, { type: "azure-native:documentdb/v20230301preview:Service" }, { type: "azure-native:documentdb/v20230315:Service" }, { type: "azure-native:documentdb/v20230315preview:Service" }, { type: "azure-native:documentdb/v20230415:Service" }, { type: "azure-native:documentdb/v20230915:Service" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Service.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Service resource. + */ +export interface ServiceArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Instance count for the service. + */ + instanceCount?: pulumi.Input; + /** + * Instance type for the service. + */ + instanceSize?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB service name. + */ + serviceName?: pulumi.Input; + /** + * ServiceType for the service. + */ + serviceType?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlContainer.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlContainer.ts new file mode 100644 index 000000000000..d32312a2f10f --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlContainer.ts @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB container. + */ +export class SqlResourceSqlContainer extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlContainer 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlContainer { + return new SqlResourceSqlContainer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlContainer'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlContainer. 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 SqlResourceSqlContainer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlContainer.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlContainer 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: SqlResourceSqlContainerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? (args.resource ? pulumi.output(args.resource).apply(inputs.documentdb.v20230915preview.sqlContainerResourceArgsProvideDefaults) : undefined) : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlContainer" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlContainer" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlContainer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlContainer resource. + */ +export interface SqlResourceSqlContainerArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName?: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a container + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlDatabase.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlDatabase.ts new file mode 100644 index 000000000000..3a0e035043a9 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlDatabase.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB SQL database. + */ +export class SqlResourceSqlDatabase extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlDatabase { + return new SqlResourceSqlDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlDatabase. 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 SqlResourceSqlDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlDatabase.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlDatabase 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: SqlResourceSqlDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20150408:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20151106:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160319:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20160331:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlDatabase" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlDatabase resource. + */ +export interface SqlResourceSqlDatabaseArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName?: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a SQL database + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlRoleAssignment.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlRoleAssignment.ts new file mode 100644 index 000000000000..9d17c15a774a --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlRoleAssignment.ts @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * An Azure Cosmos DB Role Assignment + */ +export class SqlResourceSqlRoleAssignment extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlRoleAssignment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlRoleAssignment { + return new SqlResourceSqlRoleAssignment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlRoleAssignment. 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 SqlResourceSqlRoleAssignment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlRoleAssignment.__pulumiType; + } + + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + */ + public readonly principalId!: pulumi.Output; + /** + * The unique identifier for the associated Role Definition. + */ + public readonly roleDefinitionId!: pulumi.Output; + /** + * The data plane resource path for which access is being granted through this Role Assignment. + */ + public readonly scope!: pulumi.Output; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlRoleAssignment 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: SqlResourceSqlRoleAssignmentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["principalId"] = args ? args.principalId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleAssignmentId"] = args ? args.roleAssignmentId : undefined; + resourceInputs["roleDefinitionId"] = args ? args.roleDefinitionId : undefined; + resourceInputs["scope"] = args ? args.scope : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["principalId"] = undefined /*out*/; + resourceInputs["roleDefinitionId"] = undefined /*out*/; + resourceInputs["scope"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlRoleAssignment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlRoleAssignment resource. + */ +export interface SqlResourceSqlRoleAssignmentArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + */ + principalId?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Assignment. + */ + roleAssignmentId?: pulumi.Input; + /** + * The unique identifier for the associated Role Definition. + */ + roleDefinitionId?: pulumi.Input; + /** + * The data plane resource path for which access is being granted through this Role Assignment. + */ + scope?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlRoleDefinition.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlRoleDefinition.ts new file mode 100644 index 000000000000..7111b58f604f --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlRoleDefinition.ts @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB SQL Role Definition. + */ +export class SqlResourceSqlRoleDefinition extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlRoleDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlRoleDefinition { + return new SqlResourceSqlRoleDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlRoleDefinition. 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 SqlResourceSqlRoleDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlRoleDefinition.__pulumiType; + } + + /** + * A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + */ + public readonly assignableScopes!: pulumi.Output; + /** + * The name of the database account. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The set of operations allowed through this Role Definition. + */ + public readonly permissions!: pulumi.Output; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + public readonly roleName!: pulumi.Output; + /** + * The type of Azure resource. + */ + public readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlRoleDefinition 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: SqlResourceSqlRoleDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["assignableScopes"] = args ? args.assignableScopes : undefined; + resourceInputs["permissions"] = args ? args.permissions : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleDefinitionId"] = args ? args.roleDefinitionId : undefined; + resourceInputs["roleName"] = args ? args.roleName : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["name"] = undefined /*out*/; + } else { + resourceInputs["assignableScopes"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["permissions"] = undefined /*out*/; + resourceInputs["roleName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlRoleDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlRoleDefinition resource. + */ +export interface SqlResourceSqlRoleDefinitionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + */ + assignableScopes?: pulumi.Input[]>; + /** + * The set of operations allowed through this Role Definition. + */ + permissions?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The GUID for the Role Definition. + */ + roleDefinitionId?: pulumi.Input; + /** + * A user-friendly name for the Role Definition. Must be unique for the database account. + */ + roleName?: pulumi.Input; + /** + * Indicates whether the Role Definition was built-in or user created. + */ + type?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlStoredProcedure.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlStoredProcedure.ts new file mode 100644 index 000000000000..bd9cf57fe213 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlStoredProcedure.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB storedProcedure. + */ +export class SqlResourceSqlStoredProcedure extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlStoredProcedure 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlStoredProcedure { + return new SqlResourceSqlStoredProcedure(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlStoredProcedure. 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 SqlResourceSqlStoredProcedure { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlStoredProcedure.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlStoredProcedure 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: SqlResourceSqlStoredProcedureArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.containerName === undefined) && !opts.urn) { + throw new Error("Missing required property 'containerName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["storedProcedureName"] = args ? args.storedProcedureName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlStoredProcedure.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlStoredProcedure resource. + */ +export interface SqlResourceSqlStoredProcedureArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a storedProcedure + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB storedProcedure name. + */ + storedProcedureName?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlTrigger.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlTrigger.ts new file mode 100644 index 000000000000..82860788022b --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlTrigger.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB trigger. + */ +export class SqlResourceSqlTrigger extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlTrigger 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlTrigger { + return new SqlResourceSqlTrigger(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlTrigger. 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 SqlResourceSqlTrigger { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlTrigger.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlTrigger 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: SqlResourceSqlTriggerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.containerName === undefined) && !opts.urn) { + throw new Error("Missing required property 'containerName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["triggerName"] = args ? args.triggerName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlTrigger" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlTrigger" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlTrigger.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlTrigger resource. + */ +export interface SqlResourceSqlTriggerArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a trigger + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Cosmos DB trigger name. + */ + triggerName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlUserDefinedFunction.ts b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlUserDefinedFunction.ts new file mode 100644 index 000000000000..c1d02be96448 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/sqlResourceSqlUserDefinedFunction.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB userDefinedFunction. + */ +export class SqlResourceSqlUserDefinedFunction extends pulumi.CustomResource { + /** + * Get an existing SqlResourceSqlUserDefinedFunction 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlResourceSqlUserDefinedFunction { + return new SqlResourceSqlUserDefinedFunction(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction'; + + /** + * Returns true if the given object is an instance of SqlResourceSqlUserDefinedFunction. 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 SqlResourceSqlUserDefinedFunction { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SqlResourceSqlUserDefinedFunction.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SqlResourceSqlUserDefinedFunction 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: SqlResourceSqlUserDefinedFunctionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.containerName === undefined) && !opts.urn) { + throw new Error("Missing required property 'containerName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["containerName"] = args ? args.containerName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["userDefinedFunctionName"] = args ? args.userDefinedFunctionName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction" }, { type: "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SqlResourceSqlUserDefinedFunction.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SqlResourceSqlUserDefinedFunction resource. + */ +export interface SqlResourceSqlUserDefinedFunctionArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Cosmos DB container name. + */ + containerName: pulumi.Input; + /** + * Cosmos DB database name. + */ + databaseName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a userDefinedFunction + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Cosmos DB userDefinedFunction name. + */ + userDefinedFunctionName?: pulumi.Input; +} diff --git a/sdk/nodejs/documentdb/v20230915preview/tableResourceTable.ts b/sdk/nodejs/documentdb/v20230915preview/tableResourceTable.ts new file mode 100644 index 000000000000..1ffc3edfa778 --- /dev/null +++ b/sdk/nodejs/documentdb/v20230915preview/tableResourceTable.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * An Azure Cosmos DB Table. + */ +export class TableResourceTable extends pulumi.CustomResource { + /** + * Get an existing TableResourceTable 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TableResourceTable { + return new TableResourceTable(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:documentdb/v20230915preview:TableResourceTable'; + + /** + * Returns true if the given object is an instance of TableResourceTable. 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 TableResourceTable { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === TableResourceTable.__pulumiType; + } + + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The location of the resource group to which the resource belongs. + */ + public readonly location!: pulumi.Output; + /** + * The name of the ARM resource. + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly options!: pulumi.Output; + public readonly resource!: pulumi.Output; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of Azure resource. + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a TableResourceTable 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: TableResourceTableArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.accountName === undefined) && !opts.urn) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.resource === undefined) && !opts.urn) { + throw new Error("Missing required property 'resource'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["accountName"] = args ? args.accountName : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["options"] = args ? args.options : undefined; + resourceInputs["resource"] = args ? args.resource : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["options"] = undefined /*out*/; + resourceInputs["resource"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:documentdb:TableResourceTable" }, { type: "azure-native:documentdb/v20150401:TableResourceTable" }, { type: "azure-native:documentdb/v20150408:TableResourceTable" }, { type: "azure-native:documentdb/v20151106:TableResourceTable" }, { type: "azure-native:documentdb/v20160319:TableResourceTable" }, { type: "azure-native:documentdb/v20160331:TableResourceTable" }, { type: "azure-native:documentdb/v20190801:TableResourceTable" }, { type: "azure-native:documentdb/v20191212:TableResourceTable" }, { type: "azure-native:documentdb/v20200301:TableResourceTable" }, { type: "azure-native:documentdb/v20200401:TableResourceTable" }, { type: "azure-native:documentdb/v20200601preview:TableResourceTable" }, { type: "azure-native:documentdb/v20200901:TableResourceTable" }, { type: "azure-native:documentdb/v20210115:TableResourceTable" }, { type: "azure-native:documentdb/v20210301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210315:TableResourceTable" }, { type: "azure-native:documentdb/v20210401preview:TableResourceTable" }, { type: "azure-native:documentdb/v20210415:TableResourceTable" }, { type: "azure-native:documentdb/v20210515:TableResourceTable" }, { type: "azure-native:documentdb/v20210615:TableResourceTable" }, { type: "azure-native:documentdb/v20210701preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211015:TableResourceTable" }, { type: "azure-native:documentdb/v20211015preview:TableResourceTable" }, { type: "azure-native:documentdb/v20211115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220215preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220515:TableResourceTable" }, { type: "azure-native:documentdb/v20220515preview:TableResourceTable" }, { type: "azure-native:documentdb/v20220815:TableResourceTable" }, { type: "azure-native:documentdb/v20220815preview:TableResourceTable" }, { type: "azure-native:documentdb/v20221115:TableResourceTable" }, { type: "azure-native:documentdb/v20221115preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230301preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230315:TableResourceTable" }, { type: "azure-native:documentdb/v20230315preview:TableResourceTable" }, { type: "azure-native:documentdb/v20230415:TableResourceTable" }, { type: "azure-native:documentdb/v20230915:TableResourceTable" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(TableResourceTable.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a TableResourceTable resource. + */ +export interface TableResourceTableArgs { + /** + * Cosmos DB database account name. + */ + accountName: pulumi.Input; + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * The location of the resource group to which the resource belongs. + */ + location?: pulumi.Input; + /** + * A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + */ + options?: pulumi.Input; + /** + * The standard JSON format of a Table + */ + resource: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cosmos DB table name. + */ + tableName?: pulumi.Input; + /** + * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/elasticsan/elasticSan.ts b/sdk/nodejs/elasticsan/elasticSan.ts index 9f8b10c34599..48afae4f52d5 100644 --- a/sdk/nodejs/elasticsan/elasticSan.ts +++ b/sdk/nodejs/elasticsan/elasticSan.ts @@ -157,7 +157,7 @@ export class ElasticSan extends pulumi.CustomResource { resourceInputs["volumeGroupCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20211120preview:ElasticSan" }, { type: "azure-native:elasticsan/v20221201preview:ElasticSan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20211120preview:ElasticSan" }, { type: "azure-native:elasticsan/v20221201preview:ElasticSan" }, { type: "azure-native:elasticsan/v20230101:ElasticSan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ElasticSan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/getVolumeSnapshot.ts b/sdk/nodejs/elasticsan/getVolumeSnapshot.ts new file mode 100644 index 000000000000..d313527695b2 --- /dev/null +++ b/sdk/nodejs/elasticsan/getVolumeSnapshot.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Get a Volume Snapshot. + * Azure REST API version: 2023-01-01. + */ +export function getVolumeSnapshot(args: GetVolumeSnapshotArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:elasticsan:getVolumeSnapshot", { + "elasticSanName": args.elasticSanName, + "resourceGroupName": args.resourceGroupName, + "snapshotName": args.snapshotName, + "volumeGroupName": args.volumeGroupName, + }, opts); +} + +export interface GetVolumeSnapshotArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the volume snapshot within the given volume group. + */ + snapshotName: string; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: string; +} + +/** + * Response for Volume Snapshot request. + */ +export interface GetVolumeSnapshotResult { + /** + * Data used when creating a volume snapshot. + */ + readonly creationData: outputs.elasticsan.SnapshotCreationDataResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * State of the operation on the resource. + */ + readonly provisioningState: string; + /** + * Size of Source Volume + */ + readonly sourceVolumeSizeGiB: number; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.elasticsan.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Source Volume Name of a snapshot + */ + readonly volumeName: string; +} +/** + * Get a Volume Snapshot. + * Azure REST API version: 2023-01-01. + */ +export function getVolumeSnapshotOutput(args: GetVolumeSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVolumeSnapshot(a, opts)) +} + +export interface GetVolumeSnapshotOutputArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the volume snapshot within the given volume group. + */ + snapshotName: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/index.ts b/sdk/nodejs/elasticsan/index.ts index 141a0f525c72..7c472a7ca050 100644 --- a/sdk/nodejs/elasticsan/index.ts +++ b/sdk/nodejs/elasticsan/index.ts @@ -30,6 +30,11 @@ export const getVolumeGroup: typeof import("./getVolumeGroup").getVolumeGroup = export const getVolumeGroupOutput: typeof import("./getVolumeGroup").getVolumeGroupOutput = null as any; utilities.lazyLoad(exports, ["getVolumeGroup","getVolumeGroupOutput"], () => require("./getVolumeGroup")); +export { GetVolumeSnapshotArgs, GetVolumeSnapshotResult, GetVolumeSnapshotOutputArgs } from "./getVolumeSnapshot"; +export const getVolumeSnapshot: typeof import("./getVolumeSnapshot").getVolumeSnapshot = null as any; +export const getVolumeSnapshotOutput: typeof import("./getVolumeSnapshot").getVolumeSnapshotOutput = null as any; +utilities.lazyLoad(exports, ["getVolumeSnapshot","getVolumeSnapshotOutput"], () => require("./getVolumeSnapshot")); + export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; @@ -45,6 +50,11 @@ export type VolumeGroup = import("./volumeGroup").VolumeGroup; export const VolumeGroup: typeof import("./volumeGroup").VolumeGroup = null as any; utilities.lazyLoad(exports, ["VolumeGroup"], () => require("./volumeGroup")); +export { VolumeSnapshotArgs } from "./volumeSnapshot"; +export type VolumeSnapshot = import("./volumeSnapshot").VolumeSnapshot; +export const VolumeSnapshot: typeof import("./volumeSnapshot").VolumeSnapshot = null as any; +utilities.lazyLoad(exports, ["VolumeSnapshot"], () => require("./volumeSnapshot")); + // Export enums: export * from "../types/enums/elasticsan"; @@ -52,10 +62,12 @@ export * from "../types/enums/elasticsan"; // Export sub-modules: import * as v20211120preview from "./v20211120preview"; import * as v20221201preview from "./v20221201preview"; +import * as v20230101 from "./v20230101"; export { v20211120preview, v20221201preview, + v20230101, }; const _module = { @@ -70,6 +82,8 @@ const _module = { return new Volume(name, undefined, { urn }) case "azure-native:elasticsan:VolumeGroup": return new VolumeGroup(name, undefined, { urn }) + case "azure-native:elasticsan:VolumeSnapshot": + return new VolumeSnapshot(name, undefined, { urn }) default: throw new Error(`unknown resource type ${type}`); } diff --git a/sdk/nodejs/elasticsan/privateEndpointConnection.ts b/sdk/nodejs/elasticsan/privateEndpointConnection.ts index 31dfd0da59ff..3cae251c7a7e 100644 --- a/sdk/nodejs/elasticsan/privateEndpointConnection.ts +++ b/sdk/nodejs/elasticsan/privateEndpointConnection.ts @@ -107,7 +107,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20221201preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20221201preview:PrivateEndpointConnection" }, { type: "azure-native:elasticsan/v20230101:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20211120preview/elasticSan.ts b/sdk/nodejs/elasticsan/v20211120preview/elasticSan.ts index c70c0a47c85b..b7c8c7e47b02 100644 --- a/sdk/nodejs/elasticsan/v20211120preview/elasticSan.ts +++ b/sdk/nodejs/elasticsan/v20211120preview/elasticSan.ts @@ -156,7 +156,7 @@ export class ElasticSan extends pulumi.CustomResource { resourceInputs["volumeGroupCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:ElasticSan" }, { type: "azure-native:elasticsan/v20221201preview:ElasticSan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:ElasticSan" }, { type: "azure-native:elasticsan/v20221201preview:ElasticSan" }, { type: "azure-native:elasticsan/v20230101:ElasticSan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ElasticSan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20211120preview/volume.ts b/sdk/nodejs/elasticsan/v20211120preview/volume.ts index c0a70306879b..0d04c4d642c6 100644 --- a/sdk/nodejs/elasticsan/v20211120preview/volume.ts +++ b/sdk/nodejs/elasticsan/v20211120preview/volume.ts @@ -113,7 +113,7 @@ export class Volume extends pulumi.CustomResource { resourceInputs["volumeId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:Volume" }, { type: "azure-native:elasticsan/v20221201preview:Volume" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:Volume" }, { type: "azure-native:elasticsan/v20221201preview:Volume" }, { type: "azure-native:elasticsan/v20230101:Volume" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Volume.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20211120preview/volumeGroup.ts b/sdk/nodejs/elasticsan/v20211120preview/volumeGroup.ts index 2aa17aad5c67..947ada6cb749 100644 --- a/sdk/nodejs/elasticsan/v20211120preview/volumeGroup.ts +++ b/sdk/nodejs/elasticsan/v20211120preview/volumeGroup.ts @@ -109,7 +109,7 @@ export class VolumeGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:VolumeGroup" }, { type: "azure-native:elasticsan/v20221201preview:VolumeGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:VolumeGroup" }, { type: "azure-native:elasticsan/v20221201preview:VolumeGroup" }, { type: "azure-native:elasticsan/v20230101:VolumeGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VolumeGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20221201preview/elasticSan.ts b/sdk/nodejs/elasticsan/v20221201preview/elasticSan.ts index 39433973da92..1ac4a7157706 100644 --- a/sdk/nodejs/elasticsan/v20221201preview/elasticSan.ts +++ b/sdk/nodejs/elasticsan/v20221201preview/elasticSan.ts @@ -162,7 +162,7 @@ export class ElasticSan extends pulumi.CustomResource { resourceInputs["volumeGroupCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:ElasticSan" }, { type: "azure-native:elasticsan/v20211120preview:ElasticSan" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:ElasticSan" }, { type: "azure-native:elasticsan/v20211120preview:ElasticSan" }, { type: "azure-native:elasticsan/v20230101:ElasticSan" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ElasticSan.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20221201preview/privateEndpointConnection.ts b/sdk/nodejs/elasticsan/v20221201preview/privateEndpointConnection.ts index 9830b4290d66..5e4fb0cd4e78 100644 --- a/sdk/nodejs/elasticsan/v20221201preview/privateEndpointConnection.ts +++ b/sdk/nodejs/elasticsan/v20221201preview/privateEndpointConnection.ts @@ -106,7 +106,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:PrivateEndpointConnection" }, { type: "azure-native:elasticsan/v20230101:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20221201preview/volume.ts b/sdk/nodejs/elasticsan/v20221201preview/volume.ts index 0b55b5715f42..59c69eb4c492 100644 --- a/sdk/nodejs/elasticsan/v20221201preview/volume.ts +++ b/sdk/nodejs/elasticsan/v20221201preview/volume.ts @@ -110,7 +110,7 @@ export class Volume extends pulumi.CustomResource { resourceInputs["volumeId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:Volume" }, { type: "azure-native:elasticsan/v20211120preview:Volume" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:Volume" }, { type: "azure-native:elasticsan/v20211120preview:Volume" }, { type: "azure-native:elasticsan/v20230101:Volume" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Volume.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20221201preview/volumeGroup.ts b/sdk/nodejs/elasticsan/v20221201preview/volumeGroup.ts index b501e5c2086f..668f6f2b8824 100644 --- a/sdk/nodejs/elasticsan/v20221201preview/volumeGroup.ts +++ b/sdk/nodejs/elasticsan/v20221201preview/volumeGroup.ts @@ -109,7 +109,7 @@ export class VolumeGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:VolumeGroup" }, { type: "azure-native:elasticsan/v20211120preview:VolumeGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:VolumeGroup" }, { type: "azure-native:elasticsan/v20211120preview:VolumeGroup" }, { type: "azure-native:elasticsan/v20230101:VolumeGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VolumeGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/v20230101/elasticSan.ts b/sdk/nodejs/elasticsan/v20230101/elasticSan.ts new file mode 100644 index 000000000000..6a55d5e926f6 --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/elasticSan.ts @@ -0,0 +1,217 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Response for ElasticSan request. + */ +export class ElasticSan extends pulumi.CustomResource { + /** + * Get an existing ElasticSan 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ElasticSan { + return new ElasticSan(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:elasticsan/v20230101:ElasticSan'; + + /** + * Returns true if the given object is an instance of ElasticSan. 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 ElasticSan { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ElasticSan.__pulumiType; + } + + /** + * Logical zone for Elastic San resource; example: ["1"]. + */ + public readonly availabilityZones!: pulumi.Output; + /** + * Base size of the Elastic San appliance in TiB. + */ + public readonly baseSizeTiB!: pulumi.Output; + /** + * Extended size of the Elastic San appliance in TiB. + */ + public readonly extendedCapacitySizeTiB!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The list of Private Endpoint Connections. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * State of the operation on the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * resource sku + */ + public readonly sku!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Total Provisioned IOPS of the Elastic San appliance. + */ + public /*out*/ readonly totalIops!: pulumi.Output; + /** + * Total Provisioned MBps Elastic San appliance. + */ + public /*out*/ readonly totalMBps!: pulumi.Output; + /** + * Total size of the Elastic San appliance in TB. + */ + public /*out*/ readonly totalSizeTiB!: pulumi.Output; + /** + * Total size of the provisioned Volumes in GiB. + */ + public /*out*/ readonly totalVolumeSizeGiB!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Total number of volume groups in this Elastic San appliance. + */ + public /*out*/ readonly volumeGroupCount!: pulumi.Output; + + /** + * Create a ElasticSan 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: ElasticSanArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.baseSizeTiB === undefined) && !opts.urn) { + throw new Error("Missing required property 'baseSizeTiB'"); + } + if ((!args || args.extendedCapacitySizeTiB === undefined) && !opts.urn) { + throw new Error("Missing required property 'extendedCapacitySizeTiB'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sku === undefined) && !opts.urn) { + throw new Error("Missing required property 'sku'"); + } + resourceInputs["availabilityZones"] = args ? args.availabilityZones : undefined; + resourceInputs["baseSizeTiB"] = args ? args.baseSizeTiB : undefined; + resourceInputs["elasticSanName"] = args ? args.elasticSanName : undefined; + resourceInputs["extendedCapacitySizeTiB"] = args ? args.extendedCapacitySizeTiB : undefined; + resourceInputs["location"] = args ? args.location : 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["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["totalIops"] = undefined /*out*/; + resourceInputs["totalMBps"] = undefined /*out*/; + resourceInputs["totalSizeTiB"] = undefined /*out*/; + resourceInputs["totalVolumeSizeGiB"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeGroupCount"] = undefined /*out*/; + } else { + resourceInputs["availabilityZones"] = undefined /*out*/; + resourceInputs["baseSizeTiB"] = undefined /*out*/; + resourceInputs["extendedCapacitySizeTiB"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["totalIops"] = undefined /*out*/; + resourceInputs["totalMBps"] = undefined /*out*/; + resourceInputs["totalSizeTiB"] = undefined /*out*/; + resourceInputs["totalVolumeSizeGiB"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeGroupCount"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:ElasticSan" }, { type: "azure-native:elasticsan/v20211120preview:ElasticSan" }, { type: "azure-native:elasticsan/v20221201preview:ElasticSan" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ElasticSan.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ElasticSan resource. + */ +export interface ElasticSanArgs { + /** + * Logical zone for Elastic San resource; example: ["1"]. + */ + availabilityZones?: pulumi.Input[]>; + /** + * Base size of the Elastic San appliance in TiB. + */ + baseSizeTiB: pulumi.Input; + /** + * The name of the ElasticSan. + */ + elasticSanName?: pulumi.Input; + /** + * Extended size of the Elastic San appliance in TiB. + */ + extendedCapacitySizeTiB: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * resource sku + */ + sku: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/elasticsan/v20230101/getElasticSan.ts b/sdk/nodejs/elasticsan/v20230101/getElasticSan.ts new file mode 100644 index 000000000000..22bf4eaedb5b --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/getElasticSan.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a ElasticSan. + */ +export function getElasticSan(args: GetElasticSanArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:elasticsan/v20230101:getElasticSan", { + "elasticSanName": args.elasticSanName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetElasticSanArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Response for ElasticSan request. + */ +export interface GetElasticSanResult { + /** + * Logical zone for Elastic San resource; example: ["1"]. + */ + readonly availabilityZones?: string[]; + /** + * Base size of the Elastic San appliance in TiB. + */ + readonly baseSizeTiB: number; + /** + * Extended size of the Elastic San appliance in TiB. + */ + readonly extendedCapacitySizeTiB: number; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The list of Private Endpoint Connections. + */ + readonly privateEndpointConnections: outputs.elasticsan.v20230101.PrivateEndpointConnectionResponse[]; + /** + * State of the operation on the resource. + */ + readonly provisioningState: string; + /** + * Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + */ + readonly publicNetworkAccess?: string; + /** + * resource sku + */ + readonly sku: outputs.elasticsan.v20230101.SkuResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.elasticsan.v20230101.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Total Provisioned IOPS of the Elastic San appliance. + */ + readonly totalIops: number; + /** + * Total Provisioned MBps Elastic San appliance. + */ + readonly totalMBps: number; + /** + * Total size of the Elastic San appliance in TB. + */ + readonly totalSizeTiB: number; + /** + * Total size of the provisioned Volumes in GiB. + */ + readonly totalVolumeSizeGiB: number; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Total number of volume groups in this Elastic San appliance. + */ + readonly volumeGroupCount: number; +} +/** + * Get a ElasticSan. + */ +export function getElasticSanOutput(args: GetElasticSanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getElasticSan(a, opts)) +} + +export interface GetElasticSanOutputArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/getPrivateEndpointConnection.ts b/sdk/nodejs/elasticsan/v20230101/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..f46bf1400f42 --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/getPrivateEndpointConnection.ts @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the specified private endpoint connection associated with the Elastic San + */ +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:elasticsan/v20230101:getPrivateEndpointConnection", { + "elasticSanName": args.elasticSanName, + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: string; + /** + * The name of the Private Endpoint connection. + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Response for PrivateEndpoint Connection object + */ +export interface GetPrivateEndpointConnectionResult { + /** + * List of resources private endpoint is mapped + */ + readonly groupIds?: string[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Private Endpoint resource + */ + readonly privateEndpoint?: outputs.elasticsan.v20230101.PrivateEndpointResponse; + /** + * Private Link Service Connection State. + */ + readonly privateLinkServiceConnectionState: outputs.elasticsan.v20230101.PrivateLinkServiceConnectionStateResponse; + /** + * Provisioning State of Private Endpoint connection resource + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.elasticsan.v20230101.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the specified private endpoint connection associated with the Elastic San + */ +export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnection(a, opts)) +} + +export interface GetPrivateEndpointConnectionOutputArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the Private Endpoint connection. + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/getVolume.ts b/sdk/nodejs/elasticsan/v20230101/getVolume.ts new file mode 100644 index 000000000000..5772f2543d01 --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/getVolume.ts @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get an Volume. + */ +export function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:elasticsan/v20230101:getVolume", { + "elasticSanName": args.elasticSanName, + "resourceGroupName": args.resourceGroupName, + "volumeGroupName": args.volumeGroupName, + "volumeName": args.volumeName, + }, opts); +} + +export interface GetVolumeArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: string; + /** + * The name of the Volume. + */ + volumeName: string; +} + +/** + * Response for Volume request. + */ +export interface GetVolumeResult { + /** + * State of the operation on the resource. + */ + readonly creationData?: outputs.elasticsan.v20230101.SourceCreationDataResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Parent resource information. + */ + readonly managedBy?: outputs.elasticsan.v20230101.ManagedByInfoResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * State of the operation on the resource. + */ + readonly provisioningState: string; + /** + * Volume size. + */ + readonly sizeGiB: number; + /** + * Storage target information + */ + readonly storageTarget: outputs.elasticsan.v20230101.IscsiTargetInfoResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.elasticsan.v20230101.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Unique Id of the volume in GUID format + */ + readonly volumeId: string; +} +/** + * Get an Volume. + */ +export function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVolume(a, opts)) +} + +export interface GetVolumeOutputArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; + /** + * The name of the Volume. + */ + volumeName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/getVolumeGroup.ts b/sdk/nodejs/elasticsan/v20230101/getVolumeGroup.ts new file mode 100644 index 000000000000..6b9b11d321f8 --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/getVolumeGroup.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get an VolumeGroups. + */ +export function getVolumeGroup(args: GetVolumeGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:elasticsan/v20230101:getVolumeGroup", { + "elasticSanName": args.elasticSanName, + "resourceGroupName": args.resourceGroupName, + "volumeGroupName": args.volumeGroupName, + }, opts); +} + +export interface GetVolumeGroupArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: string; +} + +/** + * Response for Volume Group request. + */ +export interface GetVolumeGroupResult { + /** + * Type of encryption + */ + readonly encryption?: string; + /** + * Encryption Properties describing Key Vault and Identity information + */ + readonly encryptionProperties?: outputs.elasticsan.v20230101.EncryptionPropertiesResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity of the resource. + */ + readonly identity?: outputs.elasticsan.v20230101.IdentityResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + readonly networkAcls?: outputs.elasticsan.v20230101.NetworkRuleSetResponse; + /** + * The list of Private Endpoint Connections. + */ + readonly privateEndpointConnections: outputs.elasticsan.v20230101.PrivateEndpointConnectionResponse[]; + /** + * Type of storage target + */ + readonly protocolType?: string; + /** + * State of the operation on the resource. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.elasticsan.v20230101.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get an VolumeGroups. + */ +export function getVolumeGroupOutput(args: GetVolumeGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVolumeGroup(a, opts)) +} + +export interface GetVolumeGroupOutputArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/getVolumeSnapshot.ts b/sdk/nodejs/elasticsan/v20230101/getVolumeSnapshot.ts new file mode 100644 index 000000000000..4f7d93dc4baf --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/getVolumeSnapshot.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a Volume Snapshot. + */ +export function getVolumeSnapshot(args: GetVolumeSnapshotArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:elasticsan/v20230101:getVolumeSnapshot", { + "elasticSanName": args.elasticSanName, + "resourceGroupName": args.resourceGroupName, + "snapshotName": args.snapshotName, + "volumeGroupName": args.volumeGroupName, + }, opts); +} + +export interface GetVolumeSnapshotArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the volume snapshot within the given volume group. + */ + snapshotName: string; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: string; +} + +/** + * Response for Volume Snapshot request. + */ +export interface GetVolumeSnapshotResult { + /** + * Data used when creating a volume snapshot. + */ + readonly creationData: outputs.elasticsan.v20230101.SnapshotCreationDataResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * State of the operation on the resource. + */ + readonly provisioningState: string; + /** + * Size of Source Volume + */ + readonly sourceVolumeSizeGiB: number; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.elasticsan.v20230101.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Source Volume Name of a snapshot + */ + readonly volumeName: string; +} +/** + * Get a Volume Snapshot. + */ +export function getVolumeSnapshotOutput(args: GetVolumeSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVolumeSnapshot(a, opts)) +} + +export interface GetVolumeSnapshotOutputArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the volume snapshot within the given volume group. + */ + snapshotName: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/index.ts b/sdk/nodejs/elasticsan/v20230101/index.ts new file mode 100644 index 000000000000..0b357518eae7 --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/index.ts @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { ElasticSanArgs } from "./elasticSan"; +export type ElasticSan = import("./elasticSan").ElasticSan; +export const ElasticSan: typeof import("./elasticSan").ElasticSan = null as any; +utilities.lazyLoad(exports, ["ElasticSan"], () => require("./elasticSan")); + +export { GetElasticSanArgs, GetElasticSanResult, GetElasticSanOutputArgs } from "./getElasticSan"; +export const getElasticSan: typeof import("./getElasticSan").getElasticSan = null as any; +export const getElasticSanOutput: typeof import("./getElasticSan").getElasticSanOutput = null as any; +utilities.lazyLoad(exports, ["getElasticSan","getElasticSanOutput"], () => require("./getElasticSan")); + +export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection"; +export const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection = null as any; +export const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnection","getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection")); + +export { GetVolumeArgs, GetVolumeResult, GetVolumeOutputArgs } from "./getVolume"; +export const getVolume: typeof import("./getVolume").getVolume = null as any; +export const getVolumeOutput: typeof import("./getVolume").getVolumeOutput = null as any; +utilities.lazyLoad(exports, ["getVolume","getVolumeOutput"], () => require("./getVolume")); + +export { GetVolumeGroupArgs, GetVolumeGroupResult, GetVolumeGroupOutputArgs } from "./getVolumeGroup"; +export const getVolumeGroup: typeof import("./getVolumeGroup").getVolumeGroup = null as any; +export const getVolumeGroupOutput: typeof import("./getVolumeGroup").getVolumeGroupOutput = null as any; +utilities.lazyLoad(exports, ["getVolumeGroup","getVolumeGroupOutput"], () => require("./getVolumeGroup")); + +export { GetVolumeSnapshotArgs, GetVolumeSnapshotResult, GetVolumeSnapshotOutputArgs } from "./getVolumeSnapshot"; +export const getVolumeSnapshot: typeof import("./getVolumeSnapshot").getVolumeSnapshot = null as any; +export const getVolumeSnapshotOutput: typeof import("./getVolumeSnapshot").getVolumeSnapshotOutput = null as any; +utilities.lazyLoad(exports, ["getVolumeSnapshot","getVolumeSnapshotOutput"], () => require("./getVolumeSnapshot")); + +export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; +export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; +export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection")); + +export { VolumeArgs } from "./volume"; +export type Volume = import("./volume").Volume; +export const Volume: typeof import("./volume").Volume = null as any; +utilities.lazyLoad(exports, ["Volume"], () => require("./volume")); + +export { VolumeGroupArgs } from "./volumeGroup"; +export type VolumeGroup = import("./volumeGroup").VolumeGroup; +export const VolumeGroup: typeof import("./volumeGroup").VolumeGroup = null as any; +utilities.lazyLoad(exports, ["VolumeGroup"], () => require("./volumeGroup")); + +export { VolumeSnapshotArgs } from "./volumeSnapshot"; +export type VolumeSnapshot = import("./volumeSnapshot").VolumeSnapshot; +export const VolumeSnapshot: typeof import("./volumeSnapshot").VolumeSnapshot = null as any; +utilities.lazyLoad(exports, ["VolumeSnapshot"], () => require("./volumeSnapshot")); + + +// Export enums: +export * from "../../types/enums/elasticsan/v20230101"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:elasticsan/v20230101:ElasticSan": + return new ElasticSan(name, undefined, { urn }) + case "azure-native:elasticsan/v20230101:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-native:elasticsan/v20230101:Volume": + return new Volume(name, undefined, { urn }) + case "azure-native:elasticsan/v20230101:VolumeGroup": + return new VolumeGroup(name, undefined, { urn }) + case "azure-native:elasticsan/v20230101:VolumeSnapshot": + return new VolumeSnapshot(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "elasticsan/v20230101", _module) diff --git a/sdk/nodejs/elasticsan/v20230101/privateEndpointConnection.ts b/sdk/nodejs/elasticsan/v20230101/privateEndpointConnection.ts new file mode 100644 index 000000000000..6c9714fd2321 --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/privateEndpointConnection.ts @@ -0,0 +1,139 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Response for PrivateEndpoint Connection object + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:elasticsan/v20230101:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. 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 PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * List of resources private endpoint is mapped + */ + public readonly groupIds!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Private Endpoint resource + */ + public /*out*/ readonly privateEndpoint!: pulumi.Output; + /** + * Private Link Service Connection State. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * Provisioning State of Private Endpoint connection resource + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection 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: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.elasticSanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'elasticSanName'"); + } + if ((!args || args.privateLinkServiceConnectionState === undefined) && !opts.urn) { + throw new Error("Missing required property 'privateLinkServiceConnectionState'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["elasticSanName"] = args ? args.elasticSanName : undefined; + resourceInputs["groupIds"] = args ? args.groupIds : undefined; + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["groupIds"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:PrivateEndpointConnection" }, { type: "azure-native:elasticsan/v20221201preview:PrivateEndpointConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * List of resources private endpoint is mapped + */ + groupIds?: pulumi.Input[]>; + /** + * The name of the Private Endpoint connection. + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * Private Link Service Connection State. + */ + privateLinkServiceConnectionState: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/volume.ts b/sdk/nodejs/elasticsan/v20230101/volume.ts new file mode 100644 index 000000000000..592086ba0efb --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/volume.ts @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Response for Volume request. + */ +export class Volume extends pulumi.CustomResource { + /** + * Get an existing Volume 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Volume { + return new Volume(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:elasticsan/v20230101:Volume'; + + /** + * Returns true if the given object is an instance of Volume. 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 Volume { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Volume.__pulumiType; + } + + /** + * State of the operation on the resource. + */ + public readonly creationData!: pulumi.Output; + /** + * Parent resource information. + */ + public readonly managedBy!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * State of the operation on the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Volume size. + */ + public readonly sizeGiB!: pulumi.Output; + /** + * Storage target information + */ + public /*out*/ readonly storageTarget!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Unique Id of the volume in GUID format + */ + public /*out*/ readonly volumeId!: pulumi.Output; + + /** + * Create a Volume 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: VolumeArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.elasticSanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'elasticSanName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sizeGiB === undefined) && !opts.urn) { + throw new Error("Missing required property 'sizeGiB'"); + } + if ((!args || args.volumeGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'volumeGroupName'"); + } + resourceInputs["creationData"] = args ? args.creationData : undefined; + resourceInputs["elasticSanName"] = args ? args.elasticSanName : undefined; + resourceInputs["managedBy"] = args ? args.managedBy : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sizeGiB"] = args ? args.sizeGiB : undefined; + resourceInputs["volumeGroupName"] = args ? args.volumeGroupName : undefined; + resourceInputs["volumeName"] = args ? args.volumeName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["storageTarget"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeId"] = undefined /*out*/; + } else { + resourceInputs["creationData"] = undefined /*out*/; + resourceInputs["managedBy"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sizeGiB"] = undefined /*out*/; + resourceInputs["storageTarget"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:Volume" }, { type: "azure-native:elasticsan/v20211120preview:Volume" }, { type: "azure-native:elasticsan/v20221201preview:Volume" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Volume.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Volume resource. + */ +export interface VolumeArgs { + /** + * State of the operation on the resource. + */ + creationData?: pulumi.Input; + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * Parent resource information. + */ + managedBy?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Volume size. + */ + sizeGiB: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; + /** + * The name of the Volume. + */ + volumeName?: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/volumeGroup.ts b/sdk/nodejs/elasticsan/v20230101/volumeGroup.ts new file mode 100644 index 000000000000..82343a7f981b --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/volumeGroup.ts @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Response for Volume Group request. + */ +export class VolumeGroup extends pulumi.CustomResource { + /** + * Get an existing VolumeGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VolumeGroup { + return new VolumeGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:elasticsan/v20230101:VolumeGroup'; + + /** + * Returns true if the given object is an instance of VolumeGroup. 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 VolumeGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VolumeGroup.__pulumiType; + } + + /** + * Type of encryption + */ + public readonly encryption!: pulumi.Output; + /** + * Encryption Properties describing Key Vault and Identity information + */ + public readonly encryptionProperties!: pulumi.Output; + /** + * The identity of the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + public readonly networkAcls!: pulumi.Output; + /** + * The list of Private Endpoint Connections. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * Type of storage target + */ + public readonly protocolType!: pulumi.Output; + /** + * State of the operation on the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a VolumeGroup 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: VolumeGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.elasticSanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'elasticSanName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["elasticSanName"] = args ? args.elasticSanName : undefined; + resourceInputs["encryption"] = args ? args.encryption : undefined; + resourceInputs["encryptionProperties"] = args ? args.encryptionProperties : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["networkAcls"] = args ? args.networkAcls : undefined; + resourceInputs["protocolType"] = args ? args.protocolType : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["volumeGroupName"] = args ? args.volumeGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["encryption"] = undefined /*out*/; + resourceInputs["encryptionProperties"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkAcls"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["protocolType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:VolumeGroup" }, { type: "azure-native:elasticsan/v20211120preview:VolumeGroup" }, { type: "azure-native:elasticsan/v20221201preview:VolumeGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VolumeGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VolumeGroup resource. + */ +export interface VolumeGroupArgs { + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * Type of encryption + */ + encryption?: pulumi.Input; + /** + * Encryption Properties describing Key Vault and Identity information + */ + encryptionProperties?: pulumi.Input; + /** + * The identity of the resource. + */ + identity?: pulumi.Input; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + networkAcls?: pulumi.Input; + /** + * Type of storage target + */ + protocolType?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName?: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/v20230101/volumeSnapshot.ts b/sdk/nodejs/elasticsan/v20230101/volumeSnapshot.ts new file mode 100644 index 000000000000..2c9f747c99ff --- /dev/null +++ b/sdk/nodejs/elasticsan/v20230101/volumeSnapshot.ts @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Response for Volume Snapshot request. + */ +export class VolumeSnapshot extends pulumi.CustomResource { + /** + * Get an existing VolumeSnapshot 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VolumeSnapshot { + return new VolumeSnapshot(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:elasticsan/v20230101:VolumeSnapshot'; + + /** + * Returns true if the given object is an instance of VolumeSnapshot. 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 VolumeSnapshot { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VolumeSnapshot.__pulumiType; + } + + /** + * Data used when creating a volume snapshot. + */ + public readonly creationData!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * State of the operation on the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Size of Source Volume + */ + public /*out*/ readonly sourceVolumeSizeGiB!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Source Volume Name of a snapshot + */ + public /*out*/ readonly volumeName!: pulumi.Output; + + /** + * Create a VolumeSnapshot 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: VolumeSnapshotArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.creationData === undefined) && !opts.urn) { + throw new Error("Missing required property 'creationData'"); + } + if ((!args || args.elasticSanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'elasticSanName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.volumeGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'volumeGroupName'"); + } + resourceInputs["creationData"] = args ? args.creationData : undefined; + resourceInputs["elasticSanName"] = args ? args.elasticSanName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["snapshotName"] = args ? args.snapshotName : undefined; + resourceInputs["volumeGroupName"] = args ? args.volumeGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sourceVolumeSizeGiB"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeName"] = undefined /*out*/; + } else { + resourceInputs["creationData"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sourceVolumeSizeGiB"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeName"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan:VolumeSnapshot" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VolumeSnapshot.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VolumeSnapshot resource. + */ +export interface VolumeSnapshotArgs { + /** + * Data used when creating a volume snapshot. + */ + creationData: pulumi.Input; + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the volume snapshot within the given volume group. + */ + snapshotName?: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/elasticsan/volume.ts b/sdk/nodejs/elasticsan/volume.ts index 97d378d23f77..423de6c767cf 100644 --- a/sdk/nodejs/elasticsan/volume.ts +++ b/sdk/nodejs/elasticsan/volume.ts @@ -114,7 +114,7 @@ export class Volume extends pulumi.CustomResource { resourceInputs["volumeId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20211120preview:Volume" }, { type: "azure-native:elasticsan/v20221201preview:Volume" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20211120preview:Volume" }, { type: "azure-native:elasticsan/v20221201preview:Volume" }, { type: "azure-native:elasticsan/v20230101:Volume" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Volume.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/volumeGroup.ts b/sdk/nodejs/elasticsan/volumeGroup.ts index d1a60c6ef768..fc789c0f96f2 100644 --- a/sdk/nodejs/elasticsan/volumeGroup.ts +++ b/sdk/nodejs/elasticsan/volumeGroup.ts @@ -110,7 +110,7 @@ export class VolumeGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20211120preview:VolumeGroup" }, { type: "azure-native:elasticsan/v20221201preview:VolumeGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20211120preview:VolumeGroup" }, { type: "azure-native:elasticsan/v20221201preview:VolumeGroup" }, { type: "azure-native:elasticsan/v20230101:VolumeGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VolumeGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/elasticsan/volumeSnapshot.ts b/sdk/nodejs/elasticsan/volumeSnapshot.ts new file mode 100644 index 000000000000..9ab29b8af4da --- /dev/null +++ b/sdk/nodejs/elasticsan/volumeSnapshot.ts @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Response for Volume Snapshot request. + * Azure REST API version: 2023-01-01. + */ +export class VolumeSnapshot extends pulumi.CustomResource { + /** + * Get an existing VolumeSnapshot 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VolumeSnapshot { + return new VolumeSnapshot(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:elasticsan:VolumeSnapshot'; + + /** + * Returns true if the given object is an instance of VolumeSnapshot. 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 VolumeSnapshot { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VolumeSnapshot.__pulumiType; + } + + /** + * Data used when creating a volume snapshot. + */ + public readonly creationData!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * State of the operation on the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Size of Source Volume + */ + public /*out*/ readonly sourceVolumeSizeGiB!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Source Volume Name of a snapshot + */ + public /*out*/ readonly volumeName!: pulumi.Output; + + /** + * Create a VolumeSnapshot 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: VolumeSnapshotArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.creationData === undefined) && !opts.urn) { + throw new Error("Missing required property 'creationData'"); + } + if ((!args || args.elasticSanName === undefined) && !opts.urn) { + throw new Error("Missing required property 'elasticSanName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.volumeGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'volumeGroupName'"); + } + resourceInputs["creationData"] = args ? args.creationData : undefined; + resourceInputs["elasticSanName"] = args ? args.elasticSanName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["snapshotName"] = args ? args.snapshotName : undefined; + resourceInputs["volumeGroupName"] = args ? args.volumeGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sourceVolumeSizeGiB"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeName"] = undefined /*out*/; + } else { + resourceInputs["creationData"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sourceVolumeSizeGiB"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["volumeName"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:elasticsan/v20230101:VolumeSnapshot" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VolumeSnapshot.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VolumeSnapshot resource. + */ +export interface VolumeSnapshotArgs { + /** + * Data used when creating a volume snapshot. + */ + creationData: pulumi.Input; + /** + * The name of the ElasticSan. + */ + elasticSanName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the volume snapshot within the given volume group. + */ + snapshotName?: pulumi.Input; + /** + * The name of the VolumeGroup. + */ + volumeGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index f3dbc2abf779..b58fc59e7cf9 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -123,7 +123,6 @@ import * as insights from "./insights"; import * as intune from "./intune"; import * as iotcentral from "./iotcentral"; import * as iotfirmwaredefense from "./iotfirmwaredefense"; -import * as iotsecurity from "./iotsecurity"; import * as keyvault from "./keyvault"; import * as kubernetes from "./kubernetes"; import * as kubernetesconfiguration from "./kubernetesconfiguration"; @@ -202,11 +201,11 @@ import * as solutions from "./solutions"; import * as sql from "./sql"; import * as sqlvirtualmachine from "./sqlvirtualmachine"; import * as storage from "./storage"; +import * as storageactions from "./storageactions"; import * as storagecache from "./storagecache"; import * as storagemover from "./storagemover"; import * as storagepool from "./storagepool"; import * as storagesync from "./storagesync"; -import * as storagetasks from "./storagetasks"; import * as storsimple from "./storsimple"; import * as streamanalytics from "./streamanalytics"; import * as subscription from "./subscription"; @@ -339,7 +338,6 @@ export { intune, iotcentral, iotfirmwaredefense, - iotsecurity, keyvault, kubernetes, kubernetesconfiguration, @@ -418,11 +416,11 @@ export { sql, sqlvirtualmachine, storage, + storageactions, storagecache, storagemover, storagepool, storagesync, - storagetasks, storsimple, streamanalytics, subscription, diff --git a/sdk/nodejs/iotsecurity/defenderSetting.ts b/sdk/nodejs/iotsecurity/defenderSetting.ts deleted file mode 100644 index 764af929aaf3..000000000000 --- a/sdk/nodejs/iotsecurity/defenderSetting.ts +++ /dev/null @@ -1,136 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * IoT Defender settings - * Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - */ -export class DefenderSetting extends pulumi.CustomResource { - /** - * Get an existing DefenderSetting 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DefenderSetting { - return new DefenderSetting(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity:DefenderSetting'; - - /** - * Returns true if the given object is an instance of DefenderSetting. 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 DefenderSetting { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === DefenderSetting.__pulumiType; - } - - /** - * Size of the device quota. Value is required to be in multiples of 100. - */ - public readonly deviceQuota!: pulumi.Output; - /** - * End time of the evaluation period, if such exist - */ - public /*out*/ readonly evaluationEndTime!: pulumi.Output; - /** - * MDE integration configuration - */ - public readonly mdeIntegration!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The kind of onboarding for the subscription - */ - public readonly onboardingKind!: pulumi.Output; - /** - * Sentinel Workspace Resource Ids - */ - public readonly sentinelWorkspaceResourceIds!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a DefenderSetting 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: DefenderSettingArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.deviceQuota === undefined) && !opts.urn) { - throw new Error("Missing required property 'deviceQuota'"); - } - if ((!args || args.mdeIntegration === undefined) && !opts.urn) { - throw new Error("Missing required property 'mdeIntegration'"); - } - if ((!args || args.onboardingKind === undefined) && !opts.urn) { - throw new Error("Missing required property 'onboardingKind'"); - } - if ((!args || args.sentinelWorkspaceResourceIds === undefined) && !opts.urn) { - throw new Error("Missing required property 'sentinelWorkspaceResourceIds'"); - } - resourceInputs["deviceQuota"] = args ? args.deviceQuota : undefined; - resourceInputs["mdeIntegration"] = args ? args.mdeIntegration : undefined; - resourceInputs["onboardingKind"] = args ? args.onboardingKind : undefined; - resourceInputs["sentinelWorkspaceResourceIds"] = args ? args.sentinelWorkspaceResourceIds : undefined; - resourceInputs["evaluationEndTime"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["deviceQuota"] = undefined /*out*/; - resourceInputs["evaluationEndTime"] = undefined /*out*/; - resourceInputs["mdeIntegration"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["onboardingKind"] = undefined /*out*/; - resourceInputs["sentinelWorkspaceResourceIds"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity/v20210201preview:DefenderSetting" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(DefenderSetting.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a DefenderSetting resource. - */ -export interface DefenderSettingArgs { - /** - * Size of the device quota. Value is required to be in multiples of 100. - */ - deviceQuota: pulumi.Input; - /** - * MDE integration configuration - */ - mdeIntegration: pulumi.Input; - /** - * The kind of onboarding for the subscription - */ - onboardingKind: pulumi.Input; - /** - * Sentinel Workspace Resource Ids - */ - sentinelWorkspaceResourceIds: pulumi.Input[]>; -} diff --git a/sdk/nodejs/iotsecurity/deviceGroup.ts b/sdk/nodejs/iotsecurity/deviceGroup.ts deleted file mode 100644 index 817d81a7a2e9..000000000000 --- a/sdk/nodejs/iotsecurity/deviceGroup.ts +++ /dev/null @@ -1,97 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Device group - * Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - */ -export class DeviceGroup extends pulumi.CustomResource { - /** - * Get an existing DeviceGroup 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DeviceGroup { - return new DeviceGroup(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity:DeviceGroup'; - - /** - * Returns true if the given object is an instance of DeviceGroup. 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 DeviceGroup { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === DeviceGroup.__pulumiType; - } - - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a DeviceGroup 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: DeviceGroupArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.iotDefenderLocation === undefined) && !opts.urn) { - throw new Error("Missing required property 'iotDefenderLocation'"); - } - resourceInputs["deviceGroupName"] = args ? args.deviceGroupName : undefined; - resourceInputs["iotDefenderLocation"] = args ? args.iotDefenderLocation : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity/v20210201preview:DeviceGroup" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(DeviceGroup.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a DeviceGroup resource. - */ -export interface DeviceGroupArgs { - /** - * Device group name - */ - deviceGroupName?: pulumi.Input; - /** - * Defender for IoT location - */ - iotDefenderLocation: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/getDefenderSetting.ts b/sdk/nodejs/iotsecurity/getDefenderSetting.ts deleted file mode 100644 index d1ca57b872e4..000000000000 --- a/sdk/nodejs/iotsecurity/getDefenderSetting.ts +++ /dev/null @@ -1,68 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get IoT Defender Settings - * Azure REST API version: 2021-02-01-preview. - */ -export function getDefenderSetting(args?: GetDefenderSettingArgs, opts?: pulumi.InvokeOptions): Promise { - args = args || {}; - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity:getDefenderSetting", { - }, opts); -} - -export interface GetDefenderSettingArgs { -} - -/** - * IoT Defender settings - */ -export interface GetDefenderSettingResult { - /** - * Size of the device quota. Value is required to be in multiples of 100. - */ - readonly deviceQuota: number; - /** - * End time of the evaluation period, if such exist - */ - readonly evaluationEndTime: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * MDE integration configuration - */ - readonly mdeIntegration: outputs.iotsecurity.DefenderSettingsPropertiesResponseMdeIntegration; - /** - * The name of the resource - */ - readonly name: string; - /** - * The kind of onboarding for the subscription - */ - readonly onboardingKind: string; - /** - * Sentinel Workspace Resource Ids - */ - readonly sentinelWorkspaceResourceIds: string[]; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get IoT Defender Settings - * Azure REST API version: 2021-02-01-preview. - */ -export function getDefenderSettingOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getDefenderSetting(opts)) -} diff --git a/sdk/nodejs/iotsecurity/getDeviceGroup.ts b/sdk/nodejs/iotsecurity/getDeviceGroup.ts deleted file mode 100644 index bfe3b0417d9d..000000000000 --- a/sdk/nodejs/iotsecurity/getDeviceGroup.ts +++ /dev/null @@ -1,72 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get device group - * Azure REST API version: 2021-02-01-preview. - */ -export function getDeviceGroup(args: GetDeviceGroupArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity:getDeviceGroup", { - "deviceGroupName": args.deviceGroupName, - "iotDefenderLocation": args.iotDefenderLocation, - }, opts); -} - -export interface GetDeviceGroupArgs { - /** - * Device group name - */ - deviceGroupName: string; - /** - * Defender for IoT location - */ - iotDefenderLocation: string; -} - -/** - * Device group - */ -export interface GetDeviceGroupResult { - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get device group - * Azure REST API version: 2021-02-01-preview. - */ -export function getDeviceGroupOutput(args: GetDeviceGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeviceGroup(a, opts)) -} - -export interface GetDeviceGroupOutputArgs { - /** - * Device group name - */ - deviceGroupName: pulumi.Input; - /** - * Defender for IoT location - */ - iotDefenderLocation: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/getOnPremiseSensor.ts b/sdk/nodejs/iotsecurity/getOnPremiseSensor.ts deleted file mode 100644 index 27d572ad085c..000000000000 --- a/sdk/nodejs/iotsecurity/getOnPremiseSensor.ts +++ /dev/null @@ -1,63 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get on-premise IoT sensor - * Azure REST API version: 2021-02-01-preview. - */ -export function getOnPremiseSensor(args: GetOnPremiseSensorArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity:getOnPremiseSensor", { - "onPremiseSensorName": args.onPremiseSensorName, - }, opts); -} - -export interface GetOnPremiseSensorArgs { - /** - * Name of the on-premise IoT sensor - */ - onPremiseSensorName: string; -} - -/** - * On-premise IoT sensor - */ -export interface GetOnPremiseSensorResult { - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get on-premise IoT sensor - * Azure REST API version: 2021-02-01-preview. - */ -export function getOnPremiseSensorOutput(args: GetOnPremiseSensorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOnPremiseSensor(a, opts)) -} - -export interface GetOnPremiseSensorOutputArgs { - /** - * Name of the on-premise IoT sensor - */ - onPremiseSensorName: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/getSensor.ts b/sdk/nodejs/iotsecurity/getSensor.ts deleted file mode 100644 index f1f4ac08155d..000000000000 --- a/sdk/nodejs/iotsecurity/getSensor.ts +++ /dev/null @@ -1,112 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get IoT sensor - * Azure REST API version: 2021-02-01-preview. - */ -export function getSensor(args: GetSensorArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity:getSensor", { - "scope": args.scope, - "sensorName": args.sensorName, - }, opts); -} - -export interface GetSensorArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: string; - /** - * Name of the IoT sensor - */ - sensorName: string; -} - -/** - * IoT sensor model - */ -export interface GetSensorResult { - /** - * Last connectivity time of the IoT sensor - */ - readonly connectivityTime: string; - /** - * Dynamic mode status of the IoT sensor - */ - readonly dynamicLearning: boolean; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * Learning mode status of the IoT sensor - */ - readonly learningMode: boolean; - /** - * The name of the resource - */ - readonly name: string; - /** - * Status of the IoT sensor - */ - readonly sensorStatus: string; - /** - * Type of sensor - */ - readonly sensorType?: string; - /** - * Version of the IoT sensor - */ - readonly sensorVersion: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.SystemDataResponse; - /** - * TI Automatic mode status of the IoT sensor - */ - readonly tiAutomaticUpdates?: boolean; - /** - * TI Status of the IoT sensor - */ - readonly tiStatus: string; - /** - * TI Version of the IoT sensor - */ - readonly tiVersion: string; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; - /** - * Zone of the IoT sensor - */ - readonly zone?: string; -} -/** - * Get IoT sensor - * Azure REST API version: 2021-02-01-preview. - */ -export function getSensorOutput(args: GetSensorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensor(a, opts)) -} - -export interface GetSensorOutputArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; - /** - * Name of the IoT sensor - */ - sensorName: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/getSite.ts b/sdk/nodejs/iotsecurity/getSite.ts deleted file mode 100644 index ec38cec3c14d..000000000000 --- a/sdk/nodejs/iotsecurity/getSite.ts +++ /dev/null @@ -1,71 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get IoT site - * Azure REST API version: 2021-02-01-preview. - */ -export function getSite(args: GetSiteArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity:getSite", { - "scope": args.scope, - }, opts); -} - -export interface GetSiteArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: string; -} - -/** - * IoT site model - */ -export interface GetSiteResult { - /** - * Display name of the IoT site - */ - readonly displayName: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.SystemDataResponse; - /** - * Tags of the IoT site - */ - readonly tags?: {[key: string]: string}; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get IoT site - * Azure REST API version: 2021-02-01-preview. - */ -export function getSiteOutput(args: GetSiteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSite(a, opts)) -} - -export interface GetSiteOutputArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/index.ts b/sdk/nodejs/iotsecurity/index.ts deleted file mode 100644 index 05b82e1cfcea..000000000000 --- a/sdk/nodejs/iotsecurity/index.ts +++ /dev/null @@ -1,88 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../utilities"; - -// Export members: -export { DefenderSettingArgs } from "./defenderSetting"; -export type DefenderSetting = import("./defenderSetting").DefenderSetting; -export const DefenderSetting: typeof import("./defenderSetting").DefenderSetting = null as any; -utilities.lazyLoad(exports, ["DefenderSetting"], () => require("./defenderSetting")); - -export { DeviceGroupArgs } from "./deviceGroup"; -export type DeviceGroup = import("./deviceGroup").DeviceGroup; -export const DeviceGroup: typeof import("./deviceGroup").DeviceGroup = null as any; -utilities.lazyLoad(exports, ["DeviceGroup"], () => require("./deviceGroup")); - -export { GetDefenderSettingArgs, GetDefenderSettingResult } from "./getDefenderSetting"; -export const getDefenderSetting: typeof import("./getDefenderSetting").getDefenderSetting = null as any; -export const getDefenderSettingOutput: typeof import("./getDefenderSetting").getDefenderSettingOutput = null as any; -utilities.lazyLoad(exports, ["getDefenderSetting","getDefenderSettingOutput"], () => require("./getDefenderSetting")); - -export { GetDeviceGroupArgs, GetDeviceGroupResult, GetDeviceGroupOutputArgs } from "./getDeviceGroup"; -export const getDeviceGroup: typeof import("./getDeviceGroup").getDeviceGroup = null as any; -export const getDeviceGroupOutput: typeof import("./getDeviceGroup").getDeviceGroupOutput = null as any; -utilities.lazyLoad(exports, ["getDeviceGroup","getDeviceGroupOutput"], () => require("./getDeviceGroup")); - -export { GetOnPremiseSensorArgs, GetOnPremiseSensorResult, GetOnPremiseSensorOutputArgs } from "./getOnPremiseSensor"; -export const getOnPremiseSensor: typeof import("./getOnPremiseSensor").getOnPremiseSensor = null as any; -export const getOnPremiseSensorOutput: typeof import("./getOnPremiseSensor").getOnPremiseSensorOutput = null as any; -utilities.lazyLoad(exports, ["getOnPremiseSensor","getOnPremiseSensorOutput"], () => require("./getOnPremiseSensor")); - -export { GetSensorArgs, GetSensorResult, GetSensorOutputArgs } from "./getSensor"; -export const getSensor: typeof import("./getSensor").getSensor = null as any; -export const getSensorOutput: typeof import("./getSensor").getSensorOutput = null as any; -utilities.lazyLoad(exports, ["getSensor","getSensorOutput"], () => require("./getSensor")); - -export { GetSiteArgs, GetSiteResult, GetSiteOutputArgs } from "./getSite"; -export const getSite: typeof import("./getSite").getSite = null as any; -export const getSiteOutput: typeof import("./getSite").getSiteOutput = null as any; -utilities.lazyLoad(exports, ["getSite","getSiteOutput"], () => require("./getSite")); - -export { OnPremiseSensorArgs } from "./onPremiseSensor"; -export type OnPremiseSensor = import("./onPremiseSensor").OnPremiseSensor; -export const OnPremiseSensor: typeof import("./onPremiseSensor").OnPremiseSensor = null as any; -utilities.lazyLoad(exports, ["OnPremiseSensor"], () => require("./onPremiseSensor")); - -export { SensorArgs } from "./sensor"; -export type Sensor = import("./sensor").Sensor; -export const Sensor: typeof import("./sensor").Sensor = null as any; -utilities.lazyLoad(exports, ["Sensor"], () => require("./sensor")); - -export { SiteArgs } from "./site"; -export type Site = import("./site").Site; -export const Site: typeof import("./site").Site = null as any; -utilities.lazyLoad(exports, ["Site"], () => require("./site")); - - -// Export enums: -export * from "../types/enums/iotsecurity"; - -// Export sub-modules: -import * as v20210201preview from "./v20210201preview"; - -export { - v20210201preview, -}; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:iotsecurity:DefenderSetting": - return new DefenderSetting(name, undefined, { urn }) - case "azure-native:iotsecurity:DeviceGroup": - return new DeviceGroup(name, undefined, { urn }) - case "azure-native:iotsecurity:OnPremiseSensor": - return new OnPremiseSensor(name, undefined, { urn }) - case "azure-native:iotsecurity:Sensor": - return new Sensor(name, undefined, { urn }) - case "azure-native:iotsecurity:Site": - return new Site(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "iotsecurity", _module) diff --git a/sdk/nodejs/iotsecurity/onPremiseSensor.ts b/sdk/nodejs/iotsecurity/onPremiseSensor.ts deleted file mode 100644 index e9b2cace973d..000000000000 --- a/sdk/nodejs/iotsecurity/onPremiseSensor.ts +++ /dev/null @@ -1,89 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * On-premise IoT sensor - * Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - */ -export class OnPremiseSensor extends pulumi.CustomResource { - /** - * Get an existing OnPremiseSensor 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OnPremiseSensor { - return new OnPremiseSensor(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity:OnPremiseSensor'; - - /** - * Returns true if the given object is an instance of OnPremiseSensor. 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 OnPremiseSensor { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === OnPremiseSensor.__pulumiType; - } - - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a OnPremiseSensor 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?: OnPremiseSensorArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - resourceInputs["onPremiseSensorName"] = args ? args.onPremiseSensorName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity/v20210201preview:OnPremiseSensor" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(OnPremiseSensor.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a OnPremiseSensor resource. - */ -export interface OnPremiseSensorArgs { - /** - * Name of the on-premise IoT sensor - */ - onPremiseSensorName?: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/sensor.ts b/sdk/nodejs/iotsecurity/sensor.ts deleted file mode 100644 index fd863d1372f9..000000000000 --- a/sdk/nodejs/iotsecurity/sensor.ts +++ /dev/null @@ -1,169 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * IoT sensor model - * Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - */ -export class Sensor extends pulumi.CustomResource { - /** - * Get an existing Sensor 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Sensor { - return new Sensor(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity:Sensor'; - - /** - * Returns true if the given object is an instance of Sensor. 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 Sensor { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Sensor.__pulumiType; - } - - /** - * Last connectivity time of the IoT sensor - */ - public /*out*/ readonly connectivityTime!: pulumi.Output; - /** - * Dynamic mode status of the IoT sensor - */ - public /*out*/ readonly dynamicLearning!: pulumi.Output; - /** - * Learning mode status of the IoT sensor - */ - public /*out*/ readonly learningMode!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Status of the IoT sensor - */ - public /*out*/ readonly sensorStatus!: pulumi.Output; - /** - * Type of sensor - */ - public readonly sensorType!: pulumi.Output; - /** - * Version of the IoT sensor - */ - public /*out*/ readonly sensorVersion!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * TI Automatic mode status of the IoT sensor - */ - public readonly tiAutomaticUpdates!: pulumi.Output; - /** - * TI Status of the IoT sensor - */ - public /*out*/ readonly tiStatus!: pulumi.Output; - /** - * TI Version of the IoT sensor - */ - public /*out*/ readonly tiVersion!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - /** - * Zone of the IoT sensor - */ - public readonly zone!: pulumi.Output; - - /** - * Create a Sensor 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: SensorArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.scope === undefined) && !opts.urn) { - throw new Error("Missing required property 'scope'"); - } - resourceInputs["scope"] = args ? args.scope : undefined; - resourceInputs["sensorName"] = args ? args.sensorName : undefined; - resourceInputs["sensorType"] = args ? args.sensorType : undefined; - resourceInputs["tiAutomaticUpdates"] = args ? args.tiAutomaticUpdates : undefined; - resourceInputs["zone"] = args ? args.zone : undefined; - resourceInputs["connectivityTime"] = undefined /*out*/; - resourceInputs["dynamicLearning"] = undefined /*out*/; - resourceInputs["learningMode"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["sensorStatus"] = undefined /*out*/; - resourceInputs["sensorVersion"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tiStatus"] = undefined /*out*/; - resourceInputs["tiVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["connectivityTime"] = undefined /*out*/; - resourceInputs["dynamicLearning"] = undefined /*out*/; - resourceInputs["learningMode"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["sensorStatus"] = undefined /*out*/; - resourceInputs["sensorType"] = undefined /*out*/; - resourceInputs["sensorVersion"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tiAutomaticUpdates"] = undefined /*out*/; - resourceInputs["tiStatus"] = undefined /*out*/; - resourceInputs["tiVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["zone"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity/v20210201preview:Sensor" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Sensor.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Sensor resource. - */ -export interface SensorArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; - /** - * Name of the IoT sensor - */ - sensorName?: pulumi.Input; - /** - * Type of sensor - */ - sensorType?: pulumi.Input; - /** - * TI Automatic mode status of the IoT sensor - */ - tiAutomaticUpdates?: pulumi.Input; - /** - * Zone of the IoT sensor - */ - zone?: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/site.ts b/sdk/nodejs/iotsecurity/site.ts deleted file mode 100644 index 531a3ce5c387..000000000000 --- a/sdk/nodejs/iotsecurity/site.ts +++ /dev/null @@ -1,115 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * IoT site model - * Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - */ -export class Site extends pulumi.CustomResource { - /** - * Get an existing Site 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Site { - return new Site(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity:Site'; - - /** - * Returns true if the given object is an instance of Site. 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 Site { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Site.__pulumiType; - } - - /** - * Display name of the IoT site - */ - public readonly displayName!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * Tags of the IoT site - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a Site 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: SiteArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.displayName === undefined) && !opts.urn) { - throw new Error("Missing required property 'displayName'"); - } - if ((!args || args.scope === undefined) && !opts.urn) { - throw new Error("Missing required property 'scope'"); - } - resourceInputs["displayName"] = args ? args.displayName : undefined; - resourceInputs["scope"] = args ? args.scope : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["displayName"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity/v20210201preview:Site" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Site.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Site resource. - */ -export interface SiteArgs { - /** - * Display name of the IoT site - */ - displayName: pulumi.Input; - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; - /** - * Tags of the IoT site - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/defenderSetting.ts b/sdk/nodejs/iotsecurity/v20210201preview/defenderSetting.ts deleted file mode 100644 index b3dd91b8d51f..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/defenderSetting.ts +++ /dev/null @@ -1,135 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * IoT Defender settings - */ -export class DefenderSetting extends pulumi.CustomResource { - /** - * Get an existing DefenderSetting 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DefenderSetting { - return new DefenderSetting(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity/v20210201preview:DefenderSetting'; - - /** - * Returns true if the given object is an instance of DefenderSetting. 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 DefenderSetting { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === DefenderSetting.__pulumiType; - } - - /** - * Size of the device quota. Value is required to be in multiples of 100. - */ - public readonly deviceQuota!: pulumi.Output; - /** - * End time of the evaluation period, if such exist - */ - public /*out*/ readonly evaluationEndTime!: pulumi.Output; - /** - * MDE integration configuration - */ - public readonly mdeIntegration!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * The kind of onboarding for the subscription - */ - public readonly onboardingKind!: pulumi.Output; - /** - * Sentinel Workspace Resource Ids - */ - public readonly sentinelWorkspaceResourceIds!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a DefenderSetting 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: DefenderSettingArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.deviceQuota === undefined) && !opts.urn) { - throw new Error("Missing required property 'deviceQuota'"); - } - if ((!args || args.mdeIntegration === undefined) && !opts.urn) { - throw new Error("Missing required property 'mdeIntegration'"); - } - if ((!args || args.onboardingKind === undefined) && !opts.urn) { - throw new Error("Missing required property 'onboardingKind'"); - } - if ((!args || args.sentinelWorkspaceResourceIds === undefined) && !opts.urn) { - throw new Error("Missing required property 'sentinelWorkspaceResourceIds'"); - } - resourceInputs["deviceQuota"] = args ? args.deviceQuota : undefined; - resourceInputs["mdeIntegration"] = args ? args.mdeIntegration : undefined; - resourceInputs["onboardingKind"] = args ? args.onboardingKind : undefined; - resourceInputs["sentinelWorkspaceResourceIds"] = args ? args.sentinelWorkspaceResourceIds : undefined; - resourceInputs["evaluationEndTime"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["deviceQuota"] = undefined /*out*/; - resourceInputs["evaluationEndTime"] = undefined /*out*/; - resourceInputs["mdeIntegration"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["onboardingKind"] = undefined /*out*/; - resourceInputs["sentinelWorkspaceResourceIds"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity:DefenderSetting" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(DefenderSetting.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a DefenderSetting resource. - */ -export interface DefenderSettingArgs { - /** - * Size of the device quota. Value is required to be in multiples of 100. - */ - deviceQuota: pulumi.Input; - /** - * MDE integration configuration - */ - mdeIntegration: pulumi.Input; - /** - * The kind of onboarding for the subscription - */ - onboardingKind: pulumi.Input; - /** - * Sentinel Workspace Resource Ids - */ - sentinelWorkspaceResourceIds: pulumi.Input[]>; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/deviceGroup.ts b/sdk/nodejs/iotsecurity/v20210201preview/deviceGroup.ts deleted file mode 100644 index cd283f91ffc1..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/deviceGroup.ts +++ /dev/null @@ -1,96 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Device group - */ -export class DeviceGroup extends pulumi.CustomResource { - /** - * Get an existing DeviceGroup 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DeviceGroup { - return new DeviceGroup(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity/v20210201preview:DeviceGroup'; - - /** - * Returns true if the given object is an instance of DeviceGroup. 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 DeviceGroup { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === DeviceGroup.__pulumiType; - } - - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a DeviceGroup 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: DeviceGroupArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.iotDefenderLocation === undefined) && !opts.urn) { - throw new Error("Missing required property 'iotDefenderLocation'"); - } - resourceInputs["deviceGroupName"] = args ? args.deviceGroupName : undefined; - resourceInputs["iotDefenderLocation"] = args ? args.iotDefenderLocation : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity:DeviceGroup" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(DeviceGroup.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a DeviceGroup resource. - */ -export interface DeviceGroupArgs { - /** - * Device group name - */ - deviceGroupName?: pulumi.Input; - /** - * Defender for IoT location - */ - iotDefenderLocation: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/getDefenderSetting.ts b/sdk/nodejs/iotsecurity/v20210201preview/getDefenderSetting.ts deleted file mode 100644 index a9fe716e82bb..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/getDefenderSetting.ts +++ /dev/null @@ -1,66 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get IoT Defender Settings - */ -export function getDefenderSetting(args?: GetDefenderSettingArgs, opts?: pulumi.InvokeOptions): Promise { - args = args || {}; - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity/v20210201preview:getDefenderSetting", { - }, opts); -} - -export interface GetDefenderSettingArgs { -} - -/** - * IoT Defender settings - */ -export interface GetDefenderSettingResult { - /** - * Size of the device quota. Value is required to be in multiples of 100. - */ - readonly deviceQuota: number; - /** - * End time of the evaluation period, if such exist - */ - readonly evaluationEndTime: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * MDE integration configuration - */ - readonly mdeIntegration: outputs.iotsecurity.v20210201preview.DefenderSettingsPropertiesResponseMdeIntegration; - /** - * The name of the resource - */ - readonly name: string; - /** - * The kind of onboarding for the subscription - */ - readonly onboardingKind: string; - /** - * Sentinel Workspace Resource Ids - */ - readonly sentinelWorkspaceResourceIds: string[]; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get IoT Defender Settings - */ -export function getDefenderSettingOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getDefenderSetting(opts)) -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/getDeviceGroup.ts b/sdk/nodejs/iotsecurity/v20210201preview/getDeviceGroup.ts deleted file mode 100644 index 210f983d0b7d..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/getDeviceGroup.ts +++ /dev/null @@ -1,70 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get device group - */ -export function getDeviceGroup(args: GetDeviceGroupArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity/v20210201preview:getDeviceGroup", { - "deviceGroupName": args.deviceGroupName, - "iotDefenderLocation": args.iotDefenderLocation, - }, opts); -} - -export interface GetDeviceGroupArgs { - /** - * Device group name - */ - deviceGroupName: string; - /** - * Defender for IoT location - */ - iotDefenderLocation: string; -} - -/** - * Device group - */ -export interface GetDeviceGroupResult { - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.v20210201preview.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get device group - */ -export function getDeviceGroupOutput(args: GetDeviceGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeviceGroup(a, opts)) -} - -export interface GetDeviceGroupOutputArgs { - /** - * Device group name - */ - deviceGroupName: pulumi.Input; - /** - * Defender for IoT location - */ - iotDefenderLocation: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/getOnPremiseSensor.ts b/sdk/nodejs/iotsecurity/v20210201preview/getOnPremiseSensor.ts deleted file mode 100644 index 145c64899fba..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/getOnPremiseSensor.ts +++ /dev/null @@ -1,61 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get on-premise IoT sensor - */ -export function getOnPremiseSensor(args: GetOnPremiseSensorArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity/v20210201preview:getOnPremiseSensor", { - "onPremiseSensorName": args.onPremiseSensorName, - }, opts); -} - -export interface GetOnPremiseSensorArgs { - /** - * Name of the on-premise IoT sensor - */ - onPremiseSensorName: string; -} - -/** - * On-premise IoT sensor - */ -export interface GetOnPremiseSensorResult { - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.v20210201preview.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get on-premise IoT sensor - */ -export function getOnPremiseSensorOutput(args: GetOnPremiseSensorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOnPremiseSensor(a, opts)) -} - -export interface GetOnPremiseSensorOutputArgs { - /** - * Name of the on-premise IoT sensor - */ - onPremiseSensorName: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/getSensor.ts b/sdk/nodejs/iotsecurity/v20210201preview/getSensor.ts deleted file mode 100644 index 330f7d556931..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/getSensor.ts +++ /dev/null @@ -1,110 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get IoT sensor - */ -export function getSensor(args: GetSensorArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity/v20210201preview:getSensor", { - "scope": args.scope, - "sensorName": args.sensorName, - }, opts); -} - -export interface GetSensorArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: string; - /** - * Name of the IoT sensor - */ - sensorName: string; -} - -/** - * IoT sensor model - */ -export interface GetSensorResult { - /** - * Last connectivity time of the IoT sensor - */ - readonly connectivityTime: string; - /** - * Dynamic mode status of the IoT sensor - */ - readonly dynamicLearning: boolean; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * Learning mode status of the IoT sensor - */ - readonly learningMode: boolean; - /** - * The name of the resource - */ - readonly name: string; - /** - * Status of the IoT sensor - */ - readonly sensorStatus: string; - /** - * Type of sensor - */ - readonly sensorType?: string; - /** - * Version of the IoT sensor - */ - readonly sensorVersion: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.v20210201preview.SystemDataResponse; - /** - * TI Automatic mode status of the IoT sensor - */ - readonly tiAutomaticUpdates?: boolean; - /** - * TI Status of the IoT sensor - */ - readonly tiStatus: string; - /** - * TI Version of the IoT sensor - */ - readonly tiVersion: string; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; - /** - * Zone of the IoT sensor - */ - readonly zone?: string; -} -/** - * Get IoT sensor - */ -export function getSensorOutput(args: GetSensorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSensor(a, opts)) -} - -export interface GetSensorOutputArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; - /** - * Name of the IoT sensor - */ - sensorName: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/getSite.ts b/sdk/nodejs/iotsecurity/v20210201preview/getSite.ts deleted file mode 100644 index 47df03dfabf9..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/getSite.ts +++ /dev/null @@ -1,69 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get IoT site - */ -export function getSite(args: GetSiteArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:iotsecurity/v20210201preview:getSite", { - "scope": args.scope, - }, opts); -} - -export interface GetSiteArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: string; -} - -/** - * IoT site model - */ -export interface GetSiteResult { - /** - * Display name of the IoT site - */ - readonly displayName: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - readonly id: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.iotsecurity.v20210201preview.SystemDataResponse; - /** - * Tags of the IoT site - */ - readonly tags?: {[key: string]: string}; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get IoT site - */ -export function getSiteOutput(args: GetSiteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSite(a, opts)) -} - -export interface GetSiteOutputArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/index.ts b/sdk/nodejs/iotsecurity/v20210201preview/index.ts deleted file mode 100644 index e3ca4d398cce..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/index.ts +++ /dev/null @@ -1,81 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -// Export members: -export { DefenderSettingArgs } from "./defenderSetting"; -export type DefenderSetting = import("./defenderSetting").DefenderSetting; -export const DefenderSetting: typeof import("./defenderSetting").DefenderSetting = null as any; -utilities.lazyLoad(exports, ["DefenderSetting"], () => require("./defenderSetting")); - -export { DeviceGroupArgs } from "./deviceGroup"; -export type DeviceGroup = import("./deviceGroup").DeviceGroup; -export const DeviceGroup: typeof import("./deviceGroup").DeviceGroup = null as any; -utilities.lazyLoad(exports, ["DeviceGroup"], () => require("./deviceGroup")); - -export { GetDefenderSettingArgs, GetDefenderSettingResult } from "./getDefenderSetting"; -export const getDefenderSetting: typeof import("./getDefenderSetting").getDefenderSetting = null as any; -export const getDefenderSettingOutput: typeof import("./getDefenderSetting").getDefenderSettingOutput = null as any; -utilities.lazyLoad(exports, ["getDefenderSetting","getDefenderSettingOutput"], () => require("./getDefenderSetting")); - -export { GetDeviceGroupArgs, GetDeviceGroupResult, GetDeviceGroupOutputArgs } from "./getDeviceGroup"; -export const getDeviceGroup: typeof import("./getDeviceGroup").getDeviceGroup = null as any; -export const getDeviceGroupOutput: typeof import("./getDeviceGroup").getDeviceGroupOutput = null as any; -utilities.lazyLoad(exports, ["getDeviceGroup","getDeviceGroupOutput"], () => require("./getDeviceGroup")); - -export { GetOnPremiseSensorArgs, GetOnPremiseSensorResult, GetOnPremiseSensorOutputArgs } from "./getOnPremiseSensor"; -export const getOnPremiseSensor: typeof import("./getOnPremiseSensor").getOnPremiseSensor = null as any; -export const getOnPremiseSensorOutput: typeof import("./getOnPremiseSensor").getOnPremiseSensorOutput = null as any; -utilities.lazyLoad(exports, ["getOnPremiseSensor","getOnPremiseSensorOutput"], () => require("./getOnPremiseSensor")); - -export { GetSensorArgs, GetSensorResult, GetSensorOutputArgs } from "./getSensor"; -export const getSensor: typeof import("./getSensor").getSensor = null as any; -export const getSensorOutput: typeof import("./getSensor").getSensorOutput = null as any; -utilities.lazyLoad(exports, ["getSensor","getSensorOutput"], () => require("./getSensor")); - -export { GetSiteArgs, GetSiteResult, GetSiteOutputArgs } from "./getSite"; -export const getSite: typeof import("./getSite").getSite = null as any; -export const getSiteOutput: typeof import("./getSite").getSiteOutput = null as any; -utilities.lazyLoad(exports, ["getSite","getSiteOutput"], () => require("./getSite")); - -export { OnPremiseSensorArgs } from "./onPremiseSensor"; -export type OnPremiseSensor = import("./onPremiseSensor").OnPremiseSensor; -export const OnPremiseSensor: typeof import("./onPremiseSensor").OnPremiseSensor = null as any; -utilities.lazyLoad(exports, ["OnPremiseSensor"], () => require("./onPremiseSensor")); - -export { SensorArgs } from "./sensor"; -export type Sensor = import("./sensor").Sensor; -export const Sensor: typeof import("./sensor").Sensor = null as any; -utilities.lazyLoad(exports, ["Sensor"], () => require("./sensor")); - -export { SiteArgs } from "./site"; -export type Site = import("./site").Site; -export const Site: typeof import("./site").Site = null as any; -utilities.lazyLoad(exports, ["Site"], () => require("./site")); - - -// Export enums: -export * from "../../types/enums/iotsecurity/v20210201preview"; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:iotsecurity/v20210201preview:DefenderSetting": - return new DefenderSetting(name, undefined, { urn }) - case "azure-native:iotsecurity/v20210201preview:DeviceGroup": - return new DeviceGroup(name, undefined, { urn }) - case "azure-native:iotsecurity/v20210201preview:OnPremiseSensor": - return new OnPremiseSensor(name, undefined, { urn }) - case "azure-native:iotsecurity/v20210201preview:Sensor": - return new Sensor(name, undefined, { urn }) - case "azure-native:iotsecurity/v20210201preview:Site": - return new Site(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "iotsecurity/v20210201preview", _module) diff --git a/sdk/nodejs/iotsecurity/v20210201preview/onPremiseSensor.ts b/sdk/nodejs/iotsecurity/v20210201preview/onPremiseSensor.ts deleted file mode 100644 index 11cdeb24e819..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/onPremiseSensor.ts +++ /dev/null @@ -1,88 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * On-premise IoT sensor - */ -export class OnPremiseSensor extends pulumi.CustomResource { - /** - * Get an existing OnPremiseSensor 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OnPremiseSensor { - return new OnPremiseSensor(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity/v20210201preview:OnPremiseSensor'; - - /** - * Returns true if the given object is an instance of OnPremiseSensor. 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 OnPremiseSensor { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === OnPremiseSensor.__pulumiType; - } - - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a OnPremiseSensor 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?: OnPremiseSensorArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - resourceInputs["onPremiseSensorName"] = args ? args.onPremiseSensorName : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity:OnPremiseSensor" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(OnPremiseSensor.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a OnPremiseSensor resource. - */ -export interface OnPremiseSensorArgs { - /** - * Name of the on-premise IoT sensor - */ - onPremiseSensorName?: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/sensor.ts b/sdk/nodejs/iotsecurity/v20210201preview/sensor.ts deleted file mode 100644 index 4087c8b2176c..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/sensor.ts +++ /dev/null @@ -1,168 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * IoT sensor model - */ -export class Sensor extends pulumi.CustomResource { - /** - * Get an existing Sensor 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Sensor { - return new Sensor(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity/v20210201preview:Sensor'; - - /** - * Returns true if the given object is an instance of Sensor. 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 Sensor { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Sensor.__pulumiType; - } - - /** - * Last connectivity time of the IoT sensor - */ - public /*out*/ readonly connectivityTime!: pulumi.Output; - /** - * Dynamic mode status of the IoT sensor - */ - public /*out*/ readonly dynamicLearning!: pulumi.Output; - /** - * Learning mode status of the IoT sensor - */ - public /*out*/ readonly learningMode!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Status of the IoT sensor - */ - public /*out*/ readonly sensorStatus!: pulumi.Output; - /** - * Type of sensor - */ - public readonly sensorType!: pulumi.Output; - /** - * Version of the IoT sensor - */ - public /*out*/ readonly sensorVersion!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * TI Automatic mode status of the IoT sensor - */ - public readonly tiAutomaticUpdates!: pulumi.Output; - /** - * TI Status of the IoT sensor - */ - public /*out*/ readonly tiStatus!: pulumi.Output; - /** - * TI Version of the IoT sensor - */ - public /*out*/ readonly tiVersion!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - /** - * Zone of the IoT sensor - */ - public readonly zone!: pulumi.Output; - - /** - * Create a Sensor 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: SensorArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.scope === undefined) && !opts.urn) { - throw new Error("Missing required property 'scope'"); - } - resourceInputs["scope"] = args ? args.scope : undefined; - resourceInputs["sensorName"] = args ? args.sensorName : undefined; - resourceInputs["sensorType"] = args ? args.sensorType : undefined; - resourceInputs["tiAutomaticUpdates"] = args ? args.tiAutomaticUpdates : undefined; - resourceInputs["zone"] = args ? args.zone : undefined; - resourceInputs["connectivityTime"] = undefined /*out*/; - resourceInputs["dynamicLearning"] = undefined /*out*/; - resourceInputs["learningMode"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["sensorStatus"] = undefined /*out*/; - resourceInputs["sensorVersion"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tiStatus"] = undefined /*out*/; - resourceInputs["tiVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["connectivityTime"] = undefined /*out*/; - resourceInputs["dynamicLearning"] = undefined /*out*/; - resourceInputs["learningMode"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["sensorStatus"] = undefined /*out*/; - resourceInputs["sensorType"] = undefined /*out*/; - resourceInputs["sensorVersion"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tiAutomaticUpdates"] = undefined /*out*/; - resourceInputs["tiStatus"] = undefined /*out*/; - resourceInputs["tiVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - resourceInputs["zone"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity:Sensor" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Sensor.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Sensor resource. - */ -export interface SensorArgs { - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; - /** - * Name of the IoT sensor - */ - sensorName?: pulumi.Input; - /** - * Type of sensor - */ - sensorType?: pulumi.Input; - /** - * TI Automatic mode status of the IoT sensor - */ - tiAutomaticUpdates?: pulumi.Input; - /** - * Zone of the IoT sensor - */ - zone?: pulumi.Input; -} diff --git a/sdk/nodejs/iotsecurity/v20210201preview/site.ts b/sdk/nodejs/iotsecurity/v20210201preview/site.ts deleted file mode 100644 index 9245dd968f02..000000000000 --- a/sdk/nodejs/iotsecurity/v20210201preview/site.ts +++ /dev/null @@ -1,114 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * IoT site model - */ -export class Site extends pulumi.CustomResource { - /** - * Get an existing Site 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Site { - return new Site(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:iotsecurity/v20210201preview:Site'; - - /** - * Returns true if the given object is an instance of Site. 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 Site { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === Site.__pulumiType; - } - - /** - * Display name of the IoT site - */ - public readonly displayName!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * Tags of the IoT site - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a Site 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: SiteArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.displayName === undefined) && !opts.urn) { - throw new Error("Missing required property 'displayName'"); - } - if ((!args || args.scope === undefined) && !opts.urn) { - throw new Error("Missing required property 'scope'"); - } - resourceInputs["displayName"] = args ? args.displayName : undefined; - resourceInputs["scope"] = args ? args.scope : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["displayName"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:iotsecurity:Site" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(Site.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a Site resource. - */ -export interface SiteArgs { - /** - * Display name of the IoT site - */ - displayName: pulumi.Input; - /** - * Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - */ - scope: pulumi.Input; - /** - * Tags of the IoT site - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; -} diff --git a/sdk/nodejs/kusto/attachedDatabaseConfiguration.ts b/sdk/nodejs/kusto/attachedDatabaseConfiguration.ts index 2e45b4252bb9..1b3e693e4c4c 100644 --- a/sdk/nodejs/kusto/attachedDatabaseConfiguration.ts +++ b/sdk/nodejs/kusto/attachedDatabaseConfiguration.ts @@ -137,7 +137,7 @@ export class AttachedDatabaseConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221229:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230502:AttachedDatabaseConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221229:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230502:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230815:AttachedDatabaseConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AttachedDatabaseConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/cluster.ts b/sdk/nodejs/kusto/cluster.ts index 1ab6f4d430d8..4f2eb2406a7b 100644 --- a/sdk/nodejs/kusto/cluster.ts +++ b/sdk/nodejs/kusto/cluster.ts @@ -254,7 +254,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["zones"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }, { type: "azure-native:kusto/v20230815:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/clusterPrincipalAssignment.ts b/sdk/nodejs/kusto/clusterPrincipalAssignment.ts index 48c4e2117d6a..f81f921653c5 100644 --- a/sdk/nodejs/kusto/clusterPrincipalAssignment.ts +++ b/sdk/nodejs/kusto/clusterPrincipalAssignment.ts @@ -131,7 +131,7 @@ export class ClusterPrincipalAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221229:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230502:ClusterPrincipalAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221229:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230502:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230815:ClusterPrincipalAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ClusterPrincipalAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/cosmosDbDataConnection.ts b/sdk/nodejs/kusto/cosmosDbDataConnection.ts index 154d241a41b9..1825b623d4e3 100644 --- a/sdk/nodejs/kusto/cosmosDbDataConnection.ts +++ b/sdk/nodejs/kusto/cosmosDbDataConnection.ts @@ -160,7 +160,7 @@ export class CosmosDbDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221229:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230502:CosmosDbDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221229:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230502:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230815:CosmosDbDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CosmosDbDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/databasePrincipalAssignment.ts b/sdk/nodejs/kusto/databasePrincipalAssignment.ts index 07acbe44635b..ee50dd2cf2e4 100644 --- a/sdk/nodejs/kusto/databasePrincipalAssignment.ts +++ b/sdk/nodejs/kusto/databasePrincipalAssignment.ts @@ -135,7 +135,7 @@ export class DatabasePrincipalAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221229:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230502:DatabasePrincipalAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221229:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230502:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230815:DatabasePrincipalAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabasePrincipalAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/eventGridDataConnection.ts b/sdk/nodejs/kusto/eventGridDataConnection.ts index 739930a9f580..a81501da33db 100644 --- a/sdk/nodejs/kusto/eventGridDataConnection.ts +++ b/sdk/nodejs/kusto/eventGridDataConnection.ts @@ -181,7 +181,7 @@ export class EventGridDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }, { type: "azure-native:kusto/v20230815:EventGridDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventGridDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/eventHubDataConnection.ts b/sdk/nodejs/kusto/eventHubDataConnection.ts index 9e926e0407ed..7d7aecee9c8e 100644 --- a/sdk/nodejs/kusto/eventHubDataConnection.ts +++ b/sdk/nodejs/kusto/eventHubDataConnection.ts @@ -172,7 +172,7 @@ export class EventHubDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20221229:EventHubDataConnection" }, { type: "azure-native:kusto/v20230502:EventHubDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20221229:EventHubDataConnection" }, { type: "azure-native:kusto/v20230502:EventHubDataConnection" }, { type: "azure-native:kusto/v20230815:EventHubDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventHubDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/getSandboxCustomImage.ts b/sdk/nodejs/kusto/getSandboxCustomImage.ts new file mode 100644 index 000000000000..ca25e1148c7f --- /dev/null +++ b/sdk/nodejs/kusto/getSandboxCustomImage.ts @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Returns a sandbox custom image + * Azure REST API version: 2023-08-15. + */ +export function getSandboxCustomImage(args: GetSandboxCustomImageArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto:getSandboxCustomImage", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + "sandboxCustomImageName": args.sandboxCustomImageName, + }, opts); +} + +export interface GetSandboxCustomImageArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the sandbox custom image. + */ + sandboxCustomImageName: string; +} + +/** + * Class representing a Kusto sandbox custom image. + */ +export interface GetSandboxCustomImageResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The language name, for example Python. + */ + readonly language: string; + /** + * The version of the language. + */ + readonly languageVersion: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The requirements file content. + */ + readonly requirementsFileContent?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a sandbox custom image + * Azure REST API version: 2023-08-15. + */ +export function getSandboxCustomImageOutput(args: GetSandboxCustomImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSandboxCustomImage(a, opts)) +} + +export interface GetSandboxCustomImageOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the sandbox custom image. + */ + sandboxCustomImageName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/index.ts b/sdk/nodejs/kusto/index.ts index f67afc65e351..752d855fb419 100644 --- a/sdk/nodejs/kusto/index.ts +++ b/sdk/nodejs/kusto/index.ts @@ -110,6 +110,11 @@ export const getReadWriteDatabase: typeof import("./getReadWriteDatabase").getRe export const getReadWriteDatabaseOutput: typeof import("./getReadWriteDatabase").getReadWriteDatabaseOutput = null as any; utilities.lazyLoad(exports, ["getReadWriteDatabase","getReadWriteDatabaseOutput"], () => require("./getReadWriteDatabase")); +export { GetSandboxCustomImageArgs, GetSandboxCustomImageResult, GetSandboxCustomImageOutputArgs } from "./getSandboxCustomImage"; +export const getSandboxCustomImage: typeof import("./getSandboxCustomImage").getSandboxCustomImage = null as any; +export const getSandboxCustomImageOutput: typeof import("./getSandboxCustomImage").getSandboxCustomImageOutput = null as any; +utilities.lazyLoad(exports, ["getSandboxCustomImage","getSandboxCustomImageOutput"], () => require("./getSandboxCustomImage")); + export { GetScriptArgs, GetScriptResult, GetScriptOutputArgs } from "./getScript"; export const getScript: typeof import("./getScript").getScript = null as any; export const getScriptOutput: typeof import("./getScript").getScriptOutput = null as any; @@ -155,6 +160,11 @@ export type ReadWriteDatabase = import("./readWriteDatabase").ReadWriteDatabase; export const ReadWriteDatabase: typeof import("./readWriteDatabase").ReadWriteDatabase = null as any; utilities.lazyLoad(exports, ["ReadWriteDatabase"], () => require("./readWriteDatabase")); +export { SandboxCustomImageArgs } from "./sandboxCustomImage"; +export type SandboxCustomImage = import("./sandboxCustomImage").SandboxCustomImage; +export const SandboxCustomImage: typeof import("./sandboxCustomImage").SandboxCustomImage = null as any; +utilities.lazyLoad(exports, ["SandboxCustomImage"], () => require("./sandboxCustomImage")); + export { ScriptArgs } from "./script"; export type Script = import("./script").Script; export const Script: typeof import("./script").Script = null as any; @@ -174,6 +184,7 @@ import * as v20210827 from "./v20210827"; import * as v20220707 from "./v20220707"; import * as v20221229 from "./v20221229"; import * as v20230502 from "./v20230502"; +import * as v20230815 from "./v20230815"; export { v20180907preview, @@ -185,6 +196,7 @@ export { v20220707, v20221229, v20230502, + v20230815, }; const _module = { @@ -217,6 +229,8 @@ const _module = { return new ReadOnlyFollowingDatabase(name, undefined, { urn }) case "azure-native:kusto:ReadWriteDatabase": return new ReadWriteDatabase(name, undefined, { urn }) + case "azure-native:kusto:SandboxCustomImage": + return new SandboxCustomImage(name, undefined, { urn }) case "azure-native:kusto:Script": return new Script(name, undefined, { urn }) default: diff --git a/sdk/nodejs/kusto/iotHubDataConnection.ts b/sdk/nodejs/kusto/iotHubDataConnection.ts index 17b1a978b04c..66429f1863d4 100644 --- a/sdk/nodejs/kusto/iotHubDataConnection.ts +++ b/sdk/nodejs/kusto/iotHubDataConnection.ts @@ -163,7 +163,7 @@ export class IotHubDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20221229:IotHubDataConnection" }, { type: "azure-native:kusto/v20230502:IotHubDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20221229:IotHubDataConnection" }, { type: "azure-native:kusto/v20230502:IotHubDataConnection" }, { type: "azure-native:kusto/v20230815:IotHubDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IotHubDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/managedPrivateEndpoint.ts b/sdk/nodejs/kusto/managedPrivateEndpoint.ts index 8f71931e6274..e49b57e904f5 100644 --- a/sdk/nodejs/kusto/managedPrivateEndpoint.ts +++ b/sdk/nodejs/kusto/managedPrivateEndpoint.ts @@ -116,7 +116,7 @@ export class ManagedPrivateEndpoint extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221229:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230502:ManagedPrivateEndpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221229:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230502:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230815:ManagedPrivateEndpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedPrivateEndpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/privateEndpointConnection.ts b/sdk/nodejs/kusto/privateEndpointConnection.ts index 930604df1c9c..e0c0dc36967d 100644 --- a/sdk/nodejs/kusto/privateEndpointConnection.ts +++ b/sdk/nodejs/kusto/privateEndpointConnection.ts @@ -107,7 +107,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221229:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230502:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221229:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230502:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230815:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/readOnlyFollowingDatabase.ts b/sdk/nodejs/kusto/readOnlyFollowingDatabase.ts index 69c619bd0f78..dfda1354918b 100644 --- a/sdk/nodejs/kusto/readOnlyFollowingDatabase.ts +++ b/sdk/nodejs/kusto/readOnlyFollowingDatabase.ts @@ -151,7 +151,7 @@ export class ReadOnlyFollowingDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadOnlyFollowingDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/readWriteDatabase.ts b/sdk/nodejs/kusto/readWriteDatabase.ts index 17a5cda0e7df..085ab3d54dbb 100644 --- a/sdk/nodejs/kusto/readWriteDatabase.ts +++ b/sdk/nodejs/kusto/readWriteDatabase.ts @@ -121,7 +121,7 @@ export class ReadWriteDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230815:ReadWriteDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadWriteDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/sandboxCustomImage.ts b/sdk/nodejs/kusto/sandboxCustomImage.ts new file mode 100644 index 000000000000..c96a0f2f0c46 --- /dev/null +++ b/sdk/nodejs/kusto/sandboxCustomImage.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Class representing a Kusto sandbox custom image. + * Azure REST API version: 2023-08-15. + */ +export class SandboxCustomImage extends pulumi.CustomResource { + /** + * Get an existing SandboxCustomImage 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SandboxCustomImage { + return new SandboxCustomImage(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto:SandboxCustomImage'; + + /** + * Returns true if the given object is an instance of SandboxCustomImage. 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 SandboxCustomImage { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SandboxCustomImage.__pulumiType; + } + + /** + * The language name, for example Python. + */ + public readonly language!: pulumi.Output; + /** + * The version of the language. + */ + public readonly languageVersion!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The requirements file content. + */ + public readonly requirementsFileContent!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SandboxCustomImage 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: SandboxCustomImageArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.language === undefined) && !opts.urn) { + throw new Error("Missing required property 'language'"); + } + if ((!args || args.languageVersion === undefined) && !opts.urn) { + throw new Error("Missing required property 'languageVersion'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["language"] = args ? args.language : undefined; + resourceInputs["languageVersion"] = args ? args.languageVersion : undefined; + resourceInputs["requirementsFileContent"] = args ? args.requirementsFileContent : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sandboxCustomImageName"] = args ? args.sandboxCustomImageName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["language"] = undefined /*out*/; + resourceInputs["languageVersion"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["requirementsFileContent"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20230815:SandboxCustomImage" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SandboxCustomImage.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SandboxCustomImage resource. + */ +export interface SandboxCustomImageArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The language name, for example Python. + */ + language: pulumi.Input; + /** + * The version of the language. + */ + languageVersion: pulumi.Input; + /** + * The requirements file content. + */ + requirementsFileContent?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the sandbox custom image. + */ + sandboxCustomImageName?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/script.ts b/sdk/nodejs/kusto/script.ts index aea0077f828b..53b20ce8b9e5 100644 --- a/sdk/nodejs/kusto/script.ts +++ b/sdk/nodejs/kusto/script.ts @@ -110,7 +110,7 @@ export class Script extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }, { type: "azure-native:kusto/v20230502:Script" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }, { type: "azure-native:kusto/v20230502:Script" }, { type: "azure-native:kusto/v20230815:Script" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Script.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20180907preview/database.ts b/sdk/nodejs/kusto/v20180907preview/database.ts index cbfbeecbac25..bf2bf69c2076 100644 --- a/sdk/nodejs/kusto/v20180907preview/database.ts +++ b/sdk/nodejs/kusto/v20180907preview/database.ts @@ -118,7 +118,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Database" }, { type: "azure-native:kusto/v20170907privatepreview:Database" }, { type: "azure-native:kusto/v20190121:Database" }, { type: "azure-native:kusto/v20190515:Database" }, { type: "azure-native:kusto/v20190907:Database" }, { type: "azure-native:kusto/v20191109:Database" }, { type: "azure-native:kusto/v20200215:Database" }, { type: "azure-native:kusto/v20200614:Database" }, { type: "azure-native:kusto/v20200918:Database" }, { type: "azure-native:kusto/v20210101:Database" }, { type: "azure-native:kusto/v20210827:Database" }, { type: "azure-native:kusto/v20220201:Database" }, { type: "azure-native:kusto/v20220707:Database" }, { type: "azure-native:kusto/v20221111:Database" }, { type: "azure-native:kusto/v20221229:Database" }, { type: "azure-native:kusto/v20230502:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Database" }, { type: "azure-native:kusto/v20170907privatepreview:Database" }, { type: "azure-native:kusto/v20190121:Database" }, { type: "azure-native:kusto/v20190515:Database" }, { type: "azure-native:kusto/v20190907:Database" }, { type: "azure-native:kusto/v20191109:Database" }, { type: "azure-native:kusto/v20200215:Database" }, { type: "azure-native:kusto/v20200614:Database" }, { type: "azure-native:kusto/v20200918:Database" }, { type: "azure-native:kusto/v20210101:Database" }, { type: "azure-native:kusto/v20210827:Database" }, { type: "azure-native:kusto/v20220201:Database" }, { type: "azure-native:kusto/v20220707:Database" }, { type: "azure-native:kusto/v20221111:Database" }, { type: "azure-native:kusto/v20221229:Database" }, { type: "azure-native:kusto/v20230502:Database" }, { type: "azure-native:kusto/v20230815:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20190515/database.ts b/sdk/nodejs/kusto/v20190515/database.ts index 258152477669..c2c39b5f0b16 100644 --- a/sdk/nodejs/kusto/v20190515/database.ts +++ b/sdk/nodejs/kusto/v20190515/database.ts @@ -103,7 +103,7 @@ export class Database extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Database" }, { type: "azure-native:kusto/v20170907privatepreview:Database" }, { type: "azure-native:kusto/v20180907preview:Database" }, { type: "azure-native:kusto/v20190121:Database" }, { type: "azure-native:kusto/v20190907:Database" }, { type: "azure-native:kusto/v20191109:Database" }, { type: "azure-native:kusto/v20200215:Database" }, { type: "azure-native:kusto/v20200614:Database" }, { type: "azure-native:kusto/v20200918:Database" }, { type: "azure-native:kusto/v20210101:Database" }, { type: "azure-native:kusto/v20210827:Database" }, { type: "azure-native:kusto/v20220201:Database" }, { type: "azure-native:kusto/v20220707:Database" }, { type: "azure-native:kusto/v20221111:Database" }, { type: "azure-native:kusto/v20221229:Database" }, { type: "azure-native:kusto/v20230502:Database" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Database" }, { type: "azure-native:kusto/v20170907privatepreview:Database" }, { type: "azure-native:kusto/v20180907preview:Database" }, { type: "azure-native:kusto/v20190121:Database" }, { type: "azure-native:kusto/v20190907:Database" }, { type: "azure-native:kusto/v20191109:Database" }, { type: "azure-native:kusto/v20200215:Database" }, { type: "azure-native:kusto/v20200614:Database" }, { type: "azure-native:kusto/v20200918:Database" }, { type: "azure-native:kusto/v20210101:Database" }, { type: "azure-native:kusto/v20210827:Database" }, { type: "azure-native:kusto/v20220201:Database" }, { type: "azure-native:kusto/v20220707:Database" }, { type: "azure-native:kusto/v20221111:Database" }, { type: "azure-native:kusto/v20221229:Database" }, { type: "azure-native:kusto/v20230502:Database" }, { type: "azure-native:kusto/v20230815:Database" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Database.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20190907/readOnlyFollowingDatabase.ts b/sdk/nodejs/kusto/v20190907/readOnlyFollowingDatabase.ts index 0e97a92ae4a0..00aab2f79c67 100644 --- a/sdk/nodejs/kusto/v20190907/readOnlyFollowingDatabase.ts +++ b/sdk/nodejs/kusto/v20190907/readOnlyFollowingDatabase.ts @@ -128,7 +128,7 @@ export class ReadOnlyFollowingDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadOnlyFollowingDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20190907/readWriteDatabase.ts b/sdk/nodejs/kusto/v20190907/readWriteDatabase.ts index 599b440fbefa..6951ee4ddd33 100644 --- a/sdk/nodejs/kusto/v20190907/readWriteDatabase.ts +++ b/sdk/nodejs/kusto/v20190907/readWriteDatabase.ts @@ -110,7 +110,7 @@ export class ReadWriteDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230815:ReadWriteDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadWriteDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20191109/readWriteDatabase.ts b/sdk/nodejs/kusto/v20191109/readWriteDatabase.ts index fd0403b4603c..9698b3c3a667 100644 --- a/sdk/nodejs/kusto/v20191109/readWriteDatabase.ts +++ b/sdk/nodejs/kusto/v20191109/readWriteDatabase.ts @@ -119,7 +119,7 @@ export class ReadWriteDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230815:ReadWriteDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadWriteDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20200215/eventGridDataConnection.ts b/sdk/nodejs/kusto/v20200215/eventGridDataConnection.ts index 64aa48735d28..4fb23a1a72ab 100644 --- a/sdk/nodejs/kusto/v20200215/eventGridDataConnection.ts +++ b/sdk/nodejs/kusto/v20200215/eventGridDataConnection.ts @@ -144,7 +144,7 @@ export class EventGridDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }, { type: "azure-native:kusto/v20230815:EventGridDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventGridDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20210827/script.ts b/sdk/nodejs/kusto/v20210827/script.ts index 1b5f9f74ef47..0166b6f859c6 100644 --- a/sdk/nodejs/kusto/v20210827/script.ts +++ b/sdk/nodejs/kusto/v20210827/script.ts @@ -114,7 +114,7 @@ export class Script extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }, { type: "azure-native:kusto/v20230502:Script" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }, { type: "azure-native:kusto/v20230502:Script" }, { type: "azure-native:kusto/v20230815:Script" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Script.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20220707/cluster.ts b/sdk/nodejs/kusto/v20220707/cluster.ts index a9cb646250e6..c774a285a084 100644 --- a/sdk/nodejs/kusto/v20220707/cluster.ts +++ b/sdk/nodejs/kusto/v20220707/cluster.ts @@ -253,7 +253,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["zones"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }, { type: "azure-native:kusto/v20230815:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/attachedDatabaseConfiguration.ts b/sdk/nodejs/kusto/v20221229/attachedDatabaseConfiguration.ts index 12fd06005c14..474100a32bd1 100644 --- a/sdk/nodejs/kusto/v20221229/attachedDatabaseConfiguration.ts +++ b/sdk/nodejs/kusto/v20221229/attachedDatabaseConfiguration.ts @@ -136,7 +136,7 @@ export class AttachedDatabaseConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230502:AttachedDatabaseConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230502:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230815:AttachedDatabaseConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AttachedDatabaseConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/cluster.ts b/sdk/nodejs/kusto/v20221229/cluster.ts index edcaf1f299bb..d3c0ffa42dcd 100644 --- a/sdk/nodejs/kusto/v20221229/cluster.ts +++ b/sdk/nodejs/kusto/v20221229/cluster.ts @@ -253,7 +253,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["zones"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }, { type: "azure-native:kusto/v20230815:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/clusterPrincipalAssignment.ts b/sdk/nodejs/kusto/v20221229/clusterPrincipalAssignment.ts index 3ebd48160e9d..d19bcb621360 100644 --- a/sdk/nodejs/kusto/v20221229/clusterPrincipalAssignment.ts +++ b/sdk/nodejs/kusto/v20221229/clusterPrincipalAssignment.ts @@ -130,7 +130,7 @@ export class ClusterPrincipalAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230502:ClusterPrincipalAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230502:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230815:ClusterPrincipalAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ClusterPrincipalAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/cosmosDbDataConnection.ts b/sdk/nodejs/kusto/v20221229/cosmosDbDataConnection.ts index 8dc6db2a7794..33a564906010 100644 --- a/sdk/nodejs/kusto/v20221229/cosmosDbDataConnection.ts +++ b/sdk/nodejs/kusto/v20221229/cosmosDbDataConnection.ts @@ -159,7 +159,7 @@ export class CosmosDbDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230502:CosmosDbDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230502:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230815:CosmosDbDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CosmosDbDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/databasePrincipalAssignment.ts b/sdk/nodejs/kusto/v20221229/databasePrincipalAssignment.ts index cf2e92fe6ed5..eb18f0d98b4c 100644 --- a/sdk/nodejs/kusto/v20221229/databasePrincipalAssignment.ts +++ b/sdk/nodejs/kusto/v20221229/databasePrincipalAssignment.ts @@ -134,7 +134,7 @@ export class DatabasePrincipalAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230502:DatabasePrincipalAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230502:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230815:DatabasePrincipalAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabasePrincipalAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/eventGridDataConnection.ts b/sdk/nodejs/kusto/v20221229/eventGridDataConnection.ts index be1df9e23975..2ccee8722b1f 100644 --- a/sdk/nodejs/kusto/v20221229/eventGridDataConnection.ts +++ b/sdk/nodejs/kusto/v20221229/eventGridDataConnection.ts @@ -180,7 +180,7 @@ export class EventGridDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }, { type: "azure-native:kusto/v20230815:EventGridDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventGridDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/eventHubDataConnection.ts b/sdk/nodejs/kusto/v20221229/eventHubDataConnection.ts index 37645f33c9ad..2d13f7fa2c26 100644 --- a/sdk/nodejs/kusto/v20221229/eventHubDataConnection.ts +++ b/sdk/nodejs/kusto/v20221229/eventHubDataConnection.ts @@ -171,7 +171,7 @@ export class EventHubDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventHubDataConnection" }, { type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20230502:EventHubDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventHubDataConnection" }, { type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20230502:EventHubDataConnection" }, { type: "azure-native:kusto/v20230815:EventHubDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventHubDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/iotHubDataConnection.ts b/sdk/nodejs/kusto/v20221229/iotHubDataConnection.ts index 875734b33882..0878173f9d41 100644 --- a/sdk/nodejs/kusto/v20221229/iotHubDataConnection.ts +++ b/sdk/nodejs/kusto/v20221229/iotHubDataConnection.ts @@ -162,7 +162,7 @@ export class IotHubDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:IotHubDataConnection" }, { type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20230502:IotHubDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:IotHubDataConnection" }, { type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20230502:IotHubDataConnection" }, { type: "azure-native:kusto/v20230815:IotHubDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IotHubDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/managedPrivateEndpoint.ts b/sdk/nodejs/kusto/v20221229/managedPrivateEndpoint.ts index 87fba9613851..2138840bce31 100644 --- a/sdk/nodejs/kusto/v20221229/managedPrivateEndpoint.ts +++ b/sdk/nodejs/kusto/v20221229/managedPrivateEndpoint.ts @@ -115,7 +115,7 @@ export class ManagedPrivateEndpoint extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230502:ManagedPrivateEndpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230502:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230815:ManagedPrivateEndpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedPrivateEndpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/privateEndpointConnection.ts b/sdk/nodejs/kusto/v20221229/privateEndpointConnection.ts index 4a43674f28b4..6be200f59663 100644 --- a/sdk/nodejs/kusto/v20221229/privateEndpointConnection.ts +++ b/sdk/nodejs/kusto/v20221229/privateEndpointConnection.ts @@ -106,7 +106,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230502:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230502:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230815:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/readOnlyFollowingDatabase.ts b/sdk/nodejs/kusto/v20221229/readOnlyFollowingDatabase.ts index 5d43572454e4..c9905ccae103 100644 --- a/sdk/nodejs/kusto/v20221229/readOnlyFollowingDatabase.ts +++ b/sdk/nodejs/kusto/v20221229/readOnlyFollowingDatabase.ts @@ -150,7 +150,7 @@ export class ReadOnlyFollowingDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadOnlyFollowingDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/readWriteDatabase.ts b/sdk/nodejs/kusto/v20221229/readWriteDatabase.ts index c5f0961e0ef7..92a628540a73 100644 --- a/sdk/nodejs/kusto/v20221229/readWriteDatabase.ts +++ b/sdk/nodejs/kusto/v20221229/readWriteDatabase.ts @@ -120,7 +120,7 @@ export class ReadWriteDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230815:ReadWriteDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadWriteDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20221229/script.ts b/sdk/nodejs/kusto/v20221229/script.ts index 6b67a234898a..3a52f58e6050 100644 --- a/sdk/nodejs/kusto/v20221229/script.ts +++ b/sdk/nodejs/kusto/v20221229/script.ts @@ -109,7 +109,7 @@ export class Script extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20230502:Script" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20230502:Script" }, { type: "azure-native:kusto/v20230815:Script" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Script.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/attachedDatabaseConfiguration.ts b/sdk/nodejs/kusto/v20230502/attachedDatabaseConfiguration.ts index e15ba49e0c6a..ba65c2f19cc9 100644 --- a/sdk/nodejs/kusto/v20230502/attachedDatabaseConfiguration.ts +++ b/sdk/nodejs/kusto/v20230502/attachedDatabaseConfiguration.ts @@ -136,7 +136,7 @@ export class AttachedDatabaseConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221229:AttachedDatabaseConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221229:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230815:AttachedDatabaseConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AttachedDatabaseConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/cluster.ts b/sdk/nodejs/kusto/v20230502/cluster.ts index 19e8b645041a..695bf4c8fbcc 100644 --- a/sdk/nodejs/kusto/v20230502/cluster.ts +++ b/sdk/nodejs/kusto/v20230502/cluster.ts @@ -259,7 +259,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["zones"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }, { type: "azure-native:kusto/v20230815:Cluster" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/clusterPrincipalAssignment.ts b/sdk/nodejs/kusto/v20230502/clusterPrincipalAssignment.ts index bcd0bab121ea..371cfa95d450 100644 --- a/sdk/nodejs/kusto/v20230502/clusterPrincipalAssignment.ts +++ b/sdk/nodejs/kusto/v20230502/clusterPrincipalAssignment.ts @@ -130,7 +130,7 @@ export class ClusterPrincipalAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221229:ClusterPrincipalAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221229:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230815:ClusterPrincipalAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ClusterPrincipalAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/cosmosDbDataConnection.ts b/sdk/nodejs/kusto/v20230502/cosmosDbDataConnection.ts index 19240d312dab..78855990b093 100644 --- a/sdk/nodejs/kusto/v20230502/cosmosDbDataConnection.ts +++ b/sdk/nodejs/kusto/v20230502/cosmosDbDataConnection.ts @@ -159,7 +159,7 @@ export class CosmosDbDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221229:CosmosDbDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221229:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230815:CosmosDbDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CosmosDbDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/databasePrincipalAssignment.ts b/sdk/nodejs/kusto/v20230502/databasePrincipalAssignment.ts index 2bdab4cbd617..b6794b2dc673 100644 --- a/sdk/nodejs/kusto/v20230502/databasePrincipalAssignment.ts +++ b/sdk/nodejs/kusto/v20230502/databasePrincipalAssignment.ts @@ -134,7 +134,7 @@ export class DatabasePrincipalAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221229:DatabasePrincipalAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221229:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230815:DatabasePrincipalAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(DatabasePrincipalAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/eventGridDataConnection.ts b/sdk/nodejs/kusto/v20230502/eventGridDataConnection.ts index 133ca9e1ed0d..6eafaa9c21c2 100644 --- a/sdk/nodejs/kusto/v20230502/eventGridDataConnection.ts +++ b/sdk/nodejs/kusto/v20230502/eventGridDataConnection.ts @@ -180,7 +180,7 @@ export class EventGridDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }, { type: "azure-native:kusto/v20230815:EventGridDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventGridDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/eventHubDataConnection.ts b/sdk/nodejs/kusto/v20230502/eventHubDataConnection.ts index 3b9d5b0cad28..bf29e9daea90 100644 --- a/sdk/nodejs/kusto/v20230502/eventHubDataConnection.ts +++ b/sdk/nodejs/kusto/v20230502/eventHubDataConnection.ts @@ -171,7 +171,7 @@ export class EventHubDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventHubDataConnection" }, { type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20221229:EventHubDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventHubDataConnection" }, { type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20221229:EventHubDataConnection" }, { type: "azure-native:kusto/v20230815:EventHubDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EventHubDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/iotHubDataConnection.ts b/sdk/nodejs/kusto/v20230502/iotHubDataConnection.ts index 67be9ada39ff..24e621d17dd1 100644 --- a/sdk/nodejs/kusto/v20230502/iotHubDataConnection.ts +++ b/sdk/nodejs/kusto/v20230502/iotHubDataConnection.ts @@ -162,7 +162,7 @@ export class IotHubDataConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:IotHubDataConnection" }, { type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20221229:IotHubDataConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:IotHubDataConnection" }, { type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20221229:IotHubDataConnection" }, { type: "azure-native:kusto/v20230815:IotHubDataConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IotHubDataConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/managedPrivateEndpoint.ts b/sdk/nodejs/kusto/v20230502/managedPrivateEndpoint.ts index cb45eb769432..ca8c0cf4ce62 100644 --- a/sdk/nodejs/kusto/v20230502/managedPrivateEndpoint.ts +++ b/sdk/nodejs/kusto/v20230502/managedPrivateEndpoint.ts @@ -115,7 +115,7 @@ export class ManagedPrivateEndpoint extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221229:ManagedPrivateEndpoint" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221229:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230815:ManagedPrivateEndpoint" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ManagedPrivateEndpoint.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/privateEndpointConnection.ts b/sdk/nodejs/kusto/v20230502/privateEndpointConnection.ts index 6bcf1a2bc01c..286f5977d799 100644 --- a/sdk/nodejs/kusto/v20230502/privateEndpointConnection.ts +++ b/sdk/nodejs/kusto/v20230502/privateEndpointConnection.ts @@ -106,7 +106,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221229:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221229:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230815:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/readOnlyFollowingDatabase.ts b/sdk/nodejs/kusto/v20230502/readOnlyFollowingDatabase.ts index 37754a7fe2b8..871901b627d2 100644 --- a/sdk/nodejs/kusto/v20230502/readOnlyFollowingDatabase.ts +++ b/sdk/nodejs/kusto/v20230502/readOnlyFollowingDatabase.ts @@ -156,7 +156,7 @@ export class ReadOnlyFollowingDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadOnlyFollowingDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/readWriteDatabase.ts b/sdk/nodejs/kusto/v20230502/readWriteDatabase.ts index b41b257c5dda..e2b66e430617 100644 --- a/sdk/nodejs/kusto/v20230502/readWriteDatabase.ts +++ b/sdk/nodejs/kusto/v20230502/readWriteDatabase.ts @@ -132,7 +132,7 @@ export class ReadWriteDatabase extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230815:ReadWriteDatabase" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ReadWriteDatabase.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230502/script.ts b/sdk/nodejs/kusto/v20230502/script.ts index b7da4a540ed8..fb0f1354e1bb 100644 --- a/sdk/nodejs/kusto/v20230502/script.ts +++ b/sdk/nodejs/kusto/v20230502/script.ts @@ -109,7 +109,7 @@ export class Script extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }, { type: "azure-native:kusto/v20230815:Script" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Script.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/kusto/v20230815/attachedDatabaseConfiguration.ts b/sdk/nodejs/kusto/v20230815/attachedDatabaseConfiguration.ts new file mode 100644 index 000000000000..53baeee43916 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/attachedDatabaseConfiguration.ts @@ -0,0 +1,189 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing an attached database configuration. + */ +export class AttachedDatabaseConfiguration extends pulumi.CustomResource { + /** + * Get an existing AttachedDatabaseConfiguration 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AttachedDatabaseConfiguration { + return new AttachedDatabaseConfiguration(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:AttachedDatabaseConfiguration'; + + /** + * Returns true if the given object is an instance of AttachedDatabaseConfiguration. 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 AttachedDatabaseConfiguration { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AttachedDatabaseConfiguration.__pulumiType; + } + + /** + * The list of databases from the clusterResourceId which are currently attached to the cluster. + */ + public /*out*/ readonly attachedDatabaseNames!: pulumi.Output; + /** + * The resource id of the cluster where the databases you would like to attach reside. + */ + public readonly clusterResourceId!: pulumi.Output; + /** + * The name of the database which you would like to attach, use * if you want to follow all current and future databases. + */ + public readonly databaseName!: pulumi.Output; + /** + * Overrides the original database name. Relevant only when attaching to a specific database. + */ + public readonly databaseNameOverride!: pulumi.Output; + /** + * Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + */ + public readonly databaseNamePrefix!: pulumi.Output; + /** + * The default principals modification kind + */ + public readonly defaultPrincipalsModificationKind!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Table level sharing specifications + */ + public readonly tableLevelSharingProperties!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AttachedDatabaseConfiguration 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: AttachedDatabaseConfigurationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.clusterResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterResourceId'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.defaultPrincipalsModificationKind === undefined) && !opts.urn) { + throw new Error("Missing required property 'defaultPrincipalsModificationKind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["attachedDatabaseConfigurationName"] = args ? args.attachedDatabaseConfigurationName : undefined; + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["clusterResourceId"] = args ? args.clusterResourceId : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["databaseNameOverride"] = args ? args.databaseNameOverride : undefined; + resourceInputs["databaseNamePrefix"] = args ? args.databaseNamePrefix : undefined; + resourceInputs["defaultPrincipalsModificationKind"] = args ? args.defaultPrincipalsModificationKind : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tableLevelSharingProperties"] = args ? args.tableLevelSharingProperties : undefined; + resourceInputs["attachedDatabaseNames"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["attachedDatabaseNames"] = undefined /*out*/; + resourceInputs["clusterResourceId"] = undefined /*out*/; + resourceInputs["databaseName"] = undefined /*out*/; + resourceInputs["databaseNameOverride"] = undefined /*out*/; + resourceInputs["databaseNamePrefix"] = undefined /*out*/; + resourceInputs["defaultPrincipalsModificationKind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["tableLevelSharingProperties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20190907:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20191109:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200215:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200614:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20200918:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210101:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20210827:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220201:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20220707:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221111:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20221229:AttachedDatabaseConfiguration" }, { type: "azure-native:kusto/v20230502:AttachedDatabaseConfiguration" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AttachedDatabaseConfiguration.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AttachedDatabaseConfiguration resource. + */ +export interface AttachedDatabaseConfigurationArgs { + /** + * The name of the attached database configuration. + */ + attachedDatabaseConfigurationName?: pulumi.Input; + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The resource id of the cluster where the databases you would like to attach reside. + */ + clusterResourceId: pulumi.Input; + /** + * The name of the database which you would like to attach, use * if you want to follow all current and future databases. + */ + databaseName: pulumi.Input; + /** + * Overrides the original database name. Relevant only when attaching to a specific database. + */ + databaseNameOverride?: pulumi.Input; + /** + * Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + */ + databaseNamePrefix?: pulumi.Input; + /** + * The default principals modification kind + */ + defaultPrincipalsModificationKind: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Table level sharing specifications + */ + tableLevelSharingProperties?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/cluster.ts b/sdk/nodejs/kusto/v20230815/cluster.ts new file mode 100644 index 000000000000..3b9955954b2d --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/cluster.ts @@ -0,0 +1,372 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a Kusto cluster. + */ +export class Cluster extends pulumi.CustomResource { + /** + * Get an existing Cluster 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Cluster { + return new Cluster(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:Cluster'; + + /** + * Returns true if the given object is an instance of Cluster. 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 Cluster { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Cluster.__pulumiType; + } + + /** + * The cluster's accepted audiences. + */ + public readonly acceptedAudiences!: pulumi.Output; + /** + * List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + */ + public readonly allowedFqdnList!: pulumi.Output; + /** + * The list of ips in the format of CIDR allowed to connect to the cluster. + */ + public readonly allowedIpRangeList!: pulumi.Output; + /** + * The cluster data ingestion URI. + */ + public /*out*/ readonly dataIngestionUri!: pulumi.Output; + /** + * A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + */ + public readonly enableAutoStop!: pulumi.Output; + /** + * A boolean value that indicates if the cluster's disks are encrypted. + */ + public readonly enableDiskEncryption!: pulumi.Output; + /** + * A boolean value that indicates if double encryption is enabled. + */ + public readonly enableDoubleEncryption!: pulumi.Output; + /** + * A boolean value that indicates if the purge operations are enabled. + */ + public readonly enablePurge!: pulumi.Output; + /** + * A boolean value that indicates if the streaming ingest is enabled. + */ + public readonly enableStreamingIngest!: pulumi.Output; + /** + * The engine type + */ + public readonly engineType!: pulumi.Output; + /** + * A unique read-only string that changes whenever the resource is updated. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The identity of the cluster, if configured. + */ + public readonly identity!: pulumi.Output; + /** + * KeyVault properties for the cluster encryption. + */ + public readonly keyVaultProperties!: pulumi.Output; + /** + * List of the cluster's language extensions. + */ + public readonly languageExtensions!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * Properties of the peer cluster involved in a migration to/from this cluster. + */ + public /*out*/ readonly migrationCluster!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Optimized auto scale definition. + */ + public readonly optimizedAutoscale!: pulumi.Output; + /** + * A list of private endpoint connections. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + */ + public readonly publicIPType!: pulumi.Output; + /** + * Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + */ + public readonly restrictOutboundNetworkAccess!: pulumi.Output; + /** + * The SKU of the cluster. + */ + public readonly sku!: pulumi.Output; + /** + * The state of the resource. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The reason for the cluster's current state. + */ + public /*out*/ readonly stateReason!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The cluster's external tenants. + */ + public readonly trustedExternalTenants!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The cluster URI. + */ + public /*out*/ readonly uri!: pulumi.Output; + /** + * Virtual network definition. + */ + public readonly virtualNetworkConfiguration!: pulumi.Output; + /** + * The availability zones of the cluster. + */ + public readonly zones!: pulumi.Output; + + /** + * Create a Cluster 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: ClusterArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sku === undefined) && !opts.urn) { + throw new Error("Missing required property 'sku'"); + } + resourceInputs["acceptedAudiences"] = args ? args.acceptedAudiences : undefined; + resourceInputs["allowedFqdnList"] = args ? args.allowedFqdnList : undefined; + resourceInputs["allowedIpRangeList"] = args ? args.allowedIpRangeList : undefined; + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["enableAutoStop"] = (args ? args.enableAutoStop : undefined) ?? true; + resourceInputs["enableDiskEncryption"] = (args ? args.enableDiskEncryption : undefined) ?? false; + resourceInputs["enableDoubleEncryption"] = (args ? args.enableDoubleEncryption : undefined) ?? false; + resourceInputs["enablePurge"] = (args ? args.enablePurge : undefined) ?? false; + resourceInputs["enableStreamingIngest"] = (args ? args.enableStreamingIngest : undefined) ?? false; + resourceInputs["engineType"] = (args ? args.engineType : undefined) ?? "V3"; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["keyVaultProperties"] = args ? args.keyVaultProperties : undefined; + resourceInputs["languageExtensions"] = args ? args.languageExtensions : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["optimizedAutoscale"] = args ? args.optimizedAutoscale : undefined; + resourceInputs["publicIPType"] = (args ? args.publicIPType : undefined) ?? "IPv4"; + resourceInputs["publicNetworkAccess"] = (args ? args.publicNetworkAccess : undefined) ?? "Enabled"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["restrictOutboundNetworkAccess"] = (args ? args.restrictOutboundNetworkAccess : undefined) ?? "Disabled"; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["trustedExternalTenants"] = args ? args.trustedExternalTenants : undefined; + resourceInputs["virtualClusterGraduationProperties"] = args ? args.virtualClusterGraduationProperties : undefined; + resourceInputs["virtualNetworkConfiguration"] = args ? (args.virtualNetworkConfiguration ? pulumi.output(args.virtualNetworkConfiguration).apply(inputs.kusto.v20230815.virtualNetworkConfigurationArgsProvideDefaults) : undefined) : undefined; + resourceInputs["zones"] = args ? args.zones : undefined; + resourceInputs["dataIngestionUri"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["migrationCluster"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["stateReason"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uri"] = undefined /*out*/; + } else { + resourceInputs["acceptedAudiences"] = undefined /*out*/; + resourceInputs["allowedFqdnList"] = undefined /*out*/; + resourceInputs["allowedIpRangeList"] = undefined /*out*/; + resourceInputs["dataIngestionUri"] = undefined /*out*/; + resourceInputs["enableAutoStop"] = undefined /*out*/; + resourceInputs["enableDiskEncryption"] = undefined /*out*/; + resourceInputs["enableDoubleEncryption"] = undefined /*out*/; + resourceInputs["enablePurge"] = undefined /*out*/; + resourceInputs["enableStreamingIngest"] = undefined /*out*/; + resourceInputs["engineType"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["keyVaultProperties"] = undefined /*out*/; + resourceInputs["languageExtensions"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["migrationCluster"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["optimizedAutoscale"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["publicIPType"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["restrictOutboundNetworkAccess"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["stateReason"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["trustedExternalTenants"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["uri"] = undefined /*out*/; + resourceInputs["virtualNetworkConfiguration"] = undefined /*out*/; + resourceInputs["zones"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Cluster" }, { type: "azure-native:kusto/v20170907privatepreview:Cluster" }, { type: "azure-native:kusto/v20180907preview:Cluster" }, { type: "azure-native:kusto/v20190121:Cluster" }, { type: "azure-native:kusto/v20190515:Cluster" }, { type: "azure-native:kusto/v20190907:Cluster" }, { type: "azure-native:kusto/v20191109:Cluster" }, { type: "azure-native:kusto/v20200215:Cluster" }, { type: "azure-native:kusto/v20200614:Cluster" }, { type: "azure-native:kusto/v20200918:Cluster" }, { type: "azure-native:kusto/v20210101:Cluster" }, { type: "azure-native:kusto/v20210827:Cluster" }, { type: "azure-native:kusto/v20220201:Cluster" }, { type: "azure-native:kusto/v20220707:Cluster" }, { type: "azure-native:kusto/v20221111:Cluster" }, { type: "azure-native:kusto/v20221229:Cluster" }, { type: "azure-native:kusto/v20230502:Cluster" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Cluster.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Cluster resource. + */ +export interface ClusterArgs { + /** + * The cluster's accepted audiences. + */ + acceptedAudiences?: pulumi.Input[]>; + /** + * List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + */ + allowedFqdnList?: pulumi.Input[]>; + /** + * The list of ips in the format of CIDR allowed to connect to the cluster. + */ + allowedIpRangeList?: pulumi.Input[]>; + /** + * The name of the Kusto cluster. + */ + clusterName?: pulumi.Input; + /** + * A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + */ + enableAutoStop?: pulumi.Input; + /** + * A boolean value that indicates if the cluster's disks are encrypted. + */ + enableDiskEncryption?: pulumi.Input; + /** + * A boolean value that indicates if double encryption is enabled. + */ + enableDoubleEncryption?: pulumi.Input; + /** + * A boolean value that indicates if the purge operations are enabled. + */ + enablePurge?: pulumi.Input; + /** + * A boolean value that indicates if the streaming ingest is enabled. + */ + enableStreamingIngest?: pulumi.Input; + /** + * The engine type + */ + engineType?: pulumi.Input; + /** + * The identity of the cluster, if configured. + */ + identity?: pulumi.Input; + /** + * KeyVault properties for the cluster encryption. + */ + keyVaultProperties?: pulumi.Input; + /** + * List of the cluster's language extensions. + */ + languageExtensions?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Optimized auto scale definition. + */ + optimizedAutoscale?: pulumi.Input; + /** + * Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + */ + publicIPType?: pulumi.Input; + /** + * Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + */ + restrictOutboundNetworkAccess?: pulumi.Input; + /** + * The SKU of the cluster. + */ + sku: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The cluster's external tenants. + */ + trustedExternalTenants?: pulumi.Input[]>; + /** + * Virtual Cluster graduation properties + */ + virtualClusterGraduationProperties?: pulumi.Input; + /** + * Virtual network definition. + */ + virtualNetworkConfiguration?: pulumi.Input; + /** + * The availability zones of the cluster. + */ + zones?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/kusto/v20230815/clusterPrincipalAssignment.ts b/sdk/nodejs/kusto/v20230815/clusterPrincipalAssignment.ts new file mode 100644 index 000000000000..f35b3cceefe7 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/clusterPrincipalAssignment.ts @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a cluster principal assignment. + */ +export class ClusterPrincipalAssignment extends pulumi.CustomResource { + /** + * Get an existing ClusterPrincipalAssignment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ClusterPrincipalAssignment { + return new ClusterPrincipalAssignment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:ClusterPrincipalAssignment'; + + /** + * Returns true if the given object is an instance of ClusterPrincipalAssignment. 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 ClusterPrincipalAssignment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ClusterPrincipalAssignment.__pulumiType; + } + + /** + * The service principal object id in AAD (Azure active directory) + */ + public /*out*/ readonly aadObjectId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + */ + public readonly principalId!: pulumi.Output; + /** + * The principal name + */ + public /*out*/ readonly principalName!: pulumi.Output; + /** + * Principal type. + */ + public readonly principalType!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Cluster principal role. + */ + public readonly role!: pulumi.Output; + /** + * The tenant id of the principal + */ + public readonly tenantId!: pulumi.Output; + /** + * The tenant name of the principal + */ + public /*out*/ readonly tenantName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ClusterPrincipalAssignment 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: ClusterPrincipalAssignmentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.principalId === undefined) && !opts.urn) { + throw new Error("Missing required property 'principalId'"); + } + if ((!args || args.principalType === undefined) && !opts.urn) { + throw new Error("Missing required property 'principalType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.role === undefined) && !opts.urn) { + throw new Error("Missing required property 'role'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["principalAssignmentName"] = args ? args.principalAssignmentName : undefined; + resourceInputs["principalId"] = args ? args.principalId : undefined; + resourceInputs["principalType"] = args ? args.principalType : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["role"] = args ? args.role : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["aadObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["principalName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["tenantName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["aadObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["principalId"] = undefined /*out*/; + resourceInputs["principalName"] = undefined /*out*/; + resourceInputs["principalType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["role"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["tenantName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20191109:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200215:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200614:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20200918:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210101:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20210827:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220201:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20220707:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221111:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20221229:ClusterPrincipalAssignment" }, { type: "azure-native:kusto/v20230502:ClusterPrincipalAssignment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ClusterPrincipalAssignment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ClusterPrincipalAssignment resource. + */ +export interface ClusterPrincipalAssignmentArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the Kusto principalAssignment. + */ + principalAssignmentName?: pulumi.Input; + /** + * The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + */ + principalId: pulumi.Input; + /** + * Principal type. + */ + principalType: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Cluster principal role. + */ + role: pulumi.Input; + /** + * The tenant id of the principal + */ + tenantId?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/cosmosDbDataConnection.ts b/sdk/nodejs/kusto/v20230815/cosmosDbDataConnection.ts new file mode 100644 index 000000000000..3222c0c81857 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/cosmosDbDataConnection.ts @@ -0,0 +1,225 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Class representing a CosmosDb data connection. + */ +export class CosmosDbDataConnection extends pulumi.CustomResource { + /** + * Get an existing CosmosDbDataConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CosmosDbDataConnection { + return new CosmosDbDataConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:CosmosDbDataConnection'; + + /** + * Returns true if the given object is an instance of CosmosDbDataConnection. 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 CosmosDbDataConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CosmosDbDataConnection.__pulumiType; + } + + /** + * The resource ID of the Cosmos DB account used to create the data connection. + */ + public readonly cosmosDbAccountResourceId!: pulumi.Output; + /** + * The name of an existing container in the Cosmos DB database. + */ + public readonly cosmosDbContainer!: pulumi.Output; + /** + * The name of an existing database in the Cosmos DB account. + */ + public readonly cosmosDbDatabase!: pulumi.Output; + /** + * Kind of the endpoint for the data connection + * Expected value is 'CosmosDb'. + */ + public readonly kind!: pulumi.Output<"CosmosDb">; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The object ID of the managed identity resource. + */ + public /*out*/ readonly managedIdentityObjectId!: pulumi.Output; + /** + * The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + */ + public readonly managedIdentityResourceId!: pulumi.Output; + /** + * The name of an existing mapping rule to use when ingesting the retrieved data. + */ + public readonly mappingRuleName!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + */ + public readonly retrievalStartDate!: pulumi.Output; + /** + * The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + */ + public readonly tableName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CosmosDbDataConnection 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: CosmosDbDataConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.cosmosDbAccountResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'cosmosDbAccountResourceId'"); + } + if ((!args || args.cosmosDbContainer === undefined) && !opts.urn) { + throw new Error("Missing required property 'cosmosDbContainer'"); + } + if ((!args || args.cosmosDbDatabase === undefined) && !opts.urn) { + throw new Error("Missing required property 'cosmosDbDatabase'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.managedIdentityResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'managedIdentityResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tableName === undefined) && !opts.urn) { + throw new Error("Missing required property 'tableName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["cosmosDbAccountResourceId"] = args ? args.cosmosDbAccountResourceId : undefined; + resourceInputs["cosmosDbContainer"] = args ? args.cosmosDbContainer : undefined; + resourceInputs["cosmosDbDatabase"] = args ? args.cosmosDbDatabase : undefined; + resourceInputs["dataConnectionName"] = args ? args.dataConnectionName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["kind"] = "CosmosDb"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedIdentityResourceId"] = args ? args.managedIdentityResourceId : undefined; + resourceInputs["mappingRuleName"] = args ? args.mappingRuleName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["retrievalStartDate"] = args ? args.retrievalStartDate : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["managedIdentityObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["cosmosDbAccountResourceId"] = undefined /*out*/; + resourceInputs["cosmosDbContainer"] = undefined /*out*/; + resourceInputs["cosmosDbDatabase"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedIdentityObjectId"] = undefined /*out*/; + resourceInputs["managedIdentityResourceId"] = undefined /*out*/; + resourceInputs["mappingRuleName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["retrievalStartDate"] = undefined /*out*/; + resourceInputs["tableName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190121:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190515:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20190907:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20191109:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200215:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200614:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20200918:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210101:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20210827:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220201:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20220707:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221111:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20221229:CosmosDbDataConnection" }, { type: "azure-native:kusto/v20230502:CosmosDbDataConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CosmosDbDataConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CosmosDbDataConnection resource. + */ +export interface CosmosDbDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The resource ID of the Cosmos DB account used to create the data connection. + */ + cosmosDbAccountResourceId: pulumi.Input; + /** + * The name of an existing container in the Cosmos DB database. + */ + cosmosDbContainer: pulumi.Input; + /** + * The name of an existing database in the Cosmos DB account. + */ + cosmosDbDatabase: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName?: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * Kind of the endpoint for the data connection + * Expected value is 'CosmosDb'. + */ + kind: pulumi.Input<"CosmosDb">; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + */ + managedIdentityResourceId: pulumi.Input; + /** + * The name of an existing mapping rule to use when ingesting the retrieved data. + */ + mappingRuleName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + */ + retrievalStartDate?: pulumi.Input; + /** + * The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + */ + tableName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/databasePrincipalAssignment.ts b/sdk/nodejs/kusto/v20230815/databasePrincipalAssignment.ts new file mode 100644 index 000000000000..345a0b61a4eb --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/databasePrincipalAssignment.ts @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a database principal assignment. + */ +export class DatabasePrincipalAssignment extends pulumi.CustomResource { + /** + * Get an existing DatabasePrincipalAssignment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DatabasePrincipalAssignment { + return new DatabasePrincipalAssignment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:DatabasePrincipalAssignment'; + + /** + * Returns true if the given object is an instance of DatabasePrincipalAssignment. 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 DatabasePrincipalAssignment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DatabasePrincipalAssignment.__pulumiType; + } + + /** + * The service principal object id in AAD (Azure active directory) + */ + public /*out*/ readonly aadObjectId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + */ + public readonly principalId!: pulumi.Output; + /** + * The principal name + */ + public /*out*/ readonly principalName!: pulumi.Output; + /** + * Principal type. + */ + public readonly principalType!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Database principal role. + */ + public readonly role!: pulumi.Output; + /** + * The tenant id of the principal + */ + public readonly tenantId!: pulumi.Output; + /** + * The tenant name of the principal + */ + public /*out*/ readonly tenantName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a DatabasePrincipalAssignment 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: DatabasePrincipalAssignmentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.principalId === undefined) && !opts.urn) { + throw new Error("Missing required property 'principalId'"); + } + if ((!args || args.principalType === undefined) && !opts.urn) { + throw new Error("Missing required property 'principalType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.role === undefined) && !opts.urn) { + throw new Error("Missing required property 'role'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["principalAssignmentName"] = args ? args.principalAssignmentName : undefined; + resourceInputs["principalId"] = args ? args.principalId : undefined; + resourceInputs["principalType"] = args ? args.principalType : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["role"] = args ? args.role : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["aadObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["principalName"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["tenantName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["aadObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["principalId"] = undefined /*out*/; + resourceInputs["principalName"] = undefined /*out*/; + resourceInputs["principalType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["role"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["tenantName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20191109:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200215:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200614:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20200918:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210101:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20210827:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220201:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20220707:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221111:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20221229:DatabasePrincipalAssignment" }, { type: "azure-native:kusto/v20230502:DatabasePrincipalAssignment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(DatabasePrincipalAssignment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a DatabasePrincipalAssignment resource. + */ +export interface DatabasePrincipalAssignmentArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the Kusto principalAssignment. + */ + principalAssignmentName?: pulumi.Input; + /** + * The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + */ + principalId: pulumi.Input; + /** + * Principal type. + */ + principalType: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Database principal role. + */ + role: pulumi.Input; + /** + * The tenant id of the principal + */ + tenantId?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/eventGridDataConnection.ts b/sdk/nodejs/kusto/v20230815/eventGridDataConnection.ts new file mode 100644 index 000000000000..733697077e02 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/eventGridDataConnection.ts @@ -0,0 +1,262 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing an Event Grid data connection. + */ +export class EventGridDataConnection extends pulumi.CustomResource { + /** + * Get an existing EventGridDataConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EventGridDataConnection { + return new EventGridDataConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:EventGridDataConnection'; + + /** + * Returns true if the given object is an instance of EventGridDataConnection. 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 EventGridDataConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EventGridDataConnection.__pulumiType; + } + + /** + * The name of blob storage event type to process. + */ + public readonly blobStorageEventType!: pulumi.Output; + /** + * The event hub consumer group. + */ + public readonly consumerGroup!: pulumi.Output; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + public readonly dataFormat!: pulumi.Output; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + public readonly databaseRouting!: pulumi.Output; + /** + * The resource ID of the event grid that is subscribed to the storage account events. + */ + public readonly eventGridResourceId!: pulumi.Output; + /** + * The resource ID where the event grid is configured to send events. + */ + public readonly eventHubResourceId!: pulumi.Output; + /** + * A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + */ + public readonly ignoreFirstRecord!: pulumi.Output; + /** + * Kind of the endpoint for the data connection + * Expected value is 'EventGrid'. + */ + public readonly kind!: pulumi.Output<"EventGrid">; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The object ID of managedIdentityResourceId + */ + public /*out*/ readonly managedIdentityObjectId!: pulumi.Output; + /** + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + */ + public readonly managedIdentityResourceId!: pulumi.Output; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + public readonly mappingRuleName!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The resource ID of the storage account where the data resides. + */ + public readonly storageAccountResourceId!: pulumi.Output; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + public readonly tableName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a EventGridDataConnection 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: EventGridDataConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.consumerGroup === undefined) && !opts.urn) { + throw new Error("Missing required property 'consumerGroup'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.eventHubResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'eventHubResourceId'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.storageAccountResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'storageAccountResourceId'"); + } + resourceInputs["blobStorageEventType"] = args ? args.blobStorageEventType : undefined; + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["consumerGroup"] = args ? args.consumerGroup : undefined; + resourceInputs["dataConnectionName"] = args ? args.dataConnectionName : undefined; + resourceInputs["dataFormat"] = args ? args.dataFormat : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["databaseRouting"] = (args ? args.databaseRouting : undefined) ?? "Single"; + resourceInputs["eventGridResourceId"] = args ? args.eventGridResourceId : undefined; + resourceInputs["eventHubResourceId"] = args ? args.eventHubResourceId : undefined; + resourceInputs["ignoreFirstRecord"] = args ? args.ignoreFirstRecord : undefined; + resourceInputs["kind"] = "EventGrid"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedIdentityResourceId"] = args ? args.managedIdentityResourceId : undefined; + resourceInputs["mappingRuleName"] = args ? args.mappingRuleName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["storageAccountResourceId"] = args ? args.storageAccountResourceId : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["managedIdentityObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["blobStorageEventType"] = undefined /*out*/; + resourceInputs["consumerGroup"] = undefined /*out*/; + resourceInputs["dataFormat"] = undefined /*out*/; + resourceInputs["databaseRouting"] = undefined /*out*/; + resourceInputs["eventGridResourceId"] = undefined /*out*/; + resourceInputs["eventHubResourceId"] = undefined /*out*/; + resourceInputs["ignoreFirstRecord"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedIdentityObjectId"] = undefined /*out*/; + resourceInputs["managedIdentityResourceId"] = undefined /*out*/; + resourceInputs["mappingRuleName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["storageAccountResourceId"] = undefined /*out*/; + resourceInputs["tableName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventGridDataConnection" }, { type: "azure-native:kusto/v20190121:EventGridDataConnection" }, { type: "azure-native:kusto/v20190515:EventGridDataConnection" }, { type: "azure-native:kusto/v20190907:EventGridDataConnection" }, { type: "azure-native:kusto/v20191109:EventGridDataConnection" }, { type: "azure-native:kusto/v20200215:EventGridDataConnection" }, { type: "azure-native:kusto/v20200614:EventGridDataConnection" }, { type: "azure-native:kusto/v20200918:EventGridDataConnection" }, { type: "azure-native:kusto/v20210101:EventGridDataConnection" }, { type: "azure-native:kusto/v20210827:EventGridDataConnection" }, { type: "azure-native:kusto/v20220201:EventGridDataConnection" }, { type: "azure-native:kusto/v20220707:EventGridDataConnection" }, { type: "azure-native:kusto/v20221111:EventGridDataConnection" }, { type: "azure-native:kusto/v20221229:EventGridDataConnection" }, { type: "azure-native:kusto/v20230502:EventGridDataConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(EventGridDataConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a EventGridDataConnection resource. + */ +export interface EventGridDataConnectionArgs { + /** + * The name of blob storage event type to process. + */ + blobStorageEventType?: pulumi.Input; + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The event hub consumer group. + */ + consumerGroup: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName?: pulumi.Input; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + dataFormat?: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + databaseRouting?: pulumi.Input; + /** + * The resource ID of the event grid that is subscribed to the storage account events. + */ + eventGridResourceId?: pulumi.Input; + /** + * The resource ID where the event grid is configured to send events. + */ + eventHubResourceId: pulumi.Input; + /** + * A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + */ + ignoreFirstRecord?: pulumi.Input; + /** + * Kind of the endpoint for the data connection + * Expected value is 'EventGrid'. + */ + kind: pulumi.Input<"EventGrid">; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + */ + managedIdentityResourceId?: pulumi.Input; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + mappingRuleName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The resource ID of the storage account where the data resides. + */ + storageAccountResourceId: pulumi.Input; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + tableName?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/eventHubDataConnection.ts b/sdk/nodejs/kusto/v20230815/eventHubDataConnection.ts new file mode 100644 index 000000000000..459046116381 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/eventHubDataConnection.ts @@ -0,0 +1,249 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing an event hub data connection. + */ +export class EventHubDataConnection extends pulumi.CustomResource { + /** + * Get an existing EventHubDataConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EventHubDataConnection { + return new EventHubDataConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:EventHubDataConnection'; + + /** + * Returns true if the given object is an instance of EventHubDataConnection. 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 EventHubDataConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EventHubDataConnection.__pulumiType; + } + + /** + * The event hub messages compression type + */ + public readonly compression!: pulumi.Output; + /** + * The event hub consumer group. + */ + public readonly consumerGroup!: pulumi.Output; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + public readonly dataFormat!: pulumi.Output; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + public readonly databaseRouting!: pulumi.Output; + /** + * The resource ID of the event hub to be used to create a data connection. + */ + public readonly eventHubResourceId!: pulumi.Output; + /** + * System properties of the event hub + */ + public readonly eventSystemProperties!: pulumi.Output; + /** + * Kind of the endpoint for the data connection + * Expected value is 'EventHub'. + */ + public readonly kind!: pulumi.Output<"EventHub">; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The object ID of the managedIdentityResourceId + */ + public /*out*/ readonly managedIdentityObjectId!: pulumi.Output; + /** + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + */ + public readonly managedIdentityResourceId!: pulumi.Output; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + public readonly mappingRuleName!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + */ + public readonly retrievalStartDate!: pulumi.Output; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + public readonly tableName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a EventHubDataConnection 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: EventHubDataConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.consumerGroup === undefined) && !opts.urn) { + throw new Error("Missing required property 'consumerGroup'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.eventHubResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'eventHubResourceId'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["compression"] = args ? args.compression : undefined; + resourceInputs["consumerGroup"] = args ? args.consumerGroup : undefined; + resourceInputs["dataConnectionName"] = args ? args.dataConnectionName : undefined; + resourceInputs["dataFormat"] = args ? args.dataFormat : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["databaseRouting"] = (args ? args.databaseRouting : undefined) ?? "Single"; + resourceInputs["eventHubResourceId"] = args ? args.eventHubResourceId : undefined; + resourceInputs["eventSystemProperties"] = args ? args.eventSystemProperties : undefined; + resourceInputs["kind"] = "EventHub"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["managedIdentityResourceId"] = args ? args.managedIdentityResourceId : undefined; + resourceInputs["mappingRuleName"] = args ? args.mappingRuleName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["retrievalStartDate"] = args ? args.retrievalStartDate : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["managedIdentityObjectId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["compression"] = undefined /*out*/; + resourceInputs["consumerGroup"] = undefined /*out*/; + resourceInputs["dataFormat"] = undefined /*out*/; + resourceInputs["databaseRouting"] = undefined /*out*/; + resourceInputs["eventHubResourceId"] = undefined /*out*/; + resourceInputs["eventSystemProperties"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["managedIdentityObjectId"] = undefined /*out*/; + resourceInputs["managedIdentityResourceId"] = undefined /*out*/; + resourceInputs["mappingRuleName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["retrievalStartDate"] = undefined /*out*/; + resourceInputs["tableName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:EventHubDataConnection" }, { type: "azure-native:kusto/v20190121:EventHubDataConnection" }, { type: "azure-native:kusto/v20190515:EventHubDataConnection" }, { type: "azure-native:kusto/v20190907:EventHubDataConnection" }, { type: "azure-native:kusto/v20191109:EventHubDataConnection" }, { type: "azure-native:kusto/v20200215:EventHubDataConnection" }, { type: "azure-native:kusto/v20200614:EventHubDataConnection" }, { type: "azure-native:kusto/v20200918:EventHubDataConnection" }, { type: "azure-native:kusto/v20210101:EventHubDataConnection" }, { type: "azure-native:kusto/v20210827:EventHubDataConnection" }, { type: "azure-native:kusto/v20220201:EventHubDataConnection" }, { type: "azure-native:kusto/v20220707:EventHubDataConnection" }, { type: "azure-native:kusto/v20221111:EventHubDataConnection" }, { type: "azure-native:kusto/v20221229:EventHubDataConnection" }, { type: "azure-native:kusto/v20230502:EventHubDataConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(EventHubDataConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a EventHubDataConnection resource. + */ +export interface EventHubDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The event hub messages compression type + */ + compression?: pulumi.Input; + /** + * The event hub consumer group. + */ + consumerGroup: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName?: pulumi.Input; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + dataFormat?: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + databaseRouting?: pulumi.Input; + /** + * The resource ID of the event hub to be used to create a data connection. + */ + eventHubResourceId: pulumi.Input; + /** + * System properties of the event hub + */ + eventSystemProperties?: pulumi.Input[]>; + /** + * Kind of the endpoint for the data connection + * Expected value is 'EventHub'. + */ + kind: pulumi.Input<"EventHub">; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + */ + managedIdentityResourceId?: pulumi.Input; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + mappingRuleName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + */ + retrievalStartDate?: pulumi.Input; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + tableName?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getAttachedDatabaseConfiguration.ts b/sdk/nodejs/kusto/v20230815/getAttachedDatabaseConfiguration.ts new file mode 100644 index 000000000000..869a9c4e5c7d --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getAttachedDatabaseConfiguration.ts @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns an attached database configuration. + */ +export function getAttachedDatabaseConfiguration(args: GetAttachedDatabaseConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getAttachedDatabaseConfiguration", { + "attachedDatabaseConfigurationName": args.attachedDatabaseConfigurationName, + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAttachedDatabaseConfigurationArgs { + /** + * The name of the attached database configuration. + */ + attachedDatabaseConfigurationName: string; + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing an attached database configuration. + */ +export interface GetAttachedDatabaseConfigurationResult { + /** + * The list of databases from the clusterResourceId which are currently attached to the cluster. + */ + readonly attachedDatabaseNames: string[]; + /** + * The resource id of the cluster where the databases you would like to attach reside. + */ + readonly clusterResourceId: string; + /** + * The name of the database which you would like to attach, use * if you want to follow all current and future databases. + */ + readonly databaseName: string; + /** + * Overrides the original database name. Relevant only when attaching to a specific database. + */ + readonly databaseNameOverride?: string; + /** + * Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + */ + readonly databaseNamePrefix?: string; + /** + * The default principals modification kind + */ + readonly defaultPrincipalsModificationKind: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Resource location. + */ + readonly location?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * Table level sharing specifications + */ + readonly tableLevelSharingProperties?: outputs.kusto.v20230815.TableLevelSharingPropertiesResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns an attached database configuration. + */ +export function getAttachedDatabaseConfigurationOutput(args: GetAttachedDatabaseConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAttachedDatabaseConfiguration(a, opts)) +} + +export interface GetAttachedDatabaseConfigurationOutputArgs { + /** + * The name of the attached database configuration. + */ + attachedDatabaseConfigurationName: pulumi.Input; + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getCluster.ts b/sdk/nodejs/kusto/v20230815/getCluster.ts new file mode 100644 index 000000000000..227001527163 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getCluster.ts @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a Kusto cluster. + */ +export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getCluster", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetClusterArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a Kusto cluster. + */ +export interface GetClusterResult { + /** + * The cluster's accepted audiences. + */ + readonly acceptedAudiences?: outputs.kusto.v20230815.AcceptedAudiencesResponse[]; + /** + * List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + */ + readonly allowedFqdnList?: string[]; + /** + * The list of ips in the format of CIDR allowed to connect to the cluster. + */ + readonly allowedIpRangeList?: string[]; + /** + * The cluster data ingestion URI. + */ + readonly dataIngestionUri: string; + /** + * A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + */ + readonly enableAutoStop?: boolean; + /** + * A boolean value that indicates if the cluster's disks are encrypted. + */ + readonly enableDiskEncryption?: boolean; + /** + * A boolean value that indicates if double encryption is enabled. + */ + readonly enableDoubleEncryption?: boolean; + /** + * A boolean value that indicates if the purge operations are enabled. + */ + readonly enablePurge?: boolean; + /** + * A boolean value that indicates if the streaming ingest is enabled. + */ + readonly enableStreamingIngest?: boolean; + /** + * The engine type + */ + readonly engineType?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + */ + readonly etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity of the cluster, if configured. + */ + readonly identity?: outputs.kusto.v20230815.IdentityResponse; + /** + * KeyVault properties for the cluster encryption. + */ + readonly keyVaultProperties?: outputs.kusto.v20230815.KeyVaultPropertiesResponse; + /** + * List of the cluster's language extensions. + */ + readonly languageExtensions?: outputs.kusto.v20230815.LanguageExtensionsListResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * Properties of the peer cluster involved in a migration to/from this cluster. + */ + readonly migrationCluster: outputs.kusto.v20230815.MigrationClusterPropertiesResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * Optimized auto scale definition. + */ + readonly optimizedAutoscale?: outputs.kusto.v20230815.OptimizedAutoscaleResponse; + /** + * A list of private endpoint connections. + */ + readonly privateEndpointConnections: outputs.kusto.v20230815.PrivateEndpointConnectionResponse[]; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + */ + readonly publicIPType?: string; + /** + * Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + */ + readonly publicNetworkAccess?: string; + /** + * Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + */ + readonly restrictOutboundNetworkAccess?: string; + /** + * The SKU of the cluster. + */ + readonly sku: outputs.kusto.v20230815.AzureSkuResponse; + /** + * The state of the resource. + */ + readonly state: string; + /** + * The reason for the cluster's current state. + */ + readonly stateReason: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.kusto.v20230815.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The cluster's external tenants. + */ + readonly trustedExternalTenants?: outputs.kusto.v20230815.TrustedExternalTenantResponse[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The cluster URI. + */ + readonly uri: string; + /** + * Virtual network definition. + */ + readonly virtualNetworkConfiguration?: outputs.kusto.v20230815.VirtualNetworkConfigurationResponse; + /** + * The availability zones of the cluster. + */ + readonly zones?: string[]; +} +/** + * Gets a Kusto cluster. + */ +export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCluster(a, opts)) +} + +export interface GetClusterOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getClusterPrincipalAssignment.ts b/sdk/nodejs/kusto/v20230815/getClusterPrincipalAssignment.ts new file mode 100644 index 000000000000..0172f5778a83 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getClusterPrincipalAssignment.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Gets a Kusto cluster principalAssignment. + */ +export function getClusterPrincipalAssignment(args: GetClusterPrincipalAssignmentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getClusterPrincipalAssignment", { + "clusterName": args.clusterName, + "principalAssignmentName": args.principalAssignmentName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetClusterPrincipalAssignmentArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the Kusto principalAssignment. + */ + principalAssignmentName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a cluster principal assignment. + */ +export interface GetClusterPrincipalAssignmentResult { + /** + * The service principal object id in AAD (Azure active directory) + */ + readonly aadObjectId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + */ + readonly principalId: string; + /** + * The principal name + */ + readonly principalName: string; + /** + * Principal type. + */ + readonly principalType: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * Cluster principal role. + */ + readonly role: string; + /** + * The tenant id of the principal + */ + readonly tenantId?: string; + /** + * The tenant name of the principal + */ + readonly tenantName: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a Kusto cluster principalAssignment. + */ +export function getClusterPrincipalAssignmentOutput(args: GetClusterPrincipalAssignmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getClusterPrincipalAssignment(a, opts)) +} + +export interface GetClusterPrincipalAssignmentOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the Kusto principalAssignment. + */ + principalAssignmentName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getCosmosDbDataConnection.ts b/sdk/nodejs/kusto/v20230815/getCosmosDbDataConnection.ts new file mode 100644 index 000000000000..3b236c42859c --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getCosmosDbDataConnection.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Returns a data connection. + */ +export function getCosmosDbDataConnection(args: GetCosmosDbDataConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getCosmosDbDataConnection", { + "clusterName": args.clusterName, + "dataConnectionName": args.dataConnectionName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetCosmosDbDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the data connection. + */ + dataConnectionName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a CosmosDb data connection. + */ +export interface GetCosmosDbDataConnectionResult { + /** + * The resource ID of the Cosmos DB account used to create the data connection. + */ + readonly cosmosDbAccountResourceId: string; + /** + * The name of an existing container in the Cosmos DB database. + */ + readonly cosmosDbContainer: string; + /** + * The name of an existing database in the Cosmos DB account. + */ + readonly cosmosDbDatabase: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Kind of the endpoint for the data connection + * Expected value is 'CosmosDb'. + */ + readonly kind: "CosmosDb"; + /** + * Resource location. + */ + readonly location?: string; + /** + * The object ID of the managed identity resource. + */ + readonly managedIdentityObjectId: string; + /** + * The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + */ + readonly managedIdentityResourceId: string; + /** + * The name of an existing mapping rule to use when ingesting the retrieved data. + */ + readonly mappingRuleName?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + */ + readonly retrievalStartDate?: string; + /** + * The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + */ + readonly tableName: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a data connection. + */ +export function getCosmosDbDataConnectionOutput(args: GetCosmosDbDataConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCosmosDbDataConnection(a, opts)) +} + +export interface GetCosmosDbDataConnectionOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getDatabasePrincipalAssignment.ts b/sdk/nodejs/kusto/v20230815/getDatabasePrincipalAssignment.ts new file mode 100644 index 000000000000..8b3df7b3db3e --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getDatabasePrincipalAssignment.ts @@ -0,0 +1,113 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Gets a Kusto cluster database principalAssignment. + */ +export function getDatabasePrincipalAssignment(args: GetDatabasePrincipalAssignmentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getDatabasePrincipalAssignment", { + "clusterName": args.clusterName, + "databaseName": args.databaseName, + "principalAssignmentName": args.principalAssignmentName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetDatabasePrincipalAssignmentArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the Kusto principalAssignment. + */ + principalAssignmentName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a database principal assignment. + */ +export interface GetDatabasePrincipalAssignmentResult { + /** + * The service principal object id in AAD (Azure active directory) + */ + readonly aadObjectId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + */ + readonly principalId: string; + /** + * The principal name + */ + readonly principalName: string; + /** + * Principal type. + */ + readonly principalType: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * Database principal role. + */ + readonly role: string; + /** + * The tenant id of the principal + */ + readonly tenantId?: string; + /** + * The tenant name of the principal + */ + readonly tenantName: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a Kusto cluster database principalAssignment. + */ +export function getDatabasePrincipalAssignmentOutput(args: GetDatabasePrincipalAssignmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDatabasePrincipalAssignment(a, opts)) +} + +export interface GetDatabasePrincipalAssignmentOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the Kusto principalAssignment. + */ + principalAssignmentName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getEventGridDataConnection.ts b/sdk/nodejs/kusto/v20230815/getEventGridDataConnection.ts new file mode 100644 index 000000000000..a5079ab3f65c --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getEventGridDataConnection.ts @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Returns a data connection. + */ +export function getEventGridDataConnection(args: GetEventGridDataConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getEventGridDataConnection", { + "clusterName": args.clusterName, + "dataConnectionName": args.dataConnectionName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetEventGridDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the data connection. + */ + dataConnectionName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing an Event Grid data connection. + */ +export interface GetEventGridDataConnectionResult { + /** + * The name of blob storage event type to process. + */ + readonly blobStorageEventType?: string; + /** + * The event hub consumer group. + */ + readonly consumerGroup: string; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + readonly dataFormat?: string; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + readonly databaseRouting?: string; + /** + * The resource ID of the event grid that is subscribed to the storage account events. + */ + readonly eventGridResourceId?: string; + /** + * The resource ID where the event grid is configured to send events. + */ + readonly eventHubResourceId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + */ + readonly ignoreFirstRecord?: boolean; + /** + * Kind of the endpoint for the data connection + * Expected value is 'EventGrid'. + */ + readonly kind: "EventGrid"; + /** + * Resource location. + */ + readonly location?: string; + /** + * The object ID of managedIdentityResourceId + */ + readonly managedIdentityObjectId: string; + /** + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + */ + readonly managedIdentityResourceId?: string; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + readonly mappingRuleName?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The resource ID of the storage account where the data resides. + */ + readonly storageAccountResourceId: string; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + readonly tableName?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a data connection. + */ +export function getEventGridDataConnectionOutput(args: GetEventGridDataConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEventGridDataConnection(a, opts)) +} + +export interface GetEventGridDataConnectionOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getEventHubDataConnection.ts b/sdk/nodejs/kusto/v20230815/getEventHubDataConnection.ts new file mode 100644 index 000000000000..706ab30573a7 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getEventHubDataConnection.ts @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Returns a data connection. + */ +export function getEventHubDataConnection(args: GetEventHubDataConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getEventHubDataConnection", { + "clusterName": args.clusterName, + "dataConnectionName": args.dataConnectionName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetEventHubDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the data connection. + */ + dataConnectionName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing an event hub data connection. + */ +export interface GetEventHubDataConnectionResult { + /** + * The event hub messages compression type + */ + readonly compression?: string; + /** + * The event hub consumer group. + */ + readonly consumerGroup: string; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + readonly dataFormat?: string; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + readonly databaseRouting?: string; + /** + * The resource ID of the event hub to be used to create a data connection. + */ + readonly eventHubResourceId: string; + /** + * System properties of the event hub + */ + readonly eventSystemProperties?: string[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Kind of the endpoint for the data connection + * Expected value is 'EventHub'. + */ + readonly kind: "EventHub"; + /** + * Resource location. + */ + readonly location?: string; + /** + * The object ID of the managedIdentityResourceId + */ + readonly managedIdentityObjectId: string; + /** + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + */ + readonly managedIdentityResourceId?: string; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + readonly mappingRuleName?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + */ + readonly retrievalStartDate?: string; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + readonly tableName?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a data connection. + */ +export function getEventHubDataConnectionOutput(args: GetEventHubDataConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEventHubDataConnection(a, opts)) +} + +export interface GetEventHubDataConnectionOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getIotHubDataConnection.ts b/sdk/nodejs/kusto/v20230815/getIotHubDataConnection.ts new file mode 100644 index 000000000000..6833dac33c1b --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getIotHubDataConnection.ts @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Returns a data connection. + */ +export function getIotHubDataConnection(args: GetIotHubDataConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getIotHubDataConnection", { + "clusterName": args.clusterName, + "dataConnectionName": args.dataConnectionName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetIotHubDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the data connection. + */ + dataConnectionName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing an iot hub data connection. + */ +export interface GetIotHubDataConnectionResult { + /** + * The iot hub consumer group. + */ + readonly consumerGroup: string; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + readonly dataFormat?: string; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + readonly databaseRouting?: string; + /** + * System properties of the iot hub + */ + readonly eventSystemProperties?: string[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The resource ID of the Iot hub to be used to create a data connection. + */ + readonly iotHubResourceId: string; + /** + * Kind of the endpoint for the data connection + * Expected value is 'IotHub'. + */ + readonly kind: "IotHub"; + /** + * Resource location. + */ + readonly location?: string; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + readonly mappingRuleName?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + */ + readonly retrievalStartDate?: string; + /** + * The name of the share access policy + */ + readonly sharedAccessPolicyName: string; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + readonly tableName?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a data connection. + */ +export function getIotHubDataConnectionOutput(args: GetIotHubDataConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getIotHubDataConnection(a, opts)) +} + +export interface GetIotHubDataConnectionOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getManagedPrivateEndpoint.ts b/sdk/nodejs/kusto/v20230815/getManagedPrivateEndpoint.ts new file mode 100644 index 000000000000..395a4284f07a --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getManagedPrivateEndpoint.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a managed private endpoint. + */ +export function getManagedPrivateEndpoint(args: GetManagedPrivateEndpointArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getManagedPrivateEndpoint", { + "clusterName": args.clusterName, + "managedPrivateEndpointName": args.managedPrivateEndpointName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetManagedPrivateEndpointArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the managed private endpoint. + */ + managedPrivateEndpointName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a managed private endpoint. + */ +export interface GetManagedPrivateEndpointResult { + /** + * The groupId in which the managed private endpoint is created. + */ + readonly groupId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The ARM resource ID of the resource for which the managed private endpoint is created. + */ + readonly privateLinkResourceId: string; + /** + * The region of the resource to which the managed private endpoint is created. + */ + readonly privateLinkResourceRegion?: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The user request message. + */ + readonly requestMessage?: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.kusto.v20230815.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a managed private endpoint. + */ +export function getManagedPrivateEndpointOutput(args: GetManagedPrivateEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getManagedPrivateEndpoint(a, opts)) +} + +export interface GetManagedPrivateEndpointOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the managed private endpoint. + */ + managedPrivateEndpointName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getPrivateEndpointConnection.ts b/sdk/nodejs/kusto/v20230815/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..41b98ef29eee --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getPrivateEndpointConnection.ts @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a private endpoint connection. + */ +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getPrivateEndpointConnection", { + "clusterName": args.clusterName, + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * A private endpoint connection + */ +export interface GetPrivateEndpointConnectionResult { + /** + * Group id of the private endpoint. + */ + readonly groupId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Private endpoint which the connection belongs to. + */ + readonly privateEndpoint: outputs.kusto.v20230815.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + readonly privateLinkServiceConnectionState: outputs.kusto.v20230815.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + readonly provisioningState: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.kusto.v20230815.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a private endpoint connection. + */ +export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpointConnection(a, opts)) +} + +export interface GetPrivateEndpointConnectionOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getReadOnlyFollowingDatabase.ts b/sdk/nodejs/kusto/v20230815/getReadOnlyFollowingDatabase.ts new file mode 100644 index 000000000000..0d33de84805a --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getReadOnlyFollowingDatabase.ts @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns a database. + */ +export function getReadOnlyFollowingDatabase(args: GetReadOnlyFollowingDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getReadOnlyFollowingDatabase", { + "clusterName": args.clusterName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetReadOnlyFollowingDatabaseArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a read only following database. + */ +export interface GetReadOnlyFollowingDatabaseResult { + /** + * The name of the attached database configuration cluster + */ + readonly attachedDatabaseConfigurationName: string; + /** + * The origin of the following setup. + */ + readonly databaseShareOrigin: string; + /** + * The time the data should be kept in cache for fast queries in TimeSpan. + */ + readonly hotCachePeriod?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Kind of the database + * Expected value is 'ReadOnlyFollowing'. + */ + readonly kind: "ReadOnlyFollowing"; + /** + * The name of the leader cluster + */ + readonly leaderClusterResourceId: string; + /** + * Resource location. + */ + readonly location?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The original database name, before databaseNameOverride or databaseNamePrefix where applied. + */ + readonly originalDatabaseName: string; + /** + * The principals modification kind of the database + */ + readonly principalsModificationKind: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The time the data should be kept before it stops being accessible to queries in TimeSpan. + */ + readonly softDeletePeriod: string; + /** + * The statistics of the database. + */ + readonly statistics: outputs.kusto.v20230815.DatabaseStatisticsResponse; + /** + * The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + */ + readonly suspensionDetails: outputs.kusto.v20230815.SuspensionDetailsResponse; + /** + * Table level sharing specifications + */ + readonly tableLevelSharingProperties: outputs.kusto.v20230815.TableLevelSharingPropertiesResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a database. + */ +export function getReadOnlyFollowingDatabaseOutput(args: GetReadOnlyFollowingDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getReadOnlyFollowingDatabase(a, opts)) +} + +export interface GetReadOnlyFollowingDatabaseOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getReadWriteDatabase.ts b/sdk/nodejs/kusto/v20230815/getReadWriteDatabase.ts new file mode 100644 index 000000000000..f98ed04a2ce7 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getReadWriteDatabase.ts @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns a database. + */ +export function getReadWriteDatabase(args: GetReadWriteDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getReadWriteDatabase", { + "clusterName": args.clusterName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetReadWriteDatabaseArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * Class representing a read write database. + */ +export interface GetReadWriteDatabaseResult { + /** + * The time the data should be kept in cache for fast queries in TimeSpan. + */ + readonly hotCachePeriod?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Indicates whether the database is followed. + */ + readonly isFollowed: boolean; + /** + * KeyVault properties for the database encryption. + */ + readonly keyVaultProperties?: outputs.kusto.v20230815.KeyVaultPropertiesResponse; + /** + * Kind of the database + * Expected value is 'ReadWrite'. + */ + readonly kind: "ReadWrite"; + /** + * Resource location. + */ + readonly location?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The time the data should be kept before it stops being accessible to queries in TimeSpan. + */ + readonly softDeletePeriod?: string; + /** + * The statistics of the database. + */ + readonly statistics: outputs.kusto.v20230815.DatabaseStatisticsResponse; + /** + * The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + */ + readonly suspensionDetails: outputs.kusto.v20230815.SuspensionDetailsResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a database. + */ +export function getReadWriteDatabaseOutput(args: GetReadWriteDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getReadWriteDatabase(a, opts)) +} + +export interface GetReadWriteDatabaseOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getSandboxCustomImage.ts b/sdk/nodejs/kusto/v20230815/getSandboxCustomImage.ts new file mode 100644 index 000000000000..7c701b6a9384 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getSandboxCustomImage.ts @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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"; + +/** + * Returns a sandbox custom image + */ +export function getSandboxCustomImage(args: GetSandboxCustomImageArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getSandboxCustomImage", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + "sandboxCustomImageName": args.sandboxCustomImageName, + }, opts); +} + +export interface GetSandboxCustomImageArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the sandbox custom image. + */ + sandboxCustomImageName: string; +} + +/** + * Class representing a Kusto sandbox custom image. + */ +export interface GetSandboxCustomImageResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The language name, for example Python. + */ + readonly language: string; + /** + * The version of the language. + */ + readonly languageVersion: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The requirements file content. + */ + readonly requirementsFileContent?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Returns a sandbox custom image + */ +export function getSandboxCustomImageOutput(args: GetSandboxCustomImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSandboxCustomImage(a, opts)) +} + +export interface GetSandboxCustomImageOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the sandbox custom image. + */ + sandboxCustomImageName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/getScript.ts b/sdk/nodejs/kusto/v20230815/getScript.ts new file mode 100644 index 000000000000..7e47687ebd11 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/getScript.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a Kusto cluster database script. + */ +export function getScript(args: GetScriptArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:getScript", { + "clusterName": args.clusterName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + "scriptName": args.scriptName, + }, opts); +} + +export interface GetScriptArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the Kusto database script. + */ + scriptName: string; +} + +/** + * Class representing a database script. + */ +export interface GetScriptResult { + /** + * Flag that indicates whether to continue if one of the command fails. + */ + readonly continueOnErrors?: boolean; + /** + * A unique string. If changed the script will be applied again. + */ + readonly forceUpdateTag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The provisioned state of the resource. + */ + readonly provisioningState: string; + /** + * The url to the KQL script blob file. Must not be used together with scriptContent property + */ + readonly scriptUrl?: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.kusto.v20230815.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a Kusto cluster database script. + */ +export function getScriptOutput(args: GetScriptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getScript(a, opts)) +} + +export interface GetScriptOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Kusto database script. + */ + scriptName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/index.ts b/sdk/nodejs/kusto/v20230815/index.ts new file mode 100644 index 000000000000..68aef159aa12 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/index.ts @@ -0,0 +1,204 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { AttachedDatabaseConfigurationArgs } from "./attachedDatabaseConfiguration"; +export type AttachedDatabaseConfiguration = import("./attachedDatabaseConfiguration").AttachedDatabaseConfiguration; +export const AttachedDatabaseConfiguration: typeof import("./attachedDatabaseConfiguration").AttachedDatabaseConfiguration = null as any; +utilities.lazyLoad(exports, ["AttachedDatabaseConfiguration"], () => require("./attachedDatabaseConfiguration")); + +export { ClusterArgs } from "./cluster"; +export type Cluster = import("./cluster").Cluster; +export const Cluster: typeof import("./cluster").Cluster = null as any; +utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster")); + +export { ClusterPrincipalAssignmentArgs } from "./clusterPrincipalAssignment"; +export type ClusterPrincipalAssignment = import("./clusterPrincipalAssignment").ClusterPrincipalAssignment; +export const ClusterPrincipalAssignment: typeof import("./clusterPrincipalAssignment").ClusterPrincipalAssignment = null as any; +utilities.lazyLoad(exports, ["ClusterPrincipalAssignment"], () => require("./clusterPrincipalAssignment")); + +export { CosmosDbDataConnectionArgs } from "./cosmosDbDataConnection"; +export type CosmosDbDataConnection = import("./cosmosDbDataConnection").CosmosDbDataConnection; +export const CosmosDbDataConnection: typeof import("./cosmosDbDataConnection").CosmosDbDataConnection = null as any; +utilities.lazyLoad(exports, ["CosmosDbDataConnection"], () => require("./cosmosDbDataConnection")); + +export { DatabasePrincipalAssignmentArgs } from "./databasePrincipalAssignment"; +export type DatabasePrincipalAssignment = import("./databasePrincipalAssignment").DatabasePrincipalAssignment; +export const DatabasePrincipalAssignment: typeof import("./databasePrincipalAssignment").DatabasePrincipalAssignment = null as any; +utilities.lazyLoad(exports, ["DatabasePrincipalAssignment"], () => require("./databasePrincipalAssignment")); + +export { EventGridDataConnectionArgs } from "./eventGridDataConnection"; +export type EventGridDataConnection = import("./eventGridDataConnection").EventGridDataConnection; +export const EventGridDataConnection: typeof import("./eventGridDataConnection").EventGridDataConnection = null as any; +utilities.lazyLoad(exports, ["EventGridDataConnection"], () => require("./eventGridDataConnection")); + +export { EventHubDataConnectionArgs } from "./eventHubDataConnection"; +export type EventHubDataConnection = import("./eventHubDataConnection").EventHubDataConnection; +export const EventHubDataConnection: typeof import("./eventHubDataConnection").EventHubDataConnection = null as any; +utilities.lazyLoad(exports, ["EventHubDataConnection"], () => require("./eventHubDataConnection")); + +export { GetAttachedDatabaseConfigurationArgs, GetAttachedDatabaseConfigurationResult, GetAttachedDatabaseConfigurationOutputArgs } from "./getAttachedDatabaseConfiguration"; +export const getAttachedDatabaseConfiguration: typeof import("./getAttachedDatabaseConfiguration").getAttachedDatabaseConfiguration = null as any; +export const getAttachedDatabaseConfigurationOutput: typeof import("./getAttachedDatabaseConfiguration").getAttachedDatabaseConfigurationOutput = null as any; +utilities.lazyLoad(exports, ["getAttachedDatabaseConfiguration","getAttachedDatabaseConfigurationOutput"], () => require("./getAttachedDatabaseConfiguration")); + +export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster"; +export const getCluster: typeof import("./getCluster").getCluster = null as any; +export const getClusterOutput: typeof import("./getCluster").getClusterOutput = null as any; +utilities.lazyLoad(exports, ["getCluster","getClusterOutput"], () => require("./getCluster")); + +export { GetClusterPrincipalAssignmentArgs, GetClusterPrincipalAssignmentResult, GetClusterPrincipalAssignmentOutputArgs } from "./getClusterPrincipalAssignment"; +export const getClusterPrincipalAssignment: typeof import("./getClusterPrincipalAssignment").getClusterPrincipalAssignment = null as any; +export const getClusterPrincipalAssignmentOutput: typeof import("./getClusterPrincipalAssignment").getClusterPrincipalAssignmentOutput = null as any; +utilities.lazyLoad(exports, ["getClusterPrincipalAssignment","getClusterPrincipalAssignmentOutput"], () => require("./getClusterPrincipalAssignment")); + +export { GetCosmosDbDataConnectionArgs, GetCosmosDbDataConnectionResult, GetCosmosDbDataConnectionOutputArgs } from "./getCosmosDbDataConnection"; +export const getCosmosDbDataConnection: typeof import("./getCosmosDbDataConnection").getCosmosDbDataConnection = null as any; +export const getCosmosDbDataConnectionOutput: typeof import("./getCosmosDbDataConnection").getCosmosDbDataConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getCosmosDbDataConnection","getCosmosDbDataConnectionOutput"], () => require("./getCosmosDbDataConnection")); + +export { GetDatabasePrincipalAssignmentArgs, GetDatabasePrincipalAssignmentResult, GetDatabasePrincipalAssignmentOutputArgs } from "./getDatabasePrincipalAssignment"; +export const getDatabasePrincipalAssignment: typeof import("./getDatabasePrincipalAssignment").getDatabasePrincipalAssignment = null as any; +export const getDatabasePrincipalAssignmentOutput: typeof import("./getDatabasePrincipalAssignment").getDatabasePrincipalAssignmentOutput = null as any; +utilities.lazyLoad(exports, ["getDatabasePrincipalAssignment","getDatabasePrincipalAssignmentOutput"], () => require("./getDatabasePrincipalAssignment")); + +export { GetEventGridDataConnectionArgs, GetEventGridDataConnectionResult, GetEventGridDataConnectionOutputArgs } from "./getEventGridDataConnection"; +export const getEventGridDataConnection: typeof import("./getEventGridDataConnection").getEventGridDataConnection = null as any; +export const getEventGridDataConnectionOutput: typeof import("./getEventGridDataConnection").getEventGridDataConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getEventGridDataConnection","getEventGridDataConnectionOutput"], () => require("./getEventGridDataConnection")); + +export { GetEventHubDataConnectionArgs, GetEventHubDataConnectionResult, GetEventHubDataConnectionOutputArgs } from "./getEventHubDataConnection"; +export const getEventHubDataConnection: typeof import("./getEventHubDataConnection").getEventHubDataConnection = null as any; +export const getEventHubDataConnectionOutput: typeof import("./getEventHubDataConnection").getEventHubDataConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getEventHubDataConnection","getEventHubDataConnectionOutput"], () => require("./getEventHubDataConnection")); + +export { GetIotHubDataConnectionArgs, GetIotHubDataConnectionResult, GetIotHubDataConnectionOutputArgs } from "./getIotHubDataConnection"; +export const getIotHubDataConnection: typeof import("./getIotHubDataConnection").getIotHubDataConnection = null as any; +export const getIotHubDataConnectionOutput: typeof import("./getIotHubDataConnection").getIotHubDataConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getIotHubDataConnection","getIotHubDataConnectionOutput"], () => require("./getIotHubDataConnection")); + +export { GetManagedPrivateEndpointArgs, GetManagedPrivateEndpointResult, GetManagedPrivateEndpointOutputArgs } from "./getManagedPrivateEndpoint"; +export const getManagedPrivateEndpoint: typeof import("./getManagedPrivateEndpoint").getManagedPrivateEndpoint = null as any; +export const getManagedPrivateEndpointOutput: typeof import("./getManagedPrivateEndpoint").getManagedPrivateEndpointOutput = null as any; +utilities.lazyLoad(exports, ["getManagedPrivateEndpoint","getManagedPrivateEndpointOutput"], () => require("./getManagedPrivateEndpoint")); + +export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection"; +export const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection = null as any; +export const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnection","getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection")); + +export { GetReadOnlyFollowingDatabaseArgs, GetReadOnlyFollowingDatabaseResult, GetReadOnlyFollowingDatabaseOutputArgs } from "./getReadOnlyFollowingDatabase"; +export const getReadOnlyFollowingDatabase: typeof import("./getReadOnlyFollowingDatabase").getReadOnlyFollowingDatabase = null as any; +export const getReadOnlyFollowingDatabaseOutput: typeof import("./getReadOnlyFollowingDatabase").getReadOnlyFollowingDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getReadOnlyFollowingDatabase","getReadOnlyFollowingDatabaseOutput"], () => require("./getReadOnlyFollowingDatabase")); + +export { GetReadWriteDatabaseArgs, GetReadWriteDatabaseResult, GetReadWriteDatabaseOutputArgs } from "./getReadWriteDatabase"; +export const getReadWriteDatabase: typeof import("./getReadWriteDatabase").getReadWriteDatabase = null as any; +export const getReadWriteDatabaseOutput: typeof import("./getReadWriteDatabase").getReadWriteDatabaseOutput = null as any; +utilities.lazyLoad(exports, ["getReadWriteDatabase","getReadWriteDatabaseOutput"], () => require("./getReadWriteDatabase")); + +export { GetSandboxCustomImageArgs, GetSandboxCustomImageResult, GetSandboxCustomImageOutputArgs } from "./getSandboxCustomImage"; +export const getSandboxCustomImage: typeof import("./getSandboxCustomImage").getSandboxCustomImage = null as any; +export const getSandboxCustomImageOutput: typeof import("./getSandboxCustomImage").getSandboxCustomImageOutput = null as any; +utilities.lazyLoad(exports, ["getSandboxCustomImage","getSandboxCustomImageOutput"], () => require("./getSandboxCustomImage")); + +export { GetScriptArgs, GetScriptResult, GetScriptOutputArgs } from "./getScript"; +export const getScript: typeof import("./getScript").getScript = null as any; +export const getScriptOutput: typeof import("./getScript").getScriptOutput = null as any; +utilities.lazyLoad(exports, ["getScript","getScriptOutput"], () => require("./getScript")); + +export { IotHubDataConnectionArgs } from "./iotHubDataConnection"; +export type IotHubDataConnection = import("./iotHubDataConnection").IotHubDataConnection; +export const IotHubDataConnection: typeof import("./iotHubDataConnection").IotHubDataConnection = null as any; +utilities.lazyLoad(exports, ["IotHubDataConnection"], () => require("./iotHubDataConnection")); + +export { ListClusterFollowerDatabasesArgs, ListClusterFollowerDatabasesResult, ListClusterFollowerDatabasesOutputArgs } from "./listClusterFollowerDatabases"; +export const listClusterFollowerDatabases: typeof import("./listClusterFollowerDatabases").listClusterFollowerDatabases = null as any; +export const listClusterFollowerDatabasesOutput: typeof import("./listClusterFollowerDatabases").listClusterFollowerDatabasesOutput = null as any; +utilities.lazyLoad(exports, ["listClusterFollowerDatabases","listClusterFollowerDatabasesOutput"], () => require("./listClusterFollowerDatabases")); + +export { ListClusterLanguageExtensionsArgs, ListClusterLanguageExtensionsResult, ListClusterLanguageExtensionsOutputArgs } from "./listClusterLanguageExtensions"; +export const listClusterLanguageExtensions: typeof import("./listClusterLanguageExtensions").listClusterLanguageExtensions = null as any; +export const listClusterLanguageExtensionsOutput: typeof import("./listClusterLanguageExtensions").listClusterLanguageExtensionsOutput = null as any; +utilities.lazyLoad(exports, ["listClusterLanguageExtensions","listClusterLanguageExtensionsOutput"], () => require("./listClusterLanguageExtensions")); + +export { ListDatabasePrincipalsArgs, ListDatabasePrincipalsResult, ListDatabasePrincipalsOutputArgs } from "./listDatabasePrincipals"; +export const listDatabasePrincipals: typeof import("./listDatabasePrincipals").listDatabasePrincipals = null as any; +export const listDatabasePrincipalsOutput: typeof import("./listDatabasePrincipals").listDatabasePrincipalsOutput = null as any; +utilities.lazyLoad(exports, ["listDatabasePrincipals","listDatabasePrincipalsOutput"], () => require("./listDatabasePrincipals")); + +export { ManagedPrivateEndpointArgs } from "./managedPrivateEndpoint"; +export type ManagedPrivateEndpoint = import("./managedPrivateEndpoint").ManagedPrivateEndpoint; +export const ManagedPrivateEndpoint: typeof import("./managedPrivateEndpoint").ManagedPrivateEndpoint = null as any; +utilities.lazyLoad(exports, ["ManagedPrivateEndpoint"], () => require("./managedPrivateEndpoint")); + +export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; +export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; +export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection")); + +export { ReadOnlyFollowingDatabaseArgs } from "./readOnlyFollowingDatabase"; +export type ReadOnlyFollowingDatabase = import("./readOnlyFollowingDatabase").ReadOnlyFollowingDatabase; +export const ReadOnlyFollowingDatabase: typeof import("./readOnlyFollowingDatabase").ReadOnlyFollowingDatabase = null as any; +utilities.lazyLoad(exports, ["ReadOnlyFollowingDatabase"], () => require("./readOnlyFollowingDatabase")); + +export { ReadWriteDatabaseArgs } from "./readWriteDatabase"; +export type ReadWriteDatabase = import("./readWriteDatabase").ReadWriteDatabase; +export const ReadWriteDatabase: typeof import("./readWriteDatabase").ReadWriteDatabase = null as any; +utilities.lazyLoad(exports, ["ReadWriteDatabase"], () => require("./readWriteDatabase")); + +export { SandboxCustomImageArgs } from "./sandboxCustomImage"; +export type SandboxCustomImage = import("./sandboxCustomImage").SandboxCustomImage; +export const SandboxCustomImage: typeof import("./sandboxCustomImage").SandboxCustomImage = null as any; +utilities.lazyLoad(exports, ["SandboxCustomImage"], () => require("./sandboxCustomImage")); + +export { ScriptArgs } from "./script"; +export type Script = import("./script").Script; +export const Script: typeof import("./script").Script = null as any; +utilities.lazyLoad(exports, ["Script"], () => require("./script")); + + +// Export enums: +export * from "../../types/enums/kusto/v20230815"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:kusto/v20230815:AttachedDatabaseConfiguration": + return new AttachedDatabaseConfiguration(name, undefined, { urn }) + case "azure-native:kusto/v20230815:Cluster": + return new Cluster(name, undefined, { urn }) + case "azure-native:kusto/v20230815:ClusterPrincipalAssignment": + return new ClusterPrincipalAssignment(name, undefined, { urn }) + case "azure-native:kusto/v20230815:CosmosDbDataConnection": + return new CosmosDbDataConnection(name, undefined, { urn }) + case "azure-native:kusto/v20230815:DatabasePrincipalAssignment": + return new DatabasePrincipalAssignment(name, undefined, { urn }) + case "azure-native:kusto/v20230815:EventGridDataConnection": + return new EventGridDataConnection(name, undefined, { urn }) + case "azure-native:kusto/v20230815:EventHubDataConnection": + return new EventHubDataConnection(name, undefined, { urn }) + case "azure-native:kusto/v20230815:IotHubDataConnection": + return new IotHubDataConnection(name, undefined, { urn }) + case "azure-native:kusto/v20230815:ManagedPrivateEndpoint": + return new ManagedPrivateEndpoint(name, undefined, { urn }) + case "azure-native:kusto/v20230815:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase": + return new ReadOnlyFollowingDatabase(name, undefined, { urn }) + case "azure-native:kusto/v20230815:ReadWriteDatabase": + return new ReadWriteDatabase(name, undefined, { urn }) + case "azure-native:kusto/v20230815:SandboxCustomImage": + return new SandboxCustomImage(name, undefined, { urn }) + case "azure-native:kusto/v20230815:Script": + return new Script(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "kusto/v20230815", _module) diff --git a/sdk/nodejs/kusto/v20230815/iotHubDataConnection.ts b/sdk/nodejs/kusto/v20230815/iotHubDataConnection.ts new file mode 100644 index 000000000000..59e797f5553c --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/iotHubDataConnection.ts @@ -0,0 +1,236 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing an iot hub data connection. + */ +export class IotHubDataConnection extends pulumi.CustomResource { + /** + * Get an existing IotHubDataConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IotHubDataConnection { + return new IotHubDataConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:IotHubDataConnection'; + + /** + * Returns true if the given object is an instance of IotHubDataConnection. 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 IotHubDataConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IotHubDataConnection.__pulumiType; + } + + /** + * The iot hub consumer group. + */ + public readonly consumerGroup!: pulumi.Output; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + public readonly dataFormat!: pulumi.Output; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + public readonly databaseRouting!: pulumi.Output; + /** + * System properties of the iot hub + */ + public readonly eventSystemProperties!: pulumi.Output; + /** + * The resource ID of the Iot hub to be used to create a data connection. + */ + public readonly iotHubResourceId!: pulumi.Output; + /** + * Kind of the endpoint for the data connection + * Expected value is 'IotHub'. + */ + public readonly kind!: pulumi.Output<"IotHub">; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + public readonly mappingRuleName!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + */ + public readonly retrievalStartDate!: pulumi.Output; + /** + * The name of the share access policy + */ + public readonly sharedAccessPolicyName!: pulumi.Output; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + public readonly tableName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IotHubDataConnection 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: IotHubDataConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.consumerGroup === undefined) && !opts.urn) { + throw new Error("Missing required property 'consumerGroup'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.iotHubResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'iotHubResourceId'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sharedAccessPolicyName === undefined) && !opts.urn) { + throw new Error("Missing required property 'sharedAccessPolicyName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["consumerGroup"] = args ? args.consumerGroup : undefined; + resourceInputs["dataConnectionName"] = args ? args.dataConnectionName : undefined; + resourceInputs["dataFormat"] = args ? args.dataFormat : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["databaseRouting"] = (args ? args.databaseRouting : undefined) ?? "Single"; + resourceInputs["eventSystemProperties"] = args ? args.eventSystemProperties : undefined; + resourceInputs["iotHubResourceId"] = args ? args.iotHubResourceId : undefined; + resourceInputs["kind"] = "IotHub"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["mappingRuleName"] = args ? args.mappingRuleName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["retrievalStartDate"] = args ? args.retrievalStartDate : undefined; + resourceInputs["sharedAccessPolicyName"] = args ? args.sharedAccessPolicyName : undefined; + resourceInputs["tableName"] = args ? args.tableName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["consumerGroup"] = undefined /*out*/; + resourceInputs["dataFormat"] = undefined /*out*/; + resourceInputs["databaseRouting"] = undefined /*out*/; + resourceInputs["eventSystemProperties"] = undefined /*out*/; + resourceInputs["iotHubResourceId"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["mappingRuleName"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["retrievalStartDate"] = undefined /*out*/; + resourceInputs["sharedAccessPolicyName"] = undefined /*out*/; + resourceInputs["tableName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:IotHubDataConnection" }, { type: "azure-native:kusto/v20190121:IotHubDataConnection" }, { type: "azure-native:kusto/v20190515:IotHubDataConnection" }, { type: "azure-native:kusto/v20190907:IotHubDataConnection" }, { type: "azure-native:kusto/v20191109:IotHubDataConnection" }, { type: "azure-native:kusto/v20200215:IotHubDataConnection" }, { type: "azure-native:kusto/v20200614:IotHubDataConnection" }, { type: "azure-native:kusto/v20200918:IotHubDataConnection" }, { type: "azure-native:kusto/v20210101:IotHubDataConnection" }, { type: "azure-native:kusto/v20210827:IotHubDataConnection" }, { type: "azure-native:kusto/v20220201:IotHubDataConnection" }, { type: "azure-native:kusto/v20220707:IotHubDataConnection" }, { type: "azure-native:kusto/v20221111:IotHubDataConnection" }, { type: "azure-native:kusto/v20221229:IotHubDataConnection" }, { type: "azure-native:kusto/v20230502:IotHubDataConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(IotHubDataConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a IotHubDataConnection resource. + */ +export interface IotHubDataConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The iot hub consumer group. + */ + consumerGroup: pulumi.Input; + /** + * The name of the data connection. + */ + dataConnectionName?: pulumi.Input; + /** + * The data format of the message. Optionally the data format can be added to each message. + */ + dataFormat?: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ + databaseRouting?: pulumi.Input; + /** + * System properties of the iot hub + */ + eventSystemProperties?: pulumi.Input[]>; + /** + * The resource ID of the Iot hub to be used to create a data connection. + */ + iotHubResourceId: pulumi.Input; + /** + * Kind of the endpoint for the data connection + * Expected value is 'IotHub'. + */ + kind: pulumi.Input<"IotHub">; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + */ + mappingRuleName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + */ + retrievalStartDate?: pulumi.Input; + /** + * The name of the share access policy + */ + sharedAccessPolicyName: pulumi.Input; + /** + * The table where the data should be ingested. Optionally the table information can be added to each message. + */ + tableName?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/listClusterFollowerDatabases.ts b/sdk/nodejs/kusto/v20230815/listClusterFollowerDatabases.ts new file mode 100644 index 000000000000..ce98c8cdf964 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/listClusterFollowerDatabases.ts @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns a list of databases that are owned by this cluster and were followed by another cluster. + */ +export function listClusterFollowerDatabases(args: ListClusterFollowerDatabasesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:listClusterFollowerDatabases", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListClusterFollowerDatabasesArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The list Kusto database principals operation response. + */ +export interface ListClusterFollowerDatabasesResult { + /** + * The list of follower database result. + */ + readonly value?: outputs.kusto.v20230815.FollowerDatabaseDefinitionResponse[]; +} +/** + * Returns a list of databases that are owned by this cluster and were followed by another cluster. + */ +export function listClusterFollowerDatabasesOutput(args: ListClusterFollowerDatabasesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listClusterFollowerDatabases(a, opts)) +} + +export interface ListClusterFollowerDatabasesOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/listClusterLanguageExtensions.ts b/sdk/nodejs/kusto/v20230815/listClusterLanguageExtensions.ts new file mode 100644 index 000000000000..6314116d7eb9 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/listClusterLanguageExtensions.ts @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns a list of language extensions that can run within KQL queries. + */ +export function listClusterLanguageExtensions(args: ListClusterLanguageExtensionsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:listClusterLanguageExtensions", { + "clusterName": args.clusterName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListClusterLanguageExtensionsArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The list of language extension objects. + */ +export interface ListClusterLanguageExtensionsResult { + /** + * The list of language extensions. + */ + readonly value?: outputs.kusto.v20230815.LanguageExtensionResponse[]; +} +/** + * Returns a list of language extensions that can run within KQL queries. + */ +export function listClusterLanguageExtensionsOutput(args: ListClusterLanguageExtensionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listClusterLanguageExtensions(a, opts)) +} + +export interface ListClusterLanguageExtensionsOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/listDatabasePrincipals.ts b/sdk/nodejs/kusto/v20230815/listDatabasePrincipals.ts new file mode 100644 index 000000000000..a29513aa3080 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/listDatabasePrincipals.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns a list of database principals of the given Kusto cluster and database. + */ +export function listDatabasePrincipals(args: ListDatabasePrincipalsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:kusto/v20230815:listDatabasePrincipals", { + "clusterName": args.clusterName, + "databaseName": args.databaseName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListDatabasePrincipalsArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: string; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The list Kusto database principals operation response. + */ +export interface ListDatabasePrincipalsResult { + /** + * The list of Kusto database principals. + */ + readonly value?: outputs.kusto.v20230815.DatabasePrincipalResponse[]; +} +/** + * Returns a list of database principals of the given Kusto cluster and database. + */ +export function listDatabasePrincipalsOutput(args: ListDatabasePrincipalsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listDatabasePrincipals(a, opts)) +} + +export interface ListDatabasePrincipalsOutputArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/managedPrivateEndpoint.ts b/sdk/nodejs/kusto/v20230815/managedPrivateEndpoint.ts new file mode 100644 index 000000000000..45c62abb2355 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/managedPrivateEndpoint.ts @@ -0,0 +1,156 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a managed private endpoint. + */ +export class ManagedPrivateEndpoint extends pulumi.CustomResource { + /** + * Get an existing ManagedPrivateEndpoint 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ManagedPrivateEndpoint { + return new ManagedPrivateEndpoint(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:ManagedPrivateEndpoint'; + + /** + * Returns true if the given object is an instance of ManagedPrivateEndpoint. 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 ManagedPrivateEndpoint { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ManagedPrivateEndpoint.__pulumiType; + } + + /** + * The groupId in which the managed private endpoint is created. + */ + public readonly groupId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The ARM resource ID of the resource for which the managed private endpoint is created. + */ + public readonly privateLinkResourceId!: pulumi.Output; + /** + * The region of the resource to which the managed private endpoint is created. + */ + public readonly privateLinkResourceRegion!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The user request message. + */ + public readonly requestMessage!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ManagedPrivateEndpoint 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: ManagedPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.groupId === undefined) && !opts.urn) { + throw new Error("Missing required property 'groupId'"); + } + if ((!args || args.privateLinkResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'privateLinkResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["groupId"] = args ? args.groupId : undefined; + resourceInputs["managedPrivateEndpointName"] = args ? args.managedPrivateEndpointName : undefined; + resourceInputs["privateLinkResourceId"] = args ? args.privateLinkResourceId : undefined; + resourceInputs["privateLinkResourceRegion"] = args ? args.privateLinkResourceRegion : undefined; + resourceInputs["requestMessage"] = args ? args.requestMessage : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["groupId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateLinkResourceId"] = undefined /*out*/; + resourceInputs["privateLinkResourceRegion"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["requestMessage"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20210827:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220201:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20220707:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221111:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20221229:ManagedPrivateEndpoint" }, { type: "azure-native:kusto/v20230502:ManagedPrivateEndpoint" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ManagedPrivateEndpoint.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ManagedPrivateEndpoint resource. + */ +export interface ManagedPrivateEndpointArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The groupId in which the managed private endpoint is created. + */ + groupId: pulumi.Input; + /** + * The name of the managed private endpoint. + */ + managedPrivateEndpointName?: pulumi.Input; + /** + * The ARM resource ID of the resource for which the managed private endpoint is created. + */ + privateLinkResourceId: pulumi.Input; + /** + * The region of the resource to which the managed private endpoint is created. + */ + privateLinkResourceRegion?: pulumi.Input; + /** + * The user request message. + */ + requestMessage?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/privateEndpointConnection.ts b/sdk/nodejs/kusto/v20230815/privateEndpointConnection.ts new file mode 100644 index 000000000000..efae0bbfde59 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/privateEndpointConnection.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * A private endpoint connection + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. 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 PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * Group id of the private endpoint. + */ + public /*out*/ readonly groupId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Private endpoint which the connection belongs to. + */ + public /*out*/ readonly privateEndpoint!: pulumi.Output; + /** + * Connection State of the Private Endpoint Connection. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * Provisioning state of the private endpoint. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection 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: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.privateLinkServiceConnectionState === undefined) && !opts.urn) { + throw new Error("Missing required property 'privateLinkServiceConnectionState'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["groupId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["groupId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpoint"] = undefined /*out*/; + resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20210827:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220201:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20220707:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221111:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20221229:PrivateEndpointConnection" }, { type: "azure-native:kusto/v20230502:PrivateEndpointConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the private endpoint connection. + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/readOnlyFollowingDatabase.ts b/sdk/nodejs/kusto/v20230815/readOnlyFollowingDatabase.ts new file mode 100644 index 000000000000..be4aa1ab1b30 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/readOnlyFollowingDatabase.ts @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a read only following database. + */ +export class ReadOnlyFollowingDatabase extends pulumi.CustomResource { + /** + * Get an existing ReadOnlyFollowingDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ReadOnlyFollowingDatabase { + return new ReadOnlyFollowingDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:ReadOnlyFollowingDatabase'; + + /** + * Returns true if the given object is an instance of ReadOnlyFollowingDatabase. 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 ReadOnlyFollowingDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ReadOnlyFollowingDatabase.__pulumiType; + } + + /** + * The name of the attached database configuration cluster + */ + public /*out*/ readonly attachedDatabaseConfigurationName!: pulumi.Output; + /** + * The origin of the following setup. + */ + public /*out*/ readonly databaseShareOrigin!: pulumi.Output; + /** + * The time the data should be kept in cache for fast queries in TimeSpan. + */ + public readonly hotCachePeriod!: pulumi.Output; + /** + * Kind of the database + * Expected value is 'ReadOnlyFollowing'. + */ + public readonly kind!: pulumi.Output<"ReadOnlyFollowing">; + /** + * The name of the leader cluster + */ + public /*out*/ readonly leaderClusterResourceId!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The original database name, before databaseNameOverride or databaseNamePrefix where applied. + */ + public /*out*/ readonly originalDatabaseName!: pulumi.Output; + /** + * The principals modification kind of the database + */ + public /*out*/ readonly principalsModificationKind!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The time the data should be kept before it stops being accessible to queries in TimeSpan. + */ + public /*out*/ readonly softDeletePeriod!: pulumi.Output; + /** + * The statistics of the database. + */ + public /*out*/ readonly statistics!: pulumi.Output; + /** + * The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + */ + public /*out*/ readonly suspensionDetails!: pulumi.Output; + /** + * Table level sharing specifications + */ + public /*out*/ readonly tableLevelSharingProperties!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ReadOnlyFollowingDatabase 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: ReadOnlyFollowingDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["callerRole"] = args ? args.callerRole : undefined; + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["hotCachePeriod"] = args ? args.hotCachePeriod : undefined; + resourceInputs["kind"] = "ReadOnlyFollowing"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["attachedDatabaseConfigurationName"] = undefined /*out*/; + resourceInputs["databaseShareOrigin"] = undefined /*out*/; + resourceInputs["leaderClusterResourceId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["originalDatabaseName"] = undefined /*out*/; + resourceInputs["principalsModificationKind"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["softDeletePeriod"] = undefined /*out*/; + resourceInputs["statistics"] = undefined /*out*/; + resourceInputs["suspensionDetails"] = undefined /*out*/; + resourceInputs["tableLevelSharingProperties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["attachedDatabaseConfigurationName"] = undefined /*out*/; + resourceInputs["databaseShareOrigin"] = undefined /*out*/; + resourceInputs["hotCachePeriod"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["leaderClusterResourceId"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["originalDatabaseName"] = undefined /*out*/; + resourceInputs["principalsModificationKind"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["softDeletePeriod"] = undefined /*out*/; + resourceInputs["statistics"] = undefined /*out*/; + resourceInputs["suspensionDetails"] = undefined /*out*/; + resourceInputs["tableLevelSharingProperties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190121:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190515:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20190907:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20191109:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200215:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200614:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20200918:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210101:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20210827:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220201:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20220707:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221111:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20221229:ReadOnlyFollowingDatabase" }, { type: "azure-native:kusto/v20230502:ReadOnlyFollowingDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ReadOnlyFollowingDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ReadOnlyFollowingDatabase resource. + */ +export interface ReadOnlyFollowingDatabaseArgs { + /** + * By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + */ + callerRole?: pulumi.Input; + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName?: pulumi.Input; + /** + * The time the data should be kept in cache for fast queries in TimeSpan. + */ + hotCachePeriod?: pulumi.Input; + /** + * Kind of the database + * Expected value is 'ReadOnlyFollowing'. + */ + kind: pulumi.Input<"ReadOnlyFollowing">; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/readWriteDatabase.ts b/sdk/nodejs/kusto/v20230815/readWriteDatabase.ts new file mode 100644 index 000000000000..b26827bdce00 --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/readWriteDatabase.ts @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a read write database. + */ +export class ReadWriteDatabase extends pulumi.CustomResource { + /** + * Get an existing ReadWriteDatabase 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ReadWriteDatabase { + return new ReadWriteDatabase(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:ReadWriteDatabase'; + + /** + * Returns true if the given object is an instance of ReadWriteDatabase. 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 ReadWriteDatabase { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ReadWriteDatabase.__pulumiType; + } + + /** + * The time the data should be kept in cache for fast queries in TimeSpan. + */ + public readonly hotCachePeriod!: pulumi.Output; + /** + * Indicates whether the database is followed. + */ + public /*out*/ readonly isFollowed!: pulumi.Output; + /** + * KeyVault properties for the database encryption. + */ + public readonly keyVaultProperties!: pulumi.Output; + /** + * Kind of the database + * Expected value is 'ReadWrite'. + */ + public readonly kind!: pulumi.Output<"ReadWrite">; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The time the data should be kept before it stops being accessible to queries in TimeSpan. + */ + public readonly softDeletePeriod!: pulumi.Output; + /** + * The statistics of the database. + */ + public /*out*/ readonly statistics!: pulumi.Output; + /** + * The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + */ + public /*out*/ readonly suspensionDetails!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ReadWriteDatabase 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: ReadWriteDatabaseArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["callerRole"] = args ? args.callerRole : undefined; + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["hotCachePeriod"] = args ? args.hotCachePeriod : undefined; + resourceInputs["keyVaultProperties"] = args ? args.keyVaultProperties : undefined; + resourceInputs["kind"] = "ReadWrite"; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["softDeletePeriod"] = args ? args.softDeletePeriod : undefined; + resourceInputs["isFollowed"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["statistics"] = undefined /*out*/; + resourceInputs["suspensionDetails"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["hotCachePeriod"] = undefined /*out*/; + resourceInputs["isFollowed"] = undefined /*out*/; + resourceInputs["keyVaultProperties"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["softDeletePeriod"] = undefined /*out*/; + resourceInputs["statistics"] = undefined /*out*/; + resourceInputs["suspensionDetails"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:ReadWriteDatabase" }, { type: "azure-native:kusto/v20170907privatepreview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20180907preview:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190121:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190515:ReadWriteDatabase" }, { type: "azure-native:kusto/v20190907:ReadWriteDatabase" }, { type: "azure-native:kusto/v20191109:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200215:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200614:ReadWriteDatabase" }, { type: "azure-native:kusto/v20200918:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210101:ReadWriteDatabase" }, { type: "azure-native:kusto/v20210827:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220201:ReadWriteDatabase" }, { type: "azure-native:kusto/v20220707:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221111:ReadWriteDatabase" }, { type: "azure-native:kusto/v20221229:ReadWriteDatabase" }, { type: "azure-native:kusto/v20230502:ReadWriteDatabase" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ReadWriteDatabase.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ReadWriteDatabase resource. + */ +export interface ReadWriteDatabaseArgs { + /** + * By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + */ + callerRole?: pulumi.Input; + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName?: pulumi.Input; + /** + * The time the data should be kept in cache for fast queries in TimeSpan. + */ + hotCachePeriod?: pulumi.Input; + /** + * KeyVault properties for the database encryption. + */ + keyVaultProperties?: pulumi.Input; + /** + * Kind of the database + * Expected value is 'ReadWrite'. + */ + kind: pulumi.Input<"ReadWrite">; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The time the data should be kept before it stops being accessible to queries in TimeSpan. + */ + softDeletePeriod?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/sandboxCustomImage.ts b/sdk/nodejs/kusto/v20230815/sandboxCustomImage.ts new file mode 100644 index 000000000000..eff0d3b4083c --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/sandboxCustomImage.ts @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a Kusto sandbox custom image. + */ +export class SandboxCustomImage extends pulumi.CustomResource { + /** + * Get an existing SandboxCustomImage 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SandboxCustomImage { + return new SandboxCustomImage(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:SandboxCustomImage'; + + /** + * Returns true if the given object is an instance of SandboxCustomImage. 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 SandboxCustomImage { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SandboxCustomImage.__pulumiType; + } + + /** + * The language name, for example Python. + */ + public readonly language!: pulumi.Output; + /** + * The version of the language. + */ + public readonly languageVersion!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The requirements file content. + */ + public readonly requirementsFileContent!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SandboxCustomImage 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: SandboxCustomImageArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.language === undefined) && !opts.urn) { + throw new Error("Missing required property 'language'"); + } + if ((!args || args.languageVersion === undefined) && !opts.urn) { + throw new Error("Missing required property 'languageVersion'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["language"] = args ? args.language : undefined; + resourceInputs["languageVersion"] = args ? args.languageVersion : undefined; + resourceInputs["requirementsFileContent"] = args ? args.requirementsFileContent : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sandboxCustomImageName"] = args ? args.sandboxCustomImageName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["language"] = undefined /*out*/; + resourceInputs["languageVersion"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["requirementsFileContent"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:SandboxCustomImage" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SandboxCustomImage.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SandboxCustomImage resource. + */ +export interface SandboxCustomImageArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * The language name, for example Python. + */ + language: pulumi.Input; + /** + * The version of the language. + */ + languageVersion: pulumi.Input; + /** + * The requirements file content. + */ + requirementsFileContent?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the sandbox custom image. + */ + sandboxCustomImageName?: pulumi.Input; +} diff --git a/sdk/nodejs/kusto/v20230815/script.ts b/sdk/nodejs/kusto/v20230815/script.ts new file mode 100644 index 000000000000..668efba27e9a --- /dev/null +++ b/sdk/nodejs/kusto/v20230815/script.ts @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Class representing a database script. + */ +export class Script extends pulumi.CustomResource { + /** + * Get an existing Script 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Script { + return new Script(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:kusto/v20230815:Script'; + + /** + * Returns true if the given object is an instance of Script. 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 Script { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Script.__pulumiType; + } + + /** + * Flag that indicates whether to continue if one of the command fails. + */ + public readonly continueOnErrors!: pulumi.Output; + /** + * A unique string. If changed the script will be applied again. + */ + public readonly forceUpdateTag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The provisioned state of the resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The url to the KQL script blob file. Must not be used together with scriptContent property + */ + public readonly scriptUrl!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Script 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: ScriptArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.clusterName === undefined) && !opts.urn) { + throw new Error("Missing required property 'clusterName'"); + } + if ((!args || args.databaseName === undefined) && !opts.urn) { + throw new Error("Missing required property 'databaseName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["clusterName"] = args ? args.clusterName : undefined; + resourceInputs["continueOnErrors"] = (args ? args.continueOnErrors : undefined) ?? false; + resourceInputs["databaseName"] = args ? args.databaseName : undefined; + resourceInputs["forceUpdateTag"] = args ? args.forceUpdateTag : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["scriptContent"] = args ? args.scriptContent : undefined; + resourceInputs["scriptName"] = args ? args.scriptName : undefined; + resourceInputs["scriptUrl"] = args ? args.scriptUrl : undefined; + resourceInputs["scriptUrlSasToken"] = args ? args.scriptUrlSasToken : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["continueOnErrors"] = undefined /*out*/; + resourceInputs["forceUpdateTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["scriptUrl"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:kusto:Script" }, { type: "azure-native:kusto/v20210101:Script" }, { type: "azure-native:kusto/v20210827:Script" }, { type: "azure-native:kusto/v20220201:Script" }, { type: "azure-native:kusto/v20220707:Script" }, { type: "azure-native:kusto/v20221111:Script" }, { type: "azure-native:kusto/v20221229:Script" }, { type: "azure-native:kusto/v20230502:Script" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Script.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Script resource. + */ +export interface ScriptArgs { + /** + * The name of the Kusto cluster. + */ + clusterName: pulumi.Input; + /** + * Flag that indicates whether to continue if one of the command fails. + */ + continueOnErrors?: pulumi.Input; + /** + * The name of the database in the Kusto cluster. + */ + databaseName: pulumi.Input; + /** + * A unique string. If changed the script will be applied again. + */ + forceUpdateTag?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The script content. This property should be used when the script is provide inline and not through file in a SA. Must not be used together with scriptUrl and scriptUrlSasToken properties. + */ + scriptContent?: pulumi.Input; + /** + * The name of the Kusto database script. + */ + scriptName?: pulumi.Input; + /** + * The url to the KQL script blob file. Must not be used together with scriptContent property + */ + scriptUrl?: pulumi.Input; + /** + * The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. + */ + scriptUrlSasToken?: pulumi.Input; +} diff --git a/sdk/nodejs/recoveryservices/v20200202/vault.ts b/sdk/nodejs/recoveryservices/v20200202/vault.ts index 23528b23e433..c2bee7b3b719 100644 --- a/sdk/nodejs/recoveryservices/v20200202/vault.ts +++ b/sdk/nodejs/recoveryservices/v20200202/vault.ts @@ -105,7 +105,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices:Vault" }, { type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }, { type: "azure-native:recoveryservices/v20230401:Vault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices:Vault" }, { type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }, { type: "azure-native:recoveryservices/v20230401:Vault" }, { type: "azure-native:recoveryservices/v20230601:Vault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Vault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/recoveryservices/v20230401/vault.ts b/sdk/nodejs/recoveryservices/v20230401/vault.ts index 3530e74bfed1..7ee035987ef2 100644 --- a/sdk/nodejs/recoveryservices/v20230401/vault.ts +++ b/sdk/nodejs/recoveryservices/v20230401/vault.ts @@ -111,7 +111,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices:Vault" }, { type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20200202:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices:Vault" }, { type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20200202:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }, { type: "azure-native:recoveryservices/v20230601:Vault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Vault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/recoveryservices/v20230601/getVault.ts b/sdk/nodejs/recoveryservices/v20230601/getVault.ts new file mode 100644 index 000000000000..a67ae8af19e7 --- /dev/null +++ b/sdk/nodejs/recoveryservices/v20230601/getVault.ts @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get the Vault details. + */ +export function getVault(args: GetVaultArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:recoveryservices/v20230601:getVault", { + "resourceGroupName": args.resourceGroupName, + "vaultName": args.vaultName, + }, opts); +} + +export interface GetVaultArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the recovery services vault. + */ + vaultName: string; +} + +/** + * Resource information, as returned by the resource provider. + */ +export interface GetVaultResult { + /** + * Optional ETag. + */ + readonly etag?: string; + /** + * Resource Id represents the complete path to the resource. + */ + readonly id: string; + /** + * Identity for the resource. + */ + readonly identity?: outputs.recoveryservices.v20230601.IdentityDataResponse; + /** + * Resource location. + */ + readonly location: string; + /** + * Resource name associated with the resource. + */ + readonly name: string; + /** + * Properties of the vault. + */ + readonly properties: outputs.recoveryservices.v20230601.VaultPropertiesResponse; + /** + * Identifies the unique system identifier for each Azure resource. + */ + readonly sku?: outputs.recoveryservices.v20230601.SkuResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.recoveryservices.v20230601.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + readonly type: string; +} +/** + * Get the Vault details. + */ +export function getVaultOutput(args: GetVaultOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getVault(a, opts)) +} + +export interface GetVaultOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the recovery services vault. + */ + vaultName: pulumi.Input; +} diff --git a/sdk/nodejs/recoveryservices/v20230601/index.ts b/sdk/nodejs/recoveryservices/v20230601/index.ts index 1c9df7e507d3..1cdf5d6b3e45 100644 --- a/sdk/nodejs/recoveryservices/v20230601/index.ts +++ b/sdk/nodejs/recoveryservices/v20230601/index.ts @@ -55,6 +55,11 @@ export const getReplicationvCenter: typeof import("./getReplicationvCenter").get export const getReplicationvCenterOutput: typeof import("./getReplicationvCenter").getReplicationvCenterOutput = null as any; utilities.lazyLoad(exports, ["getReplicationvCenter","getReplicationvCenterOutput"], () => require("./getReplicationvCenter")); +export { GetVaultArgs, GetVaultResult, GetVaultOutputArgs } from "./getVault"; +export const getVault: typeof import("./getVault").getVault = null as any; +export const getVaultOutput: typeof import("./getVault").getVaultOutput = null as any; +utilities.lazyLoad(exports, ["getVault","getVaultOutput"], () => require("./getVault")); + export { ReplicationFabricArgs } from "./replicationFabric"; export type ReplicationFabric = import("./replicationFabric").ReplicationFabric; export const ReplicationFabric: typeof import("./replicationFabric").ReplicationFabric = null as any; @@ -105,6 +110,11 @@ export type ReplicationvCenter = import("./replicationvCenter").ReplicationvCent export const ReplicationvCenter: typeof import("./replicationvCenter").ReplicationvCenter = null as any; utilities.lazyLoad(exports, ["ReplicationvCenter"], () => require("./replicationvCenter")); +export { VaultArgs } from "./vault"; +export type Vault = import("./vault").Vault; +export const Vault: typeof import("./vault").Vault = null as any; +utilities.lazyLoad(exports, ["Vault"], () => require("./vault")); + // Export enums: export * from "../../types/enums/recoveryservices/v20230601"; @@ -133,6 +143,8 @@ const _module = { return new ReplicationStorageClassificationMapping(name, undefined, { urn }) case "azure-native:recoveryservices/v20230601:ReplicationvCenter": return new ReplicationvCenter(name, undefined, { urn }) + case "azure-native:recoveryservices/v20230601:Vault": + return new Vault(name, undefined, { urn }) default: throw new Error(`unknown resource type ${type}`); } diff --git a/sdk/nodejs/recoveryservices/v20230601/vault.ts b/sdk/nodejs/recoveryservices/v20230601/vault.ts new file mode 100644 index 000000000000..68582ba8b607 --- /dev/null +++ b/sdk/nodejs/recoveryservices/v20230601/vault.ts @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Resource information, as returned by the resource provider. + */ +export class Vault extends pulumi.CustomResource { + /** + * Get an existing Vault 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Vault { + return new Vault(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:recoveryservices/v20230601:Vault'; + + /** + * Returns true if the given object is an instance of Vault. 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 Vault { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Vault.__pulumiType; + } + + /** + * Optional ETag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Identity for the resource. + */ + public readonly identity!: pulumi.Output; + /** + * Resource location. + */ + public readonly location!: pulumi.Output; + /** + * Resource name associated with the resource. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Properties of the vault. + */ + public readonly properties!: pulumi.Output; + /** + * Identifies the unique system identifier for each Azure resource. + */ + public readonly sku!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Vault 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: VaultArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vaultName"] = args ? args.vaultName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices:Vault" }, { type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20200202:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }, { type: "azure-native:recoveryservices/v20230401:Vault" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Vault.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Vault resource. + */ +export interface VaultArgs { + /** + * Identity for the resource. + */ + identity?: pulumi.Input; + /** + * Resource location. + */ + location?: pulumi.Input; + /** + * Properties of the vault. + */ + properties?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Identifies the unique system identifier for each Azure resource. + */ + sku?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the recovery services vault. + */ + vaultName?: pulumi.Input; +} diff --git a/sdk/nodejs/recoveryservices/vault.ts b/sdk/nodejs/recoveryservices/vault.ts index f7f86cb60976..c0d5c2dc2b1f 100644 --- a/sdk/nodejs/recoveryservices/vault.ts +++ b/sdk/nodejs/recoveryservices/vault.ts @@ -112,7 +112,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20200202:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }, { type: "azure-native:recoveryservices/v20230401:Vault" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:recoveryservices/v20160601:Vault" }, { type: "azure-native:recoveryservices/v20200202:Vault" }, { type: "azure-native:recoveryservices/v20201001:Vault" }, { type: "azure-native:recoveryservices/v20210101:Vault" }, { type: "azure-native:recoveryservices/v20210210:Vault" }, { type: "azure-native:recoveryservices/v20210301:Vault" }, { type: "azure-native:recoveryservices/v20210401:Vault" }, { type: "azure-native:recoveryservices/v20210601:Vault" }, { type: "azure-native:recoveryservices/v20210701:Vault" }, { type: "azure-native:recoveryservices/v20210801:Vault" }, { type: "azure-native:recoveryservices/v20211101preview:Vault" }, { type: "azure-native:recoveryservices/v20211201:Vault" }, { type: "azure-native:recoveryservices/v20220101:Vault" }, { type: "azure-native:recoveryservices/v20220131preview:Vault" }, { type: "azure-native:recoveryservices/v20220201:Vault" }, { type: "azure-native:recoveryservices/v20220301:Vault" }, { type: "azure-native:recoveryservices/v20220401:Vault" }, { type: "azure-native:recoveryservices/v20220501:Vault" }, { type: "azure-native:recoveryservices/v20220801:Vault" }, { type: "azure-native:recoveryservices/v20220910:Vault" }, { type: "azure-native:recoveryservices/v20220930preview:Vault" }, { type: "azure-native:recoveryservices/v20221001:Vault" }, { type: "azure-native:recoveryservices/v20230101:Vault" }, { type: "azure-native:recoveryservices/v20230201:Vault" }, { type: "azure-native:recoveryservices/v20230401:Vault" }, { type: "azure-native:recoveryservices/v20230601:Vault" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Vault.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/aaddataConnector.ts b/sdk/nodejs/securityinsights/aaddataConnector.ts index 00c4e174932f..1ab531eafe5b 100644 --- a/sdk/nodejs/securityinsights/aaddataConnector.ts +++ b/sdk/nodejs/securityinsights/aaddataConnector.ts @@ -108,7 +108,7 @@ export class AADDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AADDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AADDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/aatpdataConnector.ts b/sdk/nodejs/securityinsights/aatpdataConnector.ts index 10ea134a8b45..01d452639551 100644 --- a/sdk/nodejs/securityinsights/aatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/aatpdataConnector.ts @@ -108,7 +108,7 @@ export class AATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/action.ts b/sdk/nodejs/securityinsights/action.ts index 4986e61baa23..7d5b65044f64 100644 --- a/sdk/nodejs/securityinsights/action.ts +++ b/sdk/nodejs/securityinsights/action.ts @@ -109,7 +109,7 @@ export class Action extends pulumi.CustomResource { resourceInputs["workflowId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }, { type: "azure-native:securityinsights/v20230901preview:Action" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Action.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/activityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/activityCustomEntityQuery.ts index f2a1292318ea..bd266960e8e7 100644 --- a/sdk/nodejs/securityinsights/activityCustomEntityQuery.ts +++ b/sdk/nodejs/securityinsights/activityCustomEntityQuery.ts @@ -162,7 +162,7 @@ export class ActivityCustomEntityQuery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ActivityCustomEntityQuery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/anomalies.ts b/sdk/nodejs/securityinsights/anomalies.ts index e4534e409e19..677a2d40a5b4 100644 --- a/sdk/nodejs/securityinsights/anomalies.ts +++ b/sdk/nodejs/securityinsights/anomalies.ts @@ -102,7 +102,7 @@ export class Anomalies extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }, { type: "azure-native:securityinsights/v20230901preview:Anomalies" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Anomalies.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/anomalySecurityMLAnalyticsSettings.ts b/sdk/nodejs/securityinsights/anomalySecurityMLAnalyticsSettings.ts index 19d5853925e6..a4168bd0a6ab 100644 --- a/sdk/nodejs/securityinsights/anomalySecurityMLAnalyticsSettings.ts +++ b/sdk/nodejs/securityinsights/anomalySecurityMLAnalyticsSettings.ts @@ -198,7 +198,7 @@ export class AnomalySecurityMLAnalyticsSettings extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AnomalySecurityMLAnalyticsSettings.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/ascdataConnector.ts b/sdk/nodejs/securityinsights/ascdataConnector.ts index 9c1524142694..05869200a3a7 100644 --- a/sdk/nodejs/securityinsights/ascdataConnector.ts +++ b/sdk/nodejs/securityinsights/ascdataConnector.ts @@ -108,7 +108,7 @@ export class ASCDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:ASCDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ASCDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/automationRule.ts b/sdk/nodejs/securityinsights/automationRule.ts index bc58b9e76d2c..b795b01af066 100644 --- a/sdk/nodejs/securityinsights/automationRule.ts +++ b/sdk/nodejs/securityinsights/automationRule.ts @@ -145,7 +145,7 @@ export class AutomationRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230901preview:AutomationRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AutomationRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/awsCloudTrailDataConnector.ts index ec1f00fde9cc..0ac95ea23efd 100644 --- a/sdk/nodejs/securityinsights/awsCloudTrailDataConnector.ts +++ b/sdk/nodejs/securityinsights/awsCloudTrailDataConnector.ts @@ -108,7 +108,7 @@ export class AwsCloudTrailDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/bookmark.ts b/sdk/nodejs/securityinsights/bookmark.ts index e677f3e99014..0f48f18c6fb4 100644 --- a/sdk/nodejs/securityinsights/bookmark.ts +++ b/sdk/nodejs/securityinsights/bookmark.ts @@ -170,7 +170,7 @@ export class Bookmark extends pulumi.CustomResource { resourceInputs["updatedBy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }, { type: "azure-native:securityinsights/v20230901preview:Bookmark" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Bookmark.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/bookmarkRelation.ts b/sdk/nodejs/securityinsights/bookmarkRelation.ts index 6fa480949dfd..07284de522ab 100644 --- a/sdk/nodejs/securityinsights/bookmarkRelation.ts +++ b/sdk/nodejs/securityinsights/bookmarkRelation.ts @@ -117,7 +117,7 @@ export class BookmarkRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230901preview:BookmarkRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BookmarkRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/contentPackage.ts b/sdk/nodejs/securityinsights/contentPackage.ts index 8870d0564ce2..dcaa76cca992 100644 --- a/sdk/nodejs/securityinsights/contentPackage.ts +++ b/sdk/nodejs/securityinsights/contentPackage.ts @@ -224,7 +224,7 @@ export class ContentPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230901preview:ContentPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/contentTemplate.ts b/sdk/nodejs/securityinsights/contentTemplate.ts index b8ea7568b541..3d3def7b6f92 100644 --- a/sdk/nodejs/securityinsights/contentTemplate.ts +++ b/sdk/nodejs/securityinsights/contentTemplate.ts @@ -242,7 +242,7 @@ export class ContentTemplate extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230901preview:ContentTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/customizableConnectorDefinition.ts b/sdk/nodejs/securityinsights/customizableConnectorDefinition.ts index 3d90eca2be10..71e0dd51f480 100644 --- a/sdk/nodejs/securityinsights/customizableConnectorDefinition.ts +++ b/sdk/nodejs/securityinsights/customizableConnectorDefinition.ts @@ -123,7 +123,7 @@ export class CustomizableConnectorDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CustomizableConnectorDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/entityAnalytics.ts b/sdk/nodejs/securityinsights/entityAnalytics.ts index e146645c2dc8..dabf821a78fc 100644 --- a/sdk/nodejs/securityinsights/entityAnalytics.ts +++ b/sdk/nodejs/securityinsights/entityAnalytics.ts @@ -102,7 +102,7 @@ export class EntityAnalytics extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230901preview:EntityAnalytics" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/eyesOn.ts b/sdk/nodejs/securityinsights/eyesOn.ts index 39ede57543d9..49862dd57080 100644 --- a/sdk/nodejs/securityinsights/eyesOn.ts +++ b/sdk/nodejs/securityinsights/eyesOn.ts @@ -102,7 +102,7 @@ export class EyesOn extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }, { type: "azure-native:securityinsights/v20230901preview:EyesOn" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EyesOn.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/fileImport.ts b/sdk/nodejs/securityinsights/fileImport.ts index 4a19901740a8..c929ac81b115 100644 --- a/sdk/nodejs/securityinsights/fileImport.ts +++ b/sdk/nodejs/securityinsights/fileImport.ts @@ -170,7 +170,7 @@ export class FileImport extends pulumi.CustomResource { resourceInputs["validRecordCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }, { type: "azure-native:securityinsights/v20230901preview:FileImport" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FileImport.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/fusionAlertRule.ts b/sdk/nodejs/securityinsights/fusionAlertRule.ts index 385226d21088..a3bc7e644e54 100644 --- a/sdk/nodejs/securityinsights/fusionAlertRule.ts +++ b/sdk/nodejs/securityinsights/fusionAlertRule.ts @@ -150,7 +150,7 @@ export class FusionAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:FusionAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/getWorkspaceManagerMember.ts b/sdk/nodejs/securityinsights/getWorkspaceManagerMember.ts index fc74bafe0ac6..59a2bac3798a 100644 --- a/sdk/nodejs/securityinsights/getWorkspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/getWorkspaceManagerMember.ts @@ -59,7 +59,7 @@ export interface GetWorkspaceManagerMemberResult { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - readonly targetWorkspaceId: string; + readonly targetWorkspaceResourceId: string; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/hunt.ts b/sdk/nodejs/securityinsights/hunt.ts index ad0252ebbb83..833316d71dda 100644 --- a/sdk/nodejs/securityinsights/hunt.ts +++ b/sdk/nodejs/securityinsights/hunt.ts @@ -140,7 +140,7 @@ export class Hunt extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }, { type: "azure-native:securityinsights/v20230901preview:Hunt" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Hunt.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/huntComment.ts b/sdk/nodejs/securityinsights/huntComment.ts index 20867c456642..5f4a5691ef2f 100644 --- a/sdk/nodejs/securityinsights/huntComment.ts +++ b/sdk/nodejs/securityinsights/huntComment.ts @@ -99,7 +99,7 @@ export class HuntComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }, { type: "azure-native:securityinsights/v20230901preview:HuntComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/huntRelation.ts b/sdk/nodejs/securityinsights/huntRelation.ts index e45e33458335..fd9daeec5556 100644 --- a/sdk/nodejs/securityinsights/huntRelation.ts +++ b/sdk/nodejs/securityinsights/huntRelation.ts @@ -123,7 +123,7 @@ export class HuntRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230901preview:HuntRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/incident.ts b/sdk/nodejs/securityinsights/incident.ts index 1b95c6bc7ced..865f418b1980 100644 --- a/sdk/nodejs/securityinsights/incident.ts +++ b/sdk/nodejs/securityinsights/incident.ts @@ -209,7 +209,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/incidentComment.ts b/sdk/nodejs/securityinsights/incidentComment.ts index 15761bb22130..27bd0d8bc686 100644 --- a/sdk/nodejs/securityinsights/incidentComment.ts +++ b/sdk/nodejs/securityinsights/incidentComment.ts @@ -117,7 +117,7 @@ export class IncidentComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230901preview:IncidentComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/incidentRelation.ts b/sdk/nodejs/securityinsights/incidentRelation.ts index 21ec39530611..72a12140eed7 100644 --- a/sdk/nodejs/securityinsights/incidentRelation.ts +++ b/sdk/nodejs/securityinsights/incidentRelation.ts @@ -117,7 +117,7 @@ export class IncidentRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230901preview:IncidentRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/incidentTask.ts b/sdk/nodejs/securityinsights/incidentTask.ts index 4526deab6086..4f65059a6905 100644 --- a/sdk/nodejs/securityinsights/incidentTask.ts +++ b/sdk/nodejs/securityinsights/incidentTask.ts @@ -134,7 +134,7 @@ export class IncidentTask extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230901preview:IncidentTask" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentTask.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/index.ts b/sdk/nodejs/securityinsights/index.ts index a38707e221ab..b82f6e28a575 100644 --- a/sdk/nodejs/securityinsights/index.ts +++ b/sdk/nodejs/securityinsights/index.ts @@ -468,6 +468,7 @@ import * as v20230501preview from "./v20230501preview"; import * as v20230601preview from "./v20230601preview"; import * as v20230701preview from "./v20230701preview"; import * as v20230801preview from "./v20230801preview"; +import * as v20230901preview from "./v20230901preview"; export { v20190101preview, @@ -493,6 +494,7 @@ export { v20230601preview, v20230701preview, v20230801preview, + v20230901preview, }; const _module = { diff --git a/sdk/nodejs/securityinsights/mcasdataConnector.ts b/sdk/nodejs/securityinsights/mcasdataConnector.ts index 025ec03d36bc..7b90644dc7db 100644 --- a/sdk/nodejs/securityinsights/mcasdataConnector.ts +++ b/sdk/nodejs/securityinsights/mcasdataConnector.ts @@ -108,7 +108,7 @@ export class MCASDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MCASDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/mdatpdataConnector.ts index de4c9e63e840..b3dda94f6a3d 100644 --- a/sdk/nodejs/securityinsights/mdatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/mdatpdataConnector.ts @@ -108,7 +108,7 @@ export class MDATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MDATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/metadata.ts b/sdk/nodejs/securityinsights/metadata.ts index 793d430e71d6..fa1d9a181ecc 100644 --- a/sdk/nodejs/securityinsights/metadata.ts +++ b/sdk/nodejs/securityinsights/metadata.ts @@ -206,7 +206,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/microsoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/microsoftSecurityIncidentCreationAlertRule.ts index 9207c084e838..10931fab9767 100644 --- a/sdk/nodejs/securityinsights/microsoftSecurityIncidentCreationAlertRule.ts +++ b/sdk/nodejs/securityinsights/microsoftSecurityIncidentCreationAlertRule.ts @@ -159,7 +159,7 @@ export class MicrosoftSecurityIncidentCreationAlertRule extends pulumi.CustomRes resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftSecurityIncidentCreationAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/officeDataConnector.ts b/sdk/nodejs/securityinsights/officeDataConnector.ts index 84f5bc4d441e..909e2a35e905 100644 --- a/sdk/nodejs/securityinsights/officeDataConnector.ts +++ b/sdk/nodejs/securityinsights/officeDataConnector.ts @@ -108,7 +108,7 @@ export class OfficeDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/scheduledAlertRule.ts b/sdk/nodejs/securityinsights/scheduledAlertRule.ts index f6c8e41ca2b9..36da19cb1f4c 100644 --- a/sdk/nodejs/securityinsights/scheduledAlertRule.ts +++ b/sdk/nodejs/securityinsights/scheduledAlertRule.ts @@ -252,7 +252,7 @@ export class ScheduledAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ScheduledAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScheduledAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/sentinelOnboardingState.ts index f9c2630a765f..3943c661c98d 100644 --- a/sdk/nodejs/securityinsights/sentinelOnboardingState.ts +++ b/sdk/nodejs/securityinsights/sentinelOnboardingState.ts @@ -92,7 +92,7 @@ export class SentinelOnboardingState extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/threatIntelligenceIndicator.ts index 7ea88e292068..0c0e97618846 100644 --- a/sdk/nodejs/securityinsights/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/threatIntelligenceIndicator.ts @@ -122,7 +122,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/tidataConnector.ts b/sdk/nodejs/securityinsights/tidataConnector.ts index 2f9bfd347ea7..d553224ab446 100644 --- a/sdk/nodejs/securityinsights/tidataConnector.ts +++ b/sdk/nodejs/securityinsights/tidataConnector.ts @@ -114,7 +114,7 @@ export class TIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/ueba.ts b/sdk/nodejs/securityinsights/ueba.ts index 25ef67276d40..bd75ae0928de 100644 --- a/sdk/nodejs/securityinsights/ueba.ts +++ b/sdk/nodejs/securityinsights/ueba.ts @@ -102,7 +102,7 @@ export class Ueba extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }, { type: "azure-native:securityinsights/v20230901preview:Ueba" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ueba.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20190101preview/automationRule.ts b/sdk/nodejs/securityinsights/v20190101preview/automationRule.ts index 87c47d972a32..3aee5f41230d 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/automationRule.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/automationRule.ts @@ -143,7 +143,7 @@ export class AutomationRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230901preview:AutomationRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AutomationRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20190101preview/bookmark.ts b/sdk/nodejs/securityinsights/v20190101preview/bookmark.ts index d50e8ce78392..ab0ee10c61ae 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/bookmark.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/bookmark.ts @@ -167,7 +167,7 @@ export class Bookmark extends pulumi.CustomResource { resourceInputs["updatedBy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }, { type: "azure-native:securityinsights/v20230901preview:Bookmark" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Bookmark.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20190101preview/bookmarkRelation.ts b/sdk/nodejs/securityinsights/v20190101preview/bookmarkRelation.ts index 42de3dd226d4..6825720da8e1 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/bookmarkRelation.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/bookmarkRelation.ts @@ -111,7 +111,7 @@ export class BookmarkRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230901preview:BookmarkRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BookmarkRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20190101preview/ipsyncer.ts b/sdk/nodejs/securityinsights/v20190101preview/ipsyncer.ts index 2685e39a60cf..d832769009f5 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/ipsyncer.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/ipsyncer.ts @@ -96,7 +96,7 @@ export class IPSyncer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IPSyncer" }, { type: "azure-native:securityinsights/v20210301preview:IPSyncer" }, { type: "azure-native:securityinsights/v20210901preview:IPSyncer" }, { type: "azure-native:securityinsights/v20211001preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220101preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220401preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220501preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220601preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220701preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220801preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220901preview:IPSyncer" }, { type: "azure-native:securityinsights/v20221001preview:IPSyncer" }, { type: "azure-native:securityinsights/v20221101preview:IPSyncer" }, { type: "azure-native:securityinsights/v20221201preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230201preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230301preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230401preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230501preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230601preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230701preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230801preview:IPSyncer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IPSyncer" }, { type: "azure-native:securityinsights/v20210301preview:IPSyncer" }, { type: "azure-native:securityinsights/v20210901preview:IPSyncer" }, { type: "azure-native:securityinsights/v20211001preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220101preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220401preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220501preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220601preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220701preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220801preview:IPSyncer" }, { type: "azure-native:securityinsights/v20220901preview:IPSyncer" }, { type: "azure-native:securityinsights/v20221001preview:IPSyncer" }, { type: "azure-native:securityinsights/v20221101preview:IPSyncer" }, { type: "azure-native:securityinsights/v20221201preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230201preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230301preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230401preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230501preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230601preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230701preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230801preview:IPSyncer" }, { type: "azure-native:securityinsights/v20230901preview:IPSyncer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IPSyncer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20190101preview/watchlist.ts b/sdk/nodejs/securityinsights/v20190101preview/watchlist.ts index 4313022cb0cd..8737a22fe562 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/watchlist.ts @@ -211,7 +211,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/aaddataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/aaddataConnector.ts index 040daf0bae58..440f3a84a4ae 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/aaddataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/aaddataConnector.ts @@ -114,7 +114,7 @@ export class AADDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AADDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AADDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/aatpdataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/aatpdataConnector.ts index ff7f5d2429db..55433a07ee0e 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/aatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/aatpdataConnector.ts @@ -114,7 +114,7 @@ export class AATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/action.ts b/sdk/nodejs/securityinsights/v20210301preview/action.ts index 7be206d2e2ef..9c1374adfc65 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/action.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/action.ts @@ -112,7 +112,7 @@ export class Action extends pulumi.CustomResource { resourceInputs["workflowId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }, { type: "azure-native:securityinsights/v20230901preview:Action" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Action.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/activityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/v20210301preview/activityCustomEntityQuery.ts index 2cc3a3a55a27..56fd46bd609b 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/activityCustomEntityQuery.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/activityCustomEntityQuery.ts @@ -165,7 +165,7 @@ export class ActivityCustomEntityQuery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ActivityCustomEntityQuery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/anomalies.ts b/sdk/nodejs/securityinsights/v20210301preview/anomalies.ts index 256b94b19bc6..b6f7cddec1fe 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/anomalies.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/anomalies.ts @@ -105,7 +105,7 @@ export class Anomalies extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }, { type: "azure-native:securityinsights/v20230901preview:Anomalies" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Anomalies.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/ascdataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/ascdataConnector.ts index 7e7a6a6d0c9c..55fd3b61d6fa 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/ascdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/ascdataConnector.ts @@ -111,7 +111,7 @@ export class ASCDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:ASCDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ASCDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/awsCloudTrailDataConnector.ts index 34e9c87e692d..33898fdf21f9 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/awsCloudTrailDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/awsCloudTrailDataConnector.ts @@ -114,7 +114,7 @@ export class AwsCloudTrailDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/codelessUiDataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/codelessUiDataConnector.ts index 56dc68c284b4..503c076c7399 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/codelessUiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/codelessUiDataConnector.ts @@ -105,7 +105,7 @@ export class CodelessUiDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessUiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/dynamics365DataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/dynamics365DataConnector.ts index 6d7d39de9660..46491077d1e3 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/dynamics365DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/dynamics365DataConnector.ts @@ -117,7 +117,7 @@ export class Dynamics365DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Dynamics365DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/entityAnalytics.ts b/sdk/nodejs/securityinsights/v20210301preview/entityAnalytics.ts index 05385e51ebcf..ef9ff4c5152c 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/entityAnalytics.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/entityAnalytics.ts @@ -105,7 +105,7 @@ export class EntityAnalytics extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230901preview:EntityAnalytics" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/eyesOn.ts b/sdk/nodejs/securityinsights/v20210301preview/eyesOn.ts index 1ad19b1c11d3..1dd4b4aad9cb 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/eyesOn.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/eyesOn.ts @@ -105,7 +105,7 @@ export class EyesOn extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }, { type: "azure-native:securityinsights/v20230901preview:EyesOn" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EyesOn.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/fusionAlertRule.ts b/sdk/nodejs/securityinsights/v20210301preview/fusionAlertRule.ts index 23895e1a42e3..4080b489eec8 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/fusionAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/fusionAlertRule.ts @@ -147,7 +147,7 @@ export class FusionAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:FusionAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/incident.ts b/sdk/nodejs/securityinsights/v20210301preview/incident.ts index 8f0386e32aa8..c2e09845a16a 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/incident.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/incident.ts @@ -218,7 +218,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/incidentComment.ts b/sdk/nodejs/securityinsights/v20210301preview/incidentComment.ts index 407e92c9654d..1951b007f5a8 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/incidentComment.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/incidentComment.ts @@ -120,7 +120,7 @@ export class IncidentComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230901preview:IncidentComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/incidentRelation.ts b/sdk/nodejs/securityinsights/v20210301preview/incidentRelation.ts index bb7525ff5a4d..a15bd973fd73 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/incidentRelation.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/incidentRelation.ts @@ -120,7 +120,7 @@ export class IncidentRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230901preview:IncidentRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/mcasdataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/mcasdataConnector.ts index 38113337b451..5b6d474ebbaa 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/mcasdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/mcasdataConnector.ts @@ -117,7 +117,7 @@ export class MCASDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MCASDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/mdatpdataConnector.ts index 401bda01858c..88a8ed0ecd41 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/mdatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/mdatpdataConnector.ts @@ -114,7 +114,7 @@ export class MDATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MDATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/metadata.ts b/sdk/nodejs/securityinsights/v20210301preview/metadata.ts index 680c32d1b0c4..8d36c6922946 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/metadata.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/metadata.ts @@ -167,7 +167,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/microsoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/v20210301preview/microsoftSecurityIncidentCreationAlertRule.ts index 1e6c85e20d5b..f9d232672fd2 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/microsoftSecurityIncidentCreationAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/microsoftSecurityIncidentCreationAlertRule.ts @@ -162,7 +162,7 @@ export class MicrosoftSecurityIncidentCreationAlertRule extends pulumi.CustomRes resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftSecurityIncidentCreationAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/mlbehaviorAnalyticsAlertRule.ts b/sdk/nodejs/securityinsights/v20210301preview/mlbehaviorAnalyticsAlertRule.ts index e870cec74137..7283d8ba8929 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/mlbehaviorAnalyticsAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/mlbehaviorAnalyticsAlertRule.ts @@ -147,7 +147,7 @@ export class MLBehaviorAnalyticsAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MLBehaviorAnalyticsAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/mstidataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/mstidataConnector.ts index 1895766e292d..f0cdc2810da9 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/mstidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/mstidataConnector.ts @@ -117,7 +117,7 @@ export class MSTIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MSTIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSTIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/mtpdataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/mtpdataConnector.ts index f9b608c19203..32fab5e59527 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/mtpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/mtpdataConnector.ts @@ -117,7 +117,7 @@ export class MTPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MTPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MTPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/officeATPDataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/officeATPDataConnector.ts index 0a0906aab66b..d2d371ced16f 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/officeATPDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/officeATPDataConnector.ts @@ -114,7 +114,7 @@ export class OfficeATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/officeDataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/officeDataConnector.ts index 8fcd9ecca289..53563f94a44f 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/officeDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/officeDataConnector.ts @@ -117,7 +117,7 @@ export class OfficeDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/scheduledAlertRule.ts b/sdk/nodejs/securityinsights/v20210301preview/scheduledAlertRule.ts index 8a7e6620764c..9b30351ea0a1 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/scheduledAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/scheduledAlertRule.ts @@ -243,7 +243,7 @@ export class ScheduledAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ScheduledAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScheduledAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20210301preview/sentinelOnboardingState.ts index 351863fabf95..d97d7ec186b0 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/sentinelOnboardingState.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/sentinelOnboardingState.ts @@ -95,7 +95,7 @@ export class SentinelOnboardingState extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/threatIntelligenceAlertRule.ts b/sdk/nodejs/securityinsights/v20210301preview/threatIntelligenceAlertRule.ts index 65c86dc7abaa..b96da5ad522f 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/threatIntelligenceAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/threatIntelligenceAlertRule.ts @@ -147,7 +147,7 @@ export class ThreatIntelligenceAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/tiTaxiiDataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/tiTaxiiDataConnector.ts index 8b82bbd0679b..0debdd1704bd 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/tiTaxiiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/tiTaxiiDataConnector.ts @@ -168,7 +168,7 @@ export class TiTaxiiDataConnector extends pulumi.CustomResource { resourceInputs["workspaceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TiTaxiiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/tidataConnector.ts b/sdk/nodejs/securityinsights/v20210301preview/tidataConnector.ts index f92cfa0908f9..f4056312947a 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/tidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/tidataConnector.ts @@ -123,7 +123,7 @@ export class TIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/ueba.ts b/sdk/nodejs/securityinsights/v20210301preview/ueba.ts index c1fe1e197ecd..25431737816b 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/ueba.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/ueba.ts @@ -105,7 +105,7 @@ export class Ueba extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }, { type: "azure-native:securityinsights/v20230901preview:Ueba" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ueba.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210301preview/watchlist.ts b/sdk/nodejs/securityinsights/v20210301preview/watchlist.ts index 7e713b4fd6d6..6abfaffed5e6 100644 --- a/sdk/nodejs/securityinsights/v20210301preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20210301preview/watchlist.ts @@ -226,7 +226,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210401/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20210401/threatIntelligenceIndicator.ts index 17eeaf576827..33ce28554d7e 100644 --- a/sdk/nodejs/securityinsights/v20210401/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/v20210401/threatIntelligenceIndicator.ts @@ -125,7 +125,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210401/watchlist.ts b/sdk/nodejs/securityinsights/v20210401/watchlist.ts index 72b87a1d21a5..5795fb677c37 100644 --- a/sdk/nodejs/securityinsights/v20210401/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20210401/watchlist.ts @@ -222,7 +222,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210401/watchlistItem.ts b/sdk/nodejs/securityinsights/v20210401/watchlistItem.ts index 40b371054931..b7293de8fc57 100644 --- a/sdk/nodejs/securityinsights/v20210401/watchlistItem.ts +++ b/sdk/nodejs/securityinsights/v20210401/watchlistItem.ts @@ -155,7 +155,7 @@ export class WatchlistItem extends pulumi.CustomResource { resourceInputs["watchlistItemType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230901preview:WatchlistItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WatchlistItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20210901preview/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20210901preview/threatIntelligenceIndicator.ts index 2c305103a2e9..76be77cfdae6 100644 --- a/sdk/nodejs/securityinsights/v20210901preview/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/v20210901preview/threatIntelligenceIndicator.ts @@ -121,7 +121,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20211001preview/fusionAlertRule.ts b/sdk/nodejs/securityinsights/v20211001preview/fusionAlertRule.ts index 2ee6a3b1025a..21f5d18731cd 100644 --- a/sdk/nodejs/securityinsights/v20211001preview/fusionAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20211001preview/fusionAlertRule.ts @@ -164,7 +164,7 @@ export class FusionAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:FusionAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20211001preview/nrtAlertRule.ts b/sdk/nodejs/securityinsights/v20211001preview/nrtAlertRule.ts index 5ce81b9aff53..08dd80a5373d 100644 --- a/sdk/nodejs/securityinsights/v20211001preview/nrtAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20211001preview/nrtAlertRule.ts @@ -203,7 +203,7 @@ export class NrtAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:NrtAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NrtAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20211001preview/watchlist.ts b/sdk/nodejs/securityinsights/v20211001preview/watchlist.ts index bed10a23e827..ff40f1c2aabd 100644 --- a/sdk/nodejs/securityinsights/v20211001preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20211001preview/watchlist.ts @@ -222,7 +222,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20220101preview/entityAnalytics.ts b/sdk/nodejs/securityinsights/v20220101preview/entityAnalytics.ts index 790a87c5eda9..f0bfb485ed2b 100644 --- a/sdk/nodejs/securityinsights/v20220101preview/entityAnalytics.ts +++ b/sdk/nodejs/securityinsights/v20220101preview/entityAnalytics.ts @@ -101,7 +101,7 @@ export class EntityAnalytics extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230901preview:EntityAnalytics" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20220101preview/watchlist.ts b/sdk/nodejs/securityinsights/v20220101preview/watchlist.ts index c0f1b7975e78..4282dd6f879c 100644 --- a/sdk/nodejs/securityinsights/v20220101preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20220101preview/watchlist.ts @@ -231,7 +231,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/aaddataConnector.ts b/sdk/nodejs/securityinsights/v20230201/aaddataConnector.ts index 1e1f45e67f38..ab460ca19978 100644 --- a/sdk/nodejs/securityinsights/v20230201/aaddataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/aaddataConnector.ts @@ -107,7 +107,7 @@ export class AADDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AADDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AADDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/aatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230201/aatpdataConnector.ts index e149c7b59822..5bfb5d478d18 100644 --- a/sdk/nodejs/securityinsights/v20230201/aatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/aatpdataConnector.ts @@ -107,7 +107,7 @@ export class AATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/action.ts b/sdk/nodejs/securityinsights/v20230201/action.ts index 13912d9f2075..64223d049f88 100644 --- a/sdk/nodejs/securityinsights/v20230201/action.ts +++ b/sdk/nodejs/securityinsights/v20230201/action.ts @@ -108,7 +108,7 @@ export class Action extends pulumi.CustomResource { resourceInputs["workflowId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }, { type: "azure-native:securityinsights/v20230901preview:Action" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Action.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/automationRule.ts b/sdk/nodejs/securityinsights/v20230201/automationRule.ts index 467fe9cb9696..b3bdda8e712a 100644 --- a/sdk/nodejs/securityinsights/v20230201/automationRule.ts +++ b/sdk/nodejs/securityinsights/v20230201/automationRule.ts @@ -142,7 +142,7 @@ export class AutomationRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230901preview:AutomationRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AutomationRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20230201/awsCloudTrailDataConnector.ts index a53d02d74457..3105a9a06b52 100644 --- a/sdk/nodejs/securityinsights/v20230201/awsCloudTrailDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/awsCloudTrailDataConnector.ts @@ -107,7 +107,7 @@ export class AwsCloudTrailDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/bookmark.ts b/sdk/nodejs/securityinsights/v20230201/bookmark.ts index 7a2cf2db0282..8cac261ca9a4 100644 --- a/sdk/nodejs/securityinsights/v20230201/bookmark.ts +++ b/sdk/nodejs/securityinsights/v20230201/bookmark.ts @@ -169,7 +169,7 @@ export class Bookmark extends pulumi.CustomResource { resourceInputs["updatedBy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }, { type: "azure-native:securityinsights/v20230901preview:Bookmark" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Bookmark.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/incident.ts b/sdk/nodejs/securityinsights/v20230201/incident.ts index 54a5c470f801..3709519a0cea 100644 --- a/sdk/nodejs/securityinsights/v20230201/incident.ts +++ b/sdk/nodejs/securityinsights/v20230201/incident.ts @@ -208,7 +208,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/incidentComment.ts b/sdk/nodejs/securityinsights/v20230201/incidentComment.ts index fa88d473ba0b..c85bfe1db848 100644 --- a/sdk/nodejs/securityinsights/v20230201/incidentComment.ts +++ b/sdk/nodejs/securityinsights/v20230201/incidentComment.ts @@ -116,7 +116,7 @@ export class IncidentComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230901preview:IncidentComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/incidentRelation.ts b/sdk/nodejs/securityinsights/v20230201/incidentRelation.ts index 587310a7e9ce..e7a301ce310c 100644 --- a/sdk/nodejs/securityinsights/v20230201/incidentRelation.ts +++ b/sdk/nodejs/securityinsights/v20230201/incidentRelation.ts @@ -116,7 +116,7 @@ export class IncidentRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230901preview:IncidentRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/mcasdataConnector.ts b/sdk/nodejs/securityinsights/v20230201/mcasdataConnector.ts index b51ee88bce96..a97b444cc677 100644 --- a/sdk/nodejs/securityinsights/v20230201/mcasdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/mcasdataConnector.ts @@ -107,7 +107,7 @@ export class MCASDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MCASDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230201/mdatpdataConnector.ts index 5be73afd4291..bd70bd4dbac4 100644 --- a/sdk/nodejs/securityinsights/v20230201/mdatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/mdatpdataConnector.ts @@ -107,7 +107,7 @@ export class MDATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MDATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/metadata.ts b/sdk/nodejs/securityinsights/v20230201/metadata.ts index f6d0b98331ce..9cce45cdd039 100644 --- a/sdk/nodejs/securityinsights/v20230201/metadata.ts +++ b/sdk/nodejs/securityinsights/v20230201/metadata.ts @@ -205,7 +205,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/officeDataConnector.ts b/sdk/nodejs/securityinsights/v20230201/officeDataConnector.ts index 4836c55526cd..1e7e229f31c9 100644 --- a/sdk/nodejs/securityinsights/v20230201/officeDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/officeDataConnector.ts @@ -107,7 +107,7 @@ export class OfficeDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20230201/sentinelOnboardingState.ts index b6486304849f..60a2619bfc37 100644 --- a/sdk/nodejs/securityinsights/v20230201/sentinelOnboardingState.ts +++ b/sdk/nodejs/securityinsights/v20230201/sentinelOnboardingState.ts @@ -91,7 +91,7 @@ export class SentinelOnboardingState extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20230201/threatIntelligenceIndicator.ts index cd93a72adccc..47196a08e17e 100644 --- a/sdk/nodejs/securityinsights/v20230201/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/v20230201/threatIntelligenceIndicator.ts @@ -121,7 +121,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/tidataConnector.ts b/sdk/nodejs/securityinsights/v20230201/tidataConnector.ts index 456cd32ca726..467b21803b2f 100644 --- a/sdk/nodejs/securityinsights/v20230201/tidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230201/tidataConnector.ts @@ -113,7 +113,7 @@ export class TIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/watchlist.ts b/sdk/nodejs/securityinsights/v20230201/watchlist.ts index e8092291302d..bcbaa1e7e2a3 100644 --- a/sdk/nodejs/securityinsights/v20230201/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20230201/watchlist.ts @@ -218,7 +218,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201/watchlistItem.ts b/sdk/nodejs/securityinsights/v20230201/watchlistItem.ts index b3610a107bcf..b5d73b679b30 100644 --- a/sdk/nodejs/securityinsights/v20230201/watchlistItem.ts +++ b/sdk/nodejs/securityinsights/v20230201/watchlistItem.ts @@ -151,7 +151,7 @@ export class WatchlistItem extends pulumi.CustomResource { resourceInputs["watchlistItemType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230901preview:WatchlistItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WatchlistItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201preview/incident.ts b/sdk/nodejs/securityinsights/v20230201preview/incident.ts index 0eacee6fbaf3..586b65b5fc8c 100644 --- a/sdk/nodejs/securityinsights/v20230201preview/incident.ts +++ b/sdk/nodejs/securityinsights/v20230201preview/incident.ts @@ -211,7 +211,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230201preview/metadata.ts b/sdk/nodejs/securityinsights/v20230201preview/metadata.ts index e797289f7e9f..21e7bd43895f 100644 --- a/sdk/nodejs/securityinsights/v20230201preview/metadata.ts +++ b/sdk/nodejs/securityinsights/v20230201preview/metadata.ts @@ -205,7 +205,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230301preview/incident.ts b/sdk/nodejs/securityinsights/v20230301preview/incident.ts index d024ae813e13..d01aa755533e 100644 --- a/sdk/nodejs/securityinsights/v20230301preview/incident.ts +++ b/sdk/nodejs/securityinsights/v20230301preview/incident.ts @@ -211,7 +211,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/aaddataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/aaddataConnector.ts index 0714410e0a0f..59583b6555ee 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/aaddataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/aaddataConnector.ts @@ -110,7 +110,7 @@ export class AADDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AADDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AADDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/aatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/aatpdataConnector.ts index 58a2a9902f12..72ec561dde84 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/aatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/aatpdataConnector.ts @@ -110,7 +110,7 @@ export class AATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/action.ts b/sdk/nodejs/securityinsights/v20230601preview/action.ts index d175d21c18ce..b21fd2d3598f 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/action.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/action.ts @@ -108,7 +108,7 @@ export class Action extends pulumi.CustomResource { resourceInputs["workflowId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }, { type: "azure-native:securityinsights/v20230901preview:Action" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Action.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/activityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/v20230601preview/activityCustomEntityQuery.ts index 05ce83fa687e..c70a736c2dda 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/activityCustomEntityQuery.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/activityCustomEntityQuery.ts @@ -161,7 +161,7 @@ export class ActivityCustomEntityQuery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ActivityCustomEntityQuery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/anomalies.ts b/sdk/nodejs/securityinsights/v20230601preview/anomalies.ts index 5addfc74687b..2b28f7c6fb06 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/anomalies.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/anomalies.ts @@ -101,7 +101,7 @@ export class Anomalies extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }, { type: "azure-native:securityinsights/v20230901preview:Anomalies" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Anomalies.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/anomalySecurityMLAnalyticsSettings.ts b/sdk/nodejs/securityinsights/v20230601preview/anomalySecurityMLAnalyticsSettings.ts index f0c31111402c..eb69c0e87073 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/anomalySecurityMLAnalyticsSettings.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/anomalySecurityMLAnalyticsSettings.ts @@ -197,7 +197,7 @@ export class AnomalySecurityMLAnalyticsSettings extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AnomalySecurityMLAnalyticsSettings.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/ascdataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/ascdataConnector.ts index cdbbc94e5880..b2f3dd2fe7f7 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/ascdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/ascdataConnector.ts @@ -107,7 +107,7 @@ export class ASCDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:ASCDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ASCDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/automationRule.ts b/sdk/nodejs/securityinsights/v20230601preview/automationRule.ts index bbf77a4d2fbf..44616fa6fd5e 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/automationRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/automationRule.ts @@ -142,7 +142,7 @@ export class AutomationRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230901preview:AutomationRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AutomationRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/awsCloudTrailDataConnector.ts index f536ec78448e..629d89efa28f 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/awsCloudTrailDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/awsCloudTrailDataConnector.ts @@ -110,7 +110,7 @@ export class AwsCloudTrailDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/awsS3DataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/awsS3DataConnector.ts index e667c9bda875..d1f88768f805 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/awsS3DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/awsS3DataConnector.ts @@ -131,7 +131,7 @@ export class AwsS3DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsS3DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsS3DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsS3DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/bookmark.ts b/sdk/nodejs/securityinsights/v20230601preview/bookmark.ts index 5a03cd1a040b..87862bf48d7f 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/bookmark.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/bookmark.ts @@ -187,7 +187,7 @@ export class Bookmark extends pulumi.CustomResource { resourceInputs["updatedBy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }, { type: "azure-native:securityinsights/v20230901preview:Bookmark" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Bookmark.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/bookmarkRelation.ts b/sdk/nodejs/securityinsights/v20230601preview/bookmarkRelation.ts index 2e5e8cb0fc3a..c1d90d24b927 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/bookmarkRelation.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/bookmarkRelation.ts @@ -116,7 +116,7 @@ export class BookmarkRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230901preview:BookmarkRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BookmarkRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/codelessApiPollingDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/codelessApiPollingDataConnector.ts index 11ac4ef0b153..96af9944cab6 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/codelessApiPollingDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/codelessApiPollingDataConnector.ts @@ -107,7 +107,7 @@ export class CodelessApiPollingDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessApiPollingDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/codelessUiDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/codelessUiDataConnector.ts index a62e5d1ec1ab..dbd28cbaf076 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/codelessUiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/codelessUiDataConnector.ts @@ -101,7 +101,7 @@ export class CodelessUiDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessUiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/contentPackage.ts b/sdk/nodejs/securityinsights/v20230601preview/contentPackage.ts index 4d0067587c66..b437ff6c0754 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/contentPackage.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/contentPackage.ts @@ -223,7 +223,7 @@ export class ContentPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230901preview:ContentPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/contentTemplate.ts b/sdk/nodejs/securityinsights/v20230601preview/contentTemplate.ts index 0ff22365ee6d..d69b24599687 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/contentTemplate.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/contentTemplate.ts @@ -241,7 +241,7 @@ export class ContentTemplate extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230901preview:ContentTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/dynamics365DataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/dynamics365DataConnector.ts index bcae55fa3429..76ee14fe2074 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/dynamics365DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/dynamics365DataConnector.ts @@ -113,7 +113,7 @@ export class Dynamics365DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Dynamics365DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/entityAnalytics.ts b/sdk/nodejs/securityinsights/v20230601preview/entityAnalytics.ts index 10f474dc0093..ccb93a156c31 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/entityAnalytics.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/entityAnalytics.ts @@ -101,7 +101,7 @@ export class EntityAnalytics extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230901preview:EntityAnalytics" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/eyesOn.ts b/sdk/nodejs/securityinsights/v20230601preview/eyesOn.ts index e7b57817d8ab..2afaf5b49af6 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/eyesOn.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/eyesOn.ts @@ -101,7 +101,7 @@ export class EyesOn extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }, { type: "azure-native:securityinsights/v20230901preview:EyesOn" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EyesOn.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/fileImport.ts b/sdk/nodejs/securityinsights/v20230601preview/fileImport.ts index 41be82f7153f..7a174441baef 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/fileImport.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/fileImport.ts @@ -169,7 +169,7 @@ export class FileImport extends pulumi.CustomResource { resourceInputs["validRecordCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }, { type: "azure-native:securityinsights/v20230901preview:FileImport" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FileImport.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/fusionAlertRule.ts b/sdk/nodejs/securityinsights/v20230601preview/fusionAlertRule.ts index 308ee65414ed..48affd0b0a8b 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/fusionAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/fusionAlertRule.ts @@ -161,7 +161,7 @@ export class FusionAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:FusionAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/gcpdataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/gcpdataConnector.ts index c4a90998423f..439d78ed4cc8 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/gcpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/gcpdataConnector.ts @@ -128,7 +128,7 @@ export class GCPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:GCPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:GCPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GCPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/getWorkspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230601preview/getWorkspaceManagerMember.ts index ada521f0f19b..3b3521427bec 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/getWorkspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/getWorkspaceManagerMember.ts @@ -58,7 +58,7 @@ export interface GetWorkspaceManagerMemberResult { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - readonly targetWorkspaceId: string; + readonly targetWorkspaceResourceId: string; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/v20230601preview/hunt.ts b/sdk/nodejs/securityinsights/v20230601preview/hunt.ts index 5b0a1731b2d8..1be433ce26e1 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/hunt.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/hunt.ts @@ -139,7 +139,7 @@ export class Hunt extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }, { type: "azure-native:securityinsights/v20230901preview:Hunt" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Hunt.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/huntComment.ts b/sdk/nodejs/securityinsights/v20230601preview/huntComment.ts index f184ac82727f..a2bf386bcbb2 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/huntComment.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/huntComment.ts @@ -98,7 +98,7 @@ export class HuntComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }, { type: "azure-native:securityinsights/v20230901preview:HuntComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/huntRelation.ts b/sdk/nodejs/securityinsights/v20230601preview/huntRelation.ts index d54061f8be7d..d0354a916f9f 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/huntRelation.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/huntRelation.ts @@ -122,7 +122,7 @@ export class HuntRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230901preview:HuntRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/incident.ts b/sdk/nodejs/securityinsights/v20230601preview/incident.ts index 0fdf11020908..0ba5211fdc86 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/incident.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/incident.ts @@ -211,7 +211,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/incidentComment.ts b/sdk/nodejs/securityinsights/v20230601preview/incidentComment.ts index 1bcbecccd7fe..386597fc5679 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/incidentComment.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/incidentComment.ts @@ -116,7 +116,7 @@ export class IncidentComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230901preview:IncidentComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/incidentRelation.ts b/sdk/nodejs/securityinsights/v20230601preview/incidentRelation.ts index 8bf1889d5b5c..c157c3db1d78 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/incidentRelation.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/incidentRelation.ts @@ -116,7 +116,7 @@ export class IncidentRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230901preview:IncidentRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/incidentTask.ts b/sdk/nodejs/securityinsights/v20230601preview/incidentTask.ts index 81a252e45728..827de24b560b 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/incidentTask.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/incidentTask.ts @@ -131,7 +131,7 @@ export class IncidentTask extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230901preview:IncidentTask" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentTask.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/ioTDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/ioTDataConnector.ts index 86c9675f861d..7da97467bc94 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/ioTDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/ioTDataConnector.ts @@ -107,7 +107,7 @@ export class IoTDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:IoTDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:IoTDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IoTDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/mcasdataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/mcasdataConnector.ts index 64cf9ff915fd..6b24e7578ea4 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/mcasdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/mcasdataConnector.ts @@ -113,7 +113,7 @@ export class MCASDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MCASDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/mdatpdataConnector.ts index f57702563868..df6621d77992 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/mdatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/mdatpdataConnector.ts @@ -110,7 +110,7 @@ export class MDATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MDATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/metadata.ts b/sdk/nodejs/securityinsights/v20230601preview/metadata.ts index 283611b83ff0..78dd88b96aee 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/metadata.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/metadata.ts @@ -205,7 +205,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/microsoftPurviewInformationProtectionDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/microsoftPurviewInformationProtectionDataConnector.ts index 0f150a7c58e1..b08a84bac5e3 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/microsoftPurviewInformationProtectionDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/microsoftPurviewInformationProtectionDataConnector.ts @@ -113,7 +113,7 @@ export class MicrosoftPurviewInformationProtectionDataConnector extends pulumi.C resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftPurviewInformationProtectionDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/microsoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/v20230601preview/microsoftSecurityIncidentCreationAlertRule.ts index 32a7ec2cb184..e998d83f2f63 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/microsoftSecurityIncidentCreationAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/microsoftSecurityIncidentCreationAlertRule.ts @@ -158,7 +158,7 @@ export class MicrosoftSecurityIncidentCreationAlertRule extends pulumi.CustomRes resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftSecurityIncidentCreationAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/mlbehaviorAnalyticsAlertRule.ts b/sdk/nodejs/securityinsights/v20230601preview/mlbehaviorAnalyticsAlertRule.ts index 3131ce626642..9a720ac583a8 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/mlbehaviorAnalyticsAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/mlbehaviorAnalyticsAlertRule.ts @@ -149,7 +149,7 @@ export class MLBehaviorAnalyticsAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MLBehaviorAnalyticsAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/mstidataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/mstidataConnector.ts index 57790aebc236..87d76fae9170 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/mstidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/mstidataConnector.ts @@ -113,7 +113,7 @@ export class MSTIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MSTIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSTIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/mtpdataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/mtpdataConnector.ts index 54928c0a5a20..ba7f0d89f564 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/mtpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/mtpdataConnector.ts @@ -119,7 +119,7 @@ export class MTPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MTPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MTPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/nrtAlertRule.ts b/sdk/nodejs/securityinsights/v20230601preview/nrtAlertRule.ts index 40963352bc0c..8be8d520823f 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/nrtAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/nrtAlertRule.ts @@ -221,7 +221,7 @@ export class NrtAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:NrtAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NrtAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/office365ProjectDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/office365ProjectDataConnector.ts index 464dc8085e62..53405b64e513 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/office365ProjectDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/office365ProjectDataConnector.ts @@ -113,7 +113,7 @@ export class Office365ProjectDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Office365ProjectDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/officeATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/officeATPDataConnector.ts index 601ba9d43396..5a37c3fe9ed3 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/officeATPDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/officeATPDataConnector.ts @@ -110,7 +110,7 @@ export class OfficeATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/officeDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/officeDataConnector.ts index 73df3f6d1fdc..cc588f58bc0d 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/officeDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/officeDataConnector.ts @@ -113,7 +113,7 @@ export class OfficeDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/officeIRMDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/officeIRMDataConnector.ts index 7e377a751473..cccd4b176bc4 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/officeIRMDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/officeIRMDataConnector.ts @@ -110,7 +110,7 @@ export class OfficeIRMDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeIRMDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/officePowerBIDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/officePowerBIDataConnector.ts index b1ff2e12fabf..62915dd554e9 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/officePowerBIDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/officePowerBIDataConnector.ts @@ -113,7 +113,7 @@ export class OfficePowerBIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficePowerBIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/scheduledAlertRule.ts b/sdk/nodejs/securityinsights/v20230601preview/scheduledAlertRule.ts index f9b7805593c7..88e8a7e57614 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/scheduledAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/scheduledAlertRule.ts @@ -257,7 +257,7 @@ export class ScheduledAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ScheduledAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScheduledAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20230601preview/sentinelOnboardingState.ts index 5362305c6655..3076b87ccea2 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/sentinelOnboardingState.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/sentinelOnboardingState.ts @@ -91,7 +91,7 @@ export class SentinelOnboardingState extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceAlertRule.ts b/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceAlertRule.ts index 42b6f45e2437..ff0ccd821060 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceAlertRule.ts @@ -149,7 +149,7 @@ export class ThreatIntelligenceAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceIndicator.ts index c9c2febec023..c62781124dd8 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/threatIntelligenceIndicator.ts @@ -121,7 +121,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/tiTaxiiDataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/tiTaxiiDataConnector.ts index 4b3e0e224159..2a5245df5b27 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/tiTaxiiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/tiTaxiiDataConnector.ts @@ -164,7 +164,7 @@ export class TiTaxiiDataConnector extends pulumi.CustomResource { resourceInputs["workspaceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TiTaxiiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/tidataConnector.ts b/sdk/nodejs/securityinsights/v20230601preview/tidataConnector.ts index 3f4042e0a30d..bdcee1024d60 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/tidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/tidataConnector.ts @@ -119,7 +119,7 @@ export class TIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/ueba.ts b/sdk/nodejs/securityinsights/v20230601preview/ueba.ts index cd93462a2cff..696ddbaccfa4 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/ueba.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/ueba.ts @@ -101,7 +101,7 @@ export class Ueba extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }, { type: "azure-native:securityinsights/v20230901preview:Ueba" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ueba.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/watchlist.ts b/sdk/nodejs/securityinsights/v20230601preview/watchlist.ts index ec5d8326454c..93530a4dae3f 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/watchlist.ts @@ -219,7 +219,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/watchlistItem.ts b/sdk/nodejs/securityinsights/v20230601preview/watchlistItem.ts index 1cc46f388076..07967322bbca 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/watchlistItem.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/watchlistItem.ts @@ -151,7 +151,7 @@ export class WatchlistItem extends pulumi.CustomResource { resourceInputs["watchlistItemType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230901preview:WatchlistItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WatchlistItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerAssignment.ts b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerAssignment.ts index 62e8f1fd9c3b..df7f5a771b12 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerAssignment.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerAssignment.ts @@ -115,7 +115,7 @@ export class WorkspaceManagerAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerConfiguration.ts b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerConfiguration.ts index 2b647d9c1941..7ea2a6f7b3e4 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerConfiguration.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerConfiguration.ts @@ -94,7 +94,7 @@ export class WorkspaceManagerConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerGroup.ts b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerGroup.ts index 1956fd80cfb6..953dab173e0a 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerGroup.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerGroup.ts @@ -109,7 +109,7 @@ export class WorkspaceManagerGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerMember.ts index 910fd6526660..020833153a84 100644 --- a/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/v20230601preview/workspaceManagerMember.ts @@ -52,7 +52,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - public readonly targetWorkspaceId!: pulumi.Output; + public readonly targetWorkspaceResourceId!: pulumi.Output; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ @@ -76,8 +76,8 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } - if ((!args || args.targetWorkspaceId === undefined) && !opts.urn) { - throw new Error("Missing required property 'targetWorkspaceId'"); + if ((!args || args.targetWorkspaceResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetWorkspaceResourceId'"); } if ((!args || args.targetWorkspaceTenantId === undefined) && !opts.urn) { throw new Error("Missing required property 'targetWorkspaceTenantId'"); @@ -86,7 +86,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { throw new Error("Missing required property 'workspaceName'"); } resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["targetWorkspaceId"] = args ? args.targetWorkspaceId : undefined; + resourceInputs["targetWorkspaceResourceId"] = args ? args.targetWorkspaceResourceId : undefined; resourceInputs["targetWorkspaceTenantId"] = args ? args.targetWorkspaceTenantId : undefined; resourceInputs["workspaceManagerMemberName"] = args ? args.workspaceManagerMemberName : undefined; resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; @@ -98,12 +98,12 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { resourceInputs["etag"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["targetWorkspaceId"] = undefined /*out*/; + resourceInputs["targetWorkspaceResourceId"] = undefined /*out*/; resourceInputs["targetWorkspaceTenantId"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerMember.__pulumiType, name, resourceInputs, opts); } @@ -120,7 +120,7 @@ export interface WorkspaceManagerMemberArgs { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - targetWorkspaceId: pulumi.Input; + targetWorkspaceResourceId: pulumi.Input; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/v20230701preview/aaddataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/aaddataConnector.ts index 575b8e2ba719..c51d82b3bd58 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/aaddataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/aaddataConnector.ts @@ -110,7 +110,7 @@ export class AADDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AADDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AADDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/aatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/aatpdataConnector.ts index 6148ce17fc8d..2e493100ce0a 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/aatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/aatpdataConnector.ts @@ -110,7 +110,7 @@ export class AATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/action.ts b/sdk/nodejs/securityinsights/v20230701preview/action.ts index a1bc8e7c7b87..b1220a40d709 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/action.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/action.ts @@ -108,7 +108,7 @@ export class Action extends pulumi.CustomResource { resourceInputs["workflowId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }, { type: "azure-native:securityinsights/v20230901preview:Action" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Action.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/activityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/v20230701preview/activityCustomEntityQuery.ts index 420c778b6808..df22f4e3b113 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/activityCustomEntityQuery.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/activityCustomEntityQuery.ts @@ -161,7 +161,7 @@ export class ActivityCustomEntityQuery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ActivityCustomEntityQuery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/anomalies.ts b/sdk/nodejs/securityinsights/v20230701preview/anomalies.ts index 2a05f261c2af..a575ee49bc28 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/anomalies.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/anomalies.ts @@ -101,7 +101,7 @@ export class Anomalies extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }, { type: "azure-native:securityinsights/v20230901preview:Anomalies" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Anomalies.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/anomalySecurityMLAnalyticsSettings.ts b/sdk/nodejs/securityinsights/v20230701preview/anomalySecurityMLAnalyticsSettings.ts index 3e1884c75344..a8d5560fd5d4 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/anomalySecurityMLAnalyticsSettings.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/anomalySecurityMLAnalyticsSettings.ts @@ -197,7 +197,7 @@ export class AnomalySecurityMLAnalyticsSettings extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AnomalySecurityMLAnalyticsSettings.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/ascdataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/ascdataConnector.ts index fbcb1c6cb1f7..fcb862d0eeba 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/ascdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/ascdataConnector.ts @@ -107,7 +107,7 @@ export class ASCDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:ASCDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ASCDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/automationRule.ts b/sdk/nodejs/securityinsights/v20230701preview/automationRule.ts index 4c9b5c185f52..232b79de9992 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/automationRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/automationRule.ts @@ -142,7 +142,7 @@ export class AutomationRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230901preview:AutomationRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AutomationRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/awsCloudTrailDataConnector.ts index 4a3d2b32d9fb..986a967af3f8 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/awsCloudTrailDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/awsCloudTrailDataConnector.ts @@ -110,7 +110,7 @@ export class AwsCloudTrailDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/awsS3DataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/awsS3DataConnector.ts index f320ad2a5617..928e0edc3eef 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/awsS3DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/awsS3DataConnector.ts @@ -131,7 +131,7 @@ export class AwsS3DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsS3DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsS3DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsS3DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/bookmark.ts b/sdk/nodejs/securityinsights/v20230701preview/bookmark.ts index 16ba53d53ab8..5b484ce874bb 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/bookmark.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/bookmark.ts @@ -187,7 +187,7 @@ export class Bookmark extends pulumi.CustomResource { resourceInputs["updatedBy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }, { type: "azure-native:securityinsights/v20230901preview:Bookmark" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Bookmark.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/bookmarkRelation.ts b/sdk/nodejs/securityinsights/v20230701preview/bookmarkRelation.ts index 8d09204d8371..541e1f69e9f2 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/bookmarkRelation.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/bookmarkRelation.ts @@ -116,7 +116,7 @@ export class BookmarkRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230901preview:BookmarkRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BookmarkRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/codelessApiPollingDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/codelessApiPollingDataConnector.ts index db891979f249..092c6244252d 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/codelessApiPollingDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/codelessApiPollingDataConnector.ts @@ -107,7 +107,7 @@ export class CodelessApiPollingDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessApiPollingDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/codelessUiDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/codelessUiDataConnector.ts index 9eaf99eb3deb..d1d2d68b9be1 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/codelessUiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/codelessUiDataConnector.ts @@ -101,7 +101,7 @@ export class CodelessUiDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessUiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/contentPackage.ts b/sdk/nodejs/securityinsights/v20230701preview/contentPackage.ts index 9c75f6ec315c..578dd745cb4d 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/contentPackage.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/contentPackage.ts @@ -232,7 +232,7 @@ export class ContentPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230901preview:ContentPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/contentTemplate.ts b/sdk/nodejs/securityinsights/v20230701preview/contentTemplate.ts index f59633e96005..eeb6b0ce2422 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/contentTemplate.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/contentTemplate.ts @@ -259,7 +259,7 @@ export class ContentTemplate extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230901preview:ContentTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/customizableConnectorDefinition.ts b/sdk/nodejs/securityinsights/v20230701preview/customizableConnectorDefinition.ts index c174916cbd95..84e4f1891d40 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/customizableConnectorDefinition.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/customizableConnectorDefinition.ts @@ -122,7 +122,7 @@ export class CustomizableConnectorDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CustomizableConnectorDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/dynamics365DataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/dynamics365DataConnector.ts index 5363919cc9d4..eda3bc4312e8 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/dynamics365DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/dynamics365DataConnector.ts @@ -113,7 +113,7 @@ export class Dynamics365DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Dynamics365DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/entityAnalytics.ts b/sdk/nodejs/securityinsights/v20230701preview/entityAnalytics.ts index 280779eb4246..d656742bfc50 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/entityAnalytics.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/entityAnalytics.ts @@ -101,7 +101,7 @@ export class EntityAnalytics extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230901preview:EntityAnalytics" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/eyesOn.ts b/sdk/nodejs/securityinsights/v20230701preview/eyesOn.ts index 6c9e8bc69ac0..28595b29486d 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/eyesOn.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/eyesOn.ts @@ -101,7 +101,7 @@ export class EyesOn extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }, { type: "azure-native:securityinsights/v20230901preview:EyesOn" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EyesOn.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/fileImport.ts b/sdk/nodejs/securityinsights/v20230701preview/fileImport.ts index f48fc0730d44..fdcdd3f6ea9c 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/fileImport.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/fileImport.ts @@ -169,7 +169,7 @@ export class FileImport extends pulumi.CustomResource { resourceInputs["validRecordCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }, { type: "azure-native:securityinsights/v20230901preview:FileImport" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FileImport.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/fusionAlertRule.ts b/sdk/nodejs/securityinsights/v20230701preview/fusionAlertRule.ts index ae5c8e0255a9..0a85fbcbbad5 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/fusionAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/fusionAlertRule.ts @@ -161,7 +161,7 @@ export class FusionAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:FusionAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/gcpdataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/gcpdataConnector.ts index 30b73c4c38d0..05da0238d0d5 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/gcpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/gcpdataConnector.ts @@ -128,7 +128,7 @@ export class GCPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:GCPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:GCPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GCPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/getWorkspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230701preview/getWorkspaceManagerMember.ts index f5f4071859f9..802bc2658e7e 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/getWorkspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/getWorkspaceManagerMember.ts @@ -58,7 +58,7 @@ export interface GetWorkspaceManagerMemberResult { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - readonly targetWorkspaceId: string; + readonly targetWorkspaceResourceId: string; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/v20230701preview/hunt.ts b/sdk/nodejs/securityinsights/v20230701preview/hunt.ts index b34ba3786880..87c28609d20a 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/hunt.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/hunt.ts @@ -139,7 +139,7 @@ export class Hunt extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }, { type: "azure-native:securityinsights/v20230901preview:Hunt" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Hunt.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/huntComment.ts b/sdk/nodejs/securityinsights/v20230701preview/huntComment.ts index f6855d23ddd5..8c5a27a31d0a 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/huntComment.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/huntComment.ts @@ -98,7 +98,7 @@ export class HuntComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }, { type: "azure-native:securityinsights/v20230901preview:HuntComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/huntRelation.ts b/sdk/nodejs/securityinsights/v20230701preview/huntRelation.ts index 3d361d1a9202..ed6a4c8e103c 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/huntRelation.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/huntRelation.ts @@ -122,7 +122,7 @@ export class HuntRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230901preview:HuntRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/incident.ts b/sdk/nodejs/securityinsights/v20230701preview/incident.ts index 0cc415722489..1f1e3e1b881f 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/incident.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/incident.ts @@ -211,7 +211,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/incidentComment.ts b/sdk/nodejs/securityinsights/v20230701preview/incidentComment.ts index 116adb795376..0d7c28c25880 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/incidentComment.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/incidentComment.ts @@ -116,7 +116,7 @@ export class IncidentComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230901preview:IncidentComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/incidentRelation.ts b/sdk/nodejs/securityinsights/v20230701preview/incidentRelation.ts index c7261b42f7b7..b1a3881856be 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/incidentRelation.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/incidentRelation.ts @@ -116,7 +116,7 @@ export class IncidentRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230901preview:IncidentRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/incidentTask.ts b/sdk/nodejs/securityinsights/v20230701preview/incidentTask.ts index 3eb099353ad2..c918de78f7c7 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/incidentTask.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/incidentTask.ts @@ -131,7 +131,7 @@ export class IncidentTask extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230901preview:IncidentTask" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentTask.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/ioTDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/ioTDataConnector.ts index ec5da6db688f..b6df1cb8ccff 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/ioTDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/ioTDataConnector.ts @@ -107,7 +107,7 @@ export class IoTDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:IoTDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:IoTDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IoTDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/mcasdataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/mcasdataConnector.ts index a6d15b28d97d..d5de42427a7f 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/mcasdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/mcasdataConnector.ts @@ -113,7 +113,7 @@ export class MCASDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MCASDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/mdatpdataConnector.ts index 79b413b08b4c..739687b87f6a 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/mdatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/mdatpdataConnector.ts @@ -110,7 +110,7 @@ export class MDATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MDATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/metadata.ts b/sdk/nodejs/securityinsights/v20230701preview/metadata.ts index d8c36160c9dc..b6e712991fc8 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/metadata.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/metadata.ts @@ -205,7 +205,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/microsoftPurviewInformationProtectionDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/microsoftPurviewInformationProtectionDataConnector.ts index 72cd1e32bb1f..7e296562f8d4 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/microsoftPurviewInformationProtectionDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/microsoftPurviewInformationProtectionDataConnector.ts @@ -113,7 +113,7 @@ export class MicrosoftPurviewInformationProtectionDataConnector extends pulumi.C resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftPurviewInformationProtectionDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/microsoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/v20230701preview/microsoftSecurityIncidentCreationAlertRule.ts index fc55fc918f8f..75c3b2806427 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/microsoftSecurityIncidentCreationAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/microsoftSecurityIncidentCreationAlertRule.ts @@ -158,7 +158,7 @@ export class MicrosoftSecurityIncidentCreationAlertRule extends pulumi.CustomRes resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftSecurityIncidentCreationAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/mlbehaviorAnalyticsAlertRule.ts b/sdk/nodejs/securityinsights/v20230701preview/mlbehaviorAnalyticsAlertRule.ts index 3201978232cf..5ce5077bd740 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/mlbehaviorAnalyticsAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/mlbehaviorAnalyticsAlertRule.ts @@ -149,7 +149,7 @@ export class MLBehaviorAnalyticsAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MLBehaviorAnalyticsAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/mstidataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/mstidataConnector.ts index 344e64a6810b..5ef5e2865f29 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/mstidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/mstidataConnector.ts @@ -113,7 +113,7 @@ export class MSTIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MSTIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSTIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/mtpdataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/mtpdataConnector.ts index 5d7fcb9f9182..5b3079fde153 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/mtpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/mtpdataConnector.ts @@ -119,7 +119,7 @@ export class MTPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MTPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MTPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/nrtAlertRule.ts b/sdk/nodejs/securityinsights/v20230701preview/nrtAlertRule.ts index 2704ae42edc7..b36bd00e3342 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/nrtAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/nrtAlertRule.ts @@ -221,7 +221,7 @@ export class NrtAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:NrtAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NrtAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/office365ProjectDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/office365ProjectDataConnector.ts index b22c28d9d5a7..5799c478616d 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/office365ProjectDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/office365ProjectDataConnector.ts @@ -113,7 +113,7 @@ export class Office365ProjectDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Office365ProjectDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/officeATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/officeATPDataConnector.ts index dbba1c75e009..2a422bebac89 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/officeATPDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/officeATPDataConnector.ts @@ -110,7 +110,7 @@ export class OfficeATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/officeDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/officeDataConnector.ts index 2b2be572d54e..8a74c8778430 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/officeDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/officeDataConnector.ts @@ -113,7 +113,7 @@ export class OfficeDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/officeIRMDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/officeIRMDataConnector.ts index 2b0990787f15..9be712430ee3 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/officeIRMDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/officeIRMDataConnector.ts @@ -110,7 +110,7 @@ export class OfficeIRMDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeIRMDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/officePowerBIDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/officePowerBIDataConnector.ts index d4630f520e7f..4db23eedba55 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/officePowerBIDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/officePowerBIDataConnector.ts @@ -113,7 +113,7 @@ export class OfficePowerBIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficePowerBIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/scheduledAlertRule.ts b/sdk/nodejs/securityinsights/v20230701preview/scheduledAlertRule.ts index e9b55595c1aa..9b88477bfe39 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/scheduledAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/scheduledAlertRule.ts @@ -257,7 +257,7 @@ export class ScheduledAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ScheduledAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScheduledAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20230701preview/sentinelOnboardingState.ts index 78856bd2c0c3..8bdb3f60a45e 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/sentinelOnboardingState.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/sentinelOnboardingState.ts @@ -91,7 +91,7 @@ export class SentinelOnboardingState extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceAlertRule.ts b/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceAlertRule.ts index a5a52238519d..d706a8a297f1 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceAlertRule.ts @@ -149,7 +149,7 @@ export class ThreatIntelligenceAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceIndicator.ts index c7a5a430108b..9eb9a288c9f7 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/threatIntelligenceIndicator.ts @@ -121,7 +121,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/tiTaxiiDataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/tiTaxiiDataConnector.ts index ee84c46fa816..61d5b9c2e57b 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/tiTaxiiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/tiTaxiiDataConnector.ts @@ -164,7 +164,7 @@ export class TiTaxiiDataConnector extends pulumi.CustomResource { resourceInputs["workspaceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TiTaxiiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/tidataConnector.ts b/sdk/nodejs/securityinsights/v20230701preview/tidataConnector.ts index 33e6d3587713..e935d3926265 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/tidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/tidataConnector.ts @@ -119,7 +119,7 @@ export class TIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/ueba.ts b/sdk/nodejs/securityinsights/v20230701preview/ueba.ts index cef4677a5374..8b581749115b 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/ueba.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/ueba.ts @@ -101,7 +101,7 @@ export class Ueba extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }, { type: "azure-native:securityinsights/v20230901preview:Ueba" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ueba.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/watchlist.ts b/sdk/nodejs/securityinsights/v20230701preview/watchlist.ts index 7ba87232e94d..4f5cbca8512e 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/watchlist.ts @@ -219,7 +219,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/watchlistItem.ts b/sdk/nodejs/securityinsights/v20230701preview/watchlistItem.ts index 009b22acdf3d..51d45cafebdb 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/watchlistItem.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/watchlistItem.ts @@ -151,7 +151,7 @@ export class WatchlistItem extends pulumi.CustomResource { resourceInputs["watchlistItemType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230901preview:WatchlistItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WatchlistItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerAssignment.ts b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerAssignment.ts index 0cf4a8c29b18..22872dbe96e7 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerAssignment.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerAssignment.ts @@ -115,7 +115,7 @@ export class WorkspaceManagerAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerConfiguration.ts b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerConfiguration.ts index fe5d7d7c50ba..df567dfdfa95 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerConfiguration.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerConfiguration.ts @@ -94,7 +94,7 @@ export class WorkspaceManagerConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerGroup.ts b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerGroup.ts index bb811e6e35c6..b4a9cf6366eb 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerGroup.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerGroup.ts @@ -109,7 +109,7 @@ export class WorkspaceManagerGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerMember.ts index 7999ace42c1b..96f24af0b657 100644 --- a/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/v20230701preview/workspaceManagerMember.ts @@ -52,7 +52,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - public readonly targetWorkspaceId!: pulumi.Output; + public readonly targetWorkspaceResourceId!: pulumi.Output; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ @@ -76,8 +76,8 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } - if ((!args || args.targetWorkspaceId === undefined) && !opts.urn) { - throw new Error("Missing required property 'targetWorkspaceId'"); + if ((!args || args.targetWorkspaceResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetWorkspaceResourceId'"); } if ((!args || args.targetWorkspaceTenantId === undefined) && !opts.urn) { throw new Error("Missing required property 'targetWorkspaceTenantId'"); @@ -86,7 +86,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { throw new Error("Missing required property 'workspaceName'"); } resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["targetWorkspaceId"] = args ? args.targetWorkspaceId : undefined; + resourceInputs["targetWorkspaceResourceId"] = args ? args.targetWorkspaceResourceId : undefined; resourceInputs["targetWorkspaceTenantId"] = args ? args.targetWorkspaceTenantId : undefined; resourceInputs["workspaceManagerMemberName"] = args ? args.workspaceManagerMemberName : undefined; resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; @@ -98,12 +98,12 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { resourceInputs["etag"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["targetWorkspaceId"] = undefined /*out*/; + resourceInputs["targetWorkspaceResourceId"] = undefined /*out*/; resourceInputs["targetWorkspaceTenantId"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerMember.__pulumiType, name, resourceInputs, opts); } @@ -120,7 +120,7 @@ export interface WorkspaceManagerMemberArgs { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - targetWorkspaceId: pulumi.Input; + targetWorkspaceResourceId: pulumi.Input; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/v20230801preview/aaddataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/aaddataConnector.ts index 77bbaf605221..5aa4063d6ad0 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/aaddataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/aaddataConnector.ts @@ -110,7 +110,7 @@ export class AADDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AADDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AADDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/aatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/aatpdataConnector.ts index adefc32bae4e..edbad9ce6a63 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/aatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/aatpdataConnector.ts @@ -110,7 +110,7 @@ export class AATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/action.ts b/sdk/nodejs/securityinsights/v20230801preview/action.ts index 7147f15c34ad..983e7c49c86a 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/action.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/action.ts @@ -108,7 +108,7 @@ export class Action extends pulumi.CustomResource { resourceInputs["workflowId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230901preview:Action" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Action.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/activityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/v20230801preview/activityCustomEntityQuery.ts index 2660c981465d..53916add0352 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/activityCustomEntityQuery.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/activityCustomEntityQuery.ts @@ -161,7 +161,7 @@ export class ActivityCustomEntityQuery extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ActivityCustomEntityQuery.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/anomalies.ts b/sdk/nodejs/securityinsights/v20230801preview/anomalies.ts index 7d96a41a34b3..879102128a24 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/anomalies.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/anomalies.ts @@ -101,7 +101,7 @@ export class Anomalies extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230901preview:Anomalies" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Anomalies.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/anomalySecurityMLAnalyticsSettings.ts b/sdk/nodejs/securityinsights/v20230801preview/anomalySecurityMLAnalyticsSettings.ts index c86239f54749..15c3eaf1f8fa 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/anomalySecurityMLAnalyticsSettings.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/anomalySecurityMLAnalyticsSettings.ts @@ -197,7 +197,7 @@ export class AnomalySecurityMLAnalyticsSettings extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AnomalySecurityMLAnalyticsSettings.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/ascdataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/ascdataConnector.ts index 5b9b6bfaf57c..824725d44f16 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/ascdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/ascdataConnector.ts @@ -107,7 +107,7 @@ export class ASCDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:ASCDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ASCDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/automationRule.ts b/sdk/nodejs/securityinsights/v20230801preview/automationRule.ts index 938b45e76ad2..264f5b2e50e7 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/automationRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/automationRule.ts @@ -142,7 +142,7 @@ export class AutomationRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230901preview:AutomationRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AutomationRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/awsCloudTrailDataConnector.ts index 2d354635ea14..5d2e2d271ee9 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/awsCloudTrailDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/awsCloudTrailDataConnector.ts @@ -110,7 +110,7 @@ export class AwsCloudTrailDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/awsS3DataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/awsS3DataConnector.ts index 46c244e285d4..317ea07f9d8e 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/awsS3DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/awsS3DataConnector.ts @@ -131,7 +131,7 @@ export class AwsS3DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsS3DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:AwsS3DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(AwsS3DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/bookmark.ts b/sdk/nodejs/securityinsights/v20230801preview/bookmark.ts index 3dadebc0bb18..d9c88d16912f 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/bookmark.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/bookmark.ts @@ -187,7 +187,7 @@ export class Bookmark extends pulumi.CustomResource { resourceInputs["updatedBy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230901preview:Bookmark" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Bookmark.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/bookmarkRelation.ts b/sdk/nodejs/securityinsights/v20230801preview/bookmarkRelation.ts index 08ff0c387a8e..4ea214c7a839 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/bookmarkRelation.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/bookmarkRelation.ts @@ -116,7 +116,7 @@ export class BookmarkRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230901preview:BookmarkRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(BookmarkRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/codelessApiPollingDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/codelessApiPollingDataConnector.ts index 035e5526463b..0c0d967babf5 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/codelessApiPollingDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/codelessApiPollingDataConnector.ts @@ -107,7 +107,7 @@ export class CodelessApiPollingDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessApiPollingDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/codelessUiDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/codelessUiDataConnector.ts index 1c0dc17ddd5b..8446817c0968 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/codelessUiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/codelessUiDataConnector.ts @@ -101,7 +101,7 @@ export class CodelessUiDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CodelessUiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/contentPackage.ts b/sdk/nodejs/securityinsights/v20230801preview/contentPackage.ts index 051dbf318451..59c8d9438b13 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/contentPackage.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/contentPackage.ts @@ -232,7 +232,7 @@ export class ContentPackage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230901preview:ContentPackage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentPackage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/contentTemplate.ts b/sdk/nodejs/securityinsights/v20230801preview/contentTemplate.ts index d4e7a3e5a102..b1237ad8a26a 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/contentTemplate.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/contentTemplate.ts @@ -259,7 +259,7 @@ export class ContentTemplate extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230901preview:ContentTemplate" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ContentTemplate.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/customizableConnectorDefinition.ts b/sdk/nodejs/securityinsights/v20230801preview/customizableConnectorDefinition.ts index 218fbf5e1280..9ecfce1a0b82 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/customizableConnectorDefinition.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/customizableConnectorDefinition.ts @@ -122,7 +122,7 @@ export class CustomizableConnectorDefinition extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(CustomizableConnectorDefinition.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/dynamics365DataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/dynamics365DataConnector.ts index 4993bb5f3d63..287051311bef 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/dynamics365DataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/dynamics365DataConnector.ts @@ -113,7 +113,7 @@ export class Dynamics365DataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Dynamics365DataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/entityAnalytics.ts b/sdk/nodejs/securityinsights/v20230801preview/entityAnalytics.ts index 30e56bc4acd3..ce30ee1ac1c3 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/entityAnalytics.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/entityAnalytics.ts @@ -101,7 +101,7 @@ export class EntityAnalytics extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230901preview:EntityAnalytics" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/eyesOn.ts b/sdk/nodejs/securityinsights/v20230801preview/eyesOn.ts index 86a38e01cc4a..d404a1827637 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/eyesOn.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/eyesOn.ts @@ -101,7 +101,7 @@ export class EyesOn extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230901preview:EyesOn" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(EyesOn.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/fileImport.ts b/sdk/nodejs/securityinsights/v20230801preview/fileImport.ts index d47b070154e1..7447197e19e1 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/fileImport.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/fileImport.ts @@ -169,7 +169,7 @@ export class FileImport extends pulumi.CustomResource { resourceInputs["validRecordCount"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }, { type: "azure-native:securityinsights/v20230901preview:FileImport" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FileImport.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/fusionAlertRule.ts b/sdk/nodejs/securityinsights/v20230801preview/fusionAlertRule.ts index 045fa499b9b3..8ce1ab335dec 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/fusionAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/fusionAlertRule.ts @@ -161,7 +161,7 @@ export class FusionAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:FusionAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/gcpdataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/gcpdataConnector.ts index 04b777f69d73..c071d1586365 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/gcpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/gcpdataConnector.ts @@ -128,7 +128,7 @@ export class GCPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:GCPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:GCPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GCPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/getWorkspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230801preview/getWorkspaceManagerMember.ts index 9c04d1a654a3..28741b6b1047 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/getWorkspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/getWorkspaceManagerMember.ts @@ -58,7 +58,7 @@ export interface GetWorkspaceManagerMemberResult { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - readonly targetWorkspaceId: string; + readonly targetWorkspaceResourceId: string; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/v20230801preview/hunt.ts b/sdk/nodejs/securityinsights/v20230801preview/hunt.ts index d05f0556a66c..00370643c1aa 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/hunt.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/hunt.ts @@ -139,7 +139,7 @@ export class Hunt extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }, { type: "azure-native:securityinsights/v20230901preview:Hunt" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Hunt.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/huntComment.ts b/sdk/nodejs/securityinsights/v20230801preview/huntComment.ts index c792ed0d2346..6da9276b9823 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/huntComment.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/huntComment.ts @@ -98,7 +98,7 @@ export class HuntComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }, { type: "azure-native:securityinsights/v20230901preview:HuntComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/huntRelation.ts b/sdk/nodejs/securityinsights/v20230801preview/huntRelation.ts index 7126cfcab5ef..70fdb4554a2e 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/huntRelation.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/huntRelation.ts @@ -122,7 +122,7 @@ export class HuntRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230901preview:HuntRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(HuntRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/incident.ts b/sdk/nodejs/securityinsights/v20230801preview/incident.ts index af5b163b2b0b..6d5588e8c53a 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/incident.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/incident.ts @@ -211,7 +211,7 @@ export class Incident extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230901preview:Incident" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Incident.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/incidentComment.ts b/sdk/nodejs/securityinsights/v20230801preview/incidentComment.ts index f6d98fa046ae..29f8c76f5542 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/incidentComment.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/incidentComment.ts @@ -116,7 +116,7 @@ export class IncidentComment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230901preview:IncidentComment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentComment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/incidentRelation.ts b/sdk/nodejs/securityinsights/v20230801preview/incidentRelation.ts index e2b225dba4b7..f3ba0950cd08 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/incidentRelation.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/incidentRelation.ts @@ -116,7 +116,7 @@ export class IncidentRelation extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230901preview:IncidentRelation" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentRelation.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/incidentTask.ts b/sdk/nodejs/securityinsights/v20230801preview/incidentTask.ts index 4144ccd9a482..73d27dab4d65 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/incidentTask.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/incidentTask.ts @@ -131,7 +131,7 @@ export class IncidentTask extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230901preview:IncidentTask" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IncidentTask.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/ioTDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/ioTDataConnector.ts index d3ac9d6b8313..8c8f2bbb99d2 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/ioTDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/ioTDataConnector.ts @@ -107,7 +107,7 @@ export class IoTDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:IoTDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:IoTDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(IoTDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/mcasdataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/mcasdataConnector.ts index b55779de4c8e..d5875498b6f6 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/mcasdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/mcasdataConnector.ts @@ -113,7 +113,7 @@ export class MCASDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MCASDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/mdatpdataConnector.ts index 2e1bc2feda7b..678a4ae2066d 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/mdatpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/mdatpdataConnector.ts @@ -110,7 +110,7 @@ export class MDATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MDATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/metadata.ts b/sdk/nodejs/securityinsights/v20230801preview/metadata.ts index bd313e304b48..db25da95ff3b 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/metadata.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/metadata.ts @@ -205,7 +205,7 @@ export class Metadata extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230901preview:Metadata" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Metadata.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/microsoftPurviewInformationProtectionDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/microsoftPurviewInformationProtectionDataConnector.ts index cb4f8233b279..5f2767dc3252 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/microsoftPurviewInformationProtectionDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/microsoftPurviewInformationProtectionDataConnector.ts @@ -113,7 +113,7 @@ export class MicrosoftPurviewInformationProtectionDataConnector extends pulumi.C resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftPurviewInformationProtectionDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/microsoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/v20230801preview/microsoftSecurityIncidentCreationAlertRule.ts index cae9d4f5faed..1aee74a56e6c 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/microsoftSecurityIncidentCreationAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/microsoftSecurityIncidentCreationAlertRule.ts @@ -158,7 +158,7 @@ export class MicrosoftSecurityIncidentCreationAlertRule extends pulumi.CustomRes resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MicrosoftSecurityIncidentCreationAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/mlbehaviorAnalyticsAlertRule.ts b/sdk/nodejs/securityinsights/v20230801preview/mlbehaviorAnalyticsAlertRule.ts index e4e14df2d1ec..01be1524e747 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/mlbehaviorAnalyticsAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/mlbehaviorAnalyticsAlertRule.ts @@ -149,7 +149,7 @@ export class MLBehaviorAnalyticsAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MLBehaviorAnalyticsAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/mstidataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/mstidataConnector.ts index a2d8c2b46e52..9a198decffc2 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/mstidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/mstidataConnector.ts @@ -113,7 +113,7 @@ export class MSTIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MSTIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MSTIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/mtpdataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/mtpdataConnector.ts index 54dd8988d44e..488787039de8 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/mtpdataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/mtpdataConnector.ts @@ -119,7 +119,7 @@ export class MTPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:MTPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MTPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/nrtAlertRule.ts b/sdk/nodejs/securityinsights/v20230801preview/nrtAlertRule.ts index d8e3a41fffd8..20f110e3fb8b 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/nrtAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/nrtAlertRule.ts @@ -221,7 +221,7 @@ export class NrtAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:NrtAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NrtAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/office365ProjectDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/office365ProjectDataConnector.ts index 6a20fcc5f5a1..6f4aefadb1f9 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/office365ProjectDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/office365ProjectDataConnector.ts @@ -113,7 +113,7 @@ export class Office365ProjectDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Office365ProjectDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/officeATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/officeATPDataConnector.ts index b3be77ef900a..fd018b21f8b9 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/officeATPDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/officeATPDataConnector.ts @@ -110,7 +110,7 @@ export class OfficeATPDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeATPDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/officeDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/officeDataConnector.ts index db2a378a2b6d..960b21a667e4 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/officeDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/officeDataConnector.ts @@ -113,7 +113,7 @@ export class OfficeDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/officeIRMDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/officeIRMDataConnector.ts index 1b7b45f7164c..dd6dae59b617 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/officeIRMDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/officeIRMDataConnector.ts @@ -110,7 +110,7 @@ export class OfficeIRMDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficeIRMDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/officePowerBIDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/officePowerBIDataConnector.ts index 6a5754a8a591..8573c810f4fc 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/officePowerBIDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/officePowerBIDataConnector.ts @@ -113,7 +113,7 @@ export class OfficePowerBIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(OfficePowerBIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/scheduledAlertRule.ts b/sdk/nodejs/securityinsights/v20230801preview/scheduledAlertRule.ts index 16333d10d242..53e09301075b 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/scheduledAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/scheduledAlertRule.ts @@ -257,7 +257,7 @@ export class ScheduledAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ScheduledAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ScheduledAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20230801preview/sentinelOnboardingState.ts index 0de599999660..96aee2ca85e8 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/sentinelOnboardingState.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/sentinelOnboardingState.ts @@ -91,7 +91,7 @@ export class SentinelOnboardingState extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230901preview:SentinelOnboardingState" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceAlertRule.ts b/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceAlertRule.ts index 32ca49317d45..c728e525ce0f 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceAlertRule.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceAlertRule.ts @@ -149,7 +149,7 @@ export class ThreatIntelligenceAlertRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceAlertRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceIndicator.ts index f5f6cab491a7..48eb49a616c5 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceIndicator.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/threatIntelligenceIndicator.ts @@ -121,7 +121,7 @@ export class ThreatIntelligenceIndicator extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/tiTaxiiDataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/tiTaxiiDataConnector.ts index 850fb96e3baf..be37ef7d1f38 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/tiTaxiiDataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/tiTaxiiDataConnector.ts @@ -164,7 +164,7 @@ export class TiTaxiiDataConnector extends pulumi.CustomResource { resourceInputs["workspaceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TiTaxiiDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/tidataConnector.ts b/sdk/nodejs/securityinsights/v20230801preview/tidataConnector.ts index 5af5349a3f55..68aea985fa11 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/tidataConnector.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/tidataConnector.ts @@ -119,7 +119,7 @@ export class TIDataConnector extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230901preview:TIDataConnector" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(TIDataConnector.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/ueba.ts b/sdk/nodejs/securityinsights/v20230801preview/ueba.ts index d5c5f805deeb..6e988bbf053b 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/ueba.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/ueba.ts @@ -101,7 +101,7 @@ export class Ueba extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230901preview:Ueba" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Ueba.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/watchlist.ts b/sdk/nodejs/securityinsights/v20230801preview/watchlist.ts index 7ffad106e6f9..38a2fca936e7 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/watchlist.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/watchlist.ts @@ -219,7 +219,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/watchlistItem.ts b/sdk/nodejs/securityinsights/v20230801preview/watchlistItem.ts index 6f7a85c7bc21..5f9f20eec220 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/watchlistItem.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/watchlistItem.ts @@ -151,7 +151,7 @@ export class WatchlistItem extends pulumi.CustomResource { resourceInputs["watchlistItemType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230901preview:WatchlistItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WatchlistItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerAssignment.ts b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerAssignment.ts index 1b8c2e5c32bf..30c701a956ec 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerAssignment.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerAssignment.ts @@ -115,7 +115,7 @@ export class WorkspaceManagerAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerConfiguration.ts b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerConfiguration.ts index 3bf91bc4af15..8cb9bf50d095 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerConfiguration.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerConfiguration.ts @@ -94,7 +94,7 @@ export class WorkspaceManagerConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerGroup.ts b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerGroup.ts index ecce95a770c4..4f0b8a04c72d 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerGroup.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerGroup.ts @@ -109,7 +109,7 @@ export class WorkspaceManagerGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerMember.ts index c1db4c6b63e5..dad6d012de1d 100644 --- a/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/v20230801preview/workspaceManagerMember.ts @@ -52,7 +52,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - public readonly targetWorkspaceId!: pulumi.Output; + public readonly targetWorkspaceResourceId!: pulumi.Output; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ @@ -76,8 +76,8 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } - if ((!args || args.targetWorkspaceId === undefined) && !opts.urn) { - throw new Error("Missing required property 'targetWorkspaceId'"); + if ((!args || args.targetWorkspaceResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetWorkspaceResourceId'"); } if ((!args || args.targetWorkspaceTenantId === undefined) && !opts.urn) { throw new Error("Missing required property 'targetWorkspaceTenantId'"); @@ -86,7 +86,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { throw new Error("Missing required property 'workspaceName'"); } resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["targetWorkspaceId"] = args ? args.targetWorkspaceId : undefined; + resourceInputs["targetWorkspaceResourceId"] = args ? args.targetWorkspaceResourceId : undefined; resourceInputs["targetWorkspaceTenantId"] = args ? args.targetWorkspaceTenantId : undefined; resourceInputs["workspaceManagerMemberName"] = args ? args.workspaceManagerMemberName : undefined; resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; @@ -98,12 +98,12 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { resourceInputs["etag"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["targetWorkspaceId"] = undefined /*out*/; + resourceInputs["targetWorkspaceResourceId"] = undefined /*out*/; resourceInputs["targetWorkspaceTenantId"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerMember.__pulumiType, name, resourceInputs, opts); } @@ -120,7 +120,7 @@ export interface WorkspaceManagerMemberArgs { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - targetWorkspaceId: pulumi.Input; + targetWorkspaceResourceId: pulumi.Input; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/securityinsights/v20230901preview/aaddataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/aaddataConnector.ts new file mode 100644 index 000000000000..6877090f301b --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/aaddataConnector.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents AADIP (Azure Active Directory Identity Protection) data connector. + */ +export class AADDataConnector extends pulumi.CustomResource { + /** + * Get an existing AADDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AADDataConnector { + return new AADDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:AADDataConnector'; + + /** + * Returns true if the given object is an instance of AADDataConnector. 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 AADDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AADDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'AzureActiveDirectory'. + */ + public readonly kind!: pulumi.Output<"AzureActiveDirectory">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AADDataConnector 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: AADDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "AzureActiveDirectory"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AADDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20200101:AADDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001:AADDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801:AADDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101:AADDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201:AADDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AADDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AADDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AADDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AADDataConnector resource. + */ +export interface AADDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'AzureActiveDirectory'. + */ + kind: pulumi.Input<"AzureActiveDirectory">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/aatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/aatpdataConnector.ts new file mode 100644 index 000000000000..857f2e3170f8 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/aatpdataConnector.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents AATP (Azure Advanced Threat Protection) data connector. + */ +export class AATPDataConnector extends pulumi.CustomResource { + /** + * Get an existing AATPDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AATPDataConnector { + return new AATPDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:AATPDataConnector'; + + /** + * Returns true if the given object is an instance of AATPDataConnector. 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 AATPDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AATPDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'AzureAdvancedThreatProtection'. + */ + public readonly kind!: pulumi.Output<"AzureAdvancedThreatProtection">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AATPDataConnector 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: AATPDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "AzureAdvancedThreatProtection"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:AATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AATPDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AATPDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AATPDataConnector resource. + */ +export interface AATPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'AzureAdvancedThreatProtection'. + */ + kind: pulumi.Input<"AzureAdvancedThreatProtection">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/action.ts b/sdk/nodejs/securityinsights/v20230901preview/action.ts new file mode 100644 index 000000000000..9b111c92cc40 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/action.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Action for alert rule. + */ +export class Action extends pulumi.CustomResource { + /** + * Get an existing Action 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Action { + return new Action(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Action'; + + /** + * Returns true if the given object is an instance of Action. 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 Action { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Action.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + */ + public readonly logicAppResourceId!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The name of the logic app's workflow. + */ + public /*out*/ readonly workflowId!: pulumi.Output; + + /** + * Create a Action 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: ActionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.logicAppResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'logicAppResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.ruleId === undefined) && !opts.urn) { + throw new Error("Missing required property 'ruleId'"); + } + if ((!args || args.triggerUri === undefined) && !opts.urn) { + throw new Error("Missing required property 'triggerUri'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["actionId"] = args ? args.actionId : undefined; + resourceInputs["logicAppResourceId"] = args ? args.logicAppResourceId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["triggerUri"] = args ? args.triggerUri : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["workflowId"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["logicAppResourceId"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["workflowId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Action" }, { type: "azure-native:securityinsights/v20190101preview:Action" }, { type: "azure-native:securityinsights/v20200101:Action" }, { type: "azure-native:securityinsights/v20210301preview:Action" }, { type: "azure-native:securityinsights/v20210901preview:Action" }, { type: "azure-native:securityinsights/v20211001:Action" }, { type: "azure-native:securityinsights/v20211001preview:Action" }, { type: "azure-native:securityinsights/v20220101preview:Action" }, { type: "azure-native:securityinsights/v20220401preview:Action" }, { type: "azure-native:securityinsights/v20220501preview:Action" }, { type: "azure-native:securityinsights/v20220601preview:Action" }, { type: "azure-native:securityinsights/v20220701preview:Action" }, { type: "azure-native:securityinsights/v20220801:Action" }, { type: "azure-native:securityinsights/v20220801preview:Action" }, { type: "azure-native:securityinsights/v20220901preview:Action" }, { type: "azure-native:securityinsights/v20221001preview:Action" }, { type: "azure-native:securityinsights/v20221101:Action" }, { type: "azure-native:securityinsights/v20221101preview:Action" }, { type: "azure-native:securityinsights/v20221201preview:Action" }, { type: "azure-native:securityinsights/v20230201:Action" }, { type: "azure-native:securityinsights/v20230201preview:Action" }, { type: "azure-native:securityinsights/v20230301preview:Action" }, { type: "azure-native:securityinsights/v20230401preview:Action" }, { type: "azure-native:securityinsights/v20230501preview:Action" }, { type: "azure-native:securityinsights/v20230601preview:Action" }, { type: "azure-native:securityinsights/v20230701preview:Action" }, { type: "azure-native:securityinsights/v20230801preview:Action" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Action.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Action resource. + */ +export interface ActionArgs { + /** + * Action ID + */ + actionId?: pulumi.Input; + /** + * Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + */ + logicAppResourceId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * Logic App Callback URL for this specific workflow. + */ + triggerUri: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/activityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/v20230901preview/activityCustomEntityQuery.ts new file mode 100644 index 000000000000..6d4061290f80 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/activityCustomEntityQuery.ts @@ -0,0 +1,227 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Activity entity query. + */ +export class ActivityCustomEntityQuery extends pulumi.CustomResource { + /** + * Get an existing ActivityCustomEntityQuery 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ActivityCustomEntityQuery { + return new ActivityCustomEntityQuery(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery'; + + /** + * Returns true if the given object is an instance of ActivityCustomEntityQuery. 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 ActivityCustomEntityQuery { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ActivityCustomEntityQuery.__pulumiType; + } + + /** + * The entity query content to display in timeline + */ + public readonly content!: pulumi.Output; + /** + * The time the activity was created + */ + public /*out*/ readonly createdTimeUtc!: pulumi.Output; + /** + * The entity query description + */ + public readonly description!: pulumi.Output; + /** + * Determines whether this activity is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * The query applied only to entities matching to all filters + */ + public readonly entitiesFilter!: pulumi.Output<{[key: string]: string[]} | undefined>; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The type of the query's source entity + */ + public readonly inputEntityType!: pulumi.Output; + /** + * The kind of the entity query + * Expected value is 'Activity'. + */ + public readonly kind!: pulumi.Output<"Activity">; + /** + * The last time the activity was updated + */ + public /*out*/ readonly lastModifiedTimeUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The Activity query definitions + */ + public readonly queryDefinitions!: pulumi.Output; + /** + * List of the fields of the source entity that are required to run the query + */ + public readonly requiredInputFieldsSets!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The template id this activity was created from + */ + public readonly templateName!: pulumi.Output; + /** + * The entity query title + */ + public readonly title!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ActivityCustomEntityQuery 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: ActivityCustomEntityQueryArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["content"] = args ? args.content : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["entitiesFilter"] = args ? args.entitiesFilter : undefined; + resourceInputs["entityQueryId"] = args ? args.entityQueryId : undefined; + resourceInputs["inputEntityType"] = args ? args.inputEntityType : undefined; + resourceInputs["kind"] = "Activity"; + resourceInputs["queryDefinitions"] = args ? args.queryDefinitions : undefined; + resourceInputs["requiredInputFieldsSets"] = args ? args.requiredInputFieldsSets : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["templateName"] = args ? args.templateName : undefined; + resourceInputs["title"] = args ? args.title : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["content"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["entitiesFilter"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["inputEntityType"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["queryDefinitions"] = undefined /*out*/; + resourceInputs["requiredInputFieldsSets"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["templateName"] = undefined /*out*/; + resourceInputs["title"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery" }, { type: "azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ActivityCustomEntityQuery.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ActivityCustomEntityQuery resource. + */ +export interface ActivityCustomEntityQueryArgs { + /** + * The entity query content to display in timeline + */ + content?: pulumi.Input; + /** + * The entity query description + */ + description?: pulumi.Input; + /** + * Determines whether this activity is enabled or disabled. + */ + enabled?: pulumi.Input; + /** + * The query applied only to entities matching to all filters + */ + entitiesFilter?: pulumi.Input<{[key: string]: pulumi.Input[]>}>; + /** + * entity query ID + */ + entityQueryId?: pulumi.Input; + /** + * The type of the query's source entity + */ + inputEntityType?: pulumi.Input; + /** + * The kind of the entity query that supports put request. + * Expected value is 'Activity'. + */ + kind: pulumi.Input<"Activity">; + /** + * The Activity query definitions + */ + queryDefinitions?: pulumi.Input; + /** + * List of the fields of the source entity that are required to run the query + */ + requiredInputFieldsSets?: pulumi.Input[]>[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The template id this activity was created from + */ + templateName?: pulumi.Input; + /** + * The entity query title + */ + title?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/anomalies.ts b/sdk/nodejs/securityinsights/v20230901preview/anomalies.ts new file mode 100644 index 000000000000..ea40b3b070b1 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/anomalies.ts @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Settings with single toggle. + */ +export class Anomalies extends pulumi.CustomResource { + /** + * Get an existing Anomalies 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Anomalies { + return new Anomalies(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Anomalies'; + + /** + * Returns true if the given object is an instance of Anomalies. 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 Anomalies { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Anomalies.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Determines whether the setting is enable or disabled. + */ + public /*out*/ readonly isEnabled!: pulumi.Output; + /** + * The kind of the setting + * Expected value is 'Anomalies'. + */ + public readonly kind!: pulumi.Output<"Anomalies">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Anomalies 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: AnomaliesArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["kind"] = "Anomalies"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["settingsName"] = args ? args.settingsName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["isEnabled"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["isEnabled"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Anomalies" }, { type: "azure-native:securityinsights/v20190101preview:Anomalies" }, { type: "azure-native:securityinsights/v20210301preview:Anomalies" }, { type: "azure-native:securityinsights/v20210901preview:Anomalies" }, { type: "azure-native:securityinsights/v20211001preview:Anomalies" }, { type: "azure-native:securityinsights/v20220101preview:Anomalies" }, { type: "azure-native:securityinsights/v20220401preview:Anomalies" }, { type: "azure-native:securityinsights/v20220501preview:Anomalies" }, { type: "azure-native:securityinsights/v20220601preview:Anomalies" }, { type: "azure-native:securityinsights/v20220701preview:Anomalies" }, { type: "azure-native:securityinsights/v20220801preview:Anomalies" }, { type: "azure-native:securityinsights/v20220901preview:Anomalies" }, { type: "azure-native:securityinsights/v20221001preview:Anomalies" }, { type: "azure-native:securityinsights/v20221101preview:Anomalies" }, { type: "azure-native:securityinsights/v20221201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230201preview:Anomalies" }, { type: "azure-native:securityinsights/v20230301preview:Anomalies" }, { type: "azure-native:securityinsights/v20230401preview:Anomalies" }, { type: "azure-native:securityinsights/v20230501preview:Anomalies" }, { type: "azure-native:securityinsights/v20230601preview:Anomalies" }, { type: "azure-native:securityinsights/v20230701preview:Anomalies" }, { type: "azure-native:securityinsights/v20230801preview:Anomalies" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Anomalies.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Anomalies resource. + */ +export interface AnomaliesArgs { + /** + * The kind of the setting + * Expected value is 'Anomalies'. + */ + kind: pulumi.Input<"Anomalies">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/anomalySecurityMLAnalyticsSettings.ts b/sdk/nodejs/securityinsights/v20230901preview/anomalySecurityMLAnalyticsSettings.ts new file mode 100644 index 000000000000..ee161c0c060f --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/anomalySecurityMLAnalyticsSettings.ts @@ -0,0 +1,279 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Anomaly Security ML Analytics Settings + */ +export class AnomalySecurityMLAnalyticsSettings extends pulumi.CustomResource { + /** + * Get an existing AnomalySecurityMLAnalyticsSettings 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AnomalySecurityMLAnalyticsSettings { + return new AnomalySecurityMLAnalyticsSettings(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings'; + + /** + * Returns true if the given object is an instance of AnomalySecurityMLAnalyticsSettings. 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 AnomalySecurityMLAnalyticsSettings { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AnomalySecurityMLAnalyticsSettings.__pulumiType; + } + + /** + * The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + */ + public readonly anomalySettingsVersion!: pulumi.Output; + /** + * The anomaly version of the AnomalySecurityMLAnalyticsSettings. + */ + public readonly anomalyVersion!: pulumi.Output; + /** + * The customizable observations of the AnomalySecurityMLAnalyticsSettings. + */ + public readonly customizableObservations!: pulumi.Output; + /** + * The description of the SecurityMLAnalyticsSettings. + */ + public readonly description!: pulumi.Output; + /** + * The display name for settings created by this SecurityMLAnalyticsSettings. + */ + public readonly displayName!: pulumi.Output; + /** + * Determines whether this settings is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The frequency that this SecurityMLAnalyticsSettings will be run. + */ + public readonly frequency!: pulumi.Output; + /** + * Determines whether this anomaly security ml analytics settings is a default settings + */ + public readonly isDefaultSettings!: pulumi.Output; + /** + * The kind of security ML analytics settings + * Expected value is 'Anomaly'. + */ + public readonly kind!: pulumi.Output<"Anomaly">; + /** + * The last time that this SecurityMLAnalyticsSettings has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The required data sources for this SecurityMLAnalyticsSettings + */ + public readonly requiredDataConnectors!: pulumi.Output; + /** + * The anomaly settings definition Id + */ + public readonly settingsDefinitionId!: pulumi.Output; + /** + * The anomaly SecurityMLAnalyticsSettings status + */ + public readonly settingsStatus!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tactics of the SecurityMLAnalyticsSettings + */ + public readonly tactics!: pulumi.Output; + /** + * The techniques of the SecurityMLAnalyticsSettings + */ + public readonly techniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AnomalySecurityMLAnalyticsSettings 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: AnomalySecurityMLAnalyticsSettingsArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.anomalyVersion === undefined) && !opts.urn) { + throw new Error("Missing required property 'anomalyVersion'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.frequency === undefined) && !opts.urn) { + throw new Error("Missing required property 'frequency'"); + } + if ((!args || args.isDefaultSettings === undefined) && !opts.urn) { + throw new Error("Missing required property 'isDefaultSettings'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.settingsStatus === undefined) && !opts.urn) { + throw new Error("Missing required property 'settingsStatus'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["anomalySettingsVersion"] = args ? args.anomalySettingsVersion : undefined; + resourceInputs["anomalyVersion"] = args ? args.anomalyVersion : undefined; + resourceInputs["customizableObservations"] = args ? args.customizableObservations : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["frequency"] = args ? args.frequency : undefined; + resourceInputs["isDefaultSettings"] = args ? args.isDefaultSettings : undefined; + resourceInputs["kind"] = "Anomaly"; + resourceInputs["requiredDataConnectors"] = args ? args.requiredDataConnectors : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["settingsDefinitionId"] = args ? args.settingsDefinitionId : undefined; + resourceInputs["settingsResourceName"] = args ? args.settingsResourceName : undefined; + resourceInputs["settingsStatus"] = args ? args.settingsStatus : undefined; + resourceInputs["tactics"] = args ? args.tactics : undefined; + resourceInputs["techniques"] = args ? args.techniques : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["anomalySettingsVersion"] = undefined /*out*/; + resourceInputs["anomalyVersion"] = undefined /*out*/; + resourceInputs["customizableObservations"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["frequency"] = undefined /*out*/; + resourceInputs["isDefaultSettings"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["requiredDataConnectors"] = undefined /*out*/; + resourceInputs["settingsDefinitionId"] = undefined /*out*/; + resourceInputs["settingsStatus"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings" }, { type: "azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AnomalySecurityMLAnalyticsSettings.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AnomalySecurityMLAnalyticsSettings resource. + */ +export interface AnomalySecurityMLAnalyticsSettingsArgs { + /** + * The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + */ + anomalySettingsVersion?: pulumi.Input; + /** + * The anomaly version of the AnomalySecurityMLAnalyticsSettings. + */ + anomalyVersion: pulumi.Input; + /** + * The customizable observations of the AnomalySecurityMLAnalyticsSettings. + */ + customizableObservations?: any; + /** + * The description of the SecurityMLAnalyticsSettings. + */ + description?: pulumi.Input; + /** + * The display name for settings created by this SecurityMLAnalyticsSettings. + */ + displayName: pulumi.Input; + /** + * Determines whether this settings is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * The frequency that this SecurityMLAnalyticsSettings will be run. + */ + frequency: pulumi.Input; + /** + * Determines whether this anomaly security ml analytics settings is a default settings + */ + isDefaultSettings: pulumi.Input; + /** + * The kind of security ML analytics settings + * Expected value is 'Anomaly'. + */ + kind: pulumi.Input<"Anomaly">; + /** + * The required data sources for this SecurityMLAnalyticsSettings + */ + requiredDataConnectors?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The anomaly settings definition Id + */ + settingsDefinitionId?: pulumi.Input; + /** + * Security ML Analytics Settings resource name + */ + settingsResourceName?: pulumi.Input; + /** + * The anomaly SecurityMLAnalyticsSettings status + */ + settingsStatus: pulumi.Input; + /** + * The tactics of the SecurityMLAnalyticsSettings + */ + tactics?: pulumi.Input[]>; + /** + * The techniques of the SecurityMLAnalyticsSettings + */ + techniques?: pulumi.Input[]>; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/ascdataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/ascdataConnector.ts new file mode 100644 index 000000000000..0857c5d182bd --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/ascdataConnector.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents ASC (Azure Security Center) data connector. + */ +export class ASCDataConnector extends pulumi.CustomResource { + /** + * Get an existing ASCDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ASCDataConnector { + return new ASCDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ASCDataConnector'; + + /** + * Returns true if the given object is an instance of ASCDataConnector. 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 ASCDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ASCDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'AzureSecurityCenter'. + */ + public readonly kind!: pulumi.Output<"AzureSecurityCenter">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The subscription id to connect to, and get the data from. + */ + public readonly subscriptionId!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ASCDataConnector 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: ASCDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "AzureSecurityCenter"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["subscriptionId"] = args ? args.subscriptionId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["subscriptionId"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ASCDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20200101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001:ASCDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:ASCDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:ASCDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ASCDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ASCDataConnector resource. + */ +export interface ASCDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'AzureSecurityCenter'. + */ + kind: pulumi.Input<"AzureSecurityCenter">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The subscription id to connect to, and get the data from. + */ + subscriptionId?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/automationRule.ts b/sdk/nodejs/securityinsights/v20230901preview/automationRule.ts new file mode 100644 index 000000000000..c81885fd2ea0 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/automationRule.ts @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +export class AutomationRule extends pulumi.CustomResource { + /** + * Get an existing AutomationRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AutomationRule { + return new AutomationRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:AutomationRule'; + + /** + * Returns true if the given object is an instance of AutomationRule. 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 AutomationRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AutomationRule.__pulumiType; + } + + /** + * The actions to execute when the automation rule is triggered. + */ + public readonly actions!: pulumi.Output<(outputs.securityinsights.v20230901preview.AutomationRuleAddIncidentTaskActionResponse | outputs.securityinsights.v20230901preview.AutomationRuleModifyPropertiesActionResponse | outputs.securityinsights.v20230901preview.AutomationRuleRunPlaybookActionResponse)[]>; + /** + * Information on the client (user or application) that made some action + */ + public /*out*/ readonly createdBy!: pulumi.Output; + /** + * The time the automation rule was created. + */ + public /*out*/ readonly createdTimeUtc!: pulumi.Output; + /** + * The display name of the automation rule. + */ + public readonly displayName!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Information on the client (user or application) that made some action + */ + public /*out*/ readonly lastModifiedBy!: pulumi.Output; + /** + * The last time the automation rule was updated. + */ + public /*out*/ readonly lastModifiedTimeUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The order of execution of the automation rule. + */ + public readonly order!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Describes automation rule triggering logic. + */ + public readonly triggeringLogic!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AutomationRule 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: AutomationRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.actions === undefined) && !opts.urn) { + throw new Error("Missing required property 'actions'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.order === undefined) && !opts.urn) { + throw new Error("Missing required property 'order'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.triggeringLogic === undefined) && !opts.urn) { + throw new Error("Missing required property 'triggeringLogic'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["actions"] = args ? args.actions : undefined; + resourceInputs["automationRuleId"] = args ? args.automationRuleId : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["order"] = args ? args.order : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["triggeringLogic"] = args ? args.triggeringLogic : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedBy"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["actions"] = undefined /*out*/; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedBy"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["order"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["triggeringLogic"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AutomationRule" }, { type: "azure-native:securityinsights/v20190101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20210901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20211001:AutomationRule" }, { type: "azure-native:securityinsights/v20211001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220801:AutomationRule" }, { type: "azure-native:securityinsights/v20220801preview:AutomationRule" }, { type: "azure-native:securityinsights/v20220901preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221001preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221101:AutomationRule" }, { type: "azure-native:securityinsights/v20221101preview:AutomationRule" }, { type: "azure-native:securityinsights/v20221201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230201:AutomationRule" }, { type: "azure-native:securityinsights/v20230201preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230301preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230401preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230501preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230601preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230701preview:AutomationRule" }, { type: "azure-native:securityinsights/v20230801preview:AutomationRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AutomationRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AutomationRule resource. + */ +export interface AutomationRuleArgs { + /** + * The actions to execute when the automation rule is triggered. + */ + actions: pulumi.Input[]>; + /** + * Automation rule ID + */ + automationRuleId?: pulumi.Input; + /** + * The display name of the automation rule. + */ + displayName: pulumi.Input; + /** + * The order of execution of the automation rule. + */ + order: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Describes automation rule triggering logic. + */ + triggeringLogic: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/awsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/awsCloudTrailDataConnector.ts new file mode 100644 index 000000000000..714c4b2e8fb3 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/awsCloudTrailDataConnector.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Amazon Web Services CloudTrail data connector. + */ +export class AwsCloudTrailDataConnector extends pulumi.CustomResource { + /** + * Get an existing AwsCloudTrailDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AwsCloudTrailDataConnector { + return new AwsCloudTrailDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector'; + + /** + * Returns true if the given object is an instance of AwsCloudTrailDataConnector. 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 AwsCloudTrailDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AwsCloudTrailDataConnector.__pulumiType; + } + + /** + * The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + */ + public readonly awsRoleArn!: pulumi.Output; + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'AmazonWebServicesCloudTrail'. + */ + public readonly kind!: pulumi.Output<"AmazonWebServicesCloudTrail">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AwsCloudTrailDataConnector 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: AwsCloudTrailDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["awsRoleArn"] = args ? args.awsRoleArn : undefined; + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "AmazonWebServicesCloudTrail"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["awsRoleArn"] = undefined /*out*/; + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AwsCloudTrailDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AwsCloudTrailDataConnector resource. + */ +export interface AwsCloudTrailDataConnectorArgs { + /** + * The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + */ + awsRoleArn?: pulumi.Input; + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'AmazonWebServicesCloudTrail'. + */ + kind: pulumi.Input<"AmazonWebServicesCloudTrail">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/awsS3DataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/awsS3DataConnector.ts new file mode 100644 index 000000000000..7391e5cbdbde --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/awsS3DataConnector.ts @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Amazon Web Services S3 data connector. + */ +export class AwsS3DataConnector extends pulumi.CustomResource { + /** + * Get an existing AwsS3DataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AwsS3DataConnector { + return new AwsS3DataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:AwsS3DataConnector'; + + /** + * Returns true if the given object is an instance of AwsS3DataConnector. 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 AwsS3DataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AwsS3DataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * The logs destination table name in LogAnalytics. + */ + public readonly destinationTable!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'AmazonWebServicesS3'. + */ + public readonly kind!: pulumi.Output<"AmazonWebServicesS3">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The Aws Role Arn that is used to access the Aws account. + */ + public readonly roleArn!: pulumi.Output; + /** + * The AWS sqs urls for the connector. + */ + public readonly sqsUrls!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a AwsS3DataConnector 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: AwsS3DataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.destinationTable === undefined) && !opts.urn) { + throw new Error("Missing required property 'destinationTable'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.roleArn === undefined) && !opts.urn) { + throw new Error("Missing required property 'roleArn'"); + } + if ((!args || args.sqsUrls === undefined) && !opts.urn) { + throw new Error("Missing required property 'sqsUrls'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["destinationTable"] = args ? args.destinationTable : undefined; + resourceInputs["kind"] = "AmazonWebServicesS3"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["roleArn"] = args ? args.roleArn : undefined; + resourceInputs["sqsUrls"] = args ? args.sqsUrls : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["destinationTable"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["roleArn"] = undefined /*out*/; + resourceInputs["sqsUrls"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20200101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:AwsS3DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:AwsS3DataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(AwsS3DataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AwsS3DataConnector resource. + */ +export interface AwsS3DataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The logs destination table name in LogAnalytics. + */ + destinationTable: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'AmazonWebServicesS3'. + */ + kind: pulumi.Input<"AmazonWebServicesS3">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The Aws Role Arn that is used to access the Aws account. + */ + roleArn: pulumi.Input; + /** + * The AWS sqs urls for the connector. + */ + sqsUrls: pulumi.Input[]>; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/bookmark.ts b/sdk/nodejs/securityinsights/v20230901preview/bookmark.ts new file mode 100644 index 000000000000..f99aa92ddf05 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/bookmark.ts @@ -0,0 +1,276 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a bookmark in Azure Security Insights. + */ +export class Bookmark extends pulumi.CustomResource { + /** + * Get an existing Bookmark 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Bookmark { + return new Bookmark(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Bookmark'; + + /** + * Returns true if the given object is an instance of Bookmark. 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 Bookmark { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Bookmark.__pulumiType; + } + + /** + * The time the bookmark was created + */ + public readonly created!: pulumi.Output; + /** + * Describes a user that created the bookmark + */ + public readonly createdBy!: pulumi.Output; + /** + * The display name of the bookmark + */ + public readonly displayName!: pulumi.Output; + /** + * Describes the entity mappings of the bookmark + */ + public readonly entityMappings!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The bookmark event time + */ + public readonly eventTime!: pulumi.Output; + /** + * Describes an incident that relates to bookmark + */ + public readonly incidentInfo!: pulumi.Output; + /** + * List of labels relevant to this bookmark + */ + public readonly labels!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The notes of the bookmark + */ + public readonly notes!: pulumi.Output; + /** + * The query of the bookmark. + */ + public readonly query!: pulumi.Output; + /** + * The end time for the query + */ + public readonly queryEndTime!: pulumi.Output; + /** + * The query result of the bookmark. + */ + public readonly queryResult!: pulumi.Output; + /** + * The start time for the query + */ + public readonly queryStartTime!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * A list of relevant mitre attacks + */ + public readonly tactics!: pulumi.Output; + /** + * A list of relevant mitre techniques + */ + public readonly techniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The last time the bookmark was updated + */ + public readonly updated!: pulumi.Output; + /** + * Describes a user that updated the bookmark + */ + public readonly updatedBy!: pulumi.Output; + + /** + * Create a Bookmark 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: BookmarkArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.query === undefined) && !opts.urn) { + throw new Error("Missing required property 'query'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["bookmarkId"] = args ? args.bookmarkId : undefined; + resourceInputs["created"] = args ? args.created : undefined; + resourceInputs["createdBy"] = args ? args.createdBy : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["entityMappings"] = args ? args.entityMappings : undefined; + resourceInputs["eventTime"] = args ? args.eventTime : undefined; + resourceInputs["incidentInfo"] = args ? args.incidentInfo : undefined; + resourceInputs["labels"] = args ? args.labels : undefined; + resourceInputs["notes"] = args ? args.notes : undefined; + resourceInputs["query"] = args ? args.query : undefined; + resourceInputs["queryEndTime"] = args ? args.queryEndTime : undefined; + resourceInputs["queryResult"] = args ? args.queryResult : undefined; + resourceInputs["queryStartTime"] = args ? args.queryStartTime : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tactics"] = args ? args.tactics : undefined; + resourceInputs["techniques"] = args ? args.techniques : undefined; + resourceInputs["updated"] = args ? args.updated : undefined; + resourceInputs["updatedBy"] = args ? args.updatedBy : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["created"] = undefined /*out*/; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["entityMappings"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["eventTime"] = undefined /*out*/; + resourceInputs["incidentInfo"] = undefined /*out*/; + resourceInputs["labels"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["notes"] = undefined /*out*/; + resourceInputs["query"] = undefined /*out*/; + resourceInputs["queryEndTime"] = undefined /*out*/; + resourceInputs["queryResult"] = undefined /*out*/; + resourceInputs["queryStartTime"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["updated"] = undefined /*out*/; + resourceInputs["updatedBy"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Bookmark" }, { type: "azure-native:securityinsights/v20190101preview:Bookmark" }, { type: "azure-native:securityinsights/v20200101:Bookmark" }, { type: "azure-native:securityinsights/v20210901preview:Bookmark" }, { type: "azure-native:securityinsights/v20211001:Bookmark" }, { type: "azure-native:securityinsights/v20211001preview:Bookmark" }, { type: "azure-native:securityinsights/v20220101preview:Bookmark" }, { type: "azure-native:securityinsights/v20220401preview:Bookmark" }, { type: "azure-native:securityinsights/v20220501preview:Bookmark" }, { type: "azure-native:securityinsights/v20220601preview:Bookmark" }, { type: "azure-native:securityinsights/v20220701preview:Bookmark" }, { type: "azure-native:securityinsights/v20220801:Bookmark" }, { type: "azure-native:securityinsights/v20220801preview:Bookmark" }, { type: "azure-native:securityinsights/v20220901preview:Bookmark" }, { type: "azure-native:securityinsights/v20221001preview:Bookmark" }, { type: "azure-native:securityinsights/v20221101:Bookmark" }, { type: "azure-native:securityinsights/v20221101preview:Bookmark" }, { type: "azure-native:securityinsights/v20221201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230201:Bookmark" }, { type: "azure-native:securityinsights/v20230201preview:Bookmark" }, { type: "azure-native:securityinsights/v20230301preview:Bookmark" }, { type: "azure-native:securityinsights/v20230401preview:Bookmark" }, { type: "azure-native:securityinsights/v20230501preview:Bookmark" }, { type: "azure-native:securityinsights/v20230601preview:Bookmark" }, { type: "azure-native:securityinsights/v20230701preview:Bookmark" }, { type: "azure-native:securityinsights/v20230801preview:Bookmark" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Bookmark.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Bookmark resource. + */ +export interface BookmarkArgs { + /** + * Bookmark ID + */ + bookmarkId?: pulumi.Input; + /** + * The time the bookmark was created + */ + created?: pulumi.Input; + /** + * Describes a user that created the bookmark + */ + createdBy?: pulumi.Input; + /** + * The display name of the bookmark + */ + displayName: pulumi.Input; + /** + * Describes the entity mappings of the bookmark + */ + entityMappings?: pulumi.Input[]>; + /** + * The bookmark event time + */ + eventTime?: pulumi.Input; + /** + * Describes an incident that relates to bookmark + */ + incidentInfo?: pulumi.Input; + /** + * List of labels relevant to this bookmark + */ + labels?: pulumi.Input[]>; + /** + * The notes of the bookmark + */ + notes?: pulumi.Input; + /** + * The query of the bookmark. + */ + query: pulumi.Input; + /** + * The end time for the query + */ + queryEndTime?: pulumi.Input; + /** + * The query result of the bookmark. + */ + queryResult?: pulumi.Input; + /** + * The start time for the query + */ + queryStartTime?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * A list of relevant mitre attacks + */ + tactics?: pulumi.Input[]>; + /** + * A list of relevant mitre techniques + */ + techniques?: pulumi.Input[]>; + /** + * The last time the bookmark was updated + */ + updated?: pulumi.Input; + /** + * Describes a user that updated the bookmark + */ + updatedBy?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/bookmarkRelation.ts b/sdk/nodejs/securityinsights/v20230901preview/bookmarkRelation.ts new file mode 100644 index 000000000000..cc0c18d74fb5 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/bookmarkRelation.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a relation between two resources + */ +export class BookmarkRelation extends pulumi.CustomResource { + /** + * Get an existing BookmarkRelation 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BookmarkRelation { + return new BookmarkRelation(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:BookmarkRelation'; + + /** + * Returns true if the given object is an instance of BookmarkRelation. 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 BookmarkRelation { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BookmarkRelation.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource ID of the related resource + */ + public readonly relatedResourceId!: pulumi.Output; + /** + * The resource kind of the related resource + */ + public /*out*/ readonly relatedResourceKind!: pulumi.Output; + /** + * The name of the related resource + */ + public /*out*/ readonly relatedResourceName!: pulumi.Output; + /** + * The resource type of the related resource + */ + public /*out*/ readonly relatedResourceType!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a BookmarkRelation 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: BookmarkRelationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.bookmarkId === undefined) && !opts.urn) { + throw new Error("Missing required property 'bookmarkId'"); + } + if ((!args || args.relatedResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'relatedResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["bookmarkId"] = args ? args.bookmarkId : undefined; + resourceInputs["relatedResourceId"] = args ? args.relatedResourceId : undefined; + resourceInputs["relationName"] = args ? args.relationName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["relatedResourceKind"] = undefined /*out*/; + resourceInputs["relatedResourceName"] = undefined /*out*/; + resourceInputs["relatedResourceType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["relatedResourceId"] = undefined /*out*/; + resourceInputs["relatedResourceKind"] = undefined /*out*/; + resourceInputs["relatedResourceName"] = undefined /*out*/; + resourceInputs["relatedResourceType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:BookmarkRelation" }, { type: "azure-native:securityinsights/v20190101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20210901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20211001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220801preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20220901preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221001preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221101preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20221201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230201preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230301preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230401preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230501preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230601preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230701preview:BookmarkRelation" }, { type: "azure-native:securityinsights/v20230801preview:BookmarkRelation" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(BookmarkRelation.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a BookmarkRelation resource. + */ +export interface BookmarkRelationArgs { + /** + * Bookmark ID + */ + bookmarkId: pulumi.Input; + /** + * The resource ID of the related resource + */ + relatedResourceId: pulumi.Input; + /** + * Relation Name + */ + relationName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/codelessApiPollingDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/codelessApiPollingDataConnector.ts new file mode 100644 index 000000000000..c02aceee44ab --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/codelessApiPollingDataConnector.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Codeless API Polling data connector. + */ +export class CodelessApiPollingDataConnector extends pulumi.CustomResource { + /** + * Get an existing CodelessApiPollingDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CodelessApiPollingDataConnector { + return new CodelessApiPollingDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector'; + + /** + * Returns true if the given object is an instance of CodelessApiPollingDataConnector. 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 CodelessApiPollingDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CodelessApiPollingDataConnector.__pulumiType; + } + + /** + * Config to describe the instructions blade + */ + public readonly connectorUiConfig!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'APIPolling'. + */ + public readonly kind!: pulumi.Output<"APIPolling">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Config to describe the polling instructions + */ + public readonly pollingConfig!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CodelessApiPollingDataConnector 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: CodelessApiPollingDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["connectorUiConfig"] = args ? args.connectorUiConfig : undefined; + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["kind"] = "APIPolling"; + resourceInputs["pollingConfig"] = args ? args.pollingConfig : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["connectorUiConfig"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["pollingConfig"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CodelessApiPollingDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CodelessApiPollingDataConnector resource. + */ +export interface CodelessApiPollingDataConnectorArgs { + /** + * Config to describe the instructions blade + */ + connectorUiConfig?: pulumi.Input; + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'APIPolling'. + */ + kind: pulumi.Input<"APIPolling">; + /** + * Config to describe the polling instructions + */ + pollingConfig?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/codelessUiDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/codelessUiDataConnector.ts new file mode 100644 index 000000000000..e7327d45635c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/codelessUiDataConnector.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Codeless UI data connector. + */ +export class CodelessUiDataConnector extends pulumi.CustomResource { + /** + * Get an existing CodelessUiDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CodelessUiDataConnector { + return new CodelessUiDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:CodelessUiDataConnector'; + + /** + * Returns true if the given object is an instance of CodelessUiDataConnector. 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 CodelessUiDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CodelessUiDataConnector.__pulumiType; + } + + /** + * Config to describe the instructions blade + */ + public readonly connectorUiConfig!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'GenericUI'. + */ + public readonly kind!: pulumi.Output<"GenericUI">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CodelessUiDataConnector 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: CodelessUiDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["connectorUiConfig"] = args ? args.connectorUiConfig : undefined; + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["kind"] = "GenericUI"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["connectorUiConfig"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20200101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:CodelessUiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:CodelessUiDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CodelessUiDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CodelessUiDataConnector resource. + */ +export interface CodelessUiDataConnectorArgs { + /** + * Config to describe the instructions blade + */ + connectorUiConfig?: pulumi.Input; + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'GenericUI'. + */ + kind: pulumi.Input<"GenericUI">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/contentPackage.ts b/sdk/nodejs/securityinsights/v20230901preview/contentPackage.ts new file mode 100644 index 000000000000..27aad3acc9ac --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/contentPackage.ts @@ -0,0 +1,345 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Package in Azure Security Insights. + */ +export class ContentPackage extends pulumi.CustomResource { + /** + * Get an existing ContentPackage 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ContentPackage { + return new ContentPackage(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ContentPackage'; + + /** + * Returns true if the given object is an instance of ContentPackage. 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 ContentPackage { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ContentPackage.__pulumiType; + } + + /** + * The author of the package + */ + public readonly author!: pulumi.Output; + /** + * The categories of the package + */ + public readonly categories!: pulumi.Output; + /** + * The content id of the package + */ + public readonly contentId!: pulumi.Output; + /** + * The package kind + */ + public readonly contentKind!: pulumi.Output; + /** + * Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + */ + public readonly contentProductId!: pulumi.Output; + /** + * The version of the content schema. + */ + public readonly contentSchemaVersion!: pulumi.Output; + /** + * The support tier of the package + */ + public readonly dependencies!: pulumi.Output; + /** + * The description of the package + */ + public readonly description!: pulumi.Output; + /** + * The display name of the package + */ + public readonly displayName!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * first publish date package item + */ + public readonly firstPublishDate!: pulumi.Output; + /** + * the icon identifier. this id can later be fetched from the content metadata + */ + public readonly icon!: pulumi.Output; + /** + * Flag indicates if this package is among the featured list. + */ + public readonly isFeatured!: pulumi.Output; + /** + * Flag indicates if this is a newly published package. + */ + public readonly isNew!: pulumi.Output; + /** + * Flag indicates if this package is in preview. + */ + public readonly isPreview!: pulumi.Output; + /** + * last publish date for the package item + */ + public readonly lastPublishDate!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Providers for the package item + */ + public readonly providers!: pulumi.Output; + /** + * The publisher display name of the package + */ + public readonly publisherDisplayName!: pulumi.Output; + /** + * The source of the package + */ + public readonly source!: pulumi.Output; + /** + * The support tier of the package + */ + public readonly support!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * the tactics the resource covers + */ + public readonly threatAnalysisTactics!: pulumi.Output; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + public readonly threatAnalysisTechniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * the latest version number of the package + */ + public readonly version!: pulumi.Output; + + /** + * Create a ContentPackage 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: ContentPackageArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.contentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentId'"); + } + if ((!args || args.contentKind === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentKind'"); + } + if ((!args || args.contentProductId === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentProductId'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.version === undefined) && !opts.urn) { + throw new Error("Missing required property 'version'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["author"] = args ? args.author : undefined; + resourceInputs["categories"] = args ? args.categories : undefined; + resourceInputs["contentId"] = args ? args.contentId : undefined; + resourceInputs["contentKind"] = args ? args.contentKind : undefined; + resourceInputs["contentProductId"] = args ? args.contentProductId : undefined; + resourceInputs["contentSchemaVersion"] = args ? args.contentSchemaVersion : undefined; + resourceInputs["dependencies"] = args ? args.dependencies : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["firstPublishDate"] = args ? args.firstPublishDate : undefined; + resourceInputs["icon"] = args ? args.icon : undefined; + resourceInputs["isFeatured"] = args ? args.isFeatured : undefined; + resourceInputs["isNew"] = args ? args.isNew : undefined; + resourceInputs["isPreview"] = args ? args.isPreview : undefined; + resourceInputs["lastPublishDate"] = args ? args.lastPublishDate : undefined; + resourceInputs["packageId"] = args ? args.packageId : undefined; + resourceInputs["providers"] = args ? args.providers : undefined; + resourceInputs["publisherDisplayName"] = args ? args.publisherDisplayName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["support"] = args ? args.support : undefined; + resourceInputs["threatAnalysisTactics"] = args ? args.threatAnalysisTactics : undefined; + resourceInputs["threatAnalysisTechniques"] = args ? args.threatAnalysisTechniques : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["author"] = undefined /*out*/; + resourceInputs["categories"] = undefined /*out*/; + resourceInputs["contentId"] = undefined /*out*/; + resourceInputs["contentKind"] = undefined /*out*/; + resourceInputs["contentProductId"] = undefined /*out*/; + resourceInputs["contentSchemaVersion"] = undefined /*out*/; + resourceInputs["dependencies"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["firstPublishDate"] = undefined /*out*/; + resourceInputs["icon"] = undefined /*out*/; + resourceInputs["isFeatured"] = undefined /*out*/; + resourceInputs["isNew"] = undefined /*out*/; + resourceInputs["isPreview"] = undefined /*out*/; + resourceInputs["lastPublishDate"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["providers"] = undefined /*out*/; + resourceInputs["publisherDisplayName"] = undefined /*out*/; + resourceInputs["source"] = undefined /*out*/; + resourceInputs["support"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["threatAnalysisTactics"] = undefined /*out*/; + resourceInputs["threatAnalysisTechniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentPackage" }, { type: "azure-native:securityinsights/v20230401preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230501preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230601preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230701preview:ContentPackage" }, { type: "azure-native:securityinsights/v20230801preview:ContentPackage" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ContentPackage.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ContentPackage resource. + */ +export interface ContentPackageArgs { + /** + * The author of the package + */ + author?: pulumi.Input; + /** + * The categories of the package + */ + categories?: pulumi.Input; + /** + * The content id of the package + */ + contentId: pulumi.Input; + /** + * The package kind + */ + contentKind: pulumi.Input; + /** + * Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + */ + contentProductId: pulumi.Input; + /** + * The version of the content schema. + */ + contentSchemaVersion?: pulumi.Input; + /** + * The support tier of the package + */ + dependencies?: pulumi.Input; + /** + * The description of the package + */ + description?: pulumi.Input; + /** + * The display name of the package + */ + displayName: pulumi.Input; + /** + * first publish date package item + */ + firstPublishDate?: pulumi.Input; + /** + * the icon identifier. this id can later be fetched from the content metadata + */ + icon?: pulumi.Input; + /** + * Flag indicates if this package is among the featured list. + */ + isFeatured?: pulumi.Input; + /** + * Flag indicates if this is a newly published package. + */ + isNew?: pulumi.Input; + /** + * Flag indicates if this package is in preview. + */ + isPreview?: pulumi.Input; + /** + * last publish date for the package item + */ + lastPublishDate?: pulumi.Input; + /** + * package Id + */ + packageId?: pulumi.Input; + /** + * Providers for the package item + */ + providers?: pulumi.Input[]>; + /** + * The publisher display name of the package + */ + publisherDisplayName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The source of the package + */ + source?: pulumi.Input; + /** + * The support tier of the package + */ + support?: pulumi.Input; + /** + * the tactics the resource covers + */ + threatAnalysisTactics?: pulumi.Input[]>; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + threatAnalysisTechniques?: pulumi.Input[]>; + /** + * the latest version number of the package + */ + version: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/contentTemplate.ts b/sdk/nodejs/securityinsights/v20230901preview/contentTemplate.ts new file mode 100644 index 000000000000..bbc3822bb201 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/contentTemplate.ts @@ -0,0 +1,384 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Template resource definition. + */ +export class ContentTemplate extends pulumi.CustomResource { + /** + * Get an existing ContentTemplate 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ContentTemplate { + return new ContentTemplate(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ContentTemplate'; + + /** + * Returns true if the given object is an instance of ContentTemplate. 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 ContentTemplate { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ContentTemplate.__pulumiType; + } + + /** + * The creator of the content item. + */ + public readonly author!: pulumi.Output; + /** + * Categories for the item + */ + public readonly categories!: pulumi.Output; + /** + * Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + */ + public readonly contentId!: pulumi.Output; + /** + * The kind of content the template is for. + */ + public readonly contentKind!: pulumi.Output; + /** + * Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + */ + public readonly contentProductId!: pulumi.Output; + /** + * Schema version of the content. Can be used to distinguish between different flow based on the schema version + */ + public readonly contentSchemaVersion!: pulumi.Output; + /** + * The custom version of the content. A optional free text + */ + public readonly customVersion!: pulumi.Output; + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + */ + public readonly dependencies!: pulumi.Output; + /** + * The display name of the template + */ + public readonly displayName!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * first publish date content item + */ + public readonly firstPublishDate!: pulumi.Output; + /** + * the icon identifier. this id can later be fetched from the content metadata + */ + public readonly icon!: pulumi.Output; + /** + * last publish date for the content item + */ + public readonly lastPublishDate!: pulumi.Output; + /** + * The JSON of the ARM template to deploy active content + */ + public readonly mainTemplate!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * the package Id contains this template + */ + public readonly packageId!: pulumi.Output; + /** + * the packageKind of the package contains this template + */ + public readonly packageKind!: pulumi.Output; + /** + * the name of the package contains this template + */ + public readonly packageName!: pulumi.Output; + /** + * Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + */ + public readonly packageVersion!: pulumi.Output; + /** + * preview image file names. These will be taken from the solution artifacts + */ + public readonly previewImages!: pulumi.Output; + /** + * preview image file names. These will be taken from the solution artifacts. used for dark theme support + */ + public readonly previewImagesDark!: pulumi.Output; + /** + * Providers for the content item + */ + public readonly providers!: pulumi.Output; + /** + * Source of the content. This is where/how it was created. + */ + public readonly source!: pulumi.Output; + /** + * Support information for the template - type, name, contact information + */ + public readonly support!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * the tactics the resource covers + */ + public readonly threatAnalysisTactics!: pulumi.Output; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + public readonly threatAnalysisTechniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + */ + public readonly version!: pulumi.Output; + + /** + * Create a ContentTemplate 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: ContentTemplateArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.contentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentId'"); + } + if ((!args || args.contentKind === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentKind'"); + } + if ((!args || args.contentProductId === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentProductId'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.packageId === undefined) && !opts.urn) { + throw new Error("Missing required property 'packageId'"); + } + if ((!args || args.packageVersion === undefined) && !opts.urn) { + throw new Error("Missing required property 'packageVersion'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.source === undefined) && !opts.urn) { + throw new Error("Missing required property 'source'"); + } + if ((!args || args.version === undefined) && !opts.urn) { + throw new Error("Missing required property 'version'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["author"] = args ? args.author : undefined; + resourceInputs["categories"] = args ? args.categories : undefined; + resourceInputs["contentId"] = args ? args.contentId : undefined; + resourceInputs["contentKind"] = args ? args.contentKind : undefined; + resourceInputs["contentProductId"] = args ? args.contentProductId : undefined; + resourceInputs["contentSchemaVersion"] = args ? args.contentSchemaVersion : undefined; + resourceInputs["customVersion"] = args ? args.customVersion : undefined; + resourceInputs["dependencies"] = args ? args.dependencies : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["firstPublishDate"] = args ? args.firstPublishDate : undefined; + resourceInputs["icon"] = args ? args.icon : undefined; + resourceInputs["lastPublishDate"] = args ? args.lastPublishDate : undefined; + resourceInputs["mainTemplate"] = args ? args.mainTemplate : undefined; + resourceInputs["packageId"] = args ? args.packageId : undefined; + resourceInputs["packageKind"] = args ? args.packageKind : undefined; + resourceInputs["packageName"] = args ? args.packageName : undefined; + resourceInputs["packageVersion"] = args ? args.packageVersion : undefined; + resourceInputs["previewImages"] = args ? args.previewImages : undefined; + resourceInputs["previewImagesDark"] = args ? args.previewImagesDark : undefined; + resourceInputs["providers"] = args ? args.providers : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["support"] = args ? args.support : undefined; + resourceInputs["templateId"] = args ? args.templateId : undefined; + resourceInputs["threatAnalysisTactics"] = args ? args.threatAnalysisTactics : undefined; + resourceInputs["threatAnalysisTechniques"] = args ? args.threatAnalysisTechniques : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["author"] = undefined /*out*/; + resourceInputs["categories"] = undefined /*out*/; + resourceInputs["contentId"] = undefined /*out*/; + resourceInputs["contentKind"] = undefined /*out*/; + resourceInputs["contentProductId"] = undefined /*out*/; + resourceInputs["contentSchemaVersion"] = undefined /*out*/; + resourceInputs["customVersion"] = undefined /*out*/; + resourceInputs["dependencies"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["firstPublishDate"] = undefined /*out*/; + resourceInputs["icon"] = undefined /*out*/; + resourceInputs["lastPublishDate"] = undefined /*out*/; + resourceInputs["mainTemplate"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["packageId"] = undefined /*out*/; + resourceInputs["packageKind"] = undefined /*out*/; + resourceInputs["packageName"] = undefined /*out*/; + resourceInputs["packageVersion"] = undefined /*out*/; + resourceInputs["previewImages"] = undefined /*out*/; + resourceInputs["previewImagesDark"] = undefined /*out*/; + resourceInputs["providers"] = undefined /*out*/; + resourceInputs["source"] = undefined /*out*/; + resourceInputs["support"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["threatAnalysisTactics"] = undefined /*out*/; + resourceInputs["threatAnalysisTechniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ContentTemplate" }, { type: "azure-native:securityinsights/v20230401preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230501preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230601preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230701preview:ContentTemplate" }, { type: "azure-native:securityinsights/v20230801preview:ContentTemplate" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ContentTemplate.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ContentTemplate resource. + */ +export interface ContentTemplateArgs { + /** + * The creator of the content item. + */ + author?: pulumi.Input; + /** + * Categories for the item + */ + categories?: pulumi.Input; + /** + * Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + */ + contentId: pulumi.Input; + /** + * The kind of content the template is for. + */ + contentKind: pulumi.Input; + /** + * Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + */ + contentProductId: pulumi.Input; + /** + * Schema version of the content. Can be used to distinguish between different flow based on the schema version + */ + contentSchemaVersion?: pulumi.Input; + /** + * The custom version of the content. A optional free text + */ + customVersion?: pulumi.Input; + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + */ + dependencies?: pulumi.Input; + /** + * The display name of the template + */ + displayName: pulumi.Input; + /** + * first publish date content item + */ + firstPublishDate?: pulumi.Input; + /** + * the icon identifier. this id can later be fetched from the content metadata + */ + icon?: pulumi.Input; + /** + * last publish date for the content item + */ + lastPublishDate?: pulumi.Input; + /** + * The JSON of the ARM template to deploy active content + */ + mainTemplate?: any; + /** + * the package Id contains this template + */ + packageId: pulumi.Input; + /** + * the packageKind of the package contains this template + */ + packageKind?: pulumi.Input; + /** + * the name of the package contains this template + */ + packageName?: pulumi.Input; + /** + * Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + */ + packageVersion: pulumi.Input; + /** + * preview image file names. These will be taken from the solution artifacts + */ + previewImages?: pulumi.Input[]>; + /** + * preview image file names. These will be taken from the solution artifacts. used for dark theme support + */ + previewImagesDark?: pulumi.Input[]>; + /** + * Providers for the content item + */ + providers?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Source of the content. This is where/how it was created. + */ + source: pulumi.Input; + /** + * Support information for the template - type, name, contact information + */ + support?: pulumi.Input; + /** + * template Id + */ + templateId?: pulumi.Input; + /** + * the tactics the resource covers + */ + threatAnalysisTactics?: pulumi.Input[]>; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + threatAnalysisTechniques?: pulumi.Input[]>; + /** + * Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + */ + version: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/customizableConnectorDefinition.ts b/sdk/nodejs/securityinsights/v20230901preview/customizableConnectorDefinition.ts new file mode 100644 index 000000000000..8adde7c0771f --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/customizableConnectorDefinition.ts @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Connector definition for kind 'Customizable'. + */ +export class CustomizableConnectorDefinition extends pulumi.CustomResource { + /** + * Get an existing CustomizableConnectorDefinition 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): CustomizableConnectorDefinition { + return new CustomizableConnectorDefinition(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition'; + + /** + * Returns true if the given object is an instance of CustomizableConnectorDefinition. 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 CustomizableConnectorDefinition { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CustomizableConnectorDefinition.__pulumiType; + } + + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + public readonly connectionsConfig!: pulumi.Output; + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + public readonly connectorUiConfig!: pulumi.Output; + /** + * Gets or sets the connector definition created date in UTC format. + */ + public readonly createdTimeUtc!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector definitions + * Expected value is 'Customizable'. + */ + public readonly kind!: pulumi.Output<"Customizable">; + /** + * Gets or sets the connector definition last modified date in UTC format. + */ + public readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a CustomizableConnectorDefinition 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: CustomizableConnectorDefinitionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.connectorUiConfig === undefined) && !opts.urn) { + throw new Error("Missing required property 'connectorUiConfig'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["connectionsConfig"] = args ? args.connectionsConfig : undefined; + resourceInputs["connectorUiConfig"] = args ? args.connectorUiConfig : undefined; + resourceInputs["createdTimeUtc"] = args ? args.createdTimeUtc : undefined; + resourceInputs["dataConnectorDefinitionName"] = args ? args.dataConnectorDefinitionName : undefined; + resourceInputs["kind"] = "Customizable"; + resourceInputs["lastModifiedUtc"] = args ? args.lastModifiedUtc : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["connectionsConfig"] = undefined /*out*/; + resourceInputs["connectorUiConfig"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition" }, { type: "azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(CustomizableConnectorDefinition.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a CustomizableConnectorDefinition resource. + */ +export interface CustomizableConnectorDefinitionArgs { + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + connectionsConfig?: pulumi.Input; + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + connectorUiConfig: pulumi.Input; + /** + * Gets or sets the connector definition created date in UTC format. + */ + createdTimeUtc?: pulumi.Input; + /** + * The data connector definition name. + */ + dataConnectorDefinitionName?: pulumi.Input; + /** + * The kind of the data connector definitions + * Expected value is 'Customizable'. + */ + kind: pulumi.Input<"Customizable">; + /** + * Gets or sets the connector definition last modified date in UTC format. + */ + lastModifiedUtc?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/dynamics365DataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/dynamics365DataConnector.ts new file mode 100644 index 000000000000..286f889e07c2 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/dynamics365DataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Dynamics365 data connector. + */ +export class Dynamics365DataConnector extends pulumi.CustomResource { + /** + * Get an existing Dynamics365DataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Dynamics365DataConnector { + return new Dynamics365DataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Dynamics365DataConnector'; + + /** + * Returns true if the given object is an instance of Dynamics365DataConnector. 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 Dynamics365DataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Dynamics365DataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'Dynamics365'. + */ + public readonly kind!: pulumi.Output<"Dynamics365">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Dynamics365DataConnector 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: Dynamics365DataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "Dynamics365"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20200101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Dynamics365DataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Dynamics365DataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Dynamics365DataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Dynamics365DataConnector resource. + */ +export interface Dynamics365DataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'Dynamics365'. + */ + kind: pulumi.Input<"Dynamics365">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/entityAnalytics.ts b/sdk/nodejs/securityinsights/v20230901preview/entityAnalytics.ts new file mode 100644 index 000000000000..5c20cc162a2a --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/entityAnalytics.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Settings with single toggle. + */ +export class EntityAnalytics extends pulumi.CustomResource { + /** + * Get an existing EntityAnalytics 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EntityAnalytics { + return new EntityAnalytics(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:EntityAnalytics'; + + /** + * Returns true if the given object is an instance of EntityAnalytics. 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 EntityAnalytics { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EntityAnalytics.__pulumiType; + } + + /** + * The relevant entity providers that are synced + */ + public readonly entityProviders!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the setting + * Expected value is 'EntityAnalytics'. + */ + public readonly kind!: pulumi.Output<"EntityAnalytics">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a EntityAnalytics 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: EntityAnalyticsArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["entityProviders"] = args ? args.entityProviders : undefined; + resourceInputs["kind"] = "EntityAnalytics"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["settingsName"] = args ? args.settingsName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["entityProviders"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EntityAnalytics" }, { type: "azure-native:securityinsights/v20190101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20210901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20211001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220801preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20220901preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221001preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221101preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20221201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230201preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230301preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230401preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230501preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230601preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230701preview:EntityAnalytics" }, { type: "azure-native:securityinsights/v20230801preview:EntityAnalytics" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(EntityAnalytics.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a EntityAnalytics resource. + */ +export interface EntityAnalyticsArgs { + /** + * The relevant entity providers that are synced + */ + entityProviders?: pulumi.Input[]>; + /** + * The kind of the setting + * Expected value is 'EntityAnalytics'. + */ + kind: pulumi.Input<"EntityAnalytics">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/eyesOn.ts b/sdk/nodejs/securityinsights/v20230901preview/eyesOn.ts new file mode 100644 index 000000000000..af3d440b31d3 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/eyesOn.ts @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Settings with single toggle. + */ +export class EyesOn extends pulumi.CustomResource { + /** + * Get an existing EyesOn 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EyesOn { + return new EyesOn(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:EyesOn'; + + /** + * Returns true if the given object is an instance of EyesOn. 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 EyesOn { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EyesOn.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Determines whether the setting is enable or disabled. + */ + public /*out*/ readonly isEnabled!: pulumi.Output; + /** + * The kind of the setting + * Expected value is 'EyesOn'. + */ + public readonly kind!: pulumi.Output<"EyesOn">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a EyesOn 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: EyesOnArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["kind"] = "EyesOn"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["settingsName"] = args ? args.settingsName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["isEnabled"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["isEnabled"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:EyesOn" }, { type: "azure-native:securityinsights/v20190101preview:EyesOn" }, { type: "azure-native:securityinsights/v20210301preview:EyesOn" }, { type: "azure-native:securityinsights/v20210901preview:EyesOn" }, { type: "azure-native:securityinsights/v20211001preview:EyesOn" }, { type: "azure-native:securityinsights/v20220101preview:EyesOn" }, { type: "azure-native:securityinsights/v20220401preview:EyesOn" }, { type: "azure-native:securityinsights/v20220501preview:EyesOn" }, { type: "azure-native:securityinsights/v20220601preview:EyesOn" }, { type: "azure-native:securityinsights/v20220701preview:EyesOn" }, { type: "azure-native:securityinsights/v20220801preview:EyesOn" }, { type: "azure-native:securityinsights/v20220901preview:EyesOn" }, { type: "azure-native:securityinsights/v20221001preview:EyesOn" }, { type: "azure-native:securityinsights/v20221101preview:EyesOn" }, { type: "azure-native:securityinsights/v20221201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230201preview:EyesOn" }, { type: "azure-native:securityinsights/v20230301preview:EyesOn" }, { type: "azure-native:securityinsights/v20230401preview:EyesOn" }, { type: "azure-native:securityinsights/v20230501preview:EyesOn" }, { type: "azure-native:securityinsights/v20230601preview:EyesOn" }, { type: "azure-native:securityinsights/v20230701preview:EyesOn" }, { type: "azure-native:securityinsights/v20230801preview:EyesOn" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(EyesOn.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a EyesOn resource. + */ +export interface EyesOnArgs { + /** + * The kind of the setting + * Expected value is 'EyesOn'. + */ + kind: pulumi.Input<"EyesOn">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/fileImport.ts b/sdk/nodejs/securityinsights/v20230901preview/fileImport.ts new file mode 100644 index 000000000000..f6f87643086e --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/fileImport.ts @@ -0,0 +1,210 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a file import in Azure Security Insights. + */ +export class FileImport extends pulumi.CustomResource { + /** + * Get an existing FileImport 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FileImport { + return new FileImport(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:FileImport'; + + /** + * Returns true if the given object is an instance of FileImport. 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 FileImport { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === FileImport.__pulumiType; + } + + /** + * The content type of this file. + */ + public readonly contentType!: pulumi.Output; + /** + * The time the file was imported. + */ + public /*out*/ readonly createdTimeUTC!: pulumi.Output; + /** + * Represents the error file (if the import was ingested with errors or failed the validation). + */ + public /*out*/ readonly errorFile!: pulumi.Output; + /** + * An ordered list of some of the errors that were encountered during validation. + */ + public /*out*/ readonly errorsPreview!: pulumi.Output; + /** + * The time the files associated with this import are deleted from the storage account. + */ + public /*out*/ readonly filesValidUntilTimeUTC!: pulumi.Output; + /** + * Represents the imported file. + */ + public readonly importFile!: pulumi.Output; + /** + * The time the file import record is soft deleted from the database and history. + */ + public /*out*/ readonly importValidUntilTimeUTC!: pulumi.Output; + /** + * The number of records that have been successfully ingested. + */ + public /*out*/ readonly ingestedRecordCount!: pulumi.Output; + /** + * Describes how to ingest the records in the file. + */ + public readonly ingestionMode!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The source for the data in the file. + */ + public readonly source!: pulumi.Output; + /** + * The state of the file import. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The number of records in the file. + */ + public /*out*/ readonly totalRecordCount!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The number of records that have passed validation. + */ + public /*out*/ readonly validRecordCount!: pulumi.Output; + + /** + * Create a FileImport 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: FileImportArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.contentType === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentType'"); + } + if ((!args || args.importFile === undefined) && !opts.urn) { + throw new Error("Missing required property 'importFile'"); + } + if ((!args || args.ingestionMode === undefined) && !opts.urn) { + throw new Error("Missing required property 'ingestionMode'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.source === undefined) && !opts.urn) { + throw new Error("Missing required property 'source'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["contentType"] = args ? args.contentType : undefined; + resourceInputs["fileImportId"] = args ? args.fileImportId : undefined; + resourceInputs["importFile"] = args ? args.importFile : undefined; + resourceInputs["ingestionMode"] = args ? args.ingestionMode : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["createdTimeUTC"] = undefined /*out*/; + resourceInputs["errorFile"] = undefined /*out*/; + resourceInputs["errorsPreview"] = undefined /*out*/; + resourceInputs["filesValidUntilTimeUTC"] = undefined /*out*/; + resourceInputs["importValidUntilTimeUTC"] = undefined /*out*/; + resourceInputs["ingestedRecordCount"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["totalRecordCount"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validRecordCount"] = undefined /*out*/; + } else { + resourceInputs["contentType"] = undefined /*out*/; + resourceInputs["createdTimeUTC"] = undefined /*out*/; + resourceInputs["errorFile"] = undefined /*out*/; + resourceInputs["errorsPreview"] = undefined /*out*/; + resourceInputs["filesValidUntilTimeUTC"] = undefined /*out*/; + resourceInputs["importFile"] = undefined /*out*/; + resourceInputs["importValidUntilTimeUTC"] = undefined /*out*/; + resourceInputs["ingestedRecordCount"] = undefined /*out*/; + resourceInputs["ingestionMode"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["source"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["totalRecordCount"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["validRecordCount"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FileImport" }, { type: "azure-native:securityinsights/v20220801preview:FileImport" }, { type: "azure-native:securityinsights/v20220901preview:FileImport" }, { type: "azure-native:securityinsights/v20221001preview:FileImport" }, { type: "azure-native:securityinsights/v20221101preview:FileImport" }, { type: "azure-native:securityinsights/v20221201preview:FileImport" }, { type: "azure-native:securityinsights/v20230201preview:FileImport" }, { type: "azure-native:securityinsights/v20230301preview:FileImport" }, { type: "azure-native:securityinsights/v20230401preview:FileImport" }, { type: "azure-native:securityinsights/v20230501preview:FileImport" }, { type: "azure-native:securityinsights/v20230601preview:FileImport" }, { type: "azure-native:securityinsights/v20230701preview:FileImport" }, { type: "azure-native:securityinsights/v20230801preview:FileImport" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(FileImport.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a FileImport resource. + */ +export interface FileImportArgs { + /** + * The content type of this file. + */ + contentType: pulumi.Input; + /** + * File import ID + */ + fileImportId?: pulumi.Input; + /** + * Represents the imported file. + */ + importFile: pulumi.Input; + /** + * Describes how to ingest the records in the file. + */ + ingestionMode: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The source for the data in the file. + */ + source: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/fusionAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/fusionAlertRule.ts new file mode 100644 index 000000000000..1ef387275f4c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/fusionAlertRule.ts @@ -0,0 +1,207 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Fusion alert rule. + */ +export class FusionAlertRule extends pulumi.CustomResource { + /** + * Get an existing FusionAlertRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): FusionAlertRule { + return new FusionAlertRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:FusionAlertRule'; + + /** + * Returns true if the given object is an instance of FusionAlertRule. 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 FusionAlertRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === FusionAlertRule.__pulumiType; + } + + /** + * The Name of the alert rule template used to create this rule. + */ + public readonly alertRuleTemplateName!: pulumi.Output; + /** + * The description of the alert rule. + */ + public /*out*/ readonly description!: pulumi.Output; + /** + * The display name for alerts created by this alert rule. + */ + public /*out*/ readonly displayName!: pulumi.Output; + /** + * Determines whether this alert rule is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the alert rule + * Expected value is 'Fusion'. + */ + public readonly kind!: pulumi.Output<"Fusion">; + /** + * The last time that this alert has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Configuration to exclude scenarios in fusion detection. + */ + public readonly scenarioExclusionPatterns!: pulumi.Output; + /** + * The severity for alerts created by this alert rule. + */ + public /*out*/ readonly severity!: pulumi.Output; + /** + * Configuration for all supported source signals in fusion detection. + */ + public readonly sourceSettings!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tactics of the alert rule + */ + public /*out*/ readonly tactics!: pulumi.Output; + /** + * The techniques of the alert rule + */ + public /*out*/ readonly techniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a FusionAlertRule 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: FusionAlertRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.alertRuleTemplateName === undefined) && !opts.urn) { + throw new Error("Missing required property 'alertRuleTemplateName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["alertRuleTemplateName"] = args ? args.alertRuleTemplateName : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["kind"] = "Fusion"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["scenarioExclusionPatterns"] = args ? args.scenarioExclusionPatterns : undefined; + resourceInputs["sourceSettings"] = args ? args.sourceSettings : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["alertRuleTemplateName"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["scenarioExclusionPatterns"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["sourceSettings"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:FusionAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20200101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001:FusionAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:FusionAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:FusionAlertRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(FusionAlertRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a FusionAlertRule resource. + */ +export interface FusionAlertRuleArgs { + /** + * The Name of the alert rule template used to create this rule. + */ + alertRuleTemplateName: pulumi.Input; + /** + * Determines whether this alert rule is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * The kind of the alert rule + * Expected value is 'Fusion'. + */ + kind: pulumi.Input<"Fusion">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId?: pulumi.Input; + /** + * Configuration to exclude scenarios in fusion detection. + */ + scenarioExclusionPatterns?: pulumi.Input[]>; + /** + * Configuration for all supported source signals in fusion detection. + */ + sourceSettings?: pulumi.Input[]>; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/gcpdataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/gcpdataConnector.ts new file mode 100644 index 000000000000..7dd783e41cca --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/gcpdataConnector.ts @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Google Cloud Platform data connector. + */ +export class GCPDataConnector extends pulumi.CustomResource { + /** + * Get an existing GCPDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GCPDataConnector { + return new GCPDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:GCPDataConnector'; + + /** + * Returns true if the given object is an instance of GCPDataConnector. 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 GCPDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GCPDataConnector.__pulumiType; + } + + /** + * The auth section of the connector. + */ + public readonly auth!: pulumi.Output; + /** + * The name of the connector definition that represents the UI config. + */ + public readonly connectorDefinitionName!: pulumi.Output; + /** + * The configuration of the destination of the data. + */ + public readonly dcrConfig!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'GCP'. + */ + public readonly kind!: pulumi.Output<"GCP">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The request section of the connector. + */ + public readonly request!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GCPDataConnector 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: GCPDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.auth === undefined) && !opts.urn) { + throw new Error("Missing required property 'auth'"); + } + if ((!args || args.connectorDefinitionName === undefined) && !opts.urn) { + throw new Error("Missing required property 'connectorDefinitionName'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.request === undefined) && !opts.urn) { + throw new Error("Missing required property 'request'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["auth"] = args ? args.auth : undefined; + resourceInputs["connectorDefinitionName"] = args ? args.connectorDefinitionName : undefined; + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dcrConfig"] = args ? args.dcrConfig : undefined; + resourceInputs["kind"] = "GCP"; + resourceInputs["request"] = args ? args.request : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["auth"] = undefined /*out*/; + resourceInputs["connectorDefinitionName"] = undefined /*out*/; + resourceInputs["dcrConfig"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["request"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:GCPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20200101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001:GCPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:GCPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:GCPDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GCPDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GCPDataConnector resource. + */ +export interface GCPDataConnectorArgs { + /** + * The auth section of the connector. + */ + auth: pulumi.Input; + /** + * The name of the connector definition that represents the UI config. + */ + connectorDefinitionName: pulumi.Input; + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The configuration of the destination of the data. + */ + dcrConfig?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'GCP'. + */ + kind: pulumi.Input<"GCP">; + /** + * The request section of the connector. + */ + request: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAADDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getAADDataConnector.ts new file mode 100644 index 000000000000..4b853d269f57 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAADDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getAADDataConnector(args: GetAADDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAADDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAADDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents AADIP (Azure Active Directory Identity Protection) data connector. + */ +export interface GetAADDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'AzureActiveDirectory'. + */ + readonly kind: "AzureActiveDirectory"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getAADDataConnectorOutput(args: GetAADDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAADDataConnector(a, opts)) +} + +export interface GetAADDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getAATPDataConnector.ts new file mode 100644 index 000000000000..56e1d7dc4914 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAATPDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getAATPDataConnector(args: GetAATPDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAATPDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAATPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents AATP (Azure Advanced Threat Protection) data connector. + */ +export interface GetAATPDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'AzureAdvancedThreatProtection'. + */ + readonly kind: "AzureAdvancedThreatProtection"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getAATPDataConnectorOutput(args: GetAATPDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAATPDataConnector(a, opts)) +} + +export interface GetAATPDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getASCDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getASCDataConnector.ts new file mode 100644 index 000000000000..2f92241f1906 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getASCDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getASCDataConnector(args: GetASCDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getASCDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetASCDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents ASC (Azure Security Center) data connector. + */ +export interface GetASCDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'AzureSecurityCenter'. + */ + readonly kind: "AzureSecurityCenter"; + /** + * The name of the resource + */ + readonly name: string; + /** + * The subscription id to connect to, and get the data from. + */ + readonly subscriptionId?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getASCDataConnectorOutput(args: GetASCDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getASCDataConnector(a, opts)) +} + +export interface GetASCDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAction.ts b/sdk/nodejs/securityinsights/v20230901preview/getAction.ts new file mode 100644 index 000000000000..290c23d2f6df --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAction.ts @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the action of alert rule. + */ +export function getAction(args: GetActionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAction", { + "actionId": args.actionId, + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetActionArgs { + /** + * Action ID + */ + actionId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Action for alert rule. + */ +export interface GetActionResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + */ + readonly logicAppResourceId: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The name of the logic app's workflow. + */ + readonly workflowId?: string; +} +/** + * Gets the action of alert rule. + */ +export function getActionOutput(args: GetActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAction(a, opts)) +} + +export interface GetActionOutputArgs { + /** + * Action ID + */ + actionId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getActivityCustomEntityQuery.ts b/sdk/nodejs/securityinsights/v20230901preview/getActivityCustomEntityQuery.ts new file mode 100644 index 000000000000..3fd6049e1c8b --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getActivityCustomEntityQuery.ts @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an entity query. + */ +export function getActivityCustomEntityQuery(args: GetActivityCustomEntityQueryArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getActivityCustomEntityQuery", { + "entityQueryId": args.entityQueryId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetActivityCustomEntityQueryArgs { + /** + * entity query ID + */ + entityQueryId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Activity entity query. + */ +export interface GetActivityCustomEntityQueryResult { + /** + * The entity query content to display in timeline + */ + readonly content?: string; + /** + * The time the activity was created + */ + readonly createdTimeUtc: string; + /** + * The entity query description + */ + readonly description?: string; + /** + * Determines whether this activity is enabled or disabled. + */ + readonly enabled?: boolean; + /** + * The query applied only to entities matching to all filters + */ + readonly entitiesFilter?: {[key: string]: string[]}; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The type of the query's source entity + */ + readonly inputEntityType?: string; + /** + * The kind of the entity query + * Expected value is 'Activity'. + */ + readonly kind: "Activity"; + /** + * The last time the activity was updated + */ + readonly lastModifiedTimeUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The Activity query definitions + */ + readonly queryDefinitions?: outputs.securityinsights.v20230901preview.ActivityEntityQueriesPropertiesResponseQueryDefinitions; + /** + * List of the fields of the source entity that are required to run the query + */ + readonly requiredInputFieldsSets?: string[][]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The template id this activity was created from + */ + readonly templateName?: string; + /** + * The entity query title + */ + readonly title?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an entity query. + */ +export function getActivityCustomEntityQueryOutput(args: GetActivityCustomEntityQueryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getActivityCustomEntityQuery(a, opts)) +} + +export interface GetActivityCustomEntityQueryOutputArgs { + /** + * entity query ID + */ + entityQueryId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAnomalies.ts b/sdk/nodejs/securityinsights/v20230901preview/getAnomalies.ts new file mode 100644 index 000000000000..9776193bb0b2 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAnomalies.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a setting. + */ +export function getAnomalies(args: GetAnomaliesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAnomalies", { + "resourceGroupName": args.resourceGroupName, + "settingsName": args.settingsName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAnomaliesArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Settings with single toggle. + */ +export interface GetAnomaliesResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Determines whether the setting is enable or disabled. + */ + readonly isEnabled: boolean; + /** + * The kind of the setting + * Expected value is 'Anomalies'. + */ + readonly kind: "Anomalies"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a setting. + */ +export function getAnomaliesOutput(args: GetAnomaliesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAnomalies(a, opts)) +} + +export interface GetAnomaliesOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAnomalySecurityMLAnalyticsSettings.ts b/sdk/nodejs/securityinsights/v20230901preview/getAnomalySecurityMLAnalyticsSettings.ts new file mode 100644 index 000000000000..ea43e0f1d65b --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAnomalySecurityMLAnalyticsSettings.ts @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the Security ML Analytics Settings. + */ +export function getAnomalySecurityMLAnalyticsSettings(args: GetAnomalySecurityMLAnalyticsSettingsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAnomalySecurityMLAnalyticsSettings", { + "resourceGroupName": args.resourceGroupName, + "settingsResourceName": args.settingsResourceName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAnomalySecurityMLAnalyticsSettingsArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Security ML Analytics Settings resource name + */ + settingsResourceName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Anomaly Security ML Analytics Settings + */ +export interface GetAnomalySecurityMLAnalyticsSettingsResult { + /** + * The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + */ + readonly anomalySettingsVersion?: number; + /** + * The anomaly version of the AnomalySecurityMLAnalyticsSettings. + */ + readonly anomalyVersion: string; + /** + * The customizable observations of the AnomalySecurityMLAnalyticsSettings. + */ + readonly customizableObservations?: any; + /** + * The description of the SecurityMLAnalyticsSettings. + */ + readonly description?: string; + /** + * The display name for settings created by this SecurityMLAnalyticsSettings. + */ + readonly displayName: string; + /** + * Determines whether this settings is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The frequency that this SecurityMLAnalyticsSettings will be run. + */ + readonly frequency: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Determines whether this anomaly security ml analytics settings is a default settings + */ + readonly isDefaultSettings: boolean; + /** + * The kind of security ML analytics settings + * Expected value is 'Anomaly'. + */ + readonly kind: "Anomaly"; + /** + * The last time that this SecurityMLAnalyticsSettings has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The required data sources for this SecurityMLAnalyticsSettings + */ + readonly requiredDataConnectors?: outputs.securityinsights.v20230901preview.SecurityMLAnalyticsSettingsDataSourceResponse[]; + /** + * The anomaly settings definition Id + */ + readonly settingsDefinitionId?: string; + /** + * The anomaly SecurityMLAnalyticsSettings status + */ + readonly settingsStatus: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tactics of the SecurityMLAnalyticsSettings + */ + readonly tactics?: string[]; + /** + * The techniques of the SecurityMLAnalyticsSettings + */ + readonly techniques?: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the Security ML Analytics Settings. + */ +export function getAnomalySecurityMLAnalyticsSettingsOutput(args: GetAnomalySecurityMLAnalyticsSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAnomalySecurityMLAnalyticsSettings(a, opts)) +} + +export interface GetAnomalySecurityMLAnalyticsSettingsOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Security ML Analytics Settings resource name + */ + settingsResourceName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAutomationRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getAutomationRule.ts new file mode 100644 index 000000000000..af5604d1e1ac --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAutomationRule.ts @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the automation rule. + */ +export function getAutomationRule(args: GetAutomationRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAutomationRule", { + "automationRuleId": args.automationRuleId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAutomationRuleArgs { + /** + * Automation rule ID + */ + automationRuleId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +export interface GetAutomationRuleResult { + /** + * The actions to execute when the automation rule is triggered. + */ + readonly actions: (outputs.securityinsights.v20230901preview.AutomationRuleAddIncidentTaskActionResponse | outputs.securityinsights.v20230901preview.AutomationRuleModifyPropertiesActionResponse | outputs.securityinsights.v20230901preview.AutomationRuleRunPlaybookActionResponse)[]; + /** + * Information on the client (user or application) that made some action + */ + readonly createdBy: outputs.securityinsights.v20230901preview.ClientInfoResponse; + /** + * The time the automation rule was created. + */ + readonly createdTimeUtc: string; + /** + * The display name of the automation rule. + */ + readonly displayName: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Information on the client (user or application) that made some action + */ + readonly lastModifiedBy: outputs.securityinsights.v20230901preview.ClientInfoResponse; + /** + * The last time the automation rule was updated. + */ + readonly lastModifiedTimeUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The order of execution of the automation rule. + */ + readonly order: number; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * Describes automation rule triggering logic. + */ + readonly triggeringLogic: outputs.securityinsights.v20230901preview.AutomationRuleTriggeringLogicResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the automation rule. + */ +export function getAutomationRuleOutput(args: GetAutomationRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAutomationRule(a, opts)) +} + +export interface GetAutomationRuleOutputArgs { + /** + * Automation rule ID + */ + automationRuleId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAwsCloudTrailDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getAwsCloudTrailDataConnector.ts new file mode 100644 index 000000000000..5279885fa317 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAwsCloudTrailDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getAwsCloudTrailDataConnector(args: GetAwsCloudTrailDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAwsCloudTrailDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAwsCloudTrailDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Amazon Web Services CloudTrail data connector. + */ +export interface GetAwsCloudTrailDataConnectorResult { + /** + * The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + */ + readonly awsRoleArn?: string; + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.AwsCloudTrailDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'AmazonWebServicesCloudTrail'. + */ + readonly kind: "AmazonWebServicesCloudTrail"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getAwsCloudTrailDataConnectorOutput(args: GetAwsCloudTrailDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAwsCloudTrailDataConnector(a, opts)) +} + +export interface GetAwsCloudTrailDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getAwsS3DataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getAwsS3DataConnector.ts new file mode 100644 index 000000000000..bb7454bb35e6 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getAwsS3DataConnector.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getAwsS3DataConnector(args: GetAwsS3DataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getAwsS3DataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetAwsS3DataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Amazon Web Services S3 data connector. + */ +export interface GetAwsS3DataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.AwsS3DataConnectorDataTypesResponse; + /** + * The logs destination table name in LogAnalytics. + */ + readonly destinationTable: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'AmazonWebServicesS3'. + */ + readonly kind: "AmazonWebServicesS3"; + /** + * The name of the resource + */ + readonly name: string; + /** + * The Aws Role Arn that is used to access the Aws account. + */ + readonly roleArn: string; + /** + * The AWS sqs urls for the connector. + */ + readonly sqsUrls: string[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getAwsS3DataConnectorOutput(args: GetAwsS3DataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAwsS3DataConnector(a, opts)) +} + +export interface GetAwsS3DataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getBookmark.ts b/sdk/nodejs/securityinsights/v20230901preview/getBookmark.ts new file mode 100644 index 000000000000..396516d17736 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getBookmark.ts @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a bookmark. + */ +export function getBookmark(args: GetBookmarkArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getBookmark", { + "bookmarkId": args.bookmarkId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetBookmarkArgs { + /** + * Bookmark ID + */ + bookmarkId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a bookmark in Azure Security Insights. + */ +export interface GetBookmarkResult { + /** + * The time the bookmark was created + */ + readonly created?: string; + /** + * Describes a user that created the bookmark + */ + readonly createdBy?: outputs.securityinsights.v20230901preview.UserInfoResponse; + /** + * The display name of the bookmark + */ + readonly displayName: string; + /** + * Describes the entity mappings of the bookmark + */ + readonly entityMappings?: outputs.securityinsights.v20230901preview.BookmarkEntityMappingsResponse[]; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The bookmark event time + */ + readonly eventTime?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Describes an incident that relates to bookmark + */ + readonly incidentInfo?: outputs.securityinsights.v20230901preview.IncidentInfoResponse; + /** + * List of labels relevant to this bookmark + */ + readonly labels?: string[]; + /** + * The name of the resource + */ + readonly name: string; + /** + * The notes of the bookmark + */ + readonly notes?: string; + /** + * The query of the bookmark. + */ + readonly query: string; + /** + * The end time for the query + */ + readonly queryEndTime?: string; + /** + * The query result of the bookmark. + */ + readonly queryResult?: string; + /** + * The start time for the query + */ + readonly queryStartTime?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * A list of relevant mitre attacks + */ + readonly tactics?: string[]; + /** + * A list of relevant mitre techniques + */ + readonly techniques?: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The last time the bookmark was updated + */ + readonly updated?: string; + /** + * Describes a user that updated the bookmark + */ + readonly updatedBy?: outputs.securityinsights.v20230901preview.UserInfoResponse; +} +/** + * Gets a bookmark. + */ +export function getBookmarkOutput(args: GetBookmarkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getBookmark(a, opts)) +} + +export interface GetBookmarkOutputArgs { + /** + * Bookmark ID + */ + bookmarkId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getBookmarkRelation.ts b/sdk/nodejs/securityinsights/v20230901preview/getBookmarkRelation.ts new file mode 100644 index 000000000000..d2c7374248c0 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getBookmarkRelation.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a bookmark relation. + */ +export function getBookmarkRelation(args: GetBookmarkRelationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getBookmarkRelation", { + "bookmarkId": args.bookmarkId, + "relationName": args.relationName, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetBookmarkRelationArgs { + /** + * Bookmark ID + */ + bookmarkId: string; + /** + * Relation Name + */ + relationName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a relation between two resources + */ +export interface GetBookmarkRelationResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The resource ID of the related resource + */ + readonly relatedResourceId: string; + /** + * The resource kind of the related resource + */ + readonly relatedResourceKind: string; + /** + * The name of the related resource + */ + readonly relatedResourceName: string; + /** + * The resource type of the related resource + */ + readonly relatedResourceType: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a bookmark relation. + */ +export function getBookmarkRelationOutput(args: GetBookmarkRelationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getBookmarkRelation(a, opts)) +} + +export interface GetBookmarkRelationOutputArgs { + /** + * Bookmark ID + */ + bookmarkId: pulumi.Input; + /** + * Relation Name + */ + relationName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getCodelessApiPollingDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getCodelessApiPollingDataConnector.ts new file mode 100644 index 000000000000..47125fe46148 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getCodelessApiPollingDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getCodelessApiPollingDataConnector(args: GetCodelessApiPollingDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getCodelessApiPollingDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetCodelessApiPollingDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Codeless API Polling data connector. + */ +export interface GetCodelessApiPollingDataConnectorResult { + /** + * Config to describe the instructions blade + */ + readonly connectorUiConfig?: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'APIPolling'. + */ + readonly kind: "APIPolling"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Config to describe the polling instructions + */ + readonly pollingConfig?: outputs.securityinsights.v20230901preview.CodelessConnectorPollingConfigPropertiesResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getCodelessApiPollingDataConnectorOutput(args: GetCodelessApiPollingDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCodelessApiPollingDataConnector(a, opts)) +} + +export interface GetCodelessApiPollingDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getCodelessUiDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getCodelessUiDataConnector.ts new file mode 100644 index 000000000000..d3100545685d --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getCodelessUiDataConnector.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getCodelessUiDataConnector(args: GetCodelessUiDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getCodelessUiDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetCodelessUiDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Codeless UI data connector. + */ +export interface GetCodelessUiDataConnectorResult { + /** + * Config to describe the instructions blade + */ + readonly connectorUiConfig?: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'GenericUI'. + */ + readonly kind: "GenericUI"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getCodelessUiDataConnectorOutput(args: GetCodelessUiDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCodelessUiDataConnector(a, opts)) +} + +export interface GetCodelessUiDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getContentPackage.ts b/sdk/nodejs/securityinsights/v20230901preview/getContentPackage.ts new file mode 100644 index 000000000000..b2ad9e82372b --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getContentPackage.ts @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an installed packages by its id. + */ +export function getContentPackage(args: GetContentPackageArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getContentPackage", { + "packageId": args.packageId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetContentPackageArgs { + /** + * package Id + */ + packageId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a Package in Azure Security Insights. + */ +export interface GetContentPackageResult { + /** + * The author of the package + */ + readonly author?: outputs.securityinsights.v20230901preview.MetadataAuthorResponse; + /** + * The categories of the package + */ + readonly categories?: outputs.securityinsights.v20230901preview.MetadataCategoriesResponse; + /** + * The content id of the package + */ + readonly contentId: string; + /** + * The package kind + */ + readonly contentKind: string; + /** + * Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + */ + readonly contentProductId: string; + /** + * The version of the content schema. + */ + readonly contentSchemaVersion?: string; + /** + * The support tier of the package + */ + readonly dependencies?: outputs.securityinsights.v20230901preview.MetadataDependenciesResponse; + /** + * The description of the package + */ + readonly description?: string; + /** + * The display name of the package + */ + readonly displayName: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * first publish date package item + */ + readonly firstPublishDate?: string; + /** + * the icon identifier. this id can later be fetched from the content metadata + */ + readonly icon?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Flag indicates if this package is among the featured list. + */ + readonly isFeatured?: string; + /** + * Flag indicates if this is a newly published package. + */ + readonly isNew?: string; + /** + * Flag indicates if this package is in preview. + */ + readonly isPreview?: string; + /** + * last publish date for the package item + */ + readonly lastPublishDate?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Providers for the package item + */ + readonly providers?: string[]; + /** + * The publisher display name of the package + */ + readonly publisherDisplayName?: string; + /** + * The source of the package + */ + readonly source?: outputs.securityinsights.v20230901preview.MetadataSourceResponse; + /** + * The support tier of the package + */ + readonly support?: outputs.securityinsights.v20230901preview.MetadataSupportResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * the tactics the resource covers + */ + readonly threatAnalysisTactics?: string[]; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + readonly threatAnalysisTechniques?: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * the latest version number of the package + */ + readonly version: string; +} +/** + * Gets an installed packages by its id. + */ +export function getContentPackageOutput(args: GetContentPackageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getContentPackage(a, opts)) +} + +export interface GetContentPackageOutputArgs { + /** + * package Id + */ + packageId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getContentTemplate.ts b/sdk/nodejs/securityinsights/v20230901preview/getContentTemplate.ts new file mode 100644 index 000000000000..aa092169e556 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getContentTemplate.ts @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a template byt its identifier. + */ +export function getContentTemplate(args: GetContentTemplateArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getContentTemplate", { + "resourceGroupName": args.resourceGroupName, + "templateId": args.templateId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetContentTemplateArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * template Id + */ + templateId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Template resource definition. + */ +export interface GetContentTemplateResult { + /** + * The creator of the content item. + */ + readonly author?: outputs.securityinsights.v20230901preview.MetadataAuthorResponse; + /** + * Categories for the item + */ + readonly categories?: outputs.securityinsights.v20230901preview.MetadataCategoriesResponse; + /** + * Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + */ + readonly contentId: string; + /** + * The kind of content the template is for. + */ + readonly contentKind: string; + /** + * Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + */ + readonly contentProductId: string; + /** + * Schema version of the content. Can be used to distinguish between different flow based on the schema version + */ + readonly contentSchemaVersion?: string; + /** + * The custom version of the content. A optional free text + */ + readonly customVersion?: string; + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + */ + readonly dependencies?: outputs.securityinsights.v20230901preview.MetadataDependenciesResponse; + /** + * The display name of the template + */ + readonly displayName: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * first publish date content item + */ + readonly firstPublishDate?: string; + /** + * the icon identifier. this id can later be fetched from the content metadata + */ + readonly icon?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * last publish date for the content item + */ + readonly lastPublishDate?: string; + /** + * The JSON of the ARM template to deploy active content + */ + readonly mainTemplate?: any; + /** + * The name of the resource + */ + readonly name: string; + /** + * the package Id contains this template + */ + readonly packageId: string; + /** + * the packageKind of the package contains this template + */ + readonly packageKind?: string; + /** + * the name of the package contains this template + */ + readonly packageName?: string; + /** + * Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + */ + readonly packageVersion: string; + /** + * preview image file names. These will be taken from the solution artifacts + */ + readonly previewImages?: string[]; + /** + * preview image file names. These will be taken from the solution artifacts. used for dark theme support + */ + readonly previewImagesDark?: string[]; + /** + * Providers for the content item + */ + readonly providers?: string[]; + /** + * Source of the content. This is where/how it was created. + */ + readonly source: outputs.securityinsights.v20230901preview.MetadataSourceResponse; + /** + * Support information for the template - type, name, contact information + */ + readonly support?: outputs.securityinsights.v20230901preview.MetadataSupportResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * the tactics the resource covers + */ + readonly threatAnalysisTactics?: string[]; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + readonly threatAnalysisTechniques?: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + */ + readonly version: string; +} +/** + * Gets a template byt its identifier. + */ +export function getContentTemplateOutput(args: GetContentTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getContentTemplate(a, opts)) +} + +export interface GetContentTemplateOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * template Id + */ + templateId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getCustomizableConnectorDefinition.ts b/sdk/nodejs/securityinsights/v20230901preview/getCustomizableConnectorDefinition.ts new file mode 100644 index 000000000000..144f28a4d3b8 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getCustomizableConnectorDefinition.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector definition. + */ +export function getCustomizableConnectorDefinition(args: GetCustomizableConnectorDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getCustomizableConnectorDefinition", { + "dataConnectorDefinitionName": args.dataConnectorDefinitionName, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetCustomizableConnectorDefinitionArgs { + /** + * The data connector definition name. + */ + dataConnectorDefinitionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Connector definition for kind 'Customizable'. + */ +export interface GetCustomizableConnectorDefinitionResult { + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + readonly connectionsConfig?: outputs.securityinsights.v20230901preview.CustomizableConnectionsConfigResponse; + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + readonly connectorUiConfig: outputs.securityinsights.v20230901preview.CustomizableConnectorUiConfigResponse; + /** + * Gets or sets the connector definition created date in UTC format. + */ + readonly createdTimeUtc?: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector definitions + * Expected value is 'Customizable'. + */ + readonly kind: "Customizable"; + /** + * Gets or sets the connector definition last modified date in UTC format. + */ + readonly lastModifiedUtc?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector definition. + */ +export function getCustomizableConnectorDefinitionOutput(args: GetCustomizableConnectorDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCustomizableConnectorDefinition(a, opts)) +} + +export interface GetCustomizableConnectorDefinitionOutputArgs { + /** + * The data connector definition name. + */ + dataConnectorDefinitionName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getDynamics365DataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getDynamics365DataConnector.ts new file mode 100644 index 000000000000..54733f429c86 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getDynamics365DataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getDynamics365DataConnector(args: GetDynamics365DataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getDynamics365DataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetDynamics365DataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Dynamics365 data connector. + */ +export interface GetDynamics365DataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.Dynamics365DataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'Dynamics365'. + */ + readonly kind: "Dynamics365"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getDynamics365DataConnectorOutput(args: GetDynamics365DataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDynamics365DataConnector(a, opts)) +} + +export interface GetDynamics365DataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getEntitiesGetTimeline.ts b/sdk/nodejs/securityinsights/v20230901preview/getEntitiesGetTimeline.ts new file mode 100644 index 000000000000..5cb6c5d79767 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getEntitiesGetTimeline.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Timeline for an entity. + */ +export function getEntitiesGetTimeline(args: GetEntitiesGetTimelineArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getEntitiesGetTimeline", { + "endTime": args.endTime, + "entityId": args.entityId, + "kinds": args.kinds, + "numberOfBucket": args.numberOfBucket, + "resourceGroupName": args.resourceGroupName, + "startTime": args.startTime, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetEntitiesGetTimelineArgs { + /** + * The end timeline date, so the results returned are before this date. + */ + endTime: string; + /** + * entity ID + */ + entityId: string; + /** + * Array of timeline Item kinds. + */ + kinds?: (string | enums.securityinsights.v20230901preview.EntityTimelineKind)[]; + /** + * The number of bucket for timeline queries aggregation. + */ + numberOfBucket?: number; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The start timeline date, so the results returned are after this date. + */ + startTime: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * The entity timeline result operation response. + */ +export interface GetEntitiesGetTimelineResult { + /** + * The metadata from the timeline operation results. + */ + readonly metaData?: outputs.securityinsights.v20230901preview.TimelineResultsMetadataResponse; + /** + * The timeline result values. + */ + readonly value?: (outputs.securityinsights.v20230901preview.ActivityTimelineItemResponse | outputs.securityinsights.v20230901preview.AnomalyTimelineItemResponse | outputs.securityinsights.v20230901preview.BookmarkTimelineItemResponse | outputs.securityinsights.v20230901preview.SecurityAlertTimelineItemResponse)[]; +} +/** + * Timeline for an entity. + */ +export function getEntitiesGetTimelineOutput(args: GetEntitiesGetTimelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEntitiesGetTimeline(a, opts)) +} + +export interface GetEntitiesGetTimelineOutputArgs { + /** + * The end timeline date, so the results returned are before this date. + */ + endTime: pulumi.Input; + /** + * entity ID + */ + entityId: pulumi.Input; + /** + * Array of timeline Item kinds. + */ + kinds?: pulumi.Input[]>; + /** + * The number of bucket for timeline queries aggregation. + */ + numberOfBucket?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The start timeline date, so the results returned are after this date. + */ + startTime: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getEntityAnalytics.ts b/sdk/nodejs/securityinsights/v20230901preview/getEntityAnalytics.ts new file mode 100644 index 000000000000..f41ed3546ade --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getEntityAnalytics.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a setting. + */ +export function getEntityAnalytics(args: GetEntityAnalyticsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getEntityAnalytics", { + "resourceGroupName": args.resourceGroupName, + "settingsName": args.settingsName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetEntityAnalyticsArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Settings with single toggle. + */ +export interface GetEntityAnalyticsResult { + /** + * The relevant entity providers that are synced + */ + readonly entityProviders?: string[]; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the setting + * Expected value is 'EntityAnalytics'. + */ + readonly kind: "EntityAnalytics"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a setting. + */ +export function getEntityAnalyticsOutput(args: GetEntityAnalyticsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEntityAnalytics(a, opts)) +} + +export interface GetEntityAnalyticsOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getEntityInsights.ts b/sdk/nodejs/securityinsights/v20230901preview/getEntityInsights.ts new file mode 100644 index 000000000000..6c0b9c77742c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getEntityInsights.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Execute Insights for an entity. + */ +export function getEntityInsights(args: GetEntityInsightsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getEntityInsights", { + "addDefaultExtendedTimeRange": args.addDefaultExtendedTimeRange, + "endTime": args.endTime, + "entityId": args.entityId, + "insightQueryIds": args.insightQueryIds, + "resourceGroupName": args.resourceGroupName, + "startTime": args.startTime, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetEntityInsightsArgs { + /** + * Indicates if query time range should be extended with default time range of the query. Default value is false + */ + addDefaultExtendedTimeRange?: boolean; + /** + * The end timeline date, so the results returned are before this date. + */ + endTime: string; + /** + * entity ID + */ + entityId: string; + /** + * List of Insights Query Id. If empty, default value is all insights of this entity + */ + insightQueryIds?: string[]; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The start timeline date, so the results returned are after this date. + */ + startTime: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * The Get Insights result operation response. + */ +export interface GetEntityInsightsResult { + /** + * The metadata from the get insights operation results. + */ + readonly metaData?: outputs.securityinsights.v20230901preview.GetInsightsResultsMetadataResponse; + /** + * The insights result values. + */ + readonly value?: outputs.securityinsights.v20230901preview.EntityInsightItemResponse[]; +} +/** + * Execute Insights for an entity. + */ +export function getEntityInsightsOutput(args: GetEntityInsightsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEntityInsights(a, opts)) +} + +export interface GetEntityInsightsOutputArgs { + /** + * Indicates if query time range should be extended with default time range of the query. Default value is false + */ + addDefaultExtendedTimeRange?: pulumi.Input; + /** + * The end timeline date, so the results returned are before this date. + */ + endTime: pulumi.Input; + /** + * entity ID + */ + entityId: pulumi.Input; + /** + * List of Insights Query Id. If empty, default value is all insights of this entity + */ + insightQueryIds?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The start timeline date, so the results returned are after this date. + */ + startTime: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getEyesOn.ts b/sdk/nodejs/securityinsights/v20230901preview/getEyesOn.ts new file mode 100644 index 000000000000..8abfb1fd3e8d --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getEyesOn.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a setting. + */ +export function getEyesOn(args: GetEyesOnArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getEyesOn", { + "resourceGroupName": args.resourceGroupName, + "settingsName": args.settingsName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetEyesOnArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Settings with single toggle. + */ +export interface GetEyesOnResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Determines whether the setting is enable or disabled. + */ + readonly isEnabled: boolean; + /** + * The kind of the setting + * Expected value is 'EyesOn'. + */ + readonly kind: "EyesOn"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a setting. + */ +export function getEyesOnOutput(args: GetEyesOnOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEyesOn(a, opts)) +} + +export interface GetEyesOnOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getFileImport.ts b/sdk/nodejs/securityinsights/v20230901preview/getFileImport.ts new file mode 100644 index 000000000000..6da0c187333d --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getFileImport.ts @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a file import. + */ +export function getFileImport(args: GetFileImportArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getFileImport", { + "fileImportId": args.fileImportId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetFileImportArgs { + /** + * File import ID + */ + fileImportId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a file import in Azure Security Insights. + */ +export interface GetFileImportResult { + /** + * The content type of this file. + */ + readonly contentType: string; + /** + * The time the file was imported. + */ + readonly createdTimeUTC: string; + /** + * Represents the error file (if the import was ingested with errors or failed the validation). + */ + readonly errorFile: outputs.securityinsights.v20230901preview.FileMetadataResponse; + /** + * An ordered list of some of the errors that were encountered during validation. + */ + readonly errorsPreview: outputs.securityinsights.v20230901preview.ValidationErrorResponse[]; + /** + * The time the files associated with this import are deleted from the storage account. + */ + readonly filesValidUntilTimeUTC: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Represents the imported file. + */ + readonly importFile: outputs.securityinsights.v20230901preview.FileMetadataResponse; + /** + * The time the file import record is soft deleted from the database and history. + */ + readonly importValidUntilTimeUTC: string; + /** + * The number of records that have been successfully ingested. + */ + readonly ingestedRecordCount: number; + /** + * Describes how to ingest the records in the file. + */ + readonly ingestionMode: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The source for the data in the file. + */ + readonly source: string; + /** + * The state of the file import. + */ + readonly state: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The number of records in the file. + */ + readonly totalRecordCount: number; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The number of records that have passed validation. + */ + readonly validRecordCount: number; +} +/** + * Gets a file import. + */ +export function getFileImportOutput(args: GetFileImportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFileImport(a, opts)) +} + +export interface GetFileImportOutputArgs { + /** + * File import ID + */ + fileImportId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getFusionAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getFusionAlertRule.ts new file mode 100644 index 000000000000..4d71c576c398 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getFusionAlertRule.ts @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the alert rule. + */ +export function getFusionAlertRule(args: GetFusionAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getFusionAlertRule", { + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetFusionAlertRuleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Fusion alert rule. + */ +export interface GetFusionAlertRuleResult { + /** + * The Name of the alert rule template used to create this rule. + */ + readonly alertRuleTemplateName: string; + /** + * The description of the alert rule. + */ + readonly description: string; + /** + * The display name for alerts created by this alert rule. + */ + readonly displayName: string; + /** + * Determines whether this alert rule is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the alert rule + * Expected value is 'Fusion'. + */ + readonly kind: "Fusion"; + /** + * The last time that this alert has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Configuration to exclude scenarios in fusion detection. + */ + readonly scenarioExclusionPatterns?: outputs.securityinsights.v20230901preview.FusionScenarioExclusionPatternResponse[]; + /** + * The severity for alerts created by this alert rule. + */ + readonly severity: string; + /** + * Configuration for all supported source signals in fusion detection. + */ + readonly sourceSettings?: outputs.securityinsights.v20230901preview.FusionSourceSettingsResponse[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tactics of the alert rule + */ + readonly tactics: string[]; + /** + * The techniques of the alert rule + */ + readonly techniques: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the alert rule. + */ +export function getFusionAlertRuleOutput(args: GetFusionAlertRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getFusionAlertRule(a, opts)) +} + +export interface GetFusionAlertRuleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getGCPDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getGCPDataConnector.ts new file mode 100644 index 000000000000..6d947cc3fbc8 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getGCPDataConnector.ts @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getGCPDataConnector(args: GetGCPDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getGCPDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetGCPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Google Cloud Platform data connector. + */ +export interface GetGCPDataConnectorResult { + /** + * The auth section of the connector. + */ + readonly auth: outputs.securityinsights.v20230901preview.GCPAuthPropertiesResponse; + /** + * The name of the connector definition that represents the UI config. + */ + readonly connectorDefinitionName: string; + /** + * The configuration of the destination of the data. + */ + readonly dcrConfig?: outputs.securityinsights.v20230901preview.DCRConfigurationResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'GCP'. + */ + readonly kind: "GCP"; + /** + * The name of the resource + */ + readonly name: string; + /** + * The request section of the connector. + */ + readonly request: outputs.securityinsights.v20230901preview.GCPRequestPropertiesResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getGCPDataConnectorOutput(args: GetGCPDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getGCPDataConnector(a, opts)) +} + +export interface GetGCPDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getHunt.ts b/sdk/nodejs/securityinsights/v20230901preview/getHunt.ts new file mode 100644 index 000000000000..cb7ba5b5acef --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getHunt.ts @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a hunt, without relations and comments. + */ +export function getHunt(args: GetHuntArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getHunt", { + "huntId": args.huntId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetHuntArgs { + /** + * The hunt id (GUID) + */ + huntId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a Hunt in Azure Security Insights. + */ +export interface GetHuntResult { + /** + * A list of mitre attack tactics the hunt is associated with + */ + readonly attackTactics?: string[]; + /** + * A list of a mitre attack techniques the hunt is associated with + */ + readonly attackTechniques?: string[]; + /** + * The description of the hunt + */ + readonly description: string; + /** + * The display name of the hunt + */ + readonly displayName: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The hypothesis status of the hunt. + */ + readonly hypothesisStatus?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * List of labels relevant to this hunt + */ + readonly labels?: string[]; + /** + * The name of the resource + */ + readonly name: string; + /** + * Describes a user that the hunt is assigned to + */ + readonly owner?: outputs.securityinsights.v20230901preview.HuntOwnerResponse; + /** + * The status of the hunt. + */ + readonly status?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a hunt, without relations and comments. + */ +export function getHuntOutput(args: GetHuntOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getHunt(a, opts)) +} + +export interface GetHuntOutputArgs { + /** + * The hunt id (GUID) + */ + huntId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getHuntComment.ts b/sdk/nodejs/securityinsights/v20230901preview/getHuntComment.ts new file mode 100644 index 000000000000..bd0d2a3f7440 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getHuntComment.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a hunt comment + */ +export function getHuntComment(args: GetHuntCommentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getHuntComment", { + "huntCommentId": args.huntCommentId, + "huntId": args.huntId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetHuntCommentArgs { + /** + * The hunt comment id (GUID) + */ + huntCommentId: string; + /** + * The hunt id (GUID) + */ + huntId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a Hunt Comment in Azure Security Insights + */ +export interface GetHuntCommentResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The message for the comment + */ + readonly message: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a hunt comment + */ +export function getHuntCommentOutput(args: GetHuntCommentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getHuntComment(a, opts)) +} + +export interface GetHuntCommentOutputArgs { + /** + * The hunt comment id (GUID) + */ + huntCommentId: pulumi.Input; + /** + * The hunt id (GUID) + */ + huntId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getHuntRelation.ts b/sdk/nodejs/securityinsights/v20230901preview/getHuntRelation.ts new file mode 100644 index 000000000000..d27b4e17fbf2 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getHuntRelation.ts @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a hunt relation + */ +export function getHuntRelation(args: GetHuntRelationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getHuntRelation", { + "huntId": args.huntId, + "huntRelationId": args.huntRelationId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetHuntRelationArgs { + /** + * The hunt id (GUID) + */ + huntId: string; + /** + * The hunt relation id (GUID) + */ + huntRelationId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a Hunt Relation in Azure Security Insights. + */ +export interface GetHuntRelationResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * List of labels relevant to this hunt + */ + readonly labels?: string[]; + /** + * The name of the resource + */ + readonly name: string; + /** + * The id of the related resource + */ + readonly relatedResourceId: string; + /** + * The resource that the relation is related to + */ + readonly relatedResourceKind: string; + /** + * The name of the related resource + */ + readonly relatedResourceName: string; + /** + * The type of the hunt relation + */ + readonly relationType: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a hunt relation + */ +export function getHuntRelationOutput(args: GetHuntRelationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getHuntRelation(a, opts)) +} + +export interface GetHuntRelationOutputArgs { + /** + * The hunt id (GUID) + */ + huntId: pulumi.Input; + /** + * The hunt relation id (GUID) + */ + huntRelationId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getIncident.ts b/sdk/nodejs/securityinsights/v20230901preview/getIncident.ts new file mode 100644 index 000000000000..1e2921f10f1f --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getIncident.ts @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an incident. + */ +export function getIncident(args: GetIncidentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getIncident", { + "incidentId": args.incidentId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetIncidentArgs { + /** + * Incident ID + */ + incidentId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +export interface GetIncidentResult { + /** + * Additional data on the incident + */ + readonly additionalData: outputs.securityinsights.v20230901preview.IncidentAdditionalDataResponse; + /** + * The reason the incident was closed + */ + readonly classification?: string; + /** + * Describes the reason the incident was closed + */ + readonly classificationComment?: string; + /** + * The classification reason the incident was closed with + */ + readonly classificationReason?: string; + /** + * The time the incident was created + */ + readonly createdTimeUtc: string; + /** + * The description of the incident + */ + readonly description?: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The time of the first activity in the incident + */ + readonly firstActivityTimeUtc?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * A sequential number + */ + readonly incidentNumber: number; + /** + * The deep-link url to the incident in Azure portal + */ + readonly incidentUrl: string; + /** + * List of labels relevant to this incident + */ + readonly labels?: outputs.securityinsights.v20230901preview.IncidentLabelResponse[]; + /** + * The time of the last activity in the incident + */ + readonly lastActivityTimeUtc?: string; + /** + * The last time the incident was updated + */ + readonly lastModifiedTimeUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Describes a user that the incident is assigned to + */ + readonly owner?: outputs.securityinsights.v20230901preview.IncidentOwnerInfoResponse; + /** + * The incident ID assigned by the incident provider + */ + readonly providerIncidentId: string; + /** + * The name of the source provider that generated the incident + */ + readonly providerName: string; + /** + * List of resource ids of Analytic rules related to the incident + */ + readonly relatedAnalyticRuleIds: string[]; + /** + * The severity of the incident + */ + readonly severity: string; + /** + * The status of the incident + */ + readonly status: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * Describes a team for the incident + */ + readonly teamInformation?: outputs.securityinsights.v20230901preview.TeamInformationResponse; + /** + * The title of the incident + */ + readonly title: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an incident. + */ +export function getIncidentOutput(args: GetIncidentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getIncident(a, opts)) +} + +export interface GetIncidentOutputArgs { + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getIncidentComment.ts b/sdk/nodejs/securityinsights/v20230901preview/getIncidentComment.ts new file mode 100644 index 000000000000..9ccc51ce48f7 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getIncidentComment.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an incident comment. + */ +export function getIncidentComment(args: GetIncidentCommentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getIncidentComment", { + "incidentCommentId": args.incidentCommentId, + "incidentId": args.incidentId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetIncidentCommentArgs { + /** + * Incident comment ID + */ + incidentCommentId: string; + /** + * Incident ID + */ + incidentId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents an incident comment + */ +export interface GetIncidentCommentResult { + /** + * Describes the client that created the comment + */ + readonly author: outputs.securityinsights.v20230901preview.ClientInfoResponse; + /** + * The time the comment was created + */ + readonly createdTimeUtc: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The time the comment was updated + */ + readonly lastModifiedTimeUtc: string; + /** + * The comment message + */ + readonly message: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an incident comment. + */ +export function getIncidentCommentOutput(args: GetIncidentCommentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getIncidentComment(a, opts)) +} + +export interface GetIncidentCommentOutputArgs { + /** + * Incident comment ID + */ + incidentCommentId: pulumi.Input; + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getIncidentRelation.ts b/sdk/nodejs/securityinsights/v20230901preview/getIncidentRelation.ts new file mode 100644 index 000000000000..157536470904 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getIncidentRelation.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an incident relation. + */ +export function getIncidentRelation(args: GetIncidentRelationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getIncidentRelation", { + "incidentId": args.incidentId, + "relationName": args.relationName, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetIncidentRelationArgs { + /** + * Incident ID + */ + incidentId: string; + /** + * Relation Name + */ + relationName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a relation between two resources + */ +export interface GetIncidentRelationResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The resource ID of the related resource + */ + readonly relatedResourceId: string; + /** + * The resource kind of the related resource + */ + readonly relatedResourceKind: string; + /** + * The name of the related resource + */ + readonly relatedResourceName: string; + /** + * The resource type of the related resource + */ + readonly relatedResourceType: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an incident relation. + */ +export function getIncidentRelationOutput(args: GetIncidentRelationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getIncidentRelation(a, opts)) +} + +export interface GetIncidentRelationOutputArgs { + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * Relation Name + */ + relationName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getIncidentTask.ts b/sdk/nodejs/securityinsights/v20230901preview/getIncidentTask.ts new file mode 100644 index 000000000000..42c96572e109 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getIncidentTask.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets an incident task. + */ +export function getIncidentTask(args: GetIncidentTaskArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getIncidentTask", { + "incidentId": args.incidentId, + "incidentTaskId": args.incidentTaskId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetIncidentTaskArgs { + /** + * Incident ID + */ + incidentId: string; + /** + * Incident task ID + */ + incidentTaskId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +export interface GetIncidentTaskResult { + /** + * Information on the client (user or application) that made some action + */ + readonly createdBy?: outputs.securityinsights.v20230901preview.ClientInfoResponse; + /** + * The time the task was created + */ + readonly createdTimeUtc: string; + /** + * The description of the task + */ + readonly description?: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * Information on the client (user or application) that made some action + */ + readonly lastModifiedBy?: outputs.securityinsights.v20230901preview.ClientInfoResponse; + /** + * The last time the task was updated + */ + readonly lastModifiedTimeUtc: string; + /** + * The name of the resource + */ + readonly name: string; + readonly status: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The title of the task + */ + readonly title: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets an incident task. + */ +export function getIncidentTaskOutput(args: GetIncidentTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getIncidentTask(a, opts)) +} + +export interface GetIncidentTaskOutputArgs { + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * Incident task ID + */ + incidentTaskId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getIoTDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getIoTDataConnector.ts new file mode 100644 index 000000000000..f9e41a45cd6f --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getIoTDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getIoTDataConnector(args: GetIoTDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getIoTDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetIoTDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents IoT data connector. + */ +export interface GetIoTDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'IOT'. + */ + readonly kind: "IOT"; + /** + * The name of the resource + */ + readonly name: string; + /** + * The subscription id to connect to, and get the data from. + */ + readonly subscriptionId?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getIoTDataConnectorOutput(args: GetIoTDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getIoTDataConnector(a, opts)) +} + +export interface GetIoTDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMCASDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getMCASDataConnector.ts new file mode 100644 index 000000000000..8a7226f9e732 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMCASDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getMCASDataConnector(args: GetMCASDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMCASDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMCASDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents MCAS (Microsoft Cloud App Security) data connector. + */ +export interface GetMCASDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.MCASDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'MicrosoftCloudAppSecurity'. + */ + readonly kind: "MicrosoftCloudAppSecurity"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getMCASDataConnectorOutput(args: GetMCASDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMCASDataConnector(a, opts)) +} + +export interface GetMCASDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMDATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getMDATPDataConnector.ts new file mode 100644 index 000000000000..b1d98c0e81c9 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMDATPDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getMDATPDataConnector(args: GetMDATPDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMDATPDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMDATPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector. + */ +export interface GetMDATPDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + */ + readonly kind: "MicrosoftDefenderAdvancedThreatProtection"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getMDATPDataConnectorOutput(args: GetMDATPDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMDATPDataConnector(a, opts)) +} + +export interface GetMDATPDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMLBehaviorAnalyticsAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getMLBehaviorAnalyticsAlertRule.ts new file mode 100644 index 000000000000..d5778fe59f01 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMLBehaviorAnalyticsAlertRule.ts @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the alert rule. + */ +export function getMLBehaviorAnalyticsAlertRule(args: GetMLBehaviorAnalyticsAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMLBehaviorAnalyticsAlertRule", { + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMLBehaviorAnalyticsAlertRuleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents MLBehaviorAnalytics alert rule. + */ +export interface GetMLBehaviorAnalyticsAlertRuleResult { + /** + * The Name of the alert rule template used to create this rule. + */ + readonly alertRuleTemplateName: string; + /** + * The description of the alert rule. + */ + readonly description: string; + /** + * The display name for alerts created by this alert rule. + */ + readonly displayName: string; + /** + * Determines whether this alert rule is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the alert rule + * Expected value is 'MLBehaviorAnalytics'. + */ + readonly kind: "MLBehaviorAnalytics"; + /** + * The last time that this alert rule has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The severity for alerts created by this alert rule. + */ + readonly severity: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tactics of the alert rule + */ + readonly tactics: string[]; + /** + * The techniques of the alert rule + */ + readonly techniques: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the alert rule. + */ +export function getMLBehaviorAnalyticsAlertRuleOutput(args: GetMLBehaviorAnalyticsAlertRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMLBehaviorAnalyticsAlertRule(a, opts)) +} + +export interface GetMLBehaviorAnalyticsAlertRuleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMSTIDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getMSTIDataConnector.ts new file mode 100644 index 000000000000..df394872e50c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMSTIDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getMSTIDataConnector(args: GetMSTIDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMSTIDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMSTIDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Microsoft Threat Intelligence data connector. + */ +export interface GetMSTIDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.MSTIDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'MicrosoftThreatIntelligence'. + */ + readonly kind: "MicrosoftThreatIntelligence"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getMSTIDataConnectorOutput(args: GetMSTIDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMSTIDataConnector(a, opts)) +} + +export interface GetMSTIDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMTPDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getMTPDataConnector.ts new file mode 100644 index 000000000000..022f4eb3abca --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMTPDataConnector.ts @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getMTPDataConnector(args: GetMTPDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMTPDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMTPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents MTP (Microsoft Threat Protection) data connector. + */ +export interface GetMTPDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.MTPDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The available filtered providers for the connector. + */ + readonly filteredProviders?: outputs.securityinsights.v20230901preview.MtpFilteredProvidersResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'MicrosoftThreatProtection'. + */ + readonly kind: "MicrosoftThreatProtection"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getMTPDataConnectorOutput(args: GetMTPDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMTPDataConnector(a, opts)) +} + +export interface GetMTPDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMetadata.ts b/sdk/nodejs/securityinsights/v20230901preview/getMetadata.ts new file mode 100644 index 000000000000..9ff55eeee98e --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMetadata.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get a Metadata. + */ +export function getMetadata(args: GetMetadataArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMetadata", { + "metadataName": args.metadataName, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMetadataArgs { + /** + * The Metadata name. + */ + metadataName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Metadata resource definition. + */ +export interface GetMetadataResult { + /** + * The creator of the content item. + */ + readonly author?: outputs.securityinsights.v20230901preview.MetadataAuthorResponse; + /** + * Categories for the solution content item + */ + readonly categories?: outputs.securityinsights.v20230901preview.MetadataCategoriesResponse; + /** + * Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + */ + readonly contentId?: string; + /** + * Schema version of the content. Can be used to distinguish between different flow based on the schema version + */ + readonly contentSchemaVersion?: string; + /** + * The custom version of the content. A optional free text + */ + readonly customVersion?: string; + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + */ + readonly dependencies?: outputs.securityinsights.v20230901preview.MetadataDependenciesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * first publish date solution content item + */ + readonly firstPublishDate?: string; + /** + * the icon identifier. this id can later be fetched from the solution template + */ + readonly icon?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of content the metadata is for. + */ + readonly kind: string; + /** + * last publish date for the solution content item + */ + readonly lastPublishDate?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + */ + readonly parentId: string; + /** + * preview image file names. These will be taken from the solution artifacts + */ + readonly previewImages?: string[]; + /** + * preview image file names. These will be taken from the solution artifacts. used for dark theme support + */ + readonly previewImagesDark?: string[]; + /** + * Providers for the solution content item + */ + readonly providers?: string[]; + /** + * Source of the content. This is where/how it was created. + */ + readonly source?: outputs.securityinsights.v20230901preview.MetadataSourceResponse; + /** + * Support information for the metadata - type, name, contact information + */ + readonly support?: outputs.securityinsights.v20230901preview.MetadataSupportResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * the tactics the resource covers + */ + readonly threatAnalysisTactics?: string[]; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + readonly threatAnalysisTechniques?: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + */ + readonly version?: string; +} +/** + * Get a Metadata. + */ +export function getMetadataOutput(args: GetMetadataOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMetadata(a, opts)) +} + +export interface GetMetadataOutputArgs { + /** + * The Metadata name. + */ + metadataName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMicrosoftPurviewInformationProtectionDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getMicrosoftPurviewInformationProtectionDataConnector.ts new file mode 100644 index 000000000000..5244a77d76ad --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMicrosoftPurviewInformationProtectionDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getMicrosoftPurviewInformationProtectionDataConnector(args: GetMicrosoftPurviewInformationProtectionDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMicrosoftPurviewInformationProtectionDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMicrosoftPurviewInformationProtectionDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Microsoft Purview Information Protection data connector. + */ +export interface GetMicrosoftPurviewInformationProtectionDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'MicrosoftPurviewInformationProtection'. + */ + readonly kind: "MicrosoftPurviewInformationProtection"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getMicrosoftPurviewInformationProtectionDataConnectorOutput(args: GetMicrosoftPurviewInformationProtectionDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMicrosoftPurviewInformationProtectionDataConnector(a, opts)) +} + +export interface GetMicrosoftPurviewInformationProtectionDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getMicrosoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getMicrosoftSecurityIncidentCreationAlertRule.ts new file mode 100644 index 000000000000..e17be808f2bf --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getMicrosoftSecurityIncidentCreationAlertRule.ts @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the alert rule. + */ +export function getMicrosoftSecurityIncidentCreationAlertRule(args: GetMicrosoftSecurityIncidentCreationAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getMicrosoftSecurityIncidentCreationAlertRule", { + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetMicrosoftSecurityIncidentCreationAlertRuleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents MicrosoftSecurityIncidentCreation rule. + */ +export interface GetMicrosoftSecurityIncidentCreationAlertRuleResult { + /** + * The Name of the alert rule template used to create this rule. + */ + readonly alertRuleTemplateName?: string; + /** + * The description of the alert rule. + */ + readonly description?: string; + /** + * The display name for alerts created by this alert rule. + */ + readonly displayName: string; + /** + * the alerts' displayNames on which the cases will not be generated + */ + readonly displayNamesExcludeFilter?: string[]; + /** + * the alerts' displayNames on which the cases will be generated + */ + readonly displayNamesFilter?: string[]; + /** + * Determines whether this alert rule is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the alert rule + * Expected value is 'MicrosoftSecurityIncidentCreation'. + */ + readonly kind: "MicrosoftSecurityIncidentCreation"; + /** + * The last time that this alert has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The alerts' productName on which the cases will be generated + */ + readonly productFilter: string; + /** + * the alerts' severities on which the cases will be generated + */ + readonly severitiesFilter?: string[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the alert rule. + */ +export function getMicrosoftSecurityIncidentCreationAlertRuleOutput(args: GetMicrosoftSecurityIncidentCreationAlertRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMicrosoftSecurityIncidentCreationAlertRule(a, opts)) +} + +export interface GetMicrosoftSecurityIncidentCreationAlertRuleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getNrtAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getNrtAlertRule.ts new file mode 100644 index 000000000000..169f154faf66 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getNrtAlertRule.ts @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the alert rule. + */ +export function getNrtAlertRule(args: GetNrtAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getNrtAlertRule", { + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetNrtAlertRuleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents NRT alert rule. + */ +export interface GetNrtAlertRuleResult { + /** + * The alert details override settings + */ + readonly alertDetailsOverride?: outputs.securityinsights.v20230901preview.AlertDetailsOverrideResponse; + /** + * The Name of the alert rule template used to create this rule. + */ + readonly alertRuleTemplateName?: string; + /** + * Dictionary of string key-value pairs of columns to be attached to the alert + */ + readonly customDetails?: {[key: string]: string}; + /** + * The description of the alert rule. + */ + readonly description?: string; + /** + * The display name for alerts created by this alert rule. + */ + readonly displayName: string; + /** + * Determines whether this alert rule is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Array of the entity mappings of the alert rule + */ + readonly entityMappings?: outputs.securityinsights.v20230901preview.EntityMappingResponse[]; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The event grouping settings. + */ + readonly eventGroupingSettings?: outputs.securityinsights.v20230901preview.EventGroupingSettingsResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The settings of the incidents that created from alerts triggered by this analytics rule + */ + readonly incidentConfiguration?: outputs.securityinsights.v20230901preview.IncidentConfigurationResponse; + /** + * The kind of the alert rule + * Expected value is 'NRT'. + */ + readonly kind: "NRT"; + /** + * The last time that this alert rule has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The query that creates alerts for this rule. + */ + readonly query: string; + /** + * Array of the sentinel entity mappings of the alert rule + */ + readonly sentinelEntitiesMappings?: outputs.securityinsights.v20230901preview.SentinelEntityMappingResponse[]; + /** + * The severity for alerts created by this alert rule. + */ + readonly severity: string; + /** + * The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + */ + readonly suppressionDuration: string; + /** + * Determines whether the suppression for this alert rule is enabled or disabled. + */ + readonly suppressionEnabled: boolean; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tactics of the alert rule + */ + readonly tactics?: string[]; + /** + * The techniques of the alert rule + */ + readonly techniques?: string[]; + /** + * The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + */ + readonly templateVersion?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the alert rule. + */ +export function getNrtAlertRuleOutput(args: GetNrtAlertRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getNrtAlertRule(a, opts)) +} + +export interface GetNrtAlertRuleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getOffice365ProjectDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getOffice365ProjectDataConnector.ts new file mode 100644 index 000000000000..7979960864c0 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getOffice365ProjectDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getOffice365ProjectDataConnector(args: GetOffice365ProjectDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getOffice365ProjectDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetOffice365ProjectDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Office Microsoft Project data connector. + */ +export interface GetOffice365ProjectDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.Office365ProjectConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'Office365Project'. + */ + readonly kind: "Office365Project"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getOffice365ProjectDataConnectorOutput(args: GetOffice365ProjectDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOffice365ProjectDataConnector(a, opts)) +} + +export interface GetOffice365ProjectDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getOfficeATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getOfficeATPDataConnector.ts new file mode 100644 index 000000000000..33f19765e71f --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getOfficeATPDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getOfficeATPDataConnector(args: GetOfficeATPDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getOfficeATPDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetOfficeATPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents OfficeATP (Office 365 Advanced Threat Protection) data connector. + */ +export interface GetOfficeATPDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'OfficeATP'. + */ + readonly kind: "OfficeATP"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getOfficeATPDataConnectorOutput(args: GetOfficeATPDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOfficeATPDataConnector(a, opts)) +} + +export interface GetOfficeATPDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getOfficeDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getOfficeDataConnector.ts new file mode 100644 index 000000000000..1ae38b6ce294 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getOfficeDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getOfficeDataConnector(args: GetOfficeDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getOfficeDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetOfficeDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents office data connector. + */ +export interface GetOfficeDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.OfficeDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'Office365'. + */ + readonly kind: "Office365"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getOfficeDataConnectorOutput(args: GetOfficeDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOfficeDataConnector(a, opts)) +} + +export interface GetOfficeDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getOfficeIRMDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getOfficeIRMDataConnector.ts new file mode 100644 index 000000000000..b0ec3c56a457 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getOfficeIRMDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getOfficeIRMDataConnector(args: GetOfficeIRMDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getOfficeIRMDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetOfficeIRMDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents OfficeIRM (Microsoft Insider Risk Management) data connector. + */ +export interface GetOfficeIRMDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes?: outputs.securityinsights.v20230901preview.AlertsDataTypeOfDataConnectorResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'OfficeIRM'. + */ + readonly kind: "OfficeIRM"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getOfficeIRMDataConnectorOutput(args: GetOfficeIRMDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOfficeIRMDataConnector(a, opts)) +} + +export interface GetOfficeIRMDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getOfficePowerBIDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getOfficePowerBIDataConnector.ts new file mode 100644 index 000000000000..21a6f2f4dcc0 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getOfficePowerBIDataConnector.ts @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getOfficePowerBIDataConnector(args: GetOfficePowerBIDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getOfficePowerBIDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetOfficePowerBIDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Office Microsoft PowerBI data connector. + */ +export interface GetOfficePowerBIDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.OfficePowerBIConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'OfficePowerBI'. + */ + readonly kind: "OfficePowerBI"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getOfficePowerBIDataConnectorOutput(args: GetOfficePowerBIDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOfficePowerBIDataConnector(a, opts)) +} + +export interface GetOfficePowerBIDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getScheduledAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getScheduledAlertRule.ts new file mode 100644 index 000000000000..be3d7db214c4 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getScheduledAlertRule.ts @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the alert rule. + */ +export function getScheduledAlertRule(args: GetScheduledAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getScheduledAlertRule", { + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetScheduledAlertRuleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents scheduled alert rule. + */ +export interface GetScheduledAlertRuleResult { + /** + * The alert details override settings + */ + readonly alertDetailsOverride?: outputs.securityinsights.v20230901preview.AlertDetailsOverrideResponse; + /** + * The Name of the alert rule template used to create this rule. + */ + readonly alertRuleTemplateName?: string; + /** + * Dictionary of string key-value pairs of columns to be attached to the alert + */ + readonly customDetails?: {[key: string]: string}; + /** + * The description of the alert rule. + */ + readonly description?: string; + /** + * The display name for alerts created by this alert rule. + */ + readonly displayName: string; + /** + * Determines whether this alert rule is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Array of the entity mappings of the alert rule + */ + readonly entityMappings?: outputs.securityinsights.v20230901preview.EntityMappingResponse[]; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The event grouping settings. + */ + readonly eventGroupingSettings?: outputs.securityinsights.v20230901preview.EventGroupingSettingsResponse; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The settings of the incidents that created from alerts triggered by this analytics rule + */ + readonly incidentConfiguration?: outputs.securityinsights.v20230901preview.IncidentConfigurationResponse; + /** + * The kind of the alert rule + * Expected value is 'Scheduled'. + */ + readonly kind: "Scheduled"; + /** + * The last time that this alert rule has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The query that creates alerts for this rule. + */ + readonly query: string; + /** + * The frequency (in ISO 8601 duration format) for this alert rule to run. + */ + readonly queryFrequency: string; + /** + * The period (in ISO 8601 duration format) that this alert rule looks at. + */ + readonly queryPeriod: string; + /** + * Array of the sentinel entity mappings of the alert rule + */ + readonly sentinelEntitiesMappings?: outputs.securityinsights.v20230901preview.SentinelEntityMappingResponse[]; + /** + * The severity for alerts created by this alert rule. + */ + readonly severity: string; + /** + * The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + */ + readonly suppressionDuration: string; + /** + * Determines whether the suppression for this alert rule is enabled or disabled. + */ + readonly suppressionEnabled: boolean; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tactics of the alert rule + */ + readonly tactics?: string[]; + /** + * The techniques of the alert rule + */ + readonly techniques?: string[]; + /** + * The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + */ + readonly templateVersion?: string; + /** + * The operation against the threshold that triggers alert rule. + */ + readonly triggerOperator: string; + /** + * The threshold triggers this alert rule. + */ + readonly triggerThreshold: number; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the alert rule. + */ +export function getScheduledAlertRuleOutput(args: GetScheduledAlertRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getScheduledAlertRule(a, opts)) +} + +export interface GetScheduledAlertRuleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getSentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20230901preview/getSentinelOnboardingState.ts new file mode 100644 index 000000000000..fba9e0bfc575 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getSentinelOnboardingState.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get Sentinel onboarding state + */ +export function getSentinelOnboardingState(args: GetSentinelOnboardingStateArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getSentinelOnboardingState", { + "resourceGroupName": args.resourceGroupName, + "sentinelOnboardingStateName": args.sentinelOnboardingStateName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetSentinelOnboardingStateArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The Sentinel onboarding state name. Supports - default + */ + sentinelOnboardingStateName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Sentinel onboarding state + */ +export interface GetSentinelOnboardingStateResult { + /** + * Flag that indicates the status of the CMK setting + */ + readonly customerManagedKey?: boolean; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get Sentinel onboarding state + */ +export function getSentinelOnboardingStateOutput(args: GetSentinelOnboardingStateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getSentinelOnboardingState(a, opts)) +} + +export interface GetSentinelOnboardingStateOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The Sentinel onboarding state name. Supports - default + */ + sentinelOnboardingStateName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getTIDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getTIDataConnector.ts new file mode 100644 index 000000000000..5a7a7f115735 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getTIDataConnector.ts @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getTIDataConnector(args: GetTIDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getTIDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetTIDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents threat intelligence data connector. + */ +export interface GetTIDataConnectorResult { + /** + * The available data types for the connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.TIDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'ThreatIntelligence'. + */ + readonly kind: "ThreatIntelligence"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The lookback period for the feed to be imported. + */ + readonly tipLookbackPeriod?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a data connector. + */ +export function getTIDataConnectorOutput(args: GetTIDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getTIDataConnector(a, opts)) +} + +export interface GetTIDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getThreatIntelligenceAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/getThreatIntelligenceAlertRule.ts new file mode 100644 index 000000000000..090ce3bbe7c9 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getThreatIntelligenceAlertRule.ts @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the alert rule. + */ +export function getThreatIntelligenceAlertRule(args: GetThreatIntelligenceAlertRuleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getThreatIntelligenceAlertRule", { + "resourceGroupName": args.resourceGroupName, + "ruleId": args.ruleId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetThreatIntelligenceAlertRuleArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Alert rule ID + */ + ruleId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents Threat Intelligence alert rule. + */ +export interface GetThreatIntelligenceAlertRuleResult { + /** + * The Name of the alert rule template used to create this rule. + */ + readonly alertRuleTemplateName: string; + /** + * The description of the alert rule. + */ + readonly description: string; + /** + * The display name for alerts created by this alert rule. + */ + readonly displayName: string; + /** + * Determines whether this alert rule is enabled or disabled. + */ + readonly enabled: boolean; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the alert rule + * Expected value is 'ThreatIntelligence'. + */ + readonly kind: "ThreatIntelligence"; + /** + * The last time that this alert has been modified. + */ + readonly lastModifiedUtc: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The severity for alerts created by this alert rule. + */ + readonly severity: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tactics of the alert rule + */ + readonly tactics: string[]; + /** + * The techniques of the alert rule + */ + readonly techniques: string[]; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the alert rule. + */ +export function getThreatIntelligenceAlertRuleOutput(args: GetThreatIntelligenceAlertRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getThreatIntelligenceAlertRule(a, opts)) +} + +export interface GetThreatIntelligenceAlertRuleOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getThreatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20230901preview/getThreatIntelligenceIndicator.ts new file mode 100644 index 000000000000..11c6731a0c32 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getThreatIntelligenceIndicator.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * View a threat intelligence indicator by name. + */ +export function getThreatIntelligenceIndicator(args: GetThreatIntelligenceIndicatorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getThreatIntelligenceIndicator", { + "name": args.name, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetThreatIntelligenceIndicatorArgs { + /** + * Threat intelligence indicator name field. + */ + name: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Threat intelligence information object. + */ +export interface GetThreatIntelligenceIndicatorResult { + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the entity. + */ + readonly kind: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * View a threat intelligence indicator by name. + */ +export function getThreatIntelligenceIndicatorOutput(args: GetThreatIntelligenceIndicatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getThreatIntelligenceIndicator(a, opts)) +} + +export interface GetThreatIntelligenceIndicatorOutputArgs { + /** + * Threat intelligence indicator name field. + */ + name: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getTiTaxiiDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/getTiTaxiiDataConnector.ts new file mode 100644 index 000000000000..0e62489bbf88 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getTiTaxiiDataConnector.ts @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a data connector. + */ +export function getTiTaxiiDataConnector(args: GetTiTaxiiDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getTiTaxiiDataConnector", { + "dataConnectorId": args.dataConnectorId, + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetTiTaxiiDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server + */ +export interface GetTiTaxiiDataConnectorResult { + /** + * The collection id of the TAXII server. + */ + readonly collectionId?: string; + /** + * The available data types for Threat Intelligence TAXII data connector. + */ + readonly dataTypes: outputs.securityinsights.v20230901preview.TiTaxiiDataConnectorDataTypesResponse; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * The friendly name for the TAXII server. + */ + readonly friendlyName?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the data connector + * Expected value is 'ThreatIntelligenceTaxii'. + */ + readonly kind: "ThreatIntelligenceTaxii"; + /** + * The name of the resource + */ + readonly name: string; + /** + * The password for the TAXII server. + */ + readonly password?: string; + /** + * The polling frequency for the TAXII server. + */ + readonly pollingFrequency: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The lookback period for the TAXII server. + */ + readonly taxiiLookbackPeriod?: string; + /** + * The API root for the TAXII server. + */ + readonly taxiiServer?: string; + /** + * The tenant id to connect to, and get the data from. + */ + readonly tenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The userName for the TAXII server. + */ + readonly userName?: string; + /** + * The workspace id. + */ + readonly workspaceId?: string; +} +/** + * Gets a data connector. + */ +export function getTiTaxiiDataConnectorOutput(args: GetTiTaxiiDataConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getTiTaxiiDataConnector(a, opts)) +} + +export interface GetTiTaxiiDataConnectorOutputArgs { + /** + * Connector ID + */ + dataConnectorId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getUeba.ts b/sdk/nodejs/securityinsights/v20230901preview/getUeba.ts new file mode 100644 index 000000000000..6bc85ff71d9f --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getUeba.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a setting. + */ +export function getUeba(args: GetUebaArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getUeba", { + "resourceGroupName": args.resourceGroupName, + "settingsName": args.settingsName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetUebaArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Settings with single toggle. + */ +export interface GetUebaResult { + /** + * The relevant data sources that enriched by ueba + */ + readonly dataSources?: string[]; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The kind of the setting + * Expected value is 'Ueba'. + */ + readonly kind: "Ueba"; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a setting. + */ +export function getUebaOutput(args: GetUebaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getUeba(a, opts)) +} + +export interface GetUebaOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getWatchlist.ts b/sdk/nodejs/securityinsights/v20230901preview/getWatchlist.ts new file mode 100644 index 000000000000..30d53660784c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getWatchlist.ts @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a watchlist, without its watchlist items. + */ +export function getWatchlist(args: GetWatchlistArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getWatchlist", { + "resourceGroupName": args.resourceGroupName, + "watchlistAlias": args.watchlistAlias, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWatchlistArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Watchlist Alias + */ + watchlistAlias: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a Watchlist in Azure Security Insights. + */ +export interface GetWatchlistResult { + /** + * The content type of the raw content. Example : text/csv or text/tsv + */ + readonly contentType?: string; + /** + * The time the watchlist was created + */ + readonly created?: string; + /** + * Describes a user that created the watchlist + */ + readonly createdBy?: outputs.securityinsights.v20230901preview.WatchlistUserInfoResponse; + /** + * The default duration of a watchlist (in ISO 8601 duration format) + */ + readonly defaultDuration?: string; + /** + * A description of the watchlist + */ + readonly description?: string; + /** + * The display name of the watchlist + */ + readonly displayName: string; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * A flag that indicates if the watchlist is deleted or not + */ + readonly isDeleted?: boolean; + /** + * The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + */ + readonly itemsSearchKey: string; + /** + * List of labels relevant to this watchlist + */ + readonly labels?: string[]; + /** + * The name of the resource + */ + readonly name: string; + /** + * The number of lines in a csv/tsv content to skip before the header + */ + readonly numberOfLinesToSkip?: number; + /** + * The provider of the watchlist + */ + readonly provider: string; + /** + * The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + */ + readonly rawContent?: string; + /** + * The filename of the watchlist, called 'source' + */ + readonly source?: string; + /** + * The sourceType of the watchlist + */ + readonly sourceType?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenantId where the watchlist belongs to + */ + readonly tenantId?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The last time the watchlist was updated + */ + readonly updated?: string; + /** + * Describes a user that updated the watchlist + */ + readonly updatedBy?: outputs.securityinsights.v20230901preview.WatchlistUserInfoResponse; + /** + * The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + */ + readonly uploadStatus?: string; + /** + * The alias of the watchlist + */ + readonly watchlistAlias?: string; + /** + * The id (a Guid) of the watchlist + */ + readonly watchlistId?: string; + /** + * The type of the watchlist + */ + readonly watchlistType?: string; +} +/** + * Gets a watchlist, without its watchlist items. + */ +export function getWatchlistOutput(args: GetWatchlistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWatchlist(a, opts)) +} + +export interface GetWatchlistOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Watchlist Alias + */ + watchlistAlias: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getWatchlistItem.ts b/sdk/nodejs/securityinsights/v20230901preview/getWatchlistItem.ts new file mode 100644 index 000000000000..46d0cdb416d6 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getWatchlistItem.ts @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a watchlist, without its watchlist items. + */ +export function getWatchlistItem(args: GetWatchlistItemArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getWatchlistItem", { + "resourceGroupName": args.resourceGroupName, + "watchlistAlias": args.watchlistAlias, + "watchlistItemId": args.watchlistItemId, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWatchlistItemArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Watchlist Alias + */ + watchlistAlias: string; + /** + * Watchlist Item Id (GUID) + */ + watchlistItemId: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * Represents a Watchlist item in Azure Security Insights. + */ +export interface GetWatchlistItemResult { + /** + * The time the watchlist item was created + */ + readonly created?: string; + /** + * Describes a user that created the watchlist item + */ + readonly createdBy?: outputs.securityinsights.v20230901preview.WatchlistUserInfoResponse; + /** + * key-value pairs for a watchlist item entity mapping + */ + readonly entityMapping?: any; + /** + * Etag of the azure resource + */ + readonly etag?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * A flag that indicates if the watchlist item is deleted or not + */ + readonly isDeleted?: boolean; + /** + * key-value pairs for a watchlist item + */ + readonly itemsKeyValue: any; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The tenantId to which the watchlist item belongs to + */ + readonly tenantId?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * The last time the watchlist item was updated + */ + readonly updated?: string; + /** + * Describes a user that updated the watchlist item + */ + readonly updatedBy?: outputs.securityinsights.v20230901preview.WatchlistUserInfoResponse; + /** + * The id (a Guid) of the watchlist item + */ + readonly watchlistItemId?: string; + /** + * The type of the watchlist item + */ + readonly watchlistItemType?: string; +} +/** + * Gets a watchlist, without its watchlist items. + */ +export function getWatchlistItemOutput(args: GetWatchlistItemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWatchlistItem(a, opts)) +} + +export interface GetWatchlistItemOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Watchlist Alias + */ + watchlistAlias: pulumi.Input; + /** + * Watchlist Item Id (GUID) + */ + watchlistItemId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerAssignment.ts b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerAssignment.ts new file mode 100644 index 000000000000..5ab18bd47f0c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerAssignment.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a workspace manager assignment + */ +export function getWorkspaceManagerAssignment(args: GetWorkspaceManagerAssignmentArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerAssignment", { + "resourceGroupName": args.resourceGroupName, + "workspaceManagerAssignmentName": args.workspaceManagerAssignmentName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWorkspaceManagerAssignmentArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace manager assignment + */ + workspaceManagerAssignmentName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * The workspace manager assignment + */ +export interface GetWorkspaceManagerAssignmentResult { + /** + * Resource Etag. + */ + readonly etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * List of resources included in this workspace manager assignment + */ + readonly items: outputs.securityinsights.v20230901preview.AssignmentItemResponse[]; + /** + * The time the last job associated to this assignment ended at + */ + readonly lastJobEndTime: string; + /** + * State of the last job associated to this assignment + */ + readonly lastJobProvisioningState: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The resource name of the workspace manager group targeted by the workspace manager assignment + */ + readonly targetResourceName: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a workspace manager assignment + */ +export function getWorkspaceManagerAssignmentOutput(args: GetWorkspaceManagerAssignmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWorkspaceManagerAssignment(a, opts)) +} + +export interface GetWorkspaceManagerAssignmentOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace manager assignment + */ + workspaceManagerAssignmentName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerConfiguration.ts b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerConfiguration.ts new file mode 100644 index 000000000000..d2b89fba1ad4 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerConfiguration.ts @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a workspace manager configuration + */ +export function getWorkspaceManagerConfiguration(args: GetWorkspaceManagerConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerConfiguration", { + "resourceGroupName": args.resourceGroupName, + "workspaceManagerConfigurationName": args.workspaceManagerConfigurationName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWorkspaceManagerConfigurationArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace manager configuration + */ + workspaceManagerConfigurationName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * The workspace manager configuration + */ +export interface GetWorkspaceManagerConfigurationResult { + /** + * Resource Etag. + */ + readonly etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The current mode of the workspace manager configuration + */ + readonly mode: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a workspace manager configuration + */ +export function getWorkspaceManagerConfigurationOutput(args: GetWorkspaceManagerConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWorkspaceManagerConfiguration(a, opts)) +} + +export interface GetWorkspaceManagerConfigurationOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace manager configuration + */ + workspaceManagerConfigurationName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerGroup.ts b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerGroup.ts new file mode 100644 index 000000000000..e35dd2f70469 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerGroup.ts @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a workspace manager group + */ +export function getWorkspaceManagerGroup(args: GetWorkspaceManagerGroupArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerGroup", { + "resourceGroupName": args.resourceGroupName, + "workspaceManagerGroupName": args.workspaceManagerGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWorkspaceManagerGroupArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace manager group + */ + workspaceManagerGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * The workspace manager group + */ +export interface GetWorkspaceManagerGroupResult { + /** + * The description of the workspace manager group + */ + readonly description?: string; + /** + * The display name of the workspace manager group + */ + readonly displayName: string; + /** + * Resource Etag. + */ + readonly etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The names of the workspace manager members participating in this group. + */ + readonly memberResourceNames: string[]; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a workspace manager group + */ +export function getWorkspaceManagerGroupOutput(args: GetWorkspaceManagerGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWorkspaceManagerGroup(a, opts)) +} + +export interface GetWorkspaceManagerGroupOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace manager group + */ + workspaceManagerGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerMember.ts new file mode 100644 index 000000000000..f1b1b40abc1a --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/getWorkspaceManagerMember.ts @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a workspace manager member + */ +export function getWorkspaceManagerMember(args: GetWorkspaceManagerMemberArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:getWorkspaceManagerMember", { + "resourceGroupName": args.resourceGroupName, + "workspaceManagerMemberName": args.workspaceManagerMemberName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface GetWorkspaceManagerMemberArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace manager member + */ + workspaceManagerMemberName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * The workspace manager member + */ +export interface GetWorkspaceManagerMemberResult { + /** + * Resource Etag. + */ + readonly etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.securityinsights.v20230901preview.SystemDataResponse; + /** + * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + */ + readonly targetWorkspaceResourceId: string; + /** + * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + */ + readonly targetWorkspaceTenantId: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a workspace manager member + */ +export function getWorkspaceManagerMemberOutput(args: GetWorkspaceManagerMemberOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getWorkspaceManagerMember(a, opts)) +} + +export interface GetWorkspaceManagerMemberOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace manager member + */ + workspaceManagerMemberName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/hunt.ts b/sdk/nodejs/securityinsights/v20230901preview/hunt.ts new file mode 100644 index 000000000000..cce2dcd5fe42 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/hunt.ts @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Hunt in Azure Security Insights. + */ +export class Hunt extends pulumi.CustomResource { + /** + * Get an existing Hunt 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Hunt { + return new Hunt(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Hunt'; + + /** + * Returns true if the given object is an instance of Hunt. 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 Hunt { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Hunt.__pulumiType; + } + + /** + * A list of mitre attack tactics the hunt is associated with + */ + public readonly attackTactics!: pulumi.Output; + /** + * A list of a mitre attack techniques the hunt is associated with + */ + public readonly attackTechniques!: pulumi.Output; + /** + * The description of the hunt + */ + public readonly description!: pulumi.Output; + /** + * The display name of the hunt + */ + public readonly displayName!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The hypothesis status of the hunt. + */ + public readonly hypothesisStatus!: pulumi.Output; + /** + * List of labels relevant to this hunt + */ + public readonly labels!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Describes a user that the hunt is assigned to + */ + public readonly owner!: pulumi.Output; + /** + * The status of the hunt. + */ + public readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Hunt 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: HuntArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.description === undefined) && !opts.urn) { + throw new Error("Missing required property 'description'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["attackTactics"] = args ? args.attackTactics : undefined; + resourceInputs["attackTechniques"] = args ? args.attackTechniques : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["huntId"] = args ? args.huntId : undefined; + resourceInputs["hypothesisStatus"] = (args ? args.hypothesisStatus : undefined) ?? "Unknown"; + resourceInputs["labels"] = args ? args.labels : undefined; + resourceInputs["owner"] = args ? args.owner : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["status"] = (args ? args.status : undefined) ?? "New"; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["attackTactics"] = undefined /*out*/; + resourceInputs["attackTechniques"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["hypothesisStatus"] = undefined /*out*/; + resourceInputs["labels"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["owner"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Hunt" }, { type: "azure-native:securityinsights/v20230401preview:Hunt" }, { type: "azure-native:securityinsights/v20230501preview:Hunt" }, { type: "azure-native:securityinsights/v20230601preview:Hunt" }, { type: "azure-native:securityinsights/v20230701preview:Hunt" }, { type: "azure-native:securityinsights/v20230801preview:Hunt" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Hunt.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Hunt resource. + */ +export interface HuntArgs { + /** + * A list of mitre attack tactics the hunt is associated with + */ + attackTactics?: pulumi.Input[]>; + /** + * A list of a mitre attack techniques the hunt is associated with + */ + attackTechniques?: pulumi.Input[]>; + /** + * The description of the hunt + */ + description: pulumi.Input; + /** + * The display name of the hunt + */ + displayName: pulumi.Input; + /** + * The hunt id (GUID) + */ + huntId?: pulumi.Input; + /** + * The hypothesis status of the hunt. + */ + hypothesisStatus?: pulumi.Input; + /** + * List of labels relevant to this hunt + */ + labels?: pulumi.Input[]>; + /** + * Describes a user that the hunt is assigned to + */ + owner?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The status of the hunt. + */ + status?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/huntComment.ts b/sdk/nodejs/securityinsights/v20230901preview/huntComment.ts new file mode 100644 index 000000000000..93f58cc9df4c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/huntComment.ts @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Hunt Comment in Azure Security Insights + */ +export class HuntComment extends pulumi.CustomResource { + /** + * Get an existing HuntComment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): HuntComment { + return new HuntComment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:HuntComment'; + + /** + * Returns true if the given object is an instance of HuntComment. 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 HuntComment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === HuntComment.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The message for the comment + */ + public readonly message!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a HuntComment 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: HuntCommentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.huntId === undefined) && !opts.urn) { + throw new Error("Missing required property 'huntId'"); + } + if ((!args || args.message === undefined) && !opts.urn) { + throw new Error("Missing required property 'message'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["huntCommentId"] = args ? args.huntCommentId : undefined; + resourceInputs["huntId"] = args ? args.huntId : undefined; + resourceInputs["message"] = args ? args.message : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["message"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntComment" }, { type: "azure-native:securityinsights/v20230401preview:HuntComment" }, { type: "azure-native:securityinsights/v20230501preview:HuntComment" }, { type: "azure-native:securityinsights/v20230601preview:HuntComment" }, { type: "azure-native:securityinsights/v20230701preview:HuntComment" }, { type: "azure-native:securityinsights/v20230801preview:HuntComment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(HuntComment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a HuntComment resource. + */ +export interface HuntCommentArgs { + /** + * The hunt comment id (GUID) + */ + huntCommentId?: pulumi.Input; + /** + * The hunt id (GUID) + */ + huntId: pulumi.Input; + /** + * The message for the comment + */ + message: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/huntRelation.ts b/sdk/nodejs/securityinsights/v20230901preview/huntRelation.ts new file mode 100644 index 000000000000..53b6cd17ddcf --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/huntRelation.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Hunt Relation in Azure Security Insights. + */ +export class HuntRelation extends pulumi.CustomResource { + /** + * Get an existing HuntRelation 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): HuntRelation { + return new HuntRelation(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:HuntRelation'; + + /** + * Returns true if the given object is an instance of HuntRelation. 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 HuntRelation { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === HuntRelation.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * List of labels relevant to this hunt + */ + public readonly labels!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The id of the related resource + */ + public readonly relatedResourceId!: pulumi.Output; + /** + * The resource that the relation is related to + */ + public /*out*/ readonly relatedResourceKind!: pulumi.Output; + /** + * The name of the related resource + */ + public /*out*/ readonly relatedResourceName!: pulumi.Output; + /** + * The type of the hunt relation + */ + public /*out*/ readonly relationType!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a HuntRelation 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: HuntRelationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.huntId === undefined) && !opts.urn) { + throw new Error("Missing required property 'huntId'"); + } + if ((!args || args.relatedResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'relatedResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["huntId"] = args ? args.huntId : undefined; + resourceInputs["huntRelationId"] = args ? args.huntRelationId : undefined; + resourceInputs["labels"] = args ? args.labels : undefined; + resourceInputs["relatedResourceId"] = args ? args.relatedResourceId : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["relatedResourceKind"] = undefined /*out*/; + resourceInputs["relatedResourceName"] = undefined /*out*/; + resourceInputs["relationType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["labels"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["relatedResourceId"] = undefined /*out*/; + resourceInputs["relatedResourceKind"] = undefined /*out*/; + resourceInputs["relatedResourceName"] = undefined /*out*/; + resourceInputs["relationType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:HuntRelation" }, { type: "azure-native:securityinsights/v20230401preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230501preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230601preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230701preview:HuntRelation" }, { type: "azure-native:securityinsights/v20230801preview:HuntRelation" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(HuntRelation.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a HuntRelation resource. + */ +export interface HuntRelationArgs { + /** + * The hunt id (GUID) + */ + huntId: pulumi.Input; + /** + * The hunt relation id (GUID) + */ + huntRelationId?: pulumi.Input; + /** + * List of labels relevant to this hunt + */ + labels?: pulumi.Input[]>; + /** + * The id of the related resource + */ + relatedResourceId: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/incident.ts b/sdk/nodejs/securityinsights/v20230901preview/incident.ts new file mode 100644 index 000000000000..3df0eb0cad40 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/incident.ts @@ -0,0 +1,280 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +export class Incident extends pulumi.CustomResource { + /** + * Get an existing Incident 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Incident { + return new Incident(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Incident'; + + /** + * Returns true if the given object is an instance of Incident. 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 Incident { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Incident.__pulumiType; + } + + /** + * Additional data on the incident + */ + public /*out*/ readonly additionalData!: pulumi.Output; + /** + * The reason the incident was closed + */ + public readonly classification!: pulumi.Output; + /** + * Describes the reason the incident was closed + */ + public readonly classificationComment!: pulumi.Output; + /** + * The classification reason the incident was closed with + */ + public readonly classificationReason!: pulumi.Output; + /** + * The time the incident was created + */ + public /*out*/ readonly createdTimeUtc!: pulumi.Output; + /** + * The description of the incident + */ + public readonly description!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The time of the first activity in the incident + */ + public readonly firstActivityTimeUtc!: pulumi.Output; + /** + * A sequential number + */ + public /*out*/ readonly incidentNumber!: pulumi.Output; + /** + * The deep-link url to the incident in Azure portal + */ + public /*out*/ readonly incidentUrl!: pulumi.Output; + /** + * List of labels relevant to this incident + */ + public readonly labels!: pulumi.Output; + /** + * The time of the last activity in the incident + */ + public readonly lastActivityTimeUtc!: pulumi.Output; + /** + * The last time the incident was updated + */ + public /*out*/ readonly lastModifiedTimeUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Describes a user that the incident is assigned to + */ + public readonly owner!: pulumi.Output; + /** + * The incident ID assigned by the incident provider + */ + public /*out*/ readonly providerIncidentId!: pulumi.Output; + /** + * The name of the source provider that generated the incident + */ + public /*out*/ readonly providerName!: pulumi.Output; + /** + * List of resource ids of Analytic rules related to the incident + */ + public /*out*/ readonly relatedAnalyticRuleIds!: pulumi.Output; + /** + * The severity of the incident + */ + public readonly severity!: pulumi.Output; + /** + * The status of the incident + */ + public readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Describes a team for the incident + */ + public /*out*/ readonly teamInformation!: pulumi.Output; + /** + * The title of the incident + */ + public readonly title!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Incident 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: IncidentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.severity === undefined) && !opts.urn) { + throw new Error("Missing required property 'severity'"); + } + if ((!args || args.status === undefined) && !opts.urn) { + throw new Error("Missing required property 'status'"); + } + if ((!args || args.title === undefined) && !opts.urn) { + throw new Error("Missing required property 'title'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["classification"] = args ? args.classification : undefined; + resourceInputs["classificationComment"] = args ? args.classificationComment : undefined; + resourceInputs["classificationReason"] = args ? args.classificationReason : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["firstActivityTimeUtc"] = args ? args.firstActivityTimeUtc : undefined; + resourceInputs["incidentId"] = args ? args.incidentId : undefined; + resourceInputs["labels"] = args ? args.labels : undefined; + resourceInputs["lastActivityTimeUtc"] = args ? args.lastActivityTimeUtc : undefined; + resourceInputs["owner"] = args ? args.owner : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["severity"] = args ? args.severity : undefined; + resourceInputs["status"] = args ? args.status : undefined; + resourceInputs["title"] = args ? args.title : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["additionalData"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["incidentNumber"] = undefined /*out*/; + resourceInputs["incidentUrl"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["providerIncidentId"] = undefined /*out*/; + resourceInputs["providerName"] = undefined /*out*/; + resourceInputs["relatedAnalyticRuleIds"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["teamInformation"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["additionalData"] = undefined /*out*/; + resourceInputs["classification"] = undefined /*out*/; + resourceInputs["classificationComment"] = undefined /*out*/; + resourceInputs["classificationReason"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["firstActivityTimeUtc"] = undefined /*out*/; + resourceInputs["incidentNumber"] = undefined /*out*/; + resourceInputs["incidentUrl"] = undefined /*out*/; + resourceInputs["labels"] = undefined /*out*/; + resourceInputs["lastActivityTimeUtc"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["owner"] = undefined /*out*/; + resourceInputs["providerIncidentId"] = undefined /*out*/; + resourceInputs["providerName"] = undefined /*out*/; + resourceInputs["relatedAnalyticRuleIds"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["teamInformation"] = undefined /*out*/; + resourceInputs["title"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Incident" }, { type: "azure-native:securityinsights/v20190101preview:Incident" }, { type: "azure-native:securityinsights/v20200101:Incident" }, { type: "azure-native:securityinsights/v20210301preview:Incident" }, { type: "azure-native:securityinsights/v20210401:Incident" }, { type: "azure-native:securityinsights/v20210901preview:Incident" }, { type: "azure-native:securityinsights/v20211001:Incident" }, { type: "azure-native:securityinsights/v20211001preview:Incident" }, { type: "azure-native:securityinsights/v20220101preview:Incident" }, { type: "azure-native:securityinsights/v20220401preview:Incident" }, { type: "azure-native:securityinsights/v20220501preview:Incident" }, { type: "azure-native:securityinsights/v20220601preview:Incident" }, { type: "azure-native:securityinsights/v20220701preview:Incident" }, { type: "azure-native:securityinsights/v20220801:Incident" }, { type: "azure-native:securityinsights/v20220801preview:Incident" }, { type: "azure-native:securityinsights/v20220901preview:Incident" }, { type: "azure-native:securityinsights/v20221001preview:Incident" }, { type: "azure-native:securityinsights/v20221101:Incident" }, { type: "azure-native:securityinsights/v20221101preview:Incident" }, { type: "azure-native:securityinsights/v20221201preview:Incident" }, { type: "azure-native:securityinsights/v20230201:Incident" }, { type: "azure-native:securityinsights/v20230201preview:Incident" }, { type: "azure-native:securityinsights/v20230301preview:Incident" }, { type: "azure-native:securityinsights/v20230401preview:Incident" }, { type: "azure-native:securityinsights/v20230501preview:Incident" }, { type: "azure-native:securityinsights/v20230601preview:Incident" }, { type: "azure-native:securityinsights/v20230701preview:Incident" }, { type: "azure-native:securityinsights/v20230801preview:Incident" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Incident.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Incident resource. + */ +export interface IncidentArgs { + /** + * The reason the incident was closed + */ + classification?: pulumi.Input; + /** + * Describes the reason the incident was closed + */ + classificationComment?: pulumi.Input; + /** + * The classification reason the incident was closed with + */ + classificationReason?: pulumi.Input; + /** + * The description of the incident + */ + description?: pulumi.Input; + /** + * The time of the first activity in the incident + */ + firstActivityTimeUtc?: pulumi.Input; + /** + * Incident ID + */ + incidentId?: pulumi.Input; + /** + * List of labels relevant to this incident + */ + labels?: pulumi.Input[]>; + /** + * The time of the last activity in the incident + */ + lastActivityTimeUtc?: pulumi.Input; + /** + * Describes a user that the incident is assigned to + */ + owner?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The severity of the incident + */ + severity: pulumi.Input; + /** + * The status of the incident + */ + status: pulumi.Input; + /** + * The title of the incident + */ + title: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/incidentComment.ts b/sdk/nodejs/securityinsights/v20230901preview/incidentComment.ts new file mode 100644 index 000000000000..556d610be12e --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/incidentComment.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents an incident comment + */ +export class IncidentComment extends pulumi.CustomResource { + /** + * Get an existing IncidentComment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IncidentComment { + return new IncidentComment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:IncidentComment'; + + /** + * Returns true if the given object is an instance of IncidentComment. 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 IncidentComment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IncidentComment.__pulumiType; + } + + /** + * Describes the client that created the comment + */ + public /*out*/ readonly author!: pulumi.Output; + /** + * The time the comment was created + */ + public /*out*/ readonly createdTimeUtc!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The time the comment was updated + */ + public /*out*/ readonly lastModifiedTimeUtc!: pulumi.Output; + /** + * The comment message + */ + public readonly message!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IncidentComment 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: IncidentCommentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.incidentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'incidentId'"); + } + if ((!args || args.message === undefined) && !opts.urn) { + throw new Error("Missing required property 'message'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["incidentCommentId"] = args ? args.incidentCommentId : undefined; + resourceInputs["incidentId"] = args ? args.incidentId : undefined; + resourceInputs["message"] = args ? args.message : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["author"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["author"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["message"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentComment" }, { type: "azure-native:securityinsights/v20190101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20210401:IncidentComment" }, { type: "azure-native:securityinsights/v20210901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20211001:IncidentComment" }, { type: "azure-native:securityinsights/v20211001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220801:IncidentComment" }, { type: "azure-native:securityinsights/v20220801preview:IncidentComment" }, { type: "azure-native:securityinsights/v20220901preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221001preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221101:IncidentComment" }, { type: "azure-native:securityinsights/v20221101preview:IncidentComment" }, { type: "azure-native:securityinsights/v20221201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230201:IncidentComment" }, { type: "azure-native:securityinsights/v20230201preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230301preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230401preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230501preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230601preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230701preview:IncidentComment" }, { type: "azure-native:securityinsights/v20230801preview:IncidentComment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(IncidentComment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a IncidentComment resource. + */ +export interface IncidentCommentArgs { + /** + * Incident comment ID + */ + incidentCommentId?: pulumi.Input; + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * The comment message + */ + message: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/incidentRelation.ts b/sdk/nodejs/securityinsights/v20230901preview/incidentRelation.ts new file mode 100644 index 000000000000..3cc82d113c41 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/incidentRelation.ts @@ -0,0 +1,149 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a relation between two resources + */ +export class IncidentRelation extends pulumi.CustomResource { + /** + * Get an existing IncidentRelation 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IncidentRelation { + return new IncidentRelation(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:IncidentRelation'; + + /** + * Returns true if the given object is an instance of IncidentRelation. 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 IncidentRelation { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IncidentRelation.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The resource ID of the related resource + */ + public readonly relatedResourceId!: pulumi.Output; + /** + * The resource kind of the related resource + */ + public /*out*/ readonly relatedResourceKind!: pulumi.Output; + /** + * The name of the related resource + */ + public /*out*/ readonly relatedResourceName!: pulumi.Output; + /** + * The resource type of the related resource + */ + public /*out*/ readonly relatedResourceType!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IncidentRelation 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: IncidentRelationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.incidentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'incidentId'"); + } + if ((!args || args.relatedResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'relatedResourceId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["incidentId"] = args ? args.incidentId : undefined; + resourceInputs["relatedResourceId"] = args ? args.relatedResourceId : undefined; + resourceInputs["relationName"] = args ? args.relationName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["relatedResourceKind"] = undefined /*out*/; + resourceInputs["relatedResourceName"] = undefined /*out*/; + resourceInputs["relatedResourceType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["relatedResourceId"] = undefined /*out*/; + resourceInputs["relatedResourceKind"] = undefined /*out*/; + resourceInputs["relatedResourceName"] = undefined /*out*/; + resourceInputs["relatedResourceType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentRelation" }, { type: "azure-native:securityinsights/v20190101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20210401:IncidentRelation" }, { type: "azure-native:securityinsights/v20210901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001:IncidentRelation" }, { type: "azure-native:securityinsights/v20211001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801:IncidentRelation" }, { type: "azure-native:securityinsights/v20220801preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20220901preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221001preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101:IncidentRelation" }, { type: "azure-native:securityinsights/v20221101preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20221201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201:IncidentRelation" }, { type: "azure-native:securityinsights/v20230201preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230301preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230401preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230501preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230601preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230701preview:IncidentRelation" }, { type: "azure-native:securityinsights/v20230801preview:IncidentRelation" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(IncidentRelation.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a IncidentRelation resource. + */ +export interface IncidentRelationArgs { + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * The resource ID of the related resource + */ + relatedResourceId: pulumi.Input; + /** + * Relation Name + */ + relationName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/incidentTask.ts b/sdk/nodejs/securityinsights/v20230901preview/incidentTask.ts new file mode 100644 index 000000000000..ab781d123d31 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/incidentTask.ts @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +export class IncidentTask extends pulumi.CustomResource { + /** + * Get an existing IncidentTask 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IncidentTask { + return new IncidentTask(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:IncidentTask'; + + /** + * Returns true if the given object is an instance of IncidentTask. 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 IncidentTask { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IncidentTask.__pulumiType; + } + + /** + * Information on the client (user or application) that made some action + */ + public readonly createdBy!: pulumi.Output; + /** + * The time the task was created + */ + public /*out*/ readonly createdTimeUtc!: pulumi.Output; + /** + * The description of the task + */ + public readonly description!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * Information on the client (user or application) that made some action + */ + public readonly lastModifiedBy!: pulumi.Output; + /** + * The last time the task was updated + */ + public /*out*/ readonly lastModifiedTimeUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + public readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The title of the task + */ + public readonly title!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IncidentTask 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: IncidentTaskArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.incidentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'incidentId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.status === undefined) && !opts.urn) { + throw new Error("Missing required property 'status'"); + } + if ((!args || args.title === undefined) && !opts.urn) { + throw new Error("Missing required property 'title'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["createdBy"] = args ? args.createdBy : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["incidentId"] = args ? args.incidentId : undefined; + resourceInputs["incidentTaskId"] = args ? args.incidentTaskId : undefined; + resourceInputs["lastModifiedBy"] = args ? args.lastModifiedBy : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["status"] = args ? args.status : undefined; + resourceInputs["title"] = args ? args.title : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["createdTimeUtc"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedBy"] = undefined /*out*/; + resourceInputs["lastModifiedTimeUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["title"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IncidentTask" }, { type: "azure-native:securityinsights/v20221201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230201preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230301preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230401preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230501preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230601preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230701preview:IncidentTask" }, { type: "azure-native:securityinsights/v20230801preview:IncidentTask" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(IncidentTask.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a IncidentTask resource. + */ +export interface IncidentTaskArgs { + /** + * Information on the client (user or application) that made some action + */ + createdBy?: pulumi.Input; + /** + * The description of the task + */ + description?: pulumi.Input; + /** + * Incident ID + */ + incidentId: pulumi.Input; + /** + * Incident task ID + */ + incidentTaskId?: pulumi.Input; + /** + * Information on the client (user or application) that made some action + */ + lastModifiedBy?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + status: pulumi.Input; + /** + * The title of the task + */ + title: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/index.ts b/sdk/nodejs/securityinsights/v20230901preview/index.ts new file mode 100644 index 000000000000..576d6427e0e9 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/index.ts @@ -0,0 +1,732 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { AADDataConnectorArgs } from "./aaddataConnector"; +export type AADDataConnector = import("./aaddataConnector").AADDataConnector; +export const AADDataConnector: typeof import("./aaddataConnector").AADDataConnector = null as any; +utilities.lazyLoad(exports, ["AADDataConnector"], () => require("./aaddataConnector")); + +export { AATPDataConnectorArgs } from "./aatpdataConnector"; +export type AATPDataConnector = import("./aatpdataConnector").AATPDataConnector; +export const AATPDataConnector: typeof import("./aatpdataConnector").AATPDataConnector = null as any; +utilities.lazyLoad(exports, ["AATPDataConnector"], () => require("./aatpdataConnector")); + +export { ActionArgs } from "./action"; +export type Action = import("./action").Action; +export const Action: typeof import("./action").Action = null as any; +utilities.lazyLoad(exports, ["Action"], () => require("./action")); + +export { ActivityCustomEntityQueryArgs } from "./activityCustomEntityQuery"; +export type ActivityCustomEntityQuery = import("./activityCustomEntityQuery").ActivityCustomEntityQuery; +export const ActivityCustomEntityQuery: typeof import("./activityCustomEntityQuery").ActivityCustomEntityQuery = null as any; +utilities.lazyLoad(exports, ["ActivityCustomEntityQuery"], () => require("./activityCustomEntityQuery")); + +export { AnomaliesArgs } from "./anomalies"; +export type Anomalies = import("./anomalies").Anomalies; +export const Anomalies: typeof import("./anomalies").Anomalies = null as any; +utilities.lazyLoad(exports, ["Anomalies"], () => require("./anomalies")); + +export { AnomalySecurityMLAnalyticsSettingsArgs } from "./anomalySecurityMLAnalyticsSettings"; +export type AnomalySecurityMLAnalyticsSettings = import("./anomalySecurityMLAnalyticsSettings").AnomalySecurityMLAnalyticsSettings; +export const AnomalySecurityMLAnalyticsSettings: typeof import("./anomalySecurityMLAnalyticsSettings").AnomalySecurityMLAnalyticsSettings = null as any; +utilities.lazyLoad(exports, ["AnomalySecurityMLAnalyticsSettings"], () => require("./anomalySecurityMLAnalyticsSettings")); + +export { ASCDataConnectorArgs } from "./ascdataConnector"; +export type ASCDataConnector = import("./ascdataConnector").ASCDataConnector; +export const ASCDataConnector: typeof import("./ascdataConnector").ASCDataConnector = null as any; +utilities.lazyLoad(exports, ["ASCDataConnector"], () => require("./ascdataConnector")); + +export { AutomationRuleArgs } from "./automationRule"; +export type AutomationRule = import("./automationRule").AutomationRule; +export const AutomationRule: typeof import("./automationRule").AutomationRule = null as any; +utilities.lazyLoad(exports, ["AutomationRule"], () => require("./automationRule")); + +export { AwsCloudTrailDataConnectorArgs } from "./awsCloudTrailDataConnector"; +export type AwsCloudTrailDataConnector = import("./awsCloudTrailDataConnector").AwsCloudTrailDataConnector; +export const AwsCloudTrailDataConnector: typeof import("./awsCloudTrailDataConnector").AwsCloudTrailDataConnector = null as any; +utilities.lazyLoad(exports, ["AwsCloudTrailDataConnector"], () => require("./awsCloudTrailDataConnector")); + +export { AwsS3DataConnectorArgs } from "./awsS3DataConnector"; +export type AwsS3DataConnector = import("./awsS3DataConnector").AwsS3DataConnector; +export const AwsS3DataConnector: typeof import("./awsS3DataConnector").AwsS3DataConnector = null as any; +utilities.lazyLoad(exports, ["AwsS3DataConnector"], () => require("./awsS3DataConnector")); + +export { BookmarkArgs } from "./bookmark"; +export type Bookmark = import("./bookmark").Bookmark; +export const Bookmark: typeof import("./bookmark").Bookmark = null as any; +utilities.lazyLoad(exports, ["Bookmark"], () => require("./bookmark")); + +export { BookmarkRelationArgs } from "./bookmarkRelation"; +export type BookmarkRelation = import("./bookmarkRelation").BookmarkRelation; +export const BookmarkRelation: typeof import("./bookmarkRelation").BookmarkRelation = null as any; +utilities.lazyLoad(exports, ["BookmarkRelation"], () => require("./bookmarkRelation")); + +export { CodelessApiPollingDataConnectorArgs } from "./codelessApiPollingDataConnector"; +export type CodelessApiPollingDataConnector = import("./codelessApiPollingDataConnector").CodelessApiPollingDataConnector; +export const CodelessApiPollingDataConnector: typeof import("./codelessApiPollingDataConnector").CodelessApiPollingDataConnector = null as any; +utilities.lazyLoad(exports, ["CodelessApiPollingDataConnector"], () => require("./codelessApiPollingDataConnector")); + +export { CodelessUiDataConnectorArgs } from "./codelessUiDataConnector"; +export type CodelessUiDataConnector = import("./codelessUiDataConnector").CodelessUiDataConnector; +export const CodelessUiDataConnector: typeof import("./codelessUiDataConnector").CodelessUiDataConnector = null as any; +utilities.lazyLoad(exports, ["CodelessUiDataConnector"], () => require("./codelessUiDataConnector")); + +export { ContentPackageArgs } from "./contentPackage"; +export type ContentPackage = import("./contentPackage").ContentPackage; +export const ContentPackage: typeof import("./contentPackage").ContentPackage = null as any; +utilities.lazyLoad(exports, ["ContentPackage"], () => require("./contentPackage")); + +export { ContentTemplateArgs } from "./contentTemplate"; +export type ContentTemplate = import("./contentTemplate").ContentTemplate; +export const ContentTemplate: typeof import("./contentTemplate").ContentTemplate = null as any; +utilities.lazyLoad(exports, ["ContentTemplate"], () => require("./contentTemplate")); + +export { CustomizableConnectorDefinitionArgs } from "./customizableConnectorDefinition"; +export type CustomizableConnectorDefinition = import("./customizableConnectorDefinition").CustomizableConnectorDefinition; +export const CustomizableConnectorDefinition: typeof import("./customizableConnectorDefinition").CustomizableConnectorDefinition = null as any; +utilities.lazyLoad(exports, ["CustomizableConnectorDefinition"], () => require("./customizableConnectorDefinition")); + +export { Dynamics365DataConnectorArgs } from "./dynamics365DataConnector"; +export type Dynamics365DataConnector = import("./dynamics365DataConnector").Dynamics365DataConnector; +export const Dynamics365DataConnector: typeof import("./dynamics365DataConnector").Dynamics365DataConnector = null as any; +utilities.lazyLoad(exports, ["Dynamics365DataConnector"], () => require("./dynamics365DataConnector")); + +export { EntityAnalyticsArgs } from "./entityAnalytics"; +export type EntityAnalytics = import("./entityAnalytics").EntityAnalytics; +export const EntityAnalytics: typeof import("./entityAnalytics").EntityAnalytics = null as any; +utilities.lazyLoad(exports, ["EntityAnalytics"], () => require("./entityAnalytics")); + +export { EyesOnArgs } from "./eyesOn"; +export type EyesOn = import("./eyesOn").EyesOn; +export const EyesOn: typeof import("./eyesOn").EyesOn = null as any; +utilities.lazyLoad(exports, ["EyesOn"], () => require("./eyesOn")); + +export { FileImportArgs } from "./fileImport"; +export type FileImport = import("./fileImport").FileImport; +export const FileImport: typeof import("./fileImport").FileImport = null as any; +utilities.lazyLoad(exports, ["FileImport"], () => require("./fileImport")); + +export { FusionAlertRuleArgs } from "./fusionAlertRule"; +export type FusionAlertRule = import("./fusionAlertRule").FusionAlertRule; +export const FusionAlertRule: typeof import("./fusionAlertRule").FusionAlertRule = null as any; +utilities.lazyLoad(exports, ["FusionAlertRule"], () => require("./fusionAlertRule")); + +export { GCPDataConnectorArgs } from "./gcpdataConnector"; +export type GCPDataConnector = import("./gcpdataConnector").GCPDataConnector; +export const GCPDataConnector: typeof import("./gcpdataConnector").GCPDataConnector = null as any; +utilities.lazyLoad(exports, ["GCPDataConnector"], () => require("./gcpdataConnector")); + +export { GetAADDataConnectorArgs, GetAADDataConnectorResult, GetAADDataConnectorOutputArgs } from "./getAADDataConnector"; +export const getAADDataConnector: typeof import("./getAADDataConnector").getAADDataConnector = null as any; +export const getAADDataConnectorOutput: typeof import("./getAADDataConnector").getAADDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getAADDataConnector","getAADDataConnectorOutput"], () => require("./getAADDataConnector")); + +export { GetAATPDataConnectorArgs, GetAATPDataConnectorResult, GetAATPDataConnectorOutputArgs } from "./getAATPDataConnector"; +export const getAATPDataConnector: typeof import("./getAATPDataConnector").getAATPDataConnector = null as any; +export const getAATPDataConnectorOutput: typeof import("./getAATPDataConnector").getAATPDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getAATPDataConnector","getAATPDataConnectorOutput"], () => require("./getAATPDataConnector")); + +export { GetASCDataConnectorArgs, GetASCDataConnectorResult, GetASCDataConnectorOutputArgs } from "./getASCDataConnector"; +export const getASCDataConnector: typeof import("./getASCDataConnector").getASCDataConnector = null as any; +export const getASCDataConnectorOutput: typeof import("./getASCDataConnector").getASCDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getASCDataConnector","getASCDataConnectorOutput"], () => require("./getASCDataConnector")); + +export { GetActionArgs, GetActionResult, GetActionOutputArgs } from "./getAction"; +export const getAction: typeof import("./getAction").getAction = null as any; +export const getActionOutput: typeof import("./getAction").getActionOutput = null as any; +utilities.lazyLoad(exports, ["getAction","getActionOutput"], () => require("./getAction")); + +export { GetActivityCustomEntityQueryArgs, GetActivityCustomEntityQueryResult, GetActivityCustomEntityQueryOutputArgs } from "./getActivityCustomEntityQuery"; +export const getActivityCustomEntityQuery: typeof import("./getActivityCustomEntityQuery").getActivityCustomEntityQuery = null as any; +export const getActivityCustomEntityQueryOutput: typeof import("./getActivityCustomEntityQuery").getActivityCustomEntityQueryOutput = null as any; +utilities.lazyLoad(exports, ["getActivityCustomEntityQuery","getActivityCustomEntityQueryOutput"], () => require("./getActivityCustomEntityQuery")); + +export { GetAnomaliesArgs, GetAnomaliesResult, GetAnomaliesOutputArgs } from "./getAnomalies"; +export const getAnomalies: typeof import("./getAnomalies").getAnomalies = null as any; +export const getAnomaliesOutput: typeof import("./getAnomalies").getAnomaliesOutput = null as any; +utilities.lazyLoad(exports, ["getAnomalies","getAnomaliesOutput"], () => require("./getAnomalies")); + +export { GetAnomalySecurityMLAnalyticsSettingsArgs, GetAnomalySecurityMLAnalyticsSettingsResult, GetAnomalySecurityMLAnalyticsSettingsOutputArgs } from "./getAnomalySecurityMLAnalyticsSettings"; +export const getAnomalySecurityMLAnalyticsSettings: typeof import("./getAnomalySecurityMLAnalyticsSettings").getAnomalySecurityMLAnalyticsSettings = null as any; +export const getAnomalySecurityMLAnalyticsSettingsOutput: typeof import("./getAnomalySecurityMLAnalyticsSettings").getAnomalySecurityMLAnalyticsSettingsOutput = null as any; +utilities.lazyLoad(exports, ["getAnomalySecurityMLAnalyticsSettings","getAnomalySecurityMLAnalyticsSettingsOutput"], () => require("./getAnomalySecurityMLAnalyticsSettings")); + +export { GetAutomationRuleArgs, GetAutomationRuleResult, GetAutomationRuleOutputArgs } from "./getAutomationRule"; +export const getAutomationRule: typeof import("./getAutomationRule").getAutomationRule = null as any; +export const getAutomationRuleOutput: typeof import("./getAutomationRule").getAutomationRuleOutput = null as any; +utilities.lazyLoad(exports, ["getAutomationRule","getAutomationRuleOutput"], () => require("./getAutomationRule")); + +export { GetAwsCloudTrailDataConnectorArgs, GetAwsCloudTrailDataConnectorResult, GetAwsCloudTrailDataConnectorOutputArgs } from "./getAwsCloudTrailDataConnector"; +export const getAwsCloudTrailDataConnector: typeof import("./getAwsCloudTrailDataConnector").getAwsCloudTrailDataConnector = null as any; +export const getAwsCloudTrailDataConnectorOutput: typeof import("./getAwsCloudTrailDataConnector").getAwsCloudTrailDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getAwsCloudTrailDataConnector","getAwsCloudTrailDataConnectorOutput"], () => require("./getAwsCloudTrailDataConnector")); + +export { GetAwsS3DataConnectorArgs, GetAwsS3DataConnectorResult, GetAwsS3DataConnectorOutputArgs } from "./getAwsS3DataConnector"; +export const getAwsS3DataConnector: typeof import("./getAwsS3DataConnector").getAwsS3DataConnector = null as any; +export const getAwsS3DataConnectorOutput: typeof import("./getAwsS3DataConnector").getAwsS3DataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getAwsS3DataConnector","getAwsS3DataConnectorOutput"], () => require("./getAwsS3DataConnector")); + +export { GetBookmarkArgs, GetBookmarkResult, GetBookmarkOutputArgs } from "./getBookmark"; +export const getBookmark: typeof import("./getBookmark").getBookmark = null as any; +export const getBookmarkOutput: typeof import("./getBookmark").getBookmarkOutput = null as any; +utilities.lazyLoad(exports, ["getBookmark","getBookmarkOutput"], () => require("./getBookmark")); + +export { GetBookmarkRelationArgs, GetBookmarkRelationResult, GetBookmarkRelationOutputArgs } from "./getBookmarkRelation"; +export const getBookmarkRelation: typeof import("./getBookmarkRelation").getBookmarkRelation = null as any; +export const getBookmarkRelationOutput: typeof import("./getBookmarkRelation").getBookmarkRelationOutput = null as any; +utilities.lazyLoad(exports, ["getBookmarkRelation","getBookmarkRelationOutput"], () => require("./getBookmarkRelation")); + +export { GetCodelessApiPollingDataConnectorArgs, GetCodelessApiPollingDataConnectorResult, GetCodelessApiPollingDataConnectorOutputArgs } from "./getCodelessApiPollingDataConnector"; +export const getCodelessApiPollingDataConnector: typeof import("./getCodelessApiPollingDataConnector").getCodelessApiPollingDataConnector = null as any; +export const getCodelessApiPollingDataConnectorOutput: typeof import("./getCodelessApiPollingDataConnector").getCodelessApiPollingDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getCodelessApiPollingDataConnector","getCodelessApiPollingDataConnectorOutput"], () => require("./getCodelessApiPollingDataConnector")); + +export { GetCodelessUiDataConnectorArgs, GetCodelessUiDataConnectorResult, GetCodelessUiDataConnectorOutputArgs } from "./getCodelessUiDataConnector"; +export const getCodelessUiDataConnector: typeof import("./getCodelessUiDataConnector").getCodelessUiDataConnector = null as any; +export const getCodelessUiDataConnectorOutput: typeof import("./getCodelessUiDataConnector").getCodelessUiDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getCodelessUiDataConnector","getCodelessUiDataConnectorOutput"], () => require("./getCodelessUiDataConnector")); + +export { GetContentPackageArgs, GetContentPackageResult, GetContentPackageOutputArgs } from "./getContentPackage"; +export const getContentPackage: typeof import("./getContentPackage").getContentPackage = null as any; +export const getContentPackageOutput: typeof import("./getContentPackage").getContentPackageOutput = null as any; +utilities.lazyLoad(exports, ["getContentPackage","getContentPackageOutput"], () => require("./getContentPackage")); + +export { GetContentTemplateArgs, GetContentTemplateResult, GetContentTemplateOutputArgs } from "./getContentTemplate"; +export const getContentTemplate: typeof import("./getContentTemplate").getContentTemplate = null as any; +export const getContentTemplateOutput: typeof import("./getContentTemplate").getContentTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getContentTemplate","getContentTemplateOutput"], () => require("./getContentTemplate")); + +export { GetCustomizableConnectorDefinitionArgs, GetCustomizableConnectorDefinitionResult, GetCustomizableConnectorDefinitionOutputArgs } from "./getCustomizableConnectorDefinition"; +export const getCustomizableConnectorDefinition: typeof import("./getCustomizableConnectorDefinition").getCustomizableConnectorDefinition = null as any; +export const getCustomizableConnectorDefinitionOutput: typeof import("./getCustomizableConnectorDefinition").getCustomizableConnectorDefinitionOutput = null as any; +utilities.lazyLoad(exports, ["getCustomizableConnectorDefinition","getCustomizableConnectorDefinitionOutput"], () => require("./getCustomizableConnectorDefinition")); + +export { GetDynamics365DataConnectorArgs, GetDynamics365DataConnectorResult, GetDynamics365DataConnectorOutputArgs } from "./getDynamics365DataConnector"; +export const getDynamics365DataConnector: typeof import("./getDynamics365DataConnector").getDynamics365DataConnector = null as any; +export const getDynamics365DataConnectorOutput: typeof import("./getDynamics365DataConnector").getDynamics365DataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getDynamics365DataConnector","getDynamics365DataConnectorOutput"], () => require("./getDynamics365DataConnector")); + +export { GetEntitiesGetTimelineArgs, GetEntitiesGetTimelineResult, GetEntitiesGetTimelineOutputArgs } from "./getEntitiesGetTimeline"; +export const getEntitiesGetTimeline: typeof import("./getEntitiesGetTimeline").getEntitiesGetTimeline = null as any; +export const getEntitiesGetTimelineOutput: typeof import("./getEntitiesGetTimeline").getEntitiesGetTimelineOutput = null as any; +utilities.lazyLoad(exports, ["getEntitiesGetTimeline","getEntitiesGetTimelineOutput"], () => require("./getEntitiesGetTimeline")); + +export { GetEntityAnalyticsArgs, GetEntityAnalyticsResult, GetEntityAnalyticsOutputArgs } from "./getEntityAnalytics"; +export const getEntityAnalytics: typeof import("./getEntityAnalytics").getEntityAnalytics = null as any; +export const getEntityAnalyticsOutput: typeof import("./getEntityAnalytics").getEntityAnalyticsOutput = null as any; +utilities.lazyLoad(exports, ["getEntityAnalytics","getEntityAnalyticsOutput"], () => require("./getEntityAnalytics")); + +export { GetEntityInsightsArgs, GetEntityInsightsResult, GetEntityInsightsOutputArgs } from "./getEntityInsights"; +export const getEntityInsights: typeof import("./getEntityInsights").getEntityInsights = null as any; +export const getEntityInsightsOutput: typeof import("./getEntityInsights").getEntityInsightsOutput = null as any; +utilities.lazyLoad(exports, ["getEntityInsights","getEntityInsightsOutput"], () => require("./getEntityInsights")); + +export { GetEyesOnArgs, GetEyesOnResult, GetEyesOnOutputArgs } from "./getEyesOn"; +export const getEyesOn: typeof import("./getEyesOn").getEyesOn = null as any; +export const getEyesOnOutput: typeof import("./getEyesOn").getEyesOnOutput = null as any; +utilities.lazyLoad(exports, ["getEyesOn","getEyesOnOutput"], () => require("./getEyesOn")); + +export { GetFileImportArgs, GetFileImportResult, GetFileImportOutputArgs } from "./getFileImport"; +export const getFileImport: typeof import("./getFileImport").getFileImport = null as any; +export const getFileImportOutput: typeof import("./getFileImport").getFileImportOutput = null as any; +utilities.lazyLoad(exports, ["getFileImport","getFileImportOutput"], () => require("./getFileImport")); + +export { GetFusionAlertRuleArgs, GetFusionAlertRuleResult, GetFusionAlertRuleOutputArgs } from "./getFusionAlertRule"; +export const getFusionAlertRule: typeof import("./getFusionAlertRule").getFusionAlertRule = null as any; +export const getFusionAlertRuleOutput: typeof import("./getFusionAlertRule").getFusionAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getFusionAlertRule","getFusionAlertRuleOutput"], () => require("./getFusionAlertRule")); + +export { GetGCPDataConnectorArgs, GetGCPDataConnectorResult, GetGCPDataConnectorOutputArgs } from "./getGCPDataConnector"; +export const getGCPDataConnector: typeof import("./getGCPDataConnector").getGCPDataConnector = null as any; +export const getGCPDataConnectorOutput: typeof import("./getGCPDataConnector").getGCPDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getGCPDataConnector","getGCPDataConnectorOutput"], () => require("./getGCPDataConnector")); + +export { GetHuntArgs, GetHuntResult, GetHuntOutputArgs } from "./getHunt"; +export const getHunt: typeof import("./getHunt").getHunt = null as any; +export const getHuntOutput: typeof import("./getHunt").getHuntOutput = null as any; +utilities.lazyLoad(exports, ["getHunt","getHuntOutput"], () => require("./getHunt")); + +export { GetHuntCommentArgs, GetHuntCommentResult, GetHuntCommentOutputArgs } from "./getHuntComment"; +export const getHuntComment: typeof import("./getHuntComment").getHuntComment = null as any; +export const getHuntCommentOutput: typeof import("./getHuntComment").getHuntCommentOutput = null as any; +utilities.lazyLoad(exports, ["getHuntComment","getHuntCommentOutput"], () => require("./getHuntComment")); + +export { GetHuntRelationArgs, GetHuntRelationResult, GetHuntRelationOutputArgs } from "./getHuntRelation"; +export const getHuntRelation: typeof import("./getHuntRelation").getHuntRelation = null as any; +export const getHuntRelationOutput: typeof import("./getHuntRelation").getHuntRelationOutput = null as any; +utilities.lazyLoad(exports, ["getHuntRelation","getHuntRelationOutput"], () => require("./getHuntRelation")); + +export { GetIncidentArgs, GetIncidentResult, GetIncidentOutputArgs } from "./getIncident"; +export const getIncident: typeof import("./getIncident").getIncident = null as any; +export const getIncidentOutput: typeof import("./getIncident").getIncidentOutput = null as any; +utilities.lazyLoad(exports, ["getIncident","getIncidentOutput"], () => require("./getIncident")); + +export { GetIncidentCommentArgs, GetIncidentCommentResult, GetIncidentCommentOutputArgs } from "./getIncidentComment"; +export const getIncidentComment: typeof import("./getIncidentComment").getIncidentComment = null as any; +export const getIncidentCommentOutput: typeof import("./getIncidentComment").getIncidentCommentOutput = null as any; +utilities.lazyLoad(exports, ["getIncidentComment","getIncidentCommentOutput"], () => require("./getIncidentComment")); + +export { GetIncidentRelationArgs, GetIncidentRelationResult, GetIncidentRelationOutputArgs } from "./getIncidentRelation"; +export const getIncidentRelation: typeof import("./getIncidentRelation").getIncidentRelation = null as any; +export const getIncidentRelationOutput: typeof import("./getIncidentRelation").getIncidentRelationOutput = null as any; +utilities.lazyLoad(exports, ["getIncidentRelation","getIncidentRelationOutput"], () => require("./getIncidentRelation")); + +export { GetIncidentTaskArgs, GetIncidentTaskResult, GetIncidentTaskOutputArgs } from "./getIncidentTask"; +export const getIncidentTask: typeof import("./getIncidentTask").getIncidentTask = null as any; +export const getIncidentTaskOutput: typeof import("./getIncidentTask").getIncidentTaskOutput = null as any; +utilities.lazyLoad(exports, ["getIncidentTask","getIncidentTaskOutput"], () => require("./getIncidentTask")); + +export { GetIoTDataConnectorArgs, GetIoTDataConnectorResult, GetIoTDataConnectorOutputArgs } from "./getIoTDataConnector"; +export const getIoTDataConnector: typeof import("./getIoTDataConnector").getIoTDataConnector = null as any; +export const getIoTDataConnectorOutput: typeof import("./getIoTDataConnector").getIoTDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getIoTDataConnector","getIoTDataConnectorOutput"], () => require("./getIoTDataConnector")); + +export { GetMCASDataConnectorArgs, GetMCASDataConnectorResult, GetMCASDataConnectorOutputArgs } from "./getMCASDataConnector"; +export const getMCASDataConnector: typeof import("./getMCASDataConnector").getMCASDataConnector = null as any; +export const getMCASDataConnectorOutput: typeof import("./getMCASDataConnector").getMCASDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getMCASDataConnector","getMCASDataConnectorOutput"], () => require("./getMCASDataConnector")); + +export { GetMDATPDataConnectorArgs, GetMDATPDataConnectorResult, GetMDATPDataConnectorOutputArgs } from "./getMDATPDataConnector"; +export const getMDATPDataConnector: typeof import("./getMDATPDataConnector").getMDATPDataConnector = null as any; +export const getMDATPDataConnectorOutput: typeof import("./getMDATPDataConnector").getMDATPDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getMDATPDataConnector","getMDATPDataConnectorOutput"], () => require("./getMDATPDataConnector")); + +export { GetMLBehaviorAnalyticsAlertRuleArgs, GetMLBehaviorAnalyticsAlertRuleResult, GetMLBehaviorAnalyticsAlertRuleOutputArgs } from "./getMLBehaviorAnalyticsAlertRule"; +export const getMLBehaviorAnalyticsAlertRule: typeof import("./getMLBehaviorAnalyticsAlertRule").getMLBehaviorAnalyticsAlertRule = null as any; +export const getMLBehaviorAnalyticsAlertRuleOutput: typeof import("./getMLBehaviorAnalyticsAlertRule").getMLBehaviorAnalyticsAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getMLBehaviorAnalyticsAlertRule","getMLBehaviorAnalyticsAlertRuleOutput"], () => require("./getMLBehaviorAnalyticsAlertRule")); + +export { GetMSTIDataConnectorArgs, GetMSTIDataConnectorResult, GetMSTIDataConnectorOutputArgs } from "./getMSTIDataConnector"; +export const getMSTIDataConnector: typeof import("./getMSTIDataConnector").getMSTIDataConnector = null as any; +export const getMSTIDataConnectorOutput: typeof import("./getMSTIDataConnector").getMSTIDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getMSTIDataConnector","getMSTIDataConnectorOutput"], () => require("./getMSTIDataConnector")); + +export { GetMTPDataConnectorArgs, GetMTPDataConnectorResult, GetMTPDataConnectorOutputArgs } from "./getMTPDataConnector"; +export const getMTPDataConnector: typeof import("./getMTPDataConnector").getMTPDataConnector = null as any; +export const getMTPDataConnectorOutput: typeof import("./getMTPDataConnector").getMTPDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getMTPDataConnector","getMTPDataConnectorOutput"], () => require("./getMTPDataConnector")); + +export { GetMetadataArgs, GetMetadataResult, GetMetadataOutputArgs } from "./getMetadata"; +export const getMetadata: typeof import("./getMetadata").getMetadata = null as any; +export const getMetadataOutput: typeof import("./getMetadata").getMetadataOutput = null as any; +utilities.lazyLoad(exports, ["getMetadata","getMetadataOutput"], () => require("./getMetadata")); + +export { GetMicrosoftPurviewInformationProtectionDataConnectorArgs, GetMicrosoftPurviewInformationProtectionDataConnectorResult, GetMicrosoftPurviewInformationProtectionDataConnectorOutputArgs } from "./getMicrosoftPurviewInformationProtectionDataConnector"; +export const getMicrosoftPurviewInformationProtectionDataConnector: typeof import("./getMicrosoftPurviewInformationProtectionDataConnector").getMicrosoftPurviewInformationProtectionDataConnector = null as any; +export const getMicrosoftPurviewInformationProtectionDataConnectorOutput: typeof import("./getMicrosoftPurviewInformationProtectionDataConnector").getMicrosoftPurviewInformationProtectionDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getMicrosoftPurviewInformationProtectionDataConnector","getMicrosoftPurviewInformationProtectionDataConnectorOutput"], () => require("./getMicrosoftPurviewInformationProtectionDataConnector")); + +export { GetMicrosoftSecurityIncidentCreationAlertRuleArgs, GetMicrosoftSecurityIncidentCreationAlertRuleResult, GetMicrosoftSecurityIncidentCreationAlertRuleOutputArgs } from "./getMicrosoftSecurityIncidentCreationAlertRule"; +export const getMicrosoftSecurityIncidentCreationAlertRule: typeof import("./getMicrosoftSecurityIncidentCreationAlertRule").getMicrosoftSecurityIncidentCreationAlertRule = null as any; +export const getMicrosoftSecurityIncidentCreationAlertRuleOutput: typeof import("./getMicrosoftSecurityIncidentCreationAlertRule").getMicrosoftSecurityIncidentCreationAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getMicrosoftSecurityIncidentCreationAlertRule","getMicrosoftSecurityIncidentCreationAlertRuleOutput"], () => require("./getMicrosoftSecurityIncidentCreationAlertRule")); + +export { GetNrtAlertRuleArgs, GetNrtAlertRuleResult, GetNrtAlertRuleOutputArgs } from "./getNrtAlertRule"; +export const getNrtAlertRule: typeof import("./getNrtAlertRule").getNrtAlertRule = null as any; +export const getNrtAlertRuleOutput: typeof import("./getNrtAlertRule").getNrtAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getNrtAlertRule","getNrtAlertRuleOutput"], () => require("./getNrtAlertRule")); + +export { GetOffice365ProjectDataConnectorArgs, GetOffice365ProjectDataConnectorResult, GetOffice365ProjectDataConnectorOutputArgs } from "./getOffice365ProjectDataConnector"; +export const getOffice365ProjectDataConnector: typeof import("./getOffice365ProjectDataConnector").getOffice365ProjectDataConnector = null as any; +export const getOffice365ProjectDataConnectorOutput: typeof import("./getOffice365ProjectDataConnector").getOffice365ProjectDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getOffice365ProjectDataConnector","getOffice365ProjectDataConnectorOutput"], () => require("./getOffice365ProjectDataConnector")); + +export { GetOfficeATPDataConnectorArgs, GetOfficeATPDataConnectorResult, GetOfficeATPDataConnectorOutputArgs } from "./getOfficeATPDataConnector"; +export const getOfficeATPDataConnector: typeof import("./getOfficeATPDataConnector").getOfficeATPDataConnector = null as any; +export const getOfficeATPDataConnectorOutput: typeof import("./getOfficeATPDataConnector").getOfficeATPDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getOfficeATPDataConnector","getOfficeATPDataConnectorOutput"], () => require("./getOfficeATPDataConnector")); + +export { GetOfficeDataConnectorArgs, GetOfficeDataConnectorResult, GetOfficeDataConnectorOutputArgs } from "./getOfficeDataConnector"; +export const getOfficeDataConnector: typeof import("./getOfficeDataConnector").getOfficeDataConnector = null as any; +export const getOfficeDataConnectorOutput: typeof import("./getOfficeDataConnector").getOfficeDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getOfficeDataConnector","getOfficeDataConnectorOutput"], () => require("./getOfficeDataConnector")); + +export { GetOfficeIRMDataConnectorArgs, GetOfficeIRMDataConnectorResult, GetOfficeIRMDataConnectorOutputArgs } from "./getOfficeIRMDataConnector"; +export const getOfficeIRMDataConnector: typeof import("./getOfficeIRMDataConnector").getOfficeIRMDataConnector = null as any; +export const getOfficeIRMDataConnectorOutput: typeof import("./getOfficeIRMDataConnector").getOfficeIRMDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getOfficeIRMDataConnector","getOfficeIRMDataConnectorOutput"], () => require("./getOfficeIRMDataConnector")); + +export { GetOfficePowerBIDataConnectorArgs, GetOfficePowerBIDataConnectorResult, GetOfficePowerBIDataConnectorOutputArgs } from "./getOfficePowerBIDataConnector"; +export const getOfficePowerBIDataConnector: typeof import("./getOfficePowerBIDataConnector").getOfficePowerBIDataConnector = null as any; +export const getOfficePowerBIDataConnectorOutput: typeof import("./getOfficePowerBIDataConnector").getOfficePowerBIDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getOfficePowerBIDataConnector","getOfficePowerBIDataConnectorOutput"], () => require("./getOfficePowerBIDataConnector")); + +export { GetScheduledAlertRuleArgs, GetScheduledAlertRuleResult, GetScheduledAlertRuleOutputArgs } from "./getScheduledAlertRule"; +export const getScheduledAlertRule: typeof import("./getScheduledAlertRule").getScheduledAlertRule = null as any; +export const getScheduledAlertRuleOutput: typeof import("./getScheduledAlertRule").getScheduledAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getScheduledAlertRule","getScheduledAlertRuleOutput"], () => require("./getScheduledAlertRule")); + +export { GetSentinelOnboardingStateArgs, GetSentinelOnboardingStateResult, GetSentinelOnboardingStateOutputArgs } from "./getSentinelOnboardingState"; +export const getSentinelOnboardingState: typeof import("./getSentinelOnboardingState").getSentinelOnboardingState = null as any; +export const getSentinelOnboardingStateOutput: typeof import("./getSentinelOnboardingState").getSentinelOnboardingStateOutput = null as any; +utilities.lazyLoad(exports, ["getSentinelOnboardingState","getSentinelOnboardingStateOutput"], () => require("./getSentinelOnboardingState")); + +export { GetTIDataConnectorArgs, GetTIDataConnectorResult, GetTIDataConnectorOutputArgs } from "./getTIDataConnector"; +export const getTIDataConnector: typeof import("./getTIDataConnector").getTIDataConnector = null as any; +export const getTIDataConnectorOutput: typeof import("./getTIDataConnector").getTIDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getTIDataConnector","getTIDataConnectorOutput"], () => require("./getTIDataConnector")); + +export { GetThreatIntelligenceAlertRuleArgs, GetThreatIntelligenceAlertRuleResult, GetThreatIntelligenceAlertRuleOutputArgs } from "./getThreatIntelligenceAlertRule"; +export const getThreatIntelligenceAlertRule: typeof import("./getThreatIntelligenceAlertRule").getThreatIntelligenceAlertRule = null as any; +export const getThreatIntelligenceAlertRuleOutput: typeof import("./getThreatIntelligenceAlertRule").getThreatIntelligenceAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getThreatIntelligenceAlertRule","getThreatIntelligenceAlertRuleOutput"], () => require("./getThreatIntelligenceAlertRule")); + +export { GetThreatIntelligenceIndicatorArgs, GetThreatIntelligenceIndicatorResult, GetThreatIntelligenceIndicatorOutputArgs } from "./getThreatIntelligenceIndicator"; +export const getThreatIntelligenceIndicator: typeof import("./getThreatIntelligenceIndicator").getThreatIntelligenceIndicator = null as any; +export const getThreatIntelligenceIndicatorOutput: typeof import("./getThreatIntelligenceIndicator").getThreatIntelligenceIndicatorOutput = null as any; +utilities.lazyLoad(exports, ["getThreatIntelligenceIndicator","getThreatIntelligenceIndicatorOutput"], () => require("./getThreatIntelligenceIndicator")); + +export { GetTiTaxiiDataConnectorArgs, GetTiTaxiiDataConnectorResult, GetTiTaxiiDataConnectorOutputArgs } from "./getTiTaxiiDataConnector"; +export const getTiTaxiiDataConnector: typeof import("./getTiTaxiiDataConnector").getTiTaxiiDataConnector = null as any; +export const getTiTaxiiDataConnectorOutput: typeof import("./getTiTaxiiDataConnector").getTiTaxiiDataConnectorOutput = null as any; +utilities.lazyLoad(exports, ["getTiTaxiiDataConnector","getTiTaxiiDataConnectorOutput"], () => require("./getTiTaxiiDataConnector")); + +export { GetUebaArgs, GetUebaResult, GetUebaOutputArgs } from "./getUeba"; +export const getUeba: typeof import("./getUeba").getUeba = null as any; +export const getUebaOutput: typeof import("./getUeba").getUebaOutput = null as any; +utilities.lazyLoad(exports, ["getUeba","getUebaOutput"], () => require("./getUeba")); + +export { GetWatchlistArgs, GetWatchlistResult, GetWatchlistOutputArgs } from "./getWatchlist"; +export const getWatchlist: typeof import("./getWatchlist").getWatchlist = null as any; +export const getWatchlistOutput: typeof import("./getWatchlist").getWatchlistOutput = null as any; +utilities.lazyLoad(exports, ["getWatchlist","getWatchlistOutput"], () => require("./getWatchlist")); + +export { GetWatchlistItemArgs, GetWatchlistItemResult, GetWatchlistItemOutputArgs } from "./getWatchlistItem"; +export const getWatchlistItem: typeof import("./getWatchlistItem").getWatchlistItem = null as any; +export const getWatchlistItemOutput: typeof import("./getWatchlistItem").getWatchlistItemOutput = null as any; +utilities.lazyLoad(exports, ["getWatchlistItem","getWatchlistItemOutput"], () => require("./getWatchlistItem")); + +export { GetWorkspaceManagerAssignmentArgs, GetWorkspaceManagerAssignmentResult, GetWorkspaceManagerAssignmentOutputArgs } from "./getWorkspaceManagerAssignment"; +export const getWorkspaceManagerAssignment: typeof import("./getWorkspaceManagerAssignment").getWorkspaceManagerAssignment = null as any; +export const getWorkspaceManagerAssignmentOutput: typeof import("./getWorkspaceManagerAssignment").getWorkspaceManagerAssignmentOutput = null as any; +utilities.lazyLoad(exports, ["getWorkspaceManagerAssignment","getWorkspaceManagerAssignmentOutput"], () => require("./getWorkspaceManagerAssignment")); + +export { GetWorkspaceManagerConfigurationArgs, GetWorkspaceManagerConfigurationResult, GetWorkspaceManagerConfigurationOutputArgs } from "./getWorkspaceManagerConfiguration"; +export const getWorkspaceManagerConfiguration: typeof import("./getWorkspaceManagerConfiguration").getWorkspaceManagerConfiguration = null as any; +export const getWorkspaceManagerConfigurationOutput: typeof import("./getWorkspaceManagerConfiguration").getWorkspaceManagerConfigurationOutput = null as any; +utilities.lazyLoad(exports, ["getWorkspaceManagerConfiguration","getWorkspaceManagerConfigurationOutput"], () => require("./getWorkspaceManagerConfiguration")); + +export { GetWorkspaceManagerGroupArgs, GetWorkspaceManagerGroupResult, GetWorkspaceManagerGroupOutputArgs } from "./getWorkspaceManagerGroup"; +export const getWorkspaceManagerGroup: typeof import("./getWorkspaceManagerGroup").getWorkspaceManagerGroup = null as any; +export const getWorkspaceManagerGroupOutput: typeof import("./getWorkspaceManagerGroup").getWorkspaceManagerGroupOutput = null as any; +utilities.lazyLoad(exports, ["getWorkspaceManagerGroup","getWorkspaceManagerGroupOutput"], () => require("./getWorkspaceManagerGroup")); + +export { GetWorkspaceManagerMemberArgs, GetWorkspaceManagerMemberResult, GetWorkspaceManagerMemberOutputArgs } from "./getWorkspaceManagerMember"; +export const getWorkspaceManagerMember: typeof import("./getWorkspaceManagerMember").getWorkspaceManagerMember = null as any; +export const getWorkspaceManagerMemberOutput: typeof import("./getWorkspaceManagerMember").getWorkspaceManagerMemberOutput = null as any; +utilities.lazyLoad(exports, ["getWorkspaceManagerMember","getWorkspaceManagerMemberOutput"], () => require("./getWorkspaceManagerMember")); + +export { HuntArgs } from "./hunt"; +export type Hunt = import("./hunt").Hunt; +export const Hunt: typeof import("./hunt").Hunt = null as any; +utilities.lazyLoad(exports, ["Hunt"], () => require("./hunt")); + +export { HuntCommentArgs } from "./huntComment"; +export type HuntComment = import("./huntComment").HuntComment; +export const HuntComment: typeof import("./huntComment").HuntComment = null as any; +utilities.lazyLoad(exports, ["HuntComment"], () => require("./huntComment")); + +export { HuntRelationArgs } from "./huntRelation"; +export type HuntRelation = import("./huntRelation").HuntRelation; +export const HuntRelation: typeof import("./huntRelation").HuntRelation = null as any; +utilities.lazyLoad(exports, ["HuntRelation"], () => require("./huntRelation")); + +export { IncidentArgs } from "./incident"; +export type Incident = import("./incident").Incident; +export const Incident: typeof import("./incident").Incident = null as any; +utilities.lazyLoad(exports, ["Incident"], () => require("./incident")); + +export { IncidentCommentArgs } from "./incidentComment"; +export type IncidentComment = import("./incidentComment").IncidentComment; +export const IncidentComment: typeof import("./incidentComment").IncidentComment = null as any; +utilities.lazyLoad(exports, ["IncidentComment"], () => require("./incidentComment")); + +export { IncidentRelationArgs } from "./incidentRelation"; +export type IncidentRelation = import("./incidentRelation").IncidentRelation; +export const IncidentRelation: typeof import("./incidentRelation").IncidentRelation = null as any; +utilities.lazyLoad(exports, ["IncidentRelation"], () => require("./incidentRelation")); + +export { IncidentTaskArgs } from "./incidentTask"; +export type IncidentTask = import("./incidentTask").IncidentTask; +export const IncidentTask: typeof import("./incidentTask").IncidentTask = null as any; +utilities.lazyLoad(exports, ["IncidentTask"], () => require("./incidentTask")); + +export { IoTDataConnectorArgs } from "./ioTDataConnector"; +export type IoTDataConnector = import("./ioTDataConnector").IoTDataConnector; +export const IoTDataConnector: typeof import("./ioTDataConnector").IoTDataConnector = null as any; +utilities.lazyLoad(exports, ["IoTDataConnector"], () => require("./ioTDataConnector")); + +export { ListSourceControlRepositoriesArgs, ListSourceControlRepositoriesResult, ListSourceControlRepositoriesOutputArgs } from "./listSourceControlRepositories"; +export const listSourceControlRepositories: typeof import("./listSourceControlRepositories").listSourceControlRepositories = null as any; +export const listSourceControlRepositoriesOutput: typeof import("./listSourceControlRepositories").listSourceControlRepositoriesOutput = null as any; +utilities.lazyLoad(exports, ["listSourceControlRepositories","listSourceControlRepositoriesOutput"], () => require("./listSourceControlRepositories")); + +export { MCASDataConnectorArgs } from "./mcasdataConnector"; +export type MCASDataConnector = import("./mcasdataConnector").MCASDataConnector; +export const MCASDataConnector: typeof import("./mcasdataConnector").MCASDataConnector = null as any; +utilities.lazyLoad(exports, ["MCASDataConnector"], () => require("./mcasdataConnector")); + +export { MDATPDataConnectorArgs } from "./mdatpdataConnector"; +export type MDATPDataConnector = import("./mdatpdataConnector").MDATPDataConnector; +export const MDATPDataConnector: typeof import("./mdatpdataConnector").MDATPDataConnector = null as any; +utilities.lazyLoad(exports, ["MDATPDataConnector"], () => require("./mdatpdataConnector")); + +export { MetadataArgs } from "./metadata"; +export type Metadata = import("./metadata").Metadata; +export const Metadata: typeof import("./metadata").Metadata = null as any; +utilities.lazyLoad(exports, ["Metadata"], () => require("./metadata")); + +export { MicrosoftPurviewInformationProtectionDataConnectorArgs } from "./microsoftPurviewInformationProtectionDataConnector"; +export type MicrosoftPurviewInformationProtectionDataConnector = import("./microsoftPurviewInformationProtectionDataConnector").MicrosoftPurviewInformationProtectionDataConnector; +export const MicrosoftPurviewInformationProtectionDataConnector: typeof import("./microsoftPurviewInformationProtectionDataConnector").MicrosoftPurviewInformationProtectionDataConnector = null as any; +utilities.lazyLoad(exports, ["MicrosoftPurviewInformationProtectionDataConnector"], () => require("./microsoftPurviewInformationProtectionDataConnector")); + +export { MicrosoftSecurityIncidentCreationAlertRuleArgs } from "./microsoftSecurityIncidentCreationAlertRule"; +export type MicrosoftSecurityIncidentCreationAlertRule = import("./microsoftSecurityIncidentCreationAlertRule").MicrosoftSecurityIncidentCreationAlertRule; +export const MicrosoftSecurityIncidentCreationAlertRule: typeof import("./microsoftSecurityIncidentCreationAlertRule").MicrosoftSecurityIncidentCreationAlertRule = null as any; +utilities.lazyLoad(exports, ["MicrosoftSecurityIncidentCreationAlertRule"], () => require("./microsoftSecurityIncidentCreationAlertRule")); + +export { MLBehaviorAnalyticsAlertRuleArgs } from "./mlbehaviorAnalyticsAlertRule"; +export type MLBehaviorAnalyticsAlertRule = import("./mlbehaviorAnalyticsAlertRule").MLBehaviorAnalyticsAlertRule; +export const MLBehaviorAnalyticsAlertRule: typeof import("./mlbehaviorAnalyticsAlertRule").MLBehaviorAnalyticsAlertRule = null as any; +utilities.lazyLoad(exports, ["MLBehaviorAnalyticsAlertRule"], () => require("./mlbehaviorAnalyticsAlertRule")); + +export { MSTIDataConnectorArgs } from "./mstidataConnector"; +export type MSTIDataConnector = import("./mstidataConnector").MSTIDataConnector; +export const MSTIDataConnector: typeof import("./mstidataConnector").MSTIDataConnector = null as any; +utilities.lazyLoad(exports, ["MSTIDataConnector"], () => require("./mstidataConnector")); + +export { MTPDataConnectorArgs } from "./mtpdataConnector"; +export type MTPDataConnector = import("./mtpdataConnector").MTPDataConnector; +export const MTPDataConnector: typeof import("./mtpdataConnector").MTPDataConnector = null as any; +utilities.lazyLoad(exports, ["MTPDataConnector"], () => require("./mtpdataConnector")); + +export { NrtAlertRuleArgs } from "./nrtAlertRule"; +export type NrtAlertRule = import("./nrtAlertRule").NrtAlertRule; +export const NrtAlertRule: typeof import("./nrtAlertRule").NrtAlertRule = null as any; +utilities.lazyLoad(exports, ["NrtAlertRule"], () => require("./nrtAlertRule")); + +export { Office365ProjectDataConnectorArgs } from "./office365ProjectDataConnector"; +export type Office365ProjectDataConnector = import("./office365ProjectDataConnector").Office365ProjectDataConnector; +export const Office365ProjectDataConnector: typeof import("./office365ProjectDataConnector").Office365ProjectDataConnector = null as any; +utilities.lazyLoad(exports, ["Office365ProjectDataConnector"], () => require("./office365ProjectDataConnector")); + +export { OfficeATPDataConnectorArgs } from "./officeATPDataConnector"; +export type OfficeATPDataConnector = import("./officeATPDataConnector").OfficeATPDataConnector; +export const OfficeATPDataConnector: typeof import("./officeATPDataConnector").OfficeATPDataConnector = null as any; +utilities.lazyLoad(exports, ["OfficeATPDataConnector"], () => require("./officeATPDataConnector")); + +export { OfficeDataConnectorArgs } from "./officeDataConnector"; +export type OfficeDataConnector = import("./officeDataConnector").OfficeDataConnector; +export const OfficeDataConnector: typeof import("./officeDataConnector").OfficeDataConnector = null as any; +utilities.lazyLoad(exports, ["OfficeDataConnector"], () => require("./officeDataConnector")); + +export { OfficeIRMDataConnectorArgs } from "./officeIRMDataConnector"; +export type OfficeIRMDataConnector = import("./officeIRMDataConnector").OfficeIRMDataConnector; +export const OfficeIRMDataConnector: typeof import("./officeIRMDataConnector").OfficeIRMDataConnector = null as any; +utilities.lazyLoad(exports, ["OfficeIRMDataConnector"], () => require("./officeIRMDataConnector")); + +export { OfficePowerBIDataConnectorArgs } from "./officePowerBIDataConnector"; +export type OfficePowerBIDataConnector = import("./officePowerBIDataConnector").OfficePowerBIDataConnector; +export const OfficePowerBIDataConnector: typeof import("./officePowerBIDataConnector").OfficePowerBIDataConnector = null as any; +utilities.lazyLoad(exports, ["OfficePowerBIDataConnector"], () => require("./officePowerBIDataConnector")); + +export { ScheduledAlertRuleArgs } from "./scheduledAlertRule"; +export type ScheduledAlertRule = import("./scheduledAlertRule").ScheduledAlertRule; +export const ScheduledAlertRule: typeof import("./scheduledAlertRule").ScheduledAlertRule = null as any; +utilities.lazyLoad(exports, ["ScheduledAlertRule"], () => require("./scheduledAlertRule")); + +export { SentinelOnboardingStateArgs } from "./sentinelOnboardingState"; +export type SentinelOnboardingState = import("./sentinelOnboardingState").SentinelOnboardingState; +export const SentinelOnboardingState: typeof import("./sentinelOnboardingState").SentinelOnboardingState = null as any; +utilities.lazyLoad(exports, ["SentinelOnboardingState"], () => require("./sentinelOnboardingState")); + +export { ThreatIntelligenceAlertRuleArgs } from "./threatIntelligenceAlertRule"; +export type ThreatIntelligenceAlertRule = import("./threatIntelligenceAlertRule").ThreatIntelligenceAlertRule; +export const ThreatIntelligenceAlertRule: typeof import("./threatIntelligenceAlertRule").ThreatIntelligenceAlertRule = null as any; +utilities.lazyLoad(exports, ["ThreatIntelligenceAlertRule"], () => require("./threatIntelligenceAlertRule")); + +export { ThreatIntelligenceIndicatorArgs } from "./threatIntelligenceIndicator"; +export type ThreatIntelligenceIndicator = import("./threatIntelligenceIndicator").ThreatIntelligenceIndicator; +export const ThreatIntelligenceIndicator: typeof import("./threatIntelligenceIndicator").ThreatIntelligenceIndicator = null as any; +utilities.lazyLoad(exports, ["ThreatIntelligenceIndicator"], () => require("./threatIntelligenceIndicator")); + +export { TiTaxiiDataConnectorArgs } from "./tiTaxiiDataConnector"; +export type TiTaxiiDataConnector = import("./tiTaxiiDataConnector").TiTaxiiDataConnector; +export const TiTaxiiDataConnector: typeof import("./tiTaxiiDataConnector").TiTaxiiDataConnector = null as any; +utilities.lazyLoad(exports, ["TiTaxiiDataConnector"], () => require("./tiTaxiiDataConnector")); + +export { TIDataConnectorArgs } from "./tidataConnector"; +export type TIDataConnector = import("./tidataConnector").TIDataConnector; +export const TIDataConnector: typeof import("./tidataConnector").TIDataConnector = null as any; +utilities.lazyLoad(exports, ["TIDataConnector"], () => require("./tidataConnector")); + +export { UebaArgs } from "./ueba"; +export type Ueba = import("./ueba").Ueba; +export const Ueba: typeof import("./ueba").Ueba = null as any; +utilities.lazyLoad(exports, ["Ueba"], () => require("./ueba")); + +export { WatchlistArgs } from "./watchlist"; +export type Watchlist = import("./watchlist").Watchlist; +export const Watchlist: typeof import("./watchlist").Watchlist = null as any; +utilities.lazyLoad(exports, ["Watchlist"], () => require("./watchlist")); + +export { WatchlistItemArgs } from "./watchlistItem"; +export type WatchlistItem = import("./watchlistItem").WatchlistItem; +export const WatchlistItem: typeof import("./watchlistItem").WatchlistItem = null as any; +utilities.lazyLoad(exports, ["WatchlistItem"], () => require("./watchlistItem")); + +export { WorkspaceManagerAssignmentArgs } from "./workspaceManagerAssignment"; +export type WorkspaceManagerAssignment = import("./workspaceManagerAssignment").WorkspaceManagerAssignment; +export const WorkspaceManagerAssignment: typeof import("./workspaceManagerAssignment").WorkspaceManagerAssignment = null as any; +utilities.lazyLoad(exports, ["WorkspaceManagerAssignment"], () => require("./workspaceManagerAssignment")); + +export { WorkspaceManagerConfigurationArgs } from "./workspaceManagerConfiguration"; +export type WorkspaceManagerConfiguration = import("./workspaceManagerConfiguration").WorkspaceManagerConfiguration; +export const WorkspaceManagerConfiguration: typeof import("./workspaceManagerConfiguration").WorkspaceManagerConfiguration = null as any; +utilities.lazyLoad(exports, ["WorkspaceManagerConfiguration"], () => require("./workspaceManagerConfiguration")); + +export { WorkspaceManagerGroupArgs } from "./workspaceManagerGroup"; +export type WorkspaceManagerGroup = import("./workspaceManagerGroup").WorkspaceManagerGroup; +export const WorkspaceManagerGroup: typeof import("./workspaceManagerGroup").WorkspaceManagerGroup = null as any; +utilities.lazyLoad(exports, ["WorkspaceManagerGroup"], () => require("./workspaceManagerGroup")); + +export { WorkspaceManagerMemberArgs } from "./workspaceManagerMember"; +export type WorkspaceManagerMember = import("./workspaceManagerMember").WorkspaceManagerMember; +export const WorkspaceManagerMember: typeof import("./workspaceManagerMember").WorkspaceManagerMember = null as any; +utilities.lazyLoad(exports, ["WorkspaceManagerMember"], () => require("./workspaceManagerMember")); + + +// Export enums: +export * from "../../types/enums/securityinsights/v20230901preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:securityinsights/v20230901preview:AADDataConnector": + return new AADDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:AATPDataConnector": + return new AATPDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ASCDataConnector": + return new ASCDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Action": + return new Action(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery": + return new ActivityCustomEntityQuery(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Anomalies": + return new Anomalies(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings": + return new AnomalySecurityMLAnalyticsSettings(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:AutomationRule": + return new AutomationRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector": + return new AwsCloudTrailDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:AwsS3DataConnector": + return new AwsS3DataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Bookmark": + return new Bookmark(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:BookmarkRelation": + return new BookmarkRelation(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector": + return new CodelessApiPollingDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector": + return new CodelessUiDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ContentPackage": + return new ContentPackage(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ContentTemplate": + return new ContentTemplate(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition": + return new CustomizableConnectorDefinition(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector": + return new Dynamics365DataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:EntityAnalytics": + return new EntityAnalytics(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:EyesOn": + return new EyesOn(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:FileImport": + return new FileImport(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:FusionAlertRule": + return new FusionAlertRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:GCPDataConnector": + return new GCPDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Hunt": + return new Hunt(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:HuntComment": + return new HuntComment(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:HuntRelation": + return new HuntRelation(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Incident": + return new Incident(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:IncidentComment": + return new IncidentComment(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:IncidentRelation": + return new IncidentRelation(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:IncidentTask": + return new IncidentTask(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:IoTDataConnector": + return new IoTDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MCASDataConnector": + return new MCASDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MDATPDataConnector": + return new MDATPDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule": + return new MLBehaviorAnalyticsAlertRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MSTIDataConnector": + return new MSTIDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MTPDataConnector": + return new MTPDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Metadata": + return new Metadata(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector": + return new MicrosoftPurviewInformationProtectionDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule": + return new MicrosoftSecurityIncidentCreationAlertRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:NrtAlertRule": + return new NrtAlertRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector": + return new Office365ProjectDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector": + return new OfficeATPDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:OfficeDataConnector": + return new OfficeDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector": + return new OfficeIRMDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector": + return new OfficePowerBIDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ScheduledAlertRule": + return new ScheduledAlertRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:SentinelOnboardingState": + return new SentinelOnboardingState(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:TIDataConnector": + return new TIDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule": + return new ThreatIntelligenceAlertRule(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator": + return new ThreatIntelligenceIndicator(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector": + return new TiTaxiiDataConnector(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Ueba": + return new Ueba(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:Watchlist": + return new Watchlist(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:WatchlistItem": + return new WatchlistItem(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment": + return new WorkspaceManagerAssignment(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration": + return new WorkspaceManagerConfiguration(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup": + return new WorkspaceManagerGroup(name, undefined, { urn }) + case "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember": + return new WorkspaceManagerMember(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "securityinsights/v20230901preview", _module) diff --git a/sdk/nodejs/securityinsights/v20230901preview/ioTDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/ioTDataConnector.ts new file mode 100644 index 000000000000..0369ca4ab43e --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/ioTDataConnector.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents IoT data connector. + */ +export class IoTDataConnector extends pulumi.CustomResource { + /** + * Get an existing IoTDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): IoTDataConnector { + return new IoTDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:IoTDataConnector'; + + /** + * Returns true if the given object is an instance of IoTDataConnector. 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 IoTDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IoTDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'IOT'. + */ + public readonly kind!: pulumi.Output<"IOT">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The subscription id to connect to, and get the data from. + */ + public readonly subscriptionId!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a IoTDataConnector 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: IoTDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "IOT"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["subscriptionId"] = args ? args.subscriptionId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["subscriptionId"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:IoTDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20200101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001:IoTDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:IoTDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:IoTDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(IoTDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a IoTDataConnector resource. + */ +export interface IoTDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'IOT'. + */ + kind: pulumi.Input<"IOT">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The subscription id to connect to, and get the data from. + */ + subscriptionId?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/listSourceControlRepositories.ts b/sdk/nodejs/securityinsights/v20230901preview/listSourceControlRepositories.ts new file mode 100644 index 000000000000..34fc89f714da --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/listSourceControlRepositories.ts @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a list of repositories metadata. + */ +export function listSourceControlRepositories(args: ListSourceControlRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:securityinsights/v20230901preview:listSourceControlRepositories", { + "resourceGroupName": args.resourceGroupName, + "workspaceName": args.workspaceName, + }, opts); +} + +export interface ListSourceControlRepositoriesArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the workspace. + */ + workspaceName: string; +} + +/** + * List all the source controls. + */ +export interface ListSourceControlRepositoriesResult { + /** + * URL to fetch the next set of repositories. + */ + readonly nextLink: string; + /** + * Array of repositories. + */ + readonly value: outputs.securityinsights.v20230901preview.RepoResponse[]; +} +/** + * Gets a list of repositories metadata. + */ +export function listSourceControlRepositoriesOutput(args: ListSourceControlRepositoriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => listSourceControlRepositories(a, opts)) +} + +export interface ListSourceControlRepositoriesOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/mcasdataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/mcasdataConnector.ts new file mode 100644 index 000000000000..e189f1be8caa --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/mcasdataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents MCAS (Microsoft Cloud App Security) data connector. + */ +export class MCASDataConnector extends pulumi.CustomResource { + /** + * Get an existing MCASDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MCASDataConnector { + return new MCASDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MCASDataConnector'; + + /** + * Returns true if the given object is an instance of MCASDataConnector. 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 MCASDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MCASDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'MicrosoftCloudAppSecurity'. + */ + public readonly kind!: pulumi.Output<"MicrosoftCloudAppSecurity">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MCASDataConnector 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: MCASDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "MicrosoftCloudAppSecurity"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MCASDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20200101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001:MCASDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MCASDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MCASDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MCASDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MCASDataConnector resource. + */ +export interface MCASDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'MicrosoftCloudAppSecurity'. + */ + kind: pulumi.Input<"MicrosoftCloudAppSecurity">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/mdatpdataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/mdatpdataConnector.ts new file mode 100644 index 000000000000..4bb6ade6cfea --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/mdatpdataConnector.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector. + */ +export class MDATPDataConnector extends pulumi.CustomResource { + /** + * Get an existing MDATPDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MDATPDataConnector { + return new MDATPDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MDATPDataConnector'; + + /** + * Returns true if the given object is an instance of MDATPDataConnector. 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 MDATPDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MDATPDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + */ + public readonly kind!: pulumi.Output<"MicrosoftDefenderAdvancedThreatProtection">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MDATPDataConnector 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: MDATPDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "MicrosoftDefenderAdvancedThreatProtection"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MDATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MDATPDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MDATPDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MDATPDataConnector resource. + */ +export interface MDATPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + */ + kind: pulumi.Input<"MicrosoftDefenderAdvancedThreatProtection">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/metadata.ts b/sdk/nodejs/securityinsights/v20230901preview/metadata.ts new file mode 100644 index 000000000000..eef3d99dfdaf --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/metadata.ts @@ -0,0 +1,306 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Metadata resource definition. + */ +export class Metadata extends pulumi.CustomResource { + /** + * Get an existing Metadata 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Metadata { + return new Metadata(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Metadata'; + + /** + * Returns true if the given object is an instance of Metadata. 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 Metadata { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Metadata.__pulumiType; + } + + /** + * The creator of the content item. + */ + public readonly author!: pulumi.Output; + /** + * Categories for the solution content item + */ + public readonly categories!: pulumi.Output; + /** + * Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + */ + public readonly contentId!: pulumi.Output; + /** + * Schema version of the content. Can be used to distinguish between different flow based on the schema version + */ + public readonly contentSchemaVersion!: pulumi.Output; + /** + * The custom version of the content. A optional free text + */ + public readonly customVersion!: pulumi.Output; + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + */ + public readonly dependencies!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * first publish date solution content item + */ + public readonly firstPublishDate!: pulumi.Output; + /** + * the icon identifier. this id can later be fetched from the solution template + */ + public readonly icon!: pulumi.Output; + /** + * The kind of content the metadata is for. + */ + public readonly kind!: pulumi.Output; + /** + * last publish date for the solution content item + */ + public readonly lastPublishDate!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + */ + public readonly parentId!: pulumi.Output; + /** + * preview image file names. These will be taken from the solution artifacts + */ + public readonly previewImages!: pulumi.Output; + /** + * preview image file names. These will be taken from the solution artifacts. used for dark theme support + */ + public readonly previewImagesDark!: pulumi.Output; + /** + * Providers for the solution content item + */ + public readonly providers!: pulumi.Output; + /** + * Source of the content. This is where/how it was created. + */ + public readonly source!: pulumi.Output; + /** + * Support information for the metadata - type, name, contact information + */ + public readonly support!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * the tactics the resource covers + */ + public readonly threatAnalysisTactics!: pulumi.Output; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + public readonly threatAnalysisTechniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + */ + public readonly version!: pulumi.Output; + + /** + * Create a Metadata 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: MetadataArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.parentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'parentId'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["author"] = args ? args.author : undefined; + resourceInputs["categories"] = args ? args.categories : undefined; + resourceInputs["contentId"] = args ? args.contentId : undefined; + resourceInputs["contentSchemaVersion"] = args ? args.contentSchemaVersion : undefined; + resourceInputs["customVersion"] = args ? args.customVersion : undefined; + resourceInputs["dependencies"] = args ? args.dependencies : undefined; + resourceInputs["firstPublishDate"] = args ? args.firstPublishDate : undefined; + resourceInputs["icon"] = args ? args.icon : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; + resourceInputs["lastPublishDate"] = args ? args.lastPublishDate : undefined; + resourceInputs["metadataName"] = args ? args.metadataName : undefined; + resourceInputs["parentId"] = args ? args.parentId : undefined; + resourceInputs["previewImages"] = args ? args.previewImages : undefined; + resourceInputs["previewImagesDark"] = args ? args.previewImagesDark : undefined; + resourceInputs["providers"] = args ? args.providers : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["support"] = args ? args.support : undefined; + resourceInputs["threatAnalysisTactics"] = args ? args.threatAnalysisTactics : undefined; + resourceInputs["threatAnalysisTechniques"] = args ? args.threatAnalysisTechniques : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["author"] = undefined /*out*/; + resourceInputs["categories"] = undefined /*out*/; + resourceInputs["contentId"] = undefined /*out*/; + resourceInputs["contentSchemaVersion"] = undefined /*out*/; + resourceInputs["customVersion"] = undefined /*out*/; + resourceInputs["dependencies"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["firstPublishDate"] = undefined /*out*/; + resourceInputs["icon"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastPublishDate"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["parentId"] = undefined /*out*/; + resourceInputs["previewImages"] = undefined /*out*/; + resourceInputs["previewImagesDark"] = undefined /*out*/; + resourceInputs["providers"] = undefined /*out*/; + resourceInputs["source"] = undefined /*out*/; + resourceInputs["support"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["threatAnalysisTactics"] = undefined /*out*/; + resourceInputs["threatAnalysisTechniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Metadata" }, { type: "azure-native:securityinsights/v20210301preview:Metadata" }, { type: "azure-native:securityinsights/v20210901preview:Metadata" }, { type: "azure-native:securityinsights/v20211001preview:Metadata" }, { type: "azure-native:securityinsights/v20220101preview:Metadata" }, { type: "azure-native:securityinsights/v20220401preview:Metadata" }, { type: "azure-native:securityinsights/v20220501preview:Metadata" }, { type: "azure-native:securityinsights/v20220601preview:Metadata" }, { type: "azure-native:securityinsights/v20220701preview:Metadata" }, { type: "azure-native:securityinsights/v20220801preview:Metadata" }, { type: "azure-native:securityinsights/v20220901preview:Metadata" }, { type: "azure-native:securityinsights/v20221001preview:Metadata" }, { type: "azure-native:securityinsights/v20221101preview:Metadata" }, { type: "azure-native:securityinsights/v20221201preview:Metadata" }, { type: "azure-native:securityinsights/v20230201:Metadata" }, { type: "azure-native:securityinsights/v20230201preview:Metadata" }, { type: "azure-native:securityinsights/v20230301preview:Metadata" }, { type: "azure-native:securityinsights/v20230401preview:Metadata" }, { type: "azure-native:securityinsights/v20230501preview:Metadata" }, { type: "azure-native:securityinsights/v20230601preview:Metadata" }, { type: "azure-native:securityinsights/v20230701preview:Metadata" }, { type: "azure-native:securityinsights/v20230801preview:Metadata" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Metadata.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Metadata resource. + */ +export interface MetadataArgs { + /** + * The creator of the content item. + */ + author?: pulumi.Input; + /** + * Categories for the solution content item + */ + categories?: pulumi.Input; + /** + * Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + */ + contentId?: pulumi.Input; + /** + * Schema version of the content. Can be used to distinguish between different flow based on the schema version + */ + contentSchemaVersion?: pulumi.Input; + /** + * The custom version of the content. A optional free text + */ + customVersion?: pulumi.Input; + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + */ + dependencies?: pulumi.Input; + /** + * first publish date solution content item + */ + firstPublishDate?: pulumi.Input; + /** + * the icon identifier. this id can later be fetched from the solution template + */ + icon?: pulumi.Input; + /** + * The kind of content the metadata is for. + */ + kind: pulumi.Input; + /** + * last publish date for the solution content item + */ + lastPublishDate?: pulumi.Input; + /** + * The Metadata name. + */ + metadataName?: pulumi.Input; + /** + * Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + */ + parentId: pulumi.Input; + /** + * preview image file names. These will be taken from the solution artifacts + */ + previewImages?: pulumi.Input[]>; + /** + * preview image file names. These will be taken from the solution artifacts. used for dark theme support + */ + previewImagesDark?: pulumi.Input[]>; + /** + * Providers for the solution content item + */ + providers?: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Source of the content. This is where/how it was created. + */ + source?: pulumi.Input; + /** + * Support information for the metadata - type, name, contact information + */ + support?: pulumi.Input; + /** + * the tactics the resource covers + */ + threatAnalysisTactics?: pulumi.Input[]>; + /** + * the techniques the resource covers, these have to be aligned with the tactics being used + */ + threatAnalysisTechniques?: pulumi.Input[]>; + /** + * Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + */ + version?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/microsoftPurviewInformationProtectionDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/microsoftPurviewInformationProtectionDataConnector.ts new file mode 100644 index 000000000000..64be05c4bd81 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/microsoftPurviewInformationProtectionDataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Microsoft Purview Information Protection data connector. + */ +export class MicrosoftPurviewInformationProtectionDataConnector extends pulumi.CustomResource { + /** + * Get an existing MicrosoftPurviewInformationProtectionDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MicrosoftPurviewInformationProtectionDataConnector { + return new MicrosoftPurviewInformationProtectionDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector'; + + /** + * Returns true if the given object is an instance of MicrosoftPurviewInformationProtectionDataConnector. 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 MicrosoftPurviewInformationProtectionDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MicrosoftPurviewInformationProtectionDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'MicrosoftPurviewInformationProtection'. + */ + public readonly kind!: pulumi.Output<"MicrosoftPurviewInformationProtection">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MicrosoftPurviewInformationProtectionDataConnector 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: MicrosoftPurviewInformationProtectionDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "MicrosoftPurviewInformationProtection"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MicrosoftPurviewInformationProtectionDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MicrosoftPurviewInformationProtectionDataConnector resource. + */ +export interface MicrosoftPurviewInformationProtectionDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'MicrosoftPurviewInformationProtection'. + */ + kind: pulumi.Input<"MicrosoftPurviewInformationProtection">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/microsoftSecurityIncidentCreationAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/microsoftSecurityIncidentCreationAlertRule.ts new file mode 100644 index 000000000000..dfea91b36899 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/microsoftSecurityIncidentCreationAlertRule.ts @@ -0,0 +1,220 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents MicrosoftSecurityIncidentCreation rule. + */ +export class MicrosoftSecurityIncidentCreationAlertRule extends pulumi.CustomResource { + /** + * Get an existing MicrosoftSecurityIncidentCreationAlertRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MicrosoftSecurityIncidentCreationAlertRule { + return new MicrosoftSecurityIncidentCreationAlertRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule'; + + /** + * Returns true if the given object is an instance of MicrosoftSecurityIncidentCreationAlertRule. 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 MicrosoftSecurityIncidentCreationAlertRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MicrosoftSecurityIncidentCreationAlertRule.__pulumiType; + } + + /** + * The Name of the alert rule template used to create this rule. + */ + public readonly alertRuleTemplateName!: pulumi.Output; + /** + * The description of the alert rule. + */ + public readonly description!: pulumi.Output; + /** + * The display name for alerts created by this alert rule. + */ + public readonly displayName!: pulumi.Output; + /** + * the alerts' displayNames on which the cases will not be generated + */ + public readonly displayNamesExcludeFilter!: pulumi.Output; + /** + * the alerts' displayNames on which the cases will be generated + */ + public readonly displayNamesFilter!: pulumi.Output; + /** + * Determines whether this alert rule is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the alert rule + * Expected value is 'MicrosoftSecurityIncidentCreation'. + */ + public readonly kind!: pulumi.Output<"MicrosoftSecurityIncidentCreation">; + /** + * The last time that this alert has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The alerts' productName on which the cases will be generated + */ + public readonly productFilter!: pulumi.Output; + /** + * the alerts' severities on which the cases will be generated + */ + public readonly severitiesFilter!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MicrosoftSecurityIncidentCreationAlertRule 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: MicrosoftSecurityIncidentCreationAlertRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.productFilter === undefined) && !opts.urn) { + throw new Error("Missing required property 'productFilter'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["alertRuleTemplateName"] = args ? args.alertRuleTemplateName : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["displayNamesExcludeFilter"] = args ? args.displayNamesExcludeFilter : undefined; + resourceInputs["displayNamesFilter"] = args ? args.displayNamesFilter : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["kind"] = "MicrosoftSecurityIncidentCreation"; + resourceInputs["productFilter"] = args ? args.productFilter : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["severitiesFilter"] = args ? args.severitiesFilter : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["alertRuleTemplateName"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["displayNamesExcludeFilter"] = undefined /*out*/; + resourceInputs["displayNamesFilter"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["productFilter"] = undefined /*out*/; + resourceInputs["severitiesFilter"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MicrosoftSecurityIncidentCreationAlertRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MicrosoftSecurityIncidentCreationAlertRule resource. + */ +export interface MicrosoftSecurityIncidentCreationAlertRuleArgs { + /** + * The Name of the alert rule template used to create this rule. + */ + alertRuleTemplateName?: pulumi.Input; + /** + * The description of the alert rule. + */ + description?: pulumi.Input; + /** + * The display name for alerts created by this alert rule. + */ + displayName: pulumi.Input; + /** + * the alerts' displayNames on which the cases will not be generated + */ + displayNamesExcludeFilter?: pulumi.Input[]>; + /** + * the alerts' displayNames on which the cases will be generated + */ + displayNamesFilter?: pulumi.Input[]>; + /** + * Determines whether this alert rule is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * The kind of the alert rule + * Expected value is 'MicrosoftSecurityIncidentCreation'. + */ + kind: pulumi.Input<"MicrosoftSecurityIncidentCreation">; + /** + * The alerts' productName on which the cases will be generated + */ + productFilter: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId?: pulumi.Input; + /** + * the alerts' severities on which the cases will be generated + */ + severitiesFilter?: pulumi.Input[]>; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/mlbehaviorAnalyticsAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/mlbehaviorAnalyticsAlertRule.ts new file mode 100644 index 000000000000..2ffbe2f699ac --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/mlbehaviorAnalyticsAlertRule.ts @@ -0,0 +1,187 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents MLBehaviorAnalytics alert rule. + */ +export class MLBehaviorAnalyticsAlertRule extends pulumi.CustomResource { + /** + * Get an existing MLBehaviorAnalyticsAlertRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MLBehaviorAnalyticsAlertRule { + return new MLBehaviorAnalyticsAlertRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule'; + + /** + * Returns true if the given object is an instance of MLBehaviorAnalyticsAlertRule. 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 MLBehaviorAnalyticsAlertRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MLBehaviorAnalyticsAlertRule.__pulumiType; + } + + /** + * The Name of the alert rule template used to create this rule. + */ + public readonly alertRuleTemplateName!: pulumi.Output; + /** + * The description of the alert rule. + */ + public /*out*/ readonly description!: pulumi.Output; + /** + * The display name for alerts created by this alert rule. + */ + public /*out*/ readonly displayName!: pulumi.Output; + /** + * Determines whether this alert rule is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the alert rule + * Expected value is 'MLBehaviorAnalytics'. + */ + public readonly kind!: pulumi.Output<"MLBehaviorAnalytics">; + /** + * The last time that this alert rule has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The severity for alerts created by this alert rule. + */ + public /*out*/ readonly severity!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tactics of the alert rule + */ + public /*out*/ readonly tactics!: pulumi.Output; + /** + * The techniques of the alert rule + */ + public /*out*/ readonly techniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MLBehaviorAnalyticsAlertRule 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: MLBehaviorAnalyticsAlertRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.alertRuleTemplateName === undefined) && !opts.urn) { + throw new Error("Missing required property 'alertRuleTemplateName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["alertRuleTemplateName"] = args ? args.alertRuleTemplateName : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["kind"] = "MLBehaviorAnalytics"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["alertRuleTemplateName"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MLBehaviorAnalyticsAlertRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MLBehaviorAnalyticsAlertRule resource. + */ +export interface MLBehaviorAnalyticsAlertRuleArgs { + /** + * The Name of the alert rule template used to create this rule. + */ + alertRuleTemplateName: pulumi.Input; + /** + * Determines whether this alert rule is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * The kind of the alert rule + * Expected value is 'MLBehaviorAnalytics'. + */ + kind: pulumi.Input<"MLBehaviorAnalytics">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/mstidataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/mstidataConnector.ts new file mode 100644 index 000000000000..d9ef59381eff --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/mstidataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Microsoft Threat Intelligence data connector. + */ +export class MSTIDataConnector extends pulumi.CustomResource { + /** + * Get an existing MSTIDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MSTIDataConnector { + return new MSTIDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MSTIDataConnector'; + + /** + * Returns true if the given object is an instance of MSTIDataConnector. 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 MSTIDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MSTIDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'MicrosoftThreatIntelligence'. + */ + public readonly kind!: pulumi.Output<"MicrosoftThreatIntelligence">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MSTIDataConnector 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: MSTIDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "MicrosoftThreatIntelligence"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20200101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MSTIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MSTIDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MSTIDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MSTIDataConnector resource. + */ +export interface MSTIDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'MicrosoftThreatIntelligence'. + */ + kind: pulumi.Input<"MicrosoftThreatIntelligence">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/mtpdataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/mtpdataConnector.ts new file mode 100644 index 000000000000..bf7f6819f65c --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/mtpdataConnector.ts @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents MTP (Microsoft Threat Protection) data connector. + */ +export class MTPDataConnector extends pulumi.CustomResource { + /** + * Get an existing MTPDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MTPDataConnector { + return new MTPDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:MTPDataConnector'; + + /** + * Returns true if the given object is an instance of MTPDataConnector. 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 MTPDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MTPDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The available filtered providers for the connector. + */ + public readonly filteredProviders!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'MicrosoftThreatProtection'. + */ + public readonly kind!: pulumi.Output<"MicrosoftThreatProtection">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a MTPDataConnector 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: MTPDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["filteredProviders"] = args ? args.filteredProviders : undefined; + resourceInputs["kind"] = "MicrosoftThreatProtection"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["filteredProviders"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:MTPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20200101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001:MTPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:MTPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:MTPDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MTPDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MTPDataConnector resource. + */ +export interface MTPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The available filtered providers for the connector. + */ + filteredProviders?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'MicrosoftThreatProtection'. + */ + kind: pulumi.Input<"MicrosoftThreatProtection">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/nrtAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/nrtAlertRule.ts new file mode 100644 index 000000000000..15b6bb7fddd4 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/nrtAlertRule.ts @@ -0,0 +1,319 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents NRT alert rule. + */ +export class NrtAlertRule extends pulumi.CustomResource { + /** + * Get an existing NrtAlertRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NrtAlertRule { + return new NrtAlertRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:NrtAlertRule'; + + /** + * Returns true if the given object is an instance of NrtAlertRule. 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 NrtAlertRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === NrtAlertRule.__pulumiType; + } + + /** + * The alert details override settings + */ + public readonly alertDetailsOverride!: pulumi.Output; + /** + * The Name of the alert rule template used to create this rule. + */ + public readonly alertRuleTemplateName!: pulumi.Output; + /** + * Dictionary of string key-value pairs of columns to be attached to the alert + */ + public readonly customDetails!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The description of the alert rule. + */ + public readonly description!: pulumi.Output; + /** + * The display name for alerts created by this alert rule. + */ + public readonly displayName!: pulumi.Output; + /** + * Determines whether this alert rule is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Array of the entity mappings of the alert rule + */ + public readonly entityMappings!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The event grouping settings. + */ + public readonly eventGroupingSettings!: pulumi.Output; + /** + * The settings of the incidents that created from alerts triggered by this analytics rule + */ + public readonly incidentConfiguration!: pulumi.Output; + /** + * The kind of the alert rule + * Expected value is 'NRT'. + */ + public readonly kind!: pulumi.Output<"NRT">; + /** + * The last time that this alert rule has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The query that creates alerts for this rule. + */ + public readonly query!: pulumi.Output; + /** + * Array of the sentinel entity mappings of the alert rule + */ + public readonly sentinelEntitiesMappings!: pulumi.Output; + /** + * The severity for alerts created by this alert rule. + */ + public readonly severity!: pulumi.Output; + /** + * The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + */ + public readonly suppressionDuration!: pulumi.Output; + /** + * Determines whether the suppression for this alert rule is enabled or disabled. + */ + public readonly suppressionEnabled!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tactics of the alert rule + */ + public readonly tactics!: pulumi.Output; + /** + * The techniques of the alert rule + */ + public readonly techniques!: pulumi.Output; + /** + * The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + */ + public readonly templateVersion!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a NrtAlertRule 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: NrtAlertRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.query === undefined) && !opts.urn) { + throw new Error("Missing required property 'query'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.severity === undefined) && !opts.urn) { + throw new Error("Missing required property 'severity'"); + } + if ((!args || args.suppressionDuration === undefined) && !opts.urn) { + throw new Error("Missing required property 'suppressionDuration'"); + } + if ((!args || args.suppressionEnabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'suppressionEnabled'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["alertDetailsOverride"] = args ? args.alertDetailsOverride : undefined; + resourceInputs["alertRuleTemplateName"] = args ? args.alertRuleTemplateName : undefined; + resourceInputs["customDetails"] = args ? args.customDetails : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["entityMappings"] = args ? args.entityMappings : undefined; + resourceInputs["eventGroupingSettings"] = args ? args.eventGroupingSettings : undefined; + resourceInputs["incidentConfiguration"] = args ? args.incidentConfiguration : undefined; + resourceInputs["kind"] = "NRT"; + resourceInputs["query"] = args ? args.query : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["sentinelEntitiesMappings"] = args ? args.sentinelEntitiesMappings : undefined; + resourceInputs["severity"] = args ? args.severity : undefined; + resourceInputs["suppressionDuration"] = args ? args.suppressionDuration : undefined; + resourceInputs["suppressionEnabled"] = args ? args.suppressionEnabled : undefined; + resourceInputs["tactics"] = args ? args.tactics : undefined; + resourceInputs["techniques"] = args ? args.techniques : undefined; + resourceInputs["templateVersion"] = args ? args.templateVersion : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["alertDetailsOverride"] = undefined /*out*/; + resourceInputs["alertRuleTemplateName"] = undefined /*out*/; + resourceInputs["customDetails"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["entityMappings"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["eventGroupingSettings"] = undefined /*out*/; + resourceInputs["incidentConfiguration"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["query"] = undefined /*out*/; + resourceInputs["sentinelEntitiesMappings"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["suppressionDuration"] = undefined /*out*/; + resourceInputs["suppressionEnabled"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["templateVersion"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:NrtAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20200101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001:NrtAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:NrtAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:NrtAlertRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(NrtAlertRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a NrtAlertRule resource. + */ +export interface NrtAlertRuleArgs { + /** + * The alert details override settings + */ + alertDetailsOverride?: pulumi.Input; + /** + * The Name of the alert rule template used to create this rule. + */ + alertRuleTemplateName?: pulumi.Input; + /** + * Dictionary of string key-value pairs of columns to be attached to the alert + */ + customDetails?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The description of the alert rule. + */ + description?: pulumi.Input; + /** + * The display name for alerts created by this alert rule. + */ + displayName: pulumi.Input; + /** + * Determines whether this alert rule is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * Array of the entity mappings of the alert rule + */ + entityMappings?: pulumi.Input[]>; + /** + * The event grouping settings. + */ + eventGroupingSettings?: pulumi.Input; + /** + * The settings of the incidents that created from alerts triggered by this analytics rule + */ + incidentConfiguration?: pulumi.Input; + /** + * The kind of the alert rule + * Expected value is 'NRT'. + */ + kind: pulumi.Input<"NRT">; + /** + * The query that creates alerts for this rule. + */ + query: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId?: pulumi.Input; + /** + * Array of the sentinel entity mappings of the alert rule + */ + sentinelEntitiesMappings?: pulumi.Input[]>; + /** + * The severity for alerts created by this alert rule. + */ + severity: pulumi.Input; + /** + * The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + */ + suppressionDuration: pulumi.Input; + /** + * Determines whether the suppression for this alert rule is enabled or disabled. + */ + suppressionEnabled: pulumi.Input; + /** + * The tactics of the alert rule + */ + tactics?: pulumi.Input[]>; + /** + * The techniques of the alert rule + */ + techniques?: pulumi.Input[]>; + /** + * The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + */ + templateVersion?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/office365ProjectDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/office365ProjectDataConnector.ts new file mode 100644 index 000000000000..605b4e84c527 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/office365ProjectDataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Office Microsoft Project data connector. + */ +export class Office365ProjectDataConnector extends pulumi.CustomResource { + /** + * Get an existing Office365ProjectDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Office365ProjectDataConnector { + return new Office365ProjectDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector'; + + /** + * Returns true if the given object is an instance of Office365ProjectDataConnector. 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 Office365ProjectDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Office365ProjectDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'Office365Project'. + */ + public readonly kind!: pulumi.Output<"Office365Project">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Office365ProjectDataConnector 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: Office365ProjectDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "Office365Project"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20200101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Office365ProjectDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Office365ProjectDataConnector resource. + */ +export interface Office365ProjectDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'Office365Project'. + */ + kind: pulumi.Input<"Office365Project">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/officeATPDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/officeATPDataConnector.ts new file mode 100644 index 000000000000..ea48cfda42ab --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/officeATPDataConnector.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents OfficeATP (Office 365 Advanced Threat Protection) data connector. + */ +export class OfficeATPDataConnector extends pulumi.CustomResource { + /** + * Get an existing OfficeATPDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OfficeATPDataConnector { + return new OfficeATPDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:OfficeATPDataConnector'; + + /** + * Returns true if the given object is an instance of OfficeATPDataConnector. 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 OfficeATPDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OfficeATPDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'OfficeATP'. + */ + public readonly kind!: pulumi.Output<"OfficeATP">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a OfficeATPDataConnector 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: OfficeATPDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "OfficeATP"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeATPDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeATPDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(OfficeATPDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a OfficeATPDataConnector resource. + */ +export interface OfficeATPDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'OfficeATP'. + */ + kind: pulumi.Input<"OfficeATP">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/officeDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/officeDataConnector.ts new file mode 100644 index 000000000000..777e088191d8 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/officeDataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents office data connector. + */ +export class OfficeDataConnector extends pulumi.CustomResource { + /** + * Get an existing OfficeDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OfficeDataConnector { + return new OfficeDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:OfficeDataConnector'; + + /** + * Returns true if the given object is an instance of OfficeDataConnector. 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 OfficeDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OfficeDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'Office365'. + */ + public readonly kind!: pulumi.Output<"Office365">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a OfficeDataConnector 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: OfficeDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "Office365"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(OfficeDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a OfficeDataConnector resource. + */ +export interface OfficeDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'Office365'. + */ + kind: pulumi.Input<"Office365">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/officeIRMDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/officeIRMDataConnector.ts new file mode 100644 index 000000000000..ae4090f9ffe5 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/officeIRMDataConnector.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents OfficeIRM (Microsoft Insider Risk Management) data connector. + */ +export class OfficeIRMDataConnector extends pulumi.CustomResource { + /** + * Get an existing OfficeIRMDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OfficeIRMDataConnector { + return new OfficeIRMDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector'; + + /** + * Returns true if the given object is an instance of OfficeIRMDataConnector. 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 OfficeIRMDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OfficeIRMDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'OfficeIRM'. + */ + public readonly kind!: pulumi.Output<"OfficeIRM">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a OfficeIRMDataConnector 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: OfficeIRMDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "OfficeIRM"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(OfficeIRMDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a OfficeIRMDataConnector resource. + */ +export interface OfficeIRMDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'OfficeIRM'. + */ + kind: pulumi.Input<"OfficeIRM">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/officePowerBIDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/officePowerBIDataConnector.ts new file mode 100644 index 000000000000..cee32ee0825d --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/officePowerBIDataConnector.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Office Microsoft PowerBI data connector. + */ +export class OfficePowerBIDataConnector extends pulumi.CustomResource { + /** + * Get an existing OfficePowerBIDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OfficePowerBIDataConnector { + return new OfficePowerBIDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector'; + + /** + * Returns true if the given object is an instance of OfficePowerBIDataConnector. 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 OfficePowerBIDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OfficePowerBIDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'OfficePowerBI'. + */ + public readonly kind!: pulumi.Output<"OfficePowerBI">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a OfficePowerBIDataConnector 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: OfficePowerBIDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "OfficePowerBI"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20200101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(OfficePowerBIDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a OfficePowerBIDataConnector resource. + */ +export interface OfficePowerBIDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'OfficePowerBI'. + */ + kind: pulumi.Input<"OfficePowerBI">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/scheduledAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/scheduledAlertRule.ts new file mode 100644 index 000000000000..c6557d463649 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/scheduledAlertRule.ts @@ -0,0 +1,371 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents scheduled alert rule. + */ +export class ScheduledAlertRule extends pulumi.CustomResource { + /** + * Get an existing ScheduledAlertRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ScheduledAlertRule { + return new ScheduledAlertRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ScheduledAlertRule'; + + /** + * Returns true if the given object is an instance of ScheduledAlertRule. 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 ScheduledAlertRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ScheduledAlertRule.__pulumiType; + } + + /** + * The alert details override settings + */ + public readonly alertDetailsOverride!: pulumi.Output; + /** + * The Name of the alert rule template used to create this rule. + */ + public readonly alertRuleTemplateName!: pulumi.Output; + /** + * Dictionary of string key-value pairs of columns to be attached to the alert + */ + public readonly customDetails!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The description of the alert rule. + */ + public readonly description!: pulumi.Output; + /** + * The display name for alerts created by this alert rule. + */ + public readonly displayName!: pulumi.Output; + /** + * Determines whether this alert rule is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Array of the entity mappings of the alert rule + */ + public readonly entityMappings!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The event grouping settings. + */ + public readonly eventGroupingSettings!: pulumi.Output; + /** + * The settings of the incidents that created from alerts triggered by this analytics rule + */ + public readonly incidentConfiguration!: pulumi.Output; + /** + * The kind of the alert rule + * Expected value is 'Scheduled'. + */ + public readonly kind!: pulumi.Output<"Scheduled">; + /** + * The last time that this alert rule has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The query that creates alerts for this rule. + */ + public readonly query!: pulumi.Output; + /** + * The frequency (in ISO 8601 duration format) for this alert rule to run. + */ + public readonly queryFrequency!: pulumi.Output; + /** + * The period (in ISO 8601 duration format) that this alert rule looks at. + */ + public readonly queryPeriod!: pulumi.Output; + /** + * Array of the sentinel entity mappings of the alert rule + */ + public readonly sentinelEntitiesMappings!: pulumi.Output; + /** + * The severity for alerts created by this alert rule. + */ + public readonly severity!: pulumi.Output; + /** + * The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + */ + public readonly suppressionDuration!: pulumi.Output; + /** + * Determines whether the suppression for this alert rule is enabled or disabled. + */ + public readonly suppressionEnabled!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tactics of the alert rule + */ + public readonly tactics!: pulumi.Output; + /** + * The techniques of the alert rule + */ + public readonly techniques!: pulumi.Output; + /** + * The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + */ + public readonly templateVersion!: pulumi.Output; + /** + * The operation against the threshold that triggers alert rule. + */ + public readonly triggerOperator!: pulumi.Output; + /** + * The threshold triggers this alert rule. + */ + public readonly triggerThreshold!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ScheduledAlertRule 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: ScheduledAlertRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.query === undefined) && !opts.urn) { + throw new Error("Missing required property 'query'"); + } + if ((!args || args.queryFrequency === undefined) && !opts.urn) { + throw new Error("Missing required property 'queryFrequency'"); + } + if ((!args || args.queryPeriod === undefined) && !opts.urn) { + throw new Error("Missing required property 'queryPeriod'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.severity === undefined) && !opts.urn) { + throw new Error("Missing required property 'severity'"); + } + if ((!args || args.suppressionDuration === undefined) && !opts.urn) { + throw new Error("Missing required property 'suppressionDuration'"); + } + if ((!args || args.suppressionEnabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'suppressionEnabled'"); + } + if ((!args || args.triggerOperator === undefined) && !opts.urn) { + throw new Error("Missing required property 'triggerOperator'"); + } + if ((!args || args.triggerThreshold === undefined) && !opts.urn) { + throw new Error("Missing required property 'triggerThreshold'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["alertDetailsOverride"] = args ? args.alertDetailsOverride : undefined; + resourceInputs["alertRuleTemplateName"] = args ? args.alertRuleTemplateName : undefined; + resourceInputs["customDetails"] = args ? args.customDetails : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["entityMappings"] = args ? args.entityMappings : undefined; + resourceInputs["eventGroupingSettings"] = args ? args.eventGroupingSettings : undefined; + resourceInputs["incidentConfiguration"] = args ? args.incidentConfiguration : undefined; + resourceInputs["kind"] = "Scheduled"; + resourceInputs["query"] = args ? args.query : undefined; + resourceInputs["queryFrequency"] = args ? args.queryFrequency : undefined; + resourceInputs["queryPeriod"] = args ? args.queryPeriod : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["sentinelEntitiesMappings"] = args ? args.sentinelEntitiesMappings : undefined; + resourceInputs["severity"] = args ? args.severity : undefined; + resourceInputs["suppressionDuration"] = args ? args.suppressionDuration : undefined; + resourceInputs["suppressionEnabled"] = args ? args.suppressionEnabled : undefined; + resourceInputs["tactics"] = args ? args.tactics : undefined; + resourceInputs["techniques"] = args ? args.techniques : undefined; + resourceInputs["templateVersion"] = args ? args.templateVersion : undefined; + resourceInputs["triggerOperator"] = args ? args.triggerOperator : undefined; + resourceInputs["triggerThreshold"] = args ? args.triggerThreshold : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["alertDetailsOverride"] = undefined /*out*/; + resourceInputs["alertRuleTemplateName"] = undefined /*out*/; + resourceInputs["customDetails"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["entityMappings"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["eventGroupingSettings"] = undefined /*out*/; + resourceInputs["incidentConfiguration"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["query"] = undefined /*out*/; + resourceInputs["queryFrequency"] = undefined /*out*/; + resourceInputs["queryPeriod"] = undefined /*out*/; + resourceInputs["sentinelEntitiesMappings"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["suppressionDuration"] = undefined /*out*/; + resourceInputs["suppressionEnabled"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["templateVersion"] = undefined /*out*/; + resourceInputs["triggerOperator"] = undefined /*out*/; + resourceInputs["triggerThreshold"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20200101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ScheduledAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ScheduledAlertRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ScheduledAlertRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ScheduledAlertRule resource. + */ +export interface ScheduledAlertRuleArgs { + /** + * The alert details override settings + */ + alertDetailsOverride?: pulumi.Input; + /** + * The Name of the alert rule template used to create this rule. + */ + alertRuleTemplateName?: pulumi.Input; + /** + * Dictionary of string key-value pairs of columns to be attached to the alert + */ + customDetails?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The description of the alert rule. + */ + description?: pulumi.Input; + /** + * The display name for alerts created by this alert rule. + */ + displayName: pulumi.Input; + /** + * Determines whether this alert rule is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * Array of the entity mappings of the alert rule + */ + entityMappings?: pulumi.Input[]>; + /** + * The event grouping settings. + */ + eventGroupingSettings?: pulumi.Input; + /** + * The settings of the incidents that created from alerts triggered by this analytics rule + */ + incidentConfiguration?: pulumi.Input; + /** + * The kind of the alert rule + * Expected value is 'Scheduled'. + */ + kind: pulumi.Input<"Scheduled">; + /** + * The query that creates alerts for this rule. + */ + query: pulumi.Input; + /** + * The frequency (in ISO 8601 duration format) for this alert rule to run. + */ + queryFrequency: pulumi.Input; + /** + * The period (in ISO 8601 duration format) that this alert rule looks at. + */ + queryPeriod: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId?: pulumi.Input; + /** + * Array of the sentinel entity mappings of the alert rule + */ + sentinelEntitiesMappings?: pulumi.Input[]>; + /** + * The severity for alerts created by this alert rule. + */ + severity: pulumi.Input; + /** + * The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + */ + suppressionDuration: pulumi.Input; + /** + * Determines whether the suppression for this alert rule is enabled or disabled. + */ + suppressionEnabled: pulumi.Input; + /** + * The tactics of the alert rule + */ + tactics?: pulumi.Input[]>; + /** + * The techniques of the alert rule + */ + techniques?: pulumi.Input[]>; + /** + * The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + */ + templateVersion?: pulumi.Input; + /** + * The operation against the threshold that triggers alert rule. + */ + triggerOperator: pulumi.Input; + /** + * The threshold triggers this alert rule. + */ + triggerThreshold: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/sentinelOnboardingState.ts b/sdk/nodejs/securityinsights/v20230901preview/sentinelOnboardingState.ts new file mode 100644 index 000000000000..edc88e15e275 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/sentinelOnboardingState.ts @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Sentinel onboarding state + */ +export class SentinelOnboardingState extends pulumi.CustomResource { + /** + * Get an existing SentinelOnboardingState 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SentinelOnboardingState { + return new SentinelOnboardingState(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:SentinelOnboardingState'; + + /** + * Returns true if the given object is an instance of SentinelOnboardingState. 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 SentinelOnboardingState { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SentinelOnboardingState.__pulumiType; + } + + /** + * Flag that indicates the status of the CMK setting + */ + public readonly customerManagedKey!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SentinelOnboardingState 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: SentinelOnboardingStateArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["customerManagedKey"] = args ? args.customerManagedKey : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sentinelOnboardingStateName"] = args ? args.sentinelOnboardingStateName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["customerManagedKey"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20210901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20211001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220801preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20220901preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221001preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221101preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20221201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230201preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230301preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230401preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230501preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230601preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230701preview:SentinelOnboardingState" }, { type: "azure-native:securityinsights/v20230801preview:SentinelOnboardingState" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SentinelOnboardingState.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SentinelOnboardingState resource. + */ +export interface SentinelOnboardingStateArgs { + /** + * Flag that indicates the status of the CMK setting + */ + customerManagedKey?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The Sentinel onboarding state name. Supports - default + */ + sentinelOnboardingStateName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/threatIntelligenceAlertRule.ts b/sdk/nodejs/securityinsights/v20230901preview/threatIntelligenceAlertRule.ts new file mode 100644 index 000000000000..b3a021f52fc3 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/threatIntelligenceAlertRule.ts @@ -0,0 +1,187 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Threat Intelligence alert rule. + */ +export class ThreatIntelligenceAlertRule extends pulumi.CustomResource { + /** + * Get an existing ThreatIntelligenceAlertRule 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ThreatIntelligenceAlertRule { + return new ThreatIntelligenceAlertRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule'; + + /** + * Returns true if the given object is an instance of ThreatIntelligenceAlertRule. 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 ThreatIntelligenceAlertRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ThreatIntelligenceAlertRule.__pulumiType; + } + + /** + * The Name of the alert rule template used to create this rule. + */ + public readonly alertRuleTemplateName!: pulumi.Output; + /** + * The description of the alert rule. + */ + public /*out*/ readonly description!: pulumi.Output; + /** + * The display name for alerts created by this alert rule. + */ + public /*out*/ readonly displayName!: pulumi.Output; + /** + * Determines whether this alert rule is enabled or disabled. + */ + public readonly enabled!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the alert rule + * Expected value is 'ThreatIntelligence'. + */ + public readonly kind!: pulumi.Output<"ThreatIntelligence">; + /** + * The last time that this alert has been modified. + */ + public /*out*/ readonly lastModifiedUtc!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The severity for alerts created by this alert rule. + */ + public /*out*/ readonly severity!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tactics of the alert rule + */ + public /*out*/ readonly tactics!: pulumi.Output; + /** + * The techniques of the alert rule + */ + public /*out*/ readonly techniques!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ThreatIntelligenceAlertRule 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: ThreatIntelligenceAlertRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.alertRuleTemplateName === undefined) && !opts.urn) { + throw new Error("Missing required property 'alertRuleTemplateName'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["alertRuleTemplateName"] = args ? args.alertRuleTemplateName : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["kind"] = "ThreatIntelligence"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["ruleId"] = args ? args.ruleId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["alertRuleTemplateName"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["lastModifiedUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["severity"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tactics"] = undefined /*out*/; + resourceInputs["techniques"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ThreatIntelligenceAlertRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ThreatIntelligenceAlertRule resource. + */ +export interface ThreatIntelligenceAlertRuleArgs { + /** + * The Name of the alert rule template used to create this rule. + */ + alertRuleTemplateName: pulumi.Input; + /** + * Determines whether this alert rule is enabled or disabled. + */ + enabled: pulumi.Input; + /** + * The kind of the alert rule + * Expected value is 'ThreatIntelligence'. + */ + kind: pulumi.Input<"ThreatIntelligence">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Alert rule ID + */ + ruleId?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/threatIntelligenceIndicator.ts b/sdk/nodejs/securityinsights/v20230901preview/threatIntelligenceIndicator.ts new file mode 100644 index 000000000000..340b3e8742d3 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/threatIntelligenceIndicator.ts @@ -0,0 +1,263 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Threat intelligence information object. + */ +export class ThreatIntelligenceIndicator extends pulumi.CustomResource { + /** + * Get an existing ThreatIntelligenceIndicator 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ThreatIntelligenceIndicator { + return new ThreatIntelligenceIndicator(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator'; + + /** + * Returns true if the given object is an instance of ThreatIntelligenceIndicator. 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 ThreatIntelligenceIndicator { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ThreatIntelligenceIndicator.__pulumiType; + } + + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the entity. + */ + public readonly kind!: pulumi.Output; + /** + * The name of the resource + */ + public readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a ThreatIntelligenceIndicator 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: ThreatIntelligenceIndicatorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["confidence"] = args ? args.confidence : undefined; + resourceInputs["created"] = args ? args.created : undefined; + resourceInputs["createdByRef"] = args ? args.createdByRef : undefined; + resourceInputs["defanged"] = args ? args.defanged : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["extensions"] = args ? args.extensions : undefined; + resourceInputs["externalId"] = args ? args.externalId : undefined; + resourceInputs["externalLastUpdatedTimeUtc"] = args ? args.externalLastUpdatedTimeUtc : undefined; + resourceInputs["externalReferences"] = args ? args.externalReferences : undefined; + resourceInputs["granularMarkings"] = args ? args.granularMarkings : undefined; + resourceInputs["indicatorTypes"] = args ? args.indicatorTypes : undefined; + resourceInputs["killChainPhases"] = args ? args.killChainPhases : undefined; + resourceInputs["kind"] = "indicator"; + resourceInputs["labels"] = args ? args.labels : undefined; + resourceInputs["language"] = args ? args.language : undefined; + resourceInputs["lastUpdatedTimeUtc"] = args ? args.lastUpdatedTimeUtc : undefined; + resourceInputs["modified"] = args ? args.modified : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["objectMarkingRefs"] = args ? args.objectMarkingRefs : undefined; + resourceInputs["parsedPattern"] = args ? args.parsedPattern : undefined; + resourceInputs["pattern"] = args ? args.pattern : undefined; + resourceInputs["patternType"] = args ? args.patternType : undefined; + resourceInputs["patternVersion"] = args ? args.patternVersion : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["revoked"] = args ? args.revoked : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["threatIntelligenceTags"] = args ? args.threatIntelligenceTags : undefined; + resourceInputs["threatTypes"] = args ? args.threatTypes : undefined; + resourceInputs["validFrom"] = args ? args.validFrom : undefined; + resourceInputs["validUntil"] = args ? args.validUntil : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator" }, { type: "azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(ThreatIntelligenceIndicator.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ThreatIntelligenceIndicator resource. + */ +export interface ThreatIntelligenceIndicatorArgs { + /** + * Confidence of threat intelligence entity + */ + confidence?: pulumi.Input; + /** + * Created by + */ + created?: pulumi.Input; + /** + * Created by reference of threat intelligence entity + */ + createdByRef?: pulumi.Input; + /** + * Is threat intelligence entity defanged + */ + defanged?: pulumi.Input; + /** + * Description of a threat intelligence entity + */ + description?: pulumi.Input; + /** + * Display name of a threat intelligence entity + */ + displayName?: pulumi.Input; + /** + * Extensions map + */ + extensions?: any; + /** + * External ID of threat intelligence entity + */ + externalId?: pulumi.Input; + /** + * External last updated time in UTC + */ + externalLastUpdatedTimeUtc?: pulumi.Input; + /** + * External References + */ + externalReferences?: pulumi.Input[]>; + /** + * Granular Markings + */ + granularMarkings?: pulumi.Input[]>; + /** + * Indicator types of threat intelligence entities + */ + indicatorTypes?: pulumi.Input[]>; + /** + * Kill chain phases + */ + killChainPhases?: pulumi.Input[]>; + /** + * The kind of the threat intelligence entity + * Expected value is 'indicator'. + */ + kind: pulumi.Input<"indicator">; + /** + * Labels of threat intelligence entity + */ + labels?: pulumi.Input[]>; + /** + * Language of threat intelligence entity + */ + language?: pulumi.Input; + /** + * Last updated time in UTC + */ + lastUpdatedTimeUtc?: pulumi.Input; + /** + * Modified by + */ + modified?: pulumi.Input; + /** + * Threat intelligence indicator name field. + */ + name?: pulumi.Input; + /** + * Threat intelligence entity object marking references + */ + objectMarkingRefs?: pulumi.Input[]>; + /** + * Parsed patterns + */ + parsedPattern?: pulumi.Input[]>; + /** + * Pattern of a threat intelligence entity + */ + pattern?: pulumi.Input; + /** + * Pattern type of a threat intelligence entity + */ + patternType?: pulumi.Input; + /** + * Pattern version of a threat intelligence entity + */ + patternVersion?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Is threat intelligence entity revoked + */ + revoked?: pulumi.Input; + /** + * Source of a threat intelligence entity + */ + source?: pulumi.Input; + /** + * List of tags + */ + threatIntelligenceTags?: pulumi.Input[]>; + /** + * Threat types + */ + threatTypes?: pulumi.Input[]>; + /** + * Valid from + */ + validFrom?: pulumi.Input; + /** + * Valid until + */ + validUntil?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/tiTaxiiDataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/tiTaxiiDataConnector.ts new file mode 100644 index 000000000000..980c3a72d311 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/tiTaxiiDataConnector.ts @@ -0,0 +1,234 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server + */ +export class TiTaxiiDataConnector extends pulumi.CustomResource { + /** + * Get an existing TiTaxiiDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TiTaxiiDataConnector { + return new TiTaxiiDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector'; + + /** + * Returns true if the given object is an instance of TiTaxiiDataConnector. 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 TiTaxiiDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === TiTaxiiDataConnector.__pulumiType; + } + + /** + * The collection id of the TAXII server. + */ + public readonly collectionId!: pulumi.Output; + /** + * The available data types for Threat Intelligence TAXII data connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The friendly name for the TAXII server. + */ + public readonly friendlyName!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'ThreatIntelligenceTaxii'. + */ + public readonly kind!: pulumi.Output<"ThreatIntelligenceTaxii">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The password for the TAXII server. + */ + public readonly password!: pulumi.Output; + /** + * The polling frequency for the TAXII server. + */ + public readonly pollingFrequency!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The lookback period for the TAXII server. + */ + public readonly taxiiLookbackPeriod!: pulumi.Output; + /** + * The API root for the TAXII server. + */ + public readonly taxiiServer!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The userName for the TAXII server. + */ + public readonly userName!: pulumi.Output; + /** + * The workspace id. + */ + public readonly workspaceId!: pulumi.Output; + + /** + * Create a TiTaxiiDataConnector 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: TiTaxiiDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.pollingFrequency === undefined) && !opts.urn) { + throw new Error("Missing required property 'pollingFrequency'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["collectionId"] = args ? args.collectionId : undefined; + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["friendlyName"] = args ? args.friendlyName : undefined; + resourceInputs["kind"] = "ThreatIntelligenceTaxii"; + resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["pollingFrequency"] = args ? args.pollingFrequency : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["taxiiLookbackPeriod"] = args ? args.taxiiLookbackPeriod : undefined; + resourceInputs["taxiiServer"] = args ? args.taxiiServer : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["userName"] = args ? args.userName : undefined; + resourceInputs["workspaceId"] = args ? args.workspaceId : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["collectionId"] = undefined /*out*/; + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["friendlyName"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["password"] = undefined /*out*/; + resourceInputs["pollingFrequency"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["taxiiLookbackPeriod"] = undefined /*out*/; + resourceInputs["taxiiServer"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["userName"] = undefined /*out*/; + resourceInputs["workspaceId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20200101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(TiTaxiiDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a TiTaxiiDataConnector resource. + */ +export interface TiTaxiiDataConnectorArgs { + /** + * The collection id of the TAXII server. + */ + collectionId?: pulumi.Input; + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for Threat Intelligence TAXII data connector. + */ + dataTypes: pulumi.Input; + /** + * The friendly name for the TAXII server. + */ + friendlyName?: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'ThreatIntelligenceTaxii'. + */ + kind: pulumi.Input<"ThreatIntelligenceTaxii">; + /** + * The password for the TAXII server. + */ + password?: pulumi.Input; + /** + * The polling frequency for the TAXII server. + */ + pollingFrequency: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The lookback period for the TAXII server. + */ + taxiiLookbackPeriod?: pulumi.Input; + /** + * The API root for the TAXII server. + */ + taxiiServer?: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The userName for the TAXII server. + */ + userName?: pulumi.Input; + /** + * The workspace id. + */ + workspaceId?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/tidataConnector.ts b/sdk/nodejs/securityinsights/v20230901preview/tidataConnector.ts new file mode 100644 index 000000000000..9cb5fb703bfb --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/tidataConnector.ts @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents threat intelligence data connector. + */ +export class TIDataConnector extends pulumi.CustomResource { + /** + * Get an existing TIDataConnector 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TIDataConnector { + return new TIDataConnector(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:TIDataConnector'; + + /** + * Returns true if the given object is an instance of TIDataConnector. 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 TIDataConnector { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === TIDataConnector.__pulumiType; + } + + /** + * The available data types for the connector. + */ + public readonly dataTypes!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the data connector + * Expected value is 'ThreatIntelligence'. + */ + public readonly kind!: pulumi.Output<"ThreatIntelligence">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenant id to connect to, and get the data from. + */ + public readonly tenantId!: pulumi.Output; + /** + * The lookback period for the feed to be imported. + */ + public readonly tipLookbackPeriod!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a TIDataConnector 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: TIDataConnectorArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.dataTypes === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataTypes'"); + } + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataConnectorId"] = args ? args.dataConnectorId : undefined; + resourceInputs["dataTypes"] = args ? args.dataTypes : undefined; + resourceInputs["kind"] = "ThreatIntelligence"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["tipLookbackPeriod"] = args ? args.tipLookbackPeriod : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataTypes"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["tipLookbackPeriod"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:TIDataConnector" }, { type: "azure-native:securityinsights/v20190101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20200101:TIDataConnector" }, { type: "azure-native:securityinsights/v20210301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20210901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001:TIDataConnector" }, { type: "azure-native:securityinsights/v20211001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801:TIDataConnector" }, { type: "azure-native:securityinsights/v20220801preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20220901preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221001preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101:TIDataConnector" }, { type: "azure-native:securityinsights/v20221101preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20221201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201:TIDataConnector" }, { type: "azure-native:securityinsights/v20230201preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230301preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230401preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230501preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230601preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230701preview:TIDataConnector" }, { type: "azure-native:securityinsights/v20230801preview:TIDataConnector" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(TIDataConnector.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a TIDataConnector resource. + */ +export interface TIDataConnectorArgs { + /** + * Connector ID + */ + dataConnectorId?: pulumi.Input; + /** + * The available data types for the connector. + */ + dataTypes: pulumi.Input; + /** + * The kind of the data connector + * Expected value is 'ThreatIntelligence'. + */ + kind: pulumi.Input<"ThreatIntelligence">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenant id to connect to, and get the data from. + */ + tenantId: pulumi.Input; + /** + * The lookback period for the feed to be imported. + */ + tipLookbackPeriod?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/ueba.ts b/sdk/nodejs/securityinsights/v20230901preview/ueba.ts new file mode 100644 index 000000000000..81a4aaaa98ff --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/ueba.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Settings with single toggle. + */ +export class Ueba extends pulumi.CustomResource { + /** + * Get an existing Ueba 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Ueba { + return new Ueba(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Ueba'; + + /** + * Returns true if the given object is an instance of Ueba. 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 Ueba { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Ueba.__pulumiType; + } + + /** + * The relevant data sources that enriched by ueba + */ + public readonly dataSources!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The kind of the setting + * Expected value is 'Ueba'. + */ + public readonly kind!: pulumi.Output<"Ueba">; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a Ueba 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: UebaArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.kind === undefined) && !opts.urn) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["dataSources"] = args ? args.dataSources : undefined; + resourceInputs["kind"] = "Ueba"; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["settingsName"] = args ? args.settingsName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dataSources"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["kind"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Ueba" }, { type: "azure-native:securityinsights/v20190101preview:Ueba" }, { type: "azure-native:securityinsights/v20210301preview:Ueba" }, { type: "azure-native:securityinsights/v20210901preview:Ueba" }, { type: "azure-native:securityinsights/v20211001preview:Ueba" }, { type: "azure-native:securityinsights/v20220101preview:Ueba" }, { type: "azure-native:securityinsights/v20220401preview:Ueba" }, { type: "azure-native:securityinsights/v20220501preview:Ueba" }, { type: "azure-native:securityinsights/v20220601preview:Ueba" }, { type: "azure-native:securityinsights/v20220701preview:Ueba" }, { type: "azure-native:securityinsights/v20220801preview:Ueba" }, { type: "azure-native:securityinsights/v20220901preview:Ueba" }, { type: "azure-native:securityinsights/v20221001preview:Ueba" }, { type: "azure-native:securityinsights/v20221101preview:Ueba" }, { type: "azure-native:securityinsights/v20221201preview:Ueba" }, { type: "azure-native:securityinsights/v20230201preview:Ueba" }, { type: "azure-native:securityinsights/v20230301preview:Ueba" }, { type: "azure-native:securityinsights/v20230401preview:Ueba" }, { type: "azure-native:securityinsights/v20230501preview:Ueba" }, { type: "azure-native:securityinsights/v20230601preview:Ueba" }, { type: "azure-native:securityinsights/v20230701preview:Ueba" }, { type: "azure-native:securityinsights/v20230801preview:Ueba" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Ueba.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Ueba resource. + */ +export interface UebaArgs { + /** + * The relevant data sources that enriched by ueba + */ + dataSources?: pulumi.Input[]>; + /** + * The kind of the setting + * Expected value is 'Ueba'. + */ + kind: pulumi.Input<"Ueba">; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + */ + settingsName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/watchlist.ts b/sdk/nodejs/securityinsights/v20230901preview/watchlist.ts new file mode 100644 index 000000000000..05774339965d --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/watchlist.ts @@ -0,0 +1,324 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Watchlist in Azure Security Insights. + */ +export class Watchlist extends pulumi.CustomResource { + /** + * Get an existing Watchlist 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Watchlist { + return new Watchlist(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:Watchlist'; + + /** + * Returns true if the given object is an instance of Watchlist. 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 Watchlist { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Watchlist.__pulumiType; + } + + /** + * The content type of the raw content. Example : text/csv or text/tsv + */ + public readonly contentType!: pulumi.Output; + /** + * The time the watchlist was created + */ + public readonly created!: pulumi.Output; + /** + * Describes a user that created the watchlist + */ + public readonly createdBy!: pulumi.Output; + /** + * The default duration of a watchlist (in ISO 8601 duration format) + */ + public readonly defaultDuration!: pulumi.Output; + /** + * A description of the watchlist + */ + public readonly description!: pulumi.Output; + /** + * The display name of the watchlist + */ + public readonly displayName!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * A flag that indicates if the watchlist is deleted or not + */ + public readonly isDeleted!: pulumi.Output; + /** + * The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + */ + public readonly itemsSearchKey!: pulumi.Output; + /** + * List of labels relevant to this watchlist + */ + public readonly labels!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The number of lines in a csv/tsv content to skip before the header + */ + public readonly numberOfLinesToSkip!: pulumi.Output; + /** + * The provider of the watchlist + */ + public readonly provider!: pulumi.Output; + /** + * The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + */ + public readonly rawContent!: pulumi.Output; + /** + * The filename of the watchlist, called 'source' + */ + public readonly source!: pulumi.Output; + /** + * The sourceType of the watchlist + */ + public readonly sourceType!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenantId where the watchlist belongs to + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The last time the watchlist was updated + */ + public readonly updated!: pulumi.Output; + /** + * Describes a user that updated the watchlist + */ + public readonly updatedBy!: pulumi.Output; + /** + * The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + */ + public readonly uploadStatus!: pulumi.Output; + /** + * The alias of the watchlist + */ + public readonly watchlistAlias!: pulumi.Output; + /** + * The id (a Guid) of the watchlist + */ + public readonly watchlistId!: pulumi.Output; + /** + * The type of the watchlist + */ + public readonly watchlistType!: pulumi.Output; + + /** + * Create a Watchlist 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: WatchlistArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.itemsSearchKey === undefined) && !opts.urn) { + throw new Error("Missing required property 'itemsSearchKey'"); + } + if ((!args || args.provider === undefined) && !opts.urn) { + throw new Error("Missing required property 'provider'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["contentType"] = args ? args.contentType : undefined; + resourceInputs["created"] = args ? args.created : undefined; + resourceInputs["createdBy"] = args ? args.createdBy : undefined; + resourceInputs["defaultDuration"] = args ? args.defaultDuration : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["isDeleted"] = args ? args.isDeleted : undefined; + resourceInputs["itemsSearchKey"] = args ? args.itemsSearchKey : undefined; + resourceInputs["labels"] = args ? args.labels : undefined; + resourceInputs["numberOfLinesToSkip"] = args ? args.numberOfLinesToSkip : undefined; + resourceInputs["provider"] = args ? args.provider : undefined; + resourceInputs["rawContent"] = args ? args.rawContent : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["sourceType"] = args ? args.sourceType : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["updated"] = args ? args.updated : undefined; + resourceInputs["updatedBy"] = args ? args.updatedBy : undefined; + resourceInputs["uploadStatus"] = args ? args.uploadStatus : undefined; + resourceInputs["watchlistAlias"] = args ? args.watchlistAlias : undefined; + resourceInputs["watchlistId"] = args ? args.watchlistId : undefined; + resourceInputs["watchlistType"] = args ? args.watchlistType : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["contentType"] = undefined /*out*/; + resourceInputs["created"] = undefined /*out*/; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["defaultDuration"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["isDeleted"] = undefined /*out*/; + resourceInputs["itemsSearchKey"] = undefined /*out*/; + resourceInputs["labels"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["numberOfLinesToSkip"] = undefined /*out*/; + resourceInputs["provider"] = undefined /*out*/; + resourceInputs["rawContent"] = undefined /*out*/; + resourceInputs["source"] = undefined /*out*/; + resourceInputs["sourceType"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["updated"] = undefined /*out*/; + resourceInputs["updatedBy"] = undefined /*out*/; + resourceInputs["uploadStatus"] = undefined /*out*/; + resourceInputs["watchlistAlias"] = undefined /*out*/; + resourceInputs["watchlistId"] = undefined /*out*/; + resourceInputs["watchlistType"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:Watchlist" }, { type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Watchlist.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Watchlist resource. + */ +export interface WatchlistArgs { + /** + * The content type of the raw content. Example : text/csv or text/tsv + */ + contentType?: pulumi.Input; + /** + * The time the watchlist was created + */ + created?: pulumi.Input; + /** + * Describes a user that created the watchlist + */ + createdBy?: pulumi.Input; + /** + * The default duration of a watchlist (in ISO 8601 duration format) + */ + defaultDuration?: pulumi.Input; + /** + * A description of the watchlist + */ + description?: pulumi.Input; + /** + * The display name of the watchlist + */ + displayName: pulumi.Input; + /** + * A flag that indicates if the watchlist is deleted or not + */ + isDeleted?: pulumi.Input; + /** + * The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + */ + itemsSearchKey: pulumi.Input; + /** + * List of labels relevant to this watchlist + */ + labels?: pulumi.Input[]>; + /** + * The number of lines in a csv/tsv content to skip before the header + */ + numberOfLinesToSkip?: pulumi.Input; + /** + * The provider of the watchlist + */ + provider: pulumi.Input; + /** + * The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + */ + rawContent?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The filename of the watchlist, called 'source' + */ + source?: pulumi.Input; + /** + * The sourceType of the watchlist + */ + sourceType?: pulumi.Input; + /** + * The tenantId where the watchlist belongs to + */ + tenantId?: pulumi.Input; + /** + * The last time the watchlist was updated + */ + updated?: pulumi.Input; + /** + * Describes a user that updated the watchlist + */ + updatedBy?: pulumi.Input; + /** + * The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + */ + uploadStatus?: pulumi.Input; + /** + * The alias of the watchlist + */ + watchlistAlias?: pulumi.Input; + /** + * The id (a Guid) of the watchlist + */ + watchlistId?: pulumi.Input; + /** + * The type of the watchlist + */ + watchlistType?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/watchlistItem.ts b/sdk/nodejs/securityinsights/v20230901preview/watchlistItem.ts new file mode 100644 index 000000000000..f6ee3cb6735a --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/watchlistItem.ts @@ -0,0 +1,216 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents a Watchlist item in Azure Security Insights. + */ +export class WatchlistItem extends pulumi.CustomResource { + /** + * Get an existing WatchlistItem 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WatchlistItem { + return new WatchlistItem(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:WatchlistItem'; + + /** + * Returns true if the given object is an instance of WatchlistItem. 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 WatchlistItem { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WatchlistItem.__pulumiType; + } + + /** + * The time the watchlist item was created + */ + public readonly created!: pulumi.Output; + /** + * Describes a user that created the watchlist item + */ + public readonly createdBy!: pulumi.Output; + /** + * key-value pairs for a watchlist item entity mapping + */ + public readonly entityMapping!: pulumi.Output; + /** + * Etag of the azure resource + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * A flag that indicates if the watchlist item is deleted or not + */ + public readonly isDeleted!: pulumi.Output; + /** + * key-value pairs for a watchlist item + */ + public readonly itemsKeyValue!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The tenantId to which the watchlist item belongs to + */ + public readonly tenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * The last time the watchlist item was updated + */ + public readonly updated!: pulumi.Output; + /** + * Describes a user that updated the watchlist item + */ + public readonly updatedBy!: pulumi.Output; + /** + * The id (a Guid) of the watchlist item + */ + public readonly watchlistItemId!: pulumi.Output; + /** + * The type of the watchlist item + */ + public readonly watchlistItemType!: pulumi.Output; + + /** + * Create a WatchlistItem 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: WatchlistItemArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.itemsKeyValue === undefined) && !opts.urn) { + throw new Error("Missing required property 'itemsKeyValue'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.watchlistAlias === undefined) && !opts.urn) { + throw new Error("Missing required property 'watchlistAlias'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["created"] = args ? args.created : undefined; + resourceInputs["createdBy"] = args ? args.createdBy : undefined; + resourceInputs["entityMapping"] = args ? args.entityMapping : undefined; + resourceInputs["isDeleted"] = args ? args.isDeleted : undefined; + resourceInputs["itemsKeyValue"] = args ? args.itemsKeyValue : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["updated"] = args ? args.updated : undefined; + resourceInputs["updatedBy"] = args ? args.updatedBy : undefined; + resourceInputs["watchlistAlias"] = args ? args.watchlistAlias : undefined; + resourceInputs["watchlistItemId"] = args ? args.watchlistItemId : undefined; + resourceInputs["watchlistItemType"] = args ? args.watchlistItemType : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["created"] = undefined /*out*/; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["entityMapping"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["isDeleted"] = undefined /*out*/; + resourceInputs["itemsKeyValue"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["updated"] = undefined /*out*/; + resourceInputs["updatedBy"] = undefined /*out*/; + resourceInputs["watchlistItemId"] = undefined /*out*/; + resourceInputs["watchlistItemType"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WatchlistItem" }, { type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(WatchlistItem.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a WatchlistItem resource. + */ +export interface WatchlistItemArgs { + /** + * The time the watchlist item was created + */ + created?: pulumi.Input; + /** + * Describes a user that created the watchlist item + */ + createdBy?: pulumi.Input; + /** + * key-value pairs for a watchlist item entity mapping + */ + entityMapping?: any; + /** + * A flag that indicates if the watchlist item is deleted or not + */ + isDeleted?: pulumi.Input; + /** + * key-value pairs for a watchlist item + */ + itemsKeyValue: any; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The tenantId to which the watchlist item belongs to + */ + tenantId?: pulumi.Input; + /** + * The last time the watchlist item was updated + */ + updated?: pulumi.Input; + /** + * Describes a user that updated the watchlist item + */ + updatedBy?: pulumi.Input; + /** + * Watchlist Alias + */ + watchlistAlias: pulumi.Input; + /** + * The id (a Guid) of the watchlist item + */ + watchlistItemId?: pulumi.Input; + /** + * The type of the watchlist item + */ + watchlistItemType?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerAssignment.ts b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerAssignment.ts new file mode 100644 index 000000000000..63e3b90559fa --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerAssignment.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The workspace manager assignment + */ +export class WorkspaceManagerAssignment extends pulumi.CustomResource { + /** + * Get an existing WorkspaceManagerAssignment 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkspaceManagerAssignment { + return new WorkspaceManagerAssignment(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment'; + + /** + * Returns true if the given object is an instance of WorkspaceManagerAssignment. 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 WorkspaceManagerAssignment { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WorkspaceManagerAssignment.__pulumiType; + } + + /** + * Resource Etag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * List of resources included in this workspace manager assignment + */ + public readonly items!: pulumi.Output; + /** + * The time the last job associated to this assignment ended at + */ + public /*out*/ readonly lastJobEndTime!: pulumi.Output; + /** + * State of the last job associated to this assignment + */ + public /*out*/ readonly lastJobProvisioningState!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The resource name of the workspace manager group targeted by the workspace manager assignment + */ + public readonly targetResourceName!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a WorkspaceManagerAssignment 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: WorkspaceManagerAssignmentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.items === undefined) && !opts.urn) { + throw new Error("Missing required property 'items'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.targetResourceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetResourceName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["items"] = args ? args.items : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["targetResourceName"] = args ? args.targetResourceName : undefined; + resourceInputs["workspaceManagerAssignmentName"] = args ? args.workspaceManagerAssignmentName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["lastJobEndTime"] = undefined /*out*/; + resourceInputs["lastJobProvisioningState"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["items"] = undefined /*out*/; + resourceInputs["lastJobEndTime"] = undefined /*out*/; + resourceInputs["lastJobProvisioningState"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["targetResourceName"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(WorkspaceManagerAssignment.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a WorkspaceManagerAssignment resource. + */ +export interface WorkspaceManagerAssignmentArgs { + /** + * List of resources included in this workspace manager assignment + */ + items: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The resource name of the workspace manager group targeted by the workspace manager assignment + */ + targetResourceName: pulumi.Input; + /** + * The name of the workspace manager assignment + */ + workspaceManagerAssignmentName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerConfiguration.ts b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerConfiguration.ts new file mode 100644 index 000000000000..6a428dff1c25 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerConfiguration.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The workspace manager configuration + */ +export class WorkspaceManagerConfiguration extends pulumi.CustomResource { + /** + * Get an existing WorkspaceManagerConfiguration 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkspaceManagerConfiguration { + return new WorkspaceManagerConfiguration(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration'; + + /** + * Returns true if the given object is an instance of WorkspaceManagerConfiguration. 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 WorkspaceManagerConfiguration { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WorkspaceManagerConfiguration.__pulumiType; + } + + /** + * Resource Etag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The current mode of the workspace manager configuration + */ + public readonly mode!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a WorkspaceManagerConfiguration 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: WorkspaceManagerConfigurationArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.mode === undefined) && !opts.urn) { + throw new Error("Missing required property 'mode'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["mode"] = args ? args.mode : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceManagerConfigurationName"] = args ? args.workspaceManagerConfigurationName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["mode"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(WorkspaceManagerConfiguration.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a WorkspaceManagerConfiguration resource. + */ +export interface WorkspaceManagerConfigurationArgs { + /** + * The current mode of the workspace manager configuration + */ + mode: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace manager configuration + */ + workspaceManagerConfigurationName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerGroup.ts b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerGroup.ts new file mode 100644 index 000000000000..74a6c91fe4cc --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerGroup.ts @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The workspace manager group + */ +export class WorkspaceManagerGroup extends pulumi.CustomResource { + /** + * Get an existing WorkspaceManagerGroup 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkspaceManagerGroup { + return new WorkspaceManagerGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup'; + + /** + * Returns true if the given object is an instance of WorkspaceManagerGroup. 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 WorkspaceManagerGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WorkspaceManagerGroup.__pulumiType; + } + + /** + * The description of the workspace manager group + */ + public readonly description!: pulumi.Output; + /** + * The display name of the workspace manager group + */ + public readonly displayName!: pulumi.Output; + /** + * Resource Etag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The names of the workspace manager members participating in this group. + */ + public readonly memberResourceNames!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a WorkspaceManagerGroup 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: WorkspaceManagerGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.memberResourceNames === undefined) && !opts.urn) { + throw new Error("Missing required property 'memberResourceNames'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["memberResourceNames"] = args ? args.memberResourceNames : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["workspaceManagerGroupName"] = args ? args.workspaceManagerGroupName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["memberResourceNames"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(WorkspaceManagerGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a WorkspaceManagerGroup resource. + */ +export interface WorkspaceManagerGroupArgs { + /** + * The description of the workspace manager group + */ + description?: pulumi.Input; + /** + * The display name of the workspace manager group + */ + displayName: pulumi.Input; + /** + * The names of the workspace manager members participating in this group. + */ + memberResourceNames: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the workspace manager group + */ + workspaceManagerGroupName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerMember.ts b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerMember.ts new file mode 100644 index 000000000000..acb927a57f71 --- /dev/null +++ b/sdk/nodejs/securityinsights/v20230901preview/workspaceManagerMember.ts @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The workspace manager member + */ +export class WorkspaceManagerMember extends pulumi.CustomResource { + /** + * Get an existing WorkspaceManagerMember 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkspaceManagerMember { + return new WorkspaceManagerMember(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:securityinsights/v20230901preview:WorkspaceManagerMember'; + + /** + * Returns true if the given object is an instance of WorkspaceManagerMember. 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 WorkspaceManagerMember { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WorkspaceManagerMember.__pulumiType; + } + + /** + * Resource Etag. + */ + public /*out*/ readonly etag!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + */ + public readonly targetWorkspaceResourceId!: pulumi.Output; + /** + * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + */ + public readonly targetWorkspaceTenantId!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a WorkspaceManagerMember 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: WorkspaceManagerMemberArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.targetWorkspaceResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetWorkspaceResourceId'"); + } + if ((!args || args.targetWorkspaceTenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetWorkspaceTenantId'"); + } + if ((!args || args.workspaceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceName'"); + } + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["targetWorkspaceResourceId"] = args ? args.targetWorkspaceResourceId : undefined; + resourceInputs["targetWorkspaceTenantId"] = args ? args.targetWorkspaceTenantId : undefined; + resourceInputs["workspaceManagerMemberName"] = args ? args.workspaceManagerMemberName : undefined; + resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["etag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["targetWorkspaceResourceId"] = undefined /*out*/; + resourceInputs["targetWorkspaceTenantId"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(WorkspaceManagerMember.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a WorkspaceManagerMember resource. + */ +export interface WorkspaceManagerMemberArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + */ + targetWorkspaceResourceId: pulumi.Input; + /** + * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + */ + targetWorkspaceTenantId: pulumi.Input; + /** + * The name of the workspace manager member + */ + workspaceManagerMemberName?: pulumi.Input; + /** + * The name of the workspace. + */ + workspaceName: pulumi.Input; +} diff --git a/sdk/nodejs/securityinsights/watchlist.ts b/sdk/nodejs/securityinsights/watchlist.ts index cc27992d8136..c38e89613f97 100644 --- a/sdk/nodejs/securityinsights/watchlist.ts +++ b/sdk/nodejs/securityinsights/watchlist.ts @@ -219,7 +219,7 @@ export class Watchlist extends pulumi.CustomResource { resourceInputs["watchlistType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:Watchlist" }, { type: "azure-native:securityinsights/v20210301preview:Watchlist" }, { type: "azure-native:securityinsights/v20210401:Watchlist" }, { type: "azure-native:securityinsights/v20210901preview:Watchlist" }, { type: "azure-native:securityinsights/v20211001:Watchlist" }, { type: "azure-native:securityinsights/v20211001preview:Watchlist" }, { type: "azure-native:securityinsights/v20220101preview:Watchlist" }, { type: "azure-native:securityinsights/v20220401preview:Watchlist" }, { type: "azure-native:securityinsights/v20220501preview:Watchlist" }, { type: "azure-native:securityinsights/v20220601preview:Watchlist" }, { type: "azure-native:securityinsights/v20220701preview:Watchlist" }, { type: "azure-native:securityinsights/v20220801:Watchlist" }, { type: "azure-native:securityinsights/v20220801preview:Watchlist" }, { type: "azure-native:securityinsights/v20220901preview:Watchlist" }, { type: "azure-native:securityinsights/v20221001preview:Watchlist" }, { type: "azure-native:securityinsights/v20221101:Watchlist" }, { type: "azure-native:securityinsights/v20221101preview:Watchlist" }, { type: "azure-native:securityinsights/v20221201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230201:Watchlist" }, { type: "azure-native:securityinsights/v20230201preview:Watchlist" }, { type: "azure-native:securityinsights/v20230301preview:Watchlist" }, { type: "azure-native:securityinsights/v20230401preview:Watchlist" }, { type: "azure-native:securityinsights/v20230501preview:Watchlist" }, { type: "azure-native:securityinsights/v20230601preview:Watchlist" }, { type: "azure-native:securityinsights/v20230701preview:Watchlist" }, { type: "azure-native:securityinsights/v20230801preview:Watchlist" }, { type: "azure-native:securityinsights/v20230901preview:Watchlist" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Watchlist.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/watchlistItem.ts b/sdk/nodejs/securityinsights/watchlistItem.ts index 3d3f4479a84b..54bbc413a032 100644 --- a/sdk/nodejs/securityinsights/watchlistItem.ts +++ b/sdk/nodejs/securityinsights/watchlistItem.ts @@ -152,7 +152,7 @@ export class WatchlistItem extends pulumi.CustomResource { resourceInputs["watchlistItemType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20190101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20210401:WatchlistItem" }, { type: "azure-native:securityinsights/v20210901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001:WatchlistItem" }, { type: "azure-native:securityinsights/v20211001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801:WatchlistItem" }, { type: "azure-native:securityinsights/v20220801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20220901preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221001preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101:WatchlistItem" }, { type: "azure-native:securityinsights/v20221101preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20221201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201:WatchlistItem" }, { type: "azure-native:securityinsights/v20230201preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230301preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230401preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230501preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230601preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230701preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230801preview:WatchlistItem" }, { type: "azure-native:securityinsights/v20230901preview:WatchlistItem" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WatchlistItem.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/workspaceManagerAssignment.ts b/sdk/nodejs/securityinsights/workspaceManagerAssignment.ts index 8a75c11d80cc..1fccc751672d 100644 --- a/sdk/nodejs/securityinsights/workspaceManagerAssignment.ts +++ b/sdk/nodejs/securityinsights/workspaceManagerAssignment.ts @@ -116,7 +116,7 @@ export class WorkspaceManagerAssignment extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerAssignment.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/workspaceManagerConfiguration.ts b/sdk/nodejs/securityinsights/workspaceManagerConfiguration.ts index 0356e8ca166c..7e8f6058fe2b 100644 --- a/sdk/nodejs/securityinsights/workspaceManagerConfiguration.ts +++ b/sdk/nodejs/securityinsights/workspaceManagerConfiguration.ts @@ -95,7 +95,7 @@ export class WorkspaceManagerConfiguration extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerConfiguration.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/workspaceManagerGroup.ts b/sdk/nodejs/securityinsights/workspaceManagerGroup.ts index 02d24c217ca1..694dcf9b81fe 100644 --- a/sdk/nodejs/securityinsights/workspaceManagerGroup.ts +++ b/sdk/nodejs/securityinsights/workspaceManagerGroup.ts @@ -110,7 +110,7 @@ export class WorkspaceManagerGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/securityinsights/workspaceManagerMember.ts b/sdk/nodejs/securityinsights/workspaceManagerMember.ts index 2ba687b061d1..44f9a7d927b4 100644 --- a/sdk/nodejs/securityinsights/workspaceManagerMember.ts +++ b/sdk/nodejs/securityinsights/workspaceManagerMember.ts @@ -53,7 +53,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - public readonly targetWorkspaceId!: pulumi.Output; + public readonly targetWorkspaceResourceId!: pulumi.Output; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ @@ -77,8 +77,8 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } - if ((!args || args.targetWorkspaceId === undefined) && !opts.urn) { - throw new Error("Missing required property 'targetWorkspaceId'"); + if ((!args || args.targetWorkspaceResourceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetWorkspaceResourceId'"); } if ((!args || args.targetWorkspaceTenantId === undefined) && !opts.urn) { throw new Error("Missing required property 'targetWorkspaceTenantId'"); @@ -87,7 +87,7 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { throw new Error("Missing required property 'workspaceName'"); } resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["targetWorkspaceId"] = args ? args.targetWorkspaceId : undefined; + resourceInputs["targetWorkspaceResourceId"] = args ? args.targetWorkspaceResourceId : undefined; resourceInputs["targetWorkspaceTenantId"] = args ? args.targetWorkspaceTenantId : undefined; resourceInputs["workspaceManagerMemberName"] = args ? args.workspaceManagerMemberName : undefined; resourceInputs["workspaceName"] = args ? args.workspaceName : undefined; @@ -99,12 +99,12 @@ export class WorkspaceManagerMember extends pulumi.CustomResource { resourceInputs["etag"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["targetWorkspaceId"] = undefined /*out*/; + resourceInputs["targetWorkspaceResourceId"] = undefined /*out*/; resourceInputs["targetWorkspaceTenantId"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:securityinsights/v20230401preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230501preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230601preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230701preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember" }, { type: "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(WorkspaceManagerMember.__pulumiType, name, resourceInputs, opts); } @@ -121,7 +121,7 @@ export interface WorkspaceManagerMemberArgs { /** * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager */ - targetWorkspaceId: pulumi.Input; + targetWorkspaceResourceId: pulumi.Input; /** * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager */ diff --git a/sdk/nodejs/storageactions/getStorageTask.ts b/sdk/nodejs/storageactions/getStorageTask.ts new file mode 100644 index 000000000000..419dad64dc3a --- /dev/null +++ b/sdk/nodejs/storageactions/getStorageTask.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Get the storage task properties + * Azure REST API version: 2023-01-01. + */ +export function getStorageTask(args: GetStorageTaskArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:storageactions:getStorageTask", { + "resourceGroupName": args.resourceGroupName, + "storageTaskName": args.storageTaskName, + }, opts); +} + +export interface GetStorageTaskArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + */ + storageTaskName: string; +} + +/** + * Represents Storage Task. + */ +export interface GetStorageTaskResult { + /** + * The storage task action that is executed + */ + readonly action: outputs.storageactions.StorageTaskActionResponse; + /** + * The creation date and time of the storage task in UTC. + */ + readonly creationTimeInUtc: string; + /** + * Text that describes the purpose of the storage task + */ + readonly description: string; + /** + * Storage Task is enabled when set to true and disabled when set to false + */ + readonly enabled: boolean; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The managed service identity of the resource. + */ + readonly identity?: outputs.storageactions.ManagedServiceIdentityResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Represents the provisioning state of the storage task. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.storageactions.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Storage task version. + */ + readonly taskVersion: number; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get the storage task properties + * Azure REST API version: 2023-01-01. + */ +export function getStorageTaskOutput(args: GetStorageTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getStorageTask(a, opts)) +} + +export interface GetStorageTaskOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + */ + storageTaskName: pulumi.Input; +} diff --git a/sdk/nodejs/storageactions/index.ts b/sdk/nodejs/storageactions/index.ts new file mode 100644 index 000000000000..19b12909f5f6 --- /dev/null +++ b/sdk/nodejs/storageactions/index.ts @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +// Export members: +export { GetStorageTaskArgs, GetStorageTaskResult, GetStorageTaskOutputArgs } from "./getStorageTask"; +export const getStorageTask: typeof import("./getStorageTask").getStorageTask = null as any; +export const getStorageTaskOutput: typeof import("./getStorageTask").getStorageTaskOutput = null as any; +utilities.lazyLoad(exports, ["getStorageTask","getStorageTaskOutput"], () => require("./getStorageTask")); + +export { StorageTaskArgs } from "./storageTask"; +export type StorageTask = import("./storageTask").StorageTask; +export const StorageTask: typeof import("./storageTask").StorageTask = null as any; +utilities.lazyLoad(exports, ["StorageTask"], () => require("./storageTask")); + + +// Export enums: +export * from "../types/enums/storageactions"; + +// Export sub-modules: +import * as v20230101 from "./v20230101"; + +export { + v20230101, +}; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:storageactions:StorageTask": + return new StorageTask(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "storageactions", _module) diff --git a/sdk/nodejs/storageactions/storageTask.ts b/sdk/nodejs/storageactions/storageTask.ts new file mode 100644 index 000000000000..d2edfc4c6926 --- /dev/null +++ b/sdk/nodejs/storageactions/storageTask.ts @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Represents Storage Task. + * Azure REST API version: 2023-01-01. + */ +export class StorageTask extends pulumi.CustomResource { + /** + * Get an existing StorageTask 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): StorageTask { + return new StorageTask(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:storageactions:StorageTask'; + + /** + * Returns true if the given object is an instance of StorageTask. 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 StorageTask { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === StorageTask.__pulumiType; + } + + /** + * The storage task action that is executed + */ + public readonly action!: pulumi.Output; + /** + * The creation date and time of the storage task in UTC. + */ + public /*out*/ readonly creationTimeInUtc!: pulumi.Output; + /** + * Text that describes the purpose of the storage task + */ + public readonly description!: pulumi.Output; + /** + * Storage Task is enabled when set to true and disabled when set to false + */ + public readonly enabled!: pulumi.Output; + /** + * The managed service identity of the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Represents the provisioning state of the storage task. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Storage task version. + */ + public /*out*/ readonly taskVersion!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a StorageTask 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: StorageTaskArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.action === undefined) && !opts.urn) { + throw new Error("Missing required property 'action'"); + } + if ((!args || args.description === undefined) && !opts.urn) { + throw new Error("Missing required property 'description'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["action"] = args ? args.action : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["storageTaskName"] = args ? args.storageTaskName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["creationTimeInUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["taskVersion"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["action"] = undefined /*out*/; + resourceInputs["creationTimeInUtc"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["taskVersion"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:storageactions/v20230101:StorageTask" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(StorageTask.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a StorageTask resource. + */ +export interface StorageTaskArgs { + /** + * The storage task action that is executed + */ + action: pulumi.Input; + /** + * Text that describes the purpose of the storage task + */ + description: pulumi.Input; + /** + * Storage Task is enabled when set to true and disabled when set to false + */ + enabled: pulumi.Input; + /** + * The managed service identity of the resource. + */ + identity?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + */ + storageTaskName?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/storageactions/v20230101/getStorageTask.ts b/sdk/nodejs/storageactions/v20230101/getStorageTask.ts new file mode 100644 index 000000000000..33b6c055ff5c --- /dev/null +++ b/sdk/nodejs/storageactions/v20230101/getStorageTask.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Get the storage task properties + */ +export function getStorageTask(args: GetStorageTaskArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:storageactions/v20230101:getStorageTask", { + "resourceGroupName": args.resourceGroupName, + "storageTaskName": args.storageTaskName, + }, opts); +} + +export interface GetStorageTaskArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + */ + storageTaskName: string; +} + +/** + * Represents Storage Task. + */ +export interface GetStorageTaskResult { + /** + * The storage task action that is executed + */ + readonly action: outputs.storageactions.v20230101.StorageTaskActionResponse; + /** + * The creation date and time of the storage task in UTC. + */ + readonly creationTimeInUtc: string; + /** + * Text that describes the purpose of the storage task + */ + readonly description: string; + /** + * Storage Task is enabled when set to true and disabled when set to false + */ + readonly enabled: boolean; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The managed service identity of the resource. + */ + readonly identity?: outputs.storageactions.v20230101.ManagedServiceIdentityResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Represents the provisioning state of the storage task. + */ + readonly provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.storageactions.v20230101.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * Storage task version. + */ + readonly taskVersion: number; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Get the storage task properties + */ +export function getStorageTaskOutput(args: GetStorageTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getStorageTask(a, opts)) +} + +export interface GetStorageTaskOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + */ + storageTaskName: pulumi.Input; +} diff --git a/sdk/nodejs/storageactions/v20230101/index.ts b/sdk/nodejs/storageactions/v20230101/index.ts new file mode 100644 index 000000000000..36aad8599778 --- /dev/null +++ b/sdk/nodejs/storageactions/v20230101/index.ts @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { GetStorageTaskArgs, GetStorageTaskResult, GetStorageTaskOutputArgs } from "./getStorageTask"; +export const getStorageTask: typeof import("./getStorageTask").getStorageTask = null as any; +export const getStorageTaskOutput: typeof import("./getStorageTask").getStorageTaskOutput = null as any; +utilities.lazyLoad(exports, ["getStorageTask","getStorageTaskOutput"], () => require("./getStorageTask")); + +export { StorageTaskArgs } from "./storageTask"; +export type StorageTask = import("./storageTask").StorageTask; +export const StorageTask: typeof import("./storageTask").StorageTask = null as any; +utilities.lazyLoad(exports, ["StorageTask"], () => require("./storageTask")); + + +// Export enums: +export * from "../../types/enums/storageactions/v20230101"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:storageactions/v20230101:StorageTask": + return new StorageTask(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "storageactions/v20230101", _module) diff --git a/sdk/nodejs/storageactions/v20230101/storageTask.ts b/sdk/nodejs/storageactions/v20230101/storageTask.ts new file mode 100644 index 000000000000..2c92c36e9d97 --- /dev/null +++ b/sdk/nodejs/storageactions/v20230101/storageTask.ts @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** 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 enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Represents Storage Task. + */ +export class StorageTask extends pulumi.CustomResource { + /** + * Get an existing StorageTask 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 opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): StorageTask { + return new StorageTask(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:storageactions/v20230101:StorageTask'; + + /** + * Returns true if the given object is an instance of StorageTask. 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 StorageTask { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === StorageTask.__pulumiType; + } + + /** + * The storage task action that is executed + */ + public readonly action!: pulumi.Output; + /** + * The creation date and time of the storage task in UTC. + */ + public /*out*/ readonly creationTimeInUtc!: pulumi.Output; + /** + * Text that describes the purpose of the storage task + */ + public readonly description!: pulumi.Output; + /** + * Storage Task is enabled when set to true and disabled when set to false + */ + public readonly enabled!: pulumi.Output; + /** + * The managed service identity of the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Represents the provisioning state of the storage task. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * Storage task version. + */ + public /*out*/ readonly taskVersion!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a StorageTask 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: StorageTaskArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.action === undefined) && !opts.urn) { + throw new Error("Missing required property 'action'"); + } + if ((!args || args.description === undefined) && !opts.urn) { + throw new Error("Missing required property 'description'"); + } + if ((!args || args.enabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'enabled'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["action"] = args ? args.action : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["enabled"] = args ? args.enabled : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["storageTaskName"] = args ? args.storageTaskName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["creationTimeInUtc"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["taskVersion"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["action"] = undefined /*out*/; + resourceInputs["creationTimeInUtc"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["enabled"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["taskVersion"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:storageactions:StorageTask" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(StorageTask.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a StorageTask resource. + */ +export interface StorageTaskArgs { + /** + * The storage task action that is executed + */ + action: pulumi.Input; + /** + * Text that describes the purpose of the storage task + */ + description: pulumi.Input; + /** + * Storage Task is enabled when set to true and disabled when set to false + */ + enabled: pulumi.Input; + /** + * The managed service identity of the resource. + */ + identity?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + */ + storageTaskName?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/storagetasks/getStorageTask.ts b/sdk/nodejs/storagetasks/getStorageTask.ts deleted file mode 100644 index db7185c70ea9..000000000000 --- a/sdk/nodejs/storagetasks/getStorageTask.ts +++ /dev/null @@ -1,108 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Get the storage task properties - * Azure REST API version: 2023-01-01. - */ -export function getStorageTask(args: GetStorageTaskArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:storagetasks:getStorageTask", { - "resourceGroupName": args.resourceGroupName, - "storageTaskName": args.storageTaskName, - }, opts); -} - -export interface GetStorageTaskArgs { - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - */ - storageTaskName: string; -} - -/** - * Represents Storage Task. - */ -export interface GetStorageTaskResult { - /** - * The storage task action that is executed - */ - readonly action: outputs.storagetasks.StorageTaskActionResponse; - /** - * The creation date and time of the storage task in UTC. - */ - readonly creationTimeInUtc: string; - /** - * Text that describes the purpose of the storage task - */ - readonly description: string; - /** - * Storage Task is enabled when set to true and disabled when set to false - */ - readonly enabled: boolean; - /** - * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - */ - readonly id: string; - /** - * The managed service identity of the resource. - */ - readonly identity?: outputs.storagetasks.ManagedServiceIdentityResponse; - /** - * The geo-location where the resource lives - */ - readonly location: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Represents the provisioning state of the storage task. - */ - readonly provisioningState: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.storagetasks.SystemDataResponse; - /** - * Resource tags. - */ - readonly tags?: {[key: string]: string}; - /** - * Storage task version. - */ - readonly taskVersion: number; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get the storage task properties - * Azure REST API version: 2023-01-01. - */ -export function getStorageTaskOutput(args: GetStorageTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStorageTask(a, opts)) -} - -export interface GetStorageTaskOutputArgs { - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - */ - storageTaskName: pulumi.Input; -} diff --git a/sdk/nodejs/storagetasks/index.ts b/sdk/nodejs/storagetasks/index.ts deleted file mode 100644 index 444a12371295..000000000000 --- a/sdk/nodejs/storagetasks/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../utilities"; - -// Export members: -export { GetStorageTaskArgs, GetStorageTaskResult, GetStorageTaskOutputArgs } from "./getStorageTask"; -export const getStorageTask: typeof import("./getStorageTask").getStorageTask = null as any; -export const getStorageTaskOutput: typeof import("./getStorageTask").getStorageTaskOutput = null as any; -utilities.lazyLoad(exports, ["getStorageTask","getStorageTaskOutput"], () => require("./getStorageTask")); - -export { StorageTaskArgs } from "./storageTask"; -export type StorageTask = import("./storageTask").StorageTask; -export const StorageTask: typeof import("./storageTask").StorageTask = null as any; -utilities.lazyLoad(exports, ["StorageTask"], () => require("./storageTask")); - - -// Export enums: -export * from "../types/enums/storagetasks"; - -// Export sub-modules: -import * as v20230101 from "./v20230101"; - -export { - v20230101, -}; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:storagetasks:StorageTask": - return new StorageTask(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "storagetasks", _module) diff --git a/sdk/nodejs/storagetasks/storageTask.ts b/sdk/nodejs/storagetasks/storageTask.ts deleted file mode 100644 index f90a775fac7d..000000000000 --- a/sdk/nodejs/storagetasks/storageTask.ts +++ /dev/null @@ -1,184 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../types/enums"; -import * as utilities from "../utilities"; - -/** - * Represents Storage Task. - * Azure REST API version: 2023-01-01. - */ -export class StorageTask extends pulumi.CustomResource { - /** - * Get an existing StorageTask 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): StorageTask { - return new StorageTask(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:storagetasks:StorageTask'; - - /** - * Returns true if the given object is an instance of StorageTask. 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 StorageTask { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === StorageTask.__pulumiType; - } - - /** - * The storage task action that is executed - */ - public readonly action!: pulumi.Output; - /** - * The creation date and time of the storage task in UTC. - */ - public /*out*/ readonly creationTimeInUtc!: pulumi.Output; - /** - * Text that describes the purpose of the storage task - */ - public readonly description!: pulumi.Output; - /** - * Storage Task is enabled when set to true and disabled when set to false - */ - public readonly enabled!: pulumi.Output; - /** - * The managed service identity of the resource. - */ - public readonly identity!: pulumi.Output; - /** - * The geo-location where the resource lives - */ - public readonly location!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Represents the provisioning state of the storage task. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * Resource tags. - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * Storage task version. - */ - public /*out*/ readonly taskVersion!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a StorageTask 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: StorageTaskArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.action === undefined) && !opts.urn) { - throw new Error("Missing required property 'action'"); - } - if ((!args || args.description === undefined) && !opts.urn) { - throw new Error("Missing required property 'description'"); - } - if ((!args || args.enabled === undefined) && !opts.urn) { - throw new Error("Missing required property 'enabled'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - resourceInputs["action"] = args ? args.action : undefined; - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["enabled"] = args ? args.enabled : undefined; - resourceInputs["identity"] = args ? args.identity : undefined; - resourceInputs["location"] = args ? args.location : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["storageTaskName"] = args ? args.storageTaskName : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["creationTimeInUtc"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["taskVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["action"] = undefined /*out*/; - resourceInputs["creationTimeInUtc"] = undefined /*out*/; - resourceInputs["description"] = undefined /*out*/; - resourceInputs["enabled"] = undefined /*out*/; - resourceInputs["identity"] = undefined /*out*/; - resourceInputs["location"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["taskVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:storagetasks/v20230101:StorageTask" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(StorageTask.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a StorageTask resource. - */ -export interface StorageTaskArgs { - /** - * The storage task action that is executed - */ - action: pulumi.Input; - /** - * Text that describes the purpose of the storage task - */ - description: pulumi.Input; - /** - * Storage Task is enabled when set to true and disabled when set to false - */ - enabled: pulumi.Input; - /** - * The managed service identity of the resource. - */ - identity?: pulumi.Input; - /** - * The geo-location where the resource lives - */ - location?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - */ - storageTaskName?: pulumi.Input; - /** - * Resource tags. - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; -} diff --git a/sdk/nodejs/storagetasks/v20230101/getStorageTask.ts b/sdk/nodejs/storagetasks/v20230101/getStorageTask.ts deleted file mode 100644 index 82b02563f556..000000000000 --- a/sdk/nodejs/storagetasks/v20230101/getStorageTask.ts +++ /dev/null @@ -1,106 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Get the storage task properties - */ -export function getStorageTask(args: GetStorageTaskArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("azure-native:storagetasks/v20230101:getStorageTask", { - "resourceGroupName": args.resourceGroupName, - "storageTaskName": args.storageTaskName, - }, opts); -} - -export interface GetStorageTaskArgs { - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: string; - /** - * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - */ - storageTaskName: string; -} - -/** - * Represents Storage Task. - */ -export interface GetStorageTaskResult { - /** - * The storage task action that is executed - */ - readonly action: outputs.storagetasks.v20230101.StorageTaskActionResponse; - /** - * The creation date and time of the storage task in UTC. - */ - readonly creationTimeInUtc: string; - /** - * Text that describes the purpose of the storage task - */ - readonly description: string; - /** - * Storage Task is enabled when set to true and disabled when set to false - */ - readonly enabled: boolean; - /** - * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - */ - readonly id: string; - /** - * The managed service identity of the resource. - */ - readonly identity?: outputs.storagetasks.v20230101.ManagedServiceIdentityResponse; - /** - * The geo-location where the resource lives - */ - readonly location: string; - /** - * The name of the resource - */ - readonly name: string; - /** - * Represents the provisioning state of the storage task. - */ - readonly provisioningState: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - readonly systemData: outputs.storagetasks.v20230101.SystemDataResponse; - /** - * Resource tags. - */ - readonly tags?: {[key: string]: string}; - /** - * Storage task version. - */ - readonly taskVersion: number; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - readonly type: string; -} -/** - * Get the storage task properties - */ -export function getStorageTaskOutput(args: GetStorageTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStorageTask(a, opts)) -} - -export interface GetStorageTaskOutputArgs { - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - */ - storageTaskName: pulumi.Input; -} diff --git a/sdk/nodejs/storagetasks/v20230101/index.ts b/sdk/nodejs/storagetasks/v20230101/index.ts deleted file mode 100644 index 2a87d6f89083..000000000000 --- a/sdk/nodejs/storagetasks/v20230101/index.ts +++ /dev/null @@ -1,33 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -import * as pulumi from "@pulumi/pulumi"; -import * as utilities from "../../utilities"; - -// Export members: -export { GetStorageTaskArgs, GetStorageTaskResult, GetStorageTaskOutputArgs } from "./getStorageTask"; -export const getStorageTask: typeof import("./getStorageTask").getStorageTask = null as any; -export const getStorageTaskOutput: typeof import("./getStorageTask").getStorageTaskOutput = null as any; -utilities.lazyLoad(exports, ["getStorageTask","getStorageTaskOutput"], () => require("./getStorageTask")); - -export { StorageTaskArgs } from "./storageTask"; -export type StorageTask = import("./storageTask").StorageTask; -export const StorageTask: typeof import("./storageTask").StorageTask = null as any; -utilities.lazyLoad(exports, ["StorageTask"], () => require("./storageTask")); - - -// Export enums: -export * from "../../types/enums/storagetasks/v20230101"; - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "azure-native:storagetasks/v20230101:StorageTask": - return new StorageTask(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("azure-native", "storagetasks/v20230101", _module) diff --git a/sdk/nodejs/storagetasks/v20230101/storageTask.ts b/sdk/nodejs/storagetasks/v20230101/storageTask.ts deleted file mode 100644 index e5bb3b9b8ec8..000000000000 --- a/sdk/nodejs/storagetasks/v20230101/storageTask.ts +++ /dev/null @@ -1,183 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** 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 enums from "../../types/enums"; -import * as utilities from "../../utilities"; - -/** - * Represents Storage Task. - */ -export class StorageTask extends pulumi.CustomResource { - /** - * Get an existing StorageTask 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 opts Optional settings to control the behavior of the CustomResource. - */ - public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): StorageTask { - return new StorageTask(name, undefined as any, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'azure-native:storagetasks/v20230101:StorageTask'; - - /** - * Returns true if the given object is an instance of StorageTask. 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 StorageTask { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === StorageTask.__pulumiType; - } - - /** - * The storage task action that is executed - */ - public readonly action!: pulumi.Output; - /** - * The creation date and time of the storage task in UTC. - */ - public /*out*/ readonly creationTimeInUtc!: pulumi.Output; - /** - * Text that describes the purpose of the storage task - */ - public readonly description!: pulumi.Output; - /** - * Storage Task is enabled when set to true and disabled when set to false - */ - public readonly enabled!: pulumi.Output; - /** - * The managed service identity of the resource. - */ - public readonly identity!: pulumi.Output; - /** - * The geo-location where the resource lives - */ - public readonly location!: pulumi.Output; - /** - * The name of the resource - */ - public /*out*/ readonly name!: pulumi.Output; - /** - * Represents the provisioning state of the storage task. - */ - public /*out*/ readonly provisioningState!: pulumi.Output; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - public /*out*/ readonly systemData!: pulumi.Output; - /** - * Resource tags. - */ - public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; - /** - * Storage task version. - */ - public /*out*/ readonly taskVersion!: pulumi.Output; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - public /*out*/ readonly type!: pulumi.Output; - - /** - * Create a StorageTask 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: StorageTaskArgs, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (!opts.id) { - if ((!args || args.action === undefined) && !opts.urn) { - throw new Error("Missing required property 'action'"); - } - if ((!args || args.description === undefined) && !opts.urn) { - throw new Error("Missing required property 'description'"); - } - if ((!args || args.enabled === undefined) && !opts.urn) { - throw new Error("Missing required property 'enabled'"); - } - if ((!args || args.resourceGroupName === undefined) && !opts.urn) { - throw new Error("Missing required property 'resourceGroupName'"); - } - resourceInputs["action"] = args ? args.action : undefined; - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["enabled"] = args ? args.enabled : undefined; - resourceInputs["identity"] = args ? args.identity : undefined; - resourceInputs["location"] = args ? args.location : undefined; - resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; - resourceInputs["storageTaskName"] = args ? args.storageTaskName : undefined; - resourceInputs["tags"] = args ? args.tags : undefined; - resourceInputs["creationTimeInUtc"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["taskVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } else { - resourceInputs["action"] = undefined /*out*/; - resourceInputs["creationTimeInUtc"] = undefined /*out*/; - resourceInputs["description"] = undefined /*out*/; - resourceInputs["enabled"] = undefined /*out*/; - resourceInputs["identity"] = undefined /*out*/; - resourceInputs["location"] = undefined /*out*/; - resourceInputs["name"] = undefined /*out*/; - resourceInputs["provisioningState"] = undefined /*out*/; - resourceInputs["systemData"] = undefined /*out*/; - resourceInputs["tags"] = undefined /*out*/; - resourceInputs["taskVersion"] = undefined /*out*/; - resourceInputs["type"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:storagetasks:StorageTask" }] }; - opts = pulumi.mergeOptions(opts, aliasOpts); - super(StorageTask.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * The set of arguments for constructing a StorageTask resource. - */ -export interface StorageTaskArgs { - /** - * The storage task action that is executed - */ - action: pulumi.Input; - /** - * Text that describes the purpose of the storage task - */ - description: pulumi.Input; - /** - * Storage Task is enabled when set to true and disabled when set to false - */ - enabled: pulumi.Input; - /** - * The managed service identity of the resource. - */ - identity?: pulumi.Input; - /** - * The geo-location where the resource lives - */ - location?: pulumi.Input; - /** - * The name of the resource group. The name is case insensitive. - */ - resourceGroupName: pulumi.Input; - /** - * The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - */ - storageTaskName?: pulumi.Input; - /** - * Resource tags. - */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; -} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 282a8389b96d..c190ce1b73b4 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -2296,6 +2296,7 @@ "cdn/getAFDOriginGroup.ts", "cdn/getCustomDomain.ts", "cdn/getEndpoint.ts", + "cdn/getKeyGroup.ts", "cdn/getOrigin.ts", "cdn/getOriginGroup.ts", "cdn/getPolicy.ts", @@ -2307,6 +2308,7 @@ "cdn/getSecret.ts", "cdn/getSecurityPolicy.ts", "cdn/index.ts", + "cdn/keyGroup.ts", "cdn/origin.ts", "cdn/originGroup.ts", "cdn/policy.ts", @@ -2358,6 +2360,40 @@ "cdn/v20230501/ruleSet.ts", "cdn/v20230501/secret.ts", "cdn/v20230501/securityPolicy.ts", + "cdn/v20230701preview/afdcustomDomain.ts", + "cdn/v20230701preview/afdendpoint.ts", + "cdn/v20230701preview/afdorigin.ts", + "cdn/v20230701preview/afdoriginGroup.ts", + "cdn/v20230701preview/customDomain.ts", + "cdn/v20230701preview/endpoint.ts", + "cdn/v20230701preview/getAFDCustomDomain.ts", + "cdn/v20230701preview/getAFDEndpoint.ts", + "cdn/v20230701preview/getAFDOrigin.ts", + "cdn/v20230701preview/getAFDOriginGroup.ts", + "cdn/v20230701preview/getCustomDomain.ts", + "cdn/v20230701preview/getEndpoint.ts", + "cdn/v20230701preview/getKeyGroup.ts", + "cdn/v20230701preview/getOrigin.ts", + "cdn/v20230701preview/getOriginGroup.ts", + "cdn/v20230701preview/getPolicy.ts", + "cdn/v20230701preview/getProfile.ts", + "cdn/v20230701preview/getProfileSupportedOptimizationTypes.ts", + "cdn/v20230701preview/getRoute.ts", + "cdn/v20230701preview/getRule.ts", + "cdn/v20230701preview/getRuleSet.ts", + "cdn/v20230701preview/getSecret.ts", + "cdn/v20230701preview/getSecurityPolicy.ts", + "cdn/v20230701preview/index.ts", + "cdn/v20230701preview/keyGroup.ts", + "cdn/v20230701preview/origin.ts", + "cdn/v20230701preview/originGroup.ts", + "cdn/v20230701preview/policy.ts", + "cdn/v20230701preview/profile.ts", + "cdn/v20230701preview/route.ts", + "cdn/v20230701preview/rule.ts", + "cdn/v20230701preview/ruleSet.ts", + "cdn/v20230701preview/secret.ts", + "cdn/v20230701preview/securityPolicy.ts", "certificateregistration/appServiceCertificateOrder.ts", "certificateregistration/appServiceCertificateOrderCertificate.ts", "certificateregistration/getAppServiceCertificateOrder.ts", @@ -2691,6 +2727,11 @@ "confidentialledger/v20230126preview/index.ts", "confidentialledger/v20230126preview/ledger.ts", "confidentialledger/v20230126preview/managedCCF.ts", + "confidentialledger/v20230628preview/getLedger.ts", + "confidentialledger/v20230628preview/getManagedCCF.ts", + "confidentialledger/v20230628preview/index.ts", + "confidentialledger/v20230628preview/ledger.ts", + "confidentialledger/v20230628preview/managedCCF.ts", "config/index.ts", "config/vars.ts", "confluent/getOrganization.ts", @@ -2782,6 +2823,27 @@ "connectedvmwarevsphere/v20230301preview/virtualMachineTemplate.ts", "connectedvmwarevsphere/v20230301preview/virtualNetwork.ts", "connectedvmwarevsphere/v20230301preview/vminstanceGuestAgent.ts", + "connectedvmwarevsphere/v20231001/cluster.ts", + "connectedvmwarevsphere/v20231001/datastore.ts", + "connectedvmwarevsphere/v20231001/getCluster.ts", + "connectedvmwarevsphere/v20231001/getDatastore.ts", + "connectedvmwarevsphere/v20231001/getHost.ts", + "connectedvmwarevsphere/v20231001/getInventoryItem.ts", + "connectedvmwarevsphere/v20231001/getResourcePool.ts", + "connectedvmwarevsphere/v20231001/getVCenter.ts", + "connectedvmwarevsphere/v20231001/getVMInstanceGuestAgent.ts", + "connectedvmwarevsphere/v20231001/getVirtualMachineInstance.ts", + "connectedvmwarevsphere/v20231001/getVirtualMachineTemplate.ts", + "connectedvmwarevsphere/v20231001/getVirtualNetwork.ts", + "connectedvmwarevsphere/v20231001/host.ts", + "connectedvmwarevsphere/v20231001/index.ts", + "connectedvmwarevsphere/v20231001/inventoryItem.ts", + "connectedvmwarevsphere/v20231001/resourcePool.ts", + "connectedvmwarevsphere/v20231001/vcenter.ts", + "connectedvmwarevsphere/v20231001/virtualMachineInstance.ts", + "connectedvmwarevsphere/v20231001/virtualMachineTemplate.ts", + "connectedvmwarevsphere/v20231001/virtualNetwork.ts", + "connectedvmwarevsphere/v20231001/vminstanceGuestAgent.ts", "connectedvmwarevsphere/vcenter.ts", "connectedvmwarevsphere/virtualMachine.ts", "connectedvmwarevsphere/virtualMachineInstance.ts", @@ -2815,7 +2877,6 @@ "containerregistry/agentPool.ts", "containerregistry/archife.ts", "containerregistry/archiveVersion.ts", - "containerregistry/buildStep.ts", "containerregistry/cacheRule.ts", "containerregistry/connectedRegistry.ts", "containerregistry/credentialSet.ts", @@ -2823,8 +2884,6 @@ "containerregistry/getAgentPool.ts", "containerregistry/getArchife.ts", "containerregistry/getArchiveVersion.ts", - "containerregistry/getBuildLogLink.ts", - "containerregistry/getBuildStep.ts", "containerregistry/getCacheRule.ts", "containerregistry/getConnectedRegistry.ts", "containerregistry/getCredentialSet.ts", @@ -2833,8 +2892,6 @@ "containerregistry/getPipelineRun.ts", "containerregistry/getPrivateEndpointConnection.ts", "containerregistry/getRegistry.ts", - "containerregistry/getRegistryBuildSourceUploadUrl.ts", - "containerregistry/getRegistryCredentials.ts", "containerregistry/getReplication.ts", "containerregistry/getScopeMap.ts", "containerregistry/getTask.ts", @@ -2845,8 +2902,6 @@ "containerregistry/importPipeline.ts", "containerregistry/index.ts", "containerregistry/listAgentPoolQueueStatus.ts", - "containerregistry/listBuildStepBuildArguments.ts", - "containerregistry/listBuildTaskSourceRepositoryProperties.ts", "containerregistry/listRegistryBuildSourceUploadUrl.ts", "containerregistry/listRegistryCredentials.ts", "containerregistry/listRunLogSasUrl.ts", @@ -2861,23 +2916,10 @@ "containerregistry/task.ts", "containerregistry/taskRun.ts", "containerregistry/token.ts", - "containerregistry/v20160627preview/getRegistry.ts", - "containerregistry/v20160627preview/getRegistryCredentials.ts", - "containerregistry/v20160627preview/index.ts", - "containerregistry/v20160627preview/registry.ts", "containerregistry/v20170301/getRegistry.ts", "containerregistry/v20170301/index.ts", "containerregistry/v20170301/listRegistryCredentials.ts", "containerregistry/v20170301/registry.ts", - "containerregistry/v20180201preview/buildStep.ts", - "containerregistry/v20180201preview/buildTask.ts", - "containerregistry/v20180201preview/getBuildLogLink.ts", - "containerregistry/v20180201preview/getBuildStep.ts", - "containerregistry/v20180201preview/getBuildTask.ts", - "containerregistry/v20180201preview/getRegistryBuildSourceUploadUrl.ts", - "containerregistry/v20180201preview/index.ts", - "containerregistry/v20180201preview/listBuildStepBuildArguments.ts", - "containerregistry/v20180201preview/listBuildTaskSourceRepositoryProperties.ts", "containerregistry/v20180901/getTask.ts", "containerregistry/v20180901/index.ts", "containerregistry/v20180901/listRegistryBuildSourceUploadUrl.ts", @@ -3038,9 +3080,11 @@ "containerservice/agentPool.ts", "containerservice/fleet.ts", "containerservice/fleetMember.ts", + "containerservice/fleetUpdateStrategy.ts", "containerservice/getAgentPool.ts", "containerservice/getFleet.ts", "containerservice/getFleetMember.ts", + "containerservice/getFleetUpdateStrategy.ts", "containerservice/getMaintenanceConfiguration.ts", "containerservice/getManagedCluster.ts", "containerservice/getManagedClusterSnapshot.ts", @@ -3210,6 +3254,30 @@ "containerservice/v20230702preview/privateEndpointConnection.ts", "containerservice/v20230702preview/snapshot.ts", "containerservice/v20230702preview/trustedAccessRoleBinding.ts", + "containerservice/v20230801/agentPool.ts", + "containerservice/v20230801/getAgentPool.ts", + "containerservice/v20230801/getMaintenanceConfiguration.ts", + "containerservice/v20230801/getManagedCluster.ts", + "containerservice/v20230801/getPrivateEndpointConnection.ts", + "containerservice/v20230801/getSnapshot.ts", + "containerservice/v20230801/index.ts", + "containerservice/v20230801/listManagedClusterAdminCredentials.ts", + "containerservice/v20230801/listManagedClusterMonitoringUserCredentials.ts", + "containerservice/v20230801/listManagedClusterUserCredentials.ts", + "containerservice/v20230801/maintenanceConfiguration.ts", + "containerservice/v20230801/managedCluster.ts", + "containerservice/v20230801/privateEndpointConnection.ts", + "containerservice/v20230801/snapshot.ts", + "containerservice/v20230815preview/fleet.ts", + "containerservice/v20230815preview/fleetMember.ts", + "containerservice/v20230815preview/fleetUpdateStrategy.ts", + "containerservice/v20230815preview/getFleet.ts", + "containerservice/v20230815preview/getFleetMember.ts", + "containerservice/v20230815preview/getFleetUpdateStrategy.ts", + "containerservice/v20230815preview/getUpdateRun.ts", + "containerservice/v20230815preview/index.ts", + "containerservice/v20230815preview/listFleetCredentials.ts", + "containerservice/v20230815preview/updateRun.ts", "containerstorage/getPool.ts", "containerstorage/getSnapshot.ts", "containerstorage/getVolume.ts", @@ -3827,6 +3895,17 @@ "dataprotection/v20230501/getResourceGuard.ts", "dataprotection/v20230501/index.ts", "dataprotection/v20230501/resourceGuard.ts", + "dataprotection/v20230601preview/backupInstance.ts", + "dataprotection/v20230601preview/backupPolicy.ts", + "dataprotection/v20230601preview/backupVault.ts", + "dataprotection/v20230601preview/dppResourceGuardProxy.ts", + "dataprotection/v20230601preview/getBackupInstance.ts", + "dataprotection/v20230601preview/getBackupPolicy.ts", + "dataprotection/v20230601preview/getBackupVault.ts", + "dataprotection/v20230601preview/getDppResourceGuardProxy.ts", + "dataprotection/v20230601preview/getResourceGuard.ts", + "dataprotection/v20230601preview/index.ts", + "dataprotection/v20230601preview/resourceGuard.ts", "datareplication/dra.ts", "datareplication/fabric.ts", "datareplication/getDra.ts", @@ -4105,6 +4184,18 @@ "dbformysql/v20220930preview/index.ts", "dbformysql/v20220930preview/privateEndpointConnection.ts", "dbformysql/v20220930preview/server.ts", + "dbformysql/v20230601preview/azureADAdministrator.ts", + "dbformysql/v20230601preview/configuration.ts", + "dbformysql/v20230601preview/database.ts", + "dbformysql/v20230601preview/firewallRule.ts", + "dbformysql/v20230601preview/getAzureADAdministrator.ts", + "dbformysql/v20230601preview/getConfiguration.ts", + "dbformysql/v20230601preview/getDatabase.ts", + "dbformysql/v20230601preview/getFirewallRule.ts", + "dbformysql/v20230601preview/getGetPrivateDnsZoneSuffixExecute.ts", + "dbformysql/v20230601preview/getServer.ts", + "dbformysql/v20230601preview/index.ts", + "dbformysql/v20230601preview/server.ts", "dbformysql/v20230630/getPrivateEndpointConnection.ts", "dbformysql/v20230630/index.ts", "dbformysql/v20230630/privateEndpointConnection.ts", @@ -4342,6 +4433,27 @@ "desktopvirtualization/v20230707preview/scalingPlanPersonalSchedule.ts", "desktopvirtualization/v20230707preview/scalingPlanPooledSchedule.ts", "desktopvirtualization/v20230707preview/workspace.ts", + "desktopvirtualization/v20230905/application.ts", + "desktopvirtualization/v20230905/applicationGroup.ts", + "desktopvirtualization/v20230905/getApplication.ts", + "desktopvirtualization/v20230905/getApplicationGroup.ts", + "desktopvirtualization/v20230905/getHostPool.ts", + "desktopvirtualization/v20230905/getMSIXPackage.ts", + "desktopvirtualization/v20230905/getPrivateEndpointConnectionByHostPool.ts", + "desktopvirtualization/v20230905/getPrivateEndpointConnectionByWorkspace.ts", + "desktopvirtualization/v20230905/getScalingPlan.ts", + "desktopvirtualization/v20230905/getScalingPlanPersonalSchedule.ts", + "desktopvirtualization/v20230905/getScalingPlanPooledSchedule.ts", + "desktopvirtualization/v20230905/getWorkspace.ts", + "desktopvirtualization/v20230905/hostPool.ts", + "desktopvirtualization/v20230905/index.ts", + "desktopvirtualization/v20230905/msixpackage.ts", + "desktopvirtualization/v20230905/privateEndpointConnectionByHostPool.ts", + "desktopvirtualization/v20230905/privateEndpointConnectionByWorkspace.ts", + "desktopvirtualization/v20230905/scalingPlan.ts", + "desktopvirtualization/v20230905/scalingPlanPersonalSchedule.ts", + "desktopvirtualization/v20230905/scalingPlanPooledSchedule.ts", + "desktopvirtualization/v20230905/workspace.ts", "desktopvirtualization/workspace.ts", "devcenter/attachedNetworkByDevCenter.ts", "devcenter/catalog.ts", @@ -4351,8 +4463,12 @@ "devcenter/gallery.ts", "devcenter/getAttachedNetworkByDevCenter.ts", "devcenter/getCatalog.ts", + "devcenter/getCatalogDevBoxDefinitionErrorDetails.ts", + "devcenter/getCatalogSyncErrorDetails.ts", + "devcenter/getCustomizationTaskErrorDetails.ts", "devcenter/getDevBoxDefinition.ts", "devcenter/getDevCenter.ts", + "devcenter/getEnvironmentDefinitionErrorDetails.ts", "devcenter/getEnvironmentType.ts", "devcenter/getGallery.ts", "devcenter/getNetworkConnection.ts", @@ -4392,6 +4508,33 @@ "devcenter/v20230401/project.ts", "devcenter/v20230401/projectEnvironmentType.ts", "devcenter/v20230401/schedule.ts", + "devcenter/v20230801preview/attachedNetworkByDevCenter.ts", + "devcenter/v20230801preview/catalog.ts", + "devcenter/v20230801preview/devBoxDefinition.ts", + "devcenter/v20230801preview/devCenter.ts", + "devcenter/v20230801preview/environmentType.ts", + "devcenter/v20230801preview/gallery.ts", + "devcenter/v20230801preview/getAttachedNetworkByDevCenter.ts", + "devcenter/v20230801preview/getCatalog.ts", + "devcenter/v20230801preview/getCatalogDevBoxDefinitionErrorDetails.ts", + "devcenter/v20230801preview/getCatalogSyncErrorDetails.ts", + "devcenter/v20230801preview/getCustomizationTaskErrorDetails.ts", + "devcenter/v20230801preview/getDevBoxDefinition.ts", + "devcenter/v20230801preview/getDevCenter.ts", + "devcenter/v20230801preview/getEnvironmentDefinitionErrorDetails.ts", + "devcenter/v20230801preview/getEnvironmentType.ts", + "devcenter/v20230801preview/getGallery.ts", + "devcenter/v20230801preview/getNetworkConnection.ts", + "devcenter/v20230801preview/getPool.ts", + "devcenter/v20230801preview/getProject.ts", + "devcenter/v20230801preview/getProjectEnvironmentType.ts", + "devcenter/v20230801preview/getSchedule.ts", + "devcenter/v20230801preview/index.ts", + "devcenter/v20230801preview/networkConnection.ts", + "devcenter/v20230801preview/pool.ts", + "devcenter/v20230801preview/project.ts", + "devcenter/v20230801preview/projectEnvironmentType.ts", + "devcenter/v20230801preview/schedule.ts", "devhub/getGitHubOAuth.ts", "devhub/getWorkflow.ts", "devhub/index.ts", @@ -4782,6 +4925,111 @@ "documentdb/v20230415/sqlResourceSqlTrigger.ts", "documentdb/v20230415/sqlResourceSqlUserDefinedFunction.ts", "documentdb/v20230415/tableResourceTable.ts", + "documentdb/v20230915/cassandraCluster.ts", + "documentdb/v20230915/cassandraDataCenter.ts", + "documentdb/v20230915/cassandraResourceCassandraKeyspace.ts", + "documentdb/v20230915/cassandraResourceCassandraTable.ts", + "documentdb/v20230915/databaseAccount.ts", + "documentdb/v20230915/getCassandraCluster.ts", + "documentdb/v20230915/getCassandraDataCenter.ts", + "documentdb/v20230915/getCassandraResourceCassandraKeyspace.ts", + "documentdb/v20230915/getCassandraResourceCassandraTable.ts", + "documentdb/v20230915/getDatabaseAccount.ts", + "documentdb/v20230915/getGremlinResourceGremlinDatabase.ts", + "documentdb/v20230915/getGremlinResourceGremlinGraph.ts", + "documentdb/v20230915/getMongoDBResourceMongoDBCollection.ts", + "documentdb/v20230915/getMongoDBResourceMongoDBDatabase.ts", + "documentdb/v20230915/getMongoDBResourceMongoRoleDefinition.ts", + "documentdb/v20230915/getMongoDBResourceMongoUserDefinition.ts", + "documentdb/v20230915/getNotebookWorkspace.ts", + "documentdb/v20230915/getPrivateEndpointConnection.ts", + "documentdb/v20230915/getService.ts", + "documentdb/v20230915/getSqlResourceSqlContainer.ts", + "documentdb/v20230915/getSqlResourceSqlDatabase.ts", + "documentdb/v20230915/getSqlResourceSqlRoleAssignment.ts", + "documentdb/v20230915/getSqlResourceSqlRoleDefinition.ts", + "documentdb/v20230915/getSqlResourceSqlStoredProcedure.ts", + "documentdb/v20230915/getSqlResourceSqlTrigger.ts", + "documentdb/v20230915/getSqlResourceSqlUserDefinedFunction.ts", + "documentdb/v20230915/getTableResourceTable.ts", + "documentdb/v20230915/gremlinResourceGremlinDatabase.ts", + "documentdb/v20230915/gremlinResourceGremlinGraph.ts", + "documentdb/v20230915/index.ts", + "documentdb/v20230915/listDatabaseAccountConnectionStrings.ts", + "documentdb/v20230915/listDatabaseAccountKeys.ts", + "documentdb/v20230915/listNotebookWorkspaceConnectionInfo.ts", + "documentdb/v20230915/mongoDBResourceMongoDBCollection.ts", + "documentdb/v20230915/mongoDBResourceMongoDBDatabase.ts", + "documentdb/v20230915/mongoDBResourceMongoRoleDefinition.ts", + "documentdb/v20230915/mongoDBResourceMongoUserDefinition.ts", + "documentdb/v20230915/notebookWorkspace.ts", + "documentdb/v20230915/privateEndpointConnection.ts", + "documentdb/v20230915/service.ts", + "documentdb/v20230915/sqlResourceSqlContainer.ts", + "documentdb/v20230915/sqlResourceSqlDatabase.ts", + "documentdb/v20230915/sqlResourceSqlRoleAssignment.ts", + "documentdb/v20230915/sqlResourceSqlRoleDefinition.ts", + "documentdb/v20230915/sqlResourceSqlStoredProcedure.ts", + "documentdb/v20230915/sqlResourceSqlTrigger.ts", + "documentdb/v20230915/sqlResourceSqlUserDefinedFunction.ts", + "documentdb/v20230915/tableResourceTable.ts", + "documentdb/v20230915preview/cassandraCluster.ts", + "documentdb/v20230915preview/cassandraDataCenter.ts", + "documentdb/v20230915preview/cassandraResourceCassandraKeyspace.ts", + "documentdb/v20230915preview/cassandraResourceCassandraTable.ts", + "documentdb/v20230915preview/cassandraResourceCassandraView.ts", + "documentdb/v20230915preview/databaseAccount.ts", + "documentdb/v20230915preview/getCassandraCluster.ts", + "documentdb/v20230915preview/getCassandraDataCenter.ts", + "documentdb/v20230915preview/getCassandraResourceCassandraKeyspace.ts", + "documentdb/v20230915preview/getCassandraResourceCassandraTable.ts", + "documentdb/v20230915preview/getCassandraResourceCassandraView.ts", + "documentdb/v20230915preview/getDatabaseAccount.ts", + "documentdb/v20230915preview/getGraphResourceGraph.ts", + "documentdb/v20230915preview/getGremlinResourceGremlinDatabase.ts", + "documentdb/v20230915preview/getGremlinResourceGremlinGraph.ts", + "documentdb/v20230915preview/getMongoCluster.ts", + "documentdb/v20230915preview/getMongoClusterFirewallRule.ts", + "documentdb/v20230915preview/getMongoDBResourceMongoDBCollection.ts", + "documentdb/v20230915preview/getMongoDBResourceMongoDBDatabase.ts", + "documentdb/v20230915preview/getMongoDBResourceMongoRoleDefinition.ts", + "documentdb/v20230915preview/getMongoDBResourceMongoUserDefinition.ts", + "documentdb/v20230915preview/getNotebookWorkspace.ts", + "documentdb/v20230915preview/getPrivateEndpointConnection.ts", + "documentdb/v20230915preview/getService.ts", + "documentdb/v20230915preview/getSqlResourceSqlContainer.ts", + "documentdb/v20230915preview/getSqlResourceSqlDatabase.ts", + "documentdb/v20230915preview/getSqlResourceSqlRoleAssignment.ts", + "documentdb/v20230915preview/getSqlResourceSqlRoleDefinition.ts", + "documentdb/v20230915preview/getSqlResourceSqlStoredProcedure.ts", + "documentdb/v20230915preview/getSqlResourceSqlTrigger.ts", + "documentdb/v20230915preview/getSqlResourceSqlUserDefinedFunction.ts", + "documentdb/v20230915preview/getTableResourceTable.ts", + "documentdb/v20230915preview/graphResourceGraph.ts", + "documentdb/v20230915preview/gremlinResourceGremlinDatabase.ts", + "documentdb/v20230915preview/gremlinResourceGremlinGraph.ts", + "documentdb/v20230915preview/index.ts", + "documentdb/v20230915preview/listDatabaseAccountConnectionStrings.ts", + "documentdb/v20230915preview/listDatabaseAccountKeys.ts", + "documentdb/v20230915preview/listMongoClusterConnectionStrings.ts", + "documentdb/v20230915preview/listNotebookWorkspaceConnectionInfo.ts", + "documentdb/v20230915preview/mongoCluster.ts", + "documentdb/v20230915preview/mongoClusterFirewallRule.ts", + "documentdb/v20230915preview/mongoDBResourceMongoDBCollection.ts", + "documentdb/v20230915preview/mongoDBResourceMongoDBDatabase.ts", + "documentdb/v20230915preview/mongoDBResourceMongoRoleDefinition.ts", + "documentdb/v20230915preview/mongoDBResourceMongoUserDefinition.ts", + "documentdb/v20230915preview/notebookWorkspace.ts", + "documentdb/v20230915preview/privateEndpointConnection.ts", + "documentdb/v20230915preview/service.ts", + "documentdb/v20230915preview/sqlResourceSqlContainer.ts", + "documentdb/v20230915preview/sqlResourceSqlDatabase.ts", + "documentdb/v20230915preview/sqlResourceSqlRoleAssignment.ts", + "documentdb/v20230915preview/sqlResourceSqlRoleDefinition.ts", + "documentdb/v20230915preview/sqlResourceSqlStoredProcedure.ts", + "documentdb/v20230915preview/sqlResourceSqlTrigger.ts", + "documentdb/v20230915preview/sqlResourceSqlUserDefinedFunction.ts", + "documentdb/v20230915preview/tableResourceTable.ts", "domainregistration/domain.ts", "domainregistration/domainOwnershipIdentifier.ts", "domainregistration/getDomain.ts", @@ -4938,6 +5186,7 @@ "elasticsan/getPrivateEndpointConnection.ts", "elasticsan/getVolume.ts", "elasticsan/getVolumeGroup.ts", + "elasticsan/getVolumeSnapshot.ts", "elasticsan/index.ts", "elasticsan/privateEndpointConnection.ts", "elasticsan/v20211120preview/elasticSan.ts", @@ -4956,8 +5205,20 @@ "elasticsan/v20221201preview/privateEndpointConnection.ts", "elasticsan/v20221201preview/volume.ts", "elasticsan/v20221201preview/volumeGroup.ts", + "elasticsan/v20230101/elasticSan.ts", + "elasticsan/v20230101/getElasticSan.ts", + "elasticsan/v20230101/getPrivateEndpointConnection.ts", + "elasticsan/v20230101/getVolume.ts", + "elasticsan/v20230101/getVolumeGroup.ts", + "elasticsan/v20230101/getVolumeSnapshot.ts", + "elasticsan/v20230101/index.ts", + "elasticsan/v20230101/privateEndpointConnection.ts", + "elasticsan/v20230101/volume.ts", + "elasticsan/v20230101/volumeGroup.ts", + "elasticsan/v20230101/volumeSnapshot.ts", "elasticsan/volume.ts", "elasticsan/volumeGroup.ts", + "elasticsan/volumeSnapshot.ts", "engagementfabric/account.ts", "engagementfabric/channel.ts", "engagementfabric/getAccount.ts", @@ -5841,28 +6102,6 @@ "iotfirmwaredefense/v20230208preview/index.ts", "iotfirmwaredefense/v20230208preview/workspace.ts", "iotfirmwaredefense/workspace.ts", - "iotsecurity/defenderSetting.ts", - "iotsecurity/deviceGroup.ts", - "iotsecurity/getDefenderSetting.ts", - "iotsecurity/getDeviceGroup.ts", - "iotsecurity/getOnPremiseSensor.ts", - "iotsecurity/getSensor.ts", - "iotsecurity/getSite.ts", - "iotsecurity/index.ts", - "iotsecurity/onPremiseSensor.ts", - "iotsecurity/sensor.ts", - "iotsecurity/site.ts", - "iotsecurity/v20210201preview/defenderSetting.ts", - "iotsecurity/v20210201preview/deviceGroup.ts", - "iotsecurity/v20210201preview/getDefenderSetting.ts", - "iotsecurity/v20210201preview/getDeviceGroup.ts", - "iotsecurity/v20210201preview/getOnPremiseSensor.ts", - "iotsecurity/v20210201preview/getSensor.ts", - "iotsecurity/v20210201preview/getSite.ts", - "iotsecurity/v20210201preview/index.ts", - "iotsecurity/v20210201preview/onPremiseSensor.ts", - "iotsecurity/v20210201preview/sensor.ts", - "iotsecurity/v20210201preview/site.ts", "keyvault/getKey.ts", "keyvault/getMHSMPrivateEndpointConnection.ts", "keyvault/getManagedHsm.ts", @@ -5962,6 +6201,7 @@ "kusto/getPrivateEndpointConnection.ts", "kusto/getReadOnlyFollowingDatabase.ts", "kusto/getReadWriteDatabase.ts", + "kusto/getSandboxCustomImage.ts", "kusto/getScript.ts", "kusto/index.ts", "kusto/iotHubDataConnection.ts", @@ -5972,6 +6212,7 @@ "kusto/privateEndpointConnection.ts", "kusto/readOnlyFollowingDatabase.ts", "kusto/readWriteDatabase.ts", + "kusto/sandboxCustomImage.ts", "kusto/script.ts", "kusto/v20180907preview/database.ts", "kusto/v20180907preview/eventHubConnection.ts", @@ -6061,6 +6302,38 @@ "kusto/v20230502/readOnlyFollowingDatabase.ts", "kusto/v20230502/readWriteDatabase.ts", "kusto/v20230502/script.ts", + "kusto/v20230815/attachedDatabaseConfiguration.ts", + "kusto/v20230815/cluster.ts", + "kusto/v20230815/clusterPrincipalAssignment.ts", + "kusto/v20230815/cosmosDbDataConnection.ts", + "kusto/v20230815/databasePrincipalAssignment.ts", + "kusto/v20230815/eventGridDataConnection.ts", + "kusto/v20230815/eventHubDataConnection.ts", + "kusto/v20230815/getAttachedDatabaseConfiguration.ts", + "kusto/v20230815/getCluster.ts", + "kusto/v20230815/getClusterPrincipalAssignment.ts", + "kusto/v20230815/getCosmosDbDataConnection.ts", + "kusto/v20230815/getDatabasePrincipalAssignment.ts", + "kusto/v20230815/getEventGridDataConnection.ts", + "kusto/v20230815/getEventHubDataConnection.ts", + "kusto/v20230815/getIotHubDataConnection.ts", + "kusto/v20230815/getManagedPrivateEndpoint.ts", + "kusto/v20230815/getPrivateEndpointConnection.ts", + "kusto/v20230815/getReadOnlyFollowingDatabase.ts", + "kusto/v20230815/getReadWriteDatabase.ts", + "kusto/v20230815/getSandboxCustomImage.ts", + "kusto/v20230815/getScript.ts", + "kusto/v20230815/index.ts", + "kusto/v20230815/iotHubDataConnection.ts", + "kusto/v20230815/listClusterFollowerDatabases.ts", + "kusto/v20230815/listClusterLanguageExtensions.ts", + "kusto/v20230815/listDatabasePrincipals.ts", + "kusto/v20230815/managedPrivateEndpoint.ts", + "kusto/v20230815/privateEndpointConnection.ts", + "kusto/v20230815/readOnlyFollowingDatabase.ts", + "kusto/v20230815/readWriteDatabase.ts", + "kusto/v20230815/sandboxCustomImage.ts", + "kusto/v20230815/script.ts", "labservices/environment.ts", "labservices/environmentSetting.ts", "labservices/galleryImage.ts", @@ -9536,6 +9809,7 @@ "recoveryservices/v20230601/getReplicationRecoveryServicesProvider.ts", "recoveryservices/v20230601/getReplicationStorageClassificationMapping.ts", "recoveryservices/v20230601/getReplicationvCenter.ts", + "recoveryservices/v20230601/getVault.ts", "recoveryservices/v20230601/index.ts", "recoveryservices/v20230601/replicationFabric.ts", "recoveryservices/v20230601/replicationMigrationItem.ts", @@ -9547,6 +9821,7 @@ "recoveryservices/v20230601/replicationRecoveryServicesProvider.ts", "recoveryservices/v20230601/replicationStorageClassificationMapping.ts", "recoveryservices/v20230601/replicationvCenter.ts", + "recoveryservices/v20230601/vault.ts", "recoveryservices/vault.ts", "redhatopenshift/getMachinePool.ts", "redhatopenshift/getOpenShiftCluster.ts", @@ -10769,6 +11044,126 @@ "securityinsights/v20230801preview/workspaceManagerConfiguration.ts", "securityinsights/v20230801preview/workspaceManagerGroup.ts", "securityinsights/v20230801preview/workspaceManagerMember.ts", + "securityinsights/v20230901preview/aaddataConnector.ts", + "securityinsights/v20230901preview/aatpdataConnector.ts", + "securityinsights/v20230901preview/action.ts", + "securityinsights/v20230901preview/activityCustomEntityQuery.ts", + "securityinsights/v20230901preview/anomalies.ts", + "securityinsights/v20230901preview/anomalySecurityMLAnalyticsSettings.ts", + "securityinsights/v20230901preview/ascdataConnector.ts", + "securityinsights/v20230901preview/automationRule.ts", + "securityinsights/v20230901preview/awsCloudTrailDataConnector.ts", + "securityinsights/v20230901preview/awsS3DataConnector.ts", + "securityinsights/v20230901preview/bookmark.ts", + "securityinsights/v20230901preview/bookmarkRelation.ts", + "securityinsights/v20230901preview/codelessApiPollingDataConnector.ts", + "securityinsights/v20230901preview/codelessUiDataConnector.ts", + "securityinsights/v20230901preview/contentPackage.ts", + "securityinsights/v20230901preview/contentTemplate.ts", + "securityinsights/v20230901preview/customizableConnectorDefinition.ts", + "securityinsights/v20230901preview/dynamics365DataConnector.ts", + "securityinsights/v20230901preview/entityAnalytics.ts", + "securityinsights/v20230901preview/eyesOn.ts", + "securityinsights/v20230901preview/fileImport.ts", + "securityinsights/v20230901preview/fusionAlertRule.ts", + "securityinsights/v20230901preview/gcpdataConnector.ts", + "securityinsights/v20230901preview/getAADDataConnector.ts", + "securityinsights/v20230901preview/getAATPDataConnector.ts", + "securityinsights/v20230901preview/getASCDataConnector.ts", + "securityinsights/v20230901preview/getAction.ts", + "securityinsights/v20230901preview/getActivityCustomEntityQuery.ts", + "securityinsights/v20230901preview/getAnomalies.ts", + "securityinsights/v20230901preview/getAnomalySecurityMLAnalyticsSettings.ts", + "securityinsights/v20230901preview/getAutomationRule.ts", + "securityinsights/v20230901preview/getAwsCloudTrailDataConnector.ts", + "securityinsights/v20230901preview/getAwsS3DataConnector.ts", + "securityinsights/v20230901preview/getBookmark.ts", + "securityinsights/v20230901preview/getBookmarkRelation.ts", + "securityinsights/v20230901preview/getCodelessApiPollingDataConnector.ts", + "securityinsights/v20230901preview/getCodelessUiDataConnector.ts", + "securityinsights/v20230901preview/getContentPackage.ts", + "securityinsights/v20230901preview/getContentTemplate.ts", + "securityinsights/v20230901preview/getCustomizableConnectorDefinition.ts", + "securityinsights/v20230901preview/getDynamics365DataConnector.ts", + "securityinsights/v20230901preview/getEntitiesGetTimeline.ts", + "securityinsights/v20230901preview/getEntityAnalytics.ts", + "securityinsights/v20230901preview/getEntityInsights.ts", + "securityinsights/v20230901preview/getEyesOn.ts", + "securityinsights/v20230901preview/getFileImport.ts", + "securityinsights/v20230901preview/getFusionAlertRule.ts", + "securityinsights/v20230901preview/getGCPDataConnector.ts", + "securityinsights/v20230901preview/getHunt.ts", + "securityinsights/v20230901preview/getHuntComment.ts", + "securityinsights/v20230901preview/getHuntRelation.ts", + "securityinsights/v20230901preview/getIncident.ts", + "securityinsights/v20230901preview/getIncidentComment.ts", + "securityinsights/v20230901preview/getIncidentRelation.ts", + "securityinsights/v20230901preview/getIncidentTask.ts", + "securityinsights/v20230901preview/getIoTDataConnector.ts", + "securityinsights/v20230901preview/getMCASDataConnector.ts", + "securityinsights/v20230901preview/getMDATPDataConnector.ts", + "securityinsights/v20230901preview/getMLBehaviorAnalyticsAlertRule.ts", + "securityinsights/v20230901preview/getMSTIDataConnector.ts", + "securityinsights/v20230901preview/getMTPDataConnector.ts", + "securityinsights/v20230901preview/getMetadata.ts", + "securityinsights/v20230901preview/getMicrosoftPurviewInformationProtectionDataConnector.ts", + "securityinsights/v20230901preview/getMicrosoftSecurityIncidentCreationAlertRule.ts", + "securityinsights/v20230901preview/getNrtAlertRule.ts", + "securityinsights/v20230901preview/getOffice365ProjectDataConnector.ts", + "securityinsights/v20230901preview/getOfficeATPDataConnector.ts", + "securityinsights/v20230901preview/getOfficeDataConnector.ts", + "securityinsights/v20230901preview/getOfficeIRMDataConnector.ts", + "securityinsights/v20230901preview/getOfficePowerBIDataConnector.ts", + "securityinsights/v20230901preview/getScheduledAlertRule.ts", + "securityinsights/v20230901preview/getSentinelOnboardingState.ts", + "securityinsights/v20230901preview/getTIDataConnector.ts", + "securityinsights/v20230901preview/getThreatIntelligenceAlertRule.ts", + "securityinsights/v20230901preview/getThreatIntelligenceIndicator.ts", + "securityinsights/v20230901preview/getTiTaxiiDataConnector.ts", + "securityinsights/v20230901preview/getUeba.ts", + "securityinsights/v20230901preview/getWatchlist.ts", + "securityinsights/v20230901preview/getWatchlistItem.ts", + "securityinsights/v20230901preview/getWorkspaceManagerAssignment.ts", + "securityinsights/v20230901preview/getWorkspaceManagerConfiguration.ts", + "securityinsights/v20230901preview/getWorkspaceManagerGroup.ts", + "securityinsights/v20230901preview/getWorkspaceManagerMember.ts", + "securityinsights/v20230901preview/hunt.ts", + "securityinsights/v20230901preview/huntComment.ts", + "securityinsights/v20230901preview/huntRelation.ts", + "securityinsights/v20230901preview/incident.ts", + "securityinsights/v20230901preview/incidentComment.ts", + "securityinsights/v20230901preview/incidentRelation.ts", + "securityinsights/v20230901preview/incidentTask.ts", + "securityinsights/v20230901preview/index.ts", + "securityinsights/v20230901preview/ioTDataConnector.ts", + "securityinsights/v20230901preview/listSourceControlRepositories.ts", + "securityinsights/v20230901preview/mcasdataConnector.ts", + "securityinsights/v20230901preview/mdatpdataConnector.ts", + "securityinsights/v20230901preview/metadata.ts", + "securityinsights/v20230901preview/microsoftPurviewInformationProtectionDataConnector.ts", + "securityinsights/v20230901preview/microsoftSecurityIncidentCreationAlertRule.ts", + "securityinsights/v20230901preview/mlbehaviorAnalyticsAlertRule.ts", + "securityinsights/v20230901preview/mstidataConnector.ts", + "securityinsights/v20230901preview/mtpdataConnector.ts", + "securityinsights/v20230901preview/nrtAlertRule.ts", + "securityinsights/v20230901preview/office365ProjectDataConnector.ts", + "securityinsights/v20230901preview/officeATPDataConnector.ts", + "securityinsights/v20230901preview/officeDataConnector.ts", + "securityinsights/v20230901preview/officeIRMDataConnector.ts", + "securityinsights/v20230901preview/officePowerBIDataConnector.ts", + "securityinsights/v20230901preview/scheduledAlertRule.ts", + "securityinsights/v20230901preview/sentinelOnboardingState.ts", + "securityinsights/v20230901preview/threatIntelligenceAlertRule.ts", + "securityinsights/v20230901preview/threatIntelligenceIndicator.ts", + "securityinsights/v20230901preview/tiTaxiiDataConnector.ts", + "securityinsights/v20230901preview/tidataConnector.ts", + "securityinsights/v20230901preview/ueba.ts", + "securityinsights/v20230901preview/watchlist.ts", + "securityinsights/v20230901preview/watchlistItem.ts", + "securityinsights/v20230901preview/workspaceManagerAssignment.ts", + "securityinsights/v20230901preview/workspaceManagerConfiguration.ts", + "securityinsights/v20230901preview/workspaceManagerGroup.ts", + "securityinsights/v20230901preview/workspaceManagerMember.ts", "securityinsights/watchlist.ts", "securityinsights/watchlistItem.ts", "securityinsights/workspaceManagerAssignment.ts", @@ -11790,6 +12185,12 @@ "storage/v20230101/storageAccount.ts", "storage/v20230101/table.ts", "storage/v20230101/tableServiceProperties.ts", + "storageactions/getStorageTask.ts", + "storageactions/index.ts", + "storageactions/storageTask.ts", + "storageactions/v20230101/getStorageTask.ts", + "storageactions/v20230101/index.ts", + "storageactions/v20230101/storageTask.ts", "storagecache/amlFilesystem.ts", "storagecache/cache.ts", "storagecache/getAmlFilesystem.ts", @@ -11891,12 +12292,6 @@ "storagesync/v20220601/serverEndpoint.ts", "storagesync/v20220601/storageSyncService.ts", "storagesync/v20220601/syncGroup.ts", - "storagetasks/getStorageTask.ts", - "storagetasks/index.ts", - "storagetasks/storageTask.ts", - "storagetasks/v20230101/getStorageTask.ts", - "storagetasks/v20230101/index.ts", - "storagetasks/v20230101/storageTask.ts", "storsimple/accessControlRecord.ts", "storsimple/backupPolicy.ts", "storsimple/backupSchedule.ts", @@ -12367,6 +12762,7 @@ "types/enums/cdn/index.ts", "types/enums/cdn/v20200901/index.ts", "types/enums/cdn/v20230501/index.ts", + "types/enums/cdn/v20230701preview/index.ts", "types/enums/certificateregistration/index.ts", "types/enums/certificateregistration/v20201001/index.ts", "types/enums/certificateregistration/v20220901/index.ts", @@ -12400,9 +12796,11 @@ "types/enums/confidentialledger/index.ts", "types/enums/confidentialledger/v20220513/index.ts", "types/enums/confidentialledger/v20230126preview/index.ts", + "types/enums/confidentialledger/v20230628preview/index.ts", "types/enums/connectedvmwarevsphere/index.ts", "types/enums/connectedvmwarevsphere/v20220715preview/index.ts", "types/enums/connectedvmwarevsphere/v20230301preview/index.ts", + "types/enums/connectedvmwarevsphere/v20231001/index.ts", "types/enums/consumption/index.ts", "types/enums/consumption/v20230501/index.ts", "types/enums/consumption/v20231101/index.ts", @@ -12412,7 +12810,6 @@ "types/enums/containerinstance/v20230201preview/index.ts", "types/enums/containerinstance/v20230501/index.ts", "types/enums/containerregistry/index.ts", - "types/enums/containerregistry/v20180201preview/index.ts", "types/enums/containerregistry/v20180901/index.ts", "types/enums/containerregistry/v20190401/index.ts", "types/enums/containerregistry/v20190501/index.ts", @@ -12438,6 +12835,8 @@ "types/enums/containerservice/v20230615preview/index.ts", "types/enums/containerservice/v20230701/index.ts", "types/enums/containerservice/v20230702preview/index.ts", + "types/enums/containerservice/v20230801/index.ts", + "types/enums/containerservice/v20230815preview/index.ts", "types/enums/containerstorage/index.ts", "types/enums/containerstorage/v20230701preview/index.ts", "types/enums/costmanagement/index.ts", @@ -12492,6 +12891,7 @@ "types/enums/dataprotection/v20230101/index.ts", "types/enums/dataprotection/v20230401preview/index.ts", "types/enums/dataprotection/v20230501/index.ts", + "types/enums/dataprotection/v20230601preview/index.ts", "types/enums/datareplication/index.ts", "types/enums/datareplication/v20210216preview/index.ts", "types/enums/datashare/index.ts", @@ -12508,6 +12908,7 @@ "types/enums/dbformysql/v20200701privatepreview/index.ts", "types/enums/dbformysql/v20220101/index.ts", "types/enums/dbformysql/v20220930preview/index.ts", + "types/enums/dbformysql/v20230601preview/index.ts", "types/enums/dbformysql/v20230630/index.ts", "types/enums/dbforpostgresql/index.ts", "types/enums/dbforpostgresql/v20171201/index.ts", @@ -12536,9 +12937,11 @@ "types/enums/desktopvirtualization/v20220909/index.ts", "types/enums/desktopvirtualization/v20221014preview/index.ts", "types/enums/desktopvirtualization/v20230707preview/index.ts", + "types/enums/desktopvirtualization/v20230905/index.ts", "types/enums/devcenter/index.ts", "types/enums/devcenter/v20221111preview/index.ts", "types/enums/devcenter/v20230401/index.ts", + "types/enums/devcenter/v20230801preview/index.ts", "types/enums/devhub/index.ts", "types/enums/devhub/v20221011preview/index.ts", "types/enums/devices/index.ts", @@ -12563,6 +12966,8 @@ "types/enums/documentdb/v20210701preview/index.ts", "types/enums/documentdb/v20230315preview/index.ts", "types/enums/documentdb/v20230415/index.ts", + "types/enums/documentdb/v20230915/index.ts", + "types/enums/documentdb/v20230915preview/index.ts", "types/enums/domainregistration/index.ts", "types/enums/domainregistration/v20201001/index.ts", "types/enums/domainregistration/v20220901/index.ts", @@ -12578,6 +12983,7 @@ "types/enums/elasticsan/index.ts", "types/enums/elasticsan/v20211120preview/index.ts", "types/enums/elasticsan/v20221201preview/index.ts", + "types/enums/elasticsan/v20230101/index.ts", "types/enums/enterpriseknowledgegraph/index.ts", "types/enums/enterpriseknowledgegraph/v20181203/index.ts", "types/enums/eventgrid/index.ts", @@ -12657,8 +13063,6 @@ "types/enums/iotcentral/v20211101preview/index.ts", "types/enums/iotfirmwaredefense/index.ts", "types/enums/iotfirmwaredefense/v20230208preview/index.ts", - "types/enums/iotsecurity/index.ts", - "types/enums/iotsecurity/v20210201preview/index.ts", "types/enums/keyvault/index.ts", "types/enums/keyvault/v20230201/index.ts", "types/enums/kubernetes/index.ts", @@ -12680,6 +13084,7 @@ "types/enums/kusto/v20220707/index.ts", "types/enums/kusto/v20221229/index.ts", "types/enums/kusto/v20230502/index.ts", + "types/enums/kusto/v20230815/index.ts", "types/enums/labservices/index.ts", "types/enums/labservices/v20181015/index.ts", "types/enums/labservices/v20220801/index.ts", @@ -12917,6 +13322,7 @@ "types/enums/securityinsights/v20230601preview/index.ts", "types/enums/securityinsights/v20230701preview/index.ts", "types/enums/securityinsights/v20230801preview/index.ts", + "types/enums/securityinsights/v20230901preview/index.ts", "types/enums/serialconsole/index.ts", "types/enums/serialconsole/v20180501/index.ts", "types/enums/servicebus/index.ts", @@ -12963,6 +13369,8 @@ "types/enums/storage/index.ts", "types/enums/storage/v20220901/index.ts", "types/enums/storage/v20230101/index.ts", + "types/enums/storageactions/index.ts", + "types/enums/storageactions/v20230101/index.ts", "types/enums/storagecache/index.ts", "types/enums/storagecache/v20210301/index.ts", "types/enums/storagecache/v20230301preview/index.ts", @@ -12975,8 +13383,6 @@ "types/enums/storagepool/v20210801/index.ts", "types/enums/storagesync/index.ts", "types/enums/storagesync/v20220601/index.ts", - "types/enums/storagetasks/index.ts", - "types/enums/storagetasks/v20230101/index.ts", "types/enums/storsimple/index.ts", "types/enums/storsimple/v20170601/index.ts", "types/enums/streamanalytics/index.ts", diff --git a/sdk/nodejs/types/enums/cdn/index.ts b/sdk/nodejs/types/enums/cdn/index.ts index f1be6d95ae2b..31cfe50ded63 100644 --- a/sdk/nodejs/types/enums/cdn/index.ts +++ b/sdk/nodejs/types/enums/cdn/index.ts @@ -4,10 +4,12 @@ // Export sub-modules: import * as v20200901 from "./v20200901"; import * as v20230501 from "./v20230501"; +import * as v20230701preview from "./v20230701preview"; export { v20200901, v20230501, + v20230701preview, }; export const AFDEndpointProtocols = { diff --git a/sdk/nodejs/types/enums/cdn/v20230701preview/index.ts b/sdk/nodejs/types/enums/cdn/v20230701preview/index.ts new file mode 100644 index 000000000000..43eaf992bf69 --- /dev/null +++ b/sdk/nodejs/types/enums/cdn/v20230701preview/index.ts @@ -0,0 +1,810 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AFDEndpointProtocols = { + Http: "Http", + Https: "Https", +} as const; + +/** + * Supported protocols for the customer's endpoint. + */ +export type AFDEndpointProtocols = (typeof AFDEndpointProtocols)[keyof typeof AFDEndpointProtocols]; + +export const ActionType = { + Allow: "Allow", + Block: "Block", + Log: "Log", + Redirect: "Redirect", +} as const; + +/** + * Describes what action to be applied when rule matches + */ +export type ActionType = (typeof ActionType)[keyof typeof ActionType]; + +export const AfdCertificateType = { + CustomerCertificate: "CustomerCertificate", + ManagedCertificate: "ManagedCertificate", + AzureFirstPartyManagedCertificate: "AzureFirstPartyManagedCertificate", +} as const; + +/** + * Defines the source of the SSL certificate. + */ +export type AfdCertificateType = (typeof AfdCertificateType)[keyof typeof AfdCertificateType]; + +export const AfdMinimumTlsVersion = { + TLS10: "TLS10", + TLS12: "TLS12", +} as const; + +/** + * TLS protocol version that will be used for Https + */ +export type AfdMinimumTlsVersion = (typeof AfdMinimumTlsVersion)[keyof typeof AfdMinimumTlsVersion]; + +export const AfdQueryStringCachingBehavior = { + IgnoreQueryString: "IgnoreQueryString", + UseQueryString: "UseQueryString", + IgnoreSpecifiedQueryStrings: "IgnoreSpecifiedQueryStrings", + IncludeSpecifiedQueryStrings: "IncludeSpecifiedQueryStrings", +} as const; + +/** + * Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + */ +export type AfdQueryStringCachingBehavior = (typeof AfdQueryStringCachingBehavior)[keyof typeof AfdQueryStringCachingBehavior]; + +export const Algorithm = { + SHA256: "SHA256", +} as const; + +/** + * Algorithm to use for URL signing + */ +export type Algorithm = (typeof Algorithm)[keyof typeof Algorithm]; + +export const AutoGeneratedDomainNameLabelScope = { + TenantReuse: "TenantReuse", + SubscriptionReuse: "SubscriptionReuse", + ResourceGroupReuse: "ResourceGroupReuse", + NoReuse: "NoReuse", +} as const; + +/** + * Indicates the endpoint name reuse scope. The default value is TenantReuse. + */ +export type AutoGeneratedDomainNameLabelScope = (typeof AutoGeneratedDomainNameLabelScope)[keyof typeof AutoGeneratedDomainNameLabelScope]; + +export const CacheBehavior = { + BypassCache: "BypassCache", + Override: "Override", + SetIfMissing: "SetIfMissing", +} as const; + +/** + * Caching behavior for the requests + */ +export type CacheBehavior = (typeof CacheBehavior)[keyof typeof CacheBehavior]; + +export const CacheType = { + All: "All", +} as const; + +/** + * The level at which the content needs to be cached. + */ +export type CacheType = (typeof CacheType)[keyof typeof CacheType]; + +export const ClientPortOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type ClientPortOperator = (typeof ClientPortOperator)[keyof typeof ClientPortOperator]; + +export const CookiesOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type CookiesOperator = (typeof CookiesOperator)[keyof typeof CookiesOperator]; + +export const CustomRuleEnabledState = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + */ +export type CustomRuleEnabledState = (typeof CustomRuleEnabledState)[keyof typeof CustomRuleEnabledState]; + +export const DeliveryRuleAction = { + CacheExpiration: "CacheExpiration", + CacheKeyQueryString: "CacheKeyQueryString", + ModifyRequestHeader: "ModifyRequestHeader", + ModifyResponseHeader: "ModifyResponseHeader", + UrlRedirect: "UrlRedirect", + UrlRewrite: "UrlRewrite", + UrlSigning: "UrlSigning", + OriginGroupOverride: "OriginGroupOverride", + RouteConfigurationOverride: "RouteConfigurationOverride", + AfdUrlSigning: "AfdUrlSigning", +} as const; + +/** + * The name of the action for the delivery rule. + */ +export type DeliveryRuleAction = (typeof DeliveryRuleAction)[keyof typeof DeliveryRuleAction]; + +export const DestinationProtocol = { + MatchRequest: "MatchRequest", + Http: "Http", + Https: "Https", +} as const; + +/** + * Protocol to use for the redirect. The default value is MatchRequest + */ +export type DestinationProtocol = (typeof DestinationProtocol)[keyof typeof DestinationProtocol]; + +export const EnabledState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + */ +export type EnabledState = (typeof EnabledState)[keyof typeof EnabledState]; + +export const ForwardingProtocol = { + HttpOnly: "HttpOnly", + HttpsOnly: "HttpsOnly", + MatchRequest: "MatchRequest", +} as const; + +/** + * Protocol this rule will use when forwarding traffic to backends. + */ +export type ForwardingProtocol = (typeof ForwardingProtocol)[keyof typeof ForwardingProtocol]; + +export const GeoFilterActions = { + Block: "Block", + Allow: "Allow", +} as const; + +/** + * Action of the geo filter, i.e. allow or block access. + */ +export type GeoFilterActions = (typeof GeoFilterActions)[keyof typeof GeoFilterActions]; + +export const HeaderAction = { + Append: "Append", + Overwrite: "Overwrite", + Delete: "Delete", +} as const; + +/** + * Action to perform + */ +export type HeaderAction = (typeof HeaderAction)[keyof typeof HeaderAction]; + +export const HealthProbeRequestType = { + NotSet: "NotSet", + GET: "GET", + HEAD: "HEAD", +} as const; + +/** + * The type of health probe request that is made. + */ +export type HealthProbeRequestType = (typeof HealthProbeRequestType)[keyof typeof HealthProbeRequestType]; + +export const HostNameOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type HostNameOperator = (typeof HostNameOperator)[keyof typeof HostNameOperator]; + +export const HttpVersionOperator = { + Equal: "Equal", +} as const; + +/** + * Describes operator to be matched + */ +export type HttpVersionOperator = (typeof HttpVersionOperator)[keyof typeof HttpVersionOperator]; + +export const HttpsRedirect = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + */ +export type HttpsRedirect = (typeof HttpsRedirect)[keyof typeof HttpsRedirect]; + +export const IsDeviceOperator = { + Equal: "Equal", +} as const; + +/** + * Describes operator to be matched + */ +export type IsDeviceOperator = (typeof IsDeviceOperator)[keyof typeof IsDeviceOperator]; + +export const LinkToDefaultDomain = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * whether this route will be linked to the default endpoint domain. + */ +export type LinkToDefaultDomain = (typeof LinkToDefaultDomain)[keyof typeof LinkToDefaultDomain]; + +export const ManagedRuleEnabledState = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + */ +export type ManagedRuleEnabledState = (typeof ManagedRuleEnabledState)[keyof typeof ManagedRuleEnabledState]; + +export const ManagedServiceIdentityType = { + None: "None", + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned, UserAssigned", +} as const; + +/** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ +export type ManagedServiceIdentityType = (typeof ManagedServiceIdentityType)[keyof typeof ManagedServiceIdentityType]; + +export const MatchProcessingBehavior = { + Continue: "Continue", + Stop: "Stop", +} as const; + +/** + * If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + */ +export type MatchProcessingBehavior = (typeof MatchProcessingBehavior)[keyof typeof MatchProcessingBehavior]; + +export const MatchVariable = { + RemoteAddress: "RemoteAddress", + RequestMethod: "RequestMethod", + QueryString: "QueryString", + PostArgs: "PostArgs", + RequestUri: "RequestUri", + RequestHeader: "RequestHeader", + RequestBody: "RequestBody", + RequestScheme: "RequestScheme", + UrlPath: "UrlPath", + UrlFileExtension: "UrlFileExtension", + UrlFileName: "UrlFileName", + HttpVersion: "HttpVersion", + Cookies: "Cookies", + IsDevice: "IsDevice", + SocketAddr: "SocketAddr", + ClientPort: "ClientPort", + ServerPort: "ServerPort", + HostName: "HostName", + SslProtocol: "SslProtocol", +} as const; + +/** + * The name of the condition for the delivery rule. + */ +export type MatchVariable = (typeof MatchVariable)[keyof typeof MatchVariable]; + +export const Operator = { + Any: "Any", + IPMatch: "IPMatch", + GeoMatch: "GeoMatch", + Equal: "Equal", + Contains: "Contains", + LessThan: "LessThan", + GreaterThan: "GreaterThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThanOrEqual: "GreaterThanOrEqual", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type Operator = (typeof Operator)[keyof typeof Operator]; + +export const OptimizationType = { + GeneralWebDelivery: "GeneralWebDelivery", + GeneralMediaStreaming: "GeneralMediaStreaming", + VideoOnDemandMediaStreaming: "VideoOnDemandMediaStreaming", + LargeFileDownload: "LargeFileDownload", + DynamicSiteAcceleration: "DynamicSiteAcceleration", +} as const; + +/** + * Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + */ +export type OptimizationType = (typeof OptimizationType)[keyof typeof OptimizationType]; + +export const ParamIndicator = { + Expires: "Expires", + KeyId: "KeyId", + Signature: "Signature", +} as const; + +/** + * Indicates the purpose of the parameter + */ +export type ParamIndicator = (typeof ParamIndicator)[keyof typeof ParamIndicator]; + +export const PolicyEnabledState = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * describes if the policy is in enabled state or disabled state + */ +export type PolicyEnabledState = (typeof PolicyEnabledState)[keyof typeof PolicyEnabledState]; + +export const PolicyMode = { + Prevention: "Prevention", + Detection: "Detection", +} as const; + +/** + * Describes if it is in detection mode or prevention mode at policy level. + */ +export type PolicyMode = (typeof PolicyMode)[keyof typeof PolicyMode]; + +export const PostArgsOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type PostArgsOperator = (typeof PostArgsOperator)[keyof typeof PostArgsOperator]; + +export const ProbeProtocol = { + NotSet: "NotSet", + Http: "Http", + Https: "Https", +} as const; + +/** + * Protocol to use for health probe. + */ +export type ProbeProtocol = (typeof ProbeProtocol)[keyof typeof ProbeProtocol]; + +export const QueryStringBehavior = { + Include: "Include", + IncludeAll: "IncludeAll", + Exclude: "Exclude", + ExcludeAll: "ExcludeAll", +} as const; + +/** + * Caching behavior for the requests + */ +export type QueryStringBehavior = (typeof QueryStringBehavior)[keyof typeof QueryStringBehavior]; + +export const QueryStringCachingBehavior = { + IgnoreQueryString: "IgnoreQueryString", + BypassCaching: "BypassCaching", + UseQueryString: "UseQueryString", + NotSet: "NotSet", +} as const; + +/** + * Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + */ +export type QueryStringCachingBehavior = (typeof QueryStringCachingBehavior)[keyof typeof QueryStringCachingBehavior]; + +export const QueryStringOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type QueryStringOperator = (typeof QueryStringOperator)[keyof typeof QueryStringOperator]; + +export const RedirectType = { + Moved: "Moved", + Found: "Found", + TemporaryRedirect: "TemporaryRedirect", + PermanentRedirect: "PermanentRedirect", +} as const; + +/** + * The redirect type the rule will use when redirecting traffic. + */ +export type RedirectType = (typeof RedirectType)[keyof typeof RedirectType]; + +export const RemoteAddressOperator = { + Any: "Any", + IPMatch: "IPMatch", + GeoMatch: "GeoMatch", +} as const; + +/** + * Describes operator to be matched + */ +export type RemoteAddressOperator = (typeof RemoteAddressOperator)[keyof typeof RemoteAddressOperator]; + +export const RequestBodyOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type RequestBodyOperator = (typeof RequestBodyOperator)[keyof typeof RequestBodyOperator]; + +export const RequestHeaderOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type RequestHeaderOperator = (typeof RequestHeaderOperator)[keyof typeof RequestHeaderOperator]; + +export const RequestMethodOperator = { + Equal: "Equal", +} as const; + +/** + * Describes operator to be matched + */ +export type RequestMethodOperator = (typeof RequestMethodOperator)[keyof typeof RequestMethodOperator]; + +export const RequestUriOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type RequestUriOperator = (typeof RequestUriOperator)[keyof typeof RequestUriOperator]; + +export const ResponseBasedDetectedErrorTypes = { + None: "None", + TcpErrorsOnly: "TcpErrorsOnly", + TcpAndHttpErrors: "TcpAndHttpErrors", +} as const; + +/** + * Type of response errors for real user requests for which origin will be deemed unhealthy + */ +export type ResponseBasedDetectedErrorTypes = (typeof ResponseBasedDetectedErrorTypes)[keyof typeof ResponseBasedDetectedErrorTypes]; + +export const RuleCacheBehavior = { + HonorOrigin: "HonorOrigin", + OverrideAlways: "OverrideAlways", + OverrideIfOriginMissing: "OverrideIfOriginMissing", +} as const; + +/** + * Caching behavior for the requests + */ +export type RuleCacheBehavior = (typeof RuleCacheBehavior)[keyof typeof RuleCacheBehavior]; + +export const RuleIsCompressionEnabled = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + */ +export type RuleIsCompressionEnabled = (typeof RuleIsCompressionEnabled)[keyof typeof RuleIsCompressionEnabled]; + +export const RuleQueryStringCachingBehavior = { + IgnoreQueryString: "IgnoreQueryString", + UseQueryString: "UseQueryString", + IgnoreSpecifiedQueryStrings: "IgnoreSpecifiedQueryStrings", + IncludeSpecifiedQueryStrings: "IncludeSpecifiedQueryStrings", +} as const; + +/** + * Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + */ +export type RuleQueryStringCachingBehavior = (typeof RuleQueryStringCachingBehavior)[keyof typeof RuleQueryStringCachingBehavior]; + +export const SecretType = { + UrlSigningKey: "UrlSigningKey", + CustomerCertificate: "CustomerCertificate", + ManagedCertificate: "ManagedCertificate", + AzureFirstPartyManagedCertificate: "AzureFirstPartyManagedCertificate", +} as const; + +/** + * The type of the secret resource. + */ +export type SecretType = (typeof SecretType)[keyof typeof SecretType]; + +export const SecurityPolicyType = { + WebApplicationFirewall: "WebApplicationFirewall", +} as const; + +/** + * The type of the Security policy to create. + */ +export type SecurityPolicyType = (typeof SecurityPolicyType)[keyof typeof SecurityPolicyType]; + +export const ServerPortOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type ServerPortOperator = (typeof ServerPortOperator)[keyof typeof ServerPortOperator]; + +export const SharedPrivateLinkResourceStatus = { + Pending: "Pending", + Approved: "Approved", + Rejected: "Rejected", + Disconnected: "Disconnected", + Timeout: "Timeout", +} as const; + +/** + * Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + */ +export type SharedPrivateLinkResourceStatus = (typeof SharedPrivateLinkResourceStatus)[keyof typeof SharedPrivateLinkResourceStatus]; + +export const SkuName = { + Standard_Verizon: "Standard_Verizon", + Premium_Verizon: "Premium_Verizon", + Custom_Verizon: "Custom_Verizon", + Standard_Akamai: "Standard_Akamai", + Standard_ChinaCdn: "Standard_ChinaCdn", + Standard_Microsoft: "Standard_Microsoft", + Standard_AzureFrontDoor: "Standard_AzureFrontDoor", + Premium_AzureFrontDoor: "Premium_AzureFrontDoor", + Standard_955BandWidth_ChinaCdn: "Standard_955BandWidth_ChinaCdn", + Standard_AvgBandWidth_ChinaCdn: "Standard_AvgBandWidth_ChinaCdn", + StandardPlus_ChinaCdn: "StandardPlus_ChinaCdn", + StandardPlus_955BandWidth_ChinaCdn: "StandardPlus_955BandWidth_ChinaCdn", + StandardPlus_AvgBandWidth_ChinaCdn: "StandardPlus_AvgBandWidth_ChinaCdn", +} as const; + +/** + * Name of the pricing tier. + */ +export type SkuName = (typeof SkuName)[keyof typeof SkuName]; + +export const SocketAddrOperator = { + Any: "Any", + IPMatch: "IPMatch", +} as const; + +/** + * Describes operator to be matched + */ +export type SocketAddrOperator = (typeof SocketAddrOperator)[keyof typeof SocketAddrOperator]; + +export const SslProtocol = { + TLSv1: "TLSv1", + TLSv1_1: "TLSv1.1", + TLSv1_2: "TLSv1.2", +} as const; + +/** + * The protocol of an established TLS connection. + */ +export type SslProtocol = (typeof SslProtocol)[keyof typeof SslProtocol]; + +export const SslProtocolOperator = { + Equal: "Equal", +} as const; + +/** + * Describes operator to be matched + */ +export type SslProtocolOperator = (typeof SslProtocolOperator)[keyof typeof SslProtocolOperator]; + +export const Transform = { + Lowercase: "Lowercase", + Uppercase: "Uppercase", + Trim: "Trim", + UrlDecode: "UrlDecode", + UrlEncode: "UrlEncode", + RemoveNulls: "RemoveNulls", +} as const; + +/** + * Describes what transforms are applied before matching + */ +export type Transform = (typeof Transform)[keyof typeof Transform]; + +export const TransformType = { + Lowercase: "Lowercase", + Uppercase: "Uppercase", + Trim: "Trim", + UrlDecode: "UrlDecode", + UrlEncode: "UrlEncode", + RemoveNulls: "RemoveNulls", +} as const; + +/** + * Describes what transforms were applied before matching. + */ +export type TransformType = (typeof TransformType)[keyof typeof TransformType]; + +export const UrlFileExtensionOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type UrlFileExtensionOperator = (typeof UrlFileExtensionOperator)[keyof typeof UrlFileExtensionOperator]; + +export const UrlFileNameOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type UrlFileNameOperator = (typeof UrlFileNameOperator)[keyof typeof UrlFileNameOperator]; + +export const UrlPathOperator = { + Any: "Any", + Equal: "Equal", + Contains: "Contains", + BeginsWith: "BeginsWith", + EndsWith: "EndsWith", + LessThan: "LessThan", + LessThanOrEqual: "LessThanOrEqual", + GreaterThan: "GreaterThan", + GreaterThanOrEqual: "GreaterThanOrEqual", + Wildcard: "Wildcard", + RegEx: "RegEx", +} as const; + +/** + * Describes operator to be matched + */ +export type UrlPathOperator = (typeof UrlPathOperator)[keyof typeof UrlPathOperator]; + +export const WafMatchVariable = { + RemoteAddr: "RemoteAddr", + SocketAddr: "SocketAddr", + RequestMethod: "RequestMethod", + RequestHeader: "RequestHeader", + RequestUri: "RequestUri", + QueryString: "QueryString", + RequestBody: "RequestBody", + Cookies: "Cookies", + PostArgs: "PostArgs", +} as const; + +/** + * Match variable to compare against. + */ +export type WafMatchVariable = (typeof WafMatchVariable)[keyof typeof WafMatchVariable]; diff --git a/sdk/nodejs/types/enums/confidentialledger/index.ts b/sdk/nodejs/types/enums/confidentialledger/index.ts index c81b7c18391d..dcdf9c7390aa 100644 --- a/sdk/nodejs/types/enums/confidentialledger/index.ts +++ b/sdk/nodejs/types/enums/confidentialledger/index.ts @@ -4,10 +4,12 @@ // Export sub-modules: import * as v20220513 from "./v20220513"; import * as v20230126preview from "./v20230126preview"; +import * as v20230628preview from "./v20230628preview"; export { v20220513, v20230126preview, + v20230628preview, }; export const LanguageRuntime = { diff --git a/sdk/nodejs/types/enums/confidentialledger/v20230628preview/index.ts b/sdk/nodejs/types/enums/confidentialledger/v20230628preview/index.ts new file mode 100644 index 000000000000..3e15bb81d1df --- /dev/null +++ b/sdk/nodejs/types/enums/confidentialledger/v20230628preview/index.ts @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const LanguageRuntime = { + CPP: "CPP", + JS: "JS", +} as const; + +/** + * Unique name for the Managed CCF. + */ +export type LanguageRuntime = (typeof LanguageRuntime)[keyof typeof LanguageRuntime]; + +export const LedgerRoleName = { + Reader: "Reader", + Contributor: "Contributor", + Administrator: "Administrator", +} as const; + +/** + * LedgerRole associated with the Security Principal of Ledger + */ +export type LedgerRoleName = (typeof LedgerRoleName)[keyof typeof LedgerRoleName]; + +export const LedgerType = { + Unknown: "Unknown", + Public: "Public", + Private: "Private", +} as const; + +/** + * Type of Confidential Ledger + */ +export type LedgerType = (typeof LedgerType)[keyof typeof LedgerType]; + +export const RunningState = { + Active: "Active", + Paused: "Paused", + Unknown: "Unknown", + Pausing: "Pausing", + Resuming: "Resuming", +} as const; + +/** + * Object representing RunningState for Managed CCF. + */ +export type RunningState = (typeof RunningState)[keyof typeof RunningState]; diff --git a/sdk/nodejs/types/enums/connectedvmwarevsphere/index.ts b/sdk/nodejs/types/enums/connectedvmwarevsphere/index.ts index 111a4d31d9f6..3e1fc4e3beb1 100644 --- a/sdk/nodejs/types/enums/connectedvmwarevsphere/index.ts +++ b/sdk/nodejs/types/enums/connectedvmwarevsphere/index.ts @@ -4,10 +4,12 @@ // Export sub-modules: import * as v20220715preview from "./v20220715preview"; import * as v20230301preview from "./v20230301preview"; +import * as v20231001 from "./v20231001"; export { v20220715preview, v20230301preview, + v20231001, }; export const DiskMode = { diff --git a/sdk/nodejs/types/enums/connectedvmwarevsphere/v20231001/index.ts b/sdk/nodejs/types/enums/connectedvmwarevsphere/v20231001/index.ts new file mode 100644 index 000000000000..73ff8ec14534 --- /dev/null +++ b/sdk/nodejs/types/enums/connectedvmwarevsphere/v20231001/index.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const DiskMode = { + Persistent: "persistent", + Independent_persistent: "independent_persistent", + Independent_nonpersistent: "independent_nonpersistent", +} as const; + +/** + * Gets or sets the disk mode. + */ +export type DiskMode = (typeof DiskMode)[keyof typeof DiskMode]; + +export const DiskType = { + Flat: "flat", + Pmem: "pmem", + Rawphysical: "rawphysical", + Rawvirtual: "rawvirtual", + Sparse: "sparse", + Sesparse: "sesparse", + Unknown: "unknown", +} as const; + +/** + * Gets or sets the disk backing type. + */ +export type DiskType = (typeof DiskType)[keyof typeof DiskType]; + +export const FirmwareType = { + Bios: "bios", + Efi: "efi", +} as const; + +/** + * Firmware type + */ +export type FirmwareType = (typeof FirmwareType)[keyof typeof FirmwareType]; + +export const IPAddressAllocationMethod = { + Unset: "unset", + Dynamic: "dynamic", + Static: "static", + Linklayer: "linklayer", + Random: "random", + Other: "other", +} as const; + +/** + * Gets or sets the nic allocation method. + */ +export type IPAddressAllocationMethod = (typeof IPAddressAllocationMethod)[keyof typeof IPAddressAllocationMethod]; + +export const InventoryType = { + ResourcePool: "ResourcePool", + VirtualMachine: "VirtualMachine", + VirtualMachineTemplate: "VirtualMachineTemplate", + VirtualNetwork: "VirtualNetwork", + Cluster: "Cluster", + Datastore: "Datastore", + Host: "Host", +} as const; + +/** + * They inventory type. + */ +export type InventoryType = (typeof InventoryType)[keyof typeof InventoryType]; + +export const NICType = { + Vmxnet3: "vmxnet3", + Vmxnet2: "vmxnet2", + Vmxnet: "vmxnet", + E1000: "e1000", + E1000e: "e1000e", + Pcnet32: "pcnet32", +} as const; + +/** + * NIC type + */ +export type NICType = (typeof NICType)[keyof typeof NICType]; + +export const OsType = { + Windows: "Windows", + Linux: "Linux", + Other: "Other", +} as const; + +/** + * Gets or sets the type of the os. + */ +export type OsType = (typeof OsType)[keyof typeof OsType]; + +export const PowerOnBootOption = { + Enabled: "enabled", + Disabled: "disabled", +} as const; + +/** + * Gets or sets the power on boot. + */ +export type PowerOnBootOption = (typeof PowerOnBootOption)[keyof typeof PowerOnBootOption]; + +export const ProvisioningAction = { + Install: "install", + Uninstall: "uninstall", + Repair: "repair", +} as const; + +/** + * Gets or sets the guest agent provisioning action. + */ +export type ProvisioningAction = (typeof ProvisioningAction)[keyof typeof ProvisioningAction]; diff --git a/sdk/nodejs/types/enums/containerregistry/index.ts b/sdk/nodejs/types/enums/containerregistry/index.ts index f6a6c5142f29..fe9b41c5414a 100644 --- a/sdk/nodejs/types/enums/containerregistry/index.ts +++ b/sdk/nodejs/types/enums/containerregistry/index.ts @@ -2,7 +2,6 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** // Export sub-modules: -import * as v20180201preview from "./v20180201preview"; import * as v20180901 from "./v20180901"; import * as v20190401 from "./v20190401"; import * as v20190501 from "./v20190501"; @@ -14,7 +13,6 @@ import * as v20230701 from "./v20230701"; import * as v20230801preview from "./v20230801preview"; export { - v20180201preview, v20180901, v20190401, v20190501, diff --git a/sdk/nodejs/types/enums/containerregistry/v20180201preview/index.ts b/sdk/nodejs/types/enums/containerregistry/v20180201preview/index.ts deleted file mode 100644 index 47dc96897ea0..000000000000 --- a/sdk/nodejs/types/enums/containerregistry/v20180201preview/index.ts +++ /dev/null @@ -1,43 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - - -export const BuildTaskStatus = { - Disabled: "Disabled", - Enabled: "Enabled", -} as const; - -/** - * The current status of build task. - */ -export type BuildTaskStatus = (typeof BuildTaskStatus)[keyof typeof BuildTaskStatus]; - -export const OsType = { - Windows: "Windows", - Linux: "Linux", -} as const; - -/** - * The operating system type required for the build. - */ -export type OsType = (typeof OsType)[keyof typeof OsType]; - -export const SourceControlType = { - Github: "Github", - VisualStudioTeamService: "VisualStudioTeamService", -} as const; - -/** - * The type of source control service. - */ -export type SourceControlType = (typeof SourceControlType)[keyof typeof SourceControlType]; - -export const TokenType = { - PAT: "PAT", - OAuth: "OAuth", -} as const; - -/** - * The type of Auth token. - */ -export type TokenType = (typeof TokenType)[keyof typeof TokenType]; diff --git a/sdk/nodejs/types/enums/containerservice/index.ts b/sdk/nodejs/types/enums/containerservice/index.ts index efa988a1b636..8cef625e4bec 100644 --- a/sdk/nodejs/types/enums/containerservice/index.ts +++ b/sdk/nodejs/types/enums/containerservice/index.ts @@ -17,6 +17,8 @@ import * as v20230602preview from "./v20230602preview"; import * as v20230615preview from "./v20230615preview"; import * as v20230701 from "./v20230701"; import * as v20230702preview from "./v20230702preview"; +import * as v20230801 from "./v20230801"; +import * as v20230815preview from "./v20230815preview"; export { v20190601, @@ -34,6 +36,8 @@ export { v20230615preview, v20230701, v20230702preview, + v20230801, + v20230815preview, }; export const AgentPoolMode = { diff --git a/sdk/nodejs/types/enums/containerservice/v20230801/index.ts b/sdk/nodejs/types/enums/containerservice/v20230801/index.ts new file mode 100644 index 000000000000..d177f5a88d60 --- /dev/null +++ b/sdk/nodejs/types/enums/containerservice/v20230801/index.ts @@ -0,0 +1,622 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AgentPoolMode = { + /** + * System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. + */ + System: "System", + /** + * User agent pools are primarily for hosting your application pods. + */ + User: "User", +} as const; + +/** + * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + */ +export type AgentPoolMode = (typeof AgentPoolMode)[keyof typeof AgentPoolMode]; + +export const AgentPoolType = { + /** + * Create an Agent Pool backed by a Virtual Machine Scale Set. + */ + VirtualMachineScaleSets: "VirtualMachineScaleSets", + /** + * Use of this is strongly discouraged. + */ + AvailabilitySet: "AvailabilitySet", +} as const; + +/** + * The type of Agent Pool. + */ +export type AgentPoolType = (typeof AgentPoolType)[keyof typeof AgentPoolType]; + +export const Code = { + /** + * The cluster is running. + */ + Running: "Running", + /** + * The cluster is stopped. + */ + Stopped: "Stopped", +} as const; + +/** + * Tells whether the cluster is Running or Stopped + */ +export type Code = (typeof Code)[keyof typeof Code]; + +export const ConnectionStatus = { + Pending: "Pending", + Approved: "Approved", + Rejected: "Rejected", + Disconnected: "Disconnected", +} as const; + +/** + * The private link service connection status. + */ +export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus]; + +export const Expander = { + /** + * Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. + */ + Least_waste: "least-waste", + /** + * Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. + */ + Most_pods: "most-pods", + /** + * Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md). + */ + Priority: "priority", + /** + * Used when you don't have a particular need for the node groups to scale differently. + */ + Random: "random", +} as const; + +/** + * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + */ +export type Expander = (typeof Expander)[keyof typeof Expander]; + +export const ExtendedLocationTypes = { + EdgeZone: "EdgeZone", +} as const; + +/** + * The type of the extended location. + */ +export type ExtendedLocationTypes = (typeof ExtendedLocationTypes)[keyof typeof ExtendedLocationTypes]; + +export const GPUInstanceProfile = { + MIG1g: "MIG1g", + MIG2g: "MIG2g", + MIG3g: "MIG3g", + MIG4g: "MIG4g", + MIG7g: "MIG7g", +} as const; + +/** + * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + */ +export type GPUInstanceProfile = (typeof GPUInstanceProfile)[keyof typeof GPUInstanceProfile]; + +export const IpFamily = { + IPv4: "IPv4", + IPv6: "IPv6", +} as const; + +/** + * The IP version to use for cluster networking and IP assignment. + */ +export type IpFamily = (typeof IpFamily)[keyof typeof IpFamily]; + +export const IstioIngressGatewayMode = { + /** + * The ingress gateway is assigned a public IP address and is publicly accessible. + */ + External: "External", + /** + * The ingress gateway is assigned an internal IP address and cannot is accessed publicly. + */ + Internal: "Internal", +} as const; + +/** + * Mode of an ingress gateway. + */ +export type IstioIngressGatewayMode = (typeof IstioIngressGatewayMode)[keyof typeof IstioIngressGatewayMode]; + +export const KeyVaultNetworkAccessTypes = { + Public: "Public", + Private: "Private", +} as const; + +/** + * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + */ +export type KeyVaultNetworkAccessTypes = (typeof KeyVaultNetworkAccessTypes)[keyof typeof KeyVaultNetworkAccessTypes]; + +export const KubeletDiskType = { + /** + * Kubelet will use the OS disk for its data. + */ + OS: "OS", + /** + * Kubelet will use the temporary disk for its data. + */ + Temporary: "Temporary", +} as const; + +/** + * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + */ +export type KubeletDiskType = (typeof KubeletDiskType)[keyof typeof KubeletDiskType]; + +export const KubernetesSupportPlan = { + /** + * Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. + */ + KubernetesOfficial: "KubernetesOfficial", + /** + * Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. + */ + AKSLongTermSupport: "AKSLongTermSupport", +} as const; + +/** + * The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + */ +export type KubernetesSupportPlan = (typeof KubernetesSupportPlan)[keyof typeof KubernetesSupportPlan]; + +export const LicenseType = { + /** + * No additional licensing is applied. + */ + None: "None", + /** + * Enables Azure Hybrid User Benefits for Windows VMs. + */ + Windows_Server: "Windows_Server", +} as const; + +/** + * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + */ +export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType]; + +export const LoadBalancerSku = { + /** + * Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the [standard Load Balancer](https://docs.microsoft.com/azure/aks/load-balancer-standard) article. + */ + Standard: "standard", + /** + * Use a basic Load Balancer with limited functionality. + */ + Basic: "basic", +} as const; + +/** + * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + */ +export type LoadBalancerSku = (typeof LoadBalancerSku)[keyof typeof LoadBalancerSku]; + +export const ManagedClusterSKUName = { + /** + * Base option for the AKS control plane. + */ + Base: "Base", +} as const; + +/** + * The name of a managed cluster SKU. + */ +export type ManagedClusterSKUName = (typeof ManagedClusterSKUName)[keyof typeof ManagedClusterSKUName]; + +export const ManagedClusterSKUTier = { + /** + * Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. + */ + Premium: "Premium", + /** + * Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. + */ + Standard: "Standard", + /** + * The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. + */ + Free: "Free", +} as const; + +/** + * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + */ +export type ManagedClusterSKUTier = (typeof ManagedClusterSKUTier)[keyof typeof ManagedClusterSKUTier]; + +export const NetworkDataplane = { + /** + * Use Azure network dataplane. + */ + Azure: "azure", + /** + * Use Cilium network dataplane. See [Azure CNI Powered by Cilium](https://learn.microsoft.com/azure/aks/azure-cni-powered-by-cilium) for more information. + */ + Cilium: "cilium", +} as const; + +/** + * Network dataplane used in the Kubernetes cluster. + */ +export type NetworkDataplane = (typeof NetworkDataplane)[keyof typeof NetworkDataplane]; + +export const NetworkMode = { + /** + * No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See [Transparent Mode](https://docs.microsoft.com/azure/aks/faq#transparent-mode) for more information. + */ + Transparent: "transparent", + /** + * This is no longer supported + */ + Bridge: "bridge", +} as const; + +/** + * This cannot be specified if networkPlugin is anything other than 'azure'. + */ +export type NetworkMode = (typeof NetworkMode)[keyof typeof NetworkMode]; + +export const NetworkPlugin = { + /** + * Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) for more information. + */ + Azure: "azure", + /** + * Use the Kubenet network plugin. See [Kubenet (basic) networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) for more information. + */ + Kubenet: "kubenet", + /** + * No CNI plugin is pre-installed. See [BYO CNI](https://docs.microsoft.com/en-us/azure/aks/use-byo-cni) for more information. + */ + None: "none", +} as const; + +/** + * Network plugin used for building the Kubernetes network. + */ +export type NetworkPlugin = (typeof NetworkPlugin)[keyof typeof NetworkPlugin]; + +export const NetworkPluginMode = { + /** + * Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. + */ + Overlay: "overlay", +} as const; + +/** + * The mode the network plugin should use. + */ +export type NetworkPluginMode = (typeof NetworkPluginMode)[keyof typeof NetworkPluginMode]; + +export const NetworkPolicy = { + /** + * Use Calico network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. + */ + Calico: "calico", + /** + * Use Azure network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. + */ + Azure: "azure", + /** + * Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. + */ + Cilium: "cilium", +} as const; + +/** + * Network policy used for building the Kubernetes network. + */ +export type NetworkPolicy = (typeof NetworkPolicy)[keyof typeof NetworkPolicy]; + +export const NodeOSUpgradeChannel = { + /** + * No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates + */ + None: "None", + /** + * OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice + */ + Unmanaged: "Unmanaged", + /** + * AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. + */ + NodeImage: "NodeImage", +} as const; + +/** + * Manner in which the OS on your nodes is updated. The default is NodeImage. + */ +export type NodeOSUpgradeChannel = (typeof NodeOSUpgradeChannel)[keyof typeof NodeOSUpgradeChannel]; + +export const OSDiskType = { + /** + * Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. + */ + Managed: "Managed", + /** + * Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. + */ + Ephemeral: "Ephemeral", +} as const; + +/** + * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + */ +export type OSDiskType = (typeof OSDiskType)[keyof typeof OSDiskType]; + +export const OSSKU = { + /** + * Use Ubuntu as the OS for node images. + */ + Ubuntu: "Ubuntu", + /** + * Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. + */ + AzureLinux: "AzureLinux", + /** + * Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. + */ + CBLMariner: "CBLMariner", + /** + * Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. + */ + Windows2019: "Windows2019", + /** + * Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. + */ + Windows2022: "Windows2022", +} as const; + +/** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ +export type OSSKU = (typeof OSSKU)[keyof typeof OSSKU]; + +export const OSType = { + /** + * Use Linux. + */ + Linux: "Linux", + /** + * Use Windows. + */ + Windows: "Windows", +} as const; + +/** + * The operating system type. The default is Linux. + */ +export type OSType = (typeof OSType)[keyof typeof OSType]; + +export const OutboundType = { + /** + * The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see [outbound type loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer). + */ + LoadBalancer: "loadBalancer", + /** + * Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see [outbound type userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-userdefinedrouting). + */ + UserDefinedRouting: "userDefinedRouting", + /** + * The AKS-managed NAT gateway is used for egress. + */ + ManagedNATGateway: "managedNATGateway", + /** + * The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. + */ + UserAssignedNATGateway: "userAssignedNATGateway", +} as const; + +/** + * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + */ +export type OutboundType = (typeof OutboundType)[keyof typeof OutboundType]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Allow or deny public network access for AKS + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const ResourceIdentityType = { + /** + * Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. + */ + SystemAssigned: "SystemAssigned", + /** + * Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. + */ + UserAssigned: "UserAssigned", + /** + * Do not use a managed identity for the Managed Cluster, service principal will be used instead. + */ + None: "None", +} as const; + +/** + * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + */ +export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + +export const ScaleDownMode = { + /** + * Create new instances during scale up and remove instances during scale down. + */ + Delete: "Delete", + /** + * Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. + */ + Deallocate: "Deallocate", +} as const; + +/** + * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + */ +export type ScaleDownMode = (typeof ScaleDownMode)[keyof typeof ScaleDownMode]; + +export const ScaleSetEvictionPolicy = { + /** + * Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. + */ + Delete: "Delete", + /** + * Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. + */ + Deallocate: "Deallocate", +} as const; + +/** + * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + */ +export type ScaleSetEvictionPolicy = (typeof ScaleSetEvictionPolicy)[keyof typeof ScaleSetEvictionPolicy]; + +export const ScaleSetPriority = { + /** + * Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information. + */ + Spot: "Spot", + /** + * Regular VMs will be used. + */ + Regular: "Regular", +} as const; + +/** + * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + */ +export type ScaleSetPriority = (typeof ScaleSetPriority)[keyof typeof ScaleSetPriority]; + +export const ServiceMeshMode = { + /** + * Istio deployed as an AKS addon. + */ + Istio: "Istio", + /** + * Mesh is disabled. + */ + Disabled: "Disabled", +} as const; + +/** + * Mode of the service mesh. + */ +export type ServiceMeshMode = (typeof ServiceMeshMode)[keyof typeof ServiceMeshMode]; + +export const SnapshotType = { + /** + * The snapshot is a snapshot of a node pool. + */ + NodePool: "NodePool", +} as const; + +/** + * The type of a snapshot. The default is NodePool. + */ +export type SnapshotType = (typeof SnapshotType)[keyof typeof SnapshotType]; + +export const Type = { + /** + * First week of the month. + */ + First: "First", + /** + * Second week of the month. + */ + Second: "Second", + /** + * Third week of the month. + */ + Third: "Third", + /** + * Fourth week of the month. + */ + Fourth: "Fourth", + /** + * Last week of the month. + */ + Last: "Last", +} as const; + +/** + * Specifies on which week of the month the dayOfWeek applies. + */ +export type Type = (typeof Type)[keyof typeof Type]; + +export const UpgradeChannel = { + /** + * Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1. + */ + Rapid: "rapid", + /** + * Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6. + */ + Stable: "stable", + /** + * Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9. + */ + Patch: "patch", + /** + * Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching + */ + Node_image: "node-image", + /** + * Disables auto-upgrades and keeps the cluster at its current version of Kubernetes. + */ + None: "none", +} as const; + +/** + * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + */ +export type UpgradeChannel = (typeof UpgradeChannel)[keyof typeof UpgradeChannel]; + +export const WeekDay = { + Sunday: "Sunday", + Monday: "Monday", + Tuesday: "Tuesday", + Wednesday: "Wednesday", + Thursday: "Thursday", + Friday: "Friday", + Saturday: "Saturday", +} as const; + +/** + * The day of the week. + */ +export type WeekDay = (typeof WeekDay)[keyof typeof WeekDay]; + +export const WorkloadRuntime = { + /** + * Nodes will use Kubelet to run standard OCI container workloads. + */ + OCIContainer: "OCIContainer", + /** + * Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). + */ + WasmWasi: "WasmWasi", +} as const; + +/** + * Determines the type of workload a node can run. + */ +export type WorkloadRuntime = (typeof WorkloadRuntime)[keyof typeof WorkloadRuntime]; diff --git a/sdk/nodejs/types/enums/containerservice/v20230815preview/index.ts b/sdk/nodejs/types/enums/containerservice/v20230815preview/index.ts new file mode 100644 index 000000000000..c8dff9357dc4 --- /dev/null +++ b/sdk/nodejs/types/enums/containerservice/v20230815preview/index.ts @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const ManagedClusterUpgradeType = { + /** + * Full upgrades the control plane and all agent pools of the target ManagedClusters. + */ + Full: "Full", + /** + * NodeImageOnly upgrades only the node images of the target ManagedClusters. + */ + NodeImageOnly: "NodeImageOnly", +} as const; + +/** + * The upgrade type. + * Full requires the KubernetesVersion property to be set. + * NodeImageOnly requires the KubernetesVersion property not to be set. + */ +export type ManagedClusterUpgradeType = (typeof ManagedClusterUpgradeType)[keyof typeof ManagedClusterUpgradeType]; + +export const ManagedServiceIdentityType = { + None: "None", + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned, UserAssigned", +} as const; + +/** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ +export type ManagedServiceIdentityType = (typeof ManagedServiceIdentityType)[keyof typeof ManagedServiceIdentityType]; + +export const NodeImageSelectionType = { + /** + * Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. + */ + Latest: "Latest", + /** + * The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. + */ + Consistent: "Consistent", +} as const; + +/** + * The node image upgrade type. + */ +export type NodeImageSelectionType = (typeof NodeImageSelectionType)[keyof typeof NodeImageSelectionType]; diff --git a/sdk/nodejs/types/enums/dataprotection/index.ts b/sdk/nodejs/types/enums/dataprotection/index.ts index 2a38c2c21403..74e19fbfaac2 100644 --- a/sdk/nodejs/types/enums/dataprotection/index.ts +++ b/sdk/nodejs/types/enums/dataprotection/index.ts @@ -5,11 +5,13 @@ import * as v20230101 from "./v20230101"; import * as v20230401preview from "./v20230401preview"; import * as v20230501 from "./v20230501"; +import * as v20230601preview from "./v20230601preview"; export { v20230101, v20230401preview, v20230501, + v20230601preview, }; export const AbsoluteMarker = { diff --git a/sdk/nodejs/types/enums/dataprotection/v20230601preview/index.ts b/sdk/nodejs/types/enums/dataprotection/v20230601preview/index.ts new file mode 100644 index 000000000000..57c944e595cc --- /dev/null +++ b/sdk/nodejs/types/enums/dataprotection/v20230601preview/index.ts @@ -0,0 +1,213 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AbsoluteMarker = { + AllBackup: "AllBackup", + FirstOfDay: "FirstOfDay", + FirstOfMonth: "FirstOfMonth", + FirstOfWeek: "FirstOfWeek", + FirstOfYear: "FirstOfYear", +} as const; + +export type AbsoluteMarker = (typeof AbsoluteMarker)[keyof typeof AbsoluteMarker]; + +export const AlertsState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +export type AlertsState = (typeof AlertsState)[keyof typeof AlertsState]; + +export const CrossRegionRestoreState = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * CrossRegionRestore state + */ +export type CrossRegionRestoreState = (typeof CrossRegionRestoreState)[keyof typeof CrossRegionRestoreState]; + +export const CrossSubscriptionRestoreState = { + Disabled: "Disabled", + PermanentlyDisabled: "PermanentlyDisabled", + Enabled: "Enabled", +} as const; + +/** + * CrossSubscriptionRestore state + */ +export type CrossSubscriptionRestoreState = (typeof CrossSubscriptionRestoreState)[keyof typeof CrossSubscriptionRestoreState]; + +export const DataStoreTypes = { + OperationalStore: "OperationalStore", + VaultStore: "VaultStore", + ArchiveStore: "ArchiveStore", +} as const; + +/** + * type of datastore; Operational/Vault/Archive + */ +export type DataStoreTypes = (typeof DataStoreTypes)[keyof typeof DataStoreTypes]; + +export const DayOfWeek = { + Friday: "Friday", + Monday: "Monday", + Saturday: "Saturday", + Sunday: "Sunday", + Thursday: "Thursday", + Tuesday: "Tuesday", + Wednesday: "Wednesday", +} as const; + +export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek]; + +export const EncryptionState = { + /** + * CMK encryption is enabled on the Backup Vault + */ + Enabled: "Enabled", + /** + * CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'. + */ + Disabled: "Disabled", + /** + * CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state. + */ + Inconsistent: "Inconsistent", +} as const; + +/** + * Encryption state of the Backup Vault. + */ +export type EncryptionState = (typeof EncryptionState)[keyof typeof EncryptionState]; + +export const IdentityType = { + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", +} as const; + +/** + * The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + */ +export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType]; + +export const ImmutabilityState = { + Disabled: "Disabled", + Unlocked: "Unlocked", + Locked: "Locked", +} as const; + +/** + * Immutability state + */ +export type ImmutabilityState = (typeof ImmutabilityState)[keyof typeof ImmutabilityState]; + +export const InfrastructureEncryptionState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Enabling/Disabling the Double Encryption state + */ +export type InfrastructureEncryptionState = (typeof InfrastructureEncryptionState)[keyof typeof InfrastructureEncryptionState]; + +export const Month = { + April: "April", + August: "August", + December: "December", + February: "February", + January: "January", + July: "July", + June: "June", + March: "March", + May: "May", + November: "November", + October: "October", + September: "September", +} as const; + +export type Month = (typeof Month)[keyof typeof Month]; + +export const ResourcePropertiesObjectType = { + DefaultResourceProperties: "DefaultResourceProperties", +} as const; + +/** + * Type of the specific object - used for deserializing + */ +export type ResourcePropertiesObjectType = (typeof ResourcePropertiesObjectType)[keyof typeof ResourcePropertiesObjectType]; + +export const SecretStoreType = { + Invalid: "Invalid", + AzureKeyVault: "AzureKeyVault", +} as const; + +/** + * Gets or sets the type of secret store + */ +export type SecretStoreType = (typeof SecretStoreType)[keyof typeof SecretStoreType]; + +export const SoftDeleteState = { + /** + * Soft Delete is turned off for the BackupVault + */ + Off: "Off", + /** + * Soft Delete is enabled for the BackupVault but can be turned off + */ + On: "On", + /** + * Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed + */ + AlwaysOn: "AlwaysOn", +} as const; + +/** + * State of soft delete + */ +export type SoftDeleteState = (typeof SoftDeleteState)[keyof typeof SoftDeleteState]; + +export const StorageSettingStoreTypes = { + ArchiveStore: "ArchiveStore", + OperationalStore: "OperationalStore", + VaultStore: "VaultStore", +} as const; + +/** + * Gets or sets the type of the datastore. + */ +export type StorageSettingStoreTypes = (typeof StorageSettingStoreTypes)[keyof typeof StorageSettingStoreTypes]; + +export const StorageSettingTypes = { + GeoRedundant: "GeoRedundant", + LocallyRedundant: "LocallyRedundant", + ZoneRedundant: "ZoneRedundant", +} as const; + +/** + * Gets or sets the type. + */ +export type StorageSettingTypes = (typeof StorageSettingTypes)[keyof typeof StorageSettingTypes]; + +export const ValidationType = { + ShallowValidation: "ShallowValidation", + DeepValidation: "DeepValidation", +} as const; + +/** + * Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + */ +export type ValidationType = (typeof ValidationType)[keyof typeof ValidationType]; + +export const WeekNumber = { + First: "First", + Fourth: "Fourth", + Last: "Last", + Second: "Second", + Third: "Third", +} as const; + +export type WeekNumber = (typeof WeekNumber)[keyof typeof WeekNumber]; diff --git a/sdk/nodejs/types/enums/dbformysql/index.ts b/sdk/nodejs/types/enums/dbformysql/index.ts index 84cde7735428..0c49d6eeccdf 100644 --- a/sdk/nodejs/types/enums/dbformysql/index.ts +++ b/sdk/nodejs/types/enums/dbformysql/index.ts @@ -8,6 +8,7 @@ import * as v20200701preview from "./v20200701preview"; import * as v20200701privatepreview from "./v20200701privatepreview"; import * as v20220101 from "./v20220101"; import * as v20220930preview from "./v20220930preview"; +import * as v20230601preview from "./v20230601preview"; import * as v20230630 from "./v20230630"; export { @@ -17,6 +18,7 @@ export { v20200701privatepreview, v20220101, v20220930preview, + v20230601preview, v20230630, }; diff --git a/sdk/nodejs/types/enums/dbformysql/v20230601preview/index.ts b/sdk/nodejs/types/enums/dbformysql/v20230601preview/index.ts new file mode 100644 index 000000000000..ca3321e6f720 --- /dev/null +++ b/sdk/nodejs/types/enums/dbformysql/v20230601preview/index.ts @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AdministratorType = { + ActiveDirectory: "ActiveDirectory", +} as const; + +/** + * Type of the sever administrator. + */ +export type AdministratorType = (typeof AdministratorType)[keyof typeof AdministratorType]; + +export const ConfigurationSource = { + System_default: "system-default", + User_override: "user-override", +} as const; + +/** + * Source of the configuration. + */ +export type ConfigurationSource = (typeof ConfigurationSource)[keyof typeof ConfigurationSource]; + +export const CreateMode = { + Default: "Default", + PointInTimeRestore: "PointInTimeRestore", + Replica: "Replica", + GeoRestore: "GeoRestore", +} as const; + +/** + * The mode to create a new MySQL server. + */ +export type CreateMode = (typeof CreateMode)[keyof typeof CreateMode]; + +export const DataEncryptionType = { + AzureKeyVault: "AzureKeyVault", + SystemManaged: "SystemManaged", +} as const; + +/** + * The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + */ +export type DataEncryptionType = (typeof DataEncryptionType)[keyof typeof DataEncryptionType]; + +export const EnableStatusEnum = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Enable Log On Disk or not. + */ +export type EnableStatusEnum = (typeof EnableStatusEnum)[keyof typeof EnableStatusEnum]; + +export const HighAvailabilityMode = { + Disabled: "Disabled", + ZoneRedundant: "ZoneRedundant", + SameZone: "SameZone", +} as const; + +/** + * High availability mode for a server. + */ +export type HighAvailabilityMode = (typeof HighAvailabilityMode)[keyof typeof HighAvailabilityMode]; + +export const ImportSourceStorageType = { + AzureBlob: "AzureBlob", +} as const; + +/** + * Storage type of import source. + */ +export type ImportSourceStorageType = (typeof ImportSourceStorageType)[keyof typeof ImportSourceStorageType]; + +export const ManagedServiceIdentityType = { + UserAssigned: "UserAssigned", +} as const; + +/** + * Type of managed service identity. + */ +export type ManagedServiceIdentityType = (typeof ManagedServiceIdentityType)[keyof typeof ManagedServiceIdentityType]; + +export const ReplicationRole = { + None: "None", + Source: "Source", + Replica: "Replica", +} as const; + +/** + * The replication role. + */ +export type ReplicationRole = (typeof ReplicationRole)[keyof typeof ReplicationRole]; + +export const ServerSkuTier = { + Burstable: "Burstable", + GeneralPurpose: "GeneralPurpose", + MemoryOptimized: "MemoryOptimized", +} as const; + +/** + * The tier of the particular SKU, e.g. GeneralPurpose. + */ +export type ServerSkuTier = (typeof ServerSkuTier)[keyof typeof ServerSkuTier]; + +export const ServerVersion = { + ServerVersion_5_7: "5.7", + ServerVersion_8_0_21: "8.0.21", +} as const; + +/** + * Server version. + */ +export type ServerVersion = (typeof ServerVersion)[keyof typeof ServerVersion]; diff --git a/sdk/nodejs/types/enums/desktopvirtualization/index.ts b/sdk/nodejs/types/enums/desktopvirtualization/index.ts index 01bf82779cb6..fed8c95ec390 100644 --- a/sdk/nodejs/types/enums/desktopvirtualization/index.ts +++ b/sdk/nodejs/types/enums/desktopvirtualization/index.ts @@ -8,6 +8,7 @@ import * as v20220401preview from "./v20220401preview"; import * as v20220909 from "./v20220909"; import * as v20221014preview from "./v20221014preview"; import * as v20230707preview from "./v20230707preview"; +import * as v20230905 from "./v20230905"; export { v20210201preview, @@ -16,6 +17,7 @@ export { v20220909, v20221014preview, v20230707preview, + v20230905, }; export const ApplicationGroupType = { diff --git a/sdk/nodejs/types/enums/desktopvirtualization/v20230905/index.ts b/sdk/nodejs/types/enums/desktopvirtualization/v20230905/index.ts new file mode 100644 index 000000000000..2d0e28b647a4 --- /dev/null +++ b/sdk/nodejs/types/enums/desktopvirtualization/v20230905/index.ts @@ -0,0 +1,263 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const ApplicationGroupType = { + RemoteApp: "RemoteApp", + Desktop: "Desktop", +} as const; + +/** + * Resource Type of ApplicationGroup. + */ +export type ApplicationGroupType = (typeof ApplicationGroupType)[keyof typeof ApplicationGroupType]; + +export const CommandLineSetting = { + DoNotAllow: "DoNotAllow", + Allow: "Allow", + Require: "Require", +} as const; + +/** + * Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + */ +export type CommandLineSetting = (typeof CommandLineSetting)[keyof typeof CommandLineSetting]; + +export const DayOfWeek = { + Monday: "Monday", + Tuesday: "Tuesday", + Wednesday: "Wednesday", + Thursday: "Thursday", + Friday: "Friday", + Saturday: "Saturday", + Sunday: "Sunday", +} as const; + +export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek]; + +export const HostPoolType = { + /** + * Users will be assigned a SessionHost either by administrators (PersonalDesktopAssignmentType = Direct) or upon connecting to the pool (PersonalDesktopAssignmentType = Automatic). They will always be redirected to their assigned SessionHost. + */ + Personal: "Personal", + /** + * Users get a new (random) SessionHost every time it connects to the HostPool. + */ + Pooled: "Pooled", + /** + * Users assign their own machines, load balancing logic remains the same as Personal. PersonalDesktopAssignmentType must be Direct. + */ + BYODesktop: "BYODesktop", +} as const; + +/** + * HostPool type for desktop. + */ +export type HostPoolType = (typeof HostPoolType)[keyof typeof HostPoolType]; + +export const HostpoolPublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", + EnabledForSessionHostsOnly: "EnabledForSessionHostsOnly", + EnabledForClientsOnly: "EnabledForClientsOnly", +} as const; + +/** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ +export type HostpoolPublicNetworkAccess = (typeof HostpoolPublicNetworkAccess)[keyof typeof HostpoolPublicNetworkAccess]; + +export const LoadBalancerType = { + BreadthFirst: "BreadthFirst", + DepthFirst: "DepthFirst", + Persistent: "Persistent", +} as const; + +/** + * The type of the load balancer. + */ +export type LoadBalancerType = (typeof LoadBalancerType)[keyof typeof LoadBalancerType]; + +export const PersonalDesktopAssignmentType = { + Automatic: "Automatic", + Direct: "Direct", +} as const; + +/** + * PersonalDesktopAssignment type for HostPool. + */ +export type PersonalDesktopAssignmentType = (typeof PersonalDesktopAssignmentType)[keyof typeof PersonalDesktopAssignmentType]; + +export const PreferredAppGroupType = { + None: "None", + Desktop: "Desktop", + RailApplications: "RailApplications", +} as const; + +/** + * The type of preferred application group type, default to Desktop Application Group + */ +export type PreferredAppGroupType = (typeof PreferredAppGroupType)[keyof typeof PreferredAppGroupType]; + +export const PrivateEndpointServiceConnectionStatus = { + Pending: "Pending", + Approved: "Approved", + Rejected: "Rejected", +} as const; + +/** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ +export type PrivateEndpointServiceConnectionStatus = (typeof PrivateEndpointServiceConnectionStatus)[keyof typeof PrivateEndpointServiceConnectionStatus]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const RegistrationTokenOperation = { + Delete: "Delete", + None: "None", + Update: "Update", +} as const; + +/** + * The type of resetting the token. + */ +export type RegistrationTokenOperation = (typeof RegistrationTokenOperation)[keyof typeof RegistrationTokenOperation]; + +export const RemoteApplicationType = { + InBuilt: "InBuilt", + MsixApplication: "MsixApplication", +} as const; + +/** + * Resource Type of Application. + */ +export type RemoteApplicationType = (typeof RemoteApplicationType)[keyof typeof RemoteApplicationType]; + +export const ResourceIdentityType = { + SystemAssigned: "SystemAssigned", +} as const; + +/** + * The identity type. + */ +export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + +export const SSOSecretType = { + SharedKey: "SharedKey", + Certificate: "Certificate", + SharedKeyInKeyVault: "SharedKeyInKeyVault", + CertificateInKeyVault: "CertificateInKeyVault", +} as const; + +/** + * The type of single sign on Secret Type. + */ +export type SSOSecretType = (typeof SSOSecretType)[keyof typeof SSOSecretType]; + +export const ScalingHostPoolType = { + /** + * Users get a new (random) SessionHost every time it connects to the HostPool. + */ + Pooled: "Pooled", +} as const; + +/** + * HostPool type for desktop. + */ +export type ScalingHostPoolType = (typeof ScalingHostPoolType)[keyof typeof ScalingHostPoolType]; + +export const SessionHandlingOperation = { + None: "None", + Deallocate: "Deallocate", +} as const; + +/** + * Action to be taken after a logoff during the ramp up period. + */ +export type SessionHandlingOperation = (typeof SessionHandlingOperation)[keyof typeof SessionHandlingOperation]; + +export const SessionHostComponentUpdateType = { + /** + * Agent and other agent side components are delivery schedule is controlled by WVD Infra. + */ + Default: "Default", + /** + * TenantAdmin have opted in for Scheduled Component Update feature. + */ + Scheduled: "Scheduled", +} as const; + +/** + * The type of maintenance for session host components. + */ +export type SessionHostComponentUpdateType = (typeof SessionHostComponentUpdateType)[keyof typeof SessionHostComponentUpdateType]; + +export const SessionHostLoadBalancingAlgorithm = { + BreadthFirst: "BreadthFirst", + DepthFirst: "DepthFirst", +} as const; + +/** + * Load balancing algorithm for ramp up period. + */ +export type SessionHostLoadBalancingAlgorithm = (typeof SessionHostLoadBalancingAlgorithm)[keyof typeof SessionHostLoadBalancingAlgorithm]; + +export const SetStartVMOnConnect = { + Enable: "Enable", + Disable: "Disable", +} as const; + +/** + * The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + */ +export type SetStartVMOnConnect = (typeof SetStartVMOnConnect)[keyof typeof SetStartVMOnConnect]; + +export const SkuTier = { + Free: "Free", + Basic: "Basic", + Standard: "Standard", + Premium: "Premium", +} as const; + +/** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ +export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier]; + +export const StartupBehavior = { + /** + * Session hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts. + */ + None: "None", + /** + * Session hosts with an assigned user will be started during Ramp Up + */ + WithAssignedUser: "WithAssignedUser", + /** + * All personal session hosts in the hostpool will be started during ramp up. + */ + All: "All", +} as const; + +/** + * The desired startup behavior during the ramp up period for personal vms in the hostpool. + */ +export type StartupBehavior = (typeof StartupBehavior)[keyof typeof StartupBehavior]; + +export const StopHostsWhen = { + ZeroSessions: "ZeroSessions", + ZeroActiveSessions: "ZeroActiveSessions", +} as const; + +/** + * Specifies when to stop hosts during ramp down period. + */ +export type StopHostsWhen = (typeof StopHostsWhen)[keyof typeof StopHostsWhen]; diff --git a/sdk/nodejs/types/enums/devcenter/index.ts b/sdk/nodejs/types/enums/devcenter/index.ts index 8e657ac28768..9c3fc6117685 100644 --- a/sdk/nodejs/types/enums/devcenter/index.ts +++ b/sdk/nodejs/types/enums/devcenter/index.ts @@ -4,10 +4,12 @@ // Export sub-modules: import * as v20221111preview from "./v20221111preview"; import * as v20230401 from "./v20230401"; +import * as v20230801preview from "./v20230801preview"; export { v20221111preview, v20230401, + v20230801preview, }; export const DomainJoinType = { diff --git a/sdk/nodejs/types/enums/devcenter/v20230801preview/index.ts b/sdk/nodejs/types/enums/devcenter/v20230801preview/index.ts new file mode 100644 index 000000000000..50e98fda96c6 --- /dev/null +++ b/sdk/nodejs/types/enums/devcenter/v20230801preview/index.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const DomainJoinType = { + HybridAzureADJoin: "HybridAzureADJoin", + AzureADJoin: "AzureADJoin", +} as const; + +/** + * AAD Join type. + */ +export type DomainJoinType = (typeof DomainJoinType)[keyof typeof DomainJoinType]; + +export const EnvironmentTypeEnableStatus = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Defines whether this Environment Type can be used in this Project. + */ +export type EnvironmentTypeEnableStatus = (typeof EnvironmentTypeEnableStatus)[keyof typeof EnvironmentTypeEnableStatus]; + +export const HibernateSupport = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + */ +export type HibernateSupport = (typeof HibernateSupport)[keyof typeof HibernateSupport]; + +export const IdentityType = { + SystemAssignedIdentity: "systemAssignedIdentity", + UserAssignedIdentity: "userAssignedIdentity", + DelegatedResourceIdentity: "delegatedResourceIdentity", +} as const; + +/** + * Values can be systemAssignedIdentity or userAssignedIdentity + */ +export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType]; + +export const LicenseType = { + Windows_Client: "Windows_Client", +} as const; + +/** + * Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + */ +export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType]; + +export const LocalAdminStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + */ +export type LocalAdminStatus = (typeof LocalAdminStatus)[keyof typeof LocalAdminStatus]; + +export const ManagedServiceIdentityType = { + None: "None", + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned, UserAssigned", +} as const; + +/** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ +export type ManagedServiceIdentityType = (typeof ManagedServiceIdentityType)[keyof typeof ManagedServiceIdentityType]; + +export const ScheduleEnableStatus = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Indicates whether or not this scheduled task is enabled. + */ +export type ScheduleEnableStatus = (typeof ScheduleEnableStatus)[keyof typeof ScheduleEnableStatus]; + +export const ScheduledFrequency = { + Daily: "Daily", +} as const; + +/** + * The frequency of this scheduled task. + */ +export type ScheduledFrequency = (typeof ScheduledFrequency)[keyof typeof ScheduledFrequency]; + +export const ScheduledType = { + StopDevBox: "StopDevBox", +} as const; + +/** + * Supported type this scheduled task represents. + */ +export type ScheduledType = (typeof ScheduledType)[keyof typeof ScheduledType]; + +export const SingleSignOnStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +} as const; + +/** + * Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + */ +export type SingleSignOnStatus = (typeof SingleSignOnStatus)[keyof typeof SingleSignOnStatus]; + +export const SkuTier = { + Free: "Free", + Basic: "Basic", + Standard: "Standard", + Premium: "Premium", +} as const; + +/** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ +export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier]; + +export const StopOnDisconnectEnableStatus = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + */ +export type StopOnDisconnectEnableStatus = (typeof StopOnDisconnectEnableStatus)[keyof typeof StopOnDisconnectEnableStatus]; diff --git a/sdk/nodejs/types/enums/documentdb/index.ts b/sdk/nodejs/types/enums/documentdb/index.ts index 96b069cba8f2..739472f459b6 100644 --- a/sdk/nodejs/types/enums/documentdb/index.ts +++ b/sdk/nodejs/types/enums/documentdb/index.ts @@ -6,12 +6,16 @@ import * as v20210401preview from "./v20210401preview"; import * as v20210701preview from "./v20210701preview"; import * as v20230315preview from "./v20230315preview"; import * as v20230415 from "./v20230415"; +import * as v20230915 from "./v20230915"; +import * as v20230915preview from "./v20230915preview"; export { v20210401preview, v20210701preview, v20230315preview, v20230415, + v20230915, + v20230915preview, }; export const AnalyticalStorageSchemaType = { diff --git a/sdk/nodejs/types/enums/documentdb/v20230915/index.ts b/sdk/nodejs/types/enums/documentdb/v20230915/index.ts new file mode 100644 index 000000000000..5bdbb77e9e05 --- /dev/null +++ b/sdk/nodejs/types/enums/documentdb/v20230915/index.ts @@ -0,0 +1,372 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AnalyticalStorageSchemaType = { + WellDefined: "WellDefined", + FullFidelity: "FullFidelity", +} as const; + +/** + * Describes the types of schema for analytical storage. + */ +export type AnalyticalStorageSchemaType = (typeof AnalyticalStorageSchemaType)[keyof typeof AnalyticalStorageSchemaType]; + +export const AuthenticationMethod = { + None: "None", + Cassandra: "Cassandra", + Ldap: "Ldap", +} as const; + +/** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ +export type AuthenticationMethod = (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod]; + +export const BackupPolicyMigrationStatus = { + Invalid: "Invalid", + InProgress: "InProgress", + Completed: "Completed", + Failed: "Failed", +} as const; + +/** + * Describes the status of migration between backup policy types. + */ +export type BackupPolicyMigrationStatus = (typeof BackupPolicyMigrationStatus)[keyof typeof BackupPolicyMigrationStatus]; + +export const BackupPolicyType = { + Periodic: "Periodic", + Continuous: "Continuous", +} as const; + +/** + * Describes the mode of backups. + */ +export type BackupPolicyType = (typeof BackupPolicyType)[keyof typeof BackupPolicyType]; + +export const BackupStorageRedundancy = { + Geo: "Geo", + Local: "Local", + Zone: "Zone", +} as const; + +/** + * Enum to indicate type of backup residency + */ +export type BackupStorageRedundancy = (typeof BackupStorageRedundancy)[keyof typeof BackupStorageRedundancy]; + +export const CompositePathSortOrder = { + Ascending: "ascending", + Descending: "descending", +} as const; + +/** + * Sort order for composite paths. + */ +export type CompositePathSortOrder = (typeof CompositePathSortOrder)[keyof typeof CompositePathSortOrder]; + +export const ConflictResolutionMode = { + LastWriterWins: "LastWriterWins", + Custom: "Custom", +} as const; + +/** + * Indicates the conflict resolution mode. + */ +export type ConflictResolutionMode = (typeof ConflictResolutionMode)[keyof typeof ConflictResolutionMode]; + +export const ConnectorOffer = { + Small: "Small", +} as const; + +/** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ +export type ConnectorOffer = (typeof ConnectorOffer)[keyof typeof ConnectorOffer]; + +export const ContinuousTier = { + Continuous7Days: "Continuous7Days", + Continuous30Days: "Continuous30Days", +} as const; + +/** + * Enum to indicate type of Continuous backup mode + */ +export type ContinuousTier = (typeof ContinuousTier)[keyof typeof ContinuousTier]; + +export const CreateMode = { + Default: "Default", + Restore: "Restore", +} as const; + +/** + * Enum to indicate the mode of account creation. + */ +export type CreateMode = (typeof CreateMode)[keyof typeof CreateMode]; + +export const CustomerManagedKeyStatus = { + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_obtain_the_AAD_authentication_token_for_the_account_s_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_active_directory_token_acquisition_error_4000_: "Access to your account is currently revoked because the Azure Cosmos DB service is unable to obtain the AAD authentication token for the account's default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-active-directory-token-acquisition-error (4000).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_s_key_vault_key_URI_does_not_follow_the_expected_format_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_improper_syntax_detected_on_the_key_vault_uri_property_4006_: "Access to your account is currently revoked because the Azure Cosmos DB account's key vault key URI does not follow the expected format; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#improper-syntax-detected-on-the-key-vault-uri-property (4006).", + Access_to_your_account_is_currently_revoked_because_the_current_default_identity_no_longer_has_permission_to_the_associated_Key_Vault_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_default_identity_is_unauthorized_to_access_the_azure_key_vault_key_4002_: "Access to your account is currently revoked because the current default identity no longer has permission to the associated Key Vault key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#default-identity-is-unauthorized-to-access-the-azure-key-vault-key (4002).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Key_Vault_DNS_name_specified_by_the_account_s_keyvaultkeyuri_property_could_not_be_resolved_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_unable_to_resolve_the_key_vaults_dns_4009_: "Access to your account is currently revoked because the Azure Key Vault DNS name specified by the account's keyvaultkeyuri property could not be resolved; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#unable-to-resolve-the-key-vaults-dns (4009).", + Access_to_your_account_is_currently_revoked_because_the_correspondent_key_is_not_found_on_the_specified_Key_Vault_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4003_: "Access to your account is currently revoked because the correspondent key is not found on the specified Key Vault; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4003).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_wrap_or_unwrap_the_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_internal_unwrapping_procedure_error_4005_: "Access to your account is currently revoked because the Azure Cosmos DB service is unable to wrap or unwrap the key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#internal-unwrapping-procedure-error (4005).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_has_an_undefined_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_invalid_azure_cosmos_db_default_identity_4015_: "Access to your account is currently revoked because the Azure Cosmos DB account has an undefined default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#invalid-azure-cosmos-db-default-identity (4015).", + Access_to_your_account_is_currently_revoked_because_the_access_rules_are_blocking_outbound_requests_to_the_Azure_Key_Vault_service_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_4016_: "Access to your account is currently revoked because the access rules are blocking outbound requests to the Azure Key Vault service; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide (4016).", + Access_to_your_account_is_currently_revoked_because_the_correspondent_Azure_Key_Vault_was_not_found_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4017_: "Access to your account is currently revoked because the correspondent Azure Key Vault was not found; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4017).", + Access_to_your_account_is_currently_revoked_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide: "Access to your account is currently revoked; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide", + Access_to_the_configured_customer_managed_key_confirmed_: "Access to the configured customer managed key confirmed.", +} as const; + +/** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ +export type CustomerManagedKeyStatus = (typeof CustomerManagedKeyStatus)[keyof typeof CustomerManagedKeyStatus]; + +export const DataType = { + String: "String", + Number: "Number", + Point: "Point", + Polygon: "Polygon", + LineString: "LineString", + MultiPolygon: "MultiPolygon", +} as const; + +/** + * The datatype for which the indexing behavior is applied to. + */ +export type DataType = (typeof DataType)[keyof typeof DataType]; + +export const DatabaseAccountKind = { + GlobalDocumentDB: "GlobalDocumentDB", + MongoDB: "MongoDB", + Parse: "Parse", +} as const; + +/** + * Indicates the type of database account. This can only be set at database account creation. + */ +export type DatabaseAccountKind = (typeof DatabaseAccountKind)[keyof typeof DatabaseAccountKind]; + +export const DatabaseAccountOfferType = { + Standard: "Standard", +} as const; + +/** + * The offer type for the database + */ +export type DatabaseAccountOfferType = (typeof DatabaseAccountOfferType)[keyof typeof DatabaseAccountOfferType]; + +export const DefaultConsistencyLevel = { + Eventual: "Eventual", + Session: "Session", + BoundedStaleness: "BoundedStaleness", + Strong: "Strong", + ConsistentPrefix: "ConsistentPrefix", +} as const; + +/** + * The default consistency level and configuration settings of the Cosmos DB account. + */ +export type DefaultConsistencyLevel = (typeof DefaultConsistencyLevel)[keyof typeof DefaultConsistencyLevel]; + +export const IndexKind = { + Hash: "Hash", + Range: "Range", + Spatial: "Spatial", +} as const; + +/** + * Indicates the type of index. + */ +export type IndexKind = (typeof IndexKind)[keyof typeof IndexKind]; + +export const IndexingMode = { + Consistent: "consistent", + Lazy: "lazy", + None: "none", +} as const; + +/** + * Indicates the indexing mode. + */ +export type IndexingMode = (typeof IndexingMode)[keyof typeof IndexingMode]; + +export const ManagedCassandraProvisioningState = { + Creating: "Creating", + Updating: "Updating", + Deleting: "Deleting", + Succeeded: "Succeeded", + Failed: "Failed", + Canceled: "Canceled", +} as const; + +/** + * The status of the resource at the time the operation was called. + */ +export type ManagedCassandraProvisioningState = (typeof ManagedCassandraProvisioningState)[keyof typeof ManagedCassandraProvisioningState]; + +export const ManagedCassandraResourceIdentityType = { + SystemAssigned: "SystemAssigned", + None: "None", +} as const; + +/** + * The type of the resource. + */ +export type ManagedCassandraResourceIdentityType = (typeof ManagedCassandraResourceIdentityType)[keyof typeof ManagedCassandraResourceIdentityType]; + +export const MinimalTlsVersion = { + Tls: "Tls", + Tls11: "Tls11", + Tls12: "Tls12", +} as const; + +/** + * Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + */ +export type MinimalTlsVersion = (typeof MinimalTlsVersion)[keyof typeof MinimalTlsVersion]; + +export const MongoRoleDefinitionType = { + BuiltInRole: "BuiltInRole", + CustomRole: "CustomRole", +} as const; + +/** + * Indicates whether the Role Definition was built-in or user created. + */ +export type MongoRoleDefinitionType = (typeof MongoRoleDefinitionType)[keyof typeof MongoRoleDefinitionType]; + +export const NetworkAclBypass = { + None: "None", + AzureServices: "AzureServices", +} as const; + +/** + * Indicates what services are allowed to bypass firewall checks. + */ +export type NetworkAclBypass = (typeof NetworkAclBypass)[keyof typeof NetworkAclBypass]; + +export const PartitionKind = { + Hash: "Hash", + Range: "Range", + MultiHash: "MultiHash", +} as const; + +/** + * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + */ +export type PartitionKind = (typeof PartitionKind)[keyof typeof PartitionKind]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", + SecuredByPerimeter: "SecuredByPerimeter", +} as const; + +/** + * Whether requests from Public Network are allowed + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const ResourceIdentityType = { + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned,UserAssigned", + None: "None", +} as const; + +/** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ +export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + +export const RestoreMode = { + PointInTime: "PointInTime", +} as const; + +/** + * Describes the mode of the restore. + */ +export type RestoreMode = (typeof RestoreMode)[keyof typeof RestoreMode]; + +export const RoleDefinitionType = { + BuiltInRole: "BuiltInRole", + CustomRole: "CustomRole", +} as const; + +/** + * Indicates whether the Role Definition was built-in or user created. + */ +export type RoleDefinitionType = (typeof RoleDefinitionType)[keyof typeof RoleDefinitionType]; + +export const ServerVersion = { + ServerVersion_3_2: "3.2", + ServerVersion_3_6: "3.6", + ServerVersion_4_0: "4.0", + ServerVersion_4_2: "4.2", +} as const; + +/** + * Describes the ServerVersion of an a MongoDB account. + */ +export type ServerVersion = (typeof ServerVersion)[keyof typeof ServerVersion]; + +export const ServiceSize = { + Cosmos_D4s: "Cosmos.D4s", + Cosmos_D8s: "Cosmos.D8s", + Cosmos_D16s: "Cosmos.D16s", +} as const; + +/** + * Instance type for the service. + */ +export type ServiceSize = (typeof ServiceSize)[keyof typeof ServiceSize]; + +export const ServiceType = { + SqlDedicatedGateway: "SqlDedicatedGateway", + DataTransfer: "DataTransfer", + GraphAPICompute: "GraphAPICompute", + MaterializedViewsBuilder: "MaterializedViewsBuilder", +} as const; + +/** + * ServiceType for the service. + */ +export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType]; + +export const SpatialType = { + Point: "Point", + LineString: "LineString", + Polygon: "Polygon", + MultiPolygon: "MultiPolygon", +} as const; + +/** + * Indicates the spatial type of index. + */ +export type SpatialType = (typeof SpatialType)[keyof typeof SpatialType]; + +export const TriggerOperation = { + All: "All", + Create: "Create", + Update: "Update", + Delete: "Delete", + Replace: "Replace", +} as const; + +/** + * The operation the trigger is associated with + */ +export type TriggerOperation = (typeof TriggerOperation)[keyof typeof TriggerOperation]; + +export const TriggerType = { + Pre: "Pre", + Post: "Post", +} as const; + +/** + * Type of the Trigger + */ +export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType]; diff --git a/sdk/nodejs/types/enums/documentdb/v20230915preview/index.ts b/sdk/nodejs/types/enums/documentdb/v20230915preview/index.ts new file mode 100644 index 000000000000..1b37efb0b380 --- /dev/null +++ b/sdk/nodejs/types/enums/documentdb/v20230915preview/index.ts @@ -0,0 +1,412 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AnalyticalStorageSchemaType = { + WellDefined: "WellDefined", + FullFidelity: "FullFidelity", +} as const; + +/** + * Describes the types of schema for analytical storage. + */ +export type AnalyticalStorageSchemaType = (typeof AnalyticalStorageSchemaType)[keyof typeof AnalyticalStorageSchemaType]; + +export const AuthenticationMethod = { + None: "None", + Cassandra: "Cassandra", + Ldap: "Ldap", +} as const; + +/** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ +export type AuthenticationMethod = (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod]; + +export const BackupPolicyMigrationStatus = { + Invalid: "Invalid", + InProgress: "InProgress", + Completed: "Completed", + Failed: "Failed", +} as const; + +/** + * Describes the status of migration between backup policy types. + */ +export type BackupPolicyMigrationStatus = (typeof BackupPolicyMigrationStatus)[keyof typeof BackupPolicyMigrationStatus]; + +export const BackupPolicyType = { + Periodic: "Periodic", + Continuous: "Continuous", +} as const; + +/** + * Describes the mode of backups. + */ +export type BackupPolicyType = (typeof BackupPolicyType)[keyof typeof BackupPolicyType]; + +export const BackupStorageRedundancy = { + Geo: "Geo", + Local: "Local", + Zone: "Zone", +} as const; + +/** + * Enum to indicate type of backup residency + */ +export type BackupStorageRedundancy = (typeof BackupStorageRedundancy)[keyof typeof BackupStorageRedundancy]; + +export const ClusterType = { + Production: "Production", + NonProduction: "NonProduction", +} as const; + +/** + * Type of the cluster. If set to Production, some operations might not be permitted on cluster. + */ +export type ClusterType = (typeof ClusterType)[keyof typeof ClusterType]; + +export const CompositePathSortOrder = { + Ascending: "ascending", + Descending: "descending", +} as const; + +/** + * Sort order for composite paths. + */ +export type CompositePathSortOrder = (typeof CompositePathSortOrder)[keyof typeof CompositePathSortOrder]; + +export const ConflictResolutionMode = { + LastWriterWins: "LastWriterWins", + Custom: "Custom", +} as const; + +/** + * Indicates the conflict resolution mode. + */ +export type ConflictResolutionMode = (typeof ConflictResolutionMode)[keyof typeof ConflictResolutionMode]; + +export const ConnectorOffer = { + Small: "Small", +} as const; + +/** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ +export type ConnectorOffer = (typeof ConnectorOffer)[keyof typeof ConnectorOffer]; + +export const ContinuousTier = { + Continuous7Days: "Continuous7Days", + Continuous30Days: "Continuous30Days", +} as const; + +/** + * Enum to indicate type of Continuos backup mode + */ +export type ContinuousTier = (typeof ContinuousTier)[keyof typeof ContinuousTier]; + +export const CreateMode = { + Default: "Default", + Restore: "Restore", +} as const; + +/** + * Enum to indicate the mode of resource creation. + */ +export type CreateMode = (typeof CreateMode)[keyof typeof CreateMode]; + +export const CustomerManagedKeyStatus = { + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_obtain_the_AAD_authentication_token_for_the_account_s_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_active_directory_token_acquisition_error_4000_: "Access to your account is currently revoked because the Azure Cosmos DB service is unable to obtain the AAD authentication token for the account's default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-active-directory-token-acquisition-error (4000).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_s_key_vault_key_URI_does_not_follow_the_expected_format_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_improper_syntax_detected_on_the_key_vault_uri_property_4006_: "Access to your account is currently revoked because the Azure Cosmos DB account's key vault key URI does not follow the expected format; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#improper-syntax-detected-on-the-key-vault-uri-property (4006).", + Access_to_your_account_is_currently_revoked_because_the_current_default_identity_no_longer_has_permission_to_the_associated_Key_Vault_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_default_identity_is_unauthorized_to_access_the_azure_key_vault_key_4002_: "Access to your account is currently revoked because the current default identity no longer has permission to the associated Key Vault key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#default-identity-is-unauthorized-to-access-the-azure-key-vault-key (4002).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Key_Vault_DNS_name_specified_by_the_account_s_keyvaultkeyuri_property_could_not_be_resolved_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_unable_to_resolve_the_key_vaults_dns_4009_: "Access to your account is currently revoked because the Azure Key Vault DNS name specified by the account's keyvaultkeyuri property could not be resolved; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#unable-to-resolve-the-key-vaults-dns (4009).", + Access_to_your_account_is_currently_revoked_because_the_correspondent_key_is_not_found_on_the_specified_Key_Vault_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4003_: "Access to your account is currently revoked because the correspondent key is not found on the specified Key Vault; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4003).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_service_is_unable_to_wrap_or_unwrap_the_key_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_internal_unwrapping_procedure_error_4005_: "Access to your account is currently revoked because the Azure Cosmos DB service is unable to wrap or unwrap the key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#internal-unwrapping-procedure-error (4005).", + Access_to_your_account_is_currently_revoked_because_the_Azure_Cosmos_DB_account_has_an_undefined_default_identity_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_invalid_azure_cosmos_db_default_identity_4015_: "Access to your account is currently revoked because the Azure Cosmos DB account has an undefined default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#invalid-azure-cosmos-db-default-identity (4015).", + Access_to_your_account_is_currently_revoked_because_the_access_rules_are_blocking_outbound_requests_to_the_Azure_Key_Vault_service_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_4016_: "Access to your account is currently revoked because the access rules are blocking outbound requests to the Azure Key Vault service; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide (4016).", + Access_to_your_account_is_currently_revoked_because_the_correspondent_Azure_Key_Vault_was_not_found_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide_azure_key_vault_resource_not_found_4017_: "Access to your account is currently revoked because the correspondent Azure Key Vault was not found; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4017).", + Access_to_your_account_is_currently_revoked_for_more_details_about_this_error_and_how_to_restore_access_to_your_account_please_visit_https_learn_microsoft_com_en_us_azure_cosmos_db_cmk_troubleshooting_guide: "Access to your account is currently revoked; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide", + Access_to_the_configured_customer_managed_key_confirmed_: "Access to the configured customer managed key confirmed.", +} as const; + +/** + * Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + */ +export type CustomerManagedKeyStatus = (typeof CustomerManagedKeyStatus)[keyof typeof CustomerManagedKeyStatus]; + +export const DataType = { + String: "String", + Number: "Number", + Point: "Point", + Polygon: "Polygon", + LineString: "LineString", + MultiPolygon: "MultiPolygon", +} as const; + +/** + * The datatype for which the indexing behavior is applied to. + */ +export type DataType = (typeof DataType)[keyof typeof DataType]; + +export const DatabaseAccountKind = { + GlobalDocumentDB: "GlobalDocumentDB", + MongoDB: "MongoDB", + Parse: "Parse", +} as const; + +/** + * Indicates the type of database account. This can only be set at database account creation. + */ +export type DatabaseAccountKind = (typeof DatabaseAccountKind)[keyof typeof DatabaseAccountKind]; + +export const DatabaseAccountOfferType = { + Standard: "Standard", +} as const; + +/** + * The offer type for the database + */ +export type DatabaseAccountOfferType = (typeof DatabaseAccountOfferType)[keyof typeof DatabaseAccountOfferType]; + +export const DefaultConsistencyLevel = { + Eventual: "Eventual", + Session: "Session", + BoundedStaleness: "BoundedStaleness", + Strong: "Strong", + ConsistentPrefix: "ConsistentPrefix", +} as const; + +/** + * The default consistency level and configuration settings of the Cosmos DB account. + */ +export type DefaultConsistencyLevel = (typeof DefaultConsistencyLevel)[keyof typeof DefaultConsistencyLevel]; + +export const DefaultPriorityLevel = { + High: "High", + Low: "Low", +} as const; + +/** + * Enum to indicate default Priority Level of request for Priority Based Execution. + */ +export type DefaultPriorityLevel = (typeof DefaultPriorityLevel)[keyof typeof DefaultPriorityLevel]; + +export const EnableFullTextQuery = { + None: "None", + True: "True", + False: "False", +} as const; + +/** + * Describe the level of detail with which queries are to be logged. + */ +export type EnableFullTextQuery = (typeof EnableFullTextQuery)[keyof typeof EnableFullTextQuery]; + +export const IndexKind = { + Hash: "Hash", + Range: "Range", + Spatial: "Spatial", +} as const; + +/** + * Indicates the type of index. + */ +export type IndexKind = (typeof IndexKind)[keyof typeof IndexKind]; + +export const IndexingMode = { + Consistent: "consistent", + Lazy: "lazy", + None: "none", +} as const; + +/** + * Indicates the indexing mode. + */ +export type IndexingMode = (typeof IndexingMode)[keyof typeof IndexingMode]; + +export const ManagedCassandraProvisioningState = { + Creating: "Creating", + Updating: "Updating", + Deleting: "Deleting", + Succeeded: "Succeeded", + Failed: "Failed", + Canceled: "Canceled", +} as const; + +/** + * The status of the resource at the time the operation was called. + */ +export type ManagedCassandraProvisioningState = (typeof ManagedCassandraProvisioningState)[keyof typeof ManagedCassandraProvisioningState]; + +export const ManagedCassandraResourceIdentityType = { + SystemAssigned: "SystemAssigned", + None: "None", +} as const; + +/** + * The type of the resource. + */ +export type ManagedCassandraResourceIdentityType = (typeof ManagedCassandraResourceIdentityType)[keyof typeof ManagedCassandraResourceIdentityType]; + +export const MinimalTlsVersion = { + Tls: "Tls", + Tls11: "Tls11", + Tls12: "Tls12", +} as const; + +/** + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + */ +export type MinimalTlsVersion = (typeof MinimalTlsVersion)[keyof typeof MinimalTlsVersion]; + +export const MongoRoleDefinitionType = { + BuiltInRole: "BuiltInRole", + CustomRole: "CustomRole", +} as const; + +/** + * Indicates whether the Role Definition was built-in or user created. + */ +export type MongoRoleDefinitionType = (typeof MongoRoleDefinitionType)[keyof typeof MongoRoleDefinitionType]; + +export const NetworkAclBypass = { + None: "None", + AzureServices: "AzureServices", +} as const; + +/** + * Indicates what services are allowed to bypass firewall checks. + */ +export type NetworkAclBypass = (typeof NetworkAclBypass)[keyof typeof NetworkAclBypass]; + +export const NodeKind = { + Shard: "Shard", +} as const; + +/** + * The node type deployed in the node group. + */ +export type NodeKind = (typeof NodeKind)[keyof typeof NodeKind]; + +export const PartitionKind = { + Hash: "Hash", + Range: "Range", + MultiHash: "MultiHash", +} as const; + +/** + * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + */ +export type PartitionKind = (typeof PartitionKind)[keyof typeof PartitionKind]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", + SecuredByPerimeter: "SecuredByPerimeter", +} as const; + +/** + * Whether requests from Public Network are allowed + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const ResourceIdentityType = { + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned,UserAssigned", + None: "None", +} as const; + +/** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ +export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + +export const RestoreMode = { + PointInTime: "PointInTime", +} as const; + +/** + * Describes the mode of the restore. + */ +export type RestoreMode = (typeof RestoreMode)[keyof typeof RestoreMode]; + +export const RoleDefinitionType = { + BuiltInRole: "BuiltInRole", + CustomRole: "CustomRole", +} as const; + +/** + * Indicates whether the Role Definition was built-in or user created. + */ +export type RoleDefinitionType = (typeof RoleDefinitionType)[keyof typeof RoleDefinitionType]; + +export const ServerVersion = { + ServerVersion_3_2: "3.2", + ServerVersion_3_6: "3.6", + ServerVersion_4_0: "4.0", + ServerVersion_4_2: "4.2", +} as const; + +/** + * Describes the ServerVersion of an a MongoDB account. + */ +export type ServerVersion = (typeof ServerVersion)[keyof typeof ServerVersion]; + +export const ServiceSize = { + Cosmos_D4s: "Cosmos.D4s", + Cosmos_D8s: "Cosmos.D8s", + Cosmos_D16s: "Cosmos.D16s", +} as const; + +/** + * Instance type for the service. + */ +export type ServiceSize = (typeof ServiceSize)[keyof typeof ServiceSize]; + +export const ServiceType = { + SqlDedicatedGateway: "SqlDedicatedGateway", + DataTransfer: "DataTransfer", + GraphAPICompute: "GraphAPICompute", + MaterializedViewsBuilder: "MaterializedViewsBuilder", +} as const; + +/** + * ServiceType for the service. + */ +export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType]; + +export const SpatialType = { + Point: "Point", + LineString: "LineString", + Polygon: "Polygon", + MultiPolygon: "MultiPolygon", +} as const; + +/** + * Indicates the spatial type of index. + */ +export type SpatialType = (typeof SpatialType)[keyof typeof SpatialType]; + +export const TriggerOperation = { + All: "All", + Create: "Create", + Update: "Update", + Delete: "Delete", + Replace: "Replace", +} as const; + +/** + * The operation the trigger is associated with + */ +export type TriggerOperation = (typeof TriggerOperation)[keyof typeof TriggerOperation]; + +export const TriggerType = { + Pre: "Pre", + Post: "Post", +} as const; + +/** + * Type of the Trigger + */ +export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType]; diff --git a/sdk/nodejs/types/enums/elasticsan/index.ts b/sdk/nodejs/types/enums/elasticsan/index.ts index e7efa96688a8..a87d62ac3029 100644 --- a/sdk/nodejs/types/enums/elasticsan/index.ts +++ b/sdk/nodejs/types/enums/elasticsan/index.ts @@ -4,10 +4,12 @@ // Export sub-modules: import * as v20211120preview from "./v20211120preview"; import * as v20221201preview from "./v20221201preview"; +import * as v20230101 from "./v20230101"; export { v20211120preview, v20221201preview, + v20230101, }; export const Action = { diff --git a/sdk/nodejs/types/enums/elasticsan/v20230101/index.ts b/sdk/nodejs/types/enums/elasticsan/v20230101/index.ts new file mode 100644 index 000000000000..1cccac38bd84 --- /dev/null +++ b/sdk/nodejs/types/enums/elasticsan/v20230101/index.ts @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const Action = { + Allow: "Allow", +} as const; + +/** + * The action of virtual network rule. + */ +export type Action = (typeof Action)[keyof typeof Action]; + +export const EncryptionType = { + /** + * Volume is encrypted at rest with Platform managed key. It is the default encryption type. + */ + EncryptionAtRestWithPlatformKey: "EncryptionAtRestWithPlatformKey", + /** + * Volume is encrypted at rest with Customer managed key that can be changed and revoked by a customer. + */ + EncryptionAtRestWithCustomerManagedKey: "EncryptionAtRestWithCustomerManagedKey", +} as const; + +/** + * Type of encryption + */ +export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType]; + +export const IdentityType = { + None: "None", + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", +} as const; + +/** + * The identity type. + */ +export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType]; + +export const PrivateEndpointServiceConnectionStatus = { + Pending: "Pending", + Approved: "Approved", + Failed: "Failed", + Rejected: "Rejected", +} as const; + +/** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ +export type PrivateEndpointServiceConnectionStatus = (typeof PrivateEndpointServiceConnectionStatus)[keyof typeof PrivateEndpointServiceConnectionStatus]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const SkuName = { + /** + * Premium locally redundant storage + */ + Premium_LRS: "Premium_LRS", + /** + * Premium zone redundant storage + */ + Premium_ZRS: "Premium_ZRS", +} as const; + +/** + * The sku name. + */ +export type SkuName = (typeof SkuName)[keyof typeof SkuName]; + +export const SkuTier = { + /** + * Premium Tier + */ + Premium: "Premium", +} as const; + +/** + * The sku tier. + */ +export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier]; + +export const StorageTargetType = { + Iscsi: "Iscsi", + None: "None", +} as const; + +/** + * Type of storage target + */ +export type StorageTargetType = (typeof StorageTargetType)[keyof typeof StorageTargetType]; + +export const VolumeCreateOption = { + None: "None", + VolumeSnapshot: "VolumeSnapshot", + DiskSnapshot: "DiskSnapshot", + Disk: "Disk", + DiskRestorePoint: "DiskRestorePoint", +} as const; + +/** + * This enumerates the possible sources of a volume creation. + */ +export type VolumeCreateOption = (typeof VolumeCreateOption)[keyof typeof VolumeCreateOption]; diff --git a/sdk/nodejs/types/enums/index.ts b/sdk/nodejs/types/enums/index.ts index b9a83be4a66d..efbd164f8c5e 100644 --- a/sdk/nodejs/types/enums/index.ts +++ b/sdk/nodejs/types/enums/index.ts @@ -100,7 +100,6 @@ import * as importexport from "./importexport"; import * as insights from "./insights"; import * as iotcentral from "./iotcentral"; import * as iotfirmwaredefense from "./iotfirmwaredefense"; -import * as iotsecurity from "./iotsecurity"; import * as keyvault from "./keyvault"; import * as kubernetes from "./kubernetes"; import * as kubernetesconfiguration from "./kubernetesconfiguration"; @@ -168,11 +167,11 @@ import * as solutions from "./solutions"; import * as sql from "./sql"; import * as sqlvirtualmachine from "./sqlvirtualmachine"; import * as storage from "./storage"; +import * as storageactions from "./storageactions"; import * as storagecache from "./storagecache"; import * as storagemover from "./storagemover"; import * as storagepool from "./storagepool"; import * as storagesync from "./storagesync"; -import * as storagetasks from "./storagetasks"; import * as storsimple from "./storsimple"; import * as streamanalytics from "./streamanalytics"; import * as subscription from "./subscription"; @@ -289,7 +288,6 @@ export { insights, iotcentral, iotfirmwaredefense, - iotsecurity, keyvault, kubernetes, kubernetesconfiguration, @@ -357,11 +355,11 @@ export { sql, sqlvirtualmachine, storage, + storageactions, storagecache, storagemover, storagepool, storagesync, - storagetasks, storsimple, streamanalytics, subscription, diff --git a/sdk/nodejs/types/enums/iotsecurity/index.ts b/sdk/nodejs/types/enums/iotsecurity/index.ts deleted file mode 100644 index 60606e2d1ce7..000000000000 --- a/sdk/nodejs/types/enums/iotsecurity/index.ts +++ /dev/null @@ -1,41 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -// Export sub-modules: -import * as v20210201preview from "./v20210201preview"; - -export { - v20210201preview, -}; - -export const MdeIntegration = { - Disabled: "Disabled", - Enabled: "Enabled", -} as const; - -/** - * Integration status - */ -export type MdeIntegration = (typeof MdeIntegration)[keyof typeof MdeIntegration]; - -export const OnboardingKind = { - Default: "Default", - MigratedToAzure: "MigratedToAzure", - Evaluation: "Evaluation", - Purchased: "Purchased", -} as const; - -/** - * The kind of onboarding for the subscription - */ -export type OnboardingKind = (typeof OnboardingKind)[keyof typeof OnboardingKind]; - -export const SensorType = { - Ot: "Ot", - Enterprise: "Enterprise", -} as const; - -/** - * Type of sensor - */ -export type SensorType = (typeof SensorType)[keyof typeof SensorType]; diff --git a/sdk/nodejs/types/enums/iotsecurity/v20210201preview/index.ts b/sdk/nodejs/types/enums/iotsecurity/v20210201preview/index.ts deleted file mode 100644 index bb90943911ea..000000000000 --- a/sdk/nodejs/types/enums/iotsecurity/v20210201preview/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -// *** WARNING: this file was generated by pulumi-language-nodejs. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - - -export const MdeIntegration = { - Disabled: "Disabled", - Enabled: "Enabled", -} as const; - -/** - * Integration status - */ -export type MdeIntegration = (typeof MdeIntegration)[keyof typeof MdeIntegration]; - -export const OnboardingKind = { - Default: "Default", - MigratedToAzure: "MigratedToAzure", - Evaluation: "Evaluation", - Purchased: "Purchased", -} as const; - -/** - * The kind of onboarding for the subscription - */ -export type OnboardingKind = (typeof OnboardingKind)[keyof typeof OnboardingKind]; - -export const SensorType = { - Ot: "Ot", - Enterprise: "Enterprise", -} as const; - -/** - * Type of sensor - */ -export type SensorType = (typeof SensorType)[keyof typeof SensorType]; diff --git a/sdk/nodejs/types/enums/keyvault/index.ts b/sdk/nodejs/types/enums/keyvault/index.ts index d9c0fb419122..6839fcf376d3 100644 --- a/sdk/nodejs/types/enums/keyvault/index.ts +++ b/sdk/nodejs/types/enums/keyvault/index.ts @@ -117,7 +117,7 @@ export type KeyPermissions = (typeof KeyPermissions)[keyof typeof KeyPermissions export const KeyRotationPolicyActionType = { /** - * Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead. + * Rotate the key based on the key policy. */ Rotate: "Rotate", /** @@ -127,7 +127,7 @@ export const KeyRotationPolicyActionType = { } as const; /** - * The type of the action. + * The type of the action. The value should be compared case-insensitively. */ export type KeyRotationPolicyActionType = (typeof KeyRotationPolicyActionType)[keyof typeof KeyRotationPolicyActionType]; diff --git a/sdk/nodejs/types/enums/keyvault/v20230201/index.ts b/sdk/nodejs/types/enums/keyvault/v20230201/index.ts index 6af5de2bdd10..e909592f93ee 100644 --- a/sdk/nodejs/types/enums/keyvault/v20230201/index.ts +++ b/sdk/nodejs/types/enums/keyvault/v20230201/index.ts @@ -111,7 +111,7 @@ export type KeyPermissions = (typeof KeyPermissions)[keyof typeof KeyPermissions export const KeyRotationPolicyActionType = { /** - * Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead. + * Rotate the key based on the key policy. */ Rotate: "Rotate", /** @@ -121,7 +121,7 @@ export const KeyRotationPolicyActionType = { } as const; /** - * The type of the action. + * The type of the action. The value should be compared case-insensitively. */ export type KeyRotationPolicyActionType = (typeof KeyRotationPolicyActionType)[keyof typeof KeyRotationPolicyActionType]; diff --git a/sdk/nodejs/types/enums/kusto/index.ts b/sdk/nodejs/types/enums/kusto/index.ts index 44a26ccd2f90..08658a5e4bad 100644 --- a/sdk/nodejs/types/enums/kusto/index.ts +++ b/sdk/nodejs/types/enums/kusto/index.ts @@ -9,6 +9,7 @@ import * as v20200215 from "./v20200215"; import * as v20220707 from "./v20220707"; import * as v20221229 from "./v20221229"; import * as v20230502 from "./v20230502"; +import * as v20230815 from "./v20230815"; export { v20180907preview, @@ -18,6 +19,7 @@ export { v20220707, v20221229, v20230502, + v20230815, }; export const AzureSkuName = { @@ -304,6 +306,15 @@ export const Kind = { */ export type Kind = (typeof Kind)[keyof typeof Kind]; +export const Language = { + Python: "Python", +} as const; + +/** + * The language name, for example Python. + */ +export type Language = (typeof Language)[keyof typeof Language]; + export const LanguageExtensionImageName = { R: "R", Python3_6_5: "Python3_6_5", diff --git a/sdk/nodejs/types/enums/kusto/v20230815/index.ts b/sdk/nodejs/types/enums/kusto/v20230815/index.ts new file mode 100644 index 000000000000..29fec7d2b88b --- /dev/null +++ b/sdk/nodejs/types/enums/kusto/v20230815/index.ts @@ -0,0 +1,349 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AzureSkuName = { + Dev_No_SLA_Standard_D11_v2: "Dev(No SLA)_Standard_D11_v2", + Dev_No_SLA_Standard_E2a_v4: "Dev(No SLA)_Standard_E2a_v4", + Standard_D11_v2: "Standard_D11_v2", + Standard_D12_v2: "Standard_D12_v2", + Standard_D13_v2: "Standard_D13_v2", + Standard_D14_v2: "Standard_D14_v2", + Standard_D32d_v4: "Standard_D32d_v4", + Standard_D16d_v5: "Standard_D16d_v5", + Standard_D32d_v5: "Standard_D32d_v5", + Standard_DS13_v2_1TB_PS: "Standard_DS13_v2+1TB_PS", + Standard_DS13_v2_2TB_PS: "Standard_DS13_v2+2TB_PS", + Standard_DS14_v2_3TB_PS: "Standard_DS14_v2+3TB_PS", + Standard_DS14_v2_4TB_PS: "Standard_DS14_v2+4TB_PS", + Standard_L4s: "Standard_L4s", + Standard_L8s: "Standard_L8s", + Standard_L16s: "Standard_L16s", + Standard_L8s_v2: "Standard_L8s_v2", + Standard_L16s_v2: "Standard_L16s_v2", + Standard_L8s_v3: "Standard_L8s_v3", + Standard_L16s_v3: "Standard_L16s_v3", + Standard_L32s_v3: "Standard_L32s_v3", + Standard_L8as_v3: "Standard_L8as_v3", + Standard_L16as_v3: "Standard_L16as_v3", + Standard_L32as_v3: "Standard_L32as_v3", + Standard_E64i_v3: "Standard_E64i_v3", + Standard_E80ids_v4: "Standard_E80ids_v4", + Standard_E2a_v4: "Standard_E2a_v4", + Standard_E4a_v4: "Standard_E4a_v4", + Standard_E8a_v4: "Standard_E8a_v4", + Standard_E16a_v4: "Standard_E16a_v4", + Standard_E8as_v4_1TB_PS: "Standard_E8as_v4+1TB_PS", + Standard_E8as_v4_2TB_PS: "Standard_E8as_v4+2TB_PS", + Standard_E16as_v4_3TB_PS: "Standard_E16as_v4+3TB_PS", + Standard_E16as_v4_4TB_PS: "Standard_E16as_v4+4TB_PS", + Standard_E8as_v5_1TB_PS: "Standard_E8as_v5+1TB_PS", + Standard_E8as_v5_2TB_PS: "Standard_E8as_v5+2TB_PS", + Standard_E16as_v5_3TB_PS: "Standard_E16as_v5+3TB_PS", + Standard_E16as_v5_4TB_PS: "Standard_E16as_v5+4TB_PS", + Standard_E2ads_v5: "Standard_E2ads_v5", + Standard_E4ads_v5: "Standard_E4ads_v5", + Standard_E8ads_v5: "Standard_E8ads_v5", + Standard_E16ads_v5: "Standard_E16ads_v5", + Standard_EC8as_v5_1TB_PS: "Standard_EC8as_v5+1TB_PS", + Standard_EC8as_v5_2TB_PS: "Standard_EC8as_v5+2TB_PS", + Standard_EC16as_v5_3TB_PS: "Standard_EC16as_v5+3TB_PS", + Standard_EC16as_v5_4TB_PS: "Standard_EC16as_v5+4TB_PS", + Standard_EC8ads_v5: "Standard_EC8ads_v5", + Standard_EC16ads_v5: "Standard_EC16ads_v5", + Standard_E8s_v4_1TB_PS: "Standard_E8s_v4+1TB_PS", + Standard_E8s_v4_2TB_PS: "Standard_E8s_v4+2TB_PS", + Standard_E16s_v4_3TB_PS: "Standard_E16s_v4+3TB_PS", + Standard_E16s_v4_4TB_PS: "Standard_E16s_v4+4TB_PS", + Standard_E8s_v5_1TB_PS: "Standard_E8s_v5+1TB_PS", + Standard_E8s_v5_2TB_PS: "Standard_E8s_v5+2TB_PS", + Standard_E16s_v5_3TB_PS: "Standard_E16s_v5+3TB_PS", + Standard_E16s_v5_4TB_PS: "Standard_E16s_v5+4TB_PS", + Standard_E2d_v4: "Standard_E2d_v4", + Standard_E4d_v4: "Standard_E4d_v4", + Standard_E8d_v4: "Standard_E8d_v4", + Standard_E16d_v4: "Standard_E16d_v4", + Standard_E2d_v5: "Standard_E2d_v5", + Standard_E4d_v5: "Standard_E4d_v5", + Standard_E8d_v5: "Standard_E8d_v5", + Standard_E16d_v5: "Standard_E16d_v5", +} as const; + +/** + * SKU name. + */ +export type AzureSkuName = (typeof AzureSkuName)[keyof typeof AzureSkuName]; + +export const AzureSkuTier = { + Basic: "Basic", + Standard: "Standard", +} as const; + +/** + * SKU tier. + */ +export type AzureSkuTier = (typeof AzureSkuTier)[keyof typeof AzureSkuTier]; + +export const BlobStorageEventType = { + Microsoft_Storage_BlobCreated: "Microsoft.Storage.BlobCreated", + Microsoft_Storage_BlobRenamed: "Microsoft.Storage.BlobRenamed", +} as const; + +/** + * The name of blob storage event type to process. + */ +export type BlobStorageEventType = (typeof BlobStorageEventType)[keyof typeof BlobStorageEventType]; + +export const ClusterNetworkAccessFlag = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + */ +export type ClusterNetworkAccessFlag = (typeof ClusterNetworkAccessFlag)[keyof typeof ClusterNetworkAccessFlag]; + +export const ClusterPrincipalRole = { + AllDatabasesAdmin: "AllDatabasesAdmin", + AllDatabasesViewer: "AllDatabasesViewer", +} as const; + +/** + * Cluster principal role. + */ +export type ClusterPrincipalRole = (typeof ClusterPrincipalRole)[keyof typeof ClusterPrincipalRole]; + +export const Compression = { + None: "None", + GZip: "GZip", +} as const; + +/** + * The event hub messages compression type + */ +export type Compression = (typeof Compression)[keyof typeof Compression]; + +export const DataConnectionKind = { + EventHub: "EventHub", + EventGrid: "EventGrid", + IotHub: "IotHub", + CosmosDb: "CosmosDb", +} as const; + +/** + * Kind of the endpoint for the data connection + */ +export type DataConnectionKind = (typeof DataConnectionKind)[keyof typeof DataConnectionKind]; + +export const DatabasePrincipalRole = { + Admin: "Admin", + Ingestor: "Ingestor", + Monitor: "Monitor", + User: "User", + UnrestrictedViewer: "UnrestrictedViewer", + Viewer: "Viewer", +} as const; + +/** + * Database principal role. + */ +export type DatabasePrincipalRole = (typeof DatabasePrincipalRole)[keyof typeof DatabasePrincipalRole]; + +export const DatabaseRouting = { + Single: "Single", + Multi: "Multi", +} as const; + +/** + * Indication for database routing information from the data connection, by default only database routing information is allowed + */ +export type DatabaseRouting = (typeof DatabaseRouting)[keyof typeof DatabaseRouting]; + +export const DefaultPrincipalsModificationKind = { + Union: "Union", + Replace: "Replace", + None: "None", +} as const; + +/** + * The default principals modification kind + */ +export type DefaultPrincipalsModificationKind = (typeof DefaultPrincipalsModificationKind)[keyof typeof DefaultPrincipalsModificationKind]; + +export const EngineType = { + V2: "V2", + V3: "V3", +} as const; + +/** + * The engine type + */ +export type EngineType = (typeof EngineType)[keyof typeof EngineType]; + +export const EventGridDataFormat = { + MULTIJSON: "MULTIJSON", + JSON: "JSON", + CSV: "CSV", + TSV: "TSV", + SCSV: "SCSV", + SOHSV: "SOHSV", + PSV: "PSV", + TXT: "TXT", + RAW: "RAW", + SINGLEJSON: "SINGLEJSON", + AVRO: "AVRO", + TSVE: "TSVE", + PARQUET: "PARQUET", + ORC: "ORC", + APACHEAVRO: "APACHEAVRO", + W3CLOGFILE: "W3CLOGFILE", +} as const; + +/** + * The data format of the message. Optionally the data format can be added to each message. + */ +export type EventGridDataFormat = (typeof EventGridDataFormat)[keyof typeof EventGridDataFormat]; + +export const EventHubDataFormat = { + MULTIJSON: "MULTIJSON", + JSON: "JSON", + CSV: "CSV", + TSV: "TSV", + SCSV: "SCSV", + SOHSV: "SOHSV", + PSV: "PSV", + TXT: "TXT", + RAW: "RAW", + SINGLEJSON: "SINGLEJSON", + AVRO: "AVRO", + TSVE: "TSVE", + PARQUET: "PARQUET", + ORC: "ORC", + APACHEAVRO: "APACHEAVRO", + W3CLOGFILE: "W3CLOGFILE", +} as const; + +/** + * The data format of the message. Optionally the data format can be added to each message. + */ +export type EventHubDataFormat = (typeof EventHubDataFormat)[keyof typeof EventHubDataFormat]; + +export const IdentityType = { + None: "None", + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned, UserAssigned", +} as const; + +/** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + */ +export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType]; + +export const IotHubDataFormat = { + MULTIJSON: "MULTIJSON", + JSON: "JSON", + CSV: "CSV", + TSV: "TSV", + SCSV: "SCSV", + SOHSV: "SOHSV", + PSV: "PSV", + TXT: "TXT", + RAW: "RAW", + SINGLEJSON: "SINGLEJSON", + AVRO: "AVRO", + TSVE: "TSVE", + PARQUET: "PARQUET", + ORC: "ORC", + APACHEAVRO: "APACHEAVRO", + W3CLOGFILE: "W3CLOGFILE", +} as const; + +/** + * The data format of the message. Optionally the data format can be added to each message. + */ +export type IotHubDataFormat = (typeof IotHubDataFormat)[keyof typeof IotHubDataFormat]; + +export const Kind = { + ReadWrite: "ReadWrite", + ReadOnlyFollowing: "ReadOnlyFollowing", +} as const; + +/** + * Kind of the database + */ +export type Kind = (typeof Kind)[keyof typeof Kind]; + +export const Language = { + Python: "Python", +} as const; + +/** + * The language name, for example Python. + */ +export type Language = (typeof Language)[keyof typeof Language]; + +export const LanguageExtensionImageName = { + R: "R", + Python3_6_5: "Python3_6_5", + Python3_10_8: "Python3_10_8", + Python3_10_8_DL: "Python3_10_8_DL", + PythonCustomImage: "PythonCustomImage", +} as const; + +/** + * The language extension image name. + */ +export type LanguageExtensionImageName = (typeof LanguageExtensionImageName)[keyof typeof LanguageExtensionImageName]; + +export const LanguageExtensionName = { + PYTHON: "PYTHON", + R: "R", +} as const; + +/** + * The language extension name. + */ +export type LanguageExtensionName = (typeof LanguageExtensionName)[keyof typeof LanguageExtensionName]; + +export const PrincipalType = { + App: "App", + Group: "Group", + User: "User", +} as const; + +/** + * Principal type. + */ +export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType]; + +export const PublicIPType = { + IPv4: "IPv4", + DualStack: "DualStack", +} as const; + +/** + * Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + */ +export type PublicIPType = (typeof PublicIPType)[keyof typeof PublicIPType]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const VnetState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + */ +export type VnetState = (typeof VnetState)[keyof typeof VnetState]; diff --git a/sdk/nodejs/types/enums/recoveryservices/v20230601/index.ts b/sdk/nodejs/types/enums/recoveryservices/v20230601/index.ts index 4c1fd60ac8fa..9ba3977d1ea6 100644 --- a/sdk/nodejs/types/enums/recoveryservices/v20230601/index.ts +++ b/sdk/nodejs/types/enums/recoveryservices/v20230601/index.ts @@ -12,6 +12,13 @@ export const AgentAutoUpdateStatus = { */ export type AgentAutoUpdateStatus = (typeof AgentAutoUpdateStatus)[keyof typeof AgentAutoUpdateStatus]; +export const AlertsState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +export type AlertsState = (typeof AlertsState)[keyof typeof AlertsState]; + export const AutomationAccountAuthenticationType = { RunAsAccount: "RunAsAccount", SystemAssignedIdentity: "SystemAssignedIdentity", @@ -22,6 +29,14 @@ export const AutomationAccountAuthenticationType = { */ export type AutomationAccountAuthenticationType = (typeof AutomationAccountAuthenticationType)[keyof typeof AutomationAccountAuthenticationType]; +export const CrossSubscriptionRestoreState = { + Enabled: "Enabled", + Disabled: "Disabled", + PermanentlyDisabled: "PermanentlyDisabled", +} as const; + +export type CrossSubscriptionRestoreState = (typeof CrossSubscriptionRestoreState)[keyof typeof CrossSubscriptionRestoreState]; + export const DiskAccountType = { Standard_LRS: "Standard_LRS", Premium_LRS: "Premium_LRS", @@ -53,6 +68,24 @@ export const FailoverDeploymentModel = { */ export type FailoverDeploymentModel = (typeof FailoverDeploymentModel)[keyof typeof FailoverDeploymentModel]; +export const ImmutabilityState = { + Disabled: "Disabled", + Unlocked: "Unlocked", + Locked: "Locked", +} as const; + +export type ImmutabilityState = (typeof ImmutabilityState)[keyof typeof ImmutabilityState]; + +export const InfrastructureEncryptionState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Enabling/Disabling the Double Encryption state + */ +export type InfrastructureEncryptionState = (typeof InfrastructureEncryptionState)[keyof typeof InfrastructureEncryptionState]; + export const LicenseType = { NotSpecified: "NotSpecified", NoLicenseType: "NoLicenseType", @@ -71,6 +104,16 @@ export const PossibleOperationsDirections = { export type PossibleOperationsDirections = (typeof PossibleOperationsDirections)[keyof typeof PossibleOperationsDirections]; +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * property to enable or disable resource provider inbound network traffic from public clients + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + export const RecoveryPlanActionLocation = { Primary: "Primary", Recovery: "Recovery", @@ -111,6 +154,18 @@ export const ReplicationProtectedItemOperation = { export type ReplicationProtectedItemOperation = (typeof ReplicationProtectedItemOperation)[keyof typeof ReplicationProtectedItemOperation]; +export const ResourceIdentityType = { + SystemAssigned: "SystemAssigned", + None: "None", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned, UserAssigned", +} as const; + +/** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + */ +export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + export const SecurityType = { None: "None", TrustedLaunch: "TrustedLaunch", @@ -132,6 +187,25 @@ export const SetMultiVmSyncStatus = { */ export type SetMultiVmSyncStatus = (typeof SetMultiVmSyncStatus)[keyof typeof SetMultiVmSyncStatus]; +export const SkuName = { + Standard: "Standard", + RS0: "RS0", +} as const; + +/** + * Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + */ +export type SkuName = (typeof SkuName)[keyof typeof SkuName]; + +export const SoftDeleteState = { + Invalid: "Invalid", + Enabled: "Enabled", + Disabled: "Disabled", + AlwaysON: "AlwaysON", +} as const; + +export type SoftDeleteState = (typeof SoftDeleteState)[keyof typeof SoftDeleteState]; + export const SqlServerLicenseType = { NotSpecified: "NotSpecified", NoLicenseType: "NoLicenseType", diff --git a/sdk/nodejs/types/enums/securityinsights/index.ts b/sdk/nodejs/types/enums/securityinsights/index.ts index bd283c983963..c02640bc5f63 100644 --- a/sdk/nodejs/types/enums/securityinsights/index.ts +++ b/sdk/nodejs/types/enums/securityinsights/index.ts @@ -25,6 +25,7 @@ import * as v20230501preview from "./v20230501preview"; import * as v20230601preview from "./v20230601preview"; import * as v20230701preview from "./v20230701preview"; import * as v20230801preview from "./v20230801preview"; +import * as v20230901preview from "./v20230901preview"; export { v20190101preview, @@ -50,6 +51,7 @@ export { v20230601preview, v20230701preview, v20230801preview, + v20230901preview, }; export const ActionType = { diff --git a/sdk/nodejs/types/enums/securityinsights/v20230901preview/index.ts b/sdk/nodejs/types/enums/securityinsights/v20230901preview/index.ts new file mode 100644 index 000000000000..8ea09fe69cb7 --- /dev/null +++ b/sdk/nodejs/types/enums/securityinsights/v20230901preview/index.ts @@ -0,0 +1,1354 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const ActionType = { + /** + * Modify an object's properties + */ + ModifyProperties: "ModifyProperties", + /** + * Run a playbook on an object + */ + RunPlaybook: "RunPlaybook", + /** + * Add a task to an incident object + */ + AddIncidentTask: "AddIncidentTask", +} as const; + +/** + * The type of the automation rule action. + */ +export type ActionType = (typeof ActionType)[keyof typeof ActionType]; + +export const AlertDetail = { + /** + * Alert display name + */ + DisplayName: "DisplayName", + /** + * Alert severity + */ + Severity: "Severity", +} as const; + +/** + * Alert detail + */ +export type AlertDetail = (typeof AlertDetail)[keyof typeof AlertDetail]; + +export const AlertProperty = { + /** + * Alert's link + */ + AlertLink: "AlertLink", + /** + * Confidence level property + */ + ConfidenceLevel: "ConfidenceLevel", + /** + * Confidence score + */ + ConfidenceScore: "ConfidenceScore", + /** + * Extended links to the alert + */ + ExtendedLinks: "ExtendedLinks", + /** + * Product name alert property + */ + ProductName: "ProductName", + /** + * Provider name alert property + */ + ProviderName: "ProviderName", + /** + * Product component name alert property + */ + ProductComponentName: "ProductComponentName", + /** + * Remediation steps alert property + */ + RemediationSteps: "RemediationSteps", + /** + * Techniques alert property + */ + Techniques: "Techniques", +} as const; + +/** + * The V3 alert property + */ +export type AlertProperty = (typeof AlertProperty)[keyof typeof AlertProperty]; + +export const AlertRuleKind = { + Scheduled: "Scheduled", + MicrosoftSecurityIncidentCreation: "MicrosoftSecurityIncidentCreation", + Fusion: "Fusion", + MLBehaviorAnalytics: "MLBehaviorAnalytics", + ThreatIntelligence: "ThreatIntelligence", + NRT: "NRT", +} as const; + +/** + * The kind of the alert rule + */ +export type AlertRuleKind = (typeof AlertRuleKind)[keyof typeof AlertRuleKind]; + +export const AlertSeverity = { + /** + * High severity + */ + High: "High", + /** + * Medium severity + */ + Medium: "Medium", + /** + * Low severity + */ + Low: "Low", + /** + * Informational severity + */ + Informational: "Informational", +} as const; + +/** + * The severity for alerts created by this alert rule. + */ +export type AlertSeverity = (typeof AlertSeverity)[keyof typeof AlertSeverity]; + +export const AttackTactic = { + Reconnaissance: "Reconnaissance", + ResourceDevelopment: "ResourceDevelopment", + InitialAccess: "InitialAccess", + Execution: "Execution", + Persistence: "Persistence", + PrivilegeEscalation: "PrivilegeEscalation", + DefenseEvasion: "DefenseEvasion", + CredentialAccess: "CredentialAccess", + Discovery: "Discovery", + LateralMovement: "LateralMovement", + Collection: "Collection", + Exfiltration: "Exfiltration", + CommandAndControl: "CommandAndControl", + Impact: "Impact", + PreAttack: "PreAttack", + ImpairProcessControl: "ImpairProcessControl", + InhibitResponseFunction: "InhibitResponseFunction", +} as const; + +/** + * The severity for alerts created by this alert rule. + */ +export type AttackTactic = (typeof AttackTactic)[keyof typeof AttackTactic]; + +export const AutomationRuleBooleanConditionSupportedOperator = { + /** + * Evaluates as true if all the item conditions are evaluated as true + */ + And: "And", + /** + * Evaluates as true if at least one of the item conditions are evaluated as true + */ + Or: "Or", +} as const; + +export type AutomationRuleBooleanConditionSupportedOperator = (typeof AutomationRuleBooleanConditionSupportedOperator)[keyof typeof AutomationRuleBooleanConditionSupportedOperator]; + +export const AutomationRulePropertyArrayChangedConditionSupportedArrayType = { + /** + * Evaluate the condition on the alerts + */ + Alerts: "Alerts", + /** + * Evaluate the condition on the labels + */ + Labels: "Labels", + /** + * Evaluate the condition on the tactics + */ + Tactics: "Tactics", + /** + * Evaluate the condition on the comments + */ + Comments: "Comments", +} as const; + +export type AutomationRulePropertyArrayChangedConditionSupportedArrayType = (typeof AutomationRulePropertyArrayChangedConditionSupportedArrayType)[keyof typeof AutomationRulePropertyArrayChangedConditionSupportedArrayType]; + +export const AutomationRulePropertyArrayChangedConditionSupportedChangeType = { + /** + * Evaluate the condition on items added to the array + */ + Added: "Added", +} as const; + +export type AutomationRulePropertyArrayChangedConditionSupportedChangeType = (typeof AutomationRulePropertyArrayChangedConditionSupportedChangeType)[keyof typeof AutomationRulePropertyArrayChangedConditionSupportedChangeType]; + +export const AutomationRulePropertyArrayConditionSupportedArrayConditionType = { + /** + * Evaluate the condition as true if any item fulfills it + */ + AnyItem: "AnyItem", +} as const; + +export type AutomationRulePropertyArrayConditionSupportedArrayConditionType = (typeof AutomationRulePropertyArrayConditionSupportedArrayConditionType)[keyof typeof AutomationRulePropertyArrayConditionSupportedArrayConditionType]; + +export const AutomationRulePropertyArrayConditionSupportedArrayType = { + /** + * Evaluate the condition on the custom detail keys + */ + CustomDetails: "CustomDetails", + /** + * Evaluate the condition on a custom detail's values + */ + CustomDetailValues: "CustomDetailValues", +} as const; + +export type AutomationRulePropertyArrayConditionSupportedArrayType = (typeof AutomationRulePropertyArrayConditionSupportedArrayType)[keyof typeof AutomationRulePropertyArrayConditionSupportedArrayType]; + +export const AutomationRulePropertyChangedConditionSupportedChangedType = { + /** + * Evaluate the condition on the previous value of the property + */ + ChangedFrom: "ChangedFrom", + /** + * Evaluate the condition on the updated value of the property + */ + ChangedTo: "ChangedTo", +} as const; + +export type AutomationRulePropertyChangedConditionSupportedChangedType = (typeof AutomationRulePropertyChangedConditionSupportedChangedType)[keyof typeof AutomationRulePropertyChangedConditionSupportedChangedType]; + +export const AutomationRulePropertyChangedConditionSupportedPropertyType = { + /** + * Evaluate the condition on the incident severity + */ + IncidentSeverity: "IncidentSeverity", + /** + * Evaluate the condition on the incident status + */ + IncidentStatus: "IncidentStatus", + /** + * Evaluate the condition on the incident owner + */ + IncidentOwner: "IncidentOwner", +} as const; + +export type AutomationRulePropertyChangedConditionSupportedPropertyType = (typeof AutomationRulePropertyChangedConditionSupportedPropertyType)[keyof typeof AutomationRulePropertyChangedConditionSupportedPropertyType]; + +export const AutomationRulePropertyConditionSupportedOperator = { + /** + * Evaluates if the property equals at least one of the condition values + */ + Equals: "Equals", + /** + * Evaluates if the property does not equal any of the condition values + */ + NotEquals: "NotEquals", + /** + * Evaluates if the property contains at least one of the condition values + */ + Contains: "Contains", + /** + * Evaluates if the property does not contain any of the condition values + */ + NotContains: "NotContains", + /** + * Evaluates if the property starts with any of the condition values + */ + StartsWith: "StartsWith", + /** + * Evaluates if the property does not start with any of the condition values + */ + NotStartsWith: "NotStartsWith", + /** + * Evaluates if the property ends with any of the condition values + */ + EndsWith: "EndsWith", + /** + * Evaluates if the property does not end with any of the condition values + */ + NotEndsWith: "NotEndsWith", +} as const; + +export type AutomationRulePropertyConditionSupportedOperator = (typeof AutomationRulePropertyConditionSupportedOperator)[keyof typeof AutomationRulePropertyConditionSupportedOperator]; + +export const AutomationRulePropertyConditionSupportedProperty = { + /** + * The title of the incident + */ + IncidentTitle: "IncidentTitle", + /** + * The description of the incident + */ + IncidentDescription: "IncidentDescription", + /** + * The severity of the incident + */ + IncidentSeverity: "IncidentSeverity", + /** + * The status of the incident + */ + IncidentStatus: "IncidentStatus", + /** + * The related Analytic rule ids of the incident + */ + IncidentRelatedAnalyticRuleIds: "IncidentRelatedAnalyticRuleIds", + /** + * The tactics of the incident + */ + IncidentTactics: "IncidentTactics", + /** + * The labels of the incident + */ + IncidentLabel: "IncidentLabel", + /** + * The provider name of the incident + */ + IncidentProviderName: "IncidentProviderName", + /** + * The update source of the incident + */ + IncidentUpdatedBySource: "IncidentUpdatedBySource", + /** + * The incident custom detail key + */ + IncidentCustomDetailsKey: "IncidentCustomDetailsKey", + /** + * The incident custom detail value + */ + IncidentCustomDetailsValue: "IncidentCustomDetailsValue", + /** + * The account Azure Active Directory tenant id + */ + AccountAadTenantId: "AccountAadTenantId", + /** + * The account Azure Active Directory user id + */ + AccountAadUserId: "AccountAadUserId", + /** + * The account name + */ + AccountName: "AccountName", + /** + * The account NetBIOS domain name + */ + AccountNTDomain: "AccountNTDomain", + /** + * The account Azure Active Directory Passport User ID + */ + AccountPUID: "AccountPUID", + /** + * The account security identifier + */ + AccountSid: "AccountSid", + /** + * The account unique identifier + */ + AccountObjectGuid: "AccountObjectGuid", + /** + * The account user principal name suffix + */ + AccountUPNSuffix: "AccountUPNSuffix", + /** + * The name of the product of the alert + */ + AlertProductNames: "AlertProductNames", + /** + * The analytic rule ids of the alert + */ + AlertAnalyticRuleIds: "AlertAnalyticRuleIds", + /** + * The Azure resource id + */ + AzureResourceResourceId: "AzureResourceResourceId", + /** + * The Azure resource subscription id + */ + AzureResourceSubscriptionId: "AzureResourceSubscriptionId", + /** + * The cloud application identifier + */ + CloudApplicationAppId: "CloudApplicationAppId", + /** + * The cloud application name + */ + CloudApplicationAppName: "CloudApplicationAppName", + /** + * The dns record domain name + */ + DNSDomainName: "DNSDomainName", + /** + * The file directory full path + */ + FileDirectory: "FileDirectory", + /** + * The file name without path + */ + FileName: "FileName", + /** + * The file hash value + */ + FileHashValue: "FileHashValue", + /** + * The host Azure resource id + */ + HostAzureID: "HostAzureID", + /** + * The host name without domain + */ + HostName: "HostName", + /** + * The host NetBIOS name + */ + HostNetBiosName: "HostNetBiosName", + /** + * The host NT domain + */ + HostNTDomain: "HostNTDomain", + /** + * The host operating system + */ + HostOSVersion: "HostOSVersion", + /** + * "The IoT device id + */ + IoTDeviceId: "IoTDeviceId", + /** + * The IoT device name + */ + IoTDeviceName: "IoTDeviceName", + /** + * The IoT device type + */ + IoTDeviceType: "IoTDeviceType", + /** + * The IoT device vendor + */ + IoTDeviceVendor: "IoTDeviceVendor", + /** + * The IoT device model + */ + IoTDeviceModel: "IoTDeviceModel", + /** + * The IoT device operating system + */ + IoTDeviceOperatingSystem: "IoTDeviceOperatingSystem", + /** + * The IP address + */ + IPAddress: "IPAddress", + /** + * The mailbox display name + */ + MailboxDisplayName: "MailboxDisplayName", + /** + * The mailbox primary address + */ + MailboxPrimaryAddress: "MailboxPrimaryAddress", + /** + * The mailbox user principal name + */ + MailboxUPN: "MailboxUPN", + /** + * The mail message delivery action + */ + MailMessageDeliveryAction: "MailMessageDeliveryAction", + /** + * The mail message delivery location + */ + MailMessageDeliveryLocation: "MailMessageDeliveryLocation", + /** + * The mail message recipient + */ + MailMessageRecipient: "MailMessageRecipient", + /** + * The mail message sender IP address + */ + MailMessageSenderIP: "MailMessageSenderIP", + /** + * The mail message subject + */ + MailMessageSubject: "MailMessageSubject", + /** + * The mail message P1 sender + */ + MailMessageP1Sender: "MailMessageP1Sender", + /** + * The mail message P2 sender + */ + MailMessageP2Sender: "MailMessageP2Sender", + /** + * The malware category + */ + MalwareCategory: "MalwareCategory", + /** + * The malware name + */ + MalwareName: "MalwareName", + /** + * The process execution command line + */ + ProcessCommandLine: "ProcessCommandLine", + /** + * The process id + */ + ProcessId: "ProcessId", + /** + * The registry key path + */ + RegistryKey: "RegistryKey", + /** + * The registry key value in string formatted representation + */ + RegistryValueData: "RegistryValueData", + /** + * The url + */ + Url: "Url", +} as const; + +/** + * The property to evaluate in an automation rule property condition. + */ +export type AutomationRulePropertyConditionSupportedProperty = (typeof AutomationRulePropertyConditionSupportedProperty)[keyof typeof AutomationRulePropertyConditionSupportedProperty]; + +export const ConditionType = { + /** + * Evaluate an object property value + */ + Property: "Property", + /** + * Evaluate an object array property value + */ + PropertyArray: "PropertyArray", + /** + * Evaluate an object property changed value + */ + PropertyChanged: "PropertyChanged", + /** + * Evaluate an object array property changed value + */ + PropertyArrayChanged: "PropertyArrayChanged", + /** + * Apply a boolean operator (e.g AND, OR) to conditions + */ + Boolean: "Boolean", +} as const; + +export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType]; + +export const ConnectivityType = { + IsConnectedQuery: "IsConnectedQuery", +} as const; + +/** + * type of connectivity + */ +export type ConnectivityType = (typeof ConnectivityType)[keyof typeof ConnectivityType]; + +export const CustomEntityQueryKind = { + Activity: "Activity", +} as const; + +/** + * the entity query kind + */ +export type CustomEntityQueryKind = (typeof CustomEntityQueryKind)[keyof typeof CustomEntityQueryKind]; + +export const DataConnectorDefinitionKind = { + Customizable: "Customizable", +} as const; + +/** + * The data connector kind + */ +export type DataConnectorDefinitionKind = (typeof DataConnectorDefinitionKind)[keyof typeof DataConnectorDefinitionKind]; + +export const DataConnectorKind = { + AzureActiveDirectory: "AzureActiveDirectory", + AzureSecurityCenter: "AzureSecurityCenter", + MicrosoftCloudAppSecurity: "MicrosoftCloudAppSecurity", + ThreatIntelligence: "ThreatIntelligence", + ThreatIntelligenceTaxii: "ThreatIntelligenceTaxii", + Office365: "Office365", + OfficeATP: "OfficeATP", + OfficeIRM: "OfficeIRM", + Office365Project: "Office365Project", + MicrosoftPurviewInformationProtection: "MicrosoftPurviewInformationProtection", + OfficePowerBI: "OfficePowerBI", + AmazonWebServicesCloudTrail: "AmazonWebServicesCloudTrail", + AmazonWebServicesS3: "AmazonWebServicesS3", + AzureAdvancedThreatProtection: "AzureAdvancedThreatProtection", + MicrosoftDefenderAdvancedThreatProtection: "MicrosoftDefenderAdvancedThreatProtection", + Dynamics365: "Dynamics365", + MicrosoftThreatProtection: "MicrosoftThreatProtection", + MicrosoftThreatIntelligence: "MicrosoftThreatIntelligence", + GenericUI: "GenericUI", + APIPolling: "APIPolling", + IOT: "IOT", + GCP: "GCP", +} as const; + +/** + * The data connector kind + */ +export type DataConnectorKind = (typeof DataConnectorKind)[keyof typeof DataConnectorKind]; + +export const DataTypeState = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Describe whether this data type connection is enabled or not. + */ +export type DataTypeState = (typeof DataTypeState)[keyof typeof DataTypeState]; + +export const EntityMappingType = { + /** + * User account entity type + */ + Account: "Account", + /** + * Host entity type + */ + Host: "Host", + /** + * IP address entity type + */ + IP: "IP", + /** + * Malware entity type + */ + Malware: "Malware", + /** + * System file entity type + */ + File: "File", + /** + * Process entity type + */ + Process: "Process", + /** + * Cloud app entity type + */ + CloudApplication: "CloudApplication", + /** + * DNS entity type + */ + DNS: "DNS", + /** + * Azure resource entity type + */ + AzureResource: "AzureResource", + /** + * File-hash entity type + */ + FileHash: "FileHash", + /** + * Registry key entity type + */ + RegistryKey: "RegistryKey", + /** + * Registry value entity type + */ + RegistryValue: "RegistryValue", + /** + * Security group entity type + */ + SecurityGroup: "SecurityGroup", + /** + * URL entity type + */ + URL: "URL", + /** + * Mailbox entity type + */ + Mailbox: "Mailbox", + /** + * Mail cluster entity type + */ + MailCluster: "MailCluster", + /** + * Mail message entity type + */ + MailMessage: "MailMessage", + /** + * Submission mail entity type + */ + SubmissionMail: "SubmissionMail", +} as const; + +/** + * The V3 type of the mapped entity + */ +export type EntityMappingType = (typeof EntityMappingType)[keyof typeof EntityMappingType]; + +export const EntityProviders = { + ActiveDirectory: "ActiveDirectory", + AzureActiveDirectory: "AzureActiveDirectory", +} as const; + +/** + * The entity provider that is synced. + */ +export type EntityProviders = (typeof EntityProviders)[keyof typeof EntityProviders]; + +export const EntityTimelineKind = { + /** + * activity + */ + Activity: "Activity", + /** + * bookmarks + */ + Bookmark: "Bookmark", + /** + * security alerts + */ + SecurityAlert: "SecurityAlert", + /** + * anomaly + */ + Anomaly: "Anomaly", +} as const; + +/** + * The entity query kind + */ +export type EntityTimelineKind = (typeof EntityTimelineKind)[keyof typeof EntityTimelineKind]; + +export const EntityType = { + /** + * Entity represents account in the system. + */ + Account: "Account", + /** + * Entity represents host in the system. + */ + Host: "Host", + /** + * Entity represents file in the system. + */ + File: "File", + /** + * Entity represents azure resource in the system. + */ + AzureResource: "AzureResource", + /** + * Entity represents cloud application in the system. + */ + CloudApplication: "CloudApplication", + /** + * Entity represents dns in the system. + */ + DNS: "DNS", + /** + * Entity represents file hash in the system. + */ + FileHash: "FileHash", + /** + * Entity represents ip in the system. + */ + IP: "IP", + /** + * Entity represents malware in the system. + */ + Malware: "Malware", + /** + * Entity represents process in the system. + */ + Process: "Process", + /** + * Entity represents registry key in the system. + */ + RegistryKey: "RegistryKey", + /** + * Entity represents registry value in the system. + */ + RegistryValue: "RegistryValue", + /** + * Entity represents security group in the system. + */ + SecurityGroup: "SecurityGroup", + /** + * Entity represents url in the system. + */ + URL: "URL", + /** + * Entity represents IoT device in the system. + */ + IoTDevice: "IoTDevice", + /** + * Entity represents security alert in the system. + */ + SecurityAlert: "SecurityAlert", + /** + * Entity represents HuntingBookmark in the system. + */ + HuntingBookmark: "HuntingBookmark", + /** + * Entity represents mail cluster in the system. + */ + MailCluster: "MailCluster", + /** + * Entity represents mail message in the system. + */ + MailMessage: "MailMessage", + /** + * Entity represents mailbox in the system. + */ + Mailbox: "Mailbox", + /** + * Entity represents submission mail in the system. + */ + SubmissionMail: "SubmissionMail", + /** + * Entity represents network interface in the system. + */ + Nic: "Nic", +} as const; + +/** + * The type of the query's source entity + */ +export type EntityType = (typeof EntityType)[keyof typeof EntityType]; + +export const EventGroupingAggregationKind = { + SingleAlert: "SingleAlert", + AlertPerResult: "AlertPerResult", +} as const; + +/** + * The event grouping aggregation kinds + */ +export type EventGroupingAggregationKind = (typeof EventGroupingAggregationKind)[keyof typeof EventGroupingAggregationKind]; + +export const FileFormat = { + /** + * A CSV file. + */ + CSV: "CSV", + /** + * A JSON file. + */ + JSON: "JSON", + /** + * A file of other format. + */ + Unspecified: "Unspecified", +} as const; + +/** + * The format of the file + */ +export type FileFormat = (typeof FileFormat)[keyof typeof FileFormat]; + +export const FileImportContentType = { + /** + * File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. + */ + BasicIndicator: "BasicIndicator", + /** + * File containing STIX indicators. + */ + StixIndicator: "StixIndicator", + /** + * File containing other records. + */ + Unspecified: "Unspecified", +} as const; + +/** + * The content type of this file. + */ +export type FileImportContentType = (typeof FileImportContentType)[keyof typeof FileImportContentType]; + +export const Flag = { + True: "true", + False: "false", +} as const; + +/** + * Flag indicates if this package is in preview. + */ +export type Flag = (typeof Flag)[keyof typeof Flag]; + +export const HypothesisStatus = { + Unknown: "Unknown", + Invalidated: "Invalidated", + Validated: "Validated", +} as const; + +/** + * The hypothesis status of the hunt. + */ +export type HypothesisStatus = (typeof HypothesisStatus)[keyof typeof HypothesisStatus]; + +export const IncidentClassification = { + /** + * Incident classification was undetermined + */ + Undetermined: "Undetermined", + /** + * Incident was true positive + */ + TruePositive: "TruePositive", + /** + * Incident was benign positive + */ + BenignPositive: "BenignPositive", + /** + * Incident was false positive + */ + FalsePositive: "FalsePositive", +} as const; + +/** + * The reason the incident was closed + */ +export type IncidentClassification = (typeof IncidentClassification)[keyof typeof IncidentClassification]; + +export const IncidentClassificationReason = { + /** + * Classification reason was suspicious activity + */ + SuspiciousActivity: "SuspiciousActivity", + /** + * Classification reason was suspicious but expected + */ + SuspiciousButExpected: "SuspiciousButExpected", + /** + * Classification reason was incorrect alert logic + */ + IncorrectAlertLogic: "IncorrectAlertLogic", + /** + * Classification reason was inaccurate data + */ + InaccurateData: "InaccurateData", +} as const; + +/** + * The classification reason the incident was closed with + */ +export type IncidentClassificationReason = (typeof IncidentClassificationReason)[keyof typeof IncidentClassificationReason]; + +export const IncidentSeverity = { + /** + * High severity + */ + High: "High", + /** + * Medium severity + */ + Medium: "Medium", + /** + * Low severity + */ + Low: "Low", + /** + * Informational severity + */ + Informational: "Informational", +} as const; + +/** + * The severity of the incident + */ +export type IncidentSeverity = (typeof IncidentSeverity)[keyof typeof IncidentSeverity]; + +export const IncidentStatus = { + /** + * An active incident which isn't being handled currently + */ + New: "New", + /** + * An active incident which is being handled + */ + Active: "Active", + /** + * A non-active incident + */ + Closed: "Closed", +} as const; + +/** + * The status of the incident + */ +export type IncidentStatus = (typeof IncidentStatus)[keyof typeof IncidentStatus]; + +export const IncidentTaskStatus = { + /** + * A new task + */ + New: "New", + /** + * A completed task + */ + Completed: "Completed", +} as const; + +export type IncidentTaskStatus = (typeof IncidentTaskStatus)[keyof typeof IncidentTaskStatus]; + +export const IngestionMode = { + /** + * No records should be ingested when invalid records are detected. + */ + IngestOnlyIfAllAreValid: "IngestOnlyIfAllAreValid", + /** + * Valid records should still be ingested when invalid records are detected. + */ + IngestAnyValidRecords: "IngestAnyValidRecords", + /** + * Unspecified + */ + Unspecified: "Unspecified", +} as const; + +/** + * Describes how to ingest the records in the file. + */ +export type IngestionMode = (typeof IngestionMode)[keyof typeof IngestionMode]; + +export const Kind = { + DataConnector: "DataConnector", + DataType: "DataType", + Workbook: "Workbook", + WorkbookTemplate: "WorkbookTemplate", + Playbook: "Playbook", + PlaybookTemplate: "PlaybookTemplate", + AnalyticsRuleTemplate: "AnalyticsRuleTemplate", + AnalyticsRule: "AnalyticsRule", + HuntingQuery: "HuntingQuery", + InvestigationQuery: "InvestigationQuery", + Parser: "Parser", + Watchlist: "Watchlist", + WatchlistTemplate: "WatchlistTemplate", + Solution: "Solution", + AzureFunction: "AzureFunction", + LogicAppsCustomConnector: "LogicAppsCustomConnector", + AutomationRule: "AutomationRule", +} as const; + +/** + * Type of the content item we depend on + */ +export type Kind = (typeof Kind)[keyof typeof Kind]; + +export const MatchingMethod = { + /** + * Grouping alerts into a single incident if all the entities match + */ + AllEntities: "AllEntities", + /** + * Grouping any alerts triggered by this rule into a single incident + */ + AnyAlert: "AnyAlert", + /** + * Grouping alerts into a single incident if the selected entities, custom details and alert details match + */ + Selected: "Selected", +} as const; + +/** + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + */ +export type MatchingMethod = (typeof MatchingMethod)[keyof typeof MatchingMethod]; + +export const MicrosoftSecurityProductName = { + Microsoft_Cloud_App_Security: "Microsoft Cloud App Security", + Azure_Security_Center: "Azure Security Center", + Azure_Advanced_Threat_Protection: "Azure Advanced Threat Protection", + Azure_Active_Directory_Identity_Protection: "Azure Active Directory Identity Protection", + Azure_Security_Center_for_IoT: "Azure Security Center for IoT", + Office_365_Advanced_Threat_Protection: "Office 365 Advanced Threat Protection", + Microsoft_Defender_Advanced_Threat_Protection: "Microsoft Defender Advanced Threat Protection", +} as const; + +/** + * The alerts' productName on which the cases will be generated + */ +export type MicrosoftSecurityProductName = (typeof MicrosoftSecurityProductName)[keyof typeof MicrosoftSecurityProductName]; + +export const Mode = { + /** + * The workspace manager configuration is enabled + */ + Enabled: "Enabled", + /** + * The workspace manager configuration is disabled + */ + Disabled: "Disabled", +} as const; + +/** + * The current mode of the workspace manager configuration + */ +export type Mode = (typeof Mode)[keyof typeof Mode]; + +export const MtpProvider = { + MicrosoftDefenderForCloudApps: "microsoftDefenderForCloudApps", + MicrosoftDefenderForIdentity: "microsoftDefenderForIdentity", +} as const; + +/** + * The available data providers. + */ +export type MtpProvider = (typeof MtpProvider)[keyof typeof MtpProvider]; + +export const Operator = { + AND: "AND", + OR: "OR", +} as const; + +/** + * Operator used for list of dependencies in criteria array. + */ +export type Operator = (typeof Operator)[keyof typeof Operator]; + +export const OwnerType = { + /** + * The incident owner type is unknown + */ + Unknown: "Unknown", + /** + * The incident owner type is an AAD user + */ + User: "User", + /** + * The incident owner type is an AAD group + */ + Group: "Group", +} as const; + +/** + * The type of the owner the incident is assigned to. + */ +export type OwnerType = (typeof OwnerType)[keyof typeof OwnerType]; + +export const PackageKind = { + Solution: "Solution", + Standalone: "Standalone", +} as const; + +/** + * the packageKind of the package contains this template + */ +export type PackageKind = (typeof PackageKind)[keyof typeof PackageKind]; + +export const PermissionProviderScope = { + ResourceGroup: "ResourceGroup", + Subscription: "Subscription", + Workspace: "Workspace", +} as const; + +/** + * Permission provider scope + */ +export type PermissionProviderScope = (typeof PermissionProviderScope)[keyof typeof PermissionProviderScope]; + +export const PollingFrequency = { + /** + * Once a minute + */ + OnceAMinute: "OnceAMinute", + /** + * Once an hour + */ + OnceAnHour: "OnceAnHour", + /** + * Once a day + */ + OnceADay: "OnceADay", +} as const; + +/** + * The polling frequency for the TAXII server. + */ +export type PollingFrequency = (typeof PollingFrequency)[keyof typeof PollingFrequency]; + +export const ProviderName = { + Microsoft_OperationalInsights_solutions: "Microsoft.OperationalInsights/solutions", + Microsoft_OperationalInsights_workspaces: "Microsoft.OperationalInsights/workspaces", + Microsoft_OperationalInsights_workspaces_datasources: "Microsoft.OperationalInsights/workspaces/datasources", + Microsoft_aadiam_diagnosticSettings: "microsoft.aadiam/diagnosticSettings", + Microsoft_OperationalInsights_workspaces_sharedKeys: "Microsoft.OperationalInsights/workspaces/sharedKeys", + Microsoft_Authorization_policyAssignments: "Microsoft.Authorization/policyAssignments", +} as const; + +/** + * Provider name + */ +export type ProviderName = (typeof ProviderName)[keyof typeof ProviderName]; + +export const ProviderPermissionsScope = { + Subscription: "Subscription", + ResourceGroup: "ResourceGroup", + Workspace: "Workspace", +} as const; + +/** + * The scope on which the user should have permissions, in order to be able to create connections. + */ +export type ProviderPermissionsScope = (typeof ProviderPermissionsScope)[keyof typeof ProviderPermissionsScope]; + +export const SecurityMLAnalyticsSettingsKind = { + Anomaly: "Anomaly", +} as const; + +/** + * The kind of security ML Analytics Settings + */ +export type SecurityMLAnalyticsSettingsKind = (typeof SecurityMLAnalyticsSettingsKind)[keyof typeof SecurityMLAnalyticsSettingsKind]; + +export const SettingKind = { + Anomalies: "Anomalies", + EyesOn: "EyesOn", + EntityAnalytics: "EntityAnalytics", + Ueba: "Ueba", +} as const; + +/** + * The kind of the setting + */ +export type SettingKind = (typeof SettingKind)[keyof typeof SettingKind]; + +export const SettingType = { + CopyableLabel: "CopyableLabel", + InstructionStepsGroup: "InstructionStepsGroup", + InfoMessage: "InfoMessage", +} as const; + +/** + * The kind of the setting + */ +export type SettingType = (typeof SettingType)[keyof typeof SettingType]; + +export const SettingsStatus = { + /** + * Anomaly settings status in Production mode + */ + Production: "Production", + /** + * Anomaly settings status in Flighting mode + */ + Flighting: "Flighting", +} as const; + +/** + * The anomaly SecurityMLAnalyticsSettings status + */ +export type SettingsStatus = (typeof SettingsStatus)[keyof typeof SettingsStatus]; + +export const SourceKind = { + LocalWorkspace: "LocalWorkspace", + Community: "Community", + Solution: "Solution", + SourceRepository: "SourceRepository", +} as const; + +/** + * Source type of the content + */ +export type SourceKind = (typeof SourceKind)[keyof typeof SourceKind]; + +export const SourceType = { + Local_file: "Local file", + Remote_storage: "Remote storage", +} as const; + +/** + * The sourceType of the watchlist + */ +export type SourceType = (typeof SourceType)[keyof typeof SourceType]; + +export const Status = { + New: "New", + Active: "Active", + Closed: "Closed", + Backlog: "Backlog", + Approved: "Approved", +} as const; + +/** + * The status of the hunt. + */ +export type Status = (typeof Status)[keyof typeof Status]; + +export const SupportTier = { + Microsoft: "Microsoft", + Partner: "Partner", + Community: "Community", +} as const; + +/** + * Type of support for content item + */ +export type SupportTier = (typeof SupportTier)[keyof typeof SupportTier]; + +export const ThreatIntelligenceResourceInnerKind = { + /** + * Entity represents threat intelligence indicator in the system. + */ + Indicator: "indicator", +} as const; + +/** + * The kind of the entity. + */ +export type ThreatIntelligenceResourceInnerKind = (typeof ThreatIntelligenceResourceInnerKind)[keyof typeof ThreatIntelligenceResourceInnerKind]; + +export const TriggerOperator = { + GreaterThan: "GreaterThan", + LessThan: "LessThan", + Equal: "Equal", + NotEqual: "NotEqual", +} as const; + +/** + * The operation against the threshold that triggers alert rule. + */ +export type TriggerOperator = (typeof TriggerOperator)[keyof typeof TriggerOperator]; + +export const TriggersOn = { + /** + * Trigger on Incidents + */ + Incidents: "Incidents", + /** + * Trigger on Alerts + */ + Alerts: "Alerts", +} as const; + +export type TriggersOn = (typeof TriggersOn)[keyof typeof TriggersOn]; + +export const TriggersWhen = { + /** + * Trigger on created objects + */ + Created: "Created", + /** + * Trigger on updated objects + */ + Updated: "Updated", +} as const; + +export type TriggersWhen = (typeof TriggersWhen)[keyof typeof TriggersWhen]; + +export const UebaDataSources = { + AuditLogs: "AuditLogs", + AzureActivity: "AzureActivity", + SecurityEvent: "SecurityEvent", + SigninLogs: "SigninLogs", +} as const; + +/** + * The data source that enriched by ueba. + */ +export type UebaDataSources = (typeof UebaDataSources)[keyof typeof UebaDataSources]; diff --git a/sdk/nodejs/types/enums/storagetasks/index.ts b/sdk/nodejs/types/enums/storageactions/index.ts similarity index 100% rename from sdk/nodejs/types/enums/storagetasks/index.ts rename to sdk/nodejs/types/enums/storageactions/index.ts diff --git a/sdk/nodejs/types/enums/storagetasks/v20230101/index.ts b/sdk/nodejs/types/enums/storageactions/v20230101/index.ts similarity index 100% rename from sdk/nodejs/types/enums/storagetasks/v20230101/index.ts rename to sdk/nodejs/types/enums/storageactions/v20230101/index.ts diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 1c0af7f98c28..1f8d62dbb7d4 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -35672,6 +35672,15 @@ export namespace batch { */ virtualMachineConfiguration?: pulumi.Input; } + /** + * deploymentConfigurationArgsProvideDefaults sets the appropriate defaults for DeploymentConfigurationArgs + */ + export function deploymentConfigurationArgsProvideDefaults(val: DeploymentConfigurationArgs): DeploymentConfigurationArgs { + return { + ...val, + virtualMachineConfiguration: (val.virtualMachineConfiguration ? pulumi.output(val.virtualMachineConfiguration).apply(inputs.batch.virtualMachineConfigurationArgsProvideDefaults) : undefined), + }; + } export interface DiffDiskSettingsArgs { /** @@ -35741,6 +35750,15 @@ export namespace batch { */ targetLowPriorityNodes?: pulumi.Input; } + /** + * fixedScaleSettingsArgsProvideDefaults sets the appropriate defaults for FixedScaleSettingsArgs + */ + export function fixedScaleSettingsArgsProvideDefaults(val: FixedScaleSettingsArgs): FixedScaleSettingsArgs { + return { + ...val, + resizeTimeout: (val.resizeTimeout) ?? "PT15M", + }; + } /** * Rule to filter client IP address. @@ -35778,6 +35796,15 @@ export namespace batch { */ version?: pulumi.Input; } + /** + * imageReferenceArgsProvideDefaults sets the appropriate defaults for ImageReferenceArgs + */ + export function imageReferenceArgsProvideDefaults(val: ImageReferenceArgs): ImageReferenceArgs { + return { + ...val, + version: (val.version) ?? "latest", + }; + } export interface InboundNatPoolArgs { /** @@ -35907,6 +35934,15 @@ export namespace batch { */ subnetId?: pulumi.Input; } + /** + * networkConfigurationArgsProvideDefaults sets the appropriate defaults for NetworkConfigurationArgs + */ + export function networkConfigurationArgsProvideDefaults(val: NetworkConfigurationArgs): NetworkConfigurationArgs { + return { + ...val, + dynamicVnetAssignmentScope: (val.dynamicVnetAssignmentScope) ?? "none", + }; + } /** * Network profile for Batch account, which contains network rule settings for each endpoint. @@ -36017,6 +36053,15 @@ export namespace batch { */ fixedScale?: pulumi.Input; } + /** + * scaleSettingsArgsProvideDefaults sets the appropriate defaults for ScaleSettingsArgs + */ + export function scaleSettingsArgsProvideDefaults(val: ScaleSettingsArgs): ScaleSettingsArgs { + return { + ...val, + fixedScale: (val.fixedScale ? pulumi.output(val.fixedScale).apply(inputs.batch.fixedScaleSettingsArgsProvideDefaults) : undefined), + }; + } /** * In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. @@ -36032,7 +36077,7 @@ export namespace batch { containerSettings?: pulumi.Input; environmentSettings?: pulumi.Input[]>; /** - * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. */ maxTaskRetryCount?: pulumi.Input; resourceFiles?: pulumi.Input[]>; @@ -36045,6 +36090,15 @@ export namespace batch { */ waitForSuccess?: pulumi.Input; } + /** + * startTaskArgsProvideDefaults sets the appropriate defaults for StartTaskArgs + */ + export function startTaskArgsProvideDefaults(val: StartTaskArgs): StartTaskArgs { + return { + ...val, + maxTaskRetryCount: (val.maxTaskRetryCount) ?? 0, + }; + } export interface TaskContainerSettingsArgs { /** @@ -36065,6 +36119,15 @@ export namespace batch { export interface TaskSchedulingPolicyArgs { nodeFillType: pulumi.Input; } + /** + * taskSchedulingPolicyArgsProvideDefaults sets the appropriate defaults for TaskSchedulingPolicyArgs + */ + export function taskSchedulingPolicyArgsProvideDefaults(val: TaskSchedulingPolicyArgs): TaskSchedulingPolicyArgs { + return { + ...val, + nodeFillType: (val.nodeFillType) ?? "Spread", + }; + } export interface UserAccountArgs { /** @@ -36163,6 +36226,15 @@ export namespace batch { */ windowsConfiguration?: pulumi.Input; } + /** + * virtualMachineConfigurationArgsProvideDefaults sets the appropriate defaults for VirtualMachineConfigurationArgs + */ + export function virtualMachineConfigurationArgsProvideDefaults(val: VirtualMachineConfigurationArgs): VirtualMachineConfigurationArgs { + return { + ...val, + imageReference: pulumi.output(val.imageReference).apply(inputs.batch.imageReferenceArgsProvideDefaults), + }; + } export interface WindowsConfigurationArgs { /** @@ -36516,6 +36588,15 @@ export namespace batch { */ virtualMachineConfiguration?: pulumi.Input; } + /** + * deploymentConfigurationArgsProvideDefaults sets the appropriate defaults for DeploymentConfigurationArgs + */ + export function deploymentConfigurationArgsProvideDefaults(val: DeploymentConfigurationArgs): DeploymentConfigurationArgs { + return { + ...val, + virtualMachineConfiguration: (val.virtualMachineConfiguration ? pulumi.output(val.virtualMachineConfiguration).apply(inputs.batch.v20230501.virtualMachineConfigurationArgsProvideDefaults) : undefined), + }; + } export interface DiffDiskSettingsArgs { /** @@ -36585,6 +36666,15 @@ export namespace batch { */ targetLowPriorityNodes?: pulumi.Input; } + /** + * fixedScaleSettingsArgsProvideDefaults sets the appropriate defaults for FixedScaleSettingsArgs + */ + export function fixedScaleSettingsArgsProvideDefaults(val: FixedScaleSettingsArgs): FixedScaleSettingsArgs { + return { + ...val, + resizeTimeout: (val.resizeTimeout) ?? "PT15M", + }; + } /** * Rule to filter client IP address. @@ -36622,6 +36712,15 @@ export namespace batch { */ version?: pulumi.Input; } + /** + * imageReferenceArgsProvideDefaults sets the appropriate defaults for ImageReferenceArgs + */ + export function imageReferenceArgsProvideDefaults(val: ImageReferenceArgs): ImageReferenceArgs { + return { + ...val, + version: (val.version) ?? "latest", + }; + } export interface InboundNatPoolArgs { /** @@ -36751,6 +36850,15 @@ export namespace batch { */ subnetId?: pulumi.Input; } + /** + * networkConfigurationArgsProvideDefaults sets the appropriate defaults for NetworkConfigurationArgs + */ + export function networkConfigurationArgsProvideDefaults(val: NetworkConfigurationArgs): NetworkConfigurationArgs { + return { + ...val, + dynamicVnetAssignmentScope: (val.dynamicVnetAssignmentScope) ?? "none", + }; + } /** * Network profile for Batch account, which contains network rule settings for each endpoint. @@ -36861,6 +36969,15 @@ export namespace batch { */ fixedScale?: pulumi.Input; } + /** + * scaleSettingsArgsProvideDefaults sets the appropriate defaults for ScaleSettingsArgs + */ + export function scaleSettingsArgsProvideDefaults(val: ScaleSettingsArgs): ScaleSettingsArgs { + return { + ...val, + fixedScale: (val.fixedScale ? pulumi.output(val.fixedScale).apply(inputs.batch.v20230501.fixedScaleSettingsArgsProvideDefaults) : undefined), + }; + } /** * In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. @@ -36876,7 +36993,7 @@ export namespace batch { containerSettings?: pulumi.Input; environmentSettings?: pulumi.Input[]>; /** - * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. */ maxTaskRetryCount?: pulumi.Input; resourceFiles?: pulumi.Input[]>; @@ -36889,6 +37006,15 @@ export namespace batch { */ waitForSuccess?: pulumi.Input; } + /** + * startTaskArgsProvideDefaults sets the appropriate defaults for StartTaskArgs + */ + export function startTaskArgsProvideDefaults(val: StartTaskArgs): StartTaskArgs { + return { + ...val, + maxTaskRetryCount: (val.maxTaskRetryCount) ?? 0, + }; + } export interface TaskContainerSettingsArgs { /** @@ -36909,6 +37035,15 @@ export namespace batch { export interface TaskSchedulingPolicyArgs { nodeFillType: pulumi.Input; } + /** + * taskSchedulingPolicyArgsProvideDefaults sets the appropriate defaults for TaskSchedulingPolicyArgs + */ + export function taskSchedulingPolicyArgsProvideDefaults(val: TaskSchedulingPolicyArgs): TaskSchedulingPolicyArgs { + return { + ...val, + nodeFillType: (val.nodeFillType) ?? "Spread", + }; + } export interface UserAccountArgs { /** @@ -37007,6 +37142,15 @@ export namespace batch { */ windowsConfiguration?: pulumi.Input; } + /** + * virtualMachineConfigurationArgsProvideDefaults sets the appropriate defaults for VirtualMachineConfigurationArgs + */ + export function virtualMachineConfigurationArgsProvideDefaults(val: VirtualMachineConfigurationArgs): VirtualMachineConfigurationArgs { + return { + ...val, + imageReference: pulumi.output(val.imageReference).apply(inputs.batch.v20230501.imageReferenceArgsProvideDefaults), + }; + } export interface WindowsConfigurationArgs { /** @@ -45885,4656 +46029,5343 @@ export namespace cdn { } } -} -export namespace certificateregistration { - /** - * Key Vault container for a certificate that is purchased through Azure. - */ - export interface AppServiceCertificateArgs { + export namespace v20230701preview { /** - * Key Vault resource Id. + * The JSON object that contains the properties to secure a domain. */ - keyVaultId?: pulumi.Input; + export interface AFDDomainHttpsParametersArgs { + /** + * Defines the source of the SSL certificate. + */ + certificateType: pulumi.Input; + /** + * TLS protocol version that will be used for Https + */ + minimumTlsVersion?: pulumi.Input; + /** + * Resource reference to the secret. ie. subs/rg/profile/secret + */ + secret?: pulumi.Input; + } + /** - * Key Vault secret name. + * Reference to another resource along with its state. */ - keyVaultSecretName?: pulumi.Input; - } + export interface ActivatedResourceReferenceArgs { + /** + * Resource ID. + */ + id?: pulumi.Input; + } - export namespace v20201001 { /** - * Key Vault container for a certificate that is purchased through Azure. + * Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. */ - export interface AppServiceCertificateArgs { + export interface AfdRouteCacheConfigurationArgs { /** - * Key Vault resource Id. + * compression settings. */ - keyVaultId?: pulumi.Input; + compressionSettings?: pulumi.Input; /** - * Key Vault secret name. + * query parameters to include or exclude (comma separated). */ - keyVaultSecretName?: pulumi.Input; + queryParameters?: pulumi.Input; + /** + * Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + */ + queryStringCachingBehavior?: pulumi.Input; } - } - - export namespace v20220901 { /** - * Key Vault container for a certificate that is purchased through Azure. + * Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. */ - export interface AppServiceCertificateArgs { + export interface AzureFirstPartyManagedCertificateParametersArgs { /** - * Key Vault resource Id. + * The list of SANs. */ - keyVaultId?: pulumi.Input; + subjectAlternativeNames?: pulumi.Input[]>; /** - * Key Vault secret name. + * The type of the secret resource. + * Expected value is 'AzureFirstPartyManagedCertificate'. */ - keyVaultSecretName?: pulumi.Input; + type: pulumi.Input<"AzureFirstPartyManagedCertificate">; } - } -} - -export namespace changeanalysis { - /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. - */ - export interface AzureMonitorWorkspacePropertiesArgs { - /** - * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. - */ - includeChangeDetails?: pulumi.Input; - /** - * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. - */ - workspaceId?: pulumi.Input; - /** - * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} - */ - workspaceResourceId?: pulumi.Input; - } - - /** - * The properties of a configuration profile. - */ - export interface ConfigurationProfileResourcePropertiesArgs { - /** - * Settings of change notification configuration for a subscription. - */ - notifications?: pulumi.Input; - } - - /** - * Settings of change notification configuration for a subscription. - */ - export interface NotificationSettingsArgs { - /** - * The state of notifications feature. - */ - activationState?: pulumi.Input; - /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. - */ - azureMonitorWorkspaceProperties?: pulumi.Input; - } - - /** - * The identity block returned by ARM resource that supports managed identity. - */ - export interface ResourceIdentityArgs { - /** - * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. - */ - type?: pulumi.Input; - } - - export namespace v20200401preview { /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. + * Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. */ - export interface AzureMonitorWorkspacePropertiesArgs { + export interface CacheConfigurationArgs { /** - * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. + * Caching behavior for the requests */ - includeChangeDetails?: pulumi.Input; + cacheBehavior?: pulumi.Input; /** - * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. + * The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss */ - workspaceId?: pulumi.Input; + cacheDuration?: pulumi.Input; /** - * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} + * Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. */ - workspaceResourceId?: pulumi.Input; + isCompressionEnabled?: pulumi.Input; + /** + * query parameters to include or exclude (comma separated). + */ + queryParameters?: pulumi.Input; + /** + * Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + */ + queryStringCachingBehavior?: pulumi.Input; } /** - * The properties of a configuration profile. + * Defines the parameters for the cache expiration action. */ - export interface ConfigurationProfileResourcePropertiesArgs { + export interface CacheExpirationActionParametersArgs { /** - * Settings of change notification configuration for a subscription. + * Caching behavior for the requests */ - notifications?: pulumi.Input; + cacheBehavior: pulumi.Input; + /** + * The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + */ + cacheDuration?: pulumi.Input; + /** + * The level at which the content needs to be cached. + */ + cacheType: pulumi.Input; + typeName: pulumi.Input; } /** - * Settings of change notification configuration for a subscription. + * Defines the parameters for the cache-key query string action. */ - export interface NotificationSettingsArgs { + export interface CacheKeyQueryStringActionParametersArgs { /** - * The state of notifications feature. + * query parameters to include or exclude (comma separated). */ - activationState?: pulumi.Input; + queryParameters?: pulumi.Input; /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. + * Caching behavior for the requests */ - azureMonitorWorkspaceProperties?: pulumi.Input; + queryStringBehavior: pulumi.Input; + typeName: pulumi.Input; } /** - * The identity block returned by ARM resource that supports managed identity. + * Defines the parameters for ClientPort match conditions */ - export interface ResourceIdentityArgs { + export interface ClientPortMatchConditionParametersArgs { /** - * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + * The match value for the condition of the delivery rule */ - type?: pulumi.Input; + matchValues?: pulumi.Input[]>; + /** + * Describes if this is negate condition or not + */ + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; } - - } -} - -export namespace chaos { - /** - * Model that represents a branch in the step. - */ - export interface BranchArgs { - /** - * List of actions. - */ - actions: pulumi.Input[]>; - /** - * String of the branch name. - */ - name: pulumi.Input; - } - - /** - * Model that represents a continuous action. - */ - export interface ContinuousActionArgs { - /** - * ISO8601 formatted string that represents a duration. - */ - duration: pulumi.Input; - /** - * String that represents a Capability URN. - */ - name: pulumi.Input; - /** - * List of key value pairs. - */ - parameters: pulumi.Input[]>; - /** - * String that represents a selector. - */ - selectorId: pulumi.Input; - /** - * Enum that discriminates between action models. - * Expected value is 'continuous'. - */ - type: pulumi.Input<"continuous">; - } - - /** - * Model that represents a delay action. - */ - export interface DelayActionArgs { - /** - * ISO8601 formatted string that represents a duration. - */ - duration: pulumi.Input; - /** - * String that represents a Capability URN. - */ - name: pulumi.Input; - /** - * Enum that discriminates between action models. - * Expected value is 'delay'. - */ - type: pulumi.Input<"delay">; - } - - /** - * Model that represents a discrete action. - */ - export interface DiscreteActionArgs { - /** - * String that represents a Capability URN. - */ - name: pulumi.Input; - /** - * List of key value pairs. - */ - parameters: pulumi.Input[]>; - /** - * String that represents a selector. - */ - selectorId: pulumi.Input; - /** - * Enum that discriminates between action models. - * Expected value is 'discrete'. - */ - type: pulumi.Input<"discrete">; - } - - /** - * Model that represents the Experiment properties model. - */ - export interface ExperimentPropertiesArgs { - /** - * List of selectors. - */ - selectors: pulumi.Input[]>; - /** - * A boolean value that indicates if experiment should be started on creation or not. - */ - startOnCreation?: pulumi.Input; - /** - * List of steps. - */ - steps: pulumi.Input[]>; - } - - /** - * A map to describe the settings of an action. - */ - export interface KeyValuePairArgs { - /** - * The name of the setting for the action. - */ - key: pulumi.Input; - /** - * The value of the setting for the action. - */ - value: pulumi.Input; - } - - /** - * Model that represents a list selector. - */ - export interface ListSelectorArgs { - /** - * Model that represents available filter types that can be applied to a targets list. - */ - filter?: pulumi.Input; - /** - * String of the selector ID. - */ - id: pulumi.Input; - /** - * List of Target references. - */ - targets: pulumi.Input[]>; - /** - * Enum of the selector type. - * Expected value is 'List'. - */ - type: pulumi.Input<"List">; - } - - /** - * Model that represents a query selector. - */ - export interface QuerySelectorArgs { - /** - * Model that represents available filter types that can be applied to a targets list. - */ - filter?: pulumi.Input; - /** - * String of the selector ID. - */ - id: pulumi.Input; - /** - * Azure Resource Graph (ARG) Query Language query for target resources. - */ - queryString: pulumi.Input; - /** - * Subscription id list to scope resource query. - */ - subscriptionIds: pulumi.Input[]>; - /** - * Enum of the selector type. - * Expected value is 'Query'. - */ - type: pulumi.Input<"Query">; - } - - /** - * The identity of a resource. - */ - export interface ResourceIdentityArgs { - /** - * String of the resource identity type. - */ - type: pulumi.Input; - /** - * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - - /** - * Model that represents a simple target filter. - */ - export interface SimpleFilterArgs { - /** - * Model that represents the Simple filter parameters. - */ - parameters?: pulumi.Input; - /** - * Enum that discriminates between filter types. Currently only `Simple` type is supported. - * Expected value is 'Simple'. - */ - type: pulumi.Input<"Simple">; - } - - /** - * Model that represents the Simple filter parameters. - */ - export interface SimpleFilterParametersArgs { - /** - * List of Azure availability zones to filter targets by. - */ - zones?: pulumi.Input[]>; - } - - /** - * Model that represents a step in the Experiment resource. - */ - export interface StepArgs { - /** - * List of branches. - */ - branches: pulumi.Input[]>; - /** - * String of the step name. - */ - name: pulumi.Input; - } - - /** - * Model that represents a reference to a Target in the selector. - */ - export interface TargetReferenceArgs { - /** - * String of the resource ID of a Target resource. - */ - id: pulumi.Input; /** - * Enum of the Target reference type. + * clientPortMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for ClientPortMatchConditionParametersArgs */ - type: pulumi.Input; - } + export function clientPortMatchConditionParametersArgsProvideDefaults(val: ClientPortMatchConditionParametersArgs): ClientPortMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - export namespace v20230415preview { /** - * Model that represents a branch in the step. + * settings for compression. */ - export interface BranchArgs { + export interface CompressionSettingsArgs { /** - * List of actions. + * List of content types on which compression applies. The value should be a valid MIME type. */ - actions: pulumi.Input[]>; + contentTypesToCompress?: pulumi.Input[]>; /** - * String of the branch name. + * Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. */ - name: pulumi.Input; + isCompressionEnabled?: pulumi.Input; } /** - * Model that represents a continuous action. + * Defines the parameters for Cookies match conditions */ - export interface ContinuousActionArgs { + export interface CookiesMatchConditionParametersArgs { /** - * ISO8601 formatted string that represents a duration. + * The match value for the condition of the delivery rule */ - duration: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * String that represents a Capability URN. + * Describes if this is negate condition or not */ - name: pulumi.Input; + negateCondition?: pulumi.Input; /** - * List of key value pairs. + * Describes operator to be matched */ - parameters: pulumi.Input[]>; + operator: pulumi.Input; /** - * String that represents a selector. + * Name of Cookies to be matched */ - selectorId: pulumi.Input; + selector?: pulumi.Input; /** - * Enum that discriminates between action models. - * Expected value is 'continuous'. + * List of transforms */ - type: pulumi.Input<"continuous">; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * cookiesMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for CookiesMatchConditionParametersArgs + */ + export function cookiesMatchConditionParametersArgsProvideDefaults(val: CookiesMatchConditionParametersArgs): CookiesMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Model that represents a delay action. + * Defines the common attributes for a custom rule that can be included in a waf policy */ - export interface DelayActionArgs { + export interface CustomRuleArgs { /** - * ISO8601 formatted string that represents a duration. + * Describes what action to be applied when rule matches */ - duration: pulumi.Input; + action: pulumi.Input; /** - * String that represents a Capability URN. + * Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + */ + enabledState?: pulumi.Input; + /** + * List of match conditions. + */ + matchConditions: pulumi.Input[]>; + /** + * Defines the name of the custom rule */ name: pulumi.Input; /** - * Enum that discriminates between action models. - * Expected value is 'delay'. + * Defines in what order this rule be evaluated in the overall list of custom rules */ - type: pulumi.Input<"delay">; + priority: pulumi.Input; } /** - * Model that represents a discrete action. + * Defines contents of custom rules */ - export interface DiscreteActionArgs { + export interface CustomRuleListArgs { /** - * String that represents a Capability URN. + * List of rules */ - name: pulumi.Input; + rules?: pulumi.Input[]>; + } + + /** + * Customer Certificate used for https + */ + export interface CustomerCertificateParametersArgs { /** - * List of key value pairs. + * Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} */ - parameters: pulumi.Input[]>; + secretSource: pulumi.Input; /** - * String that represents a selector. + * Version of the secret to be used */ - selectorId: pulumi.Input; + secretVersion?: pulumi.Input; /** - * Enum that discriminates between action models. - * Expected value is 'discrete'. + * The list of SANs. */ - type: pulumi.Input<"discrete">; + subjectAlternativeNames?: pulumi.Input[]>; + /** + * The type of the secret resource. + * Expected value is 'CustomerCertificate'. + */ + type: pulumi.Input<"CustomerCertificate">; + /** + * Whether to use the latest version for the certificate + */ + useLatestVersion?: pulumi.Input; } /** - * Model that represents the Experiment properties model. + * The main origin of CDN content which is added when creating a CDN endpoint. */ - export interface ExperimentPropertiesArgs { + export interface DeepCreatedOriginArgs { /** - * List of selectors. + * Origin is enabled for load balancing or not. By default, origin is always enabled. */ - selectors: pulumi.Input[]>; + enabled?: pulumi.Input; /** - * A boolean value that indicates if experiment should be started on creation or not. + * The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. */ - startOnCreation?: pulumi.Input; + hostName: pulumi.Input; /** - * List of steps. + * The value of the HTTP port. Must be between 1 and 65535. */ - steps: pulumi.Input[]>; - } - - /** - * A map to describe the settings of an action. - */ - export interface KeyValuePairArgs { + httpPort?: pulumi.Input; /** - * The name of the setting for the action. + * The value of the HTTPS port. Must be between 1 and 65535. */ - key: pulumi.Input; + httpsPort?: pulumi.Input; /** - * The value of the setting for the action. + * Origin name which must be unique within the endpoint. */ - value: pulumi.Input; - } - - /** - * Model that represents a list selector. - */ - export interface ListSelectorArgs { + name: pulumi.Input; /** - * Model that represents available filter types that can be applied to a targets list. + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ - filter?: pulumi.Input; + originHostHeader?: pulumi.Input; /** - * String of the selector ID. + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. */ - id: pulumi.Input; + priority?: pulumi.Input; /** - * List of Target references. + * The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' */ - targets: pulumi.Input[]>; + privateLinkAlias?: pulumi.Input; /** - * Enum of the selector type. - * Expected value is 'List'. + * A custom message to be included in the approval request to connect to the Private Link. */ - type: pulumi.Input<"List">; + privateLinkApprovalMessage?: pulumi.Input; + /** + * The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + */ + privateLinkLocation?: pulumi.Input; + /** + * The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + */ + privateLinkResourceId?: pulumi.Input; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + weight?: pulumi.Input; } /** - * Model that represents a query selector. + * The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. */ - export interface QuerySelectorArgs { + export interface DeepCreatedOriginGroupArgs { /** - * Model that represents available filter types that can be applied to a targets list. + * Health probe settings to the origin that is used to determine the health of the origin. */ - filter?: pulumi.Input; + healthProbeSettings?: pulumi.Input; /** - * String of the selector ID. + * Origin group name which must be unique within the endpoint. */ - id: pulumi.Input; + name: pulumi.Input; /** - * Azure Resource Graph (ARG) Query Language query for target resources. + * The source of the content being delivered via CDN within given origin group. */ - queryString: pulumi.Input; + origins: pulumi.Input[]>; /** - * Subscription id list to scope resource query. + * The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. */ - subscriptionIds: pulumi.Input[]>; + responseBasedOriginErrorDetectionSettings?: pulumi.Input; /** - * Enum of the selector type. - * Expected value is 'Query'. + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. */ - type: pulumi.Input<"Query">; + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: pulumi.Input; } /** - * The identity of a resource. + * A rule that specifies a set of actions and conditions */ - export interface ResourceIdentityArgs { + export interface DeliveryRuleArgs { /** - * String of the resource identity type. + * A list of actions that are executed when all the conditions of a rule are satisfied. */ - type: pulumi.Input; + actions: pulumi.Input[]>; /** - * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * A list of conditions that must be matched for the actions to be executed */ - userAssignedIdentities?: pulumi.Input[]>; + conditions?: pulumi.Input[]>; + /** + * Name of the rule + */ + name?: pulumi.Input; + /** + * The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + */ + order: pulumi.Input; } /** - * Model that represents a simple target filter. + * Defines the cache expiration action for the delivery rule. */ - export interface SimpleFilterArgs { + export interface DeliveryRuleCacheExpirationActionArgs { /** - * Model that represents the Simple filter parameters. + * The name of the action for the delivery rule. + * Expected value is 'CacheExpiration'. */ - parameters?: pulumi.Input; + name: pulumi.Input<"CacheExpiration">; /** - * Enum that discriminates between filter types. Currently only `Simple` type is supported. - * Expected value is 'Simple'. + * Defines the parameters for the action. */ - type: pulumi.Input<"Simple">; + parameters: pulumi.Input; } /** - * Model that represents the Simple filter parameters. + * Defines the cache-key query string action for the delivery rule. */ - export interface SimpleFilterParametersArgs { + export interface DeliveryRuleCacheKeyQueryStringActionArgs { /** - * List of Azure availability zones to filter targets by. + * The name of the action for the delivery rule. + * Expected value is 'CacheKeyQueryString'. */ - zones?: pulumi.Input[]>; + name: pulumi.Input<"CacheKeyQueryString">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; } /** - * Model that represents a step in the Experiment resource. + * Defines the ClientPort condition for the delivery rule. */ - export interface StepArgs { + export interface DeliveryRuleClientPortConditionArgs { /** - * List of branches. + * The name of the condition for the delivery rule. + * Expected value is 'ClientPort'. */ - branches: pulumi.Input[]>; + name: pulumi.Input<"ClientPort">; /** - * String of the step name. + * Defines the parameters for the condition. */ - name: pulumi.Input; + parameters: pulumi.Input; + } + /** + * deliveryRuleClientPortConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleClientPortConditionArgs + */ + export function deliveryRuleClientPortConditionArgsProvideDefaults(val: DeliveryRuleClientPortConditionArgs): DeliveryRuleClientPortConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.clientPortMatchConditionParametersArgsProvideDefaults), + }; } /** - * Model that represents a reference to a Target in the selector. + * Defines the Cookies condition for the delivery rule. */ - export interface TargetReferenceArgs { + export interface DeliveryRuleCookiesConditionArgs { /** - * String of the resource ID of a Target resource. + * The name of the condition for the delivery rule. + * Expected value is 'Cookies'. */ - id: pulumi.Input; + name: pulumi.Input<"Cookies">; /** - * Enum of the Target reference type. + * Defines the parameters for the condition. */ - type: pulumi.Input; + parameters: pulumi.Input; } - - } -} - -export namespace cognitiveservices { - /** - * Properties of Cognitive Services account. - */ - export interface AccountPropertiesArgs { - allowedFqdnList?: pulumi.Input[]>; /** - * The api properties for special APIs. + * deliveryRuleCookiesConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleCookiesConditionArgs */ - apiProperties?: pulumi.Input; + export function deliveryRuleCookiesConditionArgsProvideDefaults(val: DeliveryRuleCookiesConditionArgs): DeliveryRuleCookiesConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.cookiesMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * Optional subdomain name used for token-based authentication. + * Defines the HostName condition for the delivery rule. */ - customSubDomainName?: pulumi.Input; - disableLocalAuth?: pulumi.Input; + export interface DeliveryRuleHostNameConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'HostName'. + */ + name: pulumi.Input<"HostName">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * The flag to enable dynamic throttling. + * deliveryRuleHostNameConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleHostNameConditionArgs */ - dynamicThrottlingEnabled?: pulumi.Input; + export function deliveryRuleHostNameConditionArgsProvideDefaults(val: DeliveryRuleHostNameConditionArgs): DeliveryRuleHostNameConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.hostNameMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * The encryption properties for this resource. + * Defines the HttpVersion condition for the delivery rule. */ - encryption?: pulumi.Input; + export interface DeliveryRuleHttpVersionConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'HttpVersion'. + */ + name: pulumi.Input<"HttpVersion">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * The multiregion settings of Cognitive Services account. + * deliveryRuleHttpVersionConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleHttpVersionConditionArgs */ - locations?: pulumi.Input; + export function deliveryRuleHttpVersionConditionArgsProvideDefaults(val: DeliveryRuleHttpVersionConditionArgs): DeliveryRuleHttpVersionConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.httpVersionMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * Resource migration token. + * Defines the IsDevice condition for the delivery rule. */ - migrationToken?: pulumi.Input; + export interface DeliveryRuleIsDeviceConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'IsDevice'. + */ + name: pulumi.Input<"IsDevice">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * A collection of rules governing the accessibility from specific network locations. + * deliveryRuleIsDeviceConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleIsDeviceConditionArgs */ - networkAcls?: pulumi.Input; + export function deliveryRuleIsDeviceConditionArgsProvideDefaults(val: DeliveryRuleIsDeviceConditionArgs): DeliveryRuleIsDeviceConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.isDeviceMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * Whether or not public endpoint access is allowed for this account. + * Defines the PostArgs condition for the delivery rule. */ - publicNetworkAccess?: pulumi.Input; - restore?: pulumi.Input; - restrictOutboundNetworkAccess?: pulumi.Input; + export interface DeliveryRulePostArgsConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'PostArgs'. + */ + name: pulumi.Input<"PostArgs">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * The storage accounts for this resource. + * deliveryRulePostArgsConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRulePostArgsConditionArgs */ - userOwnedStorage?: pulumi.Input[]>; - } - /** - * accountPropertiesArgsProvideDefaults sets the appropriate defaults for AccountPropertiesArgs - */ - export function accountPropertiesArgsProvideDefaults(val: AccountPropertiesArgs): AccountPropertiesArgs { - return { - ...val, - encryption: (val.encryption ? pulumi.output(val.encryption).apply(inputs.cognitiveservices.encryptionArgsProvideDefaults) : undefined), - }; - } + export function deliveryRulePostArgsConditionArgsProvideDefaults(val: DeliveryRulePostArgsConditionArgs): DeliveryRulePostArgsConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.postArgsMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * The api properties for special APIs. - */ - export interface ApiPropertiesArgs { /** - * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + * Defines the QueryString condition for the delivery rule. */ - aadClientId?: pulumi.Input; + export interface DeliveryRuleQueryStringConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'QueryString'. + */ + name: pulumi.Input<"QueryString">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * (Metrics Advisor Only) The Azure AD Tenant Id. + * deliveryRuleQueryStringConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleQueryStringConditionArgs */ - aadTenantId?: pulumi.Input; + export function deliveryRuleQueryStringConditionArgsProvideDefaults(val: DeliveryRuleQueryStringConditionArgs): DeliveryRuleQueryStringConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.queryStringMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * (Personalization Only) The flag to enable statistics of Bing Search. + * Defines the RemoteAddress condition for the delivery rule. */ - eventHubConnectionString?: pulumi.Input; + export interface DeliveryRuleRemoteAddressConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RemoteAddress'. + */ + name: pulumi.Input<"RemoteAddress">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + * deliveryRuleRemoteAddressConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleRemoteAddressConditionArgs */ - qnaAzureSearchEndpointId?: pulumi.Input; + export function deliveryRuleRemoteAddressConditionArgsProvideDefaults(val: DeliveryRuleRemoteAddressConditionArgs): DeliveryRuleRemoteAddressConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.remoteAddressMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + * Defines the RequestBody condition for the delivery rule. */ - qnaAzureSearchEndpointKey?: pulumi.Input; + export interface DeliveryRuleRequestBodyConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestBody'. + */ + name: pulumi.Input<"RequestBody">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * (QnAMaker Only) The runtime endpoint of QnAMaker. + * deliveryRuleRequestBodyConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleRequestBodyConditionArgs */ - qnaRuntimeEndpoint?: pulumi.Input; + export function deliveryRuleRequestBodyConditionArgsProvideDefaults(val: DeliveryRuleRequestBodyConditionArgs): DeliveryRuleRequestBodyConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.requestBodyMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * (Bing Search Only) The flag to enable statistics of Bing Search. + * Defines the request header action for the delivery rule. */ - statisticsEnabled?: pulumi.Input; + export interface DeliveryRuleRequestHeaderActionArgs { + /** + * The name of the action for the delivery rule. + * Expected value is 'ModifyRequestHeader'. + */ + name: pulumi.Input<"ModifyRequestHeader">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; + } + /** - * (Personalization Only) The storage account connection string. + * Defines the RequestHeader condition for the delivery rule. */ - storageAccountConnectionString?: pulumi.Input; + export interface DeliveryRuleRequestHeaderConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestHeader'. + */ + name: pulumi.Input<"RequestHeader">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * (Metrics Advisor Only) The super user of Metrics Advisor. + * deliveryRuleRequestHeaderConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleRequestHeaderConditionArgs */ - superUser?: pulumi.Input; + export function deliveryRuleRequestHeaderConditionArgsProvideDefaults(val: DeliveryRuleRequestHeaderConditionArgs): DeliveryRuleRequestHeaderConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.requestHeaderMatchConditionParametersArgsProvideDefaults), + }; + } + /** - * (Metrics Advisor Only) The website name of Metrics Advisor. + * Defines the RequestMethod condition for the delivery rule. */ - websiteName?: pulumi.Input; - } - - /** - * Cognitive Services account commitment period. - */ - export interface CommitmentPeriodArgs { - /** - * Commitment period commitment count. - */ - count?: pulumi.Input; - /** - * Commitment period commitment tier. - */ - tier?: pulumi.Input; - } - - /** - * Properties of Cognitive Services account commitment plan. - */ - export interface CommitmentPlanPropertiesArgs { - /** - * AutoRenew commitment plan. - */ - autoRenew?: pulumi.Input; - /** - * Commitment plan guid. - */ - commitmentPlanGuid?: pulumi.Input; - /** - * Cognitive Services account commitment period. - */ - current?: pulumi.Input; - /** - * Account hosting model. - */ - hostingModel?: pulumi.Input; - /** - * Cognitive Services account commitment period. - */ - next?: pulumi.Input; + export interface DeliveryRuleRequestMethodConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestMethod'. + */ + name: pulumi.Input<"RequestMethod">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * Commitment plan type. + * deliveryRuleRequestMethodConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleRequestMethodConditionArgs */ - planType?: pulumi.Input; - } + export function deliveryRuleRequestMethodConditionArgsProvideDefaults(val: DeliveryRuleRequestMethodConditionArgs): DeliveryRuleRequestMethodConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.requestMethodMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * Properties of Cognitive Services account deployment model. - */ - export interface DeploymentModelArgs { - /** - * Deployment model format. - */ - format?: pulumi.Input; /** - * Deployment model name. - */ - name?: pulumi.Input; - /** - * Optional. Deployment model source ARM resource ID. + * Defines the RequestScheme condition for the delivery rule. */ - source?: pulumi.Input; + export interface DeliveryRuleRequestSchemeConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestScheme'. + */ + name: pulumi.Input<"RequestScheme">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + * deliveryRuleRequestSchemeConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleRequestSchemeConditionArgs */ - version?: pulumi.Input; - } + export function deliveryRuleRequestSchemeConditionArgsProvideDefaults(val: DeliveryRuleRequestSchemeConditionArgs): DeliveryRuleRequestSchemeConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.requestSchemeMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * Properties of Cognitive Services account deployment. - */ - export interface DeploymentPropertiesArgs { - /** - * Properties of Cognitive Services account deployment model. - */ - model?: pulumi.Input; - /** - * The name of RAI policy. - */ - raiPolicyName?: pulumi.Input; /** - * Properties of Cognitive Services account deployment model. + * Defines the RequestUri condition for the delivery rule. */ - scaleSettings?: pulumi.Input; + export interface DeliveryRuleRequestUriConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestUri'. + */ + name: pulumi.Input<"RequestUri">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * Deployment model version upgrade option. + * deliveryRuleRequestUriConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleRequestUriConditionArgs */ - versionUpgradeOption?: pulumi.Input; - } + export function deliveryRuleRequestUriConditionArgsProvideDefaults(val: DeliveryRuleRequestUriConditionArgs): DeliveryRuleRequestUriConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.requestUriMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * Properties of Cognitive Services account deployment model. - */ - export interface DeploymentScaleSettingsArgs { /** - * Deployment capacity. - */ - capacity?: pulumi.Input; - /** - * Deployment scale type. + * Defines the response header action for the delivery rule. */ - scaleType?: pulumi.Input; - } + export interface DeliveryRuleResponseHeaderActionArgs { + /** + * The name of the action for the delivery rule. + * Expected value is 'ModifyResponseHeader'. + */ + name: pulumi.Input<"ModifyResponseHeader">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; + } - /** - * Properties to configure Encryption - */ - export interface EncryptionArgs { - /** - * Enumerates the possible value of keySource for Encryption - */ - keySource?: pulumi.Input; /** - * Properties of KeyVault + * Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. */ - keyVaultProperties?: pulumi.Input; - } - /** - * encryptionArgsProvideDefaults sets the appropriate defaults for EncryptionArgs - */ - export function encryptionArgsProvideDefaults(val: EncryptionArgs): EncryptionArgs { - return { - ...val, - keySource: (val.keySource) ?? "Microsoft.KeyVault", - }; - } + export interface DeliveryRuleRouteConfigurationOverrideActionArgs { + /** + * The name of the action for the delivery rule. + * Expected value is 'RouteConfigurationOverride'. + */ + name: pulumi.Input<"RouteConfigurationOverride">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; + } - /** - * Identity for the resource. - */ - export interface IdentityArgs { - /** - * The identity type. - */ - type?: pulumi.Input; /** - * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + * Defines the ServerPort condition for the delivery rule. */ - userAssignedIdentities?: pulumi.Input[]>; - } - - /** - * A rule governing the accessibility from a specific ip address or ip range. - */ - export interface IpRuleArgs { + export interface DeliveryRuleServerPortConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'ServerPort'. + */ + name: pulumi.Input<"ServerPort">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + * deliveryRuleServerPortConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleServerPortConditionArgs */ - value: pulumi.Input; - } + export function deliveryRuleServerPortConditionArgsProvideDefaults(val: DeliveryRuleServerPortConditionArgs): DeliveryRuleServerPortConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.serverPortMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * Properties to configure keyVault Properties - */ - export interface KeyVaultPropertiesArgs { - identityClientId?: pulumi.Input; - /** - * Name of the Key from KeyVault - */ - keyName?: pulumi.Input; - /** - * Uri of KeyVault - */ - keyVaultUri?: pulumi.Input; /** - * Version of the Key from KeyVault + * Defines the SocketAddress condition for the delivery rule. */ - keyVersion?: pulumi.Input; - } - - /** - * The multiregion settings Cognitive Services account. - */ - export interface MultiRegionSettingsArgs { - regions?: pulumi.Input[]>; + export interface DeliveryRuleSocketAddrConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'SocketAddr'. + */ + name: pulumi.Input<"SocketAddr">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * Multiregion routing methods. + * deliveryRuleSocketAddrConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleSocketAddrConditionArgs */ - routingMethod?: pulumi.Input; - } + export function deliveryRuleSocketAddrConditionArgsProvideDefaults(val: DeliveryRuleSocketAddrConditionArgs): DeliveryRuleSocketAddrConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.socketAddrMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * A set of rules governing the network accessibility. - */ - export interface NetworkRuleSetArgs { - /** - * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. - */ - defaultAction?: pulumi.Input; /** - * The list of IP address rules. + * Defines the SslProtocol condition for the delivery rule. */ - ipRules?: pulumi.Input[]>; + export interface DeliveryRuleSslProtocolConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'SslProtocol'. + */ + name: pulumi.Input<"SslProtocol">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * The list of virtual network rules. + * deliveryRuleSslProtocolConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleSslProtocolConditionArgs */ - virtualNetworkRules?: pulumi.Input[]>; - } + export function deliveryRuleSslProtocolConditionArgsProvideDefaults(val: DeliveryRuleSslProtocolConditionArgs): DeliveryRuleSslProtocolConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.sslProtocolMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * Properties of the PrivateEndpointConnectProperties. - */ - export interface PrivateEndpointConnectionPropertiesArgs { /** - * The private link resource group ids. + * Defines the UrlFileExtension condition for the delivery rule. */ - groupIds?: pulumi.Input[]>; + export interface DeliveryRuleUrlFileExtensionConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'UrlFileExtension'. + */ + name: pulumi.Input<"UrlFileExtension">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * A collection of information about the state of the connection between service consumer and provider. + * deliveryRuleUrlFileExtensionConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleUrlFileExtensionConditionArgs */ - privateLinkServiceConnectionState: pulumi.Input; - } + export function deliveryRuleUrlFileExtensionConditionArgsProvideDefaults(val: DeliveryRuleUrlFileExtensionConditionArgs): DeliveryRuleUrlFileExtensionConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.urlFileExtensionMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * A collection of information about the state of the connection between service consumer and provider. - */ - export interface PrivateLinkServiceConnectionStateArgs { - /** - * A message indicating if changes on the service provider require any updates on the consumer. - */ - actionsRequired?: pulumi.Input; /** - * The reason for approval/rejection of the connection. + * Defines the UrlFileName condition for the delivery rule. */ - description?: pulumi.Input; + export interface DeliveryRuleUrlFileNameConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'UrlFileName'. + */ + name: pulumi.Input<"UrlFileName">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * deliveryRuleUrlFileNameConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleUrlFileNameConditionArgs */ - status?: pulumi.Input; - } + export function deliveryRuleUrlFileNameConditionArgsProvideDefaults(val: DeliveryRuleUrlFileNameConditionArgs): DeliveryRuleUrlFileNameConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.urlFileNameMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * The call rate limit Cognitive Services account. - */ - export interface RegionSettingArgs { - /** - * Maps the region to the regional custom subdomain. - */ - customsubdomain?: pulumi.Input; /** - * Name of the region. + * Defines the UrlPath condition for the delivery rule. */ - name?: pulumi.Input; + export interface DeliveryRuleUrlPathConditionArgs { + /** + * The name of the condition for the delivery rule. + * Expected value is 'UrlPath'. + */ + name: pulumi.Input<"UrlPath">; + /** + * Defines the parameters for the condition. + */ + parameters: pulumi.Input; + } /** - * A value for priority or weighted routing methods. + * deliveryRuleUrlPathConditionArgsProvideDefaults sets the appropriate defaults for DeliveryRuleUrlPathConditionArgs */ - value?: pulumi.Input; - } + export function deliveryRuleUrlPathConditionArgsProvideDefaults(val: DeliveryRuleUrlPathConditionArgs): DeliveryRuleUrlPathConditionArgs { + return { + ...val, + parameters: pulumi.output(val.parameters).apply(inputs.cdn.v20230701preview.urlPathMatchConditionParametersArgsProvideDefaults), + }; + } - /** - * The resource model definition representing SKU - */ - export interface SkuArgs { - /** - * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. - */ - capacity?: pulumi.Input; - /** - * If the service has different generations of hardware, for the same SKU, then that can be captured here. - */ - family?: pulumi.Input; - /** - * The name of the SKU. Ex - P3. It is typically a letter+number code - */ - name: pulumi.Input; - /** - * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. - */ - size?: pulumi.Input; /** - * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + * A policy that specifies the delivery rules to be used for an endpoint. */ - tier?: pulumi.Input; - } + export interface EndpointPropertiesUpdateParametersDeliveryPolicyArgs { + /** + * User-friendly description of the policy. + */ + description?: pulumi.Input; + /** + * A list of the delivery rules. + */ + rules: pulumi.Input[]>; + } - /** - * The user owned storage for Cognitive Services account. - */ - export interface UserOwnedStorageArgs { - identityClientId?: pulumi.Input; /** - * Full resource id of a Microsoft.Storage resource. + * Defines the Web Application Firewall policy for the endpoint (if applicable) */ - resourceId?: pulumi.Input; - } + export interface EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs { + /** + * Resource ID. + */ + id?: pulumi.Input; + } - /** - * A rule governing the accessibility from a specific virtual network. - */ - export interface VirtualNetworkRuleArgs { - /** - * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. - */ - id: pulumi.Input; - /** - * Ignore missing vnet service endpoint or not. - */ - ignoreMissingVnetServiceEndpoint?: pulumi.Input; /** - * Gets the state of virtual network rule. + * Rules defining user's geo access within a CDN endpoint. */ - state?: pulumi.Input; - } + export interface GeoFilterArgs { + /** + * Action of the geo filter, i.e. allow or block access. + */ + action: pulumi.Input; + /** + * Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + */ + countryCodes: pulumi.Input[]>; + /** + * Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + */ + relativePath: pulumi.Input; + } - export namespace v20170418 { /** - * The api properties for special APIs. + * Defines the parameters for the request header action. */ - export interface CognitiveServicesAccountApiPropertiesArgs { + export interface HeaderActionParametersArgs { /** - * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + * Action to perform */ - aadClientId?: pulumi.Input; + headerAction: pulumi.Input; /** - * (Metrics Advisor Only) The Azure AD Tenant Id. + * Name of the header to modify */ - aadTenantId?: pulumi.Input; + headerName: pulumi.Input; + typeName: pulumi.Input; /** - * (Personalization Only) The flag to enable statistics of Bing Search. + * Value for the specified action */ - eventHubConnectionString?: pulumi.Input; + value?: pulumi.Input; + } + + /** + * The JSON object that contains the properties to send health probes to origin. + */ + export interface HealthProbeParametersArgs { /** - * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + * The number of seconds between health probes.Default is 240sec. */ - qnaAzureSearchEndpointId?: pulumi.Input; + probeIntervalInSeconds?: pulumi.Input; /** - * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + * The path relative to the origin that is used to determine the health of the origin. */ - qnaAzureSearchEndpointKey?: pulumi.Input; + probePath?: pulumi.Input; /** - * (QnAMaker Only) The runtime endpoint of QnAMaker. + * Protocol to use for health probe. */ - qnaRuntimeEndpoint?: pulumi.Input; + probeProtocol?: pulumi.Input; /** - * (Bing Search Only) The flag to enable statistics of Bing Search. + * The type of health probe request that is made. */ - statisticsEnabled?: pulumi.Input; + probeRequestType?: pulumi.Input; + } + + /** + * Defines the parameters for HostName match conditions + */ + export interface HostNameMatchConditionParametersArgs { /** - * (Personalization Only) The storage account connection string. + * The match value for the condition of the delivery rule */ - storageAccountConnectionString?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * (Metrics Advisor Only) The super user of Metrics Advisor. + * Describes if this is negate condition or not */ - superUser?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * (Metrics Advisor Only) The website name of Metrics Advisor. + * Describes operator to be matched */ - websiteName?: pulumi.Input; + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * hostNameMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for HostNameMatchConditionParametersArgs + */ + export function hostNameMatchConditionParametersArgsProvideDefaults(val: HostNameMatchConditionParametersArgs): HostNameMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Properties of Cognitive Services account. + * The JSON object that represents the range for http status codes */ - export interface CognitiveServicesAccountPropertiesArgs { - /** - * The api properties for special APIs. - */ - apiProperties?: pulumi.Input; + export interface HttpErrorRangeParametersArgs { /** - * Optional subdomain name used for token-based authentication. + * The inclusive start of the http status code range. */ - customSubDomainName?: pulumi.Input; + begin?: pulumi.Input; /** - * The encryption properties for this resource. + * The inclusive end of the http status code range. */ - encryption?: pulumi.Input; + end?: pulumi.Input; + } + + /** + * Defines the parameters for HttpVersion match conditions + */ + export interface HttpVersionMatchConditionParametersArgs { /** - * A collection of rules governing the accessibility from specific network locations. + * The match value for the condition of the delivery rule */ - networkAcls?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * The private endpoint connection associated with the Cognitive Services account. + * Describes if this is negate condition or not */ - privateEndpointConnections?: pulumi.Input[]>; + negateCondition?: pulumi.Input; /** - * Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + * Describes operator to be matched */ - publicNetworkAccess?: pulumi.Input; + operator: pulumi.Input; /** - * The storage accounts for this resource. + * List of transforms */ - userOwnedStorage?: pulumi.Input[]>; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; } /** - * cognitiveServicesAccountPropertiesArgsProvideDefaults sets the appropriate defaults for CognitiveServicesAccountPropertiesArgs + * httpVersionMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for HttpVersionMatchConditionParametersArgs */ - export function cognitiveServicesAccountPropertiesArgsProvideDefaults(val: CognitiveServicesAccountPropertiesArgs): CognitiveServicesAccountPropertiesArgs { + export function httpVersionMatchConditionParametersArgsProvideDefaults(val: HttpVersionMatchConditionParametersArgs): HttpVersionMatchConditionParametersArgs { return { ...val, - encryption: (val.encryption ? pulumi.output(val.encryption).apply(inputs.cognitiveservices.v20170418.encryptionArgsProvideDefaults) : undefined), + negateCondition: (val.negateCondition) ?? false, }; } /** - * Properties to configure Encryption + * Defines the parameters for IsDevice match conditions */ - export interface EncryptionArgs { + export interface IsDeviceMatchConditionParametersArgs { /** - * Enumerates the possible value of keySource for Encryption + * The match value for the condition of the delivery rule */ - keySource?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Properties of KeyVault + * Describes if this is negate condition or not */ - keyVaultProperties?: pulumi.Input; + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; } /** - * encryptionArgsProvideDefaults sets the appropriate defaults for EncryptionArgs + * isDeviceMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for IsDeviceMatchConditionParametersArgs */ - export function encryptionArgsProvideDefaults(val: EncryptionArgs): EncryptionArgs { + export function isDeviceMatchConditionParametersArgsProvideDefaults(val: IsDeviceMatchConditionParametersArgs): IsDeviceMatchConditionParametersArgs { return { ...val, - keySource: (val.keySource) ?? "Microsoft.KeyVault", + negateCondition: (val.negateCondition) ?? false, }; } /** - * Managed service identity. + * Describes the parameters for using a user's KeyVault for URL Signing Key. */ - export interface IdentityArgs { + export interface KeyVaultSigningKeyParametersArgs { /** - * Type of managed service identity. + * Resource group of the user's Key Vault containing the secret */ - type?: pulumi.Input; + resourceGroupName: pulumi.Input; /** - * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + * The name of secret in Key Vault. */ - userAssignedIdentities?: pulumi.Input<{[key: string]: pulumi.Input}>; + secretName: pulumi.Input; + /** + * The version(GUID) of secret in Key Vault. + */ + secretVersion: pulumi.Input; + /** + * Subscription Id of the user's Key Vault containing the secret + */ + subscriptionId: pulumi.Input; + typeName: pulumi.Input; + /** + * The name of the user's Key Vault containing the secret + */ + vaultName: pulumi.Input; } /** - * A rule governing the accessibility from a specific ip address or ip range. + * Round-Robin load balancing settings for a backend pool */ - export interface IpRuleArgs { + export interface LoadBalancingSettingsParametersArgs { /** - * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + * The additional latency in milliseconds for probes to fall into the lowest latency bucket */ - value: pulumi.Input; + additionalLatencyInMilliseconds?: pulumi.Input; + /** + * The number of samples to consider for load balancing decisions + */ + sampleSize?: pulumi.Input; + /** + * The number of samples within the sample period that must succeed + */ + successfulSamplesRequired?: pulumi.Input; } /** - * Properties to configure keyVault Properties + * Managed Certificate used for https */ - export interface KeyVaultPropertiesArgs { + export interface ManagedCertificateParametersArgs { /** - * Name of the Key from KeyVault + * The type of the secret resource. + * Expected value is 'ManagedCertificate'. */ - keyName?: pulumi.Input; + type: pulumi.Input<"ManagedCertificate">; + } + + /** + * Defines a managed rule group override setting. + */ + export interface ManagedRuleGroupOverrideArgs { /** - * Uri of KeyVault + * Describes the managed rule group within the rule set to override */ - keyVaultUri?: pulumi.Input; + ruleGroupName: pulumi.Input; /** - * Version of the Key from KeyVault + * List of rules that will be enabled. If none specified, all rules in the group will be disabled. */ - keyVersion?: pulumi.Input; + rules?: pulumi.Input[]>; } /** - * A set of rules governing the network accessibility. + * Defines a managed rule group override setting. */ - export interface NetworkRuleSetArgs { + export interface ManagedRuleOverrideArgs { /** - * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. + * Describes the override action to be applied when rule matches. */ - defaultAction?: pulumi.Input; + action?: pulumi.Input; /** - * The list of IP address rules. + * Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. */ - ipRules?: pulumi.Input[]>; + enabledState?: pulumi.Input; /** - * The list of virtual network rules. + * Identifier for the managed rule. */ - virtualNetworkRules?: pulumi.Input[]>; + ruleId: pulumi.Input; } /** - * The Private Endpoint Connection resource. + * Defines a managed rule set. */ - export interface PrivateEndpointConnectionArgs { + export interface ManagedRuleSetArgs { /** - * The location of the private endpoint connection + * Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. */ - location?: pulumi.Input; + anomalyScore?: pulumi.Input; /** - * Resource properties. + * Defines the rule overrides to apply to the rule set. */ - properties?: pulumi.Input; + ruleGroupOverrides?: pulumi.Input[]>; + /** + * Defines the rule set type to use. + */ + ruleSetType: pulumi.Input; + /** + * Defines the version of the rule set to use. + */ + ruleSetVersion: pulumi.Input; } /** - * Properties of the PrivateEndpointConnectProperties. + * Defines the list of managed rule sets for the policy. */ - export interface PrivateEndpointConnectionPropertiesArgs { + export interface ManagedRuleSetListArgs { /** - * The private link resource group ids. + * List of rule sets. */ - groupIds?: pulumi.Input[]>; + managedRuleSets?: pulumi.Input[]>; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityArgs { /** - * A collection of information about the state of the connection between service consumer and provider. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - privateLinkServiceConnectionState: pulumi.Input; + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; } /** - * A collection of information about the state of the connection between service consumer and provider. + * Define match conditions */ - export interface PrivateLinkServiceConnectionStateArgs { + export interface MatchConditionArgs { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * List of possible match values. */ - actionsRequired?: pulumi.Input; + matchValue: pulumi.Input[]>; /** - * The reason for approval/rejection of the connection. + * Match variable to compare against. */ - description?: pulumi.Input; + matchVariable: pulumi.Input; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * Describes if the result of this condition should be negated. */ - status?: pulumi.Input; + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + */ + selector?: pulumi.Input; + /** + * List of transforms. + */ + transforms?: pulumi.Input[]>; } /** - * The SKU of the cognitive services account. + * Defines the parameters for the origin group override configuration. */ - export interface SkuArgs { + export interface OriginGroupOverrideArgs { /** - * Gets or sets the sku name. Required for account creation, optional for update. + * Protocol this rule will use when forwarding traffic to backends. */ - name: pulumi.Input; + forwardingProtocol?: pulumi.Input; + /** + * defines the OriginGroup that would override the DefaultOriginGroup on route. + */ + originGroup?: pulumi.Input; } /** - * User-assigned managed identity. + * Defines the origin group override action for the delivery rule. */ - export interface UserAssignedIdentityArgs { + export interface OriginGroupOverrideActionArgs { /** - * Client App Id associated with this identity. + * The name of the action for the delivery rule. + * Expected value is 'OriginGroupOverride'. */ - clientId?: pulumi.Input; + name: pulumi.Input<"OriginGroupOverride">; /** - * Azure Active Directory principal ID associated with this Identity. + * Defines the parameters for the action. */ - principalId?: pulumi.Input; + parameters: pulumi.Input; } /** - * The user owned storage for Cognitive Services account. + * Defines the parameters for the origin group override action. */ - export interface UserOwnedStorageArgs { + export interface OriginGroupOverrideActionParametersArgs { /** - * Full resource id of a Microsoft.Storage resource. + * defines the OriginGroup that would override the DefaultOriginGroup. */ - resourceId?: pulumi.Input; + originGroup: pulumi.Input; + typeName: pulumi.Input; } /** - * A rule governing the accessibility from a specific virtual network. + * Defines contents of a web application firewall global configuration */ - export interface VirtualNetworkRuleArgs { + export interface PolicySettingsArgs { /** - * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + * If the action type is block, customer can override the response body. The body must be specified in base64 encoding. */ - id: pulumi.Input; + defaultCustomBlockResponseBody?: pulumi.Input; /** - * Ignore missing vnet service endpoint or not. + * If the action type is block, this field defines the default customer overridable http response status code. */ - ignoreMissingVnetServiceEndpoint?: pulumi.Input; + defaultCustomBlockResponseStatusCode?: pulumi.Input; /** - * Gets the state of virtual network rule. + * If action type is redirect, this field represents the default redirect URL for the client. */ - state?: pulumi.Input; + defaultRedirectUrl?: pulumi.Input; + /** + * describes if the policy is in enabled state or disabled state + */ + enabledState?: pulumi.Input; + /** + * Describes if it is in detection mode or prevention mode at policy level. + */ + mode?: pulumi.Input; } - } - - export namespace v20230501 { /** - * Properties of Cognitive Services account. + * Defines the parameters for PostArgs match conditions */ - export interface AccountPropertiesArgs { - allowedFqdnList?: pulumi.Input[]>; + export interface PostArgsMatchConditionParametersArgs { /** - * The api properties for special APIs. + * The match value for the condition of the delivery rule */ - apiProperties?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Optional subdomain name used for token-based authentication. + * Describes if this is negate condition or not */ - customSubDomainName?: pulumi.Input; - disableLocalAuth?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * The flag to enable dynamic throttling. + * Describes operator to be matched */ - dynamicThrottlingEnabled?: pulumi.Input; + operator: pulumi.Input; /** - * The encryption properties for this resource. + * Name of PostArg to be matched */ - encryption?: pulumi.Input; + selector?: pulumi.Input; /** - * The multiregion settings of Cognitive Services account. + * List of transforms */ - locations?: pulumi.Input; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * postArgsMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for PostArgsMatchConditionParametersArgs + */ + export function postArgsMatchConditionParametersArgsProvideDefaults(val: PostArgsMatchConditionParametersArgs): PostArgsMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + + /** + * Defines the parameters for QueryString match conditions + */ + export interface QueryStringMatchConditionParametersArgs { /** - * Resource migration token. + * The match value for the condition of the delivery rule */ - migrationToken?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * A collection of rules governing the accessibility from specific network locations. + * Describes if this is negate condition or not */ - networkAcls?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * Whether or not public endpoint access is allowed for this account. + * Describes operator to be matched */ - publicNetworkAccess?: pulumi.Input; - restore?: pulumi.Input; - restrictOutboundNetworkAccess?: pulumi.Input; + operator: pulumi.Input; /** - * The storage accounts for this resource. + * List of transforms */ - userOwnedStorage?: pulumi.Input[]>; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; } /** - * accountPropertiesArgsProvideDefaults sets the appropriate defaults for AccountPropertiesArgs + * queryStringMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for QueryStringMatchConditionParametersArgs */ - export function accountPropertiesArgsProvideDefaults(val: AccountPropertiesArgs): AccountPropertiesArgs { + export function queryStringMatchConditionParametersArgsProvideDefaults(val: QueryStringMatchConditionParametersArgs): QueryStringMatchConditionParametersArgs { return { ...val, - encryption: (val.encryption ? pulumi.output(val.encryption).apply(inputs.cognitiveservices.v20230501.encryptionArgsProvideDefaults) : undefined), + negateCondition: (val.negateCondition) ?? false, }; } /** - * The api properties for special APIs. + * Defines a rate limiting rule that can be included in a waf policy */ - export interface ApiPropertiesArgs { - /** - * (Metrics Advisor Only) The Azure AD Client Id (Application Id). - */ - aadClientId?: pulumi.Input; - /** - * (Metrics Advisor Only) The Azure AD Tenant Id. - */ - aadTenantId?: pulumi.Input; - /** - * (Personalization Only) The flag to enable statistics of Bing Search. - */ - eventHubConnectionString?: pulumi.Input; + export interface RateLimitRuleArgs { /** - * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + * Describes what action to be applied when rule matches */ - qnaAzureSearchEndpointId?: pulumi.Input; + action: pulumi.Input; /** - * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + * Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. */ - qnaAzureSearchEndpointKey?: pulumi.Input; + enabledState?: pulumi.Input; /** - * (QnAMaker Only) The runtime endpoint of QnAMaker. + * List of match conditions. */ - qnaRuntimeEndpoint?: pulumi.Input; + matchConditions: pulumi.Input[]>; /** - * (Bing Search Only) The flag to enable statistics of Bing Search. + * Defines the name of the custom rule */ - statisticsEnabled?: pulumi.Input; + name: pulumi.Input; /** - * (Personalization Only) The storage account connection string. + * Defines in what order this rule be evaluated in the overall list of custom rules */ - storageAccountConnectionString?: pulumi.Input; + priority: pulumi.Input; /** - * (Metrics Advisor Only) The super user of Metrics Advisor. + * Defines rate limit duration. Default is 1 minute. */ - superUser?: pulumi.Input; + rateLimitDurationInMinutes: pulumi.Input; /** - * (Metrics Advisor Only) The website name of Metrics Advisor. + * Defines rate limit threshold. */ - websiteName?: pulumi.Input; + rateLimitThreshold: pulumi.Input; } /** - * Cognitive Services account commitment period. + * Defines contents of rate limit rules */ - export interface CommitmentPeriodArgs { - /** - * Commitment period commitment count. - */ - count?: pulumi.Input; + export interface RateLimitRuleListArgs { /** - * Commitment period commitment tier. + * List of rules */ - tier?: pulumi.Input; + rules?: pulumi.Input[]>; } /** - * Properties of Cognitive Services account commitment plan. + * Defines the parameters for RemoteAddress match conditions */ - export interface CommitmentPlanPropertiesArgs { - /** - * AutoRenew commitment plan. - */ - autoRenew?: pulumi.Input; - /** - * Commitment plan guid. - */ - commitmentPlanGuid?: pulumi.Input; + export interface RemoteAddressMatchConditionParametersArgs { /** - * Cognitive Services account commitment period. + * Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. */ - current?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Account hosting model. + * Describes if this is negate condition or not */ - hostingModel?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * Cognitive Services account commitment period. + * Describes operator to be matched */ - next?: pulumi.Input; + operator: pulumi.Input; /** - * Commitment plan type. + * List of transforms */ - planType?: pulumi.Input; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * remoteAddressMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for RemoteAddressMatchConditionParametersArgs + */ + export function remoteAddressMatchConditionParametersArgsProvideDefaults(val: RemoteAddressMatchConditionParametersArgs): RemoteAddressMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Properties of Cognitive Services account deployment model. + * Defines the parameters for RequestBody match conditions */ - export interface DeploymentModelArgs { + export interface RequestBodyMatchConditionParametersArgs { /** - * Deployment model format. + * The match value for the condition of the delivery rule */ - format?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Deployment model name. + * Describes if this is negate condition or not */ - name?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * Optional. Deployment model source ARM resource ID. + * Describes operator to be matched */ - source?: pulumi.Input; + operator: pulumi.Input; /** - * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + * List of transforms */ - version?: pulumi.Input; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * requestBodyMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for RequestBodyMatchConditionParametersArgs + */ + export function requestBodyMatchConditionParametersArgsProvideDefaults(val: RequestBodyMatchConditionParametersArgs): RequestBodyMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Properties of Cognitive Services account deployment. + * Defines the parameters for RequestHeader match conditions */ - export interface DeploymentPropertiesArgs { + export interface RequestHeaderMatchConditionParametersArgs { /** - * Properties of Cognitive Services account deployment model. + * The match value for the condition of the delivery rule */ - model?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * The name of RAI policy. + * Describes if this is negate condition or not */ - raiPolicyName?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * Properties of Cognitive Services account deployment model. + * Describes operator to be matched */ - scaleSettings?: pulumi.Input; + operator: pulumi.Input; /** - * Deployment model version upgrade option. + * Name of Header to be matched */ - versionUpgradeOption?: pulumi.Input; + selector?: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * requestHeaderMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for RequestHeaderMatchConditionParametersArgs + */ + export function requestHeaderMatchConditionParametersArgsProvideDefaults(val: RequestHeaderMatchConditionParametersArgs): RequestHeaderMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Properties of Cognitive Services account deployment model. + * Defines the parameters for RequestMethod match conditions */ - export interface DeploymentScaleSettingsArgs { + export interface RequestMethodMatchConditionParametersArgs { /** - * Deployment capacity. + * The match value for the condition of the delivery rule */ - capacity?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Deployment scale type. + * Describes if this is negate condition or not */ - scaleType?: pulumi.Input; - } - - /** - * Properties to configure Encryption - */ - export interface EncryptionArgs { + negateCondition?: pulumi.Input; /** - * Enumerates the possible value of keySource for Encryption + * Describes operator to be matched */ - keySource?: pulumi.Input; + operator: pulumi.Input; /** - * Properties of KeyVault + * List of transforms */ - keyVaultProperties?: pulumi.Input; + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; } /** - * encryptionArgsProvideDefaults sets the appropriate defaults for EncryptionArgs + * requestMethodMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for RequestMethodMatchConditionParametersArgs */ - export function encryptionArgsProvideDefaults(val: EncryptionArgs): EncryptionArgs { + export function requestMethodMatchConditionParametersArgsProvideDefaults(val: RequestMethodMatchConditionParametersArgs): RequestMethodMatchConditionParametersArgs { return { ...val, - keySource: (val.keySource) ?? "Microsoft.KeyVault", + negateCondition: (val.negateCondition) ?? false, }; } /** - * Identity for the resource. + * Defines the parameters for RequestScheme match conditions */ - export interface IdentityArgs { + export interface RequestSchemeMatchConditionParametersArgs { /** - * The identity type. + * The match value for the condition of the delivery rule */ - type?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + * Describes if this is negate condition or not */ - userAssignedIdentities?: pulumi.Input[]>; + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; } - /** - * A rule governing the accessibility from a specific ip address or ip range. + * requestSchemeMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for RequestSchemeMatchConditionParametersArgs */ - export interface IpRuleArgs { - /** - * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). - */ - value: pulumi.Input; + export function requestSchemeMatchConditionParametersArgsProvideDefaults(val: RequestSchemeMatchConditionParametersArgs): RequestSchemeMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Properties to configure keyVault Properties + * Defines the parameters for RequestUri match conditions */ - export interface KeyVaultPropertiesArgs { - identityClientId?: pulumi.Input; + export interface RequestUriMatchConditionParametersArgs { /** - * Name of the Key from KeyVault + * The match value for the condition of the delivery rule */ - keyName?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Uri of KeyVault + * Describes if this is negate condition or not */ - keyVaultUri?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * Version of the Key from KeyVault + * Describes operator to be matched */ - keyVersion?: pulumi.Input; + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * requestUriMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for RequestUriMatchConditionParametersArgs + */ + export function requestUriMatchConditionParametersArgsProvideDefaults(val: RequestUriMatchConditionParametersArgs): RequestUriMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * The multiregion settings Cognitive Services account. + * Reference to another resource. */ - export interface MultiRegionSettingsArgs { - regions?: pulumi.Input[]>; + export interface ResourceReferenceArgs { /** - * Multiregion routing methods. + * Resource ID. */ - routingMethod?: pulumi.Input; + id?: pulumi.Input; } /** - * A set of rules governing the network accessibility. + * The JSON object that contains the properties to determine origin health using real requests/responses. */ - export interface NetworkRuleSetArgs { + export interface ResponseBasedOriginErrorDetectionParametersArgs { /** - * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. + * The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. */ - defaultAction?: pulumi.Input; + httpErrorRanges?: pulumi.Input[]>; /** - * The list of IP address rules. + * Type of response errors for real user requests for which origin will be deemed unhealthy */ - ipRules?: pulumi.Input[]>; + responseBasedDetectedErrorTypes?: pulumi.Input; /** - * The list of virtual network rules. + * The percentage of failed requests in the sample where failover should trigger. */ - virtualNetworkRules?: pulumi.Input[]>; + responseBasedFailoverThresholdPercentage?: pulumi.Input; } /** - * Properties of the PrivateEndpointConnectProperties. + * Defines the parameters for the route configuration override action. */ - export interface PrivateEndpointConnectionPropertiesArgs { + export interface RouteConfigurationOverrideActionParametersArgs { /** - * The private link resource group ids. + * The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. */ - groupIds?: pulumi.Input[]>; + cacheConfiguration?: pulumi.Input; /** - * A collection of information about the state of the connection between service consumer and provider. + * A reference to the origin group override configuration. Leave empty to use the default origin group on route. */ - privateLinkServiceConnectionState: pulumi.Input; + originGroupOverride?: pulumi.Input; + typeName: pulumi.Input; } /** - * A collection of information about the state of the connection between service consumer and provider. + * settings for security policy patterns to match */ - export interface PrivateLinkServiceConnectionStateArgs { + export interface SecurityPolicyWebApplicationFirewallAssociationArgs { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * List of domains. */ - actionsRequired?: pulumi.Input; + domains?: pulumi.Input[]>; /** - * The reason for approval/rejection of the connection. + * List of paths */ - description?: pulumi.Input; + patternsToMatch?: pulumi.Input[]>; + } + + /** + * The json object containing security policy waf parameters + */ + export interface SecurityPolicyWebApplicationFirewallParametersArgs { /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * Waf associations */ - status?: pulumi.Input; + associations?: pulumi.Input[]>; + /** + * The type of the Security policy to create. + * Expected value is 'WebApplicationFirewall'. + */ + type: pulumi.Input<"WebApplicationFirewall">; + /** + * Resource ID. + */ + wafPolicy?: pulumi.Input; } /** - * The call rate limit Cognitive Services account. + * Defines the parameters for ServerPort match conditions */ - export interface RegionSettingArgs { + export interface ServerPortMatchConditionParametersArgs { /** - * Maps the region to the regional custom subdomain. + * The match value for the condition of the delivery rule */ - customsubdomain?: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Name of the region. + * Describes if this is negate condition or not */ - name?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * A value for priority or weighted routing methods. + * Describes operator to be matched */ - value?: pulumi.Input; + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * serverPortMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for ServerPortMatchConditionParametersArgs + */ + export function serverPortMatchConditionParametersArgsProvideDefaults(val: ServerPortMatchConditionParametersArgs): ServerPortMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * The resource model definition representing SKU + * Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. */ - export interface SkuArgs { + export interface SharedPrivateLinkResourcePropertiesArgs { /** - * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + * The group id from the provider of resource the shared private link resource is for. */ - capacity?: pulumi.Input; + groupId?: pulumi.Input; /** - * If the service has different generations of hardware, for the same SKU, then that can be captured here. + * The resource id of the resource the shared private link resource is for. */ - family?: pulumi.Input; + privateLink?: pulumi.Input; /** - * The name of the SKU. Ex - P3. It is typically a letter+number code + * The location of the shared private link resource */ - name: pulumi.Input; + privateLinkLocation?: pulumi.Input; /** - * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + * The request message for requesting approval of the shared private link resource. */ - size?: pulumi.Input; + requestMessage?: pulumi.Input; /** - * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + * Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. */ - tier?: pulumi.Input; + status?: pulumi.Input; } /** - * The user owned storage for Cognitive Services account. + * Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + * Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + * Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + * Standard_Akamai = The SKU name for an Akamai CDN profile. + * Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + * Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + * Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + * Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + * Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + * Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + * StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + * StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + * StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. */ - export interface UserOwnedStorageArgs { - identityClientId?: pulumi.Input; + export interface SkuArgs { /** - * Full resource id of a Microsoft.Storage resource. + * Name of the pricing tier. */ - resourceId?: pulumi.Input; + name?: pulumi.Input; } /** - * A rule governing the accessibility from a specific virtual network. + * Defines the parameters for SocketAddress match conditions */ - export interface VirtualNetworkRuleArgs { + export interface SocketAddrMatchConditionParametersArgs { /** - * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + * The match value for the condition of the delivery rule */ - id: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * Ignore missing vnet service endpoint or not. + * Describes if this is negate condition or not */ - ignoreMissingVnetServiceEndpoint?: pulumi.Input; + negateCondition?: pulumi.Input; /** - * Gets the state of virtual network rule. + * Describes operator to be matched */ - state?: pulumi.Input; + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * socketAddrMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for SocketAddrMatchConditionParametersArgs + */ + export function socketAddrMatchConditionParametersArgsProvideDefaults(val: SocketAddrMatchConditionParametersArgs): SocketAddrMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } - } -} - -export namespace communication { - export namespace v20220701preview { - } - - export namespace v20230331 { - } - - export namespace v20230401preview { /** - * Managed service identity (system assigned and/or user assigned identities) + * Defines the parameters for SslProtocol match conditions */ - export interface ManagedServiceIdentityArgs { + export interface SslProtocolMatchConditionParametersArgs { /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + * The match value for the condition of the delivery rule */ - type: pulumi.Input; + matchValues?: pulumi.Input[]>; /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + * Describes if this is negate condition or not */ - userAssignedIdentities?: pulumi.Input[]>; + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** + * sslProtocolMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for SslProtocolMatchConditionParametersArgs + */ + export function sslProtocolMatchConditionParametersArgsProvideDefaults(val: SslProtocolMatchConditionParametersArgs): SslProtocolMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } - } -} - -export namespace compute { - /** - * Enables or disables a capability on the virtual machine or virtual machine scale set. - */ - export interface AdditionalCapabilitiesArgs { /** - * The flag that enables or disables hibernation capability on the VM. + * Defines the parameters for UrlFileExtension match conditions */ - hibernationEnabled?: pulumi.Input; + export interface UrlFileExtensionMatchConditionParametersArgs { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: pulumi.Input[]>; + /** + * Describes if this is negate condition or not + */ + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } /** - * The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. + * urlFileExtensionMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for UrlFileExtensionMatchConditionParametersArgs */ - ultraSSDEnabled?: pulumi.Input; - } + export function urlFileExtensionMatchConditionParametersArgsProvideDefaults(val: UrlFileExtensionMatchConditionParametersArgs): UrlFileExtensionMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. - */ - export interface AdditionalUnattendContentArgs { /** - * The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. + * Defines the parameters for UrlFilename match conditions */ - componentName?: pulumi.Input; + export interface UrlFileNameMatchConditionParametersArgs { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: pulumi.Input[]>; + /** + * Describes if this is negate condition or not + */ + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } /** - * Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. + * urlFileNameMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for UrlFileNameMatchConditionParametersArgs */ - content?: pulumi.Input; + export function urlFileNameMatchConditionParametersArgsProvideDefaults(val: UrlFileNameMatchConditionParametersArgs): UrlFileNameMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * The pass name. Currently, the only allowable value is OobeSystem. + * Defines the parameters for UrlPath match conditions */ - passName?: pulumi.Input; + export interface UrlPathMatchConditionParametersArgs { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: pulumi.Input[]>; + /** + * Describes if this is negate condition or not + */ + negateCondition?: pulumi.Input; + /** + * Describes operator to be matched + */ + operator: pulumi.Input; + /** + * List of transforms + */ + transforms?: pulumi.Input[]>; + typeName: pulumi.Input; + } /** - * Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. + * urlPathMatchConditionParametersArgsProvideDefaults sets the appropriate defaults for UrlPathMatchConditionParametersArgs */ - settingName?: pulumi.Input; - } + export function urlPathMatchConditionParametersArgsProvideDefaults(val: UrlPathMatchConditionParametersArgs): UrlPathMatchConditionParametersArgs { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * The API entity reference. - */ - export interface ApiEntityReferenceArgs { /** - * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... + * Defines the url redirect action for the delivery rule. */ - id?: pulumi.Input; - } + export interface UrlRedirectActionArgs { + /** + * The name of the action for the delivery rule. + * Expected value is 'UrlRedirect'. + */ + name: pulumi.Input<"UrlRedirect">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; + } - /** - * Contains the list of gallery applications that should be made available to the VM/VMSS - */ - export interface ApplicationProfileArgs { /** - * Specifies the gallery applications that should be made available to the VM/VMSS + * Defines the parameters for the url redirect action. */ - galleryApplications?: pulumi.Input[]>; - } + export interface UrlRedirectActionParametersArgs { + /** + * Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + */ + customFragment?: pulumi.Input; + /** + * Host to redirect. Leave empty to use the incoming host as the destination host. + */ + customHostname?: pulumi.Input; + /** + * The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + */ + customPath?: pulumi.Input; + /** + * The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them. + */ + customQueryString?: pulumi.Input; + /** + * Protocol to use for the redirect. The default value is MatchRequest + */ + destinationProtocol?: pulumi.Input; + /** + * The redirect type the rule will use when redirecting traffic. + */ + redirectType: pulumi.Input; + typeName: pulumi.Input; + } - /** - * The configuration parameters used for performing automatic OS upgrade. - */ - export interface AutomaticOSUpgradePolicyArgs { /** - * Whether OS image rollback feature should be disabled. Default value is false. + * Defines the url rewrite action for the delivery rule. */ - disableAutomaticRollback?: pulumi.Input; + export interface UrlRewriteActionArgs { + /** + * The name of the action for the delivery rule. + * Expected value is 'UrlRewrite'. + */ + name: pulumi.Input<"UrlRewrite">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; + } + /** - * Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. + * Defines the parameters for the url rewrite action. */ - enableAutomaticOSUpgrade?: pulumi.Input; + export interface UrlRewriteActionParametersArgs { + /** + * Define the relative URL to which the above requests will be rewritten by. + */ + destination: pulumi.Input; + /** + * Whether to preserve unmatched path. Default value is true. + */ + preserveUnmatchedPath?: pulumi.Input; + /** + * define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + */ + sourcePattern: pulumi.Input; + typeName: pulumi.Input; + } + /** - * Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS. + * Defines the url signing action for the delivery rule. */ - useRollingUpgradePolicy?: pulumi.Input; - } + export interface UrlSigningActionArgs { + /** + * The name of the action for the delivery rule. + * Expected value is 'UrlSigning'. + */ + name: pulumi.Input<"UrlSigning">; + /** + * Defines the parameters for the action. + */ + parameters: pulumi.Input; + } - /** - * Specifies the configuration parameters for automatic repairs on the virtual machine scale set. - */ - export interface AutomaticRepairsPolicyArgs { /** - * Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. + * Defines the parameters for the Url Signing action. */ - enabled?: pulumi.Input; + export interface UrlSigningActionParametersArgs { + /** + * Algorithm to use for URL signing + */ + algorithm?: pulumi.Input; + /** + * Defines which query string parameters in the url to be considered for expires, key id etc. + */ + parameterNameOverride?: pulumi.Input[]>; + typeName: pulumi.Input; + } + /** - * The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). + * Url signing key */ - gracePeriod?: pulumi.Input; + export interface UrlSigningKeyArgs { + /** + * Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + */ + keyId: pulumi.Input; + /** + * Defines the parameters for using customer key vault for Url Signing Key. + */ + keySourceParameters: pulumi.Input; + } + /** - * Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. + * Url signing key parameters */ - repairAction?: pulumi.Input; - } + export interface UrlSigningKeyParametersArgs { + /** + * Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + */ + keyId: pulumi.Input; + /** + * Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + */ + secretSource: pulumi.Input; + /** + * Version of the secret to be used + */ + secretVersion?: pulumi.Input; + /** + * The type of the secret resource. + * Expected value is 'UrlSigningKey'. + */ + type: pulumi.Input<"UrlSigningKey">; + } - /** - * Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01. - */ - export interface BillingProfileArgs { /** - * Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.

This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.

The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

Possible values are:

- Any decimal value greater than zero. Example: 0.01538

-1 – indicates default price to be up-to on-demand.

You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.

Minimum api-version: 2019-03-01. + * Defines how to identify a parameter for a specific purpose e.g. expires */ - maxPrice?: pulumi.Input; + export interface UrlSigningParamIdentifierArgs { + /** + * Indicates the purpose of the parameter + */ + paramIndicator: pulumi.Input; + /** + * Parameter name + */ + paramName: pulumi.Input; + } + } +} +export namespace certificateregistration { /** - * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. + * Key Vault container for a certificate that is purchased through Azure. */ - export interface BootDiagnosticsArgs { + export interface AppServiceCertificateArgs { /** - * Whether boot diagnostics should be enabled on the Virtual Machine. + * Key Vault resource Id. */ - enabled?: pulumi.Input; + keyVaultId?: pulumi.Input; /** - * Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used. + * Key Vault secret name. */ - storageUri?: pulumi.Input; + keyVaultSecretName?: pulumi.Input; } - /** - * The parameters of a capacity reservation Profile. - */ - export interface CapacityReservationProfileArgs { + export namespace v20201001 { /** - * Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details. + * Key Vault container for a certificate that is purchased through Azure. */ - capacityReservationGroup?: pulumi.Input; + export interface AppServiceCertificateArgs { + /** + * Key Vault resource Id. + */ + keyVaultId?: pulumi.Input; + /** + * Key Vault secret name. + */ + keyVaultSecretName?: pulumi.Input; + } + } - /** - * Describes a cloud service extension profile. - */ - export interface CloudServiceExtensionProfileArgs { + export namespace v20220901 { /** - * List of extensions for the cloud service. + * Key Vault container for a certificate that is purchased through Azure. */ - extensions?: pulumi.Input[]>; + export interface AppServiceCertificateArgs { + /** + * Key Vault resource Id. + */ + keyVaultId?: pulumi.Input; + /** + * Key Vault secret name. + */ + keyVaultSecretName?: pulumi.Input; + } + } +} +export namespace changeanalysis { /** - * Extension Properties. + * Configuration properties of an Azure Monitor workspace that receives change notifications. */ - export interface CloudServiceExtensionPropertiesArgs { - /** - * Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. - */ - autoUpgradeMinorVersion?: pulumi.Input; - /** - * Tag to force apply the provided public and protected settings. - * Changing the tag value allows for re-running the extension without changing any of the public or protected settings. - * If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. - * If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and - * it is up to handler implementation whether to re-run it or not - */ - forceUpdateTag?: pulumi.Input; - /** - * Protected settings for the extension which are encrypted before sent to the role instance. - */ - protectedSettings?: any; - /** - * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. - */ - protectedSettingsFromKeyVault?: pulumi.Input; - /** - * The name of the extension handler publisher. - */ - publisher?: pulumi.Input; - /** - * Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. - */ - rolesAppliedTo?: pulumi.Input[]>; + export interface AzureMonitorWorkspacePropertiesArgs { /** - * Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension. + * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. */ - settings?: any; + includeChangeDetails?: pulumi.Input; /** - * Specifies the type of the extension. + * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. */ - type?: pulumi.Input; + workspaceId?: pulumi.Input; /** - * Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance. + * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} */ - typeHandlerVersion?: pulumi.Input; + workspaceResourceId?: pulumi.Input; } /** - * Network Profile for the cloud service. + * The properties of a configuration profile. */ - export interface CloudServiceNetworkProfileArgs { - /** - * List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer. - */ - loadBalancerConfigurations?: pulumi.Input[]>; - /** - * Slot type for the cloud service. - * Possible values are

**Production**

**Staging**

- * If not specified, the default value is Production. - */ - slotType?: pulumi.Input; + export interface ConfigurationProfileResourcePropertiesArgs { /** - * The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown. + * Settings of change notification configuration for a subscription. */ - swappableCloudService?: pulumi.Input; + notifications?: pulumi.Input; } /** - * Describes the OS profile for the cloud service. + * Settings of change notification configuration for a subscription. */ - export interface CloudServiceOsProfileArgs { + export interface NotificationSettingsArgs { /** - * Specifies set of certificates that should be installed onto the role instances. + * The state of notifications feature. */ - secrets?: pulumi.Input[]>; + activationState?: pulumi.Input; + /** + * Configuration properties of an Azure Monitor workspace that receives change notifications. + */ + azureMonitorWorkspaceProperties?: pulumi.Input; } /** - * Cloud service properties + * The identity block returned by ARM resource that supports managed identity. */ - export interface CloudServicePropertiesArgs { - /** - * (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. - * The default value is `false`. - */ - allowModelOverride?: pulumi.Input; - /** - * Specifies the XML service configuration (.cscfg) for the cloud service. - */ - configuration?: pulumi.Input; - /** - * Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. - * This is a write-only property and is not returned in GET calls. - */ - configurationUrl?: pulumi.Input; - /** - * Describes a cloud service extension profile. - */ - extensionProfile?: pulumi.Input; - /** - * Network Profile for the cloud service. - */ - networkProfile?: pulumi.Input; - /** - * Describes the OS profile for the cloud service. - */ - osProfile?: pulumi.Input; + export interface ResourceIdentityArgs { /** - * Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. - * This is a write-only property and is not returned in GET calls. + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. */ - packageUrl?: pulumi.Input; + type?: pulumi.Input; + } + + export namespace v20200401preview { /** - * Describes the role profile for the cloud service. + * Configuration properties of an Azure Monitor workspace that receives change notifications. */ - roleProfile?: pulumi.Input; + export interface AzureMonitorWorkspacePropertiesArgs { + /** + * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. + */ + includeChangeDetails?: pulumi.Input; + /** + * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. + */ + workspaceId?: pulumi.Input; + /** + * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} + */ + workspaceResourceId?: pulumi.Input; + } + /** - * (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`. - * If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff. + * The properties of a configuration profile. */ - startCloudService?: pulumi.Input; + export interface ConfigurationProfileResourcePropertiesArgs { + /** + * Settings of change notification configuration for a subscription. + */ + notifications?: pulumi.Input; + } + /** - * Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. - * Possible Values are

**Auto**

**Manual**

**Simultaneous**

- * If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. + * Settings of change notification configuration for a subscription. */ - upgradeMode?: pulumi.Input; - } + export interface NotificationSettingsArgs { + /** + * The state of notifications feature. + */ + activationState?: pulumi.Input; + /** + * Configuration properties of an Azure Monitor workspace that receives change notifications. + */ + azureMonitorWorkspaceProperties?: pulumi.Input; + } - /** - * Describes the role profile for the cloud service. - */ - export interface CloudServiceRoleProfileArgs { /** - * List of roles for the cloud service. + * The identity block returned by ARM resource that supports managed identity. */ - roles?: pulumi.Input[]>; + export interface ResourceIdentityArgs { + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + */ + type?: pulumi.Input; + } + } +} +export namespace chaos { /** - * Describes the role properties. + * Model that represents a branch in the step. */ - export interface CloudServiceRoleProfilePropertiesArgs { + export interface BranchArgs { /** - * Resource name. + * List of actions. */ - name?: pulumi.Input; + actions: pulumi.Input[]>; /** - * Describes the cloud service role sku. + * String of the branch name. */ - sku?: pulumi.Input; + name: pulumi.Input; } /** - * Describes the cloud service role sku. + * Model that represents a continuous action. */ - export interface CloudServiceRoleSkuArgs { + export interface ContinuousActionArgs { /** - * Specifies the number of role instances in the cloud service. + * ISO8601 formatted string that represents a duration. */ - capacity?: pulumi.Input; + duration: pulumi.Input; /** - * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku. + * String that represents a Capability URN. */ - name?: pulumi.Input; + name: pulumi.Input; /** - * Specifies the tier of the cloud service. Possible Values are

**Standard**

**Basic** + * List of key value pairs. */ - tier?: pulumi.Input; - } - - /** - * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. - */ - export interface CloudServiceVaultAndSecretReferenceArgs { + parameters: pulumi.Input[]>; /** - * Secret URL which contains the protected settings of the extension + * String that represents a selector. */ - secretUrl?: pulumi.Input; + selectorId: pulumi.Input; /** - * The ARM Resource ID of the Key Vault + * Enum that discriminates between action models. + * Expected value is 'continuous'. */ - sourceVault?: pulumi.Input; + type: pulumi.Input<"continuous">; } /** - * Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance. + * Model that represents a delay action. */ - export interface CloudServiceVaultCertificateArgs { + export interface DelayActionArgs { /** - * This is the URL of a certificate that has been uploaded to Key Vault as a secret. + * ISO8601 formatted string that represents a duration. */ - certificateUrl?: pulumi.Input; - } - - /** - * Describes a set of certificates which are all in the same Key Vault. - */ - export interface CloudServiceVaultSecretGroupArgs { + duration: pulumi.Input; /** - * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. + * String that represents a Capability URN. */ - sourceVault?: pulumi.Input; + name: pulumi.Input; /** - * The list of key vault references in SourceVault which contain certificates. + * Enum that discriminates between action models. + * Expected value is 'delay'. */ - vaultCertificates?: pulumi.Input[]>; + type: pulumi.Input<"delay">; } /** - * Information of community gallery if current gallery is shared to community + * Model that represents a discrete action. */ - export interface CommunityGalleryInfoArgs { + export interface DiscreteActionArgs { /** - * End-user license agreement for community gallery image. + * String that represents a Capability URN. */ - eula?: pulumi.Input; + name: pulumi.Input; /** - * The prefix of the gallery name that will be displayed publicly. Visible to all users. + * List of key value pairs. */ - publicNamePrefix?: pulumi.Input; + parameters: pulumi.Input[]>; /** - * Community gallery publisher support email. The email address of the publisher. Visible to all users. + * String that represents a selector. */ - publisherContact?: pulumi.Input; + selectorId: pulumi.Input; /** - * The link to the publisher website. Visible to all users. + * Enum that discriminates between action models. + * Expected value is 'discrete'. */ - publisherUri?: pulumi.Input; + type: pulumi.Input<"discrete">; } /** - * Indicates the error details if the background copy of a resource created via the CopyStart operation fails. + * Model that represents the Experiment properties model. */ - export interface CopyCompletionErrorArgs { + export interface ExperimentPropertiesArgs { /** - * Indicates the error code if the background copy of a resource created via the CopyStart operation fails. + * List of selectors. */ - errorCode: pulumi.Input; + selectors: pulumi.Input[]>; /** - * Indicates the error message if the background copy of a resource created via the CopyStart operation fails. + * A boolean value that indicates if experiment should be started on creation or not. */ - errorMessage: pulumi.Input; + startOnCreation?: pulumi.Input; + /** + * List of steps. + */ + steps: pulumi.Input[]>; } /** - * Data used when creating a disk. + * A map to describe the settings of an action. */ - export interface CreationDataArgs { - /** - * This enumerates the possible sources of a disk's creation. - */ - createOption: pulumi.Input; - /** - * Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. - */ - galleryImageReference?: pulumi.Input; - /** - * Disk source information for PIR or user images. - */ - imageReference?: pulumi.Input; - /** - * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. - */ - logicalSectorSize?: pulumi.Input; - /** - * Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. - */ - performancePlus?: pulumi.Input; - /** - * If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. - */ - securityDataUri?: pulumi.Input; - /** - * If createOption is Copy, this is the ARM id of the source snapshot or disk. - */ - sourceResourceId?: pulumi.Input; - /** - * If createOption is Import, this is the URI of a blob to be imported into a managed disk. - */ - sourceUri?: pulumi.Input; + export interface KeyValuePairArgs { /** - * Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. + * The name of the setting for the action. */ - storageAccountId?: pulumi.Input; + key: pulumi.Input; /** - * If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). + * The value of the setting for the action. */ - uploadSizeBytes?: pulumi.Input; + value: pulumi.Input; } /** - * Describes a data disk. + * Model that represents a list selector. */ - export interface DataDiskArgs { - /** - * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.** - */ - caching?: pulumi.Input; - /** - * Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. - */ - createOption: pulumi.Input; - /** - * Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**. - */ - deleteOption?: pulumi.Input; + export interface ListSelectorArgs { /** - * Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. + * Model that represents available filter types that can be applied to a targets list. */ - detachOption?: pulumi.Input; + filter?: pulumi.Input; /** - * Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. + * String of the selector ID. */ - diskSizeGB?: pulumi.Input; + id: pulumi.Input; /** - * The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. + * List of Target references. */ - image?: pulumi.Input; + targets: pulumi.Input[]>; /** - * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. + * Enum of the selector type. + * Expected value is 'List'. */ - lun: pulumi.Input; + type: pulumi.Input<"List">; + } + + /** + * Model that represents a query selector. + */ + export interface QuerySelectorArgs { /** - * The managed disk parameters. + * Model that represents available filter types that can be applied to a targets list. */ - managedDisk?: pulumi.Input; + filter?: pulumi.Input; /** - * The disk name. + * String of the selector ID. */ - name?: pulumi.Input; + id: pulumi.Input; /** - * Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset + * Azure Resource Graph (ARG) Query Language query for target resources. */ - toBeDetached?: pulumi.Input; + queryString: pulumi.Input; /** - * The virtual hard disk. + * Subscription id list to scope resource query. */ - vhd?: pulumi.Input; + subscriptionIds: pulumi.Input[]>; /** - * Specifies whether writeAccelerator should be enabled or disabled on the disk. + * Enum of the selector type. + * Expected value is 'Query'. */ - writeAcceleratorEnabled?: pulumi.Input; + type: pulumi.Input<"Query">; } /** - * Contains encryption settings for a data disk image. + * The identity of a resource. */ - export interface DataDiskImageEncryptionArgs { + export interface ResourceIdentityArgs { /** - * A relative URI containing the resource ID of the disk encryption set. + * String of the resource identity type. */ - diskEncryptionSetId?: pulumi.Input; + type: pulumi.Input; /** - * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. + * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - lun: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; } /** - * Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01. + * Model that represents a simple target filter. */ - export interface DedicatedHostGroupPropertiesAdditionalCapabilitiesArgs { + export interface SimpleFilterArgs { /** - * The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01. + * Model that represents the Simple filter parameters. */ - ultraSSDEnabled?: pulumi.Input; + parameters?: pulumi.Input; + /** + * Enum that discriminates between filter types. Currently only `Simple` type is supported. + * Expected value is 'Simple'. + */ + type: pulumi.Input<"Simple">; } /** - * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. + * Model that represents the Simple filter parameters. */ - export interface DiagnosticsProfileArgs { + export interface SimpleFilterParametersArgs { /** - * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. + * List of Azure availability zones to filter targets by. */ - bootDiagnostics?: pulumi.Input; + zones?: pulumi.Input[]>; } /** - * Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk. + * Model that represents a step in the Experiment resource. */ - export interface DiffDiskSettingsArgs { + export interface StepArgs { /** - * Specifies the ephemeral disk settings for operating system disk. + * List of branches. */ - option?: pulumi.Input; + branches: pulumi.Input[]>; /** - * Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. + * String of the step name. */ - placement?: pulumi.Input; + name: pulumi.Input; } /** - * Describes the disallowed disk types. + * Model that represents a reference to a Target in the selector. */ - export interface DisallowedArgs { + export interface TargetReferenceArgs { /** - * A list of disk types. + * String of the resource ID of a Target resource. */ - diskTypes?: pulumi.Input[]>; - } - - /** - * Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. - */ - export interface DiskEncryptionSetParametersArgs { + id: pulumi.Input; /** - * Resource Id + * Enum of the Target reference type. */ - id?: pulumi.Input; + type: pulumi.Input; } - /** - * Describes a Encryption Settings for a Disk - */ - export interface DiskEncryptionSettingsArgs { - /** - * Specifies the location of the disk encryption key, which is a Key Vault Secret. - */ - diskEncryptionKey?: pulumi.Input; - /** - * Specifies whether disk encryption should be enabled on the virtual machine. - */ - enabled?: pulumi.Input; + export namespace v20230415preview { /** - * Specifies the location of the key encryption key in Key Vault. + * Model that represents a branch in the step. */ - keyEncryptionKey?: pulumi.Input; - } + export interface BranchArgs { + /** + * List of actions. + */ + actions: pulumi.Input[]>; + /** + * String of the branch name. + */ + name: pulumi.Input; + } - /** - * Disk Restore Point details. - */ - export interface DiskRestorePointAttributesArgs { - /** - * Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point. - */ - encryption?: pulumi.Input; /** - * Resource Id of the source disk restore point. + * Model that represents a continuous action. */ - sourceDiskRestorePoint?: pulumi.Input; - } + export interface ContinuousActionArgs { + /** + * ISO8601 formatted string that represents a duration. + */ + duration: pulumi.Input; + /** + * String that represents a Capability URN. + */ + name: pulumi.Input; + /** + * List of key value pairs. + */ + parameters: pulumi.Input[]>; + /** + * String that represents a selector. + */ + selectorId: pulumi.Input; + /** + * Enum that discriminates between action models. + * Expected value is 'continuous'. + */ + type: pulumi.Input<"continuous">; + } - /** - * Contains the security related information for the resource. - */ - export interface DiskSecurityProfileArgs { - /** - * ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key - */ - secureVMDiskEncryptionSetId?: pulumi.Input; /** - * Specifies the SecurityType of the VM. Applicable for OS disks only. + * Model that represents a delay action. */ - securityType?: pulumi.Input; - } + export interface DelayActionArgs { + /** + * ISO8601 formatted string that represents a duration. + */ + duration: pulumi.Input; + /** + * String that represents a Capability URN. + */ + name: pulumi.Input; + /** + * Enum that discriminates between action models. + * Expected value is 'delay'. + */ + type: pulumi.Input<"delay">; + } - /** - * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. - */ - export interface DiskSkuArgs { /** - * The sku name. + * Model that represents a discrete action. */ - name?: pulumi.Input; - } + export interface DiscreteActionArgs { + /** + * String that represents a Capability URN. + */ + name: pulumi.Input; + /** + * List of key value pairs. + */ + parameters: pulumi.Input[]>; + /** + * String that represents a selector. + */ + selectorId: pulumi.Input; + /** + * Enum that discriminates between action models. + * Expected value is 'discrete'. + */ + type: pulumi.Input<"discrete">; + } - /** - * Encryption at rest settings for disk or snapshot - */ - export interface EncryptionArgs { - /** - * ResourceId of the disk encryption set to use for enabling encryption at rest. - */ - diskEncryptionSetId?: pulumi.Input; /** - * The type of key used to encrypt the data of the disk. + * Model that represents the Experiment properties model. */ - type?: pulumi.Input; - } + export interface ExperimentPropertiesArgs { + /** + * List of selectors. + */ + selectors: pulumi.Input[]>; + /** + * A boolean value that indicates if experiment should be started on creation or not. + */ + startOnCreation?: pulumi.Input; + /** + * List of steps. + */ + steps: pulumi.Input[]>; + } - /** - * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. - */ - export interface EncryptionImagesArgs { - /** - * A list of encryption specifications for data disk images. - */ - dataDiskImages?: pulumi.Input[]>; /** - * Contains encryption settings for an OS disk image. + * A map to describe the settings of an action. */ - osDiskImage?: pulumi.Input; - } + export interface KeyValuePairArgs { + /** + * The name of the setting for the action. + */ + key: pulumi.Input; + /** + * The value of the setting for the action. + */ + value: pulumi.Input; + } - /** - * The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. - */ - export interface EncryptionSetIdentityArgs { - /** - * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. - */ - type?: pulumi.Input; /** - * The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * Model that represents a list selector. */ - userAssignedIdentities?: pulumi.Input[]>; - } + export interface ListSelectorArgs { + /** + * Model that represents available filter types that can be applied to a targets list. + */ + filter?: pulumi.Input; + /** + * String of the selector ID. + */ + id: pulumi.Input; + /** + * List of Target references. + */ + targets: pulumi.Input[]>; + /** + * Enum of the selector type. + * Expected value is 'List'. + */ + type: pulumi.Input<"List">; + } - /** - * Encryption settings for disk or snapshot - */ - export interface EncryptionSettingsCollectionArgs { - /** - * Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. - */ - enabled: pulumi.Input; - /** - * A collection of encryption settings, one for each disk volume. - */ - encryptionSettings?: pulumi.Input[]>; /** - * Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. + * Model that represents a query selector. */ - encryptionSettingsVersion?: pulumi.Input; - } + export interface QuerySelectorArgs { + /** + * Model that represents available filter types that can be applied to a targets list. + */ + filter?: pulumi.Input; + /** + * String of the selector ID. + */ + id: pulumi.Input; + /** + * Azure Resource Graph (ARG) Query Language query for target resources. + */ + queryString: pulumi.Input; + /** + * Subscription id list to scope resource query. + */ + subscriptionIds: pulumi.Input[]>; + /** + * Enum of the selector type. + * Expected value is 'Query'. + */ + type: pulumi.Input<"Query">; + } - /** - * Encryption settings for one disk volume. - */ - export interface EncryptionSettingsElementArgs { /** - * Key Vault Secret Url and vault id of the disk encryption key - */ - diskEncryptionKey?: pulumi.Input; - /** - * Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. + * The identity of a resource. */ - keyEncryptionKey?: pulumi.Input; - } + export interface ResourceIdentityArgs { + /** + * String of the resource identity type. + */ + type: pulumi.Input; + /** + * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } - /** - * The complex type of the extended location. - */ - export interface ExtendedLocationArgs { /** - * The name of the extended location. + * Model that represents a simple target filter. */ - name?: pulumi.Input; + export interface SimpleFilterArgs { + /** + * Model that represents the Simple filter parameters. + */ + parameters?: pulumi.Input; + /** + * Enum that discriminates between filter types. Currently only `Simple` type is supported. + * Expected value is 'Simple'. + */ + type: pulumi.Input<"Simple">; + } + /** - * The type of the extended location. + * Model that represents the Simple filter parameters. */ - type?: pulumi.Input; - } + export interface SimpleFilterParametersArgs { + /** + * List of Azure availability zones to filter targets by. + */ + zones?: pulumi.Input[]>; + } - /** - * Describes a cloud service Extension. - */ - export interface ExtensionArgs { /** - * The name of the extension. + * Model that represents a step in the Experiment resource. */ - name?: pulumi.Input; + export interface StepArgs { + /** + * List of branches. + */ + branches: pulumi.Input[]>; + /** + * String of the step name. + */ + name: pulumi.Input; + } + /** - * Extension Properties. + * Model that represents a reference to a Target in the selector. */ - properties?: pulumi.Input; + export interface TargetReferenceArgs { + /** + * String of the resource ID of a Target resource. + */ + id: pulumi.Input; + /** + * Enum of the Target reference type. + */ + type: pulumi.Input; + } + } +} +export namespace cognitiveservices { /** - * A custom action that can be performed with a Gallery Application Version. + * Properties of Cognitive Services account. */ - export interface GalleryApplicationCustomActionArgs { + export interface AccountPropertiesArgs { + allowedFqdnList?: pulumi.Input[]>; /** - * Description to help the users understand what this custom action does. + * The api properties for special APIs. */ - description?: pulumi.Input; + apiProperties?: pulumi.Input; /** - * The name of the custom action. Must be unique within the Gallery Application Version. + * Optional subdomain name used for token-based authentication. */ - name: pulumi.Input; + customSubDomainName?: pulumi.Input; + disableLocalAuth?: pulumi.Input; /** - * The parameters that this custom action uses + * The flag to enable dynamic throttling. */ - parameters?: pulumi.Input[]>; + dynamicThrottlingEnabled?: pulumi.Input; /** - * The script to run when executing this custom action. + * The encryption properties for this resource. */ - script: pulumi.Input; - } - - /** - * The definition of a parameter that can be passed to a custom action of a Gallery Application Version. - */ - export interface GalleryApplicationCustomActionParameterArgs { + encryption?: pulumi.Input; /** - * The default value of the parameter. Only applies to string types + * The multiregion settings of Cognitive Services account. */ - defaultValue?: pulumi.Input; + locations?: pulumi.Input; /** - * A description to help users understand what this parameter means + * Resource migration token. */ - description?: pulumi.Input; + migrationToken?: pulumi.Input; /** - * The name of the custom action. Must be unique within the Gallery Application Version. + * A collection of rules governing the accessibility from specific network locations. */ - name: pulumi.Input; + networkAcls?: pulumi.Input; /** - * Indicates whether this parameter must be passed when running the custom action. + * Whether or not public endpoint access is allowed for this account. */ - required?: pulumi.Input; + publicNetworkAccess?: pulumi.Input; + restore?: pulumi.Input; + restrictOutboundNetworkAccess?: pulumi.Input; /** - * Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob + * The storage accounts for this resource. */ - type?: pulumi.Input; + userOwnedStorage?: pulumi.Input[]>; + } + /** + * accountPropertiesArgsProvideDefaults sets the appropriate defaults for AccountPropertiesArgs + */ + export function accountPropertiesArgsProvideDefaults(val: AccountPropertiesArgs): AccountPropertiesArgs { + return { + ...val, + encryption: (val.encryption ? pulumi.output(val.encryption).apply(inputs.cognitiveservices.encryptionArgsProvideDefaults) : undefined), + }; } /** - * The publishing profile of a gallery image version. + * The api properties for special APIs. */ - export interface GalleryApplicationVersionPublishingProfileArgs { - /** - * Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only. - */ - advancedSettings?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * A list of custom actions that can be performed with this Gallery Application Version. - */ - customActions?: pulumi.Input[]>; - /** - * Optional. Whether or not this application reports health. - */ - enableHealthCheck?: pulumi.Input; + export interface ApiPropertiesArgs { /** - * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. + * (Metrics Advisor Only) The Azure AD Client Id (Application Id). */ - endOfLifeDate?: pulumi.Input; + aadClientId?: pulumi.Input; /** - * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. + * (Metrics Advisor Only) The Azure AD Tenant Id. */ - excludeFromLatest?: pulumi.Input; - manageActions?: pulumi.Input; + aadTenantId?: pulumi.Input; /** - * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. + * (Personalization Only) The flag to enable statistics of Bing Search. */ - replicaCount?: pulumi.Input; + eventHubConnectionString?: pulumi.Input; /** - * Optional parameter which specifies the mode to be used for replication. This property is not updatable. + * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. */ - replicationMode?: pulumi.Input; + qnaAzureSearchEndpointId?: pulumi.Input; /** - * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. + * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. */ - settings?: pulumi.Input; + qnaAzureSearchEndpointKey?: pulumi.Input; /** - * The source image from which the Image Version is going to be created. + * (QnAMaker Only) The runtime endpoint of QnAMaker. */ - source: pulumi.Input; + qnaRuntimeEndpoint?: pulumi.Input; /** - * Specifies the storage account type to be used to store the image. This property is not updatable. + * (Bing Search Only) The flag to enable statistics of Bing Search. */ - storageAccountType?: pulumi.Input; + statisticsEnabled?: pulumi.Input; /** - * The target extended locations where the Image Version is going to be replicated to. This property is updatable. + * (Personalization Only) The storage account connection string. */ - targetExtendedLocations?: pulumi.Input[]>; + storageAccountConnectionString?: pulumi.Input; /** - * The target regions where the Image Version is going to be replicated to. This property is updatable. + * (Metrics Advisor Only) The super user of Metrics Advisor. */ - targetRegions?: pulumi.Input[]>; - } - - /** - * The safety profile of the Gallery Application Version. - */ - export interface GalleryApplicationVersionSafetyProfileArgs { + superUser?: pulumi.Input; /** - * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. + * (Metrics Advisor Only) The website name of Metrics Advisor. */ - allowDeletionOfReplicatedLocations?: pulumi.Input; + websiteName?: pulumi.Input; } /** - * The source of the gallery artifact version. + * Cognitive Services account commitment period. */ - export interface GalleryArtifactVersionFullSourceArgs { + export interface CommitmentPeriodArgs { /** - * The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source. + * Commitment period commitment count. */ - communityGalleryImageId?: pulumi.Input; + count?: pulumi.Input; /** - * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. + * Commitment period commitment tier. */ - id?: pulumi.Input; + tier?: pulumi.Input; } /** - * This is the data disk image. + * Properties of Cognitive Services account commitment plan. */ - export interface GalleryDataDiskImageArgs { + export interface CommitmentPlanPropertiesArgs { /** - * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' + * AutoRenew commitment plan. */ - hostCaching?: pulumi.Input; + autoRenew?: pulumi.Input; /** - * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. + * Commitment plan guid. */ - lun: pulumi.Input; + commitmentPlanGuid?: pulumi.Input; /** - * The source for the disk image. + * Cognitive Services account commitment period. */ - source?: pulumi.Input; - } - - /** - * The source for the disk image. - */ - export interface GalleryDiskImageSourceArgs { + current?: pulumi.Input; /** - * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. + * Account hosting model. */ - id?: pulumi.Input; + hostingModel?: pulumi.Input; /** - * The Storage Account Id that contains the vhd blob being used as a source for this artifact version. + * Cognitive Services account commitment period. */ - storageAccountId?: pulumi.Input; + next?: pulumi.Input; /** - * The uri of the gallery artifact version source. Currently used to specify vhd/blob source. + * Commitment plan type. */ - uri?: pulumi.Input; + planType?: pulumi.Input; } /** - * The name of the extended location. + * Properties of Cognitive Services account deployment model. */ - export interface GalleryExtendedLocationArgs { - name?: pulumi.Input; + export interface DeploymentModelArgs { /** - * It is type of the extended location. + * Deployment model format. */ - type?: pulumi.Input; - } - - /** - * A feature for gallery image. - */ - export interface GalleryImageFeatureArgs { + format?: pulumi.Input; /** - * The name of the gallery image feature. + * Deployment model name. */ name?: pulumi.Input; /** - * The value of the gallery image feature. - */ - value?: pulumi.Input; - } - - /** - * This is the gallery image definition identifier. - */ - export interface GalleryImageIdentifierArgs { - /** - * The name of the gallery image definition offer. - */ - offer: pulumi.Input; - /** - * The name of the gallery image definition publisher. + * Optional. Deployment model source ARM resource ID. */ - publisher: pulumi.Input; + source?: pulumi.Input; /** - * The name of the gallery image definition SKU. + * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. */ - sku: pulumi.Input; + version?: pulumi.Input; } /** - * The publishing profile of a gallery image Version. + * Properties of Cognitive Services account deployment. */ - export interface GalleryImageVersionPublishingProfileArgs { - /** - * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. - */ - endOfLifeDate?: pulumi.Input; - /** - * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. - */ - excludeFromLatest?: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. - */ - replicaCount?: pulumi.Input; + export interface DeploymentPropertiesArgs { /** - * Optional parameter which specifies the mode to be used for replication. This property is not updatable. + * Properties of Cognitive Services account deployment model. */ - replicationMode?: pulumi.Input; + model?: pulumi.Input; /** - * Specifies the storage account type to be used to store the image. This property is not updatable. + * The name of RAI policy. */ - storageAccountType?: pulumi.Input; + raiPolicyName?: pulumi.Input; /** - * The target extended locations where the Image Version is going to be replicated to. This property is updatable. + * Properties of Cognitive Services account deployment model. */ - targetExtendedLocations?: pulumi.Input[]>; + scaleSettings?: pulumi.Input; /** - * The target regions where the Image Version is going to be replicated to. This property is updatable. + * Deployment model version upgrade option. */ - targetRegions?: pulumi.Input[]>; + versionUpgradeOption?: pulumi.Input; } /** - * This is the safety profile of the Gallery Image Version. + * Properties of Cognitive Services account deployment model. */ - export interface GalleryImageVersionSafetyProfileArgs { + export interface DeploymentScaleSettingsArgs { /** - * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. + * Deployment capacity. */ - allowDeletionOfReplicatedLocations?: pulumi.Input; + capacity?: pulumi.Input; + /** + * Deployment scale type. + */ + scaleType?: pulumi.Input; } /** - * This is the storage profile of a Gallery Image Version. + * Properties to configure Encryption */ - export interface GalleryImageVersionStorageProfileArgs { - /** - * A list of data disk images. - */ - dataDiskImages?: pulumi.Input[]>; + export interface EncryptionArgs { /** - * This is the OS disk image. + * Enumerates the possible value of keySource for Encryption */ - osDiskImage?: pulumi.Input; + keySource?: pulumi.Input; /** - * The source of the gallery artifact version. + * Properties of KeyVault */ - source?: pulumi.Input; + keyVaultProperties?: pulumi.Input; } - /** - * This is the OS disk image. + * encryptionArgsProvideDefaults sets the appropriate defaults for EncryptionArgs */ - export interface GalleryOSDiskImageArgs { - /** - * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' - */ - hostCaching?: pulumi.Input; - /** - * The source for the disk image. - */ - source?: pulumi.Input; + export function encryptionArgsProvideDefaults(val: EncryptionArgs): EncryptionArgs { + return { + ...val, + keySource: (val.keySource) ?? "Microsoft.KeyVault", + }; } - export interface GalleryTargetExtendedLocationArgs { - /** - * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. - */ - encryption?: pulumi.Input; - /** - * The name of the extended location. - */ - extendedLocation?: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per extended location. This property is updatable. - */ - extendedLocationReplicaCount?: pulumi.Input; + /** + * Identity for the resource. + */ + export interface IdentityArgs { /** - * The name of the region. + * The identity type. */ - name?: pulumi.Input; + type?: pulumi.Input; /** - * Specifies the storage account type to be used to store the image. This property is not updatable. + * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */ - storageAccountType?: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; } /** - * Specifies the hardware settings for the virtual machine. + * A rule governing the accessibility from a specific ip address or ip range. */ - export interface HardwareProfileArgs { - /** - * Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set. - */ - vmSize?: pulumi.Input; + export interface IpRuleArgs { /** - * Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. + * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */ - vmSizeProperties?: pulumi.Input; + value: pulumi.Input; } /** - * Describes a data disk. + * Properties to configure keyVault Properties */ - export interface ImageDataDiskArgs { - /** - * The Virtual Hard Disk. - */ - blobUri?: pulumi.Input; - /** - * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** - */ - caching?: pulumi.Input; - /** - * Specifies the customer managed disk encryption set resource id for the managed image disk. - */ - diskEncryptionSet?: pulumi.Input; - /** - * Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB. - */ - diskSizeGB?: pulumi.Input; - /** - * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. - */ - lun: pulumi.Input; + export interface KeyVaultPropertiesArgs { + identityClientId?: pulumi.Input; /** - * The managedDisk. + * Name of the Key from KeyVault */ - managedDisk?: pulumi.Input; + keyName?: pulumi.Input; /** - * The snapshot. + * Uri of KeyVault */ - snapshot?: pulumi.Input; + keyVaultUri?: pulumi.Input; /** - * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. + * Version of the Key from KeyVault */ - storageAccountType?: pulumi.Input; + keyVersion?: pulumi.Input; } /** - * The source image used for creating the disk. + * The multiregion settings Cognitive Services account. */ - export interface ImageDiskReferenceArgs { - /** - * A relative uri containing a community Azure Compute Gallery image reference. - */ - communityGalleryImageId?: pulumi.Input; - /** - * A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. - */ - id?: pulumi.Input; - /** - * If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. - */ - lun?: pulumi.Input; + export interface MultiRegionSettingsArgs { + regions?: pulumi.Input[]>; /** - * A relative uri containing a direct shared Azure Compute Gallery image reference. + * Multiregion routing methods. */ - sharedGalleryImageId?: pulumi.Input; + routingMethod?: pulumi.Input; } /** - * Describes an Operating System disk. + * A set of rules governing the network accessibility. */ - export interface ImageOSDiskArgs { - /** - * The Virtual Hard Disk. - */ - blobUri?: pulumi.Input; - /** - * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** - */ - caching?: pulumi.Input; - /** - * Specifies the customer managed disk encryption set resource id for the managed image disk. - */ - diskEncryptionSet?: pulumi.Input; - /** - * Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB. - */ - diskSizeGB?: pulumi.Input; - /** - * The managedDisk. - */ - managedDisk?: pulumi.Input; - /** - * The OS State. For managed images, use Generalized. - */ - osState: pulumi.Input; + export interface NetworkRuleSetArgs { /** - * This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: **Windows,** **Linux.** + * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */ - osType: pulumi.Input; + defaultAction?: pulumi.Input; /** - * The snapshot. + * The list of IP address rules. */ - snapshot?: pulumi.Input; + ipRules?: pulumi.Input[]>; /** - * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. + * The list of virtual network rules. */ - storageAccountType?: pulumi.Input; + virtualNetworkRules?: pulumi.Input[]>; } /** - * Describes the gallery image definition purchase plan. This is used by marketplace images. + * Properties of the PrivateEndpointConnectProperties. */ - export interface ImagePurchasePlanArgs { - /** - * The plan ID. - */ - name?: pulumi.Input; + export interface PrivateEndpointConnectionPropertiesArgs { /** - * The product ID. + * The private link resource group ids. */ - product?: pulumi.Input; + groupIds?: pulumi.Input[]>; /** - * The publisher ID. + * A collection of information about the state of the connection between service consumer and provider. */ - publisher?: pulumi.Input; + privateLinkServiceConnectionState: pulumi.Input; } /** - * Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. + * A collection of information about the state of the connection between service consumer and provider. */ - export interface ImageReferenceArgs { - /** - * Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. - */ - communityGalleryImageId?: pulumi.Input; - /** - * Resource Id - */ - id?: pulumi.Input; - /** - * Specifies the offer of the platform image or marketplace image used to create the virtual machine. - */ - offer?: pulumi.Input; - /** - * The image publisher. - */ - publisher?: pulumi.Input; + export interface PrivateLinkServiceConnectionStateArgs { /** - * Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. + * A message indicating if changes on the service provider require any updates on the consumer. */ - sharedGalleryImageId?: pulumi.Input; + actionsRequired?: pulumi.Input; /** - * The image SKU. + * The reason for approval/rejection of the connection. */ - sku?: pulumi.Input; + description?: pulumi.Input; /** - * Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - version?: pulumi.Input; + status?: pulumi.Input; } /** - * Describes a storage profile. + * The call rate limit Cognitive Services account. */ - export interface ImageStorageProfileArgs { + export interface RegionSettingArgs { /** - * Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * Maps the region to the regional custom subdomain. */ - dataDisks?: pulumi.Input[]>; + customsubdomain?: pulumi.Input; /** - * Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * Name of the region. */ - osDisk?: pulumi.Input; + name?: pulumi.Input; /** - * Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). + * A value for priority or weighted routing methods. */ - zoneResilient?: pulumi.Input; + value?: pulumi.Input; } /** - * Instance view status. + * The resource model definition representing SKU */ - export interface InstanceViewStatusArgs { + export interface SkuArgs { /** - * The status code. + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - code?: pulumi.Input; + capacity?: pulumi.Input; /** - * The short localizable label for the status. + * If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - displayStatus?: pulumi.Input; + family?: pulumi.Input; /** - * The level code. + * The name of the SKU. Ex - P3. It is typically a letter+number code */ - level?: pulumi.Input; + name: pulumi.Input; /** - * The detailed status message, including for alerts and error messages. + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - message?: pulumi.Input; + size?: pulumi.Input; /** - * The time of the status. + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - time?: pulumi.Input; + tier?: pulumi.Input; } /** - * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots + * The user owned storage for Cognitive Services account. */ - export interface KeyForDiskEncryptionSetArgs { - /** - * Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. - */ - keyUrl: pulumi.Input; + export interface UserOwnedStorageArgs { + identityClientId?: pulumi.Input; /** - * Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. + * Full resource id of a Microsoft.Storage resource. */ - sourceVault?: pulumi.Input; + resourceId?: pulumi.Input; } /** - * Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey + * A rule governing the accessibility from a specific virtual network. */ - export interface KeyVaultAndKeyReferenceArgs { - /** - * Url pointing to a key or secret in KeyVault - */ - keyUrl: pulumi.Input; + export interface VirtualNetworkRuleArgs { /** - * Resource id of the KeyVault containing the key or secret + * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */ - sourceVault: pulumi.Input; - } - - /** - * Key Vault Secret Url and vault id of the encryption key - */ - export interface KeyVaultAndSecretReferenceArgs { + id: pulumi.Input; /** - * Url pointing to a key or secret in KeyVault + * Ignore missing vnet service endpoint or not. */ - secretUrl: pulumi.Input; + ignoreMissingVnetServiceEndpoint?: pulumi.Input; /** - * Resource id of the KeyVault containing the key or secret + * Gets the state of virtual network rule. */ - sourceVault: pulumi.Input; + state?: pulumi.Input; } - /** - * Describes a reference to Key Vault Key - */ - export interface KeyVaultKeyReferenceArgs { - /** - * The URL referencing a key encryption key in Key Vault. - */ - keyUrl: pulumi.Input; + export namespace v20170418 { /** - * The relative URL of the Key Vault containing the key. + * The api properties for special APIs. */ - sourceVault: pulumi.Input; - } + export interface CognitiveServicesAccountApiPropertiesArgs { + /** + * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + */ + aadClientId?: pulumi.Input; + /** + * (Metrics Advisor Only) The Azure AD Tenant Id. + */ + aadTenantId?: pulumi.Input; + /** + * (Personalization Only) The flag to enable statistics of Bing Search. + */ + eventHubConnectionString?: pulumi.Input; + /** + * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + */ + qnaAzureSearchEndpointId?: pulumi.Input; + /** + * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + */ + qnaAzureSearchEndpointKey?: pulumi.Input; + /** + * (QnAMaker Only) The runtime endpoint of QnAMaker. + */ + qnaRuntimeEndpoint?: pulumi.Input; + /** + * (Bing Search Only) The flag to enable statistics of Bing Search. + */ + statisticsEnabled?: pulumi.Input; + /** + * (Personalization Only) The storage account connection string. + */ + storageAccountConnectionString?: pulumi.Input; + /** + * (Metrics Advisor Only) The super user of Metrics Advisor. + */ + superUser?: pulumi.Input; + /** + * (Metrics Advisor Only) The website name of Metrics Advisor. + */ + websiteName?: pulumi.Input; + } - /** - * Describes a reference to Key Vault Secret - */ - export interface KeyVaultSecretReferenceArgs { /** - * The URL referencing a secret in a Key Vault. + * Properties of Cognitive Services account. */ - secretUrl: pulumi.Input; + export interface CognitiveServicesAccountPropertiesArgs { + /** + * The api properties for special APIs. + */ + apiProperties?: pulumi.Input; + /** + * Optional subdomain name used for token-based authentication. + */ + customSubDomainName?: pulumi.Input; + /** + * The encryption properties for this resource. + */ + encryption?: pulumi.Input; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + networkAcls?: pulumi.Input; + /** + * The private endpoint connection associated with the Cognitive Services account. + */ + privateEndpointConnections?: pulumi.Input[]>; + /** + * Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + */ + publicNetworkAccess?: pulumi.Input; + /** + * The storage accounts for this resource. + */ + userOwnedStorage?: pulumi.Input[]>; + } /** - * The relative URL of the Key Vault containing the secret. + * cognitiveServicesAccountPropertiesArgsProvideDefaults sets the appropriate defaults for CognitiveServicesAccountPropertiesArgs */ - sourceVault: pulumi.Input; - } + export function cognitiveServicesAccountPropertiesArgsProvideDefaults(val: CognitiveServicesAccountPropertiesArgs): CognitiveServicesAccountPropertiesArgs { + return { + ...val, + encryption: (val.encryption ? pulumi.output(val.encryption).apply(inputs.cognitiveservices.v20170418.encryptionArgsProvideDefaults) : undefined), + }; + } - /** - * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). - */ - export interface LinuxConfigurationArgs { /** - * Specifies whether password authentication should be disabled. + * Properties to configure Encryption */ - disablePasswordAuthentication?: pulumi.Input; + export interface EncryptionArgs { + /** + * Enumerates the possible value of keySource for Encryption + */ + keySource?: pulumi.Input; + /** + * Properties of KeyVault + */ + keyVaultProperties?: pulumi.Input; + } /** - * Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false. + * encryptionArgsProvideDefaults sets the appropriate defaults for EncryptionArgs */ - enableVMAgentPlatformUpdates?: pulumi.Input; + export function encryptionArgsProvideDefaults(val: EncryptionArgs): EncryptionArgs { + return { + ...val, + keySource: (val.keySource) ?? "Microsoft.KeyVault", + }; + } + /** - * [Preview Feature] Specifies settings related to VM Guest Patching on Linux. + * Managed service identity. */ - patchSettings?: pulumi.Input; + export interface IdentityArgs { + /** + * Type of managed service identity. + */ + type?: pulumi.Input; + /** + * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + */ + userAssignedIdentities?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + /** - * Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + * A rule governing the accessibility from a specific ip address or ip range. */ - provisionVMAgent?: pulumi.Input; + export interface IpRuleArgs { + /** + * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + */ + value: pulumi.Input; + } + /** - * Specifies the ssh key configuration for a Linux OS. + * Properties to configure keyVault Properties */ - ssh?: pulumi.Input; - } + export interface KeyVaultPropertiesArgs { + /** + * Name of the Key from KeyVault + */ + keyName?: pulumi.Input; + /** + * Uri of KeyVault + */ + keyVaultUri?: pulumi.Input; + /** + * Version of the Key from KeyVault + */ + keyVersion?: pulumi.Input; + } - /** - * Specifies settings related to VM Guest Patching on Linux. - */ - export interface LinuxPatchSettingsArgs { - /** - * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. - */ - assessmentMode?: pulumi.Input; - /** - * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux. - */ - automaticByPlatformSettings?: pulumi.Input; /** - * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true + * A set of rules governing the network accessibility. */ - patchMode?: pulumi.Input; - } + export interface NetworkRuleSetArgs { + /** + * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. + */ + defaultAction?: pulumi.Input; + /** + * The list of IP address rules. + */ + ipRules?: pulumi.Input[]>; + /** + * The list of virtual network rules. + */ + virtualNetworkRules?: pulumi.Input[]>; + } - /** - * Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings. - */ - export interface LinuxVMGuestPatchAutomaticByPlatformSettingsArgs { /** - * Enables customer to schedule patching without accidental upgrades - */ - bypassPlatformSafetyChecksOnUserSchedule?: pulumi.Input; - /** - * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + * The Private Endpoint Connection resource. */ - rebootSetting?: pulumi.Input; - } + export interface PrivateEndpointConnectionArgs { + /** + * The location of the private endpoint connection + */ + location?: pulumi.Input; + /** + * Resource properties. + */ + properties?: pulumi.Input; + } - /** - * Describes the load balancer configuration. - */ - export interface LoadBalancerConfigurationArgs { - /** - * Resource Id - */ - id?: pulumi.Input; - /** - * The name of the Load balancer - */ - name: pulumi.Input; /** - * Properties of the load balancer configuration. + * Properties of the PrivateEndpointConnectProperties. */ - properties: pulumi.Input; - } + export interface PrivateEndpointConnectionPropertiesArgs { + /** + * The private link resource group ids. + */ + groupIds?: pulumi.Input[]>; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: pulumi.Input; + } - /** - * Describes the properties of the load balancer configuration. - */ - export interface LoadBalancerConfigurationPropertiesArgs { /** - * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. + * A collection of information about the state of the connection between service consumer and provider. */ - frontendIpConfigurations: pulumi.Input[]>; - } + export interface PrivateLinkServiceConnectionStateArgs { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; + } - /** - * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. - */ - export interface LoadBalancerFrontendIpConfigurationArgs { - /** - * The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. - */ - name: pulumi.Input; /** - * Properties of load balancer frontend ip configuration. + * The SKU of the cognitive services account. */ - properties: pulumi.Input; - } + export interface SkuArgs { + /** + * Gets or sets the sku name. Required for account creation, optional for update. + */ + name: pulumi.Input; + } - /** - * Describes a cloud service IP Configuration - */ - export interface LoadBalancerFrontendIpConfigurationPropertiesArgs { /** - * The virtual network private IP address of the IP configuration. + * User-assigned managed identity. */ - privateIPAddress?: pulumi.Input; + export interface UserAssignedIdentityArgs { + /** + * Client App Id associated with this identity. + */ + clientId?: pulumi.Input; + /** + * Azure Active Directory principal ID associated with this Identity. + */ + principalId?: pulumi.Input; + } + /** - * The reference to the public ip address resource. + * The user owned storage for Cognitive Services account. */ - publicIPAddress?: pulumi.Input; + export interface UserOwnedStorageArgs { + /** + * Full resource id of a Microsoft.Storage resource. + */ + resourceId?: pulumi.Input; + } + /** - * The reference to the virtual network subnet resource. + * A rule governing the accessibility from a specific virtual network. */ - subnet?: pulumi.Input; + export interface VirtualNetworkRuleArgs { + /** + * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + */ + id: pulumi.Input; + /** + * Ignore missing vnet service endpoint or not. + */ + ignoreMissingVnetServiceEndpoint?: pulumi.Input; + /** + * Gets the state of virtual network rule. + */ + state?: pulumi.Input; + } + } - /** - * The parameters of a managed disk. - */ - export interface ManagedDiskParametersArgs { + export namespace v20230501 { /** - * Specifies the customer managed disk encryption set resource id for the managed disk. + * Properties of Cognitive Services account. */ - diskEncryptionSet?: pulumi.Input; + export interface AccountPropertiesArgs { + allowedFqdnList?: pulumi.Input[]>; + /** + * The api properties for special APIs. + */ + apiProperties?: pulumi.Input; + /** + * Optional subdomain name used for token-based authentication. + */ + customSubDomainName?: pulumi.Input; + disableLocalAuth?: pulumi.Input; + /** + * The flag to enable dynamic throttling. + */ + dynamicThrottlingEnabled?: pulumi.Input; + /** + * The encryption properties for this resource. + */ + encryption?: pulumi.Input; + /** + * The multiregion settings of Cognitive Services account. + */ + locations?: pulumi.Input; + /** + * Resource migration token. + */ + migrationToken?: pulumi.Input; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + networkAcls?: pulumi.Input; + /** + * Whether or not public endpoint access is allowed for this account. + */ + publicNetworkAccess?: pulumi.Input; + restore?: pulumi.Input; + restrictOutboundNetworkAccess?: pulumi.Input; + /** + * The storage accounts for this resource. + */ + userOwnedStorage?: pulumi.Input[]>; + } /** - * Resource Id + * accountPropertiesArgsProvideDefaults sets the appropriate defaults for AccountPropertiesArgs */ - id?: pulumi.Input; + export function accountPropertiesArgsProvideDefaults(val: AccountPropertiesArgs): AccountPropertiesArgs { + return { + ...val, + encryption: (val.encryption ? pulumi.output(val.encryption).apply(inputs.cognitiveservices.v20230501.encryptionArgsProvideDefaults) : undefined), + }; + } + /** - * Specifies the security profile for the managed disk. + * The api properties for special APIs. */ - securityProfile?: pulumi.Input; + export interface ApiPropertiesArgs { + /** + * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + */ + aadClientId?: pulumi.Input; + /** + * (Metrics Advisor Only) The Azure AD Tenant Id. + */ + aadTenantId?: pulumi.Input; + /** + * (Personalization Only) The flag to enable statistics of Bing Search. + */ + eventHubConnectionString?: pulumi.Input; + /** + * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + */ + qnaAzureSearchEndpointId?: pulumi.Input; + /** + * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + */ + qnaAzureSearchEndpointKey?: pulumi.Input; + /** + * (QnAMaker Only) The runtime endpoint of QnAMaker. + */ + qnaRuntimeEndpoint?: pulumi.Input; + /** + * (Bing Search Only) The flag to enable statistics of Bing Search. + */ + statisticsEnabled?: pulumi.Input; + /** + * (Personalization Only) The storage account connection string. + */ + storageAccountConnectionString?: pulumi.Input; + /** + * (Metrics Advisor Only) The super user of Metrics Advisor. + */ + superUser?: pulumi.Input; + /** + * (Metrics Advisor Only) The website name of Metrics Advisor. + */ + websiteName?: pulumi.Input; + } + /** - * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. + * Cognitive Services account commitment period. */ - storageAccountType?: pulumi.Input; - } + export interface CommitmentPeriodArgs { + /** + * Commitment period commitment count. + */ + count?: pulumi.Input; + /** + * Commitment period commitment tier. + */ + tier?: pulumi.Input; + } - /** - * Describes a network interface reference. - */ - export interface NetworkInterfaceReferenceArgs { /** - * Specify what happens to the network interface when the VM is deleted + * Properties of Cognitive Services account commitment plan. */ - deleteOption?: pulumi.Input; + export interface CommitmentPlanPropertiesArgs { + /** + * AutoRenew commitment plan. + */ + autoRenew?: pulumi.Input; + /** + * Commitment plan guid. + */ + commitmentPlanGuid?: pulumi.Input; + /** + * Cognitive Services account commitment period. + */ + current?: pulumi.Input; + /** + * Account hosting model. + */ + hostingModel?: pulumi.Input; + /** + * Cognitive Services account commitment period. + */ + next?: pulumi.Input; + /** + * Commitment plan type. + */ + planType?: pulumi.Input; + } + /** - * Resource Id + * Properties of Cognitive Services account deployment model. */ - id?: pulumi.Input; + export interface DeploymentModelArgs { + /** + * Deployment model format. + */ + format?: pulumi.Input; + /** + * Deployment model name. + */ + name?: pulumi.Input; + /** + * Optional. Deployment model source ARM resource ID. + */ + source?: pulumi.Input; + /** + * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + */ + version?: pulumi.Input; + } + /** - * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + * Properties of Cognitive Services account deployment. */ - primary?: pulumi.Input; - } + export interface DeploymentPropertiesArgs { + /** + * Properties of Cognitive Services account deployment model. + */ + model?: pulumi.Input; + /** + * The name of RAI policy. + */ + raiPolicyName?: pulumi.Input; + /** + * Properties of Cognitive Services account deployment model. + */ + scaleSettings?: pulumi.Input; + /** + * Deployment model version upgrade option. + */ + versionUpgradeOption?: pulumi.Input; + } - /** - * Specifies the network interfaces or the networking configuration of the virtual machine. - */ - export interface NetworkProfileArgs { /** - * specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations + * Properties of Cognitive Services account deployment model. */ - networkApiVersion?: pulumi.Input; + export interface DeploymentScaleSettingsArgs { + /** + * Deployment capacity. + */ + capacity?: pulumi.Input; + /** + * Deployment scale type. + */ + scaleType?: pulumi.Input; + } + /** - * Specifies the networking configurations that will be used to create the virtual machine networking resources. + * Properties to configure Encryption */ - networkInterfaceConfigurations?: pulumi.Input[]>; + export interface EncryptionArgs { + /** + * Enumerates the possible value of keySource for Encryption + */ + keySource?: pulumi.Input; + /** + * Properties of KeyVault + */ + keyVaultProperties?: pulumi.Input; + } /** - * Specifies the list of resource Ids for the network interfaces associated with the virtual machine. + * encryptionArgsProvideDefaults sets the appropriate defaults for EncryptionArgs */ - networkInterfaces?: pulumi.Input[]>; - } + export function encryptionArgsProvideDefaults(val: EncryptionArgs): EncryptionArgs { + return { + ...val, + keySource: (val.keySource) ?? "Microsoft.KeyVault", + }; + } - /** - * Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). - */ - export interface OSDiskArgs { /** - * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.** + * Identity for the resource. */ - caching?: pulumi.Input; + export interface IdentityArgs { + /** + * The identity type. + */ + type?: pulumi.Input; + /** + * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + */ + userAssignedIdentities?: pulumi.Input[]>; + } + /** - * Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. + * A rule governing the accessibility from a specific ip address or ip range. */ - createOption: pulumi.Input; + export interface IpRuleArgs { + /** + * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + */ + value: pulumi.Input; + } + /** - * Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the OS disk is deleted when VM is deleted. **Detach.** If this value is used, the os disk is retained after VM is deleted. The default value is set to **Detach**. For an ephemeral OS Disk, the default value is set to **Delete**. The user cannot change the delete option for an ephemeral OS Disk. + * Properties to configure keyVault Properties */ - deleteOption?: pulumi.Input; + export interface KeyVaultPropertiesArgs { + identityClientId?: pulumi.Input; + /** + * Name of the Key from KeyVault + */ + keyName?: pulumi.Input; + /** + * Uri of KeyVault + */ + keyVaultUri?: pulumi.Input; + /** + * Version of the Key from KeyVault + */ + keyVersion?: pulumi.Input; + } + /** - * Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. + * The multiregion settings Cognitive Services account. */ - diffDiskSettings?: pulumi.Input; + export interface MultiRegionSettingsArgs { + regions?: pulumi.Input[]>; + /** + * Multiregion routing methods. + */ + routingMethod?: pulumi.Input; + } + /** - * Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. + * A set of rules governing the network accessibility. */ - diskSizeGB?: pulumi.Input; + export interface NetworkRuleSetArgs { + /** + * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. + */ + defaultAction?: pulumi.Input; + /** + * The list of IP address rules. + */ + ipRules?: pulumi.Input[]>; + /** + * The list of virtual network rules. + */ + virtualNetworkRules?: pulumi.Input[]>; + } + /** - * Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15. + * Properties of the PrivateEndpointConnectProperties. */ - encryptionSettings?: pulumi.Input; + export interface PrivateEndpointConnectionPropertiesArgs { + /** + * The private link resource group ids. + */ + groupIds?: pulumi.Input[]>; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: pulumi.Input; + } + /** - * The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. + * A collection of information about the state of the connection between service consumer and provider. */ - image?: pulumi.Input; + export interface PrivateLinkServiceConnectionStateArgs { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; + } + /** - * The managed disk parameters. + * The call rate limit Cognitive Services account. */ - managedDisk?: pulumi.Input; + export interface RegionSettingArgs { + /** + * Maps the region to the regional custom subdomain. + */ + customsubdomain?: pulumi.Input; + /** + * Name of the region. + */ + name?: pulumi.Input; + /** + * A value for priority or weighted routing methods. + */ + value?: pulumi.Input; + } + /** - * The disk name. + * The resource model definition representing SKU */ - name?: pulumi.Input; + export interface SkuArgs { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: pulumi.Input; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: pulumi.Input; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: pulumi.Input; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: pulumi.Input; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: pulumi.Input; + } + /** - * This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.** + * The user owned storage for Cognitive Services account. */ - osType?: pulumi.Input; + export interface UserOwnedStorageArgs { + identityClientId?: pulumi.Input; + /** + * Full resource id of a Microsoft.Storage resource. + */ + resourceId?: pulumi.Input; + } + /** - * The virtual hard disk. + * A rule governing the accessibility from a specific virtual network. */ - vhd?: pulumi.Input; + export interface VirtualNetworkRuleArgs { + /** + * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + */ + id: pulumi.Input; + /** + * Ignore missing vnet service endpoint or not. + */ + ignoreMissingVnetServiceEndpoint?: pulumi.Input; + /** + * Gets the state of virtual network rule. + */ + state?: pulumi.Input; + } + + } +} + +export namespace communication { + export namespace v20220701preview { + } + + export namespace v20230331 { + } + + export namespace v20230401preview { /** - * Specifies whether writeAccelerator should be enabled or disabled on the disk. + * Managed service identity (system assigned and/or user assigned identities) */ - writeAcceleratorEnabled?: pulumi.Input; + export interface ManagedServiceIdentityArgs { + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + } +} +export namespace compute { /** - * Contains encryption settings for an OS disk image. + * Enables or disables a capability on the virtual machine or virtual machine scale set. */ - export interface OSDiskImageEncryptionArgs { + export interface AdditionalCapabilitiesArgs { /** - * A relative URI containing the resource ID of the disk encryption set. + * The flag that enables or disables hibernation capability on the VM. */ - diskEncryptionSetId?: pulumi.Input; + hibernationEnabled?: pulumi.Input; /** - * This property specifies the security profile of an OS disk image. + * The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. */ - securityProfile?: pulumi.Input; + ultraSSDEnabled?: pulumi.Input; } /** - * Contains security profile for an OS disk image. + * Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. */ - export interface OSDiskImageSecurityProfileArgs { + export interface AdditionalUnattendContentArgs { /** - * confidential VM encryption types + * The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. */ - confidentialVMEncryptionType?: pulumi.Input; + componentName?: pulumi.Input; /** - * secure VM disk encryption set id + * Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. */ - secureVMDiskEncryptionSetId?: pulumi.Input; - } - - export interface OSImageNotificationProfileArgs { + content?: pulumi.Input; /** - * Specifies whether the OS Image Scheduled event is enabled or disabled. + * The pass name. Currently, the only allowable value is OobeSystem. */ - enable?: pulumi.Input; + passName?: pulumi.Input; /** - * Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M) + * Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. */ - notBeforeTimeout?: pulumi.Input; + settingName?: pulumi.Input; } /** - * Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. + * The API entity reference. */ - export interface OSProfileArgs { + export interface ApiEntityReferenceArgs { /** - * Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) + * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */ - adminPassword?: pulumi.Input; + id?: pulumi.Input; + } + + /** + * Contains the list of gallery applications that should be made available to the VM/VMSS + */ + export interface ApplicationProfileArgs { /** - * Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. + * Specifies the gallery applications that should be made available to the VM/VMSS */ - adminUsername?: pulumi.Input; + galleryApplications?: pulumi.Input[]>; + } + + /** + * The configuration parameters used for performing automatic OS upgrade. + */ + export interface AutomaticOSUpgradePolicyArgs { /** - * Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine. + * Whether OS image rollback feature should be disabled. Default value is false. */ - allowExtensionOperations?: pulumi.Input; + disableAutomaticRollback?: pulumi.Input; /** - * Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). + * Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. */ - computerName?: pulumi.Input; + enableAutomaticOSUpgrade?: pulumi.Input; /** - * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init). + * Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS. */ - customData?: pulumi.Input; + useRollingUpgradePolicy?: pulumi.Input; + } + + /** + * Specifies the configuration parameters for automatic repairs on the virtual machine scale set. + */ + export interface AutomaticRepairsPolicyArgs { /** - * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + * Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. */ - linuxConfiguration?: pulumi.Input; + enabled?: pulumi.Input; /** - * Optional property which must either be set to True or omitted. + * The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). */ - requireGuestProvisionSignal?: pulumi.Input; + gracePeriod?: pulumi.Input; /** - * Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. */ - secrets?: pulumi.Input[]>; + repairAction?: pulumi.Input; + } + + /** + * Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01. + */ + export interface BillingProfileArgs { /** - * Specifies Windows operating system settings on the virtual machine. + * Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.

This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.

The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

Possible values are:

- Any decimal value greater than zero. Example: 0.01538

-1 – indicates default price to be up-to on-demand.

You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.

Minimum api-version: 2019-03-01. */ - windowsConfiguration?: pulumi.Input; + maxPrice?: pulumi.Input; } /** - * Specifies settings related to VM Guest Patching on Windows. + * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. */ - export interface PatchSettingsArgs { + export interface BootDiagnosticsArgs { /** - * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. + * Whether boot diagnostics should be enabled on the Virtual Machine. */ - assessmentMode?: pulumi.Input; + enabled?: pulumi.Input; /** - * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. + * Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used. */ - automaticByPlatformSettings?: pulumi.Input; + storageUri?: pulumi.Input; + } + + /** + * The parameters of a capacity reservation Profile. + */ + export interface CapacityReservationProfileArgs { /** - * Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. + * Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details. */ - enableHotpatching?: pulumi.Input; + capacityReservationGroup?: pulumi.Input; + } + + /** + * Describes a cloud service extension profile. + */ + export interface CloudServiceExtensionProfileArgs { /** - * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true + * List of extensions for the cloud service. */ - patchMode?: pulumi.Input; + extensions?: pulumi.Input[]>; } /** - * Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. + * Extension Properties. */ - export interface PlanArgs { + export interface CloudServiceExtensionPropertiesArgs { /** - * The plan ID. + * Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. */ - name?: pulumi.Input; + autoUpgradeMinorVersion?: pulumi.Input; /** - * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. + * Tag to force apply the provided public and protected settings. + * Changing the tag value allows for re-running the extension without changing any of the public or protected settings. + * If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. + * If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and + * it is up to handler implementation whether to re-run it or not */ - product?: pulumi.Input; + forceUpdateTag?: pulumi.Input; /** - * The promotion code. + * Protected settings for the extension which are encrypted before sent to the role instance. */ - promotionCode?: pulumi.Input; + protectedSettings?: any; /** - * The publisher ID. + * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. + */ + protectedSettingsFromKeyVault?: pulumi.Input; + /** + * The name of the extension handler publisher. */ publisher?: pulumi.Input; - } - - /** - * Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached. - */ - export interface PriorityMixPolicyArgs { /** - * The base number of regular priority VMs that will be created in this scale set as it scales out. + * Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. */ - baseRegularPriorityCount?: pulumi.Input; + rolesAppliedTo?: pulumi.Input[]>; /** - * The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority. + * Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension. */ - regularPriorityPercentageAboveBase?: pulumi.Input; + settings?: any; + /** + * Specifies the type of the extension. + */ + type?: pulumi.Input; + /** + * Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance. + */ + typeHandlerVersion?: pulumi.Input; } /** - * A collection of information about the state of the connection between service consumer and provider. + * Network Profile for the cloud service. */ - export interface PrivateLinkServiceConnectionStateArgs { + export interface CloudServiceNetworkProfileArgs { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer. */ - actionsRequired?: pulumi.Input; + loadBalancerConfigurations?: pulumi.Input[]>; /** - * The reason for approval/rejection of the connection. + * Slot type for the cloud service. + * Possible values are

**Production**

**Staging**

+ * If not specified, the default value is Production. */ - description?: pulumi.Input; + slotType?: pulumi.Input; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown. */ - status?: pulumi.Input; + swappableCloudService?: pulumi.Input; } /** - * Specifies the user intent of the proximity placement group. + * Describes the OS profile for the cloud service. */ - export interface ProximityPlacementGroupPropertiesIntentArgs { + export interface CloudServiceOsProfileArgs { /** - * Specifies possible sizes of virtual machines that can be created in the proximity placement group. + * Specifies set of certificates that should be installed onto the role instances. */ - vmSizes?: pulumi.Input[]>; + secrets?: pulumi.Input[]>; } /** - * Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. + * Cloud service properties */ - export interface PublicIPAddressSkuArgs { + export interface CloudServicePropertiesArgs { /** - * Specify public IP sku name + * (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. + * The default value is `false`. */ - name?: pulumi.Input; + allowModelOverride?: pulumi.Input; /** - * Specify public IP sku tier + * Specifies the XML service configuration (.cscfg) for the cloud service. */ - tier?: pulumi.Input; - } - - /** - * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. - */ - export interface PurchasePlanArgs { + configuration?: pulumi.Input; /** - * The plan ID. + * Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. */ - name: pulumi.Input; + configurationUrl?: pulumi.Input; /** - * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. + * Describes a cloud service extension profile. */ - product: pulumi.Input; + extensionProfile?: pulumi.Input; /** - * The Offer Promotion Code. + * Network Profile for the cloud service. */ - promotionCode?: pulumi.Input; + networkProfile?: pulumi.Input; /** - * The publisher ID. + * Describes the OS profile for the cloud service. */ - publisher: pulumi.Input; + osProfile?: pulumi.Input; + /** + * Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. + */ + packageUrl?: pulumi.Input; + /** + * Describes the role profile for the cloud service. + */ + roleProfile?: pulumi.Input; + /** + * (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`. + * If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff. + */ + startCloudService?: pulumi.Input; + /** + * Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. + * Possible Values are

**Auto**

**Manual**

**Simultaneous**

+ * If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. + */ + upgradeMode?: pulumi.Input; } /** - * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. + * Describes the role profile for the cloud service. */ - export interface RecommendedMachineConfigurationArgs { - /** - * Describes the resource range. - */ - memory?: pulumi.Input; + export interface CloudServiceRoleProfileArgs { /** - * Describes the resource range. + * List of roles for the cloud service. */ - vCPUs?: pulumi.Input; + roles?: pulumi.Input[]>; } /** - * Describes the resource range. + * Describes the role properties. */ - export interface ResourceRangeArgs { + export interface CloudServiceRoleProfilePropertiesArgs { /** - * The maximum number of the resource. + * Resource name. */ - max?: pulumi.Input; + name?: pulumi.Input; /** - * The minimum number of the resource. + * Describes the cloud service role sku. */ - min?: pulumi.Input; + sku?: pulumi.Input; } /** - * The properties of the source resource that this restore point collection is created from. + * Describes the cloud service role sku. */ - export interface RestorePointCollectionSourcePropertiesArgs { + export interface CloudServiceRoleSkuArgs { /** - * Resource Id of the source resource used to create this restore point collection + * Specifies the number of role instances in the cloud service. */ - id?: pulumi.Input; + capacity?: pulumi.Input; + /** + * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku. + */ + name?: pulumi.Input; + /** + * Specifies the tier of the cloud service. Possible Values are

**Standard**

**Basic** + */ + tier?: pulumi.Input; } /** - * Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point. + * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. */ - export interface RestorePointEncryptionArgs { + export interface CloudServiceVaultAndSecretReferenceArgs { /** - * Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. + * Secret URL which contains the protected settings of the extension */ - diskEncryptionSet?: pulumi.Input; + secretUrl?: pulumi.Input; /** - * The type of key used to encrypt the data of the disk restore point. + * The ARM Resource ID of the Key Vault */ - type?: pulumi.Input; + sourceVault?: pulumi.Input; } /** - * Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. + * Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance. */ - export interface RestorePointSourceMetadataArgs { + export interface CloudServiceVaultCertificateArgs { /** - * Gets the storage profile. + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. */ - storageProfile?: pulumi.Input; + certificateUrl?: pulumi.Input; } /** - * Describes a data disk. + * Describes a set of certificates which are all in the same Key Vault. */ - export interface RestorePointSourceVMDataDiskArgs { + export interface CloudServiceVaultSecretGroupArgs { /** - * Contains Disk Restore Point properties. + * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */ - diskRestorePoint?: pulumi.Input; + sourceVault?: pulumi.Input; /** - * Contains the managed disk details. + * The list of key vault references in SourceVault which contain certificates. */ - managedDisk?: pulumi.Input; + vaultCertificates?: pulumi.Input[]>; } /** - * Describes an Operating System disk. + * Information of community gallery if current gallery is shared to community */ - export interface RestorePointSourceVMOSDiskArgs { + export interface CommunityGalleryInfoArgs { /** - * Contains Disk Restore Point properties. + * End-user license agreement for community gallery image. */ - diskRestorePoint?: pulumi.Input; + eula?: pulumi.Input; /** - * Gets the managed disk details + * The prefix of the gallery name that will be displayed publicly. Visible to all users. */ - managedDisk?: pulumi.Input; + publicNamePrefix?: pulumi.Input; + /** + * Community gallery publisher support email. The email address of the publisher. Visible to all users. + */ + publisherContact?: pulumi.Input; + /** + * The link to the publisher website. Visible to all users. + */ + publisherUri?: pulumi.Input; } /** - * Describes the storage profile. + * Indicates the error details if the background copy of a resource created via the CopyStart operation fails. */ - export interface RestorePointSourceVMStorageProfileArgs { + export interface CopyCompletionErrorArgs { /** - * Gets the data disks of the VM captured at the time of the restore point creation. + * Indicates the error code if the background copy of a resource created via the CopyStart operation fails. */ - dataDisks?: pulumi.Input[]>; + errorCode: pulumi.Input; /** - * Gets the OS disk of the VM captured at the time of the restore point creation. + * Indicates the error message if the background copy of a resource created via the CopyStart operation fails. */ - osDisk?: pulumi.Input; + errorMessage: pulumi.Input; } /** - * The configuration parameters used while performing a rolling upgrade. + * Data used when creating a disk. */ - export interface RollingUpgradePolicyArgs { + export interface CreationDataArgs { /** - * Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. + * This enumerates the possible sources of a disk's creation. */ - enableCrossZoneUpgrade?: pulumi.Input; + createOption: pulumi.Input; /** - * The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. + * Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. */ - maxBatchInstancePercent?: pulumi.Input; + galleryImageReference?: pulumi.Input; /** - * Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch. + * Disk source information for PIR or user images. */ - maxSurge?: pulumi.Input; + imageReference?: pulumi.Input; /** - * The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. + * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ - maxUnhealthyInstancePercent?: pulumi.Input; + logicalSectorSize?: pulumi.Input; /** - * The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. + * Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. */ - maxUnhealthyUpgradedInstancePercent?: pulumi.Input; + performancePlus?: pulumi.Input; /** - * The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). + * If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. */ - pauseTimeBetweenBatches?: pulumi.Input; + securityDataUri?: pulumi.Input; /** - * Upgrade all unhealthy instances in a scale set before any healthy instances. + * If createOption is Copy, this is the ARM id of the source snapshot or disk. */ - prioritizeUnhealthyInstances?: pulumi.Input; + sourceResourceId?: pulumi.Input; /** - * Rollback failed instances to previous model if the Rolling Upgrade policy is violated. + * If createOption is Import, this is the URI of a blob to be imported into a managed disk. */ - rollbackFailedInstancesOnPolicyBreach?: pulumi.Input; - } - - /** - * Describes the properties of a run command parameter. - */ - export interface RunCommandInputParameterArgs { + sourceUri?: pulumi.Input; /** - * The run command parameter name. + * Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. */ - name: pulumi.Input; + storageAccountId?: pulumi.Input; /** - * The run command parameter value. + * If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ - value: pulumi.Input; + uploadSizeBytes?: pulumi.Input; } /** - * Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. + * Describes a data disk. */ - export interface RunCommandManagedIdentityArgs { + export interface DataDiskArgs { /** - * Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. + * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.** */ - clientId?: pulumi.Input; + caching?: pulumi.Input; /** - * Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. + * Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. */ - objectId?: pulumi.Input; - } - - /** - * Describes a scale-in policy for a virtual machine scale set. - */ - export interface ScaleInPolicyArgs { + createOption: pulumi.Input; /** - * This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview) + * Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**. */ - forceDeletion?: pulumi.Input; + deleteOption?: pulumi.Input; /** - * The rules to be followed when scaling-in a virtual machine scale set.

Possible values are:

**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.

**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.

**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.

+ * Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ - rules?: pulumi.Input[]>; - } - - export interface ScheduledEventsProfileArgs { + detachOption?: pulumi.Input; /** - * Specifies OS Image Scheduled Event related configurations. + * Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. */ - osImageNotificationProfile?: pulumi.Input; + diskSizeGB?: pulumi.Input; /** - * Specifies Terminate Scheduled Event related configurations. + * The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ - terminateNotificationProfile?: pulumi.Input; - } - - /** - * Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01 - */ - export interface SecurityPostureReferenceArgs { + image?: pulumi.Input; /** - * List of virtual machine extensions to exclude when applying the Security Posture. + * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - excludeExtensions?: pulumi.Input[]>; + lun: pulumi.Input; /** - * The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest + * The managed disk parameters. */ - id?: pulumi.Input; - } - - /** - * Specifies the Security profile settings for the virtual machine or virtual machine scale set. - */ - export interface SecurityProfileArgs { + managedDisk?: pulumi.Input; /** - * This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource. + * The disk name. */ - encryptionAtHost?: pulumi.Input; + name?: pulumi.Input; /** - * Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. + * Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ - securityType?: pulumi.Input; + toBeDetached?: pulumi.Input; /** - * Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. + * The virtual hard disk. */ - uefiSettings?: pulumi.Input; - } - - /** - * Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01 - */ - export interface ServiceArtifactReferenceArgs { + vhd?: pulumi.Input; /** - * The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName} + * Specifies whether writeAccelerator should be enabled or disabled on the disk. */ - id?: pulumi.Input; + writeAcceleratorEnabled?: pulumi.Input; } /** - * Profile for gallery sharing to subscription or tenant + * Contains encryption settings for a data disk image. */ - export interface SharingProfileArgs { + export interface DataDiskImageEncryptionArgs { /** - * Information of community gallery if current gallery is shared to community. + * A relative URI containing the resource ID of the disk encryption set. */ - communityGalleryInfo?: pulumi.Input; + diskEncryptionSetId?: pulumi.Input; /** - * This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups**

**Community** + * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. */ - permissions?: pulumi.Input; + lun: pulumi.Input; } /** - * Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name. + * Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01. */ - export interface SkuArgs { - /** - * Specifies the number of virtual machines in the scale set. - */ - capacity?: pulumi.Input; - /** - * The sku name. - */ - name?: pulumi.Input; + export interface DedicatedHostGroupPropertiesAdditionalCapabilitiesArgs { /** - * Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** + * The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01. */ - tier?: pulumi.Input; + ultraSSDEnabled?: pulumi.Input; } /** - * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot + * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. */ - export interface SnapshotSkuArgs { + export interface DiagnosticsProfileArgs { /** - * The sku name. + * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. */ - name?: pulumi.Input; + bootDiagnostics?: pulumi.Input; } /** - * Contains information about the soft deletion policy of the gallery. + * Describes the parameters of ephemeral disk settings that can be specified for operating system disk. **Note:** The ephemeral disk settings can only be specified for managed disk. */ - export interface SoftDeletePolicyArgs { + export interface DiffDiskSettingsArgs { /** - * Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time. + * Specifies the ephemeral disk settings for operating system disk. */ - isSoftDeleteEnabled?: pulumi.Input; - } - - /** - * The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} - */ - export interface SourceVaultArgs { + option?: pulumi.Input; /** - * Resource Id + * Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. */ - id?: pulumi.Input; + placement?: pulumi.Input; } /** - * Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint. + * Describes the disallowed disk types. */ - export interface SpotRestorePolicyArgs { - /** - * Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints - */ - enabled?: pulumi.Input; + export interface DisallowedArgs { /** - * Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances + * A list of disk types. */ - restoreTimeout?: pulumi.Input; + diskTypes?: pulumi.Input[]>; } /** - * SSH configuration for Linux based VMs running on Azure + * Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. */ - export interface SshConfigurationArgs { + export interface DiskEncryptionSetParametersArgs { /** - * The list of SSH public keys used to authenticate with linux based VMs. + * Resource Id */ - publicKeys?: pulumi.Input[]>; + id?: pulumi.Input; } /** - * Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + * Describes a Encryption Settings for a Disk */ - export interface SshPublicKeyArgs { + export interface DiskEncryptionSettingsArgs { /** - * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * Specifies the location of the disk encryption key, which is a Key Vault Secret. */ - keyData?: pulumi.Input; + diskEncryptionKey?: pulumi.Input; /** - * Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys + * Specifies whether disk encryption should be enabled on the virtual machine. */ - path?: pulumi.Input; + enabled?: pulumi.Input; + /** + * Specifies the location of the key encryption key in Key Vault. + */ + keyEncryptionKey?: pulumi.Input; } /** - * Specifies the storage settings for the virtual machine disks. + * Disk Restore Point details. */ - export interface StorageProfileArgs { - /** - * Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). - */ - dataDisks?: pulumi.Input[]>; - /** - * Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01. - */ - diskControllerType?: pulumi.Input; - /** - * Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. - */ - imageReference?: pulumi.Input; + export interface DiskRestorePointAttributesArgs { /** - * Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point. */ - osDisk?: pulumi.Input; - } - - export interface SubResourceArgs { + encryption?: pulumi.Input; /** - * Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. - * An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. - * A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. - * Example of a relative ID: $self/frontEndConfigurations/my-frontend. + * Resource Id of the source disk restore point. */ - id?: pulumi.Input; + sourceDiskRestorePoint?: pulumi.Input; } /** - * List of supported capabilities persisted on the disk resource for VM use. + * Contains the security related information for the resource. */ - export interface SupportedCapabilitiesArgs { - /** - * True if the image from which the OS disk is created supports accelerated networking. - */ - acceleratedNetwork?: pulumi.Input; + export interface DiskSecurityProfileArgs { /** - * CPU architecture supported by an OS disk. + * ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key */ - architecture?: pulumi.Input; + secureVMDiskEncryptionSetId?: pulumi.Input; /** - * The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. + * Specifies the SecurityType of the VM. Applicable for OS disks only. */ - diskControllerTypes?: pulumi.Input; + securityType?: pulumi.Input; } /** - * Describes the target region information. + * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. */ - export interface TargetRegionArgs { - /** - * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. - */ - encryption?: pulumi.Input; - /** - * Contains the flag setting to hide an image when users specify version='latest' - */ - excludeFromLatest?: pulumi.Input; - /** - * The name of the region. - */ - name: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per region. This property is updatable. - */ - regionalReplicaCount?: pulumi.Input; + export interface DiskSkuArgs { /** - * Specifies the storage account type to be used to store the image. This property is not updatable. + * The sku name. */ - storageAccountType?: pulumi.Input; + name?: pulumi.Input; } - export interface TerminateNotificationProfileArgs { + /** + * Encryption at rest settings for disk or snapshot + */ + export interface EncryptionArgs { /** - * Specifies whether the Terminate Scheduled event is enabled or disabled. + * ResourceId of the disk encryption set to use for enabling encryption at rest. */ - enable?: pulumi.Input; + diskEncryptionSetId?: pulumi.Input; /** - * Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) + * The type of key used to encrypt the data of the disk. */ - notBeforeTimeout?: pulumi.Input; + type?: pulumi.Input; } /** - * Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ - export interface UefiSettingsArgs { + export interface EncryptionImagesArgs { /** - * Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01. + * A list of encryption specifications for data disk images. */ - secureBootEnabled?: pulumi.Input; + dataDiskImages?: pulumi.Input[]>; /** - * Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01. + * Contains encryption settings for an OS disk image. */ - vTpmEnabled?: pulumi.Input; + osDiskImage?: pulumi.Input; } /** - * Describes an upgrade policy - automatic, manual, or rolling. + * The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ - export interface UpgradePolicyArgs { - /** - * Configuration parameters used for performing automatic OS Upgrade. - */ - automaticOSUpgradePolicy?: pulumi.Input; + export interface EncryptionSetIdentityArgs { /** - * Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

**Automatic** - All virtual machines in the scale set are automatically updated at the same time. + * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ - mode?: pulumi.Input; + type?: pulumi.Input; /** - * The configuration parameters used while performing a rolling upgrade. + * The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - rollingUpgradePolicy?: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; } - export interface UserArtifactManageArgs { + /** + * Encryption settings for disk or snapshot + */ + export interface EncryptionSettingsCollectionArgs { /** - * Required. The path and arguments to install the gallery application. This is limited to 4096 characters. + * Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. */ - install: pulumi.Input; + enabled: pulumi.Input; /** - * Required. The path and arguments to remove the gallery application. This is limited to 4096 characters. + * A collection of encryption settings, one for each disk volume. */ - remove: pulumi.Input; + encryptionSettings?: pulumi.Input[]>; /** - * Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters. + * Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. */ - update?: pulumi.Input; + encryptionSettingsVersion?: pulumi.Input; } /** - * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. + * Encryption settings for one disk volume. */ - export interface UserArtifactSettingsArgs { + export interface EncryptionSettingsElementArgs { /** - * Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". + * Key Vault Secret Url and vault id of the disk encryption key */ - configFileName?: pulumi.Input; + diskEncryptionKey?: pulumi.Input; /** - * Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name. + * Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. */ - packageFileName?: pulumi.Input; + keyEncryptionKey?: pulumi.Input; } /** - * The source image from which the Image Version is going to be created. + * The complex type of the extended location. */ - export interface UserArtifactSourceArgs { + export interface ExtendedLocationArgs { /** - * Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. + * The name of the extended location. */ - defaultConfigurationLink?: pulumi.Input; + name?: pulumi.Input; /** - * Required. The mediaLink of the artifact, must be a readable storage page blob. + * The type of the extended location. */ - mediaLink: pulumi.Input; + type?: pulumi.Input; } /** - * Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. + * Describes a cloud service Extension. */ - export interface VMDiskSecurityProfileArgs { + export interface ExtensionArgs { /** - * Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob. + * The name of the extension. */ - diskEncryptionSet?: pulumi.Input; + name?: pulumi.Input; /** - * Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs. + * Extension Properties. */ - securityEncryptionType?: pulumi.Input; + properties?: pulumi.Input; } /** - * Specifies the required information to reference a compute gallery application version + * A custom action that can be performed with a Gallery Application Version. */ - export interface VMGalleryApplicationArgs { - /** - * Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided - */ - configurationReference?: pulumi.Input; - /** - * If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS - */ - enableAutomaticUpgrade?: pulumi.Input; + export interface GalleryApplicationCustomActionArgs { /** - * Optional, Specifies the order in which the packages have to be installed + * Description to help the users understand what this custom action does. */ - order?: pulumi.Input; + description?: pulumi.Input; /** - * Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} + * The name of the custom action. Must be unique within the Gallery Application Version. */ - packageReferenceId: pulumi.Input; + name: pulumi.Input; /** - * Optional, Specifies a passthrough value for more generic context. + * The parameters that this custom action uses */ - tags?: pulumi.Input; + parameters?: pulumi.Input[]>; /** - * Optional, If true, any failure for any operation in the VmApplication will fail the deployment + * The script to run when executing this custom action. */ - treatFailureAsDeploymentFailure?: pulumi.Input; + script: pulumi.Input; } /** - * Specifies VM Size Property settings on the virtual machine. + * The definition of a parameter that can be passed to a custom action of a Gallery Application Version. */ - export interface VMSizePropertiesArgs { - /** - * Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). - */ - vCPUsAvailable?: pulumi.Input; + export interface GalleryApplicationCustomActionParameterArgs { /** - * Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.** + * The default value of the parameter. Only applies to string types */ - vCPUsPerCore?: pulumi.Input; - } - - /** - * Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. - */ - export interface VaultCertificateArgs { + defaultValue?: pulumi.Input; /** - * For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. + * A description to help users understand what this parameter means */ - certificateStore?: pulumi.Input; + description?: pulumi.Input; /** - * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * The name of the custom action. Must be unique within the Gallery Application Version. */ - certificateUrl?: pulumi.Input; - } - - /** - * Describes a set of certificates which are all in the same Key Vault. - */ - export interface VaultSecretGroupArgs { + name: pulumi.Input; /** - * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. + * Indicates whether this parameter must be passed when running the custom action. */ - sourceVault?: pulumi.Input; + required?: pulumi.Input; /** - * The list of key vault references in SourceVault which contain certificates. + * Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob */ - vaultCertificates?: pulumi.Input[]>; + type?: pulumi.Input; } /** - * Describes the uri of a disk. + * The publishing profile of a gallery image version. */ - export interface VirtualHardDiskArgs { + export interface GalleryApplicationVersionPublishingProfileArgs { /** - * Specifies the virtual hard disk's uri. + * Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only. */ - uri?: pulumi.Input; - } - - /** - * Describes a Virtual Machine Extension. - */ - export interface VirtualMachineExtensionArgs { + advancedSettings?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + * A list of custom actions that can be performed with this Gallery Application Version. */ - autoUpgradeMinorVersion?: pulumi.Input; + customActions?: pulumi.Input[]>; /** - * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. + * Optional. Whether or not this application reports health. */ - enableAutomaticUpgrade?: pulumi.Input; + enableHealthCheck?: pulumi.Input; /** - * How the extension handler should be forced to update even if the extension configuration has not changed. + * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ - forceUpdateTag?: pulumi.Input; + endOfLifeDate?: pulumi.Input; /** - * The virtual machine extension instance view. + * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ - instanceView?: pulumi.Input; + excludeFromLatest?: pulumi.Input; + manageActions?: pulumi.Input; /** - * Resource location + * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. */ - location?: pulumi.Input; + replicaCount?: pulumi.Input; /** - * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. + * Optional parameter which specifies the mode to be used for replication. This property is not updatable. */ - protectedSettings?: any; + replicationMode?: pulumi.Input; /** - * The extensions protected settings that are passed by reference, and consumed from key vault + * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. */ - protectedSettingsFromKeyVault?: pulumi.Input; + settings?: pulumi.Input; /** - * Collection of extension names after which this extension needs to be provisioned. + * The source image from which the Image Version is going to be created. */ - provisionAfterExtensions?: pulumi.Input[]>; + source: pulumi.Input; /** - * The name of the extension handler publisher. + * Specifies the storage account type to be used to store the image. This property is not updatable. */ - publisher?: pulumi.Input; + storageAccountType?: pulumi.Input; /** - * Json formatted public settings for the extension. + * The target extended locations where the Image Version is going to be replicated to. This property is updatable. */ - settings?: any; + targetExtendedLocations?: pulumi.Input[]>; /** - * Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. + * The target regions where the Image Version is going to be replicated to. This property is updatable. */ - suppressFailures?: pulumi.Input; + targetRegions?: pulumi.Input[]>; + } + + /** + * The safety profile of the Gallery Application Version. + */ + export interface GalleryApplicationVersionSafetyProfileArgs { /** - * Resource tags + * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. */ - tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + allowDeletionOfReplicatedLocations?: pulumi.Input; + } + + /** + * The source of the gallery artifact version. + */ + export interface GalleryArtifactVersionFullSourceArgs { /** - * Specifies the type of the extension; an example is "CustomScriptExtension". + * The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source. */ - type?: pulumi.Input; + communityGalleryImageId?: pulumi.Input; /** - * Specifies the version of the script handler. + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. */ - typeHandlerVersion?: pulumi.Input; + id?: pulumi.Input; } /** - * The instance view of a virtual machine extension. + * This is the data disk image. */ - export interface VirtualMachineExtensionInstanceViewArgs { + export interface GalleryDataDiskImageArgs { /** - * The virtual machine extension name. + * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ - name?: pulumi.Input; + hostCaching?: pulumi.Input; /** - * The resource status information. + * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. */ - statuses?: pulumi.Input[]>; + lun: pulumi.Input; /** - * The resource status information. + * The source for the disk image. */ - substatuses?: pulumi.Input[]>; + source?: pulumi.Input; + } + + /** + * The source for the disk image. + */ + export interface GalleryDiskImageSourceArgs { /** - * Specifies the type of the extension; an example is "CustomScriptExtension". + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. */ - type?: pulumi.Input; + id?: pulumi.Input; /** - * Specifies the version of the script handler. + * The Storage Account Id that contains the vhd blob being used as a source for this artifact version. */ - typeHandlerVersion?: pulumi.Input; + storageAccountId?: pulumi.Input; + /** + * The uri of the gallery artifact version source. Currently used to specify vhd/blob source. + */ + uri?: pulumi.Input; } /** - * Identity for the virtual machine. + * The name of the extended location. */ - export interface VirtualMachineIdentityArgs { - /** - * The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. - */ - type?: pulumi.Input; + export interface GalleryExtendedLocationArgs { + name?: pulumi.Input; /** - * The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * It is type of the extended location. */ - userAssignedIdentities?: pulumi.Input[]>; + type?: pulumi.Input; } /** - * Contains the IP tag associated with the public IP address. + * A feature for gallery image. */ - export interface VirtualMachineIpTagArgs { + export interface GalleryImageFeatureArgs { /** - * IP tag type. Example: FirstPartyUsage. + * The name of the gallery image feature. */ - ipTagType?: pulumi.Input; + name?: pulumi.Input; /** - * IP tag associated with the public IP. Example: SQL, Storage etc. + * The value of the gallery image feature. */ - tag?: pulumi.Input; + value?: pulumi.Input; } /** - * Describes a virtual machine network interface configurations. + * This is the gallery image definition identifier. */ - export interface VirtualMachineNetworkInterfaceConfigurationArgs { + export interface GalleryImageIdentifierArgs { /** - * Specify what happens to the network interface when the VM is deleted + * The name of the gallery image definition offer. */ - deleteOption?: pulumi.Input; + offer: pulumi.Input; /** - * Specifies whether the network interface is disabled for tcp state tracking. + * The name of the gallery image definition publisher. */ - disableTcpStateTracking?: pulumi.Input; + publisher: pulumi.Input; /** - * The dns settings to be applied on the network interfaces. + * The name of the gallery image definition SKU. */ - dnsSettings?: pulumi.Input; - dscpConfiguration?: pulumi.Input; + sku: pulumi.Input; + } + + /** + * The publishing profile of a gallery image Version. + */ + export interface GalleryImageVersionPublishingProfileArgs { /** - * Specifies whether the network interface is accelerated networking-enabled. + * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ - enableAcceleratedNetworking?: pulumi.Input; + endOfLifeDate?: pulumi.Input; /** - * Specifies whether the network interface is FPGA networking-enabled. + * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ - enableFpga?: pulumi.Input; + excludeFromLatest?: pulumi.Input; /** - * Whether IP forwarding enabled on this NIC. + * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. */ - enableIPForwarding?: pulumi.Input; + replicaCount?: pulumi.Input; /** - * Specifies the IP configurations of the network interface. + * Optional parameter which specifies the mode to be used for replication. This property is not updatable. */ - ipConfigurations: pulumi.Input[]>; + replicationMode?: pulumi.Input; /** - * The network interface configuration name. + * Specifies the storage account type to be used to store the image. This property is not updatable. */ - name: pulumi.Input; + storageAccountType?: pulumi.Input; /** - * The network security group. + * The target extended locations where the Image Version is going to be replicated to. This property is updatable. */ - networkSecurityGroup?: pulumi.Input; + targetExtendedLocations?: pulumi.Input[]>; /** - * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + * The target regions where the Image Version is going to be replicated to. This property is updatable. */ - primary?: pulumi.Input; + targetRegions?: pulumi.Input[]>; } /** - * Describes a virtual machines network configuration's DNS settings. + * This is the safety profile of the Gallery Image Version. */ - export interface VirtualMachineNetworkInterfaceDnsSettingsConfigurationArgs { + export interface GalleryImageVersionSafetyProfileArgs { /** - * List of DNS servers IP addresses + * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. */ - dnsServers?: pulumi.Input[]>; + allowDeletionOfReplicatedLocations?: pulumi.Input; } /** - * Describes a virtual machine network profile's IP configuration. + * This is the storage profile of a Gallery Image Version. */ - export interface VirtualMachineNetworkInterfaceIPConfigurationArgs { + export interface GalleryImageVersionStorageProfileArgs { /** - * Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. + * A list of data disk images. */ - applicationGatewayBackendAddressPools?: pulumi.Input[]>; + dataDiskImages?: pulumi.Input[]>; /** - * Specifies an array of references to application security group. + * This is the OS disk image. */ - applicationSecurityGroups?: pulumi.Input[]>; + osDiskImage?: pulumi.Input; /** - * Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. + * The source of the gallery artifact version. */ - loadBalancerBackendAddressPools?: pulumi.Input[]>; + source?: pulumi.Input; + } + + /** + * This is the OS disk image. + */ + export interface GalleryOSDiskImageArgs { /** - * The IP configuration name. + * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ - name: pulumi.Input; + hostCaching?: pulumi.Input; /** - * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + * The source for the disk image. */ - primary?: pulumi.Input; + source?: pulumi.Input; + } + + export interface GalleryTargetExtendedLocationArgs { /** - * Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ - privateIPAddressVersion?: pulumi.Input; + encryption?: pulumi.Input; /** - * The publicIPAddressConfiguration. + * The name of the extended location. */ - publicIPAddressConfiguration?: pulumi.Input; + extendedLocation?: pulumi.Input; /** - * Specifies the identifier of the subnet. + * The number of replicas of the Image Version to be created per extended location. This property is updatable. */ - subnet?: pulumi.Input; + extendedLocationReplicaCount?: pulumi.Input; + /** + * The name of the region. + */ + name?: pulumi.Input; + /** + * Specifies the storage account type to be used to store the image. This property is not updatable. + */ + storageAccountType?: pulumi.Input; } /** - * Describes a virtual machines IP Configuration's PublicIPAddress configuration + * Specifies the hardware settings for the virtual machine. */ - export interface VirtualMachinePublicIPAddressConfigurationArgs { + export interface HardwareProfileArgs { /** - * Specify what happens to the public IP address when the VM is deleted + * Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes), [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list), [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). The available VM sizes depend on region and availability set. */ - deleteOption?: pulumi.Input; + vmSize?: pulumi.Input; /** - * The dns settings to be applied on the publicIP addresses . + * Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. */ - dnsSettings?: pulumi.Input; + vmSizeProperties?: pulumi.Input; + } + + /** + * Describes a data disk. + */ + export interface ImageDataDiskArgs { /** - * The idle timeout of the public IP address. + * The Virtual Hard Disk. */ - idleTimeoutInMinutes?: pulumi.Input; + blobUri?: pulumi.Input; /** - * The list of IP tags associated with the public IP address. + * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** */ - ipTags?: pulumi.Input[]>; + caching?: pulumi.Input; /** - * The publicIP address configuration name. + * Specifies the customer managed disk encryption set resource id for the managed image disk. */ - name: pulumi.Input; + diskEncryptionSet?: pulumi.Input; /** - * Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + * Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB. */ - publicIPAddressVersion?: pulumi.Input; + diskSizeGB?: pulumi.Input; /** - * Specify the public IP allocation type + * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - publicIPAllocationMethod?: pulumi.Input; + lun: pulumi.Input; /** - * The PublicIPPrefix from which to allocate publicIP addresses. + * The managedDisk. */ - publicIPPrefix?: pulumi.Input; + managedDisk?: pulumi.Input; /** - * Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. + * The snapshot. */ - sku?: pulumi.Input; - } - - /** - * Describes a virtual machines network configuration's DNS settings. - */ - export interface VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs { + snapshot?: pulumi.Input; /** - * The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. + * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ - domainNameLabel: pulumi.Input; + storageAccountType?: pulumi.Input; } /** - * Describes the script sources for run command. Use only one of script, scriptUri, commandId. + * The source image used for creating the disk. */ - export interface VirtualMachineRunCommandScriptSourceArgs { + export interface ImageDiskReferenceArgs { /** - * Specifies a commandId of predefined built-in script. + * A relative uri containing a community Azure Compute Gallery image reference. */ - commandId?: pulumi.Input; + communityGalleryImageId?: pulumi.Input; /** - * Specifies the script content to be executed on the VM. + * A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. */ - script?: pulumi.Input; + id?: pulumi.Input; /** - * Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. + * If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. */ - scriptUri?: pulumi.Input; + lun?: pulumi.Input; /** - * User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. + * A relative uri containing a direct shared Azure Compute Gallery image reference. */ - scriptUriManagedIdentity?: pulumi.Input; + sharedGalleryImageId?: pulumi.Input; } /** - * Describes a virtual machine scale set data disk. + * Describes an Operating System disk. */ - export interface VirtualMachineScaleSetDataDiskArgs { - /** - * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** - */ - caching?: pulumi.Input; + export interface ImageOSDiskArgs { /** - * The create option. + * The Virtual Hard Disk. */ - createOption: pulumi.Input; + blobUri?: pulumi.Input; /** - * Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).

Possible values:

**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.

**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.

The default value is set to **Delete**. + * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** */ - deleteOption?: pulumi.Input; + caching?: pulumi.Input; /** - * Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. + * Specifies the customer managed disk encryption set resource id for the managed image disk. */ - diskIOPSReadWrite?: pulumi.Input; + diskEncryptionSet?: pulumi.Input; /** - * Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. + * Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB. */ - diskMBpsReadWrite?: pulumi.Input; + diskSizeGB?: pulumi.Input; /** - * Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. + * The managedDisk. */ - diskSizeGB?: pulumi.Input; + managedDisk?: pulumi.Input; /** - * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. + * The OS State. For managed images, use Generalized. */ - lun: pulumi.Input; + osState: pulumi.Input; /** - * The managed disk parameters. + * This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: **Windows,** **Linux.** */ - managedDisk?: pulumi.Input; + osType: pulumi.Input; /** - * The disk name. + * The snapshot. */ - name?: pulumi.Input; + snapshot?: pulumi.Input; /** - * Specifies whether writeAccelerator should be enabled or disabled on the disk. + * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ - writeAcceleratorEnabled?: pulumi.Input; + storageAccountType?: pulumi.Input; } /** - * Describes a Virtual Machine Scale Set Extension. + * Describes the gallery image definition purchase plan. This is used by marketplace images. */ - export interface VirtualMachineScaleSetExtensionArgs { - /** - * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. - */ - autoUpgradeMinorVersion?: pulumi.Input; + export interface ImagePurchasePlanArgs { /** - * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. + * The plan ID. */ - enableAutomaticUpgrade?: pulumi.Input; + name?: pulumi.Input; /** - * If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. + * The product ID. */ - forceUpdateTag?: pulumi.Input; + product?: pulumi.Input; /** - * The name of the extension. + * The publisher ID. */ - name?: pulumi.Input; + publisher?: pulumi.Input; + } + + /** + * Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. + */ + export interface ImageReferenceArgs { /** - * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. + * Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */ - protectedSettings?: any; + communityGalleryImageId?: pulumi.Input; /** - * The extensions protected settings that are passed by reference, and consumed from key vault + * Resource Id */ - protectedSettingsFromKeyVault?: pulumi.Input; + id?: pulumi.Input; /** - * Collection of extension names after which this extension needs to be provisioned. + * Specifies the offer of the platform image or marketplace image used to create the virtual machine. */ - provisionAfterExtensions?: pulumi.Input[]>; + offer?: pulumi.Input; /** - * The name of the extension handler publisher. + * The image publisher. */ publisher?: pulumi.Input; /** - * Json formatted public settings for the extension. - */ - settings?: any; - /** - * Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. + * Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */ - suppressFailures?: pulumi.Input; + sharedGalleryImageId?: pulumi.Input; /** - * Specifies the type of the extension; an example is "CustomScriptExtension". + * The image SKU. */ - type?: pulumi.Input; + sku?: pulumi.Input; /** - * Specifies the version of the script handler. + * Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. */ - typeHandlerVersion?: pulumi.Input; + version?: pulumi.Input; } /** - * Describes a virtual machine scale set extension profile. + * Describes a storage profile. */ - export interface VirtualMachineScaleSetExtensionProfileArgs { + export interface ImageStorageProfileArgs { /** - * The virtual machine scale set child extension resources. + * Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - extensions?: pulumi.Input[]>; + dataDisks?: pulumi.Input[]>; /** - * Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01. + * Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - extensionsTimeBudget?: pulumi.Input; - } - - /** - * Specifies the hardware settings for the virtual machine scale set. - */ - export interface VirtualMachineScaleSetHardwareProfileArgs { + osDisk?: pulumi.Input; /** - * Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. + * Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). */ - vmSizeProperties?: pulumi.Input; + zoneResilient?: pulumi.Input; } /** - * Describes a virtual machine scale set network profile's IP configuration. + * Instance view status. */ - export interface VirtualMachineScaleSetIPConfigurationArgs { + export interface InstanceViewStatusArgs { /** - * Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway. + * The status code. */ - applicationGatewayBackendAddressPools?: pulumi.Input[]>; + code?: pulumi.Input; /** - * Specifies an array of references to application security group. + * The short localizable label for the status. */ - applicationSecurityGroups?: pulumi.Input[]>; + displayStatus?: pulumi.Input; /** - * Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. + * The level code. */ - loadBalancerBackendAddressPools?: pulumi.Input[]>; + level?: pulumi.Input; /** - * Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. + * The detailed status message, including for alerts and error messages. */ - loadBalancerInboundNatPools?: pulumi.Input[]>; + message?: pulumi.Input; /** - * The IP configuration name. + * The time of the status. */ - name: pulumi.Input; + time?: pulumi.Input; + } + + /** + * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots + */ + export interface KeyForDiskEncryptionSetArgs { /** - * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + * Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. */ - primary?: pulumi.Input; + keyUrl: pulumi.Input; /** - * Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + * Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. */ - privateIPAddressVersion?: pulumi.Input; + sourceVault?: pulumi.Input; + } + + /** + * Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey + */ + export interface KeyVaultAndKeyReferenceArgs { /** - * The publicIPAddressConfiguration. + * Url pointing to a key or secret in KeyVault */ - publicIPAddressConfiguration?: pulumi.Input; + keyUrl: pulumi.Input; /** - * Specifies the identifier of the subnet. + * Resource id of the KeyVault containing the key or secret */ - subnet?: pulumi.Input; + sourceVault: pulumi.Input; } /** - * Identity for the virtual machine scale set. + * Key Vault Secret Url and vault id of the encryption key */ - export interface VirtualMachineScaleSetIdentityArgs { + export interface KeyVaultAndSecretReferenceArgs { /** - * The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. + * Url pointing to a key or secret in KeyVault */ - type?: pulumi.Input; + secretUrl: pulumi.Input; /** - * The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * Resource id of the KeyVault containing the key or secret */ - userAssignedIdentities?: pulumi.Input[]>; + sourceVault: pulumi.Input; } /** - * Contains the IP tag associated with the public IP address. + * Describes a reference to Key Vault Key */ - export interface VirtualMachineScaleSetIpTagArgs { + export interface KeyVaultKeyReferenceArgs { /** - * IP tag type. Example: FirstPartyUsage. + * The URL referencing a key encryption key in Key Vault. */ - ipTagType?: pulumi.Input; + keyUrl: pulumi.Input; /** - * IP tag associated with the public IP. Example: SQL, Storage etc. + * The relative URL of the Key Vault containing the key. */ - tag?: pulumi.Input; + sourceVault: pulumi.Input; } /** - * Describes the parameters of a ScaleSet managed disk. + * Describes a reference to Key Vault Secret */ - export interface VirtualMachineScaleSetManagedDiskParametersArgs { - /** - * Specifies the customer managed disk encryption set resource id for the managed disk. - */ - diskEncryptionSet?: pulumi.Input; + export interface KeyVaultSecretReferenceArgs { /** - * Specifies the security profile for the managed disk. + * The URL referencing a secret in a Key Vault. */ - securityProfile?: pulumi.Input; + secretUrl: pulumi.Input; /** - * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. + * The relative URL of the Key Vault containing the secret. */ - storageAccountType?: pulumi.Input; + sourceVault: pulumi.Input; } /** - * Describes a virtual machine scale set network profile's network configurations. + * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ - export interface VirtualMachineScaleSetNetworkConfigurationArgs { + export interface LinuxConfigurationArgs { /** - * Specify what happens to the network interface when the VM is deleted + * Specifies whether password authentication should be disabled. */ - deleteOption?: pulumi.Input; + disablePasswordAuthentication?: pulumi.Input; /** - * Specifies whether the network interface is disabled for tcp state tracking. + * Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false. */ - disableTcpStateTracking?: pulumi.Input; + enableVMAgentPlatformUpdates?: pulumi.Input; /** - * The dns settings to be applied on the network interfaces. + * [Preview Feature] Specifies settings related to VM Guest Patching on Linux. */ - dnsSettings?: pulumi.Input; + patchSettings?: pulumi.Input; /** - * Specifies whether the network interface is accelerated networking-enabled. + * Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. */ - enableAcceleratedNetworking?: pulumi.Input; + provisionVMAgent?: pulumi.Input; /** - * Specifies whether the network interface is FPGA networking-enabled. + * Specifies the ssh key configuration for a Linux OS. */ - enableFpga?: pulumi.Input; + ssh?: pulumi.Input; + } + + /** + * Specifies settings related to VM Guest Patching on Linux. + */ + export interface LinuxPatchSettingsArgs { /** - * Whether IP forwarding enabled on this NIC. + * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */ - enableIPForwarding?: pulumi.Input; + assessmentMode?: pulumi.Input; /** - * Specifies the IP configurations of the network interface. + * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux. */ - ipConfigurations: pulumi.Input[]>; + automaticByPlatformSettings?: pulumi.Input; /** - * The network configuration name. + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true */ - name: pulumi.Input; + patchMode?: pulumi.Input; + } + + /** + * Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings. + */ + export interface LinuxVMGuestPatchAutomaticByPlatformSettingsArgs { /** - * The network security group. + * Enables customer to schedule patching without accidental upgrades */ - networkSecurityGroup?: pulumi.Input; + bypassPlatformSafetyChecksOnUserSchedule?: pulumi.Input; /** - * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. */ - primary?: pulumi.Input; + rebootSetting?: pulumi.Input; } /** - * Describes a virtual machines scale sets network configuration's DNS settings. + * Describes the load balancer configuration. */ - export interface VirtualMachineScaleSetNetworkConfigurationDnsSettingsArgs { + export interface LoadBalancerConfigurationArgs { /** - * List of DNS servers IP addresses + * Resource Id */ - dnsServers?: pulumi.Input[]>; + id?: pulumi.Input; + /** + * The name of the Load balancer + */ + name: pulumi.Input; + /** + * Properties of the load balancer configuration. + */ + properties: pulumi.Input; } /** - * Describes a virtual machine scale set network profile. + * Describes the properties of the load balancer configuration. */ - export interface VirtualMachineScaleSetNetworkProfileArgs { + export interface LoadBalancerConfigurationPropertiesArgs { /** - * A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. + * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. */ - healthProbe?: pulumi.Input; + frontendIpConfigurations: pulumi.Input[]>; + } + + /** + * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. + */ + export interface LoadBalancerFrontendIpConfigurationArgs { /** - * specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' + * The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + */ + name: pulumi.Input; + /** + * Properties of load balancer frontend ip configuration. + */ + properties: pulumi.Input; + } + + /** + * Describes a cloud service IP Configuration + */ + export interface LoadBalancerFrontendIpConfigurationPropertiesArgs { + /** + * The virtual network private IP address of the IP configuration. + */ + privateIPAddress?: pulumi.Input; + /** + * The reference to the public ip address resource. + */ + publicIPAddress?: pulumi.Input; + /** + * The reference to the virtual network subnet resource. + */ + subnet?: pulumi.Input; + } + + /** + * The parameters of a managed disk. + */ + export interface ManagedDiskParametersArgs { + /** + * Specifies the customer managed disk encryption set resource id for the managed disk. + */ + diskEncryptionSet?: pulumi.Input; + /** + * Resource Id + */ + id?: pulumi.Input; + /** + * Specifies the security profile for the managed disk. + */ + securityProfile?: pulumi.Input; + /** + * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. + */ + storageAccountType?: pulumi.Input; + } + + /** + * Describes a network interface reference. + */ + export interface NetworkInterfaceReferenceArgs { + /** + * Specify what happens to the network interface when the VM is deleted + */ + deleteOption?: pulumi.Input; + /** + * Resource Id + */ + id?: pulumi.Input; + /** + * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + */ + primary?: pulumi.Input; + } + + /** + * Specifies the network interfaces or the networking configuration of the virtual machine. + */ + export interface NetworkProfileArgs { + /** + * specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations */ networkApiVersion?: pulumi.Input; /** - * The list of network configurations. + * Specifies the networking configurations that will be used to create the virtual machine networking resources. */ - networkInterfaceConfigurations?: pulumi.Input[]>; + networkInterfaceConfigurations?: pulumi.Input[]>; + /** + * Specifies the list of resource Ids for the network interfaces associated with the virtual machine. + */ + networkInterfaces?: pulumi.Input[]>; } /** - * Describes a virtual machine scale set operating system disk. + * Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - export interface VirtualMachineScaleSetOSDiskArgs { + export interface OSDiskArgs { /** - * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** + * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The defaulting behavior is: **None for Standard storage. ReadOnly for Premium storage.** */ caching?: pulumi.Input; /** - * Specifies how the virtual machines in the scale set should be created. The only allowed value is: **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. + * Specifies how the virtual machine should be created. Possible values are: **Attach.** This value is used when you are using a specialized disk to create the virtual machine. **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. */ createOption: pulumi.Input; /** - * Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).

Possible values:

**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.

**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.

The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk. + * Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the OS disk is deleted when VM is deleted. **Detach.** If this value is used, the os disk is retained after VM is deleted. The default value is set to **Detach**. For an ephemeral OS Disk, the default value is set to **Delete**. The user cannot change the delete option for an ephemeral OS Disk. */ deleteOption?: pulumi.Input; /** - * Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set. + * Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. */ diffDiskSettings?: pulumi.Input; /** @@ -50542,13 +51373,17 @@ export namespace compute { */ diskSizeGB?: pulumi.Input; /** - * Specifies information about the unmanaged user image to base the scale set on. + * Specifies the encryption settings for the OS Disk. Minimum api-version: 2015-06-15. + */ + encryptionSettings?: pulumi.Input; + /** + * The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ image?: pulumi.Input; /** * The managed disk parameters. */ - managedDisk?: pulumi.Input; + managedDisk?: pulumi.Input; /** * The disk name. */ @@ -50558,9 +51393,9 @@ export namespace compute { */ osType?: pulumi.Input; /** - * Specifies the container urls that are used to store operating system disks for the scale set. + * The virtual hard disk. */ - vhdContainers?: pulumi.Input[]>; + vhd?: pulumi.Input; /** * Specifies whether writeAccelerator should be enabled or disabled on the disk. */ @@ -50568,27 +51403,66 @@ export namespace compute { } /** - * Describes a virtual machine scale set OS profile. + * Contains encryption settings for an OS disk image. */ - export interface VirtualMachineScaleSetOSProfileArgs { + export interface OSDiskImageEncryptionArgs { + /** + * A relative URI containing the resource ID of the disk encryption set. + */ + diskEncryptionSetId?: pulumi.Input; + /** + * This property specifies the security profile of an OS disk image. + */ + securityProfile?: pulumi.Input; + } + + /** + * Contains security profile for an OS disk image. + */ + export interface OSDiskImageSecurityProfileArgs { + /** + * confidential VM encryption types + */ + confidentialVMEncryptionType?: pulumi.Input; + /** + * secure VM disk encryption set id + */ + secureVMDiskEncryptionSetId?: pulumi.Input; + } + + export interface OSImageNotificationProfileArgs { + /** + * Specifies whether the OS Image Scheduled event is enabled or disabled. + */ + enable?: pulumi.Input; + /** + * Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M) + */ + notBeforeTimeout?: pulumi.Input; + } + + /** + * Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. + */ + export interface OSProfileArgs { /** * Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */ adminPassword?: pulumi.Input; /** - * Specifies the name of the administrator account.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters + * Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. */ adminUsername?: pulumi.Input; /** - * Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set. + * Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine. */ allowExtensionOperations?: pulumi.Input; /** - * Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. + * Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). */ - computerNamePrefix?: pulumi.Input; + computerName?: pulumi.Input; /** - * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) + * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init). */ customData?: pulumi.Input; /** @@ -50600,7 +51474,7 @@ export namespace compute { */ requireGuestProvisionSignal?: pulumi.Input; /** - * Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ secrets?: pulumi.Input[]>; /** @@ -50610,1664 +51484,3044 @@ export namespace compute { } /** - * Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration + * Specifies settings related to VM Guest Patching on Windows. */ - export interface VirtualMachineScaleSetPublicIPAddressConfigurationArgs { + export interface PatchSettingsArgs { /** - * Specify what happens to the public IP when the VM is deleted + * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. */ - deleteOption?: pulumi.Input; + assessmentMode?: pulumi.Input; /** - * The dns settings to be applied on the publicIP addresses . + * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. */ - dnsSettings?: pulumi.Input; + automaticByPlatformSettings?: pulumi.Input; /** - * The idle timeout of the public IP address. + * Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. */ - idleTimeoutInMinutes?: pulumi.Input; + enableHotpatching?: pulumi.Input; /** - * The list of IP tags associated with the public IP address. + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true */ - ipTags?: pulumi.Input[]>; + patchMode?: pulumi.Input; + } + + /** + * Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. + */ + export interface PlanArgs { /** - * The publicIP address configuration name. + * The plan ID. */ - name: pulumi.Input; + name?: pulumi.Input; /** - * Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ - publicIPAddressVersion?: pulumi.Input; + product?: pulumi.Input; /** - * The PublicIPPrefix from which to allocate publicIP addresses. + * The promotion code. */ - publicIPPrefix?: pulumi.Input; + promotionCode?: pulumi.Input; /** - * Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. + * The publisher ID. */ - sku?: pulumi.Input; + publisher?: pulumi.Input; } /** - * Describes a virtual machines scale sets network configuration's DNS settings. + * Specifies the target splits for Spot and Regular priority VMs within a scale set with flexible orchestration mode. With this property the customer is able to specify the base number of regular priority VMs created as the VMSS flex instance scales out and the split between Spot and Regular priority VMs after this base target has been reached. */ - export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs { + export interface PriorityMixPolicyArgs { /** - * The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created + * The base number of regular priority VMs that will be created in this scale set as it scales out. */ - domainNameLabel: pulumi.Input; + baseRegularPriorityCount?: pulumi.Input; + /** + * The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority. + */ + regularPriorityPercentageAboveBase?: pulumi.Input; } /** - * Describes a virtual machine scale set storage profile. + * A collection of information about the state of the connection between service consumer and provider. */ - export interface VirtualMachineScaleSetStorageProfileArgs { + export interface PrivateLinkServiceConnectionStateArgs { /** - * Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * A message indicating if changes on the service provider require any updates on the consumer. */ - dataDisks?: pulumi.Input[]>; - diskControllerType?: pulumi.Input[]>; + actionsRequired?: pulumi.Input; /** - * Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. + * The reason for approval/rejection of the connection. */ - imageReference?: pulumi.Input; + description?: pulumi.Input; /** - * Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - osDisk?: pulumi.Input; + status?: pulumi.Input; } /** - * Describes a virtual machine scale set VM network profile. + * Specifies the user intent of the proximity placement group. */ - export interface VirtualMachineScaleSetVMNetworkProfileConfigurationArgs { + export interface ProximityPlacementGroupPropertiesIntentArgs { /** - * The list of network configurations. + * Specifies possible sizes of virtual machines that can be created in the proximity placement group. */ - networkInterfaceConfigurations?: pulumi.Input[]>; + vmSizes?: pulumi.Input[]>; } /** - * Describes a virtual machine scale set virtual machine profile. + * Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. */ - export interface VirtualMachineScaleSetVMProfileArgs { - /** - * Specifies the gallery applications that should be made available to the VM/VMSS - */ - applicationProfile?: pulumi.Input; - /** - * Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01. - */ - billingProfile?: pulumi.Input; - /** - * Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01. - */ - capacityReservation?: pulumi.Input; + export interface PublicIPAddressSkuArgs { /** - * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. + * Specify public IP sku name */ - diagnosticsProfile?: pulumi.Input; + name?: pulumi.Input; /** - * Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. + * Specify public IP sku tier */ - evictionPolicy?: pulumi.Input; + tier?: pulumi.Input; + } + + /** + * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + */ + export interface PurchasePlanArgs { /** - * Specifies a collection of settings for extensions installed on virtual machines in the scale set. + * The plan ID. */ - extensionProfile?: pulumi.Input; + name: pulumi.Input; /** - * Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01. + * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. */ - hardwareProfile?: pulumi.Input; + product: pulumi.Input; /** - * Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 + * The Offer Promotion Code. */ - licenseType?: pulumi.Input; + promotionCode?: pulumi.Input; /** - * Specifies properties of the network interfaces of the virtual machines in the scale set. + * The publisher ID. */ - networkProfile?: pulumi.Input; + publisher: pulumi.Input; + } + + /** + * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. + */ + export interface RecommendedMachineConfigurationArgs { /** - * Specifies the operating system settings for the virtual machines in the scale set. + * Describes the resource range. */ - osProfile?: pulumi.Input; + memory?: pulumi.Input; /** - * Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview. + * Describes the resource range. */ - priority?: pulumi.Input; + vCPUs?: pulumi.Input; + } + + /** + * Describes the resource range. + */ + export interface ResourceRangeArgs { /** - * Specifies Scheduled Event related configurations. + * The maximum number of the resource. */ - scheduledEventsProfile?: pulumi.Input; + max?: pulumi.Input; /** - * Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01 + * The minimum number of the resource. */ - securityPostureReference?: pulumi.Input; + min?: pulumi.Input; + } + + /** + * The properties of the source resource that this restore point collection is created from. + */ + export interface RestorePointCollectionSourcePropertiesArgs { /** - * Specifies the Security related profile settings for the virtual machines in the scale set. + * Resource Id of the source resource used to create this restore point collection */ - securityProfile?: pulumi.Input; + id?: pulumi.Input; + } + + /** + * Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point. + */ + export interface RestorePointEncryptionArgs { /** - * Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01 + * Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. */ - serviceArtifactReference?: pulumi.Input; + diskEncryptionSet?: pulumi.Input; /** - * Specifies the storage settings for the virtual machine disks. + * The type of key used to encrypt the data of the disk restore point. */ - storageProfile?: pulumi.Input; + type?: pulumi.Input; + } + + /** + * Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. + */ + export interface RestorePointSourceMetadataArgs { /** - * UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01. + * Gets the storage profile. */ - userData?: pulumi.Input; + storageProfile?: pulumi.Input; } /** - * The protection policy of a virtual machine scale set VM. + * Describes a data disk. */ - export interface VirtualMachineScaleSetVMProtectionPolicyArgs { + export interface RestorePointSourceVMDataDiskArgs { /** - * Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. + * Contains Disk Restore Point properties. */ - protectFromScaleIn?: pulumi.Input; + diskRestorePoint?: pulumi.Input; /** - * Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM. + * Contains the managed disk details. */ - protectFromScaleSetActions?: pulumi.Input; + managedDisk?: pulumi.Input; } /** - * Describes Windows Remote Management configuration of the VM + * Describes an Operating System disk. */ - export interface WinRMConfigurationArgs { + export interface RestorePointSourceVMOSDiskArgs { /** - * The list of Windows Remote Management listeners + * Contains Disk Restore Point properties. */ - listeners?: pulumi.Input[]>; + diskRestorePoint?: pulumi.Input; + /** + * Gets the managed disk details + */ + managedDisk?: pulumi.Input; } /** - * Describes Protocol and thumbprint of Windows Remote Management listener + * Describes the storage profile. */ - export interface WinRMListenerArgs { + export interface RestorePointSourceVMStorageProfileArgs { /** - * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Gets the data disks of the VM captured at the time of the restore point creation. */ - certificateUrl?: pulumi.Input; + dataDisks?: pulumi.Input[]>; /** - * Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** + * Gets the OS disk of the VM captured at the time of the restore point creation. */ - protocol?: pulumi.Input; + osDisk?: pulumi.Input; } /** - * Specifies Windows operating system settings on the virtual machine. + * The configuration parameters used while performing a rolling upgrade. */ - export interface WindowsConfigurationArgs { + export interface RollingUpgradePolicyArgs { /** - * Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. + * Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. */ - additionalUnattendContent?: pulumi.Input[]>; + enableCrossZoneUpgrade?: pulumi.Input; /** - * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. + * The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. */ - enableAutomaticUpdates?: pulumi.Input; + maxBatchInstancePercent?: pulumi.Input; /** - * Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false. + * Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch. */ - enableVMAgentPlatformUpdates?: pulumi.Input; + maxSurge?: pulumi.Input; /** - * [Preview Feature] Specifies settings related to VM Guest Patching on Windows. + * The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. */ - patchSettings?: pulumi.Input; + maxUnhealthyInstancePercent?: pulumi.Input; /** - * Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + * The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. */ - provisionVMAgent?: pulumi.Input; + maxUnhealthyUpgradedInstancePercent?: pulumi.Input; /** - * Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). + * The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). */ - timeZone?: pulumi.Input; + pauseTimeBetweenBatches?: pulumi.Input; /** - * Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. + * Upgrade all unhealthy instances in a scale set before any healthy instances. */ - winRM?: pulumi.Input; + prioritizeUnhealthyInstances?: pulumi.Input; + /** + * Rollback failed instances to previous model if the Rolling Upgrade policy is violated. + */ + rollbackFailedInstancesOnPolicyBreach?: pulumi.Input; } /** - * Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. + * Describes the properties of a run command parameter. */ - export interface WindowsVMGuestPatchAutomaticByPlatformSettingsArgs { + export interface RunCommandInputParameterArgs { /** - * Enables customer to schedule patching without accidental upgrades + * The run command parameter name. */ - bypassPlatformSafetyChecksOnUserSchedule?: pulumi.Input; + name: pulumi.Input; /** - * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + * The run command parameter value. */ - rebootSetting?: pulumi.Input; + value: pulumi.Input; } - export namespace v20201201 { + /** + * Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. + */ + export interface RunCommandManagedIdentityArgs { + /** + * Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. + */ + clientId?: pulumi.Input; + /** + * Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. + */ + objectId?: pulumi.Input; } - export namespace v20210301 { + /** + * Describes a scale-in policy for a virtual machine scale set. + */ + export interface ScaleInPolicyArgs { + /** + * This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview) + */ + forceDeletion?: pulumi.Input; + /** + * The rules to be followed when scaling-in a virtual machine scale set.

Possible values are:

**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.

**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.

**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.

+ */ + rules?: pulumi.Input[]>; } - export namespace v20210401 { + export interface ScheduledEventsProfileArgs { + /** + * Specifies OS Image Scheduled Event related configurations. + */ + osImageNotificationProfile?: pulumi.Input; + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: pulumi.Input; } - export namespace v20210701 { + /** + * Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01 + */ + export interface SecurityPostureReferenceArgs { + /** + * List of virtual machine extensions to exclude when applying the Security Posture. + */ + excludeExtensions?: pulumi.Input[]>; + /** + * The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest + */ + id?: pulumi.Input; } - export namespace v20211101 { + /** + * Specifies the Security profile settings for the virtual machine or virtual machine scale set. + */ + export interface SecurityProfileArgs { /** - * The API entity reference. + * This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource. */ - export interface ApiEntityReferenceArgs { - /** - * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... - */ - id?: pulumi.Input; - } - + encryptionAtHost?: pulumi.Input; /** - * Instance view status. + * Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. */ - export interface InstanceViewStatusArgs { - /** - * The status code. - */ - code?: pulumi.Input; - /** - * The short localizable label for the status. - */ - displayStatus?: pulumi.Input; - /** - * The level code. - */ - level?: pulumi.Input; - /** - * The detailed status message, including for alerts and error messages. - */ - message?: pulumi.Input; - /** - * The time of the status. - */ - time?: pulumi.Input; - } - + securityType?: pulumi.Input; /** - * The instance view of a virtual machine extension. + * Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. */ - export interface VirtualMachineExtensionInstanceViewArgs { - /** - * The virtual machine extension name. - */ - name?: pulumi.Input; - /** - * The resource status information. - */ - statuses?: pulumi.Input[]>; - /** - * The resource status information. - */ - substatuses?: pulumi.Input[]>; - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: pulumi.Input; - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: pulumi.Input; - } - + uefiSettings?: pulumi.Input; } - export namespace v20220301 { + /** + * Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01 + */ + export interface ServiceArtifactReferenceArgs { + /** + * The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName} + */ + id?: pulumi.Input; } - export namespace v20220303 { + /** + * Profile for gallery sharing to subscription or tenant + */ + export interface SharingProfileArgs { /** - * Information of community gallery if current gallery is shared to community + * Information of community gallery if current gallery is shared to community. */ - export interface CommunityGalleryInfoArgs { - /** - * End-user license agreement for community gallery image. - */ - eula?: pulumi.Input; - /** - * The prefix of the gallery name that will be displayed publicly. Visible to all users. - */ - publicNamePrefix?: pulumi.Input; - /** - * Community gallery publisher support email. The email address of the publisher. Visible to all users. - */ - publisherContact?: pulumi.Input; - /** - * The link to the publisher website. Visible to all users. - */ - publisherUri?: pulumi.Input; - } - + communityGalleryInfo?: pulumi.Input; /** - * Contains encryption settings for a data disk image. + * This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups**

**Community** */ - export interface DataDiskImageEncryptionArgs { - /** - * A relative URI containing the resource ID of the disk encryption set. - */ - diskEncryptionSetId?: pulumi.Input; - /** - * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. - */ - lun: pulumi.Input; - } + permissions?: pulumi.Input; + } + /** + * Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name. + */ + export interface SkuArgs { /** - * Describes the disallowed disk types. + * Specifies the number of virtual machines in the scale set. */ - export interface DisallowedArgs { - /** - * A list of disk types. - */ - diskTypes?: pulumi.Input[]>; - } - + capacity?: pulumi.Input; /** - * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. + * The sku name. */ - export interface EncryptionImagesArgs { - /** - * A list of encryption specifications for data disk images. - */ - dataDiskImages?: pulumi.Input[]>; - /** - * Contains encryption settings for an OS disk image. - */ - osDiskImage?: pulumi.Input; - } - + name?: pulumi.Input; /** - * A custom action that can be performed with a Gallery Application Version. + * Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic** */ - export interface GalleryApplicationCustomActionArgs { - /** - * Description to help the users understand what this custom action does. - */ - description?: pulumi.Input; - /** - * The name of the custom action. Must be unique within the Gallery Application Version. - */ - name: pulumi.Input; - /** - * The parameters that this custom action uses - */ - parameters?: pulumi.Input[]>; - /** - * The script to run when executing this custom action. - */ - script: pulumi.Input; - } + tier?: pulumi.Input; + } + /** + * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot + */ + export interface SnapshotSkuArgs { /** - * The definition of a parameter that can be passed to a custom action of a Gallery Application Version. + * The sku name. */ - export interface GalleryApplicationCustomActionParameterArgs { - /** - * The default value of the parameter. Only applies to string types - */ - defaultValue?: pulumi.Input; - /** - * A description to help users understand what this parameter means - */ - description?: pulumi.Input; - /** - * The name of the custom action. Must be unique within the Gallery Application Version. - */ - name: pulumi.Input; - /** - * Indicates whether this parameter must be passed when running the custom action. - */ - required?: pulumi.Input; - /** - * Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob - */ - type?: pulumi.Input; - } + name?: pulumi.Input; + } + /** + * Contains information about the soft deletion policy of the gallery. + */ + export interface SoftDeletePolicyArgs { /** - * The publishing profile of a gallery image version. + * Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time. */ - export interface GalleryApplicationVersionPublishingProfileArgs { - /** - * Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only. - */ - advancedSettings?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * A list of custom actions that can be performed with this Gallery Application Version. - */ - customActions?: pulumi.Input[]>; - /** - * Optional. Whether or not this application reports health. - */ - enableHealthCheck?: pulumi.Input; - /** - * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. - */ - endOfLifeDate?: pulumi.Input; - /** - * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. - */ - excludeFromLatest?: pulumi.Input; - manageActions?: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. - */ - replicaCount?: pulumi.Input; - /** - * Optional parameter which specifies the mode to be used for replication. This property is not updatable. - */ - replicationMode?: pulumi.Input; - /** - * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. - */ - settings?: pulumi.Input; - /** - * The source image from which the Image Version is going to be created. - */ - source: pulumi.Input; - /** - * Specifies the storage account type to be used to store the image. This property is not updatable. - */ - storageAccountType?: pulumi.Input; - /** - * The target extended locations where the Image Version is going to be replicated to. This property is updatable. - */ - targetExtendedLocations?: pulumi.Input[]>; - /** - * The target regions where the Image Version is going to be replicated to. This property is updatable. - */ - targetRegions?: pulumi.Input[]>; - } + isSoftDeleteEnabled?: pulumi.Input; + } + /** + * The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} + */ + export interface SourceVaultArgs { /** - * The safety profile of the Gallery Application Version. + * Resource Id */ - export interface GalleryApplicationVersionSafetyProfileArgs { - /** - * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. - */ - allowDeletionOfReplicatedLocations?: pulumi.Input; - } + id?: pulumi.Input; + } + /** + * Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint. + */ + export interface SpotRestorePolicyArgs { /** - * The source of the gallery artifact version. + * Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints */ - export interface GalleryArtifactVersionFullSourceArgs { - /** - * The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source. - */ - communityGalleryImageId?: pulumi.Input; - /** - * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. - */ - id?: pulumi.Input; - } - + enabled?: pulumi.Input; /** - * This is the data disk image. + * Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances */ - export interface GalleryDataDiskImageArgs { - /** - * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' - */ - hostCaching?: pulumi.Input; - /** - * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. - */ - lun: pulumi.Input; - /** - * The source for the disk image. - */ - source?: pulumi.Input; - } + restoreTimeout?: pulumi.Input; + } + /** + * SSH configuration for Linux based VMs running on Azure + */ + export interface SshConfigurationArgs { /** - * The source for the disk image. + * The list of SSH public keys used to authenticate with linux based VMs. */ - export interface GalleryDiskImageSourceArgs { - /** - * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. - */ - id?: pulumi.Input; - /** - * The Storage Account Id that contains the vhd blob being used as a source for this artifact version. - */ - storageAccountId?: pulumi.Input; - /** - * The uri of the gallery artifact version source. Currently used to specify vhd/blob source. - */ - uri?: pulumi.Input; - } + publicKeys?: pulumi.Input[]>; + } + /** + * Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + */ + export interface SshPublicKeyArgs { /** - * The name of the extended location. + * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ - export interface GalleryExtendedLocationArgs { - name?: pulumi.Input; - /** - * It is type of the extended location. - */ - type?: pulumi.Input; - } - + keyData?: pulumi.Input; /** - * A feature for gallery image. + * Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys */ - export interface GalleryImageFeatureArgs { - /** - * The name of the gallery image feature. - */ - name?: pulumi.Input; - /** - * The value of the gallery image feature. - */ - value?: pulumi.Input; - } + path?: pulumi.Input; + } + /** + * Specifies the storage settings for the virtual machine disks. + */ + export interface StorageProfileArgs { /** - * This is the gallery image definition identifier. + * Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - export interface GalleryImageIdentifierArgs { - /** - * The name of the gallery image definition offer. - */ - offer: pulumi.Input; - /** - * The name of the gallery image definition publisher. - */ - publisher: pulumi.Input; - /** - * The name of the gallery image definition SKU. - */ - sku: pulumi.Input; - } - + dataDisks?: pulumi.Input[]>; /** - * The publishing profile of a gallery image Version. + * Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01. */ - export interface GalleryImageVersionPublishingProfileArgs { - /** - * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. - */ - endOfLifeDate?: pulumi.Input; - /** - * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. - */ - excludeFromLatest?: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. - */ - replicaCount?: pulumi.Input; - /** - * Optional parameter which specifies the mode to be used for replication. This property is not updatable. - */ - replicationMode?: pulumi.Input; - /** - * Specifies the storage account type to be used to store the image. This property is not updatable. - */ - storageAccountType?: pulumi.Input; - /** - * The target extended locations where the Image Version is going to be replicated to. This property is updatable. - */ - targetExtendedLocations?: pulumi.Input[]>; - /** - * The target regions where the Image Version is going to be replicated to. This property is updatable. - */ - targetRegions?: pulumi.Input[]>; - } - + diskControllerType?: pulumi.Input; /** - * This is the safety profile of the Gallery Image Version. + * Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. */ - export interface GalleryImageVersionSafetyProfileArgs { - /** - * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. - */ - allowDeletionOfReplicatedLocations?: pulumi.Input; - } - + imageReference?: pulumi.Input; /** - * This is the storage profile of a Gallery Image Version. + * Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). */ - export interface GalleryImageVersionStorageProfileArgs { - /** - * A list of data disk images. - */ - dataDiskImages?: pulumi.Input[]>; - /** - * This is the OS disk image. - */ - osDiskImage?: pulumi.Input; - /** - * The source of the gallery artifact version. - */ - source?: pulumi.Input; - } + osDisk?: pulumi.Input; + } + export interface SubResourceArgs { /** - * This is the OS disk image. + * Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. + * An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. + * A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. + * Example of a relative ID: $self/frontEndConfigurations/my-frontend. */ - export interface GalleryOSDiskImageArgs { - /** - * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' - */ - hostCaching?: pulumi.Input; - /** - * The source for the disk image. - */ - source?: pulumi.Input; - } - - export interface GalleryTargetExtendedLocationArgs { - /** - * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. - */ - encryption?: pulumi.Input; - /** - * The name of the extended location. - */ - extendedLocation?: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per extended location. This property is updatable. - */ - extendedLocationReplicaCount?: pulumi.Input; - /** - * The name of the region. - */ - name?: pulumi.Input; - /** - * Specifies the storage account type to be used to store the image. This property is not updatable. - */ - storageAccountType?: pulumi.Input; - } + id?: pulumi.Input; + } + /** + * List of supported capabilities persisted on the disk resource for VM use. + */ + export interface SupportedCapabilitiesArgs { /** - * Describes the gallery image definition purchase plan. This is used by marketplace images. + * True if the image from which the OS disk is created supports accelerated networking. */ - export interface ImagePurchasePlanArgs { - /** - * The plan ID. - */ - name?: pulumi.Input; - /** - * The product ID. - */ - product?: pulumi.Input; - /** - * The publisher ID. - */ - publisher?: pulumi.Input; - } - + acceleratedNetwork?: pulumi.Input; /** - * Contains encryption settings for an OS disk image. + * CPU architecture supported by an OS disk. */ - export interface OSDiskImageEncryptionArgs { - /** - * A relative URI containing the resource ID of the disk encryption set. - */ - diskEncryptionSetId?: pulumi.Input; - /** - * This property specifies the security profile of an OS disk image. - */ - securityProfile?: pulumi.Input; - } - + architecture?: pulumi.Input; /** - * Contains security profile for an OS disk image. + * The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. */ - export interface OSDiskImageSecurityProfileArgs { - /** - * confidential VM encryption types - */ - confidentialVMEncryptionType?: pulumi.Input; - /** - * secure VM disk encryption set id - */ - secureVMDiskEncryptionSetId?: pulumi.Input; - } + diskControllerTypes?: pulumi.Input; + } + /** + * Describes the target region information. + */ + export interface TargetRegionArgs { /** - * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. */ - export interface RecommendedMachineConfigurationArgs { - /** - * Describes the resource range. - */ - memory?: pulumi.Input; - /** - * Describes the resource range. - */ - vCPUs?: pulumi.Input; - } - + encryption?: pulumi.Input; /** - * Describes the resource range. + * Contains the flag setting to hide an image when users specify version='latest' */ - export interface ResourceRangeArgs { - /** - * The maximum number of the resource. - */ - max?: pulumi.Input; - /** - * The minimum number of the resource. - */ - min?: pulumi.Input; - } - + excludeFromLatest?: pulumi.Input; /** - * Profile for gallery sharing to subscription or tenant + * The name of the region. */ - export interface SharingProfileArgs { - /** - * Information of community gallery if current gallery is shared to community. - */ - communityGalleryInfo?: pulumi.Input; - /** - * This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups**

**Community** - */ - permissions?: pulumi.Input; - } - + name: pulumi.Input; /** - * Contains information about the soft deletion policy of the gallery. + * The number of replicas of the Image Version to be created per region. This property is updatable. */ - export interface SoftDeletePolicyArgs { - /** - * Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time. - */ - isSoftDeleteEnabled?: pulumi.Input; - } - + regionalReplicaCount?: pulumi.Input; /** - * Describes the target region information. + * Specifies the storage account type to be used to store the image. This property is not updatable. */ - export interface TargetRegionArgs { - /** - * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. - */ - encryption?: pulumi.Input; - /** - * Contains the flag setting to hide an image when users specify version='latest' - */ - excludeFromLatest?: pulumi.Input; - /** - * The name of the region. - */ - name: pulumi.Input; - /** - * The number of replicas of the Image Version to be created per region. This property is updatable. - */ - regionalReplicaCount?: pulumi.Input; - /** - * Specifies the storage account type to be used to store the image. This property is not updatable. - */ - storageAccountType?: pulumi.Input; - } - - export interface UserArtifactManageArgs { - /** - * Required. The path and arguments to install the gallery application. This is limited to 4096 characters. - */ - install: pulumi.Input; - /** - * Required. The path and arguments to remove the gallery application. This is limited to 4096 characters. - */ - remove: pulumi.Input; - /** - * Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters. - */ - update?: pulumi.Input; - } + storageAccountType?: pulumi.Input; + } + export interface TerminateNotificationProfileArgs { /** - * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. + * Specifies whether the Terminate Scheduled event is enabled or disabled. */ - export interface UserArtifactSettingsArgs { - /** - * Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". - */ - configFileName?: pulumi.Input; - /** - * Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name. - */ - packageFileName?: pulumi.Input; - } - + enable?: pulumi.Input; /** - * The source image from which the Image Version is going to be created. + * Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) */ - export interface UserArtifactSourceArgs { - /** - * Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. - */ - defaultConfigurationLink?: pulumi.Input; - /** - * Required. The mediaLink of the artifact, must be a readable storage page blob. - */ - mediaLink: pulumi.Input; - } - + notBeforeTimeout?: pulumi.Input; } - export namespace v20220702 { + /** + * Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. + */ + export interface UefiSettingsArgs { /** - * Indicates the error details if the background copy of a resource created via the CopyStart operation fails. + * Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01. */ - export interface CopyCompletionErrorArgs { - /** - * Indicates the error code if the background copy of a resource created via the CopyStart operation fails. - */ - errorCode: pulumi.Input; - /** - * Indicates the error message if the background copy of a resource created via the CopyStart operation fails. - */ - errorMessage: pulumi.Input; - } - + secureBootEnabled?: pulumi.Input; /** - * Data used when creating a disk. + * Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01. */ - export interface CreationDataArgs { - /** - * This enumerates the possible sources of a disk's creation. - */ - createOption: pulumi.Input; - /** - * Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. - */ - galleryImageReference?: pulumi.Input; - /** - * Disk source information for PIR or user images. - */ - imageReference?: pulumi.Input; - /** - * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. - */ - logicalSectorSize?: pulumi.Input; - /** - * Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. - */ - performancePlus?: pulumi.Input; - /** - * If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. - */ - securityDataUri?: pulumi.Input; - /** - * If createOption is Copy, this is the ARM id of the source snapshot or disk. - */ - sourceResourceId?: pulumi.Input; - /** - * If createOption is Import, this is the URI of a blob to be imported into a managed disk. - */ - sourceUri?: pulumi.Input; - /** - * Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. - */ - storageAccountId?: pulumi.Input; - /** - * If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). - */ - uploadSizeBytes?: pulumi.Input; - } + vTpmEnabled?: pulumi.Input; + } + /** + * Describes an upgrade policy - automatic, manual, or rolling. + */ + export interface UpgradePolicyArgs { /** - * Contains the security related information for the resource. + * Configuration parameters used for performing automatic OS Upgrade. */ - export interface DiskSecurityProfileArgs { - /** - * ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key - */ - secureVMDiskEncryptionSetId?: pulumi.Input; - /** - * Specifies the SecurityType of the VM. Applicable for OS disks only. - */ - securityType?: pulumi.Input; - } - + automaticOSUpgradePolicy?: pulumi.Input; /** - * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. + * Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

**Automatic** - All virtual machines in the scale set are automatically updated at the same time. */ - export interface DiskSkuArgs { - /** - * The sku name. - */ - name?: pulumi.Input; - } - + mode?: pulumi.Input; /** - * Encryption at rest settings for disk or snapshot + * The configuration parameters used while performing a rolling upgrade. */ - export interface EncryptionArgs { - /** - * ResourceId of the disk encryption set to use for enabling encryption at rest. - */ - diskEncryptionSetId?: pulumi.Input; - /** - * The type of key used to encrypt the data of the disk. - */ - type?: pulumi.Input; - } + rollingUpgradePolicy?: pulumi.Input; + } + export interface UserArtifactManageArgs { /** - * The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. + * Required. The path and arguments to install the gallery application. This is limited to 4096 characters. */ - export interface EncryptionSetIdentityArgs { - /** - * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. - */ - type?: pulumi.Input; - /** - * The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - + install: pulumi.Input; /** - * Encryption settings for disk or snapshot + * Required. The path and arguments to remove the gallery application. This is limited to 4096 characters. */ - export interface EncryptionSettingsCollectionArgs { - /** - * Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. - */ - enabled: pulumi.Input; - /** - * A collection of encryption settings, one for each disk volume. - */ - encryptionSettings?: pulumi.Input[]>; - /** - * Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. - */ - encryptionSettingsVersion?: pulumi.Input; - } - + remove: pulumi.Input; /** - * Encryption settings for one disk volume. + * Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters. */ - export interface EncryptionSettingsElementArgs { - /** - * Key Vault Secret Url and vault id of the disk encryption key - */ - diskEncryptionKey?: pulumi.Input; - /** - * Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. - */ - keyEncryptionKey?: pulumi.Input; - } + update?: pulumi.Input; + } + /** + * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. + */ + export interface UserArtifactSettingsArgs { /** - * The complex type of the extended location. + * Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". */ - export interface ExtendedLocationArgs { - /** - * The name of the extended location. - */ - name?: pulumi.Input; - /** - * The type of the extended location. - */ - type?: pulumi.Input; - } - + configFileName?: pulumi.Input; /** - * The source image used for creating the disk. + * Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name. */ - export interface ImageDiskReferenceArgs { - /** - * A relative uri containing a community Azure Compute Gallery image reference. - */ - communityGalleryImageId?: pulumi.Input; - /** - * A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. - */ - id?: pulumi.Input; - /** - * If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. - */ - lun?: pulumi.Input; - /** - * A relative uri containing a direct shared Azure Compute Gallery image reference. - */ - sharedGalleryImageId?: pulumi.Input; - } + packageFileName?: pulumi.Input; + } + /** + * The source image from which the Image Version is going to be created. + */ + export interface UserArtifactSourceArgs { /** - * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots + * Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. */ - export interface KeyForDiskEncryptionSetArgs { - /** - * Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. - */ - keyUrl: pulumi.Input; - /** - * Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. - */ - sourceVault?: pulumi.Input; - } - + defaultConfigurationLink?: pulumi.Input; /** - * Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey + * Required. The mediaLink of the artifact, must be a readable storage page blob. */ - export interface KeyVaultAndKeyReferenceArgs { - /** - * Url pointing to a key or secret in KeyVault - */ - keyUrl: pulumi.Input; - /** - * Resource id of the KeyVault containing the key or secret - */ - sourceVault: pulumi.Input; - } + mediaLink: pulumi.Input; + } + /** + * Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. + */ + export interface VMDiskSecurityProfileArgs { /** - * Key Vault Secret Url and vault id of the encryption key + * Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob. */ - export interface KeyVaultAndSecretReferenceArgs { - /** - * Url pointing to a key or secret in KeyVault - */ - secretUrl: pulumi.Input; - /** - * Resource id of the KeyVault containing the key or secret - */ - sourceVault: pulumi.Input; - } - + diskEncryptionSet?: pulumi.Input; /** - * A collection of information about the state of the connection between service consumer and provider. + * Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs. */ - export interface PrivateLinkServiceConnectionStateArgs { - /** - * A message indicating if changes on the service provider require any updates on the consumer. - */ - actionsRequired?: pulumi.Input; - /** - * The reason for approval/rejection of the connection. - */ - description?: pulumi.Input; - /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - */ - status?: pulumi.Input; - } + securityEncryptionType?: pulumi.Input; + } + /** + * Specifies the required information to reference a compute gallery application version + */ + export interface VMGalleryApplicationArgs { /** - * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + * Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided */ - export interface PurchasePlanArgs { - /** - * The plan ID. - */ - name: pulumi.Input; - /** - * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. - */ - product: pulumi.Input; - /** - * The Offer Promotion Code. - */ - promotionCode?: pulumi.Input; - /** - * The publisher ID. - */ - publisher: pulumi.Input; - } - + configurationReference?: pulumi.Input; /** - * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot + * If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS */ - export interface SnapshotSkuArgs { - /** - * The sku name. - */ - name?: pulumi.Input; - } - + enableAutomaticUpgrade?: pulumi.Input; /** - * The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} + * Optional, Specifies the order in which the packages have to be installed */ - export interface SourceVaultArgs { - /** - * Resource Id - */ - id?: pulumi.Input; - } - + order?: pulumi.Input; /** - * List of supported capabilities persisted on the disk resource for VM use. + * Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} */ - export interface SupportedCapabilitiesArgs { - /** - * True if the image from which the OS disk is created supports accelerated networking. - */ - acceleratedNetwork?: pulumi.Input; - /** - * CPU architecture supported by an OS disk. - */ - architecture?: pulumi.Input; - /** - * The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. - */ - diskControllerTypes?: pulumi.Input; - } - + packageReferenceId: pulumi.Input; + /** + * Optional, Specifies a passthrough value for more generic context. + */ + tags?: pulumi.Input; + /** + * Optional, If true, any failure for any operation in the VmApplication will fail the deployment + */ + treatFailureAsDeploymentFailure?: pulumi.Input; } - export namespace v20220801 { + /** + * Specifies VM Size Property settings on the virtual machine. + */ + export interface VMSizePropertiesArgs { + /** + * Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). + */ + vCPUsAvailable?: pulumi.Input; + /** + * Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.** + */ + vCPUsPerCore?: pulumi.Input; } - export namespace v20220904 { + /** + * Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. + */ + export interface VaultCertificateArgs { /** - * Describes a cloud service extension profile. + * For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */ - export interface CloudServiceExtensionProfileArgs { - /** - * List of extensions for the cloud service. - */ - extensions?: pulumi.Input[]>; - } - + certificateStore?: pulumi.Input; /** - * Extension Properties. + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ - export interface CloudServiceExtensionPropertiesArgs { - /** - * Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. - */ - autoUpgradeMinorVersion?: pulumi.Input; - /** - * Tag to force apply the provided public and protected settings. - * Changing the tag value allows for re-running the extension without changing any of the public or protected settings. - * If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. - * If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and - * it is up to handler implementation whether to re-run it or not - */ - forceUpdateTag?: pulumi.Input; - /** - * Protected settings for the extension which are encrypted before sent to the role instance. - */ - protectedSettings?: any; - /** - * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. - */ - protectedSettingsFromKeyVault?: pulumi.Input; - /** - * The name of the extension handler publisher. - */ - publisher?: pulumi.Input; - /** - * Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. - */ - rolesAppliedTo?: pulumi.Input[]>; - /** - * Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension. - */ - settings?: any; - /** - * Specifies the type of the extension. - */ - type?: pulumi.Input; - /** - * Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance. - */ - typeHandlerVersion?: pulumi.Input; - } + certificateUrl?: pulumi.Input; + } + /** + * Describes a set of certificates which are all in the same Key Vault. + */ + export interface VaultSecretGroupArgs { /** - * Network Profile for the cloud service. + * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. */ - export interface CloudServiceNetworkProfileArgs { - /** - * List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer. - */ - loadBalancerConfigurations?: pulumi.Input[]>; - /** - * Slot type for the cloud service. - * Possible values are

**Production**

**Staging**

- * If not specified, the default value is Production. - */ - slotType?: pulumi.Input; - /** - * The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown. - */ - swappableCloudService?: pulumi.Input; - } - + sourceVault?: pulumi.Input; /** - * Describes the OS profile for the cloud service. + * The list of key vault references in SourceVault which contain certificates. */ - export interface CloudServiceOsProfileArgs { - /** - * Specifies set of certificates that should be installed onto the role instances. - */ - secrets?: pulumi.Input[]>; - } + vaultCertificates?: pulumi.Input[]>; + } + /** + * Describes the uri of a disk. + */ + export interface VirtualHardDiskArgs { /** - * Cloud service properties + * Specifies the virtual hard disk's uri. */ - export interface CloudServicePropertiesArgs { - /** - * (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. - * The default value is `false`. - */ - allowModelOverride?: pulumi.Input; - /** - * Specifies the XML service configuration (.cscfg) for the cloud service. - */ - configuration?: pulumi.Input; - /** - * Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. - * This is a write-only property and is not returned in GET calls. - */ - configurationUrl?: pulumi.Input; - /** - * Describes a cloud service extension profile. - */ - extensionProfile?: pulumi.Input; - /** - * Network Profile for the cloud service. - */ - networkProfile?: pulumi.Input; - /** - * Describes the OS profile for the cloud service. - */ - osProfile?: pulumi.Input; - /** - * Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. - * This is a write-only property and is not returned in GET calls. - */ - packageUrl?: pulumi.Input; - /** - * Describes the role profile for the cloud service. - */ - roleProfile?: pulumi.Input; - /** - * (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`. - * If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff. - */ - startCloudService?: pulumi.Input; - /** - * Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. - * Possible Values are

**Auto**

**Manual**

**Simultaneous**

- * If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. - */ - upgradeMode?: pulumi.Input; - } + uri?: pulumi.Input; + } + /** + * Describes a Virtual Machine Extension. + */ + export interface VirtualMachineExtensionArgs { /** - * Describes the role profile for the cloud service. + * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */ - export interface CloudServiceRoleProfileArgs { - /** - * List of roles for the cloud service. - */ - roles?: pulumi.Input[]>; - } - + autoUpgradeMinorVersion?: pulumi.Input; /** - * Describes the role properties. + * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ - export interface CloudServiceRoleProfilePropertiesArgs { - /** - * Resource name. - */ - name?: pulumi.Input; - /** - * Describes the cloud service role sku. - */ - sku?: pulumi.Input; - } - + enableAutomaticUpgrade?: pulumi.Input; /** - * Describes the cloud service role sku. + * How the extension handler should be forced to update even if the extension configuration has not changed. */ - export interface CloudServiceRoleSkuArgs { - /** - * Specifies the number of role instances in the cloud service. - */ - capacity?: pulumi.Input; - /** - * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku. - */ - name?: pulumi.Input; - /** - * Specifies the tier of the cloud service. Possible Values are

**Standard**

**Basic** - */ - tier?: pulumi.Input; - } - + forceUpdateTag?: pulumi.Input; /** - * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. + * The virtual machine extension instance view. */ - export interface CloudServiceVaultAndSecretReferenceArgs { - /** - * Secret URL which contains the protected settings of the extension - */ - secretUrl?: pulumi.Input; - /** - * The ARM Resource ID of the Key Vault - */ - sourceVault?: pulumi.Input; - } - + instanceView?: pulumi.Input; /** - * Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance. + * Resource location */ - export interface CloudServiceVaultCertificateArgs { - /** - * This is the URL of a certificate that has been uploaded to Key Vault as a secret. - */ - certificateUrl?: pulumi.Input; - } - + location?: pulumi.Input; /** - * Describes a set of certificates which are all in the same Key Vault. + * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - export interface CloudServiceVaultSecretGroupArgs { - /** - * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. - */ - sourceVault?: pulumi.Input; - /** - * The list of key vault references in SourceVault which contain certificates. - */ - vaultCertificates?: pulumi.Input[]>; - } - + protectedSettings?: any; /** - * Describes a cloud service Extension. + * The extensions protected settings that are passed by reference, and consumed from key vault */ - export interface ExtensionArgs { - /** - * The name of the extension. - */ - name?: pulumi.Input; - /** - * Extension Properties. - */ - properties?: pulumi.Input; - } - + protectedSettingsFromKeyVault?: pulumi.Input; /** - * Describes the load balancer configuration. + * Collection of extension names after which this extension needs to be provisioned. */ - export interface LoadBalancerConfigurationArgs { - /** - * Resource Id - */ - id?: pulumi.Input; - /** - * The name of the Load balancer - */ - name: pulumi.Input; - /** - * Properties of the load balancer configuration. - */ - properties: pulumi.Input; - } - + provisionAfterExtensions?: pulumi.Input[]>; /** - * Describes the properties of the load balancer configuration. + * The name of the extension handler publisher. */ - export interface LoadBalancerConfigurationPropertiesArgs { - /** - * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. - */ - frontendIpConfigurations: pulumi.Input[]>; - } - + publisher?: pulumi.Input; /** - * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. + * Json formatted public settings for the extension. */ - export interface LoadBalancerFrontendIpConfigurationArgs { - /** - * The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. - */ - name: pulumi.Input; - /** - * Properties of load balancer frontend ip configuration. - */ - properties: pulumi.Input; - } - + settings?: any; /** - * Describes a cloud service IP Configuration + * Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ - export interface LoadBalancerFrontendIpConfigurationPropertiesArgs { - /** - * The virtual network private IP address of the IP configuration. - */ - privateIPAddress?: pulumi.Input; - /** - * The reference to the public ip address resource. - */ - publicIPAddress?: pulumi.Input; - /** - * The reference to the virtual network subnet resource. - */ - subnet?: pulumi.Input; - } - - export interface SubResourceArgs { - /** - * Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. - * An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. - * A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. - * Example of a relative ID: $self/frontEndConfigurations/my-frontend. - */ - id?: pulumi.Input; - } - - } - - export namespace v20221101 { + suppressFailures?: pulumi.Input; /** - * The API entity reference. + * Resource tags */ - export interface ApiEntityReferenceArgs { - /** - * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... - */ - id?: pulumi.Input; - } - + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type?: pulumi.Input; + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: pulumi.Input; } - export namespace v20230102 { + /** + * The instance view of a virtual machine extension. + */ + export interface VirtualMachineExtensionInstanceViewArgs { /** - * Indicates the error details if the background copy of a resource created via the CopyStart operation fails. + * The virtual machine extension name. */ - export interface CopyCompletionErrorArgs { - /** - * Indicates the error code if the background copy of a resource created via the CopyStart operation fails. - */ - errorCode: pulumi.Input; - /** - * Indicates the error message if the background copy of a resource created via the CopyStart operation fails. - */ - errorMessage: pulumi.Input; - } - + name?: pulumi.Input; /** - * Data used when creating a disk. + * The resource status information. */ - export interface CreationDataArgs { - /** - * This enumerates the possible sources of a disk's creation. - */ - createOption: pulumi.Input; - /** - * Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. - */ - galleryImageReference?: pulumi.Input; - /** - * Disk source information for PIR or user images. - */ - imageReference?: pulumi.Input; - /** - * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. - */ - logicalSectorSize?: pulumi.Input; - /** - * Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. - */ - performancePlus?: pulumi.Input; - /** - * If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. - */ - securityDataUri?: pulumi.Input; - /** - * If createOption is Copy, this is the ARM id of the source snapshot or disk. - */ - sourceResourceId?: pulumi.Input; - /** - * If createOption is Import, this is the URI of a blob to be imported into a managed disk. - */ - sourceUri?: pulumi.Input; - /** - * Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. - */ - storageAccountId?: pulumi.Input; - /** - * If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). - */ - uploadSizeBytes?: pulumi.Input; - } - + statuses?: pulumi.Input[]>; /** - * Contains the security related information for the resource. + * The resource status information. */ - export interface DiskSecurityProfileArgs { - /** - * ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key - */ - secureVMDiskEncryptionSetId?: pulumi.Input; - /** - * Specifies the SecurityType of the VM. Applicable for OS disks only. - */ - securityType?: pulumi.Input; - } - + substatuses?: pulumi.Input[]>; /** - * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. + * Specifies the type of the extension; an example is "CustomScriptExtension". */ - export interface DiskSkuArgs { - /** - * The sku name. - */ - name?: pulumi.Input; - } - + type?: pulumi.Input; /** - * Encryption at rest settings for disk or snapshot + * Specifies the version of the script handler. */ - export interface EncryptionArgs { - /** - * ResourceId of the disk encryption set to use for enabling encryption at rest. - */ - diskEncryptionSetId?: pulumi.Input; - /** - * The type of key used to encrypt the data of the disk. - */ - type?: pulumi.Input; - } + typeHandlerVersion?: pulumi.Input; + } + /** + * Identity for the virtual machine. + */ + export interface VirtualMachineIdentityArgs { /** - * The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. + * The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ - export interface EncryptionSetIdentityArgs { - /** - * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. - */ - type?: pulumi.Input; - /** - * The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - + type?: pulumi.Input; /** - * Encryption settings for disk or snapshot + * The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - export interface EncryptionSettingsCollectionArgs { - /** - * Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. - */ - enabled: pulumi.Input; - /** - * A collection of encryption settings, one for each disk volume. - */ - encryptionSettings?: pulumi.Input[]>; - /** - * Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. - */ - encryptionSettingsVersion?: pulumi.Input; - } + userAssignedIdentities?: pulumi.Input[]>; + } + /** + * Contains the IP tag associated with the public IP address. + */ + export interface VirtualMachineIpTagArgs { /** - * Encryption settings for one disk volume. + * IP tag type. Example: FirstPartyUsage. */ - export interface EncryptionSettingsElementArgs { - /** - * Key Vault Secret Url and vault id of the disk encryption key - */ - diskEncryptionKey?: pulumi.Input; - /** - * Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. - */ - keyEncryptionKey?: pulumi.Input; - } - + ipTagType?: pulumi.Input; /** - * The complex type of the extended location. + * IP tag associated with the public IP. Example: SQL, Storage etc. */ - export interface ExtendedLocationArgs { - /** - * The name of the extended location. - */ - name?: pulumi.Input; - /** - * The type of the extended location. - */ - type?: pulumi.Input; - } + tag?: pulumi.Input; + } + /** + * Describes a virtual machine network interface configurations. + */ + export interface VirtualMachineNetworkInterfaceConfigurationArgs { /** - * The source image used for creating the disk. + * Specify what happens to the network interface when the VM is deleted */ - export interface ImageDiskReferenceArgs { - /** - * A relative uri containing a community Azure Compute Gallery image reference. - */ - communityGalleryImageId?: pulumi.Input; - /** - * A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. - */ - id?: pulumi.Input; - /** - * If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. - */ - lun?: pulumi.Input; - /** - * A relative uri containing a direct shared Azure Compute Gallery image reference. - */ - sharedGalleryImageId?: pulumi.Input; - } - + deleteOption?: pulumi.Input; /** - * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots + * Specifies whether the network interface is disabled for tcp state tracking. + */ + disableTcpStateTracking?: pulumi.Input; + /** + * The dns settings to be applied on the network interfaces. + */ + dnsSettings?: pulumi.Input; + dscpConfiguration?: pulumi.Input; + /** + * Specifies whether the network interface is accelerated networking-enabled. + */ + enableAcceleratedNetworking?: pulumi.Input; + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: pulumi.Input; + /** + * Whether IP forwarding enabled on this NIC. + */ + enableIPForwarding?: pulumi.Input; + /** + * Specifies the IP configurations of the network interface. + */ + ipConfigurations: pulumi.Input[]>; + /** + * The network interface configuration name. + */ + name: pulumi.Input; + /** + * The network security group. + */ + networkSecurityGroup?: pulumi.Input; + /** + * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + */ + primary?: pulumi.Input; + } + + /** + * Describes a virtual machines network configuration's DNS settings. + */ + export interface VirtualMachineNetworkInterfaceDnsSettingsConfigurationArgs { + /** + * List of DNS servers IP addresses + */ + dnsServers?: pulumi.Input[]>; + } + + /** + * Describes a virtual machine network profile's IP configuration. + */ + export interface VirtualMachineNetworkInterfaceIPConfigurationArgs { + /** + * Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. + */ + applicationGatewayBackendAddressPools?: pulumi.Input[]>; + /** + * Specifies an array of references to application security group. + */ + applicationSecurityGroups?: pulumi.Input[]>; + /** + * Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. + */ + loadBalancerBackendAddressPools?: pulumi.Input[]>; + /** + * The IP configuration name. + */ + name: pulumi.Input; + /** + * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + */ + primary?: pulumi.Input; + /** + * Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + */ + privateIPAddressVersion?: pulumi.Input; + /** + * The publicIPAddressConfiguration. + */ + publicIPAddressConfiguration?: pulumi.Input; + /** + * Specifies the identifier of the subnet. + */ + subnet?: pulumi.Input; + } + + /** + * Describes a virtual machines IP Configuration's PublicIPAddress configuration + */ + export interface VirtualMachinePublicIPAddressConfigurationArgs { + /** + * Specify what happens to the public IP address when the VM is deleted + */ + deleteOption?: pulumi.Input; + /** + * The dns settings to be applied on the publicIP addresses . + */ + dnsSettings?: pulumi.Input; + /** + * The idle timeout of the public IP address. + */ + idleTimeoutInMinutes?: pulumi.Input; + /** + * The list of IP tags associated with the public IP address. + */ + ipTags?: pulumi.Input[]>; + /** + * The publicIP address configuration name. + */ + name: pulumi.Input; + /** + * Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + */ + publicIPAddressVersion?: pulumi.Input; + /** + * Specify the public IP allocation type + */ + publicIPAllocationMethod?: pulumi.Input; + /** + * The PublicIPPrefix from which to allocate publicIP addresses. + */ + publicIPPrefix?: pulumi.Input; + /** + * Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. + */ + sku?: pulumi.Input; + } + + /** + * Describes a virtual machines network configuration's DNS settings. + */ + export interface VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs { + /** + * The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. + */ + domainNameLabel: pulumi.Input; + } + + /** + * Describes the script sources for run command. Use only one of script, scriptUri, commandId. + */ + export interface VirtualMachineRunCommandScriptSourceArgs { + /** + * Specifies a commandId of predefined built-in script. + */ + commandId?: pulumi.Input; + /** + * Specifies the script content to be executed on the VM. + */ + script?: pulumi.Input; + /** + * Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. + */ + scriptUri?: pulumi.Input; + /** + * User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. + */ + scriptUriManagedIdentity?: pulumi.Input; + } + + /** + * Describes a virtual machine scale set data disk. + */ + export interface VirtualMachineScaleSetDataDiskArgs { + /** + * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** + */ + caching?: pulumi.Input; + /** + * The create option. + */ + createOption: pulumi.Input; + /** + * Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).

Possible values:

**Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.

**Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.

The default value is set to **Delete**. + */ + deleteOption?: pulumi.Input; + /** + * Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. + */ + diskIOPSReadWrite?: pulumi.Input; + /** + * Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. + */ + diskMBpsReadWrite?: pulumi.Input; + /** + * Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. + */ + diskSizeGB?: pulumi.Input; + /** + * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. + */ + lun: pulumi.Input; + /** + * The managed disk parameters. + */ + managedDisk?: pulumi.Input; + /** + * The disk name. + */ + name?: pulumi.Input; + /** + * Specifies whether writeAccelerator should be enabled or disabled on the disk. + */ + writeAcceleratorEnabled?: pulumi.Input; + } + + /** + * Describes a Virtual Machine Scale Set Extension. + */ + export interface VirtualMachineScaleSetExtensionArgs { + /** + * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + */ + autoUpgradeMinorVersion?: pulumi.Input; + /** + * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. + */ + enableAutomaticUpgrade?: pulumi.Input; + /** + * If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. + */ + forceUpdateTag?: pulumi.Input; + /** + * The name of the extension. + */ + name?: pulumi.Input; + /** + * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. + */ + protectedSettings?: any; + /** + * The extensions protected settings that are passed by reference, and consumed from key vault + */ + protectedSettingsFromKeyVault?: pulumi.Input; + /** + * Collection of extension names after which this extension needs to be provisioned. + */ + provisionAfterExtensions?: pulumi.Input[]>; + /** + * The name of the extension handler publisher. + */ + publisher?: pulumi.Input; + /** + * Json formatted public settings for the extension. + */ + settings?: any; + /** + * Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. + */ + suppressFailures?: pulumi.Input; + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type?: pulumi.Input; + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: pulumi.Input; + } + + /** + * Describes a virtual machine scale set extension profile. + */ + export interface VirtualMachineScaleSetExtensionProfileArgs { + /** + * The virtual machine scale set child extension resources. + */ + extensions?: pulumi.Input[]>; + /** + * Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01. + */ + extensionsTimeBudget?: pulumi.Input; + } + + /** + * Specifies the hardware settings for the virtual machine scale set. + */ + export interface VirtualMachineScaleSetHardwareProfileArgs { + /** + * Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details. + */ + vmSizeProperties?: pulumi.Input; + } + + /** + * Describes a virtual machine scale set network profile's IP configuration. + */ + export interface VirtualMachineScaleSetIPConfigurationArgs { + /** + * Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway. + */ + applicationGatewayBackendAddressPools?: pulumi.Input[]>; + /** + * Specifies an array of references to application security group. + */ + applicationSecurityGroups?: pulumi.Input[]>; + /** + * Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. + */ + loadBalancerBackendAddressPools?: pulumi.Input[]>; + /** + * Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. + */ + loadBalancerInboundNatPools?: pulumi.Input[]>; + /** + * The IP configuration name. + */ + name: pulumi.Input; + /** + * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + */ + primary?: pulumi.Input; + /** + * Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + */ + privateIPAddressVersion?: pulumi.Input; + /** + * The publicIPAddressConfiguration. + */ + publicIPAddressConfiguration?: pulumi.Input; + /** + * Specifies the identifier of the subnet. + */ + subnet?: pulumi.Input; + } + + /** + * Identity for the virtual machine scale set. + */ + export interface VirtualMachineScaleSetIdentityArgs { + /** + * The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Contains the IP tag associated with the public IP address. + */ + export interface VirtualMachineScaleSetIpTagArgs { + /** + * IP tag type. Example: FirstPartyUsage. + */ + ipTagType?: pulumi.Input; + /** + * IP tag associated with the public IP. Example: SQL, Storage etc. + */ + tag?: pulumi.Input; + } + + /** + * Describes the parameters of a ScaleSet managed disk. + */ + export interface VirtualMachineScaleSetManagedDiskParametersArgs { + /** + * Specifies the customer managed disk encryption set resource id for the managed disk. + */ + diskEncryptionSet?: pulumi.Input; + /** + * Specifies the security profile for the managed disk. + */ + securityProfile?: pulumi.Input; + /** + * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. + */ + storageAccountType?: pulumi.Input; + } + + /** + * Describes a virtual machine scale set network profile's network configurations. + */ + export interface VirtualMachineScaleSetNetworkConfigurationArgs { + /** + * Specify what happens to the network interface when the VM is deleted + */ + deleteOption?: pulumi.Input; + /** + * Specifies whether the network interface is disabled for tcp state tracking. + */ + disableTcpStateTracking?: pulumi.Input; + /** + * The dns settings to be applied on the network interfaces. + */ + dnsSettings?: pulumi.Input; + /** + * Specifies whether the network interface is accelerated networking-enabled. + */ + enableAcceleratedNetworking?: pulumi.Input; + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: pulumi.Input; + /** + * Whether IP forwarding enabled on this NIC. + */ + enableIPForwarding?: pulumi.Input; + /** + * Specifies the IP configurations of the network interface. + */ + ipConfigurations: pulumi.Input[]>; + /** + * The network configuration name. + */ + name: pulumi.Input; + /** + * The network security group. + */ + networkSecurityGroup?: pulumi.Input; + /** + * Specifies the primary network interface in case the virtual machine has more than 1 network interface. + */ + primary?: pulumi.Input; + } + + /** + * Describes a virtual machines scale sets network configuration's DNS settings. + */ + export interface VirtualMachineScaleSetNetworkConfigurationDnsSettingsArgs { + /** + * List of DNS servers IP addresses + */ + dnsServers?: pulumi.Input[]>; + } + + /** + * Describes a virtual machine scale set network profile. + */ + export interface VirtualMachineScaleSetNetworkProfileArgs { + /** + * A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. + */ + healthProbe?: pulumi.Input; + /** + * specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' + */ + networkApiVersion?: pulumi.Input; + /** + * The list of network configurations. + */ + networkInterfaceConfigurations?: pulumi.Input[]>; + } + + /** + * Describes a virtual machine scale set operating system disk. + */ + export interface VirtualMachineScaleSetOSDiskArgs { + /** + * Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage.** + */ + caching?: pulumi.Input; + /** + * Specifies how the virtual machines in the scale set should be created. The only allowed value is: **FromImage.** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. + */ + createOption: pulumi.Input; + /** + * Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).

Possible values:

**Delete** If this value is used, the OS disk is deleted when VMSS Flex VM is deleted.

**Detach** If this value is used, the OS disk is retained after VMSS Flex VM is deleted.

The default value is set to **Delete**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk. + */ + deleteOption?: pulumi.Input; + /** + * Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set. + */ + diffDiskSettings?: pulumi.Input; + /** + * Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. + */ + diskSizeGB?: pulumi.Input; + /** + * Specifies information about the unmanaged user image to base the scale set on. + */ + image?: pulumi.Input; + /** + * The managed disk parameters. + */ + managedDisk?: pulumi.Input; + /** + * The disk name. + */ + name?: pulumi.Input; + /** + * This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.** + */ + osType?: pulumi.Input; + /** + * Specifies the container urls that are used to store operating system disks for the scale set. + */ + vhdContainers?: pulumi.Input[]>; + /** + * Specifies whether writeAccelerator should be enabled or disabled on the disk. + */ + writeAcceleratorEnabled?: pulumi.Input; + } + + /** + * Describes a virtual machine scale set OS profile. + */ + export interface VirtualMachineScaleSetOSProfileArgs { + /** + * Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) + */ + adminPassword?: pulumi.Input; + /** + * Specifies the name of the administrator account.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters + */ + adminUsername?: pulumi.Input; + /** + * Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set. + */ + allowExtensionOperations?: pulumi.Input; + /** + * Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. + */ + computerNamePrefix?: pulumi.Input; + /** + * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) + */ + customData?: pulumi.Input; + /** + * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + */ + linuxConfiguration?: pulumi.Input; + /** + * Optional property which must either be set to True or omitted. + */ + requireGuestProvisionSignal?: pulumi.Input; + /** + * Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + secrets?: pulumi.Input[]>; + /** + * Specifies Windows operating system settings on the virtual machine. + */ + windowsConfiguration?: pulumi.Input; + } + + /** + * Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration + */ + export interface VirtualMachineScaleSetPublicIPAddressConfigurationArgs { + /** + * Specify what happens to the public IP when the VM is deleted + */ + deleteOption?: pulumi.Input; + /** + * The dns settings to be applied on the publicIP addresses . + */ + dnsSettings?: pulumi.Input; + /** + * The idle timeout of the public IP address. + */ + idleTimeoutInMinutes?: pulumi.Input; + /** + * The list of IP tags associated with the public IP address. + */ + ipTags?: pulumi.Input[]>; + /** + * The publicIP address configuration name. + */ + name: pulumi.Input; + /** + * Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + */ + publicIPAddressVersion?: pulumi.Input; + /** + * The PublicIPPrefix from which to allocate publicIP addresses. + */ + publicIPPrefix?: pulumi.Input; + /** + * Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. + */ + sku?: pulumi.Input; + } + + /** + * Describes a virtual machines scale sets network configuration's DNS settings. + */ + export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs { + /** + * The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created + */ + domainNameLabel: pulumi.Input; + } + + /** + * Describes a virtual machine scale set storage profile. + */ + export interface VirtualMachineScaleSetStorageProfileArgs { + /** + * Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + */ + dataDisks?: pulumi.Input[]>; + diskControllerType?: pulumi.Input[]>; + /** + * Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. + */ + imageReference?: pulumi.Input; + /** + * Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + */ + osDisk?: pulumi.Input; + } + + /** + * Describes a virtual machine scale set VM network profile. + */ + export interface VirtualMachineScaleSetVMNetworkProfileConfigurationArgs { + /** + * The list of network configurations. + */ + networkInterfaceConfigurations?: pulumi.Input[]>; + } + + /** + * Describes a virtual machine scale set virtual machine profile. + */ + export interface VirtualMachineScaleSetVMProfileArgs { + /** + * Specifies the gallery applications that should be made available to the VM/VMSS + */ + applicationProfile?: pulumi.Input; + /** + * Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01. + */ + billingProfile?: pulumi.Input; + /** + * Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01. + */ + capacityReservation?: pulumi.Input; + /** + * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. + */ + diagnosticsProfile?: pulumi.Input; + /** + * Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. + */ + evictionPolicy?: pulumi.Input; + /** + * Specifies a collection of settings for extensions installed on virtual machines in the scale set. + */ + extensionProfile?: pulumi.Input; + /** + * Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01. + */ + hardwareProfile?: pulumi.Input; + /** + * Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 + */ + licenseType?: pulumi.Input; + /** + * Specifies properties of the network interfaces of the virtual machines in the scale set. + */ + networkProfile?: pulumi.Input; + /** + * Specifies the operating system settings for the virtual machines in the scale set. + */ + osProfile?: pulumi.Input; + /** + * Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview. + */ + priority?: pulumi.Input; + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: pulumi.Input; + /** + * Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01 + */ + securityPostureReference?: pulumi.Input; + /** + * Specifies the Security related profile settings for the virtual machines in the scale set. + */ + securityProfile?: pulumi.Input; + /** + * Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01 + */ + serviceArtifactReference?: pulumi.Input; + /** + * Specifies the storage settings for the virtual machine disks. + */ + storageProfile?: pulumi.Input; + /** + * UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01. + */ + userData?: pulumi.Input; + } + + /** + * The protection policy of a virtual machine scale set VM. + */ + export interface VirtualMachineScaleSetVMProtectionPolicyArgs { + /** + * Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. + */ + protectFromScaleIn?: pulumi.Input; + /** + * Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM. + */ + protectFromScaleSetActions?: pulumi.Input; + } + + /** + * Describes Windows Remote Management configuration of the VM + */ + export interface WinRMConfigurationArgs { + /** + * The list of Windows Remote Management listeners + */ + listeners?: pulumi.Input[]>; + } + + /** + * Describes Protocol and thumbprint of Windows Remote Management listener + */ + export interface WinRMListenerArgs { + /** + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + certificateUrl?: pulumi.Input; + /** + * Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** + */ + protocol?: pulumi.Input; + } + + /** + * Specifies Windows operating system settings on the virtual machine. + */ + export interface WindowsConfigurationArgs { + /** + * Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. + */ + additionalUnattendContent?: pulumi.Input[]>; + /** + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. + */ + enableAutomaticUpdates?: pulumi.Input; + /** + * Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false. + */ + enableVMAgentPlatformUpdates?: pulumi.Input; + /** + * [Preview Feature] Specifies settings related to VM Guest Patching on Windows. + */ + patchSettings?: pulumi.Input; + /** + * Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + */ + provisionVMAgent?: pulumi.Input; + /** + * Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). + */ + timeZone?: pulumi.Input; + /** + * Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. + */ + winRM?: pulumi.Input; + } + + /** + * Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. + */ + export interface WindowsVMGuestPatchAutomaticByPlatformSettingsArgs { + /** + * Enables customer to schedule patching without accidental upgrades + */ + bypassPlatformSafetyChecksOnUserSchedule?: pulumi.Input; + /** + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + */ + rebootSetting?: pulumi.Input; + } + + export namespace v20201201 { + } + + export namespace v20210301 { + } + + export namespace v20210401 { + } + + export namespace v20210701 { + } + + export namespace v20211101 { + /** + * The API entity reference. + */ + export interface ApiEntityReferenceArgs { + /** + * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... + */ + id?: pulumi.Input; + } + + /** + * Instance view status. + */ + export interface InstanceViewStatusArgs { + /** + * The status code. + */ + code?: pulumi.Input; + /** + * The short localizable label for the status. + */ + displayStatus?: pulumi.Input; + /** + * The level code. + */ + level?: pulumi.Input; + /** + * The detailed status message, including for alerts and error messages. + */ + message?: pulumi.Input; + /** + * The time of the status. + */ + time?: pulumi.Input; + } + + /** + * The instance view of a virtual machine extension. + */ + export interface VirtualMachineExtensionInstanceViewArgs { + /** + * The virtual machine extension name. + */ + name?: pulumi.Input; + /** + * The resource status information. + */ + statuses?: pulumi.Input[]>; + /** + * The resource status information. + */ + substatuses?: pulumi.Input[]>; + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type?: pulumi.Input; + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: pulumi.Input; + } + + } + + export namespace v20220301 { + } + + export namespace v20220303 { + /** + * Information of community gallery if current gallery is shared to community + */ + export interface CommunityGalleryInfoArgs { + /** + * End-user license agreement for community gallery image. + */ + eula?: pulumi.Input; + /** + * The prefix of the gallery name that will be displayed publicly. Visible to all users. + */ + publicNamePrefix?: pulumi.Input; + /** + * Community gallery publisher support email. The email address of the publisher. Visible to all users. + */ + publisherContact?: pulumi.Input; + /** + * The link to the publisher website. Visible to all users. + */ + publisherUri?: pulumi.Input; + } + + /** + * Contains encryption settings for a data disk image. + */ + export interface DataDiskImageEncryptionArgs { + /** + * A relative URI containing the resource ID of the disk encryption set. + */ + diskEncryptionSetId?: pulumi.Input; + /** + * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. + */ + lun: pulumi.Input; + } + + /** + * Describes the disallowed disk types. + */ + export interface DisallowedArgs { + /** + * A list of disk types. + */ + diskTypes?: pulumi.Input[]>; + } + + /** + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. + */ + export interface EncryptionImagesArgs { + /** + * A list of encryption specifications for data disk images. + */ + dataDiskImages?: pulumi.Input[]>; + /** + * Contains encryption settings for an OS disk image. + */ + osDiskImage?: pulumi.Input; + } + + /** + * A custom action that can be performed with a Gallery Application Version. + */ + export interface GalleryApplicationCustomActionArgs { + /** + * Description to help the users understand what this custom action does. + */ + description?: pulumi.Input; + /** + * The name of the custom action. Must be unique within the Gallery Application Version. + */ + name: pulumi.Input; + /** + * The parameters that this custom action uses + */ + parameters?: pulumi.Input[]>; + /** + * The script to run when executing this custom action. + */ + script: pulumi.Input; + } + + /** + * The definition of a parameter that can be passed to a custom action of a Gallery Application Version. + */ + export interface GalleryApplicationCustomActionParameterArgs { + /** + * The default value of the parameter. Only applies to string types + */ + defaultValue?: pulumi.Input; + /** + * A description to help users understand what this parameter means + */ + description?: pulumi.Input; + /** + * The name of the custom action. Must be unique within the Gallery Application Version. + */ + name: pulumi.Input; + /** + * Indicates whether this parameter must be passed when running the custom action. + */ + required?: pulumi.Input; + /** + * Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob + */ + type?: pulumi.Input; + } + + /** + * The publishing profile of a gallery image version. + */ + export interface GalleryApplicationVersionPublishingProfileArgs { + /** + * Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only. + */ + advancedSettings?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * A list of custom actions that can be performed with this Gallery Application Version. + */ + customActions?: pulumi.Input[]>; + /** + * Optional. Whether or not this application reports health. + */ + enableHealthCheck?: pulumi.Input; + /** + * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. + */ + endOfLifeDate?: pulumi.Input; + /** + * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. + */ + excludeFromLatest?: pulumi.Input; + manageActions?: pulumi.Input; + /** + * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. + */ + replicaCount?: pulumi.Input; + /** + * Optional parameter which specifies the mode to be used for replication. This property is not updatable. + */ + replicationMode?: pulumi.Input; + /** + * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. + */ + settings?: pulumi.Input; + /** + * The source image from which the Image Version is going to be created. + */ + source: pulumi.Input; + /** + * Specifies the storage account type to be used to store the image. This property is not updatable. + */ + storageAccountType?: pulumi.Input; + /** + * The target extended locations where the Image Version is going to be replicated to. This property is updatable. + */ + targetExtendedLocations?: pulumi.Input[]>; + /** + * The target regions where the Image Version is going to be replicated to. This property is updatable. + */ + targetRegions?: pulumi.Input[]>; + } + + /** + * The safety profile of the Gallery Application Version. + */ + export interface GalleryApplicationVersionSafetyProfileArgs { + /** + * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. + */ + allowDeletionOfReplicatedLocations?: pulumi.Input; + } + + /** + * The source of the gallery artifact version. + */ + export interface GalleryArtifactVersionFullSourceArgs { + /** + * The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source. + */ + communityGalleryImageId?: pulumi.Input; + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. + */ + id?: pulumi.Input; + } + + /** + * This is the data disk image. + */ + export interface GalleryDataDiskImageArgs { + /** + * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' + */ + hostCaching?: pulumi.Input; + /** + * This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. + */ + lun: pulumi.Input; + /** + * The source for the disk image. + */ + source?: pulumi.Input; + } + + /** + * The source for the disk image. + */ + export interface GalleryDiskImageSourceArgs { + /** + * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource. + */ + id?: pulumi.Input; + /** + * The Storage Account Id that contains the vhd blob being used as a source for this artifact version. + */ + storageAccountId?: pulumi.Input; + /** + * The uri of the gallery artifact version source. Currently used to specify vhd/blob source. + */ + uri?: pulumi.Input; + } + + /** + * The name of the extended location. + */ + export interface GalleryExtendedLocationArgs { + name?: pulumi.Input; + /** + * It is type of the extended location. + */ + type?: pulumi.Input; + } + + /** + * A feature for gallery image. + */ + export interface GalleryImageFeatureArgs { + /** + * The name of the gallery image feature. + */ + name?: pulumi.Input; + /** + * The value of the gallery image feature. + */ + value?: pulumi.Input; + } + + /** + * This is the gallery image definition identifier. + */ + export interface GalleryImageIdentifierArgs { + /** + * The name of the gallery image definition offer. + */ + offer: pulumi.Input; + /** + * The name of the gallery image definition publisher. + */ + publisher: pulumi.Input; + /** + * The name of the gallery image definition SKU. + */ + sku: pulumi.Input; + } + + /** + * The publishing profile of a gallery image Version. + */ + export interface GalleryImageVersionPublishingProfileArgs { + /** + * The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. + */ + endOfLifeDate?: pulumi.Input; + /** + * If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. + */ + excludeFromLatest?: pulumi.Input; + /** + * The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable. + */ + replicaCount?: pulumi.Input; + /** + * Optional parameter which specifies the mode to be used for replication. This property is not updatable. + */ + replicationMode?: pulumi.Input; + /** + * Specifies the storage account type to be used to store the image. This property is not updatable. + */ + storageAccountType?: pulumi.Input; + /** + * The target extended locations where the Image Version is going to be replicated to. This property is updatable. + */ + targetExtendedLocations?: pulumi.Input[]>; + /** + * The target regions where the Image Version is going to be replicated to. This property is updatable. + */ + targetRegions?: pulumi.Input[]>; + } + + /** + * This is the safety profile of the Gallery Image Version. + */ + export interface GalleryImageVersionSafetyProfileArgs { + /** + * Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. + */ + allowDeletionOfReplicatedLocations?: pulumi.Input; + } + + /** + * This is the storage profile of a Gallery Image Version. + */ + export interface GalleryImageVersionStorageProfileArgs { + /** + * A list of data disk images. + */ + dataDiskImages?: pulumi.Input[]>; + /** + * This is the OS disk image. + */ + osDiskImage?: pulumi.Input; + /** + * The source of the gallery artifact version. + */ + source?: pulumi.Input; + } + + /** + * This is the OS disk image. + */ + export interface GalleryOSDiskImageArgs { + /** + * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' + */ + hostCaching?: pulumi.Input; + /** + * The source for the disk image. + */ + source?: pulumi.Input; + } + + export interface GalleryTargetExtendedLocationArgs { + /** + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. + */ + encryption?: pulumi.Input; + /** + * The name of the extended location. + */ + extendedLocation?: pulumi.Input; + /** + * The number of replicas of the Image Version to be created per extended location. This property is updatable. + */ + extendedLocationReplicaCount?: pulumi.Input; + /** + * The name of the region. + */ + name?: pulumi.Input; + /** + * Specifies the storage account type to be used to store the image. This property is not updatable. + */ + storageAccountType?: pulumi.Input; + } + + /** + * Describes the gallery image definition purchase plan. This is used by marketplace images. + */ + export interface ImagePurchasePlanArgs { + /** + * The plan ID. + */ + name?: pulumi.Input; + /** + * The product ID. + */ + product?: pulumi.Input; + /** + * The publisher ID. + */ + publisher?: pulumi.Input; + } + + /** + * Contains encryption settings for an OS disk image. + */ + export interface OSDiskImageEncryptionArgs { + /** + * A relative URI containing the resource ID of the disk encryption set. + */ + diskEncryptionSetId?: pulumi.Input; + /** + * This property specifies the security profile of an OS disk image. + */ + securityProfile?: pulumi.Input; + } + + /** + * Contains security profile for an OS disk image. + */ + export interface OSDiskImageSecurityProfileArgs { + /** + * confidential VM encryption types + */ + confidentialVMEncryptionType?: pulumi.Input; + /** + * secure VM disk encryption set id + */ + secureVMDiskEncryptionSetId?: pulumi.Input; + } + + /** + * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. + */ + export interface RecommendedMachineConfigurationArgs { + /** + * Describes the resource range. + */ + memory?: pulumi.Input; + /** + * Describes the resource range. + */ + vCPUs?: pulumi.Input; + } + + /** + * Describes the resource range. + */ + export interface ResourceRangeArgs { + /** + * The maximum number of the resource. + */ + max?: pulumi.Input; + /** + * The minimum number of the resource. + */ + min?: pulumi.Input; + } + + /** + * Profile for gallery sharing to subscription or tenant + */ + export interface SharingProfileArgs { + /** + * Information of community gallery if current gallery is shared to community. + */ + communityGalleryInfo?: pulumi.Input; + /** + * This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups**

**Community** + */ + permissions?: pulumi.Input; + } + + /** + * Contains information about the soft deletion policy of the gallery. + */ + export interface SoftDeletePolicyArgs { + /** + * Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time. + */ + isSoftDeleteEnabled?: pulumi.Input; + } + + /** + * Describes the target region information. + */ + export interface TargetRegionArgs { + /** + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. + */ + encryption?: pulumi.Input; + /** + * Contains the flag setting to hide an image when users specify version='latest' + */ + excludeFromLatest?: pulumi.Input; + /** + * The name of the region. + */ + name: pulumi.Input; + /** + * The number of replicas of the Image Version to be created per region. This property is updatable. + */ + regionalReplicaCount?: pulumi.Input; + /** + * Specifies the storage account type to be used to store the image. This property is not updatable. + */ + storageAccountType?: pulumi.Input; + } + + export interface UserArtifactManageArgs { + /** + * Required. The path and arguments to install the gallery application. This is limited to 4096 characters. + */ + install: pulumi.Input; + /** + * Required. The path and arguments to remove the gallery application. This is limited to 4096 characters. + */ + remove: pulumi.Input; + /** + * Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters. + */ + update?: pulumi.Input; + } + + /** + * Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. + */ + export interface UserArtifactSettingsArgs { + /** + * Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". + */ + configFileName?: pulumi.Input; + /** + * Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name. + */ + packageFileName?: pulumi.Input; + } + + /** + * The source image from which the Image Version is going to be created. + */ + export interface UserArtifactSourceArgs { + /** + * Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. + */ + defaultConfigurationLink?: pulumi.Input; + /** + * Required. The mediaLink of the artifact, must be a readable storage page blob. + */ + mediaLink: pulumi.Input; + } + + } + + export namespace v20220702 { + /** + * Indicates the error details if the background copy of a resource created via the CopyStart operation fails. + */ + export interface CopyCompletionErrorArgs { + /** + * Indicates the error code if the background copy of a resource created via the CopyStart operation fails. + */ + errorCode: pulumi.Input; + /** + * Indicates the error message if the background copy of a resource created via the CopyStart operation fails. + */ + errorMessage: pulumi.Input; + } + + /** + * Data used when creating a disk. + */ + export interface CreationDataArgs { + /** + * This enumerates the possible sources of a disk's creation. + */ + createOption: pulumi.Input; + /** + * Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. + */ + galleryImageReference?: pulumi.Input; + /** + * Disk source information for PIR or user images. + */ + imageReference?: pulumi.Input; + /** + * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. + */ + logicalSectorSize?: pulumi.Input; + /** + * Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. + */ + performancePlus?: pulumi.Input; + /** + * If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. + */ + securityDataUri?: pulumi.Input; + /** + * If createOption is Copy, this is the ARM id of the source snapshot or disk. + */ + sourceResourceId?: pulumi.Input; + /** + * If createOption is Import, this is the URI of a blob to be imported into a managed disk. + */ + sourceUri?: pulumi.Input; + /** + * Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. + */ + storageAccountId?: pulumi.Input; + /** + * If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). + */ + uploadSizeBytes?: pulumi.Input; + } + + /** + * Contains the security related information for the resource. + */ + export interface DiskSecurityProfileArgs { + /** + * ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key + */ + secureVMDiskEncryptionSetId?: pulumi.Input; + /** + * Specifies the SecurityType of the VM. Applicable for OS disks only. + */ + securityType?: pulumi.Input; + } + + /** + * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. + */ + export interface DiskSkuArgs { + /** + * The sku name. + */ + name?: pulumi.Input; + } + + /** + * Encryption at rest settings for disk or snapshot + */ + export interface EncryptionArgs { + /** + * ResourceId of the disk encryption set to use for enabling encryption at rest. + */ + diskEncryptionSetId?: pulumi.Input; + /** + * The type of key used to encrypt the data of the disk. + */ + type?: pulumi.Input; + } + + /** + * The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. + */ + export interface EncryptionSetIdentityArgs { + /** + * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Encryption settings for disk or snapshot + */ + export interface EncryptionSettingsCollectionArgs { + /** + * Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. + */ + enabled: pulumi.Input; + /** + * A collection of encryption settings, one for each disk volume. + */ + encryptionSettings?: pulumi.Input[]>; + /** + * Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. + */ + encryptionSettingsVersion?: pulumi.Input; + } + + /** + * Encryption settings for one disk volume. + */ + export interface EncryptionSettingsElementArgs { + /** + * Key Vault Secret Url and vault id of the disk encryption key + */ + diskEncryptionKey?: pulumi.Input; + /** + * Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. + */ + keyEncryptionKey?: pulumi.Input; + } + + /** + * The complex type of the extended location. + */ + export interface ExtendedLocationArgs { + /** + * The name of the extended location. + */ + name?: pulumi.Input; + /** + * The type of the extended location. + */ + type?: pulumi.Input; + } + + /** + * The source image used for creating the disk. + */ + export interface ImageDiskReferenceArgs { + /** + * A relative uri containing a community Azure Compute Gallery image reference. + */ + communityGalleryImageId?: pulumi.Input; + /** + * A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. + */ + id?: pulumi.Input; + /** + * If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. + */ + lun?: pulumi.Input; + /** + * A relative uri containing a direct shared Azure Compute Gallery image reference. + */ + sharedGalleryImageId?: pulumi.Input; + } + + /** + * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots + */ + export interface KeyForDiskEncryptionSetArgs { + /** + * Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. + */ + keyUrl: pulumi.Input; + /** + * Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription. + */ + sourceVault?: pulumi.Input; + } + + /** + * Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey + */ + export interface KeyVaultAndKeyReferenceArgs { + /** + * Url pointing to a key or secret in KeyVault + */ + keyUrl: pulumi.Input; + /** + * Resource id of the KeyVault containing the key or secret + */ + sourceVault: pulumi.Input; + } + + /** + * Key Vault Secret Url and vault id of the encryption key + */ + export interface KeyVaultAndSecretReferenceArgs { + /** + * Url pointing to a key or secret in KeyVault + */ + secretUrl: pulumi.Input; + /** + * Resource id of the KeyVault containing the key or secret + */ + sourceVault: pulumi.Input; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateArgs { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; + } + + /** + * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + */ + export interface PurchasePlanArgs { + /** + * The plan ID. + */ + name: pulumi.Input; + /** + * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. + */ + product: pulumi.Input; + /** + * The Offer Promotion Code. + */ + promotionCode?: pulumi.Input; + /** + * The publisher ID. + */ + publisher: pulumi.Input; + } + + /** + * The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot + */ + export interface SnapshotSkuArgs { + /** + * The sku name. + */ + name?: pulumi.Input; + } + + /** + * The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName} + */ + export interface SourceVaultArgs { + /** + * Resource Id + */ + id?: pulumi.Input; + } + + /** + * List of supported capabilities persisted on the disk resource for VM use. + */ + export interface SupportedCapabilitiesArgs { + /** + * True if the image from which the OS disk is created supports accelerated networking. + */ + acceleratedNetwork?: pulumi.Input; + /** + * CPU architecture supported by an OS disk. + */ + architecture?: pulumi.Input; + /** + * The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. + */ + diskControllerTypes?: pulumi.Input; + } + + } + + export namespace v20220801 { + } + + export namespace v20220904 { + /** + * Describes a cloud service extension profile. + */ + export interface CloudServiceExtensionProfileArgs { + /** + * List of extensions for the cloud service. + */ + extensions?: pulumi.Input[]>; + } + + /** + * Extension Properties. + */ + export interface CloudServiceExtensionPropertiesArgs { + /** + * Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. + */ + autoUpgradeMinorVersion?: pulumi.Input; + /** + * Tag to force apply the provided public and protected settings. + * Changing the tag value allows for re-running the extension without changing any of the public or protected settings. + * If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. + * If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and + * it is up to handler implementation whether to re-run it or not + */ + forceUpdateTag?: pulumi.Input; + /** + * Protected settings for the extension which are encrypted before sent to the role instance. + */ + protectedSettings?: any; + /** + * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. + */ + protectedSettingsFromKeyVault?: pulumi.Input; + /** + * The name of the extension handler publisher. + */ + publisher?: pulumi.Input; + /** + * Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. + */ + rolesAppliedTo?: pulumi.Input[]>; + /** + * Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension. + */ + settings?: any; + /** + * Specifies the type of the extension. + */ + type?: pulumi.Input; + /** + * Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance. + */ + typeHandlerVersion?: pulumi.Input; + } + + /** + * Network Profile for the cloud service. + */ + export interface CloudServiceNetworkProfileArgs { + /** + * List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer. + */ + loadBalancerConfigurations?: pulumi.Input[]>; + /** + * Slot type for the cloud service. + * Possible values are

**Production**

**Staging**

+ * If not specified, the default value is Production. + */ + slotType?: pulumi.Input; + /** + * The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown. + */ + swappableCloudService?: pulumi.Input; + } + + /** + * Describes the OS profile for the cloud service. + */ + export interface CloudServiceOsProfileArgs { + /** + * Specifies set of certificates that should be installed onto the role instances. + */ + secrets?: pulumi.Input[]>; + } + + /** + * Cloud service properties + */ + export interface CloudServicePropertiesArgs { + /** + * (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. + * The default value is `false`. + */ + allowModelOverride?: pulumi.Input; + /** + * Specifies the XML service configuration (.cscfg) for the cloud service. + */ + configuration?: pulumi.Input; + /** + * Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. + */ + configurationUrl?: pulumi.Input; + /** + * Describes a cloud service extension profile. + */ + extensionProfile?: pulumi.Input; + /** + * Network Profile for the cloud service. + */ + networkProfile?: pulumi.Input; + /** + * Describes the OS profile for the cloud service. + */ + osProfile?: pulumi.Input; + /** + * Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. + * This is a write-only property and is not returned in GET calls. + */ + packageUrl?: pulumi.Input; + /** + * Describes the role profile for the cloud service. + */ + roleProfile?: pulumi.Input; + /** + * (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`. + * If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff. + */ + startCloudService?: pulumi.Input; + /** + * Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. + * Possible Values are

**Auto**

**Manual**

**Simultaneous**

+ * If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. + */ + upgradeMode?: pulumi.Input; + } + + /** + * Describes the role profile for the cloud service. + */ + export interface CloudServiceRoleProfileArgs { + /** + * List of roles for the cloud service. + */ + roles?: pulumi.Input[]>; + } + + /** + * Describes the role properties. + */ + export interface CloudServiceRoleProfilePropertiesArgs { + /** + * Resource name. + */ + name?: pulumi.Input; + /** + * Describes the cloud service role sku. + */ + sku?: pulumi.Input; + } + + /** + * Describes the cloud service role sku. + */ + export interface CloudServiceRoleSkuArgs { + /** + * Specifies the number of role instances in the cloud service. + */ + capacity?: pulumi.Input; + /** + * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku. + */ + name?: pulumi.Input; + /** + * Specifies the tier of the cloud service. Possible Values are

**Standard**

**Basic** + */ + tier?: pulumi.Input; + } + + /** + * Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. + */ + export interface CloudServiceVaultAndSecretReferenceArgs { + /** + * Secret URL which contains the protected settings of the extension + */ + secretUrl?: pulumi.Input; + /** + * The ARM Resource ID of the Key Vault + */ + sourceVault?: pulumi.Input; + } + + /** + * Describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance. + */ + export interface CloudServiceVaultCertificateArgs { + /** + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. + */ + certificateUrl?: pulumi.Input; + } + + /** + * Describes a set of certificates which are all in the same Key Vault. + */ + export interface CloudServiceVaultSecretGroupArgs { + /** + * The relative URL of the Key Vault containing all of the certificates in VaultCertificates. + */ + sourceVault?: pulumi.Input; + /** + * The list of key vault references in SourceVault which contain certificates. + */ + vaultCertificates?: pulumi.Input[]>; + } + + /** + * Describes a cloud service Extension. + */ + export interface ExtensionArgs { + /** + * The name of the extension. + */ + name?: pulumi.Input; + /** + * Extension Properties. + */ + properties?: pulumi.Input; + } + + /** + * Describes the load balancer configuration. + */ + export interface LoadBalancerConfigurationArgs { + /** + * Resource Id + */ + id?: pulumi.Input; + /** + * The name of the Load balancer + */ + name: pulumi.Input; + /** + * Properties of the load balancer configuration. + */ + properties: pulumi.Input; + } + + /** + * Describes the properties of the load balancer configuration. + */ + export interface LoadBalancerConfigurationPropertiesArgs { + /** + * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. + */ + frontendIpConfigurations: pulumi.Input[]>; + } + + /** + * Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. + */ + export interface LoadBalancerFrontendIpConfigurationArgs { + /** + * The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + */ + name: pulumi.Input; + /** + * Properties of load balancer frontend ip configuration. + */ + properties: pulumi.Input; + } + + /** + * Describes a cloud service IP Configuration + */ + export interface LoadBalancerFrontendIpConfigurationPropertiesArgs { + /** + * The virtual network private IP address of the IP configuration. + */ + privateIPAddress?: pulumi.Input; + /** + * The reference to the public ip address resource. + */ + publicIPAddress?: pulumi.Input; + /** + * The reference to the virtual network subnet resource. + */ + subnet?: pulumi.Input; + } + + export interface SubResourceArgs { + /** + * Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. + * An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. + * A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. + * Example of a relative ID: $self/frontEndConfigurations/my-frontend. + */ + id?: pulumi.Input; + } + + } + + export namespace v20221101 { + /** + * The API entity reference. + */ + export interface ApiEntityReferenceArgs { + /** + * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... + */ + id?: pulumi.Input; + } + + } + + export namespace v20230102 { + /** + * Indicates the error details if the background copy of a resource created via the CopyStart operation fails. + */ + export interface CopyCompletionErrorArgs { + /** + * Indicates the error code if the background copy of a resource created via the CopyStart operation fails. + */ + errorCode: pulumi.Input; + /** + * Indicates the error message if the background copy of a resource created via the CopyStart operation fails. + */ + errorMessage: pulumi.Input; + } + + /** + * Data used when creating a disk. + */ + export interface CreationDataArgs { + /** + * This enumerates the possible sources of a disk's creation. + */ + createOption: pulumi.Input; + /** + * Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk. + */ + galleryImageReference?: pulumi.Input; + /** + * Disk source information for PIR or user images. + */ + imageReference?: pulumi.Input; + /** + * Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. + */ + logicalSectorSize?: pulumi.Input; + /** + * Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. + */ + performancePlus?: pulumi.Input; + /** + * If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. + */ + securityDataUri?: pulumi.Input; + /** + * If createOption is Copy, this is the ARM id of the source snapshot or disk. + */ + sourceResourceId?: pulumi.Input; + /** + * If createOption is Import, this is the URI of a blob to be imported into a managed disk. + */ + sourceUri?: pulumi.Input; + /** + * Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. + */ + storageAccountId?: pulumi.Input; + /** + * If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). + */ + uploadSizeBytes?: pulumi.Input; + } + + /** + * Contains the security related information for the resource. + */ + export interface DiskSecurityProfileArgs { + /** + * ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key + */ + secureVMDiskEncryptionSetId?: pulumi.Input; + /** + * Specifies the SecurityType of the VM. Applicable for OS disks only. + */ + securityType?: pulumi.Input; + } + + /** + * The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. + */ + export interface DiskSkuArgs { + /** + * The sku name. + */ + name?: pulumi.Input; + } + + /** + * Encryption at rest settings for disk or snapshot + */ + export interface EncryptionArgs { + /** + * ResourceId of the disk encryption set to use for enabling encryption at rest. + */ + diskEncryptionSetId?: pulumi.Input; + /** + * The type of key used to encrypt the data of the disk. + */ + type?: pulumi.Input; + } + + /** + * The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. + */ + export interface EncryptionSetIdentityArgs { + /** + * The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Encryption settings for disk or snapshot + */ + export interface EncryptionSettingsCollectionArgs { + /** + * Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. + */ + enabled: pulumi.Input; + /** + * A collection of encryption settings, one for each disk volume. + */ + encryptionSettings?: pulumi.Input[]>; + /** + * Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. + */ + encryptionSettingsVersion?: pulumi.Input; + } + + /** + * Encryption settings for one disk volume. + */ + export interface EncryptionSettingsElementArgs { + /** + * Key Vault Secret Url and vault id of the disk encryption key + */ + diskEncryptionKey?: pulumi.Input; + /** + * Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. + */ + keyEncryptionKey?: pulumi.Input; + } + + /** + * The complex type of the extended location. + */ + export interface ExtendedLocationArgs { + /** + * The name of the extended location. + */ + name?: pulumi.Input; + /** + * The type of the extended location. + */ + type?: pulumi.Input; + } + + /** + * The source image used for creating the disk. + */ + export interface ImageDiskReferenceArgs { + /** + * A relative uri containing a community Azure Compute Gallery image reference. + */ + communityGalleryImageId?: pulumi.Input; + /** + * A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. + */ + id?: pulumi.Input; + /** + * If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. + */ + lun?: pulumi.Input; + /** + * A relative uri containing a direct shared Azure Compute Gallery image reference. + */ + sharedGalleryImageId?: pulumi.Input; + } + + /** + * Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots */ export interface KeyForDiskEncryptionSetArgs { /** @@ -57222,6 +59476,124 @@ export namespace confidentialledger { } } + + export namespace v20230628preview { + /** + * AAD based security principal with associated Ledger RoleName + */ + export interface AADBasedSecurityPrincipalArgs { + /** + * LedgerRole associated with the Security Principal of Ledger + */ + ledgerRoleName?: pulumi.Input; + /** + * UUID/GUID based Principal Id of the Security Principal + */ + principalId?: pulumi.Input; + /** + * UUID/GUID based Tenant Id of the Security Principal + */ + tenantId?: pulumi.Input; + } + + /** + * Cert based security principal with Ledger RoleName + */ + export interface CertBasedSecurityPrincipalArgs { + /** + * Public key of the user cert (.pem or .cer) + */ + cert?: pulumi.Input; + /** + * LedgerRole associated with the Security Principal of Ledger + */ + ledgerRoleName?: pulumi.Input; + } + + /** + * Tags for Managed CCF Certificates + */ + export interface CertificateTagsArgs { + /** + * Additional tags for Managed CCF Certificates + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * Object representing DeploymentType for Managed CCF. + */ + export interface DeploymentTypeArgs { + /** + * Source Uri containing ManagedCCF code + */ + appSourceUri?: pulumi.Input; + /** + * Unique name for the Managed CCF. + */ + languageRuntime?: pulumi.Input; + } + + /** + * Additional Confidential Ledger properties. + */ + export interface LedgerPropertiesArgs { + /** + * Array of all AAD based Security Principals. + */ + aadBasedSecurityPrincipals?: pulumi.Input[]>; + /** + * Array of all cert based Security Principals. + */ + certBasedSecurityPrincipals?: pulumi.Input[]>; + /** + * Type of Confidential Ledger + */ + ledgerType?: pulumi.Input; + /** + * Object representing RunningState for Ledger. + */ + runningState?: pulumi.Input; + } + + /** + * Additional Managed CCF properties. + */ + export interface ManagedCCFPropertiesArgs { + /** + * Deployment Type of Managed CCF + */ + deploymentType?: pulumi.Input; + /** + * List of member identity certificates for Managed CCF + */ + memberIdentityCertificates?: pulumi.Input[]>; + /** + * Number of CCF nodes in the Managed CCF. + */ + nodeCount?: pulumi.Input; + /** + * Object representing RunningState for Managed CCF. + */ + runningState?: pulumi.Input; + } + + /** + * Object representing MemberIdentityCertificate for Managed CCF. + */ + export interface MemberIdentityCertificateArgs { + /** + * Member Identity Certificate + */ + certificate?: pulumi.Input; + /** + * Member Identity Certificate Encryption Key + */ + encryptionkey?: pulumi.Input; + tags?: pulumi.Input[]>; + } + + } } export namespace confluent { @@ -58400,6 +60772,287 @@ export namespace connectedvmwarevsphere { } } + + export namespace v20231001 { + /** + * The extended location. + */ + export interface ExtendedLocationArgs { + /** + * The extended location name. + */ + name?: pulumi.Input; + /** + * The extended location type. + */ + type?: pulumi.Input; + } + + /** + * Username / Password Credentials to connect to guest. + */ + export interface GuestCredentialArgs { + /** + * Gets or sets the password to connect with the guest. + */ + password?: pulumi.Input; + /** + * Gets or sets username to connect with the guest. + */ + username?: pulumi.Input; + } + + /** + * Specifies the hardware settings for the virtual machine. + */ + export interface HardwareProfileArgs { + /** + * Gets or sets memory size in MBs for the vm. + */ + memorySizeMB?: pulumi.Input; + /** + * Gets or sets the number of vCPUs for the vm. + */ + numCPUs?: pulumi.Input; + /** + * Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + */ + numCoresPerSocket?: pulumi.Input; + } + + /** + * HTTP Proxy configuration for the VM. + */ + export interface HttpProxyConfigurationArgs { + /** + * Gets or sets httpsProxy url. + */ + httpsProxy?: pulumi.Input; + } + + /** + * Specifies the vCenter infrastructure specific settings for the virtual machine. + */ + export interface InfrastructureProfileArgs { + /** + * Firmware type + */ + firmwareType?: pulumi.Input; + /** + * Gets or sets the inventory Item ID for the virtual machine. + */ + inventoryItemId?: pulumi.Input; + /** + * Gets or sets the SMBIOS UUID of the vm. + */ + smbiosUuid?: pulumi.Input; + /** + * Gets or sets the ARM Id of the template resource to deploy the virtual machine. + */ + templateId?: pulumi.Input; + /** + * Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + */ + vCenterId?: pulumi.Input; + } + + /** + * Network Interface model + */ + export interface NetworkInterfaceArgs { + /** + * Gets or sets the device key value. + */ + deviceKey?: pulumi.Input; + /** + * Gets or sets the ipsettings. + */ + ipSettings?: pulumi.Input; + /** + * Gets or sets the name of the network interface. + */ + name?: pulumi.Input; + /** + * Gets or sets the ARM Id of the network resource to connect the virtual machine. + */ + networkId?: pulumi.Input; + /** + * NIC type + */ + nicType?: pulumi.Input; + /** + * Gets or sets the power on boot. + */ + powerOnBoot?: pulumi.Input; + } + + /** + * Specifies the network interfaces of the virtual machine. + */ + export interface NetworkProfileArgs { + /** + * Gets or sets the list of network interfaces associated with the virtual machine. + */ + networkInterfaces?: pulumi.Input[]>; + } + + /** + * Defines the network interface ip settings. + */ + export interface NicIPSettingsArgs { + /** + * Gets or sets the nic allocation method. + */ + allocationMethod?: pulumi.Input; + /** + * Gets or sets the dns servers. + */ + dnsServers?: pulumi.Input[]>; + /** + * Gets or sets the gateway. + */ + gateway?: pulumi.Input[]>; + /** + * Gets or sets the ip address for the nic. + */ + ipAddress?: pulumi.Input; + /** + * Gets or sets the mask. + */ + subnetMask?: pulumi.Input; + } + + /** + * Specifies the operating system settings for the virtual machine. + */ + export interface OsProfileForVMInstanceArgs { + /** + * Sets administrator password. + */ + adminPassword?: pulumi.Input; + /** + * Gets or sets administrator username. + */ + adminUsername?: pulumi.Input; + /** + * Gets or sets computer name. + */ + computerName?: pulumi.Input; + /** + * Gets or sets the guestId. + */ + guestId?: pulumi.Input; + /** + * Gets or sets the type of the os. + */ + osType?: pulumi.Input; + } + + /** + * Specifies the compute and storage placement settings for the virtual machine. + */ + export interface PlacementProfileArgs { + /** + * Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + */ + clusterId?: pulumi.Input; + /** + * Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + */ + datastoreId?: pulumi.Input; + /** + * Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + */ + hostId?: pulumi.Input; + /** + * Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + */ + resourcePoolId?: pulumi.Input; + } + + /** + * Specifies the Security profile settings for the virtual machine. + */ + export interface SecurityProfileArgs { + /** + * Specifies the security settings like secure boot used while creating the virtual machine. + */ + uefiSettings?: pulumi.Input; + } + + /** + * Specifies the storage settings for the virtual machine disks. + */ + export interface StorageProfileArgs { + /** + * Gets or sets the list of virtual disks associated with the virtual machine. + */ + disks?: pulumi.Input[]>; + } + + /** + * Specifies the security settings like secure boot used while creating the virtual machine. + */ + export interface UefiSettingsArgs { + /** + * Specifies whether secure boot should be enabled on the virtual machine. + */ + secureBootEnabled?: pulumi.Input; + } + + /** + * Username / Password Credentials to connect to vcenter. + */ + export interface VICredentialArgs { + /** + * Gets or sets the password to connect with the vCenter. + */ + password?: pulumi.Input; + /** + * Gets or sets username to connect with the vCenter. + */ + username?: pulumi.Input; + } + + /** + * Virtual disk model + */ + export interface VirtualDiskArgs { + /** + * Gets or sets the controller id. + */ + controllerKey?: pulumi.Input; + /** + * Gets or sets the device key value. + */ + deviceKey?: pulumi.Input; + /** + * Gets or sets the device name. + */ + deviceName?: pulumi.Input; + /** + * Gets or sets the disk mode. + */ + diskMode?: pulumi.Input; + /** + * Gets or sets the disk total size. + */ + diskSizeGB?: pulumi.Input; + /** + * Gets or sets the disk backing type. + */ + diskType?: pulumi.Input; + /** + * Gets or sets the name of the virtual disk. + */ + name?: pulumi.Input; + /** + * Gets or sets the unit number of the disk on the controller. + */ + unitNumber?: pulumi.Input; + } + + } } export namespace consumption { @@ -62770,23 +65423,6 @@ export namespace containerregistry { principalId?: pulumi.Input; } - export namespace v20160627preview { - /** - * The properties of a storage account for a container registry. - */ - export interface StorageAccountPropertiesArgs { - /** - * The access key to the storage account. - */ - accessKey: pulumi.Input; - /** - * The name of the storage account. - */ - name: pulumi.Input; - } - - } - export namespace v20170301 { /** * The SKU of a container registry. @@ -62814,80 +65450,6 @@ export namespace containerregistry { } - export namespace v20180201preview { - /** - * The platform properties against which the build has to happen. - */ - export interface PlatformPropertiesArgs { - /** - * The CPU configuration in terms of number of cores required for the build. - */ - cpu?: pulumi.Input; - /** - * The operating system type required for the build. - */ - osType: pulumi.Input; - } - - /** - * The authorization properties for accessing the source code repository. - */ - export interface SourceControlAuthInfoArgs { - /** - * Time in seconds that the token remains valid - */ - expiresIn?: pulumi.Input; - /** - * The refresh token used to refresh the access token. - */ - refreshToken?: pulumi.Input; - /** - * The scope of the access token. - */ - scope?: pulumi.Input; - /** - * The access token used to access the source control provider. - */ - token: pulumi.Input; - /** - * The type of Auth token. - */ - tokenType?: pulumi.Input; - } - - /** - * The properties of the source code repository. - */ - export interface SourceRepositoryPropertiesArgs { - /** - * The value of this property indicates whether the source control commit trigger is enabled or not. - */ - isCommitTriggerEnabled?: pulumi.Input; - /** - * The full URL to the source code repository - */ - repositoryUrl: pulumi.Input; - /** - * The authorization properties for accessing the source code repository. - */ - sourceControlAuthProperties?: pulumi.Input; - /** - * The type of source control service. - */ - sourceControlType: pulumi.Input; - } - /** - * sourceRepositoryPropertiesArgsProvideDefaults sets the appropriate defaults for SourceRepositoryPropertiesArgs - */ - export function sourceRepositoryPropertiesArgsProvideDefaults(val: SourceRepositoryPropertiesArgs): SourceRepositoryPropertiesArgs { - return { - ...val, - isCommitTriggerEnabled: (val.isCommitTriggerEnabled) ?? false, - }; - } - - } - export namespace v20180901 { /** * The properties that determine the run agent configuration. @@ -68468,29 +71030,30 @@ export namespace containerservice { */ export interface UpdateGroupArgs { /** - * The name of the Fleet member group to update. - * It should match the name of an existing FleetMember group. - * A group can only appear once across all UpdateStages in the UpdateRun. + * Name of the group. + * It must match a group name of an existing fleet member. */ name: pulumi.Input; } /** - * The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. */ export interface UpdateRunStrategyArgs { /** - * The list of stages that compose this update run. + * The list of stages that compose this update run. Min size: 1. */ stages: pulumi.Input[]>; } /** - * Contains the groups to be updated by an UpdateRun. - * Update order: - * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - * - Parallel within a stage: Groups within a stage run in parallel. - * - Sequential within a group: Clusters within a group are updated sequentially. + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. */ export interface UpdateStageArgs { /** @@ -68498,8 +71061,7 @@ export namespace containerservice { */ afterStageWaitInSeconds?: pulumi.Input; /** - * A list of group names that compose the stage. - * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. */ groups?: pulumi.Input[]>; /** @@ -68564,80 +71126,848 @@ export namespace containerservice { */ export interface ContainerServiceNetworkProfileArgs { /** - * An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + * An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + */ + dnsServiceIP?: pulumi.Input; + /** + * A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. + */ + dockerBridgeCidr?: pulumi.Input; + /** + * The load balancer sku for the managed cluster. + */ + loadBalancerSku?: pulumi.Input; + /** + * Network plugin used for building Kubernetes network. + */ + networkPlugin?: pulumi.Input; + /** + * Network policy used for building Kubernetes network. + */ + networkPolicy?: pulumi.Input; + /** + * A CIDR notation IP range from which to assign pod IPs when kubenet is used. + */ + podCidr?: pulumi.Input; + /** + * A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + */ + serviceCidr?: pulumi.Input; + } + /** + * containerServiceNetworkProfileArgsProvideDefaults sets the appropriate defaults for ContainerServiceNetworkProfileArgs + */ + export function containerServiceNetworkProfileArgsProvideDefaults(val: ContainerServiceNetworkProfileArgs): ContainerServiceNetworkProfileArgs { + return { + ...val, + dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", + dockerBridgeCidr: (val.dockerBridgeCidr) ?? "172.17.0.1/16", + networkPlugin: (val.networkPlugin) ?? "kubenet", + podCidr: (val.podCidr) ?? "10.244.0.0/16", + serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", + }; + } + + /** + * SSH configuration for Linux-based VMs running on Azure. + */ + export interface ContainerServiceSshConfigurationArgs { + /** + * The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified. + */ + publicKeys: pulumi.Input[]>; + } + + /** + * Contains information about SSH certificate public key data. + */ + export interface ContainerServiceSshPublicKeyArgs { + /** + * Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + */ + keyData: pulumi.Input; + } + + /** + * AADProfile specifies attributes for Azure Active Directory integration. + */ + export interface ManagedClusterAADProfileArgs { + /** + * The client AAD application ID. + */ + clientAppID: pulumi.Input; + /** + * The server AAD application ID. + */ + serverAppID: pulumi.Input; + /** + * The server AAD application secret. + */ + serverAppSecret?: pulumi.Input; + /** + * The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + */ + tenantID?: pulumi.Input; + } + + /** + * A Kubernetes add-on profile for a managed cluster. + */ + export interface ManagedClusterAddonProfileArgs { + /** + * Key-value pairs for configuring an add-on. + */ + config?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Whether the add-on is enabled or not. + */ + enabled: pulumi.Input; + } + + /** + * Profile for the container service agent pool. + */ + export interface ManagedClusterAgentPoolProfileArgs { + /** + * (PREVIEW) Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType. + */ + availabilityZones?: pulumi.Input[]>; + /** + * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + */ + count?: pulumi.Input; + /** + * Whether to enable auto-scaler + */ + enableAutoScaling?: pulumi.Input; + /** + * Enable public IP for nodes + */ + enableNodePublicIP?: pulumi.Input; + /** + * Maximum number of nodes for auto-scaling + */ + maxCount?: pulumi.Input; + /** + * Maximum number of pods that can run on a node. + */ + maxPods?: pulumi.Input; + /** + * Minimum number of nodes for auto-scaling + */ + minCount?: pulumi.Input; + /** + * Unique name of the agent pool profile in the context of the subscription and resource group. + */ + name: pulumi.Input; + /** + * Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + */ + nodeTaints?: pulumi.Input[]>; + /** + * Version of orchestrator specified when creating the managed cluster. + */ + orchestratorVersion?: pulumi.Input; + /** + * OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + */ + osDiskSizeGB?: pulumi.Input; + /** + * OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. + */ + osType?: pulumi.Input; + /** + * ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete. + */ + scaleSetEvictionPolicy?: pulumi.Input; + /** + * ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular. + */ + scaleSetPriority?: pulumi.Input; + /** + * AgentPoolType represents types of an agent pool + */ + type?: pulumi.Input; + /** + * Size of agent VMs. + */ + vmSize?: pulumi.Input; + /** + * VNet SubnetID specifies the VNet's subnet identifier. + */ + vnetSubnetID?: pulumi.Input; + } + + /** + * Identity for the managed cluster. + */ + export interface ManagedClusterIdentityArgs { + /** + * The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead. + */ + type?: pulumi.Input; + } + + /** + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. + */ + export interface ManagedClusterServicePrincipalProfileArgs { + /** + * The ID for the service principal. + */ + clientId: pulumi.Input; + /** + * The secret password associated with the service principal in plain text. + */ + secret?: pulumi.Input; + } + + /** + * Profile for Windows VMs in the container service cluster. + */ + export interface ManagedClusterWindowsProfileArgs { + /** + * Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + */ + adminPassword?: pulumi.Input; + /** + * Specifies the name of the administrator account.

**restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + */ + adminUsername: pulumi.Input; + } + + } + + export namespace v20191027preview { + /** + * Represents the OpenShift networking configuration + */ + export interface NetworkProfileArgs { + /** + * CIDR of subnet used to create PLS needed for management of the cluster + */ + managementSubnetCidr?: pulumi.Input; + /** + * CIDR for the OpenShift Vnet. + */ + vnetCidr?: pulumi.Input; + /** + * ID of the Vnet created for OSA cluster. + */ + vnetId?: pulumi.Input; + } + /** + * networkProfileArgsProvideDefaults sets the appropriate defaults for NetworkProfileArgs + */ + export function networkProfileArgsProvideDefaults(val: NetworkProfileArgs): NetworkProfileArgs { + return { + ...val, + vnetCidr: (val.vnetCidr) ?? "10.0.0.0/8", + }; + } + + /** + * Defines further properties on the API. + */ + export interface OpenShiftAPIPropertiesArgs { + /** + * Specifies if API server is public or private. + */ + privateApiServer?: pulumi.Input; + } + + /** + * Defines the Identity provider for MS AAD. + */ + export interface OpenShiftManagedClusterAADIdentityProviderArgs { + /** + * The clientId password associated with the provider. + */ + clientId?: pulumi.Input; + /** + * The groupId to be granted cluster admin role. + */ + customerAdminGroupId?: pulumi.Input; + /** + * The kind of the provider. + * Expected value is 'AADIdentityProvider'. + */ + kind: pulumi.Input<"AADIdentityProvider">; + /** + * The secret password associated with the provider. + */ + secret?: pulumi.Input; + /** + * The tenantId associated with the provider. + */ + tenantId?: pulumi.Input; + } + + /** + * Defines the configuration of the OpenShift cluster VMs. + */ + export interface OpenShiftManagedClusterAgentPoolProfileArgs { + /** + * Number of agents (VMs) to host docker containers. + */ + count: pulumi.Input; + /** + * Unique name of the pool profile in the context of the subscription and resource group. + */ + name: pulumi.Input; + /** + * OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. + */ + osType?: pulumi.Input; + /** + * Define the role of the AgentPoolProfile. + */ + role?: pulumi.Input; + /** + * Subnet CIDR for the peering. + */ + subnetCidr?: pulumi.Input; + /** + * Size of agent VMs. + */ + vmSize: pulumi.Input; + } + /** + * openShiftManagedClusterAgentPoolProfileArgsProvideDefaults sets the appropriate defaults for OpenShiftManagedClusterAgentPoolProfileArgs + */ + export function openShiftManagedClusterAgentPoolProfileArgsProvideDefaults(val: OpenShiftManagedClusterAgentPoolProfileArgs): OpenShiftManagedClusterAgentPoolProfileArgs { + return { + ...val, + subnetCidr: (val.subnetCidr) ?? "10.0.0.0/24", + }; + } + + /** + * Defines all possible authentication profiles for the OpenShift cluster. + */ + export interface OpenShiftManagedClusterAuthProfileArgs { + /** + * Type of authentication profile to use. + */ + identityProviders?: pulumi.Input[]>; + } + + /** + * Defines the configuration of the identity providers to be used in the OpenShift cluster. + */ + export interface OpenShiftManagedClusterIdentityProviderArgs { + /** + * Name of the provider. + */ + name?: pulumi.Input; + /** + * Configuration of the provider. + */ + provider?: pulumi.Input; + } + + /** + * OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs. + */ + export interface OpenShiftManagedClusterMasterPoolProfileArgs { + /** + * Defines further properties on the API. + */ + apiProperties?: pulumi.Input; + /** + * Number of masters (VMs) to host docker containers. The default value is 3. + */ + count: pulumi.Input; + /** + * Subnet CIDR for the peering. + */ + subnetCidr?: pulumi.Input; + /** + * Size of agent VMs. + */ + vmSize: pulumi.Input; + } + + /** + * Defines the configuration for Log Analytics integration. + */ + export interface OpenShiftManagedClusterMonitorProfileArgs { + /** + * If the Log analytics integration should be turned on or off + */ + enabled?: pulumi.Input; + /** + * Azure Resource Manager Resource ID for the Log Analytics workspace to integrate with. + */ + workspaceResourceID?: pulumi.Input; + } + + /** + * Represents an OpenShift router + */ + export interface OpenShiftRouterProfileArgs { + /** + * Name of the router profile. + */ + name?: pulumi.Input; + } + + /** + * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + */ + export interface PurchasePlanArgs { + /** + * The plan ID. + */ + name?: pulumi.Input; + /** + * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. + */ + product?: pulumi.Input; + /** + * The promotion code. + */ + promotionCode?: pulumi.Input; + /** + * The plan ID. + */ + publisher?: pulumi.Input; + } + + } + + export namespace v20200601 { + /** + * Settings for upgrading an agentpool + */ + export interface AgentPoolUpgradeSettingsArgs { + /** + * Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default + */ + maxSurge?: pulumi.Input; + } + + } + + export namespace v20210201 { + /** + * Settings for upgrading an agentpool + */ + export interface AgentPoolUpgradeSettingsArgs { + /** + * Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default + */ + maxSurge?: pulumi.Input; + } + + /** + * Kubelet configurations of agent nodes. + */ + export interface KubeletConfigArgs { + /** + * Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + */ + allowedUnsafeSysctls?: pulumi.Input[]>; + /** + * The maximum number of container log files that can be present for a container. The number must be ≥ 2. + */ + containerLogMaxFiles?: pulumi.Input; + /** + * The maximum size (e.g. 10Mi) of container log file before it is rotated. + */ + containerLogMaxSizeMB?: pulumi.Input; + /** + * Enable CPU CFS quota enforcement for containers that specify CPU limits. + */ + cpuCfsQuota?: pulumi.Input; + /** + * Sets CPU CFS quota period value. + */ + cpuCfsQuotaPeriod?: pulumi.Input; + /** + * CPU Manager policy to use. + */ + cpuManagerPolicy?: pulumi.Input; + /** + * If set to true it will make the Kubelet fail to start if swap is enabled on the node. + */ + failSwapOn?: pulumi.Input; + /** + * The percent of disk usage after which image garbage collection is always run. + */ + imageGcHighThreshold?: pulumi.Input; + /** + * The percent of disk usage before which image garbage collection is never run. + */ + imageGcLowThreshold?: pulumi.Input; + /** + * The maximum number of processes per pod. + */ + podMaxPids?: pulumi.Input; + /** + * Topology Manager policy to use. + */ + topologyManagerPolicy?: pulumi.Input; + } + + /** + * OS configurations of Linux agent nodes. + */ + export interface LinuxOSConfigArgs { + /** + * SwapFileSizeMB specifies size in MB of a swap file will be created on each node. + */ + swapFileSizeMB?: pulumi.Input; + /** + * Sysctl settings for Linux agent nodes. + */ + sysctls?: pulumi.Input; + /** + * Transparent Huge Page defrag configuration. + */ + transparentHugePageDefrag?: pulumi.Input; + /** + * Transparent Huge Page enabled configuration. + */ + transparentHugePageEnabled?: pulumi.Input; + } + + /** + * Sysctl settings for Linux agent nodes. + */ + export interface SysctlConfigArgs { + /** + * Sysctl setting fs.aio-max-nr. + */ + fsAioMaxNr?: pulumi.Input; + /** + * Sysctl setting fs.file-max. + */ + fsFileMax?: pulumi.Input; + /** + * Sysctl setting fs.inotify.max_user_watches. + */ + fsInotifyMaxUserWatches?: pulumi.Input; + /** + * Sysctl setting fs.nr_open. + */ + fsNrOpen?: pulumi.Input; + /** + * Sysctl setting kernel.threads-max. + */ + kernelThreadsMax?: pulumi.Input; + /** + * Sysctl setting net.core.netdev_max_backlog. + */ + netCoreNetdevMaxBacklog?: pulumi.Input; + /** + * Sysctl setting net.core.optmem_max. + */ + netCoreOptmemMax?: pulumi.Input; + /** + * Sysctl setting net.core.rmem_default. + */ + netCoreRmemDefault?: pulumi.Input; + /** + * Sysctl setting net.core.rmem_max. + */ + netCoreRmemMax?: pulumi.Input; + /** + * Sysctl setting net.core.somaxconn. + */ + netCoreSomaxconn?: pulumi.Input; + /** + * Sysctl setting net.core.wmem_default. + */ + netCoreWmemDefault?: pulumi.Input; + /** + * Sysctl setting net.core.wmem_max. + */ + netCoreWmemMax?: pulumi.Input; + /** + * Sysctl setting net.ipv4.ip_local_port_range. + */ + netIpv4IpLocalPortRange?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh1. + */ + netIpv4NeighDefaultGcThresh1?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh2. + */ + netIpv4NeighDefaultGcThresh2?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh3. + */ + netIpv4NeighDefaultGcThresh3?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_fin_timeout. + */ + netIpv4TcpFinTimeout?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_probes. + */ + netIpv4TcpKeepaliveProbes?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_time. + */ + netIpv4TcpKeepaliveTime?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_max_syn_backlog. + */ + netIpv4TcpMaxSynBacklog?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_max_tw_buckets. + */ + netIpv4TcpMaxTwBuckets?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_tw_reuse. + */ + netIpv4TcpTwReuse?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_intvl. + */ + netIpv4TcpkeepaliveIntvl?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_buckets. + */ + netNetfilterNfConntrackBuckets?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_max. + */ + netNetfilterNfConntrackMax?: pulumi.Input; + /** + * Sysctl setting vm.max_map_count. + */ + vmMaxMapCount?: pulumi.Input; + /** + * Sysctl setting vm.swappiness. + */ + vmSwappiness?: pulumi.Input; + /** + * Sysctl setting vm.vfs_cache_pressure. + */ + vmVfsCachePressure?: pulumi.Input; + } + + } + + export namespace v20210501 { + /** + * Settings for upgrading an agentpool + */ + export interface AgentPoolUpgradeSettingsArgs { + /** + * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + */ + maxSurge?: pulumi.Input; + } + + /** + * Profile for Linux VMs in the container service cluster. + */ + export interface ContainerServiceLinuxProfileArgs { + /** + * The administrator username to use for Linux VMs. + */ + adminUsername: pulumi.Input; + /** + * The SSH configuration for Linux-based VMs running on Azure. + */ + ssh: pulumi.Input; + } + + /** + * Profile of network configuration. + */ + export interface ContainerServiceNetworkProfileArgs { + /** + * An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + */ + dnsServiceIP?: pulumi.Input; + /** + * A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. + */ + dockerBridgeCidr?: pulumi.Input; + /** + * Profile of the cluster load balancer. + */ + loadBalancerProfile?: pulumi.Input; + /** + * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + */ + loadBalancerSku?: pulumi.Input; + /** + * This cannot be specified if networkPlugin is anything other than 'azure'. + */ + networkMode?: pulumi.Input; + /** + * Network plugin used for building the Kubernetes network. + */ + networkPlugin?: pulumi.Input; + /** + * Network policy used for building the Kubernetes network. + */ + networkPolicy?: pulumi.Input; + /** + * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + */ + outboundType?: pulumi.Input; + /** + * A CIDR notation IP range from which to assign pod IPs when kubenet is used. + */ + podCidr?: pulumi.Input; + /** + * A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + */ + serviceCidr?: pulumi.Input; + } + /** + * containerServiceNetworkProfileArgsProvideDefaults sets the appropriate defaults for ContainerServiceNetworkProfileArgs + */ + export function containerServiceNetworkProfileArgsProvideDefaults(val: ContainerServiceNetworkProfileArgs): ContainerServiceNetworkProfileArgs { + return { + ...val, + dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", + dockerBridgeCidr: (val.dockerBridgeCidr) ?? "172.17.0.1/16", + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20210501.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + networkPlugin: (val.networkPlugin) ?? "kubenet", + outboundType: (val.outboundType) ?? "loadBalancer", + podCidr: (val.podCidr) ?? "10.244.0.0/16", + serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", + }; + } + + /** + * SSH configuration for Linux-based VMs running on Azure. + */ + export interface ContainerServiceSshConfigurationArgs { + /** + * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + */ + publicKeys: pulumi.Input[]>; + } + + /** + * Contains information about SSH certificate public key data. + */ + export interface ContainerServiceSshPublicKeyArgs { + /** + * Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + */ + keyData: pulumi.Input; + } + + /** + * The complex type of the extended location. + */ + export interface ExtendedLocationArgs { + /** + * The name of the extended location. + */ + name?: pulumi.Input; + /** + * The type of the extended location. + */ + type?: pulumi.Input; + } + + /** + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + */ + export interface KubeletConfigArgs { + /** + * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + */ + allowedUnsafeSysctls?: pulumi.Input[]>; + /** + * The maximum number of container log files that can be present for a container. The number must be ≥ 2. + */ + containerLogMaxFiles?: pulumi.Input; + /** + * The maximum size (e.g. 10Mi) of container log file before it is rotated. + */ + containerLogMaxSizeMB?: pulumi.Input; + /** + * The default is true. */ - dnsServiceIP?: pulumi.Input; + cpuCfsQuota?: pulumi.Input; /** - * A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. + * The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. */ - dockerBridgeCidr?: pulumi.Input; + cpuCfsQuotaPeriod?: pulumi.Input; /** - * The load balancer sku for the managed cluster. + * The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ - loadBalancerSku?: pulumi.Input; + cpuManagerPolicy?: pulumi.Input; /** - * Network plugin used for building Kubernetes network. + * If set to true it will make the Kubelet fail to start if swap is enabled on the node. */ - networkPlugin?: pulumi.Input; + failSwapOn?: pulumi.Input; /** - * Network policy used for building Kubernetes network. + * To disable image garbage collection, set to 100. The default is 85% */ - networkPolicy?: pulumi.Input; + imageGcHighThreshold?: pulumi.Input; /** - * A CIDR notation IP range from which to assign pod IPs when kubenet is used. + * This cannot be set higher than imageGcHighThreshold. The default is 80% */ - podCidr?: pulumi.Input; + imageGcLowThreshold?: pulumi.Input; /** - * A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + * The maximum number of processes per pod. */ - serviceCidr?: pulumi.Input; - } - /** - * containerServiceNetworkProfileArgsProvideDefaults sets the appropriate defaults for ContainerServiceNetworkProfileArgs - */ - export function containerServiceNetworkProfileArgsProvideDefaults(val: ContainerServiceNetworkProfileArgs): ContainerServiceNetworkProfileArgs { - return { - ...val, - dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - dockerBridgeCidr: (val.dockerBridgeCidr) ?? "172.17.0.1/16", - networkPlugin: (val.networkPlugin) ?? "kubenet", - podCidr: (val.podCidr) ?? "10.244.0.0/16", - serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", - }; - } - - /** - * SSH configuration for Linux-based VMs running on Azure. - */ - export interface ContainerServiceSshConfigurationArgs { + podMaxPids?: pulumi.Input; /** - * The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified. + * For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. */ - publicKeys: pulumi.Input[]>; + topologyManagerPolicy?: pulumi.Input; } /** - * Contains information about SSH certificate public key data. + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ - export interface ContainerServiceSshPublicKeyArgs { + export interface LinuxOSConfigArgs { /** - * Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + * The size in MB of a swap file that will be created on each node. */ - keyData: pulumi.Input; + swapFileSizeMB?: pulumi.Input; + /** + * Sysctl settings for Linux agent nodes. + */ + sysctls?: pulumi.Input; + /** + * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + */ + transparentHugePageDefrag?: pulumi.Input; + /** + * Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + */ + transparentHugePageEnabled?: pulumi.Input; } /** - * AADProfile specifies attributes for Azure Active Directory integration. + * For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ export interface ManagedClusterAADProfileArgs { + /** + * The list of AAD group object IDs that will have admin role of the cluster. + */ + adminGroupObjectIDs?: pulumi.Input[]>; /** * The client AAD application ID. */ - clientAppID: pulumi.Input; + clientAppID?: pulumi.Input; + /** + * Whether to enable Azure RBAC for Kubernetes authorization. + */ + enableAzureRBAC?: pulumi.Input; + /** + * Whether to enable managed AAD. + */ + managed?: pulumi.Input; /** * The server AAD application ID. */ - serverAppID: pulumi.Input; + serverAppID?: pulumi.Input; /** * The server AAD application secret. */ @@ -68648,6 +71978,28 @@ export namespace containerservice { tenantID?: pulumi.Input; } + /** + * Access profile for managed cluster API server. + */ + export interface ManagedClusterAPIServerAccessProfileArgs { + /** + * IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + */ + authorizedIPRanges?: pulumi.Input[]>; + /** + * For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + */ + enablePrivateCluster?: pulumi.Input; + /** + * Whether to create additional public FQDN for private cluster or not. + */ + enablePrivateClusterPublicFQDN?: pulumi.Input; + /** + * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + */ + privateDNSZone?: pulumi.Input; + } + /** * A Kubernetes add-on profile for a managed cluster. */ @@ -68667,11 +72019,11 @@ export namespace containerservice { */ export interface ManagedClusterAgentPoolProfileArgs { /** - * (PREVIEW) Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType. + * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; /** - * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: pulumi.Input; /** @@ -68679,331 +72031,872 @@ export namespace containerservice { */ enableAutoScaling?: pulumi.Input; /** - * Enable public IP for nodes + * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + */ + enableEncryptionAtHost?: pulumi.Input; + /** + * See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + */ + enableFIPS?: pulumi.Input; + /** + * Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. */ enableNodePublicIP?: pulumi.Input; /** - * Maximum number of nodes for auto-scaling + * Whether to enable UltraSSD + */ + enableUltraSSD?: pulumi.Input; + /** + * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + */ + gpuInstanceProfile?: pulumi.Input; + /** + * The Kubelet configuration on the agent pool nodes. + */ + kubeletConfig?: pulumi.Input; + /** + * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + */ + kubeletDiskType?: pulumi.Input; + /** + * The OS configuration of Linux agent nodes. + */ + linuxOSConfig?: pulumi.Input; + /** + * The maximum number of nodes for auto-scaling */ maxCount?: pulumi.Input; /** - * Maximum number of pods that can run on a node. + * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; /** - * Minimum number of nodes for auto-scaling + * The minimum number of nodes for auto-scaling */ minCount?: pulumi.Input; /** - * Unique name of the agent pool profile in the context of the subscription and resource group. + * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + */ + mode?: pulumi.Input; + /** + * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; /** - * Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + * The node labels to be persisted across all nodes in agent pool. + */ + nodeLabels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + */ + nodePublicIPPrefixID?: pulumi.Input; + /** + * The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. */ nodeTaints?: pulumi.Input[]>; /** - * Version of orchestrator specified when creating the managed cluster. + * As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** - * OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + * OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. */ osDiskSizeGB?: pulumi.Input; /** - * OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. + * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete. + * Specifies an OS SKU. This value must not be specified if OSType is Windows. */ - scaleSetEvictionPolicy?: pulumi.Input; + osSKU?: pulumi.Input; /** - * ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular. + * The operating system type. The default is Linux. */ - scaleSetPriority?: pulumi.Input; + osType?: pulumi.Input; /** - * AgentPoolType represents types of an agent pool + * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ - type?: pulumi.Input; + podSubnetID?: pulumi.Input; /** - * Size of agent VMs. + * The ID for Proximity Placement Group. */ - vmSize?: pulumi.Input; + proximityPlacementGroupID?: pulumi.Input; /** - * VNet SubnetID specifies the VNet's subnet identifier. + * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + */ + scaleSetEvictionPolicy?: pulumi.Input; + /** + * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + */ + scaleSetPriority?: pulumi.Input; + /** + * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + */ + spotMaxPrice?: pulumi.Input; + /** + * The tags to be persisted on the agent pool virtual machine scale set. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The type of Agent Pool. + */ + type?: pulumi.Input; + /** + * Settings for upgrading the agentpool + */ + upgradeSettings?: pulumi.Input; + /** + * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + */ + vmSize?: pulumi.Input; + /** + * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; } /** - * Identity for the managed cluster. + * Auto upgrade profile for a managed cluster. */ - export interface ManagedClusterIdentityArgs { + export interface ManagedClusterAutoUpgradeProfileArgs { /** - * The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead. + * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - type?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Information about a service principal identity for the cluster to use for manipulating Azure APIs. + * Cluster HTTP proxy configuration. */ - export interface ManagedClusterServicePrincipalProfileArgs { + export interface ManagedClusterHTTPProxyConfigArgs { /** - * The ID for the service principal. + * The HTTP proxy server endpoint to use. */ - clientId: pulumi.Input; + httpProxy?: pulumi.Input; /** - * The secret password associated with the service principal in plain text. + * The HTTPS proxy server endpoint to use. */ - secret?: pulumi.Input; + httpsProxy?: pulumi.Input; + /** + * The endpoints that should not go through proxy. + */ + noProxy?: pulumi.Input[]>; + /** + * Alternative CA cert to use for connecting to proxy servers. + */ + trustedCa?: pulumi.Input; } /** - * Profile for Windows VMs in the container service cluster. + * Identity for the managed cluster. */ - export interface ManagedClusterWindowsProfileArgs { + export interface ManagedClusterIdentityArgs { /** - * Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - adminPassword?: pulumi.Input; + type?: pulumi.Input; /** - * Specifies the name of the administrator account.

**restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - adminUsername: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; } - } - - export namespace v20191027preview { /** - * Represents the OpenShift networking configuration + * Profile of the managed cluster load balancer. */ - export interface NetworkProfileArgs { + export interface ManagedClusterLoadBalancerProfileArgs { /** - * CIDR of subnet used to create PLS needed for management of the cluster + * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ - managementSubnetCidr?: pulumi.Input; + allocatedOutboundPorts?: pulumi.Input; /** - * CIDR for the OpenShift Vnet. + * The effective outbound IP resources of the cluster load balancer. */ - vnetCidr?: pulumi.Input; + effectiveOutboundIPs?: pulumi.Input[]>; /** - * ID of the Vnet created for OSA cluster. + * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. */ - vnetId?: pulumi.Input; + idleTimeoutInMinutes?: pulumi.Input; + /** + * Desired managed outbound IPs for the cluster load balancer. + */ + managedOutboundIPs?: pulumi.Input; + /** + * Desired outbound IP Prefix resources for the cluster load balancer. + */ + outboundIPPrefixes?: pulumi.Input; + /** + * Desired outbound IP resources for the cluster load balancer. + */ + outboundIPs?: pulumi.Input; } /** - * networkProfileArgsProvideDefaults sets the appropriate defaults for NetworkProfileArgs + * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs */ - export function networkProfileArgsProvideDefaults(val: NetworkProfileArgs): NetworkProfileArgs { + export function managedClusterLoadBalancerProfileArgsProvideDefaults(val: ManagedClusterLoadBalancerProfileArgs): ManagedClusterLoadBalancerProfileArgs { return { ...val, - vnetCidr: (val.vnetCidr) ?? "10.0.0.0/8", + allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, + idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20210501.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } /** - * Defines further properties on the API. + * Desired managed outbound IPs for the cluster load balancer. */ - export interface OpenShiftAPIPropertiesArgs { + export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs { /** - * Specifies if API server is public or private. + * The desired number of outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. */ - privateApiServer?: pulumi.Input; + count?: pulumi.Input; + } + /** + * managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs + */ + export function managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults(val: ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs): ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs { + return { + ...val, + count: (val.count) ?? 1, + }; } /** - * Defines the Identity provider for MS AAD. + * Desired outbound IP Prefix resources for the cluster load balancer. */ - export interface OpenShiftManagedClusterAADIdentityProviderArgs { + export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs { /** - * The clientId password associated with the provider. + * A list of public IP prefix resources. */ - clientId?: pulumi.Input; + publicIPPrefixes?: pulumi.Input[]>; + } + + /** + * Desired outbound IP resources for the cluster load balancer. + */ + export interface ManagedClusterLoadBalancerProfileOutboundIPsArgs { /** - * The groupId to be granted cluster admin role. + * A list of public IP resources. */ - customerAdminGroupId?: pulumi.Input; + publicIPs?: pulumi.Input[]>; + } + + /** + * Details about the pod identity assigned to the Managed Cluster. + */ + export interface ManagedClusterPodIdentityArgs { /** - * The kind of the provider. - * Expected value is 'AADIdentityProvider'. + * The binding selector to use for the AzureIdentityBinding resource. */ - kind: pulumi.Input<"AADIdentityProvider">; + bindingSelector?: pulumi.Input; /** - * The secret password associated with the provider. + * The user assigned identity details. */ - secret?: pulumi.Input; + identity: pulumi.Input; /** - * The tenantId associated with the provider. + * The name of the pod identity. */ - tenantId?: pulumi.Input; + name: pulumi.Input; + /** + * The namespace of the pod identity. + */ + namespace: pulumi.Input; } /** - * Defines the configuration of the OpenShift cluster VMs. + * See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. */ - export interface OpenShiftManagedClusterAgentPoolProfileArgs { + export interface ManagedClusterPodIdentityExceptionArgs { /** - * Number of agents (VMs) to host docker containers. + * The name of the pod identity exception. */ - count: pulumi.Input; + name: pulumi.Input; /** - * Unique name of the pool profile in the context of the subscription and resource group. + * The namespace of the pod identity exception. */ - name: pulumi.Input; + namespace: pulumi.Input; /** - * OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. + * The pod labels to match. */ - osType?: pulumi.Input; + podLabels: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. + */ + export interface ManagedClusterPodIdentityProfileArgs { /** - * Define the role of the AgentPoolProfile. + * Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. */ - role?: pulumi.Input; + allowNetworkPluginKubenet?: pulumi.Input; /** - * Subnet CIDR for the peering. + * Whether the pod identity addon is enabled. */ - subnetCidr?: pulumi.Input; + enabled?: pulumi.Input; /** - * Size of agent VMs. + * The pod identities to use in the cluster. */ - vmSize: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; + /** + * The pod identity exceptions to allow. + */ + userAssignedIdentityExceptions?: pulumi.Input[]>; } + /** - * openShiftManagedClusterAgentPoolProfileArgsProvideDefaults sets the appropriate defaults for OpenShiftManagedClusterAgentPoolProfileArgs + * Parameters to be applied to the cluster-autoscaler when enabled */ - export function openShiftManagedClusterAgentPoolProfileArgsProvideDefaults(val: OpenShiftManagedClusterAgentPoolProfileArgs): OpenShiftManagedClusterAgentPoolProfileArgs { - return { - ...val, - subnetCidr: (val.subnetCidr) ?? "10.0.0.0/24", - }; + export interface ManagedClusterPropertiesAutoScalerProfileArgs { + /** + * Valid values are 'true' and 'false' + */ + balanceSimilarNodeGroups?: pulumi.Input; + /** + * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + */ + expander?: pulumi.Input; + /** + * The default is 10. + */ + maxEmptyBulkDelete?: pulumi.Input; + /** + * The default is 600. + */ + maxGracefulTerminationSec?: pulumi.Input; + /** + * The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + maxNodeProvisionTime?: pulumi.Input; + /** + * The default is 45. The maximum is 100 and the minimum is 0. + */ + maxTotalUnreadyPercentage?: pulumi.Input; + /** + * For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + */ + newPodScaleUpDelay?: pulumi.Input; + /** + * This must be an integer. The default is 3. + */ + okTotalUnreadyCount?: pulumi.Input; + /** + * The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownDelayAfterAdd?: pulumi.Input; + /** + * The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownDelayAfterDelete?: pulumi.Input; + /** + * The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownDelayAfterFailure?: pulumi.Input; + /** + * The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownUnneededTime?: pulumi.Input; + /** + * The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownUnreadyTime?: pulumi.Input; + /** + * The default is '0.5'. + */ + scaleDownUtilizationThreshold?: pulumi.Input; + /** + * The default is '10'. Values must be an integer number of seconds. + */ + scanInterval?: pulumi.Input; + /** + * The default is true. + */ + skipNodesWithLocalStorage?: pulumi.Input; + /** + * The default is true. + */ + skipNodesWithSystemPods?: pulumi.Input; + } + + export interface ManagedClusterPropertiesIdentityProfileArgs { + /** + * The client ID of the user assigned identity. + */ + clientId?: pulumi.Input; + /** + * The object ID of the user assigned identity. + */ + objectId?: pulumi.Input; + /** + * The resource ID of the user assigned identity. + */ + resourceId?: pulumi.Input; } /** - * Defines all possible authentication profiles for the OpenShift cluster. + * The SKU of a Managed Cluster. */ - export interface OpenShiftManagedClusterAuthProfileArgs { + export interface ManagedClusterSKUArgs { /** - * Type of authentication profile to use. + * The name of a managed cluster SKU. */ - identityProviders?: pulumi.Input[]>; + name?: pulumi.Input; + /** + * If not specified, the default is 'Free'. See [uptime SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details. + */ + tier?: pulumi.Input; } /** - * Defines the configuration of the identity providers to be used in the OpenShift cluster. + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. */ - export interface OpenShiftManagedClusterIdentityProviderArgs { + export interface ManagedClusterServicePrincipalProfileArgs { /** - * Name of the provider. + * The ID for the service principal. */ - name?: pulumi.Input; + clientId: pulumi.Input; /** - * Configuration of the provider. + * The secret password associated with the service principal in plain text. */ - provider?: pulumi.Input; + secret?: pulumi.Input; } /** - * OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs. + * Profile for Windows VMs in the managed cluster. */ - export interface OpenShiftManagedClusterMasterPoolProfileArgs { + export interface ManagedClusterWindowsProfileArgs { /** - * Defines further properties on the API. + * Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" */ - apiProperties?: pulumi.Input; + adminPassword?: pulumi.Input; /** - * Number of masters (VMs) to host docker containers. The default value is 3. + * Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters */ - count: pulumi.Input; + adminUsername: pulumi.Input; /** - * Subnet CIDR for the peering. + * For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). */ - subnetCidr?: pulumi.Input; + enableCSIProxy?: pulumi.Input; /** - * Size of agent VMs. + * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - vmSize: pulumi.Input; + licenseType?: pulumi.Input; } /** - * Defines the configuration for Log Analytics integration. + * A private link resource */ - export interface OpenShiftManagedClusterMonitorProfileArgs { + export interface PrivateLinkResourceArgs { /** - * If the Log analytics integration should be turned on or off + * The group ID of the resource. */ - enabled?: pulumi.Input; + groupId?: pulumi.Input; /** - * Azure Resource Manager Resource ID for the Log Analytics workspace to integrate with. + * The ID of the private link resource. */ - workspaceResourceID?: pulumi.Input; + id?: pulumi.Input; + /** + * The name of the private link resource. + */ + name?: pulumi.Input; + /** + * The RequiredMembers of the resource + */ + requiredMembers?: pulumi.Input[]>; + /** + * The resource type. + */ + type?: pulumi.Input; } /** - * Represents an OpenShift router + * A reference to an Azure resource. */ - export interface OpenShiftRouterProfileArgs { + export interface ResourceReferenceArgs { /** - * Name of the router profile. + * The fully qualified Azure resource id. */ - name?: pulumi.Input; + id?: pulumi.Input; } /** - * Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + * Sysctl settings for Linux agent nodes. */ - export interface PurchasePlanArgs { + export interface SysctlConfigArgs { /** - * The plan ID. + * Sysctl setting fs.aio-max-nr. */ - name?: pulumi.Input; + fsAioMaxNr?: pulumi.Input; /** - * Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. + * Sysctl setting fs.file-max. */ - product?: pulumi.Input; + fsFileMax?: pulumi.Input; /** - * The promotion code. + * Sysctl setting fs.inotify.max_user_watches. */ - promotionCode?: pulumi.Input; + fsInotifyMaxUserWatches?: pulumi.Input; /** - * The plan ID. + * Sysctl setting fs.nr_open. */ - publisher?: pulumi.Input; + fsNrOpen?: pulumi.Input; + /** + * Sysctl setting kernel.threads-max. + */ + kernelThreadsMax?: pulumi.Input; + /** + * Sysctl setting net.core.netdev_max_backlog. + */ + netCoreNetdevMaxBacklog?: pulumi.Input; + /** + * Sysctl setting net.core.optmem_max. + */ + netCoreOptmemMax?: pulumi.Input; + /** + * Sysctl setting net.core.rmem_default. + */ + netCoreRmemDefault?: pulumi.Input; + /** + * Sysctl setting net.core.rmem_max. + */ + netCoreRmemMax?: pulumi.Input; + /** + * Sysctl setting net.core.somaxconn. + */ + netCoreSomaxconn?: pulumi.Input; + /** + * Sysctl setting net.core.wmem_default. + */ + netCoreWmemDefault?: pulumi.Input; + /** + * Sysctl setting net.core.wmem_max. + */ + netCoreWmemMax?: pulumi.Input; + /** + * Sysctl setting net.ipv4.ip_local_port_range. + */ + netIpv4IpLocalPortRange?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh1. + */ + netIpv4NeighDefaultGcThresh1?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh2. + */ + netIpv4NeighDefaultGcThresh2?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh3. + */ + netIpv4NeighDefaultGcThresh3?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_fin_timeout. + */ + netIpv4TcpFinTimeout?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_probes. + */ + netIpv4TcpKeepaliveProbes?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_time. + */ + netIpv4TcpKeepaliveTime?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_max_syn_backlog. + */ + netIpv4TcpMaxSynBacklog?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_max_tw_buckets. + */ + netIpv4TcpMaxTwBuckets?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_tw_reuse. + */ + netIpv4TcpTwReuse?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_intvl. + */ + netIpv4TcpkeepaliveIntvl?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_buckets. + */ + netNetfilterNfConntrackBuckets?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_max. + */ + netNetfilterNfConntrackMax?: pulumi.Input; + /** + * Sysctl setting vm.max_map_count. + */ + vmMaxMapCount?: pulumi.Input; + /** + * Sysctl setting vm.swappiness. + */ + vmSwappiness?: pulumi.Input; + /** + * Sysctl setting vm.vfs_cache_pressure. + */ + vmVfsCachePressure?: pulumi.Input; + } + + /** + * Details about a user assigned identity. + */ + export interface UserAssignedIdentityArgs { + /** + * The client ID of the user assigned identity. + */ + clientId?: pulumi.Input; + /** + * The object ID of the user assigned identity. + */ + objectId?: pulumi.Input; + /** + * The resource ID of the user assigned identity. + */ + resourceId?: pulumi.Input; } } - export namespace v20200601 { + export namespace v20210801 { /** * Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettingsArgs { /** - * Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default + * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ maxSurge?: pulumi.Input; } + /** + * Data used when creating a target resource from a source resource. + */ + export interface CreationDataArgs { + /** + * This is the ARM ID of the source object to be used to create the target object. + */ + sourceResourceId?: pulumi.Input; + } + + /** + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + */ + export interface KubeletConfigArgs { + /** + * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + */ + allowedUnsafeSysctls?: pulumi.Input[]>; + /** + * The maximum number of container log files that can be present for a container. The number must be ≥ 2. + */ + containerLogMaxFiles?: pulumi.Input; + /** + * The maximum size (e.g. 10Mi) of container log file before it is rotated. + */ + containerLogMaxSizeMB?: pulumi.Input; + /** + * The default is true. + */ + cpuCfsQuota?: pulumi.Input; + /** + * The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + */ + cpuCfsQuotaPeriod?: pulumi.Input; + /** + * The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + */ + cpuManagerPolicy?: pulumi.Input; + /** + * If set to true it will make the Kubelet fail to start if swap is enabled on the node. + */ + failSwapOn?: pulumi.Input; + /** + * To disable image garbage collection, set to 100. The default is 85% + */ + imageGcHighThreshold?: pulumi.Input; + /** + * This cannot be set higher than imageGcHighThreshold. The default is 80% + */ + imageGcLowThreshold?: pulumi.Input; + /** + * The maximum number of processes per pod. + */ + podMaxPids?: pulumi.Input; + /** + * For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + */ + topologyManagerPolicy?: pulumi.Input; + } + + /** + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + */ + export interface LinuxOSConfigArgs { + /** + * The size in MB of a swap file that will be created on each node. + */ + swapFileSizeMB?: pulumi.Input; + /** + * Sysctl settings for Linux agent nodes. + */ + sysctls?: pulumi.Input; + /** + * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + */ + transparentHugePageDefrag?: pulumi.Input; + /** + * Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + */ + transparentHugePageEnabled?: pulumi.Input; + } + + /** + * Sysctl settings for Linux agent nodes. + */ + export interface SysctlConfigArgs { + /** + * Sysctl setting fs.aio-max-nr. + */ + fsAioMaxNr?: pulumi.Input; + /** + * Sysctl setting fs.file-max. + */ + fsFileMax?: pulumi.Input; + /** + * Sysctl setting fs.inotify.max_user_watches. + */ + fsInotifyMaxUserWatches?: pulumi.Input; + /** + * Sysctl setting fs.nr_open. + */ + fsNrOpen?: pulumi.Input; + /** + * Sysctl setting kernel.threads-max. + */ + kernelThreadsMax?: pulumi.Input; + /** + * Sysctl setting net.core.netdev_max_backlog. + */ + netCoreNetdevMaxBacklog?: pulumi.Input; + /** + * Sysctl setting net.core.optmem_max. + */ + netCoreOptmemMax?: pulumi.Input; + /** + * Sysctl setting net.core.rmem_default. + */ + netCoreRmemDefault?: pulumi.Input; + /** + * Sysctl setting net.core.rmem_max. + */ + netCoreRmemMax?: pulumi.Input; + /** + * Sysctl setting net.core.somaxconn. + */ + netCoreSomaxconn?: pulumi.Input; + /** + * Sysctl setting net.core.wmem_default. + */ + netCoreWmemDefault?: pulumi.Input; + /** + * Sysctl setting net.core.wmem_max. + */ + netCoreWmemMax?: pulumi.Input; + /** + * Sysctl setting net.ipv4.ip_local_port_range. + */ + netIpv4IpLocalPortRange?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh1. + */ + netIpv4NeighDefaultGcThresh1?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh2. + */ + netIpv4NeighDefaultGcThresh2?: pulumi.Input; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh3. + */ + netIpv4NeighDefaultGcThresh3?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_fin_timeout. + */ + netIpv4TcpFinTimeout?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_probes. + */ + netIpv4TcpKeepaliveProbes?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_time. + */ + netIpv4TcpKeepaliveTime?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_max_syn_backlog. + */ + netIpv4TcpMaxSynBacklog?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_max_tw_buckets. + */ + netIpv4TcpMaxTwBuckets?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_tw_reuse. + */ + netIpv4TcpTwReuse?: pulumi.Input; + /** + * Sysctl setting net.ipv4.tcp_keepalive_intvl. + */ + netIpv4TcpkeepaliveIntvl?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_buckets. + */ + netNetfilterNfConntrackBuckets?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_max. + */ + netNetfilterNfConntrackMax?: pulumi.Input; + /** + * Sysctl setting vm.max_map_count. + */ + vmMaxMapCount?: pulumi.Input; + /** + * Sysctl setting vm.swappiness. + */ + vmSwappiness?: pulumi.Input; + /** + * Sysctl setting vm.vfs_cache_pressure. + */ + vmVfsCachePressure?: pulumi.Input; + } + } - export namespace v20210201 { + export namespace v20220402preview { /** * Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettingsArgs { /** - * Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default + * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ maxSurge?: pulumi.Input; } /** - * Kubelet configurations of agent nodes. + * Data used when creating a target resource from a source resource. + */ + export interface CreationDataArgs { + /** + * This is the ARM ID of the source object to be used to create the target object. + */ + sourceResourceId?: pulumi.Input; + } + + /** + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface KubeletConfigArgs { /** - * Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). */ allowedUnsafeSysctls?: pulumi.Input[]>; /** @@ -69015,15 +72908,15 @@ export namespace containerservice { */ containerLogMaxSizeMB?: pulumi.Input; /** - * Enable CPU CFS quota enforcement for containers that specify CPU limits. + * The default is true. */ cpuCfsQuota?: pulumi.Input; /** - * Sets CPU CFS quota period value. + * The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. */ cpuCfsQuotaPeriod?: pulumi.Input; /** - * CPU Manager policy to use. + * The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ cpuManagerPolicy?: pulumi.Input; /** @@ -69031,11 +72924,11 @@ export namespace containerservice { */ failSwapOn?: pulumi.Input; /** - * The percent of disk usage after which image garbage collection is always run. + * To disable image garbage collection, set to 100. The default is 85% */ imageGcHighThreshold?: pulumi.Input; /** - * The percent of disk usage before which image garbage collection is never run. + * This cannot be set higher than imageGcHighThreshold. The default is 80% */ imageGcLowThreshold?: pulumi.Input; /** @@ -69043,33 +72936,43 @@ export namespace containerservice { */ podMaxPids?: pulumi.Input; /** - * Topology Manager policy to use. + * For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. */ topologyManagerPolicy?: pulumi.Input; } /** - * OS configurations of Linux agent nodes. + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface LinuxOSConfigArgs { /** - * SwapFileSizeMB specifies size in MB of a swap file will be created on each node. + * The size in MB of a swap file that will be created on each node. */ swapFileSizeMB?: pulumi.Input; /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** - * Transparent Huge Page defrag configuration. + * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ transparentHugePageDefrag?: pulumi.Input; /** - * Transparent Huge Page enabled configuration. + * Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ transparentHugePageEnabled?: pulumi.Input; } + /** + * Describes the Power State of the cluster + */ + export interface PowerStateArgs { + /** + * Tells whether the cluster is Running or Stopped + */ + code?: pulumi.Input; + } + /** * Sysctl settings for Linux agent nodes. */ @@ -69165,32 +73068,129 @@ export namespace containerservice { /** * Sysctl setting net.ipv4.tcp_keepalive_intvl. */ - netIpv4TcpkeepaliveIntvl?: pulumi.Input; + netIpv4TcpkeepaliveIntvl?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_buckets. + */ + netNetfilterNfConntrackBuckets?: pulumi.Input; + /** + * Sysctl setting net.netfilter.nf_conntrack_max. + */ + netNetfilterNfConntrackMax?: pulumi.Input; + /** + * Sysctl setting vm.max_map_count. + */ + vmMaxMapCount?: pulumi.Input; + /** + * Sysctl setting vm.swappiness. + */ + vmSwappiness?: pulumi.Input; + /** + * Sysctl setting vm.vfs_cache_pressure. + */ + vmVfsCachePressure?: pulumi.Input; + } + + } + + export namespace v20220702preview { + /** + * The FleetHubProfile configures the fleet hub. + */ + export interface FleetHubProfileArgs { + /** + * DNS prefix used to create the FQDN for the Fleet hub. + */ + dnsPrefix?: pulumi.Input; + } + + } + + export namespace v20230315preview { + /** + * The FleetHubProfile configures the fleet hub. + */ + export interface FleetHubProfileArgs { + /** + * DNS prefix used to create the FQDN for the Fleet hub. + */ + dnsPrefix?: pulumi.Input; + } + + /** + * The update to be applied to the ManagedClusters. + */ + export interface ManagedClusterUpdateArgs { + /** + * The upgrade to apply to the ManagedClusters. + */ + upgrade: pulumi.Input; + } + + /** + * The upgrade to apply to a ManagedCluster. + */ + export interface ManagedClusterUpgradeSpecArgs { + /** + * The Kubernetes version to upgrade the member clusters to. + */ + kubernetesVersion?: pulumi.Input; + /** + * The upgrade type. + * Full requires the KubernetesVersion property to be set. + * NodeImageOnly requires the KubernetesVersion property not to be set. + */ + type: pulumi.Input; + } + + /** + * A group to be updated. + */ + export interface UpdateGroupArgs { /** - * Sysctl setting net.netfilter.nf_conntrack_buckets. + * Name of the group. + * It must match a group name of an existing fleet member. */ - netNetfilterNfConntrackBuckets?: pulumi.Input; + name: pulumi.Input; + } + + /** + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. + */ + export interface UpdateRunStrategyArgs { /** - * Sysctl setting net.netfilter.nf_conntrack_max. + * The list of stages that compose this update run. Min size: 1. */ - netNetfilterNfConntrackMax?: pulumi.Input; + stages: pulumi.Input[]>; + } + + /** + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + */ + export interface UpdateStageArgs { /** - * Sysctl setting vm.max_map_count. + * The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. */ - vmMaxMapCount?: pulumi.Input; + afterStageWaitInSeconds?: pulumi.Input; /** - * Sysctl setting vm.swappiness. + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. */ - vmSwappiness?: pulumi.Input; + groups?: pulumi.Input[]>; /** - * Sysctl setting vm.vfs_cache_pressure. + * The name of the stage. Must be unique within the UpdateRun. */ - vmVfsCachePressure?: pulumi.Input; + name: pulumi.Input; } } - export namespace v20210501 { + export namespace v20230401 { /** * Settings for upgrading an agentpool */ @@ -69201,6 +73201,37 @@ export namespace containerservice { maxSurge?: pulumi.Input; } + /** + * Azure Key Vault key management service settings for the security profile. + */ + export interface AzureKeyVaultKmsArgs { + /** + * Whether to enable Azure Key Vault key management service. The default is false. + */ + enabled?: pulumi.Input; + /** + * Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + */ + keyId?: pulumi.Input; + /** + * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + */ + keyVaultNetworkAccess?: pulumi.Input; + /** + * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + */ + keyVaultResourceId?: pulumi.Input; + } + /** + * azureKeyVaultKmsArgsProvideDefaults sets the appropriate defaults for AzureKeyVaultKmsArgs + */ + export function azureKeyVaultKmsArgsProvideDefaults(val: AzureKeyVaultKmsArgs): AzureKeyVaultKmsArgs { + return { + ...val, + keyVaultNetworkAccess: (val.keyVaultNetworkAccess) ?? "Public", + }; + } + /** * Profile for Linux VMs in the container service cluster. */ @@ -69212,7 +73243,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -69224,41 +73255,61 @@ export namespace containerservice { */ dnsServiceIP?: pulumi.Input; /** - * A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. + * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - dockerBridgeCidr?: pulumi.Input; + ipFamilies?: pulumi.Input[]>; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; + loadBalancerSku?: pulumi.Input; + /** + * Profile of the cluster NAT gateway. + */ + natGatewayProfile?: pulumi.Input; + /** + * Network dataplane used in the Kubernetes cluster. + */ + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; + /** + * The mode the network plugin should use. + */ + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ podCidr?: pulumi.Input; + /** + * One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + */ + podCidrs?: pulumi.Input[]>; /** * A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ serviceCidr?: pulumi.Input; + /** + * One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + */ + serviceCidrs?: pulumi.Input[]>; } /** * containerServiceNetworkProfileArgsProvideDefaults sets the appropriate defaults for ContainerServiceNetworkProfileArgs @@ -69267,8 +73318,8 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - dockerBridgeCidr: (val.dockerBridgeCidr) ?? "172.17.0.1/16", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20210501.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230401.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230401.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), networkPlugin: (val.networkPlugin) ?? "kubenet", outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", @@ -69283,7 +73334,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -69296,6 +73347,16 @@ export namespace containerservice { keyData: pulumi.Input; } + /** + * Data used when creating a target resource from a source resource. + */ + export interface CreationDataArgs { + /** + * This is the ARM ID of the source object to be used to create the target object. + */ + sourceResourceId?: pulumi.Input; + } + /** * The complex type of the extended location. */ @@ -69307,7 +73368,7 @@ export namespace containerservice { /** * The type of the extended location. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -69371,7 +73432,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -69391,7 +73452,7 @@ export namespace containerservice { */ adminGroupObjectIDs?: pulumi.Input[]>; /** - * The client AAD application ID. + * (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. */ clientAppID?: pulumi.Input; /** @@ -69403,11 +73464,11 @@ export namespace containerservice { */ managed?: pulumi.Input; /** - * The server AAD application ID. + * (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. */ serverAppID?: pulumi.Input; /** - * The server AAD application secret. + * (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. */ serverAppSecret?: pulumi.Input; /** @@ -69424,6 +73485,10 @@ export namespace containerservice { * IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). */ authorizedIPRanges?: pulumi.Input[]>; + /** + * Whether to disable run command for the cluster or not. + */ + disableRunCommand?: pulumi.Input; /** * For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). */ @@ -69464,6 +73529,10 @@ export namespace containerservice { * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: pulumi.Input; + /** + * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + */ + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ @@ -69487,19 +73556,23 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + */ + hostGroupID?: pulumi.Input; /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -69515,7 +73588,7 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ @@ -69533,7 +73606,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -69543,31 +73616,39 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies an OS SKU. This value must not be specified if OSType is Windows. + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ podSubnetID?: pulumi.Input; + /** + * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + */ + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ proximityPlacementGroupID?: pulumi.Input; + /** + * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + */ + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; + scaleSetPriority?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -69579,11 +73660,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -69592,6 +73673,10 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; + /** + * Determines the type of workload a node can run. + */ + workloadRuntime?: pulumi.Input; } /** @@ -69601,7 +73686,45 @@ export namespace containerservice { /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; + } + + /** + * Azure Monitor addon profiles for monitoring the managed cluster. + */ + export interface ManagedClusterAzureMonitorProfileArgs { + /** + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + */ + metrics?: pulumi.Input; + } + + /** + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + */ + export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { + /** + * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + */ + metricAnnotationsAllowList?: pulumi.Input; + /** + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + */ + metricLabelsAllowlist?: pulumi.Input; + } + + /** + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + */ + export interface ManagedClusterAzureMonitorProfileMetricsArgs { + /** + * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + */ + enabled: pulumi.Input; + /** + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + */ + kubeStateMetrics?: pulumi.Input; } /** @@ -69633,7 +73756,7 @@ export namespace containerservice { /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -69651,7 +73774,11 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; + /** + * Enable multiple standard load balancers per AKS cluster or not. + */ + enableMultipleStandardLoadBalancers?: pulumi.Input; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. */ @@ -69659,15 +73786,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -69677,7 +73804,7 @@ export namespace containerservice { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20210501.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230401.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -69686,9 +73813,13 @@ export namespace containerservice { */ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs { /** - * The desired number of outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + * The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. */ count?: pulumi.Input; + /** + * The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + */ + countIPv6?: pulumi.Input; } /** * managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs @@ -69697,6 +73828,7 @@ export namespace containerservice { return { ...val, count: (val.count) ?? 1, + countIPv6: (val.countIPv6) ?? 0, }; } @@ -69707,7 +73839,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -69717,7 +73849,64 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; + } + + /** + * Profile of the managed outbound IP resources of the managed cluster. + */ + export interface ManagedClusterManagedOutboundIPProfileArgs { + /** + * The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + */ + count?: pulumi.Input; + } + /** + * managedClusterManagedOutboundIPProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterManagedOutboundIPProfileArgs + */ + export function managedClusterManagedOutboundIPProfileArgsProvideDefaults(val: ManagedClusterManagedOutboundIPProfileArgs): ManagedClusterManagedOutboundIPProfileArgs { + return { + ...val, + count: (val.count) ?? 1, + }; + } + + /** + * Profile of the managed cluster NAT gateway. + */ + export interface ManagedClusterNATGatewayProfileArgs { + /** + * The effective outbound IP resources of the cluster NAT gateway. + */ + effectiveOutboundIPs?: pulumi.Input[]>; + /** + * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + */ + idleTimeoutInMinutes?: pulumi.Input; + /** + * Profile of the managed outbound IP resources of the cluster NAT gateway. + */ + managedOutboundIPProfile?: pulumi.Input; + } + /** + * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs + */ + export function managedClusterNATGatewayProfileArgsProvideDefaults(val: ManagedClusterNATGatewayProfileArgs): ManagedClusterNATGatewayProfileArgs { + return { + ...val, + idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230401.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + }; + } + + /** + * The OIDC issuer profile of the Managed Cluster. + */ + export interface ManagedClusterOIDCIssuerProfileArgs { + /** + * Whether the OIDC issuer is enabled. + */ + enabled?: pulumi.Input; } /** @@ -69731,7 +73920,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -69775,11 +73964,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -69793,7 +73982,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -69856,21 +74045,6 @@ export namespace containerservice { skipNodesWithSystemPods?: pulumi.Input; } - export interface ManagedClusterPropertiesIdentityProfileArgs { - /** - * The client ID of the user assigned identity. - */ - clientId?: pulumi.Input; - /** - * The object ID of the user assigned identity. - */ - objectId?: pulumi.Input; - /** - * The resource ID of the user assigned identity. - */ - resourceId?: pulumi.Input; - } - /** * The SKU of a Managed Cluster. */ @@ -69878,537 +74052,282 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; - /** - * If not specified, the default is 'Free'. See [uptime SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details. - */ - tier?: pulumi.Input; - } - - /** - * Information about a service principal identity for the cluster to use for manipulating Azure APIs. - */ - export interface ManagedClusterServicePrincipalProfileArgs { - /** - * The ID for the service principal. - */ - clientId: pulumi.Input; + name?: pulumi.Input; /** - * The secret password associated with the service principal in plain text. + * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - secret?: pulumi.Input; + tier?: pulumi.Input; } /** - * Profile for Windows VMs in the managed cluster. + * Security profile for the container service cluster. */ - export interface ManagedClusterWindowsProfileArgs { + export interface ManagedClusterSecurityProfileArgs { /** - * Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - adminPassword?: pulumi.Input; + azureKeyVaultKms?: pulumi.Input; /** - * Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + * Microsoft Defender settings for the security profile. */ - adminUsername: pulumi.Input; + defender?: pulumi.Input; /** - * For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + * Image Cleaner settings for the security profile. */ - enableCSIProxy?: pulumi.Input; + imageCleaner?: pulumi.Input; /** - * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - licenseType?: pulumi.Input; + workloadIdentity?: pulumi.Input; + } + /** + * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs + */ + export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { + return { + ...val, + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230401.azureKeyVaultKmsArgsProvideDefaults) : undefined), + }; } /** - * A private link resource + * Microsoft Defender settings for the security profile. */ - export interface PrivateLinkResourceArgs { - /** - * The group ID of the resource. - */ - groupId?: pulumi.Input; - /** - * The ID of the private link resource. - */ - id?: pulumi.Input; - /** - * The name of the private link resource. - */ - name?: pulumi.Input; + export interface ManagedClusterSecurityProfileDefenderArgs { /** - * The RequiredMembers of the resource + * Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. */ - requiredMembers?: pulumi.Input[]>; + logAnalyticsWorkspaceResourceId?: pulumi.Input; /** - * The resource type. + * Microsoft Defender threat detection for Cloud settings for the security profile. */ - type?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** - * A reference to an Azure resource. + * Microsoft Defender settings for the security profile threat detection. */ - export interface ResourceReferenceArgs { + export interface ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs { /** - * The fully qualified Azure resource id. + * Whether to enable Defender threat detection */ - id?: pulumi.Input; + enabled?: pulumi.Input; } /** - * Sysctl settings for Linux agent nodes. + * Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. */ - export interface SysctlConfigArgs { - /** - * Sysctl setting fs.aio-max-nr. - */ - fsAioMaxNr?: pulumi.Input; - /** - * Sysctl setting fs.file-max. - */ - fsFileMax?: pulumi.Input; - /** - * Sysctl setting fs.inotify.max_user_watches. - */ - fsInotifyMaxUserWatches?: pulumi.Input; - /** - * Sysctl setting fs.nr_open. - */ - fsNrOpen?: pulumi.Input; - /** - * Sysctl setting kernel.threads-max. - */ - kernelThreadsMax?: pulumi.Input; - /** - * Sysctl setting net.core.netdev_max_backlog. - */ - netCoreNetdevMaxBacklog?: pulumi.Input; - /** - * Sysctl setting net.core.optmem_max. - */ - netCoreOptmemMax?: pulumi.Input; - /** - * Sysctl setting net.core.rmem_default. - */ - netCoreRmemDefault?: pulumi.Input; - /** - * Sysctl setting net.core.rmem_max. - */ - netCoreRmemMax?: pulumi.Input; - /** - * Sysctl setting net.core.somaxconn. - */ - netCoreSomaxconn?: pulumi.Input; - /** - * Sysctl setting net.core.wmem_default. - */ - netCoreWmemDefault?: pulumi.Input; - /** - * Sysctl setting net.core.wmem_max. - */ - netCoreWmemMax?: pulumi.Input; - /** - * Sysctl setting net.ipv4.ip_local_port_range. - */ - netIpv4IpLocalPortRange?: pulumi.Input; - /** - * Sysctl setting net.ipv4.neigh.default.gc_thresh1. - */ - netIpv4NeighDefaultGcThresh1?: pulumi.Input; - /** - * Sysctl setting net.ipv4.neigh.default.gc_thresh2. - */ - netIpv4NeighDefaultGcThresh2?: pulumi.Input; - /** - * Sysctl setting net.ipv4.neigh.default.gc_thresh3. - */ - netIpv4NeighDefaultGcThresh3?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_fin_timeout. - */ - netIpv4TcpFinTimeout?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_keepalive_probes. - */ - netIpv4TcpKeepaliveProbes?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_keepalive_time. - */ - netIpv4TcpKeepaliveTime?: pulumi.Input; + export interface ManagedClusterSecurityProfileImageCleanerArgs { /** - * Sysctl setting net.ipv4.tcp_max_syn_backlog. + * Whether to enable Image Cleaner on AKS cluster. */ - netIpv4TcpMaxSynBacklog?: pulumi.Input; + enabled?: pulumi.Input; /** - * Sysctl setting net.ipv4.tcp_max_tw_buckets. + * Image Cleaner scanning interval in hours. */ - netIpv4TcpMaxTwBuckets?: pulumi.Input; + intervalHours?: pulumi.Input; + } + + /** + * Workload identity settings for the security profile. + */ + export interface ManagedClusterSecurityProfileWorkloadIdentityArgs { /** - * Sysctl setting net.ipv4.tcp_tw_reuse. + * Whether to enable workload identity. */ - netIpv4TcpTwReuse?: pulumi.Input; + enabled?: pulumi.Input; + } + + /** + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. + */ + export interface ManagedClusterServicePrincipalProfileArgs { /** - * Sysctl setting net.ipv4.tcp_keepalive_intvl. + * The ID for the service principal. */ - netIpv4TcpkeepaliveIntvl?: pulumi.Input; + clientId: pulumi.Input; /** - * Sysctl setting net.netfilter.nf_conntrack_buckets. + * The secret password associated with the service principal in plain text. */ - netNetfilterNfConntrackBuckets?: pulumi.Input; + secret?: pulumi.Input; + } + + /** + * Storage profile for the container service cluster. + */ + export interface ManagedClusterStorageProfileArgs { /** - * Sysctl setting net.netfilter.nf_conntrack_max. + * AzureBlob CSI Driver settings for the storage profile. */ - netNetfilterNfConntrackMax?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** - * Sysctl setting vm.max_map_count. + * AzureDisk CSI Driver settings for the storage profile. */ - vmMaxMapCount?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** - * Sysctl setting vm.swappiness. + * AzureFile CSI Driver settings for the storage profile. */ - vmSwappiness?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** - * Sysctl setting vm.vfs_cache_pressure. + * Snapshot Controller settings for the storage profile. */ - vmVfsCachePressure?: pulumi.Input; + snapshotController?: pulumi.Input; } /** - * Details about a user assigned identity. + * AzureBlob CSI Driver settings for the storage profile. */ - export interface UserAssignedIdentityArgs { - /** - * The client ID of the user assigned identity. - */ - clientId?: pulumi.Input; - /** - * The object ID of the user assigned identity. - */ - objectId?: pulumi.Input; + export interface ManagedClusterStorageProfileBlobCSIDriverArgs { /** - * The resource ID of the user assigned identity. + * Whether to enable AzureBlob CSI Driver. The default value is false. */ - resourceId?: pulumi.Input; + enabled?: pulumi.Input; } - } - - export namespace v20210801 { /** - * Settings for upgrading an agentpool + * AzureDisk CSI Driver settings for the storage profile. */ - export interface AgentPoolUpgradeSettingsArgs { + export interface ManagedClusterStorageProfileDiskCSIDriverArgs { /** - * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + * Whether to enable AzureDisk CSI Driver. The default value is true. */ - maxSurge?: pulumi.Input; + enabled?: pulumi.Input; } /** - * Data used when creating a target resource from a source resource. + * AzureFile CSI Driver settings for the storage profile. */ - export interface CreationDataArgs { + export interface ManagedClusterStorageProfileFileCSIDriverArgs { /** - * This is the ARM ID of the source object to be used to create the target object. + * Whether to enable AzureFile CSI Driver. The default value is true. */ - sourceResourceId?: pulumi.Input; + enabled?: pulumi.Input; } /** - * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + * Snapshot Controller settings for the storage profile. */ - export interface KubeletConfigArgs { - /** - * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). - */ - allowedUnsafeSysctls?: pulumi.Input[]>; - /** - * The maximum number of container log files that can be present for a container. The number must be ≥ 2. - */ - containerLogMaxFiles?: pulumi.Input; - /** - * The maximum size (e.g. 10Mi) of container log file before it is rotated. - */ - containerLogMaxSizeMB?: pulumi.Input; - /** - * The default is true. - */ - cpuCfsQuota?: pulumi.Input; - /** - * The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. - */ - cpuCfsQuotaPeriod?: pulumi.Input; + export interface ManagedClusterStorageProfileSnapshotControllerArgs { /** - * The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + * Whether to enable Snapshot Controller. The default value is true. */ - cpuManagerPolicy?: pulumi.Input; + enabled?: pulumi.Input; + } + + /** + * Profile for Windows VMs in the managed cluster. + */ + export interface ManagedClusterWindowsProfileArgs { /** - * If set to true it will make the Kubelet fail to start if swap is enabled on the node. + * Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" */ - failSwapOn?: pulumi.Input; + adminPassword?: pulumi.Input; /** - * To disable image garbage collection, set to 100. The default is 85% + * Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters */ - imageGcHighThreshold?: pulumi.Input; + adminUsername: pulumi.Input; /** - * This cannot be set higher than imageGcHighThreshold. The default is 80% + * For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). */ - imageGcLowThreshold?: pulumi.Input; + enableCSIProxy?: pulumi.Input; /** - * The maximum number of processes per pod. + * The Windows gMSA Profile in the Managed Cluster. */ - podMaxPids?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** - * For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - topologyManagerPolicy?: pulumi.Input; + licenseType?: pulumi.Input; } /** - * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + * Workload Auto-scaler profile for the managed cluster. */ - export interface LinuxOSConfigArgs { - /** - * The size in MB of a swap file that will be created on each node. - */ - swapFileSizeMB?: pulumi.Input; - /** - * Sysctl settings for Linux agent nodes. - */ - sysctls?: pulumi.Input; - /** - * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). - */ - transparentHugePageDefrag?: pulumi.Input; + export interface ManagedClusterWorkloadAutoScalerProfileArgs { /** - * Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - transparentHugePageEnabled?: pulumi.Input; + keda?: pulumi.Input; } /** - * Sysctl settings for Linux agent nodes. + * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - export interface SysctlConfigArgs { - /** - * Sysctl setting fs.aio-max-nr. - */ - fsAioMaxNr?: pulumi.Input; - /** - * Sysctl setting fs.file-max. - */ - fsFileMax?: pulumi.Input; - /** - * Sysctl setting fs.inotify.max_user_watches. - */ - fsInotifyMaxUserWatches?: pulumi.Input; - /** - * Sysctl setting fs.nr_open. - */ - fsNrOpen?: pulumi.Input; - /** - * Sysctl setting kernel.threads-max. - */ - kernelThreadsMax?: pulumi.Input; - /** - * Sysctl setting net.core.netdev_max_backlog. - */ - netCoreNetdevMaxBacklog?: pulumi.Input; - /** - * Sysctl setting net.core.optmem_max. - */ - netCoreOptmemMax?: pulumi.Input; - /** - * Sysctl setting net.core.rmem_default. - */ - netCoreRmemDefault?: pulumi.Input; - /** - * Sysctl setting net.core.rmem_max. - */ - netCoreRmemMax?: pulumi.Input; - /** - * Sysctl setting net.core.somaxconn. - */ - netCoreSomaxconn?: pulumi.Input; - /** - * Sysctl setting net.core.wmem_default. - */ - netCoreWmemDefault?: pulumi.Input; - /** - * Sysctl setting net.core.wmem_max. - */ - netCoreWmemMax?: pulumi.Input; - /** - * Sysctl setting net.ipv4.ip_local_port_range. - */ - netIpv4IpLocalPortRange?: pulumi.Input; - /** - * Sysctl setting net.ipv4.neigh.default.gc_thresh1. - */ - netIpv4NeighDefaultGcThresh1?: pulumi.Input; - /** - * Sysctl setting net.ipv4.neigh.default.gc_thresh2. - */ - netIpv4NeighDefaultGcThresh2?: pulumi.Input; - /** - * Sysctl setting net.ipv4.neigh.default.gc_thresh3. - */ - netIpv4NeighDefaultGcThresh3?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_fin_timeout. - */ - netIpv4TcpFinTimeout?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_keepalive_probes. - */ - netIpv4TcpKeepaliveProbes?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_keepalive_time. - */ - netIpv4TcpKeepaliveTime?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_max_syn_backlog. - */ - netIpv4TcpMaxSynBacklog?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_max_tw_buckets. - */ - netIpv4TcpMaxTwBuckets?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_tw_reuse. - */ - netIpv4TcpTwReuse?: pulumi.Input; - /** - * Sysctl setting net.ipv4.tcp_keepalive_intvl. - */ - netIpv4TcpkeepaliveIntvl?: pulumi.Input; - /** - * Sysctl setting net.netfilter.nf_conntrack_buckets. - */ - netNetfilterNfConntrackBuckets?: pulumi.Input; - /** - * Sysctl setting net.netfilter.nf_conntrack_max. - */ - netNetfilterNfConntrackMax?: pulumi.Input; - /** - * Sysctl setting vm.max_map_count. - */ - vmMaxMapCount?: pulumi.Input; - /** - * Sysctl setting vm.swappiness. - */ - vmSwappiness?: pulumi.Input; + export interface ManagedClusterWorkloadAutoScalerProfileKedaArgs { /** - * Sysctl setting vm.vfs_cache_pressure. + * Whether to enable KEDA. */ - vmVfsCachePressure?: pulumi.Input; + enabled: pulumi.Input; } - } - - export namespace v20220402preview { /** - * Settings for upgrading an agentpool + * Describes the Power State of the cluster */ - export interface AgentPoolUpgradeSettingsArgs { + export interface PowerStateArgs { /** - * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + * Tells whether the cluster is Running or Stopped */ - maxSurge?: pulumi.Input; + code?: pulumi.Input; } /** - * Data used when creating a target resource from a source resource. + * Private endpoint which a connection belongs to. */ - export interface CreationDataArgs { + export interface PrivateEndpointArgs { /** - * This is the ARM ID of the source object to be used to create the target object. + * The resource ID of the private endpoint */ - sourceResourceId?: pulumi.Input; + id?: pulumi.Input; } /** - * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + * A private link resource */ - export interface KubeletConfigArgs { - /** - * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). - */ - allowedUnsafeSysctls?: pulumi.Input[]>; - /** - * The maximum number of container log files that can be present for a container. The number must be ≥ 2. - */ - containerLogMaxFiles?: pulumi.Input; - /** - * The maximum size (e.g. 10Mi) of container log file before it is rotated. - */ - containerLogMaxSizeMB?: pulumi.Input; - /** - * The default is true. - */ - cpuCfsQuota?: pulumi.Input; - /** - * The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. - */ - cpuCfsQuotaPeriod?: pulumi.Input; - /** - * The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. - */ - cpuManagerPolicy?: pulumi.Input; + export interface PrivateLinkResourceArgs { /** - * If set to true it will make the Kubelet fail to start if swap is enabled on the node. + * The group ID of the resource. */ - failSwapOn?: pulumi.Input; + groupId?: pulumi.Input; /** - * To disable image garbage collection, set to 100. The default is 85% + * The ID of the private link resource. */ - imageGcHighThreshold?: pulumi.Input; + id?: pulumi.Input; /** - * This cannot be set higher than imageGcHighThreshold. The default is 80% + * The name of the private link resource. */ - imageGcLowThreshold?: pulumi.Input; + name?: pulumi.Input; /** - * The maximum number of processes per pod. + * The RequiredMembers of the resource */ - podMaxPids?: pulumi.Input; + requiredMembers?: pulumi.Input[]>; /** - * For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + * The resource type. */ - topologyManagerPolicy?: pulumi.Input; + type?: pulumi.Input; } /** - * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + * The state of a private link service connection. */ - export interface LinuxOSConfigArgs { - /** - * The size in MB of a swap file that will be created on each node. - */ - swapFileSizeMB?: pulumi.Input; - /** - * Sysctl settings for Linux agent nodes. - */ - sysctls?: pulumi.Input; + export interface PrivateLinkServiceConnectionStateArgs { /** - * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + * The private link service connection description. */ - transparentHugePageDefrag?: pulumi.Input; + description?: pulumi.Input; /** - * Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + * The private link service connection status. */ - transparentHugePageEnabled?: pulumi.Input; + status?: pulumi.Input; } /** - * Describes the Power State of the cluster + * A reference to an Azure resource. */ - export interface PowerStateArgs { + export interface ResourceReferenceArgs { /** - * Tells whether the cluster is Running or Stopped + * The fully qualified Azure resource id. */ - code?: pulumi.Input; + id?: pulumi.Input; } /** @@ -70529,106 +74448,105 @@ export namespace containerservice { vmVfsCachePressure?: pulumi.Input; } - } - - export namespace v20220702preview { /** - * The FleetHubProfile configures the fleet hub. + * Time in a week. */ - export interface FleetHubProfileArgs { + export interface TimeInWeekArgs { /** - * DNS prefix used to create the FQDN for the Fleet hub. + * The day of the week. */ - dnsPrefix?: pulumi.Input; - } - - } - - export namespace v20230315preview { - /** - * The FleetHubProfile configures the fleet hub. - */ - export interface FleetHubProfileArgs { + day?: pulumi.Input; /** - * DNS prefix used to create the FQDN for the Fleet hub. + * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ - dnsPrefix?: pulumi.Input; + hourSlots?: pulumi.Input[]>; } /** - * The update to be applied to the ManagedClusters. + * For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. */ - export interface ManagedClusterUpdateArgs { + export interface TimeSpanArgs { /** - * The upgrade to apply to the ManagedClusters. + * The end of a time span */ - upgrade: pulumi.Input; + end?: pulumi.Input; + /** + * The start of a time span + */ + start?: pulumi.Input; } /** - * The upgrade to apply to a ManagedCluster. + * Details about a user assigned identity. */ - export interface ManagedClusterUpgradeSpecArgs { + export interface UserAssignedIdentityArgs { /** - * The Kubernetes version to upgrade the member clusters to. + * The client ID of the user assigned identity. */ - kubernetesVersion?: pulumi.Input; + clientId?: pulumi.Input; /** - * The upgrade type. - * Full requires the KubernetesVersion property to be set. - * NodeImageOnly requires the KubernetesVersion property not to be set. + * The object ID of the user assigned identity. */ - type: pulumi.Input; + objectId?: pulumi.Input; + /** + * The resource ID of the user assigned identity. + */ + resourceId?: pulumi.Input; } /** - * A group to be updated. + * Windows gMSA Profile in the managed cluster. */ - export interface UpdateGroupArgs { + export interface WindowsGmsaProfileArgs { /** - * The name of the Fleet member group to update. - * It should match the name of an existing FleetMember group. - * A group can only appear once across all UpdateStages in the UpdateRun. + * Specifies the DNS server for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. */ - name: pulumi.Input; + dnsServer?: pulumi.Input; + /** + * Specifies whether to enable Windows gMSA in the managed cluster. + */ + enabled?: pulumi.Input; + /** + * Specifies the root domain name for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + */ + rootDomainName?: pulumi.Input; } + } + + export namespace v20230502preview { /** - * The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - export interface UpdateRunStrategyArgs { + export interface AbsoluteMonthlyScheduleArgs { /** - * The list of stages that compose this update run. + * The date of the month. */ - stages: pulumi.Input[]>; + dayOfMonth: pulumi.Input; + /** + * Specifies the number of months between each set of occurrences. + */ + intervalMonths: pulumi.Input; } /** - * Contains the groups to be updated by an UpdateRun. - * Update order: - * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - * - Parallel within a stage: Groups within a stage run in parallel. - * - Sequential within a group: Clusters within a group are updated sequentially. + * Network settings of an agent pool. */ - export interface UpdateStageArgs { + export interface AgentPoolNetworkProfileArgs { /** - * The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + * The port ranges that are allowed to access. The specified ranges are allowed to overlap. */ - afterStageWaitInSeconds?: pulumi.Input; + allowedHostPorts?: pulumi.Input[]>; /** - * A list of group names that compose the stage. - * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + * The IDs of the application security groups which agent pool will associate when created. */ - groups?: pulumi.Input[]>; + applicationSecurityGroups?: pulumi.Input[]>; /** - * The name of the stage. Must be unique within the UpdateRun. + * IPTags of instance-level public IPs. */ - name: pulumi.Input; + nodePublicIPTags?: pulumi.Input[]>; } - } - - export namespace v20230401 { /** * Settings for upgrading an agentpool */ @@ -70639,6 +74557,16 @@ export namespace containerservice { maxSurge?: pulumi.Input; } + /** + * The Windows agent pool's specific profile. + */ + export interface AgentPoolWindowsProfileArgs { + /** + * The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. + */ + disableOutboundNat?: pulumi.Input; + } + /** * Azure Key Vault key management service settings for the security profile. */ @@ -70654,7 +74582,7 @@ export namespace containerservice { /** * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. */ - keyVaultNetworkAccess?: pulumi.Input; + keyVaultNetworkAccess?: pulumi.Input; /** * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. */ @@ -70670,6 +74598,16 @@ export namespace containerservice { }; } + /** + * Settings for upgrading a cluster. + */ + export interface ClusterUpgradeSettingsArgs { + /** + * Settings for overrides. + */ + overrideSettings?: pulumi.Input; + } + /** * Profile for Linux VMs in the container service cluster. */ @@ -70681,7 +74619,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -70695,43 +74633,51 @@ export namespace containerservice { /** * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - ipFamilies?: pulumi.Input[]>; + ipFamilies?: pulumi.Input[]>; + /** + * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. + */ + kubeProxyConfig?: pulumi.Input; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; + loadBalancerSku?: pulumi.Input; + /** + * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format + */ + monitoring?: pulumi.Input; /** * Profile of the cluster NAT gateway. */ - natGatewayProfile?: pulumi.Input; + natGatewayProfile?: pulumi.Input; /** * Network dataplane used in the Kubernetes cluster. */ - networkDataplane?: pulumi.Input; + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; /** - * The mode the network plugin should use. + * Network plugin mode used for building the Kubernetes network. */ - networkPluginMode?: pulumi.Input; + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ @@ -70756,15 +74702,54 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230401.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), - natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230401.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), - networkPlugin: (val.networkPlugin) ?? "kubenet", + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230502preview.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230502preview.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", }; } + /** + * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. + */ + export interface ContainerServiceNetworkProfileIpvsConfigArgs { + /** + * IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. + */ + scheduler?: pulumi.Input; + /** + * The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value. + */ + tcpFinTimeoutSeconds?: pulumi.Input; + /** + * The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value. + */ + tcpTimeoutSeconds?: pulumi.Input; + /** + * The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value. + */ + udpTimeoutSeconds?: pulumi.Input; + } + + /** + * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. + */ + export interface ContainerServiceNetworkProfileKubeProxyConfigArgs { + /** + * Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations). + */ + enabled?: pulumi.Input; + /** + * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. + */ + ipvsConfig?: pulumi.Input; + /** + * Specify which proxy mode to use ('IPTABLES' or 'IPVS') + */ + mode?: pulumi.Input; + } + /** * SSH configuration for Linux-based VMs running on Azure. */ @@ -70772,7 +74757,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -70795,6 +74780,30 @@ export namespace containerservice { sourceResourceId?: pulumi.Input; } + /** + * For schedules like: 'recur every day' or 'recur every 3 days'. + */ + export interface DailyScheduleArgs { + /** + * Specifies the number of days between each set of occurrences. + */ + intervalDays: pulumi.Input; + } + + /** + * For example, between '2022-12-23' and '2023-01-05'. + */ + export interface DateSpanArgs { + /** + * The end date of the date span. + */ + end: pulumi.Input; + /** + * The start date of the date span. + */ + start: pulumi.Input; + } + /** * The complex type of the extended location. */ @@ -70806,7 +74815,73 @@ export namespace containerservice { /** * The type of the extended location. */ - type?: pulumi.Input; + type?: pulumi.Input; + } + + /** + * The Guardrails profile. + */ + export interface GuardrailsProfileArgs { + /** + * List of namespaces excluded from guardrails checks + */ + excludedNamespaces?: pulumi.Input[]>; + /** + * The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces + */ + level: pulumi.Input; + /** + * The version of constraints to use + */ + version: pulumi.Input; + } + + /** + * Contains the IPTag associated with the object. + */ + export interface IPTagArgs { + /** + * The IP tag type. Example: RoutingPreference. + */ + ipTagType?: pulumi.Input; + /** + * The value of the IP tag associated with the public IP. Example: Internet. + */ + tag?: pulumi.Input; + } + + /** + * Istio components configuration. + */ + export interface IstioComponentsArgs { + /** + * Istio ingress gateways. + */ + ingressGateways?: pulumi.Input[]>; + } + + /** + * Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + */ + export interface IstioIngressGatewayArgs { + /** + * Whether to enable the ingress gateway. + */ + enabled: pulumi.Input; + /** + * Mode of an ingress gateway. + */ + mode: pulumi.Input; + } + + /** + * Istio service mesh configuration. + */ + export interface IstioServiceMeshArgs { + /** + * Istio components configuration. + */ + components?: pulumi.Input; } /** @@ -70870,7 +74945,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -70881,6 +74956,45 @@ export namespace containerservice { transparentHugePageEnabled?: pulumi.Input; } + /** + * Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. + */ + export interface MaintenanceWindowArgs { + /** + * Length of maintenance window range from 4 to 24 hours. + */ + durationHours: pulumi.Input; + /** + * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + */ + notAllowedDates?: pulumi.Input[]>; + /** + * Recurrence schedule for the maintenance window. + */ + schedule: pulumi.Input; + /** + * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + */ + startDate?: pulumi.Input; + /** + * The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + */ + startTime: pulumi.Input; + /** + * The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + */ + utcOffset?: pulumi.Input; + } + /** + * maintenanceWindowArgsProvideDefaults sets the appropriate defaults for MaintenanceWindowArgs + */ + export function maintenanceWindowArgsProvideDefaults(val: MaintenanceWindowArgs): MaintenanceWindowArgs { + return { + ...val, + durationHours: (val.durationHours) ?? 24, + }; + } + /** * For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ @@ -70935,10 +75049,18 @@ export namespace containerservice { * Whether to create additional public FQDN for private cluster or not. */ enablePrivateClusterPublicFQDN?: pulumi.Input; + /** + * Whether to enable apiserver vnet integration for the cluster or not. + */ + enableVnetIntegration?: pulumi.Input; /** * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. */ privateDNSZone?: pulumi.Input; + /** + * It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable apiserver vnet integration. + */ + subnetId?: pulumi.Input; } /** @@ -70963,6 +75085,10 @@ export namespace containerservice { * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; + /** + * AKS will associate the specified agent pool with the Capacity Reservation Group. + */ + capacityReservationGroupID?: pulumi.Input; /** * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -70970,11 +75096,15 @@ export namespace containerservice { /** * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ - creationData?: pulumi.Input; + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ enableAutoScaling?: pulumi.Input; + /** + * When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false. + */ + enableCustomCATrust?: pulumi.Input; /** * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption */ @@ -70994,7 +75124,7 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; /** * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ @@ -71002,15 +75132,15 @@ export namespace containerservice { /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -71019,6 +75149,10 @@ export namespace containerservice { * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; + /** + * A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). + */ + messageOfTheDay?: pulumi.Input; /** * The minimum number of nodes for auto-scaling */ @@ -71026,11 +75160,15 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; + /** + * Network-related settings of an agent pool. + */ + networkProfile?: pulumi.Input; /** * The node labels to be persisted across all nodes in agent pool. */ @@ -71044,7 +75182,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -71054,15 +75192,15 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -71070,7 +75208,7 @@ export namespace containerservice { /** * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ - powerState?: pulumi.Input; + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ @@ -71078,15 +75216,15 @@ export namespace containerservice { /** * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. */ - scaleDownMode?: pulumi.Input; + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; + scaleSetPriority?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -71098,11 +75236,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -71111,58 +75249,66 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; + /** + * The Windows agent pool's specific profile. + */ + windowsProfile?: pulumi.Input; /** * Determines the type of workload a node can run. */ - workloadRuntime?: pulumi.Input; + workloadRuntime?: pulumi.Input; } /** * Auto upgrade profile for a managed cluster. */ export interface ManagedClusterAutoUpgradeProfileArgs { + /** + * The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA. + */ + nodeOSUpgradeChannel?: pulumi.Input; /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Azure Monitor addon profiles for monitoring the managed cluster. + * Prometheus addon profile for the container service cluster */ export interface ManagedClusterAzureMonitorProfileArgs { /** - * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + * Metrics profile for the prometheus service addon */ - metrics?: pulumi.Input; + metrics?: pulumi.Input; } /** - * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + * Kube State Metrics for prometheus addon profile for the container service cluster */ export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { /** - * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric. */ metricAnnotationsAllowList?: pulumi.Input; /** - * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + * Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels metric. */ metricLabelsAllowlist?: pulumi.Input; } /** - * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + * Metrics profile for the prometheus service addon */ export interface ManagedClusterAzureMonitorProfileMetricsArgs { /** - * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + * Whether to enable the Prometheus collector */ enabled: pulumi.Input; /** - * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + * Kube State Metrics for prometheus addon profile for the container service cluster */ - kubeStateMetrics?: pulumi.Input; + kubeStateMetrics?: pulumi.Input; } /** @@ -71194,13 +75340,37 @@ export namespace containerservice { /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } + /** + * Ingress profile for the container service cluster. + */ + export interface ManagedClusterIngressProfileArgs { + /** + * Web App Routing settings for the ingress profile. + */ + webAppRouting?: pulumi.Input; + } + + /** + * Web App Routing settings for the ingress profile. + */ + export interface ManagedClusterIngressProfileWebAppRoutingArgs { + /** + * Resource ID of the DNS Zone to be associated with the web app. Used only when Web App Routing is enabled. + */ + dnsZoneResourceId?: pulumi.Input; + /** + * Whether to enable Web App Routing. + */ + enabled?: pulumi.Input; + } + /** * Profile of the managed cluster load balancer. */ @@ -71209,10 +75379,14 @@ export namespace containerservice { * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ allocatedOutboundPorts?: pulumi.Input; + /** + * The type of the managed inbound Load Balancer BackendPool. + */ + backendPoolType?: pulumi.Input; /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Enable multiple standard load balancers per AKS cluster or not. */ @@ -71224,15 +75398,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -71241,8 +75415,9 @@ export namespace containerservice { return { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, + backendPoolType: (val.backendPoolType) ?? "NodeIPConfiguration", idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230401.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230502preview.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -71277,7 +75452,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -71287,7 +75462,7 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; } /** @@ -71316,7 +75491,7 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster NAT gateway. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. */ @@ -71324,7 +75499,7 @@ export namespace containerservice { /** * Profile of the managed outbound IP resources of the cluster NAT gateway. */ - managedOutboundIPProfile?: pulumi.Input; + managedOutboundIPProfile?: pulumi.Input; } /** * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs @@ -71333,10 +75508,20 @@ export namespace containerservice { return { ...val, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, - managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230401.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230502preview.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), }; } + /** + * Node resource group lockdown profile for a managed cluster. + */ + export interface ManagedClusterNodeResourceGroupProfileArgs { + /** + * The restriction level applied to the cluster's node resource group + */ + restrictionLevel?: pulumi.Input; + } + /** * The OIDC issuer profile of the Managed Cluster. */ @@ -71358,7 +75543,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -71402,11 +75587,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -71420,7 +75605,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -71490,11 +75675,11 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; + name?: pulumi.Input; /** * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -71504,19 +75689,27 @@ export namespace containerservice { /** * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - azureKeyVaultKms?: pulumi.Input; + azureKeyVaultKms?: pulumi.Input; + /** + * A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the Custom CA Trust feature enabled. For more information see [Custom CA Trust Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority) + */ + customCATrustCertificates?: pulumi.Input[]>; /** * Microsoft Defender settings for the security profile. */ - defender?: pulumi.Input; + defender?: pulumi.Input; /** * Image Cleaner settings for the security profile. */ - imageCleaner?: pulumi.Input; + imageCleaner?: pulumi.Input; + /** + * [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile. + */ + nodeRestriction?: pulumi.Input; /** * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - workloadIdentity?: pulumi.Input; + workloadIdentity?: pulumi.Input; } /** * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs @@ -71524,7 +75717,7 @@ export namespace containerservice { export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { return { ...val, - azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230401.azureKeyVaultKmsArgsProvideDefaults) : undefined), + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230502preview.azureKeyVaultKmsArgsProvideDefaults) : undefined), }; } @@ -71539,7 +75732,7 @@ export namespace containerservice { /** * Microsoft Defender threat detection for Cloud settings for the security profile. */ - securityMonitoring?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** @@ -71566,6 +75759,16 @@ export namespace containerservice { intervalHours?: pulumi.Input; } + /** + * Node Restriction settings for the security profile. + */ + export interface ManagedClusterSecurityProfileNodeRestrictionArgs { + /** + * Whether to enable Node Restriction + */ + enabled?: pulumi.Input; + } + /** * Workload identity settings for the security profile. */ @@ -71597,19 +75800,19 @@ export namespace containerservice { /** * AzureBlob CSI Driver settings for the storage profile. */ - blobCSIDriver?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** * AzureDisk CSI Driver settings for the storage profile. */ - diskCSIDriver?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** * AzureFile CSI Driver settings for the storage profile. */ - fileCSIDriver?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** * Snapshot Controller settings for the storage profile. */ - snapshotController?: pulumi.Input; + snapshotController?: pulumi.Input; } /** @@ -71630,6 +75833,10 @@ export namespace containerservice { * Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: pulumi.Input; + /** + * The version of AzureDisk CSI Driver. The default value is v1. + */ + version?: pulumi.Input; } /** @@ -71671,11 +75878,11 @@ export namespace containerservice { /** * The Windows gMSA Profile in the Managed Cluster. */ - gmsaProfile?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - licenseType?: pulumi.Input; + licenseType?: pulumi.Input; } /** @@ -71685,7 +75892,17 @@ export namespace containerservice { /** * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - keda?: pulumi.Input; + keda?: pulumi.Input; + verticalPodAutoscaler?: pulumi.Input; + } + /** + * managedClusterWorkloadAutoScalerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileArgs + */ + export function managedClusterWorkloadAutoScalerProfileArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileArgs): ManagedClusterWorkloadAutoScalerProfileArgs { + return { + ...val, + verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230502preview.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), + }; } /** @@ -71698,6 +75915,60 @@ export namespace containerservice { enabled: pulumi.Input; } + export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { + /** + * Controls which resource value autoscaler will change. Default value is RequestsAndLimits. + */ + controlledValues: pulumi.Input; + /** + * Whether to enable VPA. Default value is false. + */ + enabled: pulumi.Input; + /** + * Each update mode level is a superset of the lower levels. Off; + } + /** + * managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs + */ + export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs): ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { + return { + ...val, + controlledValues: (val.controlledValues) ?? "RequestsAndLimits", + enabled: (val.enabled) ?? false, + updateMode: (val.updateMode) ?? "Off", + }; + } + + /** + * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format + */ + export interface NetworkMonitoringArgs { + /** + * Enable or disable the network monitoring plugin on the cluster + */ + enabled?: pulumi.Input; + } + + /** + * The port range. + */ + export interface PortRangeArgs { + /** + * The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. + */ + portEnd?: pulumi.Input; + /** + * The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. + */ + portStart?: pulumi.Input; + /** + * The network protocol of the port. + */ + protocol?: pulumi.Input; + } + /** * Describes the Power State of the cluster */ @@ -71705,7 +75976,7 @@ export namespace containerservice { /** * Tells whether the cluster is Running or Stopped */ - code?: pulumi.Input; + code?: pulumi.Input; } /** @@ -71755,7 +76026,25 @@ export namespace containerservice { /** * The private link service connection status. */ - status?: pulumi.Input; + status?: pulumi.Input; + } + + /** + * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + */ + export interface RelativeMonthlyScheduleArgs { + /** + * Specifies on which day of the week the maintenance occurs. + */ + dayOfWeek: pulumi.Input; + /** + * Specifies the number of months between each set of occurrences. + */ + intervalMonths: pulumi.Input; + /** + * Specifies on which instance of the allowed days specified in daysOfWeek the maintenance occurs. + */ + weekIndex: pulumi.Input; } /** @@ -71768,6 +76057,42 @@ export namespace containerservice { id?: pulumi.Input; } + /** + * One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. + */ + export interface ScheduleArgs { + /** + * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + */ + absoluteMonthly?: pulumi.Input; + /** + * For schedules like: 'recur every day' or 'recur every 3 days'. + */ + daily?: pulumi.Input; + /** + * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + */ + relativeMonthly?: pulumi.Input; + /** + * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + */ + weekly?: pulumi.Input; + } + + /** + * Service mesh profile for a managed cluster. + */ + export interface ServiceMeshProfileArgs { + /** + * Istio service mesh configuration. + */ + istio?: pulumi.Input; + /** + * Mode of the service mesh. + */ + mode: pulumi.Input; + } + /** * Sysctl settings for Linux agent nodes. */ @@ -71893,7 +76218,7 @@ export namespace containerservice { /** * The day of the week. */ - day?: pulumi.Input; + day?: pulumi.Input; /** * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ @@ -71914,6 +76239,20 @@ export namespace containerservice { start?: pulumi.Input; } + /** + * Settings for overrides when upgrading a cluster. + */ + export interface UpgradeOverrideSettingsArgs { + /** + * List of upgrade overrides when upgrading a cluster's control plane. + */ + controlPlaneOverrides?: pulumi.Input[]>; + /** + * Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + */ + until?: pulumi.Input; + } + /** * Details about a user assigned identity. */ @@ -71932,6 +76271,20 @@ export namespace containerservice { resourceId?: pulumi.Input; } + /** + * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + */ + export interface WeeklyScheduleArgs { + /** + * Specifies on which day of the week the maintenance occurs. + */ + dayOfWeek: pulumi.Input; + /** + * Specifies the number of weeks between each set of occurrences. + */ + intervalWeeks: pulumi.Input; + } + /** * Windows gMSA Profile in the managed cluster. */ @@ -71952,7 +76305,7 @@ export namespace containerservice { } - export namespace v20230502preview { + export namespace v20230601 { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ @@ -71967,42 +76320,18 @@ export namespace containerservice { intervalMonths: pulumi.Input; } - /** - * Network settings of an agent pool. - */ - export interface AgentPoolNetworkProfileArgs { - /** - * The port ranges that are allowed to access. The specified ranges are allowed to overlap. - */ - allowedHostPorts?: pulumi.Input[]>; - /** - * The IDs of the application security groups which agent pool will associate when created. - */ - applicationSecurityGroups?: pulumi.Input[]>; - /** - * IPTags of instance-level public IPs. - */ - nodePublicIPTags?: pulumi.Input[]>; - } - /** * Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettingsArgs { /** - * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + * The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. */ - maxSurge?: pulumi.Input; - } - - /** - * The Windows agent pool's specific profile. - */ - export interface AgentPoolWindowsProfileArgs { + drainTimeoutInMinutes?: pulumi.Input; /** - * The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. + * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ - disableOutboundNat?: pulumi.Input; + maxSurge?: pulumi.Input; } /** @@ -72020,7 +76349,7 @@ export namespace containerservice { /** * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. */ - keyVaultNetworkAccess?: pulumi.Input; + keyVaultNetworkAccess?: pulumi.Input; /** * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. */ @@ -72036,16 +76365,6 @@ export namespace containerservice { }; } - /** - * Settings for upgrading a cluster. - */ - export interface ClusterUpgradeSettingsArgs { - /** - * Settings for overrides. - */ - overrideSettings?: pulumi.Input; - } - /** * Profile for Linux VMs in the container service cluster. */ @@ -72057,7 +76376,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -72071,51 +76390,43 @@ export namespace containerservice { /** * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - ipFamilies?: pulumi.Input[]>; - /** - * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. - */ - kubeProxyConfig?: pulumi.Input; + ipFamilies?: pulumi.Input[]>; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; - /** - * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format - */ - monitoring?: pulumi.Input; + loadBalancerSku?: pulumi.Input; /** * Profile of the cluster NAT gateway. */ - natGatewayProfile?: pulumi.Input; + natGatewayProfile?: pulumi.Input; /** * Network dataplane used in the Kubernetes cluster. */ - networkDataplane?: pulumi.Input; + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; /** - * Network plugin mode used for building the Kubernetes network. + * The mode the network plugin should use. */ - networkPluginMode?: pulumi.Input; + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ @@ -72140,54 +76451,15 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230502preview.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), - natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230502preview.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230601.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230601.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), + networkPlugin: (val.networkPlugin) ?? "kubenet", outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", }; } - /** - * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. - */ - export interface ContainerServiceNetworkProfileIpvsConfigArgs { - /** - * IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. - */ - scheduler?: pulumi.Input; - /** - * The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value. - */ - tcpFinTimeoutSeconds?: pulumi.Input; - /** - * The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value. - */ - tcpTimeoutSeconds?: pulumi.Input; - /** - * The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value. - */ - udpTimeoutSeconds?: pulumi.Input; - } - - /** - * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. - */ - export interface ContainerServiceNetworkProfileKubeProxyConfigArgs { - /** - * Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations). - */ - enabled?: pulumi.Input; - /** - * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. - */ - ipvsConfig?: pulumi.Input; - /** - * Specify which proxy mode to use ('IPTABLES' or 'IPVS') - */ - mode?: pulumi.Input; - } - /** * SSH configuration for Linux-based VMs running on Azure. */ @@ -72195,7 +76467,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -72243,83 +76515,39 @@ export namespace containerservice { } /** - * The complex type of the extended location. - */ - export interface ExtendedLocationArgs { - /** - * The name of the extended location. - */ - name?: pulumi.Input; - /** - * The type of the extended location. - */ - type?: pulumi.Input; - } - - /** - * The Guardrails profile. + * Delegated resource properties - internal use only. */ - export interface GuardrailsProfileArgs { - /** - * List of namespaces excluded from guardrails checks - */ - excludedNamespaces?: pulumi.Input[]>; - /** - * The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces - */ - level: pulumi.Input; + export interface DelegatedResourceArgs { /** - * The version of constraints to use + * The source resource location - internal use only. */ - version: pulumi.Input; - } - - /** - * Contains the IPTag associated with the object. - */ - export interface IPTagArgs { + location?: pulumi.Input; /** - * The IP tag type. Example: RoutingPreference. + * The delegation id of the referral delegation (optional) - internal use only. */ - ipTagType?: pulumi.Input; + referralResource?: pulumi.Input; /** - * The value of the IP tag associated with the public IP. Example: Internet. + * The ARM resource id of the delegated resource - internal use only. */ - tag?: pulumi.Input; - } - - /** - * Istio components configuration. - */ - export interface IstioComponentsArgs { + resourceId?: pulumi.Input; /** - * Istio ingress gateways. + * The tenant id of the delegated resource - internal use only. */ - ingressGateways?: pulumi.Input[]>; + tenantId?: pulumi.Input; } /** - * Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + * The complex type of the extended location. */ - export interface IstioIngressGatewayArgs { - /** - * Whether to enable the ingress gateway. - */ - enabled: pulumi.Input; + export interface ExtendedLocationArgs { /** - * Mode of an ingress gateway. + * The name of the extended location. */ - mode: pulumi.Input; - } - - /** - * Istio service mesh configuration. - */ - export interface IstioServiceMeshArgs { + name?: pulumi.Input; /** - * Istio components configuration. + * The type of the extended location. */ - components?: pulumi.Input; + type?: pulumi.Input; } /** @@ -72383,7 +76611,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -72405,11 +76633,11 @@ export namespace containerservice { /** * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. */ - notAllowedDates?: pulumi.Input[]>; + notAllowedDates?: pulumi.Input[]>; /** * Recurrence schedule for the maintenance window. */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. */ @@ -72487,18 +76715,10 @@ export namespace containerservice { * Whether to create additional public FQDN for private cluster or not. */ enablePrivateClusterPublicFQDN?: pulumi.Input; - /** - * Whether to enable apiserver vnet integration for the cluster or not. - */ - enableVnetIntegration?: pulumi.Input; /** * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. */ privateDNSZone?: pulumi.Input; - /** - * It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable apiserver vnet integration. - */ - subnetId?: pulumi.Input; } /** @@ -72523,10 +76743,6 @@ export namespace containerservice { * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; - /** - * AKS will associate the specified agent pool with the Capacity Reservation Group. - */ - capacityReservationGroupID?: pulumi.Input; /** * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -72534,15 +76750,11 @@ export namespace containerservice { /** * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ - creationData?: pulumi.Input; + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ enableAutoScaling?: pulumi.Input; - /** - * When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false. - */ - enableCustomCATrust?: pulumi.Input; /** * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption */ @@ -72562,7 +76774,7 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; /** * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ @@ -72570,15 +76782,15 @@ export namespace containerservice { /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -72587,10 +76799,6 @@ export namespace containerservice { * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; - /** - * A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). - */ - messageOfTheDay?: pulumi.Input; /** * The minimum number of nodes for auto-scaling */ @@ -72598,15 +76806,11 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; - /** - * Network-related settings of an agent pool. - */ - networkProfile?: pulumi.Input; /** * The node labels to be persisted across all nodes in agent pool. */ @@ -72620,7 +76824,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -72630,15 +76834,15 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -72646,7 +76850,7 @@ export namespace containerservice { /** * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ - powerState?: pulumi.Input; + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ @@ -72654,15 +76858,15 @@ export namespace containerservice { /** * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. */ - scaleDownMode?: pulumi.Input; + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; + scaleSetPriority?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -72674,11 +76878,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -72687,14 +76891,10 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; - /** - * The Windows agent pool's specific profile. - */ - windowsProfile?: pulumi.Input; /** * Determines the type of workload a node can run. */ - workloadRuntime?: pulumi.Input; + workloadRuntime?: pulumi.Input; } /** @@ -72702,51 +76902,51 @@ export namespace containerservice { */ export interface ManagedClusterAutoUpgradeProfileArgs { /** - * The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA. + * Manner in which the OS on your nodes is updated. The default is NodeImage. */ - nodeOSUpgradeChannel?: pulumi.Input; + nodeOSUpgradeChannel?: pulumi.Input; /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Prometheus addon profile for the container service cluster + * Azure Monitor addon profiles for monitoring the managed cluster. */ export interface ManagedClusterAzureMonitorProfileArgs { /** - * Metrics profile for the prometheus service addon + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ - metrics?: pulumi.Input; + metrics?: pulumi.Input; } /** - * Kube State Metrics for prometheus addon profile for the container service cluster + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { /** - * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric. + * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. */ metricAnnotationsAllowList?: pulumi.Input; /** - * Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels metric. + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. */ metricLabelsAllowlist?: pulumi.Input; } /** - * Metrics profile for the prometheus service addon + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ export interface ManagedClusterAzureMonitorProfileMetricsArgs { /** - * Whether to enable the Prometheus collector + * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. */ enabled: pulumi.Input; /** - * Kube State Metrics for prometheus addon profile for the container service cluster + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ - kubeStateMetrics?: pulumi.Input; + kubeStateMetrics?: pulumi.Input; } /** @@ -72775,40 +76975,20 @@ export namespace containerservice { * Identity for the managed cluster. */ export interface ManagedClusterIdentityArgs { + /** + * The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + */ + delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } - /** - * Ingress profile for the container service cluster. - */ - export interface ManagedClusterIngressProfileArgs { - /** - * Web App Routing settings for the ingress profile. - */ - webAppRouting?: pulumi.Input; - } - - /** - * Web App Routing settings for the ingress profile. - */ - export interface ManagedClusterIngressProfileWebAppRoutingArgs { - /** - * Resource ID of the DNS Zone to be associated with the web app. Used only when Web App Routing is enabled. - */ - dnsZoneResourceId?: pulumi.Input; - /** - * Whether to enable Web App Routing. - */ - enabled?: pulumi.Input; - } - /** * Profile of the managed cluster load balancer. */ @@ -72817,14 +76997,10 @@ export namespace containerservice { * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ allocatedOutboundPorts?: pulumi.Input; - /** - * The type of the managed inbound Load Balancer BackendPool. - */ - backendPoolType?: pulumi.Input; /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Enable multiple standard load balancers per AKS cluster or not. */ @@ -72836,15 +77012,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -72853,9 +77029,8 @@ export namespace containerservice { return { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, - backendPoolType: (val.backendPoolType) ?? "NodeIPConfiguration", idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230502preview.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230601.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -72890,7 +77065,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -72900,7 +77075,7 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; } /** @@ -72929,7 +77104,7 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster NAT gateway. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. */ @@ -72937,7 +77112,7 @@ export namespace containerservice { /** * Profile of the managed outbound IP resources of the cluster NAT gateway. */ - managedOutboundIPProfile?: pulumi.Input; + managedOutboundIPProfile?: pulumi.Input; } /** * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs @@ -72946,20 +77121,10 @@ export namespace containerservice { return { ...val, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, - managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230502preview.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230601.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), }; } - /** - * Node resource group lockdown profile for a managed cluster. - */ - export interface ManagedClusterNodeResourceGroupProfileArgs { - /** - * The restriction level applied to the cluster's node resource group - */ - restrictionLevel?: pulumi.Input; - } - /** * The OIDC issuer profile of the Managed Cluster. */ @@ -72981,7 +77146,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -73025,11 +77190,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -73043,7 +77208,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -73113,11 +77278,11 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; + name?: pulumi.Input; /** * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -73127,27 +77292,19 @@ export namespace containerservice { /** * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - azureKeyVaultKms?: pulumi.Input; - /** - * A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the Custom CA Trust feature enabled. For more information see [Custom CA Trust Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority) - */ - customCATrustCertificates?: pulumi.Input[]>; + azureKeyVaultKms?: pulumi.Input; /** * Microsoft Defender settings for the security profile. */ - defender?: pulumi.Input; + defender?: pulumi.Input; /** * Image Cleaner settings for the security profile. */ - imageCleaner?: pulumi.Input; - /** - * [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile. - */ - nodeRestriction?: pulumi.Input; + imageCleaner?: pulumi.Input; /** * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - workloadIdentity?: pulumi.Input; + workloadIdentity?: pulumi.Input; } /** * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs @@ -73155,7 +77312,7 @@ export namespace containerservice { export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { return { ...val, - azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230502preview.azureKeyVaultKmsArgsProvideDefaults) : undefined), + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230601.azureKeyVaultKmsArgsProvideDefaults) : undefined), }; } @@ -73170,7 +77327,7 @@ export namespace containerservice { /** * Microsoft Defender threat detection for Cloud settings for the security profile. */ - securityMonitoring?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** @@ -73197,16 +77354,6 @@ export namespace containerservice { intervalHours?: pulumi.Input; } - /** - * Node Restriction settings for the security profile. - */ - export interface ManagedClusterSecurityProfileNodeRestrictionArgs { - /** - * Whether to enable Node Restriction - */ - enabled?: pulumi.Input; - } - /** * Workload identity settings for the security profile. */ @@ -73238,19 +77385,19 @@ export namespace containerservice { /** * AzureBlob CSI Driver settings for the storage profile. */ - blobCSIDriver?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** * AzureDisk CSI Driver settings for the storage profile. */ - diskCSIDriver?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** * AzureFile CSI Driver settings for the storage profile. */ - fileCSIDriver?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** * Snapshot Controller settings for the storage profile. */ - snapshotController?: pulumi.Input; + snapshotController?: pulumi.Input; } /** @@ -73271,10 +77418,6 @@ export namespace containerservice { * Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: pulumi.Input; - /** - * The version of AzureDisk CSI Driver. The default value is v1. - */ - version?: pulumi.Input; } /** @@ -73316,11 +77459,11 @@ export namespace containerservice { /** * The Windows gMSA Profile in the Managed Cluster. */ - gmsaProfile?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - licenseType?: pulumi.Input; + licenseType?: pulumi.Input; } /** @@ -73330,8 +77473,11 @@ export namespace containerservice { /** * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - keda?: pulumi.Input; - verticalPodAutoscaler?: pulumi.Input; + keda?: pulumi.Input; + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ + verticalPodAutoscaler?: pulumi.Input; } /** * managedClusterWorkloadAutoScalerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileArgs @@ -73339,7 +77485,7 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileArgs): ManagedClusterWorkloadAutoScalerProfileArgs { return { ...val, - verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230502preview.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), + verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230601.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), }; } @@ -73353,19 +77499,14 @@ export namespace containerservice { enabled: pulumi.Input; } + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { - /** - * Controls which resource value autoscaler will change. Default value is RequestsAndLimits. - */ - controlledValues: pulumi.Input; /** * Whether to enable VPA. Default value is false. */ enabled: pulumi.Input; - /** - * Each update mode level is a superset of the lower levels. Off; } /** * managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs @@ -73373,40 +77514,10 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs): ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { return { ...val, - controlledValues: (val.controlledValues) ?? "RequestsAndLimits", enabled: (val.enabled) ?? false, - updateMode: (val.updateMode) ?? "Off", }; } - /** - * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format - */ - export interface NetworkMonitoringArgs { - /** - * Enable or disable the network monitoring plugin on the cluster - */ - enabled?: pulumi.Input; - } - - /** - * The port range. - */ - export interface PortRangeArgs { - /** - * The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. - */ - portEnd?: pulumi.Input; - /** - * The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. - */ - portStart?: pulumi.Input; - /** - * The network protocol of the port. - */ - protocol?: pulumi.Input; - } - /** * Describes the Power State of the cluster */ @@ -73414,7 +77525,7 @@ export namespace containerservice { /** * Tells whether the cluster is Running or Stopped */ - code?: pulumi.Input; + code?: pulumi.Input; } /** @@ -73464,7 +77575,7 @@ export namespace containerservice { /** * The private link service connection status. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -73474,15 +77585,15 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of months between each set of occurrences. */ intervalMonths: pulumi.Input; /** - * Specifies on which instance of the allowed days specified in daysOfWeek the maintenance occurs. + * Specifies on which week of the month the dayOfWeek applies. */ - weekIndex: pulumi.Input; + weekIndex: pulumi.Input; } /** @@ -73502,33 +77613,19 @@ export namespace containerservice { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - absoluteMonthly?: pulumi.Input; + absoluteMonthly?: pulumi.Input; /** * For schedules like: 'recur every day' or 'recur every 3 days'. */ - daily?: pulumi.Input; + daily?: pulumi.Input; /** * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. */ - relativeMonthly?: pulumi.Input; + relativeMonthly?: pulumi.Input; /** * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. */ - weekly?: pulumi.Input; - } - - /** - * Service mesh profile for a managed cluster. - */ - export interface ServiceMeshProfileArgs { - /** - * Istio service mesh configuration. - */ - istio?: pulumi.Input; - /** - * Mode of the service mesh. - */ - mode: pulumi.Input; + weekly?: pulumi.Input; } /** @@ -73656,7 +77753,7 @@ export namespace containerservice { /** * The day of the week. */ - day?: pulumi.Input; + day?: pulumi.Input; /** * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ @@ -73677,20 +77774,6 @@ export namespace containerservice { start?: pulumi.Input; } - /** - * Settings for overrides when upgrading a cluster. - */ - export interface UpgradeOverrideSettingsArgs { - /** - * List of upgrade overrides when upgrading a cluster's control plane. - */ - controlPlaneOverrides?: pulumi.Input[]>; - /** - * Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. - */ - until?: pulumi.Input; - } - /** * Details about a user assigned identity. */ @@ -73716,7 +77799,7 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of weeks between each set of occurrences. */ @@ -73743,7 +77826,7 @@ export namespace containerservice { } - export namespace v20230601 { + export namespace v20230602preview { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ @@ -73758,6 +77841,34 @@ export namespace containerservice { intervalMonths: pulumi.Input; } + /** + * Network settings of an agent pool. + */ + export interface AgentPoolNetworkProfileArgs { + /** + * The port ranges that are allowed to access. The specified ranges are allowed to overlap. + */ + allowedHostPorts?: pulumi.Input[]>; + /** + * The IDs of the application security groups which agent pool will associate when created. + */ + applicationSecurityGroups?: pulumi.Input[]>; + /** + * IPTags of instance-level public IPs. + */ + nodePublicIPTags?: pulumi.Input[]>; + } + + /** + * The security settings of an agent pool. + */ + export interface AgentPoolSecurityProfileArgs { + /** + * SSH access method of an agent pool. + */ + sshAccess?: pulumi.Input; + } + /** * Settings for upgrading an agentpool */ @@ -73772,6 +77883,16 @@ export namespace containerservice { maxSurge?: pulumi.Input; } + /** + * The Windows agent pool's specific profile. + */ + export interface AgentPoolWindowsProfileArgs { + /** + * The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. + */ + disableOutboundNat?: pulumi.Input; + } + /** * Azure Key Vault key management service settings for the security profile. */ @@ -73787,7 +77908,7 @@ export namespace containerservice { /** * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. */ - keyVaultNetworkAccess?: pulumi.Input; + keyVaultNetworkAccess?: pulumi.Input; /** * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. */ @@ -73803,6 +77924,16 @@ export namespace containerservice { }; } + /** + * Settings for upgrading a cluster. + */ + export interface ClusterUpgradeSettingsArgs { + /** + * Settings for overrides. + */ + overrideSettings?: pulumi.Input; + } + /** * Profile for Linux VMs in the container service cluster. */ @@ -73814,7 +77945,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -73828,43 +77959,51 @@ export namespace containerservice { /** * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - ipFamilies?: pulumi.Input[]>; + ipFamilies?: pulumi.Input[]>; + /** + * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. + */ + kubeProxyConfig?: pulumi.Input; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; + loadBalancerSku?: pulumi.Input; + /** + * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format + */ + monitoring?: pulumi.Input; /** * Profile of the cluster NAT gateway. */ - natGatewayProfile?: pulumi.Input; + natGatewayProfile?: pulumi.Input; /** * Network dataplane used in the Kubernetes cluster. */ - networkDataplane?: pulumi.Input; + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; /** - * The mode the network plugin should use. + * Network plugin mode used for building the Kubernetes network. */ - networkPluginMode?: pulumi.Input; + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ @@ -73889,15 +78028,54 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230601.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), - natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230601.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), - networkPlugin: (val.networkPlugin) ?? "kubenet", + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230602preview.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230602preview.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", }; } + /** + * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. + */ + export interface ContainerServiceNetworkProfileIpvsConfigArgs { + /** + * IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. + */ + scheduler?: pulumi.Input; + /** + * The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value. + */ + tcpFinTimeoutSeconds?: pulumi.Input; + /** + * The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value. + */ + tcpTimeoutSeconds?: pulumi.Input; + /** + * The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value. + */ + udpTimeoutSeconds?: pulumi.Input; + } + + /** + * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. + */ + export interface ContainerServiceNetworkProfileKubeProxyConfigArgs { + /** + * Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations). + */ + enabled?: pulumi.Input; + /** + * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. + */ + ipvsConfig?: pulumi.Input; + /** + * Specify which proxy mode to use ('IPTABLES' or 'IPVS') + */ + mode?: pulumi.Input; + } + /** * SSH configuration for Linux-based VMs running on Azure. */ @@ -73905,7 +78083,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -73985,7 +78163,135 @@ export namespace containerservice { /** * The type of the extended location. */ - type?: pulumi.Input; + type?: pulumi.Input; + } + + /** + * The Guardrails profile. + */ + export interface GuardrailsProfileArgs { + /** + * List of namespaces excluded from guardrails checks + */ + excludedNamespaces?: pulumi.Input[]>; + /** + * The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces + */ + level: pulumi.Input; + /** + * The version of constraints to use + */ + version: pulumi.Input; + } + + /** + * Contains the IPTag associated with the object. + */ + export interface IPTagArgs { + /** + * The IP tag type. Example: RoutingPreference. + */ + ipTagType?: pulumi.Input; + /** + * The value of the IP tag associated with the public IP. Example: Internet. + */ + tag?: pulumi.Input; + } + + /** + * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + */ + export interface IstioCertificateAuthorityArgs { + /** + * Plugin certificates information for Service Mesh. + */ + plugin?: pulumi.Input; + } + + /** + * Istio components configuration. + */ + export interface IstioComponentsArgs { + /** + * Istio egress gateways. + */ + egressGateways?: pulumi.Input[]>; + /** + * Istio ingress gateways. + */ + ingressGateways?: pulumi.Input[]>; + } + + /** + * Istio egress gateway configuration. + */ + export interface IstioEgressGatewayArgs { + /** + * Whether to enable the egress gateway. + */ + enabled: pulumi.Input; + /** + * NodeSelector for scheduling the egress gateway. + */ + nodeSelector?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + */ + export interface IstioIngressGatewayArgs { + /** + * Whether to enable the ingress gateway. + */ + enabled: pulumi.Input; + /** + * Mode of an ingress gateway. + */ + mode: pulumi.Input; + } + + /** + * Plugin certificates information for Service Mesh. + */ + export interface IstioPluginCertificateAuthorityArgs { + /** + * Certificate chain object name in Azure Key Vault. + */ + certChainObjectName?: pulumi.Input; + /** + * Intermediate certificate object name in Azure Key Vault. + */ + certObjectName?: pulumi.Input; + /** + * Intermediate certificate private key object name in Azure Key Vault. + */ + keyObjectName?: pulumi.Input; + /** + * The resource ID of the Key Vault. + */ + keyVaultId?: pulumi.Input; + /** + * Root certificate object name in Azure Key Vault. + */ + rootCertObjectName?: pulumi.Input; + } + + /** + * Istio service mesh configuration. + */ + export interface IstioServiceMeshArgs { + /** + * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + */ + certificateAuthority?: pulumi.Input; + /** + * Istio components configuration. + */ + components?: pulumi.Input; + /** + * The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + */ + revisions?: pulumi.Input[]>; } /** @@ -74049,7 +78355,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -74071,11 +78377,11 @@ export namespace containerservice { /** * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. */ - notAllowedDates?: pulumi.Input[]>; + notAllowedDates?: pulumi.Input[]>; /** * Recurrence schedule for the maintenance window. */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. */ @@ -74153,10 +78459,18 @@ export namespace containerservice { * Whether to create additional public FQDN for private cluster or not. */ enablePrivateClusterPublicFQDN?: pulumi.Input; + /** + * Whether to enable apiserver vnet integration for the cluster or not. + */ + enableVnetIntegration?: pulumi.Input; /** * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. */ privateDNSZone?: pulumi.Input; + /** + * It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable apiserver vnet integration. + */ + subnetId?: pulumi.Input; } /** @@ -74181,6 +78495,10 @@ export namespace containerservice { * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; + /** + * AKS will associate the specified agent pool with the Capacity Reservation Group. + */ + capacityReservationGroupID?: pulumi.Input; /** * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -74188,11 +78506,15 @@ export namespace containerservice { /** * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ - creationData?: pulumi.Input; + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ enableAutoScaling?: pulumi.Input; + /** + * When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false. + */ + enableCustomCATrust?: pulumi.Input; /** * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption */ @@ -74212,7 +78534,7 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; /** * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ @@ -74220,15 +78542,15 @@ export namespace containerservice { /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -74237,6 +78559,10 @@ export namespace containerservice { * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; + /** + * A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). + */ + messageOfTheDay?: pulumi.Input; /** * The minimum number of nodes for auto-scaling */ @@ -74244,11 +78570,15 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; + /** + * Network-related settings of an agent pool. + */ + networkProfile?: pulumi.Input; /** * The node labels to be persisted across all nodes in agent pool. */ @@ -74262,7 +78592,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -74272,15 +78602,15 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -74288,7 +78618,7 @@ export namespace containerservice { /** * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ - powerState?: pulumi.Input; + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ @@ -74296,15 +78626,19 @@ export namespace containerservice { /** * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. */ - scaleDownMode?: pulumi.Input; + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; + scaleSetPriority?: pulumi.Input; + /** + * The security settings of an agent pool. + */ + securityProfile?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -74316,11 +78650,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -74329,10 +78663,14 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; + /** + * The Windows agent pool's specific profile. + */ + windowsProfile?: pulumi.Input; /** * Determines the type of workload a node can run. */ - workloadRuntime?: pulumi.Input; + workloadRuntime?: pulumi.Input; } /** @@ -74340,51 +78678,51 @@ export namespace containerservice { */ export interface ManagedClusterAutoUpgradeProfileArgs { /** - * Manner in which the OS on your nodes is updated. The default is NodeImage. + * The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA. */ - nodeOSUpgradeChannel?: pulumi.Input; + nodeOSUpgradeChannel?: pulumi.Input; /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Azure Monitor addon profiles for monitoring the managed cluster. + * Prometheus addon profile for the container service cluster */ export interface ManagedClusterAzureMonitorProfileArgs { /** - * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + * Metrics profile for the prometheus service addon */ - metrics?: pulumi.Input; + metrics?: pulumi.Input; } /** - * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + * Kube State Metrics for prometheus addon profile for the container service cluster */ export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { /** - * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric. */ metricAnnotationsAllowList?: pulumi.Input; /** - * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + * Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels metric. */ metricLabelsAllowlist?: pulumi.Input; } /** - * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + * Metrics profile for the prometheus service addon */ export interface ManagedClusterAzureMonitorProfileMetricsArgs { /** - * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + * Whether to enable the Prometheus collector */ enabled: pulumi.Input; /** - * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + * Kube State Metrics for prometheus addon profile for the container service cluster */ - kubeStateMetrics?: pulumi.Input; + kubeStateMetrics?: pulumi.Input; } /** @@ -74416,17 +78754,41 @@ export namespace containerservice { /** * The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. */ - delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; + delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } + /** + * Ingress profile for the container service cluster. + */ + export interface ManagedClusterIngressProfileArgs { + /** + * Web App Routing settings for the ingress profile. + */ + webAppRouting?: pulumi.Input; + } + + /** + * Web App Routing settings for the ingress profile. + */ + export interface ManagedClusterIngressProfileWebAppRoutingArgs { + /** + * Resource ID of the DNS Zone to be associated with the web app. Used only when Web App Routing is enabled. + */ + dnsZoneResourceId?: pulumi.Input; + /** + * Whether to enable Web App Routing. + */ + enabled?: pulumi.Input; + } + /** * Profile of the managed cluster load balancer. */ @@ -74435,10 +78797,14 @@ export namespace containerservice { * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ allocatedOutboundPorts?: pulumi.Input; + /** + * The type of the managed inbound Load Balancer BackendPool. + */ + backendPoolType?: pulumi.Input; /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Enable multiple standard load balancers per AKS cluster or not. */ @@ -74450,15 +78816,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -74467,8 +78833,9 @@ export namespace containerservice { return { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, + backendPoolType: (val.backendPoolType) ?? "NodeIPConfiguration", idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230601.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230602preview.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -74503,7 +78870,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -74513,7 +78880,7 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; } /** @@ -74542,7 +78909,7 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster NAT gateway. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. */ @@ -74550,7 +78917,7 @@ export namespace containerservice { /** * Profile of the managed outbound IP resources of the cluster NAT gateway. */ - managedOutboundIPProfile?: pulumi.Input; + managedOutboundIPProfile?: pulumi.Input; } /** * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs @@ -74559,10 +78926,20 @@ export namespace containerservice { return { ...val, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, - managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230601.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230602preview.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), }; } + /** + * Node resource group lockdown profile for a managed cluster. + */ + export interface ManagedClusterNodeResourceGroupProfileArgs { + /** + * The restriction level applied to the cluster's node resource group + */ + restrictionLevel?: pulumi.Input; + } + /** * The OIDC issuer profile of the Managed Cluster. */ @@ -74584,7 +78961,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -74628,11 +79005,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -74646,7 +79023,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -74716,11 +79093,11 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; + name?: pulumi.Input; /** * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -74730,19 +79107,31 @@ export namespace containerservice { /** * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - azureKeyVaultKms?: pulumi.Input; + azureKeyVaultKms?: pulumi.Input; + /** + * A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the Custom CA Trust feature enabled. For more information see [Custom CA Trust Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority) + */ + customCATrustCertificates?: pulumi.Input[]>; /** * Microsoft Defender settings for the security profile. */ - defender?: pulumi.Input; + defender?: pulumi.Input; /** * Image Cleaner settings for the security profile. */ - imageCleaner?: pulumi.Input; + imageCleaner?: pulumi.Input; + /** + * Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This will not have any effect unless Azure Policy is applied to enforce image signatures. See https://aka.ms/aks/image-integrity for how to use this feature via policy. + */ + imageIntegrity?: pulumi.Input; + /** + * [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile. + */ + nodeRestriction?: pulumi.Input; /** * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - workloadIdentity?: pulumi.Input; + workloadIdentity?: pulumi.Input; } /** * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs @@ -74750,7 +79139,7 @@ export namespace containerservice { export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { return { ...val, - azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230601.azureKeyVaultKmsArgsProvideDefaults) : undefined), + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230602preview.azureKeyVaultKmsArgsProvideDefaults) : undefined), }; } @@ -74765,7 +79154,7 @@ export namespace containerservice { /** * Microsoft Defender threat detection for Cloud settings for the security profile. */ - securityMonitoring?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** @@ -74792,6 +79181,26 @@ export namespace containerservice { intervalHours?: pulumi.Input; } + /** + * Image integrity related settings for the security profile. + */ + export interface ManagedClusterSecurityProfileImageIntegrityArgs { + /** + * Whether to enable image integrity. The default value is false. + */ + enabled?: pulumi.Input; + } + + /** + * Node Restriction settings for the security profile. + */ + export interface ManagedClusterSecurityProfileNodeRestrictionArgs { + /** + * Whether to enable Node Restriction + */ + enabled?: pulumi.Input; + } + /** * Workload identity settings for the security profile. */ @@ -74823,19 +79232,19 @@ export namespace containerservice { /** * AzureBlob CSI Driver settings for the storage profile. */ - blobCSIDriver?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** * AzureDisk CSI Driver settings for the storage profile. */ - diskCSIDriver?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** * AzureFile CSI Driver settings for the storage profile. */ - fileCSIDriver?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** * Snapshot Controller settings for the storage profile. */ - snapshotController?: pulumi.Input; + snapshotController?: pulumi.Input; } /** @@ -74856,6 +79265,10 @@ export namespace containerservice { * Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: pulumi.Input; + /** + * The version of AzureDisk CSI Driver. The default value is v1. + */ + version?: pulumi.Input; } /** @@ -74897,11 +79310,11 @@ export namespace containerservice { /** * The Windows gMSA Profile in the Managed Cluster. */ - gmsaProfile?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - licenseType?: pulumi.Input; + licenseType?: pulumi.Input; } /** @@ -74911,11 +79324,8 @@ export namespace containerservice { /** * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - keda?: pulumi.Input; - /** - * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. - */ - verticalPodAutoscaler?: pulumi.Input; + keda?: pulumi.Input; + verticalPodAutoscaler?: pulumi.Input; } /** * managedClusterWorkloadAutoScalerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileArgs @@ -74923,7 +79333,7 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileArgs): ManagedClusterWorkloadAutoScalerProfileArgs { return { ...val, - verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230601.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), + verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230602preview.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), }; } @@ -74937,14 +79347,19 @@ export namespace containerservice { enabled: pulumi.Input; } - /** - * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. - */ export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { + /** + * Controls which resource value autoscaler will change. Default value is RequestsAndLimits. + */ + controlledValues: pulumi.Input; /** * Whether to enable VPA. Default value is false. */ enabled: pulumi.Input; + /** + * Each update mode level is a superset of the lower levels. Off; } /** * managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs @@ -74952,10 +79367,40 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs): ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { return { ...val, + controlledValues: (val.controlledValues) ?? "RequestsAndLimits", enabled: (val.enabled) ?? false, + updateMode: (val.updateMode) ?? "Off", }; } + /** + * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format + */ + export interface NetworkMonitoringArgs { + /** + * Enable or disable the network monitoring plugin on the cluster + */ + enabled?: pulumi.Input; + } + + /** + * The port range. + */ + export interface PortRangeArgs { + /** + * The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. + */ + portEnd?: pulumi.Input; + /** + * The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. + */ + portStart?: pulumi.Input; + /** + * The network protocol of the port. + */ + protocol?: pulumi.Input; + } + /** * Describes the Power State of the cluster */ @@ -74963,7 +79408,7 @@ export namespace containerservice { /** * Tells whether the cluster is Running or Stopped */ - code?: pulumi.Input; + code?: pulumi.Input; } /** @@ -75013,7 +79458,7 @@ export namespace containerservice { /** * The private link service connection status. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -75023,15 +79468,15 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of months between each set of occurrences. */ intervalMonths: pulumi.Input; /** - * Specifies on which week of the month the dayOfWeek applies. + * Specifies on which instance of the allowed days specified in daysOfWeek the maintenance occurs. */ - weekIndex: pulumi.Input; + weekIndex: pulumi.Input; } /** @@ -75051,19 +79496,33 @@ export namespace containerservice { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - absoluteMonthly?: pulumi.Input; + absoluteMonthly?: pulumi.Input; /** * For schedules like: 'recur every day' or 'recur every 3 days'. */ - daily?: pulumi.Input; + daily?: pulumi.Input; /** * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. */ - relativeMonthly?: pulumi.Input; + relativeMonthly?: pulumi.Input; /** * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. */ - weekly?: pulumi.Input; + weekly?: pulumi.Input; + } + + /** + * Service mesh profile for a managed cluster. + */ + export interface ServiceMeshProfileArgs { + /** + * Istio service mesh configuration. + */ + istio?: pulumi.Input; + /** + * Mode of the service mesh. + */ + mode: pulumi.Input; } /** @@ -75191,7 +79650,7 @@ export namespace containerservice { /** * The day of the week. */ - day?: pulumi.Input; + day?: pulumi.Input; /** * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ @@ -75212,6 +79671,20 @@ export namespace containerservice { start?: pulumi.Input; } + /** + * Settings for overrides when upgrading a cluster. + */ + export interface UpgradeOverrideSettingsArgs { + /** + * List of upgrade overrides when upgrading a cluster's control plane. + */ + controlPlaneOverrides?: pulumi.Input[]>; + /** + * Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + */ + until?: pulumi.Input; + } + /** * Details about a user assigned identity. */ @@ -75237,7 +79710,7 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of weeks between each set of occurrences. */ @@ -75264,71 +79737,181 @@ export namespace containerservice { } - export namespace v20230602preview { + export namespace v20230615preview { /** - * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + * Access profile for the Fleet hub API server. */ - export interface AbsoluteMonthlyScheduleArgs { + export interface APIServerAccessProfileArgs { /** - * The date of the month. + * Whether to create the Fleet hub as a private cluster or not. */ - dayOfMonth: pulumi.Input; + enablePrivateCluster?: pulumi.Input; /** - * Specifies the number of months between each set of occurrences. + * Whether to enable apiserver vnet integration for the Fleet hub or not. */ - intervalMonths: pulumi.Input; + enableVnetIntegration?: pulumi.Input; + /** + * The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + */ + subnetId?: pulumi.Input; } /** - * Network settings of an agent pool. + * Agent profile for the Fleet hub. */ - export interface AgentPoolNetworkProfileArgs { + export interface AgentProfileArgs { /** - * The port ranges that are allowed to access. The specified ranges are allowed to overlap. + * The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. */ - allowedHostPorts?: pulumi.Input[]>; + subnetId?: pulumi.Input; + } + + /** + * The FleetHubProfile configures the fleet hub. + */ + export interface FleetHubProfileArgs { /** - * The IDs of the application security groups which agent pool will associate when created. + * The agent profile for the Fleet hub. */ - applicationSecurityGroups?: pulumi.Input[]>; + agentProfile?: pulumi.Input; /** - * IPTags of instance-level public IPs. + * The access profile for the Fleet hub API server. */ - nodePublicIPTags?: pulumi.Input[]>; + apiServerAccessProfile?: pulumi.Input; + /** + * DNS prefix used to create the FQDN for the Fleet hub. + */ + dnsPrefix?: pulumi.Input; } /** - * The security settings of an agent pool. + * The update to be applied to the ManagedClusters. */ - export interface AgentPoolSecurityProfileArgs { + export interface ManagedClusterUpdateArgs { /** - * SSH access method of an agent pool. + * The node image upgrade to be applied to the target nodes in update run. */ - sshAccess?: pulumi.Input; + nodeImageSelection?: pulumi.Input; + /** + * The upgrade to apply to the ManagedClusters. + */ + upgrade: pulumi.Input; } /** - * Settings for upgrading an agentpool + * The upgrade to apply to a ManagedCluster. */ - export interface AgentPoolUpgradeSettingsArgs { + export interface ManagedClusterUpgradeSpecArgs { /** - * The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + * The Kubernetes version to upgrade the member clusters to. */ - drainTimeoutInMinutes?: pulumi.Input; + kubernetesVersion?: pulumi.Input; /** - * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + * The upgrade type. + * Full requires the KubernetesVersion property to be set. + * NodeImageOnly requires the KubernetesVersion property not to be set. */ - maxSurge?: pulumi.Input; + type: pulumi.Input; } /** - * The Windows agent pool's specific profile. + * Managed service identity (system assigned and/or user assigned identities) */ - export interface AgentPoolWindowsProfileArgs { + export interface ManagedServiceIdentityArgs { /** - * The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - disableOutboundNat?: pulumi.Input; + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The node image upgrade to be applied to the target nodes in update run. + */ + export interface NodeImageSelectionArgs { + /** + * The node image upgrade type. + */ + type: pulumi.Input; + } + + /** + * A group to be updated. + */ + export interface UpdateGroupArgs { + /** + * Name of the group. + * It must match a group name of an existing fleet member. + */ + name: pulumi.Input; + } + + /** + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. + */ + export interface UpdateRunStrategyArgs { + /** + * The list of stages that compose this update run. Min size: 1. + */ + stages: pulumi.Input[]>; + } + + /** + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + */ + export interface UpdateStageArgs { + /** + * The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + */ + afterStageWaitInSeconds?: pulumi.Input; + /** + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + */ + groups?: pulumi.Input[]>; + /** + * The name of the stage. Must be unique within the UpdateRun. + */ + name: pulumi.Input; + } + + } + + export namespace v20230701 { + /** + * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + */ + export interface AbsoluteMonthlyScheduleArgs { + /** + * The date of the month. + */ + dayOfMonth: pulumi.Input; + /** + * Specifies the number of months between each set of occurrences. + */ + intervalMonths: pulumi.Input; + } + + /** + * Settings for upgrading an agentpool + */ + export interface AgentPoolUpgradeSettingsArgs { + /** + * The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + */ + drainTimeoutInMinutes?: pulumi.Input; + /** + * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + */ + maxSurge?: pulumi.Input; } /** @@ -75346,7 +79929,7 @@ export namespace containerservice { /** * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. */ - keyVaultNetworkAccess?: pulumi.Input; + keyVaultNetworkAccess?: pulumi.Input; /** * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. */ @@ -75369,7 +79952,7 @@ export namespace containerservice { /** * Settings for overrides. */ - overrideSettings?: pulumi.Input; + overrideSettings?: pulumi.Input; } /** @@ -75383,7 +79966,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -75397,51 +79980,43 @@ export namespace containerservice { /** * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - ipFamilies?: pulumi.Input[]>; - /** - * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. - */ - kubeProxyConfig?: pulumi.Input; + ipFamilies?: pulumi.Input[]>; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; - /** - * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format - */ - monitoring?: pulumi.Input; + loadBalancerSku?: pulumi.Input; /** * Profile of the cluster NAT gateway. */ - natGatewayProfile?: pulumi.Input; + natGatewayProfile?: pulumi.Input; /** * Network dataplane used in the Kubernetes cluster. */ - networkDataplane?: pulumi.Input; + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; /** - * Network plugin mode used for building the Kubernetes network. + * The mode the network plugin should use. */ - networkPluginMode?: pulumi.Input; + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ @@ -75466,54 +80041,15 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230602preview.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), - natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230602preview.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230701.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230701.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), + networkPlugin: (val.networkPlugin) ?? "kubenet", outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", }; } - /** - * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. - */ - export interface ContainerServiceNetworkProfileIpvsConfigArgs { - /** - * IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. - */ - scheduler?: pulumi.Input; - /** - * The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value. - */ - tcpFinTimeoutSeconds?: pulumi.Input; - /** - * The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value. - */ - tcpTimeoutSeconds?: pulumi.Input; - /** - * The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value. - */ - udpTimeoutSeconds?: pulumi.Input; - } - - /** - * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. - */ - export interface ContainerServiceNetworkProfileKubeProxyConfigArgs { - /** - * Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations). - */ - enabled?: pulumi.Input; - /** - * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. - */ - ipvsConfig?: pulumi.Input; - /** - * Specify which proxy mode to use ('IPTABLES' or 'IPVS') - */ - mode?: pulumi.Input; - } - /** * SSH configuration for Linux-based VMs running on Azure. */ @@ -75521,7 +80057,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -75601,135 +80137,7 @@ export namespace containerservice { /** * The type of the extended location. */ - type?: pulumi.Input; - } - - /** - * The Guardrails profile. - */ - export interface GuardrailsProfileArgs { - /** - * List of namespaces excluded from guardrails checks - */ - excludedNamespaces?: pulumi.Input[]>; - /** - * The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces - */ - level: pulumi.Input; - /** - * The version of constraints to use - */ - version: pulumi.Input; - } - - /** - * Contains the IPTag associated with the object. - */ - export interface IPTagArgs { - /** - * The IP tag type. Example: RoutingPreference. - */ - ipTagType?: pulumi.Input; - /** - * The value of the IP tag associated with the public IP. Example: Internet. - */ - tag?: pulumi.Input; - } - - /** - * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca - */ - export interface IstioCertificateAuthorityArgs { - /** - * Plugin certificates information for Service Mesh. - */ - plugin?: pulumi.Input; - } - - /** - * Istio components configuration. - */ - export interface IstioComponentsArgs { - /** - * Istio egress gateways. - */ - egressGateways?: pulumi.Input[]>; - /** - * Istio ingress gateways. - */ - ingressGateways?: pulumi.Input[]>; - } - - /** - * Istio egress gateway configuration. - */ - export interface IstioEgressGatewayArgs { - /** - * Whether to enable the egress gateway. - */ - enabled: pulumi.Input; - /** - * NodeSelector for scheduling the egress gateway. - */ - nodeSelector?: pulumi.Input<{[key: string]: pulumi.Input}>; - } - - /** - * Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. - */ - export interface IstioIngressGatewayArgs { - /** - * Whether to enable the ingress gateway. - */ - enabled: pulumi.Input; - /** - * Mode of an ingress gateway. - */ - mode: pulumi.Input; - } - - /** - * Plugin certificates information for Service Mesh. - */ - export interface IstioPluginCertificateAuthorityArgs { - /** - * Certificate chain object name in Azure Key Vault. - */ - certChainObjectName?: pulumi.Input; - /** - * Intermediate certificate object name in Azure Key Vault. - */ - certObjectName?: pulumi.Input; - /** - * Intermediate certificate private key object name in Azure Key Vault. - */ - keyObjectName?: pulumi.Input; - /** - * The resource ID of the Key Vault. - */ - keyVaultId?: pulumi.Input; - /** - * Root certificate object name in Azure Key Vault. - */ - rootCertObjectName?: pulumi.Input; - } - - /** - * Istio service mesh configuration. - */ - export interface IstioServiceMeshArgs { - /** - * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca - */ - certificateAuthority?: pulumi.Input; - /** - * Istio components configuration. - */ - components?: pulumi.Input; - /** - * The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade - */ - revisions?: pulumi.Input[]>; + type?: pulumi.Input; } /** @@ -75793,7 +80201,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -75815,11 +80223,11 @@ export namespace containerservice { /** * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. */ - notAllowedDates?: pulumi.Input[]>; + notAllowedDates?: pulumi.Input[]>; /** * Recurrence schedule for the maintenance window. */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. */ @@ -75897,18 +80305,10 @@ export namespace containerservice { * Whether to create additional public FQDN for private cluster or not. */ enablePrivateClusterPublicFQDN?: pulumi.Input; - /** - * Whether to enable apiserver vnet integration for the cluster or not. - */ - enableVnetIntegration?: pulumi.Input; /** * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. */ privateDNSZone?: pulumi.Input; - /** - * It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable apiserver vnet integration. - */ - subnetId?: pulumi.Input; } /** @@ -75933,10 +80333,6 @@ export namespace containerservice { * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; - /** - * AKS will associate the specified agent pool with the Capacity Reservation Group. - */ - capacityReservationGroupID?: pulumi.Input; /** * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -75944,15 +80340,11 @@ export namespace containerservice { /** * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ - creationData?: pulumi.Input; + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ enableAutoScaling?: pulumi.Input; - /** - * When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false. - */ - enableCustomCATrust?: pulumi.Input; /** * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption */ @@ -75972,7 +80364,7 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; /** * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ @@ -75980,15 +80372,15 @@ export namespace containerservice { /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -75997,10 +80389,6 @@ export namespace containerservice { * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; - /** - * A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). - */ - messageOfTheDay?: pulumi.Input; /** * The minimum number of nodes for auto-scaling */ @@ -76008,15 +80396,11 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; - /** - * Network-related settings of an agent pool. - */ - networkProfile?: pulumi.Input; /** * The node labels to be persisted across all nodes in agent pool. */ @@ -76030,7 +80414,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -76040,15 +80424,15 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -76056,7 +80440,7 @@ export namespace containerservice { /** * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ - powerState?: pulumi.Input; + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ @@ -76064,19 +80448,15 @@ export namespace containerservice { /** * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. */ - scaleDownMode?: pulumi.Input; + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; - /** - * The security settings of an agent pool. - */ - securityProfile?: pulumi.Input; + scaleSetPriority?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -76088,11 +80468,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -76101,14 +80481,10 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; - /** - * The Windows agent pool's specific profile. - */ - windowsProfile?: pulumi.Input; /** * Determines the type of workload a node can run. */ - workloadRuntime?: pulumi.Input; + workloadRuntime?: pulumi.Input; } /** @@ -76116,51 +80492,51 @@ export namespace containerservice { */ export interface ManagedClusterAutoUpgradeProfileArgs { /** - * The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA. + * Manner in which the OS on your nodes is updated. The default is NodeImage. */ - nodeOSUpgradeChannel?: pulumi.Input; + nodeOSUpgradeChannel?: pulumi.Input; /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Prometheus addon profile for the container service cluster + * Azure Monitor addon profiles for monitoring the managed cluster. */ export interface ManagedClusterAzureMonitorProfileArgs { /** - * Metrics profile for the prometheus service addon + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ - metrics?: pulumi.Input; + metrics?: pulumi.Input; } /** - * Kube State Metrics for prometheus addon profile for the container service cluster + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { /** - * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric. + * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. */ metricAnnotationsAllowList?: pulumi.Input; /** - * Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels metric. + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. */ metricLabelsAllowlist?: pulumi.Input; } /** - * Metrics profile for the prometheus service addon + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ export interface ManagedClusterAzureMonitorProfileMetricsArgs { /** - * Whether to enable the Prometheus collector + * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. */ enabled: pulumi.Input; /** - * Kube State Metrics for prometheus addon profile for the container service cluster + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ - kubeStateMetrics?: pulumi.Input; + kubeStateMetrics?: pulumi.Input; } /** @@ -76192,41 +80568,17 @@ export namespace containerservice { /** * The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. */ - delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; + delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } - /** - * Ingress profile for the container service cluster. - */ - export interface ManagedClusterIngressProfileArgs { - /** - * Web App Routing settings for the ingress profile. - */ - webAppRouting?: pulumi.Input; - } - - /** - * Web App Routing settings for the ingress profile. - */ - export interface ManagedClusterIngressProfileWebAppRoutingArgs { - /** - * Resource ID of the DNS Zone to be associated with the web app. Used only when Web App Routing is enabled. - */ - dnsZoneResourceId?: pulumi.Input; - /** - * Whether to enable Web App Routing. - */ - enabled?: pulumi.Input; - } - /** * Profile of the managed cluster load balancer. */ @@ -76235,14 +80587,10 @@ export namespace containerservice { * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ allocatedOutboundPorts?: pulumi.Input; - /** - * The type of the managed inbound Load Balancer BackendPool. - */ - backendPoolType?: pulumi.Input; /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Enable multiple standard load balancers per AKS cluster or not. */ @@ -76254,15 +80602,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -76271,9 +80619,8 @@ export namespace containerservice { return { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, - backendPoolType: (val.backendPoolType) ?? "NodeIPConfiguration", idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230602preview.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230701.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -76308,7 +80655,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -76318,7 +80665,7 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; } /** @@ -76347,7 +80694,7 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster NAT gateway. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. */ @@ -76355,7 +80702,7 @@ export namespace containerservice { /** * Profile of the managed outbound IP resources of the cluster NAT gateway. */ - managedOutboundIPProfile?: pulumi.Input; + managedOutboundIPProfile?: pulumi.Input; } /** * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs @@ -76364,20 +80711,10 @@ export namespace containerservice { return { ...val, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, - managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230602preview.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230701.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), }; } - /** - * Node resource group lockdown profile for a managed cluster. - */ - export interface ManagedClusterNodeResourceGroupProfileArgs { - /** - * The restriction level applied to the cluster's node resource group - */ - restrictionLevel?: pulumi.Input; - } - /** * The OIDC issuer profile of the Managed Cluster. */ @@ -76399,7 +80736,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -76443,11 +80780,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -76461,7 +80798,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -76531,11 +80868,11 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; + name?: pulumi.Input; /** * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -76545,31 +80882,19 @@ export namespace containerservice { /** * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - azureKeyVaultKms?: pulumi.Input; - /** - * A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the Custom CA Trust feature enabled. For more information see [Custom CA Trust Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority) - */ - customCATrustCertificates?: pulumi.Input[]>; + azureKeyVaultKms?: pulumi.Input; /** * Microsoft Defender settings for the security profile. */ - defender?: pulumi.Input; + defender?: pulumi.Input; /** * Image Cleaner settings for the security profile. */ - imageCleaner?: pulumi.Input; - /** - * Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This will not have any effect unless Azure Policy is applied to enforce image signatures. See https://aka.ms/aks/image-integrity for how to use this feature via policy. - */ - imageIntegrity?: pulumi.Input; - /** - * [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile. - */ - nodeRestriction?: pulumi.Input; + imageCleaner?: pulumi.Input; /** * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - workloadIdentity?: pulumi.Input; + workloadIdentity?: pulumi.Input; } /** * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs @@ -76577,7 +80902,7 @@ export namespace containerservice { export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { return { ...val, - azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230602preview.azureKeyVaultKmsArgsProvideDefaults) : undefined), + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230701.azureKeyVaultKmsArgsProvideDefaults) : undefined), }; } @@ -76592,7 +80917,7 @@ export namespace containerservice { /** * Microsoft Defender threat detection for Cloud settings for the security profile. */ - securityMonitoring?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** @@ -76619,26 +80944,6 @@ export namespace containerservice { intervalHours?: pulumi.Input; } - /** - * Image integrity related settings for the security profile. - */ - export interface ManagedClusterSecurityProfileImageIntegrityArgs { - /** - * Whether to enable image integrity. The default value is false. - */ - enabled?: pulumi.Input; - } - - /** - * Node Restriction settings for the security profile. - */ - export interface ManagedClusterSecurityProfileNodeRestrictionArgs { - /** - * Whether to enable Node Restriction - */ - enabled?: pulumi.Input; - } - /** * Workload identity settings for the security profile. */ @@ -76670,19 +80975,19 @@ export namespace containerservice { /** * AzureBlob CSI Driver settings for the storage profile. */ - blobCSIDriver?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** * AzureDisk CSI Driver settings for the storage profile. */ - diskCSIDriver?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** * AzureFile CSI Driver settings for the storage profile. */ - fileCSIDriver?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** * Snapshot Controller settings for the storage profile. */ - snapshotController?: pulumi.Input; + snapshotController?: pulumi.Input; } /** @@ -76703,10 +81008,6 @@ export namespace containerservice { * Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: pulumi.Input; - /** - * The version of AzureDisk CSI Driver. The default value is v1. - */ - version?: pulumi.Input; } /** @@ -76748,11 +81049,11 @@ export namespace containerservice { /** * The Windows gMSA Profile in the Managed Cluster. */ - gmsaProfile?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - licenseType?: pulumi.Input; + licenseType?: pulumi.Input; } /** @@ -76762,8 +81063,11 @@ export namespace containerservice { /** * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - keda?: pulumi.Input; - verticalPodAutoscaler?: pulumi.Input; + keda?: pulumi.Input; + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ + verticalPodAutoscaler?: pulumi.Input; } /** * managedClusterWorkloadAutoScalerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileArgs @@ -76771,7 +81075,7 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileArgs): ManagedClusterWorkloadAutoScalerProfileArgs { return { ...val, - verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230602preview.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), + verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230701.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), }; } @@ -76785,19 +81089,14 @@ export namespace containerservice { enabled: pulumi.Input; } + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { - /** - * Controls which resource value autoscaler will change. Default value is RequestsAndLimits. - */ - controlledValues: pulumi.Input; /** * Whether to enable VPA. Default value is false. */ enabled: pulumi.Input; - /** - * Each update mode level is a superset of the lower levels. Off; } /** * managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs @@ -76805,40 +81104,10 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs): ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { return { ...val, - controlledValues: (val.controlledValues) ?? "RequestsAndLimits", enabled: (val.enabled) ?? false, - updateMode: (val.updateMode) ?? "Off", }; } - /** - * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format - */ - export interface NetworkMonitoringArgs { - /** - * Enable or disable the network monitoring plugin on the cluster - */ - enabled?: pulumi.Input; - } - - /** - * The port range. - */ - export interface PortRangeArgs { - /** - * The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. - */ - portEnd?: pulumi.Input; - /** - * The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. - */ - portStart?: pulumi.Input; - /** - * The network protocol of the port. - */ - protocol?: pulumi.Input; - } - /** * Describes the Power State of the cluster */ @@ -76846,7 +81115,7 @@ export namespace containerservice { /** * Tells whether the cluster is Running or Stopped */ - code?: pulumi.Input; + code?: pulumi.Input; } /** @@ -76896,7 +81165,7 @@ export namespace containerservice { /** * The private link service connection status. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -76906,15 +81175,15 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of months between each set of occurrences. */ intervalMonths: pulumi.Input; /** - * Specifies on which instance of the allowed days specified in daysOfWeek the maintenance occurs. + * Specifies on which week of the month the dayOfWeek applies. */ - weekIndex: pulumi.Input; + weekIndex: pulumi.Input; } /** @@ -76934,33 +81203,19 @@ export namespace containerservice { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - absoluteMonthly?: pulumi.Input; + absoluteMonthly?: pulumi.Input; /** * For schedules like: 'recur every day' or 'recur every 3 days'. */ - daily?: pulumi.Input; + daily?: pulumi.Input; /** * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. */ - relativeMonthly?: pulumi.Input; + relativeMonthly?: pulumi.Input; /** * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. */ - weekly?: pulumi.Input; - } - - /** - * Service mesh profile for a managed cluster. - */ - export interface ServiceMeshProfileArgs { - /** - * Istio service mesh configuration. - */ - istio?: pulumi.Input; - /** - * Mode of the service mesh. - */ - mode: pulumi.Input; + weekly?: pulumi.Input; } /** @@ -77088,7 +81343,7 @@ export namespace containerservice { /** * The day of the week. */ - day?: pulumi.Input; + day?: pulumi.Input; /** * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ @@ -77114,9 +81369,9 @@ export namespace containerservice { */ export interface UpgradeOverrideSettingsArgs { /** - * List of upgrade overrides when upgrading a cluster's control plane. + * Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. */ - controlPlaneOverrides?: pulumi.Input[]>; + forceUpgrade?: pulumi.Input; /** * Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. */ @@ -77148,7 +81403,7 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of weeks between each set of occurrences. */ @@ -77175,167 +81430,47 @@ export namespace containerservice { } - export namespace v20230615preview { - /** - * Access profile for the Fleet hub API server. - */ - export interface APIServerAccessProfileArgs { - /** - * Whether to create the Fleet hub as a private cluster or not. - */ - enablePrivateCluster?: pulumi.Input; - /** - * Whether to enable apiserver vnet integration for the Fleet hub or not. - */ - enableVnetIntegration?: pulumi.Input; - /** - * The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. - */ - subnetId?: pulumi.Input; - } - - /** - * Agent profile for the Fleet hub. - */ - export interface AgentProfileArgs { - /** - * The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. - */ - subnetId?: pulumi.Input; - } - - /** - * The FleetHubProfile configures the fleet hub. - */ - export interface FleetHubProfileArgs { - /** - * The agent profile for the Fleet hub. - */ - agentProfile?: pulumi.Input; - /** - * The access profile for the Fleet hub API server. - */ - apiServerAccessProfile?: pulumi.Input; - /** - * DNS prefix used to create the FQDN for the Fleet hub. - */ - dnsPrefix?: pulumi.Input; - } - - /** - * The update to be applied to the ManagedClusters. - */ - export interface ManagedClusterUpdateArgs { - /** - * The node image upgrade to be applied to the target nodes in update run. - */ - nodeImageSelection?: pulumi.Input; - /** - * The upgrade to apply to the ManagedClusters. - */ - upgrade: pulumi.Input; - } - - /** - * The upgrade to apply to a ManagedCluster. - */ - export interface ManagedClusterUpgradeSpecArgs { - /** - * The Kubernetes version to upgrade the member clusters to. - */ - kubernetesVersion?: pulumi.Input; - /** - * The upgrade type. - * Full requires the KubernetesVersion property to be set. - * NodeImageOnly requires the KubernetesVersion property not to be set. - */ - type: pulumi.Input; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityArgs { - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: pulumi.Input; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - - /** - * The node image upgrade to be applied to the target nodes in update run. - */ - export interface NodeImageSelectionArgs { - /** - * The node image upgrade type. - */ - type: pulumi.Input; - } - + export namespace v20230702preview { /** - * A group to be updated. + * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - export interface UpdateGroupArgs { + export interface AbsoluteMonthlyScheduleArgs { /** - * The name of the Fleet member group to update. - * It should match the name of an existing FleetMember group. - * A group can only appear once across all UpdateStages in the UpdateRun. + * The date of the month. */ - name: pulumi.Input; - } - - /** - * The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - */ - export interface UpdateRunStrategyArgs { + dayOfMonth: pulumi.Input; /** - * The list of stages that compose this update run. + * Specifies the number of months between each set of occurrences. */ - stages: pulumi.Input[]>; + intervalMonths: pulumi.Input; } /** - * Contains the groups to be updated by an UpdateRun. - * Update order: - * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - * - Parallel within a stage: Groups within a stage run in parallel. - * - Sequential within a group: Clusters within a group are updated sequentially. + * Network settings of an agent pool. */ - export interface UpdateStageArgs { + export interface AgentPoolNetworkProfileArgs { /** - * The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + * The port ranges that are allowed to access. The specified ranges are allowed to overlap. */ - afterStageWaitInSeconds?: pulumi.Input; + allowedHostPorts?: pulumi.Input[]>; /** - * A list of group names that compose the stage. - * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + * The IDs of the application security groups which agent pool will associate when created. */ - groups?: pulumi.Input[]>; + applicationSecurityGroups?: pulumi.Input[]>; /** - * The name of the stage. Must be unique within the UpdateRun. + * IPTags of instance-level public IPs. */ - name: pulumi.Input; + nodePublicIPTags?: pulumi.Input[]>; } - } - - export namespace v20230701 { /** - * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + * The security settings of an agent pool. */ - export interface AbsoluteMonthlyScheduleArgs { - /** - * The date of the month. - */ - dayOfMonth: pulumi.Input; + export interface AgentPoolSecurityProfileArgs { /** - * Specifies the number of months between each set of occurrences. + * SSH access method of an agent pool. */ - intervalMonths: pulumi.Input; + sshAccess?: pulumi.Input; } /** @@ -77352,6 +81487,16 @@ export namespace containerservice { maxSurge?: pulumi.Input; } + /** + * The Windows agent pool's specific profile. + */ + export interface AgentPoolWindowsProfileArgs { + /** + * The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. + */ + disableOutboundNat?: pulumi.Input; + } + /** * Azure Key Vault key management service settings for the security profile. */ @@ -77367,7 +81512,7 @@ export namespace containerservice { /** * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. */ - keyVaultNetworkAccess?: pulumi.Input; + keyVaultNetworkAccess?: pulumi.Input; /** * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. */ @@ -77390,7 +81535,7 @@ export namespace containerservice { /** * Settings for overrides. */ - overrideSettings?: pulumi.Input; + overrideSettings?: pulumi.Input; } /** @@ -77404,7 +81549,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -77418,43 +81563,51 @@ export namespace containerservice { /** * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - ipFamilies?: pulumi.Input[]>; + ipFamilies?: pulumi.Input[]>; + /** + * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. + */ + kubeProxyConfig?: pulumi.Input; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; + loadBalancerSku?: pulumi.Input; + /** + * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format + */ + monitoring?: pulumi.Input; /** * Profile of the cluster NAT gateway. */ - natGatewayProfile?: pulumi.Input; + natGatewayProfile?: pulumi.Input; /** * Network dataplane used in the Kubernetes cluster. */ - networkDataplane?: pulumi.Input; + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; /** - * The mode the network plugin should use. + * Network plugin mode used for building the Kubernetes network. */ - networkPluginMode?: pulumi.Input; + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ @@ -77479,15 +81632,54 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230701.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), - natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230701.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), - networkPlugin: (val.networkPlugin) ?? "kubenet", + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230702preview.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230702preview.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", }; } + /** + * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. + */ + export interface ContainerServiceNetworkProfileIpvsConfigArgs { + /** + * IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. + */ + scheduler?: pulumi.Input; + /** + * The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value. + */ + tcpFinTimeoutSeconds?: pulumi.Input; + /** + * The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value. + */ + tcpTimeoutSeconds?: pulumi.Input; + /** + * The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value. + */ + udpTimeoutSeconds?: pulumi.Input; + } + + /** + * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. + */ + export interface ContainerServiceNetworkProfileKubeProxyConfigArgs { + /** + * Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations). + */ + enabled?: pulumi.Input; + /** + * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. + */ + ipvsConfig?: pulumi.Input; + /** + * Specify which proxy mode to use ('IPTABLES' or 'IPVS') + */ + mode?: pulumi.Input; + } + /** * SSH configuration for Linux-based VMs running on Azure. */ @@ -77495,7 +81687,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -77575,7 +81767,135 @@ export namespace containerservice { /** * The type of the extended location. */ - type?: pulumi.Input; + type?: pulumi.Input; + } + + /** + * The Guardrails profile. + */ + export interface GuardrailsProfileArgs { + /** + * List of namespaces excluded from guardrails checks + */ + excludedNamespaces?: pulumi.Input[]>; + /** + * The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces + */ + level: pulumi.Input; + /** + * The version of constraints to use + */ + version?: pulumi.Input; + } + + /** + * Contains the IPTag associated with the object. + */ + export interface IPTagArgs { + /** + * The IP tag type. Example: RoutingPreference. + */ + ipTagType?: pulumi.Input; + /** + * The value of the IP tag associated with the public IP. Example: Internet. + */ + tag?: pulumi.Input; + } + + /** + * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + */ + export interface IstioCertificateAuthorityArgs { + /** + * Plugin certificates information for Service Mesh. + */ + plugin?: pulumi.Input; + } + + /** + * Istio components configuration. + */ + export interface IstioComponentsArgs { + /** + * Istio egress gateways. + */ + egressGateways?: pulumi.Input[]>; + /** + * Istio ingress gateways. + */ + ingressGateways?: pulumi.Input[]>; + } + + /** + * Istio egress gateway configuration. + */ + export interface IstioEgressGatewayArgs { + /** + * Whether to enable the egress gateway. + */ + enabled: pulumi.Input; + /** + * NodeSelector for scheduling the egress gateway. + */ + nodeSelector?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + */ + export interface IstioIngressGatewayArgs { + /** + * Whether to enable the ingress gateway. + */ + enabled: pulumi.Input; + /** + * Mode of an ingress gateway. + */ + mode: pulumi.Input; + } + + /** + * Plugin certificates information for Service Mesh. + */ + export interface IstioPluginCertificateAuthorityArgs { + /** + * Certificate chain object name in Azure Key Vault. + */ + certChainObjectName?: pulumi.Input; + /** + * Intermediate certificate object name in Azure Key Vault. + */ + certObjectName?: pulumi.Input; + /** + * Intermediate certificate private key object name in Azure Key Vault. + */ + keyObjectName?: pulumi.Input; + /** + * The resource ID of the Key Vault. + */ + keyVaultId?: pulumi.Input; + /** + * Root certificate object name in Azure Key Vault. + */ + rootCertObjectName?: pulumi.Input; + } + + /** + * Istio service mesh configuration. + */ + export interface IstioServiceMeshArgs { + /** + * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + */ + certificateAuthority?: pulumi.Input; + /** + * Istio components configuration. + */ + components?: pulumi.Input; + /** + * The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + */ + revisions?: pulumi.Input[]>; } /** @@ -77639,7 +81959,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -77661,11 +81981,11 @@ export namespace containerservice { /** * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. */ - notAllowedDates?: pulumi.Input[]>; + notAllowedDates?: pulumi.Input[]>; /** * Recurrence schedule for the maintenance window. */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. */ @@ -77743,10 +82063,18 @@ export namespace containerservice { * Whether to create additional public FQDN for private cluster or not. */ enablePrivateClusterPublicFQDN?: pulumi.Input; + /** + * Whether to enable apiserver vnet integration for the cluster or not. + */ + enableVnetIntegration?: pulumi.Input; /** * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. */ privateDNSZone?: pulumi.Input; + /** + * It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable apiserver vnet integration. + */ + subnetId?: pulumi.Input; } /** @@ -77771,6 +82099,10 @@ export namespace containerservice { * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; + /** + * AKS will associate the specified agent pool with the Capacity Reservation Group. + */ + capacityReservationGroupID?: pulumi.Input; /** * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -77778,11 +82110,15 @@ export namespace containerservice { /** * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ - creationData?: pulumi.Input; + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ enableAutoScaling?: pulumi.Input; + /** + * When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false. + */ + enableCustomCATrust?: pulumi.Input; /** * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption */ @@ -77802,7 +82138,7 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; /** * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ @@ -77810,15 +82146,15 @@ export namespace containerservice { /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -77827,6 +82163,10 @@ export namespace containerservice { * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; + /** + * A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). + */ + messageOfTheDay?: pulumi.Input; /** * The minimum number of nodes for auto-scaling */ @@ -77834,11 +82174,15 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; + /** + * Network-related settings of an agent pool. + */ + networkProfile?: pulumi.Input; /** * The node labels to be persisted across all nodes in agent pool. */ @@ -77852,7 +82196,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -77862,15 +82206,15 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -77878,7 +82222,7 @@ export namespace containerservice { /** * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ - powerState?: pulumi.Input; + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ @@ -77886,15 +82230,19 @@ export namespace containerservice { /** * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. */ - scaleDownMode?: pulumi.Input; + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; + scaleSetPriority?: pulumi.Input; + /** + * The security settings of an agent pool. + */ + securityProfile?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -77906,11 +82254,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -77919,10 +82267,14 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; + /** + * The Windows agent pool's specific profile. + */ + windowsProfile?: pulumi.Input; /** * Determines the type of workload a node can run. */ - workloadRuntime?: pulumi.Input; + workloadRuntime?: pulumi.Input; } /** @@ -77930,51 +82282,131 @@ export namespace containerservice { */ export interface ManagedClusterAutoUpgradeProfileArgs { /** - * Manner in which the OS on your nodes is updated. The default is NodeImage. + * The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA. */ - nodeOSUpgradeChannel?: pulumi.Input; + nodeOSUpgradeChannel?: pulumi.Input; /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Azure Monitor addon profiles for monitoring the managed cluster. + * Prometheus addon profile for the container service cluster */ export interface ManagedClusterAzureMonitorProfileArgs { /** - * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + * Logs profile for the Azure Monitor Infrastructure and Application Logs. Collect out-of-the-box Kubernetes infrastructure & application logs to send to Azure Monitor. See aka.ms/AzureMonitorContainerInsights for an overview. */ - metrics?: pulumi.Input; + logs?: pulumi.Input; + /** + * Metrics profile for the prometheus service addon + */ + metrics?: pulumi.Input; } /** - * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + * Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. + */ + export interface ManagedClusterAzureMonitorProfileAppMonitoringArgs { + /** + * Indicates if Application Monitoring enabled or not. + */ + enabled?: pulumi.Input; + } + + /** + * Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects OpenTelemetry metrics through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. + */ + export interface ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetricsArgs { + /** + * Indicates if Application Monitoring Open Telemetry Metrics is enabled or not. + */ + enabled?: pulumi.Input; + } + + /** + * Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. + */ + export interface ManagedClusterAzureMonitorProfileContainerInsightsArgs { + /** + * Indicates if Azure Monitor Container Insights Logs Addon is enabled or not. + */ + enabled?: pulumi.Input; + /** + * Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing Azure Monitor Container Insights Logs. + */ + logAnalyticsWorkspaceResourceId?: pulumi.Input; + /** + * Windows Host Logs Profile for Kubernetes Windows Nodes Log Collection. Collects ETW, Event Logs and Text logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. + */ + windowsHostLogs?: pulumi.Input; + } + + /** + * Kube State Metrics for prometheus addon profile for the container service cluster */ export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { /** - * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric. */ metricAnnotationsAllowList?: pulumi.Input; /** - * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + * Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels metric. */ metricLabelsAllowlist?: pulumi.Input; } /** - * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + * Logs profile for the Azure Monitor Infrastructure and Application Logs. Collect out-of-the-box Kubernetes infrastructure & application logs to send to Azure Monitor. See aka.ms/AzureMonitorContainerInsights for an overview. + */ + export interface ManagedClusterAzureMonitorProfileLogsArgs { + /** + * Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. + */ + appMonitoring?: pulumi.Input; + /** + * Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. + */ + containerInsights?: pulumi.Input; + } + + /** + * Metrics profile for the prometheus service addon */ export interface ManagedClusterAzureMonitorProfileMetricsArgs { /** - * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + * Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects OpenTelemetry metrics through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. + */ + appMonitoringOpenTelemetryMetrics?: pulumi.Input; + /** + * Whether to enable the Prometheus collector */ enabled: pulumi.Input; /** - * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + * Kube State Metrics for prometheus addon profile for the container service cluster */ - kubeStateMetrics?: pulumi.Input; + kubeStateMetrics?: pulumi.Input; + } + + /** + * Windows Host Logs Profile for Kubernetes Windows Nodes Log Collection. Collects ETW, Event Logs and Text logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. + */ + export interface ManagedClusterAzureMonitorProfileWindowsHostLogsArgs { + /** + * Indicates if Windows Host Log Collection is enabled or not for Azure Monitor Container Insights Logs Addon. + */ + enabled?: pulumi.Input; + } + + /** + * The cost analysis configuration for the cluster + */ + export interface ManagedClusterCostAnalysisArgs { + /** + * The Managed Cluster sku.tier must be set to 'Standard' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis. + */ + enabled?: pulumi.Input; } /** @@ -78006,17 +82438,41 @@ export namespace containerservice { /** * The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. */ - delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; + delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } + /** + * Ingress profile for the container service cluster. + */ + export interface ManagedClusterIngressProfileArgs { + /** + * Web App Routing settings for the ingress profile. + */ + webAppRouting?: pulumi.Input; + } + + /** + * Web App Routing settings for the ingress profile. + */ + export interface ManagedClusterIngressProfileWebAppRoutingArgs { + /** + * Resource IDs of the public DNS zones to be associated with the Web App Routing add-on. Used only when Web App Routing is enabled. All public DNS zones must be in the same resource group. + */ + dnsZoneResourceIds?: pulumi.Input[]>; + /** + * Whether to enable Web App Routing. + */ + enabled?: pulumi.Input; + } + /** * Profile of the managed cluster load balancer. */ @@ -78025,10 +82481,14 @@ export namespace containerservice { * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ allocatedOutboundPorts?: pulumi.Input; + /** + * The type of the managed inbound Load Balancer BackendPool. + */ + backendPoolType?: pulumi.Input; /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Enable multiple standard load balancers per AKS cluster or not. */ @@ -78040,15 +82500,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -78057,8 +82517,9 @@ export namespace containerservice { return { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, + backendPoolType: (val.backendPoolType) ?? "NodeIPConfiguration", idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230701.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230702preview.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -78093,7 +82554,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -78103,7 +82564,7 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; } /** @@ -78125,6 +82586,16 @@ export namespace containerservice { }; } + /** + * The metrics profile for the ManagedCluster. + */ + export interface ManagedClusterMetricsProfileArgs { + /** + * The cost analysis configuration for the cluster + */ + costAnalysis?: pulumi.Input; + } + /** * Profile of the managed cluster NAT gateway. */ @@ -78132,7 +82603,7 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster NAT gateway. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. */ @@ -78140,7 +82611,7 @@ export namespace containerservice { /** * Profile of the managed outbound IP resources of the cluster NAT gateway. */ - managedOutboundIPProfile?: pulumi.Input; + managedOutboundIPProfile?: pulumi.Input; } /** * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs @@ -78149,10 +82620,20 @@ export namespace containerservice { return { ...val, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, - managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230701.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230702preview.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), }; } + /** + * Node resource group lockdown profile for a managed cluster. + */ + export interface ManagedClusterNodeResourceGroupProfileArgs { + /** + * The restriction level applied to the cluster's node resource group + */ + restrictionLevel?: pulumi.Input; + } + /** * The OIDC issuer profile of the Managed Cluster. */ @@ -78174,7 +82655,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -78218,11 +82699,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -78236,7 +82717,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -78306,11 +82787,11 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; + name?: pulumi.Input; /** * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -78320,19 +82801,31 @@ export namespace containerservice { /** * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - azureKeyVaultKms?: pulumi.Input; + azureKeyVaultKms?: pulumi.Input; + /** + * A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the Custom CA Trust feature enabled. For more information see [Custom CA Trust Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority) + */ + customCATrustCertificates?: pulumi.Input[]>; /** * Microsoft Defender settings for the security profile. */ - defender?: pulumi.Input; + defender?: pulumi.Input; /** * Image Cleaner settings for the security profile. */ - imageCleaner?: pulumi.Input; + imageCleaner?: pulumi.Input; + /** + * Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This will not have any effect unless Azure Policy is applied to enforce image signatures. See https://aka.ms/aks/image-integrity for how to use this feature via policy. + */ + imageIntegrity?: pulumi.Input; + /** + * [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile. + */ + nodeRestriction?: pulumi.Input; /** * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - workloadIdentity?: pulumi.Input; + workloadIdentity?: pulumi.Input; } /** * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs @@ -78340,7 +82833,7 @@ export namespace containerservice { export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { return { ...val, - azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230701.azureKeyVaultKmsArgsProvideDefaults) : undefined), + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230702preview.azureKeyVaultKmsArgsProvideDefaults) : undefined), }; } @@ -78355,7 +82848,7 @@ export namespace containerservice { /** * Microsoft Defender threat detection for Cloud settings for the security profile. */ - securityMonitoring?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** @@ -78382,6 +82875,26 @@ export namespace containerservice { intervalHours?: pulumi.Input; } + /** + * Image integrity related settings for the security profile. + */ + export interface ManagedClusterSecurityProfileImageIntegrityArgs { + /** + * Whether to enable image integrity. The default value is false. + */ + enabled?: pulumi.Input; + } + + /** + * Node Restriction settings for the security profile. + */ + export interface ManagedClusterSecurityProfileNodeRestrictionArgs { + /** + * Whether to enable Node Restriction + */ + enabled?: pulumi.Input; + } + /** * Workload identity settings for the security profile. */ @@ -78413,19 +82926,19 @@ export namespace containerservice { /** * AzureBlob CSI Driver settings for the storage profile. */ - blobCSIDriver?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** * AzureDisk CSI Driver settings for the storage profile. */ - diskCSIDriver?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** * AzureFile CSI Driver settings for the storage profile. */ - fileCSIDriver?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** * Snapshot Controller settings for the storage profile. */ - snapshotController?: pulumi.Input; + snapshotController?: pulumi.Input; } /** @@ -78446,6 +82959,10 @@ export namespace containerservice { * Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: pulumi.Input; + /** + * The version of AzureDisk CSI Driver. The default value is v1. + */ + version?: pulumi.Input; } /** @@ -78487,11 +83004,11 @@ export namespace containerservice { /** * The Windows gMSA Profile in the Managed Cluster. */ - gmsaProfile?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - licenseType?: pulumi.Input; + licenseType?: pulumi.Input; } /** @@ -78501,11 +83018,8 @@ export namespace containerservice { /** * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - keda?: pulumi.Input; - /** - * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. - */ - verticalPodAutoscaler?: pulumi.Input; + keda?: pulumi.Input; + verticalPodAutoscaler?: pulumi.Input; } /** * managedClusterWorkloadAutoScalerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileArgs @@ -78513,7 +83027,7 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileArgs): ManagedClusterWorkloadAutoScalerProfileArgs { return { ...val, - verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230701.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), + verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230702preview.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), }; } @@ -78527,9 +83041,6 @@ export namespace containerservice { enabled: pulumi.Input; } - /** - * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. - */ export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { /** * Whether to enable VPA. Default value is false. @@ -78546,6 +83057,34 @@ export namespace containerservice { }; } + /** + * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format + */ + export interface NetworkMonitoringArgs { + /** + * Enable or disable the network monitoring plugin on the cluster + */ + enabled?: pulumi.Input; + } + + /** + * The port range. + */ + export interface PortRangeArgs { + /** + * The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. + */ + portEnd?: pulumi.Input; + /** + * The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. + */ + portStart?: pulumi.Input; + /** + * The network protocol of the port. + */ + protocol?: pulumi.Input; + } + /** * Describes the Power State of the cluster */ @@ -78553,7 +83092,7 @@ export namespace containerservice { /** * Tells whether the cluster is Running or Stopped */ - code?: pulumi.Input; + code?: pulumi.Input; } /** @@ -78603,7 +83142,7 @@ export namespace containerservice { /** * The private link service connection status. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -78613,15 +83152,15 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of months between each set of occurrences. */ intervalMonths: pulumi.Input; /** - * Specifies on which week of the month the dayOfWeek applies. + * Specifies on which instance of the allowed days specified in daysOfWeek the maintenance occurs. */ - weekIndex: pulumi.Input; + weekIndex: pulumi.Input; } /** @@ -78641,19 +83180,33 @@ export namespace containerservice { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - absoluteMonthly?: pulumi.Input; + absoluteMonthly?: pulumi.Input; /** * For schedules like: 'recur every day' or 'recur every 3 days'. */ - daily?: pulumi.Input; + daily?: pulumi.Input; /** * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. */ - relativeMonthly?: pulumi.Input; + relativeMonthly?: pulumi.Input; /** * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. */ - weekly?: pulumi.Input; + weekly?: pulumi.Input; + } + + /** + * Service mesh profile for a managed cluster. + */ + export interface ServiceMeshProfileArgs { + /** + * Istio service mesh configuration. + */ + istio?: pulumi.Input; + /** + * Mode of the service mesh. + */ + mode: pulumi.Input; } /** @@ -78781,7 +83334,7 @@ export namespace containerservice { /** * The day of the week. */ - day?: pulumi.Input; + day?: pulumi.Input; /** * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ @@ -78841,7 +83394,7 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of weeks between each set of occurrences. */ @@ -78868,7 +83421,7 @@ export namespace containerservice { } - export namespace v20230702preview { + export namespace v20230801 { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ @@ -78883,34 +83436,6 @@ export namespace containerservice { intervalMonths: pulumi.Input; } - /** - * Network settings of an agent pool. - */ - export interface AgentPoolNetworkProfileArgs { - /** - * The port ranges that are allowed to access. The specified ranges are allowed to overlap. - */ - allowedHostPorts?: pulumi.Input[]>; - /** - * The IDs of the application security groups which agent pool will associate when created. - */ - applicationSecurityGroups?: pulumi.Input[]>; - /** - * IPTags of instance-level public IPs. - */ - nodePublicIPTags?: pulumi.Input[]>; - } - - /** - * The security settings of an agent pool. - */ - export interface AgentPoolSecurityProfileArgs { - /** - * SSH access method of an agent pool. - */ - sshAccess?: pulumi.Input; - } - /** * Settings for upgrading an agentpool */ @@ -78925,16 +83450,6 @@ export namespace containerservice { maxSurge?: pulumi.Input; } - /** - * The Windows agent pool's specific profile. - */ - export interface AgentPoolWindowsProfileArgs { - /** - * The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. - */ - disableOutboundNat?: pulumi.Input; - } - /** * Azure Key Vault key management service settings for the security profile. */ @@ -78950,7 +83465,7 @@ export namespace containerservice { /** * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. */ - keyVaultNetworkAccess?: pulumi.Input; + keyVaultNetworkAccess?: pulumi.Input; /** * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. */ @@ -78973,7 +83488,7 @@ export namespace containerservice { /** * Settings for overrides. */ - overrideSettings?: pulumi.Input; + overrideSettings?: pulumi.Input; } /** @@ -78987,7 +83502,7 @@ export namespace containerservice { /** * The SSH configuration for Linux-based VMs running on Azure. */ - ssh: pulumi.Input; + ssh: pulumi.Input; } /** @@ -79001,51 +83516,43 @@ export namespace containerservice { /** * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */ - ipFamilies?: pulumi.Input[]>; - /** - * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. - */ - kubeProxyConfig?: pulumi.Input; + ipFamilies?: pulumi.Input[]>; /** * Profile of the cluster load balancer. */ - loadBalancerProfile?: pulumi.Input; + loadBalancerProfile?: pulumi.Input; /** * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. */ - loadBalancerSku?: pulumi.Input; - /** - * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format - */ - monitoring?: pulumi.Input; + loadBalancerSku?: pulumi.Input; /** * Profile of the cluster NAT gateway. */ - natGatewayProfile?: pulumi.Input; + natGatewayProfile?: pulumi.Input; /** * Network dataplane used in the Kubernetes cluster. */ - networkDataplane?: pulumi.Input; + networkDataplane?: pulumi.Input; /** * This cannot be specified if networkPlugin is anything other than 'azure'. */ - networkMode?: pulumi.Input; + networkMode?: pulumi.Input; /** * Network plugin used for building the Kubernetes network. */ - networkPlugin?: pulumi.Input; + networkPlugin?: pulumi.Input; /** - * Network plugin mode used for building the Kubernetes network. + * The mode the network plugin should use. */ - networkPluginMode?: pulumi.Input; + networkPluginMode?: pulumi.Input; /** * Network policy used for building the Kubernetes network. */ - networkPolicy?: pulumi.Input; + networkPolicy?: pulumi.Input; /** * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). */ - outboundType?: pulumi.Input; + outboundType?: pulumi.Input; /** * A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ @@ -79070,54 +83577,15 @@ export namespace containerservice { return { ...val, dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", - loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230702preview.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), - natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230702preview.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), + loadBalancerProfile: (val.loadBalancerProfile ? pulumi.output(val.loadBalancerProfile).apply(inputs.containerservice.v20230801.managedClusterLoadBalancerProfileArgsProvideDefaults) : undefined), + natGatewayProfile: (val.natGatewayProfile ? pulumi.output(val.natGatewayProfile).apply(inputs.containerservice.v20230801.managedClusterNATGatewayProfileArgsProvideDefaults) : undefined), + networkPlugin: (val.networkPlugin) ?? "kubenet", outboundType: (val.outboundType) ?? "loadBalancer", podCidr: (val.podCidr) ?? "10.244.0.0/16", serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", }; } - /** - * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. - */ - export interface ContainerServiceNetworkProfileIpvsConfigArgs { - /** - * IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html. - */ - scheduler?: pulumi.Input; - /** - * The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value. - */ - tcpFinTimeoutSeconds?: pulumi.Input; - /** - * The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value. - */ - tcpTimeoutSeconds?: pulumi.Input; - /** - * The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value. - */ - udpTimeoutSeconds?: pulumi.Input; - } - - /** - * Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where is represented by a - string. Kubernetes version 1.23 would be '1-23'. - */ - export interface ContainerServiceNetworkProfileKubeProxyConfigArgs { - /** - * Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations). - */ - enabled?: pulumi.Input; - /** - * Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'. - */ - ipvsConfig?: pulumi.Input; - /** - * Specify which proxy mode to use ('IPTABLES' or 'IPVS') - */ - mode?: pulumi.Input; - } - /** * SSH configuration for Linux-based VMs running on Azure. */ @@ -79125,7 +83593,7 @@ export namespace containerservice { /** * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ - publicKeys: pulumi.Input[]>; + publicKeys: pulumi.Input[]>; } /** @@ -79205,39 +83673,7 @@ export namespace containerservice { /** * The type of the extended location. */ - type?: pulumi.Input; - } - - /** - * The Guardrails profile. - */ - export interface GuardrailsProfileArgs { - /** - * List of namespaces excluded from guardrails checks - */ - excludedNamespaces?: pulumi.Input[]>; - /** - * The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces - */ - level: pulumi.Input; - /** - * The version of constraints to use - */ - version?: pulumi.Input; - } - - /** - * Contains the IPTag associated with the object. - */ - export interface IPTagArgs { - /** - * The IP tag type. Example: RoutingPreference. - */ - ipTagType?: pulumi.Input; - /** - * The value of the IP tag associated with the public IP. Example: Internet. - */ - tag?: pulumi.Input; + type?: pulumi.Input; } /** @@ -79247,7 +83683,7 @@ export namespace containerservice { /** * Plugin certificates information for Service Mesh. */ - plugin?: pulumi.Input; + plugin?: pulumi.Input; } /** @@ -79257,11 +83693,11 @@ export namespace containerservice { /** * Istio egress gateways. */ - egressGateways?: pulumi.Input[]>; + egressGateways?: pulumi.Input[]>; /** * Istio ingress gateways. */ - ingressGateways?: pulumi.Input[]>; + ingressGateways?: pulumi.Input[]>; } /** @@ -79289,7 +83725,7 @@ export namespace containerservice { /** * Mode of an ingress gateway. */ - mode: pulumi.Input; + mode: pulumi.Input; } /** @@ -79325,11 +83761,11 @@ export namespace containerservice { /** * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca */ - certificateAuthority?: pulumi.Input; + certificateAuthority?: pulumi.Input; /** * Istio components configuration. */ - components?: pulumi.Input; + components?: pulumi.Input; /** * The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade */ @@ -79397,7 +83833,7 @@ export namespace containerservice { /** * Sysctl settings for Linux agent nodes. */ - sysctls?: pulumi.Input; + sysctls?: pulumi.Input; /** * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ @@ -79419,11 +83855,11 @@ export namespace containerservice { /** * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. */ - notAllowedDates?: pulumi.Input[]>; + notAllowedDates?: pulumi.Input[]>; /** * Recurrence schedule for the maintenance window. */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. */ @@ -79501,18 +83937,10 @@ export namespace containerservice { * Whether to create additional public FQDN for private cluster or not. */ enablePrivateClusterPublicFQDN?: pulumi.Input; - /** - * Whether to enable apiserver vnet integration for the cluster or not. - */ - enableVnetIntegration?: pulumi.Input; /** * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. */ privateDNSZone?: pulumi.Input; - /** - * It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable apiserver vnet integration. - */ - subnetId?: pulumi.Input; } /** @@ -79537,10 +83965,6 @@ export namespace containerservice { * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ availabilityZones?: pulumi.Input[]>; - /** - * AKS will associate the specified agent pool with the Capacity Reservation Group. - */ - capacityReservationGroupID?: pulumi.Input; /** * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -79548,15 +83972,11 @@ export namespace containerservice { /** * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ - creationData?: pulumi.Input; + creationData?: pulumi.Input; /** * Whether to enable auto-scaler */ enableAutoScaling?: pulumi.Input; - /** - * When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false. - */ - enableCustomCATrust?: pulumi.Input; /** * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption */ @@ -79576,7 +83996,7 @@ export namespace containerservice { /** * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. */ - gpuInstanceProfile?: pulumi.Input; + gpuInstanceProfile?: pulumi.Input; /** * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ @@ -79584,15 +84004,15 @@ export namespace containerservice { /** * The Kubelet configuration on the agent pool nodes. */ - kubeletConfig?: pulumi.Input; + kubeletConfig?: pulumi.Input; /** * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. */ - kubeletDiskType?: pulumi.Input; + kubeletDiskType?: pulumi.Input; /** * The OS configuration of Linux agent nodes. */ - linuxOSConfig?: pulumi.Input; + linuxOSConfig?: pulumi.Input; /** * The maximum number of nodes for auto-scaling */ @@ -79601,10 +84021,6 @@ export namespace containerservice { * The maximum number of pods that can run on a node. */ maxPods?: pulumi.Input; - /** - * A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). - */ - messageOfTheDay?: pulumi.Input; /** * The minimum number of nodes for auto-scaling */ @@ -79612,15 +84028,11 @@ export namespace containerservice { /** * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Windows agent pool names must be 6 characters or less. */ name: pulumi.Input; - /** - * Network-related settings of an agent pool. - */ - networkProfile?: pulumi.Input; /** * The node labels to be persisted across all nodes in agent pool. */ @@ -79634,7 +84046,7 @@ export namespace containerservice { */ nodeTaints?: pulumi.Input[]>; /** - * Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: pulumi.Input; /** @@ -79644,15 +84056,15 @@ export namespace containerservice { /** * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). */ - osDiskType?: pulumi.Input; + osDiskType?: pulumi.Input; /** - * Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. */ - osSKU?: pulumi.Input; + osSKU?: pulumi.Input; /** * The operating system type. The default is Linux. */ - osType?: pulumi.Input; + osType?: pulumi.Input; /** * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -79660,7 +84072,7 @@ export namespace containerservice { /** * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ - powerState?: pulumi.Input; + powerState?: pulumi.Input; /** * The ID for Proximity Placement Group. */ @@ -79668,19 +84080,15 @@ export namespace containerservice { /** * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. */ - scaleDownMode?: pulumi.Input; + scaleDownMode?: pulumi.Input; /** * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. */ - scaleSetEvictionPolicy?: pulumi.Input; + scaleSetEvictionPolicy?: pulumi.Input; /** * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. */ - scaleSetPriority?: pulumi.Input; - /** - * The security settings of an agent pool. - */ - securityProfile?: pulumi.Input; + scaleSetPriority?: pulumi.Input; /** * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) */ @@ -79692,11 +84100,11 @@ export namespace containerservice { /** * The type of Agent Pool. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Settings for upgrading the agentpool */ - upgradeSettings?: pulumi.Input; + upgradeSettings?: pulumi.Input; /** * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -79705,14 +84113,10 @@ export namespace containerservice { * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: pulumi.Input; - /** - * The Windows agent pool's specific profile. - */ - windowsProfile?: pulumi.Input; /** * Determines the type of workload a node can run. */ - workloadRuntime?: pulumi.Input; + workloadRuntime?: pulumi.Input; } /** @@ -79720,131 +84124,51 @@ export namespace containerservice { */ export interface ManagedClusterAutoUpgradeProfileArgs { /** - * The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA. + * Manner in which the OS on your nodes is updated. The default is NodeImage. */ - nodeOSUpgradeChannel?: pulumi.Input; + nodeOSUpgradeChannel?: pulumi.Input; /** * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - upgradeChannel?: pulumi.Input; + upgradeChannel?: pulumi.Input; } /** - * Prometheus addon profile for the container service cluster + * Azure Monitor addon profiles for monitoring the managed cluster. */ export interface ManagedClusterAzureMonitorProfileArgs { /** - * Logs profile for the Azure Monitor Infrastructure and Application Logs. Collect out-of-the-box Kubernetes infrastructure & application logs to send to Azure Monitor. See aka.ms/AzureMonitorContainerInsights for an overview. - */ - logs?: pulumi.Input; - /** - * Metrics profile for the prometheus service addon - */ - metrics?: pulumi.Input; - } - - /** - * Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. - */ - export interface ManagedClusterAzureMonitorProfileAppMonitoringArgs { - /** - * Indicates if Application Monitoring enabled or not. - */ - enabled?: pulumi.Input; - } - - /** - * Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects OpenTelemetry metrics through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. - */ - export interface ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetricsArgs { - /** - * Indicates if Application Monitoring Open Telemetry Metrics is enabled or not. - */ - enabled?: pulumi.Input; - } - - /** - * Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. - */ - export interface ManagedClusterAzureMonitorProfileContainerInsightsArgs { - /** - * Indicates if Azure Monitor Container Insights Logs Addon is enabled or not. - */ - enabled?: pulumi.Input; - /** - * Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing Azure Monitor Container Insights Logs. - */ - logAnalyticsWorkspaceResourceId?: pulumi.Input; - /** - * Windows Host Logs Profile for Kubernetes Windows Nodes Log Collection. Collects ETW, Event Logs and Text logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ - windowsHostLogs?: pulumi.Input; + metrics?: pulumi.Input; } /** - * Kube State Metrics for prometheus addon profile for the container service cluster + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ export interface ManagedClusterAzureMonitorProfileKubeStateMetricsArgs { /** - * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric. + * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. */ metricAnnotationsAllowList?: pulumi.Input; /** - * Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels metric. + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. */ metricLabelsAllowlist?: pulumi.Input; } /** - * Logs profile for the Azure Monitor Infrastructure and Application Logs. Collect out-of-the-box Kubernetes infrastructure & application logs to send to Azure Monitor. See aka.ms/AzureMonitorContainerInsights for an overview. - */ - export interface ManagedClusterAzureMonitorProfileLogsArgs { - /** - * Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. - */ - appMonitoring?: pulumi.Input; - /** - * Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. - */ - containerInsights?: pulumi.Input; - } - - /** - * Metrics profile for the prometheus service addon + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ export interface ManagedClusterAzureMonitorProfileMetricsArgs { /** - * Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects OpenTelemetry metrics through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See aka.ms/AzureMonitorApplicationMonitoring for an overview. - */ - appMonitoringOpenTelemetryMetrics?: pulumi.Input; - /** - * Whether to enable the Prometheus collector + * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. */ enabled: pulumi.Input; /** - * Kube State Metrics for prometheus addon profile for the container service cluster - */ - kubeStateMetrics?: pulumi.Input; - } - - /** - * Windows Host Logs Profile for Kubernetes Windows Nodes Log Collection. Collects ETW, Event Logs and Text logs etc. See aka.ms/AzureMonitorContainerInsights for an overview. - */ - export interface ManagedClusterAzureMonitorProfileWindowsHostLogsArgs { - /** - * Indicates if Windows Host Log Collection is enabled or not for Azure Monitor Container Insights Logs Addon. - */ - enabled?: pulumi.Input; - } - - /** - * The cost analysis configuration for the cluster - */ - export interface ManagedClusterCostAnalysisArgs { - /** - * The Managed Cluster sku.tier must be set to 'Standard' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis. + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ - enabled?: pulumi.Input; + kubeStateMetrics?: pulumi.Input; } /** @@ -79876,41 +84200,17 @@ export namespace containerservice { /** * The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. */ - delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; + delegatedResources?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } - /** - * Ingress profile for the container service cluster. - */ - export interface ManagedClusterIngressProfileArgs { - /** - * Web App Routing settings for the ingress profile. - */ - webAppRouting?: pulumi.Input; - } - - /** - * Web App Routing settings for the ingress profile. - */ - export interface ManagedClusterIngressProfileWebAppRoutingArgs { - /** - * Resource IDs of the public DNS zones to be associated with the Web App Routing add-on. Used only when Web App Routing is enabled. All public DNS zones must be in the same resource group. - */ - dnsZoneResourceIds?: pulumi.Input[]>; - /** - * Whether to enable Web App Routing. - */ - enabled?: pulumi.Input; - } - /** * Profile of the managed cluster load balancer. */ @@ -79919,14 +84219,10 @@ export namespace containerservice { * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ allocatedOutboundPorts?: pulumi.Input; - /** - * The type of the managed inbound Load Balancer BackendPool. - */ - backendPoolType?: pulumi.Input; /** * The effective outbound IP resources of the cluster load balancer. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Enable multiple standard load balancers per AKS cluster or not. */ @@ -79938,15 +84234,15 @@ export namespace containerservice { /** * Desired managed outbound IPs for the cluster load balancer. */ - managedOutboundIPs?: pulumi.Input; + managedOutboundIPs?: pulumi.Input; /** * Desired outbound IP Prefix resources for the cluster load balancer. */ - outboundIPPrefixes?: pulumi.Input; + outboundIPPrefixes?: pulumi.Input; /** * Desired outbound IP resources for the cluster load balancer. */ - outboundIPs?: pulumi.Input; + outboundIPs?: pulumi.Input; } /** * managedClusterLoadBalancerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileArgs @@ -79955,9 +84251,8 @@ export namespace containerservice { return { ...val, allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, - backendPoolType: (val.backendPoolType) ?? "NodeIPConfiguration", idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, - managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230702preview.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), + managedOutboundIPs: (val.managedOutboundIPs ? pulumi.output(val.managedOutboundIPs).apply(inputs.containerservice.v20230801.managedClusterLoadBalancerProfileManagedOutboundIPsArgsProvideDefaults) : undefined), }; } @@ -79992,7 +84287,7 @@ export namespace containerservice { /** * A list of public IP prefix resources. */ - publicIPPrefixes?: pulumi.Input[]>; + publicIPPrefixes?: pulumi.Input[]>; } /** @@ -80002,7 +84297,7 @@ export namespace containerservice { /** * A list of public IP resources. */ - publicIPs?: pulumi.Input[]>; + publicIPs?: pulumi.Input[]>; } /** @@ -80024,16 +84319,6 @@ export namespace containerservice { }; } - /** - * The metrics profile for the ManagedCluster. - */ - export interface ManagedClusterMetricsProfileArgs { - /** - * The cost analysis configuration for the cluster - */ - costAnalysis?: pulumi.Input; - } - /** * Profile of the managed cluster NAT gateway. */ @@ -80041,7 +84326,7 @@ export namespace containerservice { /** * The effective outbound IP resources of the cluster NAT gateway. */ - effectiveOutboundIPs?: pulumi.Input[]>; + effectiveOutboundIPs?: pulumi.Input[]>; /** * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. */ @@ -80049,7 +84334,7 @@ export namespace containerservice { /** * Profile of the managed outbound IP resources of the cluster NAT gateway. */ - managedOutboundIPProfile?: pulumi.Input; + managedOutboundIPProfile?: pulumi.Input; } /** * managedClusterNATGatewayProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileArgs @@ -80058,20 +84343,10 @@ export namespace containerservice { return { ...val, idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, - managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230702preview.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), + managedOutboundIPProfile: (val.managedOutboundIPProfile ? pulumi.output(val.managedOutboundIPProfile).apply(inputs.containerservice.v20230801.managedClusterManagedOutboundIPProfileArgsProvideDefaults) : undefined), }; } - /** - * Node resource group lockdown profile for a managed cluster. - */ - export interface ManagedClusterNodeResourceGroupProfileArgs { - /** - * The restriction level applied to the cluster's node resource group - */ - restrictionLevel?: pulumi.Input; - } - /** * The OIDC issuer profile of the Managed Cluster. */ @@ -80093,7 +84368,7 @@ export namespace containerservice { /** * The user assigned identity details. */ - identity: pulumi.Input; + identity: pulumi.Input; /** * The name of the pod identity. */ @@ -80137,11 +84412,11 @@ export namespace containerservice { /** * The pod identities to use in the cluster. */ - userAssignedIdentities?: pulumi.Input[]>; + userAssignedIdentities?: pulumi.Input[]>; /** * The pod identity exceptions to allow. */ - userAssignedIdentityExceptions?: pulumi.Input[]>; + userAssignedIdentityExceptions?: pulumi.Input[]>; } /** @@ -80155,7 +84430,7 @@ export namespace containerservice { /** * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ - expander?: pulumi.Input; + expander?: pulumi.Input; /** * The default is 10. */ @@ -80225,11 +84500,11 @@ export namespace containerservice { /** * The name of a managed cluster SKU. */ - name?: pulumi.Input; + name?: pulumi.Input; /** * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -80239,31 +84514,19 @@ export namespace containerservice { /** * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ - azureKeyVaultKms?: pulumi.Input; - /** - * A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the Custom CA Trust feature enabled. For more information see [Custom CA Trust Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority) - */ - customCATrustCertificates?: pulumi.Input[]>; + azureKeyVaultKms?: pulumi.Input; /** * Microsoft Defender settings for the security profile. */ - defender?: pulumi.Input; + defender?: pulumi.Input; /** * Image Cleaner settings for the security profile. */ - imageCleaner?: pulumi.Input; - /** - * Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This will not have any effect unless Azure Policy is applied to enforce image signatures. See https://aka.ms/aks/image-integrity for how to use this feature via policy. - */ - imageIntegrity?: pulumi.Input; - /** - * [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile. - */ - nodeRestriction?: pulumi.Input; + imageCleaner?: pulumi.Input; /** * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. */ - workloadIdentity?: pulumi.Input; + workloadIdentity?: pulumi.Input; } /** * managedClusterSecurityProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileArgs @@ -80271,7 +84534,7 @@ export namespace containerservice { export function managedClusterSecurityProfileArgsProvideDefaults(val: ManagedClusterSecurityProfileArgs): ManagedClusterSecurityProfileArgs { return { ...val, - azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230702preview.azureKeyVaultKmsArgsProvideDefaults) : undefined), + azureKeyVaultKms: (val.azureKeyVaultKms ? pulumi.output(val.azureKeyVaultKms).apply(inputs.containerservice.v20230801.azureKeyVaultKmsArgsProvideDefaults) : undefined), }; } @@ -80286,7 +84549,7 @@ export namespace containerservice { /** * Microsoft Defender threat detection for Cloud settings for the security profile. */ - securityMonitoring?: pulumi.Input; + securityMonitoring?: pulumi.Input; } /** @@ -80313,26 +84576,6 @@ export namespace containerservice { intervalHours?: pulumi.Input; } - /** - * Image integrity related settings for the security profile. - */ - export interface ManagedClusterSecurityProfileImageIntegrityArgs { - /** - * Whether to enable image integrity. The default value is false. - */ - enabled?: pulumi.Input; - } - - /** - * Node Restriction settings for the security profile. - */ - export interface ManagedClusterSecurityProfileNodeRestrictionArgs { - /** - * Whether to enable Node Restriction - */ - enabled?: pulumi.Input; - } - /** * Workload identity settings for the security profile. */ @@ -80364,19 +84607,19 @@ export namespace containerservice { /** * AzureBlob CSI Driver settings for the storage profile. */ - blobCSIDriver?: pulumi.Input; + blobCSIDriver?: pulumi.Input; /** * AzureDisk CSI Driver settings for the storage profile. */ - diskCSIDriver?: pulumi.Input; + diskCSIDriver?: pulumi.Input; /** * AzureFile CSI Driver settings for the storage profile. */ - fileCSIDriver?: pulumi.Input; + fileCSIDriver?: pulumi.Input; /** * Snapshot Controller settings for the storage profile. */ - snapshotController?: pulumi.Input; + snapshotController?: pulumi.Input; } /** @@ -80397,10 +84640,6 @@ export namespace containerservice { * Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: pulumi.Input; - /** - * The version of AzureDisk CSI Driver. The default value is v1. - */ - version?: pulumi.Input; } /** @@ -80442,11 +84681,11 @@ export namespace containerservice { /** * The Windows gMSA Profile in the Managed Cluster. */ - gmsaProfile?: pulumi.Input; + gmsaProfile?: pulumi.Input; /** * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. */ - licenseType?: pulumi.Input; + licenseType?: pulumi.Input; } /** @@ -80456,8 +84695,11 @@ export namespace containerservice { /** * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - keda?: pulumi.Input; - verticalPodAutoscaler?: pulumi.Input; + keda?: pulumi.Input; + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ + verticalPodAutoscaler?: pulumi.Input; } /** * managedClusterWorkloadAutoScalerProfileArgsProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileArgs @@ -80465,7 +84707,7 @@ export namespace containerservice { export function managedClusterWorkloadAutoScalerProfileArgsProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileArgs): ManagedClusterWorkloadAutoScalerProfileArgs { return { ...val, - verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230702preview.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), + verticalPodAutoscaler: (val.verticalPodAutoscaler ? pulumi.output(val.verticalPodAutoscaler).apply(inputs.containerservice.v20230801.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgsProvideDefaults) : undefined), }; } @@ -80479,6 +84721,9 @@ export namespace containerservice { enabled: pulumi.Input; } + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs { /** * Whether to enable VPA. Default value is false. @@ -80495,34 +84740,6 @@ export namespace containerservice { }; } - /** - * This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format - */ - export interface NetworkMonitoringArgs { - /** - * Enable or disable the network monitoring plugin on the cluster - */ - enabled?: pulumi.Input; - } - - /** - * The port range. - */ - export interface PortRangeArgs { - /** - * The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. - */ - portEnd?: pulumi.Input; - /** - * The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. - */ - portStart?: pulumi.Input; - /** - * The network protocol of the port. - */ - protocol?: pulumi.Input; - } - /** * Describes the Power State of the cluster */ @@ -80530,7 +84747,7 @@ export namespace containerservice { /** * Tells whether the cluster is Running or Stopped */ - code?: pulumi.Input; + code?: pulumi.Input; } /** @@ -80580,7 +84797,7 @@ export namespace containerservice { /** * The private link service connection status. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -80590,15 +84807,15 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of months between each set of occurrences. */ intervalMonths: pulumi.Input; /** - * Specifies on which instance of the allowed days specified in daysOfWeek the maintenance occurs. + * Specifies on which week of the month the dayOfWeek applies. */ - weekIndex: pulumi.Input; + weekIndex: pulumi.Input; } /** @@ -80618,19 +84835,19 @@ export namespace containerservice { /** * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - absoluteMonthly?: pulumi.Input; + absoluteMonthly?: pulumi.Input; /** * For schedules like: 'recur every day' or 'recur every 3 days'. */ - daily?: pulumi.Input; + daily?: pulumi.Input; /** * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. */ - relativeMonthly?: pulumi.Input; + relativeMonthly?: pulumi.Input; /** * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. */ - weekly?: pulumi.Input; + weekly?: pulumi.Input; } /** @@ -80640,11 +84857,11 @@ export namespace containerservice { /** * Istio service mesh configuration. */ - istio?: pulumi.Input; + istio?: pulumi.Input; /** * Mode of the service mesh. */ - mode: pulumi.Input; + mode: pulumi.Input; } /** @@ -80772,7 +84989,7 @@ export namespace containerservice { /** * The day of the week. */ - day?: pulumi.Input; + day?: pulumi.Input; /** * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. */ @@ -80832,7 +85049,7 @@ export namespace containerservice { /** * Specifies on which day of the week the maintenance occurs. */ - dayOfWeek: pulumi.Input; + dayOfWeek: pulumi.Input; /** * Specifies the number of weeks between each set of occurrences. */ @@ -80858,6 +85075,158 @@ export namespace containerservice { } } + + export namespace v20230815preview { + /** + * Access profile for the Fleet hub API server. + */ + export interface APIServerAccessProfileArgs { + /** + * Whether to create the Fleet hub as a private cluster or not. + */ + enablePrivateCluster?: pulumi.Input; + /** + * Whether to enable apiserver vnet integration for the Fleet hub or not. + */ + enableVnetIntegration?: pulumi.Input; + /** + * The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + */ + subnetId?: pulumi.Input; + } + + /** + * Agent profile for the Fleet hub. + */ + export interface AgentProfileArgs { + /** + * The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + */ + subnetId?: pulumi.Input; + /** + * The virtual machine size of the Fleet hub. + */ + vmSize?: pulumi.Input; + } + + /** + * The FleetHubProfile configures the fleet hub. + */ + export interface FleetHubProfileArgs { + /** + * The agent profile for the Fleet hub. + */ + agentProfile?: pulumi.Input; + /** + * The access profile for the Fleet hub API server. + */ + apiServerAccessProfile?: pulumi.Input; + /** + * DNS prefix used to create the FQDN for the Fleet hub. + */ + dnsPrefix?: pulumi.Input; + } + + /** + * The update to be applied to the ManagedClusters. + */ + export interface ManagedClusterUpdateArgs { + /** + * The node image upgrade to be applied to the target nodes in update run. + */ + nodeImageSelection?: pulumi.Input; + /** + * The upgrade to apply to the ManagedClusters. + */ + upgrade: pulumi.Input; + } + + /** + * The upgrade to apply to a ManagedCluster. + */ + export interface ManagedClusterUpgradeSpecArgs { + /** + * The Kubernetes version to upgrade the member clusters to. + */ + kubernetesVersion?: pulumi.Input; + /** + * The upgrade type. + * Full requires the KubernetesVersion property to be set. + * NodeImageOnly requires the KubernetesVersion property not to be set. + */ + type: pulumi.Input; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityArgs { + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The node image upgrade to be applied to the target nodes in update run. + */ + export interface NodeImageSelectionArgs { + /** + * The node image upgrade type. + */ + type: pulumi.Input; + } + + /** + * A group to be updated. + */ + export interface UpdateGroupArgs { + /** + * Name of the group. + * It must match a group name of an existing fleet member. + */ + name: pulumi.Input; + } + + /** + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. + */ + export interface UpdateRunStrategyArgs { + /** + * The list of stages that compose this update run. Min size: 1. + */ + stages: pulumi.Input[]>; + } + + /** + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + */ + export interface UpdateStageArgs { + /** + * The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + */ + afterStageWaitInSeconds?: pulumi.Input; + /** + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + */ + groups?: pulumi.Input[]>; + /** + * The name of the stage. Must be unique within the UpdateRun. + */ + name: pulumi.Input; + } + + } } export namespace containerstorage { @@ -148138,11 +152507,697 @@ export namespace dataprotection { /** * BackupParameters base */ - backupParameters?: pulumi.Input; + backupParameters?: pulumi.Input; + /** + * DataStoreInfo base + */ + dataStore: pulumi.Input; + name: pulumi.Input; + /** + * + * Expected value is 'AzureBackupRule'. + */ + objectType: pulumi.Input<"AzureBackupRule">; + /** + * Trigger context + */ + trigger: pulumi.Input; + } + + /** + * Settings for Azure Monitor based alerts + */ + export interface AzureMonitorAlertSettingsArgs { + alertsForAllJobFailures?: pulumi.Input; + } + + /** + * Parameters for Operational-Tier DataStore + */ + export interface AzureOperationalStoreParametersArgs { + /** + * type of datastore; Operational/Vault/Archive + */ + dataStoreType: pulumi.Input; + /** + * Type of the specific object - used for deserializing + * Expected value is 'AzureOperationalStoreParameters'. + */ + objectType: pulumi.Input<"AzureOperationalStoreParameters">; + /** + * Gets or sets the Snapshot Resource Group Uri. + */ + resourceGroupId?: pulumi.Input; + } + + /** + * Azure retention rule + */ + export interface AzureRetentionRuleArgs { + isDefault?: pulumi.Input; + lifecycles: pulumi.Input[]>; + name: pulumi.Input; + /** + * + * Expected value is 'AzureRetentionRule'. + */ + objectType: pulumi.Input<"AzureRetentionRule">; + } + + /** + * Backup Instance + */ + export interface BackupInstanceArgs { + /** + * Gets or sets the data source information. + */ + dataSourceInfo: pulumi.Input; + /** + * Gets or sets the data source set information. + */ + dataSourceSetInfo?: pulumi.Input; + /** + * Credentials to use to authenticate with data source provider. + */ + datasourceAuthCredentials?: pulumi.Input; + /** + * Gets or sets the Backup Instance friendly name. + */ + friendlyName?: pulumi.Input; + objectType: pulumi.Input; + /** + * Gets or sets the policy information. + */ + policyInfo: pulumi.Input; + /** + * Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + */ + validationType?: pulumi.Input; + } + + /** + * Rule based backup policy + */ + export interface BackupPolicyArgs { + /** + * Type of datasource for the backup management + */ + datasourceTypes: pulumi.Input[]>; + /** + * + * Expected value is 'BackupPolicy'. + */ + objectType: pulumi.Input<"BackupPolicy">; + /** + * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + */ + policyRules: pulumi.Input[]>; + } + + /** + * Schedule for backup + */ + export interface BackupScheduleArgs { + /** + * ISO 8601 repeating time interval format + */ + repeatingTimeIntervals: pulumi.Input[]>; + /** + * Time zone for a schedule. Example: Pacific Standard Time + */ + timeZone?: pulumi.Input; + } + + /** + * Backup Vault + */ + export interface BackupVaultArgs { + /** + * Feature Settings + */ + featureSettings?: pulumi.Input; + /** + * Monitoring Settings + */ + monitoringSettings?: pulumi.Input; + /** + * Security Settings + */ + securitySettings?: pulumi.Input; + /** + * Storage Settings + */ + storageSettings: pulumi.Input[]>; + } + + /** + * Parameters to be used during configuration of backup of blobs + */ + export interface BlobBackupDatasourceParametersArgs { + /** + * List of containers to be backed up during configuration of backup of blobs + */ + containersList: pulumi.Input[]>; + /** + * Type of the specific object - used for deserializing + * Expected value is 'BlobBackupDatasourceParameters'. + */ + objectType: pulumi.Input<"BlobBackupDatasourceParameters">; + } + + /** + * Copy on Expiry Option + */ + export interface CopyOnExpiryOptionArgs { + /** + * Type of the specific object - used for deserializing + * Expected value is 'CopyOnExpiryOption'. + */ + objectType: pulumi.Input<"CopyOnExpiryOption">; + } + + /** + * CrossSubscriptionRestore Settings + */ + export interface CrossSubscriptionRestoreSettingsArgs { + /** + * CrossSubscriptionRestore state + */ + state?: pulumi.Input; + } + + /** + * Duration based custom options to copy + */ + export interface CustomCopyOptionArgs { + /** + * Data copied after given timespan + */ + duration?: pulumi.Input; + /** + * Type of the specific object - used for deserializing + * Expected value is 'CustomCopyOption'. + */ + objectType: pulumi.Input<"CustomCopyOption">; + } + + /** + * DataStoreInfo base + */ + export interface DataStoreInfoBaseArgs { + /** + * type of datastore; Operational/Vault/Archive + */ + dataStoreType: pulumi.Input; + /** + * Type of Datasource object, used to initialize the right inherited type + */ + objectType: pulumi.Input; + } + + /** + * Datasource to be backed up + */ + export interface DatasourceArgs { + /** + * DatasourceType of the resource. + */ + datasourceType?: pulumi.Input; + /** + * Type of Datasource object, used to initialize the right inherited type + */ + objectType?: pulumi.Input; + /** + * Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + */ + resourceID: pulumi.Input; + /** + * Location of datasource. + */ + resourceLocation?: pulumi.Input; + /** + * Unique identifier of the resource in the context of parent. + */ + resourceName?: pulumi.Input; + /** + * Resource Type of Datasource. + */ + resourceType?: pulumi.Input; + /** + * Uri of the resource. + */ + resourceUri?: pulumi.Input; + } + + /** + * DatasourceSet details of datasource to be backed up + */ + export interface DatasourceSetArgs { + /** + * DatasourceType of the resource. + */ + datasourceType?: pulumi.Input; + /** + * Type of Datasource object, used to initialize the right inherited type + */ + objectType?: pulumi.Input; + /** + * Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + */ + resourceID: pulumi.Input; + /** + * Location of datasource. + */ + resourceLocation?: pulumi.Input; + /** + * Unique identifier of the resource in the context of parent. + */ + resourceName?: pulumi.Input; + /** + * Resource Type of Datasource. + */ + resourceType?: pulumi.Input; + /** + * Uri of the resource. + */ + resourceUri?: pulumi.Input; + } + + /** + * Day of the week + */ + export interface DayArgs { + /** + * Date of the month + */ + date?: pulumi.Input; + /** + * Whether Date is last date of month + */ + isLast?: pulumi.Input; + } + + /** + * Identity details + */ + export interface DppIdentityDetailsArgs { + /** + * The identityType which can be either SystemAssigned or None + */ + type?: pulumi.Input; + } + + /** + * Class containing feature settings of vault + */ + export interface FeatureSettingsArgs { + /** + * CrossSubscriptionRestore Settings + */ + crossSubscriptionRestoreSettings?: pulumi.Input; + } + + /** + * Immediate copy Option + */ + export interface ImmediateCopyOptionArgs { + /** + * Type of the specific object - used for deserializing + * Expected value is 'ImmediateCopyOption'. + */ + objectType: pulumi.Input<"ImmediateCopyOption">; + } + + /** + * Immutability Settings at vault level + */ + export interface ImmutabilitySettingsArgs { + /** + * Immutability state + */ + state?: pulumi.Input; + } + + /** + * Parameters for Kubernetes Cluster Backup Datasource + */ + export interface KubernetesClusterBackupDatasourceParametersArgs { + /** + * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. + */ + excludedNamespaces?: pulumi.Input[]>; + /** + * Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore. + */ + excludedResourceTypes?: pulumi.Input[]>; + /** + * Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore. + */ + includeClusterScopeResources: pulumi.Input; + /** + * Gets or sets the include namespaces property. This property sets the namespaces to be included during restore. + */ + includedNamespaces?: pulumi.Input[]>; + /** + * Gets or sets the include resource types property. This property sets the resource types to be included during restore. + */ + includedResourceTypes?: pulumi.Input[]>; + /** + * Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. + */ + labelSelectors?: pulumi.Input[]>; + /** + * Type of the specific object - used for deserializing + * Expected value is 'KubernetesClusterBackupDatasourceParameters'. + */ + objectType: pulumi.Input<"KubernetesClusterBackupDatasourceParameters">; + /** + * Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore. + */ + snapshotVolumes: pulumi.Input; + } + + /** + * Monitoring Settings + */ + export interface MonitoringSettingsArgs { + /** + * Settings for Azure Monitor based alerts + */ + azureMonitorAlertSettings?: pulumi.Input; + } + + /** + * Policy Info in backupInstance + */ + export interface PolicyInfoArgs { + policyId: pulumi.Input; + /** + * Policy parameters for the backup instance + */ + policyParameters?: pulumi.Input; + } + + /** + * Parameters in Policy + */ + export interface PolicyParametersArgs { + /** + * Gets or sets the Backup Data Source Parameters + */ + backupDatasourceParametersList?: pulumi.Input[]>; + /** + * Gets or sets the DataStore Parameters + */ + dataStoreParametersList?: pulumi.Input[]>; + } + + export interface ResourceGuardArgs { + /** + * List of critical operations which are not protected by this resourceGuard + */ + vaultCriticalOperationExclusionList?: pulumi.Input[]>; + } + + /** + * VaultCritical Operation protected by a resource guard + */ + export interface ResourceGuardOperationDetailArgs { + defaultResourceRequest?: pulumi.Input; + vaultCriticalOperation?: pulumi.Input; + } + + /** + * ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + */ + export interface ResourceGuardProxyBaseArgs { + description?: pulumi.Input; + lastUpdatedTime?: pulumi.Input; + resourceGuardOperationDetails?: pulumi.Input[]>; + resourceGuardResourceId?: pulumi.Input; + } + + /** + * Retention tag + */ + export interface RetentionTagArgs { + /** + * Retention Tag Name to relate it to retention rule. + */ + tagName: pulumi.Input; + } + + /** + * Schedule based backup criteria + */ + export interface ScheduleBasedBackupCriteriaArgs { + /** + * it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + * and should be part of AbsoluteMarker enum + */ + absoluteCriteria?: pulumi.Input[]>; + /** + * This is day of the month from 1 to 28 other wise last of month + */ + daysOfMonth?: pulumi.Input[]>; + /** + * It should be Sunday/Monday/T..../Saturday + */ + daysOfTheWeek?: pulumi.Input[]>; + /** + * It should be January/February/....../December + */ + monthsOfYear?: pulumi.Input[]>; + /** + * Type of the specific object - used for deserializing + * Expected value is 'ScheduleBasedBackupCriteria'. + */ + objectType: pulumi.Input<"ScheduleBasedBackupCriteria">; + /** + * List of schedule times for backup + */ + scheduleTimes?: pulumi.Input[]>; + /** + * It should be First/Second/Third/Fourth/Last + */ + weeksOfTheMonth?: pulumi.Input[]>; + } + + /** + * Schedule based trigger context + */ + export interface ScheduleBasedTriggerContextArgs { + /** + * Type of the specific object - used for deserializing + * Expected value is 'ScheduleBasedTriggerContext'. + */ + objectType: pulumi.Input<"ScheduleBasedTriggerContext">; + /** + * Schedule for this backup + */ + schedule: pulumi.Input; + /** + * List of tags that can be applicable for given schedule. + */ + taggingCriteria: pulumi.Input[]>; + } + + /** + * Secret store based authentication credentials. + */ + export interface SecretStoreBasedAuthCredentialsArgs { + /** + * Type of the specific object - used for deserializing + * Expected value is 'SecretStoreBasedAuthCredentials'. + */ + objectType: pulumi.Input<"SecretStoreBasedAuthCredentials">; + /** + * Secret store resource + */ + secretStoreResource?: pulumi.Input; + } + + /** + * Class representing a secret store resource. + */ + export interface SecretStoreResourceArgs { + /** + * Gets or sets the type of secret store + */ + secretStoreType: pulumi.Input; + /** + * Uri to get to the resource + */ + uri?: pulumi.Input; + /** + * Gets or sets value stored in secret store resource + */ + value?: pulumi.Input; + } + + /** + * Class containing security settings of vault + */ + export interface SecuritySettingsArgs { + /** + * Immutability Settings at vault level + */ + immutabilitySettings?: pulumi.Input; + /** + * Soft delete related settings + */ + softDeleteSettings?: pulumi.Input; + } + + /** + * Soft delete related settings + */ + export interface SoftDeleteSettingsArgs { + /** + * Soft delete retention duration + */ + retentionDurationInDays?: pulumi.Input; + /** + * State of soft delete + */ + state?: pulumi.Input; + } + + /** + * Source LifeCycle + */ + export interface SourceLifeCycleArgs { + /** + * Delete Option + */ + deleteAfter: pulumi.Input; + /** + * DataStoreInfo base + */ + sourceDataStore: pulumi.Input; + targetDataStoreCopySettings?: pulumi.Input[]>; + } + + /** + * Storage setting + */ + export interface StorageSettingArgs { + /** + * Gets or sets the type of the datastore. + */ + datastoreType?: pulumi.Input; + /** + * Gets or sets the type. + */ + type?: pulumi.Input; + } + + /** + * Tagging criteria + */ + export interface TaggingCriteriaArgs { + /** + * Criteria which decides whether the tag can be applied to a triggered backup. + */ + criteria?: pulumi.Input[]>; + /** + * Specifies if tag is default. + */ + isDefault: pulumi.Input; + /** + * Retention tag information + */ + tagInfo: pulumi.Input; + /** + * Retention Tag priority. + */ + taggingPriority: pulumi.Input; + } + + /** + * Target copy settings + */ + export interface TargetCopySettingArgs { + /** + * It can be CustomCopyOption or ImmediateCopyOption. + */ + copyAfter: pulumi.Input; + /** + * Info of target datastore + */ + dataStore: pulumi.Input; + } + + } + + export namespace v20230401preview { + /** + * Delete option with duration + */ + export interface AbsoluteDeleteOptionArgs { + /** + * Duration of deletion after given timespan + */ + duration: pulumi.Input; + /** + * Type of the specific object - used for deserializing + * Expected value is 'AbsoluteDeleteOption'. + */ + objectType: pulumi.Input<"AbsoluteDeleteOption">; + } + + /** + * Adhoc backup tagging criteria + */ + export interface AdhocBasedTaggingCriteriaArgs { + /** + * Retention tag information + */ + tagInfo?: pulumi.Input; + } + + /** + * Adhoc trigger context + */ + export interface AdhocBasedTriggerContextArgs { + /** + * Type of the specific object - used for deserializing + * Expected value is 'AdhocBasedTriggerContext'. + */ + objectType: pulumi.Input<"AdhocBasedTriggerContext">; + /** + * Tagging Criteria containing retention tag for adhoc backup. + */ + taggingCriteria: pulumi.Input; + } + + /** + * Azure backup parameters + */ + export interface AzureBackupParamsArgs { + /** + * BackupType ; Full/Incremental etc + */ + backupType: pulumi.Input; + /** + * Type of the specific object - used for deserializing + * Expected value is 'AzureBackupParams'. + */ + objectType: pulumi.Input<"AzureBackupParams">; + } + + /** + * Azure backup rule + */ + export interface AzureBackupRuleArgs { + /** + * BackupParameters base + */ + backupParameters?: pulumi.Input; /** * DataStoreInfo base */ - dataStore: pulumi.Input; + dataStore: pulumi.Input; name: pulumi.Input; /** * @@ -148152,14 +153207,14 @@ export namespace dataprotection { /** * Trigger context */ - trigger: pulumi.Input; + trigger: pulumi.Input; } /** * Settings for Azure Monitor based alerts */ export interface AzureMonitorAlertSettingsArgs { - alertsForAllJobFailures?: pulumi.Input; + alertsForAllJobFailures?: pulumi.Input; } /** @@ -148169,7 +153224,7 @@ export namespace dataprotection { /** * type of datastore; Operational/Vault/Archive */ - dataStoreType: pulumi.Input; + dataStoreType: pulumi.Input; /** * Type of the specific object - used for deserializing * Expected value is 'AzureOperationalStoreParameters'. @@ -148186,7 +153241,7 @@ export namespace dataprotection { */ export interface AzureRetentionRuleArgs { isDefault?: pulumi.Input; - lifecycles: pulumi.Input[]>; + lifecycles: pulumi.Input[]>; name: pulumi.Input; /** * @@ -148202,28 +153257,33 @@ export namespace dataprotection { /** * Gets or sets the data source information. */ - dataSourceInfo: pulumi.Input; + dataSourceInfo: pulumi.Input; /** * Gets or sets the data source set information. */ - dataSourceSetInfo?: pulumi.Input; + dataSourceSetInfo?: pulumi.Input; /** * Credentials to use to authenticate with data source provider. */ - datasourceAuthCredentials?: pulumi.Input; + datasourceAuthCredentials?: pulumi.Input; /** * Gets or sets the Backup Instance friendly name. */ friendlyName?: pulumi.Input; + /** + * Contains information of the Identity Details for the BI. + * If it is null, default will be considered as System Assigned. + */ + identityDetails?: pulumi.Input; objectType: pulumi.Input; /** * Gets or sets the policy information. */ - policyInfo: pulumi.Input; + policyInfo: pulumi.Input; /** * Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. */ - validationType?: pulumi.Input; + validationType?: pulumi.Input; } /** @@ -148242,7 +153302,7 @@ export namespace dataprotection { /** * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc */ - policyRules: pulumi.Input[]>; + policyRules: pulumi.Input[]>; } /** @@ -148266,19 +153326,19 @@ export namespace dataprotection { /** * Feature Settings */ - featureSettings?: pulumi.Input; + featureSettings?: pulumi.Input; /** * Monitoring Settings */ - monitoringSettings?: pulumi.Input; + monitoringSettings?: pulumi.Input; /** * Security Settings */ - securitySettings?: pulumi.Input; + securitySettings?: pulumi.Input; /** * Storage Settings */ - storageSettings: pulumi.Input[]>; + storageSettings: pulumi.Input[]>; } /** @@ -148307,6 +153367,13 @@ export namespace dataprotection { objectType: pulumi.Input<"CopyOnExpiryOption">; } + export interface CrossRegionRestoreSettingsArgs { + /** + * CrossRegionRestore state + */ + state?: pulumi.Input; + } + /** * CrossSubscriptionRestore Settings */ @@ -148314,7 +153381,7 @@ export namespace dataprotection { /** * CrossSubscriptionRestore state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -148339,7 +153406,7 @@ export namespace dataprotection { /** * type of datastore; Operational/Vault/Archive */ - dataStoreType: pulumi.Input; + dataStoreType: pulumi.Input; /** * Type of Datasource object, used to initialize the right inherited type */ @@ -148433,19 +153500,35 @@ export namespace dataprotection { */ export interface DppIdentityDetailsArgs { /** - * The identityType which can be either SystemAssigned or None + * The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None */ type?: pulumi.Input; + /** + * Gets or sets the user assigned identities. + */ + userAssignedIdentities?: pulumi.Input[]>; } /** * Class containing feature settings of vault */ export interface FeatureSettingsArgs { + crossRegionRestoreSettings?: pulumi.Input; /** * CrossSubscriptionRestore Settings */ - crossSubscriptionRestoreSettings?: pulumi.Input; + crossSubscriptionRestoreSettings?: pulumi.Input; + } + + export interface IdentityDetailsArgs { + /** + * Specifies if the BI is protected by System Identity. + */ + useSystemAssignedIdentity?: pulumi.Input; + /** + * ARM URL for User Assigned Identity. + */ + userAssignedIdentityArmUrl?: pulumi.Input; } /** @@ -148466,7 +153549,7 @@ export namespace dataprotection { /** * Immutability state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -148515,7 +153598,7 @@ export namespace dataprotection { /** * Settings for Azure Monitor based alerts */ - azureMonitorAlertSettings?: pulumi.Input; + azureMonitorAlertSettings?: pulumi.Input; } /** @@ -148526,7 +153609,7 @@ export namespace dataprotection { /** * Policy parameters for the backup instance */ - policyParameters?: pulumi.Input; + policyParameters?: pulumi.Input; } /** @@ -148536,11 +153619,11 @@ export namespace dataprotection { /** * Gets or sets the Backup Data Source Parameters */ - backupDatasourceParametersList?: pulumi.Input[]>; + backupDatasourceParametersList?: pulumi.Input[]>; /** * Gets or sets the DataStore Parameters */ - dataStoreParametersList?: pulumi.Input[]>; + dataStoreParametersList?: pulumi.Input[]>; } export interface ResourceGuardArgs { @@ -148564,7 +153647,7 @@ export namespace dataprotection { export interface ResourceGuardProxyBaseArgs { description?: pulumi.Input; lastUpdatedTime?: pulumi.Input; - resourceGuardOperationDetails?: pulumi.Input[]>; + resourceGuardOperationDetails?: pulumi.Input[]>; resourceGuardResourceId?: pulumi.Input; } @@ -148586,19 +153669,19 @@ export namespace dataprotection { * it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" * and should be part of AbsoluteMarker enum */ - absoluteCriteria?: pulumi.Input[]>; + absoluteCriteria?: pulumi.Input[]>; /** * This is day of the month from 1 to 28 other wise last of month */ - daysOfMonth?: pulumi.Input[]>; + daysOfMonth?: pulumi.Input[]>; /** * It should be Sunday/Monday/T..../Saturday */ - daysOfTheWeek?: pulumi.Input[]>; + daysOfTheWeek?: pulumi.Input[]>; /** * It should be January/February/....../December */ - monthsOfYear?: pulumi.Input[]>; + monthsOfYear?: pulumi.Input[]>; /** * Type of the specific object - used for deserializing * Expected value is 'ScheduleBasedBackupCriteria'. @@ -148611,7 +153694,7 @@ export namespace dataprotection { /** * It should be First/Second/Third/Fourth/Last */ - weeksOfTheMonth?: pulumi.Input[]>; + weeksOfTheMonth?: pulumi.Input[]>; } /** @@ -148626,11 +153709,11 @@ export namespace dataprotection { /** * Schedule for this backup */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * List of tags that can be applicable for given schedule. */ - taggingCriteria: pulumi.Input[]>; + taggingCriteria: pulumi.Input[]>; } /** @@ -148645,7 +153728,7 @@ export namespace dataprotection { /** * Secret store resource */ - secretStoreResource?: pulumi.Input; + secretStoreResource?: pulumi.Input; } /** @@ -148655,7 +153738,7 @@ export namespace dataprotection { /** * Gets or sets the type of secret store */ - secretStoreType: pulumi.Input; + secretStoreType: pulumi.Input; /** * Uri to get to the resource */ @@ -148673,11 +153756,11 @@ export namespace dataprotection { /** * Immutability Settings at vault level */ - immutabilitySettings?: pulumi.Input; + immutabilitySettings?: pulumi.Input; /** * Soft delete related settings */ - softDeleteSettings?: pulumi.Input; + softDeleteSettings?: pulumi.Input; } /** @@ -148691,7 +153774,7 @@ export namespace dataprotection { /** * State of soft delete */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -148701,12 +153784,12 @@ export namespace dataprotection { /** * Delete Option */ - deleteAfter: pulumi.Input; + deleteAfter: pulumi.Input; /** * DataStoreInfo base */ - sourceDataStore: pulumi.Input; - targetDataStoreCopySettings?: pulumi.Input[]>; + sourceDataStore: pulumi.Input; + targetDataStoreCopySettings?: pulumi.Input[]>; } /** @@ -148716,11 +153799,11 @@ export namespace dataprotection { /** * Gets or sets the type of the datastore. */ - datastoreType?: pulumi.Input; + datastoreType?: pulumi.Input; /** * Gets or sets the type. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -148730,7 +153813,7 @@ export namespace dataprotection { /** * Criteria which decides whether the tag can be applied to a triggered backup. */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Specifies if tag is default. */ @@ -148738,7 +153821,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo: pulumi.Input; + tagInfo: pulumi.Input; /** * Retention Tag priority. */ @@ -148752,16 +153835,16 @@ export namespace dataprotection { /** * It can be CustomCopyOption or ImmediateCopyOption. */ - copyAfter: pulumi.Input; + copyAfter: pulumi.Input; /** * Info of target datastore */ - dataStore: pulumi.Input; + dataStore: pulumi.Input; } } - export namespace v20230401preview { + export namespace v20230501 { /** * Delete option with duration */ @@ -148784,7 +153867,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo?: pulumi.Input; + tagInfo?: pulumi.Input; } /** @@ -148799,7 +153882,7 @@ export namespace dataprotection { /** * Tagging Criteria containing retention tag for adhoc backup. */ - taggingCriteria: pulumi.Input; + taggingCriteria: pulumi.Input; } /** @@ -148824,11 +153907,11 @@ export namespace dataprotection { /** * BackupParameters base */ - backupParameters?: pulumi.Input; + backupParameters?: pulumi.Input; /** * DataStoreInfo base */ - dataStore: pulumi.Input; + dataStore: pulumi.Input; name: pulumi.Input; /** * @@ -148838,14 +153921,14 @@ export namespace dataprotection { /** * Trigger context */ - trigger: pulumi.Input; + trigger: pulumi.Input; } /** * Settings for Azure Monitor based alerts */ export interface AzureMonitorAlertSettingsArgs { - alertsForAllJobFailures?: pulumi.Input; + alertsForAllJobFailures?: pulumi.Input; } /** @@ -148855,7 +153938,7 @@ export namespace dataprotection { /** * type of datastore; Operational/Vault/Archive */ - dataStoreType: pulumi.Input; + dataStoreType: pulumi.Input; /** * Type of the specific object - used for deserializing * Expected value is 'AzureOperationalStoreParameters'. @@ -148872,7 +153955,7 @@ export namespace dataprotection { */ export interface AzureRetentionRuleArgs { isDefault?: pulumi.Input; - lifecycles: pulumi.Input[]>; + lifecycles: pulumi.Input[]>; name: pulumi.Input; /** * @@ -148888,15 +153971,15 @@ export namespace dataprotection { /** * Gets or sets the data source information. */ - dataSourceInfo: pulumi.Input; + dataSourceInfo: pulumi.Input; /** * Gets or sets the data source set information. */ - dataSourceSetInfo?: pulumi.Input; + dataSourceSetInfo?: pulumi.Input; /** * Credentials to use to authenticate with data source provider. */ - datasourceAuthCredentials?: pulumi.Input; + datasourceAuthCredentials?: pulumi.Input; /** * Gets or sets the Backup Instance friendly name. */ @@ -148905,16 +153988,16 @@ export namespace dataprotection { * Contains information of the Identity Details for the BI. * If it is null, default will be considered as System Assigned. */ - identityDetails?: pulumi.Input; + identityDetails?: pulumi.Input; objectType: pulumi.Input; /** * Gets or sets the policy information. */ - policyInfo: pulumi.Input; + policyInfo: pulumi.Input; /** * Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. */ - validationType?: pulumi.Input; + validationType?: pulumi.Input; } /** @@ -148933,7 +154016,7 @@ export namespace dataprotection { /** * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc */ - policyRules: pulumi.Input[]>; + policyRules: pulumi.Input[]>; } /** @@ -148957,19 +154040,19 @@ export namespace dataprotection { /** * Feature Settings */ - featureSettings?: pulumi.Input; + featureSettings?: pulumi.Input; /** * Monitoring Settings */ - monitoringSettings?: pulumi.Input; + monitoringSettings?: pulumi.Input; /** * Security Settings */ - securitySettings?: pulumi.Input; + securitySettings?: pulumi.Input; /** * Storage Settings */ - storageSettings: pulumi.Input[]>; + storageSettings: pulumi.Input[]>; } /** @@ -149002,7 +154085,7 @@ export namespace dataprotection { /** * CrossRegionRestore state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149012,7 +154095,7 @@ export namespace dataprotection { /** * CrossSubscriptionRestore state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149037,7 +154120,7 @@ export namespace dataprotection { /** * type of datastore; Operational/Vault/Archive */ - dataStoreType: pulumi.Input; + dataStoreType: pulumi.Input; /** * Type of Datasource object, used to initialize the right inherited type */ @@ -149068,6 +154151,10 @@ export namespace dataprotection { * Unique identifier of the resource in the context of parent. */ resourceName?: pulumi.Input; + /** + * Properties specific to data source + */ + resourceProperties?: pulumi.Input; /** * Resource Type of Datasource. */ @@ -149102,6 +154189,10 @@ export namespace dataprotection { * Unique identifier of the resource in the context of parent. */ resourceName?: pulumi.Input; + /** + * Properties specific to data source set + */ + resourceProperties?: pulumi.Input; /** * Resource Type of Datasource. */ @@ -149126,6 +154217,17 @@ export namespace dataprotection { isLast?: pulumi.Input; } + /** + * Default source properties + */ + export interface DefaultResourcePropertiesArgs { + /** + * Type of the specific object - used for deserializing + * Expected value is 'DefaultResourceProperties'. + */ + objectType: pulumi.Input<"DefaultResourceProperties">; + } + /** * Identity details */ @@ -149144,11 +154246,11 @@ export namespace dataprotection { * Class containing feature settings of vault */ export interface FeatureSettingsArgs { - crossRegionRestoreSettings?: pulumi.Input; + crossRegionRestoreSettings?: pulumi.Input; /** * CrossSubscriptionRestore Settings */ - crossSubscriptionRestoreSettings?: pulumi.Input; + crossSubscriptionRestoreSettings?: pulumi.Input; } export interface IdentityDetailsArgs { @@ -149180,7 +154282,7 @@ export namespace dataprotection { /** * Immutability state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149188,27 +154290,31 @@ export namespace dataprotection { */ export interface KubernetesClusterBackupDatasourceParametersArgs { /** - * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. + * Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + */ + backupHookReferences?: pulumi.Input[]>; + /** + * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. */ excludedNamespaces?: pulumi.Input[]>; /** - * Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore. + * Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. */ excludedResourceTypes?: pulumi.Input[]>; /** - * Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore. + * Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. */ includeClusterScopeResources: pulumi.Input; /** - * Gets or sets the include namespaces property. This property sets the namespaces to be included during restore. + * Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. */ includedNamespaces?: pulumi.Input[]>; /** - * Gets or sets the include resource types property. This property sets the resource types to be included during restore. + * Gets or sets the include resource types property. This property sets the resource types to be included during backup. */ includedResourceTypes?: pulumi.Input[]>; /** - * Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. + * Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. */ labelSelectors?: pulumi.Input[]>; /** @@ -149217,7 +154323,7 @@ export namespace dataprotection { */ objectType: pulumi.Input<"KubernetesClusterBackupDatasourceParameters">; /** - * Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore. + * Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. */ snapshotVolumes: pulumi.Input; } @@ -149229,7 +154335,21 @@ export namespace dataprotection { /** * Settings for Azure Monitor based alerts */ - azureMonitorAlertSettings?: pulumi.Input; + azureMonitorAlertSettings?: pulumi.Input; + } + + /** + * Class to refer resources which contains namespace and name + */ + export interface NamespacedNameResourceArgs { + /** + * Name of the resource + */ + name?: pulumi.Input; + /** + * Namespace in which the resource exists + */ + namespace?: pulumi.Input; } /** @@ -149240,7 +154360,7 @@ export namespace dataprotection { /** * Policy parameters for the backup instance */ - policyParameters?: pulumi.Input; + policyParameters?: pulumi.Input; } /** @@ -149250,11 +154370,11 @@ export namespace dataprotection { /** * Gets or sets the Backup Data Source Parameters */ - backupDatasourceParametersList?: pulumi.Input[]>; + backupDatasourceParametersList?: pulumi.Input[]>; /** * Gets or sets the DataStore Parameters */ - dataStoreParametersList?: pulumi.Input[]>; + dataStoreParametersList?: pulumi.Input[]>; } export interface ResourceGuardArgs { @@ -149278,7 +154398,7 @@ export namespace dataprotection { export interface ResourceGuardProxyBaseArgs { description?: pulumi.Input; lastUpdatedTime?: pulumi.Input; - resourceGuardOperationDetails?: pulumi.Input[]>; + resourceGuardOperationDetails?: pulumi.Input[]>; resourceGuardResourceId?: pulumi.Input; } @@ -149300,19 +154420,19 @@ export namespace dataprotection { * it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" * and should be part of AbsoluteMarker enum */ - absoluteCriteria?: pulumi.Input[]>; + absoluteCriteria?: pulumi.Input[]>; /** * This is day of the month from 1 to 28 other wise last of month */ - daysOfMonth?: pulumi.Input[]>; + daysOfMonth?: pulumi.Input[]>; /** * It should be Sunday/Monday/T..../Saturday */ - daysOfTheWeek?: pulumi.Input[]>; + daysOfTheWeek?: pulumi.Input[]>; /** * It should be January/February/....../December */ - monthsOfYear?: pulumi.Input[]>; + monthsOfYear?: pulumi.Input[]>; /** * Type of the specific object - used for deserializing * Expected value is 'ScheduleBasedBackupCriteria'. @@ -149325,7 +154445,7 @@ export namespace dataprotection { /** * It should be First/Second/Third/Fourth/Last */ - weeksOfTheMonth?: pulumi.Input[]>; + weeksOfTheMonth?: pulumi.Input[]>; } /** @@ -149340,11 +154460,11 @@ export namespace dataprotection { /** * Schedule for this backup */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * List of tags that can be applicable for given schedule. */ - taggingCriteria: pulumi.Input[]>; + taggingCriteria: pulumi.Input[]>; } /** @@ -149359,7 +154479,7 @@ export namespace dataprotection { /** * Secret store resource */ - secretStoreResource?: pulumi.Input; + secretStoreResource?: pulumi.Input; } /** @@ -149369,7 +154489,7 @@ export namespace dataprotection { /** * Gets or sets the type of secret store */ - secretStoreType: pulumi.Input; + secretStoreType: pulumi.Input; /** * Uri to get to the resource */ @@ -149387,11 +154507,11 @@ export namespace dataprotection { /** * Immutability Settings at vault level */ - immutabilitySettings?: pulumi.Input; + immutabilitySettings?: pulumi.Input; /** * Soft delete related settings */ - softDeleteSettings?: pulumi.Input; + softDeleteSettings?: pulumi.Input; } /** @@ -149405,7 +154525,7 @@ export namespace dataprotection { /** * State of soft delete */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149415,12 +154535,12 @@ export namespace dataprotection { /** * Delete Option */ - deleteAfter: pulumi.Input; + deleteAfter: pulumi.Input; /** * DataStoreInfo base */ - sourceDataStore: pulumi.Input; - targetDataStoreCopySettings?: pulumi.Input[]>; + sourceDataStore: pulumi.Input; + targetDataStoreCopySettings?: pulumi.Input[]>; } /** @@ -149430,11 +154550,11 @@ export namespace dataprotection { /** * Gets or sets the type of the datastore. */ - datastoreType?: pulumi.Input; + datastoreType?: pulumi.Input; /** * Gets or sets the type. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -149444,7 +154564,7 @@ export namespace dataprotection { /** * Criteria which decides whether the tag can be applied to a triggered backup. */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Specifies if tag is default. */ @@ -149452,7 +154572,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo: pulumi.Input; + tagInfo: pulumi.Input; /** * Retention Tag priority. */ @@ -149466,16 +154586,16 @@ export namespace dataprotection { /** * It can be CustomCopyOption or ImmediateCopyOption. */ - copyAfter: pulumi.Input; + copyAfter: pulumi.Input; /** * Info of target datastore */ - dataStore: pulumi.Input; + dataStore: pulumi.Input; } } - export namespace v20230501 { + export namespace v20230601preview { /** * Delete option with duration */ @@ -149498,7 +154618,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo?: pulumi.Input; + tagInfo?: pulumi.Input; } /** @@ -149513,7 +154633,7 @@ export namespace dataprotection { /** * Tagging Criteria containing retention tag for adhoc backup. */ - taggingCriteria: pulumi.Input; + taggingCriteria: pulumi.Input; } /** @@ -149538,11 +154658,11 @@ export namespace dataprotection { /** * BackupParameters base */ - backupParameters?: pulumi.Input; + backupParameters?: pulumi.Input; /** * DataStoreInfo base */ - dataStore: pulumi.Input; + dataStore: pulumi.Input; name: pulumi.Input; /** * @@ -149552,14 +154672,14 @@ export namespace dataprotection { /** * Trigger context */ - trigger: pulumi.Input; + trigger: pulumi.Input; } /** * Settings for Azure Monitor based alerts */ export interface AzureMonitorAlertSettingsArgs { - alertsForAllJobFailures?: pulumi.Input; + alertsForAllJobFailures?: pulumi.Input; } /** @@ -149569,7 +154689,7 @@ export namespace dataprotection { /** * type of datastore; Operational/Vault/Archive */ - dataStoreType: pulumi.Input; + dataStoreType: pulumi.Input; /** * Type of the specific object - used for deserializing * Expected value is 'AzureOperationalStoreParameters'. @@ -149586,7 +154706,7 @@ export namespace dataprotection { */ export interface AzureRetentionRuleArgs { isDefault?: pulumi.Input; - lifecycles: pulumi.Input[]>; + lifecycles: pulumi.Input[]>; name: pulumi.Input; /** * @@ -149602,15 +154722,15 @@ export namespace dataprotection { /** * Gets or sets the data source information. */ - dataSourceInfo: pulumi.Input; + dataSourceInfo: pulumi.Input; /** * Gets or sets the data source set information. */ - dataSourceSetInfo?: pulumi.Input; + dataSourceSetInfo?: pulumi.Input; /** * Credentials to use to authenticate with data source provider. */ - datasourceAuthCredentials?: pulumi.Input; + datasourceAuthCredentials?: pulumi.Input; /** * Gets or sets the Backup Instance friendly name. */ @@ -149619,16 +154739,16 @@ export namespace dataprotection { * Contains information of the Identity Details for the BI. * If it is null, default will be considered as System Assigned. */ - identityDetails?: pulumi.Input; + identityDetails?: pulumi.Input; objectType: pulumi.Input; /** * Gets or sets the policy information. */ - policyInfo: pulumi.Input; + policyInfo: pulumi.Input; /** * Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. */ - validationType?: pulumi.Input; + validationType?: pulumi.Input; } /** @@ -149647,7 +154767,7 @@ export namespace dataprotection { /** * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc */ - policyRules: pulumi.Input[]>; + policyRules: pulumi.Input[]>; } /** @@ -149671,19 +154791,19 @@ export namespace dataprotection { /** * Feature Settings */ - featureSettings?: pulumi.Input; + featureSettings?: pulumi.Input; /** * Monitoring Settings */ - monitoringSettings?: pulumi.Input; + monitoringSettings?: pulumi.Input; /** * Security Settings */ - securitySettings?: pulumi.Input; + securitySettings?: pulumi.Input; /** * Storage Settings */ - storageSettings: pulumi.Input[]>; + storageSettings: pulumi.Input[]>; } /** @@ -149701,6 +154821,30 @@ export namespace dataprotection { objectType: pulumi.Input<"BlobBackupDatasourceParameters">; } + /** + * The details of the managed identity used for CMK + */ + export interface CmkKekIdentityArgs { + /** + * The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + */ + identityId?: pulumi.Input; + /** + * The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + */ + identityType?: pulumi.Input; + } + + /** + * The properties of the Key Vault which hosts CMK + */ + export interface CmkKeyVaultPropertiesArgs { + /** + * The key uri of the Customer Managed Key + */ + keyUri?: pulumi.Input; + } + /** * Copy on Expiry Option */ @@ -149716,7 +154860,7 @@ export namespace dataprotection { /** * CrossRegionRestore state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149726,7 +154870,7 @@ export namespace dataprotection { /** * CrossSubscriptionRestore state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149751,7 +154895,7 @@ export namespace dataprotection { /** * type of datastore; Operational/Vault/Archive */ - dataStoreType: pulumi.Input; + dataStoreType: pulumi.Input; /** * Type of Datasource object, used to initialize the right inherited type */ @@ -149785,7 +154929,7 @@ export namespace dataprotection { /** * Properties specific to data source */ - resourceProperties?: pulumi.Input; + resourceProperties?: pulumi.Input; /** * Resource Type of Datasource. */ @@ -149823,7 +154967,7 @@ export namespace dataprotection { /** * Properties specific to data source set */ - resourceProperties?: pulumi.Input; + resourceProperties?: pulumi.Input; /** * Resource Type of Datasource. */ @@ -149873,15 +155017,37 @@ export namespace dataprotection { userAssignedIdentities?: pulumi.Input[]>; } + /** + * Customer Managed Key details of the resource. + */ + export interface EncryptionSettingsArgs { + /** + * Enabling/Disabling the Double Encryption state + */ + infrastructureEncryption?: pulumi.Input; + /** + * The details of the managed identity used for CMK + */ + kekIdentity?: pulumi.Input; + /** + * The properties of the Key Vault which hosts CMK + */ + keyVaultProperties?: pulumi.Input; + /** + * Encryption state of the Backup Vault. + */ + state?: pulumi.Input; + } + /** * Class containing feature settings of vault */ export interface FeatureSettingsArgs { - crossRegionRestoreSettings?: pulumi.Input; + crossRegionRestoreSettings?: pulumi.Input; /** * CrossSubscriptionRestore Settings */ - crossSubscriptionRestoreSettings?: pulumi.Input; + crossSubscriptionRestoreSettings?: pulumi.Input; } export interface IdentityDetailsArgs { @@ -149913,7 +155079,7 @@ export namespace dataprotection { /** * Immutability state */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -149923,7 +155089,7 @@ export namespace dataprotection { /** * Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. */ - backupHookReferences?: pulumi.Input[]>; + backupHookReferences?: pulumi.Input[]>; /** * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. */ @@ -149966,7 +155132,7 @@ export namespace dataprotection { /** * Settings for Azure Monitor based alerts */ - azureMonitorAlertSettings?: pulumi.Input; + azureMonitorAlertSettings?: pulumi.Input; } /** @@ -149991,7 +155157,7 @@ export namespace dataprotection { /** * Policy parameters for the backup instance */ - policyParameters?: pulumi.Input; + policyParameters?: pulumi.Input; } /** @@ -150001,11 +155167,11 @@ export namespace dataprotection { /** * Gets or sets the Backup Data Source Parameters */ - backupDatasourceParametersList?: pulumi.Input[]>; + backupDatasourceParametersList?: pulumi.Input[]>; /** * Gets or sets the DataStore Parameters */ - dataStoreParametersList?: pulumi.Input[]>; + dataStoreParametersList?: pulumi.Input[]>; } export interface ResourceGuardArgs { @@ -150029,7 +155195,7 @@ export namespace dataprotection { export interface ResourceGuardProxyBaseArgs { description?: pulumi.Input; lastUpdatedTime?: pulumi.Input; - resourceGuardOperationDetails?: pulumi.Input[]>; + resourceGuardOperationDetails?: pulumi.Input[]>; resourceGuardResourceId?: pulumi.Input; } @@ -150051,19 +155217,19 @@ export namespace dataprotection { * it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" * and should be part of AbsoluteMarker enum */ - absoluteCriteria?: pulumi.Input[]>; + absoluteCriteria?: pulumi.Input[]>; /** * This is day of the month from 1 to 28 other wise last of month */ - daysOfMonth?: pulumi.Input[]>; + daysOfMonth?: pulumi.Input[]>; /** * It should be Sunday/Monday/T..../Saturday */ - daysOfTheWeek?: pulumi.Input[]>; + daysOfTheWeek?: pulumi.Input[]>; /** * It should be January/February/....../December */ - monthsOfYear?: pulumi.Input[]>; + monthsOfYear?: pulumi.Input[]>; /** * Type of the specific object - used for deserializing * Expected value is 'ScheduleBasedBackupCriteria'. @@ -150076,7 +155242,7 @@ export namespace dataprotection { /** * It should be First/Second/Third/Fourth/Last */ - weeksOfTheMonth?: pulumi.Input[]>; + weeksOfTheMonth?: pulumi.Input[]>; } /** @@ -150091,11 +155257,11 @@ export namespace dataprotection { /** * Schedule for this backup */ - schedule: pulumi.Input; + schedule: pulumi.Input; /** * List of tags that can be applicable for given schedule. */ - taggingCriteria: pulumi.Input[]>; + taggingCriteria: pulumi.Input[]>; } /** @@ -150110,7 +155276,7 @@ export namespace dataprotection { /** * Secret store resource */ - secretStoreResource?: pulumi.Input; + secretStoreResource?: pulumi.Input; } /** @@ -150120,7 +155286,7 @@ export namespace dataprotection { /** * Gets or sets the type of secret store */ - secretStoreType: pulumi.Input; + secretStoreType: pulumi.Input; /** * Uri to get to the resource */ @@ -150135,14 +155301,18 @@ export namespace dataprotection { * Class containing security settings of vault */ export interface SecuritySettingsArgs { + /** + * Customer Managed Key details of the resource. + */ + encryptionSettings?: pulumi.Input; /** * Immutability Settings at vault level */ - immutabilitySettings?: pulumi.Input; + immutabilitySettings?: pulumi.Input; /** * Soft delete related settings */ - softDeleteSettings?: pulumi.Input; + softDeleteSettings?: pulumi.Input; } /** @@ -150156,7 +155326,7 @@ export namespace dataprotection { /** * State of soft delete */ - state?: pulumi.Input; + state?: pulumi.Input; } /** @@ -150166,12 +155336,12 @@ export namespace dataprotection { /** * Delete Option */ - deleteAfter: pulumi.Input; + deleteAfter: pulumi.Input; /** * DataStoreInfo base */ - sourceDataStore: pulumi.Input; - targetDataStoreCopySettings?: pulumi.Input[]>; + sourceDataStore: pulumi.Input; + targetDataStoreCopySettings?: pulumi.Input[]>; } /** @@ -150181,11 +155351,11 @@ export namespace dataprotection { /** * Gets or sets the type of the datastore. */ - datastoreType?: pulumi.Input; + datastoreType?: pulumi.Input; /** * Gets or sets the type. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -150195,7 +155365,7 @@ export namespace dataprotection { /** * Criteria which decides whether the tag can be applied to a triggered backup. */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Specifies if tag is default. */ @@ -150203,7 +155373,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo: pulumi.Input; + tagInfo: pulumi.Input; /** * Retention Tag priority. */ @@ -150217,11 +155387,11 @@ export namespace dataprotection { /** * It can be CustomCopyOption or ImmediateCopyOption. */ - copyAfter: pulumi.Input; + copyAfter: pulumi.Input; /** * Info of target datastore */ - dataStore: pulumi.Input; + dataStore: pulumi.Input; } } @@ -153075,7 +158245,174 @@ export namespace dbformysql { /** * The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. */ - type?: pulumi.Input; + type?: pulumi.Input; + } + + /** + * Network related properties of a server + */ + export interface HighAvailabilityArgs { + /** + * High availability mode for a server. + */ + mode?: pulumi.Input; + /** + * Availability zone of the standby server. + */ + standbyAvailabilityZone?: pulumi.Input; + } + + /** + * Properties to configure Identity for Bring your Own Keys + */ + export interface IdentityArgs { + /** + * Type of managed service identity. + */ + type?: pulumi.Input; + /** + * Metadata of user assigned identity. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Maintenance window of a server. + */ + export interface MaintenanceWindowArgs { + /** + * indicates whether custom window is enabled or disabled + */ + customWindow?: pulumi.Input; + /** + * day of week for maintenance window + */ + dayOfWeek?: pulumi.Input; + /** + * start hour for maintenance window + */ + startHour?: pulumi.Input; + /** + * start minute for maintenance window + */ + startMinute?: pulumi.Input; + } + + /** + * Network related properties of a server + */ + export interface NetworkArgs { + /** + * Delegated subnet resource id used to setup vnet for a server. + */ + delegatedSubnetResourceId?: pulumi.Input; + /** + * Private DNS zone resource id. + */ + privateDnsZoneResourceId?: pulumi.Input; + } + + /** + * Billing information related properties of a server. + */ + export interface SkuArgs { + /** + * The name of the sku, e.g. Standard_D32s_v3. + */ + name: pulumi.Input; + /** + * The tier of the particular SKU, e.g. GeneralPurpose. + */ + tier: pulumi.Input; + } + + /** + * Storage Profile properties of a server + */ + export interface StorageArgs { + /** + * Enable Storage Auto Grow or not. + */ + autoGrow?: pulumi.Input; + /** + * Enable IO Auto Scaling or not. + */ + autoIoScaling?: pulumi.Input; + /** + * Storage IOPS for a server. + */ + iops?: pulumi.Input; + /** + * Enable Log On Disk or not. + */ + logOnDisk?: pulumi.Input; + /** + * Max storage size allowed for a server. + */ + storageSizeGB?: pulumi.Input; + } + /** + * storageArgsProvideDefaults sets the appropriate defaults for StorageArgs + */ + export function storageArgsProvideDefaults(val: StorageArgs): StorageArgs { + return { + ...val, + autoGrow: (val.autoGrow) ?? "Disabled", + autoIoScaling: (val.autoIoScaling) ?? "Disabled", + logOnDisk: (val.logOnDisk) ?? "Disabled", + }; + } + + } + + export namespace v20220930preview { + /** + * Storage Profile properties of a server + */ + export interface BackupArgs { + /** + * Backup retention days for the server. + */ + backupRetentionDays?: pulumi.Input; + /** + * Whether or not geo redundant backup is enabled. + */ + geoRedundantBackup?: pulumi.Input; + } + /** + * backupArgsProvideDefaults sets the appropriate defaults for BackupArgs + */ + export function backupArgsProvideDefaults(val: BackupArgs): BackupArgs { + return { + ...val, + geoRedundantBackup: (val.geoRedundantBackup) ?? "Disabled", + }; + } + + /** + * The date encryption for cmk. + */ + export interface DataEncryptionArgs { + /** + * Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + */ + geoBackupKeyURI?: pulumi.Input; + /** + * Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + */ + geoBackupUserAssignedIdentityId?: pulumi.Input; + /** + * Primary key uri + */ + primaryKeyURI?: pulumi.Input; + /** + * Primary user identity resource id + */ + primaryUserAssignedIdentityId?: pulumi.Input; + /** + * The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + */ + type?: pulumi.Input; } /** @@ -153085,7 +158422,7 @@ export namespace dbformysql { /** * High availability mode for a server. */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Availability zone of the standby server. */ @@ -153099,7 +158436,7 @@ export namespace dbformysql { /** * Type of managed service identity. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Metadata of user assigned identity. */ @@ -153140,6 +158477,28 @@ export namespace dbformysql { * Private DNS zone resource id. */ privateDnsZoneResourceId?: pulumi.Input; + /** + * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + */ + publicNetworkAccess?: pulumi.Input; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateArgs { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; } /** @@ -153153,7 +158512,7 @@ export namespace dbformysql { /** * The tier of the particular SKU, e.g. GeneralPurpose. */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -153163,11 +158522,11 @@ export namespace dbformysql { /** * Enable Storage Auto Grow or not. */ - autoGrow?: pulumi.Input; + autoGrow?: pulumi.Input; /** * Enable IO Auto Scaling or not. */ - autoIoScaling?: pulumi.Input; + autoIoScaling?: pulumi.Input; /** * Storage IOPS for a server. */ @@ -153175,7 +158534,7 @@ export namespace dbformysql { /** * Enable Log On Disk or not. */ - logOnDisk?: pulumi.Input; + logOnDisk?: pulumi.Input; /** * Max storage size allowed for a server. */ @@ -153195,7 +158554,7 @@ export namespace dbformysql { } - export namespace v20220930preview { + export namespace v20230601preview { /** * Storage Profile properties of a server */ @@ -153207,7 +158566,7 @@ export namespace dbformysql { /** * Whether or not geo redundant backup is enabled. */ - geoRedundantBackup?: pulumi.Input; + geoRedundantBackup?: pulumi.Input; } /** * backupArgsProvideDefaults sets the appropriate defaults for BackupArgs @@ -153242,7 +158601,7 @@ export namespace dbformysql { /** * The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -153252,7 +158611,7 @@ export namespace dbformysql { /** * High availability mode for a server. */ - mode?: pulumi.Input; + mode?: pulumi.Input; /** * Availability zone of the standby server. */ @@ -153260,17 +158619,25 @@ export namespace dbformysql { } /** - * Properties to configure Identity for Bring your Own Keys + * Import source related properties. */ - export interface IdentityArgs { + export interface ImportSourcePropertiesArgs { /** - * Type of managed service identity. + * Relative path of data directory in storage. */ - type?: pulumi.Input; + dataDirPath?: pulumi.Input; /** - * Metadata of user assigned identity. + * Sas token for accessing source storage. Read and list permissions are required for sas token. */ - userAssignedIdentities?: pulumi.Input[]>; + sasToken?: pulumi.Input; + /** + * Storage type of import source. + */ + storageType?: pulumi.Input; + /** + * Uri of the import source storage. + */ + storageUrl?: pulumi.Input; } /** @@ -153296,53 +158663,49 @@ export namespace dbformysql { } /** - * Network related properties of a server + * Properties to configure Identity for Bring your Own Keys */ - export interface NetworkArgs { - /** - * Delegated subnet resource id used to setup vnet for a server. - */ - delegatedSubnetResourceId?: pulumi.Input; + export interface MySQLServerIdentityArgs { /** - * Private DNS zone resource id. + * Type of managed service identity. */ - privateDnsZoneResourceId?: pulumi.Input; + type?: pulumi.Input; /** - * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + * Metadata of user assigned identity. */ - publicNetworkAccess?: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; } /** - * A collection of information about the state of the connection between service consumer and provider. + * Billing information related properties of a server. */ - export interface PrivateLinkServiceConnectionStateArgs { + export interface MySQLServerSkuArgs { /** - * A message indicating if changes on the service provider require any updates on the consumer. - */ - actionsRequired?: pulumi.Input; - /** - * The reason for approval/rejection of the connection. + * The name of the sku, e.g. Standard_D32s_v3. */ - description?: pulumi.Input; + name: pulumi.Input; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * The tier of the particular SKU, e.g. GeneralPurpose. */ - status?: pulumi.Input; + tier: pulumi.Input; } /** - * Billing information related properties of a server. + * Network related properties of a server */ - export interface SkuArgs { + export interface NetworkArgs { /** - * The name of the sku, e.g. Standard_D32s_v3. + * Delegated subnet resource id used to setup vnet for a server. */ - name: pulumi.Input; + delegatedSubnetResourceId?: pulumi.Input; /** - * The tier of the particular SKU, e.g. GeneralPurpose. + * Private DNS zone resource id. */ - tier: pulumi.Input; + privateDnsZoneResourceId?: pulumi.Input; + /** + * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + */ + publicNetworkAccess?: pulumi.Input; } /** @@ -153352,11 +158715,11 @@ export namespace dbformysql { /** * Enable Storage Auto Grow or not. */ - autoGrow?: pulumi.Input; + autoGrow?: pulumi.Input; /** * Enable IO Auto Scaling or not. */ - autoIoScaling?: pulumi.Input; + autoIoScaling?: pulumi.Input; /** * Storage IOPS for a server. */ @@ -153364,7 +158727,7 @@ export namespace dbformysql { /** * Enable Log On Disk or not. */ - logOnDisk?: pulumi.Input; + logOnDisk?: pulumi.Input; /** * Max storage size allowed for a server. */ @@ -156574,12 +161937,280 @@ export namespace desktopvirtualization { /** * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: pulumi.Input; + tier?: pulumi.Input; + } + + } + + export namespace v20220909 { + /** + * The session host configuration for updating agent, monitoring agent, and stack component. + */ + export interface AgentUpdatePropertiesArgs { + /** + * Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + */ + maintenanceWindowTimeZone?: pulumi.Input; + /** + * List of maintenance windows. Maintenance windows are 2 hours long. + */ + maintenanceWindows?: pulumi.Input[]>; + /** + * The type of maintenance for session host components. + */ + type?: pulumi.Input; + /** + * Whether to use localTime of the virtual machine. + */ + useSessionHostLocalTime?: pulumi.Input; + } + + /** + * Maintenance window starting hour and day of week. + */ + export interface MaintenanceWindowPropertiesArgs { + /** + * Day of the week. + */ + dayOfWeek?: pulumi.Input; + /** + * The update start hour of the day. (0 - 23) + */ + hour?: pulumi.Input; + } + + /** + * Schema for MSIX Package Application properties. + */ + export interface MsixPackageApplicationsArgs { + /** + * Package Application Id, found in appxmanifest.xml. + */ + appId?: pulumi.Input; + /** + * Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + */ + appUserModelID?: pulumi.Input; + /** + * Description of Package Application. + */ + description?: pulumi.Input; + /** + * User friendly name. + */ + friendlyName?: pulumi.Input; + /** + * User friendly name. + */ + iconImageName?: pulumi.Input; + /** + * the icon a 64 bit string as a byte array. + */ + rawIcon?: pulumi.Input; + /** + * the icon a 64 bit string as a byte array. + */ + rawPng?: pulumi.Input; + } + + /** + * Schema for MSIX Package Dependencies properties. + */ + export interface MsixPackageDependenciesArgs { + /** + * Name of package dependency. + */ + dependencyName?: pulumi.Input; + /** + * Dependency version required. + */ + minVersion?: pulumi.Input; + /** + * Name of dependency publisher. + */ + publisher?: pulumi.Input; + } + + /** + * Represents a RegistrationInfo definition. + */ + export interface RegistrationInfoArgs { + /** + * Expiration time of registration token. + */ + expirationTime?: pulumi.Input; + /** + * The type of resetting the token. + */ + registrationTokenOperation?: pulumi.Input; + /** + * The registration token base64 encoded string. + */ + token?: pulumi.Input; + } + + export interface ResourceModelWithAllowedPropertySetIdentityArgs { + /** + * The identity type. + */ + type?: pulumi.Input; + } + + export interface ResourceModelWithAllowedPropertySetPlanArgs { + /** + * A user defined name of the 3rd Party Artifact that is being procured. + */ + name: pulumi.Input; + /** + * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + */ + product: pulumi.Input; + /** + * A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + */ + promotionCode?: pulumi.Input; + /** + * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + */ + publisher: pulumi.Input; + /** + * The version of the desired product/artifact. + */ + version?: pulumi.Input; + } + + export interface ResourceModelWithAllowedPropertySetSkuArgs { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: pulumi.Input; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: pulumi.Input; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: pulumi.Input; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: pulumi.Input; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: pulumi.Input; + } + + /** + * Scaling plan reference to hostpool. + */ + export interface ScalingHostPoolReferenceArgs { + /** + * Arm path of referenced hostpool. + */ + hostPoolArmPath?: pulumi.Input; + /** + * Is the scaling plan enabled for this hostpool. + */ + scalingPlanEnabled?: pulumi.Input; + } + + /** + * A ScalingPlanPooledSchedule. + */ + export interface ScalingScheduleArgs { + /** + * Set of days of the week on which this schedule is active. + */ + daysOfWeek?: pulumi.Input[]>; + /** + * Name of the ScalingPlanPooledSchedule. + */ + name?: pulumi.Input; + /** + * Load balancing algorithm for off-peak period. + */ + offPeakLoadBalancingAlgorithm?: pulumi.Input; + /** + * Starting time for off-peak period. + */ + offPeakStartTime?: pulumi.Input; + /** + * Load balancing algorithm for peak period. + */ + peakLoadBalancingAlgorithm?: pulumi.Input; + /** + * Starting time for peak period. + */ + peakStartTime?: pulumi.Input; + /** + * Capacity threshold for ramp down period. + */ + rampDownCapacityThresholdPct?: pulumi.Input; + /** + * Should users be logged off forcefully from hosts. + */ + rampDownForceLogoffUsers?: pulumi.Input; + /** + * Load balancing algorithm for ramp down period. + */ + rampDownLoadBalancingAlgorithm?: pulumi.Input; + /** + * Minimum host percentage for ramp down period. + */ + rampDownMinimumHostsPct?: pulumi.Input; + /** + * Notification message for users during ramp down period. + */ + rampDownNotificationMessage?: pulumi.Input; + /** + * Starting time for ramp down period. + */ + rampDownStartTime?: pulumi.Input; + /** + * Specifies when to stop hosts during ramp down period. + */ + rampDownStopHostsWhen?: pulumi.Input; + /** + * Number of minutes to wait to stop hosts during ramp down period. + */ + rampDownWaitTimeMinutes?: pulumi.Input; + /** + * Capacity threshold for ramp up period. + */ + rampUpCapacityThresholdPct?: pulumi.Input; + /** + * Load balancing algorithm for ramp up period. + */ + rampUpLoadBalancingAlgorithm?: pulumi.Input; + /** + * Minimum host percentage for ramp up period. + */ + rampUpMinimumHostsPct?: pulumi.Input; + /** + * Starting time for ramp up period. + */ + rampUpStartTime?: pulumi.Input; + } + + /** + * The time for a scaling action to occur. + */ + export interface TimeArgs { + /** + * The hour. + */ + hour: pulumi.Input; + /** + * The minute. + */ + minute: pulumi.Input; } } - export namespace v20220909 { + export namespace v20221014preview { /** * The session host configuration for updating agent, monitoring agent, and stack component. */ @@ -156591,11 +162222,11 @@ export namespace desktopvirtualization { /** * List of maintenance windows. Maintenance windows are 2 hours long. */ - maintenanceWindows?: pulumi.Input[]>; + maintenanceWindows?: pulumi.Input[]>; /** * The type of maintenance for session host components. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Whether to use localTime of the virtual machine. */ @@ -156609,7 +162240,7 @@ export namespace desktopvirtualization { /** * Day of the week. */ - dayOfWeek?: pulumi.Input; + dayOfWeek?: pulumi.Input; /** * The update start hour of the day. (0 - 23) */ @@ -156668,6 +162299,24 @@ export namespace desktopvirtualization { publisher?: pulumi.Input; } + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateArgs { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; + } + /** * Represents a RegistrationInfo definition. */ @@ -156679,7 +162328,7 @@ export namespace desktopvirtualization { /** * The type of resetting the token. */ - registrationTokenOperation?: pulumi.Input; + registrationTokenOperation?: pulumi.Input; /** * The registration token base64 encoded string. */ @@ -156690,7 +162339,7 @@ export namespace desktopvirtualization { /** * The identity type. */ - type?: pulumi.Input; + type?: pulumi.Input; } export interface ResourceModelWithAllowedPropertySetPlanArgs { @@ -156736,7 +162385,7 @@ export namespace desktopvirtualization { /** * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -156768,19 +162417,19 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for off-peak period. */ - offPeakLoadBalancingAlgorithm?: pulumi.Input; + offPeakLoadBalancingAlgorithm?: pulumi.Input; /** * Starting time for off-peak period. */ - offPeakStartTime?: pulumi.Input; + offPeakStartTime?: pulumi.Input; /** * Load balancing algorithm for peak period. */ - peakLoadBalancingAlgorithm?: pulumi.Input; + peakLoadBalancingAlgorithm?: pulumi.Input; /** * Starting time for peak period. */ - peakStartTime?: pulumi.Input; + peakStartTime?: pulumi.Input; /** * Capacity threshold for ramp down period. */ @@ -156792,7 +162441,7 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for ramp down period. */ - rampDownLoadBalancingAlgorithm?: pulumi.Input; + rampDownLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp down period. */ @@ -156804,11 +162453,11 @@ export namespace desktopvirtualization { /** * Starting time for ramp down period. */ - rampDownStartTime?: pulumi.Input; + rampDownStartTime?: pulumi.Input; /** * Specifies when to stop hosts during ramp down period. */ - rampDownStopHostsWhen?: pulumi.Input; + rampDownStopHostsWhen?: pulumi.Input; /** * Number of minutes to wait to stop hosts during ramp down period. */ @@ -156820,7 +162469,7 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for ramp up period. */ - rampUpLoadBalancingAlgorithm?: pulumi.Input; + rampUpLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp up period. */ @@ -156828,7 +162477,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp up period. */ - rampUpStartTime?: pulumi.Input; + rampUpStartTime?: pulumi.Input; } /** @@ -156847,7 +162496,7 @@ export namespace desktopvirtualization { } - export namespace v20221014preview { + export namespace v20230707preview { /** * The session host configuration for updating agent, monitoring agent, and stack component. */ @@ -156859,11 +162508,11 @@ export namespace desktopvirtualization { /** * List of maintenance windows. Maintenance windows are 2 hours long. */ - maintenanceWindows?: pulumi.Input[]>; + maintenanceWindows?: pulumi.Input[]>; /** * The type of maintenance for session host components. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Whether to use localTime of the virtual machine. */ @@ -156877,7 +162526,7 @@ export namespace desktopvirtualization { /** * Day of the week. */ - dayOfWeek?: pulumi.Input; + dayOfWeek?: pulumi.Input; /** * The update start hour of the day. (0 - 23) */ @@ -156951,7 +162600,7 @@ export namespace desktopvirtualization { /** * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -156965,7 +162614,7 @@ export namespace desktopvirtualization { /** * The type of resetting the token. */ - registrationTokenOperation?: pulumi.Input; + registrationTokenOperation?: pulumi.Input; /** * The registration token base64 encoded string. */ @@ -156976,7 +162625,7 @@ export namespace desktopvirtualization { /** * The identity type. */ - type?: pulumi.Input; + type?: pulumi.Input; } export interface ResourceModelWithAllowedPropertySetPlanArgs { @@ -157022,7 +162671,7 @@ export namespace desktopvirtualization { /** * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -157054,19 +162703,19 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for off-peak period. */ - offPeakLoadBalancingAlgorithm?: pulumi.Input; + offPeakLoadBalancingAlgorithm?: pulumi.Input; /** * Starting time for off-peak period. */ - offPeakStartTime?: pulumi.Input; + offPeakStartTime?: pulumi.Input; /** * Load balancing algorithm for peak period. */ - peakLoadBalancingAlgorithm?: pulumi.Input; + peakLoadBalancingAlgorithm?: pulumi.Input; /** * Starting time for peak period. */ - peakStartTime?: pulumi.Input; + peakStartTime?: pulumi.Input; /** * Capacity threshold for ramp down period. */ @@ -157078,7 +162727,7 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for ramp down period. */ - rampDownLoadBalancingAlgorithm?: pulumi.Input; + rampDownLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp down period. */ @@ -157090,11 +162739,11 @@ export namespace desktopvirtualization { /** * Starting time for ramp down period. */ - rampDownStartTime?: pulumi.Input; + rampDownStartTime?: pulumi.Input; /** * Specifies when to stop hosts during ramp down period. */ - rampDownStopHostsWhen?: pulumi.Input; + rampDownStopHostsWhen?: pulumi.Input; /** * Number of minutes to wait to stop hosts during ramp down period. */ @@ -157106,7 +162755,7 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for ramp up period. */ - rampUpLoadBalancingAlgorithm?: pulumi.Input; + rampUpLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp up period. */ @@ -157114,7 +162763,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp up period. */ - rampUpStartTime?: pulumi.Input; + rampUpStartTime?: pulumi.Input; } /** @@ -157133,7 +162782,7 @@ export namespace desktopvirtualization { } - export namespace v20230707preview { + export namespace v20230905 { /** * The session host configuration for updating agent, monitoring agent, and stack component. */ @@ -157145,11 +162794,11 @@ export namespace desktopvirtualization { /** * List of maintenance windows. Maintenance windows are 2 hours long. */ - maintenanceWindows?: pulumi.Input[]>; + maintenanceWindows?: pulumi.Input[]>; /** * The type of maintenance for session host components. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Whether to use localTime of the virtual machine. */ @@ -157163,7 +162812,7 @@ export namespace desktopvirtualization { /** * Day of the week. */ - dayOfWeek?: pulumi.Input; + dayOfWeek?: pulumi.Input; /** * The update start hour of the day. (0 - 23) */ @@ -157237,7 +162886,7 @@ export namespace desktopvirtualization { /** * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -157251,7 +162900,7 @@ export namespace desktopvirtualization { /** * The type of resetting the token. */ - registrationTokenOperation?: pulumi.Input; + registrationTokenOperation?: pulumi.Input; /** * The registration token base64 encoded string. */ @@ -157262,7 +162911,7 @@ export namespace desktopvirtualization { /** * The identity type. */ - type?: pulumi.Input; + type?: pulumi.Input; } export interface ResourceModelWithAllowedPropertySetPlanArgs { @@ -157308,7 +162957,7 @@ export namespace desktopvirtualization { /** * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -157340,19 +162989,19 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for off-peak period. */ - offPeakLoadBalancingAlgorithm?: pulumi.Input; + offPeakLoadBalancingAlgorithm?: pulumi.Input; /** * Starting time for off-peak period. */ - offPeakStartTime?: pulumi.Input; + offPeakStartTime?: pulumi.Input; /** * Load balancing algorithm for peak period. */ - peakLoadBalancingAlgorithm?: pulumi.Input; + peakLoadBalancingAlgorithm?: pulumi.Input; /** * Starting time for peak period. */ - peakStartTime?: pulumi.Input; + peakStartTime?: pulumi.Input; /** * Capacity threshold for ramp down period. */ @@ -157364,7 +163013,7 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for ramp down period. */ - rampDownLoadBalancingAlgorithm?: pulumi.Input; + rampDownLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp down period. */ @@ -157376,11 +163025,11 @@ export namespace desktopvirtualization { /** * Starting time for ramp down period. */ - rampDownStartTime?: pulumi.Input; + rampDownStartTime?: pulumi.Input; /** * Specifies when to stop hosts during ramp down period. */ - rampDownStopHostsWhen?: pulumi.Input; + rampDownStopHostsWhen?: pulumi.Input; /** * Number of minutes to wait to stop hosts during ramp down period. */ @@ -157392,7 +163041,7 @@ export namespace desktopvirtualization { /** * Load balancing algorithm for ramp up period. */ - rampUpLoadBalancingAlgorithm?: pulumi.Input; + rampUpLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp up period. */ @@ -157400,7 +163049,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp up period. */ - rampUpStartTime?: pulumi.Input; + rampUpStartTime?: pulumi.Input; } /** @@ -157686,6 +163335,154 @@ export namespace devcenter { } } + + export namespace v20230801preview { + /** + * All Customer-managed key encryption properties for the resource. + */ + export interface CustomerManagedKeyEncryptionArgs { + /** + * All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + */ + keyEncryptionKeyIdentity?: pulumi.Input; + /** + * key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + */ + keyEncryptionKeyUrl?: pulumi.Input; + } + + /** + * All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + */ + export interface CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs { + /** + * delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + */ + delegatedIdentityClientId?: pulumi.Input; + /** + * Values can be systemAssignedIdentity or userAssignedIdentity + */ + identityType?: pulumi.Input; + /** + * user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + */ + userAssignedIdentityResourceId?: pulumi.Input; + } + + export interface EncryptionArgs { + /** + * All Customer-managed key encryption properties for the resource. + */ + customerManagedKeyEncryption?: pulumi.Input; + } + + /** + * Properties for a Git repository catalog. + */ + export interface GitCatalogArgs { + /** + * Git branch. + */ + branch?: pulumi.Input; + /** + * The folder where the catalog items can be found inside the repository. + */ + path?: pulumi.Input; + /** + * A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + */ + secretIdentifier?: pulumi.Input; + /** + * Git URI. + */ + uri?: pulumi.Input; + } + + /** + * Image reference information + */ + export interface ImageReferenceArgs { + /** + * Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + */ + id?: pulumi.Input; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityArgs { + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The role definition assigned to the environment creator on backing resources. + */ + export interface ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs { + /** + * A map of roles to assign to the environment creator. + */ + roles?: pulumi.Input[]>; + } + + /** + * The resource model definition representing SKU + */ + export interface SkuArgs { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: pulumi.Input; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: pulumi.Input; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: pulumi.Input; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: pulumi.Input; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: pulumi.Input; + } + + /** + * Stop on disconnect configuration settings for Dev Boxes created in this pool. + */ + export interface StopOnDisconnectConfigurationArgs { + /** + * The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + */ + gracePeriodMinutes?: pulumi.Input; + /** + * Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + */ + status?: pulumi.Input; + } + + /** + * Mapping of user object ID to role assignments. + */ + export interface UserRoleAssignmentArgs { + /** + * A map of roles to assign to the parent user. + */ + roles?: pulumi.Input[]>; + } + + } } export namespace devhub { @@ -165411,788 +171208,2701 @@ export namespace documentdb { /** * Enum to indicate type of Continuous backup mode */ - tier?: pulumi.Input; + tier?: pulumi.Input; + } + + /** + * The CORS policy for the Cosmos DB database account. + */ + export interface CorsPolicyArgs { + /** + * The request headers that the origin domain may specify on the CORS request. + */ + allowedHeaders?: pulumi.Input; + /** + * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + */ + allowedMethods?: pulumi.Input; + /** + * The origin domains that are permitted to make a request against the service via CORS. + */ + allowedOrigins: pulumi.Input; + /** + * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + */ + exposedHeaders?: pulumi.Input; + /** + * The maximum amount time that a browser should cache the preflight OPTIONS request. + */ + maxAgeInSeconds?: pulumi.Input; + } + + /** + * CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + */ + export interface CreateUpdateOptionsArgs { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: pulumi.Input; + /** + * Request Units per second. For example, "throughput": 10000. + */ + throughput?: pulumi.Input; + } + + /** + * Properties of a managed Cassandra data center. + */ + export interface DataCenterResourcePropertiesArgs { + /** + * Ldap authentication method properties. This feature is in preview. + */ + authenticationMethodLdapProperties?: pulumi.Input; + /** + * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + */ + availabilityZone?: pulumi.Input; + /** + * Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + */ + backupStorageCustomerKeyUri?: pulumi.Input; + /** + * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + */ + base64EncodedCassandraYamlFragment?: pulumi.Input; + /** + * The region this data center should be created in. + */ + dataCenterLocation?: pulumi.Input; + /** + * Whether the data center has been deallocated. + */ + deallocated?: pulumi.Input; + /** + * Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + */ + delegatedSubnetId?: pulumi.Input; + /** + * Number of disks attached to each node. Default is 4. + */ + diskCapacity?: pulumi.Input; + /** + * Disk SKU used for data centers. Default value is P30. + */ + diskSku?: pulumi.Input; + /** + * Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + */ + managedDiskCustomerKeyUri?: pulumi.Input; + /** + * The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + */ + nodeCount?: pulumi.Input; + /** + * Error related to resource provisioning. + */ + provisionError?: pulumi.Input; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: pulumi.Input; + /** + * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + */ + sku?: pulumi.Input; + } + + /** + * Specific Databases to restore. + */ + export interface DatabaseRestoreResourceArgs { + /** + * The names of the collections available for restore. + */ + collectionNames?: pulumi.Input[]>; + /** + * The name of the database available for restore. + */ + databaseName?: pulumi.Input; + } + + export interface ExcludedPathArgs { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; + } + + /** + * Cosmos DB Graph resource object + */ + export interface GraphResourceArgs { + /** + * Name of the Cosmos DB Graph + */ + id: pulumi.Input; + } + + /** + * Cosmos DB Gremlin database resource object + */ + export interface GremlinDatabaseResourceArgs { + /** + * Name of the Cosmos DB Gremlin database + */ + id: pulumi.Input; + } + + /** + * Specific Gremlin Databases to restore. + */ + export interface GremlinDatabaseRestoreResourceArgs { + /** + * The name of the gremlin database available for restore. + */ + databaseName?: pulumi.Input; + /** + * The names of the graphs available for restore. + */ + graphNames?: pulumi.Input[]>; + } + + /** + * Cosmos DB Gremlin graph resource object + */ + export interface GremlinGraphResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * The conflict resolution policy for the graph. + */ + conflictResolutionPolicy?: pulumi.Input; + /** + * Default time to live + */ + defaultTtl?: pulumi.Input; + /** + * Name of the Cosmos DB Gremlin graph + */ + id: pulumi.Input; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + */ + indexingPolicy?: pulumi.Input; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: pulumi.Input; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: pulumi.Input; + } + /** + * gremlinGraphResourceArgsProvideDefaults sets the appropriate defaults for GremlinGraphResourceArgs + */ + export function gremlinGraphResourceArgsProvideDefaults(val: GremlinGraphResourceArgs): GremlinGraphResourceArgs { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.containerPartitionKeyArgsProvideDefaults) : undefined), + }; + } + + /** + * The paths that are included in indexing + */ + export interface IncludedPathArgs { + /** + * List of indexes for this path + */ + indexes?: pulumi.Input[]>; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; + } + + /** + * The indexes for the path. + */ + export interface IndexesArgs { + /** + * The datatype for which the indexing behavior is applied to. + */ + dataType?: pulumi.Input; + /** + * Indicates the type of index. + */ + kind?: pulumi.Input; + /** + * The precision of the index. -1 is maximum precision. + */ + precision?: pulumi.Input; + } + /** + * indexesArgsProvideDefaults sets the appropriate defaults for IndexesArgs + */ + export function indexesArgsProvideDefaults(val: IndexesArgs): IndexesArgs { + return { + ...val, + dataType: (val.dataType) ?? "String", + kind: (val.kind) ?? "Hash", + }; + } + + /** + * Cosmos DB indexing policy + */ + export interface IndexingPolicyArgs { + /** + * Indicates if the indexing policy is automatic + */ + automatic?: pulumi.Input; + /** + * List of composite path list + */ + compositeIndexes?: pulumi.Input[]>[]>; + /** + * List of paths to exclude from indexing + */ + excludedPaths?: pulumi.Input[]>; + /** + * List of paths to include in the indexing + */ + includedPaths?: pulumi.Input[]>; + /** + * Indicates the indexing mode. + */ + indexingMode?: pulumi.Input; + /** + * List of spatial specifics + */ + spatialIndexes?: pulumi.Input[]>; + } + /** + * indexingPolicyArgsProvideDefaults sets the appropriate defaults for IndexingPolicyArgs + */ + export function indexingPolicyArgsProvideDefaults(val: IndexingPolicyArgs): IndexingPolicyArgs { + return { + ...val, + indexingMode: (val.indexingMode) ?? "consistent", + }; + } + + /** + * IpAddressOrRange object + */ + export interface IpAddressOrRangeArgs { + /** + * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + */ + ipAddressOrRange?: pulumi.Input; + } + + /** + * A region in which the Azure Cosmos DB database account is deployed. + */ + export interface LocationArgs { + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: pulumi.Input; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: pulumi.Input; + /** + * The name of the region. + */ + locationName?: pulumi.Input; + } + + /** + * Identity for the resource. + */ + export interface ManagedCassandraManagedServiceIdentityArgs { + /** + * The type of the resource. + */ + type?: pulumi.Input; + } + + /** + * Identity for the resource. + */ + export interface ManagedServiceIdentityArgs { + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Parameters used for restore operations + */ + export interface MongoClusterRestoreParametersArgs { + /** + * UTC point in time to restore a mongo cluster + */ + pointInTimeUTC?: pulumi.Input; + /** + * Resource ID to locate the source cluster to restore + */ + sourceResourceId?: pulumi.Input; + } + + /** + * Cosmos DB MongoDB collection resource object + */ + export interface MongoDBCollectionResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * Name of the Cosmos DB MongoDB collection + */ + id: pulumi.Input; + /** + * List of index keys + */ + indexes?: pulumi.Input[]>; + /** + * A key-value pair of shard keys to be applied for the request. + */ + shardKey?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * Cosmos DB MongoDB database resource object + */ + export interface MongoDBDatabaseResourceArgs { + /** + * Name of the Cosmos DB MongoDB database + */ + id: pulumi.Input; + } + + /** + * Cosmos DB MongoDB collection index key + */ + export interface MongoIndexArgs { + /** + * Cosmos DB MongoDB collection index keys + */ + key?: pulumi.Input; + /** + * Cosmos DB MongoDB collection index key options + */ + options?: pulumi.Input; + } + + /** + * Cosmos DB MongoDB collection resource object + */ + export interface MongoIndexKeysArgs { + /** + * List of keys for each MongoDB collection in the Azure Cosmos DB service + */ + keys?: pulumi.Input[]>; + } + + /** + * Cosmos DB MongoDB collection index options + */ + export interface MongoIndexOptionsArgs { + /** + * Expire after seconds + */ + expireAfterSeconds?: pulumi.Input; + /** + * Is unique or not + */ + unique?: pulumi.Input; + } + + /** + * Specification for a node group. + */ + export interface NodeGroupSpecArgs { + /** + * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + */ + diskSizeGB?: pulumi.Input; + /** + * Whether high availability is enabled on the node group. + */ + enableHa?: pulumi.Input; + /** + * The node type deployed in the node group. + */ + kind?: pulumi.Input; + /** + * The number of nodes in the node group. + */ + nodeCount?: pulumi.Input; + /** + * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + */ + sku?: pulumi.Input; + } + + /** + * The object representing periodic mode backup policy. + */ + export interface PeriodicModeBackupPolicyArgs { + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: pulumi.Input; + /** + * Configuration values for periodic mode backup + */ + periodicModeProperties?: pulumi.Input; + /** + * Describes the mode of backups. + * Expected value is 'Periodic'. + */ + type: pulumi.Input<"Periodic">; + } + + /** + * Configuration values for periodic mode backup + */ + export interface PeriodicModePropertiesArgs { + /** + * An integer representing the interval in minutes between two backups + */ + backupIntervalInMinutes?: pulumi.Input; + /** + * An integer representing the time (in hours) that each backup is retained + */ + backupRetentionIntervalInHours?: pulumi.Input; + /** + * Enum to indicate type of backup residency + */ + backupStorageRedundancy?: pulumi.Input; + } + + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PermissionArgs { + /** + * An array of data actions that are allowed. + */ + dataActions?: pulumi.Input[]>; + /** + * An array of data actions that are denied. + */ + notDataActions?: pulumi.Input[]>; + } + + /** + * Private endpoint which the connection belongs to. + */ + export interface PrivateEndpointPropertyArgs { + /** + * Resource id of the private endpoint. + */ + id?: pulumi.Input; + } + + /** + * Connection State of the Private Endpoint Connection. + */ + export interface PrivateLinkServiceConnectionStatePropertyArgs { + /** + * The private link service connection description. + */ + description?: pulumi.Input; + /** + * The private link service connection status. + */ + status?: pulumi.Input; + } + + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PrivilegeArgs { + /** + * An array of actions that are allowed. + */ + actions?: pulumi.Input[]>; + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + resource?: pulumi.Input; + } + + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + export interface PrivilegeResourceArgs { + /** + * The collection name the role is applied. + */ + collection?: pulumi.Input; + /** + * The database name the role is applied. + */ + db?: pulumi.Input; } /** - * The CORS policy for the Cosmos DB database account. + * Parameters to indicate the information about the restore. */ - export interface CorsPolicyArgs { + export interface RestoreParametersArgs { /** - * The request headers that the origin domain may specify on the CORS request. + * List of specific databases available for restore. */ - allowedHeaders?: pulumi.Input; + databasesToRestore?: pulumi.Input[]>; /** - * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + * List of specific gremlin databases available for restore. */ - allowedMethods?: pulumi.Input; + gremlinDatabasesToRestore?: pulumi.Input[]>; /** - * The origin domains that are permitted to make a request against the service via CORS. + * Describes the mode of the restore. */ - allowedOrigins: pulumi.Input; + restoreMode?: pulumi.Input; /** - * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} */ - exposedHeaders?: pulumi.Input; + restoreSource?: pulumi.Input; /** - * The maximum amount time that a browser should cache the preflight OPTIONS request. + * Time to which the account has to be restored (ISO-8601 format). */ - maxAgeInSeconds?: pulumi.Input; + restoreTimestampInUtc?: pulumi.Input; + /** + * List of specific tables available for restore. + */ + tablesToRestore?: pulumi.Input[]>; } /** - * CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + * The set of roles permitted through this Role Definition. */ - export interface CreateUpdateOptionsArgs { + export interface RoleArgs { /** - * Specifies the Autoscale settings. + * The database name the role is applied. */ - autoscaleSettings?: pulumi.Input; + db?: pulumi.Input; /** - * Request Units per second. For example, "throughput": 10000. + * The role name. */ - throughput?: pulumi.Input; + role?: pulumi.Input; } - /** - * Properties of a managed Cassandra data center. - */ - export interface DataCenterResourcePropertiesArgs { + export interface SeedNodeArgs { /** - * Ldap authentication method properties. This feature is in preview. + * IP address of this seed node. */ - authenticationMethodLdapProperties?: pulumi.Input; + ipAddress?: pulumi.Input; + } + + export interface SpatialSpecArgs { /** - * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ - availabilityZone?: pulumi.Input; + path?: pulumi.Input; /** - * Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + * List of path's spatial type */ - backupStorageCustomerKeyUri?: pulumi.Input; + types?: pulumi.Input[]>; + } + + /** + * Cosmos DB SQL container resource object + */ + export interface SqlContainerResourceArgs { /** - * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + * Analytical TTL. */ - base64EncodedCassandraYamlFragment?: pulumi.Input; + analyticalStorageTtl?: pulumi.Input; /** - * The region this data center should be created in. + * The client encryption policy for the container. */ - dataCenterLocation?: pulumi.Input; + clientEncryptionPolicy?: pulumi.Input; /** - * Whether the data center has been deallocated. + * The conflict resolution policy for the container. */ - deallocated?: pulumi.Input; + conflictResolutionPolicy?: pulumi.Input; /** - * Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + * Default time to live */ - delegatedSubnetId?: pulumi.Input; + defaultTtl?: pulumi.Input; /** - * Number of disks attached to each node. Default is 4. + * Name of the Cosmos DB SQL container */ - diskCapacity?: pulumi.Input; + id: pulumi.Input; /** - * Disk SKU used for data centers. Default value is P30. + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ - diskSku?: pulumi.Input; + indexingPolicy?: pulumi.Input; /** - * Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + * The configuration of the partition key to be used for partitioning data into multiple partitions */ - managedDiskCustomerKeyUri?: pulumi.Input; + partitionKey?: pulumi.Input; /** - * The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - nodeCount?: pulumi.Input; + uniqueKeyPolicy?: pulumi.Input; + } + /** + * sqlContainerResourceArgsProvideDefaults sets the appropriate defaults for SqlContainerResourceArgs + */ + export function sqlContainerResourceArgsProvideDefaults(val: SqlContainerResourceArgs): SqlContainerResourceArgs { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.containerPartitionKeyArgsProvideDefaults) : undefined), + }; + } + + /** + * Cosmos DB SQL database resource object + */ + export interface SqlDatabaseResourceArgs { /** - * Error related to resource provisioning. + * Name of the Cosmos DB SQL database */ - provisionError?: pulumi.Input; + id: pulumi.Input; + } + + /** + * Cosmos DB SQL storedProcedure resource object + */ + export interface SqlStoredProcedureResourceArgs { /** - * The status of the resource at the time the operation was called. + * Body of the Stored Procedure */ - provisioningState?: pulumi.Input; + body?: pulumi.Input; /** - * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + * Name of the Cosmos DB SQL storedProcedure */ - sku?: pulumi.Input; + id: pulumi.Input; } /** - * Specific Databases to restore. + * Cosmos DB SQL trigger resource object */ - export interface DatabaseRestoreResourceArgs { + export interface SqlTriggerResourceArgs { /** - * The names of the collections available for restore. + * Body of the Trigger */ - collectionNames?: pulumi.Input[]>; + body?: pulumi.Input; /** - * The name of the database available for restore. + * Name of the Cosmos DB SQL trigger */ - databaseName?: pulumi.Input; - } - - export interface ExcludedPathArgs { + id: pulumi.Input; /** - * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + * The operation the trigger is associated with */ - path?: pulumi.Input; + triggerOperation?: pulumi.Input; + /** + * Type of the Trigger + */ + triggerType?: pulumi.Input; } /** - * Cosmos DB Graph resource object + * Cosmos DB SQL userDefinedFunction resource object */ - export interface GraphResourceArgs { + export interface SqlUserDefinedFunctionResourceArgs { /** - * Name of the Cosmos DB Graph + * Body of the User Defined Function + */ + body?: pulumi.Input; + /** + * Name of the Cosmos DB SQL userDefinedFunction */ id: pulumi.Input; } /** - * Cosmos DB Gremlin database resource object + * Cosmos DB table resource object */ - export interface GremlinDatabaseResourceArgs { + export interface TableResourceArgs { /** - * Name of the Cosmos DB Gremlin database + * Name of the Cosmos DB table */ id: pulumi.Input; } /** - * Specific Gremlin Databases to restore. + * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - export interface GremlinDatabaseRestoreResourceArgs { + export interface UniqueKeyArgs { /** - * The name of the gremlin database available for restore. + * List of paths must be unique for each document in the Azure Cosmos DB service */ - databaseName?: pulumi.Input; + paths?: pulumi.Input[]>; + } + + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + export interface UniqueKeyPolicyArgs { /** - * The names of the graphs available for restore. + * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - graphNames?: pulumi.Input[]>; + uniqueKeys?: pulumi.Input[]>; } /** - * Cosmos DB Gremlin graph resource object + * Virtual Network ACL Rule object */ - export interface GremlinGraphResourceArgs { + export interface VirtualNetworkRuleArgs { /** - * Analytical TTL. + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. */ - analyticalStorageTtl?: pulumi.Input; + id?: pulumi.Input; /** - * The conflict resolution policy for the graph. + * Create firewall rule before the virtual network has vnet service endpoint enabled. */ - conflictResolutionPolicy?: pulumi.Input; + ignoreMissingVNetServiceEndpoint?: pulumi.Input; + } + + export namespace v20210401preview { + export interface ApiPropertiesArgs { + /** + * Describes the ServerVersion of an a MongoDB account. + */ + serverVersion?: pulumi.Input; + } + /** - * Default time to live + * Cosmos DB capability object */ - defaultTtl?: pulumi.Input; + export interface CapabilityArgs { + /** + * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + */ + name?: pulumi.Input; + } + /** - * Name of the Cosmos DB Gremlin graph + * The consistency policy for the Cosmos DB database account. */ - id: pulumi.Input; + export interface ConsistencyPolicyArgs { + /** + * The default consistency level and configuration settings of the Cosmos DB account. + */ + defaultConsistencyLevel: pulumi.Input; + /** + * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxIntervalInSeconds?: pulumi.Input; + /** + * When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxStalenessPrefix?: pulumi.Input; + } + /** - * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + * The object representing continuous mode backup policy. */ - indexingPolicy?: pulumi.Input; + export interface ContinuousModeBackupPolicyArgs { + /** + * Describes the mode of backups. + * Expected value is 'Continuous'. + */ + type: pulumi.Input<"Continuous">; + } + /** - * The configuration of the partition key to be used for partitioning data into multiple partitions + * The CORS policy for the Cosmos DB database account. */ - partitionKey?: pulumi.Input; + export interface CorsPolicyArgs { + /** + * The request headers that the origin domain may specify on the CORS request. + */ + allowedHeaders?: pulumi.Input; + /** + * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + */ + allowedMethods?: pulumi.Input; + /** + * The origin domains that are permitted to make a request against the service via CORS. + */ + allowedOrigins: pulumi.Input; + /** + * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + */ + exposedHeaders?: pulumi.Input; + /** + * The maximum amount time that a browser should cache the preflight OPTIONS request. + */ + maxAgeInSeconds?: pulumi.Input; + } + /** - * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + * Specific Databases to restore. */ - uniqueKeyPolicy?: pulumi.Input; - } - /** - * gremlinGraphResourceArgsProvideDefaults sets the appropriate defaults for GremlinGraphResourceArgs - */ - export function gremlinGraphResourceArgsProvideDefaults(val: GremlinGraphResourceArgs): GremlinGraphResourceArgs { - return { - ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.conflictResolutionPolicyArgsProvideDefaults) : undefined), - indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.indexingPolicyArgsProvideDefaults) : undefined), - partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.containerPartitionKeyArgsProvideDefaults) : undefined), - }; - } + export interface DatabaseRestoreResourceArgs { + /** + * The names of the collections available for restore. + */ + collectionNames?: pulumi.Input[]>; + /** + * The name of the database available for restore. + */ + databaseName?: pulumi.Input; + } - /** - * The paths that are included in indexing - */ - export interface IncludedPathArgs { /** - * List of indexes for this path + * Properties for non-restore Azure Cosmos DB database account requests. */ - indexes?: pulumi.Input[]>; + export interface DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs { + /** + * API specific properties. Currently, supported only for MongoDB API. + */ + apiProperties?: pulumi.Input; + /** + * The object representing the policy for taking backups on an account. + */ + backupPolicy?: pulumi.Input; + /** + * List of Cosmos DB capabilities for the account + */ + capabilities?: pulumi.Input[]>; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + connectorOffer?: pulumi.Input; + /** + * The consistency policy for the Cosmos DB account. + */ + consistencyPolicy?: pulumi.Input; + /** + * The CORS policy for the Cosmos DB database account. + */ + cors?: pulumi.Input[]>; + /** + * Enum to indicate the mode of account creation. + * Expected value is 'Default'. + */ + createMode: pulumi.Input<"Default">; + /** + * The offer type for the database + */ + databaseAccountOfferType: pulumi.Input; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + defaultIdentity?: pulumi.Input; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + disableKeyBasedMetadataWriteAccess?: pulumi.Input; + /** + * Flag to indicate whether to enable storage analytics. + */ + enableAnalyticalStorage?: pulumi.Input; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + enableAutomaticFailover?: pulumi.Input; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + enableCassandraConnector?: pulumi.Input; + /** + * Flag to indicate whether Free Tier is enabled. + */ + enableFreeTier?: pulumi.Input; + /** + * Enables the account to write in multiple locations + */ + enableMultipleWriteLocations?: pulumi.Input; + /** + * List of IpRules. + */ + ipRules?: pulumi.Input[]>; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + isVirtualNetworkFilterEnabled?: pulumi.Input; + /** + * The URI of the key vault + */ + keyVaultKeyUri?: pulumi.Input; + /** + * An array that contains the georeplication locations enabled for the Cosmos DB account. + */ + locations: pulumi.Input[]>; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + networkAclBypass?: pulumi.Input; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + networkAclBypassResourceIds?: pulumi.Input[]>; + /** + * Whether requests from Public Network are allowed + */ + publicNetworkAccess?: pulumi.Input; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + virtualNetworkRules?: pulumi.Input[]>; + } /** - * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + * defaultRequestDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults sets the appropriate defaults for DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs */ - path?: pulumi.Input; - } + export function defaultRequestDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults(val: DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs): DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs { + return { + ...val, + createMode: (val.createMode) ?? "Default", + }; + } - /** - * The indexes for the path. - */ - export interface IndexesArgs { /** - * The datatype for which the indexing behavior is applied to. + * IpAddressOrRange object */ - dataType?: pulumi.Input; + export interface IpAddressOrRangeArgs { + /** + * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + */ + ipAddressOrRange?: pulumi.Input; + } + /** - * Indicates the type of index. + * A region in which the Azure Cosmos DB database account is deployed. */ - kind?: pulumi.Input; + export interface LocationArgs { + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: pulumi.Input; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: pulumi.Input; + /** + * The name of the region. + */ + locationName?: pulumi.Input; + } + /** - * The precision of the index. -1 is maximum precision. + * Identity for the resource. */ - precision?: pulumi.Input; - } - /** - * indexesArgsProvideDefaults sets the appropriate defaults for IndexesArgs - */ - export function indexesArgsProvideDefaults(val: IndexesArgs): IndexesArgs { - return { - ...val, - dataType: (val.dataType) ?? "String", - kind: (val.kind) ?? "Hash", - }; - } + export interface ManagedServiceIdentityArgs { + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } - /** - * Cosmos DB indexing policy - */ - export interface IndexingPolicyArgs { /** - * Indicates if the indexing policy is automatic + * The object representing periodic mode backup policy. */ - automatic?: pulumi.Input; + export interface PeriodicModeBackupPolicyArgs { + /** + * Configuration values for periodic mode backup + */ + periodicModeProperties?: pulumi.Input; + /** + * Describes the mode of backups. + * Expected value is 'Periodic'. + */ + type: pulumi.Input<"Periodic">; + } + /** - * List of composite path list + * Configuration values for periodic mode backup */ - compositeIndexes?: pulumi.Input[]>[]>; + export interface PeriodicModePropertiesArgs { + /** + * An integer representing the interval in minutes between two backups + */ + backupIntervalInMinutes?: pulumi.Input; + /** + * An integer representing the time (in hours) that each backup is retained + */ + backupRetentionIntervalInHours?: pulumi.Input; + /** + * Enum to indicate type of backup residency + */ + backupStorageRedundancy?: pulumi.Input; + } + /** - * List of paths to exclude from indexing + * Parameters to indicate the information about the restore. */ - excludedPaths?: pulumi.Input[]>; + export interface RestoreParametersArgs { + /** + * List of specific databases available for restore. + */ + databasesToRestore?: pulumi.Input[]>; + /** + * Describes the mode of the restore. + */ + restoreMode?: pulumi.Input; + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: pulumi.Input; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: pulumi.Input; + } + /** - * List of paths to include in the indexing + * Properties to restore Azure Cosmos DB database account. */ - includedPaths?: pulumi.Input[]>; + export interface RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs { + /** + * API specific properties. Currently, supported only for MongoDB API. + */ + apiProperties?: pulumi.Input; + /** + * The object representing the policy for taking backups on an account. + */ + backupPolicy?: pulumi.Input; + /** + * List of Cosmos DB capabilities for the account + */ + capabilities?: pulumi.Input[]>; + /** + * The cassandra connector offer type for the Cosmos DB database C* account. + */ + connectorOffer?: pulumi.Input; + /** + * The consistency policy for the Cosmos DB account. + */ + consistencyPolicy?: pulumi.Input; + /** + * The CORS policy for the Cosmos DB database account. + */ + cors?: pulumi.Input[]>; + /** + * Enum to indicate the mode of account creation. + * Expected value is 'Restore'. + */ + createMode: pulumi.Input<"Restore">; + /** + * The offer type for the database + */ + databaseAccountOfferType: pulumi.Input; + /** + * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + */ + defaultIdentity?: pulumi.Input; + /** + * Disable write operations on metadata resources (databases, containers, throughput) via account keys + */ + disableKeyBasedMetadataWriteAccess?: pulumi.Input; + /** + * Flag to indicate whether to enable storage analytics. + */ + enableAnalyticalStorage?: pulumi.Input; + /** + * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + */ + enableAutomaticFailover?: pulumi.Input; + /** + * Enables the cassandra connector on the Cosmos DB C* account + */ + enableCassandraConnector?: pulumi.Input; + /** + * Flag to indicate whether Free Tier is enabled. + */ + enableFreeTier?: pulumi.Input; + /** + * Enables the account to write in multiple locations + */ + enableMultipleWriteLocations?: pulumi.Input; + /** + * List of IpRules. + */ + ipRules?: pulumi.Input[]>; + /** + * Flag to indicate whether to enable/disable Virtual Network ACL rules. + */ + isVirtualNetworkFilterEnabled?: pulumi.Input; + /** + * The URI of the key vault + */ + keyVaultKeyUri?: pulumi.Input; + /** + * An array that contains the georeplication locations enabled for the Cosmos DB account. + */ + locations: pulumi.Input[]>; + /** + * Indicates what services are allowed to bypass firewall checks. + */ + networkAclBypass?: pulumi.Input; + /** + * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + */ + networkAclBypassResourceIds?: pulumi.Input[]>; + /** + * Whether requests from Public Network are allowed + */ + publicNetworkAccess?: pulumi.Input; + /** + * Parameters to indicate the information about the restore. + */ + restoreParameters?: pulumi.Input; + /** + * List of Virtual Network ACL rules configured for the Cosmos DB account. + */ + virtualNetworkRules?: pulumi.Input[]>; + } /** - * Indicates the indexing mode. + * restoreReqeustDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults sets the appropriate defaults for RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs */ - indexingMode?: pulumi.Input; + export function restoreReqeustDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults(val: RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs): RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs { + return { + ...val, + createMode: (val.createMode) ?? "Default", + }; + } + /** - * List of spatial specifics + * Virtual Network ACL Rule object */ - spatialIndexes?: pulumi.Input[]>; - } - /** - * indexingPolicyArgsProvideDefaults sets the appropriate defaults for IndexingPolicyArgs - */ - export function indexingPolicyArgsProvideDefaults(val: IndexingPolicyArgs): IndexingPolicyArgs { - return { - ...val, - indexingMode: (val.indexingMode) ?? "consistent", - }; + export interface VirtualNetworkRuleArgs { + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + */ + id?: pulumi.Input; + /** + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ + ignoreMissingVNetServiceEndpoint?: pulumi.Input; + } + } - /** - * IpAddressOrRange object - */ - export interface IpAddressOrRangeArgs { + export namespace v20210701preview { + export interface CertificateArgs { + /** + * PEM formatted public key. + */ + pem?: pulumi.Input; + } + /** - * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + * Properties of a managed Cassandra cluster. */ - ipAddressOrRange?: pulumi.Input; + export interface ClusterResourcePropertiesArgs { + /** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ + authenticationMethod?: pulumi.Input; + /** + * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + */ + cassandraVersion?: pulumi.Input; + /** + * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + */ + clientCertificates?: pulumi.Input[]>; + /** + * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + */ + clusterNameOverride?: pulumi.Input; + /** + * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + */ + delegatedManagementSubnetId?: pulumi.Input; + /** + * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + */ + externalGossipCertificates?: pulumi.Input[]>; + /** + * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + */ + externalSeedNodes?: pulumi.Input[]>; + /** + * Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0. + */ + hoursBetweenBackups?: pulumi.Input; + /** + * Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + */ + initialCassandraAdminPassword?: pulumi.Input; + /** + * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + */ + prometheusEndpoint?: pulumi.Input; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: pulumi.Input; + /** + * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + */ + repairEnabled?: pulumi.Input; + /** + * To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + */ + restoreFromBackupId?: pulumi.Input; + } + + /** + * Identity for the resource. + */ + export interface ManagedServiceIdentityArgs { + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + export interface SeedNodeArgs { + /** + * IP address of this seed node. + */ + ipAddress?: pulumi.Input; + } + } - /** - * A region in which the Azure Cosmos DB database account is deployed. - */ - export interface LocationArgs { + export namespace v20230301preview { /** - * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + * The set of data plane operations permitted through this Role Definition. */ - failoverPriority?: pulumi.Input; + export interface PrivilegeArgs { + /** + * An array of actions that are allowed. + */ + actions?: pulumi.Input[]>; + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + resource?: pulumi.Input; + } + /** - * Flag to indicate whether or not this region is an AvailabilityZone region + * An Azure Cosmos DB Mongo DB Resource. */ - isZoneRedundant?: pulumi.Input; + export interface PrivilegeResourceArgs { + /** + * The collection name the role is applied. + */ + collection?: pulumi.Input; + /** + * The database name the role is applied. + */ + db?: pulumi.Input; + } + /** - * The name of the region. + * The set of roles permitted through this Role Definition. */ - locationName?: pulumi.Input; + export interface RoleArgs { + /** + * The database name the role is applied. + */ + db?: pulumi.Input; + /** + * The role name. + */ + role?: pulumi.Input; + } + } - /** - * Identity for the resource. - */ - export interface ManagedCassandraManagedServiceIdentityArgs { + export namespace v20230315preview { /** - * The type of the resource. + * Analytical storage specific properties. */ - type?: pulumi.Input; - } + export interface AnalyticalStorageConfigurationArgs { + /** + * Describes the types of schema for analytical storage. + */ + schemaType?: pulumi.Input; + } + + export interface ApiPropertiesArgs { + /** + * Describes the ServerVersion of an a MongoDB account. + */ + serverVersion?: pulumi.Input; + } + + export interface AutoscaleSettingsArgs { + /** + * Represents maximum throughput, the resource can scale up to. + */ + maxThroughput?: pulumi.Input; + } - /** - * Identity for the resource. - */ - export interface ManagedServiceIdentityArgs { /** - * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + * The object representing the state of the migration between the backup policies. */ - type?: pulumi.Input; + export interface BackupPolicyMigrationStateArgs { + /** + * Time at which the backup policy migration started (ISO-8601 format). + */ + startTime?: pulumi.Input; + /** + * Describes the status of migration between backup policy types. + */ + status?: pulumi.Input; + /** + * Describes the target backup policy type of the backup policy migration. + */ + targetType?: pulumi.Input; + } + /** - * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * Cosmos DB capability object */ - userAssignedIdentities?: pulumi.Input[]>; - } + export interface CapabilityArgs { + /** + * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + */ + name?: pulumi.Input; + } - /** - * Parameters used for restore operations - */ - export interface MongoClusterRestoreParametersArgs { /** - * UTC point in time to restore a mongo cluster + * The object that represents all properties related to capacity enforcement on an account. */ - pointInTimeUTC?: pulumi.Input; + export interface CapacityArgs { + /** + * The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + */ + totalThroughputLimit?: pulumi.Input; + } + /** - * Resource ID to locate the source cluster to restore + * Cosmos DB Cassandra keyspace resource object */ - sourceResourceId?: pulumi.Input; - } + export interface CassandraKeyspaceResourceArgs { + /** + * Name of the Cosmos DB Cassandra keyspace + */ + id: pulumi.Input; + } - /** - * Cosmos DB MongoDB collection resource object - */ - export interface MongoDBCollectionResourceArgs { /** - * Analytical TTL. + * Cosmos DB Cassandra table partition key */ - analyticalStorageTtl?: pulumi.Input; + export interface CassandraPartitionKeyArgs { + /** + * Name of the Cosmos DB Cassandra table partition key + */ + name?: pulumi.Input; + } + /** - * Name of the Cosmos DB MongoDB collection + * Cosmos DB Cassandra table schema */ - id: pulumi.Input; + export interface CassandraSchemaArgs { + /** + * List of cluster key. + */ + clusterKeys?: pulumi.Input[]>; + /** + * List of Cassandra table columns. + */ + columns?: pulumi.Input[]>; + /** + * List of partition key. + */ + partitionKeys?: pulumi.Input[]>; + } + + /** + * Cosmos DB Cassandra table resource object + */ + export interface CassandraTableResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * Time to live of the Cosmos DB Cassandra table + */ + defaultTtl?: pulumi.Input; + /** + * Name of the Cosmos DB Cassandra table + */ + id: pulumi.Input; + /** + * Schema of the Cosmos DB Cassandra table + */ + schema?: pulumi.Input; + } + + /** + * Cosmos DB Cassandra view resource object + */ + export interface CassandraViewResourceArgs { + /** + * Name of the Cosmos DB Cassandra view + */ + id: pulumi.Input; + /** + * View Definition of the Cosmos DB Cassandra view + */ + viewDefinition: pulumi.Input; + } + + /** + * . + */ + export interface ClientEncryptionIncludedPathArgs { + /** + * The identifier of the Client Encryption Key to be used to encrypt the path. + */ + clientEncryptionKeyId: pulumi.Input; + /** + * The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + */ + encryptionAlgorithm: pulumi.Input; + /** + * The type of encryption to be performed. Eg - Deterministic, Randomized. + */ + encryptionType: pulumi.Input; + /** + * Path that needs to be encrypted. + */ + path: pulumi.Input; + } + + /** + * Cosmos DB client encryption policy. + */ + export interface ClientEncryptionPolicyArgs { + /** + * Paths of the item that need encryption along with path-specific settings. + */ + includedPaths: pulumi.Input[]>; + /** + * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + */ + policyFormatVersion: pulumi.Input; + } + + /** + * Cosmos DB Cassandra table cluster key + */ + export interface ClusterKeyArgs { + /** + * Name of the Cosmos DB Cassandra table cluster key + */ + name?: pulumi.Input; + /** + * Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + */ + orderBy?: pulumi.Input; + } + + /** + * Cosmos DB Cassandra table column + */ + export interface ColumnArgs { + /** + * Name of the Cosmos DB Cassandra table column + */ + name?: pulumi.Input; + /** + * Type of the Cosmos DB Cassandra table column + */ + type?: pulumi.Input; + } + + export interface CompositePathArgs { + /** + * Sort order for composite paths. + */ + order?: pulumi.Input; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; + } + /** - * List of index keys + * The conflict resolution policy for the container. */ - indexes?: pulumi.Input[]>; + export interface ConflictResolutionPolicyArgs { + /** + * The conflict resolution path in the case of LastWriterWins mode. + */ + conflictResolutionPath?: pulumi.Input; + /** + * The procedure to resolve conflicts in the case of custom mode. + */ + conflictResolutionProcedure?: pulumi.Input; + /** + * Indicates the conflict resolution mode. + */ + mode?: pulumi.Input; + } /** - * A key-value pair of shard keys to be applied for the request. + * conflictResolutionPolicyArgsProvideDefaults sets the appropriate defaults for ConflictResolutionPolicyArgs */ - shardKey?: pulumi.Input<{[key: string]: pulumi.Input}>; - } + export function conflictResolutionPolicyArgsProvideDefaults(val: ConflictResolutionPolicyArgs): ConflictResolutionPolicyArgs { + return { + ...val, + mode: (val.mode) ?? "LastWriterWins", + }; + } - /** - * Cosmos DB MongoDB database resource object - */ - export interface MongoDBDatabaseResourceArgs { /** - * Name of the Cosmos DB MongoDB database + * The consistency policy for the Cosmos DB database account. */ - id: pulumi.Input; - } + export interface ConsistencyPolicyArgs { + /** + * The default consistency level and configuration settings of the Cosmos DB account. + */ + defaultConsistencyLevel: pulumi.Input; + /** + * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxIntervalInSeconds?: pulumi.Input; + /** + * When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxStalenessPrefix?: pulumi.Input; + } - /** - * Cosmos DB MongoDB collection index key - */ - export interface MongoIndexArgs { /** - * Cosmos DB MongoDB collection index keys + * The configuration of the partition key to be used for partitioning data into multiple partitions */ - key?: pulumi.Input; + export interface ContainerPartitionKeyArgs { + /** + * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + */ + kind?: pulumi.Input; + /** + * List of paths using which data within the container can be partitioned + */ + paths?: pulumi.Input[]>; + /** + * Indicates the version of the partition key definition + */ + version?: pulumi.Input; + } /** - * Cosmos DB MongoDB collection index key options + * containerPartitionKeyArgsProvideDefaults sets the appropriate defaults for ContainerPartitionKeyArgs */ - options?: pulumi.Input; - } + export function containerPartitionKeyArgsProvideDefaults(val: ContainerPartitionKeyArgs): ContainerPartitionKeyArgs { + return { + ...val, + kind: (val.kind) ?? "Hash", + }; + } - /** - * Cosmos DB MongoDB collection resource object - */ - export interface MongoIndexKeysArgs { /** - * List of keys for each MongoDB collection in the Azure Cosmos DB service + * The object representing continuous mode backup policy. */ - keys?: pulumi.Input[]>; - } + export interface ContinuousModeBackupPolicyArgs { + /** + * Configuration values for continuous mode backup + */ + continuousModeProperties?: pulumi.Input; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: pulumi.Input; + /** + * Describes the mode of backups. + * Expected value is 'Continuous'. + */ + type: pulumi.Input<"Continuous">; + } - /** - * Cosmos DB MongoDB collection index options - */ - export interface MongoIndexOptionsArgs { /** - * Expire after seconds + * Configuration values for periodic mode backup */ - expireAfterSeconds?: pulumi.Input; + export interface ContinuousModePropertiesArgs { + /** + * Enum to indicate type of Continuos backup mode + */ + tier?: pulumi.Input; + } + /** - * Is unique or not + * The CORS policy for the Cosmos DB database account. */ - unique?: pulumi.Input; - } + export interface CorsPolicyArgs { + /** + * The request headers that the origin domain may specify on the CORS request. + */ + allowedHeaders?: pulumi.Input; + /** + * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + */ + allowedMethods?: pulumi.Input; + /** + * The origin domains that are permitted to make a request against the service via CORS. + */ + allowedOrigins: pulumi.Input; + /** + * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + */ + exposedHeaders?: pulumi.Input; + /** + * The maximum amount time that a browser should cache the preflight OPTIONS request. + */ + maxAgeInSeconds?: pulumi.Input; + } - /** - * Specification for a node group. - */ - export interface NodeGroupSpecArgs { /** - * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + * CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" */ - diskSizeGB?: pulumi.Input; + export interface CreateUpdateOptionsArgs { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: pulumi.Input; + /** + * Request Units per second. For example, "throughput": 10000. + */ + throughput?: pulumi.Input; + } + /** - * Whether high availability is enabled on the node group. + * Specific Databases to restore. */ - enableHa?: pulumi.Input; + export interface DatabaseRestoreResourceArgs { + /** + * The names of the collections available for restore. + */ + collectionNames?: pulumi.Input[]>; + /** + * The name of the database available for restore. + */ + databaseName?: pulumi.Input; + } + /** - * The node type deployed in the node group. + * Indicates what diagnostic log settings are to be enabled. */ - kind?: pulumi.Input; + export interface DiagnosticLogSettingsArgs { + /** + * Describe the level of detail with which queries are to be logged. + */ + enableFullTextQuery?: pulumi.Input; + } + + export interface ExcludedPathArgs { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; + } + /** - * The number of nodes in the node group. + * Cosmos DB Graph resource object */ - nodeCount?: pulumi.Input; + export interface GraphResourceArgs { + /** + * Name of the Cosmos DB Graph + */ + id: pulumi.Input; + } + /** - * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + * Cosmos DB Gremlin database resource object */ - sku?: pulumi.Input; - } + export interface GremlinDatabaseResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Name of the Cosmos DB Gremlin database + */ + id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + } - /** - * The object representing periodic mode backup policy. - */ - export interface PeriodicModeBackupPolicyArgs { /** - * The object representing the state of the migration between the backup policies. + * Specific Gremlin Databases to restore. */ - migrationState?: pulumi.Input; + export interface GremlinDatabaseRestoreResourceArgs { + /** + * The name of the gremlin database available for restore. + */ + databaseName?: pulumi.Input; + /** + * The names of the graphs available for restore. + */ + graphNames?: pulumi.Input[]>; + } + /** - * Configuration values for periodic mode backup + * Cosmos DB Gremlin graph resource object */ - periodicModeProperties?: pulumi.Input; + export interface GremlinGraphResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * The conflict resolution policy for the graph. + */ + conflictResolutionPolicy?: pulumi.Input; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Default time to live + */ + defaultTtl?: pulumi.Input; + /** + * Name of the Cosmos DB Gremlin graph + */ + id: pulumi.Input; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + */ + indexingPolicy?: pulumi.Input; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: pulumi.Input; + } /** - * Describes the mode of backups. - * Expected value is 'Periodic'. + * gremlinGraphResourceArgsProvideDefaults sets the appropriate defaults for GremlinGraphResourceArgs */ - type: pulumi.Input<"Periodic">; - } + export function gremlinGraphResourceArgsProvideDefaults(val: GremlinGraphResourceArgs): GremlinGraphResourceArgs { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230315preview.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230315preview.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230315preview.containerPartitionKeyArgsProvideDefaults) : undefined), + }; + } - /** - * Configuration values for periodic mode backup - */ - export interface PeriodicModePropertiesArgs { /** - * An integer representing the interval in minutes between two backups + * The paths that are included in indexing */ - backupIntervalInMinutes?: pulumi.Input; + export interface IncludedPathArgs { + /** + * List of indexes for this path + */ + indexes?: pulumi.Input[]>; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; + } + /** - * An integer representing the time (in hours) that each backup is retained + * The indexes for the path. */ - backupRetentionIntervalInHours?: pulumi.Input; + export interface IndexesArgs { + /** + * The datatype for which the indexing behavior is applied to. + */ + dataType?: pulumi.Input; + /** + * Indicates the type of index. + */ + kind?: pulumi.Input; + /** + * The precision of the index. -1 is maximum precision. + */ + precision?: pulumi.Input; + } /** - * Enum to indicate type of backup residency + * indexesArgsProvideDefaults sets the appropriate defaults for IndexesArgs */ - backupStorageRedundancy?: pulumi.Input; - } + export function indexesArgsProvideDefaults(val: IndexesArgs): IndexesArgs { + return { + ...val, + dataType: (val.dataType) ?? "String", + kind: (val.kind) ?? "Hash", + }; + } - /** - * The set of data plane operations permitted through this Role Definition. - */ - export interface PermissionArgs { /** - * An array of data actions that are allowed. + * Cosmos DB indexing policy */ - dataActions?: pulumi.Input[]>; + export interface IndexingPolicyArgs { + /** + * Indicates if the indexing policy is automatic + */ + automatic?: pulumi.Input; + /** + * List of composite path list + */ + compositeIndexes?: pulumi.Input[]>[]>; + /** + * List of paths to exclude from indexing + */ + excludedPaths?: pulumi.Input[]>; + /** + * List of paths to include in the indexing + */ + includedPaths?: pulumi.Input[]>; + /** + * Indicates the indexing mode. + */ + indexingMode?: pulumi.Input; + /** + * List of spatial specifics + */ + spatialIndexes?: pulumi.Input[]>; + } /** - * An array of data actions that are denied. + * indexingPolicyArgsProvideDefaults sets the appropriate defaults for IndexingPolicyArgs */ - notDataActions?: pulumi.Input[]>; - } + export function indexingPolicyArgsProvideDefaults(val: IndexingPolicyArgs): IndexingPolicyArgs { + return { + ...val, + indexingMode: (val.indexingMode) ?? "consistent", + }; + } - /** - * Private endpoint which the connection belongs to. - */ - export interface PrivateEndpointPropertyArgs { /** - * Resource id of the private endpoint. + * IpAddressOrRange object */ - id?: pulumi.Input; - } + export interface IpAddressOrRangeArgs { + /** + * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + */ + ipAddressOrRange?: pulumi.Input; + } - /** - * Connection State of the Private Endpoint Connection. - */ - export interface PrivateLinkServiceConnectionStatePropertyArgs { /** - * The private link service connection description. - */ - description?: pulumi.Input; - /** - * The private link service connection status. + * A region in which the Azure Cosmos DB database account is deployed. */ - status?: pulumi.Input; - } + export interface LocationArgs { + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: pulumi.Input; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: pulumi.Input; + /** + * The name of the region. + */ + locationName?: pulumi.Input; + } - /** - * The set of data plane operations permitted through this Role Definition. - */ - export interface PrivilegeArgs { /** - * An array of actions that are allowed. + * Identity for the resource. */ - actions?: pulumi.Input[]>; + export interface ManagedServiceIdentityArgs { + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: pulumi.Input; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + /** - * An Azure Cosmos DB Mongo DB Resource. + * Materialized View definition for the container. */ - resource?: pulumi.Input; - } + export interface MaterializedViewDefinitionArgs { + /** + * The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + */ + definition: pulumi.Input; + /** + * The name of the source container on which the Materialized View will be created. + */ + sourceCollectionId: pulumi.Input; + } - /** - * An Azure Cosmos DB Mongo DB Resource. - */ - export interface PrivilegeResourceArgs { /** - * The collection name the role is applied. + * Parameters used for restore operations */ - collection?: pulumi.Input; + export interface MongoClusterRestoreParametersArgs { + /** + * UTC point in time to restore a mongo cluster + */ + pointInTimeUTC?: pulumi.Input; + /** + * Resource ID to locate the source cluster to restore + */ + sourceResourceId?: pulumi.Input; + } + /** - * The database name the role is applied. + * Cosmos DB MongoDB collection resource object */ - db?: pulumi.Input; - } + export interface MongoDBCollectionResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Name of the Cosmos DB MongoDB collection + */ + id: pulumi.Input; + /** + * List of index keys + */ + indexes?: pulumi.Input[]>; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + /** + * A key-value pair of shard keys to be applied for the request. + */ + shardKey?: pulumi.Input<{[key: string]: pulumi.Input}>; + } - /** - * Parameters to indicate the information about the restore. - */ - export interface RestoreParametersArgs { /** - * List of specific databases available for restore. + * Cosmos DB MongoDB database resource object */ - databasesToRestore?: pulumi.Input[]>; + export interface MongoDBDatabaseResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Name of the Cosmos DB MongoDB database + */ + id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + } + /** - * List of specific gremlin databases available for restore. + * Cosmos DB MongoDB collection index key */ - gremlinDatabasesToRestore?: pulumi.Input[]>; + export interface MongoIndexArgs { + /** + * Cosmos DB MongoDB collection index keys + */ + key?: pulumi.Input; + /** + * Cosmos DB MongoDB collection index key options + */ + options?: pulumi.Input; + } + /** - * Describes the mode of the restore. + * Cosmos DB MongoDB collection resource object */ - restoreMode?: pulumi.Input; + export interface MongoIndexKeysArgs { + /** + * List of keys for each MongoDB collection in the Azure Cosmos DB service + */ + keys?: pulumi.Input[]>; + } + /** - * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + * Cosmos DB MongoDB collection index options */ - restoreSource?: pulumi.Input; + export interface MongoIndexOptionsArgs { + /** + * Expire after seconds + */ + expireAfterSeconds?: pulumi.Input; + /** + * Is unique or not + */ + unique?: pulumi.Input; + } + /** - * Time to which the account has to be restored (ISO-8601 format). + * Specification for a node group. */ - restoreTimestampInUtc?: pulumi.Input; + export interface NodeGroupSpecArgs { + /** + * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + */ + diskSizeGB?: pulumi.Input; + /** + * Whether high availability is enabled on the node group. + */ + enableHa?: pulumi.Input; + /** + * The node type deployed in the node group. + */ + kind?: pulumi.Input; + /** + * The number of nodes in the node group. + */ + nodeCount?: pulumi.Input; + /** + * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + */ + sku?: pulumi.Input; + } + /** - * List of specific tables available for restore. + * The object representing periodic mode backup policy. */ - tablesToRestore?: pulumi.Input[]>; - } + export interface PeriodicModeBackupPolicyArgs { + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: pulumi.Input; + /** + * Configuration values for periodic mode backup + */ + periodicModeProperties?: pulumi.Input; + /** + * Describes the mode of backups. + * Expected value is 'Periodic'. + */ + type: pulumi.Input<"Periodic">; + } - /** - * The set of roles permitted through this Role Definition. - */ - export interface RoleArgs { /** - * The database name the role is applied. + * Configuration values for periodic mode backup */ - db?: pulumi.Input; + export interface PeriodicModePropertiesArgs { + /** + * An integer representing the interval in minutes between two backups + */ + backupIntervalInMinutes?: pulumi.Input; + /** + * An integer representing the time (in hours) that each backup is retained + */ + backupRetentionIntervalInHours?: pulumi.Input; + /** + * Enum to indicate type of backup residency + */ + backupStorageRedundancy?: pulumi.Input; + } + /** - * The role name. + * Parameters to indicate the information about the restore. */ - role?: pulumi.Input; - } + export interface ResourceRestoreParametersArgs { + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: pulumi.Input; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: pulumi.Input; + } - export interface SeedNodeArgs { /** - * IP address of this seed node. + * Parameters to indicate the information about the restore. */ - ipAddress?: pulumi.Input; - } + export interface RestoreParametersArgs { + /** + * List of specific databases available for restore. + */ + databasesToRestore?: pulumi.Input[]>; + /** + * List of specific gremlin databases available for restore. + */ + gremlinDatabasesToRestore?: pulumi.Input[]>; + /** + * Describes the mode of the restore. + */ + restoreMode?: pulumi.Input; + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: pulumi.Input; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: pulumi.Input; + /** + * The source backup location for restore. + */ + sourceBackupLocation?: pulumi.Input; + /** + * List of specific tables available for restore. + */ + tablesToRestore?: pulumi.Input[]>; + } + + export interface SpatialSpecArgs { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; + /** + * List of path's spatial type + */ + types?: pulumi.Input[]>; + } - export interface SpatialSpecArgs { /** - * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + * Cosmos DB SQL container resource object */ - path?: pulumi.Input; + export interface SqlContainerResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * The client encryption policy for the container. + */ + clientEncryptionPolicy?: pulumi.Input; + /** + * The conflict resolution policy for the container. + */ + conflictResolutionPolicy?: pulumi.Input; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Default time to live + */ + defaultTtl?: pulumi.Input; + /** + * Name of the Cosmos DB SQL container + */ + id: pulumi.Input; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + */ + indexingPolicy?: pulumi.Input; + /** + * The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + */ + materializedViewDefinition?: pulumi.Input; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: pulumi.Input; + } /** - * List of path's spatial type + * sqlContainerResourceArgsProvideDefaults sets the appropriate defaults for SqlContainerResourceArgs */ - types?: pulumi.Input[]>; - } + export function sqlContainerResourceArgsProvideDefaults(val: SqlContainerResourceArgs): SqlContainerResourceArgs { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230315preview.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230315preview.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230315preview.containerPartitionKeyArgsProvideDefaults) : undefined), + }; + } - /** - * Cosmos DB SQL container resource object - */ - export interface SqlContainerResourceArgs { /** - * Analytical TTL. + * Cosmos DB SQL database resource object */ - analyticalStorageTtl?: pulumi.Input; + export interface SqlDatabaseResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Name of the Cosmos DB SQL database + */ + id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + } + /** - * The client encryption policy for the container. + * Cosmos DB SQL storedProcedure resource object */ - clientEncryptionPolicy?: pulumi.Input; + export interface SqlStoredProcedureResourceArgs { + /** + * Body of the Stored Procedure + */ + body?: pulumi.Input; + /** + * Name of the Cosmos DB SQL storedProcedure + */ + id: pulumi.Input; + } + /** - * The conflict resolution policy for the container. + * Cosmos DB SQL trigger resource object */ - conflictResolutionPolicy?: pulumi.Input; + export interface SqlTriggerResourceArgs { + /** + * Body of the Trigger + */ + body?: pulumi.Input; + /** + * Name of the Cosmos DB SQL trigger + */ + id: pulumi.Input; + /** + * The operation the trigger is associated with + */ + triggerOperation?: pulumi.Input; + /** + * Type of the Trigger + */ + triggerType?: pulumi.Input; + } + /** - * Default time to live + * Cosmos DB SQL userDefinedFunction resource object */ - defaultTtl?: pulumi.Input; + export interface SqlUserDefinedFunctionResourceArgs { + /** + * Body of the User Defined Function + */ + body?: pulumi.Input; + /** + * Name of the Cosmos DB SQL userDefinedFunction + */ + id: pulumi.Input; + } + /** - * Name of the Cosmos DB SQL container + * Cosmos DB table resource object */ - id: pulumi.Input; + export interface TableResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; + /** + * Name of the Cosmos DB table + */ + id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; + } + /** - * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - indexingPolicy?: pulumi.Input; + export interface UniqueKeyArgs { + /** + * List of paths must be unique for each document in the Azure Cosmos DB service + */ + paths?: pulumi.Input[]>; + } + /** - * The configuration of the partition key to be used for partitioning data into multiple partitions + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - partitionKey?: pulumi.Input; + export interface UniqueKeyPolicyArgs { + /** + * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeys?: pulumi.Input[]>; + } + /** - * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + * Virtual Network ACL Rule object */ - uniqueKeyPolicy?: pulumi.Input; - } - /** - * sqlContainerResourceArgsProvideDefaults sets the appropriate defaults for SqlContainerResourceArgs - */ - export function sqlContainerResourceArgsProvideDefaults(val: SqlContainerResourceArgs): SqlContainerResourceArgs { - return { - ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.conflictResolutionPolicyArgsProvideDefaults) : undefined), - indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.indexingPolicyArgsProvideDefaults) : undefined), - partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.containerPartitionKeyArgsProvideDefaults) : undefined), - }; + export interface VirtualNetworkRuleArgs { + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + */ + id?: pulumi.Input; + /** + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ + ignoreMissingVNetServiceEndpoint?: pulumi.Input; + } + } - /** - * Cosmos DB SQL database resource object - */ - export interface SqlDatabaseResourceArgs { + export namespace v20230415 { /** - * Name of the Cosmos DB SQL database + * Analytical storage specific properties. */ - id: pulumi.Input; - } + export interface AnalyticalStorageConfigurationArgs { + /** + * Describes the types of schema for analytical storage. + */ + schemaType?: pulumi.Input; + } + + export interface ApiPropertiesArgs { + /** + * Describes the ServerVersion of an a MongoDB account. + */ + serverVersion?: pulumi.Input; + } - /** - * Cosmos DB SQL storedProcedure resource object - */ - export interface SqlStoredProcedureResourceArgs { /** - * Body of the Stored Procedure + * Ldap authentication method properties. This feature is in preview. */ - body?: pulumi.Input; + export interface AuthenticationMethodLdapPropertiesArgs { + /** + * Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + */ + connectionTimeoutInMs?: pulumi.Input; + /** + * Distinguished name of the object to start the recursive search of users from. + */ + searchBaseDistinguishedName?: pulumi.Input; + /** + * Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + */ + searchFilterTemplate?: pulumi.Input; + serverCertificates?: pulumi.Input[]>; + /** + * Hostname of the LDAP server. + */ + serverHostname?: pulumi.Input; + /** + * Port of the LDAP server. + */ + serverPort?: pulumi.Input; + /** + * Distinguished name of the look up user account, who can look up user details on authentication. + */ + serviceUserDistinguishedName?: pulumi.Input; + /** + * Password of the look up user. + */ + serviceUserPassword?: pulumi.Input; + } + + export interface AutoscaleSettingsArgs { + /** + * Represents maximum throughput, the resource can scale up to. + */ + maxThroughput?: pulumi.Input; + } + /** - * Name of the Cosmos DB SQL storedProcedure + * The object representing the state of the migration between the backup policies. */ - id: pulumi.Input; - } + export interface BackupPolicyMigrationStateArgs { + /** + * Time at which the backup policy migration started (ISO-8601 format). + */ + startTime?: pulumi.Input; + /** + * Describes the status of migration between backup policy types. + */ + status?: pulumi.Input; + /** + * Describes the target backup policy type of the backup policy migration. + */ + targetType?: pulumi.Input; + } - /** - * Cosmos DB SQL trigger resource object - */ - export interface SqlTriggerResourceArgs { /** - * Body of the Trigger + * Cosmos DB capability object */ - body?: pulumi.Input; + export interface CapabilityArgs { + /** + * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + */ + name?: pulumi.Input; + } + /** - * Name of the Cosmos DB SQL trigger + * The object that represents all properties related to capacity enforcement on an account. */ - id: pulumi.Input; + export interface CapacityArgs { + /** + * The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + */ + totalThroughputLimit?: pulumi.Input; + } + + export interface CassandraErrorArgs { + /** + * Additional information about the error. + */ + additionalErrorInfo?: pulumi.Input; + /** + * The code of error that occurred. + */ + code?: pulumi.Input; + /** + * The message of the error. + */ + message?: pulumi.Input; + /** + * The target resource of the error. + */ + target?: pulumi.Input; + } + /** - * The operation the trigger is associated with + * Cosmos DB Cassandra keyspace resource object */ - triggerOperation?: pulumi.Input; + export interface CassandraKeyspaceResourceArgs { + /** + * Name of the Cosmos DB Cassandra keyspace + */ + id: pulumi.Input; + } + /** - * Type of the Trigger + * Cosmos DB Cassandra table partition key */ - triggerType?: pulumi.Input; - } + export interface CassandraPartitionKeyArgs { + /** + * Name of the Cosmos DB Cassandra table partition key + */ + name?: pulumi.Input; + } - /** - * Cosmos DB SQL userDefinedFunction resource object - */ - export interface SqlUserDefinedFunctionResourceArgs { /** - * Body of the User Defined Function + * Cosmos DB Cassandra table schema */ - body?: pulumi.Input; + export interface CassandraSchemaArgs { + /** + * List of cluster key. + */ + clusterKeys?: pulumi.Input[]>; + /** + * List of Cassandra table columns. + */ + columns?: pulumi.Input[]>; + /** + * List of partition key. + */ + partitionKeys?: pulumi.Input[]>; + } + /** - * Name of the Cosmos DB SQL userDefinedFunction + * Cosmos DB Cassandra table resource object */ - id: pulumi.Input; - } + export interface CassandraTableResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * Time to live of the Cosmos DB Cassandra table + */ + defaultTtl?: pulumi.Input; + /** + * Name of the Cosmos DB Cassandra table + */ + id: pulumi.Input; + /** + * Schema of the Cosmos DB Cassandra table + */ + schema?: pulumi.Input; + } + + export interface CertificateArgs { + /** + * PEM formatted public key. + */ + pem?: pulumi.Input; + } - /** - * Cosmos DB table resource object - */ - export interface TableResourceArgs { /** - * Name of the Cosmos DB table + * . */ - id: pulumi.Input; - } + export interface ClientEncryptionIncludedPathArgs { + /** + * The identifier of the Client Encryption Key to be used to encrypt the path. + */ + clientEncryptionKeyId: pulumi.Input; + /** + * The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + */ + encryptionAlgorithm: pulumi.Input; + /** + * The type of encryption to be performed. Eg - Deterministic, Randomized. + */ + encryptionType: pulumi.Input; + /** + * Path that needs to be encrypted. + */ + path: pulumi.Input; + } - /** - * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. - */ - export interface UniqueKeyArgs { /** - * List of paths must be unique for each document in the Azure Cosmos DB service + * Cosmos DB client encryption policy. */ - paths?: pulumi.Input[]>; - } + export interface ClientEncryptionPolicyArgs { + /** + * Paths of the item that need encryption along with path-specific settings. + */ + includedPaths: pulumi.Input[]>; + /** + * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + */ + policyFormatVersion: pulumi.Input; + } - /** - * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. - */ - export interface UniqueKeyPolicyArgs { /** - * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + * Cosmos DB Cassandra table cluster key */ - uniqueKeys?: pulumi.Input[]>; - } + export interface ClusterKeyArgs { + /** + * Name of the Cosmos DB Cassandra table cluster key + */ + name?: pulumi.Input; + /** + * Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + */ + orderBy?: pulumi.Input; + } - /** - * Virtual Network ACL Rule object - */ - export interface VirtualNetworkRuleArgs { /** - * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + * Properties of a managed Cassandra cluster. */ - id?: pulumi.Input; + export interface ClusterResourcePropertiesArgs { + /** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ + authenticationMethod?: pulumi.Input; + /** + * Whether Cassandra audit logging is enabled + */ + cassandraAuditLoggingEnabled?: pulumi.Input; + /** + * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + */ + cassandraVersion?: pulumi.Input; + /** + * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + */ + clientCertificates?: pulumi.Input[]>; + /** + * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + */ + clusterNameOverride?: pulumi.Input; + /** + * Whether the cluster and associated data centers has been deallocated. + */ + deallocated?: pulumi.Input; + /** + * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + */ + delegatedManagementSubnetId?: pulumi.Input; + /** + * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + */ + externalGossipCertificates?: pulumi.Input[]>; + /** + * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + */ + externalSeedNodes?: pulumi.Input[]>; + /** + * (Deprecated) Number of hours to wait between taking a backup of the cluster. + */ + hoursBetweenBackups?: pulumi.Input; + /** + * Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + */ + initialCassandraAdminPassword?: pulumi.Input; + /** + * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + */ + prometheusEndpoint?: pulumi.Input; + /** + * Error related to resource provisioning. + */ + provisionError?: pulumi.Input; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: pulumi.Input; + /** + * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + */ + repairEnabled?: pulumi.Input; + /** + * To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + */ + restoreFromBackupId?: pulumi.Input; + } + /** - * Create firewall rule before the virtual network has vnet service endpoint enabled. + * Cosmos DB Cassandra table column */ - ignoreMissingVNetServiceEndpoint?: pulumi.Input; - } + export interface ColumnArgs { + /** + * Name of the Cosmos DB Cassandra table column + */ + name?: pulumi.Input; + /** + * Type of the Cosmos DB Cassandra table column + */ + type?: pulumi.Input; + } - export namespace v20210401preview { - export interface ApiPropertiesArgs { + export interface CompositePathArgs { /** - * Describes the ServerVersion of an a MongoDB account. + * Sort order for composite paths. */ - serverVersion?: pulumi.Input; + order?: pulumi.Input; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: pulumi.Input; } /** - * Cosmos DB capability object + * The conflict resolution policy for the container. */ - export interface CapabilityArgs { + export interface ConflictResolutionPolicyArgs { /** - * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + * The conflict resolution path in the case of LastWriterWins mode. */ - name?: pulumi.Input; + conflictResolutionPath?: pulumi.Input; + /** + * The procedure to resolve conflicts in the case of custom mode. + */ + conflictResolutionProcedure?: pulumi.Input; + /** + * Indicates the conflict resolution mode. + */ + mode?: pulumi.Input; + } + /** + * conflictResolutionPolicyArgsProvideDefaults sets the appropriate defaults for ConflictResolutionPolicyArgs + */ + export function conflictResolutionPolicyArgsProvideDefaults(val: ConflictResolutionPolicyArgs): ConflictResolutionPolicyArgs { + return { + ...val, + mode: (val.mode) ?? "LastWriterWins", + }; } /** @@ -166202,7 +173912,7 @@ export namespace documentdb { /** * The default consistency level and configuration settings of the Cosmos DB account. */ - defaultConsistencyLevel: pulumi.Input; + defaultConsistencyLevel: pulumi.Input; /** * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. */ @@ -166213,10 +173923,45 @@ export namespace documentdb { maxStalenessPrefix?: pulumi.Input; } + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + export interface ContainerPartitionKeyArgs { + /** + * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + */ + kind?: pulumi.Input; + /** + * List of paths using which data within the container can be partitioned + */ + paths?: pulumi.Input[]>; + /** + * Indicates the version of the partition key definition + */ + version?: pulumi.Input; + } + /** + * containerPartitionKeyArgsProvideDefaults sets the appropriate defaults for ContainerPartitionKeyArgs + */ + export function containerPartitionKeyArgsProvideDefaults(val: ContainerPartitionKeyArgs): ContainerPartitionKeyArgs { + return { + ...val, + kind: (val.kind) ?? "Hash", + }; + } + /** * The object representing continuous mode backup policy. */ export interface ContinuousModeBackupPolicyArgs { + /** + * Configuration values for continuous mode backup + */ + continuousModeProperties?: pulumi.Input; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: pulumi.Input; /** * Describes the mode of backups. * Expected value is 'Continuous'. @@ -166224,6 +173969,16 @@ export namespace documentdb { type: pulumi.Input<"Continuous">; } + /** + * Configuration values for periodic mode backup + */ + export interface ContinuousModePropertiesArgs { + /** + * Enum to indicate type of Continuous backup mode + */ + tier?: pulumi.Input; + } + /** * The CORS policy for the Cosmos DB database account. */ @@ -166250,6 +174005,82 @@ export namespace documentdb { maxAgeInSeconds?: pulumi.Input; } + /** + * CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + */ + export interface CreateUpdateOptionsArgs { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: pulumi.Input; + /** + * Request Units per second. For example, "throughput": 10000. + */ + throughput?: pulumi.Input; + } + + /** + * Properties of a managed Cassandra data center. + */ + export interface DataCenterResourcePropertiesArgs { + /** + * Ldap authentication method properties. This feature is in preview. + */ + authenticationMethodLdapProperties?: pulumi.Input; + /** + * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + */ + availabilityZone?: pulumi.Input; + /** + * Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + */ + backupStorageCustomerKeyUri?: pulumi.Input; + /** + * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + */ + base64EncodedCassandraYamlFragment?: pulumi.Input; + /** + * The region this data center should be created in. + */ + dataCenterLocation?: pulumi.Input; + /** + * Whether the data center has been deallocated. + */ + deallocated?: pulumi.Input; + /** + * Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + */ + delegatedSubnetId?: pulumi.Input; + /** + * Number of disks attached to each node. Default is 4. + */ + diskCapacity?: pulumi.Input; + /** + * Disk SKU used for data centers. Default value is P30. + */ + diskSku?: pulumi.Input; + /** + * Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + */ + managedDiskCustomerKeyUri?: pulumi.Input; + /** + * The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + */ + nodeCount?: pulumi.Input; + /** + * Error related to resource provisioning. + */ + provisionError?: pulumi.Input; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: pulumi.Input; + /** + * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + */ + sku?: pulumi.Input; + } + /** * Specific Databases to restore. */ @@ -166264,111 +174095,160 @@ export namespace documentdb { databaseName?: pulumi.Input; } - /** - * Properties for non-restore Azure Cosmos DB database account requests. - */ - export interface DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs { - /** - * API specific properties. Currently, supported only for MongoDB API. - */ - apiProperties?: pulumi.Input; + export interface ExcludedPathArgs { /** - * The object representing the policy for taking backups on an account. + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ - backupPolicy?: pulumi.Input; + path?: pulumi.Input; + } + + /** + * Cosmos DB Gremlin database resource object + */ + export interface GremlinDatabaseResourceArgs { /** - * List of Cosmos DB capabilities for the account + * Name of the Cosmos DB Gremlin database */ - capabilities?: pulumi.Input[]>; + id: pulumi.Input; + } + + /** + * Specific Gremlin Databases to restore. + */ + export interface GremlinDatabaseRestoreResourceArgs { /** - * The cassandra connector offer type for the Cosmos DB database C* account. + * The name of the gremlin database available for restore. */ - connectorOffer?: pulumi.Input; + databaseName?: pulumi.Input; /** - * The consistency policy for the Cosmos DB account. + * The names of the graphs available for restore. */ - consistencyPolicy?: pulumi.Input; + graphNames?: pulumi.Input[]>; + } + + /** + * Cosmos DB Gremlin graph resource object + */ + export interface GremlinGraphResourceArgs { /** - * The CORS policy for the Cosmos DB database account. + * Analytical TTL. */ - cors?: pulumi.Input[]>; + analyticalStorageTtl?: pulumi.Input; /** - * Enum to indicate the mode of account creation. - * Expected value is 'Default'. + * The conflict resolution policy for the graph. */ - createMode: pulumi.Input<"Default">; + conflictResolutionPolicy?: pulumi.Input; /** - * The offer type for the database + * Default time to live */ - databaseAccountOfferType: pulumi.Input; + defaultTtl?: pulumi.Input; /** - * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + * Name of the Cosmos DB Gremlin graph */ - defaultIdentity?: pulumi.Input; + id: pulumi.Input; /** - * Disable write operations on metadata resources (databases, containers, throughput) via account keys + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ - disableKeyBasedMetadataWriteAccess?: pulumi.Input; + indexingPolicy?: pulumi.Input; /** - * Flag to indicate whether to enable storage analytics. + * The configuration of the partition key to be used for partitioning data into multiple partitions */ - enableAnalyticalStorage?: pulumi.Input; + partitionKey?: pulumi.Input; /** - * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - enableAutomaticFailover?: pulumi.Input; + uniqueKeyPolicy?: pulumi.Input; + } + /** + * gremlinGraphResourceArgsProvideDefaults sets the appropriate defaults for GremlinGraphResourceArgs + */ + export function gremlinGraphResourceArgsProvideDefaults(val: GremlinGraphResourceArgs): GremlinGraphResourceArgs { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230415.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230415.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230415.containerPartitionKeyArgsProvideDefaults) : undefined), + }; + } + + /** + * The paths that are included in indexing + */ + export interface IncludedPathArgs { /** - * Enables the cassandra connector on the Cosmos DB C* account + * List of indexes for this path */ - enableCassandraConnector?: pulumi.Input; + indexes?: pulumi.Input[]>; /** - * Flag to indicate whether Free Tier is enabled. + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ - enableFreeTier?: pulumi.Input; + path?: pulumi.Input; + } + + /** + * The indexes for the path. + */ + export interface IndexesArgs { /** - * Enables the account to write in multiple locations + * The datatype for which the indexing behavior is applied to. */ - enableMultipleWriteLocations?: pulumi.Input; + dataType?: pulumi.Input; /** - * List of IpRules. + * Indicates the type of index. */ - ipRules?: pulumi.Input[]>; + kind?: pulumi.Input; /** - * Flag to indicate whether to enable/disable Virtual Network ACL rules. + * The precision of the index. -1 is maximum precision. */ - isVirtualNetworkFilterEnabled?: pulumi.Input; + precision?: pulumi.Input; + } + /** + * indexesArgsProvideDefaults sets the appropriate defaults for IndexesArgs + */ + export function indexesArgsProvideDefaults(val: IndexesArgs): IndexesArgs { + return { + ...val, + dataType: (val.dataType) ?? "String", + kind: (val.kind) ?? "Hash", + }; + } + + /** + * Cosmos DB indexing policy + */ + export interface IndexingPolicyArgs { /** - * The URI of the key vault + * Indicates if the indexing policy is automatic */ - keyVaultKeyUri?: pulumi.Input; + automatic?: pulumi.Input; /** - * An array that contains the georeplication locations enabled for the Cosmos DB account. + * List of composite path list */ - locations: pulumi.Input[]>; + compositeIndexes?: pulumi.Input[]>[]>; /** - * Indicates what services are allowed to bypass firewall checks. + * List of paths to exclude from indexing */ - networkAclBypass?: pulumi.Input; + excludedPaths?: pulumi.Input[]>; /** - * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + * List of paths to include in the indexing */ - networkAclBypassResourceIds?: pulumi.Input[]>; + includedPaths?: pulumi.Input[]>; /** - * Whether requests from Public Network are allowed + * Indicates the indexing mode. */ - publicNetworkAccess?: pulumi.Input; + indexingMode?: pulumi.Input; /** - * List of Virtual Network ACL rules configured for the Cosmos DB account. + * List of spatial specifics */ - virtualNetworkRules?: pulumi.Input[]>; + spatialIndexes?: pulumi.Input[]>; } /** - * defaultRequestDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults sets the appropriate defaults for DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs + * indexingPolicyArgsProvideDefaults sets the appropriate defaults for IndexingPolicyArgs */ - export function defaultRequestDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults(val: DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs): DefaultRequestDatabaseAccountCreateUpdatePropertiesArgs { + export function indexingPolicyArgsProvideDefaults(val: IndexingPolicyArgs): IndexingPolicyArgs { return { ...val, - createMode: (val.createMode) ?? "Default", + indexingMode: (val.indexingMode) ?? "consistent", }; } @@ -166400,6 +174280,16 @@ export namespace documentdb { locationName?: pulumi.Input; } + /** + * Identity for the resource. + */ + export interface ManagedCassandraManagedServiceIdentityArgs { + /** + * The type of the resource. + */ + type?: pulumi.Input; + } + /** * Identity for the resource. */ @@ -166407,21 +174297,95 @@ export namespace documentdb { /** * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } + /** + * Cosmos DB MongoDB collection resource object + */ + export interface MongoDBCollectionResourceArgs { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: pulumi.Input; + /** + * Name of the Cosmos DB MongoDB collection + */ + id: pulumi.Input; + /** + * List of index keys + */ + indexes?: pulumi.Input[]>; + /** + * A key-value pair of shard keys to be applied for the request. + */ + shardKey?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + /** + * Cosmos DB MongoDB database resource object + */ + export interface MongoDBDatabaseResourceArgs { + /** + * Name of the Cosmos DB MongoDB database + */ + id: pulumi.Input; + } + + /** + * Cosmos DB MongoDB collection index key + */ + export interface MongoIndexArgs { + /** + * Cosmos DB MongoDB collection index keys + */ + key?: pulumi.Input; + /** + * Cosmos DB MongoDB collection index key options + */ + options?: pulumi.Input; + } + + /** + * Cosmos DB MongoDB collection resource object + */ + export interface MongoIndexKeysArgs { + /** + * List of keys for each MongoDB collection in the Azure Cosmos DB service + */ + keys?: pulumi.Input[]>; + } + + /** + * Cosmos DB MongoDB collection index options + */ + export interface MongoIndexOptionsArgs { + /** + * Expire after seconds + */ + expireAfterSeconds?: pulumi.Input; + /** + * Is unique or not + */ + unique?: pulumi.Input; + } + /** * The object representing periodic mode backup policy. */ export interface PeriodicModeBackupPolicyArgs { + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: pulumi.Input; /** * Configuration values for periodic mode backup */ - periodicModeProperties?: pulumi.Input; + periodicModeProperties?: pulumi.Input; /** * Describes the mode of backups. * Expected value is 'Periodic'. @@ -166444,294 +174408,293 @@ export namespace documentdb { /** * Enum to indicate type of backup residency */ - backupStorageRedundancy?: pulumi.Input; + backupStorageRedundancy?: pulumi.Input; } /** - * Parameters to indicate the information about the restore. + * The set of data plane operations permitted through this Role Definition. */ - export interface RestoreParametersArgs { - /** - * List of specific databases available for restore. - */ - databasesToRestore?: pulumi.Input[]>; + export interface PermissionArgs { /** - * Describes the mode of the restore. + * An array of data actions that are allowed. */ - restoreMode?: pulumi.Input; + dataActions?: pulumi.Input[]>; /** - * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + * An array of data actions that are denied. */ - restoreSource?: pulumi.Input; + notDataActions?: pulumi.Input[]>; + } + + /** + * Private endpoint which the connection belongs to. + */ + export interface PrivateEndpointPropertyArgs { /** - * Time to which the account has to be restored (ISO-8601 format). + * Resource id of the private endpoint. */ - restoreTimestampInUtc?: pulumi.Input; + id?: pulumi.Input; } /** - * Properties to restore Azure Cosmos DB database account. + * Connection State of the Private Endpoint Connection. */ - export interface RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs { + export interface PrivateLinkServiceConnectionStatePropertyArgs { /** - * API specific properties. Currently, supported only for MongoDB API. + * The private link service connection description. */ - apiProperties?: pulumi.Input; + description?: pulumi.Input; /** - * The object representing the policy for taking backups on an account. + * The private link service connection status. */ - backupPolicy?: pulumi.Input; + status?: pulumi.Input; + } + + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PrivilegeArgs { /** - * List of Cosmos DB capabilities for the account + * An array of actions that are allowed. */ - capabilities?: pulumi.Input[]>; + actions?: pulumi.Input[]>; /** - * The cassandra connector offer type for the Cosmos DB database C* account. + * An Azure Cosmos DB Mongo DB Resource. */ - connectorOffer?: pulumi.Input; + resource?: pulumi.Input; + } + + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + export interface PrivilegeResourceArgs { /** - * The consistency policy for the Cosmos DB account. + * The collection name the role is applied. */ - consistencyPolicy?: pulumi.Input; + collection?: pulumi.Input; /** - * The CORS policy for the Cosmos DB database account. + * The database name the role is applied. */ - cors?: pulumi.Input[]>; + db?: pulumi.Input; + } + + /** + * Parameters to indicate the information about the restore. + */ + export interface RestoreParametersArgs { /** - * Enum to indicate the mode of account creation. - * Expected value is 'Restore'. + * List of specific databases available for restore. */ - createMode: pulumi.Input<"Restore">; + databasesToRestore?: pulumi.Input[]>; /** - * The offer type for the database + * List of specific gremlin databases available for restore. */ - databaseAccountOfferType: pulumi.Input; + gremlinDatabasesToRestore?: pulumi.Input[]>; /** - * The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + * Describes the mode of the restore. */ - defaultIdentity?: pulumi.Input; + restoreMode?: pulumi.Input; /** - * Disable write operations on metadata resources (databases, containers, throughput) via account keys + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} */ - disableKeyBasedMetadataWriteAccess?: pulumi.Input; + restoreSource?: pulumi.Input; /** - * Flag to indicate whether to enable storage analytics. + * Time to which the account has to be restored (ISO-8601 format). */ - enableAnalyticalStorage?: pulumi.Input; + restoreTimestampInUtc?: pulumi.Input; /** - * Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + * List of specific tables available for restore. */ - enableAutomaticFailover?: pulumi.Input; + tablesToRestore?: pulumi.Input[]>; + } + + /** + * The set of roles permitted through this Role Definition. + */ + export interface RoleArgs { /** - * Enables the cassandra connector on the Cosmos DB C* account + * The database name the role is applied. */ - enableCassandraConnector?: pulumi.Input; + db?: pulumi.Input; /** - * Flag to indicate whether Free Tier is enabled. + * The role name. */ - enableFreeTier?: pulumi.Input; + role?: pulumi.Input; + } + + export interface SeedNodeArgs { /** - * Enables the account to write in multiple locations + * IP address of this seed node. */ - enableMultipleWriteLocations?: pulumi.Input; + ipAddress?: pulumi.Input; + } + + export interface SpatialSpecArgs { /** - * List of IpRules. + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ - ipRules?: pulumi.Input[]>; + path?: pulumi.Input; /** - * Flag to indicate whether to enable/disable Virtual Network ACL rules. + * List of path's spatial type */ - isVirtualNetworkFilterEnabled?: pulumi.Input; + types?: pulumi.Input[]>; + } + + /** + * Cosmos DB SQL container resource object + */ + export interface SqlContainerResourceArgs { /** - * The URI of the key vault + * Analytical TTL. */ - keyVaultKeyUri?: pulumi.Input; + analyticalStorageTtl?: pulumi.Input; /** - * An array that contains the georeplication locations enabled for the Cosmos DB account. + * The client encryption policy for the container. */ - locations: pulumi.Input[]>; + clientEncryptionPolicy?: pulumi.Input; /** - * Indicates what services are allowed to bypass firewall checks. + * The conflict resolution policy for the container. */ - networkAclBypass?: pulumi.Input; + conflictResolutionPolicy?: pulumi.Input; /** - * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + * Default time to live */ - networkAclBypassResourceIds?: pulumi.Input[]>; + defaultTtl?: pulumi.Input; /** - * Whether requests from Public Network are allowed + * Name of the Cosmos DB SQL container */ - publicNetworkAccess?: pulumi.Input; + id: pulumi.Input; /** - * Parameters to indicate the information about the restore. + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ - restoreParameters?: pulumi.Input; + indexingPolicy?: pulumi.Input; /** - * List of Virtual Network ACL rules configured for the Cosmos DB account. + * The configuration of the partition key to be used for partitioning data into multiple partitions */ - virtualNetworkRules?: pulumi.Input[]>; + partitionKey?: pulumi.Input; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: pulumi.Input; } /** - * restoreReqeustDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults sets the appropriate defaults for RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs + * sqlContainerResourceArgsProvideDefaults sets the appropriate defaults for SqlContainerResourceArgs */ - export function restoreReqeustDatabaseAccountCreateUpdatePropertiesArgsProvideDefaults(val: RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs): RestoreReqeustDatabaseAccountCreateUpdatePropertiesArgs { + export function sqlContainerResourceArgsProvideDefaults(val: SqlContainerResourceArgs): SqlContainerResourceArgs { return { ...val, - createMode: (val.createMode) ?? "Default", + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230415.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230415.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230415.containerPartitionKeyArgsProvideDefaults) : undefined), }; } /** - * Virtual Network ACL Rule object + * Cosmos DB SQL database resource object */ - export interface VirtualNetworkRuleArgs { - /** - * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. - */ - id?: pulumi.Input; - /** - * Create firewall rule before the virtual network has vnet service endpoint enabled. - */ - ignoreMissingVNetServiceEndpoint?: pulumi.Input; - } - - } - - export namespace v20210701preview { - export interface CertificateArgs { + export interface SqlDatabaseResourceArgs { /** - * PEM formatted public key. + * Name of the Cosmos DB SQL database */ - pem?: pulumi.Input; + id: pulumi.Input; } /** - * Properties of a managed Cassandra cluster. + * Cosmos DB SQL storedProcedure resource object */ - export interface ClusterResourcePropertiesArgs { - /** - * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. - */ - authenticationMethod?: pulumi.Input; - /** - * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. - */ - cassandraVersion?: pulumi.Input; - /** - * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. - */ - clientCertificates?: pulumi.Input[]>; - /** - * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. - */ - clusterNameOverride?: pulumi.Input; - /** - * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' - */ - delegatedManagementSubnetId?: pulumi.Input; - /** - * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. - */ - externalGossipCertificates?: pulumi.Input[]>; - /** - * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. - */ - externalSeedNodes?: pulumi.Input[]>; + export interface SqlStoredProcedureResourceArgs { /** - * Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0. + * Body of the Stored Procedure */ - hoursBetweenBackups?: pulumi.Input; + body?: pulumi.Input; /** - * Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + * Name of the Cosmos DB SQL storedProcedure */ - initialCassandraAdminPassword?: pulumi.Input; + id: pulumi.Input; + } + + /** + * Cosmos DB SQL trigger resource object + */ + export interface SqlTriggerResourceArgs { /** - * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + * Body of the Trigger */ - prometheusEndpoint?: pulumi.Input; + body?: pulumi.Input; /** - * The status of the resource at the time the operation was called. + * Name of the Cosmos DB SQL trigger */ - provisioningState?: pulumi.Input; + id: pulumi.Input; /** - * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + * The operation the trigger is associated with */ - repairEnabled?: pulumi.Input; + triggerOperation?: pulumi.Input; /** - * To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + * Type of the Trigger */ - restoreFromBackupId?: pulumi.Input; + triggerType?: pulumi.Input; } /** - * Identity for the resource. + * Cosmos DB SQL userDefinedFunction resource object */ - export interface ManagedServiceIdentityArgs { + export interface SqlUserDefinedFunctionResourceArgs { /** - * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + * Body of the User Defined Function */ - type?: pulumi.Input; + body?: pulumi.Input; /** - * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * Name of the Cosmos DB SQL userDefinedFunction */ - userAssignedIdentities?: pulumi.Input[]>; + id: pulumi.Input; } - export interface SeedNodeArgs { + /** + * Cosmos DB table resource object + */ + export interface TableResourceArgs { /** - * IP address of this seed node. + * Name of the Cosmos DB table */ - ipAddress?: pulumi.Input; + id: pulumi.Input; } - } - - export namespace v20230301preview { /** - * The set of data plane operations permitted through this Role Definition. + * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - export interface PrivilegeArgs { - /** - * An array of actions that are allowed. - */ - actions?: pulumi.Input[]>; + export interface UniqueKeyArgs { /** - * An Azure Cosmos DB Mongo DB Resource. + * List of paths must be unique for each document in the Azure Cosmos DB service */ - resource?: pulumi.Input; + paths?: pulumi.Input[]>; } /** - * An Azure Cosmos DB Mongo DB Resource. + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - export interface PrivilegeResourceArgs { - /** - * The collection name the role is applied. - */ - collection?: pulumi.Input; + export interface UniqueKeyPolicyArgs { /** - * The database name the role is applied. + * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - db?: pulumi.Input; + uniqueKeys?: pulumi.Input[]>; } /** - * The set of roles permitted through this Role Definition. + * Virtual Network ACL Rule object */ - export interface RoleArgs { + export interface VirtualNetworkRuleArgs { /** - * The database name the role is applied. + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. */ - db?: pulumi.Input; + id?: pulumi.Input; /** - * The role name. + * Create firewall rule before the virtual network has vnet service endpoint enabled. */ - role?: pulumi.Input; + ignoreMissingVNetServiceEndpoint?: pulumi.Input; } } - export namespace v20230315preview { + export namespace v20230915 { /** * Analytical storage specific properties. */ @@ -166739,14 +174702,49 @@ export namespace documentdb { /** * Describes the types of schema for analytical storage. */ - schemaType?: pulumi.Input; + schemaType?: pulumi.Input; } export interface ApiPropertiesArgs { /** * Describes the ServerVersion of an a MongoDB account. */ - serverVersion?: pulumi.Input; + serverVersion?: pulumi.Input; + } + + /** + * Ldap authentication method properties. This feature is in preview. + */ + export interface AuthenticationMethodLdapPropertiesArgs { + /** + * Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + */ + connectionTimeoutInMs?: pulumi.Input; + /** + * Distinguished name of the object to start the recursive search of users from. + */ + searchBaseDistinguishedName?: pulumi.Input; + /** + * Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + */ + searchFilterTemplate?: pulumi.Input; + serverCertificates?: pulumi.Input[]>; + /** + * Hostname of the LDAP server. + */ + serverHostname?: pulumi.Input; + /** + * Port of the LDAP server. + */ + serverPort?: pulumi.Input; + /** + * Distinguished name of the look up user account, who can look up user details on authentication. + */ + serviceUserDistinguishedName?: pulumi.Input; + /** + * Password of the look up user. + */ + serviceUserPassword?: pulumi.Input; } export interface AutoscaleSettingsArgs { @@ -166767,11 +174765,11 @@ export namespace documentdb { /** * Describes the status of migration between backup policy types. */ - status?: pulumi.Input; + status?: pulumi.Input; /** * Describes the target backup policy type of the backup policy migration. */ - targetType?: pulumi.Input; + targetType?: pulumi.Input; } /** @@ -166794,6 +174792,25 @@ export namespace documentdb { totalThroughputLimit?: pulumi.Input; } + export interface CassandraErrorArgs { + /** + * Additional information about the error. + */ + additionalErrorInfo?: pulumi.Input; + /** + * The code of error that occurred. + */ + code?: pulumi.Input; + /** + * The message of the error. + */ + message?: pulumi.Input; + /** + * The target resource of the error. + */ + target?: pulumi.Input; + } + /** * Cosmos DB Cassandra keyspace resource object */ @@ -166821,15 +174838,15 @@ export namespace documentdb { /** * List of cluster key. */ - clusterKeys?: pulumi.Input[]>; + clusterKeys?: pulumi.Input[]>; /** * List of Cassandra table columns. */ - columns?: pulumi.Input[]>; + columns?: pulumi.Input[]>; /** * List of partition key. */ - partitionKeys?: pulumi.Input[]>; + partitionKeys?: pulumi.Input[]>; } /** @@ -166851,21 +174868,14 @@ export namespace documentdb { /** * Schema of the Cosmos DB Cassandra table */ - schema?: pulumi.Input; + schema?: pulumi.Input; } - /** - * Cosmos DB Cassandra view resource object - */ - export interface CassandraViewResourceArgs { - /** - * Name of the Cosmos DB Cassandra view - */ - id: pulumi.Input; + export interface CertificateArgs { /** - * View Definition of the Cosmos DB Cassandra view + * PEM formatted public key. */ - viewDefinition: pulumi.Input; + pem?: pulumi.Input; } /** @@ -166897,7 +174907,7 @@ export namespace documentdb { /** * Paths of the item that need encryption along with path-specific settings. */ - includedPaths: pulumi.Input[]>; + includedPaths: pulumi.Input[]>; /** * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. */ @@ -166918,6 +174928,76 @@ export namespace documentdb { orderBy?: pulumi.Input; } + /** + * Properties of a managed Cassandra cluster. + */ + export interface ClusterResourcePropertiesArgs { + /** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ + authenticationMethod?: pulumi.Input; + /** + * Whether Cassandra audit logging is enabled + */ + cassandraAuditLoggingEnabled?: pulumi.Input; + /** + * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + */ + cassandraVersion?: pulumi.Input; + /** + * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + */ + clientCertificates?: pulumi.Input[]>; + /** + * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + */ + clusterNameOverride?: pulumi.Input; + /** + * Whether the cluster and associated data centers has been deallocated. + */ + deallocated?: pulumi.Input; + /** + * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + */ + delegatedManagementSubnetId?: pulumi.Input; + /** + * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + */ + externalGossipCertificates?: pulumi.Input[]>; + /** + * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + */ + externalSeedNodes?: pulumi.Input[]>; + /** + * (Deprecated) Number of hours to wait between taking a backup of the cluster. + */ + hoursBetweenBackups?: pulumi.Input; + /** + * Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + */ + initialCassandraAdminPassword?: pulumi.Input; + /** + * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + */ + prometheusEndpoint?: pulumi.Input; + /** + * Error related to resource provisioning. + */ + provisionError?: pulumi.Input; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: pulumi.Input; + /** + * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + */ + repairEnabled?: pulumi.Input; + /** + * To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + */ + restoreFromBackupId?: pulumi.Input; + } + /** * Cosmos DB Cassandra table column */ @@ -166936,7 +175016,7 @@ export namespace documentdb { /** * Sort order for composite paths. */ - order?: pulumi.Input; + order?: pulumi.Input; /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ @@ -166958,7 +175038,7 @@ export namespace documentdb { /** * Indicates the conflict resolution mode. */ - mode?: pulumi.Input; + mode?: pulumi.Input; } /** * conflictResolutionPolicyArgsProvideDefaults sets the appropriate defaults for ConflictResolutionPolicyArgs @@ -166977,7 +175057,7 @@ export namespace documentdb { /** * The default consistency level and configuration settings of the Cosmos DB account. */ - defaultConsistencyLevel: pulumi.Input; + defaultConsistencyLevel: pulumi.Input; /** * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. */ @@ -166995,7 +175075,7 @@ export namespace documentdb { /** * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * List of paths using which data within the container can be partitioned */ @@ -167022,11 +175102,11 @@ export namespace documentdb { /** * Configuration values for continuous mode backup */ - continuousModeProperties?: pulumi.Input; + continuousModeProperties?: pulumi.Input; /** * The object representing the state of the migration between the backup policies. */ - migrationState?: pulumi.Input; + migrationState?: pulumi.Input; /** * Describes the mode of backups. * Expected value is 'Continuous'. @@ -167039,9 +175119,9 @@ export namespace documentdb { */ export interface ContinuousModePropertiesArgs { /** - * Enum to indicate type of Continuos backup mode + * Enum to indicate type of Continuous backup mode */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -167075,9 +175155,9 @@ export namespace documentdb { */ export interface CreateUpdateOptionsArgs { /** - * Specifies the Autoscale settings. + * Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. */ - autoscaleSettings?: pulumi.Input; + autoscaleSettings?: pulumi.Input; /** * Request Units per second. For example, "throughput": 10000. */ @@ -167085,27 +175165,79 @@ export namespace documentdb { } /** - * Specific Databases to restore. + * Properties of a managed Cassandra data center. */ - export interface DatabaseRestoreResourceArgs { + export interface DataCenterResourcePropertiesArgs { /** - * The names of the collections available for restore. + * Ldap authentication method properties. This feature is in preview. */ - collectionNames?: pulumi.Input[]>; + authenticationMethodLdapProperties?: pulumi.Input; /** - * The name of the database available for restore. + * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. */ - databaseName?: pulumi.Input; + availabilityZone?: pulumi.Input; + /** + * Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + */ + backupStorageCustomerKeyUri?: pulumi.Input; + /** + * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + */ + base64EncodedCassandraYamlFragment?: pulumi.Input; + /** + * The region this data center should be created in. + */ + dataCenterLocation?: pulumi.Input; + /** + * Whether the data center has been deallocated. + */ + deallocated?: pulumi.Input; + /** + * Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + */ + delegatedSubnetId?: pulumi.Input; + /** + * Number of disks attached to each node. Default is 4. + */ + diskCapacity?: pulumi.Input; + /** + * Disk SKU used for data centers. Default value is P30. + */ + diskSku?: pulumi.Input; + /** + * Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + */ + managedDiskCustomerKeyUri?: pulumi.Input; + /** + * The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + */ + nodeCount?: pulumi.Input; + /** + * Error related to resource provisioning. + */ + provisionError?: pulumi.Input; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: pulumi.Input; + /** + * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + */ + sku?: pulumi.Input; } /** - * Indicates what diagnostic log settings are to be enabled. + * Specific Databases to restore. */ - export interface DiagnosticLogSettingsArgs { + export interface DatabaseRestoreResourceArgs { /** - * Describe the level of detail with which queries are to be logged. + * The names of the collections available for restore. */ - enableFullTextQuery?: pulumi.Input; + collectionNames?: pulumi.Input[]>; + /** + * The name of the database available for restore. + */ + databaseName?: pulumi.Input; } export interface ExcludedPathArgs { @@ -167115,32 +175247,14 @@ export namespace documentdb { path?: pulumi.Input; } - /** - * Cosmos DB Graph resource object - */ - export interface GraphResourceArgs { - /** - * Name of the Cosmos DB Graph - */ - id: pulumi.Input; - } - /** * Cosmos DB Gremlin database resource object */ export interface GremlinDatabaseResourceArgs { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; /** * Name of the Cosmos DB Gremlin database */ id: pulumi.Input; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; } /** @@ -167168,11 +175282,7 @@ export namespace documentdb { /** * The conflict resolution policy for the graph. */ - conflictResolutionPolicy?: pulumi.Input; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; + conflictResolutionPolicy?: pulumi.Input; /** * Default time to live */ @@ -167184,19 +175294,15 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ - indexingPolicy?: pulumi.Input; + indexingPolicy?: pulumi.Input; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: pulumi.Input; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; + partitionKey?: pulumi.Input; /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: pulumi.Input; + uniqueKeyPolicy?: pulumi.Input; } /** * gremlinGraphResourceArgsProvideDefaults sets the appropriate defaults for GremlinGraphResourceArgs @@ -167204,9 +175310,9 @@ export namespace documentdb { export function gremlinGraphResourceArgsProvideDefaults(val: GremlinGraphResourceArgs): GremlinGraphResourceArgs { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230315preview.conflictResolutionPolicyArgsProvideDefaults) : undefined), - indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230315preview.indexingPolicyArgsProvideDefaults) : undefined), - partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230315preview.containerPartitionKeyArgsProvideDefaults) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230915.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230915.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230915.containerPartitionKeyArgsProvideDefaults) : undefined), }; } @@ -167217,7 +175323,7 @@ export namespace documentdb { /** * List of indexes for this path */ - indexes?: pulumi.Input[]>; + indexes?: pulumi.Input[]>; /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ @@ -167231,11 +175337,11 @@ export namespace documentdb { /** * The datatype for which the indexing behavior is applied to. */ - dataType?: pulumi.Input; + dataType?: pulumi.Input; /** * Indicates the type of index. */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * The precision of the index. -1 is maximum precision. */ @@ -167263,23 +175369,23 @@ export namespace documentdb { /** * List of composite path list */ - compositeIndexes?: pulumi.Input[]>[]>; + compositeIndexes?: pulumi.Input[]>[]>; /** * List of paths to exclude from indexing */ - excludedPaths?: pulumi.Input[]>; + excludedPaths?: pulumi.Input[]>; /** * List of paths to include in the indexing */ - includedPaths?: pulumi.Input[]>; + includedPaths?: pulumi.Input[]>; /** * Indicates the indexing mode. */ - indexingMode?: pulumi.Input; + indexingMode?: pulumi.Input; /** * List of spatial specifics */ - spatialIndexes?: pulumi.Input[]>; + spatialIndexes?: pulumi.Input[]>; } /** * indexingPolicyArgsProvideDefaults sets the appropriate defaults for IndexingPolicyArgs @@ -167322,43 +175428,25 @@ export namespace documentdb { /** * Identity for the resource. */ - export interface ManagedServiceIdentityArgs { - /** - * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. - */ - type?: pulumi.Input; - /** - * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - - /** - * Materialized View definition for the container. - */ - export interface MaterializedViewDefinitionArgs { - /** - * The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. - */ - definition: pulumi.Input; + export interface ManagedCassandraManagedServiceIdentityArgs { /** - * The name of the source container on which the Materialized View will be created. + * The type of the resource. */ - sourceCollectionId: pulumi.Input; + type?: pulumi.Input; } /** - * Parameters used for restore operations + * Identity for the resource. */ - export interface MongoClusterRestoreParametersArgs { + export interface ManagedServiceIdentityArgs { /** - * UTC point in time to restore a mongo cluster + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. */ - pointInTimeUTC?: pulumi.Input; + type?: pulumi.Input; /** - * Resource ID to locate the source cluster to restore + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - sourceResourceId?: pulumi.Input; + userAssignedIdentities?: pulumi.Input[]>; } /** @@ -167369,10 +175457,6 @@ export namespace documentdb { * Analytical TTL. */ analyticalStorageTtl?: pulumi.Input; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; /** * Name of the Cosmos DB MongoDB collection */ @@ -167380,11 +175464,7 @@ export namespace documentdb { /** * List of index keys */ - indexes?: pulumi.Input[]>; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; + indexes?: pulumi.Input[]>; /** * A key-value pair of shard keys to be applied for the request. */ @@ -167395,18 +175475,10 @@ export namespace documentdb { * Cosmos DB MongoDB database resource object */ export interface MongoDBDatabaseResourceArgs { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; /** * Name of the Cosmos DB MongoDB database */ id: pulumi.Input; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; } /** @@ -167416,11 +175488,11 @@ export namespace documentdb { /** * Cosmos DB MongoDB collection index keys */ - key?: pulumi.Input; + key?: pulumi.Input; /** * Cosmos DB MongoDB collection index key options */ - options?: pulumi.Input; + options?: pulumi.Input; } /** @@ -167447,32 +175519,6 @@ export namespace documentdb { unique?: pulumi.Input; } - /** - * Specification for a node group. - */ - export interface NodeGroupSpecArgs { - /** - * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. - */ - diskSizeGB?: pulumi.Input; - /** - * Whether high availability is enabled on the node group. - */ - enableHa?: pulumi.Input; - /** - * The node type deployed in the node group. - */ - kind?: pulumi.Input; - /** - * The number of nodes in the node group. - */ - nodeCount?: pulumi.Input; - /** - * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. - */ - sku?: pulumi.Input; - } - /** * The object representing periodic mode backup policy. */ @@ -167480,11 +175526,11 @@ export namespace documentdb { /** * The object representing the state of the migration between the backup policies. */ - migrationState?: pulumi.Input; + migrationState?: pulumi.Input; /** * Configuration values for periodic mode backup */ - periodicModeProperties?: pulumi.Input; + periodicModeProperties?: pulumi.Input; /** * Describes the mode of backups. * Expected value is 'Periodic'. @@ -167507,21 +175553,73 @@ export namespace documentdb { /** * Enum to indicate type of backup residency */ - backupStorageRedundancy?: pulumi.Input; + backupStorageRedundancy?: pulumi.Input; } /** - * Parameters to indicate the information about the restore. + * The set of data plane operations permitted through this Role Definition. */ - export interface ResourceRestoreParametersArgs { + export interface PermissionArgs { /** - * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + * An array of data actions that are allowed. */ - restoreSource?: pulumi.Input; + dataActions?: pulumi.Input[]>; /** - * Time to which the account has to be restored (ISO-8601 format). + * An array of data actions that are denied. */ - restoreTimestampInUtc?: pulumi.Input; + notDataActions?: pulumi.Input[]>; + } + + /** + * Private endpoint which the connection belongs to. + */ + export interface PrivateEndpointPropertyArgs { + /** + * Resource id of the private endpoint. + */ + id?: pulumi.Input; + } + + /** + * Connection State of the Private Endpoint Connection. + */ + export interface PrivateLinkServiceConnectionStatePropertyArgs { + /** + * The private link service connection description. + */ + description?: pulumi.Input; + /** + * The private link service connection status. + */ + status?: pulumi.Input; + } + + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PrivilegeArgs { + /** + * An array of actions that are allowed. + */ + actions?: pulumi.Input[]>; + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + resource?: pulumi.Input; + } + + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + export interface PrivilegeResourceArgs { + /** + * The collection name the role is applied. + */ + collection?: pulumi.Input; + /** + * The database name the role is applied. + */ + db?: pulumi.Input; } /** @@ -167531,15 +175629,15 @@ export namespace documentdb { /** * List of specific databases available for restore. */ - databasesToRestore?: pulumi.Input[]>; + databasesToRestore?: pulumi.Input[]>; /** * List of specific gremlin databases available for restore. */ - gremlinDatabasesToRestore?: pulumi.Input[]>; + gremlinDatabasesToRestore?: pulumi.Input[]>; /** * Describes the mode of the restore. */ - restoreMode?: pulumi.Input; + restoreMode?: pulumi.Input; /** * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} */ @@ -167548,16 +175646,33 @@ export namespace documentdb { * Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: pulumi.Input; - /** - * The source backup location for restore. - */ - sourceBackupLocation?: pulumi.Input; /** * List of specific tables available for restore. */ tablesToRestore?: pulumi.Input[]>; } + /** + * The set of roles permitted through this Role Definition. + */ + export interface RoleArgs { + /** + * The database name the role is applied. + */ + db?: pulumi.Input; + /** + * The role name. + */ + role?: pulumi.Input; + } + + export interface SeedNodeArgs { + /** + * IP address of this seed node. + */ + ipAddress?: pulumi.Input; + } + export interface SpatialSpecArgs { /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) @@ -167566,7 +175681,7 @@ export namespace documentdb { /** * List of path's spatial type */ - types?: pulumi.Input[]>; + types?: pulumi.Input[]>; } /** @@ -167580,15 +175695,11 @@ export namespace documentdb { /** * The client encryption policy for the container. */ - clientEncryptionPolicy?: pulumi.Input; + clientEncryptionPolicy?: pulumi.Input; /** * The conflict resolution policy for the container. */ - conflictResolutionPolicy?: pulumi.Input; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; + conflictResolutionPolicy?: pulumi.Input; /** * Default time to live */ @@ -167600,23 +175711,15 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ - indexingPolicy?: pulumi.Input; - /** - * The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. - */ - materializedViewDefinition?: pulumi.Input; + indexingPolicy?: pulumi.Input; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: pulumi.Input; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; + partitionKey?: pulumi.Input; /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: pulumi.Input; + uniqueKeyPolicy?: pulumi.Input; } /** * sqlContainerResourceArgsProvideDefaults sets the appropriate defaults for SqlContainerResourceArgs @@ -167624,9 +175727,9 @@ export namespace documentdb { export function sqlContainerResourceArgsProvideDefaults(val: SqlContainerResourceArgs): SqlContainerResourceArgs { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230315preview.conflictResolutionPolicyArgsProvideDefaults) : undefined), - indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230315preview.indexingPolicyArgsProvideDefaults) : undefined), - partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230315preview.containerPartitionKeyArgsProvideDefaults) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230915.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230915.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230915.containerPartitionKeyArgsProvideDefaults) : undefined), }; } @@ -167634,18 +175737,10 @@ export namespace documentdb { * Cosmos DB SQL database resource object */ export interface SqlDatabaseResourceArgs { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; /** * Name of the Cosmos DB SQL database */ id: pulumi.Input; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; } /** @@ -167677,11 +175772,11 @@ export namespace documentdb { /** * The operation the trigger is associated with */ - triggerOperation?: pulumi.Input; + triggerOperation?: pulumi.Input; /** * Type of the Trigger */ - triggerType?: pulumi.Input; + triggerType?: pulumi.Input; } /** @@ -167702,18 +175797,10 @@ export namespace documentdb { * Cosmos DB table resource object */ export interface TableResourceArgs { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: pulumi.Input; /** * Name of the Cosmos DB table */ id: pulumi.Input; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: pulumi.Input; } /** @@ -167733,7 +175820,7 @@ export namespace documentdb { /** * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeys?: pulumi.Input[]>; + uniqueKeys?: pulumi.Input[]>; } /** @@ -167752,7 +175839,7 @@ export namespace documentdb { } - export namespace v20230415 { + export namespace v20230915preview { /** * Analytical storage specific properties. */ @@ -167760,14 +175847,14 @@ export namespace documentdb { /** * Describes the types of schema for analytical storage. */ - schemaType?: pulumi.Input; + schemaType?: pulumi.Input; } export interface ApiPropertiesArgs { /** * Describes the ServerVersion of an a MongoDB account. */ - serverVersion?: pulumi.Input; + serverVersion?: pulumi.Input; } /** @@ -167786,7 +175873,7 @@ export namespace documentdb { * Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. */ searchFilterTemplate?: pulumi.Input; - serverCertificates?: pulumi.Input[]>; + serverCertificates?: pulumi.Input[]>; /** * Hostname of the LDAP server. */ @@ -167823,11 +175910,26 @@ export namespace documentdb { /** * Describes the status of migration between backup policy types. */ - status?: pulumi.Input; + status?: pulumi.Input; /** * Describes the target backup policy type of the backup policy migration. */ - targetType?: pulumi.Input; + targetType?: pulumi.Input; + } + + export interface BackupScheduleArgs { + /** + * The cron expression that defines when you want to back up your data. + */ + cronExpression?: pulumi.Input; + /** + * The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + */ + retentionInHours?: pulumi.Input; + /** + * The unique identifier of backup schedule. + */ + scheduleName?: pulumi.Input; } /** @@ -167896,15 +175998,15 @@ export namespace documentdb { /** * List of cluster key. */ - clusterKeys?: pulumi.Input[]>; + clusterKeys?: pulumi.Input[]>; /** * List of Cassandra table columns. */ - columns?: pulumi.Input[]>; + columns?: pulumi.Input[]>; /** * List of partition key. */ - partitionKeys?: pulumi.Input[]>; + partitionKeys?: pulumi.Input[]>; } /** @@ -167926,7 +176028,21 @@ export namespace documentdb { /** * Schema of the Cosmos DB Cassandra table */ - schema?: pulumi.Input; + schema?: pulumi.Input; + } + + /** + * Cosmos DB Cassandra view resource object + */ + export interface CassandraViewResourceArgs { + /** + * Name of the Cosmos DB Cassandra view + */ + id: pulumi.Input; + /** + * View Definition of the Cosmos DB Cassandra view + */ + viewDefinition: pulumi.Input; } export interface CertificateArgs { @@ -167965,7 +176081,7 @@ export namespace documentdb { /** * Paths of the item that need encryption along with path-specific settings. */ - includedPaths: pulumi.Input[]>; + includedPaths: pulumi.Input[]>; /** * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. */ @@ -167993,7 +176109,11 @@ export namespace documentdb { /** * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. */ - authenticationMethod?: pulumi.Input; + authenticationMethod?: pulumi.Input; + /** + * List of backup schedules that define when you want to back up your data. + */ + backupSchedules?: pulumi.Input[]>; /** * Whether Cassandra audit logging is enabled */ @@ -168005,11 +176125,15 @@ export namespace documentdb { /** * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. */ - clientCertificates?: pulumi.Input[]>; + clientCertificates?: pulumi.Input[]>; /** * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. */ clusterNameOverride?: pulumi.Input; + /** + * Type of the cluster. If set to Production, some operations might not be permitted on cluster. + */ + clusterType?: pulumi.Input; /** * Whether the cluster and associated data centers has been deallocated. */ @@ -168018,14 +176142,18 @@ export namespace documentdb { * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' */ delegatedManagementSubnetId?: pulumi.Input; + /** + * Extensions to be added or updated on cluster. + */ + extensions?: pulumi.Input[]>; /** * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. */ - externalGossipCertificates?: pulumi.Input[]>; + externalGossipCertificates?: pulumi.Input[]>; /** * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. */ - externalSeedNodes?: pulumi.Input[]>; + externalSeedNodes?: pulumi.Input[]>; /** * (Deprecated) Number of hours to wait between taking a backup of the cluster. */ @@ -168037,15 +176165,15 @@ export namespace documentdb { /** * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. */ - prometheusEndpoint?: pulumi.Input; + prometheusEndpoint?: pulumi.Input; /** * Error related to resource provisioning. */ - provisionError?: pulumi.Input; + provisionError?: pulumi.Input; /** * The status of the resource at the time the operation was called. */ - provisioningState?: pulumi.Input; + provisioningState?: pulumi.Input; /** * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. */ @@ -168074,7 +176202,7 @@ export namespace documentdb { /** * Sort order for composite paths. */ - order?: pulumi.Input; + order?: pulumi.Input; /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ @@ -168096,7 +176224,7 @@ export namespace documentdb { /** * Indicates the conflict resolution mode. */ - mode?: pulumi.Input; + mode?: pulumi.Input; } /** * conflictResolutionPolicyArgsProvideDefaults sets the appropriate defaults for ConflictResolutionPolicyArgs @@ -168115,7 +176243,7 @@ export namespace documentdb { /** * The default consistency level and configuration settings of the Cosmos DB account. */ - defaultConsistencyLevel: pulumi.Input; + defaultConsistencyLevel: pulumi.Input; /** * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. */ @@ -168133,7 +176261,7 @@ export namespace documentdb { /** * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * List of paths using which data within the container can be partitioned */ @@ -168160,11 +176288,11 @@ export namespace documentdb { /** * Configuration values for continuous mode backup */ - continuousModeProperties?: pulumi.Input; + continuousModeProperties?: pulumi.Input; /** * The object representing the state of the migration between the backup policies. */ - migrationState?: pulumi.Input; + migrationState?: pulumi.Input; /** * Describes the mode of backups. * Expected value is 'Continuous'. @@ -168177,9 +176305,9 @@ export namespace documentdb { */ export interface ContinuousModePropertiesArgs { /** - * Enum to indicate type of Continuous backup mode + * Enum to indicate type of Continuos backup mode */ - tier?: pulumi.Input; + tier?: pulumi.Input; } /** @@ -168213,9 +176341,9 @@ export namespace documentdb { */ export interface CreateUpdateOptionsArgs { /** - * Specifies the Autoscale settings. + * Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. */ - autoscaleSettings?: pulumi.Input; + autoscaleSettings?: pulumi.Input; /** * Request Units per second. For example, "throughput": 10000. */ @@ -168229,7 +176357,7 @@ export namespace documentdb { /** * Ldap authentication method properties. This feature is in preview. */ - authenticationMethodLdapProperties?: pulumi.Input; + authenticationMethodLdapProperties?: pulumi.Input; /** * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. */ @@ -168273,11 +176401,11 @@ export namespace documentdb { /** * Error related to resource provisioning. */ - provisionError?: pulumi.Input; + provisionError?: pulumi.Input; /** * The status of the resource at the time the operation was called. */ - provisioningState?: pulumi.Input; + provisioningState?: pulumi.Input; /** * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 */ @@ -168298,6 +176426,16 @@ export namespace documentdb { databaseName?: pulumi.Input; } + /** + * Indicates what diagnostic log settings are to be enabled. + */ + export interface DiagnosticLogSettingsArgs { + /** + * Describe the level of detail with which queries are to be logged. + */ + enableFullTextQuery?: pulumi.Input; + } + export interface ExcludedPathArgs { /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) @@ -168305,14 +176443,32 @@ export namespace documentdb { path?: pulumi.Input; } + /** + * Cosmos DB Graph resource object + */ + export interface GraphResourceArgs { + /** + * Name of the Cosmos DB Graph + */ + id: pulumi.Input; + } + /** * Cosmos DB Gremlin database resource object */ export interface GremlinDatabaseResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Name of the Cosmos DB Gremlin database */ id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; } /** @@ -168340,7 +176496,11 @@ export namespace documentdb { /** * The conflict resolution policy for the graph. */ - conflictResolutionPolicy?: pulumi.Input; + conflictResolutionPolicy?: pulumi.Input; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Default time to live */ @@ -168352,15 +176512,19 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ - indexingPolicy?: pulumi.Input; + indexingPolicy?: pulumi.Input; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: pulumi.Input; + partitionKey?: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: pulumi.Input; + uniqueKeyPolicy?: pulumi.Input; } /** * gremlinGraphResourceArgsProvideDefaults sets the appropriate defaults for GremlinGraphResourceArgs @@ -168368,9 +176532,9 @@ export namespace documentdb { export function gremlinGraphResourceArgsProvideDefaults(val: GremlinGraphResourceArgs): GremlinGraphResourceArgs { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230415.conflictResolutionPolicyArgsProvideDefaults) : undefined), - indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230415.indexingPolicyArgsProvideDefaults) : undefined), - partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230415.containerPartitionKeyArgsProvideDefaults) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230915preview.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230915preview.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230915preview.containerPartitionKeyArgsProvideDefaults) : undefined), }; } @@ -168381,7 +176545,7 @@ export namespace documentdb { /** * List of indexes for this path */ - indexes?: pulumi.Input[]>; + indexes?: pulumi.Input[]>; /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ @@ -168395,11 +176559,11 @@ export namespace documentdb { /** * The datatype for which the indexing behavior is applied to. */ - dataType?: pulumi.Input; + dataType?: pulumi.Input; /** * Indicates the type of index. */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * The precision of the index. -1 is maximum precision. */ @@ -168427,23 +176591,23 @@ export namespace documentdb { /** * List of composite path list */ - compositeIndexes?: pulumi.Input[]>[]>; + compositeIndexes?: pulumi.Input[]>[]>; /** * List of paths to exclude from indexing */ - excludedPaths?: pulumi.Input[]>; + excludedPaths?: pulumi.Input[]>; /** * List of paths to include in the indexing */ - includedPaths?: pulumi.Input[]>; + includedPaths?: pulumi.Input[]>; /** * Indicates the indexing mode. */ - indexingMode?: pulumi.Input; + indexingMode?: pulumi.Input; /** * List of spatial specifics */ - spatialIndexes?: pulumi.Input[]>; + spatialIndexes?: pulumi.Input[]>; } /** * indexingPolicyArgsProvideDefaults sets the appropriate defaults for IndexingPolicyArgs @@ -168490,7 +176654,7 @@ export namespace documentdb { /** * The type of the resource. */ - type?: pulumi.Input; + type?: pulumi.Input; } /** @@ -168500,13 +176664,41 @@ export namespace documentdb { /** * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. */ - type?: pulumi.Input; + type?: pulumi.Input; /** * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: pulumi.Input[]>; } + /** + * Materialized View definition for the container. + */ + export interface MaterializedViewDefinitionArgs { + /** + * The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + */ + definition: pulumi.Input; + /** + * The name of the source container on which the Materialized View will be created. + */ + sourceCollectionId: pulumi.Input; + } + + /** + * Parameters used for restore operations + */ + export interface MongoClusterRestoreParametersArgs { + /** + * UTC point in time to restore a mongo cluster + */ + pointInTimeUTC?: pulumi.Input; + /** + * Resource ID to locate the source cluster to restore + */ + sourceResourceId?: pulumi.Input; + } + /** * Cosmos DB MongoDB collection resource object */ @@ -168515,6 +176707,10 @@ export namespace documentdb { * Analytical TTL. */ analyticalStorageTtl?: pulumi.Input; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Name of the Cosmos DB MongoDB collection */ @@ -168522,7 +176718,11 @@ export namespace documentdb { /** * List of index keys */ - indexes?: pulumi.Input[]>; + indexes?: pulumi.Input[]>; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; /** * A key-value pair of shard keys to be applied for the request. */ @@ -168533,10 +176733,18 @@ export namespace documentdb { * Cosmos DB MongoDB database resource object */ export interface MongoDBDatabaseResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Name of the Cosmos DB MongoDB database */ id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; } /** @@ -168546,11 +176754,11 @@ export namespace documentdb { /** * Cosmos DB MongoDB collection index keys */ - key?: pulumi.Input; + key?: pulumi.Input; /** * Cosmos DB MongoDB collection index key options */ - options?: pulumi.Input; + options?: pulumi.Input; } /** @@ -168577,6 +176785,32 @@ export namespace documentdb { unique?: pulumi.Input; } + /** + * Specification for a node group. + */ + export interface NodeGroupSpecArgs { + /** + * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + */ + diskSizeGB?: pulumi.Input; + /** + * Whether high availability is enabled on the node group. + */ + enableHa?: pulumi.Input; + /** + * The node type deployed in the node group. + */ + kind?: pulumi.Input; + /** + * The number of nodes in the node group. + */ + nodeCount?: pulumi.Input; + /** + * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + */ + sku?: pulumi.Input; + } + /** * The object representing periodic mode backup policy. */ @@ -168584,11 +176818,11 @@ export namespace documentdb { /** * The object representing the state of the migration between the backup policies. */ - migrationState?: pulumi.Input; + migrationState?: pulumi.Input; /** * Configuration values for periodic mode backup */ - periodicModeProperties?: pulumi.Input; + periodicModeProperties?: pulumi.Input; /** * Describes the mode of backups. * Expected value is 'Periodic'. @@ -168611,7 +176845,7 @@ export namespace documentdb { /** * Enum to indicate type of backup residency */ - backupStorageRedundancy?: pulumi.Input; + backupStorageRedundancy?: pulumi.Input; } /** @@ -168663,7 +176897,7 @@ export namespace documentdb { /** * An Azure Cosmos DB Mongo DB Resource. */ - resource?: pulumi.Input; + resource?: pulumi.Input; } /** @@ -168680,6 +176914,20 @@ export namespace documentdb { db?: pulumi.Input; } + /** + * Parameters to indicate the information about the restore. + */ + export interface ResourceRestoreParametersArgs { + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: pulumi.Input; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: pulumi.Input; + } + /** * Parameters to indicate the information about the restore. */ @@ -168687,15 +176935,15 @@ export namespace documentdb { /** * List of specific databases available for restore. */ - databasesToRestore?: pulumi.Input[]>; + databasesToRestore?: pulumi.Input[]>; /** * List of specific gremlin databases available for restore. */ - gremlinDatabasesToRestore?: pulumi.Input[]>; + gremlinDatabasesToRestore?: pulumi.Input[]>; /** * Describes the mode of the restore. */ - restoreMode?: pulumi.Input; + restoreMode?: pulumi.Input; /** * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} */ @@ -168704,6 +176952,10 @@ export namespace documentdb { * Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: pulumi.Input; + /** + * The source backup location for restore. + */ + sourceBackupLocation?: pulumi.Input; /** * List of specific tables available for restore. */ @@ -168739,7 +176991,7 @@ export namespace documentdb { /** * List of path's spatial type */ - types?: pulumi.Input[]>; + types?: pulumi.Input[]>; } /** @@ -168753,11 +177005,15 @@ export namespace documentdb { /** * The client encryption policy for the container. */ - clientEncryptionPolicy?: pulumi.Input; + clientEncryptionPolicy?: pulumi.Input; /** * The conflict resolution policy for the container. */ - conflictResolutionPolicy?: pulumi.Input; + conflictResolutionPolicy?: pulumi.Input; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Default time to live */ @@ -168769,15 +177025,23 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ - indexingPolicy?: pulumi.Input; + indexingPolicy?: pulumi.Input; + /** + * The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + */ + materializedViewDefinition?: pulumi.Input; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: pulumi.Input; + partitionKey?: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: pulumi.Input; + uniqueKeyPolicy?: pulumi.Input; } /** * sqlContainerResourceArgsProvideDefaults sets the appropriate defaults for SqlContainerResourceArgs @@ -168785,9 +177049,9 @@ export namespace documentdb { export function sqlContainerResourceArgsProvideDefaults(val: SqlContainerResourceArgs): SqlContainerResourceArgs { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230415.conflictResolutionPolicyArgsProvideDefaults) : undefined), - indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230415.indexingPolicyArgsProvideDefaults) : undefined), - partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230415.containerPartitionKeyArgsProvideDefaults) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? pulumi.output(val.conflictResolutionPolicy).apply(inputs.documentdb.v20230915preview.conflictResolutionPolicyArgsProvideDefaults) : undefined), + indexingPolicy: (val.indexingPolicy ? pulumi.output(val.indexingPolicy).apply(inputs.documentdb.v20230915preview.indexingPolicyArgsProvideDefaults) : undefined), + partitionKey: (val.partitionKey ? pulumi.output(val.partitionKey).apply(inputs.documentdb.v20230915preview.containerPartitionKeyArgsProvideDefaults) : undefined), }; } @@ -168795,10 +177059,18 @@ export namespace documentdb { * Cosmos DB SQL database resource object */ export interface SqlDatabaseResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Name of the Cosmos DB SQL database */ id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; } /** @@ -168830,11 +177102,11 @@ export namespace documentdb { /** * The operation the trigger is associated with */ - triggerOperation?: pulumi.Input; + triggerOperation?: pulumi.Input; /** * Type of the Trigger */ - triggerType?: pulumi.Input; + triggerType?: pulumi.Input; } /** @@ -168855,10 +177127,18 @@ export namespace documentdb { * Cosmos DB table resource object */ export interface TableResourceArgs { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: pulumi.Input; /** * Name of the Cosmos DB table */ id: pulumi.Input; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: pulumi.Input; } /** @@ -168878,7 +177158,7 @@ export namespace documentdb { /** * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeys?: pulumi.Input[]>; + uniqueKeys?: pulumi.Input[]>; } /** @@ -171154,6 +179434,16 @@ export namespace elasticsan { tier?: pulumi.Input; } + /** + * Data used when creating a volume snapshot. + */ + export interface SnapshotCreationDataArgs { + /** + * Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + */ + sourceId: pulumi.Input; + } + /** * Data source used when creating the volume. */ @@ -171336,6 +179626,164 @@ export namespace elasticsan { } } + + export namespace v20230101 { + /** + * Encryption identity for the volume group. + */ + export interface EncryptionIdentityArgs { + /** + * Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + */ + encryptionUserAssignedIdentity?: pulumi.Input; + } + + /** + * The encryption settings on the volume group. + */ + export interface EncryptionPropertiesArgs { + /** + * The identity to be used with service-side encryption at rest. + */ + encryptionIdentity?: pulumi.Input; + /** + * Properties provided by key vault. + */ + keyVaultProperties?: pulumi.Input; + } + + /** + * Identity for the resource. + */ + export interface IdentityArgs { + /** + * The identity type. + */ + type: pulumi.Input; + /** + * Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Properties of key vault. + */ + export interface KeyVaultPropertiesArgs { + /** + * The name of KeyVault key. + */ + keyName?: pulumi.Input; + /** + * The Uri of KeyVault. + */ + keyVaultUri?: pulumi.Input; + /** + * The version of KeyVault key. + */ + keyVersion?: pulumi.Input; + } + + /** + * Parent resource information. + */ + export interface ManagedByInfoArgs { + /** + * Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + */ + resourceId?: pulumi.Input; + } + + /** + * A set of rules governing the network accessibility. + */ + export interface NetworkRuleSetArgs { + /** + * The list of virtual network rules. + */ + virtualNetworkRules?: pulumi.Input[]>; + } + + /** + * Response for Private Link Service Connection state + */ + export interface PrivateLinkServiceConnectionStateArgs { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; + } + + /** + * The SKU name. Required for account creation; optional for update. + */ + export interface SkuArgs { + /** + * The sku name. + */ + name: pulumi.Input; + /** + * The sku tier. + */ + tier?: pulumi.Input; + } + + /** + * Data used when creating a volume snapshot. + */ + export interface SnapshotCreationDataArgs { + /** + * Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + */ + sourceId: pulumi.Input; + } + + /** + * Data source used when creating the volume. + */ + export interface SourceCreationDataArgs { + /** + * This enumerates the possible sources of a volume creation. + */ + createSource?: pulumi.Input; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + sourceId?: pulumi.Input; + } + + /** + * Virtual Network rule. + */ + export interface VirtualNetworkRuleArgs { + /** + * The action of virtual network rule. + */ + action?: pulumi.Input; + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + */ + virtualNetworkResourceId: pulumi.Input; + } + /** + * virtualNetworkRuleArgsProvideDefaults sets the appropriate defaults for VirtualNetworkRuleArgs + */ + export function virtualNetworkRuleArgsProvideDefaults(val: VirtualNetworkRuleArgs): VirtualNetworkRuleArgs { + return { + ...val, + action: (val.action) ?? "Allow", + }; + } + + } } export namespace engagementfabric { @@ -193754,31 +202202,6 @@ export namespace iotfirmwaredefense { } } -export namespace iotsecurity { - /** - * MDE integration configuration - */ - export interface DefenderSettingsPropertiesMdeIntegrationArgs { - /** - * Integration status - */ - status: pulumi.Input; - } - - export namespace v20210201preview { - /** - * MDE integration configuration - */ - export interface DefenderSettingsPropertiesMdeIntegrationArgs { - /** - * Integration status - */ - status: pulumi.Input; - } - - } -} - export namespace keyvault { /** * An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. @@ -193804,7 +202227,7 @@ export namespace keyvault { export interface ActionArgs { /** - * The type of the action. + * The type of the action. The value should be compared case-insensitively. */ type?: pulumi.Input; } @@ -194322,7 +202745,7 @@ export namespace keyvault { export interface ActionArgs { /** - * The type of the action. + * The type of the action. The value should be compared case-insensitively. */ type?: pulumi.Input; } @@ -196765,7 +205188,200 @@ export namespace kusto { } - export namespace v20221229 { + export namespace v20221229 { + /** + * Represents an accepted audience trusted by the cluster. + */ + export interface AcceptedAudiencesArgs { + /** + * GUID or valid URL representing an accepted audience. + */ + value?: pulumi.Input; + } + + /** + * Azure SKU definition. + */ + export interface AzureSkuArgs { + /** + * The number of instances of the cluster. + */ + capacity?: pulumi.Input; + /** + * SKU name. + */ + name: pulumi.Input; + /** + * SKU tier. + */ + tier: pulumi.Input; + } + + /** + * Identity for the resource. + */ + export interface IdentityArgs { + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + */ + type: pulumi.Input; + /** + * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * Properties of the key vault. + */ + export interface KeyVaultPropertiesArgs { + /** + * The name of the key vault key. + */ + keyName?: pulumi.Input; + /** + * The Uri of the key vault. + */ + keyVaultUri?: pulumi.Input; + /** + * The version of the key vault key. + */ + keyVersion?: pulumi.Input; + /** + * The user assigned identity (ARM resource id) that has access to the key. + */ + userIdentity?: pulumi.Input; + } + + /** + * The language extension object. + */ + export interface LanguageExtensionArgs { + /** + * The language extension image name. + */ + languageExtensionImageName?: pulumi.Input; + /** + * The language extension name. + */ + languageExtensionName?: pulumi.Input; + } + + /** + * The list of language extension objects. + */ + export interface LanguageExtensionsListArgs { + /** + * The list of language extensions. + */ + value?: pulumi.Input[]>; + } + + /** + * A class that contains the optimized auto scale definition. + */ + export interface OptimizedAutoscaleArgs { + /** + * A boolean value that indicate if the optimized autoscale feature is enabled or not. + */ + isEnabled: pulumi.Input; + /** + * Maximum allowed instances count. + */ + maximum: pulumi.Input; + /** + * Minimum allowed instances count. + */ + minimum: pulumi.Input; + /** + * The version of the template defined, for instance 1. + */ + version: pulumi.Input; + } + + /** + * Connection State of the Private Endpoint Connection. + */ + export interface PrivateLinkServiceConnectionStatePropertyArgs { + /** + * The private link service connection description. + */ + description?: pulumi.Input; + /** + * The private link service connection status. + */ + status?: pulumi.Input; + } + + /** + * Tables that will be included and excluded in the follower database + */ + export interface TableLevelSharingPropertiesArgs { + /** + * List of external tables to exclude from the follower database + */ + externalTablesToExclude?: pulumi.Input[]>; + /** + * List of external tables to include in the follower database + */ + externalTablesToInclude?: pulumi.Input[]>; + /** + * List of functions to exclude from the follower database + */ + functionsToExclude?: pulumi.Input[]>; + /** + * List of functions to include in the follower database + */ + functionsToInclude?: pulumi.Input[]>; + /** + * List of materialized views to exclude from the follower database + */ + materializedViewsToExclude?: pulumi.Input[]>; + /** + * List of materialized views to include in the follower database + */ + materializedViewsToInclude?: pulumi.Input[]>; + /** + * List of tables to exclude from the follower database + */ + tablesToExclude?: pulumi.Input[]>; + /** + * List of tables to include in the follower database + */ + tablesToInclude?: pulumi.Input[]>; + } + + /** + * Represents a tenant ID that is trusted by the cluster. + */ + export interface TrustedExternalTenantArgs { + /** + * GUID representing an external tenant. + */ + value?: pulumi.Input; + } + + /** + * A class that contains virtual network definition. + */ + export interface VirtualNetworkConfigurationArgs { + /** + * Data management's service public IP address resource id. + */ + dataManagementPublicIpId: pulumi.Input; + /** + * Engine service's public IP address resource id. + */ + enginePublicIpId: pulumi.Input; + /** + * The subnet resource id. + */ + subnetId: pulumi.Input; + } + + } + + export namespace v20230502 { /** * Represents an accepted audience trusted by the cluster. */ @@ -196787,11 +205403,11 @@ export namespace kusto { /** * SKU name. */ - name: pulumi.Input; + name: pulumi.Input; /** * SKU tier. */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -196801,7 +205417,7 @@ export namespace kusto { /** * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. */ - type: pulumi.Input; + type: pulumi.Input; /** * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -196837,11 +205453,11 @@ export namespace kusto { /** * The language extension image name. */ - languageExtensionImageName?: pulumi.Input; + languageExtensionImageName?: pulumi.Input; /** * The language extension name. */ - languageExtensionName?: pulumi.Input; + languageExtensionName?: pulumi.Input; } /** @@ -196851,7 +205467,7 @@ export namespace kusto { /** * The list of language extensions. */ - value?: pulumi.Input[]>; + value?: pulumi.Input[]>; } /** @@ -196958,7 +205574,7 @@ export namespace kusto { } - export namespace v20230502 { + export namespace v20230815 { /** * Represents an accepted audience trusted by the cluster. */ @@ -196980,11 +205596,11 @@ export namespace kusto { /** * SKU name. */ - name: pulumi.Input; + name: pulumi.Input; /** * SKU tier. */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -196994,7 +205610,7 @@ export namespace kusto { /** * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. */ - type: pulumi.Input; + type: pulumi.Input; /** * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -197027,14 +205643,18 @@ export namespace kusto { * The language extension object. */ export interface LanguageExtensionArgs { + /** + * The language extension custom image name. + */ + languageExtensionCustomImageName?: pulumi.Input; /** * The language extension image name. */ - languageExtensionImageName?: pulumi.Input; + languageExtensionImageName?: pulumi.Input; /** * The language extension name. */ - languageExtensionName?: pulumi.Input; + languageExtensionName?: pulumi.Input; } /** @@ -197044,7 +205664,7 @@ export namespace kusto { /** * The list of language extensions. */ - value?: pulumi.Input[]>; + value?: pulumi.Input[]>; } /** @@ -197143,11 +205763,24 @@ export namespace kusto { * Engine service's public IP address resource id. */ enginePublicIpId: pulumi.Input; + /** + * When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + */ + state?: pulumi.Input; /** * The subnet resource id. */ subnetId: pulumi.Input; } + /** + * virtualNetworkConfigurationArgsProvideDefaults sets the appropriate defaults for VirtualNetworkConfigurationArgs + */ + export function virtualNetworkConfigurationArgsProvideDefaults(val: VirtualNetworkConfigurationArgs): VirtualNetworkConfigurationArgs { + return { + ...val, + state: (val.state) ?? "Enabled", + }; + } } } @@ -241728,7 +250361,7 @@ export namespace machinelearningservices { */ systemCreatedAcrAccount?: pulumi.Input; /** - * Details of user created ACR account to be used for the Registry + * Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. */ userCreatedAcrAccount?: pulumi.Input; } @@ -249782,7 +258415,7 @@ export namespace machinelearningservices { */ systemCreatedStorageAccount?: pulumi.Input; /** - * Details of user created storage account to be used for the registry + * Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. */ userCreatedStorageAccount?: pulumi.Input; } @@ -253411,7 +262044,7 @@ export namespace managednetworkfabric { */ export interface AccessControlListPortConditionArgs { /** - * List of protocol flags that need to be matched. + * List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg */ flags?: pulumi.Input[]>; /** @@ -331368,6 +340001,13 @@ export namespace recoveryservices { location?: pulumi.Input; } + /** + * Settings for Azure Monitor based alerts + */ + export interface AzureMonitorAlertSettingsArgs { + alertsForAllJobFailures?: pulumi.Input; + } + /** * Create network mappings input properties/behavior specific to Azure to Azure Network mapping. */ @@ -331383,6 +340023,37 @@ export namespace recoveryservices { primaryNetworkId: pulumi.Input; } + /** + * Settings for classic alerts + */ + export interface ClassicAlertSettingsArgs { + alertsForCriticalOperations?: pulumi.Input; + } + + /** + * The details of the identity used for CMK + */ + export interface CmkKekIdentityArgs { + /** + * Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + */ + useSystemAssignedIdentity?: pulumi.Input; + /** + * The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + */ + userAssignedIdentity?: pulumi.Input; + } + + /** + * The properties of the Key Vault which hosts CMK + */ + export interface CmkKeyVaultPropertiesArgs { + /** + * The key uri of the Customer Managed Key + */ + keyUri?: pulumi.Input; + } + /** * Common input details for network mapping operation. */ @@ -331455,6 +340126,13 @@ export namespace recoveryservices { recoveryFabricId: pulumi.Input; } + /** + * Settings for Cross Subscription Restore Settings + */ + export interface CrossSubscriptionRestoreSettingsArgs { + crossSubscriptionRestoreState?: pulumi.Input; + } + /** * Recovery disk encryption info (BEK and KEK). */ @@ -331821,6 +340499,20 @@ export namespace recoveryservices { replicationPort?: pulumi.Input; } + /** + * Identity for the resource. + */ + export interface IdentityDataArgs { + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + */ + type: pulumi.Input; + /** + * The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + /** * Identity provider input. */ @@ -331847,6 +340539,13 @@ export namespace recoveryservices { tenantId: pulumi.Input; } + /** + * Immutability Settings of vault + */ + export interface ImmutabilitySettingsArgs { + state?: pulumi.Input; + } + /** * Disk input details. */ @@ -332337,6 +341036,20 @@ export namespace recoveryservices { keyVaultResourceArmId?: pulumi.Input; } + /** + * Monitoring Settings of the vault + */ + export interface MonitoringSettingsArgs { + /** + * Settings for Azure Monitor based alerts + */ + azureMonitorAlertSettings?: pulumi.Input; + /** + * Settings for classic alerts + */ + classicAlertSettings?: pulumi.Input; + } + /** * Recovery plan A2A input. */ @@ -332483,6 +341196,67 @@ export namespace recoveryservices { timeout?: pulumi.Input; } + /** + * Restore Settings of the vault + */ + export interface RestoreSettingsArgs { + /** + * Settings for CrossSubscriptionRestore + */ + crossSubscriptionRestoreSettings?: pulumi.Input; + } + + /** + * Security Settings of the vault + */ + export interface SecuritySettingsArgs { + /** + * Immutability Settings of a vault + */ + immutabilitySettings?: pulumi.Input; + /** + * Soft delete Settings of a vault + */ + softDeleteSettings?: pulumi.Input; + } + + /** + * Identifies the unique system identifier for each Azure resource. + */ + export interface SkuArgs { + /** + * The sku capacity + */ + capacity?: pulumi.Input; + /** + * The sku family + */ + family?: pulumi.Input; + /** + * Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + */ + name: pulumi.Input; + /** + * The sku size + */ + size?: pulumi.Input; + /** + * The Sku tier. + */ + tier?: pulumi.Input; + } + + /** + * Soft delete Settings of vault + */ + export interface SoftDeleteSettingsArgs { + /** + * Soft delete retention period in days + */ + softDeleteRetentionPeriodInDays?: pulumi.Input; + softDeleteState?: pulumi.Input; + } + /** * Storage mapping input properties. */ @@ -332741,6 +341515,50 @@ export namespace recoveryservices { vmwareSiteId?: pulumi.Input; } + /** + * Properties of the vault. + */ + export interface VaultPropertiesArgs { + /** + * Customer Managed Key details of the resource. + */ + encryption?: pulumi.Input; + /** + * Monitoring Settings of the vault + */ + monitoringSettings?: pulumi.Input; + /** + * property to enable or disable resource provider inbound network traffic from public clients + */ + publicNetworkAccess?: pulumi.Input; + /** + * Restore Settings of the vault + */ + restoreSettings?: pulumi.Input; + /** + * Security Settings of the vault + */ + securitySettings?: pulumi.Input; + } + + /** + * Customer Managed Key details of the resource. + */ + export interface VaultPropertiesEncryptionArgs { + /** + * Enabling/Disabling the Double Encryption state + */ + infrastructureEncryption?: pulumi.Input; + /** + * The details of the identity used for CMK + */ + kekIdentity?: pulumi.Input; + /** + * The properties of the Key Vault which hosts CMK + */ + keyVaultProperties?: pulumi.Input; + } + /** * Create network mappings input properties/behavior specific to Vmm to Azure Network mapping. */ @@ -342872,931 +351690,2817 @@ export namespace securityinsights { deploymentTime?: pulumi.Input; } - /** - * Information regarding a deployment. - */ - export interface DeploymentInfoArgs { + /** + * Information regarding a deployment. + */ + export interface DeploymentInfoArgs { + /** + * Deployment information. + */ + deployment?: pulumi.Input; + /** + * Status while fetching the last deployment. + */ + deploymentFetchStatus?: pulumi.Input; + /** + * Additional details about the deployment that can be shown to the user. + */ + message?: pulumi.Input; + } + + /** + * Single entity mapping for the alert rule + */ + export interface EntityMappingArgs { + /** + * The V3 type of the mapped entity + */ + entityType?: pulumi.Input; + /** + * array of field mappings for the given entity mapping + */ + fieldMappings?: pulumi.Input[]>; + } + + /** + * Event grouping settings property bag. + */ + export interface EventGroupingSettingsArgs { + /** + * The event grouping aggregation kinds + */ + aggregationKind?: pulumi.Input; + } + + /** + * A single field mapping of the mapped entity + */ + export interface FieldMappingArgs { + /** + * the column name to be mapped to the identifier + */ + columnName?: pulumi.Input; + /** + * the V3 identifier of the entity + */ + identifier?: pulumi.Input; + } + + /** + * Represents a file. + */ + export interface FileMetadataArgs { + /** + * The format of the file + */ + fileFormat?: pulumi.Input; + /** + * The name of the file. + */ + fileName?: pulumi.Input; + /** + * The size of the file. + */ + fileSize?: pulumi.Input; + } + + /** + * Resources created in GitHub repository. + */ + export interface GitHubResourceInfoArgs { + /** + * GitHub application installation id. + */ + appInstallationId?: pulumi.Input; + } + + /** + * The graph query to show the volume of data arriving into the workspace over time. + */ + export interface GraphQueryArgs { + /** + * Gets or sets the base query for the graph. + * The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + */ + baseQuery: pulumi.Input; + /** + * Gets or sets the legend for the graph. + */ + legend: pulumi.Input; + /** + * Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + */ + metricName: pulumi.Input; + } + + /** + * Grouping configuration property bag. + */ + export interface GroupingConfigurationArgs { + /** + * Grouping enabled + */ + enabled: pulumi.Input; + /** + * A list of alert details to group by (when matchingMethod is Selected) + */ + groupByAlertDetails?: pulumi.Input[]>; + /** + * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + */ + groupByCustomDetails?: pulumi.Input[]>; + /** + * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + */ + groupByEntities?: pulumi.Input[]>; + /** + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + */ + lookbackDuration: pulumi.Input; + /** + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + */ + matchingMethod: pulumi.Input; + /** + * Re-open closed matching incidents + */ + reopenClosedIncident: pulumi.Input; + } + + /** + * Describes a user that the hunt is assigned to + */ + export interface HuntOwnerArgs { + /** + * The name of the user the hunt is assigned to. + */ + assignedTo?: pulumi.Input; + /** + * The email of the user the hunt is assigned to. + */ + email?: pulumi.Input; + /** + * The object id of the user the hunt is assigned to. + */ + objectId?: pulumi.Input; + /** + * The type of the owner the hunt is assigned to. + */ + ownerType?: pulumi.Input; + /** + * The user principal name of the user the hunt is assigned to. + */ + userPrincipalName?: pulumi.Input; + } + + /** + * Incident Configuration property bag. + */ + export interface IncidentConfigurationArgs { + /** + * Create incidents from alerts triggered by this analytics rule + */ + createIncident: pulumi.Input; + /** + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + */ + groupingConfiguration?: pulumi.Input; + } + + /** + * Describes related incident information for the bookmark + */ + export interface IncidentInfoArgs { + /** + * Incident Id + */ + incidentId?: pulumi.Input; + /** + * Relation Name + */ + relationName?: pulumi.Input; + /** + * The severity of the incident + */ + severity?: pulumi.Input; + /** + * The title of the incident + */ + title?: pulumi.Input; + } + + /** + * Represents an incident label + */ + export interface IncidentLabelArgs { + /** + * The name of the label + */ + labelName: pulumi.Input; + } + + /** + * Information on the user an incident is assigned to + */ + export interface IncidentOwnerInfoArgs { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: pulumi.Input; + /** + * The email of the user the incident is assigned to. + */ + email?: pulumi.Input; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: pulumi.Input; + /** + * The type of the owner the incident is assigned to. + */ + ownerType?: pulumi.Input; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: pulumi.Input; + } + + export interface IncidentPropertiesActionArgs { + /** + * The reason the incident was closed + */ + classification?: pulumi.Input; + /** + * Describes the reason the incident was closed. + */ + classificationComment?: pulumi.Input; + /** + * The classification reason the incident was closed with + */ + classificationReason?: pulumi.Input; + /** + * List of labels to add to the incident. + */ + labels?: pulumi.Input[]>; + /** + * Information on the user an incident is assigned to + */ + owner?: pulumi.Input; + /** + * The severity of the incident + */ + severity?: pulumi.Input; + /** + * The status of the incident + */ + status?: pulumi.Input; + } + + /** + * Instruction steps to enable the connector. + */ + export interface InstructionStepArgs { + /** + * Gets or sets the instruction step description. + */ + description?: pulumi.Input; + /** + * Gets or sets the inner instruction steps details. + * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + */ + innerSteps?: pulumi.Input[]>; + /** + * Gets or sets the instruction step details. + */ + instructions?: pulumi.Input[]>; + /** + * Gets or sets the instruction step title. + */ + title?: pulumi.Input; + } + + /** + * Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + */ + export interface InstructionStepDetailsArgs { + /** + * Gets or sets the instruction type parameters settings. + */ + parameters: any; + /** + * Gets or sets the instruction type name. + */ + type: pulumi.Input; + } + + /** + * The available data types for MCAS (Microsoft Cloud App Security) data connector. + */ + export interface MCASDataConnectorDataTypesArgs { + /** + * Alerts data type connection. + */ + alerts?: pulumi.Input; + /** + * Discovery log data type connection. + */ + discoveryLogs?: pulumi.Input; + } + + /** + * Publisher or creator of the content item. + */ + export interface MetadataAuthorArgs { + /** + * Email of author contact + */ + email?: pulumi.Input; + /** + * Link for author/vendor page + */ + link?: pulumi.Input; + /** + * Name of the author. Company or person. + */ + name?: pulumi.Input; + } + + /** + * ies for the solution content item + */ + export interface MetadataCategoriesArgs { + /** + * domain for the solution content item + */ + domains?: pulumi.Input[]>; + /** + * Industry verticals for the solution content item + */ + verticals?: pulumi.Input[]>; + } + + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + */ + export interface MetadataDependenciesArgs { + /** + * Id of the content item we depend on + */ + contentId?: pulumi.Input; + /** + * This is the list of dependencies we must fulfill, according to the AND/OR operator + */ + criteria?: pulumi.Input[]>; + /** + * Type of the content item we depend on + */ + kind?: pulumi.Input; + /** + * Name of the content item + */ + name?: pulumi.Input; + /** + * Operator used for list of dependencies in criteria array. + */ + operator?: pulumi.Input; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: pulumi.Input; + } + + /** + * The original source of the content item, where it comes from. + */ + export interface MetadataSourceArgs { + /** + * Source type of the content + */ + kind: pulumi.Input; + /** + * Name of the content source. The repo name, solution name, LA workspace name etc. + */ + name?: pulumi.Input; + /** + * ID of the content source. The solution ID, workspace ID, etc + */ + sourceId?: pulumi.Input; + } + + /** + * Support information for the content item. + */ + export interface MetadataSupportArgs { + /** + * Email of support contact + */ + email?: pulumi.Input; + /** + * Link for support help, like to support page to open a ticket etc. + */ + link?: pulumi.Input; + /** + * Name of the support contact. Company or person. + */ + name?: pulumi.Input; + /** + * Type of support for content item + */ + tier: pulumi.Input; + } + + /** + * The available data types for office data connector. + */ + export interface OfficeDataConnectorDataTypesArgs { + /** + * Exchange data type connection. + */ + exchange?: pulumi.Input; + /** + * SharePoint data type connection. + */ + sharePoint?: pulumi.Input; + /** + * Teams data type connection. + */ + teams?: pulumi.Input; + } + + /** + * Exchange data type connection. + */ + export interface OfficeDataConnectorDataTypesExchangeArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + + /** + * SharePoint data type connection. + */ + export interface OfficeDataConnectorDataTypesSharePointArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + + /** + * Teams data type connection. + */ + export interface OfficeDataConnectorDataTypesTeamsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + + export interface PlaybookActionPropertiesArgs { + /** + * The resource id of the playbook resource. + */ + logicAppResourceId: pulumi.Input; + /** + * The tenant id of the playbook resource. + */ + tenantId?: pulumi.Input; + } + + /** + * Describes an automation rule condition that evaluates an array property's value change + */ + export interface PropertyArrayChangedConditionPropertiesArgs { + conditionProperties?: pulumi.Input; + /** + * + * Expected value is 'PropertyArrayChanged'. + */ + conditionType: pulumi.Input<"PropertyArrayChanged">; + } + + /** + * Describes an automation rule condition that evaluates a property's value change + */ + export interface PropertyChangedConditionPropertiesArgs { + conditionProperties?: pulumi.Input; + /** + * + * Expected value is 'PropertyChanged'. + */ + conditionType: pulumi.Input<"PropertyChanged">; + } + + /** + * Describes an automation rule condition that evaluates a property's value + */ + export interface PropertyConditionPropertiesArgs { + conditionProperties?: pulumi.Input; + /** + * + * Expected value is 'Property'. + */ + conditionType: pulumi.Input<"Property">; + } + + /** + * metadata of a repository. + */ + export interface RepositoryArgs { + /** + * Branch name of repository. + */ + branch?: pulumi.Input; + /** + * Url to access repository action logs. + */ + deploymentLogsUrl?: pulumi.Input; + /** + * Display url of repository. + */ + displayUrl?: pulumi.Input; + /** + * Dictionary of source control content type and path mapping. + */ + pathMapping?: pulumi.Input[]>; + /** + * Url of repository. + */ + url?: pulumi.Input; + } + + /** + * Resources created in user's repository for the source-control. + */ + export interface RepositoryResourceInfoArgs { + /** + * Resources created in Azure DevOps for this source-control. + */ + azureDevOpsResourceInfo?: pulumi.Input; + /** + * Resources created in GitHub for this source-control. + */ + gitHubResourceInfo?: pulumi.Input; + /** + * The webhook object created for the source-control. + */ + webhook?: pulumi.Input; + } + + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + export interface ResourceProviderRequiredPermissionsArgs { + /** + * Gets or sets a value indicating whether the permission is custom actions (POST). + */ + action?: pulumi.Input; + /** + * Gets or sets a value indicating whether the permission is delete action (DELETE). + */ + delete?: pulumi.Input; + /** + * Gets or sets a value indicating whether the permission is read action (GET). + */ + read?: pulumi.Input; + /** + * Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + */ + write?: pulumi.Input; + } + + /** + * The sample queries for the connector. + */ + export interface SampleQueryArgs { + /** + * Gets or sets the sample query description. + */ + description: pulumi.Input; + /** + * Gets or sets the KQL sample query. + */ + query: pulumi.Input; + } + + /** + * security ml analytics settings data sources + */ + export interface SecurityMLAnalyticsSettingsDataSourceArgs { + /** + * The connector id that provides the following data types + */ + connectorId?: pulumi.Input; + /** + * The data types used by the security ml analytics settings + */ + dataTypes?: pulumi.Input[]>; + } + + /** + * The available data types for TI (Threat Intelligence) data connector. + */ + export interface TIDataConnectorDataTypesArgs { + /** + * Data type for indicators connection. + */ + indicators?: pulumi.Input; + } + + /** + * Data type for indicators connection. + */ + export interface TIDataConnectorDataTypesIndicatorsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + + /** + * Describes external reference + */ + export interface ThreatIntelligenceExternalReferenceArgs { + /** + * External reference description + */ + description?: pulumi.Input; + /** + * External reference ID + */ + externalId?: pulumi.Input; + /** + * External reference hashes + */ + hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * External reference source name + */ + sourceName?: pulumi.Input; + /** + * External reference URL + */ + url?: pulumi.Input; + } + + /** + * Describes threat granular marking model entity + */ + export interface ThreatIntelligenceGranularMarkingModelArgs { + /** + * Language granular marking model + */ + language?: pulumi.Input; + /** + * marking reference granular marking model + */ + markingRef?: pulumi.Input; + /** + * granular marking model selectors + */ + selectors?: pulumi.Input[]>; + } + + /** + * Describes threat kill chain phase entity + */ + export interface ThreatIntelligenceKillChainPhaseArgs { + /** + * Kill chainName name + */ + killChainName?: pulumi.Input; + /** + * Phase name + */ + phaseName?: pulumi.Input; + } + + /** + * Describes parsed pattern entity + */ + export interface ThreatIntelligenceParsedPatternArgs { + /** + * Pattern type key + */ + patternTypeKey?: pulumi.Input; + /** + * Pattern type keys + */ + patternTypeValues?: pulumi.Input[]>; + } + + /** + * Describes threat kill chain phase entity + */ + export interface ThreatIntelligenceParsedPatternTypeValueArgs { + /** + * Value of parsed pattern + */ + value?: pulumi.Input; + /** + * Type of the value + */ + valueType?: pulumi.Input; + } + + /** + * User information that made some action + */ + export interface UserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + + /** + * User information that made some action + */ + export interface WatchlistUserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + + /** + * Detail about the webhook object. + */ + export interface WebhookArgs { + /** + * A flag to instruct the backend service to rotate webhook secret. + */ + rotateWebhookSecret?: pulumi.Input; + /** + * Unique identifier for the webhook. + */ + webhookId?: pulumi.Input; + /** + * Time when the webhook secret was updated. + */ + webhookSecretUpdateTime?: pulumi.Input; + /** + * URL that gets invoked by the webhook. + */ + webhookUrl?: pulumi.Input; + } + + export namespace v20190101preview { + /** + * Describes an automation rule action to modify an object's properties + */ + export interface AutomationRuleModifyPropertiesActionArgs { + /** + * The configuration of the modify properties automation rule action + */ + actionConfiguration: pulumi.Input; + /** + * The type of the automation rule action + * Expected value is 'ModifyProperties'. + */ + actionType: pulumi.Input<"ModifyProperties">; + /** + * The order of execution of the automation rule action + */ + order: pulumi.Input; + } + + /** + * The configuration of the modify properties automation rule action + */ + export interface AutomationRuleModifyPropertiesActionActionConfigurationArgs { + /** + * The reason the incident was closed + */ + classification?: pulumi.Input; + /** + * Describes the reason the incident was closed + */ + classificationComment?: pulumi.Input; + /** + * The classification reason to close the incident with + */ + classificationReason?: pulumi.Input; + /** + * List of labels to add to the incident + */ + labels?: pulumi.Input[]>; + /** + * Describes a user that the incident is assigned to + */ + owner?: pulumi.Input; + /** + * The severity of the incident + */ + severity?: pulumi.Input; + /** + * The status of the incident + */ + status?: pulumi.Input; + } + + /** + * Describes an automation rule condition that evaluates a property's value + */ + export interface AutomationRulePropertyValuesConditionArgs { + /** + * The configuration of the automation rule condition + */ + conditionProperties: pulumi.Input; + /** + * The type of the automation rule condition + * Expected value is 'Property'. + */ + conditionType: pulumi.Input<"Property">; + } + + /** + * The configuration of the automation rule condition + */ + export interface AutomationRulePropertyValuesConditionConditionPropertiesArgs { + /** + * The operator to use for evaluation the condition + */ + operator?: pulumi.Input; + /** + * The property to evaluate + */ + propertyName?: pulumi.Input; + /** + * The values to use for evaluating the condition + */ + propertyValues?: pulumi.Input[]>; + } + + /** + * Describes an automation rule action to run a playbook + */ + export interface AutomationRuleRunPlaybookActionArgs { + /** + * The configuration of the run playbook automation rule action + */ + actionConfiguration: pulumi.Input; + /** + * The type of the automation rule action + * Expected value is 'RunPlaybook'. + */ + actionType: pulumi.Input<"RunPlaybook">; + /** + * The order of execution of the automation rule action + */ + order: pulumi.Input; + } + + /** + * The configuration of the run playbook automation rule action + */ + export interface AutomationRuleRunPlaybookActionActionConfigurationArgs { + /** + * The resource id of the playbook resource + */ + logicAppResourceId?: pulumi.Input; + /** + * The tenant id of the playbook resource + */ + tenantId?: pulumi.Input; + } + + /** + * Describes automation rule triggering logic + */ + export interface AutomationRuleTriggeringLogicArgs { + /** + * The conditions to evaluate to determine if the automation rule should be triggered on a given object + */ + conditions?: pulumi.Input[]>; + /** + * Determines when the automation rule should automatically expire and be disabled. + */ + expirationTimeUtc?: pulumi.Input; + /** + * Determines whether the automation rule is enabled or disabled. + */ + isEnabled: pulumi.Input; + /** + * The type of object the automation rule triggers on + */ + triggersOn: pulumi.Input; + /** + * The type of event the automation rule triggers on + */ + triggersWhen: pulumi.Input; + } + /** - * Deployment information. + * Describes related incident information for the bookmark */ - deployment?: pulumi.Input; + export interface IncidentInfoArgs { + /** + * Incident Id + */ + incidentId?: pulumi.Input; + /** + * Relation Name + */ + relationName?: pulumi.Input; + /** + * The severity of the incident + */ + severity?: pulumi.Input; + /** + * The title of the incident + */ + title?: pulumi.Input; + } + /** - * Status while fetching the last deployment. + * Represents an incident label */ - deploymentFetchStatus?: pulumi.Input; + export interface IncidentLabelArgs { + /** + * The name of the label + */ + labelName: pulumi.Input; + } + /** - * Additional details about the deployment that can be shown to the user. + * Information on the user an incident is assigned to */ - message?: pulumi.Input; - } + export interface IncidentOwnerInfoArgs { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: pulumi.Input; + /** + * The email of the user the incident is assigned to. + */ + email?: pulumi.Input; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: pulumi.Input; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: pulumi.Input; + } - /** - * Single entity mapping for the alert rule - */ - export interface EntityMappingArgs { /** - * The V3 type of the mapped entity + * User information that made some action */ - entityType?: pulumi.Input; + export interface UserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + /** - * array of field mappings for the given entity mapping + * User information that made some action */ - fieldMappings?: pulumi.Input[]>; + export interface WatchlistUserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + } - /** - * Event grouping settings property bag. - */ - export interface EventGroupingSettingsArgs { + export namespace v20210301preview { /** - * The event grouping aggregation kinds + * The Activity query definitions */ - aggregationKind?: pulumi.Input; - } + export interface ActivityEntityQueriesPropertiesQueryDefinitionsArgs { + /** + * The Activity query to run on a given entity + */ + query?: pulumi.Input; + } - /** - * A single field mapping of the mapped entity - */ - export interface FieldMappingArgs { /** - * the column name to be mapped to the identifier + * Settings for how to dynamically override alert static details */ - columnName?: pulumi.Input; + export interface AlertDetailsOverrideArgs { + /** + * the format containing columns name(s) to override the alert description + */ + alertDescriptionFormat?: pulumi.Input; + /** + * the format containing columns name(s) to override the alert name + */ + alertDisplayNameFormat?: pulumi.Input; + /** + * the column name to take the alert severity from + */ + alertSeverityColumnName?: pulumi.Input; + /** + * the column name to take the alert tactics from + */ + alertTacticsColumnName?: pulumi.Input; + } + /** - * the V3 identifier of the entity + * Alerts data type for data connectors. */ - identifier?: pulumi.Input; - } + export interface AlertsDataTypeOfDataConnectorArgs { + /** + * Alerts data type connection. + */ + alerts: pulumi.Input; + } - /** - * Represents a file. - */ - export interface FileMetadataArgs { /** - * The format of the file + * Connector Availability Status */ - fileFormat?: pulumi.Input; + export interface AvailabilityArgs { + /** + * Set connector as preview + */ + isPreview?: pulumi.Input; + /** + * The connector Availability Status + */ + status?: pulumi.Input; + } + /** - * The name of the file. + * The available data types for Amazon Web Services CloudTrail data connector. */ - fileName?: pulumi.Input; + export interface AwsCloudTrailDataConnectorDataTypesArgs { + /** + * Logs data type. + */ + logs: pulumi.Input; + } + /** - * The size of the file. + * Logs data type. */ - fileSize?: pulumi.Input; - } + export interface AwsCloudTrailDataConnectorDataTypesLogsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } - /** - * Resources created in GitHub repository. - */ - export interface GitHubResourceInfoArgs { /** - * GitHub application installation id. + * Config to describe the instructions blade */ - appInstallationId?: pulumi.Input; - } + export interface CodelessUiConnectorConfigPropertiesArgs { + /** + * Connector Availability Status + */ + availability: pulumi.Input; + /** + * Define the way the connector check connectivity + */ + connectivityCriteria: pulumi.Input[]>; + /** + * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + */ + customImage?: pulumi.Input; + /** + * Data types to check for last data received + */ + dataTypes: pulumi.Input[]>; + /** + * Connector description + */ + descriptionMarkdown: pulumi.Input; + /** + * The graph query to show the current data status + */ + graphQueries: pulumi.Input[]>; + /** + * Name of the table the connector will insert the data to + */ + graphQueriesTableName: pulumi.Input; + /** + * Instruction steps to enable the connector + */ + instructionSteps: pulumi.Input[]>; + /** + * Permissions required for the connector + */ + permissions: pulumi.Input; + /** + * Connector publisher name + */ + publisher: pulumi.Input; + /** + * The sample queries for the connector + */ + sampleQueries: pulumi.Input[]>; + /** + * Connector blade title + */ + title: pulumi.Input; + } + + export interface CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs { + /** + * type of connectivity + */ + type?: pulumi.Input; + /** + * Queries for checking connectivity + */ + value?: pulumi.Input[]>; + } + + export interface CodelessUiConnectorConfigPropertiesDataTypesArgs { + /** + * Query for indicate last data received + */ + lastDataReceivedQuery?: pulumi.Input; + /** + * Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + */ + name?: pulumi.Input; + } + + export interface CodelessUiConnectorConfigPropertiesGraphQueriesArgs { + /** + * The base query for the graph + */ + baseQuery?: pulumi.Input; + /** + * The legend for the graph + */ + legend?: pulumi.Input; + /** + * the metric that the query is checking + */ + metricName?: pulumi.Input; + } + + export interface CodelessUiConnectorConfigPropertiesInstructionStepsArgs { + /** + * Instruction step description + */ + description?: pulumi.Input; + /** + * Instruction step details + */ + instructions?: pulumi.Input[]>; + /** + * Instruction step title + */ + title?: pulumi.Input; + } + + export interface CodelessUiConnectorConfigPropertiesSampleQueriesArgs { + /** + * The sample query description + */ + description?: pulumi.Input; + /** + * the sample query + */ + query?: pulumi.Input; + } - /** - * The graph query to show the volume of data arriving into the workspace over time. - */ - export interface GraphQueryArgs { /** - * Gets or sets the base query for the graph. - * The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + * The mapping of content type to a repo path. */ - baseQuery: pulumi.Input; + export interface ContentPathMapArgs { + /** + * Content type. + */ + contentType?: pulumi.Input; + /** + * The path to the content. + */ + path?: pulumi.Input; + } + /** - * Gets or sets the legend for the graph. + * Common field for data type in data connectors. */ - legend: pulumi.Input; + export interface DataConnectorDataTypeCommonArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + * The available data types for Dynamics365 data connector. */ - metricName: pulumi.Input; - } + export interface Dynamics365DataConnectorDataTypesArgs { + /** + * Common Data Service data type connection. + */ + dynamics365CdsActivities: pulumi.Input; + } - /** - * Grouping configuration property bag. - */ - export interface GroupingConfigurationArgs { /** - * Grouping enabled + * Common Data Service data type connection. */ - enabled: pulumi.Input; + export interface Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * A list of alert details to group by (when matchingMethod is Selected) + * Single entity mapping for the alert rule */ - groupByAlertDetails?: pulumi.Input[]>; + export interface EntityMappingArgs { + /** + * The V3 type of the mapped entity + */ + entityType?: pulumi.Input; + /** + * array of field mappings for the given entity mapping + */ + fieldMappings?: pulumi.Input[]>; + } + /** - * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + * Event grouping settings property bag. */ - groupByCustomDetails?: pulumi.Input[]>; + export interface EventGroupingSettingsArgs { + /** + * The event grouping aggregation kinds + */ + aggregationKind?: pulumi.Input; + } + /** - * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + * A single field mapping of the mapped entity */ - groupByEntities?: pulumi.Input[]>; + export interface FieldMappingArgs { + /** + * the column name to be mapped to the identifier + */ + columnName?: pulumi.Input; + /** + * the V3 identifier of the entity + */ + identifier?: pulumi.Input; + } + /** - * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + * Grouping configuration property bag. */ - lookbackDuration: pulumi.Input; + export interface GroupingConfigurationArgs { + /** + * Grouping enabled + */ + enabled: pulumi.Input; + /** + * A list of alert details to group by (when matchingMethod is Selected) + */ + groupByAlertDetails?: pulumi.Input[]>; + /** + * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + */ + groupByCustomDetails?: pulumi.Input[]>; + /** + * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + */ + groupByEntities?: pulumi.Input[]>; + /** + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + */ + lookbackDuration: pulumi.Input; + /** + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + */ + matchingMethod: pulumi.Input; + /** + * Re-open closed matching incidents + */ + reopenClosedIncident: pulumi.Input; + } + /** - * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + * Incident Configuration property bag. */ - matchingMethod: pulumi.Input; + export interface IncidentConfigurationArgs { + /** + * Create incidents from alerts triggered by this analytics rule + */ + createIncident: pulumi.Input; + /** + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + */ + groupingConfiguration?: pulumi.Input; + } + /** - * Re-open closed matching incidents + * Represents an incident label */ - reopenClosedIncident: pulumi.Input; - } + export interface IncidentLabelArgs { + /** + * The name of the label + */ + labelName: pulumi.Input; + } - /** - * Describes a user that the hunt is assigned to - */ - export interface HuntOwnerArgs { /** - * The name of the user the hunt is assigned to. + * Information on the user an incident is assigned to */ - assignedTo?: pulumi.Input; + export interface IncidentOwnerInfoArgs { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: pulumi.Input; + /** + * The email of the user the incident is assigned to. + */ + email?: pulumi.Input; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: pulumi.Input; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: pulumi.Input; + } + + export interface InstructionStepsInstructionsArgs { + /** + * The parameters for the setting + */ + parameters?: any; + /** + * The kind of the setting + */ + type: pulumi.Input; + } + /** - * The email of the user the hunt is assigned to. + * The available data types for MCAS (Microsoft Cloud App Security) data connector. */ - email?: pulumi.Input; + export interface MCASDataConnectorDataTypesArgs { + /** + * Alerts data type connection. + */ + alerts: pulumi.Input; + /** + * Discovery log data type connection. + */ + discoveryLogs?: pulumi.Input; + } + /** - * The object id of the user the hunt is assigned to. + * The available data types for Microsoft Threat Intelligence Platforms data connector. */ - objectId?: pulumi.Input; + export interface MSTIDataConnectorDataTypesArgs { + /** + * Data type for Microsoft Threat Intelligence Platforms data connector. + */ + bingSafetyPhishingURL: pulumi.Input; + /** + * Data type for Microsoft Threat Intelligence Platforms data connector. + */ + microsoftEmergingThreatFeed: pulumi.Input; + } + /** - * The type of the owner the hunt is assigned to. + * Data type for Microsoft Threat Intelligence Platforms data connector. */ - ownerType?: pulumi.Input; + export interface MSTIDataConnectorDataTypesBingSafetyPhishingURLArgs { + /** + * lookback period + */ + lookbackPeriod: pulumi.Input; + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * The user principal name of the user the hunt is assigned to. + * Data type for Microsoft Threat Intelligence Platforms data connector. */ - userPrincipalName?: pulumi.Input; - } + export interface MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs { + /** + * lookback period + */ + lookbackPeriod: pulumi.Input; + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } - /** - * Incident Configuration property bag. - */ - export interface IncidentConfigurationArgs { /** - * Create incidents from alerts triggered by this analytics rule + * The available data types for Microsoft Threat Protection Platforms data connector. */ - createIncident: pulumi.Input; + export interface MTPDataConnectorDataTypesArgs { + /** + * Data type for Microsoft Threat Protection Platforms data connector. + */ + incidents: pulumi.Input; + } + /** - * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + * Data type for Microsoft Threat Protection Platforms data connector. */ - groupingConfiguration?: pulumi.Input; - } + export interface MTPDataConnectorDataTypesIncidentsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } - /** - * Describes related incident information for the bookmark - */ - export interface IncidentInfoArgs { /** - * Incident Id + * Publisher or creator of the content item. */ - incidentId?: pulumi.Input; + export interface MetadataAuthorArgs { + /** + * Email of author contact + */ + email?: pulumi.Input; + /** + * Link for author/vendor page + */ + link?: pulumi.Input; + /** + * Name of the author. Company or person. + */ + name?: pulumi.Input; + } + /** - * Relation Name + * ies for the solution content item */ - relationName?: pulumi.Input; + export interface MetadataCategoriesArgs { + /** + * domain for the solution content item + */ + domains?: pulumi.Input[]>; + /** + * Industry verticals for the solution content item + */ + verticals?: pulumi.Input[]>; + } + /** - * The severity of the incident + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ - severity?: pulumi.Input; + export interface MetadataDependenciesArgs { + /** + * Id of the content item we depend on + */ + contentId?: pulumi.Input; + /** + * This is the list of dependencies we must fulfill, according to the AND/OR operator + */ + criteria?: pulumi.Input[]>; + /** + * Type of the content item we depend on + */ + kind?: pulumi.Input; + /** + * Name of the content item + */ + name?: pulumi.Input; + /** + * Operator used for list of dependencies in criteria array. + */ + operator?: pulumi.Input; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: pulumi.Input; + } + /** - * The title of the incident + * The original source of the content item, where it comes from. */ - title?: pulumi.Input; - } + export interface MetadataSourceArgs { + /** + * Source type of the content + */ + kind: pulumi.Input; + /** + * Name of the content source. The repo name, solution name, LA workspace name etc. + */ + name?: pulumi.Input; + /** + * ID of the content source. The solution ID, workspace ID, etc + */ + sourceId?: pulumi.Input; + } - /** - * Represents an incident label - */ - export interface IncidentLabelArgs { /** - * The name of the label + * Support information for the content item. */ - labelName: pulumi.Input; - } + export interface MetadataSupportArgs { + /** + * Email of support contact + */ + email?: pulumi.Input; + /** + * Link for support help, like to support page to open a ticket etc. + */ + link?: pulumi.Input; + /** + * Name of the support contact. Company or person. + */ + name?: pulumi.Input; + /** + * Type of support for content item + */ + tier: pulumi.Input; + } - /** - * Information on the user an incident is assigned to - */ - export interface IncidentOwnerInfoArgs { /** - * The name of the user the incident is assigned to. + * The available data types for office data connector. */ - assignedTo?: pulumi.Input; + export interface OfficeDataConnectorDataTypesArgs { + /** + * Exchange data type connection. + */ + exchange: pulumi.Input; + /** + * SharePoint data type connection. + */ + sharePoint: pulumi.Input; + /** + * Teams data type connection. + */ + teams: pulumi.Input; + } + /** - * The email of the user the incident is assigned to. + * Exchange data type connection. */ - email?: pulumi.Input; + export interface OfficeDataConnectorDataTypesExchangeArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * The object id of the user the incident is assigned to. + * SharePoint data type connection. */ - objectId?: pulumi.Input; + export interface OfficeDataConnectorDataTypesSharePointArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * The type of the owner the incident is assigned to. + * Teams data type connection. */ - ownerType?: pulumi.Input; + export interface OfficeDataConnectorDataTypesTeamsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * The user principal name of the user the incident is assigned to. + * Permissions required for the connector */ - userPrincipalName?: pulumi.Input; - } + export interface PermissionsArgs { + /** + * Customs permissions required for the connector + */ + customs?: pulumi.Input[]>; + /** + * Resource provider permissions required for the connector + */ + resourceProvider?: pulumi.Input[]>; + } + + export interface PermissionsCustomsArgs { + /** + * Customs permissions description + */ + description?: pulumi.Input; + /** + * Customs permissions name + */ + name?: pulumi.Input; + } + + export interface PermissionsResourceProviderArgs { + /** + * Permission description text + */ + permissionsDisplayText?: pulumi.Input; + /** + * Provider name + */ + provider?: pulumi.Input; + /** + * Permission provider display name + */ + providerDisplayName?: pulumi.Input; + /** + * Required permissions for the connector + */ + requiredPermissions?: pulumi.Input; + /** + * Permission provider scope + */ + scope?: pulumi.Input; + } - export interface IncidentPropertiesActionArgs { /** - * The reason the incident was closed + * metadata of a repository. */ - classification?: pulumi.Input; + export interface RepositoryArgs { + /** + * Branch name of repository. + */ + branch?: pulumi.Input; + /** + * Url to access repository action logs. + */ + deploymentLogsUrl?: pulumi.Input; + /** + * Display url of repository. + */ + displayUrl?: pulumi.Input; + /** + * Dictionary of source control content type and path mapping. + */ + pathMapping?: pulumi.Input[]>; + /** + * Url of repository. + */ + url?: pulumi.Input; + } + /** - * Describes the reason the incident was closed. + * Required permissions for the connector */ - classificationComment?: pulumi.Input; + export interface RequiredPermissionsArgs { + /** + * action permission + */ + action?: pulumi.Input; + /** + * delete permission + */ + delete?: pulumi.Input; + /** + * read permission + */ + read?: pulumi.Input; + /** + * write permission + */ + write?: pulumi.Input; + } + /** - * The classification reason the incident was closed with + * The available data types for TI (Threat Intelligence) data connector. */ - classificationReason?: pulumi.Input; + export interface TIDataConnectorDataTypesArgs { + /** + * Data type for indicators connection. + */ + indicators: pulumi.Input; + } + /** - * List of labels to add to the incident. + * Data type for indicators connection. */ - labels?: pulumi.Input[]>; + export interface TIDataConnectorDataTypesIndicatorsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * Information on the user an incident is assigned to + * The available data types for Threat Intelligence TAXII data connector. */ - owner?: pulumi.Input; + export interface TiTaxiiDataConnectorDataTypesArgs { + /** + * Data type for TAXII connector. + */ + taxiiClient: pulumi.Input; + } + /** - * The severity of the incident + * Data type for TAXII connector. */ - severity?: pulumi.Input; + export interface TiTaxiiDataConnectorDataTypesTaxiiClientArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + /** - * The status of the incident + * User information that made some action */ - status?: pulumi.Input; + export interface WatchlistUserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + } - /** - * Instruction steps to enable the connector. - */ - export interface InstructionStepArgs { + export namespace v20210401 { /** - * Gets or sets the instruction step description. + * Describes external reference */ - description?: pulumi.Input; + export interface ThreatIntelligenceExternalReferenceArgs { + /** + * External reference description + */ + description?: pulumi.Input; + /** + * External reference ID + */ + externalId?: pulumi.Input; + /** + * External reference hashes + */ + hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * External reference source name + */ + sourceName?: pulumi.Input; + /** + * External reference URL + */ + url?: pulumi.Input; + } + /** - * Gets or sets the inner instruction steps details. - * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + * Describes threat granular marking model entity */ - innerSteps?: pulumi.Input[]>; + export interface ThreatIntelligenceGranularMarkingModelArgs { + /** + * Language granular marking model + */ + language?: pulumi.Input; + /** + * marking reference granular marking model + */ + markingRef?: pulumi.Input; + /** + * granular marking model selectors + */ + selectors?: pulumi.Input[]>; + } + /** - * Gets or sets the instruction step details. + * Describes threat kill chain phase entity */ - instructions?: pulumi.Input[]>; + export interface ThreatIntelligenceKillChainPhaseArgs { + /** + * Kill chainName name + */ + killChainName?: pulumi.Input; + /** + * Phase name + */ + phaseName?: pulumi.Input; + } + /** - * Gets or sets the instruction step title. + * Describes parsed pattern entity */ - title?: pulumi.Input; - } + export interface ThreatIntelligenceParsedPatternArgs { + /** + * Pattern type key + */ + patternTypeKey?: pulumi.Input; + /** + * Pattern type keys + */ + patternTypeValues?: pulumi.Input[]>; + } - /** - * Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. - */ - export interface InstructionStepDetailsArgs { /** - * Gets or sets the instruction type parameters settings. + * Describes threat kill chain phase entity */ - parameters: any; + export interface ThreatIntelligenceParsedPatternTypeValueArgs { + /** + * Value of parsed pattern + */ + value?: pulumi.Input; + /** + * Type of the value + */ + valueType?: pulumi.Input; + } + /** - * Gets or sets the instruction type name. + * User information that made some action */ - type: pulumi.Input; + export interface WatchlistUserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + } - /** - * The available data types for MCAS (Microsoft Cloud App Security) data connector. - */ - export interface MCASDataConnectorDataTypesArgs { - /** - * Alerts data type connection. - */ - alerts?: pulumi.Input; + export namespace v20210901preview { /** - * Discovery log data type connection. + * Describes external reference */ - discoveryLogs?: pulumi.Input; - } + export interface ThreatIntelligenceExternalReferenceArgs { + /** + * External reference description + */ + description?: pulumi.Input; + /** + * External reference ID + */ + externalId?: pulumi.Input; + /** + * External reference hashes + */ + hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * External reference source name + */ + sourceName?: pulumi.Input; + /** + * External reference URL + */ + url?: pulumi.Input; + } - /** - * Publisher or creator of the content item. - */ - export interface MetadataAuthorArgs { - /** - * Email of author contact - */ - email?: pulumi.Input; /** - * Link for author/vendor page + * Describes threat granular marking model entity */ - link?: pulumi.Input; + export interface ThreatIntelligenceGranularMarkingModelArgs { + /** + * Language granular marking model + */ + language?: pulumi.Input; + /** + * marking reference granular marking model + */ + markingRef?: pulumi.Input; + /** + * granular marking model selectors + */ + selectors?: pulumi.Input[]>; + } + /** - * Name of the author. Company or person. + * Describes threat kill chain phase entity */ - name?: pulumi.Input; - } + export interface ThreatIntelligenceKillChainPhaseArgs { + /** + * Kill chainName name + */ + killChainName?: pulumi.Input; + /** + * Phase name + */ + phaseName?: pulumi.Input; + } - /** - * ies for the solution content item - */ - export interface MetadataCategoriesArgs { /** - * domain for the solution content item + * Describes parsed pattern entity */ - domains?: pulumi.Input[]>; + export interface ThreatIntelligenceParsedPatternArgs { + /** + * Pattern type key + */ + patternTypeKey?: pulumi.Input; + /** + * Pattern type keys + */ + patternTypeValues?: pulumi.Input[]>; + } + /** - * Industry verticals for the solution content item + * Describes threat kill chain phase entity */ - verticals?: pulumi.Input[]>; + export interface ThreatIntelligenceParsedPatternTypeValueArgs { + /** + * Value of parsed pattern + */ + value?: pulumi.Input; + /** + * Type of the value + */ + valueType?: pulumi.Input; + } + } - /** - * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. - */ - export interface MetadataDependenciesArgs { - /** - * Id of the content item we depend on - */ - contentId?: pulumi.Input; - /** - * This is the list of dependencies we must fulfill, according to the AND/OR operator - */ - criteria?: pulumi.Input[]>; + export namespace v20211001preview { /** - * Type of the content item we depend on + * Settings for how to dynamically override alert static details */ - kind?: pulumi.Input; + export interface AlertDetailsOverrideArgs { + /** + * the format containing columns name(s) to override the alert description + */ + alertDescriptionFormat?: pulumi.Input; + /** + * the format containing columns name(s) to override the alert name + */ + alertDisplayNameFormat?: pulumi.Input; + /** + * the column name to take the alert severity from + */ + alertSeverityColumnName?: pulumi.Input; + /** + * the column name to take the alert tactics from + */ + alertTacticsColumnName?: pulumi.Input; + } + /** - * Name of the content item + * Single entity mapping for the alert rule */ - name?: pulumi.Input; + export interface EntityMappingArgs { + /** + * The V3 type of the mapped entity + */ + entityType?: pulumi.Input; + /** + * array of field mappings for the given entity mapping + */ + fieldMappings?: pulumi.Input[]>; + } + /** - * Operator used for list of dependencies in criteria array. + * A single field mapping of the mapped entity */ - operator?: pulumi.Input; + export interface FieldMappingArgs { + /** + * the column name to be mapped to the identifier + */ + columnName?: pulumi.Input; + /** + * the V3 identifier of the entity + */ + identifier?: pulumi.Input; + } + /** - * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + * Represents a Fusion scenario exclusion patterns in Fusion detection. */ - version?: pulumi.Input; - } + export interface FusionScenarioExclusionPatternArgs { + /** + * DateTime when scenario exclusion pattern is added in UTC. + */ + dateAddedInUTC: pulumi.Input; + /** + * Scenario exclusion pattern. + */ + exclusionPattern: pulumi.Input; + } - /** - * The original source of the content item, where it comes from. - */ - export interface MetadataSourceArgs { /** - * Source type of the content + * Represents a supported source signal configuration in Fusion detection. */ - kind: pulumi.Input; + export interface FusionSourceSettingsArgs { + /** + * Determines whether this source signal is enabled or disabled in Fusion detection. + */ + enabled: pulumi.Input; + /** + * Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + */ + sourceName: pulumi.Input; + /** + * Configuration for all source subtypes under this source signal consumed in fusion detection. + */ + sourceSubTypes?: pulumi.Input[]>; + } + /** - * Name of the content source. The repo name, solution name, LA workspace name etc. + * Represents a supported source subtype configuration under a source signal in Fusion detection. */ - name?: pulumi.Input; + export interface FusionSourceSubTypeSettingArgs { + /** + * Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + */ + enabled: pulumi.Input; + /** + * Severity configuration for a source subtype consumed in fusion detection. + */ + severityFilters: pulumi.Input; + /** + * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + */ + sourceSubTypeName: pulumi.Input; + } + /** - * ID of the content source. The solution ID, workspace ID, etc + * Represents severity configuration for a source subtype consumed in Fusion detection. */ - sourceId?: pulumi.Input; - } + export interface FusionSubTypeSeverityFilterArgs { + /** + * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + */ + filters?: pulumi.Input[]>; + } - /** - * Support information for the content item. - */ - export interface MetadataSupportArgs { /** - * Email of support contact + * Represents a Severity filter setting for a given source subtype consumed in Fusion detection. */ - email?: pulumi.Input; + export interface FusionSubTypeSeverityFiltersItemArgs { + /** + * Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + */ + enabled: pulumi.Input; + /** + * The Severity for a given source subtype consumed in Fusion detection. + */ + severity: pulumi.Input; + } + /** - * Link for support help, like to support page to open a ticket etc. + * Grouping configuration property bag. */ - link?: pulumi.Input; + export interface GroupingConfigurationArgs { + /** + * Grouping enabled + */ + enabled: pulumi.Input; + /** + * A list of alert details to group by (when matchingMethod is Selected) + */ + groupByAlertDetails?: pulumi.Input[]>; + /** + * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + */ + groupByCustomDetails?: pulumi.Input[]>; + /** + * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + */ + groupByEntities?: pulumi.Input[]>; + /** + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + */ + lookbackDuration: pulumi.Input; + /** + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + */ + matchingMethod: pulumi.Input; + /** + * Re-open closed matching incidents + */ + reopenClosedIncident: pulumi.Input; + } + /** - * Name of the support contact. Company or person. + * Incident Configuration property bag. */ - name?: pulumi.Input; + export interface IncidentConfigurationArgs { + /** + * Create incidents from alerts triggered by this analytics rule + */ + createIncident: pulumi.Input; + /** + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + */ + groupingConfiguration?: pulumi.Input; + } + /** - * Type of support for content item + * User information that made some action */ - tier: pulumi.Input; + export interface WatchlistUserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + } - /** - * The available data types for office data connector. - */ - export interface OfficeDataConnectorDataTypesArgs { - /** - * Exchange data type connection. - */ - exchange?: pulumi.Input; - /** - * SharePoint data type connection. - */ - sharePoint?: pulumi.Input; + export namespace v20220101preview { /** - * Teams data type connection. + * User information that made some action */ - teams?: pulumi.Input; + export interface WatchlistUserInfoArgs { + /** + * The object id of the user. + */ + objectId?: pulumi.Input; + } + } - /** - * Exchange data type connection. - */ - export interface OfficeDataConnectorDataTypesExchangeArgs { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: pulumi.Input; + export namespace v20220401preview { } - /** - * SharePoint data type connection. - */ - export interface OfficeDataConnectorDataTypesSharePointArgs { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: pulumi.Input; + export namespace v20220501preview { } - /** - * Teams data type connection. - */ - export interface OfficeDataConnectorDataTypesTeamsArgs { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: pulumi.Input; + export namespace v20220601preview { } - export interface PlaybookActionPropertiesArgs { - /** - * The resource id of the playbook resource. - */ - logicAppResourceId: pulumi.Input; - /** - * The tenant id of the playbook resource. - */ - tenantId?: pulumi.Input; + export namespace v20220701preview { } - /** - * Describes an automation rule condition that evaluates an array property's value change - */ - export interface PropertyArrayChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; - /** - * - * Expected value is 'PropertyArrayChanged'. - */ - conditionType: pulumi.Input<"PropertyArrayChanged">; + export namespace v20220801preview { } - /** - * Describes an automation rule condition that evaluates a property's value change - */ - export interface PropertyChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; - /** - * - * Expected value is 'PropertyChanged'. - */ - conditionType: pulumi.Input<"PropertyChanged">; + export namespace v20220901preview { } - /** - * Describes an automation rule condition that evaluates a property's value - */ - export interface PropertyConditionPropertiesArgs { - conditionProperties?: pulumi.Input; - /** - * - * Expected value is 'Property'. - */ - conditionType: pulumi.Input<"Property">; + export namespace v20221001preview { } - /** - * metadata of a repository. - */ - export interface RepositoryArgs { - /** - * Branch name of repository. - */ - branch?: pulumi.Input; - /** - * Url to access repository action logs. - */ - deploymentLogsUrl?: pulumi.Input; - /** - * Display url of repository. - */ - displayUrl?: pulumi.Input; - /** - * Dictionary of source control content type and path mapping. - */ - pathMapping?: pulumi.Input[]>; - /** - * Url of repository. - */ - url?: pulumi.Input; + export namespace v20221101preview { } - /** - * Resources created in user's repository for the source-control. - */ - export interface RepositoryResourceInfoArgs { - /** - * Resources created in Azure DevOps for this source-control. - */ - azureDevOpsResourceInfo?: pulumi.Input; - /** - * Resources created in GitHub for this source-control. - */ - gitHubResourceInfo?: pulumi.Input; - /** - * The webhook object created for the source-control. - */ - webhook?: pulumi.Input; + export namespace v20221201preview { } - /** - * Required permissions for the connector resource provider that define in ResourceProviders. - * For more information about the permissions see here. - */ - export interface ResourceProviderRequiredPermissionsArgs { - /** - * Gets or sets a value indicating whether the permission is custom actions (POST). - */ - action?: pulumi.Input; + export namespace v20230201 { /** - * Gets or sets a value indicating whether the permission is delete action (DELETE). + * Alerts data type for data connectors. */ - delete?: pulumi.Input; + export interface AlertsDataTypeOfDataConnectorArgs { + /** + * Alerts data type connection. + */ + alerts?: pulumi.Input; + } + /** - * Gets or sets a value indicating whether the permission is read action (GET). + * Describes an automation rule action to modify an object's properties */ - read?: pulumi.Input; + export interface AutomationRuleModifyPropertiesActionArgs { + actionConfiguration?: pulumi.Input; + /** + * The type of the automation rule action. + * Expected value is 'ModifyProperties'. + */ + actionType: pulumi.Input<"ModifyProperties">; + order: pulumi.Input; + } + + export interface AutomationRulePropertyArrayChangedValuesConditionArgs { + arrayType?: pulumi.Input; + changeType?: pulumi.Input; + } + + export interface AutomationRulePropertyValuesChangedConditionArgs { + changeType?: pulumi.Input; + operator?: pulumi.Input; + propertyName?: pulumi.Input; + propertyValues?: pulumi.Input[]>; + } + + export interface AutomationRulePropertyValuesConditionArgs { + operator?: pulumi.Input; + /** + * The property to evaluate in an automation rule property condition. + */ + propertyName?: pulumi.Input; + propertyValues?: pulumi.Input[]>; + } + /** - * Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + * Describes an automation rule action to run a playbook */ - write?: pulumi.Input; - } + export interface AutomationRuleRunPlaybookActionArgs { + actionConfiguration?: pulumi.Input; + /** + * The type of the automation rule action. + * Expected value is 'RunPlaybook'. + */ + actionType: pulumi.Input<"RunPlaybook">; + order: pulumi.Input; + } - /** - * The sample queries for the connector. - */ - export interface SampleQueryArgs { /** - * Gets or sets the sample query description. + * Describes automation rule triggering logic. */ - description: pulumi.Input; + export interface AutomationRuleTriggeringLogicArgs { + /** + * The conditions to evaluate to determine if the automation rule should be triggered on a given object. + */ + conditions?: pulumi.Input[]>; + /** + * Determines when the automation rule should automatically expire and be disabled. + */ + expirationTimeUtc?: pulumi.Input; + /** + * Determines whether the automation rule is enabled or disabled. + */ + isEnabled: pulumi.Input; + triggersOn: pulumi.Input; + triggersWhen: pulumi.Input; + } + /** - * Gets or sets the KQL sample query. + * The available data types for Amazon Web Services CloudTrail data connector. */ - query: pulumi.Input; - } + export interface AwsCloudTrailDataConnectorDataTypesArgs { + /** + * Logs data type. + */ + logs?: pulumi.Input; + } - /** - * security ml analytics settings data sources - */ - export interface SecurityMLAnalyticsSettingsDataSourceArgs { /** - * The connector id that provides the following data types + * Logs data type. */ - connectorId?: pulumi.Input; + export interface AwsCloudTrailDataConnectorDataTypesLogsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + /** - * The data types used by the security ml analytics settings + * Common field for data type in data connectors. */ - dataTypes?: pulumi.Input[]>; - } + export interface DataConnectorDataTypeCommonArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } - /** - * The available data types for TI (Threat Intelligence) data connector. - */ - export interface TIDataConnectorDataTypesArgs { /** - * Data type for indicators connection. + * Describes related incident information for the bookmark */ - indicators?: pulumi.Input; - } + export interface IncidentInfoArgs { + /** + * Incident Id + */ + incidentId?: pulumi.Input; + /** + * Relation Name + */ + relationName?: pulumi.Input; + /** + * The severity of the incident + */ + severity?: pulumi.Input; + /** + * The title of the incident + */ + title?: pulumi.Input; + } - /** - * Data type for indicators connection. - */ - export interface TIDataConnectorDataTypesIndicatorsArgs { /** - * Describe whether this data type connection is enabled or not. + * Represents an incident label */ - state?: pulumi.Input; - } + export interface IncidentLabelArgs { + /** + * The name of the label + */ + labelName: pulumi.Input; + } - /** - * Describes external reference - */ - export interface ThreatIntelligenceExternalReferenceArgs { /** - * External reference description + * Information on the user an incident is assigned to */ - description?: pulumi.Input; + export interface IncidentOwnerInfoArgs { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: pulumi.Input; + /** + * The email of the user the incident is assigned to. + */ + email?: pulumi.Input; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: pulumi.Input; + /** + * The type of the owner the incident is assigned to. + */ + ownerType?: pulumi.Input; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: pulumi.Input; + } + + export interface IncidentPropertiesActionArgs { + /** + * The reason the incident was closed + */ + classification?: pulumi.Input; + /** + * Describes the reason the incident was closed. + */ + classificationComment?: pulumi.Input; + /** + * The classification reason the incident was closed with + */ + classificationReason?: pulumi.Input; + /** + * List of labels to add to the incident. + */ + labels?: pulumi.Input[]>; + /** + * Information on the user an incident is assigned to + */ + owner?: pulumi.Input; + /** + * The severity of the incident + */ + severity?: pulumi.Input; + /** + * The status of the incident + */ + status?: pulumi.Input; + } + /** - * External reference ID + * The available data types for MCAS (Microsoft Cloud App Security) data connector. */ - externalId?: pulumi.Input; + export interface MCASDataConnectorDataTypesArgs { + /** + * Alerts data type connection. + */ + alerts?: pulumi.Input; + /** + * Discovery log data type connection. + */ + discoveryLogs?: pulumi.Input; + } + /** - * External reference hashes + * Publisher or creator of the content item. */ - hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + export interface MetadataAuthorArgs { + /** + * Email of author contact + */ + email?: pulumi.Input; + /** + * Link for author/vendor page + */ + link?: pulumi.Input; + /** + * Name of the author. Company or person. + */ + name?: pulumi.Input; + } + /** - * External reference source name + * ies for the solution content item */ - sourceName?: pulumi.Input; + export interface MetadataCategoriesArgs { + /** + * domain for the solution content item + */ + domains?: pulumi.Input[]>; + /** + * Industry verticals for the solution content item + */ + verticals?: pulumi.Input[]>; + } + /** - * External reference URL + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ - url?: pulumi.Input; - } + export interface MetadataDependenciesArgs { + /** + * Id of the content item we depend on + */ + contentId?: pulumi.Input; + /** + * This is the list of dependencies we must fulfill, according to the AND/OR operator + */ + criteria?: pulumi.Input[]>; + /** + * Type of the content item we depend on + */ + kind?: pulumi.Input; + /** + * Name of the content item + */ + name?: pulumi.Input; + /** + * Operator used for list of dependencies in criteria array. + */ + operator?: pulumi.Input; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: pulumi.Input; + } - /** - * Describes threat granular marking model entity - */ - export interface ThreatIntelligenceGranularMarkingModelArgs { /** - * Language granular marking model + * The original source of the content item, where it comes from. */ - language?: pulumi.Input; + export interface MetadataSourceArgs { + /** + * Source type of the content + */ + kind: pulumi.Input; + /** + * Name of the content source. The repo name, solution name, LA workspace name etc. + */ + name?: pulumi.Input; + /** + * ID of the content source. The solution ID, workspace ID, etc + */ + sourceId?: pulumi.Input; + } + /** - * marking reference granular marking model + * Support information for the content item. */ - markingRef?: pulumi.Input; + export interface MetadataSupportArgs { + /** + * Email of support contact + */ + email?: pulumi.Input; + /** + * Link for support help, like to support page to open a ticket etc. + */ + link?: pulumi.Input; + /** + * Name of the support contact. Company or person. + */ + name?: pulumi.Input; + /** + * Type of support for content item + */ + tier: pulumi.Input; + } + /** - * granular marking model selectors + * The available data types for office data connector. */ - selectors?: pulumi.Input[]>; - } + export interface OfficeDataConnectorDataTypesArgs { + /** + * Exchange data type connection. + */ + exchange?: pulumi.Input; + /** + * SharePoint data type connection. + */ + sharePoint?: pulumi.Input; + /** + * Teams data type connection. + */ + teams?: pulumi.Input; + } - /** - * Describes threat kill chain phase entity - */ - export interface ThreatIntelligenceKillChainPhaseArgs { /** - * Kill chainName name + * Exchange data type connection. */ - killChainName?: pulumi.Input; + export interface OfficeDataConnectorDataTypesExchangeArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + /** - * Phase name + * SharePoint data type connection. */ - phaseName?: pulumi.Input; - } + export interface OfficeDataConnectorDataTypesSharePointArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } - /** - * Describes parsed pattern entity - */ - export interface ThreatIntelligenceParsedPatternArgs { /** - * Pattern type key + * Teams data type connection. */ - patternTypeKey?: pulumi.Input; + export interface OfficeDataConnectorDataTypesTeamsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } + + export interface PlaybookActionPropertiesArgs { + /** + * The resource id of the playbook resource. + */ + logicAppResourceId: pulumi.Input; + /** + * The tenant id of the playbook resource. + */ + tenantId?: pulumi.Input; + } + /** - * Pattern type keys + * Describes an automation rule condition that evaluates an array property's value change */ - patternTypeValues?: pulumi.Input[]>; - } + export interface PropertyArrayChangedConditionPropertiesArgs { + conditionProperties?: pulumi.Input; + /** + * + * Expected value is 'PropertyArrayChanged'. + */ + conditionType: pulumi.Input<"PropertyArrayChanged">; + } - /** - * Describes threat kill chain phase entity - */ - export interface ThreatIntelligenceParsedPatternTypeValueArgs { /** - * Value of parsed pattern + * Describes an automation rule condition that evaluates a property's value change */ - value?: pulumi.Input; + export interface PropertyChangedConditionPropertiesArgs { + conditionProperties?: pulumi.Input; + /** + * + * Expected value is 'PropertyChanged'. + */ + conditionType: pulumi.Input<"PropertyChanged">; + } + /** - * Type of the value + * Describes an automation rule condition that evaluates a property's value */ - valueType?: pulumi.Input; - } + export interface PropertyConditionPropertiesArgs { + conditionProperties?: pulumi.Input; + /** + * + * Expected value is 'Property'. + */ + conditionType: pulumi.Input<"Property">; + } - /** - * User information that made some action - */ - export interface UserInfoArgs { /** - * The object id of the user. + * The available data types for TI (Threat Intelligence) data connector. */ - objectId?: pulumi.Input; - } + export interface TIDataConnectorDataTypesArgs { + /** + * Data type for indicators connection. + */ + indicators?: pulumi.Input; + } - /** - * User information that made some action - */ - export interface WatchlistUserInfoArgs { /** - * The object id of the user. + * Data type for indicators connection. */ - objectId?: pulumi.Input; - } + export interface TIDataConnectorDataTypesIndicatorsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: pulumi.Input; + } - /** - * Detail about the webhook object. - */ - export interface WebhookArgs { /** - * A flag to instruct the backend service to rotate webhook secret. + * Describes external reference */ - rotateWebhookSecret?: pulumi.Input; + export interface ThreatIntelligenceExternalReferenceArgs { + /** + * External reference description + */ + description?: pulumi.Input; + /** + * External reference ID + */ + externalId?: pulumi.Input; + /** + * External reference hashes + */ + hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * External reference source name + */ + sourceName?: pulumi.Input; + /** + * External reference URL + */ + url?: pulumi.Input; + } + /** - * Unique identifier for the webhook. + * Describes threat granular marking model entity */ - webhookId?: pulumi.Input; + export interface ThreatIntelligenceGranularMarkingModelArgs { + /** + * Language granular marking model + */ + language?: pulumi.Input; + /** + * marking reference granular marking model + */ + markingRef?: pulumi.Input; + /** + * granular marking model selectors + */ + selectors?: pulumi.Input[]>; + } + /** - * Time when the webhook secret was updated. + * Describes threat kill chain phase entity */ - webhookSecretUpdateTime?: pulumi.Input; + export interface ThreatIntelligenceKillChainPhaseArgs { + /** + * Kill chainName name + */ + killChainName?: pulumi.Input; + /** + * Phase name + */ + phaseName?: pulumi.Input; + } + /** - * URL that gets invoked by the webhook. + * Describes parsed pattern entity */ - webhookUrl?: pulumi.Input; - } + export interface ThreatIntelligenceParsedPatternArgs { + /** + * Pattern type key + */ + patternTypeKey?: pulumi.Input; + /** + * Pattern type keys + */ + patternTypeValues?: pulumi.Input[]>; + } - export namespace v20190101preview { /** - * Describes an automation rule action to modify an object's properties + * Describes threat kill chain phase entity */ - export interface AutomationRuleModifyPropertiesActionArgs { + export interface ThreatIntelligenceParsedPatternTypeValueArgs { /** - * The configuration of the modify properties automation rule action + * Value of parsed pattern */ - actionConfiguration: pulumi.Input; + value?: pulumi.Input; /** - * The type of the automation rule action - * Expected value is 'ModifyProperties'. + * Type of the value */ - actionType: pulumi.Input<"ModifyProperties">; + valueType?: pulumi.Input; + } + + /** + * User information that made some action + */ + export interface UserInfoArgs { /** - * The order of execution of the automation rule action + * The object id of the user. */ - order: pulumi.Input; + objectId?: pulumi.Input; } /** - * The configuration of the modify properties automation rule action + * User information that made some action */ - export interface AutomationRuleModifyPropertiesActionActionConfigurationArgs { + export interface WatchlistUserInfoArgs { /** - * The reason the incident was closed + * The object id of the user. */ - classification?: pulumi.Input; + objectId?: pulumi.Input; + } + + } + + export namespace v20230201preview { + /** + * Represents an incident label + */ + export interface IncidentLabelArgs { /** - * Describes the reason the incident was closed + * The name of the label */ - classificationComment?: pulumi.Input; + labelName: pulumi.Input; + } + + /** + * Information on the user an incident is assigned to + */ + export interface IncidentOwnerInfoArgs { /** - * The classification reason to close the incident with + * The name of the user the incident is assigned to. */ - classificationReason?: pulumi.Input; + assignedTo?: pulumi.Input; /** - * List of labels to add to the incident + * The email of the user the incident is assigned to. */ - labels?: pulumi.Input[]>; + email?: pulumi.Input; /** - * Describes a user that the incident is assigned to + * The object id of the user the incident is assigned to. */ - owner?: pulumi.Input; + objectId?: pulumi.Input; /** - * The severity of the incident + * The type of the owner the incident is assigned to. */ - severity?: pulumi.Input; + ownerType?: pulumi.Input; /** - * The status of the incident + * The user principal name of the user the incident is assigned to. */ - status?: pulumi.Input; + userPrincipalName?: pulumi.Input; } /** - * Describes an automation rule condition that evaluates a property's value + * Publisher or creator of the content item. */ - export interface AutomationRulePropertyValuesConditionArgs { + export interface MetadataAuthorArgs { /** - * The configuration of the automation rule condition + * Email of author contact */ - conditionProperties: pulumi.Input; + email?: pulumi.Input; /** - * The type of the automation rule condition - * Expected value is 'Property'. + * Link for author/vendor page */ - conditionType: pulumi.Input<"Property">; + link?: pulumi.Input; + /** + * Name of the author. Company or person. + */ + name?: pulumi.Input; } /** - * The configuration of the automation rule condition + * ies for the solution content item */ - export interface AutomationRulePropertyValuesConditionConditionPropertiesArgs { - /** - * The operator to use for evaluation the condition - */ - operator?: pulumi.Input; + export interface MetadataCategoriesArgs { /** - * The property to evaluate + * domain for the solution content item */ - propertyName?: pulumi.Input; + domains?: pulumi.Input[]>; /** - * The values to use for evaluating the condition + * Industry verticals for the solution content item */ - propertyValues?: pulumi.Input[]>; + verticals?: pulumi.Input[]>; } /** - * Describes an automation rule action to run a playbook + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ - export interface AutomationRuleRunPlaybookActionArgs { + export interface MetadataDependenciesArgs { /** - * The configuration of the run playbook automation rule action + * Id of the content item we depend on */ - actionConfiguration: pulumi.Input; + contentId?: pulumi.Input; /** - * The type of the automation rule action - * Expected value is 'RunPlaybook'. + * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - actionType: pulumi.Input<"RunPlaybook">; + criteria?: pulumi.Input[]>; /** - * The order of execution of the automation rule action + * Type of the content item we depend on */ - order: pulumi.Input; - } - - /** - * The configuration of the run playbook automation rule action - */ - export interface AutomationRuleRunPlaybookActionActionConfigurationArgs { + kind?: pulumi.Input; /** - * The resource id of the playbook resource + * Name of the content item */ - logicAppResourceId?: pulumi.Input; + name?: pulumi.Input; /** - * The tenant id of the playbook resource + * Operator used for list of dependencies in criteria array. */ - tenantId?: pulumi.Input; + operator?: pulumi.Input; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: pulumi.Input; } /** - * Describes automation rule triggering logic + * The original source of the content item, where it comes from. */ - export interface AutomationRuleTriggeringLogicArgs { - /** - * The conditions to evaluate to determine if the automation rule should be triggered on a given object - */ - conditions?: pulumi.Input[]>; - /** - * Determines when the automation rule should automatically expire and be disabled. - */ - expirationTimeUtc?: pulumi.Input; + export interface MetadataSourceArgs { /** - * Determines whether the automation rule is enabled or disabled. + * Source type of the content */ - isEnabled: pulumi.Input; + kind: pulumi.Input; /** - * The type of object the automation rule triggers on + * Name of the content source. The repo name, solution name, LA workspace name etc. */ - triggersOn: pulumi.Input; + name?: pulumi.Input; /** - * The type of event the automation rule triggers on + * ID of the content source. The solution ID, workspace ID, etc */ - triggersWhen: pulumi.Input; + sourceId?: pulumi.Input; } /** - * Describes related incident information for the bookmark + * Support information for the content item. */ - export interface IncidentInfoArgs { + export interface MetadataSupportArgs { /** - * Incident Id + * Email of support contact */ - incidentId?: pulumi.Input; + email?: pulumi.Input; /** - * Relation Name + * Link for support help, like to support page to open a ticket etc. */ - relationName?: pulumi.Input; + link?: pulumi.Input; /** - * The severity of the incident + * Name of the support contact. Company or person. */ - severity?: pulumi.Input; + name?: pulumi.Input; /** - * The title of the incident + * Type of support for content item */ - title?: pulumi.Input; + tier: pulumi.Input; } + } + + export namespace v20230301preview { /** * Represents an incident label */ @@ -343823,984 +354527,826 @@ export namespace securityinsights { * The object id of the user the incident is assigned to. */ objectId?: pulumi.Input; + /** + * The type of the owner the incident is assigned to. + */ + ownerType?: pulumi.Input; /** * The user principal name of the user the incident is assigned to. */ userPrincipalName?: pulumi.Input; } + } + + export namespace v20230401preview { + } + + export namespace v20230501preview { /** - * User information that made some action + * Resources created in Azure DevOps repository. */ - export interface UserInfoArgs { + export interface AzureDevOpsResourceInfoArgs { /** - * The object id of the user. + * Id of the pipeline created for the source-control. */ - objectId?: pulumi.Input; - } - - /** - * User information that made some action - */ - export interface WatchlistUserInfoArgs { + pipelineId?: pulumi.Input; /** - * The object id of the user. + * Id of the service-connection created for the source-control. */ - objectId?: pulumi.Input; + serviceConnectionId?: pulumi.Input; } - } - - export namespace v20210301preview { /** - * The Activity query definitions + * The mapping of content type to a repo path. */ - export interface ActivityEntityQueriesPropertiesQueryDefinitionsArgs { + export interface ContentPathMapArgs { /** - * The Activity query to run on a given entity + * Content type. */ - query?: pulumi.Input; + contentType?: pulumi.Input; + /** + * The path to the content. + */ + path?: pulumi.Input; } /** - * Settings for how to dynamically override alert static details + * Description about a deployment. */ - export interface AlertDetailsOverrideArgs { + export interface DeploymentArgs { /** - * the format containing columns name(s) to override the alert description + * Deployment identifier. */ - alertDescriptionFormat?: pulumi.Input; + deploymentId?: pulumi.Input; /** - * the format containing columns name(s) to override the alert name + * Url to access repository action logs. */ - alertDisplayNameFormat?: pulumi.Input; + deploymentLogsUrl?: pulumi.Input; /** - * the column name to take the alert severity from + * The outcome of the deployment. */ - alertSeverityColumnName?: pulumi.Input; + deploymentResult?: pulumi.Input; /** - * the column name to take the alert tactics from + * Current status of the deployment. */ - alertTacticsColumnName?: pulumi.Input; - } - - /** - * Alerts data type for data connectors. - */ - export interface AlertsDataTypeOfDataConnectorArgs { + deploymentState?: pulumi.Input; /** - * Alerts data type connection. + * The time when the deployment finished. */ - alerts: pulumi.Input; + deploymentTime?: pulumi.Input; } /** - * Connector Availability Status + * Information regarding a deployment. */ - export interface AvailabilityArgs { + export interface DeploymentInfoArgs { /** - * Set connector as preview + * Deployment information. */ - isPreview?: pulumi.Input; + deployment?: pulumi.Input; /** - * The connector Availability Status + * Status while fetching the last deployment. */ - status?: pulumi.Input; - } - - /** - * The available data types for Amazon Web Services CloudTrail data connector. - */ - export interface AwsCloudTrailDataConnectorDataTypesArgs { + deploymentFetchStatus?: pulumi.Input; /** - * Logs data type. + * Additional details about the deployment that can be shown to the user. */ - logs: pulumi.Input; + message?: pulumi.Input; } /** - * Logs data type. + * Resources created in GitHub repository. */ - export interface AwsCloudTrailDataConnectorDataTypesLogsArgs { + export interface GitHubResourceInfoArgs { /** - * Describe whether this data type connection is enabled or not. + * GitHub application installation id. */ - state: pulumi.Input; + appInstallationId?: pulumi.Input; } /** - * Config to describe the instructions blade + * metadata of a repository. */ - export interface CodelessUiConnectorConfigPropertiesArgs { + export interface RepositoryArgs { /** - * Connector Availability Status + * Branch name of repository. */ - availability: pulumi.Input; + branch?: pulumi.Input; /** - * Define the way the connector check connectivity + * Url to access repository action logs. */ - connectivityCriteria: pulumi.Input[]>; + deploymentLogsUrl?: pulumi.Input; /** - * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + * Display url of repository. */ - customImage?: pulumi.Input; + displayUrl?: pulumi.Input; /** - * Data types to check for last data received + * Dictionary of source control content type and path mapping. */ - dataTypes: pulumi.Input[]>; + pathMapping?: pulumi.Input[]>; /** - * Connector description + * Url of repository. */ - descriptionMarkdown: pulumi.Input; + url?: pulumi.Input; + } + + /** + * Resources created in user's repository for the source-control. + */ + export interface RepositoryResourceInfoArgs { /** - * The graph query to show the current data status + * Resources created in Azure DevOps for this source-control. */ - graphQueries: pulumi.Input[]>; + azureDevOpsResourceInfo?: pulumi.Input; /** - * Name of the table the connector will insert the data to + * Resources created in GitHub for this source-control. */ - graphQueriesTableName: pulumi.Input; + gitHubResourceInfo?: pulumi.Input; /** - * Instruction steps to enable the connector + * The webhook object created for the source-control. */ - instructionSteps: pulumi.Input[]>; + webhook?: pulumi.Input; + } + + /** + * Detail about the webhook object. + */ + export interface WebhookArgs { /** - * Permissions required for the connector + * A flag to instruct the backend service to rotate webhook secret. */ - permissions: pulumi.Input; + rotateWebhookSecret?: pulumi.Input; /** - * Connector publisher name + * Unique identifier for the webhook. */ - publisher: pulumi.Input; + webhookId?: pulumi.Input; /** - * The sample queries for the connector + * Time when the webhook secret was updated. */ - sampleQueries: pulumi.Input[]>; + webhookSecretUpdateTime?: pulumi.Input; /** - * Connector blade title + * URL that gets invoked by the webhook. */ - title: pulumi.Input; + webhookUrl?: pulumi.Input; } - export interface CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs { - /** - * type of connectivity - */ - type?: pulumi.Input; - /** - * Queries for checking connectivity - */ - value?: pulumi.Input[]>; - } + } - export interface CodelessUiConnectorConfigPropertiesDataTypesArgs { - /** - * Query for indicate last data received - */ - lastDataReceivedQuery?: pulumi.Input; + export namespace v20230601preview { + /** + * The Activity query definitions + */ + export interface ActivityEntityQueriesPropertiesQueryDefinitionsArgs { /** - * Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + * The Activity query to run on a given entity */ - name?: pulumi.Input; + query?: pulumi.Input; } - export interface CodelessUiConnectorConfigPropertiesGraphQueriesArgs { - /** - * The base query for the graph - */ - baseQuery?: pulumi.Input; + export interface AddIncidentTaskActionPropertiesArgs { /** - * The legend for the graph + * The description of the task. */ - legend?: pulumi.Input; + description?: pulumi.Input; /** - * the metric that the query is checking + * The title of the task. */ - metricName?: pulumi.Input; + title: pulumi.Input; } - export interface CodelessUiConnectorConfigPropertiesInstructionStepsArgs { + /** + * Settings for how to dynamically override alert static details + */ + export interface AlertDetailsOverrideArgs { /** - * Instruction step description + * the format containing columns name(s) to override the alert description */ - description?: pulumi.Input; + alertDescriptionFormat?: pulumi.Input; /** - * Instruction step details + * the format containing columns name(s) to override the alert name */ - instructions?: pulumi.Input[]>; + alertDisplayNameFormat?: pulumi.Input; /** - * Instruction step title + * List of additional dynamic properties to override */ - title?: pulumi.Input; - } - - export interface CodelessUiConnectorConfigPropertiesSampleQueriesArgs { + alertDynamicProperties?: pulumi.Input[]>; /** - * The sample query description + * the column name to take the alert severity from */ - description?: pulumi.Input; + alertSeverityColumnName?: pulumi.Input; /** - * the sample query + * the column name to take the alert tactics from */ - query?: pulumi.Input; + alertTacticsColumnName?: pulumi.Input; } /** - * The mapping of content type to a repo path. + * A single alert property mapping to override */ - export interface ContentPathMapArgs { + export interface AlertPropertyMappingArgs { /** - * Content type. + * The V3 alert property */ - contentType?: pulumi.Input; + alertProperty?: pulumi.Input; /** - * The path to the content. + * the column name to use to override this property */ - path?: pulumi.Input; + value?: pulumi.Input; } /** - * Common field for data type in data connectors. + * Alerts data type for data connectors. */ - export interface DataConnectorDataTypeCommonArgs { + export interface AlertsDataTypeOfDataConnectorArgs { /** - * Describe whether this data type connection is enabled or not. + * Alerts data type connection. */ - state: pulumi.Input; + alerts: pulumi.Input; } /** - * The available data types for Dynamics365 data connector. + * An entity describing a content item. */ - export interface Dynamics365DataConnectorDataTypesArgs { + export interface AssignmentItemArgs { /** - * Common Data Service data type connection. + * The resource id of the content item */ - dynamics365CdsActivities: pulumi.Input; + resourceId?: pulumi.Input; } /** - * Common Data Service data type connection. + * Describes an automation rule action to add a task to an incident */ - export interface Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs { + export interface AutomationRuleAddIncidentTaskActionArgs { + actionConfiguration?: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * The type of the automation rule action. + * Expected value is 'AddIncidentTask'. */ - state: pulumi.Input; + actionType: pulumi.Input<"AddIncidentTask">; + order: pulumi.Input; } - /** - * Single entity mapping for the alert rule - */ - export interface EntityMappingArgs { - /** - * The V3 type of the mapped entity - */ - entityType?: pulumi.Input; - /** - * array of field mappings for the given entity mapping - */ - fieldMappings?: pulumi.Input[]>; + export interface AutomationRuleBooleanConditionArgs { + innerConditions?: pulumi.Input[]>; + operator?: pulumi.Input; } /** - * Event grouping settings property bag. + * Describes an automation rule action to modify an object's properties */ - export interface EventGroupingSettingsArgs { + export interface AutomationRuleModifyPropertiesActionArgs { + actionConfiguration?: pulumi.Input; /** - * The event grouping aggregation kinds + * The type of the automation rule action. + * Expected value is 'ModifyProperties'. */ - aggregationKind?: pulumi.Input; + actionType: pulumi.Input<"ModifyProperties">; + order: pulumi.Input; } - /** - * A single field mapping of the mapped entity - */ - export interface FieldMappingArgs { - /** - * the column name to be mapped to the identifier - */ - columnName?: pulumi.Input; - /** - * the V3 identifier of the entity - */ - identifier?: pulumi.Input; + export interface AutomationRulePropertyArrayChangedValuesConditionArgs { + arrayType?: pulumi.Input; + changeType?: pulumi.Input; } - /** - * Grouping configuration property bag. - */ - export interface GroupingConfigurationArgs { - /** - * Grouping enabled - */ - enabled: pulumi.Input; - /** - * A list of alert details to group by (when matchingMethod is Selected) - */ - groupByAlertDetails?: pulumi.Input[]>; - /** - * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. - */ - groupByCustomDetails?: pulumi.Input[]>; - /** - * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. - */ - groupByEntities?: pulumi.Input[]>; - /** - * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) - */ - lookbackDuration: pulumi.Input; - /** - * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. - */ - matchingMethod: pulumi.Input; - /** - * Re-open closed matching incidents - */ - reopenClosedIncident: pulumi.Input; + export interface AutomationRulePropertyArrayValuesConditionArgs { + arrayConditionType?: pulumi.Input; + arrayType?: pulumi.Input; + itemConditions?: pulumi.Input[]>; } - /** - * Incident Configuration property bag. - */ - export interface IncidentConfigurationArgs { - /** - * Create incidents from alerts triggered by this analytics rule - */ - createIncident: pulumi.Input; + export interface AutomationRulePropertyValuesChangedConditionArgs { + changeType?: pulumi.Input; + operator?: pulumi.Input; + propertyName?: pulumi.Input; + propertyValues?: pulumi.Input[]>; + } + + export interface AutomationRulePropertyValuesConditionArgs { + operator?: pulumi.Input; /** - * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + * The property to evaluate in an automation rule property condition. */ - groupingConfiguration?: pulumi.Input; + propertyName?: pulumi.Input; + propertyValues?: pulumi.Input[]>; } /** - * Represents an incident label + * Describes an automation rule action to run a playbook */ - export interface IncidentLabelArgs { + export interface AutomationRuleRunPlaybookActionArgs { + actionConfiguration?: pulumi.Input; /** - * The name of the label + * The type of the automation rule action. + * Expected value is 'RunPlaybook'. */ - labelName: pulumi.Input; + actionType: pulumi.Input<"RunPlaybook">; + order: pulumi.Input; } /** - * Information on the user an incident is assigned to + * Describes automation rule triggering logic. */ - export interface IncidentOwnerInfoArgs { - /** - * The name of the user the incident is assigned to. - */ - assignedTo?: pulumi.Input; + export interface AutomationRuleTriggeringLogicArgs { /** - * The email of the user the incident is assigned to. + * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - email?: pulumi.Input; + conditions?: pulumi.Input[]>; /** - * The object id of the user the incident is assigned to. + * Determines when the automation rule should automatically expire and be disabled. */ - objectId?: pulumi.Input; + expirationTimeUtc?: pulumi.Input; /** - * The user principal name of the user the incident is assigned to. + * Determines whether the automation rule is enabled or disabled. */ - userPrincipalName?: pulumi.Input; + isEnabled: pulumi.Input; + triggersOn: pulumi.Input; + triggersWhen: pulumi.Input; } - export interface InstructionStepsInstructionsArgs { + /** + * Connector Availability Status + */ + export interface AvailabilityArgs { /** - * The parameters for the setting + * Set connector as preview */ - parameters?: any; + isPreview?: pulumi.Input; /** - * The kind of the setting + * The connector Availability Status */ - type: pulumi.Input; + status?: pulumi.Input; } /** - * The available data types for MCAS (Microsoft Cloud App Security) data connector. + * The available data types for Amazon Web Services CloudTrail data connector. */ - export interface MCASDataConnectorDataTypesArgs { - /** - * Alerts data type connection. - */ - alerts: pulumi.Input; + export interface AwsCloudTrailDataConnectorDataTypesArgs { /** - * Discovery log data type connection. + * Logs data type. */ - discoveryLogs?: pulumi.Input; + logs: pulumi.Input; } /** - * The available data types for Microsoft Threat Intelligence Platforms data connector. + * Logs data type. */ - export interface MSTIDataConnectorDataTypesArgs { - /** - * Data type for Microsoft Threat Intelligence Platforms data connector. - */ - bingSafetyPhishingURL: pulumi.Input; + export interface AwsCloudTrailDataConnectorDataTypesLogsArgs { /** - * Data type for Microsoft Threat Intelligence Platforms data connector. + * Describe whether this data type connection is enabled or not. */ - microsoftEmergingThreatFeed: pulumi.Input; + state: pulumi.Input; } /** - * Data type for Microsoft Threat Intelligence Platforms data connector. + * The available data types for Amazon Web Services S3 data connector. */ - export interface MSTIDataConnectorDataTypesBingSafetyPhishingURLArgs { - /** - * lookback period - */ - lookbackPeriod: pulumi.Input; + export interface AwsS3DataConnectorDataTypesArgs { /** - * Describe whether this data type connection is enabled or not. + * Logs data type. */ - state: pulumi.Input; + logs: pulumi.Input; } /** - * Data type for Microsoft Threat Intelligence Platforms data connector. + * Logs data type. */ - export interface MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs { - /** - * lookback period - */ - lookbackPeriod: pulumi.Input; + export interface AwsS3DataConnectorDataTypesLogsArgs { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** - * The available data types for Microsoft Threat Protection Platforms data connector. + * Describes the entity mappings of a single entity */ - export interface MTPDataConnectorDataTypesArgs { + export interface BookmarkEntityMappingsArgs { /** - * Data type for Microsoft Threat Protection Platforms data connector. + * The entity type */ - incidents: pulumi.Input; + entityType?: pulumi.Input; + /** + * Array of fields mapping for that entity type + */ + fieldMappings?: pulumi.Input[]>; } /** - * Data type for Microsoft Threat Protection Platforms data connector. + * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ - export interface MTPDataConnectorDataTypesIncidentsArgs { + export interface BooleanConditionPropertiesArgs { + conditionProperties?: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * + * Expected value is 'Boolean'. */ - state: pulumi.Input; + conditionType: pulumi.Input<"Boolean">; } /** - * Publisher or creator of the content item. + * Information on the client (user or application) that made some action */ - export interface MetadataAuthorArgs { + export interface ClientInfoArgs { /** - * Email of author contact + * The email of the client. */ email?: pulumi.Input; /** - * Link for author/vendor page - */ - link?: pulumi.Input; - /** - * Name of the author. Company or person. + * The name of the client. */ name?: pulumi.Input; - } - - /** - * ies for the solution content item - */ - export interface MetadataCategoriesArgs { /** - * domain for the solution content item + * The object id of the client. */ - domains?: pulumi.Input[]>; + objectId?: pulumi.Input; /** - * Industry verticals for the solution content item + * The user principal name of the client. */ - verticals?: pulumi.Input[]>; + userPrincipalName?: pulumi.Input; } /** - * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + * Describe the authentication properties needed to successfully authenticate with the server */ - export interface MetadataDependenciesArgs { + export interface CodelessConnectorPollingAuthPropertiesArgs { /** - * Id of the content item we depend on + * A prefix send in the header before the actual token */ - contentId?: pulumi.Input; + apiKeyIdentifier?: pulumi.Input; /** - * This is the list of dependencies we must fulfill, according to the AND/OR operator + * The header name which the token is sent with */ - criteria?: pulumi.Input[]>; + apiKeyName?: pulumi.Input; /** - * Type of the content item we depend on + * The authentication type */ - kind?: pulumi.Input; + authType: pulumi.Input; /** - * Name of the content item + * The endpoint used to authorize the user, used in Oauth 2.0 flow */ - name?: pulumi.Input; + authorizationEndpoint?: pulumi.Input; /** - * Operator used for list of dependencies in criteria array. + * The query parameters used in authorization request, used in Oauth 2.0 flow */ - operator?: pulumi.Input; + authorizationEndpointQueryParameters?: any; /** - * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + * Describes the flow name, for example 'AuthCode' for Oauth 2.0 */ - version?: pulumi.Input; - } - - /** - * The original source of the content item, where it comes from. - */ - export interface MetadataSourceArgs { + flowName?: pulumi.Input; /** - * Source type of the content + * Marks if the key should sent in header */ - kind: pulumi.Input; + isApiKeyInPostPayload?: pulumi.Input; /** - * Name of the content source. The repo name, solution name, LA workspace name etc. + * Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow */ - name?: pulumi.Input; + isClientSecretInHeader?: pulumi.Input; /** - * ID of the content source. The solution ID, workspace ID, etc + * The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow */ - sourceId?: pulumi.Input; - } - - /** - * Support information for the content item. - */ - export interface MetadataSupportArgs { + redirectionEndpoint?: pulumi.Input; /** - * Email of support contact + * The OAuth token scope */ - email?: pulumi.Input; + scope?: pulumi.Input; /** - * Link for support help, like to support page to open a ticket etc. + * The endpoint used to issue a token, used in Oauth 2.0 flow */ - link?: pulumi.Input; + tokenEndpoint?: pulumi.Input; /** - * Name of the support contact. Company or person. + * The query headers used in token request, used in Oauth 2.0 flow */ - name?: pulumi.Input; + tokenEndpointHeaders?: any; /** - * Type of support for content item + * The query parameters used in token request, used in Oauth 2.0 flow */ - tier: pulumi.Input; + tokenEndpointQueryParameters?: any; } /** - * The available data types for office data connector. + * Config to describe the polling config for API poller connector */ - export interface OfficeDataConnectorDataTypesArgs { - /** - * Exchange data type connection. - */ - exchange: pulumi.Input; + export interface CodelessConnectorPollingConfigPropertiesArgs { /** - * SharePoint data type connection. + * Describe the authentication type of the poller */ - sharePoint: pulumi.Input; + auth: pulumi.Input; /** - * Teams data type connection. + * The poller active status */ - teams: pulumi.Input; - } - - /** - * Exchange data type connection. - */ - export interface OfficeDataConnectorDataTypesExchangeArgs { + isActive?: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * Describe the poll request paging config of the poller */ - state: pulumi.Input; - } - - /** - * SharePoint data type connection. - */ - export interface OfficeDataConnectorDataTypesSharePointArgs { + paging?: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * Describe the poll request config parameters of the poller */ - state: pulumi.Input; - } - - /** - * Teams data type connection. - */ - export interface OfficeDataConnectorDataTypesTeamsArgs { + request: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * Describe the response config parameters of the poller */ - state: pulumi.Input; + response?: pulumi.Input; } /** - * Permissions required for the connector + * Describe the properties needed to make a pagination call */ - export interface PermissionsArgs { + export interface CodelessConnectorPollingPagingPropertiesArgs { /** - * Customs permissions required for the connector + * Defines the name of a next page attribute */ - customs?: pulumi.Input[]>; + nextPageParaName?: pulumi.Input; /** - * Resource provider permissions required for the connector + * Defines the path to a next page token JSON */ - resourceProvider?: pulumi.Input[]>; - } - - export interface PermissionsCustomsArgs { + nextPageTokenJsonPath?: pulumi.Input; /** - * Customs permissions description + * Defines the path to a page count attribute */ - description?: pulumi.Input; + pageCountAttributePath?: pulumi.Input; /** - * Customs permissions name + * Defines the paging size */ - name?: pulumi.Input; - } - - export interface PermissionsResourceProviderArgs { + pageSize?: pulumi.Input; /** - * Permission description text + * Defines the name of the page size parameter */ - permissionsDisplayText?: pulumi.Input; + pageSizeParaName?: pulumi.Input; /** - * Provider name + * Defines the path to a paging time stamp attribute */ - provider?: pulumi.Input; + pageTimeStampAttributePath?: pulumi.Input; /** - * Permission provider display name + * Defines the path to a page total count attribute */ - providerDisplayName?: pulumi.Input; + pageTotalCountAttributePath?: pulumi.Input; /** - * Required permissions for the connector + * Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' */ - requiredPermissions?: pulumi.Input; + pagingType: pulumi.Input; /** - * Permission provider scope + * Determines whether to search for the latest time stamp in the events list */ - scope?: pulumi.Input; + searchTheLatestTimeStampFromEventsList?: pulumi.Input; } /** - * metadata of a repository. + * Describe the request properties needed to successfully pull from the server */ - export interface RepositoryArgs { + export interface CodelessConnectorPollingRequestPropertiesArgs { /** - * Branch name of repository. + * Describe the endpoint we should pull the data from */ - branch?: pulumi.Input; + apiEndpoint: pulumi.Input; /** - * Url to access repository action logs. + * This will be used the query events from the end of the time window */ - deploymentLogsUrl?: pulumi.Input; + endTimeAttributeName?: pulumi.Input; /** - * Display url of repository. + * Describe the headers sent in the poll request */ - displayUrl?: pulumi.Input; + headers?: any; /** - * Dictionary of source control content type and path mapping. + * The http method type we will use in the poll request, GET or POST */ - pathMapping?: pulumi.Input[]>; + httpMethod: pulumi.Input; /** - * Url of repository. + * Describe the query parameters sent in the poll request */ - url?: pulumi.Input; - } - - /** - * Required permissions for the connector - */ - export interface RequiredPermissionsArgs { + queryParameters?: any; /** - * action permission + * For advanced scenarios for example user name/password embedded in nested JSON payload */ - action?: pulumi.Input; + queryParametersTemplate?: pulumi.Input; /** - * delete permission + * The time format will be used the query events in a specific window */ - delete?: pulumi.Input; + queryTimeFormat: pulumi.Input; /** - * read permission + * The window interval we will use the pull the data */ - read?: pulumi.Input; + queryWindowInMin: pulumi.Input; /** - * write permission + * Defines the rate limit QPS */ - write?: pulumi.Input; - } - - /** - * The available data types for TI (Threat Intelligence) data connector. - */ - export interface TIDataConnectorDataTypesArgs { + rateLimitQps?: pulumi.Input; /** - * Data type for indicators connection. + * Describe the amount of time we should try and poll the data in case of failure */ - indicators: pulumi.Input; - } - - /** - * Data type for indicators connection. - */ - export interface TIDataConnectorDataTypesIndicatorsArgs { + retryCount?: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * This will be used the query events from a start of the time window */ - state: pulumi.Input; - } - - /** - * The available data types for Threat Intelligence TAXII data connector. - */ - export interface TiTaxiiDataConnectorDataTypesArgs { + startTimeAttributeName?: pulumi.Input; /** - * Data type for TAXII connector. + * The number of seconds we will consider as a request timeout */ - taxiiClient: pulumi.Input; + timeoutInSeconds?: pulumi.Input; } /** - * Data type for TAXII connector. + * Describes the response from the external server */ - export interface TiTaxiiDataConnectorDataTypesTaxiiClientArgs { + export interface CodelessConnectorPollingResponsePropertiesArgs { /** - * Describe whether this data type connection is enabled or not. + * Describes the path we should extract the data in the response */ - state: pulumi.Input; - } - - /** - * User information that made some action - */ - export interface WatchlistUserInfoArgs { + eventsJsonPaths: pulumi.Input[]>; /** - * The object id of the user. + * Describes if the data in the response is Gzip */ - objectId?: pulumi.Input; + isGzipCompressed?: pulumi.Input; + /** + * Describes the path we should extract the status code in the response + */ + successStatusJsonPath?: pulumi.Input; + /** + * Describes the path we should extract the status value in the response + */ + successStatusValue?: pulumi.Input; } - } - - export namespace v20210401 { /** - * Describes external reference + * Config to describe the instructions blade */ - export interface ThreatIntelligenceExternalReferenceArgs { + export interface CodelessUiConnectorConfigPropertiesArgs { /** - * External reference description + * Connector Availability Status */ - description?: pulumi.Input; + availability: pulumi.Input; /** - * External reference ID + * Define the way the connector check connectivity */ - externalId?: pulumi.Input; + connectivityCriteria: pulumi.Input[]>; /** - * External reference hashes + * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ - hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + customImage?: pulumi.Input; /** - * External reference source name + * Data types to check for last data received */ - sourceName?: pulumi.Input; + dataTypes: pulumi.Input[]>; /** - * External reference URL + * Connector description */ - url?: pulumi.Input; - } - - /** - * Describes threat granular marking model entity - */ - export interface ThreatIntelligenceGranularMarkingModelArgs { + descriptionMarkdown: pulumi.Input; /** - * Language granular marking model + * The graph query to show the current data status */ - language?: pulumi.Input; + graphQueries: pulumi.Input[]>; /** - * marking reference granular marking model + * Name of the table the connector will insert the data to */ - markingRef?: pulumi.Input; + graphQueriesTableName: pulumi.Input; /** - * granular marking model selectors + * Instruction steps to enable the connector */ - selectors?: pulumi.Input[]>; - } - - /** - * Describes threat kill chain phase entity - */ - export interface ThreatIntelligenceKillChainPhaseArgs { + instructionSteps: pulumi.Input[]>; /** - * Kill chainName name + * Permissions required for the connector */ - killChainName?: pulumi.Input; + permissions: pulumi.Input; /** - * Phase name + * Connector publisher name */ - phaseName?: pulumi.Input; - } - - /** - * Describes parsed pattern entity - */ - export interface ThreatIntelligenceParsedPatternArgs { + publisher: pulumi.Input; /** - * Pattern type key + * The sample queries for the connector */ - patternTypeKey?: pulumi.Input; + sampleQueries: pulumi.Input[]>; /** - * Pattern type keys + * Connector blade title */ - patternTypeValues?: pulumi.Input[]>; + title: pulumi.Input; } - /** - * Describes threat kill chain phase entity - */ - export interface ThreatIntelligenceParsedPatternTypeValueArgs { + export interface CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs { /** - * Value of parsed pattern + * type of connectivity */ - value?: pulumi.Input; + type?: pulumi.Input; /** - * Type of the value + * Queries for checking connectivity */ - valueType?: pulumi.Input; + value?: pulumi.Input[]>; } - /** - * User information that made some action - */ - export interface WatchlistUserInfoArgs { + export interface CodelessUiConnectorConfigPropertiesDataTypesArgs { /** - * The object id of the user. + * Query for indicate last data received */ - objectId?: pulumi.Input; + lastDataReceivedQuery?: pulumi.Input; + /** + * Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + */ + name?: pulumi.Input; } - } - - export namespace v20210901preview { - /** - * Describes external reference - */ - export interface ThreatIntelligenceExternalReferenceArgs { + export interface CodelessUiConnectorConfigPropertiesGraphQueriesArgs { + /** + * The base query for the graph + */ + baseQuery?: pulumi.Input; + /** + * The legend for the graph + */ + legend?: pulumi.Input; + /** + * the metric that the query is checking + */ + metricName?: pulumi.Input; + } + + export interface CodelessUiConnectorConfigPropertiesInstructionStepsArgs { /** - * External reference description + * Instruction step description */ description?: pulumi.Input; /** - * External reference ID + * Instruction step details */ - externalId?: pulumi.Input; + instructions?: pulumi.Input[]>; /** - * External reference hashes + * Instruction step title */ - hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + title?: pulumi.Input; + } + + export interface CodelessUiConnectorConfigPropertiesSampleQueriesArgs { /** - * External reference source name + * The sample query description */ - sourceName?: pulumi.Input; + description?: pulumi.Input; /** - * External reference URL + * the sample query */ - url?: pulumi.Input; + query?: pulumi.Input; } /** - * Describes threat granular marking model entity + * The configuration of the destination of the data. */ - export interface ThreatIntelligenceGranularMarkingModelArgs { + export interface DCRConfigurationArgs { /** - * Language granular marking model + * Represents the data collection ingestion endpoint in log analytics. */ - language?: pulumi.Input; + dataCollectionEndpoint: pulumi.Input; /** - * marking reference granular marking model + * The data collection rule immutable id, the rule defines the transformation and data destination. */ - markingRef?: pulumi.Input; + dataCollectionRuleImmutableId: pulumi.Input; /** - * granular marking model selectors + * The stream we are sending the data to. */ - selectors?: pulumi.Input[]>; + streamName: pulumi.Input; } /** - * Describes threat kill chain phase entity + * Common field for data type in data connectors. */ - export interface ThreatIntelligenceKillChainPhaseArgs { - /** - * Kill chainName name - */ - killChainName?: pulumi.Input; + export interface DataConnectorDataTypeCommonArgs { /** - * Phase name + * Describe whether this data type connection is enabled or not. */ - phaseName?: pulumi.Input; + state: pulumi.Input; } /** - * Describes parsed pattern entity + * The available data types for Dynamics365 data connector. */ - export interface ThreatIntelligenceParsedPatternArgs { - /** - * Pattern type key - */ - patternTypeKey?: pulumi.Input; + export interface Dynamics365DataConnectorDataTypesArgs { /** - * Pattern type keys + * Common Data Service data type connection. */ - patternTypeValues?: pulumi.Input[]>; + dynamics365CdsActivities: pulumi.Input; } /** - * Describes threat kill chain phase entity + * Common Data Service data type connection. */ - export interface ThreatIntelligenceParsedPatternTypeValueArgs { - /** - * Value of parsed pattern - */ - value?: pulumi.Input; + export interface Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs { /** - * Type of the value + * Describe whether this data type connection is enabled or not. */ - valueType?: pulumi.Input; + state: pulumi.Input; } - } - - export namespace v20211001preview { /** - * Settings for how to dynamically override alert static details + * Map identifiers of a single entity */ - export interface AlertDetailsOverrideArgs { - /** - * the format containing columns name(s) to override the alert description - */ - alertDescriptionFormat?: pulumi.Input; - /** - * the format containing columns name(s) to override the alert name - */ - alertDisplayNameFormat?: pulumi.Input; + export interface EntityFieldMappingArgs { /** - * the column name to take the alert severity from + * Alert V3 identifier */ - alertSeverityColumnName?: pulumi.Input; + identifier?: pulumi.Input; /** - * the column name to take the alert tactics from + * The value of the identifier */ - alertTacticsColumnName?: pulumi.Input; + value?: pulumi.Input; } /** @@ -344810,11 +355356,21 @@ export namespace securityinsights { /** * The V3 type of the mapped entity */ - entityType?: pulumi.Input; + entityType?: pulumi.Input; /** * array of field mappings for the given entity mapping */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; + } + + /** + * Event grouping settings property bag. + */ + export interface EventGroupingSettingsArgs { + /** + * The event grouping aggregation kinds + */ + aggregationKind?: pulumi.Input; } /** @@ -344831,6 +355387,24 @@ export namespace securityinsights { identifier?: pulumi.Input; } + /** + * Represents a file. + */ + export interface FileMetadataArgs { + /** + * The format of the file + */ + fileFormat?: pulumi.Input; + /** + * The name of the file. + */ + fileName?: pulumi.Input; + /** + * The size of the file. + */ + fileSize?: pulumi.Input; + } + /** * Represents a Fusion scenario exclusion patterns in Fusion detection. */ @@ -344860,7 +355434,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: pulumi.Input[]>; + sourceSubTypes?: pulumi.Input[]>; } /** @@ -344874,7 +355448,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: pulumi.Input; + severityFilters: pulumi.Input; /** * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. */ @@ -344888,7 +355462,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: pulumi.Input[]>; + filters?: pulumi.Input[]>; } /** @@ -344902,215 +355476,113 @@ export namespace securityinsights { /** * The Severity for a given source subtype consumed in Fusion detection. */ - severity: pulumi.Input; + severity: pulumi.Input; } /** - * Grouping configuration property bag. + * Google Cloud Platform auth section properties. */ - export interface GroupingConfigurationArgs { - /** - * Grouping enabled - */ - enabled: pulumi.Input; - /** - * A list of alert details to group by (when matchingMethod is Selected) - */ - groupByAlertDetails?: pulumi.Input[]>; - /** - * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. - */ - groupByCustomDetails?: pulumi.Input[]>; - /** - * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. - */ - groupByEntities?: pulumi.Input[]>; + export interface GCPAuthPropertiesArgs { /** - * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + * The GCP project number. */ - lookbackDuration: pulumi.Input; + projectNumber: pulumi.Input; /** - * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + * The service account that is used to access the GCP project. */ - matchingMethod: pulumi.Input; + serviceAccountEmail: pulumi.Input; /** - * Re-open closed matching incidents + * The workload identity provider id that is used to gain access to the GCP project. */ - reopenClosedIncident: pulumi.Input; + workloadIdentityProviderId: pulumi.Input; } /** - * Incident Configuration property bag. + * Google Cloud Platform request section properties. */ - export interface IncidentConfigurationArgs { + export interface GCPRequestPropertiesArgs { /** - * Create incidents from alerts triggered by this analytics rule + * The GCP project id. */ - createIncident: pulumi.Input; + projectId: pulumi.Input; /** - * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + * The GCP pub/sub subscription names. */ - groupingConfiguration?: pulumi.Input; + subscriptionNames: pulumi.Input[]>; } /** - * User information that made some action + * Grouping configuration property bag. */ - export interface WatchlistUserInfoArgs { + export interface GroupingConfigurationArgs { /** - * The object id of the user. + * Grouping enabled */ - objectId?: pulumi.Input; - } - - } - - export namespace v20220101preview { - /** - * User information that made some action - */ - export interface WatchlistUserInfoArgs { + enabled: pulumi.Input; /** - * The object id of the user. + * A list of alert details to group by (when matchingMethod is Selected) */ - objectId?: pulumi.Input; - } - - } - - export namespace v20220401preview { - } - - export namespace v20220501preview { - } - - export namespace v20220601preview { - } - - export namespace v20220701preview { - } - - export namespace v20220801preview { - } - - export namespace v20220901preview { - } - - export namespace v20221001preview { - } - - export namespace v20221101preview { - } - - export namespace v20221201preview { - } - - export namespace v20230201 { - /** - * Alerts data type for data connectors. - */ - export interface AlertsDataTypeOfDataConnectorArgs { + groupByAlertDetails?: pulumi.Input[]>; /** - * Alerts data type connection. + * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. */ - alerts?: pulumi.Input; - } - - /** - * Describes an automation rule action to modify an object's properties - */ - export interface AutomationRuleModifyPropertiesActionArgs { - actionConfiguration?: pulumi.Input; + groupByCustomDetails?: pulumi.Input[]>; /** - * The type of the automation rule action. - * Expected value is 'ModifyProperties'. + * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. */ - actionType: pulumi.Input<"ModifyProperties">; - order: pulumi.Input; - } - - export interface AutomationRulePropertyArrayChangedValuesConditionArgs { - arrayType?: pulumi.Input; - changeType?: pulumi.Input; - } - - export interface AutomationRulePropertyValuesChangedConditionArgs { - changeType?: pulumi.Input; - operator?: pulumi.Input; - propertyName?: pulumi.Input; - propertyValues?: pulumi.Input[]>; - } - - export interface AutomationRulePropertyValuesConditionArgs { - operator?: pulumi.Input; + groupByEntities?: pulumi.Input[]>; /** - * The property to evaluate in an automation rule property condition. + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) */ - propertyName?: pulumi.Input; - propertyValues?: pulumi.Input[]>; - } - - /** - * Describes an automation rule action to run a playbook - */ - export interface AutomationRuleRunPlaybookActionArgs { - actionConfiguration?: pulumi.Input; + lookbackDuration: pulumi.Input; /** - * The type of the automation rule action. - * Expected value is 'RunPlaybook'. + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. */ - actionType: pulumi.Input<"RunPlaybook">; - order: pulumi.Input; + matchingMethod: pulumi.Input; + /** + * Re-open closed matching incidents + */ + reopenClosedIncident: pulumi.Input; } /** - * Describes automation rule triggering logic. + * Describes a user that the hunt is assigned to */ - export interface AutomationRuleTriggeringLogicArgs { + export interface HuntOwnerArgs { /** - * The conditions to evaluate to determine if the automation rule should be triggered on a given object. + * The name of the user the hunt is assigned to. */ - conditions?: pulumi.Input[]>; + assignedTo?: pulumi.Input; /** - * Determines when the automation rule should automatically expire and be disabled. + * The email of the user the hunt is assigned to. */ - expirationTimeUtc?: pulumi.Input; + email?: pulumi.Input; /** - * Determines whether the automation rule is enabled or disabled. + * The object id of the user the hunt is assigned to. */ - isEnabled: pulumi.Input; - triggersOn: pulumi.Input; - triggersWhen: pulumi.Input; - } - - /** - * The available data types for Amazon Web Services CloudTrail data connector. - */ - export interface AwsCloudTrailDataConnectorDataTypesArgs { + objectId?: pulumi.Input; /** - * Logs data type. + * The type of the owner the hunt is assigned to. */ - logs?: pulumi.Input; - } - - /** - * Logs data type. - */ - export interface AwsCloudTrailDataConnectorDataTypesLogsArgs { + ownerType?: pulumi.Input; /** - * Describe whether this data type connection is enabled or not. + * The user principal name of the user the hunt is assigned to. */ - state?: pulumi.Input; + userPrincipalName?: pulumi.Input; } /** - * Common field for data type in data connectors. + * Incident Configuration property bag. */ - export interface DataConnectorDataTypeCommonArgs { + export interface IncidentConfigurationArgs { /** - * Describe whether this data type connection is enabled or not. + * Create incidents from alerts triggered by this analytics rule */ - state?: pulumi.Input; + createIncident: pulumi.Input; + /** + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + */ + groupingConfiguration?: pulumi.Input; } /** @@ -345128,7 +355600,7 @@ export namespace securityinsights { /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The title of the incident */ @@ -345164,7 +355636,7 @@ export namespace securityinsights { /** * The type of the owner the incident is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the incident is assigned to. */ @@ -345175,7 +355647,7 @@ export namespace securityinsights { /** * The reason the incident was closed */ - classification?: pulumi.Input; + classification?: pulumi.Input; /** * Describes the reason the incident was closed. */ @@ -345183,23 +355655,34 @@ export namespace securityinsights { /** * The classification reason the incident was closed with */ - classificationReason?: pulumi.Input; + classificationReason?: pulumi.Input; /** * List of labels to add to the incident. */ - labels?: pulumi.Input[]>; + labels?: pulumi.Input[]>; /** * Information on the user an incident is assigned to */ - owner?: pulumi.Input; + owner?: pulumi.Input; /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The status of the incident */ - status?: pulumi.Input; + status?: pulumi.Input; + } + + export interface InstructionStepsInstructionsArgs { + /** + * The parameters for the setting + */ + parameters?: any; + /** + * The kind of the setting + */ + type: pulumi.Input; } /** @@ -345209,11 +355692,69 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts?: pulumi.Input; + alerts: pulumi.Input; /** * Discovery log data type connection. */ - discoveryLogs?: pulumi.Input; + discoveryLogs?: pulumi.Input; + } + + /** + * The available data types for Microsoft Threat Intelligence Platforms data connector. + */ + export interface MSTIDataConnectorDataTypesArgs { + /** + * Data type for Microsoft Threat Intelligence Platforms data connector. + */ + microsoftEmergingThreatFeed: pulumi.Input; + } + + /** + * Data type for Microsoft Threat Intelligence Platforms data connector. + */ + export interface MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs { + /** + * The lookback period for the feed to be imported. + */ + lookbackPeriod: pulumi.Input; + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + + /** + * The available data types for Microsoft Threat Protection Platforms data connector. + */ + export interface MTPDataConnectorDataTypesArgs { + /** + * Alerts data type for Microsoft Threat Protection Platforms data connector. + */ + alerts?: pulumi.Input; + /** + * Incidents data type for Microsoft Threat Protection Platforms data connector. + */ + incidents: pulumi.Input; + } + + /** + * Alerts data type for Microsoft Threat Protection Platforms data connector. + */ + export interface MTPDataConnectorDataTypesAlertsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; + } + + /** + * Incidents data type for Microsoft Threat Protection Platforms data connector. + */ + export interface MTPDataConnectorDataTypesIncidentsArgs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: pulumi.Input; } /** @@ -345259,11 +355800,11 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Type of the content item we depend on */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * Name of the content item */ @@ -345271,7 +355812,7 @@ export namespace securityinsights { /** * Operator used for list of dependencies in criteria array. */ - operator?: pulumi.Input; + operator?: pulumi.Input; /** * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ @@ -345285,7 +355826,7 @@ export namespace securityinsights { /** * Source type of the content */ - kind: pulumi.Input; + kind: pulumi.Input; /** * Name of the content source. The repo name, solution name, LA workspace name etc. */ @@ -345315,567 +355856,429 @@ export namespace securityinsights { /** * Type of support for content item */ - tier: pulumi.Input; + tier: pulumi.Input; } /** - * The available data types for office data connector. + * The available data types for Microsoft Purview Information Protection data connector. */ - export interface OfficeDataConnectorDataTypesArgs { - /** - * Exchange data type connection. - */ - exchange?: pulumi.Input; + export interface MicrosoftPurviewInformationProtectionConnectorDataTypesArgs { /** - * SharePoint data type connection. + * Logs data type. */ - sharePoint?: pulumi.Input; + logs: pulumi.Input; + } + + /** + * Logs data type. + */ + export interface MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs { /** - * Teams data type connection. + * Describe whether this data type connection is enabled or not. */ - teams?: pulumi.Input; + state: pulumi.Input; } /** - * Exchange data type connection. + * Represents the connector's Filtered providers */ - export interface OfficeDataConnectorDataTypesExchangeArgs { + export interface MtpFilteredProvidersArgs { /** - * Describe whether this data type connection is enabled or not. + * Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. */ - state?: pulumi.Input; + alerts: pulumi.Input[]>; } /** - * SharePoint data type connection. + * The available data types for Office Microsoft Project data connector. */ - export interface OfficeDataConnectorDataTypesSharePointArgs { + export interface Office365ProjectConnectorDataTypesArgs { /** - * Describe whether this data type connection is enabled or not. + * Logs data type. */ - state?: pulumi.Input; + logs: pulumi.Input; } /** - * Teams data type connection. + * Logs data type. */ - export interface OfficeDataConnectorDataTypesTeamsArgs { + export interface Office365ProjectConnectorDataTypesLogsArgs { /** * Describe whether this data type connection is enabled or not. */ - state?: pulumi.Input; + state: pulumi.Input; } - export interface PlaybookActionPropertiesArgs { + /** + * The available data types for office data connector. + */ + export interface OfficeDataConnectorDataTypesArgs { /** - * The resource id of the playbook resource. + * Exchange data type connection. */ - logicAppResourceId: pulumi.Input; + exchange: pulumi.Input; /** - * The tenant id of the playbook resource. + * SharePoint data type connection. */ - tenantId?: pulumi.Input; + sharePoint: pulumi.Input; + /** + * Teams data type connection. + */ + teams: pulumi.Input; } /** - * Describes an automation rule condition that evaluates an array property's value change + * Exchange data type connection. */ - export interface PropertyArrayChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + export interface OfficeDataConnectorDataTypesExchangeArgs { /** - * - * Expected value is 'PropertyArrayChanged'. + * Describe whether this data type connection is enabled or not. */ - conditionType: pulumi.Input<"PropertyArrayChanged">; + state: pulumi.Input; } /** - * Describes an automation rule condition that evaluates a property's value change + * SharePoint data type connection. */ - export interface PropertyChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + export interface OfficeDataConnectorDataTypesSharePointArgs { /** - * - * Expected value is 'PropertyChanged'. + * Describe whether this data type connection is enabled or not. */ - conditionType: pulumi.Input<"PropertyChanged">; + state: pulumi.Input; } /** - * Describes an automation rule condition that evaluates a property's value + * Teams data type connection. */ - export interface PropertyConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + export interface OfficeDataConnectorDataTypesTeamsArgs { /** - * - * Expected value is 'Property'. + * Describe whether this data type connection is enabled or not. */ - conditionType: pulumi.Input<"Property">; + state: pulumi.Input; } /** - * The available data types for TI (Threat Intelligence) data connector. + * The available data types for Office Microsoft PowerBI data connector. */ - export interface TIDataConnectorDataTypesArgs { + export interface OfficePowerBIConnectorDataTypesArgs { /** - * Data type for indicators connection. + * Logs data type. */ - indicators?: pulumi.Input; + logs: pulumi.Input; } /** - * Data type for indicators connection. + * Logs data type. */ - export interface TIDataConnectorDataTypesIndicatorsArgs { + export interface OfficePowerBIConnectorDataTypesLogsArgs { /** * Describe whether this data type connection is enabled or not. */ - state?: pulumi.Input; + state: pulumi.Input; } /** - * Describes external reference + * Permissions required for the connector */ - export interface ThreatIntelligenceExternalReferenceArgs { - /** - * External reference description - */ - description?: pulumi.Input; + export interface PermissionsArgs { /** - * External reference ID + * Customs permissions required for the connector */ - externalId?: pulumi.Input; + customs?: pulumi.Input[]>; /** - * External reference hashes + * Resource provider permissions required for the connector */ - hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; + resourceProvider?: pulumi.Input[]>; + } + + export interface PermissionsCustomsArgs { /** - * External reference source name + * Customs permissions description */ - sourceName?: pulumi.Input; + description?: pulumi.Input; /** - * External reference URL + * Customs permissions name */ - url?: pulumi.Input; + name?: pulumi.Input; } - /** - * Describes threat granular marking model entity - */ - export interface ThreatIntelligenceGranularMarkingModelArgs { + export interface PermissionsResourceProviderArgs { /** - * Language granular marking model + * Permission description text */ - language?: pulumi.Input; + permissionsDisplayText?: pulumi.Input; /** - * marking reference granular marking model + * Provider name */ - markingRef?: pulumi.Input; + provider?: pulumi.Input; /** - * granular marking model selectors + * Permission provider display name */ - selectors?: pulumi.Input[]>; - } - - /** - * Describes threat kill chain phase entity - */ - export interface ThreatIntelligenceKillChainPhaseArgs { + providerDisplayName?: pulumi.Input; /** - * Kill chainName name + * Required permissions for the connector */ - killChainName?: pulumi.Input; + requiredPermissions?: pulumi.Input; /** - * Phase name + * Permission provider scope */ - phaseName?: pulumi.Input; + scope?: pulumi.Input; } - /** - * Describes parsed pattern entity - */ - export interface ThreatIntelligenceParsedPatternArgs { + export interface PlaybookActionPropertiesArgs { /** - * Pattern type key + * The resource id of the playbook resource. */ - patternTypeKey?: pulumi.Input; + logicAppResourceId: pulumi.Input; /** - * Pattern type keys + * The tenant id of the playbook resource. */ - patternTypeValues?: pulumi.Input[]>; + tenantId?: pulumi.Input; } /** - * Describes threat kill chain phase entity + * Describes an automation rule condition that evaluates an array property's value change */ - export interface ThreatIntelligenceParsedPatternTypeValueArgs { - /** - * Value of parsed pattern - */ - value?: pulumi.Input; + export interface PropertyArrayChangedConditionPropertiesArgs { + conditionProperties?: pulumi.Input; /** - * Type of the value + * + * Expected value is 'PropertyArrayChanged'. */ - valueType?: pulumi.Input; + conditionType: pulumi.Input<"PropertyArrayChanged">; } /** - * User information that made some action + * Describes an automation rule condition that evaluates an array property's value */ - export interface UserInfoArgs { + export interface PropertyArrayConditionPropertiesArgs { + conditionProperties?: pulumi.Input; /** - * The object id of the user. + * + * Expected value is 'PropertyArray'. */ - objectId?: pulumi.Input; + conditionType: pulumi.Input<"PropertyArray">; } /** - * User information that made some action + * Describes an automation rule condition that evaluates a property's value change */ - export interface WatchlistUserInfoArgs { + export interface PropertyChangedConditionPropertiesArgs { + conditionProperties?: pulumi.Input; /** - * The object id of the user. + * + * Expected value is 'PropertyChanged'. */ - objectId?: pulumi.Input; + conditionType: pulumi.Input<"PropertyChanged">; } - } - - export namespace v20230201preview { /** - * Represents an incident label + * Describes an automation rule condition that evaluates a property's value */ - export interface IncidentLabelArgs { + export interface PropertyConditionPropertiesArgs { + conditionProperties?: pulumi.Input; /** - * The name of the label + * + * Expected value is 'Property'. */ - labelName: pulumi.Input; + conditionType: pulumi.Input<"Property">; } /** - * Information on the user an incident is assigned to + * Required permissions for the connector */ - export interface IncidentOwnerInfoArgs { - /** - * The name of the user the incident is assigned to. - */ - assignedTo?: pulumi.Input; + export interface RequiredPermissionsArgs { /** - * The email of the user the incident is assigned to. + * action permission */ - email?: pulumi.Input; + action?: pulumi.Input; /** - * The object id of the user the incident is assigned to. + * delete permission */ - objectId?: pulumi.Input; + delete?: pulumi.Input; /** - * The type of the owner the incident is assigned to. + * read permission */ - ownerType?: pulumi.Input; + read?: pulumi.Input; /** - * The user principal name of the user the incident is assigned to. + * write permission */ - userPrincipalName?: pulumi.Input; + write?: pulumi.Input; } /** - * Publisher or creator of the content item. + * security ml analytics settings data sources */ - export interface MetadataAuthorArgs { - /** - * Email of author contact - */ - email?: pulumi.Input; + export interface SecurityMLAnalyticsSettingsDataSourceArgs { /** - * Link for author/vendor page + * The connector id that provides the following data types */ - link?: pulumi.Input; + connectorId?: pulumi.Input; /** - * Name of the author. Company or person. + * The data types used by the security ml analytics settings */ - name?: pulumi.Input; + dataTypes?: pulumi.Input[]>; } /** - * ies for the solution content item + * A single sentinel entity mapping */ - export interface MetadataCategoriesArgs { - /** - * domain for the solution content item - */ - domains?: pulumi.Input[]>; + export interface SentinelEntityMappingArgs { /** - * Industry verticals for the solution content item + * the column name to be mapped to the SentinelEntities */ - verticals?: pulumi.Input[]>; + columnName?: pulumi.Input; } /** - * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + * The available data types for TI (Threat Intelligence) data connector. */ - export interface MetadataDependenciesArgs { - /** - * Id of the content item we depend on - */ - contentId?: pulumi.Input; - /** - * This is the list of dependencies we must fulfill, according to the AND/OR operator - */ - criteria?: pulumi.Input[]>; - /** - * Type of the content item we depend on - */ - kind?: pulumi.Input; - /** - * Name of the content item - */ - name?: pulumi.Input; - /** - * Operator used for list of dependencies in criteria array. - */ - operator?: pulumi.Input; + export interface TIDataConnectorDataTypesArgs { /** - * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + * Data type for indicators connection. */ - version?: pulumi.Input; + indicators: pulumi.Input; } /** - * The original source of the content item, where it comes from. + * Data type for indicators connection. */ - export interface MetadataSourceArgs { - /** - * Source type of the content - */ - kind: pulumi.Input; - /** - * Name of the content source. The repo name, solution name, LA workspace name etc. - */ - name?: pulumi.Input; + export interface TIDataConnectorDataTypesIndicatorsArgs { /** - * ID of the content source. The solution ID, workspace ID, etc + * Describe whether this data type connection is enabled or not. */ - sourceId?: pulumi.Input; + state: pulumi.Input; } /** - * Support information for the content item. + * Describes external reference */ - export interface MetadataSupportArgs { + export interface ThreatIntelligenceExternalReferenceArgs { /** - * Email of support contact + * External reference description */ - email?: pulumi.Input; + description?: pulumi.Input; /** - * Link for support help, like to support page to open a ticket etc. + * External reference ID */ - link?: pulumi.Input; + externalId?: pulumi.Input; /** - * Name of the support contact. Company or person. + * External reference hashes */ - name?: pulumi.Input; + hashes?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * Type of support for content item + * External reference source name */ - tier: pulumi.Input; - } - - } - - export namespace v20230301preview { - /** - * Represents an incident label - */ - export interface IncidentLabelArgs { + sourceName?: pulumi.Input; /** - * The name of the label + * External reference URL */ - labelName: pulumi.Input; + url?: pulumi.Input; } /** - * Information on the user an incident is assigned to + * Describes threat granular marking model entity */ - export interface IncidentOwnerInfoArgs { - /** - * The name of the user the incident is assigned to. - */ - assignedTo?: pulumi.Input; - /** - * The email of the user the incident is assigned to. - */ - email?: pulumi.Input; - /** - * The object id of the user the incident is assigned to. - */ - objectId?: pulumi.Input; - /** - * The type of the owner the incident is assigned to. - */ - ownerType?: pulumi.Input; + export interface ThreatIntelligenceGranularMarkingModelArgs { /** - * The user principal name of the user the incident is assigned to. + * Language granular marking model */ - userPrincipalName?: pulumi.Input; - } - - } - - export namespace v20230401preview { - } - - export namespace v20230501preview { - /** - * Resources created in Azure DevOps repository. - */ - export interface AzureDevOpsResourceInfoArgs { + language?: pulumi.Input; /** - * Id of the pipeline created for the source-control. + * marking reference granular marking model */ - pipelineId?: pulumi.Input; + markingRef?: pulumi.Input; /** - * Id of the service-connection created for the source-control. + * granular marking model selectors */ - serviceConnectionId?: pulumi.Input; + selectors?: pulumi.Input[]>; } /** - * The mapping of content type to a repo path. + * Describes threat kill chain phase entity */ - export interface ContentPathMapArgs { + export interface ThreatIntelligenceKillChainPhaseArgs { /** - * Content type. + * Kill chainName name */ - contentType?: pulumi.Input; + killChainName?: pulumi.Input; /** - * The path to the content. + * Phase name */ - path?: pulumi.Input; + phaseName?: pulumi.Input; } /** - * Description about a deployment. + * Describes parsed pattern entity */ - export interface DeploymentArgs { - /** - * Deployment identifier. - */ - deploymentId?: pulumi.Input; - /** - * Url to access repository action logs. - */ - deploymentLogsUrl?: pulumi.Input; - /** - * The outcome of the deployment. - */ - deploymentResult?: pulumi.Input; + export interface ThreatIntelligenceParsedPatternArgs { /** - * Current status of the deployment. + * Pattern type key */ - deploymentState?: pulumi.Input; + patternTypeKey?: pulumi.Input; /** - * The time when the deployment finished. + * Pattern type keys */ - deploymentTime?: pulumi.Input; + patternTypeValues?: pulumi.Input[]>; } /** - * Information regarding a deployment. + * Describes threat kill chain phase entity */ - export interface DeploymentInfoArgs { - /** - * Deployment information. - */ - deployment?: pulumi.Input; + export interface ThreatIntelligenceParsedPatternTypeValueArgs { /** - * Status while fetching the last deployment. + * Value of parsed pattern */ - deploymentFetchStatus?: pulumi.Input; + value?: pulumi.Input; /** - * Additional details about the deployment that can be shown to the user. + * Type of the value */ - message?: pulumi.Input; + valueType?: pulumi.Input; } /** - * Resources created in GitHub repository. + * The available data types for Threat Intelligence TAXII data connector. */ - export interface GitHubResourceInfoArgs { + export interface TiTaxiiDataConnectorDataTypesArgs { /** - * GitHub application installation id. + * Data type for TAXII connector. */ - appInstallationId?: pulumi.Input; + taxiiClient: pulumi.Input; } /** - * metadata of a repository. + * Data type for TAXII connector. */ - export interface RepositoryArgs { - /** - * Branch name of repository. - */ - branch?: pulumi.Input; - /** - * Url to access repository action logs. - */ - deploymentLogsUrl?: pulumi.Input; - /** - * Display url of repository. - */ - displayUrl?: pulumi.Input; - /** - * Dictionary of source control content type and path mapping. - */ - pathMapping?: pulumi.Input[]>; + export interface TiTaxiiDataConnectorDataTypesTaxiiClientArgs { /** - * Url of repository. + * Describe whether this data type connection is enabled or not. */ - url?: pulumi.Input; + state: pulumi.Input; } /** - * Resources created in user's repository for the source-control. + * User information that made some action */ - export interface RepositoryResourceInfoArgs { - /** - * Resources created in Azure DevOps for this source-control. - */ - azureDevOpsResourceInfo?: pulumi.Input; - /** - * Resources created in GitHub for this source-control. - */ - gitHubResourceInfo?: pulumi.Input; + export interface UserInfoArgs { /** - * The webhook object created for the source-control. + * The object id of the user. */ - webhook?: pulumi.Input; + objectId?: pulumi.Input; } /** - * Detail about the webhook object. + * User information that made some action */ - export interface WebhookArgs { - /** - * A flag to instruct the backend service to rotate webhook secret. - */ - rotateWebhookSecret?: pulumi.Input; - /** - * Unique identifier for the webhook. - */ - webhookId?: pulumi.Input; - /** - * Time when the webhook secret was updated. - */ - webhookSecretUpdateTime?: pulumi.Input; + export interface WatchlistUserInfoArgs { /** - * URL that gets invoked by the webhook. + * The object id of the user. */ - webhookUrl?: pulumi.Input; + objectId?: pulumi.Input; } } - export namespace v20230601preview { + export namespace v20230701preview { /** * The Activity query definitions */ @@ -345912,7 +356315,7 @@ export namespace securityinsights { /** * List of additional dynamic properties to override */ - alertDynamicProperties?: pulumi.Input[]>; + alertDynamicProperties?: pulumi.Input[]>; /** * the column name to take the alert severity from */ @@ -345930,7 +356333,7 @@ export namespace securityinsights { /** * The V3 alert property */ - alertProperty?: pulumi.Input; + alertProperty?: pulumi.Input; /** * the column name to use to override this property */ @@ -345944,7 +356347,7 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: pulumi.Input; + alerts: pulumi.Input; } /** @@ -345961,7 +356364,7 @@ export namespace securityinsights { * Describes an automation rule action to add a task to an incident */ export interface AutomationRuleAddIncidentTaskActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'AddIncidentTask'. @@ -345971,15 +356374,15 @@ export namespace securityinsights { } export interface AutomationRuleBooleanConditionArgs { - innerConditions?: pulumi.Input[]>; - operator?: pulumi.Input; + innerConditions?: pulumi.Input[]>; + operator?: pulumi.Input; } /** * Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'ModifyProperties'. @@ -345989,29 +356392,29 @@ export namespace securityinsights { } export interface AutomationRulePropertyArrayChangedValuesConditionArgs { - arrayType?: pulumi.Input; - changeType?: pulumi.Input; + arrayType?: pulumi.Input; + changeType?: pulumi.Input; } export interface AutomationRulePropertyArrayValuesConditionArgs { - arrayConditionType?: pulumi.Input; - arrayType?: pulumi.Input; - itemConditions?: pulumi.Input[]>; + arrayConditionType?: pulumi.Input; + arrayType?: pulumi.Input; + itemConditions?: pulumi.Input[]>; } export interface AutomationRulePropertyValuesChangedConditionArgs { - changeType?: pulumi.Input; - operator?: pulumi.Input; - propertyName?: pulumi.Input; + changeType?: pulumi.Input; + operator?: pulumi.Input; + propertyName?: pulumi.Input; propertyValues?: pulumi.Input[]>; } export interface AutomationRulePropertyValuesConditionArgs { - operator?: pulumi.Input; + operator?: pulumi.Input; /** * The property to evaluate in an automation rule property condition. */ - propertyName?: pulumi.Input; + propertyName?: pulumi.Input; propertyValues?: pulumi.Input[]>; } @@ -346019,7 +356422,7 @@ export namespace securityinsights { * Describes an automation rule action to run a playbook */ export interface AutomationRuleRunPlaybookActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'RunPlaybook'. @@ -346035,7 +356438,7 @@ export namespace securityinsights { /** * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - conditions?: pulumi.Input[]>; + conditions?: pulumi.Input[]>; /** * Determines when the automation rule should automatically expire and be disabled. */ @@ -346044,8 +356447,8 @@ export namespace securityinsights { * Determines whether the automation rule is enabled or disabled. */ isEnabled: pulumi.Input; - triggersOn: pulumi.Input; - triggersWhen: pulumi.Input; + triggersOn: pulumi.Input; + triggersWhen: pulumi.Input; } /** @@ -346069,7 +356472,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -346079,7 +356482,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346089,7 +356492,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -346099,7 +356502,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346113,14 +356516,14 @@ export namespace securityinsights { /** * Array of fields mapping for that entity type */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; } /** * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ export interface BooleanConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'Boolean'. @@ -346215,7 +356618,7 @@ export namespace securityinsights { /** * Describe the authentication type of the poller */ - auth: pulumi.Input; + auth: pulumi.Input; /** * The poller active status */ @@ -346223,15 +356626,15 @@ export namespace securityinsights { /** * Describe the poll request paging config of the poller */ - paging?: pulumi.Input; + paging?: pulumi.Input; /** * Describe the poll request config parameters of the poller */ - request: pulumi.Input; + request: pulumi.Input; /** * Describe the response config parameters of the poller */ - response?: pulumi.Input; + response?: pulumi.Input; } /** @@ -346359,11 +356762,11 @@ export namespace securityinsights { /** * Connector Availability Status */ - availability: pulumi.Input; + availability: pulumi.Input; /** * Define the way the connector check connectivity */ - connectivityCriteria: pulumi.Input[]>; + connectivityCriteria: pulumi.Input[]>; /** * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ @@ -346371,7 +356774,7 @@ export namespace securityinsights { /** * Data types to check for last data received */ - dataTypes: pulumi.Input[]>; + dataTypes: pulumi.Input[]>; /** * Connector description */ @@ -346379,7 +356782,7 @@ export namespace securityinsights { /** * The graph query to show the current data status */ - graphQueries: pulumi.Input[]>; + graphQueries: pulumi.Input[]>; /** * Name of the table the connector will insert the data to */ @@ -346387,11 +356790,11 @@ export namespace securityinsights { /** * Instruction steps to enable the connector */ - instructionSteps: pulumi.Input[]>; + instructionSteps: pulumi.Input[]>; /** * Permissions required for the connector */ - permissions: pulumi.Input; + permissions: pulumi.Input; /** * Connector publisher name */ @@ -346399,7 +356802,7 @@ export namespace securityinsights { /** * The sample queries for the connector */ - sampleQueries: pulumi.Input[]>; + sampleQueries: pulumi.Input[]>; /** * Connector blade title */ @@ -346410,7 +356813,7 @@ export namespace securityinsights { /** * type of connectivity */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Queries for checking connectivity */ @@ -346451,7 +356854,7 @@ export namespace securityinsights { /** * Instruction step details */ - instructions?: pulumi.Input[]>; + instructions?: pulumi.Input[]>; /** * Instruction step title */ @@ -346469,6 +356872,193 @@ export namespace securityinsights { query?: pulumi.Input; } + /** + * The criteria by which we determine whether the connector is connected or not. + * For Example, use a KQL query to check if the expected data type is flowing). + */ + export interface ConnectivityCriterionArgs { + /** + * Gets or sets the type of connectivity. + */ + type: pulumi.Input; + /** + * Gets or sets the queries for checking connectivity. + */ + value?: pulumi.Input[]>; + } + + /** + * The data type which is created by the connector, + * including a query indicated when was the last time that data type was received in the workspace. + */ + export interface ConnectorDataTypeArgs { + /** + * Gets or sets the query to indicate when relevant data was last received in the workspace. + */ + lastDataReceivedQuery: pulumi.Input; + /** + * Gets or sets the name of the data type to show in the graph. + */ + name: pulumi.Input; + } + + /** + * The exposure status of the connector to the customers. + */ + export interface ConnectorDefinitionsAvailabilityArgs { + /** + * Gets or sets a value indicating whether the connector is preview. + */ + isPreview?: pulumi.Input; + /** + * The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + */ + status?: pulumi.Input; + } + + /** + * The required Permissions for the connector. + */ + export interface ConnectorDefinitionsPermissionsArgs { + /** + * Gets or sets the customs permissions required for the user to create connections. + */ + customs?: pulumi.Input[]>; + /** + * Gets or sets the required licenses for the user to create connections. + */ + licenses?: pulumi.Input[]>; + /** + * Gets or sets the resource provider permissions required for the user to create connections. + */ + resourceProvider?: pulumi.Input[]>; + /** + * Gets or sets the required tenant permissions for the connector. + */ + tenant?: pulumi.Input[]>; + } + + /** + * The resource provider details include the required permissions for the user to create connections. + * The user should have the required permissions(Read\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + */ + export interface ConnectorDefinitionsResourceProviderArgs { + /** + * Gets or sets the permissions description text. + */ + permissionsDisplayText: pulumi.Input; + /** + * Gets or sets the provider name. + */ + provider: pulumi.Input; + /** + * Gets or sets the permissions provider display name. + */ + providerDisplayName: pulumi.Input; + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + requiredPermissions: pulumi.Input; + /** + * The scope on which the user should have permissions, in order to be able to create connections. + */ + scope: pulumi.Input; + } + + /** + * The Custom permissions required for the connector. + */ + export interface CustomPermissionDetailsArgs { + /** + * Gets or sets the custom permissions description. + */ + description: pulumi.Input; + /** + * Gets or sets the custom permissions name. + */ + name: pulumi.Input; + } + + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + export interface CustomizableConnectionsConfigArgs { + /** + * Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + */ + templateSpecName: pulumi.Input; + /** + * Gets or sets the template version. + */ + templateSpecVersion: pulumi.Input; + } + + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + export interface CustomizableConnectorUiConfigArgs { + /** + * The exposure status of the connector to the customers. + */ + availability?: pulumi.Input; + /** + * Gets or sets the way the connector checks whether the connector is connected. + */ + connectivityCriteria: pulumi.Input[]>; + /** + * Gets or sets the data types to check for last data received. + */ + dataTypes: pulumi.Input[]>; + /** + * Gets or sets the connector description in markdown format. + */ + descriptionMarkdown: pulumi.Input; + /** + * Gets or sets the graph queries to show the current data volume over time. + */ + graphQueries: pulumi.Input[]>; + /** + * Gets or sets the name of the table the connector will insert the data to. + * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + * in Query and LastDataReceivedQuery values. + */ + graphQueriesTableName?: pulumi.Input; + /** + * Gets or sets custom connector id. optional field. + */ + id?: pulumi.Input; + /** + * Gets or sets the instruction steps to enable the connector. + */ + instructionSteps: pulumi.Input[]>; + /** + * Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + */ + isConnectivityCriteriasMatchSome?: pulumi.Input; + /** + * Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + * The logo value should be in SVG format. + */ + logo?: pulumi.Input; + /** + * The required Permissions for the connector. + */ + permissions: pulumi.Input; + /** + * Gets or sets the connector publisher name. + */ + publisher: pulumi.Input; + /** + * Gets or sets the sample queries for the connector. + */ + sampleQueries: pulumi.Input[]>; + /** + * Gets or sets the connector blade title. + */ + title: pulumi.Input; + } + /** * The configuration of the destination of the data. */ @@ -346494,7 +357084,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346504,7 +357094,7 @@ export namespace securityinsights { /** * Common Data Service data type connection. */ - dynamics365CdsActivities: pulumi.Input; + dynamics365CdsActivities: pulumi.Input; } /** @@ -346514,7 +357104,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346538,11 +357128,11 @@ export namespace securityinsights { /** * The V3 type of the mapped entity */ - entityType?: pulumi.Input; + entityType?: pulumi.Input; /** * array of field mappings for the given entity mapping */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; } /** @@ -346552,7 +357142,7 @@ export namespace securityinsights { /** * The event grouping aggregation kinds */ - aggregationKind?: pulumi.Input; + aggregationKind?: pulumi.Input; } /** @@ -346576,7 +357166,7 @@ export namespace securityinsights { /** * The format of the file */ - fileFormat?: pulumi.Input; + fileFormat?: pulumi.Input; /** * The name of the file. */ @@ -346616,7 +357206,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: pulumi.Input[]>; + sourceSubTypes?: pulumi.Input[]>; } /** @@ -346630,7 +357220,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: pulumi.Input; + severityFilters: pulumi.Input; /** * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. */ @@ -346644,7 +357234,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: pulumi.Input[]>; + filters?: pulumi.Input[]>; } /** @@ -346658,7 +357248,7 @@ export namespace securityinsights { /** * The Severity for a given source subtype consumed in Fusion detection. */ - severity: pulumi.Input; + severity: pulumi.Input; } /** @@ -346693,6 +357283,25 @@ export namespace securityinsights { subscriptionNames: pulumi.Input[]>; } + /** + * The graph query to show the volume of data arriving into the workspace over time. + */ + export interface GraphQueryArgs { + /** + * Gets or sets the base query for the graph. + * The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + */ + baseQuery: pulumi.Input; + /** + * Gets or sets the legend for the graph. + */ + legend: pulumi.Input; + /** + * Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + */ + metricName: pulumi.Input; + } + /** * Grouping configuration property bag. */ @@ -346704,7 +357313,7 @@ export namespace securityinsights { /** * A list of alert details to group by (when matchingMethod is Selected) */ - groupByAlertDetails?: pulumi.Input[]>; + groupByAlertDetails?: pulumi.Input[]>; /** * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. */ @@ -346712,7 +357321,7 @@ export namespace securityinsights { /** * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. */ - groupByEntities?: pulumi.Input[]>; + groupByEntities?: pulumi.Input[]>; /** * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) */ @@ -346720,7 +357329,7 @@ export namespace securityinsights { /** * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. */ - matchingMethod: pulumi.Input; + matchingMethod: pulumi.Input; /** * Re-open closed matching incidents */ @@ -346746,7 +357355,7 @@ export namespace securityinsights { /** * The type of the owner the hunt is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the hunt is assigned to. */ @@ -346764,7 +357373,7 @@ export namespace securityinsights { /** * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - groupingConfiguration?: pulumi.Input; + groupingConfiguration?: pulumi.Input; } /** @@ -346782,7 +357391,7 @@ export namespace securityinsights { /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The title of the incident */ @@ -346818,7 +357427,7 @@ export namespace securityinsights { /** * The type of the owner the incident is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the incident is assigned to. */ @@ -346829,7 +357438,7 @@ export namespace securityinsights { /** * The reason the incident was closed */ - classification?: pulumi.Input; + classification?: pulumi.Input; /** * Describes the reason the incident was closed. */ @@ -346837,23 +357446,60 @@ export namespace securityinsights { /** * The classification reason the incident was closed with */ - classificationReason?: pulumi.Input; + classificationReason?: pulumi.Input; /** * List of labels to add to the incident. */ - labels?: pulumi.Input[]>; + labels?: pulumi.Input[]>; /** * Information on the user an incident is assigned to */ - owner?: pulumi.Input; + owner?: pulumi.Input; /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The status of the incident */ - status?: pulumi.Input; + status?: pulumi.Input; + } + + /** + * Instruction steps to enable the connector. + */ + export interface InstructionStepArgs { + /** + * Gets or sets the instruction step description. + */ + description?: pulumi.Input; + /** + * Gets or sets the inner instruction steps details. + * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + */ + innerSteps?: pulumi.Input[]>; + /** + * Gets or sets the instruction step details. + */ + instructions?: pulumi.Input[]>; + /** + * Gets or sets the instruction step title. + */ + title?: pulumi.Input; + } + + /** + * Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + */ + export interface InstructionStepDetailsArgs { + /** + * Gets or sets the instruction type parameters settings. + */ + parameters: any; + /** + * Gets or sets the instruction type name. + */ + type: pulumi.Input; } export interface InstructionStepsInstructionsArgs { @@ -346864,7 +357510,7 @@ export namespace securityinsights { /** * The kind of the setting */ - type: pulumi.Input; + type: pulumi.Input; } /** @@ -346874,11 +357520,11 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: pulumi.Input; + alerts: pulumi.Input; /** * Discovery log data type connection. */ - discoveryLogs?: pulumi.Input; + discoveryLogs?: pulumi.Input; } /** @@ -346888,7 +357534,7 @@ export namespace securityinsights { /** * Data type for Microsoft Threat Intelligence Platforms data connector. */ - microsoftEmergingThreatFeed: pulumi.Input; + microsoftEmergingThreatFeed: pulumi.Input; } /** @@ -346902,7 +357548,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346912,11 +357558,11 @@ export namespace securityinsights { /** * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - alerts?: pulumi.Input; + alerts?: pulumi.Input; /** * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - incidents: pulumi.Input; + incidents: pulumi.Input; } /** @@ -346926,7 +357572,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346936,7 +357582,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -346982,11 +357628,11 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Type of the content item we depend on */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * Name of the content item */ @@ -346994,7 +357640,7 @@ export namespace securityinsights { /** * Operator used for list of dependencies in criteria array. */ - operator?: pulumi.Input; + operator?: pulumi.Input; /** * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ @@ -347008,7 +357654,7 @@ export namespace securityinsights { /** * Source type of the content */ - kind: pulumi.Input; + kind: pulumi.Input; /** * Name of the content source. The repo name, solution name, LA workspace name etc. */ @@ -347038,7 +357684,7 @@ export namespace securityinsights { /** * Type of support for content item */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -347048,7 +357694,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -347058,7 +357704,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347068,7 +357714,7 @@ export namespace securityinsights { /** * Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. */ - alerts: pulumi.Input[]>; + alerts: pulumi.Input[]>; } /** @@ -347078,7 +357724,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -347088,7 +357734,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347098,15 +357744,15 @@ export namespace securityinsights { /** * Exchange data type connection. */ - exchange: pulumi.Input; + exchange: pulumi.Input; /** * SharePoint data type connection. */ - sharePoint: pulumi.Input; + sharePoint: pulumi.Input; /** * Teams data type connection. */ - teams: pulumi.Input; + teams: pulumi.Input; } /** @@ -347116,7 +357762,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347126,7 +357772,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347136,7 +357782,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347146,7 +357792,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -347156,7 +357802,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347166,11 +357812,11 @@ export namespace securityinsights { /** * Customs permissions required for the connector */ - customs?: pulumi.Input[]>; + customs?: pulumi.Input[]>; /** * Resource provider permissions required for the connector */ - resourceProvider?: pulumi.Input[]>; + resourceProvider?: pulumi.Input[]>; } export interface PermissionsCustomsArgs { @@ -347192,7 +357838,7 @@ export namespace securityinsights { /** * Provider name */ - provider?: pulumi.Input; + provider?: pulumi.Input; /** * Permission provider display name */ @@ -347200,11 +357846,11 @@ export namespace securityinsights { /** * Required permissions for the connector */ - requiredPermissions?: pulumi.Input; + requiredPermissions?: pulumi.Input; /** * Permission provider scope */ - scope?: pulumi.Input; + scope?: pulumi.Input; } export interface PlaybookActionPropertiesArgs { @@ -347222,7 +357868,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value change */ export interface PropertyArrayChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyArrayChanged'. @@ -347234,7 +357880,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value */ export interface PropertyArrayConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyArray'. @@ -347246,7 +357892,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value change */ export interface PropertyChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyChanged'. @@ -347258,7 +357904,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value */ export interface PropertyConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'Property'. @@ -347288,6 +357934,43 @@ export namespace securityinsights { write?: pulumi.Input; } + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + export interface ResourceProviderRequiredPermissionsArgs { + /** + * Gets or sets a value indicating whether the permission is custom actions (POST). + */ + action?: pulumi.Input; + /** + * Gets or sets a value indicating whether the permission is delete action (DELETE). + */ + delete?: pulumi.Input; + /** + * Gets or sets a value indicating whether the permission is read action (GET). + */ + read?: pulumi.Input; + /** + * Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + */ + write?: pulumi.Input; + } + + /** + * The sample queries for the connector. + */ + export interface SampleQueryArgs { + /** + * Gets or sets the sample query description. + */ + description: pulumi.Input; + /** + * Gets or sets the KQL sample query. + */ + query: pulumi.Input; + } + /** * security ml analytics settings data sources */ @@ -347319,7 +358002,7 @@ export namespace securityinsights { /** * Data type for indicators connection. */ - indicators: pulumi.Input; + indicators: pulumi.Input; } /** @@ -347329,7 +358012,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347401,7 +358084,7 @@ export namespace securityinsights { /** * Pattern type keys */ - patternTypeValues?: pulumi.Input[]>; + patternTypeValues?: pulumi.Input[]>; } /** @@ -347425,7 +358108,7 @@ export namespace securityinsights { /** * Data type for TAXII connector. */ - taxiiClient: pulumi.Input; + taxiiClient: pulumi.Input; } /** @@ -347435,7 +358118,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347460,7 +358143,7 @@ export namespace securityinsights { } - export namespace v20230701preview { + export namespace v20230801preview { /** * The Activity query definitions */ @@ -347497,7 +358180,7 @@ export namespace securityinsights { /** * List of additional dynamic properties to override */ - alertDynamicProperties?: pulumi.Input[]>; + alertDynamicProperties?: pulumi.Input[]>; /** * the column name to take the alert severity from */ @@ -347515,7 +358198,7 @@ export namespace securityinsights { /** * The V3 alert property */ - alertProperty?: pulumi.Input; + alertProperty?: pulumi.Input; /** * the column name to use to override this property */ @@ -347529,7 +358212,7 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: pulumi.Input; + alerts: pulumi.Input; } /** @@ -347546,7 +358229,7 @@ export namespace securityinsights { * Describes an automation rule action to add a task to an incident */ export interface AutomationRuleAddIncidentTaskActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'AddIncidentTask'. @@ -347556,15 +358239,15 @@ export namespace securityinsights { } export interface AutomationRuleBooleanConditionArgs { - innerConditions?: pulumi.Input[]>; - operator?: pulumi.Input; + innerConditions?: pulumi.Input[]>; + operator?: pulumi.Input; } /** * Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'ModifyProperties'. @@ -347574,29 +358257,29 @@ export namespace securityinsights { } export interface AutomationRulePropertyArrayChangedValuesConditionArgs { - arrayType?: pulumi.Input; - changeType?: pulumi.Input; + arrayType?: pulumi.Input; + changeType?: pulumi.Input; } export interface AutomationRulePropertyArrayValuesConditionArgs { - arrayConditionType?: pulumi.Input; - arrayType?: pulumi.Input; - itemConditions?: pulumi.Input[]>; + arrayConditionType?: pulumi.Input; + arrayType?: pulumi.Input; + itemConditions?: pulumi.Input[]>; } export interface AutomationRulePropertyValuesChangedConditionArgs { - changeType?: pulumi.Input; - operator?: pulumi.Input; - propertyName?: pulumi.Input; + changeType?: pulumi.Input; + operator?: pulumi.Input; + propertyName?: pulumi.Input; propertyValues?: pulumi.Input[]>; } export interface AutomationRulePropertyValuesConditionArgs { - operator?: pulumi.Input; + operator?: pulumi.Input; /** * The property to evaluate in an automation rule property condition. */ - propertyName?: pulumi.Input; + propertyName?: pulumi.Input; propertyValues?: pulumi.Input[]>; } @@ -347604,7 +358287,7 @@ export namespace securityinsights { * Describes an automation rule action to run a playbook */ export interface AutomationRuleRunPlaybookActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'RunPlaybook'. @@ -347620,7 +358303,7 @@ export namespace securityinsights { /** * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - conditions?: pulumi.Input[]>; + conditions?: pulumi.Input[]>; /** * Determines when the automation rule should automatically expire and be disabled. */ @@ -347629,8 +358312,8 @@ export namespace securityinsights { * Determines whether the automation rule is enabled or disabled. */ isEnabled: pulumi.Input; - triggersOn: pulumi.Input; - triggersWhen: pulumi.Input; + triggersOn: pulumi.Input; + triggersWhen: pulumi.Input; } /** @@ -347654,7 +358337,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -347664,7 +358347,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347674,7 +358357,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -347684,7 +358367,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -347698,14 +358381,14 @@ export namespace securityinsights { /** * Array of fields mapping for that entity type */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; } /** * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ export interface BooleanConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'Boolean'. @@ -347800,7 +358483,7 @@ export namespace securityinsights { /** * Describe the authentication type of the poller */ - auth: pulumi.Input; + auth: pulumi.Input; /** * The poller active status */ @@ -347808,15 +358491,15 @@ export namespace securityinsights { /** * Describe the poll request paging config of the poller */ - paging?: pulumi.Input; + paging?: pulumi.Input; /** * Describe the poll request config parameters of the poller */ - request: pulumi.Input; + request: pulumi.Input; /** * Describe the response config parameters of the poller */ - response?: pulumi.Input; + response?: pulumi.Input; } /** @@ -347944,11 +358627,11 @@ export namespace securityinsights { /** * Connector Availability Status */ - availability: pulumi.Input; + availability: pulumi.Input; /** * Define the way the connector check connectivity */ - connectivityCriteria: pulumi.Input[]>; + connectivityCriteria: pulumi.Input[]>; /** * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ @@ -347956,7 +358639,7 @@ export namespace securityinsights { /** * Data types to check for last data received */ - dataTypes: pulumi.Input[]>; + dataTypes: pulumi.Input[]>; /** * Connector description */ @@ -347964,7 +358647,7 @@ export namespace securityinsights { /** * The graph query to show the current data status */ - graphQueries: pulumi.Input[]>; + graphQueries: pulumi.Input[]>; /** * Name of the table the connector will insert the data to */ @@ -347972,11 +358655,11 @@ export namespace securityinsights { /** * Instruction steps to enable the connector */ - instructionSteps: pulumi.Input[]>; + instructionSteps: pulumi.Input[]>; /** * Permissions required for the connector */ - permissions: pulumi.Input; + permissions: pulumi.Input; /** * Connector publisher name */ @@ -347984,7 +358667,7 @@ export namespace securityinsights { /** * The sample queries for the connector */ - sampleQueries: pulumi.Input[]>; + sampleQueries: pulumi.Input[]>; /** * Connector blade title */ @@ -347995,7 +358678,7 @@ export namespace securityinsights { /** * type of connectivity */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Queries for checking connectivity */ @@ -348036,7 +358719,7 @@ export namespace securityinsights { /** * Instruction step details */ - instructions?: pulumi.Input[]>; + instructions?: pulumi.Input[]>; /** * Instruction step title */ @@ -348105,7 +358788,7 @@ export namespace securityinsights { /** * Gets or sets the customs permissions required for the user to create connections. */ - customs?: pulumi.Input[]>; + customs?: pulumi.Input[]>; /** * Gets or sets the required licenses for the user to create connections. */ @@ -348113,7 +358796,7 @@ export namespace securityinsights { /** * Gets or sets the resource provider permissions required for the user to create connections. */ - resourceProvider?: pulumi.Input[]>; + resourceProvider?: pulumi.Input[]>; /** * Gets or sets the required tenant permissions for the connector. */ @@ -348141,11 +358824,11 @@ export namespace securityinsights { * Required permissions for the connector resource provider that define in ResourceProviders. * For more information about the permissions see here. */ - requiredPermissions: pulumi.Input; + requiredPermissions: pulumi.Input; /** * The scope on which the user should have permissions, in order to be able to create connections. */ - scope: pulumi.Input; + scope: pulumi.Input; } /** @@ -348183,15 +358866,15 @@ export namespace securityinsights { /** * The exposure status of the connector to the customers. */ - availability?: pulumi.Input; + availability?: pulumi.Input; /** * Gets or sets the way the connector checks whether the connector is connected. */ - connectivityCriteria: pulumi.Input[]>; + connectivityCriteria: pulumi.Input[]>; /** * Gets or sets the data types to check for last data received. */ - dataTypes: pulumi.Input[]>; + dataTypes: pulumi.Input[]>; /** * Gets or sets the connector description in markdown format. */ @@ -348199,7 +358882,7 @@ export namespace securityinsights { /** * Gets or sets the graph queries to show the current data volume over time. */ - graphQueries: pulumi.Input[]>; + graphQueries: pulumi.Input[]>; /** * Gets or sets the name of the table the connector will insert the data to. * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder @@ -348213,7 +358896,7 @@ export namespace securityinsights { /** * Gets or sets the instruction steps to enable the connector. */ - instructionSteps: pulumi.Input[]>; + instructionSteps: pulumi.Input[]>; /** * Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. */ @@ -348226,7 +358909,7 @@ export namespace securityinsights { /** * The required Permissions for the connector. */ - permissions: pulumi.Input; + permissions: pulumi.Input; /** * Gets or sets the connector publisher name. */ @@ -348234,7 +358917,7 @@ export namespace securityinsights { /** * Gets or sets the sample queries for the connector. */ - sampleQueries: pulumi.Input[]>; + sampleQueries: pulumi.Input[]>; /** * Gets or sets the connector blade title. */ @@ -348266,7 +358949,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348276,7 +358959,7 @@ export namespace securityinsights { /** * Common Data Service data type connection. */ - dynamics365CdsActivities: pulumi.Input; + dynamics365CdsActivities: pulumi.Input; } /** @@ -348286,7 +358969,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348310,11 +358993,11 @@ export namespace securityinsights { /** * The V3 type of the mapped entity */ - entityType?: pulumi.Input; + entityType?: pulumi.Input; /** * array of field mappings for the given entity mapping */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; } /** @@ -348324,7 +359007,7 @@ export namespace securityinsights { /** * The event grouping aggregation kinds */ - aggregationKind?: pulumi.Input; + aggregationKind?: pulumi.Input; } /** @@ -348348,7 +359031,7 @@ export namespace securityinsights { /** * The format of the file */ - fileFormat?: pulumi.Input; + fileFormat?: pulumi.Input; /** * The name of the file. */ @@ -348388,7 +359071,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: pulumi.Input[]>; + sourceSubTypes?: pulumi.Input[]>; } /** @@ -348402,7 +359085,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: pulumi.Input; + severityFilters: pulumi.Input; /** * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. */ @@ -348416,7 +359099,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: pulumi.Input[]>; + filters?: pulumi.Input[]>; } /** @@ -348430,7 +359113,7 @@ export namespace securityinsights { /** * The Severity for a given source subtype consumed in Fusion detection. */ - severity: pulumi.Input; + severity: pulumi.Input; } /** @@ -348495,7 +359178,7 @@ export namespace securityinsights { /** * A list of alert details to group by (when matchingMethod is Selected) */ - groupByAlertDetails?: pulumi.Input[]>; + groupByAlertDetails?: pulumi.Input[]>; /** * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. */ @@ -348503,7 +359186,7 @@ export namespace securityinsights { /** * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. */ - groupByEntities?: pulumi.Input[]>; + groupByEntities?: pulumi.Input[]>; /** * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) */ @@ -348511,7 +359194,7 @@ export namespace securityinsights { /** * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. */ - matchingMethod: pulumi.Input; + matchingMethod: pulumi.Input; /** * Re-open closed matching incidents */ @@ -348537,7 +359220,7 @@ export namespace securityinsights { /** * The type of the owner the hunt is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the hunt is assigned to. */ @@ -348555,7 +359238,7 @@ export namespace securityinsights { /** * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - groupingConfiguration?: pulumi.Input; + groupingConfiguration?: pulumi.Input; } /** @@ -348573,7 +359256,7 @@ export namespace securityinsights { /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The title of the incident */ @@ -348609,7 +359292,7 @@ export namespace securityinsights { /** * The type of the owner the incident is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the incident is assigned to. */ @@ -348620,7 +359303,7 @@ export namespace securityinsights { /** * The reason the incident was closed */ - classification?: pulumi.Input; + classification?: pulumi.Input; /** * Describes the reason the incident was closed. */ @@ -348628,23 +359311,23 @@ export namespace securityinsights { /** * The classification reason the incident was closed with */ - classificationReason?: pulumi.Input; + classificationReason?: pulumi.Input; /** * List of labels to add to the incident. */ - labels?: pulumi.Input[]>; + labels?: pulumi.Input[]>; /** * Information on the user an incident is assigned to */ - owner?: pulumi.Input; + owner?: pulumi.Input; /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The status of the incident */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -348659,11 +359342,11 @@ export namespace securityinsights { * Gets or sets the inner instruction steps details. * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. */ - innerSteps?: pulumi.Input[]>; + innerSteps?: pulumi.Input[]>; /** * Gets or sets the instruction step details. */ - instructions?: pulumi.Input[]>; + instructions?: pulumi.Input[]>; /** * Gets or sets the instruction step title. */ @@ -348692,7 +359375,7 @@ export namespace securityinsights { /** * The kind of the setting */ - type: pulumi.Input; + type: pulumi.Input; } /** @@ -348702,11 +359385,11 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: pulumi.Input; + alerts: pulumi.Input; /** * Discovery log data type connection. */ - discoveryLogs?: pulumi.Input; + discoveryLogs?: pulumi.Input; } /** @@ -348716,7 +359399,7 @@ export namespace securityinsights { /** * Data type for Microsoft Threat Intelligence Platforms data connector. */ - microsoftEmergingThreatFeed: pulumi.Input; + microsoftEmergingThreatFeed: pulumi.Input; } /** @@ -348730,7 +359413,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348740,11 +359423,11 @@ export namespace securityinsights { /** * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - alerts?: pulumi.Input; + alerts?: pulumi.Input; /** * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - incidents: pulumi.Input; + incidents: pulumi.Input; } /** @@ -348754,7 +359437,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348764,7 +359447,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348810,11 +359493,11 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Type of the content item we depend on */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * Name of the content item */ @@ -348822,7 +359505,7 @@ export namespace securityinsights { /** * Operator used for list of dependencies in criteria array. */ - operator?: pulumi.Input; + operator?: pulumi.Input; /** * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ @@ -348836,7 +359519,7 @@ export namespace securityinsights { /** * Source type of the content */ - kind: pulumi.Input; + kind: pulumi.Input; /** * Name of the content source. The repo name, solution name, LA workspace name etc. */ @@ -348866,7 +359549,7 @@ export namespace securityinsights { /** * Type of support for content item */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -348876,7 +359559,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -348886,7 +359569,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348896,7 +359579,7 @@ export namespace securityinsights { /** * Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. */ - alerts: pulumi.Input[]>; + alerts: pulumi.Input[]>; } /** @@ -348906,7 +359589,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -348916,7 +359599,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348926,15 +359609,15 @@ export namespace securityinsights { /** * Exchange data type connection. */ - exchange: pulumi.Input; + exchange: pulumi.Input; /** * SharePoint data type connection. */ - sharePoint: pulumi.Input; + sharePoint: pulumi.Input; /** * Teams data type connection. */ - teams: pulumi.Input; + teams: pulumi.Input; } /** @@ -348944,7 +359627,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348954,7 +359637,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348964,7 +359647,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348974,7 +359657,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -348984,7 +359667,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -348994,11 +359677,11 @@ export namespace securityinsights { /** * Customs permissions required for the connector */ - customs?: pulumi.Input[]>; + customs?: pulumi.Input[]>; /** * Resource provider permissions required for the connector */ - resourceProvider?: pulumi.Input[]>; + resourceProvider?: pulumi.Input[]>; } export interface PermissionsCustomsArgs { @@ -349020,7 +359703,7 @@ export namespace securityinsights { /** * Provider name */ - provider?: pulumi.Input; + provider?: pulumi.Input; /** * Permission provider display name */ @@ -349028,11 +359711,11 @@ export namespace securityinsights { /** * Required permissions for the connector */ - requiredPermissions?: pulumi.Input; + requiredPermissions?: pulumi.Input; /** * Permission provider scope */ - scope?: pulumi.Input; + scope?: pulumi.Input; } export interface PlaybookActionPropertiesArgs { @@ -349050,7 +359733,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value change */ export interface PropertyArrayChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyArrayChanged'. @@ -349062,7 +359745,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value */ export interface PropertyArrayConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyArray'. @@ -349074,7 +359757,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value change */ export interface PropertyChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyChanged'. @@ -349086,7 +359769,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value */ export interface PropertyConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'Property'. @@ -349184,7 +359867,7 @@ export namespace securityinsights { /** * Data type for indicators connection. */ - indicators: pulumi.Input; + indicators: pulumi.Input; } /** @@ -349194,7 +359877,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -349266,7 +359949,7 @@ export namespace securityinsights { /** * Pattern type keys */ - patternTypeValues?: pulumi.Input[]>; + patternTypeValues?: pulumi.Input[]>; } /** @@ -349290,7 +359973,7 @@ export namespace securityinsights { /** * Data type for TAXII connector. */ - taxiiClient: pulumi.Input; + taxiiClient: pulumi.Input; } /** @@ -349300,7 +359983,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -349325,7 +360008,7 @@ export namespace securityinsights { } - export namespace v20230801preview { + export namespace v20230901preview { /** * The Activity query definitions */ @@ -349362,7 +360045,7 @@ export namespace securityinsights { /** * List of additional dynamic properties to override */ - alertDynamicProperties?: pulumi.Input[]>; + alertDynamicProperties?: pulumi.Input[]>; /** * the column name to take the alert severity from */ @@ -349380,7 +360063,7 @@ export namespace securityinsights { /** * The V3 alert property */ - alertProperty?: pulumi.Input; + alertProperty?: pulumi.Input; /** * the column name to use to override this property */ @@ -349394,7 +360077,7 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: pulumi.Input; + alerts: pulumi.Input; } /** @@ -349411,7 +360094,7 @@ export namespace securityinsights { * Describes an automation rule action to add a task to an incident */ export interface AutomationRuleAddIncidentTaskActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'AddIncidentTask'. @@ -349421,15 +360104,15 @@ export namespace securityinsights { } export interface AutomationRuleBooleanConditionArgs { - innerConditions?: pulumi.Input[]>; - operator?: pulumi.Input; + innerConditions?: pulumi.Input[]>; + operator?: pulumi.Input; } /** * Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'ModifyProperties'. @@ -349439,29 +360122,29 @@ export namespace securityinsights { } export interface AutomationRulePropertyArrayChangedValuesConditionArgs { - arrayType?: pulumi.Input; - changeType?: pulumi.Input; + arrayType?: pulumi.Input; + changeType?: pulumi.Input; } export interface AutomationRulePropertyArrayValuesConditionArgs { - arrayConditionType?: pulumi.Input; - arrayType?: pulumi.Input; - itemConditions?: pulumi.Input[]>; + arrayConditionType?: pulumi.Input; + arrayType?: pulumi.Input; + itemConditions?: pulumi.Input[]>; } export interface AutomationRulePropertyValuesChangedConditionArgs { - changeType?: pulumi.Input; - operator?: pulumi.Input; - propertyName?: pulumi.Input; + changeType?: pulumi.Input; + operator?: pulumi.Input; + propertyName?: pulumi.Input; propertyValues?: pulumi.Input[]>; } export interface AutomationRulePropertyValuesConditionArgs { - operator?: pulumi.Input; + operator?: pulumi.Input; /** * The property to evaluate in an automation rule property condition. */ - propertyName?: pulumi.Input; + propertyName?: pulumi.Input; propertyValues?: pulumi.Input[]>; } @@ -349469,7 +360152,7 @@ export namespace securityinsights { * Describes an automation rule action to run a playbook */ export interface AutomationRuleRunPlaybookActionArgs { - actionConfiguration?: pulumi.Input; + actionConfiguration?: pulumi.Input; /** * The type of the automation rule action. * Expected value is 'RunPlaybook'. @@ -349485,7 +360168,7 @@ export namespace securityinsights { /** * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - conditions?: pulumi.Input[]>; + conditions?: pulumi.Input[]>; /** * Determines when the automation rule should automatically expire and be disabled. */ @@ -349494,8 +360177,8 @@ export namespace securityinsights { * Determines whether the automation rule is enabled or disabled. */ isEnabled: pulumi.Input; - triggersOn: pulumi.Input; - triggersWhen: pulumi.Input; + triggersOn: pulumi.Input; + triggersWhen: pulumi.Input; } /** @@ -349519,7 +360202,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -349529,7 +360212,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -349539,7 +360222,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -349549,7 +360232,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -349563,14 +360246,14 @@ export namespace securityinsights { /** * Array of fields mapping for that entity type */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; } /** * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ export interface BooleanConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'Boolean'. @@ -349665,7 +360348,7 @@ export namespace securityinsights { /** * Describe the authentication type of the poller */ - auth: pulumi.Input; + auth: pulumi.Input; /** * The poller active status */ @@ -349673,15 +360356,15 @@ export namespace securityinsights { /** * Describe the poll request paging config of the poller */ - paging?: pulumi.Input; + paging?: pulumi.Input; /** * Describe the poll request config parameters of the poller */ - request: pulumi.Input; + request: pulumi.Input; /** * Describe the response config parameters of the poller */ - response?: pulumi.Input; + response?: pulumi.Input; } /** @@ -349809,11 +360492,11 @@ export namespace securityinsights { /** * Connector Availability Status */ - availability: pulumi.Input; + availability: pulumi.Input; /** * Define the way the connector check connectivity */ - connectivityCriteria: pulumi.Input[]>; + connectivityCriteria: pulumi.Input[]>; /** * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ @@ -349821,7 +360504,7 @@ export namespace securityinsights { /** * Data types to check for last data received */ - dataTypes: pulumi.Input[]>; + dataTypes: pulumi.Input[]>; /** * Connector description */ @@ -349829,7 +360512,7 @@ export namespace securityinsights { /** * The graph query to show the current data status */ - graphQueries: pulumi.Input[]>; + graphQueries: pulumi.Input[]>; /** * Name of the table the connector will insert the data to */ @@ -349837,11 +360520,11 @@ export namespace securityinsights { /** * Instruction steps to enable the connector */ - instructionSteps: pulumi.Input[]>; + instructionSteps: pulumi.Input[]>; /** * Permissions required for the connector */ - permissions: pulumi.Input; + permissions: pulumi.Input; /** * Connector publisher name */ @@ -349849,7 +360532,7 @@ export namespace securityinsights { /** * The sample queries for the connector */ - sampleQueries: pulumi.Input[]>; + sampleQueries: pulumi.Input[]>; /** * Connector blade title */ @@ -349860,7 +360543,7 @@ export namespace securityinsights { /** * type of connectivity */ - type?: pulumi.Input; + type?: pulumi.Input; /** * Queries for checking connectivity */ @@ -349901,7 +360584,7 @@ export namespace securityinsights { /** * Instruction step details */ - instructions?: pulumi.Input[]>; + instructions?: pulumi.Input[]>; /** * Instruction step title */ @@ -349970,7 +360653,7 @@ export namespace securityinsights { /** * Gets or sets the customs permissions required for the user to create connections. */ - customs?: pulumi.Input[]>; + customs?: pulumi.Input[]>; /** * Gets or sets the required licenses for the user to create connections. */ @@ -349978,7 +360661,7 @@ export namespace securityinsights { /** * Gets or sets the resource provider permissions required for the user to create connections. */ - resourceProvider?: pulumi.Input[]>; + resourceProvider?: pulumi.Input[]>; /** * Gets or sets the required tenant permissions for the connector. */ @@ -350006,11 +360689,11 @@ export namespace securityinsights { * Required permissions for the connector resource provider that define in ResourceProviders. * For more information about the permissions see here. */ - requiredPermissions: pulumi.Input; + requiredPermissions: pulumi.Input; /** * The scope on which the user should have permissions, in order to be able to create connections. */ - scope: pulumi.Input; + scope: pulumi.Input; } /** @@ -350048,15 +360731,15 @@ export namespace securityinsights { /** * The exposure status of the connector to the customers. */ - availability?: pulumi.Input; + availability?: pulumi.Input; /** * Gets or sets the way the connector checks whether the connector is connected. */ - connectivityCriteria: pulumi.Input[]>; + connectivityCriteria: pulumi.Input[]>; /** * Gets or sets the data types to check for last data received. */ - dataTypes: pulumi.Input[]>; + dataTypes: pulumi.Input[]>; /** * Gets or sets the connector description in markdown format. */ @@ -350064,7 +360747,7 @@ export namespace securityinsights { /** * Gets or sets the graph queries to show the current data volume over time. */ - graphQueries: pulumi.Input[]>; + graphQueries: pulumi.Input[]>; /** * Gets or sets the name of the table the connector will insert the data to. * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder @@ -350078,7 +360761,7 @@ export namespace securityinsights { /** * Gets or sets the instruction steps to enable the connector. */ - instructionSteps: pulumi.Input[]>; + instructionSteps: pulumi.Input[]>; /** * Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. */ @@ -350091,7 +360774,7 @@ export namespace securityinsights { /** * The required Permissions for the connector. */ - permissions: pulumi.Input; + permissions: pulumi.Input; /** * Gets or sets the connector publisher name. */ @@ -350099,7 +360782,7 @@ export namespace securityinsights { /** * Gets or sets the sample queries for the connector. */ - sampleQueries: pulumi.Input[]>; + sampleQueries: pulumi.Input[]>; /** * Gets or sets the connector blade title. */ @@ -350131,7 +360814,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350141,7 +360824,7 @@ export namespace securityinsights { /** * Common Data Service data type connection. */ - dynamics365CdsActivities: pulumi.Input; + dynamics365CdsActivities: pulumi.Input; } /** @@ -350151,7 +360834,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350175,11 +360858,11 @@ export namespace securityinsights { /** * The V3 type of the mapped entity */ - entityType?: pulumi.Input; + entityType?: pulumi.Input; /** * array of field mappings for the given entity mapping */ - fieldMappings?: pulumi.Input[]>; + fieldMappings?: pulumi.Input[]>; } /** @@ -350189,7 +360872,7 @@ export namespace securityinsights { /** * The event grouping aggregation kinds */ - aggregationKind?: pulumi.Input; + aggregationKind?: pulumi.Input; } /** @@ -350213,7 +360896,7 @@ export namespace securityinsights { /** * The format of the file */ - fileFormat?: pulumi.Input; + fileFormat?: pulumi.Input; /** * The name of the file. */ @@ -350253,7 +360936,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: pulumi.Input[]>; + sourceSubTypes?: pulumi.Input[]>; } /** @@ -350267,7 +360950,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: pulumi.Input; + severityFilters: pulumi.Input; /** * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. */ @@ -350281,7 +360964,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: pulumi.Input[]>; + filters?: pulumi.Input[]>; } /** @@ -350295,7 +360978,7 @@ export namespace securityinsights { /** * The Severity for a given source subtype consumed in Fusion detection. */ - severity: pulumi.Input; + severity: pulumi.Input; } /** @@ -350360,7 +361043,7 @@ export namespace securityinsights { /** * A list of alert details to group by (when matchingMethod is Selected) */ - groupByAlertDetails?: pulumi.Input[]>; + groupByAlertDetails?: pulumi.Input[]>; /** * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. */ @@ -350368,7 +361051,7 @@ export namespace securityinsights { /** * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. */ - groupByEntities?: pulumi.Input[]>; + groupByEntities?: pulumi.Input[]>; /** * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) */ @@ -350376,7 +361059,7 @@ export namespace securityinsights { /** * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. */ - matchingMethod: pulumi.Input; + matchingMethod: pulumi.Input; /** * Re-open closed matching incidents */ @@ -350402,7 +361085,7 @@ export namespace securityinsights { /** * The type of the owner the hunt is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the hunt is assigned to. */ @@ -350420,7 +361103,7 @@ export namespace securityinsights { /** * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - groupingConfiguration?: pulumi.Input; + groupingConfiguration?: pulumi.Input; } /** @@ -350438,7 +361121,7 @@ export namespace securityinsights { /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The title of the incident */ @@ -350474,7 +361157,7 @@ export namespace securityinsights { /** * The type of the owner the incident is assigned to. */ - ownerType?: pulumi.Input; + ownerType?: pulumi.Input; /** * The user principal name of the user the incident is assigned to. */ @@ -350485,7 +361168,7 @@ export namespace securityinsights { /** * The reason the incident was closed */ - classification?: pulumi.Input; + classification?: pulumi.Input; /** * Describes the reason the incident was closed. */ @@ -350493,23 +361176,23 @@ export namespace securityinsights { /** * The classification reason the incident was closed with */ - classificationReason?: pulumi.Input; + classificationReason?: pulumi.Input; /** * List of labels to add to the incident. */ - labels?: pulumi.Input[]>; + labels?: pulumi.Input[]>; /** * Information on the user an incident is assigned to */ - owner?: pulumi.Input; + owner?: pulumi.Input; /** * The severity of the incident */ - severity?: pulumi.Input; + severity?: pulumi.Input; /** * The status of the incident */ - status?: pulumi.Input; + status?: pulumi.Input; } /** @@ -350524,11 +361207,11 @@ export namespace securityinsights { * Gets or sets the inner instruction steps details. * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. */ - innerSteps?: pulumi.Input[]>; + innerSteps?: pulumi.Input[]>; /** * Gets or sets the instruction step details. */ - instructions?: pulumi.Input[]>; + instructions?: pulumi.Input[]>; /** * Gets or sets the instruction step title. */ @@ -350557,7 +361240,7 @@ export namespace securityinsights { /** * The kind of the setting */ - type: pulumi.Input; + type: pulumi.Input; } /** @@ -350567,11 +361250,11 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: pulumi.Input; + alerts: pulumi.Input; /** * Discovery log data type connection. */ - discoveryLogs?: pulumi.Input; + discoveryLogs?: pulumi.Input; } /** @@ -350581,7 +361264,7 @@ export namespace securityinsights { /** * Data type for Microsoft Threat Intelligence Platforms data connector. */ - microsoftEmergingThreatFeed: pulumi.Input; + microsoftEmergingThreatFeed: pulumi.Input; } /** @@ -350595,7 +361278,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350605,11 +361288,11 @@ export namespace securityinsights { /** * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - alerts?: pulumi.Input; + alerts?: pulumi.Input; /** * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - incidents: pulumi.Input; + incidents: pulumi.Input; } /** @@ -350619,7 +361302,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350629,7 +361312,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350675,11 +361358,11 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: pulumi.Input[]>; + criteria?: pulumi.Input[]>; /** * Type of the content item we depend on */ - kind?: pulumi.Input; + kind?: pulumi.Input; /** * Name of the content item */ @@ -350687,7 +361370,7 @@ export namespace securityinsights { /** * Operator used for list of dependencies in criteria array. */ - operator?: pulumi.Input; + operator?: pulumi.Input; /** * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ @@ -350701,7 +361384,7 @@ export namespace securityinsights { /** * Source type of the content */ - kind: pulumi.Input; + kind: pulumi.Input; /** * Name of the content source. The repo name, solution name, LA workspace name etc. */ @@ -350731,7 +361414,7 @@ export namespace securityinsights { /** * Type of support for content item */ - tier: pulumi.Input; + tier: pulumi.Input; } /** @@ -350741,7 +361424,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -350751,7 +361434,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350761,7 +361444,7 @@ export namespace securityinsights { /** * Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. */ - alerts: pulumi.Input[]>; + alerts: pulumi.Input[]>; } /** @@ -350771,7 +361454,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -350781,7 +361464,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350791,15 +361474,15 @@ export namespace securityinsights { /** * Exchange data type connection. */ - exchange: pulumi.Input; + exchange: pulumi.Input; /** * SharePoint data type connection. */ - sharePoint: pulumi.Input; + sharePoint: pulumi.Input; /** * Teams data type connection. */ - teams: pulumi.Input; + teams: pulumi.Input; } /** @@ -350809,7 +361492,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350819,7 +361502,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350829,7 +361512,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350839,7 +361522,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: pulumi.Input; + logs: pulumi.Input; } /** @@ -350849,7 +361532,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -350859,11 +361542,11 @@ export namespace securityinsights { /** * Customs permissions required for the connector */ - customs?: pulumi.Input[]>; + customs?: pulumi.Input[]>; /** * Resource provider permissions required for the connector */ - resourceProvider?: pulumi.Input[]>; + resourceProvider?: pulumi.Input[]>; } export interface PermissionsCustomsArgs { @@ -350885,7 +361568,7 @@ export namespace securityinsights { /** * Provider name */ - provider?: pulumi.Input; + provider?: pulumi.Input; /** * Permission provider display name */ @@ -350893,11 +361576,11 @@ export namespace securityinsights { /** * Required permissions for the connector */ - requiredPermissions?: pulumi.Input; + requiredPermissions?: pulumi.Input; /** * Permission provider scope */ - scope?: pulumi.Input; + scope?: pulumi.Input; } export interface PlaybookActionPropertiesArgs { @@ -350915,7 +361598,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value change */ export interface PropertyArrayChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyArrayChanged'. @@ -350927,7 +361610,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value */ export interface PropertyArrayConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyArray'. @@ -350939,7 +361622,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value change */ export interface PropertyChangedConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'PropertyChanged'. @@ -350951,7 +361634,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value */ export interface PropertyConditionPropertiesArgs { - conditionProperties?: pulumi.Input; + conditionProperties?: pulumi.Input; /** * * Expected value is 'Property'. @@ -351049,7 +361732,7 @@ export namespace securityinsights { /** * Data type for indicators connection. */ - indicators: pulumi.Input; + indicators: pulumi.Input; } /** @@ -351059,7 +361742,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -351131,7 +361814,7 @@ export namespace securityinsights { /** * Pattern type keys */ - patternTypeValues?: pulumi.Input[]>; + patternTypeValues?: pulumi.Input[]>; } /** @@ -351155,7 +361838,7 @@ export namespace securityinsights { /** * Data type for TAXII connector. */ - taxiiClient: pulumi.Input; + taxiiClient: pulumi.Input; } /** @@ -351165,7 +361848,7 @@ export namespace securityinsights { /** * Describe whether this data type connection is enabled or not. */ - state: pulumi.Input; + state: pulumi.Input; } /** @@ -368854,6 +379537,159 @@ export namespace storage { } } +export namespace storageactions { + /** + * The else block of storage task operation + */ + export interface ElseConditionArgs { + /** + * List of operations to execute in the else block + */ + operations: pulumi.Input[]>; + } + + /** + * The if block of storage task operation + */ + export interface IfConditionArgs { + /** + * The condition predicate which is composed of object properties, eg: blob and container properties. + */ + condition: pulumi.Input; + /** + * List of operations to execute when the condition predicate satisfies. + */ + operations: pulumi.Input[]>; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityArgs { + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The storage task action represents conditional statements and operations to be performed on target objects. + */ + export interface StorageTaskActionArgs { + /** + * The else block of storage task operation + */ + else?: pulumi.Input; + /** + * The if block of storage task operation + */ + if: pulumi.Input; + } + + /** + * Represents an operation to be performed on the object + */ + export interface StorageTaskOperationArgs { + /** + * The operation to be performed on the object. + */ + name: pulumi.Input; + /** + * Action to be taken when the operation fails for a object. + */ + onFailure?: pulumi.Input; + /** + * Action to be taken when the operation is successful for a object. + */ + onSuccess?: pulumi.Input; + /** + * Key-value parameters for the operation. + */ + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + export namespace v20230101 { + /** + * The else block of storage task operation + */ + export interface ElseConditionArgs { + /** + * List of operations to execute in the else block + */ + operations: pulumi.Input[]>; + } + + /** + * The if block of storage task operation + */ + export interface IfConditionArgs { + /** + * The condition predicate which is composed of object properties, eg: blob and container properties. + */ + condition: pulumi.Input; + /** + * List of operations to execute when the condition predicate satisfies. + */ + operations: pulumi.Input[]>; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityArgs { + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The storage task action represents conditional statements and operations to be performed on target objects. + */ + export interface StorageTaskActionArgs { + /** + * The else block of storage task operation + */ + else?: pulumi.Input; + /** + * The if block of storage task operation + */ + if: pulumi.Input; + } + + /** + * Represents an operation to be performed on the object + */ + export interface StorageTaskOperationArgs { + /** + * The operation to be performed on the object. + */ + name: pulumi.Input; + /** + * Action to be taken when the operation fails for a object. + */ + onFailure?: pulumi.Input; + /** + * Action to be taken when the operation is successful for a object. + */ + onSuccess?: pulumi.Input; + /** + * Key-value parameters for the operation. + */ + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; + } + + } +} + export namespace storagecache { /** * AML file system encryption settings. @@ -371119,159 +381955,6 @@ export namespace storagesync { } } -export namespace storagetasks { - /** - * The else block of storage task operation - */ - export interface ElseConditionArgs { - /** - * List of operations to execute in the else block - */ - operations: pulumi.Input[]>; - } - - /** - * The if block of storage task operation - */ - export interface IfConditionArgs { - /** - * The condition predicate which is composed of object properties, eg: blob and container properties. - */ - condition: pulumi.Input; - /** - * List of operations to execute when the condition predicate satisfies. - */ - operations: pulumi.Input[]>; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityArgs { - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: pulumi.Input; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - - /** - * The storage task action represents conditional statements and operations to be performed on target objects. - */ - export interface StorageTaskActionArgs { - /** - * The else block of storage task operation - */ - else?: pulumi.Input; - /** - * The if block of storage task operation - */ - if: pulumi.Input; - } - - /** - * Represents an operation to be performed on the object - */ - export interface StorageTaskOperationArgs { - /** - * The operation to be performed on the object. - */ - name: pulumi.Input; - /** - * Action to be taken when the operation fails for a object. - */ - onFailure?: pulumi.Input; - /** - * Action to be taken when the operation is successful for a object. - */ - onSuccess?: pulumi.Input; - /** - * Key-value parameters for the operation. - */ - parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; - } - - export namespace v20230101 { - /** - * The else block of storage task operation - */ - export interface ElseConditionArgs { - /** - * List of operations to execute in the else block - */ - operations: pulumi.Input[]>; - } - - /** - * The if block of storage task operation - */ - export interface IfConditionArgs { - /** - * The condition predicate which is composed of object properties, eg: blob and container properties. - */ - condition: pulumi.Input; - /** - * List of operations to execute when the condition predicate satisfies. - */ - operations: pulumi.Input[]>; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityArgs { - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: pulumi.Input; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: pulumi.Input[]>; - } - - /** - * The storage task action represents conditional statements and operations to be performed on target objects. - */ - export interface StorageTaskActionArgs { - /** - * The else block of storage task operation - */ - else?: pulumi.Input; - /** - * The if block of storage task operation - */ - if: pulumi.Input; - } - - /** - * Represents an operation to be performed on the object - */ - export interface StorageTaskOperationArgs { - /** - * The operation to be performed on the object. - */ - name: pulumi.Input; - /** - * Action to be taken when the operation fails for a object. - */ - onFailure?: pulumi.Input; - /** - * Action to be taken when the operation is successful for a object. - */ - onSuccess?: pulumi.Input; - /** - * Key-value parameters for the operation. - */ - parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; - } - - } -} - export namespace storsimple { /** * Represent the secrets intended for encryption with asymmetric key pair. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index e0d71159fce1..42e6eb1d8a2f 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -48321,6 +48321,15 @@ export namespace batch { */ virtualMachineConfiguration?: outputs.batch.VirtualMachineConfigurationResponse; } + /** + * deploymentConfigurationResponseProvideDefaults sets the appropriate defaults for DeploymentConfigurationResponse + */ + export function deploymentConfigurationResponseProvideDefaults(val: DeploymentConfigurationResponse): DeploymentConfigurationResponse { + return { + ...val, + virtualMachineConfiguration: (val.virtualMachineConfiguration ? outputs.batch.virtualMachineConfigurationResponseProvideDefaults(val.virtualMachineConfiguration) : undefined), + }; + } export interface DiffDiskSettingsResponse { /** @@ -48386,6 +48395,15 @@ export namespace batch { */ targetLowPriorityNodes?: number; } + /** + * fixedScaleSettingsResponseProvideDefaults sets the appropriate defaults for FixedScaleSettingsResponse + */ + export function fixedScaleSettingsResponseProvideDefaults(val: FixedScaleSettingsResponse): FixedScaleSettingsResponse { + return { + ...val, + resizeTimeout: (val.resizeTimeout) ?? "PT15M", + }; + } /** * Rule to filter client IP address. @@ -48423,6 +48441,15 @@ export namespace batch { */ version?: string; } + /** + * imageReferenceResponseProvideDefaults sets the appropriate defaults for ImageReferenceResponse + */ + export function imageReferenceResponseProvideDefaults(val: ImageReferenceResponse): ImageReferenceResponse { + return { + ...val, + version: (val.version) ?? "latest", + }; + } export interface InboundNatPoolResponse { /** @@ -48552,6 +48579,15 @@ export namespace batch { */ subnetId?: string; } + /** + * networkConfigurationResponseProvideDefaults sets the appropriate defaults for NetworkConfigurationResponse + */ + export function networkConfigurationResponseProvideDefaults(val: NetworkConfigurationResponse): NetworkConfigurationResponse { + return { + ...val, + dynamicVnetAssignmentScope: (val.dynamicVnetAssignmentScope) ?? "none", + }; + } /** * Network profile for Batch account, which contains network rule settings for each endpoint. @@ -48746,6 +48782,15 @@ export namespace batch { */ fixedScale?: outputs.batch.FixedScaleSettingsResponse; } + /** + * scaleSettingsResponseProvideDefaults sets the appropriate defaults for ScaleSettingsResponse + */ + export function scaleSettingsResponseProvideDefaults(val: ScaleSettingsResponse): ScaleSettingsResponse { + return { + ...val, + fixedScale: (val.fixedScale ? outputs.batch.fixedScaleSettingsResponseProvideDefaults(val.fixedScale) : undefined), + }; + } /** * In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. @@ -48761,7 +48806,7 @@ export namespace batch { containerSettings?: outputs.batch.TaskContainerSettingsResponse; environmentSettings?: outputs.batch.EnvironmentSettingResponse[]; /** - * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. */ maxTaskRetryCount?: number; resourceFiles?: outputs.batch.ResourceFileResponse[]; @@ -48774,6 +48819,15 @@ export namespace batch { */ waitForSuccess?: boolean; } + /** + * startTaskResponseProvideDefaults sets the appropriate defaults for StartTaskResponse + */ + export function startTaskResponseProvideDefaults(val: StartTaskResponse): StartTaskResponse { + return { + ...val, + maxTaskRetryCount: (val.maxTaskRetryCount) ?? 0, + }; + } export interface TaskContainerSettingsResponse { /** @@ -48794,6 +48848,15 @@ export namespace batch { export interface TaskSchedulingPolicyResponse { nodeFillType: string; } + /** + * taskSchedulingPolicyResponseProvideDefaults sets the appropriate defaults for TaskSchedulingPolicyResponse + */ + export function taskSchedulingPolicyResponseProvideDefaults(val: TaskSchedulingPolicyResponse): TaskSchedulingPolicyResponse { + return { + ...val, + nodeFillType: (val.nodeFillType) ?? "Spread", + }; + } export interface UserAccountResponse { /** @@ -48906,6 +48969,15 @@ export namespace batch { */ windowsConfiguration?: outputs.batch.WindowsConfigurationResponse; } + /** + * virtualMachineConfigurationResponseProvideDefaults sets the appropriate defaults for VirtualMachineConfigurationResponse + */ + export function virtualMachineConfigurationResponseProvideDefaults(val: VirtualMachineConfigurationResponse): VirtualMachineConfigurationResponse { + return { + ...val, + imageReference: outputs.batch.imageReferenceResponseProvideDefaults(val.imageReference), + }; + } /** * A VM Family and its associated core quota for the Batch account. @@ -49415,6 +49487,15 @@ export namespace batch { */ virtualMachineConfiguration?: outputs.batch.v20230501.VirtualMachineConfigurationResponse; } + /** + * deploymentConfigurationResponseProvideDefaults sets the appropriate defaults for DeploymentConfigurationResponse + */ + export function deploymentConfigurationResponseProvideDefaults(val: DeploymentConfigurationResponse): DeploymentConfigurationResponse { + return { + ...val, + virtualMachineConfiguration: (val.virtualMachineConfiguration ? outputs.batch.v20230501.virtualMachineConfigurationResponseProvideDefaults(val.virtualMachineConfiguration) : undefined), + }; + } export interface DiffDiskSettingsResponse { /** @@ -49480,6 +49561,15 @@ export namespace batch { */ targetLowPriorityNodes?: number; } + /** + * fixedScaleSettingsResponseProvideDefaults sets the appropriate defaults for FixedScaleSettingsResponse + */ + export function fixedScaleSettingsResponseProvideDefaults(val: FixedScaleSettingsResponse): FixedScaleSettingsResponse { + return { + ...val, + resizeTimeout: (val.resizeTimeout) ?? "PT15M", + }; + } /** * Rule to filter client IP address. @@ -49517,6 +49607,15 @@ export namespace batch { */ version?: string; } + /** + * imageReferenceResponseProvideDefaults sets the appropriate defaults for ImageReferenceResponse + */ + export function imageReferenceResponseProvideDefaults(val: ImageReferenceResponse): ImageReferenceResponse { + return { + ...val, + version: (val.version) ?? "latest", + }; + } export interface InboundNatPoolResponse { /** @@ -49646,6 +49745,15 @@ export namespace batch { */ subnetId?: string; } + /** + * networkConfigurationResponseProvideDefaults sets the appropriate defaults for NetworkConfigurationResponse + */ + export function networkConfigurationResponseProvideDefaults(val: NetworkConfigurationResponse): NetworkConfigurationResponse { + return { + ...val, + dynamicVnetAssignmentScope: (val.dynamicVnetAssignmentScope) ?? "none", + }; + } /** * Network profile for Batch account, which contains network rule settings for each endpoint. @@ -49836,6 +49944,15 @@ export namespace batch { */ fixedScale?: outputs.batch.v20230501.FixedScaleSettingsResponse; } + /** + * scaleSettingsResponseProvideDefaults sets the appropriate defaults for ScaleSettingsResponse + */ + export function scaleSettingsResponseProvideDefaults(val: ScaleSettingsResponse): ScaleSettingsResponse { + return { + ...val, + fixedScale: (val.fixedScale ? outputs.batch.v20230501.fixedScaleSettingsResponseProvideDefaults(val.fixedScale) : undefined), + }; + } /** * In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. @@ -49851,7 +49968,7 @@ export namespace batch { containerSettings?: outputs.batch.v20230501.TaskContainerSettingsResponse; environmentSettings?: outputs.batch.v20230501.EnvironmentSettingResponse[]; /** - * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + * The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. */ maxTaskRetryCount?: number; resourceFiles?: outputs.batch.v20230501.ResourceFileResponse[]; @@ -49864,6 +49981,15 @@ export namespace batch { */ waitForSuccess?: boolean; } + /** + * startTaskResponseProvideDefaults sets the appropriate defaults for StartTaskResponse + */ + export function startTaskResponseProvideDefaults(val: StartTaskResponse): StartTaskResponse { + return { + ...val, + maxTaskRetryCount: (val.maxTaskRetryCount) ?? 0, + }; + } export interface TaskContainerSettingsResponse { /** @@ -49884,6 +50010,15 @@ export namespace batch { export interface TaskSchedulingPolicyResponse { nodeFillType: string; } + /** + * taskSchedulingPolicyResponseProvideDefaults sets the appropriate defaults for TaskSchedulingPolicyResponse + */ + export function taskSchedulingPolicyResponseProvideDefaults(val: TaskSchedulingPolicyResponse): TaskSchedulingPolicyResponse { + return { + ...val, + nodeFillType: (val.nodeFillType) ?? "Spread", + }; + } export interface UserAccountResponse { /** @@ -49996,6 +50131,15 @@ export namespace batch { */ windowsConfiguration?: outputs.batch.v20230501.WindowsConfigurationResponse; } + /** + * virtualMachineConfigurationResponseProvideDefaults sets the appropriate defaults for VirtualMachineConfigurationResponse + */ + export function virtualMachineConfigurationResponseProvideDefaults(val: VirtualMachineConfigurationResponse): VirtualMachineConfigurationResponse { + return { + ...val, + imageReference: outputs.batch.v20230501.imageReferenceResponseProvideDefaults(val.imageReference), + }; + } /** * A VM Family and its associated core quota for the Batch account. @@ -62142,2505 +62286,4251 @@ export namespace cdn { } } -} - -export namespace certificateregistration { - /** - * Key Vault container for a certificate that is purchased through Azure. - */ - export interface AppServiceCertificateResponse { - /** - * Key Vault resource Id. - */ - keyVaultId?: string; - /** - * Key Vault secret name. - */ - keyVaultSecretName?: string; - /** - * Status of the Key Vault secret. - */ - provisioningState: string; - } - /** - * SSL certificate details. - */ - export interface CertificateDetailsResponse { - /** - * Certificate Issuer. - */ - issuer: string; - /** - * Date Certificate is valid to. - */ - notAfter: string; - /** - * Date Certificate is valid from. - */ - notBefore: string; - /** - * Raw certificate data. - */ - rawData: string; - /** - * Certificate Serial Number. - */ - serialNumber: string; - /** - * Certificate Signature algorithm. - */ - signatureAlgorithm: string; - /** - * Certificate Subject. - */ - subject: string; - /** - * Certificate Thumbprint. - */ - thumbprint: string; + export namespace v20230701preview { /** - * Certificate Version. + * The JSON object that contains the properties to secure a domain. */ - version: number; - } - - export interface CertificateOrderContactResponse { - email?: string; - nameFirst?: string; - nameLast?: string; - phone?: string; - } + export interface AFDDomainHttpsParametersResponse { + /** + * Defines the source of the SSL certificate. + */ + certificateType: string; + /** + * TLS protocol version that will be used for Https + */ + minimumTlsVersion?: string; + /** + * Resource reference to the secret. ie. subs/rg/profile/secret + */ + secret?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + } - export namespace v20201001 { /** - * Key Vault container for a certificate that is purchased through Azure. + * Reference to another resource along with its state. */ - export interface AppServiceCertificateResponse { - /** - * Key Vault resource Id. - */ - keyVaultId?: string; + export interface ActivatedResourceReferenceResponse { /** - * Key Vault secret name. + * Resource ID. */ - keyVaultSecretName?: string; + id?: string; /** - * Status of the Key Vault secret. + * Whether the resource is active or inactive */ - provisioningState: string; + isActive: boolean; } /** - * SSL certificate details. + * Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. */ - export interface CertificateDetailsResponse { + export interface AfdRouteCacheConfigurationResponse { /** - * Certificate Issuer. + * compression settings. */ - issuer: string; + compressionSettings?: outputs.cdn.v20230701preview.CompressionSettingsResponse; /** - * Date Certificate is valid to. + * query parameters to include or exclude (comma separated). */ - notAfter: string; + queryParameters?: string; /** - * Date Certificate is valid from. + * Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. */ - notBefore: string; + queryStringCachingBehavior?: string; + } + + /** + * Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. + */ + export interface AzureFirstPartyManagedCertificateParametersResponse { /** - * Raw certificate data. + * Certificate issuing authority. */ - rawData: string; + certificateAuthority: string; /** - * Certificate Serial Number. + * Certificate expiration date. */ - serialNumber: string; + expirationDate: string; /** - * Certificate Signature algorithm. + * Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} */ - signatureAlgorithm: string; + secretSource: outputs.cdn.v20230701preview.ResourceReferenceResponse; /** - * Certificate Subject. + * Subject name in the certificate. */ subject: string; /** - * Certificate Thumbprint. + * The list of SANs. + */ + subjectAlternativeNames?: string[]; + /** + * Certificate thumbprint. */ thumbprint: string; /** - * Certificate Version. + * The type of the secret resource. + * Expected value is 'AzureFirstPartyManagedCertificate'. */ - version: number; + type: "AzureFirstPartyManagedCertificate"; } /** - * Metadata pertaining to creation and last modification of the resource. + * Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. */ - export interface SystemDataResponse { + export interface CacheConfigurationResponse { /** - * The timestamp of resource creation (UTC). + * Caching behavior for the requests */ - createdAt?: string; + cacheBehavior?: string; /** - * The identity that created the resource. + * The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss */ - createdBy?: string; + cacheDuration?: string; /** - * The type of identity that created the resource. + * Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. */ - createdByType?: string; + isCompressionEnabled?: string; /** - * The timestamp of resource last modification (UTC) + * query parameters to include or exclude (comma separated). */ - lastModifiedAt?: string; + queryParameters?: string; /** - * The identity that last modified the resource. + * Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. */ - lastModifiedBy?: string; + queryStringCachingBehavior?: string; + } + + /** + * Defines the parameters for the cache expiration action. + */ + export interface CacheExpirationActionParametersResponse { /** - * The type of identity that last modified the resource. + * Caching behavior for the requests */ - lastModifiedByType?: string; + cacheBehavior: string; + /** + * The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + */ + cacheDuration?: string; + /** + * The level at which the content needs to be cached. + */ + cacheType: string; + typeName: string; } - } - - export namespace v20220901 { /** - * Key Vault container for a certificate that is purchased through Azure. + * Defines the parameters for the cache-key query string action. */ - export interface AppServiceCertificateResponse { + export interface CacheKeyQueryStringActionParametersResponse { /** - * Key Vault resource Id. + * query parameters to include or exclude (comma separated). */ - keyVaultId?: string; + queryParameters?: string; /** - * Key Vault secret name. + * Caching behavior for the requests */ - keyVaultSecretName?: string; + queryStringBehavior: string; + typeName: string; + } + + /** + * Defines the parameters for using CDN managed certificate for securing custom domain. + */ + export interface CdnCertificateSourceParametersResponse { /** - * Status of the Key Vault secret. + * Type of certificate used */ - provisioningState: string; + certificateType: string; + typeName: string; } /** - * SSL certificate details. + * Defines the ARM Resource ID for the linked endpoints */ - export interface CertificateDetailsResponse { + export interface CdnEndpointResponse { /** - * Certificate Issuer. + * ARM Resource ID string. */ - issuer: string; + id?: string; + } + + /** + * Defines the certificate source parameters using CDN managed certificate for enabling SSL. + */ + export interface CdnManagedHttpsParametersResponse { /** - * Date Certificate is valid to. + * Defines the source of the SSL certificate. + * Expected value is 'Cdn'. */ - notAfter: string; + certificateSource: "Cdn"; /** - * Date Certificate is valid from. + * Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ - notBefore: string; + certificateSourceParameters: outputs.cdn.v20230701preview.CdnCertificateSourceParametersResponse; /** - * Raw certificate data. + * TLS protocol version that will be used for Https */ - rawData: string; + minimumTlsVersion?: string; /** - * Certificate Serial Number. + * Defines the TLS extension protocol that is used for secure delivery. */ - serialNumber: string; + protocolType: string; + } + + /** + * Defines the parameters for ClientPort match conditions + */ + export interface ClientPortMatchConditionParametersResponse { /** - * Certificate Signature algorithm. + * The match value for the condition of the delivery rule */ - signatureAlgorithm: string; + matchValues?: string[]; /** - * Certificate Subject. + * Describes if this is negate condition or not */ - subject: string; + negateCondition?: boolean; /** - * Certificate Thumbprint. + * Describes operator to be matched */ - thumbprint: string; + operator: string; /** - * Certificate Version. + * List of transforms */ - version: number; - } - - export interface CertificateOrderContactResponse { - email?: string; - nameFirst?: string; - nameLast?: string; - phone?: string; + transforms?: string[]; + typeName: string; } - - } -} - -export namespace changeanalysis { - /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. - */ - export interface AzureMonitorWorkspacePropertiesResponse { - /** - * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. - */ - includeChangeDetails?: string; - /** - * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. - */ - workspaceId?: string; - /** - * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} - */ - workspaceResourceId?: string; - } - - /** - * The properties of a configuration profile. - */ - export interface ConfigurationProfileResourcePropertiesResponse { /** - * Settings of change notification configuration for a subscription. + * clientPortMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for ClientPortMatchConditionParametersResponse */ - notifications?: outputs.changeanalysis.NotificationSettingsResponse; - } + export function clientPortMatchConditionParametersResponseProvideDefaults(val: ClientPortMatchConditionParametersResponse): ClientPortMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * Settings of change notification configuration for a subscription. - */ - export interface NotificationSettingsResponse { - /** - * The state of notifications feature. - */ - activationState?: string; /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. + * settings for compression. */ - azureMonitorWorkspaceProperties?: outputs.changeanalysis.AzureMonitorWorkspacePropertiesResponse; - } + export interface CompressionSettingsResponse { + /** + * List of content types on which compression applies. The value should be a valid MIME type. + */ + contentTypesToCompress?: string[]; + /** + * Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + */ + isCompressionEnabled?: boolean; + } - /** - * The identity block returned by ARM resource that supports managed identity. - */ - export interface ResourceIdentityResponse { - /** - * The principal id of the identity. This property will only be provided for a system-assigned identity. - */ - principalId: string; /** - * The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity. + * Defines the parameters for Cookies match conditions */ - tenantId: string; + export interface CookiesMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * Name of Cookies to be matched + */ + selector?: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + * cookiesMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for CookiesMatchConditionParametersResponse */ - type?: string; - } + export function cookiesMatchConditionParametersResponseProvideDefaults(val: CookiesMatchConditionParametersResponse): CookiesMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC) - */ - createdAt: string; - /** - * A string identifier for the identity that created the resource - */ - createdBy: string; - /** - * The type of identity that created the resource: user, application, managedIdentity, key - */ - createdByType: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt: string; - /** - * A string identifier for the identity that last modified the resource - */ - lastModifiedBy: string; /** - * The type of identity that last modified the resource: user, application, managedIdentity, key + * Defines contents of custom rules */ - lastModifiedByType: string; - } + export interface CustomRuleListResponse { + /** + * List of rules + */ + rules?: outputs.cdn.v20230701preview.CustomRuleResponse[]; + } - export namespace v20200401preview { /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. + * Defines the common attributes for a custom rule that can be included in a waf policy */ - export interface AzureMonitorWorkspacePropertiesResponse { + export interface CustomRuleResponse { /** - * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. + * Describes what action to be applied when rule matches */ - includeChangeDetails?: string; + action: string; /** - * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. + * Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. */ - workspaceId?: string; + enabledState?: string; /** - * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} + * List of match conditions. */ - workspaceResourceId?: string; + matchConditions: outputs.cdn.v20230701preview.MatchConditionResponse[]; + /** + * Defines the name of the custom rule + */ + name: string; + /** + * Defines in what order this rule be evaluated in the overall list of custom rules + */ + priority: number; } /** - * The properties of a configuration profile. + * Customer Certificate used for https */ - export interface ConfigurationProfileResourcePropertiesResponse { + export interface CustomerCertificateParametersResponse { /** - * Settings of change notification configuration for a subscription. + * Certificate issuing authority. */ - notifications?: outputs.changeanalysis.v20200401preview.NotificationSettingsResponse; + certificateAuthority: string; + /** + * Certificate expiration date. + */ + expirationDate: string; + /** + * Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + */ + secretSource: outputs.cdn.v20230701preview.ResourceReferenceResponse; + /** + * Version of the secret to be used + */ + secretVersion?: string; + /** + * Subject name in the certificate. + */ + subject: string; + /** + * The list of SANs. + */ + subjectAlternativeNames?: string[]; + /** + * Certificate thumbprint. + */ + thumbprint: string; + /** + * The type of the secret resource. + * Expected value is 'CustomerCertificate'. + */ + type: "CustomerCertificate"; + /** + * Whether to use the latest version for the certificate + */ + useLatestVersion?: boolean; } /** - * Settings of change notification configuration for a subscription. + * Custom domains created on the CDN endpoint. */ - export interface NotificationSettingsResponse { + export interface DeepCreatedCustomDomainResponse { /** - * The state of notifications feature. + * The host name of the custom domain. Must be a domain name. */ - activationState?: string; + hostName: string; /** - * Configuration properties of an Azure Monitor workspace that receives change notifications. + * Custom domain name. */ - azureMonitorWorkspaceProperties?: outputs.changeanalysis.v20200401preview.AzureMonitorWorkspacePropertiesResponse; + name: string; + /** + * Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + */ + validationData?: string; } /** - * The identity block returned by ARM resource that supports managed identity. + * The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. */ - export interface ResourceIdentityResponse { + export interface DeepCreatedOriginGroupResponse { /** - * The principal id of the identity. This property will only be provided for a system-assigned identity. + * Health probe settings to the origin that is used to determine the health of the origin. */ - principalId: string; + healthProbeSettings?: outputs.cdn.v20230701preview.HealthProbeParametersResponse; /** - * The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity. + * Origin group name which must be unique within the endpoint. */ - tenantId: string; + name: string; /** - * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + * The source of the content being delivered via CDN within given origin group. */ - type?: string; + origins: outputs.cdn.v20230701preview.ResourceReferenceResponse[]; + /** + * The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + */ + responseBasedOriginErrorDetectionSettings?: outputs.cdn.v20230701preview.ResponseBasedOriginErrorDetectionParametersResponse; + /** + * Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + */ + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; } /** - * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources + * The main origin of CDN content which is added when creating a CDN endpoint. */ - export interface SystemDataResponse { + export interface DeepCreatedOriginResponse { /** - * The timestamp of resource creation (UTC) + * Origin is enabled for load balancing or not. By default, origin is always enabled. */ - createdAt: string; + enabled?: boolean; /** - * A string identifier for the identity that created the resource + * The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. */ - createdBy: string; + hostName: string; /** - * The type of identity that created the resource: user, application, managedIdentity, key + * The value of the HTTP port. Must be between 1 and 65535. */ - createdByType: string; + httpPort?: number; /** - * The timestamp of resource last modification (UTC) + * The value of the HTTPS port. Must be between 1 and 65535. */ - lastModifiedAt: string; + httpsPort?: number; /** - * A string identifier for the identity that last modified the resource + * Origin name which must be unique within the endpoint. */ - lastModifiedBy: string; + name: string; /** - * The type of identity that last modified the resource: user, application, managedIdentity, key + * The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. */ - lastModifiedByType: string; + originHostHeader?: string; + /** + * Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + */ + priority?: number; + /** + * The approval status for the connection to the Private Link + */ + privateEndpointStatus: string; + /** + * The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + */ + privateLinkAlias?: string; + /** + * A custom message to be included in the approval request to connect to the Private Link. + */ + privateLinkApprovalMessage?: string; + /** + * The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + */ + privateLinkLocation?: string; + /** + * The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + */ + privateLinkResourceId?: string; + /** + * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + */ + weight?: number; } - } -} - -export namespace chaos { - /** - * Model that represents a branch in the step. - */ - export interface BranchResponse { - /** - * List of actions. - */ - actions: (outputs.chaos.ContinuousActionResponse | outputs.chaos.DelayActionResponse | outputs.chaos.DiscreteActionResponse)[]; /** - * String of the branch name. + * Defines the cache expiration action for the delivery rule. */ - name: string; - } + export interface DeliveryRuleCacheExpirationActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'CacheExpiration'. + */ + name: "CacheExpiration"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.CacheExpirationActionParametersResponse; + } - /** - * Model that represents the Capability properties model. - */ - export interface CapabilityPropertiesResponse { /** - * Localized string of the description. + * Defines the cache-key query string action for the delivery rule. */ - description: string; + export interface DeliveryRuleCacheKeyQueryStringActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'CacheKeyQueryString'. + */ + name: "CacheKeyQueryString"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.CacheKeyQueryStringActionParametersResponse; + } + /** - * URL to retrieve JSON schema of the Capability parameters. + * Defines the ClientPort condition for the delivery rule. */ - parametersSchema: string; + export interface DeliveryRuleClientPortConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'ClientPort'. + */ + name: "ClientPort"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.ClientPortMatchConditionParametersResponse; + } /** - * String of the Publisher that this Capability extends. + * deliveryRuleClientPortConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleClientPortConditionResponse */ - publisher: string; + export function deliveryRuleClientPortConditionResponseProvideDefaults(val: DeliveryRuleClientPortConditionResponse): DeliveryRuleClientPortConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.clientPortMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * String of the Target Type that this Capability extends. + * Defines the Cookies condition for the delivery rule. */ - targetType: string; + export interface DeliveryRuleCookiesConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'Cookies'. + */ + name: "Cookies"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.CookiesMatchConditionParametersResponse; + } /** - * String of the URN for this Capability Type. + * deliveryRuleCookiesConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleCookiesConditionResponse */ - urn: string; - } + export function deliveryRuleCookiesConditionResponseProvideDefaults(val: DeliveryRuleCookiesConditionResponse): DeliveryRuleCookiesConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.cookiesMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents a continuous action. - */ - export interface ContinuousActionResponse { /** - * ISO8601 formatted string that represents a duration. + * Defines the HostName condition for the delivery rule. */ - duration: string; + export interface DeliveryRuleHostNameConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'HostName'. + */ + name: "HostName"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.HostNameMatchConditionParametersResponse; + } /** - * String that represents a Capability URN. + * deliveryRuleHostNameConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleHostNameConditionResponse */ - name: string; + export function deliveryRuleHostNameConditionResponseProvideDefaults(val: DeliveryRuleHostNameConditionResponse): DeliveryRuleHostNameConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.hostNameMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * List of key value pairs. + * Defines the HttpVersion condition for the delivery rule. */ - parameters: outputs.chaos.KeyValuePairResponse[]; + export interface DeliveryRuleHttpVersionConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'HttpVersion'. + */ + name: "HttpVersion"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.HttpVersionMatchConditionParametersResponse; + } /** - * String that represents a selector. + * deliveryRuleHttpVersionConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleHttpVersionConditionResponse */ - selectorId: string; + export function deliveryRuleHttpVersionConditionResponseProvideDefaults(val: DeliveryRuleHttpVersionConditionResponse): DeliveryRuleHttpVersionConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.httpVersionMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * Enum that discriminates between action models. - * Expected value is 'continuous'. + * Defines the IsDevice condition for the delivery rule. */ - type: "continuous"; - } - - /** - * Model that represents a delay action. - */ - export interface DelayActionResponse { + export interface DeliveryRuleIsDeviceConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'IsDevice'. + */ + name: "IsDevice"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.IsDeviceMatchConditionParametersResponse; + } /** - * ISO8601 formatted string that represents a duration. + * deliveryRuleIsDeviceConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleIsDeviceConditionResponse */ - duration: string; + export function deliveryRuleIsDeviceConditionResponseProvideDefaults(val: DeliveryRuleIsDeviceConditionResponse): DeliveryRuleIsDeviceConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.isDeviceMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * String that represents a Capability URN. + * Defines the PostArgs condition for the delivery rule. */ - name: string; + export interface DeliveryRulePostArgsConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'PostArgs'. + */ + name: "PostArgs"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.PostArgsMatchConditionParametersResponse; + } /** - * Enum that discriminates between action models. - * Expected value is 'delay'. + * deliveryRulePostArgsConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRulePostArgsConditionResponse */ - type: "delay"; - } + export function deliveryRulePostArgsConditionResponseProvideDefaults(val: DeliveryRulePostArgsConditionResponse): DeliveryRulePostArgsConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.postArgsMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents a discrete action. - */ - export interface DiscreteActionResponse { /** - * String that represents a Capability URN. + * Defines the QueryString condition for the delivery rule. */ - name: string; + export interface DeliveryRuleQueryStringConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'QueryString'. + */ + name: "QueryString"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.QueryStringMatchConditionParametersResponse; + } /** - * List of key value pairs. + * deliveryRuleQueryStringConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleQueryStringConditionResponse */ - parameters: outputs.chaos.KeyValuePairResponse[]; + export function deliveryRuleQueryStringConditionResponseProvideDefaults(val: DeliveryRuleQueryStringConditionResponse): DeliveryRuleQueryStringConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.queryStringMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * String that represents a selector. + * Defines the RemoteAddress condition for the delivery rule. */ - selectorId: string; + export interface DeliveryRuleRemoteAddressConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RemoteAddress'. + */ + name: "RemoteAddress"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.RemoteAddressMatchConditionParametersResponse; + } /** - * Enum that discriminates between action models. - * Expected value is 'discrete'. + * deliveryRuleRemoteAddressConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleRemoteAddressConditionResponse */ - type: "discrete"; - } + export function deliveryRuleRemoteAddressConditionResponseProvideDefaults(val: DeliveryRuleRemoteAddressConditionResponse): DeliveryRuleRemoteAddressConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.remoteAddressMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents the Experiment properties model. - */ - export interface ExperimentPropertiesResponse { /** - * List of selectors. + * Defines the RequestBody condition for the delivery rule. */ - selectors: (outputs.chaos.ListSelectorResponse | outputs.chaos.QuerySelectorResponse)[]; + export interface DeliveryRuleRequestBodyConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestBody'. + */ + name: "RequestBody"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.RequestBodyMatchConditionParametersResponse; + } /** - * A boolean value that indicates if experiment should be started on creation or not. + * deliveryRuleRequestBodyConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleRequestBodyConditionResponse */ - startOnCreation?: boolean; + export function deliveryRuleRequestBodyConditionResponseProvideDefaults(val: DeliveryRuleRequestBodyConditionResponse): DeliveryRuleRequestBodyConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.requestBodyMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * List of steps. + * Defines the request header action for the delivery rule. */ - steps: outputs.chaos.StepResponse[]; - } + export interface DeliveryRuleRequestHeaderActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'ModifyRequestHeader'. + */ + name: "ModifyRequestHeader"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.HeaderActionParametersResponse; + } - /** - * A map to describe the settings of an action. - */ - export interface KeyValuePairResponse { /** - * The name of the setting for the action. + * Defines the RequestHeader condition for the delivery rule. */ - key: string; + export interface DeliveryRuleRequestHeaderConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestHeader'. + */ + name: "RequestHeader"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.RequestHeaderMatchConditionParametersResponse; + } /** - * The value of the setting for the action. + * deliveryRuleRequestHeaderConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleRequestHeaderConditionResponse */ - value: string; - } + export function deliveryRuleRequestHeaderConditionResponseProvideDefaults(val: DeliveryRuleRequestHeaderConditionResponse): DeliveryRuleRequestHeaderConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.requestHeaderMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents a list selector. - */ - export interface ListSelectorResponse { /** - * Model that represents available filter types that can be applied to a targets list. + * Defines the RequestMethod condition for the delivery rule. */ - filter?: outputs.chaos.SimpleFilterResponse; + export interface DeliveryRuleRequestMethodConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestMethod'. + */ + name: "RequestMethod"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.RequestMethodMatchConditionParametersResponse; + } /** - * String of the selector ID. + * deliveryRuleRequestMethodConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleRequestMethodConditionResponse */ - id: string; + export function deliveryRuleRequestMethodConditionResponseProvideDefaults(val: DeliveryRuleRequestMethodConditionResponse): DeliveryRuleRequestMethodConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.requestMethodMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * List of Target references. + * Defines the RequestScheme condition for the delivery rule. */ - targets: outputs.chaos.TargetReferenceResponse[]; + export interface DeliveryRuleRequestSchemeConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestScheme'. + */ + name: "RequestScheme"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.RequestSchemeMatchConditionParametersResponse; + } /** - * Enum of the selector type. - * Expected value is 'List'. + * deliveryRuleRequestSchemeConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleRequestSchemeConditionResponse */ - type: "List"; - } + export function deliveryRuleRequestSchemeConditionResponseProvideDefaults(val: DeliveryRuleRequestSchemeConditionResponse): DeliveryRuleRequestSchemeConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.requestSchemeMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents a query selector. - */ - export interface QuerySelectorResponse { /** - * Model that represents available filter types that can be applied to a targets list. + * Defines the RequestUri condition for the delivery rule. */ - filter?: outputs.chaos.SimpleFilterResponse; + export interface DeliveryRuleRequestUriConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'RequestUri'. + */ + name: "RequestUri"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.RequestUriMatchConditionParametersResponse; + } /** - * String of the selector ID. + * deliveryRuleRequestUriConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleRequestUriConditionResponse */ - id: string; + export function deliveryRuleRequestUriConditionResponseProvideDefaults(val: DeliveryRuleRequestUriConditionResponse): DeliveryRuleRequestUriConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.requestUriMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * Azure Resource Graph (ARG) Query Language query for target resources. + * A rule that specifies a set of actions and conditions */ - queryString: string; + export interface DeliveryRuleResponse { + /** + * A list of actions that are executed when all the conditions of a rule are satisfied. + */ + actions: (outputs.cdn.v20230701preview.DeliveryRuleCacheExpirationActionResponse | outputs.cdn.v20230701preview.DeliveryRuleCacheKeyQueryStringActionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestHeaderActionResponse | outputs.cdn.v20230701preview.DeliveryRuleResponseHeaderActionResponse | outputs.cdn.v20230701preview.DeliveryRuleRouteConfigurationOverrideActionResponse | outputs.cdn.v20230701preview.OriginGroupOverrideActionResponse | outputs.cdn.v20230701preview.UrlRedirectActionResponse | outputs.cdn.v20230701preview.UrlRewriteActionResponse | outputs.cdn.v20230701preview.UrlSigningActionResponse)[]; + /** + * A list of conditions that must be matched for the actions to be executed + */ + conditions?: (outputs.cdn.v20230701preview.DeliveryRuleClientPortConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleCookiesConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleHostNameConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleHttpVersionConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleIsDeviceConditionResponse | outputs.cdn.v20230701preview.DeliveryRulePostArgsConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleQueryStringConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRemoteAddressConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestBodyConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestHeaderConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestMethodConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestSchemeConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleRequestUriConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleServerPortConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleSocketAddrConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleSslProtocolConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlFileExtensionConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlFileNameConditionResponse | outputs.cdn.v20230701preview.DeliveryRuleUrlPathConditionResponse)[]; + /** + * Name of the rule + */ + name?: string; + /** + * The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + */ + order: number; + } + /** - * Subscription id list to scope resource query. + * Defines the response header action for the delivery rule. */ - subscriptionIds: string[]; + export interface DeliveryRuleResponseHeaderActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'ModifyResponseHeader'. + */ + name: "ModifyResponseHeader"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.HeaderActionParametersResponse; + } + /** - * Enum of the selector type. - * Expected value is 'Query'. + * Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. */ - type: "Query"; - } + export interface DeliveryRuleRouteConfigurationOverrideActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'RouteConfigurationOverride'. + */ + name: "RouteConfigurationOverride"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.RouteConfigurationOverrideActionParametersResponse; + } - /** - * The identity of a resource. - */ - export interface ResourceIdentityResponse { /** - * GUID that represents the principal ID of this resource identity. + * Defines the ServerPort condition for the delivery rule. */ - principalId: string; + export interface DeliveryRuleServerPortConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'ServerPort'. + */ + name: "ServerPort"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.ServerPortMatchConditionParametersResponse; + } /** - * GUID that represents the tenant ID of this resource identity. + * deliveryRuleServerPortConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleServerPortConditionResponse */ - tenantId: string; + export function deliveryRuleServerPortConditionResponseProvideDefaults(val: DeliveryRuleServerPortConditionResponse): DeliveryRuleServerPortConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.serverPortMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * String of the resource identity type. + * Defines the SocketAddress condition for the delivery rule. */ - type: string; + export interface DeliveryRuleSocketAddrConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'SocketAddr'. + */ + name: "SocketAddr"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.SocketAddrMatchConditionParametersResponse; + } /** - * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * deliveryRuleSocketAddrConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleSocketAddrConditionResponse */ - userAssignedIdentities?: {[key: string]: outputs.chaos.UserAssignedIdentityResponse}; - } + export function deliveryRuleSocketAddrConditionResponseProvideDefaults(val: DeliveryRuleSocketAddrConditionResponse): DeliveryRuleSocketAddrConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.socketAddrMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents the Simple filter parameters. - */ - export interface SimpleFilterParametersResponse { /** - * List of Azure availability zones to filter targets by. + * Defines the SslProtocol condition for the delivery rule. */ - zones?: string[]; - } + export interface DeliveryRuleSslProtocolConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'SslProtocol'. + */ + name: "SslProtocol"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.SslProtocolMatchConditionParametersResponse; + } + /** + * deliveryRuleSslProtocolConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleSslProtocolConditionResponse + */ + export function deliveryRuleSslProtocolConditionResponseProvideDefaults(val: DeliveryRuleSslProtocolConditionResponse): DeliveryRuleSslProtocolConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.sslProtocolMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents a simple target filter. - */ - export interface SimpleFilterResponse { /** - * Model that represents the Simple filter parameters. + * Defines the UrlFileExtension condition for the delivery rule. */ - parameters?: outputs.chaos.SimpleFilterParametersResponse; + export interface DeliveryRuleUrlFileExtensionConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'UrlFileExtension'. + */ + name: "UrlFileExtension"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.UrlFileExtensionMatchConditionParametersResponse; + } /** - * Enum that discriminates between filter types. Currently only `Simple` type is supported. - * Expected value is 'Simple'. + * deliveryRuleUrlFileExtensionConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleUrlFileExtensionConditionResponse */ - type: "Simple"; - } + export function deliveryRuleUrlFileExtensionConditionResponseProvideDefaults(val: DeliveryRuleUrlFileExtensionConditionResponse): DeliveryRuleUrlFileExtensionConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.urlFileExtensionMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Model that represents a step in the Experiment resource. - */ - export interface StepResponse { /** - * List of branches. + * Defines the UrlFileName condition for the delivery rule. */ - branches: outputs.chaos.BranchResponse[]; + export interface DeliveryRuleUrlFileNameConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'UrlFileName'. + */ + name: "UrlFileName"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.UrlFileNameMatchConditionParametersResponse; + } /** - * String of the step name. + * deliveryRuleUrlFileNameConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleUrlFileNameConditionResponse */ - name: string; - } + export function deliveryRuleUrlFileNameConditionResponseProvideDefaults(val: DeliveryRuleUrlFileNameConditionResponse): DeliveryRuleUrlFileNameConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.urlFileNameMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { /** - * The timestamp of resource creation (UTC). + * Defines the UrlPath condition for the delivery rule. */ - createdAt?: string; + export interface DeliveryRuleUrlPathConditionResponse { + /** + * The name of the condition for the delivery rule. + * Expected value is 'UrlPath'. + */ + name: "UrlPath"; + /** + * Defines the parameters for the condition. + */ + parameters: outputs.cdn.v20230701preview.UrlPathMatchConditionParametersResponse; + } /** - * The identity that created the resource. + * deliveryRuleUrlPathConditionResponseProvideDefaults sets the appropriate defaults for DeliveryRuleUrlPathConditionResponse */ - createdBy?: string; + export function deliveryRuleUrlPathConditionResponseProvideDefaults(val: DeliveryRuleUrlPathConditionResponse): DeliveryRuleUrlPathConditionResponse { + return { + ...val, + parameters: outputs.cdn.v20230701preview.urlPathMatchConditionParametersResponseProvideDefaults(val.parameters), + }; + } + /** - * The type of identity that created the resource. + * The JSON object that contains the properties to validate a domain. */ - createdByType?: string; + export interface DomainValidationPropertiesResponse { + /** + * The date time that the token expires + */ + expirationDate: string; + /** + * Challenge used for DNS TXT record or file based validation + */ + validationToken: string; + } + /** - * The timestamp of resource last modification (UTC) + * A policy that specifies the delivery rules to be used for an endpoint. */ - lastModifiedAt?: string; + export interface EndpointPropertiesUpdateParametersResponseDeliveryPolicy { + /** + * User-friendly description of the policy. + */ + description?: string; + /** + * A list of the delivery rules. + */ + rules: outputs.cdn.v20230701preview.DeliveryRuleResponse[]; + } + /** - * The identity that last modified the resource. + * Defines the Web Application Firewall policy for the endpoint (if applicable) */ - lastModifiedBy?: string; + export interface EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink { + /** + * Resource ID. + */ + id?: string; + } + /** - * The type of identity that last modified the resource. + * Rules defining user's geo access within a CDN endpoint. */ - lastModifiedByType?: string; - } + export interface GeoFilterResponse { + /** + * Action of the geo filter, i.e. allow or block access. + */ + action: string; + /** + * Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + */ + countryCodes: string[]; + /** + * Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + */ + relativePath: string; + } - /** - * Model that represents a reference to a Target in the selector. - */ - export interface TargetReferenceResponse { /** - * String of the resource ID of a Target resource. + * Defines the parameters for the request header action. */ - id: string; + export interface HeaderActionParametersResponse { + /** + * Action to perform + */ + headerAction: string; + /** + * Name of the header to modify + */ + headerName: string; + typeName: string; + /** + * Value for the specified action + */ + value?: string; + } + /** - * Enum of the Target reference type. + * The JSON object that contains the properties to send health probes to origin. */ - type: string; - } + export interface HealthProbeParametersResponse { + /** + * The number of seconds between health probes.Default is 240sec. + */ + probeIntervalInSeconds?: number; + /** + * The path relative to the origin that is used to determine the health of the origin. + */ + probePath?: string; + /** + * Protocol to use for health probe. + */ + probeProtocol?: string; + /** + * The type of health probe request that is made. + */ + probeRequestType?: string; + } - /** - * User assigned identity properties - */ - export interface UserAssignedIdentityResponse { /** - * The client ID of the assigned identity. + * Defines the parameters for HostName match conditions */ - clientId: string; + export interface HostNameMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The principal ID of the assigned identity. + * hostNameMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for HostNameMatchConditionParametersResponse */ - principalId: string; - } + export function hostNameMatchConditionParametersResponseProvideDefaults(val: HostNameMatchConditionParametersResponse): HostNameMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - export namespace v20230415preview { /** - * Model that represents a branch in the step. + * The JSON object that represents the range for http status codes */ - export interface BranchResponse { + export interface HttpErrorRangeParametersResponse { /** - * List of actions. + * The inclusive start of the http status code range. */ - actions: (outputs.chaos.v20230415preview.ContinuousActionResponse | outputs.chaos.v20230415preview.DelayActionResponse | outputs.chaos.v20230415preview.DiscreteActionResponse)[]; + begin?: number; /** - * String of the branch name. + * The inclusive end of the http status code range. */ - name: string; + end?: number; } /** - * Model that represents the Capability properties model. + * Defines the parameters for HttpVersion match conditions */ - export interface CapabilityPropertiesResponse { - /** - * Localized string of the description. - */ - description: string; + export interface HttpVersionMatchConditionParametersResponse { /** - * URL to retrieve JSON schema of the Capability parameters. + * The match value for the condition of the delivery rule */ - parametersSchema: string; + matchValues?: string[]; /** - * String of the Publisher that this Capability extends. + * Describes if this is negate condition or not */ - publisher: string; + negateCondition?: boolean; /** - * String of the Target Type that this Capability extends. + * Describes operator to be matched */ - targetType: string; + operator: string; /** - * String of the URN for this Capability Type. + * List of transforms */ - urn: string; + transforms?: string[]; + typeName: string; + } + /** + * httpVersionMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for HttpVersionMatchConditionParametersResponse + */ + export function httpVersionMatchConditionParametersResponseProvideDefaults(val: HttpVersionMatchConditionParametersResponse): HttpVersionMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Model that represents a continuous action. + * Defines the parameters for IsDevice match conditions */ - export interface ContinuousActionResponse { - /** - * ISO8601 formatted string that represents a duration. - */ - duration: string; + export interface IsDeviceMatchConditionParametersResponse { /** - * String that represents a Capability URN. + * The match value for the condition of the delivery rule */ - name: string; + matchValues?: string[]; /** - * List of key value pairs. + * Describes if this is negate condition or not */ - parameters: outputs.chaos.v20230415preview.KeyValuePairResponse[]; + negateCondition?: boolean; /** - * String that represents a selector. + * Describes operator to be matched */ - selectorId: string; + operator: string; /** - * Enum that discriminates between action models. - * Expected value is 'continuous'. + * List of transforms */ - type: "continuous"; + transforms?: string[]; + typeName: string; + } + /** + * isDeviceMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for IsDeviceMatchConditionParametersResponse + */ + export function isDeviceMatchConditionParametersResponseProvideDefaults(val: IsDeviceMatchConditionParametersResponse): IsDeviceMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * Model that represents a delay action. + * Describes the parameters for using a user's KeyVault certificate for securing custom domain. */ - export interface DelayActionResponse { + export interface KeyVaultCertificateSourceParametersResponse { /** - * ISO8601 formatted string that represents a duration. + * Describes the action that shall be taken when the certificate is removed from Key Vault. */ - duration: string; + deleteRule: string; /** - * String that represents a Capability URN. + * Resource group of the user's Key Vault containing the SSL certificate */ - name: string; + resourceGroupName: string; /** - * Enum that discriminates between action models. - * Expected value is 'delay'. + * The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. */ - type: "delay"; + secretName: string; + /** + * The version(GUID) of Key Vault Secret in Key Vault. + */ + secretVersion?: string; + /** + * Subscription Id of the user's Key Vault containing the SSL certificate + */ + subscriptionId: string; + typeName: string; + /** + * Describes the action that shall be taken when the certificate is updated in Key Vault. + */ + updateRule: string; + /** + * The name of the user's Key Vault containing the SSL certificate + */ + vaultName: string; } /** - * Model that represents a discrete action. + * Describes the parameters for using a user's KeyVault for URL Signing Key. */ - export interface DiscreteActionResponse { + export interface KeyVaultSigningKeyParametersResponse { /** - * String that represents a Capability URN. + * Resource group of the user's Key Vault containing the secret */ - name: string; + resourceGroupName: string; /** - * List of key value pairs. + * The name of secret in Key Vault. */ - parameters: outputs.chaos.v20230415preview.KeyValuePairResponse[]; + secretName: string; /** - * String that represents a selector. + * The version(GUID) of secret in Key Vault. */ - selectorId: string; + secretVersion: string; /** - * Enum that discriminates between action models. - * Expected value is 'discrete'. + * Subscription Id of the user's Key Vault containing the secret */ - type: "discrete"; + subscriptionId: string; + typeName: string; + /** + * The name of the user's Key Vault containing the secret + */ + vaultName: string; } /** - * Model that represents the Experiment properties model. + * Round-Robin load balancing settings for a backend pool */ - export interface ExperimentPropertiesResponse { + export interface LoadBalancingSettingsParametersResponse { /** - * List of selectors. + * The additional latency in milliseconds for probes to fall into the lowest latency bucket */ - selectors: (outputs.chaos.v20230415preview.ListSelectorResponse | outputs.chaos.v20230415preview.QuerySelectorResponse)[]; + additionalLatencyInMilliseconds?: number; /** - * A boolean value that indicates if experiment should be started on creation or not. + * The number of samples to consider for load balancing decisions */ - startOnCreation?: boolean; + sampleSize?: number; /** - * List of steps. + * The number of samples within the sample period that must succeed */ - steps: outputs.chaos.v20230415preview.StepResponse[]; + successfulSamplesRequired?: number; } /** - * A map to describe the settings of an action. + * Managed Certificate used for https */ - export interface KeyValuePairResponse { + export interface ManagedCertificateParametersResponse { /** - * The name of the setting for the action. + * Certificate expiration date. */ - key: string; + expirationDate: string; /** - * The value of the setting for the action. + * Subject name in the certificate. */ - value: string; + subject: string; + /** + * The type of the secret resource. + * Expected value is 'ManagedCertificate'. + */ + type: "ManagedCertificate"; } /** - * Model that represents a list selector. + * Defines a managed rule group override setting. */ - export interface ListSelectorResponse { + export interface ManagedRuleGroupOverrideResponse { /** - * Model that represents available filter types that can be applied to a targets list. + * Describes the managed rule group within the rule set to override */ - filter?: outputs.chaos.v20230415preview.SimpleFilterResponse; + ruleGroupName: string; /** - * String of the selector ID. + * List of rules that will be enabled. If none specified, all rules in the group will be disabled. */ - id: string; + rules?: outputs.cdn.v20230701preview.ManagedRuleOverrideResponse[]; + } + + /** + * Defines a managed rule group override setting. + */ + export interface ManagedRuleOverrideResponse { /** - * List of Target references. + * Describes the override action to be applied when rule matches. */ - targets: outputs.chaos.v20230415preview.TargetReferenceResponse[]; + action?: string; /** - * Enum of the selector type. - * Expected value is 'List'. + * Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. */ - type: "List"; + enabledState?: string; + /** + * Identifier for the managed rule. + */ + ruleId: string; } /** - * Model that represents a query selector. + * Defines the list of managed rule sets for the policy. */ - export interface QuerySelectorResponse { + export interface ManagedRuleSetListResponse { /** - * Model that represents available filter types that can be applied to a targets list. + * List of rule sets. */ - filter?: outputs.chaos.v20230415preview.SimpleFilterResponse; + managedRuleSets?: outputs.cdn.v20230701preview.ManagedRuleSetResponse[]; + } + + /** + * Defines a managed rule set. + */ + export interface ManagedRuleSetResponse { /** - * String of the selector ID. + * Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. */ - id: string; + anomalyScore?: number; /** - * Azure Resource Graph (ARG) Query Language query for target resources. + * Defines the rule overrides to apply to the rule set. */ - queryString: string; + ruleGroupOverrides?: outputs.cdn.v20230701preview.ManagedRuleGroupOverrideResponse[]; /** - * Subscription id list to scope resource query. + * Defines the rule set type to use. */ - subscriptionIds: string[]; + ruleSetType: string; /** - * Enum of the selector type. - * Expected value is 'Query'. + * Defines the version of the rule set to use. */ - type: "Query"; + ruleSetVersion: string; } /** - * The identity of a resource. + * Managed service identity (system assigned and/or user assigned identities) */ - export interface ResourceIdentityResponse { + export interface ManagedServiceIdentityResponse { /** - * GUID that represents the principal ID of this resource identity. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ principalId: string; /** - * GUID that represents the tenant ID of this resource identity. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ tenantId: string; /** - * String of the resource identity type. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ type: string; /** - * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: {[key: string]: outputs.chaos.v20230415preview.UserAssignedIdentityResponse}; + userAssignedIdentities?: {[key: string]: outputs.cdn.v20230701preview.UserAssignedIdentityResponse}; } /** - * Model that represents the Simple filter parameters. + * Define match conditions */ - export interface SimpleFilterParametersResponse { + export interface MatchConditionResponse { /** - * List of Azure availability zones to filter targets by. + * List of possible match values. */ - zones?: string[]; + matchValue: string[]; + /** + * Match variable to compare against. + */ + matchVariable: string; + /** + * Describes if the result of this condition should be negated. + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + */ + selector?: string; + /** + * List of transforms. + */ + transforms?: string[]; } /** - * Model that represents a simple target filter. + * Defines the parameters for the origin group override action. */ - export interface SimpleFilterResponse { - /** - * Model that represents the Simple filter parameters. - */ - parameters?: outputs.chaos.v20230415preview.SimpleFilterParametersResponse; + export interface OriginGroupOverrideActionParametersResponse { /** - * Enum that discriminates between filter types. Currently only `Simple` type is supported. - * Expected value is 'Simple'. + * defines the OriginGroup that would override the DefaultOriginGroup. */ - type: "Simple"; + originGroup: outputs.cdn.v20230701preview.ResourceReferenceResponse; + typeName: string; } /** - * Model that represents a step in the Experiment resource. + * Defines the origin group override action for the delivery rule. */ - export interface StepResponse { + export interface OriginGroupOverrideActionResponse { /** - * List of branches. + * The name of the action for the delivery rule. + * Expected value is 'OriginGroupOverride'. */ - branches: outputs.chaos.v20230415preview.BranchResponse[]; + name: "OriginGroupOverride"; /** - * String of the step name. + * Defines the parameters for the action. */ - name: string; + parameters: outputs.cdn.v20230701preview.OriginGroupOverrideActionParametersResponse; } /** - * Metadata pertaining to creation and last modification of the resource. + * Defines the parameters for the origin group override configuration. */ - export interface SystemDataResponse { + export interface OriginGroupOverrideResponse { /** - * The timestamp of resource creation (UTC). + * Protocol this rule will use when forwarding traffic to backends. */ - createdAt?: string; + forwardingProtocol?: string; /** - * The identity that created the resource. + * defines the OriginGroup that would override the DefaultOriginGroup on route. */ - createdBy?: string; + originGroup?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + } + + /** + * Defines contents of a web application firewall global configuration + */ + export interface PolicySettingsResponse { /** - * The type of identity that created the resource. + * If the action type is block, customer can override the response body. The body must be specified in base64 encoding. */ - createdByType?: string; + defaultCustomBlockResponseBody?: string; /** - * The timestamp of resource last modification (UTC) + * If the action type is block, this field defines the default customer overridable http response status code. */ - lastModifiedAt?: string; + defaultCustomBlockResponseStatusCode?: number; /** - * The identity that last modified the resource. + * If action type is redirect, this field represents the default redirect URL for the client. */ - lastModifiedBy?: string; + defaultRedirectUrl?: string; /** - * The type of identity that last modified the resource. + * describes if the policy is in enabled state or disabled state */ - lastModifiedByType?: string; + enabledState?: string; + /** + * Describes if it is in detection mode or prevention mode at policy level. + */ + mode?: string; } /** - * Model that represents a reference to a Target in the selector. + * Defines the parameters for PostArgs match conditions */ - export interface TargetReferenceResponse { + export interface PostArgsMatchConditionParametersResponse { /** - * String of the resource ID of a Target resource. + * The match value for the condition of the delivery rule */ - id: string; + matchValues?: string[]; /** - * Enum of the Target reference type. + * Describes if this is negate condition or not */ - type: string; + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * Name of PostArg to be matched + */ + selector?: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } + /** + * postArgsMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for PostArgsMatchConditionParametersResponse + */ + export function postArgsMatchConditionParametersResponseProvideDefaults(val: PostArgsMatchConditionParametersResponse): PostArgsMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; } /** - * User assigned identity properties + * Defines the parameters for QueryString match conditions */ - export interface UserAssignedIdentityResponse { + export interface QueryStringMatchConditionParametersResponse { /** - * The client ID of the assigned identity. + * The match value for the condition of the delivery rule */ - clientId: string; + matchValues?: string[]; /** - * The principal ID of the assigned identity. + * Describes if this is negate condition or not */ - principalId: string; + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; } - - } -} - -export namespace cognitiveservices { - /** - * The abuse penalty. - */ - export interface AbusePenaltyResponse { - /** - * The action of AbusePenalty. - */ - action?: string; /** - * The datetime of expiration of the AbusePenalty. + * queryStringMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for QueryStringMatchConditionParametersResponse */ - expiration?: string; + export function queryStringMatchConditionParametersResponseProvideDefaults(val: QueryStringMatchConditionParametersResponse): QueryStringMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * The percentage of rate limit. + * Defines contents of rate limit rules */ - rateLimitPercentage?: number; - } + export interface RateLimitRuleListResponse { + /** + * List of rules + */ + rules?: outputs.cdn.v20230701preview.RateLimitRuleResponse[]; + } - /** - * Properties of Cognitive Services account. - */ - export interface AccountPropertiesResponse { /** - * The abuse penalty. + * Defines a rate limiting rule that can be included in a waf policy */ - abusePenalty: outputs.cognitiveservices.AbusePenaltyResponse; - allowedFqdnList?: string[]; + export interface RateLimitRuleResponse { + /** + * Describes what action to be applied when rule matches + */ + action: string; + /** + * Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + */ + enabledState?: string; + /** + * List of match conditions. + */ + matchConditions: outputs.cdn.v20230701preview.MatchConditionResponse[]; + /** + * Defines the name of the custom rule + */ + name: string; + /** + * Defines in what order this rule be evaluated in the overall list of custom rules + */ + priority: number; + /** + * Defines rate limit duration. Default is 1 minute. + */ + rateLimitDurationInMinutes: number; + /** + * Defines rate limit threshold. + */ + rateLimitThreshold: number; + } + /** - * The api properties for special APIs. + * Defines the parameters for RemoteAddress match conditions */ - apiProperties?: outputs.cognitiveservices.ApiPropertiesResponse; + export interface RemoteAddressMatchConditionParametersResponse { + /** + * Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The call rate limit Cognitive Services account. + * remoteAddressMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for RemoteAddressMatchConditionParametersResponse */ - callRateLimit: outputs.cognitiveservices.CallRateLimitResponse; + export function remoteAddressMatchConditionParametersResponseProvideDefaults(val: RemoteAddressMatchConditionParametersResponse): RemoteAddressMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. + * Defines the parameters for RequestBody match conditions */ - capabilities: outputs.cognitiveservices.SkuCapabilityResponse[]; + export interface RequestBodyMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The commitment plan associations of Cognitive Services account. + * requestBodyMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for RequestBodyMatchConditionParametersResponse */ - commitmentPlanAssociations: outputs.cognitiveservices.CommitmentPlanAssociationResponse[]; + export function requestBodyMatchConditionParametersResponseProvideDefaults(val: RequestBodyMatchConditionParametersResponse): RequestBodyMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * Optional subdomain name used for token-based authentication. + * Defines the parameters for RequestHeader match conditions */ - customSubDomainName?: string; + export interface RequestHeaderMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * Name of Header to be matched + */ + selector?: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * Gets the date of cognitive services account creation. + * requestHeaderMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for RequestHeaderMatchConditionParametersResponse */ - dateCreated: string; + export function requestHeaderMatchConditionParametersResponseProvideDefaults(val: RequestHeaderMatchConditionParametersResponse): RequestHeaderMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * The deletion date, only available for deleted account. + * Defines the parameters for RequestMethod match conditions */ - deletionDate: string; - disableLocalAuth?: boolean; + export interface RequestMethodMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The flag to enable dynamic throttling. + * requestMethodMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for RequestMethodMatchConditionParametersResponse */ - dynamicThrottlingEnabled?: boolean; + export function requestMethodMatchConditionParametersResponseProvideDefaults(val: RequestMethodMatchConditionParametersResponse): RequestMethodMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * The encryption properties for this resource. + * Defines the parameters for RequestScheme match conditions */ - encryption?: outputs.cognitiveservices.EncryptionResponse; + export interface RequestSchemeMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * Endpoint of the created account. + * requestSchemeMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for RequestSchemeMatchConditionParametersResponse */ - endpoint: string; - endpoints: {[key: string]: string}; + export function requestSchemeMatchConditionParametersResponseProvideDefaults(val: RequestSchemeMatchConditionParametersResponse): RequestSchemeMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * The internal identifier (deprecated, do not use this property). + * Defines the parameters for RequestUri match conditions */ - internalId: string; + export interface RequestUriMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * If the resource is migrated from an existing key. + * requestUriMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for RequestUriMatchConditionParametersResponse */ - isMigrated: boolean; + export function requestUriMatchConditionParametersResponseProvideDefaults(val: RequestUriMatchConditionParametersResponse): RequestUriMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * The multiregion settings of Cognitive Services account. + * Reference to another resource. */ - locations?: outputs.cognitiveservices.MultiRegionSettingsResponse; - /** - * Resource migration token. - */ - migrationToken?: string; - /** - * A collection of rules governing the accessibility from specific network locations. - */ - networkAcls?: outputs.cognitiveservices.NetworkRuleSetResponse; - /** - * The private endpoint connection associated with the Cognitive Services account. - */ - privateEndpointConnections: outputs.cognitiveservices.PrivateEndpointConnectionResponse[]; - /** - * Gets the status of the cognitive services account at the time the operation was called. - */ - provisioningState: string; - /** - * Whether or not public endpoint access is allowed for this account. - */ - publicNetworkAccess?: string; - quotaLimit: outputs.cognitiveservices.QuotaLimitResponse; - restrictOutboundNetworkAccess?: boolean; - /** - * The scheduled purge date, only available for deleted account. - */ - scheduledPurgeDate: string; - /** - * Sku change info of account. - */ - skuChangeInfo: outputs.cognitiveservices.SkuChangeInfoResponse; - /** - * The storage accounts for this resource. - */ - userOwnedStorage?: outputs.cognitiveservices.UserOwnedStorageResponse[]; - } - /** - * accountPropertiesResponseProvideDefaults sets the appropriate defaults for AccountPropertiesResponse - */ - export function accountPropertiesResponseProvideDefaults(val: AccountPropertiesResponse): AccountPropertiesResponse { - return { - ...val, - encryption: (val.encryption ? outputs.cognitiveservices.encryptionResponseProvideDefaults(val.encryption) : undefined), - }; - } + export interface ResourceReferenceResponse { + /** + * Resource ID. + */ + id?: string; + } - /** - * The api properties for special APIs. - */ - export interface ApiPropertiesResponse { /** - * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + * The JSON object that contains the properties to determine origin health using real requests/responses. */ - aadClientId?: string; + export interface ResponseBasedOriginErrorDetectionParametersResponse { + /** + * The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + */ + httpErrorRanges?: outputs.cdn.v20230701preview.HttpErrorRangeParametersResponse[]; + /** + * Type of response errors for real user requests for which origin will be deemed unhealthy + */ + responseBasedDetectedErrorTypes?: string; + /** + * The percentage of failed requests in the sample where failover should trigger. + */ + responseBasedFailoverThresholdPercentage?: number; + } + /** - * (Metrics Advisor Only) The Azure AD Tenant Id. + * Defines the parameters for the route configuration override action. */ - aadTenantId?: string; + export interface RouteConfigurationOverrideActionParametersResponse { + /** + * The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + */ + cacheConfiguration?: outputs.cdn.v20230701preview.CacheConfigurationResponse; + /** + * A reference to the origin group override configuration. Leave empty to use the default origin group on route. + */ + originGroupOverride?: outputs.cdn.v20230701preview.OriginGroupOverrideResponse; + typeName: string; + } + /** - * (Personalization Only) The flag to enable statistics of Bing Search. + * settings for security policy patterns to match */ - eventHubConnectionString?: string; + export interface SecurityPolicyWebApplicationFirewallAssociationResponse { + /** + * List of domains. + */ + domains?: outputs.cdn.v20230701preview.ActivatedResourceReferenceResponse[]; + /** + * List of paths + */ + patternsToMatch?: string[]; + } + /** - * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + * The json object containing security policy waf parameters */ - qnaAzureSearchEndpointId?: string; + export interface SecurityPolicyWebApplicationFirewallParametersResponse { + /** + * Waf associations + */ + associations?: outputs.cdn.v20230701preview.SecurityPolicyWebApplicationFirewallAssociationResponse[]; + /** + * The type of the Security policy to create. + * Expected value is 'WebApplicationFirewall'. + */ + type: "WebApplicationFirewall"; + /** + * Resource ID. + */ + wafPolicy?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + } + /** - * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + * Defines the parameters for ServerPort match conditions */ - qnaAzureSearchEndpointKey?: string; + export interface ServerPortMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * (QnAMaker Only) The runtime endpoint of QnAMaker. + * serverPortMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for ServerPortMatchConditionParametersResponse */ - qnaRuntimeEndpoint?: string; + export function serverPortMatchConditionParametersResponseProvideDefaults(val: ServerPortMatchConditionParametersResponse): ServerPortMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * (Bing Search Only) The flag to enable statistics of Bing Search. + * Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. */ - statisticsEnabled?: boolean; + export interface SharedPrivateLinkResourcePropertiesResponse { + /** + * The group id from the provider of resource the shared private link resource is for. + */ + groupId?: string; + /** + * The resource id of the resource the shared private link resource is for. + */ + privateLink?: outputs.cdn.v20230701preview.ResourceReferenceResponse; + /** + * The location of the shared private link resource + */ + privateLinkLocation?: string; + /** + * The request message for requesting approval of the shared private link resource. + */ + requestMessage?: string; + /** + * Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + */ + status?: string; + } + /** - * (Personalization Only) The storage account connection string. + * Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + * Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + * Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + * Standard_Akamai = The SKU name for an Akamai CDN profile. + * Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + * Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + * Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + * Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + * Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + * Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + * StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + * StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + * StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. */ - storageAccountConnectionString?: string; + export interface SkuResponse { + /** + * Name of the pricing tier. + */ + name?: string; + } + /** - * (Metrics Advisor Only) The super user of Metrics Advisor. + * Defines the parameters for SocketAddress match conditions */ - superUser?: string; + export interface SocketAddrMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * (Metrics Advisor Only) The website name of Metrics Advisor. + * socketAddrMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for SocketAddrMatchConditionParametersResponse */ - websiteName?: string; - } + export function socketAddrMatchConditionParametersResponseProvideDefaults(val: SocketAddrMatchConditionParametersResponse): SocketAddrMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * The call rate limit Cognitive Services account. - */ - export interface CallRateLimitResponse { /** - * The count value of Call Rate Limit. + * Defines the parameters for SslProtocol match conditions */ - count?: number; + export interface SslProtocolMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The renewal period in seconds of Call Rate Limit. + * sslProtocolMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for SslProtocolMatchConditionParametersResponse */ - renewalPeriod?: number; - rules?: outputs.cognitiveservices.ThrottlingRuleResponse[]; - } + export function sslProtocolMatchConditionParametersResponseProvideDefaults(val: SslProtocolMatchConditionParametersResponse): SslProtocolMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * Cognitive Services account commitment period. - */ - export interface CommitmentPeriodResponse { /** - * Commitment period commitment count. + * Read only system data */ - count?: number; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC) + */ + createdAt?: string; + /** + * An identifier for the identity that created the resource + */ + createdBy?: string; + /** + * The type of identity that created the resource + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * An identifier for the identity that last modified the resource + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource + */ + lastModifiedByType?: string; + } + /** - * Commitment period end date. + * Defines the parameters for UrlFileExtension match conditions */ - endDate: string; + export interface UrlFileExtensionMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * Cognitive Services account commitment quota. + * urlFileExtensionMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for UrlFileExtensionMatchConditionParametersResponse */ - quota: outputs.cognitiveservices.CommitmentQuotaResponse; + export function urlFileExtensionMatchConditionParametersResponseProvideDefaults(val: UrlFileExtensionMatchConditionParametersResponse): UrlFileExtensionMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } + /** - * Commitment period start date. + * Defines the parameters for UrlFilename match conditions */ - startDate: string; + export interface UrlFileNameMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * Commitment period commitment tier. + * urlFileNameMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for UrlFileNameMatchConditionParametersResponse */ - tier?: string; - } + export function urlFileNameMatchConditionParametersResponseProvideDefaults(val: UrlFileNameMatchConditionParametersResponse): UrlFileNameMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * The commitment plan association. - */ - export interface CommitmentPlanAssociationResponse { /** - * The Azure resource id of the commitment plan. + * Defines the parameters for UrlPath match conditions */ - commitmentPlanId?: string; + export interface UrlPathMatchConditionParametersResponse { + /** + * The match value for the condition of the delivery rule + */ + matchValues?: string[]; + /** + * Describes if this is negate condition or not + */ + negateCondition?: boolean; + /** + * Describes operator to be matched + */ + operator: string; + /** + * List of transforms + */ + transforms?: string[]; + typeName: string; + } /** - * The location of of the commitment plan. + * urlPathMatchConditionParametersResponseProvideDefaults sets the appropriate defaults for UrlPathMatchConditionParametersResponse */ - commitmentPlanLocation?: string; - } + export function urlPathMatchConditionParametersResponseProvideDefaults(val: UrlPathMatchConditionParametersResponse): UrlPathMatchConditionParametersResponse { + return { + ...val, + negateCondition: (val.negateCondition) ?? false, + }; + } - /** - * Properties of Cognitive Services account commitment plan. - */ - export interface CommitmentPlanPropertiesResponse { /** - * AutoRenew commitment plan. + * Defines the parameters for the url redirect action. */ - autoRenew?: boolean; + export interface UrlRedirectActionParametersResponse { + /** + * Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + */ + customFragment?: string; + /** + * Host to redirect. Leave empty to use the incoming host as the destination host. + */ + customHostname?: string; + /** + * The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + */ + customPath?: string; + /** + * The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them. + */ + customQueryString?: string; + /** + * Protocol to use for the redirect. The default value is MatchRequest + */ + destinationProtocol?: string; + /** + * The redirect type the rule will use when redirecting traffic. + */ + redirectType: string; + typeName: string; + } + /** - * Commitment plan guid. + * Defines the url redirect action for the delivery rule. */ - commitmentPlanGuid?: string; + export interface UrlRedirectActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'UrlRedirect'. + */ + name: "UrlRedirect"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.UrlRedirectActionParametersResponse; + } + /** - * Cognitive Services account commitment period. + * Defines the parameters for the url rewrite action. */ - current?: outputs.cognitiveservices.CommitmentPeriodResponse; + export interface UrlRewriteActionParametersResponse { + /** + * Define the relative URL to which the above requests will be rewritten by. + */ + destination: string; + /** + * Whether to preserve unmatched path. Default value is true. + */ + preserveUnmatchedPath?: boolean; + /** + * define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + */ + sourcePattern: string; + typeName: string; + } + /** - * Account hosting model. + * Defines the url rewrite action for the delivery rule. */ - hostingModel?: string; + export interface UrlRewriteActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'UrlRewrite'. + */ + name: "UrlRewrite"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.UrlRewriteActionParametersResponse; + } + /** - * Cognitive Services account commitment period. + * Defines the parameters for the Url Signing action. */ - last: outputs.cognitiveservices.CommitmentPeriodResponse; + export interface UrlSigningActionParametersResponse { + /** + * Algorithm to use for URL signing + */ + algorithm?: string; + /** + * Defines which query string parameters in the url to be considered for expires, key id etc. + */ + parameterNameOverride?: outputs.cdn.v20230701preview.UrlSigningParamIdentifierResponse[]; + typeName: string; + } + /** - * Cognitive Services account commitment period. + * Defines the url signing action for the delivery rule. */ - next?: outputs.cognitiveservices.CommitmentPeriodResponse; + export interface UrlSigningActionResponse { + /** + * The name of the action for the delivery rule. + * Expected value is 'UrlSigning'. + */ + name: "UrlSigning"; + /** + * Defines the parameters for the action. + */ + parameters: outputs.cdn.v20230701preview.UrlSigningActionParametersResponse; + } + /** - * Commitment plan type. + * Url signing key parameters */ - planType?: string; + export interface UrlSigningKeyParametersResponse { + /** + * Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + */ + keyId: string; + /** + * Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + */ + secretSource: outputs.cdn.v20230701preview.ResourceReferenceResponse; + /** + * Version of the secret to be used + */ + secretVersion?: string; + /** + * The type of the secret resource. + * Expected value is 'UrlSigningKey'. + */ + type: "UrlSigningKey"; + } + /** - * The list of ProvisioningIssue. + * Url signing key */ - provisioningIssues: string[]; + export interface UrlSigningKeyResponse { + /** + * Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + */ + keyId: string; + /** + * Defines the parameters for using customer key vault for Url Signing Key. + */ + keySourceParameters: outputs.cdn.v20230701preview.KeyVaultSigningKeyParametersResponse; + } + /** - * Gets the status of the resource at the time the operation was called. + * Defines how to identify a parameter for a specific purpose e.g. expires */ - provisioningState: string; - } + export interface UrlSigningParamIdentifierResponse { + /** + * Indicates the purpose of the parameter + */ + paramIndicator: string; + /** + * Parameter name + */ + paramName: string; + } - /** - * Cognitive Services account commitment quota. - */ - export interface CommitmentQuotaResponse { /** - * Commitment quota quantity. + * User assigned identity properties */ - quantity?: number; + export interface UserAssignedIdentityResponse { + /** + * The client ID of the assigned identity. + */ + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + /** - * Commitment quota unit. + * Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ - unit?: string; + export interface UserManagedHttpsParametersResponse { + /** + * Defines the source of the SSL certificate. + * Expected value is 'AzureKeyVault'. + */ + certificateSource: "AzureKeyVault"; + /** + * Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + */ + certificateSourceParameters: outputs.cdn.v20230701preview.KeyVaultCertificateSourceParametersResponse; + /** + * TLS protocol version that will be used for Https + */ + minimumTlsVersion?: string; + /** + * Defines the TLS extension protocol that is used for secure delivery. + */ + protocolType: string; + } + } +} +export namespace certificateregistration { /** - * Properties of Cognitive Services account deployment model. + * Key Vault container for a certificate that is purchased through Azure. */ - export interface DeploymentModelResponse { - /** - * The call rate limit Cognitive Services account. - */ - callRateLimit: outputs.cognitiveservices.CallRateLimitResponse; - /** - * Deployment model format. - */ - format?: string; + export interface AppServiceCertificateResponse { /** - * Deployment model name. + * Key Vault resource Id. */ - name?: string; + keyVaultId?: string; /** - * Optional. Deployment model source ARM resource ID. + * Key Vault secret name. */ - source?: string; + keyVaultSecretName?: string; /** - * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + * Status of the Key Vault secret. */ - version?: string; + provisioningState: string; } /** - * Properties of Cognitive Services account deployment. + * SSL certificate details. */ - export interface DeploymentPropertiesResponse { - /** - * The call rate limit Cognitive Services account. - */ - callRateLimit: outputs.cognitiveservices.CallRateLimitResponse; + export interface CertificateDetailsResponse { /** - * The capabilities. + * Certificate Issuer. */ - capabilities: {[key: string]: string}; + issuer: string; /** - * Properties of Cognitive Services account deployment model. + * Date Certificate is valid to. */ - model?: outputs.cognitiveservices.DeploymentModelResponse; + notAfter: string; /** - * Gets the status of the resource at the time the operation was called. + * Date Certificate is valid from. */ - provisioningState: string; + notBefore: string; /** - * The name of RAI policy. + * Raw certificate data. */ - raiPolicyName?: string; - rateLimits: outputs.cognitiveservices.ThrottlingRuleResponse[]; + rawData: string; /** - * Properties of Cognitive Services account deployment model. + * Certificate Serial Number. */ - scaleSettings?: outputs.cognitiveservices.DeploymentScaleSettingsResponse; + serialNumber: string; /** - * Deployment model version upgrade option. + * Certificate Signature algorithm. */ - versionUpgradeOption?: string; - } - - /** - * Properties of Cognitive Services account deployment model. - */ - export interface DeploymentScaleSettingsResponse { + signatureAlgorithm: string; /** - * Deployment active capacity. This value might be different from `capacity` if customer recently updated `capacity`. + * Certificate Subject. */ - activeCapacity: number; + subject: string; /** - * Deployment capacity. + * Certificate Thumbprint. */ - capacity?: number; + thumbprint: string; /** - * Deployment scale type. + * Certificate Version. */ - scaleType?: string; + version: number; } - /** - * Properties to configure Encryption - */ - export interface EncryptionResponse { - /** - * Enumerates the possible value of keySource for Encryption - */ - keySource?: string; - /** - * Properties of KeyVault - */ - keyVaultProperties?: outputs.cognitiveservices.KeyVaultPropertiesResponse; - } - /** - * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse - */ - export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { - return { - ...val, - keySource: (val.keySource) ?? "Microsoft.KeyVault", - }; + export interface CertificateOrderContactResponse { + email?: string; + nameFirst?: string; + nameLast?: string; + phone?: string; } - /** - * Identity for the resource. - */ - export interface IdentityResponse { + export namespace v20201001 { /** - * The principal ID of resource identity. + * Key Vault container for a certificate that is purchased through Azure. */ - principalId: string; + export interface AppServiceCertificateResponse { + /** + * Key Vault resource Id. + */ + keyVaultId?: string; + /** + * Key Vault secret name. + */ + keyVaultSecretName?: string; + /** + * Status of the Key Vault secret. + */ + provisioningState: string; + } + /** - * The tenant ID of resource. + * SSL certificate details. */ - tenantId: string; + export interface CertificateDetailsResponse { + /** + * Certificate Issuer. + */ + issuer: string; + /** + * Date Certificate is valid to. + */ + notAfter: string; + /** + * Date Certificate is valid from. + */ + notBefore: string; + /** + * Raw certificate data. + */ + rawData: string; + /** + * Certificate Serial Number. + */ + serialNumber: string; + /** + * Certificate Signature algorithm. + */ + signatureAlgorithm: string; + /** + * Certificate Subject. + */ + subject: string; + /** + * Certificate Thumbprint. + */ + thumbprint: string; + /** + * Certificate Version. + */ + version: number; + } + /** - * The identity type. + * Metadata pertaining to creation and last modification of the resource. */ - type?: string; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + } + + export namespace v20220901 { /** - * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + * Key Vault container for a certificate that is purchased through Azure. */ - userAssignedIdentities?: {[key: string]: outputs.cognitiveservices.UserAssignedIdentityResponse}; - } + export interface AppServiceCertificateResponse { + /** + * Key Vault resource Id. + */ + keyVaultId?: string; + /** + * Key Vault secret name. + */ + keyVaultSecretName?: string; + /** + * Status of the Key Vault secret. + */ + provisioningState: string; + } - /** - * A rule governing the accessibility from a specific ip address or ip range. - */ - export interface IpRuleResponse { /** - * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + * SSL certificate details. */ - value: string; + export interface CertificateDetailsResponse { + /** + * Certificate Issuer. + */ + issuer: string; + /** + * Date Certificate is valid to. + */ + notAfter: string; + /** + * Date Certificate is valid from. + */ + notBefore: string; + /** + * Raw certificate data. + */ + rawData: string; + /** + * Certificate Serial Number. + */ + serialNumber: string; + /** + * Certificate Signature algorithm. + */ + signatureAlgorithm: string; + /** + * Certificate Subject. + */ + subject: string; + /** + * Certificate Thumbprint. + */ + thumbprint: string; + /** + * Certificate Version. + */ + version: number; + } + + export interface CertificateOrderContactResponse { + email?: string; + nameFirst?: string; + nameLast?: string; + phone?: string; + } + } +} +export namespace changeanalysis { /** - * Properties to configure keyVault Properties + * Configuration properties of an Azure Monitor workspace that receives change notifications. */ - export interface KeyVaultPropertiesResponse { - identityClientId?: string; + export interface AzureMonitorWorkspacePropertiesResponse { /** - * Name of the Key from KeyVault + * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. */ - keyName?: string; + includeChangeDetails?: string; /** - * Uri of KeyVault + * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. */ - keyVaultUri?: string; + workspaceId?: string; /** - * Version of the Key from KeyVault + * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} */ - keyVersion?: string; + workspaceResourceId?: string; } /** - * The multiregion settings Cognitive Services account. + * The properties of a configuration profile. */ - export interface MultiRegionSettingsResponse { - regions?: outputs.cognitiveservices.RegionSettingResponse[]; + export interface ConfigurationProfileResourcePropertiesResponse { /** - * Multiregion routing methods. + * Settings of change notification configuration for a subscription. */ - routingMethod?: string; + notifications?: outputs.changeanalysis.NotificationSettingsResponse; } /** - * A set of rules governing the network accessibility. + * Settings of change notification configuration for a subscription. */ - export interface NetworkRuleSetResponse { - /** - * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. - */ - defaultAction?: string; + export interface NotificationSettingsResponse { /** - * The list of IP address rules. + * The state of notifications feature. */ - ipRules?: outputs.cognitiveservices.IpRuleResponse[]; + activationState?: string; /** - * The list of virtual network rules. + * Configuration properties of an Azure Monitor workspace that receives change notifications. */ - virtualNetworkRules?: outputs.cognitiveservices.VirtualNetworkRuleResponse[]; + azureMonitorWorkspaceProperties?: outputs.changeanalysis.AzureMonitorWorkspacePropertiesResponse; } /** - * Properties of the PrivateEndpointConnectProperties. + * The identity block returned by ARM resource that supports managed identity. */ - export interface PrivateEndpointConnectionPropertiesResponse { - /** - * The private link resource group ids. - */ - groupIds?: string[]; + export interface ResourceIdentityResponse { /** - * The resource of private end point. + * The principal id of the identity. This property will only be provided for a system-assigned identity. */ - privateEndpoint?: outputs.cognitiveservices.PrivateEndpointResponse; + principalId: string; /** - * A collection of information about the state of the connection between service consumer and provider. + * The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity. */ - privateLinkServiceConnectionState: outputs.cognitiveservices.PrivateLinkServiceConnectionStateResponse; + tenantId: string; /** - * The provisioning state of the private endpoint connection resource. + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. */ - provisioningState: string; + type?: string; } /** - * The Private Endpoint Connection resource. + * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources */ - export interface PrivateEndpointConnectionResponse { - /** - * Resource Etag. - */ - etag: string; + export interface SystemDataResponse { /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The timestamp of resource creation (UTC) */ - id: string; + createdAt: string; /** - * The location of the private endpoint connection + * A string identifier for the identity that created the resource */ - location?: string; + createdBy: string; /** - * The name of the resource + * The type of identity that created the resource: user, application, managedIdentity, key */ - name: string; + createdByType: string; /** - * Resource properties. + * The timestamp of resource last modification (UTC) */ - properties?: outputs.cognitiveservices.PrivateEndpointConnectionPropertiesResponse; + lastModifiedAt: string; /** - * Metadata pertaining to creation and last modification of the resource. + * A string identifier for the identity that last modified the resource */ - systemData: outputs.cognitiveservices.SystemDataResponse; + lastModifiedBy: string; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * The type of identity that last modified the resource: user, application, managedIdentity, key */ - type: string; + lastModifiedByType: string; } - /** - * The Private Endpoint resource. - */ - export interface PrivateEndpointResponse { + export namespace v20200401preview { /** - * The ARM identifier for Private Endpoint + * Configuration properties of an Azure Monitor workspace that receives change notifications. */ - id: string; - } + export interface AzureMonitorWorkspacePropertiesResponse { + /** + * The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values. + */ + includeChangeDetails?: string; + /** + * The Azure Monitor workspace ID - the unique identifier for the Log Analytics workspace. + */ + workspaceId?: string; + /** + * The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} + */ + workspaceResourceId?: string; + } - /** - * A collection of information about the state of the connection between service consumer and provider. - */ - export interface PrivateLinkServiceConnectionStateResponse { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * The properties of a configuration profile. */ - actionsRequired?: string; + export interface ConfigurationProfileResourcePropertiesResponse { + /** + * Settings of change notification configuration for a subscription. + */ + notifications?: outputs.changeanalysis.v20200401preview.NotificationSettingsResponse; + } + /** - * The reason for approval/rejection of the connection. + * Settings of change notification configuration for a subscription. */ - description?: string; + export interface NotificationSettingsResponse { + /** + * The state of notifications feature. + */ + activationState?: string; + /** + * Configuration properties of an Azure Monitor workspace that receives change notifications. + */ + azureMonitorWorkspaceProperties?: outputs.changeanalysis.v20200401preview.AzureMonitorWorkspacePropertiesResponse; + } + /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * The identity block returned by ARM resource that supports managed identity. */ - status?: string; - } - - export interface QuotaLimitResponse { - count?: number; - renewalPeriod?: number; - rules?: outputs.cognitiveservices.ThrottlingRuleResponse[]; - } - - /** - * The call rate limit Cognitive Services account. - */ - export interface RegionSettingResponse { + export interface ResourceIdentityResponse { + /** + * The principal id of the identity. This property will only be provided for a system-assigned identity. + */ + principalId: string; + /** + * The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity. + */ + tenantId: string; + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + */ + type?: string; + } + /** - * Maps the region to the regional custom subdomain. + * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources */ - customsubdomain?: string; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC) + */ + createdAt: string; + /** + * A string identifier for the identity that created the resource + */ + createdBy: string; + /** + * The type of identity that created the resource: user, application, managedIdentity, key + */ + createdByType: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt: string; + /** + * A string identifier for the identity that last modified the resource + */ + lastModifiedBy: string; + /** + * The type of identity that last modified the resource: user, application, managedIdentity, key + */ + lastModifiedByType: string; + } + + } +} + +export namespace chaos { + /** + * Model that represents a branch in the step. + */ + export interface BranchResponse { /** - * Name of the region. + * List of actions. */ - name?: string; + actions: (outputs.chaos.ContinuousActionResponse | outputs.chaos.DelayActionResponse | outputs.chaos.DiscreteActionResponse)[]; /** - * A value for priority or weighted routing methods. + * String of the branch name. */ - value?: number; + name: string; } - export interface RequestMatchPatternResponse { - method?: string; - path?: string; + /** + * Model that represents the Capability properties model. + */ + export interface CapabilityPropertiesResponse { + /** + * Localized string of the description. + */ + description: string; + /** + * URL to retrieve JSON schema of the Capability parameters. + */ + parametersSchema: string; + /** + * String of the Publisher that this Capability extends. + */ + publisher: string; + /** + * String of the Target Type that this Capability extends. + */ + targetType: string; + /** + * String of the URN for this Capability Type. + */ + urn: string; } /** - * SkuCapability indicates the capability of a certain feature. + * Model that represents a continuous action. */ - export interface SkuCapabilityResponse { + export interface ContinuousActionResponse { /** - * The name of the SkuCapability. + * ISO8601 formatted string that represents a duration. */ - name?: string; + duration: string; /** - * The value of the SkuCapability. + * String that represents a Capability URN. */ - value?: string; + name: string; + /** + * List of key value pairs. + */ + parameters: outputs.chaos.KeyValuePairResponse[]; + /** + * String that represents a selector. + */ + selectorId: string; + /** + * Enum that discriminates between action models. + * Expected value is 'continuous'. + */ + type: "continuous"; } /** - * Sku change info of account. + * Model that represents a delay action. */ - export interface SkuChangeInfoResponse { + export interface DelayActionResponse { /** - * Gets the count of downgrades. + * ISO8601 formatted string that represents a duration. */ - countOfDowngrades?: number; + duration: string; /** - * Gets the count of upgrades after downgrades. + * String that represents a Capability URN. */ - countOfUpgradesAfterDowngrades?: number; + name: string; /** - * Gets the last change date. + * Enum that discriminates between action models. + * Expected value is 'delay'. */ - lastChangeDate?: string; + type: "delay"; } /** - * The resource model definition representing SKU + * Model that represents a discrete action. */ - export interface SkuResponse { + export interface DiscreteActionResponse { /** - * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + * String that represents a Capability URN. */ - capacity?: number; + name: string; /** - * If the service has different generations of hardware, for the same SKU, then that can be captured here. + * List of key value pairs. */ - family?: string; + parameters: outputs.chaos.KeyValuePairResponse[]; /** - * The name of the SKU. Ex - P3. It is typically a letter+number code + * String that represents a selector. */ - name: string; + selectorId: string; /** - * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + * Enum that discriminates between action models. + * Expected value is 'discrete'. */ - size?: string; + type: "discrete"; + } + + /** + * Model that represents the Experiment properties model. + */ + export interface ExperimentPropertiesResponse { /** - * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + * List of selectors. */ - tier?: string; + selectors: (outputs.chaos.ListSelectorResponse | outputs.chaos.QuerySelectorResponse)[]; + /** + * A boolean value that indicates if experiment should be started on creation or not. + */ + startOnCreation?: boolean; + /** + * List of steps. + */ + steps: outputs.chaos.StepResponse[]; } /** - * Metadata pertaining to creation and last modification of the resource. + * A map to describe the settings of an action. */ - export interface SystemDataResponse { + export interface KeyValuePairResponse { /** - * The timestamp of resource creation (UTC). + * The name of the setting for the action. */ - createdAt?: string; + key: string; /** - * The identity that created the resource. + * The value of the setting for the action. */ - createdBy?: string; + value: string; + } + + /** + * Model that represents a list selector. + */ + export interface ListSelectorResponse { /** - * The type of identity that created the resource. + * Model that represents available filter types that can be applied to a targets list. */ - createdByType?: string; + filter?: outputs.chaos.SimpleFilterResponse; /** - * The timestamp of resource last modification (UTC) + * String of the selector ID. */ - lastModifiedAt?: string; + id: string; /** - * The identity that last modified the resource. + * List of Target references. */ - lastModifiedBy?: string; + targets: outputs.chaos.TargetReferenceResponse[]; /** - * The type of identity that last modified the resource. + * Enum of the selector type. + * Expected value is 'List'. */ - lastModifiedByType?: string; + type: "List"; } - export interface ThrottlingRuleResponse { - count?: number; - dynamicThrottlingEnabled?: boolean; - key?: string; - matchPatterns?: outputs.cognitiveservices.RequestMatchPatternResponse[]; - minCount?: number; - renewalPeriod?: number; + /** + * Model that represents a query selector. + */ + export interface QuerySelectorResponse { + /** + * Model that represents available filter types that can be applied to a targets list. + */ + filter?: outputs.chaos.SimpleFilterResponse; + /** + * String of the selector ID. + */ + id: string; + /** + * Azure Resource Graph (ARG) Query Language query for target resources. + */ + queryString: string; + /** + * Subscription id list to scope resource query. + */ + subscriptionIds: string[]; + /** + * Enum of the selector type. + * Expected value is 'Query'. + */ + type: "Query"; } /** - * User-assigned managed identity. + * The identity of a resource. */ - export interface UserAssignedIdentityResponse { + export interface ResourceIdentityResponse { /** - * Client App Id associated with this identity. + * GUID that represents the principal ID of this resource identity. */ - clientId: string; + principalId: string; /** - * Azure Active Directory principal ID associated with this Identity. + * GUID that represents the tenant ID of this resource identity. */ - principalId: string; + tenantId: string; + /** + * String of the resource identity type. + */ + type: string; + /** + * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.chaos.UserAssignedIdentityResponse}; } /** - * The user owned storage for Cognitive Services account. + * Model that represents the Simple filter parameters. */ - export interface UserOwnedStorageResponse { - identityClientId?: string; + export interface SimpleFilterParametersResponse { /** - * Full resource id of a Microsoft.Storage resource. + * List of Azure availability zones to filter targets by. */ - resourceId?: string; + zones?: string[]; } /** - * A rule governing the accessibility from a specific virtual network. + * Model that represents a simple target filter. */ - export interface VirtualNetworkRuleResponse { + export interface SimpleFilterResponse { /** - * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + * Model that represents the Simple filter parameters. */ - id: string; + parameters?: outputs.chaos.SimpleFilterParametersResponse; /** - * Ignore missing vnet service endpoint or not. + * Enum that discriminates between filter types. Currently only `Simple` type is supported. + * Expected value is 'Simple'. */ - ignoreMissingVnetServiceEndpoint?: boolean; + type: "Simple"; + } + + /** + * Model that represents a step in the Experiment resource. + */ + export interface StepResponse { /** - * Gets the state of virtual network rule. + * List of branches. */ - state?: string; + branches: outputs.chaos.BranchResponse[]; + /** + * String of the step name. + */ + name: string; } - export namespace v20170418 { + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { /** - * The api properties for special APIs. + * The timestamp of resource creation (UTC). */ - export interface CognitiveServicesAccountApiPropertiesResponse { - /** - * (Metrics Advisor Only) The Azure AD Client Id (Application Id). - */ - aadClientId?: string; - /** - * (Metrics Advisor Only) The Azure AD Tenant Id. - */ - aadTenantId?: string; - /** - * (Personalization Only) The flag to enable statistics of Bing Search. - */ - eventHubConnectionString?: string; - /** - * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. - */ - qnaAzureSearchEndpointId?: string; - /** - * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. - */ - qnaAzureSearchEndpointKey?: string; - /** - * (QnAMaker Only) The runtime endpoint of QnAMaker. - */ - qnaRuntimeEndpoint?: string; - /** - * (Bing Search Only) The flag to enable statistics of Bing Search. - */ - statisticsEnabled?: boolean; - /** - * (Personalization Only) The storage account connection string. - */ - storageAccountConnectionString?: string; - /** - * (Metrics Advisor Only) The super user of Metrics Advisor. - */ - superUser?: string; - /** - * (Metrics Advisor Only) The website name of Metrics Advisor. - */ - websiteName?: string; - } - + createdAt?: string; /** - * Properties of Cognitive Services account. + * The identity that created the resource. */ - export interface CognitiveServicesAccountPropertiesResponse { - /** - * The api properties for special APIs. - */ - apiProperties?: outputs.cognitiveservices.v20170418.CognitiveServicesAccountApiPropertiesResponse; - /** - * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. - */ - capabilities: outputs.cognitiveservices.v20170418.SkuCapabilityResponse[]; - /** - * Optional subdomain name used for token-based authentication. - */ - customSubDomainName?: string; - /** - * Gets the date of cognitive services account creation. - */ - dateCreated: string; - /** - * The encryption properties for this resource. - */ - encryption?: outputs.cognitiveservices.v20170418.EncryptionResponse; - /** - * Endpoint of the created account. - */ - endpoint: string; - /** - * The internal identifier. - */ - internalId: string; - /** - * If the resource is migrated from an existing key. - */ - isMigrated: boolean; - /** - * A collection of rules governing the accessibility from specific network locations. - */ - networkAcls?: outputs.cognitiveservices.v20170418.NetworkRuleSetResponse; - /** - * The private endpoint connection associated with the Cognitive Services account. - */ - privateEndpointConnections?: outputs.cognitiveservices.v20170418.PrivateEndpointConnectionResponse[]; - /** - * Gets the status of the cognitive services account at the time the operation was called. - */ - provisioningState: string; - /** - * Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - */ - publicNetworkAccess?: string; - /** - * Sku change info of account. - */ - skuChangeInfo: outputs.cognitiveservices.v20170418.CognitiveServicesAccountSkuChangeInfoResponse; - /** - * The storage accounts for this resource. - */ - userOwnedStorage?: outputs.cognitiveservices.v20170418.UserOwnedStorageResponse[]; - } + createdBy?: string; /** - * cognitiveServicesAccountPropertiesResponseProvideDefaults sets the appropriate defaults for CognitiveServicesAccountPropertiesResponse + * The type of identity that created the resource. */ - export function cognitiveServicesAccountPropertiesResponseProvideDefaults(val: CognitiveServicesAccountPropertiesResponse): CognitiveServicesAccountPropertiesResponse { - return { - ...val, - encryption: (val.encryption ? outputs.cognitiveservices.v20170418.encryptionResponseProvideDefaults(val.encryption) : undefined), - }; - } - + createdByType?: string; /** - * Sku change info of account. + * The timestamp of resource last modification (UTC) */ - export interface CognitiveServicesAccountSkuChangeInfoResponse { - /** - * Gets the count of downgrades. - */ - countOfDowngrades: number; - /** - * Gets the count of upgrades after downgrades. - */ - countOfUpgradesAfterDowngrades: number; - /** - * Gets the last change date. - */ - lastChangeDate: string; - } - + lastModifiedAt?: string; /** - * Properties to configure Encryption + * The identity that last modified the resource. */ - export interface EncryptionResponse { - /** - * Enumerates the possible value of keySource for Encryption - */ - keySource?: string; - /** - * Properties of KeyVault - */ - keyVaultProperties?: outputs.cognitiveservices.v20170418.KeyVaultPropertiesResponse; - } + lastModifiedBy?: string; /** - * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse + * The type of identity that last modified the resource. */ - export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { - return { - ...val, - keySource: (val.keySource) ?? "Microsoft.KeyVault", - }; - } + lastModifiedByType?: string; + } + /** + * Model that represents a reference to a Target in the selector. + */ + export interface TargetReferenceResponse { /** - * Managed service identity. + * String of the resource ID of a Target resource. */ - export interface IdentityResponse { - /** - * Principal Id of managed service identity. - */ - principalId: string; - /** - * Tenant of managed service identity. - */ - tenantId: string; - /** - * Type of managed service identity. - */ - type?: string; - /** - * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} - */ - userAssignedIdentities?: {[key: string]: outputs.cognitiveservices.v20170418.UserAssignedIdentityResponse}; - } + id: string; + /** + * Enum of the Target reference type. + */ + type: string; + } + /** + * User assigned identity properties + */ + export interface UserAssignedIdentityResponse { /** - * A rule governing the accessibility from a specific ip address or ip range. + * The client ID of the assigned identity. */ - export interface IpRuleResponse { - /** - * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). - */ - value: string; - } + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + export namespace v20230415preview { /** - * Properties to configure keyVault Properties + * Model that represents a branch in the step. */ - export interface KeyVaultPropertiesResponse { - /** - * Name of the Key from KeyVault - */ - keyName?: string; + export interface BranchResponse { /** - * Uri of KeyVault + * List of actions. */ - keyVaultUri?: string; + actions: (outputs.chaos.v20230415preview.ContinuousActionResponse | outputs.chaos.v20230415preview.DelayActionResponse | outputs.chaos.v20230415preview.DiscreteActionResponse)[]; /** - * Version of the Key from KeyVault + * String of the branch name. */ - keyVersion?: string; + name: string; } /** - * A set of rules governing the network accessibility. + * Model that represents the Capability properties model. */ - export interface NetworkRuleSetResponse { - /** - * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. - */ - defaultAction?: string; + export interface CapabilityPropertiesResponse { /** - * The list of IP address rules. + * Localized string of the description. */ - ipRules?: outputs.cognitiveservices.v20170418.IpRuleResponse[]; + description: string; /** - * The list of virtual network rules. + * URL to retrieve JSON schema of the Capability parameters. */ - virtualNetworkRules?: outputs.cognitiveservices.v20170418.VirtualNetworkRuleResponse[]; - } - - /** - * Properties of the PrivateEndpointConnectProperties. - */ - export interface PrivateEndpointConnectionPropertiesResponse { + parametersSchema: string; /** - * The private link resource group ids. + * String of the Publisher that this Capability extends. */ - groupIds?: string[]; + publisher: string; /** - * The resource of private end point. + * String of the Target Type that this Capability extends. */ - privateEndpoint?: outputs.cognitiveservices.v20170418.PrivateEndpointResponse; + targetType: string; /** - * A collection of information about the state of the connection between service consumer and provider. + * String of the URN for this Capability Type. */ - privateLinkServiceConnectionState: outputs.cognitiveservices.v20170418.PrivateLinkServiceConnectionStateResponse; + urn: string; } /** - * The Private Endpoint Connection resource. + * Model that represents a continuous action. */ - export interface PrivateEndpointConnectionResponse { - /** - * Entity Tag - */ - etag: string; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - id: string; + export interface ContinuousActionResponse { /** - * The location of the private endpoint connection + * ISO8601 formatted string that represents a duration. */ - location?: string; + duration: string; /** - * The name of the resource + * String that represents a Capability URN. */ name: string; /** - * Resource properties. + * List of key value pairs. */ - properties?: outputs.cognitiveservices.v20170418.PrivateEndpointConnectionPropertiesResponse; + parameters: outputs.chaos.v20230415preview.KeyValuePairResponse[]; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * String that represents a selector. */ - type: string; - } - - /** - * The Private Endpoint resource. - */ - export interface PrivateEndpointResponse { + selectorId: string; /** - * The ARM identifier for Private Endpoint + * Enum that discriminates between action models. + * Expected value is 'continuous'. */ - id: string; + type: "continuous"; } /** - * A collection of information about the state of the connection between service consumer and provider. + * Model that represents a delay action. */ - export interface PrivateLinkServiceConnectionStateResponse { + export interface DelayActionResponse { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * ISO8601 formatted string that represents a duration. */ - actionsRequired?: string; + duration: string; /** - * The reason for approval/rejection of the connection. + * String that represents a Capability URN. */ - description?: string; + name: string; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * Enum that discriminates between action models. + * Expected value is 'delay'. */ - status?: string; + type: "delay"; } /** - * SkuCapability indicates the capability of a certain feature. + * Model that represents a discrete action. */ - export interface SkuCapabilityResponse { + export interface DiscreteActionResponse { /** - * The name of the SkuCapability. + * String that represents a Capability URN. */ - name?: string; + name: string; /** - * The value of the SkuCapability. + * List of key value pairs. */ - value?: string; - } - - /** - * The SKU of the cognitive services account. - */ - export interface SkuResponse { + parameters: outputs.chaos.v20230415preview.KeyValuePairResponse[]; /** - * Gets or sets the sku name. Required for account creation, optional for update. + * String that represents a selector. */ - name: string; + selectorId: string; /** - * Gets the sku tier. This is based on the SKU name. + * Enum that discriminates between action models. + * Expected value is 'discrete'. */ - tier: string; + type: "discrete"; } /** - * User-assigned managed identity. + * Model that represents the Experiment properties model. */ - export interface UserAssignedIdentityResponse { + export interface ExperimentPropertiesResponse { /** - * Client App Id associated with this identity. + * List of selectors. */ - clientId?: string; + selectors: (outputs.chaos.v20230415preview.ListSelectorResponse | outputs.chaos.v20230415preview.QuerySelectorResponse)[]; /** - * Azure Active Directory principal ID associated with this Identity. + * A boolean value that indicates if experiment should be started on creation or not. */ - principalId?: string; - } - - /** - * The user owned storage for Cognitive Services account. - */ - export interface UserOwnedStorageResponse { + startOnCreation?: boolean; /** - * Full resource id of a Microsoft.Storage resource. + * List of steps. */ - resourceId?: string; + steps: outputs.chaos.v20230415preview.StepResponse[]; } /** - * A rule governing the accessibility from a specific virtual network. + * A map to describe the settings of an action. */ - export interface VirtualNetworkRuleResponse { - /** - * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. - */ - id: string; + export interface KeyValuePairResponse { /** - * Ignore missing vnet service endpoint or not. + * The name of the setting for the action. */ - ignoreMissingVnetServiceEndpoint?: boolean; + key: string; /** - * Gets the state of virtual network rule. + * The value of the setting for the action. */ - state?: string; + value: string; } - } - - export namespace v20230501 { /** - * The abuse penalty. + * Model that represents a list selector. */ - export interface AbusePenaltyResponse { + export interface ListSelectorResponse { /** - * The action of AbusePenalty. + * Model that represents available filter types that can be applied to a targets list. */ - action?: string; + filter?: outputs.chaos.v20230415preview.SimpleFilterResponse; /** - * The datetime of expiration of the AbusePenalty. + * String of the selector ID. */ - expiration?: string; + id: string; /** - * The percentage of rate limit. + * List of Target references. */ - rateLimitPercentage?: number; + targets: outputs.chaos.v20230415preview.TargetReferenceResponse[]; + /** + * Enum of the selector type. + * Expected value is 'List'. + */ + type: "List"; } /** - * Properties of Cognitive Services account. + * Model that represents a query selector. */ - export interface AccountPropertiesResponse { - /** - * The abuse penalty. - */ - abusePenalty: outputs.cognitiveservices.v20230501.AbusePenaltyResponse; - allowedFqdnList?: string[]; - /** - * The api properties for special APIs. - */ - apiProperties?: outputs.cognitiveservices.v20230501.ApiPropertiesResponse; - /** - * The call rate limit Cognitive Services account. - */ - callRateLimit: outputs.cognitiveservices.v20230501.CallRateLimitResponse; - /** - * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. - */ - capabilities: outputs.cognitiveservices.v20230501.SkuCapabilityResponse[]; - /** - * The commitment plan associations of Cognitive Services account. - */ - commitmentPlanAssociations: outputs.cognitiveservices.v20230501.CommitmentPlanAssociationResponse[]; - /** - * Optional subdomain name used for token-based authentication. - */ - customSubDomainName?: string; - /** - * Gets the date of cognitive services account creation. - */ - dateCreated: string; - /** - * The deletion date, only available for deleted account. - */ - deletionDate: string; - disableLocalAuth?: boolean; - /** - * The flag to enable dynamic throttling. - */ - dynamicThrottlingEnabled?: boolean; - /** - * The encryption properties for this resource. - */ - encryption?: outputs.cognitiveservices.v20230501.EncryptionResponse; - /** - * Endpoint of the created account. - */ - endpoint: string; - endpoints: {[key: string]: string}; - /** - * The internal identifier (deprecated, do not use this property). - */ - internalId: string; - /** - * If the resource is migrated from an existing key. - */ - isMigrated: boolean; - /** - * The multiregion settings of Cognitive Services account. - */ - locations?: outputs.cognitiveservices.v20230501.MultiRegionSettingsResponse; - /** - * Resource migration token. - */ - migrationToken?: string; - /** - * A collection of rules governing the accessibility from specific network locations. - */ - networkAcls?: outputs.cognitiveservices.v20230501.NetworkRuleSetResponse; - /** - * The private endpoint connection associated with the Cognitive Services account. - */ - privateEndpointConnections: outputs.cognitiveservices.v20230501.PrivateEndpointConnectionResponse[]; + export interface QuerySelectorResponse { /** - * Gets the status of the cognitive services account at the time the operation was called. + * Model that represents available filter types that can be applied to a targets list. */ - provisioningState: string; + filter?: outputs.chaos.v20230415preview.SimpleFilterResponse; /** - * Whether or not public endpoint access is allowed for this account. + * String of the selector ID. */ - publicNetworkAccess?: string; - quotaLimit: outputs.cognitiveservices.v20230501.QuotaLimitResponse; - restrictOutboundNetworkAccess?: boolean; + id: string; /** - * The scheduled purge date, only available for deleted account. + * Azure Resource Graph (ARG) Query Language query for target resources. */ - scheduledPurgeDate: string; + queryString: string; /** - * Sku change info of account. + * Subscription id list to scope resource query. */ - skuChangeInfo: outputs.cognitiveservices.v20230501.SkuChangeInfoResponse; + subscriptionIds: string[]; /** - * The storage accounts for this resource. + * Enum of the selector type. + * Expected value is 'Query'. */ - userOwnedStorage?: outputs.cognitiveservices.v20230501.UserOwnedStorageResponse[]; - } - /** - * accountPropertiesResponseProvideDefaults sets the appropriate defaults for AccountPropertiesResponse - */ - export function accountPropertiesResponseProvideDefaults(val: AccountPropertiesResponse): AccountPropertiesResponse { - return { - ...val, - encryption: (val.encryption ? outputs.cognitiveservices.v20230501.encryptionResponseProvideDefaults(val.encryption) : undefined), - }; + type: "Query"; } /** - * The api properties for special APIs. + * The identity of a resource. */ - export interface ApiPropertiesResponse { - /** - * (Metrics Advisor Only) The Azure AD Client Id (Application Id). - */ - aadClientId?: string; - /** - * (Metrics Advisor Only) The Azure AD Tenant Id. - */ - aadTenantId?: string; - /** - * (Personalization Only) The flag to enable statistics of Bing Search. - */ - eventHubConnectionString?: string; - /** - * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. - */ - qnaAzureSearchEndpointId?: string; - /** - * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. - */ - qnaAzureSearchEndpointKey?: string; - /** - * (QnAMaker Only) The runtime endpoint of QnAMaker. - */ - qnaRuntimeEndpoint?: string; + export interface ResourceIdentityResponse { /** - * (Bing Search Only) The flag to enable statistics of Bing Search. + * GUID that represents the principal ID of this resource identity. */ - statisticsEnabled?: boolean; + principalId: string; /** - * (Personalization Only) The storage account connection string. + * GUID that represents the tenant ID of this resource identity. */ - storageAccountConnectionString?: string; + tenantId: string; /** - * (Metrics Advisor Only) The super user of Metrics Advisor. + * String of the resource identity type. */ - superUser?: string; + type: string; /** - * (Metrics Advisor Only) The website name of Metrics Advisor. + * The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - websiteName?: string; + userAssignedIdentities?: {[key: string]: outputs.chaos.v20230415preview.UserAssignedIdentityResponse}; } /** - * The call rate limit Cognitive Services account. + * Model that represents the Simple filter parameters. */ - export interface CallRateLimitResponse { - /** - * The count value of Call Rate Limit. - */ - count?: number; + export interface SimpleFilterParametersResponse { /** - * The renewal period in seconds of Call Rate Limit. + * List of Azure availability zones to filter targets by. */ - renewalPeriod?: number; - rules?: outputs.cognitiveservices.v20230501.ThrottlingRuleResponse[]; + zones?: string[]; } /** - * Cognitive Services account commitment period. + * Model that represents a simple target filter. */ - export interface CommitmentPeriodResponse { - /** - * Commitment period commitment count. - */ - count?: number; - /** - * Commitment period end date. - */ - endDate: string; - /** - * Cognitive Services account commitment quota. - */ - quota: outputs.cognitiveservices.v20230501.CommitmentQuotaResponse; + export interface SimpleFilterResponse { /** - * Commitment period start date. + * Model that represents the Simple filter parameters. */ - startDate: string; + parameters?: outputs.chaos.v20230415preview.SimpleFilterParametersResponse; /** - * Commitment period commitment tier. + * Enum that discriminates between filter types. Currently only `Simple` type is supported. + * Expected value is 'Simple'. */ - tier?: string; + type: "Simple"; } /** - * The commitment plan association. + * Model that represents a step in the Experiment resource. */ - export interface CommitmentPlanAssociationResponse { + export interface StepResponse { /** - * The Azure resource id of the commitment plan. + * List of branches. */ - commitmentPlanId?: string; + branches: outputs.chaos.v20230415preview.BranchResponse[]; /** - * The location of of the commitment plan. + * String of the step name. */ - commitmentPlanLocation?: string; + name: string; } /** - * Properties of Cognitive Services account commitment plan. + * Metadata pertaining to creation and last modification of the resource. */ - export interface CommitmentPlanPropertiesResponse { - /** - * AutoRenew commitment plan. - */ - autoRenew?: boolean; - /** - * Commitment plan guid. - */ - commitmentPlanGuid?: string; - /** - * Cognitive Services account commitment period. - */ - current?: outputs.cognitiveservices.v20230501.CommitmentPeriodResponse; + export interface SystemDataResponse { /** - * Account hosting model. + * The timestamp of resource creation (UTC). */ - hostingModel?: string; + createdAt?: string; /** - * Cognitive Services account commitment period. + * The identity that created the resource. */ - last: outputs.cognitiveservices.v20230501.CommitmentPeriodResponse; + createdBy?: string; /** - * Cognitive Services account commitment period. + * The type of identity that created the resource. */ - next?: outputs.cognitiveservices.v20230501.CommitmentPeriodResponse; + createdByType?: string; /** - * Commitment plan type. + * The timestamp of resource last modification (UTC) */ - planType?: string; + lastModifiedAt?: string; /** - * The list of ProvisioningIssue. + * The identity that last modified the resource. */ - provisioningIssues: string[]; + lastModifiedBy?: string; /** - * Gets the status of the resource at the time the operation was called. + * The type of identity that last modified the resource. */ - provisioningState: string; + lastModifiedByType?: string; } /** - * Cognitive Services account commitment quota. + * Model that represents a reference to a Target in the selector. */ - export interface CommitmentQuotaResponse { + export interface TargetReferenceResponse { /** - * Commitment quota quantity. + * String of the resource ID of a Target resource. */ - quantity?: number; + id: string; /** - * Commitment quota unit. + * Enum of the Target reference type. */ - unit?: string; + type: string; } /** - * Properties of Cognitive Services account deployment model. + * User assigned identity properties */ - export interface DeploymentModelResponse { - /** - * The call rate limit Cognitive Services account. - */ - callRateLimit: outputs.cognitiveservices.v20230501.CallRateLimitResponse; - /** - * Deployment model format. - */ - format?: string; - /** - * Deployment model name. - */ - name?: string; + export interface UserAssignedIdentityResponse { /** - * Optional. Deployment model source ARM resource ID. + * The client ID of the assigned identity. */ - source?: string; + clientId: string; /** - * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + * The principal ID of the assigned identity. */ - version?: string; + principalId: string; } + } +} + +export namespace cognitiveservices { + /** + * The abuse penalty. + */ + export interface AbusePenaltyResponse { /** - * Properties of Cognitive Services account deployment. + * The action of AbusePenalty. */ - export interface DeploymentPropertiesResponse { - /** - * The call rate limit Cognitive Services account. - */ - callRateLimit: outputs.cognitiveservices.v20230501.CallRateLimitResponse; - /** - * The capabilities. - */ - capabilities: {[key: string]: string}; - /** - * Properties of Cognitive Services account deployment model. - */ - model?: outputs.cognitiveservices.v20230501.DeploymentModelResponse; - /** - * Gets the status of the resource at the time the operation was called. - */ - provisioningState: string; - /** - * The name of RAI policy. - */ - raiPolicyName?: string; - rateLimits: outputs.cognitiveservices.v20230501.ThrottlingRuleResponse[]; - /** - * Properties of Cognitive Services account deployment model. - */ - scaleSettings?: outputs.cognitiveservices.v20230501.DeploymentScaleSettingsResponse; - /** - * Deployment model version upgrade option. - */ - versionUpgradeOption?: string; - } - + action?: string; /** - * Properties of Cognitive Services account deployment model. + * The datetime of expiration of the AbusePenalty. */ - export interface DeploymentScaleSettingsResponse { - /** - * Deployment active capacity. This value might be different from `capacity` if customer recently updated `capacity`. + expiration?: string; + /** + * The percentage of rate limit. + */ + rateLimitPercentage?: number; + } + + /** + * Properties of Cognitive Services account. + */ + export interface AccountPropertiesResponse { + /** + * The abuse penalty. + */ + abusePenalty: outputs.cognitiveservices.AbusePenaltyResponse; + allowedFqdnList?: string[]; + /** + * The api properties for special APIs. + */ + apiProperties?: outputs.cognitiveservices.ApiPropertiesResponse; + /** + * The call rate limit Cognitive Services account. + */ + callRateLimit: outputs.cognitiveservices.CallRateLimitResponse; + /** + * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. + */ + capabilities: outputs.cognitiveservices.SkuCapabilityResponse[]; + /** + * The commitment plan associations of Cognitive Services account. + */ + commitmentPlanAssociations: outputs.cognitiveservices.CommitmentPlanAssociationResponse[]; + /** + * Optional subdomain name used for token-based authentication. + */ + customSubDomainName?: string; + /** + * Gets the date of cognitive services account creation. + */ + dateCreated: string; + /** + * The deletion date, only available for deleted account. + */ + deletionDate: string; + disableLocalAuth?: boolean; + /** + * The flag to enable dynamic throttling. + */ + dynamicThrottlingEnabled?: boolean; + /** + * The encryption properties for this resource. + */ + encryption?: outputs.cognitiveservices.EncryptionResponse; + /** + * Endpoint of the created account. + */ + endpoint: string; + endpoints: {[key: string]: string}; + /** + * The internal identifier (deprecated, do not use this property). + */ + internalId: string; + /** + * If the resource is migrated from an existing key. + */ + isMigrated: boolean; + /** + * The multiregion settings of Cognitive Services account. + */ + locations?: outputs.cognitiveservices.MultiRegionSettingsResponse; + /** + * Resource migration token. + */ + migrationToken?: string; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + networkAcls?: outputs.cognitiveservices.NetworkRuleSetResponse; + /** + * The private endpoint connection associated with the Cognitive Services account. + */ + privateEndpointConnections: outputs.cognitiveservices.PrivateEndpointConnectionResponse[]; + /** + * Gets the status of the cognitive services account at the time the operation was called. + */ + provisioningState: string; + /** + * Whether or not public endpoint access is allowed for this account. + */ + publicNetworkAccess?: string; + quotaLimit: outputs.cognitiveservices.QuotaLimitResponse; + restrictOutboundNetworkAccess?: boolean; + /** + * The scheduled purge date, only available for deleted account. + */ + scheduledPurgeDate: string; + /** + * Sku change info of account. + */ + skuChangeInfo: outputs.cognitiveservices.SkuChangeInfoResponse; + /** + * The storage accounts for this resource. + */ + userOwnedStorage?: outputs.cognitiveservices.UserOwnedStorageResponse[]; + } + /** + * accountPropertiesResponseProvideDefaults sets the appropriate defaults for AccountPropertiesResponse + */ + export function accountPropertiesResponseProvideDefaults(val: AccountPropertiesResponse): AccountPropertiesResponse { + return { + ...val, + encryption: (val.encryption ? outputs.cognitiveservices.encryptionResponseProvideDefaults(val.encryption) : undefined), + }; + } + + /** + * The api properties for special APIs. + */ + export interface ApiPropertiesResponse { + /** + * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + */ + aadClientId?: string; + /** + * (Metrics Advisor Only) The Azure AD Tenant Id. + */ + aadTenantId?: string; + /** + * (Personalization Only) The flag to enable statistics of Bing Search. + */ + eventHubConnectionString?: string; + /** + * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + */ + qnaAzureSearchEndpointId?: string; + /** + * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + */ + qnaAzureSearchEndpointKey?: string; + /** + * (QnAMaker Only) The runtime endpoint of QnAMaker. + */ + qnaRuntimeEndpoint?: string; + /** + * (Bing Search Only) The flag to enable statistics of Bing Search. + */ + statisticsEnabled?: boolean; + /** + * (Personalization Only) The storage account connection string. + */ + storageAccountConnectionString?: string; + /** + * (Metrics Advisor Only) The super user of Metrics Advisor. + */ + superUser?: string; + /** + * (Metrics Advisor Only) The website name of Metrics Advisor. + */ + websiteName?: string; + } + + /** + * The call rate limit Cognitive Services account. + */ + export interface CallRateLimitResponse { + /** + * The count value of Call Rate Limit. + */ + count?: number; + /** + * The renewal period in seconds of Call Rate Limit. + */ + renewalPeriod?: number; + rules?: outputs.cognitiveservices.ThrottlingRuleResponse[]; + } + + /** + * Cognitive Services account commitment period. + */ + export interface CommitmentPeriodResponse { + /** + * Commitment period commitment count. + */ + count?: number; + /** + * Commitment period end date. + */ + endDate: string; + /** + * Cognitive Services account commitment quota. + */ + quota: outputs.cognitiveservices.CommitmentQuotaResponse; + /** + * Commitment period start date. + */ + startDate: string; + /** + * Commitment period commitment tier. + */ + tier?: string; + } + + /** + * The commitment plan association. + */ + export interface CommitmentPlanAssociationResponse { + /** + * The Azure resource id of the commitment plan. + */ + commitmentPlanId?: string; + /** + * The location of of the commitment plan. + */ + commitmentPlanLocation?: string; + } + + /** + * Properties of Cognitive Services account commitment plan. + */ + export interface CommitmentPlanPropertiesResponse { + /** + * AutoRenew commitment plan. + */ + autoRenew?: boolean; + /** + * Commitment plan guid. + */ + commitmentPlanGuid?: string; + /** + * Cognitive Services account commitment period. + */ + current?: outputs.cognitiveservices.CommitmentPeriodResponse; + /** + * Account hosting model. + */ + hostingModel?: string; + /** + * Cognitive Services account commitment period. + */ + last: outputs.cognitiveservices.CommitmentPeriodResponse; + /** + * Cognitive Services account commitment period. + */ + next?: outputs.cognitiveservices.CommitmentPeriodResponse; + /** + * Commitment plan type. + */ + planType?: string; + /** + * The list of ProvisioningIssue. + */ + provisioningIssues: string[]; + /** + * Gets the status of the resource at the time the operation was called. + */ + provisioningState: string; + } + + /** + * Cognitive Services account commitment quota. + */ + export interface CommitmentQuotaResponse { + /** + * Commitment quota quantity. + */ + quantity?: number; + /** + * Commitment quota unit. + */ + unit?: string; + } + + /** + * Properties of Cognitive Services account deployment model. + */ + export interface DeploymentModelResponse { + /** + * The call rate limit Cognitive Services account. + */ + callRateLimit: outputs.cognitiveservices.CallRateLimitResponse; + /** + * Deployment model format. + */ + format?: string; + /** + * Deployment model name. + */ + name?: string; + /** + * Optional. Deployment model source ARM resource ID. + */ + source?: string; + /** + * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + */ + version?: string; + } + + /** + * Properties of Cognitive Services account deployment. + */ + export interface DeploymentPropertiesResponse { + /** + * The call rate limit Cognitive Services account. + */ + callRateLimit: outputs.cognitiveservices.CallRateLimitResponse; + /** + * The capabilities. + */ + capabilities: {[key: string]: string}; + /** + * Properties of Cognitive Services account deployment model. + */ + model?: outputs.cognitiveservices.DeploymentModelResponse; + /** + * Gets the status of the resource at the time the operation was called. + */ + provisioningState: string; + /** + * The name of RAI policy. + */ + raiPolicyName?: string; + rateLimits: outputs.cognitiveservices.ThrottlingRuleResponse[]; + /** + * Properties of Cognitive Services account deployment model. + */ + scaleSettings?: outputs.cognitiveservices.DeploymentScaleSettingsResponse; + /** + * Deployment model version upgrade option. + */ + versionUpgradeOption?: string; + } + + /** + * Properties of Cognitive Services account deployment model. + */ + export interface DeploymentScaleSettingsResponse { + /** + * Deployment active capacity. This value might be different from `capacity` if customer recently updated `capacity`. + */ + activeCapacity: number; + /** + * Deployment capacity. + */ + capacity?: number; + /** + * Deployment scale type. + */ + scaleType?: string; + } + + /** + * Properties to configure Encryption + */ + export interface EncryptionResponse { + /** + * Enumerates the possible value of keySource for Encryption + */ + keySource?: string; + /** + * Properties of KeyVault + */ + keyVaultProperties?: outputs.cognitiveservices.KeyVaultPropertiesResponse; + } + /** + * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse + */ + export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { + return { + ...val, + keySource: (val.keySource) ?? "Microsoft.KeyVault", + }; + } + + /** + * Identity for the resource. + */ + export interface IdentityResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The identity type. + */ + type?: string; + /** + * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + */ + userAssignedIdentities?: {[key: string]: outputs.cognitiveservices.UserAssignedIdentityResponse}; + } + + /** + * A rule governing the accessibility from a specific ip address or ip range. + */ + export interface IpRuleResponse { + /** + * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + */ + value: string; + } + + /** + * Properties to configure keyVault Properties + */ + export interface KeyVaultPropertiesResponse { + identityClientId?: string; + /** + * Name of the Key from KeyVault + */ + keyName?: string; + /** + * Uri of KeyVault + */ + keyVaultUri?: string; + /** + * Version of the Key from KeyVault + */ + keyVersion?: string; + } + + /** + * The multiregion settings Cognitive Services account. + */ + export interface MultiRegionSettingsResponse { + regions?: outputs.cognitiveservices.RegionSettingResponse[]; + /** + * Multiregion routing methods. + */ + routingMethod?: string; + } + + /** + * A set of rules governing the network accessibility. + */ + export interface NetworkRuleSetResponse { + /** + * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. + */ + defaultAction?: string; + /** + * The list of IP address rules. + */ + ipRules?: outputs.cognitiveservices.IpRuleResponse[]; + /** + * The list of virtual network rules. + */ + virtualNetworkRules?: outputs.cognitiveservices.VirtualNetworkRuleResponse[]; + } + + /** + * Properties of the PrivateEndpointConnectProperties. + */ + export interface PrivateEndpointConnectionPropertiesResponse { + /** + * The private link resource group ids. + */ + groupIds?: string[]; + /** + * The resource of private end point. + */ + privateEndpoint?: outputs.cognitiveservices.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: outputs.cognitiveservices.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + provisioningState: string; + } + + /** + * The Private Endpoint Connection resource. + */ + export interface PrivateEndpointConnectionResponse { + /** + * Resource Etag. + */ + etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The location of the private endpoint connection + */ + location?: string; + /** + * The name of the resource + */ + name: string; + /** + * Resource properties. + */ + properties?: outputs.cognitiveservices.PrivateEndpointConnectionPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + systemData: outputs.cognitiveservices.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * The Private Endpoint resource. + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for Private Endpoint + */ + id: string; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; + } + + export interface QuotaLimitResponse { + count?: number; + renewalPeriod?: number; + rules?: outputs.cognitiveservices.ThrottlingRuleResponse[]; + } + + /** + * The call rate limit Cognitive Services account. + */ + export interface RegionSettingResponse { + /** + * Maps the region to the regional custom subdomain. + */ + customsubdomain?: string; + /** + * Name of the region. + */ + name?: string; + /** + * A value for priority or weighted routing methods. + */ + value?: number; + } + + export interface RequestMatchPatternResponse { + method?: string; + path?: string; + } + + /** + * SkuCapability indicates the capability of a certain feature. + */ + export interface SkuCapabilityResponse { + /** + * The name of the SkuCapability. + */ + name?: string; + /** + * The value of the SkuCapability. + */ + value?: string; + } + + /** + * Sku change info of account. + */ + export interface SkuChangeInfoResponse { + /** + * Gets the count of downgrades. + */ + countOfDowngrades?: number; + /** + * Gets the count of upgrades after downgrades. + */ + countOfUpgradesAfterDowngrades?: number; + /** + * Gets the last change date. + */ + lastChangeDate?: string; + } + + /** + * The resource model definition representing SKU + */ + export interface SkuResponse { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: number; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: string; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: string; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: string; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + export interface ThrottlingRuleResponse { + count?: number; + dynamicThrottlingEnabled?: boolean; + key?: string; + matchPatterns?: outputs.cognitiveservices.RequestMatchPatternResponse[]; + minCount?: number; + renewalPeriod?: number; + } + + /** + * User-assigned managed identity. + */ + export interface UserAssignedIdentityResponse { + /** + * Client App Id associated with this identity. + */ + clientId: string; + /** + * Azure Active Directory principal ID associated with this Identity. + */ + principalId: string; + } + + /** + * The user owned storage for Cognitive Services account. + */ + export interface UserOwnedStorageResponse { + identityClientId?: string; + /** + * Full resource id of a Microsoft.Storage resource. + */ + resourceId?: string; + } + + /** + * A rule governing the accessibility from a specific virtual network. + */ + export interface VirtualNetworkRuleResponse { + /** + * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + */ + id: string; + /** + * Ignore missing vnet service endpoint or not. + */ + ignoreMissingVnetServiceEndpoint?: boolean; + /** + * Gets the state of virtual network rule. + */ + state?: string; + } + + export namespace v20170418 { + /** + * The api properties for special APIs. + */ + export interface CognitiveServicesAccountApiPropertiesResponse { + /** + * (Metrics Advisor Only) The Azure AD Client Id (Application Id). */ - activeCapacity: number; + aadClientId?: string; /** - * Deployment capacity. + * (Metrics Advisor Only) The Azure AD Tenant Id. */ - capacity?: number; + aadTenantId?: string; /** - * Deployment scale type. + * (Personalization Only) The flag to enable statistics of Bing Search. */ - scaleType?: string; + eventHubConnectionString?: string; + /** + * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + */ + qnaAzureSearchEndpointId?: string; + /** + * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + */ + qnaAzureSearchEndpointKey?: string; + /** + * (QnAMaker Only) The runtime endpoint of QnAMaker. + */ + qnaRuntimeEndpoint?: string; + /** + * (Bing Search Only) The flag to enable statistics of Bing Search. + */ + statisticsEnabled?: boolean; + /** + * (Personalization Only) The storage account connection string. + */ + storageAccountConnectionString?: string; + /** + * (Metrics Advisor Only) The super user of Metrics Advisor. + */ + superUser?: string; + /** + * (Metrics Advisor Only) The website name of Metrics Advisor. + */ + websiteName?: string; + } + + /** + * Properties of Cognitive Services account. + */ + export interface CognitiveServicesAccountPropertiesResponse { + /** + * The api properties for special APIs. + */ + apiProperties?: outputs.cognitiveservices.v20170418.CognitiveServicesAccountApiPropertiesResponse; + /** + * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. + */ + capabilities: outputs.cognitiveservices.v20170418.SkuCapabilityResponse[]; + /** + * Optional subdomain name used for token-based authentication. + */ + customSubDomainName?: string; + /** + * Gets the date of cognitive services account creation. + */ + dateCreated: string; + /** + * The encryption properties for this resource. + */ + encryption?: outputs.cognitiveservices.v20170418.EncryptionResponse; + /** + * Endpoint of the created account. + */ + endpoint: string; + /** + * The internal identifier. + */ + internalId: string; + /** + * If the resource is migrated from an existing key. + */ + isMigrated: boolean; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + networkAcls?: outputs.cognitiveservices.v20170418.NetworkRuleSetResponse; + /** + * The private endpoint connection associated with the Cognitive Services account. + */ + privateEndpointConnections?: outputs.cognitiveservices.v20170418.PrivateEndpointConnectionResponse[]; + /** + * Gets the status of the cognitive services account at the time the operation was called. + */ + provisioningState: string; + /** + * Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + */ + publicNetworkAccess?: string; + /** + * Sku change info of account. + */ + skuChangeInfo: outputs.cognitiveservices.v20170418.CognitiveServicesAccountSkuChangeInfoResponse; + /** + * The storage accounts for this resource. + */ + userOwnedStorage?: outputs.cognitiveservices.v20170418.UserOwnedStorageResponse[]; + } + /** + * cognitiveServicesAccountPropertiesResponseProvideDefaults sets the appropriate defaults for CognitiveServicesAccountPropertiesResponse + */ + export function cognitiveServicesAccountPropertiesResponseProvideDefaults(val: CognitiveServicesAccountPropertiesResponse): CognitiveServicesAccountPropertiesResponse { + return { + ...val, + encryption: (val.encryption ? outputs.cognitiveservices.v20170418.encryptionResponseProvideDefaults(val.encryption) : undefined), + }; + } + + /** + * Sku change info of account. + */ + export interface CognitiveServicesAccountSkuChangeInfoResponse { + /** + * Gets the count of downgrades. + */ + countOfDowngrades: number; + /** + * Gets the count of upgrades after downgrades. + */ + countOfUpgradesAfterDowngrades: number; + /** + * Gets the last change date. + */ + lastChangeDate: string; } /** @@ -64654,7 +66544,7 @@ export namespace cognitiveservices { /** * Properties of KeyVault */ - keyVaultProperties?: outputs.cognitiveservices.v20230501.KeyVaultPropertiesResponse; + keyVaultProperties?: outputs.cognitiveservices.v20170418.KeyVaultPropertiesResponse; } /** * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse @@ -64667,25 +66557,25 @@ export namespace cognitiveservices { } /** - * Identity for the resource. + * Managed service identity. */ export interface IdentityResponse { /** - * The principal ID of resource identity. + * Principal Id of managed service identity. */ principalId: string; /** - * The tenant ID of resource. + * Tenant of managed service identity. */ tenantId: string; /** - * The identity type. + * Type of managed service identity. */ type?: string; /** * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */ - userAssignedIdentities?: {[key: string]: outputs.cognitiveservices.v20230501.UserAssignedIdentityResponse}; + userAssignedIdentities?: {[key: string]: outputs.cognitiveservices.v20170418.UserAssignedIdentityResponse}; } /** @@ -64702,7 +66592,6 @@ export namespace cognitiveservices { * Properties to configure keyVault Properties */ export interface KeyVaultPropertiesResponse { - identityClientId?: string; /** * Name of the Key from KeyVault */ @@ -64717,17 +66606,6 @@ export namespace cognitiveservices { keyVersion?: string; } - /** - * The multiregion settings Cognitive Services account. - */ - export interface MultiRegionSettingsResponse { - regions?: outputs.cognitiveservices.v20230501.RegionSettingResponse[]; - /** - * Multiregion routing methods. - */ - routingMethod?: string; - } - /** * A set of rules governing the network accessibility. */ @@ -64739,11 +66617,11 @@ export namespace cognitiveservices { /** * The list of IP address rules. */ - ipRules?: outputs.cognitiveservices.v20230501.IpRuleResponse[]; + ipRules?: outputs.cognitiveservices.v20170418.IpRuleResponse[]; /** * The list of virtual network rules. */ - virtualNetworkRules?: outputs.cognitiveservices.v20230501.VirtualNetworkRuleResponse[]; + virtualNetworkRules?: outputs.cognitiveservices.v20170418.VirtualNetworkRuleResponse[]; } /** @@ -64757,15 +66635,11 @@ export namespace cognitiveservices { /** * The resource of private end point. */ - privateEndpoint?: outputs.cognitiveservices.v20230501.PrivateEndpointResponse; + privateEndpoint?: outputs.cognitiveservices.v20170418.PrivateEndpointResponse; /** * A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: outputs.cognitiveservices.v20230501.PrivateLinkServiceConnectionStateResponse; - /** - * The provisioning state of the private endpoint connection resource. - */ - provisioningState: string; + privateLinkServiceConnectionState: outputs.cognitiveservices.v20170418.PrivateLinkServiceConnectionStateResponse; } /** @@ -64773,7 +66647,7 @@ export namespace cognitiveservices { */ export interface PrivateEndpointConnectionResponse { /** - * Resource Etag. + * Entity Tag */ etag: string; /** @@ -64791,11 +66665,7 @@ export namespace cognitiveservices { /** * Resource properties. */ - properties?: outputs.cognitiveservices.v20230501.PrivateEndpointConnectionPropertiesResponse; - /** - * Metadata pertaining to creation and last modification of the resource. - */ - systemData: outputs.cognitiveservices.v20230501.SystemDataResponse; + properties?: outputs.cognitiveservices.v20170418.PrivateEndpointConnectionPropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -64830,35 +66700,6 @@ export namespace cognitiveservices { status?: string; } - export interface QuotaLimitResponse { - count?: number; - renewalPeriod?: number; - rules?: outputs.cognitiveservices.v20230501.ThrottlingRuleResponse[]; - } - - /** - * The call rate limit Cognitive Services account. - */ - export interface RegionSettingResponse { - /** - * Maps the region to the regional custom subdomain. - */ - customsubdomain?: string; - /** - * Name of the region. - */ - name?: string; - /** - * A value for priority or weighted routing methods. - */ - value?: number; - } - - export interface RequestMatchPatternResponse { - method?: string; - path?: string; - } - /** * SkuCapability indicates the capability of a certain feature. */ @@ -64874,86 +66715,17 @@ export namespace cognitiveservices { } /** - * Sku change info of account. - */ - export interface SkuChangeInfoResponse { - /** - * Gets the count of downgrades. - */ - countOfDowngrades?: number; - /** - * Gets the count of upgrades after downgrades. - */ - countOfUpgradesAfterDowngrades?: number; - /** - * Gets the last change date. - */ - lastChangeDate?: string; - } - - /** - * The resource model definition representing SKU + * The SKU of the cognitive services account. */ export interface SkuResponse { /** - * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. - */ - capacity?: number; - /** - * If the service has different generations of hardware, for the same SKU, then that can be captured here. - */ - family?: string; - /** - * The name of the SKU. Ex - P3. It is typically a letter+number code + * Gets or sets the sku name. Required for account creation, optional for update. */ name: string; /** - * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. - */ - size?: string; - /** - * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. - */ - tier?: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. + * Gets the sku tier. This is based on the SKU name. */ - lastModifiedByType?: string; - } - - export interface ThrottlingRuleResponse { - count?: number; - dynamicThrottlingEnabled?: boolean; - key?: string; - matchPatterns?: outputs.cognitiveservices.v20230501.RequestMatchPatternResponse[]; - minCount?: number; - renewalPeriod?: number; + tier: string; } /** @@ -64963,18 +66735,17 @@ export namespace cognitiveservices { /** * Client App Id associated with this identity. */ - clientId: string; + clientId?: string; /** * Azure Active Directory principal ID associated with this Identity. */ - principalId: string; + principalId?: string; } /** * The user owned storage for Cognitive Services account. */ export interface UserOwnedStorageResponse { - identityClientId?: string; /** * Full resource id of a Microsoft.Storage resource. */ @@ -65000,19 +66771,740 @@ export namespace cognitiveservices { } } -} -export namespace communication { - /** - * A class that represents a VerificationStatus record. - */ - export interface DnsRecordResponse { + export namespace v20230501 { /** - * Name of the DNS record. + * The abuse penalty. */ - name: string; + export interface AbusePenaltyResponse { + /** + * The action of AbusePenalty. + */ + action?: string; + /** + * The datetime of expiration of the AbusePenalty. + */ + expiration?: string; + /** + * The percentage of rate limit. + */ + rateLimitPercentage?: number; + } + /** - * Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec. + * Properties of Cognitive Services account. + */ + export interface AccountPropertiesResponse { + /** + * The abuse penalty. + */ + abusePenalty: outputs.cognitiveservices.v20230501.AbusePenaltyResponse; + allowedFqdnList?: string[]; + /** + * The api properties for special APIs. + */ + apiProperties?: outputs.cognitiveservices.v20230501.ApiPropertiesResponse; + /** + * The call rate limit Cognitive Services account. + */ + callRateLimit: outputs.cognitiveservices.v20230501.CallRateLimitResponse; + /** + * Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. + */ + capabilities: outputs.cognitiveservices.v20230501.SkuCapabilityResponse[]; + /** + * The commitment plan associations of Cognitive Services account. + */ + commitmentPlanAssociations: outputs.cognitiveservices.v20230501.CommitmentPlanAssociationResponse[]; + /** + * Optional subdomain name used for token-based authentication. + */ + customSubDomainName?: string; + /** + * Gets the date of cognitive services account creation. + */ + dateCreated: string; + /** + * The deletion date, only available for deleted account. + */ + deletionDate: string; + disableLocalAuth?: boolean; + /** + * The flag to enable dynamic throttling. + */ + dynamicThrottlingEnabled?: boolean; + /** + * The encryption properties for this resource. + */ + encryption?: outputs.cognitiveservices.v20230501.EncryptionResponse; + /** + * Endpoint of the created account. + */ + endpoint: string; + endpoints: {[key: string]: string}; + /** + * The internal identifier (deprecated, do not use this property). + */ + internalId: string; + /** + * If the resource is migrated from an existing key. + */ + isMigrated: boolean; + /** + * The multiregion settings of Cognitive Services account. + */ + locations?: outputs.cognitiveservices.v20230501.MultiRegionSettingsResponse; + /** + * Resource migration token. + */ + migrationToken?: string; + /** + * A collection of rules governing the accessibility from specific network locations. + */ + networkAcls?: outputs.cognitiveservices.v20230501.NetworkRuleSetResponse; + /** + * The private endpoint connection associated with the Cognitive Services account. + */ + privateEndpointConnections: outputs.cognitiveservices.v20230501.PrivateEndpointConnectionResponse[]; + /** + * Gets the status of the cognitive services account at the time the operation was called. + */ + provisioningState: string; + /** + * Whether or not public endpoint access is allowed for this account. + */ + publicNetworkAccess?: string; + quotaLimit: outputs.cognitiveservices.v20230501.QuotaLimitResponse; + restrictOutboundNetworkAccess?: boolean; + /** + * The scheduled purge date, only available for deleted account. + */ + scheduledPurgeDate: string; + /** + * Sku change info of account. + */ + skuChangeInfo: outputs.cognitiveservices.v20230501.SkuChangeInfoResponse; + /** + * The storage accounts for this resource. + */ + userOwnedStorage?: outputs.cognitiveservices.v20230501.UserOwnedStorageResponse[]; + } + /** + * accountPropertiesResponseProvideDefaults sets the appropriate defaults for AccountPropertiesResponse + */ + export function accountPropertiesResponseProvideDefaults(val: AccountPropertiesResponse): AccountPropertiesResponse { + return { + ...val, + encryption: (val.encryption ? outputs.cognitiveservices.v20230501.encryptionResponseProvideDefaults(val.encryption) : undefined), + }; + } + + /** + * The api properties for special APIs. + */ + export interface ApiPropertiesResponse { + /** + * (Metrics Advisor Only) The Azure AD Client Id (Application Id). + */ + aadClientId?: string; + /** + * (Metrics Advisor Only) The Azure AD Tenant Id. + */ + aadTenantId?: string; + /** + * (Personalization Only) The flag to enable statistics of Bing Search. + */ + eventHubConnectionString?: string; + /** + * (QnAMaker Only) The Azure Search endpoint id of QnAMaker. + */ + qnaAzureSearchEndpointId?: string; + /** + * (QnAMaker Only) The Azure Search endpoint key of QnAMaker. + */ + qnaAzureSearchEndpointKey?: string; + /** + * (QnAMaker Only) The runtime endpoint of QnAMaker. + */ + qnaRuntimeEndpoint?: string; + /** + * (Bing Search Only) The flag to enable statistics of Bing Search. + */ + statisticsEnabled?: boolean; + /** + * (Personalization Only) The storage account connection string. + */ + storageAccountConnectionString?: string; + /** + * (Metrics Advisor Only) The super user of Metrics Advisor. + */ + superUser?: string; + /** + * (Metrics Advisor Only) The website name of Metrics Advisor. + */ + websiteName?: string; + } + + /** + * The call rate limit Cognitive Services account. + */ + export interface CallRateLimitResponse { + /** + * The count value of Call Rate Limit. + */ + count?: number; + /** + * The renewal period in seconds of Call Rate Limit. + */ + renewalPeriod?: number; + rules?: outputs.cognitiveservices.v20230501.ThrottlingRuleResponse[]; + } + + /** + * Cognitive Services account commitment period. + */ + export interface CommitmentPeriodResponse { + /** + * Commitment period commitment count. + */ + count?: number; + /** + * Commitment period end date. + */ + endDate: string; + /** + * Cognitive Services account commitment quota. + */ + quota: outputs.cognitiveservices.v20230501.CommitmentQuotaResponse; + /** + * Commitment period start date. + */ + startDate: string; + /** + * Commitment period commitment tier. + */ + tier?: string; + } + + /** + * The commitment plan association. + */ + export interface CommitmentPlanAssociationResponse { + /** + * The Azure resource id of the commitment plan. + */ + commitmentPlanId?: string; + /** + * The location of of the commitment plan. + */ + commitmentPlanLocation?: string; + } + + /** + * Properties of Cognitive Services account commitment plan. + */ + export interface CommitmentPlanPropertiesResponse { + /** + * AutoRenew commitment plan. + */ + autoRenew?: boolean; + /** + * Commitment plan guid. + */ + commitmentPlanGuid?: string; + /** + * Cognitive Services account commitment period. + */ + current?: outputs.cognitiveservices.v20230501.CommitmentPeriodResponse; + /** + * Account hosting model. + */ + hostingModel?: string; + /** + * Cognitive Services account commitment period. + */ + last: outputs.cognitiveservices.v20230501.CommitmentPeriodResponse; + /** + * Cognitive Services account commitment period. + */ + next?: outputs.cognitiveservices.v20230501.CommitmentPeriodResponse; + /** + * Commitment plan type. + */ + planType?: string; + /** + * The list of ProvisioningIssue. + */ + provisioningIssues: string[]; + /** + * Gets the status of the resource at the time the operation was called. + */ + provisioningState: string; + } + + /** + * Cognitive Services account commitment quota. + */ + export interface CommitmentQuotaResponse { + /** + * Commitment quota quantity. + */ + quantity?: number; + /** + * Commitment quota unit. + */ + unit?: string; + } + + /** + * Properties of Cognitive Services account deployment model. + */ + export interface DeploymentModelResponse { + /** + * The call rate limit Cognitive Services account. + */ + callRateLimit: outputs.cognitiveservices.v20230501.CallRateLimitResponse; + /** + * Deployment model format. + */ + format?: string; + /** + * Deployment model name. + */ + name?: string; + /** + * Optional. Deployment model source ARM resource ID. + */ + source?: string; + /** + * Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. + */ + version?: string; + } + + /** + * Properties of Cognitive Services account deployment. + */ + export interface DeploymentPropertiesResponse { + /** + * The call rate limit Cognitive Services account. + */ + callRateLimit: outputs.cognitiveservices.v20230501.CallRateLimitResponse; + /** + * The capabilities. + */ + capabilities: {[key: string]: string}; + /** + * Properties of Cognitive Services account deployment model. + */ + model?: outputs.cognitiveservices.v20230501.DeploymentModelResponse; + /** + * Gets the status of the resource at the time the operation was called. + */ + provisioningState: string; + /** + * The name of RAI policy. + */ + raiPolicyName?: string; + rateLimits: outputs.cognitiveservices.v20230501.ThrottlingRuleResponse[]; + /** + * Properties of Cognitive Services account deployment model. + */ + scaleSettings?: outputs.cognitiveservices.v20230501.DeploymentScaleSettingsResponse; + /** + * Deployment model version upgrade option. + */ + versionUpgradeOption?: string; + } + + /** + * Properties of Cognitive Services account deployment model. + */ + export interface DeploymentScaleSettingsResponse { + /** + * Deployment active capacity. This value might be different from `capacity` if customer recently updated `capacity`. + */ + activeCapacity: number; + /** + * Deployment capacity. + */ + capacity?: number; + /** + * Deployment scale type. + */ + scaleType?: string; + } + + /** + * Properties to configure Encryption + */ + export interface EncryptionResponse { + /** + * Enumerates the possible value of keySource for Encryption + */ + keySource?: string; + /** + * Properties of KeyVault + */ + keyVaultProperties?: outputs.cognitiveservices.v20230501.KeyVaultPropertiesResponse; + } + /** + * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse + */ + export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { + return { + ...val, + keySource: (val.keySource) ?? "Microsoft.KeyVault", + }; + } + + /** + * Identity for the resource. + */ + export interface IdentityResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The identity type. + */ + type?: string; + /** + * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + */ + userAssignedIdentities?: {[key: string]: outputs.cognitiveservices.v20230501.UserAssignedIdentityResponse}; + } + + /** + * A rule governing the accessibility from a specific ip address or ip range. + */ + export interface IpRuleResponse { + /** + * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). + */ + value: string; + } + + /** + * Properties to configure keyVault Properties + */ + export interface KeyVaultPropertiesResponse { + identityClientId?: string; + /** + * Name of the Key from KeyVault + */ + keyName?: string; + /** + * Uri of KeyVault + */ + keyVaultUri?: string; + /** + * Version of the Key from KeyVault + */ + keyVersion?: string; + } + + /** + * The multiregion settings Cognitive Services account. + */ + export interface MultiRegionSettingsResponse { + regions?: outputs.cognitiveservices.v20230501.RegionSettingResponse[]; + /** + * Multiregion routing methods. + */ + routingMethod?: string; + } + + /** + * A set of rules governing the network accessibility. + */ + export interface NetworkRuleSetResponse { + /** + * The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. + */ + defaultAction?: string; + /** + * The list of IP address rules. + */ + ipRules?: outputs.cognitiveservices.v20230501.IpRuleResponse[]; + /** + * The list of virtual network rules. + */ + virtualNetworkRules?: outputs.cognitiveservices.v20230501.VirtualNetworkRuleResponse[]; + } + + /** + * Properties of the PrivateEndpointConnectProperties. + */ + export interface PrivateEndpointConnectionPropertiesResponse { + /** + * The private link resource group ids. + */ + groupIds?: string[]; + /** + * The resource of private end point. + */ + privateEndpoint?: outputs.cognitiveservices.v20230501.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: outputs.cognitiveservices.v20230501.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + provisioningState: string; + } + + /** + * The Private Endpoint Connection resource. + */ + export interface PrivateEndpointConnectionResponse { + /** + * Resource Etag. + */ + etag: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The location of the private endpoint connection + */ + location?: string; + /** + * The name of the resource + */ + name: string; + /** + * Resource properties. + */ + properties?: outputs.cognitiveservices.v20230501.PrivateEndpointConnectionPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + systemData: outputs.cognitiveservices.v20230501.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * The Private Endpoint resource. + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for Private Endpoint + */ + id: string; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; + } + + export interface QuotaLimitResponse { + count?: number; + renewalPeriod?: number; + rules?: outputs.cognitiveservices.v20230501.ThrottlingRuleResponse[]; + } + + /** + * The call rate limit Cognitive Services account. + */ + export interface RegionSettingResponse { + /** + * Maps the region to the regional custom subdomain. + */ + customsubdomain?: string; + /** + * Name of the region. + */ + name?: string; + /** + * A value for priority or weighted routing methods. + */ + value?: number; + } + + export interface RequestMatchPatternResponse { + method?: string; + path?: string; + } + + /** + * SkuCapability indicates the capability of a certain feature. + */ + export interface SkuCapabilityResponse { + /** + * The name of the SkuCapability. + */ + name?: string; + /** + * The value of the SkuCapability. + */ + value?: string; + } + + /** + * Sku change info of account. + */ + export interface SkuChangeInfoResponse { + /** + * Gets the count of downgrades. + */ + countOfDowngrades?: number; + /** + * Gets the count of upgrades after downgrades. + */ + countOfUpgradesAfterDowngrades?: number; + /** + * Gets the last change date. + */ + lastChangeDate?: string; + } + + /** + * The resource model definition representing SKU + */ + export interface SkuResponse { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: number; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: string; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: string; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: string; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + export interface ThrottlingRuleResponse { + count?: number; + dynamicThrottlingEnabled?: boolean; + key?: string; + matchPatterns?: outputs.cognitiveservices.v20230501.RequestMatchPatternResponse[]; + minCount?: number; + renewalPeriod?: number; + } + + /** + * User-assigned managed identity. + */ + export interface UserAssignedIdentityResponse { + /** + * Client App Id associated with this identity. + */ + clientId: string; + /** + * Azure Active Directory principal ID associated with this Identity. + */ + principalId: string; + } + + /** + * The user owned storage for Cognitive Services account. + */ + export interface UserOwnedStorageResponse { + identityClientId?: string; + /** + * Full resource id of a Microsoft.Storage resource. + */ + resourceId?: string; + } + + /** + * A rule governing the accessibility from a specific virtual network. + */ + export interface VirtualNetworkRuleResponse { + /** + * Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. + */ + id: string; + /** + * Ignore missing vnet service endpoint or not. + */ + ignoreMissingVnetServiceEndpoint?: boolean; + /** + * Gets the state of virtual network rule. + */ + state?: string; + } + + } +} + +export namespace communication { + /** + * A class that represents a VerificationStatus record. + */ + export interface DnsRecordResponse { + /** + * Name of the DNS record. + */ + name: string; + /** + * Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec. */ ttl: number; /** @@ -79947,6 +82439,190 @@ export namespace confidentialledger { } } + + export namespace v20230628preview { + /** + * AAD based security principal with associated Ledger RoleName + */ + export interface AADBasedSecurityPrincipalResponse { + /** + * LedgerRole associated with the Security Principal of Ledger + */ + ledgerRoleName?: string; + /** + * UUID/GUID based Principal Id of the Security Principal + */ + principalId?: string; + /** + * UUID/GUID based Tenant Id of the Security Principal + */ + tenantId?: string; + } + + /** + * Cert based security principal with Ledger RoleName + */ + export interface CertBasedSecurityPrincipalResponse { + /** + * Public key of the user cert (.pem or .cer) + */ + cert?: string; + /** + * LedgerRole associated with the Security Principal of Ledger + */ + ledgerRoleName?: string; + } + + /** + * Tags for Managed CCF Certificates + */ + export interface CertificateTagsResponse { + /** + * Additional tags for Managed CCF Certificates + */ + tags?: {[key: string]: string}; + } + + /** + * Object representing DeploymentType for Managed CCF. + */ + export interface DeploymentTypeResponse { + /** + * Source Uri containing ManagedCCF code + */ + appSourceUri?: string; + /** + * Unique name for the Managed CCF. + */ + languageRuntime?: string; + } + + /** + * Additional Confidential Ledger properties. + */ + export interface LedgerPropertiesResponse { + /** + * Array of all AAD based Security Principals. + */ + aadBasedSecurityPrincipals?: outputs.confidentialledger.v20230628preview.AADBasedSecurityPrincipalResponse[]; + /** + * Array of all cert based Security Principals. + */ + certBasedSecurityPrincipals?: outputs.confidentialledger.v20230628preview.CertBasedSecurityPrincipalResponse[]; + /** + * Endpoint for accessing network identity. + */ + identityServiceUri: string; + /** + * Internal namespace for the Ledger + */ + ledgerInternalNamespace: string; + /** + * Unique name for the Confidential Ledger. + */ + ledgerName: string; + /** + * Type of Confidential Ledger + */ + ledgerType?: string; + /** + * Endpoint for calling Ledger Service. + */ + ledgerUri: string; + /** + * Provisioning state of Ledger Resource + */ + provisioningState: string; + /** + * Object representing RunningState for Ledger. + */ + runningState?: string; + } + + /** + * Additional Managed CCF properties. + */ + export interface ManagedCCFPropertiesResponse { + /** + * Unique name for the Managed CCF. + */ + appName: string; + /** + * Endpoint for calling Managed CCF Service. + */ + appUri: string; + /** + * Deployment Type of Managed CCF + */ + deploymentType?: outputs.confidentialledger.v20230628preview.DeploymentTypeResponse; + /** + * Endpoint for accessing network identity. + */ + identityServiceUri: string; + /** + * List of member identity certificates for Managed CCF + */ + memberIdentityCertificates?: outputs.confidentialledger.v20230628preview.MemberIdentityCertificateResponse[]; + /** + * Number of CCF nodes in the Managed CCF. + */ + nodeCount?: number; + /** + * Provisioning state of Managed CCF Resource + */ + provisioningState: string; + /** + * Object representing RunningState for Managed CCF. + */ + runningState?: string; + } + + /** + * Object representing MemberIdentityCertificate for Managed CCF. + */ + export interface MemberIdentityCertificateResponse { + /** + * Member Identity Certificate + */ + certificate?: string; + /** + * Member Identity Certificate Encryption Key + */ + encryptionkey?: string; + tags?: outputs.confidentialledger.v20230628preview.CertificateTagsResponse[]; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + } } export namespace confluent { @@ -82207,6 +84883,472 @@ export namespace connectedvmwarevsphere { } } + + export namespace v20231001 { + /** + * The extended location. + */ + export interface ExtendedLocationResponse { + /** + * The extended location name. + */ + name?: string; + /** + * The extended location type. + */ + type?: string; + } + + /** + * Username / Password Credentials to connect to guest. + */ + export interface GuestCredentialResponse { + /** + * Gets or sets username to connect with the guest. + */ + username?: string; + } + + /** + * Specifies the hardware settings for the virtual machine. + */ + export interface HardwareProfileResponse { + /** + * Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running. + */ + cpuHotAddEnabled: boolean; + /** + * Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running. + */ + cpuHotRemoveEnabled: boolean; + /** + * Gets or sets a value indicating whether memory can be added while this virtual machine is running. + */ + memoryHotAddEnabled: boolean; + /** + * Gets or sets memory size in MBs for the vm. + */ + memorySizeMB?: number; + /** + * Gets or sets the number of vCPUs for the vm. + */ + numCPUs?: number; + /** + * Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + */ + numCoresPerSocket?: number; + } + + /** + * HTTP Proxy configuration for the VM. + */ + export interface HttpProxyConfigurationResponse { + /** + * Gets or sets httpsProxy url. + */ + httpsProxy?: string; + } + + /** + * Specifies the vCenter infrastructure specific settings for the virtual machine. + */ + export interface InfrastructureProfileResponse { + /** + * Gets the name of the corresponding resource in Kubernetes. + */ + customResourceName: string; + /** + * Firmware type + */ + firmwareType?: string; + /** + * Gets or sets the folder path of the vm. + */ + folderPath: string; + /** + * Gets or sets the instance uuid of the vm. + */ + instanceUuid: string; + /** + * Gets or sets the inventory Item ID for the virtual machine. + */ + inventoryItemId?: string; + /** + * Gets or sets the vCenter Managed Object name for the virtual machine. + */ + moName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. + */ + moRefId: string; + /** + * Gets or sets the SMBIOS UUID of the vm. + */ + smbiosUuid?: string; + /** + * Gets or sets the ARM Id of the template resource to deploy the virtual machine. + */ + templateId?: string; + /** + * Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + */ + vCenterId?: string; + } + + /** + * Network Interface model + */ + export interface NetworkInterfaceResponse { + /** + * Gets or sets the device key value. + */ + deviceKey?: number; + /** + * Gets or sets the nic ip addresses. + */ + ipAddresses: string[]; + /** + * Gets or sets the ipsettings. + */ + ipSettings?: outputs.connectedvmwarevsphere.v20231001.NicIPSettingsResponse; + /** + * Gets or sets the label of the virtual network in vCenter that the nic is connected to. + */ + label: string; + /** + * Gets or sets the NIC MAC address. + */ + macAddress: string; + /** + * Gets or sets the name of the network interface. + */ + name?: string; + /** + * Gets or sets the ARM Id of the network resource to connect the virtual machine. + */ + networkId?: string; + /** + * Gets or sets the name of the virtual network in vCenter that the nic is connected to. + */ + networkMoName: string; + /** + * Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network + * that the nic is connected to. + */ + networkMoRefId: string; + /** + * NIC type + */ + nicType?: string; + /** + * Gets or sets the power on boot. + */ + powerOnBoot?: string; + } + + /** + * Specifies the network interfaces of the virtual machine. + */ + export interface NetworkProfileResponse { + /** + * Gets or sets the list of network interfaces associated with the virtual machine. + */ + networkInterfaces?: outputs.connectedvmwarevsphere.v20231001.NetworkInterfaceResponse[]; + } + + /** + * IP address information for a virtual network adapter reported by the fabric. + */ + export interface NicIPAddressSettingsResponse { + /** + * Gets the ip address allocation method. + */ + allocationMethod: string; + /** + * Gets the ip address for the nic. + */ + ipAddress: string; + /** + * Gets the mask. + */ + subnetMask: string; + } + + /** + * Defines the network interface ip settings. + */ + export interface NicIPSettingsResponse { + /** + * Gets or sets the nic allocation method. + */ + allocationMethod?: string; + /** + * Gets or sets the dns servers. + */ + dnsServers?: string[]; + /** + * Gets or sets the gateway. + */ + gateway?: string[]; + /** + * Gets or sets the ip address for the nic. + */ + ipAddress?: string; + /** + * Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information. + */ + ipAddressInfo: outputs.connectedvmwarevsphere.v20231001.NicIPAddressSettingsResponse[]; + /** + * Gets or sets the primary server. + */ + primaryWinsServer: string; + /** + * Gets or sets the secondary server. + */ + secondaryWinsServer: string; + /** + * Gets or sets the mask. + */ + subnetMask?: string; + } + + /** + * Specifies the operating system settings for the virtual machine. + */ + export interface OsProfileForVMInstanceResponse { + /** + * Gets or sets administrator username. + */ + adminUsername?: string; + /** + * Gets or sets computer name. + */ + computerName?: string; + /** + * Gets or sets the guestId. + */ + guestId?: string; + /** + * Gets or sets os sku. + */ + osSku: string; + /** + * Gets or sets the type of the os. + */ + osType?: string; + /** + * Gets or sets the current running status of VMware Tools running in the guest operating system. + */ + toolsRunningStatus: string; + /** + * Gets or sets the current version of VMware Tools. + */ + toolsVersion: string; + /** + * Gets or sets the current version status of VMware Tools installed in the guest operating system. + */ + toolsVersionStatus: string; + } + + /** + * Specifies the compute and storage placement settings for the virtual machine. + */ + export interface PlacementProfileResponse { + /** + * Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + */ + clusterId?: string; + /** + * Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + */ + datastoreId?: string; + /** + * Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + */ + hostId?: string; + /** + * Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + */ + resourcePoolId?: string; + } + + /** + * The resource status information. + */ + export interface ResourceStatusResponse { + /** + * The last update time for this condition. + */ + lastUpdatedAt: string; + /** + * A human readable message indicating details about the status. + */ + message: string; + /** + * The reason for the condition's status. + */ + reason: string; + /** + * Severity with which to treat failures of this type of condition. + */ + severity: string; + /** + * Status of the condition. + */ + status: string; + /** + * The type of the condition. + */ + type: string; + } + + /** + * Specifies the Security profile settings for the virtual machine. + */ + export interface SecurityProfileResponse { + /** + * Specifies the security settings like secure boot used while creating the virtual machine. + */ + uefiSettings?: outputs.connectedvmwarevsphere.v20231001.UefiSettingsResponse; + } + + /** + * Specifies the storage settings for the virtual machine disks. + */ + export interface StorageProfileResponse { + /** + * Gets or sets the list of virtual disks associated with the virtual machine. + */ + disks?: outputs.connectedvmwarevsphere.v20231001.VirtualDiskResponse[]; + /** + * Gets or sets the list of virtual SCSI controllers associated with the virtual machine. + */ + scsiControllers: outputs.connectedvmwarevsphere.v20231001.VirtualSCSIControllerResponse[]; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Specifies the security settings like secure boot used while creating the virtual machine. + */ + export interface UefiSettingsResponse { + /** + * Specifies whether secure boot should be enabled on the virtual machine. + */ + secureBootEnabled?: boolean; + } + + /** + * Username / Password Credentials to connect to vcenter. + */ + export interface VICredentialResponse { + /** + * Gets or sets username to connect with the vCenter. + */ + username?: string; + } + + /** + * Virtual disk model + */ + export interface VirtualDiskResponse { + /** + * Gets or sets the controller id. + */ + controllerKey?: number; + /** + * Gets or sets the device key value. + */ + deviceKey?: number; + /** + * Gets or sets the device name. + */ + deviceName?: string; + /** + * Gets or sets the disk mode. + */ + diskMode?: string; + /** + * Gets or sets the disk object id. + */ + diskObjectId: string; + /** + * Gets or sets the disk total size. + */ + diskSizeGB?: number; + /** + * Gets or sets the disk backing type. + */ + diskType?: string; + /** + * Gets or sets the label of the virtual disk in vCenter. + */ + label: string; + /** + * Gets or sets the name of the virtual disk. + */ + name?: string; + /** + * Gets or sets the unit number of the disk on the controller. + */ + unitNumber?: number; + } + + /** + * This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. + */ + export interface VirtualSCSIControllerResponse { + /** + * Gets or sets the bus number of the controller. + */ + busNumber?: number; + /** + * Gets or sets the key of the controller. + */ + controllerKey?: number; + /** + * Gets or sets the SCSI controller unit number. + */ + scsiCtlrUnitNumber?: number; + /** + * Gets or sets the sharing mode. + */ + sharing?: string; + /** + * Gets or sets the controller type. + */ + type?: string; + } + + } } export namespace consumption { @@ -86302,37 +89444,6 @@ export namespace containerregistry { }; } - /** - * Properties of a build argument. - */ - export interface BuildArgumentResponse { - /** - * Flag to indicate whether the argument represents a secret and want to be removed from build logs. - */ - isSecret?: boolean; - /** - * The name of the argument. - */ - name: string; - /** - * The type of the argument. - */ - type: string; - /** - * The value of the argument. - */ - value: string; - } - /** - * buildArgumentResponseProvideDefaults sets the appropriate defaults for BuildArgumentResponse - */ - export function buildArgumentResponseProvideDefaults(val: BuildArgumentResponse): BuildArgumentResponse { - return { - ...val, - isSecret: (val.isSecret) ?? false, - }; - } - /** * The health of the auth credential. */ @@ -86482,18 +89593,6 @@ export namespace containerregistry { * List of base image dependencies for a step. */ baseImageDependencies: outputs.containerregistry.BaseImageDependencyResponse[]; - /** - * The type of the auto trigger for base image dependency updates. - */ - baseImageTrigger?: string; - /** - * The repository branch name. - */ - branch?: string; - /** - * The custom arguments for building this build step. - */ - buildArguments?: outputs.containerregistry.BuildArgumentResponse[]; /** * The token (git PAT or SAS token of storage account blob) associated with the context for a step. */ @@ -86518,10 +89617,6 @@ export namespace containerregistry { * The value of this property indicates whether the image cache is enabled or not. */ noCache?: boolean; - /** - * The provisioning state of the build step. - */ - provisioningState?: string; /** * The name of the target build stage for the docker build. */ @@ -87707,32 +90802,6 @@ export namespace containerregistry { tier: string; } - /** - * The authorization properties for accessing the source code repository. - */ - export interface SourceControlAuthInfoResponse { - /** - * Time in seconds that the token remains valid - */ - expiresIn?: number; - /** - * The refresh token used to refresh the access token. - */ - refreshToken?: string; - /** - * The scope of the access token. - */ - scope?: string; - /** - * The access token used to access the source control provider. - */ - token: string; - /** - * The type of Auth token. - */ - tokenType?: string; - } - /** * The properties of the source code repository. */ @@ -88210,23 +91279,6 @@ export namespace containerregistry { principalId?: string; } - export namespace v20160627preview { - /** - * The properties of a storage account for a container registry. - */ - export interface StorageAccountPropertiesResponse { - /** - * The access key to the storage account. - */ - accessKey: string; - /** - * The name of the storage account. - */ - name: string; - } - - } - export namespace v20170301 { /** * The login password for the container registry. @@ -88268,7 +91320,70 @@ export namespace containerregistry { } - export namespace v20180201preview { + export namespace v20180901 { + /** + * The properties that determine the run agent configuration. + */ + export interface AgentPropertiesResponse { + /** + * The CPU configuration in terms of number of cores required for the run. + */ + cpu?: number; + } + + /** + * The properties of a run argument. + */ + export interface ArgumentResponse { + /** + * Flag to indicate whether the argument represents a secret and want to be removed from build logs. + */ + isSecret?: boolean; + /** + * The name of the argument. + */ + name: string; + /** + * The value of the argument. + */ + value: string; + } + /** + * argumentResponseProvideDefaults sets the appropriate defaults for ArgumentResponse + */ + export function argumentResponseProvideDefaults(val: ArgumentResponse): ArgumentResponse { + return { + ...val, + isSecret: (val.isSecret) ?? false, + }; + } + + /** + * The authorization properties for accessing the source code repository. + */ + export interface AuthInfoResponse { + /** + * Time in seconds that the token remains valid + */ + expiresIn?: number; + /** + * The refresh token used to refresh the access token. + */ + refreshToken?: string; + /** + * The scope of the access token. + */ + scope?: string; + /** + * The access token used to access the source control provider. + */ + token: string; + /** + * The type of Auth token. + */ + tokenType: string; + } + /** * Properties that describe a base image dependency. */ @@ -88296,64 +91411,87 @@ export namespace containerregistry { } /** - * Properties of a build argument. + * The trigger based on base image dependency. */ - export interface BuildArgumentResponse { + export interface BaseImageTriggerResponse { /** - * Flag to indicate whether the argument represents a secret and want to be removed from build logs. + * The type of the auto trigger for base image dependency updates. */ - isSecret?: boolean; + baseImageTriggerType: string; /** - * The name of the argument. + * The name of the trigger. */ name: string; /** - * The type of the argument. - */ - type: string; - /** - * The value of the argument. + * The current status of trigger. */ - value: string; + status?: string; } /** - * buildArgumentResponseProvideDefaults sets the appropriate defaults for BuildArgumentResponse + * baseImageTriggerResponseProvideDefaults sets the appropriate defaults for BaseImageTriggerResponse */ - export function buildArgumentResponseProvideDefaults(val: BuildArgumentResponse): BuildArgumentResponse { + export function baseImageTriggerResponseProvideDefaults(val: BaseImageTriggerResponse): BaseImageTriggerResponse { return { ...val, - isSecret: (val.isSecret) ?? false, + status: (val.status) ?? "Enabled", }; } /** - * The Docker build step. + * The parameters that describes a set of credentials that will be used when a run is invoked. */ - export interface DockerBuildStepResponse { + export interface CredentialsResponse { /** - * List of base image dependencies for a step. + * Describes the credential parameters for accessing other custom registries. The key + * for the dictionary item will be the registry login server (myregistry.azurecr.io) and + * the value of the item will be the registry credentials for accessing the registry. */ - baseImageDependencies: outputs.containerregistry.v20180201preview.BaseImageDependencyResponse[]; + customRegistries?: {[key: string]: outputs.containerregistry.v20180901.CustomRegistryCredentialsResponse}; /** - * The type of the auto trigger for base image dependency updates. + * Describes the credential parameters for accessing the source registry. + */ + sourceRegistry?: outputs.containerregistry.v20180901.SourceRegistryCredentialsResponse; + } + + /** + * Describes the credentials that will be used to access a custom registry during a run. + */ + export interface CustomRegistryCredentialsResponse { + /** + * The password for logging into the custom registry. The password is a secret + * object that allows multiple ways of providing the value for it. */ - baseImageTrigger?: string; + password?: outputs.containerregistry.v20180901.SecretObjectResponse; /** - * The repository branch name. + * The username for logging into the custom registry. */ - branch?: string; + userName?: outputs.containerregistry.v20180901.SecretObjectResponse; + } + + /** + * The Docker build step. + */ + export interface DockerBuildStepResponse { + /** + * The collection of override arguments to be used when executing this build step. + */ + arguments?: outputs.containerregistry.v20180901.ArgumentResponse[]; /** - * The custom arguments for building this build step. + * List of base image dependencies for a step. */ - buildArguments?: outputs.containerregistry.v20180201preview.BuildArgumentResponse[]; + baseImageDependencies: outputs.containerregistry.v20180901.BaseImageDependencyResponse[]; /** - * The relative context path for a docker build in the source. + * The token (git PAT or SAS token of storage account blob) associated with the context for a step. + */ + contextAccessToken?: string; + /** + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * The Docker file path relative to the source control root. + * The Docker file path relative to the source context. */ - dockerFilePath?: string; + dockerFilePath: string; /** * The fully qualified image names including the repository and tag. */ @@ -88367,9 +91505,9 @@ export namespace containerregistry { */ noCache?: boolean; /** - * The provisioning state of the build step. + * The name of the target build stage for the docker build. */ - provisioningState: string; + target?: string; /** * The type of the step. * Expected value is 'Docker'. @@ -88388,507 +91526,229 @@ export namespace containerregistry { } /** - * The platform properties against which the build has to happen. + * The properties of a encoded task step. + */ + export interface EncodedTaskStepResponse { + /** + * List of base image dependencies for a step. + */ + baseImageDependencies: outputs.containerregistry.v20180901.BaseImageDependencyResponse[]; + /** + * The token (git PAT or SAS token of storage account blob) associated with the context for a step. + */ + contextAccessToken?: string; + /** + * The URL(absolute or relative) of the source context for the task step. + */ + contextPath?: string; + /** + * Base64 encoded value of the template/definition file content. + */ + encodedTaskContent: string; + /** + * Base64 encoded value of the parameters/values file content. + */ + encodedValuesContent?: string; + /** + * The type of the step. + * Expected value is 'EncodedTask'. + */ + type: "EncodedTask"; + /** + * The collection of overridable values that can be passed when running a task. + */ + values?: outputs.containerregistry.v20180901.SetValueResponse[]; + } + + /** + * The properties of a task step. + */ + export interface FileTaskStepResponse { + /** + * List of base image dependencies for a step. + */ + baseImageDependencies: outputs.containerregistry.v20180901.BaseImageDependencyResponse[]; + /** + * The token (git PAT or SAS token of storage account blob) associated with the context for a step. + */ + contextAccessToken?: string; + /** + * The URL(absolute or relative) of the source context for the task step. + */ + contextPath?: string; + /** + * The task template/definition file path relative to the source context. + */ + taskFilePath: string; + /** + * The type of the step. + * Expected value is 'FileTask'. + */ + type: "FileTask"; + /** + * The collection of overridable values that can be passed when running a task. + */ + values?: outputs.containerregistry.v20180901.SetValueResponse[]; + /** + * The task values/parameters file path relative to the source context. + */ + valuesFilePath?: string; + } + + /** + * The platform properties against which the run has to happen. */ export interface PlatformPropertiesResponse { /** - * The CPU configuration in terms of number of cores required for the build. + * The OS architecture. */ - cpu?: number; + architecture?: string; /** - * The operating system type required for the build. + * The operating system type required for the run. */ - osType: string; + os: string; + /** + * Variant of the CPU. + */ + variant?: string; } /** - * The authorization properties for accessing the source code repository. + * Describes the properties of a secret object value. */ - export interface SourceControlAuthInfoResponse { + export interface SecretObjectResponse { /** - * Time in seconds that the token remains valid + * The type of the secret object which determines how the value of the secret object has to be + * interpreted. */ - expiresIn?: number; + type?: string; /** - * The refresh token used to refresh the access token. + * The value of the secret. The format of this value will be determined + * based on the type of the secret object. If the type is Opaque, the value will be + * used as is without any modification. */ - refreshToken?: string; + value?: string; + } + + /** + * The properties of a overridable value that can be passed to a task template. + */ + export interface SetValueResponse { /** - * The scope of the access token. + * Flag to indicate whether the value represents a secret or not. */ - scope?: string; + isSecret?: boolean; /** - * The access token used to access the source control provider. + * The name of the overridable value. */ - token: string; + name: string; /** - * The type of Auth token. + * The overridable value. */ - tokenType?: string; + value: string; + } + /** + * setValueResponseProvideDefaults sets the appropriate defaults for SetValueResponse + */ + export function setValueResponseProvideDefaults(val: SetValueResponse): SetValueResponse { + return { + ...val, + isSecret: (val.isSecret) ?? false, + }; } /** * The properties of the source code repository. */ - export interface SourceRepositoryPropertiesResponse { + export interface SourcePropertiesResponse { /** - * The value of this property indicates whether the source control commit trigger is enabled or not. + * The branch name of the source code. */ - isCommitTriggerEnabled?: boolean; + branch?: string; /** * The full URL to the source code repository */ repositoryUrl: string; /** - * The authorization properties for accessing the source code repository. + * The authorization properties for accessing the source code repository and to set up + * webhooks for notifications. */ - sourceControlAuthProperties?: outputs.containerregistry.v20180201preview.SourceControlAuthInfoResponse; + sourceControlAuthProperties?: outputs.containerregistry.v20180901.AuthInfoResponse; /** * The type of source control service. */ sourceControlType: string; } + /** - * sourceRepositoryPropertiesResponseProvideDefaults sets the appropriate defaults for SourceRepositoryPropertiesResponse + * Describes the credential parameters for accessing the source registry. */ - export function sourceRepositoryPropertiesResponseProvideDefaults(val: SourceRepositoryPropertiesResponse): SourceRepositoryPropertiesResponse { + export interface SourceRegistryCredentialsResponse { + /** + * The authentication mode which determines the source registry login scope. The credentials for the source registry + * will be generated using the given scope. These credentials will be used to login to + * the source registry during the run. + */ + loginMode?: string; + } + + /** + * The properties of a source based trigger. + */ + export interface SourceTriggerResponse { + /** + * The name of the trigger. + */ + name: string; + /** + * The properties that describes the source(code) for the task. + */ + sourceRepository: outputs.containerregistry.v20180901.SourcePropertiesResponse; + /** + * The source event corresponding to the trigger. + */ + sourceTriggerEvents: string[]; + /** + * The current status of trigger. + */ + status?: string; + } + /** + * sourceTriggerResponseProvideDefaults sets the appropriate defaults for SourceTriggerResponse + */ + export function sourceTriggerResponseProvideDefaults(val: SourceTriggerResponse): SourceTriggerResponse { return { ...val, - isCommitTriggerEnabled: (val.isCommitTriggerEnabled) ?? false, + status: (val.status) ?? "Enabled", + }; + } + + /** + * The properties of a trigger. + */ + export interface TriggerPropertiesResponse { + /** + * The trigger based on base image dependencies. + */ + baseImageTrigger?: outputs.containerregistry.v20180901.BaseImageTriggerResponse; + /** + * The collection of triggers based on source code repository. + */ + sourceTriggers?: outputs.containerregistry.v20180901.SourceTriggerResponse[]; + } + /** + * triggerPropertiesResponseProvideDefaults sets the appropriate defaults for TriggerPropertiesResponse + */ + export function triggerPropertiesResponseProvideDefaults(val: TriggerPropertiesResponse): TriggerPropertiesResponse { + return { + ...val, + baseImageTrigger: (val.baseImageTrigger ? outputs.containerregistry.v20180901.baseImageTriggerResponseProvideDefaults(val.baseImageTrigger) : undefined), }; } } - export namespace v20180901 { - /** - * The properties that determine the run agent configuration. - */ - export interface AgentPropertiesResponse { - /** - * The CPU configuration in terms of number of cores required for the run. - */ - cpu?: number; - } - - /** - * The properties of a run argument. - */ - export interface ArgumentResponse { - /** - * Flag to indicate whether the argument represents a secret and want to be removed from build logs. - */ - isSecret?: boolean; - /** - * The name of the argument. - */ - name: string; - /** - * The value of the argument. - */ - value: string; - } - /** - * argumentResponseProvideDefaults sets the appropriate defaults for ArgumentResponse - */ - export function argumentResponseProvideDefaults(val: ArgumentResponse): ArgumentResponse { - return { - ...val, - isSecret: (val.isSecret) ?? false, - }; - } - - /** - * The authorization properties for accessing the source code repository. - */ - export interface AuthInfoResponse { - /** - * Time in seconds that the token remains valid - */ - expiresIn?: number; - /** - * The refresh token used to refresh the access token. - */ - refreshToken?: string; - /** - * The scope of the access token. - */ - scope?: string; - /** - * The access token used to access the source control provider. - */ - token: string; - /** - * The type of Auth token. - */ - tokenType: string; - } - - /** - * Properties that describe a base image dependency. - */ - export interface BaseImageDependencyResponse { - /** - * The sha256-based digest of the image manifest. - */ - digest?: string; - /** - * The registry login server. - */ - registry?: string; - /** - * The repository name. - */ - repository?: string; - /** - * The tag name. - */ - tag?: string; - /** - * The type of the base image dependency. - */ - type?: string; - } - - /** - * The trigger based on base image dependency. - */ - export interface BaseImageTriggerResponse { - /** - * The type of the auto trigger for base image dependency updates. - */ - baseImageTriggerType: string; - /** - * The name of the trigger. - */ - name: string; - /** - * The current status of trigger. - */ - status?: string; - } - /** - * baseImageTriggerResponseProvideDefaults sets the appropriate defaults for BaseImageTriggerResponse - */ - export function baseImageTriggerResponseProvideDefaults(val: BaseImageTriggerResponse): BaseImageTriggerResponse { - return { - ...val, - status: (val.status) ?? "Enabled", - }; - } - - /** - * The parameters that describes a set of credentials that will be used when a run is invoked. - */ - export interface CredentialsResponse { - /** - * Describes the credential parameters for accessing other custom registries. The key - * for the dictionary item will be the registry login server (myregistry.azurecr.io) and - * the value of the item will be the registry credentials for accessing the registry. - */ - customRegistries?: {[key: string]: outputs.containerregistry.v20180901.CustomRegistryCredentialsResponse}; - /** - * Describes the credential parameters for accessing the source registry. - */ - sourceRegistry?: outputs.containerregistry.v20180901.SourceRegistryCredentialsResponse; - } - - /** - * Describes the credentials that will be used to access a custom registry during a run. - */ - export interface CustomRegistryCredentialsResponse { - /** - * The password for logging into the custom registry. The password is a secret - * object that allows multiple ways of providing the value for it. - */ - password?: outputs.containerregistry.v20180901.SecretObjectResponse; - /** - * The username for logging into the custom registry. - */ - userName?: outputs.containerregistry.v20180901.SecretObjectResponse; - } - - /** - * The Docker build step. - */ - export interface DockerBuildStepResponse { - /** - * The collection of override arguments to be used when executing this build step. - */ - arguments?: outputs.containerregistry.v20180901.ArgumentResponse[]; - /** - * List of base image dependencies for a step. - */ - baseImageDependencies: outputs.containerregistry.v20180901.BaseImageDependencyResponse[]; - /** - * The token (git PAT or SAS token of storage account blob) associated with the context for a step. - */ - contextAccessToken?: string; - /** - * The URL(absolute or relative) of the source context for the task step. - */ - contextPath?: string; - /** - * The Docker file path relative to the source context. - */ - dockerFilePath: string; - /** - * The fully qualified image names including the repository and tag. - */ - imageNames?: string[]; - /** - * The value of this property indicates whether the image built should be pushed to the registry or not. - */ - isPushEnabled?: boolean; - /** - * The value of this property indicates whether the image cache is enabled or not. - */ - noCache?: boolean; - /** - * The name of the target build stage for the docker build. - */ - target?: string; - /** - * The type of the step. - * Expected value is 'Docker'. - */ - type: "Docker"; - } - /** - * dockerBuildStepResponseProvideDefaults sets the appropriate defaults for DockerBuildStepResponse - */ - export function dockerBuildStepResponseProvideDefaults(val: DockerBuildStepResponse): DockerBuildStepResponse { - return { - ...val, - isPushEnabled: (val.isPushEnabled) ?? true, - noCache: (val.noCache) ?? false, - }; - } - - /** - * The properties of a encoded task step. - */ - export interface EncodedTaskStepResponse { - /** - * List of base image dependencies for a step. - */ - baseImageDependencies: outputs.containerregistry.v20180901.BaseImageDependencyResponse[]; - /** - * The token (git PAT or SAS token of storage account blob) associated with the context for a step. - */ - contextAccessToken?: string; - /** - * The URL(absolute or relative) of the source context for the task step. - */ - contextPath?: string; - /** - * Base64 encoded value of the template/definition file content. - */ - encodedTaskContent: string; - /** - * Base64 encoded value of the parameters/values file content. - */ - encodedValuesContent?: string; - /** - * The type of the step. - * Expected value is 'EncodedTask'. - */ - type: "EncodedTask"; - /** - * The collection of overridable values that can be passed when running a task. - */ - values?: outputs.containerregistry.v20180901.SetValueResponse[]; - } - - /** - * The properties of a task step. - */ - export interface FileTaskStepResponse { - /** - * List of base image dependencies for a step. - */ - baseImageDependencies: outputs.containerregistry.v20180901.BaseImageDependencyResponse[]; - /** - * The token (git PAT or SAS token of storage account blob) associated with the context for a step. - */ - contextAccessToken?: string; - /** - * The URL(absolute or relative) of the source context for the task step. - */ - contextPath?: string; - /** - * The task template/definition file path relative to the source context. - */ - taskFilePath: string; - /** - * The type of the step. - * Expected value is 'FileTask'. - */ - type: "FileTask"; - /** - * The collection of overridable values that can be passed when running a task. - */ - values?: outputs.containerregistry.v20180901.SetValueResponse[]; - /** - * The task values/parameters file path relative to the source context. - */ - valuesFilePath?: string; - } - - /** - * The platform properties against which the run has to happen. - */ - export interface PlatformPropertiesResponse { - /** - * The OS architecture. - */ - architecture?: string; - /** - * The operating system type required for the run. - */ - os: string; - /** - * Variant of the CPU. - */ - variant?: string; - } - - /** - * Describes the properties of a secret object value. - */ - export interface SecretObjectResponse { - /** - * The type of the secret object which determines how the value of the secret object has to be - * interpreted. - */ - type?: string; - /** - * The value of the secret. The format of this value will be determined - * based on the type of the secret object. If the type is Opaque, the value will be - * used as is without any modification. - */ - value?: string; - } - - /** - * The properties of a overridable value that can be passed to a task template. - */ - export interface SetValueResponse { - /** - * Flag to indicate whether the value represents a secret or not. - */ - isSecret?: boolean; - /** - * The name of the overridable value. - */ - name: string; - /** - * The overridable value. - */ - value: string; - } - /** - * setValueResponseProvideDefaults sets the appropriate defaults for SetValueResponse - */ - export function setValueResponseProvideDefaults(val: SetValueResponse): SetValueResponse { - return { - ...val, - isSecret: (val.isSecret) ?? false, - }; - } - - /** - * The properties of the source code repository. - */ - export interface SourcePropertiesResponse { - /** - * The branch name of the source code. - */ - branch?: string; - /** - * The full URL to the source code repository - */ - repositoryUrl: string; - /** - * The authorization properties for accessing the source code repository and to set up - * webhooks for notifications. - */ - sourceControlAuthProperties?: outputs.containerregistry.v20180901.AuthInfoResponse; - /** - * The type of source control service. - */ - sourceControlType: string; - } - - /** - * Describes the credential parameters for accessing the source registry. - */ - export interface SourceRegistryCredentialsResponse { - /** - * The authentication mode which determines the source registry login scope. The credentials for the source registry - * will be generated using the given scope. These credentials will be used to login to - * the source registry during the run. - */ - loginMode?: string; - } - - /** - * The properties of a source based trigger. - */ - export interface SourceTriggerResponse { - /** - * The name of the trigger. - */ - name: string; - /** - * The properties that describes the source(code) for the task. - */ - sourceRepository: outputs.containerregistry.v20180901.SourcePropertiesResponse; - /** - * The source event corresponding to the trigger. - */ - sourceTriggerEvents: string[]; - /** - * The current status of trigger. - */ - status?: string; - } - /** - * sourceTriggerResponseProvideDefaults sets the appropriate defaults for SourceTriggerResponse - */ - export function sourceTriggerResponseProvideDefaults(val: SourceTriggerResponse): SourceTriggerResponse { - return { - ...val, - status: (val.status) ?? "Enabled", - }; - } - - /** - * The properties of a trigger. - */ - export interface TriggerPropertiesResponse { - /** - * The trigger based on base image dependencies. - */ - baseImageTrigger?: outputs.containerregistry.v20180901.BaseImageTriggerResponse; - /** - * The collection of triggers based on source code repository. - */ - sourceTriggers?: outputs.containerregistry.v20180901.SourceTriggerResponse[]; - } - /** - * triggerPropertiesResponseProvideDefaults sets the appropriate defaults for TriggerPropertiesResponse - */ - export function triggerPropertiesResponseProvideDefaults(val: TriggerPropertiesResponse): TriggerPropertiesResponse { - return { - ...val, - baseImageTrigger: (val.baseImageTrigger ? outputs.containerregistry.v20180901.baseImageTriggerResponseProvideDefaults(val.baseImageTrigger) : undefined), - }; - } - - } - - export namespace v20190401 { + export namespace v20190401 { /** * The properties that determine the run agent configuration. */ @@ -97095,9 +99955,8 @@ export namespace containerservice { */ export interface UpdateGroupResponse { /** - * The name of the Fleet member group to update. - * It should match the name of an existing FleetMember group. - * A group can only appear once across all UpdateStages in the UpdateRun. + * Name of the group. + * It must match a group name of an existing fleet member. */ name: string; } @@ -97135,21 +99994,23 @@ export namespace containerservice { } /** - * The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. */ export interface UpdateRunStrategyResponse { /** - * The list of stages that compose this update run. + * The list of stages that compose this update run. Min size: 1. */ stages: outputs.containerservice.UpdateStageResponse[]; } /** - * Contains the groups to be updated by an UpdateRun. - * Update order: - * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - * - Parallel within a stage: Groups within a stage run in parallel. - * - Sequential within a group: Clusters within a group are updated sequentially. + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. */ export interface UpdateStageResponse { /** @@ -97157,8 +100018,7 @@ export namespace containerservice { */ afterStageWaitInSeconds?: number; /** - * A list of group names that compose the stage. - * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. */ groups?: outputs.containerservice.UpdateGroupResponse[]; /** @@ -99648,9 +102508,8 @@ export namespace containerservice { */ export interface UpdateGroupResponse { /** - * The name of the Fleet member group to update. - * It should match the name of an existing FleetMember group. - * A group can only appear once across all UpdateStages in the UpdateRun. + * Name of the group. + * It must match a group name of an existing fleet member. */ name: string; } @@ -99688,21 +102547,23 @@ export namespace containerservice { } /** - * The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. */ export interface UpdateRunStrategyResponse { /** - * The list of stages that compose this update run. + * The list of stages that compose this update run. Min size: 1. */ stages: outputs.containerservice.v20230315preview.UpdateStageResponse[]; } /** - * Contains the groups to be updated by an UpdateRun. - * Update order: - * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - * - Parallel within a stage: Groups within a stage run in parallel. - * - Sequential within a group: Clusters within a group are updated sequentially. + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. */ export interface UpdateStageResponse { /** @@ -99710,8 +102571,7 @@ export namespace containerservice { */ afterStageWaitInSeconds?: number; /** - * A list of group names that compose the stage. - * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. */ groups?: outputs.containerservice.v20230315preview.UpdateGroupResponse[]; /** @@ -107295,9 +110155,8 @@ export namespace containerservice { */ export interface UpdateGroupResponse { /** - * The name of the Fleet member group to update. - * It should match the name of an existing FleetMember group. - * A group can only appear once across all UpdateStages in the UpdateRun. + * Name of the group. + * It must match a group name of an existing fleet member. */ name: string; } @@ -107339,21 +110198,23 @@ export namespace containerservice { } /** - * The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + * Defines the update sequence of the clusters via stages and groups. + * + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. + * + * A valid strategy contains no duplicate groups within or across stages. */ export interface UpdateRunStrategyResponse { /** - * The list of stages that compose this update run. + * The list of stages that compose this update run. Min size: 1. */ stages: outputs.containerservice.v20230615preview.UpdateStageResponse[]; } /** - * Contains the groups to be updated by an UpdateRun. - * Update order: - * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - * - Parallel within a stage: Groups within a stage run in parallel. - * - Sequential within a group: Clusters within a group are updated sequentially. + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. */ export interface UpdateStageResponse { /** @@ -107361,8 +110222,7 @@ export namespace containerservice { */ afterStageWaitInSeconds?: number; /** - * A list of group names that compose the stage. - * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. */ groups?: outputs.containerservice.v20230615preview.UpdateGroupResponse[]; /** @@ -111338,1659 +114198,2463 @@ export namespace containerservice { } } -} -export namespace containerstorage { - /** - * Assignment Properties - */ - export interface AssignmentResponse { - /** - * Resource id for the assigned resource - */ - id: string; + export namespace v20230801 { /** - * Indicates if the assignment is in a usable state + * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. */ - status: outputs.containerstorage.AssignmentStatusResponse; - } + export interface AbsoluteMonthlyScheduleResponse { + /** + * The date of the month. + */ + dayOfMonth: number; + /** + * Specifies the number of months between each set of occurrences. + */ + intervalMonths: number; + } - /** - * Status of the assignment resource - */ - export interface AssignmentStatusResponse { - /** - * Reason for the status - */ - message?: string; /** - * State of the assignment resource + * Settings for upgrading an agentpool */ - state: string; - } + export interface AgentPoolUpgradeSettingsResponse { + /** + * The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + */ + drainTimeoutInMinutes?: number; + /** + * This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + */ + maxSurge?: string; + } - /** - * Azure Disk Pool Properties - */ - export interface AzureDiskResponse { - /** - * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). - */ - disks?: outputs.containerstorage.DiskResponse[]; - /** - * Encryption specifies the encryption configuration for the Azure Disk pool - */ - encryption?: outputs.containerstorage.EncryptionResponse; /** - * Managed resource group for the pool. + * Azure Key Vault key management service settings for the security profile. */ - resourceGroup: string; + export interface AzureKeyVaultKmsResponse { + /** + * Whether to enable Azure Key Vault key management service. The default is false. + */ + enabled?: boolean; + /** + * Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + */ + keyId?: string; + /** + * Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + */ + keyVaultNetworkAccess?: string; + /** + * Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + */ + keyVaultResourceId?: string; + } /** - * Sku name + * azureKeyVaultKmsResponseProvideDefaults sets the appropriate defaults for AzureKeyVaultKmsResponse */ - skuName?: string; - } + export function azureKeyVaultKmsResponseProvideDefaults(val: AzureKeyVaultKmsResponse): AzureKeyVaultKmsResponse { + return { + ...val, + keyVaultNetworkAccess: (val.keyVaultNetworkAccess) ?? "Public", + }; + } - /** - * Model for disk for that pool is using - */ - export interface DiskResponse { - /** - * ID is the disk identifier visible to the OS. It is typically the WWN or disk ID in formats such as eui.e8238fa6bf530001001b448b45263379 or 0x5002cf6cbc5dd460 - */ - id: string; /** - * Reference is the location of the disk in an external system. + * Settings for upgrading a cluster. */ - reference: string; - } + export interface ClusterUpgradeSettingsResponse { + /** + * Settings for overrides. + */ + overrideSettings?: outputs.containerservice.v20230801.UpgradeOverrideSettingsResponse; + } - /** - * Elastic San Pool Properties - */ - export interface ElasticSanResponse { - /** - * Encryption specifies the encryption configuration for the Azure Disk pool - */ - encryption?: outputs.containerstorage.EncryptionResponse; - /** - * Managed resource group for the pool. - */ - resourceGroup: string; /** - * Sku name + * Profile for Linux VMs in the container service cluster. */ - skuName?: string; - } + export interface ContainerServiceLinuxProfileResponse { + /** + * The administrator username to use for Linux VMs. + */ + adminUsername: string; + /** + * The SSH configuration for Linux-based VMs running on Azure. + */ + ssh: outputs.containerservice.v20230801.ContainerServiceSshConfigurationResponse; + } - /** - * Properties of the ElasticSAN iSCSI target - */ - export interface ElasticSanVolumePropertiesResponse { - /** - * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server" - */ - targetIqn: string; /** - * iSCSI Target Portal Host Name + * Profile of network configuration. */ - targetPortalHostname: string; + export interface ContainerServiceNetworkProfileResponse { + /** + * An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + */ + dnsServiceIP?: string; + /** + * IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + */ + ipFamilies?: string[]; + /** + * Profile of the cluster load balancer. + */ + loadBalancerProfile?: outputs.containerservice.v20230801.ManagedClusterLoadBalancerProfileResponse; + /** + * The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + */ + loadBalancerSku?: string; + /** + * Profile of the cluster NAT gateway. + */ + natGatewayProfile?: outputs.containerservice.v20230801.ManagedClusterNATGatewayProfileResponse; + /** + * Network dataplane used in the Kubernetes cluster. + */ + networkDataplane?: string; + /** + * This cannot be specified if networkPlugin is anything other than 'azure'. + */ + networkMode?: string; + /** + * Network plugin used for building the Kubernetes network. + */ + networkPlugin?: string; + /** + * The mode the network plugin should use. + */ + networkPluginMode?: string; + /** + * Network policy used for building the Kubernetes network. + */ + networkPolicy?: string; + /** + * This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + */ + outboundType?: string; + /** + * A CIDR notation IP range from which to assign pod IPs when kubenet is used. + */ + podCidr?: string; + /** + * One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + */ + podCidrs?: string[]; + /** + * A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + */ + serviceCidr?: string; + /** + * One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + */ + serviceCidrs?: string[]; + } /** - * iSCSI Target Portal Port + * containerServiceNetworkProfileResponseProvideDefaults sets the appropriate defaults for ContainerServiceNetworkProfileResponse */ - targetPortalPort: number; - } + export function containerServiceNetworkProfileResponseProvideDefaults(val: ContainerServiceNetworkProfileResponse): ContainerServiceNetworkProfileResponse { + return { + ...val, + dnsServiceIP: (val.dnsServiceIP) ?? "10.0.0.10", + loadBalancerProfile: (val.loadBalancerProfile ? outputs.containerservice.v20230801.managedClusterLoadBalancerProfileResponseProvideDefaults(val.loadBalancerProfile) : undefined), + natGatewayProfile: (val.natGatewayProfile ? outputs.containerservice.v20230801.managedClusterNATGatewayProfileResponseProvideDefaults(val.natGatewayProfile) : undefined), + networkPlugin: (val.networkPlugin) ?? "kubenet", + outboundType: (val.outboundType) ?? "loadBalancer", + podCidr: (val.podCidr) ?? "10.244.0.0/16", + serviceCidr: (val.serviceCidr) ?? "10.0.0.0/16", + }; + } - /** - * Encryption key properties for the pool. - */ - export interface EncryptionResponse { - /** - * The managed service identities assigned to this resource. - */ - identity?: outputs.containerstorage.ManagedServiceIdentityResponse; - /** - * The name of the key vault key. - */ - keyName: string; /** - * The URI of the key vault. + * SSH configuration for Linux-based VMs running on Azure. */ - keyVaultUri: string; - } + export interface ContainerServiceSshConfigurationResponse { + /** + * The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + */ + publicKeys: outputs.containerservice.v20230801.ContainerServiceSshPublicKeyResponse[]; + } - /** - * Ephemeral Disk Pool Properties - */ - export interface EphemeralDiskResponse { /** - * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). - */ - disks?: outputs.containerstorage.DiskResponse[]; - /** - * The number of data copies. Default 3. + * Contains information about SSH certificate public key data. */ - replicas?: number; - } - /** - * ephemeralDiskResponseProvideDefaults sets the appropriate defaults for EphemeralDiskResponse - */ - export function ephemeralDiskResponseProvideDefaults(val: EphemeralDiskResponse): EphemeralDiskResponse { - return { - ...val, - replicas: (val.replicas) ?? 3, - }; - } + export interface ContainerServiceSshPublicKeyResponse { + /** + * Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + */ + keyData: string; + } - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityResponse { - /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - principalId: string; - /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - tenantId: string; - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: string; /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + * Data used when creating a target resource from a source resource. */ - userAssignedIdentities?: {[key: string]: outputs.containerstorage.UserAssignedIdentityResponse}; - } + export interface CreationDataResponse { + /** + * This is the ARM ID of the source object to be used to create the target object. + */ + sourceResourceId?: string; + } - /** - * Type of the Pool: ephemeralDisk, azureDisk, or elasticsan - */ - export interface PoolTypeResponse { - /** - * Disk Pool Properties - */ - azureDisk?: outputs.containerstorage.AzureDiskResponse; - /** - * Elastic San Pool Properties - */ - elasticSan?: outputs.containerstorage.ElasticSanResponse; /** - * Ephemeral Pool Properties + * The credential result response. */ - ephemeralDisk?: outputs.containerstorage.EphemeralDiskResponse; - } - /** - * poolTypeResponseProvideDefaults sets the appropriate defaults for PoolTypeResponse - */ - export function poolTypeResponseProvideDefaults(val: PoolTypeResponse): PoolTypeResponse { - return { - ...val, - ephemeralDisk: (val.ephemeralDisk ? outputs.containerstorage.ephemeralDiskResponseProvideDefaults(val.ephemeralDisk) : undefined), - }; - } + export interface CredentialResultResponse { + /** + * The name of the credential. + */ + name: string; + /** + * Base64-encoded Kubernetes configuration file. + */ + value: string; + } - /** - * Requests for capacity for the pool. - */ - export interface RequestsResponse { /** - * Requested capacity of the pool in GiB. + * For schedules like: 'recur every day' or 'recur every 3 days'. */ - storage?: number; - } - /** - * requestsResponseProvideDefaults sets the appropriate defaults for RequestsResponse - */ - export function requestsResponseProvideDefaults(val: RequestsResponse): RequestsResponse { - return { - ...val, - storage: (val.storage) ?? 1024, - }; - } + export interface DailyScheduleResponse { + /** + * Specifies the number of days between each set of occurrences. + */ + intervalDays: number; + } - /** - * Status of the resource - */ - export interface ResourceOperationalStatusResponse { - /** - * Reason for state. - */ - message?: string; /** - * state of the resource + * For example, between '2022-12-23' and '2023-01-05'. */ - state: string; - } + export interface DateSpanResponse { + /** + * The end date of the date span. + */ + end: string; + /** + * The start date of the date span. + */ + start: string; + } - /** - * Resource Requests for the pool. - */ - export interface ResourcesResponse { /** - * Requests for capacity for the pool. + * Delegated resource properties - internal use only. */ - requests?: outputs.containerstorage.RequestsResponse; - } - /** - * resourcesResponseProvideDefaults sets the appropriate defaults for ResourcesResponse - */ - export function resourcesResponseProvideDefaults(val: ResourcesResponse): ResourcesResponse { - return { - ...val, - requests: (val.requests ? outputs.containerstorage.requestsResponseProvideDefaults(val.requests) : undefined), - }; - } + export interface DelegatedResourceResponse { + /** + * The source resource location - internal use only. + */ + location?: string; + /** + * The delegation id of the referral delegation (optional) - internal use only. + */ + referralResource?: string; + /** + * The ARM resource id of the delegated resource - internal use only. + */ + resourceId?: string; + /** + * The tenant id of the delegated resource - internal use only. + */ + tenantId?: string; + } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. + * The complex type of the extended location. */ - lastModifiedByType?: string; - } + export interface ExtendedLocationResponse { + /** + * The name of the extended location. + */ + name?: string; + /** + * The type of the extended location. + */ + type?: string; + } - /** - * User assigned identity properties - */ - export interface UserAssignedIdentityResponse { - /** - * The client ID of the assigned identity. - */ - clientId: string; /** - * The principal ID of the assigned identity. + * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca */ - principalId: string; - } + export interface IstioCertificateAuthorityResponse { + /** + * Plugin certificates information for Service Mesh. + */ + plugin?: outputs.containerservice.v20230801.IstioPluginCertificateAuthorityResponse; + } - /** - * Properties of the volume - */ - export interface VolumeTypeResponse { /** - * Properties of the ElasticSAN iSCSI target + * Istio components configuration. */ - elasticSan: outputs.containerstorage.ElasticSanVolumePropertiesResponse; - } + export interface IstioComponentsResponse { + /** + * Istio egress gateways. + */ + egressGateways?: outputs.containerservice.v20230801.IstioEgressGatewayResponse[]; + /** + * Istio ingress gateways. + */ + ingressGateways?: outputs.containerservice.v20230801.IstioIngressGatewayResponse[]; + } - export namespace v20230701preview { /** - * Assignment Properties + * Istio egress gateway configuration. */ - export interface AssignmentResponse { + export interface IstioEgressGatewayResponse { /** - * Resource id for the assigned resource + * Whether to enable the egress gateway. */ - id: string; + enabled: boolean; /** - * Indicates if the assignment is in a usable state + * NodeSelector for scheduling the egress gateway. */ - status: outputs.containerstorage.v20230701preview.AssignmentStatusResponse; + nodeSelector?: {[key: string]: string}; } /** - * Status of the assignment resource + * Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. */ - export interface AssignmentStatusResponse { + export interface IstioIngressGatewayResponse { /** - * Reason for the status + * Whether to enable the ingress gateway. */ - message?: string; + enabled: boolean; /** - * State of the assignment resource + * Mode of an ingress gateway. */ - state: string; + mode: string; } /** - * Azure Disk Pool Properties + * Plugin certificates information for Service Mesh. */ - export interface AzureDiskResponse { + export interface IstioPluginCertificateAuthorityResponse { /** - * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). + * Certificate chain object name in Azure Key Vault. */ - disks?: outputs.containerstorage.v20230701preview.DiskResponse[]; + certChainObjectName?: string; /** - * Encryption specifies the encryption configuration for the Azure Disk pool + * Intermediate certificate object name in Azure Key Vault. */ - encryption?: outputs.containerstorage.v20230701preview.EncryptionResponse; + certObjectName?: string; /** - * Managed resource group for the pool. + * Intermediate certificate private key object name in Azure Key Vault. */ - resourceGroup: string; + keyObjectName?: string; /** - * Sku name + * The resource ID of the Key Vault. */ - skuName?: string; + keyVaultId?: string; + /** + * Root certificate object name in Azure Key Vault. + */ + rootCertObjectName?: string; } /** - * Model for disk for that pool is using + * Istio service mesh configuration. */ - export interface DiskResponse { + export interface IstioServiceMeshResponse { /** - * ID is the disk identifier visible to the OS. It is typically the WWN or disk ID in formats such as eui.e8238fa6bf530001001b448b45263379 or 0x5002cf6cbc5dd460 + * Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca */ - id: string; + certificateAuthority?: outputs.containerservice.v20230801.IstioCertificateAuthorityResponse; /** - * Reference is the location of the disk in an external system. + * Istio components configuration. */ - reference: string; + components?: outputs.containerservice.v20230801.IstioComponentsResponse; + /** + * The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + */ + revisions?: string[]; } /** - * Elastic San Pool Properties + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ - export interface ElasticSanResponse { + export interface KubeletConfigResponse { /** - * Encryption specifies the encryption configuration for the Azure Disk pool + * Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). */ - encryption?: outputs.containerstorage.v20230701preview.EncryptionResponse; + allowedUnsafeSysctls?: string[]; /** - * Managed resource group for the pool. + * The maximum number of container log files that can be present for a container. The number must be ≥ 2. */ - resourceGroup: string; + containerLogMaxFiles?: number; /** - * Sku name + * The maximum size (e.g. 10Mi) of container log file before it is rotated. */ - skuName?: string; - } - - /** - * Properties of the ElasticSAN iSCSI target - */ - export interface ElasticSanVolumePropertiesResponse { + containerLogMaxSizeMB?: number; /** - * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server" + * The default is true. */ - targetIqn: string; + cpuCfsQuota?: boolean; /** - * iSCSI Target Portal Host Name + * The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. */ - targetPortalHostname: string; + cpuCfsQuotaPeriod?: string; /** - * iSCSI Target Portal Port + * The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ - targetPortalPort: number; + cpuManagerPolicy?: string; + /** + * If set to true it will make the Kubelet fail to start if swap is enabled on the node. + */ + failSwapOn?: boolean; + /** + * To disable image garbage collection, set to 100. The default is 85% + */ + imageGcHighThreshold?: number; + /** + * This cannot be set higher than imageGcHighThreshold. The default is 80% + */ + imageGcLowThreshold?: number; + /** + * The maximum number of processes per pod. + */ + podMaxPids?: number; + /** + * For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + */ + topologyManagerPolicy?: string; } /** - * Encryption key properties for the pool. + * See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ - export interface EncryptionResponse { + export interface LinuxOSConfigResponse { /** - * The managed service identities assigned to this resource. + * The size in MB of a swap file that will be created on each node. */ - identity?: outputs.containerstorage.v20230701preview.ManagedServiceIdentityResponse; + swapFileSizeMB?: number; /** - * The name of the key vault key. + * Sysctl settings for Linux agent nodes. */ - keyName: string; + sysctls?: outputs.containerservice.v20230801.SysctlConfigResponse; /** - * The URI of the key vault. + * Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). */ - keyVaultUri: string; + transparentHugePageDefrag?: string; + /** + * Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + */ + transparentHugePageEnabled?: string; } /** - * Ephemeral Disk Pool Properties + * Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. */ - export interface EphemeralDiskResponse { + export interface MaintenanceWindowResponse { /** - * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). + * Length of maintenance window range from 4 to 24 hours. */ - disks?: outputs.containerstorage.v20230701preview.DiskResponse[]; + durationHours: number; /** - * The number of data copies. Default 3. + * Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. */ - replicas?: number; + notAllowedDates?: outputs.containerservice.v20230801.DateSpanResponse[]; + /** + * Recurrence schedule for the maintenance window. + */ + schedule: outputs.containerservice.v20230801.ScheduleResponse; + /** + * The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + */ + startDate?: string; + /** + * The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + */ + startTime: string; + /** + * The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + */ + utcOffset?: string; } /** - * ephemeralDiskResponseProvideDefaults sets the appropriate defaults for EphemeralDiskResponse + * maintenanceWindowResponseProvideDefaults sets the appropriate defaults for MaintenanceWindowResponse */ - export function ephemeralDiskResponseProvideDefaults(val: EphemeralDiskResponse): EphemeralDiskResponse { + export function maintenanceWindowResponseProvideDefaults(val: MaintenanceWindowResponse): MaintenanceWindowResponse { return { ...val, - replicas: (val.replicas) ?? 3, + durationHours: (val.durationHours) ?? 24, }; } /** - * Managed service identity (system assigned and/or user assigned identities) + * For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ - export interface ManagedServiceIdentityResponse { + export interface ManagedClusterAADProfileResponse { /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The list of AAD group object IDs that will have admin role of the cluster. */ - principalId: string; + adminGroupObjectIDs?: string[]; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. */ - tenantId: string; + clientAppID?: string; /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + * Whether to enable Azure RBAC for Kubernetes authorization. */ - type: string; + enableAzureRBAC?: boolean; /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + * Whether to enable managed AAD. */ - userAssignedIdentities?: {[key: string]: outputs.containerstorage.v20230701preview.UserAssignedIdentityResponse}; + managed?: boolean; + /** + * (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + */ + serverAppID?: string; + /** + * (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + */ + serverAppSecret?: string; + /** + * The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + */ + tenantID?: string; } /** - * Type of the Pool: ephemeralDisk, azureDisk, or elasticsan + * Access profile for managed cluster API server. */ - export interface PoolTypeResponse { + export interface ManagedClusterAPIServerAccessProfileResponse { /** - * Disk Pool Properties + * IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). */ - azureDisk?: outputs.containerstorage.v20230701preview.AzureDiskResponse; + authorizedIPRanges?: string[]; /** - * Elastic San Pool Properties + * Whether to disable run command for the cluster or not. */ - elasticSan?: outputs.containerstorage.v20230701preview.ElasticSanResponse; + disableRunCommand?: boolean; /** - * Ephemeral Pool Properties + * For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). */ - ephemeralDisk?: outputs.containerstorage.v20230701preview.EphemeralDiskResponse; + enablePrivateCluster?: boolean; + /** + * Whether to create additional public FQDN for private cluster or not. + */ + enablePrivateClusterPublicFQDN?: boolean; + /** + * The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + */ + privateDNSZone?: string; } + /** - * poolTypeResponseProvideDefaults sets the appropriate defaults for PoolTypeResponse + * A Kubernetes add-on profile for a managed cluster. */ - export function poolTypeResponseProvideDefaults(val: PoolTypeResponse): PoolTypeResponse { - return { - ...val, - ephemeralDisk: (val.ephemeralDisk ? outputs.containerstorage.v20230701preview.ephemeralDiskResponseProvideDefaults(val.ephemeralDisk) : undefined), - }; + export interface ManagedClusterAddonProfileResponse { + /** + * Key-value pairs for configuring an add-on. + */ + config?: {[key: string]: string}; + /** + * Whether the add-on is enabled or not. + */ + enabled: boolean; + /** + * Information of user assigned identity used by this add-on. + */ + identity: outputs.containerservice.v20230801.ManagedClusterAddonProfileResponseIdentity; } /** - * Requests for capacity for the pool. + * Information of user assigned identity used by this add-on. */ - export interface RequestsResponse { + export interface ManagedClusterAddonProfileResponseIdentity { /** - * Requested capacity of the pool in GiB. + * The client ID of the user assigned identity. */ - storage?: number; + clientId?: string; + /** + * The object ID of the user assigned identity. + */ + objectId?: string; + /** + * The resource ID of the user assigned identity. + */ + resourceId?: string; } + /** - * requestsResponseProvideDefaults sets the appropriate defaults for RequestsResponse + * Profile for the container service agent pool. */ - export function requestsResponseProvideDefaults(val: RequestsResponse): RequestsResponse { - return { - ...val, - storage: (val.storage) ?? 1024, - }; + export interface ManagedClusterAgentPoolProfileResponse { + /** + * The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + */ + availabilityZones?: string[]; + /** + * Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + */ + count?: number; + /** + * CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + */ + creationData?: outputs.containerservice.v20230801.CreationDataResponse; + /** + * If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + */ + currentOrchestratorVersion: string; + /** + * Whether to enable auto-scaler + */ + enableAutoScaling?: boolean; + /** + * This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + */ + enableEncryptionAtHost?: boolean; + /** + * See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + */ + enableFIPS?: boolean; + /** + * Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + */ + enableNodePublicIP?: boolean; + /** + * Whether to enable UltraSSD + */ + enableUltraSSD?: boolean; + /** + * GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + */ + gpuInstanceProfile?: string; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + */ + hostGroupID?: string; + /** + * The Kubelet configuration on the agent pool nodes. + */ + kubeletConfig?: outputs.containerservice.v20230801.KubeletConfigResponse; + /** + * Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + */ + kubeletDiskType?: string; + /** + * The OS configuration of Linux agent nodes. + */ + linuxOSConfig?: outputs.containerservice.v20230801.LinuxOSConfigResponse; + /** + * The maximum number of nodes for auto-scaling + */ + maxCount?: number; + /** + * The maximum number of pods that can run on a node. + */ + maxPods?: number; + /** + * The minimum number of nodes for auto-scaling + */ + minCount?: number; + /** + * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + */ + mode?: string; + /** + * Windows agent pool names must be 6 characters or less. + */ + name: string; + /** + * The version of node image + */ + nodeImageVersion: string; + /** + * The node labels to be persisted across all nodes in agent pool. + */ + nodeLabels?: {[key: string]: string}; + /** + * This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + */ + nodePublicIPPrefixID?: string; + /** + * The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + */ + nodeTaints?: string[]; + /** + * Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + */ + orchestratorVersion?: string; + /** + * OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + */ + osDiskSizeGB?: number; + /** + * The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + */ + osDiskType?: string; + /** + * Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + */ + osSKU?: string; + /** + * The operating system type. The default is Linux. + */ + osType?: string; + /** + * If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + podSubnetID?: string; + /** + * When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + */ + powerState?: outputs.containerservice.v20230801.PowerStateResponse; + /** + * The current deployment or provisioning state. + */ + provisioningState: string; + /** + * The ID for Proximity Placement Group. + */ + proximityPlacementGroupID?: string; + /** + * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + */ + scaleDownMode?: string; + /** + * This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + */ + scaleSetEvictionPolicy?: string; + /** + * The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + */ + scaleSetPriority?: string; + /** + * Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + */ + spotMaxPrice?: number; + /** + * The tags to be persisted on the agent pool virtual machine scale set. + */ + tags?: {[key: string]: string}; + /** + * The type of Agent Pool. + */ + type?: string; + /** + * Settings for upgrading the agentpool + */ + upgradeSettings?: outputs.containerservice.v20230801.AgentPoolUpgradeSettingsResponse; + /** + * VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + */ + vmSize?: string; + /** + * If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + */ + vnetSubnetID?: string; + /** + * Determines the type of workload a node can run. + */ + workloadRuntime?: string; } /** - * Status of the resource + * Auto upgrade profile for a managed cluster. */ - export interface ResourceOperationalStatusResponse { + export interface ManagedClusterAutoUpgradeProfileResponse { /** - * Reason for state. + * Manner in which the OS on your nodes is updated. The default is NodeImage. */ - message?: string; + nodeOSUpgradeChannel?: string; /** - * state of the resource + * For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ - state: string; + upgradeChannel?: string; } /** - * Resource Requests for the pool. + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. */ - export interface ResourcesResponse { + export interface ManagedClusterAzureMonitorProfileKubeStateMetricsResponse { /** - * Requests for capacity for the pool. + * Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. */ - requests?: outputs.containerstorage.v20230701preview.RequestsResponse; + metricAnnotationsAllowList?: string; + /** + * Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + */ + metricLabelsAllowlist?: string; } + /** - * resourcesResponseProvideDefaults sets the appropriate defaults for ResourcesResponse + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ - export function resourcesResponseProvideDefaults(val: ResourcesResponse): ResourcesResponse { - return { - ...val, - requests: (val.requests ? outputs.containerstorage.v20230701preview.requestsResponseProvideDefaults(val.requests) : undefined), - }; + export interface ManagedClusterAzureMonitorProfileMetricsResponse { + /** + * Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + */ + enabled: boolean; + /** + * Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + */ + kubeStateMetrics?: outputs.containerservice.v20230801.ManagedClusterAzureMonitorProfileKubeStateMetricsResponse; } /** - * Metadata pertaining to creation and last modification of the resource. + * Azure Monitor addon profiles for monitoring the managed cluster. */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; + export interface ManagedClusterAzureMonitorProfileResponse { /** - * The identity that created the resource. + * Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. */ - createdBy?: string; + metrics?: outputs.containerservice.v20230801.ManagedClusterAzureMonitorProfileMetricsResponse; + } + + /** + * Cluster HTTP proxy configuration. + */ + export interface ManagedClusterHTTPProxyConfigResponse { /** - * The type of identity that created the resource. + * The HTTP proxy server endpoint to use. */ - createdByType?: string; + httpProxy?: string; /** - * The timestamp of resource last modification (UTC) + * The HTTPS proxy server endpoint to use. */ - lastModifiedAt?: string; + httpsProxy?: string; /** - * The identity that last modified the resource. + * The endpoints that should not go through proxy. */ - lastModifiedBy?: string; + noProxy?: string[]; /** - * The type of identity that last modified the resource. + * Alternative CA cert to use for connecting to proxy servers. */ - lastModifiedByType?: string; + trustedCa?: string; } /** - * User assigned identity properties + * Identity for the managed cluster. */ - export interface UserAssignedIdentityResponse { + export interface ManagedClusterIdentityResponse { /** - * The client ID of the assigned identity. + * The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + */ + delegatedResources?: {[key: string]: outputs.containerservice.v20230801.DelegatedResourceResponse}; + /** + * The principal id of the system assigned identity which is used by master components. + */ + principalId: string; + /** + * The tenant id of the system assigned identity which is used by master components. + */ + tenantId: string; + /** + * For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + */ + type?: string; + /** + * The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.containerservice.v20230801.ManagedClusterIdentityResponseUserAssignedIdentities}; + } + + export interface ManagedClusterIdentityResponseUserAssignedIdentities { + /** + * The client id of user assigned identity. */ clientId: string; /** - * The principal ID of the assigned identity. + * The principal id of user assigned identity. */ principalId: string; } /** - * Properties of the volume + * Profile of the managed cluster load balancer. */ - export interface VolumeTypeResponse { + export interface ManagedClusterLoadBalancerProfileResponse { /** - * Properties of the ElasticSAN iSCSI target + * The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. */ - elasticSan: outputs.containerstorage.v20230701preview.ElasticSanVolumePropertiesResponse; + allocatedOutboundPorts?: number; + /** + * The effective outbound IP resources of the cluster load balancer. + */ + effectiveOutboundIPs?: outputs.containerservice.v20230801.ResourceReferenceResponse[]; + /** + * Enable multiple standard load balancers per AKS cluster or not. + */ + enableMultipleStandardLoadBalancers?: boolean; + /** + * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + */ + idleTimeoutInMinutes?: number; + /** + * Desired managed outbound IPs for the cluster load balancer. + */ + managedOutboundIPs?: outputs.containerservice.v20230801.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs; + /** + * Desired outbound IP Prefix resources for the cluster load balancer. + */ + outboundIPPrefixes?: outputs.containerservice.v20230801.ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes; + /** + * Desired outbound IP resources for the cluster load balancer. + */ + outboundIPs?: outputs.containerservice.v20230801.ManagedClusterLoadBalancerProfileResponseOutboundIPs; } - - } -} - -export namespace costmanagement { - /** - * The comparison expression to be used in the budgets. - */ - export interface BudgetComparisonExpressionResponse { /** - * The name of the column to use in comparison. + * managedClusterLoadBalancerProfileResponseProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileResponse */ - name: string; + export function managedClusterLoadBalancerProfileResponseProvideDefaults(val: ManagedClusterLoadBalancerProfileResponse): ManagedClusterLoadBalancerProfileResponse { + return { + ...val, + allocatedOutboundPorts: (val.allocatedOutboundPorts) ?? 0, + idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 30, + managedOutboundIPs: (val.managedOutboundIPs ? outputs.containerservice.v20230801.managedClusterLoadBalancerProfileResponseManagedOutboundIPsProvideDefaults(val.managedOutboundIPs) : undefined), + }; + } + /** - * The operator to use for comparison. + * Desired managed outbound IPs for the cluster load balancer. */ - operator: string; + export interface ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs { + /** + * The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + */ + count?: number; + /** + * The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + */ + countIPv6?: number; + } /** - * Array of values to use for comparison + * managedClusterLoadBalancerProfileResponseManagedOutboundIPsProvideDefaults sets the appropriate defaults for ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs */ - values: string[]; - } + export function managedClusterLoadBalancerProfileResponseManagedOutboundIPsProvideDefaults(val: ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs): ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs { + return { + ...val, + count: (val.count) ?? 1, + countIPv6: (val.countIPv6) ?? 0, + }; + } - /** - * The Dimensions or Tags to filter a budget by. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - export interface BudgetFilterPropertiesResponse { - /** - * Has comparison expression for a dimension. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported dimension names for **CategoryType: ReservationUtilization** - * - ReservationId - * - ReservedResourceType - */ - dimensions?: outputs.costmanagement.BudgetComparisonExpressionResponse; /** - * Has comparison expression for a tag. - * - * Supported for CategoryType(s): Cost. + * Desired outbound IP Prefix resources for the cluster load balancer. */ - tags?: outputs.costmanagement.BudgetComparisonExpressionResponse; - } + export interface ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes { + /** + * A list of public IP prefix resources. + */ + publicIPPrefixes?: outputs.containerservice.v20230801.ResourceReferenceResponse[]; + } - /** - * May be used to filter budgets by user-specified dimensions and/or tags. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - export interface BudgetFilterResponse { /** - * The logical "AND" expression. Must have at least 2 items. - * - * Supported for CategoryType(s): Cost. + * Desired outbound IP resources for the cluster load balancer. */ - and?: outputs.costmanagement.BudgetFilterPropertiesResponse[]; + export interface ManagedClusterLoadBalancerProfileResponseOutboundIPs { + /** + * A list of public IP resources. + */ + publicIPs?: outputs.containerservice.v20230801.ResourceReferenceResponse[]; + } + /** - * Has comparison expression for a dimension. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported dimension names for **CategoryType: ReservationUtilization** - * - ReservationId - * - ReservedResourceType + * Profile of the managed outbound IP resources of the managed cluster. */ - dimensions?: outputs.costmanagement.BudgetComparisonExpressionResponse; + export interface ManagedClusterManagedOutboundIPProfileResponse { + /** + * The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + */ + count?: number; + } /** - * Has comparison expression for a tag. - * - * Supported for CategoryType(s): Cost. + * managedClusterManagedOutboundIPProfileResponseProvideDefaults sets the appropriate defaults for ManagedClusterManagedOutboundIPProfileResponse */ - tags?: outputs.costmanagement.BudgetComparisonExpressionResponse; - } + export function managedClusterManagedOutboundIPProfileResponseProvideDefaults(val: ManagedClusterManagedOutboundIPProfileResponse): ManagedClusterManagedOutboundIPProfileResponse { + return { + ...val, + count: (val.count) ?? 1, + }; + } - /** - * The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Required for CategoryType(s): Cost, ReservationUtilization. - */ - export interface BudgetTimePeriodResponse { /** - * The end date for the budget. - * - * - Constraints for **CategoryType: Cost** - No constraints. If not provided, we default this to 10 years from the start date. - * - * - Constraints for **CategoryType: ReservationUtilization** - End date cannot be more than 3 years after the start date. + * Profile of the managed cluster NAT gateway. */ - endDate?: string; + export interface ManagedClusterNATGatewayProfileResponse { + /** + * The effective outbound IP resources of the cluster NAT gateway. + */ + effectiveOutboundIPs?: outputs.containerservice.v20230801.ResourceReferenceResponse[]; + /** + * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + */ + idleTimeoutInMinutes?: number; + /** + * Profile of the managed outbound IP resources of the cluster NAT gateway. + */ + managedOutboundIPProfile?: outputs.containerservice.v20230801.ManagedClusterManagedOutboundIPProfileResponse; + } /** - * The start date for the budget. - * - * - Constraints for **CategoryType: Cost** - Must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. - * - * - Constraints for **CategoryType: ReservationUtilization** - Must be on or after the current date and less than the end date. + * managedClusterNATGatewayProfileResponseProvideDefaults sets the appropriate defaults for ManagedClusterNATGatewayProfileResponse */ - startDate: string; - } + export function managedClusterNATGatewayProfileResponseProvideDefaults(val: ManagedClusterNATGatewayProfileResponse): ManagedClusterNATGatewayProfileResponse { + return { + ...val, + idleTimeoutInMinutes: (val.idleTimeoutInMinutes) ?? 4, + managedOutboundIPProfile: (val.managedOutboundIPProfile ? outputs.containerservice.v20230801.managedClusterManagedOutboundIPProfileResponseProvideDefaults(val.managedOutboundIPProfile) : undefined), + }; + } - /** - * The common properties of the export. - */ - export interface CommonExportPropertiesResponse { /** - * Has the definition for the export. + * The OIDC issuer profile of the Managed Cluster. */ - definition: outputs.costmanagement.ExportDefinitionResponse; + export interface ManagedClusterOIDCIssuerProfileResponse { + /** + * Whether the OIDC issuer is enabled. + */ + enabled?: boolean; + /** + * The OIDC issuer url of the Managed Cluster. + */ + issuerURL: string; + } + /** - * Has delivery information for the export. + * See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. */ - deliveryInfo: outputs.costmanagement.ExportDeliveryInfoResponse; + export interface ManagedClusterPodIdentityExceptionResponse { + /** + * The name of the pod identity exception. + */ + name: string; + /** + * The namespace of the pod identity exception. + */ + namespace: string; + /** + * The pod labels to match. + */ + podLabels: {[key: string]: string}; + } + /** - * The format of the export being delivered. Currently only 'Csv' is supported. + * See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. */ - format?: string; + export interface ManagedClusterPodIdentityProfileResponse { + /** + * Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + */ + allowNetworkPluginKubenet?: boolean; + /** + * Whether the pod identity addon is enabled. + */ + enabled?: boolean; + /** + * The pod identities to use in the cluster. + */ + userAssignedIdentities?: outputs.containerservice.v20230801.ManagedClusterPodIdentityResponse[]; + /** + * The pod identity exceptions to allow. + */ + userAssignedIdentityExceptions?: outputs.containerservice.v20230801.ManagedClusterPodIdentityExceptionResponse[]; + } + /** - * If the export has an active schedule, provides an estimate of the next run time. + * An error response from the pod identity provisioning. */ - nextRunTimeEstimate: string; + export interface ManagedClusterPodIdentityProvisioningErrorBodyResponse { + /** + * An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + */ + code?: string; + /** + * A list of additional details about the error. + */ + details?: outputs.containerservice.v20230801.ManagedClusterPodIdentityProvisioningErrorBodyResponse[]; + /** + * A message describing the error, intended to be suitable for display in a user interface. + */ + message?: string; + /** + * The target of the particular error. For example, the name of the property in error. + */ + target?: string; + } + /** - * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. + * An error response from the pod identity provisioning. */ - partitionData?: boolean; + export interface ManagedClusterPodIdentityProvisioningErrorResponse { + /** + * Details about the error. + */ + error?: outputs.containerservice.v20230801.ManagedClusterPodIdentityProvisioningErrorBodyResponse; + } + /** - * If requested, has the most recent run history for the export. + * Details about the pod identity assigned to the Managed Cluster. */ - runHistory?: outputs.costmanagement.ExportExecutionListResultResponse; - } + export interface ManagedClusterPodIdentityResponse { + /** + * The binding selector to use for the AzureIdentityBinding resource. + */ + bindingSelector?: string; + /** + * The user assigned identity details. + */ + identity: outputs.containerservice.v20230801.UserAssignedIdentityResponse; + /** + * The name of the pod identity. + */ + name: string; + /** + * The namespace of the pod identity. + */ + namespace: string; + provisioningInfo: outputs.containerservice.v20230801.ManagedClusterPodIdentityResponseProvisioningInfo; + /** + * The current provisioning state of the pod identity. + */ + provisioningState: string; + } + + export interface ManagedClusterPodIdentityResponseProvisioningInfo { + /** + * Pod identity assignment error (if any). + */ + error?: outputs.containerservice.v20230801.ManagedClusterPodIdentityProvisioningErrorResponse; + } - /** - * Details of any error encountered on last collection attempt - */ - export interface ConnectorCollectionErrorInfoResponse { /** - * Short error message + * Parameters to be applied to the cluster-autoscaler when enabled */ - errorCode: string; + export interface ManagedClusterPropertiesResponseAutoScalerProfile { + /** + * Valid values are 'true' and 'false' + */ + balanceSimilarNodeGroups?: string; + /** + * If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + */ + expander?: string; + /** + * The default is 10. + */ + maxEmptyBulkDelete?: string; + /** + * The default is 600. + */ + maxGracefulTerminationSec?: string; + /** + * The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + maxNodeProvisionTime?: string; + /** + * The default is 45. The maximum is 100 and the minimum is 0. + */ + maxTotalUnreadyPercentage?: string; + /** + * For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + */ + newPodScaleUpDelay?: string; + /** + * This must be an integer. The default is 3. + */ + okTotalUnreadyCount?: string; + /** + * The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownDelayAfterAdd?: string; + /** + * The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownDelayAfterDelete?: string; + /** + * The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownDelayAfterFailure?: string; + /** + * The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownUnneededTime?: string; + /** + * The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + */ + scaleDownUnreadyTime?: string; + /** + * The default is '0.5'. + */ + scaleDownUtilizationThreshold?: string; + /** + * The default is '10'. Values must be an integer number of seconds. + */ + scanInterval?: string; + /** + * The default is true. + */ + skipNodesWithLocalStorage?: string; + /** + * The default is true. + */ + skipNodesWithSystemPods?: string; + } + /** - * External Provider error message + * The SKU of a Managed Cluster. */ - errorInnerMessage?: string; + export interface ManagedClusterSKUResponse { + /** + * The name of a managed cluster SKU. + */ + name?: string; + /** + * If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + */ + tier?: string; + } + /** - * Detailed error message + * Microsoft Defender settings for the security profile. */ - errorMessage: string; + export interface ManagedClusterSecurityProfileDefenderResponse { + /** + * Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + */ + logAnalyticsWorkspaceResourceId?: string; + /** + * Microsoft Defender threat detection for Cloud settings for the security profile. + */ + securityMonitoring?: outputs.containerservice.v20230801.ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse; + } + /** - * Time the error started occurring (Last time error occurred in lastRun) + * Microsoft Defender settings for the security profile threat detection. */ - errorStartTime: string; - } + export interface ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse { + /** + * Whether to enable Defender threat detection + */ + enabled?: boolean; + } - /** - * Collection and ingestion information - */ - export interface ConnectorCollectionInfoResponse { /** - * Error information of last collection + * Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. */ - error?: outputs.costmanagement.ConnectorCollectionErrorInfoResponse; + export interface ManagedClusterSecurityProfileImageCleanerResponse { + /** + * Whether to enable Image Cleaner on AKS cluster. + */ + enabled?: boolean; + /** + * Image Cleaner scanning interval in hours. + */ + intervalHours?: number; + } + /** - * Last time the data acquisition process initiated connecting to the external provider + * Security profile for the container service cluster. */ - lastChecked?: string; + export interface ManagedClusterSecurityProfileResponse { + /** + * Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + */ + azureKeyVaultKms?: outputs.containerservice.v20230801.AzureKeyVaultKmsResponse; + /** + * Microsoft Defender settings for the security profile. + */ + defender?: outputs.containerservice.v20230801.ManagedClusterSecurityProfileDefenderResponse; + /** + * Image Cleaner settings for the security profile. + */ + imageCleaner?: outputs.containerservice.v20230801.ManagedClusterSecurityProfileImageCleanerResponse; + /** + * Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + */ + workloadIdentity?: outputs.containerservice.v20230801.ManagedClusterSecurityProfileWorkloadIdentityResponse; + } /** - * Last time the data acquisition process completed (even if no new data was found) + * managedClusterSecurityProfileResponseProvideDefaults sets the appropriate defaults for ManagedClusterSecurityProfileResponse */ - lastRun: string; + export function managedClusterSecurityProfileResponseProvideDefaults(val: ManagedClusterSecurityProfileResponse): ManagedClusterSecurityProfileResponse { + return { + ...val, + azureKeyVaultKms: (val.azureKeyVaultKms ? outputs.containerservice.v20230801.azureKeyVaultKmsResponseProvideDefaults(val.azureKeyVaultKms) : undefined), + }; + } + /** - * Last time the external data was updated into Azure + * Workload identity settings for the security profile. */ - lastUpdated: string; + export interface ManagedClusterSecurityProfileWorkloadIdentityResponse { + /** + * Whether to enable workload identity. + */ + enabled?: boolean; + } + /** - * Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp) + * Information about a service principal identity for the cluster to use for manipulating Azure APIs. */ - sourceLastUpdated: string; - } + export interface ManagedClusterServicePrincipalProfileResponse { + /** + * The ID for the service principal. + */ + clientId: string; + /** + * The secret password associated with the service principal in plain text. + */ + secret?: string; + } - /** - * Target resources and allocation - */ - export interface CostAllocationProportionResponse { /** - * Target resource for cost allocation + * AzureBlob CSI Driver settings for the storage profile. */ - name: string; + export interface ManagedClusterStorageProfileBlobCSIDriverResponse { + /** + * Whether to enable AzureBlob CSI Driver. The default value is false. + */ + enabled?: boolean; + } + /** - * Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00. + * AzureDisk CSI Driver settings for the storage profile. */ - percentage: number; - } + export interface ManagedClusterStorageProfileDiskCSIDriverResponse { + /** + * Whether to enable AzureDisk CSI Driver. The default value is true. + */ + enabled?: boolean; + } - /** - * Resource details of the cost allocation rule - */ - export interface CostAllocationRuleDetailsResponse { /** - * Source resources for cost allocation. At this time, this list can contain no more than one element. + * AzureFile CSI Driver settings for the storage profile. */ - sourceResources?: outputs.costmanagement.SourceCostAllocationResourceResponse[]; + export interface ManagedClusterStorageProfileFileCSIDriverResponse { + /** + * Whether to enable AzureFile CSI Driver. The default value is true. + */ + enabled?: boolean; + } + /** - * Target resources for cost allocation. At this time, this list can contain no more than one element. + * Storage profile for the container service cluster. */ - targetResources?: outputs.costmanagement.TargetCostAllocationResourceResponse[]; - } + export interface ManagedClusterStorageProfileResponse { + /** + * AzureBlob CSI Driver settings for the storage profile. + */ + blobCSIDriver?: outputs.containerservice.v20230801.ManagedClusterStorageProfileBlobCSIDriverResponse; + /** + * AzureDisk CSI Driver settings for the storage profile. + */ + diskCSIDriver?: outputs.containerservice.v20230801.ManagedClusterStorageProfileDiskCSIDriverResponse; + /** + * AzureFile CSI Driver settings for the storage profile. + */ + fileCSIDriver?: outputs.containerservice.v20230801.ManagedClusterStorageProfileFileCSIDriverResponse; + /** + * Snapshot Controller settings for the storage profile. + */ + snapshotController?: outputs.containerservice.v20230801.ManagedClusterStorageProfileSnapshotControllerResponse; + } - /** - * The properties of a cost allocation rule - */ - export interface CostAllocationRulePropertiesResponse { /** - * Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation. + * Snapshot Controller settings for the storage profile. */ - createdDate: string; + export interface ManagedClusterStorageProfileSnapshotControllerResponse { + /** + * Whether to enable Snapshot Controller. The default value is true. + */ + enabled?: boolean; + } + /** - * Description of a cost allocation rule. + * Profile for Windows VMs in the managed cluster. */ - description?: string; + export interface ManagedClusterWindowsProfileResponse { + /** + * Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + */ + adminPassword?: string; + /** + * Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + */ + adminUsername: string; + /** + * For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + */ + enableCSIProxy?: boolean; + /** + * The Windows gMSA Profile in the Managed Cluster. + */ + gmsaProfile?: outputs.containerservice.v20230801.WindowsGmsaProfileResponse; + /** + * The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + */ + licenseType?: string; + } + /** - * Resource information for the cost allocation rule + * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ - details: outputs.costmanagement.CostAllocationRuleDetailsResponse; + export interface ManagedClusterWorkloadAutoScalerProfileKedaResponse { + /** + * Whether to enable KEDA. + */ + enabled: boolean; + } + /** - * Status of the rule + * Workload Auto-scaler profile for the managed cluster. */ - status: string; + export interface ManagedClusterWorkloadAutoScalerProfileResponse { + /** + * KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + */ + keda?: outputs.containerservice.v20230801.ManagedClusterWorkloadAutoScalerProfileKedaResponse; + /** + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + */ + verticalPodAutoscaler?: outputs.containerservice.v20230801.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse; + } /** - * Time at which the rule was last updated. + * managedClusterWorkloadAutoScalerProfileResponseProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileResponse */ - updatedDate: string; - } + export function managedClusterWorkloadAutoScalerProfileResponseProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileResponse): ManagedClusterWorkloadAutoScalerProfileResponse { + return { + ...val, + verticalPodAutoscaler: (val.verticalPodAutoscaler ? outputs.containerservice.v20230801.managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponseProvideDefaults(val.verticalPodAutoscaler) : undefined), + }; + } - /** - * The current amount of cost which is being tracked for a budget. - * - * Supported for CategoryType(s): Cost. - */ - export interface CurrentSpendResponse { /** - * The total amount of cost which is being tracked by the budget. + * VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. */ - amount: number; + export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse { + /** + * Whether to enable VPA. Default value is false. + */ + enabled: boolean; + } /** - * The unit of measure for the budget amount. + * managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponseProvideDefaults sets the appropriate defaults for ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse */ - unit: string; - } + export function managedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponseProvideDefaults(val: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse): ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse { + return { + ...val, + enabled: (val.enabled) ?? false, + }; + } - /** - * The customer billing metadata - */ - export interface CustomerMetadataResponse { /** - * Customer billing account id + * Describes the Power State of the cluster */ - billingAccountId: string; + export interface PowerStateResponse { + /** + * Tells whether the cluster is Running or Stopped + */ + code?: string; + } + /** - * Customer billing profile id + * Private endpoint which a connection belongs to. */ - billingProfileId: string; - } + export interface PrivateEndpointResponse { + /** + * The resource ID of the private endpoint + */ + id?: string; + } - /** - * The details of the error. - */ - export interface ErrorDetailsResponse { /** - * Error code. + * A private link resource */ - code: string; + export interface PrivateLinkResourceResponse { + /** + * The group ID of the resource. + */ + groupId?: string; + /** + * The ID of the private link resource. + */ + id?: string; + /** + * The name of the private link resource. + */ + name?: string; + /** + * The private link service ID of the resource, this field is exposed only to NRP internally. + */ + privateLinkServiceID: string; + /** + * The RequiredMembers of the resource + */ + requiredMembers?: string[]; + /** + * The resource type. + */ + type?: string; + } + /** - * Error message indicating why the operation failed. + * The state of a private link service connection. */ - message: string; - } + export interface PrivateLinkServiceConnectionStateResponse { + /** + * The private link service connection description. + */ + description?: string; + /** + * The private link service connection status. + */ + status?: string; + } - /** - * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. - */ - export interface ExportDatasetConfigurationResponse { /** - * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). + * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. */ - columns?: string[]; - } + export interface RelativeMonthlyScheduleResponse { + /** + * Specifies on which day of the week the maintenance occurs. + */ + dayOfWeek: string; + /** + * Specifies the number of months between each set of occurrences. + */ + intervalMonths: number; + /** + * Specifies on which week of the month the dayOfWeek applies. + */ + weekIndex: string; + } - /** - * The definition for data in the export. - */ - export interface ExportDatasetResponse { /** - * The export dataset configuration. + * A reference to an Azure resource. */ - configuration?: outputs.costmanagement.ExportDatasetConfigurationResponse; + export interface ResourceReferenceResponse { + /** + * The fully qualified Azure resource id. + */ + id?: string; + } + /** - * The granularity of rows in the export. Currently only 'Daily' is supported. + * One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. */ - granularity?: string; - } + export interface ScheduleResponse { + /** + * For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + */ + absoluteMonthly?: outputs.containerservice.v20230801.AbsoluteMonthlyScheduleResponse; + /** + * For schedules like: 'recur every day' or 'recur every 3 days'. + */ + daily?: outputs.containerservice.v20230801.DailyScheduleResponse; + /** + * For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + */ + relativeMonthly?: outputs.containerservice.v20230801.RelativeMonthlyScheduleResponse; + /** + * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + */ + weekly?: outputs.containerservice.v20230801.WeeklyScheduleResponse; + } - /** - * The definition of an export. - */ - export interface ExportDefinitionResponse { /** - * The definition for data in the export. + * Service mesh profile for a managed cluster. */ - dataSet?: outputs.costmanagement.ExportDatasetResponse; + export interface ServiceMeshProfileResponse { + /** + * Istio service mesh configuration. + */ + istio?: outputs.containerservice.v20230801.IstioServiceMeshResponse; + /** + * Mode of the service mesh. + */ + mode: string; + } + /** - * Has time period for pulling data for the export. + * Sysctl settings for Linux agent nodes. */ - timePeriod?: outputs.costmanagement.ExportTimePeriodResponse; + export interface SysctlConfigResponse { + /** + * Sysctl setting fs.aio-max-nr. + */ + fsAioMaxNr?: number; + /** + * Sysctl setting fs.file-max. + */ + fsFileMax?: number; + /** + * Sysctl setting fs.inotify.max_user_watches. + */ + fsInotifyMaxUserWatches?: number; + /** + * Sysctl setting fs.nr_open. + */ + fsNrOpen?: number; + /** + * Sysctl setting kernel.threads-max. + */ + kernelThreadsMax?: number; + /** + * Sysctl setting net.core.netdev_max_backlog. + */ + netCoreNetdevMaxBacklog?: number; + /** + * Sysctl setting net.core.optmem_max. + */ + netCoreOptmemMax?: number; + /** + * Sysctl setting net.core.rmem_default. + */ + netCoreRmemDefault?: number; + /** + * Sysctl setting net.core.rmem_max. + */ + netCoreRmemMax?: number; + /** + * Sysctl setting net.core.somaxconn. + */ + netCoreSomaxconn?: number; + /** + * Sysctl setting net.core.wmem_default. + */ + netCoreWmemDefault?: number; + /** + * Sysctl setting net.core.wmem_max. + */ + netCoreWmemMax?: number; + /** + * Sysctl setting net.ipv4.ip_local_port_range. + */ + netIpv4IpLocalPortRange?: string; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh1. + */ + netIpv4NeighDefaultGcThresh1?: number; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh2. + */ + netIpv4NeighDefaultGcThresh2?: number; + /** + * Sysctl setting net.ipv4.neigh.default.gc_thresh3. + */ + netIpv4NeighDefaultGcThresh3?: number; + /** + * Sysctl setting net.ipv4.tcp_fin_timeout. + */ + netIpv4TcpFinTimeout?: number; + /** + * Sysctl setting net.ipv4.tcp_keepalive_probes. + */ + netIpv4TcpKeepaliveProbes?: number; + /** + * Sysctl setting net.ipv4.tcp_keepalive_time. + */ + netIpv4TcpKeepaliveTime?: number; + /** + * Sysctl setting net.ipv4.tcp_max_syn_backlog. + */ + netIpv4TcpMaxSynBacklog?: number; + /** + * Sysctl setting net.ipv4.tcp_max_tw_buckets. + */ + netIpv4TcpMaxTwBuckets?: number; + /** + * Sysctl setting net.ipv4.tcp_tw_reuse. + */ + netIpv4TcpTwReuse?: boolean; + /** + * Sysctl setting net.ipv4.tcp_keepalive_intvl. + */ + netIpv4TcpkeepaliveIntvl?: number; + /** + * Sysctl setting net.netfilter.nf_conntrack_buckets. + */ + netNetfilterNfConntrackBuckets?: number; + /** + * Sysctl setting net.netfilter.nf_conntrack_max. + */ + netNetfilterNfConntrackMax?: number; + /** + * Sysctl setting vm.max_map_count. + */ + vmMaxMapCount?: number; + /** + * Sysctl setting vm.swappiness. + */ + vmSwappiness?: number; + /** + * Sysctl setting vm.vfs_cache_pressure. + */ + vmVfsCachePressure?: number; + } + /** - * The time frame for pulling data for the export. If custom, then a specific time period must be provided. + * Metadata pertaining to creation and last modification of the resource. */ - timeframe: string; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. + * Time in a week. */ - type: string; - } + export interface TimeInWeekResponse { + /** + * The day of the week. + */ + day?: string; + /** + * Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + */ + hourSlots?: number[]; + } - /** - * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). - */ - export interface ExportDeliveryDestinationResponse { /** - * The name of the container where exports will be uploaded. If the container does not exist it will be created. + * For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. */ - container: string; + export interface TimeSpanResponse { + /** + * The end of a time span + */ + end?: string; + /** + * The start of a time span + */ + start?: string; + } + /** - * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. + * Settings for overrides when upgrading a cluster. */ - resourceId?: string; + export interface UpgradeOverrideSettingsResponse { + /** + * Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + */ + forceUpgrade?: boolean; + /** + * Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + */ + until?: string; + } + /** - * The name of the directory where exports will be uploaded. + * Details about a user assigned identity. */ - rootFolderPath?: string; + export interface UserAssignedIdentityResponse { + /** + * The client ID of the user assigned identity. + */ + clientId?: string; + /** + * The object ID of the user assigned identity. + */ + objectId?: string; + /** + * The resource ID of the user assigned identity. + */ + resourceId?: string; + } + /** - * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. + * For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. */ - sasToken?: string; + export interface WeeklyScheduleResponse { + /** + * Specifies on which day of the week the maintenance occurs. + */ + dayOfWeek: string; + /** + * Specifies the number of weeks between each set of occurrences. + */ + intervalWeeks: number; + } + /** - * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. + * Windows gMSA Profile in the managed cluster. */ - storageAccount?: string; + export interface WindowsGmsaProfileResponse { + /** + * Specifies the DNS server for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + */ + dnsServer?: string; + /** + * Specifies whether to enable Windows gMSA in the managed cluster. + */ + enabled?: boolean; + /** + * Specifies the root domain name for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + */ + rootDomainName?: string; + } + } - /** - * The delivery information associated with a export. - */ - export interface ExportDeliveryInfoResponse { + export namespace v20230815preview { /** - * Has destination for the export being delivered. + * Access profile for the Fleet hub API server. */ - destination: outputs.costmanagement.ExportDeliveryDestinationResponse; - } - - /** - * Result of listing the run history of an export. - */ - export interface ExportExecutionListResultResponse { - /** - * A list of export runs. - */ - value: outputs.costmanagement.ExportRunResponse[]; - } + export interface APIServerAccessProfileResponse { + /** + * Whether to create the Fleet hub as a private cluster or not. + */ + enablePrivateCluster?: boolean; + /** + * Whether to enable apiserver vnet integration for the Fleet hub or not. + */ + enableVnetIntegration?: boolean; + /** + * The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + */ + subnetId?: string; + } - /** - * The start and end date for recurrence schedule. - */ - export interface ExportRecurrencePeriodResponse { - /** - * The start date of recurrence. - */ - from: string; /** - * The end date of recurrence. + * Agent profile for the Fleet hub. */ - to?: string; - } + export interface AgentProfileResponse { + /** + * The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + */ + subnetId?: string; + /** + * The virtual machine size of the Fleet hub. + */ + vmSize?: string; + } - /** - * An export run. - */ - export interface ExportRunResponse { - /** - * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. - */ - eTag?: string; - /** - * The details of any error. - */ - error?: outputs.costmanagement.ErrorDetailsResponse; - /** - * The type of the export run. - */ - executionType?: string; - /** - * The name of the exported file. - */ - fileName?: string; /** - * Resource Id. - */ - id: string; - /** - * Resource name. - */ - name: string; - /** - * The time when the export run finished. - */ - processingEndTime?: string; - /** - * The time when export was picked up to be run. - */ - processingStartTime?: string; - /** - * The export settings that were in effect for this run. - */ - runSettings?: outputs.costmanagement.CommonExportPropertiesResponse; - /** - * The last known status of the export run. - */ - status?: string; - /** - * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. - */ - submittedBy?: string; - /** - * The time when export was queued to be run. - */ - submittedTime?: string; - /** - * Resource type. + * The resource management error additional info. */ - type: string; - } + export interface ErrorAdditionalInfoResponse { + /** + * The additional info. + */ + info: any; + /** + * The additional info type. + */ + type: string; + } - /** - * The schedule associated with the export. - */ - export interface ExportScheduleResponse { - /** - * The schedule recurrence. - */ - recurrence?: string; - /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. - */ - recurrencePeriod?: outputs.costmanagement.ExportRecurrencePeriodResponse; /** - * The status of the export's schedule. If 'Inactive', the export's schedule is paused. + * The error detail. */ - status?: string; - } + export interface ErrorDetailResponse { + /** + * The error additional info. + */ + additionalInfo: outputs.containerservice.v20230815preview.ErrorAdditionalInfoResponse[]; + /** + * The error code. + */ + code: string; + /** + * The error details. + */ + details: outputs.containerservice.v20230815preview.ErrorDetailResponse[]; + /** + * The error message. + */ + message: string; + /** + * The error target. + */ + target: string; + } - /** - * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. - */ - export interface ExportTimePeriodResponse { - /** - * The start date for export data. - */ - from: string; /** - * The end date for export data. + * One credential result item. */ - to: string; - } + export interface FleetCredentialResultResponse { + /** + * The name of the credential. + */ + name: string; + /** + * Base64-encoded Kubernetes configuration file. + */ + value: string; + } - /** - * Destination of the view data. This is optional. Currently only CSV format is supported. - */ - export interface FileDestinationResponse { /** - * Destination of the view data. Currently only CSV format is supported. + * The FleetHubProfile configures the fleet hub. */ - fileFormats?: string[]; - } + export interface FleetHubProfileResponse { + /** + * The agent profile for the Fleet hub. + */ + agentProfile?: outputs.containerservice.v20230815preview.AgentProfileResponse; + /** + * The access profile for the Fleet hub API server. + */ + apiServerAccessProfile?: outputs.containerservice.v20230815preview.APIServerAccessProfileResponse; + /** + * DNS prefix used to create the FQDN for the Fleet hub. + */ + dnsPrefix?: string; + /** + * The FQDN of the Fleet hub. + */ + fqdn: string; + /** + * The Kubernetes version of the Fleet hub. + */ + kubernetesVersion: string; + /** + * The Azure Portal FQDN of the Fleet hub. + */ + portalFqdn: string; + } - /** - * The forecasted cost which is being tracked for a budget. - * - * Supported for CategoryType(s): Cost. - */ - export interface ForecastSpendResponse { - /** - * The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type. - */ - amount: number; /** - * The unit of measure for the budget amount. + * The update to be applied to the ManagedClusters. */ - unit: string; - } + export interface ManagedClusterUpdateResponse { + /** + * The node image upgrade to be applied to the target nodes in update run. + */ + nodeImageSelection?: outputs.containerservice.v20230815preview.NodeImageSelectionResponse; + /** + * The upgrade to apply to the ManagedClusters. + */ + upgrade: outputs.containerservice.v20230815preview.ManagedClusterUpgradeSpecResponse; + } - /** - * Each KPI must contain a 'type' and 'enabled' key. - */ - export interface KpiPropertiesResponse { /** - * show the KPI in the UI? - */ - enabled?: boolean; - /** - * ID of resource related to metric (budget). - */ - id?: string; - /** - * KPI type (Forecast, Budget). + * The upgrade to apply to a ManagedCluster. */ - type?: string; - } + export interface ManagedClusterUpgradeSpecResponse { + /** + * The Kubernetes version to upgrade the member clusters to. + */ + kubernetesVersion?: string; + /** + * The upgrade type. + * Full requires the KubernetesVersion property to be set. + * NodeImageOnly requires the KubernetesVersion property not to be set. + */ + type: string; + } - /** - * The properties of the scheduled action notification. - */ - export interface NotificationPropertiesResponse { - /** - * Locale of the email. - */ - language?: string; /** - * Optional message to be added in the email. Length is limited to 250 characters. - */ - message?: string; - /** - * Regional format used for formatting date/time and currency values in the email. - */ - regionalFormat?: string; - /** - * Subject of the email. Length is limited to 70 characters. + * Managed service identity (system assigned and/or user assigned identities) */ - subject: string; + export interface ManagedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.containerservice.v20230815preview.UserAssignedIdentityResponse}; + } + /** - * Array of email addresses. + * The status of a member update operation. */ - to: string[]; - } + export interface MemberUpdateStatusResponse { + /** + * The Azure resource id of the target Kubernetes cluster. + */ + clusterResourceId: string; + /** + * The status message after processing the member update operation. + */ + message: string; + /** + * The name of the FleetMember. + */ + name: string; + /** + * The operation resource id of the latest attempt to perform the operation. + */ + operationId: string; + /** + * The status of the MemberUpdate operation. + */ + status: outputs.containerservice.v20230815preview.UpdateStatusResponse; + } - /** - * The notification associated with a budget. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - export interface NotificationResponse { /** - * Email addresses to send the notification to when the threshold is breached. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * The node image upgrade to be applied to the target nodes in update run. */ - contactEmails: string[]; + export interface NodeImageSelectionResponse { + /** + * The node image upgrade type. + */ + type: string; + } + /** - * Subscription or Resource Group scopes only. Action groups to send the notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. - * - * Supported for CategoryType(s): Cost. + * The node image upgrade specs for the update run. */ - contactGroups?: string[]; + export interface NodeImageSelectionStatusResponse { + /** + * The image versions to upgrade the nodes to. + */ + selectedNodeImageVersions: outputs.containerservice.v20230815preview.NodeImageVersionResponse[]; + } + /** - * Subscription or Resource Group scopes only. Contact roles to send the notification to when the threshold is breached. - * - * Supported for CategoryType(s): Cost. + * The node upgrade image version. */ - contactRoles?: string[]; + export interface NodeImageVersionResponse { + /** + * The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13'). + */ + version: string; + } + /** - * The notification is enabled or not. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * Metadata pertaining to creation and last modification of the resource. */ - enabled: boolean; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). - * - * Supported for CategoryType(s): ReservationUtilization. + * A group to be updated. */ - frequency?: string; + export interface UpdateGroupResponse { + /** + * Name of the group. + * It must match a group name of an existing fleet member. + */ + name: string; + } + /** - * Language in which the recipient will receive the notification, - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * The status of a UpdateGroup. */ - locale?: string; + export interface UpdateGroupStatusResponse { + /** + * The list of member this UpdateGroup updates. + */ + members: outputs.containerservice.v20230815preview.MemberUpdateStatusResponse[]; + /** + * The name of the UpdateGroup. + */ + name: string; + /** + * The status of the UpdateGroup. + */ + status: outputs.containerservice.v20230815preview.UpdateStatusResponse; + } + /** - * The comparison operator. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported operators for **CategoryType: Cost** - * - GreaterThan - * - GreaterThanOrEqualTo - * - * Supported operators for **CategoryType: ReservationUtilization** - * - LessThan + * The status of a UpdateRun. */ - operator: string; + export interface UpdateRunStatusResponse { + /** + * The node image upgrade specs for the update run. It is only set in update run when `NodeImageSelection.type` is `Consistent`. + */ + nodeImageSelection: outputs.containerservice.v20230815preview.NodeImageSelectionStatusResponse; + /** + * The stages composing an update run. Stages are run sequentially withing an UpdateRun. + */ + stages: outputs.containerservice.v20230815preview.UpdateStageStatusResponse[]; + /** + * The status of the UpdateRun. + */ + status: outputs.containerservice.v20230815preview.UpdateStatusResponse; + } + /** - * Threshold value associated with a notification. It is always percent with a maximum of 2 decimal places. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * Defines the update sequence of the clusters via stages and groups. * - * **CategoryType: Cost** - Must be between 0 and 1000. Notification is sent when the cost exceeded the threshold. + * Stages within a run are executed sequentially one after another. + * Groups within a stage are executed in parallel. + * Member clusters within a group are updated sequentially one after another. * - * **CategoryType: ReservationUtilization** - Must be between 0 and 100. Notification is sent when a reservation has a utilization percentage below the threshold. + * A valid strategy contains no duplicate groups within or across stages. */ - threshold: number; + export interface UpdateRunStrategyResponse { + /** + * The list of stages that compose this update run. Min size: 1. + */ + stages: outputs.containerservice.v20230815preview.UpdateStageResponse[]; + } + /** - * The type of threshold. - * - * Supported for CategoryType(s): Cost. + * Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. */ - thresholdType?: string; - } - /** - * notificationResponseProvideDefaults sets the appropriate defaults for NotificationResponse - */ - export function notificationResponseProvideDefaults(val: NotificationResponse): NotificationResponse { - return { - ...val, - thresholdType: (val.thresholdType) ?? "Actual", - }; - } + export interface UpdateStageResponse { + /** + * The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + */ + afterStageWaitInSeconds?: number; + /** + * Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + */ + groups?: outputs.containerservice.v20230815preview.UpdateGroupResponse[]; + /** + * The name of the stage. Must be unique within the UpdateRun. + */ + name: string; + } - /** - * Each pivot must contain a 'type' and 'name'. - */ - export interface PivotPropertiesResponse { /** - * Data field to show in view. + * The status of a UpdateStage. */ - name?: string; + export interface UpdateStageStatusResponse { + /** + * The status of the wait period configured on the UpdateStage. + */ + afterStageWaitStatus: outputs.containerservice.v20230815preview.WaitStatusResponse; + /** + * The list of groups to be updated as part of this UpdateStage. + */ + groups: outputs.containerservice.v20230815preview.UpdateGroupStatusResponse[]; + /** + * The name of the UpdateStage. + */ + name: string; + /** + * The status of the UpdateStage. + */ + status: outputs.containerservice.v20230815preview.UpdateStatusResponse; + } + /** - * Data type to show in view. + * The status for an operation or group of operations. */ - type?: string; - } + export interface UpdateStatusResponse { + /** + * The time the operation or group was completed. + */ + completedTime: string; + /** + * The error details when a failure is encountered. + */ + error: outputs.containerservice.v20230815preview.ErrorDetailResponse; + /** + * The time the operation or group was started. + */ + startTime: string; + /** + * The State of the operation or group. + */ + state: string; + } - /** - * The aggregation expression to be used in the report. - */ - export interface ReportAggregationResponse { /** - * The name of the aggregation function to use. + * User assigned identity properties */ - function: string; + export interface UserAssignedIdentityResponse { + /** + * The client ID of the assigned identity. + */ + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + /** - * The name of the column to aggregate. + * The status of the wait duration. */ - name: string; + export interface WaitStatusResponse { + /** + * The status of the wait duration. + */ + status: outputs.containerservice.v20230815preview.UpdateStatusResponse; + /** + * The wait duration configured in seconds. + */ + waitDurationInSeconds: number; + } + } +} +export namespace containerstorage { /** - * The comparison expression to be used in the report. + * Assignment Properties */ - export interface ReportComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; + export interface AssignmentResponse { /** - * The operator to use for comparison. + * Resource id for the assigned resource */ - operator: string; + id: string; /** - * Array of values to use for comparison + * Indicates if the assignment is in a usable state */ - values: string[]; + status: outputs.containerstorage.AssignmentStatusResponse; } /** - * The aggregation expression to be used in the report. + * Status of the assignment resource */ - export interface ReportConfigAggregationResponse { + export interface AssignmentStatusResponse { /** - * The name of the aggregation function to use. + * Reason for the status */ - function: string; + message?: string; /** - * The name of the column to aggregate. + * State of the assignment resource */ - name: string; + state: string; } /** - * The comparison expression to be used in the report. + * Azure Disk Pool Properties */ - export interface ReportConfigComparisonExpressionResponse { + export interface AzureDiskResponse { /** - * The name of the column to use in comparison. + * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). */ - name: string; + disks?: outputs.containerstorage.DiskResponse[]; /** - * The operator to use for comparison. + * Encryption specifies the encryption configuration for the Azure Disk pool */ - operator: string; + encryption?: outputs.containerstorage.EncryptionResponse; /** - * Array of values to use for comparison + * Managed resource group for the pool. */ - values: string[]; - } - - /** - * The configuration of dataset in the report. - */ - export interface ReportConfigDatasetConfigurationResponse { + resourceGroup: string; /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + * Sku name */ - columns?: string[]; + skuName?: string; } /** - * The definition of data present in the report. + * Model for disk for that pool is using */ - export interface ReportConfigDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.ReportConfigAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.ReportConfigDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.ReportConfigFilterResponse; - /** - * The granularity of rows in the report. - */ - granularity?: string; + export interface DiskResponse { /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + * ID is the disk identifier visible to the OS. It is typically the WWN or disk ID in formats such as eui.e8238fa6bf530001001b448b45263379 or 0x5002cf6cbc5dd460 */ - grouping?: outputs.costmanagement.ReportConfigGroupingResponse[]; + id: string; /** - * Array of order by expression to use in the report. + * Reference is the location of the disk in an external system. */ - sorting?: outputs.costmanagement.ReportConfigSortingResponse[]; + reference: string; } /** - * The filter expression to be used in the report. + * Elastic San Pool Properties */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.ReportConfigFilterResponse[]; + export interface ElasticSanResponse { /** - * Has comparison expression for a dimension + * Encryption specifies the encryption configuration for the Azure Disk pool */ - dimensions?: outputs.costmanagement.ReportConfigComparisonExpressionResponse; + encryption?: outputs.containerstorage.EncryptionResponse; /** - * The logical "OR" expression. Must have at least 2 items. + * Managed resource group for the pool. */ - or?: outputs.costmanagement.ReportConfigFilterResponse[]; + resourceGroup: string; /** - * Has comparison expression for a tag + * Sku name */ - tags?: outputs.costmanagement.ReportConfigComparisonExpressionResponse; + skuName?: string; } /** - * The group by expression to be used in the report. + * Properties of the ElasticSAN iSCSI target */ - export interface ReportConfigGroupingResponse { - /** - * The name of the column to group. This version supports subscription lowest possible grain. - */ - name: string; + export interface ElasticSanVolumePropertiesResponse { /** - * Has type of the column to group. + * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server" */ - type: string; - } - - /** - * The order by expression to be used in the report. - */ - export interface ReportConfigSortingResponse { + targetIqn: string; /** - * Direction of sort. + * iSCSI Target Portal Host Name */ - direction?: string; + targetPortalHostname: string; /** - * The name of the column to sort. + * iSCSI Target Portal Port */ - name: string; + targetPortalPort: number; } /** - * The start and end date for pulling data for the report. + * Encryption key properties for the pool. */ - export interface ReportConfigTimePeriodResponse { + export interface EncryptionResponse { /** - * The start date to pull data from. + * The managed service identities assigned to this resource. */ - from: string; + identity?: outputs.containerstorage.ManagedServiceIdentityResponse; /** - * The end date to pull data to. + * The name of the key vault key. */ - to: string; - } - - /** - * The configuration of dataset in the report. - */ - export interface ReportDatasetConfigurationResponse { + keyName: string; /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + * The URI of the key vault. */ - columns?: string[]; + keyVaultUri: string; } /** - * The definition of data present in the report. + * Ephemeral Disk Pool Properties */ - export interface ReportDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.ReportAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.ReportDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.ReportFilterResponse; + export interface EphemeralDiskResponse { /** - * The granularity of rows in the report. + * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). */ - granularity?: string; + disks?: outputs.containerstorage.DiskResponse[]; /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + * The number of data copies. Default 3. */ - grouping?: outputs.costmanagement.ReportGroupingResponse[]; + replicas?: number; } - /** - * The definition of a report. + * ephemeralDiskResponseProvideDefaults sets the appropriate defaults for EphemeralDiskResponse */ - export interface ReportDefinitionResponse { - /** - * Has definition for data in this report. - */ - dataset?: outputs.costmanagement.ReportDatasetResponse; - /** - * Has time period for pulling data for the report. - */ - timePeriod?: outputs.costmanagement.ReportTimePeriodResponse; - /** - * The time frame for pulling data for the report. If custom, then a specific time period must be provided. - */ - timeframe: string; - /** - * The type of the report. - */ - type: string; + export function ephemeralDiskResponseProvideDefaults(val: EphemeralDiskResponse): EphemeralDiskResponse { + return { + ...val, + replicas: (val.replicas) ?? 3, + }; } /** - * The destination information for the delivery of the report. + * Managed service identity (system assigned and/or user assigned identities) */ - export interface ReportDeliveryDestinationResponse { + export interface ManagedServiceIdentityResponse { /** - * The name of the container where reports will be uploaded. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - container: string; + principalId: string; /** - * The resource id of the storage account where reports will be delivered. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - resourceId: string; + tenantId: string; /** - * The name of the directory where reports will be uploaded. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - rootFolderPath?: string; - } - - /** - * The delivery information associated with a report. - */ - export interface ReportDeliveryInfoResponse { + type: string; /** - * Has destination for the report being delivered. + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - destination: outputs.costmanagement.ReportDeliveryDestinationResponse; + userAssignedIdentities?: {[key: string]: outputs.containerstorage.UserAssignedIdentityResponse}; } /** - * The filter expression to be used in the report. + * Type of the Pool: ephemeralDisk, azureDisk, or elasticsan */ - export interface ReportFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.ReportFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimension?: outputs.costmanagement.ReportComparisonExpressionResponse; + export interface PoolTypeResponse { /** - * The logical "NOT" expression. + * Disk Pool Properties */ - not?: outputs.costmanagement.ReportFilterResponse; + azureDisk?: outputs.containerstorage.AzureDiskResponse; /** - * The logical "OR" expression. Must have at least 2 items. + * Elastic San Pool Properties */ - or?: outputs.costmanagement.ReportFilterResponse[]; + elasticSan?: outputs.containerstorage.ElasticSanResponse; /** - * Has comparison expression for a tag + * Ephemeral Pool Properties */ - tag?: outputs.costmanagement.ReportComparisonExpressionResponse; + ephemeralDisk?: outputs.containerstorage.EphemeralDiskResponse; } - /** - * The group by expression to be used in the report. + * poolTypeResponseProvideDefaults sets the appropriate defaults for PoolTypeResponse */ - export interface ReportGroupingResponse { - /** - * The name of the column to group. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; + export function poolTypeResponseProvideDefaults(val: PoolTypeResponse): PoolTypeResponse { + return { + ...val, + ephemeralDisk: (val.ephemeralDisk ? outputs.containerstorage.ephemeralDiskResponseProvideDefaults(val.ephemeralDisk) : undefined), + }; } /** - * The start and end date for recurrence schedule. + * Requests for capacity for the pool. */ - export interface ReportRecurrencePeriodResponse { - /** - * The start date of recurrence. - */ - from: string; + export interface RequestsResponse { /** - * The end date of recurrence. + * Requested capacity of the pool in GiB. */ - to?: string; + storage?: number; } - /** - * The schedule associated with a report. + * requestsResponseProvideDefaults sets the appropriate defaults for RequestsResponse */ - export interface ReportScheduleResponse { - /** - * The schedule recurrence. - */ - recurrence: string; - /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. - */ - recurrencePeriod?: outputs.costmanagement.ReportRecurrencePeriodResponse; - /** - * The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused. - */ - status?: string; + export function requestsResponseProvideDefaults(val: RequestsResponse): RequestsResponse { + return { + ...val, + storage: (val.storage) ?? 1024, + }; } /** - * The start and end date for pulling data for the report. + * Status of the resource */ - export interface ReportTimePeriodResponse { + export interface ResourceOperationalStatusResponse { /** - * The start date to pull data from. + * Reason for state. */ - from: string; + message?: string; /** - * The end date to pull data to. + * state of the resource */ - to: string; + state: string; } /** - * The properties of the schedule. + * Resource Requests for the pool. */ - export interface SchedulePropertiesResponse { - /** - * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. - */ - dayOfMonth?: number; - /** - * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. - */ - daysOfWeek?: string[]; - /** - * The end date and time of the scheduled action (UTC). - */ - endDate: string; - /** - * Frequency of the schedule. - */ - frequency: string; - /** - * UTC time at which cost analysis data will be emailed. - */ - hourOfDay?: number; - /** - * The start date and time of the scheduled action (UTC). - */ - startDate: string; - /** - * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. - */ - weeksOfMonth?: string[]; - } - - export interface SettingsPropertiesResponseCache { - /** - * Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown. - */ - channel: string; - /** - * Resource ID used by Resource Manager to uniquely identify the scope. - */ - id: string; - /** - * Display name for the scope. - */ - name: string; - /** - * Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription. - */ - parent?: string; - /** - * Indicates the status of the scope. Status only applies to subscriptions and billing accounts. - */ - status?: string; + export interface ResourcesResponse { /** - * Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable + * Requests for capacity for the pool. */ - subchannel: string; + requests?: outputs.containerstorage.RequestsResponse; } - /** - * Source resources for cost allocation + * resourcesResponseProvideDefaults sets the appropriate defaults for ResourcesResponse */ - export interface SourceCostAllocationResourceResponse { - /** - * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag - */ - name: string; - /** - * Type of resources contained in this cost allocation rule - */ - resourceType: string; - /** - * Source Resources for cost allocation. This list cannot contain more than 25 values. - */ - values: string[]; + export function resourcesResponseProvideDefaults(val: ResourcesResponse): ResourcesResponse { + return { + ...val, + requests: (val.requests ? outputs.containerstorage.requestsResponseProvideDefaults(val.requests) : undefined), + }; } /** @@ -113024,2021 +116688,1506 @@ export namespace costmanagement { } /** - * The properties of the tag inheritance setting. + * User assigned identity properties */ - export interface TagInheritancePropertiesResponse { + export interface UserAssignedIdentityResponse { /** - * When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied. + * The client ID of the assigned identity. */ - preferContainerTags: boolean; + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; } /** - * Target resources for cost allocation. + * Properties of the volume */ - export interface TargetCostAllocationResourceResponse { - /** - * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag - */ - name: string; - /** - * Method of cost allocation for the rule - */ - policyType: string; - /** - * Type of resources contained in this cost allocation rule - */ - resourceType: string; + export interface VolumeTypeResponse { /** - * Target resources for cost allocation. This list cannot contain more than 25 values. + * Properties of the ElasticSAN iSCSI target */ - values: outputs.costmanagement.CostAllocationProportionResponse[]; + elasticSan: outputs.containerstorage.ElasticSanVolumePropertiesResponse; } - export namespace v20180801preview { + export namespace v20230701preview { /** - * Details of any error encountered on last collection attempt + * Assignment Properties */ - export interface ConnectorCollectionErrorInfoResponse { + export interface AssignmentResponse { /** - * Short error message + * Resource id for the assigned resource */ - errorCode: string; + id: string; /** - * Detailed error message + * Indicates if the assignment is in a usable state */ - errorMessage: string; + status: outputs.containerstorage.v20230701preview.AssignmentStatusResponse; + } + + /** + * Status of the assignment resource + */ + export interface AssignmentStatusResponse { /** - * Time the error started occurring (Last time error occurred in lastRun) + * Reason for the status */ - errorStartTime: string; + message?: string; + /** + * State of the assignment resource + */ + state: string; } /** - * Collection and ingestion information + * Azure Disk Pool Properties */ - export interface ConnectorCollectionInfoResponse { + export interface AzureDiskResponse { /** - * Error information of last collection + * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). */ - error?: outputs.costmanagement.v20180801preview.ConnectorCollectionErrorInfoResponse; + disks?: outputs.containerstorage.v20230701preview.DiskResponse[]; /** - * Last time the data acquisition process completed (even if no new data was found) + * Encryption specifies the encryption configuration for the Azure Disk pool */ - lastRun: string; + encryption?: outputs.containerstorage.v20230701preview.EncryptionResponse; /** - * Last time the external data was updated into Azure + * Managed resource group for the pool. */ - lastUpdated: string; + resourceGroup: string; /** - * Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp) + * Sku name */ - sourceLastUpdated: string; + skuName?: string; } /** - * The aggregation expression to be used in the report. + * Model for disk for that pool is using */ - export interface ReportAggregationResponse { + export interface DiskResponse { /** - * The name of the aggregation function to use. + * ID is the disk identifier visible to the OS. It is typically the WWN or disk ID in formats such as eui.e8238fa6bf530001001b448b45263379 or 0x5002cf6cbc5dd460 */ - function: string; + id: string; /** - * The name of the column to aggregate. + * Reference is the location of the disk in an external system. */ - name: string; + reference: string; } /** - * The comparison expression to be used in the report. + * Elastic San Pool Properties */ - export interface ReportComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; + export interface ElasticSanResponse { /** - * The operator to use for comparison. + * Encryption specifies the encryption configuration for the Azure Disk pool */ - operator: string; + encryption?: outputs.containerstorage.v20230701preview.EncryptionResponse; /** - * Array of values to use for comparison + * Managed resource group for the pool. */ - values: string[]; - } - - /** - * The configuration of dataset in the report. - */ - export interface ReportDatasetConfigurationResponse { + resourceGroup: string; /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + * Sku name */ - columns?: string[]; + skuName?: string; } /** - * The definition of data present in the report. + * Properties of the ElasticSAN iSCSI target */ - export interface ReportDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20180801preview.ReportAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20180801preview.ReportDatasetConfigurationResponse; + export interface ElasticSanVolumePropertiesResponse { /** - * Has filter expression to use in the report. + * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server" */ - filter?: outputs.costmanagement.v20180801preview.ReportFilterResponse; + targetIqn: string; /** - * The granularity of rows in the report. + * iSCSI Target Portal Host Name */ - granularity?: string; + targetPortalHostname: string; /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + * iSCSI Target Portal Port */ - grouping?: outputs.costmanagement.v20180801preview.ReportGroupingResponse[]; + targetPortalPort: number; } /** - * The definition of a report. + * Encryption key properties for the pool. */ - export interface ReportDefinitionResponse { - /** - * Has definition for data in this report. - */ - dataset?: outputs.costmanagement.v20180801preview.ReportDatasetResponse; + export interface EncryptionResponse { /** - * Has time period for pulling data for the report. + * The managed service identities assigned to this resource. */ - timePeriod?: outputs.costmanagement.v20180801preview.ReportTimePeriodResponse; + identity?: outputs.containerstorage.v20230701preview.ManagedServiceIdentityResponse; /** - * The time frame for pulling data for the report. If custom, then a specific time period must be provided. + * The name of the key vault key. */ - timeframe: string; + keyName: string; /** - * The type of the report. + * The URI of the key vault. */ - type: string; + keyVaultUri: string; } /** - * The destination information for the delivery of the report. + * Ephemeral Disk Pool Properties */ - export interface ReportDeliveryDestinationResponse { - /** - * The name of the container where reports will be uploaded. - */ - container: string; + export interface EphemeralDiskResponse { /** - * The resource id of the storage account where reports will be delivered. + * Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags). */ - resourceId: string; + disks?: outputs.containerstorage.v20230701preview.DiskResponse[]; /** - * The name of the directory where reports will be uploaded. + * The number of data copies. Default 3. */ - rootFolderPath?: string; + replicas?: number; } - /** - * The delivery information associated with a report. + * ephemeralDiskResponseProvideDefaults sets the appropriate defaults for EphemeralDiskResponse */ - export interface ReportDeliveryInfoResponse { - /** - * Has destination for the report being delivered. - */ - destination: outputs.costmanagement.v20180801preview.ReportDeliveryDestinationResponse; + export function ephemeralDiskResponseProvideDefaults(val: EphemeralDiskResponse): EphemeralDiskResponse { + return { + ...val, + replicas: (val.replicas) ?? 3, + }; } /** - * The filter expression to be used in the report. + * Managed service identity (system assigned and/or user assigned identities) */ - export interface ReportFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20180801preview.ReportFilterResponse[]; + export interface ManagedServiceIdentityResponse { /** - * Has comparison expression for a dimension + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - dimension?: outputs.costmanagement.v20180801preview.ReportComparisonExpressionResponse; + principalId: string; /** - * The logical "NOT" expression. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - not?: outputs.costmanagement.v20180801preview.ReportFilterResponse; + tenantId: string; /** - * The logical "OR" expression. Must have at least 2 items. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - or?: outputs.costmanagement.v20180801preview.ReportFilterResponse[]; + type: string; /** - * Has comparison expression for a tag + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - tag?: outputs.costmanagement.v20180801preview.ReportComparisonExpressionResponse; + userAssignedIdentities?: {[key: string]: outputs.containerstorage.v20230701preview.UserAssignedIdentityResponse}; } /** - * The group by expression to be used in the report. + * Type of the Pool: ephemeralDisk, azureDisk, or elasticsan */ - export interface ReportGroupingResponse { - /** - * The name of the column to group. - */ - name: string; + export interface PoolTypeResponse { /** - * Has type of the column to group. + * Disk Pool Properties */ - type: string; - } - - /** - * The start and end date for recurrence schedule. - */ - export interface ReportRecurrencePeriodResponse { + azureDisk?: outputs.containerstorage.v20230701preview.AzureDiskResponse; /** - * The start date of recurrence. + * Elastic San Pool Properties */ - from: string; + elasticSan?: outputs.containerstorage.v20230701preview.ElasticSanResponse; /** - * The end date of recurrence. + * Ephemeral Pool Properties */ - to?: string; + ephemeralDisk?: outputs.containerstorage.v20230701preview.EphemeralDiskResponse; } - /** - * The schedule associated with a report. + * poolTypeResponseProvideDefaults sets the appropriate defaults for PoolTypeResponse */ - export interface ReportScheduleResponse { - /** - * The schedule recurrence. - */ - recurrence: string; - /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. - */ - recurrencePeriod?: outputs.costmanagement.v20180801preview.ReportRecurrencePeriodResponse; - /** - * The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused. - */ - status?: string; + export function poolTypeResponseProvideDefaults(val: PoolTypeResponse): PoolTypeResponse { + return { + ...val, + ephemeralDisk: (val.ephemeralDisk ? outputs.containerstorage.v20230701preview.ephemeralDiskResponseProvideDefaults(val.ephemeralDisk) : undefined), + }; } /** - * The start and end date for pulling data for the report. + * Requests for capacity for the pool. */ - export interface ReportTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; + export interface RequestsResponse { /** - * The end date to pull data to. + * Requested capacity of the pool in GiB. */ - to: string; + storage?: number; } - - } - - export namespace v20190301preview { /** - * Details of any error encountered on last collection attempt + * requestsResponseProvideDefaults sets the appropriate defaults for RequestsResponse */ - export interface ConnectorCollectionErrorInfoResponse { - /** - * Short error code - */ - errorCode: string; - /** - * External Provider error message - */ - errorInnerMessage: string; - /** - * Detailed error message - */ - errorMessage: string; - /** - * Time the error started occurring (Last time error occurred in lastChecked) - */ - errorStartTime: string; + export function requestsResponseProvideDefaults(val: RequestsResponse): RequestsResponse { + return { + ...val, + storage: (val.storage) ?? 1024, + }; } /** - * Collection and ingestion information + * Status of the resource */ - export interface ConnectorCollectionInfoResponse { - /** - * Error information of last collection - */ - error?: outputs.costmanagement.v20190301preview.ConnectorCollectionErrorInfoResponse; - /** - * Last time the data acquisition process initiated connecting to the external provider - */ - lastChecked: string; + export interface ResourceOperationalStatusResponse { /** - * Last time the external data was updated into Azure + * Reason for state. */ - lastUpdated: string; + message?: string; /** - * Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp) + * state of the resource */ - sourceLastUpdated: string; + state: string; } - } - - export namespace v20190401preview { /** - * The start and end date for a budget. + * Resource Requests for the pool. */ - export interface BudgetTimePeriodResponse { - /** - * The end date for the budget. If not provided, we default this to 10 years from the start date. - */ - endDate?: string; + export interface ResourcesResponse { /** - * The start date for the budget. + * Requests for capacity for the pool. */ - startDate: string; + requests?: outputs.containerstorage.v20230701preview.RequestsResponse; } - /** - * The current amount of cost which is being tracked for a budget. + * resourcesResponseProvideDefaults sets the appropriate defaults for ResourcesResponse */ - export interface CurrentSpendResponse { - /** - * The total amount of cost which is being tracked by the budget. - */ - amount: number; - /** - * The unit of measure for the budget amount. - */ - unit: string; + export function resourcesResponseProvideDefaults(val: ResourcesResponse): ResourcesResponse { + return { + ...val, + requests: (val.requests ? outputs.containerstorage.v20230701preview.requestsResponseProvideDefaults(val.requests) : undefined), + }; } /** - * The notification associated with a budget. + * Metadata pertaining to creation and last modification of the resource. */ - export interface NotificationResponse { + export interface SystemDataResponse { /** - * Email addresses to send the budget notification to when the threshold is exceeded. + * The timestamp of resource creation (UTC). */ - contactEmails: string[]; + createdAt?: string; /** - * Action groups to send the budget notification to when the threshold is exceeded. + * The identity that created the resource. */ - contactGroups?: string[]; + createdBy?: string; /** - * Contact roles to send the budget notification to when the threshold is exceeded. + * The type of identity that created the resource. */ - contactRoles?: string[]; + createdByType?: string; /** - * The notification is enabled or not. + * The timestamp of resource last modification (UTC) */ - enabled: boolean; + lastModifiedAt?: string; /** - * The comparison operator. + * The identity that last modified the resource. */ - operator: string; + lastModifiedBy?: string; /** - * Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. + * The type of identity that last modified the resource. */ - threshold: number; + lastModifiedByType?: string; } /** - * The comparison expression to be used in the report. + * User assigned identity properties */ - export interface ReportConfigComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; + export interface UserAssignedIdentityResponse { /** - * The operator to use for comparison. + * The client ID of the assigned identity. */ - operator: string; + clientId: string; /** - * Array of values to use for comparison + * The principal ID of the assigned identity. */ - values: string[]; + principalId: string; } /** - * The filter expression to be used in the report. + * Properties of the volume */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20190401preview.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimension?: outputs.costmanagement.v20190401preview.ReportConfigComparisonExpressionResponse; - /** - * The logical "NOT" expression. - */ - not?: outputs.costmanagement.v20190401preview.ReportConfigFilterResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20190401preview.ReportConfigFilterResponse[]; + export interface VolumeTypeResponse { /** - * Has comparison expression for a tag + * Properties of the ElasticSAN iSCSI target */ - tag?: outputs.costmanagement.v20190401preview.ReportConfigComparisonExpressionResponse; + elasticSan: outputs.containerstorage.v20230701preview.ElasticSanVolumePropertiesResponse; } } +} - export namespace v20191001 { +export namespace costmanagement { + /** + * The comparison expression to be used in the budgets. + */ + export interface BudgetComparisonExpressionResponse { /** - * The destination information for the delivery of the export. + * The name of the column to use in comparison. */ - export interface ExportDeliveryDestinationResponse { - /** - * The name of the container where exports will be uploaded. - */ - container: string; - /** - * The resource id of the storage account where exports will be delivered. - */ - resourceId: string; - /** - * The name of the directory where exports will be uploaded. - */ - rootFolderPath?: string; - } - + name: string; /** - * The delivery information associated with a export. + * The operator to use for comparison. */ - export interface ExportDeliveryInfoResponse { - /** - * Has destination for the export being delivered. - */ - destination: outputs.costmanagement.v20191001.ExportDeliveryDestinationResponse; - } - + operator: string; /** - * The start and end date for recurrence schedule. + * Array of values to use for comparison */ - export interface ExportRecurrencePeriodResponse { - /** - * The start date of recurrence. - */ - from: string; - /** - * The end date of recurrence. - */ - to?: string; - } + values: string[]; + } + /** + * The Dimensions or Tags to filter a budget by. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + export interface BudgetFilterPropertiesResponse { /** - * The schedule associated with a export. + * Has comparison expression for a dimension. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported dimension names for **CategoryType: ReservationUtilization** + * - ReservationId + * - ReservedResourceType */ - export interface ExportScheduleResponse { - /** - * The schedule recurrence. - */ - recurrence: string; - /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. - */ - recurrencePeriod?: outputs.costmanagement.v20191001.ExportRecurrencePeriodResponse; - /** - * The status of the schedule. Whether active or not. If inactive, the export's scheduled execution is paused. - */ - status?: string; - } - + dimensions?: outputs.costmanagement.BudgetComparisonExpressionResponse; /** - * The aggregation expression to be used in the query. + * Has comparison expression for a tag. + * + * Supported for CategoryType(s): Cost. */ - export interface QueryAggregationResponse { - /** - * The name of the aggregation function to use. - */ - function: string; - /** - * The name of the column to aggregate. - */ - name: string; - } + tags?: outputs.costmanagement.BudgetComparisonExpressionResponse; + } + /** + * May be used to filter budgets by user-specified dimensions and/or tags. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + export interface BudgetFilterResponse { /** - * The comparison expression to be used in the query. + * The logical "AND" expression. Must have at least 2 items. + * + * Supported for CategoryType(s): Cost. */ - export interface QueryComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; - /** - * The operator to use for comparison. - */ - operator: string; - /** - * Array of values to use for comparison - */ - values: string[]; - } - + and?: outputs.costmanagement.BudgetFilterPropertiesResponse[]; /** - * The configuration of dataset in the query. + * Has comparison expression for a dimension. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported dimension names for **CategoryType: ReservationUtilization** + * - ReservationId + * - ReservedResourceType */ - export interface QueryDatasetConfigurationResponse { - /** - * Array of column names to be included in the query. Any valid query column name is allowed. If not provided, then query includes all columns. - */ - columns?: string[]; - } - + dimensions?: outputs.costmanagement.BudgetComparisonExpressionResponse; /** - * The definition of data present in the query. + * Has comparison expression for a tag. + * + * Supported for CategoryType(s): Cost. */ - export interface QueryDatasetResponse { - /** - * Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20191001.QueryAggregationResponse}; - /** - * Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20191001.QueryDatasetConfigurationResponse; - /** - * The filter expression to use in the query. Please reference our Query API REST documentation for how to properly format the filter. - */ - filter?: outputs.costmanagement.v20191001.QueryFilterResponse; - /** - * The granularity of rows in the query. - */ - granularity?: string; - /** - * Array of group by expression to use in the query. Query can have up to 2 group by clauses. - */ - grouping?: outputs.costmanagement.v20191001.QueryGroupingResponse[]; - /** - * Array of sorting by columns in query. - */ - sorting?: outputs.costmanagement.v20191001.QuerySortingConfigurationResponse[]; - } + tags?: outputs.costmanagement.BudgetComparisonExpressionResponse; + } + /** + * The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Required for CategoryType(s): Cost, ReservationUtilization. + */ + export interface BudgetTimePeriodResponse { /** - * The definition of a query. + * The end date for the budget. + * + * - Constraints for **CategoryType: Cost** - No constraints. If not provided, we default this to 10 years from the start date. + * + * - Constraints for **CategoryType: ReservationUtilization** - End date cannot be more than 3 years after the start date. */ - export interface QueryDefinitionResponse { - /** - * Has definition for data in this query. - */ - dataset?: outputs.costmanagement.v20191001.QueryDatasetResponse; - /** - * Has time period for pulling data for the query. - */ - timePeriod?: outputs.costmanagement.v20191001.QueryTimePeriodResponse; - /** - * The time frame for pulling data for the query. If custom, then a specific time period must be provided. - */ - timeframe: string; - /** - * The type of the query. - */ - type: string; - } - + endDate?: string; /** - * The filter expression to be used in the export. + * The start date for the budget. + * + * - Constraints for **CategoryType: Cost** - Must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. + * + * - Constraints for **CategoryType: ReservationUtilization** - Must be on or after the current date and less than the end date. */ - export interface QueryFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20191001.QueryFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimension?: outputs.costmanagement.v20191001.QueryComparisonExpressionResponse; - /** - * The logical "NOT" expression. - */ - not?: outputs.costmanagement.v20191001.QueryFilterResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20191001.QueryFilterResponse[]; - /** - * Has comparison expression for a tag - */ - tag?: outputs.costmanagement.v20191001.QueryComparisonExpressionResponse; - } + startDate: string; + } + /** + * The common properties of the export. + */ + export interface CommonExportPropertiesResponse { /** - * The group by expression to be used in the query. + * Has the definition for the export. */ - export interface QueryGroupingResponse { - /** - * The name of the column to group. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; - } - + definition: outputs.costmanagement.ExportDefinitionResponse; /** - * The configuration for sorting in the query. + * Has delivery information for the export. */ - export interface QuerySortingConfigurationResponse { - /** - * The name of the column to use in sorting. - */ - name?: string; - /** - * The sorting direction - */ - querySortingDirection?: string; - } - + deliveryInfo: outputs.costmanagement.ExportDeliveryInfoResponse; /** - * The start and end date for pulling data for the query. + * The format of the export being delivered. Currently only 'Csv' is supported. */ - export interface QueryTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; - /** - * The end date to pull data to. - */ - to: string; - } - + format?: string; + /** + * If the export has an active schedule, provides an estimate of the next run time. + */ + nextRunTimeEstimate: string; + /** + * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. + */ + partitionData?: boolean; + /** + * If requested, has the most recent run history for the export. + */ + runHistory?: outputs.costmanagement.ExportExecutionListResultResponse; } - export namespace v20191101 { + /** + * Details of any error encountered on last collection attempt + */ + export interface ConnectorCollectionErrorInfoResponse { /** - * Each KPI must contain a 'type' and 'enabled' key. + * Short error message */ - export interface KpiPropertiesResponse { - /** - * show the KPI in the UI? - */ - enabled?: boolean; - /** - * ID of resource related to metric (budget). - */ - id?: string; - /** - * KPI type (Forecast, Budget). - */ - type?: string; - } - + errorCode: string; /** - * Each pivot must contain a 'type' and 'name'. + * External Provider error message */ - export interface PivotPropertiesResponse { - /** - * Data field to show in view. - */ - name?: string; - /** - * Data type to show in view. - */ - type?: string; - } - + errorInnerMessage?: string; /** - * The aggregation expression to be used in the report. + * Detailed error message */ - export interface ReportConfigAggregationResponse { - /** - * The name of the aggregation function to use. - */ - function: string; - /** - * The name of the column to aggregate. - */ - name: string; - } - + errorMessage: string; /** - * The comparison expression to be used in the report. + * Time the error started occurring (Last time error occurred in lastRun) */ - export interface ReportConfigComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; - /** - * The operator to use for comparison. - */ - operator: string; - /** - * Array of values to use for comparison - */ - values: string[]; - } + errorStartTime: string; + } + /** + * Collection and ingestion information + */ + export interface ConnectorCollectionInfoResponse { /** - * The configuration of dataset in the report. + * Error information of last collection */ - export interface ReportConfigDatasetConfigurationResponse { - /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. - */ - columns?: string[]; - } - + error?: outputs.costmanagement.ConnectorCollectionErrorInfoResponse; /** - * The definition of data present in the report. + * Last time the data acquisition process initiated connecting to the external provider */ - export interface ReportConfigDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20191101.ReportConfigAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20191101.ReportConfigDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.v20191101.ReportConfigFilterResponse; - /** - * The granularity of rows in the report. - */ - granularity?: string; - /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. - */ - grouping?: outputs.costmanagement.v20191101.ReportConfigGroupingResponse[]; - /** - * Array of order by expression to use in the report. - */ - sorting?: outputs.costmanagement.v20191101.ReportConfigSortingResponse[]; - } - + lastChecked?: string; /** - * The filter expression to be used in the report. + * Last time the data acquisition process completed (even if no new data was found) */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20191101.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimensions?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20191101.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a tag key - */ - tagKey?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; - /** - * Has comparison expression for a tag value - */ - tagValue?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; - /** - * Has comparison expression for a tag - */ - tags?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; - } - + lastRun: string; /** - * The group by expression to be used in the report. + * Last time the external data was updated into Azure */ - export interface ReportConfigGroupingResponse { - /** - * The name of the column to group. This version supports subscription lowest possible grain. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; - } - + lastUpdated: string; /** - * The order by expression to be used in the report. + * Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp) */ - export interface ReportConfigSortingResponse { - /** - * Direction of sort. - */ - direction?: string; - /** - * The name of the column to sort. - */ - name: string; - } + sourceLastUpdated: string; + } + /** + * Target resources and allocation + */ + export interface CostAllocationProportionResponse { /** - * The start and end date for pulling data for the report. + * Target resource for cost allocation */ - export interface ReportConfigTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; - /** - * The end date to pull data to. - */ - to: string; - } - - export interface SettingsPropertiesResponseCache { - /** - * Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown. - */ - channel: string; - /** - * Resource ID used by Resource Manager to uniquely identify the scope. - */ - id: string; - /** - * Display name for the scope. - */ - name: string; - /** - * Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription. - */ - parent?: string; - /** - * Indicates the status of the scope. Status only applies to subscriptions and billing accounts. - */ - status?: string; - /** - * Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable - */ - subchannel: string; - } - + name: string; + /** + * Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00. + */ + percentage: number; } - export namespace v20200301preview { + /** + * Resource details of the cost allocation rule + */ + export interface CostAllocationRuleDetailsResponse { /** - * Target resources and allocation + * Source resources for cost allocation. At this time, this list can contain no more than one element. */ - export interface CostAllocationProportionResponse { - /** - * Target resource for cost allocation - */ - name: string; - /** - * Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00. - */ - percentage: number; - } - + sourceResources?: outputs.costmanagement.SourceCostAllocationResourceResponse[]; /** - * Resource details of the cost allocation rule + * Target resources for cost allocation. At this time, this list can contain no more than one element. */ - export interface CostAllocationRuleDetailsResponse { - /** - * Source resources for cost allocation. At this time, this list can contain no more than one element. - */ - sourceResources?: outputs.costmanagement.v20200301preview.SourceCostAllocationResourceResponse[]; - /** - * Target resources for cost allocation. At this time, this list can contain no more than one element. - */ - targetResources?: outputs.costmanagement.v20200301preview.TargetCostAllocationResourceResponse[]; - } + targetResources?: outputs.costmanagement.TargetCostAllocationResourceResponse[]; + } + /** + * The properties of a cost allocation rule + */ + export interface CostAllocationRulePropertiesResponse { /** - * The properties of a cost allocation rule + * Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation. */ - export interface CostAllocationRulePropertiesResponse { - /** - * Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation. - */ - createdDate: string; - /** - * Description of a cost allocation rule. - */ - description?: string; - /** - * Resource information for the cost allocation rule - */ - details: outputs.costmanagement.v20200301preview.CostAllocationRuleDetailsResponse; - /** - * Status of the rule - */ - status: string; - /** - * Time at which the rule was last updated. - */ - updatedDate: string; - } - + createdDate: string; /** - * Source resources for cost allocation + * Description of a cost allocation rule. */ - export interface SourceCostAllocationResourceResponse { - /** - * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag - */ - name: string; - /** - * Type of resources contained in this cost allocation rule - */ - resourceType: string; - /** - * Source Resources for cost allocation. This list cannot contain more than 25 values. - */ - values: string[]; - } - + description?: string; /** - * Target resources for cost allocation. + * Resource information for the cost allocation rule */ - export interface TargetCostAllocationResourceResponse { - /** - * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag - */ - name: string; - /** - * Method of cost allocation for the rule - */ - policyType: string; - /** - * Type of resources contained in this cost allocation rule - */ - resourceType: string; - /** - * Target resources for cost allocation. This list cannot contain more than 25 values. - */ - values: outputs.costmanagement.v20200301preview.CostAllocationProportionResponse[]; - } - + details: outputs.costmanagement.CostAllocationRuleDetailsResponse; + /** + * Status of the rule + */ + status: string; + /** + * Time at which the rule was last updated. + */ + updatedDate: string; } - export namespace v20200601 { + /** + * The current amount of cost which is being tracked for a budget. + * + * Supported for CategoryType(s): Cost. + */ + export interface CurrentSpendResponse { /** - * Each KPI must contain a 'type' and 'enabled' key. + * The total amount of cost which is being tracked by the budget. */ - export interface KpiPropertiesResponse { - /** - * show the KPI in the UI? - */ - enabled?: boolean; - /** - * ID of resource related to metric (budget). - */ - id?: string; - /** - * KPI type (Forecast, Budget). - */ - type?: string; - } - + amount: number; /** - * Each pivot must contain a 'type' and 'name'. + * The unit of measure for the budget amount. */ - export interface PivotPropertiesResponse { - /** - * Data field to show in view. - */ - name?: string; - /** - * Data type to show in view. - */ - type?: string; - } + unit: string; + } + /** + * The customer billing metadata + */ + export interface CustomerMetadataResponse { /** - * The aggregation expression to be used in the report. + * Customer billing account id */ - export interface ReportConfigAggregationResponse { - /** - * The name of the aggregation function to use. - */ - function: string; - /** - * The name of the column to aggregate. - */ - name: string; - } - + billingAccountId: string; /** - * The comparison expression to be used in the report. + * Customer billing profile id */ - export interface ReportConfigComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; - /** - * The operator to use for comparison. - */ - operator: string; - /** - * Array of values to use for comparison - */ - values: string[]; - } + billingProfileId: string; + } + /** + * The details of the error. + */ + export interface ErrorDetailsResponse { /** - * The configuration of dataset in the report. + * Error code. */ - export interface ReportConfigDatasetConfigurationResponse { - /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. - */ - columns?: string[]; - } - + code: string; /** - * The definition of data present in the report. + * Error message indicating why the operation failed. */ - export interface ReportConfigDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20200601.ReportConfigAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20200601.ReportConfigDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.v20200601.ReportConfigFilterResponse; - /** - * The granularity of rows in the report. - */ - granularity?: string; - /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. - */ - grouping?: outputs.costmanagement.v20200601.ReportConfigGroupingResponse[]; - /** - * Array of order by expression to use in the report. - */ - sorting?: outputs.costmanagement.v20200601.ReportConfigSortingResponse[]; - } + message: string; + } + /** + * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. + */ + export interface ExportDatasetConfigurationResponse { /** - * The filter expression to be used in the report. + * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20200601.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimension?: outputs.costmanagement.v20200601.ReportConfigComparisonExpressionResponse; - /** - * The logical "NOT" expression. - */ - not?: outputs.costmanagement.v20200601.ReportConfigFilterResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20200601.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a tag - */ - tag?: outputs.costmanagement.v20200601.ReportConfigComparisonExpressionResponse; - } + columns?: string[]; + } + /** + * The definition for data in the export. + */ + export interface ExportDatasetResponse { /** - * The group by expression to be used in the report. + * The export dataset configuration. */ - export interface ReportConfigGroupingResponse { - /** - * The name of the column to group. This version supports subscription lowest possible grain. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; - } - + configuration?: outputs.costmanagement.ExportDatasetConfigurationResponse; /** - * The order by expression to be used in the report. + * The granularity of rows in the export. Currently only 'Daily' is supported. */ - export interface ReportConfigSortingResponse { - /** - * Direction of sort. - */ - direction?: string; - /** - * The name of the column to sort. - */ - name: string; - } + granularity?: string; + } + /** + * The definition of an export. + */ + export interface ExportDefinitionResponse { /** - * The start and end date for pulling data for the report. + * The definition for data in the export. */ - export interface ReportConfigTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; - /** - * The end date to pull data to. - */ - to: string; - } - - } - - export namespace v20221001 { + dataSet?: outputs.costmanagement.ExportDatasetResponse; /** - * Each KPI must contain a 'type' and 'enabled' key. + * Has time period for pulling data for the export. */ - export interface KpiPropertiesResponse { - /** - * show the KPI in the UI? - */ - enabled?: boolean; - /** - * ID of resource related to metric (budget). - */ - id?: string; - /** - * KPI type (Forecast, Budget). - */ - type?: string; - } - + timePeriod?: outputs.costmanagement.ExportTimePeriodResponse; /** - * Each pivot must contain a 'type' and 'name'. + * The time frame for pulling data for the export. If custom, then a specific time period must be provided. */ - export interface PivotPropertiesResponse { - /** - * Data field to show in view. - */ - name?: string; - /** - * Data type to show in view. - */ - type?: string; - } - + timeframe: string; /** - * The aggregation expression to be used in the report. + * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. */ - export interface ReportConfigAggregationResponse { - /** - * The name of the aggregation function to use. - */ - function: string; - /** - * The name of the column to aggregate. - */ - name: string; - } + type: string; + } + /** + * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). + */ + export interface ExportDeliveryDestinationResponse { /** - * The comparison expression to be used in the report. + * The name of the container where exports will be uploaded. If the container does not exist it will be created. */ - export interface ReportConfigComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; - /** - * The operator to use for comparison. - */ - operator: string; - /** - * Array of values to use for comparison - */ - values: string[]; - } - + container: string; /** - * The configuration of dataset in the report. + * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. */ - export interface ReportConfigDatasetConfigurationResponse { - /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. - */ - columns?: string[]; - } - + resourceId?: string; /** - * The definition of data present in the report. + * The name of the directory where exports will be uploaded. */ - export interface ReportConfigDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20221001.ReportConfigAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20221001.ReportConfigDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.v20221001.ReportConfigFilterResponse; - /** - * The granularity of rows in the report. - */ - granularity?: string; - /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. - */ - grouping?: outputs.costmanagement.v20221001.ReportConfigGroupingResponse[]; - /** - * Array of order by expression to use in the report. - */ - sorting?: outputs.costmanagement.v20221001.ReportConfigSortingResponse[]; - } - + rootFolderPath?: string; /** - * The filter expression to be used in the report. + * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20221001.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimensions?: outputs.costmanagement.v20221001.ReportConfigComparisonExpressionResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20221001.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a tag - */ - tags?: outputs.costmanagement.v20221001.ReportConfigComparisonExpressionResponse; - } - + sasToken?: string; /** - * The group by expression to be used in the report. + * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. */ - export interface ReportConfigGroupingResponse { - /** - * The name of the column to group. This version supports subscription lowest possible grain. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; - } + storageAccount?: string; + } + /** + * The delivery information associated with a export. + */ + export interface ExportDeliveryInfoResponse { /** - * The order by expression to be used in the report. + * Has destination for the export being delivered. */ - export interface ReportConfigSortingResponse { - /** - * Direction of sort. - */ - direction?: string; - /** - * The name of the column to sort. - */ - name: string; - } + destination: outputs.costmanagement.ExportDeliveryDestinationResponse; + } + /** + * Result of listing the run history of an export. + */ + export interface ExportExecutionListResultResponse { /** - * The start and end date for pulling data for the report. + * A list of export runs. */ - export interface ReportConfigTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; - /** - * The end date to pull data to. - */ - to: string; - } - + value: outputs.costmanagement.ExportRunResponse[]; } - export namespace v20221005preview { + /** + * The start and end date for recurrence schedule. + */ + export interface ExportRecurrencePeriodResponse { /** - * The customer billing metadata + * The start date of recurrence. */ - export interface CustomerMetadataResponse { - /** - * Customer billing account id - */ - billingAccountId: string; - /** - * Customer billing profile id - */ - billingProfileId: string; - } - + from: string; /** - * Each KPI must contain a 'type' and 'enabled' key. + * The end date of recurrence. */ - export interface KpiPropertiesResponse { - /** - * show the KPI in the UI? - */ - enabled?: boolean; - /** - * ID of resource related to metric (budget). - */ - id?: string; - /** - * KPI type (Forecast, Budget). - */ - type?: string; - } + to?: string; + } + /** + * An export run. + */ + export interface ExportRunResponse { /** - * Each pivot must contain a 'type' and 'name'. + * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. */ - export interface PivotPropertiesResponse { - /** - * Data field to show in view. - */ - name?: string; - /** - * Data type to show in view. - */ - type?: string; - } - + eTag?: string; /** - * The aggregation expression to be used in the report. + * The details of any error. */ - export interface ReportConfigAggregationResponse { - /** - * The name of the aggregation function to use. - */ - function: string; - /** - * The name of the column to aggregate. - */ - name: string; - } - + error?: outputs.costmanagement.ErrorDetailsResponse; /** - * The comparison expression to be used in the report. + * The type of the export run. */ - export interface ReportConfigComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; - /** - * The operator to use for comparison. - */ - operator: string; - /** - * Array of values to use for comparison - */ - values: string[]; - } - + executionType?: string; /** - * The configuration of dataset in the report. + * The name of the exported file. */ - export interface ReportConfigDatasetConfigurationResponse { - /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. - */ - columns?: string[]; - } - + fileName?: string; /** - * The definition of data present in the report. + * Resource Id. */ - export interface ReportConfigDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20221005preview.ReportConfigAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20221005preview.ReportConfigDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.v20221005preview.ReportConfigFilterResponse; - /** - * The granularity of rows in the report. - */ - granularity?: string; - /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. - */ - grouping?: outputs.costmanagement.v20221005preview.ReportConfigGroupingResponse[]; - /** - * Array of order by expression to use in the report. - */ - sorting?: outputs.costmanagement.v20221005preview.ReportConfigSortingResponse[]; - } - + id: string; /** - * The filter expression to be used in the report. + * Resource name. */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20221005preview.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimensions?: outputs.costmanagement.v20221005preview.ReportConfigComparisonExpressionResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20221005preview.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a tag - */ - tags?: outputs.costmanagement.v20221005preview.ReportConfigComparisonExpressionResponse; - } - + name: string; /** - * The group by expression to be used in the report. + * The time when the export run finished. */ - export interface ReportConfigGroupingResponse { - /** - * The name of the column to group. This version supports subscription lowest possible grain. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; - } - + processingEndTime?: string; /** - * The order by expression to be used in the report. + * The time when export was picked up to be run. */ - export interface ReportConfigSortingResponse { - /** - * Direction of sort. - */ - direction?: string; - /** - * The name of the column to sort. - */ - name: string; - } - + processingStartTime?: string; /** - * The start and end date for pulling data for the report. + * The export settings that were in effect for this run. */ - export interface ReportConfigTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; - /** - * The end date to pull data to. - */ - to: string; - } - + runSettings?: outputs.costmanagement.CommonExportPropertiesResponse; /** - * The properties of the tag inheritance setting. + * The last known status of the export run. */ - export interface TagInheritancePropertiesResponse { - /** - * When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied. - */ - preferContainerTags: boolean; - } - - } - - export namespace v20230301 { + status?: string; /** - * The common properties of the export. + * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. */ - export interface CommonExportPropertiesResponse { - /** - * Has the definition for the export. - */ - definition: outputs.costmanagement.v20230301.ExportDefinitionResponse; - /** - * Has delivery information for the export. - */ - deliveryInfo: outputs.costmanagement.v20230301.ExportDeliveryInfoResponse; - /** - * The format of the export being delivered. Currently only 'Csv' is supported. - */ - format?: string; - /** - * If the export has an active schedule, provides an estimate of the next run time. - */ - nextRunTimeEstimate: string; - /** - * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. - */ - partitionData?: boolean; - /** - * If requested, has the most recent run history for the export. - */ - runHistory?: outputs.costmanagement.v20230301.ExportExecutionListResultResponse; - } - + submittedBy?: string; /** - * The details of the error. + * The time when export was queued to be run. */ - export interface ErrorDetailsResponse { - /** - * Error code. - */ - code: string; - /** - * Error message indicating why the operation failed. - */ - message: string; - } - + submittedTime?: string; /** - * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. + * Resource type. */ - export interface ExportDatasetConfigurationResponse { - /** - * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). - */ - columns?: string[]; - } + type: string; + } + /** + * The schedule associated with the export. + */ + export interface ExportScheduleResponse { /** - * The definition for data in the export. + * The schedule recurrence. */ - export interface ExportDatasetResponse { - /** - * The export dataset configuration. - */ - configuration?: outputs.costmanagement.v20230301.ExportDatasetConfigurationResponse; - /** - * The granularity of rows in the export. Currently only 'Daily' is supported. - */ - granularity?: string; - } - + recurrence?: string; /** - * The definition of an export. + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. */ - export interface ExportDefinitionResponse { - /** - * The definition for data in the export. - */ - dataSet?: outputs.costmanagement.v20230301.ExportDatasetResponse; - /** - * Has time period for pulling data for the export. - */ - timePeriod?: outputs.costmanagement.v20230301.ExportTimePeriodResponse; - /** - * The time frame for pulling data for the export. If custom, then a specific time period must be provided. - */ - timeframe: string; - /** - * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. - */ - type: string; - } - + recurrencePeriod?: outputs.costmanagement.ExportRecurrencePeriodResponse; /** - * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). + * The status of the export's schedule. If 'Inactive', the export's schedule is paused. */ - export interface ExportDeliveryDestinationResponse { - /** - * The name of the container where exports will be uploaded. If the container does not exist it will be created. - */ - container: string; - /** - * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. - */ - resourceId?: string; - /** - * The name of the directory where exports will be uploaded. - */ - rootFolderPath?: string; - /** - * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. - */ - sasToken?: string; - /** - * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. - */ - storageAccount?: string; - } + status?: string; + } + /** + * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. + */ + export interface ExportTimePeriodResponse { /** - * The delivery information associated with a export. + * The start date for export data. */ - export interface ExportDeliveryInfoResponse { - /** - * Has destination for the export being delivered. - */ - destination: outputs.costmanagement.v20230301.ExportDeliveryDestinationResponse; - } - + from: string; /** - * Result of listing the run history of an export. + * The end date for export data. */ - export interface ExportExecutionListResultResponse { - /** - * A list of export runs. - */ - value: outputs.costmanagement.v20230301.ExportRunResponse[]; - } + to: string; + } + /** + * Destination of the view data. This is optional. Currently only CSV format is supported. + */ + export interface FileDestinationResponse { /** - * The start and end date for recurrence schedule. + * Destination of the view data. Currently only CSV format is supported. */ - export interface ExportRecurrencePeriodResponse { - /** - * The start date of recurrence. - */ - from: string; - /** - * The end date of recurrence. - */ - to?: string; - } + fileFormats?: string[]; + } + /** + * The forecasted cost which is being tracked for a budget. + * + * Supported for CategoryType(s): Cost. + */ + export interface ForecastSpendResponse { /** - * An export run. + * The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type. */ - export interface ExportRunResponse { - /** - * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. - */ - eTag?: string; - /** - * The details of any error. - */ - error?: outputs.costmanagement.v20230301.ErrorDetailsResponse; - /** - * The type of the export run. - */ - executionType?: string; - /** - * The name of the exported file. - */ - fileName?: string; - /** - * Resource Id. - */ - id: string; - /** - * Resource name. - */ - name: string; - /** - * The time when the export run finished. - */ - processingEndTime?: string; - /** - * The time when export was picked up to be run. - */ - processingStartTime?: string; - /** - * The export settings that were in effect for this run. - */ - runSettings?: outputs.costmanagement.v20230301.CommonExportPropertiesResponse; - /** - * The last known status of the export run. - */ - status?: string; - /** - * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. - */ - submittedBy?: string; - /** - * The time when export was queued to be run. - */ - submittedTime?: string; - /** - * Resource type. - */ - type: string; - } - + amount: number; /** - * The schedule associated with the export. + * The unit of measure for the budget amount. */ - export interface ExportScheduleResponse { - /** - * The schedule recurrence. - */ - recurrence?: string; - /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. - */ - recurrencePeriod?: outputs.costmanagement.v20230301.ExportRecurrencePeriodResponse; - /** - * The status of the export's schedule. If 'Inactive', the export's schedule is paused. - */ - status?: string; - } + unit: string; + } + /** + * Each KPI must contain a 'type' and 'enabled' key. + */ + export interface KpiPropertiesResponse { /** - * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. + * show the KPI in the UI? */ - export interface ExportTimePeriodResponse { - /** - * The start date for export data. - */ - from: string; - /** - * The end date for export data. - */ - to: string; - } - + enabled?: boolean; /** - * Destination of the view data. This is optional. Currently only CSV format is supported. + * ID of resource related to metric (budget). */ - export interface FileDestinationResponse { - /** - * Destination of the view data. Currently only CSV format is supported. - */ - fileFormats?: string[]; - } - + id?: string; /** - * Each KPI must contain a 'type' and 'enabled' key. + * KPI type (Forecast, Budget). */ - export interface KpiPropertiesResponse { - /** - * show the KPI in the UI? - */ - enabled?: boolean; - /** - * ID of resource related to metric (budget). - */ - id?: string; - /** - * KPI type (Forecast, Budget). - */ - type?: string; - } + type?: string; + } + /** + * The properties of the scheduled action notification. + */ + export interface NotificationPropertiesResponse { /** - * The properties of the scheduled action notification. + * Locale of the email. */ - export interface NotificationPropertiesResponse { - /** - * Locale of the email. - */ - language?: string; - /** - * Optional message to be added in the email. Length is limited to 250 characters. - */ - message?: string; - /** - * Regional format used for formatting date/time and currency values in the email. - */ - regionalFormat?: string; - /** - * Subject of the email. Length is limited to 70 characters. - */ - subject: string; - /** - * Array of email addresses. - */ - to: string[]; - } - + language?: string; /** - * Each pivot must contain a 'type' and 'name'. + * Optional message to be added in the email. Length is limited to 250 characters. */ - export interface PivotPropertiesResponse { - /** - * Data field to show in view. - */ - name?: string; - /** - * Data type to show in view. - */ - type?: string; - } - + message?: string; /** - * The aggregation expression to be used in the report. + * Regional format used for formatting date/time and currency values in the email. */ - export interface ReportConfigAggregationResponse { - /** - * The name of the aggregation function to use. - */ - function: string; - /** - * The name of the column to aggregate. - */ - name: string; - } - + regionalFormat?: string; /** - * The comparison expression to be used in the report. + * Subject of the email. Length is limited to 70 characters. */ - export interface ReportConfigComparisonExpressionResponse { - /** - * The name of the column to use in comparison. - */ - name: string; - /** - * The operator to use for comparison. - */ - operator: string; - /** - * Array of values to use for comparison - */ - values: string[]; - } - + subject: string; /** - * The configuration of dataset in the report. + * Array of email addresses. */ - export interface ReportConfigDatasetConfigurationResponse { - /** - * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. - */ - columns?: string[]; - } + to: string[]; + } + /** + * The notification associated with a budget. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + export interface NotificationResponse { /** - * The definition of data present in the report. + * Email addresses to send the notification to when the threshold is breached. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - export interface ReportConfigDatasetResponse { - /** - * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. - */ - aggregation?: {[key: string]: outputs.costmanagement.v20230301.ReportConfigAggregationResponse}; - /** - * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. - */ - configuration?: outputs.costmanagement.v20230301.ReportConfigDatasetConfigurationResponse; - /** - * Has filter expression to use in the report. - */ - filter?: outputs.costmanagement.v20230301.ReportConfigFilterResponse; - /** - * The granularity of rows in the report. - */ - granularity?: string; - /** - * Array of group by expression to use in the report. Report can have up to 2 group by clauses. - */ - grouping?: outputs.costmanagement.v20230301.ReportConfigGroupingResponse[]; - /** - * Array of order by expression to use in the report. - */ - sorting?: outputs.costmanagement.v20230301.ReportConfigSortingResponse[]; - } - + contactEmails: string[]; /** - * The filter expression to be used in the report. + * Subscription or Resource Group scopes only. Action groups to send the notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. + * + * Supported for CategoryType(s): Cost. */ - export interface ReportConfigFilterResponse { - /** - * The logical "AND" expression. Must have at least 2 items. - */ - and?: outputs.costmanagement.v20230301.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a dimension - */ - dimensions?: outputs.costmanagement.v20230301.ReportConfigComparisonExpressionResponse; - /** - * The logical "OR" expression. Must have at least 2 items. - */ - or?: outputs.costmanagement.v20230301.ReportConfigFilterResponse[]; - /** - * Has comparison expression for a tag - */ - tags?: outputs.costmanagement.v20230301.ReportConfigComparisonExpressionResponse; - } - + contactGroups?: string[]; /** - * The group by expression to be used in the report. + * Subscription or Resource Group scopes only. Contact roles to send the notification to when the threshold is breached. + * + * Supported for CategoryType(s): Cost. */ - export interface ReportConfigGroupingResponse { - /** - * The name of the column to group. This version supports subscription lowest possible grain. - */ - name: string; - /** - * Has type of the column to group. - */ - type: string; - } - + contactRoles?: string[]; /** - * The order by expression to be used in the report. + * The notification is enabled or not. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - export interface ReportConfigSortingResponse { - /** - * Direction of sort. - */ - direction?: string; - /** - * The name of the column to sort. - */ - name: string; - } - + enabled: boolean; /** - * The start and end date for pulling data for the report. + * Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). + * + * Supported for CategoryType(s): ReservationUtilization. */ - export interface ReportConfigTimePeriodResponse { - /** - * The start date to pull data from. - */ - from: string; - /** - * The end date to pull data to. - */ - to: string; - } - + frequency?: string; /** - * The properties of the schedule. + * Language in which the recipient will receive the notification, + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - export interface SchedulePropertiesResponse { - /** - * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. - */ - dayOfMonth?: number; - /** - * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. - */ - daysOfWeek?: string[]; - /** - * The end date and time of the scheduled action (UTC). - */ - endDate: string; - /** - * Frequency of the schedule. - */ - frequency: string; + locale?: string; + /** + * The comparison operator. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported operators for **CategoryType: Cost** + * - GreaterThan + * - GreaterThanOrEqualTo + * + * Supported operators for **CategoryType: ReservationUtilization** + * - LessThan + */ + operator: string; + /** + * Threshold value associated with a notification. It is always percent with a maximum of 2 decimal places. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * **CategoryType: Cost** - Must be between 0 and 1000. Notification is sent when the cost exceeded the threshold. + * + * **CategoryType: ReservationUtilization** - Must be between 0 and 100. Notification is sent when a reservation has a utilization percentage below the threshold. + */ + threshold: number; + /** + * The type of threshold. + * + * Supported for CategoryType(s): Cost. + */ + thresholdType?: string; + } + /** + * notificationResponseProvideDefaults sets the appropriate defaults for NotificationResponse + */ + export function notificationResponseProvideDefaults(val: NotificationResponse): NotificationResponse { + return { + ...val, + thresholdType: (val.thresholdType) ?? "Actual", + }; + } + + /** + * Each pivot must contain a 'type' and 'name'. + */ + export interface PivotPropertiesResponse { + /** + * Data field to show in view. + */ + name?: string; + /** + * Data type to show in view. + */ + type?: string; + } + + /** + * The aggregation expression to be used in the report. + */ + export interface ReportAggregationResponse { + /** + * The name of the aggregation function to use. + */ + function: string; + /** + * The name of the column to aggregate. + */ + name: string; + } + + /** + * The comparison expression to be used in the report. + */ + export interface ReportComparisonExpressionResponse { + /** + * The name of the column to use in comparison. + */ + name: string; + /** + * The operator to use for comparison. + */ + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; + } + + /** + * The aggregation expression to be used in the report. + */ + export interface ReportConfigAggregationResponse { + /** + * The name of the aggregation function to use. + */ + function: string; + /** + * The name of the column to aggregate. + */ + name: string; + } + + /** + * The comparison expression to be used in the report. + */ + export interface ReportConfigComparisonExpressionResponse { + /** + * The name of the column to use in comparison. + */ + name: string; + /** + * The operator to use for comparison. + */ + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; + } + + /** + * The configuration of dataset in the report. + */ + export interface ReportConfigDatasetConfigurationResponse { + /** + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + */ + columns?: string[]; + } + + /** + * The definition of data present in the report. + */ + export interface ReportConfigDatasetResponse { + /** + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. + */ + aggregation?: {[key: string]: outputs.costmanagement.ReportConfigAggregationResponse}; + /** + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. + */ + configuration?: outputs.costmanagement.ReportConfigDatasetConfigurationResponse; + /** + * Has filter expression to use in the report. + */ + filter?: outputs.costmanagement.ReportConfigFilterResponse; + /** + * The granularity of rows in the report. + */ + granularity?: string; + /** + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + */ + grouping?: outputs.costmanagement.ReportConfigGroupingResponse[]; + /** + * Array of order by expression to use in the report. + */ + sorting?: outputs.costmanagement.ReportConfigSortingResponse[]; + } + + /** + * The filter expression to be used in the report. + */ + export interface ReportConfigFilterResponse { + /** + * The logical "AND" expression. Must have at least 2 items. + */ + and?: outputs.costmanagement.ReportConfigFilterResponse[]; + /** + * Has comparison expression for a dimension + */ + dimensions?: outputs.costmanagement.ReportConfigComparisonExpressionResponse; + /** + * The logical "OR" expression. Must have at least 2 items. + */ + or?: outputs.costmanagement.ReportConfigFilterResponse[]; + /** + * Has comparison expression for a tag + */ + tags?: outputs.costmanagement.ReportConfigComparisonExpressionResponse; + } + + /** + * The group by expression to be used in the report. + */ + export interface ReportConfigGroupingResponse { + /** + * The name of the column to group. This version supports subscription lowest possible grain. + */ + name: string; + /** + * Has type of the column to group. + */ + type: string; + } + + /** + * The order by expression to be used in the report. + */ + export interface ReportConfigSortingResponse { + /** + * Direction of sort. + */ + direction?: string; + /** + * The name of the column to sort. + */ + name: string; + } + + /** + * The start and end date for pulling data for the report. + */ + export interface ReportConfigTimePeriodResponse { + /** + * The start date to pull data from. + */ + from: string; + /** + * The end date to pull data to. + */ + to: string; + } + + /** + * The configuration of dataset in the report. + */ + export interface ReportDatasetConfigurationResponse { + /** + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + */ + columns?: string[]; + } + + /** + * The definition of data present in the report. + */ + export interface ReportDatasetResponse { + /** + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. + */ + aggregation?: {[key: string]: outputs.costmanagement.ReportAggregationResponse}; + /** + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. + */ + configuration?: outputs.costmanagement.ReportDatasetConfigurationResponse; + /** + * Has filter expression to use in the report. + */ + filter?: outputs.costmanagement.ReportFilterResponse; + /** + * The granularity of rows in the report. + */ + granularity?: string; + /** + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + */ + grouping?: outputs.costmanagement.ReportGroupingResponse[]; + } + + /** + * The definition of a report. + */ + export interface ReportDefinitionResponse { + /** + * Has definition for data in this report. + */ + dataset?: outputs.costmanagement.ReportDatasetResponse; + /** + * Has time period for pulling data for the report. + */ + timePeriod?: outputs.costmanagement.ReportTimePeriodResponse; + /** + * The time frame for pulling data for the report. If custom, then a specific time period must be provided. + */ + timeframe: string; + /** + * The type of the report. + */ + type: string; + } + + /** + * The destination information for the delivery of the report. + */ + export interface ReportDeliveryDestinationResponse { + /** + * The name of the container where reports will be uploaded. + */ + container: string; + /** + * The resource id of the storage account where reports will be delivered. + */ + resourceId: string; + /** + * The name of the directory where reports will be uploaded. + */ + rootFolderPath?: string; + } + + /** + * The delivery information associated with a report. + */ + export interface ReportDeliveryInfoResponse { + /** + * Has destination for the report being delivered. + */ + destination: outputs.costmanagement.ReportDeliveryDestinationResponse; + } + + /** + * The filter expression to be used in the report. + */ + export interface ReportFilterResponse { + /** + * The logical "AND" expression. Must have at least 2 items. + */ + and?: outputs.costmanagement.ReportFilterResponse[]; + /** + * Has comparison expression for a dimension + */ + dimension?: outputs.costmanagement.ReportComparisonExpressionResponse; + /** + * The logical "NOT" expression. + */ + not?: outputs.costmanagement.ReportFilterResponse; + /** + * The logical "OR" expression. Must have at least 2 items. + */ + or?: outputs.costmanagement.ReportFilterResponse[]; + /** + * Has comparison expression for a tag + */ + tag?: outputs.costmanagement.ReportComparisonExpressionResponse; + } + + /** + * The group by expression to be used in the report. + */ + export interface ReportGroupingResponse { + /** + * The name of the column to group. + */ + name: string; + /** + * Has type of the column to group. + */ + type: string; + } + + /** + * The start and end date for recurrence schedule. + */ + export interface ReportRecurrencePeriodResponse { + /** + * The start date of recurrence. + */ + from: string; + /** + * The end date of recurrence. + */ + to?: string; + } + + /** + * The schedule associated with a report. + */ + export interface ReportScheduleResponse { + /** + * The schedule recurrence. + */ + recurrence: string; + /** + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. + */ + recurrencePeriod?: outputs.costmanagement.ReportRecurrencePeriodResponse; + /** + * The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused. + */ + status?: string; + } + + /** + * The start and end date for pulling data for the report. + */ + export interface ReportTimePeriodResponse { + /** + * The start date to pull data from. + */ + from: string; + /** + * The end date to pull data to. + */ + to: string; + } + + /** + * The properties of the schedule. + */ + export interface SchedulePropertiesResponse { + /** + * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. + */ + dayOfMonth?: number; + /** + * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. + */ + daysOfWeek?: string[]; + /** + * The end date and time of the scheduled action (UTC). + */ + endDate: string; + /** + * Frequency of the schedule. + */ + frequency: string; + /** + * UTC time at which cost analysis data will be emailed. + */ + hourOfDay?: number; + /** + * The start date and time of the scheduled action (UTC). + */ + startDate: string; + /** + * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. + */ + weeksOfMonth?: string[]; + } + + export interface SettingsPropertiesResponseCache { + /** + * Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown. + */ + channel: string; + /** + * Resource ID used by Resource Manager to uniquely identify the scope. + */ + id: string; + /** + * Display name for the scope. + */ + name: string; + /** + * Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription. + */ + parent?: string; + /** + * Indicates the status of the scope. Status only applies to subscriptions and billing accounts. + */ + status?: string; + /** + * Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable + */ + subchannel: string; + } + + /** + * Source resources for cost allocation + */ + export interface SourceCostAllocationResourceResponse { + /** + * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag + */ + name: string; + /** + * Type of resources contained in this cost allocation rule + */ + resourceType: string; + /** + * Source Resources for cost allocation. This list cannot contain more than 25 values. + */ + values: string[]; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * The properties of the tag inheritance setting. + */ + export interface TagInheritancePropertiesResponse { + /** + * When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied. + */ + preferContainerTags: boolean; + } + + /** + * Target resources for cost allocation. + */ + export interface TargetCostAllocationResourceResponse { + /** + * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag + */ + name: string; + /** + * Method of cost allocation for the rule + */ + policyType: string; + /** + * Type of resources contained in this cost allocation rule + */ + resourceType: string; + /** + * Target resources for cost allocation. This list cannot contain more than 25 values. + */ + values: outputs.costmanagement.CostAllocationProportionResponse[]; + } + + export namespace v20180801preview { + /** + * Details of any error encountered on last collection attempt + */ + export interface ConnectorCollectionErrorInfoResponse { /** - * UTC time at which cost analysis data will be emailed. + * Short error message */ - hourOfDay?: number; + errorCode: string; /** - * The start date and time of the scheduled action (UTC). + * Detailed error message */ - startDate: string; + errorMessage: string; /** - * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. + * Time the error started occurring (Last time error occurred in lastRun) */ - weeksOfMonth?: string[]; + errorStartTime: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * Collection and ingestion information */ - export interface SystemDataResponse { + export interface ConnectorCollectionInfoResponse { /** - * The timestamp of resource creation (UTC). + * Error information of last collection */ - createdAt?: string; + error?: outputs.costmanagement.v20180801preview.ConnectorCollectionErrorInfoResponse; /** - * The identity that created the resource. + * Last time the data acquisition process completed (even if no new data was found) */ - createdBy?: string; + lastRun: string; /** - * The type of identity that created the resource. + * Last time the external data was updated into Azure */ - createdByType?: string; + lastUpdated: string; /** - * The timestamp of resource last modification (UTC) + * Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp) */ - lastModifiedAt?: string; + sourceLastUpdated: string; + } + + /** + * The aggregation expression to be used in the report. + */ + export interface ReportAggregationResponse { /** - * The identity that last modified the resource. + * The name of the aggregation function to use. */ - lastModifiedBy?: string; + function: string; /** - * The type of identity that last modified the resource. + * The name of the column to aggregate. */ - lastModifiedByType?: string; + name: string; } - } - - export namespace v20230401preview { /** - * The comparison expression to be used in the budgets. + * The comparison expression to be used in the report. */ - export interface BudgetComparisonExpressionResponse { + export interface ReportComparisonExpressionResponse { /** * The name of the column to use in comparison. */ @@ -115054,491 +118203,573 @@ export namespace costmanagement { } /** - * The Dimensions or Tags to filter a budget by. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * The configuration of dataset in the report. */ - export interface BudgetFilterPropertiesResponse { + export interface ReportDatasetConfigurationResponse { /** - * Has comparison expression for a dimension. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported dimension names for **CategoryType: ReservationUtilization** - * - ReservationId - * - ReservedResourceType + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. */ - dimensions?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; + columns?: string[]; + } + + /** + * The definition of data present in the report. + */ + export interface ReportDatasetResponse { /** - * Has comparison expression for a tag. - * - * Supported for CategoryType(s): Cost. + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - tags?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; + aggregation?: {[key: string]: outputs.costmanagement.v20180801preview.ReportAggregationResponse}; + /** + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. + */ + configuration?: outputs.costmanagement.v20180801preview.ReportDatasetConfigurationResponse; + /** + * Has filter expression to use in the report. + */ + filter?: outputs.costmanagement.v20180801preview.ReportFilterResponse; + /** + * The granularity of rows in the report. + */ + granularity?: string; + /** + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + */ + grouping?: outputs.costmanagement.v20180801preview.ReportGroupingResponse[]; } /** - * May be used to filter budgets by user-specified dimensions and/or tags. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * The definition of a report. */ - export interface BudgetFilterResponse { + export interface ReportDefinitionResponse { /** - * The logical "AND" expression. Must have at least 2 items. - * - * Supported for CategoryType(s): Cost. + * Has definition for data in this report. */ - and?: outputs.costmanagement.v20230401preview.BudgetFilterPropertiesResponse[]; + dataset?: outputs.costmanagement.v20180801preview.ReportDatasetResponse; /** - * Has comparison expression for a dimension. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported dimension names for **CategoryType: ReservationUtilization** - * - ReservationId - * - ReservedResourceType + * Has time period for pulling data for the report. */ - dimensions?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; + timePeriod?: outputs.costmanagement.v20180801preview.ReportTimePeriodResponse; /** - * Has comparison expression for a tag. - * - * Supported for CategoryType(s): Cost. + * The time frame for pulling data for the report. If custom, then a specific time period must be provided. */ - tags?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; + timeframe: string; + /** + * The type of the report. + */ + type: string; } /** - * The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Required for CategoryType(s): Cost, ReservationUtilization. + * The destination information for the delivery of the report. */ - export interface BudgetTimePeriodResponse { + export interface ReportDeliveryDestinationResponse { /** - * The end date for the budget. - * - * - Constraints for **CategoryType: Cost** - No constraints. If not provided, we default this to 10 years from the start date. - * - * - Constraints for **CategoryType: ReservationUtilization** - End date cannot be more than 3 years after the start date. + * The name of the container where reports will be uploaded. */ - endDate?: string; + container: string; /** - * The start date for the budget. - * - * - Constraints for **CategoryType: Cost** - Must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. - * - * - Constraints for **CategoryType: ReservationUtilization** - Must be on or after the current date and less than the end date. + * The resource id of the storage account where reports will be delivered. */ - startDate: string; + resourceId: string; + /** + * The name of the directory where reports will be uploaded. + */ + rootFolderPath?: string; } /** - * The common properties of the export. + * The delivery information associated with a report. */ - export interface CommonExportPropertiesResponse { + export interface ReportDeliveryInfoResponse { /** - * Has the definition for the export. + * Has destination for the report being delivered. */ - definition: outputs.costmanagement.v20230401preview.ExportDefinitionResponse; + destination: outputs.costmanagement.v20180801preview.ReportDeliveryDestinationResponse; + } + + /** + * The filter expression to be used in the report. + */ + export interface ReportFilterResponse { /** - * Has delivery information for the export. + * The logical "AND" expression. Must have at least 2 items. */ - deliveryInfo: outputs.costmanagement.v20230401preview.ExportDeliveryInfoResponse; + and?: outputs.costmanagement.v20180801preview.ReportFilterResponse[]; /** - * The format of the export being delivered. Currently only 'Csv' is supported. + * Has comparison expression for a dimension */ - format?: string; + dimension?: outputs.costmanagement.v20180801preview.ReportComparisonExpressionResponse; /** - * If the export has an active schedule, provides an estimate of the next run time. + * The logical "NOT" expression. */ - nextRunTimeEstimate: string; + not?: outputs.costmanagement.v20180801preview.ReportFilterResponse; /** - * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. + * The logical "OR" expression. Must have at least 2 items. */ - partitionData?: boolean; + or?: outputs.costmanagement.v20180801preview.ReportFilterResponse[]; /** - * If requested, has the most recent run history for the export. + * Has comparison expression for a tag */ - runHistory?: outputs.costmanagement.v20230401preview.ExportExecutionListResultResponse; + tag?: outputs.costmanagement.v20180801preview.ReportComparisonExpressionResponse; } /** - * The current amount of cost which is being tracked for a budget. - * - * Supported for CategoryType(s): Cost. + * The group by expression to be used in the report. */ - export interface CurrentSpendResponse { + export interface ReportGroupingResponse { /** - * The total amount of cost which is being tracked by the budget. + * The name of the column to group. */ - amount: number; + name: string; /** - * The unit of measure for the budget amount. + * Has type of the column to group. */ - unit: string; + type: string; } /** - * The details of the error. + * The start and end date for recurrence schedule. */ - export interface ErrorDetailsResponse { + export interface ReportRecurrencePeriodResponse { /** - * Error code. + * The start date of recurrence. */ - code: string; + from: string; /** - * Error message indicating why the operation failed. + * The end date of recurrence. */ - message: string; + to?: string; } /** - * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. + * The schedule associated with a report. */ - export interface ExportDatasetConfigurationResponse { + export interface ReportScheduleResponse { /** - * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). + * The schedule recurrence. */ - columns?: string[]; + recurrence: string; + /** + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. + */ + recurrencePeriod?: outputs.costmanagement.v20180801preview.ReportRecurrencePeriodResponse; + /** + * The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused. + */ + status?: string; } /** - * The definition for data in the export. + * The start and end date for pulling data for the report. */ - export interface ExportDatasetResponse { + export interface ReportTimePeriodResponse { /** - * The export dataset configuration. + * The start date to pull data from. */ - configuration?: outputs.costmanagement.v20230401preview.ExportDatasetConfigurationResponse; + from: string; /** - * The granularity of rows in the export. Currently only 'Daily' is supported. + * The end date to pull data to. */ - granularity?: string; + to: string; } + } + + export namespace v20190301preview { /** - * The definition of an export. + * Details of any error encountered on last collection attempt */ - export interface ExportDefinitionResponse { + export interface ConnectorCollectionErrorInfoResponse { /** - * The definition for data in the export. + * Short error code */ - dataSet?: outputs.costmanagement.v20230401preview.ExportDatasetResponse; + errorCode: string; /** - * Has time period for pulling data for the export. + * External Provider error message */ - timePeriod?: outputs.costmanagement.v20230401preview.ExportTimePeriodResponse; + errorInnerMessage: string; /** - * The time frame for pulling data for the export. If custom, then a specific time period must be provided. + * Detailed error message */ - timeframe: string; + errorMessage: string; /** - * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. + * Time the error started occurring (Last time error occurred in lastChecked) */ - type: string; + errorStartTime: string; } /** - * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). + * Collection and ingestion information */ - export interface ExportDeliveryDestinationResponse { - /** - * The name of the container where exports will be uploaded. If the container does not exist it will be created. - */ - container: string; + export interface ConnectorCollectionInfoResponse { /** - * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. + * Error information of last collection */ - resourceId?: string; + error?: outputs.costmanagement.v20190301preview.ConnectorCollectionErrorInfoResponse; /** - * The name of the directory where exports will be uploaded. + * Last time the data acquisition process initiated connecting to the external provider */ - rootFolderPath?: string; + lastChecked: string; /** - * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. + * Last time the external data was updated into Azure */ - sasToken?: string; + lastUpdated: string; /** - * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. + * Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp) */ - storageAccount?: string; + sourceLastUpdated: string; } + } + + export namespace v20190401preview { /** - * The delivery information associated with a export. + * The start and end date for a budget. */ - export interface ExportDeliveryInfoResponse { + export interface BudgetTimePeriodResponse { /** - * Has destination for the export being delivered. + * The end date for the budget. If not provided, we default this to 10 years from the start date. */ - destination: outputs.costmanagement.v20230401preview.ExportDeliveryDestinationResponse; - } - - /** - * Result of listing the run history of an export. - */ - export interface ExportExecutionListResultResponse { + endDate?: string; /** - * A list of export runs. + * The start date for the budget. */ - value: outputs.costmanagement.v20230401preview.ExportRunResponse[]; + startDate: string; } /** - * The start and end date for recurrence schedule. + * The current amount of cost which is being tracked for a budget. */ - export interface ExportRecurrencePeriodResponse { + export interface CurrentSpendResponse { /** - * The start date of recurrence. + * The total amount of cost which is being tracked by the budget. */ - from: string; + amount: number; /** - * The end date of recurrence. + * The unit of measure for the budget amount. */ - to?: string; + unit: string; } /** - * An export run. + * The notification associated with a budget. */ - export interface ExportRunResponse { + export interface NotificationResponse { /** - * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. + * Email addresses to send the budget notification to when the threshold is exceeded. */ - eTag?: string; + contactEmails: string[]; /** - * The details of any error. + * Action groups to send the budget notification to when the threshold is exceeded. */ - error?: outputs.costmanagement.v20230401preview.ErrorDetailsResponse; + contactGroups?: string[]; /** - * The type of the export run. + * Contact roles to send the budget notification to when the threshold is exceeded. */ - executionType?: string; + contactRoles?: string[]; /** - * The name of the exported file. + * The notification is enabled or not. */ - fileName?: string; + enabled: boolean; /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The comparison operator. */ - id: string; + operator: string; /** - * The name of the resource + * Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. + */ + threshold: number; + } + + /** + * The comparison expression to be used in the report. + */ + export interface ReportConfigComparisonExpressionResponse { + /** + * The name of the column to use in comparison. */ name: string; /** - * The time when the export run finished. + * The operator to use for comparison. */ - processingEndTime?: string; + operator: string; /** - * The time when export was picked up to be run. + * Array of values to use for comparison */ - processingStartTime?: string; + values: string[]; + } + + /** + * The filter expression to be used in the report. + */ + export interface ReportConfigFilterResponse { /** - * The export settings that were in effect for this run. + * The logical "AND" expression. Must have at least 2 items. */ - runSettings?: outputs.costmanagement.v20230401preview.CommonExportPropertiesResponse; + and?: outputs.costmanagement.v20190401preview.ReportConfigFilterResponse[]; /** - * The last known status of the export run. + * Has comparison expression for a dimension */ - status?: string; + dimension?: outputs.costmanagement.v20190401preview.ReportConfigComparisonExpressionResponse; /** - * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. + * The logical "NOT" expression. */ - submittedBy?: string; + not?: outputs.costmanagement.v20190401preview.ReportConfigFilterResponse; /** - * The time when export was queued to be run. + * The logical "OR" expression. Must have at least 2 items. */ - submittedTime?: string; + or?: outputs.costmanagement.v20190401preview.ReportConfigFilterResponse[]; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * Has comparison expression for a tag */ - type: string; + tag?: outputs.costmanagement.v20190401preview.ReportConfigComparisonExpressionResponse; } + } + + export namespace v20191001 { /** - * The schedule associated with the export. + * The destination information for the delivery of the export. */ - export interface ExportScheduleResponse { + export interface ExportDeliveryDestinationResponse { /** - * The schedule recurrence. + * The name of the container where exports will be uploaded. */ - recurrence?: string; + container: string; /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. + * The resource id of the storage account where exports will be delivered. */ - recurrencePeriod?: outputs.costmanagement.v20230401preview.ExportRecurrencePeriodResponse; + resourceId: string; /** - * The status of the export's schedule. If 'Inactive', the export's schedule is paused. + * The name of the directory where exports will be uploaded. */ - status?: string; + rootFolderPath?: string; } /** - * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. + * The delivery information associated with a export. */ - export interface ExportTimePeriodResponse { - /** - * The start date for export data. - */ - from: string; + export interface ExportDeliveryInfoResponse { /** - * The end date for export data. + * Has destination for the export being delivered. */ - to: string; + destination: outputs.costmanagement.v20191001.ExportDeliveryDestinationResponse; } /** - * Destination of the view data. This is optional. Currently only CSV format is supported. + * The start and end date for recurrence schedule. */ - export interface FileDestinationResponse { + export interface ExportRecurrencePeriodResponse { /** - * Destination of the view data. Currently only CSV format is supported. + * The start date of recurrence. */ - fileFormats?: string[]; + from: string; + /** + * The end date of recurrence. + */ + to?: string; } /** - * The forecasted cost which is being tracked for a budget. - * - * Supported for CategoryType(s): Cost. + * The schedule associated with a export. */ - export interface ForecastSpendResponse { + export interface ExportScheduleResponse { /** - * The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type. + * The schedule recurrence. */ - amount: number; + recurrence: string; /** - * The unit of measure for the budget amount. + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. */ - unit: string; + recurrencePeriod?: outputs.costmanagement.v20191001.ExportRecurrencePeriodResponse; + /** + * The status of the schedule. Whether active or not. If inactive, the export's scheduled execution is paused. + */ + status?: string; } /** - * Each KPI must contain a 'type' and 'enabled' key. + * The aggregation expression to be used in the query. */ - export interface KpiPropertiesResponse { - /** - * show the KPI in the UI? - */ - enabled?: boolean; + export interface QueryAggregationResponse { /** - * ID of resource related to metric (budget). + * The name of the aggregation function to use. */ - id?: string; + function: string; /** - * KPI type (Forecast, Budget). + * The name of the column to aggregate. */ - type?: string; + name: string; } /** - * The properties of the scheduled action notification. + * The comparison expression to be used in the query. */ - export interface NotificationPropertiesResponse { + export interface QueryComparisonExpressionResponse { /** - * Locale of the email. + * The name of the column to use in comparison. */ - language?: string; + name: string; /** - * Optional message to be added in the email. Length is limited to 250 characters. + * The operator to use for comparison. */ - message?: string; + operator: string; /** - * Regional format used for formatting date/time and currency values in the email. + * Array of values to use for comparison */ - regionalFormat?: string; + values: string[]; + } + + /** + * The configuration of dataset in the query. + */ + export interface QueryDatasetConfigurationResponse { /** - * Subject of the email. Length is limited to 70 characters. + * Array of column names to be included in the query. Any valid query column name is allowed. If not provided, then query includes all columns. */ - subject: string; + columns?: string[]; + } + + /** + * The definition of data present in the query. + */ + export interface QueryDatasetResponse { /** - * Array of email addresses. + * Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses. */ - to: string[]; + aggregation?: {[key: string]: outputs.costmanagement.v20191001.QueryAggregationResponse}; + /** + * Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided. + */ + configuration?: outputs.costmanagement.v20191001.QueryDatasetConfigurationResponse; + /** + * The filter expression to use in the query. Please reference our Query API REST documentation for how to properly format the filter. + */ + filter?: outputs.costmanagement.v20191001.QueryFilterResponse; + /** + * The granularity of rows in the query. + */ + granularity?: string; + /** + * Array of group by expression to use in the query. Query can have up to 2 group by clauses. + */ + grouping?: outputs.costmanagement.v20191001.QueryGroupingResponse[]; + /** + * Array of sorting by columns in query. + */ + sorting?: outputs.costmanagement.v20191001.QuerySortingConfigurationResponse[]; } /** - * The notification associated with a budget. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * The definition of a query. */ - export interface NotificationResponse { + export interface QueryDefinitionResponse { /** - * Email addresses to send the notification to when the threshold is breached. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * Has definition for data in this query. */ - contactEmails: string[]; + dataset?: outputs.costmanagement.v20191001.QueryDatasetResponse; /** - * Subscription or Resource Group scopes only. Action groups to send the notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. - * - * Supported for CategoryType(s): Cost. + * Has time period for pulling data for the query. */ - contactGroups?: string[]; + timePeriod?: outputs.costmanagement.v20191001.QueryTimePeriodResponse; /** - * Subscription or Resource Group scopes only. Contact roles to send the notification to when the threshold is breached. - * - * Supported for CategoryType(s): Cost. + * The time frame for pulling data for the query. If custom, then a specific time period must be provided. */ - contactRoles?: string[]; + timeframe: string; /** - * The notification is enabled or not. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * The type of the query. */ - enabled: boolean; + type: string; + } + + /** + * The filter expression to be used in the export. + */ + export interface QueryFilterResponse { /** - * Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). - * - * Supported for CategoryType(s): ReservationUtilization. + * The logical "AND" expression. Must have at least 2 items. */ - frequency?: string; + and?: outputs.costmanagement.v20191001.QueryFilterResponse[]; /** - * Language in which the recipient will receive the notification, - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * Has comparison expression for a dimension */ - locale?: string; + dimension?: outputs.costmanagement.v20191001.QueryComparisonExpressionResponse; /** - * The comparison operator. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported operators for **CategoryType: Cost** - * - GreaterThan - * - GreaterThanOrEqualTo - * - * Supported operators for **CategoryType: ReservationUtilization** - * - LessThan + * The logical "NOT" expression. */ - operator: string; + not?: outputs.costmanagement.v20191001.QueryFilterResponse; /** - * Threshold value associated with a notification. It is always percent with a maximum of 2 decimal places. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * **CategoryType: Cost** - Must be between 0 and 1000. Notification is sent when the cost exceeded the threshold. - * - * **CategoryType: ReservationUtilization** - Must be between 0 and 100. Notification is sent when a reservation has a utilization percentage below the threshold. + * The logical "OR" expression. Must have at least 2 items. */ - threshold: number; + or?: outputs.costmanagement.v20191001.QueryFilterResponse[]; /** - * The type of threshold. - * - * Supported for CategoryType(s): Cost. + * Has comparison expression for a tag */ - thresholdType?: string; + tag?: outputs.costmanagement.v20191001.QueryComparisonExpressionResponse; } + /** - * notificationResponseProvideDefaults sets the appropriate defaults for NotificationResponse + * The group by expression to be used in the query. */ - export function notificationResponseProvideDefaults(val: NotificationResponse): NotificationResponse { - return { - ...val, - thresholdType: (val.thresholdType) ?? "Actual", - }; + export interface QueryGroupingResponse { + /** + * The name of the column to group. + */ + name: string; + /** + * Has type of the column to group. + */ + type: string; + } + + /** + * The configuration for sorting in the query. + */ + export interface QuerySortingConfigurationResponse { + /** + * The name of the column to use in sorting. + */ + name?: string; + /** + * The sorting direction + */ + querySortingDirection?: string; + } + + /** + * The start and end date for pulling data for the query. + */ + export interface QueryTimePeriodResponse { + /** + * The start date to pull data from. + */ + from: string; + /** + * The end date to pull data to. + */ + to: string; + } + + } + + export namespace v20191101 { + /** + * Each KPI must contain a 'type' and 'enabled' key. + */ + export interface KpiPropertiesResponse { + /** + * show the KPI in the UI? + */ + enabled?: boolean; + /** + * ID of resource related to metric (budget). + */ + id?: string; + /** + * KPI type (Forecast, Budget). + */ + type?: string; } /** @@ -115604,15 +118835,15 @@ export namespace costmanagement { /** * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - aggregation?: {[key: string]: outputs.costmanagement.v20230401preview.ReportConfigAggregationResponse}; + aggregation?: {[key: string]: outputs.costmanagement.v20191101.ReportConfigAggregationResponse}; /** * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. */ - configuration?: outputs.costmanagement.v20230401preview.ReportConfigDatasetConfigurationResponse; + configuration?: outputs.costmanagement.v20191101.ReportConfigDatasetConfigurationResponse; /** * Has filter expression to use in the report. */ - filter?: outputs.costmanagement.v20230401preview.ReportConfigFilterResponse; + filter?: outputs.costmanagement.v20191101.ReportConfigFilterResponse; /** * The granularity of rows in the report. */ @@ -115620,11 +118851,11 @@ export namespace costmanagement { /** * Array of group by expression to use in the report. Report can have up to 2 group by clauses. */ - grouping?: outputs.costmanagement.v20230401preview.ReportConfigGroupingResponse[]; + grouping?: outputs.costmanagement.v20191101.ReportConfigGroupingResponse[]; /** * Array of order by expression to use in the report. */ - sorting?: outputs.costmanagement.v20230401preview.ReportConfigSortingResponse[]; + sorting?: outputs.costmanagement.v20191101.ReportConfigSortingResponse[]; } /** @@ -115634,19 +118865,27 @@ export namespace costmanagement { /** * The logical "AND" expression. Must have at least 2 items. */ - and?: outputs.costmanagement.v20230401preview.ReportConfigFilterResponse[]; + and?: outputs.costmanagement.v20191101.ReportConfigFilterResponse[]; /** * Has comparison expression for a dimension */ - dimensions?: outputs.costmanagement.v20230401preview.ReportConfigComparisonExpressionResponse; + dimensions?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; /** * The logical "OR" expression. Must have at least 2 items. */ - or?: outputs.costmanagement.v20230401preview.ReportConfigFilterResponse[]; + or?: outputs.costmanagement.v20191101.ReportConfigFilterResponse[]; + /** + * Has comparison expression for a tag key + */ + tagKey?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; + /** + * Has comparison expression for a tag value + */ + tagValue?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; /** * Has comparison expression for a tag */ - tags?: outputs.costmanagement.v20230401preview.ReportConfigComparisonExpressionResponse; + tags?: outputs.costmanagement.v20191101.ReportConfigComparisonExpressionResponse; } /** @@ -115691,523 +118930,491 @@ export namespace costmanagement { to: string; } - /** - * The properties of the schedule. - */ - export interface SchedulePropertiesResponse { - /** - * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. - */ - dayOfMonth?: number; + export interface SettingsPropertiesResponseCache { /** - * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. + * Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown. */ - daysOfWeek?: string[]; + channel: string; /** - * The end date and time of the scheduled action (UTC). + * Resource ID used by Resource Manager to uniquely identify the scope. */ - endDate: string; + id: string; /** - * Frequency of the schedule. + * Display name for the scope. */ - frequency: string; + name: string; /** - * UTC time at which cost analysis data will be emailed. + * Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription. */ - hourOfDay?: number; + parent?: string; /** - * The start date and time of the scheduled action (UTC). + * Indicates the status of the scope. Status only applies to subscriptions and billing accounts. */ - startDate: string; + status?: string; /** - * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. + * Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable */ - weeksOfMonth?: string[]; + subchannel: string; } + } + + export namespace v20200301preview { /** - * Managed service identity (either system assigned, or none) + * Target resources and allocation */ - export interface SystemAssignedServiceIdentityResponse { - /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - principalId: string; + export interface CostAllocationProportionResponse { /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * Target resource for cost allocation */ - tenantId: string; + name: string; /** - * Type of managed service identity (either system assigned, or none). + * Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00. */ - type: string; + percentage: number; } /** - * Metadata pertaining to creation and last modification of the resource. + * Resource details of the cost allocation rule */ - export interface SystemDataResponse { + export interface CostAllocationRuleDetailsResponse { /** - * The timestamp of resource creation (UTC). + * Source resources for cost allocation. At this time, this list can contain no more than one element. */ - createdAt?: string; + sourceResources?: outputs.costmanagement.v20200301preview.SourceCostAllocationResourceResponse[]; /** - * The identity that created the resource. + * Target resources for cost allocation. At this time, this list can contain no more than one element. */ - createdBy?: string; + targetResources?: outputs.costmanagement.v20200301preview.TargetCostAllocationResourceResponse[]; + } + + /** + * The properties of a cost allocation rule + */ + export interface CostAllocationRulePropertiesResponse { /** - * The type of identity that created the resource. + * Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation. */ - createdByType?: string; + createdDate: string; /** - * The timestamp of resource last modification (UTC) + * Description of a cost allocation rule. */ - lastModifiedAt?: string; + description?: string; /** - * The identity that last modified the resource. + * Resource information for the cost allocation rule */ - lastModifiedBy?: string; + details: outputs.costmanagement.v20200301preview.CostAllocationRuleDetailsResponse; /** - * The type of identity that last modified the resource. + * Status of the rule */ - lastModifiedByType?: string; + status: string; + /** + * Time at which the rule was last updated. + */ + updatedDate: string; } - } - - export namespace v20230801 { /** - * The comparison expression to be used in the budgets. + * Source resources for cost allocation */ - export interface BudgetComparisonExpressionResponse { + export interface SourceCostAllocationResourceResponse { /** - * The name of the column to use in comparison. + * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag */ name: string; /** - * The operator to use for comparison. + * Type of resources contained in this cost allocation rule */ - operator: string; + resourceType: string; /** - * Array of values to use for comparison + * Source Resources for cost allocation. This list cannot contain more than 25 values. */ values: string[]; } /** - * The Dimensions or Tags to filter a budget by. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * Target resources for cost allocation. */ - export interface BudgetFilterPropertiesResponse { + export interface TargetCostAllocationResourceResponse { /** - * Has comparison expression for a dimension. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported dimension names for **CategoryType: ReservationUtilization** - * - ReservationId - * - ReservedResourceType + * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag */ - dimensions?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + name: string; /** - * Has comparison expression for a tag. - * - * Supported for CategoryType(s): Cost. + * Method of cost allocation for the rule */ - tags?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + policyType: string; + /** + * Type of resources contained in this cost allocation rule + */ + resourceType: string; + /** + * Target resources for cost allocation. This list cannot contain more than 25 values. + */ + values: outputs.costmanagement.v20200301preview.CostAllocationProportionResponse[]; } + } + + export namespace v20200601 { /** - * May be used to filter budgets by user-specified dimensions and/or tags. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. + * Each KPI must contain a 'type' and 'enabled' key. */ - export interface BudgetFilterResponse { + export interface KpiPropertiesResponse { /** - * The logical "AND" expression. Must have at least 2 items. - * - * Supported for CategoryType(s): Cost. + * show the KPI in the UI? */ - and?: outputs.costmanagement.v20230801.BudgetFilterPropertiesResponse[]; + enabled?: boolean; /** - * Has comparison expression for a dimension. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported dimension names for **CategoryType: ReservationUtilization** - * - ReservationId - * - ReservedResourceType + * ID of resource related to metric (budget). */ - dimensions?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + id?: string; /** - * Has comparison expression for a tag. - * - * Supported for CategoryType(s): Cost. + * KPI type (Forecast, Budget). */ - tags?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + type?: string; } /** - * The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Required for CategoryType(s): Cost, ReservationUtilization. + * Each pivot must contain a 'type' and 'name'. */ - export interface BudgetTimePeriodResponse { + export interface PivotPropertiesResponse { /** - * The end date for the budget. - * - * - Constraints for **CategoryType: Cost** - No constraints. If not provided, we default this to 10 years from the start date. - * - * - Constraints for **CategoryType: ReservationUtilization** - End date cannot be more than 3 years after the start date. + * Data field to show in view. */ - endDate?: string; + name?: string; /** - * The start date for the budget. - * - * - Constraints for **CategoryType: Cost** - Must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. - * - * - Constraints for **CategoryType: ReservationUtilization** - Must be on or after the current date and less than the end date. + * Data type to show in view. */ - startDate: string; + type?: string; } /** - * The common properties of the export. + * The aggregation expression to be used in the report. */ - export interface CommonExportPropertiesResponse { - /** - * Has the definition for the export. - */ - definition: outputs.costmanagement.v20230801.ExportDefinitionResponse; - /** - * Has delivery information for the export. - */ - deliveryInfo: outputs.costmanagement.v20230801.ExportDeliveryInfoResponse; - /** - * The format of the export being delivered. Currently only 'Csv' is supported. - */ - format?: string; - /** - * If the export has an active schedule, provides an estimate of the next run time. - */ - nextRunTimeEstimate: string; + export interface ReportConfigAggregationResponse { /** - * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. + * The name of the aggregation function to use. */ - partitionData?: boolean; + function: string; /** - * If requested, has the most recent run history for the export. + * The name of the column to aggregate. */ - runHistory?: outputs.costmanagement.v20230801.ExportExecutionListResultResponse; + name: string; } /** - * Target resources and allocation + * The comparison expression to be used in the report. */ - export interface CostAllocationProportionResponse { + export interface ReportConfigComparisonExpressionResponse { /** - * Target resource for cost allocation + * The name of the column to use in comparison. */ name: string; /** - * Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00. + * The operator to use for comparison. */ - percentage: number; + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; } /** - * Resource details of the cost allocation rule + * The configuration of dataset in the report. */ - export interface CostAllocationRuleDetailsResponse { - /** - * Source resources for cost allocation. At this time, this list can contain no more than one element. - */ - sourceResources?: outputs.costmanagement.v20230801.SourceCostAllocationResourceResponse[]; + export interface ReportConfigDatasetConfigurationResponse { /** - * Target resources for cost allocation. At this time, this list can contain no more than one element. + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. */ - targetResources?: outputs.costmanagement.v20230801.TargetCostAllocationResourceResponse[]; + columns?: string[]; } /** - * The properties of a cost allocation rule + * The definition of data present in the report. */ - export interface CostAllocationRulePropertiesResponse { + export interface ReportConfigDatasetResponse { /** - * Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation. + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - createdDate: string; + aggregation?: {[key: string]: outputs.costmanagement.v20200601.ReportConfigAggregationResponse}; /** - * Description of a cost allocation rule. + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. */ - description?: string; + configuration?: outputs.costmanagement.v20200601.ReportConfigDatasetConfigurationResponse; /** - * Resource information for the cost allocation rule + * Has filter expression to use in the report. */ - details: outputs.costmanagement.v20230801.CostAllocationRuleDetailsResponse; + filter?: outputs.costmanagement.v20200601.ReportConfigFilterResponse; /** - * Status of the rule + * The granularity of rows in the report. */ - status: string; + granularity?: string; /** - * Time at which the rule was last updated. + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. */ - updatedDate: string; + grouping?: outputs.costmanagement.v20200601.ReportConfigGroupingResponse[]; + /** + * Array of order by expression to use in the report. + */ + sorting?: outputs.costmanagement.v20200601.ReportConfigSortingResponse[]; } /** - * The current amount of cost which is being tracked for a budget. - * - * Supported for CategoryType(s): Cost. + * The filter expression to be used in the report. */ - export interface CurrentSpendResponse { + export interface ReportConfigFilterResponse { /** - * The total amount of cost which is being tracked by the budget. + * The logical "AND" expression. Must have at least 2 items. */ - amount: number; + and?: outputs.costmanagement.v20200601.ReportConfigFilterResponse[]; /** - * The unit of measure for the budget amount. + * Has comparison expression for a dimension */ - unit: string; - } - - /** - * The details of the error. - */ - export interface ErrorDetailsResponse { + dimension?: outputs.costmanagement.v20200601.ReportConfigComparisonExpressionResponse; /** - * Error code. + * The logical "NOT" expression. */ - code: string; + not?: outputs.costmanagement.v20200601.ReportConfigFilterResponse; /** - * Error message indicating why the operation failed. + * The logical "OR" expression. Must have at least 2 items. */ - message: string; - } - - /** - * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. - */ - export interface ExportDatasetConfigurationResponse { + or?: outputs.costmanagement.v20200601.ReportConfigFilterResponse[]; /** - * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). + * Has comparison expression for a tag */ - columns?: string[]; + tag?: outputs.costmanagement.v20200601.ReportConfigComparisonExpressionResponse; } /** - * The definition for data in the export. + * The group by expression to be used in the report. */ - export interface ExportDatasetResponse { + export interface ReportConfigGroupingResponse { /** - * The export dataset configuration. + * The name of the column to group. This version supports subscription lowest possible grain. */ - configuration?: outputs.costmanagement.v20230801.ExportDatasetConfigurationResponse; + name: string; /** - * The granularity of rows in the export. Currently only 'Daily' is supported. + * Has type of the column to group. */ - granularity?: string; + type: string; } /** - * The definition of an export. + * The order by expression to be used in the report. */ - export interface ExportDefinitionResponse { - /** - * The definition for data in the export. - */ - dataSet?: outputs.costmanagement.v20230801.ExportDatasetResponse; - /** - * Has time period for pulling data for the export. - */ - timePeriod?: outputs.costmanagement.v20230801.ExportTimePeriodResponse; + export interface ReportConfigSortingResponse { /** - * The time frame for pulling data for the export. If custom, then a specific time period must be provided. + * Direction of sort. */ - timeframe: string; + direction?: string; /** - * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. + * The name of the column to sort. */ - type: string; + name: string; } /** - * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). + * The start and end date for pulling data for the report. */ - export interface ExportDeliveryDestinationResponse { + export interface ReportConfigTimePeriodResponse { /** - * The name of the container where exports will be uploaded. If the container does not exist it will be created. + * The start date to pull data from. */ - container: string; + from: string; /** - * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. + * The end date to pull data to. */ - resourceId?: string; + to: string; + } + + } + + export namespace v20221001 { + /** + * Each KPI must contain a 'type' and 'enabled' key. + */ + export interface KpiPropertiesResponse { /** - * The name of the directory where exports will be uploaded. + * show the KPI in the UI? */ - rootFolderPath?: string; + enabled?: boolean; /** - * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. + * ID of resource related to metric (budget). */ - sasToken?: string; + id?: string; /** - * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. + * KPI type (Forecast, Budget). */ - storageAccount?: string; + type?: string; } /** - * The delivery information associated with a export. + * Each pivot must contain a 'type' and 'name'. */ - export interface ExportDeliveryInfoResponse { + export interface PivotPropertiesResponse { /** - * Has destination for the export being delivered. + * Data field to show in view. */ - destination: outputs.costmanagement.v20230801.ExportDeliveryDestinationResponse; + name?: string; + /** + * Data type to show in view. + */ + type?: string; } /** - * Result of listing the run history of an export. + * The aggregation expression to be used in the report. */ - export interface ExportExecutionListResultResponse { + export interface ReportConfigAggregationResponse { /** - * A list of export runs. + * The name of the aggregation function to use. */ - value: outputs.costmanagement.v20230801.ExportRunResponse[]; + function: string; + /** + * The name of the column to aggregate. + */ + name: string; } /** - * The start and end date for recurrence schedule. + * The comparison expression to be used in the report. */ - export interface ExportRecurrencePeriodResponse { + export interface ReportConfigComparisonExpressionResponse { /** - * The start date of recurrence. + * The name of the column to use in comparison. */ - from: string; + name: string; /** - * The end date of recurrence. + * The operator to use for comparison. */ - to?: string; + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; } /** - * An export run. + * The configuration of dataset in the report. */ - export interface ExportRunResponse { + export interface ReportConfigDatasetConfigurationResponse { /** - * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. */ - eTag?: string; + columns?: string[]; + } + + /** + * The definition of data present in the report. + */ + export interface ReportConfigDatasetResponse { /** - * The details of any error. + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - error?: outputs.costmanagement.v20230801.ErrorDetailsResponse; + aggregation?: {[key: string]: outputs.costmanagement.v20221001.ReportConfigAggregationResponse}; /** - * The type of the export run. + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. */ - executionType?: string; + configuration?: outputs.costmanagement.v20221001.ReportConfigDatasetConfigurationResponse; /** - * The name of the exported file. + * Has filter expression to use in the report. */ - fileName?: string; + filter?: outputs.costmanagement.v20221001.ReportConfigFilterResponse; /** - * Resource Id. + * The granularity of rows in the report. */ - id: string; + granularity?: string; /** - * Resource name. + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. */ - name: string; + grouping?: outputs.costmanagement.v20221001.ReportConfigGroupingResponse[]; /** - * The time when the export run finished. + * Array of order by expression to use in the report. */ - processingEndTime?: string; + sorting?: outputs.costmanagement.v20221001.ReportConfigSortingResponse[]; + } + + /** + * The filter expression to be used in the report. + */ + export interface ReportConfigFilterResponse { /** - * The time when export was picked up to be run. + * The logical "AND" expression. Must have at least 2 items. */ - processingStartTime?: string; + and?: outputs.costmanagement.v20221001.ReportConfigFilterResponse[]; /** - * The export settings that were in effect for this run. + * Has comparison expression for a dimension */ - runSettings?: outputs.costmanagement.v20230801.CommonExportPropertiesResponse; + dimensions?: outputs.costmanagement.v20221001.ReportConfigComparisonExpressionResponse; /** - * The last known status of the export run. + * The logical "OR" expression. Must have at least 2 items. */ - status?: string; + or?: outputs.costmanagement.v20221001.ReportConfigFilterResponse[]; /** - * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. + * Has comparison expression for a tag */ - submittedBy?: string; + tags?: outputs.costmanagement.v20221001.ReportConfigComparisonExpressionResponse; + } + + /** + * The group by expression to be used in the report. + */ + export interface ReportConfigGroupingResponse { /** - * The time when export was queued to be run. + * The name of the column to group. This version supports subscription lowest possible grain. */ - submittedTime?: string; + name: string; /** - * Resource type. + * Has type of the column to group. */ type: string; } /** - * The schedule associated with the export. + * The order by expression to be used in the report. */ - export interface ExportScheduleResponse { - /** - * The schedule recurrence. - */ - recurrence?: string; + export interface ReportConfigSortingResponse { /** - * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. + * Direction of sort. */ - recurrencePeriod?: outputs.costmanagement.v20230801.ExportRecurrencePeriodResponse; + direction?: string; /** - * The status of the export's schedule. If 'Inactive', the export's schedule is paused. + * The name of the column to sort. */ - status?: string; + name: string; } /** - * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. + * The start and end date for pulling data for the report. */ - export interface ExportTimePeriodResponse { + export interface ReportConfigTimePeriodResponse { /** - * The start date for export data. + * The start date to pull data from. */ from: string; /** - * The end date for export data. + * The end date to pull data to. */ to: string; } - /** - * Destination of the view data. This is optional. Currently only CSV format is supported. - */ - export interface FileDestinationResponse { - /** - * Destination of the view data. Currently only CSV format is supported. - */ - fileFormats?: string[]; - } + } + export namespace v20221005preview { /** - * The forecasted cost which is being tracked for a budget. - * - * Supported for CategoryType(s): Cost. + * The customer billing metadata */ - export interface ForecastSpendResponse { + export interface CustomerMetadataResponse { /** - * The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type. + * Customer billing account id */ - amount: number; + billingAccountId: string; /** - * The unit of measure for the budget amount. + * Customer billing profile id */ - unit: string; + billingProfileId: string; } /** @@ -116228,114 +119435,6 @@ export namespace costmanagement { type?: string; } - /** - * The properties of the scheduled action notification. - */ - export interface NotificationPropertiesResponse { - /** - * Locale of the email. - */ - language?: string; - /** - * Optional message to be added in the email. Length is limited to 250 characters. - */ - message?: string; - /** - * Regional format used for formatting date/time and currency values in the email. - */ - regionalFormat?: string; - /** - * Subject of the email. Length is limited to 70 characters. - */ - subject: string; - /** - * Array of email addresses. - */ - to: string[]; - } - - /** - * The notification associated with a budget. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - export interface NotificationResponse { - /** - * Email addresses to send the notification to when the threshold is breached. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - contactEmails: string[]; - /** - * Subscription or Resource Group scopes only. Action groups to send the notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. - * - * Supported for CategoryType(s): Cost. - */ - contactGroups?: string[]; - /** - * Subscription or Resource Group scopes only. Contact roles to send the notification to when the threshold is breached. - * - * Supported for CategoryType(s): Cost. - */ - contactRoles?: string[]; - /** - * The notification is enabled or not. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - enabled: boolean; - /** - * Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). - * - * Supported for CategoryType(s): ReservationUtilization. - */ - frequency?: string; - /** - * Language in which the recipient will receive the notification, - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - */ - locale?: string; - /** - * The comparison operator. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * Supported operators for **CategoryType: Cost** - * - GreaterThan - * - GreaterThanOrEqualTo - * - * Supported operators for **CategoryType: ReservationUtilization** - * - LessThan - */ - operator: string; - /** - * Threshold value associated with a notification. It is always percent with a maximum of 2 decimal places. - * - * Supported for CategoryType(s): Cost, ReservationUtilization. - * - * **CategoryType: Cost** - Must be between 0 and 1000. Notification is sent when the cost exceeded the threshold. - * - * **CategoryType: ReservationUtilization** - Must be between 0 and 100. Notification is sent when a reservation has a utilization percentage below the threshold. - */ - threshold: number; - /** - * The type of threshold. - * - * Supported for CategoryType(s): Cost. - */ - thresholdType?: string; - } - /** - * notificationResponseProvideDefaults sets the appropriate defaults for NotificationResponse - */ - export function notificationResponseProvideDefaults(val: NotificationResponse): NotificationResponse { - return { - ...val, - thresholdType: (val.thresholdType) ?? "Actual", - }; - } - /** * Each pivot must contain a 'type' and 'name'. */ @@ -116399,15 +119498,15 @@ export namespace costmanagement { /** * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - aggregation?: {[key: string]: outputs.costmanagement.v20230801.ReportConfigAggregationResponse}; + aggregation?: {[key: string]: outputs.costmanagement.v20221005preview.ReportConfigAggregationResponse}; /** * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. */ - configuration?: outputs.costmanagement.v20230801.ReportConfigDatasetConfigurationResponse; + configuration?: outputs.costmanagement.v20221005preview.ReportConfigDatasetConfigurationResponse; /** * Has filter expression to use in the report. */ - filter?: outputs.costmanagement.v20230801.ReportConfigFilterResponse; + filter?: outputs.costmanagement.v20221005preview.ReportConfigFilterResponse; /** * The granularity of rows in the report. */ @@ -116415,11 +119514,11 @@ export namespace costmanagement { /** * Array of group by expression to use in the report. Report can have up to 2 group by clauses. */ - grouping?: outputs.costmanagement.v20230801.ReportConfigGroupingResponse[]; + grouping?: outputs.costmanagement.v20221005preview.ReportConfigGroupingResponse[]; /** * Array of order by expression to use in the report. */ - sorting?: outputs.costmanagement.v20230801.ReportConfigSortingResponse[]; + sorting?: outputs.costmanagement.v20221005preview.ReportConfigSortingResponse[]; } /** @@ -116429,19 +119528,19 @@ export namespace costmanagement { /** * The logical "AND" expression. Must have at least 2 items. */ - and?: outputs.costmanagement.v20230801.ReportConfigFilterResponse[]; + and?: outputs.costmanagement.v20221005preview.ReportConfigFilterResponse[]; /** * Has comparison expression for a dimension */ - dimensions?: outputs.costmanagement.v20230801.ReportConfigComparisonExpressionResponse; + dimensions?: outputs.costmanagement.v20221005preview.ReportConfigComparisonExpressionResponse; /** * The logical "OR" expression. Must have at least 2 items. */ - or?: outputs.costmanagement.v20230801.ReportConfigFilterResponse[]; + or?: outputs.costmanagement.v20221005preview.ReportConfigFilterResponse[]; /** * Has comparison expression for a tag */ - tags?: outputs.costmanagement.v20230801.ReportConfigComparisonExpressionResponse; + tags?: outputs.costmanagement.v20221005preview.ReportConfigComparisonExpressionResponse; } /** @@ -116487,1920 +119586,1235 @@ export namespace costmanagement { } /** - * The properties of the schedule. + * The properties of the tag inheritance setting. */ - export interface SchedulePropertiesResponse { + export interface TagInheritancePropertiesResponse { /** - * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. + * When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied. */ - dayOfMonth?: number; + preferContainerTags: boolean; + } + + } + + export namespace v20230301 { + /** + * The common properties of the export. + */ + export interface CommonExportPropertiesResponse { /** - * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. + * Has the definition for the export. */ - daysOfWeek?: string[]; + definition: outputs.costmanagement.v20230301.ExportDefinitionResponse; /** - * The end date and time of the scheduled action (UTC). + * Has delivery information for the export. */ - endDate: string; + deliveryInfo: outputs.costmanagement.v20230301.ExportDeliveryInfoResponse; /** - * Frequency of the schedule. + * The format of the export being delivered. Currently only 'Csv' is supported. */ - frequency: string; + format?: string; /** - * UTC time at which cost analysis data will be emailed. + * If the export has an active schedule, provides an estimate of the next run time. */ - hourOfDay?: number; + nextRunTimeEstimate: string; /** - * The start date and time of the scheduled action (UTC). + * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. */ - startDate: string; + partitionData?: boolean; /** - * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. + * If requested, has the most recent run history for the export. */ - weeksOfMonth?: string[]; + runHistory?: outputs.costmanagement.v20230301.ExportExecutionListResultResponse; } /** - * Source resources for cost allocation + * The details of the error. */ - export interface SourceCostAllocationResourceResponse { + export interface ErrorDetailsResponse { /** - * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag + * Error code. */ - name: string; + code: string; /** - * Type of resources contained in this cost allocation rule + * Error message indicating why the operation failed. */ - resourceType: string; + message: string; + } + + /** + * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. + */ + export interface ExportDatasetConfigurationResponse { /** - * Source Resources for cost allocation. This list cannot contain more than 25 values. + * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). */ - values: string[]; + columns?: string[]; } /** - * Managed service identity (either system assigned, or none) + * The definition for data in the export. */ - export interface SystemAssignedServiceIdentityResponse { + export interface ExportDatasetResponse { /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The export dataset configuration. */ - principalId: string; + configuration?: outputs.costmanagement.v20230301.ExportDatasetConfigurationResponse; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The granularity of rows in the export. Currently only 'Daily' is supported. */ - tenantId: string; + granularity?: string; + } + + /** + * The definition of an export. + */ + export interface ExportDefinitionResponse { /** - * Type of managed service identity (either system assigned, or none). + * The definition for data in the export. + */ + dataSet?: outputs.costmanagement.v20230301.ExportDatasetResponse; + /** + * Has time period for pulling data for the export. + */ + timePeriod?: outputs.costmanagement.v20230301.ExportTimePeriodResponse; + /** + * The time frame for pulling data for the export. If custom, then a specific time period must be provided. + */ + timeframe: string; + /** + * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. */ type: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). */ - export interface SystemDataResponse { + export interface ExportDeliveryDestinationResponse { /** - * The timestamp of resource creation (UTC). + * The name of the container where exports will be uploaded. If the container does not exist it will be created. */ - createdAt?: string; + container: string; /** - * The identity that created the resource. + * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. */ - createdBy?: string; + resourceId?: string; /** - * The type of identity that created the resource. + * The name of the directory where exports will be uploaded. */ - createdByType?: string; + rootFolderPath?: string; /** - * The timestamp of resource last modification (UTC) + * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. */ - lastModifiedAt?: string; + sasToken?: string; /** - * The identity that last modified the resource. + * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. */ - lastModifiedBy?: string; + storageAccount?: string; + } + + /** + * The delivery information associated with a export. + */ + export interface ExportDeliveryInfoResponse { /** - * The type of identity that last modified the resource. + * Has destination for the export being delivered. */ - lastModifiedByType?: string; + destination: outputs.costmanagement.v20230301.ExportDeliveryDestinationResponse; } /** - * The properties of the tag inheritance setting. + * Result of listing the run history of an export. */ - export interface TagInheritancePropertiesResponse { + export interface ExportExecutionListResultResponse { /** - * When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied. + * A list of export runs. */ - preferContainerTags: boolean; + value: outputs.costmanagement.v20230301.ExportRunResponse[]; } /** - * Target resources for cost allocation. + * The start and end date for recurrence schedule. */ - export interface TargetCostAllocationResourceResponse { + export interface ExportRecurrencePeriodResponse { /** - * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag - */ - name: string; - /** - * Method of cost allocation for the rule - */ - policyType: string; - /** - * Type of resources contained in this cost allocation rule + * The start date of recurrence. */ - resourceType: string; + from: string; /** - * Target resources for cost allocation. This list cannot contain more than 25 values. + * The end date of recurrence. */ - values: outputs.costmanagement.v20230801.CostAllocationProportionResponse[]; + to?: string; } - } -} - -export namespace customerinsights { - /** - * The AssignmentPrincipal - */ - export interface AssignmentPrincipalResponse { - /** - * The principal id being assigned to. - */ - principalId: string; - /** - * Other metadata for the principal. - */ - principalMetadata?: {[key: string]: string}; - /** - * The Type of the principal ID. - */ - principalType: string; - } - - /** - * Definition of canonical profile. - */ - export interface CanonicalProfileDefinitionResponse { - /** - * Canonical profile ID. - */ - canonicalProfileId?: number; - /** - * Properties of the canonical profile. - */ - properties?: outputs.customerinsights.CanonicalProfileDefinitionResponseProperties[]; - } - - /** - * The definition of a canonical profile property. - */ - export interface CanonicalProfileDefinitionResponseProperties { - /** - * Profile name. - */ - profileName?: string; - /** - * Property name of profile. - */ - profilePropertyName?: string; - /** - * The rank. - */ - rank?: number; - /** - * Type of canonical property value. - */ - type?: string; - /** - * Value of the canonical property. - */ - value?: string; - } - - /** - * Connector mapping property availability. - */ - export interface ConnectorMappingAvailabilityResponse { - /** - * The frequency to update. - */ - frequency?: string; - /** - * The interval of the given frequency to use. - */ - interval: number; - } - - /** - * The complete operation. - */ - export interface ConnectorMappingCompleteOperationResponse { - /** - * The type of completion operation. - */ - completionOperationType?: string; - /** - * The destination folder where files will be moved to once the import is done. - */ - destinationFolder?: string; - } - - /** - * The error management. - */ - export interface ConnectorMappingErrorManagementResponse { - /** - * The error limit allowed while importing data. - */ - errorLimit?: number; - /** - * The type of error management to use for the mapping. - */ - errorManagementType: string; - } - - /** - * Connector mapping property format. - */ - export interface ConnectorMappingFormatResponse { - /** - * The oData language. - */ - acceptLanguage?: string; - /** - * Character separating array elements. - */ - arraySeparator?: string; - /** - * The character that signifies a break between columns. - */ - columnDelimiter?: string; - /** - * The type mapping format. - */ - formatType: string; - /** - * Quote character, used to indicate enquoted fields. - */ - quoteCharacter?: string; - /** - * Escape character for quotes, can be the same as the quoteCharacter. - */ - quoteEscapeCharacter?: string; - } - - /** - * The connector mapping properties. - */ - export interface ConnectorMappingPropertiesResponse { - /** - * The availability of mapping property. - */ - availability: outputs.customerinsights.ConnectorMappingAvailabilityResponse; - /** - * The operation after import is done. - */ - completeOperation: outputs.customerinsights.ConnectorMappingCompleteOperationResponse; - /** - * The error management setting for the mapping. - */ - errorManagement: outputs.customerinsights.ConnectorMappingErrorManagementResponse; - /** - * The file filter for the mapping. - */ - fileFilter?: string; - /** - * The folder path for the mapping. - */ - folderPath?: string; - /** - * The format of mapping property. - */ - format: outputs.customerinsights.ConnectorMappingFormatResponse; - /** - * If the file contains a header or not. - */ - hasHeader?: boolean; - /** - * Ingestion mapping information at property level. - */ - structure: outputs.customerinsights.ConnectorMappingStructureResponse[]; - } - - /** - * Connector mapping property structure. - */ - export interface ConnectorMappingStructureResponse { - /** - * The column name of the import file. - */ - columnName: string; - /** - * Custom format specifier for input parsing. - */ - customFormatSpecifier?: string; - /** - * Indicates if the column is encrypted. - */ - isEncrypted?: boolean; - /** - * The property name of the mapping entity. - */ - propertyName: string; - } - - /** - * The data source precedence is a way to know the precedence of each data source. - */ - export interface DataSourcePrecedenceResponse { - /** - * The data source reference id. - */ - dataSourceReferenceId: string; - /** - * The data source type. - */ - dataSourceType: string; - /** - * The data source ID. - */ - id: number; - /** - * The data source name - */ - name: string; - /** - * the precedence value. - */ - precedence?: number; - /** - * The data source status. - */ - status: string; - } - - /** - * Hub billing info. - */ - export interface HubBillingInfoFormatResponse { - /** - * The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions. - */ - maxUnits?: number; - /** - * The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions. - */ - minUnits?: number; - /** - * The sku name. - */ - skuName?: string; - } - - /** - * The KPI alias. - */ - export interface KpiAliasResponse { - /** - * KPI alias name. - */ - aliasName: string; - /** - * The expression. - */ - expression: string; - } - - /** - * The KPI extract. - */ - export interface KpiExtractResponse { - /** - * The expression. - */ - expression: string; - /** - * KPI extract name. - */ - extractName: string; - } - - /** - * The KPI GroupBy field metadata. - */ - export interface KpiGroupByMetadataResponse { - /** - * The display name. - */ - displayName?: {[key: string]: string}; - /** - * The name of the field. - */ - fieldName?: string; - /** - * The type of the field. - */ - fieldType?: string; - } - - /** - * The KPI participant profile metadata. - */ - export interface KpiParticipantProfilesMetadataResponse { - /** - * Name of the type. - */ - typeName: string; - } - - /** - * Defines the KPI Threshold limits. - */ - export interface KpiThresholdsResponse { - /** - * Whether or not the KPI is an increasing KPI. - */ - increasingKpi: boolean; - /** - * The lower threshold limit. - */ - lowerLimit: number; - /** - * The upper threshold limit. - */ - upperLimit: number; - } - - /** - * The participant profile property reference. - */ - export interface ParticipantProfilePropertyReferenceResponse { - /** - * The source interaction property that maps to the target profile property. - */ - interactionPropertyName: string; - /** - * The target profile property that maps to the source interaction property. - */ - profilePropertyName: string; - } - - /** - * The participant property reference. - */ - export interface ParticipantPropertyReferenceResponse { - /** - * The source property that maps to the target property. - */ - sourcePropertyName: string; - /** - * The target property that maps to the source property. - */ - targetPropertyName: string; - } - - /** - * The definition of the prediction distribution. - */ - export interface PredictionDistributionDefinitionResponse { - /** - * Distributions of the prediction. - */ - distributions?: outputs.customerinsights.PredictionDistributionDefinitionResponseDistributions[]; - /** - * Total negatives in the distribution. - */ - totalNegatives?: number; - /** - * Total positive in the distribution. - */ - totalPositives?: number; - } - - /** - * The definition of a prediction distribution. - */ - export interface PredictionDistributionDefinitionResponseDistributions { - /** - * Number of negatives. - */ - negatives?: number; - /** - * Number of negatives above threshold. - */ - negativesAboveThreshold?: number; - /** - * Number of positives. - */ - positives?: number; - /** - * Number of positives above threshold. - */ - positivesAboveThreshold?: number; - /** - * Score threshold. - */ - scoreThreshold?: number; - } - - /** - * The definition of a prediction grade. - */ - export interface PredictionResponseGrades { - /** - * Name of the grade. - */ - gradeName?: string; - /** - * Maximum score threshold. - */ - maxScoreThreshold?: number; - /** - * Minimum score threshold. - */ - minScoreThreshold?: number; - } - - /** - * Definition of the link mapping of prediction. - */ - export interface PredictionResponseMappings { - /** - * The grade of the link mapping. - */ - grade: string; - /** - * The reason of the link mapping. - */ - reason: string; - /** - * The score of the link mapping. - */ - score: string; - } - - /** - * System generated entities. - */ - export interface PredictionResponseSystemGeneratedEntities { - /** - * Generated interaction types. - */ - generatedInteractionTypes?: string[]; - /** - * Generated KPIs. - */ - generatedKpis?: {[key: string]: string}; - /** - * Generated links. - */ - generatedLinks?: string[]; - } - - /** - * Valid enum values in case of an enum property. - */ - export interface ProfileEnumValidValuesFormatResponse { - /** - * Localized names of the enum member. - */ - localizedValueNames?: {[key: string]: string}; - /** - * The integer value of the enum member. - */ - value?: number; - } - - /** - * Property definition. - */ - export interface PropertyDefinitionResponse { - /** - * Array value separator for properties with isArray set. - */ - arrayValueSeparator?: string; - /** - * This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. - */ - dataSourcePrecedenceRules: outputs.customerinsights.DataSourcePrecedenceResponse[]; - /** - * Describes valid values for an enum property. - */ - enumValidValues?: outputs.customerinsights.ProfileEnumValidValuesFormatResponse[]; - /** - * Name of the property. - */ - fieldName: string; - /** - * Type of the property. - */ - fieldType: string; - /** - * Indicates if the property is actually an array of the fieldType above on the data api. - */ - isArray?: boolean; - /** - * Whether property is available in graph or not. - */ - isAvailableInGraph?: boolean; - /** - * Indicates if the property is an enum. - */ - isEnum?: boolean; - /** - * Indicates if the property is an flag enum. - */ - isFlagEnum?: boolean; - /** - * Whether the property is an Image. - */ - isImage?: boolean; - /** - * Whether the property is a localized string. - */ - isLocalizedString?: boolean; - /** - * Whether the property is a name or a part of name. - */ - isName?: boolean; - /** - * Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field. - */ - isRequired?: boolean; - /** - * Max length of string. Used only if type is string. - */ - maxLength?: number; - /** - * The ID associated with the property. - */ - propertyId?: string; - /** - * URL encoded schema.org item prop link for the property. - */ - schemaItemPropLink?: string; - } - - /** - * The fields mapping for Relationships. - */ - export interface RelationshipLinkFieldMappingResponse { - /** - * The field name on the Interaction Type. - */ - interactionFieldName: string; - /** - * Link type. - */ - linkType?: string; - /** - * The field name on the Relationship metadata. - */ - relationshipFieldName: string; - } - - /** - * Map a field of profile to its corresponding StrongId in Related Profile. - */ - export interface RelationshipTypeFieldMappingResponse { - /** - * Specifies the fieldName in profile. - */ - profileFieldName: string; - /** - * Specifies the KeyProperty (from StrongId) of the related profile. - */ - relatedProfileKeyProperty: string; - } - - /** - * Maps fields in Profile to their corresponding StrongIds in Related Profile. - */ - export interface RelationshipTypeMappingResponse { - /** - * Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well. - */ - fieldMappings: outputs.customerinsights.RelationshipTypeFieldMappingResponse[]; - } - - /** - * The resource set description. - */ - export interface ResourceSetDescriptionResponse { - /** - * The elements included in the set. - */ - elements?: string[]; - /** - * The elements that are not included in the set, in case elements contains '*' indicating 'all'. - */ - exceptions?: string[]; - } - - /** - * Property/Properties which represent a unique ID. - */ - export interface StrongIdResponse { - /** - * Localized descriptions. - */ - description?: {[key: string]: string}; - /** - * Localized display name. - */ - displayName?: {[key: string]: string}; - /** - * The properties which make up the unique ID. - */ - keyPropertyNames: string[]; - /** - * The Name identifying the strong ID. - */ - strongIdName: string; - } - - /** - * Metadata for a Link's property mapping. - */ - export interface TypePropertiesMappingResponse { - /** - * Link type. - */ - linkType?: string; - /** - * Property name on the source Entity Type. - */ - sourcePropertyName: string; - /** - * Property name on the target Entity Type. - */ - targetPropertyName: string; - } - - export namespace v20170426 { /** - * The AssignmentPrincipal + * An export run. */ - export interface AssignmentPrincipalResponse { + export interface ExportRunResponse { /** - * The principal id being assigned to. + * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. */ - principalId: string; + eTag?: string; /** - * Other metadata for the principal. + * The details of any error. */ - principalMetadata?: {[key: string]: string}; + error?: outputs.costmanagement.v20230301.ErrorDetailsResponse; /** - * The Type of the principal ID. + * The type of the export run. */ - principalType: string; - } - - /** - * Definition of canonical profile. - */ - export interface CanonicalProfileDefinitionResponse { + executionType?: string; /** - * Canonical profile ID. + * The name of the exported file. */ - canonicalProfileId?: number; + fileName?: string; /** - * Properties of the canonical profile. + * Resource Id. */ - properties?: outputs.customerinsights.v20170426.CanonicalProfileDefinitionResponseProperties[]; - } - - /** - * The definition of a canonical profile property. - */ - export interface CanonicalProfileDefinitionResponseProperties { + id: string; /** - * Profile name. + * Resource name. */ - profileName?: string; + name: string; /** - * Property name of profile. + * The time when the export run finished. */ - profilePropertyName?: string; + processingEndTime?: string; /** - * The rank. + * The time when export was picked up to be run. */ - rank?: number; + processingStartTime?: string; /** - * Type of canonical property value. + * The export settings that were in effect for this run. */ - type?: string; + runSettings?: outputs.costmanagement.v20230301.CommonExportPropertiesResponse; /** - * Value of the canonical property. + * The last known status of the export run. */ - value?: string; - } - - /** - * Connector mapping property availability. - */ - export interface ConnectorMappingAvailabilityResponse { + status?: string; /** - * The frequency to update. + * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. */ - frequency?: string; + submittedBy?: string; /** - * The interval of the given frequency to use. + * The time when export was queued to be run. */ - interval: number; + submittedTime?: string; + /** + * Resource type. + */ + type: string; } /** - * The complete operation. + * The schedule associated with the export. */ - export interface ConnectorMappingCompleteOperationResponse { + export interface ExportScheduleResponse { /** - * The type of completion operation. + * The schedule recurrence. */ - completionOperationType?: string; + recurrence?: string; /** - * The destination folder where files will be moved to once the import is done. + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. */ - destinationFolder?: string; + recurrencePeriod?: outputs.costmanagement.v20230301.ExportRecurrencePeriodResponse; + /** + * The status of the export's schedule. If 'Inactive', the export's schedule is paused. + */ + status?: string; } /** - * The error management. + * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. */ - export interface ConnectorMappingErrorManagementResponse { + export interface ExportTimePeriodResponse { /** - * The error limit allowed while importing data. + * The start date for export data. */ - errorLimit?: number; + from: string; /** - * The type of error management to use for the mapping. + * The end date for export data. */ - errorManagementType: string; + to: string; } /** - * Connector mapping property format. + * Destination of the view data. This is optional. Currently only CSV format is supported. */ - export interface ConnectorMappingFormatResponse { - /** - * The oData language. - */ - acceptLanguage?: string; - /** - * Character separating array elements. - */ - arraySeparator?: string; - /** - * The character that signifies a break between columns. - */ - columnDelimiter?: string; - /** - * The type mapping format. - */ - formatType: string; - /** - * Quote character, used to indicate enquoted fields. - */ - quoteCharacter?: string; + export interface FileDestinationResponse { /** - * Escape character for quotes, can be the same as the quoteCharacter. + * Destination of the view data. Currently only CSV format is supported. */ - quoteEscapeCharacter?: string; + fileFormats?: string[]; } /** - * The connector mapping properties. + * Each KPI must contain a 'type' and 'enabled' key. */ - export interface ConnectorMappingPropertiesResponse { + export interface KpiPropertiesResponse { /** - * The availability of mapping property. + * show the KPI in the UI? */ - availability: outputs.customerinsights.v20170426.ConnectorMappingAvailabilityResponse; + enabled?: boolean; /** - * The operation after import is done. + * ID of resource related to metric (budget). */ - completeOperation: outputs.customerinsights.v20170426.ConnectorMappingCompleteOperationResponse; + id?: string; /** - * The error management setting for the mapping. + * KPI type (Forecast, Budget). */ - errorManagement: outputs.customerinsights.v20170426.ConnectorMappingErrorManagementResponse; + type?: string; + } + + /** + * The properties of the scheduled action notification. + */ + export interface NotificationPropertiesResponse { /** - * The file filter for the mapping. + * Locale of the email. */ - fileFilter?: string; + language?: string; /** - * The folder path for the mapping. + * Optional message to be added in the email. Length is limited to 250 characters. */ - folderPath?: string; + message?: string; /** - * The format of mapping property. + * Regional format used for formatting date/time and currency values in the email. */ - format: outputs.customerinsights.v20170426.ConnectorMappingFormatResponse; + regionalFormat?: string; /** - * If the file contains a header or not. + * Subject of the email. Length is limited to 70 characters. */ - hasHeader?: boolean; + subject: string; /** - * Ingestion mapping information at property level. + * Array of email addresses. */ - structure: outputs.customerinsights.v20170426.ConnectorMappingStructureResponse[]; + to: string[]; } /** - * Connector mapping property structure. + * Each pivot must contain a 'type' and 'name'. */ - export interface ConnectorMappingStructureResponse { - /** - * The column name of the import file. - */ - columnName: string; - /** - * Custom format specifier for input parsing. - */ - customFormatSpecifier?: string; + export interface PivotPropertiesResponse { /** - * Indicates if the column is encrypted. + * Data field to show in view. */ - isEncrypted?: boolean; + name?: string; /** - * The property name of the mapping entity. + * Data type to show in view. */ - propertyName: string; + type?: string; } /** - * The data source precedence is a way to know the precedence of each data source. + * The aggregation expression to be used in the report. */ - export interface DataSourcePrecedenceResponse { - /** - * The data source reference id. - */ - dataSourceReferenceId: string; - /** - * The data source type. - */ - dataSourceType: string; + export interface ReportConfigAggregationResponse { /** - * The data source ID. + * The name of the aggregation function to use. */ - id: number; + function: string; /** - * The data source name + * The name of the column to aggregate. */ name: string; - /** - * the precedence value. - */ - precedence?: number; - /** - * The data source status. - */ - status: string; } /** - * Hub billing info. + * The comparison expression to be used in the report. */ - export interface HubBillingInfoFormatResponse { + export interface ReportConfigComparisonExpressionResponse { /** - * The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions. + * The name of the column to use in comparison. */ - maxUnits?: number; + name: string; /** - * The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions. + * The operator to use for comparison. */ - minUnits?: number; + operator: string; /** - * The sku name. + * Array of values to use for comparison */ - skuName?: string; + values: string[]; } /** - * The KPI alias. + * The configuration of dataset in the report. */ - export interface KpiAliasResponse { - /** - * KPI alias name. - */ - aliasName: string; + export interface ReportConfigDatasetConfigurationResponse { /** - * The expression. + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. */ - expression: string; + columns?: string[]; } /** - * The KPI extract. + * The definition of data present in the report. */ - export interface KpiExtractResponse { + export interface ReportConfigDatasetResponse { /** - * The expression. + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - expression: string; + aggregation?: {[key: string]: outputs.costmanagement.v20230301.ReportConfigAggregationResponse}; /** - * KPI extract name. + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. */ - extractName: string; - } - - /** - * The KPI GroupBy field metadata. - */ - export interface KpiGroupByMetadataResponse { + configuration?: outputs.costmanagement.v20230301.ReportConfigDatasetConfigurationResponse; /** - * The display name. + * Has filter expression to use in the report. */ - displayName?: {[key: string]: string}; + filter?: outputs.costmanagement.v20230301.ReportConfigFilterResponse; /** - * The name of the field. + * The granularity of rows in the report. */ - fieldName?: string; + granularity?: string; /** - * The type of the field. + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. */ - fieldType?: string; - } - - /** - * The KPI participant profile metadata. - */ - export interface KpiParticipantProfilesMetadataResponse { + grouping?: outputs.costmanagement.v20230301.ReportConfigGroupingResponse[]; /** - * Name of the type. + * Array of order by expression to use in the report. */ - typeName: string; + sorting?: outputs.costmanagement.v20230301.ReportConfigSortingResponse[]; } /** - * Defines the KPI Threshold limits. + * The filter expression to be used in the report. */ - export interface KpiThresholdsResponse { + export interface ReportConfigFilterResponse { /** - * Whether or not the KPI is an increasing KPI. + * The logical "AND" expression. Must have at least 2 items. */ - increasingKpi: boolean; + and?: outputs.costmanagement.v20230301.ReportConfigFilterResponse[]; /** - * The lower threshold limit. + * Has comparison expression for a dimension */ - lowerLimit: number; + dimensions?: outputs.costmanagement.v20230301.ReportConfigComparisonExpressionResponse; /** - * The upper threshold limit. + * The logical "OR" expression. Must have at least 2 items. */ - upperLimit: number; + or?: outputs.costmanagement.v20230301.ReportConfigFilterResponse[]; + /** + * Has comparison expression for a tag + */ + tags?: outputs.costmanagement.v20230301.ReportConfigComparisonExpressionResponse; } /** - * The participant profile property reference. + * The group by expression to be used in the report. */ - export interface ParticipantProfilePropertyReferenceResponse { + export interface ReportConfigGroupingResponse { /** - * The source interaction property that maps to the target profile property. + * The name of the column to group. This version supports subscription lowest possible grain. */ - interactionPropertyName: string; + name: string; /** - * The target profile property that maps to the source interaction property. + * Has type of the column to group. */ - profilePropertyName: string; + type: string; } /** - * The participant property reference. + * The order by expression to be used in the report. */ - export interface ParticipantPropertyReferenceResponse { + export interface ReportConfigSortingResponse { /** - * The source property that maps to the target property. + * Direction of sort. */ - sourcePropertyName: string; + direction?: string; /** - * The target property that maps to the source property. + * The name of the column to sort. */ - targetPropertyName: string; + name: string; } /** - * The definition of the prediction distribution. + * The start and end date for pulling data for the report. */ - export interface PredictionDistributionDefinitionResponse { - /** - * Distributions of the prediction. - */ - distributions?: outputs.customerinsights.v20170426.PredictionDistributionDefinitionResponseDistributions[]; + export interface ReportConfigTimePeriodResponse { /** - * Total negatives in the distribution. + * The start date to pull data from. */ - totalNegatives?: number; + from: string; /** - * Total positive in the distribution. + * The end date to pull data to. */ - totalPositives?: number; + to: string; } /** - * The definition of a prediction distribution. + * The properties of the schedule. */ - export interface PredictionDistributionDefinitionResponseDistributions { + export interface SchedulePropertiesResponse { /** - * Number of negatives. + * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. */ - negatives?: number; + dayOfMonth?: number; /** - * Number of negatives above threshold. + * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. */ - negativesAboveThreshold?: number; + daysOfWeek?: string[]; /** - * Number of positives. + * The end date and time of the scheduled action (UTC). */ - positives?: number; + endDate: string; /** - * Number of positives above threshold. + * Frequency of the schedule. */ - positivesAboveThreshold?: number; + frequency: string; /** - * Score threshold. + * UTC time at which cost analysis data will be emailed. */ - scoreThreshold?: number; + hourOfDay?: number; + /** + * The start date and time of the scheduled action (UTC). + */ + startDate: string; + /** + * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. + */ + weeksOfMonth?: string[]; } /** - * The definition of a prediction grade. + * Metadata pertaining to creation and last modification of the resource. */ - export interface PredictionResponseGrades { + export interface SystemDataResponse { /** - * Name of the grade. + * The timestamp of resource creation (UTC). */ - gradeName?: string; + createdAt?: string; /** - * Maximum score threshold. + * The identity that created the resource. */ - maxScoreThreshold?: number; + createdBy?: string; /** - * Minimum score threshold. + * The type of identity that created the resource. */ - minScoreThreshold?: number; - } - - /** - * Definition of the link mapping of prediction. - */ - export interface PredictionResponseMappings { + createdByType?: string; /** - * The grade of the link mapping. + * The timestamp of resource last modification (UTC) */ - grade: string; + lastModifiedAt?: string; /** - * The reason of the link mapping. + * The identity that last modified the resource. */ - reason: string; + lastModifiedBy?: string; /** - * The score of the link mapping. + * The type of identity that last modified the resource. */ - score: string; + lastModifiedByType?: string; } + } + + export namespace v20230401preview { /** - * System generated entities. + * The comparison expression to be used in the budgets. */ - export interface PredictionResponseSystemGeneratedEntities { + export interface BudgetComparisonExpressionResponse { /** - * Generated interaction types. + * The name of the column to use in comparison. */ - generatedInteractionTypes?: string[]; + name: string; /** - * Generated KPIs. + * The operator to use for comparison. */ - generatedKpis?: {[key: string]: string}; + operator: string; /** - * Generated links. + * Array of values to use for comparison */ - generatedLinks?: string[]; + values: string[]; } /** - * Valid enum values in case of an enum property. + * The Dimensions or Tags to filter a budget by. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - export interface ProfileEnumValidValuesFormatResponse { + export interface BudgetFilterPropertiesResponse { /** - * Localized names of the enum member. + * Has comparison expression for a dimension. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported dimension names for **CategoryType: ReservationUtilization** + * - ReservationId + * - ReservedResourceType */ - localizedValueNames?: {[key: string]: string}; + dimensions?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; /** - * The integer value of the enum member. + * Has comparison expression for a tag. + * + * Supported for CategoryType(s): Cost. */ - value?: number; + tags?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; } /** - * Property definition. + * May be used to filter budgets by user-specified dimensions and/or tags. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - export interface PropertyDefinitionResponse { - /** - * Array value separator for properties with isArray set. - */ - arrayValueSeparator?: string; - /** - * This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. - */ - dataSourcePrecedenceRules: outputs.customerinsights.v20170426.DataSourcePrecedenceResponse[]; - /** - * Describes valid values for an enum property. - */ - enumValidValues?: outputs.customerinsights.v20170426.ProfileEnumValidValuesFormatResponse[]; - /** - * Name of the property. - */ - fieldName: string; - /** - * Type of the property. - */ - fieldType: string; + export interface BudgetFilterResponse { /** - * Indicates if the property is actually an array of the fieldType above on the data api. + * The logical "AND" expression. Must have at least 2 items. + * + * Supported for CategoryType(s): Cost. */ - isArray?: boolean; + and?: outputs.costmanagement.v20230401preview.BudgetFilterPropertiesResponse[]; /** - * Whether property is available in graph or not. + * Has comparison expression for a dimension. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported dimension names for **CategoryType: ReservationUtilization** + * - ReservationId + * - ReservedResourceType */ - isAvailableInGraph?: boolean; + dimensions?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; /** - * Indicates if the property is an enum. + * Has comparison expression for a tag. + * + * Supported for CategoryType(s): Cost. */ - isEnum?: boolean; + tags?: outputs.costmanagement.v20230401preview.BudgetComparisonExpressionResponse; + } + + /** + * The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Required for CategoryType(s): Cost, ReservationUtilization. + */ + export interface BudgetTimePeriodResponse { /** - * Indicates if the property is an flag enum. + * The end date for the budget. + * + * - Constraints for **CategoryType: Cost** - No constraints. If not provided, we default this to 10 years from the start date. + * + * - Constraints for **CategoryType: ReservationUtilization** - End date cannot be more than 3 years after the start date. */ - isFlagEnum?: boolean; + endDate?: string; /** - * Whether the property is an Image. + * The start date for the budget. + * + * - Constraints for **CategoryType: Cost** - Must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. + * + * - Constraints for **CategoryType: ReservationUtilization** - Must be on or after the current date and less than the end date. */ - isImage?: boolean; + startDate: string; + } + + /** + * The common properties of the export. + */ + export interface CommonExportPropertiesResponse { /** - * Whether the property is a localized string. + * Has the definition for the export. */ - isLocalizedString?: boolean; + definition: outputs.costmanagement.v20230401preview.ExportDefinitionResponse; /** - * Whether the property is a name or a part of name. + * Has delivery information for the export. */ - isName?: boolean; + deliveryInfo: outputs.costmanagement.v20230401preview.ExportDeliveryInfoResponse; /** - * Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field. + * The format of the export being delivered. Currently only 'Csv' is supported. */ - isRequired?: boolean; + format?: string; /** - * Max length of string. Used only if type is string. + * If the export has an active schedule, provides an estimate of the next run time. */ - maxLength?: number; + nextRunTimeEstimate: string; /** - * The ID associated with the property. + * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. */ - propertyId?: string; + partitionData?: boolean; /** - * URL encoded schema.org item prop link for the property. + * If requested, has the most recent run history for the export. */ - schemaItemPropLink?: string; + runHistory?: outputs.costmanagement.v20230401preview.ExportExecutionListResultResponse; } /** - * The fields mapping for Relationships. + * The current amount of cost which is being tracked for a budget. + * + * Supported for CategoryType(s): Cost. */ - export interface RelationshipLinkFieldMappingResponse { - /** - * The field name on the Interaction Type. - */ - interactionFieldName: string; + export interface CurrentSpendResponse { /** - * Link type. + * The total amount of cost which is being tracked by the budget. */ - linkType?: string; + amount: number; /** - * The field name on the Relationship metadata. + * The unit of measure for the budget amount. */ - relationshipFieldName: string; + unit: string; } /** - * Map a field of profile to its corresponding StrongId in Related Profile. + * The details of the error. */ - export interface RelationshipTypeFieldMappingResponse { + export interface ErrorDetailsResponse { /** - * Specifies the fieldName in profile. + * Error code. */ - profileFieldName: string; + code: string; /** - * Specifies the KeyProperty (from StrongId) of the related profile. + * Error message indicating why the operation failed. */ - relatedProfileKeyProperty: string; + message: string; } /** - * Maps fields in Profile to their corresponding StrongIds in Related Profile. + * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. */ - export interface RelationshipTypeMappingResponse { + export interface ExportDatasetConfigurationResponse { /** - * Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well. + * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). */ - fieldMappings: outputs.customerinsights.v20170426.RelationshipTypeFieldMappingResponse[]; + columns?: string[]; } /** - * The resource set description. + * The definition for data in the export. */ - export interface ResourceSetDescriptionResponse { + export interface ExportDatasetResponse { /** - * The elements included in the set. + * The export dataset configuration. */ - elements?: string[]; + configuration?: outputs.costmanagement.v20230401preview.ExportDatasetConfigurationResponse; /** - * The elements that are not included in the set, in case elements contains '*' indicating 'all'. + * The granularity of rows in the export. Currently only 'Daily' is supported. */ - exceptions?: string[]; + granularity?: string; } /** - * Property/Properties which represent a unique ID. + * The definition of an export. */ - export interface StrongIdResponse { + export interface ExportDefinitionResponse { /** - * Localized descriptions. + * The definition for data in the export. */ - description?: {[key: string]: string}; + dataSet?: outputs.costmanagement.v20230401preview.ExportDatasetResponse; /** - * Localized display name. + * Has time period for pulling data for the export. */ - displayName?: {[key: string]: string}; + timePeriod?: outputs.costmanagement.v20230401preview.ExportTimePeriodResponse; /** - * The properties which make up the unique ID. + * The time frame for pulling data for the export. If custom, then a specific time period must be provided. */ - keyPropertyNames: string[]; + timeframe: string; /** - * The Name identifying the strong ID. + * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. */ - strongIdName: string; + type: string; } /** - * Metadata for a Link's property mapping. + * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). */ - export interface TypePropertiesMappingResponse { + export interface ExportDeliveryDestinationResponse { /** - * Link type. + * The name of the container where exports will be uploaded. If the container does not exist it will be created. */ - linkType?: string; + container: string; /** - * Property name on the source Entity Type. + * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. */ - sourcePropertyName: string; + resourceId?: string; /** - * Property name on the target Entity Type. + * The name of the directory where exports will be uploaded. */ - targetPropertyName: string; + rootFolderPath?: string; + /** + * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. + */ + sasToken?: string; + /** + * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. + */ + storageAccount?: string; } - } -} - -export namespace customproviders { - /** - * The route definition for an action implemented by the custom resource provider. - */ - export interface CustomRPActionRouteDefinitionResponse { - /** - * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') - */ - endpoint: string; - /** - * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') - */ - name: string; /** - * The routing types that are supported for action requests. + * The delivery information associated with a export. */ - routingType?: string; - } + export interface ExportDeliveryInfoResponse { + /** + * Has destination for the export being delivered. + */ + destination: outputs.costmanagement.v20230401preview.ExportDeliveryDestinationResponse; + } - /** - * The route definition for a resource implemented by the custom resource provider. - */ - export interface CustomRPResourceTypeRouteDefinitionResponse { - /** - * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') - */ - endpoint: string; - /** - * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') - */ - name: string; /** - * The routing types that are supported for resource requests. + * Result of listing the run history of an export. */ - routingType?: string; - } + export interface ExportExecutionListResultResponse { + /** + * A list of export runs. + */ + value: outputs.costmanagement.v20230401preview.ExportRunResponse[]; + } - /** - * A validation to apply on custom resource provider requests. - */ - export interface CustomRPValidationsResponse { - /** - * A link to the validation specification. The specification must be hosted on raw.githubusercontent.com. - */ - specification: string; /** - * The type of validation to run against a matching request. + * The start and end date for recurrence schedule. */ - validationType?: string; - } + export interface ExportRecurrencePeriodResponse { + /** + * The start date of recurrence. + */ + from: string; + /** + * The end date of recurrence. + */ + to?: string; + } - export namespace v20180901preview { /** - * The route definition for an action implemented by the custom resource provider. + * An export run. */ - export interface CustomRPActionRouteDefinitionResponse { + export interface ExportRunResponse { /** - * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') + * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. */ - endpoint: string; + eTag?: string; /** - * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') + * The details of any error. + */ + error?: outputs.costmanagement.v20230401preview.ErrorDetailsResponse; + /** + * The type of the export run. + */ + executionType?: string; + /** + * The name of the exported file. + */ + fileName?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource */ name: string; /** - * The routing types that are supported for action requests. + * The time when the export run finished. */ - routingType?: string; + processingEndTime?: string; + /** + * The time when export was picked up to be run. + */ + processingStartTime?: string; + /** + * The export settings that were in effect for this run. + */ + runSettings?: outputs.costmanagement.v20230401preview.CommonExportPropertiesResponse; + /** + * The last known status of the export run. + */ + status?: string; + /** + * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. + */ + submittedBy?: string; + /** + * The time when export was queued to be run. + */ + submittedTime?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; } /** - * The route definition for a resource implemented by the custom resource provider. + * The schedule associated with the export. */ - export interface CustomRPResourceTypeRouteDefinitionResponse { + export interface ExportScheduleResponse { /** - * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') + * The schedule recurrence. */ - endpoint: string; + recurrence?: string; /** - * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. */ - name: string; + recurrencePeriod?: outputs.costmanagement.v20230401preview.ExportRecurrencePeriodResponse; /** - * The routing types that are supported for resource requests. + * The status of the export's schedule. If 'Inactive', the export's schedule is paused. */ - routingType?: string; + status?: string; } /** - * A validation to apply on custom resource provider requests. + * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. */ - export interface CustomRPValidationsResponse { + export interface ExportTimePeriodResponse { /** - * A link to the validation specification. The specification must be hosted on raw.githubusercontent.com. + * The start date for export data. */ - specification: string; + from: string; /** - * The type of validation to run against a matching request. + * The end date for export data. */ - validationType?: string; + to: string; } - } -} - -export namespace dashboard { - /** - * Integrations for Azure Monitor Workspace. - */ - export interface AzureMonitorWorkspaceIntegrationResponse { - /** - * The resource Id of the connected Azure Monitor Workspace. - */ - azureMonitorWorkspaceResourceId?: string; - } - - /** - * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. - */ - export interface GrafanaIntegrationsResponse { - azureMonitorWorkspaceIntegrations?: outputs.dashboard.AzureMonitorWorkspaceIntegrationResponse[]; - } - - /** - * Properties specific to the grafana resource. - */ - export interface ManagedGrafanaPropertiesResponse { - /** - * The api key setting of the Grafana instance. - */ - apiKey?: string; - /** - * Scope for dns deterministic name hash calculation. - */ - autoGeneratedDomainNameLabelScope?: string; - /** - * Whether a Grafana instance uses deterministic outbound IPs. - */ - deterministicOutboundIP?: string; - /** - * The endpoint of the Grafana instance. - */ - endpoint: string; - /** - * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. - */ - grafanaIntegrations?: outputs.dashboard.GrafanaIntegrationsResponse; - /** - * The Grafana software version. - */ - grafanaVersion: string; - /** - * List of outbound IPs if deterministicOutboundIP is enabled. - */ - outboundIPs: string[]; - /** - * The private endpoint connections of the Grafana instance. - */ - privateEndpointConnections: outputs.dashboard.PrivateEndpointConnectionResponse[]; - /** - * Provisioning state of the resource. - */ - provisioningState: string; - /** - * Indicate the state for enable or disable traffic over the public interface. - */ - publicNetworkAccess?: string; - /** - * The zone redundancy setting of the Grafana instance. - */ - zoneRedundancy?: string; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityResponse { - /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - principalId: string; - /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - tenantId: string; - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: string; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: {[key: string]: outputs.dashboard.UserAssignedIdentityResponse}; - } - - /** - * The Private Endpoint Connection resource. - */ - export interface PrivateEndpointConnectionResponse { - /** - * The private endpoint connection group ids. - */ - groupIds?: string[]; - /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - */ - id: string; - /** - * The name of the resource - */ - name: string; - /** - * The resource of private end point. - */ - privateEndpoint?: outputs.dashboard.PrivateEndpointResponse; - /** - * A collection of information about the state of the connection between service consumer and provider. - */ - privateLinkServiceConnectionState: outputs.dashboard.PrivateLinkServiceConnectionStateResponse; - /** - * The provisioning state of the private endpoint connection resource. - */ - provisioningState: string; - /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - systemData: outputs.dashboard.SystemDataResponse; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - */ - type: string; - } - - /** - * The Private Endpoint resource. - */ - export interface PrivateEndpointResponse { - /** - * The ARM identifier for Private Endpoint - */ - id: string; - } - - /** - * A collection of information about the state of the connection between service consumer and provider. - */ - export interface PrivateLinkServiceConnectionStateResponse { - /** - * A message indicating if changes on the service provider require any updates on the consumer. - */ - actionsRequired?: string; - /** - * The reason for approval/rejection of the connection. - */ - description?: string; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * Destination of the view data. This is optional. Currently only CSV format is supported. */ - status?: string; - } - - export interface ResourceSkuResponse { - name: string; - } + export interface FileDestinationResponse { + /** + * Destination of the view data. Currently only CSV format is supported. + */ + fileFormats?: string[]; + } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; /** - * The type of identity that last modified the resource. + * The forecasted cost which is being tracked for a budget. + * + * Supported for CategoryType(s): Cost. */ - lastModifiedByType?: string; - } + export interface ForecastSpendResponse { + /** + * The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type. + */ + amount: number; + /** + * The unit of measure for the budget amount. + */ + unit: string; + } - /** - * User assigned identity properties - */ - export interface UserAssignedIdentityResponse { - /** - * The client ID of the assigned identity. - */ - clientId: string; /** - * The principal ID of the assigned identity. + * Each KPI must contain a 'type' and 'enabled' key. */ - principalId: string; - } + export interface KpiPropertiesResponse { + /** + * show the KPI in the UI? + */ + enabled?: boolean; + /** + * ID of resource related to metric (budget). + */ + id?: string; + /** + * KPI type (Forecast, Budget). + */ + type?: string; + } - export namespace v20210901preview { /** - * Properties specific to the grafana resource. + * The properties of the scheduled action notification. */ - export interface ManagedGrafanaPropertiesResponse { - autoGeneratedDomainNameLabelScope?: string; + export interface NotificationPropertiesResponse { /** - * The endpoint of the Grafana instance. + * Locale of the email. */ - endpoint: string; + language?: string; /** - * The Grafana software version. + * Optional message to be added in the email. Length is limited to 250 characters. */ - grafanaVersion: string; + message?: string; /** - * Provisioning state of the resource. + * Regional format used for formatting date/time and currency values in the email. */ - provisioningState?: string; - zoneRedundancy?: string; + regionalFormat?: string; + /** + * Subject of the email. Length is limited to 70 characters. + */ + subject: string; + /** + * Array of email addresses. + */ + to: string[]; } /** - * The managed identity of a resource. + * The notification associated with a budget. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - export interface ManagedIdentityResponse { + export interface NotificationResponse { /** - * The principal id of the system assigned identity. + * Email addresses to send the notification to when the threshold is breached. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - principalId: string; + contactEmails: string[]; /** - * The tenant id of the system assigned identity. + * Subscription or Resource Group scopes only. Action groups to send the notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. + * + * Supported for CategoryType(s): Cost. */ - tenantId: string; + contactGroups?: string[]; /** - * The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. + * Subscription or Resource Group scopes only. Contact roles to send the notification to when the threshold is breached. + * + * Supported for CategoryType(s): Cost. */ - type?: string; + contactRoles?: string[]; /** - * Dictionary of user assigned identities. + * The notification is enabled or not. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - userAssignedIdentities?: {[key: string]: outputs.dashboard.v20210901preview.UserAssignedIdentityResponse}; + enabled: boolean; + /** + * Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). + * + * Supported for CategoryType(s): ReservationUtilization. + */ + frequency?: string; + /** + * Language in which the recipient will receive the notification, + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + locale?: string; + /** + * The comparison operator. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported operators for **CategoryType: Cost** + * - GreaterThan + * - GreaterThanOrEqualTo + * + * Supported operators for **CategoryType: ReservationUtilization** + * - LessThan + */ + operator: string; + /** + * Threshold value associated with a notification. It is always percent with a maximum of 2 decimal places. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * **CategoryType: Cost** - Must be between 0 and 1000. Notification is sent when the cost exceeded the threshold. + * + * **CategoryType: ReservationUtilization** - Must be between 0 and 100. Notification is sent when a reservation has a utilization percentage below the threshold. + */ + threshold: number; + /** + * The type of threshold. + * + * Supported for CategoryType(s): Cost. + */ + thresholdType?: string; } - - export interface ResourceSkuResponse { - name: string; + /** + * notificationResponseProvideDefaults sets the appropriate defaults for NotificationResponse + */ + export function notificationResponseProvideDefaults(val: NotificationResponse): NotificationResponse { + return { + ...val, + thresholdType: (val.thresholdType) ?? "Actual", + }; } - export interface SystemDataResponse { - createdAt?: string; - createdBy?: string; + /** + * Each pivot must contain a 'type' and 'name'. + */ + export interface PivotPropertiesResponse { /** - * The type of identity that created the resource. + * Data field to show in view. */ - createdByType?: string; - lastModifiedAt?: string; - lastModifiedBy?: string; - lastModifiedByType?: string; + name?: string; + /** + * Data type to show in view. + */ + type?: string; } - export interface UserAssignedIdentityResponse { + /** + * The aggregation expression to be used in the report. + */ + export interface ReportConfigAggregationResponse { /** - * The client id of user assigned identity. + * The name of the aggregation function to use. */ - clientId: string; + function: string; /** - * The principal id of user assigned identity. + * The name of the column to aggregate. */ - principalId: string; + name: string; } - } - - export namespace v20220801 { /** - * Integrations for Azure Monitor Workspace. + * The comparison expression to be used in the report. */ - export interface AzureMonitorWorkspaceIntegrationResponse { + export interface ReportConfigComparisonExpressionResponse { /** - * The resource Id of the connected Azure Monitor Workspace. + * The name of the column to use in comparison. */ - azureMonitorWorkspaceResourceId?: string; + name: string; + /** + * The operator to use for comparison. + */ + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; } /** - * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. + * The configuration of dataset in the report. */ - export interface GrafanaIntegrationsResponse { - azureMonitorWorkspaceIntegrations?: outputs.dashboard.v20220801.AzureMonitorWorkspaceIntegrationResponse[]; + export interface ReportConfigDatasetConfigurationResponse { + /** + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + */ + columns?: string[]; } /** - * Properties specific to the grafana resource. + * The definition of data present in the report. */ - export interface ManagedGrafanaPropertiesResponse { - /** - * The api key setting of the Grafana instance. - */ - apiKey?: string; + export interface ReportConfigDatasetResponse { /** - * Scope for dns deterministic name hash calculation. + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. */ - autoGeneratedDomainNameLabelScope?: string; + aggregation?: {[key: string]: outputs.costmanagement.v20230401preview.ReportConfigAggregationResponse}; /** - * Whether a Grafana instance uses deterministic outbound IPs. + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. */ - deterministicOutboundIP?: string; + configuration?: outputs.costmanagement.v20230401preview.ReportConfigDatasetConfigurationResponse; /** - * The endpoint of the Grafana instance. + * Has filter expression to use in the report. */ - endpoint: string; + filter?: outputs.costmanagement.v20230401preview.ReportConfigFilterResponse; /** - * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. + * The granularity of rows in the report. */ - grafanaIntegrations?: outputs.dashboard.v20220801.GrafanaIntegrationsResponse; + granularity?: string; /** - * The Grafana software version. + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. */ - grafanaVersion: string; + grouping?: outputs.costmanagement.v20230401preview.ReportConfigGroupingResponse[]; /** - * List of outbound IPs if deterministicOutboundIP is enabled. + * Array of order by expression to use in the report. */ - outboundIPs: string[]; + sorting?: outputs.costmanagement.v20230401preview.ReportConfigSortingResponse[]; + } + + /** + * The filter expression to be used in the report. + */ + export interface ReportConfigFilterResponse { /** - * The private endpoint connections of the Grafana instance. + * The logical "AND" expression. Must have at least 2 items. */ - privateEndpointConnections: outputs.dashboard.v20220801.PrivateEndpointConnectionResponse[]; + and?: outputs.costmanagement.v20230401preview.ReportConfigFilterResponse[]; /** - * Provisioning state of the resource. + * Has comparison expression for a dimension */ - provisioningState: string; + dimensions?: outputs.costmanagement.v20230401preview.ReportConfigComparisonExpressionResponse; /** - * Indicate the state for enable or disable traffic over the public interface. + * The logical "OR" expression. Must have at least 2 items. */ - publicNetworkAccess?: string; + or?: outputs.costmanagement.v20230401preview.ReportConfigFilterResponse[]; /** - * The zone redundancy setting of the Grafana instance. + * Has comparison expression for a tag */ - zoneRedundancy?: string; + tags?: outputs.costmanagement.v20230401preview.ReportConfigComparisonExpressionResponse; } /** - * Managed service identity (system assigned and/or user assigned identities) + * The group by expression to be used in the report. */ - export interface ManagedServiceIdentityResponse { + export interface ReportConfigGroupingResponse { /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The name of the column to group. This version supports subscription lowest possible grain. */ - principalId: string; + name: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * Has type of the column to group. */ - tenantId: string; + type: string; + } + + /** + * The order by expression to be used in the report. + */ + export interface ReportConfigSortingResponse { /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + * Direction of sort. */ - type: string; + direction?: string; /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + * The name of the column to sort. */ - userAssignedIdentities?: {[key: string]: outputs.dashboard.v20220801.UserAssignedIdentityResponse}; + name: string; } /** - * The Private Endpoint Connection resource. + * The start and end date for pulling data for the report. */ - export interface PrivateEndpointConnectionResponse { + export interface ReportConfigTimePeriodResponse { /** - * The private endpoint connection group ids. + * The start date to pull data from. */ - groupIds?: string[]; + from: string; /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The end date to pull data to. */ - id: string; + to: string; + } + + /** + * The properties of the schedule. + */ + export interface SchedulePropertiesResponse { /** - * The name of the resource + * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. */ - name: string; + dayOfMonth?: number; /** - * The resource of private end point. + * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. */ - privateEndpoint?: outputs.dashboard.v20220801.PrivateEndpointResponse; + daysOfWeek?: string[]; /** - * A collection of information about the state of the connection between service consumer and provider. + * The end date and time of the scheduled action (UTC). */ - privateLinkServiceConnectionState: outputs.dashboard.v20220801.PrivateLinkServiceConnectionStateResponse; + endDate: string; /** - * The provisioning state of the private endpoint connection resource. + * Frequency of the schedule. */ - provisioningState: string; + frequency: string; /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * UTC time at which cost analysis data will be emailed. */ - systemData: outputs.dashboard.v20220801.SystemDataResponse; + hourOfDay?: number; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * The start date and time of the scheduled action (UTC). */ - type: string; - } - - /** - * The Private Endpoint resource. - */ - export interface PrivateEndpointResponse { + startDate: string; /** - * The ARM identifier for Private Endpoint + * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. */ - id: string; + weeksOfMonth?: string[]; } /** - * A collection of information about the state of the connection between service consumer and provider. + * Managed service identity (either system assigned, or none) */ - export interface PrivateLinkServiceConnectionStateResponse { + export interface SystemAssignedServiceIdentityResponse { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - actionsRequired?: string; + principalId: string; /** - * The reason for approval/rejection of the connection. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - description?: string; + tenantId: string; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * Type of managed service identity (either system assigned, or none). */ - status?: string; - } - - export interface ResourceSkuResponse { - name: string; + type: string; } /** @@ -118433,13932 +120847,14051 @@ export namespace dashboard { lastModifiedByType?: string; } + } + + export namespace v20230801 { /** - * User assigned identity properties + * The comparison expression to be used in the budgets. */ - export interface UserAssignedIdentityResponse { + export interface BudgetComparisonExpressionResponse { /** - * The client ID of the assigned identity. + * The name of the column to use in comparison. */ - clientId: string; + name: string; /** - * The principal ID of the assigned identity. + * The operator to use for comparison. */ - principalId: string; + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; } - } -} - -export namespace databox { - /** - * Credential details of the account. - */ - export interface AccountCredentialDetailsResponse { /** - * Connection string of the account endpoint to use the account as a storage endpoint on the device. + * The Dimensions or Tags to filter a budget by. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - accountConnectionString: string; + export interface BudgetFilterPropertiesResponse { + /** + * Has comparison expression for a dimension. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported dimension names for **CategoryType: ReservationUtilization** + * - ReservationId + * - ReservedResourceType + */ + dimensions?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + /** + * Has comparison expression for a tag. + * + * Supported for CategoryType(s): Cost. + */ + tags?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + } + /** - * Name of the account. - */ - accountName: string; - /** - * Type of the account. + * May be used to filter budgets by user-specified dimensions and/or tags. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - dataAccountType: string; + export interface BudgetFilterResponse { + /** + * The logical "AND" expression. Must have at least 2 items. + * + * Supported for CategoryType(s): Cost. + */ + and?: outputs.costmanagement.v20230801.BudgetFilterPropertiesResponse[]; + /** + * Has comparison expression for a dimension. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported dimension names for **CategoryType: ReservationUtilization** + * - ReservationId + * - ReservedResourceType + */ + dimensions?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + /** + * Has comparison expression for a tag. + * + * Supported for CategoryType(s): Cost. + */ + tags?: outputs.costmanagement.v20230801.BudgetComparisonExpressionResponse; + } + /** - * Per share level unencrypted access credentials. + * The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Required for CategoryType(s): Cost, ReservationUtilization. */ - shareCredentialDetails: outputs.databox.ShareCredentialDetailsResponse[]; - } + export interface BudgetTimePeriodResponse { + /** + * The end date for the budget. + * + * - Constraints for **CategoryType: Cost** - No constraints. If not provided, we default this to 10 years from the start date. + * + * - Constraints for **CategoryType: ReservationUtilization** - End date cannot be more than 3 years after the start date. + */ + endDate?: string; + /** + * The start date for the budget. + * + * - Constraints for **CategoryType: Cost** - Must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. + * + * - Constraints for **CategoryType: ReservationUtilization** - Must be on or after the current date and less than the end date. + */ + startDate: string; + } - /** - * This class represents additional info which Resource Providers pass when an error occurs. - */ - export interface AdditionalErrorInfoResponse { /** - * Additional information of the type of error. + * The common properties of the export. */ - info?: any; + export interface CommonExportPropertiesResponse { + /** + * Has the definition for the export. + */ + definition: outputs.costmanagement.v20230801.ExportDefinitionResponse; + /** + * Has delivery information for the export. + */ + deliveryInfo: outputs.costmanagement.v20230801.ExportDeliveryInfoResponse; + /** + * The format of the export being delivered. Currently only 'Csv' is supported. + */ + format?: string; + /** + * If the export has an active schedule, provides an estimate of the next run time. + */ + nextRunTimeEstimate: string; + /** + * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. + */ + partitionData?: boolean; + /** + * If requested, has the most recent run history for the export. + */ + runHistory?: outputs.costmanagement.v20230801.ExportExecutionListResultResponse; + } + /** - * Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). + * Target resources and allocation */ - type?: string; - } + export interface CostAllocationProportionResponse { + /** + * Target resource for cost allocation + */ + name: string; + /** + * Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00. + */ + percentage: number; + } - /** - * The Network Adapter configuration of a DataBox. - */ - export interface ApplianceNetworkConfigurationResponse { /** - * Mac Address. + * Resource details of the cost allocation rule */ - macAddress: string; + export interface CostAllocationRuleDetailsResponse { + /** + * Source resources for cost allocation. At this time, this list can contain no more than one element. + */ + sourceResources?: outputs.costmanagement.v20230801.SourceCostAllocationResourceResponse[]; + /** + * Target resources for cost allocation. At this time, this list can contain no more than one element. + */ + targetResources?: outputs.costmanagement.v20230801.TargetCostAllocationResourceResponse[]; + } + /** - * Name of the network. + * The properties of a cost allocation rule */ - name: string; - } + export interface CostAllocationRulePropertiesResponse { + /** + * Time at which the rule was created. Rules that change cost for the same resource are applied in order of creation. + */ + createdDate: string; + /** + * Description of a cost allocation rule. + */ + description?: string; + /** + * Resource information for the cost allocation rule + */ + details: outputs.costmanagement.v20230801.CostAllocationRuleDetailsResponse; + /** + * Status of the rule + */ + status: string; + /** + * Time at which the rule was last updated. + */ + updatedDate: string; + } - /** - * Filter details to transfer Azure files - */ - export interface AzureFileFilterDetailsResponse { /** - * List of full path of the files to be transferred. + * The current amount of cost which is being tracked for a budget. + * + * Supported for CategoryType(s): Cost. */ - filePathList?: string[]; + export interface CurrentSpendResponse { + /** + * The total amount of cost which is being tracked by the budget. + */ + amount: number; + /** + * The unit of measure for the budget amount. + */ + unit: string; + } + /** - * Prefix list of the Azure files to be transferred. + * The details of the error. */ - filePrefixList?: string[]; + export interface ErrorDetailsResponse { + /** + * Error code. + */ + code: string; + /** + * Error message indicating why the operation failed. + */ + message: string; + } + /** - * List of file shares to be transferred. + * The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns. */ - fileShareList?: string[]; - } + export interface ExportDatasetConfigurationResponse { + /** + * Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples). + */ + columns?: string[]; + } - /** - * Filter details to transfer Azure Blobs - */ - export interface BlobFilterDetailsResponse { /** - * List of full path of the blobs to be transferred. + * The definition for data in the export. */ - blobPathList?: string[]; + export interface ExportDatasetResponse { + /** + * The export dataset configuration. + */ + configuration?: outputs.costmanagement.v20230801.ExportDatasetConfigurationResponse; + /** + * The granularity of rows in the export. Currently only 'Daily' is supported. + */ + granularity?: string; + } + /** - * Prefix list of the Azure blobs to be transferred. + * The definition of an export. */ - blobPrefixList?: string[]; + export interface ExportDefinitionResponse { + /** + * The definition for data in the export. + */ + dataSet?: outputs.costmanagement.v20230801.ExportDatasetResponse; + /** + * Has time period for pulling data for the export. + */ + timePeriod?: outputs.costmanagement.v20230801.ExportTimePeriodResponse; + /** + * The time frame for pulling data for the export. If custom, then a specific time period must be provided. + */ + timeframe: string; + /** + * The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. + */ + type: string; + } + /** - * List of blob containers to be transferred. + * This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). */ - containerList?: string[]; - } + export interface ExportDeliveryDestinationResponse { + /** + * The name of the container where exports will be uploaded. If the container does not exist it will be created. + */ + container: string; + /** + * The resource id of the storage account where exports will be delivered. This is not required if a sasToken and storageAccount are specified. + */ + resourceId?: string; + /** + * The name of the directory where exports will be uploaded. + */ + rootFolderPath?: string; + /** + * A SAS token for the storage account. For a restricted set of Azure customers this together with storageAccount can be specified instead of resourceId. Note: the value returned by the API for this property will always be obfuscated. Returning this same obfuscated value will not result in the SAS token being updated. To update this value a new SAS token must be specified. + */ + sasToken?: string; + /** + * The storage account where exports will be uploaded. For a restricted set of Azure customers this together with sasToken can be specified instead of resourceId. + */ + storageAccount?: string; + } - /** - * Provides additional information about an http error response. - */ - export interface CloudErrorResponse { /** - * Gets or sets additional error info. + * The delivery information associated with a export. */ - additionalInfo: outputs.databox.AdditionalErrorInfoResponse[]; + export interface ExportDeliveryInfoResponse { + /** + * Has destination for the export being delivered. + */ + destination: outputs.costmanagement.v20230801.ExportDeliveryDestinationResponse; + } + /** - * Error code. + * Result of listing the run history of an export. */ - code?: string; + export interface ExportExecutionListResultResponse { + /** + * A list of export runs. + */ + value: outputs.costmanagement.v20230801.ExportRunResponse[]; + } + /** - * Gets or sets details for the error. + * The start and end date for recurrence schedule. */ - details: outputs.databox.CloudErrorResponse[]; + export interface ExportRecurrencePeriodResponse { + /** + * The start date of recurrence. + */ + from: string; + /** + * The end date of recurrence. + */ + to?: string; + } + /** - * The error message parsed from the body of the http error response. + * An export run. */ - message?: string; + export interface ExportRunResponse { + /** + * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. + */ + eTag?: string; + /** + * The details of any error. + */ + error?: outputs.costmanagement.v20230801.ErrorDetailsResponse; + /** + * The type of the export run. + */ + executionType?: string; + /** + * The name of the exported file. + */ + fileName?: string; + /** + * Resource Id. + */ + id: string; + /** + * Resource name. + */ + name: string; + /** + * The time when the export run finished. + */ + processingEndTime?: string; + /** + * The time when export was picked up to be run. + */ + processingStartTime?: string; + /** + * The export settings that were in effect for this run. + */ + runSettings?: outputs.costmanagement.v20230801.CommonExportPropertiesResponse; + /** + * The last known status of the export run. + */ + status?: string; + /** + * The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'. + */ + submittedBy?: string; + /** + * The time when export was queued to be run. + */ + submittedTime?: string; + /** + * Resource type. + */ + type: string; + } + /** - * Gets or sets the target of the error. + * The schedule associated with the export. */ - target?: string; - } + export interface ExportScheduleResponse { + /** + * The schedule recurrence. + */ + recurrence?: string; + /** + * Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date. + */ + recurrencePeriod?: outputs.costmanagement.v20230801.ExportRecurrencePeriodResponse; + /** + * The status of the export's schedule. If 'Inactive', the export's schedule is paused. + */ + status?: string; + } - /** - * Contact Details. - */ - export interface ContactDetailsResponse { /** - * Contact name of the person. + * The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months. */ - contactName: string; + export interface ExportTimePeriodResponse { + /** + * The start date for export data. + */ + from: string; + /** + * The end date for export data. + */ + to: string; + } + /** - * List of Email-ids to be notified about job progress. + * Destination of the view data. This is optional. Currently only CSV format is supported. */ - emailList: string[]; + export interface FileDestinationResponse { + /** + * Destination of the view data. Currently only CSV format is supported. + */ + fileFormats?: string[]; + } + /** - * Mobile number of the contact person. + * The forecasted cost which is being tracked for a budget. + * + * Supported for CategoryType(s): Cost. */ - mobile?: string; + export interface ForecastSpendResponse { + /** + * The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type. + */ + amount: number; + /** + * The unit of measure for the budget amount. + */ + unit: string; + } + /** - * Notification preference for a job stage. + * Each KPI must contain a 'type' and 'enabled' key. */ - notificationPreference?: outputs.databox.NotificationPreferenceResponse[]; + export interface KpiPropertiesResponse { + /** + * show the KPI in the UI? + */ + enabled?: boolean; + /** + * ID of resource related to metric (budget). + */ + id?: string; + /** + * KPI type (Forecast, Budget). + */ + type?: string; + } + /** - * Phone number of the contact person. + * The properties of the scheduled action notification. */ - phone: string; + export interface NotificationPropertiesResponse { + /** + * Locale of the email. + */ + language?: string; + /** + * Optional message to be added in the email. Length is limited to 250 characters. + */ + message?: string; + /** + * Regional format used for formatting date/time and currency values in the email. + */ + regionalFormat?: string; + /** + * Subject of the email. Length is limited to 70 characters. + */ + subject: string; + /** + * Array of email addresses. + */ + to: string[]; + } + /** - * Phone extension number of the contact person. + * The notification associated with a budget. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. */ - phoneExtension?: string; - } - - /** - * Contact Info. - */ - export interface ContactInfoResponse { + export interface NotificationResponse { + /** + * Email addresses to send the notification to when the threshold is breached. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + contactEmails: string[]; + /** + * Subscription or Resource Group scopes only. Action groups to send the notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. + * + * Supported for CategoryType(s): Cost. + */ + contactGroups?: string[]; + /** + * Subscription or Resource Group scopes only. Contact roles to send the notification to when the threshold is breached. + * + * Supported for CategoryType(s): Cost. + */ + contactRoles?: string[]; + /** + * The notification is enabled or not. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + enabled: boolean; + /** + * Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). + * + * Supported for CategoryType(s): ReservationUtilization. + */ + frequency?: string; + /** + * Language in which the recipient will receive the notification, + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + */ + locale?: string; + /** + * The comparison operator. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * Supported operators for **CategoryType: Cost** + * - GreaterThan + * - GreaterThanOrEqualTo + * + * Supported operators for **CategoryType: ReservationUtilization** + * - LessThan + */ + operator: string; + /** + * Threshold value associated with a notification. It is always percent with a maximum of 2 decimal places. + * + * Supported for CategoryType(s): Cost, ReservationUtilization. + * + * **CategoryType: Cost** - Must be between 0 and 1000. Notification is sent when the cost exceeded the threshold. + * + * **CategoryType: ReservationUtilization** - Must be between 0 and 100. Notification is sent when a reservation has a utilization percentage below the threshold. + */ + threshold: number; + /** + * The type of threshold. + * + * Supported for CategoryType(s): Cost. + */ + thresholdType?: string; + } /** - * Contact name of the person. + * notificationResponseProvideDefaults sets the appropriate defaults for NotificationResponse */ - contactName: string; + export function notificationResponseProvideDefaults(val: NotificationResponse): NotificationResponse { + return { + ...val, + thresholdType: (val.thresholdType) ?? "Actual", + }; + } + /** - * Mobile number of the contact person. + * Each pivot must contain a 'type' and 'name'. */ - mobile?: string; + export interface PivotPropertiesResponse { + /** + * Data field to show in view. + */ + name?: string; + /** + * Data type to show in view. + */ + type?: string; + } + /** - * Phone number of the contact person. + * The aggregation expression to be used in the report. */ - phone: string; + export interface ReportConfigAggregationResponse { + /** + * The name of the aggregation function to use. + */ + function: string; + /** + * The name of the column to aggregate. + */ + name: string; + } + /** - * Phone extension number of the contact person. + * The comparison expression to be used in the report. */ - phoneExtension?: string; - } + export interface ReportConfigComparisonExpressionResponse { + /** + * The name of the column to use in comparison. + */ + name: string; + /** + * The operator to use for comparison. + */ + operator: string; + /** + * Array of values to use for comparison + */ + values: string[]; + } - /** - * Copy progress. - */ - export interface CopyProgressResponse { /** - * Id of the account where the data needs to be uploaded. + * The configuration of dataset in the report. */ - accountId: string; + export interface ReportConfigDatasetConfigurationResponse { + /** + * Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns. + */ + columns?: string[]; + } + /** - * Available actions on the job. + * The definition of data present in the report. */ - actions: string[]; + export interface ReportConfigDatasetResponse { + /** + * Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses. + */ + aggregation?: {[key: string]: outputs.costmanagement.v20230801.ReportConfigAggregationResponse}; + /** + * Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided. + */ + configuration?: outputs.costmanagement.v20230801.ReportConfigDatasetConfigurationResponse; + /** + * Has filter expression to use in the report. + */ + filter?: outputs.costmanagement.v20230801.ReportConfigFilterResponse; + /** + * The granularity of rows in the report. + */ + granularity?: string; + /** + * Array of group by expression to use in the report. Report can have up to 2 group by clauses. + */ + grouping?: outputs.costmanagement.v20230801.ReportConfigGroupingResponse[]; + /** + * Array of order by expression to use in the report. + */ + sorting?: outputs.costmanagement.v20230801.ReportConfigSortingResponse[]; + } + /** - * To indicate bytes transferred. + * The filter expression to be used in the report. */ - bytesProcessed: number; + export interface ReportConfigFilterResponse { + /** + * The logical "AND" expression. Must have at least 2 items. + */ + and?: outputs.costmanagement.v20230801.ReportConfigFilterResponse[]; + /** + * Has comparison expression for a dimension + */ + dimensions?: outputs.costmanagement.v20230801.ReportConfigComparisonExpressionResponse; + /** + * The logical "OR" expression. Must have at least 2 items. + */ + or?: outputs.costmanagement.v20230801.ReportConfigFilterResponse[]; + /** + * Has comparison expression for a tag + */ + tags?: outputs.costmanagement.v20230801.ReportConfigComparisonExpressionResponse; + } + /** - * Data Account Type. + * The group by expression to be used in the report. */ - dataAccountType: string; + export interface ReportConfigGroupingResponse { + /** + * The name of the column to group. This version supports subscription lowest possible grain. + */ + name: string; + /** + * Has type of the column to group. + */ + type: string; + } + /** - * To indicate directories errored out in the job. + * The order by expression to be used in the report. */ - directoriesErroredOut: number; + export interface ReportConfigSortingResponse { + /** + * Direction of sort. + */ + direction?: string; + /** + * The name of the column to sort. + */ + name: string; + } + /** - * Error, if any, in the stage + * The start and end date for pulling data for the report. */ - error: outputs.databox.CloudErrorResponse; + export interface ReportConfigTimePeriodResponse { + /** + * The start date to pull data from. + */ + from: string; + /** + * The end date to pull data to. + */ + to: string; + } + /** - * Number of files which could not be copied + * The properties of the schedule. */ - filesErroredOut: number; + export interface SchedulePropertiesResponse { + /** + * UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek. + */ + dayOfMonth?: number; + /** + * Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly. + */ + daysOfWeek?: string[]; + /** + * The end date and time of the scheduled action (UTC). + */ + endDate: string; + /** + * Frequency of the schedule. + */ + frequency: string; + /** + * UTC time at which cost analysis data will be emailed. + */ + hourOfDay?: number; + /** + * The start date and time of the scheduled action (UTC). + */ + startDate: string; + /** + * Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek. + */ + weeksOfMonth?: string[]; + } + /** - * Number of files processed + * Source resources for cost allocation */ - filesProcessed: number; + export interface SourceCostAllocationResourceResponse { + /** + * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag + */ + name: string; + /** + * Type of resources contained in this cost allocation rule + */ + resourceType: string; + /** + * Source Resources for cost allocation. This list cannot contain more than 25 values. + */ + values: string[]; + } + /** - * To indicate directories renamed + * Managed service identity (either system assigned, or none) */ - invalidDirectoriesProcessed: number; + export interface SystemAssignedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (either system assigned, or none). + */ + type: string; + } + /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming + * Metadata pertaining to creation and last modification of the resource. */ - invalidFileBytesUploaded: number; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming + * The properties of the tag inheritance setting. */ - invalidFilesProcessed: number; + export interface TagInheritancePropertiesResponse { + /** + * When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied. + */ + preferContainerTags: boolean; + } + /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. + * Target resources for cost allocation. */ - isEnumerationInProgress: boolean; + export interface TargetCostAllocationResourceResponse { + /** + * If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag + */ + name: string; + /** + * Method of cost allocation for the rule + */ + policyType: string; + /** + * Type of resources contained in this cost allocation rule + */ + resourceType: string; + /** + * Target resources for cost allocation. This list cannot contain more than 25 values. + */ + values: outputs.costmanagement.v20230801.CostAllocationProportionResponse[]; + } + + } +} + +export namespace customerinsights { + /** + * The AssignmentPrincipal + */ + export interface AssignmentPrincipalResponse { /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + * The principal id being assigned to. */ - renamedContainerCount: number; + principalId: string; /** - * Name of the storage account. This will be empty for data account types other than storage account. + * Other metadata for the principal. */ - storageAccountName: string; + principalMetadata?: {[key: string]: string}; /** - * Total amount of data to be processed by the job. + * The Type of the principal ID. */ - totalBytesToProcess: number; + principalType: string; + } + + /** + * Definition of canonical profile. + */ + export interface CanonicalProfileDefinitionResponse { /** - * Total files to process + * Canonical profile ID. */ - totalFilesToProcess: number; + canonicalProfileId?: number; /** - * Transfer type of data + * Properties of the canonical profile. */ - transferType: string; + properties?: outputs.customerinsights.CanonicalProfileDefinitionResponseProperties[]; } /** - * The secrets related to customer disk job. + * The definition of a canonical profile property. */ - export interface CustomerDiskJobSecretsResponse { + export interface CanonicalProfileDefinitionResponseProperties { /** - * Carrier Account Number of the customer + * Profile name. */ - carrierAccountNumber: string; + profileName?: string; /** - * Dc Access Security Code for Customer Managed Shipping + * Property name of profile. */ - dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; + profilePropertyName?: string; /** - * Contains the list of secrets object for that device. + * The rank. */ - diskSecrets: outputs.databox.DiskSecretResponse[]; + rank?: number; /** - * Error while fetching the secrets. + * Type of canonical property value. */ - error: outputs.databox.CloudErrorResponse; + type?: string; /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxCustomerDisk'. + * Value of the canonical property. */ - jobSecretsType: "DataBoxCustomerDisk"; + value?: string; } /** - * Copy log details for a storage account of a DataBox job + * Connector mapping property availability. */ - export interface DataBoxAccountCopyLogDetailsResponse { - /** - * Account name. - */ - accountName: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBox'. - */ - copyLogDetailsType: "DataBox"; + export interface ConnectorMappingAvailabilityResponse { /** - * Link for copy logs. + * The frequency to update. */ - copyLogLink: string; + frequency?: string; /** - * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. + * The interval of the given frequency to use. */ - copyVerboseLogLink: string; + interval: number; } /** - * Copy Log Details for customer disk + * The complete operation. */ - export interface DataBoxCustomerDiskCopyLogDetailsResponse { + export interface ConnectorMappingCompleteOperationResponse { /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. + * The type of completion operation. */ - copyLogDetailsType: "DataBoxCustomerDisk"; + completionOperationType?: string; /** - * Link for copy error logs. + * The destination folder where files will be moved to once the import is done. */ - errorLogLink: string; + destinationFolder?: string; + } + + /** + * The error management. + */ + export interface ConnectorMappingErrorManagementResponse { /** - * Disk Serial Number. + * The error limit allowed while importing data. */ - serialNumber: string; + errorLimit?: number; /** - * Link for copy verbose logs. + * The type of error management to use for the mapping. */ - verboseLogLink: string; + errorManagementType: string; } /** - * DataBox CustomerDisk Copy Progress + * Connector mapping property format. */ - export interface DataBoxCustomerDiskCopyProgressResponse { + export interface ConnectorMappingFormatResponse { /** - * Id of the account where the data needs to be uploaded. + * The oData language. */ - accountId: string; + acceptLanguage?: string; /** - * Available actions on the job. + * Character separating array elements. */ - actions: string[]; + arraySeparator?: string; /** - * To indicate bytes transferred. + * The character that signifies a break between columns. */ - bytesProcessed: number; + columnDelimiter?: string; /** - * The Status of the copy + * The type mapping format. */ - copyStatus: string; + formatType: string; /** - * Data Account Type. + * Quote character, used to indicate enquoted fields. */ - dataAccountType: string; + quoteCharacter?: string; /** - * To indicate directories errored out in the job. + * Escape character for quotes, can be the same as the quoteCharacter. */ - directoriesErroredOut: number; + quoteEscapeCharacter?: string; + } + + /** + * The connector mapping properties. + */ + export interface ConnectorMappingPropertiesResponse { /** - * Error, if any, in the stage + * The availability of mapping property. */ - error: outputs.databox.CloudErrorResponse; + availability: outputs.customerinsights.ConnectorMappingAvailabilityResponse; /** - * Number of files which could not be copied + * The operation after import is done. */ - filesErroredOut: number; + completeOperation: outputs.customerinsights.ConnectorMappingCompleteOperationResponse; /** - * Number of files processed + * The error management setting for the mapping. */ - filesProcessed: number; + errorManagement: outputs.customerinsights.ConnectorMappingErrorManagementResponse; /** - * To indicate directories renamed + * The file filter for the mapping. */ - invalidDirectoriesProcessed: number; + fileFilter?: string; /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming + * The folder path for the mapping. */ - invalidFileBytesUploaded: number; + folderPath?: string; /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming + * The format of mapping property. */ - invalidFilesProcessed: number; + format: outputs.customerinsights.ConnectorMappingFormatResponse; /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. + * If the file contains a header or not. */ - isEnumerationInProgress: boolean; + hasHeader?: boolean; /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + * Ingestion mapping information at property level. */ - renamedContainerCount: number; + structure: outputs.customerinsights.ConnectorMappingStructureResponse[]; + } + + /** + * Connector mapping property structure. + */ + export interface ConnectorMappingStructureResponse { /** - * Disk Serial Number. + * The column name of the import file. */ - serialNumber: string; + columnName: string; /** - * Name of the storage account. This will be empty for data account types other than storage account. + * Custom format specifier for input parsing. */ - storageAccountName: string; - /** - * Total amount of data to be processed by the job. - */ - totalBytesToProcess: number; + customFormatSpecifier?: string; /** - * Total files to process + * Indicates if the column is encrypted. */ - totalFilesToProcess: number; + isEncrypted?: boolean; /** - * Transfer type of data + * The property name of the mapping entity. */ - transferType: string; + propertyName: string; } /** - * Customer disk job details. + * The data source precedence is a way to know the precedence of each data source. */ - export interface DataBoxCustomerDiskJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per disk. - */ - copyProgress: outputs.databox.DataBoxCustomerDiskCopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliverToDcPackageDetails: outputs.databox.PackageCarrierInfoResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; - /** - * Flag to indicate if disk manifest should be backed-up in the Storage Account. - */ - enableManifestBackup?: boolean; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Contains the map of disk serial number to the disk details for export jobs. - */ - exportDiskDetailsCollection: {[key: string]: outputs.databox.ExportDiskDetailsResponse}; - /** - * Contains the map of disk serial number to the disk details for import jobs. - */ - importDiskDetailsCollection?: {[key: string]: outputs.databox.ImportDiskDetailsResponse}; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - jobDetailsType: "DataBoxCustomerDisk"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.PackageShippingDetailsResponse; - /** - * Return package shipping details. - */ - returnToCustomerPackageDetails: outputs.databox.PackageCarrierDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; + export interface DataSourcePrecedenceResponse { /** - * Optional Reverse Shipping details for order. + * The data source reference id. */ - reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; + dataSourceReferenceId: string; /** - * Shipping address of the customer. + * The data source type. */ - shippingAddress?: outputs.databox.ShippingAddressResponse; - } - /** - * dataBoxCustomerDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxCustomerDiskJobDetailsResponse - */ - export function dataBoxCustomerDiskJobDetailsResponseProvideDefaults(val: DataBoxCustomerDiskJobDetailsResponse): DataBoxCustomerDiskJobDetailsResponse { - return { - ...val, - enableManifestBackup: (val.enableManifestBackup) ?? false, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - - /** - * Copy Log Details for a disk - */ - export interface DataBoxDiskCopyLogDetailsResponse { + dataSourceType: string; /** - * Indicates the type of job details. - * Expected value is 'DataBoxDisk'. + * The data source ID. */ - copyLogDetailsType: "DataBoxDisk"; + id: number; /** - * Disk Serial Number. + * The data source name */ - diskSerialNumber: string; + name: string; /** - * Link for copy error logs. + * the precedence value. */ - errorLogLink: string; + precedence?: number; /** - * Link for copy verbose logs. + * The data source status. */ - verboseLogLink: string; + status: string; } /** - * DataBox Disk Copy Progress + * Hub billing info. */ - export interface DataBoxDiskCopyProgressResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Bytes copied during the copy of disk. - */ - bytesCopied: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.CloudErrorResponse; + export interface HubBillingInfoFormatResponse { /** - * Indicates the percentage completed for the copy of the disk. + * The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions. */ - percentComplete: number; + maxUnits?: number; /** - * The serial number of the disk + * The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions. */ - serialNumber: string; + minUnits?: number; /** - * The Status of the copy + * The sku name. */ - status: string; + skuName?: string; } /** - * Granular Copy Log Details for customer disk + * The KPI alias. */ - export interface DataBoxDiskGranularCopyLogDetailsResponse { - /** - * Account id. - */ - accountId: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - copyLogDetailsType: "DataBoxCustomerDisk"; - /** - * Link for copy error logs. - */ - errorLogLink: string; + export interface KpiAliasResponse { /** - * Disk Serial Number. + * KPI alias name. */ - serialNumber: string; + aliasName: string; /** - * Link for copy verbose logs. + * The expression. */ - verboseLogLink: string; + expression: string; } /** - * DataBox Disk Granular Copy Progress + * The KPI extract. */ - export interface DataBoxDiskGranularCopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * The Status of the copy - */ - copyStatus: string; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; - /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFileBytesUploaded: number; - /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFilesProcessed: number; - /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. - */ - isEnumerationInProgress: boolean; - /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming - */ - renamedContainerCount: number; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Name of the storage account. This will be empty for data account types other than storage account. - */ - storageAccountName: string; - /** - * Total amount of data to be processed by the job. - */ - totalBytesToProcess: number; + export interface KpiExtractResponse { /** - * Total files to process + * The expression. */ - totalFilesToProcess: number; + expression: string; /** - * Transfer type of data + * KPI extract name. */ - transferType: string; + extractName: string; } /** - * DataBox Disk Job Details. + * The KPI GroupBy field metadata. */ - export interface DataBoxDiskJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per disk. - */ - copyProgress: outputs.databox.DataBoxDiskCopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; - /** - * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. - */ - disksAndSizeDetails: {[key: string]: number}; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Copy progress per disk. - */ - granularCopyLogDetails: outputs.databox.DataBoxDiskGranularCopyLogDetailsResponse[]; - /** - * Copy progress per disk. - */ - granularCopyProgress: outputs.databox.DataBoxDiskGranularCopyProgressResponse[]; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxDisk'. - */ - jobDetailsType: "DataBoxDisk"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; - /** - * User entered passkey for DataBox Disk job. - */ - passkey?: string; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.PreferencesResponse; - /** - * User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. - */ - preferredDisks?: {[key: string]: number}; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.PackageShippingDetailsResponse; + export interface KpiGroupByMetadataResponse { /** - * Shared access key to download the return shipment label + * The display name. */ - reverseShipmentLabelSasKey: string; + displayName?: {[key: string]: string}; /** - * Optional Reverse Shipping details for order. + * The name of the field. */ - reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; + fieldName?: string; /** - * Shipping address of the customer. + * The type of the field. */ - shippingAddress?: outputs.databox.ShippingAddressResponse; - } - /** - * dataBoxDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxDiskJobDetailsResponse - */ - export function dataBoxDiskJobDetailsResponseProvideDefaults(val: DataBoxDiskJobDetailsResponse): DataBoxDiskJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; + fieldType?: string; } /** - * The secrets related to disk job. + * The KPI participant profile metadata. */ - export interface DataBoxDiskJobSecretsResponse { - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; - /** - * Contains the list of secrets object for that device. - */ - diskSecrets: outputs.databox.DiskSecretResponse[]; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.CloudErrorResponse; - /** - * Whether passkey was provided by user. - */ - isPasskeyUserDefined: boolean; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxDisk'. - */ - jobSecretsType: "DataBoxDisk"; + export interface KpiParticipantProfilesMetadataResponse { /** - * PassKey for the disk Job. + * Name of the type. */ - passKey: string; + typeName: string; } /** - * Copy log details for a storage account for Databox heavy + * Defines the KPI Threshold limits. */ - export interface DataBoxHeavyAccountCopyLogDetailsResponse { - /** - * Account name. - */ - accountName: string; + export interface KpiThresholdsResponse { /** - * Indicates the type of job details. - * Expected value is 'DataBoxHeavy'. + * Whether or not the KPI is an increasing KPI. */ - copyLogDetailsType: "DataBoxHeavy"; + increasingKpi: boolean; /** - * Link for copy logs. + * The lower threshold limit. */ - copyLogLink: string[]; + lowerLimit: number; /** - * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. + * The upper threshold limit. */ - copyVerboseLogLink: string[]; + upperLimit: number; } /** - * Databox Heavy Device Job Details + * The participant profile property reference. */ - export interface DataBoxHeavyJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per account. - */ - copyProgress: outputs.databox.CopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; - /** - * Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ - */ - devicePassword?: string; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxHeavy'. - */ - jobDetailsType: "DataBoxHeavy"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; + export interface ParticipantProfilePropertyReferenceResponse { /** - * Optional Reverse Shipping details for order. + * The source interaction property that maps to the target profile property. */ - reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; + interactionPropertyName: string; /** - * Shipping address of the customer. + * The target profile property that maps to the source interaction property. */ - shippingAddress?: outputs.databox.ShippingAddressResponse; - } - /** - * dataBoxHeavyJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxHeavyJobDetailsResponse - */ - export function dataBoxHeavyJobDetailsResponseProvideDefaults(val: DataBoxHeavyJobDetailsResponse): DataBoxHeavyJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; + profilePropertyName: string; } /** - * The secrets related to a databox heavy job. + * The participant property reference. */ - export interface DataBoxHeavyJobSecretsResponse { - /** - * Contains the list of secret objects for a databox heavy job. - */ - cabinetPodSecrets: outputs.databox.DataBoxHeavySecretResponse[]; - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; + export interface ParticipantPropertyReferenceResponse { /** - * Error while fetching the secrets. + * The source property that maps to the target property. */ - error: outputs.databox.CloudErrorResponse; + sourcePropertyName: string; /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxHeavy'. + * The target property that maps to the source property. */ - jobSecretsType: "DataBoxHeavy"; + targetPropertyName: string; } /** - * The secrets related to a databox heavy. + * The definition of the prediction distribution. */ - export interface DataBoxHeavySecretResponse { - /** - * Per account level access credentials. - */ - accountCredentialDetails: outputs.databox.AccountCredentialDetailsResponse[]; - /** - * Password for out of the box experience on device. - */ - devicePassword: string; + export interface PredictionDistributionDefinitionResponse { /** - * Serial number of the assigned device. + * Distributions of the prediction. */ - deviceSerialNumber: string; + distributions?: outputs.customerinsights.PredictionDistributionDefinitionResponseDistributions[]; /** - * The base 64 encoded public key to authenticate with the device + * Total negatives in the distribution. */ - encodedValidationCertPubKey: string; + totalNegatives?: number; /** - * Network configuration of the appliance. + * Total positive in the distribution. */ - networkConfigurations: outputs.databox.ApplianceNetworkConfigurationResponse[]; + totalPositives?: number; } /** - * Databox Job Details + * The definition of a prediction distribution. */ - export interface DataBoxJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per storage account. - */ - copyProgress: outputs.databox.CopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; - /** - * Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ - */ - devicePassword?: string; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Indicates the type of job details. - * Expected value is 'DataBox'. - */ - jobDetailsType: "DataBox"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; + export interface PredictionDistributionDefinitionResponseDistributions { /** - * Preferences for the order. + * Number of negatives. */ - preferences?: outputs.databox.PreferencesResponse; + negatives?: number; /** - * Return package shipping details. + * Number of negatives above threshold. */ - returnPackage: outputs.databox.PackageShippingDetailsResponse; + negativesAboveThreshold?: number; /** - * Shared access key to download the return shipment label + * Number of positives. */ - reverseShipmentLabelSasKey: string; + positives?: number; /** - * Optional Reverse Shipping details for order. + * Number of positives above threshold. */ - reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; + positivesAboveThreshold?: number; /** - * Shipping address of the customer. + * Score threshold. */ - shippingAddress?: outputs.databox.ShippingAddressResponse; - } - /** - * dataBoxJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxJobDetailsResponse - */ - export function dataBoxJobDetailsResponseProvideDefaults(val: DataBoxJobDetailsResponse): DataBoxJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; + scoreThreshold?: number; } /** - * The secrets related to a DataBox. + * The definition of a prediction grade. */ - export interface DataBoxSecretResponse { - /** - * Per account level access credentials. - */ - accountCredentialDetails: outputs.databox.AccountCredentialDetailsResponse[]; - /** - * Password for out of the box experience on device. - */ - devicePassword: string; + export interface PredictionResponseGrades { /** - * Serial number of the assigned device. + * Name of the grade. */ - deviceSerialNumber: string; + gradeName?: string; /** - * The base 64 encoded public key to authenticate with the device + * Maximum score threshold. */ - encodedValidationCertPubKey: string; + maxScoreThreshold?: number; /** - * Network configuration of the appliance. + * Minimum score threshold. */ - networkConfigurations: outputs.databox.ApplianceNetworkConfigurationResponse[]; + minScoreThreshold?: number; } /** - * Details of the data to be used for exporting data from azure. + * Definition of the link mapping of prediction. */ - export interface DataExportDetailsResponse { - /** - * Account details of the data to be transferred - */ - accountDetails: outputs.databox.ManagedDiskDetailsResponse | outputs.databox.StorageAccountDetailsResponse; - /** - * Level of the logs to be collected. - */ - logCollectionLevel?: string; + export interface PredictionResponseMappings { /** - * Configuration for the data transfer. + * The grade of the link mapping. */ - transferConfiguration: outputs.databox.TransferConfigurationResponse; - } - /** - * dataExportDetailsResponseProvideDefaults sets the appropriate defaults for DataExportDetailsResponse - */ - export function dataExportDetailsResponseProvideDefaults(val: DataExportDetailsResponse): DataExportDetailsResponse { - return { - ...val, - logCollectionLevel: (val.logCollectionLevel) ?? "Error", - transferConfiguration: outputs.databox.transferConfigurationResponseProvideDefaults(val.transferConfiguration), - }; - } - - /** - * Details of the data to be used for importing data to azure. - */ - export interface DataImportDetailsResponse { + grade: string; /** - * Account details of the data to be transferred + * The reason of the link mapping. */ - accountDetails: outputs.databox.ManagedDiskDetailsResponse | outputs.databox.StorageAccountDetailsResponse; + reason: string; /** - * Level of the logs to be collected. + * The score of the link mapping. */ - logCollectionLevel?: string; - } - /** - * dataImportDetailsResponseProvideDefaults sets the appropriate defaults for DataImportDetailsResponse - */ - export function dataImportDetailsResponseProvideDefaults(val: DataImportDetailsResponse): DataImportDetailsResponse { - return { - ...val, - logCollectionLevel: (val.logCollectionLevel) ?? "Error", - }; + score: string; } /** - * The secrets related to a databox job. + * System generated entities. */ - export interface DataboxJobSecretsResponse { - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; + export interface PredictionResponseSystemGeneratedEntities { /** - * Error while fetching the secrets. + * Generated interaction types. */ - error: outputs.databox.CloudErrorResponse; + generatedInteractionTypes?: string[]; /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBox'. + * Generated KPIs. */ - jobSecretsType: "DataBox"; + generatedKpis?: {[key: string]: string}; /** - * Contains the list of secret objects for a job. + * Generated links. */ - podSecrets?: outputs.databox.DataBoxSecretResponse[]; + generatedLinks?: string[]; } /** - * Datacenter instruction for given storage location. + * Valid enum values in case of an enum property. */ - export interface DatacenterAddressInstructionResponseResponse { - /** - * Data center communication instruction - */ - communicationInstruction: string; - /** - * Azure Location where the Data Center serves primarily. - */ - dataCenterAzureLocation: string; + export interface ProfileEnumValidValuesFormatResponse { /** - * Data center address type - * Expected value is 'DatacenterAddressInstruction'. + * Localized names of the enum member. */ - datacenterAddressType: "DatacenterAddressInstruction"; + localizedValueNames?: {[key: string]: string}; /** - * List of supported carriers for return shipment. + * The integer value of the enum member. */ - supportedCarriersForReturnShipment: string[]; + value?: number; } /** - * Datacenter address for given storage location. + * Property definition. */ - export interface DatacenterAddressLocationResponseResponse { + export interface PropertyDefinitionResponse { /** - * Special instruction for shipping + * Array value separator for properties with isArray set. */ - additionalShippingInformation: string; + arrayValueSeparator?: string; /** - * Address type + * This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. */ - addressType: string; + dataSourcePrecedenceRules: outputs.customerinsights.DataSourcePrecedenceResponse[]; /** - * City name + * Describes valid values for an enum property. */ - city: string; + enumValidValues?: outputs.customerinsights.ProfileEnumValidValuesFormatResponse[]; /** - * Company name + * Name of the property. */ - company: string; + fieldName: string; /** - * Contact person name + * Type of the property. */ - contactPersonName: string; + fieldType: string; /** - * name of the country + * Indicates if the property is actually an array of the fieldType above on the data api. */ - country: string; + isArray?: boolean; /** - * Azure Location where the Data Center serves primarily. + * Whether property is available in graph or not. */ - dataCenterAzureLocation: string; + isAvailableInGraph?: boolean; /** - * Data center address type - * Expected value is 'DatacenterAddressLocation'. + * Indicates if the property is an enum. */ - datacenterAddressType: "DatacenterAddressLocation"; + isEnum?: boolean; /** - * Phone number + * Indicates if the property is an flag enum. */ - phone: string; + isFlagEnum?: boolean; /** - * Phone extension + * Whether the property is an Image. */ - phoneExtension: string; + isImage?: boolean; /** - * name of the state + * Whether the property is a localized string. */ - state: string; + isLocalizedString?: boolean; /** - * Street address line 1 + * Whether the property is a name or a part of name. */ - street1: string; + isName?: boolean; /** - * Street address line 2 + * Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field. */ - street2: string; + isRequired?: boolean; /** - * Street address line 3 + * Max length of string. Used only if type is string. */ - street3: string; + maxLength?: number; /** - * List of supported carriers for return shipment. + * The ID associated with the property. */ - supportedCarriersForReturnShipment: string[]; + propertyId?: string; /** - * Zip code + * URL encoded schema.org item prop link for the property. */ - zip: string; + schemaItemPropLink?: string; } /** - * Dc access security code + * The fields mapping for Relationships. */ - export interface DcAccessSecurityCodeResponse { - /** - * Forward Dc access security code. - */ - forwardDCAccessCode?: string; + export interface RelationshipLinkFieldMappingResponse { /** - * Reverse Dc access security code. + * The field name on the Interaction Type. */ - reverseDCAccessCode?: string; - } - - /** - * Device erasure details with erasure completion status and erasureordestructionlog sas key - */ - export interface DeviceErasureDetailsResponse { + interactionFieldName: string; /** - * Holds the device erasure completion status + * Link type. */ - deviceErasureStatus: string; + linkType?: string; /** - * Shared access key to download cleanup or destruction certificate for device + * The field name on the Relationship metadata. */ - erasureOrDestructionCertificateSasKey: string; + relationshipFieldName: string; } /** - * Contains all the secrets of a Disk. + * Map a field of profile to its corresponding StrongId in Related Profile. */ - export interface DiskSecretResponse { + export interface RelationshipTypeFieldMappingResponse { /** - * Bit Locker key of the disk which can be used to unlock the disk to copy data. + * Specifies the fieldName in profile. */ - bitLockerKey: string; + profileFieldName: string; /** - * Serial number of the assigned disk. + * Specifies the KeyProperty (from StrongId) of the related profile. */ - diskSerialNumber: string; + relatedProfileKeyProperty: string; } /** - * Preferences related to the Encryption. + * Maps fields in Profile to their corresponding StrongIds in Related Profile. */ - export interface EncryptionPreferencesResponse { - /** - * Defines secondary layer of software-based encryption enablement. - */ - doubleEncryption?: string; + export interface RelationshipTypeMappingResponse { /** - * Defines Hardware level encryption (Only for disk) + * Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well. */ - hardwareEncryption?: string; - } - /** - * encryptionPreferencesResponseProvideDefaults sets the appropriate defaults for EncryptionPreferencesResponse - */ - export function encryptionPreferencesResponseProvideDefaults(val: EncryptionPreferencesResponse): EncryptionPreferencesResponse { - return { - ...val, - doubleEncryption: (val.doubleEncryption) ?? "Disabled", - }; + fieldMappings: outputs.customerinsights.RelationshipTypeFieldMappingResponse[]; } /** - * Export disk details + * The resource set description. */ - export interface ExportDiskDetailsResponse { - /** - * Path to backed up manifest, only returned if enableManifestBackup is true. - */ - backupManifestCloudPath: string; + export interface ResourceSetDescriptionResponse { /** - * The relative path of the manifest file on the disk. + * The elements included in the set. */ - manifestFile: string; + elements?: string[]; /** - * The Base16-encoded MD5 hash of the manifest file on the disk. + * The elements that are not included in the set, in case elements contains '*' indicating 'all'. */ - manifestHash: string; + exceptions?: string[]; } /** - * Details of the filter files to be used for data transfer. + * Property/Properties which represent a unique ID. */ - export interface FilterFileDetailsResponse { + export interface StrongIdResponse { /** - * Path of the file that contains the details of all items to transfer. + * Localized descriptions. */ - filterFilePath: string; + description?: {[key: string]: string}; /** - * Type of the filter file. + * Localized display name. */ - filterFileType: string; - } - - /** - * Managed identity properties. - */ - export interface IdentityPropertiesResponse { + displayName?: {[key: string]: string}; /** - * Managed service identity type. + * The properties which make up the unique ID. */ - type?: string; + keyPropertyNames: string[]; /** - * User assigned identity properties. + * The Name identifying the strong ID. */ - userAssigned?: outputs.databox.UserAssignedPropertiesResponse; + strongIdName: string; } /** - * Import disk details + * Metadata for a Link's property mapping. */ - export interface ImportDiskDetailsResponse { - /** - * Path to backed up manifest, only returned if enableManifestBackup is true. - */ - backupManifestCloudPath: string; + export interface TypePropertiesMappingResponse { /** - * BitLocker key used to encrypt the disk. + * Link type. */ - bitLockerKey: string; + linkType?: string; /** - * The relative path of the manifest file on the disk. + * Property name on the source Entity Type. */ - manifestFile: string; + sourcePropertyName: string; /** - * The Base16-encoded MD5 hash of the manifest file on the disk. + * Property name on the target Entity Type. */ - manifestHash: string; + targetPropertyName: string; } - /** - * Additional delivery info. - */ - export interface JobDeliveryInfoResponse { + export namespace v20170426 { /** - * Scheduled date time. + * The AssignmentPrincipal */ - scheduledDateTime?: string; - } + export interface AssignmentPrincipalResponse { + /** + * The principal id being assigned to. + */ + principalId: string; + /** + * Other metadata for the principal. + */ + principalMetadata?: {[key: string]: string}; + /** + * The Type of the principal ID. + */ + principalType: string; + } - /** - * Job stages. - */ - export interface JobStagesResponse { /** - * Display name of the job stage. + * Definition of canonical profile. */ - displayName: string; + export interface CanonicalProfileDefinitionResponse { + /** + * Canonical profile ID. + */ + canonicalProfileId?: number; + /** + * Properties of the canonical profile. + */ + properties?: outputs.customerinsights.v20170426.CanonicalProfileDefinitionResponseProperties[]; + } + /** - * Job Stage Details + * The definition of a canonical profile property. */ - jobStageDetails: any; + export interface CanonicalProfileDefinitionResponseProperties { + /** + * Profile name. + */ + profileName?: string; + /** + * Property name of profile. + */ + profilePropertyName?: string; + /** + * The rank. + */ + rank?: number; + /** + * Type of canonical property value. + */ + type?: string; + /** + * Value of the canonical property. + */ + value?: string; + } + /** - * Name of the job stage. + * Connector mapping property availability. */ - stageName: string; + export interface ConnectorMappingAvailabilityResponse { + /** + * The frequency to update. + */ + frequency?: string; + /** + * The interval of the given frequency to use. + */ + interval: number; + } + /** - * Status of the job stage. + * The complete operation. */ - stageStatus: string; + export interface ConnectorMappingCompleteOperationResponse { + /** + * The type of completion operation. + */ + completionOperationType?: string; + /** + * The destination folder where files will be moved to once the import is done. + */ + destinationFolder?: string; + } + /** - * Time for the job stage in UTC ISO 8601 format. + * The error management. */ - stageTime: string; - } + export interface ConnectorMappingErrorManagementResponse { + /** + * The error limit allowed while importing data. + */ + errorLimit?: number; + /** + * The type of error management to use for the mapping. + */ + errorManagementType: string; + } - /** - * Encryption key containing details about key to encrypt different keys. - */ - export interface KeyEncryptionKeyResponse { /** - * Managed identity properties used for key encryption. + * Connector mapping property format. */ - identityProperties?: outputs.databox.IdentityPropertiesResponse; + export interface ConnectorMappingFormatResponse { + /** + * The oData language. + */ + acceptLanguage?: string; + /** + * Character separating array elements. + */ + arraySeparator?: string; + /** + * The character that signifies a break between columns. + */ + columnDelimiter?: string; + /** + * The type mapping format. + */ + formatType: string; + /** + * Quote character, used to indicate enquoted fields. + */ + quoteCharacter?: string; + /** + * Escape character for quotes, can be the same as the quoteCharacter. + */ + quoteEscapeCharacter?: string; + } + /** - * Type of encryption key used for key encryption. + * The connector mapping properties. */ - kekType: string; + export interface ConnectorMappingPropertiesResponse { + /** + * The availability of mapping property. + */ + availability: outputs.customerinsights.v20170426.ConnectorMappingAvailabilityResponse; + /** + * The operation after import is done. + */ + completeOperation: outputs.customerinsights.v20170426.ConnectorMappingCompleteOperationResponse; + /** + * The error management setting for the mapping. + */ + errorManagement: outputs.customerinsights.v20170426.ConnectorMappingErrorManagementResponse; + /** + * The file filter for the mapping. + */ + fileFilter?: string; + /** + * The folder path for the mapping. + */ + folderPath?: string; + /** + * The format of mapping property. + */ + format: outputs.customerinsights.v20170426.ConnectorMappingFormatResponse; + /** + * If the file contains a header or not. + */ + hasHeader?: boolean; + /** + * Ingestion mapping information at property level. + */ + structure: outputs.customerinsights.v20170426.ConnectorMappingStructureResponse[]; + } + /** - * Key encryption key. It is required in case of Customer managed KekType. + * Connector mapping property structure. */ - kekUrl?: string; + export interface ConnectorMappingStructureResponse { + /** + * The column name of the import file. + */ + columnName: string; + /** + * Custom format specifier for input parsing. + */ + customFormatSpecifier?: string; + /** + * Indicates if the column is encrypted. + */ + isEncrypted?: boolean; + /** + * The property name of the mapping entity. + */ + propertyName: string; + } + /** - * Kek vault resource id. It is required in case of Customer managed KekType. + * The data source precedence is a way to know the precedence of each data source. */ - kekVaultResourceID?: string; - } - /** - * keyEncryptionKeyResponseProvideDefaults sets the appropriate defaults for KeyEncryptionKeyResponse - */ - export function keyEncryptionKeyResponseProvideDefaults(val: KeyEncryptionKeyResponse): KeyEncryptionKeyResponse { - return { - ...val, - kekType: (val.kekType) ?? "MicrosoftManaged", - }; - } + export interface DataSourcePrecedenceResponse { + /** + * The data source reference id. + */ + dataSourceReferenceId: string; + /** + * The data source type. + */ + dataSourceType: string; + /** + * The data source ID. + */ + id: number; + /** + * The data source name + */ + name: string; + /** + * the precedence value. + */ + precedence?: number; + /** + * The data source status. + */ + status: string; + } - /** - * Last Mitigation Action Performed On Job - */ - export interface LastMitigationActionOnJobResponse { /** - * Action performed date time + * Hub billing info. */ - actionDateTimeInUtc?: string; + export interface HubBillingInfoFormatResponse { + /** + * The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions. + */ + maxUnits?: number; + /** + * The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions. + */ + minUnits?: number; + /** + * The sku name. + */ + skuName?: string; + } + /** - * Resolution code provided by customer + * The KPI alias. */ - customerResolution?: string; + export interface KpiAliasResponse { + /** + * KPI alias name. + */ + aliasName: string; + /** + * The expression. + */ + expression: string; + } + /** - * Action performed by customer, - * possibility is that mitigation might happen by customer or service or by ops + * The KPI extract. */ - isPerformedByCustomer?: boolean; - } + export interface KpiExtractResponse { + /** + * The expression. + */ + expression: string; + /** + * KPI extract name. + */ + extractName: string; + } - /** - * Details of the managed disks. - */ - export interface ManagedDiskDetailsResponse { /** - * Account Type of the data to be transferred. - * Expected value is 'ManagedDisk'. + * The KPI GroupBy field metadata. */ - dataAccountType: "ManagedDisk"; + export interface KpiGroupByMetadataResponse { + /** + * The display name. + */ + displayName?: {[key: string]: string}; + /** + * The name of the field. + */ + fieldName?: string; + /** + * The type of the field. + */ + fieldType?: string; + } + /** - * Resource Group Id of the compute disks. + * The KPI participant profile metadata. */ - resourceGroupId: string; + export interface KpiParticipantProfilesMetadataResponse { + /** + * Name of the type. + */ + typeName: string; + } + /** - * Resource Id of the storage account that can be used to copy the vhd for staging. + * Defines the KPI Threshold limits. */ - stagingStorageAccountId: string; - } - /** - * managedDiskDetailsResponseProvideDefaults sets the appropriate defaults for ManagedDiskDetailsResponse - */ - export function managedDiskDetailsResponseProvideDefaults(val: ManagedDiskDetailsResponse): ManagedDiskDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } + export interface KpiThresholdsResponse { + /** + * Whether or not the KPI is an increasing KPI. + */ + increasingKpi: boolean; + /** + * The lower threshold limit. + */ + lowerLimit: number; + /** + * The upper threshold limit. + */ + upperLimit: number; + } - /** - * Notification preference for a job stage. - */ - export interface NotificationPreferenceResponse { /** - * Notification is required or not. + * The participant profile property reference. */ - sendNotification: boolean; + export interface ParticipantProfilePropertyReferenceResponse { + /** + * The source interaction property that maps to the target profile property. + */ + interactionPropertyName: string; + /** + * The target profile property that maps to the source interaction property. + */ + profilePropertyName: string; + } + /** - * Name of the stage. + * The participant property reference. */ - stageName: string; - } - /** - * notificationPreferenceResponseProvideDefaults sets the appropriate defaults for NotificationPreferenceResponse - */ - export function notificationPreferenceResponseProvideDefaults(val: NotificationPreferenceResponse): NotificationPreferenceResponse { - return { - ...val, - sendNotification: (val.sendNotification) ?? true, - }; - } + export interface ParticipantPropertyReferenceResponse { + /** + * The source property that maps to the target property. + */ + sourcePropertyName: string; + /** + * The target property that maps to the source property. + */ + targetPropertyName: string; + } - /** - * Package carrier details. - */ - export interface PackageCarrierDetailsResponse { /** - * Carrier Account Number of customer for customer disk. + * The definition of the prediction distribution. */ - carrierAccountNumber?: string; + export interface PredictionDistributionDefinitionResponse { + /** + * Distributions of the prediction. + */ + distributions?: outputs.customerinsights.v20170426.PredictionDistributionDefinitionResponseDistributions[]; + /** + * Total negatives in the distribution. + */ + totalNegatives?: number; + /** + * Total positive in the distribution. + */ + totalPositives?: number; + } + /** - * Name of the carrier. + * The definition of a prediction distribution. */ - carrierName?: string; + export interface PredictionDistributionDefinitionResponseDistributions { + /** + * Number of negatives. + */ + negatives?: number; + /** + * Number of negatives above threshold. + */ + negativesAboveThreshold?: number; + /** + * Number of positives. + */ + positives?: number; + /** + * Number of positives above threshold. + */ + positivesAboveThreshold?: number; + /** + * Score threshold. + */ + scoreThreshold?: number; + } + /** - * Tracking Id of shipment. + * The definition of a prediction grade. */ - trackingId?: string; - } + export interface PredictionResponseGrades { + /** + * Name of the grade. + */ + gradeName?: string; + /** + * Maximum score threshold. + */ + maxScoreThreshold?: number; + /** + * Minimum score threshold. + */ + minScoreThreshold?: number; + } - /** - * package carrier info - */ - export interface PackageCarrierInfoResponse { /** - * Name of the carrier. + * Definition of the link mapping of prediction. */ - carrierName?: string; + export interface PredictionResponseMappings { + /** + * The grade of the link mapping. + */ + grade: string; + /** + * The reason of the link mapping. + */ + reason: string; + /** + * The score of the link mapping. + */ + score: string; + } + /** - * Tracking Id of shipment. + * System generated entities. */ - trackingId?: string; - } + export interface PredictionResponseSystemGeneratedEntities { + /** + * Generated interaction types. + */ + generatedInteractionTypes?: string[]; + /** + * Generated KPIs. + */ + generatedKpis?: {[key: string]: string}; + /** + * Generated links. + */ + generatedLinks?: string[]; + } - /** - * package shipping details - */ - export interface PackageShippingDetailsResponse { /** - * Name of the carrier. + * Valid enum values in case of an enum property. */ - carrierName: string; + export interface ProfileEnumValidValuesFormatResponse { + /** + * Localized names of the enum member. + */ + localizedValueNames?: {[key: string]: string}; + /** + * The integer value of the enum member. + */ + value?: number; + } + /** - * Tracking Id of shipment. + * Property definition. */ - trackingId: string; + export interface PropertyDefinitionResponse { + /** + * Array value separator for properties with isArray set. + */ + arrayValueSeparator?: string; + /** + * This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules. + */ + dataSourcePrecedenceRules: outputs.customerinsights.v20170426.DataSourcePrecedenceResponse[]; + /** + * Describes valid values for an enum property. + */ + enumValidValues?: outputs.customerinsights.v20170426.ProfileEnumValidValuesFormatResponse[]; + /** + * Name of the property. + */ + fieldName: string; + /** + * Type of the property. + */ + fieldType: string; + /** + * Indicates if the property is actually an array of the fieldType above on the data api. + */ + isArray?: boolean; + /** + * Whether property is available in graph or not. + */ + isAvailableInGraph?: boolean; + /** + * Indicates if the property is an enum. + */ + isEnum?: boolean; + /** + * Indicates if the property is an flag enum. + */ + isFlagEnum?: boolean; + /** + * Whether the property is an Image. + */ + isImage?: boolean; + /** + * Whether the property is a localized string. + */ + isLocalizedString?: boolean; + /** + * Whether the property is a name or a part of name. + */ + isName?: boolean; + /** + * Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field. + */ + isRequired?: boolean; + /** + * Max length of string. Used only if type is string. + */ + maxLength?: number; + /** + * The ID associated with the property. + */ + propertyId?: string; + /** + * URL encoded schema.org item prop link for the property. + */ + schemaItemPropLink?: string; + } + /** - * Url where shipment can be tracked. + * The fields mapping for Relationships. */ - trackingUrl: string; - } + export interface RelationshipLinkFieldMappingResponse { + /** + * The field name on the Interaction Type. + */ + interactionFieldName: string; + /** + * Link type. + */ + linkType?: string; + /** + * The field name on the Relationship metadata. + */ + relationshipFieldName: string; + } - /** - * Preferences related to the order - */ - export interface PreferencesResponse { /** - * Preferences related to the Encryption. + * Map a field of profile to its corresponding StrongId in Related Profile. */ - encryptionPreferences?: outputs.databox.EncryptionPreferencesResponse; + export interface RelationshipTypeFieldMappingResponse { + /** + * Specifies the fieldName in profile. + */ + profileFieldName: string; + /** + * Specifies the KeyProperty (from StrongId) of the related profile. + */ + relatedProfileKeyProperty: string; + } + /** - * Preferred data center region. + * Maps fields in Profile to their corresponding StrongIds in Related Profile. */ - preferredDataCenterRegion?: string[]; + export interface RelationshipTypeMappingResponse { + /** + * Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well. + */ + fieldMappings: outputs.customerinsights.v20170426.RelationshipTypeFieldMappingResponse[]; + } + /** - * Optional Preferences related to the reverse shipment logistics of the sku. + * The resource set description. */ - reverseTransportPreferences?: outputs.databox.TransportPreferencesResponse; + export interface ResourceSetDescriptionResponse { + /** + * The elements included in the set. + */ + elements?: string[]; + /** + * The elements that are not included in the set, in case elements contains '*' indicating 'all'. + */ + exceptions?: string[]; + } + /** - * Preferences related to the Access Tier of storage accounts. + * Property/Properties which represent a unique ID. */ - storageAccountAccessTierPreferences?: string[]; + export interface StrongIdResponse { + /** + * Localized descriptions. + */ + description?: {[key: string]: string}; + /** + * Localized display name. + */ + displayName?: {[key: string]: string}; + /** + * The properties which make up the unique ID. + */ + keyPropertyNames: string[]; + /** + * The Name identifying the strong ID. + */ + strongIdName: string; + } + /** - * Preferences related to the shipment logistics of the sku. + * Metadata for a Link's property mapping. */ - transportPreferences?: outputs.databox.TransportPreferencesResponse; - } - /** - * preferencesResponseProvideDefaults sets the appropriate defaults for PreferencesResponse - */ - export function preferencesResponseProvideDefaults(val: PreferencesResponse): PreferencesResponse { - return { - ...val, - encryptionPreferences: (val.encryptionPreferences ? outputs.databox.encryptionPreferencesResponseProvideDefaults(val.encryptionPreferences) : undefined), - }; + export interface TypePropertiesMappingResponse { + /** + * Link type. + */ + linkType?: string; + /** + * Property name on the source Entity Type. + */ + sourcePropertyName: string; + /** + * Property name on the target Entity Type. + */ + targetPropertyName: string; + } + } +} +export namespace customproviders { /** - * Msi identity details of the resource + * The route definition for an action implemented by the custom resource provider. */ - export interface ResourceIdentityResponse { - /** - * Service Principal Id backing the Msi - */ - principalId: string; + export interface CustomRPActionRouteDefinitionResponse { /** - * Home Tenant Id + * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') */ - tenantId: string; + endpoint: string; /** - * Identity type + * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') */ - type?: string; + name: string; /** - * User Assigned Identities + * The routing types that are supported for action requests. */ - userAssignedIdentities?: {[key: string]: outputs.databox.UserAssignedIdentityResponse}; - } - /** - * resourceIdentityResponseProvideDefaults sets the appropriate defaults for ResourceIdentityResponse - */ - export function resourceIdentityResponseProvideDefaults(val: ResourceIdentityResponse): ResourceIdentityResponse { - return { - ...val, - type: (val.type) ?? "None", - }; + routingType?: string; } /** - * Reverse Shipping Address and contact details for a job. + * The route definition for a resource implemented by the custom resource provider. */ - export interface ReverseShippingDetailsResponse { + export interface CustomRPResourceTypeRouteDefinitionResponse { /** - * Contact Info. + * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') */ - contactDetails?: outputs.databox.ContactInfoResponse; + endpoint: string; /** - * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. - * Read only field + * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') */ - isUpdated: boolean; + name: string; /** - * Shipping address where customer wishes to receive the device. + * The routing types that are supported for resource requests. */ - shippingAddress?: outputs.databox.ShippingAddressResponse; - } - /** - * reverseShippingDetailsResponseProvideDefaults sets the appropriate defaults for ReverseShippingDetailsResponse - */ - export function reverseShippingDetailsResponseProvideDefaults(val: ReverseShippingDetailsResponse): ReverseShippingDetailsResponse { - return { - ...val, - shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; + routingType?: string; } /** - * Credential details of the shares in account. + * A validation to apply on custom resource provider requests. */ - export interface ShareCredentialDetailsResponse { + export interface CustomRPValidationsResponse { /** - * Password for the share. + * A link to the validation specification. The specification must be hosted on raw.githubusercontent.com. */ - password: string; + specification: string; /** - * Name of the share. + * The type of validation to run against a matching request. */ - shareName: string; + validationType?: string; + } + + export namespace v20180901preview { /** - * Type of the share. + * The route definition for an action implemented by the custom resource provider. */ - shareType: string; + export interface CustomRPActionRouteDefinitionResponse { + /** + * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') + */ + endpoint: string; + /** + * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') + */ + name: string; + /** + * The routing types that are supported for action requests. + */ + routingType?: string; + } + /** - * Access protocols supported on the device. + * The route definition for a resource implemented by the custom resource provider. */ - supportedAccessProtocols: string[]; + export interface CustomRPResourceTypeRouteDefinitionResponse { + /** + * The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}') + */ + endpoint: string; + /** + * The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}') + */ + name: string; + /** + * The routing types that are supported for resource requests. + */ + routingType?: string; + } + /** - * User name for the share. + * A validation to apply on custom resource provider requests. */ - userName: string; + export interface CustomRPValidationsResponse { + /** + * A link to the validation specification. The specification must be hosted on raw.githubusercontent.com. + */ + specification: string; + /** + * The type of validation to run against a matching request. + */ + validationType?: string; + } + } +} +export namespace dashboard { /** - * Shipping address where customer wishes to receive the device. + * Integrations for Azure Monitor Workspace. */ - export interface ShippingAddressResponse { + export interface AzureMonitorWorkspaceIntegrationResponse { /** - * Type of address. + * The resource Id of the connected Azure Monitor Workspace. */ - addressType?: string; + azureMonitorWorkspaceResourceId?: string; + } + + /** + * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. + */ + export interface GrafanaIntegrationsResponse { + azureMonitorWorkspaceIntegrations?: outputs.dashboard.AzureMonitorWorkspaceIntegrationResponse[]; + } + + /** + * Properties specific to the grafana resource. + */ + export interface ManagedGrafanaPropertiesResponse { /** - * Name of the City. + * The api key setting of the Grafana instance. */ - city?: string; + apiKey?: string; /** - * Name of the company. + * Scope for dns deterministic name hash calculation. */ - companyName?: string; + autoGeneratedDomainNameLabelScope?: string; /** - * Name of the Country. + * Whether a Grafana instance uses deterministic outbound IPs. */ - country: string; + deterministicOutboundIP?: string; /** - * Postal code. + * The endpoint of the Grafana instance. */ - postalCode?: string; + endpoint: string; /** - * Flag to indicate if customer has chosen to skip default address validation + * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */ - skipAddressValidation?: boolean; + grafanaIntegrations?: outputs.dashboard.GrafanaIntegrationsResponse; /** - * Name of the State or Province. + * The Grafana software version. */ - stateOrProvince?: string; + grafanaVersion: string; /** - * Street Address line 1. + * List of outbound IPs if deterministicOutboundIP is enabled. */ - streetAddress1: string; + outboundIPs: string[]; /** - * Street Address line 2. + * The private endpoint connections of the Grafana instance. */ - streetAddress2?: string; + privateEndpointConnections: outputs.dashboard.PrivateEndpointConnectionResponse[]; /** - * Street Address line 3. + * Provisioning state of the resource. */ - streetAddress3?: string; + provisioningState: string; /** - * Tax Identification Number + * Indicate the state for enable or disable traffic over the public interface. */ - taxIdentificationNumber?: string; + publicNetworkAccess?: string; /** - * Extended Zip Code. + * The zone redundancy setting of the Grafana instance. */ - zipExtendedCode?: string; - } - /** - * shippingAddressResponseProvideDefaults sets the appropriate defaults for ShippingAddressResponse - */ - export function shippingAddressResponseProvideDefaults(val: ShippingAddressResponse): ShippingAddressResponse { - return { - ...val, - addressType: (val.addressType) ?? "None", - }; + zoneRedundancy?: string; } /** - * The Sku. + * Managed service identity (system assigned and/or user assigned identities) */ - export interface SkuResponse { + export interface ManagedServiceIdentityResponse { /** - * The display name of the sku. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - displayName?: string; + principalId: string; /** - * The sku family. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - family?: string; + tenantId: string; /** - * The sku name. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - name: string; + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.dashboard.UserAssignedIdentityResponse}; } /** - * Details for the storage account. + * The Private Endpoint Connection resource. */ - export interface StorageAccountDetailsResponse { + export interface PrivateEndpointConnectionResponse { /** - * Account Type of the data to be transferred. - * Expected value is 'StorageAccount'. + * The private endpoint connection group ids. */ - dataAccountType: "StorageAccount"; + groupIds?: string[]; /** - * Storage Account Resource Id. + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - storageAccountId: string; - } - /** - * storageAccountDetailsResponseProvideDefaults sets the appropriate defaults for StorageAccountDetailsResponse - */ - export function storageAccountDetailsResponseProvideDefaults(val: StorageAccountDetailsResponse): StorageAccountDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - - /** - * Provides details about resource creation and update time - */ - export interface SystemDataResponse { + id: string; /** - * The timestamp of resource creation (UTC) + * The name of the resource */ - createdAt: string; + name: string; /** - * A string identifier for the identity that created the resource + * The resource of private end point. */ - createdBy: string; + privateEndpoint?: outputs.dashboard.PrivateEndpointResponse; /** - * The type of identity that created the resource: user, application, managedIdentity + * A collection of information about the state of the connection between service consumer and provider. */ - createdByType: string; + privateLinkServiceConnectionState: outputs.dashboard.PrivateLinkServiceConnectionStateResponse; /** - * The timestamp of resource last modification (UTC) + * The provisioning state of the private endpoint connection resource. */ - lastModifiedAt: string; + provisioningState: string; /** - * A string identifier for the identity that last modified the resource + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - lastModifiedBy: string; + systemData: outputs.dashboard.SystemDataResponse; /** - * The type of identity that last modified the resource: user, application, managedIdentity + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - lastModifiedByType: string; + type: string; } /** - * Details to transfer all data. + * The Private Endpoint resource. */ - export interface TransferAllDetailsResponse { - /** - * Type of the account of data - */ - dataAccountType: string; - /** - * To indicate if all Azure blobs have to be transferred - */ - transferAllBlobs?: boolean; + export interface PrivateEndpointResponse { /** - * To indicate if all Azure Files have to be transferred + * The ARM identifier for Private Endpoint */ - transferAllFiles?: boolean; - } - /** - * transferAllDetailsResponseProvideDefaults sets the appropriate defaults for TransferAllDetailsResponse - */ - export function transferAllDetailsResponseProvideDefaults(val: TransferAllDetailsResponse): TransferAllDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; + id: string; } /** - * Configuration for defining the transfer of data. + * A collection of information about the state of the connection between service consumer and provider. */ - export interface TransferConfigurationResponse { + export interface PrivateLinkServiceConnectionStateResponse { /** - * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + * A message indicating if changes on the service provider require any updates on the consumer. */ - transferAllDetails?: outputs.databox.TransferConfigurationResponseTransferAllDetails; + actionsRequired?: string; /** - * Type of the configuration for transfer. + * The reason for approval/rejection of the connection. */ - transferConfigurationType: string; + description?: string; /** - * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - transferFilterDetails?: outputs.databox.TransferConfigurationResponseTransferFilterDetails; + status?: string; } - /** - * transferConfigurationResponseProvideDefaults sets the appropriate defaults for TransferConfigurationResponse - */ - export function transferConfigurationResponseProvideDefaults(val: TransferConfigurationResponse): TransferConfigurationResponse { - return { - ...val, - transferAllDetails: (val.transferAllDetails ? outputs.databox.transferConfigurationResponseTransferAllDetailsProvideDefaults(val.transferAllDetails) : undefined), - transferFilterDetails: (val.transferFilterDetails ? outputs.databox.transferConfigurationResponseTransferFilterDetailsProvideDefaults(val.transferFilterDetails) : undefined), - }; + + export interface ResourceSkuResponse { + name: string; } /** - * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + * Metadata pertaining to creation and last modification of the resource. */ - export interface TransferConfigurationResponseTransferAllDetails { + export interface SystemDataResponse { /** - * Details to transfer all data. - */ - include?: outputs.databox.TransferAllDetailsResponse; - } - /** - * transferConfigurationResponseTransferAllDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferAllDetails - */ - export function transferConfigurationResponseTransferAllDetailsProvideDefaults(val: TransferConfigurationResponseTransferAllDetails): TransferConfigurationResponseTransferAllDetails { - return { - ...val, - include: (val.include ? outputs.databox.transferAllDetailsResponseProvideDefaults(val.include) : undefined), - }; - } - - /** - * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. - */ - export interface TransferConfigurationResponseTransferFilterDetails { - /** - * Details of the filtering the transfer of data. - */ - include?: outputs.databox.TransferFilterDetailsResponse; - } - /** - * transferConfigurationResponseTransferFilterDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferFilterDetails - */ - export function transferConfigurationResponseTransferFilterDetailsProvideDefaults(val: TransferConfigurationResponseTransferFilterDetails): TransferConfigurationResponseTransferFilterDetails { - return { - ...val, - include: (val.include ? outputs.databox.transferFilterDetailsResponseProvideDefaults(val.include) : undefined), - }; - } - - /** - * Details of the filtering the transfer of data. - */ - export interface TransferFilterDetailsResponse { - /** - * Filter details to transfer Azure files. - */ - azureFileFilterDetails?: outputs.databox.AzureFileFilterDetailsResponse; - /** - * Filter details to transfer blobs. - */ - blobFilterDetails?: outputs.databox.BlobFilterDetailsResponse; - /** - * Type of the account of data. + * The timestamp of resource creation (UTC). */ - dataAccountType: string; + createdAt?: string; /** - * Details of the filter files to be used for data transfer. + * The identity that created the resource. */ - filterFileDetails?: outputs.databox.FilterFileDetailsResponse[]; - } - /** - * transferFilterDetailsResponseProvideDefaults sets the appropriate defaults for TransferFilterDetailsResponse - */ - export function transferFilterDetailsResponseProvideDefaults(val: TransferFilterDetailsResponse): TransferFilterDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - - /** - * Preferences related to the shipment logistics of the sku - */ - export interface TransportPreferencesResponse { + createdBy?: string; /** - * Read only property which indicates whether transport preferences has been updated or not after device is prepared. + * The type of identity that created the resource. */ - isUpdated: boolean; + createdByType?: string; /** - * Indicates Shipment Logistics type that the customer preferred. + * The timestamp of resource last modification (UTC) */ - preferredShipmentType: string; - } - - /** - * Unencrypted credentials for accessing device. - */ - export interface UnencryptedCredentialsResponse { + lastModifiedAt?: string; /** - * Name of the job. + * The identity that last modified the resource. */ - jobName: string; + lastModifiedBy?: string; /** - * Secrets related to this job. + * The type of identity that last modified the resource. */ - jobSecrets: outputs.databox.CustomerDiskJobSecretsResponse | outputs.databox.DataBoxDiskJobSecretsResponse | outputs.databox.DataBoxHeavyJobSecretsResponse | outputs.databox.DataboxJobSecretsResponse; + lastModifiedByType?: string; } /** - * Class defining User assigned identity details. + * User assigned identity properties */ export interface UserAssignedIdentityResponse { /** - * The client id of user assigned identity. + * The client ID of the assigned identity. */ clientId: string; /** - * The principal id of user assigned identity. + * The principal ID of the assigned identity. */ principalId: string; } - /** - * User assigned identity properties. - */ - export interface UserAssignedPropertiesResponse { - /** - * Arm resource id for user assigned identity to be used to fetch MSI token. - */ - resourceId?: string; - } - - export namespace v20221201 { + export namespace v20210901preview { /** - * Credential details of the account. + * Properties specific to the grafana resource. */ - export interface AccountCredentialDetailsResponse { - /** - * Connection string of the account endpoint to use the account as a storage endpoint on the device. - */ - accountConnectionString: string; + export interface ManagedGrafanaPropertiesResponse { + autoGeneratedDomainNameLabelScope?: string; /** - * Name of the account. + * The endpoint of the Grafana instance. */ - accountName: string; + endpoint: string; /** - * Type of the account. + * The Grafana software version. */ - dataAccountType: string; + grafanaVersion: string; /** - * Per share level unencrypted access credentials. + * Provisioning state of the resource. */ - shareCredentialDetails: outputs.databox.v20221201.ShareCredentialDetailsResponse[]; + provisioningState?: string; + zoneRedundancy?: string; } /** - * This class represents additional info which Resource Providers pass when an error occurs. + * The managed identity of a resource. */ - export interface AdditionalErrorInfoResponse { + export interface ManagedIdentityResponse { /** - * Additional information of the type of error. + * The principal id of the system assigned identity. */ - info?: any; + principalId: string; /** - * Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). + * The tenant id of the system assigned identity. */ - type?: string; - } - - /** - * The Network Adapter configuration of a DataBox. - */ - export interface ApplianceNetworkConfigurationResponse { + tenantId: string; /** - * Mac Address. + * The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. */ - macAddress: string; + type?: string; /** - * Name of the network. + * Dictionary of user assigned identities. */ + userAssignedIdentities?: {[key: string]: outputs.dashboard.v20210901preview.UserAssignedIdentityResponse}; + } + + export interface ResourceSkuResponse { name: string; } - /** - * Filter details to transfer Azure files - */ - export interface AzureFileFilterDetailsResponse { + export interface SystemDataResponse { + createdAt?: string; + createdBy?: string; /** - * List of full path of the files to be transferred. + * The type of identity that created the resource. */ - filePathList?: string[]; + createdByType?: string; + lastModifiedAt?: string; + lastModifiedBy?: string; + lastModifiedByType?: string; + } + + export interface UserAssignedIdentityResponse { /** - * Prefix list of the Azure files to be transferred. + * The client id of user assigned identity. */ - filePrefixList?: string[]; + clientId: string; /** - * List of file shares to be transferred. + * The principal id of user assigned identity. */ - fileShareList?: string[]; + principalId: string; } + } + + export namespace v20220801 { /** - * Filter details to transfer Azure Blobs + * Integrations for Azure Monitor Workspace. */ - export interface BlobFilterDetailsResponse { - /** - * List of full path of the blobs to be transferred. - */ - blobPathList?: string[]; - /** - * Prefix list of the Azure blobs to be transferred. - */ - blobPrefixList?: string[]; + export interface AzureMonitorWorkspaceIntegrationResponse { /** - * List of blob containers to be transferred. + * The resource Id of the connected Azure Monitor Workspace. */ - containerList?: string[]; + azureMonitorWorkspaceResourceId?: string; } /** - * Provides additional information about an http error response. + * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */ - export interface CloudErrorResponse { + export interface GrafanaIntegrationsResponse { + azureMonitorWorkspaceIntegrations?: outputs.dashboard.v20220801.AzureMonitorWorkspaceIntegrationResponse[]; + } + + /** + * Properties specific to the grafana resource. + */ + export interface ManagedGrafanaPropertiesResponse { /** - * Gets or sets additional error info. + * The api key setting of the Grafana instance. */ - additionalInfo: outputs.databox.v20221201.AdditionalErrorInfoResponse[]; + apiKey?: string; /** - * Error code. + * Scope for dns deterministic name hash calculation. */ - code?: string; + autoGeneratedDomainNameLabelScope?: string; /** - * Gets or sets details for the error. + * Whether a Grafana instance uses deterministic outbound IPs. */ - details: outputs.databox.v20221201.CloudErrorResponse[]; + deterministicOutboundIP?: string; /** - * The error message parsed from the body of the http error response. + * The endpoint of the Grafana instance. */ - message?: string; + endpoint: string; /** - * Gets or sets the target of the error. + * GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */ - target?: string; - } - - /** - * Contact Details. - */ - export interface ContactDetailsResponse { + grafanaIntegrations?: outputs.dashboard.v20220801.GrafanaIntegrationsResponse; /** - * Contact name of the person. + * The Grafana software version. */ - contactName: string; + grafanaVersion: string; /** - * List of Email-ids to be notified about job progress. + * List of outbound IPs if deterministicOutboundIP is enabled. */ - emailList: string[]; + outboundIPs: string[]; /** - * Mobile number of the contact person. + * The private endpoint connections of the Grafana instance. */ - mobile?: string; + privateEndpointConnections: outputs.dashboard.v20220801.PrivateEndpointConnectionResponse[]; /** - * Notification preference for a job stage. + * Provisioning state of the resource. */ - notificationPreference?: outputs.databox.v20221201.NotificationPreferenceResponse[]; + provisioningState: string; /** - * Phone number of the contact person. + * Indicate the state for enable or disable traffic over the public interface. */ - phone: string; + publicNetworkAccess?: string; /** - * Phone extension number of the contact person. + * The zone redundancy setting of the Grafana instance. */ - phoneExtension?: string; + zoneRedundancy?: string; } /** - * Contact Info. + * Managed service identity (system assigned and/or user assigned identities) */ - export interface ContactInfoResponse { + export interface ManagedServiceIdentityResponse { /** - * Contact name of the person. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - contactName: string; + principalId: string; /** - * Mobile number of the contact person. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - mobile?: string; + tenantId: string; /** - * Phone number of the contact person. + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - phone: string; + type: string; /** - * Phone extension number of the contact person. + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - phoneExtension?: string; + userAssignedIdentities?: {[key: string]: outputs.dashboard.v20220801.UserAssignedIdentityResponse}; } /** - * Copy progress. + * The Private Endpoint Connection resource. */ - export interface CopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; + export interface PrivateEndpointConnectionResponse { /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming + * The private endpoint connection group ids. */ - invalidFileBytesUploaded: number; + groupIds?: string[]; /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - invalidFilesProcessed: number; + id: string; /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. + * The name of the resource */ - isEnumerationInProgress: boolean; + name: string; /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + * The resource of private end point. */ - renamedContainerCount: number; + privateEndpoint?: outputs.dashboard.v20220801.PrivateEndpointResponse; /** - * Name of the storage account. This will be empty for data account types other than storage account. + * A collection of information about the state of the connection between service consumer and provider. */ - storageAccountName: string; + privateLinkServiceConnectionState: outputs.dashboard.v20220801.PrivateLinkServiceConnectionStateResponse; /** - * Total amount of data to be processed by the job. + * The provisioning state of the private endpoint connection resource. */ - totalBytesToProcess: number; + provisioningState: string; /** - * Total files to process + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - totalFilesToProcess: number; + systemData: outputs.dashboard.v20220801.SystemDataResponse; /** - * Transfer type of data + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - transferType: string; + type: string; } /** - * The secrets related to customer disk job. + * The Private Endpoint resource. */ - export interface CustomerDiskJobSecretsResponse { - /** - * Carrier Account Number of the customer - */ - carrierAccountNumber: string; - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; - /** - * Contains the list of secrets object for that device. - */ - diskSecrets: outputs.databox.v20221201.DiskSecretResponse[]; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20221201.CloudErrorResponse; + export interface PrivateEndpointResponse { /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxCustomerDisk'. + * The ARM identifier for Private Endpoint */ - jobSecretsType: "DataBoxCustomerDisk"; + id: string; } /** - * Copy log details for a storage account of a DataBox job + * A collection of information about the state of the connection between service consumer and provider. */ - export interface DataBoxAccountCopyLogDetailsResponse { - /** - * Account name. - */ - accountName: string; + export interface PrivateLinkServiceConnectionStateResponse { /** - * Indicates the type of job details. - * Expected value is 'DataBox'. + * A message indicating if changes on the service provider require any updates on the consumer. */ - copyLogDetailsType: "DataBox"; + actionsRequired?: string; /** - * Link for copy logs. + * The reason for approval/rejection of the connection. */ - copyLogLink: string; + description?: string; /** - * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - copyVerboseLogLink: string; + status?: string; } - /** - * Copy Log Details for customer disk - */ - export interface DataBoxCustomerDiskCopyLogDetailsResponse { - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - copyLogDetailsType: "DataBoxCustomerDisk"; - /** - * Link for copy error logs. - */ - errorLogLink: string; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Link for copy verbose logs. - */ - verboseLogLink: string; + export interface ResourceSkuResponse { + name: string; } /** - * DataBox CustomerDisk Copy Progress + * Metadata pertaining to creation and last modification of the resource. */ - export interface DataBoxCustomerDiskCopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * The Status of the copy - */ - copyStatus: string; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; - /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFileBytesUploaded: number; - /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFilesProcessed: number; - /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. - */ - isEnumerationInProgress: boolean; + export interface SystemDataResponse { /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + * The timestamp of resource creation (UTC). */ - renamedContainerCount: number; + createdAt?: string; /** - * Disk Serial Number. + * The identity that created the resource. */ - serialNumber: string; + createdBy?: string; /** - * Name of the storage account. This will be empty for data account types other than storage account. + * The type of identity that created the resource. */ - storageAccountName: string; + createdByType?: string; /** - * Total amount of data to be processed by the job. + * The timestamp of resource last modification (UTC) */ - totalBytesToProcess: number; + lastModifiedAt?: string; /** - * Total files to process + * The identity that last modified the resource. */ - totalFilesToProcess: number; + lastModifiedBy?: string; /** - * Transfer type of data + * The type of identity that last modified the resource. */ - transferType: string; + lastModifiedByType?: string; } /** - * Customer disk job details. + * User assigned identity properties */ - export interface DataBoxCustomerDiskJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20221201.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per disk. - */ - copyProgress: outputs.databox.v20221201.DataBoxCustomerDiskCopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliverToDcPackageDetails: outputs.databox.v20221201.PackageCarrierInfoResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; - /** - * Flag to indicate if disk manifest should be backed-up in the Storage Account. - */ - enableManifestBackup?: boolean; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Contains the map of disk serial number to the disk details for export jobs. - */ - exportDiskDetailsCollection: {[key: string]: outputs.databox.v20221201.ExportDiskDetailsResponse}; - /** - * Contains the map of disk serial number to the disk details for import jobs. - */ - importDiskDetailsCollection?: {[key: string]: outputs.databox.v20221201.ImportDiskDetailsResponse}; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - jobDetailsType: "DataBoxCustomerDisk"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20221201.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20221201.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Return package shipping details. - */ - returnToCustomerPackageDetails: outputs.databox.v20221201.PackageCarrierDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; + export interface UserAssignedIdentityResponse { /** - * Optional Reverse Shipping details for order. + * The client ID of the assigned identity. */ - reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; + clientId: string; /** - * Shipping address of the customer. + * The principal ID of the assigned identity. */ - shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; + principalId: string; } + + } +} + +export namespace databox { + /** + * Credential details of the account. + */ + export interface AccountCredentialDetailsResponse { /** - * dataBoxCustomerDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxCustomerDiskJobDetailsResponse + * Connection string of the account endpoint to use the account as a storage endpoint on the device. */ - export function dataBoxCustomerDiskJobDetailsResponseProvideDefaults(val: DataBoxCustomerDiskJobDetailsResponse): DataBoxCustomerDiskJobDetailsResponse { - return { - ...val, - enableManifestBackup: (val.enableManifestBackup) ?? false, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + accountConnectionString: string; /** - * Copy Log Details for a disk + * Name of the account. */ - export interface DataBoxDiskCopyLogDetailsResponse { - /** - * Indicates the type of job details. - * Expected value is 'DataBoxDisk'. - */ - copyLogDetailsType: "DataBoxDisk"; - /** - * Disk Serial Number. - */ - diskSerialNumber: string; - /** - * Link for copy error logs. - */ - errorLogLink: string; - /** - * Link for copy verbose logs. - */ - verboseLogLink: string; - } - + accountName: string; /** - * DataBox Disk Copy Progress + * Type of the account. */ - export interface DataBoxDiskCopyProgressResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Bytes copied during the copy of disk. - */ - bytesCopied: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Indicates the percentage completed for the copy of the disk. - */ - percentComplete: number; - /** - * The serial number of the disk - */ - serialNumber: string; - /** - * The Status of the copy - */ - status: string; - } - + dataAccountType: string; /** - * Granular Copy Log Details for customer disk + * Per share level unencrypted access credentials. */ - export interface DataBoxDiskGranularCopyLogDetailsResponse { - /** - * Account id. - */ - accountId: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - copyLogDetailsType: "DataBoxCustomerDisk"; - /** - * Link for copy error logs. - */ - errorLogLink: string; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Link for copy verbose logs. - */ - verboseLogLink: string; - } + shareCredentialDetails: outputs.databox.ShareCredentialDetailsResponse[]; + } + /** + * This class represents additional info which Resource Providers pass when an error occurs. + */ + export interface AdditionalErrorInfoResponse { /** - * DataBox Disk Granular Copy Progress + * Additional information of the type of error. */ - export interface DataBoxDiskGranularCopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * The Status of the copy - */ - copyStatus: string; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; - /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFileBytesUploaded: number; - /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFilesProcessed: number; - /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. - */ - isEnumerationInProgress: boolean; - /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming - */ - renamedContainerCount: number; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Name of the storage account. This will be empty for data account types other than storage account. - */ - storageAccountName: string; - /** - * Total amount of data to be processed by the job. - */ - totalBytesToProcess: number; - /** - * Total files to process - */ - totalFilesToProcess: number; - /** - * Transfer type of data - */ - transferType: string; - } + info?: any; + /** + * Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). + */ + type?: string; + } + /** + * The Network Adapter configuration of a DataBox. + */ + export interface ApplianceNetworkConfigurationResponse { /** - * DataBox Disk Job Details. + * Mac Address. */ - export interface DataBoxDiskJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20221201.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per disk. - */ - copyProgress: outputs.databox.v20221201.DataBoxDiskCopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; - /** - * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. - */ - disksAndSizeDetails: {[key: string]: number}; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Copy progress per disk. - */ - granularCopyLogDetails: outputs.databox.v20221201.DataBoxDiskGranularCopyLogDetailsResponse[]; - /** - * Copy progress per disk. - */ - granularCopyProgress: outputs.databox.v20221201.DataBoxDiskGranularCopyProgressResponse[]; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxDisk'. - */ - jobDetailsType: "DataBoxDisk"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20221201.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; - /** - * User entered passkey for DataBox Disk job. - */ - passkey?: string; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20221201.PreferencesResponse; - /** - * User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. - */ - preferredDisks?: {[key: string]: number}; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; - } + macAddress: string; /** - * dataBoxDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxDiskJobDetailsResponse + * Name of the network. */ - export function dataBoxDiskJobDetailsResponseProvideDefaults(val: DataBoxDiskJobDetailsResponse): DataBoxDiskJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } + name: string; + } + /** + * Filter details to transfer Azure files + */ + export interface AzureFileFilterDetailsResponse { /** - * The secrets related to disk job. + * List of full path of the files to be transferred. */ - export interface DataBoxDiskJobSecretsResponse { - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; - /** - * Contains the list of secrets object for that device. - */ - diskSecrets: outputs.databox.v20221201.DiskSecretResponse[]; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Whether passkey was provided by user. - */ - isPasskeyUserDefined: boolean; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxDisk'. - */ - jobSecretsType: "DataBoxDisk"; - /** - * PassKey for the disk Job. - */ - passKey: string; - } + filePathList?: string[]; + /** + * Prefix list of the Azure files to be transferred. + */ + filePrefixList?: string[]; + /** + * List of file shares to be transferred. + */ + fileShareList?: string[]; + } + /** + * Filter details to transfer Azure Blobs + */ + export interface BlobFilterDetailsResponse { /** - * Copy log details for a storage account for Databox heavy + * List of full path of the blobs to be transferred. */ - export interface DataBoxHeavyAccountCopyLogDetailsResponse { - /** - * Account name. - */ - accountName: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxHeavy'. - */ - copyLogDetailsType: "DataBoxHeavy"; - /** - * Link for copy logs. - */ - copyLogLink: string[]; - /** - * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. - */ - copyVerboseLogLink: string[]; - } + blobPathList?: string[]; + /** + * Prefix list of the Azure blobs to be transferred. + */ + blobPrefixList?: string[]; + /** + * List of blob containers to be transferred. + */ + containerList?: string[]; + } + /** + * Provides additional information about an http error response. + */ + export interface CloudErrorResponse { /** - * Databox Heavy Device Job Details + * Gets or sets additional error info. */ - export interface DataBoxHeavyJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20221201.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per account. - */ - copyProgress: outputs.databox.v20221201.CopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; - /** - * Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ - */ - devicePassword?: string; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxHeavy'. - */ - jobDetailsType: "DataBoxHeavy"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20221201.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20221201.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; - } + additionalInfo: outputs.databox.AdditionalErrorInfoResponse[]; /** - * dataBoxHeavyJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxHeavyJobDetailsResponse + * Error code. */ - export function dataBoxHeavyJobDetailsResponseProvideDefaults(val: DataBoxHeavyJobDetailsResponse): DataBoxHeavyJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + code?: string; /** - * The secrets related to a databox heavy job. + * Gets or sets details for the error. */ - export interface DataBoxHeavyJobSecretsResponse { - /** - * Contains the list of secret objects for a databox heavy job. - */ - cabinetPodSecrets: outputs.databox.v20221201.DataBoxHeavySecretResponse[]; - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxHeavy'. - */ - jobSecretsType: "DataBoxHeavy"; - } - + details: outputs.databox.CloudErrorResponse[]; /** - * The secrets related to a databox heavy. + * The error message parsed from the body of the http error response. */ - export interface DataBoxHeavySecretResponse { - /** - * Per account level access credentials. - */ - accountCredentialDetails: outputs.databox.v20221201.AccountCredentialDetailsResponse[]; - /** - * Password for out of the box experience on device. - */ - devicePassword: string; - /** - * Serial number of the assigned device. - */ - deviceSerialNumber: string; - /** - * The base 64 encoded public key to authenticate with the device - */ - encodedValidationCertPubKey: string; - /** - * Network configuration of the appliance. - */ - networkConfigurations: outputs.databox.v20221201.ApplianceNetworkConfigurationResponse[]; - } - + message?: string; /** - * Databox Job Details + * Gets or sets the target of the error. */ - export interface DataBoxJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20221201.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per storage account. - */ - copyProgress: outputs.databox.v20221201.CopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; - /** - * Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ - */ - devicePassword?: string; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Indicates the type of job details. - * Expected value is 'DataBox'. - */ - jobDetailsType: "DataBox"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20221201.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20221201.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; - } + target?: string; + } + + /** + * Contact Details. + */ + export interface ContactDetailsResponse { /** - * dataBoxJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxJobDetailsResponse + * Contact name of the person. */ - export function dataBoxJobDetailsResponseProvideDefaults(val: DataBoxJobDetailsResponse): DataBoxJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + contactName: string; /** - * The secrets related to a DataBox. + * List of Email-ids to be notified about job progress. */ - export interface DataBoxSecretResponse { - /** - * Per account level access credentials. - */ - accountCredentialDetails: outputs.databox.v20221201.AccountCredentialDetailsResponse[]; - /** - * Password for out of the box experience on device. - */ - devicePassword: string; - /** - * Serial number of the assigned device. - */ - deviceSerialNumber: string; - /** - * The base 64 encoded public key to authenticate with the device - */ - encodedValidationCertPubKey: string; - /** - * Network configuration of the appliance. - */ - networkConfigurations: outputs.databox.v20221201.ApplianceNetworkConfigurationResponse[]; - } - + emailList: string[]; /** - * Details of the data to be used for exporting data from azure. + * Mobile number of the contact person. */ - export interface DataExportDetailsResponse { - /** - * Account details of the data to be transferred - */ - accountDetails: outputs.databox.v20221201.ManagedDiskDetailsResponse | outputs.databox.v20221201.StorageAccountDetailsResponse; - /** - * Level of the logs to be collected. - */ - logCollectionLevel?: string; - /** - * Configuration for the data transfer. - */ - transferConfiguration: outputs.databox.v20221201.TransferConfigurationResponse; - } + mobile?: string; /** - * dataExportDetailsResponseProvideDefaults sets the appropriate defaults for DataExportDetailsResponse + * Notification preference for a job stage. */ - export function dataExportDetailsResponseProvideDefaults(val: DataExportDetailsResponse): DataExportDetailsResponse { - return { - ...val, - logCollectionLevel: (val.logCollectionLevel) ?? "Error", - transferConfiguration: outputs.databox.v20221201.transferConfigurationResponseProvideDefaults(val.transferConfiguration), - }; - } - + notificationPreference?: outputs.databox.NotificationPreferenceResponse[]; /** - * Details of the data to be used for importing data to azure. + * Phone number of the contact person. */ - export interface DataImportDetailsResponse { - /** - * Account details of the data to be transferred - */ - accountDetails: outputs.databox.v20221201.ManagedDiskDetailsResponse | outputs.databox.v20221201.StorageAccountDetailsResponse; - /** - * Level of the logs to be collected. - */ - logCollectionLevel?: string; - } + phone: string; /** - * dataImportDetailsResponseProvideDefaults sets the appropriate defaults for DataImportDetailsResponse + * Phone extension number of the contact person. */ - export function dataImportDetailsResponseProvideDefaults(val: DataImportDetailsResponse): DataImportDetailsResponse { - return { - ...val, - logCollectionLevel: (val.logCollectionLevel) ?? "Error", - }; - } + phoneExtension?: string; + } + /** + * Contact Info. + */ + export interface ContactInfoResponse { /** - * The secrets related to a databox job. + * Contact name of the person. */ - export interface DataboxJobSecretsResponse { - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20221201.CloudErrorResponse; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBox'. - */ - jobSecretsType: "DataBox"; - /** - * Contains the list of secret objects for a job. - */ - podSecrets?: outputs.databox.v20221201.DataBoxSecretResponse[]; - } - + contactName: string; /** - * Datacenter instruction for given storage location. + * Mobile number of the contact person. */ - export interface DatacenterAddressInstructionResponseResponse { - /** - * Data center communication instruction - */ - communicationInstruction: string; - /** - * Azure Location where the Data Center serves primarily. - */ - dataCenterAzureLocation: string; - /** - * Data center address type - * Expected value is 'DatacenterAddressInstruction'. - */ - datacenterAddressType: "DatacenterAddressInstruction"; - /** - * List of supported carriers for return shipment. - */ - supportedCarriersForReturnShipment: string[]; - } - + mobile?: string; /** - * Datacenter address for given storage location. + * Phone number of the contact person. */ - export interface DatacenterAddressLocationResponseResponse { - /** - * Special instruction for shipping - */ - additionalShippingInformation: string; - /** - * Address type - */ - addressType: string; - /** - * City name - */ - city: string; - /** - * Company name - */ - company: string; - /** - * Contact person name - */ - contactPersonName: string; - /** - * name of the country - */ - country: string; - /** - * Azure Location where the Data Center serves primarily. - */ - dataCenterAzureLocation: string; - /** - * Data center address type - * Expected value is 'DatacenterAddressLocation'. - */ - datacenterAddressType: "DatacenterAddressLocation"; - /** - * Phone number - */ - phone: string; - /** - * Phone extension - */ - phoneExtension: string; - /** - * name of the state - */ - state: string; - /** - * Street address line 1 - */ - street1: string; - /** - * Street address line 2 - */ - street2: string; - /** - * Street address line 3 - */ - street3: string; - /** - * List of supported carriers for return shipment. - */ - supportedCarriersForReturnShipment: string[]; - /** - * Zip code - */ - zip: string; - } - + phone: string; /** - * Dc access security code + * Phone extension number of the contact person. */ - export interface DcAccessSecurityCodeResponse { - /** - * Forward Dc access security code. - */ - forwardDCAccessCode?: string; - /** - * Reverse Dc access security code. - */ - reverseDCAccessCode?: string; - } + phoneExtension?: string; + } + /** + * Copy progress. + */ + export interface CopyProgressResponse { /** - * Device erasure details with erasure completion status and erasureordestructionlog sas key + * Id of the account where the data needs to be uploaded. */ - export interface DeviceErasureDetailsResponse { - /** - * Holds the device erasure completion status - */ - deviceErasureStatus: string; - /** - * Shared access key to download cleanup or destruction certificate for device - */ - erasureOrDestructionCertificateSasKey: string; - } - + accountId: string; /** - * Contains all the secrets of a Disk. + * Available actions on the job. */ - export interface DiskSecretResponse { - /** - * Bit Locker key of the disk which can be used to unlock the disk to copy data. - */ - bitLockerKey: string; - /** - * Serial number of the assigned disk. - */ - diskSerialNumber: string; - } - + actions: string[]; /** - * Preferences related to the Encryption. + * To indicate bytes transferred. */ - export interface EncryptionPreferencesResponse { - /** - * Defines secondary layer of software-based encryption enablement. - */ - doubleEncryption?: string; - /** - * Defines Hardware level encryption (Only for disk) - */ - hardwareEncryption?: string; - } + bytesProcessed: number; /** - * encryptionPreferencesResponseProvideDefaults sets the appropriate defaults for EncryptionPreferencesResponse + * Data Account Type. */ - export function encryptionPreferencesResponseProvideDefaults(val: EncryptionPreferencesResponse): EncryptionPreferencesResponse { - return { - ...val, - doubleEncryption: (val.doubleEncryption) ?? "Disabled", - }; - } - + dataAccountType: string; /** - * Export disk details + * To indicate directories errored out in the job. */ - export interface ExportDiskDetailsResponse { - /** - * Path to backed up manifest, only returned if enableManifestBackup is true. - */ - backupManifestCloudPath: string; - /** - * The relative path of the manifest file on the disk. - */ - manifestFile: string; - /** - * The Base16-encoded MD5 hash of the manifest file on the disk. - */ - manifestHash: string; - } - + directoriesErroredOut: number; /** - * Details of the filter files to be used for data transfer. + * Error, if any, in the stage */ - export interface FilterFileDetailsResponse { - /** - * Path of the file that contains the details of all items to transfer. - */ - filterFilePath: string; - /** - * Type of the filter file. - */ - filterFileType: string; - } - + error: outputs.databox.CloudErrorResponse; /** - * Managed identity properties. + * Number of files which could not be copied */ - export interface IdentityPropertiesResponse { - /** - * Managed service identity type. - */ - type?: string; - /** - * User assigned identity properties. - */ - userAssigned?: outputs.databox.v20221201.UserAssignedPropertiesResponse; - } - + filesErroredOut: number; /** - * Import disk details + * Number of files processed */ - export interface ImportDiskDetailsResponse { - /** - * Path to backed up manifest, only returned if enableManifestBackup is true. - */ - backupManifestCloudPath: string; - /** - * BitLocker key used to encrypt the disk. - */ - bitLockerKey: string; - /** - * The relative path of the manifest file on the disk. - */ - manifestFile: string; - /** - * The Base16-encoded MD5 hash of the manifest file on the disk. - */ - manifestHash: string; - } - + filesProcessed: number; /** - * Additional delivery info. + * To indicate directories renamed */ - export interface JobDeliveryInfoResponse { - /** - * Scheduled date time. - */ - scheduledDateTime?: string; - } - + invalidDirectoriesProcessed: number; /** - * Job stages. + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */ - export interface JobStagesResponse { - /** - * Display name of the job stage. - */ - displayName: string; - /** - * Job Stage Details - */ - jobStageDetails: any; - /** - * Name of the job stage. - */ - stageName: string; - /** - * Status of the job stage. - */ - stageStatus: string; - /** - * Time for the job stage in UTC ISO 8601 format. - */ - stageTime: string; - } - + invalidFileBytesUploaded: number; /** - * Encryption key containing details about key to encrypt different keys. + * Number of files not adhering to azure naming conventions which were processed by automatic renaming */ - export interface KeyEncryptionKeyResponse { - /** - * Managed identity properties used for key encryption. - */ - identityProperties?: outputs.databox.v20221201.IdentityPropertiesResponse; - /** - * Type of encryption key used for key encryption. - */ - kekType: string; - /** - * Key encryption key. It is required in case of Customer managed KekType. - */ - kekUrl?: string; - /** - * Kek vault resource id. It is required in case of Customer managed KekType. - */ - kekVaultResourceID?: string; - } + invalidFilesProcessed: number; /** - * keyEncryptionKeyResponseProvideDefaults sets the appropriate defaults for KeyEncryptionKeyResponse + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. */ - export function keyEncryptionKeyResponseProvideDefaults(val: KeyEncryptionKeyResponse): KeyEncryptionKeyResponse { - return { - ...val, - kekType: (val.kekType) ?? "MicrosoftManaged", - }; - } - + isEnumerationInProgress: boolean; /** - * Last Mitigation Action Performed On Job + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming */ - export interface LastMitigationActionOnJobResponse { - /** - * Action performed date time - */ - actionDateTimeInUtc?: string; - /** - * Resolution code provided by customer - */ - customerResolution?: string; - /** - * Action performed by customer, - * possibility is that mitigation might happen by customer or service or by ops - */ - isPerformedByCustomer?: boolean; - } - + renamedContainerCount: number; /** - * Details of the managed disks. + * Name of the storage account. This will be empty for data account types other than storage account. */ - export interface ManagedDiskDetailsResponse { - /** - * Account Type of the data to be transferred. - * Expected value is 'ManagedDisk'. - */ - dataAccountType: "ManagedDisk"; - /** - * Resource Group Id of the compute disks. - */ - resourceGroupId: string; - /** - * Resource Id of the storage account that can be used to copy the vhd for staging. - */ - stagingStorageAccountId: string; - } + storageAccountName: string; /** - * managedDiskDetailsResponseProvideDefaults sets the appropriate defaults for ManagedDiskDetailsResponse + * Total amount of data to be processed by the job. */ - export function managedDiskDetailsResponseProvideDefaults(val: ManagedDiskDetailsResponse): ManagedDiskDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + totalBytesToProcess: number; /** - * Notification preference for a job stage. + * Total files to process */ - export interface NotificationPreferenceResponse { - /** - * Notification is required or not. - */ - sendNotification: boolean; - /** - * Name of the stage. - */ - stageName: string; - } + totalFilesToProcess: number; /** - * notificationPreferenceResponseProvideDefaults sets the appropriate defaults for NotificationPreferenceResponse + * Transfer type of data */ - export function notificationPreferenceResponseProvideDefaults(val: NotificationPreferenceResponse): NotificationPreferenceResponse { - return { - ...val, - sendNotification: (val.sendNotification) ?? true, - }; - } + transferType: string; + } + /** + * The secrets related to customer disk job. + */ + export interface CustomerDiskJobSecretsResponse { /** - * Package carrier details. + * Carrier Account Number of the customer */ - export interface PackageCarrierDetailsResponse { - /** - * Carrier Account Number of customer for customer disk. - */ - carrierAccountNumber?: string; - /** - * Name of the carrier. - */ - carrierName?: string; - /** - * Tracking Id of shipment. - */ - trackingId?: string; - } - + carrierAccountNumber: string; /** - * package carrier info + * Dc Access Security Code for Customer Managed Shipping */ - export interface PackageCarrierInfoResponse { - /** - * Name of the carrier. - */ - carrierName?: string; - /** - * Tracking Id of shipment. - */ - trackingId?: string; - } - + dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; /** - * package shipping details + * Contains the list of secrets object for that device. */ - export interface PackageShippingDetailsResponse { - /** - * Name of the carrier. - */ - carrierName: string; - /** - * Tracking Id of shipment. - */ - trackingId: string; - /** - * Url where shipment can be tracked. - */ - trackingUrl: string; - } - + diskSecrets: outputs.databox.DiskSecretResponse[]; /** - * Preferences related to the order + * Error while fetching the secrets. */ - export interface PreferencesResponse { - /** - * Preferences related to the Encryption. - */ - encryptionPreferences?: outputs.databox.v20221201.EncryptionPreferencesResponse; - /** - * Preferred data center region. - */ - preferredDataCenterRegion?: string[]; - /** - * Optional Preferences related to the reverse shipment logistics of the sku. - */ - reverseTransportPreferences?: outputs.databox.v20221201.TransportPreferencesResponse; - /** - * Preferences related to the Access Tier of storage accounts. - */ - storageAccountAccessTierPreferences?: string[]; - /** - * Preferences related to the shipment logistics of the sku. - */ - transportPreferences?: outputs.databox.v20221201.TransportPreferencesResponse; - } + error: outputs.databox.CloudErrorResponse; /** - * preferencesResponseProvideDefaults sets the appropriate defaults for PreferencesResponse + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxCustomerDisk'. */ - export function preferencesResponseProvideDefaults(val: PreferencesResponse): PreferencesResponse { - return { - ...val, - encryptionPreferences: (val.encryptionPreferences ? outputs.databox.v20221201.encryptionPreferencesResponseProvideDefaults(val.encryptionPreferences) : undefined), - }; - } + jobSecretsType: "DataBoxCustomerDisk"; + } + /** + * Copy log details for a storage account of a DataBox job + */ + export interface DataBoxAccountCopyLogDetailsResponse { /** - * Msi identity details of the resource + * Account name. */ - export interface ResourceIdentityResponse { - /** - * Service Principal Id backing the Msi - */ - principalId: string; - /** - * Home Tenant Id - */ - tenantId: string; - /** - * Identity type - */ - type?: string; - /** - * User Assigned Identities - */ - userAssignedIdentities?: {[key: string]: outputs.databox.v20221201.UserAssignedIdentityResponse}; - } + accountName: string; /** - * resourceIdentityResponseProvideDefaults sets the appropriate defaults for ResourceIdentityResponse + * Indicates the type of job details. + * Expected value is 'DataBox'. */ - export function resourceIdentityResponseProvideDefaults(val: ResourceIdentityResponse): ResourceIdentityResponse { - return { - ...val, - type: (val.type) ?? "None", - }; - } - + copyLogDetailsType: "DataBox"; /** - * Reverse Shipping Address and contact details for a job. + * Link for copy logs. */ - export interface ReverseShippingDetailsResponse { - /** - * Contact Info. - */ - contactDetails?: outputs.databox.v20221201.ContactInfoResponse; - /** - * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. - * Read only field - */ - isUpdated: boolean; - /** - * Shipping address where customer wishes to receive the device. - */ - shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; - } + copyLogLink: string; /** - * reverseShippingDetailsResponseProvideDefaults sets the appropriate defaults for ReverseShippingDetailsResponse + * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. */ - export function reverseShippingDetailsResponseProvideDefaults(val: ReverseShippingDetailsResponse): ReverseShippingDetailsResponse { - return { - ...val, - shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } + copyVerboseLogLink: string; + } + /** + * Copy Log Details for customer disk + */ + export interface DataBoxCustomerDiskCopyLogDetailsResponse { /** - * Credential details of the shares in account. + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - export interface ShareCredentialDetailsResponse { - /** - * Password for the share. - */ - password: string; - /** - * Name of the share. - */ - shareName: string; - /** - * Type of the share. - */ - shareType: string; - /** - * Access protocols supported on the device. - */ - supportedAccessProtocols: string[]; - /** - * User name for the share. - */ - userName: string; - } - + copyLogDetailsType: "DataBoxCustomerDisk"; /** - * Shipping address where customer wishes to receive the device. + * Link for copy error logs. */ - export interface ShippingAddressResponse { - /** - * Type of address. - */ - addressType?: string; - /** - * Name of the City. - */ - city?: string; - /** - * Name of the company. - */ - companyName?: string; - /** - * Name of the Country. - */ - country: string; - /** - * Postal code. - */ - postalCode?: string; - /** - * Flag to indicate if customer has chosen to skip default address validation - */ - skipAddressValidation?: boolean; - /** - * Name of the State or Province. - */ - stateOrProvince?: string; - /** - * Street Address line 1. - */ - streetAddress1: string; - /** - * Street Address line 2. - */ - streetAddress2?: string; - /** - * Street Address line 3. - */ - streetAddress3?: string; - /** - * Tax Identification Number - */ - taxIdentificationNumber?: string; - /** - * Extended Zip Code. - */ - zipExtendedCode?: string; - } + errorLogLink: string; /** - * shippingAddressResponseProvideDefaults sets the appropriate defaults for ShippingAddressResponse + * Disk Serial Number. */ - export function shippingAddressResponseProvideDefaults(val: ShippingAddressResponse): ShippingAddressResponse { - return { - ...val, - addressType: (val.addressType) ?? "None", - }; - } - + serialNumber: string; /** - * The Sku. + * Link for copy verbose logs. */ - export interface SkuResponse { - /** - * The display name of the sku. - */ - displayName?: string; - /** - * The sku family. - */ - family?: string; - /** - * The sku name. - */ - name: string; - } + verboseLogLink: string; + } + /** + * DataBox CustomerDisk Copy Progress + */ + export interface DataBoxCustomerDiskCopyProgressResponse { /** - * Details for the storage account. + * Id of the account where the data needs to be uploaded. */ - export interface StorageAccountDetailsResponse { - /** - * Account Type of the data to be transferred. - * Expected value is 'StorageAccount'. - */ - dataAccountType: "StorageAccount"; - /** - * Storage Account Resource Id. - */ - storageAccountId: string; - } + accountId: string; /** - * storageAccountDetailsResponseProvideDefaults sets the appropriate defaults for StorageAccountDetailsResponse + * Available actions on the job. */ - export function storageAccountDetailsResponseProvideDefaults(val: StorageAccountDetailsResponse): StorageAccountDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + actions: string[]; /** - * Provides details about resource creation and update time + * To indicate bytes transferred. */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC) - */ - createdAt: string; - /** - * A string identifier for the identity that created the resource - */ - createdBy: string; - /** - * The type of identity that created the resource: user, application, managedIdentity - */ - createdByType: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt: string; - /** - * A string identifier for the identity that last modified the resource - */ - lastModifiedBy: string; - /** - * The type of identity that last modified the resource: user, application, managedIdentity - */ - lastModifiedByType: string; - } - + bytesProcessed: number; /** - * Details to transfer all data. + * The Status of the copy */ - export interface TransferAllDetailsResponse { - /** - * Type of the account of data - */ - dataAccountType: string; - /** - * To indicate if all Azure blobs have to be transferred - */ - transferAllBlobs?: boolean; - /** - * To indicate if all Azure Files have to be transferred - */ - transferAllFiles?: boolean; - } + copyStatus: string; /** - * transferAllDetailsResponseProvideDefaults sets the appropriate defaults for TransferAllDetailsResponse + * Data Account Type. */ - export function transferAllDetailsResponseProvideDefaults(val: TransferAllDetailsResponse): TransferAllDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + dataAccountType: string; /** - * Configuration for defining the transfer of data. + * To indicate directories errored out in the job. */ - export interface TransferConfigurationResponse { - /** - * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll - */ - transferAllDetails?: outputs.databox.v20221201.TransferConfigurationResponseTransferAllDetails; - /** - * Type of the configuration for transfer. - */ - transferConfigurationType: string; - /** - * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. - */ - transferFilterDetails?: outputs.databox.v20221201.TransferConfigurationResponseTransferFilterDetails; - } + directoriesErroredOut: number; /** - * transferConfigurationResponseProvideDefaults sets the appropriate defaults for TransferConfigurationResponse + * Error, if any, in the stage */ - export function transferConfigurationResponseProvideDefaults(val: TransferConfigurationResponse): TransferConfigurationResponse { - return { - ...val, - transferAllDetails: (val.transferAllDetails ? outputs.databox.v20221201.transferConfigurationResponseTransferAllDetailsProvideDefaults(val.transferAllDetails) : undefined), - transferFilterDetails: (val.transferFilterDetails ? outputs.databox.v20221201.transferConfigurationResponseTransferFilterDetailsProvideDefaults(val.transferFilterDetails) : undefined), - }; - } - + error: outputs.databox.CloudErrorResponse; /** - * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + * Number of files which could not be copied */ - export interface TransferConfigurationResponseTransferAllDetails { - /** - * Details to transfer all data. - */ - include?: outputs.databox.v20221201.TransferAllDetailsResponse; - } + filesErroredOut: number; /** - * transferConfigurationResponseTransferAllDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferAllDetails + * Number of files processed */ - export function transferConfigurationResponseTransferAllDetailsProvideDefaults(val: TransferConfigurationResponseTransferAllDetails): TransferConfigurationResponseTransferAllDetails { - return { - ...val, - include: (val.include ? outputs.databox.v20221201.transferAllDetailsResponseProvideDefaults(val.include) : undefined), - }; - } - + filesProcessed: number; /** - * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + * To indicate directories renamed */ - export interface TransferConfigurationResponseTransferFilterDetails { - /** - * Details of the filtering the transfer of data. - */ - include?: outputs.databox.v20221201.TransferFilterDetailsResponse; - } + invalidDirectoriesProcessed: number; /** - * transferConfigurationResponseTransferFilterDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferFilterDetails + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */ - export function transferConfigurationResponseTransferFilterDetailsProvideDefaults(val: TransferConfigurationResponseTransferFilterDetails): TransferConfigurationResponseTransferFilterDetails { - return { - ...val, - include: (val.include ? outputs.databox.v20221201.transferFilterDetailsResponseProvideDefaults(val.include) : undefined), - }; - } - + invalidFileBytesUploaded: number; /** - * Details of the filtering the transfer of data. + * Number of files not adhering to azure naming conventions which were processed by automatic renaming */ - export interface TransferFilterDetailsResponse { - /** - * Filter details to transfer Azure files. - */ - azureFileFilterDetails?: outputs.databox.v20221201.AzureFileFilterDetailsResponse; - /** - * Filter details to transfer blobs. - */ - blobFilterDetails?: outputs.databox.v20221201.BlobFilterDetailsResponse; - /** - * Type of the account of data. - */ - dataAccountType: string; - /** - * Details of the filter files to be used for data transfer. - */ - filterFileDetails?: outputs.databox.v20221201.FilterFileDetailsResponse[]; - } + invalidFilesProcessed: number; /** - * transferFilterDetailsResponseProvideDefaults sets the appropriate defaults for TransferFilterDetailsResponse + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. */ - export function transferFilterDetailsResponseProvideDefaults(val: TransferFilterDetailsResponse): TransferFilterDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + isEnumerationInProgress: boolean; /** - * Preferences related to the shipment logistics of the sku + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming */ - export interface TransportPreferencesResponse { - /** - * Read only property which indicates whether transport preferences has been updated or not after device is prepared. - */ - isUpdated: boolean; - /** - * Indicates Shipment Logistics type that the customer preferred. - */ - preferredShipmentType: string; - } - + renamedContainerCount: number; /** - * Unencrypted credentials for accessing device. + * Disk Serial Number. */ - export interface UnencryptedCredentialsResponse { - /** - * Name of the job. - */ - jobName: string; - /** - * Secrets related to this job. - */ - jobSecrets: outputs.databox.v20221201.CustomerDiskJobSecretsResponse | outputs.databox.v20221201.DataBoxDiskJobSecretsResponse | outputs.databox.v20221201.DataBoxHeavyJobSecretsResponse | outputs.databox.v20221201.DataboxJobSecretsResponse; - } - + serialNumber: string; /** - * Class defining User assigned identity details. + * Name of the storage account. This will be empty for data account types other than storage account. */ - export interface UserAssignedIdentityResponse { - /** - * The client id of user assigned identity. - */ - clientId: string; - /** - * The principal id of user assigned identity. - */ - principalId: string; - } - + storageAccountName: string; /** - * User assigned identity properties. + * Total amount of data to be processed by the job. */ - export interface UserAssignedPropertiesResponse { - /** - * Arm resource id for user assigned identity to be used to fetch MSI token. - */ - resourceId?: string; - } - + totalBytesToProcess: number; + /** + * Total files to process + */ + totalFilesToProcess: number; + /** + * Transfer type of data + */ + transferType: string; } - export namespace v20230301 { + /** + * Customer disk job details. + */ + export interface DataBoxCustomerDiskJobDetailsResponse { /** - * Credential details of the account. + * Available actions on the job. */ - export interface AccountCredentialDetailsResponse { - /** - * Connection string of the account endpoint to use the account as a storage endpoint on the device. - */ - accountConnectionString: string; - /** - * Name of the account. - */ - accountName: string; - /** - * Type of the account. - */ - dataAccountType: string; - /** - * Per share level unencrypted access credentials. - */ - shareCredentialDetails: outputs.databox.v20230301.ShareCredentialDetailsResponse[]; - } - + actions: string[]; /** - * This class represents additional info which Resource Providers pass when an error occurs. + * Shared access key to download the chain of custody logs */ - export interface AdditionalErrorInfoResponse { - /** - * Additional information of the type of error. - */ - info?: any; - /** - * Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). - */ - type?: string; - } - + chainOfCustodySasKey: string; /** - * The Network Adapter configuration of a DataBox. + * Contact details for notification and shipping. */ - export interface ApplianceNetworkConfigurationResponse { - /** - * Mac Address. - */ - macAddress: string; - /** - * Name of the network. - */ - name: string; - } - + contactDetails: outputs.databox.ContactDetailsResponse; /** - * Filter details to transfer Azure files + * List of copy log details. */ - export interface AzureFileFilterDetailsResponse { - /** - * List of full path of the files to be transferred. - */ - filePathList?: string[]; - /** - * Prefix list of the Azure files to be transferred. - */ - filePrefixList?: string[]; - /** - * List of file shares to be transferred. - */ - fileShareList?: string[]; - } - + copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * Filter details to transfer Azure Blobs + * Copy progress per disk. */ - export interface BlobFilterDetailsResponse { - /** - * List of full path of the blobs to be transferred. - */ - blobPathList?: string[]; - /** - * Prefix list of the Azure blobs to be transferred. - */ - blobPrefixList?: string[]; - /** - * List of blob containers to be transferred. - */ - containerList?: string[]; - } - + copyProgress: outputs.databox.DataBoxCustomerDiskCopyProgressResponse[]; /** - * Provides additional information about an http error response. + * DataCenter code. */ - export interface CloudErrorResponse { - /** - * Gets or sets additional error info. - */ - additionalInfo: outputs.databox.v20230301.AdditionalErrorInfoResponse[]; - /** - * Error code. - */ - code?: string; - /** - * Gets or sets details for the error. - */ - details: outputs.databox.v20230301.CloudErrorResponse[]; - /** - * The error message parsed from the body of the http error response. - */ - message?: string; - /** - * Gets or sets the target of the error. - */ - target?: string; - } - + dataCenterCode: string; /** - * Contact Details. + * Details of the data to be exported from azure. */ - export interface ContactDetailsResponse { - /** - * Contact name of the person. - */ - contactName: string; - /** - * List of Email-ids to be notified about job progress. - */ - emailList: string[]; - /** - * Mobile number of the contact person. - */ - mobile?: string; - /** - * Notification preference for a job stage. - */ - notificationPreference?: outputs.databox.v20230301.NotificationPreferenceResponse[]; - /** - * Phone number of the contact person. - */ - phone: string; - /** - * Phone extension number of the contact person. - */ - phoneExtension?: string; - } - + dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; /** - * Contact Info. + * Details of the data to be imported into azure. */ - export interface ContactInfoResponse { - /** - * Contact name of the person. - */ - contactName: string; - /** - * Mobile number of the contact person. - */ - mobile?: string; - /** - * Phone number of the contact person. - */ - phone: string; - /** - * Phone extension number of the contact person. - */ - phoneExtension?: string; - } - + dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; /** - * Copy progress. + * Datacenter address to ship to, for the given sku and storage location. */ - export interface CopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; - /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFileBytesUploaded: number; - /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFilesProcessed: number; - /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. - */ - isEnumerationInProgress: boolean; - /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming - */ - renamedContainerCount: number; - /** - * Name of the storage account. This will be empty for data account types other than storage account. - */ - storageAccountName: string; - /** - * Total amount of data to be processed by the job. - */ - totalBytesToProcess: number; - /** - * Total files to process - */ - totalFilesToProcess: number; - /** - * Transfer type of data - */ - transferType: string; - } - + datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; /** - * The secrets related to customer disk job. + * Delivery package shipping details. */ - export interface CustomerDiskJobSecretsResponse { - /** - * Carrier Account Number of the customer - */ - carrierAccountNumber: string; - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; - /** - * Contains the list of secrets object for that device. - */ - diskSecrets: outputs.databox.v20230301.DiskSecretResponse[]; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxCustomerDisk'. - */ - jobSecretsType: "DataBoxCustomerDisk"; - } - + deliverToDcPackageDetails: outputs.databox.PackageCarrierInfoResponse; /** - * Copy log details for a storage account of a DataBox job + * Delivery package shipping details. */ - export interface DataBoxAccountCopyLogDetailsResponse { - /** - * Account name. - */ - accountName: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBox'. - */ - copyLogDetailsType: "DataBox"; - /** - * Link for copy logs. - */ - copyLogLink: string; - /** - * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. - */ - copyVerboseLogLink: string; - } - + deliveryPackage: outputs.databox.PackageShippingDetailsResponse; /** - * Copy Log Details for customer disk + * Holds device data erasure details */ - export interface DataBoxCustomerDiskCopyLogDetailsResponse { - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - copyLogDetailsType: "DataBoxCustomerDisk"; - /** - * Link for copy error logs. - */ - errorLogLink: string; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Link for copy verbose logs. - */ - verboseLogLink: string; - } - + deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; /** - * DataBox CustomerDisk Copy Progress + * Flag to indicate if disk manifest should be backed-up in the Storage Account. */ - export interface DataBoxCustomerDiskCopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * The Status of the copy - */ - copyStatus: string; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; - /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFileBytesUploaded: number; - /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFilesProcessed: number; - /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. - */ - isEnumerationInProgress: boolean; - /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming - */ - renamedContainerCount: number; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Name of the storage account. This will be empty for data account types other than storage account. - */ - storageAccountName: string; - /** - * Total amount of data to be processed by the job. - */ - totalBytesToProcess: number; - /** - * Total files to process - */ - totalFilesToProcess: number; - /** - * Transfer type of data - */ - transferType: string; - } - + enableManifestBackup?: boolean; /** - * Customer disk job details. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - export interface DataBoxCustomerDiskJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20230301.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per disk. - */ - copyProgress: outputs.databox.v20230301.DataBoxCustomerDiskCopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliverToDcPackageDetails: outputs.databox.v20230301.PackageCarrierInfoResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; - /** - * Flag to indicate if disk manifest should be backed-up in the Storage Account. - */ - enableManifestBackup?: boolean; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Contains the map of disk serial number to the disk details for export jobs. - */ - exportDiskDetailsCollection: {[key: string]: outputs.databox.v20230301.ExportDiskDetailsResponse}; - /** - * Contains the map of disk serial number to the disk details for import jobs. - */ - importDiskDetailsCollection?: {[key: string]: outputs.databox.v20230301.ImportDiskDetailsResponse}; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - jobDetailsType: "DataBoxCustomerDisk"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20230301.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20230301.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Return package shipping details. - */ - returnToCustomerPackageDetails: outputs.databox.v20230301.PackageCarrierDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; - } + expectedDataSizeInTeraBytes?: number; /** - * dataBoxCustomerDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxCustomerDiskJobDetailsResponse + * Contains the map of disk serial number to the disk details for export jobs. */ - export function dataBoxCustomerDiskJobDetailsResponseProvideDefaults(val: DataBoxCustomerDiskJobDetailsResponse): DataBoxCustomerDiskJobDetailsResponse { - return { - ...val, - enableManifestBackup: (val.enableManifestBackup) ?? false, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + exportDiskDetailsCollection: {[key: string]: outputs.databox.ExportDiskDetailsResponse}; /** - * Copy Log Details for a disk + * Contains the map of disk serial number to the disk details for import jobs. */ - export interface DataBoxDiskCopyLogDetailsResponse { - /** - * Indicates the type of job details. - * Expected value is 'DataBoxDisk'. - */ - copyLogDetailsType: "DataBoxDisk"; - /** - * Disk Serial Number. - */ - diskSerialNumber: string; - /** - * Link for copy error logs. - */ - errorLogLink: string; - /** - * Link for copy verbose logs. - */ - verboseLogLink: string; - } - + importDiskDetailsCollection?: {[key: string]: outputs.databox.ImportDiskDetailsResponse}; /** - * DataBox Disk Copy Progress + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - export interface DataBoxDiskCopyProgressResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Bytes copied during the copy of disk. - */ - bytesCopied: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Indicates the percentage completed for the copy of the disk. - */ - percentComplete: number; - /** - * The serial number of the disk - */ - serialNumber: string; - /** - * The Status of the copy - */ - status: string; - } + jobDetailsType: "DataBoxCustomerDisk"; + /** + * List of stages that run in the job. + */ + jobStages: outputs.databox.JobStagesResponse[]; + /** + * Details about which key encryption type is being used. + */ + keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; + /** + * Last mitigation action performed on the job. + */ + lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; + /** + * Preferences for the order. + */ + preferences?: outputs.databox.PreferencesResponse; + /** + * Return package shipping details. + */ + returnPackage: outputs.databox.PackageShippingDetailsResponse; + /** + * Return package shipping details. + */ + returnToCustomerPackageDetails: outputs.databox.PackageCarrierDetailsResponse; + /** + * Shared access key to download the return shipment label + */ + reverseShipmentLabelSasKey: string; + /** + * Optional Reverse Shipping details for order. + */ + reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.ShippingAddressResponse; + } + /** + * dataBoxCustomerDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxCustomerDiskJobDetailsResponse + */ + export function dataBoxCustomerDiskJobDetailsResponseProvideDefaults(val: DataBoxCustomerDiskJobDetailsResponse): DataBoxCustomerDiskJobDetailsResponse { + return { + ...val, + enableManifestBackup: (val.enableManifestBackup) ?? false, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; + } + /** + * Copy Log Details for a disk + */ + export interface DataBoxDiskCopyLogDetailsResponse { /** - * Granular Copy Log Details for customer disk + * Indicates the type of job details. + * Expected value is 'DataBoxDisk'. */ - export interface DataBoxDiskGranularCopyLogDetailsResponse { - /** - * Account id. - */ - accountId: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxCustomerDisk'. - */ - copyLogDetailsType: "DataBoxCustomerDisk"; - /** - * Link for copy error logs. - */ - errorLogLink: string; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Link for copy verbose logs. - */ - verboseLogLink: string; - } + copyLogDetailsType: "DataBoxDisk"; + /** + * Disk Serial Number. + */ + diskSerialNumber: string; + /** + * Link for copy error logs. + */ + errorLogLink: string; + /** + * Link for copy verbose logs. + */ + verboseLogLink: string; + } + /** + * DataBox Disk Copy Progress + */ + export interface DataBoxDiskCopyProgressResponse { /** - * DataBox Disk Granular Copy Progress + * Available actions on the job. */ - export interface DataBoxDiskGranularCopyProgressResponse { - /** - * Id of the account where the data needs to be uploaded. - */ - accountId: string; - /** - * Available actions on the job. - */ - actions: string[]; - /** - * To indicate bytes transferred. - */ - bytesProcessed: number; - /** - * The Status of the copy - */ - copyStatus: string; - /** - * Data Account Type. - */ - dataAccountType: string; - /** - * To indicate directories errored out in the job. - */ - directoriesErroredOut: number; - /** - * Error, if any, in the stage - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Number of files which could not be copied - */ - filesErroredOut: number; - /** - * Number of files processed - */ - filesProcessed: number; - /** - * To indicate directories renamed - */ - invalidDirectoriesProcessed: number; - /** - * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFileBytesUploaded: number; - /** - * Number of files not adhering to azure naming conventions which were processed by automatic renaming - */ - invalidFilesProcessed: number; - /** - * To indicate if enumeration of data is in progress. - * Until this is true, the TotalBytesToProcess may not be valid. - */ - isEnumerationInProgress: boolean; - /** - * Number of folders not adhering to azure naming conventions which were processed by automatic renaming - */ - renamedContainerCount: number; - /** - * Disk Serial Number. - */ - serialNumber: string; - /** - * Name of the storage account. This will be empty for data account types other than storage account. - */ - storageAccountName: string; - /** - * Total amount of data to be processed by the job. - */ - totalBytesToProcess: number; - /** - * Total files to process - */ - totalFilesToProcess: number; - /** - * Transfer type of data - */ - transferType: string; - } + actions: string[]; + /** + * Bytes copied during the copy of disk. + */ + bytesCopied: number; + /** + * Error, if any, in the stage + */ + error: outputs.databox.CloudErrorResponse; + /** + * Indicates the percentage completed for the copy of the disk. + */ + percentComplete: number; + /** + * The serial number of the disk + */ + serialNumber: string; + /** + * The Status of the copy + */ + status: string; + } + /** + * Granular Copy Log Details for customer disk + */ + export interface DataBoxDiskGranularCopyLogDetailsResponse { /** - * DataBox Disk Job Details. + * Account id. */ - export interface DataBoxDiskJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20230301.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per disk. - */ - copyProgress: outputs.databox.v20230301.DataBoxDiskCopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; - /** - * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. - */ - disksAndSizeDetails: {[key: string]: number}; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Copy progress per disk. - */ - granularCopyLogDetails: outputs.databox.v20230301.DataBoxDiskGranularCopyLogDetailsResponse[]; - /** - * Copy progress per disk. - */ - granularCopyProgress: outputs.databox.v20230301.DataBoxDiskGranularCopyProgressResponse[]; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxDisk'. - */ - jobDetailsType: "DataBoxDisk"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20230301.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; - /** - * User entered passkey for DataBox Disk job. - */ - passkey?: string; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20230301.PreferencesResponse; - /** - * User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. - */ - preferredDisks?: {[key: string]: number}; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; - } + accountId: string; /** - * dataBoxDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxDiskJobDetailsResponse + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - export function dataBoxDiskJobDetailsResponseProvideDefaults(val: DataBoxDiskJobDetailsResponse): DataBoxDiskJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + copyLogDetailsType: "DataBoxCustomerDisk"; /** - * The secrets related to disk job. + * Link for copy error logs. */ - export interface DataBoxDiskJobSecretsResponse { - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; - /** - * Contains the list of secrets object for that device. - */ - diskSecrets: outputs.databox.v20230301.DiskSecretResponse[]; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Whether passkey was provided by user. - */ - isPasskeyUserDefined: boolean; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxDisk'. - */ - jobSecretsType: "DataBoxDisk"; - /** - * PassKey for the disk Job. - */ - passKey: string; - } - + errorLogLink: string; /** - * Copy log details for a storage account for Databox heavy + * Disk Serial Number. */ - export interface DataBoxHeavyAccountCopyLogDetailsResponse { - /** - * Account name. - */ - accountName: string; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxHeavy'. - */ - copyLogDetailsType: "DataBoxHeavy"; - /** - * Link for copy logs. - */ - copyLogLink: string[]; - /** - * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. - */ - copyVerboseLogLink: string[]; - } + serialNumber: string; + /** + * Link for copy verbose logs. + */ + verboseLogLink: string; + } + /** + * DataBox Disk Granular Copy Progress + */ + export interface DataBoxDiskGranularCopyProgressResponse { /** - * Databox Heavy Device Job Details + * Id of the account where the data needs to be uploaded. */ - export interface DataBoxHeavyJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20230301.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per account. - */ - copyProgress: outputs.databox.v20230301.CopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; - /** - * Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ - */ - devicePassword?: string; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Indicates the type of job details. - * Expected value is 'DataBoxHeavy'. - */ - jobDetailsType: "DataBoxHeavy"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20230301.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20230301.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; - } + accountId: string; /** - * dataBoxHeavyJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxHeavyJobDetailsResponse + * Available actions on the job. */ - export function dataBoxHeavyJobDetailsResponseProvideDefaults(val: DataBoxHeavyJobDetailsResponse): DataBoxHeavyJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + actions: string[]; /** - * The secrets related to a databox heavy job. + * To indicate bytes transferred. */ - export interface DataBoxHeavyJobSecretsResponse { - /** - * Contains the list of secret objects for a databox heavy job. - */ - cabinetPodSecrets: outputs.databox.v20230301.DataBoxHeavySecretResponse[]; - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBoxHeavy'. - */ - jobSecretsType: "DataBoxHeavy"; - } - + bytesProcessed: number; /** - * The secrets related to a databox heavy. + * The Status of the copy */ - export interface DataBoxHeavySecretResponse { - /** - * Per account level access credentials. - */ - accountCredentialDetails: outputs.databox.v20230301.AccountCredentialDetailsResponse[]; - /** - * Password for out of the box experience on device. - */ - devicePassword: string; - /** - * Serial number of the assigned device. - */ - deviceSerialNumber: string; - /** - * The base 64 encoded public key to authenticate with the device - */ - encodedValidationCertPubKey: string; - /** - * Network configuration of the appliance. - */ - networkConfigurations: outputs.databox.v20230301.ApplianceNetworkConfigurationResponse[]; - } - + copyStatus: string; /** - * Databox Job Details + * Data Account Type. */ - export interface DataBoxJobDetailsResponse { - /** - * Available actions on the job. - */ - actions: string[]; - /** - * Shared access key to download the chain of custody logs - */ - chainOfCustodySasKey: string; - /** - * Contact details for notification and shipping. - */ - contactDetails: outputs.databox.v20230301.ContactDetailsResponse; - /** - * List of copy log details. - */ - copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; - /** - * Copy progress per storage account. - */ - copyProgress: outputs.databox.v20230301.CopyProgressResponse[]; - /** - * DataCenter code. - */ - dataCenterCode: string; - /** - * Details of the data to be exported from azure. - */ - dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; - /** - * Details of the data to be imported into azure. - */ - dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; - /** - * Datacenter address to ship to, for the given sku and storage location. - */ - datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; - /** - * Delivery package shipping details. - */ - deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Holds device data erasure details - */ - deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; - /** - * Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ - */ - devicePassword?: string; - /** - * The expected size of the data, which needs to be transferred in this job, in terabytes. - */ - expectedDataSizeInTeraBytes?: number; - /** - * Indicates the type of job details. - * Expected value is 'DataBox'. - */ - jobDetailsType: "DataBox"; - /** - * List of stages that run in the job. - */ - jobStages: outputs.databox.v20230301.JobStagesResponse[]; - /** - * Details about which key encryption type is being used. - */ - keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; - /** - * Last mitigation action performed on the job. - */ - lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; - /** - * Preferences for the order. - */ - preferences?: outputs.databox.v20230301.PreferencesResponse; - /** - * Return package shipping details. - */ - returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; - /** - * Shared access key to download the return shipment label - */ - reverseShipmentLabelSasKey: string; - /** - * Optional Reverse Shipping details for order. - */ - reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; - /** - * Shipping address of the customer. - */ - shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; - } + dataAccountType: string; /** - * dataBoxJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxJobDetailsResponse + * To indicate directories errored out in the job. */ - export function dataBoxJobDetailsResponseProvideDefaults(val: DataBoxJobDetailsResponse): DataBoxJobDetailsResponse { - return { - ...val, - keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), - preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), - reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), - shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + directoriesErroredOut: number; /** - * The secrets related to a DataBox. + * Error, if any, in the stage */ - export interface DataBoxSecretResponse { - /** - * Per account level access credentials. - */ - accountCredentialDetails: outputs.databox.v20230301.AccountCredentialDetailsResponse[]; - /** - * Password for out of the box experience on device. - */ - devicePassword: string; - /** - * Serial number of the assigned device. - */ - deviceSerialNumber: string; - /** - * The base 64 encoded public key to authenticate with the device - */ - encodedValidationCertPubKey: string; - /** - * Network configuration of the appliance. - */ - networkConfigurations: outputs.databox.v20230301.ApplianceNetworkConfigurationResponse[]; - } - + error: outputs.databox.CloudErrorResponse; /** - * Details of the data to be used for exporting data from azure. + * Number of files which could not be copied */ - export interface DataExportDetailsResponse { - /** - * Account details of the data to be transferred - */ - accountDetails: outputs.databox.v20230301.ManagedDiskDetailsResponse | outputs.databox.v20230301.StorageAccountDetailsResponse; - /** - * Level of the logs to be collected. - */ - logCollectionLevel?: string; - /** - * Configuration for the data transfer. - */ - transferConfiguration: outputs.databox.v20230301.TransferConfigurationResponse; - } + filesErroredOut: number; /** - * dataExportDetailsResponseProvideDefaults sets the appropriate defaults for DataExportDetailsResponse + * Number of files processed */ - export function dataExportDetailsResponseProvideDefaults(val: DataExportDetailsResponse): DataExportDetailsResponse { - return { - ...val, - logCollectionLevel: (val.logCollectionLevel) ?? "Error", - transferConfiguration: outputs.databox.v20230301.transferConfigurationResponseProvideDefaults(val.transferConfiguration), - }; - } - + filesProcessed: number; /** - * Details of the data to be used for importing data to azure. + * To indicate directories renamed */ - export interface DataImportDetailsResponse { - /** - * Account details of the data to be transferred - */ - accountDetails: outputs.databox.v20230301.ManagedDiskDetailsResponse | outputs.databox.v20230301.StorageAccountDetailsResponse; - /** - * Level of the logs to be collected. - */ - logCollectionLevel?: string; - } + invalidDirectoriesProcessed: number; /** - * dataImportDetailsResponseProvideDefaults sets the appropriate defaults for DataImportDetailsResponse + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */ - export function dataImportDetailsResponseProvideDefaults(val: DataImportDetailsResponse): DataImportDetailsResponse { - return { - ...val, - logCollectionLevel: (val.logCollectionLevel) ?? "Error", - }; - } - + invalidFileBytesUploaded: number; /** - * The secrets related to a databox job. + * Number of files not adhering to azure naming conventions which were processed by automatic renaming */ - export interface DataboxJobSecretsResponse { - /** - * Dc Access Security Code for Customer Managed Shipping - */ - dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; - /** - * Error while fetching the secrets. - */ - error: outputs.databox.v20230301.CloudErrorResponse; - /** - * Used to indicate what type of job secrets object. - * Expected value is 'DataBox'. - */ - jobSecretsType: "DataBox"; - /** - * Contains the list of secret objects for a job. - */ - podSecrets?: outputs.databox.v20230301.DataBoxSecretResponse[]; - } - + invalidFilesProcessed: number; /** - * Datacenter instruction for given storage location. + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. */ - export interface DatacenterAddressInstructionResponseResponse { - /** - * Data center communication instruction - */ - communicationInstruction: string; - /** - * Azure Location where the Data Center serves primarily. - */ - dataCenterAzureLocation: string; - /** - * Data center address type - * Expected value is 'DatacenterAddressInstruction'. - */ - datacenterAddressType: "DatacenterAddressInstruction"; - /** - * List of supported carriers for return shipment. - */ - supportedCarriersForReturnShipment: string[]; - } - + isEnumerationInProgress: boolean; /** - * Datacenter address for given storage location. + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming */ - export interface DatacenterAddressLocationResponseResponse { - /** - * Special instruction for shipping - */ - additionalShippingInformation: string; - /** - * Address type - */ - addressType: string; - /** - * City name - */ - city: string; - /** - * Company name - */ - company: string; - /** - * Contact person name - */ - contactPersonName: string; - /** - * name of the country - */ - country: string; - /** - * Azure Location where the Data Center serves primarily. - */ - dataCenterAzureLocation: string; - /** - * Data center address type - * Expected value is 'DatacenterAddressLocation'. - */ - datacenterAddressType: "DatacenterAddressLocation"; - /** - * Phone number - */ - phone: string; - /** - * Phone extension - */ - phoneExtension: string; - /** - * name of the state - */ - state: string; - /** - * Street address line 1 - */ - street1: string; - /** - * Street address line 2 - */ - street2: string; - /** - * Street address line 3 - */ - street3: string; - /** - * List of supported carriers for return shipment. - */ - supportedCarriersForReturnShipment: string[]; - /** - * Zip code - */ - zip: string; - } - + renamedContainerCount: number; /** - * Dc access security code + * Disk Serial Number. */ - export interface DcAccessSecurityCodeResponse { - /** - * Forward Dc access security code. - */ - forwardDCAccessCode?: string; - /** - * Reverse Dc access security code. - */ - reverseDCAccessCode?: string; - } - + serialNumber: string; /** - * Device erasure details with erasure completion status and erasureordestructionlog sas key + * Name of the storage account. This will be empty for data account types other than storage account. */ - export interface DeviceErasureDetailsResponse { - /** - * Holds the device erasure completion status - */ - deviceErasureStatus: string; - /** - * Shared access key to download cleanup or destruction certificate for device - */ - erasureOrDestructionCertificateSasKey: string; - } - + storageAccountName: string; /** - * Contains all the secrets of a Disk. + * Total amount of data to be processed by the job. */ - export interface DiskSecretResponse { - /** - * Bit Locker key of the disk which can be used to unlock the disk to copy data. - */ - bitLockerKey: string; - /** - * Serial number of the assigned disk. - */ - diskSerialNumber: string; - } - + totalBytesToProcess: number; /** - * Preferences related to the Encryption. + * Total files to process */ - export interface EncryptionPreferencesResponse { - /** - * Defines secondary layer of software-based encryption enablement. - */ - doubleEncryption?: string; - /** - * Defines Hardware level encryption (Only for disk) - */ - hardwareEncryption?: string; - } + totalFilesToProcess: number; /** - * encryptionPreferencesResponseProvideDefaults sets the appropriate defaults for EncryptionPreferencesResponse + * Transfer type of data */ - export function encryptionPreferencesResponseProvideDefaults(val: EncryptionPreferencesResponse): EncryptionPreferencesResponse { - return { - ...val, - doubleEncryption: (val.doubleEncryption) ?? "Disabled", - }; - } + transferType: string; + } + /** + * DataBox Disk Job Details. + */ + export interface DataBoxDiskJobDetailsResponse { /** - * Export disk details + * Available actions on the job. */ - export interface ExportDiskDetailsResponse { - /** - * Path to backed up manifest, only returned if enableManifestBackup is true. - */ - backupManifestCloudPath: string; - /** - * The relative path of the manifest file on the disk. - */ - manifestFile: string; - /** - * The Base16-encoded MD5 hash of the manifest file on the disk. - */ - manifestHash: string; - } - + actions: string[]; /** - * Details of the filter files to be used for data transfer. + * Shared access key to download the chain of custody logs */ - export interface FilterFileDetailsResponse { - /** - * Path of the file that contains the details of all items to transfer. - */ - filterFilePath: string; - /** - * Type of the filter file. - */ - filterFileType: string; - } - + chainOfCustodySasKey: string; /** - * Managed identity properties. + * Contact details for notification and shipping. */ - export interface IdentityPropertiesResponse { - /** - * Managed service identity type. - */ - type?: string; - /** - * User assigned identity properties. - */ - userAssigned?: outputs.databox.v20230301.UserAssignedPropertiesResponse; - } - + contactDetails: outputs.databox.ContactDetailsResponse; /** - * Import disk details + * List of copy log details. */ - export interface ImportDiskDetailsResponse { - /** - * Path to backed up manifest, only returned if enableManifestBackup is true. - */ - backupManifestCloudPath: string; - /** - * BitLocker key used to encrypt the disk. - */ - bitLockerKey: string; - /** - * The relative path of the manifest file on the disk. - */ - manifestFile: string; - /** - * The Base16-encoded MD5 hash of the manifest file on the disk. - */ - manifestHash: string; - } - + copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * Job Delay Notification details + * Copy progress per disk. */ - export interface JobDelayDetailsResponse { - /** - * Description of the delay. - */ - description: string; - /** - * Delay Error code - */ - errorCode: string; - /** - * Timestamp when the delay notification was resolved. - */ - resolutionTime: string; - /** - * Timestamp when the delay notification was created. - */ - startTime: string; - /** - * Status of notification - */ - status: string; - } - + copyProgress: outputs.databox.DataBoxDiskCopyProgressResponse[]; /** - * Additional delivery info. + * DataCenter code. */ - export interface JobDeliveryInfoResponse { - /** - * Scheduled date time. - */ - scheduledDateTime?: string; - } - + dataCenterCode: string; /** - * Job stages. + * Details of the data to be exported from azure. */ - export interface JobStagesResponse { - /** - * Delay information for the job stages. - */ - delayInformation: outputs.databox.v20230301.JobDelayDetailsResponse[]; - /** - * Display name of the job stage. - */ - displayName: string; - /** - * Job Stage Details - */ - jobStageDetails: any; - /** - * Name of the job stage. - */ - stageName: string; - /** - * Status of the job stage. - */ - stageStatus: string; - /** - * Time for the job stage in UTC ISO 8601 format. - */ - stageTime: string; - } - + dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; /** - * Encryption key containing details about key to encrypt different keys. + * Details of the data to be imported into azure. */ - export interface KeyEncryptionKeyResponse { - /** - * Managed identity properties used for key encryption. - */ - identityProperties?: outputs.databox.v20230301.IdentityPropertiesResponse; - /** - * Type of encryption key used for key encryption. - */ - kekType: string; - /** - * Key encryption key. It is required in case of Customer managed KekType. - */ - kekUrl?: string; - /** - * Kek vault resource id. It is required in case of Customer managed KekType. - */ - kekVaultResourceID?: string; - } + dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; /** - * keyEncryptionKeyResponseProvideDefaults sets the appropriate defaults for KeyEncryptionKeyResponse + * Datacenter address to ship to, for the given sku and storage location. */ - export function keyEncryptionKeyResponseProvideDefaults(val: KeyEncryptionKeyResponse): KeyEncryptionKeyResponse { - return { - ...val, - kekType: (val.kekType) ?? "MicrosoftManaged", - }; - } - + datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; /** - * Last Mitigation Action Performed On Job + * Delivery package shipping details. */ - export interface LastMitigationActionOnJobResponse { - /** - * Action performed date time - */ - actionDateTimeInUtc?: string; - /** - * Resolution code provided by customer - */ - customerResolution?: string; - /** - * Action performed by customer, - * possibility is that mitigation might happen by customer or service or by ops - */ - isPerformedByCustomer?: boolean; - } - + deliveryPackage: outputs.databox.PackageShippingDetailsResponse; /** - * Details of the managed disks. + * Holds device data erasure details */ - export interface ManagedDiskDetailsResponse { - /** - * Account Type of the data to be transferred. - * Expected value is 'ManagedDisk'. - */ - dataAccountType: "ManagedDisk"; - /** - * Resource Group Id of the compute disks. - */ - resourceGroupId: string; - /** - * Resource Id of the storage account that can be used to copy the vhd for staging. - */ - stagingStorageAccountId: string; - } + deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; /** - * managedDiskDetailsResponseProvideDefaults sets the appropriate defaults for ManagedDiskDetailsResponse + * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. */ - export function managedDiskDetailsResponseProvideDefaults(val: ManagedDiskDetailsResponse): ManagedDiskDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + disksAndSizeDetails: {[key: string]: number}; /** - * Notification preference for a job stage. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - export interface NotificationPreferenceResponse { - /** - * Notification is required or not. - */ - sendNotification: boolean; - /** - * Name of the stage. - */ - stageName: string; - } + expectedDataSizeInTeraBytes?: number; /** - * notificationPreferenceResponseProvideDefaults sets the appropriate defaults for NotificationPreferenceResponse + * Copy progress per disk. */ - export function notificationPreferenceResponseProvideDefaults(val: NotificationPreferenceResponse): NotificationPreferenceResponse { - return { - ...val, - sendNotification: (val.sendNotification) ?? true, - }; - } - + granularCopyLogDetails: outputs.databox.DataBoxDiskGranularCopyLogDetailsResponse[]; /** - * Package carrier details. + * Copy progress per disk. */ - export interface PackageCarrierDetailsResponse { - /** - * Carrier Account Number of customer for customer disk. - */ - carrierAccountNumber?: string; - /** - * Name of the carrier. - */ - carrierName?: string; - /** - * Tracking Id of shipment. - */ - trackingId?: string; - } - + granularCopyProgress: outputs.databox.DataBoxDiskGranularCopyProgressResponse[]; /** - * package carrier info + * Indicates the type of job details. + * Expected value is 'DataBoxDisk'. */ - export interface PackageCarrierInfoResponse { - /** - * Name of the carrier. - */ - carrierName?: string; - /** - * Tracking Id of shipment. - */ - trackingId?: string; - } - + jobDetailsType: "DataBoxDisk"; /** - * package shipping details + * List of stages that run in the job. */ - export interface PackageShippingDetailsResponse { - /** - * Name of the carrier. - */ - carrierName: string; - /** - * Tracking Id of shipment. - */ - trackingId: string; - /** - * Url where shipment can be tracked. - */ - trackingUrl: string; - } - + jobStages: outputs.databox.JobStagesResponse[]; /** - * Preferences related to the order + * Details about which key encryption type is being used. */ - export interface PreferencesResponse { - /** - * Preferences related to the Encryption. - */ - encryptionPreferences?: outputs.databox.v20230301.EncryptionPreferencesResponse; - /** - * Preferred data center region. - */ - preferredDataCenterRegion?: string[]; - /** - * Optional Preferences related to the reverse shipment logistics of the sku. - */ - reverseTransportPreferences?: outputs.databox.v20230301.TransportPreferencesResponse; - /** - * Preferences related to the Access Tier of storage accounts. - */ - storageAccountAccessTierPreferences?: string[]; - /** - * Preferences related to the shipment logistics of the sku. - */ - transportPreferences?: outputs.databox.v20230301.TransportPreferencesResponse; - } + keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; /** - * preferencesResponseProvideDefaults sets the appropriate defaults for PreferencesResponse + * Last mitigation action performed on the job. */ - export function preferencesResponseProvideDefaults(val: PreferencesResponse): PreferencesResponse { - return { - ...val, - encryptionPreferences: (val.encryptionPreferences ? outputs.databox.v20230301.encryptionPreferencesResponseProvideDefaults(val.encryptionPreferences) : undefined), - }; - } - + lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; /** - * Msi identity details of the resource + * User entered passkey for DataBox Disk job. */ - export interface ResourceIdentityResponse { - /** - * Service Principal Id backing the Msi - */ - principalId: string; - /** - * Home Tenant Id - */ - tenantId: string; - /** - * Identity type - */ - type?: string; - /** - * User Assigned Identities - */ - userAssignedIdentities?: {[key: string]: outputs.databox.v20230301.UserAssignedIdentityResponse}; - } + passkey?: string; /** - * resourceIdentityResponseProvideDefaults sets the appropriate defaults for ResourceIdentityResponse + * Preferences for the order. */ - export function resourceIdentityResponseProvideDefaults(val: ResourceIdentityResponse): ResourceIdentityResponse { - return { - ...val, - type: (val.type) ?? "None", - }; - } - + preferences?: outputs.databox.PreferencesResponse; /** - * Reverse Shipping Address and contact details for a job. + * User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. */ - export interface ReverseShippingDetailsResponse { - /** - * Contact Info. - */ - contactDetails?: outputs.databox.v20230301.ContactInfoResponse; - /** - * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. - * Read only field - */ - isUpdated: boolean; - /** - * Shipping address where customer wishes to receive the device. - */ - shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; - } + preferredDisks?: {[key: string]: number}; /** - * reverseShippingDetailsResponseProvideDefaults sets the appropriate defaults for ReverseShippingDetailsResponse + * Return package shipping details. */ - export function reverseShippingDetailsResponseProvideDefaults(val: ReverseShippingDetailsResponse): ReverseShippingDetailsResponse { - return { - ...val, - shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), - }; - } - + returnPackage: outputs.databox.PackageShippingDetailsResponse; /** - * Credential details of the shares in account. + * Shared access key to download the return shipment label */ - export interface ShareCredentialDetailsResponse { - /** - * Password for the share. - */ - password: string; - /** - * Name of the share. - */ - shareName: string; - /** - * Type of the share. - */ - shareType: string; - /** - * Access protocols supported on the device. - */ - supportedAccessProtocols: string[]; - /** - * User name for the share. - */ - userName: string; - } - + reverseShipmentLabelSasKey: string; /** - * Shipping address where customer wishes to receive the device. + * Optional Reverse Shipping details for order. */ - export interface ShippingAddressResponse { - /** - * Type of address. - */ - addressType?: string; - /** - * Name of the City. - */ - city?: string; - /** - * Name of the company. - */ - companyName?: string; - /** - * Name of the Country. - */ - country: string; - /** - * Postal code. - */ - postalCode?: string; - /** - * Flag to indicate if customer has chosen to skip default address validation - */ - skipAddressValidation?: boolean; - /** - * Name of the State or Province. - */ - stateOrProvince?: string; - /** - * Street Address line 1. - */ - streetAddress1: string; - /** - * Street Address line 2. - */ - streetAddress2?: string; - /** - * Street Address line 3. - */ - streetAddress3?: string; - /** - * Tax Identification Number - */ - taxIdentificationNumber?: string; - /** - * Extended Zip Code. - */ - zipExtendedCode?: string; - } + reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; /** - * shippingAddressResponseProvideDefaults sets the appropriate defaults for ShippingAddressResponse + * Shipping address of the customer. */ - export function shippingAddressResponseProvideDefaults(val: ShippingAddressResponse): ShippingAddressResponse { - return { - ...val, - addressType: (val.addressType) ?? "None", - }; - } + shippingAddress?: outputs.databox.ShippingAddressResponse; + } + /** + * dataBoxDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxDiskJobDetailsResponse + */ + export function dataBoxDiskJobDetailsResponseProvideDefaults(val: DataBoxDiskJobDetailsResponse): DataBoxDiskJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; + } + /** + * The secrets related to disk job. + */ + export interface DataBoxDiskJobSecretsResponse { /** - * The Sku. + * Dc Access Security Code for Customer Managed Shipping */ - export interface SkuResponse { - /** - * The display name of the sku. - */ - displayName?: string; - /** - * The sku family. - */ - family?: string; - /** - * The sku name. - */ - name: string; - } - + dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; /** - * Details for the storage account. + * Contains the list of secrets object for that device. */ - export interface StorageAccountDetailsResponse { - /** - * Account Type of the data to be transferred. - * Expected value is 'StorageAccount'. - */ - dataAccountType: "StorageAccount"; - /** - * Storage Account Resource Id. - */ - storageAccountId: string; - } + diskSecrets: outputs.databox.DiskSecretResponse[]; /** - * storageAccountDetailsResponseProvideDefaults sets the appropriate defaults for StorageAccountDetailsResponse + * Error while fetching the secrets. */ - export function storageAccountDetailsResponseProvideDefaults(val: StorageAccountDetailsResponse): StorageAccountDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + error: outputs.databox.CloudErrorResponse; /** - * Provides details about resource creation and update time + * Whether passkey was provided by user. */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC) - */ - createdAt: string; - /** - * A string identifier for the identity that created the resource - */ - createdBy: string; - /** - * The type of identity that created the resource: user, application, managedIdentity - */ - createdByType: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt: string; - /** - * A string identifier for the identity that last modified the resource - */ - lastModifiedBy: string; - /** - * The type of identity that last modified the resource: user, application, managedIdentity - */ - lastModifiedByType: string; - } - + isPasskeyUserDefined: boolean; /** - * Details to transfer all data. + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxDisk'. */ - export interface TransferAllDetailsResponse { - /** - * Type of the account of data - */ - dataAccountType: string; - /** - * To indicate if all Azure blobs have to be transferred - */ - transferAllBlobs?: boolean; - /** - * To indicate if all Azure Files have to be transferred - */ - transferAllFiles?: boolean; - } + jobSecretsType: "DataBoxDisk"; /** - * transferAllDetailsResponseProvideDefaults sets the appropriate defaults for TransferAllDetailsResponse + * PassKey for the disk Job. */ - export function transferAllDetailsResponseProvideDefaults(val: TransferAllDetailsResponse): TransferAllDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } + passKey: string; + } + /** + * Copy log details for a storage account for Databox heavy + */ + export interface DataBoxHeavyAccountCopyLogDetailsResponse { /** - * Configuration for defining the transfer of data. + * Account name. */ - export interface TransferConfigurationResponse { - /** - * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll - */ - transferAllDetails?: outputs.databox.v20230301.TransferConfigurationResponseTransferAllDetails; - /** - * Type of the configuration for transfer. - */ - transferConfigurationType: string; - /** - * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. - */ - transferFilterDetails?: outputs.databox.v20230301.TransferConfigurationResponseTransferFilterDetails; - } + accountName: string; /** - * transferConfigurationResponseProvideDefaults sets the appropriate defaults for TransferConfigurationResponse + * Indicates the type of job details. + * Expected value is 'DataBoxHeavy'. */ - export function transferConfigurationResponseProvideDefaults(val: TransferConfigurationResponse): TransferConfigurationResponse { - return { - ...val, - transferAllDetails: (val.transferAllDetails ? outputs.databox.v20230301.transferConfigurationResponseTransferAllDetailsProvideDefaults(val.transferAllDetails) : undefined), - transferFilterDetails: (val.transferFilterDetails ? outputs.databox.v20230301.transferConfigurationResponseTransferFilterDetailsProvideDefaults(val.transferFilterDetails) : undefined), - }; - } - + copyLogDetailsType: "DataBoxHeavy"; /** - * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + * Link for copy logs. */ - export interface TransferConfigurationResponseTransferAllDetails { - /** - * Details to transfer all data. - */ - include?: outputs.databox.v20230301.TransferAllDetailsResponse; - } + copyLogLink: string[]; /** - * transferConfigurationResponseTransferAllDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferAllDetails + * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. */ - export function transferConfigurationResponseTransferAllDetailsProvideDefaults(val: TransferConfigurationResponseTransferAllDetails): TransferConfigurationResponseTransferAllDetails { - return { - ...val, - include: (val.include ? outputs.databox.v20230301.transferAllDetailsResponseProvideDefaults(val.include) : undefined), - }; - } + copyVerboseLogLink: string[]; + } + /** + * Databox Heavy Device Job Details + */ + export interface DataBoxHeavyJobDetailsResponse { /** - * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + * Available actions on the job. */ - export interface TransferConfigurationResponseTransferFilterDetails { - /** - * Details of the filtering the transfer of data. - */ - include?: outputs.databox.v20230301.TransferFilterDetailsResponse; - } + actions: string[]; /** - * transferConfigurationResponseTransferFilterDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferFilterDetails + * Shared access key to download the chain of custody logs */ - export function transferConfigurationResponseTransferFilterDetailsProvideDefaults(val: TransferConfigurationResponseTransferFilterDetails): TransferConfigurationResponseTransferFilterDetails { - return { - ...val, - include: (val.include ? outputs.databox.v20230301.transferFilterDetailsResponseProvideDefaults(val.include) : undefined), - }; - } - + chainOfCustodySasKey: string; /** - * Details of the filtering the transfer of data. + * Contact details for notification and shipping. */ - export interface TransferFilterDetailsResponse { - /** - * Filter details to transfer Azure files. - */ - azureFileFilterDetails?: outputs.databox.v20230301.AzureFileFilterDetailsResponse; - /** - * Filter details to transfer blobs. - */ - blobFilterDetails?: outputs.databox.v20230301.BlobFilterDetailsResponse; - /** - * Type of the account of data. - */ - dataAccountType: string; - /** - * Details of the filter files to be used for data transfer. - */ - filterFileDetails?: outputs.databox.v20230301.FilterFileDetailsResponse[]; - } + contactDetails: outputs.databox.ContactDetailsResponse; /** - * transferFilterDetailsResponseProvideDefaults sets the appropriate defaults for TransferFilterDetailsResponse + * List of copy log details. */ - export function transferFilterDetailsResponseProvideDefaults(val: TransferFilterDetailsResponse): TransferFilterDetailsResponse { - return { - ...val, - dataAccountType: (val.dataAccountType) ?? "StorageAccount", - }; - } - + copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * Preferences related to the shipment logistics of the sku + * Copy progress per account. */ - export interface TransportPreferencesResponse { - /** - * Read only property which indicates whether transport preferences has been updated or not after device is prepared. - */ - isUpdated: boolean; - /** - * Indicates Shipment Logistics type that the customer preferred. - */ - preferredShipmentType: string; - } - + copyProgress: outputs.databox.CopyProgressResponse[]; /** - * Unencrypted credentials for accessing device. + * DataCenter code. */ - export interface UnencryptedCredentialsResponse { - /** - * Name of the job. - */ - jobName: string; - /** - * Secrets related to this job. - */ - jobSecrets: outputs.databox.v20230301.CustomerDiskJobSecretsResponse | outputs.databox.v20230301.DataBoxDiskJobSecretsResponse | outputs.databox.v20230301.DataBoxHeavyJobSecretsResponse | outputs.databox.v20230301.DataboxJobSecretsResponse; - } - + dataCenterCode: string; /** - * Class defining User assigned identity details. + * Details of the data to be exported from azure. */ - export interface UserAssignedIdentityResponse { - /** - * The client id of user assigned identity. - */ - clientId: string; - /** - * The principal id of user assigned identity. - */ - principalId: string; - } - + dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; /** - * User assigned identity properties. + * Details of the data to be imported into azure. */ - export interface UserAssignedPropertiesResponse { - /** - * Arm resource id for user assigned identity to be used to fetch MSI token. - */ - resourceId?: string; - } - - } -} - -export namespace databoxedge { - /** - * The shipping address of the customer. - */ - export interface AddressResponse { + dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; /** - * The address line1. + * Datacenter address to ship to, for the given sku and storage location. */ - addressLine1?: string; + datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; /** - * The address line2. + * Delivery package shipping details. */ - addressLine2?: string; + deliveryPackage: outputs.databox.PackageShippingDetailsResponse; /** - * The address line3. + * Holds device data erasure details */ - addressLine3?: string; + deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; /** - * The city name. + * Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */ - city?: string; + devicePassword?: string; /** - * The country name. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - country: string; + expectedDataSizeInTeraBytes?: number; /** - * The postal code. + * Indicates the type of job details. + * Expected value is 'DataBoxHeavy'. */ - postalCode?: string; + jobDetailsType: "DataBoxHeavy"; /** - * The state name. + * List of stages that run in the job. */ - state?: string; - } - - /** - * Represent the secrets intended for encryption with asymmetric key pair. - */ - export interface AsymmetricEncryptedSecretResponse { + jobStages: outputs.databox.JobStagesResponse[]; /** - * The algorithm used to encrypt "Value". + * Details about which key encryption type is being used. */ - encryptionAlgorithm: string; + keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + * Last mitigation action performed on the job. */ - encryptionCertThumbprint?: string; + lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; /** - * The value of the secret. + * Preferences for the order. */ - value: string; - } - - /** - * Authentication mechanism for IoT devices. - */ - export interface AuthenticationResponse { + preferences?: outputs.databox.PreferencesResponse; /** - * Symmetric key for authentication. + * Return package shipping details. */ - symmetricKey?: outputs.databoxedge.SymmetricKeyResponse; - } - - /** - * Azure container mapping of the endpoint. - */ - export interface AzureContainerInfoResponse { + returnPackage: outputs.databox.PackageShippingDetailsResponse; /** - * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + * Shared access key to download the return shipment label */ - containerName: string; + reverseShipmentLabelSasKey: string; /** - * Storage format used for the file represented by the share. + * Optional Reverse Shipping details for order. */ - dataFormat: string; + reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; /** - * ID of the storage account credential used to access storage. + * Shipping address of the customer. */ - storageAccountCredentialId: string; + shippingAddress?: outputs.databox.ShippingAddressResponse; } - /** - * The mapping between a particular client IP and the type of access client has on the NFS share. + * dataBoxHeavyJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxHeavyJobDetailsResponse */ - export interface ClientAccessRightResponse { - /** - * Type of access to be allowed for the client. - */ - accessPermission: string; - /** - * IP of the client. - */ - client: string; + export function dataBoxHeavyJobDetailsResponseProvideDefaults(val: DataBoxHeavyJobDetailsResponse): DataBoxHeavyJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Cni configuration + * The secrets related to a databox heavy job. */ - export interface CniConfigResponse { + export interface DataBoxHeavyJobSecretsResponse { /** - * Pod Subnet + * Contains the list of secret objects for a databox heavy job. */ - podSubnet: string; + cabinetPodSecrets: outputs.databox.DataBoxHeavySecretResponse[]; /** - * Service subnet + * Dc Access Security Code for Customer Managed Shipping */ - serviceSubnet: string; + dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; /** - * Cni type + * Error while fetching the secrets. */ - type: string; + error: outputs.databox.CloudErrorResponse; /** - * Cni version + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxHeavy'. */ - version: string; + jobSecretsType: "DataBoxHeavy"; } /** - * Compute infrastructure Resource + * The secrets related to a databox heavy. */ - export interface ComputeResourceResponse { - /** - * Memory in GB - */ - memoryInGB: number; + export interface DataBoxHeavySecretResponse { /** - * Processor count + * Per account level access credentials. */ - processorCount: number; - } - - /** - * Contains all the contact details of the customer. - */ - export interface ContactDetailsResponse { + accountCredentialDetails: outputs.databox.AccountCredentialDetailsResponse[]; /** - * The name of the company. + * Password for out of the box experience on device. */ - companyName: string; + devicePassword: string; /** - * The contact person name. + * Serial number of the assigned device. */ - contactPerson: string; + deviceSerialNumber: string; /** - * The email list. + * The base 64 encoded public key to authenticate with the device */ - emailList: string[]; + encodedValidationCertPubKey: string; /** - * The phone number. + * Network configuration of the appliance. */ - phone: string; + networkConfigurations: outputs.databox.ApplianceNetworkConfigurationResponse[]; } /** - * Wraps data-residency related information for edge-resource and this should be used with ARM layer. + * Databox Job Details */ - export interface DataResidencyResponse { + export interface DataBoxJobDetailsResponse { /** - * DataResidencyType enum + * Available actions on the job. */ - type?: string; - } - - /** - * Details about Edge Profile for the resource - */ - export interface EdgeProfileResponse { + actions: string[]; /** - * Edge Profile Subscription + * Shared access key to download the chain of custody logs */ - subscription?: outputs.databoxedge.EdgeProfileSubscriptionResponse; - } - - /** - * Subscription details for the Edge Profile - */ - export interface EdgeProfileSubscriptionResponse { + chainOfCustodySasKey: string; /** - * ARM ID of the subscription + * Contact details for notification and shipping. */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; + contactDetails: outputs.databox.ContactDetailsResponse; /** - * Edge Subscription Registration ID + * List of copy log details. */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; - } - - /** - * Etcd configuration - */ - export interface EtcdInfoResponse { + copyLogDetails: (outputs.databox.DataBoxAccountCopyLogDetailsResponse | outputs.databox.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.DataBoxDiskCopyLogDetailsResponse | outputs.databox.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * Etcd type + * Copy progress per storage account. */ - type: string; + copyProgress: outputs.databox.CopyProgressResponse[]; /** - * Etcd version + * DataCenter code. */ - version: string; - } - - /** - * File source details. - */ - export interface FileSourceInfoResponse { + dataCenterCode: string; /** - * File share ID. + * Details of the data to be exported from azure. */ - shareId: string; - } - - /** - * Image repository credential. - */ - export interface ImageRepositoryCredentialResponse { + dataExportDetails?: outputs.databox.DataExportDetailsResponse[]; /** - * Image repository url (e.g.: mcr.microsoft.com). + * Details of the data to be imported into azure. */ - imageRepositoryUrl: string; + dataImportDetails?: outputs.databox.DataImportDetailsResponse[]; /** - * Repository user password. + * Datacenter address to ship to, for the given sku and storage location. */ - password?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; + datacenterAddress: outputs.databox.DatacenterAddressInstructionResponseResponse | outputs.databox.DatacenterAddressLocationResponseResponse; /** - * Repository user name. + * Delivery package shipping details. */ - userName: string; - } - - /** - * Metadata of IoT device/IoT Edge device to be configured. - */ - export interface IoTDeviceInfoResponse { + deliveryPackage: outputs.databox.PackageShippingDetailsResponse; /** - * Encrypted IoT device/IoT edge device connection string. + * Holds device data erasure details */ - authentication?: outputs.databoxedge.AuthenticationResponse; + deviceErasureDetails: outputs.databox.DeviceErasureDetailsResponse; /** - * ID of the IoT device/edge device. + * Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */ - deviceId: string; + devicePassword?: string; /** - * Host name for the IoT hub associated to the device. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - ioTHostHub: string; + expectedDataSizeInTeraBytes?: number; /** - * Id for the IoT hub associated to the device. + * Indicates the type of job details. + * Expected value is 'DataBox'. */ - ioTHostHubId?: string; - } - - /** - * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. - */ - export interface IoTEdgeAgentInfoResponse { + jobDetailsType: "DataBox"; /** - * Name of the IoT edge agent image. + * List of stages that run in the job. */ - imageName: string; + jobStages: outputs.databox.JobStagesResponse[]; /** - * Image repository details. + * Details about which key encryption type is being used. */ - imageRepository?: outputs.databoxedge.ImageRepositoryCredentialResponse; + keyEncryptionKey?: outputs.databox.KeyEncryptionKeyResponse; /** - * Image Tag. + * Last mitigation action performed on the job. */ - tag: string; - } - - /** - * Kubernetes cluster configuration - */ - export interface KubernetesClusterInfoResponse { + lastMitigationActionOnJob: outputs.databox.LastMitigationActionOnJobResponse; /** - * Etcd configuration + * Preferences for the order. */ - etcdInfo: outputs.databoxedge.EtcdInfoResponse; + preferences?: outputs.databox.PreferencesResponse; /** - * Kubernetes cluster nodes + * Return package shipping details. */ - nodes: outputs.databoxedge.NodeInfoResponse[]; + returnPackage: outputs.databox.PackageShippingDetailsResponse; /** - * Kubernetes cluster version + * Shared access key to download the return shipment label */ - version: string; - } - - /** - * Kubernetes node IP configuration - */ - export interface KubernetesIPConfigurationResponse { + reverseShipmentLabelSasKey: string; /** - * IP address of the Kubernetes node. + * Optional Reverse Shipping details for order. */ - ipAddress?: string; + reverseShippingDetails?: outputs.databox.ReverseShippingDetailsResponse; /** - * Port of the Kubernetes node. + * Shipping address of the customer. */ - port: string; + shippingAddress?: outputs.databox.ShippingAddressResponse; } - /** - * Kubernetes role compute resource + * dataBoxJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxJobDetailsResponse */ - export interface KubernetesRoleComputeResponse { - /** - * Memory in bytes - */ - memoryInBytes: number; - /** - * Processor count - */ - processorCount: number; - /** - * VM profile - */ - vmProfile: string; + export function dataBoxJobDetailsResponseProvideDefaults(val: DataBoxJobDetailsResponse): DataBoxJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Kubernetes role network resource + * The secrets related to a DataBox. */ - export interface KubernetesRoleNetworkResponse { + export interface DataBoxSecretResponse { /** - * Cni configuration + * Per account level access credentials. */ - cniConfig: outputs.databoxedge.CniConfigResponse; + accountCredentialDetails: outputs.databox.AccountCredentialDetailsResponse[]; /** - * Load balancer configuration + * Password for out of the box experience on device. */ - loadBalancerConfig: outputs.databoxedge.LoadBalancerConfigResponse; - } - - /** - * Kubernetes role resources - */ - export interface KubernetesRoleResourcesResponse { + devicePassword: string; /** - * Kubernetes role compute resource + * Serial number of the assigned device. */ - compute: outputs.databoxedge.KubernetesRoleComputeResponse; + deviceSerialNumber: string; /** - * Kubernetes role network resource + * The base 64 encoded public key to authenticate with the device */ - network: outputs.databoxedge.KubernetesRoleNetworkResponse; + encodedValidationCertPubKey: string; /** - * Kubernetes role storage resource + * Network configuration of the appliance. */ - storage?: outputs.databoxedge.KubernetesRoleStorageResponse; + networkConfigurations: outputs.databox.ApplianceNetworkConfigurationResponse[]; } /** - * Kubernetes storage class info. + * Details of the data to be used for exporting data from azure. */ - export interface KubernetesRoleStorageClassInfoResponse { + export interface DataExportDetailsResponse { /** - * Storage class name. + * Account details of the data to be transferred */ - name: string; + accountDetails: outputs.databox.ManagedDiskDetailsResponse | outputs.databox.StorageAccountDetailsResponse; /** - * If provisioned storage is posix compliant. + * Level of the logs to be collected. */ - posixCompliant: string; + logCollectionLevel?: string; /** - * Storage class type. + * Configuration for the data transfer. */ - type: string; + transferConfiguration: outputs.databox.TransferConfigurationResponse; } - /** - * Kubernetes role storage resource + * dataExportDetailsResponseProvideDefaults sets the appropriate defaults for DataExportDetailsResponse */ - export interface KubernetesRoleStorageResponse { - /** - * Mount points of shares in role(s). - */ - endpoints?: outputs.databoxedge.MountPointMapResponse[]; - /** - * Kubernetes storage class info. - */ - storageClasses: outputs.databoxedge.KubernetesRoleStorageClassInfoResponse[]; + export function dataExportDetailsResponseProvideDefaults(val: DataExportDetailsResponse): DataExportDetailsResponse { + return { + ...val, + logCollectionLevel: (val.logCollectionLevel) ?? "Error", + transferConfiguration: outputs.databox.transferConfigurationResponseProvideDefaults(val.transferConfiguration), + }; } /** - * Load balancer configuration + * Details of the data to be used for importing data to azure. */ - export interface LoadBalancerConfigResponse { + export interface DataImportDetailsResponse { /** - * Load balancer type + * Account details of the data to be transferred */ - type: string; + accountDetails: outputs.databox.ManagedDiskDetailsResponse | outputs.databox.StorageAccountDetailsResponse; /** - * Load balancer version + * Level of the logs to be collected. */ - version: string; + logCollectionLevel?: string; + } + /** + * dataImportDetailsResponseProvideDefaults sets the appropriate defaults for DataImportDetailsResponse + */ + export function dataImportDetailsResponseProvideDefaults(val: DataImportDetailsResponse): DataImportDetailsResponse { + return { + ...val, + logCollectionLevel: (val.logCollectionLevel) ?? "Error", + }; } /** - * Metric configuration. + * The secrets related to a databox job. */ - export interface MetricConfigurationResponse { + export interface DataboxJobSecretsResponse { /** - * Host name for the IoT hub associated to the device. + * Dc Access Security Code for Customer Managed Shipping */ - counterSets: outputs.databoxedge.MetricCounterSetResponse[]; + dcAccessSecurityCode: outputs.databox.DcAccessSecurityCodeResponse; /** - * The MDM account to which the counters should be pushed. + * Error while fetching the secrets. */ - mdmAccount?: string; + error: outputs.databox.CloudErrorResponse; /** - * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + * Used to indicate what type of job secrets object. + * Expected value is 'DataBox'. */ - metricNameSpace?: string; + jobSecretsType: "DataBox"; /** - * The Resource ID on which the metrics should be pushed. + * Contains the list of secret objects for a job. */ - resourceId: string; + podSecrets?: outputs.databox.DataBoxSecretResponse[]; } /** - * The metric counter + * Datacenter instruction for given storage location. */ - export interface MetricCounterResponse { + export interface DatacenterAddressInstructionResponseResponse { /** - * The additional dimensions to be added to metric. + * Data center communication instruction */ - additionalDimensions?: outputs.databoxedge.MetricDimensionResponse[]; + communicationInstruction: string; /** - * The dimension filter. + * Azure Location where the Data Center serves primarily. */ - dimensionFilter?: outputs.databoxedge.MetricDimensionResponse[]; + dataCenterAzureLocation: string; /** - * The instance from which counter should be collected. + * Data center address type + * Expected value is 'DatacenterAddressInstruction'. */ - instance?: string; + datacenterAddressType: "DatacenterAddressInstruction"; /** - * The counter name. + * List of supported carriers for return shipment. */ - name: string; + supportedCarriersForReturnShipment: string[]; } /** - * The metric counter set + * Datacenter address for given storage location. */ - export interface MetricCounterSetResponse { + export interface DatacenterAddressLocationResponseResponse { /** - * The counters that should be collected in this set. + * Special instruction for shipping */ - counters: outputs.databoxedge.MetricCounterResponse[]; - } - - /** - * The metric dimension - */ - export interface MetricDimensionResponse { + additionalShippingInformation: string; /** - * The dimension value. + * Address type */ - sourceName: string; + addressType: string; /** - * The dimension type. + * City name */ - sourceType: string; - } - - /** - * The share mount point. - */ - export interface MountPointMapResponse { + city: string; /** - * Mount point for the share. + * Company name */ - mountPoint: string; + company: string; /** - * Mounting type. + * Contact person name */ - mountType: string; + contactPersonName: string; /** - * ID of the role to which share is mounted. + * name of the country */ - roleId: string; + country: string; /** - * Role type. + * Azure Location where the Data Center serves primarily. */ - roleType: string; + dataCenterAzureLocation: string; /** - * ID of the share mounted to the role VM. + * Data center address type + * Expected value is 'DatacenterAddressLocation'. */ - shareId: string; - } - - /** - * Kubernetes node info - */ - export interface NodeInfoResponse { + datacenterAddressType: "DatacenterAddressLocation"; /** - * IP Configuration of the Kubernetes node. + * Phone number */ - ipConfiguration?: outputs.databoxedge.KubernetesIPConfigurationResponse[]; + phone: string; /** - * Node name. + * Phone extension */ - name: string; + phoneExtension: string; /** - * Node type - Master/Worker + * name of the state */ - type: string; - } - - /** - * Represents a single status change. - */ - export interface OrderStatusResponse { + state: string; /** - * Dictionary to hold generic information which is not stored - * by the already existing properties + * Street address line 1 */ - additionalOrderDetails: {[key: string]: string}; + street1: string; /** - * Comments related to this status change. + * Street address line 2 */ - comments?: string; + street2: string; /** - * Status of the order as per the allowed status types. + * Street address line 3 */ - status: string; + street3: string; /** - * Tracking information related to the state in the ordering flow + * List of supported carriers for return shipment. */ - trackingInformation: outputs.databoxedge.TrackingInfoResponse; + supportedCarriersForReturnShipment: string[]; /** - * Time of status update. + * Zip code */ - updateDateTime: string; + zip: string; } /** - * Periodic timer event source. + * Dc access security code */ - export interface PeriodicTimerSourceInfoResponse { - /** - * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. - */ - schedule: string; + export interface DcAccessSecurityCodeResponse { /** - * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + * Forward Dc access security code. */ - startTime: string; + forwardDCAccessCode?: string; /** - * Topic where periodic events are published to IoT device. + * Reverse Dc access security code. */ - topic?: string; + reverseDCAccessCode?: string; } /** - * Fields for tracking refresh job on the share or container. + * Device erasure details with erasure completion status and erasureordestructionlog sas key */ - export interface RefreshDetailsResponse { - /** - * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. - */ - errorManifestFile?: string; - /** - * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. - */ - inProgressRefreshJobId?: string; + export interface DeviceErasureDetailsResponse { /** - * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + * Holds the device erasure completion status */ - lastCompletedRefreshJobTimeInUTC?: string; + deviceErasureStatus: string; /** - * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + * Shared access key to download cleanup or destruction certificate for device */ - lastJob?: string; + erasureOrDestructionCertificateSasKey: string; } /** - * Msi identity details of the resource + * Contains all the secrets of a Disk. */ - export interface ResourceIdentityResponse { - /** - * Service Principal Id backing the Msi - */ - principalId: string; + export interface DiskSecretResponse { /** - * Home Tenant Id + * Bit Locker key of the disk which can be used to unlock the disk to copy data. */ - tenantId: string; + bitLockerKey: string; /** - * Identity type + * Serial number of the assigned disk. */ - type?: string; + diskSerialNumber: string; } /** - * Fields for tracking resource move + * Preferences related to the Encryption. */ - export interface ResourceMoveDetailsResponse { + export interface EncryptionPreferencesResponse { /** - * Denotes whether move operation is in progress + * Defines secondary layer of software-based encryption enablement. */ - operationInProgress?: string; + doubleEncryption?: string; /** - * Denotes the timeout of the operation to finish + * Defines Hardware level encryption (Only for disk) */ - operationInProgressLockTimeoutInUTC?: string; + hardwareEncryption?: string; + } + /** + * encryptionPreferencesResponseProvideDefaults sets the appropriate defaults for EncryptionPreferencesResponse + */ + export function encryptionPreferencesResponseProvideDefaults(val: EncryptionPreferencesResponse): EncryptionPreferencesResponse { + return { + ...val, + doubleEncryption: (val.doubleEncryption) ?? "Disabled", + }; } /** - * Compute role against which events will be raised. + * Export disk details */ - export interface RoleSinkInfoResponse { + export interface ExportDiskDetailsResponse { /** - * Compute role ID. + * Path to backed up manifest, only returned if enableManifestBackup is true. */ - roleId: string; + backupManifestCloudPath: string; + /** + * The relative path of the manifest file on the disk. + */ + manifestFile: string; + /** + * The Base16-encoded MD5 hash of the manifest file on the disk. + */ + manifestHash: string; } /** - * Holds device secret either as a KeyVault reference or as an encrypted value. + * Details of the filter files to be used for data transfer. */ - export interface SecretResponse { + export interface FilterFileDetailsResponse { /** - * Encrypted (using device public key) secret value. + * Path of the file that contains the details of all items to transfer. */ - encryptedSecret?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; + filterFilePath: string; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Type of the filter file. */ - keyVaultId?: string; + filterFileType: string; } /** - * Specifies the mapping between this particular user and the type of access he has on shares on this device. + * Managed identity properties. */ - export interface ShareAccessRightResponse { + export interface IdentityPropertiesResponse { /** - * Type of access to be allowed on the share for this user. + * Managed service identity type. */ - accessType: string; + type?: string; /** - * The share ID. + * User assigned identity properties. */ - shareId: string; + userAssigned?: outputs.databox.UserAssignedPropertiesResponse; } /** - * The SKU type. + * Import disk details */ - export interface SkuResponse { + export interface ImportDiskDetailsResponse { /** - * SKU name. + * Path to backed up manifest, only returned if enableManifestBackup is true. */ - name?: string; + backupManifestCloudPath: string; /** - * The SKU tier. This is based on the SKU name. + * BitLocker key used to encrypt the disk. */ - tier?: string; + bitLockerKey: string; + /** + * The relative path of the manifest file on the disk. + */ + manifestFile: string; + /** + * The Base16-encoded MD5 hash of the manifest file on the disk. + */ + manifestHash: string; } - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; + /** + * Additional delivery info. + */ + export interface JobDeliveryInfoResponse { + /** + * Scheduled date time. + */ + scheduledDateTime?: string; } /** - * Symmetric key for authentication. + * Job stages. */ - export interface SymmetricKeyResponse { + export interface JobStagesResponse { /** - * Connection string based on the symmetric key. + * Display name of the job stage. */ - connectionString?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; + displayName: string; + /** + * Job Stage Details + */ + jobStageDetails: any; + /** + * Name of the job stage. + */ + stageName: string; + /** + * Status of the job stage. + */ + stageStatus: string; + /** + * Time for the job stage in UTC ISO 8601 format. + */ + stageTime: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * Encryption key containing details about key to encrypt different keys. */ - export interface SystemDataResponse { + export interface KeyEncryptionKeyResponse { /** - * The timestamp of resource creation (UTC). + * Managed identity properties used for key encryption. */ - createdAt?: string; + identityProperties?: outputs.databox.IdentityPropertiesResponse; /** - * The identity that created the resource. + * Type of encryption key used for key encryption. */ - createdBy?: string; + kekType: string; /** - * The type of identity that created the resource. + * Key encryption key. It is required in case of Customer managed KekType. */ - createdByType?: string; + kekUrl?: string; /** - * The timestamp of resource last modification (UTC) + * Kek vault resource id. It is required in case of Customer managed KekType. */ - lastModifiedAt?: string; + kekVaultResourceID?: string; + } + /** + * keyEncryptionKeyResponseProvideDefaults sets the appropriate defaults for KeyEncryptionKeyResponse + */ + export function keyEncryptionKeyResponseProvideDefaults(val: KeyEncryptionKeyResponse): KeyEncryptionKeyResponse { + return { + ...val, + kekType: (val.kekType) ?? "MicrosoftManaged", + }; + } + + /** + * Last Mitigation Action Performed On Job + */ + export interface LastMitigationActionOnJobResponse { /** - * The identity that last modified the resource. + * Action performed date time */ - lastModifiedBy?: string; + actionDateTimeInUtc?: string; /** - * The type of identity that last modified the resource. + * Resolution code provided by customer */ - lastModifiedByType?: string; + customerResolution?: string; + /** + * Action performed by customer, + * possibility is that mitigation might happen by customer or service or by ops + */ + isPerformedByCustomer?: boolean; } /** - * Tracking courier information. + * Details of the managed disks. */ - export interface TrackingInfoResponse { + export interface ManagedDiskDetailsResponse { /** - * Name of the carrier used in the delivery. + * Account Type of the data to be transferred. + * Expected value is 'ManagedDisk'. + */ + dataAccountType: "ManagedDisk"; + /** + * Resource Group Id of the compute disks. + */ + resourceGroupId: string; + /** + * Resource Id of the storage account that can be used to copy the vhd for staging. + */ + stagingStorageAccountId: string; + } + /** + * managedDiskDetailsResponseProvideDefaults sets the appropriate defaults for ManagedDiskDetailsResponse + */ + export function managedDiskDetailsResponseProvideDefaults(val: ManagedDiskDetailsResponse): ManagedDiskDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } + + /** + * Notification preference for a job stage. + */ + export interface NotificationPreferenceResponse { + /** + * Notification is required or not. + */ + sendNotification: boolean; + /** + * Name of the stage. + */ + stageName: string; + } + /** + * notificationPreferenceResponseProvideDefaults sets the appropriate defaults for NotificationPreferenceResponse + */ + export function notificationPreferenceResponseProvideDefaults(val: NotificationPreferenceResponse): NotificationPreferenceResponse { + return { + ...val, + sendNotification: (val.sendNotification) ?? true, + }; + } + + /** + * Package carrier details. + */ + export interface PackageCarrierDetailsResponse { + /** + * Carrier Account Number of customer for customer disk. + */ + carrierAccountNumber?: string; + /** + * Name of the carrier. */ carrierName?: string; /** - * Serial number of the device being tracked. + * Tracking Id of shipment. */ - serialNumber?: string; + trackingId?: string; + } + + /** + * package carrier info + */ + export interface PackageCarrierInfoResponse { /** - * Tracking ID of the shipment. + * Name of the carrier. + */ + carrierName?: string; + /** + * Tracking Id of shipment. */ trackingId?: string; + } + + /** + * package shipping details + */ + export interface PackageShippingDetailsResponse { /** - * Tracking URL of the shipment. + * Name of the carrier. */ - trackingUrl?: string; + carrierName: string; + /** + * Tracking Id of shipment. + */ + trackingId: string; + /** + * Url where shipment can be tracked. + */ + trackingUrl: string; } /** - * The mapping between a particular user and the access type on the SMB share. + * Preferences related to the order */ - export interface UserAccessRightResponse { + export interface PreferencesResponse { /** - * Type of access to be allowed for the user. + * Preferences related to the Encryption. */ - accessType: string; + encryptionPreferences?: outputs.databox.EncryptionPreferencesResponse; /** - * User ID (already existing in the device). + * Preferred data center region. */ - userId: string; + preferredDataCenterRegion?: string[]; + /** + * Optional Preferences related to the reverse shipment logistics of the sku. + */ + reverseTransportPreferences?: outputs.databox.TransportPreferencesResponse; + /** + * Preferences related to the Access Tier of storage accounts. + */ + storageAccountAccessTierPreferences?: string[]; + /** + * Preferences related to the shipment logistics of the sku. + */ + transportPreferences?: outputs.databox.TransportPreferencesResponse; + } + /** + * preferencesResponseProvideDefaults sets the appropriate defaults for PreferencesResponse + */ + export function preferencesResponseProvideDefaults(val: PreferencesResponse): PreferencesResponse { + return { + ...val, + encryptionPreferences: (val.encryptionPreferences ? outputs.databox.encryptionPreferencesResponseProvideDefaults(val.encryptionPreferences) : undefined), + }; } - export namespace v20210201 { + /** + * Msi identity details of the resource + */ + export interface ResourceIdentityResponse { /** - * Represent the secrets intended for encryption with asymmetric key pair. + * Service Principal Id backing the Msi */ - export interface AsymmetricEncryptedSecretResponse { - /** - * The algorithm used to encrypt "Value". - */ - encryptionAlgorithm: string; - /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. - */ - encryptionCertThumbprint?: string; - /** - * The value of the secret. - */ - value: string; - } + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + /** + * User Assigned Identities + */ + userAssignedIdentities?: {[key: string]: outputs.databox.UserAssignedIdentityResponse}; + } + /** + * resourceIdentityResponseProvideDefaults sets the appropriate defaults for ResourceIdentityResponse + */ + export function resourceIdentityResponseProvideDefaults(val: ResourceIdentityResponse): ResourceIdentityResponse { + return { + ...val, + type: (val.type) ?? "None", + }; + } + /** + * Reverse Shipping Address and contact details for a job. + */ + export interface ReverseShippingDetailsResponse { /** - * Wraps data-residency related information for edge-resource and this should be used with ARM layer. + * Contact Info. */ - export interface DataResidencyResponse { - /** - * DataResidencyType enum - */ - type?: string; - } + contactDetails?: outputs.databox.ContactInfoResponse; + /** + * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. + * Read only field + */ + isUpdated: boolean; + /** + * Shipping address where customer wishes to receive the device. + */ + shippingAddress?: outputs.databox.ShippingAddressResponse; + } + /** + * reverseShippingDetailsResponseProvideDefaults sets the appropriate defaults for ReverseShippingDetailsResponse + */ + export function reverseShippingDetailsResponseProvideDefaults(val: ReverseShippingDetailsResponse): ReverseShippingDetailsResponse { + return { + ...val, + shippingAddress: (val.shippingAddress ? outputs.databox.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; + } + /** + * Credential details of the shares in account. + */ + export interface ShareCredentialDetailsResponse { /** - * Details about Edge Profile for the resource + * Password for the share. */ - export interface EdgeProfileResponse { - /** - * Edge Profile Subscription - */ - subscription?: outputs.databoxedge.v20210201.EdgeProfileSubscriptionResponse; - } + password: string; + /** + * Name of the share. + */ + shareName: string; + /** + * Type of the share. + */ + shareType: string; + /** + * Access protocols supported on the device. + */ + supportedAccessProtocols: string[]; + /** + * User name for the share. + */ + userName: string; + } + /** + * Shipping address where customer wishes to receive the device. + */ + export interface ShippingAddressResponse { /** - * Subscription details for the Edge Profile + * Type of address. */ - export interface EdgeProfileSubscriptionResponse { - /** - * ARM ID of the subscription - */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.v20210201.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; - /** - * Edge Subscription Registration ID - */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; - } + addressType?: string; + /** + * Name of the City. + */ + city?: string; + /** + * Name of the company. + */ + companyName?: string; + /** + * Name of the Country. + */ + country: string; + /** + * Postal code. + */ + postalCode?: string; + /** + * Flag to indicate if customer has chosen to skip default address validation + */ + skipAddressValidation?: boolean; + /** + * Name of the State or Province. + */ + stateOrProvince?: string; + /** + * Street Address line 1. + */ + streetAddress1: string; + /** + * Street Address line 2. + */ + streetAddress2?: string; + /** + * Street Address line 3. + */ + streetAddress3?: string; + /** + * Tax Identification Number + */ + taxIdentificationNumber?: string; + /** + * Extended Zip Code. + */ + zipExtendedCode?: string; + } + /** + * shippingAddressResponseProvideDefaults sets the appropriate defaults for ShippingAddressResponse + */ + export function shippingAddressResponseProvideDefaults(val: ShippingAddressResponse): ShippingAddressResponse { + return { + ...val, + addressType: (val.addressType) ?? "None", + }; + } + /** + * The Sku. + */ + export interface SkuResponse { /** - * Msi identity details of the resource + * The display name of the sku. */ - export interface ResourceIdentityResponse { - /** - * Service Principal Id backing the Msi - */ - principalId: string; + displayName?: string; + /** + * The sku family. + */ + family?: string; + /** + * The sku name. + */ + name: string; + } + + /** + * Details for the storage account. + */ + export interface StorageAccountDetailsResponse { + /** + * Account Type of the data to be transferred. + * Expected value is 'StorageAccount'. + */ + dataAccountType: "StorageAccount"; + /** + * Storage Account Resource Id. + */ + storageAccountId: string; + } + /** + * storageAccountDetailsResponseProvideDefaults sets the appropriate defaults for StorageAccountDetailsResponse + */ + export function storageAccountDetailsResponseProvideDefaults(val: StorageAccountDetailsResponse): StorageAccountDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } + + /** + * Provides details about resource creation and update time + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC) + */ + createdAt: string; + /** + * A string identifier for the identity that created the resource + */ + createdBy: string; + /** + * The type of identity that created the resource: user, application, managedIdentity + */ + createdByType: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt: string; + /** + * A string identifier for the identity that last modified the resource + */ + lastModifiedBy: string; + /** + * The type of identity that last modified the resource: user, application, managedIdentity + */ + lastModifiedByType: string; + } + + /** + * Details to transfer all data. + */ + export interface TransferAllDetailsResponse { + /** + * Type of the account of data + */ + dataAccountType: string; + /** + * To indicate if all Azure blobs have to be transferred + */ + transferAllBlobs?: boolean; + /** + * To indicate if all Azure Files have to be transferred + */ + transferAllFiles?: boolean; + } + /** + * transferAllDetailsResponseProvideDefaults sets the appropriate defaults for TransferAllDetailsResponse + */ + export function transferAllDetailsResponseProvideDefaults(val: TransferAllDetailsResponse): TransferAllDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } + + /** + * Configuration for defining the transfer of data. + */ + export interface TransferConfigurationResponse { + /** + * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + */ + transferAllDetails?: outputs.databox.TransferConfigurationResponseTransferAllDetails; + /** + * Type of the configuration for transfer. + */ + transferConfigurationType: string; + /** + * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + */ + transferFilterDetails?: outputs.databox.TransferConfigurationResponseTransferFilterDetails; + } + /** + * transferConfigurationResponseProvideDefaults sets the appropriate defaults for TransferConfigurationResponse + */ + export function transferConfigurationResponseProvideDefaults(val: TransferConfigurationResponse): TransferConfigurationResponse { + return { + ...val, + transferAllDetails: (val.transferAllDetails ? outputs.databox.transferConfigurationResponseTransferAllDetailsProvideDefaults(val.transferAllDetails) : undefined), + transferFilterDetails: (val.transferFilterDetails ? outputs.databox.transferConfigurationResponseTransferFilterDetailsProvideDefaults(val.transferFilterDetails) : undefined), + }; + } + + /** + * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + */ + export interface TransferConfigurationResponseTransferAllDetails { + /** + * Details to transfer all data. + */ + include?: outputs.databox.TransferAllDetailsResponse; + } + /** + * transferConfigurationResponseTransferAllDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferAllDetails + */ + export function transferConfigurationResponseTransferAllDetailsProvideDefaults(val: TransferConfigurationResponseTransferAllDetails): TransferConfigurationResponseTransferAllDetails { + return { + ...val, + include: (val.include ? outputs.databox.transferAllDetailsResponseProvideDefaults(val.include) : undefined), + }; + } + + /** + * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + */ + export interface TransferConfigurationResponseTransferFilterDetails { + /** + * Details of the filtering the transfer of data. + */ + include?: outputs.databox.TransferFilterDetailsResponse; + } + /** + * transferConfigurationResponseTransferFilterDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferFilterDetails + */ + export function transferConfigurationResponseTransferFilterDetailsProvideDefaults(val: TransferConfigurationResponseTransferFilterDetails): TransferConfigurationResponseTransferFilterDetails { + return { + ...val, + include: (val.include ? outputs.databox.transferFilterDetailsResponseProvideDefaults(val.include) : undefined), + }; + } + + /** + * Details of the filtering the transfer of data. + */ + export interface TransferFilterDetailsResponse { + /** + * Filter details to transfer Azure files. + */ + azureFileFilterDetails?: outputs.databox.AzureFileFilterDetailsResponse; + /** + * Filter details to transfer blobs. + */ + blobFilterDetails?: outputs.databox.BlobFilterDetailsResponse; + /** + * Type of the account of data. + */ + dataAccountType: string; + /** + * Details of the filter files to be used for data transfer. + */ + filterFileDetails?: outputs.databox.FilterFileDetailsResponse[]; + } + /** + * transferFilterDetailsResponseProvideDefaults sets the appropriate defaults for TransferFilterDetailsResponse + */ + export function transferFilterDetailsResponseProvideDefaults(val: TransferFilterDetailsResponse): TransferFilterDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } + + /** + * Preferences related to the shipment logistics of the sku + */ + export interface TransportPreferencesResponse { + /** + * Read only property which indicates whether transport preferences has been updated or not after device is prepared. + */ + isUpdated: boolean; + /** + * Indicates Shipment Logistics type that the customer preferred. + */ + preferredShipmentType: string; + } + + /** + * Unencrypted credentials for accessing device. + */ + export interface UnencryptedCredentialsResponse { + /** + * Name of the job. + */ + jobName: string; + /** + * Secrets related to this job. + */ + jobSecrets: outputs.databox.CustomerDiskJobSecretsResponse | outputs.databox.DataBoxDiskJobSecretsResponse | outputs.databox.DataBoxHeavyJobSecretsResponse | outputs.databox.DataboxJobSecretsResponse; + } + + /** + * Class defining User assigned identity details. + */ + export interface UserAssignedIdentityResponse { + /** + * The client id of user assigned identity. + */ + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } + + /** + * User assigned identity properties. + */ + export interface UserAssignedPropertiesResponse { + /** + * Arm resource id for user assigned identity to be used to fetch MSI token. + */ + resourceId?: string; + } + + export namespace v20221201 { + /** + * Credential details of the account. + */ + export interface AccountCredentialDetailsResponse { /** - * Home Tenant Id + * Connection string of the account endpoint to use the account as a storage endpoint on the device. */ - tenantId: string; + accountConnectionString: string; /** - * Identity type + * Name of the account. */ - type?: string; - } - - /** - * Fields for tracking resource move - */ - export interface ResourceMoveDetailsResponse { + accountName: string; /** - * Denotes whether move operation is in progress + * Type of the account. */ - operationInProgress?: string; + dataAccountType: string; /** - * Denotes the timeout of the operation to finish + * Per share level unencrypted access credentials. */ - operationInProgressLockTimeoutInUTC?: string; + shareCredentialDetails: outputs.databox.v20221201.ShareCredentialDetailsResponse[]; } /** - * Holds device secret either as a KeyVault reference or as an encrypted value. + * This class represents additional info which Resource Providers pass when an error occurs. */ - export interface SecretResponse { + export interface AdditionalErrorInfoResponse { /** - * Encrypted (using device public key) secret value. + * Additional information of the type of error. */ - encryptedSecret?: outputs.databoxedge.v20210201.AsymmetricEncryptedSecretResponse; + info?: any; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). */ - keyVaultId?: string; + type?: string; } /** - * The SKU type. + * The Network Adapter configuration of a DataBox. */ - export interface SkuResponse { + export interface ApplianceNetworkConfigurationResponse { /** - * SKU name. + * Mac Address. */ - name?: string; + macAddress: string; /** - * The SKU tier. This is based on the SKU name. + * Name of the network. */ - tier?: string; - } - - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; + name: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * Filter details to transfer Azure files */ - export interface SystemDataResponse { + export interface AzureFileFilterDetailsResponse { /** - * The timestamp of resource creation (UTC). + * List of full path of the files to be transferred. */ - createdAt?: string; + filePathList?: string[]; /** - * The identity that created the resource. + * Prefix list of the Azure files to be transferred. */ - createdBy?: string; + filePrefixList?: string[]; /** - * The type of identity that created the resource. + * List of file shares to be transferred. */ - createdByType?: string; + fileShareList?: string[]; + } + + /** + * Filter details to transfer Azure Blobs + */ + export interface BlobFilterDetailsResponse { /** - * The type of identity that last modified the resource. + * List of full path of the blobs to be transferred. */ - lastModifiedAt?: string; + blobPathList?: string[]; /** - * The identity that last modified the resource. + * Prefix list of the Azure blobs to be transferred. */ - lastModifiedBy?: string; + blobPrefixList?: string[]; /** - * The type of identity that last modified the resource. + * List of blob containers to be transferred. */ - lastModifiedByType?: string; + containerList?: string[]; } - } - - export namespace v20210201preview { /** - * Represent the secrets intended for encryption with asymmetric key pair. + * Provides additional information about an http error response. */ - export interface AsymmetricEncryptedSecretResponse { + export interface CloudErrorResponse { /** - * The algorithm used to encrypt "Value". + * Gets or sets additional error info. */ - encryptionAlgorithm: string; + additionalInfo: outputs.databox.v20221201.AdditionalErrorInfoResponse[]; /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + * Error code. */ - encryptionCertThumbprint?: string; + code?: string; /** - * The value of the secret. + * Gets or sets details for the error. */ - value: string; - } - - /** - * Details about Edge Profile for the resource - */ - export interface EdgeProfileResponse { + details: outputs.databox.v20221201.CloudErrorResponse[]; /** - * Edge Profile Subscription + * The error message parsed from the body of the http error response. */ - subscription?: outputs.databoxedge.v20210201preview.EdgeProfileSubscriptionResponse; + message?: string; + /** + * Gets or sets the target of the error. + */ + target?: string; } /** - * Subscription details for the Edge Profile + * Contact Details. */ - export interface EdgeProfileSubscriptionResponse { + export interface ContactDetailsResponse { /** - * ARM ID of the subscription + * Contact name of the person. */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.v20210201preview.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; + contactName: string; /** - * Edge Subscription Registration ID + * List of Email-ids to be notified about job progress. */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; - } - - /** - * Msi identity details of the resource - */ - export interface ResourceIdentityResponse { + emailList: string[]; /** - * Service Principal Id backing the Msi + * Mobile number of the contact person. */ - principalId: string; + mobile?: string; /** - * Home Tenant Id + * Notification preference for a job stage. */ - tenantId: string; + notificationPreference?: outputs.databox.v20221201.NotificationPreferenceResponse[]; /** - * Identity type + * Phone number of the contact person. */ - type?: string; + phone: string; + /** + * Phone extension number of the contact person. + */ + phoneExtension?: string; } /** - * Fields for tracking resource move + * Contact Info. */ - export interface ResourceMoveDetailsResponse { + export interface ContactInfoResponse { /** - * Denotes whether move operation is in progress + * Contact name of the person. */ - operationInProgress?: string; + contactName: string; /** - * Denotes the timeout of the operation to finish + * Mobile number of the contact person. */ - operationInProgressLockTimeoutInUTC?: string; - } - - /** - * Holds device secret either as a KeyVault reference or as an encrypted value. - */ - export interface SecretResponse { + mobile?: string; /** - * Encrypted (using device public key) secret value. + * Phone number of the contact person. */ - encryptedSecret?: outputs.databoxedge.v20210201preview.AsymmetricEncryptedSecretResponse; + phone: string; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Phone extension number of the contact person. */ - keyVaultId?: string; + phoneExtension?: string; } /** - * Specifies the mapping between this particular user and the type of access he has on shares on this device. + * Copy progress. */ - export interface ShareAccessRightResponse { + export interface CopyProgressResponse { /** - * Type of access to be allowed on the share for this user. + * Id of the account where the data needs to be uploaded. */ - accessType: string; + accountId: string; /** - * The share ID. + * Available actions on the job. */ - shareId: string; - } - - /** - * The SKU type. - */ - export interface SkuResponse { + actions: string[]; /** - * SKU name. + * To indicate bytes transferred. */ - name?: string; + bytesProcessed: number; /** - * The SKU tier. This is based on the SKU name. + * Data Account Type. */ - tier?: string; - } - - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { + dataAccountType: string; /** - * The timestamp of resource creation (UTC). + * To indicate directories errored out in the job. */ - createdAt?: string; + directoriesErroredOut: number; /** - * The identity that created the resource. + * Error, if any, in the stage */ - createdBy?: string; + error: outputs.databox.v20221201.CloudErrorResponse; /** - * The type of identity that created the resource. + * Number of files which could not be copied */ - createdByType?: string; + filesErroredOut: number; /** - * The type of identity that last modified the resource. + * Number of files processed */ - lastModifiedAt?: string; + filesProcessed: number; /** - * The identity that last modified the resource. + * To indicate directories renamed */ - lastModifiedBy?: string; + invalidDirectoriesProcessed: number; /** - * The type of identity that last modified the resource. + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */ - lastModifiedByType?: string; - } - - } - - export namespace v20220301 { - /** - * The shipping address of the customer. - */ - export interface AddressResponse { + invalidFileBytesUploaded: number; /** - * The address line1. + * Number of files not adhering to azure naming conventions which were processed by automatic renaming */ - addressLine1?: string; + invalidFilesProcessed: number; /** - * The address line2. + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. */ - addressLine2?: string; + isEnumerationInProgress: boolean; /** - * The address line3. + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming */ - addressLine3?: string; + renamedContainerCount: number; /** - * The city name. + * Name of the storage account. This will be empty for data account types other than storage account. */ - city?: string; + storageAccountName: string; /** - * The country name. + * Total amount of data to be processed by the job. */ - country: string; + totalBytesToProcess: number; /** - * The postal code. + * Total files to process */ - postalCode?: string; + totalFilesToProcess: number; /** - * The state name. + * Transfer type of data */ - state?: string; + transferType: string; } /** - * Represent the secrets intended for encryption with asymmetric key pair. + * The secrets related to customer disk job. */ - export interface AsymmetricEncryptedSecretResponse { + export interface CustomerDiskJobSecretsResponse { /** - * The algorithm used to encrypt "Value". + * Carrier Account Number of the customer */ - encryptionAlgorithm: string; + carrierAccountNumber: string; /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + * Dc Access Security Code for Customer Managed Shipping */ - encryptionCertThumbprint?: string; + dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; /** - * The value of the secret. + * Contains the list of secrets object for that device. */ - value: string; - } - - /** - * Authentication mechanism for IoT devices. - */ - export interface AuthenticationResponse { + diskSecrets: outputs.databox.v20221201.DiskSecretResponse[]; /** - * Symmetric key for authentication. + * Error while fetching the secrets. */ - symmetricKey?: outputs.databoxedge.v20220301.SymmetricKeyResponse; + error: outputs.databox.v20221201.CloudErrorResponse; + /** + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxCustomerDisk'. + */ + jobSecretsType: "DataBoxCustomerDisk"; } /** - * Azure container mapping of the endpoint. + * Copy log details for a storage account of a DataBox job */ - export interface AzureContainerInfoResponse { - /** - * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). - */ - containerName: string; + export interface DataBoxAccountCopyLogDetailsResponse { /** - * Storage format used for the file represented by the share. + * Account name. */ - dataFormat: string; + accountName: string; /** - * ID of the storage account credential used to access storage. + * Indicates the type of job details. + * Expected value is 'DataBox'. */ - storageAccountCredentialId: string; - } - - /** - * The mapping between a particular client IP and the type of access client has on the NFS share. - */ - export interface ClientAccessRightResponse { + copyLogDetailsType: "DataBox"; /** - * Type of access to be allowed for the client. + * Link for copy logs. */ - accessPermission: string; + copyLogLink: string; /** - * IP of the client. + * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. */ - client: string; + copyVerboseLogLink: string; } /** - * Contains all the contact details of the customer. + * Copy Log Details for customer disk */ - export interface ContactDetailsResponse { + export interface DataBoxCustomerDiskCopyLogDetailsResponse { /** - * The name of the company. + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - companyName: string; + copyLogDetailsType: "DataBoxCustomerDisk"; /** - * The contact person name. + * Link for copy error logs. */ - contactPerson: string; + errorLogLink: string; /** - * The email list. + * Disk Serial Number. */ - emailList: string[]; + serialNumber: string; /** - * The phone number. + * Link for copy verbose logs. */ - phone: string; + verboseLogLink: string; } /** - * Wraps data-residency related information for edge-resource and this should be used with ARM layer. + * DataBox CustomerDisk Copy Progress */ - export interface DataResidencyResponse { + export interface DataBoxCustomerDiskCopyProgressResponse { /** - * DataResidencyType enum + * Id of the account where the data needs to be uploaded. */ - type?: string; - } - - /** - * Details about Edge Profile for the resource - */ - export interface EdgeProfileResponse { + accountId: string; /** - * Edge Profile Subscription + * Available actions on the job. */ - subscription?: outputs.databoxedge.v20220301.EdgeProfileSubscriptionResponse; - } - - /** - * Subscription details for the Edge Profile - */ - export interface EdgeProfileSubscriptionResponse { + actions: string[]; /** - * ARM ID of the subscription + * To indicate bytes transferred. */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.v20220301.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; + bytesProcessed: number; /** - * Edge Subscription Registration ID + * The Status of the copy */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; - } - - /** - * Metadata of IoT device/IoT Edge device to be configured. - */ - export interface IoTDeviceInfoResponse { + copyStatus: string; /** - * Encrypted IoT device/IoT edge device connection string. + * Data Account Type. */ - authentication?: outputs.databoxedge.v20220301.AuthenticationResponse; + dataAccountType: string; /** - * ID of the IoT device/edge device. + * To indicate directories errored out in the job. */ - deviceId: string; + directoriesErroredOut: number; /** - * Host name for the IoT hub associated to the device. + * Error, if any, in the stage */ - ioTHostHub: string; + error: outputs.databox.v20221201.CloudErrorResponse; /** - * Id for the IoT hub associated to the device. + * Number of files which could not be copied */ - ioTHostHubId?: string; - } - - /** - * Metric configuration. - */ - export interface MetricConfigurationResponse { + filesErroredOut: number; /** - * Host name for the IoT hub associated to the device. + * Number of files processed */ - counterSets: outputs.databoxedge.v20220301.MetricCounterSetResponse[]; + filesProcessed: number; /** - * The MDM account to which the counters should be pushed. + * To indicate directories renamed */ - mdmAccount?: string; + invalidDirectoriesProcessed: number; /** - * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */ - metricNameSpace?: string; + invalidFileBytesUploaded: number; /** - * The Resource ID on which the metrics should be pushed. + * Number of files not adhering to azure naming conventions which were processed by automatic renaming */ - resourceId: string; - } - - /** - * The metric counter - */ - export interface MetricCounterResponse { + invalidFilesProcessed: number; /** - * The additional dimensions to be added to metric. + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. */ - additionalDimensions?: outputs.databoxedge.v20220301.MetricDimensionResponse[]; + isEnumerationInProgress: boolean; /** - * The dimension filter. + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming */ - dimensionFilter?: outputs.databoxedge.v20220301.MetricDimensionResponse[]; + renamedContainerCount: number; /** - * The instance from which counter should be collected. + * Disk Serial Number. */ - instance?: string; + serialNumber: string; /** - * The counter name. + * Name of the storage account. This will be empty for data account types other than storage account. */ - name: string; - } - - /** - * The metric counter set - */ - export interface MetricCounterSetResponse { + storageAccountName: string; /** - * The counters that should be collected in this set. + * Total amount of data to be processed by the job. */ - counters: outputs.databoxedge.v20220301.MetricCounterResponse[]; - } - - /** - * The metric dimension - */ - export interface MetricDimensionResponse { + totalBytesToProcess: number; /** - * The dimension value. + * Total files to process */ - sourceName: string; + totalFilesToProcess: number; /** - * The dimension type. + * Transfer type of data */ - sourceType: string; + transferType: string; } /** - * The share mount point. + * Customer disk job details. */ - export interface MountPointMapResponse { + export interface DataBoxCustomerDiskJobDetailsResponse { /** - * Mount point for the share. + * Available actions on the job. */ - mountPoint: string; + actions: string[]; /** - * Mounting type. + * Shared access key to download the chain of custody logs */ - mountType: string; + chainOfCustodySasKey: string; /** - * ID of the role to which share is mounted. + * Contact details for notification and shipping. */ - roleId: string; + contactDetails: outputs.databox.v20221201.ContactDetailsResponse; /** - * Role type. + * List of copy log details. */ - roleType: string; + copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * ID of the share mounted to the role VM. + * Copy progress per disk. */ - shareId: string; - } - - /** - * Represents a single status change. - */ - export interface OrderStatusResponse { + copyProgress: outputs.databox.v20221201.DataBoxCustomerDiskCopyProgressResponse[]; /** - * Dictionary to hold generic information which is not stored - * by the already existing properties + * DataCenter code. */ - additionalOrderDetails: {[key: string]: string}; + dataCenterCode: string; /** - * Comments related to this status change. + * Details of the data to be exported from azure. */ - comments?: string; + dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; /** - * Status of the order as per the allowed status types. + * Details of the data to be imported into azure. */ - status: string; + dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; /** - * Tracking information related to the state in the ordering flow + * Datacenter address to ship to, for the given sku and storage location. */ - trackingInformation: outputs.databoxedge.v20220301.TrackingInfoResponse; + datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; /** - * Time of status update. + * Delivery package shipping details. */ - updateDateTime: string; - } - - /** - * Fields for tracking refresh job on the share or container. - */ - export interface RefreshDetailsResponse { + deliverToDcPackageDetails: outputs.databox.v20221201.PackageCarrierInfoResponse; /** - * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + * Delivery package shipping details. */ - errorManifestFile?: string; + deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + * Holds device data erasure details */ - inProgressRefreshJobId?: string; + deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; /** - * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + * Flag to indicate if disk manifest should be backed-up in the Storage Account. */ - lastCompletedRefreshJobTimeInUTC?: string; + enableManifestBackup?: boolean; /** - * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - lastJob?: string; - } - - /** - * Msi identity details of the resource - */ - export interface ResourceIdentityResponse { + expectedDataSizeInTeraBytes?: number; /** - * Service Principal Id backing the Msi + * Contains the map of disk serial number to the disk details for export jobs. */ - principalId: string; + exportDiskDetailsCollection: {[key: string]: outputs.databox.v20221201.ExportDiskDetailsResponse}; /** - * Home Tenant Id + * Contains the map of disk serial number to the disk details for import jobs. */ - tenantId: string; + importDiskDetailsCollection?: {[key: string]: outputs.databox.v20221201.ImportDiskDetailsResponse}; /** - * Identity type + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - type?: string; - } - - /** - * Fields for tracking resource move - */ - export interface ResourceMoveDetailsResponse { + jobDetailsType: "DataBoxCustomerDisk"; /** - * Denotes whether move operation is in progress + * List of stages that run in the job. */ - operationInProgress?: string; + jobStages: outputs.databox.v20221201.JobStagesResponse[]; /** - * Denotes the timeout of the operation to finish + * Details about which key encryption type is being used. */ - operationInProgressLockTimeoutInUTC?: string; - } - - /** - * Holds device secret either as a KeyVault reference or as an encrypted value. - */ - export interface SecretResponse { + keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; /** - * Encrypted (using device public key) secret value. + * Last mitigation action performed on the job. */ - encryptedSecret?: outputs.databoxedge.v20220301.AsymmetricEncryptedSecretResponse; + lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Preferences for the order. */ - keyVaultId?: string; - } - - /** - * Specifies the mapping between this particular user and the type of access he has on shares on this device. - */ - export interface ShareAccessRightResponse { + preferences?: outputs.databox.v20221201.PreferencesResponse; /** - * Type of access to be allowed on the share for this user. + * Return package shipping details. */ - accessType: string; + returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * The share ID. + * Return package shipping details. */ - shareId: string; - } - - /** - * The SKU type. - */ - export interface SkuResponse { + returnToCustomerPackageDetails: outputs.databox.v20221201.PackageCarrierDetailsResponse; /** - * SKU name. + * Shared access key to download the return shipment label */ - name?: string; + reverseShipmentLabelSasKey: string; /** - * The SKU tier. This is based on the SKU name. + * Optional Reverse Shipping details for order. */ - tier?: string; + reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; } - - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; + /** + * dataBoxCustomerDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxCustomerDiskJobDetailsResponse + */ + export function dataBoxCustomerDiskJobDetailsResponseProvideDefaults(val: DataBoxCustomerDiskJobDetailsResponse): DataBoxCustomerDiskJobDetailsResponse { + return { + ...val, + enableManifestBackup: (val.enableManifestBackup) ?? false, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Symmetric key for authentication. + * Copy Log Details for a disk */ - export interface SymmetricKeyResponse { + export interface DataBoxDiskCopyLogDetailsResponse { /** - * Connection string based on the symmetric key. + * Indicates the type of job details. + * Expected value is 'DataBoxDisk'. */ - connectionString?: outputs.databoxedge.v20220301.AsymmetricEncryptedSecretResponse; + copyLogDetailsType: "DataBoxDisk"; + /** + * Disk Serial Number. + */ + diskSerialNumber: string; + /** + * Link for copy error logs. + */ + errorLogLink: string; + /** + * Link for copy verbose logs. + */ + verboseLogLink: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * DataBox Disk Copy Progress */ - export interface SystemDataResponse { + export interface DataBoxDiskCopyProgressResponse { /** - * The timestamp of resource creation (UTC). + * Available actions on the job. */ - createdAt?: string; + actions: string[]; /** - * The identity that created the resource. + * Bytes copied during the copy of disk. */ - createdBy?: string; + bytesCopied: number; /** - * The type of identity that created the resource. + * Error, if any, in the stage */ - createdByType?: string; + error: outputs.databox.v20221201.CloudErrorResponse; /** - * The timestamp of resource last modification (UTC) + * Indicates the percentage completed for the copy of the disk. */ - lastModifiedAt?: string; + percentComplete: number; /** - * The identity that last modified the resource. + * The serial number of the disk */ - lastModifiedBy?: string; + serialNumber: string; /** - * The type of identity that last modified the resource. + * The Status of the copy */ - lastModifiedByType?: string; + status: string; } /** - * Tracking courier information. + * Granular Copy Log Details for customer disk */ - export interface TrackingInfoResponse { - /** - * Name of the carrier used in the delivery. - */ - carrierName?: string; + export interface DataBoxDiskGranularCopyLogDetailsResponse { /** - * Serial number of the device being tracked. + * Account id. */ - serialNumber?: string; + accountId: string; /** - * Tracking ID of the shipment. + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - trackingId?: string; + copyLogDetailsType: "DataBoxCustomerDisk"; /** - * Tracking URL of the shipment. + * Link for copy error logs. */ - trackingUrl?: string; - } - - /** - * The mapping between a particular user and the access type on the SMB share. - */ - export interface UserAccessRightResponse { + errorLogLink: string; /** - * Type of access to be allowed for the user. + * Disk Serial Number. */ - accessType: string; + serialNumber: string; /** - * User ID (already existing in the device). + * Link for copy verbose logs. */ - userId: string; + verboseLogLink: string; } - } - - export namespace v20220401preview { /** - * The shipping address of the customer. + * DataBox Disk Granular Copy Progress */ - export interface AddressResponse { + export interface DataBoxDiskGranularCopyProgressResponse { /** - * The address line1. + * Id of the account where the data needs to be uploaded. */ - addressLine1?: string; + accountId: string; /** - * The address line2. + * Available actions on the job. */ - addressLine2?: string; + actions: string[]; /** - * The address line3. + * To indicate bytes transferred. */ - addressLine3?: string; + bytesProcessed: number; /** - * The city name. + * The Status of the copy */ - city?: string; + copyStatus: string; /** - * The country name. + * Data Account Type. */ - country: string; + dataAccountType: string; /** - * The postal code. + * To indicate directories errored out in the job. */ - postalCode?: string; + directoriesErroredOut: number; /** - * The state name. + * Error, if any, in the stage */ - state?: string; - } - - /** - * Represent the secrets intended for encryption with asymmetric key pair. - */ - export interface AsymmetricEncryptedSecretResponse { + error: outputs.databox.v20221201.CloudErrorResponse; /** - * The algorithm used to encrypt "Value". + * Number of files which could not be copied */ - encryptionAlgorithm: string; + filesErroredOut: number; /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + * Number of files processed */ - encryptionCertThumbprint?: string; + filesProcessed: number; /** - * The value of the secret. + * To indicate directories renamed */ - value: string; - } - - /** - * This contains the compute information - */ - export interface ComputeVersionInformationResponse { + invalidDirectoriesProcessed: number; /** - * Azure Arc Version + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming */ - azureArcVersion?: string; + invalidFileBytesUploaded: number; /** - * IOTEdge Version + * Number of files not adhering to azure naming conventions which were processed by automatic renaming */ - iotEdgeVersion?: string; + invalidFilesProcessed: number; /** - * Kubernetes Version + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. */ - kubernetesVersion?: string; - } - - /** - * Contains all the contact details of the customer. - */ - export interface ContactDetailsResponse { + isEnumerationInProgress: boolean; /** - * The name of the company. + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming */ - companyName: string; + renamedContainerCount: number; /** - * The contact person name. + * Disk Serial Number. */ - contactPerson: string; + serialNumber: string; /** - * The email list. + * Name of the storage account. This will be empty for data account types other than storage account. */ - emailList: string[]; + storageAccountName: string; /** - * The phone number. + * Total amount of data to be processed by the job. */ - phone: string; - } - - /** - * Wraps data-residency related information for edge-resource and this should be used with ARM layer. - */ - export interface DataResidencyResponse { + totalBytesToProcess: number; /** - * DataResidencyType enum + * Total files to process */ - type?: string; - } - - /** - * Details about Edge Profile for the resource - */ - export interface EdgeProfileResponse { + totalFilesToProcess: number; /** - * Edge Profile Subscription + * Transfer type of data */ - subscription?: outputs.databoxedge.v20220401preview.EdgeProfileSubscriptionResponse; + transferType: string; } /** - * Subscription details for the Edge Profile + * DataBox Disk Job Details. */ - export interface EdgeProfileSubscriptionResponse { + export interface DataBoxDiskJobDetailsResponse { /** - * ARM ID of the subscription + * Available actions on the job. */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.v20220401preview.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; + actions: string[]; /** - * Edge Subscription Registration ID + * Shared access key to download the chain of custody logs */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; - } - - /** - * Represents a single status change. - */ - export interface OrderStatusResponse { + chainOfCustodySasKey: string; /** - * Dictionary to hold generic information which is not stored - * by the already existing properties + * Contact details for notification and shipping. */ - additionalOrderDetails: {[key: string]: string}; + contactDetails: outputs.databox.v20221201.ContactDetailsResponse; /** - * Comments related to this status change. + * List of copy log details. */ - comments?: string; + copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * Status of the order as per the allowed status types. + * Copy progress per disk. */ - status: string; + copyProgress: outputs.databox.v20221201.DataBoxDiskCopyProgressResponse[]; /** - * Tracking information related to the state in the ordering flow + * DataCenter code. */ - trackingInformation: outputs.databoxedge.v20220401preview.TrackingInfoResponse; + dataCenterCode: string; /** - * Time of status update. + * Details of the data to be exported from azure. */ - updateDateTime: string; - } - - /** - * Msi identity details of the resource - */ - export interface ResourceIdentityResponse { + dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; /** - * Service Principal Id backing the Msi + * Details of the data to be imported into azure. */ - principalId: string; + dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; /** - * Home Tenant Id + * Datacenter address to ship to, for the given sku and storage location. */ - tenantId: string; + datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; /** - * Identity type + * Delivery package shipping details. */ - type?: string; - } - - /** - * Fields for tracking resource move - */ - export interface ResourceMoveDetailsResponse { + deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * Denotes whether move operation is in progress + * Holds device data erasure details */ - operationInProgress?: string; + deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; /** - * Denotes the timeout of the operation to finish + * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. */ - operationInProgressLockTimeoutInUTC?: string; - } - - /** - * Holds device secret either as a KeyVault reference or as an encrypted value. - */ - export interface SecretResponse { + disksAndSizeDetails: {[key: string]: number}; /** - * Encrypted (using device public key) secret value. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - encryptedSecret?: outputs.databoxedge.v20220401preview.AsymmetricEncryptedSecretResponse; + expectedDataSizeInTeraBytes?: number; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Copy progress per disk. */ - keyVaultId?: string; - } - - /** - * The SKU type. - */ - export interface SkuResponse { + granularCopyLogDetails: outputs.databox.v20221201.DataBoxDiskGranularCopyLogDetailsResponse[]; /** - * SKU name. + * Copy progress per disk. */ - name?: string; + granularCopyProgress: outputs.databox.v20221201.DataBoxDiskGranularCopyProgressResponse[]; /** - * The SKU tier. This is based on the SKU name. + * Indicates the type of job details. + * Expected value is 'DataBoxDisk'. */ - tier?: string; - } - - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { + jobDetailsType: "DataBoxDisk"; /** - * The timestamp of resource creation (UTC). + * List of stages that run in the job. */ - createdAt?: string; + jobStages: outputs.databox.v20221201.JobStagesResponse[]; /** - * The identity that created the resource. + * Details about which key encryption type is being used. */ - createdBy?: string; + keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; /** - * The type of identity that created the resource. + * Last mitigation action performed on the job. */ - createdByType?: string; + lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; /** - * The timestamp of resource last modification (UTC) + * User entered passkey for DataBox Disk job. */ - lastModifiedAt?: string; + passkey?: string; /** - * The identity that last modified the resource. + * Preferences for the order. */ - lastModifiedBy?: string; + preferences?: outputs.databox.v20221201.PreferencesResponse; /** - * The type of identity that last modified the resource. + * User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. */ - lastModifiedByType?: string; - } - - /** - * Tracking courier information. - */ - export interface TrackingInfoResponse { + preferredDisks?: {[key: string]: number}; /** - * Name of the carrier used in the delivery. + * Return package shipping details. */ - carrierName?: string; + returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * Serial number of the device being tracked. + * Shared access key to download the return shipment label */ - serialNumber?: string; + reverseShipmentLabelSasKey: string; /** - * Tracking ID of the shipment. + * Optional Reverse Shipping details for order. */ - trackingId?: string; + reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; /** - * Tracking URL of the shipment. + * Shipping address of the customer. */ - trackingUrl?: string; + shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; + } + /** + * dataBoxDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxDiskJobDetailsResponse + */ + export function dataBoxDiskJobDetailsResponseProvideDefaults(val: DataBoxDiskJobDetailsResponse): DataBoxDiskJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } - } - - export namespace v20230101preview { /** - * The shipping address of the customer. + * The secrets related to disk job. */ - export interface AddressResponse { - /** - * The address line1. - */ - addressLine1?: string; + export interface DataBoxDiskJobSecretsResponse { /** - * The address line2. + * Dc Access Security Code for Customer Managed Shipping */ - addressLine2?: string; + dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; /** - * The address line3. + * Contains the list of secrets object for that device. */ - addressLine3?: string; + diskSecrets: outputs.databox.v20221201.DiskSecretResponse[]; /** - * The city name. + * Error while fetching the secrets. */ - city?: string; + error: outputs.databox.v20221201.CloudErrorResponse; /** - * The country name. + * Whether passkey was provided by user. */ - country: string; + isPasskeyUserDefined: boolean; /** - * The postal code. + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxDisk'. */ - postalCode?: string; + jobSecretsType: "DataBoxDisk"; /** - * The state name. + * PassKey for the disk Job. */ - state?: string; + passKey: string; } /** - * Represent the secrets intended for encryption with asymmetric key pair. + * Copy log details for a storage account for Databox heavy */ - export interface AsymmetricEncryptedSecretResponse { + export interface DataBoxHeavyAccountCopyLogDetailsResponse { /** - * The algorithm used to encrypt "Value". + * Account name. */ - encryptionAlgorithm: string; + accountName: string; /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + * Indicates the type of job details. + * Expected value is 'DataBoxHeavy'. */ - encryptionCertThumbprint?: string; + copyLogDetailsType: "DataBoxHeavy"; /** - * The value of the secret. + * Link for copy logs. */ - value: string; - } - - /** - * Authentication mechanism for IoT devices. - */ - export interface AuthenticationResponse { + copyLogLink: string[]; /** - * Symmetric key for authentication. + * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. */ - symmetricKey?: outputs.databoxedge.v20230101preview.SymmetricKeyResponse; + copyVerboseLogLink: string[]; } /** - * Azure container mapping of the endpoint. + * Databox Heavy Device Job Details */ - export interface AzureContainerInfoResponse { + export interface DataBoxHeavyJobDetailsResponse { /** - * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + * Available actions on the job. */ - containerName: string; + actions: string[]; /** - * Storage format used for the file represented by the share. + * Shared access key to download the chain of custody logs */ - dataFormat: string; + chainOfCustodySasKey: string; /** - * ID of the storage account credential used to access storage. + * Contact details for notification and shipping. */ - storageAccountCredentialId: string; - } - - /** - * The mapping between a particular client IP and the type of access client has on the NFS share. - */ - export interface ClientAccessRightResponse { + contactDetails: outputs.databox.v20221201.ContactDetailsResponse; /** - * Type of access to be allowed for the client. + * List of copy log details. */ - accessPermission: string; + copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * IP of the client. + * Copy progress per account. */ - client: string; - } - - /** - * Cni configuration - */ - export interface CniConfigResponse { + copyProgress: outputs.databox.v20221201.CopyProgressResponse[]; /** - * ComponentType of the Kubernetes node. + * DataCenter code. */ - componentType: string; + dataCenterCode: string; /** - * Pod Subnet + * Details of the data to be exported from azure. */ - podSubnet: string; + dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; /** - * Service subnet + * Details of the data to be imported into azure. */ - serviceSubnet: string; + dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; /** - * Cni type + * Datacenter address to ship to, for the given sku and storage location. */ - type: string; + datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; /** - * Cni version + * Delivery package shipping details. */ - version: string; - } - - /** - * Compute infrastructure Resource - */ - export interface ComputeResourceResponse { + deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * Memory in GB + * Holds device data erasure details */ - memoryInGB: number; + deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; /** - * Processor count + * Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */ - processorCount: number; - } - - /** - * This contains the compute information - */ - export interface ComputeVersionInformationResponse { + devicePassword?: string; /** - * Azure Arc Version + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - azureArcVersion?: string; + expectedDataSizeInTeraBytes?: number; /** - * IOTEdge Version + * Indicates the type of job details. + * Expected value is 'DataBoxHeavy'. */ - iotEdgeVersion?: string; + jobDetailsType: "DataBoxHeavy"; /** - * Kubernetes Version + * List of stages that run in the job. */ - kubernetesVersion?: string; - } - - /** - * Contains all the contact details of the customer. - */ - export interface ContactDetailsResponse { + jobStages: outputs.databox.v20221201.JobStagesResponse[]; /** - * The name of the company. + * Details about which key encryption type is being used. */ - companyName: string; + keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; /** - * The contact person name. + * Last mitigation action performed on the job. */ - contactPerson: string; + lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; /** - * The email list. + * Preferences for the order. */ - emailList: string[]; + preferences?: outputs.databox.v20221201.PreferencesResponse; /** - * The phone number. + * Return package shipping details. */ - phone: string; - } - - /** - * Wraps data-residency related information for edge-resource and this should be used with ARM layer. - */ - export interface DataResidencyResponse { + returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * DataResidencyType enum + * Shared access key to download the return shipment label */ - type?: string; + reverseShipmentLabelSasKey: string; + /** + * Optional Reverse Shipping details for order. + */ + reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; } - /** - * Details about Edge Profile for the resource + * dataBoxHeavyJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxHeavyJobDetailsResponse */ - export interface EdgeProfileResponse { - /** - * Edge Profile Subscription - */ - subscription?: outputs.databoxedge.v20230101preview.EdgeProfileSubscriptionResponse; + export function dataBoxHeavyJobDetailsResponseProvideDefaults(val: DataBoxHeavyJobDetailsResponse): DataBoxHeavyJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Subscription details for the Edge Profile + * The secrets related to a databox heavy job. */ - export interface EdgeProfileSubscriptionResponse { + export interface DataBoxHeavyJobSecretsResponse { /** - * ARM ID of the subscription + * Contains the list of secret objects for a databox heavy job. */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.v20230101preview.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; + cabinetPodSecrets: outputs.databox.v20221201.DataBoxHeavySecretResponse[]; /** - * Edge Subscription Registration ID + * Dc Access Security Code for Customer Managed Shipping */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; + dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; + /** + * Error while fetching the secrets. + */ + error: outputs.databox.v20221201.CloudErrorResponse; + /** + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxHeavy'. + */ + jobSecretsType: "DataBoxHeavy"; } /** - * Etcd configuration + * The secrets related to a databox heavy. */ - export interface EtcdInfoResponse { + export interface DataBoxHeavySecretResponse { /** - * ComponentType of the Kubernetes node. + * Per account level access credentials. */ - componentType: string; + accountCredentialDetails: outputs.databox.v20221201.AccountCredentialDetailsResponse[]; /** - * Etcd type + * Password for out of the box experience on device. */ - type: string; + devicePassword: string; /** - * Etcd version + * Serial number of the assigned device. */ - version: string; - } - - /** - * File source details. - */ - export interface FileSourceInfoResponse { + deviceSerialNumber: string; /** - * File share ID. + * The base 64 encoded public key to authenticate with the device */ - shareId: string; + encodedValidationCertPubKey: string; + /** + * Network configuration of the appliance. + */ + networkConfigurations: outputs.databox.v20221201.ApplianceNetworkConfigurationResponse[]; } /** - * Image repository credential. + * Databox Job Details */ - export interface ImageRepositoryCredentialResponse { + export interface DataBoxJobDetailsResponse { /** - * Image repository url (e.g.: mcr.microsoft.com). + * Available actions on the job. */ - imageRepositoryUrl: string; + actions: string[]; /** - * Repository user password. + * Shared access key to download the chain of custody logs */ - password?: outputs.databoxedge.v20230101preview.AsymmetricEncryptedSecretResponse; + chainOfCustodySasKey: string; /** - * Repository user name. + * Contact details for notification and shipping. */ - userName: string; - } - - /** - * Metadata of IoT device/IoT Edge device to be configured. - */ - export interface IoTDeviceInfoResponse { + contactDetails: outputs.databox.v20221201.ContactDetailsResponse; /** - * Encrypted IoT device/IoT edge device connection string. + * List of copy log details. */ - authentication?: outputs.databoxedge.v20230101preview.AuthenticationResponse; + copyLogDetails: (outputs.databox.v20221201.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20221201.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * ID of the IoT device/edge device. + * Copy progress per storage account. */ - deviceId: string; + copyProgress: outputs.databox.v20221201.CopyProgressResponse[]; /** - * Host name for the IoT hub associated to the device. + * DataCenter code. */ - ioTHostHub: string; + dataCenterCode: string; /** - * Id for the IoT hub associated to the device. + * Details of the data to be exported from azure. */ - ioTHostHubId?: string; - } - - /** - * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. - */ - export interface IoTEdgeAgentInfoResponse { + dataExportDetails?: outputs.databox.v20221201.DataExportDetailsResponse[]; /** - * Name of the IoT edge agent image. + * Details of the data to be imported into azure. */ - imageName: string; + dataImportDetails?: outputs.databox.v20221201.DataImportDetailsResponse[]; /** - * Image repository details. + * Datacenter address to ship to, for the given sku and storage location. */ - imageRepository?: outputs.databoxedge.v20230101preview.ImageRepositoryCredentialResponse; + datacenterAddress: outputs.databox.v20221201.DatacenterAddressInstructionResponseResponse | outputs.databox.v20221201.DatacenterAddressLocationResponseResponse; /** - * Image Tag. + * Delivery package shipping details. */ - tag: string; - } - - /** - * Kubernetes cluster configuration - */ - export interface KubernetesClusterInfoResponse { + deliveryPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * ComponentType of the Kubernetes node. + * Holds device data erasure details */ - componentType: string; + deviceErasureDetails: outputs.databox.v20221201.DeviceErasureDetailsResponse; /** - * Etcd configuration + * Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */ - etcdInfo: outputs.databoxedge.v20230101preview.EtcdInfoResponse; + devicePassword?: string; /** - * Kubernetes cluster nodes + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - nodes: outputs.databoxedge.v20230101preview.NodeInfoResponse[]; + expectedDataSizeInTeraBytes?: number; /** - * Kubernetes cluster version + * Indicates the type of job details. + * Expected value is 'DataBox'. */ - version: string; - } - - /** - * Kubernetes node IP configuration - */ - export interface KubernetesIPConfigurationResponse { + jobDetailsType: "DataBox"; /** - * IP address of the Kubernetes node. + * List of stages that run in the job. */ - ipAddress?: string; + jobStages: outputs.databox.v20221201.JobStagesResponse[]; /** - * Port of the Kubernetes node. + * Details about which key encryption type is being used. */ - port: string; - } - - /** - * Kubernetes role compute resource - */ - export interface KubernetesRoleComputeResponse { + keyEncryptionKey?: outputs.databox.v20221201.KeyEncryptionKeyResponse; /** - * Count of huge pages + * Last mitigation action performed on the job. */ - hugePage1G: number; + lastMitigationActionOnJob: outputs.databox.v20221201.LastMitigationActionOnJobResponse; /** - * Count of huge pages + * Preferences for the order. */ - hugePage2M: number; + preferences?: outputs.databox.v20221201.PreferencesResponse; /** - * Memory in bytes + * Return package shipping details. */ - memoryInBytes: number; + returnPackage: outputs.databox.v20221201.PackageShippingDetailsResponse; /** - * Processor count + * Shared access key to download the return shipment label */ - processorCount: number; + reverseShipmentLabelSasKey: string; /** - * VM profile + * Optional Reverse Shipping details for order. */ - vmProfile: string; + reverseShippingDetails?: outputs.databox.v20221201.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; + } + /** + * dataBoxJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxJobDetailsResponse + */ + export function dataBoxJobDetailsResponseProvideDefaults(val: DataBoxJobDetailsResponse): DataBoxJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20221201.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20221201.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20221201.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Kubernetes role network resource + * The secrets related to a DataBox. */ - export interface KubernetesRoleNetworkResponse { + export interface DataBoxSecretResponse { /** - * Cni configuration + * Per account level access credentials. */ - cniConfig: outputs.databoxedge.v20230101preview.CniConfigResponse; + accountCredentialDetails: outputs.databox.v20221201.AccountCredentialDetailsResponse[]; /** - * Load balancer configuration + * Password for out of the box experience on device. */ - loadBalancerConfig: outputs.databoxedge.v20230101preview.LoadBalancerConfigResponse; - } - - /** - * Kubernetes role resources - */ - export interface KubernetesRoleResourcesResponse { + devicePassword: string; /** - * Kubernetes role compute resource + * Serial number of the assigned device. */ - compute: outputs.databoxedge.v20230101preview.KubernetesRoleComputeResponse; + deviceSerialNumber: string; /** - * Kubernetes role network resource + * The base 64 encoded public key to authenticate with the device */ - network: outputs.databoxedge.v20230101preview.KubernetesRoleNetworkResponse; + encodedValidationCertPubKey: string; /** - * Kubernetes role storage resource + * Network configuration of the appliance. */ - storage?: outputs.databoxedge.v20230101preview.KubernetesRoleStorageResponse; + networkConfigurations: outputs.databox.v20221201.ApplianceNetworkConfigurationResponse[]; } /** - * Kubernetes storage class info. + * Details of the data to be used for exporting data from azure. */ - export interface KubernetesRoleStorageClassInfoResponse { + export interface DataExportDetailsResponse { /** - * Storage class name. + * Account details of the data to be transferred */ - name: string; + accountDetails: outputs.databox.v20221201.ManagedDiskDetailsResponse | outputs.databox.v20221201.StorageAccountDetailsResponse; /** - * If provisioned storage is posix compliant. + * Level of the logs to be collected. */ - posixCompliant: string; + logCollectionLevel?: string; /** - * Storage class type. + * Configuration for the data transfer. */ - type: string; + transferConfiguration: outputs.databox.v20221201.TransferConfigurationResponse; } - /** - * Kubernetes role storage resource + * dataExportDetailsResponseProvideDefaults sets the appropriate defaults for DataExportDetailsResponse */ - export interface KubernetesRoleStorageResponse { - /** - * Mount points of shares in role(s). - */ - endpoints?: outputs.databoxedge.v20230101preview.MountPointMapResponse[]; - /** - * Kubernetes storage class info. - */ - storageClasses: outputs.databoxedge.v20230101preview.KubernetesRoleStorageClassInfoResponse[]; + export function dataExportDetailsResponseProvideDefaults(val: DataExportDetailsResponse): DataExportDetailsResponse { + return { + ...val, + logCollectionLevel: (val.logCollectionLevel) ?? "Error", + transferConfiguration: outputs.databox.v20221201.transferConfigurationResponseProvideDefaults(val.transferConfiguration), + }; } /** - * Load balancer configuration + * Details of the data to be used for importing data to azure. */ - export interface LoadBalancerConfigResponse { - /** - * ComponentType of the Kubernetes node. - */ - componentType: string; + export interface DataImportDetailsResponse { /** - * Load balancer type + * Account details of the data to be transferred */ - type: string; + accountDetails: outputs.databox.v20221201.ManagedDiskDetailsResponse | outputs.databox.v20221201.StorageAccountDetailsResponse; /** - * Load balancer version + * Level of the logs to be collected. */ - version: string; + logCollectionLevel?: string; + } + /** + * dataImportDetailsResponseProvideDefaults sets the appropriate defaults for DataImportDetailsResponse + */ + export function dataImportDetailsResponseProvideDefaults(val: DataImportDetailsResponse): DataImportDetailsResponse { + return { + ...val, + logCollectionLevel: (val.logCollectionLevel) ?? "Error", + }; } /** - * Metric configuration. + * The secrets related to a databox job. */ - export interface MetricConfigurationResponse { + export interface DataboxJobSecretsResponse { /** - * Host name for the IoT hub associated to the device. + * Dc Access Security Code for Customer Managed Shipping */ - counterSets: outputs.databoxedge.v20230101preview.MetricCounterSetResponse[]; + dcAccessSecurityCode: outputs.databox.v20221201.DcAccessSecurityCodeResponse; /** - * The MDM account to which the counters should be pushed. + * Error while fetching the secrets. */ - mdmAccount?: string; + error: outputs.databox.v20221201.CloudErrorResponse; /** - * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + * Used to indicate what type of job secrets object. + * Expected value is 'DataBox'. */ - metricNameSpace?: string; + jobSecretsType: "DataBox"; /** - * The Resource ID on which the metrics should be pushed. + * Contains the list of secret objects for a job. */ - resourceId: string; + podSecrets?: outputs.databox.v20221201.DataBoxSecretResponse[]; } /** - * The metric counter + * Datacenter instruction for given storage location. */ - export interface MetricCounterResponse { - /** - * The additional dimensions to be added to metric. - */ - additionalDimensions?: outputs.databoxedge.v20230101preview.MetricDimensionResponse[]; + export interface DatacenterAddressInstructionResponseResponse { /** - * The dimension filter. + * Data center communication instruction */ - dimensionFilter?: outputs.databoxedge.v20230101preview.MetricDimensionResponse[]; + communicationInstruction: string; /** - * The instance from which counter should be collected. + * Azure Location where the Data Center serves primarily. */ - instance?: string; + dataCenterAzureLocation: string; /** - * The counter name. + * Data center address type + * Expected value is 'DatacenterAddressInstruction'. */ - name: string; - } - - /** - * The metric counter set - */ - export interface MetricCounterSetResponse { + datacenterAddressType: "DatacenterAddressInstruction"; /** - * The counters that should be collected in this set. + * List of supported carriers for return shipment. */ - counters: outputs.databoxedge.v20230101preview.MetricCounterResponse[]; + supportedCarriersForReturnShipment: string[]; } /** - * The metric dimension + * Datacenter address for given storage location. */ - export interface MetricDimensionResponse { + export interface DatacenterAddressLocationResponseResponse { /** - * The dimension value. + * Special instruction for shipping */ - sourceName: string; + additionalShippingInformation: string; /** - * The dimension type. + * Address type */ - sourceType: string; - } - - /** - * The share mount point. - */ - export interface MountPointMapResponse { + addressType: string; /** - * Mount point for the share. + * City name */ - mountPoint: string; + city: string; /** - * Mounting type. + * Company name */ - mountType: string; + company: string; /** - * ID of the role to which share is mounted. + * Contact person name */ - roleId: string; + contactPersonName: string; /** - * Role type. + * name of the country */ - roleType: string; + country: string; /** - * ID of the share mounted to the role VM. + * Azure Location where the Data Center serves primarily. */ - shareId: string; - } - - /** - * Kubernetes node info - */ - export interface NodeInfoResponse { + dataCenterAzureLocation: string; /** - * ComponentType of the Kubernetes node. + * Data center address type + * Expected value is 'DatacenterAddressLocation'. */ - componentType: string; + datacenterAddressType: "DatacenterAddressLocation"; /** - * IP Configuration of the Kubernetes node. + * Phone number */ - ipConfiguration?: outputs.databoxedge.v20230101preview.KubernetesIPConfigurationResponse[]; + phone: string; /** - * Node name. + * Phone extension */ - name: string; + phoneExtension: string; /** - * Node type - Master/Worker + * name of the state */ - type: string; - } - - /** - * Represents a single status change. - */ - export interface OrderStatusResponse { + state: string; /** - * Dictionary to hold generic information which is not stored - * by the already existing properties + * Street address line 1 */ - additionalOrderDetails: {[key: string]: string}; + street1: string; /** - * Comments related to this status change. + * Street address line 2 */ - comments?: string; + street2: string; /** - * Status of the order as per the allowed status types. + * Street address line 3 */ - status: string; + street3: string; /** - * Tracking information related to the state in the ordering flow + * List of supported carriers for return shipment. */ - trackingInformation: outputs.databoxedge.v20230101preview.TrackingInfoResponse; + supportedCarriersForReturnShipment: string[]; /** - * Time of status update. + * Zip code */ - updateDateTime: string; + zip: string; } /** - * Periodic timer event source. + * Dc access security code */ - export interface PeriodicTimerSourceInfoResponse { - /** - * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. - */ - schedule: string; + export interface DcAccessSecurityCodeResponse { /** - * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + * Forward Dc access security code. */ - startTime: string; + forwardDCAccessCode?: string; /** - * Topic where periodic events are published to IoT device. + * Reverse Dc access security code. */ - topic?: string; + reverseDCAccessCode?: string; } /** - * Fields for tracking refresh job on the share or container. + * Device erasure details with erasure completion status and erasureordestructionlog sas key */ - export interface RefreshDetailsResponse { - /** - * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. - */ - errorManifestFile?: string; - /** - * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. - */ - inProgressRefreshJobId?: string; + export interface DeviceErasureDetailsResponse { /** - * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + * Holds the device erasure completion status */ - lastCompletedRefreshJobTimeInUTC?: string; + deviceErasureStatus: string; /** - * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + * Shared access key to download cleanup or destruction certificate for device */ - lastJob?: string; + erasureOrDestructionCertificateSasKey: string; } /** - * Msi identity details of the resource + * Contains all the secrets of a Disk. */ - export interface ResourceIdentityResponse { - /** - * Service Principal Id backing the Msi - */ - principalId: string; + export interface DiskSecretResponse { /** - * Home Tenant Id + * Bit Locker key of the disk which can be used to unlock the disk to copy data. */ - tenantId: string; + bitLockerKey: string; /** - * Identity type + * Serial number of the assigned disk. */ - type?: string; + diskSerialNumber: string; } /** - * Fields for tracking resource move + * Preferences related to the Encryption. */ - export interface ResourceMoveDetailsResponse { + export interface EncryptionPreferencesResponse { /** - * Denotes whether move operation is in progress + * Defines secondary layer of software-based encryption enablement. */ - operationInProgress?: string; + doubleEncryption?: string; /** - * Denotes the timeout of the operation to finish + * Defines Hardware level encryption (Only for disk) */ - operationInProgressLockTimeoutInUTC?: string; + hardwareEncryption?: string; + } + /** + * encryptionPreferencesResponseProvideDefaults sets the appropriate defaults for EncryptionPreferencesResponse + */ + export function encryptionPreferencesResponseProvideDefaults(val: EncryptionPreferencesResponse): EncryptionPreferencesResponse { + return { + ...val, + doubleEncryption: (val.doubleEncryption) ?? "Disabled", + }; } /** - * Compute role against which events will be raised. + * Export disk details */ - export interface RoleSinkInfoResponse { + export interface ExportDiskDetailsResponse { /** - * Compute role ID. + * Path to backed up manifest, only returned if enableManifestBackup is true. */ - roleId: string; + backupManifestCloudPath: string; + /** + * The relative path of the manifest file on the disk. + */ + manifestFile: string; + /** + * The Base16-encoded MD5 hash of the manifest file on the disk. + */ + manifestHash: string; } /** - * Holds device secret either as a KeyVault reference or as an encrypted value. + * Details of the filter files to be used for data transfer. */ - export interface SecretResponse { + export interface FilterFileDetailsResponse { /** - * Encrypted (using device public key) secret value. + * Path of the file that contains the details of all items to transfer. */ - encryptedSecret?: outputs.databoxedge.v20230101preview.AsymmetricEncryptedSecretResponse; + filterFilePath: string; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Type of the filter file. */ - keyVaultId?: string; + filterFileType: string; } /** - * Specifies the mapping between this particular user and the type of access he has on shares on this device. + * Managed identity properties. */ - export interface ShareAccessRightResponse { + export interface IdentityPropertiesResponse { /** - * Type of access to be allowed on the share for this user. + * Managed service identity type. */ - accessType: string; + type?: string; /** - * The share ID. + * User assigned identity properties. */ - shareId: string; + userAssigned?: outputs.databox.v20221201.UserAssignedPropertiesResponse; } /** - * The SKU type. + * Import disk details */ - export interface SkuResponse { + export interface ImportDiskDetailsResponse { /** - * SKU name. + * Path to backed up manifest, only returned if enableManifestBackup is true. */ - name?: string; + backupManifestCloudPath: string; /** - * The SKU tier. This is based on the SKU name. + * BitLocker key used to encrypt the disk. */ - tier?: string; - } - - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; + bitLockerKey: string; + /** + * The relative path of the manifest file on the disk. + */ + manifestFile: string; + /** + * The Base16-encoded MD5 hash of the manifest file on the disk. + */ + manifestHash: string; } /** - * Symmetric key for authentication. + * Additional delivery info. */ - export interface SymmetricKeyResponse { + export interface JobDeliveryInfoResponse { /** - * Connection string based on the symmetric key. + * Scheduled date time. */ - connectionString?: outputs.databoxedge.v20230101preview.AsymmetricEncryptedSecretResponse; + scheduledDateTime?: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * Job stages. */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; + export interface JobStagesResponse { /** - * The identity that created the resource. + * Display name of the job stage. */ - createdBy?: string; + displayName: string; /** - * The type of identity that created the resource. + * Job Stage Details */ - createdByType?: string; + jobStageDetails: any; /** - * The timestamp of resource last modification (UTC) + * Name of the job stage. */ - lastModifiedAt?: string; + stageName: string; /** - * The identity that last modified the resource. + * Status of the job stage. */ - lastModifiedBy?: string; + stageStatus: string; /** - * The type of identity that last modified the resource. + * Time for the job stage in UTC ISO 8601 format. */ - lastModifiedByType?: string; + stageTime: string; } /** - * Tracking courier information. + * Encryption key containing details about key to encrypt different keys. */ - export interface TrackingInfoResponse { + export interface KeyEncryptionKeyResponse { /** - * Name of the carrier used in the delivery. + * Managed identity properties used for key encryption. */ - carrierName?: string; + identityProperties?: outputs.databox.v20221201.IdentityPropertiesResponse; /** - * Serial number of the device being tracked. + * Type of encryption key used for key encryption. */ - serialNumber?: string; + kekType: string; /** - * Tracking ID of the shipment. + * Key encryption key. It is required in case of Customer managed KekType. */ - trackingId?: string; + kekUrl?: string; /** - * Tracking URL of the shipment. + * Kek vault resource id. It is required in case of Customer managed KekType. */ - trackingUrl?: string; + kekVaultResourceID?: string; } - /** - * The mapping between a particular user and the access type on the SMB share. + * keyEncryptionKeyResponseProvideDefaults sets the appropriate defaults for KeyEncryptionKeyResponse */ - export interface UserAccessRightResponse { - /** - * Type of access to be allowed for the user. - */ - accessType: string; - /** - * User ID (already existing in the device). - */ - userId: string; + export function keyEncryptionKeyResponseProvideDefaults(val: KeyEncryptionKeyResponse): KeyEncryptionKeyResponse { + return { + ...val, + kekType: (val.kekType) ?? "MicrosoftManaged", + }; } - } - - export namespace v20230701 { /** - * The shipping address of the customer. + * Last Mitigation Action Performed On Job */ - export interface AddressResponse { - /** - * The address line1. - */ - addressLine1?: string; + export interface LastMitigationActionOnJobResponse { /** - * The address line2. + * Action performed date time */ - addressLine2?: string; + actionDateTimeInUtc?: string; /** - * The address line3. + * Resolution code provided by customer */ - addressLine3?: string; + customerResolution?: string; /** - * The city name. + * Action performed by customer, + * possibility is that mitigation might happen by customer or service or by ops */ - city?: string; + isPerformedByCustomer?: boolean; + } + + /** + * Details of the managed disks. + */ + export interface ManagedDiskDetailsResponse { /** - * The country name. + * Account Type of the data to be transferred. + * Expected value is 'ManagedDisk'. */ - country: string; + dataAccountType: "ManagedDisk"; /** - * The postal code. + * Resource Group Id of the compute disks. */ - postalCode?: string; + resourceGroupId: string; /** - * The state name. + * Resource Id of the storage account that can be used to copy the vhd for staging. */ - state?: string; + stagingStorageAccountId: string; + } + /** + * managedDiskDetailsResponseProvideDefaults sets the appropriate defaults for ManagedDiskDetailsResponse + */ + export function managedDiskDetailsResponseProvideDefaults(val: ManagedDiskDetailsResponse): ManagedDiskDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; } /** - * Represent the secrets intended for encryption with asymmetric key pair. + * Notification preference for a job stage. */ - export interface AsymmetricEncryptedSecretResponse { - /** - * The algorithm used to encrypt "Value". - */ - encryptionAlgorithm: string; + export interface NotificationPreferenceResponse { /** - * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + * Notification is required or not. */ - encryptionCertThumbprint?: string; + sendNotification: boolean; /** - * The value of the secret. + * Name of the stage. */ - value: string; + stageName: string; } - /** - * Authentication mechanism for IoT devices. + * notificationPreferenceResponseProvideDefaults sets the appropriate defaults for NotificationPreferenceResponse */ - export interface AuthenticationResponse { - /** - * Symmetric key for authentication. - */ - symmetricKey?: outputs.databoxedge.v20230701.SymmetricKeyResponse; + export function notificationPreferenceResponseProvideDefaults(val: NotificationPreferenceResponse): NotificationPreferenceResponse { + return { + ...val, + sendNotification: (val.sendNotification) ?? true, + }; } /** - * Azure container mapping of the endpoint. + * Package carrier details. */ - export interface AzureContainerInfoResponse { + export interface PackageCarrierDetailsResponse { /** - * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + * Carrier Account Number of customer for customer disk. */ - containerName: string; + carrierAccountNumber?: string; /** - * Storage format used for the file represented by the share. + * Name of the carrier. */ - dataFormat: string; + carrierName?: string; /** - * ID of the storage account credential used to access storage. + * Tracking Id of shipment. */ - storageAccountCredentialId: string; + trackingId?: string; } /** - * The mapping between a particular client IP and the type of access client has on the NFS share. + * package carrier info */ - export interface ClientAccessRightResponse { + export interface PackageCarrierInfoResponse { /** - * Type of access to be allowed for the client. + * Name of the carrier. */ - accessPermission: string; + carrierName?: string; /** - * IP of the client. + * Tracking Id of shipment. */ - client: string; + trackingId?: string; } /** - * Cni configuration + * package shipping details */ - export interface CniConfigResponse { - /** - * Pod Subnet - */ - podSubnet: string; + export interface PackageShippingDetailsResponse { /** - * Service subnet + * Name of the carrier. */ - serviceSubnet: string; + carrierName: string; /** - * Cni type + * Tracking Id of shipment. */ - type: string; + trackingId: string; /** - * Cni version + * Url where shipment can be tracked. */ - version: string; + trackingUrl: string; } /** - * Compute infrastructure Resource + * Preferences related to the order */ - export interface ComputeResourceResponse { - /** - * Memory in GB - */ - memoryInGB: number; + export interface PreferencesResponse { /** - * Processor count + * Preferences related to the Encryption. */ - processorCount: number; - } - - /** - * Contains all the contact details of the customer. - */ - export interface ContactDetailsResponse { + encryptionPreferences?: outputs.databox.v20221201.EncryptionPreferencesResponse; /** - * The name of the company. + * Preferred data center region. */ - companyName: string; + preferredDataCenterRegion?: string[]; /** - * The contact person name. + * Optional Preferences related to the reverse shipment logistics of the sku. */ - contactPerson: string; + reverseTransportPreferences?: outputs.databox.v20221201.TransportPreferencesResponse; /** - * The email list. + * Preferences related to the Access Tier of storage accounts. */ - emailList: string[]; + storageAccountAccessTierPreferences?: string[]; /** - * The phone number. + * Preferences related to the shipment logistics of the sku. */ - phone: string; + transportPreferences?: outputs.databox.v20221201.TransportPreferencesResponse; } - /** - * Wraps data-residency related information for edge-resource and this should be used with ARM layer. + * preferencesResponseProvideDefaults sets the appropriate defaults for PreferencesResponse */ - export interface DataResidencyResponse { - /** - * DataResidencyType enum - */ - type?: string; + export function preferencesResponseProvideDefaults(val: PreferencesResponse): PreferencesResponse { + return { + ...val, + encryptionPreferences: (val.encryptionPreferences ? outputs.databox.v20221201.encryptionPreferencesResponseProvideDefaults(val.encryptionPreferences) : undefined), + }; } /** - * Details about Edge Profile for the resource + * Msi identity details of the resource */ - export interface EdgeProfileResponse { + export interface ResourceIdentityResponse { /** - * Edge Profile Subscription + * Service Principal Id backing the Msi */ - subscription?: outputs.databoxedge.v20230701.EdgeProfileSubscriptionResponse; - } - - /** - * Subscription details for the Edge Profile - */ - export interface EdgeProfileSubscriptionResponse { + principalId: string; /** - * ARM ID of the subscription + * Home Tenant Id */ - id?: string; - locationPlacementId?: string; - quotaId?: string; - registeredFeatures?: outputs.databoxedge.v20230701.SubscriptionRegisteredFeaturesResponse[]; - registrationDate?: string; + tenantId: string; /** - * Edge Subscription Registration ID + * Identity type */ - registrationId?: string; - serializedDetails?: string; - state?: string; - subscriptionId?: string; - tenantId?: string; + type?: string; + /** + * User Assigned Identities + */ + userAssignedIdentities?: {[key: string]: outputs.databox.v20221201.UserAssignedIdentityResponse}; + } + /** + * resourceIdentityResponseProvideDefaults sets the appropriate defaults for ResourceIdentityResponse + */ + export function resourceIdentityResponseProvideDefaults(val: ResourceIdentityResponse): ResourceIdentityResponse { + return { + ...val, + type: (val.type) ?? "None", + }; } /** - * Etcd configuration + * Reverse Shipping Address and contact details for a job. */ - export interface EtcdInfoResponse { + export interface ReverseShippingDetailsResponse { /** - * Etcd type + * Contact Info. */ - type: string; + contactDetails?: outputs.databox.v20221201.ContactInfoResponse; /** - * Etcd version + * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. + * Read only field */ - version: string; + isUpdated: boolean; + /** + * Shipping address where customer wishes to receive the device. + */ + shippingAddress?: outputs.databox.v20221201.ShippingAddressResponse; } - /** - * File source details. + * reverseShippingDetailsResponseProvideDefaults sets the appropriate defaults for ReverseShippingDetailsResponse */ - export interface FileSourceInfoResponse { - /** - * File share ID. - */ - shareId: string; + export function reverseShippingDetailsResponseProvideDefaults(val: ReverseShippingDetailsResponse): ReverseShippingDetailsResponse { + return { + ...val, + shippingAddress: (val.shippingAddress ? outputs.databox.v20221201.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Image repository credential. + * Credential details of the shares in account. */ - export interface ImageRepositoryCredentialResponse { + export interface ShareCredentialDetailsResponse { /** - * Image repository url (e.g.: mcr.microsoft.com). + * Password for the share. */ - imageRepositoryUrl: string; + password: string; /** - * Repository user password. + * Name of the share. */ - password?: outputs.databoxedge.v20230701.AsymmetricEncryptedSecretResponse; + shareName: string; /** - * Repository user name. + * Type of the share. + */ + shareType: string; + /** + * Access protocols supported on the device. + */ + supportedAccessProtocols: string[]; + /** + * User name for the share. */ userName: string; } /** - * Metadata of IoT device/IoT Edge device to be configured. + * Shipping address where customer wishes to receive the device. */ - export interface IoTDeviceInfoResponse { + export interface ShippingAddressResponse { /** - * Encrypted IoT device/IoT edge device connection string. + * Type of address. */ - authentication?: outputs.databoxedge.v20230701.AuthenticationResponse; + addressType?: string; /** - * ID of the IoT device/edge device. + * Name of the City. */ - deviceId: string; + city?: string; /** - * Host name for the IoT hub associated to the device. + * Name of the company. */ - ioTHostHub: string; + companyName?: string; /** - * Id for the IoT hub associated to the device. + * Name of the Country. */ - ioTHostHubId?: string; - } - - /** - * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. - */ - export interface IoTEdgeAgentInfoResponse { + country: string; /** - * Name of the IoT edge agent image. + * Postal code. */ - imageName: string; + postalCode?: string; /** - * Image repository details. + * Flag to indicate if customer has chosen to skip default address validation */ - imageRepository?: outputs.databoxedge.v20230701.ImageRepositoryCredentialResponse; + skipAddressValidation?: boolean; /** - * Image Tag. + * Name of the State or Province. */ - tag: string; - } - - /** - * Kubernetes cluster configuration - */ - export interface KubernetesClusterInfoResponse { + stateOrProvince?: string; /** - * Etcd configuration + * Street Address line 1. */ - etcdInfo: outputs.databoxedge.v20230701.EtcdInfoResponse; + streetAddress1: string; /** - * Kubernetes cluster nodes + * Street Address line 2. */ - nodes: outputs.databoxedge.v20230701.NodeInfoResponse[]; + streetAddress2?: string; /** - * Kubernetes cluster version + * Street Address line 3. */ - version: string; - } - - /** - * Kubernetes node IP configuration - */ - export interface KubernetesIPConfigurationResponse { + streetAddress3?: string; /** - * IP address of the Kubernetes node. + * Tax Identification Number */ - ipAddress?: string; + taxIdentificationNumber?: string; /** - * Port of the Kubernetes node. + * Extended Zip Code. */ - port: string; + zipExtendedCode?: string; + } + /** + * shippingAddressResponseProvideDefaults sets the appropriate defaults for ShippingAddressResponse + */ + export function shippingAddressResponseProvideDefaults(val: ShippingAddressResponse): ShippingAddressResponse { + return { + ...val, + addressType: (val.addressType) ?? "None", + }; } /** - * Kubernetes role compute resource + * The Sku. */ - export interface KubernetesRoleComputeResponse { + export interface SkuResponse { /** - * Memory in bytes + * The display name of the sku. */ - memoryInBytes: number; + displayName?: string; /** - * Processor count + * The sku family. */ - processorCount: number; + family?: string; /** - * VM profile + * The sku name. */ - vmProfile: string; + name: string; } /** - * Kubernetes role network resource + * Details for the storage account. */ - export interface KubernetesRoleNetworkResponse { + export interface StorageAccountDetailsResponse { /** - * Cni configuration + * Account Type of the data to be transferred. + * Expected value is 'StorageAccount'. */ - cniConfig: outputs.databoxedge.v20230701.CniConfigResponse; + dataAccountType: "StorageAccount"; /** - * Load balancer configuration + * Storage Account Resource Id. */ - loadBalancerConfig: outputs.databoxedge.v20230701.LoadBalancerConfigResponse; + storageAccountId: string; + } + /** + * storageAccountDetailsResponseProvideDefaults sets the appropriate defaults for StorageAccountDetailsResponse + */ + export function storageAccountDetailsResponseProvideDefaults(val: StorageAccountDetailsResponse): StorageAccountDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; } /** - * Kubernetes role resources + * Provides details about resource creation and update time */ - export interface KubernetesRoleResourcesResponse { + export interface SystemDataResponse { /** - * Kubernetes role compute resource + * The timestamp of resource creation (UTC) */ - compute: outputs.databoxedge.v20230701.KubernetesRoleComputeResponse; + createdAt: string; /** - * Kubernetes role network resource + * A string identifier for the identity that created the resource */ - network: outputs.databoxedge.v20230701.KubernetesRoleNetworkResponse; + createdBy: string; /** - * Kubernetes role storage resource + * The type of identity that created the resource: user, application, managedIdentity */ - storage?: outputs.databoxedge.v20230701.KubernetesRoleStorageResponse; - } - - /** - * Kubernetes storage class info. - */ - export interface KubernetesRoleStorageClassInfoResponse { + createdByType: string; /** - * Storage class name. + * The timestamp of resource last modification (UTC) */ - name: string; + lastModifiedAt: string; /** - * If provisioned storage is posix compliant. + * A string identifier for the identity that last modified the resource */ - posixCompliant: string; + lastModifiedBy: string; /** - * Storage class type. + * The type of identity that last modified the resource: user, application, managedIdentity */ - type: string; + lastModifiedByType: string; } /** - * Kubernetes role storage resource + * Details to transfer all data. */ - export interface KubernetesRoleStorageResponse { + export interface TransferAllDetailsResponse { /** - * Mount points of shares in role(s). + * Type of the account of data */ - endpoints?: outputs.databoxedge.v20230701.MountPointMapResponse[]; + dataAccountType: string; /** - * Kubernetes storage class info. + * To indicate if all Azure blobs have to be transferred */ - storageClasses: outputs.databoxedge.v20230701.KubernetesRoleStorageClassInfoResponse[]; + transferAllBlobs?: boolean; + /** + * To indicate if all Azure Files have to be transferred + */ + transferAllFiles?: boolean; + } + /** + * transferAllDetailsResponseProvideDefaults sets the appropriate defaults for TransferAllDetailsResponse + */ + export function transferAllDetailsResponseProvideDefaults(val: TransferAllDetailsResponse): TransferAllDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; } /** - * Load balancer configuration + * Configuration for defining the transfer of data. */ - export interface LoadBalancerConfigResponse { + export interface TransferConfigurationResponse { /** - * Load balancer type + * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */ - type: string; + transferAllDetails?: outputs.databox.v20221201.TransferConfigurationResponseTransferAllDetails; /** - * Load balancer version + * Type of the configuration for transfer. */ - version: string; + transferConfigurationType: string; + /** + * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + */ + transferFilterDetails?: outputs.databox.v20221201.TransferConfigurationResponseTransferFilterDetails; + } + /** + * transferConfigurationResponseProvideDefaults sets the appropriate defaults for TransferConfigurationResponse + */ + export function transferConfigurationResponseProvideDefaults(val: TransferConfigurationResponse): TransferConfigurationResponse { + return { + ...val, + transferAllDetails: (val.transferAllDetails ? outputs.databox.v20221201.transferConfigurationResponseTransferAllDetailsProvideDefaults(val.transferAllDetails) : undefined), + transferFilterDetails: (val.transferFilterDetails ? outputs.databox.v20221201.transferConfigurationResponseTransferFilterDetailsProvideDefaults(val.transferFilterDetails) : undefined), + }; } /** - * Metric configuration. + * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */ - export interface MetricConfigurationResponse { + export interface TransferConfigurationResponseTransferAllDetails { /** - * Host name for the IoT hub associated to the device. + * Details to transfer all data. */ - counterSets: outputs.databoxedge.v20230701.MetricCounterSetResponse[]; + include?: outputs.databox.v20221201.TransferAllDetailsResponse; + } + /** + * transferConfigurationResponseTransferAllDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferAllDetails + */ + export function transferConfigurationResponseTransferAllDetailsProvideDefaults(val: TransferConfigurationResponseTransferAllDetails): TransferConfigurationResponseTransferAllDetails { + return { + ...val, + include: (val.include ? outputs.databox.v20221201.transferAllDetailsResponseProvideDefaults(val.include) : undefined), + }; + } + + /** + * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + */ + export interface TransferConfigurationResponseTransferFilterDetails { /** - * The MDM account to which the counters should be pushed. + * Details of the filtering the transfer of data. */ - mdmAccount?: string; + include?: outputs.databox.v20221201.TransferFilterDetailsResponse; + } + /** + * transferConfigurationResponseTransferFilterDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferFilterDetails + */ + export function transferConfigurationResponseTransferFilterDetailsProvideDefaults(val: TransferConfigurationResponseTransferFilterDetails): TransferConfigurationResponseTransferFilterDetails { + return { + ...val, + include: (val.include ? outputs.databox.v20221201.transferFilterDetailsResponseProvideDefaults(val.include) : undefined), + }; + } + + /** + * Details of the filtering the transfer of data. + */ + export interface TransferFilterDetailsResponse { /** - * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + * Filter details to transfer Azure files. */ - metricNameSpace?: string; + azureFileFilterDetails?: outputs.databox.v20221201.AzureFileFilterDetailsResponse; /** - * The Resource ID on which the metrics should be pushed. + * Filter details to transfer blobs. */ - resourceId: string; + blobFilterDetails?: outputs.databox.v20221201.BlobFilterDetailsResponse; + /** + * Type of the account of data. + */ + dataAccountType: string; + /** + * Details of the filter files to be used for data transfer. + */ + filterFileDetails?: outputs.databox.v20221201.FilterFileDetailsResponse[]; + } + /** + * transferFilterDetailsResponseProvideDefaults sets the appropriate defaults for TransferFilterDetailsResponse + */ + export function transferFilterDetailsResponseProvideDefaults(val: TransferFilterDetailsResponse): TransferFilterDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; } /** - * The metric counter + * Preferences related to the shipment logistics of the sku */ - export interface MetricCounterResponse { + export interface TransportPreferencesResponse { /** - * The additional dimensions to be added to metric. + * Read only property which indicates whether transport preferences has been updated or not after device is prepared. */ - additionalDimensions?: outputs.databoxedge.v20230701.MetricDimensionResponse[]; + isUpdated: boolean; /** - * The dimension filter. + * Indicates Shipment Logistics type that the customer preferred. */ - dimensionFilter?: outputs.databoxedge.v20230701.MetricDimensionResponse[]; + preferredShipmentType: string; + } + + /** + * Unencrypted credentials for accessing device. + */ + export interface UnencryptedCredentialsResponse { /** - * The instance from which counter should be collected. + * Name of the job. */ - instance?: string; + jobName: string; /** - * The counter name. + * Secrets related to this job. */ - name: string; + jobSecrets: outputs.databox.v20221201.CustomerDiskJobSecretsResponse | outputs.databox.v20221201.DataBoxDiskJobSecretsResponse | outputs.databox.v20221201.DataBoxHeavyJobSecretsResponse | outputs.databox.v20221201.DataboxJobSecretsResponse; } /** - * The metric counter set + * Class defining User assigned identity details. */ - export interface MetricCounterSetResponse { + export interface UserAssignedIdentityResponse { /** - * The counters that should be collected in this set. + * The client id of user assigned identity. */ - counters: outputs.databoxedge.v20230701.MetricCounterResponse[]; + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; } /** - * The metric dimension + * User assigned identity properties. */ - export interface MetricDimensionResponse { + export interface UserAssignedPropertiesResponse { /** - * The dimension value. + * Arm resource id for user assigned identity to be used to fetch MSI token. */ - sourceName: string; + resourceId?: string; + } + + } + + export namespace v20230301 { + /** + * Credential details of the account. + */ + export interface AccountCredentialDetailsResponse { /** - * The dimension type. + * Connection string of the account endpoint to use the account as a storage endpoint on the device. */ - sourceType: string; + accountConnectionString: string; + /** + * Name of the account. + */ + accountName: string; + /** + * Type of the account. + */ + dataAccountType: string; + /** + * Per share level unencrypted access credentials. + */ + shareCredentialDetails: outputs.databox.v20230301.ShareCredentialDetailsResponse[]; } /** - * The share mount point. + * This class represents additional info which Resource Providers pass when an error occurs. */ - export interface MountPointMapResponse { + export interface AdditionalErrorInfoResponse { /** - * Mount point for the share. + * Additional information of the type of error. */ - mountPoint: string; + info?: any; /** - * Mounting type. + * Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). */ - mountType: string; + type?: string; + } + + /** + * The Network Adapter configuration of a DataBox. + */ + export interface ApplianceNetworkConfigurationResponse { /** - * ID of the role to which share is mounted. + * Mac Address. */ - roleId: string; + macAddress: string; /** - * Role type. + * Name of the network. */ - roleType: string; + name: string; + } + + /** + * Filter details to transfer Azure files + */ + export interface AzureFileFilterDetailsResponse { /** - * ID of the share mounted to the role VM. + * List of full path of the files to be transferred. */ - shareId: string; + filePathList?: string[]; + /** + * Prefix list of the Azure files to be transferred. + */ + filePrefixList?: string[]; + /** + * List of file shares to be transferred. + */ + fileShareList?: string[]; } /** - * Kubernetes node info + * Filter details to transfer Azure Blobs */ - export interface NodeInfoResponse { + export interface BlobFilterDetailsResponse { /** - * IP Configuration of the Kubernetes node. + * List of full path of the blobs to be transferred. */ - ipConfiguration?: outputs.databoxedge.v20230701.KubernetesIPConfigurationResponse[]; + blobPathList?: string[]; /** - * Node name. + * Prefix list of the Azure blobs to be transferred. */ - name: string; + blobPrefixList?: string[]; /** - * Node type - Master/Worker + * List of blob containers to be transferred. */ - type: string; + containerList?: string[]; } /** - * Represents a single status change. + * Provides additional information about an http error response. */ - export interface OrderStatusResponse { + export interface CloudErrorResponse { /** - * Dictionary to hold generic information which is not stored - * by the already existing properties + * Gets or sets additional error info. */ - additionalOrderDetails: {[key: string]: string}; + additionalInfo: outputs.databox.v20230301.AdditionalErrorInfoResponse[]; /** - * Comments related to this status change. + * Error code. */ - comments?: string; + code?: string; /** - * Status of the order as per the allowed status types. + * Gets or sets details for the error. */ - status: string; + details: outputs.databox.v20230301.CloudErrorResponse[]; /** - * Tracking information related to the state in the ordering flow + * The error message parsed from the body of the http error response. */ - trackingInformation: outputs.databoxedge.v20230701.TrackingInfoResponse; + message?: string; /** - * Time of status update. + * Gets or sets the target of the error. */ - updateDateTime: string; + target?: string; } /** - * Periodic timer event source. + * Contact Details. */ - export interface PeriodicTimerSourceInfoResponse { + export interface ContactDetailsResponse { /** - * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. + * Contact name of the person. */ - schedule: string; + contactName: string; /** - * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + * List of Email-ids to be notified about job progress. */ - startTime: string; + emailList: string[]; /** - * Topic where periodic events are published to IoT device. + * Mobile number of the contact person. */ - topic?: string; + mobile?: string; + /** + * Notification preference for a job stage. + */ + notificationPreference?: outputs.databox.v20230301.NotificationPreferenceResponse[]; + /** + * Phone number of the contact person. + */ + phone: string; + /** + * Phone extension number of the contact person. + */ + phoneExtension?: string; } /** - * Fields for tracking refresh job on the share or container. + * Contact Info. */ - export interface RefreshDetailsResponse { + export interface ContactInfoResponse { /** - * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + * Contact name of the person. */ - errorManifestFile?: string; + contactName: string; /** - * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + * Mobile number of the contact person. */ - inProgressRefreshJobId?: string; + mobile?: string; /** - * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + * Phone number of the contact person. */ - lastCompletedRefreshJobTimeInUTC?: string; + phone: string; /** - * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + * Phone extension number of the contact person. */ - lastJob?: string; + phoneExtension?: string; } /** - * Msi identity details of the resource + * Copy progress. */ - export interface ResourceIdentityResponse { + export interface CopyProgressResponse { /** - * Service Principal Id backing the Msi + * Id of the account where the data needs to be uploaded. */ - principalId: string; + accountId: string; /** - * Home Tenant Id + * Available actions on the job. */ - tenantId: string; + actions: string[]; /** - * Identity type + * To indicate bytes transferred. */ - type?: string; + bytesProcessed: number; + /** + * Data Account Type. + */ + dataAccountType: string; + /** + * To indicate directories errored out in the job. + */ + directoriesErroredOut: number; + /** + * Error, if any, in the stage + */ + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Number of files which could not be copied + */ + filesErroredOut: number; + /** + * Number of files processed + */ + filesProcessed: number; + /** + * To indicate directories renamed + */ + invalidDirectoriesProcessed: number; + /** + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming + */ + invalidFileBytesUploaded: number; + /** + * Number of files not adhering to azure naming conventions which were processed by automatic renaming + */ + invalidFilesProcessed: number; + /** + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. + */ + isEnumerationInProgress: boolean; + /** + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + */ + renamedContainerCount: number; + /** + * Name of the storage account. This will be empty for data account types other than storage account. + */ + storageAccountName: string; + /** + * Total amount of data to be processed by the job. + */ + totalBytesToProcess: number; + /** + * Total files to process + */ + totalFilesToProcess: number; + /** + * Transfer type of data + */ + transferType: string; } /** - * Fields for tracking resource move + * The secrets related to customer disk job. */ - export interface ResourceMoveDetailsResponse { + export interface CustomerDiskJobSecretsResponse { /** - * Denotes whether move operation is in progress + * Carrier Account Number of the customer */ - operationInProgress?: string; + carrierAccountNumber: string; /** - * Denotes the timeout of the operation to finish + * Dc Access Security Code for Customer Managed Shipping */ - operationInProgressLockTimeoutInUTC?: string; + dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; + /** + * Contains the list of secrets object for that device. + */ + diskSecrets: outputs.databox.v20230301.DiskSecretResponse[]; + /** + * Error while fetching the secrets. + */ + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxCustomerDisk'. + */ + jobSecretsType: "DataBoxCustomerDisk"; } /** - * Compute role against which events will be raised. + * Copy log details for a storage account of a DataBox job */ - export interface RoleSinkInfoResponse { + export interface DataBoxAccountCopyLogDetailsResponse { /** - * Compute role ID. + * Account name. */ - roleId: string; + accountName: string; + /** + * Indicates the type of job details. + * Expected value is 'DataBox'. + */ + copyLogDetailsType: "DataBox"; + /** + * Link for copy logs. + */ + copyLogLink: string; + /** + * Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose. + */ + copyVerboseLogLink: string; } /** - * Holds device secret either as a KeyVault reference or as an encrypted value. + * Copy Log Details for customer disk */ - export interface SecretResponse { + export interface DataBoxCustomerDiskCopyLogDetailsResponse { /** - * Encrypted (using device public key) secret value. + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - encryptedSecret?: outputs.databoxedge.v20230701.AsymmetricEncryptedSecretResponse; + copyLogDetailsType: "DataBoxCustomerDisk"; /** - * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + * Link for copy error logs. */ - keyVaultId?: string; + errorLogLink: string; + /** + * Disk Serial Number. + */ + serialNumber: string; + /** + * Link for copy verbose logs. + */ + verboseLogLink: string; } /** - * Specifies the mapping between this particular user and the type of access he has on shares on this device. + * DataBox CustomerDisk Copy Progress */ - export interface ShareAccessRightResponse { + export interface DataBoxCustomerDiskCopyProgressResponse { /** - * Type of access to be allowed on the share for this user. + * Id of the account where the data needs to be uploaded. */ - accessType: string; + accountId: string; /** - * The share ID. + * Available actions on the job. */ - shareId: string; + actions: string[]; + /** + * To indicate bytes transferred. + */ + bytesProcessed: number; + /** + * The Status of the copy + */ + copyStatus: string; + /** + * Data Account Type. + */ + dataAccountType: string; + /** + * To indicate directories errored out in the job. + */ + directoriesErroredOut: number; + /** + * Error, if any, in the stage + */ + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Number of files which could not be copied + */ + filesErroredOut: number; + /** + * Number of files processed + */ + filesProcessed: number; + /** + * To indicate directories renamed + */ + invalidDirectoriesProcessed: number; + /** + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming + */ + invalidFileBytesUploaded: number; + /** + * Number of files not adhering to azure naming conventions which were processed by automatic renaming + */ + invalidFilesProcessed: number; + /** + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. + */ + isEnumerationInProgress: boolean; + /** + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + */ + renamedContainerCount: number; + /** + * Disk Serial Number. + */ + serialNumber: string; + /** + * Name of the storage account. This will be empty for data account types other than storage account. + */ + storageAccountName: string; + /** + * Total amount of data to be processed by the job. + */ + totalBytesToProcess: number; + /** + * Total files to process + */ + totalFilesToProcess: number; + /** + * Transfer type of data + */ + transferType: string; } /** - * The SKU type. + * Customer disk job details. */ - export interface SkuResponse { + export interface DataBoxCustomerDiskJobDetailsResponse { /** - * SKU name. + * Available actions on the job. */ - name?: string; + actions: string[]; /** - * The SKU tier. This is based on the SKU name. + * Shared access key to download the chain of custody logs */ - tier?: string; + chainOfCustodySasKey: string; + /** + * Contact details for notification and shipping. + */ + contactDetails: outputs.databox.v20230301.ContactDetailsResponse; + /** + * List of copy log details. + */ + copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; + /** + * Copy progress per disk. + */ + copyProgress: outputs.databox.v20230301.DataBoxCustomerDiskCopyProgressResponse[]; + /** + * DataCenter code. + */ + dataCenterCode: string; + /** + * Details of the data to be exported from azure. + */ + dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; + /** + * Details of the data to be imported into azure. + */ + dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; + /** + * Datacenter address to ship to, for the given sku and storage location. + */ + datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; + /** + * Delivery package shipping details. + */ + deliverToDcPackageDetails: outputs.databox.v20230301.PackageCarrierInfoResponse; + /** + * Delivery package shipping details. + */ + deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; + /** + * Holds device data erasure details + */ + deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; + /** + * Flag to indicate if disk manifest should be backed-up in the Storage Account. + */ + enableManifestBackup?: boolean; + /** + * The expected size of the data, which needs to be transferred in this job, in terabytes. + */ + expectedDataSizeInTeraBytes?: number; + /** + * Contains the map of disk serial number to the disk details for export jobs. + */ + exportDiskDetailsCollection: {[key: string]: outputs.databox.v20230301.ExportDiskDetailsResponse}; + /** + * Contains the map of disk serial number to the disk details for import jobs. + */ + importDiskDetailsCollection?: {[key: string]: outputs.databox.v20230301.ImportDiskDetailsResponse}; + /** + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. + */ + jobDetailsType: "DataBoxCustomerDisk"; + /** + * List of stages that run in the job. + */ + jobStages: outputs.databox.v20230301.JobStagesResponse[]; + /** + * Details about which key encryption type is being used. + */ + keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; + /** + * Last mitigation action performed on the job. + */ + lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; + /** + * Preferences for the order. + */ + preferences?: outputs.databox.v20230301.PreferencesResponse; + /** + * Return package shipping details. + */ + returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; + /** + * Return package shipping details. + */ + returnToCustomerPackageDetails: outputs.databox.v20230301.PackageCarrierDetailsResponse; + /** + * Shared access key to download the return shipment label + */ + reverseShipmentLabelSasKey: string; + /** + * Optional Reverse Shipping details for order. + */ + reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; } - - export interface SubscriptionRegisteredFeaturesResponse { - name?: string; - state?: string; + /** + * dataBoxCustomerDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxCustomerDiskJobDetailsResponse + */ + export function dataBoxCustomerDiskJobDetailsResponseProvideDefaults(val: DataBoxCustomerDiskJobDetailsResponse): DataBoxCustomerDiskJobDetailsResponse { + return { + ...val, + enableManifestBackup: (val.enableManifestBackup) ?? false, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Symmetric key for authentication. + * Copy Log Details for a disk */ - export interface SymmetricKeyResponse { + export interface DataBoxDiskCopyLogDetailsResponse { /** - * Connection string based on the symmetric key. + * Indicates the type of job details. + * Expected value is 'DataBoxDisk'. */ - connectionString?: outputs.databoxedge.v20230701.AsymmetricEncryptedSecretResponse; + copyLogDetailsType: "DataBoxDisk"; + /** + * Disk Serial Number. + */ + diskSerialNumber: string; + /** + * Link for copy error logs. + */ + errorLogLink: string; + /** + * Link for copy verbose logs. + */ + verboseLogLink: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * DataBox Disk Copy Progress */ - export interface SystemDataResponse { + export interface DataBoxDiskCopyProgressResponse { /** - * The timestamp of resource creation (UTC). + * Available actions on the job. */ - createdAt?: string; + actions: string[]; /** - * The identity that created the resource. + * Bytes copied during the copy of disk. */ - createdBy?: string; + bytesCopied: number; /** - * The type of identity that created the resource. + * Error, if any, in the stage */ - createdByType?: string; + error: outputs.databox.v20230301.CloudErrorResponse; /** - * The timestamp of resource last modification (UTC) + * Indicates the percentage completed for the copy of the disk. */ - lastModifiedAt?: string; + percentComplete: number; /** - * The identity that last modified the resource. + * The serial number of the disk */ - lastModifiedBy?: string; + serialNumber: string; /** - * The type of identity that last modified the resource. + * The Status of the copy */ - lastModifiedByType?: string; + status: string; } /** - * Tracking courier information. + * Granular Copy Log Details for customer disk */ - export interface TrackingInfoResponse { + export interface DataBoxDiskGranularCopyLogDetailsResponse { /** - * Name of the carrier used in the delivery. + * Account id. */ - carrierName?: string; + accountId: string; /** - * Serial number of the device being tracked. + * Indicates the type of job details. + * Expected value is 'DataBoxCustomerDisk'. */ - serialNumber?: string; + copyLogDetailsType: "DataBoxCustomerDisk"; /** - * Tracking ID of the shipment. + * Link for copy error logs. */ - trackingId?: string; + errorLogLink: string; /** - * Tracking URL of the shipment. + * Disk Serial Number. */ - trackingUrl?: string; + serialNumber: string; + /** + * Link for copy verbose logs. + */ + verboseLogLink: string; } /** - * The mapping between a particular user and the access type on the SMB share. + * DataBox Disk Granular Copy Progress */ - export interface UserAccessRightResponse { + export interface DataBoxDiskGranularCopyProgressResponse { /** - * Type of access to be allowed for the user. + * Id of the account where the data needs to be uploaded. */ - accessType: string; + accountId: string; /** - * User ID (already existing in the device). + * Available actions on the job. */ - userId: string; + actions: string[]; + /** + * To indicate bytes transferred. + */ + bytesProcessed: number; + /** + * The Status of the copy + */ + copyStatus: string; + /** + * Data Account Type. + */ + dataAccountType: string; + /** + * To indicate directories errored out in the job. + */ + directoriesErroredOut: number; + /** + * Error, if any, in the stage + */ + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Number of files which could not be copied + */ + filesErroredOut: number; + /** + * Number of files processed + */ + filesProcessed: number; + /** + * To indicate directories renamed + */ + invalidDirectoriesProcessed: number; + /** + * Total amount of data not adhering to azure naming conventions which were processed by automatic renaming + */ + invalidFileBytesUploaded: number; + /** + * Number of files not adhering to azure naming conventions which were processed by automatic renaming + */ + invalidFilesProcessed: number; + /** + * To indicate if enumeration of data is in progress. + * Until this is true, the TotalBytesToProcess may not be valid. + */ + isEnumerationInProgress: boolean; + /** + * Number of folders not adhering to azure naming conventions which were processed by automatic renaming + */ + renamedContainerCount: number; + /** + * Disk Serial Number. + */ + serialNumber: string; + /** + * Name of the storage account. This will be empty for data account types other than storage account. + */ + storageAccountName: string; + /** + * Total amount of data to be processed by the job. + */ + totalBytesToProcess: number; + /** + * Total files to process + */ + totalFilesToProcess: number; + /** + * Transfer type of data + */ + transferType: string; } - } -} - -export namespace databricks { - export interface AccessConnectorPropertiesResponse { /** - * Provisioning status of the accessConnector. + * DataBox Disk Job Details. */ - provisioningState: string; - } - - /** - * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. - */ - export interface AddressSpaceResponse { + export interface DataBoxDiskJobDetailsResponse { + /** + * Available actions on the job. + */ + actions: string[]; + /** + * Shared access key to download the chain of custody logs + */ + chainOfCustodySasKey: string; + /** + * Contact details for notification and shipping. + */ + contactDetails: outputs.databox.v20230301.ContactDetailsResponse; + /** + * List of copy log details. + */ + copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; + /** + * Copy progress per disk. + */ + copyProgress: outputs.databox.v20230301.DataBoxDiskCopyProgressResponse[]; + /** + * DataCenter code. + */ + dataCenterCode: string; + /** + * Details of the data to be exported from azure. + */ + dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; + /** + * Details of the data to be imported into azure. + */ + dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; + /** + * Datacenter address to ship to, for the given sku and storage location. + */ + datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; + /** + * Delivery package shipping details. + */ + deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; + /** + * Holds device data erasure details + */ + deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; + /** + * Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. + */ + disksAndSizeDetails: {[key: string]: number}; + /** + * The expected size of the data, which needs to be transferred in this job, in terabytes. + */ + expectedDataSizeInTeraBytes?: number; + /** + * Copy progress per disk. + */ + granularCopyLogDetails: outputs.databox.v20230301.DataBoxDiskGranularCopyLogDetailsResponse[]; + /** + * Copy progress per disk. + */ + granularCopyProgress: outputs.databox.v20230301.DataBoxDiskGranularCopyProgressResponse[]; + /** + * Indicates the type of job details. + * Expected value is 'DataBoxDisk'. + */ + jobDetailsType: "DataBoxDisk"; + /** + * List of stages that run in the job. + */ + jobStages: outputs.databox.v20230301.JobStagesResponse[]; + /** + * Details about which key encryption type is being used. + */ + keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; + /** + * Last mitigation action performed on the job. + */ + lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; + /** + * User entered passkey for DataBox Disk job. + */ + passkey?: string; + /** + * Preferences for the order. + */ + preferences?: outputs.databox.v20230301.PreferencesResponse; + /** + * User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. + */ + preferredDisks?: {[key: string]: number}; + /** + * Return package shipping details. + */ + returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; + /** + * Shared access key to download the return shipment label + */ + reverseShipmentLabelSasKey: string; + /** + * Optional Reverse Shipping details for order. + */ + reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; + } /** - * A list of address blocks reserved for this virtual network in CIDR notation. + * dataBoxDiskJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxDiskJobDetailsResponse */ - addressPrefixes?: string[]; - } + export function dataBoxDiskJobDetailsResponseProvideDefaults(val: DataBoxDiskJobDetailsResponse): DataBoxDiskJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; + } - /** - * Provides details of the entity that created/updated the workspace. - */ - export interface CreatedByResponse { - /** - * The application ID of the application that initiated the creation of the workspace. For example, Azure Portal. - */ - applicationId: string; - /** - * The Object ID that created the workspace. - */ - oid: string; /** - * The Personal Object ID corresponding to the object ID above + * The secrets related to disk job. */ - puid: string; - } + export interface DataBoxDiskJobSecretsResponse { + /** + * Dc Access Security Code for Customer Managed Shipping + */ + dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; + /** + * Contains the list of secrets object for that device. + */ + diskSecrets: outputs.databox.v20230301.DiskSecretResponse[]; + /** + * Error while fetching the secrets. + */ + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Whether passkey was provided by user. + */ + isPasskeyUserDefined: boolean; + /** + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxDisk'. + */ + jobSecretsType: "DataBoxDisk"; + /** + * PassKey for the disk Job. + */ + passKey: string; + } - /** - * Encryption entities for databricks workspace resource. - */ - export interface EncryptionEntitiesDefinitionResponse { - /** - * Encryption properties for the databricks managed disks. - */ - managedDisk?: outputs.databricks.ManagedDiskEncryptionResponse; /** - * Encryption properties for the databricks managed services. + * Copy log details for a storage account for Databox heavy */ - managedServices?: outputs.databricks.EncryptionV2Response; - } + export interface DataBoxHeavyAccountCopyLogDetailsResponse { + /** + * Account name. + */ + accountName: string; + /** + * Indicates the type of job details. + * Expected value is 'DataBoxHeavy'. + */ + copyLogDetailsType: "DataBoxHeavy"; + /** + * Link for copy logs. + */ + copyLogLink: string[]; + /** + * Link for copy verbose logs. This will be set only when the LogCollectionLevel is set to verbose. + */ + copyVerboseLogLink: string[]; + } - /** - * The object that contains details of encryption used on the workspace. - */ - export interface EncryptionResponse { - /** - * The name of KeyVault key. - */ - keyName?: string; - /** - * The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault - */ - keySource?: string; /** - * The Uri of KeyVault. - */ - keyVaultUri?: string; - /** - * The version of KeyVault key. + * Databox Heavy Device Job Details */ - keyVersion?: string; - } - /** - * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse - */ - export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { - return { - ...val, - keySource: (val.keySource) ?? "Default", - }; - } - - /** - * The object that contains details of encryption used on the workspace. - */ - export interface EncryptionV2Response { - /** - * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault - */ - keySource: string; - /** - * Key Vault input properties for encryption. - */ - keyVaultProperties?: outputs.databricks.EncryptionV2ResponseKeyVaultProperties; - } - - /** - * Key Vault input properties for encryption. - */ - export interface EncryptionV2ResponseKeyVaultProperties { - /** - * The name of KeyVault key. - */ - keyName: string; - /** - * The Uri of KeyVault. - */ - keyVaultUri: string; - /** - * The version of KeyVault key. - */ - keyVersion: string; - } - - /** - * The object that contains details of encryption used on the workspace. - */ - export interface ManagedDiskEncryptionResponse { - /** - * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault - */ - keySource: string; - /** - * Key Vault input properties for encryption. - */ - keyVaultProperties: outputs.databricks.ManagedDiskEncryptionResponseKeyVaultProperties; - /** - * Indicate whether the latest key version should be automatically used for Managed Disk Encryption. - */ - rotationToLatestKeyVersionEnabled?: boolean; - } - - /** - * Key Vault input properties for encryption. - */ - export interface ManagedDiskEncryptionResponseKeyVaultProperties { - /** - * The name of KeyVault key. - */ - keyName: string; - /** - * The URI of KeyVault. - */ - keyVaultUri: string; - /** - * The version of KeyVault key. - */ - keyVersion: string; - } - - /** - * The Managed Identity details for storage account. - */ - export interface ManagedIdentityConfigurationResponse { - /** - * The objectId of the Managed Identity that is linked to the Managed Storage account. - */ - principalId: string; - /** - * The tenant Id where the Managed Identity is created. - */ - tenantId: string; - /** - * The type of Identity created. It can be either SystemAssigned or UserAssigned. - */ - type: string; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityResponse { - /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - principalId: string; - /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - tenantId: string; - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: string; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: {[key: string]: outputs.databricks.UserAssignedIdentityResponse}; - } - - /** - * The properties of a private endpoint connection - */ - export interface PrivateEndpointConnectionPropertiesResponse { - /** - * GroupIds from the private link service resource. - */ - groupIds?: string[]; - /** - * Private endpoint - */ - privateEndpoint?: outputs.databricks.PrivateEndpointResponse; - /** - * Private endpoint connection state - */ - privateLinkServiceConnectionState: outputs.databricks.PrivateLinkServiceConnectionStateResponse; - /** - * Provisioning state of the private endpoint connection. - */ - provisioningState: string; - } - - /** - * The private endpoint connection of a workspace - */ - export interface PrivateEndpointConnectionResponse { - /** - * The resource identifier. - */ - id: string; - /** - * The resource name. - */ - name: string; - /** - * The private endpoint connection properties. - */ - properties: outputs.databricks.PrivateEndpointConnectionPropertiesResponse; - /** - * The resource type. - */ - type: string; - } - - /** - * The private endpoint property of a private endpoint connection - */ - export interface PrivateEndpointResponse { - /** - * The resource identifier. - */ - id: string; - } - - /** - * The current state of a private endpoint connection - */ - export interface PrivateLinkServiceConnectionStateResponse { - /** - * Actions required for a private endpoint connection - */ - actionsRequired?: string; - /** - * The description for the current state of a private endpoint connection - */ - description?: string; - /** - * The status of a private endpoint connection - */ - status: string; - } - - /** - * SKU for the resource. - */ - export interface SkuResponse { - /** - * The SKU name. - */ - name: string; - /** - * The SKU tier. - */ - tier?: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - /** - * User assigned identity properties - */ - export interface UserAssignedIdentityResponse { - /** - * The client ID of the assigned identity. - */ - clientId: string; - /** - * The principal ID of the assigned identity. - */ - principalId: string; - } - - /** - * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). - */ - export interface VirtualNetworkPeeringPropertiesFormatResponseDatabricksVirtualNetwork { - /** - * The Id of the databricks virtual network. - */ - id?: string; - } - - /** - * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). - */ - export interface VirtualNetworkPeeringPropertiesFormatResponseRemoteVirtualNetwork { - /** - * The Id of the remote virtual network. - */ - id?: string; - } - - /** - * The value which should be used for this field. - */ - export interface WorkspaceCustomBooleanParameterResponse { - /** - * The type of variable that this is - */ - type: string; - /** - * The value which should be used for this field. - */ - value: boolean; - } - - /** - * The value which should be used for this field. - */ - export interface WorkspaceCustomObjectParameterResponse { - /** - * The type of variable that this is - */ - type: string; - /** - * The value which should be used for this field. - */ - value: any; - } - - /** - * Custom Parameters used for Cluster Creation. - */ - export interface WorkspaceCustomParametersResponse { - /** - * The ID of a Azure Machine Learning workspace to link with Databricks workspace - */ - amlWorkspaceId?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * The name of the Private Subnet within the Virtual Network - */ - customPrivateSubnetName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * The name of a Public Subnet within the Virtual Network - */ - customPublicSubnetName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * The ID of a Virtual Network where this Databricks Cluster should be created - */ - customVirtualNetworkId?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * Should the Public IP be Disabled? - */ - enableNoPublicIp?: outputs.databricks.WorkspaceCustomBooleanParameterResponse; - /** - * Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. - */ - encryption?: outputs.databricks.WorkspaceEncryptionParameterResponse; - /** - * Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP). - */ - loadBalancerBackendPoolName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace. - */ - loadBalancerId?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets. - */ - natGatewayName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * Prepare the workspace for encryption. Enables the Managed Identity for managed storage account. - */ - prepareEncryption?: outputs.databricks.WorkspaceCustomBooleanParameterResponse; - /** - * Name of the Public IP for No Public IP workspace with managed vNet. - */ - publicIpName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest. - */ - requireInfrastructureEncryption?: outputs.databricks.WorkspaceCustomBooleanParameterResponse; - /** - * Tags applied to resources under Managed resource group. These can be updated by updating tags at workspace level. - */ - resourceTags: outputs.databricks.WorkspaceCustomObjectParameterResponse; - /** - * Default DBFS storage account name. - */ - storageAccountName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs. - */ - storageAccountSkuName?: outputs.databricks.WorkspaceCustomStringParameterResponse; - /** - * Address prefix for Managed virtual network. Default value for this input is 10.139. - */ - vnetAddressPrefix?: outputs.databricks.WorkspaceCustomStringParameterResponse; - } - /** - * workspaceCustomParametersResponseProvideDefaults sets the appropriate defaults for WorkspaceCustomParametersResponse - */ - export function workspaceCustomParametersResponseProvideDefaults(val: WorkspaceCustomParametersResponse): WorkspaceCustomParametersResponse { - return { - ...val, - encryption: (val.encryption ? outputs.databricks.workspaceEncryptionParameterResponseProvideDefaults(val.encryption) : undefined), - }; - } - - /** - * The Value. - */ - export interface WorkspaceCustomStringParameterResponse { - /** - * The type of variable that this is - */ - type: string; - /** - * The value which should be used for this field. - */ - value: string; - } - - /** - * The object that contains details of encryption used on the workspace. - */ - export interface WorkspaceEncryptionParameterResponse { - /** - * The type of variable that this is - */ - type: string; - /** - * The value which should be used for this field. - */ - value?: outputs.databricks.EncryptionResponse; - } - /** - * workspaceEncryptionParameterResponseProvideDefaults sets the appropriate defaults for WorkspaceEncryptionParameterResponse - */ - export function workspaceEncryptionParameterResponseProvideDefaults(val: WorkspaceEncryptionParameterResponse): WorkspaceEncryptionParameterResponse { - return { - ...val, - value: (val.value ? outputs.databricks.encryptionResponseProvideDefaults(val.value) : undefined), - }; - } - - /** - * Encryption properties for databricks workspace - */ - export interface WorkspacePropertiesResponseEncryption { - /** - * Encryption entities definition for the workspace. - */ - entities: outputs.databricks.EncryptionEntitiesDefinitionResponse; - } - - /** - * The workspace provider authorization. - */ - export interface WorkspaceProviderAuthorizationResponse { - /** - * The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources. - */ - principalId: string; - /** - * The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group. - */ - roleDefinitionId: string; - } - - export namespace v20220401preview { - export interface AccessConnectorPropertiesResponse { + export interface DataBoxHeavyJobDetailsResponse { /** - * Provisioning status of the accessConnector. + * Available actions on the job. */ - provisioningState: string; - } - - /** - * Identity for the resource. - */ - export interface IdentityDataResponse { + actions: string[]; /** - * The principal ID of resource identity. + * Shared access key to download the chain of custody logs */ - principalId: string; + chainOfCustodySasKey: string; /** - * The tenant ID of resource. + * Contact details for notification and shipping. */ - tenantId: string; + contactDetails: outputs.databox.v20230301.ContactDetailsResponse; /** - * The identity type. + * List of copy log details. */ - type: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { + copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * The timestamp of resource creation (UTC). + * Copy progress per account. */ - createdAt?: string; + copyProgress: outputs.databox.v20230301.CopyProgressResponse[]; /** - * The identity that created the resource. + * DataCenter code. */ - createdBy?: string; + dataCenterCode: string; /** - * The type of identity that created the resource. + * Details of the data to be exported from azure. */ - createdByType?: string; + dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; /** - * The timestamp of resource last modification (UTC) + * Details of the data to be imported into azure. */ - lastModifiedAt?: string; + dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; /** - * The identity that last modified the resource. + * Datacenter address to ship to, for the given sku and storage location. */ - lastModifiedBy?: string; + datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; /** - * The type of identity that last modified the resource. + * Delivery package shipping details. */ - lastModifiedByType?: string; - } - - } - - export namespace v20230201 { - /** - * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. - */ - export interface AddressSpaceResponse { + deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; /** - * A list of address blocks reserved for this virtual network in CIDR notation. + * Holds device data erasure details */ - addressPrefixes?: string[]; - } - - /** - * Provides details of the entity that created/updated the workspace. - */ - export interface CreatedByResponse { + deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; /** - * The application ID of the application that initiated the creation of the workspace. For example, Azure Portal. + * Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */ - applicationId: string; + devicePassword?: string; /** - * The Object ID that created the workspace. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - oid: string; + expectedDataSizeInTeraBytes?: number; /** - * The Personal Object ID corresponding to the object ID above + * Indicates the type of job details. + * Expected value is 'DataBoxHeavy'. */ - puid: string; - } - - /** - * Encryption entities for databricks workspace resource. - */ - export interface EncryptionEntitiesDefinitionResponse { + jobDetailsType: "DataBoxHeavy"; /** - * Encryption properties for the databricks managed disks. + * List of stages that run in the job. */ - managedDisk?: outputs.databricks.v20230201.ManagedDiskEncryptionResponse; + jobStages: outputs.databox.v20230301.JobStagesResponse[]; /** - * Encryption properties for the databricks managed services. + * Details about which key encryption type is being used. */ - managedServices?: outputs.databricks.v20230201.EncryptionV2Response; - } - - /** - * The object that contains details of encryption used on the workspace. - */ - export interface EncryptionResponse { + keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; /** - * The name of KeyVault key. + * Last mitigation action performed on the job. */ - keyName?: string; + lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; /** - * The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault + * Preferences for the order. */ - keySource?: string; + preferences?: outputs.databox.v20230301.PreferencesResponse; /** - * The Uri of KeyVault. + * Return package shipping details. */ - keyVaultUri?: string; + returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; /** - * The version of KeyVault key. + * Shared access key to download the return shipment label */ - keyVersion?: string; + reverseShipmentLabelSasKey: string; + /** + * Optional Reverse Shipping details for order. + */ + reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; } /** - * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse + * dataBoxHeavyJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxHeavyJobDetailsResponse */ - export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { + export function dataBoxHeavyJobDetailsResponseProvideDefaults(val: DataBoxHeavyJobDetailsResponse): DataBoxHeavyJobDetailsResponse { return { ...val, - keySource: (val.keySource) ?? "Default", + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), }; } /** - * The object that contains details of encryption used on the workspace. + * The secrets related to a databox heavy job. */ - export interface EncryptionV2Response { + export interface DataBoxHeavyJobSecretsResponse { /** - * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault + * Contains the list of secret objects for a databox heavy job. */ - keySource: string; + cabinetPodSecrets: outputs.databox.v20230301.DataBoxHeavySecretResponse[]; /** - * Key Vault input properties for encryption. + * Dc Access Security Code for Customer Managed Shipping */ - keyVaultProperties?: outputs.databricks.v20230201.EncryptionV2ResponseKeyVaultProperties; + dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; + /** + * Error while fetching the secrets. + */ + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Used to indicate what type of job secrets object. + * Expected value is 'DataBoxHeavy'. + */ + jobSecretsType: "DataBoxHeavy"; } /** - * Key Vault input properties for encryption. + * The secrets related to a databox heavy. */ - export interface EncryptionV2ResponseKeyVaultProperties { + export interface DataBoxHeavySecretResponse { /** - * The name of KeyVault key. + * Per account level access credentials. */ - keyName: string; + accountCredentialDetails: outputs.databox.v20230301.AccountCredentialDetailsResponse[]; /** - * The Uri of KeyVault. + * Password for out of the box experience on device. */ - keyVaultUri: string; + devicePassword: string; /** - * The version of KeyVault key. + * Serial number of the assigned device. */ - keyVersion: string; + deviceSerialNumber: string; + /** + * The base 64 encoded public key to authenticate with the device + */ + encodedValidationCertPubKey: string; + /** + * Network configuration of the appliance. + */ + networkConfigurations: outputs.databox.v20230301.ApplianceNetworkConfigurationResponse[]; } /** - * The object that contains details of encryption used on the workspace. + * Databox Job Details */ - export interface ManagedDiskEncryptionResponse { + export interface DataBoxJobDetailsResponse { /** - * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault + * Available actions on the job. */ - keySource: string; + actions: string[]; /** - * Key Vault input properties for encryption. + * Shared access key to download the chain of custody logs */ - keyVaultProperties: outputs.databricks.v20230201.ManagedDiskEncryptionResponseKeyVaultProperties; + chainOfCustodySasKey: string; /** - * Indicate whether the latest key version should be automatically used for Managed Disk Encryption. + * Contact details for notification and shipping. */ - rotationToLatestKeyVersionEnabled?: boolean; - } - - /** - * Key Vault input properties for encryption. - */ - export interface ManagedDiskEncryptionResponseKeyVaultProperties { + contactDetails: outputs.databox.v20230301.ContactDetailsResponse; /** - * The name of KeyVault key. + * List of copy log details. */ - keyName: string; + copyLogDetails: (outputs.databox.v20230301.DataBoxAccountCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxCustomerDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxDiskCopyLogDetailsResponse | outputs.databox.v20230301.DataBoxHeavyAccountCopyLogDetailsResponse)[]; /** - * The URI of KeyVault. + * Copy progress per storage account. */ - keyVaultUri: string; + copyProgress: outputs.databox.v20230301.CopyProgressResponse[]; /** - * The version of KeyVault key. + * DataCenter code. */ - keyVersion: string; - } - - /** - * The Managed Identity details for storage account. - */ - export interface ManagedIdentityConfigurationResponse { + dataCenterCode: string; /** - * The objectId of the Managed Identity that is linked to the Managed Storage account. + * Details of the data to be exported from azure. */ - principalId: string; + dataExportDetails?: outputs.databox.v20230301.DataExportDetailsResponse[]; /** - * The tenant Id where the Managed Identity is created. + * Details of the data to be imported into azure. */ - tenantId: string; + dataImportDetails?: outputs.databox.v20230301.DataImportDetailsResponse[]; /** - * The type of Identity created. It can be either SystemAssigned or UserAssigned. + * Datacenter address to ship to, for the given sku and storage location. */ - type: string; - } - - /** - * The properties of a private endpoint connection - */ - export interface PrivateEndpointConnectionPropertiesResponse { + datacenterAddress: outputs.databox.v20230301.DatacenterAddressInstructionResponseResponse | outputs.databox.v20230301.DatacenterAddressLocationResponseResponse; /** - * GroupIds from the private link service resource. + * Delivery package shipping details. */ - groupIds?: string[]; + deliveryPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; /** - * Private endpoint + * Holds device data erasure details */ - privateEndpoint?: outputs.databricks.v20230201.PrivateEndpointResponse; + deviceErasureDetails: outputs.databox.v20230301.DeviceErasureDetailsResponse; /** - * Private endpoint connection state + * Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */ - privateLinkServiceConnectionState: outputs.databricks.v20230201.PrivateLinkServiceConnectionStateResponse; + devicePassword?: string; /** - * Provisioning state of the private endpoint connection. + * The expected size of the data, which needs to be transferred in this job, in terabytes. */ - provisioningState: string; - } - - /** - * The private endpoint connection of a workspace - */ - export interface PrivateEndpointConnectionResponse { + expectedDataSizeInTeraBytes?: number; /** - * The resource identifier. + * Indicates the type of job details. + * Expected value is 'DataBox'. */ - id: string; + jobDetailsType: "DataBox"; /** - * The resource name. + * List of stages that run in the job. */ - name: string; + jobStages: outputs.databox.v20230301.JobStagesResponse[]; /** - * The private endpoint connection properties. + * Details about which key encryption type is being used. */ - properties: outputs.databricks.v20230201.PrivateEndpointConnectionPropertiesResponse; + keyEncryptionKey?: outputs.databox.v20230301.KeyEncryptionKeyResponse; /** - * The resource type. + * Last mitigation action performed on the job. */ - type: string; - } - - /** - * The private endpoint property of a private endpoint connection - */ - export interface PrivateEndpointResponse { + lastMitigationActionOnJob: outputs.databox.v20230301.LastMitigationActionOnJobResponse; /** - * The resource identifier. + * Preferences for the order. */ - id: string; - } - - /** - * The current state of a private endpoint connection - */ - export interface PrivateLinkServiceConnectionStateResponse { + preferences?: outputs.databox.v20230301.PreferencesResponse; /** - * Actions required for a private endpoint connection + * Return package shipping details. */ - actionsRequired?: string; + returnPackage: outputs.databox.v20230301.PackageShippingDetailsResponse; /** - * The description for the current state of a private endpoint connection + * Shared access key to download the return shipment label */ - description?: string; + reverseShipmentLabelSasKey: string; /** - * The status of a private endpoint connection + * Optional Reverse Shipping details for order. */ - status: string; + reverseShippingDetails?: outputs.databox.v20230301.ReverseShippingDetailsResponse; + /** + * Shipping address of the customer. + */ + shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; } - /** - * SKU for the resource. + * dataBoxJobDetailsResponseProvideDefaults sets the appropriate defaults for DataBoxJobDetailsResponse */ - export interface SkuResponse { - /** - * The SKU name. - */ - name: string; - /** - * The SKU tier. - */ - tier?: string; + export function dataBoxJobDetailsResponseProvideDefaults(val: DataBoxJobDetailsResponse): DataBoxJobDetailsResponse { + return { + ...val, + keyEncryptionKey: (val.keyEncryptionKey ? outputs.databox.v20230301.keyEncryptionKeyResponseProvideDefaults(val.keyEncryptionKey) : undefined), + preferences: (val.preferences ? outputs.databox.v20230301.preferencesResponseProvideDefaults(val.preferences) : undefined), + reverseShippingDetails: (val.reverseShippingDetails ? outputs.databox.v20230301.reverseShippingDetailsResponseProvideDefaults(val.reverseShippingDetails) : undefined), + shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; } /** - * Metadata pertaining to creation and last modification of the resource. + * The secrets related to a DataBox. */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; + export interface DataBoxSecretResponse { /** - * The identity that created the resource. + * Per account level access credentials. */ - createdBy?: string; + accountCredentialDetails: outputs.databox.v20230301.AccountCredentialDetailsResponse[]; /** - * The type of identity that created the resource. + * Password for out of the box experience on device. */ - createdByType?: string; + devicePassword: string; /** - * The timestamp of resource last modification (UTC) + * Serial number of the assigned device. */ - lastModifiedAt?: string; + deviceSerialNumber: string; /** - * The identity that last modified the resource. + * The base 64 encoded public key to authenticate with the device */ - lastModifiedBy?: string; + encodedValidationCertPubKey: string; /** - * The type of identity that last modified the resource. + * Network configuration of the appliance. */ - lastModifiedByType?: string; + networkConfigurations: outputs.databox.v20230301.ApplianceNetworkConfigurationResponse[]; } /** - * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + * Details of the data to be used for exporting data from azure. */ - export interface VirtualNetworkPeeringPropertiesFormatResponseDatabricksVirtualNetwork { + export interface DataExportDetailsResponse { /** - * The Id of the databricks virtual network. + * Account details of the data to be transferred */ - id?: string; + accountDetails: outputs.databox.v20230301.ManagedDiskDetailsResponse | outputs.databox.v20230301.StorageAccountDetailsResponse; + /** + * Level of the logs to be collected. + */ + logCollectionLevel?: string; + /** + * Configuration for the data transfer. + */ + transferConfiguration: outputs.databox.v20230301.TransferConfigurationResponse; + } + /** + * dataExportDetailsResponseProvideDefaults sets the appropriate defaults for DataExportDetailsResponse + */ + export function dataExportDetailsResponseProvideDefaults(val: DataExportDetailsResponse): DataExportDetailsResponse { + return { + ...val, + logCollectionLevel: (val.logCollectionLevel) ?? "Error", + transferConfiguration: outputs.databox.v20230301.transferConfigurationResponseProvideDefaults(val.transferConfiguration), + }; } /** - * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + * Details of the data to be used for importing data to azure. */ - export interface VirtualNetworkPeeringPropertiesFormatResponseRemoteVirtualNetwork { + export interface DataImportDetailsResponse { /** - * The Id of the remote virtual network. + * Account details of the data to be transferred */ - id?: string; + accountDetails: outputs.databox.v20230301.ManagedDiskDetailsResponse | outputs.databox.v20230301.StorageAccountDetailsResponse; + /** + * Level of the logs to be collected. + */ + logCollectionLevel?: string; + } + /** + * dataImportDetailsResponseProvideDefaults sets the appropriate defaults for DataImportDetailsResponse + */ + export function dataImportDetailsResponseProvideDefaults(val: DataImportDetailsResponse): DataImportDetailsResponse { + return { + ...val, + logCollectionLevel: (val.logCollectionLevel) ?? "Error", + }; } /** - * The value which should be used for this field. + * The secrets related to a databox job. */ - export interface WorkspaceCustomBooleanParameterResponse { + export interface DataboxJobSecretsResponse { /** - * The type of variable that this is + * Dc Access Security Code for Customer Managed Shipping */ - type: string; + dcAccessSecurityCode: outputs.databox.v20230301.DcAccessSecurityCodeResponse; /** - * The value which should be used for this field. + * Error while fetching the secrets. */ - value: boolean; + error: outputs.databox.v20230301.CloudErrorResponse; + /** + * Used to indicate what type of job secrets object. + * Expected value is 'DataBox'. + */ + jobSecretsType: "DataBox"; + /** + * Contains the list of secret objects for a job. + */ + podSecrets?: outputs.databox.v20230301.DataBoxSecretResponse[]; } /** - * The value which should be used for this field. + * Datacenter instruction for given storage location. */ - export interface WorkspaceCustomObjectParameterResponse { + export interface DatacenterAddressInstructionResponseResponse { /** - * The type of variable that this is + * Data center communication instruction */ - type: string; + communicationInstruction: string; /** - * The value which should be used for this field. + * Azure Location where the Data Center serves primarily. */ - value: any; + dataCenterAzureLocation: string; + /** + * Data center address type + * Expected value is 'DatacenterAddressInstruction'. + */ + datacenterAddressType: "DatacenterAddressInstruction"; + /** + * List of supported carriers for return shipment. + */ + supportedCarriersForReturnShipment: string[]; } /** - * Custom Parameters used for Cluster Creation. + * Datacenter address for given storage location. */ - export interface WorkspaceCustomParametersResponse { + export interface DatacenterAddressLocationResponseResponse { /** - * The ID of a Azure Machine Learning workspace to link with Databricks workspace + * Special instruction for shipping */ - amlWorkspaceId?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + additionalShippingInformation: string; /** - * The name of the Private Subnet within the Virtual Network + * Address type */ - customPrivateSubnetName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + addressType: string; /** - * The name of a Public Subnet within the Virtual Network + * City name */ - customPublicSubnetName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + city: string; /** - * The ID of a Virtual Network where this Databricks Cluster should be created + * Company name */ - customVirtualNetworkId?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + company: string; /** - * Should the Public IP be Disabled? + * Contact person name */ - enableNoPublicIp?: outputs.databricks.v20230201.WorkspaceCustomBooleanParameterResponse; + contactPersonName: string; /** - * Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. + * name of the country */ - encryption?: outputs.databricks.v20230201.WorkspaceEncryptionParameterResponse; + country: string; /** - * Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP). + * Azure Location where the Data Center serves primarily. */ - loadBalancerBackendPoolName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + dataCenterAzureLocation: string; /** - * Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace. + * Data center address type + * Expected value is 'DatacenterAddressLocation'. */ - loadBalancerId?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + datacenterAddressType: "DatacenterAddressLocation"; /** - * Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets. + * Phone number */ - natGatewayName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + phone: string; /** - * Prepare the workspace for encryption. Enables the Managed Identity for managed storage account. + * Phone extension */ - prepareEncryption?: outputs.databricks.v20230201.WorkspaceCustomBooleanParameterResponse; + phoneExtension: string; /** - * Name of the Public IP for No Public IP workspace with managed vNet. + * name of the state */ - publicIpName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + state: string; /** - * A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest. + * Street address line 1 */ - requireInfrastructureEncryption?: outputs.databricks.v20230201.WorkspaceCustomBooleanParameterResponse; + street1: string; /** - * Tags applied to resources under Managed resource group. These can be updated by updating tags at workspace level. + * Street address line 2 */ - resourceTags: outputs.databricks.v20230201.WorkspaceCustomObjectParameterResponse; + street2: string; /** - * Default DBFS storage account name. + * Street address line 3 */ - storageAccountName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + street3: string; /** - * Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs. + * List of supported carriers for return shipment. */ - storageAccountSkuName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + supportedCarriersForReturnShipment: string[]; /** - * Address prefix for Managed virtual network. Default value for this input is 10.139. + * Zip code */ - vnetAddressPrefix?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; - } - /** - * workspaceCustomParametersResponseProvideDefaults sets the appropriate defaults for WorkspaceCustomParametersResponse - */ - export function workspaceCustomParametersResponseProvideDefaults(val: WorkspaceCustomParametersResponse): WorkspaceCustomParametersResponse { - return { - ...val, - encryption: (val.encryption ? outputs.databricks.v20230201.workspaceEncryptionParameterResponseProvideDefaults(val.encryption) : undefined), - }; + zip: string; } /** - * The Value. + * Dc access security code */ - export interface WorkspaceCustomStringParameterResponse { + export interface DcAccessSecurityCodeResponse { /** - * The type of variable that this is + * Forward Dc access security code. */ - type: string; + forwardDCAccessCode?: string; /** - * The value which should be used for this field. + * Reverse Dc access security code. */ - value: string; + reverseDCAccessCode?: string; } /** - * The object that contains details of encryption used on the workspace. + * Device erasure details with erasure completion status and erasureordestructionlog sas key */ - export interface WorkspaceEncryptionParameterResponse { + export interface DeviceErasureDetailsResponse { /** - * The type of variable that this is + * Holds the device erasure completion status */ - type: string; + deviceErasureStatus: string; /** - * The value which should be used for this field. + * Shared access key to download cleanup or destruction certificate for device */ - value?: outputs.databricks.v20230201.EncryptionResponse; - } - /** - * workspaceEncryptionParameterResponseProvideDefaults sets the appropriate defaults for WorkspaceEncryptionParameterResponse - */ - export function workspaceEncryptionParameterResponseProvideDefaults(val: WorkspaceEncryptionParameterResponse): WorkspaceEncryptionParameterResponse { - return { - ...val, - value: (val.value ? outputs.databricks.v20230201.encryptionResponseProvideDefaults(val.value) : undefined), - }; + erasureOrDestructionCertificateSasKey: string; } /** - * Encryption properties for databricks workspace + * Contains all the secrets of a Disk. */ - export interface WorkspacePropertiesResponseEncryption { + export interface DiskSecretResponse { /** - * Encryption entities definition for the workspace. + * Bit Locker key of the disk which can be used to unlock the disk to copy data. */ - entities: outputs.databricks.v20230201.EncryptionEntitiesDefinitionResponse; + bitLockerKey: string; + /** + * Serial number of the assigned disk. + */ + diskSerialNumber: string; } /** - * The workspace provider authorization. + * Preferences related to the Encryption. */ - export interface WorkspaceProviderAuthorizationResponse { + export interface EncryptionPreferencesResponse { /** - * The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources. + * Defines secondary layer of software-based encryption enablement. */ - principalId: string; + doubleEncryption?: string; /** - * The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group. + * Defines Hardware level encryption (Only for disk) */ - roleDefinitionId: string; - } - - } - - export namespace v20230501 { - export interface AccessConnectorPropertiesResponse { - /** - * Provisioning status of the accessConnector. - */ - provisioningState: string; + hardwareEncryption?: string; + } + /** + * encryptionPreferencesResponseProvideDefaults sets the appropriate defaults for EncryptionPreferencesResponse + */ + export function encryptionPreferencesResponseProvideDefaults(val: EncryptionPreferencesResponse): EncryptionPreferencesResponse { + return { + ...val, + doubleEncryption: (val.doubleEncryption) ?? "Disabled", + }; } /** - * Managed service identity (system assigned and/or user assigned identities) + * Export disk details */ - export interface ManagedServiceIdentityResponse { + export interface ExportDiskDetailsResponse { /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * Path to backed up manifest, only returned if enableManifestBackup is true. */ - principalId: string; + backupManifestCloudPath: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The relative path of the manifest file on the disk. */ - tenantId: string; + manifestFile: string; /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + * The Base16-encoded MD5 hash of the manifest file on the disk. */ - type: string; + manifestHash: string; + } + + /** + * Details of the filter files to be used for data transfer. + */ + export interface FilterFileDetailsResponse { /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + * Path of the file that contains the details of all items to transfer. */ - userAssignedIdentities?: {[key: string]: outputs.databricks.v20230501.UserAssignedIdentityResponse}; + filterFilePath: string; + /** + * Type of the filter file. + */ + filterFileType: string; } /** - * Metadata pertaining to creation and last modification of the resource. + * Managed identity properties. */ - export interface SystemDataResponse { + export interface IdentityPropertiesResponse { /** - * The timestamp of resource creation (UTC). + * Managed service identity type. */ - createdAt?: string; + type?: string; /** - * The identity that created the resource. + * User assigned identity properties. */ - createdBy?: string; + userAssigned?: outputs.databox.v20230301.UserAssignedPropertiesResponse; + } + + /** + * Import disk details + */ + export interface ImportDiskDetailsResponse { /** - * The type of identity that created the resource. + * Path to backed up manifest, only returned if enableManifestBackup is true. */ - createdByType?: string; + backupManifestCloudPath: string; /** - * The timestamp of resource last modification (UTC) + * BitLocker key used to encrypt the disk. */ - lastModifiedAt?: string; + bitLockerKey: string; /** - * The identity that last modified the resource. + * The relative path of the manifest file on the disk. */ - lastModifiedBy?: string; + manifestFile: string; /** - * The type of identity that last modified the resource. + * The Base16-encoded MD5 hash of the manifest file on the disk. */ - lastModifiedByType?: string; + manifestHash: string; } /** - * User assigned identity properties + * Job Delay Notification details */ - export interface UserAssignedIdentityResponse { + export interface JobDelayDetailsResponse { /** - * The client ID of the assigned identity. + * Description of the delay. */ - clientId: string; + description: string; /** - * The principal ID of the assigned identity. + * Delay Error code */ - principalId: string; + errorCode: string; + /** + * Timestamp when the delay notification was resolved. + */ + resolutionTime: string; + /** + * Timestamp when the delay notification was created. + */ + startTime: string; + /** + * Status of notification + */ + status: string; } - } -} - -export namespace datacatalog { - /** - * User principals. - */ - export interface PrincipalsResponse { - /** - * Object Id for the user - */ - objectId?: string; /** - * UPN of the user. + * Additional delivery info. */ - upn?: string; - } + export interface JobDeliveryInfoResponse { + /** + * Scheduled date time. + */ + scheduledDateTime?: string; + } - export namespace v20160330 { /** - * User principals. + * Job stages. */ - export interface PrincipalsResponse { + export interface JobStagesResponse { /** - * Object Id for the user + * Delay information for the job stages. */ - objectId?: string; + delayInformation: outputs.databox.v20230301.JobDelayDetailsResponse[]; /** - * UPN of the user. + * Display name of the job stage. */ - upn?: string; + displayName: string; + /** + * Job Stage Details + */ + jobStageDetails: any; + /** + * Name of the job stage. + */ + stageName: string; + /** + * Status of the job stage. + */ + stageStatus: string; + /** + * Time for the job stage in UTC ISO 8601 format. + */ + stageTime: string; } - } -} - -export namespace datadog { - export interface DatadogApiKeyResponse { - /** - * The time of creation of the API key. - */ - created?: string; - /** - * The user that created the API key. - */ - createdBy?: string; /** - * The value of the API key. + * Encryption key containing details about key to encrypt different keys. */ - key: string; + export interface KeyEncryptionKeyResponse { + /** + * Managed identity properties used for key encryption. + */ + identityProperties?: outputs.databox.v20230301.IdentityPropertiesResponse; + /** + * Type of encryption key used for key encryption. + */ + kekType: string; + /** + * Key encryption key. It is required in case of Customer managed KekType. + */ + kekUrl?: string; + /** + * Kek vault resource id. It is required in case of Customer managed KekType. + */ + kekVaultResourceID?: string; + } /** - * The name of the API key. + * keyEncryptionKeyResponseProvideDefaults sets the appropriate defaults for KeyEncryptionKeyResponse */ - name?: string; - } + export function keyEncryptionKeyResponseProvideDefaults(val: KeyEncryptionKeyResponse): KeyEncryptionKeyResponse { + return { + ...val, + kekType: (val.kekType) ?? "MicrosoftManaged", + }; + } - export interface DatadogHostMetadataResponse { /** - * The agent version. + * Last Mitigation Action Performed On Job */ - agentVersion?: string; - installMethod?: outputs.datadog.DatadogInstallMethodResponse; - logsAgent?: outputs.datadog.DatadogLogsAgentResponse; - } + export interface LastMitigationActionOnJobResponse { + /** + * Action performed date time + */ + actionDateTimeInUtc?: string; + /** + * Resolution code provided by customer + */ + customerResolution?: string; + /** + * Action performed by customer, + * possibility is that mitigation might happen by customer or service or by ops + */ + isPerformedByCustomer?: boolean; + } - export interface DatadogHostResponse { - /** - * The aliases for the host. - */ - aliases?: string[]; /** - * The Datadog integrations reporting metrics for the host. + * Details of the managed disks. */ - apps?: string[]; - meta?: outputs.datadog.DatadogHostMetadataResponse; + export interface ManagedDiskDetailsResponse { + /** + * Account Type of the data to be transferred. + * Expected value is 'ManagedDisk'. + */ + dataAccountType: "ManagedDisk"; + /** + * Resource Group Id of the compute disks. + */ + resourceGroupId: string; + /** + * Resource Id of the storage account that can be used to copy the vhd for staging. + */ + stagingStorageAccountId: string; + } /** - * The name of the host. + * managedDiskDetailsResponseProvideDefaults sets the appropriate defaults for ManagedDiskDetailsResponse */ - name?: string; - } + export function managedDiskDetailsResponseProvideDefaults(val: ManagedDiskDetailsResponse): ManagedDiskDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } - export interface DatadogInstallMethodResponse { - /** - * The installer version. - */ - installerVersion?: string; - /** - * The tool. - */ - tool?: string; /** - * The tool version. + * Notification preference for a job stage. */ - toolVersion?: string; - } - - export interface DatadogLogsAgentResponse { + export interface NotificationPreferenceResponse { + /** + * Notification is required or not. + */ + sendNotification: boolean; + /** + * Name of the stage. + */ + stageName: string; + } /** - * The transport. + * notificationPreferenceResponseProvideDefaults sets the appropriate defaults for NotificationPreferenceResponse */ - transport?: string; - } + export function notificationPreferenceResponseProvideDefaults(val: NotificationPreferenceResponse): NotificationPreferenceResponse { + return { + ...val, + sendNotification: (val.sendNotification) ?? true, + }; + } - /** - * Datadog organization properties - */ - export interface DatadogOrganizationPropertiesResponse { - /** - * Id of the Datadog organization. - */ - id?: string; /** - * Name of the Datadog organization. + * Package carrier details. */ - name?: string; - } + export interface PackageCarrierDetailsResponse { + /** + * Carrier Account Number of customer for customer disk. + */ + carrierAccountNumber?: string; + /** + * Name of the carrier. + */ + carrierName?: string; + /** + * Tracking Id of shipment. + */ + trackingId?: string; + } - export interface IdentityPropertiesResponse { - /** - * The identity ID. - */ - principalId: string; - /** - * The tenant ID of resource. - */ - tenantId: string; /** - * Identity type + * package carrier info */ - type?: string; - } + export interface PackageCarrierInfoResponse { + /** + * Name of the carrier. + */ + carrierName?: string; + /** + * Tracking Id of shipment. + */ + trackingId?: string; + } - /** - * The definition of a linked resource. - */ - export interface LinkedResourceResponse { /** - * The ARM id of the linked resource. + * package shipping details */ - id?: string; - } + export interface PackageShippingDetailsResponse { + /** + * Name of the carrier. + */ + carrierName: string; + /** + * Tracking Id of shipment. + */ + trackingId: string; + /** + * Url where shipment can be tracked. + */ + trackingUrl: string; + } - /** - * Properties specific to the monitor resource. - */ - export interface MonitorPropertiesResponse { - /** - * Datadog organization properties - */ - datadogOrganizationProperties?: outputs.datadog.DatadogOrganizationPropertiesResponse; - liftrResourceCategory: string; - /** - * The priority of the resource. - */ - liftrResourcePreference: number; - /** - * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. - */ - marketplaceSubscriptionStatus: string; /** - * Flag specifying if the resource monitoring is enabled or disabled. + * Preferences related to the order */ - monitoringStatus?: string; - provisioningState: string; + export interface PreferencesResponse { + /** + * Preferences related to the Encryption. + */ + encryptionPreferences?: outputs.databox.v20230301.EncryptionPreferencesResponse; + /** + * Preferred data center region. + */ + preferredDataCenterRegion?: string[]; + /** + * Optional Preferences related to the reverse shipment logistics of the sku. + */ + reverseTransportPreferences?: outputs.databox.v20230301.TransportPreferencesResponse; + /** + * Preferences related to the Access Tier of storage accounts. + */ + storageAccountAccessTierPreferences?: string[]; + /** + * Preferences related to the shipment logistics of the sku. + */ + transportPreferences?: outputs.databox.v20230301.TransportPreferencesResponse; + } /** - * User info + * preferencesResponseProvideDefaults sets the appropriate defaults for PreferencesResponse */ - userInfo?: outputs.datadog.UserInfoResponse; - } + export function preferencesResponseProvideDefaults(val: PreferencesResponse): PreferencesResponse { + return { + ...val, + encryptionPreferences: (val.encryptionPreferences ? outputs.databox.v20230301.encryptionPreferencesResponseProvideDefaults(val.encryptionPreferences) : undefined), + }; + } - /** - * The properties of a resource currently being monitored by the Datadog monitor resource. - */ - export interface MonitoredResourceResponse { - /** - * The ARM id of the resource. - */ - id?: string; - /** - * Reason for why the resource is sending logs (or why it is not sending). - */ - reasonForLogsStatus?: string; - /** - * Reason for why the resource is sending metrics (or why it is not sending). - */ - reasonForMetricsStatus?: string; - /** - * Flag indicating if resource is sending logs to Datadog. - */ - sendingLogs?: boolean; /** - * Flag indicating if resource is sending metrics to Datadog. + * Msi identity details of the resource */ - sendingMetrics?: boolean; - } - - export interface ResourceSkuResponse { + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + /** + * User Assigned Identities + */ + userAssignedIdentities?: {[key: string]: outputs.databox.v20230301.UserAssignedIdentityResponse}; + } /** - * Name of the SKU. + * resourceIdentityResponseProvideDefaults sets the appropriate defaults for ResourceIdentityResponse */ - name: string; - } + export function resourceIdentityResponseProvideDefaults(val: ResourceIdentityResponse): ResourceIdentityResponse { + return { + ...val, + type: (val.type) ?? "None", + }; + } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; /** - * The identity that last modified the resource. + * Reverse Shipping Address and contact details for a job. */ - lastModifiedBy?: string; + export interface ReverseShippingDetailsResponse { + /** + * Contact Info. + */ + contactDetails?: outputs.databox.v20230301.ContactInfoResponse; + /** + * A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. + * Read only field + */ + isUpdated: boolean; + /** + * Shipping address where customer wishes to receive the device. + */ + shippingAddress?: outputs.databox.v20230301.ShippingAddressResponse; + } /** - * The type of identity that last modified the resource. + * reverseShippingDetailsResponseProvideDefaults sets the appropriate defaults for ReverseShippingDetailsResponse */ - lastModifiedByType?: string; - } + export function reverseShippingDetailsResponseProvideDefaults(val: ReverseShippingDetailsResponse): ReverseShippingDetailsResponse { + return { + ...val, + shippingAddress: (val.shippingAddress ? outputs.databox.v20230301.shippingAddressResponseProvideDefaults(val.shippingAddress) : undefined), + }; + } - /** - * User info - */ - export interface UserInfoResponse { - /** - * Email of the user used by Datadog for contacting them if needed - */ - emailAddress?: string; - /** - * Name of the user - */ - name?: string; /** - * Phone number of the user used by Datadog for contacting them if needed + * Credential details of the shares in account. */ - phoneNumber?: string; - } - - export namespace v20220601 { - export interface DatadogApiKeyResponse { + export interface ShareCredentialDetailsResponse { /** - * The time of creation of the API key. + * Password for the share. */ - created?: string; + password: string; /** - * The user that created the API key. + * Name of the share. */ - createdBy?: string; + shareName: string; /** - * The value of the API key. + * Type of the share. */ - key: string; + shareType: string; /** - * The name of the API key. + * Access protocols supported on the device. */ - name?: string; - } - - export interface DatadogHostMetadataResponse { + supportedAccessProtocols: string[]; /** - * The agent version. + * User name for the share. */ - agentVersion?: string; - installMethod?: outputs.datadog.v20220601.DatadogInstallMethodResponse; - logsAgent?: outputs.datadog.v20220601.DatadogLogsAgentResponse; + userName: string; } - export interface DatadogHostResponse { + /** + * Shipping address where customer wishes to receive the device. + */ + export interface ShippingAddressResponse { /** - * The aliases for the host. + * Type of address. */ - aliases?: string[]; + addressType?: string; /** - * The Datadog integrations reporting metrics for the host. + * Name of the City. */ - apps?: string[]; - meta?: outputs.datadog.v20220601.DatadogHostMetadataResponse; + city?: string; /** - * The name of the host. + * Name of the company. */ - name?: string; - } - - export interface DatadogInstallMethodResponse { + companyName?: string; /** - * The installer version. + * Name of the Country. */ - installerVersion?: string; + country: string; /** - * The tool. + * Postal code. */ - tool?: string; + postalCode?: string; /** - * The tool version. + * Flag to indicate if customer has chosen to skip default address validation */ - toolVersion?: string; - } - - export interface DatadogLogsAgentResponse { + skipAddressValidation?: boolean; /** - * The transport. + * Name of the State or Province. */ - transport?: string; - } - - /** - * Datadog organization properties - */ - export interface DatadogOrganizationPropertiesResponse { + stateOrProvince?: string; /** - * Id of the Datadog organization. + * Street Address line 1. */ - id?: string; + streetAddress1: string; /** - * Name of the Datadog organization. + * Street Address line 2. */ - name?: string; + streetAddress2?: string; + /** + * Street Address line 3. + */ + streetAddress3?: string; + /** + * Tax Identification Number + */ + taxIdentificationNumber?: string; + /** + * Extended Zip Code. + */ + zipExtendedCode?: string; + } + /** + * shippingAddressResponseProvideDefaults sets the appropriate defaults for ShippingAddressResponse + */ + export function shippingAddressResponseProvideDefaults(val: ShippingAddressResponse): ShippingAddressResponse { + return { + ...val, + addressType: (val.addressType) ?? "None", + }; } - export interface IdentityPropertiesResponse { + /** + * The Sku. + */ + export interface SkuResponse { /** - * The identity ID. + * The display name of the sku. */ - principalId: string; + displayName?: string; /** - * The tenant ID of resource. + * The sku family. */ - tenantId: string; + family?: string; /** - * Identity type + * The sku name. */ - type?: string; + name: string; } /** - * The definition of a linked resource. + * Details for the storage account. */ - export interface LinkedResourceResponse { + export interface StorageAccountDetailsResponse { /** - * The ARM id of the linked resource. + * Account Type of the data to be transferred. + * Expected value is 'StorageAccount'. */ - id?: string; + dataAccountType: "StorageAccount"; + /** + * Storage Account Resource Id. + */ + storageAccountId: string; + } + /** + * storageAccountDetailsResponseProvideDefaults sets the appropriate defaults for StorageAccountDetailsResponse + */ + export function storageAccountDetailsResponseProvideDefaults(val: StorageAccountDetailsResponse): StorageAccountDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; } /** - * Properties specific to the monitor resource. + * Provides details about resource creation and update time */ - export interface MonitorPropertiesResponse { + export interface SystemDataResponse { /** - * Datadog organization properties + * The timestamp of resource creation (UTC) */ - datadogOrganizationProperties?: outputs.datadog.v20220601.DatadogOrganizationPropertiesResponse; - liftrResourceCategory: string; + createdAt: string; /** - * The priority of the resource. + * A string identifier for the identity that created the resource */ - liftrResourcePreference: number; + createdBy: string; /** - * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. + * The type of identity that created the resource: user, application, managedIdentity */ - marketplaceSubscriptionStatus: string; + createdByType: string; /** - * Flag specifying if the resource monitoring is enabled or disabled. + * The timestamp of resource last modification (UTC) */ - monitoringStatus?: string; - provisioningState: string; + lastModifiedAt: string; /** - * User info + * A string identifier for the identity that last modified the resource */ - userInfo?: outputs.datadog.v20220601.UserInfoResponse; + lastModifiedBy: string; + /** + * The type of identity that last modified the resource: user, application, managedIdentity + */ + lastModifiedByType: string; } /** - * The properties of a resource currently being monitored by the Datadog monitor resource. + * Details to transfer all data. */ - export interface MonitoredResourceResponse { + export interface TransferAllDetailsResponse { /** - * The ARM id of the resource. + * Type of the account of data */ - id?: string; + dataAccountType: string; /** - * Reason for why the resource is sending logs (or why it is not sending). + * To indicate if all Azure blobs have to be transferred */ - reasonForLogsStatus?: string; + transferAllBlobs?: boolean; /** - * Reason for why the resource is sending metrics (or why it is not sending). + * To indicate if all Azure Files have to be transferred */ - reasonForMetricsStatus?: string; + transferAllFiles?: boolean; + } + /** + * transferAllDetailsResponseProvideDefaults sets the appropriate defaults for TransferAllDetailsResponse + */ + export function transferAllDetailsResponseProvideDefaults(val: TransferAllDetailsResponse): TransferAllDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } + + /** + * Configuration for defining the transfer of data. + */ + export interface TransferConfigurationResponse { /** - * Flag indicating if resource is sending logs to Datadog. + * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll */ - sendingLogs?: boolean; + transferAllDetails?: outputs.databox.v20230301.TransferConfigurationResponseTransferAllDetails; /** - * Flag indicating if resource is sending metrics to Datadog. + * Type of the configuration for transfer. */ - sendingMetrics?: boolean; + transferConfigurationType: string; + /** + * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. + */ + transferFilterDetails?: outputs.databox.v20230301.TransferConfigurationResponseTransferFilterDetails; + } + /** + * transferConfigurationResponseProvideDefaults sets the appropriate defaults for TransferConfigurationResponse + */ + export function transferConfigurationResponseProvideDefaults(val: TransferConfigurationResponse): TransferConfigurationResponse { + return { + ...val, + transferAllDetails: (val.transferAllDetails ? outputs.databox.v20230301.transferConfigurationResponseTransferAllDetailsProvideDefaults(val.transferAllDetails) : undefined), + transferFilterDetails: (val.transferFilterDetails ? outputs.databox.v20230301.transferConfigurationResponseTransferFilterDetailsProvideDefaults(val.transferFilterDetails) : undefined), + }; } - export interface ResourceSkuResponse { + /** + * Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll + */ + export interface TransferConfigurationResponseTransferAllDetails { /** - * Name of the SKU. + * Details to transfer all data. */ - name: string; + include?: outputs.databox.v20230301.TransferAllDetailsResponse; + } + /** + * transferConfigurationResponseTransferAllDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferAllDetails + */ + export function transferConfigurationResponseTransferAllDetailsProvideDefaults(val: TransferConfigurationResponseTransferAllDetails): TransferConfigurationResponseTransferAllDetails { + return { + ...val, + include: (val.include ? outputs.databox.v20230301.transferAllDetailsResponseProvideDefaults(val.include) : undefined), + }; } /** - * Metadata pertaining to creation and last modification of the resource. + * Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. */ - export interface SystemDataResponse { + export interface TransferConfigurationResponseTransferFilterDetails { /** - * The timestamp of resource creation (UTC). + * Details of the filtering the transfer of data. */ - createdAt?: string; + include?: outputs.databox.v20230301.TransferFilterDetailsResponse; + } + /** + * transferConfigurationResponseTransferFilterDetailsProvideDefaults sets the appropriate defaults for TransferConfigurationResponseTransferFilterDetails + */ + export function transferConfigurationResponseTransferFilterDetailsProvideDefaults(val: TransferConfigurationResponseTransferFilterDetails): TransferConfigurationResponseTransferFilterDetails { + return { + ...val, + include: (val.include ? outputs.databox.v20230301.transferFilterDetailsResponseProvideDefaults(val.include) : undefined), + }; + } + + /** + * Details of the filtering the transfer of data. + */ + export interface TransferFilterDetailsResponse { /** - * The identity that created the resource. + * Filter details to transfer Azure files. */ - createdBy?: string; + azureFileFilterDetails?: outputs.databox.v20230301.AzureFileFilterDetailsResponse; /** - * The type of identity that created the resource. + * Filter details to transfer blobs. */ - createdByType?: string; + blobFilterDetails?: outputs.databox.v20230301.BlobFilterDetailsResponse; /** - * The timestamp of resource last modification (UTC) + * Type of the account of data. */ - lastModifiedAt?: string; + dataAccountType: string; /** - * The identity that last modified the resource. + * Details of the filter files to be used for data transfer. */ - lastModifiedBy?: string; + filterFileDetails?: outputs.databox.v20230301.FilterFileDetailsResponse[]; + } + /** + * transferFilterDetailsResponseProvideDefaults sets the appropriate defaults for TransferFilterDetailsResponse + */ + export function transferFilterDetailsResponseProvideDefaults(val: TransferFilterDetailsResponse): TransferFilterDetailsResponse { + return { + ...val, + dataAccountType: (val.dataAccountType) ?? "StorageAccount", + }; + } + + /** + * Preferences related to the shipment logistics of the sku + */ + export interface TransportPreferencesResponse { /** - * The type of identity that last modified the resource. + * Read only property which indicates whether transport preferences has been updated or not after device is prepared. */ - lastModifiedByType?: string; + isUpdated: boolean; + /** + * Indicates Shipment Logistics type that the customer preferred. + */ + preferredShipmentType: string; } /** - * User info + * Unencrypted credentials for accessing device. */ - export interface UserInfoResponse { + export interface UnencryptedCredentialsResponse { /** - * Email of the user used by Datadog for contacting them if needed + * Name of the job. */ - emailAddress?: string; + jobName: string; /** - * Name of the user + * Secrets related to this job. */ - name?: string; + jobSecrets: outputs.databox.v20230301.CustomerDiskJobSecretsResponse | outputs.databox.v20230301.DataBoxDiskJobSecretsResponse | outputs.databox.v20230301.DataBoxHeavyJobSecretsResponse | outputs.databox.v20230301.DataboxJobSecretsResponse; + } + + /** + * Class defining User assigned identity details. + */ + export interface UserAssignedIdentityResponse { /** - * Phone number of the user used by Datadog for contacting them if needed + * The client id of user assigned identity. */ - phoneNumber?: string; + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } + + /** + * User assigned identity properties. + */ + export interface UserAssignedPropertiesResponse { + /** + * Arm resource id for user assigned identity to be used to fetch MSI token. + */ + resourceId?: string; } } } -export namespace datafactory { +export namespace databoxedge { /** - * Activity dependency information. + * The shipping address of the customer. */ - export interface ActivityDependencyResponse { + export interface AddressResponse { /** - * Activity name. + * The address line1. */ - activity: string; + addressLine1?: string; /** - * Match-Condition for the dependency. + * The address line2. */ - dependencyConditions: string[]; - } - - /** - * Execution policy for an activity. - */ - export interface ActivityPolicyResponse { + addressLine2?: string; /** - * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. + * The address line3. */ - retry?: any; + addressLine3?: string; /** - * Interval between each retry attempt (in seconds). The default is 30 sec. + * The city name. */ - retryIntervalInSeconds?: number; + city?: string; /** - * When set to true, Input from activity is considered as secure and will not be logged to monitoring. + * The country name. */ - secureInput?: boolean; + country: string; /** - * When set to true, Output from activity is considered as secure and will not be logged to monitoring. + * The postal code. */ - secureOutput?: boolean; + postalCode?: string; /** - * Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The state name. */ - timeout?: any; + state?: string; } /** - * Amazon Marketplace Web Service linked service. + * Represent the secrets intended for encryption with asymmetric key pair. */ - export interface AmazonMWSLinkedServiceResponse { + export interface AsymmetricEncryptedSecretResponse { /** - * The access key id used to access data. + * The algorithm used to encrypt "Value". */ - accessKeyId: any; + encryptionAlgorithm: string; /** - * List of tags that can be used for describing the linked service. + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. */ - annotations?: any[]; + encryptionCertThumbprint?: string; /** - * The integration runtime reference. + * The value of the secret. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + value: string; + } + + /** + * Authentication mechanism for IoT devices. + */ + export interface AuthenticationResponse { /** - * Linked service description. + * Symmetric key for authentication. */ - description?: string; + symmetricKey?: outputs.databoxedge.SymmetricKeyResponse; + } + + /** + * Azure container mapping of the endpoint. + */ + export interface AzureContainerInfoResponse { /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). */ - encryptedCredential?: string; + containerName: string; /** - * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) + * Storage format used for the file represented by the share. */ - endpoint: any; + dataFormat: string; /** - * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) + * ID of the storage account credential used to access storage. */ - marketplaceID: any; + storageAccountCredentialId: string; + } + + /** + * The mapping between a particular client IP and the type of access client has on the NFS share. + */ + export interface ClientAccessRightResponse { /** - * The Amazon MWS authentication token. + * Type of access to be allowed for the client. */ - mwsAuthToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + accessPermission: string; /** - * Parameters for linked service. + * IP of the client. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + client: string; + } + + /** + * Cni configuration + */ + export interface CniConfigResponse { /** - * The secret key used to access data. + * Pod Subnet */ - secretKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + podSubnet: string; /** - * The Amazon seller ID. + * Service subnet */ - sellerID: any; + serviceSubnet: string; /** - * Type of linked service. - * Expected value is 'AmazonMWS'. + * Cni type */ - type: "AmazonMWS"; + type: string; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Cni version */ - useEncryptedEndpoints?: any; + version: string; + } + + /** + * Compute infrastructure Resource + */ + export interface ComputeResourceResponse { /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * Memory in GB */ - useHostVerification?: any; + memoryInGB: number; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Processor count */ - usePeerVerification?: any; + processorCount: number; } /** - * Amazon Marketplace Web Service dataset. + * Contains all the contact details of the customer. */ - export interface AmazonMWSObjectDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface ContactDetailsResponse { /** - * Dataset description. + * The name of the company. */ - description?: string; + companyName: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The contact person name. */ - folder?: outputs.datafactory.DatasetResponseFolder; + contactPerson: string; /** - * Linked service reference. + * The email list. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + emailList: string[]; /** - * Parameters for dataset. + * The phone number. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; - /** - * Type of dataset. - * Expected value is 'AmazonMWSObject'. - */ - type: "AmazonMWSObject"; + phone: string; } /** - * A copy activity Amazon Marketplace Web Service source. + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. */ - export interface AmazonMWSSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; + export interface DataResidencyResponse { /** - * Copy source type. - * Expected value is 'AmazonMWSSource'. + * DataResidencyType enum */ - type: "AmazonMWSSource"; + type?: string; } /** - * AmazonRdsForOracle database. + * Details about Edge Profile for the resource */ - export interface AmazonRdsForOracleLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; + export interface EdgeProfileResponse { /** - * Parameters for linked service. + * Edge Profile Subscription */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + subscription?: outputs.databoxedge.EdgeProfileSubscriptionResponse; + } + + /** + * Subscription details for the Edge Profile + */ + export interface EdgeProfileSubscriptionResponse { /** - * The Azure key vault secret reference of password in connection string. + * ARM ID of the subscription */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; /** - * Type of linked service. - * Expected value is 'AmazonRdsForOracle'. + * Edge Subscription Registration ID */ - type: "AmazonRdsForOracle"; + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; } /** - * The settings that will be leveraged for AmazonRdsForOracle source partitioning. + * Etcd configuration */ - export interface AmazonRdsForOraclePartitionSettingsResponse { - /** - * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; + export interface EtcdInfoResponse { /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * Etcd type */ - partitionLowerBound?: any; + type: string; /** - * Names of the physical partitions of AmazonRdsForOracle table. + * Etcd version */ - partitionNames?: any[]; + version: string; + } + + /** + * File source details. + */ + export interface FileSourceInfoResponse { /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * File share ID. */ - partitionUpperBound?: any; + shareId: string; } /** - * A copy activity AmazonRdsForOracle source. + * Image repository credential. */ - export interface AmazonRdsForOracleSourceResponse { + export interface ImageRepositoryCredentialResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Image repository url (e.g.: mcr.microsoft.com). */ - additionalColumns?: any; + imageRepositoryUrl: string; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Repository user password. */ - disableMetricsCollection?: any; + password?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Repository user name. */ - maxConcurrentConnections?: any; + userName: string; + } + + /** + * Metadata of IoT device/IoT Edge device to be configured. + */ + export interface IoTDeviceInfoResponse { /** - * AmazonRdsForOracle reader query. Type: string (or Expression with resultType string). + * Encrypted IoT device/IoT edge device connection string. */ - oracleReaderQuery?: any; + authentication?: outputs.databoxedge.AuthenticationResponse; /** - * The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string). + * ID of the IoT device/edge device. */ - partitionOption?: any; + deviceId: string; /** - * The settings that will be leveraged for AmazonRdsForOracle source partitioning. + * Host name for the IoT hub associated to the device. */ - partitionSettings?: outputs.datafactory.AmazonRdsForOraclePartitionSettingsResponse; + ioTHostHub: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Id for the IoT hub associated to the device. */ - queryTimeout?: any; + ioTHostHubId?: string; + } + + /** + * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + */ + export interface IoTEdgeAgentInfoResponse { /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Name of the IoT edge agent image. */ - sourceRetryCount?: any; + imageName: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Image repository details. */ - sourceRetryWait?: any; + imageRepository?: outputs.databoxedge.ImageRepositoryCredentialResponse; /** - * Copy source type. - * Expected value is 'AmazonRdsForOracleSource'. + * Image Tag. */ - type: "AmazonRdsForOracleSource"; + tag: string; } /** - * The AmazonRdsForOracle database dataset. + * Kubernetes cluster configuration */ - export interface AmazonRdsForOracleTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface KubernetesClusterInfoResponse { /** - * Dataset description. + * Etcd configuration */ - description?: string; + etcdInfo: outputs.databoxedge.EtcdInfoResponse; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Kubernetes cluster nodes */ - folder?: outputs.datafactory.DatasetResponseFolder; + nodes: outputs.databoxedge.NodeInfoResponse[]; /** - * Linked service reference. + * Kubernetes cluster version */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + version: string; + } + + /** + * Kubernetes node IP configuration + */ + export interface KubernetesIPConfigurationResponse { /** - * Parameters for dataset. + * IP address of the Kubernetes node. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + ipAddress?: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Port of the Kubernetes node. */ - schema?: any; + port: string; + } + + /** + * Kubernetes role compute resource + */ + export interface KubernetesRoleComputeResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Memory in bytes */ - structure?: any; + memoryInBytes: number; /** - * The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). + * Processor count */ - table?: any; + processorCount: number; /** - * Type of dataset. - * Expected value is 'AmazonRdsForOracleTable'. + * VM profile */ - type: "AmazonRdsForOracleTable"; + vmProfile: string; } /** - * Amazon RDS for SQL Server linked service. + * Kubernetes role network resource */ - export interface AmazonRdsForSqlServerLinkedServiceResponse { - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; + export interface KubernetesRoleNetworkResponse { /** - * The integration runtime reference. + * Cni configuration */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + cniConfig: outputs.databoxedge.CniConfigResponse; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Load balancer configuration */ - connectionString: any; + loadBalancerConfig: outputs.databoxedge.LoadBalancerConfigResponse; + } + + /** + * Kubernetes role resources + */ + export interface KubernetesRoleResourcesResponse { /** - * Linked service description. + * Kubernetes role compute resource */ - description?: string; + compute: outputs.databoxedge.KubernetesRoleComputeResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Kubernetes role network resource */ - encryptedCredential?: string; + network: outputs.databoxedge.KubernetesRoleNetworkResponse; /** - * Parameters for linked service. + * Kubernetes role storage resource */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + storage?: outputs.databoxedge.KubernetesRoleStorageResponse; + } + + /** + * Kubernetes storage class info. + */ + export interface KubernetesRoleStorageClassInfoResponse { /** - * The on-premises Windows authentication password. + * Storage class name. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + name: string; /** - * Type of linked service. - * Expected value is 'AmazonRdsForSqlServer'. + * If provisioned storage is posix compliant. */ - type: "AmazonRdsForSqlServer"; + posixCompliant: string; /** - * The on-premises Windows authentication user name. Type: string (or Expression with resultType string). + * Storage class type. */ - userName?: any; + type: string; } /** - * A copy activity Amazon RDS for SQL Server source. + * Kubernetes role storage resource */ - export interface AmazonRdsForSqlServerSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; + export interface KubernetesRoleStorageResponse { /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + * Mount points of shares in role(s). */ - isolationLevel?: any; + endpoints?: outputs.databoxedge.MountPointMapResponse[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Kubernetes storage class info. */ - maxConcurrentConnections?: any; + storageClasses: outputs.databoxedge.KubernetesRoleStorageClassInfoResponse[]; + } + + /** + * Load balancer configuration + */ + export interface LoadBalancerConfigResponse { /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + * Load balancer type */ - partitionOption?: any; + type: string; /** - * The settings that will be leveraged for Sql source partitioning. + * Load balancer version */ - partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; + version: string; + } + + /** + * Metric configuration. + */ + export interface MetricConfigurationResponse { /** - * Which additional types to produce. + * Host name for the IoT hub associated to the device. */ - produceAdditionalTypes?: any; + counterSets: outputs.databoxedge.MetricCounterSetResponse[]; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The MDM account to which the counters should be pushed. */ - queryTimeout?: any; + mdmAccount?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified */ - sourceRetryCount?: any; + metricNameSpace?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The Resource ID on which the metrics should be pushed. */ - sourceRetryWait?: any; + resourceId: string; + } + + /** + * The metric counter + */ + export interface MetricCounterResponse { /** - * SQL reader query. Type: string (or Expression with resultType string). + * The additional dimensions to be added to metric. */ - sqlReaderQuery?: any; + additionalDimensions?: outputs.databoxedge.MetricDimensionResponse[]; /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + * The dimension filter. */ - sqlReaderStoredProcedureName?: any; + dimensionFilter?: outputs.databoxedge.MetricDimensionResponse[]; /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * The instance from which counter should be collected. */ - storedProcedureParameters?: any; + instance?: string; /** - * Copy source type. - * Expected value is 'AmazonRdsForSqlServerSource'. + * The counter name. */ - type: "AmazonRdsForSqlServerSource"; + name: string; } /** - * The Amazon RDS for SQL Server dataset. + * The metric counter set */ - export interface AmazonRdsForSqlServerTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface MetricCounterSetResponse { /** - * Dataset description. + * The counters that should be collected in this set. */ - description?: string; + counters: outputs.databoxedge.MetricCounterResponse[]; + } + + /** + * The metric dimension + */ + export interface MetricDimensionResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The dimension value. */ - folder?: outputs.datafactory.DatasetResponseFolder; + sourceName: string; /** - * Linked service reference. + * The dimension type. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + sourceType: string; + } + + /** + * The share mount point. + */ + export interface MountPointMapResponse { /** - * Parameters for dataset. + * Mount point for the share. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + mountPoint: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Mounting type. */ - schema?: any; + mountType: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * ID of the role to which share is mounted. */ - structure?: any; + roleId: string; /** - * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + * Role type. */ - table?: any; + roleType: string; /** - * Type of dataset. - * Expected value is 'AmazonRdsForSqlServerTable'. + * ID of the share mounted to the role VM. */ - type: "AmazonRdsForSqlServerTable"; + shareId: string; } /** - * Linked service for Amazon Redshift. + * Kubernetes node info */ - export interface AmazonRedshiftLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). - */ - database: any; + export interface NodeInfoResponse { /** - * Linked service description. + * IP Configuration of the Kubernetes node. */ - description?: string; + ipConfiguration?: outputs.databoxedge.KubernetesIPConfigurationResponse[]; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Node name. */ - encryptedCredential?: string; + name: string; /** - * Parameters for linked service. + * Node type - Master/Worker */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + type: string; + } + + /** + * Represents a single status change. + */ + export interface OrderStatusResponse { /** - * The password of the Amazon Redshift source. + * Dictionary to hold generic information which is not stored + * by the already existing properties */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + additionalOrderDetails: {[key: string]: string}; /** - * The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). + * Comments related to this status change. */ - port?: any; + comments?: string; /** - * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). + * Status of the order as per the allowed status types. */ - server: any; + status: string; /** - * Type of linked service. - * Expected value is 'AmazonRedshift'. + * Tracking information related to the state in the ordering flow */ - type: "AmazonRedshift"; + trackingInformation: outputs.databoxedge.TrackingInfoResponse; /** - * The username of the Amazon Redshift source. Type: string (or Expression with resultType string). + * Time of status update. */ - username?: any; + updateDateTime: string; } /** - * A copy activity source for Amazon Redshift Source. + * Periodic timer event source. */ - export interface AmazonRedshiftSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; + export interface PeriodicTimerSourceInfoResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. */ - maxConcurrentConnections?: any; + schedule: string; /** - * Database query. Type: string (or Expression with resultType string). + * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. */ - query?: any; + startTime: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Topic where periodic events are published to IoT device. */ - queryTimeout?: any; + topic?: string; + } + + /** + * Fields for tracking refresh job on the share or container. + */ + export interface RefreshDetailsResponse { /** - * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. + * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. */ - redshiftUnloadSettings?: outputs.datafactory.RedshiftUnloadSettingsResponse; + errorManifestFile?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. */ - sourceRetryCount?: any; + inProgressRefreshJobId?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. */ - sourceRetryWait?: any; + lastCompletedRefreshJobTimeInUTC?: string; /** - * Copy source type. - * Expected value is 'AmazonRedshiftSource'. + * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. */ - type: "AmazonRedshiftSource"; + lastJob?: string; } /** - * The Amazon Redshift table dataset. + * Msi identity details of the resource */ - export interface AmazonRedshiftTableDatasetResponse { + export interface ResourceIdentityResponse { /** - * List of tags that can be used for describing the Dataset. + * Service Principal Id backing the Msi */ - annotations?: any[]; + principalId: string; /** - * Dataset description. + * Home Tenant Id */ - description?: string; + tenantId: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Identity type */ - folder?: outputs.datafactory.DatasetResponseFolder; + type?: string; + } + + /** + * Fields for tracking resource move + */ + export interface ResourceMoveDetailsResponse { /** - * Linked service reference. + * Denotes whether move operation is in progress */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + operationInProgress?: string; /** - * Parameters for dataset. + * Denotes the timeout of the operation to finish */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + operationInProgressLockTimeoutInUTC?: string; + } + + /** + * Compute role against which events will be raised. + */ + export interface RoleSinkInfoResponse { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Compute role ID. */ - schema?: any; + roleId: string; + } + + /** + * Holds device secret either as a KeyVault reference or as an encrypted value. + */ + export interface SecretResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Encrypted (using device public key) secret value. */ - structure?: any; + encryptedSecret?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; /** - * The Amazon Redshift table name. Type: string (or Expression with resultType string). + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). */ - table?: any; + keyVaultId?: string; + } + + /** + * Specifies the mapping between this particular user and the type of access he has on shares on this device. + */ + export interface ShareAccessRightResponse { /** - * This property will be retired. Please consider using schema + table properties instead. + * Type of access to be allowed on the share for this user. */ - tableName?: any; + accessType: string; /** - * Type of dataset. - * Expected value is 'AmazonRedshiftTable'. + * The share ID. */ - type: "AmazonRedshiftTable"; + shareId: string; } /** - * Linked service for Amazon S3 Compatible. + * The SKU type. */ - export interface AmazonS3CompatibleLinkedServiceResponse { - /** - * The access key identifier of the Amazon S3 Compatible Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; + export interface SkuResponse { /** - * List of tags that can be used for describing the linked service. + * SKU name. */ - annotations?: any[]; + name?: string; /** - * The integration runtime reference. + * The SKU tier. This is based on the SKU name. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + + /** + * Symmetric key for authentication. + */ + export interface SymmetricKeyResponse { /** - * Linked service description. + * Connection string based on the symmetric key. */ - description?: string; + connectionString?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The timestamp of resource creation (UTC). */ - encryptedCredential?: string; + createdAt?: string; /** - * If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). + * The identity that created the resource. */ - forcePathStyle?: any; + createdBy?: string; /** - * Parameters for linked service. + * The type of identity that created the resource. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + createdByType?: string; /** - * The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. + * The timestamp of resource last modification (UTC) */ - secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + lastModifiedAt?: string; /** - * This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). + * The identity that last modified the resource. */ - serviceUrl?: any; + lastModifiedBy?: string; /** - * Type of linked service. - * Expected value is 'AmazonS3Compatible'. + * The type of identity that last modified the resource. */ - type: "AmazonS3Compatible"; + lastModifiedByType?: string; } /** - * The location of Amazon S3 Compatible dataset. + * Tracking courier information. */ - export interface AmazonS3CompatibleLocationResponse { - /** - * Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string) - */ - bucketName?: any; + export interface TrackingInfoResponse { /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Name of the carrier used in the delivery. */ - fileName?: any; + carrierName?: string; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Serial number of the device being tracked. */ - folderPath?: any; + serialNumber?: string; /** - * Type of dataset storage location. - * Expected value is 'AmazonS3CompatibleLocation'. + * Tracking ID of the shipment. */ - type: "AmazonS3CompatibleLocation"; + trackingId?: string; /** - * Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string). + * Tracking URL of the shipment. */ - version?: any; + trackingUrl?: string; } /** - * Amazon S3 Compatible read settings. + * The mapping between a particular user and the access type on the SMB share. */ - export interface AmazonS3CompatibleReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; + export interface UserAccessRightResponse { /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * Type of access to be allowed for the user. */ - enablePartitionDiscovery?: any; + accessType: string; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * User ID (already existing in the device). */ - fileListPath?: any; + userId: string; + } + + export namespace v20210201 { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Represent the secrets intended for encryption with asymmetric key pair. */ - maxConcurrentConnections?: any; + export interface AsymmetricEncryptedSecretResponse { + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: string; + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + encryptionCertThumbprint?: string; + /** + * The value of the secret. + */ + value: string; + } + /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. */ - modifiedDatetimeEnd?: any; + export interface DataResidencyResponse { + /** + * DataResidencyType enum + */ + type?: string; + } + /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * Details about Edge Profile for the resource */ - modifiedDatetimeStart?: any; + export interface EdgeProfileResponse { + /** + * Edge Profile Subscription + */ + subscription?: outputs.databoxedge.v20210201.EdgeProfileSubscriptionResponse; + } + /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Subscription details for the Edge Profile */ - partitionRootPath?: any; + export interface EdgeProfileSubscriptionResponse { + /** + * ARM ID of the subscription + */ + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.v20210201.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; + } + /** - * The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string). + * Msi identity details of the resource */ - prefix?: any; + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Fields for tracking resource move */ - recursive?: any; + export interface ResourceMoveDetailsResponse { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: string; + /** + * Denotes the timeout of the operation to finish + */ + operationInProgressLockTimeoutInUTC?: string; + } + /** - * The read setting type. - * Expected value is 'AmazonS3CompatibleReadSettings'. + * Holds device secret either as a KeyVault reference or as an encrypted value. */ - type: "AmazonS3CompatibleReadSettings"; + export interface SecretResponse { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: outputs.databoxedge.v20210201.AsymmetricEncryptedSecretResponse; + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; + } + /** - * Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string). + * The SKU type. */ - wildcardFileName?: any; + export interface SkuResponse { + /** + * SKU name. + */ + name?: string; + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + /** - * Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string). + * Metadata pertaining to creation and last modification of the resource. */ - wildcardFolderPath?: any; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + } - /** - * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. - */ - export interface AmazonS3DatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). - */ - bucketName: any; - /** - * The data compression method used for the Amazon S3 object. - */ - compression?: outputs.datafactory.DatasetCompressionResponse; - /** - * Dataset description. - */ - description?: string; + export namespace v20210201preview { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Represent the secrets intended for encryption with asymmetric key pair. */ - folder?: outputs.datafactory.DatasetResponseFolder; + export interface AsymmetricEncryptedSecretResponse { + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: string; + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + encryptionCertThumbprint?: string; + /** + * The value of the secret. + */ + value: string; + } + /** - * The format of files. + * Details about Edge Profile for the resource */ - format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; + export interface EdgeProfileResponse { + /** + * Edge Profile Subscription + */ + subscription?: outputs.databoxedge.v20210201preview.EdgeProfileSubscriptionResponse; + } + /** - * The key of the Amazon S3 object. Type: string (or Expression with resultType string). + * Subscription details for the Edge Profile */ - key?: any; + export interface EdgeProfileSubscriptionResponse { + /** + * ARM ID of the subscription + */ + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.v20210201preview.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; + } + /** - * Linked service reference. + * Msi identity details of the resource */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). + * Fields for tracking resource move */ - modifiedDatetimeEnd?: any; + export interface ResourceMoveDetailsResponse { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: string; + /** + * Denotes the timeout of the operation to finish + */ + operationInProgressLockTimeoutInUTC?: string; + } + /** - * The start of S3 object's modified datetime. Type: string (or Expression with resultType string). + * Holds device secret either as a KeyVault reference or as an encrypted value. */ - modifiedDatetimeStart?: any; + export interface SecretResponse { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: outputs.databoxedge.v20210201preview.AsymmetricEncryptedSecretResponse; + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; + } + /** - * Parameters for dataset. + * Specifies the mapping between this particular user and the type of access he has on shares on this device. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface ShareAccessRightResponse { + /** + * Type of access to be allowed on the share for this user. + */ + accessType: string; + /** + * The share ID. + */ + shareId: string; + } + /** - * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). + * The SKU type. */ - prefix?: any; + export interface SkuResponse { + /** + * SKU name. + */ + name?: string; + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Metadata pertaining to creation and last modification of the resource. */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + } + + export namespace v20220301 { + /** + * The shipping address of the customer. */ - structure?: any; + export interface AddressResponse { + /** + * The address line1. + */ + addressLine1?: string; + /** + * The address line2. + */ + addressLine2?: string; + /** + * The address line3. + */ + addressLine3?: string; + /** + * The city name. + */ + city?: string; + /** + * The country name. + */ + country: string; + /** + * The postal code. + */ + postalCode?: string; + /** + * The state name. + */ + state?: string; + } + /** - * Type of dataset. - * Expected value is 'AmazonS3Object'. + * Represent the secrets intended for encryption with asymmetric key pair. */ - type: "AmazonS3Object"; + export interface AsymmetricEncryptedSecretResponse { + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: string; + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + encryptionCertThumbprint?: string; + /** + * The value of the secret. + */ + value: string; + } + /** - * The version for the S3 object. Type: string (or Expression with resultType string). + * Authentication mechanism for IoT devices. */ - version?: any; - } + export interface AuthenticationResponse { + /** + * Symmetric key for authentication. + */ + symmetricKey?: outputs.databoxedge.v20220301.SymmetricKeyResponse; + } - /** - * Linked service for Amazon S3. - */ - export interface AmazonS3LinkedServiceResponse { /** - * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). + * Azure container mapping of the endpoint. */ - accessKeyId?: any; + export interface AzureContainerInfoResponse { + /** + * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + */ + containerName: string; + /** + * Storage format used for the file represented by the share. + */ + dataFormat: string; + /** + * ID of the storage account credential used to access storage. + */ + storageAccountCredentialId: string; + } + /** - * List of tags that can be used for describing the linked service. + * The mapping between a particular client IP and the type of access client has on the NFS share. */ - annotations?: any[]; + export interface ClientAccessRightResponse { + /** + * Type of access to be allowed for the client. + */ + accessPermission: string; + /** + * IP of the client. + */ + client: string; + } + /** - * The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). + * Contains all the contact details of the customer. */ - authenticationType?: any; + export interface ContactDetailsResponse { + /** + * The name of the company. + */ + companyName: string; + /** + * The contact person name. + */ + contactPerson: string; + /** + * The email list. + */ + emailList: string[]; + /** + * The phone number. + */ + phone: string; + } + /** - * The integration runtime reference. + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + export interface DataResidencyResponse { + /** + * DataResidencyType enum + */ + type?: string; + } + /** - * Linked service description. + * Details about Edge Profile for the resource */ - description?: string; + export interface EdgeProfileResponse { + /** + * Edge Profile Subscription + */ + subscription?: outputs.databoxedge.v20220301.EdgeProfileSubscriptionResponse; + } + /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Subscription details for the Edge Profile */ - encryptedCredential?: string; + export interface EdgeProfileSubscriptionResponse { + /** + * ARM ID of the subscription + */ + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.v20220301.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; + } + /** - * Parameters for linked service. + * Metadata of IoT device/IoT Edge device to be configured. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface IoTDeviceInfoResponse { + /** + * Encrypted IoT device/IoT edge device connection string. + */ + authentication?: outputs.databoxedge.v20220301.AuthenticationResponse; + /** + * ID of the IoT device/edge device. + */ + deviceId: string; + /** + * Host name for the IoT hub associated to the device. + */ + ioTHostHub: string; + /** + * Id for the IoT hub associated to the device. + */ + ioTHostHubId?: string; + } + /** - * The secret access key of the Amazon S3 Identity and Access Management (IAM) user. + * Metric configuration. */ - secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface MetricConfigurationResponse { + /** + * Host name for the IoT hub associated to the device. + */ + counterSets: outputs.databoxedge.v20220301.MetricCounterSetResponse[]; + /** + * The MDM account to which the counters should be pushed. + */ + mdmAccount?: string; + /** + * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + */ + metricNameSpace?: string; + /** + * The Resource ID on which the metrics should be pushed. + */ + resourceId: string; + } + /** - * This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). + * The metric counter */ - serviceUrl?: any; + export interface MetricCounterResponse { + /** + * The additional dimensions to be added to metric. + */ + additionalDimensions?: outputs.databoxedge.v20220301.MetricDimensionResponse[]; + /** + * The dimension filter. + */ + dimensionFilter?: outputs.databoxedge.v20220301.MetricDimensionResponse[]; + /** + * The instance from which counter should be collected. + */ + instance?: string; + /** + * The counter name. + */ + name: string; + } + /** - * The session token for the S3 temporary security credential. + * The metric counter set */ - sessionToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface MetricCounterSetResponse { + /** + * The counters that should be collected in this set. + */ + counters: outputs.databoxedge.v20220301.MetricCounterResponse[]; + } + /** - * Type of linked service. - * Expected value is 'AmazonS3'. + * The metric dimension */ - type: "AmazonS3"; - } + export interface MetricDimensionResponse { + /** + * The dimension value. + */ + sourceName: string; + /** + * The dimension type. + */ + sourceType: string; + } - /** - * The location of amazon S3 dataset. - */ - export interface AmazonS3LocationResponse { /** - * Specify the bucketName of amazon S3. Type: string (or Expression with resultType string) + * The share mount point. */ - bucketName?: any; + export interface MountPointMapResponse { + /** + * Mount point for the share. + */ + mountPoint: string; + /** + * Mounting type. + */ + mountType: string; + /** + * ID of the role to which share is mounted. + */ + roleId: string; + /** + * Role type. + */ + roleType: string; + /** + * ID of the share mounted to the role VM. + */ + shareId: string; + } + /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Represents a single status change. */ - fileName?: any; + export interface OrderStatusResponse { + /** + * Dictionary to hold generic information which is not stored + * by the already existing properties + */ + additionalOrderDetails: {[key: string]: string}; + /** + * Comments related to this status change. + */ + comments?: string; + /** + * Status of the order as per the allowed status types. + */ + status: string; + /** + * Tracking information related to the state in the ordering flow + */ + trackingInformation: outputs.databoxedge.v20220301.TrackingInfoResponse; + /** + * Time of status update. + */ + updateDateTime: string; + } + /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Fields for tracking refresh job on the share or container. */ - folderPath?: any; + export interface RefreshDetailsResponse { + /** + * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + */ + errorManifestFile?: string; + /** + * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + */ + inProgressRefreshJobId?: string; + /** + * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + */ + lastCompletedRefreshJobTimeInUTC?: string; + /** + * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + */ + lastJob?: string; + } + /** - * Type of dataset storage location. - * Expected value is 'AmazonS3Location'. + * Msi identity details of the resource */ - type: "AmazonS3Location"; + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * Specify the version of amazon S3. Type: string (or Expression with resultType string). + * Fields for tracking resource move */ - version?: any; - } + export interface ResourceMoveDetailsResponse { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: string; + /** + * Denotes the timeout of the operation to finish + */ + operationInProgressLockTimeoutInUTC?: string; + } - /** - * Amazon S3 read settings. - */ - export interface AmazonS3ReadSettingsResponse { /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + * Holds device secret either as a KeyVault reference or as an encrypted value. */ - deleteFilesAfterCompletion?: any; + export interface SecretResponse { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: outputs.databoxedge.v20220301.AsymmetricEncryptedSecretResponse; + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; + } + /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the mapping between this particular user and the type of access he has on shares on this device. */ - disableMetricsCollection?: any; + export interface ShareAccessRightResponse { + /** + * Type of access to be allowed on the share for this user. + */ + accessType: string; + /** + * The share ID. + */ + shareId: string; + } + /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * The SKU type. */ - enablePartitionDiscovery?: any; + export interface SkuResponse { + /** + * SKU name. + */ + name?: string; + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * Symmetric key for authentication. */ - fileListPath?: any; + export interface SymmetricKeyResponse { + /** + * Connection string based on the symmetric key. + */ + connectionString?: outputs.databoxedge.v20220301.AsymmetricEncryptedSecretResponse; + } + /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Metadata pertaining to creation and last modification of the resource. */ - maxConcurrentConnections?: any; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * Tracking courier information. */ - modifiedDatetimeEnd?: any; + export interface TrackingInfoResponse { + /** + * Name of the carrier used in the delivery. + */ + carrierName?: string; + /** + * Serial number of the device being tracked. + */ + serialNumber?: string; + /** + * Tracking ID of the shipment. + */ + trackingId?: string; + /** + * Tracking URL of the shipment. + */ + trackingUrl?: string; + } + /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * The mapping between a particular user and the access type on the SMB share. */ - modifiedDatetimeStart?: any; + export interface UserAccessRightResponse { + /** + * Type of access to be allowed for the user. + */ + accessType: string; + /** + * User ID (already existing in the device). + */ + userId: string; + } + + } + + export namespace v20220401preview { /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * The shipping address of the customer. */ - partitionRootPath?: any; + export interface AddressResponse { + /** + * The address line1. + */ + addressLine1?: string; + /** + * The address line2. + */ + addressLine2?: string; + /** + * The address line3. + */ + addressLine3?: string; + /** + * The city name. + */ + city?: string; + /** + * The country name. + */ + country: string; + /** + * The postal code. + */ + postalCode?: string; + /** + * The state name. + */ + state?: string; + } + /** - * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). + * Represent the secrets intended for encryption with asymmetric key pair. */ - prefix?: any; + export interface AsymmetricEncryptedSecretResponse { + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: string; + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + encryptionCertThumbprint?: string; + /** + * The value of the secret. + */ + value: string; + } + /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * This contains the compute information */ - recursive?: any; + export interface ComputeVersionInformationResponse { + /** + * Azure Arc Version + */ + azureArcVersion?: string; + /** + * IOTEdge Version + */ + iotEdgeVersion?: string; + /** + * Kubernetes Version + */ + kubernetesVersion?: string; + } + /** - * The read setting type. - * Expected value is 'AmazonS3ReadSettings'. + * Contains all the contact details of the customer. */ - type: "AmazonS3ReadSettings"; + export interface ContactDetailsResponse { + /** + * The name of the company. + */ + companyName: string; + /** + * The contact person name. + */ + contactPerson: string; + /** + * The email list. + */ + emailList: string[]; + /** + * The phone number. + */ + phone: string; + } + /** - * AmazonS3 wildcardFileName. Type: string (or Expression with resultType string). + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. */ - wildcardFileName?: any; + export interface DataResidencyResponse { + /** + * DataResidencyType enum + */ + type?: string; + } + /** - * AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). + * Details about Edge Profile for the resource */ - wildcardFolderPath?: any; - } + export interface EdgeProfileResponse { + /** + * Edge Profile Subscription + */ + subscription?: outputs.databoxedge.v20220401preview.EdgeProfileSubscriptionResponse; + } - /** - * Linked service for AppFigures. - */ - export interface AppFiguresLinkedServiceResponse { /** - * List of tags that can be used for describing the linked service. + * Subscription details for the Edge Profile */ - annotations?: any[]; + export interface EdgeProfileSubscriptionResponse { + /** + * ARM ID of the subscription + */ + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.v20220401preview.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; + } + /** - * The client key for the AppFigures source. + * Represents a single status change. */ - clientKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface OrderStatusResponse { + /** + * Dictionary to hold generic information which is not stored + * by the already existing properties + */ + additionalOrderDetails: {[key: string]: string}; + /** + * Comments related to this status change. + */ + comments?: string; + /** + * Status of the order as per the allowed status types. + */ + status: string; + /** + * Tracking information related to the state in the ordering flow + */ + trackingInformation: outputs.databoxedge.v20220401preview.TrackingInfoResponse; + /** + * Time of status update. + */ + updateDateTime: string; + } + /** - * The integration runtime reference. + * Msi identity details of the resource */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * Linked service description. + * Fields for tracking resource move */ - description?: string; + export interface ResourceMoveDetailsResponse { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: string; + /** + * Denotes the timeout of the operation to finish + */ + operationInProgressLockTimeoutInUTC?: string; + } + /** - * Parameters for linked service. + * Holds device secret either as a KeyVault reference or as an encrypted value. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface SecretResponse { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: outputs.databoxedge.v20220401preview.AsymmetricEncryptedSecretResponse; + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; + } + /** - * The password of the AppFigures source. + * The SKU type. */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface SkuResponse { + /** + * SKU name. + */ + name?: string; + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + /** - * Type of linked service. - * Expected value is 'AppFigures'. + * Metadata pertaining to creation and last modification of the resource. */ - type: "AppFigures"; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * The username of the Appfigures source. Type: string (or Expression with resultType string). + * Tracking courier information. */ - userName: any; + export interface TrackingInfoResponse { + /** + * Name of the carrier used in the delivery. + */ + carrierName?: string; + /** + * Serial number of the device being tracked. + */ + serialNumber?: string; + /** + * Tracking ID of the shipment. + */ + trackingId?: string; + /** + * Tracking URL of the shipment. + */ + trackingUrl?: string; + } + } - /** - * Append value for a Variable of type Array. - */ - export interface AppendVariableActivityResponse { + export namespace v20230101preview { /** - * Activity depends on condition. + * The shipping address of the customer. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + export interface AddressResponse { + /** + * The address line1. + */ + addressLine1?: string; + /** + * The address line2. + */ + addressLine2?: string; + /** + * The address line3. + */ + addressLine3?: string; + /** + * The city name. + */ + city?: string; + /** + * The country name. + */ + country: string; + /** + * The postal code. + */ + postalCode?: string; + /** + * The state name. + */ + state?: string; + } + /** - * Activity description. + * Represent the secrets intended for encryption with asymmetric key pair. */ - description?: string; + export interface AsymmetricEncryptedSecretResponse { + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: string; + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + encryptionCertThumbprint?: string; + /** + * The value of the secret. + */ + value: string; + } + /** - * Activity name. + * Authentication mechanism for IoT devices. */ - name: string; + export interface AuthenticationResponse { + /** + * Symmetric key for authentication. + */ + symmetricKey?: outputs.databoxedge.v20230101preview.SymmetricKeyResponse; + } + /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Azure container mapping of the endpoint. */ - onInactiveMarkAs?: string; + export interface AzureContainerInfoResponse { + /** + * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + */ + containerName: string; + /** + * Storage format used for the file represented by the share. + */ + dataFormat: string; + /** + * ID of the storage account credential used to access storage. + */ + storageAccountCredentialId: string; + } + /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The mapping between a particular client IP and the type of access client has on the NFS share. */ - state?: string; + export interface ClientAccessRightResponse { + /** + * Type of access to be allowed for the client. + */ + accessPermission: string; + /** + * IP of the client. + */ + client: string; + } + /** - * Type of activity. - * Expected value is 'AppendVariable'. + * Cni configuration */ - type: "AppendVariable"; + export interface CniConfigResponse { + /** + * ComponentType of the Kubernetes node. + */ + componentType: string; + /** + * Pod Subnet + */ + podSubnet: string; + /** + * Service subnet + */ + serviceSubnet: string; + /** + * Cni type + */ + type: string; + /** + * Cni version + */ + version: string; + } + /** - * Activity user properties. + * Compute infrastructure Resource */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + export interface ComputeResourceResponse { + /** + * Memory in GB + */ + memoryInGB: number; + /** + * Processor count + */ + processorCount: number; + } + /** - * Value to be appended. Type: could be a static value matching type of the variable item or Expression with resultType matching type of the variable item + * This contains the compute information */ - value?: any; + export interface ComputeVersionInformationResponse { + /** + * Azure Arc Version + */ + azureArcVersion?: string; + /** + * IOTEdge Version + */ + iotEdgeVersion?: string; + /** + * Kubernetes Version + */ + kubernetesVersion?: string; + } + /** - * Name of the variable whose value needs to be appended to. + * Contains all the contact details of the customer. */ - variableName?: string; - } - - /** - * A wrapper for an ARM resource id - */ - export interface ArmIdWrapperResponse { - id: string; - } + export interface ContactDetailsResponse { + /** + * The name of the company. + */ + companyName: string; + /** + * The contact person name. + */ + contactPerson: string; + /** + * The email list. + */ + emailList: string[]; + /** + * The phone number. + */ + phone: string; + } - /** - * Linked service for Asana. - */ - export interface AsanaLinkedServiceResponse { /** - * List of tags that can be used for describing the linked service. + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. */ - annotations?: any[]; + export interface DataResidencyResponse { + /** + * DataResidencyType enum + */ + type?: string; + } + /** - * The api token for the Asana source. + * Details about Edge Profile for the resource */ - apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface EdgeProfileResponse { + /** + * Edge Profile Subscription + */ + subscription?: outputs.databoxedge.v20230101preview.EdgeProfileSubscriptionResponse; + } + /** - * The integration runtime reference. + * Subscription details for the Edge Profile */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. - */ - description?: string; + export interface EdgeProfileSubscriptionResponse { + /** + * ARM ID of the subscription + */ + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.v20230101preview.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; + } + /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Etcd configuration */ - encryptedCredential?: string; + export interface EtcdInfoResponse { + /** + * ComponentType of the Kubernetes node. + */ + componentType: string; + /** + * Etcd type + */ + type: string; + /** + * Etcd version + */ + version: string; + } + /** - * Parameters for linked service. + * File source details. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface FileSourceInfoResponse { + /** + * File share ID. + */ + shareId: string; + } + /** - * Type of linked service. - * Expected value is 'Asana'. + * Image repository credential. */ - type: "Asana"; - } + export interface ImageRepositoryCredentialResponse { + /** + * Image repository url (e.g.: mcr.microsoft.com). + */ + imageRepositoryUrl: string; + /** + * Repository user password. + */ + password?: outputs.databoxedge.v20230101preview.AsymmetricEncryptedSecretResponse; + /** + * Repository user name. + */ + userName: string; + } - /** - * Avro dataset. - */ - export interface AvroDatasetResponse { /** - * List of tags that can be used for describing the Dataset. + * Metadata of IoT device/IoT Edge device to be configured. */ - annotations?: any[]; + export interface IoTDeviceInfoResponse { + /** + * Encrypted IoT device/IoT edge device connection string. + */ + authentication?: outputs.databoxedge.v20230101preview.AuthenticationResponse; + /** + * ID of the IoT device/edge device. + */ + deviceId: string; + /** + * Host name for the IoT hub associated to the device. + */ + ioTHostHub: string; + /** + * Id for the IoT hub associated to the device. + */ + ioTHostHubId?: string; + } + /** - * The data avroCompressionCodec. Type: string (or Expression with resultType string). + * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. */ - avroCompressionCodec?: any; - avroCompressionLevel?: number; + export interface IoTEdgeAgentInfoResponse { + /** + * Name of the IoT edge agent image. + */ + imageName: string; + /** + * Image repository details. + */ + imageRepository?: outputs.databoxedge.v20230101preview.ImageRepositoryCredentialResponse; + /** + * Image Tag. + */ + tag: string; + } + /** - * Dataset description. + * Kubernetes cluster configuration */ - description?: string; + export interface KubernetesClusterInfoResponse { + /** + * ComponentType of the Kubernetes node. + */ + componentType: string; + /** + * Etcd configuration + */ + etcdInfo: outputs.databoxedge.v20230101preview.EtcdInfoResponse; + /** + * Kubernetes cluster nodes + */ + nodes: outputs.databoxedge.v20230101preview.NodeInfoResponse[]; + /** + * Kubernetes cluster version + */ + version: string; + } + /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Kubernetes node IP configuration */ - folder?: outputs.datafactory.DatasetResponseFolder; + export interface KubernetesIPConfigurationResponse { + /** + * IP address of the Kubernetes node. + */ + ipAddress?: string; + /** + * Port of the Kubernetes node. + */ + port: string; + } + /** - * Linked service reference. + * Kubernetes role compute resource */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface KubernetesRoleComputeResponse { + /** + * Count of huge pages + */ + hugePage1G: number; + /** + * Count of huge pages + */ + hugePage2M: number; + /** + * Memory in bytes + */ + memoryInBytes: number; + /** + * Processor count + */ + processorCount: number; + /** + * VM profile + */ + vmProfile: string; + } + /** - * The location of the avro storage. + * Kubernetes role network resource */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + export interface KubernetesRoleNetworkResponse { + /** + * Cni configuration + */ + cniConfig: outputs.databoxedge.v20230101preview.CniConfigResponse; + /** + * Load balancer configuration + */ + loadBalancerConfig: outputs.databoxedge.v20230101preview.LoadBalancerConfigResponse; + } + /** - * Parameters for dataset. + * Kubernetes role resources */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface KubernetesRoleResourcesResponse { + /** + * Kubernetes role compute resource + */ + compute: outputs.databoxedge.v20230101preview.KubernetesRoleComputeResponse; + /** + * Kubernetes role network resource + */ + network: outputs.databoxedge.v20230101preview.KubernetesRoleNetworkResponse; + /** + * Kubernetes role storage resource + */ + storage?: outputs.databoxedge.v20230101preview.KubernetesRoleStorageResponse; + } + /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Kubernetes storage class info. */ - schema?: any; + export interface KubernetesRoleStorageClassInfoResponse { + /** + * Storage class name. + */ + name: string; + /** + * If provisioned storage is posix compliant. + */ + posixCompliant: string; + /** + * Storage class type. + */ + type: string; + } + /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Kubernetes role storage resource */ - structure?: any; + export interface KubernetesRoleStorageResponse { + /** + * Mount points of shares in role(s). + */ + endpoints?: outputs.databoxedge.v20230101preview.MountPointMapResponse[]; + /** + * Kubernetes storage class info. + */ + storageClasses: outputs.databoxedge.v20230101preview.KubernetesRoleStorageClassInfoResponse[]; + } + /** - * Type of dataset. - * Expected value is 'Avro'. + * Load balancer configuration */ - type: "Avro"; - } + export interface LoadBalancerConfigResponse { + /** + * ComponentType of the Kubernetes node. + */ + componentType: string; + /** + * Load balancer type + */ + type: string; + /** + * Load balancer version + */ + version: string; + } - /** - * The data stored in Avro format. - */ - export interface AvroFormatResponse { /** - * Deserializer. Type: string (or Expression with resultType string). + * Metric configuration. */ - deserializer?: any; + export interface MetricConfigurationResponse { + /** + * Host name for the IoT hub associated to the device. + */ + counterSets: outputs.databoxedge.v20230101preview.MetricCounterSetResponse[]; + /** + * The MDM account to which the counters should be pushed. + */ + mdmAccount?: string; + /** + * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + */ + metricNameSpace?: string; + /** + * The Resource ID on which the metrics should be pushed. + */ + resourceId: string; + } + /** - * Serializer. Type: string (or Expression with resultType string). + * The metric counter */ - serializer?: any; + export interface MetricCounterResponse { + /** + * The additional dimensions to be added to metric. + */ + additionalDimensions?: outputs.databoxedge.v20230101preview.MetricDimensionResponse[]; + /** + * The dimension filter. + */ + dimensionFilter?: outputs.databoxedge.v20230101preview.MetricDimensionResponse[]; + /** + * The instance from which counter should be collected. + */ + instance?: string; + /** + * The counter name. + */ + name: string; + } + /** - * Type of dataset storage format. - * Expected value is 'AvroFormat'. + * The metric counter set */ - type: "AvroFormat"; - } + export interface MetricCounterSetResponse { + /** + * The counters that should be collected in this set. + */ + counters: outputs.databoxedge.v20230101preview.MetricCounterResponse[]; + } - /** - * A copy activity Avro sink. - */ - export interface AvroSinkResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The metric dimension */ - disableMetricsCollection?: any; + export interface MetricDimensionResponse { + /** + * The dimension value. + */ + sourceName: string; + /** + * The dimension type. + */ + sourceType: string; + } + /** - * Avro format settings. + * The share mount point. */ - formatSettings?: outputs.datafactory.AvroWriteSettingsResponse; + export interface MountPointMapResponse { + /** + * Mount point for the share. + */ + mountPoint: string; + /** + * Mounting type. + */ + mountType: string; + /** + * ID of the role to which share is mounted. + */ + roleId: string; + /** + * Role type. + */ + roleType: string; + /** + * ID of the share mounted to the role VM. + */ + shareId: string; + } + /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Kubernetes node info */ - maxConcurrentConnections?: any; + export interface NodeInfoResponse { + /** + * ComponentType of the Kubernetes node. + */ + componentType: string; + /** + * IP Configuration of the Kubernetes node. + */ + ipConfiguration?: outputs.databoxedge.v20230101preview.KubernetesIPConfigurationResponse[]; + /** + * Node name. + */ + name: string; + /** + * Node type - Master/Worker + */ + type: string; + } + /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Represents a single status change. */ - sinkRetryCount?: any; + export interface OrderStatusResponse { + /** + * Dictionary to hold generic information which is not stored + * by the already existing properties + */ + additionalOrderDetails: {[key: string]: string}; + /** + * Comments related to this status change. + */ + comments?: string; + /** + * Status of the order as per the allowed status types. + */ + status: string; + /** + * Tracking information related to the state in the ordering flow + */ + trackingInformation: outputs.databoxedge.v20230101preview.TrackingInfoResponse; + /** + * Time of status update. + */ + updateDateTime: string; + } + /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Periodic timer event source. */ - sinkRetryWait?: any; + export interface PeriodicTimerSourceInfoResponse { + /** + * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. + */ + schedule: string; + /** + * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + */ + startTime: string; + /** + * Topic where periodic events are published to IoT device. + */ + topic?: string; + } + /** - * Avro store settings. + * Fields for tracking refresh job on the share or container. */ - storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; + export interface RefreshDetailsResponse { + /** + * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + */ + errorManifestFile?: string; + /** + * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + */ + inProgressRefreshJobId?: string; + /** + * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + */ + lastCompletedRefreshJobTimeInUTC?: string; + /** + * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + */ + lastJob?: string; + } + /** - * Copy sink type. - * Expected value is 'AvroSink'. + * Msi identity details of the resource */ - type: "AvroSink"; + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Fields for tracking resource move */ - writeBatchSize?: any; + export interface ResourceMoveDetailsResponse { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: string; + /** + * Denotes the timeout of the operation to finish + */ + operationInProgressLockTimeoutInUTC?: string; + } + /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Compute role against which events will be raised. */ - writeBatchTimeout?: any; - } + export interface RoleSinkInfoResponse { + /** + * Compute role ID. + */ + roleId: string; + } - /** - * A copy activity Avro source. - */ - export interface AvroSourceResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Holds device secret either as a KeyVault reference or as an encrypted value. */ - additionalColumns?: any; + export interface SecretResponse { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: outputs.databoxedge.v20230101preview.AsymmetricEncryptedSecretResponse; + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; + } + /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the mapping between this particular user and the type of access he has on shares on this device. */ - disableMetricsCollection?: any; + export interface ShareAccessRightResponse { + /** + * Type of access to be allowed on the share for this user. + */ + accessType: string; + /** + * The share ID. + */ + shareId: string; + } + /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The SKU type. */ - maxConcurrentConnections?: any; + export interface SkuResponse { + /** + * SKU name. + */ + name?: string; + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Symmetric key for authentication. */ - sourceRetryCount?: any; + export interface SymmetricKeyResponse { + /** + * Connection string based on the symmetric key. + */ + connectionString?: outputs.databoxedge.v20230101preview.AsymmetricEncryptedSecretResponse; + } + /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Metadata pertaining to creation and last modification of the resource. */ - sourceRetryWait?: any; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Avro store settings. + * Tracking courier information. */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + export interface TrackingInfoResponse { + /** + * Name of the carrier used in the delivery. + */ + carrierName?: string; + /** + * Serial number of the device being tracked. + */ + serialNumber?: string; + /** + * Tracking ID of the shipment. + */ + trackingId?: string; + /** + * Tracking URL of the shipment. + */ + trackingUrl?: string; + } + /** - * Copy source type. - * Expected value is 'AvroSource'. + * The mapping between a particular user and the access type on the SMB share. */ - type: "AvroSource"; + export interface UserAccessRightResponse { + /** + * Type of access to be allowed for the user. + */ + accessType: string; + /** + * User ID (already existing in the device). + */ + userId: string; + } + } - /** - * Avro write settings. - */ - export interface AvroWriteSettingsResponse { + export namespace v20230701 { /** - * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). + * The shipping address of the customer. */ - fileNamePrefix?: any; + export interface AddressResponse { + /** + * The address line1. + */ + addressLine1?: string; + /** + * The address line2. + */ + addressLine2?: string; + /** + * The address line3. + */ + addressLine3?: string; + /** + * The city name. + */ + city?: string; + /** + * The country name. + */ + country: string; + /** + * The postal code. + */ + postalCode?: string; + /** + * The state name. + */ + state?: string; + } + /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). + * Represent the secrets intended for encryption with asymmetric key pair. */ - maxRowsPerFile?: any; + export interface AsymmetricEncryptedSecretResponse { + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: string; + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + encryptionCertThumbprint?: string; + /** + * The value of the secret. + */ + value: string; + } + /** - * Top level record name in write result, which is required in AVRO spec. + * Authentication mechanism for IoT devices. */ - recordName?: string; + export interface AuthenticationResponse { + /** + * Symmetric key for authentication. + */ + symmetricKey?: outputs.databoxedge.v20230701.SymmetricKeyResponse; + } + /** - * Record namespace in the write result. + * Azure container mapping of the endpoint. */ - recordNamespace?: string; + export interface AzureContainerInfoResponse { + /** + * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + */ + containerName: string; + /** + * Storage format used for the file represented by the share. + */ + dataFormat: string; + /** + * ID of the storage account credential used to access storage. + */ + storageAccountCredentialId: string; + } + /** - * The write setting type. - * Expected value is 'AvroWriteSettings'. + * The mapping between a particular client IP and the type of access client has on the NFS share. */ - type: "AvroWriteSettings"; - } + export interface ClientAccessRightResponse { + /** + * Type of access to be allowed for the client. + */ + accessPermission: string; + /** + * IP of the client. + */ + client: string; + } - /** - * The express custom setup of installing Azure PowerShell. - */ - export interface AzPowerShellSetupResponse { /** - * The type of custom setup. - * Expected value is 'AzPowerShellSetup'. + * Cni configuration */ - type: "AzPowerShellSetup"; + export interface CniConfigResponse { + /** + * Pod Subnet + */ + podSubnet: string; + /** + * Service subnet + */ + serviceSubnet: string; + /** + * Cni type + */ + type: string; + /** + * Cni version + */ + version: string; + } + /** - * The required version of Azure PowerShell to install. + * Compute infrastructure Resource */ - version: string; - } + export interface ComputeResourceResponse { + /** + * Memory in GB + */ + memoryInGB: number; + /** + * Processor count + */ + processorCount: number; + } - /** - * Azure Batch linked service. - */ - export interface AzureBatchLinkedServiceResponse { /** - * The Azure Batch account access key. + * Contains all the contact details of the customer. */ - accessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface ContactDetailsResponse { + /** + * The name of the company. + */ + companyName: string; + /** + * The contact person name. + */ + contactPerson: string; + /** + * The email list. + */ + emailList: string[]; + /** + * The phone number. + */ + phone: string; + } + /** - * The Azure Batch account name. Type: string (or Expression with resultType string). + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. */ - accountName: any; + export interface DataResidencyResponse { + /** + * DataResidencyType enum + */ + type?: string; + } + /** - * List of tags that can be used for describing the linked service. + * Details about Edge Profile for the resource */ - annotations?: any[]; + export interface EdgeProfileResponse { + /** + * Edge Profile Subscription + */ + subscription?: outputs.databoxedge.v20230701.EdgeProfileSubscriptionResponse; + } + /** - * The Azure Batch URI. Type: string (or Expression with resultType string). + * Subscription details for the Edge Profile */ - batchUri: any; + export interface EdgeProfileSubscriptionResponse { + /** + * ARM ID of the subscription + */ + id?: string; + locationPlacementId?: string; + quotaId?: string; + registeredFeatures?: outputs.databoxedge.v20230701.SubscriptionRegisteredFeaturesResponse[]; + registrationDate?: string; + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + serializedDetails?: string; + state?: string; + subscriptionId?: string; + tenantId?: string; + } + /** - * The integration runtime reference. + * Etcd configuration */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + export interface EtcdInfoResponse { + /** + * Etcd type + */ + type: string; + /** + * Etcd version + */ + version: string; + } + /** - * The credential reference containing authentication information. + * File source details. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + export interface FileSourceInfoResponse { + /** + * File share ID. + */ + shareId: string; + } + /** - * Linked service description. + * Image repository credential. */ - description?: string; + export interface ImageRepositoryCredentialResponse { + /** + * Image repository url (e.g.: mcr.microsoft.com). + */ + imageRepositoryUrl: string; + /** + * Repository user password. + */ + password?: outputs.databoxedge.v20230701.AsymmetricEncryptedSecretResponse; + /** + * Repository user name. + */ + userName: string; + } + /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Metadata of IoT device/IoT Edge device to be configured. */ - encryptedCredential?: string; + export interface IoTDeviceInfoResponse { + /** + * Encrypted IoT device/IoT edge device connection string. + */ + authentication?: outputs.databoxedge.v20230701.AuthenticationResponse; + /** + * ID of the IoT device/edge device. + */ + deviceId: string; + /** + * Host name for the IoT hub associated to the device. + */ + ioTHostHub: string; + /** + * Id for the IoT hub associated to the device. + */ + ioTHostHubId?: string; + } + /** - * The Azure Storage linked service reference. + * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface IoTEdgeAgentInfoResponse { + /** + * Name of the IoT edge agent image. + */ + imageName: string; + /** + * Image repository details. + */ + imageRepository?: outputs.databoxedge.v20230701.ImageRepositoryCredentialResponse; + /** + * Image Tag. + */ + tag: string; + } + /** - * Parameters for linked service. + * Kubernetes cluster configuration */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface KubernetesClusterInfoResponse { + /** + * Etcd configuration + */ + etcdInfo: outputs.databoxedge.v20230701.EtcdInfoResponse; + /** + * Kubernetes cluster nodes + */ + nodes: outputs.databoxedge.v20230701.NodeInfoResponse[]; + /** + * Kubernetes cluster version + */ + version: string; + } + /** - * The Azure Batch pool name. Type: string (or Expression with resultType string). + * Kubernetes node IP configuration */ - poolName: any; + export interface KubernetesIPConfigurationResponse { + /** + * IP address of the Kubernetes node. + */ + ipAddress?: string; + /** + * Port of the Kubernetes node. + */ + port: string; + } + /** - * Type of linked service. - * Expected value is 'AzureBatch'. + * Kubernetes role compute resource */ - type: "AzureBatch"; - } + export interface KubernetesRoleComputeResponse { + /** + * Memory in bytes + */ + memoryInBytes: number; + /** + * Processor count + */ + processorCount: number; + /** + * VM profile + */ + vmProfile: string; + } - /** - * The Azure Blob storage. - */ - export interface AzureBlobDatasetResponse { /** - * List of tags that can be used for describing the Dataset. + * Kubernetes role network resource */ - annotations?: any[]; + export interface KubernetesRoleNetworkResponse { + /** + * Cni configuration + */ + cniConfig: outputs.databoxedge.v20230701.CniConfigResponse; + /** + * Load balancer configuration + */ + loadBalancerConfig: outputs.databoxedge.v20230701.LoadBalancerConfigResponse; + } + /** - * The data compression method used for the blob storage. + * Kubernetes role resources */ - compression?: outputs.datafactory.DatasetCompressionResponse; + export interface KubernetesRoleResourcesResponse { + /** + * Kubernetes role compute resource + */ + compute: outputs.databoxedge.v20230701.KubernetesRoleComputeResponse; + /** + * Kubernetes role network resource + */ + network: outputs.databoxedge.v20230701.KubernetesRoleNetworkResponse; + /** + * Kubernetes role storage resource + */ + storage?: outputs.databoxedge.v20230701.KubernetesRoleStorageResponse; + } + /** - * Dataset description. + * Kubernetes storage class info. */ - description?: string; + export interface KubernetesRoleStorageClassInfoResponse { + /** + * Storage class name. + */ + name: string; + /** + * If provisioned storage is posix compliant. + */ + posixCompliant: string; + /** + * Storage class type. + */ + type: string; + } + /** - * The name of the Azure Blob. Type: string (or Expression with resultType string). + * Kubernetes role storage resource */ - fileName?: any; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; + export interface KubernetesRoleStorageResponse { + /** + * Mount points of shares in role(s). + */ + endpoints?: outputs.databoxedge.v20230701.MountPointMapResponse[]; + /** + * Kubernetes storage class info. + */ + storageClasses: outputs.databoxedge.v20230701.KubernetesRoleStorageClassInfoResponse[]; + } + /** - * The path of the Azure Blob storage. Type: string (or Expression with resultType string). + * Load balancer configuration */ - folderPath?: any; + export interface LoadBalancerConfigResponse { + /** + * Load balancer type + */ + type: string; + /** + * Load balancer version + */ + version: string; + } + /** - * The format of the Azure Blob storage. + * Metric configuration. */ - format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; + export interface MetricConfigurationResponse { + /** + * Host name for the IoT hub associated to the device. + */ + counterSets: outputs.databoxedge.v20230701.MetricCounterSetResponse[]; + /** + * The MDM account to which the counters should be pushed. + */ + mdmAccount?: string; + /** + * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + */ + metricNameSpace?: string; + /** + * The Resource ID on which the metrics should be pushed. + */ + resourceId: string; + } + /** - * Linked service reference. + * The metric counter */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface MetricCounterResponse { + /** + * The additional dimensions to be added to metric. + */ + additionalDimensions?: outputs.databoxedge.v20230701.MetricDimensionResponse[]; + /** + * The dimension filter. + */ + dimensionFilter?: outputs.databoxedge.v20230701.MetricDimensionResponse[]; + /** + * The instance from which counter should be collected. + */ + instance?: string; + /** + * The counter name. + */ + name: string; + } + /** - * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType string). + * The metric counter set */ - modifiedDatetimeEnd?: any; + export interface MetricCounterSetResponse { + /** + * The counters that should be collected in this set. + */ + counters: outputs.databoxedge.v20230701.MetricCounterResponse[]; + } + /** - * The start of Azure Blob's modified datetime. Type: string (or Expression with resultType string). + * The metric dimension */ - modifiedDatetimeStart?: any; + export interface MetricDimensionResponse { + /** + * The dimension value. + */ + sourceName: string; + /** + * The dimension type. + */ + sourceType: string; + } + /** - * Parameters for dataset. + * The share mount point. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface MountPointMapResponse { + /** + * Mount point for the share. + */ + mountPoint: string; + /** + * Mounting type. + */ + mountType: string; + /** + * ID of the role to which share is mounted. + */ + roleId: string; + /** + * Role type. + */ + roleType: string; + /** + * ID of the share mounted to the role VM. + */ + shareId: string; + } + /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Kubernetes node info */ - schema?: any; + export interface NodeInfoResponse { + /** + * IP Configuration of the Kubernetes node. + */ + ipConfiguration?: outputs.databoxedge.v20230701.KubernetesIPConfigurationResponse[]; + /** + * Node name. + */ + name: string; + /** + * Node type - Master/Worker + */ + type: string; + } + /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Represents a single status change. */ - structure?: any; + export interface OrderStatusResponse { + /** + * Dictionary to hold generic information which is not stored + * by the already existing properties + */ + additionalOrderDetails: {[key: string]: string}; + /** + * Comments related to this status change. + */ + comments?: string; + /** + * Status of the order as per the allowed status types. + */ + status: string; + /** + * Tracking information related to the state in the ordering flow + */ + trackingInformation: outputs.databoxedge.v20230701.TrackingInfoResponse; + /** + * Time of status update. + */ + updateDateTime: string; + } + /** - * The root of blob path. Type: string (or Expression with resultType string). + * Periodic timer event source. */ - tableRootLocation?: any; + export interface PeriodicTimerSourceInfoResponse { + /** + * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. + */ + schedule: string; + /** + * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + */ + startTime: string; + /** + * Topic where periodic events are published to IoT device. + */ + topic?: string; + } + /** - * Type of dataset. - * Expected value is 'AzureBlob'. + * Fields for tracking refresh job on the share or container. */ - type: "AzureBlob"; - } + export interface RefreshDetailsResponse { + /** + * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + */ + errorManifestFile?: string; + /** + * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + */ + inProgressRefreshJobId?: string; + /** + * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + */ + lastCompletedRefreshJobTimeInUTC?: string; + /** + * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + */ + lastJob?: string; + } - /** - * The Azure Data Lake Storage Gen2 storage. - */ - export interface AzureBlobFSDatasetResponse { /** - * List of tags that can be used for describing the Dataset. + * Msi identity details of the resource */ - annotations?: any[]; + export interface ResourceIdentityResponse { + /** + * Service Principal Id backing the Msi + */ + principalId: string; + /** + * Home Tenant Id + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * The data compression method used for the blob storage. + * Fields for tracking resource move */ - compression?: outputs.datafactory.DatasetCompressionResponse; + export interface ResourceMoveDetailsResponse { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: string; + /** + * Denotes the timeout of the operation to finish + */ + operationInProgressLockTimeoutInUTC?: string; + } + /** - * Dataset description. + * Compute role against which events will be raised. */ - description?: string; + export interface RoleSinkInfoResponse { + /** + * Compute role ID. + */ + roleId: string; + } + /** - * The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType string). + * Holds device secret either as a KeyVault reference or as an encrypted value. */ - fileName?: any; + export interface SecretResponse { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: outputs.databoxedge.v20230701.AsymmetricEncryptedSecretResponse; + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; + } + /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Specifies the mapping between this particular user and the type of access he has on shares on this device. */ - folder?: outputs.datafactory.DatasetResponseFolder; + export interface ShareAccessRightResponse { + /** + * Type of access to be allowed on the share for this user. + */ + accessType: string; + /** + * The share ID. + */ + shareId: string; + } + /** - * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with resultType string). + * The SKU type. */ - folderPath?: any; + export interface SkuResponse { + /** + * SKU name. + */ + name?: string; + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: string; + } + + export interface SubscriptionRegisteredFeaturesResponse { + name?: string; + state?: string; + } + /** - * The format of the Azure Data Lake Storage Gen2 storage. + * Symmetric key for authentication. */ - format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; + export interface SymmetricKeyResponse { + /** + * Connection string based on the symmetric key. + */ + connectionString?: outputs.databoxedge.v20230701.AsymmetricEncryptedSecretResponse; + } + /** - * Linked service reference. + * Metadata pertaining to creation and last modification of the resource. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Parameters for dataset. + * Tracking courier information. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface TrackingInfoResponse { + /** + * Name of the carrier used in the delivery. + */ + carrierName?: string; + /** + * Serial number of the device being tracked. + */ + serialNumber?: string; + /** + * Tracking ID of the shipment. + */ + trackingId?: string; + /** + * Tracking URL of the shipment. + */ + trackingUrl?: string; + } + /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The mapping between a particular user and the access type on the SMB share. */ - schema?: any; + export interface UserAccessRightResponse { + /** + * Type of access to be allowed for the user. + */ + accessType: string; + /** + * User ID (already existing in the device). + */ + userId: string; + } + + } +} + +export namespace databricks { + export interface AccessConnectorPropertiesResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Provisioning status of the accessConnector. */ - structure?: any; + provisioningState: string; + } + + /** + * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. + */ + export interface AddressSpaceResponse { /** - * Type of dataset. - * Expected value is 'AzureBlobFSFile'. + * A list of address blocks reserved for this virtual network in CIDR notation. */ - type: "AzureBlobFSFile"; + addressPrefixes?: string[]; } /** - * Azure Data Lake Storage Gen2 linked service. + * Provides details of the entity that created/updated the workspace. */ - export interface AzureBlobFSLinkedServiceResponse { + export interface CreatedByResponse { /** - * Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). + * The application ID of the application that initiated the creation of the workspace. For example, Azure Portal. */ - accountKey?: any; + applicationId: string; /** - * List of tags that can be used for describing the linked service. + * The Object ID that created the workspace. */ - annotations?: any[]; + oid: string; /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + * The Personal Object ID corresponding to the object ID above */ - azureCloudType?: any; + puid: string; + } + + /** + * Encryption entities for databricks workspace resource. + */ + export interface EncryptionEntitiesDefinitionResponse { /** - * The integration runtime reference. + * Encryption properties for the databricks managed disks. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + managedDisk?: outputs.databricks.ManagedDiskEncryptionResponse; /** - * The credential reference containing authentication information. + * Encryption properties for the databricks managed services. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + managedServices?: outputs.databricks.EncryptionV2Response; + } + + /** + * The object that contains details of encryption used on the workspace. + */ + export interface EncryptionResponse { /** - * Linked service description. + * The name of KeyVault key. */ - description?: string; + keyName?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault */ - encryptedCredential?: string; + keySource?: string; /** - * Parameters for linked service. + * The Uri of KeyVault. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + keyVaultUri?: string; /** - * The Azure key vault secret reference of sasToken in sas uri. + * The version of KeyVault key. */ - sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + keyVersion?: string; + } + /** + * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse + */ + export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { + return { + ...val, + keySource: (val.keySource) ?? "Default", + }; + } + + /** + * The object that contains details of encryption used on the workspace. + */ + export interface EncryptionV2Response { /** - * SAS URI of the Azure Data Lake Storage Gen2 service. Type: string, SecureString or AzureKeyVaultSecretReference. + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault */ - sasUri?: any; + keySource: string; /** - * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * Key Vault input properties for encryption. */ - servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + keyVaultProperties?: outputs.databricks.EncryptionV2ResponseKeyVaultProperties; + } + + /** + * Key Vault input properties for encryption. + */ + export interface EncryptionV2ResponseKeyVaultProperties { /** - * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). + * The name of KeyVault key. */ - servicePrincipalCredentialType?: any; + keyName: string; /** - * The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string). + * The Uri of KeyVault. */ - servicePrincipalId?: any; + keyVaultUri: string; /** - * The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account. + * The version of KeyVault key. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + keyVersion: string; + } + + /** + * The object that contains details of encryption used on the workspace. + */ + export interface ManagedDiskEncryptionResponse { /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault */ - tenant?: any; + keySource: string; /** - * Type of linked service. - * Expected value is 'AzureBlobFS'. + * Key Vault input properties for encryption. */ - type: "AzureBlobFS"; + keyVaultProperties: outputs.databricks.ManagedDiskEncryptionResponseKeyVaultProperties; /** - * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). + * Indicate whether the latest key version should be automatically used for Managed Disk Encryption. */ - url?: any; + rotationToLatestKeyVersionEnabled?: boolean; } /** - * The location of azure blobFS dataset. + * Key Vault input properties for encryption. */ - export interface AzureBlobFSLocationResponse { - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + export interface ManagedDiskEncryptionResponseKeyVaultProperties { /** - * Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). + * The name of KeyVault key. */ - fileSystem?: any; + keyName: string; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * The URI of KeyVault. */ - folderPath?: any; + keyVaultUri: string; /** - * Type of dataset storage location. - * Expected value is 'AzureBlobFSLocation'. + * The version of KeyVault key. */ - type: "AzureBlobFSLocation"; + keyVersion: string; } /** - * Azure blobFS read settings. + * The Managed Identity details for storage account. */ - export interface AzureBlobFSReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; + export interface ManagedIdentityConfigurationResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The objectId of the Managed Identity that is linked to the Managed Storage account. */ - disableMetricsCollection?: any; + principalId: string; /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * The tenant Id where the Managed Identity is created. */ - enablePartitionDiscovery?: any; + tenantId: string; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * The type of Identity created. It can be either SystemAssigned or UserAssigned. */ - fileListPath?: any; + type: string; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - maxConcurrentConnections?: any; + principalId: string; /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ - modifiedDatetimeEnd?: any; + tenantId: string; /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - modifiedDatetimeStart?: any; + type: string; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - partitionRootPath?: any; + userAssignedIdentities?: {[key: string]: outputs.databricks.UserAssignedIdentityResponse}; + } + + /** + * The properties of a private endpoint connection + */ + export interface PrivateEndpointConnectionPropertiesResponse { /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * GroupIds from the private link service resource. */ - recursive?: any; + groupIds?: string[]; /** - * The read setting type. - * Expected value is 'AzureBlobFSReadSettings'. + * Private endpoint */ - type: "AzureBlobFSReadSettings"; + privateEndpoint?: outputs.databricks.PrivateEndpointResponse; /** - * Azure blobFS wildcardFileName. Type: string (or Expression with resultType string). + * Private endpoint connection state */ - wildcardFileName?: any; + privateLinkServiceConnectionState: outputs.databricks.PrivateLinkServiceConnectionStateResponse; /** - * Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). + * Provisioning state of the private endpoint connection. */ - wildcardFolderPath?: any; + provisioningState: string; } /** - * A copy activity Azure Data Lake Storage Gen2 sink. + * The private endpoint connection of a workspace */ - export interface AzureBlobFSSinkResponse { - /** - * The type of copy behavior for copy sink. Type: string (or Expression with resultType string). - */ - copyBehavior?: any; + export interface PrivateEndpointConnectionResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The resource identifier. */ - disableMetricsCollection?: any; + id: string; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The resource name. */ - maxConcurrentConnections?: any; + name: string; /** - * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). + * The private endpoint connection properties. */ - metadata?: outputs.datafactory.MetadataItemResponse[]; + properties: outputs.databricks.PrivateEndpointConnectionPropertiesResponse; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The resource type. */ - sinkRetryCount?: any; + type: string; + } + + /** + * The private endpoint property of a private endpoint connection + */ + export interface PrivateEndpointResponse { /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The resource identifier. */ - sinkRetryWait?: any; + id: string; + } + + /** + * The current state of a private endpoint connection + */ + export interface PrivateLinkServiceConnectionStateResponse { /** - * Copy sink type. - * Expected value is 'AzureBlobFSSink'. + * Actions required for a private endpoint connection */ - type: "AzureBlobFSSink"; + actionsRequired?: string; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * The description for the current state of a private endpoint connection */ - writeBatchSize?: any; + description?: string; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The status of a private endpoint connection */ - writeBatchTimeout?: any; + status: string; } /** - * A copy activity Azure BlobFS source. + * SKU for the resource. */ - export interface AzureBlobFSSourceResponse { + export interface SkuResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The SKU name. */ - disableMetricsCollection?: any; + name: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The SKU tier. */ - maxConcurrentConnections?: any; + tier?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * The timestamp of resource creation (UTC). */ - recursive?: any; + createdAt?: string; /** - * Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). + * The identity that created the resource. */ - skipHeaderLineCount?: any; + createdBy?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The type of identity that created the resource. */ - sourceRetryCount?: any; + createdByType?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The timestamp of resource last modification (UTC) */ - sourceRetryWait?: any; + lastModifiedAt?: string; /** - * Treat empty as null. Type: boolean (or Expression with resultType boolean). + * The identity that last modified the resource. */ - treatEmptyAsNull?: any; + lastModifiedBy?: string; /** - * Copy source type. - * Expected value is 'AzureBlobFSSource'. + * The type of identity that last modified the resource. */ - type: "AzureBlobFSSource"; + lastModifiedByType?: string; } /** - * Azure blobFS write settings. + * User assigned identity properties */ - export interface AzureBlobFSWriteSettingsResponse { - /** - * Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). - */ - blockSizeInMB?: any; + export interface UserAssignedIdentityResponse { /** - * The type of copy behavior for copy sink. + * The client ID of the assigned identity. */ - copyBehavior?: any; + clientId: string; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The principal ID of the assigned identity. */ - disableMetricsCollection?: any; + principalId: string; + } + + /** + * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + */ + export interface VirtualNetworkPeeringPropertiesFormatResponseDatabricksVirtualNetwork { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The Id of the databricks virtual network. */ - maxConcurrentConnections?: any; + id?: string; + } + + /** + * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + */ + export interface VirtualNetworkPeeringPropertiesFormatResponseRemoteVirtualNetwork { /** - * The write setting type. - * Expected value is 'AzureBlobFSWriteSettings'. + * The Id of the remote virtual network. */ - type: "AzureBlobFSWriteSettings"; + id?: string; } /** - * The azure blob storage linked service. + * The value which should be used for this field. */ - export interface AzureBlobStorageLinkedServiceResponse { + export interface WorkspaceCustomBooleanParameterResponse { /** - * The Azure key vault secret reference of accountKey in connection string. + * The type of variable that this is */ - accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + type: string; /** - * Specify the kind of your storage account. Allowed values are: Storage (general purpose v1), StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with resultType string). + * The value which should be used for this field. */ - accountKind?: any; + value: boolean; + } + + /** + * The value which should be used for this field. + */ + export interface WorkspaceCustomObjectParameterResponse { /** - * List of tags that can be used for describing the linked service. + * The type of variable that this is */ - annotations?: any[]; + type: string; /** - * The type used for authentication. Type: string. + * The value which should be used for this field. */ - authenticationType?: string; + value: any; + } + + /** + * Custom Parameters used for Cluster Creation. + */ + export interface WorkspaceCustomParametersResponse { /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + * The ID of a Azure Machine Learning workspace to link with Databricks workspace */ - azureCloudType?: any; + amlWorkspaceId?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * The integration runtime reference. + * The name of the Private Subnet within the Virtual Network */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + customPrivateSubnetName?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. + * The name of a Public Subnet within the Virtual Network */ - connectionString?: any; + customPublicSubnetName?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * Container uri of the Azure Blob Storage resource only support for anonymous access. Type: string (or Expression with resultType string). + * The ID of a Virtual Network where this Databricks Cluster should be created */ - containerUri?: any; + customVirtualNetworkId?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * The credential reference containing authentication information. + * Should the Public IP be Disabled? */ - credential?: outputs.datafactory.CredentialReferenceResponse; + enableNoPublicIp?: outputs.databricks.WorkspaceCustomBooleanParameterResponse; /** - * Linked service description. + * Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. */ - description?: string; + encryption?: outputs.databricks.WorkspaceEncryptionParameterResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP). */ - encryptedCredential?: string; + loadBalancerBackendPoolName?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * Parameters for linked service. + * Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + loadBalancerId?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * The Azure key vault secret reference of sasToken in sas uri. + * Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets. */ - sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + natGatewayName?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. + * Prepare the workspace for encryption. Enables the Managed Identity for managed storage account. */ - sasUri?: any; + prepareEncryption?: outputs.databricks.WorkspaceCustomBooleanParameterResponse; /** - * Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. + * Name of the Public IP for No Public IP workspace with managed vNet. */ - serviceEndpoint?: any; + publicIpName?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). + * A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest. */ - servicePrincipalId?: any; + requireInfrastructureEncryption?: outputs.databricks.WorkspaceCustomBooleanParameterResponse; /** - * The key of the service principal used to authenticate against Azure SQL Data Warehouse. + * Tags applied to resources under Managed resource group. These can be updated by updating tags at workspace level. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + resourceTags: outputs.databricks.WorkspaceCustomObjectParameterResponse; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * Default DBFS storage account name. */ - tenant?: any; + storageAccountName?: outputs.databricks.WorkspaceCustomStringParameterResponse; /** - * Type of linked service. - * Expected value is 'AzureBlobStorage'. + * Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs. */ - type: "AzureBlobStorage"; + storageAccountSkuName?: outputs.databricks.WorkspaceCustomStringParameterResponse; + /** + * Address prefix for Managed virtual network. Default value for this input is 10.139. + */ + vnetAddressPrefix?: outputs.databricks.WorkspaceCustomStringParameterResponse; + } + /** + * workspaceCustomParametersResponseProvideDefaults sets the appropriate defaults for WorkspaceCustomParametersResponse + */ + export function workspaceCustomParametersResponseProvideDefaults(val: WorkspaceCustomParametersResponse): WorkspaceCustomParametersResponse { + return { + ...val, + encryption: (val.encryption ? outputs.databricks.workspaceEncryptionParameterResponseProvideDefaults(val.encryption) : undefined), + }; } /** - * The location of azure blob dataset. + * The Value. */ - export interface AzureBlobStorageLocationResponse { - /** - * Specify the container of azure blob. Type: string (or Expression with resultType string). - */ - container?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + export interface WorkspaceCustomStringParameterResponse { /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * The type of variable that this is */ - folderPath?: any; + type: string; /** - * Type of dataset storage location. - * Expected value is 'AzureBlobStorageLocation'. + * The value which should be used for this field. */ - type: "AzureBlobStorageLocation"; + value: string; } /** - * Azure blob read settings. + * The object that contains details of encryption used on the workspace. */ - export interface AzureBlobStorageReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). - */ - enablePartitionDiscovery?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). - */ - partitionRootPath?: any; - /** - * The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string). - */ - prefix?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - */ - recursive?: any; - /** - * The read setting type. - * Expected value is 'AzureBlobStorageReadSettings'. - */ - type: "AzureBlobStorageReadSettings"; + export interface WorkspaceEncryptionParameterResponse { /** - * Azure blob wildcardFileName. Type: string (or Expression with resultType string). + * The type of variable that this is */ - wildcardFileName?: any; + type: string; /** - * Azure blob wildcardFolderPath. Type: string (or Expression with resultType string). + * The value which should be used for this field. */ - wildcardFolderPath?: any; + value?: outputs.databricks.EncryptionResponse; + } + /** + * workspaceEncryptionParameterResponseProvideDefaults sets the appropriate defaults for WorkspaceEncryptionParameterResponse + */ + export function workspaceEncryptionParameterResponseProvideDefaults(val: WorkspaceEncryptionParameterResponse): WorkspaceEncryptionParameterResponse { + return { + ...val, + value: (val.value ? outputs.databricks.encryptionResponseProvideDefaults(val.value) : undefined), + }; } /** - * Azure blob write settings. + * Encryption properties for databricks workspace */ - export interface AzureBlobStorageWriteSettingsResponse { - /** - * Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). - */ - blockSizeInMB?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; + export interface WorkspacePropertiesResponseEncryption { /** - * The write setting type. - * Expected value is 'AzureBlobStorageWriteSettings'. + * Encryption entities definition for the workspace. */ - type: "AzureBlobStorageWriteSettings"; + entities: outputs.databricks.EncryptionEntitiesDefinitionResponse; } /** - * Azure Data Explorer command activity. + * The workspace provider authorization. */ - export interface AzureDataExplorerCommandActivityResponse { + export interface WorkspaceProviderAuthorizationResponse { /** - * A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). + * The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources. */ - command: any; + principalId: string; /** - * Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..) + * The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group. */ - commandTimeout?: any; + roleDefinitionId: string; + } + + export namespace v20220401preview { + export interface AccessConnectorPropertiesResponse { + /** + * Provisioning status of the accessConnector. + */ + provisioningState: string; + } + /** - * Activity depends on condition. + * Identity for the resource. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + export interface IdentityDataResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The identity type. + */ + type: string; + } + /** - * Activity description. + * Metadata pertaining to creation and last modification of the resource. */ - description?: string; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + } + + export namespace v20230201 { /** - * Linked service reference. + * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Activity name. - */ - name: string; + export interface AddressSpaceResponse { + /** + * A list of address blocks reserved for this virtual network in CIDR notation. + */ + addressPrefixes?: string[]; + } + /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Provides details of the entity that created/updated the workspace. */ - onInactiveMarkAs?: string; + export interface CreatedByResponse { + /** + * The application ID of the application that initiated the creation of the workspace. For example, Azure Portal. + */ + applicationId: string; + /** + * The Object ID that created the workspace. + */ + oid: string; + /** + * The Personal Object ID corresponding to the object ID above + */ + puid: string; + } + /** - * Activity policy. + * Encryption entities for databricks workspace resource. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + export interface EncryptionEntitiesDefinitionResponse { + /** + * Encryption properties for the databricks managed disks. + */ + managedDisk?: outputs.databricks.v20230201.ManagedDiskEncryptionResponse; + /** + * Encryption properties for the databricks managed services. + */ + managedServices?: outputs.databricks.v20230201.EncryptionV2Response; + } + /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The object that contains details of encryption used on the workspace. */ - state?: string; + export interface EncryptionResponse { + /** + * The name of KeyVault key. + */ + keyName?: string; + /** + * The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault + */ + keySource?: string; + /** + * The Uri of KeyVault. + */ + keyVaultUri?: string; + /** + * The version of KeyVault key. + */ + keyVersion?: string; + } /** - * Type of activity. - * Expected value is 'AzureDataExplorerCommand'. + * encryptionResponseProvideDefaults sets the appropriate defaults for EncryptionResponse */ - type: "AzureDataExplorerCommand"; + export function encryptionResponseProvideDefaults(val: EncryptionResponse): EncryptionResponse { + return { + ...val, + keySource: (val.keySource) ?? "Default", + }; + } + /** - * Activity user properties. + * The object that contains details of encryption used on the workspace. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; - } + export interface EncryptionV2Response { + /** + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault + */ + keySource: string; + /** + * Key Vault input properties for encryption. + */ + keyVaultProperties?: outputs.databricks.v20230201.EncryptionV2ResponseKeyVaultProperties; + } - /** - * Azure Data Explorer (Kusto) linked service. - */ - export interface AzureDataExplorerLinkedServiceResponse { /** - * List of tags that can be used for describing the linked service. + * Key Vault input properties for encryption. */ - annotations?: any[]; + export interface EncryptionV2ResponseKeyVaultProperties { + /** + * The name of KeyVault key. + */ + keyName: string; + /** + * The Uri of KeyVault. + */ + keyVaultUri: string; + /** + * The version of KeyVault key. + */ + keyVersion: string; + } + /** - * The integration runtime reference. + * The object that contains details of encryption used on the workspace. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + export interface ManagedDiskEncryptionResponse { + /** + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault + */ + keySource: string; + /** + * Key Vault input properties for encryption. + */ + keyVaultProperties: outputs.databricks.v20230201.ManagedDiskEncryptionResponseKeyVaultProperties; + /** + * Indicate whether the latest key version should be automatically used for Managed Disk Encryption. + */ + rotationToLatestKeyVersionEnabled?: boolean; + } + /** - * The credential reference containing authentication information. + * Key Vault input properties for encryption. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + export interface ManagedDiskEncryptionResponseKeyVaultProperties { + /** + * The name of KeyVault key. + */ + keyName: string; + /** + * The URI of KeyVault. + */ + keyVaultUri: string; + /** + * The version of KeyVault key. + */ + keyVersion: string; + } + /** - * Database name for connection. Type: string (or Expression with resultType string). + * The Managed Identity details for storage account. */ - database: any; + export interface ManagedIdentityConfigurationResponse { + /** + * The objectId of the Managed Identity that is linked to the Managed Storage account. + */ + principalId: string; + /** + * The tenant Id where the Managed Identity is created. + */ + tenantId: string; + /** + * The type of Identity created. It can be either SystemAssigned or UserAssigned. + */ + type: string; + } + /** - * Linked service description. + * The properties of a private endpoint connection */ - description?: string; + export interface PrivateEndpointConnectionPropertiesResponse { + /** + * GroupIds from the private link service resource. + */ + groupIds?: string[]; + /** + * Private endpoint + */ + privateEndpoint?: outputs.databricks.v20230201.PrivateEndpointResponse; + /** + * Private endpoint connection state + */ + privateLinkServiceConnectionState: outputs.databricks.v20230201.PrivateLinkServiceConnectionStateResponse; + /** + * Provisioning state of the private endpoint connection. + */ + provisioningState: string; + } + /** - * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format https://..kusto.windows.net. Type: string (or Expression with resultType string) + * The private endpoint connection of a workspace */ - endpoint: any; + export interface PrivateEndpointConnectionResponse { + /** + * The resource identifier. + */ + id: string; + /** + * The resource name. + */ + name: string; + /** + * The private endpoint connection properties. + */ + properties: outputs.databricks.v20230201.PrivateEndpointConnectionPropertiesResponse; + /** + * The resource type. + */ + type: string; + } + /** - * Parameters for linked service. + * The private endpoint property of a private endpoint connection */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface PrivateEndpointResponse { + /** + * The resource identifier. + */ + id: string; + } + /** - * The ID of the service principal used to authenticate against Azure Data Explorer. Type: string (or Expression with resultType string). + * The current state of a private endpoint connection */ - servicePrincipalId?: any; + export interface PrivateLinkServiceConnectionStateResponse { + /** + * Actions required for a private endpoint connection + */ + actionsRequired?: string; + /** + * The description for the current state of a private endpoint connection + */ + description?: string; + /** + * The status of a private endpoint connection + */ + status: string; + } + /** - * The key of the service principal used to authenticate against Kusto. + * SKU for the resource. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface SkuResponse { + /** + * The SKU name. + */ + name: string; + /** + * The SKU tier. + */ + tier?: string; + } + /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * Metadata pertaining to creation and last modification of the resource. */ - tenant?: any; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Type of linked service. - * Expected value is 'AzureDataExplorer'. + * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). */ - type: "AzureDataExplorer"; - } + export interface VirtualNetworkPeeringPropertiesFormatResponseDatabricksVirtualNetwork { + /** + * The Id of the databricks virtual network. + */ + id?: string; + } - /** - * A copy activity Azure Data Explorer sink. - */ - export interface AzureDataExplorerSinkResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). */ - disableMetricsCollection?: any; + export interface VirtualNetworkPeeringPropertiesFormatResponseRemoteVirtualNetwork { + /** + * The Id of the remote virtual network. + */ + id?: string; + } + /** - * If set to true, any aggregation will be skipped. Default is false. Type: boolean. + * The value which should be used for this field. */ - flushImmediately?: any; + export interface WorkspaceCustomBooleanParameterResponse { + /** + * The type of variable that this is + */ + type: string; + /** + * The value which should be used for this field. + */ + value: boolean; + } + /** - * An explicit column mapping description provided in a json format. Type: string. + * The value which should be used for this field. */ - ingestionMappingAsJson?: any; + export interface WorkspaceCustomObjectParameterResponse { + /** + * The type of variable that this is + */ + type: string; + /** + * The value which should be used for this field. + */ + value: any; + } + /** - * A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. + * Custom Parameters used for Cluster Creation. */ - ingestionMappingName?: any; + export interface WorkspaceCustomParametersResponse { + /** + * The ID of a Azure Machine Learning workspace to link with Databricks workspace + */ + amlWorkspaceId?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * The name of the Private Subnet within the Virtual Network + */ + customPrivateSubnetName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * The name of a Public Subnet within the Virtual Network + */ + customPublicSubnetName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * The ID of a Virtual Network where this Databricks Cluster should be created + */ + customVirtualNetworkId?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * Should the Public IP be Disabled? + */ + enableNoPublicIp?: outputs.databricks.v20230201.WorkspaceCustomBooleanParameterResponse; + /** + * Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. + */ + encryption?: outputs.databricks.v20230201.WorkspaceEncryptionParameterResponse; + /** + * Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP). + */ + loadBalancerBackendPoolName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace. + */ + loadBalancerId?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets. + */ + natGatewayName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * Prepare the workspace for encryption. Enables the Managed Identity for managed storage account. + */ + prepareEncryption?: outputs.databricks.v20230201.WorkspaceCustomBooleanParameterResponse; + /** + * Name of the Public IP for No Public IP workspace with managed vNet. + */ + publicIpName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest. + */ + requireInfrastructureEncryption?: outputs.databricks.v20230201.WorkspaceCustomBooleanParameterResponse; + /** + * Tags applied to resources under Managed resource group. These can be updated by updating tags at workspace level. + */ + resourceTags: outputs.databricks.v20230201.WorkspaceCustomObjectParameterResponse; + /** + * Default DBFS storage account name. + */ + storageAccountName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs. + */ + storageAccountSkuName?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + /** + * Address prefix for Managed virtual network. Default value for this input is 10.139. + */ + vnetAddressPrefix?: outputs.databricks.v20230201.WorkspaceCustomStringParameterResponse; + } /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * workspaceCustomParametersResponseProvideDefaults sets the appropriate defaults for WorkspaceCustomParametersResponse */ - maxConcurrentConnections?: any; + export function workspaceCustomParametersResponseProvideDefaults(val: WorkspaceCustomParametersResponse): WorkspaceCustomParametersResponse { + return { + ...val, + encryption: (val.encryption ? outputs.databricks.v20230201.workspaceEncryptionParameterResponseProvideDefaults(val.encryption) : undefined), + }; + } + /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The Value. */ - sinkRetryCount?: any; + export interface WorkspaceCustomStringParameterResponse { + /** + * The type of variable that this is + */ + type: string; + /** + * The value which should be used for this field. + */ + value: string; + } + /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The object that contains details of encryption used on the workspace. */ - sinkRetryWait?: any; + export interface WorkspaceEncryptionParameterResponse { + /** + * The type of variable that this is + */ + type: string; + /** + * The value which should be used for this field. + */ + value?: outputs.databricks.v20230201.EncryptionResponse; + } /** - * Copy sink type. - * Expected value is 'AzureDataExplorerSink'. + * workspaceEncryptionParameterResponseProvideDefaults sets the appropriate defaults for WorkspaceEncryptionParameterResponse */ - type: "AzureDataExplorerSink"; + export function workspaceEncryptionParameterResponseProvideDefaults(val: WorkspaceEncryptionParameterResponse): WorkspaceEncryptionParameterResponse { + return { + ...val, + value: (val.value ? outputs.databricks.v20230201.encryptionResponseProvideDefaults(val.value) : undefined), + }; + } + /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Encryption properties for databricks workspace */ - writeBatchSize?: any; + export interface WorkspacePropertiesResponseEncryption { + /** + * Encryption entities definition for the workspace. + */ + entities: outputs.databricks.v20230201.EncryptionEntitiesDefinitionResponse; + } + /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The workspace provider authorization. */ - writeBatchTimeout?: any; + export interface WorkspaceProviderAuthorizationResponse { + /** + * The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources. + */ + principalId: string; + /** + * The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group. + */ + roleDefinitionId: string; + } + } - /** - * A copy activity Azure Data Explorer (Kusto) source. - */ - export interface AzureDataExplorerSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The name of the Boolean option that controls whether truncation is applied to result-sets that go beyond a certain row-count limit. - */ - noTruncation?: any; - /** - * Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string). - */ - query: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. - */ - queryTimeout?: any; + export namespace v20230501 { + export interface AccessConnectorPropertiesResponse { + /** + * Provisioning status of the accessConnector. + */ + provisioningState: string; + } + /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Managed service identity (system assigned and/or user assigned identities) */ - sourceRetryCount?: any; + export interface ManagedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.databricks.v20230501.UserAssignedIdentityResponse}; + } + /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Metadata pertaining to creation and last modification of the resource. */ - sourceRetryWait?: any; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Copy source type. - * Expected value is 'AzureDataExplorerSource'. + * User assigned identity properties */ - type: "AzureDataExplorerSource"; + export interface UserAssignedIdentityResponse { + /** + * The client ID of the assigned identity. + */ + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + } +} +export namespace datacatalog { /** - * The Azure Data Explorer (Kusto) dataset. + * User principals. */ - export interface AzureDataExplorerTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; + export interface PrincipalsResponse { /** - * The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). + * Object Id for the user */ - table?: any; + objectId?: string; /** - * Type of dataset. - * Expected value is 'AzureDataExplorerTable'. + * UPN of the user. */ - type: "AzureDataExplorerTable"; + upn?: string; } - /** - * Azure Data Lake Analytics linked service. - */ - export interface AzureDataLakeAnalyticsLinkedServiceResponse { - /** - * The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string). - */ - accountName: any; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Azure Data Lake Analytics URI Type: string (or Expression with resultType string). - */ - dataLakeAnalyticsUri?: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). - */ - resourceGroupName?: any; - /** - * The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The Key of the application used to authenticate against the Azure Data Lake Analytics account. - */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). - */ - subscriptionId?: any; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). - */ - tenant: any; + export namespace v20160330 { /** - * Type of linked service. - * Expected value is 'AzureDataLakeAnalytics'. + * User principals. */ - type: "AzureDataLakeAnalytics"; + export interface PrincipalsResponse { + /** + * Object Id for the user + */ + objectId?: string; + /** + * UPN of the user. + */ + upn?: string; + } + } +} - /** - * Azure Data Lake Store dataset. - */ - export interface AzureDataLakeStoreDatasetResponse { +export namespace datadog { + export interface DatadogApiKeyResponse { /** - * List of tags that can be used for describing the Dataset. + * The time of creation of the API key. */ - annotations?: any[]; + created?: string; /** - * The data compression method used for the item(s) in the Azure Data Lake Store. + * The user that created the API key. */ - compression?: outputs.datafactory.DatasetCompressionResponse; + createdBy?: string; /** - * Dataset description. + * The value of the API key. */ - description?: string; + key: string; /** - * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string). + * The name of the API key. */ - fileName?: any; + name?: string; + } + + export interface DatadogHostMetadataResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The agent version. */ - folder?: outputs.datafactory.DatasetResponseFolder; + agentVersion?: string; + installMethod?: outputs.datadog.DatadogInstallMethodResponse; + logsAgent?: outputs.datadog.DatadogLogsAgentResponse; + } + + export interface DatadogHostResponse { /** - * Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). + * The aliases for the host. */ - folderPath?: any; + aliases?: string[]; /** - * The format of the Data Lake Store. + * The Datadog integrations reporting metrics for the host. */ - format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; + apps?: string[]; + meta?: outputs.datadog.DatadogHostMetadataResponse; /** - * Linked service reference. + * The name of the host. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + name?: string; + } + + export interface DatadogInstallMethodResponse { /** - * Parameters for dataset. + * The installer version. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + installerVersion?: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The tool. */ - schema?: any; + tool?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The tool version. */ - structure?: any; + toolVersion?: string; + } + + export interface DatadogLogsAgentResponse { /** - * Type of dataset. - * Expected value is 'AzureDataLakeStoreFile'. + * The transport. */ - type: "AzureDataLakeStoreFile"; + transport?: string; } /** - * Azure Data Lake Store linked service. + * Datadog organization properties */ - export interface AzureDataLakeStoreLinkedServiceResponse { - /** - * Data Lake Store account name. Type: string (or Expression with resultType string). - */ - accountName?: any; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The credential reference containing authentication information. - */ - credential?: outputs.datafactory.CredentialReferenceResponse; - /** - * Data Lake Store service URI. Type: string (or Expression with resultType string). - */ - dataLakeStoreUri: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). - */ - resourceGroupName?: any; + export interface DatadogOrganizationPropertiesResponse { /** - * The ID of the application used to authenticate against the Azure Data Lake Store account. Type: string (or Expression with resultType string). + * Id of the Datadog organization. */ - servicePrincipalId?: any; + id?: string; /** - * The Key of the application used to authenticate against the Azure Data Lake Store account. + * Name of the Datadog organization. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + name?: string; + } + + export interface IdentityPropertiesResponse { /** - * Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). + * The identity ID. */ - subscriptionId?: any; + principalId: string; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * The tenant ID of resource. */ - tenant?: any; + tenantId: string; /** - * Type of linked service. - * Expected value is 'AzureDataLakeStore'. + * Identity type */ - type: "AzureDataLakeStore"; + type?: string; } /** - * The location of azure data lake store dataset. + * The definition of a linked resource. */ - export interface AzureDataLakeStoreLocationResponse { - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; + export interface LinkedResourceResponse { /** - * Type of dataset storage location. - * Expected value is 'AzureDataLakeStoreLocation'. + * The ARM id of the linked resource. */ - type: "AzureDataLakeStoreLocation"; + id?: string; } /** - * Azure data lake store read settings. + * Properties specific to the monitor resource. */ - export interface AzureDataLakeStoreReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). - */ - enablePartitionDiscovery?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Lists files after the value (exclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). - */ - listAfter?: any; - /** - * Lists files before the value (inclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). - */ - listBefore?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; + export interface MonitorPropertiesResponse { /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Datadog organization properties */ - partitionRootPath?: any; + datadogOrganizationProperties?: outputs.datadog.DatadogOrganizationPropertiesResponse; + liftrResourceCategory: string; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * The priority of the resource. */ - recursive?: any; + liftrResourcePreference: number; /** - * The read setting type. - * Expected value is 'AzureDataLakeStoreReadSettings'. + * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. */ - type: "AzureDataLakeStoreReadSettings"; + marketplaceSubscriptionStatus: string; /** - * ADLS wildcardFileName. Type: string (or Expression with resultType string). + * Flag specifying if the resource monitoring is enabled or disabled. */ - wildcardFileName?: any; + monitoringStatus?: string; + provisioningState: string; /** - * ADLS wildcardFolderPath. Type: string (or Expression with resultType string). + * User info */ - wildcardFolderPath?: any; + userInfo?: outputs.datadog.UserInfoResponse; } /** - * A copy activity Azure Data Lake Store sink. + * The properties of a resource currently being monitored by the Datadog monitor resource. */ - export interface AzureDataLakeStoreSinkResponse { - /** - * The type of copy behavior for copy sink. Type: string (or Expression with resultType string). - */ - copyBehavior?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Single File Parallel. - */ - enableAdlsSingleFileParallel?: any; + export interface MonitoredResourceResponse { /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The ARM id of the resource. */ - maxConcurrentConnections?: any; + id?: string; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Reason for why the resource is sending logs (or why it is not sending). */ - sinkRetryCount?: any; + reasonForLogsStatus?: string; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Reason for why the resource is sending metrics (or why it is not sending). */ - sinkRetryWait?: any; + reasonForMetricsStatus?: string; /** - * Copy sink type. - * Expected value is 'AzureDataLakeStoreSink'. + * Flag indicating if resource is sending logs to Datadog. */ - type: "AzureDataLakeStoreSink"; + sendingLogs?: boolean; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Flag indicating if resource is sending metrics to Datadog. */ - writeBatchSize?: any; + sendingMetrics?: boolean; + } + + export interface ResourceSkuResponse { /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Name of the SKU. */ - writeBatchTimeout?: any; + name: string; } /** - * A copy activity Azure Data Lake source. + * Metadata pertaining to creation and last modification of the resource. */ - export interface AzureDataLakeStoreSourceResponse { + export interface SystemDataResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The timestamp of resource creation (UTC). */ - disableMetricsCollection?: any; + createdAt?: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The identity that created the resource. */ - maxConcurrentConnections?: any; + createdBy?: string; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * The type of identity that created the resource. */ - recursive?: any; + createdByType?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The timestamp of resource last modification (UTC) */ - sourceRetryCount?: any; + lastModifiedAt?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The identity that last modified the resource. */ - sourceRetryWait?: any; + lastModifiedBy?: string; /** - * Copy source type. - * Expected value is 'AzureDataLakeStoreSource'. + * The type of identity that last modified the resource. */ - type: "AzureDataLakeStoreSource"; + lastModifiedByType?: string; } /** - * Azure data lake store write settings. + * User info */ - export interface AzureDataLakeStoreWriteSettingsResponse { - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; + export interface UserInfoResponse { /** - * Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string). + * Email of the user used by Datadog for contacting them if needed */ - expiryDateTime?: any; + emailAddress?: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Name of the user */ - maxConcurrentConnections?: any; + name?: string; /** - * The write setting type. - * Expected value is 'AzureDataLakeStoreWriteSettings'. + * Phone number of the user used by Datadog for contacting them if needed */ - type: "AzureDataLakeStoreWriteSettings"; + phoneNumber?: string; } - /** - * Azure Databricks Delta Lake dataset. - */ - export interface AzureDatabricksDeltaLakeDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The database name of delta table. Type: string (or Expression with resultType string). - */ - database?: any; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; + export namespace v20220601 { + export interface DatadogApiKeyResponse { + /** + * The time of creation of the API key. + */ + created?: string; + /** + * The user that created the API key. + */ + createdBy?: string; + /** + * The value of the API key. + */ + key: string; + /** + * The name of the API key. + */ + name?: string; + } + + export interface DatadogHostMetadataResponse { + /** + * The agent version. + */ + agentVersion?: string; + installMethod?: outputs.datadog.v20220601.DatadogInstallMethodResponse; + logsAgent?: outputs.datadog.v20220601.DatadogLogsAgentResponse; + } + + export interface DatadogHostResponse { + /** + * The aliases for the host. + */ + aliases?: string[]; + /** + * The Datadog integrations reporting metrics for the host. + */ + apps?: string[]; + meta?: outputs.datadog.v20220601.DatadogHostMetadataResponse; + /** + * The name of the host. + */ + name?: string; + } + + export interface DatadogInstallMethodResponse { + /** + * The installer version. + */ + installerVersion?: string; + /** + * The tool. + */ + tool?: string; + /** + * The tool version. + */ + toolVersion?: string; + } + + export interface DatadogLogsAgentResponse { + /** + * The transport. + */ + transport?: string; + } + /** - * Linked service reference. + * Datadog organization properties */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface DatadogOrganizationPropertiesResponse { + /** + * Id of the Datadog organization. + */ + id?: string; + /** + * Name of the Datadog organization. + */ + name?: string; + } + + export interface IdentityPropertiesResponse { + /** + * The identity ID. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * Identity type + */ + type?: string; + } + /** - * Parameters for dataset. + * The definition of a linked resource. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface LinkedResourceResponse { + /** + * The ARM id of the linked resource. + */ + id?: string; + } + /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Properties specific to the monitor resource. */ - schema?: any; + export interface MonitorPropertiesResponse { + /** + * Datadog organization properties + */ + datadogOrganizationProperties?: outputs.datadog.v20220601.DatadogOrganizationPropertiesResponse; + liftrResourceCategory: string; + /** + * The priority of the resource. + */ + liftrResourcePreference: number; + /** + * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. + */ + marketplaceSubscriptionStatus: string; + /** + * Flag specifying if the resource monitoring is enabled or disabled. + */ + monitoringStatus?: string; + provisioningState: string; + /** + * User info + */ + userInfo?: outputs.datadog.v20220601.UserInfoResponse; + } + /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The properties of a resource currently being monitored by the Datadog monitor resource. */ - structure?: any; + export interface MonitoredResourceResponse { + /** + * The ARM id of the resource. + */ + id?: string; + /** + * Reason for why the resource is sending logs (or why it is not sending). + */ + reasonForLogsStatus?: string; + /** + * Reason for why the resource is sending metrics (or why it is not sending). + */ + reasonForMetricsStatus?: string; + /** + * Flag indicating if resource is sending logs to Datadog. + */ + sendingLogs?: boolean; + /** + * Flag indicating if resource is sending metrics to Datadog. + */ + sendingMetrics?: boolean; + } + + export interface ResourceSkuResponse { + /** + * Name of the SKU. + */ + name: string; + } + /** - * The name of delta table. Type: string (or Expression with resultType string). + * Metadata pertaining to creation and last modification of the resource. */ - table?: any; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * Type of dataset. - * Expected value is 'AzureDatabricksDeltaLakeDataset'. + * User info */ - type: "AzureDatabricksDeltaLakeDataset"; + export interface UserInfoResponse { + /** + * Email of the user used by Datadog for contacting them if needed + */ + emailAddress?: string; + /** + * Name of the user + */ + name?: string; + /** + * Phone number of the user used by Datadog for contacting them if needed + */ + phoneNumber?: string; + } + } +} +export namespace datafactory { /** - * Azure Databricks Delta Lake export command settings. + * Activity dependency information. */ - export interface AzureDatabricksDeltaLakeExportCommandResponse { - /** - * Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). - */ - dateFormat?: any; + export interface ActivityDependencyResponse { /** - * Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). + * Activity name. */ - timestampFormat?: any; + activity: string; /** - * The export setting type. - * Expected value is 'AzureDatabricksDeltaLakeExportCommand'. + * Match-Condition for the dependency. */ - type: "AzureDatabricksDeltaLakeExportCommand"; + dependencyConditions: string[]; } /** - * Azure Databricks Delta Lake import command settings. + * Execution policy for an activity. */ - export interface AzureDatabricksDeltaLakeImportCommandResponse { + export interface ActivityPolicyResponse { /** - * Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). + * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. */ - dateFormat?: any; + retry?: any; /** - * Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). + * Interval between each retry attempt (in seconds). The default is 30 sec. */ - timestampFormat?: any; + retryIntervalInSeconds?: number; /** - * The import setting type. - * Expected value is 'AzureDatabricksDeltaLakeImportCommand'. + * When set to true, Input from activity is considered as secure and will not be logged to monitoring. */ - type: "AzureDatabricksDeltaLakeImportCommand"; + secureInput?: boolean; + /** + * When set to true, Output from activity is considered as secure and will not be logged to monitoring. + */ + secureOutput?: boolean; + /** + * Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: any; } /** - * Azure Databricks Delta Lake linked service. + * Amazon Marketplace Web Service linked service. */ - export interface AzureDatabricksDeltaLakeLinkedServiceResponse { + export interface AmazonMWSLinkedServiceResponse { /** - * Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or AzureKeyVaultSecretReference. + * The access key id used to access data. */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + accessKeyId: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). - */ - clusterId?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The credential reference containing authentication information. - */ - credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ description?: string; - /** - * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). - */ - domain: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** + * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) + */ + endpoint: any; + /** + * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) + */ + marketplaceID: any; + /** + * The Amazon MWS authentication token. + */ + mwsAuthToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The secret key used to access data. + */ + secretKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The Amazon seller ID. + */ + sellerID: any; /** * Type of linked service. - * Expected value is 'AzureDatabricksDeltaLake'. + * Expected value is 'AmazonMWS'. */ - type: "AzureDatabricksDeltaLake"; + type: "AmazonMWS"; /** - * Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ - workspaceResourceId?: any; + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; } /** - * A copy activity Azure Databricks Delta Lake sink. + * Amazon Marketplace Web Service dataset. */ - export interface AzureDatabricksDeltaLakeSinkResponse { + export interface AmazonMWSObjectDatasetResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * Azure Databricks Delta Lake import settings. + * Dataset description. */ - importSettings?: outputs.datafactory.AzureDatabricksDeltaLakeImportCommandResponse; + description?: string; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - maxConcurrentConnections?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * Linked service reference. */ - preCopyScript?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Parameters for dataset. */ - sinkRetryCount?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - sinkRetryWait?: any; + schema?: any; /** - * Copy sink type. - * Expected value is 'AzureDatabricksDeltaLakeSink'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "AzureDatabricksDeltaLakeSink"; + structure?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * The table name. Type: string (or Expression with resultType string). */ - writeBatchSize?: any; + tableName?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of dataset. + * Expected value is 'AmazonMWSObject'. */ - writeBatchTimeout?: any; + type: "AmazonMWSObject"; } /** - * A copy activity Azure Databricks Delta Lake source. + * A copy activity Amazon Marketplace Web Service source. */ - export interface AzureDatabricksDeltaLakeSourceResponse { + export interface AmazonMWSSourceResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - disableMetricsCollection?: any; + additionalColumns?: any; /** - * Azure Databricks Delta Lake export settings. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - exportSettings?: outputs.datafactory.AzureDatabricksDeltaLakeExportCommandResponse; + disableMetricsCollection?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -132369,361 +134902,331 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'AzureDatabricksDeltaLakeSource'. + * Expected value is 'AmazonMWSSource'. */ - type: "AzureDatabricksDeltaLakeSource"; + type: "AmazonMWSSource"; } /** - * Azure Databricks linked service. + * AmazonRdsForOracle database. */ - export interface AzureDatabricksLinkedServiceResponse { - /** - * Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). - */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface AmazonRdsForOracleLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). - */ - authentication?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The credential reference containing authentication information. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + connectionString: any; /** * Linked service description. */ description?: string; - /** - * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). - */ - domain: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; /** - * The id of an existing interactive cluster that will be used for all runs of this activity. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - existingClusterId?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The id of an existing instance pool that will be used for all runs of this activity. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - instancePoolId?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Additional tags for cluster resources. This property is ignored in instance pool configurations. + * Type of linked service. + * Expected value is 'AmazonRdsForOracle'. */ - newClusterCustomTags?: {[key: string]: any}; + type: "AmazonRdsForOracle"; + } + + /** + * The settings that will be leveraged for AmazonRdsForOracle source partitioning. + */ + export interface AmazonRdsForOraclePartitionSettingsResponse { /** - * The driver node type for the new job cluster. This property is ignored in instance pool configurations. Type: string (or Expression with resultType string). + * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ - newClusterDriverNodeType?: any; + partitionColumnName?: any; /** - * Enable the elastic disk on the new cluster. This property is now ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean (or Expression with resultType boolean). + * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ - newClusterEnableElasticDisk?: any; + partitionLowerBound?: any; /** - * User-defined initialization scripts for the new cluster. Type: array of strings (or Expression with resultType array of strings). + * Names of the physical partitions of AmazonRdsForOracle table. */ - newClusterInitScripts?: any; + partitionNames?: any[]; /** - * Specify a location to deliver Spark driver, worker, and event logs. Type: string (or Expression with resultType string). + * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ - newClusterLogDestination?: any; + partitionUpperBound?: any; + } + + /** + * A copy activity AmazonRdsForOracle source. + */ + export interface AmazonRdsForOracleSourceResponse { /** - * The node type of the new job cluster. This property is required if newClusterVersion is specified and instancePoolId is not specified. If instancePoolId is specified, this property is ignored. Type: string (or Expression with resultType string). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - newClusterNodeType?: any; + additionalColumns?: any; /** - * If not using an existing interactive cluster, this specifies the number of worker nodes to use for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance pools, this is a string-formatted Int32, and can only specify a fixed number of worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - newClusterNumOfWorker?: any; + disableMetricsCollection?: any; /** - * A set of optional, user-specified Spark configuration key-value pairs. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - newClusterSparkConf?: {[key: string]: any}; + maxConcurrentConnections?: any; /** - * A set of optional, user-specified Spark environment variables key-value pairs. + * AmazonRdsForOracle reader query. Type: string (or Expression with resultType string). */ - newClusterSparkEnvVars?: {[key: string]: any}; + oracleReaderQuery?: any; /** - * If not using an existing interactive cluster, this specifies the Spark version of a new job cluster or instance pool nodes created for each run of this activity. Required if instancePoolId is specified. Type: string (or Expression with resultType string). + * The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string). */ - newClusterVersion?: any; + partitionOption?: any; /** - * Parameters for linked service. + * The settings that will be leveraged for AmazonRdsForOracle source partitioning. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + partitionSettings?: outputs.datafactory.AmazonRdsForOraclePartitionSettingsResponse; /** - * The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - policyId?: any; + queryTimeout?: any; /** - * Type of linked service. - * Expected value is 'AzureDatabricks'. + * Source retry count. Type: integer (or Expression with resultType integer). */ - type: "AzureDatabricks"; + sourceRetryCount?: any; /** - * Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - workspaceResourceId?: any; + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'AmazonRdsForOracleSource'. + */ + type: "AmazonRdsForOracleSource"; } /** - * Azure File Storage linked service. + * The AmazonRdsForOracle database dataset. */ - export interface AzureFileStorageLinkedServiceResponse { + export interface AmazonRdsForOracleTableDatasetResponse { /** - * The Azure key vault secret reference of accountKey in connection string. + * List of tags that can be used for describing the Dataset. */ - accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + annotations?: any[]; /** - * List of tags that can be used for describing the linked service. + * Dataset description. */ - annotations?: any[]; + description?: string; /** - * The integration runtime reference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + * Linked service reference. */ - connectionString?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Linked service description. + * Parameters for dataset. */ - description?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - encryptedCredential?: string; + schema?: any; /** - * The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - fileShare?: any; + structure?: any; /** - * Host name of the server. Type: string (or Expression with resultType string). + * The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). */ - host?: any; + table?: any; /** - * Parameters for linked service. + * Type of dataset. + * Expected value is 'AmazonRdsForOracleTable'. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + type: "AmazonRdsForOracleTable"; + } + + /** + * Amazon RDS for SQL Server linked service. + */ + export interface AmazonRdsForSqlServerLinkedServiceResponse { /** - * Password to logon the server. + * Sql always encrypted properties. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; /** - * The Azure key vault secret reference of sasToken in sas uri. + * List of tags that can be used for describing the linked service. */ - sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + annotations?: any[]; /** - * SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + * The integration runtime reference. */ - sasUri?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The azure file share snapshot version. Type: string (or Expression with resultType string). + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - snapshot?: any; + connectionString: any; /** - * Type of linked service. - * Expected value is 'AzureFileStorage'. + * Linked service description. */ - type: "AzureFileStorage"; + description?: string; /** - * User ID to logon the server. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - userId?: any; - } - - /** - * The location of file server dataset. - */ - export interface AzureFileStorageLocationResponse { + encryptedCredential?: string; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - fileName?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * The on-premises Windows authentication password. */ - folderPath?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of dataset storage location. - * Expected value is 'AzureFileStorageLocation'. + * Type of linked service. + * Expected value is 'AmazonRdsForSqlServer'. */ - type: "AzureFileStorageLocation"; + type: "AmazonRdsForSqlServer"; + /** + * The on-premises Windows authentication user name. Type: string (or Expression with resultType string). + */ + userName?: any; } /** - * Azure File Storage read settings. + * A copy activity Amazon RDS for SQL Server source. */ - export interface AzureFileStorageReadSettingsResponse { + export interface AmazonRdsForSqlServerSourceResponse { /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - deleteFilesAfterCompletion?: any; + additionalColumns?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). - */ - enablePartitionDiscovery?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ - fileListPath?: any; + isolationLevel?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - partitionRootPath?: any; + partitionOption?: any; /** - * The prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). + * The settings that will be leveraged for Sql source partitioning. */ - prefix?: any; + partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Which additional types to produce. */ - recursive?: any; + produceAdditionalTypes?: any; /** - * The read setting type. - * Expected value is 'AzureFileStorageReadSettings'. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "AzureFileStorageReadSettings"; + queryTimeout?: any; /** - * Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - wildcardFileName?: any; + sourceRetryCount?: any; /** - * Azure File Storage wildcardFolderPath. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - wildcardFolderPath?: any; - } - - /** - * Azure File Storage write settings. - */ - export interface AzureFileStorageWriteSettingsResponse { + sourceRetryWait?: any; /** - * The type of copy behavior for copy sink. + * SQL reader query. Type: string (or Expression with resultType string). */ - copyBehavior?: any; + sqlReaderQuery?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ - disableMetricsCollection?: any; + sqlReaderStoredProcedureName?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ - maxConcurrentConnections?: any; + storedProcedureParameters?: any; /** - * The write setting type. - * Expected value is 'AzureFileStorageWriteSettings'. + * Copy source type. + * Expected value is 'AmazonRdsForSqlServerSource'. */ - type: "AzureFileStorageWriteSettings"; + type: "AmazonRdsForSqlServerSource"; } /** - * Azure Function activity. + * The Amazon RDS for SQL Server dataset. */ - export interface AzureFunctionActivityResponse { - /** - * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). - */ - body?: any; + export interface AmazonRdsForSqlServerTableDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Dataset description. */ description?: string; /** - * Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string) - */ - functionName: any; - /** - * Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - headers?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Rest API method for target endpoint. - */ - method: string; - /** - * Activity name. - */ - name: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Parameters for dataset. */ - onInactiveMarkAs?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity policy. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + schema?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - state?: string; + structure?: any; /** - * Type of activity. - * Expected value is 'AzureFunctionActivity'. + * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). */ - type: "AzureFunctionActivity"; + table?: any; /** - * Activity user properties. + * Type of dataset. + * Expected value is 'AmazonRdsForSqlServerTable'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "AmazonRdsForSqlServerTable"; } /** - * Azure Function linked service. + * Linked service for Amazon Redshift. */ - export interface AzureFunctionLinkedServiceResponse { + export interface AmazonRedshiftLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string). - */ - authentication?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The credential reference containing authentication information. + * The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). */ - credential?: outputs.datafactory.CredentialReferenceResponse; + database: any; /** * Linked service description. */ @@ -132733,419 +135236,346 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The endpoint of the Azure Function App. URL will be in the format https://.azurewebsites.net. + * Parameters for linked service. */ - functionAppUrl: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Function or Host key for Azure Function App. + * The password of the Amazon Redshift source. */ - functionKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Parameters for linked service. + * The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + port?: any; /** - * Allowed token audiences for azure function. + * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). */ - resourceId?: any; + server: any; /** * Type of linked service. - * Expected value is 'AzureFunction'. + * Expected value is 'AmazonRedshift'. */ - type: "AzureFunction"; + type: "AmazonRedshift"; + /** + * The username of the Amazon Redshift source. Type: string (or Expression with resultType string). + */ + username?: any; } /** - * Azure Key Vault linked service. + * A copy activity source for Amazon Redshift Source. */ - export interface AzureKeyVaultLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). - */ - baseUrl: any; + export interface AmazonRedshiftSourceResponse { /** - * The integration runtime reference. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + additionalColumns?: any; /** - * The credential reference containing authentication information. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - credential?: outputs.datafactory.CredentialReferenceResponse; + disableMetricsCollection?: any; /** - * Linked service description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * Parameters for linked service. + * Database query. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + query?: any; /** - * Type of linked service. - * Expected value is 'AzureKeyVault'. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "AzureKeyVault"; - } - - /** - * Azure Key Vault secret reference. - */ - export interface AzureKeyVaultSecretReferenceResponse { + queryTimeout?: any; /** - * The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string). + * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. */ - secretName: any; + redshiftUnloadSettings?: outputs.datafactory.RedshiftUnloadSettingsResponse; /** - * The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - secretVersion?: any; + sourceRetryCount?: any; /** - * The Azure Key Vault linked service reference. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - store: outputs.datafactory.LinkedServiceReferenceResponse; + sourceRetryWait?: any; /** - * Type of the secret. - * Expected value is 'AzureKeyVaultSecret'. + * Copy source type. + * Expected value is 'AmazonRedshiftSource'. */ - type: "AzureKeyVaultSecret"; + type: "AmazonRedshiftSource"; } /** - * Azure ML Batch Execution activity. + * The Amazon Redshift table dataset. */ - export interface AzureMLBatchExecutionActivityResponse { + export interface AmazonRedshiftTableDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Dataset description. */ description?: string; /** - * Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - globalParameters?: {[key: string]: any}; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Activity name. - */ - name: string; - /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. - */ - onInactiveMarkAs?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Activity policy. + * Parameters for dataset. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - state?: string; + schema?: any; /** - * Type of activity. - * Expected value is 'AzureMLBatchExecution'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "AzureMLBatchExecution"; + structure?: any; /** - * Activity user properties. + * The Amazon Redshift table name. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + table?: any; /** - * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. + * This property will be retired. Please consider using schema + table properties instead. */ - webServiceInputs?: {[key: string]: outputs.datafactory.AzureMLWebServiceFileResponse}; + tableName?: any; /** - * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. + * Type of dataset. + * Expected value is 'AmazonRedshiftTable'. */ - webServiceOutputs?: {[key: string]: outputs.datafactory.AzureMLWebServiceFileResponse}; + type: "AmazonRedshiftTable"; } /** - * Azure ML Execute Pipeline activity. + * Linked service for Amazon S3 Compatible. */ - export interface AzureMLExecutePipelineActivityResponse { + export interface AmazonS3CompatibleLinkedServiceResponse { /** - * Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). + * The access key identifier of the Amazon S3 Compatible Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ - continueOnStepFailure?: any; + accessKeyId?: any; /** - * Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). + * List of tags that can be used for describing the linked service. */ - dataPathAssignments?: any; + annotations?: any[]; /** - * Activity depends on condition. + * The integration runtime reference. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Activity description. + * Linked service description. */ description?: string; /** - * Run history experiment name of the pipeline run. This information will be passed in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with resultType string). - */ - experimentName?: any; - /** - * Linked service reference. - */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - mlParentRunId?: any; + encryptedCredential?: string; /** - * ID of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). + * If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). */ - mlPipelineEndpointId?: any; + forcePathStyle?: any; /** - * ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - mlPipelineId?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). + * The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. */ - mlPipelineParameters?: any; + secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity name. + * This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ - name: string; + serviceUrl?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Type of linked service. + * Expected value is 'AmazonS3Compatible'. */ - onInactiveMarkAs?: string; + type: "AmazonS3Compatible"; + } + + /** + * The location of Amazon S3 Compatible dataset. + */ + export interface AmazonS3CompatibleLocationResponse { /** - * Activity policy. + * Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string) */ - policy?: outputs.datafactory.ActivityPolicyResponse; + bucketName?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - state?: string; + fileName?: any; /** - * Type of activity. - * Expected value is 'AzureMLExecutePipeline'. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - type: "AzureMLExecutePipeline"; + folderPath?: any; /** - * Activity user properties. + * Type of dataset storage location. + * Expected value is 'AmazonS3CompatibleLocation'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "AmazonS3CompatibleLocation"; /** - * Version of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). + * Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string). */ version?: any; } /** - * Azure ML Studio Web Service linked service. + * Amazon S3 Compatible read settings. */ - export interface AzureMLLinkedServiceResponse { + export interface AmazonS3CompatibleReadSettingsResponse { /** - * List of tags that can be used for describing the linked service. + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - annotations?: any[]; + deleteFilesAfterCompletion?: any; /** - * The API key for accessing the Azure ML model endpoint. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - apiKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + disableMetricsCollection?: any; /** - * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - authentication?: any; + enablePartitionDiscovery?: any; /** - * The integration runtime reference. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + fileListPath?: any; /** - * Linked service description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + modifiedDatetimeEnd?: any; /** - * The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - mlEndpoint: any; + modifiedDatetimeStart?: any; /** - * Parameters for linked service. + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + partitionRootPath?: any; /** - * The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with resultType string). + * The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string). */ - servicePrincipalId?: any; + prefix?: any; /** - * The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + recursive?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * The read setting type. + * Expected value is 'AmazonS3CompatibleReadSettings'. */ - tenant?: any; + type: "AmazonS3CompatibleReadSettings"; /** - * Type of linked service. - * Expected value is 'AzureML'. + * Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string). */ - type: "AzureML"; + wildcardFileName?: any; /** - * The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). + * Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string). */ - updateResourceEndpoint?: any; + wildcardFolderPath?: any; } /** - * Azure ML Service linked service. + * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. */ - export interface AzureMLServiceLinkedServiceResponse { + export interface AmazonS3DatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). + * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). */ - authentication?: any; + bucketName: any; /** - * The integration runtime reference. + * The data compression method used for the Amazon S3 object. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + compression?: outputs.datafactory.DatasetCompressionResponse; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - encryptedCredential?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Azure ML Service workspace name. Type: string (or Expression with resultType string). + * The format of files. */ - mlWorkspaceName: any; + format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; /** - * Parameters for linked service. + * The key of the Amazon S3 object. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + key?: any; /** - * Azure ML Service workspace resource group name. Type: string (or Expression with resultType string). + * Linked service reference. */ - resourceGroupName: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The ID of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. Type: string (or Expression with resultType string). + * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). */ - servicePrincipalId?: any; + modifiedDatetimeEnd?: any; /** - * The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. + * The start of S3 object's modified datetime. Type: string (or Expression with resultType string). */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + modifiedDatetimeStart?: any; /** - * Azure ML Service workspace subscription ID. Type: string (or Expression with resultType string). - */ - subscriptionId: any; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). - */ - tenant?: any; - /** - * Type of linked service. - * Expected value is 'AzureMLService'. - */ - type: "AzureMLService"; - } - - /** - * Azure ML Update Resource management activity. - */ - export interface AzureMLUpdateResourceActivityResponse { - /** - * Activity depends on condition. - */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; - /** - * Activity description. - */ - description?: string; - /** - * Linked service reference. - */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Activity name. - */ - name: string; - /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. - */ - onInactiveMarkAs?: string; - /** - * Activity policy. - */ - policy?: outputs.datafactory.ActivityPolicyResponse; - /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Parameters for dataset. */ - state?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). + * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). */ - trainedModelFilePath: any; + prefix?: any; /** - * Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - trainedModelLinkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + schema?: any; /** - * Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - trainedModelName: any; + structure?: any; /** - * Type of activity. - * Expected value is 'AzureMLUpdateResource'. + * Type of dataset. + * Expected value is 'AmazonS3Object'. */ - type: "AzureMLUpdateResource"; + type: "AmazonS3Object"; /** - * Activity user properties. + * The version for the S3 object. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + version?: any; } /** - * Azure ML WebService Input/Output file + * Linked service for Amazon S3. */ - export interface AzureMLWebServiceFileResponse { - /** - * The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string). - */ - filePath: any; + export interface AmazonS3LinkedServiceResponse { /** - * Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. + * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - } - - /** - * Azure Database for MariaDB linked service. - */ - export interface AzureMariaDBLinkedServiceResponse { + accessKeyId?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The integration runtime reference. + * The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + authenticationType?: any; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The integration runtime reference. */ - connectionString?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** * Linked service description. */ @@ -133159,223 +135589,247 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The Azure key vault secret reference of password in connection string. + * The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */ - pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). + */ + serviceUrl?: any; + /** + * The session token for the S3 temporary security credential. + */ + sessionToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'AzureMariaDB'. + * Expected value is 'AmazonS3'. */ - type: "AzureMariaDB"; + type: "AmazonS3"; } /** - * A copy activity Azure MariaDB source. + * The location of amazon S3 dataset. */ - export interface AzureMariaDBSourceResponse { + export interface AmazonS3LocationResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Specify the bucketName of amazon S3. Type: string (or Expression with resultType string) */ - additionalColumns?: any; + bucketName?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - disableMetricsCollection?: any; + fileName?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - maxConcurrentConnections?: any; + folderPath?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Type of dataset storage location. + * Expected value is 'AmazonS3Location'. */ - query?: any; + type: "AmazonS3Location"; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specify the version of amazon S3. Type: string (or Expression with resultType string). */ - queryTimeout?: any; + version?: any; + } + + /** + * Amazon S3 read settings. + */ + export interface AmazonS3ReadSettingsResponse { /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - sourceRetryCount?: any; + deleteFilesAfterCompletion?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - sourceRetryWait?: any; + disableMetricsCollection?: any; /** - * Copy source type. - * Expected value is 'AzureMariaDBSource'. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - type: "AzureMariaDBSource"; - } - - /** - * Azure Database for MariaDB dataset. - */ - export interface AzureMariaDBTableDatasetResponse { + enablePartitionDiscovery?: any; /** - * List of tags that can be used for describing the Dataset. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - annotations?: any[]; + fileListPath?: any; /** - * Dataset description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - folder?: outputs.datafactory.DatasetResponseFolder; + modifiedDatetimeEnd?: any; /** - * Linked service reference. + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + modifiedDatetimeStart?: any; /** - * Parameters for dataset. + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + partitionRootPath?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). */ - schema?: any; + prefix?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - structure?: any; + recursive?: any; /** - * The table name. Type: string (or Expression with resultType string). + * The read setting type. + * Expected value is 'AmazonS3ReadSettings'. */ - tableName?: any; + type: "AmazonS3ReadSettings"; /** - * Type of dataset. - * Expected value is 'AzureMariaDBTable'. + * AmazonS3 wildcardFileName. Type: string (or Expression with resultType string). */ - type: "AzureMariaDBTable"; + wildcardFileName?: any; + /** + * AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * Azure MySQL database linked service. + * Linked service for AppFigures. */ - export interface AzureMySqlLinkedServiceResponse { + export interface AppFiguresLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The integration runtime reference. + * The client key for the AppFigures source. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + clientKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The integration runtime reference. */ - connectionString: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** * Linked service description. */ description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The Azure key vault secret reference of password in connection string. + * The password of the AppFigures source. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'AzureMySql'. + * Expected value is 'AppFigures'. */ - type: "AzureMySql"; + type: "AppFigures"; + /** + * The username of the Appfigures source. Type: string (or Expression with resultType string). + */ + userName: any; } /** - * A copy activity Azure MySql sink. + * Append value for a Variable of type Array. */ - export interface AzureMySqlSinkResponse { + export interface AppendVariableActivityResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Activity depends on condition. */ - disableMetricsCollection?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Activity description. */ - maxConcurrentConnections?: any; + description?: string; /** - * A query to execute before starting the copy. Type: string (or Expression with resultType string). + * Activity name. */ - preCopyScript?: any; + name: string; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - sinkRetryCount?: any; + onInactiveMarkAs?: string; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - sinkRetryWait?: any; + state?: string; /** - * Copy sink type. - * Expected value is 'AzureMySqlSink'. + * Type of activity. + * Expected value is 'AppendVariable'. */ - type: "AzureMySqlSink"; + type: "AppendVariable"; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Activity user properties. */ - writeBatchSize?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Value to be appended. Type: could be a static value matching type of the variable item or Expression with resultType matching type of the variable item */ - writeBatchTimeout?: any; + value?: any; + /** + * Name of the variable whose value needs to be appended to. + */ + variableName?: string; } /** - * A copy activity Azure MySQL source. + * A wrapper for an ARM resource id */ - export interface AzureMySqlSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface ArmIdWrapperResponse { + id: string; + } + + /** + * Linked service for Asana. + */ + export interface AsanaLinkedServiceResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the linked service. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The api token for the Asana source. */ - maxConcurrentConnections?: any; + apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Database query. Type: string (or Expression with resultType string). + * The integration runtime reference. */ - query?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service description. */ - queryTimeout?: any; + description?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - sourceRetryCount?: any; + encryptedCredential?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Parameters for linked service. */ - sourceRetryWait?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Copy source type. - * Expected value is 'AzureMySqlSource'. + * Type of linked service. + * Expected value is 'Asana'. */ - type: "AzureMySqlSource"; + type: "Asana"; } /** - * The Azure MySQL database dataset. + * Avro dataset. */ - export interface AzureMySqlTableDatasetResponse { + export interface AvroDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; + /** + * The data avroCompressionCodec. Type: string (or Expression with resultType string). + */ + avroCompressionCodec?: any; + avroCompressionLevel?: number; /** * Dataset description. */ @@ -133388,6 +135842,10 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The location of the avro storage. + */ + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; /** * Parameters for dataset. */ @@ -133400,76 +135858,48 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The name of Azure MySQL database table. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The Azure MySQL database table name. Type: string (or Expression with resultType string). - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'AzureMySqlTable'. + * Expected value is 'Avro'. */ - type: "AzureMySqlTable"; + type: "Avro"; } /** - * Azure PostgreSQL linked service. + * The data stored in Avro format. */ - export interface AzurePostgreSqlLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; + export interface AvroFormatResponse { /** - * Parameters for linked service. + * Deserializer. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + deserializer?: any; /** - * The Azure key vault secret reference of password in connection string. + * Serializer. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + serializer?: any; /** - * Type of linked service. - * Expected value is 'AzurePostgreSql'. + * Type of dataset storage format. + * Expected value is 'AvroFormat'. */ - type: "AzurePostgreSql"; + type: "AvroFormat"; } /** - * A copy activity Azure PostgreSQL sink. + * A copy activity Avro sink. */ - export interface AzurePostgreSqlSinkResponse { + export interface AvroSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Avro format settings. */ - maxConcurrentConnections?: any; + formatSettings?: outputs.datafactory.AvroWriteSettingsResponse; /** - * A query to execute before starting the copy. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - preCopyScript?: any; + maxConcurrentConnections?: any; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -133478,11 +135908,15 @@ export namespace datafactory { * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sinkRetryWait?: any; + /** + * Avro store settings. + */ + storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; /** * Copy sink type. - * Expected value is 'AzurePostgreSqlSink'. + * Expected value is 'AvroSink'. */ - type: "AzurePostgreSqlSink"; + type: "AvroSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -133494,9 +135928,9 @@ export namespace datafactory { } /** - * A copy activity Azure PostgreSQL source. + * A copy activity Avro source. */ - export interface AzurePostgreSqlSourceResponse { + export interface AvroSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -133509,14 +135943,6 @@ export namespace datafactory { * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -133526,188 +135952,86 @@ export namespace datafactory { */ sourceRetryWait?: any; /** - * Copy source type. - * Expected value is 'AzurePostgreSqlSource'. - */ - type: "AzurePostgreSqlSource"; - } - - /** - * Azure PostgreSQL dataset. - */ - export interface AzurePostgreSqlTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). + * Avro store settings. */ - tableName?: any; + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** - * Type of dataset. - * Expected value is 'AzurePostgreSqlTable'. + * Copy source type. + * Expected value is 'AvroSource'. */ - type: "AzurePostgreSqlTable"; + type: "AvroSource"; } /** - * A copy activity Azure Queue sink. + * Avro write settings. */ - export interface AzureQueueSinkResponse { - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; + export interface AvroWriteSettingsResponse { /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + fileNamePrefix?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ - sinkRetryWait?: any; + maxRowsPerFile?: any; /** - * Copy sink type. - * Expected value is 'AzureQueueSink'. + * Top level record name in write result, which is required in AVRO spec. */ - type: "AzureQueueSink"; + recordName?: string; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Record namespace in the write result. */ - writeBatchSize?: any; + recordNamespace?: string; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The write setting type. + * Expected value is 'AvroWriteSettings'. */ - writeBatchTimeout?: any; + type: "AvroWriteSettings"; } /** - * The Azure Search Index. + * The express custom setup of installing Azure PowerShell. */ - export interface AzureSearchIndexDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * The name of the Azure Search Index. Type: string (or Expression with resultType string). - */ - indexName: any; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; + export interface AzPowerShellSetupResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The type of custom setup. + * Expected value is 'AzPowerShellSetup'. */ - structure?: any; + type: "AzPowerShellSetup"; /** - * Type of dataset. - * Expected value is 'AzureSearchIndex'. + * The required version of Azure PowerShell to install. */ - type: "AzureSearchIndex"; + version: string; } /** - * A copy activity Azure Search Index sink. + * Azure Batch linked service. */ - export interface AzureSearchIndexSinkResponse { - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * Copy sink type. - * Expected value is 'AzureSearchIndexSink'. - */ - type: "AzureSearchIndexSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; + export interface AzureBatchLinkedServiceResponse { /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The Azure Batch account access key. */ - writeBatchTimeout?: any; + accessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Specify the write behavior when upserting documents into Azure Search Index. + * The Azure Batch account name. Type: string (or Expression with resultType string). */ - writeBehavior?: string; - } - - /** - * Linked service for Windows Azure Search Service. - */ - export interface AzureSearchLinkedServiceResponse { + accountName: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The Azure Batch URI. Type: string (or Expression with resultType string). + */ + batchUri: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The credential reference containing authentication information. + */ + credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ @@ -133717,99 +136041,123 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * Admin Key for Azure Search service + * The Azure Storage linked service reference. */ - key?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of linked service. - * Expected value is 'AzureSearch'. + * The Azure Batch pool name. Type: string (or Expression with resultType string). */ - type: "AzureSearch"; + poolName: any; /** - * URL for Azure Search service. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'AzureBatch'. */ - url: any; + type: "AzureBatch"; } /** - * Azure SQL Data Warehouse linked service. + * The Azure Blob storage. */ - export interface AzureSqlDWLinkedServiceResponse { + export interface AzureBlobDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + * The data compression method used for the blob storage. */ - azureCloudType?: any; + compression?: outputs.datafactory.DatasetCompressionResponse; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + description?: string; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + * The name of the Azure Blob. Type: string (or Expression with resultType string). */ - connectionString: any; + fileName?: any; /** - * The credential reference containing authentication information. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Linked service description. + * The path of the Azure Blob storage. Type: string (or Expression with resultType string). */ - description?: string; + folderPath?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The format of the Azure Blob storage. */ - encryptedCredential?: string; + format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; /** - * Parameters for linked service. + * Linked service reference. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The Azure key vault secret reference of password in connection string. + * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + modifiedDatetimeEnd?: any; /** - * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). + * The start of Azure Blob's modified datetime. Type: string (or Expression with resultType string). */ - servicePrincipalId?: any; + modifiedDatetimeStart?: any; /** - * The key of the service principal used to authenticate against Azure SQL Data Warehouse. + * Parameters for dataset. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - tenant?: any; + schema?: any; /** - * Type of linked service. - * Expected value is 'AzureSqlDW'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "AzureSqlDW"; + structure?: any; + /** + * The root of blob path. Type: string (or Expression with resultType string). + */ + tableRootLocation?: any; + /** + * Type of dataset. + * Expected value is 'AzureBlob'. + */ + type: "AzureBlob"; } /** - * The Azure SQL Data Warehouse dataset. + * The Azure Data Lake Storage Gen2 storage. */ - export interface AzureSqlDWTableDatasetResponse { + export interface AzureBlobFSDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; + /** + * The data compression method used for the blob storage. + */ + compression?: outputs.datafactory.DatasetCompressionResponse; /** * Dataset description. */ description?: string; + /** + * The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType string). + */ + fileName?: any; /** * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ folder?: outputs.datafactory.DatasetResponseFolder; + /** + * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with resultType string). + */ + folderPath?: any; + /** + * The format of the Azure Data Lake Storage Gen2 storage. + */ + format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; /** * Linked service reference. */ @@ -133826,29 +136174,21 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'AzureSqlDWTable'. + * Expected value is 'AzureBlobFSFile'. */ - type: "AzureSqlDWTable"; + type: "AzureBlobFSFile"; } /** - * Microsoft Azure SQL Database linked service. + * Azure Data Lake Storage Gen2 linked service. */ - export interface AzureSqlDatabaseLinkedServiceResponse { + export interface AzureBlobFSLinkedServiceResponse { /** - * Sql always encrypted properties. + * Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). */ - alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; + accountKey?: any; /** * List of tags that can be used for describing the linked service. */ @@ -133861,10 +136201,6 @@ export namespace datafactory { * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; /** * The credential reference containing authentication information. */ @@ -133882,15 +136218,27 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The Azure key vault secret reference of password in connection string. + * The Azure key vault secret reference of sasToken in sas uri. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string). + * SAS URI of the Azure Data Lake Storage Gen2 service. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; + /** + * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + */ + servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). + */ + servicePrincipalCredentialType?: any; + /** + * The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; /** - * The key of the service principal used to authenticate against Azure SQL Database. + * The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account. */ servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** @@ -133899,125 +136247,101 @@ export namespace datafactory { tenant?: any; /** * Type of linked service. - * Expected value is 'AzureSqlDatabase'. + * Expected value is 'AzureBlobFS'. */ - type: "AzureSqlDatabase"; + type: "AzureBlobFS"; + /** + * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). + */ + url?: any; } /** - * Azure SQL Managed Instance linked service. + * The location of azure blobFS dataset. */ - export interface AzureSqlMILinkedServiceResponse { - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The credential reference containing authentication information. - */ - credential?: outputs.datafactory.CredentialReferenceResponse; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + export interface AzureBlobFSLocationResponse { /** - * The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - servicePrincipalId?: any; + fileName?: any; /** - * The key of the service principal used to authenticate against Azure SQL Managed Instance. + * Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + fileSystem?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - tenant?: any; + folderPath?: any; /** - * Type of linked service. - * Expected value is 'AzureSqlMI'. + * Type of dataset storage location. + * Expected value is 'AzureBlobFSLocation'. */ - type: "AzureSqlMI"; + type: "AzureBlobFSLocation"; } /** - * The Azure SQL Managed Instance dataset. + * Azure blobFS read settings. */ - export interface AzureSqlMITableDatasetResponse { + export interface AzureBlobFSReadSettingsResponse { /** - * List of tags that can be used for describing the Dataset. + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - annotations?: any[]; + deleteFilesAfterCompletion?: any; /** - * Dataset description. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - description?: string; + disableMetricsCollection?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + enablePartitionDiscovery?: any; /** - * Linked service reference. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + fileListPath?: any; /** - * Parameters for dataset. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + maxConcurrentConnections?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - schema?: any; + modifiedDatetimeEnd?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - structure?: any; + modifiedDatetimeStart?: any; /** - * The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - table?: any; + partitionRootPath?: any; /** - * This property will be retired. Please consider using schema + table properties instead. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - tableName?: any; + recursive?: any; /** - * Type of dataset. - * Expected value is 'AzureSqlMITable'. + * The read setting type. + * Expected value is 'AzureBlobFSReadSettings'. */ - type: "AzureSqlMITable"; + type: "AzureBlobFSReadSettings"; + /** + * Azure blobFS wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * A copy activity Azure SQL sink. + * A copy activity Azure Data Lake Storage Gen2 sink. */ - export interface AzureSqlSinkResponse { + export interface AzureBlobFSSinkResponse { + /** + * The type of copy behavior for copy sink. Type: string (or Expression with resultType string). + */ + copyBehavior?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -134027,9 +136351,9 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). */ - preCopyScript?: any; + metadata?: outputs.datafactory.MetadataItemResponse[]; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -134038,39 +136362,11 @@ export namespace datafactory { * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sinkRetryWait?: any; - /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). - */ - sqlWriterStoredProcedureName?: any; - /** - * SQL writer table type. Type: string (or Expression with resultType string). - */ - sqlWriterTableType?: any; - /** - * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). - */ - sqlWriterUseTableLock?: any; - /** - * SQL stored procedure parameters. - */ - storedProcedureParameters?: any; - /** - * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). - */ - storedProcedureTableTypeParameterName?: any; - /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). - */ - tableOption?: any; /** * Copy sink type. - * Expected value is 'AzureSqlSink'. - */ - type: "AzureSqlSink"; - /** - * SQL upsert settings. + * Expected value is 'AzureBlobFSSink'. */ - upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; + type: "AzureBlobFSSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -134079,48 +136375,28 @@ export namespace datafactory { * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ writeBatchTimeout?: any; - /** - * Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) - */ - writeBehavior?: any; } /** - * A copy activity Azure SQL source. + * A copy activity Azure BlobFS source. */ - export interface AzureSqlSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface AzureBlobFSSourceResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; - /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). - */ - isolationLevel?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; - /** - * Which additional types to produce. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - produceAdditionalTypes?: any; + recursive?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). */ - queryTimeout?: any; + skipHeaderLineCount?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -134130,91 +136406,83 @@ export namespace datafactory { */ sourceRetryWait?: any; /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * Treat empty as null. Type: boolean (or Expression with resultType boolean). */ - storedProcedureParameters?: any; + treatEmptyAsNull?: any; /** * Copy source type. - * Expected value is 'AzureSqlSource'. + * Expected value is 'AzureBlobFSSource'. */ - type: "AzureSqlSource"; + type: "AzureBlobFSSource"; } /** - * The Azure SQL Server database dataset. + * Azure blobFS write settings. */ - export interface AzureSqlTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface AzureBlobFSWriteSettingsResponse { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). */ - schema?: any; + blockSizeInMB?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The type of copy behavior for copy sink. */ - structure?: any; + copyBehavior?: any; /** - * The table name of the Azure SQL database. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - table?: any; + disableMetricsCollection?: any; /** - * This property will be retired. Please consider using schema + table properties instead. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - tableName?: any; + maxConcurrentConnections?: any; /** - * Type of dataset. - * Expected value is 'AzureSqlTable'. + * The write setting type. + * Expected value is 'AzureBlobFSWriteSettings'. */ - type: "AzureSqlTable"; + type: "AzureBlobFSWriteSettings"; } /** - * The storage account linked service. + * The azure blob storage linked service. */ - export interface AzureStorageLinkedServiceResponse { + export interface AzureBlobStorageLinkedServiceResponse { /** * The Azure key vault secret reference of accountKey in connection string. */ accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * Specify the kind of your storage account. Allowed values are: Storage (general purpose v1), StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with resultType string). + */ + accountKind?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The type used for authentication. Type: string. + */ + authenticationType?: string; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + * The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString?: any; + /** + * Container uri of the Azure Blob Storage resource only support for anonymous access. Type: string (or Expression with resultType string). + */ + containerUri?: any; + /** + * The credential reference containing authentication information. + */ + credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ @@ -134232,165 +136500,126 @@ export namespace datafactory { */ sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + * SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. */ sasUri?: any; /** - * Type of linked service. - * Expected value is 'AzureStorage'. - */ - type: "AzureStorage"; - } - - /** - * Azure Synapse Analytics (Artifacts) linked service. - */ - export interface AzureSynapseArtifactsLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Required to specify MSI, if using system assigned managed identity as authentication method. Type: string (or Expression with resultType string). - */ - authentication?: any; - /** - * The integration runtime reference. + * Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + serviceEndpoint?: any; /** - * Linked service description. + * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ - description?: string; + servicePrincipalId?: any; /** - * https://.dev.azuresynapse.net, Azure Synapse Analytics workspace URL. Type: string (or Expression with resultType string). + * The key of the service principal used to authenticate against Azure SQL Data Warehouse. */ - endpoint: any; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Parameters for linked service. + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + tenant?: any; /** * Type of linked service. - * Expected value is 'AzureSynapseArtifacts'. - */ - type: "AzureSynapseArtifacts"; - /** - * The resource ID of the Synapse workspace. The format should be: /subscriptions/{subscriptionID}/resourceGroups/{resourceGroup}/providers/Microsoft.Synapse/workspaces/{workspaceName}. Type: string (or Expression with resultType string). + * Expected value is 'AzureBlobStorage'. */ - workspaceResourceId?: any; + type: "AzureBlobStorage"; } /** - * The Azure Table storage dataset. + * The location of azure blob dataset. */ - export interface AzureTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface AzureBlobStorageLocationResponse { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Specify the container of azure blob. Type: string (or Expression with resultType string). */ - schema?: any; + container?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - structure?: any; + fileName?: any; /** - * The table name of the Azure Table storage. Type: string (or Expression with resultType string). + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - tableName: any; + folderPath?: any; /** - * Type of dataset. - * Expected value is 'AzureTable'. + * Type of dataset storage location. + * Expected value is 'AzureBlobStorageLocation'. */ - type: "AzureTable"; + type: "AzureBlobStorageLocation"; } /** - * A copy activity Azure Table sink. + * Azure blob read settings. */ - export interface AzureTableSinkResponse { + export interface AzureBlobStorageReadSettingsResponse { /** - * Azure Table default partition key value. Type: string (or Expression with resultType string). + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - azureTableDefaultPartitionKeyValue?: any; + deleteFilesAfterCompletion?: any; /** - * Azure Table insert type. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - azureTableInsertType?: any; + disableMetricsCollection?: any; /** - * Azure Table partition key name. Type: string (or Expression with resultType string). + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - azureTablePartitionKeyName?: any; + enablePartitionDiscovery?: any; /** - * Azure Table row key name. Type: string (or Expression with resultType string). + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - azureTableRowKeyName?: any; + fileListPath?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - disableMetricsCollection?: any; + maxConcurrentConnections?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + modifiedDatetimeEnd?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + modifiedDatetimeStart?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - sinkRetryWait?: any; + partitionRootPath?: any; /** - * Copy sink type. - * Expected value is 'AzureTableSink'. + * The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string). */ - type: "AzureTableSink"; + prefix?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - writeBatchSize?: any; + recursive?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The read setting type. + * Expected value is 'AzureBlobStorageReadSettings'. */ - writeBatchTimeout?: any; + type: "AzureBlobStorageReadSettings"; + /** + * Azure blob wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * Azure blob wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * A copy activity Azure Table source. + * Azure blob write settings. */ - export interface AzureTableSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface AzureBlobStorageWriteSettingsResponse { /** - * Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). + * Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). */ - azureTableSourceIgnoreTableNotFound?: any; + blockSizeInMB?: any; /** - * Azure Table source query. Type: string (or Expression with resultType string). + * The type of copy behavior for copy sink. */ - azureTableSourceQuery?: any; + copyBehavior?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -134400,155 +136629,134 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'AzureTableSource'. + * The write setting type. + * Expected value is 'AzureBlobStorageWriteSettings'. */ - type: "AzureTableSource"; + type: "AzureBlobStorageWriteSettings"; } /** - * The azure table storage linked service. + * Azure Data Explorer command activity. */ - export interface AzureTableStorageLinkedServiceResponse { - /** - * The Azure key vault secret reference of accountKey in connection string. - */ - accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + export interface AzureDataExplorerCommandActivityResponse { /** - * List of tags that can be used for describing the linked service. + * A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). */ - annotations?: any[]; + command: any; /** - * The integration runtime reference. + * Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..) */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + commandTimeout?: any; /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + * Activity depends on condition. */ - connectionString?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Linked service description. + * Activity description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Linked service reference. */ - encryptedCredential?: string; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for linked service. + * Activity name. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + name: string; /** - * The Azure key vault secret reference of sasToken in sas uri. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + onInactiveMarkAs?: string; /** - * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + * Activity policy. */ - sasUri?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Type of linked service. - * Expected value is 'AzureTableStorage'. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - type: "AzureTableStorage"; - } - - /** - * Big data pool reference type. - */ - export interface BigDataPoolParametrizationReferenceResponse { + state?: string; /** - * Reference big data pool name. Type: string (or Expression with resultType string). + * Type of activity. + * Expected value is 'AzureDataExplorerCommand'. */ - referenceName: any; + type: "AzureDataExplorerCommand"; /** - * Big data pool reference type. + * Activity user properties. */ - type: string; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Binary dataset. + * Azure Data Explorer (Kusto) linked service. */ - export interface BinaryDatasetResponse { + export interface AzureDataExplorerLinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The data compression method used for the binary dataset. + * The integration runtime reference. */ - compression?: outputs.datafactory.DatasetCompressionResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Dataset description. + * The credential reference containing authentication information. */ - description?: string; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Database name for connection. Type: string (or Expression with resultType string). */ - folder?: outputs.datafactory.DatasetResponseFolder; + database: any; /** - * Linked service reference. + * Linked service description. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * The location of the Binary storage. + * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format https://..kusto.windows.net. Type: string (or Expression with resultType string) */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + endpoint: any; /** - * Parameters for dataset. + * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The ID of the service principal used to authenticate against Azure Data Explorer. Type: string (or Expression with resultType string). */ - structure?: any; + servicePrincipalId?: any; /** - * Type of dataset. - * Expected value is 'Binary'. + * The key of the service principal used to authenticate against Kusto. */ - type: "Binary"; - } - - /** - * Binary read settings. - */ - export interface BinaryReadSettingsResponse { + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Compression settings. + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; + tenant?: any; /** - * The read setting type. - * Expected value is 'BinaryReadSettings'. + * Type of linked service. + * Expected value is 'AzureDataExplorer'. */ - type: "BinaryReadSettings"; + type: "AzureDataExplorer"; } /** - * A copy activity Binary sink. + * A copy activity Azure Data Explorer sink. */ - export interface BinarySinkResponse { + export interface AzureDataExplorerSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * If set to true, any aggregation will be skipped. Default is false. Type: boolean. + */ + flushImmediately?: any; + /** + * An explicit column mapping description provided in a json format. Type: string. + */ + ingestionMappingAsJson?: any; + /** + * A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. + */ + ingestionMappingName?: any; /** * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ @@ -134561,15 +136769,11 @@ export namespace datafactory { * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sinkRetryWait?: any; - /** - * Binary store settings. - */ - storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; /** * Copy sink type. - * Expected value is 'BinarySink'. + * Expected value is 'AzureDataExplorerSink'. */ - type: "BinarySink"; + type: "AzureDataExplorerSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -134581,21 +136785,33 @@ export namespace datafactory { } /** - * A copy activity Binary source. + * A copy activity Azure Data Explorer (Kusto) source. */ - export interface BinarySourceResponse { + export interface AzureDataExplorerSourceResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - disableMetricsCollection?: any; + additionalColumns?: any; /** - * Binary format settings. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - formatSettings?: outputs.datafactory.BinaryReadSettingsResponse; + disableMetricsCollection?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; + /** + * The name of the Boolean option that controls whether truncation is applied to result-sets that go beyond a certain row-count limit. + */ + noTruncation?: any; + /** + * Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string). + */ + query: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. + */ + queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -134604,223 +136820,198 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; - /** - * Binary store settings. - */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** * Copy source type. - * Expected value is 'BinarySource'. + * Expected value is 'AzureDataExplorerSource'. */ - type: "BinarySource"; + type: "AzureDataExplorerSource"; } /** - * Trigger that runs every time a Blob event occurs. + * The Azure Data Explorer (Kusto) dataset. */ - export interface BlobEventsTriggerResponse { + export interface AzureDataExplorerTableDatasetResponse { /** - * List of tags that can be used for describing the trigger. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. - */ - blobPathBeginsWith?: string; - /** - * The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. + * Dataset description. */ - blobPathEndsWith?: string; + description?: string; /** - * Trigger description. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - description?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The type of events that cause this trigger to fire. + * Linked service reference. */ - events: string[]; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * If set to true, blobs with zero bytes will be ignored. + * Parameters for dataset. */ - ignoreEmptyBlobs?: boolean; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Pipelines that need to be started. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + schema?: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - runtimeState: string; + structure?: any; /** - * The ARM resource ID of the Storage Account. + * The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). */ - scope: string; + table?: any; /** - * Trigger type. - * Expected value is 'BlobEventsTrigger'. + * Type of dataset. + * Expected value is 'AzureDataExplorerTable'. */ - type: "BlobEventsTrigger"; + type: "AzureDataExplorerTable"; } /** - * A copy activity Azure Blob sink. + * Azure Data Lake Analytics linked service. */ - export interface BlobSinkResponse { + export interface AzureDataLakeAnalyticsLinkedServiceResponse { /** - * Blob writer add header. Type: boolean (or Expression with resultType boolean). + * The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string). */ - blobWriterAddHeader?: any; + accountName: any; /** - * Blob writer date time format. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - blobWriterDateTimeFormat?: any; + annotations?: any[]; /** - * Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). + * The integration runtime reference. */ - blobWriterOverwriteFiles?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The type of copy behavior for copy sink. + * Azure Data Lake Analytics URI Type: string (or Expression with resultType string). */ - copyBehavior?: any; + dataLakeAnalyticsUri?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Linked service description. */ - disableMetricsCollection?: any; + description?: string; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - maxConcurrentConnections?: any; + encryptedCredential?: string; /** - * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). + * Parameters for linked service. */ - metadata?: outputs.datafactory.MetadataItemResponse[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + resourceGroupName?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string). */ - sinkRetryWait?: any; + servicePrincipalId?: any; /** - * Copy sink type. - * Expected value is 'BlobSink'. + * The Key of the application used to authenticate against the Azure Data Lake Analytics account. */ - type: "BlobSink"; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). */ - writeBatchSize?: any; + subscriptionId?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - writeBatchTimeout?: any; + tenant: any; + /** + * Type of linked service. + * Expected value is 'AzureDataLakeAnalytics'. + */ + type: "AzureDataLakeAnalytics"; } /** - * A copy activity Azure Blob source. + * Azure Data Lake Store dataset. */ - export interface BlobSourceResponse { - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). - */ - skipHeaderLineCount?: any; + export interface AzureDataLakeStoreDatasetResponse { /** - * Source retry count. Type: integer (or Expression with resultType integer). + * List of tags that can be used for describing the Dataset. */ - sourceRetryCount?: any; + annotations?: any[]; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The data compression method used for the item(s) in the Azure Data Lake Store. */ - sourceRetryWait?: any; + compression?: outputs.datafactory.DatasetCompressionResponse; /** - * Treat empty as null. Type: boolean (or Expression with resultType boolean). + * Dataset description. */ - treatEmptyAsNull?: any; + description?: string; /** - * Copy source type. - * Expected value is 'BlobSource'. + * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string). */ - type: "BlobSource"; - } - - /** - * Trigger that runs every time the selected Blob container changes. - */ - export interface BlobTriggerResponse { + fileName?: any; /** - * List of tags that can be used for describing the trigger. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - annotations?: any[]; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Trigger description. + * Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). */ - description?: string; + folderPath?: any; /** - * The path of the container/folder that will trigger the pipeline. + * The format of the Data Lake Store. */ - folderPath: string; + format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; /** - * The Azure Storage linked service reference. + * Linked service reference. */ - linkedService: outputs.datafactory.LinkedServiceReferenceResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The max number of parallel files to handle when it is triggered. + * Parameters for dataset. */ - maxConcurrency: number; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Pipelines that need to be started. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + schema?: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - runtimeState: string; + structure?: any; /** - * Trigger type. - * Expected value is 'BlobTrigger'. + * Type of dataset. + * Expected value is 'AzureDataLakeStoreFile'. */ - type: "BlobTrigger"; + type: "AzureDataLakeStoreFile"; } /** - * Managed Identity used for CMK. + * Azure Data Lake Store linked service. */ - export interface CMKIdentityDefinitionResponse { + export interface AzureDataLakeStoreLinkedServiceResponse { /** - * The resource id of the user assigned identity to authenticate to customer's key vault. + * Data Lake Store account name. Type: string (or Expression with resultType string). */ - userAssignedIdentity?: string; - } - - /** - * Linked service for Cassandra data source. - */ - export interface CassandraLinkedServiceResponse { + accountName?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * AuthenticationType to be used for connection. Type: string (or Expression with resultType string). + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ - authenticationType?: any; + azureCloudType?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The credential reference containing authentication information. + */ + credential?: outputs.datafactory.CredentialReferenceResponse; + /** + * Data Lake Store service URI. Type: string (or Expression with resultType string). + */ + dataLakeStoreUri: any; /** * Linked service description. */ @@ -134829,207 +137020,236 @@ export namespace datafactory { * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * Host name for connection. Type: string (or Expression with resultType string). - */ - host: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password for authentication. + * Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + resourceGroupName?: any; /** - * The port for the connection. Type: integer (or Expression with resultType integer). + * The ID of the application used to authenticate against the Azure Data Lake Store account. Type: string (or Expression with resultType string). */ - port?: any; + servicePrincipalId?: any; /** - * Type of linked service. - * Expected value is 'Cassandra'. + * The Key of the application used to authenticate against the Azure Data Lake Store account. */ - type: "Cassandra"; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Username for authentication. Type: string (or Expression with resultType string). + * Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). */ - username?: any; + subscriptionId?: any; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * Type of linked service. + * Expected value is 'AzureDataLakeStore'. + */ + type: "AzureDataLakeStore"; } /** - * A copy activity source for a Cassandra database. + * The location of azure data lake store dataset. */ - export interface CassandraSourceResponse { + export interface AzureDataLakeStoreLocationResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - additionalColumns?: any; + fileName?: any; /** - * The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - consistencyLevel?: string; + folderPath?: any; + /** + * Type of dataset storage location. + * Expected value is 'AzureDataLakeStoreLocation'. + */ + type: "AzureDataLakeStoreLocation"; + } + + /** + * Azure data lake store read settings. + */ + export interface AzureDataLakeStoreReadSettingsResponse { + /** + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + */ + deleteFilesAfterCompletion?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + */ + enablePartitionDiscovery?: any; + /** + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + */ + fileListPath?: any; + /** + * Lists files after the value (exclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). + */ + listAfter?: any; + /** + * Lists files before the value (inclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). + */ + listBefore?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - query?: any; + modifiedDatetimeEnd?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - queryTimeout?: any; + modifiedDatetimeStart?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - sourceRetryCount?: any; + partitionRootPath?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - sourceRetryWait?: any; + recursive?: any; /** - * Copy source type. - * Expected value is 'CassandraSource'. + * The read setting type. + * Expected value is 'AzureDataLakeStoreReadSettings'. */ - type: "CassandraSource"; + type: "AzureDataLakeStoreReadSettings"; + /** + * ADLS wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * ADLS wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * The Cassandra database dataset. + * A copy activity Azure Data Lake Store sink. */ - export interface CassandraTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface AzureDataLakeStoreSinkResponse { /** - * Dataset description. + * The type of copy behavior for copy sink. Type: string (or Expression with resultType string). */ - description?: string; + copyBehavior?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + disableMetricsCollection?: any; /** - * The keyspace of the Cassandra database. Type: string (or Expression with resultType string). + * Single File Parallel. */ - keyspace?: any; + enableAdlsSingleFileParallel?: any; /** - * Linked service reference. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + maxConcurrentConnections?: any; /** - * Parameters for dataset. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sinkRetryCount?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - schema?: any; + sinkRetryWait?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Copy sink type. + * Expected value is 'AzureDataLakeStoreSink'. */ - structure?: any; + type: "AzureDataLakeStoreSink"; /** - * The table name of the Cassandra database. Type: string (or Expression with resultType string). + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - tableName?: any; + writeBatchSize?: any; /** - * Type of dataset. - * Expected value is 'CassandraTable'. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "CassandraTable"; + writeBatchTimeout?: any; } /** - * Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and their runs should have the values for those runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all upstream pipeline runs. + * A copy activity Azure Data Lake source. */ - export interface ChainingTriggerResponse { - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; + export interface AzureDataLakeStoreSourceResponse { /** - * Upstream Pipelines. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - dependsOn: outputs.datafactory.PipelineReferenceResponse[]; + disableMetricsCollection?: any; /** - * Trigger description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * Pipeline for which runs are created when all upstream pipelines complete successfully. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - pipeline: outputs.datafactory.TriggerPipelineReferenceResponse; + recursive?: any; /** - * Run Dimension property that needs to be emitted by upstream pipelines. + * Source retry count. Type: integer (or Expression with resultType integer). */ - runDimension: string; + sourceRetryCount?: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - runtimeState: string; + sourceRetryWait?: any; /** - * Trigger type. - * Expected value is 'ChainingTrigger'. + * Copy source type. + * Expected value is 'AzureDataLakeStoreSource'. */ - type: "ChainingTrigger"; + type: "AzureDataLakeStoreSource"; } /** - * The folder that this CDC is in. If not specified, CDC will appear at the root level. + * Azure data lake store write settings. */ - export interface ChangeDataCaptureResponseFolder { + export interface AzureDataLakeStoreWriteSettingsResponse { /** - * The name of the folder that this CDC is in. + * The type of copy behavior for copy sink. */ - name?: string; - } - - /** - * The custom setup of running cmdkey commands. - */ - export interface CmdkeySetupResponse { + copyBehavior?: any; /** - * The password of data source access. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + disableMetricsCollection?: any; /** - * The server name of data source access. + * Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string). */ - targetName: any; + expiryDateTime?: any; /** - * The type of custom setup. - * Expected value is 'CmdkeySetup'. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - type: "CmdkeySetup"; + maxConcurrentConnections?: any; /** - * The user name of data source access. + * The write setting type. + * Expected value is 'AzureDataLakeStoreWriteSettings'. */ - userName: any; + type: "AzureDataLakeStoreWriteSettings"; } /** - * The Common Data Service for Apps entity dataset. + * Azure Databricks Delta Lake dataset. */ - export interface CommonDataServiceForAppsEntityDatasetResponse { + export interface AzureDatabricksDeltaLakeDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * Dataset description. + * The database name of delta table. Type: string (or Expression with resultType string). */ - description?: string; + database?: any; /** - * The logical name of the entity. Type: string (or Expression with resultType string). + * Dataset description. */ - entityName?: any; + description?: string; /** * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ @@ -135050,108 +137270,126 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The name of delta table. Type: string (or Expression with resultType string). + */ + table?: any; /** * Type of dataset. - * Expected value is 'CommonDataServiceForAppsEntity'. + * Expected value is 'AzureDatabricksDeltaLakeDataset'. */ - type: "CommonDataServiceForAppsEntity"; + type: "AzureDatabricksDeltaLakeDataset"; } /** - * Common Data Service for Apps linked service. + * Azure Databricks Delta Lake export command settings. */ - export interface CommonDataServiceForAppsLinkedServiceResponse { + export interface AzureDatabricksDeltaLakeExportCommandResponse { /** - * List of tags that can be used for describing the linked service. + * Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ - annotations?: any[]; + dateFormat?: any; /** - * The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). + * Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ - authenticationType: any; + timestampFormat?: any; /** - * The integration runtime reference. + * The export setting type. + * Expected value is 'AzureDatabricksDeltaLakeExportCommand'. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + type: "AzureDatabricksDeltaLakeExportCommand"; + } + + /** + * Azure Databricks Delta Lake import command settings. + */ + export interface AzureDatabricksDeltaLakeImportCommandResponse { /** - * The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string). + * Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ - deploymentType: any; + dateFormat?: any; /** - * Linked service description. + * Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ - description?: string; + timestampFormat?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The import setting type. + * Expected value is 'AzureDatabricksDeltaLakeImportCommand'. */ - encryptedCredential?: string; + type: "AzureDatabricksDeltaLakeImportCommand"; + } + + /** + * Azure Databricks Delta Lake linked service. + */ + export interface AzureDatabricksDeltaLakeLinkedServiceResponse { /** - * The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). + * Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or AzureKeyVaultSecretReference. */ - hostName?: any; + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - organizationName?: any; + annotations?: any[]; /** - * Parameters for linked service. + * The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + clusterId?: any; /** - * Password to access the Common Data Service for Apps instance. + * The integration runtime reference. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + * The credential reference containing authentication information. */ - port?: any; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * Linked service description. */ - servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + description?: string; /** - * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). + * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). */ - servicePrincipalCredentialType?: any; + domain: any; /** - * The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - servicePrincipalId?: any; + encryptedCredential?: string; /** - * The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - serviceUri?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** * Type of linked service. - * Expected value is 'CommonDataServiceForApps'. + * Expected value is 'AzureDatabricksDeltaLake'. */ - type: "CommonDataServiceForApps"; + type: "AzureDatabricksDeltaLake"; /** - * User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). + * Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */ - username?: any; + workspaceResourceId?: any; } /** - * A copy activity Common Data Service for Apps sink. + * A copy activity Azure Databricks Delta Lake sink. */ - export interface CommonDataServiceForAppsSinkResponse { - /** - * The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). - */ - alternateKeyName?: any; + export interface AzureDatabricksDeltaLakeSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). + * Azure Databricks Delta Lake import settings. */ - ignoreNullValues?: any; + importSettings?: outputs.datafactory.AzureDatabricksDeltaLakeImportCommandResponse; /** * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; + /** + * SQL pre-copy script. Type: string (or Expression with resultType string). + */ + preCopyScript?: any; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -135162,9 +137400,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'CommonDataServiceForAppsSink'. + * Expected value is 'AzureDatabricksDeltaLakeSink'. */ - type: "CommonDataServiceForAppsSink"; + type: "AzureDatabricksDeltaLakeSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -135173,30 +137411,26 @@ export namespace datafactory { * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ writeBatchTimeout?: any; - /** - * The write behavior for the operation. - */ - writeBehavior: string; } /** - * A copy activity Common Data Service for Apps source. + * A copy activity Azure Databricks Delta Lake source. */ - export interface CommonDataServiceForAppsSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface AzureDatabricksDeltaLakeSourceResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * Azure Databricks Delta Lake export settings. + */ + exportSettings?: outputs.datafactory.AzureDatabricksDeltaLakeExportCommandResponse; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). + * Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). */ query?: any; /** @@ -135209,246 +137443,290 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'CommonDataServiceForAppsSource'. + * Expected value is 'AzureDatabricksDeltaLakeSource'. */ - type: "CommonDataServiceForAppsSource"; + type: "AzureDatabricksDeltaLakeSource"; } /** - * The custom setup of installing 3rd party components. + * Azure Databricks linked service. */ - export interface ComponentSetupResponse { - /** - * The name of the 3rd party component. - */ - componentName: string; - /** - * The license key to activate the component. - */ - licenseKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface AzureDatabricksLinkedServiceResponse { /** - * The type of custom setup. - * Expected value is 'ComponentSetup'. + * Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). */ - type: "ComponentSetup"; - } - - /** - * Concur Service linked service. - */ - export interface ConcurLinkedServiceResponse { + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Application client_id supplied by Concur App Management. + * Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */ - clientId: any; + authentication?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object. + * The credential reference containing authentication information. */ - connectionProperties?: any; + credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ description?: string; + /** + * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). + */ + domain: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; /** - * Parameters for linked service. + * The id of an existing interactive cluster that will be used for all runs of this activity. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + existingClusterId?: any; /** - * The password corresponding to the user name that you provided in the username field. + * The id of an existing instance pool that will be used for all runs of this activity. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + instancePoolId?: any; /** - * Type of linked service. - * Expected value is 'Concur'. + * Additional tags for cluster resources. This property is ignored in instance pool configurations. */ - type: "Concur"; + newClusterCustomTags?: {[key: string]: any}; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * The driver node type for the new job cluster. This property is ignored in instance pool configurations. Type: string (or Expression with resultType string). */ - useEncryptedEndpoints?: any; + newClusterDriverNodeType?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * Enable the elastic disk on the new cluster. This property is now ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean (or Expression with resultType boolean). */ - useHostVerification?: any; + newClusterEnableElasticDisk?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * User-defined initialization scripts for the new cluster. Type: array of strings (or Expression with resultType array of strings). */ - usePeerVerification?: any; + newClusterInitScripts?: any; /** - * The user name that you use to access Concur Service. + * Specify a location to deliver Spark driver, worker, and event logs. Type: string (or Expression with resultType string). */ - username: any; - } - - /** - * Concur Service dataset. - */ - export interface ConcurObjectDatasetResponse { + newClusterLogDestination?: any; /** - * List of tags that can be used for describing the Dataset. + * The node type of the new job cluster. This property is required if newClusterVersion is specified and instancePoolId is not specified. If instancePoolId is specified, this property is ignored. Type: string (or Expression with resultType string). */ - annotations?: any[]; + newClusterNodeType?: any; /** - * Dataset description. + * If not using an existing interactive cluster, this specifies the number of worker nodes to use for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance pools, this is a string-formatted Int32, and can only specify a fixed number of worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or Expression with resultType string). */ - description?: string; + newClusterNumOfWorker?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * A set of optional, user-specified Spark configuration key-value pairs. */ - folder?: outputs.datafactory.DatasetResponseFolder; + newClusterSparkConf?: {[key: string]: any}; /** - * Linked service reference. + * A set of optional, user-specified Spark environment variables key-value pairs. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + newClusterSparkEnvVars?: {[key: string]: any}; /** - * Parameters for dataset. + * If not using an existing interactive cluster, this specifies the Spark version of a new job cluster or instance pool nodes created for each run of this activity. Required if instancePoolId is specified. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + newClusterVersion?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Parameters for linked service. */ - schema?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). */ - structure?: any; + policyId?: any; /** - * The table name. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'AzureDatabricks'. */ - tableName?: any; + type: "AzureDatabricks"; /** - * Type of dataset. - * Expected value is 'ConcurObject'. + * Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */ - type: "ConcurObject"; + workspaceResourceId?: any; } /** - * A copy activity Concur Service source. + * Azure File Storage linked service. */ - export interface ConcurSourceResponse { + export interface AzureFileStorageLinkedServiceResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The Azure key vault secret reference of accountKey in connection string. */ - additionalColumns?: any; + accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the linked service. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The integration runtime reference. */ - maxConcurrentConnections?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ - query?: any; + connectionString?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service description. */ - queryTimeout?: any; + description?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - sourceRetryCount?: any; + encryptedCredential?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + fileShare?: any; /** - * Copy source type. - * Expected value is 'ConcurSource'. + * Host name of the server. Type: string (or Expression with resultType string). */ - type: "ConcurSource"; + host?: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Password to logon the server. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The Azure key vault secret reference of sasToken in sas uri. + */ + sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; + /** + * The azure file share snapshot version. Type: string (or Expression with resultType string). + */ + snapshot?: any; + /** + * Type of linked service. + * Expected value is 'AzureFileStorage'. + */ + type: "AzureFileStorage"; + /** + * User ID to logon the server. Type: string (or Expression with resultType string). + */ + userId?: any; } /** - * The connection state of a managed private endpoint + * The location of file server dataset. */ - export interface ConnectionStatePropertiesResponse { + export interface AzureFileStorageLocationResponse { /** - * The actions required on the managed private endpoint + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - actionsRequired: string; + fileName?: any; /** - * The managed private endpoint description + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - description: string; + folderPath?: any; /** - * The approval status + * Type of dataset storage location. + * Expected value is 'AzureFileStorageLocation'. */ - status: string; + type: "AzureFileStorageLocation"; } /** - * Base class for all control activities like IfCondition, ForEach , Until. + * Azure File Storage read settings. */ - export interface ControlActivityResponse { + export interface AzureFileStorageReadSettingsResponse { /** - * Activity depends on condition. + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + deleteFilesAfterCompletion?: any; /** - * Activity description. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - description?: string; + disableMetricsCollection?: any; /** - * Activity name. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - name: string; + enablePartitionDiscovery?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - onInactiveMarkAs?: string; + fileListPath?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - state?: string; + maxConcurrentConnections?: any; /** - * Type of activity. - * Expected value is 'Container'. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - type: "Container"; + modifiedDatetimeEnd?: any; /** - * Activity user properties. + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + modifiedDatetimeStart?: any; + /** + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + */ + partitionRootPath?: any; + /** + * The prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). + */ + prefix?: any; + /** + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + */ + recursive?: any; + /** + * The read setting type. + * Expected value is 'AzureFileStorageReadSettings'. + */ + type: "AzureFileStorageReadSettings"; + /** + * Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * Azure File Storage wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * Settings for copy activity log. + * Azure File Storage write settings. */ - export interface CopyActivityLogSettingsResponse { + export interface AzureFileStorageWriteSettingsResponse { /** - * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). + * The type of copy behavior for copy sink. */ - enableReliableLogging?: any; + copyBehavior?: any; /** - * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - logLevel?: any; + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The write setting type. + * Expected value is 'AzureFileStorageWriteSettings'. + */ + type: "AzureFileStorageWriteSettings"; } /** - * Copy activity. + * Azure Function activity. */ - export interface CopyActivityResponse { + export interface AzureFunctionActivityResponse { /** - * Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0. + * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ - dataIntegrationUnits?: any; + body?: any; /** * Activity depends on condition. */ @@ -135458,29 +137736,21 @@ export namespace datafactory { */ description?: string; /** - * Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean). - */ - enableSkipIncompatibleRow?: any; - /** - * Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). + * Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string) */ - enableStaging?: any; + functionName: any; /** - * List of inputs for the activity. + * Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ - inputs?: outputs.datafactory.DatasetReferenceResponse[]; + headers?: any; /** * Linked service reference. */ linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Log settings customer needs provide when enabling log. - */ - logSettings?: outputs.datafactory.LogSettingsResponse; - /** - * (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. + * Rest API method for target endpoint. */ - logStorageSettings?: outputs.datafactory.LogStorageSettingsResponse; + method: string; /** * Activity name. */ @@ -135489,459 +137759,455 @@ export namespace datafactory { * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ onInactiveMarkAs?: string; - /** - * List of outputs for the activity. - */ - outputs?: outputs.datafactory.DatasetReferenceResponse[]; - /** - * Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. - */ - parallelCopies?: any; /** * Activity policy. */ policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Preserve rules. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - preserve?: any[]; + state?: string; /** - * Preserve Rules. + * Type of activity. + * Expected value is 'AzureFunctionActivity'. */ - preserveRules?: any[]; + type: "AzureFunctionActivity"; /** - * Redirect incompatible row settings when EnableSkipIncompatibleRow is true. + * Activity user properties. */ - redirectIncompatibleRowSettings?: outputs.datafactory.RedirectIncompatibleRowSettingsResponse; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Azure Function linked service. + */ + export interface AzureFunctionLinkedServiceResponse { /** - * Copy activity sink. + * List of tags that can be used for describing the linked service. */ - sink: outputs.datafactory.AvroSinkResponse | outputs.datafactory.AzureBlobFSSinkResponse | outputs.datafactory.AzureDataExplorerSinkResponse | outputs.datafactory.AzureDataLakeStoreSinkResponse | outputs.datafactory.AzureDatabricksDeltaLakeSinkResponse | outputs.datafactory.AzureMySqlSinkResponse | outputs.datafactory.AzurePostgreSqlSinkResponse | outputs.datafactory.AzureQueueSinkResponse | outputs.datafactory.AzureSearchIndexSinkResponse | outputs.datafactory.AzureSqlSinkResponse | outputs.datafactory.AzureTableSinkResponse | outputs.datafactory.BinarySinkResponse | outputs.datafactory.BlobSinkResponse | outputs.datafactory.CommonDataServiceForAppsSinkResponse | outputs.datafactory.CosmosDbMongoDbApiSinkResponse | outputs.datafactory.CosmosDbSqlApiSinkResponse | outputs.datafactory.DelimitedTextSinkResponse | outputs.datafactory.DocumentDbCollectionSinkResponse | outputs.datafactory.DynamicsCrmSinkResponse | outputs.datafactory.DynamicsSinkResponse | outputs.datafactory.FileSystemSinkResponse | outputs.datafactory.InformixSinkResponse | outputs.datafactory.JsonSinkResponse | outputs.datafactory.MicrosoftAccessSinkResponse | outputs.datafactory.MongoDbAtlasSinkResponse | outputs.datafactory.MongoDbV2SinkResponse | outputs.datafactory.OdbcSinkResponse | outputs.datafactory.OracleSinkResponse | outputs.datafactory.OrcSinkResponse | outputs.datafactory.ParquetSinkResponse | outputs.datafactory.RestSinkResponse | outputs.datafactory.SalesforceServiceCloudSinkResponse | outputs.datafactory.SalesforceSinkResponse | outputs.datafactory.SapCloudForCustomerSinkResponse | outputs.datafactory.SnowflakeSinkResponse | outputs.datafactory.SqlDWSinkResponse | outputs.datafactory.SqlMISinkResponse | outputs.datafactory.SqlServerSinkResponse | outputs.datafactory.SqlSinkResponse; + annotations?: any[]; /** - * Specify the fault tolerance for data consistency. + * Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string). */ - skipErrorFile?: outputs.datafactory.SkipErrorFileResponse; + authentication?: any; /** - * Copy activity source. + * The integration runtime reference. */ - source: outputs.datafactory.AmazonMWSSourceResponse | outputs.datafactory.AmazonRdsForOracleSourceResponse | outputs.datafactory.AmazonRdsForSqlServerSourceResponse | outputs.datafactory.AmazonRedshiftSourceResponse | outputs.datafactory.AvroSourceResponse | outputs.datafactory.AzureBlobFSSourceResponse | outputs.datafactory.AzureDataExplorerSourceResponse | outputs.datafactory.AzureDataLakeStoreSourceResponse | outputs.datafactory.AzureDatabricksDeltaLakeSourceResponse | outputs.datafactory.AzureMariaDBSourceResponse | outputs.datafactory.AzureMySqlSourceResponse | outputs.datafactory.AzurePostgreSqlSourceResponse | outputs.datafactory.AzureSqlSourceResponse | outputs.datafactory.AzureTableSourceResponse | outputs.datafactory.BinarySourceResponse | outputs.datafactory.BlobSourceResponse | outputs.datafactory.CassandraSourceResponse | outputs.datafactory.CommonDataServiceForAppsSourceResponse | outputs.datafactory.ConcurSourceResponse | outputs.datafactory.CosmosDbMongoDbApiSourceResponse | outputs.datafactory.CosmosDbSqlApiSourceResponse | outputs.datafactory.CouchbaseSourceResponse | outputs.datafactory.Db2SourceResponse | outputs.datafactory.DelimitedTextSourceResponse | outputs.datafactory.DocumentDbCollectionSourceResponse | outputs.datafactory.DrillSourceResponse | outputs.datafactory.DynamicsAXSourceResponse | outputs.datafactory.DynamicsCrmSourceResponse | outputs.datafactory.DynamicsSourceResponse | outputs.datafactory.EloquaSourceResponse | outputs.datafactory.ExcelSourceResponse | outputs.datafactory.FileSystemSourceResponse | outputs.datafactory.GoogleAdWordsSourceResponse | outputs.datafactory.GoogleBigQuerySourceResponse | outputs.datafactory.GreenplumSourceResponse | outputs.datafactory.HBaseSourceResponse | outputs.datafactory.HdfsSourceResponse | outputs.datafactory.HiveSourceResponse | outputs.datafactory.HttpSourceResponse | outputs.datafactory.HubspotSourceResponse | outputs.datafactory.ImpalaSourceResponse | outputs.datafactory.InformixSourceResponse | outputs.datafactory.JiraSourceResponse | outputs.datafactory.JsonSourceResponse | outputs.datafactory.MagentoSourceResponse | outputs.datafactory.MariaDBSourceResponse | outputs.datafactory.MarketoSourceResponse | outputs.datafactory.MicrosoftAccessSourceResponse | outputs.datafactory.MongoDbAtlasSourceResponse | outputs.datafactory.MongoDbSourceResponse | outputs.datafactory.MongoDbV2SourceResponse | outputs.datafactory.MySqlSourceResponse | outputs.datafactory.NetezzaSourceResponse | outputs.datafactory.ODataSourceResponse | outputs.datafactory.OdbcSourceResponse | outputs.datafactory.Office365SourceResponse | outputs.datafactory.OracleServiceCloudSourceResponse | outputs.datafactory.OracleSourceResponse | outputs.datafactory.OrcSourceResponse | outputs.datafactory.ParquetSourceResponse | outputs.datafactory.PaypalSourceResponse | outputs.datafactory.PhoenixSourceResponse | outputs.datafactory.PostgreSqlSourceResponse | outputs.datafactory.PrestoSourceResponse | outputs.datafactory.QuickBooksSourceResponse | outputs.datafactory.RelationalSourceResponse | outputs.datafactory.ResponsysSourceResponse | outputs.datafactory.RestSourceResponse | outputs.datafactory.SalesforceMarketingCloudSourceResponse | outputs.datafactory.SalesforceServiceCloudSourceResponse | outputs.datafactory.SalesforceSourceResponse | outputs.datafactory.SapBwSourceResponse | outputs.datafactory.SapCloudForCustomerSourceResponse | outputs.datafactory.SapEccSourceResponse | outputs.datafactory.SapHanaSourceResponse | outputs.datafactory.SapOdpSourceResponse | outputs.datafactory.SapOpenHubSourceResponse | outputs.datafactory.SapTableSourceResponse | outputs.datafactory.ServiceNowSourceResponse | outputs.datafactory.SharePointOnlineListSourceResponse | outputs.datafactory.ShopifySourceResponse | outputs.datafactory.SnowflakeSourceResponse | outputs.datafactory.SparkSourceResponse | outputs.datafactory.SqlDWSourceResponse | outputs.datafactory.SqlMISourceResponse | outputs.datafactory.SqlServerSourceResponse | outputs.datafactory.SqlSourceResponse | outputs.datafactory.SquareSourceResponse | outputs.datafactory.SybaseSourceResponse | outputs.datafactory.TabularSourceResponse | outputs.datafactory.TeradataSourceResponse | outputs.datafactory.VerticaSourceResponse | outputs.datafactory.WebSourceResponse | outputs.datafactory.XeroSourceResponse | outputs.datafactory.XmlSourceResponse | outputs.datafactory.ZohoSourceResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Specifies interim staging settings when EnableStaging is true. + * The credential reference containing authentication information. */ - stagingSettings?: outputs.datafactory.StagingSettingsResponse; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Linked service description. */ - state?: string; + description?: string; /** - * Copy activity translator. If not specified, tabular translator is used. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - translator?: any; + encryptedCredential?: string; /** - * Type of activity. - * Expected value is 'Copy'. + * The endpoint of the Azure Function App. URL will be in the format https://.azurewebsites.net. */ - type: "Copy"; + functionAppUrl: any; /** - * Activity user properties. + * Function or Host key for Azure Function App. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + functionKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean). + * Parameters for linked service. */ - validateDataConsistency?: any; - } - - /** - * CopyComputeScale properties for managed integration runtime. - */ - export interface CopyComputeScalePropertiesResponse { + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * DIU number setting reserved for copy activity execution. Supported values are multiples of 4 in range 4-256. + * Allowed token audiences for azure function. */ - dataIntegrationUnit?: number; + resourceId?: any; /** - * Time to live (in minutes) setting of integration runtime which will execute copy activity. + * Type of linked service. + * Expected value is 'AzureFunction'. */ - timeToLive?: number; + type: "AzureFunction"; } /** - * Microsoft Azure Cosmos Database (CosmosDB) linked service. + * Azure Key Vault linked service. */ - export interface CosmosDbLinkedServiceResponse { - /** - * The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string) - */ - accountEndpoint?: any; - /** - * The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. - */ - accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface AzureKeyVaultLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + * The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). */ - azureCloudType?: any; + baseUrl: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The connection mode used to access CosmosDB account. Type: string. - */ - connectionMode?: string; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; /** * The credential reference containing authentication information. */ credential?: outputs.datafactory.CredentialReferenceResponse; - /** - * The name of the database. Type: string (or Expression with resultType string) - */ - database?: any; /** * Linked service description. */ description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * Type of linked service. + * Expected value is 'AzureKeyVault'. */ - servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + type: "AzureKeyVault"; + } + + /** + * Azure Key Vault secret reference. + */ + export interface AzureKeyVaultSecretReferenceResponse { /** - * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. + * The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string). */ - servicePrincipalCredentialType?: any; + secretName: any; /** - * The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). + * The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string). */ - servicePrincipalId?: any; + secretVersion?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + * The Azure Key Vault linked service reference. */ - tenant?: any; + store: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Type of linked service. - * Expected value is 'CosmosDb'. + * Type of the secret. + * Expected value is 'AzureKeyVaultSecret'. */ - type: "CosmosDb"; + type: "AzureKeyVaultSecret"; } /** - * The CosmosDB (MongoDB API) database dataset. + * Azure ML Batch Execution activity. */ - export interface CosmosDbMongoDbApiCollectionDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface AzureMLBatchExecutionActivityResponse { /** - * The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). + * Activity depends on condition. */ - collection: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Dataset description. + * Activity description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. */ - folder?: outputs.datafactory.DatasetResponseFolder; + globalParameters?: {[key: string]: any}; /** * Linked service reference. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for dataset. + * Activity name. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + name: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - schema?: any; + onInactiveMarkAs?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Activity policy. */ - structure?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Type of dataset. - * Expected value is 'CosmosDbMongoDbApiCollection'. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - type: "CosmosDbMongoDbApiCollection"; + state?: string; + /** + * Type of activity. + * Expected value is 'AzureMLBatchExecution'. + */ + type: "AzureMLBatchExecution"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + /** + * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. + */ + webServiceInputs?: {[key: string]: outputs.datafactory.AzureMLWebServiceFileResponse}; + /** + * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. + */ + webServiceOutputs?: {[key: string]: outputs.datafactory.AzureMLWebServiceFileResponse}; } /** - * Linked service for CosmosDB (MongoDB API) data source. + * Azure ML Execute Pipeline activity. */ - export interface CosmosDbMongoDbApiLinkedServiceResponse { + export interface AzureMLExecutePipelineActivityResponse { /** - * List of tags that can be used for describing the linked service. + * Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). */ - annotations?: any[]; + continueOnStepFailure?: any; /** - * The integration runtime reference. + * Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + dataPathAssignments?: any; /** - * The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + * Activity depends on condition. */ - connectionString: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). + * Activity description. */ - database: any; + description?: string; /** - * Linked service description. + * Run history experiment name of the pipeline run. This information will be passed in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with resultType string). */ - description?: string; + experimentName?: any; /** - * Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean). + * Linked service reference. */ - isServerVersionAbove32?: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for linked service. + * The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + mlParentRunId?: any; /** - * Type of linked service. - * Expected value is 'CosmosDbMongoDbApi'. + * ID of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). */ - type: "CosmosDbMongoDbApi"; - } - - /** - * A copy activity sink for a CosmosDB (MongoDB API) database. - */ - export interface CosmosDbMongoDbApiSinkResponse { + mlPipelineEndpointId?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). */ - disableMetricsCollection?: any; + mlPipelineId?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). */ - maxConcurrentConnections?: any; + mlPipelineParameters?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Activity name. */ - sinkRetryCount?: any; + name: string; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - sinkRetryWait?: any; + onInactiveMarkAs?: string; /** - * Copy sink type. - * Expected value is 'CosmosDbMongoDbApiSink'. + * Activity policy. */ - type: "CosmosDbMongoDbApiSink"; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - writeBatchSize?: any; + state?: string; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of activity. + * Expected value is 'AzureMLExecutePipeline'. */ - writeBatchTimeout?: any; + type: "AzureMLExecutePipeline"; /** - * Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + * Activity user properties. */ - writeBehavior?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + /** + * Version of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). + */ + version?: any; } /** - * A copy activity source for a CosmosDB (MongoDB API) database. + * Azure ML Studio Web Service linked service. */ - export interface CosmosDbMongoDbApiSourceResponse { + export interface AzureMLLinkedServiceResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * List of tags that can be used for describing the linked service. */ - additionalColumns?: any; + annotations?: any[]; /** - * Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). + * The API key for accessing the Azure ML model endpoint. */ - batchSize?: any; + apiKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Cursor methods for Mongodb query. + * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). */ - cursorMethods?: outputs.datafactory.MongoDbCursorMethodsPropertiesResponse; + authentication?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The integration runtime reference. */ - disableMetricsCollection?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). + * Linked service description. */ - filter?: any; + description?: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - maxConcurrentConnections?: any; + encryptedCredential?: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). */ - queryTimeout?: any; + mlEndpoint: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Parameters for linked service. */ - sourceRetryCount?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + servicePrincipalId?: any; /** - * Copy source type. - * Expected value is 'CosmosDbMongoDbApiSource'. + * The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. */ - type: "CosmosDbMongoDbApiSource"; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * Type of linked service. + * Expected value is 'AzureML'. + */ + type: "AzureML"; + /** + * The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). + */ + updateResourceEndpoint?: any; } /** - * Microsoft Azure CosmosDB (SQL API) Collection dataset. + * Azure ML Service linked service. */ - export interface CosmosDbSqlApiCollectionDatasetResponse { + export interface AzureMLServiceLinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). + * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). */ - collectionName: any; + authentication?: any; /** - * Dataset description. + * The integration runtime reference. */ - description?: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Linked service description. */ - folder?: outputs.datafactory.DatasetResponseFolder; + description?: string; /** - * Linked service reference. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + encryptedCredential?: string; /** - * Parameters for dataset. + * Azure ML Service workspace name. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + mlWorkspaceName: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Parameters for linked service. */ - schema?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Azure ML Service workspace resource group name. Type: string (or Expression with resultType string). */ - structure?: any; + resourceGroupName: any; /** - * Type of dataset. - * Expected value is 'CosmosDbSqlApiCollection'. + * The ID of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. Type: string (or Expression with resultType string). */ - type: "CosmosDbSqlApiCollection"; - } - - /** - * A copy activity Azure CosmosDB (SQL API) Collection sink. - */ - export interface CosmosDbSqlApiSinkResponse { + servicePrincipalId?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. */ - disableMetricsCollection?: any; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Azure ML Service workspace subscription ID. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + subscriptionId: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + tenant?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of linked service. + * Expected value is 'AzureMLService'. */ - sinkRetryWait?: any; + type: "AzureMLService"; + } + + /** + * Azure ML Update Resource management activity. + */ + export interface AzureMLUpdateResourceActivityResponse { /** - * Copy sink type. - * Expected value is 'CosmosDbSqlApiSink'. + * Activity depends on condition. */ - type: "CosmosDbSqlApiSink"; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Activity description. */ - writeBatchSize?: any; + description?: string; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service reference. */ - writeBatchTimeout?: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. + * Activity name. */ - writeBehavior?: any; - } - - /** - * A copy activity Azure CosmosDB (SQL API) Collection source. - */ - export interface CosmosDbSqlApiSourceResponse { + name: string; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - additionalColumns?: any; + onInactiveMarkAs?: string; /** - * Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean). + * Activity policy. */ - detectDatetime?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - disableMetricsCollection?: any; + state?: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + trainedModelFilePath: any; /** - * Page size of the result. Type: integer (or Expression with resultType integer). + * Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. */ - pageSize?: any; + trainedModelLinkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Preferred regions. Type: array of strings (or Expression with resultType array of strings). + * Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). */ - preferredRegions?: any; + trainedModelName: any; /** - * SQL API query. Type: string (or Expression with resultType string). + * Type of activity. + * Expected value is 'AzureMLUpdateResource'. */ - query?: any; + type: "AzureMLUpdateResource"; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Activity user properties. */ - sourceRetryCount?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Azure ML WebService Input/Output file + */ + export interface AzureMLWebServiceFileResponse { /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + filePath: any; /** - * Copy source type. - * Expected value is 'CosmosDbSqlApiSource'. + * Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. */ - type: "CosmosDbSqlApiSource"; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; } /** - * Couchbase server linked service. + * Azure Database for MariaDB linked service. */ - export interface CouchbaseLinkedServiceResponse { + export interface AzureMariaDBLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ @@ -135954,10 +138220,6 @@ export namespace datafactory { * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString?: any; - /** - * The Azure key vault secret reference of credString in connection string. - */ - credString?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * Linked service description. */ @@ -135970,17 +138232,21 @@ export namespace datafactory { * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The Azure key vault secret reference of password in connection string. + */ + pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * Type of linked service. - * Expected value is 'Couchbase'. + * Expected value is 'AzureMariaDB'. */ - type: "Couchbase"; + type: "AzureMariaDB"; } /** - * A copy activity Couchbase server source. + * A copy activity Azure MariaDB source. */ - export interface CouchbaseSourceResponse { + export interface AzureMariaDBSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -136011,15 +138277,15 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'CouchbaseSource'. + * Expected value is 'AzureMariaDBSource'. */ - type: "CouchbaseSource"; + type: "AzureMariaDBSource"; } /** - * Couchbase server dataset. + * Azure Database for MariaDB dataset. */ - export interface CouchbaseTableDatasetResponse { + export interface AzureMariaDBTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -136054,141 +138320,132 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'CouchbaseTable'. + * Expected value is 'AzureMariaDBTable'. */ - type: "CouchbaseTable"; + type: "AzureMariaDBTable"; } /** - * Credential reference type. + * Azure MySQL database linked service. */ - export interface CredentialReferenceResponse { - /** - * Reference credential name. - */ - referenceName: string; + export interface AzureMySqlLinkedServiceResponse { /** - * Credential reference type. + * List of tags that can be used for describing the linked service. */ - type: string; - } - - /** - * Reference objects for custom activity - */ - export interface CustomActivityReferenceObjectResponse { + annotations?: any[]; /** - * Dataset references. + * The integration runtime reference. */ - datasets?: outputs.datafactory.DatasetReferenceResponse[]; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Linked service references. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - linkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; - } - - /** - * Custom activity type. - */ - export interface CustomActivityResponse { + connectionString: any; /** - * Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double). + * Linked service description. */ - autoUserSpecification?: any; + description?: string; /** - * Command for custom activity Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - command: any; + encryptedCredential?: string; /** - * Activity depends on condition. + * Parameters for linked service. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity description. + * The Azure key vault secret reference of password in connection string. */ - description?: string; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. + * Type of linked service. + * Expected value is 'AzureMySql'. */ - extendedProperties?: {[key: string]: any}; + type: "AzureMySql"; + } + + /** + * A copy activity Azure MySql sink. + */ + export interface AzureMySqlSinkResponse { /** - * Folder path for resource files Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - folderPath?: any; + disableMetricsCollection?: any; /** - * Linked service reference. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + maxConcurrentConnections?: any; /** - * Activity name. + * A query to execute before starting the copy. Type: string (or Expression with resultType string). */ - name: string; + preCopyScript?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - onInactiveMarkAs?: string; + sinkRetryCount?: any; /** - * Activity policy. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + sinkRetryWait?: any; /** - * Reference objects + * Copy sink type. + * Expected value is 'AzureMySqlSink'. */ - referenceObjects?: outputs.datafactory.CustomActivityReferenceObjectResponse; + type: "AzureMySqlSink"; /** - * Resource linked service reference. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - resourceLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + writeBatchSize?: any; /** - * The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - retentionTimeInDays?: any; + writeBatchTimeout?: any; + } + + /** + * A copy activity Azure MySQL source. + */ + export interface AzureMySqlSourceResponse { /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - state?: string; + additionalColumns?: any; /** - * Type of activity. - * Expected value is 'Custom'. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - type: "Custom"; + disableMetricsCollection?: any; /** - * Activity user properties. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; - } - - /** - * Custom linked service. - */ - export interface CustomDataSourceLinkedServiceResponse { + maxConcurrentConnections?: any; /** - * List of tags that can be used for describing the linked service. + * Database query. Type: string (or Expression with resultType string). */ - annotations?: any[]; + query?: any; /** - * The integration runtime reference. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + queryTimeout?: any; /** - * Linked service description. + * Source retry count. Type: integer (or Expression with resultType integer). */ - description?: string; + sourceRetryCount?: any; /** - * Parameters for linked service. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sourceRetryWait?: any; /** - * Type of linked service. - * Expected value is 'CustomDataSource'. + * Copy source type. + * Expected value is 'AzureMySqlSource'. */ - type: "CustomDataSource"; + type: "AzureMySqlSource"; } /** - * The custom dataset. + * The Azure MySQL database dataset. */ - export interface CustomDatasetResponse { + export interface AzureMySqlTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -136217,514 +138474,475 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The name of Azure MySQL database table. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * The Azure MySQL database table name. Type: string (or Expression with resultType string). + */ + tableName?: any; /** * Type of dataset. - * Expected value is 'CustomDataset'. + * Expected value is 'AzureMySqlTable'. */ - type: "CustomDataset"; + type: "AzureMySqlTable"; } /** - * Trigger that runs every time a custom event is received. + * Azure PostgreSQL linked service. */ - export interface CustomEventsTriggerResponse { + export interface AzurePostgreSqlLinkedServiceResponse { /** - * List of tags that can be used for describing the trigger. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Trigger description. - */ - description?: string; - /** - * The list of event types that cause this trigger to fire. + * The integration runtime reference. */ - events: any[]; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Pipelines that need to be started. + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + connectionString?: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * Linked service description. */ - runtimeState: string; + description?: string; /** - * The ARM resource ID of the Azure Event Grid Topic. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - scope: string; + encryptedCredential?: string; /** - * The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. + * Parameters for linked service. */ - subjectBeginsWith?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. + * The Azure key vault secret reference of password in connection string. */ - subjectEndsWith?: string; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Trigger type. - * Expected value is 'CustomEventsTrigger'. + * Type of linked service. + * Expected value is 'AzurePostgreSql'. */ - type: "CustomEventsTrigger"; + type: "AzurePostgreSql"; } /** - * Default value. + * A copy activity Azure PostgreSQL sink. */ - export interface DWCopyCommandDefaultValueResponse { + export interface AzurePostgreSqlSinkResponse { /** - * Column name. Type: object (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - columnName?: any; + disableMetricsCollection?: any; /** - * The default value of the column. Type: object (or Expression with resultType string). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - defaultValue?: any; - } - - /** - * DW Copy Command settings. - */ - export interface DWCopyCommandSettingsResponse { + maxConcurrentConnections?: any; /** - * Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" } + * A query to execute before starting the copy. Type: string (or Expression with resultType string). */ - additionalOptions?: {[key: string]: string}; + preCopyScript?: any; /** - * Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - defaultValues?: outputs.datafactory.DWCopyCommandDefaultValueResponse[]; - } - - /** - * Data flow reference type. - */ - export interface DataFlowReferenceResponse { + sinkRetryCount?: any; /** - * Reference data flow parameters from dataset. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - datasetParameters?: any; + sinkRetryWait?: any; /** - * Data flow parameters + * Copy sink type. + * Expected value is 'AzurePostgreSqlSink'. */ - parameters?: {[key: string]: any}; + type: "AzurePostgreSqlSink"; /** - * Reference data flow name. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - referenceName: string; + writeBatchSize?: any; /** - * Data flow reference type. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: string; + writeBatchTimeout?: any; } /** - * The folder that this data flow is in. If not specified, Data flow will appear at the root level. + * A copy activity Azure PostgreSQL source. */ - export interface DataFlowResponseFolder { + export interface AzurePostgreSqlSourceResponse { /** - * The name of the folder that this data flow is in. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - name?: string; - } - - /** - * Transformation for data flow sink. - */ - export interface DataFlowSinkResponse { + additionalColumns?: any; /** - * Dataset reference. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - dataset?: outputs.datafactory.DatasetReferenceResponse; + disableMetricsCollection?: any; /** - * Transformation description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * Flowlet Reference + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - flowlet?: outputs.datafactory.DataFlowReferenceResponse; + query?: any; /** - * Linked service reference. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + queryTimeout?: any; /** - * Transformation name. + * Source retry count. Type: integer (or Expression with resultType integer). */ - name: string; + sourceRetryCount?: any; /** - * Rejected data linked service reference. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - rejectedDataLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + sourceRetryWait?: any; /** - * Schema linked service reference. + * Copy source type. + * Expected value is 'AzurePostgreSqlSource'. */ - schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + type: "AzurePostgreSqlSource"; } /** - * Transformation for data flow source. + * Azure PostgreSQL dataset. */ - export interface DataFlowSourceResponse { + export interface AzurePostgreSqlTableDatasetResponse { /** - * Dataset reference. + * List of tags that can be used for describing the Dataset. */ - dataset?: outputs.datafactory.DatasetReferenceResponse; + annotations?: any[]; /** - * Transformation description. + * Dataset description. */ description?: string; /** - * Flowlet Reference + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - flowlet?: outputs.datafactory.DataFlowReferenceResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Transformation name. + * Parameters for dataset. */ - name: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Schema linked service reference. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; - } - - /** - * Staging info for execute data flow activity. - */ - export interface DataFlowStagingInfoResponse { + schema?: any; /** - * Folder path for staging blob. Type: string (or Expression with resultType string) + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - folderPath?: any; + structure?: any; /** - * Staging linked service reference. + * The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; - } - - /** - * Data Lake Analytics U-SQL activity. - */ - export interface DataLakeAnalyticsUSQLActivityResponse { + table?: any; /** - * Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). + * The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). */ - compilationMode?: any; + tableName?: any; /** - * The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. + * Type of dataset. + * Expected value is 'AzurePostgreSqlTable'. */ - degreeOfParallelism?: any; + type: "AzurePostgreSqlTable"; + } + + /** + * A copy activity Azure Queue sink. + */ + export interface AzureQueueSinkResponse { /** - * Activity depends on condition. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + disableMetricsCollection?: any; /** - * Activity description. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * Linked service reference. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + sinkRetryCount?: any; /** - * Activity name. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - name: string; + sinkRetryWait?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Copy sink type. + * Expected value is 'AzureQueueSink'. */ - onInactiveMarkAs?: string; + type: "AzureQueueSink"; /** - * Parameters for U-SQL job request. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - parameters?: {[key: string]: any}; + writeBatchSize?: any; /** - * Activity policy. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + writeBatchTimeout?: any; + } + + /** + * The Azure Search Index. + */ + export interface AzureSearchIndexDatasetResponse { /** - * Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. + * List of tags that can be used for describing the Dataset. */ - priority?: any; + annotations?: any[]; /** - * Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). + * Dataset description. */ - runtimeVersion?: any; + description?: string; /** - * Script linked service reference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - scriptLinkedService: outputs.datafactory.LinkedServiceReferenceResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). + * The name of the Azure Search Index. Type: string (or Expression with resultType string). */ - scriptPath: any; + indexName: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Linked service reference. */ - state?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Type of activity. - * Expected value is 'DataLakeAnalyticsU-SQL'. + * Parameters for dataset. */ - type: "DataLakeAnalyticsU-SQL"; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity user properties. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'AzureSearchIndex'. + */ + type: "AzureSearchIndex"; } /** - * Source and target table mapping details. + * A copy activity Azure Search Index sink. */ - export interface DataMapperMappingResponse { - /** - * This holds the user provided attribute mapping information. - */ - attributeMappingInfo?: outputs.datafactory.MapperAttributeMappingsResponse; + export interface AzureSearchIndexSinkResponse { /** - * The connection reference for the source connection. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - sourceConnectionReference?: outputs.datafactory.MapperConnectionReferenceResponse; + disableMetricsCollection?: any; /** - * This holds the source denormalization information used while joining multiple sources. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - sourceDenormalizeInfo?: any; + maxConcurrentConnections?: any; /** - * Name of the source table + * Sink retry count. Type: integer (or Expression with resultType integer). */ - sourceEntityName?: string; + sinkRetryCount?: any; /** - * Name of the target table + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - targetEntityName?: string; - } - - /** - * DatabricksNotebook activity. - */ - export interface DatabricksNotebookActivityResponse { + sinkRetryWait?: any; /** - * Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. + * Copy sink type. + * Expected value is 'AzureSearchIndexSink'. */ - baseParameters?: {[key: string]: any}; + type: "AzureSearchIndexSink"; /** - * Activity depends on condition. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + writeBatchSize?: any; /** - * Activity description. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - description?: string; + writeBatchTimeout?: any; /** - * A list of libraries to be installed on the cluster that will execute the job. + * Specify the write behavior when upserting documents into Azure Search Index. */ - libraries?: {[key: string]: any}[]; + writeBehavior?: string; + } + + /** + * Linked service for Windows Azure Search Service. + */ + export interface AzureSearchLinkedServiceResponse { /** - * Linked service reference. + * List of tags that can be used for describing the linked service. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + annotations?: any[]; /** - * Activity name. + * The integration runtime reference. */ - name: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). + * Linked service description. */ - notebookPath: any; + description?: string; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - onInactiveMarkAs?: string; + encryptedCredential?: string; /** - * Activity policy. + * Admin Key for Azure Search service */ - policy?: outputs.datafactory.ActivityPolicyResponse; + key?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Parameters for linked service. */ - state?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of activity. - * Expected value is 'DatabricksNotebook'. + * Type of linked service. + * Expected value is 'AzureSearch'. */ - type: "DatabricksNotebook"; + type: "AzureSearch"; /** - * Activity user properties. + * URL for Azure Search service. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + url: any; } /** - * DatabricksSparkJar activity. + * Azure SQL Data Warehouse linked service. */ - export interface DatabricksSparkJarActivityResponse { + export interface AzureSqlDWLinkedServiceResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the linked service. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ - description?: string; + azureCloudType?: any; /** - * A list of libraries to be installed on the cluster that will execute the job. + * The integration runtime reference. */ - libraries?: {[key: string]: any}[]; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Linked service reference. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + connectionString: any; /** - * The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). + * The credential reference containing authentication information. */ - mainClassName: any; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * Activity name. + * Linked service description. */ - name: string; + description?: string; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - onInactiveMarkAs?: string; + encryptedCredential?: string; /** - * Parameters that will be passed to the main method. + * Parameters for linked service. */ - parameters?: any[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity policy. + * The Azure key vault secret reference of password in connection string. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ - state?: string; + servicePrincipalId?: any; /** - * Type of activity. - * Expected value is 'DatabricksSparkJar'. + * The key of the service principal used to authenticate against Azure SQL Data Warehouse. */ - type: "DatabricksSparkJar"; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity user properties. + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + tenant?: any; + /** + * Type of linked service. + * Expected value is 'AzureSqlDW'. + */ + type: "AzureSqlDW"; } /** - * DatabricksSparkPython activity. + * The Azure SQL Data Warehouse dataset. */ - export interface DatabricksSparkPythonActivityResponse { + export interface AzureSqlDWTableDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Dataset description. */ description?: string; /** - * A list of libraries to be installed on the cluster that will execute the job. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - libraries?: {[key: string]: any}[]; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Activity name. - */ - name: string; - /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. - */ - onInactiveMarkAs?: string; - /** - * Command line parameters that will be passed to the Python file. - */ - parameters?: any[]; - /** - * Activity policy. - */ - policy?: outputs.datafactory.ActivityPolicyResponse; - /** - * The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). - */ - pythonFile: any; - /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. - */ - state?: string; - /** - * Type of activity. - * Expected value is 'DatabricksSparkPython'. - */ - type: "DatabricksSparkPython"; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Activity user properties. + * Parameters for dataset. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; - } - - /** - * The compression method used on a dataset. - */ - export interface DatasetCompressionResponse { + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The dataset compression level. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - level?: any; + schema?: any; /** - * Type of dataset compression. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: any; - } - - /** - * Dataset reference type. - */ - export interface DatasetReferenceResponse { + structure?: any; /** - * Arguments for dataset. + * The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: any}; + table?: any; /** - * Reference dataset name. + * This property will be retired. Please consider using schema + table properties instead. */ - referenceName: string; + tableName?: any; /** - * Dataset reference type. + * Type of dataset. + * Expected value is 'AzureSqlDWTable'. */ - type: string; + type: "AzureSqlDWTable"; } /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Microsoft Azure SQL Database linked service. */ - export interface DatasetResponseFolder { + export interface AzureSqlDatabaseLinkedServiceResponse { /** - * The name of the folder that this Dataset is in. + * Sql always encrypted properties. */ - name?: string; - } - - /** - * Linked service for Dataworld. - */ - export interface DataworldLinkedServiceResponse { + alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The api token for the Dataworld source. + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ - apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + azureCloudType?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * The credential reference containing authentication information. + */ + credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ @@ -136737,119 +138955,96 @@ export namespace datafactory { * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The Azure key vault secret reference of password in connection string. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The key of the service principal used to authenticate against Azure SQL Database. + */ + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; /** * Type of linked service. - * Expected value is 'Dataworld'. + * Expected value is 'AzureSqlDatabase'. */ - type: "Dataworld"; + type: "AzureSqlDatabase"; } /** - * Linked service for DB2 data source. + * Azure SQL Managed Instance linked service. */ - export interface Db2LinkedServiceResponse { + export interface AzureSqlMILinkedServiceResponse { /** - * List of tags that can be used for describing the linked service. + * Sql always encrypted properties. */ - annotations?: any[]; + alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; /** - * AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. + * List of tags that can be used for describing the linked service. */ - authenticationType?: string; + annotations?: any[]; /** - * Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ - certificateCommonName?: any; + azureCloudType?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - connectionString?: any; + connectionString: any; /** - * Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). + * The credential reference containing authentication information. */ - database?: any; + credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). - */ - packageCollection?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password for authentication. - */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). - */ - server?: any; - /** - * Type of linked service. - * Expected value is 'Db2'. - */ - type: "Db2"; - /** - * Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). - */ - username?: any; - } - - /** - * A copy activity source for Db2 databases. - */ - export interface Db2SourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Database query. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - query?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). */ - queryTimeout?: any; + servicePrincipalId?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The key of the service principal used to authenticate against Azure SQL Managed Instance. */ - sourceRetryCount?: any; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + tenant?: any; /** - * Copy source type. - * Expected value is 'Db2Source'. + * Type of linked service. + * Expected value is 'AzureSqlMI'. */ - type: "Db2Source"; + type: "AzureSqlMI"; } /** - * The Db2 table dataset. + * The Azure SQL Managed Instance dataset. */ - export interface Db2TableDatasetResponse { + export interface AzureSqlMITableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -136879,7 +139074,7 @@ export namespace datafactory { */ structure?: any; /** - * The Db2 table name. Type: string (or Expression with resultType string). + * The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). */ table?: any; /** @@ -136888,315 +139083,286 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'Db2Table'. + * Expected value is 'AzureSqlMITable'. */ - type: "Db2Table"; + type: "AzureSqlMITable"; } /** - * Delete activity. + * A copy activity Azure SQL sink. */ - export interface DeleteActivityResponse { + export interface AzureSqlSinkResponse { /** - * Delete activity dataset reference. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - dataset: outputs.datafactory.DatasetReferenceResponse; + disableMetricsCollection?: any; /** - * Activity depends on condition. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + maxConcurrentConnections?: any; /** - * Activity description. + * SQL pre-copy script. Type: string (or Expression with resultType string). */ - description?: string; + preCopyScript?: any; /** - * Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - enableLogging?: any; + sinkRetryCount?: any; /** - * Linked service reference. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + sinkRetryWait?: any; /** - * Log storage settings customer need to provide when enableLogging is true. + * SQL writer stored procedure name. Type: string (or Expression with resultType string). */ - logStorageSettings?: outputs.datafactory.LogStorageSettingsResponse; + sqlWriterStoredProcedureName?: any; /** - * The max concurrent connections to connect data source at the same time. + * SQL writer table type. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: number; + sqlWriterTableType?: any; /** - * Activity name. + * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ - name: string; + sqlWriterUseTableLock?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * SQL stored procedure parameters. */ - onInactiveMarkAs?: string; + storedProcedureParameters?: any; /** - * Activity policy. + * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + storedProcedureTableTypeParameterName?: any; /** - * If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). + * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ - recursive?: any; + tableOption?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Copy sink type. + * Expected value is 'AzureSqlSink'. */ - state?: string; + type: "AzureSqlSink"; /** - * Delete activity store settings. + * SQL upsert settings. */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; /** - * Type of activity. - * Expected value is 'Delete'. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - type: "Delete"; + writeBatchSize?: any; /** - * Activity user properties. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + writeBatchTimeout?: any; + /** + * Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) + */ + writeBehavior?: any; } /** - * Delimited text dataset. + * A copy activity Azure SQL source. */ - export interface DelimitedTextDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The column delimiter. Type: string (or Expression with resultType string). - */ - columnDelimiter?: any; - /** - * The data compressionCodec. Type: string (or Expression with resultType string). - */ - compressionCodec?: any; - /** - * The data compression method used for DelimitedText. - */ - compressionLevel?: any; + export interface AzureSqlSourceResponse { /** - * Dataset description. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - description?: string; + additionalColumns?: any; /** - * The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - encodingName?: any; + disableMetricsCollection?: any; /** - * The escape character. Type: string (or Expression with resultType string). + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ - escapeChar?: any; + isolationLevel?: any; /** - * When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - firstRowAsHeader?: any; + maxConcurrentConnections?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - folder?: outputs.datafactory.DatasetResponseFolder; + partitionOption?: any; /** - * Linked service reference. + * The settings that will be leveraged for Sql source partitioning. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; /** - * The location of the delimited text storage. + * Which additional types to produce. */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + produceAdditionalTypes?: any; /** - * The null value string. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - nullValue?: any; + queryTimeout?: any; /** - * Parameters for dataset. + * Source retry count. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sourceRetryCount?: any; /** - * The quote character. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - quoteChar?: any; + sourceRetryWait?: any; /** - * The row delimiter. Type: string (or Expression with resultType string). + * SQL reader query. Type: string (or Expression with resultType string). */ - rowDelimiter?: any; + sqlReaderQuery?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ - schema?: any; + sqlReaderStoredProcedureName?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ - structure?: any; + storedProcedureParameters?: any; /** - * Type of dataset. - * Expected value is 'DelimitedText'. + * Copy source type. + * Expected value is 'AzureSqlSource'. */ - type: "DelimitedText"; + type: "AzureSqlSource"; } /** - * Delimited text read settings. + * The Azure SQL Server database dataset. */ - export interface DelimitedTextReadSettingsResponse { - /** - * Compression settings. - */ - compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; - /** - * Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). - */ - skipLineCount?: any; + export interface AzureSqlTableDatasetResponse { /** - * The read setting type. - * Expected value is 'DelimitedTextReadSettings'. + * List of tags that can be used for describing the Dataset. */ - type: "DelimitedTextReadSettings"; - } - - /** - * A copy activity DelimitedText sink. - */ - export interface DelimitedTextSinkResponse { + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Dataset description. */ - disableMetricsCollection?: any; + description?: string; /** - * DelimitedText format settings. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - formatSettings?: outputs.datafactory.DelimitedTextWriteSettingsResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Linked service reference. */ - maxConcurrentConnections?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Parameters for dataset. */ - sinkRetryCount?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - sinkRetryWait?: any; + schema?: any; /** - * DelimitedText store settings. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; + structure?: any; /** - * Copy sink type. - * Expected value is 'DelimitedTextSink'. + * The table name of the Azure SQL database. Type: string (or Expression with resultType string). */ - type: "DelimitedTextSink"; + table?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * This property will be retired. Please consider using schema + table properties instead. */ - writeBatchSize?: any; + tableName?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of dataset. + * Expected value is 'AzureSqlTable'. */ - writeBatchTimeout?: any; + type: "AzureSqlTable"; } /** - * A copy activity DelimitedText source. + * The storage account linked service. */ - export interface DelimitedTextSourceResponse { + export interface AzureStorageLinkedServiceResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The Azure key vault secret reference of accountKey in connection string. */ - additionalColumns?: any; + accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the linked service. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * DelimitedText format settings. + * The integration runtime reference. */ - formatSettings?: outputs.datafactory.DelimitedTextReadSettingsResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ - maxConcurrentConnections?: any; + connectionString?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Linked service description. */ - sourceRetryCount?: any; + description?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - sourceRetryWait?: any; + encryptedCredential?: string; /** - * DelimitedText store settings. + * Parameters for linked service. */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Copy source type. - * Expected value is 'DelimitedTextSource'. + * The Azure key vault secret reference of sasToken in sas uri. */ - type: "DelimitedTextSource"; + sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; + /** + * Type of linked service. + * Expected value is 'AzureStorage'. + */ + type: "AzureStorage"; } /** - * Delimited text write settings. + * Azure Synapse Analytics (Artifacts) linked service. */ - export interface DelimitedTextWriteSettingsResponse { + export interface AzureSynapseArtifactsLinkedServiceResponse { /** - * The file extension used to create the files. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - fileExtension: any; + annotations?: any[]; /** - * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). + * Required to specify MSI, if using system assigned managed identity as authentication method. Type: string (or Expression with resultType string). */ - fileNamePrefix?: any; + authentication?: any; /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). + * The integration runtime reference. */ - maxRowsPerFile?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). + * Linked service description. */ - quoteAllText?: any; + description?: string; /** - * The write setting type. - * Expected value is 'DelimitedTextWriteSettings'. + * https://.dev.azuresynapse.net, Azure Synapse Analytics workspace URL. Type: string (or Expression with resultType string). */ - type: "DelimitedTextWriteSettings"; - } - - /** - * Distcp settings. - */ - export interface DistcpSettingsResponse { + endpoint: any; /** - * Specifies the Distcp options. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - distcpOptions?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'AzureSynapseArtifacts'. */ - resourceManagerEndpoint: any; + type: "AzureSynapseArtifacts"; /** - * Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string). + * The resource ID of the Synapse workspace. The format should be: /subscriptions/{subscriptionID}/resourceGroups/{resourceGroup}/providers/Microsoft.Synapse/workspaces/{workspaceName}. Type: string (or Expression with resultType string). */ - tempScriptPath: any; + workspaceResourceId?: any; } /** - * Microsoft Azure Document Database Collection dataset. + * The Azure Table storage dataset. */ - export interface DocumentDbCollectionDatasetResponse { + export interface AzureTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; - /** - * Document Database collection name. Type: string (or Expression with resultType string). - */ - collectionName: any; /** * Dataset description. */ @@ -137221,17 +139387,37 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The table name of the Azure Table storage. Type: string (or Expression with resultType string). + */ + tableName: any; /** * Type of dataset. - * Expected value is 'DocumentDbCollection'. + * Expected value is 'AzureTable'. */ - type: "DocumentDbCollection"; + type: "AzureTable"; } /** - * A copy activity Document Database Collection sink. + * A copy activity Azure Table sink. */ - export interface DocumentDbCollectionSinkResponse { + export interface AzureTableSinkResponse { + /** + * Azure Table default partition key value. Type: string (or Expression with resultType string). + */ + azureTableDefaultPartitionKeyValue?: any; + /** + * Azure Table insert type. Type: string (or Expression with resultType string). + */ + azureTableInsertType?: any; + /** + * Azure Table partition key name. Type: string (or Expression with resultType string). + */ + azureTablePartitionKeyName?: any; + /** + * Azure Table row key name. Type: string (or Expression with resultType string). + */ + azureTableRowKeyName?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -137240,10 +139426,6 @@ export namespace datafactory { * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). - */ - nestingSeparator?: any; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -137254,9 +139436,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'DocumentDbCollectionSink'. + * Expected value is 'AzureTableSink'. */ - type: "DocumentDbCollectionSink"; + type: "AzureTableSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -137265,36 +139447,32 @@ export namespace datafactory { * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ writeBatchTimeout?: any; - /** - * Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. - */ - writeBehavior?: any; } /** - * A copy activity Document Database Collection source. + * A copy activity Azure Table source. */ - export interface DocumentDbCollectionSourceResponse { + export interface AzureTableSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). */ - disableMetricsCollection?: any; + azureTableSourceIgnoreTableNotFound?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Azure Table source query. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + azureTableSourceQuery?: any; /** - * Nested properties separator. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - nestingSeparator?: any; + disableMetricsCollection?: any; /** - * Documents query. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - query?: any; + maxConcurrentConnections?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ @@ -137309,15 +139487,19 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'DocumentDbCollectionSource'. + * Expected value is 'AzureTableSource'. */ - type: "DocumentDbCollectionSource"; + type: "AzureTableSource"; } /** - * Drill server linked service. + * The azure table storage linked service. */ - export interface DrillLinkedServiceResponse { + export interface AzureTableStorageLinkedServiceResponse { + /** + * The Azure key vault secret reference of accountKey in connection string. + */ + accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * List of tags that can be used for describing the linked service. */ @@ -137327,7 +139509,7 @@ export namespace datafactory { */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString?: any; /** @@ -137343,63 +139525,46 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The Azure key vault secret reference of password in connection string. + * The Azure key vault secret reference of sasToken in sas uri. */ - pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + sasToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; /** * Type of linked service. - * Expected value is 'Drill'. + * Expected value is 'AzureTableStorage'. */ - type: "Drill"; + type: "AzureTableStorage"; } /** - * A copy activity Drill server source. + * Big data pool reference type. */ - export interface DrillSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; + export interface BigDataPoolParametrizationReferenceResponse { /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Reference big data pool name. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + referenceName: any; /** - * Copy source type. - * Expected value is 'DrillSource'. + * Big data pool reference type. */ - type: "DrillSource"; + type: string; } /** - * Drill server dataset. + * Binary dataset. */ - export interface DrillTableDatasetResponse { + export interface BinaryDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; + /** + * The data compression method used for the binary dataset. + */ + compression?: outputs.datafactory.DatasetCompressionResponse; /** * Dataset description. */ @@ -137412,6 +139577,10 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The location of the Binary storage. + */ + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; /** * Parameters for dataset. */ @@ -137424,143 +139593,224 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name of the Drill. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'DrillTable'. + * Expected value is 'Binary'. */ - type: "DrillTable"; + type: "Binary"; } /** - * Dynamics AX linked service. + * Binary read settings. */ - export interface DynamicsAXLinkedServiceResponse { - /** - * Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). - */ - aadResourceId: any; + export interface BinaryReadSettingsResponse { /** - * List of tags that can be used for describing the linked service. + * Compression settings. */ - annotations?: any[]; + compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; /** - * The integration runtime reference. + * The read setting type. + * Expected value is 'BinaryReadSettings'. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + type: "BinaryReadSettings"; + } + + /** + * A copy activity Binary sink. + */ + export interface BinarySinkResponse { /** - * Linked service description. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - description?: string; + disableMetricsCollection?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - encryptedCredential?: string; + maxConcurrentConnections?: any; /** - * Parameters for linked service. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sinkRetryCount?: any; /** - * Specify the application's client ID. Type: string (or Expression with resultType string). + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - servicePrincipalId: any; + sinkRetryWait?: any; /** - * Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). + * Binary store settings. */ - servicePrincipalKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; /** - * Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). + * Copy sink type. + * Expected value is 'BinarySink'. */ - tenant: any; + type: "BinarySink"; /** - * Type of linked service. - * Expected value is 'DynamicsAX'. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - type: "DynamicsAX"; + writeBatchSize?: any; /** - * The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - url: any; + writeBatchTimeout?: any; } /** - * The path of the Dynamics AX OData entity. + * A copy activity Binary source. */ - export interface DynamicsAXResourceDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; + export interface BinarySourceResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + disableMetricsCollection?: any; /** - * Linked service reference. + * Binary format settings. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + formatSettings?: outputs.datafactory.BinaryReadSettingsResponse; /** - * Parameters for dataset. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + maxConcurrentConnections?: any; /** - * The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - path: any; + sourceRetryCount?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - schema?: any; + sourceRetryWait?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Binary store settings. */ - structure?: any; + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** - * Type of dataset. - * Expected value is 'DynamicsAXResource'. + * Copy source type. + * Expected value is 'BinarySource'. */ - type: "DynamicsAXResource"; + type: "BinarySource"; } /** - * A copy activity Dynamics AX source. + * Trigger that runs every time a Blob event occurs. */ - export interface DynamicsAXSourceResponse { + export interface BlobEventsTriggerResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * List of tags that can be used for describing the trigger. */ - additionalColumns?: any; + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. */ - disableMetricsCollection?: any; + blobPathBeginsWith?: string; /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. */ - httpRequestTimeout?: any; + blobPathEndsWith?: string; + /** + * Trigger description. + */ + description?: string; + /** + * The type of events that cause this trigger to fire. + */ + events: string[]; + /** + * If set to true, blobs with zero bytes will be ignored. + */ + ignoreEmptyBlobs?: boolean; + /** + * Pipelines that need to be started. + */ + pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + /** + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + */ + runtimeState: string; + /** + * The ARM resource ID of the Storage Account. + */ + scope: string; + /** + * Trigger type. + * Expected value is 'BlobEventsTrigger'. + */ + type: "BlobEventsTrigger"; + } + + /** + * A copy activity Azure Blob sink. + */ + export interface BlobSinkResponse { + /** + * Blob writer add header. Type: boolean (or Expression with resultType boolean). + */ + blobWriterAddHeader?: any; + /** + * Blob writer date time format. Type: string (or Expression with resultType string). + */ + blobWriterDateTimeFormat?: any; + /** + * Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). + */ + blobWriterOverwriteFiles?: any; + /** + * The type of copy behavior for copy sink. + */ + copyBehavior?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). + */ + metadata?: outputs.datafactory.MetadataItemResponse[]; + /** + * Sink retry count. Type: integer (or Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sinkRetryWait?: any; + /** + * Copy sink type. + * Expected value is 'BlobSink'. + */ + type: "BlobSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + } + + /** + * A copy activity Azure Blob source. + */ + export interface BlobSourceResponse { + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - query?: any; + recursive?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). */ - queryTimeout?: any; + skipHeaderLineCount?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -137569,76 +139819,82 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; + /** + * Treat empty as null. Type: boolean (or Expression with resultType boolean). + */ + treatEmptyAsNull?: any; /** * Copy source type. - * Expected value is 'DynamicsAXSource'. + * Expected value is 'BlobSource'. */ - type: "DynamicsAXSource"; + type: "BlobSource"; } /** - * The Dynamics CRM entity dataset. + * Trigger that runs every time the selected Blob container changes. */ - export interface DynamicsCrmEntityDatasetResponse { + export interface BlobTriggerResponse { /** - * List of tags that can be used for describing the Dataset. + * List of tags that can be used for describing the trigger. */ annotations?: any[]; /** - * Dataset description. + * Trigger description. */ description?: string; /** - * The logical name of the entity. Type: string (or Expression with resultType string). + * The path of the container/folder that will trigger the pipeline. */ - entityName?: any; + folderPath: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The Azure Storage linked service reference. */ - folder?: outputs.datafactory.DatasetResponseFolder; + linkedService: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Linked service reference. + * The max number of parallel files to handle when it is triggered. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + maxConcurrency: number; /** - * Parameters for dataset. + * Pipelines that need to be started. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. */ - schema?: any; + runtimeState: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Trigger type. + * Expected value is 'BlobTrigger'. */ - structure?: any; + type: "BlobTrigger"; + } + + /** + * Managed Identity used for CMK. + */ + export interface CMKIdentityDefinitionResponse { /** - * Type of dataset. - * Expected value is 'DynamicsCrmEntity'. + * The resource id of the user assigned identity to authenticate to customer's key vault. */ - type: "DynamicsCrmEntity"; + userAssignedIdentity?: string; } /** - * Dynamics CRM linked service. + * Linked service for Cassandra data source. */ - export interface DynamicsCrmLinkedServiceResponse { + export interface CassandraLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). + * AuthenticationType to be used for connection. Type: string (or Expression with resultType string). */ - authenticationType: any; + authenticationType?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string). - */ - deploymentType: any; /** * Linked service description. */ @@ -137648,138 +139904,194 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). - */ - hostName?: any; - /** - * The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string). + * Host name for connection. Type: string (or Expression with resultType string). */ - organizationName?: any; + host: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password to access the Dynamics CRM instance. + * Password for authentication. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + * The port for the connection. Type: integer (or Expression with resultType integer). */ port?: any; /** - * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * Type of linked service. + * Expected value is 'Cassandra'. */ - servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + type: "Cassandra"; /** - * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). + * Username for authentication. Type: string (or Expression with resultType string). */ - servicePrincipalCredentialType?: any; + username?: any; + } + + /** + * A copy activity source for a Cassandra database. + */ + export interface CassandraSourceResponse { /** - * The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - servicePrincipalId?: any; + additionalColumns?: any; /** - * The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + * The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. */ - serviceUri?: any; + consistencyLevel?: string; /** - * Type of linked service. - * Expected value is 'DynamicsCrm'. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - type: "DynamicsCrm"; + disableMetricsCollection?: any; /** - * User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - username?: any; + maxConcurrentConnections?: any; + /** + * Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'CassandraSource'. + */ + type: "CassandraSource"; } /** - * A copy activity Dynamics CRM sink. + * The Cassandra database dataset. */ - export interface DynamicsCrmSinkResponse { + export interface CassandraTableDatasetResponse { /** - * The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - alternateKeyName?: any; + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Dataset description. */ - disableMetricsCollection?: any; + description?: string; /** - * The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - ignoreNullValues?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The keyspace of the Cassandra database. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + keyspace?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Linked service reference. */ - sinkRetryCount?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Parameters for dataset. */ - sinkRetryWait?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Copy sink type. - * Expected value is 'DynamicsCrmSink'. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - type: "DynamicsCrmSink"; + schema?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - writeBatchSize?: any; + structure?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The table name of the Cassandra database. Type: string (or Expression with resultType string). */ - writeBatchTimeout?: any; + tableName?: any; /** - * The write behavior for the operation. + * Type of dataset. + * Expected value is 'CassandraTable'. */ - writeBehavior: string; + type: "CassandraTable"; } /** - * A copy activity Dynamics CRM source. + * Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and their runs should have the values for those runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all upstream pipeline runs. */ - export interface DynamicsCrmSourceResponse { + export interface ChainingTriggerResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * List of tags that can be used for describing the trigger. */ - additionalColumns?: any; + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Upstream Pipelines. */ - disableMetricsCollection?: any; + dependsOn: outputs.datafactory.PipelineReferenceResponse[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Trigger description. */ - maxConcurrentConnections?: any; + description?: string; /** - * FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). + * Pipeline for which runs are created when all upstream pipelines complete successfully. */ - query?: any; + pipeline: outputs.datafactory.TriggerPipelineReferenceResponse; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Run Dimension property that needs to be emitted by upstream pipelines. */ - sourceRetryCount?: any; + runDimension: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. */ - sourceRetryWait?: any; + runtimeState: string; /** - * Copy source type. - * Expected value is 'DynamicsCrmSource'. + * Trigger type. + * Expected value is 'ChainingTrigger'. */ - type: "DynamicsCrmSource"; + type: "ChainingTrigger"; } /** - * The Dynamics entity dataset. + * The folder that this CDC is in. If not specified, CDC will appear at the root level. */ - export interface DynamicsEntityDatasetResponse { + export interface ChangeDataCaptureResponseFolder { + /** + * The name of the folder that this CDC is in. + */ + name?: string; + } + + /** + * The custom setup of running cmdkey commands. + */ + export interface CmdkeySetupResponse { + /** + * The password of data source access. + */ + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The server name of data source access. + */ + targetName: any; + /** + * The type of custom setup. + * Expected value is 'CmdkeySetup'. + */ + type: "CmdkeySetup"; + /** + * The user name of data source access. + */ + userName: any; + } + + /** + * The Common Data Service for Apps entity dataset. + */ + export interface CommonDataServiceForAppsEntityDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -137814,21 +140126,21 @@ export namespace datafactory { structure?: any; /** * Type of dataset. - * Expected value is 'DynamicsEntity'. + * Expected value is 'CommonDataServiceForAppsEntity'. */ - type: "DynamicsEntity"; + type: "CommonDataServiceForAppsEntity"; } /** - * Dynamics linked service. + * Common Data Service for Apps linked service. */ - export interface DynamicsLinkedServiceResponse { + export interface CommonDataServiceForAppsLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). + * The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ authenticationType: any; /** @@ -137836,11 +140148,7 @@ export namespace datafactory { */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The credential reference containing authentication information. - */ - credential?: outputs.datafactory.CredentialReferenceResponse; - /** - * The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string). + * The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string). */ deploymentType: any; /** @@ -137852,11 +140160,11 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). + * The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ hostName?: any; /** - * The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). + * The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string). */ organizationName?: any; /** @@ -137864,11 +140172,11 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password to access the Dynamics instance. + * Password to access the Common Data Service for Apps instance. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + * The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ port?: any; /** @@ -137884,24 +140192,24 @@ export namespace datafactory { */ servicePrincipalId?: any; /** - * The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + * The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). */ serviceUri?: any; /** * Type of linked service. - * Expected value is 'Dynamics'. + * Expected value is 'CommonDataServiceForApps'. */ - type: "Dynamics"; + type: "CommonDataServiceForApps"; /** - * User name to access the Dynamics instance. Type: string (or Expression with resultType string). + * User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). */ username?: any; } /** - * A copy activity Dynamics sink. + * A copy activity Common Data Service for Apps sink. */ - export interface DynamicsSinkResponse { + export interface CommonDataServiceForAppsSinkResponse { /** * The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ @@ -137911,7 +140219,7 @@ export namespace datafactory { */ disableMetricsCollection?: any; /** - * The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). + * The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). */ ignoreNullValues?: any; /** @@ -137928,9 +140236,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'DynamicsSink'. + * Expected value is 'CommonDataServiceForAppsSink'. */ - type: "DynamicsSink"; + type: "CommonDataServiceForAppsSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -137946,9 +140254,9 @@ export namespace datafactory { } /** - * A copy activity Dynamics source. + * A copy activity Common Data Service for Apps source. */ - export interface DynamicsSourceResponse { + export interface CommonDataServiceForAppsSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -137962,7 +140270,7 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). + * FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). */ query?: any; /** @@ -137975,23 +140283,50 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'DynamicsSource'. + * Expected value is 'CommonDataServiceForAppsSource'. */ - type: "DynamicsSource"; + type: "CommonDataServiceForAppsSource"; } /** - * Eloqua server linked service. + * The custom setup of installing 3rd party components. */ - export interface EloquaLinkedServiceResponse { + export interface ComponentSetupResponse { + /** + * The name of the 3rd party component. + */ + componentName: string; + /** + * The license key to activate the component. + */ + licenseKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The type of custom setup. + * Expected value is 'ComponentSetup'. + */ + type: "ComponentSetup"; + } + + /** + * Concur Service linked service. + */ + export interface ConcurLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Application client_id supplied by Concur App Management. + */ + clientId: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object. + */ + connectionProperties?: any; /** * Linked service description. */ @@ -138000,23 +140335,19 @@ export namespace datafactory { * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * The endpoint of the Eloqua server. (i.e. eloqua.example.com) - */ - endpoint: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name. + * The password corresponding to the user name that you provided in the username field. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'Eloqua'. + * Expected value is 'Concur'. */ - type: "Eloqua"; + type: "Concur"; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ @@ -138030,15 +140361,15 @@ export namespace datafactory { */ usePeerVerification?: any; /** - * The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice) + * The user name that you use to access Concur Service. */ username: any; } /** - * Eloqua server dataset. + * Concur Service dataset. */ - export interface EloquaObjectDatasetResponse { + export interface ConcurObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -138073,15 +140404,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'EloquaObject'. + * Expected value is 'ConcurObject'. */ - type: "EloquaObject"; + type: "ConcurObject"; } /** - * A copy activity Eloqua server source. + * A copy activity Concur Service source. */ - export interface EloquaSourceResponse { + export interface ConcurSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -138112,892 +140443,842 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'EloquaSource'. - */ - type: "EloquaSource"; - } - - /** - * Definition of CMK for the factory. - */ - export interface EncryptionConfigurationResponse { - /** - * User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used. - */ - identity?: outputs.datafactory.CMKIdentityDefinitionResponse; - /** - * The name of the key in Azure Key Vault to use as Customer Managed Key. - */ - keyName: string; - /** - * The version of the key used for CMK. If not provided, latest version will be used. - */ - keyVersion?: string; - /** - * The url of the Azure Key Vault used for CMK. - */ - vaultBaseUrl: string; - } - - /** - * The entity reference. - */ - export interface EntityReferenceResponse { - /** - * The name of this referenced entity. - */ - referenceName?: string; - /** - * The type of this referenced entity. + * Expected value is 'ConcurSource'. */ - type?: string; + type: "ConcurSource"; } /** - * The custom setup of setting environment variable. + * The connection state of a managed private endpoint */ - export interface EnvironmentVariableSetupResponse { + export interface ConnectionStatePropertiesResponse { /** - * The type of custom setup. - * Expected value is 'EnvironmentVariableSetup'. + * The actions required on the managed private endpoint */ - type: "EnvironmentVariableSetup"; + actionsRequired: string; /** - * The name of the environment variable. + * The managed private endpoint description */ - variableName: string; + description: string; /** - * The value of the environment variable. + * The approval status */ - variableValue: string; + status: string; } /** - * Excel dataset. + * Base class for all control activities like IfCondition, ForEach , Until. */ - export interface ExcelDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface ControlActivityResponse { /** - * The data compression method used for the json dataset. + * Activity depends on condition. */ - compression?: outputs.datafactory.DatasetCompressionResponse; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Dataset description. + * Activity description. */ description?: string; /** - * When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). - */ - firstRowAsHeader?: any; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The location of the excel storage. - */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; - /** - * The null value string. Type: string (or Expression with resultType string). - */ - nullValue?: any; - /** - * Parameters for dataset. + * Activity name. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + name: string; /** - * The partial data of one sheet. Type: string (or Expression with resultType string). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - range?: any; + onInactiveMarkAs?: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - schema?: any; + state?: string; /** - * The sheet index of excel file and default value is 0. Type: integer (or Expression with resultType integer) + * Type of activity. + * Expected value is 'Container'. */ - sheetIndex?: any; + type: "Container"; /** - * The sheet name of excel file. Type: string (or Expression with resultType string). + * Activity user properties. */ - sheetName?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Settings for copy activity log. + */ + export interface CopyActivityLogSettingsResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). */ - structure?: any; + enableReliableLogging?: any; /** - * Type of dataset. - * Expected value is 'Excel'. + * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). */ - type: "Excel"; + logLevel?: any; } /** - * A copy activity excel source. + * Copy activity. */ - export interface ExcelSourceResponse { + export interface CopyActivityResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0. */ - additionalColumns?: any; + dataIntegrationUnits?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Activity depends on condition. */ - disableMetricsCollection?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Activity description. */ - maxConcurrentConnections?: any; + description?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean). */ - sourceRetryCount?: any; + enableSkipIncompatibleRow?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). */ - sourceRetryWait?: any; + enableStaging?: any; /** - * Excel store settings. + * List of inputs for the activity. */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + inputs?: outputs.datafactory.DatasetReferenceResponse[]; /** - * Copy source type. - * Expected value is 'ExcelSource'. + * Linked service reference. */ - type: "ExcelSource"; - } - - /** - * Execute data flow activity. - */ - export interface ExecuteDataFlowActivityResponse { + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Compute properties for data flow activity. + * Log settings customer needs provide when enabling log. */ - compute?: outputs.datafactory.ExecuteDataFlowActivityTypePropertiesResponseCompute; + logSettings?: outputs.datafactory.LogSettingsResponse; /** - * Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) + * (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. */ - continueOnError?: any; + logStorageSettings?: outputs.datafactory.LogStorageSettingsResponse; /** - * Data flow reference. + * Activity name. */ - dataFlow: outputs.datafactory.DataFlowReferenceResponse; + name: string; /** - * Activity depends on condition. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + onInactiveMarkAs?: string; /** - * Activity description. + * List of outputs for the activity. */ - description?: string; + outputs?: outputs.datafactory.DatasetReferenceResponse[]; /** - * The integration runtime reference. + * Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. */ - integrationRuntime?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + parallelCopies?: any; /** - * Linked service reference. + * Activity policy. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Activity name. + * Preserve rules. */ - name: string; + preserve?: any[]; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Preserve Rules. */ - onInactiveMarkAs?: string; + preserveRules?: any[]; /** - * Activity policy. + * Redirect incompatible row settings when EnableSkipIncompatibleRow is true. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + redirectIncompatibleRowSettings?: outputs.datafactory.RedirectIncompatibleRowSettingsResponse; /** - * Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) + * Copy activity sink. */ - runConcurrently?: any; + sink: outputs.datafactory.AvroSinkResponse | outputs.datafactory.AzureBlobFSSinkResponse | outputs.datafactory.AzureDataExplorerSinkResponse | outputs.datafactory.AzureDataLakeStoreSinkResponse | outputs.datafactory.AzureDatabricksDeltaLakeSinkResponse | outputs.datafactory.AzureMySqlSinkResponse | outputs.datafactory.AzurePostgreSqlSinkResponse | outputs.datafactory.AzureQueueSinkResponse | outputs.datafactory.AzureSearchIndexSinkResponse | outputs.datafactory.AzureSqlSinkResponse | outputs.datafactory.AzureTableSinkResponse | outputs.datafactory.BinarySinkResponse | outputs.datafactory.BlobSinkResponse | outputs.datafactory.CommonDataServiceForAppsSinkResponse | outputs.datafactory.CosmosDbMongoDbApiSinkResponse | outputs.datafactory.CosmosDbSqlApiSinkResponse | outputs.datafactory.DelimitedTextSinkResponse | outputs.datafactory.DocumentDbCollectionSinkResponse | outputs.datafactory.DynamicsCrmSinkResponse | outputs.datafactory.DynamicsSinkResponse | outputs.datafactory.FileSystemSinkResponse | outputs.datafactory.InformixSinkResponse | outputs.datafactory.JsonSinkResponse | outputs.datafactory.MicrosoftAccessSinkResponse | outputs.datafactory.MongoDbAtlasSinkResponse | outputs.datafactory.MongoDbV2SinkResponse | outputs.datafactory.OdbcSinkResponse | outputs.datafactory.OracleSinkResponse | outputs.datafactory.OrcSinkResponse | outputs.datafactory.ParquetSinkResponse | outputs.datafactory.RestSinkResponse | outputs.datafactory.SalesforceServiceCloudSinkResponse | outputs.datafactory.SalesforceSinkResponse | outputs.datafactory.SapCloudForCustomerSinkResponse | outputs.datafactory.SnowflakeSinkResponse | outputs.datafactory.SqlDWSinkResponse | outputs.datafactory.SqlMISinkResponse | outputs.datafactory.SqlServerSinkResponse | outputs.datafactory.SqlSinkResponse; /** - * Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer) + * Specify the fault tolerance for data consistency. */ - sourceStagingConcurrency?: any; + skipErrorFile?: outputs.datafactory.SkipErrorFileResponse; /** - * Staging info for execute data flow activity. + * Copy activity source. */ - staging?: outputs.datafactory.DataFlowStagingInfoResponse; + source: outputs.datafactory.AmazonMWSSourceResponse | outputs.datafactory.AmazonRdsForOracleSourceResponse | outputs.datafactory.AmazonRdsForSqlServerSourceResponse | outputs.datafactory.AmazonRedshiftSourceResponse | outputs.datafactory.AvroSourceResponse | outputs.datafactory.AzureBlobFSSourceResponse | outputs.datafactory.AzureDataExplorerSourceResponse | outputs.datafactory.AzureDataLakeStoreSourceResponse | outputs.datafactory.AzureDatabricksDeltaLakeSourceResponse | outputs.datafactory.AzureMariaDBSourceResponse | outputs.datafactory.AzureMySqlSourceResponse | outputs.datafactory.AzurePostgreSqlSourceResponse | outputs.datafactory.AzureSqlSourceResponse | outputs.datafactory.AzureTableSourceResponse | outputs.datafactory.BinarySourceResponse | outputs.datafactory.BlobSourceResponse | outputs.datafactory.CassandraSourceResponse | outputs.datafactory.CommonDataServiceForAppsSourceResponse | outputs.datafactory.ConcurSourceResponse | outputs.datafactory.CosmosDbMongoDbApiSourceResponse | outputs.datafactory.CosmosDbSqlApiSourceResponse | outputs.datafactory.CouchbaseSourceResponse | outputs.datafactory.Db2SourceResponse | outputs.datafactory.DelimitedTextSourceResponse | outputs.datafactory.DocumentDbCollectionSourceResponse | outputs.datafactory.DrillSourceResponse | outputs.datafactory.DynamicsAXSourceResponse | outputs.datafactory.DynamicsCrmSourceResponse | outputs.datafactory.DynamicsSourceResponse | outputs.datafactory.EloquaSourceResponse | outputs.datafactory.ExcelSourceResponse | outputs.datafactory.FileSystemSourceResponse | outputs.datafactory.GoogleAdWordsSourceResponse | outputs.datafactory.GoogleBigQuerySourceResponse | outputs.datafactory.GreenplumSourceResponse | outputs.datafactory.HBaseSourceResponse | outputs.datafactory.HdfsSourceResponse | outputs.datafactory.HiveSourceResponse | outputs.datafactory.HttpSourceResponse | outputs.datafactory.HubspotSourceResponse | outputs.datafactory.ImpalaSourceResponse | outputs.datafactory.InformixSourceResponse | outputs.datafactory.JiraSourceResponse | outputs.datafactory.JsonSourceResponse | outputs.datafactory.MagentoSourceResponse | outputs.datafactory.MariaDBSourceResponse | outputs.datafactory.MarketoSourceResponse | outputs.datafactory.MicrosoftAccessSourceResponse | outputs.datafactory.MongoDbAtlasSourceResponse | outputs.datafactory.MongoDbSourceResponse | outputs.datafactory.MongoDbV2SourceResponse | outputs.datafactory.MySqlSourceResponse | outputs.datafactory.NetezzaSourceResponse | outputs.datafactory.ODataSourceResponse | outputs.datafactory.OdbcSourceResponse | outputs.datafactory.Office365SourceResponse | outputs.datafactory.OracleServiceCloudSourceResponse | outputs.datafactory.OracleSourceResponse | outputs.datafactory.OrcSourceResponse | outputs.datafactory.ParquetSourceResponse | outputs.datafactory.PaypalSourceResponse | outputs.datafactory.PhoenixSourceResponse | outputs.datafactory.PostgreSqlSourceResponse | outputs.datafactory.PrestoSourceResponse | outputs.datafactory.QuickBooksSourceResponse | outputs.datafactory.RelationalSourceResponse | outputs.datafactory.ResponsysSourceResponse | outputs.datafactory.RestSourceResponse | outputs.datafactory.SalesforceMarketingCloudSourceResponse | outputs.datafactory.SalesforceServiceCloudSourceResponse | outputs.datafactory.SalesforceSourceResponse | outputs.datafactory.SapBwSourceResponse | outputs.datafactory.SapCloudForCustomerSourceResponse | outputs.datafactory.SapEccSourceResponse | outputs.datafactory.SapHanaSourceResponse | outputs.datafactory.SapOdpSourceResponse | outputs.datafactory.SapOpenHubSourceResponse | outputs.datafactory.SapTableSourceResponse | outputs.datafactory.ServiceNowSourceResponse | outputs.datafactory.SharePointOnlineListSourceResponse | outputs.datafactory.ShopifySourceResponse | outputs.datafactory.SnowflakeSourceResponse | outputs.datafactory.SparkSourceResponse | outputs.datafactory.SqlDWSourceResponse | outputs.datafactory.SqlMISourceResponse | outputs.datafactory.SqlServerSourceResponse | outputs.datafactory.SqlSourceResponse | outputs.datafactory.SquareSourceResponse | outputs.datafactory.SybaseSourceResponse | outputs.datafactory.TabularSourceResponse | outputs.datafactory.TeradataSourceResponse | outputs.datafactory.VerticaSourceResponse | outputs.datafactory.WebSourceResponse | outputs.datafactory.XeroSourceResponse | outputs.datafactory.XmlSourceResponse | outputs.datafactory.ZohoSourceResponse; + /** + * Specifies interim staging settings when EnableStaging is true. + */ + stagingSettings?: outputs.datafactory.StagingSettingsResponse; /** * Activity state. This is an optional property and if not provided, the state will be Active by default. */ state?: string; /** - * Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) + * Copy activity translator. If not specified, tabular translator is used. */ - traceLevel?: any; + translator?: any; /** * Type of activity. - * Expected value is 'ExecuteDataFlow'. + * Expected value is 'Copy'. */ - type: "ExecuteDataFlow"; + type: "Copy"; /** * Activity user properties. */ userProperties?: outputs.datafactory.UserPropertyResponse[]; + /** + * Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean). + */ + validateDataConsistency?: any; } /** - * Compute properties for data flow activity. + * CopyComputeScale properties for managed integration runtime. */ - export interface ExecuteDataFlowActivityTypePropertiesResponseCompute { + export interface CopyComputeScalePropertiesResponse { /** - * Compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType string) + * DIU number setting reserved for copy activity execution. Supported values are multiples of 4 in range 4-256. */ - computeType?: any; + dataIntegrationUnit?: number; /** - * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or Expression with resultType integer) + * Time to live (in minutes) setting of integration runtime which will execute copy activity. */ - coreCount?: any; + timeToLive?: number; } /** - * Execution policy for an execute pipeline activity. + * Microsoft Azure Cosmos Database (CosmosDB) linked service. */ - export interface ExecutePipelineActivityPolicyResponse { + export interface CosmosDbLinkedServiceResponse { /** - * When set to true, Input from activity is considered as secure and will not be logged to monitoring. + * The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string) */ - secureInput?: boolean; - } - - /** - * Execute pipeline activity. - */ - export interface ExecutePipelineActivityResponse { + accountEndpoint?: any; /** - * Activity depends on condition. + * The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + accountKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity description. + * List of tags that can be used for describing the linked service. */ - description?: string; + annotations?: any[]; /** - * Activity name. + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ - name: string; + azureCloudType?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * The integration runtime reference. */ - onInactiveMarkAs?: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Pipeline parameters. + * The connection mode used to access CosmosDB account. Type: string. */ - parameters?: {[key: string]: any}; + connectionMode?: string; /** - * Pipeline reference. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - pipeline: outputs.datafactory.PipelineReferenceResponse; + connectionString?: any; /** - * Execute pipeline activity policy. + * The credential reference containing authentication information. */ - policy?: outputs.datafactory.ExecutePipelineActivityPolicyResponse; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The name of the database. Type: string (or Expression with resultType string) */ - state?: string; + database?: any; /** - * Type of activity. - * Expected value is 'ExecutePipeline'. + * Linked service description. */ - type: "ExecutePipeline"; + description?: string; /** - * Activity user properties. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + encryptedCredential?: string; /** - * Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. + * Parameters for linked service. */ - waitOnCompletion?: boolean; - } - - /** - * Execute SSIS package activity. - */ - export interface ExecuteSSISPackageActivityResponse { + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The integration runtime reference. + * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ - connectVia: outputs.datafactory.IntegrationRuntimeReferenceResponse; + servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity depends on condition. + * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + servicePrincipalCredentialType?: any; /** - * Activity description. + * The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). */ - description?: string; + servicePrincipalId?: any; /** - * The environment path to execute the SSIS package. Type: string (or Expression with resultType string). + * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ - environmentPath?: any; + tenant?: any; /** - * The package execution credential. + * Type of linked service. + * Expected value is 'CosmosDb'. */ - executionCredential?: outputs.datafactory.SSISExecutionCredentialResponse; + type: "CosmosDb"; + } + + /** + * The CosmosDB (MongoDB API) database dataset. + */ + export interface CosmosDbMongoDbApiCollectionDatasetResponse { /** - * Linked service reference. + * List of tags that can be used for describing the Dataset. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + annotations?: any[]; /** - * SSIS package execution log location. + * The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). */ - logLocation?: outputs.datafactory.SSISLogLocationResponse; + collection: any; /** - * The logging level of SSIS package execution. Type: string (or Expression with resultType string). + * Dataset description. */ - loggingLevel?: any; + description?: string; /** - * Activity name. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - name: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Linked service reference. */ - onInactiveMarkAs?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The package level connection managers to execute the SSIS package. + * Parameters for dataset. */ - packageConnectionManagers?: {[key: string]: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}}; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * SSIS package location. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - packageLocation: outputs.datafactory.SSISPackageLocationResponse; + schema?: any; /** - * The package level parameters to execute the SSIS package. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - packageParameters?: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}; + structure?: any; /** - * Activity policy. + * Type of dataset. + * Expected value is 'CosmosDbMongoDbApiCollection'. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + type: "CosmosDbMongoDbApiCollection"; + } + + /** + * Linked service for CosmosDB (MongoDB API) data source. + */ + export interface CosmosDbMongoDbApiLinkedServiceResponse { /** - * The project level connection managers to execute the SSIS package. + * List of tags that can be used for describing the linked service. */ - projectConnectionManagers?: {[key: string]: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}}; + annotations?: any[]; /** - * The project level parameters to execute the SSIS package. + * The integration runtime reference. */ - projectParameters?: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The property overrides to execute the SSIS package. + * The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ - propertyOverrides?: {[key: string]: outputs.datafactory.SSISPropertyOverrideResponse}; + connectionString: any; /** - * Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). + * The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). */ - runtime?: any; + database: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Linked service description. */ - state?: string; + description?: string; /** - * Type of activity. - * Expected value is 'ExecuteSSISPackage'. + * Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean). */ - type: "ExecuteSSISPackage"; + isServerVersionAbove32?: any; /** - * Activity user properties. + * Parameters for linked service. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Type of linked service. + * Expected value is 'CosmosDbMongoDbApi'. + */ + type: "CosmosDbMongoDbApi"; } /** - * Execute power query activity. + * A copy activity sink for a CosmosDB (MongoDB API) database. */ - export interface ExecuteWranglingDataflowActivityResponse { + export interface CosmosDbMongoDbApiSinkResponse { /** - * Compute properties for data flow activity. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - compute?: outputs.datafactory.ExecuteDataFlowActivityTypePropertiesResponseCompute; + disableMetricsCollection?: any; /** - * Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - continueOnError?: any; + maxConcurrentConnections?: any; /** - * Data flow reference. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - dataFlow: outputs.datafactory.DataFlowReferenceResponse; + sinkRetryCount?: any; /** - * Activity depends on condition. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + sinkRetryWait?: any; /** - * Activity description. + * Copy sink type. + * Expected value is 'CosmosDbMongoDbApiSink'. */ - description?: string; + type: "CosmosDbMongoDbApiSink"; /** - * The integration runtime reference. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - integrationRuntime?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + writeBatchSize?: any; /** - * Activity name. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - name: string; + writeBatchTimeout?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ - onInactiveMarkAs?: string; + writeBehavior?: any; + } + + /** + * A copy activity source for a CosmosDB (MongoDB API) database. + */ + export interface CosmosDbMongoDbApiSourceResponse { /** - * Activity policy. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + additionalColumns?: any; /** - * List of mapping for Power Query mashup query to sink dataset(s). + * Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). */ - queries?: outputs.datafactory.PowerQuerySinkMappingResponse[]; + batchSize?: any; /** - * Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) + * Cursor methods for Mongodb query. */ - runConcurrently?: any; + cursorMethods?: outputs.datafactory.MongoDbCursorMethodsPropertiesResponse; /** - * (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - sinks?: {[key: string]: outputs.datafactory.PowerQuerySinkResponse}; + disableMetricsCollection?: any; /** - * Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer) + * Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). */ - sourceStagingConcurrency?: any; + filter?: any; /** - * Staging info for execute data flow activity. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - staging?: outputs.datafactory.DataFlowStagingInfoResponse; + maxConcurrentConnections?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - state?: string; + queryTimeout?: any; /** - * Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) + * Source retry count. Type: integer (or Expression with resultType integer). */ - traceLevel?: any; + sourceRetryCount?: any; /** - * Type of activity. - * Expected value is 'ExecuteWranglingDataflow'. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "ExecuteWranglingDataflow"; + sourceRetryWait?: any; /** - * Activity user properties. + * Copy source type. + * Expected value is 'CosmosDbMongoDbApiSource'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "CosmosDbMongoDbApiSource"; } /** - * Base class for all execution activities. + * Microsoft Azure CosmosDB (SQL API) Collection dataset. */ - export interface ExecutionActivityResponse { + export interface CosmosDbSqlApiCollectionDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). */ - description?: string; + collectionName: any; /** - * Linked service reference. + * Dataset description. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * Activity name. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - name: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Linked service reference. */ - onInactiveMarkAs?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Activity policy. + * Parameters for dataset. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - state?: string; + schema?: any; /** - * Type of activity. - * Expected value is 'Execution'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "Execution"; + structure?: any; /** - * Activity user properties. + * Type of dataset. + * Expected value is 'CosmosDbSqlApiCollection'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "CosmosDbSqlApiCollection"; } /** - * Azure Data Factory expression definition. + * A copy activity Azure CosmosDB (SQL API) Collection sink. */ - export interface ExpressionResponse { + export interface CosmosDbSqlApiSinkResponse { /** - * Expression type. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - type: string; + disableMetricsCollection?: any; /** - * Expression value. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - value: string; - } - - /** - * Factory's GitHub repo information. - */ - export interface FactoryGitHubConfigurationResponse { + maxConcurrentConnections?: any; /** - * Account name. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - accountName: string; + sinkRetryCount?: any; /** - * GitHub bring your own app client id. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - clientId?: string; + sinkRetryWait?: any; /** - * GitHub bring your own app client secret information. + * Copy sink type. + * Expected value is 'CosmosDbSqlApiSink'. */ - clientSecret?: outputs.datafactory.GitHubClientSecretResponse; + type: "CosmosDbSqlApiSink"; /** - * Collaboration branch. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - collaborationBranch: string; + writeBatchSize?: any; /** - * Disable manual publish operation in ADF studio to favor automated publish. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - disablePublish?: boolean; + writeBatchTimeout?: any; /** - * GitHub Enterprise host name. For example: `https://github.mydomain.com` + * Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. */ - hostName?: string; + writeBehavior?: any; + } + + /** + * A copy activity Azure CosmosDB (SQL API) Collection source. + */ + export interface CosmosDbSqlApiSourceResponse { /** - * Last commit id. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - lastCommitId?: string; + additionalColumns?: any; /** - * Repository name. + * Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean). */ - repositoryName: string; + detectDatetime?: any; /** - * Root folder. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - rootFolder: string; + disableMetricsCollection?: any; /** - * Type of repo configuration. - * Expected value is 'FactoryGitHubConfiguration'. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - type: "FactoryGitHubConfiguration"; - } - - /** - * Identity properties of the factory resource. - */ - export interface FactoryIdentityResponse { + maxConcurrentConnections?: any; /** - * The principal id of the identity. + * Page size of the result. Type: integer (or Expression with resultType integer). */ - principalId: string; + pageSize?: any; /** - * The client tenant id of the identity. + * Preferred regions. Type: array of strings (or Expression with resultType array of strings). */ - tenantId: string; + preferredRegions?: any; /** - * The identity type. + * SQL API query. Type: string (or Expression with resultType string). */ - type: string; + query?: any; /** - * List of user assigned identities for the factory. + * Source retry count. Type: integer (or Expression with resultType integer). */ - userAssignedIdentities?: {[key: string]: any}; + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'CosmosDbSqlApiSource'. + */ + type: "CosmosDbSqlApiSource"; } /** - * Factory's VSTS repo information. + * Couchbase server linked service. */ - export interface FactoryVSTSConfigurationResponse { - /** - * Account name. - */ - accountName: string; + export interface CouchbaseLinkedServiceResponse { /** - * Collaboration branch. + * List of tags that can be used for describing the linked service. */ - collaborationBranch: string; + annotations?: any[]; /** - * Disable manual publish operation in ADF studio to favor automated publish. + * The integration runtime reference. */ - disablePublish?: boolean; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Last commit id. + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - lastCommitId?: string; + connectionString?: any; /** - * VSTS project name. + * The Azure key vault secret reference of credString in connection string. */ - projectName: string; + credString?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Repository name. + * Linked service description. */ - repositoryName: string; + description?: string; /** - * Root folder. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - rootFolder: string; + encryptedCredential?: string; /** - * VSTS tenant id. + * Parameters for linked service. */ - tenantId?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of repo configuration. - * Expected value is 'FactoryVSTSConfiguration'. + * Type of linked service. + * Expected value is 'Couchbase'. */ - type: "FactoryVSTSConfiguration"; + type: "Couchbase"; } /** - * This activity will fail within its own scope and output a custom error message and error code. The error message and code can provided either as a string literal or as an expression that can be evaluated to a string at runtime. The activity scope can be the whole pipeline or a control activity (e.g. foreach, switch, until), if the fail activity is contained in it. + * A copy activity Couchbase server source. */ - export interface FailActivityResponse { - /** - * Activity depends on condition. - */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + export interface CouchbaseSourceResponse { /** - * Activity description. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - description?: string; + additionalColumns?: any; /** - * The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - errorCode: any; + disableMetricsCollection?: any; /** - * The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - message: any; + maxConcurrentConnections?: any; /** - * Activity name. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - name: string; + query?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - onInactiveMarkAs?: string; + queryTimeout?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Source retry count. Type: integer (or Expression with resultType integer). */ - state?: string; + sourceRetryCount?: any; /** - * Type of activity. - * Expected value is 'Fail'. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "Fail"; + sourceRetryWait?: any; /** - * Activity user properties. + * Copy source type. + * Expected value is 'CouchbaseSource'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "CouchbaseSource"; } /** - * File system linked service. + * Couchbase server dataset. */ - export interface FileServerLinkedServiceResponse { + export interface CouchbaseTableDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. + * Dataset description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - encryptedCredential?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Host name of the server. Type: string (or Expression with resultType string). + * Linked service reference. */ - host: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for linked service. + * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password to logon the server. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + schema?: any; /** - * Type of linked service. - * Expected value is 'FileServer'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "FileServer"; + structure?: any; /** - * User ID to logon the server. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - userId?: any; + tableName?: any; + /** + * Type of dataset. + * Expected value is 'CouchbaseTable'. + */ + type: "CouchbaseTable"; } /** - * The location of file server dataset. + * Credential reference type. */ - export interface FileServerLocationResponse { - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + export interface CredentialReferenceResponse { /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Reference credential name. */ - folderPath?: any; + referenceName: string; /** - * Type of dataset storage location. - * Expected value is 'FileServerLocation'. + * Credential reference type. */ - type: "FileServerLocation"; + type: string; } /** - * File server read settings. + * Reference objects for custom activity */ - export interface FileServerReadSettingsResponse { + export interface CustomActivityReferenceObjectResponse { /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + * Dataset references. */ - deleteFilesAfterCompletion?: any; + datasets?: outputs.datafactory.DatasetReferenceResponse[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Linked service references. */ - disableMetricsCollection?: any; + linkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + } + + /** + * Custom activity type. + */ + export interface CustomActivityResponse { /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double). */ - enablePartitionDiscovery?: any; + autoUserSpecification?: any; /** - * Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). + * Command for custom activity Type: string (or Expression with resultType string). */ - fileFilter?: any; + command: any; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * Activity depends on condition. */ - fileListPath?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Activity description. */ - maxConcurrentConnections?: any; + description?: string; /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. */ - modifiedDatetimeEnd?: any; + extendedProperties?: {[key: string]: any}; /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * Folder path for resource files Type: string (or Expression with resultType string). */ - modifiedDatetimeStart?: any; + folderPath?: any; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Linked service reference. */ - partitionRootPath?: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Activity name. */ - recursive?: any; + name: string; /** - * The read setting type. - * Expected value is 'FileServerReadSettings'. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - type: "FileServerReadSettings"; + onInactiveMarkAs?: string; /** - * FileServer wildcardFileName. Type: string (or Expression with resultType string). + * Activity policy. */ - wildcardFileName?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * FileServer wildcardFolderPath. Type: string (or Expression with resultType string). + * Reference objects */ - wildcardFolderPath?: any; - } - - /** - * File server write settings. - */ - export interface FileServerWriteSettingsResponse { + referenceObjects?: outputs.datafactory.CustomActivityReferenceObjectResponse; /** - * The type of copy behavior for copy sink. + * Resource linked service reference. */ - copyBehavior?: any; + resourceLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). */ - disableMetricsCollection?: any; + retentionTimeInDays?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - maxConcurrentConnections?: any; + state?: string; /** - * The write setting type. - * Expected value is 'FileServerWriteSettings'. + * Type of activity. + * Expected value is 'Custom'. */ - type: "FileServerWriteSettings"; + type: "Custom"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * An on-premises file system dataset. + * Custom linked service. */ - export interface FileShareDatasetResponse { + export interface CustomDataSourceLinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The data compression method used for the file system. + * The integration runtime reference. */ - compression?: outputs.datafactory.DatasetCompressionResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Dataset description. + * Linked service description. */ description?: string; /** - * Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - fileFilter?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The name of the on-premises file system. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'CustomDataSource'. */ - fileName?: any; + type: "CustomDataSource"; + } + + /** + * The custom dataset. + */ + export interface CustomDatasetResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * List of tags that can be used for describing the Dataset. */ - folder?: outputs.datafactory.DatasetResponseFolder; + annotations?: any[]; /** - * The path of the on-premises file system. Type: string (or Expression with resultType string). + * Dataset description. */ - folderPath?: any; + description?: string; /** - * The format of the files. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; /** * Parameters for dataset. */ @@ -139012,183 +141293,204 @@ export namespace datafactory { structure?: any; /** * Type of dataset. - * Expected value is 'FileShare'. + * Expected value is 'CustomDataset'. */ - type: "FileShare"; + type: "CustomDataset"; } /** - * A copy activity file system sink. + * Trigger that runs every time a custom event is received. */ - export interface FileSystemSinkResponse { + export interface CustomEventsTriggerResponse { /** - * The type of copy behavior for copy sink. + * List of tags that can be used for describing the trigger. */ - copyBehavior?: any; + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Trigger description. */ - disableMetricsCollection?: any; + description?: string; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The list of event types that cause this trigger to fire. */ - maxConcurrentConnections?: any; + events: any[]; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Pipelines that need to be started. */ - sinkRetryCount?: any; + pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. */ - sinkRetryWait?: any; + runtimeState: string; /** - * Copy sink type. - * Expected value is 'FileSystemSink'. + * The ARM resource ID of the Azure Event Grid Topic. */ - type: "FileSystemSink"; + scope: string; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. */ - writeBatchSize?: any; + subjectBeginsWith?: string; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. */ - writeBatchTimeout?: any; + subjectEndsWith?: string; + /** + * Trigger type. + * Expected value is 'CustomEventsTrigger'. + */ + type: "CustomEventsTrigger"; } /** - * A copy activity file system source. + * Default value. */ - export interface FileSystemSourceResponse { + export interface DWCopyCommandDefaultValueResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Column name. Type: object (or Expression with resultType string). */ - additionalColumns?: any; + columnName?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The default value of the column. Type: object (or Expression with resultType string). */ - disableMetricsCollection?: any; + defaultValue?: any; + } + + /** + * DW Copy Command settings. + */ + export interface DWCopyCommandSettingsResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" } */ - maxConcurrentConnections?: any; + additionalOptions?: {[key: string]: string}; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). */ - recursive?: any; + defaultValues?: outputs.datafactory.DWCopyCommandDefaultValueResponse[]; + } + + /** + * Data flow reference type. + */ + export interface DataFlowReferenceResponse { /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Reference data flow parameters from dataset. */ - sourceRetryCount?: any; + datasetParameters?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Data flow parameters */ - sourceRetryWait?: any; + parameters?: {[key: string]: any}; /** - * Copy source type. - * Expected value is 'FileSystemSource'. + * Reference data flow name. */ - type: "FileSystemSource"; + referenceName: string; + /** + * Data flow reference type. + */ + type: string; } /** - * Filter and return results from input array based on the conditions. + * The folder that this data flow is in. If not specified, Data flow will appear at the root level. */ - export interface FilterActivityResponse { + export interface DataFlowResponseFolder { /** - * Condition to be used for filtering the input. + * The name of the folder that this data flow is in. */ - condition: outputs.datafactory.ExpressionResponse; + name?: string; + } + + /** + * Transformation for data flow sink. + */ + export interface DataFlowSinkResponse { /** - * Activity depends on condition. + * Dataset reference. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + dataset?: outputs.datafactory.DatasetReferenceResponse; /** - * Activity description. + * Transformation description. */ description?: string; /** - * Input array on which filter should be applied. - */ - items: outputs.datafactory.ExpressionResponse; - /** - * Activity name. + * Flowlet Reference */ - name: string; + flowlet?: outputs.datafactory.DataFlowReferenceResponse; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Linked service reference. */ - onInactiveMarkAs?: string; + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Transformation name. */ - state?: string; + name: string; /** - * Type of activity. - * Expected value is 'Filter'. + * Rejected data linked service reference. */ - type: "Filter"; + rejectedDataLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Activity user properties. + * Schema linked service reference. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; } /** - * Data flow flowlet + * Transformation for data flow source. */ - export interface FlowletResponse { + export interface DataFlowSourceResponse { /** - * List of tags that can be used for describing the data flow. + * Dataset reference. */ - annotations?: any[]; + dataset?: outputs.datafactory.DatasetReferenceResponse; /** - * The description of the data flow. + * Transformation description. */ description?: string; /** - * The folder that this data flow is in. If not specified, Data flow will appear at the root level. - */ - folder?: outputs.datafactory.DataFlowResponseFolder; - /** - * Flowlet script. + * Flowlet Reference */ - script?: string; + flowlet?: outputs.datafactory.DataFlowReferenceResponse; /** - * Flowlet script lines. + * Linked service reference. */ - scriptLines?: string[]; + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * List of sinks in Flowlet. + * Transformation name. */ - sinks?: outputs.datafactory.DataFlowSinkResponse[]; + name: string; /** - * List of sources in Flowlet. + * Schema linked service reference. */ - sources?: outputs.datafactory.DataFlowSourceResponse[]; + schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + } + + /** + * Staging info for execute data flow activity. + */ + export interface DataFlowStagingInfoResponse { /** - * List of transformations in Flowlet. + * Folder path for staging blob. Type: string (or Expression with resultType string) */ - transformations?: outputs.datafactory.TransformationResponse[]; + folderPath?: any; /** - * Type of data flow. - * Expected value is 'Flowlet'. + * Staging linked service reference. */ - type: "Flowlet"; + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; } /** - * This activity is used for iterating over a collection and execute given activities. + * Data Lake Analytics U-SQL activity. */ - export interface ForEachActivityResponse { + export interface DataLakeAnalyticsUSQLActivityResponse { /** - * List of activities to execute . + * Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). */ - activities: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + compilationMode?: any; /** - * Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). + * The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. */ - batchCount?: number; + degreeOfParallelism?: any; /** * Activity depends on condition. */ @@ -139198,13 +141500,9 @@ export namespace datafactory { */ description?: string; /** - * Should the loop be executed in sequence or in parallel (max 50) - */ - isSequential?: boolean; - /** - * Collection to iterate. + * Linked service reference. */ - items: outputs.datafactory.ExpressionResponse; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** * Activity name. */ @@ -139213,15 +141511,39 @@ export namespace datafactory { * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ onInactiveMarkAs?: string; + /** + * Parameters for U-SQL job request. + */ + parameters?: {[key: string]: any}; + /** + * Activity policy. + */ + policy?: outputs.datafactory.ActivityPolicyResponse; + /** + * Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. + */ + priority?: any; + /** + * Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). + */ + runtimeVersion?: any; + /** + * Script linked service reference. + */ + scriptLinkedService: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). + */ + scriptPath: any; /** * Activity state. This is an optional property and if not provided, the state will be Active by default. */ state?: string; /** * Type of activity. - * Expected value is 'ForEach'. + * Expected value is 'DataLakeAnalyticsU-SQL'. */ - type: "ForEach"; + type: "DataLakeAnalyticsU-SQL"; /** * Activity user properties. */ @@ -139229,146 +141551,145 @@ export namespace datafactory { } /** - * Ftp read settings. + * Source and target table mapping details. */ - export interface FtpReadSettingsResponse { + export interface DataMapperMappingResponse { /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + * This holds the user provided attribute mapping information. */ - deleteFilesAfterCompletion?: any; + attributeMappingInfo?: outputs.datafactory.MapperAttributeMappingsResponse; /** - * If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). + * The connection reference for the source connection. */ - disableChunking?: any; + sourceConnectionReference?: outputs.datafactory.MapperConnectionReferenceResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * This holds the source denormalization information used while joining multiple sources. */ - disableMetricsCollection?: any; + sourceDenormalizeInfo?: any; /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * Name of the source table */ - enablePartitionDiscovery?: any; + sourceEntityName?: string; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * Name of the target table */ - fileListPath?: any; + targetEntityName?: string; + } + + /** + * DatabricksNotebook activity. + */ + export interface DatabricksNotebookActivityResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. */ - maxConcurrentConnections?: any; + baseParameters?: {[key: string]: any}; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Activity depends on condition. */ - partitionRootPath?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Activity description. */ - recursive?: any; + description?: string; /** - * The read setting type. - * Expected value is 'FtpReadSettings'. + * A list of libraries to be installed on the cluster that will execute the job. */ - type: "FtpReadSettings"; + libraries?: {[key: string]: any}[]; /** - * Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType boolean). + * Linked service reference. */ - useBinaryTransfer?: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Ftp wildcardFileName. Type: string (or Expression with resultType string). + * Activity name. */ - wildcardFileName?: any; + name: string; /** - * Ftp wildcardFolderPath. Type: string (or Expression with resultType string). + * The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). */ - wildcardFolderPath?: any; - } - - /** - * A FTP server Linked Service. - */ - export interface FtpServerLinkedServiceResponse { + notebookPath: any; /** - * List of tags that can be used for describing the linked service. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - annotations?: any[]; + onInactiveMarkAs?: string; /** - * The authentication type to be used to connect to the FTP server. + * Activity policy. */ - authenticationType?: string; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * The integration runtime reference. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + state?: string; /** - * Linked service description. + * Type of activity. + * Expected value is 'DatabricksNotebook'. */ - description?: string; + type: "DatabricksNotebook"; /** - * If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + * Activity user properties. */ - enableServerCertificateValidation?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * DatabricksSparkJar activity. + */ + export interface DatabricksSparkJarActivityResponse { /** - * If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + * Activity depends on condition. */ - enableSsl?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Activity description. */ - encryptedCredential?: string; + description?: string; /** - * Host name of the FTP server. Type: string (or Expression with resultType string). + * A list of libraries to be installed on the cluster that will execute the job. */ - host: any; + libraries?: {[key: string]: any}[]; /** - * Parameters for linked service. + * Linked service reference. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Password to logon the FTP server. + * The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + mainClassName: any; /** - * The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. + * Activity name. */ - port?: any; + name: string; /** - * Type of linked service. - * Expected value is 'FtpServer'. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - type: "FtpServer"; + onInactiveMarkAs?: string; /** - * Username to logon the FTP server. Type: string (or Expression with resultType string). + * Parameters that will be passed to the main method. */ - userName?: any; - } - - /** - * The location of ftp server dataset. - */ - export interface FtpServerLocationResponse { + parameters?: any[]; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Activity policy. */ - fileName?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - folderPath?: any; + state?: string; /** - * Type of dataset storage location. - * Expected value is 'FtpServerLocation'. + * Type of activity. + * Expected value is 'DatabricksSparkJar'. */ - type: "FtpServerLocation"; + type: "DatabricksSparkJar"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Activity to get metadata of dataset + * DatabricksSparkPython activity. */ - export interface GetMetadataActivityResponse { - /** - * GetMetadata activity dataset reference. - */ - dataset: outputs.datafactory.DatasetReferenceResponse; + export interface DatabricksSparkPythonActivityResponse { /** * Activity depends on condition. */ @@ -139378,13 +141699,9 @@ export namespace datafactory { */ description?: string; /** - * Fields of metadata to get from dataset. - */ - fieldList?: any[]; - /** - * GetMetadata activity format settings. + * A list of libraries to be installed on the cluster that will execute the job. */ - formatSettings?: outputs.datafactory.BinaryReadSettingsResponse | outputs.datafactory.DelimitedTextReadSettingsResponse | outputs.datafactory.JsonReadSettingsResponse | outputs.datafactory.XmlReadSettingsResponse; + libraries?: {[key: string]: any}[]; /** * Linked service reference. */ @@ -139397,23 +141714,27 @@ export namespace datafactory { * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ onInactiveMarkAs?: string; + /** + * Command line parameters that will be passed to the Python file. + */ + parameters?: any[]; /** * Activity policy. */ policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). */ - state?: string; + pythonFile: any; /** - * GetMetadata activity store settings. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + state?: string; /** * Type of activity. - * Expected value is 'GetMetadata'. + * Expected value is 'DatabricksSparkPython'. */ - type: "GetMetadata"; + type: "DatabricksSparkPython"; /** * Activity user properties. */ @@ -139421,155 +141742,149 @@ export namespace datafactory { } /** - * Client secret information for factory's bring your own app repository configuration. + * The compression method used on a dataset. */ - export interface GitHubClientSecretResponse { + export interface DatasetCompressionResponse { /** - * Bring your own app client secret AKV URL. + * The dataset compression level. Type: string (or Expression with resultType string). */ - byoaSecretAkvUrl?: string; + level?: any; /** - * Bring your own app client secret name in AKV. + * Type of dataset compression. Type: string (or Expression with resultType string). */ - byoaSecretName?: string; + type: any; } /** - * Definition of a single parameter for an entity. + * Dataset reference type. */ - export interface GlobalParameterSpecificationResponse { + export interface DatasetReferenceResponse { /** - * Global Parameter type. + * Arguments for dataset. + */ + parameters?: {[key: string]: any}; + /** + * Reference dataset name. + */ + referenceName: string; + /** + * Dataset reference type. */ type: string; + } + + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + export interface DatasetResponseFolder { /** - * Value of parameter. + * The name of the folder that this Dataset is in. */ - value: any; + name?: string; } /** - * Google AdWords service linked service. + * Linked service for Dataworld. */ - export interface GoogleAdWordsLinkedServiceResponse { + export interface DataworldLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. - */ - authenticationType?: string; - /** - * The Client customer ID of the AdWords account that you want to fetch report data for. Type: string (or Expression with resultType string). - */ - clientCustomerID?: any; - /** - * The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). - */ - clientId?: any; - /** - * The client secret of the google application used to acquire the refresh token. + * The api token for the Dataworld source. */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object. - */ - connectionProperties?: any; /** * Linked service description. */ description?: string; - /** - * The developer token associated with the manager account that you use to grant access to the AdWords API. - */ - developerToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. Type: string (or Expression with resultType string). - */ - email?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). - */ - keyFilePath?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. - */ - refreshToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). - */ - trustedCertPath?: any; /** * Type of linked service. - * Expected value is 'GoogleAdWords'. - */ - type: "GoogleAdWords"; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). + * Expected value is 'Dataworld'. */ - useSystemTrustStore?: any; + type: "Dataworld"; } /** - * Google AdWords service dataset. + * Linked service for DB2 data source. */ - export interface GoogleAdWordsObjectDatasetResponse { + export interface Db2LinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Dataset description. + * AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. + */ + authenticationType?: string; + /** + * Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). + */ + certificateCommonName?: any; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). + */ + database?: any; + /** + * Linked service description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string. */ - folder?: outputs.datafactory.DatasetResponseFolder; + encryptedCredential?: string; /** - * Linked service reference. + * Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + packageCollection?: any; /** - * Parameters for dataset. + * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Password for authentication. */ - schema?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ - structure?: any; + server?: any; /** - * The table name. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'Db2'. */ - tableName?: any; + type: "Db2"; /** - * Type of dataset. - * Expected value is 'GoogleAdWordsObject'. + * Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ - type: "GoogleAdWordsObject"; + username?: any; } /** - * A copy activity Google AdWords service source. + * A copy activity source for Db2 databases. */ - export interface GoogleAdWordsSourceResponse { + export interface Db2SourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -139583,7 +141898,7 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Database query. Type: string (or Expression with resultType string). */ query?: any; /** @@ -139600,161 +141915,286 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'GoogleAdWordsSource'. + * Expected value is 'Db2Source'. */ - type: "GoogleAdWordsSource"; + type: "Db2Source"; } /** - * Google BigQuery service linked service. + * The Db2 table dataset. */ - export interface GoogleBigQueryLinkedServiceResponse { - /** - * A comma-separated list of public BigQuery projects to access. Type: string (or Expression with resultType string). - */ - additionalProjects?: any; + export interface Db2TableDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. - */ - authenticationType: string; - /** - * The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). - */ - clientId?: any; - /** - * The client secret of the google application used to acquire the refresh token. - */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. + * Dataset description. */ description?: string; /** - * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. Type: string (or Expression with resultType string). - */ - email?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - encryptedCredential?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). + * Linked service reference. */ - keyFilePath?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for linked service. + * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The default BigQuery project to query against. Type: string (or Expression with resultType string). - */ - project: any; - /** - * The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - refreshToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + schema?: any; /** - * Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - requestGoogleDriveScope?: any; + structure?: any; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). + * The Db2 table name. Type: string (or Expression with resultType string). */ - trustedCertPath?: any; + table?: any; /** - * Type of linked service. - * Expected value is 'GoogleBigQuery'. + * This property will be retired. Please consider using schema + table properties instead. */ - type: "GoogleBigQuery"; + tableName?: any; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). + * Type of dataset. + * Expected value is 'Db2Table'. */ - useSystemTrustStore?: any; + type: "Db2Table"; } /** - * Google BigQuery service dataset. + * Delete activity. */ - export interface GoogleBigQueryObjectDatasetResponse { + export interface DeleteActivityResponse { /** - * List of tags that can be used for describing the Dataset. + * Delete activity dataset reference. */ - annotations?: any[]; + dataset: outputs.datafactory.DatasetReferenceResponse; /** - * The database name of the Google BigQuery. Type: string (or Expression with resultType string). + * Activity depends on condition. */ - dataset?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Dataset description. + * Activity description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + enableLogging?: any; /** * Linked service reference. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for dataset. + * Log storage settings customer need to provide when enableLogging is true. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + logStorageSettings?: outputs.datafactory.LogStorageSettingsResponse; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The max concurrent connections to connect data source at the same time. */ - schema?: any; + maxConcurrentConnections?: number; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Activity name. */ - structure?: any; + name: string; /** - * The table name of the Google BigQuery. Type: string (or Expression with resultType string). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - table?: any; + onInactiveMarkAs?: string; /** - * This property will be retired. Please consider using database + table properties instead. + * Activity policy. */ - tableName?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; + /** + * If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). + */ + recursive?: any; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Delete activity store settings. + */ + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + /** + * Type of activity. + * Expected value is 'Delete'. + */ + type: "Delete"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Delimited text dataset. + */ + export interface DelimitedTextDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * The column delimiter. Type: string (or Expression with resultType string). + */ + columnDelimiter?: any; + /** + * The data compressionCodec. Type: string (or Expression with resultType string). + */ + compressionCodec?: any; + /** + * The data compression method used for DelimitedText. + */ + compressionLevel?: any; + /** + * Dataset description. + */ + description?: string; + /** + * The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + */ + encodingName?: any; + /** + * The escape character. Type: string (or Expression with resultType string). + */ + escapeChar?: any; + /** + * When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). + */ + firstRowAsHeader?: any; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The location of the delimited text storage. + */ + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + /** + * The null value string. Type: string (or Expression with resultType string). + */ + nullValue?: any; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The quote character. Type: string (or Expression with resultType string). + */ + quoteChar?: any; + /** + * The row delimiter. Type: string (or Expression with resultType string). + */ + rowDelimiter?: any; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; /** * Type of dataset. - * Expected value is 'GoogleBigQueryObject'. + * Expected value is 'DelimitedText'. */ - type: "GoogleBigQueryObject"; + type: "DelimitedText"; } /** - * A copy activity Google BigQuery service source. + * Delimited text read settings. */ - export interface GoogleBigQuerySourceResponse { + export interface DelimitedTextReadSettingsResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Compression settings. */ - additionalColumns?: any; + compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; + /** + * Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). + */ + skipLineCount?: any; + /** + * The read setting type. + * Expected value is 'DelimitedTextReadSettings'. + */ + type: "DelimitedTextReadSettings"; + } + + /** + * A copy activity DelimitedText sink. + */ + export interface DelimitedTextSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * DelimitedText format settings. + */ + formatSettings?: outputs.datafactory.DelimitedTextWriteSettingsResponse; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - query?: any; + sinkRetryCount?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - queryTimeout?: any; + sinkRetryWait?: any; + /** + * DelimitedText store settings. + */ + storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; + /** + * Copy sink type. + * Expected value is 'DelimitedTextSink'. + */ + type: "DelimitedTextSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + } + + /** + * A copy activity DelimitedText source. + */ + export interface DelimitedTextSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * DelimitedText format settings. + */ + formatSettings?: outputs.datafactory.DelimitedTextReadSettingsResponse; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -139763,181 +142203,195 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; + /** + * DelimitedText store settings. + */ + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** * Copy source type. - * Expected value is 'GoogleBigQuerySource'. + * Expected value is 'DelimitedTextSource'. */ - type: "GoogleBigQuerySource"; + type: "DelimitedTextSource"; } /** - * Linked service for Google Cloud Storage. + * Delimited text write settings. */ - export interface GoogleCloudStorageLinkedServiceResponse { - /** - * The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; + export interface DelimitedTextWriteSettingsResponse { /** - * List of tags that can be used for describing the linked service. + * The file extension used to create the files. Type: string (or Expression with resultType string). */ - annotations?: any[]; + fileExtension: any; /** - * The integration runtime reference. + * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + fileNamePrefix?: any; /** - * Linked service description. + * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ - description?: string; + maxRowsPerFile?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). */ - encryptedCredential?: string; + quoteAllText?: any; /** - * Parameters for linked service. + * The write setting type. + * Expected value is 'DelimitedTextWriteSettings'. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + type: "DelimitedTextWriteSettings"; + } + + /** + * Distcp settings. + */ + export interface DistcpSettingsResponse { /** - * The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. + * Specifies the Distcp options. Type: string (or Expression with resultType string). */ - secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + distcpOptions?: any; /** - * This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). + * Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string). */ - serviceUrl?: any; + resourceManagerEndpoint: any; /** - * Type of linked service. - * Expected value is 'GoogleCloudStorage'. + * Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string). */ - type: "GoogleCloudStorage"; + tempScriptPath: any; } /** - * The location of Google Cloud Storage dataset. + * Microsoft Azure Document Database Collection dataset. */ - export interface GoogleCloudStorageLocationResponse { + export interface DocumentDbCollectionDatasetResponse { /** - * Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string) + * List of tags that can be used for describing the Dataset. */ - bucketName?: any; + annotations?: any[]; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Document Database collection name. Type: string (or Expression with resultType string). */ - fileName?: any; + collectionName: any; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Dataset description. */ - folderPath?: any; + description?: string; /** - * Type of dataset storage location. - * Expected value is 'GoogleCloudStorageLocation'. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - type: "GoogleCloudStorageLocation"; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Specify the version of Google Cloud Storage. Type: string (or Expression with resultType string). + * Linked service reference. */ - version?: any; - } - - /** - * Google Cloud Storage read settings. - */ - export interface GoogleCloudStorageReadSettingsResponse { + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + * Parameters for dataset. */ - deleteFilesAfterCompletion?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - disableMetricsCollection?: any; + schema?: any; /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - enablePartitionDiscovery?: any; + structure?: any; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'DocumentDbCollection'. */ - fileListPath?: any; + type: "DocumentDbCollection"; + } + + /** + * A copy activity Document Database Collection sink. + */ + export interface DocumentDbCollectionSinkResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - maxConcurrentConnections?: any; + disableMetricsCollection?: any; /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - modifiedDatetimeEnd?: any; + maxConcurrentConnections?: any; /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). */ - modifiedDatetimeStart?: any; + nestingSeparator?: any; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - partitionRootPath?: any; + sinkRetryCount?: any; /** - * The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string). + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - prefix?: any; + sinkRetryWait?: any; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Copy sink type. + * Expected value is 'DocumentDbCollectionSink'. */ - recursive?: any; + type: "DocumentDbCollectionSink"; /** - * The read setting type. - * Expected value is 'GoogleCloudStorageReadSettings'. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - type: "GoogleCloudStorageReadSettings"; + writeBatchSize?: any; /** - * Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - wildcardFileName?: any; + writeBatchTimeout?: any; /** - * Google Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). + * Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. */ - wildcardFolderPath?: any; + writeBehavior?: any; } /** - * Linked service for GoogleSheets. + * A copy activity Document Database Collection source. */ - export interface GoogleSheetsLinkedServiceResponse { + export interface DocumentDbCollectionSourceResponse { /** - * List of tags that can be used for describing the linked service. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - annotations?: any[]; + additionalColumns?: any; /** - * The api token for the GoogleSheets source. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + disableMetricsCollection?: any; /** - * The integration runtime reference. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + maxConcurrentConnections?: any; /** - * Linked service description. + * Nested properties separator. Type: string (or Expression with resultType string). */ - description?: string; + nestingSeparator?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Documents query. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + query?: any; /** - * Parameters for linked service. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + queryTimeout?: any; /** - * Type of linked service. - * Expected value is 'GoogleSheets'. + * Source retry count. Type: integer (or Expression with resultType integer). */ - type: "GoogleSheets"; + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'DocumentDbCollectionSource'. + */ + type: "DocumentDbCollectionSource"; } /** - * Greenplum Database linked service. + * Drill server linked service. */ - export interface GreenplumLinkedServiceResponse { + export interface DrillLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ @@ -139968,15 +142422,15 @@ export namespace datafactory { pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * Type of linked service. - * Expected value is 'Greenplum'. + * Expected value is 'Drill'. */ - type: "Greenplum"; + type: "Drill"; } /** - * A copy activity Greenplum Database source. + * A copy activity Drill server source. */ - export interface GreenplumSourceResponse { + export interface DrillSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -140007,15 +142461,15 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'GreenplumSource'. + * Expected value is 'DrillSource'. */ - type: "GreenplumSource"; + type: "DrillSource"; } /** - * Greenplum Database dataset. + * Drill server dataset. */ - export interface GreenplumTableDatasetResponse { + export interface DrillTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -140045,7 +142499,7 @@ export namespace datafactory { */ structure?: any; /** - * The table name of Greenplum. Type: string (or Expression with resultType string). + * The table name of the Drill. Type: string (or Expression with resultType string). */ table?: any; /** @@ -140054,31 +142508,23 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'GreenplumTable'. + * Expected value is 'DrillTable'. */ - type: "GreenplumTable"; + type: "DrillTable"; } /** - * HBase server linked service. + * Dynamics AX linked service. */ - export interface HBaseLinkedServiceResponse { - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; + export interface DynamicsAXLinkedServiceResponse { /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. + * Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). */ - allowSelfSignedServerCert?: any; + aadResourceId: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The authentication mechanism to use to connect to the HBase server. - */ - authenticationType: string; /** * The integration runtime reference. */ @@ -140087,53 +142533,41 @@ export namespace datafactory { * Linked service description. */ description?: string; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. - */ - enableSsl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * The IP address or host name of the HBase server. (i.e. 192.168.222.160) - */ - host: any; - /** - * The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) - */ - httpPath?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name. + * Specify the application's client ID. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + servicePrincipalId: any; /** - * The TCP port that the HBase instance uses to listen for client connections. The default value is 9090. + * Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). */ - port?: any; + servicePrincipalKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + * Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). */ - trustedCertPath?: any; + tenant: any; /** * Type of linked service. - * Expected value is 'HBase'. + * Expected value is 'DynamicsAX'. */ - type: "HBase"; + type: "DynamicsAX"; /** - * The user name used to connect to the HBase instance. + * The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. */ - username?: any; + url: any; } /** - * HBase server dataset. + * The path of the Dynamics AX OData entity. */ - export interface HBaseObjectDatasetResponse { + export interface DynamicsAXResourceDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -140154,6 +142588,10 @@ export namespace datafactory { * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). + */ + path: any; /** * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ @@ -140162,21 +142600,17 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'HBaseObject'. + * Expected value is 'DynamicsAXResource'. */ - type: "HBaseObject"; + type: "DynamicsAXResource"; } /** - * A copy activity HBase server source. + * A copy activity Dynamics AX source. */ - export interface HBaseSourceResponse { + export interface DynamicsAXSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -140185,6 +142619,10 @@ export namespace datafactory { * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ @@ -140207,102 +142645,74 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'HBaseSource'. + * Expected value is 'DynamicsAXSource'. */ - type: "HBaseSource"; + type: "DynamicsAXSource"; } /** - * HDInsight Hive activity type. + * The Dynamics CRM entity dataset. */ - export interface HDInsightHiveActivityResponse { - /** - * User specified arguments to HDInsightActivity. - */ - arguments?: any[]; - /** - * Allows user to specify defines for Hive job request. - */ - defines?: {[key: string]: any}; + export interface DynamicsCrmEntityDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Dataset description. */ description?: string; /** - * Debug info option. - */ - getDebugInfo?: string; - /** - * Linked service reference. - */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Activity name. - */ - name: string; - /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. - */ - onInactiveMarkAs?: string; - /** - * Activity policy. - */ - policy?: outputs.datafactory.ActivityPolicyResponse; - /** - * Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package) - */ - queryTimeout?: number; - /** - * Script linked service reference. + * The logical name of the entity. Type: string (or Expression with resultType string). */ - scriptLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + entityName?: any; /** - * Script path. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - scriptPath?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Linked service reference. */ - state?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Storage linked service references. + * Parameters for dataset. */ - storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of activity. - * Expected value is 'HDInsightHive'. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - type: "HDInsightHive"; + schema?: any; /** - * Activity user properties. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + structure?: any; /** - * User specified arguments under hivevar namespace. + * Type of dataset. + * Expected value is 'DynamicsCrmEntity'. */ - variables?: {[key: string]: any}; + type: "DynamicsCrmEntity"; } /** - * HDInsight linked service. + * Dynamics CRM linked service. */ - export interface HDInsightLinkedServiceResponse { + export interface DynamicsCrmLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * HDInsight cluster URI. Type: string (or Expression with resultType string). + * The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ - clusterUri: any; + authenticationType: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string). + */ + deploymentType: any; /** * Linked service description. */ @@ -140312,175 +142722,201 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). + * The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ - fileSystem?: any; + hostName?: any; /** - * A reference to the Azure SQL linked service that points to the HCatalog database. + * The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string). */ - hcatalogLinkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + organizationName?: any; /** - * Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. + * Parameters for linked service. */ - isEspEnabled?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The Azure Storage linked service reference. + * Password to access the Dynamics CRM instance. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Parameters for linked service. + * The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + port?: any; /** - * HDInsight cluster password. + * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). + */ + servicePrincipalCredentialType?: any; + /** + * The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + */ + serviceUri?: any; /** * Type of linked service. - * Expected value is 'HDInsight'. + * Expected value is 'DynamicsCrm'. */ - type: "HDInsight"; + type: "DynamicsCrm"; /** - * HDInsight cluster user name. Type: string (or Expression with resultType string). + * User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). */ - userName?: any; + username?: any; } /** - * HDInsight MapReduce activity type. + * A copy activity Dynamics CRM sink. */ - export interface HDInsightMapReduceActivityResponse { + export interface DynamicsCrmSinkResponse { /** - * User specified arguments to HDInsightActivity. + * The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ - arguments?: any[]; + alternateKeyName?: any; /** - * Class name. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - className: any; + disableMetricsCollection?: any; /** - * Allows user to specify defines for the MapReduce job request. + * The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). */ - defines?: {[key: string]: any}; + ignoreNullValues?: any; /** - * Activity depends on condition. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + maxConcurrentConnections?: any; /** - * Activity description. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - description?: string; + sinkRetryCount?: any; /** - * Debug info option. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - getDebugInfo?: string; + sinkRetryWait?: any; /** - * Jar path. Type: string (or Expression with resultType string). + * Copy sink type. + * Expected value is 'DynamicsCrmSink'. */ - jarFilePath: any; + type: "DynamicsCrmSink"; /** - * Jar libs. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - jarLibs?: any[]; + writeBatchSize?: any; /** - * Jar linked service reference. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - jarLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + writeBatchTimeout?: any; /** - * Linked service reference. + * The write behavior for the operation. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + writeBehavior: string; + } + + /** + * A copy activity Dynamics CRM source. + */ + export interface DynamicsCrmSourceResponse { /** - * Activity name. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - name: string; + additionalColumns?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - onInactiveMarkAs?: string; + disableMetricsCollection?: any; /** - * Activity policy. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + maxConcurrentConnections?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). */ - state?: string; + query?: any; /** - * Storage linked service references. + * Source retry count. Type: integer (or Expression with resultType integer). */ - storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + sourceRetryCount?: any; /** - * Type of activity. - * Expected value is 'HDInsightMapReduce'. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "HDInsightMapReduce"; + sourceRetryWait?: any; /** - * Activity user properties. + * Copy source type. + * Expected value is 'DynamicsCrmSource'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "DynamicsCrmSource"; } /** - * HDInsight ondemand linked service. + * The Dynamics entity dataset. */ - export interface HDInsightOnDemandLinkedServiceResponse { + export interface DynamicsEntityDatasetResponse { /** - * Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. + * List of tags that can be used for describing the Dataset. */ - additionalLinkedServiceNames?: outputs.datafactory.LinkedServiceReferenceResponse[]; + annotations?: any[]; /** - * List of tags that can be used for describing the linked service. + * Dataset description. */ - annotations?: any[]; + description?: string; /** - * The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). + * The logical name of the entity. Type: string (or Expression with resultType string). */ - clusterNamePrefix?: any; + entityName?: any; /** - * The password to access the cluster. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - clusterPassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The resource group where the cluster belongs. Type: string (or Expression with resultType string). + * Linked service reference. */ - clusterResourceGroup: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). + * Parameters for dataset. */ - clusterSize: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password to SSH remotely connect cluster’s node (for Linux). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - clusterSshPassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + schema?: any; /** - * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - clusterSshUserName?: any; + structure?: any; /** - * The cluster type. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'DynamicsEntity'. */ - clusterType?: any; + type: "DynamicsEntity"; + } + + /** + * Dynamics linked service. + */ + export interface DynamicsLinkedServiceResponse { /** - * The username to access the cluster. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - clusterUserName?: any; + annotations?: any[]; /** - * The integration runtime reference. + * The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + authenticationType: any; /** - * Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created. + * The integration runtime reference. */ - coreConfiguration?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** * The credential reference containing authentication information. */ credential?: outputs.datafactory.CredentialReferenceResponse; /** - * Specifies the size of the data node for the HDInsight cluster. + * The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string). */ - dataNodeSize?: any; + deploymentType: any; /** * Linked service description. */ @@ -140490,478 +142926,409 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. - */ - hBaseConfiguration?: any; - /** - * The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. - */ - hcatalogLinkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. + * The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ - hdfsConfiguration?: any; + hostName?: any; /** - * Specifies the size of the head node for the HDInsight cluster. + * The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). */ - headNodeSize?: any; + organizationName?: any; /** - * Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. + * Parameters for linked service. */ - hiveConfiguration?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). + * Password to access the Dynamics instance. */ - hostSubscriptionId: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Azure Storage linked service to be used by the on-demand cluster for storing and processing data. + * The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + port?: any; /** - * Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. + * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ - mapReduceConfiguration?: any; + servicePrincipalCredential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. + * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ - oozieConfiguration?: any; + servicePrincipalCredentialType?: any; /** - * Parameters for linked service. + * The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + servicePrincipalId?: any; /** - * Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. + * The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). */ - scriptActions?: outputs.datafactory.ScriptActionResponse[]; + serviceUri?: any; /** - * The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'Dynamics'. */ - servicePrincipalId?: any; + type: "Dynamics"; /** - * The key for the service principal id. + * User name to access the Dynamics instance. Type: string (or Expression with resultType string). */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + username?: any; + } + + /** + * A copy activity Dynamics sink. + */ + export interface DynamicsSinkResponse { /** - * The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string). + * The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ - sparkVersion?: any; + alternateKeyName?: any; /** - * Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - stormConfiguration?: any; + disableMetricsCollection?: any; /** - * The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). + * The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). */ - subnetName?: any; + ignoreNullValues?: any; /** - * The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - tenant: any; + maxConcurrentConnections?: any; /** - * The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - timeToLive: any; + sinkRetryCount?: any; /** - * Type of linked service. - * Expected value is 'HDInsightOnDemand'. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "HDInsightOnDemand"; + sinkRetryWait?: any; /** - * Version of the HDInsight cluster.  Type: string (or Expression with resultType string). + * Copy sink type. + * Expected value is 'DynamicsSink'. */ - version: any; + type: "DynamicsSink"; /** - * The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - virtualNetworkId?: any; + writeBatchSize?: any; /** - * Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - yarnConfiguration?: any; + writeBatchTimeout?: any; /** - * Specifies the size of the Zoo Keeper node for the HDInsight cluster. + * The write behavior for the operation. */ - zookeeperNodeSize?: any; + writeBehavior: string; } /** - * HDInsight Pig activity type. + * A copy activity Dynamics source. */ - export interface HDInsightPigActivityResponse { + export interface DynamicsSourceResponse { /** - * User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - arguments?: any; + additionalColumns?: any; /** - * Allows user to specify defines for Pig job request. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - defines?: {[key: string]: any}; + disableMetricsCollection?: any; /** - * Activity depends on condition. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + maxConcurrentConnections?: any; /** - * Activity description. + * FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). */ - description?: string; + query?: any; /** - * Debug info option. + * Source retry count. Type: integer (or Expression with resultType integer). */ - getDebugInfo?: string; + sourceRetryCount?: any; /** - * Linked service reference. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + sourceRetryWait?: any; /** - * Activity name. + * Copy source type. + * Expected value is 'DynamicsSource'. */ - name: string; + type: "DynamicsSource"; + } + + /** + * Eloqua server linked service. + */ + export interface EloquaLinkedServiceResponse { /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * List of tags that can be used for describing the linked service. */ - onInactiveMarkAs?: string; + annotations?: any[]; /** - * Activity policy. + * The integration runtime reference. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Script linked service reference. + * Linked service description. */ - scriptLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * Script path. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - scriptPath?: any; + encryptedCredential?: string; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The endpoint of the Eloqua server. (i.e. eloqua.example.com) */ - state?: string; + endpoint: any; /** - * Storage linked service references. + * Parameters for linked service. */ - storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of activity. - * Expected value is 'HDInsightPig'. + * The password corresponding to the user name. */ - type: "HDInsightPig"; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity user properties. + * Type of linked service. + * Expected value is 'Eloqua'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "Eloqua"; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; + /** + * The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice) + */ + username: any; } /** - * HDInsight Spark activity. + * Eloqua server dataset. */ - export interface HDInsightSparkActivityResponse { + export interface EloquaObjectDatasetResponse { /** - * The user-specified arguments to HDInsightSparkActivity. + * List of tags that can be used for describing the Dataset. */ - arguments?: any[]; + annotations?: any[]; /** - * The application's Java/Spark main class. + * Dataset description. */ - className?: string; + description?: string; /** - * Activity depends on condition. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Activity description. + * Linked service reference. */ - description?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string). + * Parameters for dataset. */ - entryFilePath: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Debug info option. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - getDebugInfo?: string; + schema?: any; /** - * Linked service reference. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + structure?: any; /** - * Activity name. + * The table name. Type: string (or Expression with resultType string). */ - name: string; + tableName?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Type of dataset. + * Expected value is 'EloquaObject'. */ - onInactiveMarkAs?: string; + type: "EloquaObject"; + } + + /** + * A copy activity Eloqua server source. + */ + export interface EloquaSourceResponse { /** - * Activity policy. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + additionalColumns?: any; /** - * The user to impersonate that will execute the job. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - proxyUser?: any; + disableMetricsCollection?: any; /** - * The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - rootPath: any; + maxConcurrentConnections?: any; /** - * Spark configuration property. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - sparkConfig?: {[key: string]: any}; + query?: any; /** - * The storage linked service for uploading the entry file and dependencies, and for receiving logs. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - sparkJobLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + queryTimeout?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Source retry count. Type: integer (or Expression with resultType integer). */ - state?: string; + sourceRetryCount?: any; /** - * Type of activity. - * Expected value is 'HDInsightSpark'. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "HDInsightSpark"; + sourceRetryWait?: any; /** - * Activity user properties. + * Copy source type. + * Expected value is 'EloquaSource'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "EloquaSource"; } /** - * HDInsight streaming activity type. + * Definition of CMK for the factory. */ - export interface HDInsightStreamingActivityResponse { + export interface EncryptionConfigurationResponse { /** - * User specified arguments to HDInsightActivity. + * User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used. */ - arguments?: any[]; + identity?: outputs.datafactory.CMKIdentityDefinitionResponse; /** - * Combiner executable name. Type: string (or Expression with resultType string). - */ - combiner?: any; - /** - * Command line environment values. - */ - commandEnvironment?: any[]; - /** - * Allows user to specify defines for streaming job request. - */ - defines?: {[key: string]: any}; - /** - * Activity depends on condition. - */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; - /** - * Activity description. - */ - description?: string; - /** - * Linked service reference where the files are located. - */ - fileLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Paths to streaming job files. Can be directories. - */ - filePaths: any[]; - /** - * Debug info option. - */ - getDebugInfo?: string; - /** - * Input blob path. Type: string (or Expression with resultType string). - */ - input: any; - /** - * Linked service reference. - */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Mapper executable name. Type: string (or Expression with resultType string). - */ - mapper: any; - /** - * Activity name. - */ - name: string; - /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. - */ - onInactiveMarkAs?: string; - /** - * Output blob path. Type: string (or Expression with resultType string). - */ - output: any; - /** - * Activity policy. - */ - policy?: outputs.datafactory.ActivityPolicyResponse; - /** - * Reducer executable name. Type: string (or Expression with resultType string). - */ - reducer: any; - /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. - */ - state?: string; - /** - * Storage linked service references. + * The name of the key in Azure Key Vault to use as Customer Managed Key. */ - storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + keyName: string; /** - * Type of activity. - * Expected value is 'HDInsightStreaming'. + * The version of the key used for CMK. If not provided, latest version will be used. */ - type: "HDInsightStreaming"; + keyVersion?: string; /** - * Activity user properties. + * The url of the Azure Key Vault used for CMK. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + vaultBaseUrl: string; } /** - * Hadoop Distributed File System (HDFS) linked service. + * The entity reference. */ - export interface HdfsLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Password for Windows authentication. - */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Type of linked service. - * Expected value is 'Hdfs'. - */ - type: "Hdfs"; + export interface EntityReferenceResponse { /** - * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string). + * The name of this referenced entity. */ - url: any; + referenceName?: string; /** - * User name for Windows authentication. Type: string (or Expression with resultType string). + * The type of this referenced entity. */ - userName?: any; + type?: string; } /** - * The location of HDFS. + * The custom setup of setting environment variable. */ - export interface HdfsLocationResponse { + export interface EnvironmentVariableSetupResponse { /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * The type of custom setup. + * Expected value is 'EnvironmentVariableSetup'. */ - fileName?: any; + type: "EnvironmentVariableSetup"; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * The name of the environment variable. */ - folderPath?: any; + variableName: string; /** - * Type of dataset storage location. - * Expected value is 'HdfsLocation'. + * The value of the environment variable. */ - type: "HdfsLocation"; + variableValue: string; } /** - * HDFS read settings. + * Excel dataset. */ - export interface HdfsReadSettingsResponse { + export interface ExcelDatasetResponse { /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - deleteFilesAfterCompletion?: any; + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The data compression method used for the json dataset. */ - disableMetricsCollection?: any; + compression?: outputs.datafactory.DatasetCompressionResponse; /** - * Specifies Distcp-related settings. + * Dataset description. */ - distcpSettings?: outputs.datafactory.DistcpSettingsResponse; + description?: string; /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). */ - enablePartitionDiscovery?: any; + firstRowAsHeader?: any; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - fileListPath?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Linked service reference. */ - maxConcurrentConnections?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * The location of the excel storage. */ - modifiedDatetimeEnd?: any; + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * The null value string. Type: string (or Expression with resultType string). */ - modifiedDatetimeStart?: any; + nullValue?: any; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Parameters for dataset. */ - partitionRootPath?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * The partial data of one sheet. Type: string (or Expression with resultType string). */ - recursive?: any; + range?: any; /** - * The read setting type. - * Expected value is 'HdfsReadSettings'. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - type: "HdfsReadSettings"; + schema?: any; /** - * HDFS wildcardFileName. Type: string (or Expression with resultType string). + * The sheet index of excel file and default value is 0. Type: integer (or Expression with resultType integer) */ - wildcardFileName?: any; + sheetIndex?: any; /** - * HDFS wildcardFolderPath. Type: string (or Expression with resultType string). + * The sheet name of excel file. Type: string (or Expression with resultType string). */ - wildcardFolderPath?: any; + sheetName?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'Excel'. + */ + type: "Excel"; } /** - * A copy activity HDFS source. + * A copy activity excel source. */ - export interface HdfsSourceResponse { + export interface ExcelSourceResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - disableMetricsCollection?: any; + additionalColumns?: any; /** - * Specifies Distcp-related settings. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - distcpSettings?: outputs.datafactory.DistcpSettingsResponse; + disableMetricsCollection?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - */ - recursive?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -140970,560 +143337,510 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; + /** + * Excel store settings. + */ + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** * Copy source type. - * Expected value is 'HdfsSource'. + * Expected value is 'ExcelSource'. */ - type: "HdfsSource"; + type: "ExcelSource"; } /** - * Hive Server linked service. + * Execute data flow activity. */ - export interface HiveLinkedServiceResponse { - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; + export interface ExecuteDataFlowActivityResponse { /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. + * Compute properties for data flow activity. */ - allowSelfSignedServerCert?: any; + compute?: outputs.datafactory.ExecuteDataFlowActivityTypePropertiesResponseCompute; /** - * List of tags that can be used for describing the linked service. + * Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) */ - annotations?: any[]; + continueOnError?: any; /** - * The authentication method used to access the Hive server. + * Data flow reference. */ - authenticationType: string; + dataFlow: outputs.datafactory.DataFlowReferenceResponse; /** - * The integration runtime reference. + * Activity depends on condition. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Linked service description. + * Activity description. */ description?: string; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. - */ - enableSsl?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The integration runtime reference. */ - encryptedCredential?: string; + integrationRuntime?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable). + * Linked service reference. */ - host: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The partial URL corresponding to the Hive server. + * Activity name. */ - httpPath?: any; + name: string; /** - * Parameters for linked service. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + onInactiveMarkAs?: string; /** - * The password corresponding to the user name that you provided in the Username field + * Activity policy. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * The TCP port that the Hive server uses to listen for client connections. + * Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) */ - port?: any; + runConcurrently?: any; /** - * The type of Hive server. + * Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer) */ - serverType?: string; + sourceStagingConcurrency?: any; /** - * true to indicate using the ZooKeeper service, false not. + * Staging info for execute data flow activity. */ - serviceDiscoveryMode?: any; + staging?: outputs.datafactory.DataFlowStagingInfoResponse; /** - * The transport protocol to use in the Thrift layer. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - thriftTransportProtocol?: string; + state?: string; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + * Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ - trustedCertPath?: any; + traceLevel?: any; /** - * Type of linked service. - * Expected value is 'Hive'. + * Type of activity. + * Expected value is 'ExecuteDataFlow'. */ - type: "Hive"; + type: "ExecuteDataFlow"; /** - * Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL. + * Activity user properties. */ - useNativeQuery?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Compute properties for data flow activity. + */ + export interface ExecuteDataFlowActivityTypePropertiesResponseCompute { /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + * Compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType string) */ - useSystemTrustStore?: any; + computeType?: any; /** - * The user name that you use to access Hive Server. + * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or Expression with resultType integer) */ - username?: any; + coreCount?: any; + } + + /** + * Execution policy for an execute pipeline activity. + */ + export interface ExecutePipelineActivityPolicyResponse { /** - * The namespace on ZooKeeper under which Hive Server 2 nodes are added. + * When set to true, Input from activity is considered as secure and will not be logged to monitoring. */ - zooKeeperNameSpace?: any; + secureInput?: boolean; } /** - * Hive Server dataset. + * Execute pipeline activity. */ - export interface HiveObjectDatasetResponse { + export interface ExecutePipelineActivityResponse { /** - * List of tags that can be used for describing the Dataset. + * Activity depends on condition. */ - annotations?: any[]; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Dataset description. + * Activity description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Activity name. */ - folder?: outputs.datafactory.DatasetResponseFolder; + name: string; /** - * Linked service reference. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + onInactiveMarkAs?: string; /** - * Parameters for dataset. + * Pipeline parameters. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + parameters?: {[key: string]: any}; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Pipeline reference. */ - schema?: any; + pipeline: outputs.datafactory.PipelineReferenceResponse; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Execute pipeline activity policy. */ - structure?: any; + policy?: outputs.datafactory.ExecutePipelineActivityPolicyResponse; /** - * The table name of the Hive. Type: string (or Expression with resultType string). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - table?: any; + state?: string; /** - * This property will be retired. Please consider using schema + table properties instead. + * Type of activity. + * Expected value is 'ExecutePipeline'. */ - tableName?: any; + type: "ExecutePipeline"; /** - * Type of dataset. - * Expected value is 'HiveObject'. + * Activity user properties. */ - type: "HiveObject"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + /** + * Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. + */ + waitOnCompletion?: boolean; } /** - * A copy activity Hive Server source. + * Execute SSIS package activity. */ - export interface HiveSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface ExecuteSSISPackageActivityResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The integration runtime reference. */ - disableMetricsCollection?: any; + connectVia: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Activity depends on condition. */ - maxConcurrentConnections?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Activity description. */ - query?: any; + description?: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The environment path to execute the SSIS package. Type: string (or Expression with resultType string). */ - queryTimeout?: any; + environmentPath?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The package execution credential. */ - sourceRetryCount?: any; + executionCredential?: outputs.datafactory.SSISExecutionCredentialResponse; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service reference. */ - sourceRetryWait?: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Copy source type. - * Expected value is 'HiveSource'. + * SSIS package execution log location. */ - type: "HiveSource"; - } - - /** - * A file in an HTTP web server. - */ - export interface HttpDatasetResponse { + logLocation?: outputs.datafactory.SSISLogLocationResponse; /** - * The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 - * ... - * request-header-name-n:request-header-value-n Type: string (or Expression with resultType string). + * The logging level of SSIS package execution. Type: string (or Expression with resultType string). */ - additionalHeaders?: any; + loggingLevel?: any; /** - * List of tags that can be used for describing the Dataset. + * Activity name. */ - annotations?: any[]; + name: string; /** - * The data compression method used on files. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - compression?: outputs.datafactory.DatasetCompressionResponse; + onInactiveMarkAs?: string; /** - * Dataset description. + * The package level connection managers to execute the SSIS package. */ - description?: string; + packageConnectionManagers?: {[key: string]: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}}; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * SSIS package location. */ - folder?: outputs.datafactory.DatasetResponseFolder; + packageLocation: outputs.datafactory.SSISPackageLocationResponse; /** - * The format of files. + * The package level parameters to execute the SSIS package. */ - format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; + packageParameters?: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}; /** - * Linked service reference. + * Activity policy. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Parameters for dataset. + * The project level connection managers to execute the SSIS package. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + projectConnectionManagers?: {[key: string]: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}}; /** - * The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). + * The project level parameters to execute the SSIS package. */ - relativeUrl?: any; + projectParameters?: {[key: string]: outputs.datafactory.SSISExecutionParameterResponse}; /** - * The body for the HTTP request. Type: string (or Expression with resultType string). + * The property overrides to execute the SSIS package. */ - requestBody?: any; + propertyOverrides?: {[key: string]: outputs.datafactory.SSISPropertyOverrideResponse}; /** - * The HTTP method for the HTTP request. Type: string (or Expression with resultType string). + * Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). */ - requestMethod?: any; + runtime?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - schema?: any; + state?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Type of activity. + * Expected value is 'ExecuteSSISPackage'. */ - structure?: any; + type: "ExecuteSSISPackage"; /** - * Type of dataset. - * Expected value is 'HttpFile'. + * Activity user properties. */ - type: "HttpFile"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Linked service for an HTTP source. + * Execute power query activity. */ - export interface HttpLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; + export interface ExecuteWranglingDataflowActivityResponse { /** - * The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). + * Compute properties for data flow activity. */ - authHeaders?: any; + compute?: outputs.datafactory.ExecuteDataFlowActivityTypePropertiesResponseCompute; /** - * The authentication type to be used to connect to the HTTP server. + * Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) */ - authenticationType?: string; + continueOnError?: any; /** - * Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). + * Data flow reference. */ - certThumbprint?: any; + dataFlow: outputs.datafactory.DataFlowReferenceResponse; /** - * The integration runtime reference. + * Activity depends on condition. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Linked service description. + * Activity description. */ description?: string; /** - * Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). - */ - embeddedCertData?: any; - /** - * If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. + * The integration runtime reference. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + integrationRuntime?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. + * Activity name. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + name: string; /** - * Type of linked service. - * Expected value is 'HttpServer'. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - type: "HttpServer"; + onInactiveMarkAs?: string; /** - * The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string). + * Activity policy. */ - url: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). + * List of mapping for Power Query mashup query to sink dataset(s). */ - userName?: any; - } - - /** - * Http read settings. - */ - export interface HttpReadSettingsResponse { + queries?: outputs.datafactory.PowerQuerySinkMappingResponse[]; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) */ - additionalColumns?: any; + runConcurrently?: any; /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName. */ - additionalHeaders?: any; + sinks?: {[key: string]: outputs.datafactory.PowerQuerySinkResponse}; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer) */ - disableMetricsCollection?: any; + sourceStagingConcurrency?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Staging info for execute data flow activity. */ - maxConcurrentConnections?: any; + staging?: outputs.datafactory.DataFlowStagingInfoResponse; /** - * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - requestBody?: any; + state?: string; /** - * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ - requestMethod?: any; + traceLevel?: any; /** - * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. Type: string (or Expression with resultType string). + * Type of activity. + * Expected value is 'ExecuteWranglingDataflow'. */ - requestTimeout?: any; + type: "ExecuteWranglingDataflow"; /** - * The read setting type. - * Expected value is 'HttpReadSettings'. + * Activity user properties. */ - type: "HttpReadSettings"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * The location of http server. + * Base class for all execution activities. */ - export interface HttpServerLocationResponse { - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + export interface ExecutionActivityResponse { /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Activity depends on condition. */ - folderPath?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Specify the relativeUrl of http server. Type: string (or Expression with resultType string) + * Activity description. */ - relativeUrl?: any; + description?: string; /** - * Type of dataset storage location. - * Expected value is 'HttpServerLocation'. + * Linked service reference. */ - type: "HttpServerLocation"; - } - - /** - * A copy activity source for an HTTP file. - */ - export interface HttpSourceResponse { + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Activity name. */ - disableMetricsCollection?: any; + name: string; /** - * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - httpRequestTimeout?: any; + onInactiveMarkAs?: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Activity policy. */ - maxConcurrentConnections?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - sourceRetryCount?: any; + state?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of activity. + * Expected value is 'Execution'. */ - sourceRetryWait?: any; + type: "Execution"; /** - * Copy source type. - * Expected value is 'HttpSource'. + * Activity user properties. */ - type: "HttpSource"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Hubspot Service linked service. + * Azure Data Factory expression definition. */ - export interface HubspotLinkedServiceResponse { - /** - * The access token obtained when initially authenticating your OAuth integration. - */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface ExpressionResponse { /** - * List of tags that can be used for describing the linked service. + * Expression type. */ - annotations?: any[]; + type: string; /** - * The client ID associated with your Hubspot application. + * Expression value. */ - clientId: any; + value: string; + } + + /** + * Factory's GitHub repo information. + */ + export interface FactoryGitHubConfigurationResponse { /** - * The client secret associated with your Hubspot application. + * Account name. */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + accountName: string; /** - * The integration runtime reference. + * GitHub bring your own app client id. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + clientId?: string; /** - * Linked service description. + * GitHub bring your own app client secret information. */ - description?: string; + clientSecret?: outputs.datafactory.GitHubClientSecretResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Collaboration branch. */ - encryptedCredential?: string; + collaborationBranch: string; /** - * Parameters for linked service. + * Disable manual publish operation in ADF studio to favor automated publish. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + disablePublish?: boolean; /** - * The refresh token obtained when initially authenticating your OAuth integration. + * GitHub Enterprise host name. For example: `https://github.mydomain.com` */ - refreshToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + hostName?: string; /** - * Type of linked service. - * Expected value is 'Hubspot'. + * Last commit id. */ - type: "Hubspot"; + lastCommitId?: string; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Repository name. */ - useEncryptedEndpoints?: any; + repositoryName: string; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * Root folder. */ - useHostVerification?: any; + rootFolder: string; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Type of repo configuration. + * Expected value is 'FactoryGitHubConfiguration'. */ - usePeerVerification?: any; + type: "FactoryGitHubConfiguration"; } /** - * Hubspot Service dataset. + * Identity properties of the factory resource. */ - export interface HubspotObjectDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + export interface FactoryIdentityResponse { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The principal id of the identity. */ - schema?: any; + principalId: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The client tenant id of the identity. */ - structure?: any; + tenantId: string; /** - * The table name. Type: string (or Expression with resultType string). + * The identity type. */ - tableName?: any; + type: string; /** - * Type of dataset. - * Expected value is 'HubspotObject'. + * List of user assigned identities for the factory. */ - type: "HubspotObject"; + userAssignedIdentities?: {[key: string]: any}; } /** - * A copy activity Hubspot Service source. + * Factory's VSTS repo information. */ - export interface HubspotSourceResponse { + export interface FactoryVSTSConfigurationResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Account name. */ - additionalColumns?: any; + accountName: string; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Collaboration branch. */ - disableMetricsCollection?: any; + collaborationBranch: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Disable manual publish operation in ADF studio to favor automated publish. */ - maxConcurrentConnections?: any; + disablePublish?: boolean; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Last commit id. */ - query?: any; + lastCommitId?: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * VSTS project name. */ - queryTimeout?: any; + projectName: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Repository name. */ - sourceRetryCount?: any; + repositoryName: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Root folder. */ - sourceRetryWait?: any; + rootFolder: string; /** - * Copy source type. - * Expected value is 'HubspotSource'. + * VSTS tenant id. */ - type: "HubspotSource"; + tenantId?: string; + /** + * Type of repo configuration. + * Expected value is 'FactoryVSTSConfiguration'. + */ + type: "FactoryVSTSConfiguration"; } /** - * This activity evaluates a boolean expression and executes either the activities under the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression. + * This activity will fail within its own scope and output a custom error message and error code. The error message and code can provided either as a string literal or as an expression that can be evaluated to a string at runtime. The activity scope can be the whole pipeline or a control activity (e.g. foreach, switch, until), if the fail activity is contained in it. */ - export interface IfConditionActivityResponse { + export interface FailActivityResponse { /** * Activity depends on condition. */ @@ -141533,17 +143850,13 @@ export namespace datafactory { */ description?: string; /** - * An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. - */ - expression: outputs.datafactory.ExpressionResponse; - /** - * List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. + * The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). */ - ifFalseActivities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + errorCode: any; /** - * List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. + * The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). */ - ifTrueActivities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + message: any; /** * Activity name. */ @@ -141558,9 +143871,9 @@ export namespace datafactory { state?: string; /** * Type of activity. - * Expected value is 'IfCondition'. + * Expected value is 'Fail'. */ - type: "IfCondition"; + type: "Fail"; /** * Activity user properties. */ @@ -141568,25 +143881,13 @@ export namespace datafactory { } /** - * Impala server linked service. + * File system linked service. */ - export interface ImpalaLinkedServiceResponse { - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. - */ - allowSelfSignedServerCert?: any; + export interface FileServerLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The authentication type to use. - */ - authenticationType: string; /** * The integration runtime reference. */ @@ -141595,16 +143896,12 @@ export namespace datafactory { * Linked service description. */ description?: string; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. - */ - enableSsl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; /** - * The IP address or host name of the Impala server. (i.e. 192.168.222.160) + * Host name of the server. Type: string (or Expression with resultType string). */ host: any; /** @@ -141612,87 +143909,106 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name when using UsernameAndPassword. + * Password to logon the server. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The TCP port that the Impala server uses to listen for client connections. The default value is 21050. + * Type of linked service. + * Expected value is 'FileServer'. */ - port?: any; + type: "FileServer"; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + * User ID to logon the server. Type: string (or Expression with resultType string). */ - trustedCertPath?: any; + userId?: any; + } + + /** + * The location of file server dataset. + */ + export interface FileServerLocationResponse { /** - * Type of linked service. - * Expected value is 'Impala'. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - type: "Impala"; + fileName?: any; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - useSystemTrustStore?: any; + folderPath?: any; /** - * The user name used to access the Impala server. The default value is anonymous when using SASLUsername. + * Type of dataset storage location. + * Expected value is 'FileServerLocation'. */ - username?: any; + type: "FileServerLocation"; } /** - * Impala server dataset. + * File server read settings. */ - export interface ImpalaObjectDatasetResponse { + export interface FileServerReadSettingsResponse { /** - * List of tags that can be used for describing the Dataset. + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - annotations?: any[]; + deleteFilesAfterCompletion?: any; /** - * Dataset description. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - description?: string; + disableMetricsCollection?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + enablePartitionDiscovery?: any; /** - * Linked service reference. + * Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + fileFilter?: any; /** - * Parameters for dataset. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + fileListPath?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - schema?: any; + maxConcurrentConnections?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - structure?: any; + modifiedDatetimeEnd?: any; /** - * The table name of the Impala. Type: string (or Expression with resultType string). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - table?: any; + modifiedDatetimeStart?: any; /** - * This property will be retired. Please consider using schema + table properties instead. + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - tableName?: any; + partitionRootPath?: any; /** - * Type of dataset. - * Expected value is 'ImpalaObject'. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - type: "ImpalaObject"; + recursive?: any; + /** + * The read setting type. + * Expected value is 'FileServerReadSettings'. + */ + type: "FileServerReadSettings"; + /** + * FileServer wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * FileServer wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * A copy activity Impala server source. + * File server write settings. */ - export interface ImpalaSourceResponse { + export interface FileServerWriteSettingsResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The type of copy behavior for copy sink. */ - additionalColumns?: any; + copyBehavior?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -141702,83 +144018,87 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * The write setting type. + * Expected value is 'FileServerWriteSettings'. */ - query?: any; + type: "FileServerWriteSettings"; + } + + /** + * An on-premises file system dataset. + */ + export interface FileShareDatasetResponse { /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * List of tags that can be used for describing the Dataset. */ - queryTimeout?: any; + annotations?: any[]; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The data compression method used for the file system. */ - sourceRetryCount?: any; + compression?: outputs.datafactory.DatasetCompressionResponse; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Dataset description. */ - sourceRetryWait?: any; + description?: string; /** - * Copy source type. - * Expected value is 'ImpalaSource'. + * Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). */ - type: "ImpalaSource"; - } - - /** - * Informix linked service. - */ - export interface InformixLinkedServiceResponse { + fileFilter?: any; /** - * List of tags that can be used for describing the linked service. + * The name of the on-premises file system. Type: string (or Expression with resultType string). */ - annotations?: any[]; + fileName?: any; /** - * Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - authenticationType?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The integration runtime reference. + * The path of the on-premises file system. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + folderPath?: any; /** - * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. + * The format of the files. */ - connectionString: any; + format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; /** - * The access credential portion of the connection string specified in driver-specific property-value format. + * Linked service reference. */ - credential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Linked service description. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - description?: string; + modifiedDatetimeEnd?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + modifiedDatetimeStart?: any; /** - * Parameters for linked service. + * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password for Basic authentication. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + schema?: any; /** - * Type of linked service. - * Expected value is 'Informix'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "Informix"; + structure?: any; /** - * User name for Basic authentication. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'FileShare'. */ - userName?: any; + type: "FileShare"; } /** - * A copy activity Informix sink. + * A copy activity file system sink. */ - export interface InformixSinkResponse { + export interface FileSystemSinkResponse { + /** + * The type of copy behavior for copy sink. + */ + copyBehavior?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -141787,10 +144107,6 @@ export namespace datafactory { * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * A query to execute before starting the copy. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -141801,9 +144117,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'InformixSink'. + * Expected value is 'FileSystemSink'. */ - type: "InformixSink"; + type: "FileSystemSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -141815,9 +144131,9 @@ export namespace datafactory { } /** - * A copy activity source for Informix. + * A copy activity file system source. */ - export interface InformixSourceResponse { + export interface FileSystemSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -141831,13 +144147,9 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - queryTimeout?: any; + recursive?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -141848,338 +144160,447 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'InformixSource'. + * Expected value is 'FileSystemSource'. */ - type: "InformixSource"; + type: "FileSystemSource"; } /** - * The Informix table dataset. + * Filter and return results from input array based on the conditions. */ - export interface InformixTableDatasetResponse { + export interface FilterActivityResponse { /** - * List of tags that can be used for describing the Dataset. + * Condition to be used for filtering the input. */ - annotations?: any[]; + condition: outputs.datafactory.ExpressionResponse; /** - * Dataset description. + * Activity depends on condition. */ - description?: string; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Activity description. */ - folder?: outputs.datafactory.DatasetResponseFolder; + description?: string; /** - * Linked service reference. + * Input array on which filter should be applied. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + items: outputs.datafactory.ExpressionResponse; /** - * Parameters for dataset. + * Activity name. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + name: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - schema?: any; + onInactiveMarkAs?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - structure?: any; + state?: string; /** - * The Informix table name. Type: string (or Expression with resultType string). + * Type of activity. + * Expected value is 'Filter'. */ - tableName?: any; + type: "Filter"; /** - * Type of dataset. - * Expected value is 'InformixTable'. + * Activity user properties. */ - type: "InformixTable"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * The compute resource properties for managed integration runtime. + * Data flow flowlet */ - export interface IntegrationRuntimeComputePropertiesResponse { + export interface FlowletResponse { /** - * CopyComputeScale properties for managed integration runtime. + * List of tags that can be used for describing the data flow. */ - copyComputeScaleProperties?: outputs.datafactory.CopyComputeScalePropertiesResponse; + annotations?: any[]; /** - * Data flow properties for managed integration runtime. + * The description of the data flow. */ - dataFlowProperties?: outputs.datafactory.IntegrationRuntimeDataFlowPropertiesResponse; + description?: string; /** - * The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities + * The folder that this data flow is in. If not specified, Data flow will appear at the root level. */ - location?: string; + folder?: outputs.datafactory.DataFlowResponseFolder; /** - * Maximum parallel executions count per node for managed integration runtime. + * Flowlet script. */ - maxParallelExecutionsPerNode?: number; + script?: string; /** - * The node size requirement to managed integration runtime. + * Flowlet script lines. */ - nodeSize?: string; + scriptLines?: string[]; /** - * The required number of nodes for managed integration runtime. + * List of sinks in Flowlet. */ - numberOfNodes?: number; + sinks?: outputs.datafactory.DataFlowSinkResponse[]; /** - * PipelineExternalComputeScale properties for managed integration runtime. + * List of sources in Flowlet. */ - pipelineExternalComputeScaleProperties?: outputs.datafactory.PipelineExternalComputeScalePropertiesResponse; + sources?: outputs.datafactory.DataFlowSourceResponse[]; /** - * VNet properties for managed integration runtime. + * List of transformations in Flowlet. */ - vNetProperties?: outputs.datafactory.IntegrationRuntimeVNetPropertiesResponse; + transformations?: outputs.datafactory.TransformationResponse[]; + /** + * Type of data flow. + * Expected value is 'Flowlet'. + */ + type: "Flowlet"; } /** - * Custom setup script properties for a managed dedicated integration runtime. + * This activity is used for iterating over a collection and execute given activities. */ - export interface IntegrationRuntimeCustomSetupScriptPropertiesResponse { + export interface ForEachActivityResponse { /** - * The URI of the Azure blob container that contains the custom setup script. + * List of activities to execute . */ - blobContainerUri?: string; + activities: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; /** - * The SAS token of the Azure blob container. + * Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). */ - sasToken?: outputs.datafactory.SecureStringResponse; - } - - /** - * The definition and properties of virtual network to which Azure-SSIS integration runtime will join. - */ - export interface IntegrationRuntimeCustomerVirtualNetworkResponse { + batchCount?: number; /** - * The ID of subnet to which Azure-SSIS integration runtime will join. + * Activity depends on condition. */ - subnetId?: string; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Should the loop be executed in sequence or in parallel (max 50) + */ + isSequential?: boolean; + /** + * Collection to iterate. + */ + items: outputs.datafactory.ExpressionResponse; + /** + * Activity name. + */ + name: string; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Type of activity. + * Expected value is 'ForEach'. + */ + type: "ForEach"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Data flow properties for managed integration runtime. + * Ftp read settings. */ - export interface IntegrationRuntimeDataFlowPropertiesResponse { + export interface FtpReadSettingsResponse { /** - * Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true. + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - cleanup?: boolean; + deleteFilesAfterCompletion?: any; /** - * Compute type of the cluster which will execute data flow job. + * If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */ - computeType?: string; + disableChunking?: any; /** - * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - coreCount?: number; + disableMetricsCollection?: any; /** - * Custom properties are used to tune the data flow runtime performance. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - customProperties?: outputs.datafactory.IntegrationRuntimeDataFlowPropertiesResponseCustomProperties[]; + enablePartitionDiscovery?: any; /** - * Time to live (in minutes) setting of the cluster which will execute data flow job. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - timeToLive?: number; - } - - export interface IntegrationRuntimeDataFlowPropertiesResponseCustomProperties { + fileListPath?: any; /** - * Name of custom property. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - name?: string; + maxConcurrentConnections?: any; /** - * Value of custom property. + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - value?: string; + partitionRootPath?: any; + /** + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + */ + recursive?: any; + /** + * The read setting type. + * Expected value is 'FtpReadSettings'. + */ + type: "FtpReadSettings"; + /** + * Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType boolean). + */ + useBinaryTransfer?: any; + /** + * Ftp wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * Ftp wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * Data proxy properties for a managed dedicated integration runtime. + * A FTP server Linked Service. */ - export interface IntegrationRuntimeDataProxyPropertiesResponse { + export interface FtpServerLinkedServiceResponse { /** - * The self-hosted integration runtime reference. + * List of tags that can be used for describing the linked service. */ - connectVia?: outputs.datafactory.EntityReferenceResponse; + annotations?: any[]; /** - * The path to contain the staged data in the Blob storage. + * The authentication type to be used to connect to the FTP server. */ - path?: string; + authenticationType?: string; /** - * The staging linked service reference. + * The integration runtime reference. */ - stagingLinkedService?: outputs.datafactory.EntityReferenceResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + */ + enableServerCertificateValidation?: any; + /** + * If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + */ + enableSsl?: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Host name of the FTP server. Type: string (or Expression with resultType string). + */ + host: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Password to logon the FTP server. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. + */ + port?: any; + /** + * Type of linked service. + * Expected value is 'FtpServer'. + */ + type: "FtpServer"; + /** + * Username to logon the FTP server. Type: string (or Expression with resultType string). + */ + userName?: any; } /** - * Integration runtime reference type. + * The location of ftp server dataset. */ - export interface IntegrationRuntimeReferenceResponse { + export interface FtpServerLocationResponse { /** - * Arguments for integration runtime. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: any}; + fileName?: any; /** - * Reference integration runtime name. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - referenceName: string; + folderPath?: any; /** - * Type of integration runtime. + * Type of dataset storage location. + * Expected value is 'FtpServerLocation'. */ - type: string; + type: "FtpServerLocation"; } /** - * Catalog information for managed dedicated integration runtime. + * Activity to get metadata of dataset */ - export interface IntegrationRuntimeSsisCatalogInfoResponse { + export interface GetMetadataActivityResponse { /** - * The password of the administrator user account of the catalog database. + * GetMetadata activity dataset reference. */ - catalogAdminPassword?: outputs.datafactory.SecureStringResponse; + dataset: outputs.datafactory.DatasetReferenceResponse; /** - * The administrator user name of catalog database. + * Activity depends on condition. */ - catalogAdminUserName?: string; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/ + * Activity description. */ - catalogPricingTier?: string; + description?: string; /** - * The catalog database server URL. + * Fields of metadata to get from dataset. */ - catalogServerEndpoint?: string; + fieldList?: any[]; /** - * The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. + * GetMetadata activity format settings. */ - dualStandbyPairName?: string; - } - - /** - * SSIS properties for managed integration runtime. - */ - export interface IntegrationRuntimeSsisPropertiesResponse { + formatSettings?: outputs.datafactory.BinaryReadSettingsResponse | outputs.datafactory.DelimitedTextReadSettingsResponse | outputs.datafactory.JsonReadSettingsResponse | outputs.datafactory.XmlReadSettingsResponse; /** - * Catalog information for managed dedicated integration runtime. + * Linked service reference. */ - catalogInfo?: outputs.datafactory.IntegrationRuntimeSsisCatalogInfoResponse; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The credential reference containing authentication information. + * Activity name. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + name: string; /** - * Custom setup script properties for a managed dedicated integration runtime. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - customSetupScriptProperties?: outputs.datafactory.IntegrationRuntimeCustomSetupScriptPropertiesResponse; + onInactiveMarkAs?: string; /** - * Data proxy properties for a managed dedicated integration runtime. + * Activity policy. */ - dataProxyProperties?: outputs.datafactory.IntegrationRuntimeDataProxyPropertiesResponse; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * The edition for the SSIS Integration Runtime + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - edition?: string; + state?: string; /** - * Custom setup without script properties for a SSIS integration runtime. + * GetMetadata activity store settings. */ - expressCustomSetupProperties?: (outputs.datafactory.AzPowerShellSetupResponse | outputs.datafactory.CmdkeySetupResponse | outputs.datafactory.ComponentSetupResponse | outputs.datafactory.EnvironmentVariableSetupResponse)[]; + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** - * License type for bringing your own license scenario. + * Type of activity. + * Expected value is 'GetMetadata'. */ - licenseType?: string; + type: "GetMetadata"; /** - * Package stores for the SSIS Integration Runtime. + * Activity user properties. */ - packageStores?: outputs.datafactory.PackageStoreResponse[]; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * VNet properties for managed integration runtime. + * Client secret information for factory's bring your own app repository configuration. */ - export interface IntegrationRuntimeVNetPropertiesResponse { + export interface GitHubClientSecretResponse { /** - * Resource IDs of the public IP addresses that this integration runtime will use. + * Bring your own app client secret AKV URL. */ - publicIPs?: string[]; + byoaSecretAkvUrl?: string; /** - * The name of the subnet this integration runtime will join. + * Bring your own app client secret name in AKV. */ - subnet?: string; + byoaSecretName?: string; + } + + /** + * Definition of a single parameter for an entity. + */ + export interface GlobalParameterSpecificationResponse { /** - * The ID of subnet, to which this Azure-SSIS integration runtime will be joined. + * Global Parameter type. */ - subnetId?: string; + type: string; /** - * The ID of the VNet that this integration runtime will join. + * Value of parameter. */ - vNetId?: string; + value: any; } /** - * Jira Service linked service. + * Google AdWords service linked service. */ - export interface JiraLinkedServiceResponse { + export interface GoogleAdWordsLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. + */ + authenticationType?: string; + /** + * The Client customer ID of the AdWords account that you want to fetch report data for. Type: string (or Expression with resultType string). + */ + clientCustomerID?: any; + /** + * The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). + */ + clientId?: any; + /** + * The client secret of the google application used to acquire the refresh token. + */ + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object. + */ + connectionProperties?: any; /** * Linked service description. */ description?: string; + /** + * The developer token associated with the manager account that you use to grant access to the AdWords API. + */ + developerToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. Type: string (or Expression with resultType string). + */ + email?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; /** - * The IP address or host name of the Jira service. (e.g. jira.example.com) + * The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). */ - host: any; + keyFilePath?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name that you provided in the username field. + * The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + refreshToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP. + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). */ - port?: any; + trustedCertPath?: any; /** * Type of linked service. - * Expected value is 'Jira'. - */ - type: "Jira"; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Expected value is 'GoogleAdWords'. */ - usePeerVerification?: any; + type: "GoogleAdWords"; /** - * The user name that you use to access Jira Service. + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). */ - username: any; + useSystemTrustStore?: any; } /** - * Jira Service dataset. + * Google AdWords service dataset. */ - export interface JiraObjectDatasetResponse { + export interface GoogleAdWordsObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -142214,15 +144635,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'JiraObject'. + * Expected value is 'GoogleAdWordsObject'. */ - type: "JiraObject"; + type: "GoogleAdWordsObject"; } /** - * A copy activity Jira Service source. + * A copy activity Google AdWords service source. */ - export interface JiraSourceResponse { + export interface GoogleAdWordsSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -142253,31 +144674,102 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'JiraSource'. + * Expected value is 'GoogleAdWordsSource'. */ - type: "JiraSource"; + type: "GoogleAdWordsSource"; } /** - * Json dataset. + * Google BigQuery service linked service. */ - export interface JsonDatasetResponse { + export interface GoogleBigQueryLinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * A comma-separated list of public BigQuery projects to access. Type: string (or Expression with resultType string). + */ + additionalProjects?: any; + /** + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The data compression method used for the json dataset. + * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. */ - compression?: outputs.datafactory.DatasetCompressionResponse; + authenticationType: string; /** - * Dataset description. + * The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). + */ + clientId?: any; + /** + * The client secret of the google application used to acquire the refresh token. + */ + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. */ description?: string; /** - * The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. Type: string (or Expression with resultType string). */ - encodingName?: any; + email?: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). + */ + keyFilePath?: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The default BigQuery project to query against. Type: string (or Expression with resultType string). + */ + project: any; + /** + * The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. + */ + refreshToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. Type: string (or Expression with resultType string). + */ + requestGoogleDriveScope?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). + */ + trustedCertPath?: any; + /** + * Type of linked service. + * Expected value is 'GoogleBigQuery'. + */ + type: "GoogleBigQuery"; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). + */ + useSystemTrustStore?: any; + } + + /** + * Google BigQuery service dataset. + */ + export interface GoogleBigQueryObjectDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * The database name of the Google BigQuery. Type: string (or Expression with resultType string). + */ + dataset?: any; + /** + * Dataset description. + */ + description?: string; /** * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ @@ -142286,10 +144778,6 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The location of the json data storage. - */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; /** * Parameters for dataset. */ @@ -142302,363 +144790,369 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The table name of the Google BigQuery. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using database + table properties instead. + */ + tableName?: any; /** * Type of dataset. - * Expected value is 'Json'. + * Expected value is 'GoogleBigQueryObject'. */ - type: "Json"; + type: "GoogleBigQueryObject"; } /** - * The data stored in JSON format. + * A copy activity Google BigQuery service source. */ - export interface JsonFormatResponse { + export interface GoogleBigQuerySourceResponse { /** - * Deserializer. Type: string (or Expression with resultType string). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - deserializer?: any; + additionalColumns?: any; /** - * The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - encodingName?: any; + disableMetricsCollection?: any; /** - * File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - filePattern?: any; + maxConcurrentConnections?: any; /** - * The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - jsonNodeReference?: any; + query?: any; /** - * The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - jsonPathDefinition?: any; + queryTimeout?: any; /** - * The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - nestingSeparator?: any; + sourceRetryCount?: any; /** - * Serializer. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - serializer?: any; + sourceRetryWait?: any; /** - * Type of dataset storage format. - * Expected value is 'JsonFormat'. + * Copy source type. + * Expected value is 'GoogleBigQuerySource'. */ - type: "JsonFormat"; + type: "GoogleBigQuerySource"; } /** - * Json read settings. + * Linked service for Google Cloud Storage. */ - export interface JsonReadSettingsResponse { + export interface GoogleCloudStorageLinkedServiceResponse { /** - * Compression settings. + * The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ - compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; + accessKeyId?: any; /** - * The read setting type. - * Expected value is 'JsonReadSettings'. + * List of tags that can be used for describing the linked service. */ - type: "JsonReadSettings"; - } - - /** - * A copy activity Json sink. - */ - export interface JsonSinkResponse { + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The integration runtime reference. */ - disableMetricsCollection?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Json format settings. + * Linked service description. */ - formatSettings?: outputs.datafactory.JsonWriteSettingsResponse; + description?: string; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - maxConcurrentConnections?: any; + encryptedCredential?: string; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Parameters for linked service. */ - sinkRetryCount?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. */ - sinkRetryWait?: any; + secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Json store settings. + * This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ - storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; + serviceUrl?: any; /** - * Copy sink type. - * Expected value is 'JsonSink'. + * Type of linked service. + * Expected value is 'GoogleCloudStorage'. */ - type: "JsonSink"; + type: "GoogleCloudStorage"; + } + + /** + * The location of Google Cloud Storage dataset. + */ + export interface GoogleCloudStorageLocationResponse { /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string) */ - writeBatchSize?: any; + bucketName?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - writeBatchTimeout?: any; + fileName?: any; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Type of dataset storage location. + * Expected value is 'GoogleCloudStorageLocation'. + */ + type: "GoogleCloudStorageLocation"; + /** + * Specify the version of Google Cloud Storage. Type: string (or Expression with resultType string). + */ + version?: any; } /** - * A copy activity Json source. + * Google Cloud Storage read settings. */ - export interface JsonSourceResponse { + export interface GoogleCloudStorageReadSettingsResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - additionalColumns?: any; + deleteFilesAfterCompletion?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * Json format settings. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - formatSettings?: outputs.datafactory.JsonReadSettingsResponse; + enablePartitionDiscovery?: any; + /** + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + */ + fileListPath?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - sourceRetryCount?: any; + modifiedDatetimeEnd?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + modifiedDatetimeStart?: any; /** - * Json store settings. + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + partitionRootPath?: any; /** - * Copy source type. - * Expected value is 'JsonSource'. + * The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string). */ - type: "JsonSource"; - } - - /** - * Json write settings. - */ - export interface JsonWriteSettingsResponse { + prefix?: any; /** - * File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - filePattern?: any; + recursive?: any; /** - * The write setting type. - * Expected value is 'JsonWriteSettings'. + * The read setting type. + * Expected value is 'GoogleCloudStorageReadSettings'. */ - type: "JsonWriteSettings"; - } - - /** - * The key authorization type integration runtime. - */ - export interface LinkedIntegrationRuntimeKeyAuthorizationResponse { + type: "GoogleCloudStorageReadSettings"; /** - * The authorization type for integration runtime sharing. - * Expected value is 'Key'. + * Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). */ - authorizationType: "Key"; + wildcardFileName?: any; /** - * The key used for authorization. + * Google Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). */ - key: outputs.datafactory.SecureStringResponse; + wildcardFolderPath?: any; } /** - * The role based access control (RBAC) authorization type integration runtime. + * Linked service for GoogleSheets. */ - export interface LinkedIntegrationRuntimeRbacAuthorizationResponse { - /** - * The authorization type for integration runtime sharing. - * Expected value is 'RBAC'. - */ - authorizationType: "RBAC"; + export interface GoogleSheetsLinkedServiceResponse { /** - * The credential reference containing authentication information. + * List of tags that can be used for describing the linked service. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + annotations?: any[]; /** - * The resource identifier of the integration runtime to be shared. + * The api token for the GoogleSheets source. */ - resourceId: string; - } - - /** - * The linked integration runtime information. - */ - export interface LinkedIntegrationRuntimeResponse { + apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The creating time of the linked integration runtime. + * The integration runtime reference. */ - createTime: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The location of the data factory for which the linked integration runtime belong to. + * Linked service description. */ - dataFactoryLocation: string; + description?: string; /** - * The name of the data factory for which the linked integration runtime belong to. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - dataFactoryName: string; + encryptedCredential?: string; /** - * The name of the linked integration runtime. + * Parameters for linked service. */ - name: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The subscription ID for which the linked integration runtime belong to. + * Type of linked service. + * Expected value is 'GoogleSheets'. */ - subscriptionId: string; + type: "GoogleSheets"; } /** - * Linked service reference type. + * Greenplum Database linked service. */ - export interface LinkedServiceReferenceResponse { + export interface GreenplumLinkedServiceResponse { /** - * Arguments for LinkedService. + * List of tags that can be used for describing the linked service. */ - parameters?: {[key: string]: any}; + annotations?: any[]; /** - * Reference LinkedService name. + * The integration runtime reference. */ - referenceName: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Linked service reference type. + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - type: string; - } - - /** - * Log location settings. - */ - export interface LogLocationSettingsResponse { + connectionString?: any; /** - * Log storage linked service reference. + * Linked service description. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - path?: any; - } - - /** - * Log settings. - */ - export interface LogSettingsResponse { + encryptedCredential?: string; /** - * Specifies settings for copy activity log. + * Parameters for linked service. */ - copyActivityLogSettings?: outputs.datafactory.CopyActivityLogSettingsResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean). + * The Azure key vault secret reference of password in connection string. */ - enableCopyActivityLog?: any; + pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Log location settings customer needs to provide when enabling log. + * Type of linked service. + * Expected value is 'Greenplum'. */ - logLocationSettings: outputs.datafactory.LogLocationSettingsResponse; + type: "Greenplum"; } /** - * (Deprecated. Please use LogSettings) Log storage settings. + * A copy activity Greenplum Database source. */ - export interface LogStorageSettingsResponse { + export interface GreenplumSourceResponse { /** - * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - enableReliableLogging?: any; + additionalColumns?: any; /** - * Log storage linked service reference. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + disableMetricsCollection?: any; /** - * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - logLevel?: any; + maxConcurrentConnections?: any; /** - * The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - path?: any; + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'GreenplumSource'. + */ + type: "GreenplumSource"; } /** - * Lookup activity. + * Greenplum Database dataset. */ - export interface LookupActivityResponse { - /** - * Lookup activity dataset reference. - */ - dataset: outputs.datafactory.DatasetReferenceResponse; + export interface GreenplumTableDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Dataset description. */ description?: string; /** - * Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - firstRowOnly?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Activity name. - */ - name: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Parameters for dataset. */ - onInactiveMarkAs?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Activity policy. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + schema?: any; /** - * Dataset-specific source properties, same as copy activity source. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - source: outputs.datafactory.AmazonMWSSourceResponse | outputs.datafactory.AmazonRdsForOracleSourceResponse | outputs.datafactory.AmazonRdsForSqlServerSourceResponse | outputs.datafactory.AmazonRedshiftSourceResponse | outputs.datafactory.AvroSourceResponse | outputs.datafactory.AzureBlobFSSourceResponse | outputs.datafactory.AzureDataExplorerSourceResponse | outputs.datafactory.AzureDataLakeStoreSourceResponse | outputs.datafactory.AzureDatabricksDeltaLakeSourceResponse | outputs.datafactory.AzureMariaDBSourceResponse | outputs.datafactory.AzureMySqlSourceResponse | outputs.datafactory.AzurePostgreSqlSourceResponse | outputs.datafactory.AzureSqlSourceResponse | outputs.datafactory.AzureTableSourceResponse | outputs.datafactory.BinarySourceResponse | outputs.datafactory.BlobSourceResponse | outputs.datafactory.CassandraSourceResponse | outputs.datafactory.CommonDataServiceForAppsSourceResponse | outputs.datafactory.ConcurSourceResponse | outputs.datafactory.CosmosDbMongoDbApiSourceResponse | outputs.datafactory.CosmosDbSqlApiSourceResponse | outputs.datafactory.CouchbaseSourceResponse | outputs.datafactory.Db2SourceResponse | outputs.datafactory.DelimitedTextSourceResponse | outputs.datafactory.DocumentDbCollectionSourceResponse | outputs.datafactory.DrillSourceResponse | outputs.datafactory.DynamicsAXSourceResponse | outputs.datafactory.DynamicsCrmSourceResponse | outputs.datafactory.DynamicsSourceResponse | outputs.datafactory.EloquaSourceResponse | outputs.datafactory.ExcelSourceResponse | outputs.datafactory.FileSystemSourceResponse | outputs.datafactory.GoogleAdWordsSourceResponse | outputs.datafactory.GoogleBigQuerySourceResponse | outputs.datafactory.GreenplumSourceResponse | outputs.datafactory.HBaseSourceResponse | outputs.datafactory.HdfsSourceResponse | outputs.datafactory.HiveSourceResponse | outputs.datafactory.HttpSourceResponse | outputs.datafactory.HubspotSourceResponse | outputs.datafactory.ImpalaSourceResponse | outputs.datafactory.InformixSourceResponse | outputs.datafactory.JiraSourceResponse | outputs.datafactory.JsonSourceResponse | outputs.datafactory.MagentoSourceResponse | outputs.datafactory.MariaDBSourceResponse | outputs.datafactory.MarketoSourceResponse | outputs.datafactory.MicrosoftAccessSourceResponse | outputs.datafactory.MongoDbAtlasSourceResponse | outputs.datafactory.MongoDbSourceResponse | outputs.datafactory.MongoDbV2SourceResponse | outputs.datafactory.MySqlSourceResponse | outputs.datafactory.NetezzaSourceResponse | outputs.datafactory.ODataSourceResponse | outputs.datafactory.OdbcSourceResponse | outputs.datafactory.Office365SourceResponse | outputs.datafactory.OracleServiceCloudSourceResponse | outputs.datafactory.OracleSourceResponse | outputs.datafactory.OrcSourceResponse | outputs.datafactory.ParquetSourceResponse | outputs.datafactory.PaypalSourceResponse | outputs.datafactory.PhoenixSourceResponse | outputs.datafactory.PostgreSqlSourceResponse | outputs.datafactory.PrestoSourceResponse | outputs.datafactory.QuickBooksSourceResponse | outputs.datafactory.RelationalSourceResponse | outputs.datafactory.ResponsysSourceResponse | outputs.datafactory.RestSourceResponse | outputs.datafactory.SalesforceMarketingCloudSourceResponse | outputs.datafactory.SalesforceServiceCloudSourceResponse | outputs.datafactory.SalesforceSourceResponse | outputs.datafactory.SapBwSourceResponse | outputs.datafactory.SapCloudForCustomerSourceResponse | outputs.datafactory.SapEccSourceResponse | outputs.datafactory.SapHanaSourceResponse | outputs.datafactory.SapOdpSourceResponse | outputs.datafactory.SapOpenHubSourceResponse | outputs.datafactory.SapTableSourceResponse | outputs.datafactory.ServiceNowSourceResponse | outputs.datafactory.SharePointOnlineListSourceResponse | outputs.datafactory.ShopifySourceResponse | outputs.datafactory.SnowflakeSourceResponse | outputs.datafactory.SparkSourceResponse | outputs.datafactory.SqlDWSourceResponse | outputs.datafactory.SqlMISourceResponse | outputs.datafactory.SqlServerSourceResponse | outputs.datafactory.SqlSourceResponse | outputs.datafactory.SquareSourceResponse | outputs.datafactory.SybaseSourceResponse | outputs.datafactory.TabularSourceResponse | outputs.datafactory.TeradataSourceResponse | outputs.datafactory.VerticaSourceResponse | outputs.datafactory.WebSourceResponse | outputs.datafactory.XeroSourceResponse | outputs.datafactory.XmlSourceResponse | outputs.datafactory.ZohoSourceResponse; + structure?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The table name of Greenplum. Type: string (or Expression with resultType string). */ - state?: string; + table?: any; /** - * Type of activity. - * Expected value is 'Lookup'. + * This property will be retired. Please consider using schema + table properties instead. */ - type: "Lookup"; + tableName?: any; /** - * Activity user properties. + * Type of dataset. + * Expected value is 'GreenplumTable'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "GreenplumTable"; } /** - * Magento server linked service. + * HBase server linked service. */ - export interface MagentoLinkedServiceResponse { + export interface HBaseLinkedServiceResponse { /** - * The access token from Magento. + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + allowHostNameCNMismatch?: any; + /** + * Specifies whether to allow self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The authentication mechanism to use to connect to the HBase server. + */ + authenticationType: string; /** * The integration runtime reference. */ @@ -142667,41 +145161,53 @@ export namespace datafactory { * Linked service description. */ description?: string; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. + */ + enableSsl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; /** - * The URL of the Magento instance. (i.e. 192.168.222.110/magento3) + * The IP address or host name of the HBase server. (i.e. 192.168.222.160) */ host: any; + /** + * The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) + */ + httpPath?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of linked service. - * Expected value is 'Magento'. + * The password corresponding to the user name. */ - type: "Magento"; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * The TCP port that the HBase instance uses to listen for client connections. The default value is 9090. */ - useEncryptedEndpoints?: any; + port?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ - useHostVerification?: any; + trustedCertPath?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Type of linked service. + * Expected value is 'HBase'. */ - usePeerVerification?: any; + type: "HBase"; + /** + * The user name used to connect to the HBase instance. + */ + username?: any; } /** - * Magento server dataset. + * HBase server dataset. */ - export interface MagentoObjectDatasetResponse { + export interface HBaseObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -142736,15 +145242,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'MagentoObject'. + * Expected value is 'HBaseObject'. */ - type: "MagentoObject"; + type: "HBaseObject"; } /** - * A copy activity Magento server source. + * A copy activity HBase server source. */ - export interface MagentoSourceResponse { + export interface HBaseSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -142775,765 +145281,632 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'MagentoSource'. + * Expected value is 'HBaseSource'. */ - type: "MagentoSource"; + type: "HBaseSource"; } /** - * Managed identity credential. + * HDInsight Hive activity type. */ - export interface ManagedIdentityCredentialResponse { + export interface HDInsightHiveActivityResponse { /** - * List of tags that can be used for describing the Credential. + * User specified arguments to HDInsightActivity. */ - annotations?: any[]; + arguments?: any[]; /** - * Credential description. + * Allows user to specify defines for Hive job request. */ - description?: string; + defines?: {[key: string]: any}; /** - * The resource id of user assigned managed identity + * Activity depends on condition. */ - resourceId?: string; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Type of credential. - * Expected value is 'ManagedIdentity'. + * Activity description. */ - type: "ManagedIdentity"; - } - - /** - * Error definition for managed integration runtime. - */ - export interface ManagedIntegrationRuntimeErrorResponse { + description?: string; /** - * Error code. + * Debug info option. */ - code: string; + getDebugInfo?: string; /** - * Error message. + * Linked service reference. */ - message: string; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Managed integration runtime error parameters. + * Activity name. */ - parameters: string[]; + name: string; /** - * The time when the error occurred. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - time: string; - } - - /** - * Properties of integration runtime node. - */ - export interface ManagedIntegrationRuntimeNodeResponse { + onInactiveMarkAs?: string; /** - * The errors that occurred on this integration runtime node. + * Activity policy. */ - errors?: outputs.datafactory.ManagedIntegrationRuntimeErrorResponse[]; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * The managed integration runtime node id. + * Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package) */ - nodeId: string; + queryTimeout?: number; /** - * The managed integration runtime node status. + * Script linked service reference. */ - status: string; - } - - /** - * Properties of managed integration runtime operation result. - */ - export interface ManagedIntegrationRuntimeOperationResultResponse { + scriptLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The activity id for the operation request. + * Script path. Type: string (or Expression with resultType string). */ - activityId: string; + scriptPath?: any; /** - * The error code. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - errorCode: string; + state?: string; /** - * Managed integration runtime error parameters. + * Storage linked service references. */ - parameters: string[]; + storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; /** - * The operation result. + * Type of activity. + * Expected value is 'HDInsightHive'. */ - result: string; + type: "HDInsightHive"; /** - * The start time of the operation. + * Activity user properties. */ - startTime: string; + userProperties?: outputs.datafactory.UserPropertyResponse[]; /** - * The operation type. Could be start or stop. + * User specified arguments under hivevar namespace. */ - type: string; + variables?: {[key: string]: any}; } /** - * Managed integration runtime, including managed elastic and managed dedicated integration runtimes. + * HDInsight linked service. */ - export interface ManagedIntegrationRuntimeResponse { - /** - * The compute resource for managed integration runtime. - */ - computeProperties?: outputs.datafactory.IntegrationRuntimeComputePropertiesResponse; + export interface HDInsightLinkedServiceResponse { /** - * The name of virtual network to which Azure-SSIS integration runtime will join + * List of tags that can be used for describing the linked service. */ - customerVirtualNetwork?: outputs.datafactory.IntegrationRuntimeCustomerVirtualNetworkResponse; + annotations?: any[]; /** - * Integration runtime description. + * HDInsight cluster URI. Type: string (or Expression with resultType string). */ - description?: string; + clusterUri: any; /** - * Managed Virtual Network reference. + * The integration runtime reference. */ - managedVirtualNetwork?: outputs.datafactory.ManagedVirtualNetworkReferenceResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * SSIS properties for managed integration runtime. + * Linked service description. */ - ssisProperties?: outputs.datafactory.IntegrationRuntimeSsisPropertiesResponse; + description?: string; /** - * Integration runtime state, only valid for managed dedicated integration runtime. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - state: string; + encryptedCredential?: string; /** - * The type of integration runtime. - * Expected value is 'Managed'. + * Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). */ - type: "Managed"; - } - - /** - * Managed integration runtime status. - */ - export interface ManagedIntegrationRuntimeStatusResponse { + fileSystem?: any; /** - * The time at which the integration runtime was created, in ISO8601 format. + * A reference to the Azure SQL linked service that points to the HCatalog database. */ - createTime: string; + hcatalogLinkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The data factory name which the integration runtime belong to. + * Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. */ - dataFactoryName: string; + isEspEnabled?: any; /** - * The last operation result that occurred on this integration runtime. + * The Azure Storage linked service reference. */ - lastOperation: outputs.datafactory.ManagedIntegrationRuntimeOperationResultResponse; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The list of nodes for managed integration runtime. + * Parameters for linked service. */ - nodes: outputs.datafactory.ManagedIntegrationRuntimeNodeResponse[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The errors that occurred on this integration runtime. + * HDInsight cluster password. */ - otherErrors: outputs.datafactory.ManagedIntegrationRuntimeErrorResponse[]; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The state of integration runtime. + * Type of linked service. + * Expected value is 'HDInsight'. */ - state: string; + type: "HDInsight"; /** - * The type of integration runtime. - * Expected value is 'Managed'. + * HDInsight cluster user name. Type: string (or Expression with resultType string). */ - type: "Managed"; + userName?: any; } /** - * Properties of a managed private endpoint + * HDInsight MapReduce activity type. */ - export interface ManagedPrivateEndpointResponse { + export interface HDInsightMapReduceActivityResponse { /** - * The managed private endpoint connection state + * User specified arguments to HDInsightActivity. */ - connectionState?: outputs.datafactory.ConnectionStatePropertiesResponse; + arguments?: any[]; /** - * Fully qualified domain names + * Class name. Type: string (or Expression with resultType string). */ - fqdns?: string[]; + className: any; /** - * The groupId to which the managed private endpoint is created + * Allows user to specify defines for the MapReduce job request. */ - groupId?: string; + defines?: {[key: string]: any}; /** - * Denotes whether the managed private endpoint is reserved + * Activity depends on condition. */ - isReserved: boolean; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * The ARM resource ID of the resource to which the managed private endpoint is created + * Activity description. */ - privateLinkResourceId?: string; + description?: string; /** - * The managed private endpoint provisioning state + * Debug info option. */ - provisioningState: string; - } - - /** - * Managed Virtual Network reference type. - */ - export interface ManagedVirtualNetworkReferenceResponse { + getDebugInfo?: string; /** - * Reference ManagedVirtualNetwork name. + * Jar path. Type: string (or Expression with resultType string). */ - referenceName: string; + jarFilePath: any; /** - * Managed Virtual Network reference type. + * Jar libs. */ - type: string; - } - - /** - * Source and target column mapping details. - */ - export interface MapperAttributeMappingResponse { + jarLibs?: any[]; /** - * Reference of the source column used in the mapping. It is used for 'Direct' mapping type only. + * Jar linked service reference. */ - attributeReference?: outputs.datafactory.MapperAttributeReferenceResponse; + jarLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * List of references for source columns. It is used for 'Derived' and 'Aggregate' type mappings only. + * Linked service reference. */ - attributeReferences?: outputs.datafactory.MapperAttributeReferenceResponse[]; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Expression used for 'Aggregate' and 'Derived' type mapping. + * Activity name. */ - expression?: string; + name: string; /** - * Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type mapping. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - functionName?: string; + onInactiveMarkAs?: string; /** - * Name of the target column. + * Activity policy. */ - name?: string; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - type?: string; - } - - /** - * Attribute mapping details. - */ - export interface MapperAttributeMappingsResponse { + state?: string; /** - * List of attribute mappings. + * Storage linked service references. */ - attributeMappings?: outputs.datafactory.MapperAttributeMappingResponse[]; + storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + /** + * Type of activity. + * Expected value is 'HDInsightMapReduce'. + */ + type: "HDInsightMapReduce"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Attribute reference details for the referred column. + * HDInsight ondemand linked service. */ - export interface MapperAttributeReferenceResponse { + export interface HDInsightOnDemandLinkedServiceResponse { /** - * Name of the table. + * Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. */ - entity?: string; + additionalLinkedServiceNames?: outputs.datafactory.LinkedServiceReferenceResponse[]; /** - * The connection reference for the connection. + * List of tags that can be used for describing the linked service. */ - entityConnectionReference?: outputs.datafactory.MapperConnectionReferenceResponse; + annotations?: any[]; /** - * Name of the column. + * The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). */ - name?: string; - } - - /** - * Source or target connection reference details. - */ - export interface MapperConnectionReferenceResponse { + clusterNamePrefix?: any; /** - * Name of the connection + * The password to access the cluster. */ - connectionName?: string; + clusterPassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of connection via linked service or dataset. + * The resource group where the cluster belongs. Type: string (or Expression with resultType string). */ - type?: string; - } - - /** - * Source connection details. - */ - export interface MapperConnectionResponse { + clusterResourceGroup: any; /** - * List of name/value pairs for connection properties. + * Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). */ - commonDslConnectorProperties?: outputs.datafactory.MapperDslConnectorPropertiesResponse[]; + clusterSize: any; /** - * A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported. + * The password to SSH remotely connect cluster’s node (for Linux). */ - isInlineDataset?: boolean; + clusterSshPassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Linked service reference. + * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + clusterSshUserName?: any; /** - * Type of the linked service e.g.: AzureBlobFS. + * The cluster type. Type: string (or Expression with resultType string). */ - linkedServiceType?: string; + clusterType?: any; /** - * Type of connection via linked service or dataset. + * The username to access the cluster. Type: string (or Expression with resultType string). */ - type: string; - } - - /** - * Connector properties of a CDC table in terms of name / value pairs. - */ - export interface MapperDslConnectorPropertiesResponse { + clusterUserName?: any; /** - * Name of the property. + * The integration runtime reference. */ - name?: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Value of the property. + * Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created. */ - value?: any; - } - - /** - * CDC policy recurrence details. - */ - export interface MapperPolicyRecurrenceResponse { + coreConfiguration?: any; /** - * Frequency of period in terms of 'Hour', 'Minute' or 'Second'. + * The credential reference containing authentication information. */ - frequency?: string; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * Actual interval value as per chosen frequency. + * Specifies the size of the data node for the HDInsight cluster. */ - interval?: number; - } - - /** - * CDC Policy. - */ - export interface MapperPolicyResponse { + dataNodeSize?: any; /** - * Mode of running the CDC: batch vs continuous. + * Linked service description. */ - mode?: string; + description?: string; /** - * Defines the frequency and interval for running the CDC for batch mode. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - recurrence?: outputs.datafactory.MapperPolicyRecurrenceResponse; - } - - /** - * A object which contains list of tables and connection details for a source connection. - */ - export interface MapperSourceConnectionsInfoResponse { + encryptedCredential?: string; /** - * Source connection details. + * Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. */ - connection?: outputs.datafactory.MapperConnectionResponse; + hBaseConfiguration?: any; /** - * List of source tables for a source connection. + * The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. */ - sourceEntities?: outputs.datafactory.MapperTableResponse[]; - } - - /** - * CDC table details. - */ - export interface MapperTableResponse { + hcatalogLinkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * List of name/value pairs for connection properties. + * Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. */ - dslConnectorProperties?: outputs.datafactory.MapperDslConnectorPropertiesResponse[]; + hdfsConfiguration?: any; /** - * Name of the table. + * Specifies the size of the head node for the HDInsight cluster. */ - name?: string; + headNodeSize?: any; /** - * List of columns for the source table. + * Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. */ - schema?: outputs.datafactory.MapperTableSchemaResponse[]; - } - - /** - * Schema of a CDC table in terms of column names and their corresponding data types. - */ - export interface MapperTableSchemaResponse { + hiveConfiguration?: any; /** - * Data type of the column. + * The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). */ - dataType?: string; + hostSubscriptionId: any; /** - * Name of the column. + * Azure Storage linked service to be used by the on-demand cluster for storing and processing data. */ - name?: string; - } - - /** - * A object which contains list of tables and connection details for a target connection. - */ - export interface MapperTargetConnectionsInfoResponse { + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Source connection details. + * Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. */ - connection?: outputs.datafactory.MapperConnectionResponse; + mapReduceConfiguration?: any; /** - * List of table mappings. + * Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. */ - dataMapperMappings?: outputs.datafactory.DataMapperMappingResponse[]; + oozieConfiguration?: any; /** - * List of relationship info among the tables. + * Parameters for linked service. */ - relationships?: any[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * List of source tables for a target connection. + * Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. */ - targetEntities?: outputs.datafactory.MapperTableResponse[]; - } - - /** - * Mapping data flow. - */ - export interface MappingDataFlowResponse { + scriptActions?: outputs.datafactory.ScriptActionResponse[]; /** - * List of tags that can be used for describing the data flow. + * The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string). */ - annotations?: any[]; + servicePrincipalId?: any; /** - * The description of the data flow. + * The key for the service principal id. */ - description?: string; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The folder that this data flow is in. If not specified, Data flow will appear at the root level. + * The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string). */ - folder?: outputs.datafactory.DataFlowResponseFolder; + sparkVersion?: any; /** - * DataFlow script. + * Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. */ - script?: string; + stormConfiguration?: any; /** - * Data flow script lines. + * The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). */ - scriptLines?: string[]; + subnetName?: any; /** - * List of sinks in data flow. + * The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). */ - sinks?: outputs.datafactory.DataFlowSinkResponse[]; + tenant: any; /** - * List of sources in data flow. + * The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). */ - sources?: outputs.datafactory.DataFlowSourceResponse[]; + timeToLive: any; /** - * List of transformations in data flow. + * Type of linked service. + * Expected value is 'HDInsightOnDemand'. */ - transformations?: outputs.datafactory.TransformationResponse[]; + type: "HDInsightOnDemand"; /** - * Type of data flow. - * Expected value is 'MappingDataFlow'. + * Version of the HDInsight cluster.  Type: string (or Expression with resultType string). */ - type: "MappingDataFlow"; + version: any; + /** + * The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). + */ + virtualNetworkId?: any; + /** + * Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. + */ + yarnConfiguration?: any; + /** + * Specifies the size of the Zoo Keeper node for the HDInsight cluster. + */ + zookeeperNodeSize?: any; } /** - * MariaDB server linked service. + * HDInsight Pig activity type. */ - export interface MariaDBLinkedServiceResponse { + export interface HDInsightPigActivityResponse { /** - * List of tags that can be used for describing the linked service. + * User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). */ - annotations?: any[]; + arguments?: any; /** - * The integration runtime reference. + * Allows user to specify defines for Pig job request. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + defines?: {[key: string]: any}; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Activity depends on condition. */ - connectionString?: any; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Linked service description. + * Activity description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. + * Debug info option. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + getDebugInfo?: string; /** - * The Azure key vault secret reference of password in connection string. + * Linked service reference. */ - pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Type of linked service. - * Expected value is 'MariaDB'. + * Activity name. */ - type: "MariaDB"; - } - - /** - * A copy activity MariaDB server source. - */ - export interface MariaDBSourceResponse { + name: string; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - additionalColumns?: any; + onInactiveMarkAs?: string; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Activity policy. */ - disableMetricsCollection?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Script linked service reference. */ - maxConcurrentConnections?: any; + scriptLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Script path. Type: string (or Expression with resultType string). */ - query?: any; + scriptPath?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - queryTimeout?: any; + state?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Storage linked service references. */ - sourceRetryCount?: any; + storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of activity. + * Expected value is 'HDInsightPig'. */ - sourceRetryWait?: any; + type: "HDInsightPig"; /** - * Copy source type. - * Expected value is 'MariaDBSource'. + * Activity user properties. */ - type: "MariaDBSource"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * MariaDB server dataset. + * HDInsight Spark activity. */ - export interface MariaDBTableDatasetResponse { + export interface HDInsightSparkActivityResponse { /** - * List of tags that can be used for describing the Dataset. + * The user-specified arguments to HDInsightSparkActivity. */ - annotations?: any[]; + arguments?: any[]; /** - * Dataset description. + * The application's Java/Spark main class. */ - description?: string; + className?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Activity depends on condition. */ - folder?: outputs.datafactory.DatasetResponseFolder; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Linked service reference. + * Activity description. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * Parameters for dataset. + * The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + entryFilePath: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Debug info option. */ - schema?: any; + getDebugInfo?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Linked service reference. */ - structure?: any; + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The table name. Type: string (or Expression with resultType string). + * Activity name. */ - tableName?: any; + name: string; /** - * Type of dataset. - * Expected value is 'MariaDBTable'. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - type: "MariaDBTable"; - } - - /** - * Marketo server linked service. - */ - export interface MarketoLinkedServiceResponse { + onInactiveMarkAs?: string; /** - * List of tags that can be used for describing the linked service. + * Activity policy. */ - annotations?: any[]; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * The client Id of your Marketo service. + * The user to impersonate that will execute the job. Type: string (or Expression with resultType string). */ - clientId: any; + proxyUser?: any; /** - * The client secret of your Marketo service. + * The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + rootPath: any; /** - * The integration runtime reference. + * Spark configuration property. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + sparkConfig?: {[key: string]: any}; /** - * Linked service description. + * The storage linked service for uploading the entry file and dependencies, and for receiving logs. */ - description?: string; + sparkJobLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - encryptedCredential?: string; + state?: string; /** - * The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) + * Type of activity. + * Expected value is 'HDInsightSpark'. */ - endpoint: any; + type: "HDInsightSpark"; /** - * Parameters for linked service. + * Activity user properties. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * HDInsight streaming activity type. + */ + export interface HDInsightStreamingActivityResponse { /** - * Type of linked service. - * Expected value is 'Marketo'. + * User specified arguments to HDInsightActivity. */ - type: "Marketo"; + arguments?: any[]; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Combiner executable name. Type: string (or Expression with resultType string). */ - useEncryptedEndpoints?: any; + combiner?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * Command line environment values. */ - useHostVerification?: any; + commandEnvironment?: any[]; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Allows user to specify defines for streaming job request. */ - usePeerVerification?: any; - } - - /** - * Marketo server dataset. - */ - export interface MarketoObjectDatasetResponse { + defines?: {[key: string]: any}; /** - * List of tags that can be used for describing the Dataset. + * Activity depends on condition. */ - annotations?: any[]; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Dataset description. + * Activity description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. + * Linked service reference where the files are located. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + fileLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Paths to streaming job files. Can be directories. */ - schema?: any; + filePaths: any[]; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Debug info option. */ - structure?: any; + getDebugInfo?: string; /** - * The table name. Type: string (or Expression with resultType string). + * Input blob path. Type: string (or Expression with resultType string). */ - tableName?: any; + input: any; /** - * Type of dataset. - * Expected value is 'MarketoObject'. + * Linked service reference. */ - type: "MarketoObject"; - } - - /** - * A copy activity Marketo server source. - */ - export interface MarketoSourceResponse { + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Mapper executable name. Type: string (or Expression with resultType string). */ - additionalColumns?: any; + mapper: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Activity name. */ - disableMetricsCollection?: any; + name: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - maxConcurrentConnections?: any; + onInactiveMarkAs?: string; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Output blob path. Type: string (or Expression with resultType string). */ - query?: any; + output: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Activity policy. */ - queryTimeout?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Reducer executable name. Type: string (or Expression with resultType string). */ - sourceRetryCount?: any; + reducer: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - sourceRetryWait?: any; + state?: string; /** - * Copy source type. - * Expected value is 'MarketoSource'. + * Storage linked service references. */ - type: "MarketoSource"; - } - - /** - * Specify the name and value of custom metadata item. - */ - export interface MetadataItemResponse { + storageLinkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; /** - * Metadata item key name. Type: string (or Expression with resultType string). + * Type of activity. + * Expected value is 'HDInsightStreaming'. */ - name?: any; + type: "HDInsightStreaming"; /** - * Metadata item value. Type: string (or Expression with resultType string). + * Activity user properties. */ - value?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Microsoft Access linked service. + * Hadoop Distributed File System (HDFS) linked service. */ - export interface MicrosoftAccessLinkedServiceResponse { + export interface HdfsLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + * Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). */ authenticationType?: any; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. - */ - connectionString: any; - /** - * The access credential portion of the connection string specified in driver-specific property-value format. - */ - credential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Linked service description. */ @@ -143547,79 +145920,122 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password for Basic authentication. + * Password for Windows authentication. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'MicrosoftAccess'. + * Expected value is 'Hdfs'. */ - type: "MicrosoftAccess"; + type: "Hdfs"; /** - * User name for Basic authentication. Type: string (or Expression with resultType string). + * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string). + */ + url: any; + /** + * User name for Windows authentication. Type: string (or Expression with resultType string). */ userName?: any; } /** - * A copy activity Microsoft Access sink. + * The location of HDFS. */ - export interface MicrosoftAccessSinkResponse { + export interface HdfsLocationResponse { + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Type of dataset storage location. + * Expected value is 'HdfsLocation'. + */ + type: "HdfsLocation"; + } + + /** + * HDFS read settings. + */ + export interface HdfsReadSettingsResponse { + /** + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + */ + deleteFilesAfterCompletion?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Specifies Distcp-related settings. + */ + distcpSettings?: outputs.datafactory.DistcpSettingsResponse; + /** + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + */ + enablePartitionDiscovery?: any; + /** + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + */ + fileListPath?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * A query to execute before starting the copy. Type: string (or Expression with resultType string). + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - preCopyScript?: any; + modifiedDatetimeEnd?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + modifiedDatetimeStart?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - sinkRetryWait?: any; + partitionRootPath?: any; /** - * Copy sink type. - * Expected value is 'MicrosoftAccessSink'. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - type: "MicrosoftAccessSink"; + recursive?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * The read setting type. + * Expected value is 'HdfsReadSettings'. */ - writeBatchSize?: any; + type: "HdfsReadSettings"; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * HDFS wildcardFileName. Type: string (or Expression with resultType string). */ - writeBatchTimeout?: any; + wildcardFileName?: any; + /** + * HDFS wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * A copy activity source for Microsoft Access. + * A copy activity HDFS source. */ - export interface MicrosoftAccessSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface HdfsSourceResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * Specifies Distcp-related settings. + */ + distcpSettings?: outputs.datafactory.DistcpSettingsResponse; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Database query. Type: string (or Expression with resultType string). + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - query?: any; + recursive?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -143630,203 +146046,173 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'MicrosoftAccessSource'. + * Expected value is 'HdfsSource'. */ - type: "MicrosoftAccessSource"; + type: "HdfsSource"; } /** - * The Microsoft Access table dataset. + * Hive Server linked service. */ - export interface MicrosoftAccessTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + export interface HiveLinkedServiceResponse { /** - * Parameters for dataset. + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + allowHostNameCNMismatch?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Specifies whether to allow self-signed certificates from the server. The default value is false. */ - schema?: any; + allowSelfSignedServerCert?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * List of tags that can be used for describing the linked service. */ - structure?: any; + annotations?: any[]; /** - * The Microsoft Access table name. Type: string (or Expression with resultType string). + * The authentication method used to access the Hive server. */ - tableName?: any; + authenticationType: string; /** - * Type of dataset. - * Expected value is 'MicrosoftAccessTable'. + * The integration runtime reference. */ - type: "MicrosoftAccessTable"; - } - - /** - * The MongoDB Atlas database dataset. - */ - export interface MongoDbAtlasCollectionDatasetResponse { + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * List of tags that can be used for describing the Dataset. + * Linked service description. */ - annotations?: any[]; + description?: string; /** - * The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ - collection: any; + enableSsl?: any; /** - * Dataset description. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - description?: string; + encryptedCredential?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable). */ - folder?: outputs.datafactory.DatasetResponseFolder; + host: any; /** - * Linked service reference. + * The partial URL corresponding to the Hive server. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + httpPath?: any; /** - * Parameters for dataset. + * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The password corresponding to the user name that you provided in the Username field */ - schema?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The TCP port that the Hive server uses to listen for client connections. */ - structure?: any; + port?: any; /** - * Type of dataset. - * Expected value is 'MongoDbAtlasCollection'. + * The type of Hive server. */ - type: "MongoDbAtlasCollection"; - } - - /** - * Linked service for MongoDB Atlas data source. - */ - export interface MongoDbAtlasLinkedServiceResponse { + serverType?: string; /** - * List of tags that can be used for describing the linked service. + * true to indicate using the ZooKeeper service, false not. */ - annotations?: any[]; + serviceDiscoveryMode?: any; /** - * The integration runtime reference. + * The transport protocol to use in the Thrift layer. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + thriftTransportProtocol?: string; /** - * The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ - connectionString: any; + trustedCertPath?: any; /** - * The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'Hive'. */ - database: any; + type: "Hive"; /** - * Linked service description. + * Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL. */ - description?: string; + useNativeQuery?: any; /** - * The driver version that you want to choose. Allowed value are v1 and v2. Type: string (or Expression with resultType string). + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ - driverVersion?: any; + useSystemTrustStore?: any; /** - * Parameters for linked service. + * The user name that you use to access Hive Server. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + username?: any; /** - * Type of linked service. - * Expected value is 'MongoDbAtlas'. + * The namespace on ZooKeeper under which Hive Server 2 nodes are added. */ - type: "MongoDbAtlas"; + zooKeeperNameSpace?: any; } /** - * A copy activity MongoDB Atlas sink. + * Hive Server dataset. */ - export interface MongoDbAtlasSinkResponse { + export interface HiveObjectDatasetResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Dataset description. */ - maxConcurrentConnections?: any; + description?: string; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - sinkRetryCount?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service reference. */ - sinkRetryWait?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Copy sink type. - * Expected value is 'MongoDbAtlasSink'. + * Parameters for dataset. */ - type: "MongoDbAtlasSink"; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - writeBatchSize?: any; + schema?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - writeBatchTimeout?: any; + structure?: any; /** - * Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + * The table name of the Hive. Type: string (or Expression with resultType string). */ - writeBehavior?: any; + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'HiveObject'. + */ + type: "HiveObject"; } /** - * A copy activity source for a MongoDB Atlas database. + * A copy activity Hive Server source. */ - export interface MongoDbAtlasSourceResponse { + export interface HiveSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; - /** - * Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Cursor methods for Mongodb query - */ - cursorMethods?: outputs.datafactory.MongoDbCursorMethodsPropertiesResponse; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; - /** - * Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). - */ - filter?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ @@ -143841,23 +146227,29 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'MongoDbAtlasSource'. + * Expected value is 'HiveSource'. */ - type: "MongoDbAtlasSource"; + type: "HiveSource"; } /** - * The MongoDB database dataset. + * A file in an HTTP web server. */ - export interface MongoDbCollectionDatasetResponse { + export interface HttpDatasetResponse { + /** + * The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 + * ... + * request-header-name-n:request-header-value-n Type: string (or Expression with resultType string). + */ + additionalHeaders?: any; /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The table name of the MongoDB database. Type: string (or Expression with resultType string). + * The data compression method used on files. */ - collectionName: any; + compression?: outputs.datafactory.DatasetCompressionResponse; /** * Dataset description. */ @@ -143867,86 +146259,80 @@ export namespace datafactory { */ folder?: outputs.datafactory.DatasetResponseFolder; /** - * Linked service reference. + * The format of files. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + format?: outputs.datafactory.AvroFormatResponse | outputs.datafactory.JsonFormatResponse | outputs.datafactory.OrcFormatResponse | outputs.datafactory.ParquetFormatResponse | outputs.datafactory.TextFormatResponse; /** - * Parameters for dataset. + * Linked service reference. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Parameters for dataset. */ - schema?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). */ - structure?: any; + relativeUrl?: any; /** - * Type of dataset. - * Expected value is 'MongoDbCollection'. + * The body for the HTTP request. Type: string (or Expression with resultType string). */ - type: "MongoDbCollection"; - } - - /** - * Cursor methods for Mongodb query - */ - export interface MongoDbCursorMethodsPropertiesResponse { + requestBody?: any; /** - * Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer). + * The HTTP method for the HTTP request. Type: string (or Expression with resultType string). */ - limit?: any; + requestMethod?: any; /** - * Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - project?: any; + schema?: any; /** - * Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - skip?: any; + structure?: any; /** - * Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'HttpFile'. */ - sort?: any; + type: "HttpFile"; } /** - * Linked service for MongoDb data source. + * Linked service for an HTTP source. */ - export interface MongoDbLinkedServiceResponse { - /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). - */ - allowSelfSignedServerCert?: any; + export interface HttpLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Database to verify the username and password. Type: string (or Expression with resultType string). + * The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). */ - authSource?: any; + authHeaders?: any; /** - * The authentication type to be used to connect to the MongoDB database. + * The authentication type to be used to connect to the HTTP server. */ authenticationType?: string; /** - * The integration runtime reference. + * Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + certThumbprint?: any; /** - * The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). + * The integration runtime reference. */ - databaseName: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** * Linked service description. */ description?: string; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). + * Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). */ - enableSsl?: any; + embeddedCertData?: any; + /** + * If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). + */ + enableServerCertificateValidation?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ @@ -143956,36 +146342,36 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password for authentication. + * Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. - */ - port?: any; - /** - * The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'HttpServer'. */ - server: any; + type: "HttpServer"; /** - * Type of linked service. - * Expected value is 'MongoDb'. + * The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string). */ - type: "MongoDb"; + url: any; /** - * Username for authentication. Type: string (or Expression with resultType string). + * User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). */ - username?: any; + userName?: any; } /** - * A copy activity source for a MongoDB database. + * Http read settings. */ - export interface MongoDbSourceResponse { + export interface HttpReadSettingsResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; + /** + * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + */ + additionalHeaders?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -143995,173 +146381,63 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'MongoDbSource'. - */ - type: "MongoDbSource"; - } - - /** - * The MongoDB database dataset. - */ - export interface MongoDbV2CollectionDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The collection name of the MongoDB database. Type: string (or Expression with resultType string). - */ - collection: any; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Type of dataset. - * Expected value is 'MongoDbV2Collection'. - */ - type: "MongoDbV2Collection"; - } - - /** - * Linked service for MongoDB data source. - */ - export interface MongoDbV2LinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). + * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ - database: any; + requestBody?: any; /** - * Linked service description. + * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). */ - description?: string; + requestMethod?: any; /** - * Parameters for linked service. + * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + requestTimeout?: any; /** - * Type of linked service. - * Expected value is 'MongoDbV2'. + * The read setting type. + * Expected value is 'HttpReadSettings'. */ - type: "MongoDbV2"; + type: "HttpReadSettings"; } /** - * A copy activity MongoDB sink. + * The location of http server. */ - export interface MongoDbV2SinkResponse { - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; + export interface HttpServerLocationResponse { /** - * Copy sink type. - * Expected value is 'MongoDbV2Sink'. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - type: "MongoDbV2Sink"; + fileName?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - writeBatchSize?: any; + folderPath?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specify the relativeUrl of http server. Type: string (or Expression with resultType string) */ - writeBatchTimeout?: any; + relativeUrl?: any; /** - * Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + * Type of dataset storage location. + * Expected value is 'HttpServerLocation'. */ - writeBehavior?: any; + type: "HttpServerLocation"; } /** - * A copy activity source for a MongoDB database. + * A copy activity source for an HTTP file. */ - export interface MongoDbV2SourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Cursor methods for Mongodb query - */ - cursorMethods?: outputs.datafactory.MongoDbCursorMethodsPropertiesResponse; + export interface HttpSourceResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). + * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - filter?: any; + httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -144172,54 +146448,35 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'MongoDbV2Source'. + * Expected value is 'HttpSource'. */ - type: "MongoDbV2Source"; + type: "HttpSource"; } /** - * Base class for all triggers that support one to many model for trigger to pipeline. + * Hubspot Service linked service. */ - export interface MultiplePipelineTriggerResponse { - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * Trigger description. - */ - description?: string; + export interface HubspotLinkedServiceResponse { /** - * Pipelines that need to be started. + * The access token obtained when initially authenticating your OAuth integration. */ - pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * List of tags that can be used for describing the linked service. */ - runtimeState: string; + annotations?: any[]; /** - * Trigger type. - * Expected value is 'MultiplePipelineTrigger'. + * The client ID associated with your Hubspot application. */ - type: "MultiplePipelineTrigger"; - } - - /** - * Linked service for MySQL data source. - */ - export interface MySqlLinkedServiceResponse { + clientId: any; /** - * List of tags that can be used for describing the linked service. + * The client secret associated with your Hubspot application. */ - annotations?: any[]; + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; /** * Linked service description. */ @@ -144233,59 +146490,32 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The Azure key vault secret reference of password in connection string. + * The refresh token obtained when initially authenticating your OAuth integration. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + refreshToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'MySql'. - */ - type: "MySql"; - } - - /** - * A copy activity source for MySQL databases. - */ - export interface MySqlSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Expected value is 'Hubspot'. */ - queryTimeout?: any; + type: "Hubspot"; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ - sourceRetryCount?: any; + useEncryptedEndpoints?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ - sourceRetryWait?: any; + useHostVerification?: any; /** - * Copy source type. - * Expected value is 'MySqlSource'. + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ - type: "MySqlSource"; + usePeerVerification?: any; } /** - * The MySQL table dataset. + * Hubspot Service dataset. */ - export interface MySqlTableDatasetResponse { + export interface HubspotObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -144315,77 +146545,20 @@ export namespace datafactory { */ structure?: any; /** - * The MySQL table name. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ tableName?: any; /** * Type of dataset. - * Expected value is 'MySqlTable'. - */ - type: "MySqlTable"; - } - - /** - * Netezza linked service. - */ - export interface NetezzaLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; - /** - * Type of linked service. - * Expected value is 'Netezza'. - */ - type: "Netezza"; - } - - /** - * The settings that will be leveraged for Netezza source partitioning. - */ - export interface NetezzaPartitionSettingsResponse { - /** - * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; - /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * Expected value is 'HubspotObject'. */ - partitionUpperBound?: any; + type: "HubspotObject"; } /** - * A copy activity Netezza source. + * A copy activity Hubspot Service source. */ - export interface NetezzaSourceResponse { + export interface HubspotSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -144398,14 +146571,6 @@ export namespace datafactory { * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * The partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Netezza source partitioning. - */ - partitionSettings?: outputs.datafactory.NetezzaPartitionSettingsResponse; /** * A query to retrieve data from source. Type: string (or Expression with resultType string). */ @@ -144424,100 +146589,78 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'NetezzaSource'. + * Expected value is 'HubspotSource'. */ - type: "NetezzaSource"; + type: "HubspotSource"; } /** - * Netezza dataset. + * This activity evaluates a boolean expression and executes either the activities under the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression. */ - export interface NetezzaTableDatasetResponse { + export interface IfConditionActivityResponse { /** - * List of tags that can be used for describing the Dataset. + * Activity depends on condition. */ - annotations?: any[]; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Dataset description. + * Activity description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. + * An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + expression: outputs.datafactory.ExpressionResponse; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. */ - schema?: any; + ifFalseActivities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. */ - structure?: any; + ifTrueActivities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; /** - * The table name of the Netezza. Type: string (or Expression with resultType string). + * Activity name. */ - table?: any; + name: string; /** - * This property will be retired. Please consider using schema + table properties instead. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - tableName?: any; + onInactiveMarkAs?: string; /** - * Type of dataset. - * Expected value is 'NetezzaTable'. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - type: "NetezzaTable"; - } - - /** - * Notebook parameter. - */ - export interface NotebookParameterResponse { + state?: string; /** - * Notebook parameter type. + * Type of activity. + * Expected value is 'IfCondition'. */ - type?: string; + type: "IfCondition"; /** - * Notebook parameter value. Type: string (or Expression with resultType string). + * Activity user properties. */ - value?: any; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Open Data Protocol (OData) linked service. + * Impala server linked service. */ - export interface ODataLinkedServiceResponse { + export interface ImpalaLinkedServiceResponse { /** - * Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string). + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ - aadResourceId?: any; + allowHostNameCNMismatch?: any; /** - * Specify the credential type (key or cert) is used for service principal. + * Specifies whether to allow self-signed certificates from the server. The default value is false. */ - aadServicePrincipalCredentialType?: string; + allowSelfSignedServerCert?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). - */ - authHeaders?: any; - /** - * Type of authentication used to connect to the OData service. - */ - authenticationType?: string; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + * The authentication type to use. */ - azureCloudType?: any; + authenticationType: string; /** * The integration runtime reference. */ @@ -144526,57 +146669,53 @@ export namespace datafactory { * Linked service description. */ description?: string; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. + */ + enableSsl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** + * The IP address or host name of the Impala server. (i.e. 192.168.222.160) + */ + host: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password of the OData service. + * The password corresponding to the user name when using UsernameAndPassword. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - */ - servicePrincipalEmbeddedCert?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalEmbeddedCertPassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + * The TCP port that the Impala server uses to listen for client connections. The default value is 21050. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + port?: any; /** - * Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ - tenant?: any; + trustedCertPath?: any; /** * Type of linked service. - * Expected value is 'OData'. + * Expected value is 'Impala'. */ - type: "OData"; + type: "Impala"; /** - * The URL of the OData service endpoint. Type: string (or Expression with resultType string). + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ - url: any; + useSystemTrustStore?: any; /** - * User name of the OData service. Type: string (or Expression with resultType string). + * The user name used to access the Impala server. The default value is anonymous when using SASLUsername. */ - userName?: any; + username?: any; } /** - * The Open Data Protocol (OData) resource dataset. + * Impala server dataset. */ - export interface ODataResourceDatasetResponse { + export interface ImpalaObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -144597,10 +146736,6 @@ export namespace datafactory { * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * The OData resource path. Type: string (or Expression with resultType string). - */ - path?: any; /** * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ @@ -144609,17 +146744,25 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The table name of the Impala. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; /** * Type of dataset. - * Expected value is 'ODataResource'. + * Expected value is 'ImpalaObject'. */ - type: "ODataResource"; + type: "ImpalaObject"; } /** - * A copy activity source for OData source. + * A copy activity Impala server source. */ - export interface ODataSourceResponse { + export interface ImpalaSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -144628,18 +146771,18 @@ export namespace datafactory { * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * OData query. For example, "$top=1". Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -144650,21 +146793,21 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'ODataSource'. + * Expected value is 'ImpalaSource'. */ - type: "ODataSource"; + type: "ImpalaSource"; } /** - * Open Database Connectivity (ODBC) linked service. + * Informix linked service. */ - export interface OdbcLinkedServiceResponse { + export interface InformixLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + * Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ authenticationType?: any; /** @@ -144697,9 +146840,9 @@ export namespace datafactory { password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'Odbc'. + * Expected value is 'Informix'. */ - type: "Odbc"; + type: "Informix"; /** * User name for Basic authentication. Type: string (or Expression with resultType string). */ @@ -144707,9 +146850,9 @@ export namespace datafactory { } /** - * A copy activity ODBC sink. + * A copy activity Informix sink. */ - export interface OdbcSinkResponse { + export interface InformixSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -144732,9 +146875,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'OdbcSink'. + * Expected value is 'InformixSink'. */ - type: "OdbcSink"; + type: "InformixSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -144746,9 +146889,9 @@ export namespace datafactory { } /** - * A copy activity source for ODBC databases. + * A copy activity source for Informix. */ - export interface OdbcSourceResponse { + export interface InformixSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -144779,15 +146922,15 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'OdbcSource'. + * Expected value is 'InformixSource'. */ - type: "OdbcSource"; + type: "InformixSource"; } /** - * The ODBC table dataset. + * The Informix table dataset. */ - export interface OdbcTableDatasetResponse { + export interface InformixTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -144817,355 +146960,241 @@ export namespace datafactory { */ structure?: any; /** - * The ODBC table name. Type: string (or Expression with resultType string). + * The Informix table name. Type: string (or Expression with resultType string). */ tableName?: any; /** * Type of dataset. - * Expected value is 'OdbcTable'. + * Expected value is 'InformixTable'. */ - type: "OdbcTable"; + type: "InformixTable"; } /** - * The Office365 account. + * The compute resource properties for managed integration runtime. */ - export interface Office365DatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; + export interface IntegrationRuntimeComputePropertiesResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * CopyComputeScale properties for managed integration runtime. */ - folder?: outputs.datafactory.DatasetResponseFolder; + copyComputeScaleProperties?: outputs.datafactory.CopyComputeScalePropertiesResponse; /** - * Linked service reference. + * Data flow properties for managed integration runtime. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + dataFlowProperties?: outputs.datafactory.IntegrationRuntimeDataFlowPropertiesResponse; /** - * Parameters for dataset. + * The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + location?: string; /** - * A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). + * Maximum parallel executions count per node for managed integration runtime. */ - predicate?: any; + maxParallelExecutionsPerNode?: number; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The node size requirement to managed integration runtime. */ - schema?: any; + nodeSize?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The required number of nodes for managed integration runtime. */ - structure?: any; + numberOfNodes?: number; /** - * Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). + * PipelineExternalComputeScale properties for managed integration runtime. */ - tableName: any; + pipelineExternalComputeScaleProperties?: outputs.datafactory.PipelineExternalComputeScalePropertiesResponse; /** - * Type of dataset. - * Expected value is 'Office365Table'. + * VNet properties for managed integration runtime. */ - type: "Office365Table"; + vNetProperties?: outputs.datafactory.IntegrationRuntimeVNetPropertiesResponse; } /** - * Office365 linked service. + * Custom setup script properties for a managed dedicated integration runtime. */ - export interface Office365LinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string). - */ - office365TenantId: any; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Specify the application's client ID. Type: string (or Expression with resultType string). - */ - servicePrincipalId: any; - /** - * Specify the application's key. - */ - servicePrincipalKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface IntegrationRuntimeCustomSetupScriptPropertiesResponse { /** - * Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). + * The URI of the Azure blob container that contains the custom setup script. */ - servicePrincipalTenantId: any; + blobContainerUri?: string; /** - * Type of linked service. - * Expected value is 'Office365'. + * The SAS token of the Azure blob container. */ - type: "Office365"; + sasToken?: outputs.datafactory.SecureStringResponse; } /** - * A copy activity source for an Office 365 service. + * The definition and properties of virtual network to which Azure-SSIS integration runtime will join. */ - export interface Office365SourceResponse { - /** - * The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). - */ - allowedGroups?: any; - /** - * The Column to apply the and . Type: string (or Expression with resultType string). - */ - dateFilterColumn?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * End time of the requested range for this dataset. Type: string (or Expression with resultType string). - */ - endTime?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] - */ - outputColumns?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Start time of the requested range for this dataset. Type: string (or Expression with resultType string). - */ - startTime?: any; - /** - * Copy source type. - * Expected value is 'Office365Source'. - */ - type: "Office365Source"; + export interface IntegrationRuntimeCustomerVirtualNetworkResponse { /** - * The user scope uri. Type: string (or Expression with resultType string). + * The ID of subnet to which Azure-SSIS integration runtime will join. */ - userScopeFilterUri?: any; + subnetId?: string; } /** - * Linked service for Oracle Cloud Storage. + * Data flow properties for managed integration runtime. */ - export interface OracleCloudStorageLinkedServiceResponse { - /** - * The access key identifier of the Oracle Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; + export interface IntegrationRuntimeDataFlowPropertiesResponse { /** - * The integration runtime reference. + * Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + cleanup?: boolean; /** - * Linked service description. + * Compute type of the cluster which will execute data flow job. */ - description?: string; + computeType?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. */ - encryptedCredential?: string; + coreCount?: number; /** - * Parameters for linked service. + * Custom properties are used to tune the data flow runtime performance. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + customProperties?: outputs.datafactory.IntegrationRuntimeDataFlowPropertiesResponseCustomProperties[]; /** - * The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. + * Time to live (in minutes) setting of the cluster which will execute data flow job. */ - secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + timeToLive?: number; + } + + export interface IntegrationRuntimeDataFlowPropertiesResponseCustomProperties { /** - * This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). + * Name of custom property. */ - serviceUrl?: any; + name?: string; /** - * Type of linked service. - * Expected value is 'OracleCloudStorage'. + * Value of custom property. */ - type: "OracleCloudStorage"; + value?: string; } /** - * The location of Oracle Cloud Storage dataset. + * Data proxy properties for a managed dedicated integration runtime. */ - export interface OracleCloudStorageLocationResponse { - /** - * Specify the bucketName of Oracle Cloud Storage. Type: string (or Expression with resultType string) - */ - bucketName?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + export interface IntegrationRuntimeDataProxyPropertiesResponse { /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * The self-hosted integration runtime reference. */ - folderPath?: any; + connectVia?: outputs.datafactory.EntityReferenceResponse; /** - * Type of dataset storage location. - * Expected value is 'OracleCloudStorageLocation'. + * The path to contain the staged data in the Blob storage. */ - type: "OracleCloudStorageLocation"; + path?: string; /** - * Specify the version of Oracle Cloud Storage. Type: string (or Expression with resultType string). + * The staging linked service reference. */ - version?: any; + stagingLinkedService?: outputs.datafactory.EntityReferenceResponse; } /** - * Oracle Cloud Storage read settings. + * Integration runtime reference type. */ - export interface OracleCloudStorageReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). - */ - enablePartitionDiscovery?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; + export interface IntegrationRuntimeReferenceResponse { /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * Arguments for integration runtime. */ - modifiedDatetimeEnd?: any; + parameters?: {[key: string]: any}; /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * Reference integration runtime name. */ - modifiedDatetimeStart?: any; + referenceName: string; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Type of integration runtime. */ - partitionRootPath?: any; + type: string; + } + + /** + * Catalog information for managed dedicated integration runtime. + */ + export interface IntegrationRuntimeSsisCatalogInfoResponse { /** - * The prefix filter for the Oracle Cloud Storage object name. Type: string (or Expression with resultType string). + * The password of the administrator user account of the catalog database. */ - prefix?: any; + catalogAdminPassword?: outputs.datafactory.SecureStringResponse; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * The administrator user name of catalog database. */ - recursive?: any; + catalogAdminUserName?: string; /** - * The read setting type. - * Expected value is 'OracleCloudStorageReadSettings'. + * The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/ */ - type: "OracleCloudStorageReadSettings"; + catalogPricingTier?: string; /** - * Oracle Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). + * The catalog database server URL. */ - wildcardFileName?: any; + catalogServerEndpoint?: string; /** - * Oracle Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). + * The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. */ - wildcardFolderPath?: any; + dualStandbyPairName?: string; } /** - * Oracle database. + * SSIS properties for managed integration runtime. */ - export interface OracleLinkedServiceResponse { + export interface IntegrationRuntimeSsisPropertiesResponse { /** - * List of tags that can be used for describing the linked service. + * Catalog information for managed dedicated integration runtime. */ - annotations?: any[]; + catalogInfo?: outputs.datafactory.IntegrationRuntimeSsisCatalogInfoResponse; /** - * The integration runtime reference. + * The credential reference containing authentication information. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Custom setup script properties for a managed dedicated integration runtime. */ - connectionString: any; + customSetupScriptProperties?: outputs.datafactory.IntegrationRuntimeCustomSetupScriptPropertiesResponse; /** - * Linked service description. + * Data proxy properties for a managed dedicated integration runtime. */ - description?: string; + dataProxyProperties?: outputs.datafactory.IntegrationRuntimeDataProxyPropertiesResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The edition for the SSIS Integration Runtime */ - encryptedCredential?: string; + edition?: string; /** - * Parameters for linked service. + * Custom setup without script properties for a SSIS integration runtime. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + expressCustomSetupProperties?: (outputs.datafactory.AzPowerShellSetupResponse | outputs.datafactory.CmdkeySetupResponse | outputs.datafactory.ComponentSetupResponse | outputs.datafactory.EnvironmentVariableSetupResponse)[]; /** - * The Azure key vault secret reference of password in connection string. + * License type for bringing your own license scenario. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + licenseType?: string; /** - * Type of linked service. - * Expected value is 'Oracle'. + * Package stores for the SSIS Integration Runtime. */ - type: "Oracle"; + packageStores?: outputs.datafactory.PackageStoreResponse[]; } /** - * The settings that will be leveraged for Oracle source partitioning. + * VNet properties for managed integration runtime. */ - export interface OraclePartitionSettingsResponse { + export interface IntegrationRuntimeVNetPropertiesResponse { /** - * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * Resource IDs of the public IP addresses that this integration runtime will use. */ - partitionColumnName?: any; + publicIPs?: string[]; /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * The name of the subnet this integration runtime will join. */ - partitionLowerBound?: any; + subnet?: string; /** - * Names of the physical partitions of Oracle table. + * The ID of subnet, to which this Azure-SSIS integration runtime will be joined. */ - partitionNames?: any[]; + subnetId?: string; /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * The ID of the VNet that this integration runtime will join. */ - partitionUpperBound?: any; + vNetId?: string; } /** - * Oracle Service Cloud linked service. + * Jira Service linked service. */ - export interface OracleServiceCloudLinkedServiceResponse { + export interface JiraLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ @@ -145183,7 +147212,7 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The URL of the Oracle Service Cloud instance. + * The IP address or host name of the Jira service. (e.g. jira.example.com) */ host: any; /** @@ -145191,36 +147220,40 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name that you provided in the username key. + * The password corresponding to the user name that you provided in the username field. */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP. + */ + port?: any; /** * Type of linked service. - * Expected value is 'OracleServiceCloud'. + * Expected value is 'Jira'. */ - type: "OracleServiceCloud"; + type: "Jira"; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ useEncryptedEndpoints?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ useHostVerification?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ usePeerVerification?: any; /** - * The user name that you use to access Oracle Service Cloud server. + * The user name that you use to access Jira Service. */ username: any; } /** - * Oracle Service Cloud dataset. + * Jira Service dataset. */ - export interface OracleServiceCloudObjectDatasetResponse { + export interface JiraObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -145255,15 +147288,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'OracleServiceCloudObject'. + * Expected value is 'JiraObject'. */ - type: "OracleServiceCloudObject"; + type: "JiraObject"; } /** - * A copy activity Oracle Service Cloud source. + * A copy activity Jira Service source. */ - export interface OracleServiceCloudSourceResponse { + export interface JiraSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -145294,117 +147327,43 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'OracleServiceCloudSource'. + * Expected value is 'JiraSource'. */ - type: "OracleServiceCloudSource"; + type: "JiraSource"; } /** - * A copy activity Oracle sink. + * Json dataset. */ - export interface OracleSinkResponse { + export interface JsonDatasetResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The data compression method used for the json dataset. */ - maxConcurrentConnections?: any; + compression?: outputs.datafactory.DatasetCompressionResponse; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * Dataset description. */ - preCopyScript?: any; + description?: string; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + encodingName?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - sinkRetryWait?: any; - /** - * Copy sink type. - * Expected value is 'OracleSink'. - */ - type: "OracleSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - } - - /** - * A copy activity Oracle source. - */ - export interface OracleSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Oracle reader query. Type: string (or Expression with resultType string). - */ - oracleReaderQuery?: any; - /** - * The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Oracle source partitioning. - */ - partitionSettings?: outputs.datafactory.OraclePartitionSettingsResponse; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'OracleSource'. - */ - type: "OracleSource"; - } - - /** - * The on-premises Oracle database dataset. - */ - export interface OracleTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The location of the json data storage. + */ + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; /** * Parameters for dataset. */ @@ -145417,99 +147376,79 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'OracleTable'. + * Expected value is 'Json'. */ - type: "OracleTable"; + type: "Json"; } /** - * ORC dataset. + * The data stored in JSON format. */ - export interface OrcDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; + export interface JsonFormatResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Deserializer. Type: string (or Expression with resultType string). */ - folder?: outputs.datafactory.DatasetResponseFolder; + deserializer?: any; /** - * Linked service reference. + * The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + encodingName?: any; /** - * The location of the ORC data storage. + * File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + filePattern?: any; /** - * The data orcCompressionCodec. Type: string (or Expression with resultType string). + * The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). */ - orcCompressionCodec?: any; + jsonNodeReference?: any; /** - * Parameters for dataset. + * The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + jsonPathDefinition?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). */ - schema?: any; + nestingSeparator?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Serializer. Type: string (or Expression with resultType string). */ - structure?: any; + serializer?: any; /** - * Type of dataset. - * Expected value is 'Orc'. + * Type of dataset storage format. + * Expected value is 'JsonFormat'. */ - type: "Orc"; + type: "JsonFormat"; } /** - * The data stored in Optimized Row Columnar (ORC) format. + * Json read settings. */ - export interface OrcFormatResponse { - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; + export interface JsonReadSettingsResponse { /** - * Serializer. Type: string (or Expression with resultType string). + * Compression settings. */ - serializer?: any; + compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; /** - * Type of dataset storage format. - * Expected value is 'OrcFormat'. + * The read setting type. + * Expected value is 'JsonReadSettings'. */ - type: "OrcFormat"; + type: "JsonReadSettings"; } /** - * A copy activity ORC sink. + * A copy activity Json sink. */ - export interface OrcSinkResponse { + export interface JsonSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * ORC format settings. + * Json format settings. */ - formatSettings?: outputs.datafactory.OrcWriteSettingsResponse; + formatSettings?: outputs.datafactory.JsonWriteSettingsResponse; /** * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ @@ -145523,14 +147462,14 @@ export namespace datafactory { */ sinkRetryWait?: any; /** - * ORC store settings. + * Json store settings. */ storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; /** * Copy sink type. - * Expected value is 'OrcSink'. + * Expected value is 'JsonSink'. */ - type: "OrcSink"; + type: "JsonSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -145542,9 +147481,9 @@ export namespace datafactory { } /** - * A copy activity ORC source. + * A copy activity Json source. */ - export interface OrcSourceResponse { + export interface JsonSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -145553,6 +147492,10 @@ export namespace datafactory { * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * Json format settings. + */ + formatSettings?: outputs.datafactory.JsonReadSettingsResponse; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ @@ -145566,242 +147509,230 @@ export namespace datafactory { */ sourceRetryWait?: any; /** - * ORC store settings. + * Json store settings. */ storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** * Copy source type. - * Expected value is 'OrcSource'. + * Expected value is 'JsonSource'. */ - type: "OrcSource"; + type: "JsonSource"; } /** - * Orc write settings. + * Json write settings. */ - export interface OrcWriteSettingsResponse { - /** - * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). - */ - fileNamePrefix?: any; + export interface JsonWriteSettingsResponse { /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). + * File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. */ - maxRowsPerFile?: any; + filePattern?: any; /** * The write setting type. - * Expected value is 'OrcWriteSettings'. + * Expected value is 'JsonWriteSettings'. */ - type: "OrcWriteSettings"; + type: "JsonWriteSettings"; } /** - * Package store for the SSIS integration runtime. + * The key authorization type integration runtime. */ - export interface PackageStoreResponse { + export interface LinkedIntegrationRuntimeKeyAuthorizationResponse { /** - * The name of the package store + * The authorization type for integration runtime sharing. + * Expected value is 'Key'. */ - name: string; + authorizationType: "Key"; /** - * The package store linked service reference. + * The key used for authorization. */ - packageStoreLinkedService: outputs.datafactory.EntityReferenceResponse; + key: outputs.datafactory.SecureStringResponse; } /** - * Definition of a single parameter for an entity. + * The role based access control (RBAC) authorization type integration runtime. */ - export interface ParameterSpecificationResponse { + export interface LinkedIntegrationRuntimeRbacAuthorizationResponse { /** - * Default value of parameter. + * The authorization type for integration runtime sharing. + * Expected value is 'RBAC'. */ - defaultValue?: any; + authorizationType: "RBAC"; /** - * Parameter type. + * The credential reference containing authentication information. */ - type: string; + credential?: outputs.datafactory.CredentialReferenceResponse; + /** + * The resource identifier of the integration runtime to be shared. + */ + resourceId: string; } /** - * Parquet dataset. + * The linked integration runtime information. */ - export interface ParquetDatasetResponse { + export interface LinkedIntegrationRuntimeResponse { /** - * List of tags that can be used for describing the Dataset. + * The creating time of the linked integration runtime. */ - annotations?: any[]; + createTime: string; /** - * The data compressionCodec. Type: string (or Expression with resultType string). + * The location of the data factory for which the linked integration runtime belong to. */ - compressionCodec?: any; + dataFactoryLocation: string; /** - * Dataset description. + * The name of the data factory for which the linked integration runtime belong to. */ - description?: string; + dataFactoryName: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The name of the linked integration runtime. */ - folder?: outputs.datafactory.DatasetResponseFolder; + name: string; /** - * Linked service reference. + * The subscription ID for which the linked integration runtime belong to. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + subscriptionId: string; + } + + /** + * Linked service reference type. + */ + export interface LinkedServiceReferenceResponse { /** - * The location of the parquet storage. + * Arguments for LinkedService. */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + parameters?: {[key: string]: any}; /** - * Parameters for dataset. + * Reference LinkedService name. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + referenceName: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Linked service reference type. */ - schema?: any; + type: string; + } + + /** + * Log location settings. + */ + export interface LogLocationSettingsResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Log storage linked service reference. */ - structure?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Type of dataset. - * Expected value is 'Parquet'. + * The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). */ - type: "Parquet"; + path?: any; } /** - * The data stored in Parquet format. + * Log settings. */ - export interface ParquetFormatResponse { + export interface LogSettingsResponse { /** - * Deserializer. Type: string (or Expression with resultType string). + * Specifies settings for copy activity log. */ - deserializer?: any; + copyActivityLogSettings?: outputs.datafactory.CopyActivityLogSettingsResponse; /** - * Serializer. Type: string (or Expression with resultType string). + * Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean). */ - serializer?: any; + enableCopyActivityLog?: any; /** - * Type of dataset storage format. - * Expected value is 'ParquetFormat'. + * Log location settings customer needs to provide when enabling log. */ - type: "ParquetFormat"; + logLocationSettings: outputs.datafactory.LogLocationSettingsResponse; } /** - * A copy activity Parquet sink. + * (Deprecated. Please use LogSettings) Log storage settings. */ - export interface ParquetSinkResponse { + export interface LogStorageSettingsResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). */ - disableMetricsCollection?: any; + enableReliableLogging?: any; /** - * Parquet format settings. + * Log storage linked service reference. */ - formatSettings?: outputs.datafactory.ParquetWriteSettingsResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + logLevel?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). */ - sinkRetryCount?: any; + path?: any; + } + + /** + * Lookup activity. + */ + export interface LookupActivityResponse { /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Lookup activity dataset reference. */ - sinkRetryWait?: any; + dataset: outputs.datafactory.DatasetReferenceResponse; /** - * Parquet store settings. + * Activity depends on condition. */ - storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Copy sink type. - * Expected value is 'ParquetSink'. + * Activity description. */ - type: "ParquetSink"; + description?: string; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). */ - writeBatchSize?: any; + firstRowOnly?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service reference. */ - writeBatchTimeout?: any; - } - - /** - * A copy activity Parquet source. - */ - export interface ParquetSourceResponse { + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Activity name. */ - additionalColumns?: any; + name: string; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - disableMetricsCollection?: any; + onInactiveMarkAs?: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Activity policy. */ - maxConcurrentConnections?: any; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Dataset-specific source properties, same as copy activity source. */ - sourceRetryCount?: any; + source: outputs.datafactory.AmazonMWSSourceResponse | outputs.datafactory.AmazonRdsForOracleSourceResponse | outputs.datafactory.AmazonRdsForSqlServerSourceResponse | outputs.datafactory.AmazonRedshiftSourceResponse | outputs.datafactory.AvroSourceResponse | outputs.datafactory.AzureBlobFSSourceResponse | outputs.datafactory.AzureDataExplorerSourceResponse | outputs.datafactory.AzureDataLakeStoreSourceResponse | outputs.datafactory.AzureDatabricksDeltaLakeSourceResponse | outputs.datafactory.AzureMariaDBSourceResponse | outputs.datafactory.AzureMySqlSourceResponse | outputs.datafactory.AzurePostgreSqlSourceResponse | outputs.datafactory.AzureSqlSourceResponse | outputs.datafactory.AzureTableSourceResponse | outputs.datafactory.BinarySourceResponse | outputs.datafactory.BlobSourceResponse | outputs.datafactory.CassandraSourceResponse | outputs.datafactory.CommonDataServiceForAppsSourceResponse | outputs.datafactory.ConcurSourceResponse | outputs.datafactory.CosmosDbMongoDbApiSourceResponse | outputs.datafactory.CosmosDbSqlApiSourceResponse | outputs.datafactory.CouchbaseSourceResponse | outputs.datafactory.Db2SourceResponse | outputs.datafactory.DelimitedTextSourceResponse | outputs.datafactory.DocumentDbCollectionSourceResponse | outputs.datafactory.DrillSourceResponse | outputs.datafactory.DynamicsAXSourceResponse | outputs.datafactory.DynamicsCrmSourceResponse | outputs.datafactory.DynamicsSourceResponse | outputs.datafactory.EloquaSourceResponse | outputs.datafactory.ExcelSourceResponse | outputs.datafactory.FileSystemSourceResponse | outputs.datafactory.GoogleAdWordsSourceResponse | outputs.datafactory.GoogleBigQuerySourceResponse | outputs.datafactory.GreenplumSourceResponse | outputs.datafactory.HBaseSourceResponse | outputs.datafactory.HdfsSourceResponse | outputs.datafactory.HiveSourceResponse | outputs.datafactory.HttpSourceResponse | outputs.datafactory.HubspotSourceResponse | outputs.datafactory.ImpalaSourceResponse | outputs.datafactory.InformixSourceResponse | outputs.datafactory.JiraSourceResponse | outputs.datafactory.JsonSourceResponse | outputs.datafactory.MagentoSourceResponse | outputs.datafactory.MariaDBSourceResponse | outputs.datafactory.MarketoSourceResponse | outputs.datafactory.MicrosoftAccessSourceResponse | outputs.datafactory.MongoDbAtlasSourceResponse | outputs.datafactory.MongoDbSourceResponse | outputs.datafactory.MongoDbV2SourceResponse | outputs.datafactory.MySqlSourceResponse | outputs.datafactory.NetezzaSourceResponse | outputs.datafactory.ODataSourceResponse | outputs.datafactory.OdbcSourceResponse | outputs.datafactory.Office365SourceResponse | outputs.datafactory.OracleServiceCloudSourceResponse | outputs.datafactory.OracleSourceResponse | outputs.datafactory.OrcSourceResponse | outputs.datafactory.ParquetSourceResponse | outputs.datafactory.PaypalSourceResponse | outputs.datafactory.PhoenixSourceResponse | outputs.datafactory.PostgreSqlSourceResponse | outputs.datafactory.PrestoSourceResponse | outputs.datafactory.QuickBooksSourceResponse | outputs.datafactory.RelationalSourceResponse | outputs.datafactory.ResponsysSourceResponse | outputs.datafactory.RestSourceResponse | outputs.datafactory.SalesforceMarketingCloudSourceResponse | outputs.datafactory.SalesforceServiceCloudSourceResponse | outputs.datafactory.SalesforceSourceResponse | outputs.datafactory.SapBwSourceResponse | outputs.datafactory.SapCloudForCustomerSourceResponse | outputs.datafactory.SapEccSourceResponse | outputs.datafactory.SapHanaSourceResponse | outputs.datafactory.SapOdpSourceResponse | outputs.datafactory.SapOpenHubSourceResponse | outputs.datafactory.SapTableSourceResponse | outputs.datafactory.ServiceNowSourceResponse | outputs.datafactory.SharePointOnlineListSourceResponse | outputs.datafactory.ShopifySourceResponse | outputs.datafactory.SnowflakeSourceResponse | outputs.datafactory.SparkSourceResponse | outputs.datafactory.SqlDWSourceResponse | outputs.datafactory.SqlMISourceResponse | outputs.datafactory.SqlServerSourceResponse | outputs.datafactory.SqlSourceResponse | outputs.datafactory.SquareSourceResponse | outputs.datafactory.SybaseSourceResponse | outputs.datafactory.TabularSourceResponse | outputs.datafactory.TeradataSourceResponse | outputs.datafactory.VerticaSourceResponse | outputs.datafactory.WebSourceResponse | outputs.datafactory.XeroSourceResponse | outputs.datafactory.XmlSourceResponse | outputs.datafactory.ZohoSourceResponse; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - sourceRetryWait?: any; + state?: string; /** - * Parquet store settings. + * Type of activity. + * Expected value is 'Lookup'. */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + type: "Lookup"; /** - * Copy source type. - * Expected value is 'ParquetSource'. + * Activity user properties. */ - type: "ParquetSource"; + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Parquet write settings. + * Magento server linked service. */ - export interface ParquetWriteSettingsResponse { - /** - * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). - */ - fileNamePrefix?: any; - /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). - */ - maxRowsPerFile?: any; + export interface MagentoLinkedServiceResponse { /** - * The write setting type. - * Expected value is 'ParquetWriteSettings'. + * The access token from Magento. */ - type: "ParquetWriteSettings"; - } - - /** - * Paypal Service linked service. - */ - export interface PaypalLinkedServiceResponse { + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The client ID associated with your PayPal application. - */ - clientId: any; - /** - * The client secret associated with your PayPal application. - */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ @@ -145815,7 +147746,7 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) + * The URL of the Magento instance. (i.e. 192.168.222.110/magento3) */ host: any; /** @@ -145824,9 +147755,9 @@ export namespace datafactory { parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** * Type of linked service. - * Expected value is 'Paypal'. + * Expected value is 'Magento'. */ - type: "Paypal"; + type: "Magento"; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ @@ -145842,9 +147773,9 @@ export namespace datafactory { } /** - * Paypal Service dataset. + * Magento server dataset. */ - export interface PaypalObjectDatasetResponse { + export interface MagentoObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -145879,15 +147810,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'PaypalObject'. + * Expected value is 'MagentoObject'. */ - type: "PaypalObject"; + type: "MagentoObject"; } /** - * A copy activity Paypal Service source. + * A copy activity Magento server source. */ - export interface PaypalSourceResponse { + export interface MagentoSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -145918,264 +147849,473 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'PaypalSource'. + * Expected value is 'MagentoSource'. */ - type: "PaypalSource"; + type: "MagentoSource"; } /** - * Phoenix server linked service. + * Managed identity credential. */ - export interface PhoenixLinkedServiceResponse { + export interface ManagedIdentityCredentialResponse { /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. + * List of tags that can be used for describing the Credential. */ - allowHostNameCNMismatch?: any; + annotations?: any[]; /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. + * Credential description. */ - allowSelfSignedServerCert?: any; + description?: string; /** - * List of tags that can be used for describing the linked service. + * The resource id of user assigned managed identity */ - annotations?: any[]; + resourceId?: string; /** - * The authentication mechanism used to connect to the Phoenix server. + * Type of credential. + * Expected value is 'ManagedIdentity'. */ - authenticationType: string; + type: "ManagedIdentity"; + } + + /** + * Error definition for managed integration runtime. + */ + export interface ManagedIntegrationRuntimeErrorResponse { /** - * The integration runtime reference. + * Error code. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + code: string; /** - * Linked service description. + * Error message. */ - description?: string; + message: string; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. + * Managed integration runtime error parameters. */ - enableSsl?: any; + parameters: string[]; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The time when the error occurred. */ - encryptedCredential?: string; + time: string; + } + + /** + * Properties of integration runtime node. + */ + export interface ManagedIntegrationRuntimeNodeResponse { /** - * The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) + * The errors that occurred on this integration runtime node. */ - host: any; + errors?: outputs.datafactory.ManagedIntegrationRuntimeErrorResponse[]; /** - * The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. + * The managed integration runtime node id. */ - httpPath?: any; + nodeId: string; /** - * Parameters for linked service. + * The managed integration runtime node status. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + status: string; + } + + /** + * Properties of managed integration runtime operation result. + */ + export interface ManagedIntegrationRuntimeOperationResultResponse { /** - * The password corresponding to the user name. + * The activity id for the operation request. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + activityId: string; /** - * The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. + * The error code. */ - port?: any; + errorCode: string; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + * Managed integration runtime error parameters. */ - trustedCertPath?: any; + parameters: string[]; /** - * Type of linked service. - * Expected value is 'Phoenix'. + * The operation result. */ - type: "Phoenix"; + result: string; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + * The start time of the operation. */ - useSystemTrustStore?: any; + startTime: string; /** - * The user name used to connect to the Phoenix server. + * The operation type. Could be start or stop. */ - username?: any; + type: string; } /** - * Phoenix server dataset. + * Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */ - export interface PhoenixObjectDatasetResponse { + export interface ManagedIntegrationRuntimeResponse { /** - * List of tags that can be used for describing the Dataset. + * The compute resource for managed integration runtime. */ - annotations?: any[]; + computeProperties?: outputs.datafactory.IntegrationRuntimeComputePropertiesResponse; /** - * Dataset description. + * The name of virtual network to which Azure-SSIS integration runtime will join + */ + customerVirtualNetwork?: outputs.datafactory.IntegrationRuntimeCustomerVirtualNetworkResponse; + /** + * Integration runtime description. */ description?: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Managed Virtual Network reference. */ - folder?: outputs.datafactory.DatasetResponseFolder; + managedVirtualNetwork?: outputs.datafactory.ManagedVirtualNetworkReferenceResponse; /** - * Linked service reference. + * SSIS properties for managed integration runtime. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + ssisProperties?: outputs.datafactory.IntegrationRuntimeSsisPropertiesResponse; /** - * Parameters for dataset. + * Integration runtime state, only valid for managed dedicated integration runtime. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + state: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The type of integration runtime. + * Expected value is 'Managed'. */ - schema?: any; + type: "Managed"; + } + + /** + * Managed integration runtime status. + */ + export interface ManagedIntegrationRuntimeStatusResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * The time at which the integration runtime was created, in ISO8601 format. */ - structure?: any; + createTime: string; /** - * The table name of the Phoenix. Type: string (or Expression with resultType string). + * The data factory name which the integration runtime belong to. */ - table?: any; + dataFactoryName: string; /** - * This property will be retired. Please consider using schema + table properties instead. + * The last operation result that occurred on this integration runtime. */ - tableName?: any; + lastOperation: outputs.datafactory.ManagedIntegrationRuntimeOperationResultResponse; /** - * Type of dataset. - * Expected value is 'PhoenixObject'. + * The list of nodes for managed integration runtime. */ - type: "PhoenixObject"; + nodes: outputs.datafactory.ManagedIntegrationRuntimeNodeResponse[]; + /** + * The errors that occurred on this integration runtime. + */ + otherErrors: outputs.datafactory.ManagedIntegrationRuntimeErrorResponse[]; + /** + * The state of integration runtime. + */ + state: string; + /** + * The type of integration runtime. + * Expected value is 'Managed'. + */ + type: "Managed"; } /** - * A copy activity Phoenix server source. + * Properties of a managed private endpoint */ - export interface PhoenixSourceResponse { + export interface ManagedPrivateEndpointResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The managed private endpoint connection state */ - additionalColumns?: any; + connectionState?: outputs.datafactory.ConnectionStatePropertiesResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Fully qualified domain names */ - disableMetricsCollection?: any; + fqdns?: string[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The groupId to which the managed private endpoint is created */ - maxConcurrentConnections?: any; + groupId?: string; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Denotes whether the managed private endpoint is reserved */ - query?: any; + isReserved: boolean; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The ARM resource ID of the resource to which the managed private endpoint is created */ - queryTimeout?: any; + privateLinkResourceId?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The managed private endpoint provisioning state */ - sourceRetryCount?: any; + provisioningState: string; + } + + /** + * Managed Virtual Network reference type. + */ + export interface ManagedVirtualNetworkReferenceResponse { /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Reference ManagedVirtualNetwork name. */ - sourceRetryWait?: any; + referenceName: string; /** - * Copy source type. - * Expected value is 'PhoenixSource'. + * Managed Virtual Network reference type. */ - type: "PhoenixSource"; + type: string; } /** - * Pipeline ElapsedTime Metric Policy. + * Source and target column mapping details. */ - export interface PipelineElapsedTimeMetricPolicyResponse { + export interface MapperAttributeMappingResponse { /** - * TimeSpan value, after which an Azure Monitoring Metric is fired. + * Reference of the source column used in the mapping. It is used for 'Direct' mapping type only. */ - duration?: any; + attributeReference?: outputs.datafactory.MapperAttributeReferenceResponse; + /** + * List of references for source columns. It is used for 'Derived' and 'Aggregate' type mappings only. + */ + attributeReferences?: outputs.datafactory.MapperAttributeReferenceResponse[]; + /** + * Expression used for 'Aggregate' and 'Derived' type mapping. + */ + expression?: string; + /** + * Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type mapping. + */ + functionName?: string; + /** + * Name of the target column. + */ + name?: string; + /** + * Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. + */ + type?: string; } /** - * PipelineExternalComputeScale properties for managed integration runtime. + * Attribute mapping details. */ - export interface PipelineExternalComputeScalePropertiesResponse { + export interface MapperAttributeMappingsResponse { /** - * Number of the the external nodes, which should be greater than 0 and less than 11. + * List of attribute mappings. */ - numberOfExternalNodes?: number; + attributeMappings?: outputs.datafactory.MapperAttributeMappingResponse[]; + } + + /** + * Attribute reference details for the referred column. + */ + export interface MapperAttributeReferenceResponse { /** - * Number of the pipeline nodes, which should be greater than 0 and less than 11. + * Name of the table. */ - numberOfPipelineNodes?: number; + entity?: string; /** - * Time to live (in minutes) setting of integration runtime which will execute pipeline and external activity. + * The connection reference for the connection. */ - timeToLive?: number; + entityConnectionReference?: outputs.datafactory.MapperConnectionReferenceResponse; + /** + * Name of the column. + */ + name?: string; } /** - * Pipeline Policy. + * Source or target connection reference details. */ - export interface PipelinePolicyResponse { + export interface MapperConnectionReferenceResponse { /** - * Pipeline ElapsedTime Metric Policy. + * Name of the connection */ - elapsedTimeMetric?: outputs.datafactory.PipelineElapsedTimeMetricPolicyResponse; + connectionName?: string; + /** + * Type of connection via linked service or dataset. + */ + type?: string; } /** - * Pipeline reference type. + * Source connection details. */ - export interface PipelineReferenceResponse { + export interface MapperConnectionResponse { /** - * Reference name. + * List of name/value pairs for connection properties. */ - name?: string; + commonDslConnectorProperties?: outputs.datafactory.MapperDslConnectorPropertiesResponse[]; /** - * Reference pipeline name. + * A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported. */ - referenceName: string; + isInlineDataset?: boolean; /** - * Pipeline reference type. + * Linked service reference. + */ + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Type of the linked service e.g.: AzureBlobFS. + */ + linkedServiceType?: string; + /** + * Type of connection via linked service or dataset. */ type: string; } /** - * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. + * Connector properties of a CDC table in terms of name / value pairs. */ - export interface PipelineResponseFolder { + export interface MapperDslConnectorPropertiesResponse { /** - * The name of the folder that this Pipeline is in. + * Name of the property. */ name?: string; + /** + * Value of the property. + */ + value?: any; } /** - * PolyBase settings. + * CDC policy recurrence details. */ - export interface PolybaseSettingsResponse { + export interface MapperPolicyRecurrenceResponse { /** - * Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. + * Frequency of period in terms of 'Hour', 'Minute' or 'Second'. */ - rejectSampleValue?: any; + frequency?: string; /** - * Reject type. + * Actual interval value as per chosen frequency. */ - rejectType?: string; + interval?: number; + } + + /** + * CDC Policy. + */ + export interface MapperPolicyResponse { /** - * Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. + * Mode of running the CDC: batch vs continuous. */ - rejectValue?: any; + mode?: string; /** - * Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). + * Defines the frequency and interval for running the CDC for batch mode. */ - useTypeDefault?: any; + recurrence?: outputs.datafactory.MapperPolicyRecurrenceResponse; } /** - * Linked service for PostgreSQL data source. + * A object which contains list of tables and connection details for a source connection. */ - export interface PostgreSqlLinkedServiceResponse { + export interface MapperSourceConnectionsInfoResponse { + /** + * Source connection details. + */ + connection?: outputs.datafactory.MapperConnectionResponse; + /** + * List of source tables for a source connection. + */ + sourceEntities?: outputs.datafactory.MapperTableResponse[]; + } + + /** + * CDC table details. + */ + export interface MapperTableResponse { + /** + * List of name/value pairs for connection properties. + */ + dslConnectorProperties?: outputs.datafactory.MapperDslConnectorPropertiesResponse[]; + /** + * Name of the table. + */ + name?: string; + /** + * List of columns for the source table. + */ + schema?: outputs.datafactory.MapperTableSchemaResponse[]; + } + + /** + * Schema of a CDC table in terms of column names and their corresponding data types. + */ + export interface MapperTableSchemaResponse { + /** + * Data type of the column. + */ + dataType?: string; + /** + * Name of the column. + */ + name?: string; + } + + /** + * A object which contains list of tables and connection details for a target connection. + */ + export interface MapperTargetConnectionsInfoResponse { + /** + * Source connection details. + */ + connection?: outputs.datafactory.MapperConnectionResponse; + /** + * List of table mappings. + */ + dataMapperMappings?: outputs.datafactory.DataMapperMappingResponse[]; + /** + * List of relationship info among the tables. + */ + relationships?: any[]; + /** + * List of source tables for a target connection. + */ + targetEntities?: outputs.datafactory.MapperTableResponse[]; + } + + /** + * Mapping data flow. + */ + export interface MappingDataFlowResponse { + /** + * List of tags that can be used for describing the data flow. + */ + annotations?: any[]; + /** + * The description of the data flow. + */ + description?: string; + /** + * The folder that this data flow is in. If not specified, Data flow will appear at the root level. + */ + folder?: outputs.datafactory.DataFlowResponseFolder; + /** + * DataFlow script. + */ + script?: string; + /** + * Data flow script lines. + */ + scriptLines?: string[]; + /** + * List of sinks in data flow. + */ + sinks?: outputs.datafactory.DataFlowSinkResponse[]; + /** + * List of sources in data flow. + */ + sources?: outputs.datafactory.DataFlowSourceResponse[]; + /** + * List of transformations in data flow. + */ + transformations?: outputs.datafactory.TransformationResponse[]; + /** + * Type of data flow. + * Expected value is 'MappingDataFlow'. + */ + type: "MappingDataFlow"; + } + + /** + * MariaDB server linked service. + */ + export interface MariaDBLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ @@ -146185,9 +148325,9 @@ export namespace datafactory { */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - connectionString: any; + connectionString?: any; /** * Linked service description. */ @@ -146203,18 +148343,18 @@ export namespace datafactory { /** * The Azure key vault secret reference of password in connection string. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * Type of linked service. - * Expected value is 'PostgreSql'. + * Expected value is 'MariaDB'. */ - type: "PostgreSql"; + type: "MariaDB"; } /** - * A copy activity source for PostgreSQL databases. + * A copy activity MariaDB server source. */ - export interface PostgreSqlSourceResponse { + export interface MariaDBSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -146228,7 +148368,7 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Database query. Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ query?: any; /** @@ -146245,15 +148385,15 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'PostgreSqlSource'. + * Expected value is 'MariaDBSource'. */ - type: "PostgreSqlSource"; + type: "MariaDBSource"; } /** - * The PostgreSQL table dataset. + * MariaDB server dataset. */ - export interface PostgreSqlTableDatasetResponse { + export interface MariaDBTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -146283,240 +148423,261 @@ export namespace datafactory { */ structure?: any; /** - * The PostgreSQL table name. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. + * The table name. Type: string (or Expression with resultType string). */ tableName?: any; /** * Type of dataset. - * Expected value is 'PostgreSqlTable'. + * Expected value is 'MariaDBTable'. */ - type: "PostgreSqlTable"; + type: "MariaDBTable"; } /** - * Map Power Query mashup query to sink dataset(s). + * Marketo server linked service. */ - export interface PowerQuerySinkMappingResponse { + export interface MarketoLinkedServiceResponse { /** - * List of sinks mapped to Power Query mashup query. + * List of tags that can be used for describing the linked service. */ - dataflowSinks?: outputs.datafactory.PowerQuerySinkResponse[]; + annotations?: any[]; /** - * Name of the query in Power Query mashup document. + * The client Id of your Marketo service. */ - queryName?: string; - } - - /** - * Power query sink. - */ - export interface PowerQuerySinkResponse { + clientId: any; /** - * Dataset reference. + * The client secret of your Marketo service. */ - dataset?: outputs.datafactory.DatasetReferenceResponse; + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Transformation description. + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. */ description?: string; /** - * Flowlet Reference + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - flowlet?: outputs.datafactory.DataFlowReferenceResponse; + encryptedCredential?: string; /** - * Linked service reference. + * The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + endpoint: any; /** - * Transformation name. + * Parameters for linked service. */ - name: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Rejected data linked service reference. + * Type of linked service. + * Expected value is 'Marketo'. */ - rejectedDataLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + type: "Marketo"; /** - * Schema linked service reference. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ - schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + useEncryptedEndpoints?: any; /** - * sink script. + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ - script?: string; + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; } /** - * Power query source. + * Marketo server dataset. */ - export interface PowerQuerySourceResponse { + export interface MarketoObjectDatasetResponse { /** - * Dataset reference. + * List of tags that can be used for describing the Dataset. */ - dataset?: outputs.datafactory.DatasetReferenceResponse; + annotations?: any[]; /** - * Transformation description. + * Dataset description. */ description?: string; /** - * Flowlet Reference + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - flowlet?: outputs.datafactory.DataFlowReferenceResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** * Linked service reference. */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Transformation name. + * Parameters for dataset. */ - name: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Schema linked service reference. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + schema?: any; /** - * source script. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - script?: string; + structure?: any; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'MarketoObject'. + */ + type: "MarketoObject"; } /** - * Presto server linked service. + * A copy activity Marketo server source. */ - export interface PrestoLinkedServiceResponse { + export interface MarketoSourceResponse { /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - allowHostNameCNMismatch?: any; + additionalColumns?: any; /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - allowSelfSignedServerCert?: any; + disableMetricsCollection?: any; /** - * List of tags that can be used for describing the linked service. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - annotations?: any[]; + maxConcurrentConnections?: any; /** - * The authentication mechanism used to connect to the Presto server. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - authenticationType: string; + query?: any; /** - * The catalog context for all request against the server. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - catalog: any; + queryTimeout?: any; /** - * The integration runtime reference. + * Source retry count. Type: integer (or Expression with resultType integer). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + sourceRetryCount?: any; /** - * Linked service description. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - description?: string; + sourceRetryWait?: any; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. + * Copy source type. + * Expected value is 'MarketoSource'. */ - enableSsl?: any; + type: "MarketoSource"; + } + + /** + * Specify the name and value of custom metadata item. + */ + export interface MetadataItemResponse { /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Metadata item key name. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + name?: any; /** - * The IP address or host name of the Presto server. (i.e. 192.168.222.160) + * Metadata item value. Type: string (or Expression with resultType string). */ - host: any; + value?: any; + } + + /** + * Microsoft Access linked service. + */ + export interface MicrosoftAccessLinkedServiceResponse { /** - * Parameters for linked service. + * List of tags that can be used for describing the linked service. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + annotations?: any[]; /** - * The password corresponding to the user name. + * Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + authenticationType?: any; /** - * The TCP port that the Presto server uses to listen for client connections. The default value is 8080. + * The integration runtime reference. */ - port?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The version of the Presto server. (i.e. 0.148-t) + * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ - serverVersion: any; + connectionString: any; /** - * The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. + * The access credential portion of the connection string specified in driver-specific property-value format. */ - timeZoneID?: any; + credential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + * Linked service description. */ - trustedCertPath?: any; + description?: string; /** - * Type of linked service. - * Expected value is 'Presto'. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - type: "Presto"; + encryptedCredential?: string; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + * Parameters for linked service. */ - useSystemTrustStore?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The user name used to connect to the Presto server. + * Password for Basic authentication. */ - username?: any; - } - - /** - * Presto server dataset. - */ - export interface PrestoObjectDatasetResponse { + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * List of tags that can be used for describing the Dataset. + * Type of linked service. + * Expected value is 'MicrosoftAccess'. */ - annotations?: any[]; + type: "MicrosoftAccess"; /** - * Dataset description. + * User name for Basic authentication. Type: string (or Expression with resultType string). */ - description?: string; + userName?: any; + } + + /** + * A copy activity Microsoft Access sink. + */ + export interface MicrosoftAccessSinkResponse { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + disableMetricsCollection?: any; /** - * Linked service reference. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + maxConcurrentConnections?: any; /** - * Parameters for dataset. + * A query to execute before starting the copy. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + preCopyScript?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - schema?: any; + sinkRetryCount?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - structure?: any; + sinkRetryWait?: any; /** - * The table name of the Presto. Type: string (or Expression with resultType string). + * Copy sink type. + * Expected value is 'MicrosoftAccessSink'. */ - table?: any; + type: "MicrosoftAccessSink"; /** - * This property will be retired. Please consider using schema + table properties instead. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - tableName?: any; + writeBatchSize?: any; /** - * Type of dataset. - * Expected value is 'PrestoObject'. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "PrestoObject"; + writeBatchTimeout?: any; } /** - * A copy activity Presto server source. + * A copy activity source for Microsoft Access. */ - export interface PrestoSourceResponse { + export interface MicrosoftAccessSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -146530,13 +148691,9 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Database query. Type: string (or Expression with resultType string). */ query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -146547,165 +148704,203 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'PrestoSource'. + * Expected value is 'MicrosoftAccessSource'. */ - type: "PrestoSource"; + type: "MicrosoftAccessSource"; } /** - * The state of a private link connection + * The Microsoft Access table dataset. */ - export interface PrivateLinkConnectionStateResponse { + export interface MicrosoftAccessTableDatasetResponse { /** - * ActionsRequired for a private link connection + * List of tags that can be used for describing the Dataset. */ - actionsRequired?: string; + annotations?: any[]; /** - * Description of a private link connection + * Dataset description. */ description?: string; /** - * Status of a private link connection + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - status?: string; - } - - /** - * Purview configuration. - */ - export interface PurviewConfigurationResponse { + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Purview resource id. + * Linked service reference. */ - purviewResourceId?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The Microsoft Access table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'MicrosoftAccessTable'. + */ + type: "MicrosoftAccessTable"; } /** - * QuickBooks server linked service. + * The MongoDB Atlas database dataset. */ - export interface QuickBooksLinkedServiceResponse { + export interface MongoDbAtlasCollectionDatasetResponse { /** - * The access token for OAuth 1.0 authentication. + * List of tags that can be used for describing the Dataset. */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + annotations?: any[]; /** - * The access token secret for OAuth 1.0 authentication. + * The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). */ - accessTokenSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + collection: any; /** - * List of tags that can be used for describing the linked service. + * Dataset description. */ - annotations?: any[]; + description?: string; /** - * The company ID of the QuickBooks company to authorize. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - companyId?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The integration runtime reference. + * Linked service reference. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object. + * Parameters for dataset. */ - connectionProperties?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The consumer key for OAuth 1.0 authentication. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - consumerKey?: any; + schema?: any; /** - * The consumer secret for OAuth 1.0 authentication. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - consumerSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + structure?: any; /** - * Linked service description. + * Type of dataset. + * Expected value is 'MongoDbAtlasCollection'. */ - description?: string; + type: "MongoDbAtlasCollection"; + } + + /** + * Linked service for MongoDB Atlas data source. + */ + export interface MongoDbAtlasLinkedServiceResponse { /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * List of tags that can be used for describing the linked service. */ - encryptedCredential?: string; + annotations?: any[]; /** - * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) + * The integration runtime reference. */ - endpoint?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string). + */ + database: any; + /** + * Linked service description. + */ + description?: string; + /** + * The driver version that you want to choose. Allowed value are v1 and v2. Type: string (or Expression with resultType string). + */ + driverVersion?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** * Type of linked service. - * Expected value is 'QuickBooks'. - */ - type: "QuickBooks"; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Expected value is 'MongoDbAtlas'. */ - useEncryptedEndpoints?: any; + type: "MongoDbAtlas"; } /** - * QuickBooks server dataset. + * A copy activity MongoDB Atlas sink. */ - export interface QuickBooksObjectDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + export interface MongoDbAtlasSinkResponse { /** - * Dataset description. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - description?: string; + disableMetricsCollection?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - folder?: outputs.datafactory.DatasetResponseFolder; + maxConcurrentConnections?: any; /** - * Linked service reference. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + sinkRetryCount?: any; /** - * Parameters for dataset. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sinkRetryWait?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Copy sink type. + * Expected value is 'MongoDbAtlasSink'. */ - schema?: any; + type: "MongoDbAtlasSink"; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - structure?: any; + writeBatchSize?: any; /** - * The table name. Type: string (or Expression with resultType string). + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - tableName?: any; + writeBatchTimeout?: any; /** - * Type of dataset. - * Expected value is 'QuickBooksObject'. + * Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ - type: "QuickBooksObject"; + writeBehavior?: any; } /** - * A copy activity QuickBooks server source. + * A copy activity source for a MongoDB Atlas database. */ - export interface QuickBooksSourceResponse { + export interface MongoDbAtlasSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; + /** + * Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). + */ + batchSize?: any; + /** + * Cursor methods for Mongodb query + */ + cursorMethods?: outputs.datafactory.MongoDbCursorMethodsPropertiesResponse; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + filter?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - query?: any; + maxConcurrentConnections?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ @@ -146720,122 +148915,147 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'QuickBooksSource'. + * Expected value is 'MongoDbAtlasSource'. */ - type: "QuickBooksSource"; + type: "MongoDbAtlasSource"; } /** - * Linked service for Quickbase. + * The MongoDB database dataset. */ - export interface QuickbaseLinkedServiceResponse { + export interface MongoDbCollectionDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The integration runtime reference. + * The table name of the MongoDB database. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + collectionName: any; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - encryptedCredential?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Parameters for linked service. + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Type of linked service. - * Expected value is 'Quickbase'. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - type: "Quickbase"; + schema?: any; /** - * The url to connect Quickbase source. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - url: any; + structure?: any; /** - * The user token for the Quickbase source. + * Type of dataset. + * Expected value is 'MongoDbCollection'. */ - userToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + type: "MongoDbCollection"; } /** - * The recurrence schedule occurrence. + * Cursor methods for Mongodb query */ - export interface RecurrenceScheduleOccurrenceResponse { + export interface MongoDbCursorMethodsPropertiesResponse { /** - * The day of the week. + * Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer). */ - day?: string; + limit?: any; /** - * The occurrence. + * Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string). */ - occurrence?: number; + project?: any; + /** + * Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer). + */ + skip?: any; + /** + * Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + */ + sort?: any; } /** - * The recurrence schedule. + * Linked service for MongoDb data source. */ - export interface RecurrenceScheduleResponse { + export interface MongoDbLinkedServiceResponse { /** - * The hours. + * Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). */ - hours?: number[]; + allowSelfSignedServerCert?: any; /** - * The minutes. + * List of tags that can be used for describing the linked service. */ - minutes?: number[]; + annotations?: any[]; /** - * The month days. + * Database to verify the username and password. Type: string (or Expression with resultType string). */ - monthDays?: number[]; + authSource?: any; /** - * The monthly occurrences. + * The authentication type to be used to connect to the MongoDB database. */ - monthlyOccurrences?: outputs.datafactory.RecurrenceScheduleOccurrenceResponse[]; + authenticationType?: string; /** - * The days of the week. + * The integration runtime reference. */ - weekDays?: string[]; - } - - /** - * Redirect incompatible row settings - */ - export interface RedirectIncompatibleRowSettingsResponse { + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). + * The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). */ - linkedServiceName: any; + databaseName: any; /** - * The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). + * Linked service description. */ - path?: any; - } - - /** - * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. - */ - export interface RedshiftUnloadSettingsResponse { + description?: string; /** - * The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). */ - bucketName: any; + enableSsl?: any; /** - * The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - s3LinkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Password for authentication. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. + */ + port?: any; + /** + * The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string). + */ + server: any; + /** + * Type of linked service. + * Expected value is 'MongoDb'. + */ + type: "MongoDb"; + /** + * Username for authentication. Type: string (or Expression with resultType string). + */ + username?: any; } /** - * A copy activity source for various relational databases. + * A copy activity source for a MongoDB database. */ - export interface RelationalSourceResponse { + export interface MongoDbSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -146849,7 +149069,7 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Database query. Type: string (or Expression with resultType string). + * Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). */ query?: any; /** @@ -146862,19 +149082,23 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'RelationalSource'. + * Expected value is 'MongoDbSource'. */ - type: "RelationalSource"; + type: "MongoDbSource"; } /** - * The relational table dataset. + * The MongoDB database dataset. */ - export interface RelationalTableDatasetResponse { + export interface MongoDbV2CollectionDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; + /** + * The collection name of the MongoDB database. Type: string (or Expression with resultType string). + */ + collection: any; /** * Dataset description. */ @@ -146900,90 +149124,176 @@ export namespace datafactory { */ structure?: any; /** - * The relational table name. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'MongoDbV2Collection'. */ - tableName?: any; + type: "MongoDbV2Collection"; + } + + /** + * Linked service for MongoDB data source. + */ + export interface MongoDbV2LinkedServiceResponse { /** - * Type of dataset. - * Expected value is 'RelationalTable'. + * List of tags that can be used for describing the linked service. */ - type: "RelationalTable"; + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). + */ + database: any; + /** + * Linked service description. + */ + description?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Type of linked service. + * Expected value is 'MongoDbV2'. + */ + type: "MongoDbV2"; } /** - * A remote private endpoint connection + * A copy activity MongoDB sink. */ - export interface RemotePrivateEndpointConnectionResponse { + export interface MongoDbV2SinkResponse { /** - * PrivateEndpoint of a remote private endpoint connection + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - privateEndpoint?: outputs.datafactory.ArmIdWrapperResponse; + disableMetricsCollection?: any; /** - * The state of a private link connection + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - privateLinkServiceConnectionState?: outputs.datafactory.PrivateLinkConnectionStateResponse; - provisioningState: string; + maxConcurrentConnections?: any; + /** + * Sink retry count. Type: integer (or Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sinkRetryWait?: any; + /** + * Copy sink type. + * Expected value is 'MongoDbV2Sink'. + */ + type: "MongoDbV2Sink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + /** + * Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). + */ + writeBehavior?: any; } /** - * Trigger that schedules pipeline reruns for all fixed time interval windows from a requested start time to requested end time. + * A copy activity source for a MongoDB database. */ - export interface RerunTumblingWindowTriggerResponse { + export interface MongoDbV2SourceResponse { /** - * List of tags that can be used for describing the trigger. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - annotations?: any[]; + additionalColumns?: any; /** - * Trigger description. + * Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). */ - description?: string; + batchSize?: any; /** - * The parent trigger reference. + * Cursor methods for Mongodb query */ - parentTrigger: any; + cursorMethods?: outputs.datafactory.MongoDbCursorMethodsPropertiesResponse; /** - * The end time for the time period for which restatement is initiated. Only UTC time is currently supported. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - requestedEndTime: string; + disableMetricsCollection?: any; /** - * The start time for the time period for which restatement is initiated. Only UTC time is currently supported. + * Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). */ - requestedStartTime: string; + filter?: any; /** - * The max number of parallel time windows (ready for execution) for which a rerun is triggered. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - rerunConcurrency: number; + maxConcurrentConnections?: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - runtimeState: string; + queryTimeout?: any; /** - * Trigger type. - * Expected value is 'RerunTumblingWindowTrigger'. + * Source retry count. Type: integer (or Expression with resultType integer). */ - type: "RerunTumblingWindowTrigger"; + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'MongoDbV2Source'. + */ + type: "MongoDbV2Source"; } /** - * Responsys linked service. + * Base class for all triggers that support one to many model for trigger to pipeline. */ - export interface ResponsysLinkedServiceResponse { + export interface MultiplePipelineTriggerResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the trigger. */ annotations?: any[]; /** - * The client ID associated with the Responsys application. Type: string (or Expression with resultType string). + * Trigger description. */ - clientId: any; + description?: string; /** - * The client secret associated with the Responsys application. Type: string (or Expression with resultType string). + * Pipelines that need to be started. */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + /** + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + */ + runtimeState: string; + /** + * Trigger type. + * Expected value is 'MultiplePipelineTrigger'. + */ + type: "MultiplePipelineTrigger"; + } + + /** + * Linked service for MySQL data source. + */ + export interface MySqlLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; /** * Linked service description. */ @@ -146992,37 +149302,64 @@ export namespace datafactory { * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * The endpoint of the Responsys server. - */ - endpoint: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The Azure key vault secret reference of password in connection string. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * Type of linked service. - * Expected value is 'Responsys'. + * Expected value is 'MySql'. */ - type: "Responsys"; + type: "MySql"; + } + + /** + * A copy activity source for MySQL databases. + */ + export interface MySqlSourceResponse { /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - useEncryptedEndpoints?: any; + additionalColumns?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - useHostVerification?: any; + disableMetricsCollection?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - usePeerVerification?: any; + maxConcurrentConnections?: any; + /** + * Database query. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'MySqlSource'. + */ + type: "MySqlSource"; } /** - * Responsys dataset. + * The MySQL table dataset. */ - export interface ResponsysObjectDatasetResponse { + export interface MySqlTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -147052,20 +149389,77 @@ export namespace datafactory { */ structure?: any; /** - * The table name. Type: string (or Expression with resultType string). + * The MySQL table name. Type: string (or Expression with resultType string). */ tableName?: any; /** * Type of dataset. - * Expected value is 'ResponsysObject'. + * Expected value is 'MySqlTable'. */ - type: "ResponsysObject"; + type: "MySqlTable"; } /** - * A copy activity Responsys source. + * Netezza linked service. */ - export interface ResponsysSourceResponse { + export interface NetezzaLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The Azure key vault secret reference of password in connection string. + */ + pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * Type of linked service. + * Expected value is 'Netezza'. + */ + type: "Netezza"; + } + + /** + * The settings that will be leveraged for Netezza source partitioning. + */ + export interface NetezzaPartitionSettingsResponse { + /** + * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionColumnName?: any; + /** + * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionLowerBound?: any; + /** + * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionUpperBound?: any; + } + + /** + * A copy activity Netezza source. + */ + export interface NetezzaSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -147078,6 +149472,14 @@ export namespace datafactory { * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; + /** + * The partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". + */ + partitionOption?: any; + /** + * The settings that will be leveraged for Netezza source partitioning. + */ + partitionSettings?: outputs.datafactory.NetezzaPartitionSettingsResponse; /** * A query to retrieve data from source. Type: string (or Expression with resultType string). */ @@ -147096,19 +149498,15 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'ResponsysSource'. + * Expected value is 'NetezzaSource'. */ - type: "ResponsysSource"; + type: "NetezzaSource"; } /** - * A Rest service dataset. + * Netezza dataset. */ - export interface RestResourceDatasetResponse { - /** - * The additional HTTP headers in the request to the RESTful API. - */ - additionalHeaders?: {[key: string]: any}; + export interface NetezzaTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -147125,49 +149523,59 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The pagination rules to compose next page requests. - */ - paginationRules?: {[key: string]: any}; /** * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - relativeUrl?: any; + schema?: any; /** - * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - requestBody?: any; + structure?: any; /** - * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * The table name of the Netezza. Type: string (or Expression with resultType string). */ - requestMethod?: any; + table?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * This property will be retired. Please consider using schema + table properties instead. */ - schema?: any; + tableName?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Type of dataset. + * Expected value is 'NetezzaTable'. */ - structure?: any; + type: "NetezzaTable"; + } + + /** + * Notebook parameter. + */ + export interface NotebookParameterResponse { /** - * Type of dataset. - * Expected value is 'RestResource'. + * Notebook parameter type. */ - type: "RestResource"; + type?: string; + /** + * Notebook parameter value. Type: string (or Expression with resultType string). + */ + value?: any; } /** - * Rest Service linked service. + * Open Data Protocol (OData) linked service. */ - export interface RestServiceLinkedServiceResponse { + export interface ODataLinkedServiceResponse { /** - * The resource you are requesting authorization to use. Type: string (or Expression with resultType string). + * Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string). */ aadResourceId?: any; + /** + * Specify the credential type (key or cert) is used for service principal. + */ + aadServicePrincipalCredentialType?: string; /** * List of tags that can be used for describing the linked service. */ @@ -147177,37 +149585,21 @@ export namespace datafactory { */ authHeaders?: any; /** - * Type of authentication used to connect to the REST service. + * Type of authentication used to connect to the OData service. */ - authenticationType: string; + authenticationType?: string; /** * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ azureCloudType?: any; - /** - * The client ID associated with your application. Type: string (or Expression with resultType string). - */ - clientId?: any; - /** - * The client secret associated with your application. - */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * The credential reference containing authentication information. - */ - credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ description?: string; - /** - * Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ @@ -147217,121 +149609,101 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password used in Basic authentication type. + * Password of the OData service. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The target service or resource to which the access will be requested. Type: string (or Expression with resultType string). + * Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ - resource?: any; + servicePrincipalEmbeddedCert?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string). + * Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ - scope?: any; + servicePrincipalEmbeddedCertPassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The application's client ID used in AadServicePrincipal authentication type. Type: string (or Expression with resultType string). + * Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; /** - * The application's key used in AadServicePrincipal authentication type. + * Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. Type: string (or Expression with resultType string). + * Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). */ tenant?: any; - /** - * The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string). - */ - tokenEndpoint?: any; /** * Type of linked service. - * Expected value is 'RestService'. + * Expected value is 'OData'. */ - type: "RestService"; + type: "OData"; /** - * The base URL of the REST service. Type: string (or Expression with resultType string). + * The URL of the OData service endpoint. Type: string (or Expression with resultType string). */ url: any; /** - * The user name used in Basic authentication type. Type: string (or Expression with resultType string). + * User name of the OData service. Type: string (or Expression with resultType string). */ userName?: any; } /** - * A copy activity Rest service Sink. + * The Open Data Protocol (OData) resource dataset. */ - export interface RestSinkResponse { - /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). - */ - additionalHeaders?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. - */ - httpCompressionType?: any; + export interface ODataResourceDatasetResponse { /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * List of tags that can be used for describing the Dataset. */ - httpRequestTimeout?: any; + annotations?: any[]; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * Dataset description. */ - maxConcurrentConnections?: any; + description?: string; /** - * The time to await before sending next request, in milliseconds + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - requestInterval?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). + * Linked service reference. */ - requestMethod?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Parameters for dataset. */ - sinkRetryCount?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The OData resource path. Type: string (or Expression with resultType string). */ - sinkRetryWait?: any; + path?: any; /** - * Copy sink type. - * Expected value is 'RestSink'. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - type: "RestSink"; + schema?: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - writeBatchSize?: any; + structure?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of dataset. + * Expected value is 'ODataResource'. */ - writeBatchTimeout?: any; + type: "ODataResource"; } /** - * A copy activity Rest service source. + * A copy activity source for OData source. */ - export interface RestSourceResponse { + export interface ODataSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; - /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). - */ - additionalHeaders?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ httpRequestTimeout?: any; /** @@ -147339,21 +149711,9 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * The pagination rules to compose next page requests. Type: string (or Expression with resultType string). - */ - paginationRules?: any; - /** - * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). - */ - requestBody?: any; - /** - * The time to await before sending next page request. - */ - requestInterval?: any; - /** - * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * OData query. For example, "$top=1". Type: string (or Expression with resultType string). */ - requestMethod?: any; + query?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -147364,187 +149724,238 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'RestSource'. + * Expected value is 'ODataSource'. */ - type: "RestSource"; + type: "ODataSource"; } /** - * Execution policy for an activity. + * Open Database Connectivity (ODBC) linked service. */ - export interface RetryPolicyResponse { + export interface OdbcLinkedServiceResponse { /** - * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. + * List of tags that can be used for describing the linked service. */ - count?: any; + annotations?: any[]; /** - * Interval between retries in seconds. Default is 30. + * Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ - intervalInSeconds?: number; - } - - /** - * SSIS access credential. - */ - export interface SSISAccessCredentialResponse { + authenticationType?: any; /** - * Domain for windows authentication. Type: string (or Expression with resultType string). + * The integration runtime reference. */ - domain: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Password for windows authentication. + * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + connectionString: any; /** - * UseName for windows authentication. Type: string (or Expression with resultType string). + * The access credential portion of the connection string specified in driver-specific property-value format. */ - userName: any; - } - - /** - * SSIS embedded child package. - */ - export interface SSISChildPackageResponse { + credential?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Content for embedded child package. Type: string (or Expression with resultType string). + * Linked service description. */ - packageContent: any; + description?: string; /** - * Last modified date for embedded child package. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - packageLastModifiedDate?: string; + encryptedCredential?: string; /** - * Name for embedded child package. + * Parameters for linked service. */ - packageName?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Path for embedded child package. Type: string (or Expression with resultType string). + * Password for Basic authentication. */ - packagePath: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'Odbc'. + */ + type: "Odbc"; + /** + * User name for Basic authentication. Type: string (or Expression with resultType string). + */ + userName?: any; } /** - * SSIS package execution credential. + * A copy activity ODBC sink. */ - export interface SSISExecutionCredentialResponse { + export interface OdbcSinkResponse { /** - * Domain for windows authentication. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - domain: any; + disableMetricsCollection?: any; /** - * Password for windows authentication. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - password: outputs.datafactory.SecureStringResponse; + maxConcurrentConnections?: any; /** - * UseName for windows authentication. Type: string (or Expression with resultType string). + * A query to execute before starting the copy. Type: string (or Expression with resultType string). */ - userName: any; - } - - /** - * SSIS execution parameter. - */ - export interface SSISExecutionParameterResponse { + preCopyScript?: any; /** - * SSIS package execution parameter value. Type: string (or Expression with resultType string). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - value: any; + sinkRetryCount?: any; + /** + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sinkRetryWait?: any; + /** + * Copy sink type. + * Expected value is 'OdbcSink'. + */ + type: "OdbcSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; } /** - * SSIS package execution log location + * A copy activity source for ODBC databases. */ - export interface SSISLogLocationResponse { + export interface OdbcSourceResponse { /** - * The package execution log access credential. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - accessCredential?: outputs.datafactory.SSISAccessCredentialResponse; + additionalColumns?: any; /** - * The SSIS package execution log path. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - logPath: any; + disableMetricsCollection?: any; /** - * Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - logRefreshInterval?: any; + maxConcurrentConnections?: any; /** - * The type of SSIS log location. + * Database query. Type: string (or Expression with resultType string). */ - type: string; + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'OdbcSource'. + */ + type: "OdbcSource"; } /** - * SSIS package location. + * The ODBC table dataset. */ - export interface SSISPackageLocationResponse { - /** - * The package access credential. - */ - accessCredential?: outputs.datafactory.SSISAccessCredentialResponse; + export interface OdbcTableDatasetResponse { /** - * The embedded child package list. + * List of tags that can be used for describing the Dataset. */ - childPackages?: outputs.datafactory.SSISChildPackageResponse[]; + annotations?: any[]; /** - * The configuration file access credential. + * Dataset description. */ - configurationAccessCredential?: outputs.datafactory.SSISAccessCredentialResponse; + description?: string; /** - * The configuration file of the package execution. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - configurationPath?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The embedded package content. Type: string (or Expression with resultType string). + * Linked service reference. */ - packageContent?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The embedded package last modified date. + * Parameters for dataset. */ - packageLastModifiedDate?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The package name. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - packageName?: string; + schema?: any; /** - * Password of the package. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - packagePassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + structure?: any; /** - * The SSIS package path. Type: string (or Expression with resultType string). + * The ODBC table name. Type: string (or Expression with resultType string). */ - packagePath?: any; + tableName?: any; /** - * The type of SSIS package location. + * Type of dataset. + * Expected value is 'OdbcTable'. */ - type?: string; + type: "OdbcTable"; } /** - * SSIS property override. + * The Office365 account. */ - export interface SSISPropertyOverrideResponse { + export interface Office365DatasetResponse { /** - * Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true + * List of tags that can be used for describing the Dataset. */ - isSensitive?: boolean; + annotations?: any[]; /** - * SSIS package property override value. Type: string (or Expression with resultType string). + * Dataset description. */ - value: any; + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). + */ + predicate?: any; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). + */ + tableName: any; + /** + * Type of dataset. + * Expected value is 'Office365Table'. + */ + type: "Office365Table"; } /** - * Linked service for Salesforce. + * Office365 linked service. */ - export interface SalesforceLinkedServiceResponse { + export interface Office365LinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The Salesforce API version used in ADF. Type: string (or Expression with resultType string). - */ - apiVersion?: any; /** * The integration runtime reference. */ @@ -147558,224 +149969,281 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). + * Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string). */ - environmentUrl?: any; + office365TenantId: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password for Basic authentication of the Salesforce instance. + * Specify the application's client ID. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + servicePrincipalId: any; /** - * The security token is optional to remotely access Salesforce instance. + * Specify the application's key. */ - securityToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + servicePrincipalKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of linked service. - * Expected value is 'Salesforce'. + * Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). */ - type: "Salesforce"; + servicePrincipalTenantId: any; /** - * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'Office365'. */ - username?: any; + type: "Office365"; } /** - * Salesforce Marketing Cloud linked service. + * A copy activity source for an Office 365 service. */ - export interface SalesforceMarketingCloudLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; + export interface Office365SourceResponse { /** - * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). + * The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). */ - clientId?: any; + allowedGroups?: any; /** - * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). + * The Column to apply the and . Type: string (or Expression with resultType string). */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + dateFilterColumn?: any; /** - * The integration runtime reference. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + disableMetricsCollection?: any; /** - * Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object. + * End time of the requested range for this dataset. Type: string (or Expression with resultType string). */ - connectionProperties?: any; + endTime?: any; /** - * Linked service description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] */ - encryptedCredential?: string; + outputColumns?: any; /** - * Parameters for linked service. + * Source retry count. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sourceRetryCount?: any; /** - * Type of linked service. - * Expected value is 'SalesforceMarketingCloud'. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "SalesforceMarketingCloud"; + sourceRetryWait?: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). + * Start time of the requested range for this dataset. Type: string (or Expression with resultType string). */ - useEncryptedEndpoints?: any; + startTime?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + * Copy source type. + * Expected value is 'Office365Source'. */ - useHostVerification?: any; + type: "Office365Source"; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + * The user scope uri. Type: string (or Expression with resultType string). */ - usePeerVerification?: any; + userScopeFilterUri?: any; } /** - * Salesforce Marketing Cloud dataset. + * Linked service for Oracle Cloud Storage. */ - export interface SalesforceMarketingCloudObjectDatasetResponse { + export interface OracleCloudStorageLinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * The access key identifier of the Oracle Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). + */ + accessKeyId?: any; + /** + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Dataset description. + * The integration runtime reference. */ - description?: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Linked service description. */ - folder?: outputs.datafactory.DatasetResponseFolder; + description?: string; /** - * Linked service reference. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + encryptedCredential?: string; /** - * Parameters for dataset. + * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. */ - schema?: any; + secretAccessKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ - structure?: any; + serviceUrl?: any; /** - * The table name. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'OracleCloudStorage'. */ - tableName?: any; + type: "OracleCloudStorage"; + } + + /** + * The location of Oracle Cloud Storage dataset. + */ + export interface OracleCloudStorageLocationResponse { /** - * Type of dataset. - * Expected value is 'SalesforceMarketingCloudObject'. + * Specify the bucketName of Oracle Cloud Storage. Type: string (or Expression with resultType string) */ - type: "SalesforceMarketingCloudObject"; + bucketName?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Type of dataset storage location. + * Expected value is 'OracleCloudStorageLocation'. + */ + type: "OracleCloudStorageLocation"; + /** + * Specify the version of Oracle Cloud Storage. Type: string (or Expression with resultType string). + */ + version?: any; } /** - * A copy activity Salesforce Marketing Cloud source. + * Oracle Cloud Storage read settings. */ - export interface SalesforceMarketingCloudSourceResponse { + export interface OracleCloudStorageReadSettingsResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - additionalColumns?: any; + deleteFilesAfterCompletion?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; + /** + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + */ + enablePartitionDiscovery?: any; + /** + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + */ + fileListPath?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - query?: any; + modifiedDatetimeEnd?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - queryTimeout?: any; + modifiedDatetimeStart?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - sourceRetryCount?: any; + partitionRootPath?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The prefix filter for the Oracle Cloud Storage object name. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + prefix?: any; /** - * Copy source type. - * Expected value is 'SalesforceMarketingCloudSource'. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - type: "SalesforceMarketingCloudSource"; + recursive?: any; + /** + * The read setting type. + * Expected value is 'OracleCloudStorageReadSettings'. + */ + type: "OracleCloudStorageReadSettings"; + /** + * Oracle Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * Oracle Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; } /** - * The Salesforce object dataset. + * Oracle database. */ - export interface SalesforceObjectDatasetResponse { + export interface OracleLinkedServiceResponse { /** - * List of tags that can be used for describing the Dataset. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Dataset description. + * The integration runtime reference. */ - description?: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - folder?: outputs.datafactory.DatasetResponseFolder; + connectionString: any; /** - * Linked service reference. + * Linked service description. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * The Salesforce object API name. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - objectApiName?: any; + encryptedCredential?: string; /** - * Parameters for dataset. + * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The Azure key vault secret reference of password in connection string. */ - schema?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Type of linked service. + * Expected value is 'Oracle'. */ - structure?: any; + type: "Oracle"; + } + + /** + * The settings that will be leveraged for Oracle source partitioning. + */ + export interface OraclePartitionSettingsResponse { /** - * Type of dataset. - * Expected value is 'SalesforceObject'. + * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ - type: "SalesforceObject"; + partitionColumnName?: any; + /** + * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionLowerBound?: any; + /** + * Names of the physical partitions of Oracle table. + */ + partitionNames?: any[]; + /** + * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionUpperBound?: any; } /** - * Linked service for Salesforce Service Cloud. + * Oracle Service Cloud linked service. */ - export interface SalesforceServiceCloudLinkedServiceResponse { + export interface OracleServiceCloudLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The Salesforce API version used in ADF. Type: string (or Expression with resultType string). - */ - apiVersion?: any; /** * The integration runtime reference. */ @@ -147789,40 +150257,44 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). - */ - environmentUrl?: any; - /** - * Extended properties appended to the connection string. Type: string (or Expression with resultType string). + * The URL of the Oracle Service Cloud instance. */ - extendedProperties?: any; + host: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password for Basic authentication of the Salesforce instance. + * The password corresponding to the user name that you provided in the username key. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The security token is optional to remotely access Salesforce instance. + * Type of linked service. + * Expected value is 'OracleServiceCloud'. */ - securityToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + type: "OracleServiceCloud"; /** - * Type of linked service. - * Expected value is 'SalesforceServiceCloud'. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). */ - type: "SalesforceServiceCloud"; + useEncryptedEndpoints?: any; /** - * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ - username?: any; + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). + */ + usePeerVerification?: any; + /** + * The user name that you use to access Oracle Service Cloud server. + */ + username: any; } /** - * The Salesforce Service Cloud object dataset. + * Oracle Service Cloud dataset. */ - export interface SalesforceServiceCloudObjectDatasetResponse { + export interface OracleServiceCloudObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -147839,10 +150311,6 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). - */ - objectApiName?: any; /** * Parameters for dataset. */ @@ -147856,63 +150324,20 @@ export namespace datafactory { */ structure?: any; /** - * Type of dataset. - * Expected value is 'SalesforceServiceCloudObject'. - */ - type: "SalesforceServiceCloudObject"; - } - - /** - * A copy activity Salesforce Service Cloud sink. - */ - export interface SalesforceServiceCloudSinkResponse { - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). - */ - externalIdFieldName?: any; - /** - * The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). - */ - ignoreNullValues?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * Copy sink type. - * Expected value is 'SalesforceServiceCloudSink'. - */ - type: "SalesforceServiceCloudSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The table name. Type: string (or Expression with resultType string). */ - writeBatchTimeout?: any; + tableName?: any; /** - * The write behavior for the operation. Default is Insert. + * Type of dataset. + * Expected value is 'OracleServiceCloudObject'. */ - writeBehavior?: string; + type: "OracleServiceCloudObject"; } /** - * A copy activity Salesforce Service Cloud source. + * A copy activity Oracle Service Cloud source. */ - export interface SalesforceServiceCloudSourceResponse { + export interface OracleServiceCloudSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -147926,13 +150351,13 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Database query. Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ query?: any; /** - * The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - readBehavior?: any; + queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -147943,31 +150368,27 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SalesforceServiceCloudSource'. + * Expected value is 'OracleServiceCloudSource'. */ - type: "SalesforceServiceCloudSource"; + type: "OracleServiceCloudSource"; } /** - * A copy activity Salesforce sink. + * A copy activity Oracle sink. */ - export interface SalesforceSinkResponse { + export interface OracleSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; - /** - * The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). - */ - externalIdFieldName?: any; - /** - * The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). - */ - ignoreNullValues?: any; /** * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; + /** + * SQL pre-copy script. Type: string (or Expression with resultType string). + */ + preCopyScript?: any; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -147978,9 +150399,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'SalesforceSink'. + * Expected value is 'OracleSink'. */ - type: "SalesforceSink"; + type: "OracleSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -147989,16 +150410,12 @@ export namespace datafactory { * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ writeBatchTimeout?: any; - /** - * The write behavior for the operation. Default is Insert. - */ - writeBehavior?: string; } /** - * A copy activity Salesforce source. + * A copy activity Oracle source. */ - export interface SalesforceSourceResponse { + export interface OracleSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -148012,17 +150429,21 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Database query. Type: string (or Expression with resultType string). + * Oracle reader query. Type: string (or Expression with resultType string). */ - query?: any; + oracleReaderQuery?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - queryTimeout?: any; + partitionOption?: any; /** - * The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). + * The settings that will be leveraged for Oracle source partitioning. */ - readBehavior?: any; + partitionSettings?: outputs.datafactory.OraclePartitionSettingsResponse; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -148033,66 +150454,62 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SalesforceSource'. + * Expected value is 'OracleSource'. */ - type: "SalesforceSource"; + type: "OracleSource"; } /** - * SAP Business Warehouse Linked Service. + * The on-premises Oracle database dataset. */ - export interface SapBWLinkedServiceResponse { + export interface OracleTableDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). - */ - clientId: any; - /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + description?: string; /** - * Linked service description. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - description?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Linked service reference. */ - encryptedCredential?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for linked service. + * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password to access the SAP BW server. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + schema?: any; /** - * Host name of the SAP BW instance. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - server: any; + structure?: any; /** - * System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + * The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). */ - systemNumber: any; + table?: any; /** - * Type of linked service. - * Expected value is 'SapBW'. + * This property will be retired. Please consider using schema + table properties instead. */ - type: "SapBW"; + tableName?: any; /** - * Username to access the SAP BW server. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'OracleTable'. */ - userName?: any; + type: "OracleTable"; } /** - * The SAP BW cube dataset. + * ORC dataset. */ - export interface SapBwCubeDatasetResponse { + export interface OrcDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -148109,6 +150526,14 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The location of the ORC data storage. + */ + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + /** + * The data orcCompressionCodec. Type: string (or Expression with resultType string). + */ + orcCompressionCodec?: any; /** * Parameters for dataset. */ @@ -148123,35 +150548,89 @@ export namespace datafactory { structure?: any; /** * Type of dataset. - * Expected value is 'SapBwCube'. + * Expected value is 'Orc'. */ - type: "SapBwCube"; + type: "Orc"; } /** - * A copy activity source for SapBW server via MDX. + * The data stored in Optimized Row Columnar (ORC) format. */ - export interface SapBwSourceResponse { + export interface OrcFormatResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Deserializer. Type: string (or Expression with resultType string). */ - additionalColumns?: any; + deserializer?: any; + /** + * Serializer. Type: string (or Expression with resultType string). + */ + serializer?: any; + /** + * Type of dataset storage format. + * Expected value is 'OrcFormat'. + */ + type: "OrcFormat"; + } + + /** + * A copy activity ORC sink. + */ + export interface OrcSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * ORC format settings. + */ + formatSettings?: outputs.datafactory.OrcWriteSettingsResponse; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * MDX query. Type: string (or Expression with resultType string). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - query?: any; + sinkRetryCount?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - queryTimeout?: any; + sinkRetryWait?: any; + /** + * ORC store settings. + */ + storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; + /** + * Copy sink type. + * Expected value is 'OrcSink'. + */ + type: "OrcSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + } + + /** + * A copy activity ORC source. + */ + export interface OrcSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -148160,64 +150639,76 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; + /** + * ORC store settings. + */ + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** * Copy source type. - * Expected value is 'SapBwSource'. + * Expected value is 'OrcSource'. */ - type: "SapBwSource"; + type: "OrcSource"; } /** - * Linked service for SAP Cloud for Customer. + * Orc write settings. */ - export interface SapCloudForCustomerLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + export interface OrcWriteSettingsResponse { /** - * Linked service description. + * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ - description?: string; + fileNamePrefix?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. + * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ - encryptedCredential?: string; + maxRowsPerFile?: any; /** - * Parameters for linked service. + * The write setting type. + * Expected value is 'OrcWriteSettings'. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + type: "OrcWriteSettings"; + } + + /** + * Package store for the SSIS integration runtime. + */ + export interface PackageStoreResponse { /** - * The password for Basic authentication. + * The name of the package store */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + name: string; /** - * Type of linked service. - * Expected value is 'SapCloudForCustomer'. + * The package store linked service reference. */ - type: "SapCloudForCustomer"; + packageStoreLinkedService: outputs.datafactory.EntityReferenceResponse; + } + + /** + * Definition of a single parameter for an entity. + */ + export interface ParameterSpecificationResponse { /** - * The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string). + * Default value of parameter. */ - url: any; + defaultValue?: any; /** - * The username for Basic authentication. Type: string (or Expression with resultType string). + * Parameter type. */ - username?: any; + type: string; } /** - * The path of the SAP Cloud for Customer OData entity. + * Parquet dataset. */ - export interface SapCloudForCustomerResourceDatasetResponse { + export interface ParquetDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; + /** + * The data compressionCodec. Type: string (or Expression with resultType string). + */ + compressionCodec?: any; /** * Dataset description. */ @@ -148231,13 +150722,13 @@ export namespace datafactory { */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameters for dataset. + * The location of the parquet storage. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; /** - * The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). + * Parameters for dataset. */ - path: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ @@ -148248,23 +150739,42 @@ export namespace datafactory { structure?: any; /** * Type of dataset. - * Expected value is 'SapCloudForCustomerResource'. + * Expected value is 'Parquet'. */ - type: "SapCloudForCustomerResource"; + type: "Parquet"; } /** - * A copy activity SAP Cloud for Customer sink. + * The data stored in Parquet format. */ - export interface SapCloudForCustomerSinkResponse { + export interface ParquetFormatResponse { + /** + * Deserializer. Type: string (or Expression with resultType string). + */ + deserializer?: any; + /** + * Serializer. Type: string (or Expression with resultType string). + */ + serializer?: any; + /** + * Type of dataset storage format. + * Expected value is 'ParquetFormat'. + */ + type: "ParquetFormat"; + } + + /** + * A copy activity Parquet sink. + */ + export interface ParquetSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Parquet format settings. */ - httpRequestTimeout?: any; + formatSettings?: outputs.datafactory.ParquetWriteSettingsResponse; /** * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ @@ -148277,11 +150787,15 @@ export namespace datafactory { * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sinkRetryWait?: any; + /** + * Parquet store settings. + */ + storeSettings?: outputs.datafactory.AzureBlobFSWriteSettingsResponse | outputs.datafactory.AzureBlobStorageWriteSettingsResponse | outputs.datafactory.AzureDataLakeStoreWriteSettingsResponse | outputs.datafactory.AzureFileStorageWriteSettingsResponse | outputs.datafactory.FileServerWriteSettingsResponse | outputs.datafactory.SftpWriteSettingsResponse; /** * Copy sink type. - * Expected value is 'SapCloudForCustomerSink'. + * Expected value is 'ParquetSink'. */ - type: "SapCloudForCustomerSink"; + type: "ParquetSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -148290,16 +150804,12 @@ export namespace datafactory { * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ writeBatchTimeout?: any; - /** - * The write behavior for the operation. Default is 'Insert'. - */ - writeBehavior?: string; } /** - * A copy activity source for SAP Cloud for Customer source. + * A copy activity Parquet source. */ - export interface SapCloudForCustomerSourceResponse { + export interface ParquetSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -148308,22 +150818,10 @@ export namespace datafactory { * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; - /** - * SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -148332,21 +150830,52 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; + /** + * Parquet store settings. + */ + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; /** * Copy source type. - * Expected value is 'SapCloudForCustomerSource'. + * Expected value is 'ParquetSource'. */ - type: "SapCloudForCustomerSource"; + type: "ParquetSource"; } /** - * Linked service for SAP ERP Central Component(SAP ECC). + * Parquet write settings. */ - export interface SapEccLinkedServiceResponse { + export interface ParquetWriteSettingsResponse { + /** + * Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). + */ + fileNamePrefix?: any; + /** + * Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). + */ + maxRowsPerFile?: any; + /** + * The write setting type. + * Expected value is 'ParquetWriteSettings'. + */ + type: "ParquetWriteSettings"; + } + + /** + * Paypal Service linked service. + */ + export interface PaypalLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The client ID associated with your PayPal application. + */ + clientId: any; + /** + * The client secret associated with your PayPal application. + */ + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ @@ -148356,36 +150885,40 @@ export namespace datafactory { */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** + * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) + */ + host: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password for Basic authentication. + * Type of linked service. + * Expected value is 'Paypal'. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + type: "Paypal"; /** - * Type of linked service. - * Expected value is 'SapEcc'. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ - type: "SapEcc"; + useEncryptedEndpoints?: any; /** - * The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ - url: any; + useHostVerification?: any; /** - * The username for Basic authentication. Type: string (or Expression with resultType string). + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ - username?: any; + usePeerVerification?: any; } /** - * The path of the SAP ECC OData entity. + * Paypal Service dataset. */ - export interface SapEccResourceDatasetResponse { + export interface PaypalObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -148406,10 +150939,6 @@ export namespace datafactory { * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). - */ - path: any; /** * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ @@ -148418,17 +150947,21 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; /** * Type of dataset. - * Expected value is 'SapEccResource'. + * Expected value is 'PaypalObject'. */ - type: "SapEccResource"; + type: "PaypalObject"; } /** - * A copy activity source for SAP ECC source. + * A copy activity Paypal Service source. */ - export interface SapEccSourceResponse { + export interface PaypalSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -148437,16 +150970,12 @@ export namespace datafactory { * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ query?: any; /** @@ -148463,76 +150992,137 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SapEccSource'. + * Expected value is 'PaypalSource'. */ - type: "SapEccSource"; + type: "PaypalSource"; } /** - * SAP HANA Linked Service. + * Phoenix server linked service. */ - export interface SapHanaLinkedServiceResponse { + export interface PhoenixLinkedServiceResponse { + /** + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. + */ + allowHostNameCNMismatch?: any; + /** + * Specifies whether to allow self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The authentication type to be used to connect to the SAP HANA server. + * The authentication mechanism used to connect to the Phoenix server. */ - authenticationType?: string; + authenticationType: string; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; /** * Linked service description. */ description?: string; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. + */ + enableSsl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** + * The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) + */ + host: any; + /** + * The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. + */ + httpPath?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password to access the SAP HANA server. + * The password corresponding to the user name. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Host name of the SAP HANA server. Type: string (or Expression with resultType string). + * The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. */ - server?: any; + port?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + */ + trustedCertPath?: any; /** * Type of linked service. - * Expected value is 'SapHana'. + * Expected value is 'Phoenix'. */ - type: "SapHana"; + type: "Phoenix"; /** - * Username to access the SAP HANA server. Type: string (or Expression with resultType string). + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ - userName?: any; + useSystemTrustStore?: any; + /** + * The user name used to connect to the Phoenix server. + */ + username?: any; } /** - * The settings that will be leveraged for SAP HANA source partitioning. + * Phoenix server dataset. */ - export interface SapHanaPartitionSettingsResponse { + export interface PhoenixObjectDatasetResponse { /** - * The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - partitionColumnName?: any; + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name of the Phoenix. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'PhoenixObject'. + */ + type: "PhoenixObject"; } /** - * A copy activity source for SAP HANA source. + * A copy activity Phoenix server source. */ - export interface SapHanaSourceResponse { + export interface PhoenixSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -148546,19 +151136,7 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). - */ - packetSize?: any; - /** - * The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for SAP HANA source partitioning. - */ - partitionSettings?: outputs.datafactory.SapHanaPartitionSettingsResponse; - /** - * SAP HANA Sql query. Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ query?: any; /** @@ -148575,165 +151153,185 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SapHanaSource'. + * Expected value is 'PhoenixSource'. */ - type: "SapHanaSource"; + type: "PhoenixSource"; } /** - * SAP HANA Table properties. + * Pipeline ElapsedTime Metric Policy. */ - export interface SapHanaTableDatasetResponse { + export interface PipelineElapsedTimeMetricPolicyResponse { /** - * List of tags that can be used for describing the Dataset. + * TimeSpan value, after which an Azure Monitoring Metric is fired. */ - annotations?: any[]; + duration?: any; + } + + /** + * PipelineExternalComputeScale properties for managed integration runtime. + */ + export interface PipelineExternalComputeScalePropertiesResponse { /** - * Dataset description. + * Number of the the external nodes, which should be greater than 0 and less than 11. */ - description?: string; + numberOfExternalNodes?: number; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Number of the pipeline nodes, which should be greater than 0 and less than 11. */ - folder?: outputs.datafactory.DatasetResponseFolder; + numberOfPipelineNodes?: number; /** - * Linked service reference. + * Time to live (in minutes) setting of integration runtime which will execute pipeline and external activity. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + timeToLive?: number; + } + + /** + * Pipeline Policy. + */ + export interface PipelinePolicyResponse { /** - * Parameters for dataset. + * Pipeline ElapsedTime Metric Policy. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + elapsedTimeMetric?: outputs.datafactory.PipelineElapsedTimeMetricPolicyResponse; + } + + /** + * Pipeline reference type. + */ + export interface PipelineReferenceResponse { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Reference name. */ - schema?: any; + name?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Reference pipeline name. */ - structure?: any; + referenceName: string; /** - * The table name of SAP HANA. Type: string (or Expression with resultType string). + * Pipeline reference type. */ - table?: any; + type: string; + } + + /** + * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. + */ + export interface PipelineResponseFolder { /** - * Type of dataset. - * Expected value is 'SapHanaTable'. + * The name of the folder that this Pipeline is in. */ - type: "SapHanaTable"; + name?: string; } /** - * SAP ODP Linked Service. + * PolyBase settings. */ - export interface SapOdpLinkedServiceResponse { + export interface PolybaseSettingsResponse { /** - * List of tags that can be used for describing the linked service. + * Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. */ - annotations?: any[]; + rejectSampleValue?: any; /** - * Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * Reject type. */ - clientId?: any; + rejectType?: string; /** - * The integration runtime reference. + * Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + rejectValue?: any; /** - * Linked service description. + * Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). */ - description?: string; + useTypeDefault?: any; + } + + /** + * Linked service for PostgreSQL data source. + */ + export interface PostgreSqlLinkedServiceResponse { /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * List of tags that can be used for describing the linked service. */ - encryptedCredential?: string; + annotations?: any[]; /** - * Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). + * The integration runtime reference. */ - language?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - logonGroup?: any; + connectionString: any; /** - * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + * Linked service description. */ - messageServer?: any; + description?: string; /** - * The service name or port number of the Message Server. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - messageServerService?: any; + encryptedCredential?: string; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password to access the SAP server where the table is located. - */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). - */ - server?: any; - /** - * External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). - */ - sncLibraryPath?: any; - /** - * SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - sncMode?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** - * Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'PostgreSql'. */ - sncMyName?: any; + type: "PostgreSql"; + } + + /** + * A copy activity source for PostgreSQL databases. + */ + export interface PostgreSqlSourceResponse { /** - * Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - sncPartnerName?: any; + additionalColumns?: any; /** - * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - sncQop?: any; + disableMetricsCollection?: any; /** - * The subscriber name. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - subscriberName?: any; + maxConcurrentConnections?: any; /** - * SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + * Database query. Type: string (or Expression with resultType string). */ - systemId?: any; + query?: any; /** - * System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - systemNumber?: any; + queryTimeout?: any; /** - * Type of linked service. - * Expected value is 'SapOdp'. + * Source retry count. Type: integer (or Expression with resultType integer). */ - type: "SapOdp"; + sourceRetryCount?: any; /** - * Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - userName?: any; + sourceRetryWait?: any; /** - * SNC X509 certificate file path. Type: string (or Expression with resultType string). + * Copy source type. + * Expected value is 'PostgreSqlSource'. */ - x509CertificatePath?: any; + type: "PostgreSqlSource"; } /** - * SAP ODP Resource properties. + * The PostgreSQL table dataset. */ - export interface SapOdpResourceDatasetResponse { + export interface PostgreSqlTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; - /** - * The context of the SAP ODP Object. Type: string (or Expression with resultType string). - */ - context: any; /** * Dataset description. */ @@ -148746,10 +151344,6 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The name of the SAP ODP Object. Type: string (or Expression with resultType string). - */ - objectName: any; /** * Parameters for dataset. */ @@ -148762,206 +151356,202 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The PostgreSQL table name. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; /** * Type of dataset. - * Expected value is 'SapOdpResource'. + * Expected value is 'PostgreSqlTable'. */ - type: "SapOdpResource"; + type: "PostgreSqlTable"; } /** - * A copy activity source for SAP ODP source. + * Map Power Query mashup query to sink dataset(s). */ - export interface SapOdpSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface PowerQuerySinkMappingResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of sinks mapped to Power Query mashup query. */ - disableMetricsCollection?: any; + dataflowSinks?: outputs.datafactory.PowerQuerySinkResponse[]; /** - * The extraction mode. Allowed value include: Full, Delta and Recovery. The default value is Full. Type: string (or Expression with resultType string). + * Name of the query in Power Query mashup document. */ - extractionMode?: any; + queryName?: string; + } + + /** + * Power query sink. + */ + export interface PowerQuerySinkResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * Dataset reference. */ - maxConcurrentConnections?: any; + dataset?: outputs.datafactory.DatasetReferenceResponse; /** - * Specifies the columns to be selected from source data. Type: array of objects(projection) (or Expression with resultType array of objects). + * Transformation description. */ - projection?: any; + description?: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Flowlet Reference */ - queryTimeout?: any; + flowlet?: outputs.datafactory.DataFlowReferenceResponse; /** - * Specifies the selection conditions from source data. Type: array of objects(selection) (or Expression with resultType array of objects). + * Linked service reference. */ - selection?: any; + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Transformation name. */ - sourceRetryCount?: any; + name: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Rejected data linked service reference. */ - sourceRetryWait?: any; + rejectedDataLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The subscriber process to manage the delta process. Type: string (or Expression with resultType string). + * Schema linked service reference. */ - subscriberProcess?: any; + schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Copy source type. - * Expected value is 'SapOdpSource'. + * sink script. */ - type: "SapOdpSource"; + script?: string; } /** - * SAP Business Warehouse Open Hub Destination Linked Service. + * Power query source. */ - export interface SapOpenHubLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; + export interface PowerQuerySourceResponse { /** - * Client ID of the client on the BW system where the open hub destination is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * Dataset reference. */ - clientId?: any; + dataset?: outputs.datafactory.DatasetReferenceResponse; /** - * The integration runtime reference. + * Transformation description. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + description?: string; /** - * Linked service description. + * Flowlet Reference */ - description?: string; + flowlet?: outputs.datafactory.DataFlowReferenceResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Linked service reference. */ - encryptedCredential?: string; + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Language of the BW system where the open hub destination is located. The default value is EN. Type: string (or Expression with resultType string). + * Transformation name. */ - language?: any; + name: string; /** - * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + * Schema linked service reference. */ - logonGroup?: any; + schemaLinkedService?: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + * source script. */ - messageServer?: any; + script?: string; + } + + /** + * Presto server linked service. + */ + export interface PrestoLinkedServiceResponse { /** - * The service name or port number of the Message Server. Type: string (or Expression with resultType string). + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ - messageServerService?: any; + allowHostNameCNMismatch?: any; /** - * Parameters for linked service. + * Specifies whether to allow self-signed certificates from the server. The default value is false. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + allowSelfSignedServerCert?: any; /** - * Password to access the SAP BW server where the open hub destination is located. + * List of tags that can be used for describing the linked service. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + annotations?: any[]; /** - * Host name of the SAP BW instance where the open hub destination is located. Type: string (or Expression with resultType string). + * The authentication mechanism used to connect to the Presto server. */ - server?: any; + authenticationType: string; /** - * SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + * The catalog context for all request against the server. */ - systemId?: any; + catalog: any; /** - * System number of the BW system where the open hub destination is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + * The integration runtime reference. */ - systemNumber?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Type of linked service. - * Expected value is 'SapOpenHub'. + * Linked service description. */ - type: "SapOpenHub"; + description?: string; /** - * Username to access the SAP BW server where the open hub destination is located. Type: string (or Expression with resultType string). + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ - userName?: any; - } - - /** - * A copy activity source for SAP Business Warehouse Open Hub Destination source. - */ - export interface SapOpenHubSourceResponse { + enableSsl?: any; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - additionalColumns?: any; + encryptedCredential?: string; /** - * The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). + * The IP address or host name of the Presto server. (i.e. 192.168.222.160) */ - baseRequestId?: any; + host: any; /** - * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - customRfcReadTableFunctionModule?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The password corresponding to the user name. */ - disableMetricsCollection?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). + * The TCP port that the Presto server uses to listen for client connections. The default value is 8080. */ - excludeLastRequest?: any; + port?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The version of the Presto server. (i.e. 0.148-t) */ - maxConcurrentConnections?: any; + serverVersion: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. */ - queryTimeout?: any; + timeZoneID?: any; /** - * The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ - sapDataColumnDelimiter?: any; + trustedCertPath?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Type of linked service. + * Expected value is 'Presto'. */ - sourceRetryCount?: any; + type: "Presto"; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ - sourceRetryWait?: any; + useSystemTrustStore?: any; /** - * Copy source type. - * Expected value is 'SapOpenHubSource'. + * The user name used to connect to the Presto server. */ - type: "SapOpenHubSource"; + username?: any; } /** - * Sap Business Warehouse Open Hub Destination Table properties. + * Presto server dataset. */ - export interface SapOpenHubTableDatasetResponse { + export interface PrestoObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; - /** - * The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). - */ - baseRequestId?: any; /** * Dataset description. */ description?: string; - /** - * Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). - */ - excludeLastRequest?: any; /** * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ @@ -148970,10 +151560,6 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). - */ - openHubDestinationName: any; /** * Parameters for dataset. */ @@ -148986,130 +151572,155 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; + /** + * The table name of the Presto. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; /** * Type of dataset. - * Expected value is 'SapOpenHubTable'. + * Expected value is 'PrestoObject'. */ - type: "SapOpenHubTable"; + type: "PrestoObject"; } /** - * SAP Table Linked Service. + * A copy activity Presto server source. */ - export interface SapTableLinkedServiceResponse { + export interface PrestoSourceResponse { /** - * List of tags that can be used for describing the linked service. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - annotations?: any[]; + additionalColumns?: any; /** - * Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - clientId?: any; + disableMetricsCollection?: any; /** - * The integration runtime reference. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + maxConcurrentConnections?: any; /** - * Linked service description. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - description?: string; + query?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - encryptedCredential?: string; + queryTimeout?: any; /** - * Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - language?: any; + sourceRetryCount?: any; /** - * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - logonGroup?: any; + sourceRetryWait?: any; /** - * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + * Copy source type. + * Expected value is 'PrestoSource'. */ - messageServer?: any; + type: "PrestoSource"; + } + + /** + * The state of a private link connection + */ + export interface PrivateLinkConnectionStateResponse { /** - * The service name or port number of the Message Server. Type: string (or Expression with resultType string). + * ActionsRequired for a private link connection */ - messageServerService?: any; + actionsRequired?: string; /** - * Parameters for linked service. + * Description of a private link connection */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + description?: string; /** - * Password to access the SAP server where the table is located. + * Status of a private link connection */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + status?: string; + } + + /** + * Purview configuration. + */ + export interface PurviewConfigurationResponse { /** - * Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). + * Purview resource id. */ - server?: any; + purviewResourceId?: string; + } + + /** + * QuickBooks server linked service. + */ + export interface QuickBooksLinkedServiceResponse { /** - * External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * The access token for OAuth 1.0 authentication. */ - sncLibraryPath?: any; + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * The access token secret for OAuth 1.0 authentication. */ - sncMode?: any; + accessTokenSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - sncMyName?: any; + annotations?: any[]; /** - * Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * The company ID of the QuickBooks company to authorize. */ - sncPartnerName?: any; + companyId?: any; /** - * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). + * The integration runtime reference. */ - sncQop?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + * Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object. */ - systemId?: any; + connectionProperties?: any; /** - * System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + * The consumer key for OAuth 1.0 authentication. */ - systemNumber?: any; + consumerKey?: any; /** - * Type of linked service. - * Expected value is 'SapTable'. + * The consumer secret for OAuth 1.0 authentication. */ - type: "SapTable"; + consumerSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * Linked service description. */ - userName?: any; - } - - /** - * The settings that will be leveraged for SAP table source partitioning. - */ - export interface SapTablePartitionSettingsResponse { + description?: string; /** - * The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - maxPartitionsNumber?: any; + encryptedCredential?: string; /** - * The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) */ - partitionColumnName?: any; + endpoint?: any; /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - partitionLowerBound?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * Type of linked service. + * Expected value is 'QuickBooks'. */ - partitionUpperBound?: any; + type: "QuickBooks"; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; } /** - * SAP Table Resource properties. + * QuickBooks server dataset. */ - export interface SapTableResourceDatasetResponse { + export interface QuickBooksObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -149139,32 +151750,24 @@ export namespace datafactory { */ structure?: any; /** - * The name of the SAP Table. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - tableName: any; + tableName?: any; /** * Type of dataset. - * Expected value is 'SapTableResource'. + * Expected value is 'QuickBooksObject'. */ - type: "SapTableResource"; + type: "QuickBooksObject"; } /** - * A copy activity source for SAP Table source. + * A copy activity QuickBooks server source. */ - export interface SapTableSourceResponse { + export interface QuickBooksSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; - /** - * Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). - */ - customRfcReadTableFunctionModule?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -149174,37 +151777,13 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for SAP table source partitioning. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - partitionSettings?: outputs.datafactory.SapTablePartitionSettingsResponse; + query?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ queryTimeout?: any; - /** - * The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string). - */ - rfcTableFields?: any; - /** - * The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string). - */ - rfcTableOptions?: any; - /** - * The number of rows to be retrieved. Type: integer(or Expression with resultType integer). - */ - rowCount?: any; - /** - * The number of rows that will be skipped. Type: integer (or Expression with resultType integer). - */ - rowSkips?: any; - /** - * The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). - */ - sapDataColumnDelimiter?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -149215,831 +151794,831 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SapTableSource'. + * Expected value is 'QuickBooksSource'. */ - type: "SapTableSource"; + type: "QuickBooksSource"; } /** - * The workflow trigger recurrence. + * Linked service for Quickbase. */ - export interface ScheduleTriggerRecurrenceResponse { + export interface QuickbaseLinkedServiceResponse { /** - * The end time. + * List of tags that can be used for describing the linked service. */ - endTime?: string; + annotations?: any[]; /** - * The frequency. + * The integration runtime reference. */ - frequency?: string; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The interval. + * Linked service description. */ - interval?: number; + description?: string; /** - * The recurrence schedule. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - schedule?: outputs.datafactory.RecurrenceScheduleResponse; + encryptedCredential?: string; /** - * The start time. + * Parameters for linked service. */ - startTime?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The time zone. + * Type of linked service. + * Expected value is 'Quickbase'. */ - timeZone?: string; + type: "Quickbase"; + /** + * The url to connect Quickbase source. Type: string (or Expression with resultType string). + */ + url: any; + /** + * The user token for the Quickbase source. + */ + userToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; } /** - * Trigger that creates pipeline runs periodically, on schedule. + * The recurrence schedule occurrence. */ - export interface ScheduleTriggerResponse { + export interface RecurrenceScheduleOccurrenceResponse { /** - * List of tags that can be used for describing the trigger. + * The day of the week. */ - annotations?: any[]; + day?: string; /** - * Trigger description. + * The occurrence. */ - description?: string; + occurrence?: number; + } + + /** + * The recurrence schedule. + */ + export interface RecurrenceScheduleResponse { /** - * Pipelines that need to be started. + * The hours. */ - pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; + hours?: number[]; /** - * Recurrence schedule configuration. + * The minutes. */ - recurrence: outputs.datafactory.ScheduleTriggerRecurrenceResponse; + minutes?: number[]; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * The month days. */ - runtimeState: string; + monthDays?: number[]; /** - * Trigger type. - * Expected value is 'ScheduleTrigger'. + * The monthly occurrences. */ - type: "ScheduleTrigger"; + monthlyOccurrences?: outputs.datafactory.RecurrenceScheduleOccurrenceResponse[]; + /** + * The days of the week. + */ + weekDays?: string[]; } /** - * Custom script action to run on HDI ondemand cluster once it's up. + * Redirect incompatible row settings */ - export interface ScriptActionResponse { + export interface RedirectIncompatibleRowSettingsResponse { /** - * The user provided name of the script action. + * Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). */ - name: string; + linkedServiceName: any; /** - * The parameters for the script action. + * The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). */ - parameters?: string; + path?: any; + } + + /** + * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. + */ + export interface RedshiftUnloadSettingsResponse { /** - * The node types on which the script action should be executed. + * The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). */ - roles: any; + bucketName: any; /** - * The URI for the script action. + * The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. */ - uri: string; + s3LinkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; } /** - * Parameters of a script block. + * A copy activity source for various relational databases. */ - export interface ScriptActivityParameterResponse { + export interface RelationalSourceResponse { /** - * The direction of the parameter. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - direction?: string; + additionalColumns?: any; /** - * The name of the parameter. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - name?: any; + disableMetricsCollection?: any; /** - * The size of the output direction parameter. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - size?: number; + maxConcurrentConnections?: any; /** - * The type of the parameter. + * Database query. Type: string (or Expression with resultType string). */ - type?: string; + query?: any; /** - * The value of the parameter. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - value?: any; + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'RelationalSource'. + */ + type: "RelationalSource"; } /** - * Script activity type. + * The relational table dataset. */ - export interface ScriptActivityResponse { + export interface RelationalTableDatasetResponse { /** - * Activity depends on condition. + * List of tags that can be used for describing the Dataset. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * Dataset description. */ description?: string; /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * Log settings of script activity. - */ - logSettings?: outputs.datafactory.ScriptActivityTypePropertiesResponseLogSettings; - /** - * Activity name. - */ - name: string; - /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - onInactiveMarkAs?: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Activity policy. + * Linked service reference. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * ScriptBlock execution timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Parameters for dataset. */ - scriptBlockExecutionTimeout?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Array of script blocks. Type: array. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - scripts?: outputs.datafactory.ScriptActivityScriptBlockResponse[]; + schema?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - state?: string; + structure?: any; /** - * Type of activity. - * Expected value is 'Script'. + * The relational table name. Type: string (or Expression with resultType string). */ - type: "Script"; + tableName?: any; /** - * Activity user properties. + * Type of dataset. + * Expected value is 'RelationalTable'. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + type: "RelationalTable"; } /** - * Script block of scripts. + * A remote private endpoint connection */ - export interface ScriptActivityScriptBlockResponse { - /** - * Array of script parameters. Type: array. - */ - parameters?: outputs.datafactory.ScriptActivityParameterResponse[]; + export interface RemotePrivateEndpointConnectionResponse { /** - * The query text. Type: string (or Expression with resultType string). + * PrivateEndpoint of a remote private endpoint connection */ - text: any; + privateEndpoint?: outputs.datafactory.ArmIdWrapperResponse; /** - * The type of the query. Type: string. + * The state of a private link connection */ - type: string; + privateLinkServiceConnectionState?: outputs.datafactory.PrivateLinkConnectionStateResponse; + provisioningState: string; } /** - * Log settings of script activity. + * Trigger that schedules pipeline reruns for all fixed time interval windows from a requested start time to requested end time. */ - export interface ScriptActivityTypePropertiesResponseLogSettings { + export interface RerunTumblingWindowTriggerResponse { /** - * The destination of logs. Type: string. + * List of tags that can be used for describing the trigger. */ - logDestination: string; + annotations?: any[]; /** - * Log location settings customer needs to provide when enabling log. + * Trigger description. */ - logLocationSettings?: outputs.datafactory.LogLocationSettingsResponse; - } - - /** - * Execution policy for an activity that supports secure input and output. - */ - export interface SecureInputOutputPolicyResponse { + description?: string; /** - * When set to true, Input from activity is considered as secure and will not be logged to monitoring. + * The parent trigger reference. */ - secureInput?: boolean; + parentTrigger: any; /** - * When set to true, Output from activity is considered as secure and will not be logged to monitoring. + * The end time for the time period for which restatement is initiated. Only UTC time is currently supported. */ - secureOutput?: boolean; - } - - /** - * Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls. - */ - export interface SecureStringResponse { + requestedEndTime: string; /** - * Type of the secret. - * Expected value is 'SecureString'. + * The start time for the time period for which restatement is initiated. Only UTC time is currently supported. */ - type: "SecureString"; + requestedStartTime: string; /** - * Value of secure string. + * The max number of parallel time windows (ready for execution) for which a rerun is triggered. */ - value: string; + rerunConcurrency: number; + /** + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + */ + runtimeState: string; + /** + * Trigger type. + * Expected value is 'RerunTumblingWindowTrigger'. + */ + type: "RerunTumblingWindowTrigger"; } /** - * Self referenced tumbling window trigger dependency. + * Responsys linked service. */ - export interface SelfDependencyTumblingWindowTriggerReferenceResponse { + export interface ResponsysLinkedServiceResponse { /** - * Timespan applied to the start time of a tumbling window when evaluating dependency. + * List of tags that can be used for describing the linked service. */ - offset: string; + annotations?: any[]; /** - * The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. + * The client ID associated with the Responsys application. Type: string (or Expression with resultType string). */ - size?: string; + clientId: any; /** - * The type of dependency reference. - * Expected value is 'SelfDependencyTumblingWindowTriggerReference'. + * The client secret associated with the Responsys application. Type: string (or Expression with resultType string). */ - type: "SelfDependencyTumblingWindowTriggerReference"; - } - - /** - * Properties of Self-hosted integration runtime node. - */ - export interface SelfHostedIntegrationRuntimeNodeResponse { + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The integration runtime capabilities dictionary + * The integration runtime reference. */ - capabilities: {[key: string]: string}; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Maximum concurrent jobs on the integration runtime node. + * Linked service description. */ - concurrentJobsLimit: number; + description?: string; /** - * The time at which the integration runtime will expire in ISO8601 format. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - expiryTime: string; + encryptedCredential?: string; /** - * URI for the host machine of the integration runtime. + * The endpoint of the Responsys server. */ - hostServiceUri: string; + endpoint: any; /** - * Indicates whether this node is the active dispatcher for integration runtime requests. + * Parameters for linked service. */ - isActiveDispatcher: boolean; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The most recent time at which the integration runtime was connected in ISO8601 format. + * Type of linked service. + * Expected value is 'Responsys'. */ - lastConnectTime: string; + type: "Responsys"; /** - * The last time for the integration runtime node update end. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). */ - lastEndUpdateTime: string; + useEncryptedEndpoints?: any; /** - * The time the node last started up. + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ - lastStartTime: string; + useHostVerification?: any; /** - * The last time for the integration runtime node update start. + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ - lastStartUpdateTime: string; + usePeerVerification?: any; + } + + /** + * Responsys dataset. + */ + export interface ResponsysObjectDatasetResponse { /** - * The integration runtime node last stop time. + * List of tags that can be used for describing the Dataset. */ - lastStopTime: string; + annotations?: any[]; /** - * The result of the last integration runtime node update. + * Dataset description. */ - lastUpdateResult: string; + description?: string; /** - * Machine name of the integration runtime node. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - machineName: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The maximum concurrent jobs in this integration runtime. + * Linked service reference. */ - maxConcurrentJobs: number; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Name of the integration runtime node. + * Parameters for dataset. */ - nodeName: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The time at which the integration runtime node was registered in ISO8601 format. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - registerTime: string; + schema?: any; /** - * Status of the integration runtime node. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - status: string; + structure?: any; /** - * Version of the integration runtime node. + * The table name. Type: string (or Expression with resultType string). */ - version: string; + tableName?: any; /** - * Status of the integration runtime node version. + * Type of dataset. + * Expected value is 'ResponsysObject'. */ - versionStatus: string; + type: "ResponsysObject"; } /** - * Self-hosted integration runtime. + * A copy activity Responsys source. */ - export interface SelfHostedIntegrationRuntimeResponse { + export interface ResponsysSourceResponse { /** - * Integration runtime description. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - description?: string; - /** - * The base definition of a linked integration runtime. - */ - linkedInfo?: outputs.datafactory.LinkedIntegrationRuntimeKeyAuthorizationResponse | outputs.datafactory.LinkedIntegrationRuntimeRbacAuthorizationResponse; - /** - * An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay. - */ - selfContainedInteractiveAuthoringEnabled?: boolean; - /** - * The type of integration runtime. - * Expected value is 'SelfHosted'. - */ - type: "SelfHosted"; - } - - /** - * Self-hosted integration runtime status. - */ - export interface SelfHostedIntegrationRuntimeStatusResponse { + additionalColumns?: any; /** - * Whether Self-hosted integration runtime auto update has been turned on. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - autoUpdate: string; + disableMetricsCollection?: any; /** - * The estimated time when the self-hosted integration runtime will be updated. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - autoUpdateETA: string; + maxConcurrentConnections?: any; /** - * Object with additional information about integration runtime capabilities. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - capabilities: {[key: string]: string}; + query?: any; /** - * The time at which the integration runtime was created, in ISO8601 format. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - createTime: string; + queryTimeout?: any; /** - * The data factory name which the integration runtime belong to. + * Source retry count. Type: integer (or Expression with resultType integer). */ - dataFactoryName: string; + sourceRetryCount?: any; /** - * It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - internalChannelEncryption: string; + sourceRetryWait?: any; /** - * The latest version on download center. + * Copy source type. + * Expected value is 'ResponsysSource'. */ - latestVersion: string; + type: "ResponsysSource"; + } + + /** + * A Rest service dataset. + */ + export interface RestResourceDatasetResponse { /** - * The list of linked integration runtimes that are created to share with this integration runtime. + * The additional HTTP headers in the request to the RESTful API. */ - links?: outputs.datafactory.LinkedIntegrationRuntimeResponse[]; + additionalHeaders?: {[key: string]: any}; /** - * The local time zone offset in hours. + * List of tags that can be used for describing the Dataset. */ - localTimeZoneOffset: string; + annotations?: any[]; /** - * The list of nodes for this integration runtime. + * Dataset description. */ - nodes?: outputs.datafactory.SelfHostedIntegrationRuntimeNodeResponse[]; + description?: string; /** - * The version that the integration runtime is going to update to. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - pushedVersion: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The date at which the integration runtime will be scheduled to update, in ISO8601 format. + * Linked service reference. */ - scheduledUpdateDate: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay. + * The pagination rules to compose next page requests. */ - selfContainedInteractiveAuthoringEnabled: boolean; + paginationRules?: {[key: string]: any}; /** - * The URLs for the services used in integration runtime backend service. + * Parameters for dataset. */ - serviceUrls: string[]; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The state of integration runtime. + * The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). */ - state: string; + relativeUrl?: any; /** - * The task queue id of the integration runtime. + * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ - taskQueueId: string; + requestBody?: any; /** - * The type of integration runtime. - * Expected value is 'SelfHosted'. + * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). */ - type: "SelfHosted"; + requestMethod?: any; /** - * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - updateDelayOffset: string; + schema?: any; /** - * Version of the integration runtime. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - version: string; + structure?: any; /** - * Status of the integration runtime version. + * Type of dataset. + * Expected value is 'RestResource'. */ - versionStatus: string; + type: "RestResource"; } /** - * ServiceNow server linked service. + * Rest Service linked service. */ - export interface ServiceNowLinkedServiceResponse { + export interface RestServiceLinkedServiceResponse { + /** + * The resource you are requesting authorization to use. Type: string (or Expression with resultType string). + */ + aadResourceId?: any; /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The authentication type to use. + * The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). + */ + authHeaders?: any; + /** + * Type of authentication used to connect to the REST service. */ authenticationType: string; /** - * The client id for OAuth2 authentication. + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; + /** + * The client ID associated with your application. Type: string (or Expression with resultType string). */ clientId?: any; /** - * The client secret for OAuth2 authentication. + * The client secret associated with your application. */ clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The credential reference containing authentication information. + */ + credential?: outputs.datafactory.CredentialReferenceResponse; /** * Linked service description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). */ - encryptedCredential?: string; + enableServerCertificateValidation?: any; /** - * The endpoint of the ServiceNow server. (i.e. .service-now.com) + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - endpoint: any; + encryptedCredential?: string; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name for Basic and OAuth2 authentication. + * The password used in Basic authentication type. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of linked service. - * Expected value is 'ServiceNow'. - */ - type: "ServiceNow"; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * The target service or resource to which the access will be requested. Type: string (or Expression with resultType string). */ - useEncryptedEndpoints?: any; + resource?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string). */ - useHostVerification?: any; + scope?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * The application's client ID used in AadServicePrincipal authentication type. Type: string (or Expression with resultType string). */ - usePeerVerification?: any; + servicePrincipalId?: any; /** - * The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. + * The application's key used in AadServicePrincipal authentication type. */ - username?: any; - } - - /** - * ServiceNow server dataset. - */ - export interface ServiceNowObjectDatasetResponse { + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * List of tags that can be used for describing the Dataset. + * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. Type: string (or Expression with resultType string). */ - annotations?: any[]; + tenant?: any; /** - * Dataset description. + * The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string). */ - description?: string; + tokenEndpoint?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Type of linked service. + * Expected value is 'RestService'. */ - folder?: outputs.datafactory.DatasetResponseFolder; + type: "RestService"; /** - * Linked service reference. + * The base URL of the REST service. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + url: any; /** - * Parameters for dataset. + * The user name used in Basic authentication type. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + userName?: any; + } + + /** + * A copy activity Rest service Sink. + */ + export interface RestSinkResponse { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ - schema?: any; + additionalHeaders?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - structure?: any; + disableMetricsCollection?: any; /** - * The table name. Type: string (or Expression with resultType string). + * Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. */ - tableName?: any; + httpCompressionType?: any; /** - * Type of dataset. - * Expected value is 'ServiceNowObject'. + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "ServiceNowObject"; - } - - /** - * A copy activity ServiceNow server source. - */ - export interface ServiceNowSourceResponse { + httpRequestTimeout?: any; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - additionalColumns?: any; + maxConcurrentConnections?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The time to await before sending next request, in milliseconds */ - disableMetricsCollection?: any; + requestInterval?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + requestMethod?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - query?: any; + sinkRetryCount?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - queryTimeout?: any; + sinkRetryWait?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Copy sink type. + * Expected value is 'RestSink'. */ - sourceRetryCount?: any; + type: "RestSink"; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - sourceRetryWait?: any; + writeBatchSize?: any; /** - * Copy source type. - * Expected value is 'ServiceNowSource'. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "ServiceNowSource"; + writeBatchTimeout?: any; } /** - * Set value for a Variable. + * A copy activity Rest service source. */ - export interface SetVariableActivityResponse { + export interface RestSourceResponse { /** - * Activity depends on condition. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + additionalColumns?: any; /** - * Activity description. + * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ - description?: string; + additionalHeaders?: any; /** - * Activity name. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - name: string; + disableMetricsCollection?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - onInactiveMarkAs?: string; + httpRequestTimeout?: any; /** - * Activity policy. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - policy?: outputs.datafactory.SecureInputOutputPolicyResponse; + maxConcurrentConnections?: any; /** - * If set to true, it sets the pipeline run return value. + * The pagination rules to compose next page requests. Type: string (or Expression with resultType string). */ - setSystemVariable?: boolean; + paginationRules?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ - state?: string; + requestBody?: any; /** - * Type of activity. - * Expected value is 'SetVariable'. + * The time to await before sending next page request. */ - type: "SetVariable"; + requestInterval?: any; /** - * Activity user properties. + * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + requestMethod?: any; /** - * Value to be set. Could be a static value or Expression. + * Source retry count. Type: integer (or Expression with resultType integer). */ - value?: any; + sourceRetryCount?: any; /** - * Name of the variable whose value needs to be set. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - variableName?: string; + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'RestSource'. + */ + type: "RestSource"; } /** - * The location of SFTP dataset. + * Execution policy for an activity. */ - export interface SftpLocationResponse { - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + export interface RetryPolicyResponse { /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. */ - folderPath?: any; + count?: any; /** - * Type of dataset storage location. - * Expected value is 'SftpLocation'. + * Interval between retries in seconds. Default is 30. */ - type: "SftpLocation"; + intervalInSeconds?: number; } /** - * Sftp read settings. + * SSIS access credential. */ - export interface SftpReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableChunking?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; + export interface SSISAccessCredentialResponse { /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + * Domain for windows authentication. Type: string (or Expression with resultType string). */ - enablePartitionDiscovery?: any; + domain: any; /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + * Password for windows authentication. */ - fileListPath?: any; + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * UseName for windows authentication. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + userName: any; + } + + /** + * SSIS embedded child package. + */ + export interface SSISChildPackageResponse { /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). + * Content for embedded child package. Type: string (or Expression with resultType string). */ - modifiedDatetimeEnd?: any; + packageContent: any; /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). + * Last modified date for embedded child package. */ - modifiedDatetimeStart?: any; + packageLastModifiedDate?: string; /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * Name for embedded child package. */ - partitionRootPath?: any; + packageName?: string; /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Path for embedded child package. Type: string (or Expression with resultType string). */ - recursive?: any; + packagePath: any; + } + + /** + * SSIS package execution credential. + */ + export interface SSISExecutionCredentialResponse { /** - * The read setting type. - * Expected value is 'SftpReadSettings'. + * Domain for windows authentication. Type: string (or Expression with resultType string). */ - type: "SftpReadSettings"; + domain: any; /** - * Sftp wildcardFileName. Type: string (or Expression with resultType string). + * Password for windows authentication. */ - wildcardFileName?: any; + password: outputs.datafactory.SecureStringResponse; /** - * Sftp wildcardFolderPath. Type: string (or Expression with resultType string). + * UseName for windows authentication. Type: string (or Expression with resultType string). */ - wildcardFolderPath?: any; + userName: any; } /** - * A linked service for an SSH File Transfer Protocol (SFTP) server. + * SSIS execution parameter. */ - export interface SftpServerLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; + export interface SSISExecutionParameterResponse { /** - * The authentication type to be used to connect to the FTP server. + * SSIS package execution parameter value. Type: string (or Expression with resultType string). */ - authenticationType?: string; + value: any; + } + + /** + * SSIS package execution log location + */ + export interface SSISLogLocationResponse { /** - * The integration runtime reference. + * The package execution log access credential. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + accessCredential?: outputs.datafactory.SSISAccessCredentialResponse; /** - * Linked service description. + * The SSIS package execution log path. Type: string (or Expression with resultType string). */ - description?: string; + logPath: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - encryptedCredential?: string; + logRefreshInterval?: any; /** - * The SFTP server host name. Type: string (or Expression with resultType string). + * The type of SSIS log location. */ - host: any; + type: string; + } + + /** + * SSIS package location. + */ + export interface SSISPackageLocationResponse { /** - * The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). + * The package access credential. */ - hostKeyFingerprint?: any; + accessCredential?: outputs.datafactory.SSISAccessCredentialResponse; /** - * Parameters for linked service. + * The embedded child package list. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + childPackages?: outputs.datafactory.SSISChildPackageResponse[]; /** - * The password to decrypt the SSH private key if the SSH private key is encrypted. + * The configuration file access credential. */ - passPhrase?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + configurationAccessCredential?: outputs.datafactory.SSISAccessCredentialResponse; /** - * Password to logon the SFTP server for Basic authentication. + * The configuration file of the package execution. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + configurationPath?: any; /** - * The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0. + * The embedded package content. Type: string (or Expression with resultType string). */ - port?: any; + packageContent?: any; /** - * Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. + * The embedded package last modified date. */ - privateKeyContent?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + packageLastModifiedDate?: string; /** - * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). + * The package name. */ - privateKeyPath?: any; + packageName?: string; /** - * If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). + * Password of the package. */ - skipHostKeyValidation?: any; + packagePassword?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of linked service. - * Expected value is 'Sftp'. + * The SSIS package path. Type: string (or Expression with resultType string). */ - type: "Sftp"; + packagePath?: any; /** - * The username used to log on to the SFTP server. Type: string (or Expression with resultType string). + * The type of SSIS package location. */ - userName?: any; + type?: string; } /** - * Sftp write settings. + * SSIS property override. */ - export interface SftpWriteSettingsResponse { - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string). - */ - operationTimeout?: any; + export interface SSISPropertyOverrideResponse { /** - * The write setting type. - * Expected value is 'SftpWriteSettings'. + * Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true */ - type: "SftpWriteSettings"; + isSensitive?: boolean; /** - * Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean). + * SSIS package property override value. Type: string (or Expression with resultType string). */ - useTempFileRename?: any; + value: any; } /** - * SharePoint Online List linked service. + * Linked service for Salesforce. */ - export interface SharePointOnlineListLinkedServiceResponse { + export interface SalesforceLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The Salesforce API version used in ADF. Type: string (or Expression with resultType string). + */ + apiVersion?: any; /** * The integration runtime reference. */ @@ -150053,126 +152632,56 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). + * The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). */ - servicePrincipalId: any; + environmentUrl?: any; /** - * The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - servicePrincipalKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). + * The password for Basic authentication of the Salesforce instance. */ - siteUrl: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). + * The security token is optional to remotely access Salesforce instance. */ - tenantId: any; + securityToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'SharePointOnlineList'. - */ - type: "SharePointOnlineList"; - } - - /** - * The sharepoint online list resource dataset. - */ - export interface SharePointOnlineListResourceDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; - /** - * The name of the SharePoint Online list. Type: string (or Expression with resultType string). - */ - listName?: any; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Expected value is 'Salesforce'. */ - structure?: any; + type: "Salesforce"; /** - * Type of dataset. - * Expected value is 'SharePointOnlineListResource'. + * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). */ - type: "SharePointOnlineListResource"; + username?: any; } /** - * A copy activity source for sharePoint online list source. + * Salesforce Marketing Cloud linked service. */ - export interface SharePointOnlineListSourceResponse { - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; + export interface SalesforceMarketingCloudLinkedServiceResponse { /** - * Copy source type. - * Expected value is 'SharePointOnlineListSource'. + * List of tags that can be used for describing the linked service. */ - type: "SharePointOnlineListSource"; - } - - /** - * Shopify Service linked service. - */ - export interface ShopifyLinkedServiceResponse { + annotations?: any[]; /** - * The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. + * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + clientId?: any; /** - * List of tags that can be used for describing the linked service. + * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). */ - annotations?: any[]; + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object. + */ + connectionProperties?: any; /** * Linked service description. */ @@ -150181,37 +152690,33 @@ export namespace datafactory { * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * The endpoint of the Shopify server. (i.e. mystore.myshopify.com) - */ - host: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** * Type of linked service. - * Expected value is 'Shopify'. + * Expected value is 'SalesforceMarketingCloud'. */ - type: "Shopify"; + type: "SalesforceMarketingCloud"; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). */ useEncryptedEndpoints?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ useHostVerification?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ usePeerVerification?: any; } /** - * Shopify Service dataset. + * Salesforce Marketing Cloud dataset. */ - export interface ShopifyObjectDatasetResponse { + export interface SalesforceMarketingCloudObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -150246,15 +152751,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'ShopifyObject'. + * Expected value is 'SalesforceMarketingCloudObject'. */ - type: "ShopifyObject"; + type: "SalesforceMarketingCloudObject"; } /** - * A copy activity Shopify Service source. + * A copy activity Salesforce Marketing Cloud source. */ - export interface ShopifySourceResponse { + export interface SalesforceMarketingCloudSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -150285,37 +152790,66 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'ShopifySource'. + * Expected value is 'SalesforceMarketingCloudSource'. */ - type: "ShopifySource"; + type: "SalesforceMarketingCloudSource"; } /** - * Skip error file. + * The Salesforce object dataset. */ - export interface SkipErrorFileResponse { + export interface SalesforceObjectDatasetResponse { /** - * Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - dataInconsistency?: any; + annotations?: any[]; /** - * Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). + * Dataset description. */ - fileMissing?: any; + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The Salesforce object API name. Type: string (or Expression with resultType string). + */ + objectApiName?: any; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'SalesforceObject'. + */ + type: "SalesforceObject"; } /** - * Linked service for Smartsheet. + * Linked service for Salesforce Service Cloud. */ - export interface SmartsheetLinkedServiceResponse { + export interface SalesforceServiceCloudLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The api token for the Smartsheet source. + * The Salesforce API version used in ADF. Type: string (or Expression with resultType string). */ - apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + apiVersion?: any; /** * The integration runtime reference. */ @@ -150328,21 +152862,41 @@ export namespace datafactory { * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** + * The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). + */ + environmentUrl?: any; + /** + * Extended properties appended to the connection string. Type: string (or Expression with resultType string). + */ + extendedProperties?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The password for Basic authentication of the Salesforce instance. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The security token is optional to remotely access Salesforce instance. + */ + securityToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'Smartsheet'. + * Expected value is 'SalesforceServiceCloud'. */ - type: "Smartsheet"; + type: "SalesforceServiceCloud"; + /** + * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). + */ + username?: any; } /** - * The snowflake dataset. + * The Salesforce Service Cloud object dataset. */ - export interface SnowflakeDatasetResponse { + export interface SalesforceServiceCloudObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -150359,6 +152913,10 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). + */ + objectApiName?: any; /** * Parameters for dataset. */ @@ -150371,114 +152929,119 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name of the Snowflake database. Type: string (or Expression with resultType string). - */ - table?: any; /** * Type of dataset. - * Expected value is 'SnowflakeTable'. + * Expected value is 'SalesforceServiceCloudObject'. */ - type: "SnowflakeTable"; + type: "SalesforceServiceCloudObject"; } /** - * Snowflake export command settings. + * A copy activity Salesforce Service Cloud sink. */ - export interface SnowflakeExportCopyCommandResponse { + export interface SalesforceServiceCloudSinkResponse { /** - * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - additionalCopyOptions?: {[key: string]: any}; + disableMetricsCollection?: any; /** - * Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } + * The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). */ - additionalFormatOptions?: {[key: string]: any}; + externalIdFieldName?: any; /** - * The export setting type. - * Expected value is 'SnowflakeExportCopyCommand'. + * The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). */ - type: "SnowflakeExportCopyCommand"; - } - - /** - * Snowflake import command settings. - */ - export interface SnowflakeImportCopyCommandResponse { + ignoreNullValues?: any; /** - * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - additionalCopyOptions?: {[key: string]: any}; + maxConcurrentConnections?: any; /** - * Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } + * Sink retry count. Type: integer (or Expression with resultType integer). */ - additionalFormatOptions?: {[key: string]: any}; + sinkRetryCount?: any; /** - * The import setting type. - * Expected value is 'SnowflakeImportCopyCommand'. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "SnowflakeImportCopyCommand"; + sinkRetryWait?: any; + /** + * Copy sink type. + * Expected value is 'SalesforceServiceCloudSink'. + */ + type: "SalesforceServiceCloudSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + /** + * The write behavior for the operation. Default is Insert. + */ + writeBehavior?: string; } /** - * Snowflake linked service. + * A copy activity Salesforce Service Cloud source. */ - export interface SnowflakeLinkedServiceResponse { + export interface SalesforceServiceCloudSourceResponse { /** - * List of tags that can be used for describing the linked service. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - annotations?: any[]; + additionalColumns?: any; /** - * The integration runtime reference. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + disableMetricsCollection?: any; /** - * The connection string of snowflake. Type: string, SecureString. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - connectionString: any; + maxConcurrentConnections?: any; /** - * Linked service description. + * Database query. Type: string (or Expression with resultType string). */ - description?: string; + query?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + readBehavior?: any; /** - * Parameters for linked service. + * Source retry count. Type: integer (or Expression with resultType integer). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sourceRetryCount?: any; /** - * The Azure key vault secret reference of password in connection string. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + sourceRetryWait?: any; /** - * Type of linked service. - * Expected value is 'Snowflake'. + * Copy source type. + * Expected value is 'SalesforceServiceCloudSource'. */ - type: "Snowflake"; + type: "SalesforceServiceCloudSource"; } /** - * A copy activity snowflake sink. + * A copy activity Salesforce sink. */ - export interface SnowflakeSinkResponse { + export interface SalesforceSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * Snowflake import settings. + * The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). */ - importSettings?: outputs.datafactory.SnowflakeImportCopyCommandResponse; + externalIdFieldName?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). */ - maxConcurrentConnections?: any; + ignoreNullValues?: any; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - preCopyScript?: any; + maxConcurrentConnections?: any; /** * Sink retry count. Type: integer (or Expression with resultType integer). */ @@ -150489,9 +153052,9 @@ export namespace datafactory { sinkRetryWait?: any; /** * Copy sink type. - * Expected value is 'SnowflakeSink'. + * Expected value is 'SalesforceSink'. */ - type: "SnowflakeSink"; + type: "SalesforceSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -150500,28 +153063,40 @@ export namespace datafactory { * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ writeBatchTimeout?: any; + /** + * The write behavior for the operation. Default is Insert. + */ + writeBehavior?: string; } /** - * A copy activity snowflake source. + * A copy activity Salesforce source. */ - export interface SnowflakeSourceResponse { + export interface SalesforceSourceResponse { /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - disableMetricsCollection?: any; + additionalColumns?: any; /** - * Snowflake export settings. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - exportSettings: outputs.datafactory.SnowflakeExportCopyCommandResponse; + disableMetricsCollection?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Snowflake Sql query. Type: string (or Expression with resultType string). + * Database query. Type: string (or Expression with resultType string). */ query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or Expression with resultType string). + */ + readBehavior?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -150532,45 +153107,23 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SnowflakeSource'. - */ - type: "SnowflakeSource"; - } - - /** - * Spark configuration reference. - */ - export interface SparkConfigurationParametrizationReferenceResponse { - /** - * Reference spark configuration name. Type: string (or Expression with resultType string). - */ - referenceName: any; - /** - * Spark configuration reference type. + * Expected value is 'SalesforceSource'. */ - type: string; + type: "SalesforceSource"; } /** - * Spark Server linked service. + * SAP Business Warehouse Linked Service. */ - export interface SparkLinkedServiceResponse { - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is false. - */ - allowSelfSignedServerCert?: any; + export interface SapBWLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The authentication method used to access the Spark server. + * Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ - authenticationType: string; + clientId: any; /** * The integration runtime reference. */ @@ -150579,65 +153132,41 @@ export namespace datafactory { * Linked service description. */ description?: string; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is false. - */ - enableSsl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; - /** - * IP address or host name of the Spark server - */ - host: any; - /** - * The partial URL corresponding to the Spark server. - */ - httpPath?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password corresponding to the user name that you provided in the Username field + * Password to access the SAP BW server. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The TCP port that the Spark server uses to listen for client connections. - */ - port: any; - /** - * The type of Spark server. - */ - serverType?: string; - /** - * The transport protocol to use in the Thrift layer. + * Host name of the SAP BW instance. Type: string (or Expression with resultType string). */ - thriftTransportProtocol?: string; + server: any; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + * System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */ - trustedCertPath?: any; + systemNumber: any; /** * Type of linked service. - * Expected value is 'Spark'. - */ - type: "Spark"; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + * Expected value is 'SapBW'. */ - useSystemTrustStore?: any; + type: "SapBW"; /** - * The user name that you use to access Spark Server. + * Username to access the SAP BW server. Type: string (or Expression with resultType string). */ - username?: any; + userName?: any; } /** - * Spark Server dataset. + * The SAP BW cube dataset. */ - export interface SparkObjectDatasetResponse { + export interface SapBwCubeDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -150666,25 +153195,17 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name of the Spark. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'SparkObject'. + * Expected value is 'SapBwCube'. */ - type: "SparkObject"; + type: "SapBwCube"; } /** - * A copy activity Spark Server source. + * A copy activity source for SapBW server via MDX. */ - export interface SparkSourceResponse { + export interface SapBwSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -150698,7 +153219,7 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * MDX query. Type: string (or Expression with resultType string). */ query?: any; /** @@ -150715,90 +153236,126 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SparkSource'. + * Expected value is 'SapBwSource'. */ - type: "SparkSource"; + type: "SapBwSource"; } /** - * Sql always encrypted properties. + * Linked service for SAP Cloud for Customer. */ - export interface SqlAlwaysEncryptedPropertiesResponse { + export interface SapCloudForCustomerLinkedServiceResponse { /** - * Sql always encrypted AKV authentication type. Type: string. + * List of tags that can be used for describing the linked service. */ - alwaysEncryptedAkvAuthType: string; + annotations?: any[]; /** - * The credential reference containing authentication information. + * The integration runtime reference. */ - credential?: outputs.datafactory.CredentialReferenceResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string). + * Linked service description. */ - servicePrincipalId?: any; + description?: string; /** - * The key of the service principal used to authenticate against Azure Key Vault. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. */ - servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - } - - /** - * A copy activity SQL Data Warehouse sink. - */ - export interface SqlDWSinkResponse { + encryptedCredential?: string; /** - * Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). + * Parameters for linked service. */ - allowCopyCommand?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean). + * The password for Basic authentication. */ - allowPolyBase?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Specifies Copy Command related settings when allowCopyCommand is true. + * Type of linked service. + * Expected value is 'SapCloudForCustomer'. */ - copyCommandSettings?: outputs.datafactory.DWCopyCommandSettingsResponse; + type: "SapCloudForCustomer"; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string). */ - disableMetricsCollection?: any; + url: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The username for Basic authentication. Type: string (or Expression with resultType string). */ - maxConcurrentConnections?: any; + username?: any; + } + + /** + * The path of the SAP Cloud for Customer OData entity. + */ + export interface SapCloudForCustomerResourceDatasetResponse { /** - * Specifies PolyBase-related settings when allowPolyBase is true. + * List of tags that can be used for describing the Dataset. */ - polyBaseSettings?: outputs.datafactory.PolybaseSettingsResponse; + annotations?: any[]; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * Dataset description. */ - preCopyScript?: any; + description?: string; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - sinkRetryCount?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Linked service reference. */ - sinkRetryWait?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). + * Parameters for dataset. */ - sqlWriterUseTableLock?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + * The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). */ - tableOption?: any; + path: any; /** - * Copy sink type. - * Expected value is 'SqlDWSink'. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - type: "SqlDWSink"; + schema?: any; /** - * SQL DW upsert settings. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - upsertSettings?: outputs.datafactory.SqlDWUpsertSettingsResponse; + structure?: any; + /** + * Type of dataset. + * Expected value is 'SapCloudForCustomerResource'. + */ + type: "SapCloudForCustomerResource"; + } + + /** + * A copy activity SAP Cloud for Customer sink. + */ + export interface SapCloudForCustomerSinkResponse { + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + httpRequestTimeout?: any; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Sink retry count. Type: integer (or Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sinkRetryWait?: any; + /** + * Copy sink type. + * Expected value is 'SapCloudForCustomerSink'. + */ + type: "SapCloudForCustomerSink"; /** * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ @@ -150808,15 +153365,15 @@ export namespace datafactory { */ writeBatchTimeout?: any; /** - * Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum) + * The write behavior for the operation. Default is 'Insert'. */ - writeBehavior?: any; + writeBehavior?: string; } /** - * A copy activity SQL Data Warehouse source. + * A copy activity source for SAP Cloud for Customer source. */ - export interface SqlDWSourceResponse { + export interface SapCloudForCustomerSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -150826,21 +153383,17 @@ export namespace datafactory { */ disableMetricsCollection?: any; /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - isolationLevel?: any; + httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. + * SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). */ - partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; + query?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ @@ -150853,114 +153406,103 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; - /** - * SQL Data Warehouse reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Data Warehouse source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. - */ - storedProcedureParameters?: any; /** * Copy source type. - * Expected value is 'SqlDWSource'. + * Expected value is 'SapCloudForCustomerSource'. */ - type: "SqlDWSource"; + type: "SapCloudForCustomerSource"; } /** - * Sql DW upsert option settings + * Linked service for SAP ERP Central Component(SAP ECC). */ - export interface SqlDWUpsertSettingsResponse { + export interface SapEccLinkedServiceResponse { /** - * Schema name for interim table. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - interimSchemaName?: any; + annotations?: any[]; /** - * Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). + * The integration runtime reference. */ - keys?: any; - } - - /** - * A copy activity Azure SQL Managed Instance sink. - */ - export interface SqlMISinkResponse { + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * Linked service description. */ - disableMetricsCollection?: any; + description?: string; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string. */ - maxConcurrentConnections?: any; + encryptedCredential?: string; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - preCopyScript?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The password for Basic authentication. */ - sinkRetryCount?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Type of linked service. + * Expected value is 'SapEcc'. */ - sinkRetryWait?: any; + type: "SapEcc"; /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). + * The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). */ - sqlWriterStoredProcedureName?: any; + url: any; /** - * SQL writer table type. Type: string (or Expression with resultType string). + * The username for Basic authentication. Type: string (or Expression with resultType string). */ - sqlWriterTableType?: any; + username?: any; + } + + /** + * The path of the SAP ECC OData entity. + */ + export interface SapEccResourceDatasetResponse { /** - * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - sqlWriterUseTableLock?: any; + annotations?: any[]; /** - * SQL stored procedure parameters. + * Dataset description. */ - storedProcedureParameters?: any; + description?: string; /** - * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - storedProcedureTableTypeParameterName?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + * Linked service reference. */ - tableOption?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Copy sink type. - * Expected value is 'SqlMISink'. + * Parameters for dataset. */ - type: "SqlMISink"; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * SQL upsert settings. + * The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). */ - upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; + path: any; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - writeBatchSize?: any; + schema?: any; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - writeBatchTimeout?: any; + structure?: any; /** - * White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) + * Type of dataset. + * Expected value is 'SapEccResource'. */ - writeBehavior?: any; + type: "SapEccResource"; } /** - * A copy activity Azure SQL Managed Instance source. + * A copy activity source for SAP ECC source. */ - export interface SqlMISourceResponse { + export interface SapEccSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -150970,25 +153512,17 @@ export namespace datafactory { */ disableMetricsCollection?: any; /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - isolationLevel?: any; + httpRequestTimeout?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; - /** - * Which additional types to produce. + * SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). */ - produceAdditionalTypes?: any; + query?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ @@ -151001,63 +153535,33 @@ export namespace datafactory { * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; - /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - */ - storedProcedureParameters?: any; /** * Copy source type. - * Expected value is 'SqlMISource'. - */ - type: "SqlMISource"; - } - - /** - * The settings that will be leveraged for Sql source partitioning. - */ - export interface SqlPartitionSettingsResponse { - /** - * The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; - /** - * The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). + * Expected value is 'SapEccSource'. */ - partitionUpperBound?: any; + type: "SapEccSource"; } /** - * SQL Server linked service. + * SAP HANA Linked Service. */ - export interface SqlServerLinkedServiceResponse { - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; + export interface SapHanaLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The authentication type to be used to connect to the SAP HANA server. + */ + authenticationType?: string; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - connectionString: any; + connectionString?: any; /** * Linked service description. */ @@ -151071,213 +153575,239 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The on-premises Windows authentication password. + * Password to access the SAP HANA server. */ password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Host name of the SAP HANA server. Type: string (or Expression with resultType string). + */ + server?: any; /** * Type of linked service. - * Expected value is 'SqlServer'. + * Expected value is 'SapHana'. */ - type: "SqlServer"; + type: "SapHana"; /** - * The on-premises Windows authentication user name. Type: string (or Expression with resultType string). + * Username to access the SAP HANA server. Type: string (or Expression with resultType string). */ userName?: any; } /** - * A copy activity SQL server sink. + * The settings that will be leveraged for SAP HANA source partitioning. */ - export interface SqlServerSinkResponse { + export interface SapHanaPartitionSettingsResponse { + /** + * The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionColumnName?: any; + } + + /** + * A copy activity source for SAP HANA source. + */ + export interface SapHanaSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). */ - preCopyScript?: any; + packetSize?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". */ - sinkRetryCount?: any; + partitionOption?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The settings that will be leveraged for SAP HANA source partitioning. */ - sinkRetryWait?: any; + partitionSettings?: outputs.datafactory.SapHanaPartitionSettingsResponse; /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). + * SAP HANA Sql query. Type: string (or Expression with resultType string). */ - sqlWriterStoredProcedureName?: any; + query?: any; /** - * SQL writer table type. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - sqlWriterTableType?: any; + queryTimeout?: any; /** - * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). + * Source retry count. Type: integer (or Expression with resultType integer). */ - sqlWriterUseTableLock?: any; + sourceRetryCount?: any; /** - * SQL stored procedure parameters. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - storedProcedureParameters?: any; + sourceRetryWait?: any; /** - * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * Copy source type. + * Expected value is 'SapHanaSource'. */ - storedProcedureTableTypeParameterName?: any; + type: "SapHanaSource"; + } + + /** + * SAP HANA Table properties. + */ + export interface SapHanaTableDatasetResponse { /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - tableOption?: any; + annotations?: any[]; /** - * Copy sink type. - * Expected value is 'SqlServerSink'. + * Dataset description. */ - type: "SqlServerSink"; + description?: string; /** - * SQL upsert settings. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * Linked service reference. */ - writeBatchSize?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Parameters for dataset. */ - writeBatchTimeout?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - writeBehavior?: any; - } - - /** - * A copy activity SQL server source. - */ - export interface SqlServerSourceResponse { + schema?: any; /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - additionalColumns?: any; + structure?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The table name of SAP HANA. Type: string (or Expression with resultType string). */ - disableMetricsCollection?: any; + table?: any; /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'SapHanaTable'. */ - isolationLevel?: any; + type: "SapHanaTable"; + } + + /** + * SAP ODP Linked Service. + */ + export interface SapOdpLinkedServiceResponse { /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * List of tags that can be used for describing the linked service. */ - maxConcurrentConnections?: any; + annotations?: any[]; /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + * Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ - partitionOption?: any; + clientId?: any; /** - * The settings that will be leveraged for Sql source partitioning. + * The integration runtime reference. */ - partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Which additional types to produce. + * Linked service description. */ - produceAdditionalTypes?: any; + description?: string; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - queryTimeout?: any; + encryptedCredential?: string; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). */ - sourceRetryCount?: any; + language?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ - sourceRetryWait?: any; + logonGroup?: any; /** - * SQL reader query. Type: string (or Expression with resultType string). + * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */ - sqlReaderQuery?: any; + messageServer?: any; /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + * The service name or port number of the Message Server. Type: string (or Expression with resultType string). */ - sqlReaderStoredProcedureName?: any; + messageServerService?: any; /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * Parameters for linked service. */ - storedProcedureParameters?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Copy source type. - * Expected value is 'SqlServerSource'. + * Password to access the SAP server where the table is located. */ - type: "SqlServerSource"; - } - - /** - * SQL stored procedure activity type. - */ - export interface SqlServerStoredProcedureActivityResponse { + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Activity depends on condition. + * Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + server?: any; /** - * Activity description. + * External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ - description?: string; + sncLibraryPath?: any; /** - * Linked service reference. + * SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + sncMode?: any; /** - * Activity name. + * Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ - name: string; + sncMyName?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ - onInactiveMarkAs?: string; + sncPartnerName?: any; /** - * Activity policy. + * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + sncQop?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The subscriber name. Type: string (or Expression with resultType string). */ - state?: string; + subscriberName?: any; /** - * Stored procedure name. Type: string (or Expression with resultType string). + * SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). */ - storedProcedureName: any; + systemId?: any; /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */ - storedProcedureParameters?: any; + systemNumber?: any; /** - * Type of activity. - * Expected value is 'SqlServerStoredProcedure'. + * Type of linked service. + * Expected value is 'SapOdp'. */ - type: "SqlServerStoredProcedure"; + type: "SapOdp"; /** - * Activity user properties. + * Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + userName?: any; + /** + * SNC X509 certificate file path. Type: string (or Expression with resultType string). + */ + x509CertificatePath?: any; } /** - * The on-premises SQL Server dataset. + * SAP ODP Resource properties. */ - export interface SqlServerTableDatasetResponse { + export interface SapOdpResourceDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; + /** + * The context of the SAP ODP Object. Type: string (or Expression with resultType string). + */ + context: any; /** * Dataset description. */ @@ -151290,6 +153820,10 @@ export namespace datafactory { * Linked service reference. */ linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The name of the SAP ODP Object. Type: string (or Expression with resultType string). + */ + objectName: any; /** * Parameters for dataset. */ @@ -151302,124 +153836,171 @@ export namespace datafactory { * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ structure?: any; - /** - * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; /** * Type of dataset. - * Expected value is 'SqlServerTable'. + * Expected value is 'SapOdpResource'. */ - type: "SqlServerTable"; + type: "SapOdpResource"; } /** - * A copy activity SQL sink. + * A copy activity source for SAP ODP source. */ - export interface SqlSinkResponse { + export interface SapOdpSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + * The extraction mode. Allowed value include: Full, Delta and Recovery. The default value is Full. Type: string (or Expression with resultType string). + */ + extractionMode?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * SQL pre-copy script. Type: string (or Expression with resultType string). + * Specifies the columns to be selected from source data. Type: array of objects(projection) (or Expression with resultType array of objects). */ - preCopyScript?: any; + projection?: any; /** - * Sink retry count. Type: integer (or Expression with resultType integer). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - sinkRetryCount?: any; + queryTimeout?: any; /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specifies the selection conditions from source data. Type: array of objects(selection) (or Expression with resultType array of objects). */ - sinkRetryWait?: any; + selection?: any; /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - sqlWriterStoredProcedureName?: any; + sourceRetryCount?: any; /** - * SQL writer table type. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - sqlWriterTableType?: any; + sourceRetryWait?: any; /** - * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). + * The subscriber process to manage the delta process. Type: string (or Expression with resultType string). */ - sqlWriterUseTableLock?: any; + subscriberProcess?: any; /** - * SQL stored procedure parameters. + * Copy source type. + * Expected value is 'SapOdpSource'. */ - storedProcedureParameters?: any; + type: "SapOdpSource"; + } + + /** + * SAP Business Warehouse Open Hub Destination Linked Service. + */ + export interface SapOpenHubLinkedServiceResponse { /** - * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - storedProcedureTableTypeParameterName?: any; + annotations?: any[]; /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + * Client ID of the client on the BW system where the open hub destination is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ - tableOption?: any; + clientId?: any; /** - * Copy sink type. - * Expected value is 'SqlSink'. + * The integration runtime reference. */ - type: "SqlSink"; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * SQL upsert settings. + * Linked service description. */ - upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; + description?: string; /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - writeBatchSize?: any; + encryptedCredential?: string; /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Language of the BW system where the open hub destination is located. The default value is EN. Type: string (or Expression with resultType string). */ - writeBatchTimeout?: any; + language?: any; /** - * Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) + * The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ - writeBehavior?: any; + logonGroup?: any; + /** + * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + */ + messageServer?: any; + /** + * The service name or port number of the Message Server. Type: string (or Expression with resultType string). + */ + messageServerService?: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Password to access the SAP BW server where the open hub destination is located. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Host name of the SAP BW instance where the open hub destination is located. Type: string (or Expression with resultType string). + */ + server?: any; + /** + * SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + */ + systemId?: any; + /** + * System number of the BW system where the open hub destination is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + */ + systemNumber?: any; + /** + * Type of linked service. + * Expected value is 'SapOpenHub'. + */ + type: "SapOpenHub"; + /** + * Username to access the SAP BW server where the open hub destination is located. Type: string (or Expression with resultType string). + */ + userName?: any; } /** - * A copy activity SQL source. + * A copy activity source for SAP Business Warehouse Open Hub Destination source. */ - export interface SqlSourceResponse { + export interface SapOpenHubSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). */ - disableMetricsCollection?: any; + baseRequestId?: any; /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). */ - isolationLevel?: any; + customRfcReadTableFunctionModule?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - maxConcurrentConnections?: any; + disableMetricsCollection?: any; /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + * Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). */ - partitionOption?: any; + excludeLastRequest?: any; /** - * The settings that will be leveraged for Sql source partitioning. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; + maxConcurrentConnections?: any; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ queryTimeout?: any; + /** + * The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). + */ + sapDataColumnDelimiter?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -151429,66 +154010,79 @@ export namespace datafactory { */ sourceRetryWait?: any; /** - * SQL reader query. Type: string (or Expression with resultType string). + * Copy source type. + * Expected value is 'SapOpenHubSource'. */ - sqlReaderQuery?: any; + type: "SapOpenHubSource"; + } + + /** + * Sap Business Warehouse Open Hub Destination Table properties. + */ + export interface SapOpenHubTableDatasetResponse { /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - sqlReaderStoredProcedureName?: any; + annotations?: any[]; /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). */ - storedProcedureParameters?: any; + baseRequestId?: any; /** - * Copy source type. - * Expected value is 'SqlSource'. + * Dataset description. */ - type: "SqlSource"; - } - - /** - * Sql upsert option settings - */ - export interface SqlUpsertSettingsResponse { + description?: string; /** - * Schema name for interim table. Type: string (or Expression with resultType string). + * Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). */ - interimSchemaName?: any; + excludeLastRequest?: any; /** - * Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - keys?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean). + * Linked service reference. */ - useTempDB?: any; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). + */ + openHubDestinationName: any; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'SapOpenHubTable'. + */ + type: "SapOpenHubTable"; } /** - * Square Service linked service. + * SAP Table Linked Service. */ - export interface SquareLinkedServiceResponse { + export interface SapTableLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * The client ID associated with your Square application. + * Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ clientId?: any; - /** - * The client secret associated with your Square application. - */ - clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; - /** - * Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object. - */ - connectionProperties?: any; /** * Linked service description. */ @@ -151498,40 +154092,98 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The URL of the Square instance. (i.e. mystore.mysquare.com) + * Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). */ - host?: any; + language?: any; + /** + * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + */ + logonGroup?: any; + /** + * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + */ + messageServer?: any; + /** + * The service name or port number of the Message Server. Type: string (or Expression with resultType string). + */ + messageServerService?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) + * Password to access the SAP server where the table is located. */ - redirectUri?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). + */ + server?: any; + /** + * External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). + */ + sncLibraryPath?: any; + /** + * SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + */ + sncMode?: any; + /** + * Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + */ + sncMyName?: any; + /** + * Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + */ + sncPartnerName?: any; + /** + * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). + */ + sncQop?: any; + /** + * SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + */ + systemId?: any; + /** + * System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + */ + systemNumber?: any; /** * Type of linked service. - * Expected value is 'Square'. + * Expected value is 'SapTable'. */ - type: "Square"; + type: "SapTable"; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ - useEncryptedEndpoints?: any; + userName?: any; + } + + /** + * The settings that will be leveraged for SAP table source partitioning. + */ + export interface SapTablePartitionSettingsResponse { /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). */ - useHostVerification?: any; + maxPartitionsNumber?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ - usePeerVerification?: any; + partitionColumnName?: any; + /** + * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionLowerBound?: any; + /** + * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionUpperBound?: any; } /** - * Square Service dataset. + * SAP Table Resource properties. */ - export interface SquareObjectDatasetResponse { + export interface SapTableResourceDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -151561,24 +154213,32 @@ export namespace datafactory { */ structure?: any; /** - * The table name. Type: string (or Expression with resultType string). + * The name of the SAP Table. Type: string (or Expression with resultType string). */ - tableName?: any; + tableName: any; /** * Type of dataset. - * Expected value is 'SquareObject'. + * Expected value is 'SapTableResource'. */ - type: "SquareObject"; + type: "SapTableResource"; } /** - * A copy activity Square Service source. + * A copy activity source for SAP Table source. */ - export interface SquareSourceResponse { + export interface SapTableSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ additionalColumns?: any; + /** + * Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). + */ + batchSize?: any; + /** + * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). + */ + customRfcReadTableFunctionModule?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -151588,13 +154248,37 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". */ - query?: any; + partitionOption?: any; + /** + * The settings that will be leveraged for SAP table source partitioning. + */ + partitionSettings?: outputs.datafactory.SapTablePartitionSettingsResponse; /** * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ queryTimeout?: any; + /** + * The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string). + */ + rfcTableFields?: any; + /** + * The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string). + */ + rfcTableOptions?: any; + /** + * The number of rows to be retrieved. Type: integer(or Expression with resultType integer). + */ + rowCount?: any; + /** + * The number of rows that will be skipped. Type: integer (or Expression with resultType integer). + */ + rowSkips?: any; + /** + * The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). + */ + sapDataColumnDelimiter?: any; /** * Source retry count. Type: integer (or Expression with resultType integer). */ @@ -151605,430 +154289,514 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'SquareSource'. + * Expected value is 'SapTableSource'. */ - type: "SquareSource"; + type: "SapTableSource"; } /** - * Ssis environment reference. + * The workflow trigger recurrence. */ - export interface SsisEnvironmentReferenceResponse { + export interface ScheduleTriggerRecurrenceResponse { /** - * Environment folder name. + * The end time. */ - environmentFolderName?: string; + endTime?: string; /** - * Environment name. + * The frequency. */ - environmentName?: string; + frequency?: string; /** - * Environment reference id. + * The interval. */ - id?: number; + interval?: number; /** - * Reference type + * The recurrence schedule. */ - referenceType?: string; + schedule?: outputs.datafactory.RecurrenceScheduleResponse; + /** + * The start time. + */ + startTime?: string; + /** + * The time zone. + */ + timeZone?: string; } /** - * Ssis environment. + * Trigger that creates pipeline runs periodically, on schedule. */ - export interface SsisEnvironmentResponse { + export interface ScheduleTriggerResponse { /** - * Metadata description. + * List of tags that can be used for describing the trigger. */ - description?: string; + annotations?: any[]; /** - * Folder id which contains environment. + * Trigger description. */ - folderId?: number; + description?: string; /** - * Metadata id. + * Pipelines that need to be started. */ - id?: number; + pipelines?: outputs.datafactory.TriggerPipelineReferenceResponse[]; /** - * Metadata name. + * Recurrence schedule configuration. */ - name?: string; + recurrence: outputs.datafactory.ScheduleTriggerRecurrenceResponse; /** - * The type of SSIS object metadata. - * Expected value is 'Environment'. + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. */ - type: "Environment"; + runtimeState: string; /** - * Variable in environment + * Trigger type. + * Expected value is 'ScheduleTrigger'. */ - variables?: outputs.datafactory.SsisVariableResponse[]; + type: "ScheduleTrigger"; } /** - * Ssis folder. + * Custom script action to run on HDI ondemand cluster once it's up. */ - export interface SsisFolderResponse { + export interface ScriptActionResponse { /** - * Metadata description. + * The user provided name of the script action. */ - description?: string; + name: string; /** - * Metadata id. + * The parameters for the script action. */ - id?: number; + parameters?: string; /** - * Metadata name. + * The node types on which the script action should be executed. */ - name?: string; + roles: any; /** - * The type of SSIS object metadata. - * Expected value is 'Folder'. + * The URI for the script action. */ - type: "Folder"; + uri: string; } /** - * Ssis Package. + * Parameters of a script block. */ - export interface SsisPackageResponse { - /** - * Metadata description. - */ - description?: string; - /** - * Folder id which contains package. - */ - folderId?: number; - /** - * Metadata id. - */ - id?: number; + export interface ScriptActivityParameterResponse { /** - * Metadata name. + * The direction of the parameter. */ - name?: string; + direction?: string; /** - * Parameters in package + * The name of the parameter. Type: string (or Expression with resultType string). */ - parameters?: outputs.datafactory.SsisParameterResponse[]; + name?: any; /** - * Project id which contains package. + * The size of the output direction parameter. */ - projectId?: number; + size?: number; /** - * Project version which contains package. + * The type of the parameter. */ - projectVersion?: number; + type?: string; /** - * The type of SSIS object metadata. - * Expected value is 'Package'. + * The value of the parameter. Type: string (or Expression with resultType string). */ - type: "Package"; + value?: any; } /** - * Ssis parameter. + * Script activity type. */ - export interface SsisParameterResponse { - /** - * Parameter type. - */ - dataType?: string; + export interface ScriptActivityResponse { /** - * Default value of parameter. + * Activity depends on condition. */ - defaultValue?: string; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Parameter description. + * Activity description. */ description?: string; /** - * Design default value of parameter. + * Linked service reference. */ - designDefaultValue?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Parameter id. + * Log settings of script activity. */ - id?: number; + logSettings?: outputs.datafactory.ScriptActivityTypePropertiesResponseLogSettings; /** - * Parameter name. + * Activity name. */ - name?: string; + name: string; /** - * Whether parameter is required. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - required?: boolean; + onInactiveMarkAs?: string; /** - * Whether parameter is sensitive. + * Activity policy. */ - sensitive?: boolean; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Default sensitive value of parameter. + * ScriptBlock execution timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - sensitiveDefaultValue?: string; + scriptBlockExecutionTimeout?: any; /** - * Parameter value set. + * Array of script blocks. Type: array. */ - valueSet?: boolean; + scripts?: outputs.datafactory.ScriptActivityScriptBlockResponse[]; /** - * Parameter value type. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - valueType?: string; + state?: string; /** - * Parameter reference variable. + * Type of activity. + * Expected value is 'Script'. */ - variable?: string; + type: "Script"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Ssis project. + * Script block of scripts. */ - export interface SsisProjectResponse { + export interface ScriptActivityScriptBlockResponse { /** - * Metadata description. + * Array of script parameters. Type: array. */ - description?: string; + parameters?: outputs.datafactory.ScriptActivityParameterResponse[]; /** - * Environment reference in project + * The query text. Type: string (or Expression with resultType string). */ - environmentRefs?: outputs.datafactory.SsisEnvironmentReferenceResponse[]; + text: any; /** - * Folder id which contains project. + * The type of the query. Type: string. */ - folderId?: number; + type: string; + } + + /** + * Log settings of script activity. + */ + export interface ScriptActivityTypePropertiesResponseLogSettings { /** - * Metadata id. + * The destination of logs. Type: string. */ - id?: number; + logDestination: string; /** - * Metadata name. + * Log location settings customer needs to provide when enabling log. */ - name?: string; + logLocationSettings?: outputs.datafactory.LogLocationSettingsResponse; + } + + /** + * Execution policy for an activity that supports secure input and output. + */ + export interface SecureInputOutputPolicyResponse { /** - * Parameters in project + * When set to true, Input from activity is considered as secure and will not be logged to monitoring. */ - parameters?: outputs.datafactory.SsisParameterResponse[]; + secureInput?: boolean; /** - * The type of SSIS object metadata. - * Expected value is 'Project'. + * When set to true, Output from activity is considered as secure and will not be logged to monitoring. */ - type: "Project"; + secureOutput?: boolean; + } + + /** + * Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls. + */ + export interface SecureStringResponse { /** - * Project version. + * Type of the secret. + * Expected value is 'SecureString'. */ - version?: number; + type: "SecureString"; + /** + * Value of secure string. + */ + value: string; } /** - * Ssis variable. + * Self referenced tumbling window trigger dependency. */ - export interface SsisVariableResponse { + export interface SelfDependencyTumblingWindowTriggerReferenceResponse { /** - * Variable type. + * Timespan applied to the start time of a tumbling window when evaluating dependency. */ - dataType?: string; + offset: string; /** - * Variable description. + * The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. */ - description?: string; + size?: string; /** - * Variable id. + * The type of dependency reference. + * Expected value is 'SelfDependencyTumblingWindowTriggerReference'. */ - id?: number; + type: "SelfDependencyTumblingWindowTriggerReference"; + } + + /** + * Properties of Self-hosted integration runtime node. + */ + export interface SelfHostedIntegrationRuntimeNodeResponse { /** - * Variable name. + * The integration runtime capabilities dictionary */ - name?: string; + capabilities: {[key: string]: string}; /** - * Whether variable is sensitive. + * Maximum concurrent jobs on the integration runtime node. */ - sensitive?: boolean; + concurrentJobsLimit: number; /** - * Variable sensitive value. + * The time at which the integration runtime will expire in ISO8601 format. */ - sensitiveValue?: string; + expiryTime: string; /** - * Variable value. + * URI for the host machine of the integration runtime. */ - value?: string; - } - - /** - * Staging settings. - */ - export interface StagingSettingsResponse { + hostServiceUri: string; /** - * Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). + * Indicates whether this node is the active dispatcher for integration runtime requests. */ - enableCompression?: any; + isActiveDispatcher: boolean; /** - * Staging linked service reference. + * The most recent time at which the integration runtime was connected in ISO8601 format. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + lastConnectTime: string; /** - * The path to storage for storing the interim data. Type: string (or Expression with resultType string). + * The last time for the integration runtime node update end. */ - path?: any; - } - - /** - * This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property. - */ - export interface SwitchActivityResponse { + lastEndUpdateTime: string; /** - * List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. + * The time the node last started up. */ - cases?: outputs.datafactory.SwitchCaseResponse[]; + lastStartTime: string; /** - * List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. + * The last time for the integration runtime node update start. */ - defaultActivities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + lastStartUpdateTime: string; /** - * Activity depends on condition. + * The integration runtime node last stop time. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + lastStopTime: string; /** - * Activity description. + * The result of the last integration runtime node update. */ - description?: string; + lastUpdateResult: string; /** - * Activity name. + * Machine name of the integration runtime node. */ - name: string; + machineName: string; /** - * An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. + * The maximum concurrent jobs in this integration runtime. */ - on: outputs.datafactory.ExpressionResponse; + maxConcurrentJobs: number; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Name of the integration runtime node. */ - onInactiveMarkAs?: string; + nodeName: string; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The time at which the integration runtime node was registered in ISO8601 format. */ - state?: string; + registerTime: string; /** - * Type of activity. - * Expected value is 'Switch'. + * Status of the integration runtime node. */ - type: "Switch"; + status: string; /** - * Activity user properties. + * Version of the integration runtime node. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + version: string; + /** + * Status of the integration runtime node version. + */ + versionStatus: string; } /** - * Switch cases with have a value and corresponding activities. + * Self-hosted integration runtime. */ - export interface SwitchCaseResponse { + export interface SelfHostedIntegrationRuntimeResponse { /** - * List of activities to execute for satisfied case condition. + * Integration runtime description. */ - activities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + description?: string; /** - * Expected value that satisfies the expression result of the 'on' property. + * The base definition of a linked integration runtime. */ - value?: string; + linkedInfo?: outputs.datafactory.LinkedIntegrationRuntimeKeyAuthorizationResponse | outputs.datafactory.LinkedIntegrationRuntimeRbacAuthorizationResponse; + /** + * An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay. + */ + selfContainedInteractiveAuthoringEnabled?: boolean; + /** + * The type of integration runtime. + * Expected value is 'SelfHosted'. + */ + type: "SelfHosted"; } /** - * Linked service for Sybase data source. + * Self-hosted integration runtime status. */ - export interface SybaseLinkedServiceResponse { + export interface SelfHostedIntegrationRuntimeStatusResponse { /** - * List of tags that can be used for describing the linked service. + * Whether Self-hosted integration runtime auto update has been turned on. */ - annotations?: any[]; + autoUpdate: string; /** - * AuthenticationType to be used for connection. + * The estimated time when the self-hosted integration runtime will be updated. */ - authenticationType?: string; + autoUpdateETA: string; /** - * The integration runtime reference. + * Object with additional information about integration runtime capabilities. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + capabilities: {[key: string]: string}; /** - * Database name for connection. Type: string (or Expression with resultType string). + * The time at which the integration runtime was created, in ISO8601 format. */ - database: any; + createTime: string; /** - * Linked service description. + * The data factory name which the integration runtime belong to. */ - description?: string; + dataFactoryName: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist). */ - encryptedCredential?: string; + internalChannelEncryption: string; /** - * Parameters for linked service. + * The latest version on download center. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + latestVersion: string; /** - * Password for authentication. + * The list of linked integration runtimes that are created to share with this integration runtime. */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + links?: outputs.datafactory.LinkedIntegrationRuntimeResponse[]; /** - * Schema name for connection. Type: string (or Expression with resultType string). + * The local time zone offset in hours. */ - schema?: any; + localTimeZoneOffset: string; /** - * Server name for connection. Type: string (or Expression with resultType string). + * The list of nodes for this integration runtime. */ - server: any; + nodes?: outputs.datafactory.SelfHostedIntegrationRuntimeNodeResponse[]; /** - * Type of linked service. - * Expected value is 'Sybase'. + * The version that the integration runtime is going to update to. */ - type: "Sybase"; + pushedVersion: string; /** - * Username for authentication. Type: string (or Expression with resultType string). + * The date at which the integration runtime will be scheduled to update, in ISO8601 format. */ - username?: any; + scheduledUpdateDate: string; + /** + * An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay. + */ + selfContainedInteractiveAuthoringEnabled: boolean; + /** + * The URLs for the services used in integration runtime backend service. + */ + serviceUrls: string[]; + /** + * The state of integration runtime. + */ + state: string; + /** + * The task queue id of the integration runtime. + */ + taskQueueId: string; + /** + * The type of integration runtime. + * Expected value is 'SelfHosted'. + */ + type: "SelfHosted"; + /** + * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours + */ + updateDelayOffset: string; + /** + * Version of the integration runtime. + */ + version: string; + /** + * Status of the integration runtime version. + */ + versionStatus: string; } /** - * A copy activity source for Sybase databases. + * ServiceNow server linked service. */ - export interface SybaseSourceResponse { + export interface ServiceNowLinkedServiceResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * List of tags that can be used for describing the linked service. */ - additionalColumns?: any; + annotations?: any[]; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * The authentication type to use. */ - disableMetricsCollection?: any; + authenticationType: string; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The client id for OAuth2 authentication. */ - maxConcurrentConnections?: any; + clientId?: any; /** - * Database query. Type: string (or Expression with resultType string). + * The client secret for OAuth2 authentication. */ - query?: any; + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The integration runtime reference. */ - queryTimeout?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Linked service description. */ - sourceRetryCount?: any; + description?: string; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - sourceRetryWait?: any; + encryptedCredential?: string; /** - * Copy source type. - * Expected value is 'SybaseSource'. + * The endpoint of the ServiceNow server. (i.e. .service-now.com) */ - type: "SybaseSource"; + endpoint: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The password corresponding to the user name for Basic and OAuth2 authentication. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'ServiceNow'. + */ + type: "ServiceNow"; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; + /** + * The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. + */ + username?: any; } /** - * The Sybase table dataset. + * ServiceNow server dataset. */ - export interface SybaseTableDatasetResponse { + export interface ServiceNowObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -152058,242 +154826,263 @@ export namespace datafactory { */ structure?: any; /** - * The Sybase table name. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ tableName?: any; /** * Type of dataset. - * Expected value is 'SybaseTable'. + * Expected value is 'ServiceNowObject'. */ - type: "SybaseTable"; + type: "ServiceNowObject"; } /** - * Execute Synapse notebook activity. + * A copy activity ServiceNow server source. */ - export interface SynapseNotebookActivityResponse { + export interface ServiceNowSourceResponse { /** - * Spark configuration properties, which will override the 'conf' of the notebook you provide. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - conf?: any; + additionalColumns?: any; /** - * The type of the spark config. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - configurationType?: string; + disableMetricsCollection?: any; /** - * Activity depends on condition. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + maxConcurrentConnections?: any; /** - * Activity description. + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - description?: string; + query?: any; /** - * Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - driverSize?: any; + queryTimeout?: any; /** - * Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - executorSize?: any; + sourceRetryCount?: any; /** - * Linked service reference. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + sourceRetryWait?: any; /** - * Activity name. + * Copy source type. + * Expected value is 'ServiceNowSource'. */ - name: string; + type: "ServiceNowSource"; + } + + /** + * Set value for a Variable. + */ + export interface SetVariableActivityResponse { /** - * Synapse notebook reference. + * Activity depends on condition. */ - notebook: outputs.datafactory.SynapseNotebookReferenceResponse; + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; /** - * Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). + * Activity description. */ - numExecutors?: any; + description?: string; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Activity name. */ - onInactiveMarkAs?: string; + name: string; /** - * Notebook parameters. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - parameters?: {[key: string]: outputs.datafactory.NotebookParameterResponse}; + onInactiveMarkAs?: string; /** * Activity policy. */ - policy?: outputs.datafactory.ActivityPolicyResponse; - /** - * Spark configuration property. - */ - sparkConfig?: {[key: string]: any}; + policy?: outputs.datafactory.SecureInputOutputPolicyResponse; /** - * The name of the big data pool which will be used to execute the notebook. + * If set to true, it sets the pipeline run return value. */ - sparkPool?: outputs.datafactory.BigDataPoolParametrizationReferenceResponse; + setSystemVariable?: boolean; /** * Activity state. This is an optional property and if not provided, the state will be Active by default. */ state?: string; - /** - * The spark configuration of the spark job. - */ - targetSparkConfiguration?: outputs.datafactory.SparkConfigurationParametrizationReferenceResponse; /** * Type of activity. - * Expected value is 'SynapseNotebook'. + * Expected value is 'SetVariable'. */ - type: "SynapseNotebook"; + type: "SetVariable"; /** * Activity user properties. */ userProperties?: outputs.datafactory.UserPropertyResponse[]; + /** + * Value to be set. Could be a static value or Expression. + */ + value?: any; + /** + * Name of the variable whose value needs to be set. + */ + variableName?: string; } /** - * Synapse notebook reference type. + * The location of SFTP dataset. */ - export interface SynapseNotebookReferenceResponse { + export interface SftpLocationResponse { /** - * Reference notebook name. Type: string (or Expression with resultType string). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - referenceName: any; + fileName?: any; /** - * Synapse notebook reference type. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - type: string; + folderPath?: any; + /** + * Type of dataset storage location. + * Expected value is 'SftpLocation'. + */ + type: "SftpLocation"; } /** - * Execute spark job activity. + * Sftp read settings. */ - export interface SynapseSparkJobDefinitionActivityResponse { + export interface SftpReadSettingsResponse { /** - * User specified arguments to SynapseSparkJobDefinitionActivity. + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ - arguments?: any[]; + deleteFilesAfterCompletion?: any; /** - * The fully-qualified identifier or the main class that is in the main definition file, which will override the 'className' of the spark job definition you provide. Type: string (or Expression with resultType string). + * If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */ - className?: any; + disableChunking?: any; /** - * Spark configuration properties, which will override the 'conf' of the spark job definition you provide. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - conf?: any; + disableMetricsCollection?: any; /** - * The type of the spark config. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ - configurationType?: string; + enablePartitionDiscovery?: any; /** - * Activity depends on condition. + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + fileListPath?: any; /** - * Activity description. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - description?: string; + maxConcurrentConnections?: any; /** - * Number of core and memory to be used for driver allocated in the specified Spark pool for the job, which will be used for overriding 'driverCores' and 'driverMemory' of the spark job definition you provide. Type: string (or Expression with resultType string). + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - driverSize?: any; + modifiedDatetimeEnd?: any; /** - * Number of core and memory to be used for executors allocated in the specified Spark pool for the job, which will be used for overriding 'executorCores' and 'executorMemory' of the spark job definition you provide. Type: string (or Expression with resultType string). + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - executorSize?: any; + modifiedDatetimeStart?: any; /** - * The main file used for the job, which will override the 'file' of the spark job definition you provide. Type: string (or Expression with resultType string). + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ - file?: any; + partitionRootPath?: any; /** - * (Deprecated. Please use pythonCodeReference and filesV2) Additional files used for reference in the main definition file, which will override the 'files' of the spark job definition you provide. + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ - files?: any[]; + recursive?: any; /** - * Additional files used for reference in the main definition file, which will override the 'jars' and 'files' of the spark job definition you provide. + * The read setting type. + * Expected value is 'SftpReadSettings'. */ - filesV2?: any[]; + type: "SftpReadSettings"; /** - * Linked service reference. + * Sftp wildcardFileName. Type: string (or Expression with resultType string). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + wildcardFileName?: any; /** - * Activity name. + * Sftp wildcardFolderPath. Type: string (or Expression with resultType string). */ - name: string; + wildcardFolderPath?: any; + } + + /** + * A linked service for an SSH File Transfer Protocol (SFTP) server. + */ + export interface SftpServerLinkedServiceResponse { /** - * Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide. Type: integer (or Expression with resultType integer). + * List of tags that can be used for describing the linked service. */ - numExecutors?: any; + annotations?: any[]; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * The authentication type to be used to connect to the FTP server. */ - onInactiveMarkAs?: string; + authenticationType?: string; /** - * Activity policy. + * The integration runtime reference. */ - policy?: outputs.datafactory.ActivityPolicyResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Additional python code files used for reference in the main definition file, which will override the 'pyFiles' of the spark job definition you provide. + * Linked service description. */ - pythonCodeReference?: any[]; + description?: string; /** - * Scanning subfolders from the root folder of the main definition file, these files will be added as reference files. The folders named 'jars', 'pyFiles', 'files' or 'archives' will be scanned, and the folders name are case sensitive. Type: boolean (or Expression with resultType boolean). + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - scanFolder?: any; + encryptedCredential?: string; /** - * Spark configuration property. + * The SFTP server host name. Type: string (or Expression with resultType string). */ - sparkConfig?: {[key: string]: any}; + host: any; /** - * Synapse spark job reference. + * The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). */ - sparkJob: outputs.datafactory.SynapseSparkJobReferenceResponse; + hostKeyFingerprint?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Parameters for linked service. */ - state?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The name of the big data pool which will be used to execute the spark batch job, which will override the 'targetBigDataPool' of the spark job definition you provide. + * The password to decrypt the SSH private key if the SSH private key is encrypted. */ - targetBigDataPool?: outputs.datafactory.BigDataPoolParametrizationReferenceResponse; + passPhrase?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The spark configuration of the spark job. + * Password to logon the SFTP server for Basic authentication. */ - targetSparkConfiguration?: outputs.datafactory.SparkConfigurationParametrizationReferenceResponse; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of activity. - * Expected value is 'SparkJob'. + * The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0. */ - type: "SparkJob"; + port?: any; /** - * Activity user properties. + * Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; - } - - /** - * Synapse spark job reference type. - */ - export interface SynapseSparkJobReferenceResponse { + privateKeyContent?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Reference spark job name. Expression with resultType string. + * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). */ - referenceName: any; + privateKeyPath?: any; /** - * Synapse spark job reference type. + * If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). */ - type: string; + skipHostKeyValidation?: any; + /** + * Type of linked service. + * Expected value is 'Sftp'. + */ + type: "Sftp"; + /** + * The username used to log on to the SFTP server. Type: string (or Expression with resultType string). + */ + userName?: any; } /** - * Copy activity sources of tabular type. + * Sftp write settings. */ - export interface TabularSourceResponse { + export interface SftpWriteSettingsResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The type of copy behavior for copy sink. */ - additionalColumns?: any; + copyBehavior?: any; /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ @@ -152303,70 +155092,28 @@ export namespace datafactory { */ maxConcurrentConnections?: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'TabularSource'. - */ - type: "TabularSource"; - } - - /** - * The TarGZip compression read settings. - */ - export interface TarGZipReadSettingsResponse { - /** - * Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). - */ - preserveCompressionFileNameAsFolder?: any; - /** - * The Compression setting type. - * Expected value is 'TarGZipReadSettings'. + * Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string). */ - type: "TarGZipReadSettings"; - } - - /** - * The Tar compression read settings. - */ - export interface TarReadSettingsResponse { + operationTimeout?: any; /** - * Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). + * The write setting type. + * Expected value is 'SftpWriteSettings'. */ - preserveCompressionFileNameAsFolder?: any; + type: "SftpWriteSettings"; /** - * The Compression setting type. - * Expected value is 'TarReadSettings'. + * Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean). */ - type: "TarReadSettings"; + useTempFileRename?: any; } /** - * Linked service for TeamDesk. + * SharePoint Online List linked service. */ - export interface TeamDeskLinkedServiceResponse { + export interface SharePointOnlineListLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; - /** - * The api token for the TeamDesk source. - */ - apiToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * The authentication type to use. - */ - authenticationType: string; /** * The integration runtime reference. */ @@ -152384,152 +155131,165 @@ export namespace datafactory { */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The password of the TeamDesk source. + * The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + servicePrincipalId: any; /** - * Type of linked service. - * Expected value is 'TeamDesk'. + * The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ - type: "TeamDesk"; + servicePrincipalKey: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * The url to connect TeamDesk source. Type: string (or Expression with resultType string). + * The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). */ - url: any; + siteUrl: any; /** - * The username of the TeamDesk source. Type: string (or Expression with resultType string). + * The tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). */ - userName?: any; + tenantId: any; + /** + * Type of linked service. + * Expected value is 'SharePointOnlineList'. + */ + type: "SharePointOnlineList"; } /** - * Linked service for Teradata data source. + * The sharepoint online list resource dataset. */ - export interface TeradataLinkedServiceResponse { + export interface SharePointOnlineListResourceDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * AuthenticationType to be used for connection. - */ - authenticationType?: string; - /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + description?: string; /** - * Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - connectionString?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Linked service description. + * Linked service reference. */ - description?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * The name of the SharePoint Online list. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + listName?: any; /** - * Parameters for linked service. + * Parameters for dataset. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Password for authentication. - */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * Server name for connection. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - server?: any; + schema?: any; /** - * Type of linked service. - * Expected value is 'Teradata'. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - type: "Teradata"; + structure?: any; /** - * Username for authentication. Type: string (or Expression with resultType string). + * Type of dataset. + * Expected value is 'SharePointOnlineListResource'. */ - username?: any; + type: "SharePointOnlineListResource"; } /** - * The settings that will be leveraged for teradata source partitioning. + * A copy activity source for sharePoint online list source. */ - export interface TeradataPartitionSettingsResponse { + export interface SharePointOnlineListSourceResponse { /** - * The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - partitionColumnName?: any; + disableMetricsCollection?: any; /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - partitionLowerBound?: any; + httpRequestTimeout?: any; /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - partitionUpperBound?: any; + maxConcurrentConnections?: any; + /** + * The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'SharePointOnlineListSource'. + */ + type: "SharePointOnlineListSource"; } /** - * A copy activity Teradata source. + * Shopify Service linked service. */ - export interface TeradataSourceResponse { + export interface ShopifyLinkedServiceResponse { /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + * The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. */ - additionalColumns?: any; + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + * List of tags that can be used for describing the linked service. */ - disableMetricsCollection?: any; + annotations?: any[]; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The integration runtime reference. */ - maxConcurrentConnections?: any; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * The partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". + * Linked service description. */ - partitionOption?: any; + description?: string; /** - * The settings that will be leveraged for teradata source partitioning. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - partitionSettings?: outputs.datafactory.TeradataPartitionSettingsResponse; + encryptedCredential?: string; /** - * Teradata query. Type: string (or Expression with resultType string). + * The endpoint of the Shopify server. (i.e. mystore.myshopify.com) */ - query?: any; + host: any; /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Parameters for linked service. */ - queryTimeout?: any; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * Type of linked service. + * Expected value is 'Shopify'. */ - sourceRetryCount?: any; + type: "Shopify"; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ - sourceRetryWait?: any; + useEncryptedEndpoints?: any; /** - * Copy source type. - * Expected value is 'TeradataSource'. + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ - type: "TeradataSource"; + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; } /** - * The Teradata database dataset. + * Shopify Service dataset. */ - export interface TeradataTableDatasetResponse { + export interface ShopifyObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ annotations?: any[]; - /** - * The database name of Teradata. Type: string (or Expression with resultType string). - */ - database?: any; /** * Dataset description. */ @@ -152555,226 +155315,189 @@ export namespace datafactory { */ structure?: any; /** - * The table name of Teradata. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - table?: any; + tableName?: any; /** * Type of dataset. - * Expected value is 'TeradataTable'. + * Expected value is 'ShopifyObject'. */ - type: "TeradataTable"; + type: "ShopifyObject"; } /** - * The data stored in text format. + * A copy activity Shopify Service source. */ - export interface TextFormatResponse { - /** - * The column delimiter. Type: string (or Expression with resultType string). - */ - columnDelimiter?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; + export interface ShopifySourceResponse { /** - * The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - encodingName?: any; + additionalColumns?: any; /** - * The escape character. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - escapeChar?: any; + disableMetricsCollection?: any; /** - * When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - firstRowAsHeader?: any; + maxConcurrentConnections?: any; /** - * The null value string. Type: string (or Expression with resultType string). + * A query to retrieve data from source. Type: string (or Expression with resultType string). */ - nullValue?: any; + query?: any; /** - * The quote character. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - quoteChar?: any; + queryTimeout?: any; /** - * The row delimiter. Type: string (or Expression with resultType string). + * Source retry count. Type: integer (or Expression with resultType integer). */ - rowDelimiter?: any; + sourceRetryCount?: any; /** - * Serializer. Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - serializer?: any; + sourceRetryWait?: any; /** - * The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). + * Copy source type. + * Expected value is 'ShopifySource'. */ - skipLineCount?: any; + type: "ShopifySource"; + } + + /** + * Skip error file. + */ + export interface SkipErrorFileResponse { /** - * Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). + * Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). */ - treatEmptyAsNull?: any; + dataInconsistency?: any; /** - * Type of dataset storage format. - * Expected value is 'TextFormat'. + * Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). */ - type: "TextFormat"; + fileMissing?: any; } /** - * A data flow transformation. + * Linked service for Smartsheet. */ - export interface TransformationResponse { + export interface SmartsheetLinkedServiceResponse { /** - * Dataset reference. + * List of tags that can be used for describing the linked service. */ - dataset?: outputs.datafactory.DatasetReferenceResponse; + annotations?: any[]; /** - * Transformation description. + * The api token for the Smartsheet source. */ - description?: string; + apiToken: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Flowlet Reference + * The integration runtime reference. */ - flowlet?: outputs.datafactory.DataFlowReferenceResponse; + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Linked service reference. + * Linked service description. */ - linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + description?: string; /** - * Transformation name. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - name: string; - } - - /** - * Trigger referenced dependency. - */ - export interface TriggerDependencyReferenceResponse { + encryptedCredential?: string; /** - * Referenced trigger. + * Parameters for linked service. */ - referenceTrigger: outputs.datafactory.TriggerReferenceResponse; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The type of dependency reference. - * Expected value is 'TriggerDependencyReference'. + * Type of linked service. + * Expected value is 'Smartsheet'. */ - type: "TriggerDependencyReference"; + type: "Smartsheet"; } /** - * Pipeline that needs to be triggered with the given parameters. + * The snowflake dataset. */ - export interface TriggerPipelineReferenceResponse { + export interface SnowflakeDatasetResponse { /** - * Pipeline parameters. + * List of tags that can be used for describing the Dataset. */ - parameters?: {[key: string]: any}; + annotations?: any[]; /** - * Pipeline reference. + * Dataset description. */ - pipelineReference?: outputs.datafactory.PipelineReferenceResponse; - } - - /** - * Trigger reference type. - */ - export interface TriggerReferenceResponse { + description?: string; /** - * Reference trigger name. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - referenceName: string; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Trigger reference type. + * Linked service reference. */ - type: string; - } - - /** - * Referenced tumbling window trigger dependency. - */ - export interface TumblingWindowTriggerDependencyReferenceResponse { + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * Timespan applied to the start time of a tumbling window when evaluating dependency. + * Parameters for dataset. */ - offset?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Referenced trigger. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - referenceTrigger: outputs.datafactory.TriggerReferenceResponse; + schema?: any; /** - * The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - size?: string; + structure?: any; /** - * The type of dependency reference. - * Expected value is 'TumblingWindowTriggerDependencyReference'. + * The table name of the Snowflake database. Type: string (or Expression with resultType string). */ - type: "TumblingWindowTriggerDependencyReference"; + table?: any; + /** + * Type of dataset. + * Expected value is 'SnowflakeTable'. + */ + type: "SnowflakeTable"; } /** - * Trigger that schedules pipeline runs for all fixed time interval windows from a start time without gaps and also supports backfill scenarios (when start time is in the past). + * Snowflake export command settings. */ - export interface TumblingWindowTriggerResponse { + export interface SnowflakeExportCopyCommandResponse { /** - * List of tags that can be used for describing the trigger. + * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } */ - annotations?: any[]; + additionalCopyOptions?: {[key: string]: any}; /** - * Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } */ - delay?: any; - /** - * Triggers that this trigger depends on. Only tumbling window triggers are supported. - */ - dependsOn?: (outputs.datafactory.SelfDependencyTumblingWindowTriggerReferenceResponse | outputs.datafactory.TriggerDependencyReferenceResponse | outputs.datafactory.TumblingWindowTriggerDependencyReferenceResponse)[]; - /** - * Trigger description. - */ - description?: string; - /** - * The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. - */ - endTime?: string; - /** - * The frequency of the time windows. - */ - frequency: string; - /** - * The interval of the time windows. The minimum interval allowed is 15 Minutes. - */ - interval: number; - /** - * The max number of parallel time windows (ready for execution) for which a new run is triggered. - */ - maxConcurrency: number; - /** - * Pipeline for which runs are created when an event is fired for trigger window that is ready. - */ - pipeline: outputs.datafactory.TriggerPipelineReferenceResponse; + additionalFormatOptions?: {[key: string]: any}; /** - * Retry policy that will be applied for failed pipeline runs. + * The export setting type. + * Expected value is 'SnowflakeExportCopyCommand'. */ - retryPolicy?: outputs.datafactory.RetryPolicyResponse; + type: "SnowflakeExportCopyCommand"; + } + + /** + * Snowflake import command settings. + */ + export interface SnowflakeImportCopyCommandResponse { /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } */ - runtimeState: string; + additionalCopyOptions?: {[key: string]: any}; /** - * The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. + * Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } */ - startTime: string; + additionalFormatOptions?: {[key: string]: any}; /** - * Trigger type. - * Expected value is 'TumblingWindowTrigger'. + * The import setting type. + * Expected value is 'SnowflakeImportCopyCommand'. */ - type: "TumblingWindowTrigger"; + type: "SnowflakeImportCopyCommand"; } /** - * Linked service for Twilio. + * Snowflake linked service. */ - export interface TwilioLinkedServiceResponse { + export interface SnowflakeLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ @@ -152783,228 +155506,259 @@ export namespace datafactory { * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The connection string of snowflake. Type: string, SecureString. + */ + connectionString: any; /** * Linked service description. */ description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * The auth token of Twilio service. + * The Azure key vault secret reference of password in connection string. */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; /** * Type of linked service. - * Expected value is 'Twilio'. - */ - type: "Twilio"; - /** - * The Account SID of Twilio service. Type: string (or Expression with resultType string). + * Expected value is 'Snowflake'. */ - userName: any; + type: "Snowflake"; } /** - * This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. + * A copy activity snowflake sink. */ - export interface UntilActivityResponse { - /** - * List of activities to execute. - */ - activities: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + export interface SnowflakeSinkResponse { /** - * Activity depends on condition. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + disableMetricsCollection?: any; /** - * Activity description. + * Snowflake import settings. */ - description?: string; + importSettings?: outputs.datafactory.SnowflakeImportCopyCommandResponse; /** - * An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - expression: outputs.datafactory.ExpressionResponse; + maxConcurrentConnections?: any; /** - * Activity name. + * SQL pre-copy script. Type: string (or Expression with resultType string). */ - name: string; + preCopyScript?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - onInactiveMarkAs?: string; + sinkRetryCount?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - state?: string; + sinkRetryWait?: any; /** - * Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Copy sink type. + * Expected value is 'SnowflakeSink'. */ - timeout?: any; + type: "SnowflakeSink"; /** - * Type of activity. - * Expected value is 'Until'. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - type: "Until"; + writeBatchSize?: any; /** - * Activity user properties. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + writeBatchTimeout?: any; } /** - * Get Data Plane read only token request definition. + * A copy activity snowflake source. */ - export interface UserAccessPolicyResponse { + export interface SnowflakeSourceResponse { /** - * The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - accessResourcePath?: string; + disableMetricsCollection?: any; /** - * Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. + * Snowflake export settings. */ - expireTime?: string; + exportSettings: outputs.datafactory.SnowflakeExportCopyCommandResponse; /** - * The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - permissions?: string; + maxConcurrentConnections?: any; /** - * The name of the profile. Currently only the default is supported. The default value is DefaultProfile. + * Snowflake Sql query. Type: string (or Expression with resultType string). */ - profileName?: string; + query?: any; /** - * Start time for the token. If not specified the current time will be used. + * Source retry count. Type: integer (or Expression with resultType integer). */ - startTime?: string; + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'SnowflakeSource'. + */ + type: "SnowflakeSource"; } /** - * User property. + * Spark configuration reference. */ - export interface UserPropertyResponse { + export interface SparkConfigurationParametrizationReferenceResponse { /** - * User property name. + * Reference spark configuration name. Type: string (or Expression with resultType string). */ - name: string; + referenceName: any; /** - * User property value. Type: string (or Expression with resultType string). + * Spark configuration reference type. */ - value: any; + type: string; } /** - * This activity verifies that an external resource exists. + * Spark Server linked service. */ - export interface ValidationActivityResponse { + export interface SparkLinkedServiceResponse { /** - * Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ - childItems?: any; + allowHostNameCNMismatch?: any; /** - * Validation activity dataset reference. + * Specifies whether to allow self-signed certificates from the server. The default value is false. */ - dataset: outputs.datafactory.DatasetReferenceResponse; + allowSelfSignedServerCert?: any; /** - * Activity depends on condition. + * List of tags that can be used for describing the linked service. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + annotations?: any[]; /** - * Activity description. + * The authentication method used to access the Spark server. + */ + authenticationType: string; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. */ description?: string; /** - * Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). + * Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ - minimumSize?: any; + enableSsl?: any; /** - * Activity name. + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ - name: string; + encryptedCredential?: string; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * IP address or host name of the Spark server */ - onInactiveMarkAs?: string; + host: any; /** - * A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). + * The partial URL corresponding to the Spark server. */ - sleep?: any; + httpPath?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Parameters for linked service. */ - state?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The password corresponding to the user name that you provided in the Username field */ - timeout?: any; + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** - * Type of activity. - * Expected value is 'Validation'. + * The TCP port that the Spark server uses to listen for client connections. */ - type: "Validation"; + port: any; /** - * Activity user properties. + * The type of Spark server. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; - } - - /** - * Definition of a single variable for a Pipeline. - */ - export interface VariableSpecificationResponse { + serverType?: string; /** - * Default value of variable. + * The transport protocol to use in the Thrift layer. */ - defaultValue?: any; + thriftTransportProtocol?: string; /** - * Variable type. + * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ - type: string; + trustedCertPath?: any; + /** + * Type of linked service. + * Expected value is 'Spark'. + */ + type: "Spark"; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + */ + useSystemTrustStore?: any; + /** + * The user name that you use to access Spark Server. + */ + username?: any; } /** - * Vertica linked service. + * Spark Server dataset. */ - export interface VerticaLinkedServiceResponse { + export interface SparkObjectDatasetResponse { /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + description?: string; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - connectionString?: any; + folder?: outputs.datafactory.DatasetResponseFolder; /** - * Linked service description. + * Linked service reference. */ - description?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Parameters for dataset. */ - encryptedCredential?: string; + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; /** - * Parameters for linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + schema?: any; /** - * The Azure key vault secret reference of password in connection string. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ - pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + structure?: any; /** - * Type of linked service. - * Expected value is 'Vertica'. + * The table name of the Spark. Type: string (or Expression with resultType string). */ - type: "Vertica"; + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'SparkObject'. + */ + type: "SparkObject"; } /** - * A copy activity Vertica source. + * A copy activity Spark Server source. */ - export interface VerticaSourceResponse { + export interface SparkSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -153035,338 +155789,337 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'VerticaSource'. + * Expected value is 'SparkSource'. */ - type: "VerticaSource"; + type: "SparkSource"; } /** - * Vertica dataset. + * Sql always encrypted properties. */ - export interface VerticaTableDatasetResponse { + export interface SqlAlwaysEncryptedPropertiesResponse { /** - * List of tags that can be used for describing the Dataset. + * Sql always encrypted AKV authentication type. Type: string. */ - annotations?: any[]; + alwaysEncryptedAkvAuthType: string; /** - * Dataset description. + * The credential reference containing authentication information. */ - description?: string; + credential?: outputs.datafactory.CredentialReferenceResponse; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string). */ - folder?: outputs.datafactory.DatasetResponseFolder; + servicePrincipalId?: any; /** - * Linked service reference. + * The key of the service principal used to authenticate against Azure Key Vault. */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + servicePrincipalKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + } + + /** + * A copy activity SQL Data Warehouse sink. + */ + export interface SqlDWSinkResponse { /** - * Parameters for dataset. + * Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + allowCopyCommand?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean). */ - schema?: any; + allowPolyBase?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Specifies Copy Command related settings when allowCopyCommand is true. */ - structure?: any; + copyCommandSettings?: outputs.datafactory.DWCopyCommandSettingsResponse; /** - * The table name of the Vertica. Type: string (or Expression with resultType string). + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - table?: any; + disableMetricsCollection?: any; /** - * This property will be retired. Please consider using schema + table properties instead. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - tableName?: any; + maxConcurrentConnections?: any; /** - * Type of dataset. - * Expected value is 'VerticaTable'. + * Specifies PolyBase-related settings when allowPolyBase is true. */ - type: "VerticaTable"; - } - - /** - * This activity suspends pipeline execution for the specified interval. - */ - export interface WaitActivityResponse { + polyBaseSettings?: outputs.datafactory.PolybaseSettingsResponse; /** - * Activity depends on condition. + * SQL pre-copy script. Type: string (or Expression with resultType string). */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + preCopyScript?: any; /** - * Activity description. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - description?: string; + sinkRetryCount?: any; /** - * Activity name. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - name: string; + sinkRetryWait?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ - onInactiveMarkAs?: string; + sqlWriterUseTableLock?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ - state?: string; + tableOption?: any; /** - * Type of activity. - * Expected value is 'Wait'. + * Copy sink type. + * Expected value is 'SqlDWSink'. */ - type: "Wait"; + type: "SqlDWSink"; /** - * Activity user properties. + * SQL DW upsert settings. */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + upsertSettings?: outputs.datafactory.SqlDWUpsertSettingsResponse; /** - * Duration in seconds. Type: integer (or Expression with resultType integer). + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - waitTimeInSeconds: any; + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + /** + * Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum) + */ + writeBehavior?: any; } /** - * Web activity authentication properties. + * A copy activity SQL Data Warehouse source. */ - export interface WebActivityAuthenticationResponse { + export interface SqlDWSourceResponse { /** - * The credential reference containing authentication information. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - credential?: outputs.datafactory.CredentialReferenceResponse; + additionalColumns?: any; /** - * Password for the PFX file or basic authentication / Secret when used for ServicePrincipal + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + disableMetricsCollection?: any; /** - * Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ - pfx?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + isolationLevel?: any; /** - * Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string). + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - resource?: any; + maxConcurrentConnections?: any; /** - * Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal) + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - type?: string; + partitionOption?: any; /** - * TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string). + * The settings that will be leveraged for Sql source partitioning. */ - userTenant?: any; + partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; /** - * Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - username?: any; - } - - /** - * Web activity. - */ - export interface WebActivityResponse { + queryTimeout?: any; /** - * Authentication method used for calling the endpoint. + * Source retry count. Type: integer (or Expression with resultType integer). */ - authentication?: outputs.datafactory.WebActivityAuthenticationResponse; + sourceRetryCount?: any; /** - * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - body?: any; + sourceRetryWait?: any; /** - * The integration runtime reference. + * SQL Data Warehouse reader query. Type: string (or Expression with resultType string). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + sqlReaderQuery?: any; /** - * List of datasets passed to web endpoint. + * Name of the stored procedure for a SQL Data Warehouse source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ - datasets?: outputs.datafactory.DatasetReferenceResponse[]; + sqlReaderStoredProcedureName?: any; /** - * Activity depends on condition. + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + storedProcedureParameters?: any; /** - * Activity description. + * Copy source type. + * Expected value is 'SqlDWSource'. */ - description?: string; + type: "SqlDWSource"; + } + + /** + * Sql DW upsert option settings + */ + export interface SqlDWUpsertSettingsResponse { /** - * When set to true, Certificate validation will be disabled. + * Schema name for interim table. Type: string (or Expression with resultType string). */ - disableCertValidation?: boolean; + interimSchemaName?: any; /** - * Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + * Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). */ - headers?: any; + keys?: any; + } + + /** + * A copy activity Azure SQL Managed Instance sink. + */ + export interface SqlMISinkResponse { /** - * Linked service reference. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + disableMetricsCollection?: any; /** - * List of linked services passed to web endpoint. + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ - linkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + maxConcurrentConnections?: any; /** - * Rest API method for target endpoint. + * SQL pre-copy script. Type: string (or Expression with resultType string). */ - method: string; + preCopyScript?: any; /** - * Activity name. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - name: string; + sinkRetryCount?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - onInactiveMarkAs?: string; + sinkRetryWait?: any; /** - * Activity policy. + * SQL writer stored procedure name. Type: string (or Expression with resultType string). */ - policy?: outputs.datafactory.ActivityPolicyResponse; + sqlWriterStoredProcedureName?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * SQL writer table type. Type: string (or Expression with resultType string). */ - state?: string; + sqlWriterTableType?: any; /** - * Type of activity. - * Expected value is 'WebActivity'. + * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ - type: "WebActivity"; + sqlWriterUseTableLock?: any; /** - * Web activity target endpoint and path. Type: string (or Expression with resultType string). + * SQL stored procedure parameters. */ - url: any; + storedProcedureParameters?: any; /** - * Activity user properties. + * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; - } - - /** - * A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. - */ - export interface WebAnonymousAuthenticationResponse { + storedProcedureTableTypeParameterName?: any; /** - * Type of authentication used to connect to the web table source. - * Expected value is 'Anonymous'. + * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ - authenticationType: "Anonymous"; + tableOption?: any; /** - * The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). + * Copy sink type. + * Expected value is 'SqlMISink'. */ - url: any; - } - - /** - * A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. - */ - export interface WebBasicAuthenticationResponse { + type: "SqlMISink"; /** - * Type of authentication used to connect to the web table source. - * Expected value is 'Basic'. + * SQL upsert settings. */ - authenticationType: "Basic"; + upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; /** - * The password for Basic authentication. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + writeBatchSize?: any; /** - * The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - url: any; + writeBatchTimeout?: any; /** - * User name for Basic authentication. Type: string (or Expression with resultType string). + * White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) */ - username: any; + writeBehavior?: any; } /** - * A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client. + * A copy activity Azure SQL Managed Instance source. */ - export interface WebClientCertificateAuthenticationResponse { - /** - * Type of authentication used to connect to the web table source. - * Expected value is 'ClientCertificate'. - */ - authenticationType: "ClientCertificate"; + export interface SqlMISourceResponse { /** - * Password for the PFX file. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + additionalColumns?: any; /** - * Base64-encoded contents of a PFX file. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - pfx: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + disableMetricsCollection?: any; /** - * The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ - url: any; - } - - /** - * WebHook activity. - */ - export interface WebHookActivityResponse { + isolationLevel?: any; /** - * Authentication method used for calling the endpoint. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - authentication?: outputs.datafactory.WebActivityAuthenticationResponse; + maxConcurrentConnections?: any; /** - * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - body?: any; + partitionOption?: any; /** - * Activity depends on condition. + * The settings that will be leveraged for Sql source partitioning. */ - dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; /** - * Activity description. + * Which additional types to produce. */ - description?: string; + produceAdditionalTypes?: any; /** - * Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - headers?: any; + queryTimeout?: any; /** - * Rest API method for target endpoint. + * Source retry count. Type: integer (or Expression with resultType integer). */ - method: string; + sourceRetryCount?: any; /** - * Activity name. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - name: string; + sourceRetryWait?: any; /** - * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * SQL reader query. Type: string (or Expression with resultType string). */ - onInactiveMarkAs?: string; + sqlReaderQuery?: any; /** - * When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). + * Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ - reportStatusOnCallBack?: any; + sqlReaderStoredProcedureName?: any; /** - * Activity state. This is an optional property and if not provided, the state will be Active by default. + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ - state?: string; + storedProcedureParameters?: any; /** - * The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Copy source type. + * Expected value is 'SqlMISource'. */ - timeout?: string; + type: "SqlMISource"; + } + + /** + * The settings that will be leveraged for Sql source partitioning. + */ + export interface SqlPartitionSettingsResponse { /** - * Type of activity. - * Expected value is 'WebHook'. + * The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). */ - type: "WebHook"; + partitionColumnName?: any; /** - * WebHook activity target endpoint and path. Type: string (or Expression with resultType string). + * The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). */ - url: any; + partitionLowerBound?: any; /** - * Activity user properties. + * The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). */ - userProperties?: outputs.datafactory.UserPropertyResponse[]; + partitionUpperBound?: any; } /** - * Web linked service. + * SQL Server linked service. */ - export interface WebLinkedServiceResponse { + export interface SqlServerLinkedServiceResponse { + /** + * Sql always encrypted properties. + */ + alwaysEncryptedSettings?: outputs.datafactory.SqlAlwaysEncryptedPropertiesResponse; /** * List of tags that can be used for describing the linked service. */ @@ -153375,202 +156128,226 @@ export namespace datafactory { * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; /** * Linked service description. */ description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The on-premises Windows authentication password. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * Type of linked service. - * Expected value is 'Web'. + * Expected value is 'SqlServer'. */ - type: "Web"; + type: "SqlServer"; /** - * Web linked service properties. + * The on-premises Windows authentication user name. Type: string (or Expression with resultType string). */ - typeProperties: outputs.datafactory.WebAnonymousAuthenticationResponse | outputs.datafactory.WebBasicAuthenticationResponse | outputs.datafactory.WebClientCertificateAuthenticationResponse; + userName?: any; } /** - * A copy activity source for web page table. + * A copy activity SQL server sink. */ - export interface WebSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface SqlServerSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * SQL pre-copy script. Type: string (or Expression with resultType string). */ - sourceRetryCount?: any; + preCopyScript?: any; /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Sink retry count. Type: integer (or Expression with resultType integer). */ - sourceRetryWait?: any; + sinkRetryCount?: any; /** - * Copy source type. - * Expected value is 'WebSource'. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "WebSource"; - } - - /** - * The dataset points to a HTML table in the web page. - */ - export interface WebTableDatasetResponse { + sinkRetryWait?: any; /** - * List of tags that can be used for describing the Dataset. + * SQL writer stored procedure name. Type: string (or Expression with resultType string). */ - annotations?: any[]; + sqlWriterStoredProcedureName?: any; /** - * Dataset description. + * SQL writer table type. Type: string (or Expression with resultType string). */ - description?: string; + sqlWriterTableType?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ - folder?: outputs.datafactory.DatasetResponseFolder; + sqlWriterUseTableLock?: any; /** - * The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. + * SQL stored procedure parameters. */ - index: any; + storedProcedureParameters?: any; /** - * Linked service reference. + * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + storedProcedureTableTypeParameterName?: any; /** - * Parameters for dataset. + * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + tableOption?: any; /** - * The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). + * Copy sink type. + * Expected value is 'SqlServerSink'. */ - path?: any; + type: "SqlServerSink"; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * SQL upsert settings. */ - schema?: any; + upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - structure?: any; + writeBatchSize?: any; /** - * Type of dataset. - * Expected value is 'WebTable'. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "WebTable"; + writeBatchTimeout?: any; + /** + * Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) + */ + writeBehavior?: any; } /** - * Power Query data flow. + * A copy activity SQL server source. */ - export interface WranglingDataFlowResponse { + export interface SqlServerSourceResponse { /** - * List of tags that can be used for describing the data flow. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ - annotations?: any[]; + additionalColumns?: any; /** - * The description of the data flow. + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ - description?: string; + disableMetricsCollection?: any; /** - * Locale of the Power query mashup document. + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ - documentLocale?: string; + isolationLevel?: any; /** - * The folder that this data flow is in. If not specified, Data flow will appear at the root level. + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ - folder?: outputs.datafactory.DataFlowResponseFolder; + maxConcurrentConnections?: any; /** - * Power query mashup script. + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - script?: string; + partitionOption?: any; /** - * List of sources in Power Query. + * The settings that will be leveraged for Sql source partitioning. */ - sources?: outputs.datafactory.PowerQuerySourceResponse[]; + partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; /** - * Type of data flow. - * Expected value is 'WranglingDataFlow'. + * Which additional types to produce. */ - type: "WranglingDataFlow"; - } - - /** - * Xero Service linked service. - */ - export interface XeroLinkedServiceResponse { + produceAdditionalTypes?: any; /** - * List of tags that can be used for describing the linked service. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - annotations?: any[]; + queryTimeout?: any; /** - * The integration runtime reference. + * Source retry count. Type: integer (or Expression with resultType integer). */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + sourceRetryCount?: any; /** - * Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - connectionProperties?: any; + sourceRetryWait?: any; /** - * The consumer key associated with the Xero application. + * SQL reader query. Type: string (or Expression with resultType string). */ - consumerKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + sqlReaderQuery?: any; /** - * Linked service description. + * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + */ + sqlReaderStoredProcedureName?: any; + /** + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + */ + storedProcedureParameters?: any; + /** + * Copy source type. + * Expected value is 'SqlServerSource'. + */ + type: "SqlServerSource"; + } + + /** + * SQL stored procedure activity type. + */ + export interface SqlServerStoredProcedureActivityResponse { + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. */ description?: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Linked service reference. */ - encryptedCredential?: string; + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; /** - * The endpoint of the Xero server. (i.e. api.xero.com) + * Activity name. */ - host?: any; + name: string; /** - * Parameters for linked service. + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + onInactiveMarkAs?: string; /** - * The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( - * ). + * Activity policy. */ - privateKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + policy?: outputs.datafactory.ActivityPolicyResponse; /** - * Type of linked service. - * Expected value is 'Xero'. + * Activity state. This is an optional property and if not provided, the state will be Active by default. */ - type: "Xero"; + state?: string; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + * Stored procedure name. Type: string (or Expression with resultType string). */ - useEncryptedEndpoints?: any; + storedProcedureName: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ - useHostVerification?: any; + storedProcedureParameters?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + * Type of activity. + * Expected value is 'SqlServerStoredProcedure'. */ - usePeerVerification?: any; + type: "SqlServerStoredProcedure"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; } /** - * Xero Service dataset. + * The on-premises SQL Server dataset. */ - export interface XeroObjectDatasetResponse { + export interface SqlServerTableDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -153600,145 +156377,95 @@ export namespace datafactory { */ structure?: any; /** - * The table name. Type: string (or Expression with resultType string). + * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. */ tableName?: any; /** * Type of dataset. - * Expected value is 'XeroObject'. + * Expected value is 'SqlServerTable'. */ - type: "XeroObject"; + type: "SqlServerTable"; } /** - * A copy activity Xero Service source. + * A copy activity SQL sink. */ - export interface XeroSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; + export interface SqlSinkResponse { /** * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ disableMetricsCollection?: any; /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'XeroSource'. - */ - type: "XeroSource"; - } - - /** - * Xml dataset. - */ - export interface XmlDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The data compression method used for the json dataset. - */ - compression?: outputs.datafactory.DatasetCompressionResponse; - /** - * Dataset description. - */ - description?: string; - /** - * The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). - */ - encodingName?: any; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * SQL pre-copy script. Type: string (or Expression with resultType string). */ - folder?: outputs.datafactory.DatasetResponseFolder; + preCopyScript?: any; /** - * Linked service reference. + * Sink retry count. Type: integer (or Expression with resultType integer). */ - linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + sinkRetryCount?: any; /** - * The location of the json data storage. + * Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + sinkRetryWait?: any; /** - * The null value string. Type: string (or Expression with resultType string). + * SQL writer stored procedure name. Type: string (or Expression with resultType string). */ - nullValue?: any; + sqlWriterStoredProcedureName?: any; /** - * Parameters for dataset. + * SQL writer table type. Type: string (or Expression with resultType string). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sqlWriterTableType?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + * Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ - schema?: any; + sqlWriterUseTableLock?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + * SQL stored procedure parameters. */ - structure?: any; + storedProcedureParameters?: any; /** - * Type of dataset. - * Expected value is 'Xml'. + * The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ - type: "Xml"; - } - - /** - * Xml read settings. - */ - export interface XmlReadSettingsResponse { + storedProcedureTableTypeParameterName?: any; /** - * Compression settings. + * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ - compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; + tableOption?: any; /** - * Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). + * Copy sink type. + * Expected value is 'SqlSink'. */ - detectDataType?: any; + type: "SqlSink"; /** - * Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). + * SQL upsert settings. */ - namespacePrefixes?: any; + upsertSettings?: outputs.datafactory.SqlUpsertSettingsResponse; /** - * Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ - namespaces?: any; + writeBatchSize?: any; /** - * The read setting type. - * Expected value is 'XmlReadSettings'. + * Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - type: "XmlReadSettings"; + writeBatchTimeout?: any; /** - * Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). + * Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) */ - validationMode?: any; + writeBehavior?: any; } /** - * A copy activity Xml source. + * A copy activity SQL source. */ - export interface XmlSourceResponse { + export interface SqlSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -153748,116 +156475,92 @@ export namespace datafactory { */ disableMetricsCollection?: any; /** - * Xml format settings. + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ - formatSettings?: outputs.datafactory.XmlReadSettingsResponse; + isolationLevel?: any; /** * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ maxConcurrentConnections?: any; /** - * Source retry count. Type: integer (or Expression with resultType integer). + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Xml store settings. - */ - storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; - /** - * Copy source type. - * Expected value is 'XmlSource'. - */ - type: "XmlSource"; - } - - /** - * Linked service for Zendesk. - */ - export interface ZendeskLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The api token for the Zendesk source. - */ - apiToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; - /** - * The authentication type to use. - */ - authenticationType: string; + partitionOption?: any; /** - * The integration runtime reference. + * The settings that will be leveraged for Sql source partitioning. */ - connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + partitionSettings?: outputs.datafactory.SqlPartitionSettingsResponse; /** - * Linked service description. + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - description?: string; + queryTimeout?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + * Source retry count. Type: integer (or Expression with resultType integer). */ - encryptedCredential?: string; + sourceRetryCount?: any; /** - * Parameters for linked service. + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + sourceRetryWait?: any; /** - * The password of the Zendesk source. + * SQL reader query. Type: string (or Expression with resultType string). */ - password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + sqlReaderQuery?: any; /** - * Type of linked service. - * Expected value is 'Zendesk'. + * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ - type: "Zendesk"; + sqlReaderStoredProcedureName?: any; /** - * The url to connect Zendesk source. Type: string (or Expression with resultType string). + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ - url: any; + storedProcedureParameters?: any; /** - * The username of the Zendesk source. Type: string (or Expression with resultType string). + * Copy source type. + * Expected value is 'SqlSource'. */ - userName?: any; + type: "SqlSource"; } /** - * The ZipDeflate compression read settings. + * Sql upsert option settings */ - export interface ZipDeflateReadSettingsResponse { + export interface SqlUpsertSettingsResponse { /** - * Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). + * Schema name for interim table. Type: string (or Expression with resultType string). */ - preserveZipFileNameAsFolder?: any; + interimSchemaName?: any; /** - * The Compression setting type. - * Expected value is 'ZipDeflateReadSettings'. + * Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). */ - type: "ZipDeflateReadSettings"; + keys?: any; + /** + * Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean). + */ + useTempDB?: any; } /** - * Zoho server linked service. + * Square Service linked service. */ - export interface ZohoLinkedServiceResponse { - /** - * The access token for Zoho authentication. - */ - accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + export interface SquareLinkedServiceResponse { /** * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * The client ID associated with your Square application. + */ + clientId?: any; + /** + * The client secret associated with your Square application. + */ + clientSecret?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; /** * The integration runtime reference. */ connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; /** - * Properties used to connect to Zoho. It is mutually exclusive with any other properties in the linked service. Type: object. + * Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object. */ connectionProperties?: any; /** @@ -153869,18 +156572,22 @@ export namespace datafactory { */ encryptedCredential?: string; /** - * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) + * The URL of the Square instance. (i.e. mystore.mysquare.com) */ - endpoint?: any; + host?: any; /** * Parameters for linked service. */ parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) + */ + redirectUri?: any; /** * Type of linked service. - * Expected value is 'Zoho'. + * Expected value is 'Square'. */ - type: "Zoho"; + type: "Square"; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ @@ -153896,9 +156603,9 @@ export namespace datafactory { } /** - * Zoho server dataset. + * Square Service dataset. */ - export interface ZohoObjectDatasetResponse { + export interface SquareObjectDatasetResponse { /** * List of tags that can be used for describing the Dataset. */ @@ -153933,15 +156640,15 @@ export namespace datafactory { tableName?: any; /** * Type of dataset. - * Expected value is 'ZohoObject'. + * Expected value is 'SquareObject'. */ - type: "ZohoObject"; + type: "SquareObject"; } /** - * A copy activity Zoho server source. + * A copy activity Square Service source. */ - export interface ZohoSourceResponse { + export interface SquareSourceResponse { /** * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -153972,871 +156679,3238 @@ export namespace datafactory { sourceRetryWait?: any; /** * Copy source type. - * Expected value is 'ZohoSource'. + * Expected value is 'SquareSource'. */ - type: "ZohoSource"; + type: "SquareSource"; } - export namespace v20180601 { + /** + * Ssis environment reference. + */ + export interface SsisEnvironmentReferenceResponse { /** - * Activity dependency information. + * Environment folder name. */ - export interface ActivityDependencyResponse { - /** - * Activity name. - */ - activity: string; - /** - * Match-Condition for the dependency. - */ - dependencyConditions: string[]; - } - + environmentFolderName?: string; /** - * Execution policy for an activity. + * Environment name. */ - export interface ActivityPolicyResponse { - /** - * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. - */ - retry?: any; - /** - * Interval between each retry attempt (in seconds). The default is 30 sec. - */ - retryIntervalInSeconds?: number; - /** - * When set to true, Input from activity is considered as secure and will not be logged to monitoring. - */ - secureInput?: boolean; - /** - * When set to true, Output from activity is considered as secure and will not be logged to monitoring. - */ - secureOutput?: boolean; - /** - * Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - timeout?: any; - } - + environmentName?: string; /** - * Amazon Marketplace Web Service linked service. + * Environment reference id. */ - export interface AmazonMWSLinkedServiceResponse { - /** - * The access key id used to access data. - */ - accessKeyId: any; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) - */ - endpoint: any; - /** - * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) - */ - marketplaceID: any; - /** - * The Amazon MWS authentication token. - */ - mwsAuthToken?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * The secret key used to access data. - */ - secretKey?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; - /** - * The Amazon seller ID. - */ - sellerID: any; - /** - * Type of linked service. - * Expected value is 'AmazonMWS'. - */ - type: "AmazonMWS"; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - */ - usePeerVerification?: any; - } - + id?: number; /** - * Amazon Marketplace Web Service dataset. + * Reference type */ - export interface AmazonMWSObjectDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.v20180601.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; - /** - * Type of dataset. - * Expected value is 'AmazonMWSObject'. - */ - type: "AmazonMWSObject"; - } + referenceType?: string; + } + /** + * Ssis environment. + */ + export interface SsisEnvironmentResponse { /** - * A copy activity Amazon Marketplace Web Service source. + * Metadata description. */ - export interface AmazonMWSSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'AmazonMWSSource'. - */ - type: "AmazonMWSSource"; - } - + description?: string; /** - * AmazonRdsForOracle database. + * Folder id which contains environment. */ - export interface AmazonRdsForOracleLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; - /** - * Type of linked service. - * Expected value is 'AmazonRdsForOracle'. - */ - type: "AmazonRdsForOracle"; - } - + folderId?: number; /** - * The settings that will be leveraged for AmazonRdsForOracle source partitioning. + * Metadata id. */ - export interface AmazonRdsForOraclePartitionSettingsResponse { - /** - * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; - /** - * Names of the physical partitions of AmazonRdsForOracle table. - */ - partitionNames?: any[]; - /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - */ - partitionUpperBound?: any; - } - + id?: number; /** - * A copy activity AmazonRdsForOracle source. + * Metadata name. */ - export interface AmazonRdsForOracleSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * AmazonRdsForOracle reader query. Type: string (or Expression with resultType string). - */ - oracleReaderQuery?: any; - /** - * The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string). - */ - partitionOption?: any; - /** - * The settings that will be leveraged for AmazonRdsForOracle source partitioning. - */ - partitionSettings?: outputs.datafactory.v20180601.AmazonRdsForOraclePartitionSettingsResponse; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'AmazonRdsForOracleSource'. - */ - type: "AmazonRdsForOracleSource"; - } - + name?: string; /** - * The AmazonRdsForOracle database dataset. + * The type of SSIS object metadata. + * Expected value is 'Environment'. */ - export interface AmazonRdsForOracleTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.v20180601.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * Type of dataset. - * Expected value is 'AmazonRdsForOracleTable'. - */ - type: "AmazonRdsForOracleTable"; - } - + type: "Environment"; /** - * Amazon RDS for SQL Server linked service. + * Variable in environment */ - export interface AmazonRdsForSqlServerLinkedServiceResponse { - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: outputs.datafactory.v20180601.SqlAlwaysEncryptedPropertiesResponse; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * The on-premises Windows authentication password. - */ - password?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; - /** - * Type of linked service. - * Expected value is 'AmazonRdsForSqlServer'. - */ - type: "AmazonRdsForSqlServer"; - /** - * The on-premises Windows authentication user name. Type: string (or Expression with resultType string). - */ - userName?: any; - } + variables?: outputs.datafactory.SsisVariableResponse[]; + } + /** + * Ssis folder. + */ + export interface SsisFolderResponse { /** - * A copy activity Amazon RDS for SQL Server source. + * Metadata description. */ - export interface AmazonRdsForSqlServerSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). - */ - isolationLevel?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: outputs.datafactory.v20180601.SqlPartitionSettingsResponse; - /** - * Which additional types to produce. - */ - produceAdditionalTypes?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - */ - storedProcedureParameters?: any; - /** - * Copy source type. - * Expected value is 'AmazonRdsForSqlServerSource'. - */ - type: "AmazonRdsForSqlServerSource"; - } - + description?: string; /** - * The Amazon RDS for SQL Server dataset. + * Metadata id. */ - export interface AmazonRdsForSqlServerTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.v20180601.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * Type of dataset. - * Expected value is 'AmazonRdsForSqlServerTable'. - */ - type: "AmazonRdsForSqlServerTable"; - } - + id?: number; /** - * Linked service for Amazon Redshift. + * Metadata name. */ - export interface AmazonRedshiftLinkedServiceResponse { - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; - /** - * The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). - */ - database: any; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * The password of the Amazon Redshift source. - */ - password?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; - /** - * The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). - */ - port?: any; - /** - * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). - */ - server: any; - /** - * Type of linked service. - * Expected value is 'AmazonRedshift'. - */ - type: "AmazonRedshift"; - /** - * The username of the Amazon Redshift source. Type: string (or Expression with resultType string). - */ - username?: any; - } - + name?: string; /** - * A copy activity source for Amazon Redshift Source. + * The type of SSIS object metadata. + * Expected value is 'Folder'. */ - export interface AmazonRedshiftSourceResponse { - /** - * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). - */ - additionalColumns?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. - */ - redshiftUnloadSettings?: outputs.datafactory.v20180601.RedshiftUnloadSettingsResponse; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * Copy source type. - * Expected value is 'AmazonRedshiftSource'. - */ - type: "AmazonRedshiftSource"; - } + type: "Folder"; + } + /** + * Ssis Package. + */ + export interface SsisPackageResponse { /** - * The Amazon Redshift table dataset. + * Metadata description. */ - export interface AmazonRedshiftTableDatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.v20180601.DatasetResponseFolder; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * The Amazon Redshift table name. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * Type of dataset. - * Expected value is 'AmazonRedshiftTable'. - */ - type: "AmazonRedshiftTable"; - } - + description?: string; /** - * Linked service for Amazon S3 Compatible. + * Folder id which contains package. */ - export interface AmazonS3CompatibleLinkedServiceResponse { - /** - * The access key identifier of the Amazon S3 Compatible Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; - /** - * Linked service description. - */ - description?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - */ - encryptedCredential?: string; - /** - * If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). - */ - forcePathStyle?: any; - /** - * Parameters for linked service. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. - */ - secretAccessKey?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; - /** - * This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). - */ - serviceUrl?: any; - /** - * Type of linked service. - * Expected value is 'AmazonS3Compatible'. - */ - type: "AmazonS3Compatible"; - } - + folderId?: number; /** - * The location of Amazon S3 Compatible dataset. + * Metadata id. */ - export interface AmazonS3CompatibleLocationResponse { - /** - * Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string) - */ - bucketName?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Type of dataset storage location. - * Expected value is 'AmazonS3CompatibleLocation'. - */ - type: "AmazonS3CompatibleLocation"; - /** - * Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string). - */ - version?: any; - } - + id?: number; /** - * Amazon S3 Compatible read settings. + * Metadata name. */ - export interface AmazonS3CompatibleReadSettingsResponse { - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). - */ - enablePartitionDiscovery?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). - */ - partitionRootPath?: any; - /** - * The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string). - */ - prefix?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - */ - recursive?: any; - /** - * The read setting type. - * Expected value is 'AmazonS3CompatibleReadSettings'. - */ - type: "AmazonS3CompatibleReadSettings"; - /** - * Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - } - + name?: string; /** - * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. + * Parameters in package */ - export interface AmazonS3DatasetResponse { - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). - */ - bucketName: any; - /** - * The data compression method used for the Amazon S3 object. - */ - compression?: outputs.datafactory.v20180601.DatasetCompressionResponse; - /** - * Dataset description. - */ - description?: string; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: outputs.datafactory.v20180601.DatasetResponseFolder; - /** - * The format of files. - */ - format?: outputs.datafactory.v20180601.AvroFormatResponse | outputs.datafactory.v20180601.JsonFormatResponse | outputs.datafactory.v20180601.OrcFormatResponse | outputs.datafactory.v20180601.ParquetFormatResponse | outputs.datafactory.v20180601.TextFormatResponse; - /** - * The key of the Amazon S3 object. Type: string (or Expression with resultType string). - */ - key?: any; - /** - * Linked service reference. - */ - linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; - /** - * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The start of S3 object's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * Parameters for dataset. - */ - parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; - /** - * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). - */ - prefix?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Type of dataset. - * Expected value is 'AmazonS3Object'. - */ - type: "AmazonS3Object"; - /** - * The version for the S3 object. Type: string (or Expression with resultType string). - */ - version?: any; - } + parameters?: outputs.datafactory.SsisParameterResponse[]; + /** + * Project id which contains package. + */ + projectId?: number; + /** + * Project version which contains package. + */ + projectVersion?: number; + /** + * The type of SSIS object metadata. + * Expected value is 'Package'. + */ + type: "Package"; + } + /** + * Ssis parameter. + */ + export interface SsisParameterResponse { /** - * Linked service for Amazon S3. + * Parameter type. */ - export interface AmazonS3LinkedServiceResponse { - /** - * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The integration runtime reference. - */ - connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; - /** + dataType?: string; + /** + * Default value of parameter. + */ + defaultValue?: string; + /** + * Parameter description. + */ + description?: string; + /** + * Design default value of parameter. + */ + designDefaultValue?: string; + /** + * Parameter id. + */ + id?: number; + /** + * Parameter name. + */ + name?: string; + /** + * Whether parameter is required. + */ + required?: boolean; + /** + * Whether parameter is sensitive. + */ + sensitive?: boolean; + /** + * Default sensitive value of parameter. + */ + sensitiveDefaultValue?: string; + /** + * Parameter value set. + */ + valueSet?: boolean; + /** + * Parameter value type. + */ + valueType?: string; + /** + * Parameter reference variable. + */ + variable?: string; + } + + /** + * Ssis project. + */ + export interface SsisProjectResponse { + /** + * Metadata description. + */ + description?: string; + /** + * Environment reference in project + */ + environmentRefs?: outputs.datafactory.SsisEnvironmentReferenceResponse[]; + /** + * Folder id which contains project. + */ + folderId?: number; + /** + * Metadata id. + */ + id?: number; + /** + * Metadata name. + */ + name?: string; + /** + * Parameters in project + */ + parameters?: outputs.datafactory.SsisParameterResponse[]; + /** + * The type of SSIS object metadata. + * Expected value is 'Project'. + */ + type: "Project"; + /** + * Project version. + */ + version?: number; + } + + /** + * Ssis variable. + */ + export interface SsisVariableResponse { + /** + * Variable type. + */ + dataType?: string; + /** + * Variable description. + */ + description?: string; + /** + * Variable id. + */ + id?: number; + /** + * Variable name. + */ + name?: string; + /** + * Whether variable is sensitive. + */ + sensitive?: boolean; + /** + * Variable sensitive value. + */ + sensitiveValue?: string; + /** + * Variable value. + */ + value?: string; + } + + /** + * Staging settings. + */ + export interface StagingSettingsResponse { + /** + * Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). + */ + enableCompression?: any; + /** + * Staging linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The path to storage for storing the interim data. Type: string (or Expression with resultType string). + */ + path?: any; + } + + /** + * This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property. + */ + export interface SwitchActivityResponse { + /** + * List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. + */ + cases?: outputs.datafactory.SwitchCaseResponse[]; + /** + * List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. + */ + defaultActivities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Activity name. + */ + name: string; + /** + * An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. + */ + on: outputs.datafactory.ExpressionResponse; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Type of activity. + * Expected value is 'Switch'. + */ + type: "Switch"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Switch cases with have a value and corresponding activities. + */ + export interface SwitchCaseResponse { + /** + * List of activities to execute for satisfied case condition. + */ + activities?: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + /** + * Expected value that satisfies the expression result of the 'on' property. + */ + value?: string; + } + + /** + * Linked service for Sybase data source. + */ + export interface SybaseLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * AuthenticationType to be used for connection. + */ + authenticationType?: string; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Database name for connection. Type: string (or Expression with resultType string). + */ + database: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Password for authentication. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Schema name for connection. Type: string (or Expression with resultType string). + */ + schema?: any; + /** + * Server name for connection. Type: string (or Expression with resultType string). + */ + server: any; + /** + * Type of linked service. + * Expected value is 'Sybase'. + */ + type: "Sybase"; + /** + * Username for authentication. Type: string (or Expression with resultType string). + */ + username?: any; + } + + /** + * A copy activity source for Sybase databases. + */ + export interface SybaseSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Database query. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'SybaseSource'. + */ + type: "SybaseSource"; + } + + /** + * The Sybase table dataset. + */ + export interface SybaseTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The Sybase table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'SybaseTable'. + */ + type: "SybaseTable"; + } + + /** + * Execute Synapse notebook activity. + */ + export interface SynapseNotebookActivityResponse { + /** + * Spark configuration properties, which will override the 'conf' of the notebook you provide. + */ + conf?: any; + /** + * The type of the spark config. + */ + configurationType?: string; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string). + */ + driverSize?: any; + /** + * Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string). + */ + executorSize?: any; + /** + * Linked service reference. + */ + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Activity name. + */ + name: string; + /** + * Synapse notebook reference. + */ + notebook: outputs.datafactory.SynapseNotebookReferenceResponse; + /** + * Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). + */ + numExecutors?: any; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Notebook parameters. + */ + parameters?: {[key: string]: outputs.datafactory.NotebookParameterResponse}; + /** + * Activity policy. + */ + policy?: outputs.datafactory.ActivityPolicyResponse; + /** + * Spark configuration property. + */ + sparkConfig?: {[key: string]: any}; + /** + * The name of the big data pool which will be used to execute the notebook. + */ + sparkPool?: outputs.datafactory.BigDataPoolParametrizationReferenceResponse; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * The spark configuration of the spark job. + */ + targetSparkConfiguration?: outputs.datafactory.SparkConfigurationParametrizationReferenceResponse; + /** + * Type of activity. + * Expected value is 'SynapseNotebook'. + */ + type: "SynapseNotebook"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Synapse notebook reference type. + */ + export interface SynapseNotebookReferenceResponse { + /** + * Reference notebook name. Type: string (or Expression with resultType string). + */ + referenceName: any; + /** + * Synapse notebook reference type. + */ + type: string; + } + + /** + * Execute spark job activity. + */ + export interface SynapseSparkJobDefinitionActivityResponse { + /** + * User specified arguments to SynapseSparkJobDefinitionActivity. + */ + arguments?: any[]; + /** + * The fully-qualified identifier or the main class that is in the main definition file, which will override the 'className' of the spark job definition you provide. Type: string (or Expression with resultType string). + */ + className?: any; + /** + * Spark configuration properties, which will override the 'conf' of the spark job definition you provide. + */ + conf?: any; + /** + * The type of the spark config. + */ + configurationType?: string; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Number of core and memory to be used for driver allocated in the specified Spark pool for the job, which will be used for overriding 'driverCores' and 'driverMemory' of the spark job definition you provide. Type: string (or Expression with resultType string). + */ + driverSize?: any; + /** + * Number of core and memory to be used for executors allocated in the specified Spark pool for the job, which will be used for overriding 'executorCores' and 'executorMemory' of the spark job definition you provide. Type: string (or Expression with resultType string). + */ + executorSize?: any; + /** + * The main file used for the job, which will override the 'file' of the spark job definition you provide. Type: string (or Expression with resultType string). + */ + file?: any; + /** + * (Deprecated. Please use pythonCodeReference and filesV2) Additional files used for reference in the main definition file, which will override the 'files' of the spark job definition you provide. + */ + files?: any[]; + /** + * Additional files used for reference in the main definition file, which will override the 'jars' and 'files' of the spark job definition you provide. + */ + filesV2?: any[]; + /** + * Linked service reference. + */ + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Activity name. + */ + name: string; + /** + * Number of executors to launch for this job, which will override the 'numExecutors' of the spark job definition you provide. Type: integer (or Expression with resultType integer). + */ + numExecutors?: any; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Activity policy. + */ + policy?: outputs.datafactory.ActivityPolicyResponse; + /** + * Additional python code files used for reference in the main definition file, which will override the 'pyFiles' of the spark job definition you provide. + */ + pythonCodeReference?: any[]; + /** + * Scanning subfolders from the root folder of the main definition file, these files will be added as reference files. The folders named 'jars', 'pyFiles', 'files' or 'archives' will be scanned, and the folders name are case sensitive. Type: boolean (or Expression with resultType boolean). + */ + scanFolder?: any; + /** + * Spark configuration property. + */ + sparkConfig?: {[key: string]: any}; + /** + * Synapse spark job reference. + */ + sparkJob: outputs.datafactory.SynapseSparkJobReferenceResponse; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * The name of the big data pool which will be used to execute the spark batch job, which will override the 'targetBigDataPool' of the spark job definition you provide. + */ + targetBigDataPool?: outputs.datafactory.BigDataPoolParametrizationReferenceResponse; + /** + * The spark configuration of the spark job. + */ + targetSparkConfiguration?: outputs.datafactory.SparkConfigurationParametrizationReferenceResponse; + /** + * Type of activity. + * Expected value is 'SparkJob'. + */ + type: "SparkJob"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Synapse spark job reference type. + */ + export interface SynapseSparkJobReferenceResponse { + /** + * Reference spark job name. Expression with resultType string. + */ + referenceName: any; + /** + * Synapse spark job reference type. + */ + type: string; + } + + /** + * Copy activity sources of tabular type. + */ + export interface TabularSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'TabularSource'. + */ + type: "TabularSource"; + } + + /** + * The TarGZip compression read settings. + */ + export interface TarGZipReadSettingsResponse { + /** + * Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). + */ + preserveCompressionFileNameAsFolder?: any; + /** + * The Compression setting type. + * Expected value is 'TarGZipReadSettings'. + */ + type: "TarGZipReadSettings"; + } + + /** + * The Tar compression read settings. + */ + export interface TarReadSettingsResponse { + /** + * Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). + */ + preserveCompressionFileNameAsFolder?: any; + /** + * The Compression setting type. + * Expected value is 'TarReadSettings'. + */ + type: "TarReadSettings"; + } + + /** + * Linked service for TeamDesk. + */ + export interface TeamDeskLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The api token for the TeamDesk source. + */ + apiToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The authentication type to use. + */ + authenticationType: string; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The password of the TeamDesk source. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'TeamDesk'. + */ + type: "TeamDesk"; + /** + * The url to connect TeamDesk source. Type: string (or Expression with resultType string). + */ + url: any; + /** + * The username of the TeamDesk source. Type: string (or Expression with resultType string). + */ + userName?: any; + } + + /** + * Linked service for Teradata data source. + */ + export interface TeradataLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * AuthenticationType to be used for connection. + */ + authenticationType?: string; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Password for authentication. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Server name for connection. Type: string (or Expression with resultType string). + */ + server?: any; + /** + * Type of linked service. + * Expected value is 'Teradata'. + */ + type: "Teradata"; + /** + * Username for authentication. Type: string (or Expression with resultType string). + */ + username?: any; + } + + /** + * The settings that will be leveraged for teradata source partitioning. + */ + export interface TeradataPartitionSettingsResponse { + /** + * The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). + */ + partitionColumnName?: any; + /** + * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionLowerBound?: any; + /** + * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionUpperBound?: any; + } + + /** + * A copy activity Teradata source. + */ + export interface TeradataSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". + */ + partitionOption?: any; + /** + * The settings that will be leveraged for teradata source partitioning. + */ + partitionSettings?: outputs.datafactory.TeradataPartitionSettingsResponse; + /** + * Teradata query. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'TeradataSource'. + */ + type: "TeradataSource"; + } + + /** + * The Teradata database dataset. + */ + export interface TeradataTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * The database name of Teradata. Type: string (or Expression with resultType string). + */ + database?: any; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name of Teradata. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * Type of dataset. + * Expected value is 'TeradataTable'. + */ + type: "TeradataTable"; + } + + /** + * The data stored in text format. + */ + export interface TextFormatResponse { + /** + * The column delimiter. Type: string (or Expression with resultType string). + */ + columnDelimiter?: any; + /** + * Deserializer. Type: string (or Expression with resultType string). + */ + deserializer?: any; + /** + * The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + */ + encodingName?: any; + /** + * The escape character. Type: string (or Expression with resultType string). + */ + escapeChar?: any; + /** + * When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). + */ + firstRowAsHeader?: any; + /** + * The null value string. Type: string (or Expression with resultType string). + */ + nullValue?: any; + /** + * The quote character. Type: string (or Expression with resultType string). + */ + quoteChar?: any; + /** + * The row delimiter. Type: string (or Expression with resultType string). + */ + rowDelimiter?: any; + /** + * Serializer. Type: string (or Expression with resultType string). + */ + serializer?: any; + /** + * The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). + */ + skipLineCount?: any; + /** + * Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). + */ + treatEmptyAsNull?: any; + /** + * Type of dataset storage format. + * Expected value is 'TextFormat'. + */ + type: "TextFormat"; + } + + /** + * A data flow transformation. + */ + export interface TransformationResponse { + /** + * Dataset reference. + */ + dataset?: outputs.datafactory.DatasetReferenceResponse; + /** + * Transformation description. + */ + description?: string; + /** + * Flowlet Reference + */ + flowlet?: outputs.datafactory.DataFlowReferenceResponse; + /** + * Linked service reference. + */ + linkedService?: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Transformation name. + */ + name: string; + } + + /** + * Trigger referenced dependency. + */ + export interface TriggerDependencyReferenceResponse { + /** + * Referenced trigger. + */ + referenceTrigger: outputs.datafactory.TriggerReferenceResponse; + /** + * The type of dependency reference. + * Expected value is 'TriggerDependencyReference'. + */ + type: "TriggerDependencyReference"; + } + + /** + * Pipeline that needs to be triggered with the given parameters. + */ + export interface TriggerPipelineReferenceResponse { + /** + * Pipeline parameters. + */ + parameters?: {[key: string]: any}; + /** + * Pipeline reference. + */ + pipelineReference?: outputs.datafactory.PipelineReferenceResponse; + } + + /** + * Trigger reference type. + */ + export interface TriggerReferenceResponse { + /** + * Reference trigger name. + */ + referenceName: string; + /** + * Trigger reference type. + */ + type: string; + } + + /** + * Referenced tumbling window trigger dependency. + */ + export interface TumblingWindowTriggerDependencyReferenceResponse { + /** + * Timespan applied to the start time of a tumbling window when evaluating dependency. + */ + offset?: string; + /** + * Referenced trigger. + */ + referenceTrigger: outputs.datafactory.TriggerReferenceResponse; + /** + * The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. + */ + size?: string; + /** + * The type of dependency reference. + * Expected value is 'TumblingWindowTriggerDependencyReference'. + */ + type: "TumblingWindowTriggerDependencyReference"; + } + + /** + * Trigger that schedules pipeline runs for all fixed time interval windows from a start time without gaps and also supports backfill scenarios (when start time is in the past). + */ + export interface TumblingWindowTriggerResponse { + /** + * List of tags that can be used for describing the trigger. + */ + annotations?: any[]; + /** + * Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + delay?: any; + /** + * Triggers that this trigger depends on. Only tumbling window triggers are supported. + */ + dependsOn?: (outputs.datafactory.SelfDependencyTumblingWindowTriggerReferenceResponse | outputs.datafactory.TriggerDependencyReferenceResponse | outputs.datafactory.TumblingWindowTriggerDependencyReferenceResponse)[]; + /** + * Trigger description. + */ + description?: string; + /** + * The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. + */ + endTime?: string; + /** + * The frequency of the time windows. + */ + frequency: string; + /** + * The interval of the time windows. The minimum interval allowed is 15 Minutes. + */ + interval: number; + /** + * The max number of parallel time windows (ready for execution) for which a new run is triggered. + */ + maxConcurrency: number; + /** + * Pipeline for which runs are created when an event is fired for trigger window that is ready. + */ + pipeline: outputs.datafactory.TriggerPipelineReferenceResponse; + /** + * Retry policy that will be applied for failed pipeline runs. + */ + retryPolicy?: outputs.datafactory.RetryPolicyResponse; + /** + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + */ + runtimeState: string; + /** + * The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. + */ + startTime: string; + /** + * Trigger type. + * Expected value is 'TumblingWindowTrigger'. + */ + type: "TumblingWindowTrigger"; + } + + /** + * Linked service for Twilio. + */ + export interface TwilioLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The auth token of Twilio service. + */ + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'Twilio'. + */ + type: "Twilio"; + /** + * The Account SID of Twilio service. Type: string (or Expression with resultType string). + */ + userName: any; + } + + /** + * This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. + */ + export interface UntilActivityResponse { + /** + * List of activities to execute. + */ + activities: (outputs.datafactory.AppendVariableActivityResponse | outputs.datafactory.AzureDataExplorerCommandActivityResponse | outputs.datafactory.AzureFunctionActivityResponse | outputs.datafactory.AzureMLBatchExecutionActivityResponse | outputs.datafactory.AzureMLExecutePipelineActivityResponse | outputs.datafactory.AzureMLUpdateResourceActivityResponse | outputs.datafactory.ControlActivityResponse | outputs.datafactory.CopyActivityResponse | outputs.datafactory.CustomActivityResponse | outputs.datafactory.DataLakeAnalyticsUSQLActivityResponse | outputs.datafactory.DatabricksNotebookActivityResponse | outputs.datafactory.DatabricksSparkJarActivityResponse | outputs.datafactory.DatabricksSparkPythonActivityResponse | outputs.datafactory.DeleteActivityResponse | outputs.datafactory.ExecuteDataFlowActivityResponse | outputs.datafactory.ExecutePipelineActivityResponse | outputs.datafactory.ExecuteSSISPackageActivityResponse | outputs.datafactory.ExecuteWranglingDataflowActivityResponse | outputs.datafactory.ExecutionActivityResponse | outputs.datafactory.FailActivityResponse | outputs.datafactory.FilterActivityResponse | outputs.datafactory.ForEachActivityResponse | outputs.datafactory.GetMetadataActivityResponse | outputs.datafactory.HDInsightHiveActivityResponse | outputs.datafactory.HDInsightMapReduceActivityResponse | outputs.datafactory.HDInsightPigActivityResponse | outputs.datafactory.HDInsightSparkActivityResponse | outputs.datafactory.HDInsightStreamingActivityResponse | outputs.datafactory.IfConditionActivityResponse | outputs.datafactory.LookupActivityResponse | outputs.datafactory.ScriptActivityResponse | outputs.datafactory.SetVariableActivityResponse | outputs.datafactory.SqlServerStoredProcedureActivityResponse | outputs.datafactory.SwitchActivityResponse | outputs.datafactory.SynapseNotebookActivityResponse | outputs.datafactory.SynapseSparkJobDefinitionActivityResponse | outputs.datafactory.UntilActivityResponse | outputs.datafactory.ValidationActivityResponse | outputs.datafactory.WaitActivityResponse | outputs.datafactory.WebActivityResponse | outputs.datafactory.WebHookActivityResponse)[]; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true + */ + expression: outputs.datafactory.ExpressionResponse; + /** + * Activity name. + */ + name: string; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: any; + /** + * Type of activity. + * Expected value is 'Until'. + */ + type: "Until"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Get Data Plane read only token request definition. + */ + export interface UserAccessPolicyResponse { + /** + * The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. + */ + accessResourcePath?: string; + /** + * Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. + */ + expireTime?: string; + /** + * The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. + */ + permissions?: string; + /** + * The name of the profile. Currently only the default is supported. The default value is DefaultProfile. + */ + profileName?: string; + /** + * Start time for the token. If not specified the current time will be used. + */ + startTime?: string; + } + + /** + * User property. + */ + export interface UserPropertyResponse { + /** + * User property name. + */ + name: string; + /** + * User property value. Type: string (or Expression with resultType string). + */ + value: any; + } + + /** + * This activity verifies that an external resource exists. + */ + export interface ValidationActivityResponse { + /** + * Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). + */ + childItems?: any; + /** + * Validation activity dataset reference. + */ + dataset: outputs.datafactory.DatasetReferenceResponse; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). + */ + minimumSize?: any; + /** + * Activity name. + */ + name: string; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). + */ + sleep?: any; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: any; + /** + * Type of activity. + * Expected value is 'Validation'. + */ + type: "Validation"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Definition of a single variable for a Pipeline. + */ + export interface VariableSpecificationResponse { + /** + * Default value of variable. + */ + defaultValue?: any; + /** + * Variable type. + */ + type: string; + } + + /** + * Vertica linked service. + */ + export interface VerticaLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The Azure key vault secret reference of password in connection string. + */ + pwd?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse; + /** + * Type of linked service. + * Expected value is 'Vertica'. + */ + type: "Vertica"; + } + + /** + * A copy activity Vertica source. + */ + export interface VerticaSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'VerticaSource'. + */ + type: "VerticaSource"; + } + + /** + * Vertica dataset. + */ + export interface VerticaTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name of the Vertica. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'VerticaTable'. + */ + type: "VerticaTable"; + } + + /** + * This activity suspends pipeline execution for the specified interval. + */ + export interface WaitActivityResponse { + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Activity name. + */ + name: string; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Type of activity. + * Expected value is 'Wait'. + */ + type: "Wait"; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + /** + * Duration in seconds. Type: integer (or Expression with resultType integer). + */ + waitTimeInSeconds: any; + } + + /** + * Web activity authentication properties. + */ + export interface WebActivityAuthenticationResponse { + /** + * The credential reference containing authentication information. + */ + credential?: outputs.datafactory.CredentialReferenceResponse; + /** + * Password for the PFX file or basic authentication / Secret when used for ServicePrincipal + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal + */ + pfx?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string). + */ + resource?: any; + /** + * Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal) + */ + type?: string; + /** + * TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string). + */ + userTenant?: any; + /** + * Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string). + */ + username?: any; + } + + /** + * Web activity. + */ + export interface WebActivityResponse { + /** + * Authentication method used for calling the endpoint. + */ + authentication?: outputs.datafactory.WebActivityAuthenticationResponse; + /** + * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). + */ + body?: any; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * List of datasets passed to web endpoint. + */ + datasets?: outputs.datafactory.DatasetReferenceResponse[]; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * When set to true, Certificate validation will be disabled. + */ + disableCertValidation?: boolean; + /** + * Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + */ + headers?: any; + /** + * Linked service reference. + */ + linkedServiceName?: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * List of linked services passed to web endpoint. + */ + linkedServices?: outputs.datafactory.LinkedServiceReferenceResponse[]; + /** + * Rest API method for target endpoint. + */ + method: string; + /** + * Activity name. + */ + name: string; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * Activity policy. + */ + policy?: outputs.datafactory.ActivityPolicyResponse; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * Type of activity. + * Expected value is 'WebActivity'. + */ + type: "WebActivity"; + /** + * Web activity target endpoint and path. Type: string (or Expression with resultType string). + */ + url: any; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. + */ + export interface WebAnonymousAuthenticationResponse { + /** + * Type of authentication used to connect to the web table source. + * Expected value is 'Anonymous'. + */ + authenticationType: "Anonymous"; + /** + * The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). + */ + url: any; + } + + /** + * A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. + */ + export interface WebBasicAuthenticationResponse { + /** + * Type of authentication used to connect to the web table source. + * Expected value is 'Basic'. + */ + authenticationType: "Basic"; + /** + * The password for Basic authentication. + */ + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). + */ + url: any; + /** + * User name for Basic authentication. Type: string (or Expression with resultType string). + */ + username: any; + } + + /** + * A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client. + */ + export interface WebClientCertificateAuthenticationResponse { + /** + * Type of authentication used to connect to the web table source. + * Expected value is 'ClientCertificate'. + */ + authenticationType: "ClientCertificate"; + /** + * Password for the PFX file. + */ + password: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Base64-encoded contents of a PFX file. + */ + pfx: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string). + */ + url: any; + } + + /** + * WebHook activity. + */ + export interface WebHookActivityResponse { + /** + * Authentication method used for calling the endpoint. + */ + authentication?: outputs.datafactory.WebActivityAuthenticationResponse; + /** + * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). + */ + body?: any; + /** + * Activity depends on condition. + */ + dependsOn?: outputs.datafactory.ActivityDependencyResponse[]; + /** + * Activity description. + */ + description?: string; + /** + * Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + */ + headers?: any; + /** + * Rest API method for target endpoint. + */ + method: string; + /** + * Activity name. + */ + name: string; + /** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + */ + onInactiveMarkAs?: string; + /** + * When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). + */ + reportStatusOnCallBack?: any; + /** + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + state?: string; + /** + * The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: string; + /** + * Type of activity. + * Expected value is 'WebHook'. + */ + type: "WebHook"; + /** + * WebHook activity target endpoint and path. Type: string (or Expression with resultType string). + */ + url: any; + /** + * Activity user properties. + */ + userProperties?: outputs.datafactory.UserPropertyResponse[]; + } + + /** + * Web linked service. + */ + export interface WebLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Type of linked service. + * Expected value is 'Web'. + */ + type: "Web"; + /** + * Web linked service properties. + */ + typeProperties: outputs.datafactory.WebAnonymousAuthenticationResponse | outputs.datafactory.WebBasicAuthenticationResponse | outputs.datafactory.WebClientCertificateAuthenticationResponse; + } + + /** + * A copy activity source for web page table. + */ + export interface WebSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'WebSource'. + */ + type: "WebSource"; + } + + /** + * The dataset points to a HTML table in the web page. + */ + export interface WebTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. + */ + index: any; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). + */ + path?: any; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'WebTable'. + */ + type: "WebTable"; + } + + /** + * Power Query data flow. + */ + export interface WranglingDataFlowResponse { + /** + * List of tags that can be used for describing the data flow. + */ + annotations?: any[]; + /** + * The description of the data flow. + */ + description?: string; + /** + * Locale of the Power query mashup document. + */ + documentLocale?: string; + /** + * The folder that this data flow is in. If not specified, Data flow will appear at the root level. + */ + folder?: outputs.datafactory.DataFlowResponseFolder; + /** + * Power query mashup script. + */ + script?: string; + /** + * List of sources in Power Query. + */ + sources?: outputs.datafactory.PowerQuerySourceResponse[]; + /** + * Type of data flow. + * Expected value is 'WranglingDataFlow'. + */ + type: "WranglingDataFlow"; + } + + /** + * Xero Service linked service. + */ + export interface XeroLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object. + */ + connectionProperties?: any; + /** + * The consumer key associated with the Xero application. + */ + consumerKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * The endpoint of the Xero server. (i.e. api.xero.com) + */ + host?: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( + * ). + */ + privateKey?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'Xero'. + */ + type: "Xero"; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; + } + + /** + * Xero Service dataset. + */ + export interface XeroObjectDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'XeroObject'. + */ + type: "XeroObject"; + } + + /** + * A copy activity Xero Service source. + */ + export interface XeroSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'XeroSource'. + */ + type: "XeroSource"; + } + + /** + * Xml dataset. + */ + export interface XmlDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * The data compression method used for the json dataset. + */ + compression?: outputs.datafactory.DatasetCompressionResponse; + /** + * Dataset description. + */ + description?: string; + /** + * The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + */ + encodingName?: any; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * The location of the json data storage. + */ + location: outputs.datafactory.AmazonS3CompatibleLocationResponse | outputs.datafactory.AmazonS3LocationResponse | outputs.datafactory.AzureBlobFSLocationResponse | outputs.datafactory.AzureBlobStorageLocationResponse | outputs.datafactory.AzureDataLakeStoreLocationResponse | outputs.datafactory.AzureFileStorageLocationResponse | outputs.datafactory.FileServerLocationResponse | outputs.datafactory.FtpServerLocationResponse | outputs.datafactory.GoogleCloudStorageLocationResponse | outputs.datafactory.HdfsLocationResponse | outputs.datafactory.HttpServerLocationResponse | outputs.datafactory.OracleCloudStorageLocationResponse | outputs.datafactory.SftpLocationResponse; + /** + * The null value string. Type: string (or Expression with resultType string). + */ + nullValue?: any; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'Xml'. + */ + type: "Xml"; + } + + /** + * Xml read settings. + */ + export interface XmlReadSettingsResponse { + /** + * Compression settings. + */ + compressionProperties?: outputs.datafactory.TarGZipReadSettingsResponse | outputs.datafactory.TarReadSettingsResponse | outputs.datafactory.ZipDeflateReadSettingsResponse; + /** + * Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). + */ + detectDataType?: any; + /** + * Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). + */ + namespacePrefixes?: any; + /** + * Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). + */ + namespaces?: any; + /** + * The read setting type. + * Expected value is 'XmlReadSettings'. + */ + type: "XmlReadSettings"; + /** + * Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). + */ + validationMode?: any; + } + + /** + * A copy activity Xml source. + */ + export interface XmlSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * Xml format settings. + */ + formatSettings?: outputs.datafactory.XmlReadSettingsResponse; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Xml store settings. + */ + storeSettings?: outputs.datafactory.AmazonS3CompatibleReadSettingsResponse | outputs.datafactory.AmazonS3ReadSettingsResponse | outputs.datafactory.AzureBlobFSReadSettingsResponse | outputs.datafactory.AzureBlobStorageReadSettingsResponse | outputs.datafactory.AzureDataLakeStoreReadSettingsResponse | outputs.datafactory.AzureFileStorageReadSettingsResponse | outputs.datafactory.FileServerReadSettingsResponse | outputs.datafactory.FtpReadSettingsResponse | outputs.datafactory.GoogleCloudStorageReadSettingsResponse | outputs.datafactory.HdfsReadSettingsResponse | outputs.datafactory.HttpReadSettingsResponse | outputs.datafactory.OracleCloudStorageReadSettingsResponse | outputs.datafactory.SftpReadSettingsResponse; + /** + * Copy source type. + * Expected value is 'XmlSource'. + */ + type: "XmlSource"; + } + + /** + * Linked service for Zendesk. + */ + export interface ZendeskLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The api token for the Zendesk source. + */ + apiToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * The authentication type to use. + */ + authenticationType: string; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * The password of the Zendesk source. + */ + password?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'Zendesk'. + */ + type: "Zendesk"; + /** + * The url to connect Zendesk source. Type: string (or Expression with resultType string). + */ + url: any; + /** + * The username of the Zendesk source. Type: string (or Expression with resultType string). + */ + userName?: any; + } + + /** + * The ZipDeflate compression read settings. + */ + export interface ZipDeflateReadSettingsResponse { + /** + * Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). + */ + preserveZipFileNameAsFolder?: any; + /** + * The Compression setting type. + * Expected value is 'ZipDeflateReadSettings'. + */ + type: "ZipDeflateReadSettings"; + } + + /** + * Zoho server linked service. + */ + export interface ZohoLinkedServiceResponse { + /** + * The access token for Zoho authentication. + */ + accessToken?: outputs.datafactory.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.SecureStringResponse; + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.IntegrationRuntimeReferenceResponse; + /** + * Properties used to connect to Zoho. It is mutually exclusive with any other properties in the linked service. Type: object. + */ + connectionProperties?: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) + */ + endpoint?: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Type of linked service. + * Expected value is 'Zoho'. + */ + type: "Zoho"; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; + } + + /** + * Zoho server dataset. + */ + export interface ZohoObjectDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'ZohoObject'. + */ + type: "ZohoObject"; + } + + /** + * A copy activity Zoho server source. + */ + export interface ZohoSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'ZohoSource'. + */ + type: "ZohoSource"; + } + + export namespace v20180601 { + /** + * Activity dependency information. + */ + export interface ActivityDependencyResponse { + /** + * Activity name. + */ + activity: string; + /** + * Match-Condition for the dependency. + */ + dependencyConditions: string[]; + } + + /** + * Execution policy for an activity. + */ + export interface ActivityPolicyResponse { + /** + * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. + */ + retry?: any; + /** + * Interval between each retry attempt (in seconds). The default is 30 sec. + */ + retryIntervalInSeconds?: number; + /** + * When set to true, Input from activity is considered as secure and will not be logged to monitoring. + */ + secureInput?: boolean; + /** + * When set to true, Output from activity is considered as secure and will not be logged to monitoring. + */ + secureOutput?: boolean; + /** + * Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: any; + } + + /** + * Amazon Marketplace Web Service linked service. + */ + export interface AmazonMWSLinkedServiceResponse { + /** + * The access key id used to access data. + */ + accessKeyId: any; + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) + */ + endpoint: any; + /** + * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) + */ + marketplaceID: any; + /** + * The Amazon MWS authentication token. + */ + mwsAuthToken?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * The secret key used to access data. + */ + secretKey?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; + /** + * The Amazon seller ID. + */ + sellerID: any; + /** + * Type of linked service. + * Expected value is 'AmazonMWS'. + */ + type: "AmazonMWS"; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + */ + usePeerVerification?: any; + } + + /** + * Amazon Marketplace Web Service dataset. + */ + export interface AmazonMWSObjectDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.v20180601.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'AmazonMWSObject'. + */ + type: "AmazonMWSObject"; + } + + /** + * A copy activity Amazon Marketplace Web Service source. + */ + export interface AmazonMWSSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'AmazonMWSSource'. + */ + type: "AmazonMWSSource"; + } + + /** + * AmazonRdsForOracle database. + */ + export interface AmazonRdsForOracleLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; + /** + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * The Azure key vault secret reference of password in connection string. + */ + password?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'AmazonRdsForOracle'. + */ + type: "AmazonRdsForOracle"; + } + + /** + * The settings that will be leveraged for AmazonRdsForOracle source partitioning. + */ + export interface AmazonRdsForOraclePartitionSettingsResponse { + /** + * The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionColumnName?: any; + /** + * The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionLowerBound?: any; + /** + * Names of the physical partitions of AmazonRdsForOracle table. + */ + partitionNames?: any[]; + /** + * The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + */ + partitionUpperBound?: any; + } + + /** + * A copy activity AmazonRdsForOracle source. + */ + export interface AmazonRdsForOracleSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * AmazonRdsForOracle reader query. Type: string (or Expression with resultType string). + */ + oracleReaderQuery?: any; + /** + * The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string). + */ + partitionOption?: any; + /** + * The settings that will be leveraged for AmazonRdsForOracle source partitioning. + */ + partitionSettings?: outputs.datafactory.v20180601.AmazonRdsForOraclePartitionSettingsResponse; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'AmazonRdsForOracleSource'. + */ + type: "AmazonRdsForOracleSource"; + } + + /** + * The AmazonRdsForOracle database dataset. + */ + export interface AmazonRdsForOracleTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.v20180601.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * Type of dataset. + * Expected value is 'AmazonRdsForOracleTable'. + */ + type: "AmazonRdsForOracleTable"; + } + + /** + * Amazon RDS for SQL Server linked service. + */ + export interface AmazonRdsForSqlServerLinkedServiceResponse { + /** + * Sql always encrypted properties. + */ + alwaysEncryptedSettings?: outputs.datafactory.v20180601.SqlAlwaysEncryptedPropertiesResponse; + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; + /** + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * The on-premises Windows authentication password. + */ + password?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; + /** + * Type of linked service. + * Expected value is 'AmazonRdsForSqlServer'. + */ + type: "AmazonRdsForSqlServer"; + /** + * The on-premises Windows authentication user name. Type: string (or Expression with resultType string). + */ + userName?: any; + } + + /** + * A copy activity Amazon RDS for SQL Server source. + */ + export interface AmazonRdsForSqlServerSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + */ + isolationLevel?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". + */ + partitionOption?: any; + /** + * The settings that will be leveraged for Sql source partitioning. + */ + partitionSettings?: outputs.datafactory.v20180601.SqlPartitionSettingsResponse; + /** + * Which additional types to produce. + */ + produceAdditionalTypes?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * SQL reader query. Type: string (or Expression with resultType string). + */ + sqlReaderQuery?: any; + /** + * Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + */ + sqlReaderStoredProcedureName?: any; + /** + * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + */ + storedProcedureParameters?: any; + /** + * Copy source type. + * Expected value is 'AmazonRdsForSqlServerSource'. + */ + type: "AmazonRdsForSqlServerSource"; + } + + /** + * The Amazon RDS for SQL Server dataset. + */ + export interface AmazonRdsForSqlServerTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.v20180601.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * Type of dataset. + * Expected value is 'AmazonRdsForSqlServerTable'. + */ + type: "AmazonRdsForSqlServerTable"; + } + + /** + * Linked service for Amazon Redshift. + */ + export interface AmazonRedshiftLinkedServiceResponse { + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; + /** + * The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). + */ + database: any; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * The password of the Amazon Redshift source. + */ + password?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; + /** + * The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). + */ + port?: any; + /** + * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). + */ + server: any; + /** + * Type of linked service. + * Expected value is 'AmazonRedshift'. + */ + type: "AmazonRedshift"; + /** + * The username of the Amazon Redshift source. Type: string (or Expression with resultType string). + */ + username?: any; + } + + /** + * A copy activity source for Amazon Redshift Source. + */ + export interface AmazonRedshiftSourceResponse { + /** + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). + */ + additionalColumns?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * Database query. Type: string (or Expression with resultType string). + */ + query?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + queryTimeout?: any; + /** + * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. + */ + redshiftUnloadSettings?: outputs.datafactory.v20180601.RedshiftUnloadSettingsResponse; + /** + * Source retry count. Type: integer (or Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sourceRetryWait?: any; + /** + * Copy source type. + * Expected value is 'AmazonRedshiftSource'. + */ + type: "AmazonRedshiftSource"; + } + + /** + * The Amazon Redshift table dataset. + */ + export interface AmazonRedshiftTableDatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.v20180601.DatasetResponseFolder; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * The Amazon Redshift table name. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * Type of dataset. + * Expected value is 'AmazonRedshiftTable'. + */ + type: "AmazonRedshiftTable"; + } + + /** + * Linked service for Amazon S3 Compatible. + */ + export interface AmazonS3CompatibleLinkedServiceResponse { + /** + * The access key identifier of the Amazon S3 Compatible Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). + */ + accessKeyId?: any; + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; + /** + * Linked service description. + */ + description?: string; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. + */ + encryptedCredential?: string; + /** + * If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). + */ + forcePathStyle?: any; + /** + * Parameters for linked service. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. + */ + secretAccessKey?: outputs.datafactory.v20180601.AzureKeyVaultSecretReferenceResponse | outputs.datafactory.v20180601.SecureStringResponse; + /** + * This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). + */ + serviceUrl?: any; + /** + * Type of linked service. + * Expected value is 'AmazonS3Compatible'. + */ + type: "AmazonS3Compatible"; + } + + /** + * The location of Amazon S3 Compatible dataset. + */ + export interface AmazonS3CompatibleLocationResponse { + /** + * Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string) + */ + bucketName?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Type of dataset storage location. + * Expected value is 'AmazonS3CompatibleLocation'. + */ + type: "AmazonS3CompatibleLocation"; + /** + * Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string). + */ + version?: any; + } + + /** + * Amazon S3 Compatible read settings. + */ + export interface AmazonS3CompatibleReadSettingsResponse { + /** + * Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + */ + deleteFilesAfterCompletion?: any; + /** + * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + */ + disableMetricsCollection?: any; + /** + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). + */ + enablePartitionDiscovery?: any; + /** + * Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + */ + fileListPath?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The end of file's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; + /** + * The start of file's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeStart?: any; + /** + * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + */ + partitionRootPath?: any; + /** + * The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string). + */ + prefix?: any; + /** + * If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + */ + recursive?: any; + /** + * The read setting type. + * Expected value is 'AmazonS3CompatibleReadSettings'. + */ + type: "AmazonS3CompatibleReadSettings"; + /** + * Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string). + */ + wildcardFileName?: any; + /** + * Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string). + */ + wildcardFolderPath?: any; + } + + /** + * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. + */ + export interface AmazonS3DatasetResponse { + /** + * List of tags that can be used for describing the Dataset. + */ + annotations?: any[]; + /** + * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). + */ + bucketName: any; + /** + * The data compression method used for the Amazon S3 object. + */ + compression?: outputs.datafactory.v20180601.DatasetCompressionResponse; + /** + * Dataset description. + */ + description?: string; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: outputs.datafactory.v20180601.DatasetResponseFolder; + /** + * The format of files. + */ + format?: outputs.datafactory.v20180601.AvroFormatResponse | outputs.datafactory.v20180601.JsonFormatResponse | outputs.datafactory.v20180601.OrcFormatResponse | outputs.datafactory.v20180601.ParquetFormatResponse | outputs.datafactory.v20180601.TextFormatResponse; + /** + * The key of the Amazon S3 object. Type: string (or Expression with resultType string). + */ + key?: any; + /** + * Linked service reference. + */ + linkedServiceName: outputs.datafactory.v20180601.LinkedServiceReferenceResponse; + /** + * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; + /** + * The start of S3 object's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeStart?: any; + /** + * Parameters for dataset. + */ + parameters?: {[key: string]: outputs.datafactory.v20180601.ParameterSpecificationResponse}; + /** + * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). + */ + prefix?: any; + /** + * Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + */ + structure?: any; + /** + * Type of dataset. + * Expected value is 'AmazonS3Object'. + */ + type: "AmazonS3Object"; + /** + * The version for the S3 object. Type: string (or Expression with resultType string). + */ + version?: any; + } + + /** + * Linked service for Amazon S3. + */ + export interface AmazonS3LinkedServiceResponse { + /** + * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). + */ + accessKeyId?: any; + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). + */ + authenticationType?: any; + /** + * The integration runtime reference. + */ + connectVia?: outputs.datafactory.v20180601.IntegrationRuntimeReferenceResponse; + /** * Linked service description. */ description?: string; @@ -200904,7 +205978,931 @@ export namespace dataprotection { /** * Criteria which decides whether the tag can be applied to a triggered backup. */ - criteria?: outputs.dataprotection.v20230101.ScheduleBasedBackupCriteriaResponse[]; + criteria?: outputs.dataprotection.v20230101.ScheduleBasedBackupCriteriaResponse[]; + /** + * Specifies if tag is default. + */ + isDefault: boolean; + /** + * Retention tag information + */ + tagInfo: outputs.dataprotection.v20230101.RetentionTagResponse; + /** + * Retention Tag priority. + */ + taggingPriority: number; + } + + /** + * Target copy settings + */ + export interface TargetCopySettingResponse { + /** + * It can be CustomCopyOption or ImmediateCopyOption. + */ + copyAfter: outputs.dataprotection.v20230101.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230101.CustomCopyOptionResponse | outputs.dataprotection.v20230101.ImmediateCopyOptionResponse; + /** + * Info of target datastore + */ + dataStore: outputs.dataprotection.v20230101.DataStoreInfoBaseResponse; + } + + /** + * Error object used by layers that have access to localized content, and propagate that to user + */ + export interface UserFacingErrorResponse { + /** + * Unique code for this error + */ + code?: string; + /** + * Additional related Errors + */ + details?: outputs.dataprotection.v20230101.UserFacingErrorResponse[]; + /** + * Inner Error + */ + innerError?: outputs.dataprotection.v20230101.InnerErrorResponse; + /** + * Whether the operation will be retryable or not + */ + isRetryable?: boolean; + /** + * Whether the operation is due to a user error or service error + */ + isUserError?: boolean; + message?: string; + /** + * Any key value pairs that can be injected inside error object + */ + properties?: {[key: string]: string}; + /** + * RecommendedAction � localized. + */ + recommendedAction?: string[]; + /** + * Target of the error. + */ + target?: string; + } + + } + + export namespace v20230401preview { + /** + * Delete option with duration + */ + export interface AbsoluteDeleteOptionResponse { + /** + * Duration of deletion after given timespan + */ + duration: string; + /** + * Type of the specific object - used for deserializing + * Expected value is 'AbsoluteDeleteOption'. + */ + objectType: "AbsoluteDeleteOption"; + } + + /** + * Adhoc backup tagging criteria + */ + export interface AdhocBasedTaggingCriteriaResponse { + /** + * Retention tag information + */ + tagInfo?: outputs.dataprotection.v20230401preview.RetentionTagResponse; + } + + /** + * Adhoc trigger context + */ + export interface AdhocBasedTriggerContextResponse { + /** + * Type of the specific object - used for deserializing + * Expected value is 'AdhocBasedTriggerContext'. + */ + objectType: "AdhocBasedTriggerContext"; + /** + * Tagging Criteria containing retention tag for adhoc backup. + */ + taggingCriteria: outputs.dataprotection.v20230401preview.AdhocBasedTaggingCriteriaResponse; + } + + /** + * Azure backup parameters + */ + export interface AzureBackupParamsResponse { + /** + * BackupType ; Full/Incremental etc + */ + backupType: string; + /** + * Type of the specific object - used for deserializing + * Expected value is 'AzureBackupParams'. + */ + objectType: "AzureBackupParams"; + } + + /** + * Azure backup rule + */ + export interface AzureBackupRuleResponse { + /** + * BackupParameters base + */ + backupParameters?: outputs.dataprotection.v20230401preview.AzureBackupParamsResponse; + /** + * DataStoreInfo base + */ + dataStore: outputs.dataprotection.v20230401preview.DataStoreInfoBaseResponse; + name: string; + /** + * + * Expected value is 'AzureBackupRule'. + */ + objectType: "AzureBackupRule"; + /** + * Trigger context + */ + trigger: outputs.dataprotection.v20230401preview.AdhocBasedTriggerContextResponse | outputs.dataprotection.v20230401preview.ScheduleBasedTriggerContextResponse; + } + + /** + * Settings for Azure Monitor based alerts + */ + export interface AzureMonitorAlertSettingsResponse { + alertsForAllJobFailures?: string; + } + + /** + * Parameters for Operational-Tier DataStore + */ + export interface AzureOperationalStoreParametersResponse { + /** + * type of datastore; Operational/Vault/Archive + */ + dataStoreType: string; + /** + * Type of the specific object - used for deserializing + * Expected value is 'AzureOperationalStoreParameters'. + */ + objectType: "AzureOperationalStoreParameters"; + /** + * Gets or sets the Snapshot Resource Group Uri. + */ + resourceGroupId?: string; + } + + /** + * Azure retention rule + */ + export interface AzureRetentionRuleResponse { + isDefault?: boolean; + lifecycles: outputs.dataprotection.v20230401preview.SourceLifeCycleResponse[]; + name: string; + /** + * + * Expected value is 'AzureRetentionRule'. + */ + objectType: "AzureRetentionRule"; + } + + /** + * Backup Instance + */ + export interface BackupInstanceResponse { + /** + * Specifies the current protection state of the resource + */ + currentProtectionState: string; + /** + * Gets or sets the data source information. + */ + dataSourceInfo: outputs.dataprotection.v20230401preview.DatasourceResponse; + /** + * Gets or sets the data source set information. + */ + dataSourceSetInfo?: outputs.dataprotection.v20230401preview.DatasourceSetResponse; + /** + * Credentials to use to authenticate with data source provider. + */ + datasourceAuthCredentials?: outputs.dataprotection.v20230401preview.SecretStoreBasedAuthCredentialsResponse; + /** + * Gets or sets the Backup Instance friendly name. + */ + friendlyName?: string; + /** + * Contains information of the Identity Details for the BI. + * If it is null, default will be considered as System Assigned. + */ + identityDetails?: outputs.dataprotection.v20230401preview.IdentityDetailsResponse; + objectType: string; + /** + * Gets or sets the policy information. + */ + policyInfo: outputs.dataprotection.v20230401preview.PolicyInfoResponse; + /** + * Specifies the protection error of the resource + */ + protectionErrorDetails: outputs.dataprotection.v20230401preview.UserFacingErrorResponse; + /** + * Specifies the protection status of the resource + */ + protectionStatus: outputs.dataprotection.v20230401preview.ProtectionStatusDetailsResponse; + /** + * Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed + */ + provisioningState: string; + /** + * Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + */ + validationType?: string; + } + + /** + * Rule based backup policy + */ + export interface BackupPolicyResponse { + /** + * Type of datasource for the backup management + */ + datasourceTypes: string[]; + /** + * + * Expected value is 'BackupPolicy'. + */ + objectType: "BackupPolicy"; + /** + * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + */ + policyRules: (outputs.dataprotection.v20230401preview.AzureBackupRuleResponse | outputs.dataprotection.v20230401preview.AzureRetentionRuleResponse)[]; + } + + /** + * Schedule for backup + */ + export interface BackupScheduleResponse { + /** + * ISO 8601 repeating time interval format + */ + repeatingTimeIntervals: string[]; + /** + * Time zone for a schedule. Example: Pacific Standard Time + */ + timeZone?: string; + } + + /** + * Backup Vault + */ + export interface BackupVaultResponse { + /** + * Feature Settings + */ + featureSettings?: outputs.dataprotection.v20230401preview.FeatureSettingsResponse; + /** + * Is vault protected by resource guard + */ + isVaultProtectedByResourceGuard: boolean; + /** + * Monitoring Settings + */ + monitoringSettings?: outputs.dataprotection.v20230401preview.MonitoringSettingsResponse; + /** + * Provisioning state of the BackupVault resource + */ + provisioningState: string; + /** + * Resource move details for backup vault + */ + resourceMoveDetails: outputs.dataprotection.v20230401preview.ResourceMoveDetailsResponse; + /** + * Resource move state for backup vault + */ + resourceMoveState: string; + /** + * Secure Score of Backup Vault + */ + secureScore: string; + /** + * Security Settings + */ + securitySettings?: outputs.dataprotection.v20230401preview.SecuritySettingsResponse; + /** + * Storage Settings + */ + storageSettings: outputs.dataprotection.v20230401preview.StorageSettingResponse[]; + } + + /** + * Parameters to be used during configuration of backup of blobs + */ + export interface BlobBackupDatasourceParametersResponse { + /** + * List of containers to be backed up during configuration of backup of blobs + */ + containersList: string[]; + /** + * Type of the specific object - used for deserializing + * Expected value is 'BlobBackupDatasourceParameters'. + */ + objectType: "BlobBackupDatasourceParameters"; + } + + /** + * Copy on Expiry Option + */ + export interface CopyOnExpiryOptionResponse { + /** + * Type of the specific object - used for deserializing + * Expected value is 'CopyOnExpiryOption'. + */ + objectType: "CopyOnExpiryOption"; + } + + export interface CrossRegionRestoreSettingsResponse { + /** + * CrossRegionRestore state + */ + state?: string; + } + + /** + * CrossSubscriptionRestore Settings + */ + export interface CrossSubscriptionRestoreSettingsResponse { + /** + * CrossSubscriptionRestore state + */ + state?: string; + } + + /** + * Duration based custom options to copy + */ + export interface CustomCopyOptionResponse { + /** + * Data copied after given timespan + */ + duration?: string; + /** + * Type of the specific object - used for deserializing + * Expected value is 'CustomCopyOption'. + */ + objectType: "CustomCopyOption"; + } + + /** + * DataStoreInfo base + */ + export interface DataStoreInfoBaseResponse { + /** + * type of datastore; Operational/Vault/Archive + */ + dataStoreType: string; + /** + * Type of Datasource object, used to initialize the right inherited type + */ + objectType: string; + } + + /** + * Datasource to be backed up + */ + export interface DatasourceResponse { + /** + * DatasourceType of the resource. + */ + datasourceType?: string; + /** + * Type of Datasource object, used to initialize the right inherited type + */ + objectType?: string; + /** + * Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + */ + resourceID: string; + /** + * Location of datasource. + */ + resourceLocation?: string; + /** + * Unique identifier of the resource in the context of parent. + */ + resourceName?: string; + /** + * Resource Type of Datasource. + */ + resourceType?: string; + /** + * Uri of the resource. + */ + resourceUri?: string; + } + + /** + * DatasourceSet details of datasource to be backed up + */ + export interface DatasourceSetResponse { + /** + * DatasourceType of the resource. + */ + datasourceType?: string; + /** + * Type of Datasource object, used to initialize the right inherited type + */ + objectType?: string; + /** + * Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + */ + resourceID: string; + /** + * Location of datasource. + */ + resourceLocation?: string; + /** + * Unique identifier of the resource in the context of parent. + */ + resourceName?: string; + /** + * Resource Type of Datasource. + */ + resourceType?: string; + /** + * Uri of the resource. + */ + resourceUri?: string; + } + + /** + * Day of the week + */ + export interface DayResponse { + /** + * Date of the month + */ + date?: number; + /** + * Whether Date is last date of month + */ + isLast?: boolean; + } + + /** + * Identity details + */ + export interface DppIdentityDetailsResponse { + /** + * The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource. + */ + principalId: string; + /** + * A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. + */ + tenantId: string; + /** + * The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + */ + type?: string; + /** + * Gets or sets the user assigned identities. + */ + userAssignedIdentities?: {[key: string]: outputs.dataprotection.v20230401preview.UserAssignedIdentityDetailsResponse}; + } + + /** + * Class containing feature settings of vault + */ + export interface FeatureSettingsResponse { + crossRegionRestoreSettings?: outputs.dataprotection.v20230401preview.CrossRegionRestoreSettingsResponse; + /** + * CrossSubscriptionRestore Settings + */ + crossSubscriptionRestoreSettings?: outputs.dataprotection.v20230401preview.CrossSubscriptionRestoreSettingsResponse; + } + + export interface IdentityDetailsResponse { + /** + * Specifies if the BI is protected by System Identity. + */ + useSystemAssignedIdentity?: boolean; + /** + * ARM URL for User Assigned Identity. + */ + userAssignedIdentityArmUrl?: string; + } + + /** + * Immediate copy Option + */ + export interface ImmediateCopyOptionResponse { + /** + * Type of the specific object - used for deserializing + * Expected value is 'ImmediateCopyOption'. + */ + objectType: "ImmediateCopyOption"; + } + + /** + * Immutability Settings at vault level + */ + export interface ImmutabilitySettingsResponse { + /** + * Immutability state + */ + state?: string; + } + + /** + * Inner Error + */ + export interface InnerErrorResponse { + /** + * Any Key value pairs that can be provided to the client for additional verbose information. + */ + additionalInfo?: {[key: string]: string}; + /** + * Unique code for this error + */ + code?: string; + /** + * Child Inner Error, to allow Nesting. + */ + embeddedInnerError?: outputs.dataprotection.v20230401preview.InnerErrorResponse; + } + + /** + * Parameters for Kubernetes Cluster Backup Datasource + */ + export interface KubernetesClusterBackupDatasourceParametersResponse { + /** + * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. + */ + excludedNamespaces?: string[]; + /** + * Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore. + */ + excludedResourceTypes?: string[]; + /** + * Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore. + */ + includeClusterScopeResources: boolean; + /** + * Gets or sets the include namespaces property. This property sets the namespaces to be included during restore. + */ + includedNamespaces?: string[]; + /** + * Gets or sets the include resource types property. This property sets the resource types to be included during restore. + */ + includedResourceTypes?: string[]; + /** + * Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. + */ + labelSelectors?: string[]; + /** + * Type of the specific object - used for deserializing + * Expected value is 'KubernetesClusterBackupDatasourceParameters'. + */ + objectType: "KubernetesClusterBackupDatasourceParameters"; + /** + * Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore. + */ + snapshotVolumes: boolean; + } + + /** + * Monitoring Settings + */ + export interface MonitoringSettingsResponse { + /** + * Settings for Azure Monitor based alerts + */ + azureMonitorAlertSettings?: outputs.dataprotection.v20230401preview.AzureMonitorAlertSettingsResponse; + } + + /** + * Policy Info in backupInstance + */ + export interface PolicyInfoResponse { + policyId: string; + /** + * Policy parameters for the backup instance + */ + policyParameters?: outputs.dataprotection.v20230401preview.PolicyParametersResponse; + policyVersion: string; + } + + /** + * Parameters in Policy + */ + export interface PolicyParametersResponse { + /** + * Gets or sets the Backup Data Source Parameters + */ + backupDatasourceParametersList?: (outputs.dataprotection.v20230401preview.BlobBackupDatasourceParametersResponse | outputs.dataprotection.v20230401preview.KubernetesClusterBackupDatasourceParametersResponse)[]; + /** + * Gets or sets the DataStore Parameters + */ + dataStoreParametersList?: outputs.dataprotection.v20230401preview.AzureOperationalStoreParametersResponse[]; + } + + /** + * Protection status details + */ + export interface ProtectionStatusDetailsResponse { + /** + * Specifies the protection status error of the resource + */ + errorDetails?: outputs.dataprotection.v20230401preview.UserFacingErrorResponse; + /** + * Specifies the protection status of the resource + */ + status?: string; + } + + /** + * VaultCritical Operation protected by a resource guard + */ + export interface ResourceGuardOperationDetailResponse { + defaultResourceRequest?: string; + vaultCriticalOperation?: string; + } + + /** + * This class contains all the details about a critical operation. + */ + export interface ResourceGuardOperationResponse { + /** + * Type of resource request. + */ + requestResourceType: string; + /** + * Name of the critical operation. + */ + vaultCriticalOperation: string; + } + + /** + * ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + */ + export interface ResourceGuardProxyBaseResponse { + description?: string; + lastUpdatedTime?: string; + resourceGuardOperationDetails?: outputs.dataprotection.v20230401preview.ResourceGuardOperationDetailResponse[]; + resourceGuardResourceId?: string; + } + + export interface ResourceGuardResponse { + /** + * This flag indicates whether auto approval is allowed or not. + */ + allowAutoApprovals: boolean; + /** + * Description about the pre-req steps to perform all the critical operations. + */ + description: string; + /** + * Provisioning state of the BackupVault resource + */ + provisioningState: string; + /** + * {readonly} List of operation details those are protected by the ResourceGuard resource + */ + resourceGuardOperations: outputs.dataprotection.v20230401preview.ResourceGuardOperationResponse[]; + /** + * List of critical operations which are not protected by this resourceGuard + */ + vaultCriticalOperationExclusionList?: string[]; + } + + /** + * ResourceMoveDetails will be returned in response to GetResource call from ARM + */ + export interface ResourceMoveDetailsResponse { + /** + * Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + */ + completionTimeUtc?: string; + /** + * CorrelationId of latest ResourceMove operation attempted + */ + operationId?: string; + /** + * ARM resource path of source resource + */ + sourceResourcePath?: string; + /** + * Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + */ + startTimeUtc?: string; + /** + * ARM resource path of target resource used in latest ResourceMove operation + */ + targetResourcePath?: string; + } + + /** + * Retention tag + */ + export interface RetentionTagResponse { + /** + * Retention Tag version. + */ + eTag: string; + /** + * Retention Tag version. + */ + id: string; + /** + * Retention Tag Name to relate it to retention rule. + */ + tagName: string; + } + + /** + * Schedule based backup criteria + */ + export interface ScheduleBasedBackupCriteriaResponse { + /** + * it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + * and should be part of AbsoluteMarker enum + */ + absoluteCriteria?: string[]; + /** + * This is day of the month from 1 to 28 other wise last of month + */ + daysOfMonth?: outputs.dataprotection.v20230401preview.DayResponse[]; + /** + * It should be Sunday/Monday/T..../Saturday + */ + daysOfTheWeek?: string[]; + /** + * It should be January/February/....../December + */ + monthsOfYear?: string[]; + /** + * Type of the specific object - used for deserializing + * Expected value is 'ScheduleBasedBackupCriteria'. + */ + objectType: "ScheduleBasedBackupCriteria"; + /** + * List of schedule times for backup + */ + scheduleTimes?: string[]; + /** + * It should be First/Second/Third/Fourth/Last + */ + weeksOfTheMonth?: string[]; + } + + /** + * Schedule based trigger context + */ + export interface ScheduleBasedTriggerContextResponse { + /** + * Type of the specific object - used for deserializing + * Expected value is 'ScheduleBasedTriggerContext'. + */ + objectType: "ScheduleBasedTriggerContext"; + /** + * Schedule for this backup + */ + schedule: outputs.dataprotection.v20230401preview.BackupScheduleResponse; + /** + * List of tags that can be applicable for given schedule. + */ + taggingCriteria: outputs.dataprotection.v20230401preview.TaggingCriteriaResponse[]; + } + + /** + * Secret store based authentication credentials. + */ + export interface SecretStoreBasedAuthCredentialsResponse { + /** + * Type of the specific object - used for deserializing + * Expected value is 'SecretStoreBasedAuthCredentials'. + */ + objectType: "SecretStoreBasedAuthCredentials"; + /** + * Secret store resource + */ + secretStoreResource?: outputs.dataprotection.v20230401preview.SecretStoreResourceResponse; + } + + /** + * Class representing a secret store resource. + */ + export interface SecretStoreResourceResponse { + /** + * Gets or sets the type of secret store + */ + secretStoreType: string; + /** + * Uri to get to the resource + */ + uri?: string; + /** + * Gets or sets value stored in secret store resource + */ + value?: string; + } + + /** + * Class containing security settings of vault + */ + export interface SecuritySettingsResponse { + /** + * Immutability Settings at vault level + */ + immutabilitySettings?: outputs.dataprotection.v20230401preview.ImmutabilitySettingsResponse; + /** + * Soft delete related settings + */ + softDeleteSettings?: outputs.dataprotection.v20230401preview.SoftDeleteSettingsResponse; + } + + /** + * Soft delete related settings + */ + export interface SoftDeleteSettingsResponse { + /** + * Soft delete retention duration + */ + retentionDurationInDays?: number; + /** + * State of soft delete + */ + state?: string; + } + + /** + * Source LifeCycle + */ + export interface SourceLifeCycleResponse { + /** + * Delete Option + */ + deleteAfter: outputs.dataprotection.v20230401preview.AbsoluteDeleteOptionResponse; + /** + * DataStoreInfo base + */ + sourceDataStore: outputs.dataprotection.v20230401preview.DataStoreInfoBaseResponse; + targetDataStoreCopySettings?: outputs.dataprotection.v20230401preview.TargetCopySettingResponse[]; + } + + /** + * Storage setting + */ + export interface StorageSettingResponse { + /** + * Gets or sets the type of the datastore. + */ + datastoreType?: string; + /** + * Gets or sets the type. + */ + type?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Tagging criteria + */ + export interface TaggingCriteriaResponse { + /** + * Criteria which decides whether the tag can be applied to a triggered backup. + */ + criteria?: outputs.dataprotection.v20230401preview.ScheduleBasedBackupCriteriaResponse[]; /** * Specifies if tag is default. */ @@ -200912,7 +206910,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo: outputs.dataprotection.v20230101.RetentionTagResponse; + tagInfo: outputs.dataprotection.v20230401preview.RetentionTagResponse; /** * Retention Tag priority. */ @@ -200926,11 +206924,25 @@ export namespace dataprotection { /** * It can be CustomCopyOption or ImmediateCopyOption. */ - copyAfter: outputs.dataprotection.v20230101.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230101.CustomCopyOptionResponse | outputs.dataprotection.v20230101.ImmediateCopyOptionResponse; + copyAfter: outputs.dataprotection.v20230401preview.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230401preview.CustomCopyOptionResponse | outputs.dataprotection.v20230401preview.ImmediateCopyOptionResponse; /** * Info of target datastore */ - dataStore: outputs.dataprotection.v20230101.DataStoreInfoBaseResponse; + dataStore: outputs.dataprotection.v20230401preview.DataStoreInfoBaseResponse; + } + + /** + * User Assigned Identity Details + */ + export interface UserAssignedIdentityDetailsResponse { + /** + * The Client Id of the User Assigned Managed Identity. + */ + clientId: string; + /** + * The Object Id of the User Assigned Managed Identity. + */ + principalId: string; } /** @@ -200944,11 +206956,11 @@ export namespace dataprotection { /** * Additional related Errors */ - details?: outputs.dataprotection.v20230101.UserFacingErrorResponse[]; + details?: outputs.dataprotection.v20230401preview.UserFacingErrorResponse[]; /** * Inner Error */ - innerError?: outputs.dataprotection.v20230101.InnerErrorResponse; + innerError?: outputs.dataprotection.v20230401preview.InnerErrorResponse; /** * Whether the operation will be retryable or not */ @@ -200974,7 +206986,7 @@ export namespace dataprotection { } - export namespace v20230401preview { + export namespace v20230501 { /** * Delete option with duration */ @@ -200997,7 +207009,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo?: outputs.dataprotection.v20230401preview.RetentionTagResponse; + tagInfo?: outputs.dataprotection.v20230501.RetentionTagResponse; } /** @@ -201012,7 +207024,7 @@ export namespace dataprotection { /** * Tagging Criteria containing retention tag for adhoc backup. */ - taggingCriteria: outputs.dataprotection.v20230401preview.AdhocBasedTaggingCriteriaResponse; + taggingCriteria: outputs.dataprotection.v20230501.AdhocBasedTaggingCriteriaResponse; } /** @@ -201037,11 +207049,11 @@ export namespace dataprotection { /** * BackupParameters base */ - backupParameters?: outputs.dataprotection.v20230401preview.AzureBackupParamsResponse; + backupParameters?: outputs.dataprotection.v20230501.AzureBackupParamsResponse; /** * DataStoreInfo base */ - dataStore: outputs.dataprotection.v20230401preview.DataStoreInfoBaseResponse; + dataStore: outputs.dataprotection.v20230501.DataStoreInfoBaseResponse; name: string; /** * @@ -201051,7 +207063,7 @@ export namespace dataprotection { /** * Trigger context */ - trigger: outputs.dataprotection.v20230401preview.AdhocBasedTriggerContextResponse | outputs.dataprotection.v20230401preview.ScheduleBasedTriggerContextResponse; + trigger: outputs.dataprotection.v20230501.AdhocBasedTriggerContextResponse | outputs.dataprotection.v20230501.ScheduleBasedTriggerContextResponse; } /** @@ -201085,7 +207097,7 @@ export namespace dataprotection { */ export interface AzureRetentionRuleResponse { isDefault?: boolean; - lifecycles: outputs.dataprotection.v20230401preview.SourceLifeCycleResponse[]; + lifecycles: outputs.dataprotection.v20230501.SourceLifeCycleResponse[]; name: string; /** * @@ -201105,15 +207117,15 @@ export namespace dataprotection { /** * Gets or sets the data source information. */ - dataSourceInfo: outputs.dataprotection.v20230401preview.DatasourceResponse; + dataSourceInfo: outputs.dataprotection.v20230501.DatasourceResponse; /** * Gets or sets the data source set information. */ - dataSourceSetInfo?: outputs.dataprotection.v20230401preview.DatasourceSetResponse; + dataSourceSetInfo?: outputs.dataprotection.v20230501.DatasourceSetResponse; /** * Credentials to use to authenticate with data source provider. */ - datasourceAuthCredentials?: outputs.dataprotection.v20230401preview.SecretStoreBasedAuthCredentialsResponse; + datasourceAuthCredentials?: outputs.dataprotection.v20230501.SecretStoreBasedAuthCredentialsResponse; /** * Gets or sets the Backup Instance friendly name. */ @@ -201122,20 +207134,20 @@ export namespace dataprotection { * Contains information of the Identity Details for the BI. * If it is null, default will be considered as System Assigned. */ - identityDetails?: outputs.dataprotection.v20230401preview.IdentityDetailsResponse; + identityDetails?: outputs.dataprotection.v20230501.IdentityDetailsResponse; objectType: string; /** * Gets or sets the policy information. */ - policyInfo: outputs.dataprotection.v20230401preview.PolicyInfoResponse; + policyInfo: outputs.dataprotection.v20230501.PolicyInfoResponse; /** * Specifies the protection error of the resource */ - protectionErrorDetails: outputs.dataprotection.v20230401preview.UserFacingErrorResponse; + protectionErrorDetails: outputs.dataprotection.v20230501.UserFacingErrorResponse; /** * Specifies the protection status of the resource */ - protectionStatus: outputs.dataprotection.v20230401preview.ProtectionStatusDetailsResponse; + protectionStatus: outputs.dataprotection.v20230501.ProtectionStatusDetailsResponse; /** * Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed */ @@ -201162,7 +207174,7 @@ export namespace dataprotection { /** * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc */ - policyRules: (outputs.dataprotection.v20230401preview.AzureBackupRuleResponse | outputs.dataprotection.v20230401preview.AzureRetentionRuleResponse)[]; + policyRules: (outputs.dataprotection.v20230501.AzureBackupRuleResponse | outputs.dataprotection.v20230501.AzureRetentionRuleResponse)[]; } /** @@ -201186,7 +207198,7 @@ export namespace dataprotection { /** * Feature Settings */ - featureSettings?: outputs.dataprotection.v20230401preview.FeatureSettingsResponse; + featureSettings?: outputs.dataprotection.v20230501.FeatureSettingsResponse; /** * Is vault protected by resource guard */ @@ -201194,7 +207206,7 @@ export namespace dataprotection { /** * Monitoring Settings */ - monitoringSettings?: outputs.dataprotection.v20230401preview.MonitoringSettingsResponse; + monitoringSettings?: outputs.dataprotection.v20230501.MonitoringSettingsResponse; /** * Provisioning state of the BackupVault resource */ @@ -201202,7 +207214,7 @@ export namespace dataprotection { /** * Resource move details for backup vault */ - resourceMoveDetails: outputs.dataprotection.v20230401preview.ResourceMoveDetailsResponse; + resourceMoveDetails: outputs.dataprotection.v20230501.ResourceMoveDetailsResponse; /** * Resource move state for backup vault */ @@ -201214,11 +207226,11 @@ export namespace dataprotection { /** * Security Settings */ - securitySettings?: outputs.dataprotection.v20230401preview.SecuritySettingsResponse; + securitySettings?: outputs.dataprotection.v20230501.SecuritySettingsResponse; /** * Storage Settings */ - storageSettings: outputs.dataprotection.v20230401preview.StorageSettingResponse[]; + storageSettings: outputs.dataprotection.v20230501.StorageSettingResponse[]; } /** @@ -201317,6 +207329,10 @@ export namespace dataprotection { * Unique identifier of the resource in the context of parent. */ resourceName?: string; + /** + * Properties specific to data source + */ + resourceProperties?: outputs.dataprotection.v20230501.DefaultResourcePropertiesResponse; /** * Resource Type of Datasource. */ @@ -201351,6 +207367,10 @@ export namespace dataprotection { * Unique identifier of the resource in the context of parent. */ resourceName?: string; + /** + * Properties specific to data source set + */ + resourceProperties?: outputs.dataprotection.v20230501.DefaultResourcePropertiesResponse; /** * Resource Type of Datasource. */ @@ -201375,6 +207395,17 @@ export namespace dataprotection { isLast?: boolean; } + /** + * Default source properties + */ + export interface DefaultResourcePropertiesResponse { + /** + * Type of the specific object - used for deserializing + * Expected value is 'DefaultResourceProperties'. + */ + objectType: "DefaultResourceProperties"; + } + /** * Identity details */ @@ -201394,18 +207425,18 @@ export namespace dataprotection { /** * Gets or sets the user assigned identities. */ - userAssignedIdentities?: {[key: string]: outputs.dataprotection.v20230401preview.UserAssignedIdentityDetailsResponse}; + userAssignedIdentities?: {[key: string]: outputs.dataprotection.v20230501.UserAssignedIdentityResponse}; } /** * Class containing feature settings of vault */ export interface FeatureSettingsResponse { - crossRegionRestoreSettings?: outputs.dataprotection.v20230401preview.CrossRegionRestoreSettingsResponse; + crossRegionRestoreSettings?: outputs.dataprotection.v20230501.CrossRegionRestoreSettingsResponse; /** * CrossSubscriptionRestore Settings */ - crossSubscriptionRestoreSettings?: outputs.dataprotection.v20230401preview.CrossSubscriptionRestoreSettingsResponse; + crossSubscriptionRestoreSettings?: outputs.dataprotection.v20230501.CrossSubscriptionRestoreSettingsResponse; } export interface IdentityDetailsResponse { @@ -201455,7 +207486,7 @@ export namespace dataprotection { /** * Child Inner Error, to allow Nesting. */ - embeddedInnerError?: outputs.dataprotection.v20230401preview.InnerErrorResponse; + embeddedInnerError?: outputs.dataprotection.v20230501.InnerErrorResponse; } /** @@ -201463,27 +207494,31 @@ export namespace dataprotection { */ export interface KubernetesClusterBackupDatasourceParametersResponse { /** - * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. + * Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + */ + backupHookReferences?: outputs.dataprotection.v20230501.NamespacedNameResourceResponse[]; + /** + * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. */ excludedNamespaces?: string[]; /** - * Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore. + * Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. */ excludedResourceTypes?: string[]; /** - * Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore. + * Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. */ includeClusterScopeResources: boolean; /** - * Gets or sets the include namespaces property. This property sets the namespaces to be included during restore. + * Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. */ includedNamespaces?: string[]; /** - * Gets or sets the include resource types property. This property sets the resource types to be included during restore. + * Gets or sets the include resource types property. This property sets the resource types to be included during backup. */ includedResourceTypes?: string[]; /** - * Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. + * Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. */ labelSelectors?: string[]; /** @@ -201492,7 +207527,7 @@ export namespace dataprotection { */ objectType: "KubernetesClusterBackupDatasourceParameters"; /** - * Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore. + * Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. */ snapshotVolumes: boolean; } @@ -201504,7 +207539,21 @@ export namespace dataprotection { /** * Settings for Azure Monitor based alerts */ - azureMonitorAlertSettings?: outputs.dataprotection.v20230401preview.AzureMonitorAlertSettingsResponse; + azureMonitorAlertSettings?: outputs.dataprotection.v20230501.AzureMonitorAlertSettingsResponse; + } + + /** + * Class to refer resources which contains namespace and name + */ + export interface NamespacedNameResourceResponse { + /** + * Name of the resource + */ + name?: string; + /** + * Namespace in which the resource exists + */ + namespace?: string; } /** @@ -201515,7 +207564,7 @@ export namespace dataprotection { /** * Policy parameters for the backup instance */ - policyParameters?: outputs.dataprotection.v20230401preview.PolicyParametersResponse; + policyParameters?: outputs.dataprotection.v20230501.PolicyParametersResponse; policyVersion: string; } @@ -201526,11 +207575,11 @@ export namespace dataprotection { /** * Gets or sets the Backup Data Source Parameters */ - backupDatasourceParametersList?: (outputs.dataprotection.v20230401preview.BlobBackupDatasourceParametersResponse | outputs.dataprotection.v20230401preview.KubernetesClusterBackupDatasourceParametersResponse)[]; + backupDatasourceParametersList?: (outputs.dataprotection.v20230501.BlobBackupDatasourceParametersResponse | outputs.dataprotection.v20230501.KubernetesClusterBackupDatasourceParametersResponse)[]; /** * Gets or sets the DataStore Parameters */ - dataStoreParametersList?: outputs.dataprotection.v20230401preview.AzureOperationalStoreParametersResponse[]; + dataStoreParametersList?: outputs.dataprotection.v20230501.AzureOperationalStoreParametersResponse[]; } /** @@ -201540,7 +207589,7 @@ export namespace dataprotection { /** * Specifies the protection status error of the resource */ - errorDetails?: outputs.dataprotection.v20230401preview.UserFacingErrorResponse; + errorDetails?: outputs.dataprotection.v20230501.UserFacingErrorResponse; /** * Specifies the protection status of the resource */ @@ -201575,7 +207624,7 @@ export namespace dataprotection { export interface ResourceGuardProxyBaseResponse { description?: string; lastUpdatedTime?: string; - resourceGuardOperationDetails?: outputs.dataprotection.v20230401preview.ResourceGuardOperationDetailResponse[]; + resourceGuardOperationDetails?: outputs.dataprotection.v20230501.ResourceGuardOperationDetailResponse[]; resourceGuardResourceId?: string; } @@ -201595,7 +207644,7 @@ export namespace dataprotection { /** * {readonly} List of operation details those are protected by the ResourceGuard resource */ - resourceGuardOperations: outputs.dataprotection.v20230401preview.ResourceGuardOperationResponse[]; + resourceGuardOperations: outputs.dataprotection.v20230501.ResourceGuardOperationResponse[]; /** * List of critical operations which are not protected by this resourceGuard */ @@ -201658,7 +207707,7 @@ export namespace dataprotection { /** * This is day of the month from 1 to 28 other wise last of month */ - daysOfMonth?: outputs.dataprotection.v20230401preview.DayResponse[]; + daysOfMonth?: outputs.dataprotection.v20230501.DayResponse[]; /** * It should be Sunday/Monday/T..../Saturday */ @@ -201694,11 +207743,11 @@ export namespace dataprotection { /** * Schedule for this backup */ - schedule: outputs.dataprotection.v20230401preview.BackupScheduleResponse; + schedule: outputs.dataprotection.v20230501.BackupScheduleResponse; /** * List of tags that can be applicable for given schedule. */ - taggingCriteria: outputs.dataprotection.v20230401preview.TaggingCriteriaResponse[]; + taggingCriteria: outputs.dataprotection.v20230501.TaggingCriteriaResponse[]; } /** @@ -201713,7 +207762,7 @@ export namespace dataprotection { /** * Secret store resource */ - secretStoreResource?: outputs.dataprotection.v20230401preview.SecretStoreResourceResponse; + secretStoreResource?: outputs.dataprotection.v20230501.SecretStoreResourceResponse; } /** @@ -201741,11 +207790,11 @@ export namespace dataprotection { /** * Immutability Settings at vault level */ - immutabilitySettings?: outputs.dataprotection.v20230401preview.ImmutabilitySettingsResponse; + immutabilitySettings?: outputs.dataprotection.v20230501.ImmutabilitySettingsResponse; /** * Soft delete related settings */ - softDeleteSettings?: outputs.dataprotection.v20230401preview.SoftDeleteSettingsResponse; + softDeleteSettings?: outputs.dataprotection.v20230501.SoftDeleteSettingsResponse; } /** @@ -201769,12 +207818,12 @@ export namespace dataprotection { /** * Delete Option */ - deleteAfter: outputs.dataprotection.v20230401preview.AbsoluteDeleteOptionResponse; + deleteAfter: outputs.dataprotection.v20230501.AbsoluteDeleteOptionResponse; /** * DataStoreInfo base */ - sourceDataStore: outputs.dataprotection.v20230401preview.DataStoreInfoBaseResponse; - targetDataStoreCopySettings?: outputs.dataprotection.v20230401preview.TargetCopySettingResponse[]; + sourceDataStore: outputs.dataprotection.v20230501.DataStoreInfoBaseResponse; + targetDataStoreCopySettings?: outputs.dataprotection.v20230501.TargetCopySettingResponse[]; } /** @@ -201828,7 +207877,7 @@ export namespace dataprotection { /** * Criteria which decides whether the tag can be applied to a triggered backup. */ - criteria?: outputs.dataprotection.v20230401preview.ScheduleBasedBackupCriteriaResponse[]; + criteria?: outputs.dataprotection.v20230501.ScheduleBasedBackupCriteriaResponse[]; /** * Specifies if tag is default. */ @@ -201836,7 +207885,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo: outputs.dataprotection.v20230401preview.RetentionTagResponse; + tagInfo: outputs.dataprotection.v20230501.RetentionTagResponse; /** * Retention Tag priority. */ @@ -201850,23 +207899,23 @@ export namespace dataprotection { /** * It can be CustomCopyOption or ImmediateCopyOption. */ - copyAfter: outputs.dataprotection.v20230401preview.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230401preview.CustomCopyOptionResponse | outputs.dataprotection.v20230401preview.ImmediateCopyOptionResponse; + copyAfter: outputs.dataprotection.v20230501.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230501.CustomCopyOptionResponse | outputs.dataprotection.v20230501.ImmediateCopyOptionResponse; /** * Info of target datastore */ - dataStore: outputs.dataprotection.v20230401preview.DataStoreInfoBaseResponse; + dataStore: outputs.dataprotection.v20230501.DataStoreInfoBaseResponse; } /** - * User Assigned Identity Details + * User assigned identity properties */ - export interface UserAssignedIdentityDetailsResponse { + export interface UserAssignedIdentityResponse { /** - * The Client Id of the User Assigned Managed Identity. + * The client ID of the assigned identity. */ clientId: string; /** - * The Object Id of the User Assigned Managed Identity. + * The principal ID of the assigned identity. */ principalId: string; } @@ -201882,11 +207931,11 @@ export namespace dataprotection { /** * Additional related Errors */ - details?: outputs.dataprotection.v20230401preview.UserFacingErrorResponse[]; + details?: outputs.dataprotection.v20230501.UserFacingErrorResponse[]; /** * Inner Error */ - innerError?: outputs.dataprotection.v20230401preview.InnerErrorResponse; + innerError?: outputs.dataprotection.v20230501.InnerErrorResponse; /** * Whether the operation will be retryable or not */ @@ -201912,7 +207961,7 @@ export namespace dataprotection { } - export namespace v20230501 { + export namespace v20230601preview { /** * Delete option with duration */ @@ -201935,7 +207984,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo?: outputs.dataprotection.v20230501.RetentionTagResponse; + tagInfo?: outputs.dataprotection.v20230601preview.RetentionTagResponse; } /** @@ -201950,7 +207999,7 @@ export namespace dataprotection { /** * Tagging Criteria containing retention tag for adhoc backup. */ - taggingCriteria: outputs.dataprotection.v20230501.AdhocBasedTaggingCriteriaResponse; + taggingCriteria: outputs.dataprotection.v20230601preview.AdhocBasedTaggingCriteriaResponse; } /** @@ -201975,11 +208024,11 @@ export namespace dataprotection { /** * BackupParameters base */ - backupParameters?: outputs.dataprotection.v20230501.AzureBackupParamsResponse; + backupParameters?: outputs.dataprotection.v20230601preview.AzureBackupParamsResponse; /** * DataStoreInfo base */ - dataStore: outputs.dataprotection.v20230501.DataStoreInfoBaseResponse; + dataStore: outputs.dataprotection.v20230601preview.DataStoreInfoBaseResponse; name: string; /** * @@ -201989,7 +208038,7 @@ export namespace dataprotection { /** * Trigger context */ - trigger: outputs.dataprotection.v20230501.AdhocBasedTriggerContextResponse | outputs.dataprotection.v20230501.ScheduleBasedTriggerContextResponse; + trigger: outputs.dataprotection.v20230601preview.AdhocBasedTriggerContextResponse | outputs.dataprotection.v20230601preview.ScheduleBasedTriggerContextResponse; } /** @@ -202023,7 +208072,7 @@ export namespace dataprotection { */ export interface AzureRetentionRuleResponse { isDefault?: boolean; - lifecycles: outputs.dataprotection.v20230501.SourceLifeCycleResponse[]; + lifecycles: outputs.dataprotection.v20230601preview.SourceLifeCycleResponse[]; name: string; /** * @@ -202043,15 +208092,15 @@ export namespace dataprotection { /** * Gets or sets the data source information. */ - dataSourceInfo: outputs.dataprotection.v20230501.DatasourceResponse; + dataSourceInfo: outputs.dataprotection.v20230601preview.DatasourceResponse; /** * Gets or sets the data source set information. */ - dataSourceSetInfo?: outputs.dataprotection.v20230501.DatasourceSetResponse; + dataSourceSetInfo?: outputs.dataprotection.v20230601preview.DatasourceSetResponse; /** * Credentials to use to authenticate with data source provider. */ - datasourceAuthCredentials?: outputs.dataprotection.v20230501.SecretStoreBasedAuthCredentialsResponse; + datasourceAuthCredentials?: outputs.dataprotection.v20230601preview.SecretStoreBasedAuthCredentialsResponse; /** * Gets or sets the Backup Instance friendly name. */ @@ -202060,20 +208109,20 @@ export namespace dataprotection { * Contains information of the Identity Details for the BI. * If it is null, default will be considered as System Assigned. */ - identityDetails?: outputs.dataprotection.v20230501.IdentityDetailsResponse; + identityDetails?: outputs.dataprotection.v20230601preview.IdentityDetailsResponse; objectType: string; /** * Gets or sets the policy information. */ - policyInfo: outputs.dataprotection.v20230501.PolicyInfoResponse; + policyInfo: outputs.dataprotection.v20230601preview.PolicyInfoResponse; /** * Specifies the protection error of the resource */ - protectionErrorDetails: outputs.dataprotection.v20230501.UserFacingErrorResponse; + protectionErrorDetails: outputs.dataprotection.v20230601preview.UserFacingErrorResponse; /** * Specifies the protection status of the resource */ - protectionStatus: outputs.dataprotection.v20230501.ProtectionStatusDetailsResponse; + protectionStatus: outputs.dataprotection.v20230601preview.ProtectionStatusDetailsResponse; /** * Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed */ @@ -202100,7 +208149,7 @@ export namespace dataprotection { /** * Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc */ - policyRules: (outputs.dataprotection.v20230501.AzureBackupRuleResponse | outputs.dataprotection.v20230501.AzureRetentionRuleResponse)[]; + policyRules: (outputs.dataprotection.v20230601preview.AzureBackupRuleResponse | outputs.dataprotection.v20230601preview.AzureRetentionRuleResponse)[]; } /** @@ -202124,7 +208173,7 @@ export namespace dataprotection { /** * Feature Settings */ - featureSettings?: outputs.dataprotection.v20230501.FeatureSettingsResponse; + featureSettings?: outputs.dataprotection.v20230601preview.FeatureSettingsResponse; /** * Is vault protected by resource guard */ @@ -202132,7 +208181,7 @@ export namespace dataprotection { /** * Monitoring Settings */ - monitoringSettings?: outputs.dataprotection.v20230501.MonitoringSettingsResponse; + monitoringSettings?: outputs.dataprotection.v20230601preview.MonitoringSettingsResponse; /** * Provisioning state of the BackupVault resource */ @@ -202140,7 +208189,7 @@ export namespace dataprotection { /** * Resource move details for backup vault */ - resourceMoveDetails: outputs.dataprotection.v20230501.ResourceMoveDetailsResponse; + resourceMoveDetails: outputs.dataprotection.v20230601preview.ResourceMoveDetailsResponse; /** * Resource move state for backup vault */ @@ -202152,11 +208201,11 @@ export namespace dataprotection { /** * Security Settings */ - securitySettings?: outputs.dataprotection.v20230501.SecuritySettingsResponse; + securitySettings?: outputs.dataprotection.v20230601preview.SecuritySettingsResponse; /** * Storage Settings */ - storageSettings: outputs.dataprotection.v20230501.StorageSettingResponse[]; + storageSettings: outputs.dataprotection.v20230601preview.StorageSettingResponse[]; } /** @@ -202174,6 +208223,30 @@ export namespace dataprotection { objectType: "BlobBackupDatasourceParameters"; } + /** + * The details of the managed identity used for CMK + */ + export interface CmkKekIdentityResponse { + /** + * The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + */ + identityId?: string; + /** + * The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + */ + identityType?: string; + } + + /** + * The properties of the Key Vault which hosts CMK + */ + export interface CmkKeyVaultPropertiesResponse { + /** + * The key uri of the Customer Managed Key + */ + keyUri?: string; + } + /** * Copy on Expiry Option */ @@ -202258,7 +208331,7 @@ export namespace dataprotection { /** * Properties specific to data source */ - resourceProperties?: outputs.dataprotection.v20230501.DefaultResourcePropertiesResponse; + resourceProperties?: outputs.dataprotection.v20230601preview.DefaultResourcePropertiesResponse; /** * Resource Type of Datasource. */ @@ -202296,7 +208369,7 @@ export namespace dataprotection { /** * Properties specific to data source set */ - resourceProperties?: outputs.dataprotection.v20230501.DefaultResourcePropertiesResponse; + resourceProperties?: outputs.dataprotection.v20230601preview.DefaultResourcePropertiesResponse; /** * Resource Type of Datasource. */ @@ -202351,18 +208424,40 @@ export namespace dataprotection { /** * Gets or sets the user assigned identities. */ - userAssignedIdentities?: {[key: string]: outputs.dataprotection.v20230501.UserAssignedIdentityResponse}; + userAssignedIdentities?: {[key: string]: outputs.dataprotection.v20230601preview.UserAssignedIdentityResponse}; + } + + /** + * Customer Managed Key details of the resource. + */ + export interface EncryptionSettingsResponse { + /** + * Enabling/Disabling the Double Encryption state + */ + infrastructureEncryption?: string; + /** + * The details of the managed identity used for CMK + */ + kekIdentity?: outputs.dataprotection.v20230601preview.CmkKekIdentityResponse; + /** + * The properties of the Key Vault which hosts CMK + */ + keyVaultProperties?: outputs.dataprotection.v20230601preview.CmkKeyVaultPropertiesResponse; + /** + * Encryption state of the Backup Vault. + */ + state?: string; } /** * Class containing feature settings of vault */ export interface FeatureSettingsResponse { - crossRegionRestoreSettings?: outputs.dataprotection.v20230501.CrossRegionRestoreSettingsResponse; + crossRegionRestoreSettings?: outputs.dataprotection.v20230601preview.CrossRegionRestoreSettingsResponse; /** * CrossSubscriptionRestore Settings */ - crossSubscriptionRestoreSettings?: outputs.dataprotection.v20230501.CrossSubscriptionRestoreSettingsResponse; + crossSubscriptionRestoreSettings?: outputs.dataprotection.v20230601preview.CrossSubscriptionRestoreSettingsResponse; } export interface IdentityDetailsResponse { @@ -202412,7 +208507,7 @@ export namespace dataprotection { /** * Child Inner Error, to allow Nesting. */ - embeddedInnerError?: outputs.dataprotection.v20230501.InnerErrorResponse; + embeddedInnerError?: outputs.dataprotection.v20230601preview.InnerErrorResponse; } /** @@ -202422,7 +208517,7 @@ export namespace dataprotection { /** * Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. */ - backupHookReferences?: outputs.dataprotection.v20230501.NamespacedNameResourceResponse[]; + backupHookReferences?: outputs.dataprotection.v20230601preview.NamespacedNameResourceResponse[]; /** * Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. */ @@ -202465,7 +208560,7 @@ export namespace dataprotection { /** * Settings for Azure Monitor based alerts */ - azureMonitorAlertSettings?: outputs.dataprotection.v20230501.AzureMonitorAlertSettingsResponse; + azureMonitorAlertSettings?: outputs.dataprotection.v20230601preview.AzureMonitorAlertSettingsResponse; } /** @@ -202490,7 +208585,7 @@ export namespace dataprotection { /** * Policy parameters for the backup instance */ - policyParameters?: outputs.dataprotection.v20230501.PolicyParametersResponse; + policyParameters?: outputs.dataprotection.v20230601preview.PolicyParametersResponse; policyVersion: string; } @@ -202501,11 +208596,11 @@ export namespace dataprotection { /** * Gets or sets the Backup Data Source Parameters */ - backupDatasourceParametersList?: (outputs.dataprotection.v20230501.BlobBackupDatasourceParametersResponse | outputs.dataprotection.v20230501.KubernetesClusterBackupDatasourceParametersResponse)[]; + backupDatasourceParametersList?: (outputs.dataprotection.v20230601preview.BlobBackupDatasourceParametersResponse | outputs.dataprotection.v20230601preview.KubernetesClusterBackupDatasourceParametersResponse)[]; /** * Gets or sets the DataStore Parameters */ - dataStoreParametersList?: outputs.dataprotection.v20230501.AzureOperationalStoreParametersResponse[]; + dataStoreParametersList?: outputs.dataprotection.v20230601preview.AzureOperationalStoreParametersResponse[]; } /** @@ -202515,7 +208610,7 @@ export namespace dataprotection { /** * Specifies the protection status error of the resource */ - errorDetails?: outputs.dataprotection.v20230501.UserFacingErrorResponse; + errorDetails?: outputs.dataprotection.v20230601preview.UserFacingErrorResponse; /** * Specifies the protection status of the resource */ @@ -202550,7 +208645,7 @@ export namespace dataprotection { export interface ResourceGuardProxyBaseResponse { description?: string; lastUpdatedTime?: string; - resourceGuardOperationDetails?: outputs.dataprotection.v20230501.ResourceGuardOperationDetailResponse[]; + resourceGuardOperationDetails?: outputs.dataprotection.v20230601preview.ResourceGuardOperationDetailResponse[]; resourceGuardResourceId?: string; } @@ -202570,7 +208665,7 @@ export namespace dataprotection { /** * {readonly} List of operation details those are protected by the ResourceGuard resource */ - resourceGuardOperations: outputs.dataprotection.v20230501.ResourceGuardOperationResponse[]; + resourceGuardOperations: outputs.dataprotection.v20230601preview.ResourceGuardOperationResponse[]; /** * List of critical operations which are not protected by this resourceGuard */ @@ -202633,7 +208728,7 @@ export namespace dataprotection { /** * This is day of the month from 1 to 28 other wise last of month */ - daysOfMonth?: outputs.dataprotection.v20230501.DayResponse[]; + daysOfMonth?: outputs.dataprotection.v20230601preview.DayResponse[]; /** * It should be Sunday/Monday/T..../Saturday */ @@ -202669,11 +208764,11 @@ export namespace dataprotection { /** * Schedule for this backup */ - schedule: outputs.dataprotection.v20230501.BackupScheduleResponse; + schedule: outputs.dataprotection.v20230601preview.BackupScheduleResponse; /** * List of tags that can be applicable for given schedule. */ - taggingCriteria: outputs.dataprotection.v20230501.TaggingCriteriaResponse[]; + taggingCriteria: outputs.dataprotection.v20230601preview.TaggingCriteriaResponse[]; } /** @@ -202688,7 +208783,7 @@ export namespace dataprotection { /** * Secret store resource */ - secretStoreResource?: outputs.dataprotection.v20230501.SecretStoreResourceResponse; + secretStoreResource?: outputs.dataprotection.v20230601preview.SecretStoreResourceResponse; } /** @@ -202713,14 +208808,18 @@ export namespace dataprotection { * Class containing security settings of vault */ export interface SecuritySettingsResponse { + /** + * Customer Managed Key details of the resource. + */ + encryptionSettings?: outputs.dataprotection.v20230601preview.EncryptionSettingsResponse; /** * Immutability Settings at vault level */ - immutabilitySettings?: outputs.dataprotection.v20230501.ImmutabilitySettingsResponse; + immutabilitySettings?: outputs.dataprotection.v20230601preview.ImmutabilitySettingsResponse; /** * Soft delete related settings */ - softDeleteSettings?: outputs.dataprotection.v20230501.SoftDeleteSettingsResponse; + softDeleteSettings?: outputs.dataprotection.v20230601preview.SoftDeleteSettingsResponse; } /** @@ -202744,12 +208843,12 @@ export namespace dataprotection { /** * Delete Option */ - deleteAfter: outputs.dataprotection.v20230501.AbsoluteDeleteOptionResponse; + deleteAfter: outputs.dataprotection.v20230601preview.AbsoluteDeleteOptionResponse; /** * DataStoreInfo base */ - sourceDataStore: outputs.dataprotection.v20230501.DataStoreInfoBaseResponse; - targetDataStoreCopySettings?: outputs.dataprotection.v20230501.TargetCopySettingResponse[]; + sourceDataStore: outputs.dataprotection.v20230601preview.DataStoreInfoBaseResponse; + targetDataStoreCopySettings?: outputs.dataprotection.v20230601preview.TargetCopySettingResponse[]; } /** @@ -202803,7 +208902,7 @@ export namespace dataprotection { /** * Criteria which decides whether the tag can be applied to a triggered backup. */ - criteria?: outputs.dataprotection.v20230501.ScheduleBasedBackupCriteriaResponse[]; + criteria?: outputs.dataprotection.v20230601preview.ScheduleBasedBackupCriteriaResponse[]; /** * Specifies if tag is default. */ @@ -202811,7 +208910,7 @@ export namespace dataprotection { /** * Retention tag information */ - tagInfo: outputs.dataprotection.v20230501.RetentionTagResponse; + tagInfo: outputs.dataprotection.v20230601preview.RetentionTagResponse; /** * Retention Tag priority. */ @@ -202825,11 +208924,11 @@ export namespace dataprotection { /** * It can be CustomCopyOption or ImmediateCopyOption. */ - copyAfter: outputs.dataprotection.v20230501.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230501.CustomCopyOptionResponse | outputs.dataprotection.v20230501.ImmediateCopyOptionResponse; + copyAfter: outputs.dataprotection.v20230601preview.CopyOnExpiryOptionResponse | outputs.dataprotection.v20230601preview.CustomCopyOptionResponse | outputs.dataprotection.v20230601preview.ImmediateCopyOptionResponse; /** * Info of target datastore */ - dataStore: outputs.dataprotection.v20230501.DataStoreInfoBaseResponse; + dataStore: outputs.dataprotection.v20230601preview.DataStoreInfoBaseResponse; } /** @@ -202857,11 +208956,11 @@ export namespace dataprotection { /** * Additional related Errors */ - details?: outputs.dataprotection.v20230501.UserFacingErrorResponse[]; + details?: outputs.dataprotection.v20230601preview.UserFacingErrorResponse[]; /** * Inner Error */ - innerError?: outputs.dataprotection.v20230501.InnerErrorResponse; + innerError?: outputs.dataprotection.v20230601preview.InnerErrorResponse; /** * Whether the operation will be retryable or not */ @@ -208279,20 +214378,339 @@ export namespace dbformysql { status?: string; } - /** - * Billing information related properties of a server. - */ - export interface SkuResponse { - /** - * The name of the sku, e.g. Standard_D32s_v3. - */ - name: string; - /** - * The tier of the particular SKU, e.g. GeneralPurpose. - */ - tier: string; - } - + /** + * Billing information related properties of a server. + */ + export interface SkuResponse { + /** + * The name of the sku, e.g. Standard_D32s_v3. + */ + name: string; + /** + * The tier of the particular SKU, e.g. GeneralPurpose. + */ + tier: string; + } + + /** + * Storage Profile properties of a server + */ + export interface StorageResponse { + /** + * Enable Storage Auto Grow or not. + */ + autoGrow?: string; + /** + * Enable IO Auto Scaling or not. + */ + autoIoScaling?: string; + /** + * Storage IOPS for a server. + */ + iops?: number; + /** + * Enable Log On Disk or not. + */ + logOnDisk?: string; + /** + * Max storage size allowed for a server. + */ + storageSizeGB?: number; + /** + * The sku name of the server storage. + */ + storageSku: string; + } + /** + * storageResponseProvideDefaults sets the appropriate defaults for StorageResponse + */ + export function storageResponseProvideDefaults(val: StorageResponse): StorageResponse { + return { + ...val, + autoGrow: (val.autoGrow) ?? "Disabled", + autoIoScaling: (val.autoIoScaling) ?? "Disabled", + logOnDisk: (val.logOnDisk) ?? "Disabled", + }; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Metadata of user assigned identity. + */ + export interface UserAssignedIdentityResponse { + /** + * Client Id of user assigned identity + */ + clientId: string; + /** + * Principal Id of user assigned identity + */ + principalId: string; + } + + } + + export namespace v20230601preview { + /** + * Storage Profile properties of a server + */ + export interface BackupResponse { + /** + * Backup retention days for the server. + */ + backupRetentionDays?: number; + /** + * Earliest restore point creation time (ISO8601 format) + */ + earliestRestoreDate: string; + /** + * Whether or not geo redundant backup is enabled. + */ + geoRedundantBackup?: string; + } + /** + * backupResponseProvideDefaults sets the appropriate defaults for BackupResponse + */ + export function backupResponseProvideDefaults(val: BackupResponse): BackupResponse { + return { + ...val, + geoRedundantBackup: (val.geoRedundantBackup) ?? "Disabled", + }; + } + + /** + * The date encryption for cmk. + */ + export interface DataEncryptionResponse { + /** + * Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + */ + geoBackupKeyURI?: string; + /** + * Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + */ + geoBackupUserAssignedIdentityId?: string; + /** + * Primary key uri + */ + primaryKeyURI?: string; + /** + * Primary user identity resource id + */ + primaryUserAssignedIdentityId?: string; + /** + * The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + */ + type?: string; + } + + /** + * Network related properties of a server + */ + export interface HighAvailabilityResponse { + /** + * High availability mode for a server. + */ + mode?: string; + /** + * Availability zone of the standby server. + */ + standbyAvailabilityZone?: string; + /** + * The state of server high availability. + */ + state: string; + } + + /** + * Import source related properties. + */ + export interface ImportSourcePropertiesResponse { + /** + * Relative path of data directory in storage. + */ + dataDirPath?: string; + /** + * Storage type of import source. + */ + storageType?: string; + /** + * Uri of the import source storage. + */ + storageUrl?: string; + } + + /** + * Maintenance window of a server. + */ + export interface MaintenanceWindowResponse { + /** + * indicates whether custom window is enabled or disabled + */ + customWindow?: string; + /** + * day of week for maintenance window + */ + dayOfWeek?: number; + /** + * start hour for maintenance window + */ + startHour?: number; + /** + * start minute for maintenance window + */ + startMinute?: number; + } + + /** + * Properties to configure Identity for Bring your Own Keys + */ + export interface MySQLServerIdentityResponse { + /** + * ObjectId from the KeyVault + */ + principalId: string; + /** + * TenantId from the KeyVault + */ + tenantId: string; + /** + * Type of managed service identity. + */ + type?: string; + /** + * Metadata of user assigned identity. + */ + userAssignedIdentities?: {[key: string]: outputs.dbformysql.v20230601preview.UserAssignedIdentityResponse[]}; + } + + /** + * Billing information related properties of a server. + */ + export interface MySQLServerSkuResponse { + /** + * The name of the sku, e.g. Standard_D32s_v3. + */ + name: string; + /** + * The tier of the particular SKU, e.g. GeneralPurpose. + */ + tier: string; + } + + /** + * Network related properties of a server + */ + export interface NetworkResponse { + /** + * Delegated subnet resource id used to setup vnet for a server. + */ + delegatedSubnetResourceId?: string; + /** + * Private DNS zone resource id. + */ + privateDnsZoneResourceId?: string; + /** + * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + */ + publicNetworkAccess?: string; + } + + /** + * The private endpoint connection resource. + */ + export interface PrivateEndpointConnectionResponse { + /** + * The group ids for the private endpoint resource. + */ + groupIds: string[]; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * The private endpoint resource. + */ + privateEndpoint?: outputs.dbformysql.v20230601preview.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: outputs.dbformysql.v20230601preview.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + systemData: outputs.dbformysql.v20230601preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * The private endpoint resource. + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for private endpoint. + */ + id: string; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; + } + /** * Storage Profile properties of a server */ @@ -212485,75 +218903,275 @@ export namespace desktopvirtualization { } /** - * Properties for arm migration. - */ - export interface MigrationRequestPropertiesResponse { - /** - * The path to the legacy object to migrate. - */ - migrationPath?: string; - /** - * The type of operation for migration. - */ - operation?: string; - } - - /** - * The Private Endpoint Connection resource. + * Properties for arm migration. + */ + export interface MigrationRequestPropertiesResponse { + /** + * The path to the legacy object to migrate. + */ + migrationPath?: string; + /** + * The type of operation for migration. + */ + operation?: string; + } + + /** + * The Private Endpoint Connection resource. + */ + export interface PrivateEndpointConnectionResponse { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * The resource of private end point. + */ + privateEndpoint?: outputs.desktopvirtualization.v20220401preview.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: outputs.desktopvirtualization.v20220401preview.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + provisioningState: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * The Private Endpoint resource. + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for Private Endpoint + */ + id: string; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; + } + + /** + * Represents a RegistrationInfo definition. + */ + export interface RegistrationInfoResponse { + /** + * Expiration time of registration token. + */ + expirationTime?: string; + /** + * The type of resetting the token. + */ + registrationTokenOperation?: string; + /** + * The registration token base64 encoded string. + */ + token?: string; + } + + export interface ResourceModelWithAllowedPropertySetResponseIdentity { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The identity type. + */ + type?: string; + } + + export interface ResourceModelWithAllowedPropertySetResponsePlan { + /** + * A user defined name of the 3rd Party Artifact that is being procured. + */ + name: string; + /** + * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + */ + product: string; + /** + * A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + */ + promotionCode?: string; + /** + * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + */ + publisher: string; + /** + * The version of the desired product/artifact. + */ + version?: string; + } + + export interface ResourceModelWithAllowedPropertySetResponseSku { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: number; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: string; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: string; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: string; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + } + + export namespace v20220909 { + /** + * The session host configuration for updating agent, monitoring agent, and stack component. + */ + export interface AgentUpdatePropertiesResponse { + /** + * Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + */ + maintenanceWindowTimeZone?: string; + /** + * List of maintenance windows. Maintenance windows are 2 hours long. + */ + maintenanceWindows?: outputs.desktopvirtualization.v20220909.MaintenanceWindowPropertiesResponse[]; + /** + * The type of maintenance for session host components. + */ + type?: string; + /** + * Whether to use localTime of the virtual machine. + */ + useSessionHostLocalTime?: boolean; + } + + /** + * Maintenance window starting hour and day of week. + */ + export interface MaintenanceWindowPropertiesResponse { + /** + * Day of the week. + */ + dayOfWeek?: string; + /** + * The update start hour of the day. (0 - 23) + */ + hour?: number; + } + + /** + * Schema for MSIX Package Application properties. */ - export interface PrivateEndpointConnectionResponse { + export interface MsixPackageApplicationsResponse { /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * Package Application Id, found in appxmanifest.xml. */ - id: string; + appId?: string; /** - * The name of the resource + * Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. */ - name: string; + appUserModelID?: string; /** - * The resource of private end point. + * Description of Package Application. */ - privateEndpoint?: outputs.desktopvirtualization.v20220401preview.PrivateEndpointResponse; + description?: string; /** - * A collection of information about the state of the connection between service consumer and provider. + * User friendly name. */ - privateLinkServiceConnectionState: outputs.desktopvirtualization.v20220401preview.PrivateLinkServiceConnectionStateResponse; + friendlyName?: string; /** - * The provisioning state of the private endpoint connection resource. + * User friendly name. */ - provisioningState: string; + iconImageName?: string; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * the icon a 64 bit string as a byte array. */ - type: string; - } - - /** - * The Private Endpoint resource. - */ - export interface PrivateEndpointResponse { + rawIcon?: string; /** - * The ARM identifier for Private Endpoint + * the icon a 64 bit string as a byte array. */ - id: string; + rawPng?: string; } /** - * A collection of information about the state of the connection between service consumer and provider. + * Schema for MSIX Package Dependencies properties. */ - export interface PrivateLinkServiceConnectionStateResponse { + export interface MsixPackageDependenciesResponse { /** - * A message indicating if changes on the service provider require any updates on the consumer. + * Name of package dependency. */ - actionsRequired?: string; + dependencyName?: string; /** - * The reason for approval/rejection of the connection. + * Dependency version required. */ - description?: string; + minVersion?: string; /** - * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + * Name of dependency publisher. */ - status?: string; + publisher?: string; } /** @@ -212635,6 +219253,98 @@ export namespace desktopvirtualization { tier?: string; } + /** + * Scaling plan reference to hostpool. + */ + export interface ScalingHostPoolReferenceResponse { + /** + * Arm path of referenced hostpool. + */ + hostPoolArmPath?: string; + /** + * Is the scaling plan enabled for this hostpool. + */ + scalingPlanEnabled?: boolean; + } + + /** + * A ScalingPlanPooledSchedule. + */ + export interface ScalingScheduleResponse { + /** + * Set of days of the week on which this schedule is active. + */ + daysOfWeek?: string[]; + /** + * Name of the ScalingPlanPooledSchedule. + */ + name?: string; + /** + * Load balancing algorithm for off-peak period. + */ + offPeakLoadBalancingAlgorithm?: string; + /** + * Starting time for off-peak period. + */ + offPeakStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + /** + * Load balancing algorithm for peak period. + */ + peakLoadBalancingAlgorithm?: string; + /** + * Starting time for peak period. + */ + peakStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + /** + * Capacity threshold for ramp down period. + */ + rampDownCapacityThresholdPct?: number; + /** + * Should users be logged off forcefully from hosts. + */ + rampDownForceLogoffUsers?: boolean; + /** + * Load balancing algorithm for ramp down period. + */ + rampDownLoadBalancingAlgorithm?: string; + /** + * Minimum host percentage for ramp down period. + */ + rampDownMinimumHostsPct?: number; + /** + * Notification message for users during ramp down period. + */ + rampDownNotificationMessage?: string; + /** + * Starting time for ramp down period. + */ + rampDownStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + /** + * Specifies when to stop hosts during ramp down period. + */ + rampDownStopHostsWhen?: string; + /** + * Number of minutes to wait to stop hosts during ramp down period. + */ + rampDownWaitTimeMinutes?: number; + /** + * Capacity threshold for ramp up period. + */ + rampUpCapacityThresholdPct?: number; + /** + * Load balancing algorithm for ramp up period. + */ + rampUpLoadBalancingAlgorithm?: string; + /** + * Minimum host percentage for ramp up period. + */ + rampUpMinimumHostsPct?: number; + /** + * Starting time for ramp up period. + */ + rampUpStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + } + /** * Metadata pertaining to creation and last modification of the resource. */ @@ -212665,9 +219375,23 @@ export namespace desktopvirtualization { lastModifiedByType?: string; } + /** + * The time for a scaling action to occur. + */ + export interface TimeResponse { + /** + * The hour. + */ + hour: number; + /** + * The minute. + */ + minute: number; + } + } - export namespace v20220909 { + export namespace v20221014preview { /** * The session host configuration for updating agent, monitoring agent, and stack component. */ @@ -212679,7 +219403,7 @@ export namespace desktopvirtualization { /** * List of maintenance windows. Maintenance windows are 2 hours long. */ - maintenanceWindows?: outputs.desktopvirtualization.v20220909.MaintenanceWindowPropertiesResponse[]; + maintenanceWindows?: outputs.desktopvirtualization.v20221014preview.MaintenanceWindowPropertiesResponse[]; /** * The type of maintenance for session host components. */ @@ -212756,6 +219480,64 @@ export namespace desktopvirtualization { publisher?: string; } + /** + * The Private Endpoint Connection resource. + */ + export interface PrivateEndpointConnectionResponse { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * The resource of private end point. + */ + privateEndpoint?: outputs.desktopvirtualization.v20221014preview.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: outputs.desktopvirtualization.v20221014preview.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + provisioningState: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * The Private Endpoint resource. + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for Private Endpoint + */ + id: string; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; + } + /** * Represents a RegistrationInfo definition. */ @@ -212868,7 +219650,7 @@ export namespace desktopvirtualization { /** * Starting time for off-peak period. */ - offPeakStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + offPeakStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; /** * Load balancing algorithm for peak period. */ @@ -212876,7 +219658,7 @@ export namespace desktopvirtualization { /** * Starting time for peak period. */ - peakStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + peakStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; /** * Capacity threshold for ramp down period. */ @@ -212900,7 +219682,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp down period. */ - rampDownStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + rampDownStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; /** * Specifies when to stop hosts during ramp down period. */ @@ -212924,7 +219706,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp up period. */ - rampUpStartTime?: outputs.desktopvirtualization.v20220909.TimeResponse; + rampUpStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; } /** @@ -212973,7 +219755,7 @@ export namespace desktopvirtualization { } - export namespace v20221014preview { + export namespace v20230707preview { /** * The session host configuration for updating agent, monitoring agent, and stack component. */ @@ -212985,7 +219767,7 @@ export namespace desktopvirtualization { /** * List of maintenance windows. Maintenance windows are 2 hours long. */ - maintenanceWindows?: outputs.desktopvirtualization.v20221014preview.MaintenanceWindowPropertiesResponse[]; + maintenanceWindows?: outputs.desktopvirtualization.v20230707preview.MaintenanceWindowPropertiesResponse[]; /** * The type of maintenance for session host components. */ @@ -213077,11 +219859,11 @@ export namespace desktopvirtualization { /** * The resource of private end point. */ - privateEndpoint?: outputs.desktopvirtualization.v20221014preview.PrivateEndpointResponse; + privateEndpoint?: outputs.desktopvirtualization.v20230707preview.PrivateEndpointResponse; /** * A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: outputs.desktopvirtualization.v20221014preview.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState: outputs.desktopvirtualization.v20230707preview.PrivateLinkServiceConnectionStateResponse; /** * The provisioning state of the private endpoint connection resource. */ @@ -213232,7 +220014,7 @@ export namespace desktopvirtualization { /** * Starting time for off-peak period. */ - offPeakStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; + offPeakStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; /** * Load balancing algorithm for peak period. */ @@ -213240,7 +220022,7 @@ export namespace desktopvirtualization { /** * Starting time for peak period. */ - peakStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; + peakStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; /** * Capacity threshold for ramp down period. */ @@ -213264,7 +220046,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp down period. */ - rampDownStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; + rampDownStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; /** * Specifies when to stop hosts during ramp down period. */ @@ -213288,7 +220070,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp up period. */ - rampUpStartTime?: outputs.desktopvirtualization.v20221014preview.TimeResponse; + rampUpStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; } /** @@ -213337,7 +220119,7 @@ export namespace desktopvirtualization { } - export namespace v20230707preview { + export namespace v20230905 { /** * The session host configuration for updating agent, monitoring agent, and stack component. */ @@ -213349,7 +220131,7 @@ export namespace desktopvirtualization { /** * List of maintenance windows. Maintenance windows are 2 hours long. */ - maintenanceWindows?: outputs.desktopvirtualization.v20230707preview.MaintenanceWindowPropertiesResponse[]; + maintenanceWindows?: outputs.desktopvirtualization.v20230905.MaintenanceWindowPropertiesResponse[]; /** * The type of maintenance for session host components. */ @@ -213441,11 +220223,11 @@ export namespace desktopvirtualization { /** * The resource of private end point. */ - privateEndpoint?: outputs.desktopvirtualization.v20230707preview.PrivateEndpointResponse; + privateEndpoint?: outputs.desktopvirtualization.v20230905.PrivateEndpointResponse; /** * A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: outputs.desktopvirtualization.v20230707preview.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState: outputs.desktopvirtualization.v20230905.PrivateLinkServiceConnectionStateResponse; /** * The provisioning state of the private endpoint connection resource. */ @@ -213596,7 +220378,7 @@ export namespace desktopvirtualization { /** * Starting time for off-peak period. */ - offPeakStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; + offPeakStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; /** * Load balancing algorithm for peak period. */ @@ -213604,7 +220386,7 @@ export namespace desktopvirtualization { /** * Starting time for peak period. */ - peakStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; + peakStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; /** * Capacity threshold for ramp down period. */ @@ -213628,7 +220410,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp down period. */ - rampDownStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; + rampDownStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; /** * Specifies when to stop hosts during ramp down period. */ @@ -213652,7 +220434,7 @@ export namespace desktopvirtualization { /** * Starting time for ramp up period. */ - rampUpStartTime?: outputs.desktopvirtualization.v20230707preview.TimeResponse; + rampUpStartTime?: outputs.desktopvirtualization.v20230905.TimeResponse; } /** @@ -213703,6 +220485,48 @@ export namespace desktopvirtualization { } export namespace devcenter { + /** + * An individual conflict error. + */ + export interface CatalogConflictErrorResponse { + /** + * Name of the conflicting catalog item. + */ + name: string; + /** + * The path of the file that has a conflicting name. + */ + path: string; + } + + /** + * Catalog error details + */ + export interface CatalogErrorDetailsResponse { + /** + * An identifier for the error. + */ + code?: string; + /** + * A message describing the error. + */ + message?: string; + } + + /** + * An individual synchronization error. + */ + export interface CatalogSyncErrorResponse { + /** + * Errors associated with the file. + */ + errorDetails: outputs.devcenter.CatalogErrorDetailsResponse[]; + /** + * The path of the file the error is associated with. + */ + path: string; + } + /** * A role that can be assigned to a user. */ @@ -214212,6 +221036,324 @@ export namespace devcenter { } } + + export namespace v20230801preview { + /** + * An individual conflict error. + */ + export interface CatalogConflictErrorResponse { + /** + * Name of the conflicting catalog item. + */ + name: string; + /** + * The path of the file that has a conflicting name. + */ + path: string; + } + + /** + * Catalog error details + */ + export interface CatalogErrorDetailsResponse { + /** + * An identifier for the error. + */ + code?: string; + /** + * A message describing the error. + */ + message?: string; + } + + /** + * An individual synchronization error. + */ + export interface CatalogSyncErrorResponse { + /** + * Errors associated with the file. + */ + errorDetails: outputs.devcenter.v20230801preview.CatalogErrorDetailsResponse[]; + /** + * The path of the file the error is associated with. + */ + path: string; + } + + /** + * All Customer-managed key encryption properties for the resource. + */ + export interface CustomerManagedKeyEncryptionResponse { + /** + * All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + */ + keyEncryptionKeyIdentity?: outputs.devcenter.v20230801preview.CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity; + /** + * key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + */ + keyEncryptionKeyUrl?: string; + } + + /** + * All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + */ + export interface CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity { + /** + * delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + */ + delegatedIdentityClientId?: string; + /** + * Values can be systemAssignedIdentity or userAssignedIdentity + */ + identityType?: string; + /** + * user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + */ + userAssignedIdentityResourceId?: string; + } + + export interface EncryptionResponse { + /** + * All Customer-managed key encryption properties for the resource. + */ + customerManagedKeyEncryption?: outputs.devcenter.v20230801preview.CustomerManagedKeyEncryptionResponse; + } + + /** + * A role that can be assigned to a user. + */ + export interface EnvironmentRoleResponse { + /** + * This is a description of the Role Assignment. + */ + description: string; + /** + * The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'. + */ + roleName: string; + } + + /** + * Properties for a Git repository catalog. + */ + export interface GitCatalogResponse { + /** + * Git branch. + */ + branch?: string; + /** + * The folder where the catalog items can be found inside the repository. + */ + path?: string; + /** + * A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + */ + secretIdentifier?: string; + /** + * Git URI. + */ + uri?: string; + } + + /** + * Pool health status detail. + */ + export interface HealthStatusDetailResponse { + /** + * An identifier for the issue. + */ + code: string; + /** + * A message describing the issue, intended to be suitable for display in a user interface + */ + message: string; + } + + /** + * Image reference information + */ + export interface ImageReferenceResponse { + /** + * The actual version of the image after use. When id references a gallery image latest version, this will indicate the actual version in use. + */ + exactVersion: string; + /** + * Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + */ + id?: string; + } + + /** + * Image validation error details + */ + export interface ImageValidationErrorDetailsResponse { + /** + * An identifier for the error. + */ + code?: string; + /** + * A message describing the error. + */ + message?: string; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.devcenter.v20230801preview.UserAssignedIdentityResponse}; + } + + /** + * The role definition assigned to the environment creator on backing resources. + */ + export interface ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment { + /** + * A map of roles to assign to the environment creator. + */ + roles?: {[key: string]: outputs.devcenter.v20230801preview.EnvironmentRoleResponse}; + } + + /** + * The resource model definition representing SKU + */ + export interface SkuResponse { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: number; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: string; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: string; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: string; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: string; + } + + /** + * Stop on disconnect configuration settings for Dev Boxes created in this pool. + */ + export interface StopOnDisconnectConfigurationResponse { + /** + * The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + */ + gracePeriodMinutes?: number; + /** + * Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + */ + status?: string; + } + + /** + * Stats of the synchronization. + */ + export interface SyncStatsResponse { + /** + * Count of catalog items added during synchronization. + */ + added: number; + /** + * Count of catalog items removed during synchronization. + */ + removed: number; + /** + * Count of synchronization errors that occured during synchronization. + */ + synchronizationErrors: number; + /** + * Count of catalog items that were unchanged during synchronization. + */ + unchanged: number; + /** + * Count of catalog items updated during synchronization. + */ + updated: number; + /** + * Count of catalog items that had validation errors during synchronization. + */ + validationErrors: number; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * User assigned identity properties + */ + export interface UserAssignedIdentityResponse { + /** + * The client ID of the assigned identity. + */ + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + + /** + * Mapping of user object ID to role assignments. + */ + export interface UserRoleAssignmentResponse { + /** + * A map of roles to assign to the parent user. + */ + roles?: {[key: string]: outputs.devcenter.v20230801preview.EnvironmentRoleResponse}; + } + + } } export namespace devhub { @@ -224658,1034 +231800,3831 @@ export namespace documentdb { */ ts: number; /** - * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: outputs.documentdb.UniqueKeyPolicyResponse; + } + /** + * gremlinGraphGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for GremlinGraphGetPropertiesResponseResource + */ + export function gremlinGraphGetPropertiesResponseResourceProvideDefaults(val: GremlinGraphGetPropertiesResponseResource): GremlinGraphGetPropertiesResponseResource { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + }; + } + + /** + * The paths that are included in indexing + */ + export interface IncludedPathResponse { + /** + * List of indexes for this path + */ + indexes?: outputs.documentdb.IndexesResponse[]; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + } + + /** + * The indexes for the path. + */ + export interface IndexesResponse { + /** + * The datatype for which the indexing behavior is applied to. + */ + dataType?: string; + /** + * Indicates the type of index. + */ + kind?: string; + /** + * The precision of the index. -1 is maximum precision. + */ + precision?: number; + } + /** + * indexesResponseProvideDefaults sets the appropriate defaults for IndexesResponse + */ + export function indexesResponseProvideDefaults(val: IndexesResponse): IndexesResponse { + return { + ...val, + dataType: (val.dataType) ?? "String", + kind: (val.kind) ?? "Hash", + }; + } + + /** + * Cosmos DB indexing policy + */ + export interface IndexingPolicyResponse { + /** + * Indicates if the indexing policy is automatic + */ + automatic?: boolean; + /** + * List of composite path list + */ + compositeIndexes?: outputs.documentdb.CompositePathResponse[][]; + /** + * List of paths to exclude from indexing + */ + excludedPaths?: outputs.documentdb.ExcludedPathResponse[]; + /** + * List of paths to include in the indexing + */ + includedPaths?: outputs.documentdb.IncludedPathResponse[]; + /** + * Indicates the indexing mode. + */ + indexingMode?: string; + /** + * List of spatial specifics + */ + spatialIndexes?: outputs.documentdb.SpatialSpecResponse[]; + } + /** + * indexingPolicyResponseProvideDefaults sets the appropriate defaults for IndexingPolicyResponse + */ + export function indexingPolicyResponseProvideDefaults(val: IndexingPolicyResponse): IndexingPolicyResponse { + return { + ...val, + indexingMode: (val.indexingMode) ?? "consistent", + }; + } + + /** + * IpAddressOrRange object + */ + export interface IpAddressOrRangeResponse { + /** + * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + */ + ipAddressOrRange?: string; + } + + /** + * A region in which the Azure Cosmos DB database account is deployed. + */ + export interface LocationResponse { + /** + * The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + */ + documentEndpoint: string; + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: number; + /** + * The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + */ + id: string; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: boolean; + /** + * The name of the region. + */ + locationName?: string; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + provisioningState: string; + } + + /** + * Identity for the resource. + */ + export interface ManagedCassandraManagedServiceIdentityResponse { + /** + * The object id of the identity resource. + */ + principalId: string; + /** + * The tenant id of the resource. + */ + tenantId: string; + /** + * The type of the resource. + */ + type?: string; + } + + /** + * Identity for the resource. + */ + export interface ManagedServiceIdentityResponse { + /** + * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: string; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.documentdb.ManagedServiceIdentityResponseUserAssignedIdentities}; + } + + export interface ManagedServiceIdentityResponseUserAssignedIdentities { + /** + * The client id of user assigned identity. + */ + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } + + /** + * Resource for a regional service location. + */ + export interface MaterializedViewsBuilderRegionalServiceResourceResponse { + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * Describes the status of a service. + */ + status: string; + } + + /** + * Properties for MaterializedViewsBuilderServiceResource. + */ + export interface MaterializedViewsBuilderServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.MaterializedViewsBuilderRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'MaterializedViewsBuilder'. + */ + serviceType: "MaterializedViewsBuilder"; + /** + * Describes the status of a service. + */ + status: string; + } + + export interface MongoDBCollectionGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface MongoDBCollectionGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB MongoDB collection + */ + id: string; + /** + * List of index keys + */ + indexes?: outputs.documentdb.MongoIndexResponse[]; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A key-value pair of shard keys to be applied for the request. + */ + shardKey?: {[key: string]: string}; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface MongoDBDatabaseGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface MongoDBDatabaseGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB MongoDB database + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + /** + * Cosmos DB MongoDB collection resource object + */ + export interface MongoIndexKeysResponse { + /** + * List of keys for each MongoDB collection in the Azure Cosmos DB service + */ + keys?: string[]; + } + + /** + * Cosmos DB MongoDB collection index options + */ + export interface MongoIndexOptionsResponse { + /** + * Expire after seconds + */ + expireAfterSeconds?: number; + /** + * Is unique or not + */ + unique?: boolean; + } + + /** + * Cosmos DB MongoDB collection index key + */ + export interface MongoIndexResponse { + /** + * Cosmos DB MongoDB collection index keys + */ + key?: outputs.documentdb.MongoIndexKeysResponse; + /** + * Cosmos DB MongoDB collection index key options + */ + options?: outputs.documentdb.MongoIndexOptionsResponse; + } + + /** + * Specification for a node group. + */ + export interface NodeGroupSpecResponse { + /** + * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + */ + diskSizeGB?: number; + /** + * Whether high availability is enabled on the node group. + */ + enableHa?: boolean; + /** + * The node type deployed in the node group. + */ + kind?: string; + /** + * The number of nodes in the node group. + */ + nodeCount?: number; + /** + * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + */ + sku?: string; + } + + /** + * The object representing periodic mode backup policy. + */ + export interface PeriodicModeBackupPolicyResponse { + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: outputs.documentdb.BackupPolicyMigrationStateResponse; + /** + * Configuration values for periodic mode backup + */ + periodicModeProperties?: outputs.documentdb.PeriodicModePropertiesResponse; + /** + * Describes the mode of backups. + * Expected value is 'Periodic'. + */ + type: "Periodic"; + } + + /** + * Configuration values for periodic mode backup + */ + export interface PeriodicModePropertiesResponse { + /** + * An integer representing the interval in minutes between two backups + */ + backupIntervalInMinutes?: number; + /** + * An integer representing the time (in hours) that each backup is retained + */ + backupRetentionIntervalInHours?: number; + /** + * Enum to indicate type of backup residency + */ + backupStorageRedundancy?: string; + } + + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PermissionResponse { + /** + * An array of data actions that are allowed. + */ + dataActions?: string[]; + /** + * An array of data actions that are denied. + */ + notDataActions?: string[]; + } + + /** + * A private endpoint connection + */ + export interface PrivateEndpointConnectionResponse { + /** + * Group id of the private endpoint. + */ + groupId?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: outputs.documentdb.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: outputs.documentdb.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + provisioningState?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * Private endpoint which the connection belongs to. + */ + export interface PrivateEndpointPropertyResponse { + /** + * Resource id of the private endpoint. + */ + id?: string; + } + + /** + * Connection State of the Private Endpoint Connection. + */ + export interface PrivateLinkServiceConnectionStatePropertyResponse { + /** + * Any action that is required beyond basic workflow (approve/ reject/ disconnect) + */ + actionsRequired: string; + /** + * The private link service connection description. + */ + description?: string; + /** + * The private link service connection status. + */ + status?: string; + } + + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PrivilegeResponse { + /** + * An array of actions that are allowed. + */ + actions?: string[]; + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + resource?: outputs.documentdb.PrivilegeResponseResource; + } + + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + export interface PrivilegeResponseResource { + /** + * The collection name the role is applied. + */ + collection?: string; + /** + * The database name the role is applied. + */ + db?: string; + } + + /** + * Parameters to indicate the information about the restore. + */ + export interface RestoreParametersResponse { + /** + * List of specific databases available for restore. + */ + databasesToRestore?: outputs.documentdb.DatabaseRestoreResourceResponse[]; + /** + * List of specific gremlin databases available for restore. + */ + gremlinDatabasesToRestore?: outputs.documentdb.GremlinDatabaseRestoreResourceResponse[]; + /** + * Describes the mode of the restore. + */ + restoreMode?: string; + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: string; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: string; + /** + * List of specific tables available for restore. + */ + tablesToRestore?: string[]; + } + + /** + * The set of roles permitted through this Role Definition. + */ + export interface RoleResponse { + /** + * The database name the role is applied. + */ + db?: string; + /** + * The role name. + */ + role?: string; + } + + export interface SeedNodeResponse { + /** + * IP address of this seed node. + */ + ipAddress?: string; + } + + export interface SpatialSpecResponse { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + /** + * List of path's spatial type + */ + types?: string[]; + } + + export interface SqlContainerGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface SqlContainerGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * The client encryption policy for the container. + */ + clientEncryptionPolicy?: outputs.documentdb.ClientEncryptionPolicyResponse; + /** + * The conflict resolution policy for the container. + */ + conflictResolutionPolicy?: outputs.documentdb.ConflictResolutionPolicyResponse; + /** + * Default time to live + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL container + */ + id: string; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + */ + indexingPolicy?: outputs.documentdb.IndexingPolicyResponse; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: outputs.documentdb.ContainerPartitionKeyResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: outputs.documentdb.UniqueKeyPolicyResponse; + } + /** + * sqlContainerGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for SqlContainerGetPropertiesResponseResource + */ + export function sqlContainerGetPropertiesResponseResourceProvideDefaults(val: SqlContainerGetPropertiesResponseResource): SqlContainerGetPropertiesResponseResource { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + }; + } + + export interface SqlDatabaseGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface SqlDatabaseGetPropertiesResponseResource { + /** + * A system generated property that specified the addressable path of the collections resource. + */ + colls?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL database + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * A system generated property that specifies the addressable path of the users resource. + */ + users?: string; + } + + /** + * Resource for a regional service location. + */ + export interface SqlDedicatedGatewayRegionalServiceResourceResponse { + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * The regional endpoint for SqlDedicatedGateway. + */ + sqlDedicatedGatewayEndpoint: string; + /** + * Describes the status of a service. + */ + status: string; + } + + /** + * Properties for SqlDedicatedGatewayServiceResource. + */ + export interface SqlDedicatedGatewayServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.SqlDedicatedGatewayRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'SqlDedicatedGateway'. + */ + serviceType: "SqlDedicatedGateway"; + /** + * SqlDedicatedGateway endpoint for the service. + */ + sqlDedicatedGatewayEndpoint?: string; + /** + * Describes the status of a service. + */ + status: string; + } + + export interface SqlStoredProcedureGetPropertiesResponseResource { + /** + * Body of the Stored Procedure + */ + body?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL storedProcedure + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface SqlTriggerGetPropertiesResponseResource { + /** + * Body of the Trigger + */ + body?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL trigger + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * The operation the trigger is associated with + */ + triggerOperation?: string; + /** + * Type of the Trigger + */ + triggerType?: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface SqlUserDefinedFunctionGetPropertiesResponseResource { + /** + * Body of the User Defined Function + */ + body?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL userDefinedFunction + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + export interface TableGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface TableGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB table + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + export interface UniqueKeyPolicyResponse { + /** + * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: outputs.documentdb.UniqueKeyPolicyResponse; + uniqueKeys?: outputs.documentdb.UniqueKeyResponse[]; } + /** - * gremlinGraphGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for GremlinGraphGetPropertiesResponseResource + * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - export function gremlinGraphGetPropertiesResponseResourceProvideDefaults(val: GremlinGraphGetPropertiesResponseResource): GremlinGraphGetPropertiesResponseResource { - return { - ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), - indexingPolicy: (val.indexingPolicy ? outputs.documentdb.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), - partitionKey: (val.partitionKey ? outputs.documentdb.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), - }; + export interface UniqueKeyResponse { + /** + * List of paths must be unique for each document in the Azure Cosmos DB service + */ + paths?: string[]; } /** - * The paths that are included in indexing + * Virtual Network ACL Rule object */ - export interface IncludedPathResponse { + export interface VirtualNetworkRuleResponse { /** - * List of indexes for this path + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. */ - indexes?: outputs.documentdb.IndexesResponse[]; + id?: string; /** - * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + * Create firewall rule before the virtual network has vnet service endpoint enabled. */ - path?: string; + ignoreMissingVNetServiceEndpoint?: boolean; } - /** - * The indexes for the path. - */ - export interface IndexesResponse { + export namespace v20210401preview { + export interface ApiPropertiesResponse { + /** + * Describes the ServerVersion of an a MongoDB account. + */ + serverVersion?: string; + } + /** - * The datatype for which the indexing behavior is applied to. + * Cosmos DB capability object */ - dataType?: string; + export interface CapabilityResponse { + /** + * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + */ + name?: string; + } + /** - * Indicates the type of index. + * The consistency policy for the Cosmos DB database account. */ - kind?: string; + export interface ConsistencyPolicyResponse { + /** + * The default consistency level and configuration settings of the Cosmos DB account. + */ + defaultConsistencyLevel: string; + /** + * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxIntervalInSeconds?: number; + /** + * When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxStalenessPrefix?: number; + } + /** - * The precision of the index. -1 is maximum precision. + * The object representing continuous mode backup policy. */ - precision?: number; - } - /** - * indexesResponseProvideDefaults sets the appropriate defaults for IndexesResponse - */ - export function indexesResponseProvideDefaults(val: IndexesResponse): IndexesResponse { - return { - ...val, - dataType: (val.dataType) ?? "String", - kind: (val.kind) ?? "Hash", - }; - } + export interface ContinuousModeBackupPolicyResponse { + /** + * Describes the mode of backups. + * Expected value is 'Continuous'. + */ + type: "Continuous"; + } - /** - * Cosmos DB indexing policy - */ - export interface IndexingPolicyResponse { /** - * Indicates if the indexing policy is automatic + * The CORS policy for the Cosmos DB database account. */ - automatic?: boolean; + export interface CorsPolicyResponse { + /** + * The request headers that the origin domain may specify on the CORS request. + */ + allowedHeaders?: string; + /** + * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + */ + allowedMethods?: string; + /** + * The origin domains that are permitted to make a request against the service via CORS. + */ + allowedOrigins: string; + /** + * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + */ + exposedHeaders?: string; + /** + * The maximum amount time that a browser should cache the preflight OPTIONS request. + */ + maxAgeInSeconds?: number; + } + /** - * List of composite path list + * Connection string for the Cosmos DB account */ - compositeIndexes?: outputs.documentdb.CompositePathResponse[][]; + export interface DatabaseAccountConnectionStringResponse { + /** + * Value of the connection string + */ + connectionString: string; + /** + * Description of the connection string + */ + description: string; + } + /** - * List of paths to exclude from indexing + * Specific Databases to restore. */ - excludedPaths?: outputs.documentdb.ExcludedPathResponse[]; + export interface DatabaseRestoreResourceResponse { + /** + * The names of the collections available for restore. + */ + collectionNames?: string[]; + /** + * The name of the database available for restore. + */ + databaseName?: string; + } + /** - * List of paths to include in the indexing + * The failover policy for a given region of a database account. */ - includedPaths?: outputs.documentdb.IncludedPathResponse[]; + export interface FailoverPolicyResponse { + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: number; + /** + * The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + */ + id: string; + /** + * The name of the region in which the database account exists. + */ + locationName?: string; + } + /** - * Indicates the indexing mode. + * IpAddressOrRange object */ - indexingMode?: string; + export interface IpAddressOrRangeResponse { + /** + * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + */ + ipAddressOrRange?: string; + } + /** - * List of spatial specifics + * A region in which the Azure Cosmos DB database account is deployed. */ - spatialIndexes?: outputs.documentdb.SpatialSpecResponse[]; - } - /** - * indexingPolicyResponseProvideDefaults sets the appropriate defaults for IndexingPolicyResponse - */ - export function indexingPolicyResponseProvideDefaults(val: IndexingPolicyResponse): IndexingPolicyResponse { - return { - ...val, - indexingMode: (val.indexingMode) ?? "consistent", - }; - } + export interface LocationResponse { + /** + * The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + */ + documentEndpoint: string; + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: number; + /** + * The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + */ + id: string; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: boolean; + /** + * The name of the region. + */ + locationName?: string; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + provisioningState: string; + } - /** - * IpAddressOrRange object - */ - export interface IpAddressOrRangeResponse { /** - * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + * Identity for the resource. */ - ipAddressOrRange?: string; - } + export interface ManagedServiceIdentityResponse { + /** + * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: string; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.documentdb.v20210401preview.ManagedServiceIdentityResponseUserAssignedIdentities}; + } + + export interface ManagedServiceIdentityResponseUserAssignedIdentities { + /** + * The client id of user assigned identity. + */ + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } - /** - * A region in which the Azure Cosmos DB database account is deployed. - */ - export interface LocationResponse { /** - * The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + * The object representing periodic mode backup policy. */ - documentEndpoint: string; + export interface PeriodicModeBackupPolicyResponse { + /** + * Configuration values for periodic mode backup + */ + periodicModeProperties?: outputs.documentdb.v20210401preview.PeriodicModePropertiesResponse; + /** + * Describes the mode of backups. + * Expected value is 'Periodic'. + */ + type: "Periodic"; + } + /** - * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + * Configuration values for periodic mode backup */ - failoverPriority?: number; + export interface PeriodicModePropertiesResponse { + /** + * An integer representing the interval in minutes between two backups + */ + backupIntervalInMinutes?: number; + /** + * An integer representing the time (in hours) that each backup is retained + */ + backupRetentionIntervalInHours?: number; + /** + * Enum to indicate type of backup residency + */ + backupStorageRedundancy?: string; + } + /** - * The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + * A private endpoint connection */ - id: string; + export interface PrivateEndpointConnectionResponse { + /** + * Group id of the private endpoint. + */ + groupId?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: outputs.documentdb.v20210401preview.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: outputs.documentdb.v20210401preview.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + provisioningState?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + /** - * Flag to indicate whether or not this region is an AvailabilityZone region + * Private endpoint which the connection belongs to. */ - isZoneRedundant?: boolean; + export interface PrivateEndpointPropertyResponse { + /** + * Resource id of the private endpoint. + */ + id?: string; + } + /** - * The name of the region. + * Connection State of the Private Endpoint Connection. */ - locationName?: string; + export interface PrivateLinkServiceConnectionStatePropertyResponse { + /** + * Any action that is required beyond basic workflow (approve/ reject/ disconnect) + */ + actionsRequired: string; + /** + * The private link service connection description. + */ + description?: string; + /** + * The private link service connection status. + */ + status?: string; + } + /** - * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + * Parameters to indicate the information about the restore. */ - provisioningState: string; - } + export interface RestoreParametersResponse { + /** + * List of specific databases available for restore. + */ + databasesToRestore?: outputs.documentdb.v20210401preview.DatabaseRestoreResourceResponse[]; + /** + * Describes the mode of the restore. + */ + restoreMode?: string; + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: string; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: string; + } - /** - * Identity for the resource. - */ - export interface ManagedCassandraManagedServiceIdentityResponse { /** - * The object id of the identity resource. + * Metadata pertaining to creation and last modification of the resource. */ - principalId: string; + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** - * The tenant id of the resource. + * Virtual Network ACL Rule object */ - tenantId: string; + export interface VirtualNetworkRuleResponse { + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + */ + id?: string; + /** + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ + ignoreMissingVNetServiceEndpoint?: boolean; + } + + } + + export namespace v20210701preview { + export interface CertificateResponse { + /** + * PEM formatted public key. + */ + pem?: string; + } + /** - * The type of the resource. + * Properties of a managed Cassandra cluster. */ - type?: string; - } + export interface ClusterResourceResponseProperties { + /** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ + authenticationMethod?: string; + /** + * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + */ + cassandraVersion?: string; + /** + * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + */ + clientCertificates?: outputs.documentdb.v20210701preview.CertificateResponse[]; + /** + * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + */ + clusterNameOverride?: string; + /** + * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + */ + delegatedManagementSubnetId?: string; + /** + * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + */ + externalGossipCertificates?: outputs.documentdb.v20210701preview.CertificateResponse[]; + /** + * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + */ + externalSeedNodes?: outputs.documentdb.v20210701preview.SeedNodeResponse[]; + /** + * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + */ + gossipCertificates: outputs.documentdb.v20210701preview.CertificateResponse[]; + /** + * Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0. + */ + hoursBetweenBackups?: number; + /** + * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + */ + prometheusEndpoint?: outputs.documentdb.v20210701preview.SeedNodeResponse; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: string; + /** + * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + */ + repairEnabled?: boolean; + /** + * List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + */ + seedNodes: outputs.documentdb.v20210701preview.SeedNodeResponse[]; + } - /** - * Identity for the resource. - */ - export interface ManagedServiceIdentityResponse { /** - * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + * Identity for the resource. */ - principalId: string; + export interface ManagedServiceIdentityResponse { + /** + * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: string; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.documentdb.v20210701preview.ManagedServiceIdentityResponseUserAssignedIdentities}; + } + + export interface ManagedServiceIdentityResponseUserAssignedIdentities { + /** + * The client id of user assigned identity. + */ + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } + + export interface SeedNodeResponse { + /** + * IP address of this seed node. + */ + ipAddress?: string; + } + + } + + export namespace v20230301preview { /** - * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + * The set of data plane operations permitted through this Role Definition. */ - tenantId: string; + export interface PrivilegeResponse { + /** + * An array of actions that are allowed. + */ + actions?: string[]; + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + resource?: outputs.documentdb.v20230301preview.PrivilegeResponseResource; + } + /** - * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + * An Azure Cosmos DB Mongo DB Resource. */ - type?: string; + export interface PrivilegeResponseResource { + /** + * The collection name the role is applied. + */ + collection?: string; + /** + * The database name the role is applied. + */ + db?: string; + } + /** - * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * The set of roles permitted through this Role Definition. */ - userAssignedIdentities?: {[key: string]: outputs.documentdb.ManagedServiceIdentityResponseUserAssignedIdentities}; + export interface RoleResponse { + /** + * The database name the role is applied. + */ + db?: string; + /** + * The role name. + */ + role?: string; + } + } - export interface ManagedServiceIdentityResponseUserAssignedIdentities { + export namespace v20230315preview { /** - * The client id of user assigned identity. + * The metadata related to an access key for a given database account. */ - clientId: string; + export interface AccountKeyMetadataResponse { + /** + * Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + */ + generationTime: string; + } + /** - * The principal id of user assigned identity. + * Analytical storage specific properties. */ - principalId: string; - } + export interface AnalyticalStorageConfigurationResponse { + /** + * Describes the types of schema for analytical storage. + */ + schemaType?: string; + } + + export interface ApiPropertiesResponse { + /** + * Describes the ServerVersion of an a MongoDB account. + */ + serverVersion?: string; + } + + export interface AutoscaleSettingsResponse { + /** + * Represents maximum throughput, the resource can scale up to. + */ + maxThroughput?: number; + } - /** - * Resource for a regional service location. - */ - export interface MaterializedViewsBuilderRegionalServiceResourceResponse { /** - * The location name. + * The object representing the state of the migration between the backup policies. */ - location: string; + export interface BackupPolicyMigrationStateResponse { + /** + * Time at which the backup policy migration started (ISO-8601 format). + */ + startTime?: string; + /** + * Describes the status of migration between backup policy types. + */ + status?: string; + /** + * Describes the target backup policy type of the backup policy migration. + */ + targetType?: string; + } + /** - * The regional service name. + * Cosmos DB capability object */ - name: string; + export interface CapabilityResponse { + /** + * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + */ + name?: string; + } + /** - * Describes the status of a service. + * The object that represents all properties related to capacity enforcement on an account. */ - status: string; - } + export interface CapacityResponse { + /** + * The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + */ + totalThroughputLimit?: number; + } + + export interface CassandraKeyspaceGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface CassandraKeyspaceGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Cassandra keyspace + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } - /** - * Properties for MaterializedViewsBuilderServiceResource. - */ - export interface MaterializedViewsBuilderServiceResourcePropertiesResponse { /** - * Time of the last state change (ISO-8601 format). + * Cosmos DB Cassandra table partition key */ - creationTime: string; + export interface CassandraPartitionKeyResponse { + /** + * Name of the Cosmos DB Cassandra table partition key + */ + name?: string; + } + /** - * Instance count for the service. + * Cosmos DB Cassandra table schema */ - instanceCount?: number; + export interface CassandraSchemaResponse { + /** + * List of cluster key. + */ + clusterKeys?: outputs.documentdb.v20230315preview.ClusterKeyResponse[]; + /** + * List of Cassandra table columns. + */ + columns?: outputs.documentdb.v20230315preview.ColumnResponse[]; + /** + * List of partition key. + */ + partitionKeys?: outputs.documentdb.v20230315preview.CassandraPartitionKeyResponse[]; + } + + export interface CassandraTableGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface CassandraTableGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * Time to live of the Cosmos DB Cassandra table + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Cassandra table + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * Schema of the Cosmos DB Cassandra table + */ + schema?: outputs.documentdb.v20230315preview.CassandraSchemaResponse; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface CassandraViewGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface CassandraViewGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Cassandra view + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * View Definition of the Cosmos DB Cassandra view + */ + viewDefinition: string; + } + /** - * Instance type for the service. + * . */ - instanceSize?: string; + export interface ClientEncryptionIncludedPathResponse { + /** + * The identifier of the Client Encryption Key to be used to encrypt the path. + */ + clientEncryptionKeyId: string; + /** + * The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + */ + encryptionAlgorithm: string; + /** + * The type of encryption to be performed. Eg - Deterministic, Randomized. + */ + encryptionType: string; + /** + * Path that needs to be encrypted. + */ + path: string; + } + /** - * An array that contains all of the locations for the service. + * Cosmos DB client encryption policy. */ - locations: outputs.documentdb.MaterializedViewsBuilderRegionalServiceResourceResponse[]; + export interface ClientEncryptionPolicyResponse { + /** + * Paths of the item that need encryption along with path-specific settings. + */ + includedPaths: outputs.documentdb.v20230315preview.ClientEncryptionIncludedPathResponse[]; + /** + * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + */ + policyFormatVersion: number; + } + /** - * ServiceType for the service. - * Expected value is 'MaterializedViewsBuilder'. + * Cosmos DB Cassandra table cluster key */ - serviceType: "MaterializedViewsBuilder"; + export interface ClusterKeyResponse { + /** + * Name of the Cosmos DB Cassandra table cluster key + */ + name?: string; + /** + * Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + */ + orderBy?: string; + } + /** - * Describes the status of a service. + * Cosmos DB Cassandra table column */ - status: string; - } + export interface ColumnResponse { + /** + * Name of the Cosmos DB Cassandra table column + */ + name?: string; + /** + * Type of the Cosmos DB Cassandra table column + */ + type?: string; + } + + export interface CompositePathResponse { + /** + * Sort order for composite paths. + */ + order?: string; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + } - export interface MongoDBCollectionGetPropertiesResponseOptions { /** - * Specifies the Autoscale settings. + * The conflict resolution policy for the container. */ - autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + export interface ConflictResolutionPolicyResponse { + /** + * The conflict resolution path in the case of LastWriterWins mode. + */ + conflictResolutionPath?: string; + /** + * The procedure to resolve conflicts in the case of custom mode. + */ + conflictResolutionProcedure?: string; + /** + * Indicates the conflict resolution mode. + */ + mode?: string; + } /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + * conflictResolutionPolicyResponseProvideDefaults sets the appropriate defaults for ConflictResolutionPolicyResponse */ - throughput?: number; - } + export function conflictResolutionPolicyResponseProvideDefaults(val: ConflictResolutionPolicyResponse): ConflictResolutionPolicyResponse { + return { + ...val, + mode: (val.mode) ?? "LastWriterWins", + }; + } - export interface MongoDBCollectionGetPropertiesResponseResource { /** - * Analytical TTL. + * Connection string for the mongo cluster */ - analyticalStorageTtl?: number; + export interface ConnectionStringResponse { + /** + * Value of the connection string + */ + connectionString: string; + /** + * Description of the connection string + */ + description: string; + } + /** - * A system generated property representing the resource etag required for optimistic concurrency control. + * The consistency policy for the Cosmos DB database account. */ - etag: string; + export interface ConsistencyPolicyResponse { + /** + * The default consistency level and configuration settings of the Cosmos DB account. + */ + defaultConsistencyLevel: string; + /** + * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxIntervalInSeconds?: number; + /** + * When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxStalenessPrefix?: number; + } + /** - * Name of the Cosmos DB MongoDB collection + * The configuration of the partition key to be used for partitioning data into multiple partitions */ - id: string; + export interface ContainerPartitionKeyResponse { + /** + * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + */ + kind?: string; + /** + * List of paths using which data within the container can be partitioned + */ + paths?: string[]; + /** + * Indicates if the container is using a system generated partition key + */ + systemKey: boolean; + /** + * Indicates the version of the partition key definition + */ + version?: number; + } /** - * List of index keys + * containerPartitionKeyResponseProvideDefaults sets the appropriate defaults for ContainerPartitionKeyResponse */ - indexes?: outputs.documentdb.MongoIndexResponse[]; + export function containerPartitionKeyResponseProvideDefaults(val: ContainerPartitionKeyResponse): ContainerPartitionKeyResponse { + return { + ...val, + kind: (val.kind) ?? "Hash", + }; + } + /** - * A system generated property. A unique identifier. + * The object representing continuous mode backup policy. */ - rid: string; + export interface ContinuousModeBackupPolicyResponse { + /** + * Configuration values for continuous mode backup + */ + continuousModeProperties?: outputs.documentdb.v20230315preview.ContinuousModePropertiesResponse; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: outputs.documentdb.v20230315preview.BackupPolicyMigrationStateResponse; + /** + * Describes the mode of backups. + * Expected value is 'Continuous'. + */ + type: "Continuous"; + } + /** - * A key-value pair of shard keys to be applied for the request. + * Configuration values for periodic mode backup */ - shardKey?: {[key: string]: string}; + export interface ContinuousModePropertiesResponse { + /** + * Enum to indicate type of Continuos backup mode + */ + tier?: string; + } + /** - * A system generated property that denotes the last updated timestamp of the resource. + * The CORS policy for the Cosmos DB database account. */ - ts: number; - } + export interface CorsPolicyResponse { + /** + * The request headers that the origin domain may specify on the CORS request. + */ + allowedHeaders?: string; + /** + * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + */ + allowedMethods?: string; + /** + * The origin domains that are permitted to make a request against the service via CORS. + */ + allowedOrigins: string; + /** + * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + */ + exposedHeaders?: string; + /** + * The maximum amount time that a browser should cache the preflight OPTIONS request. + */ + maxAgeInSeconds?: number; + } - export interface MongoDBDatabaseGetPropertiesResponseOptions { - /** - * Specifies the Autoscale settings. - */ - autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + * Connection string for the Cosmos DB account */ - throughput?: number; - } + export interface DatabaseAccountConnectionStringResponse { + /** + * Value of the connection string + */ + connectionString: string; + /** + * Description of the connection string + */ + description: string; + /** + * Kind of the connection string key + */ + keyKind: string; + /** + * Type of the connection string + */ + type: string; + } - export interface MongoDBDatabaseGetPropertiesResponseResource { /** - * A system generated property representing the resource etag required for optimistic concurrency control. + * The metadata related to each access key for the given Cosmos DB database account. */ - etag: string; + export interface DatabaseAccountKeysMetadataResponse { + /** + * The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + */ + primaryMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + /** + * The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + */ + primaryReadonlyMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + /** + * The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + */ + secondaryMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + /** + * The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + */ + secondaryReadonlyMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + } + /** - * Name of the Cosmos DB MongoDB database + * Specific Databases to restore. */ - id: string; + export interface DatabaseRestoreResourceResponse { + /** + * The names of the collections available for restore. + */ + collectionNames?: string[]; + /** + * The name of the database available for restore. + */ + databaseName?: string; + } + /** - * A system generated property. A unique identifier. + * Indicates what diagnostic log settings are to be enabled. */ - rid: string; + export interface DiagnosticLogSettingsResponse { + /** + * Describe the level of detail with which queries are to be logged. + */ + enableFullTextQuery?: string; + } + + export interface ExcludedPathResponse { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + } + /** - * A system generated property that denotes the last updated timestamp of the resource. + * The failover policy for a given region of a database account. */ - ts: number; - } + export interface FailoverPolicyResponse { + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: number; + /** + * The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + */ + id: string; + /** + * The name of the region in which the database account exists. + */ + locationName?: string; + } + + export interface GraphResourceGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface GraphResourceGetPropertiesResponseResource { + /** + * Name of the Cosmos DB Graph + */ + id: string; + } + + export interface GremlinDatabaseGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface GremlinDatabaseGetPropertiesResponseResource { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Gremlin database + */ + id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } - /** - * Cosmos DB MongoDB collection resource object - */ - export interface MongoIndexKeysResponse { /** - * List of keys for each MongoDB collection in the Azure Cosmos DB service + * Specific Gremlin Databases to restore. */ - keys?: string[]; - } + export interface GremlinDatabaseRestoreResourceResponse { + /** + * The name of the gremlin database available for restore. + */ + databaseName?: string; + /** + * The names of the graphs available for restore. + */ + graphNames?: string[]; + } - /** - * Cosmos DB MongoDB collection index options - */ - export interface MongoIndexOptionsResponse { + export interface GremlinGraphGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface GremlinGraphGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * The conflict resolution policy for the graph. + */ + conflictResolutionPolicy?: outputs.documentdb.v20230315preview.ConflictResolutionPolicyResponse; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * Default time to live + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Gremlin graph + */ + id: string; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + */ + indexingPolicy?: outputs.documentdb.v20230315preview.IndexingPolicyResponse; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: outputs.documentdb.v20230315preview.ContainerPartitionKeyResponse; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: outputs.documentdb.v20230315preview.UniqueKeyPolicyResponse; + } /** - * Expire after seconds + * gremlinGraphGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for GremlinGraphGetPropertiesResponseResource */ - expireAfterSeconds?: number; + export function gremlinGraphGetPropertiesResponseResourceProvideDefaults(val: GremlinGraphGetPropertiesResponseResource): GremlinGraphGetPropertiesResponseResource { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230315preview.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230315preview.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230315preview.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + }; + } + /** - * Is unique or not + * The paths that are included in indexing */ - unique?: boolean; - } + export interface IncludedPathResponse { + /** + * List of indexes for this path + */ + indexes?: outputs.documentdb.v20230315preview.IndexesResponse[]; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + } - /** - * Cosmos DB MongoDB collection index key - */ - export interface MongoIndexResponse { /** - * Cosmos DB MongoDB collection index keys + * The indexes for the path. */ - key?: outputs.documentdb.MongoIndexKeysResponse; + export interface IndexesResponse { + /** + * The datatype for which the indexing behavior is applied to. + */ + dataType?: string; + /** + * Indicates the type of index. + */ + kind?: string; + /** + * The precision of the index. -1 is maximum precision. + */ + precision?: number; + } /** - * Cosmos DB MongoDB collection index key options + * indexesResponseProvideDefaults sets the appropriate defaults for IndexesResponse */ - options?: outputs.documentdb.MongoIndexOptionsResponse; - } + export function indexesResponseProvideDefaults(val: IndexesResponse): IndexesResponse { + return { + ...val, + dataType: (val.dataType) ?? "String", + kind: (val.kind) ?? "Hash", + }; + } - /** - * Specification for a node group. - */ - export interface NodeGroupSpecResponse { - /** - * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. - */ - diskSizeGB?: number; /** - * Whether high availability is enabled on the node group. + * Cosmos DB indexing policy */ - enableHa?: boolean; + export interface IndexingPolicyResponse { + /** + * Indicates if the indexing policy is automatic + */ + automatic?: boolean; + /** + * List of composite path list + */ + compositeIndexes?: outputs.documentdb.v20230315preview.CompositePathResponse[][]; + /** + * List of paths to exclude from indexing + */ + excludedPaths?: outputs.documentdb.v20230315preview.ExcludedPathResponse[]; + /** + * List of paths to include in the indexing + */ + includedPaths?: outputs.documentdb.v20230315preview.IncludedPathResponse[]; + /** + * Indicates the indexing mode. + */ + indexingMode?: string; + /** + * List of spatial specifics + */ + spatialIndexes?: outputs.documentdb.v20230315preview.SpatialSpecResponse[]; + } /** - * The node type deployed in the node group. + * indexingPolicyResponseProvideDefaults sets the appropriate defaults for IndexingPolicyResponse */ - kind?: string; + export function indexingPolicyResponseProvideDefaults(val: IndexingPolicyResponse): IndexingPolicyResponse { + return { + ...val, + indexingMode: (val.indexingMode) ?? "consistent", + }; + } + /** - * The number of nodes in the node group. + * IpAddressOrRange object */ - nodeCount?: number; + export interface IpAddressOrRangeResponse { + /** + * A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + */ + ipAddressOrRange?: string; + } + /** - * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + * A region in which the Azure Cosmos DB database account is deployed. */ - sku?: string; - } + export interface LocationResponse { + /** + * The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + */ + documentEndpoint: string; + /** + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + */ + failoverPriority?: number; + /** + * The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + */ + id: string; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: boolean; + /** + * The name of the region. + */ + locationName?: string; + /** + * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + */ + provisioningState: string; + } - /** - * The object representing periodic mode backup policy. - */ - export interface PeriodicModeBackupPolicyResponse { /** - * The object representing the state of the migration between the backup policies. + * Identity for the resource. */ - migrationState?: outputs.documentdb.BackupPolicyMigrationStateResponse; + export interface ManagedServiceIdentityResponse { + /** + * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + */ + type?: string; + /** + * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.documentdb.v20230315preview.ManagedServiceIdentityResponseUserAssignedIdentities}; + } + + export interface ManagedServiceIdentityResponseUserAssignedIdentities { + /** + * The client id of user assigned identity. + */ + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } + /** - * Configuration values for periodic mode backup + * Materialized View definition for the container. */ - periodicModeProperties?: outputs.documentdb.PeriodicModePropertiesResponse; + export interface MaterializedViewDefinitionResponse { + /** + * The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + */ + definition: string; + /** + * The name of the source container on which the Materialized View will be created. + */ + sourceCollectionId: string; + /** + * An unique identifier for the source collection. This is a system generated property. + */ + sourceCollectionRid: string; + } + + export interface MongoDBCollectionGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface MongoDBCollectionGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB MongoDB collection + */ + id: string; + /** + * List of index keys + */ + indexes?: outputs.documentdb.v20230315preview.MongoIndexResponse[]; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A key-value pair of shard keys to be applied for the request. + */ + shardKey?: {[key: string]: string}; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface MongoDBDatabaseGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface MongoDBDatabaseGetPropertiesResponseResource { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB MongoDB database + */ + id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + /** - * Describes the mode of backups. - * Expected value is 'Periodic'. + * Cosmos DB MongoDB collection resource object */ - type: "Periodic"; - } + export interface MongoIndexKeysResponse { + /** + * List of keys for each MongoDB collection in the Azure Cosmos DB service + */ + keys?: string[]; + } - /** - * Configuration values for periodic mode backup - */ - export interface PeriodicModePropertiesResponse { /** - * An integer representing the interval in minutes between two backups + * Cosmos DB MongoDB collection index options */ - backupIntervalInMinutes?: number; + export interface MongoIndexOptionsResponse { + /** + * Expire after seconds + */ + expireAfterSeconds?: number; + /** + * Is unique or not + */ + unique?: boolean; + } + /** - * An integer representing the time (in hours) that each backup is retained + * Cosmos DB MongoDB collection index key */ - backupRetentionIntervalInHours?: number; + export interface MongoIndexResponse { + /** + * Cosmos DB MongoDB collection index keys + */ + key?: outputs.documentdb.v20230315preview.MongoIndexKeysResponse; + /** + * Cosmos DB MongoDB collection index key options + */ + options?: outputs.documentdb.v20230315preview.MongoIndexOptionsResponse; + } + /** - * Enum to indicate type of backup residency + * Specification for a node group. */ - backupStorageRedundancy?: string; - } + export interface NodeGroupSpecResponse { + /** + * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + */ + diskSizeGB?: number; + /** + * Whether high availability is enabled on the node group. + */ + enableHa?: boolean; + /** + * The node type deployed in the node group. + */ + kind?: string; + /** + * The number of nodes in the node group. + */ + nodeCount?: number; + /** + * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + */ + sku?: string; + } - /** - * The set of data plane operations permitted through this Role Definition. - */ - export interface PermissionResponse { /** - * An array of data actions that are allowed. + * The object representing periodic mode backup policy. */ - dataActions?: string[]; + export interface PeriodicModeBackupPolicyResponse { + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: outputs.documentdb.v20230315preview.BackupPolicyMigrationStateResponse; + /** + * Configuration values for periodic mode backup + */ + periodicModeProperties?: outputs.documentdb.v20230315preview.PeriodicModePropertiesResponse; + /** + * Describes the mode of backups. + * Expected value is 'Periodic'. + */ + type: "Periodic"; + } + /** - * An array of data actions that are denied. + * Configuration values for periodic mode backup */ - notDataActions?: string[]; - } + export interface PeriodicModePropertiesResponse { + /** + * An integer representing the interval in minutes between two backups + */ + backupIntervalInMinutes?: number; + /** + * An integer representing the time (in hours) that each backup is retained + */ + backupRetentionIntervalInHours?: number; + /** + * Enum to indicate type of backup residency + */ + backupStorageRedundancy?: string; + } - /** - * A private endpoint connection - */ - export interface PrivateEndpointConnectionResponse { /** - * Group id of the private endpoint. + * A private endpoint connection */ - groupId?: string; + export interface PrivateEndpointConnectionResponse { + /** + * Group id of the private endpoint. + */ + groupId?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: outputs.documentdb.v20230315preview.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: outputs.documentdb.v20230315preview.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + provisioningState?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * Private endpoint which the connection belongs to. */ - id: string; + export interface PrivateEndpointPropertyResponse { + /** + * Resource id of the private endpoint. + */ + id?: string; + } + /** - * The name of the resource + * Connection State of the Private Endpoint Connection. */ - name: string; + export interface PrivateLinkServiceConnectionStatePropertyResponse { + /** + * Any action that is required beyond basic workflow (approve/ reject/ disconnect) + */ + actionsRequired: string; + /** + * The private link service connection description. + */ + description?: string; + /** + * The private link service connection status. + */ + status?: string; + } + /** - * Private endpoint which the connection belongs to. + * Parameters to indicate the information about the restore. */ - privateEndpoint?: outputs.documentdb.PrivateEndpointPropertyResponse; + export interface ResourceRestoreParametersResponse { + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: string; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: string; + } + /** - * Connection State of the Private Endpoint Connection. + * Parameters to indicate the information about the restore. */ - privateLinkServiceConnectionState?: outputs.documentdb.PrivateLinkServiceConnectionStatePropertyResponse; + export interface RestoreParametersResponse { + /** + * List of specific databases available for restore. + */ + databasesToRestore?: outputs.documentdb.v20230315preview.DatabaseRestoreResourceResponse[]; + /** + * List of specific gremlin databases available for restore. + */ + gremlinDatabasesToRestore?: outputs.documentdb.v20230315preview.GremlinDatabaseRestoreResourceResponse[]; + /** + * Describes the mode of the restore. + */ + restoreMode?: string; + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: string; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: string; + /** + * The source backup location for restore. + */ + sourceBackupLocation?: string; + /** + * List of specific tables available for restore. + */ + tablesToRestore?: string[]; + } + + export interface SpatialSpecResponse { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + /** + * List of path's spatial type + */ + types?: string[]; + } + + export interface SqlContainerGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface SqlContainerGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * The client encryption policy for the container. + */ + clientEncryptionPolicy?: outputs.documentdb.v20230315preview.ClientEncryptionPolicyResponse; + /** + * The conflict resolution policy for the container. + */ + conflictResolutionPolicy?: outputs.documentdb.v20230315preview.ConflictResolutionPolicyResponse; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * Default time to live + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL container + */ + id: string; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + */ + indexingPolicy?: outputs.documentdb.v20230315preview.IndexingPolicyResponse; + /** + * The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + */ + materializedViewDefinition?: outputs.documentdb.v20230315preview.MaterializedViewDefinitionResponse; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: outputs.documentdb.v20230315preview.ContainerPartitionKeyResponse; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: outputs.documentdb.v20230315preview.UniqueKeyPolicyResponse; + } /** - * Provisioning state of the private endpoint. + * sqlContainerGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for SqlContainerGetPropertiesResponseResource */ - provisioningState?: string; + export function sqlContainerGetPropertiesResponseResourceProvideDefaults(val: SqlContainerGetPropertiesResponseResource): SqlContainerGetPropertiesResponseResource { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230315preview.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230315preview.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230315preview.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + }; + } + + export interface SqlDatabaseGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface SqlDatabaseGetPropertiesResponseResource { + /** + * A system generated property that specified the addressable path of the collections resource. + */ + colls?: string; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL database + */ + id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * A system generated property that specifies the addressable path of the users resource. + */ + users?: string; + } + + export interface SqlStoredProcedureGetPropertiesResponseResource { + /** + * Body of the Stored Procedure + */ + body?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL storedProcedure + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface SqlTriggerGetPropertiesResponseResource { + /** + * Body of the Trigger + */ + body?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL trigger + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * The operation the trigger is associated with + */ + triggerOperation?: string; + /** + * Type of the Trigger + */ + triggerType?: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface SqlUserDefinedFunctionGetPropertiesResponseResource { + /** + * Body of the User Defined Function + */ + body?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL userDefinedFunction + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * Metadata pertaining to creation and last modification of the resource. */ - type: string; - } + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + export interface TableGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface TableGetPropertiesResponseResource { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB table + */ + id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } - /** - * Private endpoint which the connection belongs to. - */ - export interface PrivateEndpointPropertyResponse { /** - * Resource id of the private endpoint. + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - id?: string; - } + export interface UniqueKeyPolicyResponse { + /** + * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeys?: outputs.documentdb.v20230315preview.UniqueKeyResponse[]; + } - /** - * Connection State of the Private Endpoint Connection. - */ - export interface PrivateLinkServiceConnectionStatePropertyResponse { - /** - * Any action that is required beyond basic workflow (approve/ reject/ disconnect) - */ - actionsRequired: string; - /** - * The private link service connection description. - */ - description?: string; /** - * The private link service connection status. + * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - status?: string; - } + export interface UniqueKeyResponse { + /** + * List of paths must be unique for each document in the Azure Cosmos DB service + */ + paths?: string[]; + } - /** - * The set of data plane operations permitted through this Role Definition. - */ - export interface PrivilegeResponse { - /** - * An array of actions that are allowed. - */ - actions?: string[]; /** - * An Azure Cosmos DB Mongo DB Resource. + * Virtual Network ACL Rule object */ - resource?: outputs.documentdb.PrivilegeResponseResource; - } + export interface VirtualNetworkRuleResponse { + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + */ + id?: string; + /** + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ + ignoreMissingVNetServiceEndpoint?: boolean; + } - /** - * An Azure Cosmos DB Mongo DB Resource. - */ - export interface PrivilegeResponseResource { - /** - * The collection name the role is applied. - */ - collection?: string; - /** - * The database name the role is applied. - */ - db?: string; } - /** - * Parameters to indicate the information about the restore. - */ - export interface RestoreParametersResponse { - /** - * List of specific databases available for restore. - */ - databasesToRestore?: outputs.documentdb.DatabaseRestoreResourceResponse[]; - /** - * List of specific gremlin databases available for restore. - */ - gremlinDatabasesToRestore?: outputs.documentdb.GremlinDatabaseRestoreResourceResponse[]; + export namespace v20230415 { /** - * Describes the mode of the restore. + * The metadata related to an access key for a given database account. */ - restoreMode?: string; + export interface AccountKeyMetadataResponse { + /** + * Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + */ + generationTime: string; + } + /** - * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + * Analytical storage specific properties. */ - restoreSource?: string; + export interface AnalyticalStorageConfigurationResponse { + /** + * Describes the types of schema for analytical storage. + */ + schemaType?: string; + } + + export interface ApiPropertiesResponse { + /** + * Describes the ServerVersion of an a MongoDB account. + */ + serverVersion?: string; + } + /** - * Time to which the account has to be restored (ISO-8601 format). + * Ldap authentication method properties. This feature is in preview. */ - restoreTimestampInUtc?: string; + export interface AuthenticationMethodLdapPropertiesResponse { + /** + * Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + */ + connectionTimeoutInMs?: number; + /** + * Distinguished name of the object to start the recursive search of users from. + */ + searchBaseDistinguishedName?: string; + /** + * Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + */ + searchFilterTemplate?: string; + serverCertificates?: outputs.documentdb.v20230415.CertificateResponse[]; + /** + * Hostname of the LDAP server. + */ + serverHostname?: string; + /** + * Port of the LDAP server. + */ + serverPort?: number; + /** + * Distinguished name of the look up user account, who can look up user details on authentication. + */ + serviceUserDistinguishedName?: string; + /** + * Password of the look up user. + */ + serviceUserPassword?: string; + } + + export interface AutoscaleSettingsResponse { + /** + * Represents maximum throughput, the resource can scale up to. + */ + maxThroughput?: number; + } + /** - * List of specific tables available for restore. + * The object representing the state of the migration between the backup policies. */ - tablesToRestore?: string[]; - } + export interface BackupPolicyMigrationStateResponse { + /** + * Time at which the backup policy migration started (ISO-8601 format). + */ + startTime?: string; + /** + * Describes the status of migration between backup policy types. + */ + status?: string; + /** + * Describes the target backup policy type of the backup policy migration. + */ + targetType?: string; + } - /** - * The set of roles permitted through this Role Definition. - */ - export interface RoleResponse { /** - * The database name the role is applied. + * Cosmos DB capability object */ - db?: string; + export interface CapabilityResponse { + /** + * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + */ + name?: string; + } + /** - * The role name. + * The object that represents all properties related to capacity enforcement on an account. */ - role?: string; - } + export interface CapacityResponse { + /** + * The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + */ + totalThroughputLimit?: number; + } + + export interface CassandraErrorResponse { + /** + * Additional information about the error. + */ + additionalErrorInfo?: string; + /** + * The code of error that occurred. + */ + code?: string; + /** + * The message of the error. + */ + message?: string; + /** + * The target resource of the error. + */ + target?: string; + } + + export interface CassandraKeyspaceGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface CassandraKeyspaceGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Cassandra keyspace + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } - export interface SeedNodeResponse { /** - * IP address of this seed node. + * Cosmos DB Cassandra table partition key */ - ipAddress?: string; - } + export interface CassandraPartitionKeyResponse { + /** + * Name of the Cosmos DB Cassandra table partition key + */ + name?: string; + } - export interface SpatialSpecResponse { /** - * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + * Cosmos DB Cassandra table schema */ - path?: string; + export interface CassandraSchemaResponse { + /** + * List of cluster key. + */ + clusterKeys?: outputs.documentdb.v20230415.ClusterKeyResponse[]; + /** + * List of Cassandra table columns. + */ + columns?: outputs.documentdb.v20230415.ColumnResponse[]; + /** + * List of partition key. + */ + partitionKeys?: outputs.documentdb.v20230415.CassandraPartitionKeyResponse[]; + } + + export interface CassandraTableGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface CassandraTableGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * Time to live of the Cosmos DB Cassandra table + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Cassandra table + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * Schema of the Cosmos DB Cassandra table + */ + schema?: outputs.documentdb.v20230415.CassandraSchemaResponse; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface CertificateResponse { + /** + * PEM formatted public key. + */ + pem?: string; + } + /** - * List of path's spatial type + * . */ - types?: string[]; - } + export interface ClientEncryptionIncludedPathResponse { + /** + * The identifier of the Client Encryption Key to be used to encrypt the path. + */ + clientEncryptionKeyId: string; + /** + * The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + */ + encryptionAlgorithm: string; + /** + * The type of encryption to be performed. Eg - Deterministic, Randomized. + */ + encryptionType: string; + /** + * Path that needs to be encrypted. + */ + path: string; + } - export interface SqlContainerGetPropertiesResponseOptions { /** - * Specifies the Autoscale settings. + * Cosmos DB client encryption policy. */ - autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; + export interface ClientEncryptionPolicyResponse { + /** + * Paths of the item that need encryption along with path-specific settings. + */ + includedPaths: outputs.documentdb.v20230415.ClientEncryptionIncludedPathResponse[]; + /** + * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + */ + policyFormatVersion: number; + } + /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + * Cosmos DB Cassandra table cluster key */ - throughput?: number; - } + export interface ClusterKeyResponse { + /** + * Name of the Cosmos DB Cassandra table cluster key + */ + name?: string; + /** + * Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + */ + orderBy?: string; + } - export interface SqlContainerGetPropertiesResponseResource { /** - * Analytical TTL. + * Properties of a managed Cassandra cluster. */ - analyticalStorageTtl?: number; + export interface ClusterResourceResponseProperties { + /** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ + authenticationMethod?: string; + /** + * Whether Cassandra audit logging is enabled + */ + cassandraAuditLoggingEnabled?: boolean; + /** + * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + */ + cassandraVersion?: string; + /** + * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + */ + clientCertificates?: outputs.documentdb.v20230415.CertificateResponse[]; + /** + * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + */ + clusterNameOverride?: string; + /** + * Whether the cluster and associated data centers has been deallocated. + */ + deallocated?: boolean; + /** + * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + */ + delegatedManagementSubnetId?: string; + /** + * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + */ + externalGossipCertificates?: outputs.documentdb.v20230415.CertificateResponse[]; + /** + * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + */ + externalSeedNodes?: outputs.documentdb.v20230415.SeedNodeResponse[]; + /** + * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + */ + gossipCertificates: outputs.documentdb.v20230415.CertificateResponse[]; + /** + * (Deprecated) Number of hours to wait between taking a backup of the cluster. + */ + hoursBetweenBackups?: number; + /** + * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + */ + prometheusEndpoint?: outputs.documentdb.v20230415.SeedNodeResponse; + /** + * Error related to resource provisioning. + */ + provisionError?: outputs.documentdb.v20230415.CassandraErrorResponse; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: string; + /** + * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + */ + repairEnabled?: boolean; + /** + * List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + */ + seedNodes: outputs.documentdb.v20230415.SeedNodeResponse[]; + } + /** - * The client encryption policy for the container. + * Cosmos DB Cassandra table column */ - clientEncryptionPolicy?: outputs.documentdb.ClientEncryptionPolicyResponse; + export interface ColumnResponse { + /** + * Name of the Cosmos DB Cassandra table column + */ + name?: string; + /** + * Type of the Cosmos DB Cassandra table column + */ + type?: string; + } + + export interface CompositePathResponse { + /** + * Sort order for composite paths. + */ + order?: string; + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + } + /** * The conflict resolution policy for the container. */ - conflictResolutionPolicy?: outputs.documentdb.ConflictResolutionPolicyResponse; - /** - * Default time to live - */ - defaultTtl?: number; - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; - /** - * Name of the Cosmos DB SQL container - */ - id: string; - /** - * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container - */ - indexingPolicy?: outputs.documentdb.IndexingPolicyResponse; - /** - * The configuration of the partition key to be used for partitioning data into multiple partitions - */ - partitionKey?: outputs.documentdb.ContainerPartitionKeyResponse; - /** - * A system generated property. A unique identifier. - */ - rid: string; - /** - * A system generated property that denotes the last updated timestamp of the resource. - */ - ts: number; + export interface ConflictResolutionPolicyResponse { + /** + * The conflict resolution path in the case of LastWriterWins mode. + */ + conflictResolutionPath?: string; + /** + * The procedure to resolve conflicts in the case of custom mode. + */ + conflictResolutionProcedure?: string; + /** + * Indicates the conflict resolution mode. + */ + mode?: string; + } /** - * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + * conflictResolutionPolicyResponseProvideDefaults sets the appropriate defaults for ConflictResolutionPolicyResponse */ - uniqueKeyPolicy?: outputs.documentdb.UniqueKeyPolicyResponse; - } - /** - * sqlContainerGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for SqlContainerGetPropertiesResponseResource - */ - export function sqlContainerGetPropertiesResponseResourceProvideDefaults(val: SqlContainerGetPropertiesResponseResource): SqlContainerGetPropertiesResponseResource { - return { - ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), - indexingPolicy: (val.indexingPolicy ? outputs.documentdb.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), - partitionKey: (val.partitionKey ? outputs.documentdb.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), - }; - } + export function conflictResolutionPolicyResponseProvideDefaults(val: ConflictResolutionPolicyResponse): ConflictResolutionPolicyResponse { + return { + ...val, + mode: (val.mode) ?? "LastWriterWins", + }; + } - export interface SqlDatabaseGetPropertiesResponseOptions { - /** - * Specifies the Autoscale settings. - */ - autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + * The consistency policy for the Cosmos DB database account. */ - throughput?: number; - } + export interface ConsistencyPolicyResponse { + /** + * The default consistency level and configuration settings of the Cosmos DB account. + */ + defaultConsistencyLevel: string; + /** + * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxIntervalInSeconds?: number; + /** + * When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + */ + maxStalenessPrefix?: number; + } - export interface SqlDatabaseGetPropertiesResponseResource { - /** - * A system generated property that specified the addressable path of the collections resource. - */ - colls?: string; - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; /** - * Name of the Cosmos DB SQL database - */ - id: string; - /** - * A system generated property. A unique identifier. - */ - rid: string; - /** - * A system generated property that denotes the last updated timestamp of the resource. + * The configuration of the partition key to be used for partitioning data into multiple partitions */ - ts: number; + export interface ContainerPartitionKeyResponse { + /** + * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + */ + kind?: string; + /** + * List of paths using which data within the container can be partitioned + */ + paths?: string[]; + /** + * Indicates if the container is using a system generated partition key + */ + systemKey: boolean; + /** + * Indicates the version of the partition key definition + */ + version?: number; + } /** - * A system generated property that specifies the addressable path of the users resource. + * containerPartitionKeyResponseProvideDefaults sets the appropriate defaults for ContainerPartitionKeyResponse */ - users?: string; - } + export function containerPartitionKeyResponseProvideDefaults(val: ContainerPartitionKeyResponse): ContainerPartitionKeyResponse { + return { + ...val, + kind: (val.kind) ?? "Hash", + }; + } - /** - * Resource for a regional service location. - */ - export interface SqlDedicatedGatewayRegionalServiceResourceResponse { - /** - * The location name. - */ - location: string; - /** - * The regional service name. - */ - name: string; - /** - * The regional endpoint for SqlDedicatedGateway. - */ - sqlDedicatedGatewayEndpoint: string; /** - * Describes the status of a service. + * The object representing continuous mode backup policy. */ - status: string; - } + export interface ContinuousModeBackupPolicyResponse { + /** + * Configuration values for continuous mode backup + */ + continuousModeProperties?: outputs.documentdb.v20230415.ContinuousModePropertiesResponse; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: outputs.documentdb.v20230415.BackupPolicyMigrationStateResponse; + /** + * Describes the mode of backups. + * Expected value is 'Continuous'. + */ + type: "Continuous"; + } - /** - * Properties for SqlDedicatedGatewayServiceResource. - */ - export interface SqlDedicatedGatewayServiceResourcePropertiesResponse { - /** - * Time of the last state change (ISO-8601 format). - */ - creationTime: string; - /** - * Instance count for the service. - */ - instanceCount?: number; - /** - * Instance type for the service. - */ - instanceSize?: string; - /** - * An array that contains all of the locations for the service. - */ - locations: outputs.documentdb.SqlDedicatedGatewayRegionalServiceResourceResponse[]; - /** - * ServiceType for the service. - * Expected value is 'SqlDedicatedGateway'. - */ - serviceType: "SqlDedicatedGateway"; - /** - * SqlDedicatedGateway endpoint for the service. - */ - sqlDedicatedGatewayEndpoint?: string; /** - * Describes the status of a service. + * Configuration values for periodic mode backup */ - status: string; - } + export interface ContinuousModePropertiesResponse { + /** + * Enum to indicate type of Continuous backup mode + */ + tier?: string; + } - export interface SqlStoredProcedureGetPropertiesResponseResource { - /** - * Body of the Stored Procedure - */ - body?: string; - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; - /** - * Name of the Cosmos DB SQL storedProcedure - */ - id: string; - /** - * A system generated property. A unique identifier. - */ - rid: string; /** - * A system generated property that denotes the last updated timestamp of the resource. + * The CORS policy for the Cosmos DB database account. */ - ts: number; - } + export interface CorsPolicyResponse { + /** + * The request headers that the origin domain may specify on the CORS request. + */ + allowedHeaders?: string; + /** + * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + */ + allowedMethods?: string; + /** + * The origin domains that are permitted to make a request against the service via CORS. + */ + allowedOrigins: string; + /** + * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + */ + exposedHeaders?: string; + /** + * The maximum amount time that a browser should cache the preflight OPTIONS request. + */ + maxAgeInSeconds?: number; + } - export interface SqlTriggerGetPropertiesResponseResource { - /** - * Body of the Trigger - */ - body?: string; - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; - /** - * Name of the Cosmos DB SQL trigger - */ - id: string; - /** - * A system generated property. A unique identifier. - */ - rid: string; - /** - * The operation the trigger is associated with - */ - triggerOperation?: string; - /** - * Type of the Trigger - */ - triggerType?: string; /** - * A system generated property that denotes the last updated timestamp of the resource. + * Properties of a managed Cassandra data center. */ - ts: number; - } + export interface DataCenterResourceResponseProperties { + /** + * Ldap authentication method properties. This feature is in preview. + */ + authenticationMethodLdapProperties?: outputs.documentdb.v20230415.AuthenticationMethodLdapPropertiesResponse; + /** + * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + */ + availabilityZone?: boolean; + /** + * Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + */ + backupStorageCustomerKeyUri?: string; + /** + * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + */ + base64EncodedCassandraYamlFragment?: string; + /** + * The region this data center should be created in. + */ + dataCenterLocation?: string; + /** + * Whether the data center has been deallocated. + */ + deallocated?: boolean; + /** + * Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + */ + delegatedSubnetId?: string; + /** + * Number of disks attached to each node. Default is 4. + */ + diskCapacity?: number; + /** + * Disk SKU used for data centers. Default value is P30. + */ + diskSku?: string; + /** + * Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + */ + managedDiskCustomerKeyUri?: string; + /** + * The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + */ + nodeCount?: number; + /** + * Error related to resource provisioning. + */ + provisionError?: outputs.documentdb.v20230415.CassandraErrorResponse; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: string; + /** + * IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + */ + seedNodes: outputs.documentdb.v20230415.SeedNodeResponse[]; + /** + * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + */ + sku?: string; + } - export interface SqlUserDefinedFunctionGetPropertiesResponseResource { - /** - * Body of the User Defined Function - */ - body?: string; - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; /** - * Name of the Cosmos DB SQL userDefinedFunction - */ - id: string; - /** - * A system generated property. A unique identifier. - */ - rid: string; - /** - * A system generated property that denotes the last updated timestamp of the resource. + * Resource for a regional service location. */ - ts: number; - } + export interface DataTransferRegionalServiceResourceResponse { + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * Describes the status of a service. + */ + status: string; + } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; /** - * The type of identity that last modified the resource. + * Properties for DataTransferServiceResource. */ - lastModifiedByType?: string; - } + export interface DataTransferServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230415.DataTransferRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'DataTransfer'. + */ + serviceType: "DataTransfer"; + /** + * Describes the status of a service. + */ + status: string; + } - export interface TableGetPropertiesResponseOptions { - /** - * Specifies the Autoscale settings. - */ - autoscaleSettings?: outputs.documentdb.AutoscaleSettingsResponse; /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + * Connection string for the Cosmos DB account */ - throughput?: number; - } + export interface DatabaseAccountConnectionStringResponse { + /** + * Value of the connection string + */ + connectionString: string; + /** + * Description of the connection string + */ + description: string; + /** + * Kind of the connection string key + */ + keyKind: string; + /** + * Type of the connection string + */ + type: string; + } - export interface TableGetPropertiesResponseResource { - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; - /** - * Name of the Cosmos DB table - */ - id: string; - /** - * A system generated property. A unique identifier. - */ - rid: string; /** - * A system generated property that denotes the last updated timestamp of the resource. + * The metadata related to each access key for the given Cosmos DB database account. */ - ts: number; - } + export interface DatabaseAccountKeysMetadataResponse { + /** + * The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + */ + primaryMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + /** + * The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + */ + primaryReadonlyMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + /** + * The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + */ + secondaryMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + /** + * The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + */ + secondaryReadonlyMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + } - /** - * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. - */ - export interface UniqueKeyPolicyResponse { /** - * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + * Specific Databases to restore. */ - uniqueKeys?: outputs.documentdb.UniqueKeyResponse[]; - } + export interface DatabaseRestoreResourceResponse { + /** + * The names of the collections available for restore. + */ + collectionNames?: string[]; + /** + * The name of the database available for restore. + */ + databaseName?: string; + } - /** - * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. - */ - export interface UniqueKeyResponse { - /** - * List of paths must be unique for each document in the Azure Cosmos DB service - */ - paths?: string[]; - } + export interface ExcludedPathResponse { + /** + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + */ + path?: string; + } - /** - * Virtual Network ACL Rule object - */ - export interface VirtualNetworkRuleResponse { - /** - * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. - */ - id?: string; /** - * Create firewall rule before the virtual network has vnet service endpoint enabled. + * The failover policy for a given region of a database account. */ - ignoreMissingVNetServiceEndpoint?: boolean; - } - - export namespace v20210401preview { - export interface ApiPropertiesResponse { + export interface FailoverPolicyResponse { /** - * Describes the ServerVersion of an a MongoDB account. + * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. */ - serverVersion?: string; + failoverPriority?: number; + /** + * The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + */ + id: string; + /** + * The name of the region in which the database account exists. + */ + locationName?: string; } /** - * Cosmos DB capability object + * Resource for a regional service location. */ - export interface CapabilityResponse { + export interface GraphAPIComputeRegionalServiceResourceResponse { /** - * Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + * The regional endpoint for GraphAPICompute. */ - name?: string; + graphApiComputeEndpoint: string; + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * Describes the status of a service. + */ + status: string; } /** - * The consistency policy for the Cosmos DB database account. + * Properties for GraphAPIComputeServiceResource. */ - export interface ConsistencyPolicyResponse { + export interface GraphAPIComputeServiceResourcePropertiesResponse { /** - * The default consistency level and configuration settings of the Cosmos DB account. + * Time of the last state change (ISO-8601 format). */ - defaultConsistencyLevel: string; + creationTime: string; /** - * When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + * GraphAPICompute endpoint for the service. */ - maxIntervalInSeconds?: number; + graphApiComputeEndpoint?: string; /** - * When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + * Instance count for the service. */ - maxStalenessPrefix?: number; + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230415.GraphAPIComputeRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'GraphAPICompute'. + */ + serviceType: "GraphAPICompute"; + /** + * Describes the status of a service. + */ + status: string; } - /** - * The object representing continuous mode backup policy. - */ - export interface ContinuousModeBackupPolicyResponse { + export interface GremlinDatabaseGetPropertiesResponseOptions { /** - * Describes the mode of backups. - * Expected value is 'Continuous'. + * Specifies the Autoscale settings. */ - type: "Continuous"; + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface GremlinDatabaseGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Gremlin database + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; } /** - * The CORS policy for the Cosmos DB database account. + * Specific Gremlin Databases to restore. */ - export interface CorsPolicyResponse { + export interface GremlinDatabaseRestoreResourceResponse { /** - * The request headers that the origin domain may specify on the CORS request. + * The name of the gremlin database available for restore. */ - allowedHeaders?: string; + databaseName?: string; /** - * The methods (HTTP request verbs) that the origin domain may use for a CORS request. + * The names of the graphs available for restore. */ - allowedMethods?: string; + graphNames?: string[]; + } + + export interface GremlinGraphGetPropertiesResponseOptions { /** - * The origin domains that are permitted to make a request against the service via CORS. + * Specifies the Autoscale settings. */ - allowedOrigins: string; + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; /** - * The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ - exposedHeaders?: string; + throughput?: number; + } + + export interface GremlinGraphGetPropertiesResponseResource { /** - * The maximum amount time that a browser should cache the preflight OPTIONS request. + * Analytical TTL. */ - maxAgeInSeconds?: number; + analyticalStorageTtl?: number; + /** + * The conflict resolution policy for the graph. + */ + conflictResolutionPolicy?: outputs.documentdb.v20230415.ConflictResolutionPolicyResponse; + /** + * Default time to live + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Gremlin graph + */ + id: string; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + */ + indexingPolicy?: outputs.documentdb.v20230415.IndexingPolicyResponse; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: outputs.documentdb.v20230415.ContainerPartitionKeyResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: outputs.documentdb.v20230415.UniqueKeyPolicyResponse; + } + /** + * gremlinGraphGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for GremlinGraphGetPropertiesResponseResource + */ + export function gremlinGraphGetPropertiesResponseResourceProvideDefaults(val: GremlinGraphGetPropertiesResponseResource): GremlinGraphGetPropertiesResponseResource { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230415.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230415.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230415.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + }; } /** - * Connection string for the Cosmos DB account + * The paths that are included in indexing */ - export interface DatabaseAccountConnectionStringResponse { + export interface IncludedPathResponse { /** - * Value of the connection string + * List of indexes for this path */ - connectionString: string; + indexes?: outputs.documentdb.v20230415.IndexesResponse[]; /** - * Description of the connection string + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ - description: string; + path?: string; } /** - * Specific Databases to restore. + * The indexes for the path. */ - export interface DatabaseRestoreResourceResponse { + export interface IndexesResponse { /** - * The names of the collections available for restore. + * The datatype for which the indexing behavior is applied to. */ - collectionNames?: string[]; + dataType?: string; /** - * The name of the database available for restore. + * Indicates the type of index. */ - databaseName?: string; + kind?: string; + /** + * The precision of the index. -1 is maximum precision. + */ + precision?: number; + } + /** + * indexesResponseProvideDefaults sets the appropriate defaults for IndexesResponse + */ + export function indexesResponseProvideDefaults(val: IndexesResponse): IndexesResponse { + return { + ...val, + dataType: (val.dataType) ?? "String", + kind: (val.kind) ?? "Hash", + }; } /** - * The failover policy for a given region of a database account. + * Cosmos DB indexing policy */ - export interface FailoverPolicyResponse { + export interface IndexingPolicyResponse { /** - * The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + * Indicates if the indexing policy is automatic */ - failoverPriority?: number; + automatic?: boolean; /** - * The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + * List of composite path list */ - id: string; + compositeIndexes?: outputs.documentdb.v20230415.CompositePathResponse[][]; /** - * The name of the region in which the database account exists. + * List of paths to exclude from indexing */ - locationName?: string; + excludedPaths?: outputs.documentdb.v20230415.ExcludedPathResponse[]; + /** + * List of paths to include in the indexing + */ + includedPaths?: outputs.documentdb.v20230415.IncludedPathResponse[]; + /** + * Indicates the indexing mode. + */ + indexingMode?: string; + /** + * List of spatial specifics + */ + spatialIndexes?: outputs.documentdb.v20230415.SpatialSpecResponse[]; + } + /** + * indexingPolicyResponseProvideDefaults sets the appropriate defaults for IndexingPolicyResponse + */ + export function indexingPolicyResponseProvideDefaults(val: IndexingPolicyResponse): IndexingPolicyResponse { + return { + ...val, + indexingMode: (val.indexingMode) ?? "consistent", + }; } /** @@ -225728,6 +235667,24 @@ export namespace documentdb { provisioningState: string; } + /** + * Identity for the resource. + */ + export interface ManagedCassandraManagedServiceIdentityResponse { + /** + * The object id of the identity resource. + */ + principalId: string; + /** + * The tenant id of the resource. + */ + tenantId: string; + /** + * The type of the resource. + */ + type?: string; + } + /** * Identity for the resource. */ @@ -225747,7 +235704,7 @@ export namespace documentdb { /** * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.documentdb.v20210401preview.ManagedServiceIdentityResponseUserAssignedIdentities}; + userAssignedIdentities?: {[key: string]: outputs.documentdb.v20230415.ManagedServiceIdentityResponseUserAssignedIdentities}; } export interface ManagedServiceIdentityResponseUserAssignedIdentities { @@ -225761,14 +235718,177 @@ export namespace documentdb { principalId: string; } + /** + * Resource for a regional service location. + */ + export interface MaterializedViewsBuilderRegionalServiceResourceResponse { + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * Describes the status of a service. + */ + status: string; + } + + /** + * Properties for MaterializedViewsBuilderServiceResource. + */ + export interface MaterializedViewsBuilderServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230415.MaterializedViewsBuilderRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'MaterializedViewsBuilder'. + */ + serviceType: "MaterializedViewsBuilder"; + /** + * Describes the status of a service. + */ + status: string; + } + + export interface MongoDBCollectionGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface MongoDBCollectionGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB MongoDB collection + */ + id: string; + /** + * List of index keys + */ + indexes?: outputs.documentdb.v20230415.MongoIndexResponse[]; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A key-value pair of shard keys to be applied for the request. + */ + shardKey?: {[key: string]: string}; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface MongoDBDatabaseGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface MongoDBDatabaseGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB MongoDB database + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + /** + * Cosmos DB MongoDB collection resource object + */ + export interface MongoIndexKeysResponse { + /** + * List of keys for each MongoDB collection in the Azure Cosmos DB service + */ + keys?: string[]; + } + + /** + * Cosmos DB MongoDB collection index options + */ + export interface MongoIndexOptionsResponse { + /** + * Expire after seconds + */ + expireAfterSeconds?: number; + /** + * Is unique or not + */ + unique?: boolean; + } + + /** + * Cosmos DB MongoDB collection index key + */ + export interface MongoIndexResponse { + /** + * Cosmos DB MongoDB collection index keys + */ + key?: outputs.documentdb.v20230415.MongoIndexKeysResponse; + /** + * Cosmos DB MongoDB collection index key options + */ + options?: outputs.documentdb.v20230415.MongoIndexOptionsResponse; + } + /** * The object representing periodic mode backup policy. */ export interface PeriodicModeBackupPolicyResponse { + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: outputs.documentdb.v20230415.BackupPolicyMigrationStateResponse; /** * Configuration values for periodic mode backup */ - periodicModeProperties?: outputs.documentdb.v20210401preview.PeriodicModePropertiesResponse; + periodicModeProperties?: outputs.documentdb.v20230415.PeriodicModePropertiesResponse; /** * Describes the mode of backups. * Expected value is 'Periodic'. @@ -225794,6 +235914,20 @@ export namespace documentdb { backupStorageRedundancy?: string; } + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PermissionResponse { + /** + * An array of data actions that are allowed. + */ + dataActions?: string[]; + /** + * An array of data actions that are denied. + */ + notDataActions?: string[]; + } + /** * A private endpoint connection */ @@ -225813,11 +235947,11 @@ export namespace documentdb { /** * Private endpoint which the connection belongs to. */ - privateEndpoint?: outputs.documentdb.v20210401preview.PrivateEndpointPropertyResponse; + privateEndpoint?: outputs.documentdb.v20230415.PrivateEndpointPropertyResponse; /** * Connection State of the Private Endpoint Connection. */ - privateLinkServiceConnectionState?: outputs.documentdb.v20210401preview.PrivateLinkServiceConnectionStatePropertyResponse; + privateLinkServiceConnectionState?: outputs.documentdb.v20230415.PrivateLinkServiceConnectionStatePropertyResponse; /** * Provisioning state of the private endpoint. */ @@ -225856,6 +235990,34 @@ export namespace documentdb { status?: string; } + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PrivilegeResponse { + /** + * An array of actions that are allowed. + */ + actions?: string[]; + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + resource?: outputs.documentdb.v20230415.PrivilegeResponseResource; + } + + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + export interface PrivilegeResponseResource { + /** + * The collection name the role is applied. + */ + collection?: string; + /** + * The database name the role is applied. + */ + db?: string; + } + /** * Parameters to indicate the information about the restore. */ @@ -225863,7 +236025,11 @@ export namespace documentdb { /** * List of specific databases available for restore. */ - databasesToRestore?: outputs.documentdb.v20210401preview.DatabaseRestoreResourceResponse[]; + databasesToRestore?: outputs.documentdb.v20230415.DatabaseRestoreResourceResponse[]; + /** + * List of specific gremlin databases available for restore. + */ + gremlinDatabasesToRestore?: outputs.documentdb.v20230415.GremlinDatabaseRestoreResourceResponse[]; /** * Describes the mode of the restore. */ @@ -225876,208 +236042,382 @@ export namespace documentdb { * Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: string; + /** + * List of specific tables available for restore. + */ + tablesToRestore?: string[]; } /** - * Metadata pertaining to creation and last modification of the resource. + * The set of roles permitted through this Role Definition. */ - export interface SystemDataResponse { + export interface RoleResponse { /** - * The timestamp of resource creation (UTC). + * The database name the role is applied. */ - createdAt?: string; + db?: string; /** - * The identity that created the resource. + * The role name. */ - createdBy?: string; + role?: string; + } + + export interface SeedNodeResponse { /** - * The type of identity that created the resource. + * IP address of this seed node. */ - createdByType?: string; + ipAddress?: string; + } + + export interface SpatialSpecResponse { /** - * The timestamp of resource last modification (UTC) + * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ - lastModifiedAt?: string; + path?: string; /** - * The identity that last modified the resource. + * List of path's spatial type */ - lastModifiedBy?: string; + types?: string[]; + } + + export interface SqlContainerGetPropertiesResponseOptions { /** - * The type of identity that last modified the resource. + * Specifies the Autoscale settings. */ - lastModifiedByType?: string; + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; } + export interface SqlContainerGetPropertiesResponseResource { + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * The client encryption policy for the container. + */ + clientEncryptionPolicy?: outputs.documentdb.v20230415.ClientEncryptionPolicyResponse; + /** + * The conflict resolution policy for the container. + */ + conflictResolutionPolicy?: outputs.documentdb.v20230415.ConflictResolutionPolicyResponse; + /** + * Default time to live + */ + defaultTtl?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL container + */ + id: string; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + */ + indexingPolicy?: outputs.documentdb.v20230415.IndexingPolicyResponse; + /** + * The configuration of the partition key to be used for partitioning data into multiple partitions + */ + partitionKey?: outputs.documentdb.v20230415.ContainerPartitionKeyResponse; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: outputs.documentdb.v20230415.UniqueKeyPolicyResponse; + } /** - * Virtual Network ACL Rule object + * sqlContainerGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for SqlContainerGetPropertiesResponseResource */ - export interface VirtualNetworkRuleResponse { + export function sqlContainerGetPropertiesResponseResourceProvideDefaults(val: SqlContainerGetPropertiesResponseResource): SqlContainerGetPropertiesResponseResource { + return { + ...val, + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230415.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230415.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230415.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + }; + } + + export interface SqlDatabaseGetPropertiesResponseOptions { /** - * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + * Specifies the Autoscale settings. */ - id?: string; + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; /** - * Create firewall rule before the virtual network has vnet service endpoint enabled. + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ - ignoreMissingVNetServiceEndpoint?: boolean; + throughput?: number; } - } - - export namespace v20210701preview { - export interface CertificateResponse { + export interface SqlDatabaseGetPropertiesResponseResource { /** - * PEM formatted public key. + * A system generated property that specified the addressable path of the collections resource. */ - pem?: string; + colls?: string; + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB SQL database + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + /** + * A system generated property that specifies the addressable path of the users resource. + */ + users?: string; } /** - * Properties of a managed Cassandra cluster. + * Resource for a regional service location. */ - export interface ClusterResourceResponseProperties { + export interface SqlDedicatedGatewayRegionalServiceResourceResponse { /** - * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + * The location name. */ - authenticationMethod?: string; + location: string; /** - * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + * The regional service name. */ - cassandraVersion?: string; + name: string; /** - * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + * The regional endpoint for SqlDedicatedGateway. */ - clientCertificates?: outputs.documentdb.v20210701preview.CertificateResponse[]; + sqlDedicatedGatewayEndpoint: string; /** - * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + * Describes the status of a service. */ - clusterNameOverride?: string; + status: string; + } + + /** + * Properties for SqlDedicatedGatewayServiceResource. + */ + export interface SqlDedicatedGatewayServiceResourcePropertiesResponse { /** - * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + * Time of the last state change (ISO-8601 format). */ - delegatedManagementSubnetId?: string; + creationTime: string; /** - * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + * Instance count for the service. */ - externalGossipCertificates?: outputs.documentdb.v20210701preview.CertificateResponse[]; + instanceCount?: number; /** - * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + * Instance type for the service. */ - externalSeedNodes?: outputs.documentdb.v20210701preview.SeedNodeResponse[]; + instanceSize?: string; /** - * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + * An array that contains all of the locations for the service. */ - gossipCertificates: outputs.documentdb.v20210701preview.CertificateResponse[]; + locations: outputs.documentdb.v20230415.SqlDedicatedGatewayRegionalServiceResourceResponse[]; /** - * Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0. + * ServiceType for the service. + * Expected value is 'SqlDedicatedGateway'. */ - hoursBetweenBackups?: number; + serviceType: "SqlDedicatedGateway"; /** - * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + * SqlDedicatedGateway endpoint for the service. */ - prometheusEndpoint?: outputs.documentdb.v20210701preview.SeedNodeResponse; + sqlDedicatedGatewayEndpoint?: string; /** - * The status of the resource at the time the operation was called. + * Describes the status of a service. */ - provisioningState?: string; + status: string; + } + + export interface SqlStoredProcedureGetPropertiesResponseResource { /** - * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + * Body of the Stored Procedure */ - repairEnabled?: boolean; + body?: string; /** - * List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + * A system generated property representing the resource etag required for optimistic concurrency control. */ - seedNodes: outputs.documentdb.v20210701preview.SeedNodeResponse[]; + etag: string; + /** + * Name of the Cosmos DB SQL storedProcedure + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; } - /** - * Identity for the resource. - */ - export interface ManagedServiceIdentityResponse { + export interface SqlTriggerGetPropertiesResponseResource { /** - * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + * Body of the Trigger */ - principalId: string; + body?: string; /** - * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + * A system generated property representing the resource etag required for optimistic concurrency control. */ - tenantId: string; + etag: string; /** - * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + * Name of the Cosmos DB SQL trigger */ - type?: string; + id: string; /** - * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + * A system generated property. A unique identifier. */ - userAssignedIdentities?: {[key: string]: outputs.documentdb.v20210701preview.ManagedServiceIdentityResponseUserAssignedIdentities}; + rid: string; + /** + * The operation the trigger is associated with + */ + triggerOperation?: string; + /** + * Type of the Trigger + */ + triggerType?: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; } - export interface ManagedServiceIdentityResponseUserAssignedIdentities { + export interface SqlUserDefinedFunctionGetPropertiesResponseResource { /** - * The client id of user assigned identity. + * Body of the User Defined Function */ - clientId: string; + body?: string; /** - * The principal id of user assigned identity. + * A system generated property representing the resource etag required for optimistic concurrency control. */ - principalId: string; + etag: string; + /** + * Name of the Cosmos DB SQL userDefinedFunction + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; } - export interface SeedNodeResponse { + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { /** - * IP address of this seed node. + * The timestamp of resource creation (UTC). */ - ipAddress?: string; + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; } - } + export interface TableGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } - export namespace v20230301preview { - /** - * The set of data plane operations permitted through this Role Definition. - */ - export interface PrivilegeResponse { + export interface TableGetPropertiesResponseResource { /** - * An array of actions that are allowed. + * A system generated property representing the resource etag required for optimistic concurrency control. */ - actions?: string[]; + etag: string; /** - * An Azure Cosmos DB Mongo DB Resource. + * Name of the Cosmos DB table */ - resource?: outputs.documentdb.v20230301preview.PrivilegeResponseResource; + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; } /** - * An Azure Cosmos DB Mongo DB Resource. + * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - export interface PrivilegeResponseResource { + export interface UniqueKeyPolicyResponse { /** - * The collection name the role is applied. + * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - collection?: string; + uniqueKeys?: outputs.documentdb.v20230415.UniqueKeyResponse[]; + } + + /** + * The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + */ + export interface UniqueKeyResponse { /** - * The database name the role is applied. + * List of paths must be unique for each document in the Azure Cosmos DB service */ - db?: string; + paths?: string[]; } /** - * The set of roles permitted through this Role Definition. + * Virtual Network ACL Rule object */ - export interface RoleResponse { + export interface VirtualNetworkRuleResponse { /** - * The database name the role is applied. + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. */ - db?: string; + id?: string; /** - * The role name. + * Create firewall rule before the virtual network has vnet service endpoint enabled. */ - role?: string; + ignoreMissingVNetServiceEndpoint?: boolean; } } - export namespace v20230315preview { + export namespace v20230915 { /** * The metadata related to an access key for a given database account. */ @@ -226105,6 +236445,41 @@ export namespace documentdb { serverVersion?: string; } + /** + * Ldap authentication method properties. This feature is in preview. + */ + export interface AuthenticationMethodLdapPropertiesResponse { + /** + * Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + */ + connectionTimeoutInMs?: number; + /** + * Distinguished name of the object to start the recursive search of users from. + */ + searchBaseDistinguishedName?: string; + /** + * Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + */ + searchFilterTemplate?: string; + serverCertificates?: outputs.documentdb.v20230915.CertificateResponse[]; + /** + * Hostname of the LDAP server. + */ + serverHostname?: string; + /** + * Port of the LDAP server. + */ + serverPort?: number; + /** + * Distinguished name of the look up user account, who can look up user details on authentication. + */ + serviceUserDistinguishedName?: string; + /** + * Password of the look up user. + */ + serviceUserPassword?: string; + } + export interface AutoscaleSettingsResponse { /** * Represents maximum throughput, the resource can scale up to. @@ -226150,11 +236525,30 @@ export namespace documentdb { totalThroughputLimit?: number; } + export interface CassandraErrorResponse { + /** + * Additional information about the error. + */ + additionalErrorInfo?: string; + /** + * The code of error that occurred. + */ + code?: string; + /** + * The message of the error. + */ + message?: string; + /** + * The target resource of the error. + */ + target?: string; + } + export interface CassandraKeyspaceGetPropertiesResponseOptions { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -226197,22 +236591,22 @@ export namespace documentdb { /** * List of cluster key. */ - clusterKeys?: outputs.documentdb.v20230315preview.ClusterKeyResponse[]; + clusterKeys?: outputs.documentdb.v20230915.ClusterKeyResponse[]; /** * List of Cassandra table columns. */ - columns?: outputs.documentdb.v20230315preview.ColumnResponse[]; + columns?: outputs.documentdb.v20230915.ColumnResponse[]; /** * List of partition key. */ - partitionKeys?: outputs.documentdb.v20230315preview.CassandraPartitionKeyResponse[]; + partitionKeys?: outputs.documentdb.v20230915.CassandraPartitionKeyResponse[]; } export interface CassandraTableGetPropertiesResponseOptions { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -226243,45 +236637,18 @@ export namespace documentdb { /** * Schema of the Cosmos DB Cassandra table */ - schema?: outputs.documentdb.v20230315preview.CassandraSchemaResponse; + schema?: outputs.documentdb.v20230915.CassandraSchemaResponse; /** * A system generated property that denotes the last updated timestamp of the resource. */ ts: number; } - export interface CassandraViewGetPropertiesResponseOptions { - /** - * Specifies the Autoscale settings. - */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; - /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. - */ - throughput?: number; - } - - export interface CassandraViewGetPropertiesResponseResource { - /** - * A system generated property representing the resource etag required for optimistic concurrency control. - */ - etag: string; - /** - * Name of the Cosmos DB Cassandra view - */ - id: string; - /** - * A system generated property. A unique identifier. - */ - rid: string; - /** - * A system generated property that denotes the last updated timestamp of the resource. - */ - ts: number; + export interface CertificateResponse { /** - * View Definition of the Cosmos DB Cassandra view + * PEM formatted public key. */ - viewDefinition: string; + pem?: string; } /** @@ -226313,7 +236680,7 @@ export namespace documentdb { /** * Paths of the item that need encryption along with path-specific settings. */ - includedPaths: outputs.documentdb.v20230315preview.ClientEncryptionIncludedPathResponse[]; + includedPaths: outputs.documentdb.v20230915.ClientEncryptionIncludedPathResponse[]; /** * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. */ @@ -226334,6 +236701,76 @@ export namespace documentdb { orderBy?: string; } + /** + * Properties of a managed Cassandra cluster. + */ + export interface ClusterResourceResponseProperties { + /** + * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + */ + authenticationMethod?: string; + /** + * Whether Cassandra audit logging is enabled + */ + cassandraAuditLoggingEnabled?: boolean; + /** + * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + */ + cassandraVersion?: string; + /** + * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + */ + clientCertificates?: outputs.documentdb.v20230915.CertificateResponse[]; + /** + * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + */ + clusterNameOverride?: string; + /** + * Whether the cluster and associated data centers has been deallocated. + */ + deallocated?: boolean; + /** + * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + */ + delegatedManagementSubnetId?: string; + /** + * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + */ + externalGossipCertificates?: outputs.documentdb.v20230915.CertificateResponse[]; + /** + * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + */ + externalSeedNodes?: outputs.documentdb.v20230915.SeedNodeResponse[]; + /** + * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + */ + gossipCertificates: outputs.documentdb.v20230915.CertificateResponse[]; + /** + * (Deprecated) Number of hours to wait between taking a backup of the cluster. + */ + hoursBetweenBackups?: number; + /** + * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + */ + prometheusEndpoint?: outputs.documentdb.v20230915.SeedNodeResponse; + /** + * Error related to resource provisioning. + */ + provisionError?: outputs.documentdb.v20230915.CassandraErrorResponse; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: string; + /** + * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + */ + repairEnabled?: boolean; + /** + * List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + */ + seedNodes: outputs.documentdb.v20230915.SeedNodeResponse[]; + } + /** * Cosmos DB Cassandra table column */ @@ -226386,20 +236823,6 @@ export namespace documentdb { }; } - /** - * Connection string for the mongo cluster - */ - export interface ConnectionStringResponse { - /** - * Value of the connection string - */ - connectionString: string; - /** - * Description of the connection string - */ - description: string; - } - /** * The consistency policy for the Cosmos DB database account. */ @@ -226456,11 +236879,11 @@ export namespace documentdb { /** * Configuration values for continuous mode backup */ - continuousModeProperties?: outputs.documentdb.v20230315preview.ContinuousModePropertiesResponse; + continuousModeProperties?: outputs.documentdb.v20230915.ContinuousModePropertiesResponse; /** * The object representing the state of the migration between the backup policies. */ - migrationState?: outputs.documentdb.v20230315preview.BackupPolicyMigrationStateResponse; + migrationState?: outputs.documentdb.v20230915.BackupPolicyMigrationStateResponse; /** * Describes the mode of backups. * Expected value is 'Continuous'. @@ -226473,7 +236896,7 @@ export namespace documentdb { */ export interface ContinuousModePropertiesResponse { /** - * Enum to indicate type of Continuos backup mode + * Enum to indicate type of Continuous backup mode */ tier?: string; } @@ -226504,6 +236927,121 @@ export namespace documentdb { maxAgeInSeconds?: number; } + /** + * Properties of a managed Cassandra data center. + */ + export interface DataCenterResourceResponseProperties { + /** + * Ldap authentication method properties. This feature is in preview. + */ + authenticationMethodLdapProperties?: outputs.documentdb.v20230915.AuthenticationMethodLdapPropertiesResponse; + /** + * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + */ + availabilityZone?: boolean; + /** + * Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + */ + backupStorageCustomerKeyUri?: string; + /** + * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + */ + base64EncodedCassandraYamlFragment?: string; + /** + * The region this data center should be created in. + */ + dataCenterLocation?: string; + /** + * Whether the data center has been deallocated. + */ + deallocated?: boolean; + /** + * Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + */ + delegatedSubnetId?: string; + /** + * Number of disks attached to each node. Default is 4. + */ + diskCapacity?: number; + /** + * Disk SKU used for data centers. Default value is P30. + */ + diskSku?: string; + /** + * Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + */ + managedDiskCustomerKeyUri?: string; + /** + * The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + */ + nodeCount?: number; + /** + * Error related to resource provisioning. + */ + provisionError?: outputs.documentdb.v20230915.CassandraErrorResponse; + /** + * The status of the resource at the time the operation was called. + */ + provisioningState?: string; + /** + * IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + */ + seedNodes: outputs.documentdb.v20230915.SeedNodeResponse[]; + /** + * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + */ + sku?: string; + } + + /** + * Resource for a regional service location. + */ + export interface DataTransferRegionalServiceResourceResponse { + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * Describes the status of a service. + */ + status: string; + } + + /** + * Properties for DataTransferServiceResource. + */ + export interface DataTransferServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230915.DataTransferRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'DataTransfer'. + */ + serviceType: "DataTransfer"; + /** + * Describes the status of a service. + */ + status: string; + } + /** * Connection string for the Cosmos DB account */ @@ -226533,19 +237071,19 @@ export namespace documentdb { /** * The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. */ - primaryMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + primaryMasterKey: outputs.documentdb.v20230915.AccountKeyMetadataResponse; /** * The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. */ - primaryReadonlyMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + primaryReadonlyMasterKey: outputs.documentdb.v20230915.AccountKeyMetadataResponse; /** * The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. */ - secondaryMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + secondaryMasterKey: outputs.documentdb.v20230915.AccountKeyMetadataResponse; /** * The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. */ - secondaryReadonlyMasterKey: outputs.documentdb.v20230315preview.AccountKeyMetadataResponse; + secondaryReadonlyMasterKey: outputs.documentdb.v20230915.AccountKeyMetadataResponse; } /** @@ -226562,16 +237100,6 @@ export namespace documentdb { databaseName?: string; } - /** - * Indicates what diagnostic log settings are to be enabled. - */ - export interface DiagnosticLogSettingsResponse { - /** - * Describe the level of detail with which queries are to be logged. - */ - enableFullTextQuery?: string; - } - export interface ExcludedPathResponse { /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) @@ -226597,29 +237125,68 @@ export namespace documentdb { locationName?: string; } - export interface GraphResourceGetPropertiesResponseOptions { + /** + * Resource for a regional service location. + */ + export interface GraphAPIComputeRegionalServiceResourceResponse { /** - * Specifies the Autoscale settings. + * The regional endpoint for GraphAPICompute. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + graphApiComputeEndpoint: string; /** - * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + * The location name. */ - throughput?: number; + location: string; + /** + * The regional service name. + */ + name: string; + /** + * Describes the status of a service. + */ + status: string; } - export interface GraphResourceGetPropertiesResponseResource { + /** + * Properties for GraphAPIComputeServiceResource. + */ + export interface GraphAPIComputeServiceResourcePropertiesResponse { /** - * Name of the Cosmos DB Graph + * Time of the last state change (ISO-8601 format). */ - id: string; + creationTime: string; + /** + * GraphAPICompute endpoint for the service. + */ + graphApiComputeEndpoint?: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230915.GraphAPIComputeRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'GraphAPICompute'. + */ + serviceType: "GraphAPICompute"; + /** + * Describes the status of a service. + */ + status: string; } export interface GremlinDatabaseGetPropertiesResponseOptions { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -226627,10 +237194,6 @@ export namespace documentdb { } export interface GremlinDatabaseGetPropertiesResponseResource { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -226639,10 +237202,6 @@ export namespace documentdb { * Name of the Cosmos DB Gremlin database */ id: string; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -226671,7 +237230,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -226686,11 +237245,7 @@ export namespace documentdb { /** * The conflict resolution policy for the graph. */ - conflictResolutionPolicy?: outputs.documentdb.v20230315preview.ConflictResolutionPolicyResponse; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; + conflictResolutionPolicy?: outputs.documentdb.v20230915.ConflictResolutionPolicyResponse; /** * Default time to live */ @@ -226706,15 +237261,11 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ - indexingPolicy?: outputs.documentdb.v20230315preview.IndexingPolicyResponse; + indexingPolicy?: outputs.documentdb.v20230915.IndexingPolicyResponse; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: outputs.documentdb.v20230315preview.ContainerPartitionKeyResponse; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + partitionKey?: outputs.documentdb.v20230915.ContainerPartitionKeyResponse; /** * A system generated property. A unique identifier. */ @@ -226726,7 +237277,7 @@ export namespace documentdb { /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: outputs.documentdb.v20230315preview.UniqueKeyPolicyResponse; + uniqueKeyPolicy?: outputs.documentdb.v20230915.UniqueKeyPolicyResponse; } /** * gremlinGraphGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for GremlinGraphGetPropertiesResponseResource @@ -226734,9 +237285,9 @@ export namespace documentdb { export function gremlinGraphGetPropertiesResponseResourceProvideDefaults(val: GremlinGraphGetPropertiesResponseResource): GremlinGraphGetPropertiesResponseResource { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230315preview.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), - indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230315preview.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), - partitionKey: (val.partitionKey ? outputs.documentdb.v20230315preview.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230915.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230915.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230915.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), }; } @@ -226747,7 +237298,7 @@ export namespace documentdb { /** * List of indexes for this path */ - indexes?: outputs.documentdb.v20230315preview.IndexesResponse[]; + indexes?: outputs.documentdb.v20230915.IndexesResponse[]; /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ @@ -226793,15 +237344,15 @@ export namespace documentdb { /** * List of composite path list */ - compositeIndexes?: outputs.documentdb.v20230315preview.CompositePathResponse[][]; + compositeIndexes?: outputs.documentdb.v20230915.CompositePathResponse[][]; /** * List of paths to exclude from indexing */ - excludedPaths?: outputs.documentdb.v20230315preview.ExcludedPathResponse[]; + excludedPaths?: outputs.documentdb.v20230915.ExcludedPathResponse[]; /** * List of paths to include in the indexing */ - includedPaths?: outputs.documentdb.v20230315preview.IncludedPathResponse[]; + includedPaths?: outputs.documentdb.v20230915.IncludedPathResponse[]; /** * Indicates the indexing mode. */ @@ -226809,7 +237360,7 @@ export namespace documentdb { /** * List of spatial specifics */ - spatialIndexes?: outputs.documentdb.v20230315preview.SpatialSpecResponse[]; + spatialIndexes?: outputs.documentdb.v20230915.SpatialSpecResponse[]; } /** * indexingPolicyResponseProvideDefaults sets the appropriate defaults for IndexingPolicyResponse @@ -226861,6 +237412,24 @@ export namespace documentdb { provisioningState: string; } + /** + * Identity for the resource. + */ + export interface ManagedCassandraManagedServiceIdentityResponse { + /** + * The object id of the identity resource. + */ + principalId: string; + /** + * The tenant id of the resource. + */ + tenantId: string; + /** + * The type of the resource. + */ + type?: string; + } + /** * Identity for the resource. */ @@ -226880,7 +237449,7 @@ export namespace documentdb { /** * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.documentdb.v20230315preview.ManagedServiceIdentityResponseUserAssignedIdentities}; + userAssignedIdentities?: {[key: string]: outputs.documentdb.v20230915.ManagedServiceIdentityResponseUserAssignedIdentities}; } export interface ManagedServiceIdentityResponseUserAssignedIdentities { @@ -226895,28 +237464,59 @@ export namespace documentdb { } /** - * Materialized View definition for the container. + * Resource for a regional service location. */ - export interface MaterializedViewDefinitionResponse { + export interface MaterializedViewsBuilderRegionalServiceResourceResponse { /** - * The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + * The location name. */ - definition: string; + location: string; /** - * The name of the source container on which the Materialized View will be created. + * The regional service name. */ - sourceCollectionId: string; + name: string; /** - * An unique identifier for the source collection. This is a system generated property. + * Describes the status of a service. */ - sourceCollectionRid: string; + status: string; + } + + /** + * Properties for MaterializedViewsBuilderServiceResource. + */ + export interface MaterializedViewsBuilderServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230915.MaterializedViewsBuilderRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'MaterializedViewsBuilder'. + */ + serviceType: "MaterializedViewsBuilder"; + /** + * Describes the status of a service. + */ + status: string; } export interface MongoDBCollectionGetPropertiesResponseOptions { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -226928,10 +237528,6 @@ export namespace documentdb { * Analytical TTL. */ analyticalStorageTtl?: number; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -226943,11 +237539,7 @@ export namespace documentdb { /** * List of index keys */ - indexes?: outputs.documentdb.v20230315preview.MongoIndexResponse[]; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + indexes?: outputs.documentdb.v20230915.MongoIndexResponse[]; /** * A system generated property. A unique identifier. */ @@ -226966,7 +237558,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -226974,10 +237566,6 @@ export namespace documentdb { } export interface MongoDBDatabaseGetPropertiesResponseResource { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -226986,10 +237574,6 @@ export namespace documentdb { * Name of the Cosmos DB MongoDB database */ id: string; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -227031,37 +237615,11 @@ export namespace documentdb { /** * Cosmos DB MongoDB collection index keys */ - key?: outputs.documentdb.v20230315preview.MongoIndexKeysResponse; + key?: outputs.documentdb.v20230915.MongoIndexKeysResponse; /** * Cosmos DB MongoDB collection index key options */ - options?: outputs.documentdb.v20230315preview.MongoIndexOptionsResponse; - } - - /** - * Specification for a node group. - */ - export interface NodeGroupSpecResponse { - /** - * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. - */ - diskSizeGB?: number; - /** - * Whether high availability is enabled on the node group. - */ - enableHa?: boolean; - /** - * The node type deployed in the node group. - */ - kind?: string; - /** - * The number of nodes in the node group. - */ - nodeCount?: number; - /** - * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. - */ - sku?: string; + options?: outputs.documentdb.v20230915.MongoIndexOptionsResponse; } /** @@ -227071,11 +237629,11 @@ export namespace documentdb { /** * The object representing the state of the migration between the backup policies. */ - migrationState?: outputs.documentdb.v20230315preview.BackupPolicyMigrationStateResponse; + migrationState?: outputs.documentdb.v20230915.BackupPolicyMigrationStateResponse; /** * Configuration values for periodic mode backup */ - periodicModeProperties?: outputs.documentdb.v20230315preview.PeriodicModePropertiesResponse; + periodicModeProperties?: outputs.documentdb.v20230915.PeriodicModePropertiesResponse; /** * Describes the mode of backups. * Expected value is 'Periodic'. @@ -227101,6 +237659,20 @@ export namespace documentdb { backupStorageRedundancy?: string; } + /** + * The set of data plane operations permitted through this Role Definition. + */ + export interface PermissionResponse { + /** + * An array of data actions that are allowed. + */ + dataActions?: string[]; + /** + * An array of data actions that are denied. + */ + notDataActions?: string[]; + } + /** * A private endpoint connection */ @@ -227120,11 +237692,11 @@ export namespace documentdb { /** * Private endpoint which the connection belongs to. */ - privateEndpoint?: outputs.documentdb.v20230315preview.PrivateEndpointPropertyResponse; + privateEndpoint?: outputs.documentdb.v20230915.PrivateEndpointPropertyResponse; /** * Connection State of the Private Endpoint Connection. */ - privateLinkServiceConnectionState?: outputs.documentdb.v20230315preview.PrivateLinkServiceConnectionStatePropertyResponse; + privateLinkServiceConnectionState?: outputs.documentdb.v20230915.PrivateLinkServiceConnectionStatePropertyResponse; /** * Provisioning state of the private endpoint. */ @@ -227164,17 +237736,31 @@ export namespace documentdb { } /** - * Parameters to indicate the information about the restore. + * The set of data plane operations permitted through this Role Definition. */ - export interface ResourceRestoreParametersResponse { + export interface PrivilegeResponse { /** - * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + * An array of actions that are allowed. */ - restoreSource?: string; + actions?: string[]; /** - * Time to which the account has to be restored (ISO-8601 format). + * An Azure Cosmos DB Mongo DB Resource. */ - restoreTimestampInUtc?: string; + resource?: outputs.documentdb.v20230915.PrivilegeResponseResource; + } + + /** + * An Azure Cosmos DB Mongo DB Resource. + */ + export interface PrivilegeResponseResource { + /** + * The collection name the role is applied. + */ + collection?: string; + /** + * The database name the role is applied. + */ + db?: string; } /** @@ -227184,11 +237770,11 @@ export namespace documentdb { /** * List of specific databases available for restore. */ - databasesToRestore?: outputs.documentdb.v20230315preview.DatabaseRestoreResourceResponse[]; + databasesToRestore?: outputs.documentdb.v20230915.DatabaseRestoreResourceResponse[]; /** * List of specific gremlin databases available for restore. */ - gremlinDatabasesToRestore?: outputs.documentdb.v20230315preview.GremlinDatabaseRestoreResourceResponse[]; + gremlinDatabasesToRestore?: outputs.documentdb.v20230915.GremlinDatabaseRestoreResourceResponse[]; /** * Describes the mode of the restore. */ @@ -227201,16 +237787,33 @@ export namespace documentdb { * Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: string; - /** - * The source backup location for restore. - */ - sourceBackupLocation?: string; /** * List of specific tables available for restore. */ tablesToRestore?: string[]; } + /** + * The set of roles permitted through this Role Definition. + */ + export interface RoleResponse { + /** + * The database name the role is applied. + */ + db?: string; + /** + * The role name. + */ + role?: string; + } + + export interface SeedNodeResponse { + /** + * IP address of this seed node. + */ + ipAddress?: string; + } + export interface SpatialSpecResponse { /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) @@ -227226,7 +237829,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -227241,15 +237844,11 @@ export namespace documentdb { /** * The client encryption policy for the container. */ - clientEncryptionPolicy?: outputs.documentdb.v20230315preview.ClientEncryptionPolicyResponse; + clientEncryptionPolicy?: outputs.documentdb.v20230915.ClientEncryptionPolicyResponse; /** * The conflict resolution policy for the container. */ - conflictResolutionPolicy?: outputs.documentdb.v20230315preview.ConflictResolutionPolicyResponse; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; + conflictResolutionPolicy?: outputs.documentdb.v20230915.ConflictResolutionPolicyResponse; /** * Default time to live */ @@ -227265,19 +237864,11 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ - indexingPolicy?: outputs.documentdb.v20230315preview.IndexingPolicyResponse; - /** - * The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. - */ - materializedViewDefinition?: outputs.documentdb.v20230315preview.MaterializedViewDefinitionResponse; + indexingPolicy?: outputs.documentdb.v20230915.IndexingPolicyResponse; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: outputs.documentdb.v20230315preview.ContainerPartitionKeyResponse; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; + partitionKey?: outputs.documentdb.v20230915.ContainerPartitionKeyResponse; /** * A system generated property. A unique identifier. */ @@ -227289,7 +237880,7 @@ export namespace documentdb { /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: outputs.documentdb.v20230315preview.UniqueKeyPolicyResponse; + uniqueKeyPolicy?: outputs.documentdb.v20230915.UniqueKeyPolicyResponse; } /** * sqlContainerGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for SqlContainerGetPropertiesResponseResource @@ -227297,9 +237888,9 @@ export namespace documentdb { export function sqlContainerGetPropertiesResponseResourceProvideDefaults(val: SqlContainerGetPropertiesResponseResource): SqlContainerGetPropertiesResponseResource { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230315preview.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), - indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230315preview.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), - partitionKey: (val.partitionKey ? outputs.documentdb.v20230315preview.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230915.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230915.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230915.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), }; } @@ -227307,7 +237898,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -227319,10 +237910,6 @@ export namespace documentdb { * A system generated property that specified the addressable path of the collections resource. */ colls?: string; - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -227331,10 +237918,6 @@ export namespace documentdb { * Name of the Cosmos DB SQL database */ id: string; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -227349,6 +237932,63 @@ export namespace documentdb { users?: string; } + /** + * Resource for a regional service location. + */ + export interface SqlDedicatedGatewayRegionalServiceResourceResponse { + /** + * The location name. + */ + location: string; + /** + * The regional service name. + */ + name: string; + /** + * The regional endpoint for SqlDedicatedGateway. + */ + sqlDedicatedGatewayEndpoint: string; + /** + * Describes the status of a service. + */ + status: string; + } + + /** + * Properties for SqlDedicatedGatewayServiceResource. + */ + export interface SqlDedicatedGatewayServiceResourcePropertiesResponse { + /** + * Time of the last state change (ISO-8601 format). + */ + creationTime: string; + /** + * Instance count for the service. + */ + instanceCount?: number; + /** + * Instance type for the service. + */ + instanceSize?: string; + /** + * An array that contains all of the locations for the service. + */ + locations: outputs.documentdb.v20230915.SqlDedicatedGatewayRegionalServiceResourceResponse[]; + /** + * ServiceType for the service. + * Expected value is 'SqlDedicatedGateway'. + */ + serviceType: "SqlDedicatedGateway"; + /** + * SqlDedicatedGateway endpoint for the service. + */ + sqlDedicatedGatewayEndpoint?: string; + /** + * Describes the status of a service. + */ + status: string; + } + export interface SqlStoredProcedureGetPropertiesResponseResource { /** * Body of the Stored Procedure @@ -227460,7 +238100,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230315preview.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -227468,10 +238108,6 @@ export namespace documentdb { } export interface TableGetPropertiesResponseResource { - /** - * Enum to indicate the mode of resource creation. - */ - createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -227480,10 +238116,6 @@ export namespace documentdb { * Name of the Cosmos DB table */ id: string; - /** - * Parameters to indicate the information about the restore - */ - restoreParameters?: outputs.documentdb.v20230315preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -227501,7 +238133,7 @@ export namespace documentdb { /** * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeys?: outputs.documentdb.v20230315preview.UniqueKeyResponse[]; + uniqueKeys?: outputs.documentdb.v20230915.UniqueKeyResponse[]; } /** @@ -227530,7 +238162,7 @@ export namespace documentdb { } - export namespace v20230415 { + export namespace v20230915preview { /** * The metadata related to an access key for a given database account. */ @@ -227574,7 +238206,7 @@ export namespace documentdb { * Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. */ searchFilterTemplate?: string; - serverCertificates?: outputs.documentdb.v20230415.CertificateResponse[]; + serverCertificates?: outputs.documentdb.v20230915preview.CertificateResponse[]; /** * Hostname of the LDAP server. */ @@ -227618,6 +238250,21 @@ export namespace documentdb { targetType?: string; } + export interface BackupScheduleResponse { + /** + * The cron expression that defines when you want to back up your data. + */ + cronExpression?: string; + /** + * The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + */ + retentionInHours?: number; + /** + * The unique identifier of backup schedule. + */ + scheduleName?: string; + } + /** * Cosmos DB capability object */ @@ -227661,7 +238308,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -227704,22 +238351,22 @@ export namespace documentdb { /** * List of cluster key. */ - clusterKeys?: outputs.documentdb.v20230415.ClusterKeyResponse[]; + clusterKeys?: outputs.documentdb.v20230915preview.ClusterKeyResponse[]; /** * List of Cassandra table columns. */ - columns?: outputs.documentdb.v20230415.ColumnResponse[]; + columns?: outputs.documentdb.v20230915preview.ColumnResponse[]; /** * List of partition key. */ - partitionKeys?: outputs.documentdb.v20230415.CassandraPartitionKeyResponse[]; + partitionKeys?: outputs.documentdb.v20230915preview.CassandraPartitionKeyResponse[]; } export interface CassandraTableGetPropertiesResponseOptions { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -227750,11 +238397,45 @@ export namespace documentdb { /** * Schema of the Cosmos DB Cassandra table */ - schema?: outputs.documentdb.v20230415.CassandraSchemaResponse; + schema?: outputs.documentdb.v20230915preview.CassandraSchemaResponse; + /** + * A system generated property that denotes the last updated timestamp of the resource. + */ + ts: number; + } + + export interface CassandraViewGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface CassandraViewGetPropertiesResponseResource { + /** + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + etag: string; + /** + * Name of the Cosmos DB Cassandra view + */ + id: string; + /** + * A system generated property. A unique identifier. + */ + rid: string; /** * A system generated property that denotes the last updated timestamp of the resource. */ ts: number; + /** + * View Definition of the Cosmos DB Cassandra view + */ + viewDefinition: string; } export interface CertificateResponse { @@ -227793,7 +238474,7 @@ export namespace documentdb { /** * Paths of the item that need encryption along with path-specific settings. */ - includedPaths: outputs.documentdb.v20230415.ClientEncryptionIncludedPathResponse[]; + includedPaths: outputs.documentdb.v20230915preview.ClientEncryptionIncludedPathResponse[]; /** * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. */ @@ -227822,6 +238503,10 @@ export namespace documentdb { * Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. */ authenticationMethod?: string; + /** + * List of backup schedules that define when you want to back up your data. + */ + backupSchedules?: outputs.documentdb.v20230915preview.BackupScheduleResponse[]; /** * Whether Cassandra audit logging is enabled */ @@ -227833,11 +238518,15 @@ export namespace documentdb { /** * List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. */ - clientCertificates?: outputs.documentdb.v20230415.CertificateResponse[]; + clientCertificates?: outputs.documentdb.v20230915preview.CertificateResponse[]; /** * If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. */ clusterNameOverride?: string; + /** + * Type of the cluster. If set to Production, some operations might not be permitted on cluster. + */ + clusterType?: string; /** * Whether the cluster and associated data centers has been deallocated. */ @@ -227846,18 +238535,22 @@ export namespace documentdb { * Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' */ delegatedManagementSubnetId?: string; + /** + * Extensions to be added or updated on cluster. + */ + extensions?: string[]; /** * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. */ - externalGossipCertificates?: outputs.documentdb.v20230415.CertificateResponse[]; + externalGossipCertificates?: outputs.documentdb.v20230915preview.CertificateResponse[]; /** * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. */ - externalSeedNodes?: outputs.documentdb.v20230415.SeedNodeResponse[]; + externalSeedNodes?: outputs.documentdb.v20230915preview.SeedNodeResponse[]; /** * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. */ - gossipCertificates: outputs.documentdb.v20230415.CertificateResponse[]; + gossipCertificates: outputs.documentdb.v20230915preview.CertificateResponse[]; /** * (Deprecated) Number of hours to wait between taking a backup of the cluster. */ @@ -227865,11 +238558,11 @@ export namespace documentdb { /** * Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. */ - prometheusEndpoint?: outputs.documentdb.v20230415.SeedNodeResponse; + prometheusEndpoint?: outputs.documentdb.v20230915preview.SeedNodeResponse; /** * Error related to resource provisioning. */ - provisionError?: outputs.documentdb.v20230415.CassandraErrorResponse; + provisionError?: outputs.documentdb.v20230915preview.CassandraErrorResponse; /** * The status of the resource at the time the operation was called. */ @@ -227881,7 +238574,7 @@ export namespace documentdb { /** * List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. */ - seedNodes: outputs.documentdb.v20230415.SeedNodeResponse[]; + seedNodes: outputs.documentdb.v20230915preview.SeedNodeResponse[]; } /** @@ -227936,6 +238629,20 @@ export namespace documentdb { }; } + /** + * Connection string for the mongo cluster + */ + export interface ConnectionStringResponse { + /** + * Value of the connection string + */ + connectionString: string; + /** + * Description of the connection string + */ + description: string; + } + /** * The consistency policy for the Cosmos DB database account. */ @@ -227992,11 +238699,11 @@ export namespace documentdb { /** * Configuration values for continuous mode backup */ - continuousModeProperties?: outputs.documentdb.v20230415.ContinuousModePropertiesResponse; + continuousModeProperties?: outputs.documentdb.v20230915preview.ContinuousModePropertiesResponse; /** * The object representing the state of the migration between the backup policies. */ - migrationState?: outputs.documentdb.v20230415.BackupPolicyMigrationStateResponse; + migrationState?: outputs.documentdb.v20230915preview.BackupPolicyMigrationStateResponse; /** * Describes the mode of backups. * Expected value is 'Continuous'. @@ -228009,7 +238716,7 @@ export namespace documentdb { */ export interface ContinuousModePropertiesResponse { /** - * Enum to indicate type of Continuous backup mode + * Enum to indicate type of Continuos backup mode */ tier?: string; } @@ -228047,7 +238754,7 @@ export namespace documentdb { /** * Ldap authentication method properties. This feature is in preview. */ - authenticationMethodLdapProperties?: outputs.documentdb.v20230415.AuthenticationMethodLdapPropertiesResponse; + authenticationMethodLdapProperties?: outputs.documentdb.v20230915preview.AuthenticationMethodLdapPropertiesResponse; /** * If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. */ @@ -228091,7 +238798,7 @@ export namespace documentdb { /** * Error related to resource provisioning. */ - provisionError?: outputs.documentdb.v20230415.CassandraErrorResponse; + provisionError?: outputs.documentdb.v20230915preview.CassandraErrorResponse; /** * The status of the resource at the time the operation was called. */ @@ -228099,7 +238806,7 @@ export namespace documentdb { /** * IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. */ - seedNodes: outputs.documentdb.v20230415.SeedNodeResponse[]; + seedNodes: outputs.documentdb.v20230915preview.SeedNodeResponse[]; /** * Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 */ @@ -228143,7 +238850,7 @@ export namespace documentdb { /** * An array that contains all of the locations for the service. */ - locations: outputs.documentdb.v20230415.DataTransferRegionalServiceResourceResponse[]; + locations: outputs.documentdb.v20230915preview.DataTransferRegionalServiceResourceResponse[]; /** * ServiceType for the service. * Expected value is 'DataTransfer'. @@ -228184,19 +238891,19 @@ export namespace documentdb { /** * The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. */ - primaryMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + primaryMasterKey: outputs.documentdb.v20230915preview.AccountKeyMetadataResponse; /** * The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. */ - primaryReadonlyMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + primaryReadonlyMasterKey: outputs.documentdb.v20230915preview.AccountKeyMetadataResponse; /** * The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. */ - secondaryMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + secondaryMasterKey: outputs.documentdb.v20230915preview.AccountKeyMetadataResponse; /** * The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. */ - secondaryReadonlyMasterKey: outputs.documentdb.v20230415.AccountKeyMetadataResponse; + secondaryReadonlyMasterKey: outputs.documentdb.v20230915preview.AccountKeyMetadataResponse; } /** @@ -228213,6 +238920,16 @@ export namespace documentdb { databaseName?: string; } + /** + * Indicates what diagnostic log settings are to be enabled. + */ + export interface DiagnosticLogSettingsResponse { + /** + * Describe the level of detail with which queries are to be logged. + */ + enableFullTextQuery?: string; + } + export interface ExcludedPathResponse { /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) @@ -228283,7 +239000,7 @@ export namespace documentdb { /** * An array that contains all of the locations for the service. */ - locations: outputs.documentdb.v20230415.GraphAPIComputeRegionalServiceResourceResponse[]; + locations: outputs.documentdb.v20230915preview.GraphAPIComputeRegionalServiceResourceResponse[]; /** * ServiceType for the service. * Expected value is 'GraphAPICompute'. @@ -228295,11 +239012,29 @@ export namespace documentdb { status: string; } + export interface GraphResourceGetPropertiesResponseOptions { + /** + * Specifies the Autoscale settings. + */ + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; + /** + * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + */ + throughput?: number; + } + + export interface GraphResourceGetPropertiesResponseResource { + /** + * Name of the Cosmos DB Graph + */ + id: string; + } + export interface GremlinDatabaseGetPropertiesResponseOptions { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -228307,6 +239042,10 @@ export namespace documentdb { } export interface GremlinDatabaseGetPropertiesResponseResource { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -228315,6 +239054,10 @@ export namespace documentdb { * Name of the Cosmos DB Gremlin database */ id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -228343,7 +239086,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -228358,7 +239101,11 @@ export namespace documentdb { /** * The conflict resolution policy for the graph. */ - conflictResolutionPolicy?: outputs.documentdb.v20230415.ConflictResolutionPolicyResponse; + conflictResolutionPolicy?: outputs.documentdb.v20230915preview.ConflictResolutionPolicyResponse; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * Default time to live */ @@ -228374,11 +239121,15 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ - indexingPolicy?: outputs.documentdb.v20230415.IndexingPolicyResponse; + indexingPolicy?: outputs.documentdb.v20230915preview.IndexingPolicyResponse; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: outputs.documentdb.v20230415.ContainerPartitionKeyResponse; + partitionKey?: outputs.documentdb.v20230915preview.ContainerPartitionKeyResponse; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -228390,7 +239141,7 @@ export namespace documentdb { /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: outputs.documentdb.v20230415.UniqueKeyPolicyResponse; + uniqueKeyPolicy?: outputs.documentdb.v20230915preview.UniqueKeyPolicyResponse; } /** * gremlinGraphGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for GremlinGraphGetPropertiesResponseResource @@ -228398,9 +239149,9 @@ export namespace documentdb { export function gremlinGraphGetPropertiesResponseResourceProvideDefaults(val: GremlinGraphGetPropertiesResponseResource): GremlinGraphGetPropertiesResponseResource { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230415.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), - indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230415.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), - partitionKey: (val.partitionKey ? outputs.documentdb.v20230415.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230915preview.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230915preview.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230915preview.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), }; } @@ -228411,7 +239162,7 @@ export namespace documentdb { /** * List of indexes for this path */ - indexes?: outputs.documentdb.v20230415.IndexesResponse[]; + indexes?: outputs.documentdb.v20230915preview.IndexesResponse[]; /** * The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ @@ -228457,15 +239208,15 @@ export namespace documentdb { /** * List of composite path list */ - compositeIndexes?: outputs.documentdb.v20230415.CompositePathResponse[][]; + compositeIndexes?: outputs.documentdb.v20230915preview.CompositePathResponse[][]; /** * List of paths to exclude from indexing */ - excludedPaths?: outputs.documentdb.v20230415.ExcludedPathResponse[]; + excludedPaths?: outputs.documentdb.v20230915preview.ExcludedPathResponse[]; /** * List of paths to include in the indexing */ - includedPaths?: outputs.documentdb.v20230415.IncludedPathResponse[]; + includedPaths?: outputs.documentdb.v20230915preview.IncludedPathResponse[]; /** * Indicates the indexing mode. */ @@ -228473,7 +239224,7 @@ export namespace documentdb { /** * List of spatial specifics */ - spatialIndexes?: outputs.documentdb.v20230415.SpatialSpecResponse[]; + spatialIndexes?: outputs.documentdb.v20230915preview.SpatialSpecResponse[]; } /** * indexingPolicyResponseProvideDefaults sets the appropriate defaults for IndexingPolicyResponse @@ -228562,7 +239313,7 @@ export namespace documentdb { /** * The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.documentdb.v20230415.ManagedServiceIdentityResponseUserAssignedIdentities}; + userAssignedIdentities?: {[key: string]: outputs.documentdb.v20230915preview.ManagedServiceIdentityResponseUserAssignedIdentities}; } export interface ManagedServiceIdentityResponseUserAssignedIdentities { @@ -228576,6 +239327,24 @@ export namespace documentdb { principalId: string; } + /** + * Materialized View definition for the container. + */ + export interface MaterializedViewDefinitionResponse { + /** + * The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + */ + definition: string; + /** + * The name of the source container on which the Materialized View will be created. + */ + sourceCollectionId: string; + /** + * An unique identifier for the source collection. This is a system generated property. + */ + sourceCollectionRid: string; + } + /** * Resource for a regional service location. */ @@ -228613,7 +239382,7 @@ export namespace documentdb { /** * An array that contains all of the locations for the service. */ - locations: outputs.documentdb.v20230415.MaterializedViewsBuilderRegionalServiceResourceResponse[]; + locations: outputs.documentdb.v20230915preview.MaterializedViewsBuilderRegionalServiceResourceResponse[]; /** * ServiceType for the service. * Expected value is 'MaterializedViewsBuilder'. @@ -228629,7 +239398,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -228641,6 +239410,10 @@ export namespace documentdb { * Analytical TTL. */ analyticalStorageTtl?: number; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -228652,7 +239425,11 @@ export namespace documentdb { /** * List of index keys */ - indexes?: outputs.documentdb.v20230415.MongoIndexResponse[]; + indexes?: outputs.documentdb.v20230915preview.MongoIndexResponse[]; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -228671,7 +239448,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -228679,6 +239456,10 @@ export namespace documentdb { } export interface MongoDBDatabaseGetPropertiesResponseResource { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -228687,6 +239468,10 @@ export namespace documentdb { * Name of the Cosmos DB MongoDB database */ id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -228728,11 +239513,37 @@ export namespace documentdb { /** * Cosmos DB MongoDB collection index keys */ - key?: outputs.documentdb.v20230415.MongoIndexKeysResponse; + key?: outputs.documentdb.v20230915preview.MongoIndexKeysResponse; /** * Cosmos DB MongoDB collection index key options */ - options?: outputs.documentdb.v20230415.MongoIndexOptionsResponse; + options?: outputs.documentdb.v20230915preview.MongoIndexOptionsResponse; + } + + /** + * Specification for a node group. + */ + export interface NodeGroupSpecResponse { + /** + * The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + */ + diskSizeGB?: number; + /** + * Whether high availability is enabled on the node group. + */ + enableHa?: boolean; + /** + * The node type deployed in the node group. + */ + kind?: string; + /** + * The number of nodes in the node group. + */ + nodeCount?: number; + /** + * The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + */ + sku?: string; } /** @@ -228742,11 +239553,11 @@ export namespace documentdb { /** * The object representing the state of the migration between the backup policies. */ - migrationState?: outputs.documentdb.v20230415.BackupPolicyMigrationStateResponse; + migrationState?: outputs.documentdb.v20230915preview.BackupPolicyMigrationStateResponse; /** * Configuration values for periodic mode backup */ - periodicModeProperties?: outputs.documentdb.v20230415.PeriodicModePropertiesResponse; + periodicModeProperties?: outputs.documentdb.v20230915preview.PeriodicModePropertiesResponse; /** * Describes the mode of backups. * Expected value is 'Periodic'. @@ -228805,11 +239616,11 @@ export namespace documentdb { /** * Private endpoint which the connection belongs to. */ - privateEndpoint?: outputs.documentdb.v20230415.PrivateEndpointPropertyResponse; + privateEndpoint?: outputs.documentdb.v20230915preview.PrivateEndpointPropertyResponse; /** * Connection State of the Private Endpoint Connection. */ - privateLinkServiceConnectionState?: outputs.documentdb.v20230415.PrivateLinkServiceConnectionStatePropertyResponse; + privateLinkServiceConnectionState?: outputs.documentdb.v20230915preview.PrivateLinkServiceConnectionStatePropertyResponse; /** * Provisioning state of the private endpoint. */ @@ -228859,7 +239670,7 @@ export namespace documentdb { /** * An Azure Cosmos DB Mongo DB Resource. */ - resource?: outputs.documentdb.v20230415.PrivilegeResponseResource; + resource?: outputs.documentdb.v20230915preview.PrivilegeResponseResource; } /** @@ -228876,6 +239687,20 @@ export namespace documentdb { db?: string; } + /** + * Parameters to indicate the information about the restore. + */ + export interface ResourceRestoreParametersResponse { + /** + * The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: string; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: string; + } + /** * Parameters to indicate the information about the restore. */ @@ -228883,11 +239708,11 @@ export namespace documentdb { /** * List of specific databases available for restore. */ - databasesToRestore?: outputs.documentdb.v20230415.DatabaseRestoreResourceResponse[]; + databasesToRestore?: outputs.documentdb.v20230915preview.DatabaseRestoreResourceResponse[]; /** * List of specific gremlin databases available for restore. */ - gremlinDatabasesToRestore?: outputs.documentdb.v20230415.GremlinDatabaseRestoreResourceResponse[]; + gremlinDatabasesToRestore?: outputs.documentdb.v20230915preview.GremlinDatabaseRestoreResourceResponse[]; /** * Describes the mode of the restore. */ @@ -228900,6 +239725,10 @@ export namespace documentdb { * Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: string; + /** + * The source backup location for restore. + */ + sourceBackupLocation?: string; /** * List of specific tables available for restore. */ @@ -228942,7 +239771,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -228957,11 +239786,15 @@ export namespace documentdb { /** * The client encryption policy for the container. */ - clientEncryptionPolicy?: outputs.documentdb.v20230415.ClientEncryptionPolicyResponse; + clientEncryptionPolicy?: outputs.documentdb.v20230915preview.ClientEncryptionPolicyResponse; /** * The conflict resolution policy for the container. */ - conflictResolutionPolicy?: outputs.documentdb.v20230415.ConflictResolutionPolicyResponse; + conflictResolutionPolicy?: outputs.documentdb.v20230915preview.ConflictResolutionPolicyResponse; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * Default time to live */ @@ -228977,11 +239810,19 @@ export namespace documentdb { /** * The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ - indexingPolicy?: outputs.documentdb.v20230415.IndexingPolicyResponse; + indexingPolicy?: outputs.documentdb.v20230915preview.IndexingPolicyResponse; + /** + * The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + */ + materializedViewDefinition?: outputs.documentdb.v20230915preview.MaterializedViewDefinitionResponse; /** * The configuration of the partition key to be used for partitioning data into multiple partitions */ - partitionKey?: outputs.documentdb.v20230415.ContainerPartitionKeyResponse; + partitionKey?: outputs.documentdb.v20230915preview.ContainerPartitionKeyResponse; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -228993,7 +239834,7 @@ export namespace documentdb { /** * The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeyPolicy?: outputs.documentdb.v20230415.UniqueKeyPolicyResponse; + uniqueKeyPolicy?: outputs.documentdb.v20230915preview.UniqueKeyPolicyResponse; } /** * sqlContainerGetPropertiesResponseResourceProvideDefaults sets the appropriate defaults for SqlContainerGetPropertiesResponseResource @@ -229001,9 +239842,9 @@ export namespace documentdb { export function sqlContainerGetPropertiesResponseResourceProvideDefaults(val: SqlContainerGetPropertiesResponseResource): SqlContainerGetPropertiesResponseResource { return { ...val, - conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230415.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), - indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230415.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), - partitionKey: (val.partitionKey ? outputs.documentdb.v20230415.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), + conflictResolutionPolicy: (val.conflictResolutionPolicy ? outputs.documentdb.v20230915preview.conflictResolutionPolicyResponseProvideDefaults(val.conflictResolutionPolicy) : undefined), + indexingPolicy: (val.indexingPolicy ? outputs.documentdb.v20230915preview.indexingPolicyResponseProvideDefaults(val.indexingPolicy) : undefined), + partitionKey: (val.partitionKey ? outputs.documentdb.v20230915preview.containerPartitionKeyResponseProvideDefaults(val.partitionKey) : undefined), }; } @@ -229011,7 +239852,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -229023,6 +239864,10 @@ export namespace documentdb { * A system generated property that specified the addressable path of the collections resource. */ colls?: string; + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -229031,6 +239876,10 @@ export namespace documentdb { * Name of the Cosmos DB SQL database */ id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -229086,7 +239935,7 @@ export namespace documentdb { /** * An array that contains all of the locations for the service. */ - locations: outputs.documentdb.v20230415.SqlDedicatedGatewayRegionalServiceResourceResponse[]; + locations: outputs.documentdb.v20230915preview.SqlDedicatedGatewayRegionalServiceResourceResponse[]; /** * ServiceType for the service. * Expected value is 'SqlDedicatedGateway'. @@ -229213,7 +240062,7 @@ export namespace documentdb { /** * Specifies the Autoscale settings. */ - autoscaleSettings?: outputs.documentdb.v20230415.AutoscaleSettingsResponse; + autoscaleSettings?: outputs.documentdb.v20230915preview.AutoscaleSettingsResponse; /** * Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ @@ -229221,6 +240070,10 @@ export namespace documentdb { } export interface TableGetPropertiesResponseResource { + /** + * Enum to indicate the mode of resource creation. + */ + createMode?: string; /** * A system generated property representing the resource etag required for optimistic concurrency control. */ @@ -229229,6 +240082,10 @@ export namespace documentdb { * Name of the Cosmos DB table */ id: string; + /** + * Parameters to indicate the information about the restore + */ + restoreParameters?: outputs.documentdb.v20230915preview.ResourceRestoreParametersResponse; /** * A system generated property. A unique identifier. */ @@ -229246,7 +240103,7 @@ export namespace documentdb { /** * List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ - uniqueKeys?: outputs.documentdb.v20230415.UniqueKeyResponse[]; + uniqueKeys?: outputs.documentdb.v20230915preview.UniqueKeyResponse[]; } /** @@ -234539,6 +245396,16 @@ export namespace elasticsan { tier?: string; } + /** + * Data used when creating a volume snapshot. + */ + export interface SnapshotCreationDataResponse { + /** + * Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + */ + sourceId: string; + } + /** * Data source used when creating the volume. */ @@ -234644,7 +245511,197 @@ export namespace elasticsan { /** * The list of virtual network rules. */ - virtualNetworkRules?: outputs.elasticsan.v20211120preview.VirtualNetworkRuleResponse[]; + virtualNetworkRules?: outputs.elasticsan.v20211120preview.VirtualNetworkRuleResponse[]; + } + + /** + * The SKU name. Required for account creation; optional for update. + */ + export interface SkuResponse { + /** + * The sku name. + */ + name: string; + /** + * The sku tier. + */ + tier?: string; + } + + /** + * Data source used when creating the volume. + */ + export interface SourceCreationDataResponse { + /** + * This enumerates the possible sources of a volume creation. + */ + createSource?: string; + /** + * If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point. + */ + sourceUri?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Virtual Network rule. + */ + export interface VirtualNetworkRuleResponse { + /** + * The action of virtual network rule. + */ + action?: string; + /** + * Gets the state of virtual network rule. + */ + state: string; + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + */ + virtualNetworkResourceId: string; + } + /** + * virtualNetworkRuleResponseProvideDefaults sets the appropriate defaults for VirtualNetworkRuleResponse + */ + export function virtualNetworkRuleResponseProvideDefaults(val: VirtualNetworkRuleResponse): VirtualNetworkRuleResponse { + return { + ...val, + action: (val.action) ?? "Allow", + }; + } + + } + + export namespace v20221201preview { + /** + * Iscsi target information + */ + export interface IscsiTargetInfoResponse { + /** + * State of the operation on the resource. + */ + provisioningState: string; + /** + * Operational status of the iSCSI Target. + */ + status?: string; + /** + * iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". + */ + targetIqn: string; + /** + * iSCSI Target Portal Host Name + */ + targetPortalHostname: string; + /** + * iSCSI Target Portal Port + */ + targetPortalPort: number; + } + + /** + * A set of rules governing the network accessibility. + */ + export interface NetworkRuleSetResponse { + /** + * The list of virtual network rules. + */ + virtualNetworkRules?: outputs.elasticsan.v20221201preview.VirtualNetworkRuleResponse[]; + } + + /** + * Response for PrivateEndpoint Connection object + */ + export interface PrivateEndpointConnectionResponse { + /** + * List of resources private endpoint is mapped + */ + groupIds?: string[]; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Private Endpoint resource + */ + privateEndpoint?: outputs.elasticsan.v20221201preview.PrivateEndpointResponse; + /** + * Private Link Service Connection State. + */ + privateLinkServiceConnectionState: outputs.elasticsan.v20221201preview.PrivateLinkServiceConnectionStateResponse; + /** + * Provisioning State of Private Endpoint connection resource + */ + provisioningState: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + systemData: outputs.elasticsan.v20221201preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * Response for PrivateEndpoint + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for Private Endpoint + */ + id: string; + } + + /** + * Response for Private Link Service Connection state + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; } /** @@ -234734,7 +245791,53 @@ export namespace elasticsan { } - export namespace v20221201preview { + export namespace v20230101 { + /** + * Encryption identity for the volume group. + */ + export interface EncryptionIdentityResponse { + /** + * Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + */ + encryptionUserAssignedIdentity?: string; + } + + /** + * The encryption settings on the volume group. + */ + export interface EncryptionPropertiesResponse { + /** + * The identity to be used with service-side encryption at rest. + */ + encryptionIdentity?: outputs.elasticsan.v20230101.EncryptionIdentityResponse; + /** + * Properties provided by key vault. + */ + keyVaultProperties?: outputs.elasticsan.v20230101.KeyVaultPropertiesResponse; + } + + /** + * Identity for the resource. + */ + export interface IdentityResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The identity type. + */ + type: string; + /** + * Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + */ + userAssignedIdentities?: {[key: string]: outputs.elasticsan.v20230101.UserAssignedIdentityResponse}; + } + /** * Iscsi target information */ @@ -234761,6 +245864,46 @@ export namespace elasticsan { targetPortalPort: number; } + /** + * Properties of key vault. + */ + export interface KeyVaultPropertiesResponse { + /** + * This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. + */ + currentVersionedKeyExpirationTimestamp: string; + /** + * The object identifier of the current versioned Key Vault Key in use. + */ + currentVersionedKeyIdentifier: string; + /** + * The name of KeyVault key. + */ + keyName?: string; + /** + * The Uri of KeyVault. + */ + keyVaultUri?: string; + /** + * The version of KeyVault key. + */ + keyVersion?: string; + /** + * Timestamp of last rotation of the Key Vault Key. + */ + lastKeyRotationTimestamp: string; + } + + /** + * Parent resource information. + */ + export interface ManagedByInfoResponse { + /** + * Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + */ + resourceId?: string; + } + /** * A set of rules governing the network accessibility. */ @@ -234768,7 +245911,7 @@ export namespace elasticsan { /** * The list of virtual network rules. */ - virtualNetworkRules?: outputs.elasticsan.v20221201preview.VirtualNetworkRuleResponse[]; + virtualNetworkRules?: outputs.elasticsan.v20230101.VirtualNetworkRuleResponse[]; } /** @@ -234790,11 +245933,11 @@ export namespace elasticsan { /** * Private Endpoint resource */ - privateEndpoint?: outputs.elasticsan.v20221201preview.PrivateEndpointResponse; + privateEndpoint?: outputs.elasticsan.v20230101.PrivateEndpointResponse; /** * Private Link Service Connection State. */ - privateLinkServiceConnectionState: outputs.elasticsan.v20221201preview.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState: outputs.elasticsan.v20230101.PrivateLinkServiceConnectionStateResponse; /** * Provisioning State of Private Endpoint connection resource */ @@ -234802,7 +245945,7 @@ export namespace elasticsan { /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - systemData: outputs.elasticsan.v20221201preview.SystemDataResponse; + systemData: outputs.elasticsan.v20230101.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -234851,6 +245994,16 @@ export namespace elasticsan { tier?: string; } + /** + * Data used when creating a volume snapshot. + */ + export interface SnapshotCreationDataResponse { + /** + * Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + */ + sourceId: string; + } + /** * Data source used when creating the volume. */ @@ -234860,9 +246013,9 @@ export namespace elasticsan { */ createSource?: string; /** - * If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point. + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ - sourceUri?: string; + sourceId?: string; } /** @@ -234895,6 +246048,20 @@ export namespace elasticsan { lastModifiedByType?: string; } + /** + * UserAssignedIdentity for the resource. + */ + export interface UserAssignedIdentityResponse { + /** + * The client ID of the identity. + */ + clientId: string; + /** + * The principal ID of the identity. + */ + principalId: string; + } + /** * Virtual Network rule. */ @@ -234903,10 +246070,6 @@ export namespace elasticsan { * The action of virtual network rule. */ action?: string; - /** - * Gets the state of virtual network rule. - */ - state: string; /** * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */ @@ -264178,91 +275341,6 @@ export namespace iotfirmwaredefense { } } -export namespace iotsecurity { - /** - * MDE integration configuration - */ - export interface DefenderSettingsPropertiesResponseMdeIntegration { - /** - * Integration status - */ - status: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - export namespace v20210201preview { - /** - * MDE integration configuration - */ - export interface DefenderSettingsPropertiesResponseMdeIntegration { - /** - * Integration status - */ - status: string; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - } -} - export namespace keyvault { /** * An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. @@ -264288,7 +275366,7 @@ export namespace keyvault { export interface ActionResponse { /** - * The type of the action. + * The type of the action. The value should be compared case-insensitively. */ type?: string; } @@ -264945,7 +276023,7 @@ export namespace keyvault { export interface ActionResponse { /** - * The type of the action. + * The type of the action. The value should be compared case-insensitively. */ type?: string; } @@ -268920,7 +279998,349 @@ export namespace kusto { } - export namespace v20220707 { + export namespace v20220707 { + /** + * Represents an accepted audience trusted by the cluster. + */ + export interface AcceptedAudiencesResponse { + /** + * GUID or valid URL representing an accepted audience. + */ + value?: string; + } + + /** + * Azure SKU definition. + */ + export interface AzureSkuResponse { + /** + * The number of instances of the cluster. + */ + capacity?: number; + /** + * SKU name. + */ + name: string; + /** + * SKU tier. + */ + tier: string; + } + + /** + * A class representing database principal entity. + */ + export interface DatabasePrincipalResponse { + /** + * Application id - relevant only for application principal type. + */ + appId?: string; + /** + * Database principal email if exists. + */ + email?: string; + /** + * Database principal fully qualified name. + */ + fqn?: string; + /** + * Database principal name. + */ + name: string; + /** + * Database principal role. + */ + role: string; + /** + * The tenant name of the principal + */ + tenantName: string; + /** + * Database principal type. + */ + type: string; + } + + /** + * A class representing follower database request. + */ + export interface FollowerDatabaseDefinitionResponse { + /** + * Resource name of the attached database configuration in the follower cluster. + */ + attachedDatabaseConfigurationName: string; + /** + * Resource id of the cluster that follows a database owned by this cluster. + */ + clusterResourceId: string; + /** + * The database name owned by this cluster that was followed. * in case following all databases. + */ + databaseName: string; + /** + * The origin of the following setup. + */ + databaseShareOrigin: string; + /** + * Table level sharing specifications + */ + tableLevelSharingProperties: outputs.kusto.v20220707.TableLevelSharingPropertiesResponse; + } + + /** + * Identity for the resource. + */ + export interface IdentityResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + */ + type: string; + /** + * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.kusto.v20220707.IdentityResponseUserAssignedIdentities}; + } + + export interface IdentityResponseUserAssignedIdentities { + /** + * The client id of user assigned identity. + */ + clientId: string; + /** + * The principal id of user assigned identity. + */ + principalId: string; + } + + /** + * Properties of the key vault. + */ + export interface KeyVaultPropertiesResponse { + /** + * The name of the key vault key. + */ + keyName?: string; + /** + * The Uri of the key vault. + */ + keyVaultUri?: string; + /** + * The version of the key vault key. + */ + keyVersion?: string; + /** + * The user assigned identity (ARM resource id) that has access to the key. + */ + userIdentity?: string; + } + + /** + * The language extension object. + */ + export interface LanguageExtensionResponse { + /** + * The language extension name. + */ + languageExtensionName?: string; + } + + /** + * The list of language extension objects. + */ + export interface LanguageExtensionsListResponse { + /** + * The list of language extensions. + */ + value?: outputs.kusto.v20220707.LanguageExtensionResponse[]; + } + + /** + * A class that contains the optimized auto scale definition. + */ + export interface OptimizedAutoscaleResponse { + /** + * A boolean value that indicate if the optimized autoscale feature is enabled or not. + */ + isEnabled: boolean; + /** + * Maximum allowed instances count. + */ + maximum: number; + /** + * Minimum allowed instances count. + */ + minimum: number; + /** + * The version of the template defined, for instance 1. + */ + version: number; + } + + /** + * A private endpoint connection + */ + export interface PrivateEndpointConnectionResponse { + /** + * Group id of the private endpoint. + */ + groupId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint: outputs.kusto.v20220707.PrivateEndpointPropertyResponse; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState: outputs.kusto.v20220707.PrivateLinkServiceConnectionStatePropertyResponse; + /** + * Provisioning state of the private endpoint. + */ + provisioningState: string; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + systemData: outputs.kusto.v20220707.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * Private endpoint which the connection belongs to. + */ + export interface PrivateEndpointPropertyResponse { + /** + * Resource id of the private endpoint. + */ + id: string; + } + + /** + * Connection State of the Private Endpoint Connection. + */ + export interface PrivateLinkServiceConnectionStatePropertyResponse { + /** + * Any action that is required beyond basic workflow (approve/ reject/ disconnect) + */ + actionsRequired: string; + /** + * The private link service connection description. + */ + description?: string; + /** + * The private link service connection status. + */ + status?: string; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Tables that will be included and excluded in the follower database + */ + export interface TableLevelSharingPropertiesResponse { + /** + * List of external tables exclude from the follower database + */ + externalTablesToExclude?: string[]; + /** + * List of external tables to include in the follower database + */ + externalTablesToInclude?: string[]; + /** + * List of materialized views exclude from the follower database + */ + materializedViewsToExclude?: string[]; + /** + * List of materialized views to include in the follower database + */ + materializedViewsToInclude?: string[]; + /** + * List of tables to exclude from the follower database + */ + tablesToExclude?: string[]; + /** + * List of tables to include in the follower database + */ + tablesToInclude?: string[]; + } + + /** + * Represents a tenant ID that is trusted by the cluster. + */ + export interface TrustedExternalTenantResponse { + /** + * GUID representing an external tenant. + */ + value?: string; + } + + /** + * A class that contains virtual network definition. + */ + export interface VirtualNetworkConfigurationResponse { + /** + * Data management's service public IP address resource id. + */ + dataManagementPublicIpId: string; + /** + * Engine service's public IP address resource id. + */ + enginePublicIpId: string; + /** + * The subnet resource id. + */ + subnetId: string; + } + + } + + export namespace v20221229 { /** * Represents an accepted audience trusted by the cluster. */ @@ -268983,6 +280403,16 @@ export namespace kusto { type: string; } + /** + * A class that contains database statistics information. + */ + export interface DatabaseStatisticsResponse { + /** + * The database size - the total size of compressed data and index in bytes. + */ + size?: number; + } + /** * A class representing follower database request. */ @@ -269006,7 +280436,7 @@ export namespace kusto { /** * Table level sharing specifications */ - tableLevelSharingProperties: outputs.kusto.v20220707.TableLevelSharingPropertiesResponse; + tableLevelSharingProperties: outputs.kusto.v20221229.TableLevelSharingPropertiesResponse; } /** @@ -269028,7 +280458,7 @@ export namespace kusto { /** * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.kusto.v20220707.IdentityResponseUserAssignedIdentities}; + userAssignedIdentities?: {[key: string]: outputs.kusto.v20221229.IdentityResponseUserAssignedIdentities}; } export interface IdentityResponseUserAssignedIdentities { @@ -269068,6 +280498,10 @@ export namespace kusto { * The language extension object. */ export interface LanguageExtensionResponse { + /** + * The language extension image name. + */ + languageExtensionImageName?: string; /** * The language extension name. */ @@ -269081,7 +280515,7 @@ export namespace kusto { /** * The list of language extensions. */ - value?: outputs.kusto.v20220707.LanguageExtensionResponse[]; + value?: outputs.kusto.v20221229.LanguageExtensionResponse[]; } /** @@ -269125,11 +280559,11 @@ export namespace kusto { /** * Private endpoint which the connection belongs to. */ - privateEndpoint: outputs.kusto.v20220707.PrivateEndpointPropertyResponse; + privateEndpoint: outputs.kusto.v20221229.PrivateEndpointPropertyResponse; /** * Connection State of the Private Endpoint Connection. */ - privateLinkServiceConnectionState: outputs.kusto.v20220707.PrivateLinkServiceConnectionStatePropertyResponse; + privateLinkServiceConnectionState: outputs.kusto.v20221229.PrivateLinkServiceConnectionStatePropertyResponse; /** * Provisioning state of the private endpoint. */ @@ -269137,7 +280571,7 @@ export namespace kusto { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.kusto.v20220707.SystemDataResponse; + systemData: outputs.kusto.v20221229.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -269207,7 +280641,7 @@ export namespace kusto { */ export interface TableLevelSharingPropertiesResponse { /** - * List of external tables exclude from the follower database + * List of external tables to exclude from the follower database */ externalTablesToExclude?: string[]; /** @@ -269215,7 +280649,15 @@ export namespace kusto { */ externalTablesToInclude?: string[]; /** - * List of materialized views exclude from the follower database + * List of functions to exclude from the follower database + */ + functionsToExclude?: string[]; + /** + * List of functions to include in the follower database + */ + functionsToInclude?: string[]; + /** + * List of materialized views to exclude from the follower database */ materializedViewsToExclude?: string[]; /** @@ -269262,7 +280704,7 @@ export namespace kusto { } - export namespace v20221229 { + export namespace v20230502 { /** * Represents an accepted audience trusted by the cluster. */ @@ -269358,7 +280800,7 @@ export namespace kusto { /** * Table level sharing specifications */ - tableLevelSharingProperties: outputs.kusto.v20221229.TableLevelSharingPropertiesResponse; + tableLevelSharingProperties: outputs.kusto.v20230502.TableLevelSharingPropertiesResponse; } /** @@ -269380,7 +280822,7 @@ export namespace kusto { /** * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.kusto.v20221229.IdentityResponseUserAssignedIdentities}; + userAssignedIdentities?: {[key: string]: outputs.kusto.v20230502.IdentityResponseUserAssignedIdentities}; } export interface IdentityResponseUserAssignedIdentities { @@ -269437,7 +280879,29 @@ export namespace kusto { /** * The list of language extensions. */ - value?: outputs.kusto.v20221229.LanguageExtensionResponse[]; + value?: outputs.kusto.v20230502.LanguageExtensionResponse[]; + } + + /** + * Represents a properties of a cluster that is part of a migration. + */ + export interface MigrationClusterPropertiesResponse { + /** + * The public data ingestion URL of the cluster. + */ + dataIngestionUri: string; + /** + * The resource ID of the cluster. + */ + id: string; + /** + * The role of the cluster in the migration process. + */ + role: string; + /** + * The public URL of the cluster. + */ + uri: string; } /** @@ -269481,11 +280945,11 @@ export namespace kusto { /** * Private endpoint which the connection belongs to. */ - privateEndpoint: outputs.kusto.v20221229.PrivateEndpointPropertyResponse; + privateEndpoint: outputs.kusto.v20230502.PrivateEndpointPropertyResponse; /** * Connection State of the Private Endpoint Connection. */ - privateLinkServiceConnectionState: outputs.kusto.v20221229.PrivateLinkServiceConnectionStatePropertyResponse; + privateLinkServiceConnectionState: outputs.kusto.v20230502.PrivateLinkServiceConnectionStatePropertyResponse; /** * Provisioning state of the private endpoint. */ @@ -269493,7 +280957,7 @@ export namespace kusto { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.kusto.v20221229.SystemDataResponse; + systemData: outputs.kusto.v20230502.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -269528,6 +280992,16 @@ export namespace kusto { status?: string; } + /** + * The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + */ + export interface SuspensionDetailsResponse { + /** + * The starting date and time of the suspension state. + */ + suspensionStartDate?: string; + } + /** * Metadata pertaining to creation and last modification of the resource. */ @@ -269626,7 +281100,7 @@ export namespace kusto { } - export namespace v20230502 { + export namespace v20230815 { /** * Represents an accepted audience trusted by the cluster. */ @@ -269722,7 +281196,7 @@ export namespace kusto { /** * Table level sharing specifications */ - tableLevelSharingProperties: outputs.kusto.v20230502.TableLevelSharingPropertiesResponse; + tableLevelSharingProperties: outputs.kusto.v20230815.TableLevelSharingPropertiesResponse; } /** @@ -269744,7 +281218,7 @@ export namespace kusto { /** * The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.kusto.v20230502.IdentityResponseUserAssignedIdentities}; + userAssignedIdentities?: {[key: string]: outputs.kusto.v20230815.IdentityResponseUserAssignedIdentities}; } export interface IdentityResponseUserAssignedIdentities { @@ -269784,6 +281258,10 @@ export namespace kusto { * The language extension object. */ export interface LanguageExtensionResponse { + /** + * The language extension custom image name. + */ + languageExtensionCustomImageName?: string; /** * The language extension image name. */ @@ -269801,7 +281279,7 @@ export namespace kusto { /** * The list of language extensions. */ - value?: outputs.kusto.v20230502.LanguageExtensionResponse[]; + value?: outputs.kusto.v20230815.LanguageExtensionResponse[]; } /** @@ -269867,11 +281345,11 @@ export namespace kusto { /** * Private endpoint which the connection belongs to. */ - privateEndpoint: outputs.kusto.v20230502.PrivateEndpointPropertyResponse; + privateEndpoint: outputs.kusto.v20230815.PrivateEndpointPropertyResponse; /** * Connection State of the Private Endpoint Connection. */ - privateLinkServiceConnectionState: outputs.kusto.v20230502.PrivateLinkServiceConnectionStatePropertyResponse; + privateLinkServiceConnectionState: outputs.kusto.v20230815.PrivateLinkServiceConnectionStatePropertyResponse; /** * Provisioning state of the private endpoint. */ @@ -269879,7 +281357,7 @@ export namespace kusto { /** * Metadata pertaining to creation and last modification of the resource. */ - systemData: outputs.kusto.v20230502.SystemDataResponse; + systemData: outputs.kusto.v20230815.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -270014,11 +281492,24 @@ export namespace kusto { * Engine service's public IP address resource id. */ enginePublicIpId: string; + /** + * When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + */ + state?: string; /** * The subnet resource id. */ subnetId: string; } + /** + * virtualNetworkConfigurationResponseProvideDefaults sets the appropriate defaults for VirtualNetworkConfigurationResponse + */ + export function virtualNetworkConfigurationResponseProvideDefaults(val: VirtualNetworkConfigurationResponse): VirtualNetworkConfigurationResponse { + return { + ...val, + state: (val.state) ?? "Enabled", + }; + } } } @@ -323603,7 +335094,7 @@ export namespace machinelearningservices { */ systemCreatedAcrAccount?: outputs.machinelearningservices.v20230601preview.SystemCreatedAcrAccountResponse; /** - * Details of user created ACR account to be used for the Registry + * Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. */ userCreatedAcrAccount?: outputs.machinelearningservices.v20230601preview.UserCreatedAcrAccountResponse; } @@ -332536,7 +344027,7 @@ export namespace machinelearningservices { */ systemCreatedStorageAccount?: outputs.machinelearningservices.v20230601preview.SystemCreatedStorageAccountResponse; /** - * Details of user created storage account to be used for the registry + * Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. */ userCreatedStorageAccount?: outputs.machinelearningservices.v20230601preview.UserCreatedStorageAccountResponse; } @@ -337025,7 +348516,7 @@ export namespace managednetworkfabric { */ export interface AccessControlListPortConditionResponse { /** - * List of protocol flags that need to be matched. + * List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg */ flags?: string[]; /** @@ -463539,6 +475030,13 @@ export namespace recoveryservices { zones?: outputs.recoveryservices.v20230601.A2AZoneDetailsResponse[]; } + /** + * Settings for Azure Monitor based alerts + */ + export interface AzureMonitorAlertSettingsResponse { + alertsForAllJobFailures?: string; + } + /** * A2A Network Mapping fabric specific settings. */ @@ -463618,6 +475116,37 @@ export namespace recoveryservices { vhdType?: string; } + /** + * Settings for classic alerts + */ + export interface ClassicAlertSettingsResponse { + alertsForCriticalOperations?: string; + } + + /** + * The details of the identity used for CMK + */ + export interface CmkKekIdentityResponse { + /** + * Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + */ + useSystemAssignedIdentity?: boolean; + /** + * The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + */ + userAssignedIdentity?: string; + } + + /** + * The properties of the Key Vault which hosts CMK + */ + export interface CmkKeyVaultPropertiesResponse { + /** + * The key uri of the Customer Managed Key + */ + keyUri?: string; + } + /** * Critical past job details of the migration item. */ @@ -463640,6 +475169,13 @@ export namespace recoveryservices { startTime: string; } + /** + * Settings for Cross Subscription Restore Settings + */ + export interface CrossSubscriptionRestoreSettingsResponse { + crossSubscriptionRestoreState?: string; + } + /** * Current job details of the migration item. */ @@ -464487,6 +476023,28 @@ export namespace recoveryservices { tfoSubnetName?: string; } + /** + * Identity for the resource. + */ + export interface IdentityDataResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + */ + type: string; + /** + * The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.recoveryservices.v20230601.UserIdentityResponse}; + } + /** * Identity provider details. */ @@ -464513,6 +476071,13 @@ export namespace recoveryservices { tenantId?: string; } + /** + * Immutability Settings of vault + */ + export interface ImmutabilitySettingsResponse { + state?: string; + } + /** * The details of the InMage agent. */ @@ -466699,6 +478264,20 @@ export namespace recoveryservices { version?: string; } + /** + * Monitoring Settings of the vault + */ + export interface MonitoringSettingsResponse { + /** + * Settings for Azure Monitor based alerts + */ + azureMonitorAlertSettings?: outputs.recoveryservices.v20230601.AzureMonitorAlertSettingsResponse; + /** + * Settings for classic alerts + */ + classicAlertSettings?: outputs.recoveryservices.v20230601.ClassicAlertSettingsResponse; + } + /** * Network Mapping Properties. */ @@ -466817,6 +478396,42 @@ export namespace recoveryservices { providerSpecificDetails?: outputs.recoveryservices.v20230601.A2APolicyDetailsResponse | outputs.recoveryservices.v20230601.HyperVReplicaAzurePolicyDetailsResponse | outputs.recoveryservices.v20230601.HyperVReplicaBasePolicyDetailsResponse | outputs.recoveryservices.v20230601.HyperVReplicaBluePolicyDetailsResponse | outputs.recoveryservices.v20230601.HyperVReplicaPolicyDetailsResponse | outputs.recoveryservices.v20230601.InMageAzureV2PolicyDetailsResponse | outputs.recoveryservices.v20230601.InMageBasePolicyDetailsResponse | outputs.recoveryservices.v20230601.InMagePolicyDetailsResponse | outputs.recoveryservices.v20230601.InMageRcmFailbackPolicyDetailsResponse | outputs.recoveryservices.v20230601.InMageRcmPolicyDetailsResponse | outputs.recoveryservices.v20230601.VmwareCbtPolicyDetailsResponse; } + /** + * Information to be stored in Vault properties as an element of privateEndpointConnections List. + */ + export interface PrivateEndpointConnectionVaultPropertiesResponse { + /** + * Format of id subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. + */ + id: string; + /** + * The location of the private Endpoint connection + */ + location: string; + /** + * The name of the private Endpoint Connection + */ + name: string; + /** + * Private Endpoint Connection Response Properties. + */ + properties: outputs.recoveryservices.v20230601.VaultPrivateEndpointConnectionResponse; + /** + * The type, which will be of the format, Microsoft.RecoveryServices/vaults/privateEndpointConnections + */ + type: string; + } + + /** + * The Private Endpoint network resource that is linked to the Private Endpoint connection. + */ + export interface PrivateEndpointResponse { + /** + * Gets or sets id. + */ + id: string; + } + /** * Process server details. */ @@ -467755,6 +479370,16 @@ export namespace recoveryservices { version: string; } + /** + * Restore Settings of the vault + */ + export interface RestoreSettingsResponse { + /** + * Settings for CrossSubscriptionRestore + */ + crossSubscriptionRestoreSettings?: outputs.recoveryservices.v20230601.CrossSubscriptionRestoreSettingsResponse; + } + /** * The retention details of the MT. */ @@ -467791,6 +479416,61 @@ export namespace recoveryservices { accountName?: string; } + /** + * Security Settings of the vault + */ + export interface SecuritySettingsResponse { + /** + * Immutability Settings of a vault + */ + immutabilitySettings?: outputs.recoveryservices.v20230601.ImmutabilitySettingsResponse; + /** + * MUA Settings of a vault + */ + multiUserAuthorization: string; + /** + * Soft delete Settings of a vault + */ + softDeleteSettings?: outputs.recoveryservices.v20230601.SoftDeleteSettingsResponse; + } + + /** + * Identifies the unique system identifier for each Azure resource. + */ + export interface SkuResponse { + /** + * The sku capacity + */ + capacity?: string; + /** + * The sku family + */ + family?: string; + /** + * Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + */ + name: string; + /** + * The sku size + */ + size?: string; + /** + * The Sku tier. + */ + tier?: string; + } + + /** + * Soft delete Settings of vault + */ + export interface SoftDeleteSettingsResponse { + /** + * Soft delete retention period in days + */ + softDeleteRetentionPeriodInDays?: number; + softDeleteState?: string; + } + /** * Storage mapping properties. */ @@ -467801,6 +479481,92 @@ export namespace recoveryservices { targetStorageClassificationId?: string; } + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Details for upgrading vault. + */ + export interface UpgradeDetailsResponse { + /** + * UTC time at which the upgrade operation has ended. + */ + endTimeUtc: string; + /** + * UTC time at which the upgrade operation status was last updated. + */ + lastUpdatedTimeUtc: string; + /** + * Message to the user containing information about the upgrade operation. + */ + message: string; + /** + * ID of the vault upgrade operation. + */ + operationId: string; + /** + * Resource ID of the vault before the upgrade. + */ + previousResourceId: string; + /** + * UTC time at which the upgrade operation has started. + */ + startTimeUtc: string; + /** + * Status of the vault upgrade operation. + */ + status: string; + /** + * The way the vault upgrade was triggered. + */ + triggerType: string; + /** + * Resource ID of the upgraded vault. + */ + upgradedResourceId: string; + } + + /** + * A resource identity that is managed by the user of the service. + */ + export interface UserIdentityResponse { + /** + * The client ID of the user-assigned identity. + */ + clientId: string; + /** + * The principal ID of the user-assigned identity. + */ + principalId: string; + } + /** * vCenter properties. */ @@ -468525,6 +480291,170 @@ export namespace recoveryservices { vmwareSiteId: string; } + /** + * Private Endpoint Connection Response Properties. + */ + export interface VaultPrivateEndpointConnectionResponse { + /** + * Group Ids for the Private Endpoint + */ + groupIds?: string[]; + /** + * The Private Endpoint network resource that is linked to the Private Endpoint connection. + */ + privateEndpoint: outputs.recoveryservices.v20230601.PrivateEndpointResponse; + /** + * Gets or sets private link service connection state. + */ + privateLinkServiceConnectionState: outputs.recoveryservices.v20230601.VaultPrivateLinkServiceConnectionStateResponse; + /** + * Gets or sets provisioning state of the private endpoint connection. + */ + provisioningState: string; + } + + /** + * Gets or sets private link service connection state. + */ + export interface VaultPrivateLinkServiceConnectionStateResponse { + /** + * Gets or sets actions required. + */ + actionsRequired: string; + /** + * Gets or sets description. + */ + description: string; + /** + * Gets or sets the status. + */ + status: string; + } + + /** + * Properties of the vault. + */ + export interface VaultPropertiesResponse { + /** + * Backup storage version + */ + backupStorageVersion: string; + /** + * Customer Managed Key details of the resource. + */ + encryption?: outputs.recoveryservices.v20230601.VaultPropertiesResponseEncryption; + /** + * Monitoring Settings of the vault + */ + monitoringSettings?: outputs.recoveryservices.v20230601.MonitoringSettingsResponse; + /** + * The details of the latest move operation performed on the Azure Resource + */ + moveDetails?: outputs.recoveryservices.v20230601.VaultPropertiesResponseMoveDetails; + /** + * The State of the Resource after the move operation + */ + moveState: string; + /** + * List of private endpoint connection. + */ + privateEndpointConnections: outputs.recoveryservices.v20230601.PrivateEndpointConnectionVaultPropertiesResponse[]; + /** + * Private endpoint state for backup. + */ + privateEndpointStateForBackup: string; + /** + * Private endpoint state for site recovery. + */ + privateEndpointStateForSiteRecovery: string; + /** + * Provisioning State. + */ + provisioningState: string; + /** + * property to enable or disable resource provider inbound network traffic from public clients + */ + publicNetworkAccess?: string; + /** + * The redundancy Settings of a Vault + */ + redundancySettings?: outputs.recoveryservices.v20230601.VaultPropertiesResponseRedundancySettings; + /** + * Restore Settings of the vault + */ + restoreSettings?: outputs.recoveryservices.v20230601.RestoreSettingsResponse; + /** + * Secure Score of Recovery Services Vault + */ + secureScore: string; + /** + * Security Settings of the vault + */ + securitySettings?: outputs.recoveryservices.v20230601.SecuritySettingsResponse; + /** + * Details for upgrading vault. + */ + upgradeDetails?: outputs.recoveryservices.v20230601.UpgradeDetailsResponse; + } + + /** + * Customer Managed Key details of the resource. + */ + export interface VaultPropertiesResponseEncryption { + /** + * Enabling/Disabling the Double Encryption state + */ + infrastructureEncryption?: string; + /** + * The details of the identity used for CMK + */ + kekIdentity?: outputs.recoveryservices.v20230601.CmkKekIdentityResponse; + /** + * The properties of the Key Vault which hosts CMK + */ + keyVaultProperties?: outputs.recoveryservices.v20230601.CmkKeyVaultPropertiesResponse; + } + + /** + * The details of the latest move operation performed on the Azure Resource + */ + export interface VaultPropertiesResponseMoveDetails { + /** + * End Time of the Resource Move Operation + */ + completionTimeUtc: string; + /** + * OperationId of the Resource Move Operation + */ + operationId: string; + /** + * Source Resource of the Resource Move Operation + */ + sourceResourceId: string; + /** + * Start Time of the Resource Move Operation + */ + startTimeUtc: string; + /** + * Target Resource of the Resource Move Operation + */ + targetResourceId: string; + } + + /** + * The redundancy Settings of a Vault + */ + export interface VaultPropertiesResponseRedundancySettings { + /** + * Flag to show if Cross Region Restore is enabled on the Vault or not + */ + crossRegionRestore: string; + /** + * The storage redundancy setting of a vault + */ + standardTierStorageRedundancy: string; + } + /** * Version related details. */ @@ -485077,586 +497007,1907 @@ export namespace securityinsights { state?: string; } - /** - * Teams data type connection. - */ - export interface OfficeDataConnectorDataTypesResponseTeams { + /** + * Teams data type connection. + */ + export interface OfficeDataConnectorDataTypesResponseTeams { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: string; + } + + export interface PlaybookActionPropertiesResponse { + /** + * The resource id of the playbook resource. + */ + logicAppResourceId: string; + /** + * The tenant id of the playbook resource. + */ + tenantId?: string; + } + + /** + * Describes an automation rule condition that evaluates an array property's value change + */ + export interface PropertyArrayChangedConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.AutomationRulePropertyArrayChangedValuesConditionResponse; + /** + * + * Expected value is 'PropertyArrayChanged'. + */ + conditionType: "PropertyArrayChanged"; + } + + /** + * Describes an automation rule condition that evaluates a property's value change + */ + export interface PropertyChangedConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.AutomationRulePropertyValuesChangedConditionResponse; + /** + * + * Expected value is 'PropertyChanged'. + */ + conditionType: "PropertyChanged"; + } + + /** + * Describes an automation rule condition that evaluates a property's value + */ + export interface PropertyConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.AutomationRulePropertyValuesConditionResponse; + /** + * + * Expected value is 'Property'. + */ + conditionType: "Property"; + } + + /** + * Represents a repository. + */ + export interface RepoResponse { + /** + * Array of branches. + */ + branches?: string[]; + /** + * The name of the repository. + */ + fullName?: string; + /** + * The url to access the repository. + */ + url?: string; + } + + /** + * Resources created in user's repository for the source-control. + */ + export interface RepositoryResourceInfoResponse { + /** + * Resources created in Azure DevOps for this source-control. + */ + azureDevOpsResourceInfo?: outputs.securityinsights.AzureDevOpsResourceInfoResponse; + /** + * Resources created in GitHub for this source-control. + */ + gitHubResourceInfo?: outputs.securityinsights.GitHubResourceInfoResponse; + /** + * The webhook object created for the source-control. + */ + webhook?: outputs.securityinsights.WebhookResponse; + } + + /** + * metadata of a repository. + */ + export interface RepositoryResponse { + /** + * Branch name of repository. + */ + branch?: string; + /** + * Url to access repository action logs. + */ + deploymentLogsUrl?: string; + /** + * Display url of repository. + */ + displayUrl?: string; + /** + * Dictionary of source control content type and path mapping. + */ + pathMapping?: outputs.securityinsights.ContentPathMapResponse[]; + /** + * Url of repository. + */ + url?: string; + } + + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + export interface ResourceProviderRequiredPermissionsResponse { + /** + * Gets or sets a value indicating whether the permission is custom actions (POST). + */ + action?: boolean; + /** + * Gets or sets a value indicating whether the permission is delete action (DELETE). + */ + delete?: boolean; + /** + * Gets or sets a value indicating whether the permission is read action (GET). + */ + read?: boolean; + /** + * Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + */ + write?: boolean; + } + + /** + * The sample queries for the connector. + */ + export interface SampleQueryResponse { + /** + * Gets or sets the sample query description. + */ + description: string; + /** + * Gets or sets the KQL sample query. + */ + query: string; + } + + /** + * Represents security alert timeline item. + */ + export interface SecurityAlertTimelineItemResponse { + /** + * The name of the alert type. + */ + alertType: string; + /** + * The alert azure resource id. + */ + azureResourceId: string; + /** + * The alert description. + */ + description?: string; + /** + * The alert name. + */ + displayName: string; + /** + * The alert end time. + */ + endTimeUtc: string; + /** + * The intent of the alert. + */ + intent: string; + /** + * The entity query kind + * Expected value is 'SecurityAlert'. + */ + kind: "SecurityAlert"; + /** + * The alert product name. + */ + productName?: string; + /** + * The alert severity. + */ + severity: string; + /** + * The alert start time. + */ + startTimeUtc: string; + /** + * The techniques of the alert. + */ + techniques?: string[]; + /** + * The alert generated time. + */ + timeGenerated: string; + } + + /** + * security ml analytics settings data sources + */ + export interface SecurityMLAnalyticsSettingsDataSourceResponse { + /** + * The connector id that provides the following data types + */ + connectorId?: string; + /** + * The data types used by the security ml analytics settings + */ + dataTypes?: string[]; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * The available data types for TI (Threat Intelligence) data connector. + */ + export interface TIDataConnectorDataTypesResponse { + /** + * Data type for indicators connection. + */ + indicators?: outputs.securityinsights.TIDataConnectorDataTypesResponseIndicators; + } + + /** + * Data type for indicators connection. + */ + export interface TIDataConnectorDataTypesResponseIndicators { + /** + * Describe whether this data type connection is enabled or not. + */ + state?: string; + } + + /** + * timeline aggregation information per kind + */ + export interface TimelineAggregationResponse { + /** + * the total items found for a kind + */ + count: number; + /** + * the query kind + */ + kind: string; + } + + /** + * Timeline Query Errors. + */ + export interface TimelineErrorResponse { + /** + * the error message + */ + errorMessage: string; + /** + * the query kind + */ + kind: string; + /** + * the query id + */ + queryId?: string; + } + + /** + * Expansion result metadata. + */ + export interface TimelineResultsMetadataResponse { + /** + * timeline aggregation per kind + */ + aggregations: outputs.securityinsights.TimelineAggregationResponse[]; + /** + * information about the failure queries + */ + errors?: outputs.securityinsights.TimelineErrorResponse[]; + /** + * the total items found for the timeline request + */ + totalCount: number; + } + + /** + * User information that made some action + */ + export interface UserInfoResponse { + /** + * The email of the user. + */ + email: string; + /** + * The name of the user. + */ + name: string; + /** + * The object id of the user. + */ + objectId?: string; + } + + /** + * Describes an error encountered in the file during validation. + */ + export interface ValidationErrorResponse { + /** + * A list of descriptions of the error. + */ + errorMessages: string[]; + /** + * The number of the record that has the error. + */ + recordIndex?: number; + } + + /** + * User information that made some action + */ + export interface WatchlistUserInfoResponse { + /** + * The email of the user. + */ + email: string; + /** + * The name of the user. + */ + name: string; + /** + * The object id of the user. + */ + objectId?: string; + } + + /** + * Detail about the webhook object. + */ + export interface WebhookResponse { + /** + * A flag to instruct the backend service to rotate webhook secret. + */ + rotateWebhookSecret?: boolean; + /** + * Unique identifier for the webhook. + */ + webhookId?: string; + /** + * Time when the webhook secret was updated. + */ + webhookSecretUpdateTime?: string; + /** + * URL that gets invoked by the webhook. + */ + webhookUrl?: string; + } + + export namespace v20190101preview { + /** + * Represents Activity timeline item. + */ + export interface ActivityTimelineItemResponse { + /** + * The grouping bucket end time. + */ + bucketEndTimeUTC: string; + /** + * The grouping bucket start time. + */ + bucketStartTimeUTC: string; + /** + * The activity timeline content. + */ + content: string; + /** + * The time of the first activity in the grouping bucket. + */ + firstActivityTimeUTC: string; + /** + * The entity query kind + * Expected value is 'Activity'. + */ + kind: "Activity"; + /** + * The time of the last activity in the grouping bucket. + */ + lastActivityTimeUTC: string; + /** + * The activity query id. + */ + queryId: string; + /** + * The activity timeline title. + */ + title: string; + } + + /** + * Describes an automation rule action to modify an object's properties + */ + export interface AutomationRuleModifyPropertiesActionResponse { + /** + * The configuration of the modify properties automation rule action + */ + actionConfiguration: outputs.securityinsights.v20190101preview.AutomationRuleModifyPropertiesActionResponseActionConfiguration; + /** + * The type of the automation rule action + * Expected value is 'ModifyProperties'. + */ + actionType: "ModifyProperties"; + /** + * The order of execution of the automation rule action + */ + order: number; + } + + /** + * The configuration of the modify properties automation rule action + */ + export interface AutomationRuleModifyPropertiesActionResponseActionConfiguration { + /** + * The reason the incident was closed + */ + classification?: string; + /** + * Describes the reason the incident was closed + */ + classificationComment?: string; + /** + * The classification reason to close the incident with + */ + classificationReason?: string; + /** + * List of labels to add to the incident + */ + labels?: outputs.securityinsights.v20190101preview.IncidentLabelResponse[]; + /** + * Describes a user that the incident is assigned to + */ + owner?: outputs.securityinsights.v20190101preview.IncidentOwnerInfoResponse; + /** + * The severity of the incident + */ + severity?: string; + /** + * The status of the incident + */ + status?: string; + } + /** - * Describe whether this data type connection is enabled or not. + * Describes an automation rule condition that evaluates a property's value */ - state?: string; - } + export interface AutomationRulePropertyValuesConditionResponse { + /** + * The configuration of the automation rule condition + */ + conditionProperties: outputs.securityinsights.v20190101preview.AutomationRulePropertyValuesConditionResponseConditionProperties; + /** + * The type of the automation rule condition + * Expected value is 'Property'. + */ + conditionType: "Property"; + } - export interface PlaybookActionPropertiesResponse { /** - * The resource id of the playbook resource. - */ - logicAppResourceId: string; - /** - * The tenant id of the playbook resource. + * The configuration of the automation rule condition */ - tenantId?: string; - } + export interface AutomationRulePropertyValuesConditionResponseConditionProperties { + /** + * The operator to use for evaluation the condition + */ + operator?: string; + /** + * The property to evaluate + */ + propertyName?: string; + /** + * The values to use for evaluating the condition + */ + propertyValues?: string[]; + } - /** - * Describes an automation rule condition that evaluates an array property's value change - */ - export interface PropertyArrayChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.AutomationRulePropertyArrayChangedValuesConditionResponse; /** - * - * Expected value is 'PropertyArrayChanged'. + * Describes an automation rule action to run a playbook */ - conditionType: "PropertyArrayChanged"; - } + export interface AutomationRuleRunPlaybookActionResponse { + /** + * The configuration of the run playbook automation rule action + */ + actionConfiguration: outputs.securityinsights.v20190101preview.AutomationRuleRunPlaybookActionResponseActionConfiguration; + /** + * The type of the automation rule action + * Expected value is 'RunPlaybook'. + */ + actionType: "RunPlaybook"; + /** + * The order of execution of the automation rule action + */ + order: number; + } - /** - * Describes an automation rule condition that evaluates a property's value change - */ - export interface PropertyChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.AutomationRulePropertyValuesChangedConditionResponse; /** - * - * Expected value is 'PropertyChanged'. + * The configuration of the run playbook automation rule action */ - conditionType: "PropertyChanged"; - } + export interface AutomationRuleRunPlaybookActionResponseActionConfiguration { + /** + * The resource id of the playbook resource + */ + logicAppResourceId?: string; + /** + * The tenant id of the playbook resource + */ + tenantId?: string; + } - /** - * Describes an automation rule condition that evaluates a property's value - */ - export interface PropertyConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.AutomationRulePropertyValuesConditionResponse; /** - * - * Expected value is 'Property'. + * Describes automation rule triggering logic */ - conditionType: "Property"; - } + export interface AutomationRuleTriggeringLogicResponse { + /** + * The conditions to evaluate to determine if the automation rule should be triggered on a given object + */ + conditions?: outputs.securityinsights.v20190101preview.AutomationRulePropertyValuesConditionResponse[]; + /** + * Determines when the automation rule should automatically expire and be disabled. + */ + expirationTimeUtc?: string; + /** + * Determines whether the automation rule is enabled or disabled. + */ + isEnabled: boolean; + /** + * The type of object the automation rule triggers on + */ + triggersOn: string; + /** + * The type of event the automation rule triggers on + */ + triggersWhen: string; + } - /** - * Represents a repository. - */ - export interface RepoResponse { - /** - * Array of branches. - */ - branches?: string[]; /** - * The name of the repository. + * Represents bookmark timeline item. */ - fullName?: string; + export interface BookmarkTimelineItemResponse { + /** + * The bookmark azure resource id. + */ + azureResourceId: string; + /** + * Describes a user that created the bookmark + */ + createdBy?: outputs.securityinsights.v20190101preview.UserInfoResponse; + /** + * The bookmark display name. + */ + displayName?: string; + /** + * The bookmark end time. + */ + endTimeUtc?: string; + /** + * The bookmark event time. + */ + eventTime?: string; + /** + * The entity query kind + * Expected value is 'Bookmark'. + */ + kind: "Bookmark"; + /** + * List of labels relevant to this bookmark + */ + labels?: string[]; + /** + * The notes of the bookmark + */ + notes?: string; + /** + * The bookmark start time. + */ + startTimeUtc?: string; + } + /** - * The url to access the repository. + * Information on the client (user or application) that made some action */ - url?: string; - } + export interface ClientInfoResponse { + /** + * The email of the client. + */ + email?: string; + /** + * The name of the client. + */ + name?: string; + /** + * The object id of the client. + */ + objectId?: string; + /** + * The user principal name of the client. + */ + userPrincipalName?: string; + } - /** - * Resources created in user's repository for the source-control. - */ - export interface RepositoryResourceInfoResponse { /** - * Resources created in Azure DevOps for this source-control. + * Entity insight Item. */ - azureDevOpsResourceInfo?: outputs.securityinsights.AzureDevOpsResourceInfoResponse; + export interface EntityInsightItemResponse { + /** + * Query results for table insights query. + */ + chartQueryResults?: outputs.securityinsights.v20190101preview.InsightsTableResultResponse[]; + /** + * The query id of the insight + */ + queryId?: string; + /** + * The Time interval that the query actually executed on. + */ + queryTimeInterval?: outputs.securityinsights.v20190101preview.EntityInsightItemResponseQueryTimeInterval; + /** + * Query results for table insights query. + */ + tableQueryResults?: outputs.securityinsights.v20190101preview.InsightsTableResultResponse; + } + /** - * Resources created in GitHub for this source-control. + * The Time interval that the query actually executed on. */ - gitHubResourceInfo?: outputs.securityinsights.GitHubResourceInfoResponse; + export interface EntityInsightItemResponseQueryTimeInterval { + /** + * Insight query end time + */ + endTime?: string; + /** + * Insight query start time + */ + startTime?: string; + } + /** - * The webhook object created for the source-control. + * GetInsights Query Errors. */ - webhook?: outputs.securityinsights.WebhookResponse; - } + export interface GetInsightsErrorResponse { + /** + * the error message + */ + errorMessage: string; + /** + * the query kind + */ + kind: string; + /** + * the query id + */ + queryId?: string; + } - /** - * metadata of a repository. - */ - export interface RepositoryResponse { /** - * Branch name of repository. + * Get Insights result metadata. */ - branch?: string; + export interface GetInsightsResultsMetadataResponse { + /** + * information about the failed queries + */ + errors?: outputs.securityinsights.v20190101preview.GetInsightsErrorResponse[]; + /** + * the total items found for the insights request + */ + totalCount: number; + } + /** - * Url to access repository action logs. + * Describes related incident information for the bookmark */ - deploymentLogsUrl?: string; + export interface IncidentInfoResponse { + /** + * Incident Id + */ + incidentId?: string; + /** + * Relation Name + */ + relationName?: string; + /** + * The severity of the incident + */ + severity?: string; + /** + * The title of the incident + */ + title?: string; + } + /** - * Display url of repository. + * Represents an incident label */ - displayUrl?: string; + export interface IncidentLabelResponse { + /** + * The name of the label + */ + labelName: string; + /** + * The type of the label + */ + labelType: string; + } + /** - * Dictionary of source control content type and path mapping. + * Information on the user an incident is assigned to */ - pathMapping?: outputs.securityinsights.ContentPathMapResponse[]; + export interface IncidentOwnerInfoResponse { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: string; + /** + * The email of the user the incident is assigned to. + */ + email?: string; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: string; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: string; + } + /** - * Url of repository. + * Query results for table insights query. */ - url?: string; - } + export interface InsightsTableResultResponse { + /** + * Columns Metadata of the table + */ + columns?: outputs.securityinsights.v20190101preview.InsightsTableResultResponseColumns[]; + /** + * Rows data of the table + */ + rows?: string[][]; + } + + export interface InsightsTableResultResponseColumns { + /** + * the name of the colum + */ + name?: string; + /** + * the type of the colum + */ + type?: string; + } - /** - * Required permissions for the connector resource provider that define in ResourceProviders. - * For more information about the permissions see here. - */ - export interface ResourceProviderRequiredPermissionsResponse { /** - * Gets or sets a value indicating whether the permission is custom actions (POST). + * Represents security alert timeline item. */ - action?: boolean; + export interface SecurityAlertTimelineItemResponse { + /** + * The name of the alert type. + */ + alertType: string; + /** + * The alert azure resource id. + */ + azureResourceId: string; + /** + * The alert description. + */ + description?: string; + /** + * The alert name. + */ + displayName: string; + /** + * The alert end time. + */ + endTimeUtc: string; + /** + * The entity query kind + * Expected value is 'SecurityAlert'. + */ + kind: "SecurityAlert"; + /** + * The alert product name. + */ + productName?: string; + /** + * The alert severity. + */ + severity: string; + /** + * The alert start time. + */ + startTimeUtc: string; + /** + * The alert generated time. + */ + timeGenerated: string; + } + /** - * Gets or sets a value indicating whether the permission is delete action (DELETE). + * timeline aggregation information per kind */ - delete?: boolean; + export interface TimelineAggregationResponse { + /** + * the total items found for a kind + */ + count: number; + /** + * the query kind + */ + kind: string; + } + /** - * Gets or sets a value indicating whether the permission is read action (GET). + * Timeline Query Errors. */ - read?: boolean; + export interface TimelineErrorResponse { + /** + * the error message + */ + errorMessage: string; + /** + * the query kind + */ + kind: string; + /** + * the query id + */ + queryId?: string; + } + /** - * Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + * Expansion result metadata. */ - write?: boolean; - } + export interface TimelineResultsMetadataResponse { + /** + * timeline aggregation per kind + */ + aggregations: outputs.securityinsights.v20190101preview.TimelineAggregationResponse[]; + /** + * information about the failure queries + */ + errors?: outputs.securityinsights.v20190101preview.TimelineErrorResponse[]; + /** + * the total items found for the timeline request + */ + totalCount: number; + } - /** - * The sample queries for the connector. - */ - export interface SampleQueryResponse { /** - * Gets or sets the sample query description. + * User information that made some action */ - description: string; + export interface UserInfoResponse { + /** + * The email of the user. + */ + email: string; + /** + * The name of the user. + */ + name: string; + /** + * The object id of the user. + */ + objectId?: string; + } + /** - * Gets or sets the KQL sample query. + * User information that made some action */ - query: string; + export interface WatchlistUserInfoResponse { + /** + * The email of the user. + */ + email: string; + /** + * The name of the user. + */ + name: string; + /** + * The object id of the user. + */ + objectId?: string; + } + } - /** - * Represents security alert timeline item. - */ - export interface SecurityAlertTimelineItemResponse { - /** - * The name of the alert type. - */ - alertType: string; - /** - * The alert azure resource id. - */ - azureResourceId: string; - /** - * The alert description. - */ - description?: string; - /** - * The alert name. - */ - displayName: string; - /** - * The alert end time. - */ - endTimeUtc: string; + export namespace v20210301preview { /** - * The intent of the alert. + * The Activity query definitions */ - intent: string; + export interface ActivityEntityQueriesPropertiesResponseQueryDefinitions { + /** + * The Activity query to run on a given entity + */ + query?: string; + } + /** - * The entity query kind - * Expected value is 'SecurityAlert'. + * Settings for how to dynamically override alert static details */ - kind: "SecurityAlert"; + export interface AlertDetailsOverrideResponse { + /** + * the format containing columns name(s) to override the alert description + */ + alertDescriptionFormat?: string; + /** + * the format containing columns name(s) to override the alert name + */ + alertDisplayNameFormat?: string; + /** + * the column name to take the alert severity from + */ + alertSeverityColumnName?: string; + /** + * the column name to take the alert tactics from + */ + alertTacticsColumnName?: string; + } + /** - * The alert product name. + * Alerts data type for data connectors. */ - productName?: string; + export interface AlertsDataTypeOfDataConnectorResponse { + /** + * Alerts data type connection. + */ + alerts: outputs.securityinsights.v20210301preview.DataConnectorDataTypeCommonResponse; + } + /** - * The alert severity. + * Connector Availability Status */ - severity: string; + export interface AvailabilityResponse { + /** + * Set connector as preview + */ + isPreview?: boolean; + /** + * The connector Availability Status + */ + status?: number; + } + /** - * The alert start time. + * The available data types for Amazon Web Services CloudTrail data connector. */ - startTimeUtc: string; + export interface AwsCloudTrailDataConnectorDataTypesResponse { + /** + * Logs data type. + */ + logs: outputs.securityinsights.v20210301preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; + } + /** - * The techniques of the alert. + * Logs data type. */ - techniques?: string[]; + export interface AwsCloudTrailDataConnectorDataTypesResponseLogs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * The alert generated time. + * Information on the client (user or application) that made some action */ - timeGenerated: string; - } + export interface ClientInfoResponse { + /** + * The email of the client. + */ + email?: string; + /** + * The name of the client. + */ + name?: string; + /** + * The object id of the client. + */ + objectId?: string; + /** + * The user principal name of the client. + */ + userPrincipalName?: string; + } - /** - * security ml analytics settings data sources - */ - export interface SecurityMLAnalyticsSettingsDataSourceResponse { /** - * The connector id that provides the following data types + * Config to describe the instructions blade */ - connectorId?: string; + export interface CodelessUiConnectorConfigPropertiesResponse { + /** + * Connector Availability Status + */ + availability: outputs.securityinsights.v20210301preview.AvailabilityResponse; + /** + * Define the way the connector check connectivity + */ + connectivityCriteria: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; + /** + * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + */ + customImage?: string; + /** + * Data types to check for last data received + */ + dataTypes: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; + /** + * Connector description + */ + descriptionMarkdown: string; + /** + * The graph query to show the current data status + */ + graphQueries: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; + /** + * Name of the table the connector will insert the data to + */ + graphQueriesTableName: string; + /** + * Instruction steps to enable the connector + */ + instructionSteps: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; + /** + * Permissions required for the connector + */ + permissions: outputs.securityinsights.v20210301preview.PermissionsResponse; + /** + * Connector publisher name + */ + publisher: string; + /** + * The sample queries for the connector + */ + sampleQueries: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; + /** + * Connector blade title + */ + title: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria { + /** + * type of connectivity + */ + type?: string; + /** + * Queries for checking connectivity + */ + value?: string[]; + } + + export interface CodelessUiConnectorConfigPropertiesResponseDataTypes { + /** + * Query for indicate last data received + */ + lastDataReceivedQuery?: string; + /** + * Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + */ + name?: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseGraphQueries { + /** + * The base query for the graph + */ + baseQuery?: string; + /** + * The legend for the graph + */ + legend?: string; + /** + * the metric that the query is checking + */ + metricName?: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseInstructionSteps { + /** + * Instruction step description + */ + description?: string; + /** + * Instruction step details + */ + instructions?: outputs.securityinsights.v20210301preview.InstructionStepsResponseInstructions[]; + /** + * Instruction step title + */ + title?: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseSampleQueries { + /** + * The sample query description + */ + description?: string; + /** + * the sample query + */ + query?: string; + } + /** - * The data types used by the security ml analytics settings + * The mapping of content type to a repo path. */ - dataTypes?: string[]; - } + export interface ContentPathMapResponse { + /** + * Content type. + */ + contentType?: string; + /** + * The path to the content. + */ + path?: string; + } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { /** - * The timestamp of resource creation (UTC). + * Common field for data type in data connectors. */ - createdAt?: string; + export interface DataConnectorDataTypeCommonResponse { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * The identity that created the resource. + * The available data types for Dynamics365 data connector. */ - createdBy?: string; + export interface Dynamics365DataConnectorDataTypesResponse { + /** + * Common Data Service data type connection. + */ + dynamics365CdsActivities: outputs.securityinsights.v20210301preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; + } + /** - * The type of identity that created the resource. + * Common Data Service data type connection. */ - createdByType?: string; + export interface Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * The timestamp of resource last modification (UTC) + * Single entity mapping for the alert rule */ - lastModifiedAt?: string; + export interface EntityMappingResponse { + /** + * The V3 type of the mapped entity + */ + entityType?: string; + /** + * array of field mappings for the given entity mapping + */ + fieldMappings?: outputs.securityinsights.v20210301preview.FieldMappingResponse[]; + } + /** - * The identity that last modified the resource. + * Event grouping settings property bag. */ - lastModifiedBy?: string; + export interface EventGroupingSettingsResponse { + /** + * The event grouping aggregation kinds + */ + aggregationKind?: string; + } + /** - * The type of identity that last modified the resource. + * A single field mapping of the mapped entity */ - lastModifiedByType?: string; - } + export interface FieldMappingResponse { + /** + * the column name to be mapped to the identifier + */ + columnName?: string; + /** + * the V3 identifier of the entity + */ + identifier?: string; + } - /** - * The available data types for TI (Threat Intelligence) data connector. - */ - export interface TIDataConnectorDataTypesResponse { /** - * Data type for indicators connection. + * Grouping configuration property bag. */ - indicators?: outputs.securityinsights.TIDataConnectorDataTypesResponseIndicators; - } + export interface GroupingConfigurationResponse { + /** + * Grouping enabled + */ + enabled: boolean; + /** + * A list of alert details to group by (when matchingMethod is Selected) + */ + groupByAlertDetails?: string[]; + /** + * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + */ + groupByCustomDetails?: string[]; + /** + * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + */ + groupByEntities?: string[]; + /** + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + */ + lookbackDuration: string; + /** + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + */ + matchingMethod: string; + /** + * Re-open closed matching incidents + */ + reopenClosedIncident: boolean; + } - /** - * Data type for indicators connection. - */ - export interface TIDataConnectorDataTypesResponseIndicators { /** - * Describe whether this data type connection is enabled or not. + * Incident additional data property bag. */ - state?: string; - } + export interface IncidentAdditionalDataResponse { + /** + * List of product names of alerts in the incident + */ + alertProductNames: string[]; + /** + * The number of alerts in the incident + */ + alertsCount: number; + /** + * The number of bookmarks in the incident + */ + bookmarksCount: number; + /** + * The number of comments in the incident + */ + commentsCount: number; + /** + * The tactics associated with incident + */ + tactics: string[]; + } - /** - * timeline aggregation information per kind - */ - export interface TimelineAggregationResponse { /** - * the total items found for a kind + * Incident Configuration property bag. */ - count: number; + export interface IncidentConfigurationResponse { + /** + * Create incidents from alerts triggered by this analytics rule + */ + createIncident: boolean; + /** + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + */ + groupingConfiguration?: outputs.securityinsights.v20210301preview.GroupingConfigurationResponse; + } + /** - * the query kind + * Represents an incident label */ - kind: string; - } + export interface IncidentLabelResponse { + /** + * The name of the label + */ + labelName: string; + /** + * The type of the label + */ + labelType: string; + } - /** - * Timeline Query Errors. - */ - export interface TimelineErrorResponse { /** - * the error message + * Information on the user an incident is assigned to */ - errorMessage: string; + export interface IncidentOwnerInfoResponse { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: string; + /** + * The email of the user the incident is assigned to. + */ + email?: string; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: string; + /** + * The type of the owner the incident is assigned to. + */ + ownerType: string; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: string; + } + + export interface InstructionStepsResponseInstructions { + /** + * The parameters for the setting + */ + parameters?: any; + /** + * The kind of the setting + */ + type: string; + } + /** - * the query kind + * The available data types for MCAS (Microsoft Cloud App Security) data connector. */ - kind: string; + export interface MCASDataConnectorDataTypesResponse { + /** + * Alerts data type connection. + */ + alerts: outputs.securityinsights.v20210301preview.DataConnectorDataTypeCommonResponse; + /** + * Discovery log data type connection. + */ + discoveryLogs?: outputs.securityinsights.v20210301preview.DataConnectorDataTypeCommonResponse; + } + /** - * the query id + * The available data types for Microsoft Threat Intelligence Platforms data connector. */ - queryId?: string; - } + export interface MSTIDataConnectorDataTypesResponse { + /** + * Data type for Microsoft Threat Intelligence Platforms data connector. + */ + bingSafetyPhishingURL: outputs.securityinsights.v20210301preview.MSTIDataConnectorDataTypesResponseBingSafetyPhishingURL; + /** + * Data type for Microsoft Threat Intelligence Platforms data connector. + */ + microsoftEmergingThreatFeed: outputs.securityinsights.v20210301preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; + } - /** - * Expansion result metadata. - */ - export interface TimelineResultsMetadataResponse { /** - * timeline aggregation per kind + * Data type for Microsoft Threat Intelligence Platforms data connector. */ - aggregations: outputs.securityinsights.TimelineAggregationResponse[]; + export interface MSTIDataConnectorDataTypesResponseBingSafetyPhishingURL { + /** + * lookback period + */ + lookbackPeriod: string; + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * information about the failure queries + * Data type for Microsoft Threat Intelligence Platforms data connector. */ - errors?: outputs.securityinsights.TimelineErrorResponse[]; + export interface MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed { + /** + * lookback period + */ + lookbackPeriod: string; + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * the total items found for the timeline request + * The available data types for Microsoft Threat Protection Platforms data connector. */ - totalCount: number; - } + export interface MTPDataConnectorDataTypesResponse { + /** + * Data type for Microsoft Threat Protection Platforms data connector. + */ + incidents: outputs.securityinsights.v20210301preview.MTPDataConnectorDataTypesResponseIncidents; + } - /** - * User information that made some action - */ - export interface UserInfoResponse { /** - * The email of the user. + * Data type for Microsoft Threat Protection Platforms data connector. */ - email: string; + export interface MTPDataConnectorDataTypesResponseIncidents { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * The name of the user. + * Publisher or creator of the content item. */ - name: string; + export interface MetadataAuthorResponse { + /** + * Email of author contact + */ + email?: string; + /** + * Link for author/vendor page + */ + link?: string; + /** + * Name of the author. Company or person. + */ + name?: string; + } + /** - * The object id of the user. + * ies for the solution content item */ - objectId?: string; - } + export interface MetadataCategoriesResponse { + /** + * domain for the solution content item + */ + domains?: string[]; + /** + * Industry verticals for the solution content item + */ + verticals?: string[]; + } - /** - * Describes an error encountered in the file during validation. - */ - export interface ValidationErrorResponse { /** - * A list of descriptions of the error. + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ - errorMessages: string[]; + export interface MetadataDependenciesResponse { + /** + * Id of the content item we depend on + */ + contentId?: string; + /** + * This is the list of dependencies we must fulfill, according to the AND/OR operator + */ + criteria?: outputs.securityinsights.v20210301preview.MetadataDependenciesResponse[]; + /** + * Type of the content item we depend on + */ + kind?: string; + /** + * Name of the content item + */ + name?: string; + /** + * Operator used for list of dependencies in criteria array. + */ + operator?: string; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: string; + } + /** - * The number of the record that has the error. + * The original source of the content item, where it comes from. */ - recordIndex?: number; - } + export interface MetadataSourceResponse { + /** + * Source type of the content + */ + kind: string; + /** + * Name of the content source. The repo name, solution name, LA workspace name etc. + */ + name?: string; + /** + * ID of the content source. The solution ID, workspace ID, etc + */ + sourceId?: string; + } - /** - * User information that made some action - */ - export interface WatchlistUserInfoResponse { /** - * The email of the user. + * Support information for the content item. */ - email: string; + export interface MetadataSupportResponse { + /** + * Email of support contact + */ + email?: string; + /** + * Link for support help, like to support page to open a ticket etc. + */ + link?: string; + /** + * Name of the support contact. Company or person. + */ + name?: string; + /** + * Type of support for content item + */ + tier: string; + } + /** - * The name of the user. + * The available data types for office data connector. */ - name: string; + export interface OfficeDataConnectorDataTypesResponse { + /** + * Exchange data type connection. + */ + exchange: outputs.securityinsights.v20210301preview.OfficeDataConnectorDataTypesResponseExchange; + /** + * SharePoint data type connection. + */ + sharePoint: outputs.securityinsights.v20210301preview.OfficeDataConnectorDataTypesResponseSharePoint; + /** + * Teams data type connection. + */ + teams: outputs.securityinsights.v20210301preview.OfficeDataConnectorDataTypesResponseTeams; + } + /** - * The object id of the user. + * Exchange data type connection. */ - objectId?: string; - } + export interface OfficeDataConnectorDataTypesResponseExchange { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } - /** - * Detail about the webhook object. - */ - export interface WebhookResponse { /** - * A flag to instruct the backend service to rotate webhook secret. + * SharePoint data type connection. */ - rotateWebhookSecret?: boolean; + export interface OfficeDataConnectorDataTypesResponseSharePoint { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * Unique identifier for the webhook. + * Teams data type connection. */ - webhookId?: string; + export interface OfficeDataConnectorDataTypesResponseTeams { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** - * Time when the webhook secret was updated. + * Permissions required for the connector */ - webhookSecretUpdateTime?: string; + export interface PermissionsResponse { + /** + * Customs permissions required for the connector + */ + customs?: outputs.securityinsights.v20210301preview.PermissionsResponseCustoms[]; + /** + * Resource provider permissions required for the connector + */ + resourceProvider?: outputs.securityinsights.v20210301preview.PermissionsResponseResourceProvider[]; + } + + export interface PermissionsResponseCustoms { + /** + * Customs permissions description + */ + description?: string; + /** + * Customs permissions name + */ + name?: string; + } + + export interface PermissionsResponseResourceProvider { + /** + * Permission description text + */ + permissionsDisplayText?: string; + /** + * Provider name + */ + provider?: string; + /** + * Permission provider display name + */ + providerDisplayName?: string; + /** + * Required permissions for the connector + */ + requiredPermissions?: outputs.securityinsights.v20210301preview.RequiredPermissionsResponse; + /** + * Permission provider scope + */ + scope?: string; + } + /** - * URL that gets invoked by the webhook. + * Represents a repository. */ - webhookUrl?: string; - } + export interface RepoResponse { + /** + * Array of branches. + */ + branches?: string[]; + /** + * The name of the repository. + */ + fullName?: string; + /** + * The url to access the repository. + */ + url?: string; + } - export namespace v20190101preview { /** - * Represents Activity timeline item. + * metadata of a repository. */ - export interface ActivityTimelineItemResponse { + export interface RepositoryResponse { /** - * The grouping bucket end time. + * Branch name of repository. */ - bucketEndTimeUTC: string; + branch?: string; /** - * The grouping bucket start time. + * Url to access repository action logs. */ - bucketStartTimeUTC: string; + deploymentLogsUrl?: string; /** - * The activity timeline content. + * Display url of repository. */ - content: string; + displayUrl?: string; /** - * The time of the first activity in the grouping bucket. + * Dictionary of source control content type and path mapping. */ - firstActivityTimeUTC: string; + pathMapping?: outputs.securityinsights.v20210301preview.ContentPathMapResponse[]; /** - * The entity query kind - * Expected value is 'Activity'. + * Url of repository. */ - kind: "Activity"; + url?: string; + } + + /** + * Required permissions for the connector + */ + export interface RequiredPermissionsResponse { /** - * The time of the last activity in the grouping bucket. + * action permission */ - lastActivityTimeUTC: string; + action?: boolean; /** - * The activity query id. + * delete permission */ - queryId: string; + delete?: boolean; /** - * The activity timeline title. + * read permission */ - title: string; + read?: boolean; + /** + * write permission + */ + write?: boolean; } /** - * Describes an automation rule action to modify an object's properties + * Metadata pertaining to creation and last modification of the resource. */ - export interface AutomationRuleModifyPropertiesActionResponse { + export interface SystemDataResponse { /** - * The configuration of the modify properties automation rule action + * The timestamp of resource creation (UTC). */ - actionConfiguration: outputs.securityinsights.v20190101preview.AutomationRuleModifyPropertiesActionResponseActionConfiguration; + createdAt?: string; /** - * The type of the automation rule action - * Expected value is 'ModifyProperties'. + * The identity that created the resource. */ - actionType: "ModifyProperties"; + createdBy?: string; /** - * The order of execution of the automation rule action + * The type of identity that created the resource. */ - order: number; + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; } /** - * The configuration of the modify properties automation rule action + * The available data types for TI (Threat Intelligence) data connector. */ - export interface AutomationRuleModifyPropertiesActionResponseActionConfiguration { + export interface TIDataConnectorDataTypesResponse { /** - * The reason the incident was closed + * Data type for indicators connection. */ - classification?: string; + indicators: outputs.securityinsights.v20210301preview.TIDataConnectorDataTypesResponseIndicators; + } + + /** + * Data type for indicators connection. + */ + export interface TIDataConnectorDataTypesResponseIndicators { /** - * Describes the reason the incident was closed + * Describe whether this data type connection is enabled or not. */ - classificationComment?: string; + state: string; + } + + /** + * Describes team information + */ + export interface TeamInformationResponse { /** - * The classification reason to close the incident with + * The description of the team */ - classificationReason?: string; + description: string; /** - * List of labels to add to the incident + * The name of the team */ - labels?: outputs.securityinsights.v20190101preview.IncidentLabelResponse[]; + name: string; /** - * Describes a user that the incident is assigned to + * The primary channel URL of the team */ - owner?: outputs.securityinsights.v20190101preview.IncidentOwnerInfoResponse; + primaryChannelUrl: string; /** - * The severity of the incident + * The time the team was created */ - severity?: string; + teamCreationTimeUtc: string; /** - * The status of the incident + * Team ID */ - status?: string; + teamId: string; } /** - * Describes an automation rule condition that evaluates a property's value + * The available data types for Threat Intelligence TAXII data connector. */ - export interface AutomationRulePropertyValuesConditionResponse { + export interface TiTaxiiDataConnectorDataTypesResponse { /** - * The configuration of the automation rule condition + * Data type for TAXII connector. */ - conditionProperties: outputs.securityinsights.v20190101preview.AutomationRulePropertyValuesConditionResponseConditionProperties; + taxiiClient: outputs.securityinsights.v20210301preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; + } + + /** + * Data type for TAXII connector. + */ + export interface TiTaxiiDataConnectorDataTypesResponseTaxiiClient { /** - * The type of the automation rule condition - * Expected value is 'Property'. + * Describe whether this data type connection is enabled or not. */ - conditionType: "Property"; + state: string; } /** - * The configuration of the automation rule condition + * User information that made some action */ - export interface AutomationRulePropertyValuesConditionResponseConditionProperties { + export interface WatchlistUserInfoResponse { /** - * The operator to use for evaluation the condition + * The email of the user. */ - operator?: string; + email: string; /** - * The property to evaluate + * The name of the user. */ - propertyName?: string; + name: string; /** - * The values to use for evaluating the condition + * The object id of the user. */ - propertyValues?: string[]; + objectId?: string; } + } + + export namespace v20210401 { /** - * Describes an automation rule action to run a playbook + * Metadata pertaining to creation and last modification of the resource. */ - export interface AutomationRuleRunPlaybookActionResponse { + export interface SystemDataResponse { /** - * The configuration of the run playbook automation rule action + * The timestamp of resource creation (UTC). */ - actionConfiguration: outputs.securityinsights.v20190101preview.AutomationRuleRunPlaybookActionResponseActionConfiguration; + createdAt?: string; /** - * The type of the automation rule action - * Expected value is 'RunPlaybook'. + * The identity that created the resource. */ - actionType: "RunPlaybook"; + createdBy?: string; /** - * The order of execution of the automation rule action + * The type of identity that created the resource. */ - order: number; + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; } /** - * The configuration of the run playbook automation rule action + * User information that made some action */ - export interface AutomationRuleRunPlaybookActionResponseActionConfiguration { + export interface WatchlistUserInfoResponse { /** - * The resource id of the playbook resource + * The email of the user. */ - logicAppResourceId?: string; + email: string; /** - * The tenant id of the playbook resource + * The name of the user. */ - tenantId?: string; + name: string; + /** + * The object id of the user. + */ + objectId?: string; } + } + + export namespace v20210901preview { /** - * Describes automation rule triggering logic + * Represents Activity timeline item. */ - export interface AutomationRuleTriggeringLogicResponse { + export interface ActivityTimelineItemResponse { /** - * The conditions to evaluate to determine if the automation rule should be triggered on a given object + * The grouping bucket end time. */ - conditions?: outputs.securityinsights.v20190101preview.AutomationRulePropertyValuesConditionResponse[]; + bucketEndTimeUTC: string; /** - * Determines when the automation rule should automatically expire and be disabled. + * The grouping bucket start time. */ - expirationTimeUtc?: string; + bucketStartTimeUTC: string; /** - * Determines whether the automation rule is enabled or disabled. + * The activity timeline content. */ - isEnabled: boolean; + content: string; /** - * The type of object the automation rule triggers on + * The time of the first activity in the grouping bucket. */ - triggersOn: string; + firstActivityTimeUTC: string; /** - * The type of event the automation rule triggers on + * The entity query kind + * Expected value is 'Activity'. */ - triggersWhen: string; + kind: "Activity"; + /** + * The time of the last activity in the grouping bucket. + */ + lastActivityTimeUTC: string; + /** + * The activity query id. + */ + queryId: string; + /** + * The activity timeline title. + */ + title: string; } /** @@ -485670,7 +498921,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20190101preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20210901preview.UserInfoResponse; /** * The bookmark display name. */ @@ -485702,28 +498953,6 @@ export namespace securityinsights { startTimeUtc?: string; } - /** - * Information on the client (user or application) that made some action - */ - export interface ClientInfoResponse { - /** - * The email of the client. - */ - email?: string; - /** - * The name of the client. - */ - name?: string; - /** - * The object id of the client. - */ - objectId?: string; - /** - * The user principal name of the client. - */ - userPrincipalName?: string; - } - /** * Entity insight Item. */ @@ -485731,7 +498960,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20190101preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20210901preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -485739,11 +498968,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20190101preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20210901preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20190101preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20210901preview.InsightsTableResultResponse; } /** @@ -485785,71 +499014,13 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20190101preview.GetInsightsErrorResponse[]; + errors?: outputs.securityinsights.v20210901preview.GetInsightsErrorResponse[]; /** * the total items found for the insights request */ totalCount: number; } - /** - * Describes related incident information for the bookmark - */ - export interface IncidentInfoResponse { - /** - * Incident Id - */ - incidentId?: string; - /** - * Relation Name - */ - relationName?: string; - /** - * The severity of the incident - */ - severity?: string; - /** - * The title of the incident - */ - title?: string; - } - - /** - * Represents an incident label - */ - export interface IncidentLabelResponse { - /** - * The name of the label - */ - labelName: string; - /** - * The type of the label - */ - labelType: string; - } - - /** - * Information on the user an incident is assigned to - */ - export interface IncidentOwnerInfoResponse { - /** - * The name of the user the incident is assigned to. - */ - assignedTo?: string; - /** - * The email of the user the incident is assigned to. - */ - email?: string; - /** - * The object id of the user the incident is assigned to. - */ - objectId?: string; - /** - * The user principal name of the user the incident is assigned to. - */ - userPrincipalName?: string; - } - /** * Query results for table insights query. */ @@ -485857,7 +499028,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20190101preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20210901preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -485875,6 +499046,24 @@ export namespace securityinsights { type?: string; } + /** + * Represents a repository. + */ + export interface RepoResponse { + /** + * Array of branches. + */ + branches?: string[]; + /** + * The name of the repository. + */ + fullName?: string; + /** + * The url to access the repository. + */ + url?: string; + } + /** * Represents security alert timeline item. */ @@ -485922,6 +499111,36 @@ export namespace securityinsights { timeGenerated: string; } + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** * timeline aggregation information per kind */ @@ -485961,11 +499180,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20190101preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20210901preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20190101preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20210901preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -485990,35 +499209,46 @@ export namespace securityinsights { objectId?: string; } + } + + export namespace v20211001preview { /** - * User information that made some action + * Represents Activity timeline item. */ - export interface WatchlistUserInfoResponse { + export interface ActivityTimelineItemResponse { /** - * The email of the user. + * The grouping bucket end time. */ - email: string; + bucketEndTimeUTC: string; /** - * The name of the user. + * The grouping bucket start time. */ - name: string; + bucketStartTimeUTC: string; /** - * The object id of the user. + * The activity timeline content. */ - objectId?: string; - } - - } - - export namespace v20210301preview { - /** - * The Activity query definitions - */ - export interface ActivityEntityQueriesPropertiesResponseQueryDefinitions { + content: string; /** - * The Activity query to run on a given entity + * The time of the first activity in the grouping bucket. */ - query?: string; + firstActivityTimeUTC: string; + /** + * The entity query kind + * Expected value is 'Activity'. + */ + kind: "Activity"; + /** + * The time of the last activity in the grouping bucket. + */ + lastActivityTimeUTC: string; + /** + * The activity query id. + */ + queryId: string; + /** + * The activity timeline title. + */ + title: string; } /** @@ -486044,268 +499274,224 @@ export namespace securityinsights { } /** - * Alerts data type for data connectors. + * Represents bookmark timeline item. */ - export interface AlertsDataTypeOfDataConnectorResponse { + export interface BookmarkTimelineItemResponse { /** - * Alerts data type connection. + * The bookmark azure resource id. */ - alerts: outputs.securityinsights.v20210301preview.DataConnectorDataTypeCommonResponse; - } - - /** - * Connector Availability Status - */ - export interface AvailabilityResponse { + azureResourceId: string; /** - * Set connector as preview + * Describes a user that created the bookmark */ - isPreview?: boolean; + createdBy?: outputs.securityinsights.v20211001preview.UserInfoResponse; /** - * The connector Availability Status + * The bookmark display name. */ - status?: number; - } - - /** - * The available data types for Amazon Web Services CloudTrail data connector. - */ - export interface AwsCloudTrailDataConnectorDataTypesResponse { + displayName?: string; /** - * Logs data type. + * The bookmark end time. */ - logs: outputs.securityinsights.v20210301preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; - } - - /** - * Logs data type. - */ - export interface AwsCloudTrailDataConnectorDataTypesResponseLogs { + endTimeUtc?: string; /** - * Describe whether this data type connection is enabled or not. + * The bookmark event time. */ - state: string; - } - - /** - * Information on the client (user or application) that made some action - */ - export interface ClientInfoResponse { + eventTime?: string; /** - * The email of the client. + * The entity query kind + * Expected value is 'Bookmark'. */ - email?: string; + kind: "Bookmark"; /** - * The name of the client. + * List of labels relevant to this bookmark */ - name?: string; + labels?: string[]; /** - * The object id of the client. + * The notes of the bookmark */ - objectId?: string; + notes?: string; /** - * The user principal name of the client. + * The bookmark start time. */ - userPrincipalName?: string; + startTimeUtc?: string; } /** - * Config to describe the instructions blade + * Entity insight Item. */ - export interface CodelessUiConnectorConfigPropertiesResponse { - /** - * Connector Availability Status - */ - availability: outputs.securityinsights.v20210301preview.AvailabilityResponse; - /** - * Define the way the connector check connectivity - */ - connectivityCriteria: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; - /** - * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery - */ - customImage?: string; - /** - * Data types to check for last data received - */ - dataTypes: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; - /** - * Connector description - */ - descriptionMarkdown: string; - /** - * The graph query to show the current data status - */ - graphQueries: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; + export interface EntityInsightItemResponse { /** - * Name of the table the connector will insert the data to + * Query results for table insights query. */ - graphQueriesTableName: string; + chartQueryResults?: outputs.securityinsights.v20211001preview.InsightsTableResultResponse[]; /** - * Instruction steps to enable the connector + * The query id of the insight */ - instructionSteps: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; + queryId?: string; /** - * Permissions required for the connector + * The Time interval that the query actually executed on. */ - permissions: outputs.securityinsights.v20210301preview.PermissionsResponse; + queryTimeInterval?: outputs.securityinsights.v20211001preview.EntityInsightItemResponseQueryTimeInterval; /** - * Connector publisher name + * Query results for table insights query. */ - publisher: string; + tableQueryResults?: outputs.securityinsights.v20211001preview.InsightsTableResultResponse; + } + + /** + * The Time interval that the query actually executed on. + */ + export interface EntityInsightItemResponseQueryTimeInterval { /** - * The sample queries for the connector + * Insight query end time */ - sampleQueries: outputs.securityinsights.v20210301preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; + endTime?: string; /** - * Connector blade title + * Insight query start time */ - title: string; + startTime?: string; } - export interface CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria { + /** + * Single entity mapping for the alert rule + */ + export interface EntityMappingResponse { /** - * type of connectivity + * The V3 type of the mapped entity */ - type?: string; + entityType?: string; /** - * Queries for checking connectivity + * array of field mappings for the given entity mapping */ - value?: string[]; + fieldMappings?: outputs.securityinsights.v20211001preview.FieldMappingResponse[]; } - export interface CodelessUiConnectorConfigPropertiesResponseDataTypes { + /** + * A single field mapping of the mapped entity + */ + export interface FieldMappingResponse { /** - * Query for indicate last data received + * the column name to be mapped to the identifier */ - lastDataReceivedQuery?: string; + columnName?: string; /** - * Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + * the V3 identifier of the entity */ - name?: string; + identifier?: string; } - export interface CodelessUiConnectorConfigPropertiesResponseGraphQueries { - /** - * The base query for the graph - */ - baseQuery?: string; + /** + * Represents a Fusion scenario exclusion patterns in Fusion detection. + */ + export interface FusionScenarioExclusionPatternResponse { /** - * The legend for the graph + * DateTime when scenario exclusion pattern is added in UTC. */ - legend?: string; + dateAddedInUTC: string; /** - * the metric that the query is checking + * Scenario exclusion pattern. */ - metricName?: string; + exclusionPattern: string; } - export interface CodelessUiConnectorConfigPropertiesResponseInstructionSteps { + /** + * Represents a supported source signal configuration in Fusion detection. + */ + export interface FusionSourceSettingsResponse { /** - * Instruction step description + * Determines whether this source signal is enabled or disabled in Fusion detection. */ - description?: string; + enabled: boolean; /** - * Instruction step details + * Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. */ - instructions?: outputs.securityinsights.v20210301preview.InstructionStepsResponseInstructions[]; + sourceName: string; /** - * Instruction step title + * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - title?: string; + sourceSubTypes?: outputs.securityinsights.v20211001preview.FusionSourceSubTypeSettingResponse[]; } - export interface CodelessUiConnectorConfigPropertiesResponseSampleQueries { + /** + * Represents a supported source subtype configuration under a source signal in Fusion detection. + */ + export interface FusionSourceSubTypeSettingResponse { /** - * The sample query description + * Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. */ - description?: string; + enabled: boolean; /** - * the sample query + * Severity configuration for a source subtype consumed in fusion detection. */ - query?: string; - } - - /** - * The mapping of content type to a repo path. - */ - export interface ContentPathMapResponse { + severityFilters: outputs.securityinsights.v20211001preview.FusionSubTypeSeverityFilterResponse; /** - * Content type. + * The display name of source subtype under a source signal consumed in Fusion detection. */ - contentType?: string; + sourceSubTypeDisplayName: string; /** - * The path to the content. + * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. */ - path?: string; + sourceSubTypeName: string; } /** - * Common field for data type in data connectors. + * Represents severity configuration for a source subtype consumed in Fusion detection. */ - export interface DataConnectorDataTypeCommonResponse { + export interface FusionSubTypeSeverityFilterResponse { /** - * Describe whether this data type connection is enabled or not. + * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - state: string; - } - - /** - * The available data types for Dynamics365 data connector. - */ - export interface Dynamics365DataConnectorDataTypesResponse { + filters?: outputs.securityinsights.v20211001preview.FusionSubTypeSeverityFiltersItemResponse[]; /** - * Common Data Service data type connection. + * Determines whether this source subtype supports severity configuration or not. */ - dynamics365CdsActivities: outputs.securityinsights.v20210301preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; + isSupported: boolean; } /** - * Common Data Service data type connection. + * Represents a Severity filter setting for a given source subtype consumed in Fusion detection. */ - export interface Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities { + export interface FusionSubTypeSeverityFiltersItemResponse { /** - * Describe whether this data type connection is enabled or not. + * Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. */ - state: string; + enabled: boolean; + /** + * The Severity for a given source subtype consumed in Fusion detection. + */ + severity: string; } /** - * Single entity mapping for the alert rule + * GetInsights Query Errors. */ - export interface EntityMappingResponse { + export interface GetInsightsErrorResponse { /** - * The V3 type of the mapped entity + * the error message */ - entityType?: string; + errorMessage: string; /** - * array of field mappings for the given entity mapping + * the query kind */ - fieldMappings?: outputs.securityinsights.v20210301preview.FieldMappingResponse[]; - } - - /** - * Event grouping settings property bag. - */ - export interface EventGroupingSettingsResponse { + kind: string; /** - * The event grouping aggregation kinds + * the query id */ - aggregationKind?: string; + queryId?: string; } /** - * A single field mapping of the mapped entity + * Get Insights result metadata. */ - export interface FieldMappingResponse { + export interface GetInsightsResultsMetadataResponse { /** - * the column name to be mapped to the identifier + * information about the failed queries */ - columnName?: string; + errors?: outputs.securityinsights.v20211001preview.GetInsightsErrorResponse[]; /** - * the V3 identifier of the entity + * the total items found for the insights request */ - identifier?: string; + totalCount: number; } /** @@ -486329,382 +499515,415 @@ export namespace securityinsights { */ groupByEntities?: string[]; /** - * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + */ + lookbackDuration: string; + /** + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + */ + matchingMethod: string; + /** + * Re-open closed matching incidents + */ + reopenClosedIncident: boolean; + } + + /** + * Incident Configuration property bag. + */ + export interface IncidentConfigurationResponse { + /** + * Create incidents from alerts triggered by this analytics rule + */ + createIncident: boolean; + /** + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + */ + groupingConfiguration?: outputs.securityinsights.v20211001preview.GroupingConfigurationResponse; + } + + /** + * Query results for table insights query. + */ + export interface InsightsTableResultResponse { + /** + * Columns Metadata of the table + */ + columns?: outputs.securityinsights.v20211001preview.InsightsTableResultResponseColumns[]; + /** + * Rows data of the table + */ + rows?: string[][]; + } + + export interface InsightsTableResultResponseColumns { + /** + * the name of the colum + */ + name?: string; + /** + * the type of the colum + */ + type?: string; + } + + /** + * Represents a repository. + */ + export interface RepoResponse { + /** + * Array of branches. */ - lookbackDuration: string; + branches?: string[]; /** - * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + * The name of the repository. */ - matchingMethod: string; + fullName?: string; /** - * Re-open closed matching incidents + * The url to access the repository. */ - reopenClosedIncident: boolean; + url?: string; } /** - * Incident additional data property bag. + * Represents security alert timeline item. */ - export interface IncidentAdditionalDataResponse { + export interface SecurityAlertTimelineItemResponse { /** - * List of product names of alerts in the incident + * The name of the alert type. */ - alertProductNames: string[]; + alertType: string; /** - * The number of alerts in the incident + * The alert azure resource id. */ - alertsCount: number; + azureResourceId: string; /** - * The number of bookmarks in the incident + * The alert description. */ - bookmarksCount: number; + description?: string; /** - * The number of comments in the incident + * The alert name. */ - commentsCount: number; + displayName: string; /** - * The tactics associated with incident + * The alert end time. */ - tactics: string[]; - } - - /** - * Incident Configuration property bag. - */ - export interface IncidentConfigurationResponse { + endTimeUtc: string; /** - * Create incidents from alerts triggered by this analytics rule + * The entity query kind + * Expected value is 'SecurityAlert'. */ - createIncident: boolean; + kind: "SecurityAlert"; /** - * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + * The alert product name. */ - groupingConfiguration?: outputs.securityinsights.v20210301preview.GroupingConfigurationResponse; - } - - /** - * Represents an incident label - */ - export interface IncidentLabelResponse { + productName?: string; /** - * The name of the label + * The alert severity. */ - labelName: string; + severity: string; /** - * The type of the label + * The alert start time. */ - labelType: string; + startTimeUtc: string; + /** + * The alert generated time. + */ + timeGenerated: string; } /** - * Information on the user an incident is assigned to + * Metadata pertaining to creation and last modification of the resource. */ - export interface IncidentOwnerInfoResponse { - /** - * The name of the user the incident is assigned to. - */ - assignedTo?: string; + export interface SystemDataResponse { /** - * The email of the user the incident is assigned to. + * The timestamp of resource creation (UTC). */ - email?: string; + createdAt?: string; /** - * The object id of the user the incident is assigned to. + * The identity that created the resource. */ - objectId?: string; + createdBy?: string; /** - * The type of the owner the incident is assigned to. + * The type of identity that created the resource. */ - ownerType: string; + createdByType?: string; /** - * The user principal name of the user the incident is assigned to. + * The timestamp of resource last modification (UTC) */ - userPrincipalName?: string; - } - - export interface InstructionStepsResponseInstructions { + lastModifiedAt?: string; /** - * The parameters for the setting + * The identity that last modified the resource. */ - parameters?: any; + lastModifiedBy?: string; /** - * The kind of the setting + * The type of identity that last modified the resource. */ - type: string; + lastModifiedByType?: string; } /** - * The available data types for MCAS (Microsoft Cloud App Security) data connector. + * timeline aggregation information per kind */ - export interface MCASDataConnectorDataTypesResponse { + export interface TimelineAggregationResponse { /** - * Alerts data type connection. + * the total items found for a kind */ - alerts: outputs.securityinsights.v20210301preview.DataConnectorDataTypeCommonResponse; + count: number; /** - * Discovery log data type connection. + * the query kind */ - discoveryLogs?: outputs.securityinsights.v20210301preview.DataConnectorDataTypeCommonResponse; + kind: string; } /** - * The available data types for Microsoft Threat Intelligence Platforms data connector. + * Timeline Query Errors. */ - export interface MSTIDataConnectorDataTypesResponse { - /** - * Data type for Microsoft Threat Intelligence Platforms data connector. - */ - bingSafetyPhishingURL: outputs.securityinsights.v20210301preview.MSTIDataConnectorDataTypesResponseBingSafetyPhishingURL; + export interface TimelineErrorResponse { /** - * Data type for Microsoft Threat Intelligence Platforms data connector. + * the error message */ - microsoftEmergingThreatFeed: outputs.securityinsights.v20210301preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; - } - - /** - * Data type for Microsoft Threat Intelligence Platforms data connector. - */ - export interface MSTIDataConnectorDataTypesResponseBingSafetyPhishingURL { + errorMessage: string; /** - * lookback period + * the query kind */ - lookbackPeriod: string; + kind: string; /** - * Describe whether this data type connection is enabled or not. + * the query id */ - state: string; + queryId?: string; } /** - * Data type for Microsoft Threat Intelligence Platforms data connector. + * Expansion result metadata. */ - export interface MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed { + export interface TimelineResultsMetadataResponse { /** - * lookback period + * timeline aggregation per kind */ - lookbackPeriod: string; + aggregations: outputs.securityinsights.v20211001preview.TimelineAggregationResponse[]; /** - * Describe whether this data type connection is enabled or not. + * information about the failure queries */ - state: string; - } - - /** - * The available data types for Microsoft Threat Protection Platforms data connector. - */ - export interface MTPDataConnectorDataTypesResponse { + errors?: outputs.securityinsights.v20211001preview.TimelineErrorResponse[]; /** - * Data type for Microsoft Threat Protection Platforms data connector. + * the total items found for the timeline request */ - incidents: outputs.securityinsights.v20210301preview.MTPDataConnectorDataTypesResponseIncidents; + totalCount: number; } /** - * Data type for Microsoft Threat Protection Platforms data connector. + * User information that made some action */ - export interface MTPDataConnectorDataTypesResponseIncidents { + export interface UserInfoResponse { /** - * Describe whether this data type connection is enabled or not. + * The email of the user. */ - state: string; + email: string; + /** + * The name of the user. + */ + name: string; + /** + * The object id of the user. + */ + objectId?: string; } /** - * Publisher or creator of the content item. + * User information that made some action */ - export interface MetadataAuthorResponse { + export interface WatchlistUserInfoResponse { /** - * Email of author contact + * The email of the user. */ - email?: string; + email: string; /** - * Link for author/vendor page + * The name of the user. */ - link?: string; + name: string; /** - * Name of the author. Company or person. + * The object id of the user. */ - name?: string; + objectId?: string; } + } + + export namespace v20220101preview { /** - * ies for the solution content item + * Represents Activity timeline item. */ - export interface MetadataCategoriesResponse { + export interface ActivityTimelineItemResponse { /** - * domain for the solution content item + * The grouping bucket end time. */ - domains?: string[]; + bucketEndTimeUTC: string; /** - * Industry verticals for the solution content item + * The grouping bucket start time. */ - verticals?: string[]; - } - - /** - * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. - */ - export interface MetadataDependenciesResponse { + bucketStartTimeUTC: string; /** - * Id of the content item we depend on + * The activity timeline content. */ - contentId?: string; + content: string; /** - * This is the list of dependencies we must fulfill, according to the AND/OR operator + * The time of the first activity in the grouping bucket. */ - criteria?: outputs.securityinsights.v20210301preview.MetadataDependenciesResponse[]; + firstActivityTimeUTC: string; /** - * Type of the content item we depend on + * The entity query kind + * Expected value is 'Activity'. */ - kind?: string; + kind: "Activity"; /** - * Name of the content item + * The time of the last activity in the grouping bucket. */ - name?: string; + lastActivityTimeUTC: string; /** - * Operator used for list of dependencies in criteria array. + * The activity query id. */ - operator?: string; + queryId: string; /** - * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + * The activity timeline title. */ - version?: string; + title: string; } /** - * The original source of the content item, where it comes from. + * Represents bookmark timeline item. */ - export interface MetadataSourceResponse { + export interface BookmarkTimelineItemResponse { /** - * Source type of the content + * The bookmark azure resource id. */ - kind: string; + azureResourceId: string; /** - * Name of the content source. The repo name, solution name, LA workspace name etc. + * Describes a user that created the bookmark */ - name?: string; + createdBy?: outputs.securityinsights.v20220101preview.UserInfoResponse; /** - * ID of the content source. The solution ID, workspace ID, etc + * The bookmark display name. */ - sourceId?: string; - } - - /** - * Support information for the content item. - */ - export interface MetadataSupportResponse { + displayName?: string; /** - * Email of support contact + * The bookmark end time. */ - email?: string; + endTimeUtc?: string; /** - * Link for support help, like to support page to open a ticket etc. + * The bookmark event time. */ - link?: string; + eventTime?: string; /** - * Name of the support contact. Company or person. + * The entity query kind + * Expected value is 'Bookmark'. */ - name?: string; + kind: "Bookmark"; /** - * Type of support for content item + * List of labels relevant to this bookmark */ - tier: string; + labels?: string[]; + /** + * The notes of the bookmark + */ + notes?: string; + /** + * The bookmark start time. + */ + startTimeUtc?: string; } /** - * The available data types for office data connector. + * Entity insight Item. */ - export interface OfficeDataConnectorDataTypesResponse { + export interface EntityInsightItemResponse { /** - * Exchange data type connection. + * Query results for table insights query. */ - exchange: outputs.securityinsights.v20210301preview.OfficeDataConnectorDataTypesResponseExchange; + chartQueryResults?: outputs.securityinsights.v20220101preview.InsightsTableResultResponse[]; /** - * SharePoint data type connection. + * The query id of the insight */ - sharePoint: outputs.securityinsights.v20210301preview.OfficeDataConnectorDataTypesResponseSharePoint; + queryId?: string; /** - * Teams data type connection. + * The Time interval that the query actually executed on. */ - teams: outputs.securityinsights.v20210301preview.OfficeDataConnectorDataTypesResponseTeams; - } - - /** - * Exchange data type connection. - */ - export interface OfficeDataConnectorDataTypesResponseExchange { + queryTimeInterval?: outputs.securityinsights.v20220101preview.EntityInsightItemResponseQueryTimeInterval; /** - * Describe whether this data type connection is enabled or not. + * Query results for table insights query. */ - state: string; + tableQueryResults?: outputs.securityinsights.v20220101preview.InsightsTableResultResponse; } /** - * SharePoint data type connection. + * The Time interval that the query actually executed on. */ - export interface OfficeDataConnectorDataTypesResponseSharePoint { + export interface EntityInsightItemResponseQueryTimeInterval { /** - * Describe whether this data type connection is enabled or not. + * Insight query end time */ - state: string; - } - - /** - * Teams data type connection. - */ - export interface OfficeDataConnectorDataTypesResponseTeams { + endTime?: string; /** - * Describe whether this data type connection is enabled or not. + * Insight query start time */ - state: string; + startTime?: string; } /** - * Permissions required for the connector + * GetInsights Query Errors. */ - export interface PermissionsResponse { + export interface GetInsightsErrorResponse { /** - * Customs permissions required for the connector + * the error message */ - customs?: outputs.securityinsights.v20210301preview.PermissionsResponseCustoms[]; + errorMessage: string; /** - * Resource provider permissions required for the connector + * the query kind */ - resourceProvider?: outputs.securityinsights.v20210301preview.PermissionsResponseResourceProvider[]; + kind: string; + /** + * the query id + */ + queryId?: string; } - export interface PermissionsResponseCustoms { + /** + * Get Insights result metadata. + */ + export interface GetInsightsResultsMetadataResponse { /** - * Customs permissions description + * information about the failed queries */ - description?: string; + errors?: outputs.securityinsights.v20220101preview.GetInsightsErrorResponse[]; /** - * Customs permissions name + * the total items found for the insights request */ - name?: string; + totalCount: number; } - export interface PermissionsResponseResourceProvider { - /** - * Permission description text - */ - permissionsDisplayText?: string; + /** + * Query results for table insights query. + */ + export interface InsightsTableResultResponse { /** - * Provider name + * Columns Metadata of the table */ - provider?: string; + columns?: outputs.securityinsights.v20220101preview.InsightsTableResultResponseColumns[]; /** - * Permission provider display name + * Rows data of the table */ - providerDisplayName?: string; + rows?: string[][]; + } + + export interface InsightsTableResultResponseColumns { /** - * Required permissions for the connector + * the name of the colum */ - requiredPermissions?: outputs.securityinsights.v20210301preview.RequiredPermissionsResponse; + name?: string; /** - * Permission provider scope + * the type of the colum */ - scope?: string; + type?: string; } /** @@ -486726,51 +499945,50 @@ export namespace securityinsights { } /** - * metadata of a repository. + * Represents security alert timeline item. */ - export interface RepositoryResponse { + export interface SecurityAlertTimelineItemResponse { /** - * Branch name of repository. + * The name of the alert type. */ - branch?: string; + alertType: string; /** - * Url to access repository action logs. + * The alert azure resource id. */ - deploymentLogsUrl?: string; + azureResourceId: string; /** - * Display url of repository. + * The alert description. */ - displayUrl?: string; + description?: string; /** - * Dictionary of source control content type and path mapping. + * The alert name. */ - pathMapping?: outputs.securityinsights.v20210301preview.ContentPathMapResponse[]; + displayName: string; /** - * Url of repository. + * The alert end time. */ - url?: string; - } - - /** - * Required permissions for the connector - */ - export interface RequiredPermissionsResponse { + endTimeUtc: string; /** - * action permission + * The entity query kind + * Expected value is 'SecurityAlert'. */ - action?: boolean; + kind: "SecurityAlert"; /** - * delete permission + * The alert product name. */ - delete?: boolean; + productName?: string; /** - * read permission + * The alert severity. */ - read?: boolean; + severity: string; /** - * write permission + * The alert start time. */ - write?: boolean; + startTimeUtc: string; + /** + * The alert generated time. + */ + timeGenerated: string; } /** @@ -486804,75 +500022,59 @@ export namespace securityinsights { } /** - * The available data types for TI (Threat Intelligence) data connector. + * timeline aggregation information per kind */ - export interface TIDataConnectorDataTypesResponse { + export interface TimelineAggregationResponse { /** - * Data type for indicators connection. + * the total items found for a kind */ - indicators: outputs.securityinsights.v20210301preview.TIDataConnectorDataTypesResponseIndicators; - } - - /** - * Data type for indicators connection. - */ - export interface TIDataConnectorDataTypesResponseIndicators { + count: number; /** - * Describe whether this data type connection is enabled or not. + * the query kind */ - state: string; + kind: string; } /** - * Describes team information + * Timeline Query Errors. */ - export interface TeamInformationResponse { - /** - * The description of the team - */ - description: string; - /** - * The name of the team - */ - name: string; + export interface TimelineErrorResponse { /** - * The primary channel URL of the team + * the error message */ - primaryChannelUrl: string; + errorMessage: string; /** - * The time the team was created + * the query kind */ - teamCreationTimeUtc: string; + kind: string; /** - * Team ID + * the query id */ - teamId: string; + queryId?: string; } /** - * The available data types for Threat Intelligence TAXII data connector. + * Expansion result metadata. */ - export interface TiTaxiiDataConnectorDataTypesResponse { + export interface TimelineResultsMetadataResponse { /** - * Data type for TAXII connector. + * timeline aggregation per kind */ - taxiiClient: outputs.securityinsights.v20210301preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; - } - - /** - * Data type for TAXII connector. - */ - export interface TiTaxiiDataConnectorDataTypesResponseTaxiiClient { + aggregations: outputs.securityinsights.v20220101preview.TimelineAggregationResponse[]; /** - * Describe whether this data type connection is enabled or not. + * information about the failure queries */ - state: string; + errors?: outputs.securityinsights.v20220101preview.TimelineErrorResponse[]; + /** + * the total items found for the timeline request + */ + totalCount: number; } /** * User information that made some action */ - export interface WatchlistUserInfoResponse { + export interface UserInfoResponse { /** * The email of the user. */ @@ -486887,39 +500089,6 @@ export namespace securityinsights { objectId?: string; } - } - - export namespace v20210401 { - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - /** * User information that made some action */ @@ -486940,7 +500109,7 @@ export namespace securityinsights { } - export namespace v20210901preview { + export namespace v20220401preview { /** * Represents Activity timeline item. */ @@ -486991,7 +500160,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20210901preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20220401preview.UserInfoResponse; /** * The bookmark display name. */ @@ -487030,7 +500199,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20210901preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20220401preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -487038,11 +500207,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20210901preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20220401preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20210901preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20220401preview.InsightsTableResultResponse; } /** @@ -487084,7 +500253,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20210901preview.GetInsightsErrorResponse[]; + errors?: outputs.securityinsights.v20220401preview.GetInsightsErrorResponse[]; /** * the total items found for the insights request */ @@ -487098,7 +500267,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20210901preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20220401preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -487181,36 +500350,6 @@ export namespace securityinsights { timeGenerated: string; } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - /** * timeline aggregation information per kind */ @@ -487250,11 +500389,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20210901preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20220401preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20210901preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20220401preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -487281,7 +500420,7 @@ export namespace securityinsights { } - export namespace v20211001preview { + export namespace v20220501preview { /** * Represents Activity timeline item. */ @@ -487322,25 +500461,58 @@ export namespace securityinsights { } /** - * Settings for how to dynamically override alert static details + * Represents anomaly timeline item. */ - export interface AlertDetailsOverrideResponse { + export interface AnomalyTimelineItemResponse { /** - * the format containing columns name(s) to override the alert description + * The anomaly azure resource id. */ - alertDescriptionFormat?: string; + azureResourceId: string; /** - * the format containing columns name(s) to override the alert name + * The anomaly description. */ - alertDisplayNameFormat?: string; + description?: string; /** - * the column name to take the alert severity from + * The anomaly name. */ - alertSeverityColumnName?: string; + displayName: string; /** - * the column name to take the alert tactics from + * The anomaly end time. */ - alertTacticsColumnName?: string; + endTimeUtc: string; + /** + * The intent of the anomaly. + */ + intent?: string; + /** + * The entity query kind + * Expected value is 'Anomaly'. + */ + kind: "Anomaly"; + /** + * The anomaly product name. + */ + productName?: string; + /** + * The reasons that cause the anomaly. + */ + reasons?: string[]; + /** + * The anomaly start time. + */ + startTimeUtc: string; + /** + * The techniques of the anomaly. + */ + techniques?: string[]; + /** + * The anomaly generated time. + */ + timeGenerated: string; + /** + * The name of the anomaly vendor. + */ + vendor?: string; } /** @@ -487354,7 +500526,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20211001preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20220501preview.UserInfoResponse; /** * The bookmark display name. */ @@ -487393,7 +500565,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20211001preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20220501preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -487401,11 +500573,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20211001preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20220501preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20211001preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20220501preview.InsightsTableResultResponse; } /** @@ -487423,119 +500595,145 @@ export namespace securityinsights { } /** - * Single entity mapping for the alert rule + * GetInsights Query Errors. */ - export interface EntityMappingResponse { + export interface GetInsightsErrorKindResponse { /** - * The V3 type of the mapped entity + * the error message */ - entityType?: string; + errorMessage: string; /** - * array of field mappings for the given entity mapping + * the query kind */ - fieldMappings?: outputs.securityinsights.v20211001preview.FieldMappingResponse[]; + kind: string; + /** + * the query id + */ + queryId?: string; } /** - * A single field mapping of the mapped entity + * Get Insights result metadata. */ - export interface FieldMappingResponse { + export interface GetInsightsResultsMetadataResponse { /** - * the column name to be mapped to the identifier + * information about the failed queries */ - columnName?: string; + errors?: outputs.securityinsights.v20220501preview.GetInsightsErrorKindResponse[]; /** - * the V3 identifier of the entity + * the total items found for the insights request */ - identifier?: string; + totalCount: number; } /** - * Represents a Fusion scenario exclusion patterns in Fusion detection. + * Query results for table insights query. */ - export interface FusionScenarioExclusionPatternResponse { + export interface InsightsTableResultResponse { /** - * DateTime when scenario exclusion pattern is added in UTC. + * Columns Metadata of the table */ - dateAddedInUTC: string; + columns?: outputs.securityinsights.v20220501preview.InsightsTableResultResponseColumns[]; /** - * Scenario exclusion pattern. + * Rows data of the table */ - exclusionPattern: string; + rows?: string[][]; + } + + export interface InsightsTableResultResponseColumns { + /** + * the name of the colum + */ + name?: string; + /** + * the type of the colum + */ + type?: string; } /** - * Represents a supported source signal configuration in Fusion detection. + * Represents a repository. */ - export interface FusionSourceSettingsResponse { + export interface RepoResponse { /** - * Determines whether this source signal is enabled or disabled in Fusion detection. + * Array of branches. */ - enabled: boolean; + branches?: string[]; /** - * Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + * The name of the repository. */ - sourceName: string; + fullName?: string; /** - * Configuration for all source subtypes under this source signal consumed in fusion detection. + * The url to access the repository. */ - sourceSubTypes?: outputs.securityinsights.v20211001preview.FusionSourceSubTypeSettingResponse[]; + url?: string; } /** - * Represents a supported source subtype configuration under a source signal in Fusion detection. + * Represents security alert timeline item. */ - export interface FusionSourceSubTypeSettingResponse { + export interface SecurityAlertTimelineItemResponse { /** - * Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + * The name of the alert type. */ - enabled: boolean; + alertType: string; /** - * Severity configuration for a source subtype consumed in fusion detection. + * The alert azure resource id. */ - severityFilters: outputs.securityinsights.v20211001preview.FusionSubTypeSeverityFilterResponse; + azureResourceId: string; /** - * The display name of source subtype under a source signal consumed in Fusion detection. + * The alert description. */ - sourceSubTypeDisplayName: string; + description?: string; /** - * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + * The alert name. */ - sourceSubTypeName: string; - } - - /** - * Represents severity configuration for a source subtype consumed in Fusion detection. - */ - export interface FusionSubTypeSeverityFilterResponse { + displayName: string; /** - * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + * The alert end time. */ - filters?: outputs.securityinsights.v20211001preview.FusionSubTypeSeverityFiltersItemResponse[]; + endTimeUtc: string; /** - * Determines whether this source subtype supports severity configuration or not. + * The entity query kind + * Expected value is 'SecurityAlert'. */ - isSupported: boolean; + kind: "SecurityAlert"; + /** + * The alert product name. + */ + productName?: string; + /** + * The alert severity. + */ + severity: string; + /** + * The alert start time. + */ + startTimeUtc: string; + /** + * The alert generated time. + */ + timeGenerated: string; } /** - * Represents a Severity filter setting for a given source subtype consumed in Fusion detection. + * timeline aggregation information per kind */ - export interface FusionSubTypeSeverityFiltersItemResponse { + export interface TimelineAggregationResponse { /** - * Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + * the total items found for a kind */ - enabled: boolean; + count: number; /** - * The Severity for a given source subtype consumed in Fusion detection. + * the query kind */ - severity: string; + kind: string; } /** - * GetInsights Query Errors. + * Timeline Query Errors. */ - export interface GetInsightsErrorResponse { + export interface TimelineErrorResponse { /** * the error message */ @@ -487551,65 +500749,247 @@ export namespace securityinsights { } /** - * Get Insights result metadata. + * Expansion result metadata. */ - export interface GetInsightsResultsMetadataResponse { + export interface TimelineResultsMetadataResponse { /** - * information about the failed queries + * timeline aggregation per kind */ - errors?: outputs.securityinsights.v20211001preview.GetInsightsErrorResponse[]; + aggregations: outputs.securityinsights.v20220501preview.TimelineAggregationResponse[]; /** - * the total items found for the insights request + * information about the failure queries + */ + errors?: outputs.securityinsights.v20220501preview.TimelineErrorResponse[]; + /** + * the total items found for the timeline request */ totalCount: number; } /** - * Grouping configuration property bag. + * User information that made some action */ - export interface GroupingConfigurationResponse { + export interface UserInfoResponse { /** - * Grouping enabled + * The email of the user. */ - enabled: boolean; + email: string; /** - * A list of alert details to group by (when matchingMethod is Selected) + * The name of the user. */ - groupByAlertDetails?: string[]; + name: string; /** - * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + * The object id of the user. */ - groupByCustomDetails?: string[]; + objectId?: string; + } + + } + + export namespace v20220601preview { + /** + * Represents Activity timeline item. + */ + export interface ActivityTimelineItemResponse { /** - * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + * The grouping bucket end time. */ - groupByEntities?: string[]; + bucketEndTimeUTC: string; /** - * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + * The grouping bucket start time. */ - lookbackDuration: string; + bucketStartTimeUTC: string; /** - * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + * The activity timeline content. */ - matchingMethod: string; + content: string; /** - * Re-open closed matching incidents + * The time of the first activity in the grouping bucket. */ - reopenClosedIncident: boolean; + firstActivityTimeUTC: string; + /** + * The entity query kind + * Expected value is 'Activity'. + */ + kind: "Activity"; + /** + * The time of the last activity in the grouping bucket. + */ + lastActivityTimeUTC: string; + /** + * The activity query id. + */ + queryId: string; + /** + * The activity timeline title. + */ + title: string; } /** - * Incident Configuration property bag. + * Represents anomaly timeline item. */ - export interface IncidentConfigurationResponse { + export interface AnomalyTimelineItemResponse { /** - * Create incidents from alerts triggered by this analytics rule + * The anomaly azure resource id. */ - createIncident: boolean; + azureResourceId: string; /** - * Set how the alerts that are triggered by this analytics rule, are grouped into incidents + * The anomaly description. */ - groupingConfiguration?: outputs.securityinsights.v20211001preview.GroupingConfigurationResponse; + description?: string; + /** + * The anomaly name. + */ + displayName: string; + /** + * The anomaly end time. + */ + endTimeUtc: string; + /** + * The intent of the anomaly. + */ + intent?: string; + /** + * The entity query kind + * Expected value is 'Anomaly'. + */ + kind: "Anomaly"; + /** + * The anomaly product name. + */ + productName?: string; + /** + * The reasons that cause the anomaly. + */ + reasons?: string[]; + /** + * The anomaly start time. + */ + startTimeUtc: string; + /** + * The techniques of the anomaly. + */ + techniques?: string[]; + /** + * The anomaly generated time. + */ + timeGenerated: string; + /** + * The name of the anomaly vendor. + */ + vendor?: string; + } + + /** + * Represents bookmark timeline item. + */ + export interface BookmarkTimelineItemResponse { + /** + * The bookmark azure resource id. + */ + azureResourceId: string; + /** + * Describes a user that created the bookmark + */ + createdBy?: outputs.securityinsights.v20220601preview.UserInfoResponse; + /** + * The bookmark display name. + */ + displayName?: string; + /** + * The bookmark end time. + */ + endTimeUtc?: string; + /** + * The bookmark event time. + */ + eventTime?: string; + /** + * The entity query kind + * Expected value is 'Bookmark'. + */ + kind: "Bookmark"; + /** + * List of labels relevant to this bookmark + */ + labels?: string[]; + /** + * The notes of the bookmark + */ + notes?: string; + /** + * The bookmark start time. + */ + startTimeUtc?: string; + } + + /** + * Entity insight Item. + */ + export interface EntityInsightItemResponse { + /** + * Query results for table insights query. + */ + chartQueryResults?: outputs.securityinsights.v20220601preview.InsightsTableResultResponse[]; + /** + * The query id of the insight + */ + queryId?: string; + /** + * The Time interval that the query actually executed on. + */ + queryTimeInterval?: outputs.securityinsights.v20220601preview.EntityInsightItemResponseQueryTimeInterval; + /** + * Query results for table insights query. + */ + tableQueryResults?: outputs.securityinsights.v20220601preview.InsightsTableResultResponse; + } + + /** + * The Time interval that the query actually executed on. + */ + export interface EntityInsightItemResponseQueryTimeInterval { + /** + * Insight query end time + */ + endTime?: string; + /** + * Insight query start time + */ + startTime?: string; + } + + /** + * GetInsights Query Errors. + */ + export interface GetInsightsErrorKindResponse { + /** + * the error message + */ + errorMessage: string; + /** + * the query kind + */ + kind: string; + /** + * the query id + */ + queryId?: string; + } + + /** + * Get Insights result metadata. + */ + export interface GetInsightsResultsMetadataResponse { + /** + * information about the failed queries + */ + errors?: outputs.securityinsights.v20220601preview.GetInsightsErrorKindResponse[]; + /** + * the total items found for the insights request + */ + totalCount: number; } /** @@ -487619,7 +500999,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20211001preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20220601preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -487702,36 +501082,6 @@ export namespace securityinsights { timeGenerated: string; } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - /** * timeline aggregation information per kind */ @@ -487771,11 +501121,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20211001preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20220601preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20211001preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20220601preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -487800,27 +501150,9 @@ export namespace securityinsights { objectId?: string; } - /** - * User information that made some action - */ - export interface WatchlistUserInfoResponse { - /** - * The email of the user. - */ - email: string; - /** - * The name of the user. - */ - name: string; - /** - * The object id of the user. - */ - objectId?: string; - } - } - export namespace v20220101preview { + export namespace v20220701preview { /** * Represents Activity timeline item. */ @@ -487860,6 +501192,61 @@ export namespace securityinsights { title: string; } + /** + * Represents anomaly timeline item. + */ + export interface AnomalyTimelineItemResponse { + /** + * The anomaly azure resource id. + */ + azureResourceId: string; + /** + * The anomaly description. + */ + description?: string; + /** + * The anomaly name. + */ + displayName: string; + /** + * The anomaly end time. + */ + endTimeUtc: string; + /** + * The intent of the anomaly. + */ + intent?: string; + /** + * The entity query kind + * Expected value is 'Anomaly'. + */ + kind: "Anomaly"; + /** + * The anomaly product name. + */ + productName?: string; + /** + * The reasons that cause the anomaly. + */ + reasons?: string[]; + /** + * The anomaly start time. + */ + startTimeUtc: string; + /** + * The techniques of the anomaly. + */ + techniques?: string[]; + /** + * The anomaly generated time. + */ + timeGenerated: string; + /** + * The name of the anomaly vendor. + */ + vendor?: string; + } + /** * Represents bookmark timeline item. */ @@ -487871,7 +501258,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20220101preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20220701preview.UserInfoResponse; /** * The bookmark display name. */ @@ -487910,7 +501297,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20220101preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20220701preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -487918,11 +501305,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20220101preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20220701preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20220101preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20220701preview.InsightsTableResultResponse; } /** @@ -487942,7 +501329,7 @@ export namespace securityinsights { /** * GetInsights Query Errors. */ - export interface GetInsightsErrorResponse { + export interface GetInsightsErrorKindResponse { /** * the error message */ @@ -487964,7 +501351,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20220101preview.GetInsightsErrorResponse[]; + errors?: outputs.securityinsights.v20220701preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -487978,7 +501365,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20220101preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20220701preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -488061,36 +501448,6 @@ export namespace securityinsights { timeGenerated: string; } - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - /** * timeline aggregation information per kind */ @@ -488130,11 +501487,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20220101preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20220701preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20220101preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20220701preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -488159,27 +501516,9 @@ export namespace securityinsights { objectId?: string; } - /** - * User information that made some action - */ - export interface WatchlistUserInfoResponse { - /** - * The email of the user. - */ - email: string; - /** - * The name of the user. - */ - name: string; - /** - * The object id of the user. - */ - objectId?: string; - } - } - export namespace v20220401preview { + export namespace v20220801preview { /** * Represents Activity timeline item. */ @@ -488219,6 +501558,61 @@ export namespace securityinsights { title: string; } + /** + * Represents anomaly timeline item. + */ + export interface AnomalyTimelineItemResponse { + /** + * The anomaly azure resource id. + */ + azureResourceId: string; + /** + * The anomaly description. + */ + description?: string; + /** + * The anomaly name. + */ + displayName: string; + /** + * The anomaly end time. + */ + endTimeUtc: string; + /** + * The intent of the anomaly. + */ + intent?: string; + /** + * The entity query kind + * Expected value is 'Anomaly'. + */ + kind: "Anomaly"; + /** + * The anomaly product name. + */ + productName?: string; + /** + * The reasons that cause the anomaly. + */ + reasons?: string[]; + /** + * The anomaly start time. + */ + startTimeUtc: string; + /** + * The techniques of the anomaly. + */ + techniques?: string[]; + /** + * The anomaly generated time. + */ + timeGenerated: string; + /** + * The name of the anomaly vendor. + */ + vendor?: string; + } + /** * Represents bookmark timeline item. */ @@ -488230,7 +501624,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20220401preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20220801preview.UserInfoResponse; /** * The bookmark display name. */ @@ -488269,7 +501663,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20220401preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20220801preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -488277,11 +501671,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20220401preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20220801preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20220401preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20220801preview.InsightsTableResultResponse; } /** @@ -488301,7 +501695,7 @@ export namespace securityinsights { /** * GetInsights Query Errors. */ - export interface GetInsightsErrorResponse { + export interface GetInsightsErrorKindResponse { /** * the error message */ @@ -488323,7 +501717,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20220401preview.GetInsightsErrorResponse[]; + errors?: outputs.securityinsights.v20220801preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -488337,7 +501731,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20220401preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20220801preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -488459,11 +501853,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20220401preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20220801preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20220401preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20220801preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -488490,7 +501884,7 @@ export namespace securityinsights { } - export namespace v20220501preview { + export namespace v20220901preview { /** * Represents Activity timeline item. */ @@ -488596,7 +501990,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20220501preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20220901preview.UserInfoResponse; /** * The bookmark display name. */ @@ -488635,7 +502029,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20220501preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20220901preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -488643,11 +502037,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20220501preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20220901preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20220501preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20220901preview.InsightsTableResultResponse; } /** @@ -488689,7 +502083,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20220501preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20220901preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -488703,7 +502097,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20220501preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20220901preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -488825,11 +502219,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20220501preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20220901preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20220501preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20220901preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -488856,7 +502250,7 @@ export namespace securityinsights { } - export namespace v20220601preview { + export namespace v20221001preview { /** * Represents Activity timeline item. */ @@ -488962,7 +502356,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20220601preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20221001preview.UserInfoResponse; /** * The bookmark display name. */ @@ -489001,7 +502395,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20220601preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20221001preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -489009,11 +502403,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20220601preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20221001preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20220601preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20221001preview.InsightsTableResultResponse; } /** @@ -489055,7 +502449,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20220601preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20221001preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -489069,7 +502463,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20220601preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20221001preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -489129,6 +502523,10 @@ export namespace securityinsights { * The alert end time. */ endTimeUtc: string; + /** + * The intent of the alert. + */ + intent: string; /** * The entity query kind * Expected value is 'SecurityAlert'. @@ -489146,6 +502544,10 @@ export namespace securityinsights { * The alert start time. */ startTimeUtc: string; + /** + * The techniques of the alert. + */ + techniques?: string[]; /** * The alert generated time. */ @@ -489191,11 +502593,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20220601preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20221001preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20220601preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20221001preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -489222,7 +502624,7 @@ export namespace securityinsights { } - export namespace v20220701preview { + export namespace v20221101preview { /** * Represents Activity timeline item. */ @@ -489328,7 +502730,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20220701preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20221101preview.UserInfoResponse; /** * The bookmark display name. */ @@ -489367,7 +502769,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20220701preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20221101preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -489375,11 +502777,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20220701preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20221101preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20220701preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20221101preview.InsightsTableResultResponse; } /** @@ -489421,7 +502823,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20220701preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20221101preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -489435,7 +502837,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20220701preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20221101preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -489495,6 +502897,10 @@ export namespace securityinsights { * The alert end time. */ endTimeUtc: string; + /** + * The intent of the alert. + */ + intent: string; /** * The entity query kind * Expected value is 'SecurityAlert'. @@ -489512,6 +502918,10 @@ export namespace securityinsights { * The alert start time. */ startTimeUtc: string; + /** + * The techniques of the alert. + */ + techniques?: string[]; /** * The alert generated time. */ @@ -489557,11 +502967,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20220701preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20221101preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20220701preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20221101preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -489588,7 +502998,7 @@ export namespace securityinsights { } - export namespace v20220801preview { + export namespace v20221201preview { /** * Represents Activity timeline item. */ @@ -489694,7 +503104,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20220801preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20221201preview.UserInfoResponse; /** * The bookmark display name. */ @@ -489733,7 +503143,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20220801preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20221201preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -489741,11 +503151,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20220801preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20221201preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20220801preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20221201preview.InsightsTableResultResponse; } /** @@ -489787,7 +503197,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20220801preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20221201preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -489801,7 +503211,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20220801preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20221201preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -489861,6 +503271,10 @@ export namespace securityinsights { * The alert end time. */ endTimeUtc: string; + /** + * The intent of the alert. + */ + intent: string; /** * The entity query kind * Expected value is 'SecurityAlert'. @@ -489878,6 +503292,10 @@ export namespace securityinsights { * The alert start time. */ startTimeUtc: string; + /** + * The techniques of the alert. + */ + techniques?: string[]; /** * The alert generated time. */ @@ -489923,11 +503341,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20220801preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20221201preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20220801preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20221201preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -489954,356 +503372,542 @@ export namespace securityinsights { } - export namespace v20220901preview { + export namespace v20230201 { /** - * Represents Activity timeline item. + * Alerts data type for data connectors. */ - export interface ActivityTimelineItemResponse { + export interface AlertsDataTypeOfDataConnectorResponse { /** - * The grouping bucket end time. + * Alerts data type connection. */ - bucketEndTimeUTC: string; + alerts?: outputs.securityinsights.v20230201.DataConnectorDataTypeCommonResponse; + } + + /** + * Describes an automation rule action to modify an object's properties + */ + export interface AutomationRuleModifyPropertiesActionResponse { + actionConfiguration?: outputs.securityinsights.v20230201.IncidentPropertiesActionResponse; /** - * The grouping bucket start time. + * The type of the automation rule action. + * Expected value is 'ModifyProperties'. */ - bucketStartTimeUTC: string; + actionType: "ModifyProperties"; + order: number; + } + + export interface AutomationRulePropertyArrayChangedValuesConditionResponse { + arrayType?: string; + changeType?: string; + } + + export interface AutomationRulePropertyValuesChangedConditionResponse { + changeType?: string; + operator?: string; + propertyName?: string; + propertyValues?: string[]; + } + + export interface AutomationRulePropertyValuesConditionResponse { + operator?: string; /** - * The activity timeline content. + * The property to evaluate in an automation rule property condition. */ - content: string; + propertyName?: string; + propertyValues?: string[]; + } + + /** + * Describes an automation rule action to run a playbook + */ + export interface AutomationRuleRunPlaybookActionResponse { + actionConfiguration?: outputs.securityinsights.v20230201.PlaybookActionPropertiesResponse; /** - * The time of the first activity in the grouping bucket. + * The type of the automation rule action. + * Expected value is 'RunPlaybook'. */ - firstActivityTimeUTC: string; + actionType: "RunPlaybook"; + order: number; + } + + /** + * Describes automation rule triggering logic. + */ + export interface AutomationRuleTriggeringLogicResponse { /** - * The entity query kind - * Expected value is 'Activity'. + * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - kind: "Activity"; + conditions?: (outputs.securityinsights.v20230201.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230201.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230201.PropertyConditionPropertiesResponse)[]; /** - * The time of the last activity in the grouping bucket. + * Determines when the automation rule should automatically expire and be disabled. */ - lastActivityTimeUTC: string; + expirationTimeUtc?: string; /** - * The activity query id. + * Determines whether the automation rule is enabled or disabled. */ - queryId: string; + isEnabled: boolean; + triggersOn: string; + triggersWhen: string; + } + + /** + * The available data types for Amazon Web Services CloudTrail data connector. + */ + export interface AwsCloudTrailDataConnectorDataTypesResponse { /** - * The activity timeline title. + * Logs data type. */ - title: string; + logs?: outputs.securityinsights.v20230201.AwsCloudTrailDataConnectorDataTypesResponseLogs; } /** - * Represents anomaly timeline item. + * Logs data type. */ - export interface AnomalyTimelineItemResponse { + export interface AwsCloudTrailDataConnectorDataTypesResponseLogs { /** - * The anomaly azure resource id. + * Describe whether this data type connection is enabled or not. */ - azureResourceId: string; + state?: string; + } + + /** + * Information on the client (user or application) that made some action + */ + export interface ClientInfoResponse { /** - * The anomaly description. + * The email of the client. */ - description?: string; + email?: string; /** - * The anomaly name. + * The name of the client. */ - displayName: string; + name?: string; /** - * The anomaly end time. + * The object id of the client. */ - endTimeUtc: string; + objectId?: string; /** - * The intent of the anomaly. + * The user principal name of the client. */ - intent?: string; + userPrincipalName?: string; + } + + /** + * Common field for data type in data connectors. + */ + export interface DataConnectorDataTypeCommonResponse { /** - * The entity query kind - * Expected value is 'Anomaly'. + * Describe whether this data type connection is enabled or not. */ - kind: "Anomaly"; + state?: string; + } + + /** + * Incident additional data property bag. + */ + export interface IncidentAdditionalDataResponse { /** - * The anomaly product name. + * List of product names of alerts in the incident */ - productName?: string; + alertProductNames: string[]; /** - * The reasons that cause the anomaly. + * The number of alerts in the incident */ - reasons?: string[]; + alertsCount: number; /** - * The anomaly start time. + * The number of bookmarks in the incident */ - startTimeUtc: string; + bookmarksCount: number; /** - * The techniques of the anomaly. + * The number of comments in the incident */ - techniques?: string[]; + commentsCount: number; /** - * The anomaly generated time. + * The provider incident url to the incident in Microsoft 365 Defender portal */ - timeGenerated: string; + providerIncidentUrl: string; /** - * The name of the anomaly vendor. + * The tactics associated with incident */ - vendor?: string; + tactics: string[]; } /** - * Represents bookmark timeline item. + * Describes related incident information for the bookmark */ - export interface BookmarkTimelineItemResponse { + export interface IncidentInfoResponse { /** - * The bookmark azure resource id. + * Incident Id */ - azureResourceId: string; + incidentId?: string; /** - * Describes a user that created the bookmark + * Relation Name */ - createdBy?: outputs.securityinsights.v20220901preview.UserInfoResponse; + relationName?: string; /** - * The bookmark display name. + * The severity of the incident */ - displayName?: string; + severity?: string; /** - * The bookmark end time. + * The title of the incident */ - endTimeUtc?: string; + title?: string; + } + + /** + * Represents an incident label + */ + export interface IncidentLabelResponse { /** - * The bookmark event time. + * The name of the label */ - eventTime?: string; + labelName: string; /** - * The entity query kind - * Expected value is 'Bookmark'. + * The type of the label */ - kind: "Bookmark"; + labelType: string; + } + + /** + * Information on the user an incident is assigned to + */ + export interface IncidentOwnerInfoResponse { /** - * List of labels relevant to this bookmark + * The name of the user the incident is assigned to. */ - labels?: string[]; + assignedTo?: string; /** - * The notes of the bookmark + * The email of the user the incident is assigned to. */ - notes?: string; + email?: string; /** - * The bookmark start time. + * The object id of the user the incident is assigned to. */ - startTimeUtc?: string; + objectId?: string; + /** + * The type of the owner the incident is assigned to. + */ + ownerType?: string; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: string; } - /** - * Entity insight Item. - */ - export interface EntityInsightItemResponse { + export interface IncidentPropertiesActionResponse { /** - * Query results for table insights query. + * The reason the incident was closed */ - chartQueryResults?: outputs.securityinsights.v20220901preview.InsightsTableResultResponse[]; + classification?: string; /** - * The query id of the insight + * Describes the reason the incident was closed. */ - queryId?: string; + classificationComment?: string; /** - * The Time interval that the query actually executed on. + * The classification reason the incident was closed with */ - queryTimeInterval?: outputs.securityinsights.v20220901preview.EntityInsightItemResponseQueryTimeInterval; + classificationReason?: string; /** - * Query results for table insights query. + * List of labels to add to the incident. */ - tableQueryResults?: outputs.securityinsights.v20220901preview.InsightsTableResultResponse; + labels?: outputs.securityinsights.v20230201.IncidentLabelResponse[]; + /** + * Information on the user an incident is assigned to + */ + owner?: outputs.securityinsights.v20230201.IncidentOwnerInfoResponse; + /** + * The severity of the incident + */ + severity?: string; + /** + * The status of the incident + */ + status?: string; } /** - * The Time interval that the query actually executed on. + * The available data types for MCAS (Microsoft Cloud App Security) data connector. */ - export interface EntityInsightItemResponseQueryTimeInterval { + export interface MCASDataConnectorDataTypesResponse { /** - * Insight query end time + * Alerts data type connection. */ - endTime?: string; + alerts?: outputs.securityinsights.v20230201.DataConnectorDataTypeCommonResponse; /** - * Insight query start time + * Discovery log data type connection. */ - startTime?: string; + discoveryLogs?: outputs.securityinsights.v20230201.DataConnectorDataTypeCommonResponse; } /** - * GetInsights Query Errors. + * Publisher or creator of the content item. */ - export interface GetInsightsErrorKindResponse { + export interface MetadataAuthorResponse { /** - * the error message + * Email of author contact */ - errorMessage: string; + email?: string; /** - * the query kind + * Link for author/vendor page */ - kind: string; + link?: string; /** - * the query id + * Name of the author. Company or person. */ - queryId?: string; + name?: string; } /** - * Get Insights result metadata. + * ies for the solution content item */ - export interface GetInsightsResultsMetadataResponse { + export interface MetadataCategoriesResponse { /** - * information about the failed queries + * domain for the solution content item */ - errors?: outputs.securityinsights.v20220901preview.GetInsightsErrorKindResponse[]; + domains?: string[]; /** - * the total items found for the insights request + * Industry verticals for the solution content item */ - totalCount: number; + verticals?: string[]; } /** - * Query results for table insights query. + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ - export interface InsightsTableResultResponse { + export interface MetadataDependenciesResponse { /** - * Columns Metadata of the table + * Id of the content item we depend on */ - columns?: outputs.securityinsights.v20220901preview.InsightsTableResultResponseColumns[]; + contentId?: string; /** - * Rows data of the table + * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - rows?: string[][]; - } - - export interface InsightsTableResultResponseColumns { + criteria?: outputs.securityinsights.v20230201.MetadataDependenciesResponse[]; /** - * the name of the colum + * Type of the content item we depend on + */ + kind?: string; + /** + * Name of the content item */ name?: string; /** - * the type of the colum + * Operator used for list of dependencies in criteria array. */ - type?: string; + operator?: string; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: string; } /** - * Represents a repository. + * The original source of the content item, where it comes from. */ - export interface RepoResponse { + export interface MetadataSourceResponse { /** - * Array of branches. + * Source type of the content */ - branches?: string[]; + kind: string; /** - * The name of the repository. + * Name of the content source. The repo name, solution name, LA workspace name etc. */ - fullName?: string; + name?: string; /** - * The url to access the repository. + * ID of the content source. The solution ID, workspace ID, etc */ - url?: string; + sourceId?: string; } /** - * Represents security alert timeline item. + * Support information for the content item. */ - export interface SecurityAlertTimelineItemResponse { + export interface MetadataSupportResponse { /** - * The name of the alert type. + * Email of support contact */ - alertType: string; + email?: string; /** - * The alert azure resource id. + * Link for support help, like to support page to open a ticket etc. */ - azureResourceId: string; + link?: string; /** - * The alert description. + * Name of the support contact. Company or person. */ - description?: string; + name?: string; /** - * The alert name. + * Type of support for content item */ - displayName: string; + tier: string; + } + + /** + * The available data types for office data connector. + */ + export interface OfficeDataConnectorDataTypesResponse { /** - * The alert end time. + * Exchange data type connection. */ - endTimeUtc: string; + exchange?: outputs.securityinsights.v20230201.OfficeDataConnectorDataTypesResponseExchange; /** - * The entity query kind - * Expected value is 'SecurityAlert'. + * SharePoint data type connection. */ - kind: "SecurityAlert"; + sharePoint?: outputs.securityinsights.v20230201.OfficeDataConnectorDataTypesResponseSharePoint; /** - * The alert product name. + * Teams data type connection. */ - productName?: string; + teams?: outputs.securityinsights.v20230201.OfficeDataConnectorDataTypesResponseTeams; + } + + /** + * Exchange data type connection. + */ + export interface OfficeDataConnectorDataTypesResponseExchange { /** - * The alert severity. + * Describe whether this data type connection is enabled or not. */ - severity: string; + state?: string; + } + + /** + * SharePoint data type connection. + */ + export interface OfficeDataConnectorDataTypesResponseSharePoint { /** - * The alert start time. + * Describe whether this data type connection is enabled or not. */ - startTimeUtc: string; + state?: string; + } + + /** + * Teams data type connection. + */ + export interface OfficeDataConnectorDataTypesResponseTeams { /** - * The alert generated time. + * Describe whether this data type connection is enabled or not. */ - timeGenerated: string; + state?: string; + } + + export interface PlaybookActionPropertiesResponse { + /** + * The resource id of the playbook resource. + */ + logicAppResourceId: string; + /** + * The tenant id of the playbook resource. + */ + tenantId?: string; } /** - * timeline aggregation information per kind + * Describes an automation rule condition that evaluates an array property's value change */ - export interface TimelineAggregationResponse { + export interface PropertyArrayChangedConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230201.AutomationRulePropertyArrayChangedValuesConditionResponse; /** - * the total items found for a kind + * + * Expected value is 'PropertyArrayChanged'. */ - count: number; + conditionType: "PropertyArrayChanged"; + } + + /** + * Describes an automation rule condition that evaluates a property's value change + */ + export interface PropertyChangedConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230201.AutomationRulePropertyValuesChangedConditionResponse; /** - * the query kind + * + * Expected value is 'PropertyChanged'. */ - kind: string; + conditionType: "PropertyChanged"; } /** - * Timeline Query Errors. + * Describes an automation rule condition that evaluates a property's value */ - export interface TimelineErrorResponse { + export interface PropertyConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230201.AutomationRulePropertyValuesConditionResponse; /** - * the error message + * + * Expected value is 'Property'. */ - errorMessage: string; + conditionType: "Property"; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { /** - * the query kind + * The timestamp of resource creation (UTC). */ - kind: string; + createdAt?: string; /** - * the query id + * The identity that created the resource. */ - queryId?: string; + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; } /** - * Expansion result metadata. + * The available data types for TI (Threat Intelligence) data connector. */ - export interface TimelineResultsMetadataResponse { + export interface TIDataConnectorDataTypesResponse { /** - * timeline aggregation per kind + * Data type for indicators connection. */ - aggregations: outputs.securityinsights.v20220901preview.TimelineAggregationResponse[]; + indicators?: outputs.securityinsights.v20230201.TIDataConnectorDataTypesResponseIndicators; + } + + /** + * Data type for indicators connection. + */ + export interface TIDataConnectorDataTypesResponseIndicators { /** - * information about the failure queries + * Describe whether this data type connection is enabled or not. */ - errors?: outputs.securityinsights.v20220901preview.TimelineErrorResponse[]; + state?: string; + } + + /** + * User information that made some action + */ + export interface UserInfoResponse { /** - * the total items found for the timeline request + * The email of the user. */ - totalCount: number; + email: string; + /** + * The name of the user. + */ + name: string; + /** + * The object id of the user. + */ + objectId?: string; } /** * User information that made some action */ - export interface UserInfoResponse { + export interface WatchlistUserInfoResponse { /** * The email of the user. */ @@ -490320,7 +503924,7 @@ export namespace securityinsights { } - export namespace v20221001preview { + export namespace v20230201preview { /** * Represents Activity timeline item. */ @@ -490426,7 +504030,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20221001preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230201preview.UserInfoResponse; /** * The bookmark display name. */ @@ -490447,108 +504051,284 @@ export namespace securityinsights { /** * List of labels relevant to this bookmark */ - labels?: string[]; + labels?: string[]; + /** + * The notes of the bookmark + */ + notes?: string; + /** + * The bookmark start time. + */ + startTimeUtc?: string; + } + + /** + * Entity insight Item. + */ + export interface EntityInsightItemResponse { + /** + * Query results for table insights query. + */ + chartQueryResults?: outputs.securityinsights.v20230201preview.InsightsTableResultResponse[]; + /** + * The query id of the insight + */ + queryId?: string; + /** + * The Time interval that the query actually executed on. + */ + queryTimeInterval?: outputs.securityinsights.v20230201preview.EntityInsightItemResponseQueryTimeInterval; + /** + * Query results for table insights query. + */ + tableQueryResults?: outputs.securityinsights.v20230201preview.InsightsTableResultResponse; + } + + /** + * The Time interval that the query actually executed on. + */ + export interface EntityInsightItemResponseQueryTimeInterval { + /** + * Insight query end time + */ + endTime?: string; + /** + * Insight query start time + */ + startTime?: string; + } + + /** + * GetInsights Query Errors. + */ + export interface GetInsightsErrorKindResponse { + /** + * the error message + */ + errorMessage: string; + /** + * the query kind + */ + kind: string; + /** + * the query id + */ + queryId?: string; + } + + /** + * Get Insights result metadata. + */ + export interface GetInsightsResultsMetadataResponse { + /** + * information about the failed queries + */ + errors?: outputs.securityinsights.v20230201preview.GetInsightsErrorKindResponse[]; + /** + * the total items found for the insights request + */ + totalCount: number; + } + + /** + * Incident additional data property bag. + */ + export interface IncidentAdditionalDataResponse { + /** + * List of product names of alerts in the incident + */ + alertProductNames: string[]; + /** + * The number of alerts in the incident + */ + alertsCount: number; + /** + * The number of bookmarks in the incident + */ + bookmarksCount: number; + /** + * The number of comments in the incident + */ + commentsCount: number; + /** + * The provider incident url to the incident in Microsoft 365 Defender portal + */ + providerIncidentUrl: string; + /** + * The tactics associated with incident + */ + tactics: string[]; + /** + * The techniques associated with incident's tactics + */ + techniques: string[]; + } + + /** + * Represents an incident label + */ + export interface IncidentLabelResponse { + /** + * The name of the label + */ + labelName: string; + /** + * The type of the label + */ + labelType: string; + } + + /** + * Information on the user an incident is assigned to + */ + export interface IncidentOwnerInfoResponse { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: string; + /** + * The email of the user the incident is assigned to. + */ + email?: string; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: string; + /** + * The type of the owner the incident is assigned to. + */ + ownerType?: string; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: string; + } + + /** + * Query results for table insights query. + */ + export interface InsightsTableResultResponse { + /** + * Columns Metadata of the table + */ + columns?: outputs.securityinsights.v20230201preview.InsightsTableResultResponseColumns[]; + /** + * Rows data of the table + */ + rows?: string[][]; + } + + export interface InsightsTableResultResponseColumns { /** - * The notes of the bookmark + * the name of the colum */ - notes?: string; + name?: string; /** - * The bookmark start time. + * the type of the colum */ - startTimeUtc?: string; + type?: string; } /** - * Entity insight Item. + * Publisher or creator of the content item. */ - export interface EntityInsightItemResponse { - /** - * Query results for table insights query. - */ - chartQueryResults?: outputs.securityinsights.v20221001preview.InsightsTableResultResponse[]; + export interface MetadataAuthorResponse { /** - * The query id of the insight + * Email of author contact */ - queryId?: string; + email?: string; /** - * The Time interval that the query actually executed on. + * Link for author/vendor page */ - queryTimeInterval?: outputs.securityinsights.v20221001preview.EntityInsightItemResponseQueryTimeInterval; + link?: string; /** - * Query results for table insights query. + * Name of the author. Company or person. */ - tableQueryResults?: outputs.securityinsights.v20221001preview.InsightsTableResultResponse; + name?: string; } /** - * The Time interval that the query actually executed on. + * ies for the solution content item */ - export interface EntityInsightItemResponseQueryTimeInterval { + export interface MetadataCategoriesResponse { /** - * Insight query end time + * domain for the solution content item */ - endTime?: string; + domains?: string[]; /** - * Insight query start time + * Industry verticals for the solution content item */ - startTime?: string; + verticals?: string[]; } /** - * GetInsights Query Errors. + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. */ - export interface GetInsightsErrorKindResponse { + export interface MetadataDependenciesResponse { /** - * the error message + * Id of the content item we depend on */ - errorMessage: string; + contentId?: string; /** - * the query kind + * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - kind: string; + criteria?: outputs.securityinsights.v20230201preview.MetadataDependenciesResponse[]; /** - * the query id + * Type of the content item we depend on */ - queryId?: string; + kind?: string; + /** + * Name of the content item + */ + name?: string; + /** + * Operator used for list of dependencies in criteria array. + */ + operator?: string; + /** + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + */ + version?: string; } /** - * Get Insights result metadata. + * The original source of the content item, where it comes from. */ - export interface GetInsightsResultsMetadataResponse { + export interface MetadataSourceResponse { /** - * information about the failed queries + * Source type of the content */ - errors?: outputs.securityinsights.v20221001preview.GetInsightsErrorKindResponse[]; + kind: string; /** - * the total items found for the insights request + * Name of the content source. The repo name, solution name, LA workspace name etc. */ - totalCount: number; + name?: string; + /** + * ID of the content source. The solution ID, workspace ID, etc + */ + sourceId?: string; } /** - * Query results for table insights query. + * Support information for the content item. */ - export interface InsightsTableResultResponse { + export interface MetadataSupportResponse { /** - * Columns Metadata of the table + * Email of support contact */ - columns?: outputs.securityinsights.v20221001preview.InsightsTableResultResponseColumns[]; + email?: string; /** - * Rows data of the table + * Link for support help, like to support page to open a ticket etc. */ - rows?: string[][]; - } - - export interface InsightsTableResultResponseColumns { + link?: string; /** - * the name of the colum + * Name of the support contact. Company or person. */ name?: string; /** - * the type of the colum + * Type of support for content item */ - type?: string; + tier: string; } /** @@ -490624,6 +504404,62 @@ export namespace securityinsights { timeGenerated: string; } + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Describes team information + */ + export interface TeamInformationResponse { + /** + * The description of the team + */ + description: string; + /** + * The name of the team + */ + name: string; + /** + * The primary channel URL of the team + */ + primaryChannelUrl: string; + /** + * The time the team was created + */ + teamCreationTimeUtc: string; + /** + * Team ID + */ + teamId: string; + } + /** * timeline aggregation information per kind */ @@ -490663,11 +504499,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20221001preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230201preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20221001preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230201preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -490694,7 +504530,7 @@ export namespace securityinsights { } - export namespace v20221101preview { + export namespace v20230301preview { /** * Represents Activity timeline item. */ @@ -490800,7 +504636,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20221101preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230301preview.UserInfoResponse; /** * The bookmark display name. */ @@ -490839,7 +504675,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20221101preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20230301preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -490847,11 +504683,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20221101preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20230301preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20221101preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20230301preview.InsightsTableResultResponse; } /** @@ -490893,13 +504729,87 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20221101preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20230301preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ totalCount: number; } + /** + * Incident additional data property bag. + */ + export interface IncidentAdditionalDataResponse { + /** + * List of product names of alerts in the incident + */ + alertProductNames: string[]; + /** + * The number of alerts in the incident + */ + alertsCount: number; + /** + * The number of bookmarks in the incident + */ + bookmarksCount: number; + /** + * The number of comments in the incident + */ + commentsCount: number; + /** + * The provider incident url to the incident in Microsoft 365 Defender portal + */ + providerIncidentUrl: string; + /** + * The tactics associated with incident + */ + tactics: string[]; + /** + * The techniques associated with incident's tactics + */ + techniques: string[]; + } + + /** + * Represents an incident label + */ + export interface IncidentLabelResponse { + /** + * The name of the label + */ + labelName: string; + /** + * The type of the label + */ + labelType: string; + } + + /** + * Information on the user an incident is assigned to + */ + export interface IncidentOwnerInfoResponse { + /** + * The name of the user the incident is assigned to. + */ + assignedTo?: string; + /** + * The email of the user the incident is assigned to. + */ + email?: string; + /** + * The object id of the user the incident is assigned to. + */ + objectId?: string; + /** + * The type of the owner the incident is assigned to. + */ + ownerType?: string; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: string; + } + /** * Query results for table insights query. */ @@ -490907,7 +504817,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20221101preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20230301preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -490998,6 +504908,62 @@ export namespace securityinsights { timeGenerated: string; } + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Describes team information + */ + export interface TeamInformationResponse { + /** + * The description of the team + */ + description: string; + /** + * The name of the team + */ + name: string; + /** + * The primary channel URL of the team + */ + primaryChannelUrl: string; + /** + * The time the team was created + */ + teamCreationTimeUtc: string; + /** + * Team ID + */ + teamId: string; + } + /** * timeline aggregation information per kind */ @@ -491037,11 +505003,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20221101preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230301preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20221101preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230301preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -491068,7 +505034,7 @@ export namespace securityinsights { } - export namespace v20221201preview { + export namespace v20230401preview { /** * Represents Activity timeline item. */ @@ -491174,7 +505140,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20221201preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230401preview.UserInfoResponse; /** * The bookmark display name. */ @@ -491213,7 +505179,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20221201preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20230401preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -491221,11 +505187,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20221201preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20230401preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20221201preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20230401preview.InsightsTableResultResponse; } /** @@ -491267,7 +505233,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20221201preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20230401preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -491281,7 +505247,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20221201preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20230401preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -491411,11 +505377,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20221201preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230401preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20221201preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230401preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -491442,559 +505408,7 @@ export namespace securityinsights { } - export namespace v20230201 { - /** - * Alerts data type for data connectors. - */ - export interface AlertsDataTypeOfDataConnectorResponse { - /** - * Alerts data type connection. - */ - alerts?: outputs.securityinsights.v20230201.DataConnectorDataTypeCommonResponse; - } - - /** - * Describes an automation rule action to modify an object's properties - */ - export interface AutomationRuleModifyPropertiesActionResponse { - actionConfiguration?: outputs.securityinsights.v20230201.IncidentPropertiesActionResponse; - /** - * The type of the automation rule action. - * Expected value is 'ModifyProperties'. - */ - actionType: "ModifyProperties"; - order: number; - } - - export interface AutomationRulePropertyArrayChangedValuesConditionResponse { - arrayType?: string; - changeType?: string; - } - - export interface AutomationRulePropertyValuesChangedConditionResponse { - changeType?: string; - operator?: string; - propertyName?: string; - propertyValues?: string[]; - } - - export interface AutomationRulePropertyValuesConditionResponse { - operator?: string; - /** - * The property to evaluate in an automation rule property condition. - */ - propertyName?: string; - propertyValues?: string[]; - } - - /** - * Describes an automation rule action to run a playbook - */ - export interface AutomationRuleRunPlaybookActionResponse { - actionConfiguration?: outputs.securityinsights.v20230201.PlaybookActionPropertiesResponse; - /** - * The type of the automation rule action. - * Expected value is 'RunPlaybook'. - */ - actionType: "RunPlaybook"; - order: number; - } - - /** - * Describes automation rule triggering logic. - */ - export interface AutomationRuleTriggeringLogicResponse { - /** - * The conditions to evaluate to determine if the automation rule should be triggered on a given object. - */ - conditions?: (outputs.securityinsights.v20230201.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230201.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230201.PropertyConditionPropertiesResponse)[]; - /** - * Determines when the automation rule should automatically expire and be disabled. - */ - expirationTimeUtc?: string; - /** - * Determines whether the automation rule is enabled or disabled. - */ - isEnabled: boolean; - triggersOn: string; - triggersWhen: string; - } - - /** - * The available data types for Amazon Web Services CloudTrail data connector. - */ - export interface AwsCloudTrailDataConnectorDataTypesResponse { - /** - * Logs data type. - */ - logs?: outputs.securityinsights.v20230201.AwsCloudTrailDataConnectorDataTypesResponseLogs; - } - - /** - * Logs data type. - */ - export interface AwsCloudTrailDataConnectorDataTypesResponseLogs { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: string; - } - - /** - * Information on the client (user or application) that made some action - */ - export interface ClientInfoResponse { - /** - * The email of the client. - */ - email?: string; - /** - * The name of the client. - */ - name?: string; - /** - * The object id of the client. - */ - objectId?: string; - /** - * The user principal name of the client. - */ - userPrincipalName?: string; - } - - /** - * Common field for data type in data connectors. - */ - export interface DataConnectorDataTypeCommonResponse { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: string; - } - - /** - * Incident additional data property bag. - */ - export interface IncidentAdditionalDataResponse { - /** - * List of product names of alerts in the incident - */ - alertProductNames: string[]; - /** - * The number of alerts in the incident - */ - alertsCount: number; - /** - * The number of bookmarks in the incident - */ - bookmarksCount: number; - /** - * The number of comments in the incident - */ - commentsCount: number; - /** - * The provider incident url to the incident in Microsoft 365 Defender portal - */ - providerIncidentUrl: string; - /** - * The tactics associated with incident - */ - tactics: string[]; - } - - /** - * Describes related incident information for the bookmark - */ - export interface IncidentInfoResponse { - /** - * Incident Id - */ - incidentId?: string; - /** - * Relation Name - */ - relationName?: string; - /** - * The severity of the incident - */ - severity?: string; - /** - * The title of the incident - */ - title?: string; - } - - /** - * Represents an incident label - */ - export interface IncidentLabelResponse { - /** - * The name of the label - */ - labelName: string; - /** - * The type of the label - */ - labelType: string; - } - - /** - * Information on the user an incident is assigned to - */ - export interface IncidentOwnerInfoResponse { - /** - * The name of the user the incident is assigned to. - */ - assignedTo?: string; - /** - * The email of the user the incident is assigned to. - */ - email?: string; - /** - * The object id of the user the incident is assigned to. - */ - objectId?: string; - /** - * The type of the owner the incident is assigned to. - */ - ownerType?: string; - /** - * The user principal name of the user the incident is assigned to. - */ - userPrincipalName?: string; - } - - export interface IncidentPropertiesActionResponse { - /** - * The reason the incident was closed - */ - classification?: string; - /** - * Describes the reason the incident was closed. - */ - classificationComment?: string; - /** - * The classification reason the incident was closed with - */ - classificationReason?: string; - /** - * List of labels to add to the incident. - */ - labels?: outputs.securityinsights.v20230201.IncidentLabelResponse[]; - /** - * Information on the user an incident is assigned to - */ - owner?: outputs.securityinsights.v20230201.IncidentOwnerInfoResponse; - /** - * The severity of the incident - */ - severity?: string; - /** - * The status of the incident - */ - status?: string; - } - - /** - * The available data types for MCAS (Microsoft Cloud App Security) data connector. - */ - export interface MCASDataConnectorDataTypesResponse { - /** - * Alerts data type connection. - */ - alerts?: outputs.securityinsights.v20230201.DataConnectorDataTypeCommonResponse; - /** - * Discovery log data type connection. - */ - discoveryLogs?: outputs.securityinsights.v20230201.DataConnectorDataTypeCommonResponse; - } - - /** - * Publisher or creator of the content item. - */ - export interface MetadataAuthorResponse { - /** - * Email of author contact - */ - email?: string; - /** - * Link for author/vendor page - */ - link?: string; - /** - * Name of the author. Company or person. - */ - name?: string; - } - - /** - * ies for the solution content item - */ - export interface MetadataCategoriesResponse { - /** - * domain for the solution content item - */ - domains?: string[]; - /** - * Industry verticals for the solution content item - */ - verticals?: string[]; - } - - /** - * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. - */ - export interface MetadataDependenciesResponse { - /** - * Id of the content item we depend on - */ - contentId?: string; - /** - * This is the list of dependencies we must fulfill, according to the AND/OR operator - */ - criteria?: outputs.securityinsights.v20230201.MetadataDependenciesResponse[]; - /** - * Type of the content item we depend on - */ - kind?: string; - /** - * Name of the content item - */ - name?: string; - /** - * Operator used for list of dependencies in criteria array. - */ - operator?: string; - /** - * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. - */ - version?: string; - } - - /** - * The original source of the content item, where it comes from. - */ - export interface MetadataSourceResponse { - /** - * Source type of the content - */ - kind: string; - /** - * Name of the content source. The repo name, solution name, LA workspace name etc. - */ - name?: string; - /** - * ID of the content source. The solution ID, workspace ID, etc - */ - sourceId?: string; - } - - /** - * Support information for the content item. - */ - export interface MetadataSupportResponse { - /** - * Email of support contact - */ - email?: string; - /** - * Link for support help, like to support page to open a ticket etc. - */ - link?: string; - /** - * Name of the support contact. Company or person. - */ - name?: string; - /** - * Type of support for content item - */ - tier: string; - } - - /** - * The available data types for office data connector. - */ - export interface OfficeDataConnectorDataTypesResponse { - /** - * Exchange data type connection. - */ - exchange?: outputs.securityinsights.v20230201.OfficeDataConnectorDataTypesResponseExchange; - /** - * SharePoint data type connection. - */ - sharePoint?: outputs.securityinsights.v20230201.OfficeDataConnectorDataTypesResponseSharePoint; - /** - * Teams data type connection. - */ - teams?: outputs.securityinsights.v20230201.OfficeDataConnectorDataTypesResponseTeams; - } - - /** - * Exchange data type connection. - */ - export interface OfficeDataConnectorDataTypesResponseExchange { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: string; - } - - /** - * SharePoint data type connection. - */ - export interface OfficeDataConnectorDataTypesResponseSharePoint { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: string; - } - - /** - * Teams data type connection. - */ - export interface OfficeDataConnectorDataTypesResponseTeams { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: string; - } - - export interface PlaybookActionPropertiesResponse { - /** - * The resource id of the playbook resource. - */ - logicAppResourceId: string; - /** - * The tenant id of the playbook resource. - */ - tenantId?: string; - } - - /** - * Describes an automation rule condition that evaluates an array property's value change - */ - export interface PropertyArrayChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230201.AutomationRulePropertyArrayChangedValuesConditionResponse; - /** - * - * Expected value is 'PropertyArrayChanged'. - */ - conditionType: "PropertyArrayChanged"; - } - - /** - * Describes an automation rule condition that evaluates a property's value change - */ - export interface PropertyChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230201.AutomationRulePropertyValuesChangedConditionResponse; - /** - * - * Expected value is 'PropertyChanged'. - */ - conditionType: "PropertyChanged"; - } - - /** - * Describes an automation rule condition that evaluates a property's value - */ - export interface PropertyConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230201.AutomationRulePropertyValuesConditionResponse; - /** - * - * Expected value is 'Property'. - */ - conditionType: "Property"; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - /** - * The available data types for TI (Threat Intelligence) data connector. - */ - export interface TIDataConnectorDataTypesResponse { - /** - * Data type for indicators connection. - */ - indicators?: outputs.securityinsights.v20230201.TIDataConnectorDataTypesResponseIndicators; - } - - /** - * Data type for indicators connection. - */ - export interface TIDataConnectorDataTypesResponseIndicators { - /** - * Describe whether this data type connection is enabled or not. - */ - state?: string; - } - - /** - * User information that made some action - */ - export interface UserInfoResponse { - /** - * The email of the user. - */ - email: string; - /** - * The name of the user. - */ - name: string; - /** - * The object id of the user. - */ - objectId?: string; - } - - /** - * User information that made some action - */ - export interface WatchlistUserInfoResponse { - /** - * The email of the user. - */ - email: string; - /** - * The name of the user. - */ - name: string; - /** - * The object id of the user. - */ - objectId?: string; - } - - } - - export namespace v20230201preview { + export namespace v20230501preview { /** * Represents Activity timeline item. */ @@ -492089,6 +505503,20 @@ export namespace securityinsights { vendor?: string; } + /** + * Resources created in Azure DevOps repository. + */ + export interface AzureDevOpsResourceInfoResponse { + /** + * Id of the pipeline created for the source-control. + */ + pipelineId?: string; + /** + * Id of the service-connection created for the source-control. + */ + serviceConnectionId?: string; + } + /** * Represents bookmark timeline item. */ @@ -492100,7 +505528,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20230201preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230501preview.UserInfoResponse; /** * The bookmark display name. */ @@ -492133,288 +505561,224 @@ export namespace securityinsights { } /** - * Entity insight Item. - */ - export interface EntityInsightItemResponse { - /** - * Query results for table insights query. - */ - chartQueryResults?: outputs.securityinsights.v20230201preview.InsightsTableResultResponse[]; - /** - * The query id of the insight - */ - queryId?: string; - /** - * The Time interval that the query actually executed on. - */ - queryTimeInterval?: outputs.securityinsights.v20230201preview.EntityInsightItemResponseQueryTimeInterval; - /** - * Query results for table insights query. - */ - tableQueryResults?: outputs.securityinsights.v20230201preview.InsightsTableResultResponse; - } - - /** - * The Time interval that the query actually executed on. - */ - export interface EntityInsightItemResponseQueryTimeInterval { - /** - * Insight query end time - */ - endTime?: string; - /** - * Insight query start time - */ - startTime?: string; - } - - /** - * GetInsights Query Errors. - */ - export interface GetInsightsErrorKindResponse { - /** - * the error message - */ - errorMessage: string; - /** - * the query kind - */ - kind: string; - /** - * the query id - */ - queryId?: string; - } - - /** - * Get Insights result metadata. + * The mapping of content type to a repo path. */ - export interface GetInsightsResultsMetadataResponse { + export interface ContentPathMapResponse { /** - * information about the failed queries + * Content type. */ - errors?: outputs.securityinsights.v20230201preview.GetInsightsErrorKindResponse[]; + contentType?: string; /** - * the total items found for the insights request + * The path to the content. */ - totalCount: number; + path?: string; } /** - * Incident additional data property bag. + * Information regarding a deployment. */ - export interface IncidentAdditionalDataResponse { - /** - * List of product names of alerts in the incident - */ - alertProductNames: string[]; - /** - * The number of alerts in the incident - */ - alertsCount: number; - /** - * The number of bookmarks in the incident - */ - bookmarksCount: number; - /** - * The number of comments in the incident - */ - commentsCount: number; - /** - * The provider incident url to the incident in Microsoft 365 Defender portal - */ - providerIncidentUrl: string; - /** - * The tactics associated with incident - */ - tactics: string[]; + export interface DeploymentInfoResponse { /** - * The techniques associated with incident's tactics + * Deployment information. */ - techniques: string[]; - } - - /** - * Represents an incident label - */ - export interface IncidentLabelResponse { + deployment?: outputs.securityinsights.v20230501preview.DeploymentResponse; /** - * The name of the label + * Status while fetching the last deployment. */ - labelName: string; + deploymentFetchStatus?: string; /** - * The type of the label + * Additional details about the deployment that can be shown to the user. */ - labelType: string; + message?: string; } /** - * Information on the user an incident is assigned to + * Description about a deployment. */ - export interface IncidentOwnerInfoResponse { + export interface DeploymentResponse { /** - * The name of the user the incident is assigned to. + * Deployment identifier. */ - assignedTo?: string; + deploymentId?: string; /** - * The email of the user the incident is assigned to. + * Url to access repository action logs. */ - email?: string; + deploymentLogsUrl?: string; /** - * The object id of the user the incident is assigned to. + * The outcome of the deployment. */ - objectId?: string; + deploymentResult?: string; /** - * The type of the owner the incident is assigned to. + * Current status of the deployment. */ - ownerType?: string; + deploymentState?: string; /** - * The user principal name of the user the incident is assigned to. + * The time when the deployment finished. */ - userPrincipalName?: string; + deploymentTime?: string; } /** - * Query results for table insights query. + * Entity insight Item. */ - export interface InsightsTableResultResponse { + export interface EntityInsightItemResponse { /** - * Columns Metadata of the table + * Query results for table insights query. */ - columns?: outputs.securityinsights.v20230201preview.InsightsTableResultResponseColumns[]; + chartQueryResults?: outputs.securityinsights.v20230501preview.InsightsTableResultResponse[]; /** - * Rows data of the table + * The query id of the insight */ - rows?: string[][]; + queryId?: string; + /** + * The Time interval that the query actually executed on. + */ + queryTimeInterval?: outputs.securityinsights.v20230501preview.EntityInsightItemResponseQueryTimeInterval; + /** + * Query results for table insights query. + */ + tableQueryResults?: outputs.securityinsights.v20230501preview.InsightsTableResultResponse; } - export interface InsightsTableResultResponseColumns { + /** + * The Time interval that the query actually executed on. + */ + export interface EntityInsightItemResponseQueryTimeInterval { /** - * the name of the colum + * Insight query end time */ - name?: string; + endTime?: string; /** - * the type of the colum + * Insight query start time */ - type?: string; + startTime?: string; } /** - * Publisher or creator of the content item. + * GetInsights Query Errors. */ - export interface MetadataAuthorResponse { + export interface GetInsightsErrorKindResponse { /** - * Email of author contact + * the error message */ - email?: string; + errorMessage: string; /** - * Link for author/vendor page + * the query kind */ - link?: string; + kind: string; /** - * Name of the author. Company or person. + * the query id */ - name?: string; + queryId?: string; } /** - * ies for the solution content item + * Get Insights result metadata. */ - export interface MetadataCategoriesResponse { + export interface GetInsightsResultsMetadataResponse { /** - * domain for the solution content item + * information about the failed queries */ - domains?: string[]; + errors?: outputs.securityinsights.v20230501preview.GetInsightsErrorKindResponse[]; /** - * Industry verticals for the solution content item + * the total items found for the insights request */ - verticals?: string[]; + totalCount: number; } /** - * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + * Resources created in GitHub repository. */ - export interface MetadataDependenciesResponse { + export interface GitHubResourceInfoResponse { /** - * Id of the content item we depend on + * GitHub application installation id. */ - contentId?: string; + appInstallationId?: string; + } + + /** + * Query results for table insights query. + */ + export interface InsightsTableResultResponse { /** - * This is the list of dependencies we must fulfill, according to the AND/OR operator + * Columns Metadata of the table */ - criteria?: outputs.securityinsights.v20230201preview.MetadataDependenciesResponse[]; + columns?: outputs.securityinsights.v20230501preview.InsightsTableResultResponseColumns[]; /** - * Type of the content item we depend on + * Rows data of the table */ - kind?: string; + rows?: string[][]; + } + + export interface InsightsTableResultResponseColumns { /** - * Name of the content item + * the name of the colum */ name?: string; /** - * Operator used for list of dependencies in criteria array. - */ - operator?: string; - /** - * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + * the type of the colum */ - version?: string; + type?: string; } /** - * The original source of the content item, where it comes from. + * Represents a repository. */ - export interface MetadataSourceResponse { + export interface RepoResponse { /** - * Source type of the content + * Array of branches. */ - kind: string; + branches?: string[]; /** - * Name of the content source. The repo name, solution name, LA workspace name etc. + * The name of the repository. */ - name?: string; + fullName?: string; /** - * ID of the content source. The solution ID, workspace ID, etc + * The url to access the repository. */ - sourceId?: string; + url?: string; } /** - * Support information for the content item. + * Resources created in user's repository for the source-control. */ - export interface MetadataSupportResponse { - /** - * Email of support contact - */ - email?: string; + export interface RepositoryResourceInfoResponse { /** - * Link for support help, like to support page to open a ticket etc. + * Resources created in Azure DevOps for this source-control. */ - link?: string; + azureDevOpsResourceInfo?: outputs.securityinsights.v20230501preview.AzureDevOpsResourceInfoResponse; /** - * Name of the support contact. Company or person. + * Resources created in GitHub for this source-control. */ - name?: string; + gitHubResourceInfo?: outputs.securityinsights.v20230501preview.GitHubResourceInfoResponse; /** - * Type of support for content item + * The webhook object created for the source-control. */ - tier: string; + webhook?: outputs.securityinsights.v20230501preview.WebhookResponse; } /** - * Represents a repository. + * metadata of a repository. */ - export interface RepoResponse { + export interface RepositoryResponse { /** - * Array of branches. + * Branch name of repository. */ - branches?: string[]; + branch?: string; /** - * The name of the repository. + * Url to access repository action logs. */ - fullName?: string; + deploymentLogsUrl?: string; /** - * The url to access the repository. + * Display url of repository. + */ + displayUrl?: string; + /** + * Dictionary of source control content type and path mapping. + */ + pathMapping?: outputs.securityinsights.v20230501preview.ContentPathMapResponse[]; + /** + * Url of repository. */ url?: string; } @@ -492504,32 +505868,6 @@ export namespace securityinsights { lastModifiedByType?: string; } - /** - * Describes team information - */ - export interface TeamInformationResponse { - /** - * The description of the team - */ - description: string; - /** - * The name of the team - */ - name: string; - /** - * The primary channel URL of the team - */ - primaryChannelUrl: string; - /** - * The time the team was created - */ - teamCreationTimeUtc: string; - /** - * Team ID - */ - teamId: string; - } - /** * timeline aggregation information per kind */ @@ -492569,11 +505907,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20230201preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230501preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20230201preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230501preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -492598,9 +505936,41 @@ export namespace securityinsights { objectId?: string; } + /** + * Detail about the webhook object. + */ + export interface WebhookResponse { + /** + * A flag to instruct the backend service to rotate webhook secret. + */ + rotateWebhookSecret?: boolean; + /** + * Unique identifier for the webhook. + */ + webhookId?: string; + /** + * Time when the webhook secret was updated. + */ + webhookSecretUpdateTime?: string; + /** + * URL that gets invoked by the webhook. + */ + webhookUrl?: string; + } + } - export namespace v20230301preview { + export namespace v20230601preview { + /** + * The Activity query definitions + */ + export interface ActivityEntityQueriesPropertiesResponseQueryDefinitions { + /** + * The Activity query to run on a given entity + */ + query?: string; + } + /** * Represents Activity timeline item. */ @@ -492640,6 +506010,67 @@ export namespace securityinsights { title: string; } + export interface AddIncidentTaskActionPropertiesResponse { + /** + * The description of the task. + */ + description?: string; + /** + * The title of the task. + */ + title: string; + } + + /** + * Settings for how to dynamically override alert static details + */ + export interface AlertDetailsOverrideResponse { + /** + * the format containing columns name(s) to override the alert description + */ + alertDescriptionFormat?: string; + /** + * the format containing columns name(s) to override the alert name + */ + alertDisplayNameFormat?: string; + /** + * List of additional dynamic properties to override + */ + alertDynamicProperties?: outputs.securityinsights.v20230601preview.AlertPropertyMappingResponse[]; + /** + * the column name to take the alert severity from + */ + alertSeverityColumnName?: string; + /** + * the column name to take the alert tactics from + */ + alertTacticsColumnName?: string; + } + + /** + * A single alert property mapping to override + */ + export interface AlertPropertyMappingResponse { + /** + * The V3 alert property + */ + alertProperty?: string; + /** + * the column name to use to override this property + */ + value?: string; + } + + /** + * Alerts data type for data connectors. + */ + export interface AlertsDataTypeOfDataConnectorResponse { + /** + * Alerts data type connection. + */ + alerts: outputs.securityinsights.v20230601preview.DataConnectorDataTypeCommonResponse; + } + /** * Represents anomaly timeline item. */ @@ -492695,6 +506126,175 @@ export namespace securityinsights { vendor?: string; } + /** + * An entity describing a content item. + */ + export interface AssignmentItemResponse { + /** + * The resource id of the content item + */ + resourceId?: string; + } + + /** + * Describes an automation rule action to add a task to an incident + */ + export interface AutomationRuleAddIncidentTaskActionResponse { + actionConfiguration?: outputs.securityinsights.v20230601preview.AddIncidentTaskActionPropertiesResponse; + /** + * The type of the automation rule action. + * Expected value is 'AddIncidentTask'. + */ + actionType: "AddIncidentTask"; + order: number; + } + + export interface AutomationRuleBooleanConditionResponse { + innerConditions?: (outputs.securityinsights.v20230601preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyConditionPropertiesResponse)[]; + operator?: string; + } + + /** + * Describes an automation rule action to modify an object's properties + */ + export interface AutomationRuleModifyPropertiesActionResponse { + actionConfiguration?: outputs.securityinsights.v20230601preview.IncidentPropertiesActionResponse; + /** + * The type of the automation rule action. + * Expected value is 'ModifyProperties'. + */ + actionType: "ModifyProperties"; + order: number; + } + + export interface AutomationRulePropertyArrayChangedValuesConditionResponse { + arrayType?: string; + changeType?: string; + } + + export interface AutomationRulePropertyArrayValuesConditionResponse { + arrayConditionType?: string; + arrayType?: string; + itemConditions?: (outputs.securityinsights.v20230601preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyConditionPropertiesResponse)[]; + } + + export interface AutomationRulePropertyValuesChangedConditionResponse { + changeType?: string; + operator?: string; + propertyName?: string; + propertyValues?: string[]; + } + + export interface AutomationRulePropertyValuesConditionResponse { + operator?: string; + /** + * The property to evaluate in an automation rule property condition. + */ + propertyName?: string; + propertyValues?: string[]; + } + + /** + * Describes an automation rule action to run a playbook + */ + export interface AutomationRuleRunPlaybookActionResponse { + actionConfiguration?: outputs.securityinsights.v20230601preview.PlaybookActionPropertiesResponse; + /** + * The type of the automation rule action. + * Expected value is 'RunPlaybook'. + */ + actionType: "RunPlaybook"; + order: number; + } + + /** + * Describes automation rule triggering logic. + */ + export interface AutomationRuleTriggeringLogicResponse { + /** + * The conditions to evaluate to determine if the automation rule should be triggered on a given object. + */ + conditions?: (outputs.securityinsights.v20230601preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyConditionPropertiesResponse)[]; + /** + * Determines when the automation rule should automatically expire and be disabled. + */ + expirationTimeUtc?: string; + /** + * Determines whether the automation rule is enabled or disabled. + */ + isEnabled: boolean; + triggersOn: string; + triggersWhen: string; + } + + /** + * Connector Availability Status + */ + export interface AvailabilityResponse { + /** + * Set connector as preview + */ + isPreview?: boolean; + /** + * The connector Availability Status + */ + status?: number; + } + + /** + * The available data types for Amazon Web Services CloudTrail data connector. + */ + export interface AwsCloudTrailDataConnectorDataTypesResponse { + /** + * Logs data type. + */ + logs: outputs.securityinsights.v20230601preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; + } + + /** + * Logs data type. + */ + export interface AwsCloudTrailDataConnectorDataTypesResponseLogs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + + /** + * The available data types for Amazon Web Services S3 data connector. + */ + export interface AwsS3DataConnectorDataTypesResponse { + /** + * Logs data type. + */ + logs: outputs.securityinsights.v20230601preview.AwsS3DataConnectorDataTypesResponseLogs; + } + + /** + * Logs data type. + */ + export interface AwsS3DataConnectorDataTypesResponseLogs { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + + /** + * Describes the entity mappings of a single entity + */ + export interface BookmarkEntityMappingsResponse { + /** + * The entity type + */ + entityType?: string; + /** + * Array of fields mapping for that entity type + */ + fieldMappings?: outputs.securityinsights.v20230601preview.EntityFieldMappingResponse[]; + } + /** * Represents bookmark timeline item. */ @@ -492706,7 +506306,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20230301preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230601preview.UserInfoResponse; /** * The bookmark display name. */ @@ -492739,319 +506339,638 @@ export namespace securityinsights { } /** - * Entity insight Item. + * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ - export interface EntityInsightItemResponse { + export interface BooleanConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRuleBooleanConditionResponse; /** - * Query results for table insights query. + * + * Expected value is 'Boolean'. */ - chartQueryResults?: outputs.securityinsights.v20230301preview.InsightsTableResultResponse[]; + conditionType: "Boolean"; + } + + /** + * Information on the client (user or application) that made some action + */ + export interface ClientInfoResponse { /** - * The query id of the insight + * The email of the client. */ - queryId?: string; + email?: string; /** - * The Time interval that the query actually executed on. + * The name of the client. */ - queryTimeInterval?: outputs.securityinsights.v20230301preview.EntityInsightItemResponseQueryTimeInterval; + name?: string; /** - * Query results for table insights query. + * The object id of the client. */ - tableQueryResults?: outputs.securityinsights.v20230301preview.InsightsTableResultResponse; + objectId?: string; + /** + * The user principal name of the client. + */ + userPrincipalName?: string; } /** - * The Time interval that the query actually executed on. + * Describe the authentication properties needed to successfully authenticate with the server */ - export interface EntityInsightItemResponseQueryTimeInterval { + export interface CodelessConnectorPollingAuthPropertiesResponse { /** - * Insight query end time + * A prefix send in the header before the actual token */ - endTime?: string; + apiKeyIdentifier?: string; /** - * Insight query start time + * The header name which the token is sent with */ - startTime?: string; + apiKeyName?: string; + /** + * The authentication type + */ + authType: string; + /** + * The endpoint used to authorize the user, used in Oauth 2.0 flow + */ + authorizationEndpoint?: string; + /** + * The query parameters used in authorization request, used in Oauth 2.0 flow + */ + authorizationEndpointQueryParameters?: any; + /** + * Describes the flow name, for example 'AuthCode' for Oauth 2.0 + */ + flowName?: string; + /** + * Marks if the key should sent in header + */ + isApiKeyInPostPayload?: string; + /** + * Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + */ + isClientSecretInHeader?: boolean; + /** + * The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + */ + redirectionEndpoint?: string; + /** + * The OAuth token scope + */ + scope?: string; + /** + * The endpoint used to issue a token, used in Oauth 2.0 flow + */ + tokenEndpoint?: string; + /** + * The query headers used in token request, used in Oauth 2.0 flow + */ + tokenEndpointHeaders?: any; + /** + * The query parameters used in token request, used in Oauth 2.0 flow + */ + tokenEndpointQueryParameters?: any; } /** - * GetInsights Query Errors. + * Config to describe the polling config for API poller connector */ - export interface GetInsightsErrorKindResponse { + export interface CodelessConnectorPollingConfigPropertiesResponse { /** - * the error message + * Describe the authentication type of the poller */ - errorMessage: string; + auth: outputs.securityinsights.v20230601preview.CodelessConnectorPollingAuthPropertiesResponse; /** - * the query kind + * The poller active status */ - kind: string; + isActive?: boolean; /** - * the query id + * Describe the poll request paging config of the poller */ - queryId?: string; + paging?: outputs.securityinsights.v20230601preview.CodelessConnectorPollingPagingPropertiesResponse; + /** + * Describe the poll request config parameters of the poller + */ + request: outputs.securityinsights.v20230601preview.CodelessConnectorPollingRequestPropertiesResponse; + /** + * Describe the response config parameters of the poller + */ + response?: outputs.securityinsights.v20230601preview.CodelessConnectorPollingResponsePropertiesResponse; } /** - * Get Insights result metadata. + * Describe the properties needed to make a pagination call */ - export interface GetInsightsResultsMetadataResponse { + export interface CodelessConnectorPollingPagingPropertiesResponse { /** - * information about the failed queries + * Defines the name of a next page attribute */ - errors?: outputs.securityinsights.v20230301preview.GetInsightsErrorKindResponse[]; + nextPageParaName?: string; /** - * the total items found for the insights request + * Defines the path to a next page token JSON */ - totalCount: number; + nextPageTokenJsonPath?: string; + /** + * Defines the path to a page count attribute + */ + pageCountAttributePath?: string; + /** + * Defines the paging size + */ + pageSize?: number; + /** + * Defines the name of the page size parameter + */ + pageSizeParaName?: string; + /** + * Defines the path to a paging time stamp attribute + */ + pageTimeStampAttributePath?: string; + /** + * Defines the path to a page total count attribute + */ + pageTotalCountAttributePath?: string; + /** + * Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + */ + pagingType: string; + /** + * Determines whether to search for the latest time stamp in the events list + */ + searchTheLatestTimeStampFromEventsList?: string; } /** - * Incident additional data property bag. + * Describe the request properties needed to successfully pull from the server */ - export interface IncidentAdditionalDataResponse { + export interface CodelessConnectorPollingRequestPropertiesResponse { /** - * List of product names of alerts in the incident + * Describe the endpoint we should pull the data from */ - alertProductNames: string[]; + apiEndpoint: string; /** - * The number of alerts in the incident + * This will be used the query events from the end of the time window */ - alertsCount: number; + endTimeAttributeName?: string; /** - * The number of bookmarks in the incident + * Describe the headers sent in the poll request */ - bookmarksCount: number; + headers?: any; /** - * The number of comments in the incident + * The http method type we will use in the poll request, GET or POST */ - commentsCount: number; + httpMethod: string; /** - * The provider incident url to the incident in Microsoft 365 Defender portal + * Describe the query parameters sent in the poll request */ - providerIncidentUrl: string; + queryParameters?: any; /** - * The tactics associated with incident + * For advanced scenarios for example user name/password embedded in nested JSON payload */ - tactics: string[]; + queryParametersTemplate?: string; /** - * The techniques associated with incident's tactics + * The time format will be used the query events in a specific window */ - techniques: string[]; + queryTimeFormat: string; + /** + * The window interval we will use the pull the data + */ + queryWindowInMin: number; + /** + * Defines the rate limit QPS + */ + rateLimitQps?: number; + /** + * Describe the amount of time we should try and poll the data in case of failure + */ + retryCount?: number; + /** + * This will be used the query events from a start of the time window + */ + startTimeAttributeName?: string; + /** + * The number of seconds we will consider as a request timeout + */ + timeoutInSeconds?: number; } /** - * Represents an incident label + * Describes the response from the external server */ - export interface IncidentLabelResponse { + export interface CodelessConnectorPollingResponsePropertiesResponse { /** - * The name of the label + * Describes the path we should extract the data in the response */ - labelName: string; + eventsJsonPaths: string[]; /** - * The type of the label + * Describes if the data in the response is Gzip */ - labelType: string; + isGzipCompressed?: boolean; + /** + * Describes the path we should extract the status code in the response + */ + successStatusJsonPath?: string; + /** + * Describes the path we should extract the status value in the response + */ + successStatusValue?: string; } /** - * Information on the user an incident is assigned to + * Config to describe the instructions blade */ - export interface IncidentOwnerInfoResponse { + export interface CodelessUiConnectorConfigPropertiesResponse { /** - * The name of the user the incident is assigned to. + * Connector Availability Status */ - assignedTo?: string; + availability: outputs.securityinsights.v20230601preview.AvailabilityResponse; /** - * The email of the user the incident is assigned to. + * Define the way the connector check connectivity */ - email?: string; + connectivityCriteria: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; /** - * The object id of the user the incident is assigned to. + * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ - objectId?: string; + customImage?: string; /** - * The type of the owner the incident is assigned to. + * Data types to check for last data received */ - ownerType?: string; + dataTypes: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; /** - * The user principal name of the user the incident is assigned to. + * Connector description */ - userPrincipalName?: string; + descriptionMarkdown: string; + /** + * The graph query to show the current data status + */ + graphQueries: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; + /** + * Name of the table the connector will insert the data to + */ + graphQueriesTableName: string; + /** + * Instruction steps to enable the connector + */ + instructionSteps: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; + /** + * Permissions required for the connector + */ + permissions: outputs.securityinsights.v20230601preview.PermissionsResponse; + /** + * Connector publisher name + */ + publisher: string; + /** + * The sample queries for the connector + */ + sampleQueries: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; + /** + * Connector blade title + */ + title: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria { + /** + * type of connectivity + */ + type?: string; + /** + * Queries for checking connectivity + */ + value?: string[]; + } + + export interface CodelessUiConnectorConfigPropertiesResponseDataTypes { + /** + * Query for indicate last data received + */ + lastDataReceivedQuery?: string; + /** + * Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + */ + name?: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseGraphQueries { + /** + * The base query for the graph + */ + baseQuery?: string; + /** + * The legend for the graph + */ + legend?: string; + /** + * the metric that the query is checking + */ + metricName?: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseInstructionSteps { + /** + * Instruction step description + */ + description?: string; + /** + * Instruction step details + */ + instructions?: outputs.securityinsights.v20230601preview.InstructionStepsResponseInstructions[]; + /** + * Instruction step title + */ + title?: string; + } + + export interface CodelessUiConnectorConfigPropertiesResponseSampleQueries { + /** + * The sample query description + */ + description?: string; + /** + * the sample query + */ + query?: string; } /** - * Query results for table insights query. + * The configuration of the destination of the data. */ - export interface InsightsTableResultResponse { + export interface DCRConfigurationResponse { /** - * Columns Metadata of the table + * Represents the data collection ingestion endpoint in log analytics. */ - columns?: outputs.securityinsights.v20230301preview.InsightsTableResultResponseColumns[]; + dataCollectionEndpoint: string; /** - * Rows data of the table + * The data collection rule immutable id, the rule defines the transformation and data destination. */ - rows?: string[][]; + dataCollectionRuleImmutableId: string; + /** + * The stream we are sending the data to. + */ + streamName: string; } - export interface InsightsTableResultResponseColumns { + /** + * Common field for data type in data connectors. + */ + export interface DataConnectorDataTypeCommonResponse { /** - * the name of the colum + * Describe whether this data type connection is enabled or not. */ - name?: string; + state: string; + } + + /** + * The available data types for Dynamics365 data connector. + */ + export interface Dynamics365DataConnectorDataTypesResponse { /** - * the type of the colum + * Common Data Service data type connection. */ - type?: string; + dynamics365CdsActivities: outputs.securityinsights.v20230601preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; } /** - * Represents a repository. + * Common Data Service data type connection. */ - export interface RepoResponse { + export interface Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities { /** - * Array of branches. + * Describe whether this data type connection is enabled or not. */ - branches?: string[]; + state: string; + } + + /** + * Map identifiers of a single entity + */ + export interface EntityFieldMappingResponse { /** - * The name of the repository. + * Alert V3 identifier */ - fullName?: string; + identifier?: string; /** - * The url to access the repository. + * The value of the identifier */ - url?: string; + value?: string; } /** - * Represents security alert timeline item. + * Entity insight Item. */ - export interface SecurityAlertTimelineItemResponse { + export interface EntityInsightItemResponse { /** - * The name of the alert type. + * Query results for table insights query. */ - alertType: string; + chartQueryResults?: outputs.securityinsights.v20230601preview.InsightsTableResultResponse[]; /** - * The alert azure resource id. + * The query id of the insight */ - azureResourceId: string; + queryId?: string; /** - * The alert description. + * The Time interval that the query actually executed on. */ - description?: string; + queryTimeInterval?: outputs.securityinsights.v20230601preview.EntityInsightItemResponseQueryTimeInterval; /** - * The alert name. + * Query results for table insights query. */ - displayName: string; + tableQueryResults?: outputs.securityinsights.v20230601preview.InsightsTableResultResponse; + } + + /** + * The Time interval that the query actually executed on. + */ + export interface EntityInsightItemResponseQueryTimeInterval { /** - * The alert end time. + * Insight query end time */ - endTimeUtc: string; + endTime?: string; /** - * The intent of the alert. + * Insight query start time */ - intent: string; + startTime?: string; + } + + /** + * Single entity mapping for the alert rule + */ + export interface EntityMappingResponse { /** - * The entity query kind - * Expected value is 'SecurityAlert'. + * The V3 type of the mapped entity */ - kind: "SecurityAlert"; + entityType?: string; /** - * The alert product name. + * array of field mappings for the given entity mapping */ - productName?: string; + fieldMappings?: outputs.securityinsights.v20230601preview.FieldMappingResponse[]; + } + + /** + * Event grouping settings property bag. + */ + export interface EventGroupingSettingsResponse { /** - * The alert severity. + * The event grouping aggregation kinds */ - severity: string; + aggregationKind?: string; + } + + /** + * A single field mapping of the mapped entity + */ + export interface FieldMappingResponse { /** - * The alert start time. + * the column name to be mapped to the identifier */ - startTimeUtc: string; + columnName?: string; /** - * The techniques of the alert. + * the V3 identifier of the entity */ - techniques?: string[]; + identifier?: string; + } + + /** + * Represents a file. + */ + export interface FileMetadataResponse { /** - * The alert generated time. + * Indicates whether the file was deleted from the storage account. */ - timeGenerated: string; + deleteStatus: string; + /** + * A URI with a valid SAS token to allow uploading / downloading the file. + */ + fileContentUri: string; + /** + * The format of the file + */ + fileFormat?: string; + /** + * The name of the file. + */ + fileName?: string; + /** + * The size of the file. + */ + fileSize?: number; } /** - * Metadata pertaining to creation and last modification of the resource. + * Represents a Fusion scenario exclusion patterns in Fusion detection. */ - export interface SystemDataResponse { + export interface FusionScenarioExclusionPatternResponse { /** - * The timestamp of resource creation (UTC). + * DateTime when scenario exclusion pattern is added in UTC. */ - createdAt?: string; + dateAddedInUTC: string; /** - * The identity that created the resource. + * Scenario exclusion pattern. */ - createdBy?: string; + exclusionPattern: string; + } + + /** + * Represents a supported source signal configuration in Fusion detection. + */ + export interface FusionSourceSettingsResponse { /** - * The type of identity that created the resource. + * Determines whether this source signal is enabled or disabled in Fusion detection. */ - createdByType?: string; + enabled: boolean; /** - * The timestamp of resource last modification (UTC) + * Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. */ - lastModifiedAt?: string; + sourceName: string; /** - * The identity that last modified the resource. + * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - lastModifiedBy?: string; + sourceSubTypes?: outputs.securityinsights.v20230601preview.FusionSourceSubTypeSettingResponse[]; + } + + /** + * Represents a supported source subtype configuration under a source signal in Fusion detection. + */ + export interface FusionSourceSubTypeSettingResponse { + /** + * Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + */ + enabled: boolean; + /** + * Severity configuration for a source subtype consumed in fusion detection. + */ + severityFilters: outputs.securityinsights.v20230601preview.FusionSubTypeSeverityFilterResponse; + /** + * The display name of source subtype under a source signal consumed in Fusion detection. + */ + sourceSubTypeDisplayName: string; + /** + * The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + */ + sourceSubTypeName: string; + } + + /** + * Represents severity configuration for a source subtype consumed in Fusion detection. + */ + export interface FusionSubTypeSeverityFilterResponse { + /** + * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + */ + filters?: outputs.securityinsights.v20230601preview.FusionSubTypeSeverityFiltersItemResponse[]; /** - * The type of identity that last modified the resource. + * Determines whether this source subtype supports severity configuration or not. */ - lastModifiedByType?: string; + isSupported: boolean; } /** - * Describes team information + * Represents a Severity filter setting for a given source subtype consumed in Fusion detection. */ - export interface TeamInformationResponse { + export interface FusionSubTypeSeverityFiltersItemResponse { /** - * The description of the team + * Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. */ - description: string; + enabled: boolean; /** - * The name of the team + * The Severity for a given source subtype consumed in Fusion detection. */ - name: string; + severity: string; + } + + /** + * Google Cloud Platform auth section properties. + */ + export interface GCPAuthPropertiesResponse { /** - * The primary channel URL of the team + * The GCP project number. */ - primaryChannelUrl: string; + projectNumber: string; /** - * The time the team was created + * The service account that is used to access the GCP project. */ - teamCreationTimeUtc: string; + serviceAccountEmail: string; /** - * Team ID + * The workload identity provider id that is used to gain access to the GCP project. */ - teamId: string; + workloadIdentityProviderId: string; } /** - * timeline aggregation information per kind + * Google Cloud Platform request section properties. */ - export interface TimelineAggregationResponse { + export interface GCPRequestPropertiesResponse { /** - * the total items found for a kind + * The GCP project id. */ - count: number; + projectId: string; /** - * the query kind + * The GCP pub/sub subscription names. */ - kind: string; + subscriptionNames: string[]; } /** - * Timeline Query Errors. + * GetInsights Query Errors. */ - export interface TimelineErrorResponse { + export interface GetInsightsErrorKindResponse { /** * the error message */ @@ -493067,247 +506986,218 @@ export namespace securityinsights { } /** - * Expansion result metadata. + * Get Insights result metadata. */ - export interface TimelineResultsMetadataResponse { - /** - * timeline aggregation per kind - */ - aggregations: outputs.securityinsights.v20230301preview.TimelineAggregationResponse[]; + export interface GetInsightsResultsMetadataResponse { /** - * information about the failure queries + * information about the failed queries */ - errors?: outputs.securityinsights.v20230301preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230601preview.GetInsightsErrorKindResponse[]; /** - * the total items found for the timeline request + * the total items found for the insights request */ totalCount: number; } /** - * User information that made some action - */ - export interface UserInfoResponse { - /** - * The email of the user. - */ - email: string; - /** - * The name of the user. - */ - name: string; - /** - * The object id of the user. - */ - objectId?: string; - } - - } - - export namespace v20230401preview { - /** - * Represents Activity timeline item. + * Grouping configuration property bag. */ - export interface ActivityTimelineItemResponse { - /** - * The grouping bucket end time. - */ - bucketEndTimeUTC: string; + export interface GroupingConfigurationResponse { /** - * The grouping bucket start time. + * Grouping enabled */ - bucketStartTimeUTC: string; + enabled: boolean; /** - * The activity timeline content. + * A list of alert details to group by (when matchingMethod is Selected) */ - content: string; + groupByAlertDetails?: string[]; /** - * The time of the first activity in the grouping bucket. + * A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. */ - firstActivityTimeUTC: string; + groupByCustomDetails?: string[]; /** - * The entity query kind - * Expected value is 'Activity'. + * A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. */ - kind: "Activity"; + groupByEntities?: string[]; /** - * The time of the last activity in the grouping bucket. + * Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) */ - lastActivityTimeUTC: string; + lookbackDuration: string; /** - * The activity query id. + * Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. */ - queryId: string; + matchingMethod: string; /** - * The activity timeline title. + * Re-open closed matching incidents */ - title: string; + reopenClosedIncident: boolean; } /** - * Represents anomaly timeline item. + * Describes a user that the hunt is assigned to */ - export interface AnomalyTimelineItemResponse { + export interface HuntOwnerResponse { /** - * The anomaly azure resource id. + * The name of the user the hunt is assigned to. */ - azureResourceId: string; + assignedTo?: string; /** - * The anomaly description. + * The email of the user the hunt is assigned to. */ - description?: string; + email?: string; /** - * The anomaly name. + * The object id of the user the hunt is assigned to. */ - displayName: string; + objectId?: string; /** - * The anomaly end time. + * The type of the owner the hunt is assigned to. */ - endTimeUtc: string; + ownerType?: string; /** - * The intent of the anomaly. + * The user principal name of the user the hunt is assigned to. */ - intent?: string; + userPrincipalName?: string; + } + + /** + * Incident additional data property bag. + */ + export interface IncidentAdditionalDataResponse { /** - * The entity query kind - * Expected value is 'Anomaly'. + * List of product names of alerts in the incident */ - kind: "Anomaly"; + alertProductNames: string[]; /** - * The anomaly product name. + * The number of alerts in the incident */ - productName?: string; + alertsCount: number; /** - * The reasons that cause the anomaly. + * The number of bookmarks in the incident */ - reasons?: string[]; + bookmarksCount: number; /** - * The anomaly start time. + * The number of comments in the incident */ - startTimeUtc: string; + commentsCount: number; /** - * The techniques of the anomaly. + * The provider incident url to the incident in Microsoft 365 Defender portal */ - techniques?: string[]; + providerIncidentUrl: string; /** - * The anomaly generated time. + * The tactics associated with incident */ - timeGenerated: string; + tactics: string[]; /** - * The name of the anomaly vendor. + * The techniques associated with incident's tactics */ - vendor?: string; + techniques: string[]; } /** - * Represents bookmark timeline item. + * Incident Configuration property bag. */ - export interface BookmarkTimelineItemResponse { - /** - * The bookmark azure resource id. - */ - azureResourceId: string; + export interface IncidentConfigurationResponse { /** - * Describes a user that created the bookmark + * Create incidents from alerts triggered by this analytics rule */ - createdBy?: outputs.securityinsights.v20230401preview.UserInfoResponse; + createIncident: boolean; /** - * The bookmark display name. + * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - displayName?: string; + groupingConfiguration?: outputs.securityinsights.v20230601preview.GroupingConfigurationResponse; + } + + /** + * Describes related incident information for the bookmark + */ + export interface IncidentInfoResponse { /** - * The bookmark end time. + * Incident Id */ - endTimeUtc?: string; + incidentId?: string; /** - * The bookmark event time. + * Relation Name */ - eventTime?: string; + relationName?: string; /** - * The entity query kind - * Expected value is 'Bookmark'. + * The severity of the incident */ - kind: "Bookmark"; + severity?: string; /** - * List of labels relevant to this bookmark + * The title of the incident */ - labels?: string[]; + title?: string; + } + + /** + * Represents an incident label + */ + export interface IncidentLabelResponse { /** - * The notes of the bookmark + * The name of the label */ - notes?: string; + labelName: string; /** - * The bookmark start time. + * The type of the label */ - startTimeUtc?: string; + labelType: string; } /** - * Entity insight Item. + * Information on the user an incident is assigned to */ - export interface EntityInsightItemResponse { + export interface IncidentOwnerInfoResponse { /** - * Query results for table insights query. + * The name of the user the incident is assigned to. */ - chartQueryResults?: outputs.securityinsights.v20230401preview.InsightsTableResultResponse[]; + assignedTo?: string; /** - * The query id of the insight + * The email of the user the incident is assigned to. */ - queryId?: string; + email?: string; /** - * The Time interval that the query actually executed on. + * The object id of the user the incident is assigned to. */ - queryTimeInterval?: outputs.securityinsights.v20230401preview.EntityInsightItemResponseQueryTimeInterval; + objectId?: string; /** - * Query results for table insights query. + * The type of the owner the incident is assigned to. */ - tableQueryResults?: outputs.securityinsights.v20230401preview.InsightsTableResultResponse; + ownerType?: string; + /** + * The user principal name of the user the incident is assigned to. + */ + userPrincipalName?: string; } - /** - * The Time interval that the query actually executed on. - */ - export interface EntityInsightItemResponseQueryTimeInterval { + export interface IncidentPropertiesActionResponse { /** - * Insight query end time + * The reason the incident was closed */ - endTime?: string; + classification?: string; /** - * Insight query start time + * Describes the reason the incident was closed. */ - startTime?: string; - } - - /** - * GetInsights Query Errors. - */ - export interface GetInsightsErrorKindResponse { + classificationComment?: string; /** - * the error message + * The classification reason the incident was closed with */ - errorMessage: string; + classificationReason?: string; /** - * the query kind + * List of labels to add to the incident. */ - kind: string; + labels?: outputs.securityinsights.v20230601preview.IncidentLabelResponse[]; /** - * the query id + * Information on the user an incident is assigned to */ - queryId?: string; - } - - /** - * Get Insights result metadata. - */ - export interface GetInsightsResultsMetadataResponse { + owner?: outputs.securityinsights.v20230601preview.IncidentOwnerInfoResponse; /** - * information about the failed queries + * The severity of the incident */ - errors?: outputs.securityinsights.v20230401preview.GetInsightsErrorKindResponse[]; + severity?: string; /** - * the total items found for the insights request + * The status of the incident */ - totalCount: number; + status?: string; } /** @@ -493317,7 +507207,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20230401preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20230601preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -493335,460 +507225,414 @@ export namespace securityinsights { type?: string; } - /** - * Represents a repository. - */ - export interface RepoResponse { - /** - * Array of branches. - */ - branches?: string[]; + export interface InstructionStepsResponseInstructions { /** - * The name of the repository. + * The parameters for the setting */ - fullName?: string; + parameters?: any; /** - * The url to access the repository. + * The kind of the setting */ - url?: string; + type: string; } /** - * Represents security alert timeline item. + * The available data types for MCAS (Microsoft Cloud App Security) data connector. */ - export interface SecurityAlertTimelineItemResponse { - /** - * The name of the alert type. - */ - alertType: string; - /** - * The alert azure resource id. - */ - azureResourceId: string; - /** - * The alert description. - */ - description?: string; - /** - * The alert name. - */ - displayName: string; - /** - * The alert end time. - */ - endTimeUtc: string; - /** - * The intent of the alert. - */ - intent: string; - /** - * The entity query kind - * Expected value is 'SecurityAlert'. - */ - kind: "SecurityAlert"; - /** - * The alert product name. - */ - productName?: string; - /** - * The alert severity. - */ - severity: string; + export interface MCASDataConnectorDataTypesResponse { /** - * The alert start time. + * Alerts data type connection. */ - startTimeUtc: string; + alerts: outputs.securityinsights.v20230601preview.DataConnectorDataTypeCommonResponse; /** - * The techniques of the alert. + * Discovery log data type connection. */ - techniques?: string[]; + discoveryLogs?: outputs.securityinsights.v20230601preview.DataConnectorDataTypeCommonResponse; + } + + /** + * The available data types for Microsoft Threat Intelligence Platforms data connector. + */ + export interface MSTIDataConnectorDataTypesResponse { /** - * The alert generated time. + * Data type for Microsoft Threat Intelligence Platforms data connector. */ - timeGenerated: string; + microsoftEmergingThreatFeed: outputs.securityinsights.v20230601preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; } /** - * timeline aggregation information per kind + * Data type for Microsoft Threat Intelligence Platforms data connector. */ - export interface TimelineAggregationResponse { + export interface MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed { /** - * the total items found for a kind + * The lookback period for the feed to be imported. */ - count: number; + lookbackPeriod: string; /** - * the query kind + * Describe whether this data type connection is enabled or not. */ - kind: string; + state: string; } /** - * Timeline Query Errors. + * The available data types for Microsoft Threat Protection Platforms data connector. */ - export interface TimelineErrorResponse { - /** - * the error message - */ - errorMessage: string; + export interface MTPDataConnectorDataTypesResponse { /** - * the query kind + * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - kind: string; + alerts?: outputs.securityinsights.v20230601preview.MTPDataConnectorDataTypesResponseAlerts; /** - * the query id + * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - queryId?: string; + incidents: outputs.securityinsights.v20230601preview.MTPDataConnectorDataTypesResponseIncidents; } /** - * Expansion result metadata. + * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - export interface TimelineResultsMetadataResponse { - /** - * timeline aggregation per kind - */ - aggregations: outputs.securityinsights.v20230401preview.TimelineAggregationResponse[]; + export interface MTPDataConnectorDataTypesResponseAlerts { /** - * information about the failure queries + * Describe whether this data type connection is enabled or not. */ - errors?: outputs.securityinsights.v20230401preview.TimelineErrorResponse[]; + state: string; + } + + /** + * Incidents data type for Microsoft Threat Protection Platforms data connector. + */ + export interface MTPDataConnectorDataTypesResponseIncidents { /** - * the total items found for the timeline request + * Describe whether this data type connection is enabled or not. */ - totalCount: number; + state: string; } /** - * User information that made some action + * Publisher or creator of the content item. */ - export interface UserInfoResponse { + export interface MetadataAuthorResponse { /** - * The email of the user. + * Email of author contact */ - email: string; + email?: string; /** - * The name of the user. + * Link for author/vendor page */ - name: string; + link?: string; /** - * The object id of the user. + * Name of the author. Company or person. */ - objectId?: string; + name?: string; } - } - - export namespace v20230501preview { /** - * Represents Activity timeline item. + * ies for the solution content item */ - export interface ActivityTimelineItemResponse { + export interface MetadataCategoriesResponse { /** - * The grouping bucket end time. + * domain for the solution content item */ - bucketEndTimeUTC: string; + domains?: string[]; /** - * The grouping bucket start time. + * Industry verticals for the solution content item */ - bucketStartTimeUTC: string; + verticals?: string[]; + } + + /** + * Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + */ + export interface MetadataDependenciesResponse { /** - * The activity timeline content. + * Id of the content item we depend on */ - content: string; + contentId?: string; /** - * The time of the first activity in the grouping bucket. + * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - firstActivityTimeUTC: string; + criteria?: outputs.securityinsights.v20230601preview.MetadataDependenciesResponse[]; /** - * The entity query kind - * Expected value is 'Activity'. + * Type of the content item we depend on */ - kind: "Activity"; + kind?: string; /** - * The time of the last activity in the grouping bucket. + * Name of the content item */ - lastActivityTimeUTC: string; + name?: string; /** - * The activity query id. + * Operator used for list of dependencies in criteria array. */ - queryId: string; + operator?: string; /** - * The activity timeline title. + * Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. */ - title: string; + version?: string; } /** - * Represents anomaly timeline item. + * The original source of the content item, where it comes from. */ - export interface AnomalyTimelineItemResponse { - /** - * The anomaly azure resource id. - */ - azureResourceId: string; - /** - * The anomaly description. - */ - description?: string; - /** - * The anomaly name. - */ - displayName: string; - /** - * The anomaly end time. - */ - endTimeUtc: string; - /** - * The intent of the anomaly. - */ - intent?: string; + export interface MetadataSourceResponse { /** - * The entity query kind - * Expected value is 'Anomaly'. + * Source type of the content */ - kind: "Anomaly"; + kind: string; /** - * The anomaly product name. + * Name of the content source. The repo name, solution name, LA workspace name etc. */ - productName?: string; + name?: string; /** - * The reasons that cause the anomaly. + * ID of the content source. The solution ID, workspace ID, etc */ - reasons?: string[]; + sourceId?: string; + } + + /** + * Support information for the content item. + */ + export interface MetadataSupportResponse { /** - * The anomaly start time. + * Email of support contact */ - startTimeUtc: string; + email?: string; /** - * The techniques of the anomaly. + * Link for support help, like to support page to open a ticket etc. */ - techniques?: string[]; + link?: string; /** - * The anomaly generated time. + * Name of the support contact. Company or person. */ - timeGenerated: string; + name?: string; /** - * The name of the anomaly vendor. + * Type of support for content item */ - vendor?: string; + tier: string; } /** - * Resources created in Azure DevOps repository. + * The available data types for Microsoft Purview Information Protection data connector. */ - export interface AzureDevOpsResourceInfoResponse { - /** - * Id of the pipeline created for the source-control. - */ - pipelineId?: string; + export interface MicrosoftPurviewInformationProtectionConnectorDataTypesResponse { /** - * Id of the service-connection created for the source-control. + * Logs data type. */ - serviceConnectionId?: string; + logs: outputs.securityinsights.v20230601preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; } /** - * Represents bookmark timeline item. + * Logs data type. */ - export interface BookmarkTimelineItemResponse { - /** - * The bookmark azure resource id. - */ - azureResourceId: string; - /** - * Describes a user that created the bookmark - */ - createdBy?: outputs.securityinsights.v20230501preview.UserInfoResponse; - /** - * The bookmark display name. - */ - displayName?: string; - /** - * The bookmark end time. - */ - endTimeUtc?: string; - /** - * The bookmark event time. - */ - eventTime?: string; - /** - * The entity query kind - * Expected value is 'Bookmark'. - */ - kind: "Bookmark"; - /** - * List of labels relevant to this bookmark - */ - labels?: string[]; + export interface MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs { /** - * The notes of the bookmark + * Describe whether this data type connection is enabled or not. */ - notes?: string; + state: string; + } + + /** + * Represents the connector's Filtered providers + */ + export interface MtpFilteredProvidersResponse { /** - * The bookmark start time. + * Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. */ - startTimeUtc?: string; + alerts: string[]; } /** - * The mapping of content type to a repo path. + * The available data types for Office Microsoft Project data connector. */ - export interface ContentPathMapResponse { + export interface Office365ProjectConnectorDataTypesResponse { /** - * Content type. + * Logs data type. */ - contentType?: string; + logs: outputs.securityinsights.v20230601preview.Office365ProjectConnectorDataTypesResponseLogs; + } + + /** + * Logs data type. + */ + export interface Office365ProjectConnectorDataTypesResponseLogs { /** - * The path to the content. + * Describe whether this data type connection is enabled or not. */ - path?: string; + state: string; } /** - * Information regarding a deployment. + * The available data types for office data connector. */ - export interface DeploymentInfoResponse { + export interface OfficeDataConnectorDataTypesResponse { /** - * Deployment information. + * Exchange data type connection. */ - deployment?: outputs.securityinsights.v20230501preview.DeploymentResponse; + exchange: outputs.securityinsights.v20230601preview.OfficeDataConnectorDataTypesResponseExchange; /** - * Status while fetching the last deployment. + * SharePoint data type connection. */ - deploymentFetchStatus?: string; + sharePoint: outputs.securityinsights.v20230601preview.OfficeDataConnectorDataTypesResponseSharePoint; /** - * Additional details about the deployment that can be shown to the user. + * Teams data type connection. */ - message?: string; + teams: outputs.securityinsights.v20230601preview.OfficeDataConnectorDataTypesResponseTeams; } /** - * Description about a deployment. + * Exchange data type connection. */ - export interface DeploymentResponse { + export interface OfficeDataConnectorDataTypesResponseExchange { /** - * Deployment identifier. + * Describe whether this data type connection is enabled or not. */ - deploymentId?: string; + state: string; + } + + /** + * SharePoint data type connection. + */ + export interface OfficeDataConnectorDataTypesResponseSharePoint { /** - * Url to access repository action logs. + * Describe whether this data type connection is enabled or not. */ - deploymentLogsUrl?: string; + state: string; + } + + /** + * Teams data type connection. + */ + export interface OfficeDataConnectorDataTypesResponseTeams { /** - * The outcome of the deployment. + * Describe whether this data type connection is enabled or not. */ - deploymentResult?: string; + state: string; + } + + /** + * The available data types for Office Microsoft PowerBI data connector. + */ + export interface OfficePowerBIConnectorDataTypesResponse { /** - * Current status of the deployment. + * Logs data type. */ - deploymentState?: string; + logs: outputs.securityinsights.v20230601preview.OfficePowerBIConnectorDataTypesResponseLogs; + } + + /** + * Logs data type. + */ + export interface OfficePowerBIConnectorDataTypesResponseLogs { /** - * The time when the deployment finished. + * Describe whether this data type connection is enabled or not. */ - deploymentTime?: string; + state: string; } /** - * Entity insight Item. + * Permissions required for the connector */ - export interface EntityInsightItemResponse { + export interface PermissionsResponse { /** - * Query results for table insights query. + * Customs permissions required for the connector */ - chartQueryResults?: outputs.securityinsights.v20230501preview.InsightsTableResultResponse[]; + customs?: outputs.securityinsights.v20230601preview.PermissionsResponseCustoms[]; /** - * The query id of the insight + * Resource provider permissions required for the connector */ - queryId?: string; + resourceProvider?: outputs.securityinsights.v20230601preview.PermissionsResponseResourceProvider[]; + } + + export interface PermissionsResponseCustoms { /** - * The Time interval that the query actually executed on. + * Customs permissions description */ - queryTimeInterval?: outputs.securityinsights.v20230501preview.EntityInsightItemResponseQueryTimeInterval; + description?: string; /** - * Query results for table insights query. + * Customs permissions name */ - tableQueryResults?: outputs.securityinsights.v20230501preview.InsightsTableResultResponse; + name?: string; } - /** - * The Time interval that the query actually executed on. - */ - export interface EntityInsightItemResponseQueryTimeInterval { + export interface PermissionsResponseResourceProvider { /** - * Insight query end time + * Permission description text */ - endTime?: string; + permissionsDisplayText?: string; /** - * Insight query start time + * Provider name */ - startTime?: string; - } - - /** - * GetInsights Query Errors. - */ - export interface GetInsightsErrorKindResponse { + provider?: string; /** - * the error message + * Permission provider display name */ - errorMessage: string; + providerDisplayName?: string; /** - * the query kind + * Required permissions for the connector */ - kind: string; + requiredPermissions?: outputs.securityinsights.v20230601preview.RequiredPermissionsResponse; /** - * the query id + * Permission provider scope */ - queryId?: string; + scope?: string; } - /** - * Get Insights result metadata. - */ - export interface GetInsightsResultsMetadataResponse { + export interface PlaybookActionPropertiesResponse { /** - * information about the failed queries + * The resource id of the playbook resource. */ - errors?: outputs.securityinsights.v20230501preview.GetInsightsErrorKindResponse[]; + logicAppResourceId: string; /** - * the total items found for the insights request + * The tenant id of the playbook resource. */ - totalCount: number; + tenantId?: string; } /** - * Resources created in GitHub repository. + * Describes an automation rule condition that evaluates an array property's value change */ - export interface GitHubResourceInfoResponse { + export interface PropertyArrayChangedConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyArrayChangedValuesConditionResponse; /** - * GitHub application installation id. + * + * Expected value is 'PropertyArrayChanged'. */ - appInstallationId?: string; + conditionType: "PropertyArrayChanged"; } /** - * Query results for table insights query. + * Describes an automation rule condition that evaluates an array property's value */ - export interface InsightsTableResultResponse { - /** - * Columns Metadata of the table - */ - columns?: outputs.securityinsights.v20230501preview.InsightsTableResultResponseColumns[]; + export interface PropertyArrayConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyArrayValuesConditionResponse; /** - * Rows data of the table + * + * Expected value is 'PropertyArray'. */ - rows?: string[][]; + conditionType: "PropertyArray"; } - export interface InsightsTableResultResponseColumns { + /** + * Describes an automation rule condition that evaluates a property's value change + */ + export interface PropertyChangedConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyValuesChangedConditionResponse; /** - * the name of the colum + * + * Expected value is 'PropertyChanged'. */ - name?: string; + conditionType: "PropertyChanged"; + } + + /** + * Describes an automation rule condition that evaluates a property's value + */ + export interface PropertyConditionPropertiesResponse { + conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyValuesConditionResponse; /** - * the type of the colum + * + * Expected value is 'Property'. */ - type?: string; + conditionType: "Property"; } /** @@ -493810,47 +507654,25 @@ export namespace securityinsights { } /** - * Resources created in user's repository for the source-control. - */ - export interface RepositoryResourceInfoResponse { - /** - * Resources created in Azure DevOps for this source-control. - */ - azureDevOpsResourceInfo?: outputs.securityinsights.v20230501preview.AzureDevOpsResourceInfoResponse; - /** - * Resources created in GitHub for this source-control. - */ - gitHubResourceInfo?: outputs.securityinsights.v20230501preview.GitHubResourceInfoResponse; - /** - * The webhook object created for the source-control. - */ - webhook?: outputs.securityinsights.v20230501preview.WebhookResponse; - } - - /** - * metadata of a repository. + * Required permissions for the connector */ - export interface RepositoryResponse { - /** - * Branch name of repository. - */ - branch?: string; + export interface RequiredPermissionsResponse { /** - * Url to access repository action logs. + * action permission */ - deploymentLogsUrl?: string; + action?: boolean; /** - * Display url of repository. + * delete permission */ - displayUrl?: string; + delete?: boolean; /** - * Dictionary of source control content type and path mapping. + * read permission */ - pathMapping?: outputs.securityinsights.v20230501preview.ContentPathMapResponse[]; + read?: boolean; /** - * Url of repository. + * write permission */ - url?: string; + write?: boolean; } /** @@ -493908,6 +507730,30 @@ export namespace securityinsights { timeGenerated: string; } + /** + * security ml analytics settings data sources + */ + export interface SecurityMLAnalyticsSettingsDataSourceResponse { + /** + * The connector id that provides the following data types + */ + connectorId?: string; + /** + * The data types used by the security ml analytics settings + */ + dataTypes?: string[]; + } + + /** + * A single sentinel entity mapping + */ + export interface SentinelEntityMappingResponse { + /** + * the column name to be mapped to the SentinelEntities + */ + columnName?: string; + } + /** * Metadata pertaining to creation and last modification of the resource. */ @@ -493938,6 +507784,72 @@ export namespace securityinsights { lastModifiedByType?: string; } + /** + * The available data types for TI (Threat Intelligence) data connector. + */ + export interface TIDataConnectorDataTypesResponse { + /** + * Data type for indicators connection. + */ + indicators: outputs.securityinsights.v20230601preview.TIDataConnectorDataTypesResponseIndicators; + } + + /** + * Data type for indicators connection. + */ + export interface TIDataConnectorDataTypesResponseIndicators { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + + /** + * Describes team information + */ + export interface TeamInformationResponse { + /** + * The description of the team + */ + description: string; + /** + * The name of the team + */ + name: string; + /** + * The primary channel URL of the team + */ + primaryChannelUrl: string; + /** + * The time the team was created + */ + teamCreationTimeUtc: string; + /** + * Team ID + */ + teamId: string; + } + + /** + * The available data types for Threat Intelligence TAXII data connector. + */ + export interface TiTaxiiDataConnectorDataTypesResponse { + /** + * Data type for TAXII connector. + */ + taxiiClient: outputs.securityinsights.v20230601preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; + } + + /** + * Data type for TAXII connector. + */ + export interface TiTaxiiDataConnectorDataTypesResponseTaxiiClient { + /** + * Describe whether this data type connection is enabled or not. + */ + state: string; + } + /** * timeline aggregation information per kind */ @@ -493977,11 +507889,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20230501preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230601preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20230501preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230601preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -494007,30 +507919,40 @@ export namespace securityinsights { } /** - * Detail about the webhook object. + * Describes an error encountered in the file during validation. */ - export interface WebhookResponse { + export interface ValidationErrorResponse { /** - * A flag to instruct the backend service to rotate webhook secret. + * A list of descriptions of the error. */ - rotateWebhookSecret?: boolean; + errorMessages: string[]; /** - * Unique identifier for the webhook. + * The number of the record that has the error. */ - webhookId?: string; + recordIndex?: number; + } + + /** + * User information that made some action + */ + export interface WatchlistUserInfoResponse { /** - * Time when the webhook secret was updated. + * The email of the user. */ - webhookSecretUpdateTime?: string; + email: string; /** - * URL that gets invoked by the webhook. + * The name of the user. */ - webhookUrl?: string; + name: string; + /** + * The object id of the user. + */ + objectId?: string; } } - export namespace v20230601preview { + export namespace v20230701preview { /** * The Activity query definitions */ @@ -494106,7 +508028,7 @@ export namespace securityinsights { /** * List of additional dynamic properties to override */ - alertDynamicProperties?: outputs.securityinsights.v20230601preview.AlertPropertyMappingResponse[]; + alertDynamicProperties?: outputs.securityinsights.v20230701preview.AlertPropertyMappingResponse[]; /** * the column name to take the alert severity from */ @@ -494138,7 +508060,7 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: outputs.securityinsights.v20230601preview.DataConnectorDataTypeCommonResponse; + alerts: outputs.securityinsights.v20230701preview.DataConnectorDataTypeCommonResponse; } /** @@ -494210,7 +508132,7 @@ export namespace securityinsights { * Describes an automation rule action to add a task to an incident */ export interface AutomationRuleAddIncidentTaskActionResponse { - actionConfiguration?: outputs.securityinsights.v20230601preview.AddIncidentTaskActionPropertiesResponse; + actionConfiguration?: outputs.securityinsights.v20230701preview.AddIncidentTaskActionPropertiesResponse; /** * The type of the automation rule action. * Expected value is 'AddIncidentTask'. @@ -494220,7 +508142,7 @@ export namespace securityinsights { } export interface AutomationRuleBooleanConditionResponse { - innerConditions?: (outputs.securityinsights.v20230601preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyConditionPropertiesResponse)[]; + innerConditions?: (outputs.securityinsights.v20230701preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyConditionPropertiesResponse)[]; operator?: string; } @@ -494228,7 +508150,7 @@ export namespace securityinsights { * Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesActionResponse { - actionConfiguration?: outputs.securityinsights.v20230601preview.IncidentPropertiesActionResponse; + actionConfiguration?: outputs.securityinsights.v20230701preview.IncidentPropertiesActionResponse; /** * The type of the automation rule action. * Expected value is 'ModifyProperties'. @@ -494245,7 +508167,7 @@ export namespace securityinsights { export interface AutomationRulePropertyArrayValuesConditionResponse { arrayConditionType?: string; arrayType?: string; - itemConditions?: (outputs.securityinsights.v20230601preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyConditionPropertiesResponse)[]; + itemConditions?: (outputs.securityinsights.v20230701preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyConditionPropertiesResponse)[]; } export interface AutomationRulePropertyValuesChangedConditionResponse { @@ -494268,7 +508190,7 @@ export namespace securityinsights { * Describes an automation rule action to run a playbook */ export interface AutomationRuleRunPlaybookActionResponse { - actionConfiguration?: outputs.securityinsights.v20230601preview.PlaybookActionPropertiesResponse; + actionConfiguration?: outputs.securityinsights.v20230701preview.PlaybookActionPropertiesResponse; /** * The type of the automation rule action. * Expected value is 'RunPlaybook'. @@ -494284,7 +508206,7 @@ export namespace securityinsights { /** * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - conditions?: (outputs.securityinsights.v20230601preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230601preview.PropertyConditionPropertiesResponse)[]; + conditions?: (outputs.securityinsights.v20230701preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyConditionPropertiesResponse)[]; /** * Determines when the automation rule should automatically expire and be disabled. */ @@ -494318,7 +508240,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230601preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230701preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; } /** @@ -494338,7 +508260,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230601preview.AwsS3DataConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230701preview.AwsS3DataConnectorDataTypesResponseLogs; } /** @@ -494362,7 +508284,7 @@ export namespace securityinsights { /** * Array of fields mapping for that entity type */ - fieldMappings?: outputs.securityinsights.v20230601preview.EntityFieldMappingResponse[]; + fieldMappings?: outputs.securityinsights.v20230701preview.EntityFieldMappingResponse[]; } /** @@ -494376,7 +508298,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20230601preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230701preview.UserInfoResponse; /** * The bookmark display name. */ @@ -494412,7 +508334,7 @@ export namespace securityinsights { * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ export interface BooleanConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRuleBooleanConditionResponse; + conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRuleBooleanConditionResponse; /** * * Expected value is 'Boolean'. @@ -494507,7 +508429,7 @@ export namespace securityinsights { /** * Describe the authentication type of the poller */ - auth: outputs.securityinsights.v20230601preview.CodelessConnectorPollingAuthPropertiesResponse; + auth: outputs.securityinsights.v20230701preview.CodelessConnectorPollingAuthPropertiesResponse; /** * The poller active status */ @@ -494515,15 +508437,15 @@ export namespace securityinsights { /** * Describe the poll request paging config of the poller */ - paging?: outputs.securityinsights.v20230601preview.CodelessConnectorPollingPagingPropertiesResponse; + paging?: outputs.securityinsights.v20230701preview.CodelessConnectorPollingPagingPropertiesResponse; /** * Describe the poll request config parameters of the poller */ - request: outputs.securityinsights.v20230601preview.CodelessConnectorPollingRequestPropertiesResponse; + request: outputs.securityinsights.v20230701preview.CodelessConnectorPollingRequestPropertiesResponse; /** * Describe the response config parameters of the poller */ - response?: outputs.securityinsights.v20230601preview.CodelessConnectorPollingResponsePropertiesResponse; + response?: outputs.securityinsights.v20230701preview.CodelessConnectorPollingResponsePropertiesResponse; } /** @@ -494651,11 +508573,11 @@ export namespace securityinsights { /** * Connector Availability Status */ - availability: outputs.securityinsights.v20230601preview.AvailabilityResponse; + availability: outputs.securityinsights.v20230701preview.AvailabilityResponse; /** * Define the way the connector check connectivity */ - connectivityCriteria: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; + connectivityCriteria: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; /** * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ @@ -494663,7 +508585,7 @@ export namespace securityinsights { /** * Data types to check for last data received */ - dataTypes: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; + dataTypes: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; /** * Connector description */ @@ -494671,7 +508593,7 @@ export namespace securityinsights { /** * The graph query to show the current data status */ - graphQueries: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; + graphQueries: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; /** * Name of the table the connector will insert the data to */ @@ -494679,11 +508601,11 @@ export namespace securityinsights { /** * Instruction steps to enable the connector */ - instructionSteps: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; + instructionSteps: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; /** * Permissions required for the connector */ - permissions: outputs.securityinsights.v20230601preview.PermissionsResponse; + permissions: outputs.securityinsights.v20230701preview.PermissionsResponse; /** * Connector publisher name */ @@ -494691,7 +508613,7 @@ export namespace securityinsights { /** * The sample queries for the connector */ - sampleQueries: outputs.securityinsights.v20230601preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; + sampleQueries: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; /** * Connector blade title */ @@ -494743,7 +508665,7 @@ export namespace securityinsights { /** * Instruction step details */ - instructions?: outputs.securityinsights.v20230601preview.InstructionStepsResponseInstructions[]; + instructions?: outputs.securityinsights.v20230701preview.InstructionStepsResponseInstructions[]; /** * Instruction step title */ @@ -494761,6 +508683,193 @@ export namespace securityinsights { query?: string; } + /** + * The criteria by which we determine whether the connector is connected or not. + * For Example, use a KQL query to check if the expected data type is flowing). + */ + export interface ConnectivityCriterionResponse { + /** + * Gets or sets the type of connectivity. + */ + type: string; + /** + * Gets or sets the queries for checking connectivity. + */ + value?: string[]; + } + + /** + * The data type which is created by the connector, + * including a query indicated when was the last time that data type was received in the workspace. + */ + export interface ConnectorDataTypeResponse { + /** + * Gets or sets the query to indicate when relevant data was last received in the workspace. + */ + lastDataReceivedQuery: string; + /** + * Gets or sets the name of the data type to show in the graph. + */ + name: string; + } + + /** + * The exposure status of the connector to the customers. + */ + export interface ConnectorDefinitionsAvailabilityResponse { + /** + * Gets or sets a value indicating whether the connector is preview. + */ + isPreview?: boolean; + /** + * The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + */ + status?: number; + } + + /** + * The required Permissions for the connector. + */ + export interface ConnectorDefinitionsPermissionsResponse { + /** + * Gets or sets the customs permissions required for the user to create connections. + */ + customs?: outputs.securityinsights.v20230701preview.CustomPermissionDetailsResponse[]; + /** + * Gets or sets the required licenses for the user to create connections. + */ + licenses?: string[]; + /** + * Gets or sets the resource provider permissions required for the user to create connections. + */ + resourceProvider?: outputs.securityinsights.v20230701preview.ConnectorDefinitionsResourceProviderResponse[]; + /** + * Gets or sets the required tenant permissions for the connector. + */ + tenant?: string[]; + } + + /** + * The resource provider details include the required permissions for the user to create connections. + * The user should have the required permissions(Read\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + */ + export interface ConnectorDefinitionsResourceProviderResponse { + /** + * Gets or sets the permissions description text. + */ + permissionsDisplayText: string; + /** + * Gets or sets the provider name. + */ + provider: string; + /** + * Gets or sets the permissions provider display name. + */ + providerDisplayName: string; + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + requiredPermissions: outputs.securityinsights.v20230701preview.ResourceProviderRequiredPermissionsResponse; + /** + * The scope on which the user should have permissions, in order to be able to create connections. + */ + scope: string; + } + + /** + * The Custom permissions required for the connector. + */ + export interface CustomPermissionDetailsResponse { + /** + * Gets or sets the custom permissions description. + */ + description: string; + /** + * Gets or sets the custom permissions name. + */ + name: string; + } + + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + export interface CustomizableConnectionsConfigResponse { + /** + * Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + */ + templateSpecName: string; + /** + * Gets or sets the template version. + */ + templateSpecVersion: string; + } + + /** + * The UiConfig for 'Customizable' connector definition kind. + */ + export interface CustomizableConnectorUiConfigResponse { + /** + * The exposure status of the connector to the customers. + */ + availability?: outputs.securityinsights.v20230701preview.ConnectorDefinitionsAvailabilityResponse; + /** + * Gets or sets the way the connector checks whether the connector is connected. + */ + connectivityCriteria: outputs.securityinsights.v20230701preview.ConnectivityCriterionResponse[]; + /** + * Gets or sets the data types to check for last data received. + */ + dataTypes: outputs.securityinsights.v20230701preview.ConnectorDataTypeResponse[]; + /** + * Gets or sets the connector description in markdown format. + */ + descriptionMarkdown: string; + /** + * Gets or sets the graph queries to show the current data volume over time. + */ + graphQueries: outputs.securityinsights.v20230701preview.GraphQueryResponse[]; + /** + * Gets or sets the name of the table the connector will insert the data to. + * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + * in Query and LastDataReceivedQuery values. + */ + graphQueriesTableName?: string; + /** + * Gets or sets custom connector id. optional field. + */ + id?: string; + /** + * Gets or sets the instruction steps to enable the connector. + */ + instructionSteps: outputs.securityinsights.v20230701preview.InstructionStepResponse[]; + /** + * Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + */ + isConnectivityCriteriasMatchSome?: boolean; + /** + * Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + * The logo value should be in SVG format. + */ + logo?: string; + /** + * The required Permissions for the connector. + */ + permissions: outputs.securityinsights.v20230701preview.ConnectorDefinitionsPermissionsResponse; + /** + * Gets or sets the connector publisher name. + */ + publisher: string; + /** + * Gets or sets the sample queries for the connector. + */ + sampleQueries: outputs.securityinsights.v20230701preview.SampleQueryResponse[]; + /** + * Gets or sets the connector blade title. + */ + title: string; + } + /** * The configuration of the destination of the data. */ @@ -494796,7 +508905,7 @@ export namespace securityinsights { /** * Common Data Service data type connection. */ - dynamics365CdsActivities: outputs.securityinsights.v20230601preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; + dynamics365CdsActivities: outputs.securityinsights.v20230701preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; } /** @@ -494830,7 +508939,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20230601preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20230701preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -494838,11 +508947,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20230601preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20230701preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20230601preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20230701preview.InsightsTableResultResponse; } /** @@ -494870,7 +508979,7 @@ export namespace securityinsights { /** * array of field mappings for the given entity mapping */ - fieldMappings?: outputs.securityinsights.v20230601preview.FieldMappingResponse[]; + fieldMappings?: outputs.securityinsights.v20230701preview.FieldMappingResponse[]; } /** @@ -494952,7 +509061,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: outputs.securityinsights.v20230601preview.FusionSourceSubTypeSettingResponse[]; + sourceSubTypes?: outputs.securityinsights.v20230701preview.FusionSourceSubTypeSettingResponse[]; } /** @@ -494966,7 +509075,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: outputs.securityinsights.v20230601preview.FusionSubTypeSeverityFilterResponse; + severityFilters: outputs.securityinsights.v20230701preview.FusionSubTypeSeverityFilterResponse; /** * The display name of source subtype under a source signal consumed in Fusion detection. */ @@ -494984,7 +509093,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: outputs.securityinsights.v20230601preview.FusionSubTypeSeverityFiltersItemResponse[]; + filters?: outputs.securityinsights.v20230701preview.FusionSubTypeSeverityFiltersItemResponse[]; /** * Determines whether this source subtype supports severity configuration or not. */ @@ -495062,13 +509171,32 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20230601preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20230701preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ totalCount: number; } + /** + * The graph query to show the volume of data arriving into the workspace over time. + */ + export interface GraphQueryResponse { + /** + * Gets or sets the base query for the graph. + * The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + */ + baseQuery: string; + /** + * Gets or sets the legend for the graph. + */ + legend: string; + /** + * Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + */ + metricName: string; + } + /** * Grouping configuration property bag. */ @@ -495174,7 +509302,7 @@ export namespace securityinsights { /** * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - groupingConfiguration?: outputs.securityinsights.v20230601preview.GroupingConfigurationResponse; + groupingConfiguration?: outputs.securityinsights.v20230701preview.GroupingConfigurationResponse; } /** @@ -495255,11 +509383,11 @@ export namespace securityinsights { /** * List of labels to add to the incident. */ - labels?: outputs.securityinsights.v20230601preview.IncidentLabelResponse[]; + labels?: outputs.securityinsights.v20230701preview.IncidentLabelResponse[]; /** * Information on the user an incident is assigned to */ - owner?: outputs.securityinsights.v20230601preview.IncidentOwnerInfoResponse; + owner?: outputs.securityinsights.v20230701preview.IncidentOwnerInfoResponse; /** * The severity of the incident */ @@ -495277,7 +509405,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20230601preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20230701preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -495295,6 +509423,43 @@ export namespace securityinsights { type?: string; } + /** + * Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + */ + export interface InstructionStepDetailsResponse { + /** + * Gets or sets the instruction type parameters settings. + */ + parameters: any; + /** + * Gets or sets the instruction type name. + */ + type: string; + } + + /** + * Instruction steps to enable the connector. + */ + export interface InstructionStepResponse { + /** + * Gets or sets the instruction step description. + */ + description?: string; + /** + * Gets or sets the inner instruction steps details. + * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + */ + innerSteps?: outputs.securityinsights.v20230701preview.InstructionStepResponse[]; + /** + * Gets or sets the instruction step details. + */ + instructions?: outputs.securityinsights.v20230701preview.InstructionStepDetailsResponse[]; + /** + * Gets or sets the instruction step title. + */ + title?: string; + } + export interface InstructionStepsResponseInstructions { /** * The parameters for the setting @@ -495313,11 +509478,11 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: outputs.securityinsights.v20230601preview.DataConnectorDataTypeCommonResponse; + alerts: outputs.securityinsights.v20230701preview.DataConnectorDataTypeCommonResponse; /** * Discovery log data type connection. */ - discoveryLogs?: outputs.securityinsights.v20230601preview.DataConnectorDataTypeCommonResponse; + discoveryLogs?: outputs.securityinsights.v20230701preview.DataConnectorDataTypeCommonResponse; } /** @@ -495327,7 +509492,7 @@ export namespace securityinsights { /** * Data type for Microsoft Threat Intelligence Platforms data connector. */ - microsoftEmergingThreatFeed: outputs.securityinsights.v20230601preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; + microsoftEmergingThreatFeed: outputs.securityinsights.v20230701preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; } /** @@ -495351,11 +509516,11 @@ export namespace securityinsights { /** * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - alerts?: outputs.securityinsights.v20230601preview.MTPDataConnectorDataTypesResponseAlerts; + alerts?: outputs.securityinsights.v20230701preview.MTPDataConnectorDataTypesResponseAlerts; /** * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - incidents: outputs.securityinsights.v20230601preview.MTPDataConnectorDataTypesResponseIncidents; + incidents: outputs.securityinsights.v20230701preview.MTPDataConnectorDataTypesResponseIncidents; } /** @@ -495421,7 +509586,7 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: outputs.securityinsights.v20230601preview.MetadataDependenciesResponse[]; + criteria?: outputs.securityinsights.v20230701preview.MetadataDependenciesResponse[]; /** * Type of the content item we depend on */ @@ -495487,7 +509652,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230601preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230701preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; } /** @@ -495517,7 +509682,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230601preview.Office365ProjectConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230701preview.Office365ProjectConnectorDataTypesResponseLogs; } /** @@ -495537,15 +509702,15 @@ export namespace securityinsights { /** * Exchange data type connection. */ - exchange: outputs.securityinsights.v20230601preview.OfficeDataConnectorDataTypesResponseExchange; + exchange: outputs.securityinsights.v20230701preview.OfficeDataConnectorDataTypesResponseExchange; /** * SharePoint data type connection. */ - sharePoint: outputs.securityinsights.v20230601preview.OfficeDataConnectorDataTypesResponseSharePoint; + sharePoint: outputs.securityinsights.v20230701preview.OfficeDataConnectorDataTypesResponseSharePoint; /** * Teams data type connection. */ - teams: outputs.securityinsights.v20230601preview.OfficeDataConnectorDataTypesResponseTeams; + teams: outputs.securityinsights.v20230701preview.OfficeDataConnectorDataTypesResponseTeams; } /** @@ -495585,7 +509750,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230601preview.OfficePowerBIConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230701preview.OfficePowerBIConnectorDataTypesResponseLogs; } /** @@ -495605,11 +509770,11 @@ export namespace securityinsights { /** * Customs permissions required for the connector */ - customs?: outputs.securityinsights.v20230601preview.PermissionsResponseCustoms[]; + customs?: outputs.securityinsights.v20230701preview.PermissionsResponseCustoms[]; /** * Resource provider permissions required for the connector */ - resourceProvider?: outputs.securityinsights.v20230601preview.PermissionsResponseResourceProvider[]; + resourceProvider?: outputs.securityinsights.v20230701preview.PermissionsResponseResourceProvider[]; } export interface PermissionsResponseCustoms { @@ -495639,7 +509804,7 @@ export namespace securityinsights { /** * Required permissions for the connector */ - requiredPermissions?: outputs.securityinsights.v20230601preview.RequiredPermissionsResponse; + requiredPermissions?: outputs.securityinsights.v20230701preview.RequiredPermissionsResponse; /** * Permission provider scope */ @@ -495661,7 +509826,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value change */ export interface PropertyArrayChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyArrayChangedValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyArrayChangedValuesConditionResponse; /** * * Expected value is 'PropertyArrayChanged'. @@ -495673,7 +509838,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value */ export interface PropertyArrayConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyArrayValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyArrayValuesConditionResponse; /** * * Expected value is 'PropertyArray'. @@ -495685,7 +509850,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value change */ export interface PropertyChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyValuesChangedConditionResponse; + conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyValuesChangedConditionResponse; /** * * Expected value is 'PropertyChanged'. @@ -495697,7 +509862,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value */ export interface PropertyConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230601preview.AutomationRulePropertyValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyValuesConditionResponse; /** * * Expected value is 'Property'. @@ -495745,6 +509910,43 @@ export namespace securityinsights { write?: boolean; } + /** + * Required permissions for the connector resource provider that define in ResourceProviders. + * For more information about the permissions see here. + */ + export interface ResourceProviderRequiredPermissionsResponse { + /** + * Gets or sets a value indicating whether the permission is custom actions (POST). + */ + action?: boolean; + /** + * Gets or sets a value indicating whether the permission is delete action (DELETE). + */ + delete?: boolean; + /** + * Gets or sets a value indicating whether the permission is read action (GET). + */ + read?: boolean; + /** + * Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + */ + write?: boolean; + } + + /** + * The sample queries for the connector. + */ + export interface SampleQueryResponse { + /** + * Gets or sets the sample query description. + */ + description: string; + /** + * Gets or sets the KQL sample query. + */ + query: string; + } + /** * Represents security alert timeline item. */ @@ -495861,7 +510063,7 @@ export namespace securityinsights { /** * Data type for indicators connection. */ - indicators: outputs.securityinsights.v20230601preview.TIDataConnectorDataTypesResponseIndicators; + indicators: outputs.securityinsights.v20230701preview.TIDataConnectorDataTypesResponseIndicators; } /** @@ -495907,7 +510109,7 @@ export namespace securityinsights { /** * Data type for TAXII connector. */ - taxiiClient: outputs.securityinsights.v20230601preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; + taxiiClient: outputs.securityinsights.v20230701preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; } /** @@ -495959,11 +510161,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20230601preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230701preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20230601preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230701preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -496022,7 +510224,7 @@ export namespace securityinsights { } - export namespace v20230701preview { + export namespace v20230801preview { /** * The Activity query definitions */ @@ -496098,7 +510300,7 @@ export namespace securityinsights { /** * List of additional dynamic properties to override */ - alertDynamicProperties?: outputs.securityinsights.v20230701preview.AlertPropertyMappingResponse[]; + alertDynamicProperties?: outputs.securityinsights.v20230801preview.AlertPropertyMappingResponse[]; /** * the column name to take the alert severity from */ @@ -496130,7 +510332,7 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: outputs.securityinsights.v20230701preview.DataConnectorDataTypeCommonResponse; + alerts: outputs.securityinsights.v20230801preview.DataConnectorDataTypeCommonResponse; } /** @@ -496202,7 +510404,7 @@ export namespace securityinsights { * Describes an automation rule action to add a task to an incident */ export interface AutomationRuleAddIncidentTaskActionResponse { - actionConfiguration?: outputs.securityinsights.v20230701preview.AddIncidentTaskActionPropertiesResponse; + actionConfiguration?: outputs.securityinsights.v20230801preview.AddIncidentTaskActionPropertiesResponse; /** * The type of the automation rule action. * Expected value is 'AddIncidentTask'. @@ -496212,7 +510414,7 @@ export namespace securityinsights { } export interface AutomationRuleBooleanConditionResponse { - innerConditions?: (outputs.securityinsights.v20230701preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyConditionPropertiesResponse)[]; + innerConditions?: (outputs.securityinsights.v20230801preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyConditionPropertiesResponse)[]; operator?: string; } @@ -496220,7 +510422,7 @@ export namespace securityinsights { * Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesActionResponse { - actionConfiguration?: outputs.securityinsights.v20230701preview.IncidentPropertiesActionResponse; + actionConfiguration?: outputs.securityinsights.v20230801preview.IncidentPropertiesActionResponse; /** * The type of the automation rule action. * Expected value is 'ModifyProperties'. @@ -496237,7 +510439,7 @@ export namespace securityinsights { export interface AutomationRulePropertyArrayValuesConditionResponse { arrayConditionType?: string; arrayType?: string; - itemConditions?: (outputs.securityinsights.v20230701preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyConditionPropertiesResponse)[]; + itemConditions?: (outputs.securityinsights.v20230801preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyConditionPropertiesResponse)[]; } export interface AutomationRulePropertyValuesChangedConditionResponse { @@ -496260,7 +510462,7 @@ export namespace securityinsights { * Describes an automation rule action to run a playbook */ export interface AutomationRuleRunPlaybookActionResponse { - actionConfiguration?: outputs.securityinsights.v20230701preview.PlaybookActionPropertiesResponse; + actionConfiguration?: outputs.securityinsights.v20230801preview.PlaybookActionPropertiesResponse; /** * The type of the automation rule action. * Expected value is 'RunPlaybook'. @@ -496276,7 +510478,7 @@ export namespace securityinsights { /** * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - conditions?: (outputs.securityinsights.v20230701preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230701preview.PropertyConditionPropertiesResponse)[]; + conditions?: (outputs.securityinsights.v20230801preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyConditionPropertiesResponse)[]; /** * Determines when the automation rule should automatically expire and be disabled. */ @@ -496310,7 +510512,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230701preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230801preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; } /** @@ -496330,7 +510532,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230701preview.AwsS3DataConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230801preview.AwsS3DataConnectorDataTypesResponseLogs; } /** @@ -496354,7 +510556,7 @@ export namespace securityinsights { /** * Array of fields mapping for that entity type */ - fieldMappings?: outputs.securityinsights.v20230701preview.EntityFieldMappingResponse[]; + fieldMappings?: outputs.securityinsights.v20230801preview.EntityFieldMappingResponse[]; } /** @@ -496368,7 +510570,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20230701preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230801preview.UserInfoResponse; /** * The bookmark display name. */ @@ -496404,7 +510606,7 @@ export namespace securityinsights { * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ export interface BooleanConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRuleBooleanConditionResponse; + conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRuleBooleanConditionResponse; /** * * Expected value is 'Boolean'. @@ -496499,7 +510701,7 @@ export namespace securityinsights { /** * Describe the authentication type of the poller */ - auth: outputs.securityinsights.v20230701preview.CodelessConnectorPollingAuthPropertiesResponse; + auth: outputs.securityinsights.v20230801preview.CodelessConnectorPollingAuthPropertiesResponse; /** * The poller active status */ @@ -496507,15 +510709,15 @@ export namespace securityinsights { /** * Describe the poll request paging config of the poller */ - paging?: outputs.securityinsights.v20230701preview.CodelessConnectorPollingPagingPropertiesResponse; + paging?: outputs.securityinsights.v20230801preview.CodelessConnectorPollingPagingPropertiesResponse; /** * Describe the poll request config parameters of the poller */ - request: outputs.securityinsights.v20230701preview.CodelessConnectorPollingRequestPropertiesResponse; + request: outputs.securityinsights.v20230801preview.CodelessConnectorPollingRequestPropertiesResponse; /** * Describe the response config parameters of the poller */ - response?: outputs.securityinsights.v20230701preview.CodelessConnectorPollingResponsePropertiesResponse; + response?: outputs.securityinsights.v20230801preview.CodelessConnectorPollingResponsePropertiesResponse; } /** @@ -496643,11 +510845,11 @@ export namespace securityinsights { /** * Connector Availability Status */ - availability: outputs.securityinsights.v20230701preview.AvailabilityResponse; + availability: outputs.securityinsights.v20230801preview.AvailabilityResponse; /** * Define the way the connector check connectivity */ - connectivityCriteria: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; + connectivityCriteria: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; /** * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ @@ -496655,7 +510857,7 @@ export namespace securityinsights { /** * Data types to check for last data received */ - dataTypes: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; + dataTypes: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; /** * Connector description */ @@ -496663,7 +510865,7 @@ export namespace securityinsights { /** * The graph query to show the current data status */ - graphQueries: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; + graphQueries: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; /** * Name of the table the connector will insert the data to */ @@ -496671,11 +510873,11 @@ export namespace securityinsights { /** * Instruction steps to enable the connector */ - instructionSteps: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; + instructionSteps: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; /** * Permissions required for the connector */ - permissions: outputs.securityinsights.v20230701preview.PermissionsResponse; + permissions: outputs.securityinsights.v20230801preview.PermissionsResponse; /** * Connector publisher name */ @@ -496683,7 +510885,7 @@ export namespace securityinsights { /** * The sample queries for the connector */ - sampleQueries: outputs.securityinsights.v20230701preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; + sampleQueries: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; /** * Connector blade title */ @@ -496735,7 +510937,7 @@ export namespace securityinsights { /** * Instruction step details */ - instructions?: outputs.securityinsights.v20230701preview.InstructionStepsResponseInstructions[]; + instructions?: outputs.securityinsights.v20230801preview.InstructionStepsResponseInstructions[]; /** * Instruction step title */ @@ -496804,7 +511006,7 @@ export namespace securityinsights { /** * Gets or sets the customs permissions required for the user to create connections. */ - customs?: outputs.securityinsights.v20230701preview.CustomPermissionDetailsResponse[]; + customs?: outputs.securityinsights.v20230801preview.CustomPermissionDetailsResponse[]; /** * Gets or sets the required licenses for the user to create connections. */ @@ -496812,7 +511014,7 @@ export namespace securityinsights { /** * Gets or sets the resource provider permissions required for the user to create connections. */ - resourceProvider?: outputs.securityinsights.v20230701preview.ConnectorDefinitionsResourceProviderResponse[]; + resourceProvider?: outputs.securityinsights.v20230801preview.ConnectorDefinitionsResourceProviderResponse[]; /** * Gets or sets the required tenant permissions for the connector. */ @@ -496840,7 +511042,7 @@ export namespace securityinsights { * Required permissions for the connector resource provider that define in ResourceProviders. * For more information about the permissions see here. */ - requiredPermissions: outputs.securityinsights.v20230701preview.ResourceProviderRequiredPermissionsResponse; + requiredPermissions: outputs.securityinsights.v20230801preview.ResourceProviderRequiredPermissionsResponse; /** * The scope on which the user should have permissions, in order to be able to create connections. */ @@ -496882,15 +511084,15 @@ export namespace securityinsights { /** * The exposure status of the connector to the customers. */ - availability?: outputs.securityinsights.v20230701preview.ConnectorDefinitionsAvailabilityResponse; + availability?: outputs.securityinsights.v20230801preview.ConnectorDefinitionsAvailabilityResponse; /** * Gets or sets the way the connector checks whether the connector is connected. */ - connectivityCriteria: outputs.securityinsights.v20230701preview.ConnectivityCriterionResponse[]; + connectivityCriteria: outputs.securityinsights.v20230801preview.ConnectivityCriterionResponse[]; /** * Gets or sets the data types to check for last data received. */ - dataTypes: outputs.securityinsights.v20230701preview.ConnectorDataTypeResponse[]; + dataTypes: outputs.securityinsights.v20230801preview.ConnectorDataTypeResponse[]; /** * Gets or sets the connector description in markdown format. */ @@ -496898,7 +511100,7 @@ export namespace securityinsights { /** * Gets or sets the graph queries to show the current data volume over time. */ - graphQueries: outputs.securityinsights.v20230701preview.GraphQueryResponse[]; + graphQueries: outputs.securityinsights.v20230801preview.GraphQueryResponse[]; /** * Gets or sets the name of the table the connector will insert the data to. * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder @@ -496912,7 +511114,7 @@ export namespace securityinsights { /** * Gets or sets the instruction steps to enable the connector. */ - instructionSteps: outputs.securityinsights.v20230701preview.InstructionStepResponse[]; + instructionSteps: outputs.securityinsights.v20230801preview.InstructionStepResponse[]; /** * Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. */ @@ -496925,7 +511127,7 @@ export namespace securityinsights { /** * The required Permissions for the connector. */ - permissions: outputs.securityinsights.v20230701preview.ConnectorDefinitionsPermissionsResponse; + permissions: outputs.securityinsights.v20230801preview.ConnectorDefinitionsPermissionsResponse; /** * Gets or sets the connector publisher name. */ @@ -496933,7 +511135,7 @@ export namespace securityinsights { /** * Gets or sets the sample queries for the connector. */ - sampleQueries: outputs.securityinsights.v20230701preview.SampleQueryResponse[]; + sampleQueries: outputs.securityinsights.v20230801preview.SampleQueryResponse[]; /** * Gets or sets the connector blade title. */ @@ -496975,7 +511177,7 @@ export namespace securityinsights { /** * Common Data Service data type connection. */ - dynamics365CdsActivities: outputs.securityinsights.v20230701preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; + dynamics365CdsActivities: outputs.securityinsights.v20230801preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; } /** @@ -497009,7 +511211,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20230701preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20230801preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -497017,11 +511219,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20230701preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20230801preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20230701preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20230801preview.InsightsTableResultResponse; } /** @@ -497049,7 +511251,7 @@ export namespace securityinsights { /** * array of field mappings for the given entity mapping */ - fieldMappings?: outputs.securityinsights.v20230701preview.FieldMappingResponse[]; + fieldMappings?: outputs.securityinsights.v20230801preview.FieldMappingResponse[]; } /** @@ -497131,7 +511333,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: outputs.securityinsights.v20230701preview.FusionSourceSubTypeSettingResponse[]; + sourceSubTypes?: outputs.securityinsights.v20230801preview.FusionSourceSubTypeSettingResponse[]; } /** @@ -497145,7 +511347,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: outputs.securityinsights.v20230701preview.FusionSubTypeSeverityFilterResponse; + severityFilters: outputs.securityinsights.v20230801preview.FusionSubTypeSeverityFilterResponse; /** * The display name of source subtype under a source signal consumed in Fusion detection. */ @@ -497163,7 +511365,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: outputs.securityinsights.v20230701preview.FusionSubTypeSeverityFiltersItemResponse[]; + filters?: outputs.securityinsights.v20230801preview.FusionSubTypeSeverityFiltersItemResponse[]; /** * Determines whether this source subtype supports severity configuration or not. */ @@ -497241,7 +511443,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20230701preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20230801preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -497372,7 +511574,7 @@ export namespace securityinsights { /** * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - groupingConfiguration?: outputs.securityinsights.v20230701preview.GroupingConfigurationResponse; + groupingConfiguration?: outputs.securityinsights.v20230801preview.GroupingConfigurationResponse; } /** @@ -497453,11 +511655,11 @@ export namespace securityinsights { /** * List of labels to add to the incident. */ - labels?: outputs.securityinsights.v20230701preview.IncidentLabelResponse[]; + labels?: outputs.securityinsights.v20230801preview.IncidentLabelResponse[]; /** * Information on the user an incident is assigned to */ - owner?: outputs.securityinsights.v20230701preview.IncidentOwnerInfoResponse; + owner?: outputs.securityinsights.v20230801preview.IncidentOwnerInfoResponse; /** * The severity of the incident */ @@ -497475,7 +511677,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20230701preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20230801preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -497519,11 +511721,11 @@ export namespace securityinsights { * Gets or sets the inner instruction steps details. * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. */ - innerSteps?: outputs.securityinsights.v20230701preview.InstructionStepResponse[]; + innerSteps?: outputs.securityinsights.v20230801preview.InstructionStepResponse[]; /** * Gets or sets the instruction step details. */ - instructions?: outputs.securityinsights.v20230701preview.InstructionStepDetailsResponse[]; + instructions?: outputs.securityinsights.v20230801preview.InstructionStepDetailsResponse[]; /** * Gets or sets the instruction step title. */ @@ -497548,11 +511750,11 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: outputs.securityinsights.v20230701preview.DataConnectorDataTypeCommonResponse; + alerts: outputs.securityinsights.v20230801preview.DataConnectorDataTypeCommonResponse; /** * Discovery log data type connection. */ - discoveryLogs?: outputs.securityinsights.v20230701preview.DataConnectorDataTypeCommonResponse; + discoveryLogs?: outputs.securityinsights.v20230801preview.DataConnectorDataTypeCommonResponse; } /** @@ -497562,7 +511764,7 @@ export namespace securityinsights { /** * Data type for Microsoft Threat Intelligence Platforms data connector. */ - microsoftEmergingThreatFeed: outputs.securityinsights.v20230701preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; + microsoftEmergingThreatFeed: outputs.securityinsights.v20230801preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; } /** @@ -497586,11 +511788,11 @@ export namespace securityinsights { /** * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - alerts?: outputs.securityinsights.v20230701preview.MTPDataConnectorDataTypesResponseAlerts; + alerts?: outputs.securityinsights.v20230801preview.MTPDataConnectorDataTypesResponseAlerts; /** * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - incidents: outputs.securityinsights.v20230701preview.MTPDataConnectorDataTypesResponseIncidents; + incidents: outputs.securityinsights.v20230801preview.MTPDataConnectorDataTypesResponseIncidents; } /** @@ -497656,7 +511858,7 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: outputs.securityinsights.v20230701preview.MetadataDependenciesResponse[]; + criteria?: outputs.securityinsights.v20230801preview.MetadataDependenciesResponse[]; /** * Type of the content item we depend on */ @@ -497722,7 +511924,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230701preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230801preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; } /** @@ -497752,7 +511954,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230701preview.Office365ProjectConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230801preview.Office365ProjectConnectorDataTypesResponseLogs; } /** @@ -497772,15 +511974,15 @@ export namespace securityinsights { /** * Exchange data type connection. */ - exchange: outputs.securityinsights.v20230701preview.OfficeDataConnectorDataTypesResponseExchange; + exchange: outputs.securityinsights.v20230801preview.OfficeDataConnectorDataTypesResponseExchange; /** * SharePoint data type connection. */ - sharePoint: outputs.securityinsights.v20230701preview.OfficeDataConnectorDataTypesResponseSharePoint; + sharePoint: outputs.securityinsights.v20230801preview.OfficeDataConnectorDataTypesResponseSharePoint; /** * Teams data type connection. */ - teams: outputs.securityinsights.v20230701preview.OfficeDataConnectorDataTypesResponseTeams; + teams: outputs.securityinsights.v20230801preview.OfficeDataConnectorDataTypesResponseTeams; } /** @@ -497820,7 +512022,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230701preview.OfficePowerBIConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230801preview.OfficePowerBIConnectorDataTypesResponseLogs; } /** @@ -497840,11 +512042,11 @@ export namespace securityinsights { /** * Customs permissions required for the connector */ - customs?: outputs.securityinsights.v20230701preview.PermissionsResponseCustoms[]; + customs?: outputs.securityinsights.v20230801preview.PermissionsResponseCustoms[]; /** * Resource provider permissions required for the connector */ - resourceProvider?: outputs.securityinsights.v20230701preview.PermissionsResponseResourceProvider[]; + resourceProvider?: outputs.securityinsights.v20230801preview.PermissionsResponseResourceProvider[]; } export interface PermissionsResponseCustoms { @@ -497874,7 +512076,7 @@ export namespace securityinsights { /** * Required permissions for the connector */ - requiredPermissions?: outputs.securityinsights.v20230701preview.RequiredPermissionsResponse; + requiredPermissions?: outputs.securityinsights.v20230801preview.RequiredPermissionsResponse; /** * Permission provider scope */ @@ -497896,7 +512098,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value change */ export interface PropertyArrayChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyArrayChangedValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyArrayChangedValuesConditionResponse; /** * * Expected value is 'PropertyArrayChanged'. @@ -497908,7 +512110,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value */ export interface PropertyArrayConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyArrayValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyArrayValuesConditionResponse; /** * * Expected value is 'PropertyArray'. @@ -497920,7 +512122,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value change */ export interface PropertyChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyValuesChangedConditionResponse; + conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyValuesChangedConditionResponse; /** * * Expected value is 'PropertyChanged'. @@ -497932,7 +512134,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value */ export interface PropertyConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230701preview.AutomationRulePropertyValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyValuesConditionResponse; /** * * Expected value is 'Property'. @@ -498133,7 +512335,7 @@ export namespace securityinsights { /** * Data type for indicators connection. */ - indicators: outputs.securityinsights.v20230701preview.TIDataConnectorDataTypesResponseIndicators; + indicators: outputs.securityinsights.v20230801preview.TIDataConnectorDataTypesResponseIndicators; } /** @@ -498179,7 +512381,7 @@ export namespace securityinsights { /** * Data type for TAXII connector. */ - taxiiClient: outputs.securityinsights.v20230701preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; + taxiiClient: outputs.securityinsights.v20230801preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; } /** @@ -498231,11 +512433,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20230701preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230801preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20230701preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230801preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -498294,7 +512496,7 @@ export namespace securityinsights { } - export namespace v20230801preview { + export namespace v20230901preview { /** * The Activity query definitions */ @@ -498370,7 +512572,7 @@ export namespace securityinsights { /** * List of additional dynamic properties to override */ - alertDynamicProperties?: outputs.securityinsights.v20230801preview.AlertPropertyMappingResponse[]; + alertDynamicProperties?: outputs.securityinsights.v20230901preview.AlertPropertyMappingResponse[]; /** * the column name to take the alert severity from */ @@ -498402,7 +512604,7 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: outputs.securityinsights.v20230801preview.DataConnectorDataTypeCommonResponse; + alerts: outputs.securityinsights.v20230901preview.DataConnectorDataTypeCommonResponse; } /** @@ -498474,7 +512676,7 @@ export namespace securityinsights { * Describes an automation rule action to add a task to an incident */ export interface AutomationRuleAddIncidentTaskActionResponse { - actionConfiguration?: outputs.securityinsights.v20230801preview.AddIncidentTaskActionPropertiesResponse; + actionConfiguration?: outputs.securityinsights.v20230901preview.AddIncidentTaskActionPropertiesResponse; /** * The type of the automation rule action. * Expected value is 'AddIncidentTask'. @@ -498484,7 +512686,7 @@ export namespace securityinsights { } export interface AutomationRuleBooleanConditionResponse { - innerConditions?: (outputs.securityinsights.v20230801preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyConditionPropertiesResponse)[]; + innerConditions?: (outputs.securityinsights.v20230901preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyConditionPropertiesResponse)[]; operator?: string; } @@ -498492,7 +512694,7 @@ export namespace securityinsights { * Describes an automation rule action to modify an object's properties */ export interface AutomationRuleModifyPropertiesActionResponse { - actionConfiguration?: outputs.securityinsights.v20230801preview.IncidentPropertiesActionResponse; + actionConfiguration?: outputs.securityinsights.v20230901preview.IncidentPropertiesActionResponse; /** * The type of the automation rule action. * Expected value is 'ModifyProperties'. @@ -498509,7 +512711,7 @@ export namespace securityinsights { export interface AutomationRulePropertyArrayValuesConditionResponse { arrayConditionType?: string; arrayType?: string; - itemConditions?: (outputs.securityinsights.v20230801preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyConditionPropertiesResponse)[]; + itemConditions?: (outputs.securityinsights.v20230901preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyConditionPropertiesResponse)[]; } export interface AutomationRulePropertyValuesChangedConditionResponse { @@ -498532,7 +512734,7 @@ export namespace securityinsights { * Describes an automation rule action to run a playbook */ export interface AutomationRuleRunPlaybookActionResponse { - actionConfiguration?: outputs.securityinsights.v20230801preview.PlaybookActionPropertiesResponse; + actionConfiguration?: outputs.securityinsights.v20230901preview.PlaybookActionPropertiesResponse; /** * The type of the automation rule action. * Expected value is 'RunPlaybook'. @@ -498548,7 +512750,7 @@ export namespace securityinsights { /** * The conditions to evaluate to determine if the automation rule should be triggered on a given object. */ - conditions?: (outputs.securityinsights.v20230801preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230801preview.PropertyConditionPropertiesResponse)[]; + conditions?: (outputs.securityinsights.v20230901preview.BooleanConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyArrayChangedConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyArrayConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyChangedConditionPropertiesResponse | outputs.securityinsights.v20230901preview.PropertyConditionPropertiesResponse)[]; /** * Determines when the automation rule should automatically expire and be disabled. */ @@ -498582,7 +512784,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230801preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230901preview.AwsCloudTrailDataConnectorDataTypesResponseLogs; } /** @@ -498602,7 +512804,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230801preview.AwsS3DataConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230901preview.AwsS3DataConnectorDataTypesResponseLogs; } /** @@ -498626,7 +512828,7 @@ export namespace securityinsights { /** * Array of fields mapping for that entity type */ - fieldMappings?: outputs.securityinsights.v20230801preview.EntityFieldMappingResponse[]; + fieldMappings?: outputs.securityinsights.v20230901preview.EntityFieldMappingResponse[]; } /** @@ -498640,7 +512842,7 @@ export namespace securityinsights { /** * Describes a user that created the bookmark */ - createdBy?: outputs.securityinsights.v20230801preview.UserInfoResponse; + createdBy?: outputs.securityinsights.v20230901preview.UserInfoResponse; /** * The bookmark display name. */ @@ -498676,7 +512878,7 @@ export namespace securityinsights { * Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions */ export interface BooleanConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRuleBooleanConditionResponse; + conditionProperties?: outputs.securityinsights.v20230901preview.AutomationRuleBooleanConditionResponse; /** * * Expected value is 'Boolean'. @@ -498771,7 +512973,7 @@ export namespace securityinsights { /** * Describe the authentication type of the poller */ - auth: outputs.securityinsights.v20230801preview.CodelessConnectorPollingAuthPropertiesResponse; + auth: outputs.securityinsights.v20230901preview.CodelessConnectorPollingAuthPropertiesResponse; /** * The poller active status */ @@ -498779,15 +512981,15 @@ export namespace securityinsights { /** * Describe the poll request paging config of the poller */ - paging?: outputs.securityinsights.v20230801preview.CodelessConnectorPollingPagingPropertiesResponse; + paging?: outputs.securityinsights.v20230901preview.CodelessConnectorPollingPagingPropertiesResponse; /** * Describe the poll request config parameters of the poller */ - request: outputs.securityinsights.v20230801preview.CodelessConnectorPollingRequestPropertiesResponse; + request: outputs.securityinsights.v20230901preview.CodelessConnectorPollingRequestPropertiesResponse; /** * Describe the response config parameters of the poller */ - response?: outputs.securityinsights.v20230801preview.CodelessConnectorPollingResponsePropertiesResponse; + response?: outputs.securityinsights.v20230901preview.CodelessConnectorPollingResponsePropertiesResponse; } /** @@ -498915,11 +513117,11 @@ export namespace securityinsights { /** * Connector Availability Status */ - availability: outputs.securityinsights.v20230801preview.AvailabilityResponse; + availability: outputs.securityinsights.v20230901preview.AvailabilityResponse; /** * Define the way the connector check connectivity */ - connectivityCriteria: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; + connectivityCriteria: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria[]; /** * An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery */ @@ -498927,7 +513129,7 @@ export namespace securityinsights { /** * Data types to check for last data received */ - dataTypes: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; + dataTypes: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponseDataTypes[]; /** * Connector description */ @@ -498935,7 +513137,7 @@ export namespace securityinsights { /** * The graph query to show the current data status */ - graphQueries: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; + graphQueries: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponseGraphQueries[]; /** * Name of the table the connector will insert the data to */ @@ -498943,11 +513145,11 @@ export namespace securityinsights { /** * Instruction steps to enable the connector */ - instructionSteps: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; + instructionSteps: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponseInstructionSteps[]; /** * Permissions required for the connector */ - permissions: outputs.securityinsights.v20230801preview.PermissionsResponse; + permissions: outputs.securityinsights.v20230901preview.PermissionsResponse; /** * Connector publisher name */ @@ -498955,7 +513157,7 @@ export namespace securityinsights { /** * The sample queries for the connector */ - sampleQueries: outputs.securityinsights.v20230801preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; + sampleQueries: outputs.securityinsights.v20230901preview.CodelessUiConnectorConfigPropertiesResponseSampleQueries[]; /** * Connector blade title */ @@ -499007,7 +513209,7 @@ export namespace securityinsights { /** * Instruction step details */ - instructions?: outputs.securityinsights.v20230801preview.InstructionStepsResponseInstructions[]; + instructions?: outputs.securityinsights.v20230901preview.InstructionStepsResponseInstructions[]; /** * Instruction step title */ @@ -499076,7 +513278,7 @@ export namespace securityinsights { /** * Gets or sets the customs permissions required for the user to create connections. */ - customs?: outputs.securityinsights.v20230801preview.CustomPermissionDetailsResponse[]; + customs?: outputs.securityinsights.v20230901preview.CustomPermissionDetailsResponse[]; /** * Gets or sets the required licenses for the user to create connections. */ @@ -499084,7 +513286,7 @@ export namespace securityinsights { /** * Gets or sets the resource provider permissions required for the user to create connections. */ - resourceProvider?: outputs.securityinsights.v20230801preview.ConnectorDefinitionsResourceProviderResponse[]; + resourceProvider?: outputs.securityinsights.v20230901preview.ConnectorDefinitionsResourceProviderResponse[]; /** * Gets or sets the required tenant permissions for the connector. */ @@ -499112,7 +513314,7 @@ export namespace securityinsights { * Required permissions for the connector resource provider that define in ResourceProviders. * For more information about the permissions see here. */ - requiredPermissions: outputs.securityinsights.v20230801preview.ResourceProviderRequiredPermissionsResponse; + requiredPermissions: outputs.securityinsights.v20230901preview.ResourceProviderRequiredPermissionsResponse; /** * The scope on which the user should have permissions, in order to be able to create connections. */ @@ -499154,15 +513356,15 @@ export namespace securityinsights { /** * The exposure status of the connector to the customers. */ - availability?: outputs.securityinsights.v20230801preview.ConnectorDefinitionsAvailabilityResponse; + availability?: outputs.securityinsights.v20230901preview.ConnectorDefinitionsAvailabilityResponse; /** * Gets or sets the way the connector checks whether the connector is connected. */ - connectivityCriteria: outputs.securityinsights.v20230801preview.ConnectivityCriterionResponse[]; + connectivityCriteria: outputs.securityinsights.v20230901preview.ConnectivityCriterionResponse[]; /** * Gets or sets the data types to check for last data received. */ - dataTypes: outputs.securityinsights.v20230801preview.ConnectorDataTypeResponse[]; + dataTypes: outputs.securityinsights.v20230901preview.ConnectorDataTypeResponse[]; /** * Gets or sets the connector description in markdown format. */ @@ -499170,7 +513372,7 @@ export namespace securityinsights { /** * Gets or sets the graph queries to show the current data volume over time. */ - graphQueries: outputs.securityinsights.v20230801preview.GraphQueryResponse[]; + graphQueries: outputs.securityinsights.v20230901preview.GraphQueryResponse[]; /** * Gets or sets the name of the table the connector will insert the data to. * This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder @@ -499184,7 +513386,7 @@ export namespace securityinsights { /** * Gets or sets the instruction steps to enable the connector. */ - instructionSteps: outputs.securityinsights.v20230801preview.InstructionStepResponse[]; + instructionSteps: outputs.securityinsights.v20230901preview.InstructionStepResponse[]; /** * Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. */ @@ -499197,7 +513399,7 @@ export namespace securityinsights { /** * The required Permissions for the connector. */ - permissions: outputs.securityinsights.v20230801preview.ConnectorDefinitionsPermissionsResponse; + permissions: outputs.securityinsights.v20230901preview.ConnectorDefinitionsPermissionsResponse; /** * Gets or sets the connector publisher name. */ @@ -499205,7 +513407,7 @@ export namespace securityinsights { /** * Gets or sets the sample queries for the connector. */ - sampleQueries: outputs.securityinsights.v20230801preview.SampleQueryResponse[]; + sampleQueries: outputs.securityinsights.v20230901preview.SampleQueryResponse[]; /** * Gets or sets the connector blade title. */ @@ -499247,7 +513449,7 @@ export namespace securityinsights { /** * Common Data Service data type connection. */ - dynamics365CdsActivities: outputs.securityinsights.v20230801preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; + dynamics365CdsActivities: outputs.securityinsights.v20230901preview.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities; } /** @@ -499281,7 +513483,7 @@ export namespace securityinsights { /** * Query results for table insights query. */ - chartQueryResults?: outputs.securityinsights.v20230801preview.InsightsTableResultResponse[]; + chartQueryResults?: outputs.securityinsights.v20230901preview.InsightsTableResultResponse[]; /** * The query id of the insight */ @@ -499289,11 +513491,11 @@ export namespace securityinsights { /** * The Time interval that the query actually executed on. */ - queryTimeInterval?: outputs.securityinsights.v20230801preview.EntityInsightItemResponseQueryTimeInterval; + queryTimeInterval?: outputs.securityinsights.v20230901preview.EntityInsightItemResponseQueryTimeInterval; /** * Query results for table insights query. */ - tableQueryResults?: outputs.securityinsights.v20230801preview.InsightsTableResultResponse; + tableQueryResults?: outputs.securityinsights.v20230901preview.InsightsTableResultResponse; } /** @@ -499321,7 +513523,7 @@ export namespace securityinsights { /** * array of field mappings for the given entity mapping */ - fieldMappings?: outputs.securityinsights.v20230801preview.FieldMappingResponse[]; + fieldMappings?: outputs.securityinsights.v20230901preview.FieldMappingResponse[]; } /** @@ -499403,7 +513605,7 @@ export namespace securityinsights { /** * Configuration for all source subtypes under this source signal consumed in fusion detection. */ - sourceSubTypes?: outputs.securityinsights.v20230801preview.FusionSourceSubTypeSettingResponse[]; + sourceSubTypes?: outputs.securityinsights.v20230901preview.FusionSourceSubTypeSettingResponse[]; } /** @@ -499417,7 +513619,7 @@ export namespace securityinsights { /** * Severity configuration for a source subtype consumed in fusion detection. */ - severityFilters: outputs.securityinsights.v20230801preview.FusionSubTypeSeverityFilterResponse; + severityFilters: outputs.securityinsights.v20230901preview.FusionSubTypeSeverityFilterResponse; /** * The display name of source subtype under a source signal consumed in Fusion detection. */ @@ -499435,7 +513637,7 @@ export namespace securityinsights { /** * Individual Severity configuration settings for a given source subtype consumed in Fusion detection. */ - filters?: outputs.securityinsights.v20230801preview.FusionSubTypeSeverityFiltersItemResponse[]; + filters?: outputs.securityinsights.v20230901preview.FusionSubTypeSeverityFiltersItemResponse[]; /** * Determines whether this source subtype supports severity configuration or not. */ @@ -499513,7 +513715,7 @@ export namespace securityinsights { /** * information about the failed queries */ - errors?: outputs.securityinsights.v20230801preview.GetInsightsErrorKindResponse[]; + errors?: outputs.securityinsights.v20230901preview.GetInsightsErrorKindResponse[]; /** * the total items found for the insights request */ @@ -499644,7 +513846,7 @@ export namespace securityinsights { /** * Set how the alerts that are triggered by this analytics rule, are grouped into incidents */ - groupingConfiguration?: outputs.securityinsights.v20230801preview.GroupingConfigurationResponse; + groupingConfiguration?: outputs.securityinsights.v20230901preview.GroupingConfigurationResponse; } /** @@ -499725,11 +513927,11 @@ export namespace securityinsights { /** * List of labels to add to the incident. */ - labels?: outputs.securityinsights.v20230801preview.IncidentLabelResponse[]; + labels?: outputs.securityinsights.v20230901preview.IncidentLabelResponse[]; /** * Information on the user an incident is assigned to */ - owner?: outputs.securityinsights.v20230801preview.IncidentOwnerInfoResponse; + owner?: outputs.securityinsights.v20230901preview.IncidentOwnerInfoResponse; /** * The severity of the incident */ @@ -499747,7 +513949,7 @@ export namespace securityinsights { /** * Columns Metadata of the table */ - columns?: outputs.securityinsights.v20230801preview.InsightsTableResultResponseColumns[]; + columns?: outputs.securityinsights.v20230901preview.InsightsTableResultResponseColumns[]; /** * Rows data of the table */ @@ -499791,11 +513993,11 @@ export namespace securityinsights { * Gets or sets the inner instruction steps details. * Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. */ - innerSteps?: outputs.securityinsights.v20230801preview.InstructionStepResponse[]; + innerSteps?: outputs.securityinsights.v20230901preview.InstructionStepResponse[]; /** * Gets or sets the instruction step details. */ - instructions?: outputs.securityinsights.v20230801preview.InstructionStepDetailsResponse[]; + instructions?: outputs.securityinsights.v20230901preview.InstructionStepDetailsResponse[]; /** * Gets or sets the instruction step title. */ @@ -499820,11 +514022,11 @@ export namespace securityinsights { /** * Alerts data type connection. */ - alerts: outputs.securityinsights.v20230801preview.DataConnectorDataTypeCommonResponse; + alerts: outputs.securityinsights.v20230901preview.DataConnectorDataTypeCommonResponse; /** * Discovery log data type connection. */ - discoveryLogs?: outputs.securityinsights.v20230801preview.DataConnectorDataTypeCommonResponse; + discoveryLogs?: outputs.securityinsights.v20230901preview.DataConnectorDataTypeCommonResponse; } /** @@ -499834,7 +514036,7 @@ export namespace securityinsights { /** * Data type for Microsoft Threat Intelligence Platforms data connector. */ - microsoftEmergingThreatFeed: outputs.securityinsights.v20230801preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; + microsoftEmergingThreatFeed: outputs.securityinsights.v20230901preview.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed; } /** @@ -499858,11 +514060,11 @@ export namespace securityinsights { /** * Alerts data type for Microsoft Threat Protection Platforms data connector. */ - alerts?: outputs.securityinsights.v20230801preview.MTPDataConnectorDataTypesResponseAlerts; + alerts?: outputs.securityinsights.v20230901preview.MTPDataConnectorDataTypesResponseAlerts; /** * Incidents data type for Microsoft Threat Protection Platforms data connector. */ - incidents: outputs.securityinsights.v20230801preview.MTPDataConnectorDataTypesResponseIncidents; + incidents: outputs.securityinsights.v20230901preview.MTPDataConnectorDataTypesResponseIncidents; } /** @@ -499928,7 +514130,7 @@ export namespace securityinsights { /** * This is the list of dependencies we must fulfill, according to the AND/OR operator */ - criteria?: outputs.securityinsights.v20230801preview.MetadataDependenciesResponse[]; + criteria?: outputs.securityinsights.v20230901preview.MetadataDependenciesResponse[]; /** * Type of the content item we depend on */ @@ -499994,7 +514196,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230801preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230901preview.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs; } /** @@ -500024,7 +514226,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230801preview.Office365ProjectConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230901preview.Office365ProjectConnectorDataTypesResponseLogs; } /** @@ -500044,15 +514246,15 @@ export namespace securityinsights { /** * Exchange data type connection. */ - exchange: outputs.securityinsights.v20230801preview.OfficeDataConnectorDataTypesResponseExchange; + exchange: outputs.securityinsights.v20230901preview.OfficeDataConnectorDataTypesResponseExchange; /** * SharePoint data type connection. */ - sharePoint: outputs.securityinsights.v20230801preview.OfficeDataConnectorDataTypesResponseSharePoint; + sharePoint: outputs.securityinsights.v20230901preview.OfficeDataConnectorDataTypesResponseSharePoint; /** * Teams data type connection. */ - teams: outputs.securityinsights.v20230801preview.OfficeDataConnectorDataTypesResponseTeams; + teams: outputs.securityinsights.v20230901preview.OfficeDataConnectorDataTypesResponseTeams; } /** @@ -500092,7 +514294,7 @@ export namespace securityinsights { /** * Logs data type. */ - logs: outputs.securityinsights.v20230801preview.OfficePowerBIConnectorDataTypesResponseLogs; + logs: outputs.securityinsights.v20230901preview.OfficePowerBIConnectorDataTypesResponseLogs; } /** @@ -500112,11 +514314,11 @@ export namespace securityinsights { /** * Customs permissions required for the connector */ - customs?: outputs.securityinsights.v20230801preview.PermissionsResponseCustoms[]; + customs?: outputs.securityinsights.v20230901preview.PermissionsResponseCustoms[]; /** * Resource provider permissions required for the connector */ - resourceProvider?: outputs.securityinsights.v20230801preview.PermissionsResponseResourceProvider[]; + resourceProvider?: outputs.securityinsights.v20230901preview.PermissionsResponseResourceProvider[]; } export interface PermissionsResponseCustoms { @@ -500146,7 +514348,7 @@ export namespace securityinsights { /** * Required permissions for the connector */ - requiredPermissions?: outputs.securityinsights.v20230801preview.RequiredPermissionsResponse; + requiredPermissions?: outputs.securityinsights.v20230901preview.RequiredPermissionsResponse; /** * Permission provider scope */ @@ -500168,7 +514370,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value change */ export interface PropertyArrayChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyArrayChangedValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230901preview.AutomationRulePropertyArrayChangedValuesConditionResponse; /** * * Expected value is 'PropertyArrayChanged'. @@ -500180,7 +514382,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates an array property's value */ export interface PropertyArrayConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyArrayValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230901preview.AutomationRulePropertyArrayValuesConditionResponse; /** * * Expected value is 'PropertyArray'. @@ -500192,7 +514394,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value change */ export interface PropertyChangedConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyValuesChangedConditionResponse; + conditionProperties?: outputs.securityinsights.v20230901preview.AutomationRulePropertyValuesChangedConditionResponse; /** * * Expected value is 'PropertyChanged'. @@ -500204,7 +514406,7 @@ export namespace securityinsights { * Describes an automation rule condition that evaluates a property's value */ export interface PropertyConditionPropertiesResponse { - conditionProperties?: outputs.securityinsights.v20230801preview.AutomationRulePropertyValuesConditionResponse; + conditionProperties?: outputs.securityinsights.v20230901preview.AutomationRulePropertyValuesConditionResponse; /** * * Expected value is 'Property'. @@ -500405,7 +514607,7 @@ export namespace securityinsights { /** * Data type for indicators connection. */ - indicators: outputs.securityinsights.v20230801preview.TIDataConnectorDataTypesResponseIndicators; + indicators: outputs.securityinsights.v20230901preview.TIDataConnectorDataTypesResponseIndicators; } /** @@ -500451,7 +514653,7 @@ export namespace securityinsights { /** * Data type for TAXII connector. */ - taxiiClient: outputs.securityinsights.v20230801preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; + taxiiClient: outputs.securityinsights.v20230901preview.TiTaxiiDataConnectorDataTypesResponseTaxiiClient; } /** @@ -500503,11 +514705,11 @@ export namespace securityinsights { /** * timeline aggregation per kind */ - aggregations: outputs.securityinsights.v20230801preview.TimelineAggregationResponse[]; + aggregations: outputs.securityinsights.v20230901preview.TimelineAggregationResponse[]; /** * information about the failure queries */ - errors?: outputs.securityinsights.v20230801preview.TimelineErrorResponse[]; + errors?: outputs.securityinsights.v20230901preview.TimelineErrorResponse[]; /** * the total items found for the timeline request */ @@ -524012,160 +538214,417 @@ export namespace storage { } /** - * Table Access Policy Properties Object. - */ - export interface TableAccessPolicyResponse { - /** - * Expiry time of the access policy - */ - expiryTime?: string; - /** - * Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d' - */ - permission: string; - /** - * Start time of the access policy - */ - startTime?: string; - } - - /** - * Object to set Table Access Policy. - */ - export interface TableSignedIdentifierResponse { - /** - * Access policy - */ - accessPolicy?: outputs.storage.v20230101.TableAccessPolicyResponse; - /** - * unique-64-character-value of the stored access policy. - */ - id: string; - } - - /** - * Blob index tag based filtering for blob objects - */ - export interface TagFilterResponse { - /** - * This is the filter tag name, it can have 1 - 128 characters - */ - name: string; - /** - * This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported - */ - op: string; - /** - * This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters - */ - value: string; - } - - /** - * A tag of the LegalHold of a blob container. - */ - export interface TagPropertyResponse { - /** - * Returns the Object ID of the user who added the tag. - */ - objectIdentifier: string; - /** - * The tag value. - */ - tag: string; - /** - * Returns the Tenant ID that issued the token for the user who added the tag. - */ - tenantId: string; - /** - * Returns the date and time the tag was added. - */ - timestamp: string; - /** - * Returns the User Principal Name of the user who added the tag. - */ - upn: string; - } - - /** - * An update history of the ImmutabilityPolicy of a blob container. - */ - export interface UpdateHistoryPropertyResponse { - /** - * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. - */ - allowProtectedAppendWrites?: boolean; - /** - * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. - */ - allowProtectedAppendWritesAll?: boolean; - /** - * The immutability period for the blobs in the container since the policy creation, in days. - */ - immutabilityPeriodSinceCreationInDays: number; - /** - * Returns the Object ID of the user who updated the ImmutabilityPolicy. - */ - objectIdentifier: string; - /** - * Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy. - */ - tenantId: string; - /** - * Returns the date and time the ImmutabilityPolicy was updated. - */ - timestamp: string; - /** - * The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. - */ - update: string; - /** - * Returns the User Principal Name of the user who updated the ImmutabilityPolicy. - */ - upn: string; - } - - /** - * UserAssignedIdentity for the resource. + * Table Access Policy Properties Object. + */ + export interface TableAccessPolicyResponse { + /** + * Expiry time of the access policy + */ + expiryTime?: string; + /** + * Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d' + */ + permission: string; + /** + * Start time of the access policy + */ + startTime?: string; + } + + /** + * Object to set Table Access Policy. + */ + export interface TableSignedIdentifierResponse { + /** + * Access policy + */ + accessPolicy?: outputs.storage.v20230101.TableAccessPolicyResponse; + /** + * unique-64-character-value of the stored access policy. + */ + id: string; + } + + /** + * Blob index tag based filtering for blob objects + */ + export interface TagFilterResponse { + /** + * This is the filter tag name, it can have 1 - 128 characters + */ + name: string; + /** + * This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported + */ + op: string; + /** + * This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters + */ + value: string; + } + + /** + * A tag of the LegalHold of a blob container. + */ + export interface TagPropertyResponse { + /** + * Returns the Object ID of the user who added the tag. + */ + objectIdentifier: string; + /** + * The tag value. + */ + tag: string; + /** + * Returns the Tenant ID that issued the token for the user who added the tag. + */ + tenantId: string; + /** + * Returns the date and time the tag was added. + */ + timestamp: string; + /** + * Returns the User Principal Name of the user who added the tag. + */ + upn: string; + } + + /** + * An update history of the ImmutabilityPolicy of a blob container. + */ + export interface UpdateHistoryPropertyResponse { + /** + * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. + */ + allowProtectedAppendWrites?: boolean; + /** + * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + */ + allowProtectedAppendWritesAll?: boolean; + /** + * The immutability period for the blobs in the container since the policy creation, in days. + */ + immutabilityPeriodSinceCreationInDays: number; + /** + * Returns the Object ID of the user who updated the ImmutabilityPolicy. + */ + objectIdentifier: string; + /** + * Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy. + */ + tenantId: string; + /** + * Returns the date and time the ImmutabilityPolicy was updated. + */ + timestamp: string; + /** + * The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. + */ + update: string; + /** + * Returns the User Principal Name of the user who updated the ImmutabilityPolicy. + */ + upn: string; + } + + /** + * UserAssignedIdentity for the resource. + */ + export interface UserAssignedIdentityResponse { + /** + * The client ID of the identity. + */ + clientId: string; + /** + * The principal ID of the identity. + */ + principalId: string; + } + + /** + * Virtual Network rule. + */ + export interface VirtualNetworkRuleResponse { + /** + * The action of virtual network rule. + */ + action?: string; + /** + * Gets the state of virtual network rule. + */ + state?: string; + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + */ + virtualNetworkResourceId: string; + } + /** + * virtualNetworkRuleResponseProvideDefaults sets the appropriate defaults for VirtualNetworkRuleResponse + */ + export function virtualNetworkRuleResponseProvideDefaults(val: VirtualNetworkRuleResponse): VirtualNetworkRuleResponse { + return { + ...val, + action: (val.action) ?? "Allow", + }; + } + + } +} + +export namespace storageactions { + /** + * The else block of storage task operation + */ + export interface ElseConditionResponse { + /** + * List of operations to execute in the else block + */ + operations: outputs.storageactions.StorageTaskOperationResponse[]; + } + + /** + * The if block of storage task operation + */ + export interface IfConditionResponse { + /** + * The condition predicate which is composed of object properties, eg: blob and container properties. + */ + condition: string; + /** + * List of operations to execute when the condition predicate satisfies. + */ + operations: outputs.storageactions.StorageTaskOperationResponse[]; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.storageactions.UserAssignedIdentityResponse}; + } + + /** + * The storage task action represents conditional statements and operations to be performed on target objects. + */ + export interface StorageTaskActionResponse { + /** + * The else block of storage task operation + */ + else?: outputs.storageactions.ElseConditionResponse; + /** + * The if block of storage task operation + */ + if: outputs.storageactions.IfConditionResponse; + } + + /** + * Represents an operation to be performed on the object + */ + export interface StorageTaskOperationResponse { + /** + * The operation to be performed on the object. + */ + name: string; + /** + * Action to be taken when the operation fails for a object. + */ + onFailure?: string; + /** + * Action to be taken when the operation is successful for a object. + */ + onSuccess?: string; + /** + * Key-value parameters for the operation. + */ + parameters?: {[key: string]: string}; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * User assigned identity properties + */ + export interface UserAssignedIdentityResponse { + /** + * The client ID of the assigned identity. + */ + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + + export namespace v20230101 { + /** + * The else block of storage task operation + */ + export interface ElseConditionResponse { + /** + * List of operations to execute in the else block + */ + operations: outputs.storageactions.v20230101.StorageTaskOperationResponse[]; + } + + /** + * The if block of storage task operation + */ + export interface IfConditionResponse { + /** + * The condition predicate which is composed of object properties, eg: blob and container properties. + */ + condition: string; + /** + * List of operations to execute when the condition predicate satisfies. + */ + operations: outputs.storageactions.v20230101.StorageTaskOperationResponse[]; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.storageactions.v20230101.UserAssignedIdentityResponse}; + } + + /** + * The storage task action represents conditional statements and operations to be performed on target objects. + */ + export interface StorageTaskActionResponse { + /** + * The else block of storage task operation + */ + else?: outputs.storageactions.v20230101.ElseConditionResponse; + /** + * The if block of storage task operation + */ + if: outputs.storageactions.v20230101.IfConditionResponse; + } + + /** + * Represents an operation to be performed on the object + */ + export interface StorageTaskOperationResponse { + /** + * The operation to be performed on the object. + */ + name: string; + /** + * Action to be taken when the operation fails for a object. + */ + onFailure?: string; + /** + * Action to be taken when the operation is successful for a object. + */ + onSuccess?: string; + /** + * Key-value parameters for the operation. + */ + parameters?: {[key: string]: string}; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * User assigned identity properties */ export interface UserAssignedIdentityResponse { /** - * The client ID of the identity. + * The client ID of the assigned identity. */ clientId: string; /** - * The principal ID of the identity. + * The principal ID of the assigned identity. */ principalId: string; } - /** - * Virtual Network rule. - */ - export interface VirtualNetworkRuleResponse { - /** - * The action of virtual network rule. - */ - action?: string; - /** - * Gets the state of virtual network rule. - */ - state?: string; - /** - * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. - */ - virtualNetworkResourceId: string; - } - /** - * virtualNetworkRuleResponseProvideDefaults sets the appropriate defaults for VirtualNetworkRuleResponse - */ - export function virtualNetworkRuleResponseProvideDefaults(val: VirtualNetworkRuleResponse): VirtualNetworkRuleResponse { - return { - ...val, - action: (val.action) ?? "Allow", - }; - } - } } @@ -528697,263 +543156,6 @@ export namespace storagesync { } } -export namespace storagetasks { - /** - * The else block of storage task operation - */ - export interface ElseConditionResponse { - /** - * List of operations to execute in the else block - */ - operations: outputs.storagetasks.StorageTaskOperationResponse[]; - } - - /** - * The if block of storage task operation - */ - export interface IfConditionResponse { - /** - * The condition predicate which is composed of object properties, eg: blob and container properties. - */ - condition: string; - /** - * List of operations to execute when the condition predicate satisfies. - */ - operations: outputs.storagetasks.StorageTaskOperationResponse[]; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityResponse { - /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - principalId: string; - /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - tenantId: string; - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: string; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: {[key: string]: outputs.storagetasks.UserAssignedIdentityResponse}; - } - - /** - * The storage task action represents conditional statements and operations to be performed on target objects. - */ - export interface StorageTaskActionResponse { - /** - * The else block of storage task operation - */ - else?: outputs.storagetasks.ElseConditionResponse; - /** - * The if block of storage task operation - */ - if: outputs.storagetasks.IfConditionResponse; - } - - /** - * Represents an operation to be performed on the object - */ - export interface StorageTaskOperationResponse { - /** - * The operation to be performed on the object. - */ - name: string; - /** - * Action to be taken when the operation fails for a object. - */ - onFailure?: string; - /** - * Action to be taken when the operation is successful for a object. - */ - onSuccess?: string; - /** - * Key-value parameters for the operation. - */ - parameters?: {[key: string]: string}; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - /** - * User assigned identity properties - */ - export interface UserAssignedIdentityResponse { - /** - * The client ID of the assigned identity. - */ - clientId: string; - /** - * The principal ID of the assigned identity. - */ - principalId: string; - } - - export namespace v20230101 { - /** - * The else block of storage task operation - */ - export interface ElseConditionResponse { - /** - * List of operations to execute in the else block - */ - operations: outputs.storagetasks.v20230101.StorageTaskOperationResponse[]; - } - - /** - * The if block of storage task operation - */ - export interface IfConditionResponse { - /** - * The condition predicate which is composed of object properties, eg: blob and container properties. - */ - condition: string; - /** - * List of operations to execute when the condition predicate satisfies. - */ - operations: outputs.storagetasks.v20230101.StorageTaskOperationResponse[]; - } - - /** - * Managed service identity (system assigned and/or user assigned identities) - */ - export interface ManagedServiceIdentityResponse { - /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - principalId: string; - /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - */ - tenantId: string; - /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - */ - type: string; - /** - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. - */ - userAssignedIdentities?: {[key: string]: outputs.storagetasks.v20230101.UserAssignedIdentityResponse}; - } - - /** - * The storage task action represents conditional statements and operations to be performed on target objects. - */ - export interface StorageTaskActionResponse { - /** - * The else block of storage task operation - */ - else?: outputs.storagetasks.v20230101.ElseConditionResponse; - /** - * The if block of storage task operation - */ - if: outputs.storagetasks.v20230101.IfConditionResponse; - } - - /** - * Represents an operation to be performed on the object - */ - export interface StorageTaskOperationResponse { - /** - * The operation to be performed on the object. - */ - name: string; - /** - * Action to be taken when the operation fails for a object. - */ - onFailure?: string; - /** - * Action to be taken when the operation is successful for a object. - */ - onSuccess?: string; - /** - * Key-value parameters for the operation. - */ - parameters?: {[key: string]: string}; - } - - /** - * Metadata pertaining to creation and last modification of the resource. - */ - export interface SystemDataResponse { - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: string; - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. - */ - createdByType?: string; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: string; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. - */ - lastModifiedByType?: string; - } - - /** - * User assigned identity properties - */ - export interface UserAssignedIdentityResponse { - /** - * The client ID of the assigned identity. - */ - clientId: string; - /** - * The principal ID of the assigned identity. - */ - principalId: string; - } - - } -} - export namespace storsimple { /** * Represent the secrets intended for encryption with asymmetric key pair. diff --git a/sdk/python/pulumi_azure_native/__init__.py b/sdk/python/pulumi_azure_native/__init__.py index 70920256559a..a60665886cca 100644 --- a/sdk/python/pulumi_azure_native/__init__.py +++ b/sdk/python/pulumi_azure_native/__init__.py @@ -231,8 +231,6 @@ iotcentral = __iotcentral import pulumi_azure_native.iotfirmwaredefense as __iotfirmwaredefense iotfirmwaredefense = __iotfirmwaredefense - import pulumi_azure_native.iotsecurity as __iotsecurity - iotsecurity = __iotsecurity import pulumi_azure_native.keyvault as __keyvault keyvault = __keyvault import pulumi_azure_native.kubernetes as __kubernetes @@ -389,6 +387,8 @@ sqlvirtualmachine = __sqlvirtualmachine import pulumi_azure_native.storage as __storage storage = __storage + import pulumi_azure_native.storageactions as __storageactions + storageactions = __storageactions import pulumi_azure_native.storagecache as __storagecache storagecache = __storagecache import pulumi_azure_native.storagemover as __storagemover @@ -397,8 +397,6 @@ storagepool = __storagepool import pulumi_azure_native.storagesync as __storagesync storagesync = __storagesync - import pulumi_azure_native.storagetasks as __storagetasks - storagetasks = __storagetasks import pulumi_azure_native.storsimple as __storsimple storsimple = __storsimple import pulumi_azure_native.streamanalytics as __streamanalytics @@ -547,7 +545,6 @@ intune = _utilities.lazy_import('pulumi_azure_native.intune') iotcentral = _utilities.lazy_import('pulumi_azure_native.iotcentral') iotfirmwaredefense = _utilities.lazy_import('pulumi_azure_native.iotfirmwaredefense') - iotsecurity = _utilities.lazy_import('pulumi_azure_native.iotsecurity') keyvault = _utilities.lazy_import('pulumi_azure_native.keyvault') kubernetes = _utilities.lazy_import('pulumi_azure_native.kubernetes') kubernetesconfiguration = _utilities.lazy_import('pulumi_azure_native.kubernetesconfiguration') @@ -626,11 +623,11 @@ sql = _utilities.lazy_import('pulumi_azure_native.sql') sqlvirtualmachine = _utilities.lazy_import('pulumi_azure_native.sqlvirtualmachine') storage = _utilities.lazy_import('pulumi_azure_native.storage') + storageactions = _utilities.lazy_import('pulumi_azure_native.storageactions') storagecache = _utilities.lazy_import('pulumi_azure_native.storagecache') storagemover = _utilities.lazy_import('pulumi_azure_native.storagemover') storagepool = _utilities.lazy_import('pulumi_azure_native.storagepool') storagesync = _utilities.lazy_import('pulumi_azure_native.storagesync') - storagetasks = _utilities.lazy_import('pulumi_azure_native.storagetasks') storsimple = _utilities.lazy_import('pulumi_azure_native.storsimple') streamanalytics = _utilities.lazy_import('pulumi_azure_native.streamanalytics') subscription = _utilities.lazy_import('pulumi_azure_native.subscription') @@ -2610,6 +2607,7 @@ "azure-native:cdn:AFDOriginGroup": "AFDOriginGroup", "azure-native:cdn:CustomDomain": "CustomDomain", "azure-native:cdn:Endpoint": "Endpoint", + "azure-native:cdn:KeyGroup": "KeyGroup", "azure-native:cdn:Origin": "Origin", "azure-native:cdn:OriginGroup": "OriginGroup", "azure-native:cdn:Policy": "Policy", @@ -2654,6 +2652,29 @@ "azure-native:cdn/v20230501:SecurityPolicy": "SecurityPolicy" } }, + { + "pkg": "azure-native", + "mod": "cdn/v20230701preview", + "fqn": "pulumi_azure_native.cdn.v20230701preview", + "classes": { + "azure-native:cdn/v20230701preview:AFDCustomDomain": "AFDCustomDomain", + "azure-native:cdn/v20230701preview:AFDEndpoint": "AFDEndpoint", + "azure-native:cdn/v20230701preview:AFDOrigin": "AFDOrigin", + "azure-native:cdn/v20230701preview:AFDOriginGroup": "AFDOriginGroup", + "azure-native:cdn/v20230701preview:CustomDomain": "CustomDomain", + "azure-native:cdn/v20230701preview:Endpoint": "Endpoint", + "azure-native:cdn/v20230701preview:KeyGroup": "KeyGroup", + "azure-native:cdn/v20230701preview:Origin": "Origin", + "azure-native:cdn/v20230701preview:OriginGroup": "OriginGroup", + "azure-native:cdn/v20230701preview:Policy": "Policy", + "azure-native:cdn/v20230701preview:Profile": "Profile", + "azure-native:cdn/v20230701preview:Route": "Route", + "azure-native:cdn/v20230701preview:Rule": "Rule", + "azure-native:cdn/v20230701preview:RuleSet": "RuleSet", + "azure-native:cdn/v20230701preview:Secret": "Secret", + "azure-native:cdn/v20230701preview:SecurityPolicy": "SecurityPolicy" + } + }, { "pkg": "azure-native", "mod": "certificateregistration", @@ -2979,6 +3000,15 @@ "azure-native:confidentialledger/v20230126preview:ManagedCCF": "ManagedCCF" } }, + { + "pkg": "azure-native", + "mod": "confidentialledger/v20230628preview", + "fqn": "pulumi_azure_native.confidentialledger.v20230628preview", + "classes": { + "azure-native:confidentialledger/v20230628preview:Ledger": "Ledger", + "azure-native:confidentialledger/v20230628preview:ManagedCCF": "ManagedCCF" + } + }, { "pkg": "azure-native", "mod": "confluent", @@ -3072,6 +3102,23 @@ "azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork": "VirtualNetwork" } }, + { + "pkg": "azure-native", + "mod": "connectedvmwarevsphere/v20231001", + "fqn": "pulumi_azure_native.connectedvmwarevsphere.v20231001", + "classes": { + "azure-native:connectedvmwarevsphere/v20231001:Cluster": "Cluster", + "azure-native:connectedvmwarevsphere/v20231001:Datastore": "Datastore", + "azure-native:connectedvmwarevsphere/v20231001:Host": "Host", + "azure-native:connectedvmwarevsphere/v20231001:InventoryItem": "InventoryItem", + "azure-native:connectedvmwarevsphere/v20231001:ResourcePool": "ResourcePool", + "azure-native:connectedvmwarevsphere/v20231001:VCenter": "VCenter", + "azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent": "VMInstanceGuestAgent", + "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance": "VirtualMachineInstance", + "azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate": "VirtualMachineTemplate", + "azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork": "VirtualNetwork" + } + }, { "pkg": "azure-native", "mod": "consumption", @@ -3144,7 +3191,6 @@ "azure-native:containerregistry:AgentPool": "AgentPool", "azure-native:containerregistry:Archife": "Archife", "azure-native:containerregistry:ArchiveVersion": "ArchiveVersion", - "azure-native:containerregistry:BuildStep": "BuildStep", "azure-native:containerregistry:CacheRule": "CacheRule", "azure-native:containerregistry:ConnectedRegistry": "ConnectedRegistry", "azure-native:containerregistry:CredentialSet": "CredentialSet", @@ -3161,14 +3207,6 @@ "azure-native:containerregistry:Webhook": "Webhook" } }, - { - "pkg": "azure-native", - "mod": "containerregistry/v20160627preview", - "fqn": "pulumi_azure_native.containerregistry.v20160627preview", - "classes": { - "azure-native:containerregistry/v20160627preview:Registry": "Registry" - } - }, { "pkg": "azure-native", "mod": "containerregistry/v20170301", @@ -3177,15 +3215,6 @@ "azure-native:containerregistry/v20170301:Registry": "Registry" } }, - { - "pkg": "azure-native", - "mod": "containerregistry/v20180201preview", - "fqn": "pulumi_azure_native.containerregistry.v20180201preview", - "classes": { - "azure-native:containerregistry/v20180201preview:BuildStep": "BuildStep", - "azure-native:containerregistry/v20180201preview:BuildTask": "BuildTask" - } - }, { "pkg": "azure-native", "mod": "containerregistry/v20180901", @@ -3317,6 +3346,7 @@ "azure-native:containerservice:AgentPool": "AgentPool", "azure-native:containerservice:Fleet": "Fleet", "azure-native:containerservice:FleetMember": "FleetMember", + "azure-native:containerservice:FleetUpdateStrategy": "FleetUpdateStrategy", "azure-native:containerservice:MaintenanceConfiguration": "MaintenanceConfiguration", "azure-native:containerservice:ManagedCluster": "ManagedCluster", "azure-native:containerservice:ManagedClusterSnapshot": "ManagedClusterSnapshot", @@ -3490,6 +3520,29 @@ "azure-native:containerservice/v20230702preview:TrustedAccessRoleBinding": "TrustedAccessRoleBinding" } }, + { + "pkg": "azure-native", + "mod": "containerservice/v20230801", + "fqn": "pulumi_azure_native.containerservice.v20230801", + "classes": { + "azure-native:containerservice/v20230801:AgentPool": "AgentPool", + "azure-native:containerservice/v20230801:MaintenanceConfiguration": "MaintenanceConfiguration", + "azure-native:containerservice/v20230801:ManagedCluster": "ManagedCluster", + "azure-native:containerservice/v20230801:PrivateEndpointConnection": "PrivateEndpointConnection", + "azure-native:containerservice/v20230801:Snapshot": "Snapshot" + } + }, + { + "pkg": "azure-native", + "mod": "containerservice/v20230815preview", + "fqn": "pulumi_azure_native.containerservice.v20230815preview", + "classes": { + "azure-native:containerservice/v20230815preview:Fleet": "Fleet", + "azure-native:containerservice/v20230815preview:FleetMember": "FleetMember", + "azure-native:containerservice/v20230815preview:FleetUpdateStrategy": "FleetUpdateStrategy", + "azure-native:containerservice/v20230815preview:UpdateRun": "UpdateRun" + } + }, { "pkg": "azure-native", "mod": "containerstorage", @@ -4127,6 +4180,18 @@ "azure-native:dataprotection/v20230501:ResourceGuard": "ResourceGuard" } }, + { + "pkg": "azure-native", + "mod": "dataprotection/v20230601preview", + "fqn": "pulumi_azure_native.dataprotection.v20230601preview", + "classes": { + "azure-native:dataprotection/v20230601preview:BackupInstance": "BackupInstance", + "azure-native:dataprotection/v20230601preview:BackupPolicy": "BackupPolicy", + "azure-native:dataprotection/v20230601preview:BackupVault": "BackupVault", + "azure-native:dataprotection/v20230601preview:DppResourceGuardProxy": "DppResourceGuardProxy", + "azure-native:dataprotection/v20230601preview:ResourceGuard": "ResourceGuard" + } + }, { "pkg": "azure-native", "mod": "datareplication", @@ -4367,6 +4432,18 @@ "azure-native:dbformysql/v20220930preview:Server": "Server" } }, + { + "pkg": "azure-native", + "mod": "dbformysql/v20230601preview", + "fqn": "pulumi_azure_native.dbformysql.v20230601preview", + "classes": { + "azure-native:dbformysql/v20230601preview:AzureADAdministrator": "AzureADAdministrator", + "azure-native:dbformysql/v20230601preview:Configuration": "Configuration", + "azure-native:dbformysql/v20230601preview:Database": "Database", + "azure-native:dbformysql/v20230601preview:FirewallRule": "FirewallRule", + "azure-native:dbformysql/v20230601preview:Server": "Server" + } + }, { "pkg": "azure-native", "mod": "dbformysql/v20230630", @@ -4667,6 +4744,23 @@ "azure-native:desktopvirtualization/v20230707preview:Workspace": "Workspace" } }, + { + "pkg": "azure-native", + "mod": "desktopvirtualization/v20230905", + "fqn": "pulumi_azure_native.desktopvirtualization.v20230905", + "classes": { + "azure-native:desktopvirtualization/v20230905:Application": "Application", + "azure-native:desktopvirtualization/v20230905:ApplicationGroup": "ApplicationGroup", + "azure-native:desktopvirtualization/v20230905:HostPool": "HostPool", + "azure-native:desktopvirtualization/v20230905:MSIXPackage": "MSIXPackage", + "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool": "PrivateEndpointConnectionByHostPool", + "azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace": "PrivateEndpointConnectionByWorkspace", + "azure-native:desktopvirtualization/v20230905:ScalingPlan": "ScalingPlan", + "azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule": "ScalingPlanPersonalSchedule", + "azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule": "ScalingPlanPooledSchedule", + "azure-native:desktopvirtualization/v20230905:Workspace": "Workspace" + } + }, { "pkg": "azure-native", "mod": "devcenter", @@ -4711,6 +4805,24 @@ "azure-native:devcenter/v20230401:Schedule": "Schedule" } }, + { + "pkg": "azure-native", + "mod": "devcenter/v20230801preview", + "fqn": "pulumi_azure_native.devcenter.v20230801preview", + "classes": { + "azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter": "AttachedNetworkByDevCenter", + "azure-native:devcenter/v20230801preview:Catalog": "Catalog", + "azure-native:devcenter/v20230801preview:DevBoxDefinition": "DevBoxDefinition", + "azure-native:devcenter/v20230801preview:DevCenter": "DevCenter", + "azure-native:devcenter/v20230801preview:EnvironmentType": "EnvironmentType", + "azure-native:devcenter/v20230801preview:Gallery": "Gallery", + "azure-native:devcenter/v20230801preview:NetworkConnection": "NetworkConnection", + "azure-native:devcenter/v20230801preview:Pool": "Pool", + "azure-native:devcenter/v20230801preview:Project": "Project", + "azure-native:devcenter/v20230801preview:ProjectEnvironmentType": "ProjectEnvironmentType", + "azure-native:devcenter/v20230801preview:Schedule": "Schedule" + } + }, { "pkg": "azure-native", "mod": "devhub", @@ -5065,6 +5177,68 @@ "azure-native:documentdb/v20230415:TableResourceTable": "TableResourceTable" } }, + { + "pkg": "azure-native", + "mod": "documentdb/v20230915", + "fqn": "pulumi_azure_native.documentdb.v20230915", + "classes": { + "azure-native:documentdb/v20230915:CassandraCluster": "CassandraCluster", + "azure-native:documentdb/v20230915:CassandraDataCenter": "CassandraDataCenter", + "azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace": "CassandraResourceCassandraKeyspace", + "azure-native:documentdb/v20230915:CassandraResourceCassandraTable": "CassandraResourceCassandraTable", + "azure-native:documentdb/v20230915:DatabaseAccount": "DatabaseAccount", + "azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase": "GremlinResourceGremlinDatabase", + "azure-native:documentdb/v20230915:GremlinResourceGremlinGraph": "GremlinResourceGremlinGraph", + "azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection": "MongoDBResourceMongoDBCollection", + "azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase": "MongoDBResourceMongoDBDatabase", + "azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition": "MongoDBResourceMongoRoleDefinition", + "azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition": "MongoDBResourceMongoUserDefinition", + "azure-native:documentdb/v20230915:NotebookWorkspace": "NotebookWorkspace", + "azure-native:documentdb/v20230915:PrivateEndpointConnection": "PrivateEndpointConnection", + "azure-native:documentdb/v20230915:Service": "Service", + "azure-native:documentdb/v20230915:SqlResourceSqlContainer": "SqlResourceSqlContainer", + "azure-native:documentdb/v20230915:SqlResourceSqlDatabase": "SqlResourceSqlDatabase", + "azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment": "SqlResourceSqlRoleAssignment", + "azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition": "SqlResourceSqlRoleDefinition", + "azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure": "SqlResourceSqlStoredProcedure", + "azure-native:documentdb/v20230915:SqlResourceSqlTrigger": "SqlResourceSqlTrigger", + "azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction": "SqlResourceSqlUserDefinedFunction", + "azure-native:documentdb/v20230915:TableResourceTable": "TableResourceTable" + } + }, + { + "pkg": "azure-native", + "mod": "documentdb/v20230915preview", + "fqn": "pulumi_azure_native.documentdb.v20230915preview", + "classes": { + "azure-native:documentdb/v20230915preview:CassandraCluster": "CassandraCluster", + "azure-native:documentdb/v20230915preview:CassandraDataCenter": "CassandraDataCenter", + "azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace": "CassandraResourceCassandraKeyspace", + "azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable": "CassandraResourceCassandraTable", + "azure-native:documentdb/v20230915preview:CassandraResourceCassandraView": "CassandraResourceCassandraView", + "azure-native:documentdb/v20230915preview:DatabaseAccount": "DatabaseAccount", + "azure-native:documentdb/v20230915preview:GraphResourceGraph": "GraphResourceGraph", + "azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase": "GremlinResourceGremlinDatabase", + "azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph": "GremlinResourceGremlinGraph", + "azure-native:documentdb/v20230915preview:MongoCluster": "MongoCluster", + "azure-native:documentdb/v20230915preview:MongoClusterFirewallRule": "MongoClusterFirewallRule", + "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection": "MongoDBResourceMongoDBCollection", + "azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase": "MongoDBResourceMongoDBDatabase", + "azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition": "MongoDBResourceMongoRoleDefinition", + "azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition": "MongoDBResourceMongoUserDefinition", + "azure-native:documentdb/v20230915preview:NotebookWorkspace": "NotebookWorkspace", + "azure-native:documentdb/v20230915preview:PrivateEndpointConnection": "PrivateEndpointConnection", + "azure-native:documentdb/v20230915preview:Service": "Service", + "azure-native:documentdb/v20230915preview:SqlResourceSqlContainer": "SqlResourceSqlContainer", + "azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase": "SqlResourceSqlDatabase", + "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment": "SqlResourceSqlRoleAssignment", + "azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition": "SqlResourceSqlRoleDefinition", + "azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure": "SqlResourceSqlStoredProcedure", + "azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger": "SqlResourceSqlTrigger", + "azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction": "SqlResourceSqlUserDefinedFunction", + "azure-native:documentdb/v20230915preview:TableResourceTable": "TableResourceTable" + } + }, { "pkg": "azure-native", "mod": "domainregistration", @@ -5217,7 +5391,8 @@ "azure-native:elasticsan:ElasticSan": "ElasticSan", "azure-native:elasticsan:PrivateEndpointConnection": "PrivateEndpointConnection", "azure-native:elasticsan:Volume": "Volume", - "azure-native:elasticsan:VolumeGroup": "VolumeGroup" + "azure-native:elasticsan:VolumeGroup": "VolumeGroup", + "azure-native:elasticsan:VolumeSnapshot": "VolumeSnapshot" } }, { @@ -5241,6 +5416,18 @@ "azure-native:elasticsan/v20221201preview:VolumeGroup": "VolumeGroup" } }, + { + "pkg": "azure-native", + "mod": "elasticsan/v20230101", + "fqn": "pulumi_azure_native.elasticsan.v20230101", + "classes": { + "azure-native:elasticsan/v20230101:ElasticSan": "ElasticSan", + "azure-native:elasticsan/v20230101:PrivateEndpointConnection": "PrivateEndpointConnection", + "azure-native:elasticsan/v20230101:Volume": "Volume", + "azure-native:elasticsan/v20230101:VolumeGroup": "VolumeGroup", + "azure-native:elasticsan/v20230101:VolumeSnapshot": "VolumeSnapshot" + } + }, { "pkg": "azure-native", "mod": "engagementfabric", @@ -6292,30 +6479,6 @@ "azure-native:iotfirmwaredefense/v20230208preview:Workspace": "Workspace" } }, - { - "pkg": "azure-native", - "mod": "iotsecurity", - "fqn": "pulumi_azure_native.iotsecurity", - "classes": { - "azure-native:iotsecurity:DefenderSetting": "DefenderSetting", - "azure-native:iotsecurity:DeviceGroup": "DeviceGroup", - "azure-native:iotsecurity:OnPremiseSensor": "OnPremiseSensor", - "azure-native:iotsecurity:Sensor": "Sensor", - "azure-native:iotsecurity:Site": "Site" - } - }, - { - "pkg": "azure-native", - "mod": "iotsecurity/v20210201preview", - "fqn": "pulumi_azure_native.iotsecurity.v20210201preview", - "classes": { - "azure-native:iotsecurity/v20210201preview:DefenderSetting": "DefenderSetting", - "azure-native:iotsecurity/v20210201preview:DeviceGroup": "DeviceGroup", - "azure-native:iotsecurity/v20210201preview:OnPremiseSensor": "OnPremiseSensor", - "azure-native:iotsecurity/v20210201preview:Sensor": "Sensor", - "azure-native:iotsecurity/v20210201preview:Site": "Site" - } - }, { "pkg": "azure-native", "mod": "keyvault", @@ -6448,6 +6611,7 @@ "azure-native:kusto:PrivateEndpointConnection": "PrivateEndpointConnection", "azure-native:kusto:ReadOnlyFollowingDatabase": "ReadOnlyFollowingDatabase", "azure-native:kusto:ReadWriteDatabase": "ReadWriteDatabase", + "azure-native:kusto:SandboxCustomImage": "SandboxCustomImage", "azure-native:kusto:Script": "Script" } }, @@ -6549,6 +6713,27 @@ "azure-native:kusto/v20230502:Script": "Script" } }, + { + "pkg": "azure-native", + "mod": "kusto/v20230815", + "fqn": "pulumi_azure_native.kusto.v20230815", + "classes": { + "azure-native:kusto/v20230815:AttachedDatabaseConfiguration": "AttachedDatabaseConfiguration", + "azure-native:kusto/v20230815:Cluster": "Cluster", + "azure-native:kusto/v20230815:ClusterPrincipalAssignment": "ClusterPrincipalAssignment", + "azure-native:kusto/v20230815:CosmosDbDataConnection": "CosmosDbDataConnection", + "azure-native:kusto/v20230815:DatabasePrincipalAssignment": "DatabasePrincipalAssignment", + "azure-native:kusto/v20230815:EventGridDataConnection": "EventGridDataConnection", + "azure-native:kusto/v20230815:EventHubDataConnection": "EventHubDataConnection", + "azure-native:kusto/v20230815:IotHubDataConnection": "IotHubDataConnection", + "azure-native:kusto/v20230815:ManagedPrivateEndpoint": "ManagedPrivateEndpoint", + "azure-native:kusto/v20230815:PrivateEndpointConnection": "PrivateEndpointConnection", + "azure-native:kusto/v20230815:ReadOnlyFollowingDatabase": "ReadOnlyFollowingDatabase", + "azure-native:kusto/v20230815:ReadWriteDatabase": "ReadWriteDatabase", + "azure-native:kusto/v20230815:SandboxCustomImage": "SandboxCustomImage", + "azure-native:kusto/v20230815:Script": "Script" + } + }, { "pkg": "azure-native", "mod": "labservices", @@ -9386,7 +9571,8 @@ "azure-native:recoveryservices/v20230601:ReplicationRecoveryPlan": "ReplicationRecoveryPlan", "azure-native:recoveryservices/v20230601:ReplicationRecoveryServicesProvider": "ReplicationRecoveryServicesProvider", "azure-native:recoveryservices/v20230601:ReplicationStorageClassificationMapping": "ReplicationStorageClassificationMapping", - "azure-native:recoveryservices/v20230601:ReplicationvCenter": "ReplicationvCenter" + "azure-native:recoveryservices/v20230601:ReplicationvCenter": "ReplicationvCenter", + "azure-native:recoveryservices/v20230601:Vault": "Vault" } }, { @@ -10406,6 +10592,71 @@ "azure-native:securityinsights/v20230801preview:WorkspaceManagerMember": "WorkspaceManagerMember" } }, + { + "pkg": "azure-native", + "mod": "securityinsights/v20230901preview", + "fqn": "pulumi_azure_native.securityinsights.v20230901preview", + "classes": { + "azure-native:securityinsights/v20230901preview:AADDataConnector": "AADDataConnector", + "azure-native:securityinsights/v20230901preview:AATPDataConnector": "AATPDataConnector", + "azure-native:securityinsights/v20230901preview:ASCDataConnector": "ASCDataConnector", + "azure-native:securityinsights/v20230901preview:Action": "Action", + "azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery": "ActivityCustomEntityQuery", + "azure-native:securityinsights/v20230901preview:Anomalies": "Anomalies", + "azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings": "AnomalySecurityMLAnalyticsSettings", + "azure-native:securityinsights/v20230901preview:AutomationRule": "AutomationRule", + "azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector": "AwsCloudTrailDataConnector", + "azure-native:securityinsights/v20230901preview:AwsS3DataConnector": "AwsS3DataConnector", + "azure-native:securityinsights/v20230901preview:Bookmark": "Bookmark", + "azure-native:securityinsights/v20230901preview:BookmarkRelation": "BookmarkRelation", + "azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector": "CodelessApiPollingDataConnector", + "azure-native:securityinsights/v20230901preview:CodelessUiDataConnector": "CodelessUiDataConnector", + "azure-native:securityinsights/v20230901preview:ContentPackage": "ContentPackage", + "azure-native:securityinsights/v20230901preview:ContentTemplate": "ContentTemplate", + "azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition": "CustomizableConnectorDefinition", + "azure-native:securityinsights/v20230901preview:Dynamics365DataConnector": "Dynamics365DataConnector", + "azure-native:securityinsights/v20230901preview:EntityAnalytics": "EntityAnalytics", + "azure-native:securityinsights/v20230901preview:EyesOn": "EyesOn", + "azure-native:securityinsights/v20230901preview:FileImport": "FileImport", + "azure-native:securityinsights/v20230901preview:FusionAlertRule": "FusionAlertRule", + "azure-native:securityinsights/v20230901preview:GCPDataConnector": "GCPDataConnector", + "azure-native:securityinsights/v20230901preview:Hunt": "Hunt", + "azure-native:securityinsights/v20230901preview:HuntComment": "HuntComment", + "azure-native:securityinsights/v20230901preview:HuntRelation": "HuntRelation", + "azure-native:securityinsights/v20230901preview:Incident": "Incident", + "azure-native:securityinsights/v20230901preview:IncidentComment": "IncidentComment", + "azure-native:securityinsights/v20230901preview:IncidentRelation": "IncidentRelation", + "azure-native:securityinsights/v20230901preview:IncidentTask": "IncidentTask", + "azure-native:securityinsights/v20230901preview:IoTDataConnector": "IoTDataConnector", + "azure-native:securityinsights/v20230901preview:MCASDataConnector": "MCASDataConnector", + "azure-native:securityinsights/v20230901preview:MDATPDataConnector": "MDATPDataConnector", + "azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule": "MLBehaviorAnalyticsAlertRule", + "azure-native:securityinsights/v20230901preview:MSTIDataConnector": "MSTIDataConnector", + "azure-native:securityinsights/v20230901preview:MTPDataConnector": "MTPDataConnector", + "azure-native:securityinsights/v20230901preview:Metadata": "Metadata", + "azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector": "MicrosoftPurviewInformationProtectionDataConnector", + "azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule": "MicrosoftSecurityIncidentCreationAlertRule", + "azure-native:securityinsights/v20230901preview:NrtAlertRule": "NrtAlertRule", + "azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector": "Office365ProjectDataConnector", + "azure-native:securityinsights/v20230901preview:OfficeATPDataConnector": "OfficeATPDataConnector", + "azure-native:securityinsights/v20230901preview:OfficeDataConnector": "OfficeDataConnector", + "azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector": "OfficeIRMDataConnector", + "azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector": "OfficePowerBIDataConnector", + "azure-native:securityinsights/v20230901preview:ScheduledAlertRule": "ScheduledAlertRule", + "azure-native:securityinsights/v20230901preview:SentinelOnboardingState": "SentinelOnboardingState", + "azure-native:securityinsights/v20230901preview:TIDataConnector": "TIDataConnector", + "azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule": "ThreatIntelligenceAlertRule", + "azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator": "ThreatIntelligenceIndicator", + "azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector": "TiTaxiiDataConnector", + "azure-native:securityinsights/v20230901preview:Ueba": "Ueba", + "azure-native:securityinsights/v20230901preview:Watchlist": "Watchlist", + "azure-native:securityinsights/v20230901preview:WatchlistItem": "WatchlistItem", + "azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment": "WorkspaceManagerAssignment", + "azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration": "WorkspaceManagerConfiguration", + "azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup": "WorkspaceManagerGroup", + "azure-native:securityinsights/v20230901preview:WorkspaceManagerMember": "WorkspaceManagerMember" + } + }, { "pkg": "azure-native", "mod": "serialconsole", @@ -11210,6 +11461,22 @@ "azure-native:storage/v20230101:TableServiceProperties": "TableServiceProperties" } }, + { + "pkg": "azure-native", + "mod": "storageactions", + "fqn": "pulumi_azure_native.storageactions", + "classes": { + "azure-native:storageactions:StorageTask": "StorageTask" + } + }, + { + "pkg": "azure-native", + "mod": "storageactions/v20230101", + "fqn": "pulumi_azure_native.storageactions.v20230101", + "classes": { + "azure-native:storageactions/v20230101:StorageTask": "StorageTask" + } + }, { "pkg": "azure-native", "mod": "storagecache", @@ -11337,22 +11604,6 @@ "azure-native:storagesync/v20220601:SyncGroup": "SyncGroup" } }, - { - "pkg": "azure-native", - "mod": "storagetasks", - "fqn": "pulumi_azure_native.storagetasks", - "classes": { - "azure-native:storagetasks:StorageTask": "StorageTask" - } - }, - { - "pkg": "azure-native", - "mod": "storagetasks/v20230101", - "fqn": "pulumi_azure_native.storagetasks.v20230101", - "classes": { - "azure-native:storagetasks/v20230101:StorageTask": "StorageTask" - } - }, { "pkg": "azure-native", "mod": "storsimple", diff --git a/sdk/python/pulumi_azure_native/batch/_inputs.py b/sdk/python/pulumi_azure_native/batch/_inputs.py index 778f2044297e..73c05b25136b 100644 --- a/sdk/python/pulumi_azure_native/batch/_inputs.py +++ b/sdk/python/pulumi_azure_native/batch/_inputs.py @@ -1088,6 +1088,8 @@ def __init__(__self__, *, """ if node_deallocation_option is not None: pulumi.set(__self__, "node_deallocation_option", node_deallocation_option) + if resize_timeout is None: + resize_timeout = 'PT15M' if resize_timeout is not None: pulumi.set(__self__, "resize_timeout", resize_timeout) if target_dedicated_nodes is not None: @@ -1205,6 +1207,8 @@ def __init__(__self__, *, pulumi.set(__self__, "publisher", publisher) if sku is not None: pulumi.set(__self__, "sku", sku) + if version is None: + version = 'latest' if version is not None: pulumi.set(__self__, "version", version) @@ -1653,6 +1657,8 @@ def __init__(__self__, *, :param pulumi.Input['PublicIPAddressConfigurationArgs'] public_ip_address_configuration: This property is only supported on Pools with the virtualMachineConfiguration property. :param pulumi.Input[str] subnet_id: The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration """ + if dynamic_vnet_assignment_scope is None: + dynamic_vnet_assignment_scope = 'none' if dynamic_vnet_assignment_scope is not None: pulumi.set(__self__, "dynamic_vnet_assignment_scope", dynamic_vnet_assignment_scope) if enable_accelerated_networking is not None: @@ -2102,7 +2108,7 @@ def __init__(__self__, *, In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. :param pulumi.Input[str] command_line: The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified. :param pulumi.Input['TaskContainerSettingsArgs'] container_settings: When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container. - :param pulumi.Input[int] max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + :param pulumi.Input[int] max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. :param pulumi.Input['UserIdentityArgs'] user_identity: If omitted, the task runs as a non-administrative user unique to the task. :param pulumi.Input[bool] wait_for_success: If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true. """ @@ -2112,6 +2118,8 @@ def __init__(__self__, *, pulumi.set(__self__, "container_settings", container_settings) if environment_settings is not None: pulumi.set(__self__, "environment_settings", environment_settings) + if max_task_retry_count is None: + max_task_retry_count = 0 if max_task_retry_count is not None: pulumi.set(__self__, "max_task_retry_count", max_task_retry_count) if resource_files is not None: @@ -2158,7 +2166,7 @@ def environment_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu @pulumi.getter(name="maxTaskRetryCount") def max_task_retry_count(self) -> Optional[pulumi.Input[int]]: """ - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. """ return pulumi.get(self, "max_task_retry_count") @@ -2269,7 +2277,9 @@ def working_directory(self, value: Optional[pulumi.Input['ContainerWorkingDirect @pulumi.input_type class TaskSchedulingPolicyArgs: def __init__(__self__, *, - node_fill_type: pulumi.Input['ComputeNodeFillType']): + node_fill_type: Optional[pulumi.Input['ComputeNodeFillType']] = None): + if node_fill_type is None: + node_fill_type = 'Spread' pulumi.set(__self__, "node_fill_type", node_fill_type) @property diff --git a/sdk/python/pulumi_azure_native/batch/outputs.py b/sdk/python/pulumi_azure_native/batch/outputs.py index ae52447f2cfd..2f8a22ca6cb9 100644 --- a/sdk/python/pulumi_azure_native/batch/outputs.py +++ b/sdk/python/pulumi_azure_native/batch/outputs.py @@ -1372,6 +1372,8 @@ def __init__(__self__, *, :param int target_dedicated_nodes: At least one of targetDedicatedNodes, targetLowPriorityNodes must be set. :param int target_low_priority_nodes: At least one of targetDedicatedNodes, targetLowPriorityNodes must be set. """ + if resize_timeout is None: + resize_timeout = 'PT15M' if resize_timeout is not None: pulumi.set(__self__, "resize_timeout", resize_timeout) if target_dedicated_nodes is not None: @@ -1460,6 +1462,8 @@ def __init__(__self__, *, pulumi.set(__self__, "publisher", publisher) if sku is not None: pulumi.set(__self__, "sku", sku) + if version is None: + version = 'latest' if version is not None: pulumi.set(__self__, "version", version) @@ -1940,6 +1944,8 @@ def __init__(__self__, *, :param 'PublicIPAddressConfigurationResponse' public_ip_address_configuration: This property is only supported on Pools with the virtualMachineConfiguration property. :param str subnet_id: The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration """ + if dynamic_vnet_assignment_scope is None: + dynamic_vnet_assignment_scope = 'none' if dynamic_vnet_assignment_scope is not None: pulumi.set(__self__, "dynamic_vnet_assignment_scope", dynamic_vnet_assignment_scope) if enable_accelerated_networking is not None: @@ -2790,7 +2796,7 @@ def __init__(__self__, *, In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. :param str command_line: The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified. :param 'TaskContainerSettingsResponse' container_settings: When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container. - :param int max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + :param int max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. :param 'UserIdentityResponse' user_identity: If omitted, the task runs as a non-administrative user unique to the task. :param bool wait_for_success: If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true. """ @@ -2800,6 +2806,8 @@ def __init__(__self__, *, pulumi.set(__self__, "container_settings", container_settings) if environment_settings is not None: pulumi.set(__self__, "environment_settings", environment_settings) + if max_task_retry_count is None: + max_task_retry_count = 0 if max_task_retry_count is not None: pulumi.set(__self__, "max_task_retry_count", max_task_retry_count) if resource_files is not None: @@ -2834,7 +2842,7 @@ def environment_settings(self) -> Optional[Sequence['outputs.EnvironmentSettingR @pulumi.getter(name="maxTaskRetryCount") def max_task_retry_count(self) -> Optional[int]: """ - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. """ return pulumi.get(self, "max_task_retry_count") @@ -2951,7 +2959,9 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - node_fill_type: str): + node_fill_type: Optional[str] = None): + if node_fill_type is None: + node_fill_type = 'Spread' pulumi.set(__self__, "node_fill_type", node_fill_type) @property diff --git a/sdk/python/pulumi_azure_native/batch/pool.py b/sdk/python/pulumi_azure_native/batch/pool.py index d0c85adce3d4..7a6cce1a8491 100644 --- a/sdk/python/pulumi_azure_native/batch/pool.py +++ b/sdk/python/pulumi_azure_native/batch/pool.py @@ -93,6 +93,8 @@ def __init__(__self__, *, pulumi.set(__self__, "target_node_communication_mode", target_node_communication_mode) if task_scheduling_policy is not None: pulumi.set(__self__, "task_scheduling_policy", task_scheduling_policy) + if task_slots_per_node is None: + task_slots_per_node = 1 if task_slots_per_node is not None: pulumi.set(__self__, "task_slots_per_node", task_slots_per_node) if user_accounts is not None: @@ -469,6 +471,8 @@ def _internal_init(__self__, __props__.__dict__["start_task"] = start_task __props__.__dict__["target_node_communication_mode"] = target_node_communication_mode __props__.__dict__["task_scheduling_policy"] = task_scheduling_policy + if task_slots_per_node is None: + task_slots_per_node = 1 __props__.__dict__["task_slots_per_node"] = task_slots_per_node __props__.__dict__["user_accounts"] = user_accounts __props__.__dict__["vm_size"] = vm_size diff --git a/sdk/python/pulumi_azure_native/batch/v20230501/_inputs.py b/sdk/python/pulumi_azure_native/batch/v20230501/_inputs.py index 60361ab02241..41efa9a304ca 100644 --- a/sdk/python/pulumi_azure_native/batch/v20230501/_inputs.py +++ b/sdk/python/pulumi_azure_native/batch/v20230501/_inputs.py @@ -1088,6 +1088,8 @@ def __init__(__self__, *, """ if node_deallocation_option is not None: pulumi.set(__self__, "node_deallocation_option", node_deallocation_option) + if resize_timeout is None: + resize_timeout = 'PT15M' if resize_timeout is not None: pulumi.set(__self__, "resize_timeout", resize_timeout) if target_dedicated_nodes is not None: @@ -1205,6 +1207,8 @@ def __init__(__self__, *, pulumi.set(__self__, "publisher", publisher) if sku is not None: pulumi.set(__self__, "sku", sku) + if version is None: + version = 'latest' if version is not None: pulumi.set(__self__, "version", version) @@ -1653,6 +1657,8 @@ def __init__(__self__, *, :param pulumi.Input['PublicIPAddressConfigurationArgs'] public_ip_address_configuration: This property is only supported on Pools with the virtualMachineConfiguration property. :param pulumi.Input[str] subnet_id: The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration """ + if dynamic_vnet_assignment_scope is None: + dynamic_vnet_assignment_scope = 'none' if dynamic_vnet_assignment_scope is not None: pulumi.set(__self__, "dynamic_vnet_assignment_scope", dynamic_vnet_assignment_scope) if enable_accelerated_networking is not None: @@ -2102,7 +2108,7 @@ def __init__(__self__, *, In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. :param pulumi.Input[str] command_line: The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified. :param pulumi.Input['TaskContainerSettingsArgs'] container_settings: When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container. - :param pulumi.Input[int] max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + :param pulumi.Input[int] max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. :param pulumi.Input['UserIdentityArgs'] user_identity: If omitted, the task runs as a non-administrative user unique to the task. :param pulumi.Input[bool] wait_for_success: If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true. """ @@ -2112,6 +2118,8 @@ def __init__(__self__, *, pulumi.set(__self__, "container_settings", container_settings) if environment_settings is not None: pulumi.set(__self__, "environment_settings", environment_settings) + if max_task_retry_count is None: + max_task_retry_count = 0 if max_task_retry_count is not None: pulumi.set(__self__, "max_task_retry_count", max_task_retry_count) if resource_files is not None: @@ -2158,7 +2166,7 @@ def environment_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu @pulumi.getter(name="maxTaskRetryCount") def max_task_retry_count(self) -> Optional[pulumi.Input[int]]: """ - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. """ return pulumi.get(self, "max_task_retry_count") @@ -2269,7 +2277,9 @@ def working_directory(self, value: Optional[pulumi.Input['ContainerWorkingDirect @pulumi.input_type class TaskSchedulingPolicyArgs: def __init__(__self__, *, - node_fill_type: pulumi.Input['ComputeNodeFillType']): + node_fill_type: Optional[pulumi.Input['ComputeNodeFillType']] = None): + if node_fill_type is None: + node_fill_type = 'Spread' pulumi.set(__self__, "node_fill_type", node_fill_type) @property diff --git a/sdk/python/pulumi_azure_native/batch/v20230501/outputs.py b/sdk/python/pulumi_azure_native/batch/v20230501/outputs.py index a44d6275622e..0affd8517d4b 100644 --- a/sdk/python/pulumi_azure_native/batch/v20230501/outputs.py +++ b/sdk/python/pulumi_azure_native/batch/v20230501/outputs.py @@ -1372,6 +1372,8 @@ def __init__(__self__, *, :param int target_dedicated_nodes: At least one of targetDedicatedNodes, targetLowPriorityNodes must be set. :param int target_low_priority_nodes: At least one of targetDedicatedNodes, targetLowPriorityNodes must be set. """ + if resize_timeout is None: + resize_timeout = 'PT15M' if resize_timeout is not None: pulumi.set(__self__, "resize_timeout", resize_timeout) if target_dedicated_nodes is not None: @@ -1460,6 +1462,8 @@ def __init__(__self__, *, pulumi.set(__self__, "publisher", publisher) if sku is not None: pulumi.set(__self__, "sku", sku) + if version is None: + version = 'latest' if version is not None: pulumi.set(__self__, "version", version) @@ -1940,6 +1944,8 @@ def __init__(__self__, *, :param 'PublicIPAddressConfigurationResponse' public_ip_address_configuration: This property is only supported on Pools with the virtualMachineConfiguration property. :param str subnet_id: The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration """ + if dynamic_vnet_assignment_scope is None: + dynamic_vnet_assignment_scope = 'none' if dynamic_vnet_assignment_scope is not None: pulumi.set(__self__, "dynamic_vnet_assignment_scope", dynamic_vnet_assignment_scope) if enable_accelerated_networking is not None: @@ -2776,7 +2782,7 @@ def __init__(__self__, *, In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task. :param str command_line: The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified. :param 'TaskContainerSettingsResponse' container_settings: When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container. - :param int max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + :param int max_task_retry_count: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. :param 'UserIdentityResponse' user_identity: If omitted, the task runs as a non-administrative user unique to the task. :param bool wait_for_success: If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true. """ @@ -2786,6 +2792,8 @@ def __init__(__self__, *, pulumi.set(__self__, "container_settings", container_settings) if environment_settings is not None: pulumi.set(__self__, "environment_settings", environment_settings) + if max_task_retry_count is None: + max_task_retry_count = 0 if max_task_retry_count is not None: pulumi.set(__self__, "max_task_retry_count", max_task_retry_count) if resource_files is not None: @@ -2820,7 +2828,7 @@ def environment_settings(self) -> Optional[Sequence['outputs.EnvironmentSettingR @pulumi.getter(name="maxTaskRetryCount") def max_task_retry_count(self) -> Optional[int]: """ - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. + The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0. """ return pulumi.get(self, "max_task_retry_count") @@ -2937,7 +2945,9 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - node_fill_type: str): + node_fill_type: Optional[str] = None): + if node_fill_type is None: + node_fill_type = 'Spread' pulumi.set(__self__, "node_fill_type", node_fill_type) @property diff --git a/sdk/python/pulumi_azure_native/batch/v20230501/pool.py b/sdk/python/pulumi_azure_native/batch/v20230501/pool.py index 1140b9a358f7..119510d9a878 100644 --- a/sdk/python/pulumi_azure_native/batch/v20230501/pool.py +++ b/sdk/python/pulumi_azure_native/batch/v20230501/pool.py @@ -93,6 +93,8 @@ def __init__(__self__, *, pulumi.set(__self__, "target_node_communication_mode", target_node_communication_mode) if task_scheduling_policy is not None: pulumi.set(__self__, "task_scheduling_policy", task_scheduling_policy) + if task_slots_per_node is None: + task_slots_per_node = 1 if task_slots_per_node is not None: pulumi.set(__self__, "task_slots_per_node", task_slots_per_node) if user_accounts is not None: @@ -467,6 +469,8 @@ def _internal_init(__self__, __props__.__dict__["start_task"] = start_task __props__.__dict__["target_node_communication_mode"] = target_node_communication_mode __props__.__dict__["task_scheduling_policy"] = task_scheduling_policy + if task_slots_per_node is None: + task_slots_per_node = 1 __props__.__dict__["task_slots_per_node"] = task_slots_per_node __props__.__dict__["user_accounts"] = user_accounts __props__.__dict__["vm_size"] = vm_size diff --git a/sdk/python/pulumi_azure_native/cdn/__init__.py b/sdk/python/pulumi_azure_native/cdn/__init__.py index 3c0eee55092a..1b273ea652d3 100644 --- a/sdk/python/pulumi_azure_native/cdn/__init__.py +++ b/sdk/python/pulumi_azure_native/cdn/__init__.py @@ -18,6 +18,7 @@ from .get_afd_origin_group import * from .get_custom_domain import * from .get_endpoint import * +from .get_key_group import * from .get_origin import * from .get_origin_group import * from .get_policy import * @@ -28,6 +29,7 @@ from .get_rule_set import * from .get_secret import * from .get_security_policy import * +from .key_group import * from .origin import * from .origin_group import * from .policy import * @@ -46,7 +48,10 @@ v20200901 = __v20200901 import pulumi_azure_native.cdn.v20230501 as __v20230501 v20230501 = __v20230501 + import pulumi_azure_native.cdn.v20230701preview as __v20230701preview + v20230701preview = __v20230701preview else: v20200901 = _utilities.lazy_import('pulumi_azure_native.cdn.v20200901') v20230501 = _utilities.lazy_import('pulumi_azure_native.cdn.v20230501') + v20230701preview = _utilities.lazy_import('pulumi_azure_native.cdn.v20230701preview') diff --git a/sdk/python/pulumi_azure_native/cdn/afd_custom_domain.py b/sdk/python/pulumi_azure_native/cdn/afd_custom_domain.py index 853207491f24..570b8de75a1f 100644 --- a/sdk/python/pulumi_azure_native/cdn/afd_custom_domain.py +++ b/sdk/python/pulumi_azure_native/cdn/afd_custom_domain.py @@ -239,7 +239,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["validation_properties"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDCustomDomain")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDCustomDomain")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDCustomDomain, __self__).__init__( 'azure-native:cdn:AFDCustomDomain', diff --git a/sdk/python/pulumi_azure_native/cdn/afd_endpoint.py b/sdk/python/pulumi_azure_native/cdn/afd_endpoint.py index 770c870f3d16..308603a27278 100644 --- a/sdk/python/pulumi_azure_native/cdn/afd_endpoint.py +++ b/sdk/python/pulumi_azure_native/cdn/afd_endpoint.py @@ -216,7 +216,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDEndpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDEndpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDEndpoint, __self__).__init__( 'azure-native:cdn:AFDEndpoint', diff --git a/sdk/python/pulumi_azure_native/cdn/afd_origin.py b/sdk/python/pulumi_azure_native/cdn/afd_origin.py index d1c566406b54..3e1435e77bf9 100644 --- a/sdk/python/pulumi_azure_native/cdn/afd_origin.py +++ b/sdk/python/pulumi_azure_native/cdn/afd_origin.py @@ -370,7 +370,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOrigin")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDOrigin")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDOrigin, __self__).__init__( 'azure-native:cdn:AFDOrigin', diff --git a/sdk/python/pulumi_azure_native/cdn/afd_origin_group.py b/sdk/python/pulumi_azure_native/cdn/afd_origin_group.py index ca790cfe91a2..02195a6d00d9 100644 --- a/sdk/python/pulumi_azure_native/cdn/afd_origin_group.py +++ b/sdk/python/pulumi_azure_native/cdn/afd_origin_group.py @@ -216,7 +216,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOriginGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDOriginGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDOriginGroup, __self__).__init__( 'azure-native:cdn:AFDOriginGroup', diff --git a/sdk/python/pulumi_azure_native/cdn/custom_domain.py b/sdk/python/pulumi_azure_native/cdn/custom_domain.py index 3e4a8fd7ed3b..fcde52356297 100644 --- a/sdk/python/pulumi_azure_native/cdn/custom_domain.py +++ b/sdk/python/pulumi_azure_native/cdn/custom_domain.py @@ -180,7 +180,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["validation_data"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20160402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20161002:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20170402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20171012:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20191231:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200331:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230501:CustomDomain")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20160402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20161002:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20170402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20171012:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20191231:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200331:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230501:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:CustomDomain")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CustomDomain, __self__).__init__( 'azure-native:cdn:CustomDomain', diff --git a/sdk/python/pulumi_azure_native/cdn/endpoint.py b/sdk/python/pulumi_azure_native/cdn/endpoint.py index 341e86e3ca38..1c4c6ed3fd42 100644 --- a/sdk/python/pulumi_azure_native/cdn/endpoint.py +++ b/sdk/python/pulumi_azure_native/cdn/endpoint.py @@ -511,7 +511,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20160402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20161002:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20170402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20171012:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20191231:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200331:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:Endpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20160402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20161002:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20170402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20171012:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20191231:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200331:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Endpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Endpoint, __self__).__init__( 'azure-native:cdn:Endpoint', diff --git a/sdk/python/pulumi_azure_native/cdn/get_key_group.py b/sdk/python/pulumi_azure_native/cdn/get_key_group.py new file mode 100644 index 000000000000..229848810cba --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/get_key_group.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetKeyGroupResult', + 'AwaitableGetKeyGroupResult', + 'get_key_group', + 'get_key_group_output', +] + +@pulumi.output_type +class GetKeyGroupResult: + """ + Contains a list of references of UrlSigningKey type secret objects. + """ + def __init__(__self__, deployment_status=None, id=None, key_references=None, name=None, provisioning_state=None, system_data=None, type=None): + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if key_references and not isinstance(key_references, list): + raise TypeError("Expected argument 'key_references' to be a list") + pulumi.set(__self__, "key_references", key_references) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="keyReferences") + def key_references(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + Names of UrlSigningKey type secret objects + """ + return pulumi.get(self, "key_references") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetKeyGroupResult(GetKeyGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetKeyGroupResult( + deployment_status=self.deployment_status, + id=self.id, + key_references=self.key_references, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_key_group(key_group_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyGroupResult: + """ + Gets an existing KeyGroup within a profile. + Azure REST API version: 2023-07-01-preview. + + + :param str key_group_name: Name of the KeyGroup under the profile. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['keyGroupName'] = key_group_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn:getKeyGroup', __args__, opts=opts, typ=GetKeyGroupResult).value + + return AwaitableGetKeyGroupResult( + deployment_status=pulumi.get(__ret__, 'deployment_status'), + id=pulumi.get(__ret__, 'id'), + key_references=pulumi.get(__ret__, 'key_references'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_key_group) +def get_key_group_output(key_group_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyGroupResult]: + """ + Gets an existing KeyGroup within a profile. + Azure REST API version: 2023-07-01-preview. + + + :param str key_group_name: Name of the KeyGroup under the profile. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/key_group.py b/sdk/python/pulumi_azure_native/cdn/key_group.py new file mode 100644 index 000000000000..5d75db3511ad --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/key_group.py @@ -0,0 +1,234 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['KeyGroupArgs', 'KeyGroup'] + +@pulumi.input_type +class KeyGroupArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + key_group_name: Optional[pulumi.Input[str]] = None, + key_references: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None): + """ + The set of arguments for constructing a KeyGroup resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] key_group_name: Name of the KeyGroup under the profile. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] key_references: Names of UrlSigningKey type secret objects + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if key_group_name is not None: + pulumi.set(__self__, "key_group_name", key_group_name) + if key_references is not None: + pulumi.set(__self__, "key_references", key_references) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="keyGroupName") + def key_group_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the KeyGroup under the profile. + """ + return pulumi.get(self, "key_group_name") + + @key_group_name.setter + def key_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_group_name", value) + + @property + @pulumi.getter(name="keyReferences") + def key_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + Names of UrlSigningKey type secret objects + """ + return pulumi.get(self, "key_references") + + @key_references.setter + def key_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "key_references", value) + + +class KeyGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + key_group_name: Optional[pulumi.Input[str]] = None, + key_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Contains a list of references of UrlSigningKey type secret objects. + Azure REST API version: 2023-07-01-preview. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] key_group_name: Name of the KeyGroup under the profile. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]] key_references: Names of UrlSigningKey type secret objects + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: KeyGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Contains a list of references of UrlSigningKey type secret objects. + Azure REST API version: 2023-07-01-preview. + + :param str resource_name: The name of the resource. + :param KeyGroupArgs 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(KeyGroupArgs, 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_group_name: Optional[pulumi.Input[str]] = None, + key_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = KeyGroupArgs.__new__(KeyGroupArgs) + + __props__.__dict__["key_group_name"] = key_group_name + __props__.__dict__["key_references"] = key_references + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20230701preview:KeyGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(KeyGroup, __self__).__init__( + 'azure-native:cdn:KeyGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'KeyGroup': + """ + Get an existing KeyGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = KeyGroupArgs.__new__(KeyGroupArgs) + + __props__.__dict__["deployment_status"] = None + __props__.__dict__["key_references"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return KeyGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="keyReferences") + def key_references(self) -> pulumi.Output[Optional[Sequence['outputs.ResourceReferenceResponse']]]: + """ + Names of UrlSigningKey type secret objects + """ + return pulumi.get(self, "key_references") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/origin.py b/sdk/python/pulumi_azure_native/cdn/origin.py index 4b5db497cb3f..914108a92eb2 100644 --- a/sdk/python/pulumi_azure_native/cdn/origin.py +++ b/sdk/python/pulumi_azure_native/cdn/origin.py @@ -377,7 +377,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20160402:Origin"), pulumi.Alias(type_="azure-native:cdn/v20191231:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200331:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200415:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200901:Origin"), pulumi.Alias(type_="azure-native:cdn/v20210601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20230501:Origin")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20160402:Origin"), pulumi.Alias(type_="azure-native:cdn/v20191231:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200331:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200415:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200901:Origin"), pulumi.Alias(type_="azure-native:cdn/v20210601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20230501:Origin"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Origin")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Origin, __self__).__init__( 'azure-native:cdn:Origin', diff --git a/sdk/python/pulumi_azure_native/cdn/origin_group.py b/sdk/python/pulumi_azure_native/cdn/origin_group.py index 15ffed15c7f6..1d19787fd508 100644 --- a/sdk/python/pulumi_azure_native/cdn/origin_group.py +++ b/sdk/python/pulumi_azure_native/cdn/origin_group.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20191231:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200331:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200415:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:OriginGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20191231:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200331:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200415:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:OriginGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OriginGroup, __self__).__init__( 'azure-native:cdn:OriginGroup', diff --git a/sdk/python/pulumi_azure_native/cdn/policy.py b/sdk/python/pulumi_azure_native/cdn/policy.py index 3b88797af3fb..d60948c6558e 100644 --- a/sdk/python/pulumi_azure_native/cdn/policy.py +++ b/sdk/python/pulumi_azure_native/cdn/policy.py @@ -278,7 +278,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20190615:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200331:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200415:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200901:Policy"), pulumi.Alias(type_="azure-native:cdn/v20210601:Policy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20230501:Policy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20190615:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200331:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200415:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200901:Policy"), pulumi.Alias(type_="azure-native:cdn/v20210601:Policy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20230501:Policy"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Policy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Policy, __self__).__init__( 'azure-native:cdn:Policy', diff --git a/sdk/python/pulumi_azure_native/cdn/profile.py b/sdk/python/pulumi_azure_native/cdn/profile.py index 9822b19641fb..dbabd55c9e19 100644 --- a/sdk/python/pulumi_azure_native/cdn/profile.py +++ b/sdk/python/pulumi_azure_native/cdn/profile.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200901:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230501:Profile")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200901:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230501:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Profile")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Profile, __self__).__init__( 'azure-native:cdn:Profile', diff --git a/sdk/python/pulumi_azure_native/cdn/route.py b/sdk/python/pulumi_azure_native/cdn/route.py index 42fb833108a2..7d9b213d6f13 100644 --- a/sdk/python/pulumi_azure_native/cdn/route.py +++ b/sdk/python/pulumi_azure_native/cdn/route.py @@ -390,7 +390,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20230501:Route")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20230501:Route"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Route")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Route, __self__).__init__( 'azure-native:cdn:Route', diff --git a/sdk/python/pulumi_azure_native/cdn/rule.py b/sdk/python/pulumi_azure_native/cdn/rule.py index fa7c91e07936..d081ff975ef7 100644 --- a/sdk/python/pulumi_azure_native/cdn/rule.py +++ b/sdk/python/pulumi_azure_native/cdn/rule.py @@ -243,7 +243,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:Rule"), pulumi.Alias(type_="azure-native:cdn/v20210601:Rule"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20230501:Rule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:Rule"), pulumi.Alias(type_="azure-native:cdn/v20210601:Rule"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20230501:Rule"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Rule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Rule, __self__).__init__( 'azure-native:cdn:Rule', diff --git a/sdk/python/pulumi_azure_native/cdn/rule_set.py b/sdk/python/pulumi_azure_native/cdn/rule_set.py index f0cf84583809..57962655f450 100644 --- a/sdk/python/pulumi_azure_native/cdn/rule_set.py +++ b/sdk/python/pulumi_azure_native/cdn/rule_set.py @@ -134,7 +134,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20210601:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20230501:RuleSet")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20210601:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20230501:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:RuleSet")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(RuleSet, __self__).__init__( 'azure-native:cdn:RuleSet', diff --git a/sdk/python/pulumi_azure_native/cdn/secret.py b/sdk/python/pulumi_azure_native/cdn/secret.py index f7af8e76ab24..e1950cf93666 100644 --- a/sdk/python/pulumi_azure_native/cdn/secret.py +++ b/sdk/python/pulumi_azure_native/cdn/secret.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:Secret"), pulumi.Alias(type_="azure-native:cdn/v20210601:Secret"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20230501:Secret")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:Secret"), pulumi.Alias(type_="azure-native:cdn/v20210601:Secret"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20230501:Secret"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Secret")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Secret, __self__).__init__( 'azure-native:cdn:Secret', diff --git a/sdk/python/pulumi_azure_native/cdn/security_policy.py b/sdk/python/pulumi_azure_native/cdn/security_policy.py index bf94de7afcf0..21263edbe088 100644 --- a/sdk/python/pulumi_azure_native/cdn/security_policy.py +++ b/sdk/python/pulumi_azure_native/cdn/security_policy.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20210601:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20230501:SecurityPolicy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn/v20200901:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20210601:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20230501:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:SecurityPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityPolicy, __self__).__init__( 'azure-native:cdn:SecurityPolicy', diff --git a/sdk/python/pulumi_azure_native/cdn/v20200901/afd_endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20200901/afd_endpoint.py index 00100ab8aefc..a622c5db3694 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20200901/afd_endpoint.py +++ b/sdk/python/pulumi_azure_native/cdn/v20200901/afd_endpoint.py @@ -214,7 +214,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDEndpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDEndpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDEndpoint, __self__).__init__( 'azure-native:cdn/v20200901:AFDEndpoint', diff --git a/sdk/python/pulumi_azure_native/cdn/v20200901/afd_origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20200901/afd_origin_group.py index 87301e79cd77..85a47872cbfa 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20200901/afd_origin_group.py +++ b/sdk/python/pulumi_azure_native/cdn/v20200901/afd_origin_group.py @@ -234,7 +234,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOriginGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDOriginGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDOriginGroup, __self__).__init__( 'azure-native:cdn/v20200901:AFDOriginGroup', diff --git a/sdk/python/pulumi_azure_native/cdn/v20200901/profile.py b/sdk/python/pulumi_azure_native/cdn/v20200901/profile.py index 654d3c2bd02d..2a87cd6a3ab3 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20200901/profile.py +++ b/sdk/python/pulumi_azure_native/cdn/v20200901/profile.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Profile"), pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230501:Profile")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Profile"), pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230501:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Profile")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Profile, __self__).__init__( 'azure-native:cdn/v20200901:Profile', diff --git a/sdk/python/pulumi_azure_native/cdn/v20200901/route.py b/sdk/python/pulumi_azure_native/cdn/v20200901/route.py index c82bb85d995e..b48b1a1027b9 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20200901/route.py +++ b/sdk/python/pulumi_azure_native/cdn/v20200901/route.py @@ -408,7 +408,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20230501:Route")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20230501:Route"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Route")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Route, __self__).__init__( 'azure-native:cdn/v20200901:Route', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_custom_domain.py b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_custom_domain.py index 469b888440dc..d06b5d01ee4a 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_custom_domain.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_custom_domain.py @@ -237,7 +237,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["validation_properties"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDCustomDomain")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDCustomDomain")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDCustomDomain, __self__).__init__( 'azure-native:cdn/v20230501:AFDCustomDomain', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_endpoint.py index e1e64f9b73f2..3f762b675212 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_endpoint.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_endpoint.py @@ -214,7 +214,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDEndpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDEndpoint, __self__).__init__( 'azure-native:cdn/v20230501:AFDEndpoint', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin.py b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin.py index 50d2d91b629b..9be2afdec8f4 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin.py @@ -368,7 +368,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOrigin")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDOrigin")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDOrigin, __self__).__init__( 'azure-native:cdn/v20230501:AFDOrigin', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin_group.py index 1348af49a011..e98f091e65a0 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin_group.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/afd_origin_group.py @@ -214,7 +214,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:AFDOriginGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AFDOriginGroup, __self__).__init__( 'azure-native:cdn/v20230501:AFDOriginGroup', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/custom_domain.py b/sdk/python/pulumi_azure_native/cdn/v20230501/custom_domain.py index 056cb6f69ad0..33f8cac1b27b 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/custom_domain.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/custom_domain.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["validation_data"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20150601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20160402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20161002:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20170402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20171012:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20191231:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200331:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:CustomDomain")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20150601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20160402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20161002:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20170402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20171012:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20191231:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200331:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:CustomDomain")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CustomDomain, __self__).__init__( 'azure-native:cdn/v20230501:CustomDomain', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20230501/endpoint.py index 6198366dfd0d..b07836fd9eff 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/endpoint.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/endpoint.py @@ -509,7 +509,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20150601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20160402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20161002:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20170402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20171012:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20191231:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200331:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Endpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20150601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20160402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20161002:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20170402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20171012:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20191231:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200331:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Endpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Endpoint, __self__).__init__( 'azure-native:cdn/v20230501:Endpoint', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/origin.py b/sdk/python/pulumi_azure_native/cdn/v20230501/origin.py index c9a1c1a70b14..fb1e8a3a6f77 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/origin.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/origin.py @@ -375,7 +375,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Origin"), pulumi.Alias(type_="azure-native:cdn/v20150601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20160402:Origin"), pulumi.Alias(type_="azure-native:cdn/v20191231:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200331:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200415:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200901:Origin"), pulumi.Alias(type_="azure-native:cdn/v20210601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Origin")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Origin"), pulumi.Alias(type_="azure-native:cdn/v20150601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20160402:Origin"), pulumi.Alias(type_="azure-native:cdn/v20191231:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200331:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200415:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200901:Origin"), pulumi.Alias(type_="azure-native:cdn/v20210601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Origin")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Origin, __self__).__init__( 'azure-native:cdn/v20230501:Origin', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20230501/origin_group.py index 542f24c85fe1..b29fa16ea275 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/origin_group.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/origin_group.py @@ -236,7 +236,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20191231:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200331:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200415:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:OriginGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20191231:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200331:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200415:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:OriginGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OriginGroup, __self__).__init__( 'azure-native:cdn/v20230501:OriginGroup', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/policy.py b/sdk/python/pulumi_azure_native/cdn/v20230501/policy.py index 0c559c3a5668..90955845ec2a 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/policy.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/policy.py @@ -276,7 +276,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200331:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200415:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200901:Policy"), pulumi.Alias(type_="azure-native:cdn/v20210601:Policy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Policy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200331:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200415:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200901:Policy"), pulumi.Alias(type_="azure-native:cdn/v20210601:Policy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Policy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Policy, __self__).__init__( 'azure-native:cdn/v20230501:Policy', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/profile.py b/sdk/python/pulumi_azure_native/cdn/v20230501/profile.py index 7f771eeb6b72..b2d24f215996 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/profile.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/profile.py @@ -217,7 +217,7 @@ def _internal_init(__self__, __props__.__dict__["resource_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Profile"), pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200901:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Profile"), pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200901:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Profile")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Profile, __self__).__init__( 'azure-native:cdn/v20230501:Profile', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/route.py b/sdk/python/pulumi_azure_native/cdn/v20230501/route.py index 3173a145d6b9..d21503b23935 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/route.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/route.py @@ -388,7 +388,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Route"), pulumi.Alias(type_="azure-native:cdn/v20200901:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Route"), pulumi.Alias(type_="azure-native:cdn/v20200901:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Route")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Route, __self__).__init__( 'azure-native:cdn/v20230501:Route', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/rule.py b/sdk/python/pulumi_azure_native/cdn/v20230501/rule.py index f0d5f014dbba..60859dd47687 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/rule.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/rule.py @@ -241,7 +241,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Rule"), pulumi.Alias(type_="azure-native:cdn/v20200901:Rule"), pulumi.Alias(type_="azure-native:cdn/v20210601:Rule"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Rule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Rule"), pulumi.Alias(type_="azure-native:cdn/v20200901:Rule"), pulumi.Alias(type_="azure-native:cdn/v20210601:Rule"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Rule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Rule, __self__).__init__( 'azure-native:cdn/v20230501:Rule', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/rule_set.py b/sdk/python/pulumi_azure_native/cdn/v20230501/rule_set.py index 12f05f270295..bfbc7c95ec4d 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/rule_set.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/rule_set.py @@ -132,7 +132,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20200901:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20210601:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:RuleSet")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20200901:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20210601:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:RuleSet")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(RuleSet, __self__).__init__( 'azure-native:cdn/v20230501:RuleSet', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/secret.py b/sdk/python/pulumi_azure_native/cdn/v20230501/secret.py index 1ae9e55ab89f..ee6de6a87c3b 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/secret.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/secret.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Secret"), pulumi.Alias(type_="azure-native:cdn/v20200901:Secret"), pulumi.Alias(type_="azure-native:cdn/v20210601:Secret"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Secret")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Secret"), pulumi.Alias(type_="azure-native:cdn/v20200901:Secret"), pulumi.Alias(type_="azure-native:cdn/v20210601:Secret"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:Secret")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Secret, __self__).__init__( 'azure-native:cdn/v20230501:Secret', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230501/security_policy.py b/sdk/python/pulumi_azure_native/cdn/v20230501/security_policy.py index c36995eac192..8893b9b64c27 100644 --- a/sdk/python/pulumi_azure_native/cdn/v20230501/security_policy.py +++ b/sdk/python/pulumi_azure_native/cdn/v20230501/security_policy.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20200901:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20210601:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:SecurityPolicy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20200901:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20210601:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20230701preview:SecurityPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityPolicy, __self__).__init__( 'azure-native:cdn/v20230501:SecurityPolicy', diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/__init__.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/__init__.py new file mode 100644 index 000000000000..babee226781a --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/__init__.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .afd_custom_domain import * +from .afd_endpoint import * +from .afd_origin import * +from .afd_origin_group import * +from .custom_domain import * +from .endpoint import * +from .get_afd_custom_domain import * +from .get_afd_endpoint import * +from .get_afd_origin import * +from .get_afd_origin_group import * +from .get_custom_domain import * +from .get_endpoint import * +from .get_key_group import * +from .get_origin import * +from .get_origin_group import * +from .get_policy import * +from .get_profile import * +from .get_profile_supported_optimization_types import * +from .get_route import * +from .get_rule import * +from .get_rule_set import * +from .get_secret import * +from .get_security_policy import * +from .key_group import * +from .origin import * +from .origin_group import * +from .policy import * +from .profile import * +from .route import * +from .rule import * +from .rule_set import * +from .secret import * +from .security_policy import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/_enums.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/_enums.py new file mode 100644 index 000000000000..be72262af0d7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/_enums.py @@ -0,0 +1,753 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AFDEndpointProtocols', + 'ActionType', + 'AfdCertificateType', + 'AfdMinimumTlsVersion', + 'AfdQueryStringCachingBehavior', + 'Algorithm', + 'AutoGeneratedDomainNameLabelScope', + 'CacheBehavior', + 'CacheType', + 'ClientPortOperator', + 'CookiesOperator', + 'CustomRuleEnabledState', + 'DeliveryRuleAction', + 'DestinationProtocol', + 'EnabledState', + 'ForwardingProtocol', + 'GeoFilterActions', + 'HeaderAction', + 'HealthProbeRequestType', + 'HostNameOperator', + 'HttpVersionOperator', + 'HttpsRedirect', + 'IsDeviceOperator', + 'LinkToDefaultDomain', + 'ManagedRuleEnabledState', + 'ManagedServiceIdentityType', + 'MatchProcessingBehavior', + 'MatchVariable', + 'Operator', + 'OptimizationType', + 'ParamIndicator', + 'PolicyEnabledState', + 'PolicyMode', + 'PostArgsOperator', + 'ProbeProtocol', + 'QueryStringBehavior', + 'QueryStringCachingBehavior', + 'QueryStringOperator', + 'RedirectType', + 'RemoteAddressOperator', + 'RequestBodyOperator', + 'RequestHeaderOperator', + 'RequestMethodOperator', + 'RequestUriOperator', + 'ResponseBasedDetectedErrorTypes', + 'RuleCacheBehavior', + 'RuleIsCompressionEnabled', + 'RuleQueryStringCachingBehavior', + 'SecretType', + 'SecurityPolicyType', + 'ServerPortOperator', + 'SharedPrivateLinkResourceStatus', + 'SkuName', + 'SocketAddrOperator', + 'SslProtocol', + 'SslProtocolOperator', + 'Transform', + 'TransformType', + 'UrlFileExtensionOperator', + 'UrlFileNameOperator', + 'UrlPathOperator', + 'WafMatchVariable', +] + + +class AFDEndpointProtocols(str, Enum): + """ + Supported protocols for the customer's endpoint. + """ + HTTP = "Http" + HTTPS = "Https" + + +class ActionType(str, Enum): + """ + Describes what action to be applied when rule matches + """ + ALLOW = "Allow" + BLOCK = "Block" + LOG = "Log" + REDIRECT = "Redirect" + + +class AfdCertificateType(str, Enum): + """ + Defines the source of the SSL certificate. + """ + CUSTOMER_CERTIFICATE = "CustomerCertificate" + MANAGED_CERTIFICATE = "ManagedCertificate" + AZURE_FIRST_PARTY_MANAGED_CERTIFICATE = "AzureFirstPartyManagedCertificate" + + +class AfdMinimumTlsVersion(str, Enum): + """ + TLS protocol version that will be used for Https + """ + TLS10 = "TLS10" + TLS12 = "TLS12" + + +class AfdQueryStringCachingBehavior(str, Enum): + """ + Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + IGNORE_QUERY_STRING = "IgnoreQueryString" + USE_QUERY_STRING = "UseQueryString" + IGNORE_SPECIFIED_QUERY_STRINGS = "IgnoreSpecifiedQueryStrings" + INCLUDE_SPECIFIED_QUERY_STRINGS = "IncludeSpecifiedQueryStrings" + + +class Algorithm(str, Enum): + """ + Algorithm to use for URL signing + """ + SHA256 = "SHA256" + + +class AutoGeneratedDomainNameLabelScope(str, Enum): + """ + Indicates the endpoint name reuse scope. The default value is TenantReuse. + """ + TENANT_REUSE = "TenantReuse" + SUBSCRIPTION_REUSE = "SubscriptionReuse" + RESOURCE_GROUP_REUSE = "ResourceGroupReuse" + NO_REUSE = "NoReuse" + + +class CacheBehavior(str, Enum): + """ + Caching behavior for the requests + """ + BYPASS_CACHE = "BypassCache" + OVERRIDE = "Override" + SET_IF_MISSING = "SetIfMissing" + + +class CacheType(str, Enum): + """ + The level at which the content needs to be cached. + """ + ALL = "All" + + +class ClientPortOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class CookiesOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class CustomRuleEnabledState(str, Enum): + """ + Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class DeliveryRuleAction(str, Enum): + """ + The name of the action for the delivery rule. + """ + CACHE_EXPIRATION = "CacheExpiration" + CACHE_KEY_QUERY_STRING = "CacheKeyQueryString" + MODIFY_REQUEST_HEADER = "ModifyRequestHeader" + MODIFY_RESPONSE_HEADER = "ModifyResponseHeader" + URL_REDIRECT = "UrlRedirect" + URL_REWRITE = "UrlRewrite" + URL_SIGNING = "UrlSigning" + ORIGIN_GROUP_OVERRIDE = "OriginGroupOverride" + ROUTE_CONFIGURATION_OVERRIDE = "RouteConfigurationOverride" + AFD_URL_SIGNING = "AfdUrlSigning" + + +class DestinationProtocol(str, Enum): + """ + Protocol to use for the redirect. The default value is MatchRequest + """ + MATCH_REQUEST = "MatchRequest" + HTTP = "Http" + HTTPS = "Https" + + +class EnabledState(str, Enum): + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class ForwardingProtocol(str, Enum): + """ + Protocol this rule will use when forwarding traffic to backends. + """ + HTTP_ONLY = "HttpOnly" + HTTPS_ONLY = "HttpsOnly" + MATCH_REQUEST = "MatchRequest" + + +class GeoFilterActions(str, Enum): + """ + Action of the geo filter, i.e. allow or block access. + """ + BLOCK = "Block" + ALLOW = "Allow" + + +class HeaderAction(str, Enum): + """ + Action to perform + """ + APPEND = "Append" + OVERWRITE = "Overwrite" + DELETE = "Delete" + + +class HealthProbeRequestType(str, Enum): + """ + The type of health probe request that is made. + """ + NOT_SET = "NotSet" + GET = "GET" + HEAD = "HEAD" + + +class HostNameOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class HttpVersionOperator(str, Enum): + """ + Describes operator to be matched + """ + EQUAL = "Equal" + + +class HttpsRedirect(str, Enum): + """ + Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class IsDeviceOperator(str, Enum): + """ + Describes operator to be matched + """ + EQUAL = "Equal" + + +class LinkToDefaultDomain(str, Enum): + """ + whether this route will be linked to the default endpoint domain. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class ManagedRuleEnabledState(str, Enum): + """ + Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class ManagedServiceIdentityType(str, Enum): + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + + +class MatchProcessingBehavior(str, Enum): + """ + If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + """ + CONTINUE_ = "Continue" + STOP = "Stop" + + +class MatchVariable(str, Enum): + """ + The name of the condition for the delivery rule. + """ + REMOTE_ADDRESS = "RemoteAddress" + REQUEST_METHOD = "RequestMethod" + QUERY_STRING = "QueryString" + POST_ARGS = "PostArgs" + REQUEST_URI = "RequestUri" + REQUEST_HEADER = "RequestHeader" + REQUEST_BODY = "RequestBody" + REQUEST_SCHEME = "RequestScheme" + URL_PATH = "UrlPath" + URL_FILE_EXTENSION = "UrlFileExtension" + URL_FILE_NAME = "UrlFileName" + HTTP_VERSION = "HttpVersion" + COOKIES = "Cookies" + IS_DEVICE = "IsDevice" + SOCKET_ADDR = "SocketAddr" + CLIENT_PORT = "ClientPort" + SERVER_PORT = "ServerPort" + HOST_NAME = "HostName" + SSL_PROTOCOL = "SslProtocol" + + +class Operator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + IP_MATCH = "IPMatch" + GEO_MATCH = "GeoMatch" + EQUAL = "Equal" + CONTAINS = "Contains" + LESS_THAN = "LessThan" + GREATER_THAN = "GreaterThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + REG_EX = "RegEx" + + +class OptimizationType(str, Enum): + """ + Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + """ + GENERAL_WEB_DELIVERY = "GeneralWebDelivery" + GENERAL_MEDIA_STREAMING = "GeneralMediaStreaming" + VIDEO_ON_DEMAND_MEDIA_STREAMING = "VideoOnDemandMediaStreaming" + LARGE_FILE_DOWNLOAD = "LargeFileDownload" + DYNAMIC_SITE_ACCELERATION = "DynamicSiteAcceleration" + + +class ParamIndicator(str, Enum): + """ + Indicates the purpose of the parameter + """ + EXPIRES = "Expires" + KEY_ID = "KeyId" + SIGNATURE = "Signature" + + +class PolicyEnabledState(str, Enum): + """ + describes if the policy is in enabled state or disabled state + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class PolicyMode(str, Enum): + """ + Describes if it is in detection mode or prevention mode at policy level. + """ + PREVENTION = "Prevention" + DETECTION = "Detection" + + +class PostArgsOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class ProbeProtocol(str, Enum): + """ + Protocol to use for health probe. + """ + NOT_SET = "NotSet" + HTTP = "Http" + HTTPS = "Https" + + +class QueryStringBehavior(str, Enum): + """ + Caching behavior for the requests + """ + INCLUDE = "Include" + INCLUDE_ALL = "IncludeAll" + EXCLUDE = "Exclude" + EXCLUDE_ALL = "ExcludeAll" + + +class QueryStringCachingBehavior(str, Enum): + """ + Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + """ + IGNORE_QUERY_STRING = "IgnoreQueryString" + BYPASS_CACHING = "BypassCaching" + USE_QUERY_STRING = "UseQueryString" + NOT_SET = "NotSet" + + +class QueryStringOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class RedirectType(str, Enum): + """ + The redirect type the rule will use when redirecting traffic. + """ + MOVED = "Moved" + FOUND = "Found" + TEMPORARY_REDIRECT = "TemporaryRedirect" + PERMANENT_REDIRECT = "PermanentRedirect" + + +class RemoteAddressOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + IP_MATCH = "IPMatch" + GEO_MATCH = "GeoMatch" + + +class RequestBodyOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class RequestHeaderOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class RequestMethodOperator(str, Enum): + """ + Describes operator to be matched + """ + EQUAL = "Equal" + + +class RequestUriOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class ResponseBasedDetectedErrorTypes(str, Enum): + """ + Type of response errors for real user requests for which origin will be deemed unhealthy + """ + NONE = "None" + TCP_ERRORS_ONLY = "TcpErrorsOnly" + TCP_AND_HTTP_ERRORS = "TcpAndHttpErrors" + + +class RuleCacheBehavior(str, Enum): + """ + Caching behavior for the requests + """ + HONOR_ORIGIN = "HonorOrigin" + OVERRIDE_ALWAYS = "OverrideAlways" + OVERRIDE_IF_ORIGIN_MISSING = "OverrideIfOriginMissing" + + +class RuleIsCompressionEnabled(str, Enum): + """ + Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class RuleQueryStringCachingBehavior(str, Enum): + """ + Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + IGNORE_QUERY_STRING = "IgnoreQueryString" + USE_QUERY_STRING = "UseQueryString" + IGNORE_SPECIFIED_QUERY_STRINGS = "IgnoreSpecifiedQueryStrings" + INCLUDE_SPECIFIED_QUERY_STRINGS = "IncludeSpecifiedQueryStrings" + + +class SecretType(str, Enum): + """ + The type of the secret resource. + """ + URL_SIGNING_KEY = "UrlSigningKey" + CUSTOMER_CERTIFICATE = "CustomerCertificate" + MANAGED_CERTIFICATE = "ManagedCertificate" + AZURE_FIRST_PARTY_MANAGED_CERTIFICATE = "AzureFirstPartyManagedCertificate" + + +class SecurityPolicyType(str, Enum): + """ + The type of the Security policy to create. + """ + WEB_APPLICATION_FIREWALL = "WebApplicationFirewall" + + +class ServerPortOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class SharedPrivateLinkResourceStatus(str, Enum): + """ + Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + """ + PENDING = "Pending" + APPROVED = "Approved" + REJECTED = "Rejected" + DISCONNECTED = "Disconnected" + TIMEOUT = "Timeout" + + +class SkuName(str, Enum): + """ + Name of the pricing tier. + """ + STANDARD_VERIZON = "Standard_Verizon" + PREMIUM_VERIZON = "Premium_Verizon" + CUSTOM_VERIZON = "Custom_Verizon" + STANDARD_AKAMAI = "Standard_Akamai" + STANDARD_CHINA_CDN = "Standard_ChinaCdn" + STANDARD_MICROSOFT = "Standard_Microsoft" + STANDARD_AZURE_FRONT_DOOR = "Standard_AzureFrontDoor" + PREMIUM_AZURE_FRONT_DOOR = "Premium_AzureFrontDoor" + STANDARD_955_BAND_WIDTH_CHINA_CDN = "Standard_955BandWidth_ChinaCdn" + STANDARD_AVG_BAND_WIDTH_CHINA_CDN = "Standard_AvgBandWidth_ChinaCdn" + STANDARD_PLUS_CHINA_CDN = "StandardPlus_ChinaCdn" + STANDARD_PLUS_955_BAND_WIDTH_CHINA_CDN = "StandardPlus_955BandWidth_ChinaCdn" + STANDARD_PLUS_AVG_BAND_WIDTH_CHINA_CDN = "StandardPlus_AvgBandWidth_ChinaCdn" + + +class SocketAddrOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + IP_MATCH = "IPMatch" + + +class SslProtocol(str, Enum): + """ + The protocol of an established TLS connection. + """ + TL_SV1 = "TLSv1" + TL_SV1_1 = "TLSv1.1" + TL_SV1_2 = "TLSv1.2" + + +class SslProtocolOperator(str, Enum): + """ + Describes operator to be matched + """ + EQUAL = "Equal" + + +class Transform(str, Enum): + """ + Describes what transforms are applied before matching + """ + LOWERCASE = "Lowercase" + UPPERCASE = "Uppercase" + TRIM = "Trim" + URL_DECODE = "UrlDecode" + URL_ENCODE = "UrlEncode" + REMOVE_NULLS = "RemoveNulls" + + +class TransformType(str, Enum): + """ + Describes what transforms were applied before matching. + """ + LOWERCASE = "Lowercase" + UPPERCASE = "Uppercase" + TRIM = "Trim" + URL_DECODE = "UrlDecode" + URL_ENCODE = "UrlEncode" + REMOVE_NULLS = "RemoveNulls" + + +class UrlFileExtensionOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class UrlFileNameOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + REG_EX = "RegEx" + + +class UrlPathOperator(str, Enum): + """ + Describes operator to be matched + """ + ANY = "Any" + EQUAL = "Equal" + CONTAINS = "Contains" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + WILDCARD = "Wildcard" + REG_EX = "RegEx" + + +class WafMatchVariable(str, Enum): + """ + Match variable to compare against. + """ + REMOTE_ADDR = "RemoteAddr" + SOCKET_ADDR = "SocketAddr" + REQUEST_METHOD = "RequestMethod" + REQUEST_HEADER = "RequestHeader" + REQUEST_URI = "RequestUri" + QUERY_STRING = "QueryString" + REQUEST_BODY = "RequestBody" + COOKIES = "Cookies" + POST_ARGS = "PostArgs" diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/_inputs.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/_inputs.py new file mode 100644 index 000000000000..f17eeb67eacf --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/_inputs.py @@ -0,0 +1,5668 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AFDDomainHttpsParametersArgs', + 'ActivatedResourceReferenceArgs', + 'AfdRouteCacheConfigurationArgs', + 'AzureFirstPartyManagedCertificateParametersArgs', + 'CacheConfigurationArgs', + 'CacheExpirationActionParametersArgs', + 'CacheKeyQueryStringActionParametersArgs', + 'ClientPortMatchConditionParametersArgs', + 'CompressionSettingsArgs', + 'CookiesMatchConditionParametersArgs', + 'CustomRuleListArgs', + 'CustomRuleArgs', + 'CustomerCertificateParametersArgs', + 'DeepCreatedOriginGroupArgs', + 'DeepCreatedOriginArgs', + 'DeliveryRuleCacheExpirationActionArgs', + 'DeliveryRuleCacheKeyQueryStringActionArgs', + 'DeliveryRuleClientPortConditionArgs', + 'DeliveryRuleCookiesConditionArgs', + 'DeliveryRuleHostNameConditionArgs', + 'DeliveryRuleHttpVersionConditionArgs', + 'DeliveryRuleIsDeviceConditionArgs', + 'DeliveryRulePostArgsConditionArgs', + 'DeliveryRuleQueryStringConditionArgs', + 'DeliveryRuleRemoteAddressConditionArgs', + 'DeliveryRuleRequestBodyConditionArgs', + 'DeliveryRuleRequestHeaderActionArgs', + 'DeliveryRuleRequestHeaderConditionArgs', + 'DeliveryRuleRequestMethodConditionArgs', + 'DeliveryRuleRequestSchemeConditionArgs', + 'DeliveryRuleRequestUriConditionArgs', + 'DeliveryRuleResponseHeaderActionArgs', + 'DeliveryRuleRouteConfigurationOverrideActionArgs', + 'DeliveryRuleServerPortConditionArgs', + 'DeliveryRuleSocketAddrConditionArgs', + 'DeliveryRuleSslProtocolConditionArgs', + 'DeliveryRuleUrlFileExtensionConditionArgs', + 'DeliveryRuleUrlFileNameConditionArgs', + 'DeliveryRuleUrlPathConditionArgs', + 'DeliveryRuleArgs', + 'EndpointPropertiesUpdateParametersDeliveryPolicyArgs', + 'EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs', + 'GeoFilterArgs', + 'HeaderActionParametersArgs', + 'HealthProbeParametersArgs', + 'HostNameMatchConditionParametersArgs', + 'HttpErrorRangeParametersArgs', + 'HttpVersionMatchConditionParametersArgs', + 'IsDeviceMatchConditionParametersArgs', + 'KeyVaultSigningKeyParametersArgs', + 'LoadBalancingSettingsParametersArgs', + 'ManagedCertificateParametersArgs', + 'ManagedRuleGroupOverrideArgs', + 'ManagedRuleOverrideArgs', + 'ManagedRuleSetListArgs', + 'ManagedRuleSetArgs', + 'ManagedServiceIdentityArgs', + 'MatchConditionArgs', + 'OriginGroupOverrideActionParametersArgs', + 'OriginGroupOverrideActionArgs', + 'OriginGroupOverrideArgs', + 'PolicySettingsArgs', + 'PostArgsMatchConditionParametersArgs', + 'QueryStringMatchConditionParametersArgs', + 'RateLimitRuleListArgs', + 'RateLimitRuleArgs', + 'RemoteAddressMatchConditionParametersArgs', + 'RequestBodyMatchConditionParametersArgs', + 'RequestHeaderMatchConditionParametersArgs', + 'RequestMethodMatchConditionParametersArgs', + 'RequestSchemeMatchConditionParametersArgs', + 'RequestUriMatchConditionParametersArgs', + 'ResourceReferenceArgs', + 'ResponseBasedOriginErrorDetectionParametersArgs', + 'RouteConfigurationOverrideActionParametersArgs', + 'SecurityPolicyWebApplicationFirewallAssociationArgs', + 'SecurityPolicyWebApplicationFirewallParametersArgs', + 'ServerPortMatchConditionParametersArgs', + 'SharedPrivateLinkResourcePropertiesArgs', + 'SkuArgs', + 'SocketAddrMatchConditionParametersArgs', + 'SslProtocolMatchConditionParametersArgs', + 'UrlFileExtensionMatchConditionParametersArgs', + 'UrlFileNameMatchConditionParametersArgs', + 'UrlPathMatchConditionParametersArgs', + 'UrlRedirectActionParametersArgs', + 'UrlRedirectActionArgs', + 'UrlRewriteActionParametersArgs', + 'UrlRewriteActionArgs', + 'UrlSigningActionParametersArgs', + 'UrlSigningActionArgs', + 'UrlSigningKeyParametersArgs', + 'UrlSigningKeyArgs', + 'UrlSigningParamIdentifierArgs', +] + +@pulumi.input_type +class AFDDomainHttpsParametersArgs: + def __init__(__self__, *, + certificate_type: pulumi.Input[Union[str, 'AfdCertificateType']], + minimum_tls_version: Optional[pulumi.Input['AfdMinimumTlsVersion']] = None, + secret: Optional[pulumi.Input['ResourceReferenceArgs']] = None): + """ + The JSON object that contains the properties to secure a domain. + :param pulumi.Input[Union[str, 'AfdCertificateType']] certificate_type: Defines the source of the SSL certificate. + :param pulumi.Input['AfdMinimumTlsVersion'] minimum_tls_version: TLS protocol version that will be used for Https + :param pulumi.Input['ResourceReferenceArgs'] secret: Resource reference to the secret. ie. subs/rg/profile/secret + """ + pulumi.set(__self__, "certificate_type", certificate_type) + if minimum_tls_version is not None: + pulumi.set(__self__, "minimum_tls_version", minimum_tls_version) + if secret is not None: + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter(name="certificateType") + def certificate_type(self) -> pulumi.Input[Union[str, 'AfdCertificateType']]: + """ + Defines the source of the SSL certificate. + """ + return pulumi.get(self, "certificate_type") + + @certificate_type.setter + def certificate_type(self, value: pulumi.Input[Union[str, 'AfdCertificateType']]): + pulumi.set(self, "certificate_type", value) + + @property + @pulumi.getter(name="minimumTlsVersion") + def minimum_tls_version(self) -> Optional[pulumi.Input['AfdMinimumTlsVersion']]: + """ + TLS protocol version that will be used for Https + """ + return pulumi.get(self, "minimum_tls_version") + + @minimum_tls_version.setter + def minimum_tls_version(self, value: Optional[pulumi.Input['AfdMinimumTlsVersion']]): + pulumi.set(self, "minimum_tls_version", value) + + @property + @pulumi.getter + def secret(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + Resource reference to the secret. ie. subs/rg/profile/secret + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class ActivatedResourceReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Reference to another resource along with its state. + :param pulumi.Input[str] id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class AfdRouteCacheConfigurationArgs: + def __init__(__self__, *, + compression_settings: Optional[pulumi.Input['CompressionSettingsArgs']] = None, + query_parameters: Optional[pulumi.Input[str]] = None, + query_string_caching_behavior: Optional[pulumi.Input[Union[str, 'AfdQueryStringCachingBehavior']]] = None): + """ + Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + :param pulumi.Input['CompressionSettingsArgs'] compression_settings: compression settings. + :param pulumi.Input[str] query_parameters: query parameters to include or exclude (comma separated). + :param pulumi.Input[Union[str, 'AfdQueryStringCachingBehavior']] query_string_caching_behavior: Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + if compression_settings is not None: + pulumi.set(__self__, "compression_settings", compression_settings) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + if query_string_caching_behavior is not None: + pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior) + + @property + @pulumi.getter(name="compressionSettings") + def compression_settings(self) -> Optional[pulumi.Input['CompressionSettingsArgs']]: + """ + compression settings. + """ + return pulumi.get(self, "compression_settings") + + @compression_settings.setter + def compression_settings(self, value: Optional[pulumi.Input['CompressionSettingsArgs']]): + pulumi.set(self, "compression_settings", value) + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[pulumi.Input[str]]: + """ + query parameters to include or exclude (comma separated). + """ + return pulumi.get(self, "query_parameters") + + @query_parameters.setter + def query_parameters(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_parameters", value) + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> Optional[pulumi.Input[Union[str, 'AfdQueryStringCachingBehavior']]]: + """ + Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + return pulumi.get(self, "query_string_caching_behavior") + + @query_string_caching_behavior.setter + def query_string_caching_behavior(self, value: Optional[pulumi.Input[Union[str, 'AfdQueryStringCachingBehavior']]]): + pulumi.set(self, "query_string_caching_behavior", value) + + +@pulumi.input_type +class AzureFirstPartyManagedCertificateParametersArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. + :param pulumi.Input[str] type: The type of the secret resource. + Expected value is 'AzureFirstPartyManagedCertificate'. + :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alternative_names: The list of SANs. + """ + pulumi.set(__self__, "type", 'AzureFirstPartyManagedCertificate') + if subject_alternative_names is not None: + pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the secret resource. + Expected value is 'AzureFirstPartyManagedCertificate'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="subjectAlternativeNames") + def subject_alternative_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of SANs. + """ + return pulumi.get(self, "subject_alternative_names") + + @subject_alternative_names.setter + def subject_alternative_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "subject_alternative_names", value) + + +@pulumi.input_type +class CacheConfigurationArgs: + def __init__(__self__, *, + cache_behavior: Optional[pulumi.Input[Union[str, 'RuleCacheBehavior']]] = None, + cache_duration: Optional[pulumi.Input[str]] = None, + is_compression_enabled: Optional[pulumi.Input[Union[str, 'RuleIsCompressionEnabled']]] = None, + query_parameters: Optional[pulumi.Input[str]] = None, + query_string_caching_behavior: Optional[pulumi.Input[Union[str, 'RuleQueryStringCachingBehavior']]] = None): + """ + Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + :param pulumi.Input[Union[str, 'RuleCacheBehavior']] cache_behavior: Caching behavior for the requests + :param pulumi.Input[str] cache_duration: The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + :param pulumi.Input[Union[str, 'RuleIsCompressionEnabled']] is_compression_enabled: Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + :param pulumi.Input[str] query_parameters: query parameters to include or exclude (comma separated). + :param pulumi.Input[Union[str, 'RuleQueryStringCachingBehavior']] query_string_caching_behavior: Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + if cache_behavior is not None: + pulumi.set(__self__, "cache_behavior", cache_behavior) + if cache_duration is not None: + pulumi.set(__self__, "cache_duration", cache_duration) + if is_compression_enabled is not None: + pulumi.set(__self__, "is_compression_enabled", is_compression_enabled) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + if query_string_caching_behavior is not None: + pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior) + + @property + @pulumi.getter(name="cacheBehavior") + def cache_behavior(self) -> Optional[pulumi.Input[Union[str, 'RuleCacheBehavior']]]: + """ + Caching behavior for the requests + """ + return pulumi.get(self, "cache_behavior") + + @cache_behavior.setter + def cache_behavior(self, value: Optional[pulumi.Input[Union[str, 'RuleCacheBehavior']]]): + pulumi.set(self, "cache_behavior", value) + + @property + @pulumi.getter(name="cacheDuration") + def cache_duration(self) -> Optional[pulumi.Input[str]]: + """ + The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + """ + return pulumi.get(self, "cache_duration") + + @cache_duration.setter + def cache_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cache_duration", value) + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> Optional[pulumi.Input[Union[str, 'RuleIsCompressionEnabled']]]: + """ + Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + @is_compression_enabled.setter + def is_compression_enabled(self, value: Optional[pulumi.Input[Union[str, 'RuleIsCompressionEnabled']]]): + pulumi.set(self, "is_compression_enabled", value) + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[pulumi.Input[str]]: + """ + query parameters to include or exclude (comma separated). + """ + return pulumi.get(self, "query_parameters") + + @query_parameters.setter + def query_parameters(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_parameters", value) + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> Optional[pulumi.Input[Union[str, 'RuleQueryStringCachingBehavior']]]: + """ + Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + return pulumi.get(self, "query_string_caching_behavior") + + @query_string_caching_behavior.setter + def query_string_caching_behavior(self, value: Optional[pulumi.Input[Union[str, 'RuleQueryStringCachingBehavior']]]): + pulumi.set(self, "query_string_caching_behavior", value) + + +@pulumi.input_type +class CacheExpirationActionParametersArgs: + def __init__(__self__, *, + cache_behavior: pulumi.Input[Union[str, 'CacheBehavior']], + cache_type: pulumi.Input[Union[str, 'CacheType']], + type_name: pulumi.Input[str], + cache_duration: Optional[pulumi.Input[str]] = None): + """ + Defines the parameters for the cache expiration action. + :param pulumi.Input[Union[str, 'CacheBehavior']] cache_behavior: Caching behavior for the requests + :param pulumi.Input[Union[str, 'CacheType']] cache_type: The level at which the content needs to be cached. + :param pulumi.Input[str] cache_duration: The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + """ + pulumi.set(__self__, "cache_behavior", cache_behavior) + pulumi.set(__self__, "cache_type", cache_type) + pulumi.set(__self__, "type_name", type_name) + if cache_duration is not None: + pulumi.set(__self__, "cache_duration", cache_duration) + + @property + @pulumi.getter(name="cacheBehavior") + def cache_behavior(self) -> pulumi.Input[Union[str, 'CacheBehavior']]: + """ + Caching behavior for the requests + """ + return pulumi.get(self, "cache_behavior") + + @cache_behavior.setter + def cache_behavior(self, value: pulumi.Input[Union[str, 'CacheBehavior']]): + pulumi.set(self, "cache_behavior", value) + + @property + @pulumi.getter(name="cacheType") + def cache_type(self) -> pulumi.Input[Union[str, 'CacheType']]: + """ + The level at which the content needs to be cached. + """ + return pulumi.get(self, "cache_type") + + @cache_type.setter + def cache_type(self, value: pulumi.Input[Union[str, 'CacheType']]): + pulumi.set(self, "cache_type", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="cacheDuration") + def cache_duration(self) -> Optional[pulumi.Input[str]]: + """ + The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + """ + return pulumi.get(self, "cache_duration") + + @cache_duration.setter + def cache_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cache_duration", value) + + +@pulumi.input_type +class CacheKeyQueryStringActionParametersArgs: + def __init__(__self__, *, + query_string_behavior: pulumi.Input[Union[str, 'QueryStringBehavior']], + type_name: pulumi.Input[str], + query_parameters: Optional[pulumi.Input[str]] = None): + """ + Defines the parameters for the cache-key query string action. + :param pulumi.Input[Union[str, 'QueryStringBehavior']] query_string_behavior: Caching behavior for the requests + :param pulumi.Input[str] query_parameters: query parameters to include or exclude (comma separated). + """ + pulumi.set(__self__, "query_string_behavior", query_string_behavior) + pulumi.set(__self__, "type_name", type_name) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + + @property + @pulumi.getter(name="queryStringBehavior") + def query_string_behavior(self) -> pulumi.Input[Union[str, 'QueryStringBehavior']]: + """ + Caching behavior for the requests + """ + return pulumi.get(self, "query_string_behavior") + + @query_string_behavior.setter + def query_string_behavior(self, value: pulumi.Input[Union[str, 'QueryStringBehavior']]): + pulumi.set(self, "query_string_behavior", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[pulumi.Input[str]]: + """ + query parameters to include or exclude (comma separated). + """ + return pulumi.get(self, "query_parameters") + + @query_parameters.setter + def query_parameters(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_parameters", value) + + +@pulumi.input_type +class ClientPortMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'ClientPortOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for ClientPort match conditions + :param pulumi.Input[Union[str, 'ClientPortOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'ClientPortOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'ClientPortOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class CompressionSettingsArgs: + def __init__(__self__, *, + content_types_to_compress: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_compression_enabled: Optional[pulumi.Input[bool]] = None): + """ + settings for compression. + :param pulumi.Input[Sequence[pulumi.Input[str]]] content_types_to_compress: List of content types on which compression applies. The value should be a valid MIME type. + :param pulumi.Input[bool] is_compression_enabled: Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + if content_types_to_compress is not None: + pulumi.set(__self__, "content_types_to_compress", content_types_to_compress) + if is_compression_enabled is not None: + pulumi.set(__self__, "is_compression_enabled", is_compression_enabled) + + @property + @pulumi.getter(name="contentTypesToCompress") + def content_types_to_compress(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of content types on which compression applies. The value should be a valid MIME type. + """ + return pulumi.get(self, "content_types_to_compress") + + @content_types_to_compress.setter + def content_types_to_compress(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "content_types_to_compress", value) + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + @is_compression_enabled.setter + def is_compression_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_compression_enabled", value) + + +@pulumi.input_type +class CookiesMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'CookiesOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + selector: Optional[pulumi.Input[str]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for Cookies match conditions + :param pulumi.Input[Union[str, 'CookiesOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[str] selector: Name of Cookies to be matched + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'CookiesOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'CookiesOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def selector(self) -> Optional[pulumi.Input[str]]: + """ + Name of Cookies to be matched + """ + return pulumi.get(self, "selector") + + @selector.setter + def selector(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "selector", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class CustomRuleListArgs: + def __init__(__self__, *, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['CustomRuleArgs']]]] = None): + """ + Defines contents of custom rules + :param pulumi.Input[Sequence[pulumi.Input['CustomRuleArgs']]] rules: List of rules + """ + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CustomRuleArgs']]]]: + """ + List of rules + """ + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CustomRuleArgs']]]]): + pulumi.set(self, "rules", value) + + +@pulumi.input_type +class CustomRuleArgs: + def __init__(__self__, *, + action: pulumi.Input[Union[str, 'ActionType']], + match_conditions: pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]], + name: pulumi.Input[str], + priority: pulumi.Input[int], + enabled_state: Optional[pulumi.Input[Union[str, 'CustomRuleEnabledState']]] = None): + """ + Defines the common attributes for a custom rule that can be included in a waf policy + :param pulumi.Input[Union[str, 'ActionType']] action: Describes what action to be applied when rule matches + :param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: List of match conditions. + :param pulumi.Input[str] name: Defines the name of the custom rule + :param pulumi.Input[int] priority: Defines in what order this rule be evaluated in the overall list of custom rules + :param pulumi.Input[Union[str, 'CustomRuleEnabledState']] enabled_state: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "match_conditions", match_conditions) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "priority", priority) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + + @property + @pulumi.getter + def action(self) -> pulumi.Input[Union[str, 'ActionType']]: + """ + Describes what action to be applied when rule matches + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input[Union[str, 'ActionType']]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="matchConditions") + def match_conditions(self) -> pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]: + """ + List of match conditions. + """ + return pulumi.get(self, "match_conditions") + + @match_conditions.setter + def match_conditions(self, value: pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]): + pulumi.set(self, "match_conditions", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Defines the name of the custom rule + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def priority(self) -> pulumi.Input[int]: + """ + Defines in what order this rule be evaluated in the overall list of custom rules + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: pulumi.Input[int]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'CustomRuleEnabledState']]]: + """ + Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'CustomRuleEnabledState']]]): + pulumi.set(self, "enabled_state", value) + + +@pulumi.input_type +class CustomerCertificateParametersArgs: + def __init__(__self__, *, + secret_source: pulumi.Input['ResourceReferenceArgs'], + type: pulumi.Input[str], + secret_version: Optional[pulumi.Input[str]] = None, + subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_latest_version: Optional[pulumi.Input[bool]] = None): + """ + Customer Certificate used for https + :param pulumi.Input['ResourceReferenceArgs'] secret_source: Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + :param pulumi.Input[str] type: The type of the secret resource. + Expected value is 'CustomerCertificate'. + :param pulumi.Input[str] secret_version: Version of the secret to be used + :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alternative_names: The list of SANs. + :param pulumi.Input[bool] use_latest_version: Whether to use the latest version for the certificate + """ + pulumi.set(__self__, "secret_source", secret_source) + pulumi.set(__self__, "type", 'CustomerCertificate') + if secret_version is not None: + pulumi.set(__self__, "secret_version", secret_version) + if subject_alternative_names is not None: + pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + if use_latest_version is not None: + pulumi.set(__self__, "use_latest_version", use_latest_version) + + @property + @pulumi.getter(name="secretSource") + def secret_source(self) -> pulumi.Input['ResourceReferenceArgs']: + """ + Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + """ + return pulumi.get(self, "secret_source") + + @secret_source.setter + def secret_source(self, value: pulumi.Input['ResourceReferenceArgs']): + pulumi.set(self, "secret_source", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the secret resource. + Expected value is 'CustomerCertificate'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> Optional[pulumi.Input[str]]: + """ + Version of the secret to be used + """ + return pulumi.get(self, "secret_version") + + @secret_version.setter + def secret_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_version", value) + + @property + @pulumi.getter(name="subjectAlternativeNames") + def subject_alternative_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of SANs. + """ + return pulumi.get(self, "subject_alternative_names") + + @subject_alternative_names.setter + def subject_alternative_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "subject_alternative_names", value) + + @property + @pulumi.getter(name="useLatestVersion") + def use_latest_version(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to use the latest version for the certificate + """ + return pulumi.get(self, "use_latest_version") + + @use_latest_version.setter + def use_latest_version(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_latest_version", value) + + +@pulumi.input_type +class DeepCreatedOriginGroupArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + origins: pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]], + health_probe_settings: Optional[pulumi.Input['HealthProbeParametersArgs']] = None, + response_based_origin_error_detection_settings: Optional[pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs']] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = None): + """ + The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. + :param pulumi.Input[str] name: Origin group name which must be unique within the endpoint. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] origins: The source of the content being delivered via CDN within given origin group. + :param pulumi.Input['HealthProbeParametersArgs'] health_probe_settings: Health probe settings to the origin that is used to determine the health of the origin. + :param pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs'] response_based_origin_error_detection_settings: The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + :param pulumi.Input[int] traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "origins", origins) + if health_probe_settings is not None: + pulumi.set(__self__, "health_probe_settings", health_probe_settings) + if response_based_origin_error_detection_settings is not None: + pulumi.set(__self__, "response_based_origin_error_detection_settings", response_based_origin_error_detection_settings) + if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes is not None: + pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Origin group name which must be unique within the endpoint. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def origins(self) -> pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]: + """ + The source of the content being delivered via CDN within given origin group. + """ + return pulumi.get(self, "origins") + + @origins.setter + def origins(self, value: pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]): + pulumi.set(self, "origins", value) + + @property + @pulumi.getter(name="healthProbeSettings") + def health_probe_settings(self) -> Optional[pulumi.Input['HealthProbeParametersArgs']]: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @health_probe_settings.setter + def health_probe_settings(self, value: Optional[pulumi.Input['HealthProbeParametersArgs']]): + pulumi.set(self, "health_probe_settings", value) + + @property + @pulumi.getter(name="responseBasedOriginErrorDetectionSettings") + def response_based_origin_error_detection_settings(self) -> Optional[pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs']]: + """ + The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + """ + return pulumi.get(self, "response_based_origin_error_detection_settings") + + @response_based_origin_error_detection_settings.setter + def response_based_origin_error_detection_settings(self, value: Optional[pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs']]): + pulumi.set(self, "response_based_origin_error_detection_settings", value) + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @traffic_restoration_time_to_healed_or_new_endpoints_in_minutes.setter + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", value) + + +@pulumi.input_type +class DeepCreatedOriginArgs: + def __init__(__self__, *, + host_name: pulumi.Input[str], + name: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + private_link_alias: Optional[pulumi.Input[str]] = None, + private_link_approval_message: Optional[pulumi.Input[str]] = None, + private_link_location: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None): + """ + The main origin of CDN content which is added when creating a CDN endpoint. + :param pulumi.Input[str] host_name: The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. + :param pulumi.Input[str] name: Origin name which must be unique within the endpoint. + :param pulumi.Input[bool] enabled: Origin is enabled for load balancing or not. By default, origin is always enabled. + :param pulumi.Input[int] http_port: The value of the HTTP port. Must be between 1 and 65535. + :param pulumi.Input[int] https_port: The value of the HTTPS port. Must be between 1 and 65535. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + :param pulumi.Input[int] priority: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + :param pulumi.Input[str] private_link_alias: The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + :param pulumi.Input[str] private_link_approval_message: A custom message to be included in the approval request to connect to the Private Link. + :param pulumi.Input[str] private_link_location: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + :param pulumi.Input[str] private_link_resource_id: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + :param pulumi.Input[int] weight: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "name", name) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if http_port is not None: + pulumi.set(__self__, "http_port", http_port) + if https_port is not None: + pulumi.set(__self__, "https_port", https_port) + if origin_host_header is not None: + pulumi.set(__self__, "origin_host_header", origin_host_header) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if private_link_alias is not None: + pulumi.set(__self__, "private_link_alias", private_link_alias) + if private_link_approval_message is not None: + pulumi.set(__self__, "private_link_approval_message", private_link_approval_message) + if private_link_location is not None: + pulumi.set(__self__, "private_link_location", private_link_location) + if private_link_resource_id is not None: + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if weight is not None: + pulumi.set(__self__, "weight", weight) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Input[str]: + """ + The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @host_name.setter + def host_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_name", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Origin name which must be unique within the endpoint. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Origin is enabled for load balancing or not. By default, origin is always enabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[pulumi.Input[int]]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @http_port.setter + def http_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "http_port", value) + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[pulumi.Input[int]]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @https_port.setter + def https_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "https_port", value) + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[pulumi.Input[str]]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + """ + return pulumi.get(self, "origin_host_header") + + @origin_host_header.setter + def origin_host_header(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_host_header", value) + + @property + @pulumi.getter + def priority(self) -> Optional[pulumi.Input[int]]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="privateLinkAlias") + def private_link_alias(self) -> Optional[pulumi.Input[str]]: + """ + The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + """ + return pulumi.get(self, "private_link_alias") + + @private_link_alias.setter + def private_link_alias(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_alias", value) + + @property + @pulumi.getter(name="privateLinkApprovalMessage") + def private_link_approval_message(self) -> Optional[pulumi.Input[str]]: + """ + A custom message to be included in the approval request to connect to the Private Link. + """ + return pulumi.get(self, "private_link_approval_message") + + @private_link_approval_message.setter + def private_link_approval_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_approval_message", value) + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + """ + return pulumi.get(self, "private_link_location") + + @private_link_location.setter + def private_link_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_location", value) + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + """ + return pulumi.get(self, "private_link_resource_id") + + @private_link_resource_id.setter + def private_link_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_resource_id", value) + + @property + @pulumi.getter + def weight(self) -> Optional[pulumi.Input[int]]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + + @weight.setter + def weight(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "weight", value) + + +@pulumi.input_type +class DeliveryRuleCacheExpirationActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['CacheExpirationActionParametersArgs']): + """ + Defines the cache expiration action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'CacheExpiration'. + :param pulumi.Input['CacheExpirationActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'CacheExpiration') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'CacheExpiration'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['CacheExpirationActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['CacheExpirationActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleCacheKeyQueryStringActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['CacheKeyQueryStringActionParametersArgs']): + """ + Defines the cache-key query string action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'CacheKeyQueryString'. + :param pulumi.Input['CacheKeyQueryStringActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'CacheKeyQueryString') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'CacheKeyQueryString'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['CacheKeyQueryStringActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['CacheKeyQueryStringActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleClientPortConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['ClientPortMatchConditionParametersArgs']): + """ + Defines the ClientPort condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'ClientPort'. + :param pulumi.Input['ClientPortMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'ClientPort') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'ClientPort'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['ClientPortMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['ClientPortMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleCookiesConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['CookiesMatchConditionParametersArgs']): + """ + Defines the Cookies condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'Cookies'. + :param pulumi.Input['CookiesMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'Cookies') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'Cookies'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['CookiesMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['CookiesMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleHostNameConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['HostNameMatchConditionParametersArgs']): + """ + Defines the HostName condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'HostName'. + :param pulumi.Input['HostNameMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'HostName') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'HostName'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['HostNameMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['HostNameMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleHttpVersionConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['HttpVersionMatchConditionParametersArgs']): + """ + Defines the HttpVersion condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'HttpVersion'. + :param pulumi.Input['HttpVersionMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'HttpVersion') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'HttpVersion'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['HttpVersionMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['HttpVersionMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleIsDeviceConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['IsDeviceMatchConditionParametersArgs']): + """ + Defines the IsDevice condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'IsDevice'. + :param pulumi.Input['IsDeviceMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'IsDevice') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'IsDevice'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['IsDeviceMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['IsDeviceMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRulePostArgsConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['PostArgsMatchConditionParametersArgs']): + """ + Defines the PostArgs condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'PostArgs'. + :param pulumi.Input['PostArgsMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'PostArgs') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'PostArgs'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['PostArgsMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['PostArgsMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleQueryStringConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['QueryStringMatchConditionParametersArgs']): + """ + Defines the QueryString condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'QueryString'. + :param pulumi.Input['QueryStringMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'QueryString') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'QueryString'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['QueryStringMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['QueryStringMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRemoteAddressConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RemoteAddressMatchConditionParametersArgs']): + """ + Defines the RemoteAddress condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'RemoteAddress'. + :param pulumi.Input['RemoteAddressMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RemoteAddress') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'RemoteAddress'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RemoteAddressMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RemoteAddressMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRequestBodyConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RequestBodyMatchConditionParametersArgs']): + """ + Defines the RequestBody condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'RequestBody'. + :param pulumi.Input['RequestBodyMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestBody') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestBody'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RequestBodyMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RequestBodyMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRequestHeaderActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['HeaderActionParametersArgs']): + """ + Defines the request header action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'ModifyRequestHeader'. + :param pulumi.Input['HeaderActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'ModifyRequestHeader') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'ModifyRequestHeader'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['HeaderActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['HeaderActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRequestHeaderConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RequestHeaderMatchConditionParametersArgs']): + """ + Defines the RequestHeader condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'RequestHeader'. + :param pulumi.Input['RequestHeaderMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestHeader') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestHeader'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RequestHeaderMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RequestHeaderMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRequestMethodConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RequestMethodMatchConditionParametersArgs']): + """ + Defines the RequestMethod condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'RequestMethod'. + :param pulumi.Input['RequestMethodMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestMethod') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestMethod'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RequestMethodMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RequestMethodMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRequestSchemeConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RequestSchemeMatchConditionParametersArgs']): + """ + Defines the RequestScheme condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'RequestScheme'. + :param pulumi.Input['RequestSchemeMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestScheme') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestScheme'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RequestSchemeMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RequestSchemeMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRequestUriConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RequestUriMatchConditionParametersArgs']): + """ + Defines the RequestUri condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'RequestUri'. + :param pulumi.Input['RequestUriMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestUri') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestUri'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RequestUriMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RequestUriMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleResponseHeaderActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['HeaderActionParametersArgs']): + """ + Defines the response header action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'ModifyResponseHeader'. + :param pulumi.Input['HeaderActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'ModifyResponseHeader') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'ModifyResponseHeader'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['HeaderActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['HeaderActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleRouteConfigurationOverrideActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['RouteConfigurationOverrideActionParametersArgs']): + """ + Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'RouteConfigurationOverride'. + :param pulumi.Input['RouteConfigurationOverrideActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'RouteConfigurationOverride') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'RouteConfigurationOverride'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['RouteConfigurationOverrideActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['RouteConfigurationOverrideActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleServerPortConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['ServerPortMatchConditionParametersArgs']): + """ + Defines the ServerPort condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'ServerPort'. + :param pulumi.Input['ServerPortMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'ServerPort') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'ServerPort'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['ServerPortMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['ServerPortMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleSocketAddrConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['SocketAddrMatchConditionParametersArgs']): + """ + Defines the SocketAddress condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'SocketAddr'. + :param pulumi.Input['SocketAddrMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'SocketAddr') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'SocketAddr'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['SocketAddrMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['SocketAddrMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleSslProtocolConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['SslProtocolMatchConditionParametersArgs']): + """ + Defines the SslProtocol condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'SslProtocol'. + :param pulumi.Input['SslProtocolMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'SslProtocol') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'SslProtocol'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['SslProtocolMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['SslProtocolMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleUrlFileExtensionConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['UrlFileExtensionMatchConditionParametersArgs']): + """ + Defines the UrlFileExtension condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'UrlFileExtension'. + :param pulumi.Input['UrlFileExtensionMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'UrlFileExtension') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'UrlFileExtension'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['UrlFileExtensionMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['UrlFileExtensionMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleUrlFileNameConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['UrlFileNameMatchConditionParametersArgs']): + """ + Defines the UrlFileName condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'UrlFileName'. + :param pulumi.Input['UrlFileNameMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'UrlFileName') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'UrlFileName'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['UrlFileNameMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['UrlFileNameMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleUrlPathConditionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['UrlPathMatchConditionParametersArgs']): + """ + Defines the UrlPath condition for the delivery rule. + :param pulumi.Input[str] name: The name of the condition for the delivery rule. + Expected value is 'UrlPath'. + :param pulumi.Input['UrlPathMatchConditionParametersArgs'] parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'UrlPath') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the condition for the delivery rule. + Expected value is 'UrlPath'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['UrlPathMatchConditionParametersArgs']: + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['UrlPathMatchConditionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class DeliveryRuleArgs: + def __init__(__self__, *, + actions: pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]], + order: pulumi.Input[int], + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + A rule that specifies a set of actions and conditions + :param pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]] actions: A list of actions that are executed when all the conditions of a rule are satisfied. + :param pulumi.Input[int] order: The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + :param pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]] conditions: A list of conditions that must be matched for the actions to be executed + :param pulumi.Input[str] name: Name of the rule + """ + pulumi.set(__self__, "actions", actions) + pulumi.set(__self__, "order", order) + if conditions is not None: + pulumi.set(__self__, "conditions", conditions) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def actions(self) -> pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]]: + """ + A list of actions that are executed when all the conditions of a rule are satisfied. + """ + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[int]: + """ + The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[int]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]]]: + """ + A list of conditions that must be matched for the actions to be executed + """ + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]]]): + pulumi.set(self, "conditions", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the rule + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class EndpointPropertiesUpdateParametersDeliveryPolicyArgs: + def __init__(__self__, *, + rules: pulumi.Input[Sequence[pulumi.Input['DeliveryRuleArgs']]], + description: Optional[pulumi.Input[str]] = None): + """ + A policy that specifies the delivery rules to be used for an endpoint. + :param pulumi.Input[Sequence[pulumi.Input['DeliveryRuleArgs']]] rules: A list of the delivery rules. + :param pulumi.Input[str] description: User-friendly description of the policy. + """ + pulumi.set(__self__, "rules", rules) + if description is not None: + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter + def rules(self) -> pulumi.Input[Sequence[pulumi.Input['DeliveryRuleArgs']]]: + """ + A list of the delivery rules. + """ + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: pulumi.Input[Sequence[pulumi.Input['DeliveryRuleArgs']]]): + pulumi.set(self, "rules", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + User-friendly description of the policy. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + +@pulumi.input_type +class EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Defines the Web Application Firewall policy for the endpoint (if applicable) + :param pulumi.Input[str] id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GeoFilterArgs: + def __init__(__self__, *, + action: pulumi.Input['GeoFilterActions'], + country_codes: pulumi.Input[Sequence[pulumi.Input[str]]], + relative_path: pulumi.Input[str]): + """ + Rules defining user's geo access within a CDN endpoint. + :param pulumi.Input['GeoFilterActions'] action: Action of the geo filter, i.e. allow or block access. + :param pulumi.Input[Sequence[pulumi.Input[str]]] country_codes: Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + :param pulumi.Input[str] relative_path: Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "country_codes", country_codes) + pulumi.set(__self__, "relative_path", relative_path) + + @property + @pulumi.getter + def action(self) -> pulumi.Input['GeoFilterActions']: + """ + Action of the geo filter, i.e. allow or block access. + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input['GeoFilterActions']): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="countryCodes") + def country_codes(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + """ + return pulumi.get(self, "country_codes") + + @country_codes.setter + def country_codes(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "country_codes", value) + + @property + @pulumi.getter(name="relativePath") + def relative_path(self) -> pulumi.Input[str]: + """ + Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + """ + return pulumi.get(self, "relative_path") + + @relative_path.setter + def relative_path(self, value: pulumi.Input[str]): + pulumi.set(self, "relative_path", value) + + +@pulumi.input_type +class HeaderActionParametersArgs: + def __init__(__self__, *, + header_action: pulumi.Input[Union[str, 'HeaderAction']], + header_name: pulumi.Input[str], + type_name: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None): + """ + Defines the parameters for the request header action. + :param pulumi.Input[Union[str, 'HeaderAction']] header_action: Action to perform + :param pulumi.Input[str] header_name: Name of the header to modify + :param pulumi.Input[str] value: Value for the specified action + """ + pulumi.set(__self__, "header_action", header_action) + pulumi.set(__self__, "header_name", header_name) + pulumi.set(__self__, "type_name", type_name) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="headerAction") + def header_action(self) -> pulumi.Input[Union[str, 'HeaderAction']]: + """ + Action to perform + """ + return pulumi.get(self, "header_action") + + @header_action.setter + def header_action(self, value: pulumi.Input[Union[str, 'HeaderAction']]): + pulumi.set(self, "header_action", value) + + @property + @pulumi.getter(name="headerName") + def header_name(self) -> pulumi.Input[str]: + """ + Name of the header to modify + """ + return pulumi.get(self, "header_name") + + @header_name.setter + def header_name(self, value: pulumi.Input[str]): + pulumi.set(self, "header_name", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Value for the specified action + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class HealthProbeParametersArgs: + def __init__(__self__, *, + probe_interval_in_seconds: Optional[pulumi.Input[int]] = None, + probe_path: Optional[pulumi.Input[str]] = None, + probe_protocol: Optional[pulumi.Input['ProbeProtocol']] = None, + probe_request_type: Optional[pulumi.Input['HealthProbeRequestType']] = None): + """ + The JSON object that contains the properties to send health probes to origin. + :param pulumi.Input[int] probe_interval_in_seconds: The number of seconds between health probes.Default is 240sec. + :param pulumi.Input[str] probe_path: The path relative to the origin that is used to determine the health of the origin. + :param pulumi.Input['ProbeProtocol'] probe_protocol: Protocol to use for health probe. + :param pulumi.Input['HealthProbeRequestType'] probe_request_type: The type of health probe request that is made. + """ + if probe_interval_in_seconds is not None: + pulumi.set(__self__, "probe_interval_in_seconds", probe_interval_in_seconds) + if probe_path is not None: + pulumi.set(__self__, "probe_path", probe_path) + if probe_protocol is not None: + pulumi.set(__self__, "probe_protocol", probe_protocol) + if probe_request_type is not None: + pulumi.set(__self__, "probe_request_type", probe_request_type) + + @property + @pulumi.getter(name="probeIntervalInSeconds") + def probe_interval_in_seconds(self) -> Optional[pulumi.Input[int]]: + """ + The number of seconds between health probes.Default is 240sec. + """ + return pulumi.get(self, "probe_interval_in_seconds") + + @probe_interval_in_seconds.setter + def probe_interval_in_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "probe_interval_in_seconds", value) + + @property + @pulumi.getter(name="probePath") + def probe_path(self) -> Optional[pulumi.Input[str]]: + """ + The path relative to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "probe_path") + + @probe_path.setter + def probe_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "probe_path", value) + + @property + @pulumi.getter(name="probeProtocol") + def probe_protocol(self) -> Optional[pulumi.Input['ProbeProtocol']]: + """ + Protocol to use for health probe. + """ + return pulumi.get(self, "probe_protocol") + + @probe_protocol.setter + def probe_protocol(self, value: Optional[pulumi.Input['ProbeProtocol']]): + pulumi.set(self, "probe_protocol", value) + + @property + @pulumi.getter(name="probeRequestType") + def probe_request_type(self) -> Optional[pulumi.Input['HealthProbeRequestType']]: + """ + The type of health probe request that is made. + """ + return pulumi.get(self, "probe_request_type") + + @probe_request_type.setter + def probe_request_type(self, value: Optional[pulumi.Input['HealthProbeRequestType']]): + pulumi.set(self, "probe_request_type", value) + + +@pulumi.input_type +class HostNameMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'HostNameOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for HostName match conditions + :param pulumi.Input[Union[str, 'HostNameOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'HostNameOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'HostNameOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class HttpErrorRangeParametersArgs: + def __init__(__self__, *, + begin: Optional[pulumi.Input[int]] = None, + end: Optional[pulumi.Input[int]] = None): + """ + The JSON object that represents the range for http status codes + :param pulumi.Input[int] begin: The inclusive start of the http status code range. + :param pulumi.Input[int] end: The inclusive end of the http status code range. + """ + if begin is not None: + pulumi.set(__self__, "begin", begin) + if end is not None: + pulumi.set(__self__, "end", end) + + @property + @pulumi.getter + def begin(self) -> Optional[pulumi.Input[int]]: + """ + The inclusive start of the http status code range. + """ + return pulumi.get(self, "begin") + + @begin.setter + def begin(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "begin", value) + + @property + @pulumi.getter + def end(self) -> Optional[pulumi.Input[int]]: + """ + The inclusive end of the http status code range. + """ + return pulumi.get(self, "end") + + @end.setter + def end(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "end", value) + + +@pulumi.input_type +class HttpVersionMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'HttpVersionOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for HttpVersion match conditions + :param pulumi.Input[Union[str, 'HttpVersionOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'HttpVersionOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'HttpVersionOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class IsDeviceMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'IsDeviceOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for IsDevice match conditions + :param pulumi.Input[Union[str, 'IsDeviceOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'IsDeviceOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'IsDeviceOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class KeyVaultSigningKeyParametersArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + secret_name: pulumi.Input[str], + secret_version: pulumi.Input[str], + subscription_id: pulumi.Input[str], + type_name: pulumi.Input[str], + vault_name: pulumi.Input[str]): + """ + Describes the parameters for using a user's KeyVault for URL Signing Key. + :param pulumi.Input[str] resource_group_name: Resource group of the user's Key Vault containing the secret + :param pulumi.Input[str] secret_name: The name of secret in Key Vault. + :param pulumi.Input[str] secret_version: The version(GUID) of secret in Key Vault. + :param pulumi.Input[str] subscription_id: Subscription Id of the user's Key Vault containing the secret + :param pulumi.Input[str] vault_name: The name of the user's Key Vault containing the secret + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "secret_name", secret_name) + pulumi.set(__self__, "secret_version", secret_version) + pulumi.set(__self__, "subscription_id", subscription_id) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "vault_name", vault_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Resource group of the user's Key Vault containing the secret + """ + 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(name="secretName") + def secret_name(self) -> pulumi.Input[str]: + """ + The name of secret in Key Vault. + """ + return pulumi.get(self, "secret_name") + + @secret_name.setter + def secret_name(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_name", value) + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> pulumi.Input[str]: + """ + The version(GUID) of secret in Key Vault. + """ + return pulumi.get(self, "secret_version") + + @secret_version.setter + def secret_version(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_version", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> pulumi.Input[str]: + """ + Subscription Id of the user's Key Vault containing the secret + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subscription_id", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="vaultName") + def vault_name(self) -> pulumi.Input[str]: + """ + The name of the user's Key Vault containing the secret + """ + return pulumi.get(self, "vault_name") + + @vault_name.setter + def vault_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vault_name", value) + + +@pulumi.input_type +class LoadBalancingSettingsParametersArgs: + def __init__(__self__, *, + additional_latency_in_milliseconds: Optional[pulumi.Input[int]] = None, + sample_size: Optional[pulumi.Input[int]] = None, + successful_samples_required: Optional[pulumi.Input[int]] = None): + """ + Round-Robin load balancing settings for a backend pool + :param pulumi.Input[int] additional_latency_in_milliseconds: The additional latency in milliseconds for probes to fall into the lowest latency bucket + :param pulumi.Input[int] sample_size: The number of samples to consider for load balancing decisions + :param pulumi.Input[int] successful_samples_required: The number of samples within the sample period that must succeed + """ + if additional_latency_in_milliseconds is not None: + pulumi.set(__self__, "additional_latency_in_milliseconds", additional_latency_in_milliseconds) + if sample_size is not None: + pulumi.set(__self__, "sample_size", sample_size) + if successful_samples_required is not None: + pulumi.set(__self__, "successful_samples_required", successful_samples_required) + + @property + @pulumi.getter(name="additionalLatencyInMilliseconds") + def additional_latency_in_milliseconds(self) -> Optional[pulumi.Input[int]]: + """ + The additional latency in milliseconds for probes to fall into the lowest latency bucket + """ + return pulumi.get(self, "additional_latency_in_milliseconds") + + @additional_latency_in_milliseconds.setter + def additional_latency_in_milliseconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "additional_latency_in_milliseconds", value) + + @property + @pulumi.getter(name="sampleSize") + def sample_size(self) -> Optional[pulumi.Input[int]]: + """ + The number of samples to consider for load balancing decisions + """ + return pulumi.get(self, "sample_size") + + @sample_size.setter + def sample_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "sample_size", value) + + @property + @pulumi.getter(name="successfulSamplesRequired") + def successful_samples_required(self) -> Optional[pulumi.Input[int]]: + """ + The number of samples within the sample period that must succeed + """ + return pulumi.get(self, "successful_samples_required") + + @successful_samples_required.setter + def successful_samples_required(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "successful_samples_required", value) + + +@pulumi.input_type +class ManagedCertificateParametersArgs: + def __init__(__self__, *, + type: pulumi.Input[str]): + """ + Managed Certificate used for https + :param pulumi.Input[str] type: The type of the secret resource. + Expected value is 'ManagedCertificate'. + """ + pulumi.set(__self__, "type", 'ManagedCertificate') + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the secret resource. + Expected value is 'ManagedCertificate'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class ManagedRuleGroupOverrideArgs: + def __init__(__self__, *, + rule_group_name: pulumi.Input[str], + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleOverrideArgs']]]] = None): + """ + Defines a managed rule group override setting. + :param pulumi.Input[str] rule_group_name: Describes the managed rule group within the rule set to override + :param pulumi.Input[Sequence[pulumi.Input['ManagedRuleOverrideArgs']]] rules: List of rules that will be enabled. If none specified, all rules in the group will be disabled. + """ + pulumi.set(__self__, "rule_group_name", rule_group_name) + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="ruleGroupName") + def rule_group_name(self) -> pulumi.Input[str]: + """ + Describes the managed rule group within the rule set to override + """ + return pulumi.get(self, "rule_group_name") + + @rule_group_name.setter + def rule_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_group_name", value) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleOverrideArgs']]]]: + """ + List of rules that will be enabled. If none specified, all rules in the group will be disabled. + """ + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleOverrideArgs']]]]): + pulumi.set(self, "rules", value) + + +@pulumi.input_type +class ManagedRuleOverrideArgs: + def __init__(__self__, *, + rule_id: pulumi.Input[str], + action: Optional[pulumi.Input[Union[str, 'ActionType']]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'ManagedRuleEnabledState']]] = None): + """ + Defines a managed rule group override setting. + :param pulumi.Input[str] rule_id: Identifier for the managed rule. + :param pulumi.Input[Union[str, 'ActionType']] action: Describes the override action to be applied when rule matches. + :param pulumi.Input[Union[str, 'ManagedRuleEnabledState']] enabled_state: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + """ + pulumi.set(__self__, "rule_id", rule_id) + if action is not None: + pulumi.set(__self__, "action", action) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> pulumi.Input[str]: + """ + Identifier for the managed rule. + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_id", value) + + @property + @pulumi.getter + def action(self) -> Optional[pulumi.Input[Union[str, 'ActionType']]]: + """ + Describes the override action to be applied when rule matches. + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: Optional[pulumi.Input[Union[str, 'ActionType']]]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'ManagedRuleEnabledState']]]: + """ + Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'ManagedRuleEnabledState']]]): + pulumi.set(self, "enabled_state", value) + + +@pulumi.input_type +class ManagedRuleSetListArgs: + def __init__(__self__, *, + managed_rule_sets: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleSetArgs']]]] = None): + """ + Defines the list of managed rule sets for the policy. + :param pulumi.Input[Sequence[pulumi.Input['ManagedRuleSetArgs']]] managed_rule_sets: List of rule sets. + """ + if managed_rule_sets is not None: + pulumi.set(__self__, "managed_rule_sets", managed_rule_sets) + + @property + @pulumi.getter(name="managedRuleSets") + def managed_rule_sets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleSetArgs']]]]: + """ + List of rule sets. + """ + return pulumi.get(self, "managed_rule_sets") + + @managed_rule_sets.setter + def managed_rule_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleSetArgs']]]]): + pulumi.set(self, "managed_rule_sets", value) + + +@pulumi.input_type +class ManagedRuleSetArgs: + def __init__(__self__, *, + rule_set_type: pulumi.Input[str], + rule_set_version: pulumi.Input[str], + anomaly_score: Optional[pulumi.Input[int]] = None, + rule_group_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleGroupOverrideArgs']]]] = None): + """ + Defines a managed rule set. + :param pulumi.Input[str] rule_set_type: Defines the rule set type to use. + :param pulumi.Input[str] rule_set_version: Defines the version of the rule set to use. + :param pulumi.Input[int] anomaly_score: Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. + :param pulumi.Input[Sequence[pulumi.Input['ManagedRuleGroupOverrideArgs']]] rule_group_overrides: Defines the rule overrides to apply to the rule set. + """ + pulumi.set(__self__, "rule_set_type", rule_set_type) + pulumi.set(__self__, "rule_set_version", rule_set_version) + if anomaly_score is not None: + pulumi.set(__self__, "anomaly_score", anomaly_score) + if rule_group_overrides is not None: + pulumi.set(__self__, "rule_group_overrides", rule_group_overrides) + + @property + @pulumi.getter(name="ruleSetType") + def rule_set_type(self) -> pulumi.Input[str]: + """ + Defines the rule set type to use. + """ + return pulumi.get(self, "rule_set_type") + + @rule_set_type.setter + def rule_set_type(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_set_type", value) + + @property + @pulumi.getter(name="ruleSetVersion") + def rule_set_version(self) -> pulumi.Input[str]: + """ + Defines the version of the rule set to use. + """ + return pulumi.get(self, "rule_set_version") + + @rule_set_version.setter + def rule_set_version(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_set_version", value) + + @property + @pulumi.getter(name="anomalyScore") + def anomaly_score(self) -> Optional[pulumi.Input[int]]: + """ + Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. + """ + return pulumi.get(self, "anomaly_score") + + @anomaly_score.setter + def anomaly_score(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "anomaly_score", value) + + @property + @pulumi.getter(name="ruleGroupOverrides") + def rule_group_overrides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleGroupOverrideArgs']]]]: + """ + Defines the rule overrides to apply to the rule set. + """ + return pulumi.get(self, "rule_group_overrides") + + @rule_group_overrides.setter + def rule_group_overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedRuleGroupOverrideArgs']]]]): + pulumi.set(self, "rule_group_overrides", value) + + +@pulumi.input_type +class ManagedServiceIdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ManagedServiceIdentityType']]: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ManagedServiceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class MatchConditionArgs: + def __init__(__self__, *, + match_value: pulumi.Input[Sequence[pulumi.Input[str]]], + match_variable: pulumi.Input[Union[str, 'WafMatchVariable']], + operator: pulumi.Input[Union[str, 'Operator']], + negate_condition: Optional[pulumi.Input[bool]] = None, + selector: Optional[pulumi.Input[str]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'TransformType']]]]] = None): + """ + Define match conditions + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_value: List of possible match values. + :param pulumi.Input[Union[str, 'WafMatchVariable']] match_variable: Match variable to compare against. + :param pulumi.Input[Union[str, 'Operator']] operator: Describes operator to be matched + :param pulumi.Input[bool] negate_condition: Describes if the result of this condition should be negated. + :param pulumi.Input[str] selector: Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'TransformType']]]] transforms: List of transforms. + """ + pulumi.set(__self__, "match_value", match_value) + pulumi.set(__self__, "match_variable", match_variable) + pulumi.set(__self__, "operator", operator) + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter(name="matchValue") + def match_value(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of possible match values. + """ + return pulumi.get(self, "match_value") + + @match_value.setter + def match_value(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "match_value", value) + + @property + @pulumi.getter(name="matchVariable") + def match_variable(self) -> pulumi.Input[Union[str, 'WafMatchVariable']]: + """ + Match variable to compare against. + """ + return pulumi.get(self, "match_variable") + + @match_variable.setter + def match_variable(self, value: pulumi.Input[Union[str, 'WafMatchVariable']]): + pulumi.set(self, "match_variable", value) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'Operator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'Operator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if the result of this condition should be negated. + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def selector(self) -> Optional[pulumi.Input[str]]: + """ + Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + """ + return pulumi.get(self, "selector") + + @selector.setter + def selector(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "selector", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'TransformType']]]]]: + """ + List of transforms. + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'TransformType']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class OriginGroupOverrideActionParametersArgs: + def __init__(__self__, *, + origin_group: pulumi.Input['ResourceReferenceArgs'], + type_name: pulumi.Input[str]): + """ + Defines the parameters for the origin group override action. + :param pulumi.Input['ResourceReferenceArgs'] origin_group: defines the OriginGroup that would override the DefaultOriginGroup. + """ + pulumi.set(__self__, "origin_group", origin_group) + pulumi.set(__self__, "type_name", type_name) + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> pulumi.Input['ResourceReferenceArgs']: + """ + defines the OriginGroup that would override the DefaultOriginGroup. + """ + return pulumi.get(self, "origin_group") + + @origin_group.setter + def origin_group(self, value: pulumi.Input['ResourceReferenceArgs']): + pulumi.set(self, "origin_group", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + +@pulumi.input_type +class OriginGroupOverrideActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['OriginGroupOverrideActionParametersArgs']): + """ + Defines the origin group override action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'OriginGroupOverride'. + :param pulumi.Input['OriginGroupOverrideActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'OriginGroupOverride') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'OriginGroupOverride'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['OriginGroupOverrideActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['OriginGroupOverrideActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class OriginGroupOverrideArgs: + def __init__(__self__, *, + forwarding_protocol: Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]] = None, + origin_group: Optional[pulumi.Input['ResourceReferenceArgs']] = None): + """ + Defines the parameters for the origin group override configuration. + :param pulumi.Input[Union[str, 'ForwardingProtocol']] forwarding_protocol: Protocol this rule will use when forwarding traffic to backends. + :param pulumi.Input['ResourceReferenceArgs'] origin_group: defines the OriginGroup that would override the DefaultOriginGroup on route. + """ + if forwarding_protocol is not None: + pulumi.set(__self__, "forwarding_protocol", forwarding_protocol) + if origin_group is not None: + pulumi.set(__self__, "origin_group", origin_group) + + @property + @pulumi.getter(name="forwardingProtocol") + def forwarding_protocol(self) -> Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]]: + """ + Protocol this rule will use when forwarding traffic to backends. + """ + return pulumi.get(self, "forwarding_protocol") + + @forwarding_protocol.setter + def forwarding_protocol(self, value: Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]]): + pulumi.set(self, "forwarding_protocol", value) + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + defines the OriginGroup that would override the DefaultOriginGroup on route. + """ + return pulumi.get(self, "origin_group") + + @origin_group.setter + def origin_group(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "origin_group", value) + + +@pulumi.input_type +class PolicySettingsArgs: + def __init__(__self__, *, + default_custom_block_response_body: Optional[pulumi.Input[str]] = None, + default_custom_block_response_status_code: Optional[pulumi.Input[int]] = None, + default_redirect_url: Optional[pulumi.Input[str]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'PolicyEnabledState']]] = None, + mode: Optional[pulumi.Input[Union[str, 'PolicyMode']]] = None): + """ + Defines contents of a web application firewall global configuration + :param pulumi.Input[str] default_custom_block_response_body: If the action type is block, customer can override the response body. The body must be specified in base64 encoding. + :param pulumi.Input[int] default_custom_block_response_status_code: If the action type is block, this field defines the default customer overridable http response status code. + :param pulumi.Input[str] default_redirect_url: If action type is redirect, this field represents the default redirect URL for the client. + :param pulumi.Input[Union[str, 'PolicyEnabledState']] enabled_state: describes if the policy is in enabled state or disabled state + :param pulumi.Input[Union[str, 'PolicyMode']] mode: Describes if it is in detection mode or prevention mode at policy level. + """ + if default_custom_block_response_body is not None: + pulumi.set(__self__, "default_custom_block_response_body", default_custom_block_response_body) + if default_custom_block_response_status_code is not None: + pulumi.set(__self__, "default_custom_block_response_status_code", default_custom_block_response_status_code) + if default_redirect_url is not None: + pulumi.set(__self__, "default_redirect_url", default_redirect_url) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + if mode is not None: + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter(name="defaultCustomBlockResponseBody") + def default_custom_block_response_body(self) -> Optional[pulumi.Input[str]]: + """ + If the action type is block, customer can override the response body. The body must be specified in base64 encoding. + """ + return pulumi.get(self, "default_custom_block_response_body") + + @default_custom_block_response_body.setter + def default_custom_block_response_body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_custom_block_response_body", value) + + @property + @pulumi.getter(name="defaultCustomBlockResponseStatusCode") + def default_custom_block_response_status_code(self) -> Optional[pulumi.Input[int]]: + """ + If the action type is block, this field defines the default customer overridable http response status code. + """ + return pulumi.get(self, "default_custom_block_response_status_code") + + @default_custom_block_response_status_code.setter + def default_custom_block_response_status_code(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_custom_block_response_status_code", value) + + @property + @pulumi.getter(name="defaultRedirectUrl") + def default_redirect_url(self) -> Optional[pulumi.Input[str]]: + """ + If action type is redirect, this field represents the default redirect URL for the client. + """ + return pulumi.get(self, "default_redirect_url") + + @default_redirect_url.setter + def default_redirect_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_redirect_url", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'PolicyEnabledState']]]: + """ + describes if the policy is in enabled state or disabled state + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'PolicyEnabledState']]]): + pulumi.set(self, "enabled_state", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[Union[str, 'PolicyMode']]]: + """ + Describes if it is in detection mode or prevention mode at policy level. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[Union[str, 'PolicyMode']]]): + pulumi.set(self, "mode", value) + + +@pulumi.input_type +class PostArgsMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'PostArgsOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + selector: Optional[pulumi.Input[str]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for PostArgs match conditions + :param pulumi.Input[Union[str, 'PostArgsOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[str] selector: Name of PostArg to be matched + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'PostArgsOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'PostArgsOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def selector(self) -> Optional[pulumi.Input[str]]: + """ + Name of PostArg to be matched + """ + return pulumi.get(self, "selector") + + @selector.setter + def selector(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "selector", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class QueryStringMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'QueryStringOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for QueryString match conditions + :param pulumi.Input[Union[str, 'QueryStringOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'QueryStringOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'QueryStringOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class RateLimitRuleListArgs: + def __init__(__self__, *, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['RateLimitRuleArgs']]]] = None): + """ + Defines contents of rate limit rules + :param pulumi.Input[Sequence[pulumi.Input['RateLimitRuleArgs']]] rules: List of rules + """ + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RateLimitRuleArgs']]]]: + """ + List of rules + """ + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RateLimitRuleArgs']]]]): + pulumi.set(self, "rules", value) + + +@pulumi.input_type +class RateLimitRuleArgs: + def __init__(__self__, *, + action: pulumi.Input[Union[str, 'ActionType']], + match_conditions: pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]], + name: pulumi.Input[str], + priority: pulumi.Input[int], + rate_limit_duration_in_minutes: pulumi.Input[int], + rate_limit_threshold: pulumi.Input[int], + enabled_state: Optional[pulumi.Input[Union[str, 'CustomRuleEnabledState']]] = None): + """ + Defines a rate limiting rule that can be included in a waf policy + :param pulumi.Input[Union[str, 'ActionType']] action: Describes what action to be applied when rule matches + :param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: List of match conditions. + :param pulumi.Input[str] name: Defines the name of the custom rule + :param pulumi.Input[int] priority: Defines in what order this rule be evaluated in the overall list of custom rules + :param pulumi.Input[int] rate_limit_duration_in_minutes: Defines rate limit duration. Default is 1 minute. + :param pulumi.Input[int] rate_limit_threshold: Defines rate limit threshold. + :param pulumi.Input[Union[str, 'CustomRuleEnabledState']] enabled_state: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "match_conditions", match_conditions) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "priority", priority) + pulumi.set(__self__, "rate_limit_duration_in_minutes", rate_limit_duration_in_minutes) + pulumi.set(__self__, "rate_limit_threshold", rate_limit_threshold) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + + @property + @pulumi.getter + def action(self) -> pulumi.Input[Union[str, 'ActionType']]: + """ + Describes what action to be applied when rule matches + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input[Union[str, 'ActionType']]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter(name="matchConditions") + def match_conditions(self) -> pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]: + """ + List of match conditions. + """ + return pulumi.get(self, "match_conditions") + + @match_conditions.setter + def match_conditions(self, value: pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]): + pulumi.set(self, "match_conditions", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Defines the name of the custom rule + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def priority(self) -> pulumi.Input[int]: + """ + Defines in what order this rule be evaluated in the overall list of custom rules + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: pulumi.Input[int]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="rateLimitDurationInMinutes") + def rate_limit_duration_in_minutes(self) -> pulumi.Input[int]: + """ + Defines rate limit duration. Default is 1 minute. + """ + return pulumi.get(self, "rate_limit_duration_in_minutes") + + @rate_limit_duration_in_minutes.setter + def rate_limit_duration_in_minutes(self, value: pulumi.Input[int]): + pulumi.set(self, "rate_limit_duration_in_minutes", value) + + @property + @pulumi.getter(name="rateLimitThreshold") + def rate_limit_threshold(self) -> pulumi.Input[int]: + """ + Defines rate limit threshold. + """ + return pulumi.get(self, "rate_limit_threshold") + + @rate_limit_threshold.setter + def rate_limit_threshold(self, value: pulumi.Input[int]): + pulumi.set(self, "rate_limit_threshold", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'CustomRuleEnabledState']]]: + """ + Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'CustomRuleEnabledState']]]): + pulumi.set(self, "enabled_state", value) + + +@pulumi.input_type +class RemoteAddressMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'RemoteAddressOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for RemoteAddress match conditions + :param pulumi.Input[Union[str, 'RemoteAddressOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'RemoteAddressOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'RemoteAddressOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class RequestBodyMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'RequestBodyOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for RequestBody match conditions + :param pulumi.Input[Union[str, 'RequestBodyOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'RequestBodyOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'RequestBodyOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class RequestHeaderMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'RequestHeaderOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + selector: Optional[pulumi.Input[str]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for RequestHeader match conditions + :param pulumi.Input[Union[str, 'RequestHeaderOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[str] selector: Name of Header to be matched + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'RequestHeaderOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'RequestHeaderOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def selector(self) -> Optional[pulumi.Input[str]]: + """ + Name of Header to be matched + """ + return pulumi.get(self, "selector") + + @selector.setter + def selector(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "selector", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class RequestMethodMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'RequestMethodOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for RequestMethod match conditions + :param pulumi.Input[Union[str, 'RequestMethodOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'RequestMethodOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'RequestMethodOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class RequestSchemeMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[str], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for RequestScheme match conditions + :param pulumi.Input[str] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[str]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[str]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class RequestUriMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'RequestUriOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for RequestUri match conditions + :param pulumi.Input[Union[str, 'RequestUriOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'RequestUriOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'RequestUriOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class ResourceReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Reference to another resource. + :param pulumi.Input[str] id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class ResponseBasedOriginErrorDetectionParametersArgs: + def __init__(__self__, *, + http_error_ranges: Optional[pulumi.Input[Sequence[pulumi.Input['HttpErrorRangeParametersArgs']]]] = None, + response_based_detected_error_types: Optional[pulumi.Input['ResponseBasedDetectedErrorTypes']] = None, + response_based_failover_threshold_percentage: Optional[pulumi.Input[int]] = None): + """ + The JSON object that contains the properties to determine origin health using real requests/responses. + :param pulumi.Input[Sequence[pulumi.Input['HttpErrorRangeParametersArgs']]] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + :param pulumi.Input['ResponseBasedDetectedErrorTypes'] response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy + :param pulumi.Input[int] response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger. + """ + if http_error_ranges is not None: + pulumi.set(__self__, "http_error_ranges", http_error_ranges) + if response_based_detected_error_types is not None: + pulumi.set(__self__, "response_based_detected_error_types", response_based_detected_error_types) + if response_based_failover_threshold_percentage is not None: + pulumi.set(__self__, "response_based_failover_threshold_percentage", response_based_failover_threshold_percentage) + + @property + @pulumi.getter(name="httpErrorRanges") + def http_error_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HttpErrorRangeParametersArgs']]]]: + """ + The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + """ + return pulumi.get(self, "http_error_ranges") + + @http_error_ranges.setter + def http_error_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HttpErrorRangeParametersArgs']]]]): + pulumi.set(self, "http_error_ranges", value) + + @property + @pulumi.getter(name="responseBasedDetectedErrorTypes") + def response_based_detected_error_types(self) -> Optional[pulumi.Input['ResponseBasedDetectedErrorTypes']]: + """ + Type of response errors for real user requests for which origin will be deemed unhealthy + """ + return pulumi.get(self, "response_based_detected_error_types") + + @response_based_detected_error_types.setter + def response_based_detected_error_types(self, value: Optional[pulumi.Input['ResponseBasedDetectedErrorTypes']]): + pulumi.set(self, "response_based_detected_error_types", value) + + @property + @pulumi.getter(name="responseBasedFailoverThresholdPercentage") + def response_based_failover_threshold_percentage(self) -> Optional[pulumi.Input[int]]: + """ + The percentage of failed requests in the sample where failover should trigger. + """ + return pulumi.get(self, "response_based_failover_threshold_percentage") + + @response_based_failover_threshold_percentage.setter + def response_based_failover_threshold_percentage(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "response_based_failover_threshold_percentage", value) + + +@pulumi.input_type +class RouteConfigurationOverrideActionParametersArgs: + def __init__(__self__, *, + type_name: pulumi.Input[str], + cache_configuration: Optional[pulumi.Input['CacheConfigurationArgs']] = None, + origin_group_override: Optional[pulumi.Input['OriginGroupOverrideArgs']] = None): + """ + Defines the parameters for the route configuration override action. + :param pulumi.Input['CacheConfigurationArgs'] cache_configuration: The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + :param pulumi.Input['OriginGroupOverrideArgs'] origin_group_override: A reference to the origin group override configuration. Leave empty to use the default origin group on route. + """ + pulumi.set(__self__, "type_name", type_name) + if cache_configuration is not None: + pulumi.set(__self__, "cache_configuration", cache_configuration) + if origin_group_override is not None: + pulumi.set(__self__, "origin_group_override", origin_group_override) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="cacheConfiguration") + def cache_configuration(self) -> Optional[pulumi.Input['CacheConfigurationArgs']]: + """ + The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + """ + return pulumi.get(self, "cache_configuration") + + @cache_configuration.setter + def cache_configuration(self, value: Optional[pulumi.Input['CacheConfigurationArgs']]): + pulumi.set(self, "cache_configuration", value) + + @property + @pulumi.getter(name="originGroupOverride") + def origin_group_override(self) -> Optional[pulumi.Input['OriginGroupOverrideArgs']]: + """ + A reference to the origin group override configuration. Leave empty to use the default origin group on route. + """ + return pulumi.get(self, "origin_group_override") + + @origin_group_override.setter + def origin_group_override(self, value: Optional[pulumi.Input['OriginGroupOverrideArgs']]): + pulumi.set(self, "origin_group_override", value) + + +@pulumi.input_type +class SecurityPolicyWebApplicationFirewallAssociationArgs: + def __init__(__self__, *, + domains: Optional[pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]]] = None, + patterns_to_match: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + settings for security policy patterns to match + :param pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]] domains: List of domains. + :param pulumi.Input[Sequence[pulumi.Input[str]]] patterns_to_match: List of paths + """ + if domains is not None: + pulumi.set(__self__, "domains", domains) + if patterns_to_match is not None: + pulumi.set(__self__, "patterns_to_match", patterns_to_match) + + @property + @pulumi.getter + def domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]]]: + """ + List of domains. + """ + return pulumi.get(self, "domains") + + @domains.setter + def domains(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]]]): + pulumi.set(self, "domains", value) + + @property + @pulumi.getter(name="patternsToMatch") + def patterns_to_match(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of paths + """ + return pulumi.get(self, "patterns_to_match") + + @patterns_to_match.setter + def patterns_to_match(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "patterns_to_match", value) + + +@pulumi.input_type +class SecurityPolicyWebApplicationFirewallParametersArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + associations: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyWebApplicationFirewallAssociationArgs']]]] = None, + waf_policy: Optional[pulumi.Input['ResourceReferenceArgs']] = None): + """ + The json object containing security policy waf parameters + :param pulumi.Input[str] type: The type of the Security policy to create. + Expected value is 'WebApplicationFirewall'. + :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyWebApplicationFirewallAssociationArgs']]] associations: Waf associations + :param pulumi.Input['ResourceReferenceArgs'] waf_policy: Resource ID. + """ + pulumi.set(__self__, "type", 'WebApplicationFirewall') + if associations is not None: + pulumi.set(__self__, "associations", associations) + if waf_policy is not None: + pulumi.set(__self__, "waf_policy", waf_policy) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the Security policy to create. + Expected value is 'WebApplicationFirewall'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def associations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyWebApplicationFirewallAssociationArgs']]]]: + """ + Waf associations + """ + return pulumi.get(self, "associations") + + @associations.setter + def associations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyWebApplicationFirewallAssociationArgs']]]]): + pulumi.set(self, "associations", value) + + @property + @pulumi.getter(name="wafPolicy") + def waf_policy(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + Resource ID. + """ + return pulumi.get(self, "waf_policy") + + @waf_policy.setter + def waf_policy(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "waf_policy", value) + + +@pulumi.input_type +class ServerPortMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'ServerPortOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for ServerPort match conditions + :param pulumi.Input[Union[str, 'ServerPortOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'ServerPortOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'ServerPortOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class SharedPrivateLinkResourcePropertiesArgs: + def __init__(__self__, *, + group_id: Optional[pulumi.Input[str]] = None, + private_link: Optional[pulumi.Input['ResourceReferenceArgs']] = None, + private_link_location: Optional[pulumi.Input[str]] = None, + request_message: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input['SharedPrivateLinkResourceStatus']] = None): + """ + Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. + :param pulumi.Input[str] group_id: The group id from the provider of resource the shared private link resource is for. + :param pulumi.Input['ResourceReferenceArgs'] private_link: The resource id of the resource the shared private link resource is for. + :param pulumi.Input[str] private_link_location: The location of the shared private link resource + :param pulumi.Input[str] request_message: The request message for requesting approval of the shared private link resource. + :param pulumi.Input['SharedPrivateLinkResourceStatus'] status: Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_link is not None: + pulumi.set(__self__, "private_link", private_link) + if private_link_location is not None: + pulumi.set(__self__, "private_link_location", private_link_location) + if request_message is not None: + pulumi.set(__self__, "request_message", request_message) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + The group id from the provider of resource the shared private link resource is for. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="privateLink") + def private_link(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + The resource id of the resource the shared private link resource is for. + """ + return pulumi.get(self, "private_link") + + @private_link.setter + def private_link(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "private_link", value) + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the shared private link resource + """ + return pulumi.get(self, "private_link_location") + + @private_link_location.setter + def private_link_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_location", value) + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> Optional[pulumi.Input[str]]: + """ + The request message for requesting approval of the shared private link resource. + """ + return pulumi.get(self, "request_message") + + @request_message.setter + def request_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "request_message", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input['SharedPrivateLinkResourceStatus']]: + """ + Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input['SharedPrivateLinkResourceStatus']]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[Union[str, 'SkuName']]] = None): + """ + Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + Standard_Akamai = The SKU name for an Akamai CDN profile. + Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. + + :param pulumi.Input[Union[str, 'SkuName']] name: Name of the pricing tier. + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Union[str, 'SkuName']]]: + """ + Name of the pricing tier. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Union[str, 'SkuName']]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class SocketAddrMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'SocketAddrOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for SocketAddress match conditions + :param pulumi.Input[Union[str, 'SocketAddrOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'SocketAddrOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'SocketAddrOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class SslProtocolMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'SslProtocolOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SslProtocol']]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for SslProtocol match conditions + :param pulumi.Input[Union[str, 'SslProtocolOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'SslProtocol']]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'SslProtocolOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'SslProtocolOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SslProtocol']]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SslProtocol']]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class UrlFileExtensionMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'UrlFileExtensionOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for UrlFileExtension match conditions + :param pulumi.Input[Union[str, 'UrlFileExtensionOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'UrlFileExtensionOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'UrlFileExtensionOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class UrlFileNameMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'UrlFileNameOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for UrlFilename match conditions + :param pulumi.Input[Union[str, 'UrlFileNameOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'UrlFileNameOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'UrlFileNameOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class UrlPathMatchConditionParametersArgs: + def __init__(__self__, *, + operator: pulumi.Input[Union[str, 'UrlPathOperator']], + type_name: pulumi.Input[str], + match_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + negate_condition: Optional[pulumi.Input[bool]] = None, + transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]] = None): + """ + Defines the parameters for UrlPath match conditions + :param pulumi.Input[Union[str, 'UrlPathOperator']] operator: Describes operator to be matched + :param pulumi.Input[Sequence[pulumi.Input[str]]] match_values: The match value for the condition of the delivery rule + :param pulumi.Input[bool] negate_condition: Describes if this is negate condition or not + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> pulumi.Input[Union[str, 'UrlPathOperator']]: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: pulumi.Input[Union[str, 'UrlPathOperator']]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @match_values.setter + def match_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "match_values", value) + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @negate_condition.setter + def negate_condition(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "negate_condition", value) + + @property + @pulumi.getter + def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + @transforms.setter + def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Transform']]]]]): + pulumi.set(self, "transforms", value) + + +@pulumi.input_type +class UrlRedirectActionParametersArgs: + def __init__(__self__, *, + redirect_type: pulumi.Input[Union[str, 'RedirectType']], + type_name: pulumi.Input[str], + custom_fragment: Optional[pulumi.Input[str]] = None, + custom_hostname: Optional[pulumi.Input[str]] = None, + custom_path: Optional[pulumi.Input[str]] = None, + custom_query_string: Optional[pulumi.Input[str]] = None, + destination_protocol: Optional[pulumi.Input[Union[str, 'DestinationProtocol']]] = None): + """ + Defines the parameters for the url redirect action. + :param pulumi.Input[Union[str, 'RedirectType']] redirect_type: The redirect type the rule will use when redirecting traffic. + :param pulumi.Input[str] custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + :param pulumi.Input[str] custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host. + :param pulumi.Input[str] custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + :param pulumi.Input[str] custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them. + :param pulumi.Input[Union[str, 'DestinationProtocol']] destination_protocol: Protocol to use for the redirect. The default value is MatchRequest + """ + pulumi.set(__self__, "redirect_type", redirect_type) + pulumi.set(__self__, "type_name", type_name) + if custom_fragment is not None: + pulumi.set(__self__, "custom_fragment", custom_fragment) + if custom_hostname is not None: + pulumi.set(__self__, "custom_hostname", custom_hostname) + if custom_path is not None: + pulumi.set(__self__, "custom_path", custom_path) + if custom_query_string is not None: + pulumi.set(__self__, "custom_query_string", custom_query_string) + if destination_protocol is not None: + pulumi.set(__self__, "destination_protocol", destination_protocol) + + @property + @pulumi.getter(name="redirectType") + def redirect_type(self) -> pulumi.Input[Union[str, 'RedirectType']]: + """ + The redirect type the rule will use when redirecting traffic. + """ + return pulumi.get(self, "redirect_type") + + @redirect_type.setter + def redirect_type(self, value: pulumi.Input[Union[str, 'RedirectType']]): + pulumi.set(self, "redirect_type", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="customFragment") + def custom_fragment(self) -> Optional[pulumi.Input[str]]: + """ + Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + """ + return pulumi.get(self, "custom_fragment") + + @custom_fragment.setter + def custom_fragment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_fragment", value) + + @property + @pulumi.getter(name="customHostname") + def custom_hostname(self) -> Optional[pulumi.Input[str]]: + """ + Host to redirect. Leave empty to use the incoming host as the destination host. + """ + return pulumi.get(self, "custom_hostname") + + @custom_hostname.setter + def custom_hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_hostname", value) + + @property + @pulumi.getter(name="customPath") + def custom_path(self) -> Optional[pulumi.Input[str]]: + """ + The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + """ + return pulumi.get(self, "custom_path") + + @custom_path.setter + def custom_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_path", value) + + @property + @pulumi.getter(name="customQueryString") + def custom_query_string(self) -> Optional[pulumi.Input[str]]: + """ + The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them. + """ + return pulumi.get(self, "custom_query_string") + + @custom_query_string.setter + def custom_query_string(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_query_string", value) + + @property + @pulumi.getter(name="destinationProtocol") + def destination_protocol(self) -> Optional[pulumi.Input[Union[str, 'DestinationProtocol']]]: + """ + Protocol to use for the redirect. The default value is MatchRequest + """ + return pulumi.get(self, "destination_protocol") + + @destination_protocol.setter + def destination_protocol(self, value: Optional[pulumi.Input[Union[str, 'DestinationProtocol']]]): + pulumi.set(self, "destination_protocol", value) + + +@pulumi.input_type +class UrlRedirectActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['UrlRedirectActionParametersArgs']): + """ + Defines the url redirect action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'UrlRedirect'. + :param pulumi.Input['UrlRedirectActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'UrlRedirect') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'UrlRedirect'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['UrlRedirectActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['UrlRedirectActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class UrlRewriteActionParametersArgs: + def __init__(__self__, *, + destination: pulumi.Input[str], + source_pattern: pulumi.Input[str], + type_name: pulumi.Input[str], + preserve_unmatched_path: Optional[pulumi.Input[bool]] = None): + """ + Defines the parameters for the url rewrite action. + :param pulumi.Input[str] destination: Define the relative URL to which the above requests will be rewritten by. + :param pulumi.Input[str] source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + :param pulumi.Input[bool] preserve_unmatched_path: Whether to preserve unmatched path. Default value is true. + """ + pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "source_pattern", source_pattern) + pulumi.set(__self__, "type_name", type_name) + if preserve_unmatched_path is not None: + pulumi.set(__self__, "preserve_unmatched_path", preserve_unmatched_path) + + @property + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + """ + Define the relative URL to which the above requests will be rewritten by. + """ + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) + + @property + @pulumi.getter(name="sourcePattern") + def source_pattern(self) -> pulumi.Input[str]: + """ + define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + """ + return pulumi.get(self, "source_pattern") + + @source_pattern.setter + def source_pattern(self, value: pulumi.Input[str]): + pulumi.set(self, "source_pattern", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="preserveUnmatchedPath") + def preserve_unmatched_path(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to preserve unmatched path. Default value is true. + """ + return pulumi.get(self, "preserve_unmatched_path") + + @preserve_unmatched_path.setter + def preserve_unmatched_path(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "preserve_unmatched_path", value) + + +@pulumi.input_type +class UrlRewriteActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['UrlRewriteActionParametersArgs']): + """ + Defines the url rewrite action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'UrlRewrite'. + :param pulumi.Input['UrlRewriteActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'UrlRewrite') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'UrlRewrite'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['UrlRewriteActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['UrlRewriteActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class UrlSigningActionParametersArgs: + def __init__(__self__, *, + type_name: pulumi.Input[str], + algorithm: Optional[pulumi.Input[Union[str, 'Algorithm']]] = None, + parameter_name_override: Optional[pulumi.Input[Sequence[pulumi.Input['UrlSigningParamIdentifierArgs']]]] = None): + """ + Defines the parameters for the Url Signing action. + :param pulumi.Input[Union[str, 'Algorithm']] algorithm: Algorithm to use for URL signing + :param pulumi.Input[Sequence[pulumi.Input['UrlSigningParamIdentifierArgs']]] parameter_name_override: Defines which query string parameters in the url to be considered for expires, key id etc. + """ + pulumi.set(__self__, "type_name", type_name) + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if parameter_name_override is not None: + pulumi.set(__self__, "parameter_name_override", parameter_name_override) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter + def algorithm(self) -> Optional[pulumi.Input[Union[str, 'Algorithm']]]: + """ + Algorithm to use for URL signing + """ + return pulumi.get(self, "algorithm") + + @algorithm.setter + def algorithm(self, value: Optional[pulumi.Input[Union[str, 'Algorithm']]]): + pulumi.set(self, "algorithm", value) + + @property + @pulumi.getter(name="parameterNameOverride") + def parameter_name_override(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlSigningParamIdentifierArgs']]]]: + """ + Defines which query string parameters in the url to be considered for expires, key id etc. + """ + return pulumi.get(self, "parameter_name_override") + + @parameter_name_override.setter + def parameter_name_override(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlSigningParamIdentifierArgs']]]]): + pulumi.set(self, "parameter_name_override", value) + + +@pulumi.input_type +class UrlSigningActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + parameters: pulumi.Input['UrlSigningActionParametersArgs']): + """ + Defines the url signing action for the delivery rule. + :param pulumi.Input[str] name: The name of the action for the delivery rule. + Expected value is 'UrlSigning'. + :param pulumi.Input['UrlSigningActionParametersArgs'] parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'UrlSigning') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the action for the delivery rule. + Expected value is 'UrlSigning'. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def parameters(self) -> pulumi.Input['UrlSigningActionParametersArgs']: + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: pulumi.Input['UrlSigningActionParametersArgs']): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class UrlSigningKeyParametersArgs: + def __init__(__self__, *, + key_id: pulumi.Input[str], + secret_source: pulumi.Input['ResourceReferenceArgs'], + type: pulumi.Input[str], + secret_version: Optional[pulumi.Input[str]] = None): + """ + Url signing key parameters + :param pulumi.Input[str] key_id: Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + :param pulumi.Input['ResourceReferenceArgs'] secret_source: Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + :param pulumi.Input[str] type: The type of the secret resource. + Expected value is 'UrlSigningKey'. + :param pulumi.Input[str] secret_version: Version of the secret to be used + """ + pulumi.set(__self__, "key_id", key_id) + pulumi.set(__self__, "secret_source", secret_source) + pulumi.set(__self__, "type", 'UrlSigningKey') + if secret_version is not None: + pulumi.set(__self__, "secret_version", secret_version) + + @property + @pulumi.getter(name="keyId") + def key_id(self) -> pulumi.Input[str]: + """ + Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + """ + return pulumi.get(self, "key_id") + + @key_id.setter + def key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "key_id", value) + + @property + @pulumi.getter(name="secretSource") + def secret_source(self) -> pulumi.Input['ResourceReferenceArgs']: + """ + Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + """ + return pulumi.get(self, "secret_source") + + @secret_source.setter + def secret_source(self, value: pulumi.Input['ResourceReferenceArgs']): + pulumi.set(self, "secret_source", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of the secret resource. + Expected value is 'UrlSigningKey'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> Optional[pulumi.Input[str]]: + """ + Version of the secret to be used + """ + return pulumi.get(self, "secret_version") + + @secret_version.setter + def secret_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_version", value) + + +@pulumi.input_type +class UrlSigningKeyArgs: + def __init__(__self__, *, + key_id: pulumi.Input[str], + key_source_parameters: pulumi.Input['KeyVaultSigningKeyParametersArgs']): + """ + Url signing key + :param pulumi.Input[str] key_id: Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + :param pulumi.Input['KeyVaultSigningKeyParametersArgs'] key_source_parameters: Defines the parameters for using customer key vault for Url Signing Key. + """ + pulumi.set(__self__, "key_id", key_id) + pulumi.set(__self__, "key_source_parameters", key_source_parameters) + + @property + @pulumi.getter(name="keyId") + def key_id(self) -> pulumi.Input[str]: + """ + Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + """ + return pulumi.get(self, "key_id") + + @key_id.setter + def key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "key_id", value) + + @property + @pulumi.getter(name="keySourceParameters") + def key_source_parameters(self) -> pulumi.Input['KeyVaultSigningKeyParametersArgs']: + """ + Defines the parameters for using customer key vault for Url Signing Key. + """ + return pulumi.get(self, "key_source_parameters") + + @key_source_parameters.setter + def key_source_parameters(self, value: pulumi.Input['KeyVaultSigningKeyParametersArgs']): + pulumi.set(self, "key_source_parameters", value) + + +@pulumi.input_type +class UrlSigningParamIdentifierArgs: + def __init__(__self__, *, + param_indicator: pulumi.Input[Union[str, 'ParamIndicator']], + param_name: pulumi.Input[str]): + """ + Defines how to identify a parameter for a specific purpose e.g. expires + :param pulumi.Input[Union[str, 'ParamIndicator']] param_indicator: Indicates the purpose of the parameter + :param pulumi.Input[str] param_name: Parameter name + """ + pulumi.set(__self__, "param_indicator", param_indicator) + pulumi.set(__self__, "param_name", param_name) + + @property + @pulumi.getter(name="paramIndicator") + def param_indicator(self) -> pulumi.Input[Union[str, 'ParamIndicator']]: + """ + Indicates the purpose of the parameter + """ + return pulumi.get(self, "param_indicator") + + @param_indicator.setter + def param_indicator(self, value: pulumi.Input[Union[str, 'ParamIndicator']]): + pulumi.set(self, "param_indicator", value) + + @property + @pulumi.getter(name="paramName") + def param_name(self) -> pulumi.Input[str]: + """ + Parameter name + """ + return pulumi.get(self, "param_name") + + @param_name.setter + def param_name(self, value: pulumi.Input[str]): + pulumi.set(self, "param_name", value) + + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_custom_domain.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_custom_domain.py new file mode 100644 index 000000000000..32c485f3c127 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_custom_domain.py @@ -0,0 +1,379 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AFDCustomDomainArgs', 'AFDCustomDomain'] + +@pulumi.input_type +class AFDCustomDomainArgs: + def __init__(__self__, *, + host_name: pulumi.Input[str], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + azure_dns_zone: Optional[pulumi.Input['ResourceReferenceArgs']] = None, + custom_domain_name: Optional[pulumi.Input[str]] = None, + extended_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + pre_validated_custom_domain_resource_id: Optional[pulumi.Input['ResourceReferenceArgs']] = None, + tls_settings: Optional[pulumi.Input['AFDDomainHttpsParametersArgs']] = None): + """ + The set of arguments for constructing a AFDCustomDomain resource. + :param pulumi.Input[str] host_name: The host name of the domain. Must be a domain name. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['ResourceReferenceArgs'] azure_dns_zone: Resource reference to the Azure DNS zone + :param pulumi.Input[str] custom_domain_name: Name of the domain under the profile which is unique globally + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] extended_properties: Key-Value pair representing migration properties for domains. + :param pulumi.Input['ResourceReferenceArgs'] pre_validated_custom_domain_resource_id: Resource reference to the Azure resource where custom domain ownership was prevalidated + :param pulumi.Input['AFDDomainHttpsParametersArgs'] tls_settings: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + """ + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if azure_dns_zone is not None: + pulumi.set(__self__, "azure_dns_zone", azure_dns_zone) + if custom_domain_name is not None: + pulumi.set(__self__, "custom_domain_name", custom_domain_name) + if extended_properties is not None: + pulumi.set(__self__, "extended_properties", extended_properties) + if pre_validated_custom_domain_resource_id is not None: + pulumi.set(__self__, "pre_validated_custom_domain_resource_id", pre_validated_custom_domain_resource_id) + if tls_settings is not None: + pulumi.set(__self__, "tls_settings", tls_settings) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Input[str]: + """ + The host name of the domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @host_name.setter + def host_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_name", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="azureDnsZone") + def azure_dns_zone(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + Resource reference to the Azure DNS zone + """ + return pulumi.get(self, "azure_dns_zone") + + @azure_dns_zone.setter + def azure_dns_zone(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "azure_dns_zone", value) + + @property + @pulumi.getter(name="customDomainName") + def custom_domain_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the domain under the profile which is unique globally + """ + return pulumi.get(self, "custom_domain_name") + + @custom_domain_name.setter + def custom_domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_domain_name", value) + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Key-Value pair representing migration properties for domains. + """ + return pulumi.get(self, "extended_properties") + + @extended_properties.setter + def extended_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "extended_properties", value) + + @property + @pulumi.getter(name="preValidatedCustomDomainResourceId") + def pre_validated_custom_domain_resource_id(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + Resource reference to the Azure resource where custom domain ownership was prevalidated + """ + return pulumi.get(self, "pre_validated_custom_domain_resource_id") + + @pre_validated_custom_domain_resource_id.setter + def pre_validated_custom_domain_resource_id(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "pre_validated_custom_domain_resource_id", value) + + @property + @pulumi.getter(name="tlsSettings") + def tls_settings(self) -> Optional[pulumi.Input['AFDDomainHttpsParametersArgs']]: + """ + The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + """ + return pulumi.get(self, "tls_settings") + + @tls_settings.setter + def tls_settings(self, value: Optional[pulumi.Input['AFDDomainHttpsParametersArgs']]): + pulumi.set(self, "tls_settings", value) + + +class AFDCustomDomain(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + azure_dns_zone: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + custom_domain_name: Optional[pulumi.Input[str]] = None, + extended_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + pre_validated_custom_domain_resource_id: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tls_settings: Optional[pulumi.Input[pulumi.InputType['AFDDomainHttpsParametersArgs']]] = None, + __props__=None): + """ + Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ResourceReferenceArgs']] azure_dns_zone: Resource reference to the Azure DNS zone + :param pulumi.Input[str] custom_domain_name: Name of the domain under the profile which is unique globally + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] extended_properties: Key-Value pair representing migration properties for domains. + :param pulumi.Input[str] host_name: The host name of the domain. Must be a domain name. + :param pulumi.Input[pulumi.InputType['ResourceReferenceArgs']] pre_validated_custom_domain_resource_id: Resource reference to the Azure resource where custom domain ownership was prevalidated + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[pulumi.InputType['AFDDomainHttpsParametersArgs']] tls_settings: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AFDCustomDomainArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + + :param str resource_name: The name of the resource. + :param AFDCustomDomainArgs 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(AFDCustomDomainArgs, 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, + azure_dns_zone: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + custom_domain_name: Optional[pulumi.Input[str]] = None, + extended_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + pre_validated_custom_domain_resource_id: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tls_settings: Optional[pulumi.Input[pulumi.InputType['AFDDomainHttpsParametersArgs']]] = 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__ = AFDCustomDomainArgs.__new__(AFDCustomDomainArgs) + + __props__.__dict__["azure_dns_zone"] = azure_dns_zone + __props__.__dict__["custom_domain_name"] = custom_domain_name + __props__.__dict__["extended_properties"] = extended_properties + if host_name is None and not opts.urn: + raise TypeError("Missing required property 'host_name'") + __props__.__dict__["host_name"] = host_name + __props__.__dict__["pre_validated_custom_domain_resource_id"] = pre_validated_custom_domain_resource_id + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tls_settings"] = tls_settings + __props__.__dict__["deployment_status"] = None + __props__.__dict__["domain_validation_state"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_properties"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDCustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDCustomDomain")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AFDCustomDomain, __self__).__init__( + 'azure-native:cdn/v20230701preview:AFDCustomDomain', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AFDCustomDomain': + """ + Get an existing AFDCustomDomain 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AFDCustomDomainArgs.__new__(AFDCustomDomainArgs) + + __props__.__dict__["azure_dns_zone"] = None + __props__.__dict__["deployment_status"] = None + __props__.__dict__["domain_validation_state"] = None + __props__.__dict__["extended_properties"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["pre_validated_custom_domain_resource_id"] = None + __props__.__dict__["profile_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tls_settings"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_properties"] = None + return AFDCustomDomain(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="azureDnsZone") + def azure_dns_zone(self) -> pulumi.Output[Optional['outputs.ResourceReferenceResponse']]: + """ + Resource reference to the Azure DNS zone + """ + return pulumi.get(self, "azure_dns_zone") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="domainValidationState") + def domain_validation_state(self) -> pulumi.Output[str]: + """ + Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + """ + return pulumi.get(self, "domain_validation_state") + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Key-Value pair representing migration properties for domains. + """ + return pulumi.get(self, "extended_properties") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Output[str]: + """ + The host name of the domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="preValidatedCustomDomainResourceId") + def pre_validated_custom_domain_resource_id(self) -> pulumi.Output[Optional['outputs.ResourceReferenceResponse']]: + """ + Resource reference to the Azure resource where custom domain ownership was prevalidated + """ + return pulumi.get(self, "pre_validated_custom_domain_resource_id") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Output[str]: + """ + The name of the profile which holds the domain. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tlsSettings") + def tls_settings(self) -> pulumi.Output[Optional['outputs.AFDDomainHttpsParametersResponse']]: + """ + The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + """ + return pulumi.get(self, "tls_settings") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationProperties") + def validation_properties(self) -> pulumi.Output['outputs.DomainValidationPropertiesResponse']: + """ + Values the customer needs to validate domain ownership + """ + return pulumi.get(self, "validation_properties") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_endpoint.py new file mode 100644 index 000000000000..6f085bbc40b6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_endpoint.py @@ -0,0 +1,338 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['AFDEndpointArgs', 'AFDEndpoint'] + +@pulumi.input_type +class AFDEndpointArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + auto_generated_domain_name_label_scope: Optional[pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a AFDEndpoint resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']] auto_generated_domain_name_label_scope: Indicates the endpoint name reuse scope. The default value is TenantReuse. + :param pulumi.Input[Union[str, 'EnabledState']] enabled_state: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if auto_generated_domain_name_label_scope is not None: + pulumi.set(__self__, "auto_generated_domain_name_label_scope", auto_generated_domain_name_label_scope) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + if endpoint_name is not None: + pulumi.set(__self__, "endpoint_name", endpoint_name) + if location is not None: + pulumi.set(__self__, "location", location) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="autoGeneratedDomainNameLabelScope") + def auto_generated_domain_name_label_scope(self) -> Optional[pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']]]: + """ + Indicates the endpoint name reuse scope. The default value is TenantReuse. + """ + return pulumi.get(self, "auto_generated_domain_name_label_scope") + + @auto_generated_domain_name_label_scope.setter + def auto_generated_domain_name_label_scope(self, value: Optional[pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']]]): + pulumi.set(self, "auto_generated_domain_name_label_scope", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'EnabledState']]]: + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'EnabledState']]]): + pulumi.set(self, "enabled_state", value) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the endpoint under the profile which is unique globally. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 AFDEndpoint(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + auto_generated_domain_name_label_scope: Optional[pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + profile_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): + """ + Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']] auto_generated_domain_name_label_scope: Indicates the endpoint name reuse scope. The default value is TenantReuse. + :param pulumi.Input[Union[str, 'EnabledState']] enabled_state: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AFDEndpointArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. + + :param str resource_name: The name of the resource. + :param AFDEndpointArgs 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(AFDEndpointArgs, 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, + auto_generated_domain_name_label_scope: Optional[pulumi.Input[Union[str, 'AutoGeneratedDomainNameLabelScope']]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + profile_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): + 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__ = AFDEndpointArgs.__new__(AFDEndpointArgs) + + __props__.__dict__["auto_generated_domain_name_label_scope"] = auto_generated_domain_name_label_scope + __props__.__dict__["enabled_state"] = enabled_state + __props__.__dict__["endpoint_name"] = endpoint_name + __props__.__dict__["location"] = location + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["deployment_status"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDEndpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDEndpoint")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AFDEndpoint, __self__).__init__( + 'azure-native:cdn/v20230701preview:AFDEndpoint', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AFDEndpoint': + """ + Get an existing AFDEndpoint 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AFDEndpointArgs.__new__(AFDEndpointArgs) + + __props__.__dict__["auto_generated_domain_name_label_scope"] = None + __props__.__dict__["deployment_status"] = None + __props__.__dict__["enabled_state"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["profile_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return AFDEndpoint(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="autoGeneratedDomainNameLabelScope") + def auto_generated_domain_name_label_scope(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the endpoint name reuse scope. The default value is TenantReuse. + """ + return pulumi.get(self, "auto_generated_domain_name_label_scope") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> pulumi.Output[Optional[str]]: + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Output[str]: + """ + The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Output[str]: + """ + The name of the profile which holds the endpoint. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_origin.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_origin.py new file mode 100644 index 000000000000..2d0f152cccf3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_origin.py @@ -0,0 +1,537 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AFDOriginArgs', 'AFDOrigin'] + +@pulumi.input_type +class AFDOriginArgs: + def __init__(__self__, *, + host_name: pulumi.Input[str], + origin_group_name: pulumi.Input[str], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + azure_origin: Optional[pulumi.Input['ResourceReferenceArgs']] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + enforce_certificate_name_check: Optional[pulumi.Input[bool]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + shared_private_link_resource: Optional[pulumi.Input['SharedPrivateLinkResourcePropertiesArgs']] = None, + weight: Optional[pulumi.Input[int]] = None): + """ + The set of arguments for constructing a AFDOrigin resource. + :param pulumi.Input[str] host_name: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + :param pulumi.Input[str] origin_group_name: Name of the origin group which is unique within the profile. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['ResourceReferenceArgs'] azure_origin: Resource reference to the Azure origin resource. + :param pulumi.Input[Union[str, 'EnabledState']] enabled_state: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + :param pulumi.Input[bool] enforce_certificate_name_check: Whether to enable certificate name check at origin level + :param pulumi.Input[int] http_port: The value of the HTTP port. Must be between 1 and 65535. + :param pulumi.Input[int] https_port: The value of the HTTPS port. Must be between 1 and 65535. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + :param pulumi.Input[str] origin_name: Name of the origin that is unique within the profile. + :param pulumi.Input[int] priority: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + :param pulumi.Input['SharedPrivateLinkResourcePropertiesArgs'] shared_private_link_resource: The properties of the private link resource for private origin. + :param pulumi.Input[int] weight: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "origin_group_name", origin_group_name) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if azure_origin is not None: + pulumi.set(__self__, "azure_origin", azure_origin) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + if enforce_certificate_name_check is None: + enforce_certificate_name_check = True + if enforce_certificate_name_check is not None: + pulumi.set(__self__, "enforce_certificate_name_check", enforce_certificate_name_check) + if http_port is None: + http_port = 80 + if http_port is not None: + pulumi.set(__self__, "http_port", http_port) + if https_port is None: + https_port = 443 + if https_port is not None: + pulumi.set(__self__, "https_port", https_port) + if origin_host_header is not None: + pulumi.set(__self__, "origin_host_header", origin_host_header) + if origin_name is not None: + pulumi.set(__self__, "origin_name", origin_name) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if shared_private_link_resource is not None: + pulumi.set(__self__, "shared_private_link_resource", shared_private_link_resource) + if weight is not None: + pulumi.set(__self__, "weight", weight) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Input[str]: + """ + The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @host_name.setter + def host_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_name", value) + + @property + @pulumi.getter(name="originGroupName") + def origin_group_name(self) -> pulumi.Input[str]: + """ + Name of the origin group which is unique within the profile. + """ + return pulumi.get(self, "origin_group_name") + + @origin_group_name.setter + def origin_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "origin_group_name", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="azureOrigin") + def azure_origin(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + Resource reference to the Azure origin resource. + """ + return pulumi.get(self, "azure_origin") + + @azure_origin.setter + def azure_origin(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "azure_origin", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'EnabledState']]]: + """ + Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'EnabledState']]]): + pulumi.set(self, "enabled_state", value) + + @property + @pulumi.getter(name="enforceCertificateNameCheck") + def enforce_certificate_name_check(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable certificate name check at origin level + """ + return pulumi.get(self, "enforce_certificate_name_check") + + @enforce_certificate_name_check.setter + def enforce_certificate_name_check(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enforce_certificate_name_check", value) + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[pulumi.Input[int]]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @http_port.setter + def http_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "http_port", value) + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[pulumi.Input[int]]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @https_port.setter + def https_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "https_port", value) + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[pulumi.Input[str]]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + """ + return pulumi.get(self, "origin_host_header") + + @origin_host_header.setter + def origin_host_header(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_host_header", value) + + @property + @pulumi.getter(name="originName") + def origin_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the origin that is unique within the profile. + """ + return pulumi.get(self, "origin_name") + + @origin_name.setter + def origin_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_name", value) + + @property + @pulumi.getter + def priority(self) -> Optional[pulumi.Input[int]]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="sharedPrivateLinkResource") + def shared_private_link_resource(self) -> Optional[pulumi.Input['SharedPrivateLinkResourcePropertiesArgs']]: + """ + The properties of the private link resource for private origin. + """ + return pulumi.get(self, "shared_private_link_resource") + + @shared_private_link_resource.setter + def shared_private_link_resource(self, value: Optional[pulumi.Input['SharedPrivateLinkResourcePropertiesArgs']]): + pulumi.set(self, "shared_private_link_resource", value) + + @property + @pulumi.getter + def weight(self) -> Optional[pulumi.Input[int]]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + + @weight.setter + def weight(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "weight", value) + + +class AFDOrigin(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + azure_origin: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + enforce_certificate_name_check: Optional[pulumi.Input[bool]] = None, + host_name: Optional[pulumi.Input[str]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + shared_private_link_resource: Optional[pulumi.Input[pulumi.InputType['SharedPrivateLinkResourcePropertiesArgs']]] = None, + weight: Optional[pulumi.Input[int]] = None, + __props__=None): + """ + Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ResourceReferenceArgs']] azure_origin: Resource reference to the Azure origin resource. + :param pulumi.Input[Union[str, 'EnabledState']] enabled_state: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + :param pulumi.Input[bool] enforce_certificate_name_check: Whether to enable certificate name check at origin level + :param pulumi.Input[str] host_name: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + :param pulumi.Input[int] http_port: The value of the HTTP port. Must be between 1 and 65535. + :param pulumi.Input[int] https_port: The value of the HTTPS port. Must be between 1 and 65535. + :param pulumi.Input[str] origin_group_name: Name of the origin group which is unique within the profile. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + :param pulumi.Input[str] origin_name: Name of the origin that is unique within the profile. + :param pulumi.Input[int] priority: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[pulumi.InputType['SharedPrivateLinkResourcePropertiesArgs']] shared_private_link_resource: The properties of the private link resource for private origin. + :param pulumi.Input[int] weight: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AFDOriginArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + + :param str resource_name: The name of the resource. + :param AFDOriginArgs 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(AFDOriginArgs, 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, + azure_origin: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + enforce_certificate_name_check: Optional[pulumi.Input[bool]] = None, + host_name: Optional[pulumi.Input[str]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + shared_private_link_resource: Optional[pulumi.Input[pulumi.InputType['SharedPrivateLinkResourcePropertiesArgs']]] = None, + weight: Optional[pulumi.Input[int]] = 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__ = AFDOriginArgs.__new__(AFDOriginArgs) + + __props__.__dict__["azure_origin"] = azure_origin + __props__.__dict__["enabled_state"] = enabled_state + if enforce_certificate_name_check is None: + enforce_certificate_name_check = True + __props__.__dict__["enforce_certificate_name_check"] = enforce_certificate_name_check + if host_name is None and not opts.urn: + raise TypeError("Missing required property 'host_name'") + __props__.__dict__["host_name"] = host_name + if http_port is None: + http_port = 80 + __props__.__dict__["http_port"] = http_port + if https_port is None: + https_port = 443 + __props__.__dict__["https_port"] = https_port + if origin_group_name is None and not opts.urn: + raise TypeError("Missing required property 'origin_group_name'") + __props__.__dict__["origin_group_name"] = origin_group_name + __props__.__dict__["origin_host_header"] = origin_host_header + __props__.__dict__["origin_name"] = origin_name + __props__.__dict__["priority"] = priority + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["shared_private_link_resource"] = shared_private_link_resource + __props__.__dict__["weight"] = weight + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOrigin"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOrigin")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AFDOrigin, __self__).__init__( + 'azure-native:cdn/v20230701preview:AFDOrigin', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AFDOrigin': + """ + Get an existing AFDOrigin 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AFDOriginArgs.__new__(AFDOriginArgs) + + __props__.__dict__["azure_origin"] = None + __props__.__dict__["deployment_status"] = None + __props__.__dict__["enabled_state"] = None + __props__.__dict__["enforce_certificate_name_check"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["http_port"] = None + __props__.__dict__["https_port"] = None + __props__.__dict__["name"] = None + __props__.__dict__["origin_group_name"] = None + __props__.__dict__["origin_host_header"] = None + __props__.__dict__["priority"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["shared_private_link_resource"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["weight"] = None + return AFDOrigin(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="azureOrigin") + def azure_origin(self) -> pulumi.Output[Optional['outputs.ResourceReferenceResponse']]: + """ + Resource reference to the Azure origin resource. + """ + return pulumi.get(self, "azure_origin") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> pulumi.Output[Optional[str]]: + """ + Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter(name="enforceCertificateNameCheck") + def enforce_certificate_name_check(self) -> pulumi.Output[Optional[bool]]: + """ + Whether to enable certificate name check at origin level + """ + return pulumi.get(self, "enforce_certificate_name_check") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Output[str]: + """ + The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> pulumi.Output[Optional[int]]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> pulumi.Output[Optional[int]]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originGroupName") + def origin_group_name(self) -> pulumi.Output[str]: + """ + The name of the origin group which contains this origin. + """ + return pulumi.get(self, "origin_group_name") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> pulumi.Output[Optional[str]]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter + def priority(self) -> pulumi.Output[Optional[int]]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sharedPrivateLinkResource") + def shared_private_link_resource(self) -> pulumi.Output[Optional['outputs.SharedPrivateLinkResourcePropertiesResponse']]: + """ + The properties of the private link resource for private origin. + """ + return pulumi.get(self, "shared_private_link_resource") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def weight(self) -> pulumi.Output[Optional[int]]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_origin_group.py new file mode 100644 index 000000000000..d7db1d172c5d --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/afd_origin_group.py @@ -0,0 +1,329 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AFDOriginGroupArgs', 'AFDOriginGroup'] + +@pulumi.input_type +class AFDOriginGroupArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + health_probe_settings: Optional[pulumi.Input['HealthProbeParametersArgs']] = None, + load_balancing_settings: Optional[pulumi.Input['LoadBalancingSettingsParametersArgs']] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + session_affinity_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = None): + """ + The set of arguments for constructing a AFDOriginGroup resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['HealthProbeParametersArgs'] health_probe_settings: Health probe settings to the origin that is used to determine the health of the origin. + :param pulumi.Input['LoadBalancingSettingsParametersArgs'] load_balancing_settings: Load balancing settings for a backend pool + :param pulumi.Input[str] origin_group_name: Name of the origin group which is unique within the endpoint. + :param pulumi.Input[Union[str, 'EnabledState']] session_affinity_state: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + :param pulumi.Input[int] traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if health_probe_settings is not None: + pulumi.set(__self__, "health_probe_settings", health_probe_settings) + if load_balancing_settings is not None: + pulumi.set(__self__, "load_balancing_settings", load_balancing_settings) + if origin_group_name is not None: + pulumi.set(__self__, "origin_group_name", origin_group_name) + if session_affinity_state is not None: + pulumi.set(__self__, "session_affinity_state", session_affinity_state) + if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes is not None: + pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="healthProbeSettings") + def health_probe_settings(self) -> Optional[pulumi.Input['HealthProbeParametersArgs']]: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @health_probe_settings.setter + def health_probe_settings(self, value: Optional[pulumi.Input['HealthProbeParametersArgs']]): + pulumi.set(self, "health_probe_settings", value) + + @property + @pulumi.getter(name="loadBalancingSettings") + def load_balancing_settings(self) -> Optional[pulumi.Input['LoadBalancingSettingsParametersArgs']]: + """ + Load balancing settings for a backend pool + """ + return pulumi.get(self, "load_balancing_settings") + + @load_balancing_settings.setter + def load_balancing_settings(self, value: Optional[pulumi.Input['LoadBalancingSettingsParametersArgs']]): + pulumi.set(self, "load_balancing_settings", value) + + @property + @pulumi.getter(name="originGroupName") + def origin_group_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the origin group which is unique within the endpoint. + """ + return pulumi.get(self, "origin_group_name") + + @origin_group_name.setter + def origin_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_group_name", value) + + @property + @pulumi.getter(name="sessionAffinityState") + def session_affinity_state(self) -> Optional[pulumi.Input[Union[str, 'EnabledState']]]: + """ + Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "session_affinity_state") + + @session_affinity_state.setter + def session_affinity_state(self, value: Optional[pulumi.Input[Union[str, 'EnabledState']]]): + pulumi.set(self, "session_affinity_state", value) + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @traffic_restoration_time_to_healed_or_new_endpoints_in_minutes.setter + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", value) + + +class AFDOriginGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + health_probe_settings: Optional[pulumi.Input[pulumi.InputType['HealthProbeParametersArgs']]] = None, + load_balancing_settings: Optional[pulumi.Input[pulumi.InputType['LoadBalancingSettingsParametersArgs']]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + session_affinity_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = None, + __props__=None): + """ + AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['HealthProbeParametersArgs']] health_probe_settings: Health probe settings to the origin that is used to determine the health of the origin. + :param pulumi.Input[pulumi.InputType['LoadBalancingSettingsParametersArgs']] load_balancing_settings: Load balancing settings for a backend pool + :param pulumi.Input[str] origin_group_name: Name of the origin group which is unique within the endpoint. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[Union[str, 'EnabledState']] session_affinity_state: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + :param pulumi.Input[int] traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AFDOriginGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door. + + :param str resource_name: The name of the resource. + :param AFDOriginGroupArgs 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(AFDOriginGroupArgs, 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, + health_probe_settings: Optional[pulumi.Input[pulumi.InputType['HealthProbeParametersArgs']]] = None, + load_balancing_settings: Optional[pulumi.Input[pulumi.InputType['LoadBalancingSettingsParametersArgs']]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + session_affinity_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = 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__ = AFDOriginGroupArgs.__new__(AFDOriginGroupArgs) + + __props__.__dict__["health_probe_settings"] = health_probe_settings + __props__.__dict__["load_balancing_settings"] = load_balancing_settings + __props__.__dict__["origin_group_name"] = origin_group_name + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["session_affinity_state"] = session_affinity_state + __props__.__dict__["traffic_restoration_time_to_healed_or_new_endpoints_in_minutes"] = traffic_restoration_time_to_healed_or_new_endpoints_in_minutes + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:AFDOriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:AFDOriginGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AFDOriginGroup, __self__).__init__( + 'azure-native:cdn/v20230701preview:AFDOriginGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AFDOriginGroup': + """ + Get an existing AFDOriginGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AFDOriginGroupArgs.__new__(AFDOriginGroupArgs) + + __props__.__dict__["deployment_status"] = None + __props__.__dict__["health_probe_settings"] = None + __props__.__dict__["load_balancing_settings"] = None + __props__.__dict__["name"] = None + __props__.__dict__["profile_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["session_affinity_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["traffic_restoration_time_to_healed_or_new_endpoints_in_minutes"] = None + __props__.__dict__["type"] = None + return AFDOriginGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="healthProbeSettings") + def health_probe_settings(self) -> pulumi.Output[Optional['outputs.HealthProbeParametersResponse']]: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @property + @pulumi.getter(name="loadBalancingSettings") + def load_balancing_settings(self) -> pulumi.Output[Optional['outputs.LoadBalancingSettingsParametersResponse']]: + """ + Load balancing settings for a backend pool + """ + return pulumi.get(self, "load_balancing_settings") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Output[str]: + """ + The name of the profile which holds the origin group. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sessionAffinityState") + def session_affinity_state(self) -> pulumi.Output[Optional[str]]: + """ + Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "session_affinity_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> pulumi.Output[Optional[int]]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/custom_domain.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/custom_domain.py new file mode 100644 index 000000000000..af389b9fe209 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/custom_domain.py @@ -0,0 +1,296 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['CustomDomainArgs', 'CustomDomain'] + +@pulumi.input_type +class CustomDomainArgs: + def __init__(__self__, *, + endpoint_name: pulumi.Input[str], + host_name: pulumi.Input[str], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + custom_domain_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a CustomDomain resource. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[str] host_name: The host name of the custom domain. Must be a domain name. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] custom_domain_name: Name of the custom domain within an endpoint. + """ + pulumi.set(__self__, "endpoint_name", endpoint_name) + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if custom_domain_name is not None: + pulumi.set(__self__, "custom_domain_name", custom_domain_name) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Input[str]: + """ + Name of the endpoint under the profile which is unique globally. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Input[str]: + """ + The host name of the custom domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @host_name.setter + def host_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_name", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the CDN profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="customDomainName") + def custom_domain_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the custom domain within an endpoint. + """ + return pulumi.get(self, "custom_domain_name") + + @custom_domain_name.setter + def custom_domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_domain_name", value) + + +class CustomDomain(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + custom_domain_name: Optional[pulumi.Input[str]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] custom_domain_name: Name of the custom domain within an endpoint. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[str] host_name: The host name of the custom domain. Must be a domain name. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CustomDomainArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + + :param str resource_name: The name of the resource. + :param CustomDomainArgs 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(CustomDomainArgs, 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, + custom_domain_name: Optional[pulumi.Input[str]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CustomDomainArgs.__new__(CustomDomainArgs) + + __props__.__dict__["custom_domain_name"] = custom_domain_name + if endpoint_name is None and not opts.urn: + raise TypeError("Missing required property 'endpoint_name'") + __props__.__dict__["endpoint_name"] = endpoint_name + if host_name is None and not opts.urn: + raise TypeError("Missing required property 'host_name'") + __props__.__dict__["host_name"] = host_name + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["custom_https_parameters"] = None + __props__.__dict__["custom_https_provisioning_state"] = None + __props__.__dict__["custom_https_provisioning_substate"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_data"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20150601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20160402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20161002:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20170402:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20171012:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20191231:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200331:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200415:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20200901:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20210601:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:CustomDomain"), pulumi.Alias(type_="azure-native:cdn/v20230501:CustomDomain")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CustomDomain, __self__).__init__( + 'azure-native:cdn/v20230701preview:CustomDomain', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CustomDomain': + """ + Get an existing CustomDomain 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CustomDomainArgs.__new__(CustomDomainArgs) + + __props__.__dict__["custom_https_parameters"] = None + __props__.__dict__["custom_https_provisioning_state"] = None + __props__.__dict__["custom_https_provisioning_substate"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_data"] = None + return CustomDomain(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customHttpsParameters") + def custom_https_parameters(self) -> pulumi.Output[Optional[Any]]: + """ + Certificate parameters for securing custom HTTPS + """ + return pulumi.get(self, "custom_https_parameters") + + @property + @pulumi.getter(name="customHttpsProvisioningState") + def custom_https_provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status of the custom domain. + """ + return pulumi.get(self, "custom_https_provisioning_state") + + @property + @pulumi.getter(name="customHttpsProvisioningSubstate") + def custom_https_provisioning_substate(self) -> pulumi.Output[str]: + """ + Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + """ + return pulumi.get(self, "custom_https_provisioning_substate") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Output[str]: + """ + The host name of the custom domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status of Custom Https of the custom domain. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> pulumi.Output[str]: + """ + Resource status of the custom domain. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationData") + def validation_data(self) -> pulumi.Output[Optional[str]]: + """ + Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + """ + return pulumi.get(self, "validation_data") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/endpoint.py new file mode 100644 index 000000000000..a28d9f28c4f6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/endpoint.py @@ -0,0 +1,762 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['EndpointArgs', 'Endpoint'] + +@pulumi.input_type +class EndpointArgs: + def __init__(__self__, *, + origins: pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginArgs']]], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + content_types_to_compress: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + default_origin_group: Optional[pulumi.Input['ResourceReferenceArgs']] = None, + delivery_policy: Optional[pulumi.Input['EndpointPropertiesUpdateParametersDeliveryPolicyArgs']] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + geo_filters: Optional[pulumi.Input[Sequence[pulumi.Input['GeoFilterArgs']]]] = None, + is_compression_enabled: Optional[pulumi.Input[bool]] = None, + is_http_allowed: Optional[pulumi.Input[bool]] = None, + is_https_allowed: Optional[pulumi.Input[bool]] = None, + location: Optional[pulumi.Input[str]] = None, + optimization_type: Optional[pulumi.Input[Union[str, 'OptimizationType']]] = None, + origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginGroupArgs']]]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_path: Optional[pulumi.Input[str]] = None, + probe_path: Optional[pulumi.Input[str]] = None, + query_string_caching_behavior: Optional[pulumi.Input['QueryStringCachingBehavior']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + url_signing_keys: Optional[pulumi.Input[Sequence[pulumi.Input['UrlSigningKeyArgs']]]] = None, + web_application_firewall_policy_link: Optional[pulumi.Input['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs']] = None): + """ + The set of arguments for constructing a Endpoint resource. + :param pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginArgs']]] origins: The source of the content being delivered via CDN. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[Sequence[pulumi.Input[str]]] content_types_to_compress: List of content types on which compression applies. The value should be a valid MIME type. + :param pulumi.Input['ResourceReferenceArgs'] default_origin_group: A reference to the origin group. + :param pulumi.Input['EndpointPropertiesUpdateParametersDeliveryPolicyArgs'] delivery_policy: A policy that specifies the delivery rules to be used for an endpoint. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[Sequence[pulumi.Input['GeoFilterArgs']]] geo_filters: List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + :param pulumi.Input[bool] is_compression_enabled: Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + :param pulumi.Input[bool] is_http_allowed: Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + :param pulumi.Input[bool] is_https_allowed: Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[Union[str, 'OptimizationType']] optimization_type: Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + :param pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginGroupArgs']]] origin_groups: The origin groups comprising of origins that are used for load balancing the traffic based on availability. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + :param pulumi.Input[str] origin_path: A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + :param pulumi.Input[str] probe_path: Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + :param pulumi.Input['QueryStringCachingBehavior'] query_string_caching_behavior: Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Sequence[pulumi.Input['UrlSigningKeyArgs']]] url_signing_keys: List of keys used to validate the signed URL hashes. + :param pulumi.Input['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs'] web_application_firewall_policy_link: Defines the Web Application Firewall policy for the endpoint (if applicable) + """ + pulumi.set(__self__, "origins", origins) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if content_types_to_compress is not None: + pulumi.set(__self__, "content_types_to_compress", content_types_to_compress) + if default_origin_group is not None: + pulumi.set(__self__, "default_origin_group", default_origin_group) + if delivery_policy is not None: + pulumi.set(__self__, "delivery_policy", delivery_policy) + if endpoint_name is not None: + pulumi.set(__self__, "endpoint_name", endpoint_name) + if geo_filters is not None: + pulumi.set(__self__, "geo_filters", geo_filters) + if is_compression_enabled is not None: + pulumi.set(__self__, "is_compression_enabled", is_compression_enabled) + if is_http_allowed is None: + is_http_allowed = True + if is_http_allowed is not None: + pulumi.set(__self__, "is_http_allowed", is_http_allowed) + if is_https_allowed is None: + is_https_allowed = True + if is_https_allowed is not None: + pulumi.set(__self__, "is_https_allowed", is_https_allowed) + if location is not None: + pulumi.set(__self__, "location", location) + if optimization_type is not None: + pulumi.set(__self__, "optimization_type", optimization_type) + if origin_groups is not None: + pulumi.set(__self__, "origin_groups", origin_groups) + if origin_host_header is not None: + pulumi.set(__self__, "origin_host_header", origin_host_header) + if origin_path is not None: + pulumi.set(__self__, "origin_path", origin_path) + if probe_path is not None: + pulumi.set(__self__, "probe_path", probe_path) + if query_string_caching_behavior is None: + query_string_caching_behavior = 'NotSet' + if query_string_caching_behavior is not None: + pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if url_signing_keys is not None: + pulumi.set(__self__, "url_signing_keys", url_signing_keys) + if web_application_firewall_policy_link is not None: + pulumi.set(__self__, "web_application_firewall_policy_link", web_application_firewall_policy_link) + + @property + @pulumi.getter + def origins(self) -> pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginArgs']]]: + """ + The source of the content being delivered via CDN. + """ + return pulumi.get(self, "origins") + + @origins.setter + def origins(self, value: pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginArgs']]]): + pulumi.set(self, "origins", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the CDN profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="contentTypesToCompress") + def content_types_to_compress(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of content types on which compression applies. The value should be a valid MIME type. + """ + return pulumi.get(self, "content_types_to_compress") + + @content_types_to_compress.setter + def content_types_to_compress(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "content_types_to_compress", value) + + @property + @pulumi.getter(name="defaultOriginGroup") + def default_origin_group(self) -> Optional[pulumi.Input['ResourceReferenceArgs']]: + """ + A reference to the origin group. + """ + return pulumi.get(self, "default_origin_group") + + @default_origin_group.setter + def default_origin_group(self, value: Optional[pulumi.Input['ResourceReferenceArgs']]): + pulumi.set(self, "default_origin_group", value) + + @property + @pulumi.getter(name="deliveryPolicy") + def delivery_policy(self) -> Optional[pulumi.Input['EndpointPropertiesUpdateParametersDeliveryPolicyArgs']]: + """ + A policy that specifies the delivery rules to be used for an endpoint. + """ + return pulumi.get(self, "delivery_policy") + + @delivery_policy.setter + def delivery_policy(self, value: Optional[pulumi.Input['EndpointPropertiesUpdateParametersDeliveryPolicyArgs']]): + pulumi.set(self, "delivery_policy", value) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the endpoint under the profile which is unique globally. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter(name="geoFilters") + def geo_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GeoFilterArgs']]]]: + """ + List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + """ + return pulumi.get(self, "geo_filters") + + @geo_filters.setter + def geo_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GeoFilterArgs']]]]): + pulumi.set(self, "geo_filters", value) + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + @is_compression_enabled.setter + def is_compression_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_compression_enabled", value) + + @property + @pulumi.getter(name="isHttpAllowed") + def is_http_allowed(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + """ + return pulumi.get(self, "is_http_allowed") + + @is_http_allowed.setter + def is_http_allowed(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_http_allowed", value) + + @property + @pulumi.getter(name="isHttpsAllowed") + def is_https_allowed(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + """ + return pulumi.get(self, "is_https_allowed") + + @is_https_allowed.setter + def is_https_allowed(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_https_allowed", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="optimizationType") + def optimization_type(self) -> Optional[pulumi.Input[Union[str, 'OptimizationType']]]: + """ + Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + """ + return pulumi.get(self, "optimization_type") + + @optimization_type.setter + def optimization_type(self, value: Optional[pulumi.Input[Union[str, 'OptimizationType']]]): + pulumi.set(self, "optimization_type", value) + + @property + @pulumi.getter(name="originGroups") + def origin_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginGroupArgs']]]]: + """ + The origin groups comprising of origins that are used for load balancing the traffic based on availability. + """ + return pulumi.get(self, "origin_groups") + + @origin_groups.setter + def origin_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeepCreatedOriginGroupArgs']]]]): + pulumi.set(self, "origin_groups", value) + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[pulumi.Input[str]]: + """ + The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + """ + return pulumi.get(self, "origin_host_header") + + @origin_host_header.setter + def origin_host_header(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_host_header", value) + + @property + @pulumi.getter(name="originPath") + def origin_path(self) -> Optional[pulumi.Input[str]]: + """ + A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + """ + return pulumi.get(self, "origin_path") + + @origin_path.setter + def origin_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_path", value) + + @property + @pulumi.getter(name="probePath") + def probe_path(self) -> Optional[pulumi.Input[str]]: + """ + Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + """ + return pulumi.get(self, "probe_path") + + @probe_path.setter + def probe_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "probe_path", value) + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> Optional[pulumi.Input['QueryStringCachingBehavior']]: + """ + Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + """ + return pulumi.get(self, "query_string_caching_behavior") + + @query_string_caching_behavior.setter + def query_string_caching_behavior(self, value: Optional[pulumi.Input['QueryStringCachingBehavior']]): + pulumi.set(self, "query_string_caching_behavior", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="urlSigningKeys") + def url_signing_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlSigningKeyArgs']]]]: + """ + List of keys used to validate the signed URL hashes. + """ + return pulumi.get(self, "url_signing_keys") + + @url_signing_keys.setter + def url_signing_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlSigningKeyArgs']]]]): + pulumi.set(self, "url_signing_keys", value) + + @property + @pulumi.getter(name="webApplicationFirewallPolicyLink") + def web_application_firewall_policy_link(self) -> Optional[pulumi.Input['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs']]: + """ + Defines the Web Application Firewall policy for the endpoint (if applicable) + """ + return pulumi.get(self, "web_application_firewall_policy_link") + + @web_application_firewall_policy_link.setter + def web_application_firewall_policy_link(self, value: Optional[pulumi.Input['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs']]): + pulumi.set(self, "web_application_firewall_policy_link", value) + + +class Endpoint(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + content_types_to_compress: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + default_origin_group: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + delivery_policy: Optional[pulumi.Input[pulumi.InputType['EndpointPropertiesUpdateParametersDeliveryPolicyArgs']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + geo_filters: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GeoFilterArgs']]]]] = None, + is_compression_enabled: Optional[pulumi.Input[bool]] = None, + is_http_allowed: Optional[pulumi.Input[bool]] = None, + is_https_allowed: Optional[pulumi.Input[bool]] = None, + location: Optional[pulumi.Input[str]] = None, + optimization_type: Optional[pulumi.Input[Union[str, 'OptimizationType']]] = None, + origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeepCreatedOriginGroupArgs']]]]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_path: Optional[pulumi.Input[str]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeepCreatedOriginArgs']]]]] = None, + probe_path: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + query_string_caching_behavior: Optional[pulumi.Input['QueryStringCachingBehavior']] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + url_signing_keys: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UrlSigningKeyArgs']]]]] = None, + web_application_firewall_policy_link: Optional[pulumi.Input[pulumi.InputType['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs']]] = None, + __props__=None): + """ + CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] content_types_to_compress: List of content types on which compression applies. The value should be a valid MIME type. + :param pulumi.Input[pulumi.InputType['ResourceReferenceArgs']] default_origin_group: A reference to the origin group. + :param pulumi.Input[pulumi.InputType['EndpointPropertiesUpdateParametersDeliveryPolicyArgs']] delivery_policy: A policy that specifies the delivery rules to be used for an endpoint. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GeoFilterArgs']]]] geo_filters: List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + :param pulumi.Input[bool] is_compression_enabled: Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + :param pulumi.Input[bool] is_http_allowed: Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + :param pulumi.Input[bool] is_https_allowed: Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[Union[str, 'OptimizationType']] optimization_type: Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeepCreatedOriginGroupArgs']]]] origin_groups: The origin groups comprising of origins that are used for load balancing the traffic based on availability. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + :param pulumi.Input[str] origin_path: A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeepCreatedOriginArgs']]]] origins: The source of the content being delivered via CDN. + :param pulumi.Input[str] probe_path: Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input['QueryStringCachingBehavior'] query_string_caching_behavior: Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UrlSigningKeyArgs']]]] url_signing_keys: List of keys used to validate the signed URL hashes. + :param pulumi.Input[pulumi.InputType['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs']] web_application_firewall_policy_link: Defines the Web Application Firewall policy for the endpoint (if applicable) + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EndpointArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. + + :param str resource_name: The name of the resource. + :param EndpointArgs 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(EndpointArgs, 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, + content_types_to_compress: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + default_origin_group: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + delivery_policy: Optional[pulumi.Input[pulumi.InputType['EndpointPropertiesUpdateParametersDeliveryPolicyArgs']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + geo_filters: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GeoFilterArgs']]]]] = None, + is_compression_enabled: Optional[pulumi.Input[bool]] = None, + is_http_allowed: Optional[pulumi.Input[bool]] = None, + is_https_allowed: Optional[pulumi.Input[bool]] = None, + location: Optional[pulumi.Input[str]] = None, + optimization_type: Optional[pulumi.Input[Union[str, 'OptimizationType']]] = None, + origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeepCreatedOriginGroupArgs']]]]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_path: Optional[pulumi.Input[str]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DeepCreatedOriginArgs']]]]] = None, + probe_path: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + query_string_caching_behavior: Optional[pulumi.Input['QueryStringCachingBehavior']] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + url_signing_keys: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UrlSigningKeyArgs']]]]] = None, + web_application_firewall_policy_link: Optional[pulumi.Input[pulumi.InputType['EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLinkArgs']]] = 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__ = EndpointArgs.__new__(EndpointArgs) + + __props__.__dict__["content_types_to_compress"] = content_types_to_compress + __props__.__dict__["default_origin_group"] = default_origin_group + __props__.__dict__["delivery_policy"] = delivery_policy + __props__.__dict__["endpoint_name"] = endpoint_name + __props__.__dict__["geo_filters"] = geo_filters + __props__.__dict__["is_compression_enabled"] = is_compression_enabled + if is_http_allowed is None: + is_http_allowed = True + __props__.__dict__["is_http_allowed"] = is_http_allowed + if is_https_allowed is None: + is_https_allowed = True + __props__.__dict__["is_https_allowed"] = is_https_allowed + __props__.__dict__["location"] = location + __props__.__dict__["optimization_type"] = optimization_type + __props__.__dict__["origin_groups"] = origin_groups + __props__.__dict__["origin_host_header"] = origin_host_header + __props__.__dict__["origin_path"] = origin_path + if origins is None and not opts.urn: + raise TypeError("Missing required property 'origins'") + __props__.__dict__["origins"] = origins + __props__.__dict__["probe_path"] = probe_path + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if query_string_caching_behavior is None: + query_string_caching_behavior = 'NotSet' + __props__.__dict__["query_string_caching_behavior"] = query_string_caching_behavior + 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 + __props__.__dict__["url_signing_keys"] = url_signing_keys + __props__.__dict__["web_application_firewall_policy_link"] = web_application_firewall_policy_link + __props__.__dict__["custom_domains"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20150601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20160402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20161002:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20170402:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20171012:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20191231:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200331:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200415:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20200901:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20210601:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Endpoint"), pulumi.Alias(type_="azure-native:cdn/v20230501:Endpoint")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Endpoint, __self__).__init__( + 'azure-native:cdn/v20230701preview:Endpoint', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Endpoint': + """ + Get an existing Endpoint 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = EndpointArgs.__new__(EndpointArgs) + + __props__.__dict__["content_types_to_compress"] = None + __props__.__dict__["custom_domains"] = None + __props__.__dict__["default_origin_group"] = None + __props__.__dict__["delivery_policy"] = None + __props__.__dict__["geo_filters"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["is_compression_enabled"] = None + __props__.__dict__["is_http_allowed"] = None + __props__.__dict__["is_https_allowed"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["optimization_type"] = None + __props__.__dict__["origin_groups"] = None + __props__.__dict__["origin_host_header"] = None + __props__.__dict__["origin_path"] = None + __props__.__dict__["origins"] = None + __props__.__dict__["probe_path"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["query_string_caching_behavior"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["url_signing_keys"] = None + __props__.__dict__["web_application_firewall_policy_link"] = None + return Endpoint(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="contentTypesToCompress") + def content_types_to_compress(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of content types on which compression applies. The value should be a valid MIME type. + """ + return pulumi.get(self, "content_types_to_compress") + + @property + @pulumi.getter(name="customDomains") + def custom_domains(self) -> pulumi.Output[Sequence['outputs.DeepCreatedCustomDomainResponse']]: + """ + The custom domains under the endpoint. + """ + return pulumi.get(self, "custom_domains") + + @property + @pulumi.getter(name="defaultOriginGroup") + def default_origin_group(self) -> pulumi.Output[Optional['outputs.ResourceReferenceResponse']]: + """ + A reference to the origin group. + """ + return pulumi.get(self, "default_origin_group") + + @property + @pulumi.getter(name="deliveryPolicy") + def delivery_policy(self) -> pulumi.Output[Optional['outputs.EndpointPropertiesUpdateParametersResponseDeliveryPolicy']]: + """ + A policy that specifies the delivery rules to be used for an endpoint. + """ + return pulumi.get(self, "delivery_policy") + + @property + @pulumi.getter(name="geoFilters") + def geo_filters(self) -> pulumi.Output[Optional[Sequence['outputs.GeoFilterResponse']]]: + """ + List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + """ + return pulumi.get(self, "geo_filters") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Output[str]: + """ + The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> pulumi.Output[Optional[bool]]: + """ + Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + @property + @pulumi.getter(name="isHttpAllowed") + def is_http_allowed(self) -> pulumi.Output[Optional[bool]]: + """ + Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + """ + return pulumi.get(self, "is_http_allowed") + + @property + @pulumi.getter(name="isHttpsAllowed") + def is_https_allowed(self) -> pulumi.Output[Optional[bool]]: + """ + Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + """ + return pulumi.get(self, "is_https_allowed") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="optimizationType") + def optimization_type(self) -> pulumi.Output[Optional[str]]: + """ + Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + """ + return pulumi.get(self, "optimization_type") + + @property + @pulumi.getter(name="originGroups") + def origin_groups(self) -> pulumi.Output[Optional[Sequence['outputs.DeepCreatedOriginGroupResponse']]]: + """ + The origin groups comprising of origins that are used for load balancing the traffic based on availability. + """ + return pulumi.get(self, "origin_groups") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> pulumi.Output[Optional[str]]: + """ + The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter(name="originPath") + def origin_path(self) -> pulumi.Output[Optional[str]]: + """ + A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + """ + return pulumi.get(self, "origin_path") + + @property + @pulumi.getter + def origins(self) -> pulumi.Output[Sequence['outputs.DeepCreatedOriginResponse']]: + """ + The source of the content being delivered via CDN. + """ + return pulumi.get(self, "origins") + + @property + @pulumi.getter(name="probePath") + def probe_path(self) -> pulumi.Output[Optional[str]]: + """ + Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + """ + return pulumi.get(self, "probe_path") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status of the endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> pulumi.Output[Optional[str]]: + """ + Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + """ + return pulumi.get(self, "query_string_caching_behavior") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> pulumi.Output[str]: + """ + Resource status of the endpoint. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="urlSigningKeys") + def url_signing_keys(self) -> pulumi.Output[Optional[Sequence['outputs.UrlSigningKeyResponse']]]: + """ + List of keys used to validate the signed URL hashes. + """ + return pulumi.get(self, "url_signing_keys") + + @property + @pulumi.getter(name="webApplicationFirewallPolicyLink") + def web_application_firewall_policy_link(self) -> pulumi.Output[Optional['outputs.EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink']]: + """ + Defines the Web Application Firewall policy for the endpoint (if applicable) + """ + return pulumi.get(self, "web_application_firewall_policy_link") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_custom_domain.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_custom_domain.py new file mode 100644 index 000000000000..8ae95d049bc1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_custom_domain.py @@ -0,0 +1,250 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAFDCustomDomainResult', + 'AwaitableGetAFDCustomDomainResult', + 'get_afd_custom_domain', + 'get_afd_custom_domain_output', +] + +@pulumi.output_type +class GetAFDCustomDomainResult: + """ + Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + """ + def __init__(__self__, azure_dns_zone=None, deployment_status=None, domain_validation_state=None, extended_properties=None, host_name=None, id=None, name=None, pre_validated_custom_domain_resource_id=None, profile_name=None, provisioning_state=None, system_data=None, tls_settings=None, type=None, validation_properties=None): + if azure_dns_zone and not isinstance(azure_dns_zone, dict): + raise TypeError("Expected argument 'azure_dns_zone' to be a dict") + pulumi.set(__self__, "azure_dns_zone", azure_dns_zone) + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if domain_validation_state and not isinstance(domain_validation_state, str): + raise TypeError("Expected argument 'domain_validation_state' to be a str") + pulumi.set(__self__, "domain_validation_state", domain_validation_state) + if extended_properties and not isinstance(extended_properties, dict): + raise TypeError("Expected argument 'extended_properties' to be a dict") + pulumi.set(__self__, "extended_properties", extended_properties) + if host_name and not isinstance(host_name, str): + raise TypeError("Expected argument 'host_name' to be a str") + pulumi.set(__self__, "host_name", host_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if pre_validated_custom_domain_resource_id and not isinstance(pre_validated_custom_domain_resource_id, dict): + raise TypeError("Expected argument 'pre_validated_custom_domain_resource_id' to be a dict") + pulumi.set(__self__, "pre_validated_custom_domain_resource_id", pre_validated_custom_domain_resource_id) + if profile_name and not isinstance(profile_name, str): + raise TypeError("Expected argument 'profile_name' to be a str") + pulumi.set(__self__, "profile_name", profile_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tls_settings and not isinstance(tls_settings, dict): + raise TypeError("Expected argument 'tls_settings' to be a dict") + pulumi.set(__self__, "tls_settings", tls_settings) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if validation_properties and not isinstance(validation_properties, dict): + raise TypeError("Expected argument 'validation_properties' to be a dict") + pulumi.set(__self__, "validation_properties", validation_properties) + + @property + @pulumi.getter(name="azureDnsZone") + def azure_dns_zone(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + Resource reference to the Azure DNS zone + """ + return pulumi.get(self, "azure_dns_zone") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="domainValidationState") + def domain_validation_state(self) -> str: + """ + Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + """ + return pulumi.get(self, "domain_validation_state") + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> Optional[Mapping[str, str]]: + """ + Key-Value pair representing migration properties for domains. + """ + return pulumi.get(self, "extended_properties") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The host name of the domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="preValidatedCustomDomainResourceId") + def pre_validated_custom_domain_resource_id(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + Resource reference to the Azure resource where custom domain ownership was prevalidated + """ + return pulumi.get(self, "pre_validated_custom_domain_resource_id") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> str: + """ + The name of the profile which holds the domain. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tlsSettings") + def tls_settings(self) -> Optional['outputs.AFDDomainHttpsParametersResponse']: + """ + The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. + """ + return pulumi.get(self, "tls_settings") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationProperties") + def validation_properties(self) -> 'outputs.DomainValidationPropertiesResponse': + """ + Values the customer needs to validate domain ownership + """ + return pulumi.get(self, "validation_properties") + + +class AwaitableGetAFDCustomDomainResult(GetAFDCustomDomainResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAFDCustomDomainResult( + azure_dns_zone=self.azure_dns_zone, + deployment_status=self.deployment_status, + domain_validation_state=self.domain_validation_state, + extended_properties=self.extended_properties, + host_name=self.host_name, + id=self.id, + name=self.name, + pre_validated_custom_domain_resource_id=self.pre_validated_custom_domain_resource_id, + profile_name=self.profile_name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tls_settings=self.tls_settings, + type=self.type, + validation_properties=self.validation_properties) + + +def get_afd_custom_domain(custom_domain_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDCustomDomainResult: + """ + Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. + + + :param str custom_domain_name: Name of the domain under the profile which is unique globally. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['customDomainName'] = custom_domain_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getAFDCustomDomain', __args__, opts=opts, typ=GetAFDCustomDomainResult).value + + return AwaitableGetAFDCustomDomainResult( + azure_dns_zone=pulumi.get(__ret__, 'azure_dns_zone'), + deployment_status=pulumi.get(__ret__, 'deployment_status'), + domain_validation_state=pulumi.get(__ret__, 'domain_validation_state'), + extended_properties=pulumi.get(__ret__, 'extended_properties'), + host_name=pulumi.get(__ret__, 'host_name'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + pre_validated_custom_domain_resource_id=pulumi.get(__ret__, 'pre_validated_custom_domain_resource_id'), + profile_name=pulumi.get(__ret__, 'profile_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tls_settings=pulumi.get(__ret__, 'tls_settings'), + type=pulumi.get(__ret__, 'type'), + validation_properties=pulumi.get(__ret__, 'validation_properties')) + + +@_utilities.lift_output_func(get_afd_custom_domain) +def get_afd_custom_domain_output(custom_domain_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDCustomDomainResult]: + """ + Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. + + + :param str custom_domain_name: Name of the domain under the profile which is unique globally. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_endpoint.py new file mode 100644 index 000000000000..d04c27d996e4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_endpoint.py @@ -0,0 +1,224 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAFDEndpointResult', + 'AwaitableGetAFDEndpointResult', + 'get_afd_endpoint', + 'get_afd_endpoint_output', +] + +@pulumi.output_type +class GetAFDEndpointResult: + """ + Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. + """ + def __init__(__self__, auto_generated_domain_name_label_scope=None, deployment_status=None, enabled_state=None, host_name=None, id=None, location=None, name=None, profile_name=None, provisioning_state=None, system_data=None, tags=None, type=None): + if auto_generated_domain_name_label_scope and not isinstance(auto_generated_domain_name_label_scope, str): + raise TypeError("Expected argument 'auto_generated_domain_name_label_scope' to be a str") + pulumi.set(__self__, "auto_generated_domain_name_label_scope", auto_generated_domain_name_label_scope) + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if enabled_state and not isinstance(enabled_state, str): + raise TypeError("Expected argument 'enabled_state' to be a str") + pulumi.set(__self__, "enabled_state", enabled_state) + if host_name and not isinstance(host_name, str): + raise TypeError("Expected argument 'host_name' to be a str") + pulumi.set(__self__, "host_name", host_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if profile_name and not isinstance(profile_name, str): + raise TypeError("Expected argument 'profile_name' to be a str") + pulumi.set(__self__, "profile_name", profile_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="autoGeneratedDomainNameLabelScope") + def auto_generated_domain_name_label_scope(self) -> Optional[str]: + """ + Indicates the endpoint name reuse scope. The default value is TenantReuse. + """ + return pulumi.get(self, "auto_generated_domain_name_label_scope") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> str: + """ + The name of the profile which holds the endpoint. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetAFDEndpointResult(GetAFDEndpointResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAFDEndpointResult( + auto_generated_domain_name_label_scope=self.auto_generated_domain_name_label_scope, + deployment_status=self.deployment_status, + enabled_state=self.enabled_state, + host_name=self.host_name, + id=self.id, + location=self.location, + name=self.name, + profile_name=self.profile_name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_afd_endpoint(endpoint_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDEndpointResult: + """ + Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['endpointName'] = endpoint_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getAFDEndpoint', __args__, opts=opts, typ=GetAFDEndpointResult).value + + return AwaitableGetAFDEndpointResult( + auto_generated_domain_name_label_scope=pulumi.get(__ret__, 'auto_generated_domain_name_label_scope'), + deployment_status=pulumi.get(__ret__, 'deployment_status'), + enabled_state=pulumi.get(__ret__, 'enabled_state'), + host_name=pulumi.get(__ret__, 'host_name'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + profile_name=pulumi.get(__ret__, 'profile_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_afd_endpoint) +def get_afd_endpoint_output(endpoint_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDEndpointResult]: + """ + Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_origin.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_origin.py new file mode 100644 index 000000000000..2a340a7b2c7b --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_origin.py @@ -0,0 +1,294 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAFDOriginResult', + 'AwaitableGetAFDOriginResult', + 'get_afd_origin', + 'get_afd_origin_output', +] + +@pulumi.output_type +class GetAFDOriginResult: + """ + Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + """ + def __init__(__self__, azure_origin=None, deployment_status=None, enabled_state=None, enforce_certificate_name_check=None, host_name=None, http_port=None, https_port=None, id=None, name=None, origin_group_name=None, origin_host_header=None, priority=None, provisioning_state=None, shared_private_link_resource=None, system_data=None, type=None, weight=None): + if azure_origin and not isinstance(azure_origin, dict): + raise TypeError("Expected argument 'azure_origin' to be a dict") + pulumi.set(__self__, "azure_origin", azure_origin) + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if enabled_state and not isinstance(enabled_state, str): + raise TypeError("Expected argument 'enabled_state' to be a str") + pulumi.set(__self__, "enabled_state", enabled_state) + if enforce_certificate_name_check and not isinstance(enforce_certificate_name_check, bool): + raise TypeError("Expected argument 'enforce_certificate_name_check' to be a bool") + pulumi.set(__self__, "enforce_certificate_name_check", enforce_certificate_name_check) + if host_name and not isinstance(host_name, str): + raise TypeError("Expected argument 'host_name' to be a str") + pulumi.set(__self__, "host_name", host_name) + if http_port and not isinstance(http_port, int): + raise TypeError("Expected argument 'http_port' to be a int") + pulumi.set(__self__, "http_port", http_port) + if https_port and not isinstance(https_port, int): + raise TypeError("Expected argument 'https_port' to be a int") + pulumi.set(__self__, "https_port", https_port) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if origin_group_name and not isinstance(origin_group_name, str): + raise TypeError("Expected argument 'origin_group_name' to be a str") + pulumi.set(__self__, "origin_group_name", origin_group_name) + if origin_host_header and not isinstance(origin_host_header, str): + raise TypeError("Expected argument 'origin_host_header' to be a str") + pulumi.set(__self__, "origin_host_header", origin_host_header) + if priority and not isinstance(priority, int): + raise TypeError("Expected argument 'priority' to be a int") + pulumi.set(__self__, "priority", priority) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if shared_private_link_resource and not isinstance(shared_private_link_resource, dict): + raise TypeError("Expected argument 'shared_private_link_resource' to be a dict") + pulumi.set(__self__, "shared_private_link_resource", shared_private_link_resource) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if weight and not isinstance(weight, int): + raise TypeError("Expected argument 'weight' to be a int") + pulumi.set(__self__, "weight", weight) + + @property + @pulumi.getter(name="azureOrigin") + def azure_origin(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + Resource reference to the Azure origin resource. + """ + return pulumi.get(self, "azure_origin") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter(name="enforceCertificateNameCheck") + def enforce_certificate_name_check(self) -> Optional[bool]: + """ + Whether to enable certificate name check at origin level + """ + return pulumi.get(self, "enforce_certificate_name_check") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[int]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[int]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originGroupName") + def origin_group_name(self) -> str: + """ + The name of the origin group which contains this origin. + """ + return pulumi.get(self, "origin_group_name") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[str]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter + def priority(self) -> Optional[int]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sharedPrivateLinkResource") + def shared_private_link_resource(self) -> Optional['outputs.SharedPrivateLinkResourcePropertiesResponse']: + """ + The properties of the private link resource for private origin. + """ + return pulumi.get(self, "shared_private_link_resource") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def weight(self) -> Optional[int]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + + +class AwaitableGetAFDOriginResult(GetAFDOriginResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAFDOriginResult( + azure_origin=self.azure_origin, + deployment_status=self.deployment_status, + enabled_state=self.enabled_state, + enforce_certificate_name_check=self.enforce_certificate_name_check, + host_name=self.host_name, + http_port=self.http_port, + https_port=self.https_port, + id=self.id, + name=self.name, + origin_group_name=self.origin_group_name, + origin_host_header=self.origin_host_header, + priority=self.priority, + provisioning_state=self.provisioning_state, + shared_private_link_resource=self.shared_private_link_resource, + system_data=self.system_data, + type=self.type, + weight=self.weight) + + +def get_afd_origin(origin_group_name: Optional[str] = None, + origin_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDOriginResult: + """ + Gets an existing origin within an origin group. + + + :param str origin_group_name: Name of the origin group which is unique within the profile. + :param str origin_name: Name of the origin which is unique within the profile. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['originGroupName'] = origin_group_name + __args__['originName'] = origin_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getAFDOrigin', __args__, opts=opts, typ=GetAFDOriginResult).value + + return AwaitableGetAFDOriginResult( + azure_origin=pulumi.get(__ret__, 'azure_origin'), + deployment_status=pulumi.get(__ret__, 'deployment_status'), + enabled_state=pulumi.get(__ret__, 'enabled_state'), + enforce_certificate_name_check=pulumi.get(__ret__, 'enforce_certificate_name_check'), + host_name=pulumi.get(__ret__, 'host_name'), + http_port=pulumi.get(__ret__, 'http_port'), + https_port=pulumi.get(__ret__, 'https_port'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + origin_group_name=pulumi.get(__ret__, 'origin_group_name'), + origin_host_header=pulumi.get(__ret__, 'origin_host_header'), + priority=pulumi.get(__ret__, 'priority'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + shared_private_link_resource=pulumi.get(__ret__, 'shared_private_link_resource'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + weight=pulumi.get(__ret__, 'weight')) + + +@_utilities.lift_output_func(get_afd_origin) +def get_afd_origin_output(origin_group_name: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDOriginResult]: + """ + Gets an existing origin within an origin group. + + + :param str origin_group_name: Name of the origin group which is unique within the profile. + :param str origin_name: Name of the origin which is unique within the profile. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_origin_group.py new file mode 100644 index 000000000000..ad8b02e0e853 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_afd_origin_group.py @@ -0,0 +1,211 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAFDOriginGroupResult', + 'AwaitableGetAFDOriginGroupResult', + 'get_afd_origin_group', + 'get_afd_origin_group_output', +] + +@pulumi.output_type +class GetAFDOriginGroupResult: + """ + AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door. + """ + def __init__(__self__, deployment_status=None, health_probe_settings=None, id=None, load_balancing_settings=None, name=None, profile_name=None, provisioning_state=None, session_affinity_state=None, system_data=None, traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=None, type=None): + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if health_probe_settings and not isinstance(health_probe_settings, dict): + raise TypeError("Expected argument 'health_probe_settings' to be a dict") + pulumi.set(__self__, "health_probe_settings", health_probe_settings) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if load_balancing_settings and not isinstance(load_balancing_settings, dict): + raise TypeError("Expected argument 'load_balancing_settings' to be a dict") + pulumi.set(__self__, "load_balancing_settings", load_balancing_settings) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if profile_name and not isinstance(profile_name, str): + raise TypeError("Expected argument 'profile_name' to be a str") + pulumi.set(__self__, "profile_name", profile_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if session_affinity_state and not isinstance(session_affinity_state, str): + raise TypeError("Expected argument 'session_affinity_state' to be a str") + pulumi.set(__self__, "session_affinity_state", session_affinity_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes and not isinstance(traffic_restoration_time_to_healed_or_new_endpoints_in_minutes, int): + raise TypeError("Expected argument 'traffic_restoration_time_to_healed_or_new_endpoints_in_minutes' to be a int") + pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="healthProbeSettings") + def health_probe_settings(self) -> Optional['outputs.HealthProbeParametersResponse']: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="loadBalancingSettings") + def load_balancing_settings(self) -> Optional['outputs.LoadBalancingSettingsParametersResponse']: + """ + Load balancing settings for a backend pool + """ + return pulumi.get(self, "load_balancing_settings") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> str: + """ + The name of the profile which holds the origin group. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sessionAffinityState") + def session_affinity_state(self) -> Optional[str]: + """ + Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "session_affinity_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[int]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetAFDOriginGroupResult(GetAFDOriginGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAFDOriginGroupResult( + deployment_status=self.deployment_status, + health_probe_settings=self.health_probe_settings, + id=self.id, + load_balancing_settings=self.load_balancing_settings, + name=self.name, + profile_name=self.profile_name, + provisioning_state=self.provisioning_state, + session_affinity_state=self.session_affinity_state, + system_data=self.system_data, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=self.traffic_restoration_time_to_healed_or_new_endpoints_in_minutes, + type=self.type) + + +def get_afd_origin_group(origin_group_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDOriginGroupResult: + """ + Gets an existing origin group within a profile. + + + :param str origin_group_name: Name of the origin group which is unique within the endpoint. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['originGroupName'] = origin_group_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getAFDOriginGroup', __args__, opts=opts, typ=GetAFDOriginGroupResult).value + + return AwaitableGetAFDOriginGroupResult( + deployment_status=pulumi.get(__ret__, 'deployment_status'), + health_probe_settings=pulumi.get(__ret__, 'health_probe_settings'), + id=pulumi.get(__ret__, 'id'), + load_balancing_settings=pulumi.get(__ret__, 'load_balancing_settings'), + name=pulumi.get(__ret__, 'name'), + profile_name=pulumi.get(__ret__, 'profile_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + session_affinity_state=pulumi.get(__ret__, 'session_affinity_state'), + system_data=pulumi.get(__ret__, 'system_data'), + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=pulumi.get(__ret__, 'traffic_restoration_time_to_healed_or_new_endpoints_in_minutes'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_afd_origin_group) +def get_afd_origin_group_output(origin_group_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDOriginGroupResult]: + """ + Gets an existing origin group within a profile. + + + :param str origin_group_name: Name of the origin group which is unique within the endpoint. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_custom_domain.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_custom_domain.py new file mode 100644 index 000000000000..d0d8def355f2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_custom_domain.py @@ -0,0 +1,219 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCustomDomainResult', + 'AwaitableGetCustomDomainResult', + 'get_custom_domain', + 'get_custom_domain_output', +] + +@pulumi.output_type +class GetCustomDomainResult: + """ + Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. + """ + def __init__(__self__, custom_https_parameters=None, custom_https_provisioning_state=None, custom_https_provisioning_substate=None, host_name=None, id=None, name=None, provisioning_state=None, resource_state=None, system_data=None, type=None, validation_data=None): + if custom_https_parameters and not isinstance(custom_https_parameters, dict): + raise TypeError("Expected argument 'custom_https_parameters' to be a dict") + pulumi.set(__self__, "custom_https_parameters", custom_https_parameters) + if custom_https_provisioning_state and not isinstance(custom_https_provisioning_state, str): + raise TypeError("Expected argument 'custom_https_provisioning_state' to be a str") + pulumi.set(__self__, "custom_https_provisioning_state", custom_https_provisioning_state) + if custom_https_provisioning_substate and not isinstance(custom_https_provisioning_substate, str): + raise TypeError("Expected argument 'custom_https_provisioning_substate' to be a str") + pulumi.set(__self__, "custom_https_provisioning_substate", custom_https_provisioning_substate) + if host_name and not isinstance(host_name, str): + raise TypeError("Expected argument 'host_name' to be a str") + pulumi.set(__self__, "host_name", host_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if resource_state and not isinstance(resource_state, str): + raise TypeError("Expected argument 'resource_state' to be a str") + pulumi.set(__self__, "resource_state", resource_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if validation_data and not isinstance(validation_data, str): + raise TypeError("Expected argument 'validation_data' to be a str") + pulumi.set(__self__, "validation_data", validation_data) + + @property + @pulumi.getter(name="customHttpsParameters") + def custom_https_parameters(self) -> Optional[Any]: + """ + Certificate parameters for securing custom HTTPS + """ + return pulumi.get(self, "custom_https_parameters") + + @property + @pulumi.getter(name="customHttpsProvisioningState") + def custom_https_provisioning_state(self) -> str: + """ + Provisioning status of the custom domain. + """ + return pulumi.get(self, "custom_https_provisioning_state") + + @property + @pulumi.getter(name="customHttpsProvisioningSubstate") + def custom_https_provisioning_substate(self) -> str: + """ + Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + """ + return pulumi.get(self, "custom_https_provisioning_substate") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The host name of the custom domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status of Custom Https of the custom domain. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> str: + """ + Resource status of the custom domain. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationData") + def validation_data(self) -> Optional[str]: + """ + Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + """ + return pulumi.get(self, "validation_data") + + +class AwaitableGetCustomDomainResult(GetCustomDomainResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCustomDomainResult( + custom_https_parameters=self.custom_https_parameters, + custom_https_provisioning_state=self.custom_https_provisioning_state, + custom_https_provisioning_substate=self.custom_https_provisioning_substate, + host_name=self.host_name, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + resource_state=self.resource_state, + system_data=self.system_data, + type=self.type, + validation_data=self.validation_data) + + +def get_custom_domain(custom_domain_name: Optional[str] = None, + endpoint_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomDomainResult: + """ + Gets an existing custom domain within an endpoint. + + + :param str custom_domain_name: Name of the custom domain within an endpoint. + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['customDomainName'] = custom_domain_name + __args__['endpointName'] = endpoint_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getCustomDomain', __args__, opts=opts, typ=GetCustomDomainResult).value + + return AwaitableGetCustomDomainResult( + custom_https_parameters=pulumi.get(__ret__, 'custom_https_parameters'), + custom_https_provisioning_state=pulumi.get(__ret__, 'custom_https_provisioning_state'), + custom_https_provisioning_substate=pulumi.get(__ret__, 'custom_https_provisioning_substate'), + host_name=pulumi.get(__ret__, 'host_name'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + resource_state=pulumi.get(__ret__, 'resource_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + validation_data=pulumi.get(__ret__, 'validation_data')) + + +@_utilities.lift_output_func(get_custom_domain) +def get_custom_domain_output(custom_domain_name: Optional[pulumi.Input[str]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomDomainResult]: + """ + Gets an existing custom domain within an endpoint. + + + :param str custom_domain_name: Name of the custom domain within an endpoint. + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_endpoint.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_endpoint.py new file mode 100644 index 000000000000..6d34eeee2c61 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_endpoint.py @@ -0,0 +1,409 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetEndpointResult', + 'AwaitableGetEndpointResult', + 'get_endpoint', + 'get_endpoint_output', +] + +@pulumi.output_type +class GetEndpointResult: + """ + CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. + """ + def __init__(__self__, content_types_to_compress=None, custom_domains=None, default_origin_group=None, delivery_policy=None, geo_filters=None, host_name=None, id=None, is_compression_enabled=None, is_http_allowed=None, is_https_allowed=None, location=None, name=None, optimization_type=None, origin_groups=None, origin_host_header=None, origin_path=None, origins=None, probe_path=None, provisioning_state=None, query_string_caching_behavior=None, resource_state=None, system_data=None, tags=None, type=None, url_signing_keys=None, web_application_firewall_policy_link=None): + if content_types_to_compress and not isinstance(content_types_to_compress, list): + raise TypeError("Expected argument 'content_types_to_compress' to be a list") + pulumi.set(__self__, "content_types_to_compress", content_types_to_compress) + if custom_domains and not isinstance(custom_domains, list): + raise TypeError("Expected argument 'custom_domains' to be a list") + pulumi.set(__self__, "custom_domains", custom_domains) + if default_origin_group and not isinstance(default_origin_group, dict): + raise TypeError("Expected argument 'default_origin_group' to be a dict") + pulumi.set(__self__, "default_origin_group", default_origin_group) + if delivery_policy and not isinstance(delivery_policy, dict): + raise TypeError("Expected argument 'delivery_policy' to be a dict") + pulumi.set(__self__, "delivery_policy", delivery_policy) + if geo_filters and not isinstance(geo_filters, list): + raise TypeError("Expected argument 'geo_filters' to be a list") + pulumi.set(__self__, "geo_filters", geo_filters) + if host_name and not isinstance(host_name, str): + raise TypeError("Expected argument 'host_name' to be a str") + pulumi.set(__self__, "host_name", host_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_compression_enabled and not isinstance(is_compression_enabled, bool): + raise TypeError("Expected argument 'is_compression_enabled' to be a bool") + pulumi.set(__self__, "is_compression_enabled", is_compression_enabled) + if is_http_allowed and not isinstance(is_http_allowed, bool): + raise TypeError("Expected argument 'is_http_allowed' to be a bool") + pulumi.set(__self__, "is_http_allowed", is_http_allowed) + if is_https_allowed and not isinstance(is_https_allowed, bool): + raise TypeError("Expected argument 'is_https_allowed' to be a bool") + pulumi.set(__self__, "is_https_allowed", is_https_allowed) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if optimization_type and not isinstance(optimization_type, str): + raise TypeError("Expected argument 'optimization_type' to be a str") + pulumi.set(__self__, "optimization_type", optimization_type) + if origin_groups and not isinstance(origin_groups, list): + raise TypeError("Expected argument 'origin_groups' to be a list") + pulumi.set(__self__, "origin_groups", origin_groups) + if origin_host_header and not isinstance(origin_host_header, str): + raise TypeError("Expected argument 'origin_host_header' to be a str") + pulumi.set(__self__, "origin_host_header", origin_host_header) + if origin_path and not isinstance(origin_path, str): + raise TypeError("Expected argument 'origin_path' to be a str") + pulumi.set(__self__, "origin_path", origin_path) + if origins and not isinstance(origins, list): + raise TypeError("Expected argument 'origins' to be a list") + pulumi.set(__self__, "origins", origins) + if probe_path and not isinstance(probe_path, str): + raise TypeError("Expected argument 'probe_path' to be a str") + pulumi.set(__self__, "probe_path", probe_path) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if query_string_caching_behavior and not isinstance(query_string_caching_behavior, str): + raise TypeError("Expected argument 'query_string_caching_behavior' to be a str") + pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior) + if resource_state and not isinstance(resource_state, str): + raise TypeError("Expected argument 'resource_state' to be a str") + pulumi.set(__self__, "resource_state", resource_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if url_signing_keys and not isinstance(url_signing_keys, list): + raise TypeError("Expected argument 'url_signing_keys' to be a list") + pulumi.set(__self__, "url_signing_keys", url_signing_keys) + if web_application_firewall_policy_link and not isinstance(web_application_firewall_policy_link, dict): + raise TypeError("Expected argument 'web_application_firewall_policy_link' to be a dict") + pulumi.set(__self__, "web_application_firewall_policy_link", web_application_firewall_policy_link) + + @property + @pulumi.getter(name="contentTypesToCompress") + def content_types_to_compress(self) -> Optional[Sequence[str]]: + """ + List of content types on which compression applies. The value should be a valid MIME type. + """ + return pulumi.get(self, "content_types_to_compress") + + @property + @pulumi.getter(name="customDomains") + def custom_domains(self) -> Sequence['outputs.DeepCreatedCustomDomainResponse']: + """ + The custom domains under the endpoint. + """ + return pulumi.get(self, "custom_domains") + + @property + @pulumi.getter(name="defaultOriginGroup") + def default_origin_group(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + A reference to the origin group. + """ + return pulumi.get(self, "default_origin_group") + + @property + @pulumi.getter(name="deliveryPolicy") + def delivery_policy(self) -> Optional['outputs.EndpointPropertiesUpdateParametersResponseDeliveryPolicy']: + """ + A policy that specifies the delivery rules to be used for an endpoint. + """ + return pulumi.get(self, "delivery_policy") + + @property + @pulumi.getter(name="geoFilters") + def geo_filters(self) -> Optional[Sequence['outputs.GeoFilterResponse']]: + """ + List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ + """ + return pulumi.get(self, "geo_filters") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> Optional[bool]: + """ + Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + @property + @pulumi.getter(name="isHttpAllowed") + def is_http_allowed(self) -> Optional[bool]: + """ + Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + """ + return pulumi.get(self, "is_http_allowed") + + @property + @pulumi.getter(name="isHttpsAllowed") + def is_https_allowed(self) -> Optional[bool]: + """ + Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + """ + return pulumi.get(self, "is_https_allowed") + + @property + @pulumi.getter + def location(self) -> str: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="optimizationType") + def optimization_type(self) -> Optional[str]: + """ + Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. + """ + return pulumi.get(self, "optimization_type") + + @property + @pulumi.getter(name="originGroups") + def origin_groups(self) -> Optional[Sequence['outputs.DeepCreatedOriginGroupResponse']]: + """ + The origin groups comprising of origins that are used for load balancing the traffic based on availability. + """ + return pulumi.get(self, "origin_groups") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[str]: + """ + The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter(name="originPath") + def origin_path(self) -> Optional[str]: + """ + A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + """ + return pulumi.get(self, "origin_path") + + @property + @pulumi.getter + def origins(self) -> Sequence['outputs.DeepCreatedOriginResponse']: + """ + The source of the content being delivered via CDN. + """ + return pulumi.get(self, "origins") + + @property + @pulumi.getter(name="probePath") + def probe_path(self) -> Optional[str]: + """ + Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin. + """ + return pulumi.get(self, "probe_path") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status of the endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> Optional[str]: + """ + Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. + """ + return pulumi.get(self, "query_string_caching_behavior") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> str: + """ + Resource status of the endpoint. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="urlSigningKeys") + def url_signing_keys(self) -> Optional[Sequence['outputs.UrlSigningKeyResponse']]: + """ + List of keys used to validate the signed URL hashes. + """ + return pulumi.get(self, "url_signing_keys") + + @property + @pulumi.getter(name="webApplicationFirewallPolicyLink") + def web_application_firewall_policy_link(self) -> Optional['outputs.EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink']: + """ + Defines the Web Application Firewall policy for the endpoint (if applicable) + """ + return pulumi.get(self, "web_application_firewall_policy_link") + + +class AwaitableGetEndpointResult(GetEndpointResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEndpointResult( + content_types_to_compress=self.content_types_to_compress, + custom_domains=self.custom_domains, + default_origin_group=self.default_origin_group, + delivery_policy=self.delivery_policy, + geo_filters=self.geo_filters, + host_name=self.host_name, + id=self.id, + is_compression_enabled=self.is_compression_enabled, + is_http_allowed=self.is_http_allowed, + is_https_allowed=self.is_https_allowed, + location=self.location, + name=self.name, + optimization_type=self.optimization_type, + origin_groups=self.origin_groups, + origin_host_header=self.origin_host_header, + origin_path=self.origin_path, + origins=self.origins, + probe_path=self.probe_path, + provisioning_state=self.provisioning_state, + query_string_caching_behavior=self.query_string_caching_behavior, + resource_state=self.resource_state, + system_data=self.system_data, + tags=self.tags, + type=self.type, + url_signing_keys=self.url_signing_keys, + web_application_firewall_policy_link=self.web_application_firewall_policy_link) + + +def get_endpoint(endpoint_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEndpointResult: + """ + Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['endpointName'] = endpoint_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getEndpoint', __args__, opts=opts, typ=GetEndpointResult).value + + return AwaitableGetEndpointResult( + content_types_to_compress=pulumi.get(__ret__, 'content_types_to_compress'), + custom_domains=pulumi.get(__ret__, 'custom_domains'), + default_origin_group=pulumi.get(__ret__, 'default_origin_group'), + delivery_policy=pulumi.get(__ret__, 'delivery_policy'), + geo_filters=pulumi.get(__ret__, 'geo_filters'), + host_name=pulumi.get(__ret__, 'host_name'), + id=pulumi.get(__ret__, 'id'), + is_compression_enabled=pulumi.get(__ret__, 'is_compression_enabled'), + is_http_allowed=pulumi.get(__ret__, 'is_http_allowed'), + is_https_allowed=pulumi.get(__ret__, 'is_https_allowed'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + optimization_type=pulumi.get(__ret__, 'optimization_type'), + origin_groups=pulumi.get(__ret__, 'origin_groups'), + origin_host_header=pulumi.get(__ret__, 'origin_host_header'), + origin_path=pulumi.get(__ret__, 'origin_path'), + origins=pulumi.get(__ret__, 'origins'), + probe_path=pulumi.get(__ret__, 'probe_path'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + query_string_caching_behavior=pulumi.get(__ret__, 'query_string_caching_behavior'), + resource_state=pulumi.get(__ret__, 'resource_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + url_signing_keys=pulumi.get(__ret__, 'url_signing_keys'), + web_application_firewall_policy_link=pulumi.get(__ret__, 'web_application_firewall_policy_link')) + + +@_utilities.lift_output_func(get_endpoint) +def get_endpoint_output(endpoint_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointResult]: + """ + Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_key_group.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_key_group.py new file mode 100644 index 000000000000..d050dc706e66 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_key_group.py @@ -0,0 +1,159 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetKeyGroupResult', + 'AwaitableGetKeyGroupResult', + 'get_key_group', + 'get_key_group_output', +] + +@pulumi.output_type +class GetKeyGroupResult: + """ + Contains a list of references of UrlSigningKey type secret objects. + """ + def __init__(__self__, deployment_status=None, id=None, key_references=None, name=None, provisioning_state=None, system_data=None, type=None): + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if key_references and not isinstance(key_references, list): + raise TypeError("Expected argument 'key_references' to be a list") + pulumi.set(__self__, "key_references", key_references) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="keyReferences") + def key_references(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + Names of UrlSigningKey type secret objects + """ + return pulumi.get(self, "key_references") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetKeyGroupResult(GetKeyGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetKeyGroupResult( + deployment_status=self.deployment_status, + id=self.id, + key_references=self.key_references, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_key_group(key_group_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyGroupResult: + """ + Gets an existing KeyGroup within a profile. + + + :param str key_group_name: Name of the KeyGroup under the profile. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['keyGroupName'] = key_group_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getKeyGroup', __args__, opts=opts, typ=GetKeyGroupResult).value + + return AwaitableGetKeyGroupResult( + deployment_status=pulumi.get(__ret__, 'deployment_status'), + id=pulumi.get(__ret__, 'id'), + key_references=pulumi.get(__ret__, 'key_references'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_key_group) +def get_key_group_output(key_group_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyGroupResult]: + """ + Gets an existing KeyGroup within a profile. + + + :param str key_group_name: Name of the KeyGroup under the profile. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_origin.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_origin.py new file mode 100644 index 000000000000..c6093690a17e --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_origin.py @@ -0,0 +1,310 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOriginResult', + 'AwaitableGetOriginResult', + 'get_origin', + 'get_origin_output', +] + +@pulumi.output_type +class GetOriginResult: + """ + CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + """ + def __init__(__self__, enabled=None, host_name=None, http_port=None, https_port=None, id=None, name=None, origin_host_header=None, priority=None, private_endpoint_status=None, private_link_alias=None, private_link_approval_message=None, private_link_location=None, private_link_resource_id=None, provisioning_state=None, resource_state=None, system_data=None, type=None, weight=None): + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if host_name and not isinstance(host_name, str): + raise TypeError("Expected argument 'host_name' to be a str") + pulumi.set(__self__, "host_name", host_name) + if http_port and not isinstance(http_port, int): + raise TypeError("Expected argument 'http_port' to be a int") + pulumi.set(__self__, "http_port", http_port) + if https_port and not isinstance(https_port, int): + raise TypeError("Expected argument 'https_port' to be a int") + pulumi.set(__self__, "https_port", https_port) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if origin_host_header and not isinstance(origin_host_header, str): + raise TypeError("Expected argument 'origin_host_header' to be a str") + pulumi.set(__self__, "origin_host_header", origin_host_header) + if priority and not isinstance(priority, int): + raise TypeError("Expected argument 'priority' to be a int") + pulumi.set(__self__, "priority", priority) + if private_endpoint_status and not isinstance(private_endpoint_status, str): + raise TypeError("Expected argument 'private_endpoint_status' to be a str") + pulumi.set(__self__, "private_endpoint_status", private_endpoint_status) + if private_link_alias and not isinstance(private_link_alias, str): + raise TypeError("Expected argument 'private_link_alias' to be a str") + pulumi.set(__self__, "private_link_alias", private_link_alias) + if private_link_approval_message and not isinstance(private_link_approval_message, str): + raise TypeError("Expected argument 'private_link_approval_message' to be a str") + pulumi.set(__self__, "private_link_approval_message", private_link_approval_message) + if private_link_location and not isinstance(private_link_location, str): + raise TypeError("Expected argument 'private_link_location' to be a str") + pulumi.set(__self__, "private_link_location", private_link_location) + if private_link_resource_id and not isinstance(private_link_resource_id, str): + raise TypeError("Expected argument 'private_link_resource_id' to be a str") + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if resource_state and not isinstance(resource_state, str): + raise TypeError("Expected argument 'resource_state' to be a str") + pulumi.set(__self__, "resource_state", resource_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if weight and not isinstance(weight, int): + raise TypeError("Expected argument 'weight' to be a int") + pulumi.set(__self__, "weight", weight) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Origin is enabled for load balancing or not + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[int]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[int]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[str]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter + def priority(self) -> Optional[int]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="privateEndpointStatus") + def private_endpoint_status(self) -> str: + """ + The approval status for the connection to the Private Link + """ + return pulumi.get(self, "private_endpoint_status") + + @property + @pulumi.getter(name="privateLinkAlias") + def private_link_alias(self) -> Optional[str]: + """ + The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + """ + return pulumi.get(self, "private_link_alias") + + @property + @pulumi.getter(name="privateLinkApprovalMessage") + def private_link_approval_message(self) -> Optional[str]: + """ + A custom message to be included in the approval request to connect to the Private Link. + """ + return pulumi.get(self, "private_link_approval_message") + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> Optional[str]: + """ + The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + """ + return pulumi.get(self, "private_link_location") + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> Optional[str]: + """ + The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + """ + return pulumi.get(self, "private_link_resource_id") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status of the origin. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> str: + """ + Resource status of the origin. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def weight(self) -> Optional[int]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + + +class AwaitableGetOriginResult(GetOriginResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOriginResult( + enabled=self.enabled, + host_name=self.host_name, + http_port=self.http_port, + https_port=self.https_port, + id=self.id, + name=self.name, + origin_host_header=self.origin_host_header, + priority=self.priority, + private_endpoint_status=self.private_endpoint_status, + private_link_alias=self.private_link_alias, + private_link_approval_message=self.private_link_approval_message, + private_link_location=self.private_link_location, + private_link_resource_id=self.private_link_resource_id, + provisioning_state=self.provisioning_state, + resource_state=self.resource_state, + system_data=self.system_data, + type=self.type, + weight=self.weight) + + +def get_origin(endpoint_name: Optional[str] = None, + origin_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOriginResult: + """ + Gets an existing origin within an endpoint. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str origin_name: Name of the origin which is unique within the endpoint. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['endpointName'] = endpoint_name + __args__['originName'] = origin_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getOrigin', __args__, opts=opts, typ=GetOriginResult).value + + return AwaitableGetOriginResult( + enabled=pulumi.get(__ret__, 'enabled'), + host_name=pulumi.get(__ret__, 'host_name'), + http_port=pulumi.get(__ret__, 'http_port'), + https_port=pulumi.get(__ret__, 'https_port'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + origin_host_header=pulumi.get(__ret__, 'origin_host_header'), + priority=pulumi.get(__ret__, 'priority'), + private_endpoint_status=pulumi.get(__ret__, 'private_endpoint_status'), + private_link_alias=pulumi.get(__ret__, 'private_link_alias'), + private_link_approval_message=pulumi.get(__ret__, 'private_link_approval_message'), + private_link_location=pulumi.get(__ret__, 'private_link_location'), + private_link_resource_id=pulumi.get(__ret__, 'private_link_resource_id'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + resource_state=pulumi.get(__ret__, 'resource_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + weight=pulumi.get(__ret__, 'weight')) + + +@_utilities.lift_output_func(get_origin) +def get_origin_output(endpoint_name: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOriginResult]: + """ + Gets an existing origin within an endpoint. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str origin_name: Name of the origin which is unique within the endpoint. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_origin_group.py new file mode 100644 index 000000000000..cdb30b7c5530 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_origin_group.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOriginGroupResult', + 'AwaitableGetOriginGroupResult', + 'get_origin_group', + 'get_origin_group_output', +] + +@pulumi.output_type +class GetOriginGroupResult: + """ + Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. + """ + def __init__(__self__, health_probe_settings=None, id=None, name=None, origins=None, provisioning_state=None, resource_state=None, response_based_origin_error_detection_settings=None, system_data=None, traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=None, type=None): + if health_probe_settings and not isinstance(health_probe_settings, dict): + raise TypeError("Expected argument 'health_probe_settings' to be a dict") + pulumi.set(__self__, "health_probe_settings", health_probe_settings) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if origins and not isinstance(origins, list): + raise TypeError("Expected argument 'origins' to be a list") + pulumi.set(__self__, "origins", origins) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if resource_state and not isinstance(resource_state, str): + raise TypeError("Expected argument 'resource_state' to be a str") + pulumi.set(__self__, "resource_state", resource_state) + if response_based_origin_error_detection_settings and not isinstance(response_based_origin_error_detection_settings, dict): + raise TypeError("Expected argument 'response_based_origin_error_detection_settings' to be a dict") + pulumi.set(__self__, "response_based_origin_error_detection_settings", response_based_origin_error_detection_settings) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes and not isinstance(traffic_restoration_time_to_healed_or_new_endpoints_in_minutes, int): + raise TypeError("Expected argument 'traffic_restoration_time_to_healed_or_new_endpoints_in_minutes' to be a int") + pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="healthProbeSettings") + def health_probe_settings(self) -> Optional['outputs.HealthProbeParametersResponse']: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def origins(self) -> Sequence['outputs.ResourceReferenceResponse']: + """ + The source of the content being delivered via CDN within given origin group. + """ + return pulumi.get(self, "origins") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status of the origin group. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> str: + """ + Resource status of the origin group. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="responseBasedOriginErrorDetectionSettings") + def response_based_origin_error_detection_settings(self) -> Optional['outputs.ResponseBasedOriginErrorDetectionParametersResponse']: + """ + The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + """ + return pulumi.get(self, "response_based_origin_error_detection_settings") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[int]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetOriginGroupResult(GetOriginGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOriginGroupResult( + health_probe_settings=self.health_probe_settings, + id=self.id, + name=self.name, + origins=self.origins, + provisioning_state=self.provisioning_state, + resource_state=self.resource_state, + response_based_origin_error_detection_settings=self.response_based_origin_error_detection_settings, + system_data=self.system_data, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=self.traffic_restoration_time_to_healed_or_new_endpoints_in_minutes, + type=self.type) + + +def get_origin_group(endpoint_name: Optional[str] = None, + origin_group_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOriginGroupResult: + """ + Gets an existing origin group within an endpoint. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str origin_group_name: Name of the origin group which is unique within the endpoint. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['endpointName'] = endpoint_name + __args__['originGroupName'] = origin_group_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getOriginGroup', __args__, opts=opts, typ=GetOriginGroupResult).value + + return AwaitableGetOriginGroupResult( + health_probe_settings=pulumi.get(__ret__, 'health_probe_settings'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + origins=pulumi.get(__ret__, 'origins'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + resource_state=pulumi.get(__ret__, 'resource_state'), + response_based_origin_error_detection_settings=pulumi.get(__ret__, 'response_based_origin_error_detection_settings'), + system_data=pulumi.get(__ret__, 'system_data'), + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=pulumi.get(__ret__, 'traffic_restoration_time_to_healed_or_new_endpoints_in_minutes'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_origin_group) +def get_origin_group_output(endpoint_name: Optional[pulumi.Input[str]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOriginGroupResult]: + """ + Gets an existing origin group within an endpoint. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str origin_group_name: Name of the origin group which is unique within the endpoint. + :param str profile_name: Name of the CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_policy.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_policy.py new file mode 100644 index 000000000000..46abd7836844 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_policy.py @@ -0,0 +1,271 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPolicyResult', + 'AwaitableGetPolicyResult', + 'get_policy', + 'get_policy_output', +] + +@pulumi.output_type +class GetPolicyResult: + """ + Defines web application firewall policy for Azure CDN. + """ + def __init__(__self__, custom_rules=None, endpoint_links=None, etag=None, extended_properties=None, id=None, location=None, managed_rules=None, name=None, policy_settings=None, provisioning_state=None, rate_limit_rules=None, resource_state=None, sku=None, system_data=None, tags=None, type=None): + if custom_rules and not isinstance(custom_rules, dict): + raise TypeError("Expected argument 'custom_rules' to be a dict") + pulumi.set(__self__, "custom_rules", custom_rules) + if endpoint_links and not isinstance(endpoint_links, list): + raise TypeError("Expected argument 'endpoint_links' to be a list") + pulumi.set(__self__, "endpoint_links", endpoint_links) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if extended_properties and not isinstance(extended_properties, dict): + raise TypeError("Expected argument 'extended_properties' to be a dict") + pulumi.set(__self__, "extended_properties", extended_properties) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_rules and not isinstance(managed_rules, dict): + raise TypeError("Expected argument 'managed_rules' to be a dict") + pulumi.set(__self__, "managed_rules", managed_rules) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if policy_settings and not isinstance(policy_settings, dict): + raise TypeError("Expected argument 'policy_settings' to be a dict") + pulumi.set(__self__, "policy_settings", policy_settings) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if rate_limit_rules and not isinstance(rate_limit_rules, dict): + raise TypeError("Expected argument 'rate_limit_rules' to be a dict") + pulumi.set(__self__, "rate_limit_rules", rate_limit_rules) + if resource_state and not isinstance(resource_state, str): + raise TypeError("Expected argument 'resource_state' to be a str") + pulumi.set(__self__, "resource_state", resource_state) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="customRules") + def custom_rules(self) -> Optional['outputs.CustomRuleListResponse']: + """ + Describes custom rules inside the policy. + """ + return pulumi.get(self, "custom_rules") + + @property + @pulumi.getter(name="endpointLinks") + def endpoint_links(self) -> Sequence['outputs.CdnEndpointResponse']: + """ + Describes Azure CDN endpoints associated with this Web Application Firewall policy. + """ + return pulumi.get(self, "endpoint_links") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Gets a unique read-only string that changes whenever the resource is updated. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> Optional[Mapping[str, str]]: + """ + Key-Value pair representing additional properties for Web Application Firewall policy. + """ + return pulumi.get(self, "extended_properties") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedRules") + def managed_rules(self) -> Optional['outputs.ManagedRuleSetListResponse']: + """ + Describes managed rules inside the policy. + """ + return pulumi.get(self, "managed_rules") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="policySettings") + def policy_settings(self) -> Optional['outputs.PolicySettingsResponse']: + """ + Describes policySettings for policy + """ + return pulumi.get(self, "policy_settings") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the WebApplicationFirewallPolicy. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="rateLimitRules") + def rate_limit_rules(self) -> Optional['outputs.RateLimitRuleListResponse']: + """ + Describes rate limit rules inside the policy. + """ + return pulumi.get(self, "rate_limit_rules") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> str: + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter + def sku(self) -> 'outputs.SkuResponse': + """ + The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetPolicyResult(GetPolicyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPolicyResult( + custom_rules=self.custom_rules, + endpoint_links=self.endpoint_links, + etag=self.etag, + extended_properties=self.extended_properties, + id=self.id, + location=self.location, + managed_rules=self.managed_rules, + name=self.name, + policy_settings=self.policy_settings, + provisioning_state=self.provisioning_state, + rate_limit_rules=self.rate_limit_rules, + resource_state=self.resource_state, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_policy(policy_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyResult: + """ + Retrieve protection policy with specified name within a resource group. + + + :param str policy_name: The name of the CdnWebApplicationFirewallPolicy. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['policyName'] = policy_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getPolicy', __args__, opts=opts, typ=GetPolicyResult).value + + return AwaitableGetPolicyResult( + custom_rules=pulumi.get(__ret__, 'custom_rules'), + endpoint_links=pulumi.get(__ret__, 'endpoint_links'), + etag=pulumi.get(__ret__, 'etag'), + extended_properties=pulumi.get(__ret__, 'extended_properties'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + managed_rules=pulumi.get(__ret__, 'managed_rules'), + name=pulumi.get(__ret__, 'name'), + policy_settings=pulumi.get(__ret__, 'policy_settings'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + rate_limit_rules=pulumi.get(__ret__, 'rate_limit_rules'), + resource_state=pulumi.get(__ret__, 'resource_state'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_policy) +def get_policy_output(policy_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: + """ + Retrieve protection policy with specified name within a resource group. + + + :param str policy_name: The name of the CdnWebApplicationFirewallPolicy. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_profile.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_profile.py new file mode 100644 index 000000000000..8351c91a96c4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_profile.py @@ -0,0 +1,248 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetProfileResult', + 'AwaitableGetProfileResult', + 'get_profile', + 'get_profile_output', +] + +@pulumi.output_type +class GetProfileResult: + """ + A profile is a logical grouping of endpoints that share the same settings. + """ + def __init__(__self__, extended_properties=None, front_door_id=None, id=None, identity=None, kind=None, location=None, name=None, origin_response_timeout_seconds=None, provisioning_state=None, resource_state=None, sku=None, system_data=None, tags=None, type=None): + if extended_properties and not isinstance(extended_properties, dict): + raise TypeError("Expected argument 'extended_properties' to be a dict") + pulumi.set(__self__, "extended_properties", extended_properties) + if front_door_id and not isinstance(front_door_id, str): + raise TypeError("Expected argument 'front_door_id' to be a str") + pulumi.set(__self__, "front_door_id", front_door_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if origin_response_timeout_seconds and not isinstance(origin_response_timeout_seconds, int): + raise TypeError("Expected argument 'origin_response_timeout_seconds' to be a int") + pulumi.set(__self__, "origin_response_timeout_seconds", origin_response_timeout_seconds) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if resource_state and not isinstance(resource_state, str): + raise TypeError("Expected argument 'resource_state' to be a str") + pulumi.set(__self__, "resource_state", resource_state) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> Mapping[str, str]: + """ + Key-Value pair representing additional properties for profiles. + """ + return pulumi.get(self, "extended_properties") + + @property + @pulumi.getter(name="frontDoorId") + def front_door_id(self) -> str: + """ + The Id of the frontdoor. + """ + return pulumi.get(self, "front_door_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Managed service identity (system assigned and/or user assigned identities). + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originResponseTimeoutSeconds") + def origin_response_timeout_seconds(self) -> Optional[int]: + """ + Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + """ + return pulumi.get(self, "origin_response_timeout_seconds") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status of the profile. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> str: + """ + Resource status of the profile. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter + def sku(self) -> 'outputs.SkuResponse': + """ + The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetProfileResult(GetProfileResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetProfileResult( + extended_properties=self.extended_properties, + front_door_id=self.front_door_id, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + name=self.name, + origin_response_timeout_seconds=self.origin_response_timeout_seconds, + provisioning_state=self.provisioning_state, + resource_state=self.resource_state, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_profile(profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProfileResult: + """ + Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getProfile', __args__, opts=opts, typ=GetProfileResult).value + + return AwaitableGetProfileResult( + extended_properties=pulumi.get(__ret__, 'extended_properties'), + front_door_id=pulumi.get(__ret__, 'front_door_id'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + origin_response_timeout_seconds=pulumi.get(__ret__, 'origin_response_timeout_seconds'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + resource_state=pulumi.get(__ret__, 'resource_state'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_profile) +def get_profile_output(profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]: + """ + Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_profile_supported_optimization_types.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_profile_supported_optimization_types.py new file mode 100644 index 000000000000..0e80a69a42e1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_profile_supported_optimization_types.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetProfileSupportedOptimizationTypesResult', + 'AwaitableGetProfileSupportedOptimizationTypesResult', + 'get_profile_supported_optimization_types', + 'get_profile_supported_optimization_types_output', +] + +@pulumi.output_type +class GetProfileSupportedOptimizationTypesResult: + """ + The result of the GetSupportedOptimizationTypes API + """ + def __init__(__self__, supported_optimization_types=None): + if supported_optimization_types and not isinstance(supported_optimization_types, list): + raise TypeError("Expected argument 'supported_optimization_types' to be a list") + pulumi.set(__self__, "supported_optimization_types", supported_optimization_types) + + @property + @pulumi.getter(name="supportedOptimizationTypes") + def supported_optimization_types(self) -> Sequence[str]: + """ + Supported optimization types for a profile. + """ + return pulumi.get(self, "supported_optimization_types") + + +class AwaitableGetProfileSupportedOptimizationTypesResult(GetProfileSupportedOptimizationTypesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetProfileSupportedOptimizationTypesResult( + supported_optimization_types=self.supported_optimization_types) + + +def get_profile_supported_optimization_types(profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProfileSupportedOptimizationTypesResult: + """ + Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + __args__ = dict() + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getProfileSupportedOptimizationTypes', __args__, opts=opts, typ=GetProfileSupportedOptimizationTypesResult).value + + return AwaitableGetProfileSupportedOptimizationTypesResult( + supported_optimization_types=pulumi.get(__ret__, 'supported_optimization_types')) + + +@_utilities.lift_output_func(get_profile_supported_optimization_types) +def get_profile_supported_optimization_types_output(profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileSupportedOptimizationTypesResult]: + """ + Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_route.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_route.py new file mode 100644 index 000000000000..b9f05b1f84d2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_route.py @@ -0,0 +1,307 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetRouteResult', + 'AwaitableGetRouteResult', + 'get_route', + 'get_route_output', +] + +@pulumi.output_type +class GetRouteResult: + """ + Friendly Routes name mapping to the any Routes or secret related information. + """ + def __init__(__self__, cache_configuration=None, custom_domains=None, deployment_status=None, enabled_state=None, endpoint_name=None, forwarding_protocol=None, https_redirect=None, id=None, link_to_default_domain=None, name=None, origin_group=None, origin_path=None, patterns_to_match=None, provisioning_state=None, rule_sets=None, supported_protocols=None, system_data=None, type=None): + if cache_configuration and not isinstance(cache_configuration, dict): + raise TypeError("Expected argument 'cache_configuration' to be a dict") + pulumi.set(__self__, "cache_configuration", cache_configuration) + if custom_domains and not isinstance(custom_domains, list): + raise TypeError("Expected argument 'custom_domains' to be a list") + pulumi.set(__self__, "custom_domains", custom_domains) + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if enabled_state and not isinstance(enabled_state, str): + raise TypeError("Expected argument 'enabled_state' to be a str") + pulumi.set(__self__, "enabled_state", enabled_state) + if endpoint_name and not isinstance(endpoint_name, str): + raise TypeError("Expected argument 'endpoint_name' to be a str") + pulumi.set(__self__, "endpoint_name", endpoint_name) + if forwarding_protocol and not isinstance(forwarding_protocol, str): + raise TypeError("Expected argument 'forwarding_protocol' to be a str") + pulumi.set(__self__, "forwarding_protocol", forwarding_protocol) + if https_redirect and not isinstance(https_redirect, str): + raise TypeError("Expected argument 'https_redirect' to be a str") + pulumi.set(__self__, "https_redirect", https_redirect) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if link_to_default_domain and not isinstance(link_to_default_domain, str): + raise TypeError("Expected argument 'link_to_default_domain' to be a str") + pulumi.set(__self__, "link_to_default_domain", link_to_default_domain) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if origin_group and not isinstance(origin_group, dict): + raise TypeError("Expected argument 'origin_group' to be a dict") + pulumi.set(__self__, "origin_group", origin_group) + if origin_path and not isinstance(origin_path, str): + raise TypeError("Expected argument 'origin_path' to be a str") + pulumi.set(__self__, "origin_path", origin_path) + if patterns_to_match and not isinstance(patterns_to_match, list): + raise TypeError("Expected argument 'patterns_to_match' to be a list") + pulumi.set(__self__, "patterns_to_match", patterns_to_match) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if rule_sets and not isinstance(rule_sets, list): + raise TypeError("Expected argument 'rule_sets' to be a list") + pulumi.set(__self__, "rule_sets", rule_sets) + if supported_protocols and not isinstance(supported_protocols, list): + raise TypeError("Expected argument 'supported_protocols' to be a list") + pulumi.set(__self__, "supported_protocols", supported_protocols) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="cacheConfiguration") + def cache_configuration(self) -> Optional['outputs.AfdRouteCacheConfigurationResponse']: + """ + The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + """ + return pulumi.get(self, "cache_configuration") + + @property + @pulumi.getter(name="customDomains") + def custom_domains(self) -> Optional[Sequence['outputs.ActivatedResourceReferenceResponse']]: + """ + Domains referenced by this endpoint. + """ + return pulumi.get(self, "custom_domains") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> str: + """ + The name of the endpoint which holds the route. + """ + return pulumi.get(self, "endpoint_name") + + @property + @pulumi.getter(name="forwardingProtocol") + def forwarding_protocol(self) -> Optional[str]: + """ + Protocol this rule will use when forwarding traffic to backends. + """ + return pulumi.get(self, "forwarding_protocol") + + @property + @pulumi.getter(name="httpsRedirect") + def https_redirect(self) -> Optional[str]: + """ + Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + """ + return pulumi.get(self, "https_redirect") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="linkToDefaultDomain") + def link_to_default_domain(self) -> Optional[str]: + """ + whether this route will be linked to the default endpoint domain. + """ + return pulumi.get(self, "link_to_default_domain") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> 'outputs.ResourceReferenceResponse': + """ + A reference to the origin group. + """ + return pulumi.get(self, "origin_group") + + @property + @pulumi.getter(name="originPath") + def origin_path(self) -> Optional[str]: + """ + A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + """ + return pulumi.get(self, "origin_path") + + @property + @pulumi.getter(name="patternsToMatch") + def patterns_to_match(self) -> Optional[Sequence[str]]: + """ + The route patterns of the rule. + """ + return pulumi.get(self, "patterns_to_match") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="ruleSets") + def rule_sets(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + rule sets referenced by this endpoint. + """ + return pulumi.get(self, "rule_sets") + + @property + @pulumi.getter(name="supportedProtocols") + def supported_protocols(self) -> Optional[Sequence[str]]: + """ + List of supported protocols for this route. + """ + return pulumi.get(self, "supported_protocols") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetRouteResult(GetRouteResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRouteResult( + cache_configuration=self.cache_configuration, + custom_domains=self.custom_domains, + deployment_status=self.deployment_status, + enabled_state=self.enabled_state, + endpoint_name=self.endpoint_name, + forwarding_protocol=self.forwarding_protocol, + https_redirect=self.https_redirect, + id=self.id, + link_to_default_domain=self.link_to_default_domain, + name=self.name, + origin_group=self.origin_group, + origin_path=self.origin_path, + patterns_to_match=self.patterns_to_match, + provisioning_state=self.provisioning_state, + rule_sets=self.rule_sets, + supported_protocols=self.supported_protocols, + system_data=self.system_data, + type=self.type) + + +def get_route(endpoint_name: Optional[str] = None, + profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + route_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRouteResult: + """ + Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str route_name: Name of the routing rule. + """ + __args__ = dict() + __args__['endpointName'] = endpoint_name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + __args__['routeName'] = route_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getRoute', __args__, opts=opts, typ=GetRouteResult).value + + return AwaitableGetRouteResult( + cache_configuration=pulumi.get(__ret__, 'cache_configuration'), + custom_domains=pulumi.get(__ret__, 'custom_domains'), + deployment_status=pulumi.get(__ret__, 'deployment_status'), + enabled_state=pulumi.get(__ret__, 'enabled_state'), + endpoint_name=pulumi.get(__ret__, 'endpoint_name'), + forwarding_protocol=pulumi.get(__ret__, 'forwarding_protocol'), + https_redirect=pulumi.get(__ret__, 'https_redirect'), + id=pulumi.get(__ret__, 'id'), + link_to_default_domain=pulumi.get(__ret__, 'link_to_default_domain'), + name=pulumi.get(__ret__, 'name'), + origin_group=pulumi.get(__ret__, 'origin_group'), + origin_path=pulumi.get(__ret__, 'origin_path'), + patterns_to_match=pulumi.get(__ret__, 'patterns_to_match'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + rule_sets=pulumi.get(__ret__, 'rule_sets'), + supported_protocols=pulumi.get(__ret__, 'supported_protocols'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_route) +def get_route_output(endpoint_name: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + route_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteResult]: + """ + Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. + + + :param str endpoint_name: Name of the endpoint under the profile which is unique globally. + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str route_name: Name of the routing rule. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_rule.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_rule.py new file mode 100644 index 000000000000..ac3f5f23c356 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_rule.py @@ -0,0 +1,216 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetRuleResult', + 'AwaitableGetRuleResult', + 'get_rule', + 'get_rule_output', +] + +@pulumi.output_type +class GetRuleResult: + """ + Friendly Rules name mapping to the any Rules or secret related information. + """ + def __init__(__self__, actions=None, conditions=None, deployment_status=None, id=None, match_processing_behavior=None, name=None, order=None, provisioning_state=None, rule_set_name=None, system_data=None, type=None): + if actions and not isinstance(actions, list): + raise TypeError("Expected argument 'actions' to be a list") + pulumi.set(__self__, "actions", actions) + if conditions and not isinstance(conditions, list): + raise TypeError("Expected argument 'conditions' to be a list") + pulumi.set(__self__, "conditions", conditions) + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if match_processing_behavior and not isinstance(match_processing_behavior, str): + raise TypeError("Expected argument 'match_processing_behavior' to be a str") + pulumi.set(__self__, "match_processing_behavior", match_processing_behavior) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if order and not isinstance(order, int): + raise TypeError("Expected argument 'order' to be a int") + pulumi.set(__self__, "order", order) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if rule_set_name and not isinstance(rule_set_name, str): + raise TypeError("Expected argument 'rule_set_name' to be a str") + pulumi.set(__self__, "rule_set_name", rule_set_name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def actions(self) -> Sequence[Any]: + """ + A list of actions that are executed when all the conditions of a rule are satisfied. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter + def conditions(self) -> Optional[Sequence[Any]]: + """ + A list of conditions that must be matched for the actions to be executed + """ + return pulumi.get(self, "conditions") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="matchProcessingBehavior") + def match_processing_behavior(self) -> Optional[str]: + """ + If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + """ + return pulumi.get(self, "match_processing_behavior") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def order(self) -> int: + """ + The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="ruleSetName") + def rule_set_name(self) -> str: + """ + The name of the rule set containing the rule. + """ + return pulumi.get(self, "rule_set_name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetRuleResult(GetRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRuleResult( + actions=self.actions, + conditions=self.conditions, + deployment_status=self.deployment_status, + id=self.id, + match_processing_behavior=self.match_processing_behavior, + name=self.name, + order=self.order, + provisioning_state=self.provisioning_state, + rule_set_name=self.rule_set_name, + system_data=self.system_data, + type=self.type) + + +def get_rule(profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + rule_name: Optional[str] = None, + rule_set_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRuleResult: + """ + Gets an existing delivery rule within a rule set. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str rule_name: Name of the delivery rule which is unique within the endpoint. + :param str rule_set_name: Name of the rule set under the profile. + """ + __args__ = dict() + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + __args__['ruleName'] = rule_name + __args__['ruleSetName'] = rule_set_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getRule', __args__, opts=opts, typ=GetRuleResult).value + + return AwaitableGetRuleResult( + actions=pulumi.get(__ret__, 'actions'), + conditions=pulumi.get(__ret__, 'conditions'), + deployment_status=pulumi.get(__ret__, 'deployment_status'), + id=pulumi.get(__ret__, 'id'), + match_processing_behavior=pulumi.get(__ret__, 'match_processing_behavior'), + name=pulumi.get(__ret__, 'name'), + order=pulumi.get(__ret__, 'order'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + rule_set_name=pulumi.get(__ret__, 'rule_set_name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_rule) +def get_rule_output(profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_name: Optional[pulumi.Input[str]] = None, + rule_set_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleResult]: + """ + Gets an existing delivery rule within a rule set. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str rule_name: Name of the delivery rule which is unique within the endpoint. + :param str rule_set_name: Name of the rule set under the profile. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_rule_set.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_rule_set.py new file mode 100644 index 000000000000..25d03ce568c9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_rule_set.py @@ -0,0 +1,159 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetRuleSetResult', + 'AwaitableGetRuleSetResult', + 'get_rule_set', + 'get_rule_set_output', +] + +@pulumi.output_type +class GetRuleSetResult: + """ + Friendly RuleSet name mapping to the any RuleSet or secret related information. + """ + def __init__(__self__, deployment_status=None, id=None, name=None, profile_name=None, provisioning_state=None, system_data=None, type=None): + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if profile_name and not isinstance(profile_name, str): + raise TypeError("Expected argument 'profile_name' to be a str") + pulumi.set(__self__, "profile_name", profile_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> str: + """ + The name of the profile which holds the rule set. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetRuleSetResult(GetRuleSetResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRuleSetResult( + deployment_status=self.deployment_status, + id=self.id, + name=self.name, + profile_name=self.profile_name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_rule_set(profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + rule_set_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRuleSetResult: + """ + Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str rule_set_name: Name of the rule set under the profile which is unique globally. + """ + __args__ = dict() + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + __args__['ruleSetName'] = rule_set_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getRuleSet', __args__, opts=opts, typ=GetRuleSetResult).value + + return AwaitableGetRuleSetResult( + deployment_status=pulumi.get(__ret__, 'deployment_status'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + profile_name=pulumi.get(__ret__, 'profile_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_rule_set) +def get_rule_set_output(profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_set_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleSetResult]: + """ + Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str rule_set_name: Name of the rule set under the profile which is unique globally. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_secret.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_secret.py new file mode 100644 index 000000000000..3a62033c4f2e --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_secret.py @@ -0,0 +1,172 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSecretResult', + 'AwaitableGetSecretResult', + 'get_secret', + 'get_secret_output', +] + +@pulumi.output_type +class GetSecretResult: + """ + Friendly Secret name mapping to the any Secret or secret related information. + """ + def __init__(__self__, deployment_status=None, id=None, name=None, parameters=None, profile_name=None, provisioning_state=None, system_data=None, type=None): + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if parameters and not isinstance(parameters, dict): + raise TypeError("Expected argument 'parameters' to be a dict") + pulumi.set(__self__, "parameters", parameters) + if profile_name and not isinstance(profile_name, str): + raise TypeError("Expected argument 'profile_name' to be a str") + pulumi.set(__self__, "profile_name", profile_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> Optional[Any]: + """ + object which contains secret parameters + """ + return pulumi.get(self, "parameters") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> str: + """ + The name of the profile which holds the secret. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSecretResult(GetSecretResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSecretResult( + deployment_status=self.deployment_status, + id=self.id, + name=self.name, + parameters=self.parameters, + profile_name=self.profile_name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_secret(profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + secret_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretResult: + """ + Gets an existing Secret within a profile. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str secret_name: Name of the Secret under the profile. + """ + __args__ = dict() + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + __args__['secretName'] = secret_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getSecret', __args__, opts=opts, typ=GetSecretResult).value + + return AwaitableGetSecretResult( + deployment_status=pulumi.get(__ret__, 'deployment_status'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + parameters=pulumi.get(__ret__, 'parameters'), + profile_name=pulumi.get(__ret__, 'profile_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_secret) +def get_secret_output(profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + secret_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretResult]: + """ + Gets an existing Secret within a profile. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str secret_name: Name of the Secret under the profile. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_security_policy.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_security_policy.py new file mode 100644 index 000000000000..5c5b6165db69 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/get_security_policy.py @@ -0,0 +1,172 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSecurityPolicyResult', + 'AwaitableGetSecurityPolicyResult', + 'get_security_policy', + 'get_security_policy_output', +] + +@pulumi.output_type +class GetSecurityPolicyResult: + """ + SecurityPolicy association for AzureFrontDoor profile + """ + def __init__(__self__, deployment_status=None, id=None, name=None, parameters=None, profile_name=None, provisioning_state=None, system_data=None, type=None): + if deployment_status and not isinstance(deployment_status, str): + raise TypeError("Expected argument 'deployment_status' to be a str") + pulumi.set(__self__, "deployment_status", deployment_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if parameters and not isinstance(parameters, dict): + raise TypeError("Expected argument 'parameters' to be a dict") + pulumi.set(__self__, "parameters", parameters) + if profile_name and not isinstance(profile_name, str): + raise TypeError("Expected argument 'profile_name' to be a str") + pulumi.set(__self__, "profile_name", profile_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> str: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> Optional['outputs.SecurityPolicyWebApplicationFirewallParametersResponse']: + """ + object which contains security policy parameters + """ + return pulumi.get(self, "parameters") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> str: + """ + The name of the profile which holds the security policy. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSecurityPolicyResult(GetSecurityPolicyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSecurityPolicyResult( + deployment_status=self.deployment_status, + id=self.id, + name=self.name, + parameters=self.parameters, + profile_name=self.profile_name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_security_policy(profile_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + security_policy_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityPolicyResult: + """ + Gets an existing security policy within a profile. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str security_policy_name: Name of the security policy under the profile. + """ + __args__ = dict() + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + __args__['securityPolicyName'] = security_policy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:cdn/v20230701preview:getSecurityPolicy', __args__, opts=opts, typ=GetSecurityPolicyResult).value + + return AwaitableGetSecurityPolicyResult( + deployment_status=pulumi.get(__ret__, 'deployment_status'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + parameters=pulumi.get(__ret__, 'parameters'), + profile_name=pulumi.get(__ret__, 'profile_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_security_policy) +def get_security_policy_output(profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + security_policy_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityPolicyResult]: + """ + Gets an existing security policy within a profile. + + + :param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param str resource_group_name: Name of the Resource group within the Azure subscription. + :param str security_policy_name: Name of the security policy under the profile. + """ + ... diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/key_group.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/key_group.py new file mode 100644 index 000000000000..a55cad0cd47b --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/key_group.py @@ -0,0 +1,232 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['KeyGroupArgs', 'KeyGroup'] + +@pulumi.input_type +class KeyGroupArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + key_group_name: Optional[pulumi.Input[str]] = None, + key_references: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None): + """ + The set of arguments for constructing a KeyGroup resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] key_group_name: Name of the KeyGroup under the profile. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] key_references: Names of UrlSigningKey type secret objects + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if key_group_name is not None: + pulumi.set(__self__, "key_group_name", key_group_name) + if key_references is not None: + pulumi.set(__self__, "key_references", key_references) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="keyGroupName") + def key_group_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the KeyGroup under the profile. + """ + return pulumi.get(self, "key_group_name") + + @key_group_name.setter + def key_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_group_name", value) + + @property + @pulumi.getter(name="keyReferences") + def key_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + Names of UrlSigningKey type secret objects + """ + return pulumi.get(self, "key_references") + + @key_references.setter + def key_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "key_references", value) + + +class KeyGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + key_group_name: Optional[pulumi.Input[str]] = None, + key_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Contains a list of references of UrlSigningKey type secret objects. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] key_group_name: Name of the KeyGroup under the profile. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]] key_references: Names of UrlSigningKey type secret objects + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: KeyGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Contains a list of references of UrlSigningKey type secret objects. + + :param str resource_name: The name of the resource. + :param KeyGroupArgs 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(KeyGroupArgs, 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_group_name: Optional[pulumi.Input[str]] = None, + key_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = KeyGroupArgs.__new__(KeyGroupArgs) + + __props__.__dict__["key_group_name"] = key_group_name + __props__.__dict__["key_references"] = key_references + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:KeyGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(KeyGroup, __self__).__init__( + 'azure-native:cdn/v20230701preview:KeyGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'KeyGroup': + """ + Get an existing KeyGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = KeyGroupArgs.__new__(KeyGroupArgs) + + __props__.__dict__["deployment_status"] = None + __props__.__dict__["key_references"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return KeyGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="keyReferences") + def key_references(self) -> pulumi.Output[Optional[Sequence['outputs.ResourceReferenceResponse']]]: + """ + Names of UrlSigningKey type secret objects + """ + return pulumi.get(self, "key_references") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/origin.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/origin.py new file mode 100644 index 000000000000..a5238d7bf101 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/origin.py @@ -0,0 +1,556 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['OriginArgs', 'Origin'] + +@pulumi.input_type +class OriginArgs: + def __init__(__self__, *, + endpoint_name: pulumi.Input[str], + host_name: pulumi.Input[str], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + private_link_alias: Optional[pulumi.Input[str]] = None, + private_link_approval_message: Optional[pulumi.Input[str]] = None, + private_link_location: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None): + """ + The set of arguments for constructing a Origin resource. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[str] host_name: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[bool] enabled: Origin is enabled for load balancing or not + :param pulumi.Input[int] http_port: The value of the HTTP port. Must be between 1 and 65535. + :param pulumi.Input[int] https_port: The value of the HTTPS port. Must be between 1 and 65535. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + :param pulumi.Input[str] origin_name: Name of the origin that is unique within the endpoint. + :param pulumi.Input[int] priority: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + :param pulumi.Input[str] private_link_alias: The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + :param pulumi.Input[str] private_link_approval_message: A custom message to be included in the approval request to connect to the Private Link. + :param pulumi.Input[str] private_link_location: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + :param pulumi.Input[str] private_link_resource_id: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + :param pulumi.Input[int] weight: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + pulumi.set(__self__, "endpoint_name", endpoint_name) + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if http_port is not None: + pulumi.set(__self__, "http_port", http_port) + if https_port is not None: + pulumi.set(__self__, "https_port", https_port) + if origin_host_header is not None: + pulumi.set(__self__, "origin_host_header", origin_host_header) + if origin_name is not None: + pulumi.set(__self__, "origin_name", origin_name) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if private_link_alias is not None: + pulumi.set(__self__, "private_link_alias", private_link_alias) + if private_link_approval_message is not None: + pulumi.set(__self__, "private_link_approval_message", private_link_approval_message) + if private_link_location is not None: + pulumi.set(__self__, "private_link_location", private_link_location) + if private_link_resource_id is not None: + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if weight is not None: + pulumi.set(__self__, "weight", weight) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Input[str]: + """ + Name of the endpoint under the profile which is unique globally. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Input[str]: + """ + The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @host_name.setter + def host_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_name", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the CDN profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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 enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Origin is enabled for load balancing or not + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[pulumi.Input[int]]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @http_port.setter + def http_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "http_port", value) + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[pulumi.Input[int]]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @https_port.setter + def https_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "https_port", value) + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[pulumi.Input[str]]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + """ + return pulumi.get(self, "origin_host_header") + + @origin_host_header.setter + def origin_host_header(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_host_header", value) + + @property + @pulumi.getter(name="originName") + def origin_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the origin that is unique within the endpoint. + """ + return pulumi.get(self, "origin_name") + + @origin_name.setter + def origin_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_name", value) + + @property + @pulumi.getter + def priority(self) -> Optional[pulumi.Input[int]]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter(name="privateLinkAlias") + def private_link_alias(self) -> Optional[pulumi.Input[str]]: + """ + The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + """ + return pulumi.get(self, "private_link_alias") + + @private_link_alias.setter + def private_link_alias(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_alias", value) + + @property + @pulumi.getter(name="privateLinkApprovalMessage") + def private_link_approval_message(self) -> Optional[pulumi.Input[str]]: + """ + A custom message to be included in the approval request to connect to the Private Link. + """ + return pulumi.get(self, "private_link_approval_message") + + @private_link_approval_message.setter + def private_link_approval_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_approval_message", value) + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + """ + return pulumi.get(self, "private_link_location") + + @private_link_location.setter + def private_link_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_location", value) + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + """ + return pulumi.get(self, "private_link_resource_id") + + @private_link_resource_id.setter + def private_link_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_resource_id", value) + + @property + @pulumi.getter + def weight(self) -> Optional[pulumi.Input[int]]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + + @weight.setter + def weight(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "weight", value) + + +class Origin(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + enabled: Optional[pulumi.Input[bool]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + private_link_alias: Optional[pulumi.Input[str]] = None, + private_link_approval_message: Optional[pulumi.Input[str]] = None, + private_link_location: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None, + __props__=None): + """ + CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] enabled: Origin is enabled for load balancing or not + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[str] host_name: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + :param pulumi.Input[int] http_port: The value of the HTTP port. Must be between 1 and 65535. + :param pulumi.Input[int] https_port: The value of the HTTPS port. Must be between 1 and 65535. + :param pulumi.Input[str] origin_host_header: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + :param pulumi.Input[str] origin_name: Name of the origin that is unique within the endpoint. + :param pulumi.Input[int] priority: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + :param pulumi.Input[str] private_link_alias: The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + :param pulumi.Input[str] private_link_approval_message: A custom message to be included in the approval request to connect to the Private Link. + :param pulumi.Input[str] private_link_location: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + :param pulumi.Input[str] private_link_resource_id: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[int] weight: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OriginArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. + + :param str resource_name: The name of the resource. + :param OriginArgs 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(OriginArgs, 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, + enabled: Optional[pulumi.Input[bool]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + origin_host_header: Optional[pulumi.Input[str]] = None, + origin_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + private_link_alias: Optional[pulumi.Input[str]] = None, + private_link_approval_message: Optional[pulumi.Input[str]] = None, + private_link_location: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = 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__ = OriginArgs.__new__(OriginArgs) + + __props__.__dict__["enabled"] = enabled + if endpoint_name is None and not opts.urn: + raise TypeError("Missing required property 'endpoint_name'") + __props__.__dict__["endpoint_name"] = endpoint_name + if host_name is None and not opts.urn: + raise TypeError("Missing required property 'host_name'") + __props__.__dict__["host_name"] = host_name + __props__.__dict__["http_port"] = http_port + __props__.__dict__["https_port"] = https_port + __props__.__dict__["origin_host_header"] = origin_host_header + __props__.__dict__["origin_name"] = origin_name + __props__.__dict__["priority"] = priority + __props__.__dict__["private_link_alias"] = private_link_alias + __props__.__dict__["private_link_approval_message"] = private_link_approval_message + __props__.__dict__["private_link_location"] = private_link_location + __props__.__dict__["private_link_resource_id"] = private_link_resource_id + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["weight"] = weight + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_status"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Origin"), pulumi.Alias(type_="azure-native:cdn/v20150601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20160402:Origin"), pulumi.Alias(type_="azure-native:cdn/v20191231:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200331:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200415:Origin"), pulumi.Alias(type_="azure-native:cdn/v20200901:Origin"), pulumi.Alias(type_="azure-native:cdn/v20210601:Origin"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Origin"), pulumi.Alias(type_="azure-native:cdn/v20230501:Origin")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Origin, __self__).__init__( + 'azure-native:cdn/v20230701preview:Origin', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Origin': + """ + Get an existing Origin 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = OriginArgs.__new__(OriginArgs) + + __props__.__dict__["enabled"] = None + __props__.__dict__["host_name"] = None + __props__.__dict__["http_port"] = None + __props__.__dict__["https_port"] = None + __props__.__dict__["name"] = None + __props__.__dict__["origin_host_header"] = None + __props__.__dict__["priority"] = None + __props__.__dict__["private_endpoint_status"] = None + __props__.__dict__["private_link_alias"] = None + __props__.__dict__["private_link_approval_message"] = None + __props__.__dict__["private_link_location"] = None + __props__.__dict__["private_link_resource_id"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["weight"] = None + return Origin(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[Optional[bool]]: + """ + Origin is enabled for load balancing or not + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> pulumi.Output[str]: + """ + The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> pulumi.Output[Optional[int]]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> pulumi.Output[Optional[int]]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> pulumi.Output[Optional[str]]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter + def priority(self) -> pulumi.Output[Optional[int]]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="privateEndpointStatus") + def private_endpoint_status(self) -> pulumi.Output[str]: + """ + The approval status for the connection to the Private Link + """ + return pulumi.get(self, "private_endpoint_status") + + @property + @pulumi.getter(name="privateLinkAlias") + def private_link_alias(self) -> pulumi.Output[Optional[str]]: + """ + The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + """ + return pulumi.get(self, "private_link_alias") + + @property + @pulumi.getter(name="privateLinkApprovalMessage") + def private_link_approval_message(self) -> pulumi.Output[Optional[str]]: + """ + A custom message to be included in the approval request to connect to the Private Link. + """ + return pulumi.get(self, "private_link_approval_message") + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + """ + return pulumi.get(self, "private_link_location") + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + """ + return pulumi.get(self, "private_link_resource_id") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status of the origin. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> pulumi.Output[str]: + """ + Resource status of the origin. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def weight(self) -> pulumi.Output[Optional[int]]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/origin_group.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/origin_group.py new file mode 100644 index 000000000000..d6fa5e3eda38 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/origin_group.py @@ -0,0 +1,345 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['OriginGroupArgs', 'OriginGroup'] + +@pulumi.input_type +class OriginGroupArgs: + def __init__(__self__, *, + endpoint_name: pulumi.Input[str], + origins: pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + health_probe_settings: Optional[pulumi.Input['HealthProbeParametersArgs']] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + response_based_origin_error_detection_settings: Optional[pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs']] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = None): + """ + The set of arguments for constructing a OriginGroup resource. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] origins: The source of the content being delivered via CDN within given origin group. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['HealthProbeParametersArgs'] health_probe_settings: Health probe settings to the origin that is used to determine the health of the origin. + :param pulumi.Input[str] origin_group_name: Name of the origin group which is unique within the endpoint. + :param pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs'] response_based_origin_error_detection_settings: The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + :param pulumi.Input[int] traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + pulumi.set(__self__, "endpoint_name", endpoint_name) + pulumi.set(__self__, "origins", origins) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if health_probe_settings is not None: + pulumi.set(__self__, "health_probe_settings", health_probe_settings) + if origin_group_name is not None: + pulumi.set(__self__, "origin_group_name", origin_group_name) + if response_based_origin_error_detection_settings is not None: + pulumi.set(__self__, "response_based_origin_error_detection_settings", response_based_origin_error_detection_settings) + if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes is not None: + pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Input[str]: + """ + Name of the endpoint under the profile which is unique globally. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter + def origins(self) -> pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]: + """ + The source of the content being delivered via CDN within given origin group. + """ + return pulumi.get(self, "origins") + + @origins.setter + def origins(self, value: pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]): + pulumi.set(self, "origins", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the CDN profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="healthProbeSettings") + def health_probe_settings(self) -> Optional[pulumi.Input['HealthProbeParametersArgs']]: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @health_probe_settings.setter + def health_probe_settings(self, value: Optional[pulumi.Input['HealthProbeParametersArgs']]): + pulumi.set(self, "health_probe_settings", value) + + @property + @pulumi.getter(name="originGroupName") + def origin_group_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the origin group which is unique within the endpoint. + """ + return pulumi.get(self, "origin_group_name") + + @origin_group_name.setter + def origin_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_group_name", value) + + @property + @pulumi.getter(name="responseBasedOriginErrorDetectionSettings") + def response_based_origin_error_detection_settings(self) -> Optional[pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs']]: + """ + The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + """ + return pulumi.get(self, "response_based_origin_error_detection_settings") + + @response_based_origin_error_detection_settings.setter + def response_based_origin_error_detection_settings(self, value: Optional[pulumi.Input['ResponseBasedOriginErrorDetectionParametersArgs']]): + pulumi.set(self, "response_based_origin_error_detection_settings", value) + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @traffic_restoration_time_to_healed_or_new_endpoints_in_minutes.setter + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", value) + + +class OriginGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + health_probe_settings: Optional[pulumi.Input[pulumi.InputType['HealthProbeParametersArgs']]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + response_based_origin_error_detection_settings: Optional[pulumi.Input[pulumi.InputType['ResponseBasedOriginErrorDetectionParametersArgs']]] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = None, + __props__=None): + """ + Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[pulumi.InputType['HealthProbeParametersArgs']] health_probe_settings: Health probe settings to the origin that is used to determine the health of the origin. + :param pulumi.Input[str] origin_group_name: Name of the origin group which is unique within the endpoint. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]] origins: The source of the content being delivered via CDN within given origin group. + :param pulumi.Input[str] profile_name: Name of the CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[pulumi.InputType['ResponseBasedOriginErrorDetectionParametersArgs']] response_based_origin_error_detection_settings: The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + :param pulumi.Input[int] traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OriginGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. + + :param str resource_name: The name of the resource. + :param OriginGroupArgs 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(OriginGroupArgs, 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, + endpoint_name: Optional[pulumi.Input[str]] = None, + health_probe_settings: Optional[pulumi.Input[pulumi.InputType['HealthProbeParametersArgs']]] = None, + origin_group_name: Optional[pulumi.Input[str]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + response_based_origin_error_detection_settings: Optional[pulumi.Input[pulumi.InputType['ResponseBasedOriginErrorDetectionParametersArgs']]] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[pulumi.Input[int]] = 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__ = OriginGroupArgs.__new__(OriginGroupArgs) + + if endpoint_name is None and not opts.urn: + raise TypeError("Missing required property 'endpoint_name'") + __props__.__dict__["endpoint_name"] = endpoint_name + __props__.__dict__["health_probe_settings"] = health_probe_settings + __props__.__dict__["origin_group_name"] = origin_group_name + if origins is None and not opts.urn: + raise TypeError("Missing required property 'origins'") + __props__.__dict__["origins"] = origins + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["response_based_origin_error_detection_settings"] = response_based_origin_error_detection_settings + __props__.__dict__["traffic_restoration_time_to_healed_or_new_endpoints_in_minutes"] = traffic_restoration_time_to_healed_or_new_endpoints_in_minutes + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20191231:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200331:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200415:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20200901:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20210601:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:OriginGroup"), pulumi.Alias(type_="azure-native:cdn/v20230501:OriginGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(OriginGroup, __self__).__init__( + 'azure-native:cdn/v20230701preview:OriginGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OriginGroup': + """ + Get an existing OriginGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = OriginGroupArgs.__new__(OriginGroupArgs) + + __props__.__dict__["health_probe_settings"] = None + __props__.__dict__["name"] = None + __props__.__dict__["origins"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["response_based_origin_error_detection_settings"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["traffic_restoration_time_to_healed_or_new_endpoints_in_minutes"] = None + __props__.__dict__["type"] = None + return OriginGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="healthProbeSettings") + def health_probe_settings(self) -> pulumi.Output[Optional['outputs.HealthProbeParametersResponse']]: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def origins(self) -> pulumi.Output[Sequence['outputs.ResourceReferenceResponse']]: + """ + The source of the content being delivered via CDN within given origin group. + """ + return pulumi.get(self, "origins") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status of the origin group. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> pulumi.Output[str]: + """ + Resource status of the origin group. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter(name="responseBasedOriginErrorDetectionSettings") + def response_based_origin_error_detection_settings(self) -> pulumi.Output[Optional['outputs.ResponseBasedOriginErrorDetectionParametersResponse']]: + """ + The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. + """ + return pulumi.get(self, "response_based_origin_error_detection_settings") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> pulumi.Output[Optional[int]]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/outputs.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/outputs.py new file mode 100644 index 000000000000..303d73e57255 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/outputs.py @@ -0,0 +1,6759 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AFDDomainHttpsParametersResponse', + 'ActivatedResourceReferenceResponse', + 'AfdRouteCacheConfigurationResponse', + 'AzureFirstPartyManagedCertificateParametersResponse', + 'CacheConfigurationResponse', + 'CacheExpirationActionParametersResponse', + 'CacheKeyQueryStringActionParametersResponse', + 'CdnCertificateSourceParametersResponse', + 'CdnEndpointResponse', + 'CdnManagedHttpsParametersResponse', + 'ClientPortMatchConditionParametersResponse', + 'CompressionSettingsResponse', + 'CookiesMatchConditionParametersResponse', + 'CustomRuleListResponse', + 'CustomRuleResponse', + 'CustomerCertificateParametersResponse', + 'DeepCreatedCustomDomainResponse', + 'DeepCreatedOriginGroupResponse', + 'DeepCreatedOriginResponse', + 'DeliveryRuleCacheExpirationActionResponse', + 'DeliveryRuleCacheKeyQueryStringActionResponse', + 'DeliveryRuleClientPortConditionResponse', + 'DeliveryRuleCookiesConditionResponse', + 'DeliveryRuleHostNameConditionResponse', + 'DeliveryRuleHttpVersionConditionResponse', + 'DeliveryRuleIsDeviceConditionResponse', + 'DeliveryRulePostArgsConditionResponse', + 'DeliveryRuleQueryStringConditionResponse', + 'DeliveryRuleRemoteAddressConditionResponse', + 'DeliveryRuleRequestBodyConditionResponse', + 'DeliveryRuleRequestHeaderActionResponse', + 'DeliveryRuleRequestHeaderConditionResponse', + 'DeliveryRuleRequestMethodConditionResponse', + 'DeliveryRuleRequestSchemeConditionResponse', + 'DeliveryRuleRequestUriConditionResponse', + 'DeliveryRuleResponse', + 'DeliveryRuleResponseHeaderActionResponse', + 'DeliveryRuleRouteConfigurationOverrideActionResponse', + 'DeliveryRuleServerPortConditionResponse', + 'DeliveryRuleSocketAddrConditionResponse', + 'DeliveryRuleSslProtocolConditionResponse', + 'DeliveryRuleUrlFileExtensionConditionResponse', + 'DeliveryRuleUrlFileNameConditionResponse', + 'DeliveryRuleUrlPathConditionResponse', + 'DomainValidationPropertiesResponse', + 'EndpointPropertiesUpdateParametersResponseDeliveryPolicy', + 'EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink', + 'GeoFilterResponse', + 'HeaderActionParametersResponse', + 'HealthProbeParametersResponse', + 'HostNameMatchConditionParametersResponse', + 'HttpErrorRangeParametersResponse', + 'HttpVersionMatchConditionParametersResponse', + 'IsDeviceMatchConditionParametersResponse', + 'KeyVaultCertificateSourceParametersResponse', + 'KeyVaultSigningKeyParametersResponse', + 'LoadBalancingSettingsParametersResponse', + 'ManagedCertificateParametersResponse', + 'ManagedRuleGroupOverrideResponse', + 'ManagedRuleOverrideResponse', + 'ManagedRuleSetListResponse', + 'ManagedRuleSetResponse', + 'ManagedServiceIdentityResponse', + 'MatchConditionResponse', + 'OriginGroupOverrideActionParametersResponse', + 'OriginGroupOverrideActionResponse', + 'OriginGroupOverrideResponse', + 'PolicySettingsResponse', + 'PostArgsMatchConditionParametersResponse', + 'QueryStringMatchConditionParametersResponse', + 'RateLimitRuleListResponse', + 'RateLimitRuleResponse', + 'RemoteAddressMatchConditionParametersResponse', + 'RequestBodyMatchConditionParametersResponse', + 'RequestHeaderMatchConditionParametersResponse', + 'RequestMethodMatchConditionParametersResponse', + 'RequestSchemeMatchConditionParametersResponse', + 'RequestUriMatchConditionParametersResponse', + 'ResourceReferenceResponse', + 'ResponseBasedOriginErrorDetectionParametersResponse', + 'RouteConfigurationOverrideActionParametersResponse', + 'SecurityPolicyWebApplicationFirewallAssociationResponse', + 'SecurityPolicyWebApplicationFirewallParametersResponse', + 'ServerPortMatchConditionParametersResponse', + 'SharedPrivateLinkResourcePropertiesResponse', + 'SkuResponse', + 'SocketAddrMatchConditionParametersResponse', + 'SslProtocolMatchConditionParametersResponse', + 'SystemDataResponse', + 'UrlFileExtensionMatchConditionParametersResponse', + 'UrlFileNameMatchConditionParametersResponse', + 'UrlPathMatchConditionParametersResponse', + 'UrlRedirectActionParametersResponse', + 'UrlRedirectActionResponse', + 'UrlRewriteActionParametersResponse', + 'UrlRewriteActionResponse', + 'UrlSigningActionParametersResponse', + 'UrlSigningActionResponse', + 'UrlSigningKeyParametersResponse', + 'UrlSigningKeyResponse', + 'UrlSigningParamIdentifierResponse', + 'UserAssignedIdentityResponse', + 'UserManagedHttpsParametersResponse', +] + +@pulumi.output_type +class AFDDomainHttpsParametersResponse(dict): + """ + The JSON object that contains the properties to secure a domain. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateType": + suggest = "certificate_type" + elif key == "minimumTlsVersion": + suggest = "minimum_tls_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AFDDomainHttpsParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AFDDomainHttpsParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AFDDomainHttpsParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_type: str, + minimum_tls_version: Optional[str] = None, + secret: Optional['outputs.ResourceReferenceResponse'] = None): + """ + The JSON object that contains the properties to secure a domain. + :param str certificate_type: Defines the source of the SSL certificate. + :param str minimum_tls_version: TLS protocol version that will be used for Https + :param 'ResourceReferenceResponse' secret: Resource reference to the secret. ie. subs/rg/profile/secret + """ + pulumi.set(__self__, "certificate_type", certificate_type) + if minimum_tls_version is not None: + pulumi.set(__self__, "minimum_tls_version", minimum_tls_version) + if secret is not None: + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter(name="certificateType") + def certificate_type(self) -> str: + """ + Defines the source of the SSL certificate. + """ + return pulumi.get(self, "certificate_type") + + @property + @pulumi.getter(name="minimumTlsVersion") + def minimum_tls_version(self) -> Optional[str]: + """ + TLS protocol version that will be used for Https + """ + return pulumi.get(self, "minimum_tls_version") + + @property + @pulumi.getter + def secret(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + Resource reference to the secret. ie. subs/rg/profile/secret + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class ActivatedResourceReferenceResponse(dict): + """ + Reference to another resource along with its state. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isActive": + suggest = "is_active" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ActivatedResourceReferenceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ActivatedResourceReferenceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ActivatedResourceReferenceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_active: bool, + id: Optional[str] = None): + """ + Reference to another resource along with its state. + :param bool is_active: Whether the resource is active or inactive + :param str id: Resource ID. + """ + pulumi.set(__self__, "is_active", is_active) + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> bool: + """ + Whether the resource is active or inactive + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class AfdRouteCacheConfigurationResponse(dict): + """ + Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "compressionSettings": + suggest = "compression_settings" + elif key == "queryParameters": + suggest = "query_parameters" + elif key == "queryStringCachingBehavior": + suggest = "query_string_caching_behavior" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AfdRouteCacheConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AfdRouteCacheConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AfdRouteCacheConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + compression_settings: Optional['outputs.CompressionSettingsResponse'] = None, + query_parameters: Optional[str] = None, + query_string_caching_behavior: Optional[str] = None): + """ + Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + :param 'CompressionSettingsResponse' compression_settings: compression settings. + :param str query_parameters: query parameters to include or exclude (comma separated). + :param str query_string_caching_behavior: Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + if compression_settings is not None: + pulumi.set(__self__, "compression_settings", compression_settings) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + if query_string_caching_behavior is not None: + pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior) + + @property + @pulumi.getter(name="compressionSettings") + def compression_settings(self) -> Optional['outputs.CompressionSettingsResponse']: + """ + compression settings. + """ + return pulumi.get(self, "compression_settings") + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[str]: + """ + query parameters to include or exclude (comma separated). + """ + return pulumi.get(self, "query_parameters") + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> Optional[str]: + """ + Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + return pulumi.get(self, "query_string_caching_behavior") + + +@pulumi.output_type +class AzureFirstPartyManagedCertificateParametersResponse(dict): + """ + Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateAuthority": + suggest = "certificate_authority" + elif key == "expirationDate": + suggest = "expiration_date" + elif key == "secretSource": + suggest = "secret_source" + elif key == "subjectAlternativeNames": + suggest = "subject_alternative_names" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureFirstPartyManagedCertificateParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureFirstPartyManagedCertificateParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureFirstPartyManagedCertificateParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_authority: str, + expiration_date: str, + secret_source: 'outputs.ResourceReferenceResponse', + subject: str, + thumbprint: str, + type: str, + subject_alternative_names: Optional[Sequence[str]] = None): + """ + Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. + :param str certificate_authority: Certificate issuing authority. + :param str expiration_date: Certificate expiration date. + :param 'ResourceReferenceResponse' secret_source: Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + :param str subject: Subject name in the certificate. + :param str thumbprint: Certificate thumbprint. + :param str type: The type of the secret resource. + Expected value is 'AzureFirstPartyManagedCertificate'. + :param Sequence[str] subject_alternative_names: The list of SANs. + """ + pulumi.set(__self__, "certificate_authority", certificate_authority) + pulumi.set(__self__, "expiration_date", expiration_date) + pulumi.set(__self__, "secret_source", secret_source) + pulumi.set(__self__, "subject", subject) + pulumi.set(__self__, "thumbprint", thumbprint) + pulumi.set(__self__, "type", 'AzureFirstPartyManagedCertificate') + if subject_alternative_names is not None: + pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + + @property + @pulumi.getter(name="certificateAuthority") + def certificate_authority(self) -> str: + """ + Certificate issuing authority. + """ + return pulumi.get(self, "certificate_authority") + + @property + @pulumi.getter(name="expirationDate") + def expiration_date(self) -> str: + """ + Certificate expiration date. + """ + return pulumi.get(self, "expiration_date") + + @property + @pulumi.getter(name="secretSource") + def secret_source(self) -> 'outputs.ResourceReferenceResponse': + """ + Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + """ + return pulumi.get(self, "secret_source") + + @property + @pulumi.getter + def subject(self) -> str: + """ + Subject name in the certificate. + """ + return pulumi.get(self, "subject") + + @property + @pulumi.getter + def thumbprint(self) -> str: + """ + Certificate thumbprint. + """ + return pulumi.get(self, "thumbprint") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the secret resource. + Expected value is 'AzureFirstPartyManagedCertificate'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="subjectAlternativeNames") + def subject_alternative_names(self) -> Optional[Sequence[str]]: + """ + The list of SANs. + """ + return pulumi.get(self, "subject_alternative_names") + + +@pulumi.output_type +class CacheConfigurationResponse(dict): + """ + Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cacheBehavior": + suggest = "cache_behavior" + elif key == "cacheDuration": + suggest = "cache_duration" + elif key == "isCompressionEnabled": + suggest = "is_compression_enabled" + elif key == "queryParameters": + suggest = "query_parameters" + elif key == "queryStringCachingBehavior": + suggest = "query_string_caching_behavior" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CacheConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CacheConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CacheConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cache_behavior: Optional[str] = None, + cache_duration: Optional[str] = None, + is_compression_enabled: Optional[str] = None, + query_parameters: Optional[str] = None, + query_string_caching_behavior: Optional[str] = None): + """ + Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object. + :param str cache_behavior: Caching behavior for the requests + :param str cache_duration: The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + :param str is_compression_enabled: Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + :param str query_parameters: query parameters to include or exclude (comma separated). + :param str query_string_caching_behavior: Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + if cache_behavior is not None: + pulumi.set(__self__, "cache_behavior", cache_behavior) + if cache_duration is not None: + pulumi.set(__self__, "cache_duration", cache_duration) + if is_compression_enabled is not None: + pulumi.set(__self__, "is_compression_enabled", is_compression_enabled) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + if query_string_caching_behavior is not None: + pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior) + + @property + @pulumi.getter(name="cacheBehavior") + def cache_behavior(self) -> Optional[str]: + """ + Caching behavior for the requests + """ + return pulumi.get(self, "cache_behavior") + + @property + @pulumi.getter(name="cacheDuration") + def cache_duration(self) -> Optional[str]: + """ + The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + """ + return pulumi.get(self, "cache_duration") + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> Optional[str]: + """ + Indicates whether content compression is enabled. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[str]: + """ + query parameters to include or exclude (comma separated). + """ + return pulumi.get(self, "query_parameters") + + @property + @pulumi.getter(name="queryStringCachingBehavior") + def query_string_caching_behavior(self) -> Optional[str]: + """ + Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings. + """ + return pulumi.get(self, "query_string_caching_behavior") + + +@pulumi.output_type +class CacheExpirationActionParametersResponse(dict): + """ + Defines the parameters for the cache expiration action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cacheBehavior": + suggest = "cache_behavior" + elif key == "cacheType": + suggest = "cache_type" + elif key == "typeName": + suggest = "type_name" + elif key == "cacheDuration": + suggest = "cache_duration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CacheExpirationActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CacheExpirationActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CacheExpirationActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cache_behavior: str, + cache_type: str, + type_name: str, + cache_duration: Optional[str] = None): + """ + Defines the parameters for the cache expiration action. + :param str cache_behavior: Caching behavior for the requests + :param str cache_type: The level at which the content needs to be cached. + :param str cache_duration: The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + """ + pulumi.set(__self__, "cache_behavior", cache_behavior) + pulumi.set(__self__, "cache_type", cache_type) + pulumi.set(__self__, "type_name", type_name) + if cache_duration is not None: + pulumi.set(__self__, "cache_duration", cache_duration) + + @property + @pulumi.getter(name="cacheBehavior") + def cache_behavior(self) -> str: + """ + Caching behavior for the requests + """ + return pulumi.get(self, "cache_behavior") + + @property + @pulumi.getter(name="cacheType") + def cache_type(self) -> str: + """ + The level at which the content needs to be cached. + """ + return pulumi.get(self, "cache_type") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="cacheDuration") + def cache_duration(self) -> Optional[str]: + """ + The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + """ + return pulumi.get(self, "cache_duration") + + +@pulumi.output_type +class CacheKeyQueryStringActionParametersResponse(dict): + """ + Defines the parameters for the cache-key query string action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "queryStringBehavior": + suggest = "query_string_behavior" + elif key == "typeName": + suggest = "type_name" + elif key == "queryParameters": + suggest = "query_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CacheKeyQueryStringActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CacheKeyQueryStringActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CacheKeyQueryStringActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + query_string_behavior: str, + type_name: str, + query_parameters: Optional[str] = None): + """ + Defines the parameters for the cache-key query string action. + :param str query_string_behavior: Caching behavior for the requests + :param str query_parameters: query parameters to include or exclude (comma separated). + """ + pulumi.set(__self__, "query_string_behavior", query_string_behavior) + pulumi.set(__self__, "type_name", type_name) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + + @property + @pulumi.getter(name="queryStringBehavior") + def query_string_behavior(self) -> str: + """ + Caching behavior for the requests + """ + return pulumi.get(self, "query_string_behavior") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[str]: + """ + query parameters to include or exclude (comma separated). + """ + return pulumi.get(self, "query_parameters") + + +@pulumi.output_type +class CdnCertificateSourceParametersResponse(dict): + """ + Defines the parameters for using CDN managed certificate for securing custom domain. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateType": + suggest = "certificate_type" + elif key == "typeName": + suggest = "type_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CdnCertificateSourceParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CdnCertificateSourceParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CdnCertificateSourceParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_type: str, + type_name: str): + """ + Defines the parameters for using CDN managed certificate for securing custom domain. + :param str certificate_type: Type of certificate used + """ + pulumi.set(__self__, "certificate_type", certificate_type) + pulumi.set(__self__, "type_name", type_name) + + @property + @pulumi.getter(name="certificateType") + def certificate_type(self) -> str: + """ + Type of certificate used + """ + return pulumi.get(self, "certificate_type") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + +@pulumi.output_type +class CdnEndpointResponse(dict): + """ + Defines the ARM Resource ID for the linked endpoints + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Defines the ARM Resource ID for the linked endpoints + :param str id: ARM Resource ID string. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + ARM Resource ID string. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class CdnManagedHttpsParametersResponse(dict): + """ + Defines the certificate source parameters using CDN managed certificate for enabling SSL. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateSource": + suggest = "certificate_source" + elif key == "certificateSourceParameters": + suggest = "certificate_source_parameters" + elif key == "protocolType": + suggest = "protocol_type" + elif key == "minimumTlsVersion": + suggest = "minimum_tls_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CdnManagedHttpsParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CdnManagedHttpsParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CdnManagedHttpsParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_source: str, + certificate_source_parameters: 'outputs.CdnCertificateSourceParametersResponse', + protocol_type: str, + minimum_tls_version: Optional[str] = None): + """ + Defines the certificate source parameters using CDN managed certificate for enabling SSL. + :param str certificate_source: Defines the source of the SSL certificate. + Expected value is 'Cdn'. + :param 'CdnCertificateSourceParametersResponse' certificate_source_parameters: Defines the certificate source parameters using CDN managed certificate for enabling SSL. + :param str protocol_type: Defines the TLS extension protocol that is used for secure delivery. + :param str minimum_tls_version: TLS protocol version that will be used for Https + """ + pulumi.set(__self__, "certificate_source", 'Cdn') + pulumi.set(__self__, "certificate_source_parameters", certificate_source_parameters) + pulumi.set(__self__, "protocol_type", protocol_type) + if minimum_tls_version is not None: + pulumi.set(__self__, "minimum_tls_version", minimum_tls_version) + + @property + @pulumi.getter(name="certificateSource") + def certificate_source(self) -> str: + """ + Defines the source of the SSL certificate. + Expected value is 'Cdn'. + """ + return pulumi.get(self, "certificate_source") + + @property + @pulumi.getter(name="certificateSourceParameters") + def certificate_source_parameters(self) -> 'outputs.CdnCertificateSourceParametersResponse': + """ + Defines the certificate source parameters using CDN managed certificate for enabling SSL. + """ + return pulumi.get(self, "certificate_source_parameters") + + @property + @pulumi.getter(name="protocolType") + def protocol_type(self) -> str: + """ + Defines the TLS extension protocol that is used for secure delivery. + """ + return pulumi.get(self, "protocol_type") + + @property + @pulumi.getter(name="minimumTlsVersion") + def minimum_tls_version(self) -> Optional[str]: + """ + TLS protocol version that will be used for Https + """ + return pulumi.get(self, "minimum_tls_version") + + +@pulumi.output_type +class ClientPortMatchConditionParametersResponse(dict): + """ + Defines the parameters for ClientPort match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientPortMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientPortMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientPortMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for ClientPort match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class CompressionSettingsResponse(dict): + """ + settings for compression. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "contentTypesToCompress": + suggest = "content_types_to_compress" + elif key == "isCompressionEnabled": + suggest = "is_compression_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CompressionSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CompressionSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CompressionSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + content_types_to_compress: Optional[Sequence[str]] = None, + is_compression_enabled: Optional[bool] = None): + """ + settings for compression. + :param Sequence[str] content_types_to_compress: List of content types on which compression applies. The value should be a valid MIME type. + :param bool is_compression_enabled: Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + if content_types_to_compress is not None: + pulumi.set(__self__, "content_types_to_compress", content_types_to_compress) + if is_compression_enabled is not None: + pulumi.set(__self__, "is_compression_enabled", is_compression_enabled) + + @property + @pulumi.getter(name="contentTypesToCompress") + def content_types_to_compress(self) -> Optional[Sequence[str]]: + """ + List of content types on which compression applies. The value should be a valid MIME type. + """ + return pulumi.get(self, "content_types_to_compress") + + @property + @pulumi.getter(name="isCompressionEnabled") + def is_compression_enabled(self) -> Optional[bool]: + """ + Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. + """ + return pulumi.get(self, "is_compression_enabled") + + +@pulumi.output_type +class CookiesMatchConditionParametersResponse(dict): + """ + Defines the parameters for Cookies match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CookiesMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CookiesMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CookiesMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + selector: Optional[str] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for Cookies match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param str selector: Name of Cookies to be matched + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def selector(self) -> Optional[str]: + """ + Name of Cookies to be matched + """ + return pulumi.get(self, "selector") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class CustomRuleListResponse(dict): + """ + Defines contents of custom rules + """ + def __init__(__self__, *, + rules: Optional[Sequence['outputs.CustomRuleResponse']] = None): + """ + Defines contents of custom rules + :param Sequence['CustomRuleResponse'] rules: List of rules + """ + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Optional[Sequence['outputs.CustomRuleResponse']]: + """ + List of rules + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class CustomRuleResponse(dict): + """ + Defines the common attributes for a custom rule that can be included in a waf policy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchConditions": + suggest = "match_conditions" + elif key == "enabledState": + suggest = "enabled_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action: str, + match_conditions: Sequence['outputs.MatchConditionResponse'], + name: str, + priority: int, + enabled_state: Optional[str] = None): + """ + Defines the common attributes for a custom rule that can be included in a waf policy + :param str action: Describes what action to be applied when rule matches + :param Sequence['MatchConditionResponse'] match_conditions: List of match conditions. + :param str name: Defines the name of the custom rule + :param int priority: Defines in what order this rule be evaluated in the overall list of custom rules + :param str enabled_state: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "match_conditions", match_conditions) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "priority", priority) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + + @property + @pulumi.getter + def action(self) -> str: + """ + Describes what action to be applied when rule matches + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="matchConditions") + def match_conditions(self) -> Sequence['outputs.MatchConditionResponse']: + """ + List of match conditions. + """ + return pulumi.get(self, "match_conditions") + + @property + @pulumi.getter + def name(self) -> str: + """ + Defines the name of the custom rule + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def priority(self) -> int: + """ + Defines in what order this rule be evaluated in the overall list of custom rules + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + return pulumi.get(self, "enabled_state") + + +@pulumi.output_type +class CustomerCertificateParametersResponse(dict): + """ + Customer Certificate used for https + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateAuthority": + suggest = "certificate_authority" + elif key == "expirationDate": + suggest = "expiration_date" + elif key == "secretSource": + suggest = "secret_source" + elif key == "secretVersion": + suggest = "secret_version" + elif key == "subjectAlternativeNames": + suggest = "subject_alternative_names" + elif key == "useLatestVersion": + suggest = "use_latest_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomerCertificateParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomerCertificateParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomerCertificateParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_authority: str, + expiration_date: str, + secret_source: 'outputs.ResourceReferenceResponse', + subject: str, + thumbprint: str, + type: str, + secret_version: Optional[str] = None, + subject_alternative_names: Optional[Sequence[str]] = None, + use_latest_version: Optional[bool] = None): + """ + Customer Certificate used for https + :param str certificate_authority: Certificate issuing authority. + :param str expiration_date: Certificate expiration date. + :param 'ResourceReferenceResponse' secret_source: Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + :param str subject: Subject name in the certificate. + :param str thumbprint: Certificate thumbprint. + :param str type: The type of the secret resource. + Expected value is 'CustomerCertificate'. + :param str secret_version: Version of the secret to be used + :param Sequence[str] subject_alternative_names: The list of SANs. + :param bool use_latest_version: Whether to use the latest version for the certificate + """ + pulumi.set(__self__, "certificate_authority", certificate_authority) + pulumi.set(__self__, "expiration_date", expiration_date) + pulumi.set(__self__, "secret_source", secret_source) + pulumi.set(__self__, "subject", subject) + pulumi.set(__self__, "thumbprint", thumbprint) + pulumi.set(__self__, "type", 'CustomerCertificate') + if secret_version is not None: + pulumi.set(__self__, "secret_version", secret_version) + if subject_alternative_names is not None: + pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + if use_latest_version is not None: + pulumi.set(__self__, "use_latest_version", use_latest_version) + + @property + @pulumi.getter(name="certificateAuthority") + def certificate_authority(self) -> str: + """ + Certificate issuing authority. + """ + return pulumi.get(self, "certificate_authority") + + @property + @pulumi.getter(name="expirationDate") + def expiration_date(self) -> str: + """ + Certificate expiration date. + """ + return pulumi.get(self, "expiration_date") + + @property + @pulumi.getter(name="secretSource") + def secret_source(self) -> 'outputs.ResourceReferenceResponse': + """ + Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName} + """ + return pulumi.get(self, "secret_source") + + @property + @pulumi.getter + def subject(self) -> str: + """ + Subject name in the certificate. + """ + return pulumi.get(self, "subject") + + @property + @pulumi.getter + def thumbprint(self) -> str: + """ + Certificate thumbprint. + """ + return pulumi.get(self, "thumbprint") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the secret resource. + Expected value is 'CustomerCertificate'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> Optional[str]: + """ + Version of the secret to be used + """ + return pulumi.get(self, "secret_version") + + @property + @pulumi.getter(name="subjectAlternativeNames") + def subject_alternative_names(self) -> Optional[Sequence[str]]: + """ + The list of SANs. + """ + return pulumi.get(self, "subject_alternative_names") + + @property + @pulumi.getter(name="useLatestVersion") + def use_latest_version(self) -> Optional[bool]: + """ + Whether to use the latest version for the certificate + """ + return pulumi.get(self, "use_latest_version") + + +@pulumi.output_type +class DeepCreatedCustomDomainResponse(dict): + """ + Custom domains created on the CDN endpoint. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostName": + suggest = "host_name" + elif key == "validationData": + suggest = "validation_data" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeepCreatedCustomDomainResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeepCreatedCustomDomainResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeepCreatedCustomDomainResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + host_name: str, + name: str, + validation_data: Optional[str] = None): + """ + Custom domains created on the CDN endpoint. + :param str host_name: The host name of the custom domain. Must be a domain name. + :param str name: Custom domain name. + :param str validation_data: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + """ + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "name", name) + if validation_data is not None: + pulumi.set(__self__, "validation_data", validation_data) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The host name of the custom domain. Must be a domain name. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + Custom domain name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="validationData") + def validation_data(self) -> Optional[str]: + """ + Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. + """ + return pulumi.get(self, "validation_data") + + +@pulumi.output_type +class DeepCreatedOriginGroupResponse(dict): + """ + The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "healthProbeSettings": + suggest = "health_probe_settings" + elif key == "responseBasedOriginErrorDetectionSettings": + suggest = "response_based_origin_error_detection_settings" + elif key == "trafficRestorationTimeToHealedOrNewEndpointsInMinutes": + suggest = "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeepCreatedOriginGroupResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeepCreatedOriginGroupResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeepCreatedOriginGroupResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + origins: Sequence['outputs.ResourceReferenceResponse'], + health_probe_settings: Optional['outputs.HealthProbeParametersResponse'] = None, + response_based_origin_error_detection_settings: Optional['outputs.ResponseBasedOriginErrorDetectionParametersResponse'] = None, + traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[int] = None): + """ + The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health. + :param str name: Origin group name which must be unique within the endpoint. + :param Sequence['ResourceReferenceResponse'] origins: The source of the content being delivered via CDN within given origin group. + :param 'HealthProbeParametersResponse' health_probe_settings: Health probe settings to the origin that is used to determine the health of the origin. + :param 'ResponseBasedOriginErrorDetectionParametersResponse' response_based_origin_error_detection_settings: The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + :param int traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "origins", origins) + if health_probe_settings is not None: + pulumi.set(__self__, "health_probe_settings", health_probe_settings) + if response_based_origin_error_detection_settings is not None: + pulumi.set(__self__, "response_based_origin_error_detection_settings", response_based_origin_error_detection_settings) + if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes is not None: + pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes) + + @property + @pulumi.getter + def name(self) -> str: + """ + Origin group name which must be unique within the endpoint. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def origins(self) -> Sequence['outputs.ResourceReferenceResponse']: + """ + The source of the content being delivered via CDN within given origin group. + """ + return pulumi.get(self, "origins") + + @property + @pulumi.getter(name="healthProbeSettings") + def health_probe_settings(self) -> Optional['outputs.HealthProbeParametersResponse']: + """ + Health probe settings to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "health_probe_settings") + + @property + @pulumi.getter(name="responseBasedOriginErrorDetectionSettings") + def response_based_origin_error_detection_settings(self) -> Optional['outputs.ResponseBasedOriginErrorDetectionParametersResponse']: + """ + The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. + """ + return pulumi.get(self, "response_based_origin_error_detection_settings") + + @property + @pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes") + def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[int]: + """ + Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported. + """ + return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes") + + +@pulumi.output_type +class DeepCreatedOriginResponse(dict): + """ + The main origin of CDN content which is added when creating a CDN endpoint. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostName": + suggest = "host_name" + elif key == "privateEndpointStatus": + suggest = "private_endpoint_status" + elif key == "httpPort": + suggest = "http_port" + elif key == "httpsPort": + suggest = "https_port" + elif key == "originHostHeader": + suggest = "origin_host_header" + elif key == "privateLinkAlias": + suggest = "private_link_alias" + elif key == "privateLinkApprovalMessage": + suggest = "private_link_approval_message" + elif key == "privateLinkLocation": + suggest = "private_link_location" + elif key == "privateLinkResourceId": + suggest = "private_link_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeepCreatedOriginResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeepCreatedOriginResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeepCreatedOriginResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + host_name: str, + name: str, + private_endpoint_status: str, + enabled: Optional[bool] = None, + http_port: Optional[int] = None, + https_port: Optional[int] = None, + origin_host_header: Optional[str] = None, + priority: Optional[int] = None, + private_link_alias: Optional[str] = None, + private_link_approval_message: Optional[str] = None, + private_link_location: Optional[str] = None, + private_link_resource_id: Optional[str] = None, + weight: Optional[int] = None): + """ + The main origin of CDN content which is added when creating a CDN endpoint. + :param str host_name: The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. + :param str name: Origin name which must be unique within the endpoint. + :param str private_endpoint_status: The approval status for the connection to the Private Link + :param bool enabled: Origin is enabled for load balancing or not. By default, origin is always enabled. + :param int http_port: The value of the HTTP port. Must be between 1 and 65535. + :param int https_port: The value of the HTTPS port. Must be between 1 and 65535. + :param str origin_host_header: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + :param int priority: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + :param str private_link_alias: The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + :param str private_link_approval_message: A custom message to be included in the approval request to connect to the Private Link. + :param str private_link_location: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + :param str private_link_resource_id: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + :param int weight: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + pulumi.set(__self__, "host_name", host_name) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "private_endpoint_status", private_endpoint_status) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if http_port is not None: + pulumi.set(__self__, "http_port", http_port) + if https_port is not None: + pulumi.set(__self__, "https_port", https_port) + if origin_host_header is not None: + pulumi.set(__self__, "origin_host_header", origin_host_header) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if private_link_alias is not None: + pulumi.set(__self__, "private_link_alias", private_link_alias) + if private_link_approval_message is not None: + pulumi.set(__self__, "private_link_approval_message", private_link_approval_message) + if private_link_location is not None: + pulumi.set(__self__, "private_link_location", private_link_location) + if private_link_resource_id is not None: + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if weight is not None: + pulumi.set(__self__, "weight", weight) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> str: + """ + The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + Origin name which must be unique within the endpoint. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpointStatus") + def private_endpoint_status(self) -> str: + """ + The approval status for the connection to the Private Link + """ + return pulumi.get(self, "private_endpoint_status") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Origin is enabled for load balancing or not. By default, origin is always enabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[int]: + """ + The value of the HTTP port. Must be between 1 and 65535. + """ + return pulumi.get(self, "http_port") + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[int]: + """ + The value of the HTTPS port. Must be between 1 and 65535. + """ + return pulumi.get(self, "https_port") + + @property + @pulumi.getter(name="originHostHeader") + def origin_host_header(self) -> Optional[str]: + """ + The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + """ + return pulumi.get(self, "origin_host_header") + + @property + @pulumi.getter + def priority(self) -> Optional[int]: + """ + Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5. + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="privateLinkAlias") + def private_link_alias(self) -> Optional[str]: + """ + The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' + """ + return pulumi.get(self, "private_link_alias") + + @property + @pulumi.getter(name="privateLinkApprovalMessage") + def private_link_approval_message(self) -> Optional[str]: + """ + A custom message to be included in the approval request to connect to the Private Link. + """ + return pulumi.get(self, "private_link_approval_message") + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> Optional[str]: + """ + The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated + """ + return pulumi.get(self, "private_link_location") + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> Optional[str]: + """ + The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' + """ + return pulumi.get(self, "private_link_resource_id") + + @property + @pulumi.getter + def weight(self) -> Optional[int]: + """ + Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 + """ + return pulumi.get(self, "weight") + + +@pulumi.output_type +class DeliveryRuleCacheExpirationActionResponse(dict): + """ + Defines the cache expiration action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.CacheExpirationActionParametersResponse'): + """ + Defines the cache expiration action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'CacheExpiration'. + :param 'CacheExpirationActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'CacheExpiration') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'CacheExpiration'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.CacheExpirationActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleCacheKeyQueryStringActionResponse(dict): + """ + Defines the cache-key query string action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.CacheKeyQueryStringActionParametersResponse'): + """ + Defines the cache-key query string action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'CacheKeyQueryString'. + :param 'CacheKeyQueryStringActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'CacheKeyQueryString') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'CacheKeyQueryString'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.CacheKeyQueryStringActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleClientPortConditionResponse(dict): + """ + Defines the ClientPort condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.ClientPortMatchConditionParametersResponse'): + """ + Defines the ClientPort condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'ClientPort'. + :param 'ClientPortMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'ClientPort') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'ClientPort'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.ClientPortMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleCookiesConditionResponse(dict): + """ + Defines the Cookies condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.CookiesMatchConditionParametersResponse'): + """ + Defines the Cookies condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'Cookies'. + :param 'CookiesMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'Cookies') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'Cookies'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.CookiesMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleHostNameConditionResponse(dict): + """ + Defines the HostName condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.HostNameMatchConditionParametersResponse'): + """ + Defines the HostName condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'HostName'. + :param 'HostNameMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'HostName') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'HostName'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.HostNameMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleHttpVersionConditionResponse(dict): + """ + Defines the HttpVersion condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.HttpVersionMatchConditionParametersResponse'): + """ + Defines the HttpVersion condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'HttpVersion'. + :param 'HttpVersionMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'HttpVersion') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'HttpVersion'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.HttpVersionMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleIsDeviceConditionResponse(dict): + """ + Defines the IsDevice condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.IsDeviceMatchConditionParametersResponse'): + """ + Defines the IsDevice condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'IsDevice'. + :param 'IsDeviceMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'IsDevice') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'IsDevice'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.IsDeviceMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRulePostArgsConditionResponse(dict): + """ + Defines the PostArgs condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.PostArgsMatchConditionParametersResponse'): + """ + Defines the PostArgs condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'PostArgs'. + :param 'PostArgsMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'PostArgs') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'PostArgs'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.PostArgsMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleQueryStringConditionResponse(dict): + """ + Defines the QueryString condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.QueryStringMatchConditionParametersResponse'): + """ + Defines the QueryString condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'QueryString'. + :param 'QueryStringMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'QueryString') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'QueryString'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.QueryStringMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRemoteAddressConditionResponse(dict): + """ + Defines the RemoteAddress condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RemoteAddressMatchConditionParametersResponse'): + """ + Defines the RemoteAddress condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'RemoteAddress'. + :param 'RemoteAddressMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RemoteAddress') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'RemoteAddress'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RemoteAddressMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRequestBodyConditionResponse(dict): + """ + Defines the RequestBody condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RequestBodyMatchConditionParametersResponse'): + """ + Defines the RequestBody condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'RequestBody'. + :param 'RequestBodyMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestBody') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestBody'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RequestBodyMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRequestHeaderActionResponse(dict): + """ + Defines the request header action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.HeaderActionParametersResponse'): + """ + Defines the request header action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'ModifyRequestHeader'. + :param 'HeaderActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'ModifyRequestHeader') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'ModifyRequestHeader'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.HeaderActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRequestHeaderConditionResponse(dict): + """ + Defines the RequestHeader condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RequestHeaderMatchConditionParametersResponse'): + """ + Defines the RequestHeader condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'RequestHeader'. + :param 'RequestHeaderMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestHeader') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestHeader'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RequestHeaderMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRequestMethodConditionResponse(dict): + """ + Defines the RequestMethod condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RequestMethodMatchConditionParametersResponse'): + """ + Defines the RequestMethod condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'RequestMethod'. + :param 'RequestMethodMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestMethod') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestMethod'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RequestMethodMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRequestSchemeConditionResponse(dict): + """ + Defines the RequestScheme condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RequestSchemeMatchConditionParametersResponse'): + """ + Defines the RequestScheme condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'RequestScheme'. + :param 'RequestSchemeMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestScheme') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestScheme'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RequestSchemeMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRequestUriConditionResponse(dict): + """ + Defines the RequestUri condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RequestUriMatchConditionParametersResponse'): + """ + Defines the RequestUri condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'RequestUri'. + :param 'RequestUriMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'RequestUri') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'RequestUri'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RequestUriMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleResponse(dict): + """ + A rule that specifies a set of actions and conditions + """ + def __init__(__self__, *, + actions: Sequence[Any], + order: int, + conditions: Optional[Sequence[Any]] = None, + name: Optional[str] = None): + """ + A rule that specifies a set of actions and conditions + :param Sequence[Union['DeliveryRuleCacheExpirationActionResponse', 'DeliveryRuleCacheKeyQueryStringActionResponse', 'DeliveryRuleRequestHeaderActionResponse', 'DeliveryRuleResponseHeaderActionResponse', 'DeliveryRuleRouteConfigurationOverrideActionResponse', 'OriginGroupOverrideActionResponse', 'UrlRedirectActionResponse', 'UrlRewriteActionResponse', 'UrlSigningActionResponse']] actions: A list of actions that are executed when all the conditions of a rule are satisfied. + :param int order: The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + :param Sequence[Union['DeliveryRuleClientPortConditionResponse', 'DeliveryRuleCookiesConditionResponse', 'DeliveryRuleHostNameConditionResponse', 'DeliveryRuleHttpVersionConditionResponse', 'DeliveryRuleIsDeviceConditionResponse', 'DeliveryRulePostArgsConditionResponse', 'DeliveryRuleQueryStringConditionResponse', 'DeliveryRuleRemoteAddressConditionResponse', 'DeliveryRuleRequestBodyConditionResponse', 'DeliveryRuleRequestHeaderConditionResponse', 'DeliveryRuleRequestMethodConditionResponse', 'DeliveryRuleRequestSchemeConditionResponse', 'DeliveryRuleRequestUriConditionResponse', 'DeliveryRuleServerPortConditionResponse', 'DeliveryRuleSocketAddrConditionResponse', 'DeliveryRuleSslProtocolConditionResponse', 'DeliveryRuleUrlFileExtensionConditionResponse', 'DeliveryRuleUrlFileNameConditionResponse', 'DeliveryRuleUrlPathConditionResponse']] conditions: A list of conditions that must be matched for the actions to be executed + :param str name: Name of the rule + """ + pulumi.set(__self__, "actions", actions) + pulumi.set(__self__, "order", order) + if conditions is not None: + pulumi.set(__self__, "conditions", conditions) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def actions(self) -> Sequence[Any]: + """ + A list of actions that are executed when all the conditions of a rule are satisfied. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter + def order(self) -> int: + """ + The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter + def conditions(self) -> Optional[Sequence[Any]]: + """ + A list of conditions that must be matched for the actions to be executed + """ + return pulumi.get(self, "conditions") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the rule + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class DeliveryRuleResponseHeaderActionResponse(dict): + """ + Defines the response header action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.HeaderActionParametersResponse'): + """ + Defines the response header action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'ModifyResponseHeader'. + :param 'HeaderActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'ModifyResponseHeader') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'ModifyResponseHeader'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.HeaderActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleRouteConfigurationOverrideActionResponse(dict): + """ + Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.RouteConfigurationOverrideActionParametersResponse'): + """ + Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. + :param str name: The name of the action for the delivery rule. + Expected value is 'RouteConfigurationOverride'. + :param 'RouteConfigurationOverrideActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'RouteConfigurationOverride') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'RouteConfigurationOverride'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.RouteConfigurationOverrideActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleServerPortConditionResponse(dict): + """ + Defines the ServerPort condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.ServerPortMatchConditionParametersResponse'): + """ + Defines the ServerPort condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'ServerPort'. + :param 'ServerPortMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'ServerPort') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'ServerPort'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.ServerPortMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleSocketAddrConditionResponse(dict): + """ + Defines the SocketAddress condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.SocketAddrMatchConditionParametersResponse'): + """ + Defines the SocketAddress condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'SocketAddr'. + :param 'SocketAddrMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'SocketAddr') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'SocketAddr'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.SocketAddrMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleSslProtocolConditionResponse(dict): + """ + Defines the SslProtocol condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.SslProtocolMatchConditionParametersResponse'): + """ + Defines the SslProtocol condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'SslProtocol'. + :param 'SslProtocolMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'SslProtocol') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'SslProtocol'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.SslProtocolMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleUrlFileExtensionConditionResponse(dict): + """ + Defines the UrlFileExtension condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.UrlFileExtensionMatchConditionParametersResponse'): + """ + Defines the UrlFileExtension condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'UrlFileExtension'. + :param 'UrlFileExtensionMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'UrlFileExtension') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'UrlFileExtension'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.UrlFileExtensionMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleUrlFileNameConditionResponse(dict): + """ + Defines the UrlFileName condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.UrlFileNameMatchConditionParametersResponse'): + """ + Defines the UrlFileName condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'UrlFileName'. + :param 'UrlFileNameMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'UrlFileName') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'UrlFileName'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.UrlFileNameMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DeliveryRuleUrlPathConditionResponse(dict): + """ + Defines the UrlPath condition for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.UrlPathMatchConditionParametersResponse'): + """ + Defines the UrlPath condition for the delivery rule. + :param str name: The name of the condition for the delivery rule. + Expected value is 'UrlPath'. + :param 'UrlPathMatchConditionParametersResponse' parameters: Defines the parameters for the condition. + """ + pulumi.set(__self__, "name", 'UrlPath') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the condition for the delivery rule. + Expected value is 'UrlPath'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.UrlPathMatchConditionParametersResponse': + """ + Defines the parameters for the condition. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class DomainValidationPropertiesResponse(dict): + """ + The JSON object that contains the properties to validate a domain. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "expirationDate": + suggest = "expiration_date" + elif key == "validationToken": + suggest = "validation_token" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DomainValidationPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DomainValidationPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DomainValidationPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + expiration_date: str, + validation_token: str): + """ + The JSON object that contains the properties to validate a domain. + :param str expiration_date: The date time that the token expires + :param str validation_token: Challenge used for DNS TXT record or file based validation + """ + pulumi.set(__self__, "expiration_date", expiration_date) + pulumi.set(__self__, "validation_token", validation_token) + + @property + @pulumi.getter(name="expirationDate") + def expiration_date(self) -> str: + """ + The date time that the token expires + """ + return pulumi.get(self, "expiration_date") + + @property + @pulumi.getter(name="validationToken") + def validation_token(self) -> str: + """ + Challenge used for DNS TXT record or file based validation + """ + return pulumi.get(self, "validation_token") + + +@pulumi.output_type +class EndpointPropertiesUpdateParametersResponseDeliveryPolicy(dict): + """ + A policy that specifies the delivery rules to be used for an endpoint. + """ + def __init__(__self__, *, + rules: Sequence['outputs.DeliveryRuleResponse'], + description: Optional[str] = None): + """ + A policy that specifies the delivery rules to be used for an endpoint. + :param Sequence['DeliveryRuleResponse'] rules: A list of the delivery rules. + :param str description: User-friendly description of the policy. + """ + pulumi.set(__self__, "rules", rules) + if description is not None: + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter + def rules(self) -> Sequence['outputs.DeliveryRuleResponse']: + """ + A list of the delivery rules. + """ + return pulumi.get(self, "rules") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + User-friendly description of the policy. + """ + return pulumi.get(self, "description") + + +@pulumi.output_type +class EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink(dict): + """ + Defines the Web Application Firewall policy for the endpoint (if applicable) + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Defines the Web Application Firewall policy for the endpoint (if applicable) + :param str id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GeoFilterResponse(dict): + """ + Rules defining user's geo access within a CDN endpoint. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "countryCodes": + suggest = "country_codes" + elif key == "relativePath": + suggest = "relative_path" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GeoFilterResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GeoFilterResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GeoFilterResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action: str, + country_codes: Sequence[str], + relative_path: str): + """ + Rules defining user's geo access within a CDN endpoint. + :param str action: Action of the geo filter, i.e. allow or block access. + :param Sequence[str] country_codes: Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + :param str relative_path: Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "country_codes", country_codes) + pulumi.set(__self__, "relative_path", relative_path) + + @property + @pulumi.getter + def action(self) -> str: + """ + Action of the geo filter, i.e. allow or block access. + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="countryCodes") + def country_codes(self) -> Sequence[str]: + """ + Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US. + """ + return pulumi.get(self, "country_codes") + + @property + @pulumi.getter(name="relativePath") + def relative_path(self) -> str: + """ + Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + """ + return pulumi.get(self, "relative_path") + + +@pulumi.output_type +class HeaderActionParametersResponse(dict): + """ + Defines the parameters for the request header action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "headerAction": + suggest = "header_action" + elif key == "headerName": + suggest = "header_name" + elif key == "typeName": + suggest = "type_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HeaderActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HeaderActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HeaderActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + header_action: str, + header_name: str, + type_name: str, + value: Optional[str] = None): + """ + Defines the parameters for the request header action. + :param str header_action: Action to perform + :param str header_name: Name of the header to modify + :param str value: Value for the specified action + """ + pulumi.set(__self__, "header_action", header_action) + pulumi.set(__self__, "header_name", header_name) + pulumi.set(__self__, "type_name", type_name) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="headerAction") + def header_action(self) -> str: + """ + Action to perform + """ + return pulumi.get(self, "header_action") + + @property + @pulumi.getter(name="headerName") + def header_name(self) -> str: + """ + Name of the header to modify + """ + return pulumi.get(self, "header_name") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + Value for the specified action + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class HealthProbeParametersResponse(dict): + """ + The JSON object that contains the properties to send health probes to origin. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "probeIntervalInSeconds": + suggest = "probe_interval_in_seconds" + elif key == "probePath": + suggest = "probe_path" + elif key == "probeProtocol": + suggest = "probe_protocol" + elif key == "probeRequestType": + suggest = "probe_request_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HealthProbeParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HealthProbeParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HealthProbeParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + probe_interval_in_seconds: Optional[int] = None, + probe_path: Optional[str] = None, + probe_protocol: Optional[str] = None, + probe_request_type: Optional[str] = None): + """ + The JSON object that contains the properties to send health probes to origin. + :param int probe_interval_in_seconds: The number of seconds between health probes.Default is 240sec. + :param str probe_path: The path relative to the origin that is used to determine the health of the origin. + :param str probe_protocol: Protocol to use for health probe. + :param str probe_request_type: The type of health probe request that is made. + """ + if probe_interval_in_seconds is not None: + pulumi.set(__self__, "probe_interval_in_seconds", probe_interval_in_seconds) + if probe_path is not None: + pulumi.set(__self__, "probe_path", probe_path) + if probe_protocol is not None: + pulumi.set(__self__, "probe_protocol", probe_protocol) + if probe_request_type is not None: + pulumi.set(__self__, "probe_request_type", probe_request_type) + + @property + @pulumi.getter(name="probeIntervalInSeconds") + def probe_interval_in_seconds(self) -> Optional[int]: + """ + The number of seconds between health probes.Default is 240sec. + """ + return pulumi.get(self, "probe_interval_in_seconds") + + @property + @pulumi.getter(name="probePath") + def probe_path(self) -> Optional[str]: + """ + The path relative to the origin that is used to determine the health of the origin. + """ + return pulumi.get(self, "probe_path") + + @property + @pulumi.getter(name="probeProtocol") + def probe_protocol(self) -> Optional[str]: + """ + Protocol to use for health probe. + """ + return pulumi.get(self, "probe_protocol") + + @property + @pulumi.getter(name="probeRequestType") + def probe_request_type(self) -> Optional[str]: + """ + The type of health probe request that is made. + """ + return pulumi.get(self, "probe_request_type") + + +@pulumi.output_type +class HostNameMatchConditionParametersResponse(dict): + """ + Defines the parameters for HostName match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HostNameMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HostNameMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HostNameMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for HostName match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class HttpErrorRangeParametersResponse(dict): + """ + The JSON object that represents the range for http status codes + """ + def __init__(__self__, *, + begin: Optional[int] = None, + end: Optional[int] = None): + """ + The JSON object that represents the range for http status codes + :param int begin: The inclusive start of the http status code range. + :param int end: The inclusive end of the http status code range. + """ + if begin is not None: + pulumi.set(__self__, "begin", begin) + if end is not None: + pulumi.set(__self__, "end", end) + + @property + @pulumi.getter + def begin(self) -> Optional[int]: + """ + The inclusive start of the http status code range. + """ + return pulumi.get(self, "begin") + + @property + @pulumi.getter + def end(self) -> Optional[int]: + """ + The inclusive end of the http status code range. + """ + return pulumi.get(self, "end") + + +@pulumi.output_type +class HttpVersionMatchConditionParametersResponse(dict): + """ + Defines the parameters for HttpVersion match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HttpVersionMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HttpVersionMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HttpVersionMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for HttpVersion match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class IsDeviceMatchConditionParametersResponse(dict): + """ + Defines the parameters for IsDevice match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IsDeviceMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IsDeviceMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IsDeviceMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for IsDevice match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class KeyVaultCertificateSourceParametersResponse(dict): + """ + Describes the parameters for using a user's KeyVault certificate for securing custom domain. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deleteRule": + suggest = "delete_rule" + elif key == "resourceGroupName": + suggest = "resource_group_name" + elif key == "secretName": + suggest = "secret_name" + elif key == "subscriptionId": + suggest = "subscription_id" + elif key == "typeName": + suggest = "type_name" + elif key == "updateRule": + suggest = "update_rule" + elif key == "vaultName": + suggest = "vault_name" + elif key == "secretVersion": + suggest = "secret_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyVaultCertificateSourceParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyVaultCertificateSourceParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyVaultCertificateSourceParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + delete_rule: str, + resource_group_name: str, + secret_name: str, + subscription_id: str, + type_name: str, + update_rule: str, + vault_name: str, + secret_version: Optional[str] = None): + """ + Describes the parameters for using a user's KeyVault certificate for securing custom domain. + :param str delete_rule: Describes the action that shall be taken when the certificate is removed from Key Vault. + :param str resource_group_name: Resource group of the user's Key Vault containing the SSL certificate + :param str secret_name: The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. + :param str subscription_id: Subscription Id of the user's Key Vault containing the SSL certificate + :param str update_rule: Describes the action that shall be taken when the certificate is updated in Key Vault. + :param str vault_name: The name of the user's Key Vault containing the SSL certificate + :param str secret_version: The version(GUID) of Key Vault Secret in Key Vault. + """ + pulumi.set(__self__, "delete_rule", delete_rule) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "secret_name", secret_name) + pulumi.set(__self__, "subscription_id", subscription_id) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "update_rule", update_rule) + pulumi.set(__self__, "vault_name", vault_name) + if secret_version is not None: + pulumi.set(__self__, "secret_version", secret_version) + + @property + @pulumi.getter(name="deleteRule") + def delete_rule(self) -> str: + """ + Describes the action that shall be taken when the certificate is removed from Key Vault. + """ + return pulumi.get(self, "delete_rule") + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> str: + """ + Resource group of the user's Key Vault containing the SSL certificate + """ + return pulumi.get(self, "resource_group_name") + + @property + @pulumi.getter(name="secretName") + def secret_name(self) -> str: + """ + The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. + """ + return pulumi.get(self, "secret_name") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + Subscription Id of the user's Key Vault containing the SSL certificate + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="updateRule") + def update_rule(self) -> str: + """ + Describes the action that shall be taken when the certificate is updated in Key Vault. + """ + return pulumi.get(self, "update_rule") + + @property + @pulumi.getter(name="vaultName") + def vault_name(self) -> str: + """ + The name of the user's Key Vault containing the SSL certificate + """ + return pulumi.get(self, "vault_name") + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> Optional[str]: + """ + The version(GUID) of Key Vault Secret in Key Vault. + """ + return pulumi.get(self, "secret_version") + + +@pulumi.output_type +class KeyVaultSigningKeyParametersResponse(dict): + """ + Describes the parameters for using a user's KeyVault for URL Signing Key. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceGroupName": + suggest = "resource_group_name" + elif key == "secretName": + suggest = "secret_name" + elif key == "secretVersion": + suggest = "secret_version" + elif key == "subscriptionId": + suggest = "subscription_id" + elif key == "typeName": + suggest = "type_name" + elif key == "vaultName": + suggest = "vault_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyVaultSigningKeyParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyVaultSigningKeyParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyVaultSigningKeyParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + resource_group_name: str, + secret_name: str, + secret_version: str, + subscription_id: str, + type_name: str, + vault_name: str): + """ + Describes the parameters for using a user's KeyVault for URL Signing Key. + :param str resource_group_name: Resource group of the user's Key Vault containing the secret + :param str secret_name: The name of secret in Key Vault. + :param str secret_version: The version(GUID) of secret in Key Vault. + :param str subscription_id: Subscription Id of the user's Key Vault containing the secret + :param str vault_name: The name of the user's Key Vault containing the secret + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "secret_name", secret_name) + pulumi.set(__self__, "secret_version", secret_version) + pulumi.set(__self__, "subscription_id", subscription_id) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "vault_name", vault_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> str: + """ + Resource group of the user's Key Vault containing the secret + """ + return pulumi.get(self, "resource_group_name") + + @property + @pulumi.getter(name="secretName") + def secret_name(self) -> str: + """ + The name of secret in Key Vault. + """ + return pulumi.get(self, "secret_name") + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> str: + """ + The version(GUID) of secret in Key Vault. + """ + return pulumi.get(self, "secret_version") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + Subscription Id of the user's Key Vault containing the secret + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="vaultName") + def vault_name(self) -> str: + """ + The name of the user's Key Vault containing the secret + """ + return pulumi.get(self, "vault_name") + + +@pulumi.output_type +class LoadBalancingSettingsParametersResponse(dict): + """ + Round-Robin load balancing settings for a backend pool + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalLatencyInMilliseconds": + suggest = "additional_latency_in_milliseconds" + elif key == "sampleSize": + suggest = "sample_size" + elif key == "successfulSamplesRequired": + suggest = "successful_samples_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LoadBalancingSettingsParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LoadBalancingSettingsParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LoadBalancingSettingsParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_latency_in_milliseconds: Optional[int] = None, + sample_size: Optional[int] = None, + successful_samples_required: Optional[int] = None): + """ + Round-Robin load balancing settings for a backend pool + :param int additional_latency_in_milliseconds: The additional latency in milliseconds for probes to fall into the lowest latency bucket + :param int sample_size: The number of samples to consider for load balancing decisions + :param int successful_samples_required: The number of samples within the sample period that must succeed + """ + if additional_latency_in_milliseconds is not None: + pulumi.set(__self__, "additional_latency_in_milliseconds", additional_latency_in_milliseconds) + if sample_size is not None: + pulumi.set(__self__, "sample_size", sample_size) + if successful_samples_required is not None: + pulumi.set(__self__, "successful_samples_required", successful_samples_required) + + @property + @pulumi.getter(name="additionalLatencyInMilliseconds") + def additional_latency_in_milliseconds(self) -> Optional[int]: + """ + The additional latency in milliseconds for probes to fall into the lowest latency bucket + """ + return pulumi.get(self, "additional_latency_in_milliseconds") + + @property + @pulumi.getter(name="sampleSize") + def sample_size(self) -> Optional[int]: + """ + The number of samples to consider for load balancing decisions + """ + return pulumi.get(self, "sample_size") + + @property + @pulumi.getter(name="successfulSamplesRequired") + def successful_samples_required(self) -> Optional[int]: + """ + The number of samples within the sample period that must succeed + """ + return pulumi.get(self, "successful_samples_required") + + +@pulumi.output_type +class ManagedCertificateParametersResponse(dict): + """ + Managed Certificate used for https + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "expirationDate": + suggest = "expiration_date" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedCertificateParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedCertificateParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedCertificateParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + expiration_date: str, + subject: str, + type: str): + """ + Managed Certificate used for https + :param str expiration_date: Certificate expiration date. + :param str subject: Subject name in the certificate. + :param str type: The type of the secret resource. + Expected value is 'ManagedCertificate'. + """ + pulumi.set(__self__, "expiration_date", expiration_date) + pulumi.set(__self__, "subject", subject) + pulumi.set(__self__, "type", 'ManagedCertificate') + + @property + @pulumi.getter(name="expirationDate") + def expiration_date(self) -> str: + """ + Certificate expiration date. + """ + return pulumi.get(self, "expiration_date") + + @property + @pulumi.getter + def subject(self) -> str: + """ + Subject name in the certificate. + """ + return pulumi.get(self, "subject") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the secret resource. + Expected value is 'ManagedCertificate'. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class ManagedRuleGroupOverrideResponse(dict): + """ + Defines a managed rule group override setting. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ruleGroupName": + suggest = "rule_group_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedRuleGroupOverrideResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedRuleGroupOverrideResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedRuleGroupOverrideResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + rule_group_name: str, + rules: Optional[Sequence['outputs.ManagedRuleOverrideResponse']] = None): + """ + Defines a managed rule group override setting. + :param str rule_group_name: Describes the managed rule group within the rule set to override + :param Sequence['ManagedRuleOverrideResponse'] rules: List of rules that will be enabled. If none specified, all rules in the group will be disabled. + """ + pulumi.set(__self__, "rule_group_name", rule_group_name) + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter(name="ruleGroupName") + def rule_group_name(self) -> str: + """ + Describes the managed rule group within the rule set to override + """ + return pulumi.get(self, "rule_group_name") + + @property + @pulumi.getter + def rules(self) -> Optional[Sequence['outputs.ManagedRuleOverrideResponse']]: + """ + List of rules that will be enabled. If none specified, all rules in the group will be disabled. + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class ManagedRuleOverrideResponse(dict): + """ + Defines a managed rule group override setting. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ruleId": + suggest = "rule_id" + elif key == "enabledState": + suggest = "enabled_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedRuleOverrideResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedRuleOverrideResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedRuleOverrideResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + rule_id: str, + action: Optional[str] = None, + enabled_state: Optional[str] = None): + """ + Defines a managed rule group override setting. + :param str rule_id: Identifier for the managed rule. + :param str action: Describes the override action to be applied when rule matches. + :param str enabled_state: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + """ + pulumi.set(__self__, "rule_id", rule_id) + if action is not None: + pulumi.set(__self__, "action", action) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> str: + """ + Identifier for the managed rule. + """ + return pulumi.get(self, "rule_id") + + @property + @pulumi.getter + def action(self) -> Optional[str]: + """ + Describes the override action to be applied when rule matches. + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. + """ + return pulumi.get(self, "enabled_state") + + +@pulumi.output_type +class ManagedRuleSetListResponse(dict): + """ + Defines the list of managed rule sets for the policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "managedRuleSets": + suggest = "managed_rule_sets" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedRuleSetListResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedRuleSetListResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedRuleSetListResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + managed_rule_sets: Optional[Sequence['outputs.ManagedRuleSetResponse']] = None): + """ + Defines the list of managed rule sets for the policy. + :param Sequence['ManagedRuleSetResponse'] managed_rule_sets: List of rule sets. + """ + if managed_rule_sets is not None: + pulumi.set(__self__, "managed_rule_sets", managed_rule_sets) + + @property + @pulumi.getter(name="managedRuleSets") + def managed_rule_sets(self) -> Optional[Sequence['outputs.ManagedRuleSetResponse']]: + """ + List of rule sets. + """ + return pulumi.get(self, "managed_rule_sets") + + +@pulumi.output_type +class ManagedRuleSetResponse(dict): + """ + Defines a managed rule set. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ruleSetType": + suggest = "rule_set_type" + elif key == "ruleSetVersion": + suggest = "rule_set_version" + elif key == "anomalyScore": + suggest = "anomaly_score" + elif key == "ruleGroupOverrides": + suggest = "rule_group_overrides" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedRuleSetResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedRuleSetResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedRuleSetResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + rule_set_type: str, + rule_set_version: str, + anomaly_score: Optional[int] = None, + rule_group_overrides: Optional[Sequence['outputs.ManagedRuleGroupOverrideResponse']] = None): + """ + Defines a managed rule set. + :param str rule_set_type: Defines the rule set type to use. + :param str rule_set_version: Defines the version of the rule set to use. + :param int anomaly_score: Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. + :param Sequence['ManagedRuleGroupOverrideResponse'] rule_group_overrides: Defines the rule overrides to apply to the rule set. + """ + pulumi.set(__self__, "rule_set_type", rule_set_type) + pulumi.set(__self__, "rule_set_version", rule_set_version) + if anomaly_score is not None: + pulumi.set(__self__, "anomaly_score", anomaly_score) + if rule_group_overrides is not None: + pulumi.set(__self__, "rule_group_overrides", rule_group_overrides) + + @property + @pulumi.getter(name="ruleSetType") + def rule_set_type(self) -> str: + """ + Defines the rule set type to use. + """ + return pulumi.get(self, "rule_set_type") + + @property + @pulumi.getter(name="ruleSetVersion") + def rule_set_version(self) -> str: + """ + Defines the version of the rule set to use. + """ + return pulumi.get(self, "rule_set_version") + + @property + @pulumi.getter(name="anomalyScore") + def anomaly_score(self) -> Optional[int]: + """ + Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. + """ + return pulumi.get(self, "anomaly_score") + + @property + @pulumi.getter(name="ruleGroupOverrides") + def rule_group_overrides(self) -> Optional[Sequence['outputs.ManagedRuleGroupOverrideResponse']]: + """ + Defines the rule overrides to apply to the rule set. + """ + return pulumi.get(self, "rule_group_overrides") + + +@pulumi.output_type +class ManagedServiceIdentityResponse(dict): + """ + Managed service identity (system assigned and/or user assigned identities) + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param str principal_id: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str tenant_id: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param Mapping[str, 'UserAssignedIdentityResponse'] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class MatchConditionResponse(dict): + """ + Define match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchValue": + suggest = "match_value" + elif key == "matchVariable": + suggest = "match_variable" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MatchConditionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MatchConditionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MatchConditionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + match_value: Sequence[str], + match_variable: str, + operator: str, + negate_condition: Optional[bool] = None, + selector: Optional[str] = None, + transforms: Optional[Sequence[str]] = None): + """ + Define match conditions + :param Sequence[str] match_value: List of possible match values. + :param str match_variable: Match variable to compare against. + :param str operator: Describes operator to be matched + :param bool negate_condition: Describes if the result of this condition should be negated. + :param str selector: Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + :param Sequence[str] transforms: List of transforms. + """ + pulumi.set(__self__, "match_value", match_value) + pulumi.set(__self__, "match_variable", match_variable) + pulumi.set(__self__, "operator", operator) + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter(name="matchValue") + def match_value(self) -> Sequence[str]: + """ + List of possible match values. + """ + return pulumi.get(self, "match_value") + + @property + @pulumi.getter(name="matchVariable") + def match_variable(self) -> str: + """ + Match variable to compare against. + """ + return pulumi.get(self, "match_variable") + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if the result of this condition should be negated. + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def selector(self) -> Optional[str]: + """ + Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. + """ + return pulumi.get(self, "selector") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms. + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class OriginGroupOverrideActionParametersResponse(dict): + """ + Defines the parameters for the origin group override action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "originGroup": + suggest = "origin_group" + elif key == "typeName": + suggest = "type_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OriginGroupOverrideActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OriginGroupOverrideActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OriginGroupOverrideActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + origin_group: 'outputs.ResourceReferenceResponse', + type_name: str): + """ + Defines the parameters for the origin group override action. + :param 'ResourceReferenceResponse' origin_group: defines the OriginGroup that would override the DefaultOriginGroup. + """ + pulumi.set(__self__, "origin_group", origin_group) + pulumi.set(__self__, "type_name", type_name) + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> 'outputs.ResourceReferenceResponse': + """ + defines the OriginGroup that would override the DefaultOriginGroup. + """ + return pulumi.get(self, "origin_group") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + +@pulumi.output_type +class OriginGroupOverrideActionResponse(dict): + """ + Defines the origin group override action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.OriginGroupOverrideActionParametersResponse'): + """ + Defines the origin group override action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'OriginGroupOverride'. + :param 'OriginGroupOverrideActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'OriginGroupOverride') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'OriginGroupOverride'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.OriginGroupOverrideActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class OriginGroupOverrideResponse(dict): + """ + Defines the parameters for the origin group override configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "forwardingProtocol": + suggest = "forwarding_protocol" + elif key == "originGroup": + suggest = "origin_group" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OriginGroupOverrideResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OriginGroupOverrideResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OriginGroupOverrideResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + forwarding_protocol: Optional[str] = None, + origin_group: Optional['outputs.ResourceReferenceResponse'] = None): + """ + Defines the parameters for the origin group override configuration. + :param str forwarding_protocol: Protocol this rule will use when forwarding traffic to backends. + :param 'ResourceReferenceResponse' origin_group: defines the OriginGroup that would override the DefaultOriginGroup on route. + """ + if forwarding_protocol is not None: + pulumi.set(__self__, "forwarding_protocol", forwarding_protocol) + if origin_group is not None: + pulumi.set(__self__, "origin_group", origin_group) + + @property + @pulumi.getter(name="forwardingProtocol") + def forwarding_protocol(self) -> Optional[str]: + """ + Protocol this rule will use when forwarding traffic to backends. + """ + return pulumi.get(self, "forwarding_protocol") + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + defines the OriginGroup that would override the DefaultOriginGroup on route. + """ + return pulumi.get(self, "origin_group") + + +@pulumi.output_type +class PolicySettingsResponse(dict): + """ + Defines contents of a web application firewall global configuration + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultCustomBlockResponseBody": + suggest = "default_custom_block_response_body" + elif key == "defaultCustomBlockResponseStatusCode": + suggest = "default_custom_block_response_status_code" + elif key == "defaultRedirectUrl": + suggest = "default_redirect_url" + elif key == "enabledState": + suggest = "enabled_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PolicySettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PolicySettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PolicySettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_custom_block_response_body: Optional[str] = None, + default_custom_block_response_status_code: Optional[int] = None, + default_redirect_url: Optional[str] = None, + enabled_state: Optional[str] = None, + mode: Optional[str] = None): + """ + Defines contents of a web application firewall global configuration + :param str default_custom_block_response_body: If the action type is block, customer can override the response body. The body must be specified in base64 encoding. + :param int default_custom_block_response_status_code: If the action type is block, this field defines the default customer overridable http response status code. + :param str default_redirect_url: If action type is redirect, this field represents the default redirect URL for the client. + :param str enabled_state: describes if the policy is in enabled state or disabled state + :param str mode: Describes if it is in detection mode or prevention mode at policy level. + """ + if default_custom_block_response_body is not None: + pulumi.set(__self__, "default_custom_block_response_body", default_custom_block_response_body) + if default_custom_block_response_status_code is not None: + pulumi.set(__self__, "default_custom_block_response_status_code", default_custom_block_response_status_code) + if default_redirect_url is not None: + pulumi.set(__self__, "default_redirect_url", default_redirect_url) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + if mode is not None: + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter(name="defaultCustomBlockResponseBody") + def default_custom_block_response_body(self) -> Optional[str]: + """ + If the action type is block, customer can override the response body. The body must be specified in base64 encoding. + """ + return pulumi.get(self, "default_custom_block_response_body") + + @property + @pulumi.getter(name="defaultCustomBlockResponseStatusCode") + def default_custom_block_response_status_code(self) -> Optional[int]: + """ + If the action type is block, this field defines the default customer overridable http response status code. + """ + return pulumi.get(self, "default_custom_block_response_status_code") + + @property + @pulumi.getter(name="defaultRedirectUrl") + def default_redirect_url(self) -> Optional[str]: + """ + If action type is redirect, this field represents the default redirect URL for the client. + """ + return pulumi.get(self, "default_redirect_url") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + describes if the policy is in enabled state or disabled state + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + """ + Describes if it is in detection mode or prevention mode at policy level. + """ + return pulumi.get(self, "mode") + + +@pulumi.output_type +class PostArgsMatchConditionParametersResponse(dict): + """ + Defines the parameters for PostArgs match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PostArgsMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PostArgsMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PostArgsMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + selector: Optional[str] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for PostArgs match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param str selector: Name of PostArg to be matched + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def selector(self) -> Optional[str]: + """ + Name of PostArg to be matched + """ + return pulumi.get(self, "selector") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class QueryStringMatchConditionParametersResponse(dict): + """ + Defines the parameters for QueryString match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in QueryStringMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + QueryStringMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + QueryStringMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for QueryString match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class RateLimitRuleListResponse(dict): + """ + Defines contents of rate limit rules + """ + def __init__(__self__, *, + rules: Optional[Sequence['outputs.RateLimitRuleResponse']] = None): + """ + Defines contents of rate limit rules + :param Sequence['RateLimitRuleResponse'] rules: List of rules + """ + if rules is not None: + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Optional[Sequence['outputs.RateLimitRuleResponse']]: + """ + List of rules + """ + return pulumi.get(self, "rules") + + +@pulumi.output_type +class RateLimitRuleResponse(dict): + """ + Defines a rate limiting rule that can be included in a waf policy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchConditions": + suggest = "match_conditions" + elif key == "rateLimitDurationInMinutes": + suggest = "rate_limit_duration_in_minutes" + elif key == "rateLimitThreshold": + suggest = "rate_limit_threshold" + elif key == "enabledState": + suggest = "enabled_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RateLimitRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RateLimitRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RateLimitRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action: str, + match_conditions: Sequence['outputs.MatchConditionResponse'], + name: str, + priority: int, + rate_limit_duration_in_minutes: int, + rate_limit_threshold: int, + enabled_state: Optional[str] = None): + """ + Defines a rate limiting rule that can be included in a waf policy + :param str action: Describes what action to be applied when rule matches + :param Sequence['MatchConditionResponse'] match_conditions: List of match conditions. + :param str name: Defines the name of the custom rule + :param int priority: Defines in what order this rule be evaluated in the overall list of custom rules + :param int rate_limit_duration_in_minutes: Defines rate limit duration. Default is 1 minute. + :param int rate_limit_threshold: Defines rate limit threshold. + :param str enabled_state: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "match_conditions", match_conditions) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "priority", priority) + pulumi.set(__self__, "rate_limit_duration_in_minutes", rate_limit_duration_in_minutes) + pulumi.set(__self__, "rate_limit_threshold", rate_limit_threshold) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + + @property + @pulumi.getter + def action(self) -> str: + """ + Describes what action to be applied when rule matches + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="matchConditions") + def match_conditions(self) -> Sequence['outputs.MatchConditionResponse']: + """ + List of match conditions. + """ + return pulumi.get(self, "match_conditions") + + @property + @pulumi.getter + def name(self) -> str: + """ + Defines the name of the custom rule + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def priority(self) -> int: + """ + Defines in what order this rule be evaluated in the overall list of custom rules + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter(name="rateLimitDurationInMinutes") + def rate_limit_duration_in_minutes(self) -> int: + """ + Defines rate limit duration. Default is 1 minute. + """ + return pulumi.get(self, "rate_limit_duration_in_minutes") + + @property + @pulumi.getter(name="rateLimitThreshold") + def rate_limit_threshold(self) -> int: + """ + Defines rate limit threshold. + """ + return pulumi.get(self, "rate_limit_threshold") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[str]: + """ + Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. + """ + return pulumi.get(self, "enabled_state") + + +@pulumi.output_type +class RemoteAddressMatchConditionParametersResponse(dict): + """ + Defines the parameters for RemoteAddress match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RemoteAddressMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RemoteAddressMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RemoteAddressMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for RemoteAddress match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match. + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class RequestBodyMatchConditionParametersResponse(dict): + """ + Defines the parameters for RequestBody match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestBodyMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestBodyMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestBodyMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for RequestBody match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class RequestHeaderMatchConditionParametersResponse(dict): + """ + Defines the parameters for RequestHeader match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestHeaderMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestHeaderMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestHeaderMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + selector: Optional[str] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for RequestHeader match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param str selector: Name of Header to be matched + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if selector is not None: + pulumi.set(__self__, "selector", selector) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def selector(self) -> Optional[str]: + """ + Name of Header to be matched + """ + return pulumi.get(self, "selector") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class RequestMethodMatchConditionParametersResponse(dict): + """ + Defines the parameters for RequestMethod match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestMethodMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestMethodMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestMethodMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for RequestMethod match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class RequestSchemeMatchConditionParametersResponse(dict): + """ + Defines the parameters for RequestScheme match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestSchemeMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestSchemeMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestSchemeMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for RequestScheme match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class RequestUriMatchConditionParametersResponse(dict): + """ + Defines the parameters for RequestUri match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestUriMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestUriMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestUriMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for RequestUri match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class ResourceReferenceResponse(dict): + """ + Reference to another resource. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Reference to another resource. + :param str id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class ResponseBasedOriginErrorDetectionParametersResponse(dict): + """ + The JSON object that contains the properties to determine origin health using real requests/responses. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "httpErrorRanges": + suggest = "http_error_ranges" + elif key == "responseBasedDetectedErrorTypes": + suggest = "response_based_detected_error_types" + elif key == "responseBasedFailoverThresholdPercentage": + suggest = "response_based_failover_threshold_percentage" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResponseBasedOriginErrorDetectionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResponseBasedOriginErrorDetectionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResponseBasedOriginErrorDetectionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + http_error_ranges: Optional[Sequence['outputs.HttpErrorRangeParametersResponse']] = None, + response_based_detected_error_types: Optional[str] = None, + response_based_failover_threshold_percentage: Optional[int] = None): + """ + The JSON object that contains the properties to determine origin health using real requests/responses. + :param Sequence['HttpErrorRangeParametersResponse'] http_error_ranges: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + :param str response_based_detected_error_types: Type of response errors for real user requests for which origin will be deemed unhealthy + :param int response_based_failover_threshold_percentage: The percentage of failed requests in the sample where failover should trigger. + """ + if http_error_ranges is not None: + pulumi.set(__self__, "http_error_ranges", http_error_ranges) + if response_based_detected_error_types is not None: + pulumi.set(__self__, "response_based_detected_error_types", response_based_detected_error_types) + if response_based_failover_threshold_percentage is not None: + pulumi.set(__self__, "response_based_failover_threshold_percentage", response_based_failover_threshold_percentage) + + @property + @pulumi.getter(name="httpErrorRanges") + def http_error_ranges(self) -> Optional[Sequence['outputs.HttpErrorRangeParametersResponse']]: + """ + The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. + """ + return pulumi.get(self, "http_error_ranges") + + @property + @pulumi.getter(name="responseBasedDetectedErrorTypes") + def response_based_detected_error_types(self) -> Optional[str]: + """ + Type of response errors for real user requests for which origin will be deemed unhealthy + """ + return pulumi.get(self, "response_based_detected_error_types") + + @property + @pulumi.getter(name="responseBasedFailoverThresholdPercentage") + def response_based_failover_threshold_percentage(self) -> Optional[int]: + """ + The percentage of failed requests in the sample where failover should trigger. + """ + return pulumi.get(self, "response_based_failover_threshold_percentage") + + +@pulumi.output_type +class RouteConfigurationOverrideActionParametersResponse(dict): + """ + Defines the parameters for the route configuration override action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "cacheConfiguration": + suggest = "cache_configuration" + elif key == "originGroupOverride": + suggest = "origin_group_override" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RouteConfigurationOverrideActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RouteConfigurationOverrideActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RouteConfigurationOverrideActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_name: str, + cache_configuration: Optional['outputs.CacheConfigurationResponse'] = None, + origin_group_override: Optional['outputs.OriginGroupOverrideResponse'] = None): + """ + Defines the parameters for the route configuration override action. + :param 'CacheConfigurationResponse' cache_configuration: The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + :param 'OriginGroupOverrideResponse' origin_group_override: A reference to the origin group override configuration. Leave empty to use the default origin group on route. + """ + pulumi.set(__self__, "type_name", type_name) + if cache_configuration is not None: + pulumi.set(__self__, "cache_configuration", cache_configuration) + if origin_group_override is not None: + pulumi.set(__self__, "origin_group_override", origin_group_override) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="cacheConfiguration") + def cache_configuration(self) -> Optional['outputs.CacheConfigurationResponse']: + """ + The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object. + """ + return pulumi.get(self, "cache_configuration") + + @property + @pulumi.getter(name="originGroupOverride") + def origin_group_override(self) -> Optional['outputs.OriginGroupOverrideResponse']: + """ + A reference to the origin group override configuration. Leave empty to use the default origin group on route. + """ + return pulumi.get(self, "origin_group_override") + + +@pulumi.output_type +class SecurityPolicyWebApplicationFirewallAssociationResponse(dict): + """ + settings for security policy patterns to match + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "patternsToMatch": + suggest = "patterns_to_match" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecurityPolicyWebApplicationFirewallAssociationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecurityPolicyWebApplicationFirewallAssociationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecurityPolicyWebApplicationFirewallAssociationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + domains: Optional[Sequence['outputs.ActivatedResourceReferenceResponse']] = None, + patterns_to_match: Optional[Sequence[str]] = None): + """ + settings for security policy patterns to match + :param Sequence['ActivatedResourceReferenceResponse'] domains: List of domains. + :param Sequence[str] patterns_to_match: List of paths + """ + if domains is not None: + pulumi.set(__self__, "domains", domains) + if patterns_to_match is not None: + pulumi.set(__self__, "patterns_to_match", patterns_to_match) + + @property + @pulumi.getter + def domains(self) -> Optional[Sequence['outputs.ActivatedResourceReferenceResponse']]: + """ + List of domains. + """ + return pulumi.get(self, "domains") + + @property + @pulumi.getter(name="patternsToMatch") + def patterns_to_match(self) -> Optional[Sequence[str]]: + """ + List of paths + """ + return pulumi.get(self, "patterns_to_match") + + +@pulumi.output_type +class SecurityPolicyWebApplicationFirewallParametersResponse(dict): + """ + The json object containing security policy waf parameters + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "wafPolicy": + suggest = "waf_policy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecurityPolicyWebApplicationFirewallParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecurityPolicyWebApplicationFirewallParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecurityPolicyWebApplicationFirewallParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + associations: Optional[Sequence['outputs.SecurityPolicyWebApplicationFirewallAssociationResponse']] = None, + waf_policy: Optional['outputs.ResourceReferenceResponse'] = None): + """ + The json object containing security policy waf parameters + :param str type: The type of the Security policy to create. + Expected value is 'WebApplicationFirewall'. + :param Sequence['SecurityPolicyWebApplicationFirewallAssociationResponse'] associations: Waf associations + :param 'ResourceReferenceResponse' waf_policy: Resource ID. + """ + pulumi.set(__self__, "type", 'WebApplicationFirewall') + if associations is not None: + pulumi.set(__self__, "associations", associations) + if waf_policy is not None: + pulumi.set(__self__, "waf_policy", waf_policy) + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the Security policy to create. + Expected value is 'WebApplicationFirewall'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def associations(self) -> Optional[Sequence['outputs.SecurityPolicyWebApplicationFirewallAssociationResponse']]: + """ + Waf associations + """ + return pulumi.get(self, "associations") + + @property + @pulumi.getter(name="wafPolicy") + def waf_policy(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + Resource ID. + """ + return pulumi.get(self, "waf_policy") + + +@pulumi.output_type +class ServerPortMatchConditionParametersResponse(dict): + """ + Defines the parameters for ServerPort match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServerPortMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServerPortMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServerPortMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for ServerPort match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class SharedPrivateLinkResourcePropertiesResponse(dict): + """ + Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupId": + suggest = "group_id" + elif key == "privateLink": + suggest = "private_link" + elif key == "privateLinkLocation": + suggest = "private_link_location" + elif key == "requestMessage": + suggest = "request_message" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SharedPrivateLinkResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SharedPrivateLinkResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SharedPrivateLinkResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_id: Optional[str] = None, + private_link: Optional['outputs.ResourceReferenceResponse'] = None, + private_link_location: Optional[str] = None, + request_message: Optional[str] = None, + status: Optional[str] = None): + """ + Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin. + :param str group_id: The group id from the provider of resource the shared private link resource is for. + :param 'ResourceReferenceResponse' private_link: The resource id of the resource the shared private link resource is for. + :param str private_link_location: The location of the shared private link resource + :param str request_message: The request message for requesting approval of the shared private link resource. + :param str status: Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_link is not None: + pulumi.set(__self__, "private_link", private_link) + if private_link_location is not None: + pulumi.set(__self__, "private_link_location", private_link_location) + if request_message is not None: + pulumi.set(__self__, "request_message", request_message) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + The group id from the provider of resource the shared private link resource is for. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="privateLink") + def private_link(self) -> Optional['outputs.ResourceReferenceResponse']: + """ + The resource id of the resource the shared private link resource is for. + """ + return pulumi.get(self, "private_link") + + @property + @pulumi.getter(name="privateLinkLocation") + def private_link_location(self) -> Optional[str]: + """ + The location of the shared private link resource + """ + return pulumi.get(self, "private_link_location") + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> Optional[str]: + """ + The request message for requesting approval of the shared private link resource. + """ + return pulumi.get(self, "request_message") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SkuResponse(dict): + """ + Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + Standard_Akamai = The SKU name for an Akamai CDN profile. + Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. + """ + def __init__(__self__, *, + name: Optional[str] = None): + """ + Standard_Verizon = The SKU name for a Standard Verizon CDN profile. + Premium_Verizon = The SKU name for a Premium Verizon CDN profile. + Custom_Verizon = The SKU name for a Custom Verizon CDN profile. + Standard_Akamai = The SKU name for an Akamai CDN profile. + Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. + Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. + Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. + Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. + Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. + Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. + StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. + StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. + StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. + + :param str name: Name of the pricing tier. + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the pricing tier. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class SocketAddrMatchConditionParametersResponse(dict): + """ + Defines the parameters for SocketAddress match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SocketAddrMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SocketAddrMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SocketAddrMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for SocketAddress match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class SslProtocolMatchConditionParametersResponse(dict): + """ + Defines the parameters for SslProtocol match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SslProtocolMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SslProtocolMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SslProtocolMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for SslProtocol match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Read only system data + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Read only system data + :param str created_at: The timestamp of resource creation (UTC) + :param str created_by: An identifier for the identity that created the resource + :param str created_by_type: The type of identity that created the resource + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: An identifier for the identity that last modified the resource + :param str last_modified_by_type: The type of identity that last modified the resource + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC) + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + An identifier for the identity that created the resource + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + An identifier for the identity that last modified the resource + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UrlFileExtensionMatchConditionParametersResponse(dict): + """ + Defines the parameters for UrlFileExtension match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlFileExtensionMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlFileExtensionMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlFileExtensionMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for UrlFileExtension match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class UrlFileNameMatchConditionParametersResponse(dict): + """ + Defines the parameters for UrlFilename match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlFileNameMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlFileNameMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlFileNameMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for UrlFilename match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class UrlPathMatchConditionParametersResponse(dict): + """ + Defines the parameters for UrlPath match conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "matchValues": + suggest = "match_values" + elif key == "negateCondition": + suggest = "negate_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlPathMatchConditionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlPathMatchConditionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlPathMatchConditionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: str, + type_name: str, + match_values: Optional[Sequence[str]] = None, + negate_condition: Optional[bool] = None, + transforms: Optional[Sequence[str]] = None): + """ + Defines the parameters for UrlPath match conditions + :param str operator: Describes operator to be matched + :param Sequence[str] match_values: The match value for the condition of the delivery rule + :param bool negate_condition: Describes if this is negate condition or not + :param Sequence[str] transforms: List of transforms + """ + pulumi.set(__self__, "operator", operator) + pulumi.set(__self__, "type_name", type_name) + if match_values is not None: + pulumi.set(__self__, "match_values", match_values) + if negate_condition is None: + negate_condition = False + if negate_condition is not None: + pulumi.set(__self__, "negate_condition", negate_condition) + if transforms is not None: + pulumi.set(__self__, "transforms", transforms) + + @property + @pulumi.getter + def operator(self) -> str: + """ + Describes operator to be matched + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="matchValues") + def match_values(self) -> Optional[Sequence[str]]: + """ + The match value for the condition of the delivery rule + """ + return pulumi.get(self, "match_values") + + @property + @pulumi.getter(name="negateCondition") + def negate_condition(self) -> Optional[bool]: + """ + Describes if this is negate condition or not + """ + return pulumi.get(self, "negate_condition") + + @property + @pulumi.getter + def transforms(self) -> Optional[Sequence[str]]: + """ + List of transforms + """ + return pulumi.get(self, "transforms") + + +@pulumi.output_type +class UrlRedirectActionParametersResponse(dict): + """ + Defines the parameters for the url redirect action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "redirectType": + suggest = "redirect_type" + elif key == "typeName": + suggest = "type_name" + elif key == "customFragment": + suggest = "custom_fragment" + elif key == "customHostname": + suggest = "custom_hostname" + elif key == "customPath": + suggest = "custom_path" + elif key == "customQueryString": + suggest = "custom_query_string" + elif key == "destinationProtocol": + suggest = "destination_protocol" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlRedirectActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlRedirectActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlRedirectActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + redirect_type: str, + type_name: str, + custom_fragment: Optional[str] = None, + custom_hostname: Optional[str] = None, + custom_path: Optional[str] = None, + custom_query_string: Optional[str] = None, + destination_protocol: Optional[str] = None): + """ + Defines the parameters for the url redirect action. + :param str redirect_type: The redirect type the rule will use when redirecting traffic. + :param str custom_fragment: Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + :param str custom_hostname: Host to redirect. Leave empty to use the incoming host as the destination host. + :param str custom_path: The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + :param str custom_query_string: The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them. + :param str destination_protocol: Protocol to use for the redirect. The default value is MatchRequest + """ + pulumi.set(__self__, "redirect_type", redirect_type) + pulumi.set(__self__, "type_name", type_name) + if custom_fragment is not None: + pulumi.set(__self__, "custom_fragment", custom_fragment) + if custom_hostname is not None: + pulumi.set(__self__, "custom_hostname", custom_hostname) + if custom_path is not None: + pulumi.set(__self__, "custom_path", custom_path) + if custom_query_string is not None: + pulumi.set(__self__, "custom_query_string", custom_query_string) + if destination_protocol is not None: + pulumi.set(__self__, "destination_protocol", destination_protocol) + + @property + @pulumi.getter(name="redirectType") + def redirect_type(self) -> str: + """ + The redirect type the rule will use when redirecting traffic. + """ + return pulumi.get(self, "redirect_type") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="customFragment") + def custom_fragment(self) -> Optional[str]: + """ + Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. + """ + return pulumi.get(self, "custom_fragment") + + @property + @pulumi.getter(name="customHostname") + def custom_hostname(self) -> Optional[str]: + """ + Host to redirect. Leave empty to use the incoming host as the destination host. + """ + return pulumi.get(self, "custom_hostname") + + @property + @pulumi.getter(name="customPath") + def custom_path(self) -> Optional[str]: + """ + The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. + """ + return pulumi.get(self, "custom_path") + + @property + @pulumi.getter(name="customQueryString") + def custom_query_string(self) -> Optional[str]: + """ + The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them. + """ + return pulumi.get(self, "custom_query_string") + + @property + @pulumi.getter(name="destinationProtocol") + def destination_protocol(self) -> Optional[str]: + """ + Protocol to use for the redirect. The default value is MatchRequest + """ + return pulumi.get(self, "destination_protocol") + + +@pulumi.output_type +class UrlRedirectActionResponse(dict): + """ + Defines the url redirect action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.UrlRedirectActionParametersResponse'): + """ + Defines the url redirect action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'UrlRedirect'. + :param 'UrlRedirectActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'UrlRedirect') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'UrlRedirect'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.UrlRedirectActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class UrlRewriteActionParametersResponse(dict): + """ + Defines the parameters for the url rewrite action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourcePattern": + suggest = "source_pattern" + elif key == "typeName": + suggest = "type_name" + elif key == "preserveUnmatchedPath": + suggest = "preserve_unmatched_path" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlRewriteActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlRewriteActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlRewriteActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + destination: str, + source_pattern: str, + type_name: str, + preserve_unmatched_path: Optional[bool] = None): + """ + Defines the parameters for the url rewrite action. + :param str destination: Define the relative URL to which the above requests will be rewritten by. + :param str source_pattern: define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + :param bool preserve_unmatched_path: Whether to preserve unmatched path. Default value is true. + """ + pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "source_pattern", source_pattern) + pulumi.set(__self__, "type_name", type_name) + if preserve_unmatched_path is not None: + pulumi.set(__self__, "preserve_unmatched_path", preserve_unmatched_path) + + @property + @pulumi.getter + def destination(self) -> str: + """ + Define the relative URL to which the above requests will be rewritten by. + """ + return pulumi.get(self, "destination") + + @property + @pulumi.getter(name="sourcePattern") + def source_pattern(self) -> str: + """ + define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. + """ + return pulumi.get(self, "source_pattern") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="preserveUnmatchedPath") + def preserve_unmatched_path(self) -> Optional[bool]: + """ + Whether to preserve unmatched path. Default value is true. + """ + return pulumi.get(self, "preserve_unmatched_path") + + +@pulumi.output_type +class UrlRewriteActionResponse(dict): + """ + Defines the url rewrite action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.UrlRewriteActionParametersResponse'): + """ + Defines the url rewrite action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'UrlRewrite'. + :param 'UrlRewriteActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'UrlRewrite') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'UrlRewrite'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.UrlRewriteActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class UrlSigningActionParametersResponse(dict): + """ + Defines the parameters for the Url Signing action. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeName": + suggest = "type_name" + elif key == "parameterNameOverride": + suggest = "parameter_name_override" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlSigningActionParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlSigningActionParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlSigningActionParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_name: str, + algorithm: Optional[str] = None, + parameter_name_override: Optional[Sequence['outputs.UrlSigningParamIdentifierResponse']] = None): + """ + Defines the parameters for the Url Signing action. + :param str algorithm: Algorithm to use for URL signing + :param Sequence['UrlSigningParamIdentifierResponse'] parameter_name_override: Defines which query string parameters in the url to be considered for expires, key id etc. + """ + pulumi.set(__self__, "type_name", type_name) + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if parameter_name_override is not None: + pulumi.set(__self__, "parameter_name_override", parameter_name_override) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + return pulumi.get(self, "type_name") + + @property + @pulumi.getter + def algorithm(self) -> Optional[str]: + """ + Algorithm to use for URL signing + """ + return pulumi.get(self, "algorithm") + + @property + @pulumi.getter(name="parameterNameOverride") + def parameter_name_override(self) -> Optional[Sequence['outputs.UrlSigningParamIdentifierResponse']]: + """ + Defines which query string parameters in the url to be considered for expires, key id etc. + """ + return pulumi.get(self, "parameter_name_override") + + +@pulumi.output_type +class UrlSigningActionResponse(dict): + """ + Defines the url signing action for the delivery rule. + """ + def __init__(__self__, *, + name: str, + parameters: 'outputs.UrlSigningActionParametersResponse'): + """ + Defines the url signing action for the delivery rule. + :param str name: The name of the action for the delivery rule. + Expected value is 'UrlSigning'. + :param 'UrlSigningActionParametersResponse' parameters: Defines the parameters for the action. + """ + pulumi.set(__self__, "name", 'UrlSigning') + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the action for the delivery rule. + Expected value is 'UrlSigning'. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> 'outputs.UrlSigningActionParametersResponse': + """ + Defines the parameters for the action. + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class UrlSigningKeyParametersResponse(dict): + """ + Url signing key parameters + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyId": + suggest = "key_id" + elif key == "secretSource": + suggest = "secret_source" + elif key == "secretVersion": + suggest = "secret_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlSigningKeyParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlSigningKeyParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlSigningKeyParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_id: str, + secret_source: 'outputs.ResourceReferenceResponse', + type: str, + secret_version: Optional[str] = None): + """ + Url signing key parameters + :param str key_id: Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + :param 'ResourceReferenceResponse' secret_source: Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + :param str type: The type of the secret resource. + Expected value is 'UrlSigningKey'. + :param str secret_version: Version of the secret to be used + """ + pulumi.set(__self__, "key_id", key_id) + pulumi.set(__self__, "secret_source", secret_source) + pulumi.set(__self__, "type", 'UrlSigningKey') + if secret_version is not None: + pulumi.set(__self__, "secret_version", secret_version) + + @property + @pulumi.getter(name="keyId") + def key_id(self) -> str: + """ + Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + """ + return pulumi.get(self, "key_id") + + @property + @pulumi.getter(name="secretSource") + def secret_source(self) -> 'outputs.ResourceReferenceResponse': + """ + Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} + """ + return pulumi.get(self, "secret_source") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the secret resource. + Expected value is 'UrlSigningKey'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="secretVersion") + def secret_version(self) -> Optional[str]: + """ + Version of the secret to be used + """ + return pulumi.get(self, "secret_version") + + +@pulumi.output_type +class UrlSigningKeyResponse(dict): + """ + Url signing key + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyId": + suggest = "key_id" + elif key == "keySourceParameters": + suggest = "key_source_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlSigningKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlSigningKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlSigningKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_id: str, + key_source_parameters: 'outputs.KeyVaultSigningKeyParametersResponse'): + """ + Url signing key + :param str key_id: Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + :param 'KeyVaultSigningKeyParametersResponse' key_source_parameters: Defines the parameters for using customer key vault for Url Signing Key. + """ + pulumi.set(__self__, "key_id", key_id) + pulumi.set(__self__, "key_source_parameters", key_source_parameters) + + @property + @pulumi.getter(name="keyId") + def key_id(self) -> str: + """ + Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. + """ + return pulumi.get(self, "key_id") + + @property + @pulumi.getter(name="keySourceParameters") + def key_source_parameters(self) -> 'outputs.KeyVaultSigningKeyParametersResponse': + """ + Defines the parameters for using customer key vault for Url Signing Key. + """ + return pulumi.get(self, "key_source_parameters") + + +@pulumi.output_type +class UrlSigningParamIdentifierResponse(dict): + """ + Defines how to identify a parameter for a specific purpose e.g. expires + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "paramIndicator": + suggest = "param_indicator" + elif key == "paramName": + suggest = "param_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UrlSigningParamIdentifierResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UrlSigningParamIdentifierResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UrlSigningParamIdentifierResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + param_indicator: str, + param_name: str): + """ + Defines how to identify a parameter for a specific purpose e.g. expires + :param str param_indicator: Indicates the purpose of the parameter + :param str param_name: Parameter name + """ + pulumi.set(__self__, "param_indicator", param_indicator) + pulumi.set(__self__, "param_name", param_name) + + @property + @pulumi.getter(name="paramIndicator") + def param_indicator(self) -> str: + """ + Indicates the purpose of the parameter + """ + return pulumi.get(self, "param_indicator") + + @property + @pulumi.getter(name="paramName") + def param_name(self) -> str: + """ + Parameter name + """ + return pulumi.get(self, "param_name") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + User assigned identity properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + User assigned identity properties + :param str client_id: The client ID of the assigned identity. + :param str principal_id: The principal ID of the assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class UserManagedHttpsParametersResponse(dict): + """ + Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateSource": + suggest = "certificate_source" + elif key == "certificateSourceParameters": + suggest = "certificate_source_parameters" + elif key == "protocolType": + suggest = "protocol_type" + elif key == "minimumTlsVersion": + suggest = "minimum_tls_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserManagedHttpsParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserManagedHttpsParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserManagedHttpsParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_source: str, + certificate_source_parameters: 'outputs.KeyVaultCertificateSourceParametersResponse', + protocol_type: str, + minimum_tls_version: Optional[str] = None): + """ + Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + :param str certificate_source: Defines the source of the SSL certificate. + Expected value is 'AzureKeyVault'. + :param 'KeyVaultCertificateSourceParametersResponse' certificate_source_parameters: Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + :param str protocol_type: Defines the TLS extension protocol that is used for secure delivery. + :param str minimum_tls_version: TLS protocol version that will be used for Https + """ + pulumi.set(__self__, "certificate_source", 'AzureKeyVault') + pulumi.set(__self__, "certificate_source_parameters", certificate_source_parameters) + pulumi.set(__self__, "protocol_type", protocol_type) + if minimum_tls_version is not None: + pulumi.set(__self__, "minimum_tls_version", minimum_tls_version) + + @property + @pulumi.getter(name="certificateSource") + def certificate_source(self) -> str: + """ + Defines the source of the SSL certificate. + Expected value is 'AzureKeyVault'. + """ + return pulumi.get(self, "certificate_source") + + @property + @pulumi.getter(name="certificateSourceParameters") + def certificate_source_parameters(self) -> 'outputs.KeyVaultCertificateSourceParametersResponse': + """ + Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + """ + return pulumi.get(self, "certificate_source_parameters") + + @property + @pulumi.getter(name="protocolType") + def protocol_type(self) -> str: + """ + Defines the TLS extension protocol that is used for secure delivery. + """ + return pulumi.get(self, "protocol_type") + + @property + @pulumi.getter(name="minimumTlsVersion") + def minimum_tls_version(self) -> Optional[str]: + """ + TLS protocol version that will be used for Https + """ + return pulumi.get(self, "minimum_tls_version") + + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/policy.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/policy.py new file mode 100644 index 000000000000..7a03e6b482c7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/policy.py @@ -0,0 +1,436 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PolicyArgs', 'Policy'] + +@pulumi.input_type +class PolicyArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + sku: pulumi.Input['SkuArgs'], + custom_rules: Optional[pulumi.Input['CustomRuleListArgs']] = None, + extended_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_rules: Optional[pulumi.Input['ManagedRuleSetListArgs']] = None, + policy_name: Optional[pulumi.Input[str]] = None, + policy_settings: Optional[pulumi.Input['PolicySettingsArgs']] = None, + rate_limit_rules: Optional[pulumi.Input['RateLimitRuleListArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Policy resource. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['SkuArgs'] sku: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + :param pulumi.Input['CustomRuleListArgs'] custom_rules: Describes custom rules inside the policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] extended_properties: Key-Value pair representing additional properties for Web Application Firewall policy. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input['ManagedRuleSetListArgs'] managed_rules: Describes managed rules inside the policy. + :param pulumi.Input[str] policy_name: The name of the CdnWebApplicationFirewallPolicy. + :param pulumi.Input['PolicySettingsArgs'] policy_settings: Describes policySettings for policy + :param pulumi.Input['RateLimitRuleListArgs'] rate_limit_rules: Describes rate limit rules inside the policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "sku", sku) + if custom_rules is not None: + pulumi.set(__self__, "custom_rules", custom_rules) + if extended_properties is not None: + pulumi.set(__self__, "extended_properties", extended_properties) + if location is not None: + pulumi.set(__self__, "location", location) + if managed_rules is not None: + pulumi.set(__self__, "managed_rules", managed_rules) + if policy_name is not None: + pulumi.set(__self__, "policy_name", policy_name) + if policy_settings is not None: + pulumi.set(__self__, "policy_settings", policy_settings) + if rate_limit_rules is not None: + pulumi.set(__self__, "rate_limit_rules", rate_limit_rules) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input['SkuArgs']: + """ + The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input['SkuArgs']): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="customRules") + def custom_rules(self) -> Optional[pulumi.Input['CustomRuleListArgs']]: + """ + Describes custom rules inside the policy. + """ + return pulumi.get(self, "custom_rules") + + @custom_rules.setter + def custom_rules(self, value: Optional[pulumi.Input['CustomRuleListArgs']]): + pulumi.set(self, "custom_rules", value) + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Key-Value pair representing additional properties for Web Application Firewall policy. + """ + return pulumi.get(self, "extended_properties") + + @extended_properties.setter + def extended_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "extended_properties", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedRules") + def managed_rules(self) -> Optional[pulumi.Input['ManagedRuleSetListArgs']]: + """ + Describes managed rules inside the policy. + """ + return pulumi.get(self, "managed_rules") + + @managed_rules.setter + def managed_rules(self, value: Optional[pulumi.Input['ManagedRuleSetListArgs']]): + pulumi.set(self, "managed_rules", value) + + @property + @pulumi.getter(name="policyName") + def policy_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the CdnWebApplicationFirewallPolicy. + """ + return pulumi.get(self, "policy_name") + + @policy_name.setter + def policy_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy_name", value) + + @property + @pulumi.getter(name="policySettings") + def policy_settings(self) -> Optional[pulumi.Input['PolicySettingsArgs']]: + """ + Describes policySettings for policy + """ + return pulumi.get(self, "policy_settings") + + @policy_settings.setter + def policy_settings(self, value: Optional[pulumi.Input['PolicySettingsArgs']]): + pulumi.set(self, "policy_settings", value) + + @property + @pulumi.getter(name="rateLimitRules") + def rate_limit_rules(self) -> Optional[pulumi.Input['RateLimitRuleListArgs']]: + """ + Describes rate limit rules inside the policy. + """ + return pulumi.get(self, "rate_limit_rules") + + @rate_limit_rules.setter + def rate_limit_rules(self, value: Optional[pulumi.Input['RateLimitRuleListArgs']]): + pulumi.set(self, "rate_limit_rules", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Policy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + custom_rules: Optional[pulumi.Input[pulumi.InputType['CustomRuleListArgs']]] = None, + extended_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_rules: Optional[pulumi.Input[pulumi.InputType['ManagedRuleSetListArgs']]] = None, + policy_name: Optional[pulumi.Input[str]] = None, + policy_settings: Optional[pulumi.Input[pulumi.InputType['PolicySettingsArgs']]] = None, + rate_limit_rules: Optional[pulumi.Input[pulumi.InputType['RateLimitRuleListArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Defines web application firewall policy for Azure CDN. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['CustomRuleListArgs']] custom_rules: Describes custom rules inside the policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] extended_properties: Key-Value pair representing additional properties for Web Application Firewall policy. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[pulumi.InputType['ManagedRuleSetListArgs']] managed_rules: Describes managed rules inside the policy. + :param pulumi.Input[str] policy_name: The name of the CdnWebApplicationFirewallPolicy. + :param pulumi.Input[pulumi.InputType['PolicySettingsArgs']] policy_settings: Describes policySettings for policy + :param pulumi.Input[pulumi.InputType['RateLimitRuleListArgs']] rate_limit_rules: Describes rate limit rules inside the policy. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PolicyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines web application firewall policy for Azure CDN. + + :param str resource_name: The name of the resource. + :param PolicyArgs 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(PolicyArgs, 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, + custom_rules: Optional[pulumi.Input[pulumi.InputType['CustomRuleListArgs']]] = None, + extended_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_rules: Optional[pulumi.Input[pulumi.InputType['ManagedRuleSetListArgs']]] = None, + policy_name: Optional[pulumi.Input[str]] = None, + policy_settings: Optional[pulumi.Input[pulumi.InputType['PolicySettingsArgs']]] = None, + rate_limit_rules: Optional[pulumi.Input[pulumi.InputType['RateLimitRuleListArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PolicyArgs.__new__(PolicyArgs) + + __props__.__dict__["custom_rules"] = custom_rules + __props__.__dict__["extended_properties"] = extended_properties + __props__.__dict__["location"] = location + __props__.__dict__["managed_rules"] = managed_rules + __props__.__dict__["policy_name"] = policy_name + __props__.__dict__["policy_settings"] = policy_settings + __props__.__dict__["rate_limit_rules"] = rate_limit_rules + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if sku is None and not opts.urn: + raise TypeError("Missing required property 'sku'") + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["endpoint_links"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615:Policy"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200331:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200415:Policy"), pulumi.Alias(type_="azure-native:cdn/v20200901:Policy"), pulumi.Alias(type_="azure-native:cdn/v20210601:Policy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Policy"), pulumi.Alias(type_="azure-native:cdn/v20230501:Policy")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Policy, __self__).__init__( + 'azure-native:cdn/v20230701preview:Policy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Policy': + """ + Get an existing Policy 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PolicyArgs.__new__(PolicyArgs) + + __props__.__dict__["custom_rules"] = None + __props__.__dict__["endpoint_links"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["extended_properties"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_rules"] = None + __props__.__dict__["name"] = None + __props__.__dict__["policy_settings"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["rate_limit_rules"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Policy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customRules") + def custom_rules(self) -> pulumi.Output[Optional['outputs.CustomRuleListResponse']]: + """ + Describes custom rules inside the policy. + """ + return pulumi.get(self, "custom_rules") + + @property + @pulumi.getter(name="endpointLinks") + def endpoint_links(self) -> pulumi.Output[Sequence['outputs.CdnEndpointResponse']]: + """ + Describes Azure CDN endpoints associated with this Web Application Firewall policy. + """ + return pulumi.get(self, "endpoint_links") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Gets a unique read-only string that changes whenever the resource is updated. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Key-Value pair representing additional properties for Web Application Firewall policy. + """ + return pulumi.get(self, "extended_properties") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedRules") + def managed_rules(self) -> pulumi.Output[Optional['outputs.ManagedRuleSetListResponse']]: + """ + Describes managed rules inside the policy. + """ + return pulumi.get(self, "managed_rules") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="policySettings") + def policy_settings(self) -> pulumi.Output[Optional['outputs.PolicySettingsResponse']]: + """ + Describes policySettings for policy + """ + return pulumi.get(self, "policy_settings") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the WebApplicationFirewallPolicy. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="rateLimitRules") + def rate_limit_rules(self) -> pulumi.Output[Optional['outputs.RateLimitRuleListResponse']]: + """ + Describes rate limit rules inside the policy. + """ + return pulumi.get(self, "rate_limit_rules") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> pulumi.Output[str]: + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.SkuResponse']: + """ + The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/profile.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/profile.py new file mode 100644 index 000000000000..563f1732a029 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/profile.py @@ -0,0 +1,362 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ProfileArgs', 'Profile'] + +@pulumi.input_type +class ProfileArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + sku: pulumi.Input['SkuArgs'], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + origin_response_timeout_seconds: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Profile resource. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['SkuArgs'] sku: The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Managed service identity (system assigned and/or user assigned identities). + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[int] origin_response_timeout_seconds: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "sku", sku) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if origin_response_timeout_seconds is not None: + pulumi.set(__self__, "origin_response_timeout_seconds", origin_response_timeout_seconds) + if profile_name is not None: + pulumi.set(__self__, "profile_name", profile_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input['SkuArgs']: + """ + The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input['SkuArgs']): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Managed service identity (system assigned and/or user assigned identities). + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="originResponseTimeoutSeconds") + def origin_response_timeout_seconds(self) -> Optional[pulumi.Input[int]]: + """ + Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + """ + return pulumi.get(self, "origin_response_timeout_seconds") + + @origin_response_timeout_seconds.setter + def origin_response_timeout_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "origin_response_timeout_seconds", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Profile(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + origin_response_timeout_seconds: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + A profile is a logical grouping of endpoints that share the same settings. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Managed service identity (system assigned and/or user assigned identities). + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[int] origin_response_timeout_seconds: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ProfileArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A profile is a logical grouping of endpoints that share the same settings. + + :param str resource_name: The name of the resource. + :param ProfileArgs 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(ProfileArgs, 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, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + origin_response_timeout_seconds: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ProfileArgs.__new__(ProfileArgs) + + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["origin_response_timeout_seconds"] = origin_response_timeout_seconds + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if sku is None and not opts.urn: + raise TypeError("Missing required property 'sku'") + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["extended_properties"] = None + __props__.__dict__["front_door_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Profile"), pulumi.Alias(type_="azure-native:cdn/v20150601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20160402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20161002:Profile"), pulumi.Alias(type_="azure-native:cdn/v20170402:Profile"), pulumi.Alias(type_="azure-native:cdn/v20171012:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615:Profile"), pulumi.Alias(type_="azure-native:cdn/v20190615preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20191231:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200331:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200415:Profile"), pulumi.Alias(type_="azure-native:cdn/v20200901:Profile"), pulumi.Alias(type_="azure-native:cdn/v20210601:Profile"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Profile"), pulumi.Alias(type_="azure-native:cdn/v20230501:Profile")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Profile, __self__).__init__( + 'azure-native:cdn/v20230701preview:Profile', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Profile': + """ + Get an existing Profile 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ProfileArgs.__new__(ProfileArgs) + + __props__.__dict__["extended_properties"] = None + __props__.__dict__["front_door_id"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["origin_response_timeout_seconds"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_state"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Profile(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="extendedProperties") + def extended_properties(self) -> pulumi.Output[Mapping[str, str]]: + """ + Key-Value pair representing additional properties for profiles. + """ + return pulumi.get(self, "extended_properties") + + @property + @pulumi.getter(name="frontDoorId") + def front_door_id(self) -> pulumi.Output[str]: + """ + The Id of the frontdoor. + """ + return pulumi.get(self, "front_door_id") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Managed service identity (system assigned and/or user assigned identities). + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originResponseTimeoutSeconds") + def origin_response_timeout_seconds(self) -> pulumi.Output[Optional[int]]: + """ + Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. + """ + return pulumi.get(self, "origin_response_timeout_seconds") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status of the profile. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceState") + def resource_state(self) -> pulumi.Output[str]: + """ + Resource status of the profile. + """ + return pulumi.get(self, "resource_state") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.SkuResponse']: + """ + The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/route.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/route.py new file mode 100644 index 000000000000..c5584170836d --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/route.py @@ -0,0 +1,566 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['RouteArgs', 'Route'] + +@pulumi.input_type +class RouteArgs: + def __init__(__self__, *, + endpoint_name: pulumi.Input[str], + origin_group: pulumi.Input['ResourceReferenceArgs'], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + cache_configuration: Optional[pulumi.Input['AfdRouteCacheConfigurationArgs']] = None, + custom_domains: Optional[pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + forwarding_protocol: Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]] = None, + https_redirect: Optional[pulumi.Input[Union[str, 'HttpsRedirect']]] = None, + link_to_default_domain: Optional[pulumi.Input[Union[str, 'LinkToDefaultDomain']]] = None, + origin_path: Optional[pulumi.Input[str]] = None, + patterns_to_match: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + route_name: Optional[pulumi.Input[str]] = None, + rule_sets: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None, + supported_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]]] = None): + """ + The set of arguments for constructing a Route resource. + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input['ResourceReferenceArgs'] origin_group: A reference to the origin group. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['AfdRouteCacheConfigurationArgs'] cache_configuration: The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + :param pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]] custom_domains: Domains referenced by this endpoint. + :param pulumi.Input[Union[str, 'EnabledState']] enabled_state: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + :param pulumi.Input[Union[str, 'ForwardingProtocol']] forwarding_protocol: Protocol this rule will use when forwarding traffic to backends. + :param pulumi.Input[Union[str, 'HttpsRedirect']] https_redirect: Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + :param pulumi.Input[Union[str, 'LinkToDefaultDomain']] link_to_default_domain: whether this route will be linked to the default endpoint domain. + :param pulumi.Input[str] origin_path: A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + :param pulumi.Input[Sequence[pulumi.Input[str]]] patterns_to_match: The route patterns of the rule. + :param pulumi.Input[str] route_name: Name of the routing rule. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] rule_sets: rule sets referenced by this endpoint. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]] supported_protocols: List of supported protocols for this route. + """ + pulumi.set(__self__, "endpoint_name", endpoint_name) + pulumi.set(__self__, "origin_group", origin_group) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if cache_configuration is not None: + pulumi.set(__self__, "cache_configuration", cache_configuration) + if custom_domains is not None: + pulumi.set(__self__, "custom_domains", custom_domains) + if enabled_state is not None: + pulumi.set(__self__, "enabled_state", enabled_state) + if forwarding_protocol is None: + forwarding_protocol = 'MatchRequest' + if forwarding_protocol is not None: + pulumi.set(__self__, "forwarding_protocol", forwarding_protocol) + if https_redirect is None: + https_redirect = 'Disabled' + if https_redirect is not None: + pulumi.set(__self__, "https_redirect", https_redirect) + if link_to_default_domain is None: + link_to_default_domain = 'Disabled' + if link_to_default_domain is not None: + pulumi.set(__self__, "link_to_default_domain", link_to_default_domain) + if origin_path is not None: + pulumi.set(__self__, "origin_path", origin_path) + if patterns_to_match is not None: + pulumi.set(__self__, "patterns_to_match", patterns_to_match) + if route_name is not None: + pulumi.set(__self__, "route_name", route_name) + if rule_sets is not None: + pulumi.set(__self__, "rule_sets", rule_sets) + if supported_protocols is not None: + pulumi.set(__self__, "supported_protocols", supported_protocols) + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Input[str]: + """ + Name of the endpoint under the profile which is unique globally. + """ + return pulumi.get(self, "endpoint_name") + + @endpoint_name.setter + def endpoint_name(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint_name", value) + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> pulumi.Input['ResourceReferenceArgs']: + """ + A reference to the origin group. + """ + return pulumi.get(self, "origin_group") + + @origin_group.setter + def origin_group(self, value: pulumi.Input['ResourceReferenceArgs']): + pulumi.set(self, "origin_group", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="cacheConfiguration") + def cache_configuration(self) -> Optional[pulumi.Input['AfdRouteCacheConfigurationArgs']]: + """ + The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + """ + return pulumi.get(self, "cache_configuration") + + @cache_configuration.setter + def cache_configuration(self, value: Optional[pulumi.Input['AfdRouteCacheConfigurationArgs']]): + pulumi.set(self, "cache_configuration", value) + + @property + @pulumi.getter(name="customDomains") + def custom_domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]]]: + """ + Domains referenced by this endpoint. + """ + return pulumi.get(self, "custom_domains") + + @custom_domains.setter + def custom_domains(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ActivatedResourceReferenceArgs']]]]): + pulumi.set(self, "custom_domains", value) + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> Optional[pulumi.Input[Union[str, 'EnabledState']]]: + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "enabled_state") + + @enabled_state.setter + def enabled_state(self, value: Optional[pulumi.Input[Union[str, 'EnabledState']]]): + pulumi.set(self, "enabled_state", value) + + @property + @pulumi.getter(name="forwardingProtocol") + def forwarding_protocol(self) -> Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]]: + """ + Protocol this rule will use when forwarding traffic to backends. + """ + return pulumi.get(self, "forwarding_protocol") + + @forwarding_protocol.setter + def forwarding_protocol(self, value: Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]]): + pulumi.set(self, "forwarding_protocol", value) + + @property + @pulumi.getter(name="httpsRedirect") + def https_redirect(self) -> Optional[pulumi.Input[Union[str, 'HttpsRedirect']]]: + """ + Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + """ + return pulumi.get(self, "https_redirect") + + @https_redirect.setter + def https_redirect(self, value: Optional[pulumi.Input[Union[str, 'HttpsRedirect']]]): + pulumi.set(self, "https_redirect", value) + + @property + @pulumi.getter(name="linkToDefaultDomain") + def link_to_default_domain(self) -> Optional[pulumi.Input[Union[str, 'LinkToDefaultDomain']]]: + """ + whether this route will be linked to the default endpoint domain. + """ + return pulumi.get(self, "link_to_default_domain") + + @link_to_default_domain.setter + def link_to_default_domain(self, value: Optional[pulumi.Input[Union[str, 'LinkToDefaultDomain']]]): + pulumi.set(self, "link_to_default_domain", value) + + @property + @pulumi.getter(name="originPath") + def origin_path(self) -> Optional[pulumi.Input[str]]: + """ + A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + """ + return pulumi.get(self, "origin_path") + + @origin_path.setter + def origin_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_path", value) + + @property + @pulumi.getter(name="patternsToMatch") + def patterns_to_match(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The route patterns of the rule. + """ + return pulumi.get(self, "patterns_to_match") + + @patterns_to_match.setter + def patterns_to_match(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "patterns_to_match", value) + + @property + @pulumi.getter(name="routeName") + def route_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the routing rule. + """ + return pulumi.get(self, "route_name") + + @route_name.setter + def route_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "route_name", value) + + @property + @pulumi.getter(name="ruleSets") + def rule_sets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + rule sets referenced by this endpoint. + """ + return pulumi.get(self, "rule_sets") + + @rule_sets.setter + def rule_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "rule_sets", value) + + @property + @pulumi.getter(name="supportedProtocols") + def supported_protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]]]: + """ + List of supported protocols for this route. + """ + return pulumi.get(self, "supported_protocols") + + @supported_protocols.setter + def supported_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]]]): + pulumi.set(self, "supported_protocols", value) + + +class Route(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cache_configuration: Optional[pulumi.Input[pulumi.InputType['AfdRouteCacheConfigurationArgs']]] = None, + custom_domains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ActivatedResourceReferenceArgs']]]]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + forwarding_protocol: Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]] = None, + https_redirect: Optional[pulumi.Input[Union[str, 'HttpsRedirect']]] = None, + link_to_default_domain: Optional[pulumi.Input[Union[str, 'LinkToDefaultDomain']]] = None, + origin_group: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + origin_path: Optional[pulumi.Input[str]] = None, + patterns_to_match: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + route_name: Optional[pulumi.Input[str]] = None, + rule_sets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + supported_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]]] = None, + __props__=None): + """ + Friendly Routes name mapping to the any Routes or secret related information. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['AfdRouteCacheConfigurationArgs']] cache_configuration: The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ActivatedResourceReferenceArgs']]]] custom_domains: Domains referenced by this endpoint. + :param pulumi.Input[Union[str, 'EnabledState']] enabled_state: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + :param pulumi.Input[str] endpoint_name: Name of the endpoint under the profile which is unique globally. + :param pulumi.Input[Union[str, 'ForwardingProtocol']] forwarding_protocol: Protocol this rule will use when forwarding traffic to backends. + :param pulumi.Input[Union[str, 'HttpsRedirect']] https_redirect: Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + :param pulumi.Input[Union[str, 'LinkToDefaultDomain']] link_to_default_domain: whether this route will be linked to the default endpoint domain. + :param pulumi.Input[pulumi.InputType['ResourceReferenceArgs']] origin_group: A reference to the origin group. + :param pulumi.Input[str] origin_path: A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + :param pulumi.Input[Sequence[pulumi.Input[str]]] patterns_to_match: The route patterns of the rule. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] route_name: Name of the routing rule. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]] rule_sets: rule sets referenced by this endpoint. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]] supported_protocols: List of supported protocols for this route. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RouteArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Friendly Routes name mapping to the any Routes or secret related information. + + :param str resource_name: The name of the resource. + :param RouteArgs 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(RouteArgs, 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, + cache_configuration: Optional[pulumi.Input[pulumi.InputType['AfdRouteCacheConfigurationArgs']]] = None, + custom_domains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ActivatedResourceReferenceArgs']]]]] = None, + enabled_state: Optional[pulumi.Input[Union[str, 'EnabledState']]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + forwarding_protocol: Optional[pulumi.Input[Union[str, 'ForwardingProtocol']]] = None, + https_redirect: Optional[pulumi.Input[Union[str, 'HttpsRedirect']]] = None, + link_to_default_domain: Optional[pulumi.Input[Union[str, 'LinkToDefaultDomain']]] = None, + origin_group: Optional[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]] = None, + origin_path: Optional[pulumi.Input[str]] = None, + patterns_to_match: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + route_name: Optional[pulumi.Input[str]] = None, + rule_sets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ResourceReferenceArgs']]]]] = None, + supported_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AFDEndpointProtocols']]]]] = 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__ = RouteArgs.__new__(RouteArgs) + + __props__.__dict__["cache_configuration"] = cache_configuration + __props__.__dict__["custom_domains"] = custom_domains + __props__.__dict__["enabled_state"] = enabled_state + if endpoint_name is None and not opts.urn: + raise TypeError("Missing required property 'endpoint_name'") + __props__.__dict__["endpoint_name"] = endpoint_name + if forwarding_protocol is None: + forwarding_protocol = 'MatchRequest' + __props__.__dict__["forwarding_protocol"] = forwarding_protocol + if https_redirect is None: + https_redirect = 'Disabled' + __props__.__dict__["https_redirect"] = https_redirect + if link_to_default_domain is None: + link_to_default_domain = 'Disabled' + __props__.__dict__["link_to_default_domain"] = link_to_default_domain + if origin_group is None and not opts.urn: + raise TypeError("Missing required property 'origin_group'") + __props__.__dict__["origin_group"] = origin_group + __props__.__dict__["origin_path"] = origin_path + __props__.__dict__["patterns_to_match"] = patterns_to_match + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["route_name"] = route_name + __props__.__dict__["rule_sets"] = rule_sets + __props__.__dict__["supported_protocols"] = supported_protocols + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Route"), pulumi.Alias(type_="azure-native:cdn/v20200901:Route"), pulumi.Alias(type_="azure-native:cdn/v20210601:Route"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Route"), pulumi.Alias(type_="azure-native:cdn/v20230501:Route")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Route, __self__).__init__( + 'azure-native:cdn/v20230701preview:Route', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Route': + """ + Get an existing Route 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = RouteArgs.__new__(RouteArgs) + + __props__.__dict__["cache_configuration"] = None + __props__.__dict__["custom_domains"] = None + __props__.__dict__["deployment_status"] = None + __props__.__dict__["enabled_state"] = None + __props__.__dict__["endpoint_name"] = None + __props__.__dict__["forwarding_protocol"] = None + __props__.__dict__["https_redirect"] = None + __props__.__dict__["link_to_default_domain"] = None + __props__.__dict__["name"] = None + __props__.__dict__["origin_group"] = None + __props__.__dict__["origin_path"] = None + __props__.__dict__["patterns_to_match"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["rule_sets"] = None + __props__.__dict__["supported_protocols"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Route(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cacheConfiguration") + def cache_configuration(self) -> pulumi.Output[Optional['outputs.AfdRouteCacheConfigurationResponse']]: + """ + The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object. + """ + return pulumi.get(self, "cache_configuration") + + @property + @pulumi.getter(name="customDomains") + def custom_domains(self) -> pulumi.Output[Optional[Sequence['outputs.ActivatedResourceReferenceResponse']]]: + """ + Domains referenced by this endpoint. + """ + return pulumi.get(self, "custom_domains") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="enabledState") + def enabled_state(self) -> pulumi.Output[Optional[str]]: + """ + Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "enabled_state") + + @property + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> pulumi.Output[str]: + """ + The name of the endpoint which holds the route. + """ + return pulumi.get(self, "endpoint_name") + + @property + @pulumi.getter(name="forwardingProtocol") + def forwarding_protocol(self) -> pulumi.Output[Optional[str]]: + """ + Protocol this rule will use when forwarding traffic to backends. + """ + return pulumi.get(self, "forwarding_protocol") + + @property + @pulumi.getter(name="httpsRedirect") + def https_redirect(self) -> pulumi.Output[Optional[str]]: + """ + Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. + """ + return pulumi.get(self, "https_redirect") + + @property + @pulumi.getter(name="linkToDefaultDomain") + def link_to_default_domain(self) -> pulumi.Output[Optional[str]]: + """ + whether this route will be linked to the default endpoint domain. + """ + return pulumi.get(self, "link_to_default_domain") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originGroup") + def origin_group(self) -> pulumi.Output['outputs.ResourceReferenceResponse']: + """ + A reference to the origin group. + """ + return pulumi.get(self, "origin_group") + + @property + @pulumi.getter(name="originPath") + def origin_path(self) -> pulumi.Output[Optional[str]]: + """ + A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + """ + return pulumi.get(self, "origin_path") + + @property + @pulumi.getter(name="patternsToMatch") + def patterns_to_match(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The route patterns of the rule. + """ + return pulumi.get(self, "patterns_to_match") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="ruleSets") + def rule_sets(self) -> pulumi.Output[Optional[Sequence['outputs.ResourceReferenceResponse']]]: + """ + rule sets referenced by this endpoint. + """ + return pulumi.get(self, "rule_sets") + + @property + @pulumi.getter(name="supportedProtocols") + def supported_protocols(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of supported protocols for this route. + """ + return pulumi.get(self, "supported_protocols") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/rule.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/rule.py new file mode 100644 index 000000000000..43b29854cc0d --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/rule.py @@ -0,0 +1,356 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['RuleArgs', 'Rule'] + +@pulumi.input_type +class RuleArgs: + def __init__(__self__, *, + actions: pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]], + order: pulumi.Input[int], + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + rule_set_name: pulumi.Input[str], + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]]] = None, + match_processing_behavior: Optional[pulumi.Input[Union[str, 'MatchProcessingBehavior']]] = None, + rule_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Rule resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]] actions: A list of actions that are executed when all the conditions of a rule are satisfied. + :param pulumi.Input[int] order: The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] rule_set_name: Name of the rule set under the profile. + :param pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]] conditions: A list of conditions that must be matched for the actions to be executed + :param pulumi.Input[Union[str, 'MatchProcessingBehavior']] match_processing_behavior: If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + :param pulumi.Input[str] rule_name: Name of the delivery rule which is unique within the endpoint. + """ + pulumi.set(__self__, "actions", actions) + pulumi.set(__self__, "order", order) + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "rule_set_name", rule_set_name) + if conditions is not None: + pulumi.set(__self__, "conditions", conditions) + if match_processing_behavior is None: + match_processing_behavior = 'Continue' + if match_processing_behavior is not None: + pulumi.set(__self__, "match_processing_behavior", match_processing_behavior) + if rule_name is not None: + pulumi.set(__self__, "rule_name", rule_name) + + @property + @pulumi.getter + def actions(self) -> pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]]: + """ + A list of actions that are executed when all the conditions of a rule are satisfied. + """ + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleCacheExpirationActionArgs', 'DeliveryRuleCacheKeyQueryStringActionArgs', 'DeliveryRuleRequestHeaderActionArgs', 'DeliveryRuleResponseHeaderActionArgs', 'DeliveryRuleRouteConfigurationOverrideActionArgs', 'OriginGroupOverrideActionArgs', 'UrlRedirectActionArgs', 'UrlRewriteActionArgs', 'UrlSigningActionArgs']]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[int]: + """ + The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[int]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="ruleSetName") + def rule_set_name(self) -> pulumi.Input[str]: + """ + Name of the rule set under the profile. + """ + return pulumi.get(self, "rule_set_name") + + @rule_set_name.setter + def rule_set_name(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_set_name", value) + + @property + @pulumi.getter + def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]]]: + """ + A list of conditions that must be matched for the actions to be executed + """ + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DeliveryRuleClientPortConditionArgs', 'DeliveryRuleCookiesConditionArgs', 'DeliveryRuleHostNameConditionArgs', 'DeliveryRuleHttpVersionConditionArgs', 'DeliveryRuleIsDeviceConditionArgs', 'DeliveryRulePostArgsConditionArgs', 'DeliveryRuleQueryStringConditionArgs', 'DeliveryRuleRemoteAddressConditionArgs', 'DeliveryRuleRequestBodyConditionArgs', 'DeliveryRuleRequestHeaderConditionArgs', 'DeliveryRuleRequestMethodConditionArgs', 'DeliveryRuleRequestSchemeConditionArgs', 'DeliveryRuleRequestUriConditionArgs', 'DeliveryRuleServerPortConditionArgs', 'DeliveryRuleSocketAddrConditionArgs', 'DeliveryRuleSslProtocolConditionArgs', 'DeliveryRuleUrlFileExtensionConditionArgs', 'DeliveryRuleUrlFileNameConditionArgs', 'DeliveryRuleUrlPathConditionArgs']]]]]): + pulumi.set(self, "conditions", value) + + @property + @pulumi.getter(name="matchProcessingBehavior") + def match_processing_behavior(self) -> Optional[pulumi.Input[Union[str, 'MatchProcessingBehavior']]]: + """ + If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + """ + return pulumi.get(self, "match_processing_behavior") + + @match_processing_behavior.setter + def match_processing_behavior(self, value: Optional[pulumi.Input[Union[str, 'MatchProcessingBehavior']]]): + pulumi.set(self, "match_processing_behavior", value) + + @property + @pulumi.getter(name="ruleName") + def rule_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the delivery rule which is unique within the endpoint. + """ + return pulumi.get(self, "rule_name") + + @rule_name.setter + def rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_name", value) + + +class Rule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['DeliveryRuleCacheExpirationActionArgs'], pulumi.InputType['DeliveryRuleCacheKeyQueryStringActionArgs'], pulumi.InputType['DeliveryRuleRequestHeaderActionArgs'], pulumi.InputType['DeliveryRuleResponseHeaderActionArgs'], pulumi.InputType['DeliveryRuleRouteConfigurationOverrideActionArgs'], pulumi.InputType['OriginGroupOverrideActionArgs'], pulumi.InputType['UrlRedirectActionArgs'], pulumi.InputType['UrlRewriteActionArgs'], pulumi.InputType['UrlSigningActionArgs']]]]]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['DeliveryRuleClientPortConditionArgs'], pulumi.InputType['DeliveryRuleCookiesConditionArgs'], pulumi.InputType['DeliveryRuleHostNameConditionArgs'], pulumi.InputType['DeliveryRuleHttpVersionConditionArgs'], pulumi.InputType['DeliveryRuleIsDeviceConditionArgs'], pulumi.InputType['DeliveryRulePostArgsConditionArgs'], pulumi.InputType['DeliveryRuleQueryStringConditionArgs'], pulumi.InputType['DeliveryRuleRemoteAddressConditionArgs'], pulumi.InputType['DeliveryRuleRequestBodyConditionArgs'], pulumi.InputType['DeliveryRuleRequestHeaderConditionArgs'], pulumi.InputType['DeliveryRuleRequestMethodConditionArgs'], pulumi.InputType['DeliveryRuleRequestSchemeConditionArgs'], pulumi.InputType['DeliveryRuleRequestUriConditionArgs'], pulumi.InputType['DeliveryRuleServerPortConditionArgs'], pulumi.InputType['DeliveryRuleSocketAddrConditionArgs'], pulumi.InputType['DeliveryRuleSslProtocolConditionArgs'], pulumi.InputType['DeliveryRuleUrlFileExtensionConditionArgs'], pulumi.InputType['DeliveryRuleUrlFileNameConditionArgs'], pulumi.InputType['DeliveryRuleUrlPathConditionArgs']]]]]] = None, + match_processing_behavior: Optional[pulumi.Input[Union[str, 'MatchProcessingBehavior']]] = None, + order: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_name: Optional[pulumi.Input[str]] = None, + rule_set_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Friendly Rules name mapping to the any Rules or secret related information. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['DeliveryRuleCacheExpirationActionArgs'], pulumi.InputType['DeliveryRuleCacheKeyQueryStringActionArgs'], pulumi.InputType['DeliveryRuleRequestHeaderActionArgs'], pulumi.InputType['DeliveryRuleResponseHeaderActionArgs'], pulumi.InputType['DeliveryRuleRouteConfigurationOverrideActionArgs'], pulumi.InputType['OriginGroupOverrideActionArgs'], pulumi.InputType['UrlRedirectActionArgs'], pulumi.InputType['UrlRewriteActionArgs'], pulumi.InputType['UrlSigningActionArgs']]]]] actions: A list of actions that are executed when all the conditions of a rule are satisfied. + :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['DeliveryRuleClientPortConditionArgs'], pulumi.InputType['DeliveryRuleCookiesConditionArgs'], pulumi.InputType['DeliveryRuleHostNameConditionArgs'], pulumi.InputType['DeliveryRuleHttpVersionConditionArgs'], pulumi.InputType['DeliveryRuleIsDeviceConditionArgs'], pulumi.InputType['DeliveryRulePostArgsConditionArgs'], pulumi.InputType['DeliveryRuleQueryStringConditionArgs'], pulumi.InputType['DeliveryRuleRemoteAddressConditionArgs'], pulumi.InputType['DeliveryRuleRequestBodyConditionArgs'], pulumi.InputType['DeliveryRuleRequestHeaderConditionArgs'], pulumi.InputType['DeliveryRuleRequestMethodConditionArgs'], pulumi.InputType['DeliveryRuleRequestSchemeConditionArgs'], pulumi.InputType['DeliveryRuleRequestUriConditionArgs'], pulumi.InputType['DeliveryRuleServerPortConditionArgs'], pulumi.InputType['DeliveryRuleSocketAddrConditionArgs'], pulumi.InputType['DeliveryRuleSslProtocolConditionArgs'], pulumi.InputType['DeliveryRuleUrlFileExtensionConditionArgs'], pulumi.InputType['DeliveryRuleUrlFileNameConditionArgs'], pulumi.InputType['DeliveryRuleUrlPathConditionArgs']]]]] conditions: A list of conditions that must be matched for the actions to be executed + :param pulumi.Input[Union[str, 'MatchProcessingBehavior']] match_processing_behavior: If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + :param pulumi.Input[int] order: The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] rule_name: Name of the delivery rule which is unique within the endpoint. + :param pulumi.Input[str] rule_set_name: Name of the rule set under the profile. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Friendly Rules name mapping to the any Rules or secret related information. + + :param str resource_name: The name of the resource. + :param RuleArgs 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(RuleArgs, 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, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['DeliveryRuleCacheExpirationActionArgs'], pulumi.InputType['DeliveryRuleCacheKeyQueryStringActionArgs'], pulumi.InputType['DeliveryRuleRequestHeaderActionArgs'], pulumi.InputType['DeliveryRuleResponseHeaderActionArgs'], pulumi.InputType['DeliveryRuleRouteConfigurationOverrideActionArgs'], pulumi.InputType['OriginGroupOverrideActionArgs'], pulumi.InputType['UrlRedirectActionArgs'], pulumi.InputType['UrlRewriteActionArgs'], pulumi.InputType['UrlSigningActionArgs']]]]]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['DeliveryRuleClientPortConditionArgs'], pulumi.InputType['DeliveryRuleCookiesConditionArgs'], pulumi.InputType['DeliveryRuleHostNameConditionArgs'], pulumi.InputType['DeliveryRuleHttpVersionConditionArgs'], pulumi.InputType['DeliveryRuleIsDeviceConditionArgs'], pulumi.InputType['DeliveryRulePostArgsConditionArgs'], pulumi.InputType['DeliveryRuleQueryStringConditionArgs'], pulumi.InputType['DeliveryRuleRemoteAddressConditionArgs'], pulumi.InputType['DeliveryRuleRequestBodyConditionArgs'], pulumi.InputType['DeliveryRuleRequestHeaderConditionArgs'], pulumi.InputType['DeliveryRuleRequestMethodConditionArgs'], pulumi.InputType['DeliveryRuleRequestSchemeConditionArgs'], pulumi.InputType['DeliveryRuleRequestUriConditionArgs'], pulumi.InputType['DeliveryRuleServerPortConditionArgs'], pulumi.InputType['DeliveryRuleSocketAddrConditionArgs'], pulumi.InputType['DeliveryRuleSslProtocolConditionArgs'], pulumi.InputType['DeliveryRuleUrlFileExtensionConditionArgs'], pulumi.InputType['DeliveryRuleUrlFileNameConditionArgs'], pulumi.InputType['DeliveryRuleUrlPathConditionArgs']]]]]] = None, + match_processing_behavior: Optional[pulumi.Input[Union[str, 'MatchProcessingBehavior']]] = None, + order: Optional[pulumi.Input[int]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_name: Optional[pulumi.Input[str]] = None, + rule_set_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RuleArgs.__new__(RuleArgs) + + if actions is None and not opts.urn: + raise TypeError("Missing required property 'actions'") + __props__.__dict__["actions"] = actions + __props__.__dict__["conditions"] = conditions + if match_processing_behavior is None: + match_processing_behavior = 'Continue' + __props__.__dict__["match_processing_behavior"] = match_processing_behavior + if order is None and not opts.urn: + raise TypeError("Missing required property 'order'") + __props__.__dict__["order"] = order + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["rule_name"] = rule_name + if rule_set_name is None and not opts.urn: + raise TypeError("Missing required property 'rule_set_name'") + __props__.__dict__["rule_set_name"] = rule_set_name + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Rule"), pulumi.Alias(type_="azure-native:cdn/v20200901:Rule"), pulumi.Alias(type_="azure-native:cdn/v20210601:Rule"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Rule"), pulumi.Alias(type_="azure-native:cdn/v20230501:Rule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Rule, __self__).__init__( + 'azure-native:cdn/v20230701preview:Rule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Rule': + """ + Get an existing Rule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = RuleArgs.__new__(RuleArgs) + + __props__.__dict__["actions"] = None + __props__.__dict__["conditions"] = None + __props__.__dict__["deployment_status"] = None + __props__.__dict__["match_processing_behavior"] = None + __props__.__dict__["name"] = None + __props__.__dict__["order"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["rule_set_name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Rule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def actions(self) -> pulumi.Output[Sequence[Any]]: + """ + A list of actions that are executed when all the conditions of a rule are satisfied. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter + def conditions(self) -> pulumi.Output[Optional[Sequence[Any]]]: + """ + A list of conditions that must be matched for the actions to be executed + """ + return pulumi.get(self, "conditions") + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter(name="matchProcessingBehavior") + def match_processing_behavior(self) -> pulumi.Output[Optional[str]]: + """ + If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. + """ + return pulumi.get(self, "match_processing_behavior") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def order(self) -> pulumi.Output[int]: + """ + The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="ruleSetName") + def rule_set_name(self) -> pulumi.Output[str]: + """ + The name of the rule set containing the rule. + """ + return pulumi.get(self, "rule_set_name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/rule_set.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/rule_set.py new file mode 100644 index 000000000000..2d57736d6569 --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/rule_set.py @@ -0,0 +1,211 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['RuleSetArgs', 'RuleSet'] + +@pulumi.input_type +class RuleSetArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + rule_set_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a RuleSet resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] rule_set_name: Name of the rule set under the profile which is unique globally + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if rule_set_name is not None: + pulumi.set(__self__, "rule_set_name", rule_set_name) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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(name="ruleSetName") + def rule_set_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the rule set under the profile which is unique globally + """ + return pulumi.get(self, "rule_set_name") + + @rule_set_name.setter + def rule_set_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_set_name", value) + + +class RuleSet(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_set_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Friendly RuleSet name mapping to the any RuleSet or secret related information. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] rule_set_name: Name of the rule set under the profile which is unique globally + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RuleSetArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Friendly RuleSet name mapping to the any RuleSet or secret related information. + + :param str resource_name: The name of the resource. + :param RuleSetArgs 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(RuleSetArgs, 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, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_set_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RuleSetArgs.__new__(RuleSetArgs) + + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["rule_set_name"] = rule_set_name + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20200901:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20210601:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:RuleSet"), pulumi.Alias(type_="azure-native:cdn/v20230501:RuleSet")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(RuleSet, __self__).__init__( + 'azure-native:cdn/v20230701preview:RuleSet', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'RuleSet': + """ + Get an existing RuleSet 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = RuleSetArgs.__new__(RuleSetArgs) + + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["profile_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return RuleSet(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Output[str]: + """ + The name of the profile which holds the rule set. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/secret.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/secret.py new file mode 100644 index 000000000000..ea1f5e45f88c --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/secret.py @@ -0,0 +1,241 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SecretArgs', 'Secret'] + +@pulumi.input_type +class SecretArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + parameters: Optional[pulumi.Input[Union['AzureFirstPartyManagedCertificateParametersArgs', 'CustomerCertificateParametersArgs', 'ManagedCertificateParametersArgs', 'UrlSigningKeyParametersArgs']]] = None, + secret_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Secret resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[Union['AzureFirstPartyManagedCertificateParametersArgs', 'CustomerCertificateParametersArgs', 'ManagedCertificateParametersArgs', 'UrlSigningKeyParametersArgs']] parameters: object which contains secret parameters + :param pulumi.Input[str] secret_name: Name of the Secret under the profile. + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if secret_name is not None: + pulumi.set(__self__, "secret_name", secret_name) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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 parameters(self) -> Optional[pulumi.Input[Union['AzureFirstPartyManagedCertificateParametersArgs', 'CustomerCertificateParametersArgs', 'ManagedCertificateParametersArgs', 'UrlSigningKeyParametersArgs']]]: + """ + object which contains secret parameters + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Union['AzureFirstPartyManagedCertificateParametersArgs', 'CustomerCertificateParametersArgs', 'ManagedCertificateParametersArgs', 'UrlSigningKeyParametersArgs']]]): + pulumi.set(self, "parameters", value) + + @property + @pulumi.getter(name="secretName") + def secret_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Secret under the profile. + """ + return pulumi.get(self, "secret_name") + + @secret_name.setter + def secret_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_name", value) + + +class Secret(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + parameters: Optional[pulumi.Input[Union[pulumi.InputType['AzureFirstPartyManagedCertificateParametersArgs'], pulumi.InputType['CustomerCertificateParametersArgs'], pulumi.InputType['ManagedCertificateParametersArgs'], pulumi.InputType['UrlSigningKeyParametersArgs']]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + secret_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Friendly Secret name mapping to the any Secret or secret related information. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[pulumi.InputType['AzureFirstPartyManagedCertificateParametersArgs'], pulumi.InputType['CustomerCertificateParametersArgs'], pulumi.InputType['ManagedCertificateParametersArgs'], pulumi.InputType['UrlSigningKeyParametersArgs']]] parameters: object which contains secret parameters + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] secret_name: Name of the Secret under the profile. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SecretArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Friendly Secret name mapping to the any Secret or secret related information. + + :param str resource_name: The name of the resource. + :param SecretArgs 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(SecretArgs, 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, + parameters: Optional[pulumi.Input[Union[pulumi.InputType['AzureFirstPartyManagedCertificateParametersArgs'], pulumi.InputType['CustomerCertificateParametersArgs'], pulumi.InputType['ManagedCertificateParametersArgs'], pulumi.InputType['UrlSigningKeyParametersArgs']]]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + secret_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SecretArgs.__new__(SecretArgs) + + __props__.__dict__["parameters"] = parameters + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["secret_name"] = secret_name + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:Secret"), pulumi.Alias(type_="azure-native:cdn/v20200901:Secret"), pulumi.Alias(type_="azure-native:cdn/v20210601:Secret"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:Secret"), pulumi.Alias(type_="azure-native:cdn/v20230501:Secret")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Secret, __self__).__init__( + 'azure-native:cdn/v20230701preview:Secret', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Secret': + """ + Get an existing Secret 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SecretArgs.__new__(SecretArgs) + + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["parameters"] = None + __props__.__dict__["profile_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Secret(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> pulumi.Output[Optional[Any]]: + """ + object which contains secret parameters + """ + return pulumi.get(self, "parameters") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Output[str]: + """ + The name of the profile which holds the secret. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/cdn/v20230701preview/security_policy.py b/sdk/python/pulumi_azure_native/cdn/v20230701preview/security_policy.py new file mode 100644 index 000000000000..5303af209e2b --- /dev/null +++ b/sdk/python/pulumi_azure_native/cdn/v20230701preview/security_policy.py @@ -0,0 +1,241 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SecurityPolicyArgs', 'SecurityPolicy'] + +@pulumi.input_type +class SecurityPolicyArgs: + def __init__(__self__, *, + profile_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + parameters: Optional[pulumi.Input['SecurityPolicyWebApplicationFirewallParametersArgs']] = None, + security_policy_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SecurityPolicy resource. + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input['SecurityPolicyWebApplicationFirewallParametersArgs'] parameters: object which contains security policy parameters + :param pulumi.Input[str] security_policy_name: Name of the security policy under the profile. + """ + pulumi.set(__self__, "profile_name", profile_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if security_policy_name is not None: + pulumi.set(__self__, "security_policy_name", security_policy_name) + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Input[str]: + """ + Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + """ + return pulumi.get(self, "profile_name") + + @profile_name.setter + def profile_name(self, value: pulumi.Input[str]): + pulumi.set(self, "profile_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + Name of the Resource group within the Azure subscription. + """ + 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 parameters(self) -> Optional[pulumi.Input['SecurityPolicyWebApplicationFirewallParametersArgs']]: + """ + object which contains security policy parameters + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Optional[pulumi.Input['SecurityPolicyWebApplicationFirewallParametersArgs']]): + pulumi.set(self, "parameters", value) + + @property + @pulumi.getter(name="securityPolicyName") + def security_policy_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the security policy under the profile. + """ + return pulumi.get(self, "security_policy_name") + + @security_policy_name.setter + def security_policy_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "security_policy_name", value) + + +class SecurityPolicy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + parameters: Optional[pulumi.Input[pulumi.InputType['SecurityPolicyWebApplicationFirewallParametersArgs']]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + security_policy_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + SecurityPolicy association for AzureFrontDoor profile + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SecurityPolicyWebApplicationFirewallParametersArgs']] parameters: object which contains security policy parameters + :param pulumi.Input[str] profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. + :param pulumi.Input[str] resource_group_name: Name of the Resource group within the Azure subscription. + :param pulumi.Input[str] security_policy_name: Name of the security policy under the profile. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SecurityPolicyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + SecurityPolicy association for AzureFrontDoor profile + + :param str resource_name: The name of the resource. + :param SecurityPolicyArgs 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(SecurityPolicyArgs, 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, + parameters: Optional[pulumi.Input[pulumi.InputType['SecurityPolicyWebApplicationFirewallParametersArgs']]] = None, + profile_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + security_policy_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SecurityPolicyArgs.__new__(SecurityPolicyArgs) + + __props__.__dict__["parameters"] = parameters + if profile_name is None and not opts.urn: + raise TypeError("Missing required property 'profile_name'") + __props__.__dict__["profile_name"] = profile_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["security_policy_name"] = security_policy_name + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cdn:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20200901:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20210601:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20220501preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20221101preview:SecurityPolicy"), pulumi.Alias(type_="azure-native:cdn/v20230501:SecurityPolicy")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SecurityPolicy, __self__).__init__( + 'azure-native:cdn/v20230701preview:SecurityPolicy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SecurityPolicy': + """ + Get an existing SecurityPolicy 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SecurityPolicyArgs.__new__(SecurityPolicyArgs) + + __props__.__dict__["deployment_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["parameters"] = None + __props__.__dict__["profile_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return SecurityPolicy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="deploymentStatus") + def deployment_status(self) -> pulumi.Output[str]: + return pulumi.get(self, "deployment_status") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def parameters(self) -> pulumi.Output[Optional['outputs.SecurityPolicyWebApplicationFirewallParametersResponse']]: + """ + object which contains security policy parameters + """ + return pulumi.get(self, "parameters") + + @property + @pulumi.getter(name="profileName") + def profile_name(self) -> pulumi.Output[str]: + """ + The name of the profile which holds the security policy. + """ + return pulumi.get(self, "profile_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning status + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Read only system data + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/confidentialledger/__init__.py b/sdk/python/pulumi_azure_native/confidentialledger/__init__.py index 51fb54f0135a..17b269d7285d 100644 --- a/sdk/python/pulumi_azure_native/confidentialledger/__init__.py +++ b/sdk/python/pulumi_azure_native/confidentialledger/__init__.py @@ -19,7 +19,10 @@ v20220513 = __v20220513 import pulumi_azure_native.confidentialledger.v20230126preview as __v20230126preview v20230126preview = __v20230126preview + import pulumi_azure_native.confidentialledger.v20230628preview as __v20230628preview + v20230628preview = __v20230628preview else: v20220513 = _utilities.lazy_import('pulumi_azure_native.confidentialledger.v20220513') v20230126preview = _utilities.lazy_import('pulumi_azure_native.confidentialledger.v20230126preview') + v20230628preview = _utilities.lazy_import('pulumi_azure_native.confidentialledger.v20230628preview') diff --git a/sdk/python/pulumi_azure_native/confidentialledger/ledger.py b/sdk/python/pulumi_azure_native/confidentialledger/ledger.py index c37d7666a166..fe44305febe0 100644 --- a/sdk/python/pulumi_azure_native/confidentialledger/ledger.py +++ b/sdk/python/pulumi_azure_native/confidentialledger/ledger.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220513:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:Ledger")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220513:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230628preview:Ledger")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ledger, __self__).__init__( 'azure-native:confidentialledger:Ledger', diff --git a/sdk/python/pulumi_azure_native/confidentialledger/managed_ccf.py b/sdk/python/pulumi_azure_native/confidentialledger/managed_ccf.py index a156a8d8cf2f..7824482b5707 100644 --- a/sdk/python/pulumi_azure_native/confidentialledger/managed_ccf.py +++ b/sdk/python/pulumi_azure_native/confidentialledger/managed_ccf.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:ManagedCCF")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20230628preview:ManagedCCF")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCCF, __self__).__init__( 'azure-native:confidentialledger:ManagedCCF', diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20220513/ledger.py b/sdk/python/pulumi_azure_native/confidentialledger/v20220513/ledger.py index 3514129db0fe..4a771c5db46c 100644 --- a/sdk/python/pulumi_azure_native/confidentialledger/v20220513/ledger.py +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20220513/ledger.py @@ -171,7 +171,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:Ledger")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230628preview:Ledger")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ledger, __self__).__init__( 'azure-native:confidentialledger/v20220513:Ledger', diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/ledger.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/ledger.py index ef678a75755c..c0a62fad92da 100644 --- a/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/ledger.py +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/ledger.py @@ -171,7 +171,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220513:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220513:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230628preview:Ledger")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ledger, __self__).__init__( 'azure-native:confidentialledger/v20230126preview:Ledger', diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/managed_ccf.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/managed_ccf.py index 24d6849d3e90..2671de9ea4fd 100644 --- a/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/managed_ccf.py +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230126preview/managed_ccf.py @@ -171,7 +171,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:ManagedCCF")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20230628preview:ManagedCCF")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCCF, __self__).__init__( 'azure-native:confidentialledger/v20230126preview:ManagedCCF', diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/__init__.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/__init__.py new file mode 100644 index 000000000000..38ae9d99aee0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/__init__.py @@ -0,0 +1,14 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .get_ledger import * +from .get_managed_ccf import * +from .ledger import * +from .managed_ccf import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/_enums.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/_enums.py new file mode 100644 index 000000000000..b4c6a6ffb6da --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/_enums.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'LanguageRuntime', + 'LedgerRoleName', + 'LedgerType', + 'RunningState', +] + + +class LanguageRuntime(str, Enum): + """ + Unique name for the Managed CCF. + """ + CPP = "CPP" + JS = "JS" + + +class LedgerRoleName(str, Enum): + """ + LedgerRole associated with the Security Principal of Ledger + """ + READER = "Reader" + CONTRIBUTOR = "Contributor" + ADMINISTRATOR = "Administrator" + + +class LedgerType(str, Enum): + """ + Type of Confidential Ledger + """ + UNKNOWN = "Unknown" + PUBLIC = "Public" + PRIVATE = "Private" + + +class RunningState(str, Enum): + """ + Object representing RunningState for Managed CCF. + """ + ACTIVE = "Active" + PAUSED = "Paused" + UNKNOWN = "Unknown" + PAUSING = "Pausing" + RESUMING = "Resuming" diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/_inputs.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/_inputs.py new file mode 100644 index 000000000000..bb1935faec73 --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/_inputs.py @@ -0,0 +1,378 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AADBasedSecurityPrincipalArgs', + 'CertBasedSecurityPrincipalArgs', + 'CertificateTagsArgs', + 'DeploymentTypeArgs', + 'LedgerPropertiesArgs', + 'ManagedCCFPropertiesArgs', + 'MemberIdentityCertificateArgs', +] + +@pulumi.input_type +class AADBasedSecurityPrincipalArgs: + def __init__(__self__, *, + ledger_role_name: Optional[pulumi.Input[Union[str, 'LedgerRoleName']]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + AAD based security principal with associated Ledger RoleName + :param pulumi.Input[Union[str, 'LedgerRoleName']] ledger_role_name: LedgerRole associated with the Security Principal of Ledger + :param pulumi.Input[str] principal_id: UUID/GUID based Principal Id of the Security Principal + :param pulumi.Input[str] tenant_id: UUID/GUID based Tenant Id of the Security Principal + """ + if ledger_role_name is not None: + pulumi.set(__self__, "ledger_role_name", ledger_role_name) + 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(name="ledgerRoleName") + def ledger_role_name(self) -> Optional[pulumi.Input[Union[str, 'LedgerRoleName']]]: + """ + LedgerRole associated with the Security Principal of Ledger + """ + return pulumi.get(self, "ledger_role_name") + + @ledger_role_name.setter + def ledger_role_name(self, value: Optional[pulumi.Input[Union[str, 'LedgerRoleName']]]): + pulumi.set(self, "ledger_role_name", value) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[pulumi.Input[str]]: + """ + UUID/GUID based Principal Id of the Security Principal + """ + 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]]: + """ + UUID/GUID based Tenant Id of the Security Principal + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +@pulumi.input_type +class CertBasedSecurityPrincipalArgs: + def __init__(__self__, *, + cert: Optional[pulumi.Input[str]] = None, + ledger_role_name: Optional[pulumi.Input[Union[str, 'LedgerRoleName']]] = None): + """ + Cert based security principal with Ledger RoleName + :param pulumi.Input[str] cert: Public key of the user cert (.pem or .cer) + :param pulumi.Input[Union[str, 'LedgerRoleName']] ledger_role_name: LedgerRole associated with the Security Principal of Ledger + """ + if cert is not None: + pulumi.set(__self__, "cert", cert) + if ledger_role_name is not None: + pulumi.set(__self__, "ledger_role_name", ledger_role_name) + + @property + @pulumi.getter + def cert(self) -> Optional[pulumi.Input[str]]: + """ + Public key of the user cert (.pem or .cer) + """ + return pulumi.get(self, "cert") + + @cert.setter + def cert(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cert", value) + + @property + @pulumi.getter(name="ledgerRoleName") + def ledger_role_name(self) -> Optional[pulumi.Input[Union[str, 'LedgerRoleName']]]: + """ + LedgerRole associated with the Security Principal of Ledger + """ + return pulumi.get(self, "ledger_role_name") + + @ledger_role_name.setter + def ledger_role_name(self, value: Optional[pulumi.Input[Union[str, 'LedgerRoleName']]]): + pulumi.set(self, "ledger_role_name", value) + + +@pulumi.input_type +class CertificateTagsArgs: + def __init__(__self__, *, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + Tags for Managed CCF Certificates + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Additional tags for Managed CCF Certificates + """ + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Additional tags for Managed CCF Certificates + """ + 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 DeploymentTypeArgs: + def __init__(__self__, *, + app_source_uri: Optional[pulumi.Input[str]] = None, + language_runtime: Optional[pulumi.Input[Union[str, 'LanguageRuntime']]] = None): + """ + Object representing DeploymentType for Managed CCF. + :param pulumi.Input[str] app_source_uri: Source Uri containing ManagedCCF code + :param pulumi.Input[Union[str, 'LanguageRuntime']] language_runtime: Unique name for the Managed CCF. + """ + if app_source_uri is not None: + pulumi.set(__self__, "app_source_uri", app_source_uri) + if language_runtime is not None: + pulumi.set(__self__, "language_runtime", language_runtime) + + @property + @pulumi.getter(name="appSourceUri") + def app_source_uri(self) -> Optional[pulumi.Input[str]]: + """ + Source Uri containing ManagedCCF code + """ + return pulumi.get(self, "app_source_uri") + + @app_source_uri.setter + def app_source_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_source_uri", value) + + @property + @pulumi.getter(name="languageRuntime") + def language_runtime(self) -> Optional[pulumi.Input[Union[str, 'LanguageRuntime']]]: + """ + Unique name for the Managed CCF. + """ + return pulumi.get(self, "language_runtime") + + @language_runtime.setter + def language_runtime(self, value: Optional[pulumi.Input[Union[str, 'LanguageRuntime']]]): + pulumi.set(self, "language_runtime", value) + + +@pulumi.input_type +class LedgerPropertiesArgs: + def __init__(__self__, *, + aad_based_security_principals: Optional[pulumi.Input[Sequence[pulumi.Input['AADBasedSecurityPrincipalArgs']]]] = None, + cert_based_security_principals: Optional[pulumi.Input[Sequence[pulumi.Input['CertBasedSecurityPrincipalArgs']]]] = None, + ledger_type: Optional[pulumi.Input[Union[str, 'LedgerType']]] = None, + running_state: Optional[pulumi.Input[Union[str, 'RunningState']]] = None): + """ + Additional Confidential Ledger properties. + :param pulumi.Input[Sequence[pulumi.Input['AADBasedSecurityPrincipalArgs']]] aad_based_security_principals: Array of all AAD based Security Principals. + :param pulumi.Input[Sequence[pulumi.Input['CertBasedSecurityPrincipalArgs']]] cert_based_security_principals: Array of all cert based Security Principals. + :param pulumi.Input[Union[str, 'LedgerType']] ledger_type: Type of Confidential Ledger + :param pulumi.Input[Union[str, 'RunningState']] running_state: Object representing RunningState for Ledger. + """ + if aad_based_security_principals is not None: + pulumi.set(__self__, "aad_based_security_principals", aad_based_security_principals) + if cert_based_security_principals is not None: + pulumi.set(__self__, "cert_based_security_principals", cert_based_security_principals) + if ledger_type is not None: + pulumi.set(__self__, "ledger_type", ledger_type) + if running_state is not None: + pulumi.set(__self__, "running_state", running_state) + + @property + @pulumi.getter(name="aadBasedSecurityPrincipals") + def aad_based_security_principals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AADBasedSecurityPrincipalArgs']]]]: + """ + Array of all AAD based Security Principals. + """ + return pulumi.get(self, "aad_based_security_principals") + + @aad_based_security_principals.setter + def aad_based_security_principals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AADBasedSecurityPrincipalArgs']]]]): + pulumi.set(self, "aad_based_security_principals", value) + + @property + @pulumi.getter(name="certBasedSecurityPrincipals") + def cert_based_security_principals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertBasedSecurityPrincipalArgs']]]]: + """ + Array of all cert based Security Principals. + """ + return pulumi.get(self, "cert_based_security_principals") + + @cert_based_security_principals.setter + def cert_based_security_principals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertBasedSecurityPrincipalArgs']]]]): + pulumi.set(self, "cert_based_security_principals", value) + + @property + @pulumi.getter(name="ledgerType") + def ledger_type(self) -> Optional[pulumi.Input[Union[str, 'LedgerType']]]: + """ + Type of Confidential Ledger + """ + return pulumi.get(self, "ledger_type") + + @ledger_type.setter + def ledger_type(self, value: Optional[pulumi.Input[Union[str, 'LedgerType']]]): + pulumi.set(self, "ledger_type", value) + + @property + @pulumi.getter(name="runningState") + def running_state(self) -> Optional[pulumi.Input[Union[str, 'RunningState']]]: + """ + Object representing RunningState for Ledger. + """ + return pulumi.get(self, "running_state") + + @running_state.setter + def running_state(self, value: Optional[pulumi.Input[Union[str, 'RunningState']]]): + pulumi.set(self, "running_state", value) + + +@pulumi.input_type +class ManagedCCFPropertiesArgs: + def __init__(__self__, *, + deployment_type: Optional[pulumi.Input['DeploymentTypeArgs']] = None, + member_identity_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['MemberIdentityCertificateArgs']]]] = None, + node_count: Optional[pulumi.Input[int]] = None, + running_state: Optional[pulumi.Input[Union[str, 'RunningState']]] = None): + """ + Additional Managed CCF properties. + :param pulumi.Input['DeploymentTypeArgs'] deployment_type: Deployment Type of Managed CCF + :param pulumi.Input[Sequence[pulumi.Input['MemberIdentityCertificateArgs']]] member_identity_certificates: List of member identity certificates for Managed CCF + :param pulumi.Input[int] node_count: Number of CCF nodes in the Managed CCF. + :param pulumi.Input[Union[str, 'RunningState']] running_state: Object representing RunningState for Managed CCF. + """ + if deployment_type is not None: + pulumi.set(__self__, "deployment_type", deployment_type) + if member_identity_certificates is not None: + pulumi.set(__self__, "member_identity_certificates", member_identity_certificates) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if running_state is not None: + pulumi.set(__self__, "running_state", running_state) + + @property + @pulumi.getter(name="deploymentType") + def deployment_type(self) -> Optional[pulumi.Input['DeploymentTypeArgs']]: + """ + Deployment Type of Managed CCF + """ + return pulumi.get(self, "deployment_type") + + @deployment_type.setter + def deployment_type(self, value: Optional[pulumi.Input['DeploymentTypeArgs']]): + pulumi.set(self, "deployment_type", value) + + @property + @pulumi.getter(name="memberIdentityCertificates") + def member_identity_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MemberIdentityCertificateArgs']]]]: + """ + List of member identity certificates for Managed CCF + """ + return pulumi.get(self, "member_identity_certificates") + + @member_identity_certificates.setter + def member_identity_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MemberIdentityCertificateArgs']]]]): + pulumi.set(self, "member_identity_certificates", value) + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[pulumi.Input[int]]: + """ + Number of CCF nodes in the Managed CCF. + """ + return pulumi.get(self, "node_count") + + @node_count.setter + def node_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "node_count", value) + + @property + @pulumi.getter(name="runningState") + def running_state(self) -> Optional[pulumi.Input[Union[str, 'RunningState']]]: + """ + Object representing RunningState for Managed CCF. + """ + return pulumi.get(self, "running_state") + + @running_state.setter + def running_state(self, value: Optional[pulumi.Input[Union[str, 'RunningState']]]): + pulumi.set(self, "running_state", value) + + +@pulumi.input_type +class MemberIdentityCertificateArgs: + def __init__(__self__, *, + certificate: Optional[pulumi.Input[str]] = None, + encryptionkey: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateTagsArgs']]]] = None): + """ + Object representing MemberIdentityCertificate for Managed CCF. + :param pulumi.Input[str] certificate: Member Identity Certificate + :param pulumi.Input[str] encryptionkey: Member Identity Certificate Encryption Key + """ + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) + if encryptionkey is not None: + pulumi.set(__self__, "encryptionkey", encryptionkey) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def certificate(self) -> Optional[pulumi.Input[str]]: + """ + Member Identity Certificate + """ + return pulumi.get(self, "certificate") + + @certificate.setter + def certificate(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "certificate", value) + + @property + @pulumi.getter + def encryptionkey(self) -> Optional[pulumi.Input[str]]: + """ + Member Identity Certificate Encryption Key + """ + return pulumi.get(self, "encryptionkey") + + @encryptionkey.setter + def encryptionkey(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryptionkey", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateTagsArgs']]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateTagsArgs']]]]): + pulumi.set(self, "tags", value) + + diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/get_ledger.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/get_ledger.py new file mode 100644 index 000000000000..74a0e828e06a --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/get_ledger.py @@ -0,0 +1,157 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetLedgerResult', + 'AwaitableGetLedgerResult', + 'get_ledger', + 'get_ledger_output', +] + +@pulumi.output_type +class GetLedgerResult: + """ + Confidential Ledger. Contains the properties of Confidential Ledger Resource. + """ + def __init__(__self__, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.LedgerPropertiesResponse': + """ + Properties of Confidential Ledger Resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetLedgerResult(GetLedgerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetLedgerResult( + id=self.id, + location=self.location, + name=self.name, + properties=self.properties, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_ledger(ledger_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLedgerResult: + """ + Retrieves the properties of a Confidential Ledger. + + + :param str ledger_name: Name of the Confidential Ledger + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['ledgerName'] = ledger_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:confidentialledger/v20230628preview:getLedger', __args__, opts=opts, typ=GetLedgerResult).value + + return AwaitableGetLedgerResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_ledger) +def get_ledger_output(ledger_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLedgerResult]: + """ + Retrieves the properties of a Confidential Ledger. + + + :param str ledger_name: Name of the Confidential Ledger + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/get_managed_ccf.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/get_managed_ccf.py new file mode 100644 index 000000000000..a233a7fb174b --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/get_managed_ccf.py @@ -0,0 +1,157 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetManagedCCFResult', + 'AwaitableGetManagedCCFResult', + 'get_managed_ccf', + 'get_managed_ccf_output', +] + +@pulumi.output_type +class GetManagedCCFResult: + """ + Managed CCF. Contains the properties of Managed CCF Resource. + """ + def __init__(__self__, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ManagedCCFPropertiesResponse': + """ + Properties of Managed CCF Resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetManagedCCFResult(GetManagedCCFResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetManagedCCFResult( + id=self.id, + location=self.location, + name=self.name, + properties=self.properties, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_managed_ccf(app_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedCCFResult: + """ + Retrieves the properties of a Managed CCF app. + + + :param str app_name: Name of the Managed CCF + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['appName'] = app_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:confidentialledger/v20230628preview:getManagedCCF', __args__, opts=opts, typ=GetManagedCCFResult).value + + return AwaitableGetManagedCCFResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_managed_ccf) +def get_managed_ccf_output(app_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedCCFResult]: + """ + Retrieves the properties of a Managed CCF app. + + + :param str app_name: Name of the Managed CCF + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/ledger.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/ledger.py new file mode 100644 index 000000000000..04ea0bbbd406 --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/ledger.py @@ -0,0 +1,253 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['LedgerArgs', 'Ledger'] + +@pulumi.input_type +class LedgerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + ledger_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['LedgerPropertiesArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Ledger resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] ledger_name: Name of the Confidential Ledger + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input['LedgerPropertiesArgs'] properties: Properties of Confidential Ledger Resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if ledger_name is not None: + pulumi.set(__self__, "ledger_name", ledger_name) + if location is not None: + pulumi.set(__self__, "location", location) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="ledgerName") + def ledger_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Confidential Ledger + """ + return pulumi.get(self, "ledger_name") + + @ledger_name.setter + def ledger_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ledger_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['LedgerPropertiesArgs']]: + """ + Properties of Confidential Ledger Resource. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['LedgerPropertiesArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Ledger(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + ledger_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['LedgerPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Confidential Ledger. Contains the properties of Confidential Ledger Resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] ledger_name: Name of the Confidential Ledger + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['LedgerPropertiesArgs']] properties: Properties of Confidential Ledger Resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: LedgerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Confidential Ledger. Contains the properties of Confidential Ledger Resource. + + :param str resource_name: The name of the resource. + :param LedgerArgs 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(LedgerArgs, 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, + ledger_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['LedgerPropertiesArgs']]] = 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): + 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__ = LedgerArgs.__new__(LedgerArgs) + + __props__.__dict__["ledger_name"] = ledger_name + __props__.__dict__["location"] = location + __props__.__dict__["properties"] = properties + 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 + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20201201preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20210513preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220513:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:Ledger"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:Ledger")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Ledger, __self__).__init__( + 'azure-native:confidentialledger/v20230628preview:Ledger', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Ledger': + """ + Get an existing Ledger 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = LedgerArgs.__new__(LedgerArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Ledger(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.LedgerPropertiesResponse']: + """ + Properties of Confidential Ledger Resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/managed_ccf.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/managed_ccf.py new file mode 100644 index 000000000000..5b4b29f66e60 --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/managed_ccf.py @@ -0,0 +1,253 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ManagedCCFArgs', 'ManagedCCF'] + +@pulumi.input_type +class ManagedCCFArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + app_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['ManagedCCFPropertiesArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ManagedCCF resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] app_name: Name of the Managed CCF + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input['ManagedCCFPropertiesArgs'] properties: Properties of Managed CCF Resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if app_name is not None: + pulumi.set(__self__, "app_name", app_name) + if location is not None: + pulumi.set(__self__, "location", location) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="appName") + def app_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Managed CCF + """ + return pulumi.get(self, "app_name") + + @app_name.setter + def app_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ManagedCCFPropertiesArgs']]: + """ + Properties of Managed CCF Resource. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ManagedCCFPropertiesArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 ManagedCCF(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + app_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ManagedCCFPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Managed CCF. Contains the properties of Managed CCF Resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] app_name: Name of the Managed CCF + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['ManagedCCFPropertiesArgs']] properties: Properties of Managed CCF Resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ManagedCCFArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Managed CCF. Contains the properties of Managed CCF Resource. + + :param str resource_name: The name of the resource. + :param ManagedCCFArgs 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(ManagedCCFArgs, 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, + app_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ManagedCCFPropertiesArgs']]] = 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): + 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__ = ManagedCCFArgs.__new__(ManagedCCFArgs) + + __props__.__dict__["app_name"] = app_name + __props__.__dict__["location"] = location + __props__.__dict__["properties"] = properties + 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 + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:confidentialledger:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20220908preview:ManagedCCF"), pulumi.Alias(type_="azure-native:confidentialledger/v20230126preview:ManagedCCF")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ManagedCCF, __self__).__init__( + 'azure-native:confidentialledger/v20230628preview:ManagedCCF', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ManagedCCF': + """ + Get an existing ManagedCCF 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ManagedCCFArgs.__new__(ManagedCCFArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return ManagedCCF(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ManagedCCFPropertiesResponse']: + """ + Properties of Managed CCF Resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/outputs.py b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/outputs.py new file mode 100644 index 000000000000..a6bca96e94bb --- /dev/null +++ b/sdk/python/pulumi_azure_native/confidentialledger/v20230628preview/outputs.py @@ -0,0 +1,655 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AADBasedSecurityPrincipalResponse', + 'CertBasedSecurityPrincipalResponse', + 'CertificateTagsResponse', + 'DeploymentTypeResponse', + 'LedgerPropertiesResponse', + 'ManagedCCFPropertiesResponse', + 'MemberIdentityCertificateResponse', + 'SystemDataResponse', +] + +@pulumi.output_type +class AADBasedSecurityPrincipalResponse(dict): + """ + AAD based security principal with associated Ledger RoleName + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ledgerRoleName": + suggest = "ledger_role_name" + elif key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AADBasedSecurityPrincipalResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AADBasedSecurityPrincipalResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AADBasedSecurityPrincipalResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ledger_role_name: Optional[str] = None, + principal_id: Optional[str] = None, + tenant_id: Optional[str] = None): + """ + AAD based security principal with associated Ledger RoleName + :param str ledger_role_name: LedgerRole associated with the Security Principal of Ledger + :param str principal_id: UUID/GUID based Principal Id of the Security Principal + :param str tenant_id: UUID/GUID based Tenant Id of the Security Principal + """ + if ledger_role_name is not None: + pulumi.set(__self__, "ledger_role_name", ledger_role_name) + 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(name="ledgerRoleName") + def ledger_role_name(self) -> Optional[str]: + """ + LedgerRole associated with the Security Principal of Ledger + """ + return pulumi.get(self, "ledger_role_name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[str]: + """ + UUID/GUID based Principal Id of the Security Principal + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + UUID/GUID based Tenant Id of the Security Principal + """ + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class CertBasedSecurityPrincipalResponse(dict): + """ + Cert based security principal with Ledger RoleName + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ledgerRoleName": + suggest = "ledger_role_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CertBasedSecurityPrincipalResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CertBasedSecurityPrincipalResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CertBasedSecurityPrincipalResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cert: Optional[str] = None, + ledger_role_name: Optional[str] = None): + """ + Cert based security principal with Ledger RoleName + :param str cert: Public key of the user cert (.pem or .cer) + :param str ledger_role_name: LedgerRole associated with the Security Principal of Ledger + """ + if cert is not None: + pulumi.set(__self__, "cert", cert) + if ledger_role_name is not None: + pulumi.set(__self__, "ledger_role_name", ledger_role_name) + + @property + @pulumi.getter + def cert(self) -> Optional[str]: + """ + Public key of the user cert (.pem or .cer) + """ + return pulumi.get(self, "cert") + + @property + @pulumi.getter(name="ledgerRoleName") + def ledger_role_name(self) -> Optional[str]: + """ + LedgerRole associated with the Security Principal of Ledger + """ + return pulumi.get(self, "ledger_role_name") + + +@pulumi.output_type +class CertificateTagsResponse(dict): + """ + Tags for Managed CCF Certificates + """ + def __init__(__self__, *, + tags: Optional[Mapping[str, str]] = None): + """ + Tags for Managed CCF Certificates + :param Mapping[str, str] tags: Additional tags for Managed CCF Certificates + """ + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Additional tags for Managed CCF Certificates + """ + return pulumi.get(self, "tags") + + +@pulumi.output_type +class DeploymentTypeResponse(dict): + """ + Object representing DeploymentType for Managed CCF. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "appSourceUri": + suggest = "app_source_uri" + elif key == "languageRuntime": + suggest = "language_runtime" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeploymentTypeResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeploymentTypeResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeploymentTypeResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + app_source_uri: Optional[str] = None, + language_runtime: Optional[str] = None): + """ + Object representing DeploymentType for Managed CCF. + :param str app_source_uri: Source Uri containing ManagedCCF code + :param str language_runtime: Unique name for the Managed CCF. + """ + if app_source_uri is not None: + pulumi.set(__self__, "app_source_uri", app_source_uri) + if language_runtime is not None: + pulumi.set(__self__, "language_runtime", language_runtime) + + @property + @pulumi.getter(name="appSourceUri") + def app_source_uri(self) -> Optional[str]: + """ + Source Uri containing ManagedCCF code + """ + return pulumi.get(self, "app_source_uri") + + @property + @pulumi.getter(name="languageRuntime") + def language_runtime(self) -> Optional[str]: + """ + Unique name for the Managed CCF. + """ + return pulumi.get(self, "language_runtime") + + +@pulumi.output_type +class LedgerPropertiesResponse(dict): + """ + Additional Confidential Ledger properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "identityServiceUri": + suggest = "identity_service_uri" + elif key == "ledgerInternalNamespace": + suggest = "ledger_internal_namespace" + elif key == "ledgerName": + suggest = "ledger_name" + elif key == "ledgerUri": + suggest = "ledger_uri" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "aadBasedSecurityPrincipals": + suggest = "aad_based_security_principals" + elif key == "certBasedSecurityPrincipals": + suggest = "cert_based_security_principals" + elif key == "ledgerType": + suggest = "ledger_type" + elif key == "runningState": + suggest = "running_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LedgerPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LedgerPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LedgerPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + identity_service_uri: str, + ledger_internal_namespace: str, + ledger_name: str, + ledger_uri: str, + provisioning_state: str, + aad_based_security_principals: Optional[Sequence['outputs.AADBasedSecurityPrincipalResponse']] = None, + cert_based_security_principals: Optional[Sequence['outputs.CertBasedSecurityPrincipalResponse']] = None, + ledger_type: Optional[str] = None, + running_state: Optional[str] = None): + """ + Additional Confidential Ledger properties. + :param str identity_service_uri: Endpoint for accessing network identity. + :param str ledger_internal_namespace: Internal namespace for the Ledger + :param str ledger_name: Unique name for the Confidential Ledger. + :param str ledger_uri: Endpoint for calling Ledger Service. + :param str provisioning_state: Provisioning state of Ledger Resource + :param Sequence['AADBasedSecurityPrincipalResponse'] aad_based_security_principals: Array of all AAD based Security Principals. + :param Sequence['CertBasedSecurityPrincipalResponse'] cert_based_security_principals: Array of all cert based Security Principals. + :param str ledger_type: Type of Confidential Ledger + :param str running_state: Object representing RunningState for Ledger. + """ + pulumi.set(__self__, "identity_service_uri", identity_service_uri) + pulumi.set(__self__, "ledger_internal_namespace", ledger_internal_namespace) + pulumi.set(__self__, "ledger_name", ledger_name) + pulumi.set(__self__, "ledger_uri", ledger_uri) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if aad_based_security_principals is not None: + pulumi.set(__self__, "aad_based_security_principals", aad_based_security_principals) + if cert_based_security_principals is not None: + pulumi.set(__self__, "cert_based_security_principals", cert_based_security_principals) + if ledger_type is not None: + pulumi.set(__self__, "ledger_type", ledger_type) + if running_state is not None: + pulumi.set(__self__, "running_state", running_state) + + @property + @pulumi.getter(name="identityServiceUri") + def identity_service_uri(self) -> str: + """ + Endpoint for accessing network identity. + """ + return pulumi.get(self, "identity_service_uri") + + @property + @pulumi.getter(name="ledgerInternalNamespace") + def ledger_internal_namespace(self) -> str: + """ + Internal namespace for the Ledger + """ + return pulumi.get(self, "ledger_internal_namespace") + + @property + @pulumi.getter(name="ledgerName") + def ledger_name(self) -> str: + """ + Unique name for the Confidential Ledger. + """ + return pulumi.get(self, "ledger_name") + + @property + @pulumi.getter(name="ledgerUri") + def ledger_uri(self) -> str: + """ + Endpoint for calling Ledger Service. + """ + return pulumi.get(self, "ledger_uri") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of Ledger Resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="aadBasedSecurityPrincipals") + def aad_based_security_principals(self) -> Optional[Sequence['outputs.AADBasedSecurityPrincipalResponse']]: + """ + Array of all AAD based Security Principals. + """ + return pulumi.get(self, "aad_based_security_principals") + + @property + @pulumi.getter(name="certBasedSecurityPrincipals") + def cert_based_security_principals(self) -> Optional[Sequence['outputs.CertBasedSecurityPrincipalResponse']]: + """ + Array of all cert based Security Principals. + """ + return pulumi.get(self, "cert_based_security_principals") + + @property + @pulumi.getter(name="ledgerType") + def ledger_type(self) -> Optional[str]: + """ + Type of Confidential Ledger + """ + return pulumi.get(self, "ledger_type") + + @property + @pulumi.getter(name="runningState") + def running_state(self) -> Optional[str]: + """ + Object representing RunningState for Ledger. + """ + return pulumi.get(self, "running_state") + + +@pulumi.output_type +class ManagedCCFPropertiesResponse(dict): + """ + Additional Managed CCF properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "appName": + suggest = "app_name" + elif key == "appUri": + suggest = "app_uri" + elif key == "identityServiceUri": + suggest = "identity_service_uri" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "deploymentType": + suggest = "deployment_type" + elif key == "memberIdentityCertificates": + suggest = "member_identity_certificates" + elif key == "nodeCount": + suggest = "node_count" + elif key == "runningState": + suggest = "running_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedCCFPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedCCFPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedCCFPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + app_name: str, + app_uri: str, + identity_service_uri: str, + provisioning_state: str, + deployment_type: Optional['outputs.DeploymentTypeResponse'] = None, + member_identity_certificates: Optional[Sequence['outputs.MemberIdentityCertificateResponse']] = None, + node_count: Optional[int] = None, + running_state: Optional[str] = None): + """ + Additional Managed CCF properties. + :param str app_name: Unique name for the Managed CCF. + :param str app_uri: Endpoint for calling Managed CCF Service. + :param str identity_service_uri: Endpoint for accessing network identity. + :param str provisioning_state: Provisioning state of Managed CCF Resource + :param 'DeploymentTypeResponse' deployment_type: Deployment Type of Managed CCF + :param Sequence['MemberIdentityCertificateResponse'] member_identity_certificates: List of member identity certificates for Managed CCF + :param int node_count: Number of CCF nodes in the Managed CCF. + :param str running_state: Object representing RunningState for Managed CCF. + """ + pulumi.set(__self__, "app_name", app_name) + pulumi.set(__self__, "app_uri", app_uri) + pulumi.set(__self__, "identity_service_uri", identity_service_uri) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if deployment_type is not None: + pulumi.set(__self__, "deployment_type", deployment_type) + if member_identity_certificates is not None: + pulumi.set(__self__, "member_identity_certificates", member_identity_certificates) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if running_state is not None: + pulumi.set(__self__, "running_state", running_state) + + @property + @pulumi.getter(name="appName") + def app_name(self) -> str: + """ + Unique name for the Managed CCF. + """ + return pulumi.get(self, "app_name") + + @property + @pulumi.getter(name="appUri") + def app_uri(self) -> str: + """ + Endpoint for calling Managed CCF Service. + """ + return pulumi.get(self, "app_uri") + + @property + @pulumi.getter(name="identityServiceUri") + def identity_service_uri(self) -> str: + """ + Endpoint for accessing network identity. + """ + return pulumi.get(self, "identity_service_uri") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of Managed CCF Resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="deploymentType") + def deployment_type(self) -> Optional['outputs.DeploymentTypeResponse']: + """ + Deployment Type of Managed CCF + """ + return pulumi.get(self, "deployment_type") + + @property + @pulumi.getter(name="memberIdentityCertificates") + def member_identity_certificates(self) -> Optional[Sequence['outputs.MemberIdentityCertificateResponse']]: + """ + List of member identity certificates for Managed CCF + """ + return pulumi.get(self, "member_identity_certificates") + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[int]: + """ + Number of CCF nodes in the Managed CCF. + """ + return pulumi.get(self, "node_count") + + @property + @pulumi.getter(name="runningState") + def running_state(self) -> Optional[str]: + """ + Object representing RunningState for Managed CCF. + """ + return pulumi.get(self, "running_state") + + +@pulumi.output_type +class MemberIdentityCertificateResponse(dict): + """ + Object representing MemberIdentityCertificate for Managed CCF. + """ + def __init__(__self__, *, + certificate: Optional[str] = None, + encryptionkey: Optional[str] = None, + tags: Optional[Sequence['outputs.CertificateTagsResponse']] = None): + """ + Object representing MemberIdentityCertificate for Managed CCF. + :param str certificate: Member Identity Certificate + :param str encryptionkey: Member Identity Certificate Encryption Key + """ + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) + if encryptionkey is not None: + pulumi.set(__self__, "encryptionkey", encryptionkey) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def certificate(self) -> Optional[str]: + """ + Member Identity Certificate + """ + return pulumi.get(self, "certificate") + + @property + @pulumi.getter + def encryptionkey(self) -> Optional[str]: + """ + Member Identity Certificate Encryption Key + """ + return pulumi.get(self, "encryptionkey") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['outputs.CertificateTagsResponse']]: + return pulumi.get(self, "tags") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/__init__.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/__init__.py index 077b92f93bcd..714c95e082a9 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/__init__.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/__init__.py @@ -45,8 +45,11 @@ v20220715preview = __v20220715preview import pulumi_azure_native.connectedvmwarevsphere.v20230301preview as __v20230301preview v20230301preview = __v20230301preview + import pulumi_azure_native.connectedvmwarevsphere.v20231001 as __v20231001 + v20231001 = __v20231001 else: v20220110preview = _utilities.lazy_import('pulumi_azure_native.connectedvmwarevsphere.v20220110preview') v20220715preview = _utilities.lazy_import('pulumi_azure_native.connectedvmwarevsphere.v20220715preview') v20230301preview = _utilities.lazy_import('pulumi_azure_native.connectedvmwarevsphere.v20230301preview') + v20231001 = _utilities.lazy_import('pulumi_azure_native.connectedvmwarevsphere.v20231001') diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/cluster.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/cluster.py index ab7f42a66c5e..002bba406e51 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/cluster.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/cluster.py @@ -259,7 +259,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:connectedvmwarevsphere:Cluster', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/datastore.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/datastore.py index 0f4ab89e496c..08f42ab30043 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/datastore.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/datastore.py @@ -259,7 +259,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Datastore")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Datastore")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Datastore, __self__).__init__( 'azure-native:connectedvmwarevsphere:Datastore', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/host.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/host.py index 6938a4225675..8bb521a44fa6 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/host.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/host.py @@ -259,7 +259,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Host")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Host")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Host, __self__).__init__( 'azure-native:connectedvmwarevsphere:Host', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/inventory_item.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/inventory_item.py index 55989447e987..64e762118960 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/inventory_item.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/inventory_item.py @@ -235,7 +235,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:InventoryItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(InventoryItem, __self__).__init__( 'azure-native:connectedvmwarevsphere:InventoryItem', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/resource_pool.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/resource_pool.py index fba7f04a883d..65c9fe0b20ed 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/resource_pool.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/resource_pool.py @@ -265,7 +265,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:ResourcePool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourcePool, __self__).__init__( 'azure-native:connectedvmwarevsphere:ResourcePool', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/cluster.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/cluster.py index bab11185a3cd..69190c3eef3c 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/cluster.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/cluster.py @@ -257,7 +257,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:Cluster', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/datastore.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/datastore.py index 0a5902a5d85e..603b94e5ca07 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/datastore.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/datastore.py @@ -257,7 +257,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Datastore")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Datastore")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Datastore, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:Datastore', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/host.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/host.py index d11f6ad7536a..a7e69ea41e55 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/host.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/host.py @@ -257,7 +257,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Host")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Host")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Host, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:Host', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/inventory_item.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/inventory_item.py index bde45c495933..2af9da8acaf9 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/inventory_item.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/inventory_item.py @@ -233,7 +233,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:InventoryItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(InventoryItem, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/resource_pool.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/resource_pool.py index 542d2ba354a0..8420c438d866 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/resource_pool.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/resource_pool.py @@ -263,7 +263,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:ResourcePool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourcePool, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/v_center.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/v_center.py index e3fb60c05588..6396aab13ea0 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/v_center.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/v_center.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VCenter, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:VCenter', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_machine_template.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_machine_template.py index d1dfb97cf152..1d507feff016 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_machine_template.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_machine_template.py @@ -269,7 +269,7 @@ def _internal_init(__self__, __props__.__dict__["tools_version_status"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineTemplate, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_network.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_network.py index 224162186ca2..366abc774383 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_network.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20220715preview/virtual_network.py @@ -255,7 +255,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualNetwork, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/cluster.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/cluster.py index 3d69fdd31ef6..49eedde434ca 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/cluster.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/cluster.py @@ -261,7 +261,7 @@ def _internal_init(__self__, __props__.__dict__["used_cpu_m_hz"] = None __props__.__dict__["used_memory_gb"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:Cluster', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/datastore.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/datastore.py index f9b0456a2d5e..bdd1e1532ee7 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/datastore.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/datastore.py @@ -257,7 +257,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Datastore")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Datastore")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Datastore, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:Datastore', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/host.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/host.py index 3a88ef3ecbdd..1b9144cad046 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/host.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/host.py @@ -261,7 +261,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Host")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:Host")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Host, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:Host', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/inventory_item.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/inventory_item.py index ba26583f202a..19704a80913d 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/inventory_item.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/inventory_item.py @@ -233,7 +233,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:InventoryItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(InventoryItem, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/resource_pool.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/resource_pool.py index a26efcf07c19..eb24739201af 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/resource_pool.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/resource_pool.py @@ -267,7 +267,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:ResourcePool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourcePool, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/v_center.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/v_center.py index 1f94540308d3..20c1f58e0137 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/v_center.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/v_center.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VCenter, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:VCenter', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_instance.py index e36aac10b381..bbce19d4965b 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_instance.py @@ -255,7 +255,7 @@ def _internal_init(__self__, __props__.__dict__["statuses"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_template.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_template.py index 5f57d4c7315b..4aeddee6725e 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_template.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_machine_template.py @@ -269,7 +269,7 @@ def _internal_init(__self__, __props__.__dict__["tools_version_status"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineTemplate, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_network.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_network.py index 40686c56bf87..5a355f4785da 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_network.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/virtual_network.py @@ -255,7 +255,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualNetwork, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/vm_instance_guest_agent.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/vm_instance_guest_agent.py index 67648366404b..56b00e59290a 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/vm_instance_guest_agent.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20230301preview/vm_instance_guest_agent.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VMInstanceGuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VMInstanceGuestAgent"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VMInstanceGuestAgent, __self__).__init__( 'azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/__init__.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/__init__.py new file mode 100644 index 000000000000..89c54c65716c --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/__init__.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .cluster import * +from .datastore import * +from .get_cluster import * +from .get_datastore import * +from .get_host import * +from .get_inventory_item import * +from .get_resource_pool import * +from .get_v_center import * +from .get_virtual_machine_instance import * +from .get_virtual_machine_template import * +from .get_virtual_network import * +from .get_vm_instance_guest_agent import * +from .host import * +from .inventory_item import * +from .resource_pool import * +from .v_center import * +from .virtual_machine_instance import * +from .virtual_machine_template import * +from .virtual_network import * +from .vm_instance_guest_agent import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/_enums.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/_enums.py new file mode 100644 index 000000000000..0de6edecdbe5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/_enums.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'DiskMode', + 'DiskType', + 'FirmwareType', + 'IPAddressAllocationMethod', + 'InventoryType', + 'NICType', + 'OsType', + 'PowerOnBootOption', + 'ProvisioningAction', +] + + +class DiskMode(str, Enum): + """ + Gets or sets the disk mode. + """ + PERSISTENT = "persistent" + INDEPENDENT_PERSISTENT = "independent_persistent" + INDEPENDENT_NONPERSISTENT = "independent_nonpersistent" + + +class DiskType(str, Enum): + """ + Gets or sets the disk backing type. + """ + FLAT = "flat" + PMEM = "pmem" + RAWPHYSICAL = "rawphysical" + RAWVIRTUAL = "rawvirtual" + SPARSE = "sparse" + SESPARSE = "sesparse" + UNKNOWN = "unknown" + + +class FirmwareType(str, Enum): + """ + Firmware type + """ + BIOS = "bios" + EFI = "efi" + + +class IPAddressAllocationMethod(str, Enum): + """ + Gets or sets the nic allocation method. + """ + UNSET = "unset" + DYNAMIC = "dynamic" + STATIC = "static" + LINKLAYER = "linklayer" + RANDOM = "random" + OTHER = "other" + + +class InventoryType(str, Enum): + """ + They inventory type. + """ + RESOURCE_POOL = "ResourcePool" + VIRTUAL_MACHINE = "VirtualMachine" + VIRTUAL_MACHINE_TEMPLATE = "VirtualMachineTemplate" + VIRTUAL_NETWORK = "VirtualNetwork" + CLUSTER = "Cluster" + DATASTORE = "Datastore" + HOST = "Host" + + +class NICType(str, Enum): + """ + NIC type + """ + VMXNET3 = "vmxnet3" + VMXNET2 = "vmxnet2" + VMXNET = "vmxnet" + E1000 = "e1000" + E1000E = "e1000e" + PCNET32 = "pcnet32" + + +class OsType(str, Enum): + """ + Gets or sets the type of the os. + """ + WINDOWS = "Windows" + LINUX = "Linux" + OTHER = "Other" + + +class PowerOnBootOption(str, Enum): + """ + Gets or sets the power on boot. + """ + ENABLED = "enabled" + DISABLED = "disabled" + + +class ProvisioningAction(str, Enum): + """ + Gets or sets the guest agent provisioning action. + """ + INSTALL = "install" + UNINSTALL = "uninstall" + REPAIR = "repair" diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/_inputs.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/_inputs.py new file mode 100644 index 000000000000..18ec3863fbeb --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/_inputs.py @@ -0,0 +1,902 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'ExtendedLocationArgs', + 'GuestCredentialArgs', + 'HardwareProfileArgs', + 'HttpProxyConfigurationArgs', + 'InfrastructureProfileArgs', + 'NetworkInterfaceArgs', + 'NetworkProfileArgs', + 'NicIPSettingsArgs', + 'OsProfileForVMInstanceArgs', + 'PlacementProfileArgs', + 'SecurityProfileArgs', + 'StorageProfileArgs', + 'UefiSettingsArgs', + 'VICredentialArgs', + 'VirtualDiskArgs', +] + +@pulumi.input_type +class ExtendedLocationArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + The extended location. + :param pulumi.Input[str] name: The extended location name. + :param pulumi.Input[str] type: The extended location type. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The extended location name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The extended location type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class GuestCredentialArgs: + def __init__(__self__, *, + password: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Username / Password Credentials to connect to guest. + :param pulumi.Input[str] password: Gets or sets the password to connect with the guest. + :param pulumi.Input[str] username: Gets or sets username to connect with the guest. + """ + if password is not None: + pulumi.set(__self__, "password", password) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the password to connect with the guest. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets username to connect with the guest. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class HardwareProfileArgs: + def __init__(__self__, *, + memory_size_mb: Optional[pulumi.Input[int]] = None, + num_cpus: Optional[pulumi.Input[int]] = None, + num_cores_per_socket: Optional[pulumi.Input[int]] = None): + """ + Specifies the hardware settings for the virtual machine. + :param pulumi.Input[int] memory_size_mb: Gets or sets memory size in MBs for the vm. + :param pulumi.Input[int] num_cpus: Gets or sets the number of vCPUs for the vm. + :param pulumi.Input[int] num_cores_per_socket: Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + """ + if memory_size_mb is not None: + pulumi.set(__self__, "memory_size_mb", memory_size_mb) + if num_cpus is not None: + pulumi.set(__self__, "num_cpus", num_cpus) + if num_cores_per_socket is not None: + pulumi.set(__self__, "num_cores_per_socket", num_cores_per_socket) + + @property + @pulumi.getter(name="memorySizeMB") + def memory_size_mb(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets memory size in MBs for the vm. + """ + return pulumi.get(self, "memory_size_mb") + + @memory_size_mb.setter + def memory_size_mb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "memory_size_mb", value) + + @property + @pulumi.getter(name="numCPUs") + def num_cpus(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the number of vCPUs for the vm. + """ + return pulumi.get(self, "num_cpus") + + @num_cpus.setter + def num_cpus(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_cpus", value) + + @property + @pulumi.getter(name="numCoresPerSocket") + def num_cores_per_socket(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + """ + return pulumi.get(self, "num_cores_per_socket") + + @num_cores_per_socket.setter + def num_cores_per_socket(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_cores_per_socket", value) + + +@pulumi.input_type +class HttpProxyConfigurationArgs: + def __init__(__self__, *, + https_proxy: Optional[pulumi.Input[str]] = None): + """ + HTTP Proxy configuration for the VM. + :param pulumi.Input[str] https_proxy: Gets or sets httpsProxy url. + """ + if https_proxy is not None: + pulumi.set(__self__, "https_proxy", https_proxy) + + @property + @pulumi.getter(name="httpsProxy") + def https_proxy(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets httpsProxy url. + """ + return pulumi.get(self, "https_proxy") + + @https_proxy.setter + def https_proxy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "https_proxy", value) + + +@pulumi.input_type +class InfrastructureProfileArgs: + def __init__(__self__, *, + firmware_type: Optional[pulumi.Input[Union[str, 'FirmwareType']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + smbios_uuid: Optional[pulumi.Input[str]] = None, + template_id: Optional[pulumi.Input[str]] = None, + v_center_id: Optional[pulumi.Input[str]] = None): + """ + Specifies the vCenter infrastructure specific settings for the virtual machine. + :param pulumi.Input[Union[str, 'FirmwareType']] firmware_type: Firmware type + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the virtual machine. + :param pulumi.Input[str] smbios_uuid: Gets or sets the SMBIOS UUID of the vm. + :param pulumi.Input[str] template_id: Gets or sets the ARM Id of the template resource to deploy the virtual machine. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + if firmware_type is not None: + pulumi.set(__self__, "firmware_type", firmware_type) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if smbios_uuid is not None: + pulumi.set(__self__, "smbios_uuid", smbios_uuid) + if template_id is not None: + pulumi.set(__self__, "template_id", template_id) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="firmwareType") + def firmware_type(self) -> Optional[pulumi.Input[Union[str, 'FirmwareType']]]: + """ + Firmware type + """ + return pulumi.get(self, "firmware_type") + + @firmware_type.setter + def firmware_type(self, value: Optional[pulumi.Input[Union[str, 'FirmwareType']]]): + pulumi.set(self, "firmware_type", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the virtual machine. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter(name="smbiosUuid") + def smbios_uuid(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the SMBIOS UUID of the vm. + """ + return pulumi.get(self, "smbios_uuid") + + @smbios_uuid.setter + def smbios_uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "smbios_uuid", value) + + @property + @pulumi.getter(name="templateId") + def template_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the template resource to deploy the virtual machine. + """ + return pulumi.get(self, "template_id") + + @template_id.setter + def template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "template_id", value) + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + +@pulumi.input_type +class NetworkInterfaceArgs: + def __init__(__self__, *, + device_key: Optional[pulumi.Input[int]] = None, + ip_settings: Optional[pulumi.Input['NicIPSettingsArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + network_id: Optional[pulumi.Input[str]] = None, + nic_type: Optional[pulumi.Input[Union[str, 'NICType']]] = None, + power_on_boot: Optional[pulumi.Input[Union[str, 'PowerOnBootOption']]] = None): + """ + Network Interface model + :param pulumi.Input[int] device_key: Gets or sets the device key value. + :param pulumi.Input['NicIPSettingsArgs'] ip_settings: Gets or sets the ipsettings. + :param pulumi.Input[str] name: Gets or sets the name of the network interface. + :param pulumi.Input[str] network_id: Gets or sets the ARM Id of the network resource to connect the virtual machine. + :param pulumi.Input[Union[str, 'NICType']] nic_type: NIC type + :param pulumi.Input[Union[str, 'PowerOnBootOption']] power_on_boot: Gets or sets the power on boot. + """ + if device_key is not None: + pulumi.set(__self__, "device_key", device_key) + if ip_settings is not None: + pulumi.set(__self__, "ip_settings", ip_settings) + if name is not None: + pulumi.set(__self__, "name", name) + if network_id is not None: + pulumi.set(__self__, "network_id", network_id) + if nic_type is not None: + pulumi.set(__self__, "nic_type", nic_type) + if power_on_boot is not None: + pulumi.set(__self__, "power_on_boot", power_on_boot) + + @property + @pulumi.getter(name="deviceKey") + def device_key(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the device key value. + """ + return pulumi.get(self, "device_key") + + @device_key.setter + def device_key(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "device_key", value) + + @property + @pulumi.getter(name="ipSettings") + def ip_settings(self) -> Optional[pulumi.Input['NicIPSettingsArgs']]: + """ + Gets or sets the ipsettings. + """ + return pulumi.get(self, "ip_settings") + + @ip_settings.setter + def ip_settings(self, value: Optional[pulumi.Input['NicIPSettingsArgs']]): + pulumi.set(self, "ip_settings", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the name of the network interface. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="networkId") + def network_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the network resource to connect the virtual machine. + """ + return pulumi.get(self, "network_id") + + @network_id.setter + def network_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_id", value) + + @property + @pulumi.getter(name="nicType") + def nic_type(self) -> Optional[pulumi.Input[Union[str, 'NICType']]]: + """ + NIC type + """ + return pulumi.get(self, "nic_type") + + @nic_type.setter + def nic_type(self, value: Optional[pulumi.Input[Union[str, 'NICType']]]): + pulumi.set(self, "nic_type", value) + + @property + @pulumi.getter(name="powerOnBoot") + def power_on_boot(self) -> Optional[pulumi.Input[Union[str, 'PowerOnBootOption']]]: + """ + Gets or sets the power on boot. + """ + return pulumi.get(self, "power_on_boot") + + @power_on_boot.setter + def power_on_boot(self, value: Optional[pulumi.Input[Union[str, 'PowerOnBootOption']]]): + pulumi.set(self, "power_on_boot", value) + + +@pulumi.input_type +class NetworkProfileArgs: + def __init__(__self__, *, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArgs']]]] = None): + """ + Specifies the network interfaces of the virtual machine. + :param pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArgs']]] network_interfaces: Gets or sets the list of network interfaces associated with the virtual machine. + """ + if network_interfaces is not None: + pulumi.set(__self__, "network_interfaces", network_interfaces) + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArgs']]]]: + """ + Gets or sets the list of network interfaces associated with the virtual machine. + """ + return pulumi.get(self, "network_interfaces") + + @network_interfaces.setter + def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArgs']]]]): + pulumi.set(self, "network_interfaces", value) + + +@pulumi.input_type +class NicIPSettingsArgs: + def __init__(__self__, *, + allocation_method: Optional[pulumi.Input[Union[str, 'IPAddressAllocationMethod']]] = None, + dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + gateway: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + subnet_mask: Optional[pulumi.Input[str]] = None): + """ + Defines the network interface ip settings. + :param pulumi.Input[Union[str, 'IPAddressAllocationMethod']] allocation_method: Gets or sets the nic allocation method. + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers: Gets or sets the dns servers. + :param pulumi.Input[Sequence[pulumi.Input[str]]] gateway: Gets or sets the gateway. + :param pulumi.Input[str] ip_address: Gets or sets the ip address for the nic. + :param pulumi.Input[str] subnet_mask: Gets or sets the mask. + """ + if allocation_method is not None: + pulumi.set(__self__, "allocation_method", allocation_method) + if dns_servers is not None: + pulumi.set(__self__, "dns_servers", dns_servers) + if gateway is not None: + pulumi.set(__self__, "gateway", gateway) + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + if subnet_mask is not None: + pulumi.set(__self__, "subnet_mask", subnet_mask) + + @property + @pulumi.getter(name="allocationMethod") + def allocation_method(self) -> Optional[pulumi.Input[Union[str, 'IPAddressAllocationMethod']]]: + """ + Gets or sets the nic allocation method. + """ + return pulumi.get(self, "allocation_method") + + @allocation_method.setter + def allocation_method(self, value: Optional[pulumi.Input[Union[str, 'IPAddressAllocationMethod']]]): + pulumi.set(self, "allocation_method", value) + + @property + @pulumi.getter(name="dnsServers") + def dns_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the dns servers. + """ + return pulumi.get(self, "dns_servers") + + @dns_servers.setter + def dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dns_servers", value) + + @property + @pulumi.getter + def gateway(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the gateway. + """ + return pulumi.get(self, "gateway") + + @gateway.setter + def gateway(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "gateway", value) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ip address for the nic. + """ + return pulumi.get(self, "ip_address") + + @ip_address.setter + def ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address", value) + + @property + @pulumi.getter(name="subnetMask") + def subnet_mask(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the mask. + """ + return pulumi.get(self, "subnet_mask") + + @subnet_mask.setter + def subnet_mask(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_mask", value) + + +@pulumi.input_type +class OsProfileForVMInstanceArgs: + def __init__(__self__, *, + admin_password: Optional[pulumi.Input[str]] = None, + admin_username: Optional[pulumi.Input[str]] = None, + computer_name: Optional[pulumi.Input[str]] = None, + guest_id: Optional[pulumi.Input[str]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OsType']]] = None): + """ + Specifies the operating system settings for the virtual machine. + :param pulumi.Input[str] admin_password: Sets administrator password. + :param pulumi.Input[str] admin_username: Gets or sets administrator username. + :param pulumi.Input[str] computer_name: Gets or sets computer name. + :param pulumi.Input[str] guest_id: Gets or sets the guestId. + :param pulumi.Input[Union[str, 'OsType']] os_type: Gets or sets the type of the os. + """ + if admin_password is not None: + pulumi.set(__self__, "admin_password", admin_password) + if admin_username is not None: + pulumi.set(__self__, "admin_username", admin_username) + if computer_name is not None: + pulumi.set(__self__, "computer_name", computer_name) + if guest_id is not None: + pulumi.set(__self__, "guest_id", guest_id) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> Optional[pulumi.Input[str]]: + """ + Sets administrator password. + """ + return pulumi.get(self, "admin_password") + + @admin_password.setter + def admin_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "admin_password", value) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets administrator username. + """ + return pulumi.get(self, "admin_username") + + @admin_username.setter + def admin_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "admin_username", value) + + @property + @pulumi.getter(name="computerName") + def computer_name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets computer name. + """ + return pulumi.get(self, "computer_name") + + @computer_name.setter + def computer_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "computer_name", value) + + @property + @pulumi.getter(name="guestId") + def guest_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the guestId. + """ + return pulumi.get(self, "guest_id") + + @guest_id.setter + def guest_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "guest_id", value) + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[pulumi.Input[Union[str, 'OsType']]]: + """ + Gets or sets the type of the os. + """ + return pulumi.get(self, "os_type") + + @os_type.setter + def os_type(self, value: Optional[pulumi.Input[Union[str, 'OsType']]]): + pulumi.set(self, "os_type", value) + + +@pulumi.input_type +class PlacementProfileArgs: + def __init__(__self__, *, + cluster_id: Optional[pulumi.Input[str]] = None, + datastore_id: Optional[pulumi.Input[str]] = None, + host_id: Optional[pulumi.Input[str]] = None, + resource_pool_id: Optional[pulumi.Input[str]] = None): + """ + Specifies the compute and storage placement settings for the virtual machine. + :param pulumi.Input[str] cluster_id: Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + :param pulumi.Input[str] datastore_id: Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + :param pulumi.Input[str] host_id: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + :param pulumi.Input[str] resource_pool_id: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + """ + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if datastore_id is not None: + pulumi.set(__self__, "datastore_id", datastore_id) + if host_id is not None: + pulumi.set(__self__, "host_id", host_id) + if resource_pool_id is not None: + pulumi.set(__self__, "resource_pool_id", resource_pool_id) + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + """ + return pulumi.get(self, "cluster_id") + + @cluster_id.setter + def cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_id", value) + + @property + @pulumi.getter(name="datastoreId") + def datastore_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + """ + return pulumi.get(self, "datastore_id") + + @datastore_id.setter + def datastore_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "datastore_id", value) + + @property + @pulumi.getter(name="hostId") + def host_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + """ + return pulumi.get(self, "host_id") + + @host_id.setter + def host_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_id", value) + + @property + @pulumi.getter(name="resourcePoolId") + def resource_pool_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + """ + return pulumi.get(self, "resource_pool_id") + + @resource_pool_id.setter + def resource_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_pool_id", value) + + +@pulumi.input_type +class SecurityProfileArgs: + def __init__(__self__, *, + uefi_settings: Optional[pulumi.Input['UefiSettingsArgs']] = None): + """ + Specifies the Security profile settings for the virtual machine. + :param pulumi.Input['UefiSettingsArgs'] uefi_settings: Specifies the security settings like secure boot used while creating the virtual machine. + """ + if uefi_settings is not None: + pulumi.set(__self__, "uefi_settings", uefi_settings) + + @property + @pulumi.getter(name="uefiSettings") + def uefi_settings(self) -> Optional[pulumi.Input['UefiSettingsArgs']]: + """ + Specifies the security settings like secure boot used while creating the virtual machine. + """ + return pulumi.get(self, "uefi_settings") + + @uefi_settings.setter + def uefi_settings(self, value: Optional[pulumi.Input['UefiSettingsArgs']]): + pulumi.set(self, "uefi_settings", value) + + +@pulumi.input_type +class StorageProfileArgs: + def __init__(__self__, *, + disks: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualDiskArgs']]]] = None): + """ + Specifies the storage settings for the virtual machine disks. + :param pulumi.Input[Sequence[pulumi.Input['VirtualDiskArgs']]] disks: Gets or sets the list of virtual disks associated with the virtual machine. + """ + if disks is not None: + pulumi.set(__self__, "disks", disks) + + @property + @pulumi.getter + def disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualDiskArgs']]]]: + """ + Gets or sets the list of virtual disks associated with the virtual machine. + """ + return pulumi.get(self, "disks") + + @disks.setter + def disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualDiskArgs']]]]): + pulumi.set(self, "disks", value) + + +@pulumi.input_type +class UefiSettingsArgs: + def __init__(__self__, *, + secure_boot_enabled: Optional[pulumi.Input[bool]] = None): + """ + Specifies the security settings like secure boot used while creating the virtual machine. + :param pulumi.Input[bool] secure_boot_enabled: Specifies whether secure boot should be enabled on the virtual machine. + """ + if secure_boot_enabled is not None: + pulumi.set(__self__, "secure_boot_enabled", secure_boot_enabled) + + @property + @pulumi.getter(name="secureBootEnabled") + def secure_boot_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies whether secure boot should be enabled on the virtual machine. + """ + return pulumi.get(self, "secure_boot_enabled") + + @secure_boot_enabled.setter + def secure_boot_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "secure_boot_enabled", value) + + +@pulumi.input_type +class VICredentialArgs: + def __init__(__self__, *, + password: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Username / Password Credentials to connect to vcenter. + :param pulumi.Input[str] password: Gets or sets the password to connect with the vCenter. + :param pulumi.Input[str] username: Gets or sets username to connect with the vCenter. + """ + if password is not None: + pulumi.set(__self__, "password", password) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the password to connect with the vCenter. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets username to connect with the vCenter. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +@pulumi.input_type +class VirtualDiskArgs: + def __init__(__self__, *, + controller_key: Optional[pulumi.Input[int]] = None, + device_key: Optional[pulumi.Input[int]] = None, + device_name: Optional[pulumi.Input[str]] = None, + disk_mode: Optional[pulumi.Input[Union[str, 'DiskMode']]] = None, + disk_size_gb: Optional[pulumi.Input[int]] = None, + disk_type: Optional[pulumi.Input[Union[str, 'DiskType']]] = None, + name: Optional[pulumi.Input[str]] = None, + unit_number: Optional[pulumi.Input[int]] = None): + """ + Virtual disk model + :param pulumi.Input[int] controller_key: Gets or sets the controller id. + :param pulumi.Input[int] device_key: Gets or sets the device key value. + :param pulumi.Input[str] device_name: Gets or sets the device name. + :param pulumi.Input[Union[str, 'DiskMode']] disk_mode: Gets or sets the disk mode. + :param pulumi.Input[int] disk_size_gb: Gets or sets the disk total size. + :param pulumi.Input[Union[str, 'DiskType']] disk_type: Gets or sets the disk backing type. + :param pulumi.Input[str] name: Gets or sets the name of the virtual disk. + :param pulumi.Input[int] unit_number: Gets or sets the unit number of the disk on the controller. + """ + if controller_key is not None: + pulumi.set(__self__, "controller_key", controller_key) + if device_key is not None: + pulumi.set(__self__, "device_key", device_key) + if device_name is not None: + pulumi.set(__self__, "device_name", device_name) + if disk_mode is not None: + pulumi.set(__self__, "disk_mode", disk_mode) + if disk_size_gb is not None: + pulumi.set(__self__, "disk_size_gb", disk_size_gb) + if disk_type is not None: + pulumi.set(__self__, "disk_type", disk_type) + if name is not None: + pulumi.set(__self__, "name", name) + if unit_number is not None: + pulumi.set(__self__, "unit_number", unit_number) + + @property + @pulumi.getter(name="controllerKey") + def controller_key(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the controller id. + """ + return pulumi.get(self, "controller_key") + + @controller_key.setter + def controller_key(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "controller_key", value) + + @property + @pulumi.getter(name="deviceKey") + def device_key(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the device key value. + """ + return pulumi.get(self, "device_key") + + @device_key.setter + def device_key(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "device_key", value) + + @property + @pulumi.getter(name="deviceName") + def device_name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the device name. + """ + return pulumi.get(self, "device_name") + + @device_name.setter + def device_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "device_name", value) + + @property + @pulumi.getter(name="diskMode") + def disk_mode(self) -> Optional[pulumi.Input[Union[str, 'DiskMode']]]: + """ + Gets or sets the disk mode. + """ + return pulumi.get(self, "disk_mode") + + @disk_mode.setter + def disk_mode(self, value: Optional[pulumi.Input[Union[str, 'DiskMode']]]): + pulumi.set(self, "disk_mode", value) + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the disk total size. + """ + return pulumi.get(self, "disk_size_gb") + + @disk_size_gb.setter + def disk_size_gb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "disk_size_gb", value) + + @property + @pulumi.getter(name="diskType") + def disk_type(self) -> Optional[pulumi.Input[Union[str, 'DiskType']]]: + """ + Gets or sets the disk backing type. + """ + return pulumi.get(self, "disk_type") + + @disk_type.setter + def disk_type(self, value: Optional[pulumi.Input[Union[str, 'DiskType']]]): + pulumi.set(self, "disk_type", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the name of the virtual disk. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="unitNumber") + def unit_number(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the unit number of the disk on the controller. + """ + return pulumi.get(self, "unit_number") + + @unit_number.setter + def unit_number(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "unit_number", value) + + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/cluster.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/cluster.py new file mode 100644 index 000000000000..2a799a878c5f --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/cluster.py @@ -0,0 +1,478 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ClusterArgs', 'Cluster'] + +@pulumi.input_type +class ClusterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + cluster_name: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Cluster resource. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[str] cluster_name: Name of the cluster. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the cluster. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the cluster. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + +class Cluster(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Define the cluster. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: Name of the cluster. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the cluster. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ClusterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the cluster. + + :param str resource_name: The name of the resource. + :param ClusterArgs 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(ClusterArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_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__ = ClusterArgs.__new__(ClusterArgs) + + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["inventory_item_id"] = inventory_item_id + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["mo_ref_id"] = mo_ref_id + 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 + __props__.__dict__["v_center_id"] = v_center_id + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["datastore_ids"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_ids"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["total_cpu_m_hz"] = None + __props__.__dict__["total_memory_gb"] = None + __props__.__dict__["type"] = None + __props__.__dict__["used_cpu_m_hz"] = None + __props__.__dict__["used_memory_gb"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Cluster"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Cluster")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Cluster, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:Cluster', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Cluster': + """ + Get an existing Cluster 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ClusterArgs.__new__(ClusterArgs) + + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["datastore_ids"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["inventory_item_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_ids"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["total_cpu_m_hz"] = None + __props__.__dict__["total_memory_gb"] = None + __props__.__dict__["type"] = None + __props__.__dict__["used_cpu_m_hz"] = None + __props__.__dict__["used_memory_gb"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["v_center_id"] = None + return Cluster(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="datastoreIds") + def datastore_ids(self) -> pulumi.Output[Sequence[str]]: + """ + Gets the datastore ARM ids. + """ + return pulumi.get(self, "datastore_ids") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the inventory Item ID for the cluster. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[str]: + """ + Gets or sets the vCenter Managed Object name for the cluster. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkIds") + def network_ids(self) -> pulumi.Output[Sequence[str]]: + """ + Gets the network ARM ids. + """ + return pulumi.get(self, "network_ids") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalCpuMHz") + def total_cpu_m_hz(self) -> pulumi.Output[float]: + """ + Gets the max CPU usage across all cores on the cluster in MHz. + """ + return pulumi.get(self, "total_cpu_m_hz") + + @property + @pulumi.getter(name="totalMemoryGB") + def total_memory_gb(self) -> pulumi.Output[float]: + """ + Gets the total amount of physical memory on the cluster in GB. + """ + return pulumi.get(self, "total_memory_gb") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="usedCpuMHz") + def used_cpu_m_hz(self) -> pulumi.Output[float]: + """ + Gets the used CPU usage across all cores on the cluster in MHz. + """ + return pulumi.get(self, "used_cpu_m_hz") + + @property + @pulumi.getter(name="usedMemoryGB") + def used_memory_gb(self) -> pulumi.Output[float]: + """ + Gets the used physical memory on the cluster in GB. + """ + return pulumi.get(self, "used_memory_gb") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + """ + return pulumi.get(self, "v_center_id") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/datastore.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/datastore.py new file mode 100644 index 000000000000..096d215bd88e --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/datastore.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['DatastoreArgs', 'Datastore'] + +@pulumi.input_type +class DatastoreArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + datastore_name: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Datastore resource. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[str] datastore_name: Name of the datastore. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the datastore. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if datastore_name is not None: + pulumi.set(__self__, "datastore_name", datastore_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="datastoreName") + def datastore_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the datastore. + """ + return pulumi.get(self, "datastore_name") + + @datastore_name.setter + def datastore_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "datastore_name", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the datastore. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + +class Datastore(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + datastore_name: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Define the datastore. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] datastore_name: Name of the datastore. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the datastore. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DatastoreArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the datastore. + + :param str resource_name: The name of the resource. + :param DatastoreArgs 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(DatastoreArgs, 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, + datastore_name: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_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__ = DatastoreArgs.__new__(DatastoreArgs) + + __props__.__dict__["datastore_name"] = datastore_name + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["inventory_item_id"] = inventory_item_id + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["mo_ref_id"] = mo_ref_id + 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 + __props__.__dict__["v_center_id"] = v_center_id + __props__.__dict__["capacity_gb"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["free_space_gb"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Datastore"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Datastore")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Datastore, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:Datastore', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Datastore': + """ + Get an existing Datastore 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DatastoreArgs.__new__(DatastoreArgs) + + __props__.__dict__["capacity_gb"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["free_space_gb"] = None + __props__.__dict__["inventory_item_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["v_center_id"] = None + return Datastore(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="capacityGB") + def capacity_gb(self) -> pulumi.Output[float]: + """ + Gets or sets Maximum capacity of this datastore in GBs. + """ + return pulumi.get(self, "capacity_gb") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="freeSpaceGB") + def free_space_gb(self) -> pulumi.Output[float]: + """ + Gets or sets Available space of this datastore in GBs. + """ + return pulumi.get(self, "free_space_gb") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the inventory Item ID for the datastore. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[str]: + """ + Gets or sets the vCenter Managed Object name for the datastore. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + """ + return pulumi.get(self, "v_center_id") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_cluster.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_cluster.py new file mode 100644 index 000000000000..af3f72a71ee9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_cluster.py @@ -0,0 +1,352 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetClusterResult', + 'AwaitableGetClusterResult', + 'get_cluster', + 'get_cluster_output', +] + +@pulumi.output_type +class GetClusterResult: + """ + Define the cluster. + """ + def __init__(__self__, custom_resource_name=None, datastore_ids=None, extended_location=None, id=None, inventory_item_id=None, kind=None, location=None, mo_name=None, mo_ref_id=None, name=None, network_ids=None, provisioning_state=None, statuses=None, system_data=None, tags=None, total_cpu_m_hz=None, total_memory_gb=None, type=None, used_cpu_m_hz=None, used_memory_gb=None, uuid=None, v_center_id=None): + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if datastore_ids and not isinstance(datastore_ids, list): + raise TypeError("Expected argument 'datastore_ids' to be a list") + pulumi.set(__self__, "datastore_ids", datastore_ids) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_item_id and not isinstance(inventory_item_id, str): + raise TypeError("Expected argument 'inventory_item_id' to be a str") + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_ids and not isinstance(network_ids, list): + raise TypeError("Expected argument 'network_ids' to be a list") + pulumi.set(__self__, "network_ids", network_ids) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if total_cpu_m_hz and not isinstance(total_cpu_m_hz, float): + raise TypeError("Expected argument 'total_cpu_m_hz' to be a float") + pulumi.set(__self__, "total_cpu_m_hz", total_cpu_m_hz) + if total_memory_gb and not isinstance(total_memory_gb, float): + raise TypeError("Expected argument 'total_memory_gb' to be a float") + pulumi.set(__self__, "total_memory_gb", total_memory_gb) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if used_cpu_m_hz and not isinstance(used_cpu_m_hz, float): + raise TypeError("Expected argument 'used_cpu_m_hz' to be a float") + pulumi.set(__self__, "used_cpu_m_hz", used_cpu_m_hz) + if used_memory_gb and not isinstance(used_memory_gb, float): + raise TypeError("Expected argument 'used_memory_gb' to be a float") + pulumi.set(__self__, "used_memory_gb", used_memory_gb) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if v_center_id and not isinstance(v_center_id, str): + raise TypeError("Expected argument 'v_center_id' to be a str") + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="datastoreIds") + def datastore_ids(self) -> Sequence[str]: + """ + Gets the datastore ARM ids. + """ + return pulumi.get(self, "datastore_ids") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the cluster. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the cluster. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkIds") + def network_ids(self) -> Sequence[str]: + """ + Gets the network ARM ids. + """ + return pulumi.get(self, "network_ids") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalCpuMHz") + def total_cpu_m_hz(self) -> float: + """ + Gets the max CPU usage across all cores on the cluster in MHz. + """ + return pulumi.get(self, "total_cpu_m_hz") + + @property + @pulumi.getter(name="totalMemoryGB") + def total_memory_gb(self) -> float: + """ + Gets the total amount of physical memory on the cluster in GB. + """ + return pulumi.get(self, "total_memory_gb") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="usedCpuMHz") + def used_cpu_m_hz(self) -> float: + """ + Gets the used CPU usage across all cores on the cluster in MHz. + """ + return pulumi.get(self, "used_cpu_m_hz") + + @property + @pulumi.getter(name="usedMemoryGB") + def used_memory_gb(self) -> float: + """ + Gets the used physical memory on the cluster in GB. + """ + return pulumi.get(self, "used_memory_gb") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this cluster resides. + """ + return pulumi.get(self, "v_center_id") + + +class AwaitableGetClusterResult(GetClusterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetClusterResult( + custom_resource_name=self.custom_resource_name, + datastore_ids=self.datastore_ids, + extended_location=self.extended_location, + id=self.id, + inventory_item_id=self.inventory_item_id, + kind=self.kind, + location=self.location, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + network_ids=self.network_ids, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + total_cpu_m_hz=self.total_cpu_m_hz, + total_memory_gb=self.total_memory_gb, + type=self.type, + used_cpu_m_hz=self.used_cpu_m_hz, + used_memory_gb=self.used_memory_gb, + uuid=self.uuid, + v_center_id=self.v_center_id) + + +def get_cluster(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterResult: + """ + Implements cluster GET method. + + + :param str cluster_name: Name of the cluster. + :param str resource_group_name: The Resource Group Name. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getCluster', __args__, opts=opts, typ=GetClusterResult).value + + return AwaitableGetClusterResult( + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + datastore_ids=pulumi.get(__ret__, 'datastore_ids'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + inventory_item_id=pulumi.get(__ret__, 'inventory_item_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + network_ids=pulumi.get(__ret__, 'network_ids'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + total_cpu_m_hz=pulumi.get(__ret__, 'total_cpu_m_hz'), + total_memory_gb=pulumi.get(__ret__, 'total_memory_gb'), + type=pulumi.get(__ret__, 'type'), + used_cpu_m_hz=pulumi.get(__ret__, 'used_cpu_m_hz'), + used_memory_gb=pulumi.get(__ret__, 'used_memory_gb'), + uuid=pulumi.get(__ret__, 'uuid'), + v_center_id=pulumi.get(__ret__, 'v_center_id')) + + +@_utilities.lift_output_func(get_cluster) +def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: + """ + Implements cluster GET method. + + + :param str cluster_name: Name of the cluster. + :param str resource_group_name: The Resource Group Name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_datastore.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_datastore.py new file mode 100644 index 000000000000..41c3f4c0d569 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_datastore.py @@ -0,0 +1,300 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDatastoreResult', + 'AwaitableGetDatastoreResult', + 'get_datastore', + 'get_datastore_output', +] + +@pulumi.output_type +class GetDatastoreResult: + """ + Define the datastore. + """ + def __init__(__self__, capacity_gb=None, custom_resource_name=None, extended_location=None, free_space_gb=None, id=None, inventory_item_id=None, kind=None, location=None, mo_name=None, mo_ref_id=None, name=None, provisioning_state=None, statuses=None, system_data=None, tags=None, type=None, uuid=None, v_center_id=None): + if capacity_gb and not isinstance(capacity_gb, float): + raise TypeError("Expected argument 'capacity_gb' to be a float") + pulumi.set(__self__, "capacity_gb", capacity_gb) + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if free_space_gb and not isinstance(free_space_gb, float): + raise TypeError("Expected argument 'free_space_gb' to be a float") + pulumi.set(__self__, "free_space_gb", free_space_gb) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_item_id and not isinstance(inventory_item_id, str): + raise TypeError("Expected argument 'inventory_item_id' to be a str") + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if v_center_id and not isinstance(v_center_id, str): + raise TypeError("Expected argument 'v_center_id' to be a str") + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="capacityGB") + def capacity_gb(self) -> float: + """ + Gets or sets Maximum capacity of this datastore in GBs. + """ + return pulumi.get(self, "capacity_gb") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="freeSpaceGB") + def free_space_gb(self) -> float: + """ + Gets or sets Available space of this datastore in GBs. + """ + return pulumi.get(self, "free_space_gb") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the datastore. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the datastore. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this datastore resides. + """ + return pulumi.get(self, "v_center_id") + + +class AwaitableGetDatastoreResult(GetDatastoreResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDatastoreResult( + capacity_gb=self.capacity_gb, + custom_resource_name=self.custom_resource_name, + extended_location=self.extended_location, + free_space_gb=self.free_space_gb, + id=self.id, + inventory_item_id=self.inventory_item_id, + kind=self.kind, + location=self.location, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + type=self.type, + uuid=self.uuid, + v_center_id=self.v_center_id) + + +def get_datastore(datastore_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatastoreResult: + """ + Implements datastore GET method. + + + :param str datastore_name: Name of the datastore. + :param str resource_group_name: The Resource Group Name. + """ + __args__ = dict() + __args__['datastoreName'] = datastore_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getDatastore', __args__, opts=opts, typ=GetDatastoreResult).value + + return AwaitableGetDatastoreResult( + capacity_gb=pulumi.get(__ret__, 'capacity_gb'), + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + extended_location=pulumi.get(__ret__, 'extended_location'), + free_space_gb=pulumi.get(__ret__, 'free_space_gb'), + id=pulumi.get(__ret__, 'id'), + inventory_item_id=pulumi.get(__ret__, 'inventory_item_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + v_center_id=pulumi.get(__ret__, 'v_center_id')) + + +@_utilities.lift_output_func(get_datastore) +def get_datastore_output(datastore_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatastoreResult]: + """ + Implements datastore GET method. + + + :param str datastore_name: Name of the datastore. + :param str resource_group_name: The Resource Group Name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_host.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_host.py new file mode 100644 index 000000000000..46d7c60f0ead --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_host.py @@ -0,0 +1,352 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetHostResult', + 'AwaitableGetHostResult', + 'get_host', + 'get_host_output', +] + +@pulumi.output_type +class GetHostResult: + """ + Define the host. + """ + def __init__(__self__, cpu_mhz=None, custom_resource_name=None, datastore_ids=None, extended_location=None, id=None, inventory_item_id=None, kind=None, location=None, memory_size_gb=None, mo_name=None, mo_ref_id=None, name=None, network_ids=None, overall_cpu_usage_m_hz=None, overall_memory_usage_gb=None, provisioning_state=None, statuses=None, system_data=None, tags=None, type=None, uuid=None, v_center_id=None): + if cpu_mhz and not isinstance(cpu_mhz, float): + raise TypeError("Expected argument 'cpu_mhz' to be a float") + pulumi.set(__self__, "cpu_mhz", cpu_mhz) + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if datastore_ids and not isinstance(datastore_ids, list): + raise TypeError("Expected argument 'datastore_ids' to be a list") + pulumi.set(__self__, "datastore_ids", datastore_ids) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_item_id and not isinstance(inventory_item_id, str): + raise TypeError("Expected argument 'inventory_item_id' to be a str") + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if memory_size_gb and not isinstance(memory_size_gb, float): + raise TypeError("Expected argument 'memory_size_gb' to be a float") + pulumi.set(__self__, "memory_size_gb", memory_size_gb) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_ids and not isinstance(network_ids, list): + raise TypeError("Expected argument 'network_ids' to be a list") + pulumi.set(__self__, "network_ids", network_ids) + if overall_cpu_usage_m_hz and not isinstance(overall_cpu_usage_m_hz, float): + raise TypeError("Expected argument 'overall_cpu_usage_m_hz' to be a float") + pulumi.set(__self__, "overall_cpu_usage_m_hz", overall_cpu_usage_m_hz) + if overall_memory_usage_gb and not isinstance(overall_memory_usage_gb, float): + raise TypeError("Expected argument 'overall_memory_usage_gb' to be a float") + pulumi.set(__self__, "overall_memory_usage_gb", overall_memory_usage_gb) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if v_center_id and not isinstance(v_center_id, str): + raise TypeError("Expected argument 'v_center_id' to be a str") + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="cpuMhz") + def cpu_mhz(self) -> float: + """ + Gets the max CPU usage across all cores in MHz. + """ + return pulumi.get(self, "cpu_mhz") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="datastoreIds") + def datastore_ids(self) -> Sequence[str]: + """ + Gets the datastore ARM ids. + """ + return pulumi.get(self, "datastore_ids") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the host. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="memorySizeGB") + def memory_size_gb(self) -> float: + """ + Gets the total amount of physical memory on the host in GB. + """ + return pulumi.get(self, "memory_size_gb") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the host. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkIds") + def network_ids(self) -> Sequence[str]: + """ + Gets the network ARM ids. + """ + return pulumi.get(self, "network_ids") + + @property + @pulumi.getter(name="overallCpuUsageMHz") + def overall_cpu_usage_m_hz(self) -> float: + """ + Gets the used CPU usage across all cores in MHz. + """ + return pulumi.get(self, "overall_cpu_usage_m_hz") + + @property + @pulumi.getter(name="overallMemoryUsageGB") + def overall_memory_usage_gb(self) -> float: + """ + Gets the used physical memory on the host in GB. + """ + return pulumi.get(self, "overall_memory_usage_gb") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this host resides. + """ + return pulumi.get(self, "v_center_id") + + +class AwaitableGetHostResult(GetHostResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetHostResult( + cpu_mhz=self.cpu_mhz, + custom_resource_name=self.custom_resource_name, + datastore_ids=self.datastore_ids, + extended_location=self.extended_location, + id=self.id, + inventory_item_id=self.inventory_item_id, + kind=self.kind, + location=self.location, + memory_size_gb=self.memory_size_gb, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + network_ids=self.network_ids, + overall_cpu_usage_m_hz=self.overall_cpu_usage_m_hz, + overall_memory_usage_gb=self.overall_memory_usage_gb, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + type=self.type, + uuid=self.uuid, + v_center_id=self.v_center_id) + + +def get_host(host_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostResult: + """ + Implements host GET method. + + + :param str host_name: Name of the host. + :param str resource_group_name: The Resource Group Name. + """ + __args__ = dict() + __args__['hostName'] = host_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getHost', __args__, opts=opts, typ=GetHostResult).value + + return AwaitableGetHostResult( + cpu_mhz=pulumi.get(__ret__, 'cpu_mhz'), + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + datastore_ids=pulumi.get(__ret__, 'datastore_ids'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + inventory_item_id=pulumi.get(__ret__, 'inventory_item_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + memory_size_gb=pulumi.get(__ret__, 'memory_size_gb'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + network_ids=pulumi.get(__ret__, 'network_ids'), + overall_cpu_usage_m_hz=pulumi.get(__ret__, 'overall_cpu_usage_m_hz'), + overall_memory_usage_gb=pulumi.get(__ret__, 'overall_memory_usage_gb'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + v_center_id=pulumi.get(__ret__, 'v_center_id')) + + +@_utilities.lift_output_func(get_host) +def get_host_output(host_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostResult]: + """ + Implements host GET method. + + + :param str host_name: Name of the host. + :param str resource_group_name: The Resource Group Name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_inventory_item.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_inventory_item.py new file mode 100644 index 000000000000..27b39f3a0d2d --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_inventory_item.py @@ -0,0 +1,201 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetInventoryItemResult', + 'AwaitableGetInventoryItemResult', + 'get_inventory_item', + 'get_inventory_item_output', +] + +@pulumi.output_type +class GetInventoryItemResult: + """ + Defines the inventory item. + """ + def __init__(__self__, id=None, inventory_type=None, kind=None, managed_resource_id=None, mo_name=None, mo_ref_id=None, name=None, provisioning_state=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_type and not isinstance(inventory_type, str): + raise TypeError("Expected argument 'inventory_type' to be a str") + pulumi.set(__self__, "inventory_type", inventory_type) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if managed_resource_id and not isinstance(managed_resource_id, str): + raise TypeError("Expected argument 'managed_resource_id' to be a str") + pulumi.set(__self__, "managed_resource_id", managed_resource_id) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryType") + def inventory_type(self) -> str: + """ + They inventory type. + """ + return pulumi.get(self, "inventory_type") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="managedResourceId") + def managed_resource_id(self) -> Optional[str]: + """ + Gets or sets the tracked resource id corresponding to the inventory resource. + """ + return pulumi.get(self, "managed_resource_id") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> Optional[str]: + """ + Gets or sets the vCenter Managed Object name for the inventory item. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetInventoryItemResult(GetInventoryItemResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetInventoryItemResult( + id=self.id, + inventory_type=self.inventory_type, + kind=self.kind, + managed_resource_id=self.managed_resource_id, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_inventory_item(inventory_item_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + vcenter_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInventoryItemResult: + """ + Implements InventoryItem GET method. + + + :param str inventory_item_name: Name of the inventoryItem. + :param str resource_group_name: The Resource Group Name. + :param str vcenter_name: Name of the vCenter. + """ + __args__ = dict() + __args__['inventoryItemName'] = inventory_item_name + __args__['resourceGroupName'] = resource_group_name + __args__['vcenterName'] = vcenter_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getInventoryItem', __args__, opts=opts, typ=GetInventoryItemResult).value + + return AwaitableGetInventoryItemResult( + id=pulumi.get(__ret__, 'id'), + inventory_type=pulumi.get(__ret__, 'inventory_type'), + kind=pulumi.get(__ret__, 'kind'), + managed_resource_id=pulumi.get(__ret__, 'managed_resource_id'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_inventory_item) +def get_inventory_item_output(inventory_item_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInventoryItemResult]: + """ + Implements InventoryItem GET method. + + + :param str inventory_item_name: Name of the inventoryItem. + :param str resource_group_name: The Resource Group Name. + :param str vcenter_name: Name of the vCenter. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_resource_pool.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_resource_pool.py new file mode 100644 index 000000000000..ebf3e47d384f --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_resource_pool.py @@ -0,0 +1,436 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetResourcePoolResult', + 'AwaitableGetResourcePoolResult', + 'get_resource_pool', + 'get_resource_pool_output', +] + +@pulumi.output_type +class GetResourcePoolResult: + """ + Define the resourcePool. + """ + def __init__(__self__, cpu_capacity_m_hz=None, cpu_limit_m_hz=None, cpu_overall_usage_m_hz=None, cpu_reservation_m_hz=None, cpu_shares_level=None, custom_resource_name=None, datastore_ids=None, extended_location=None, id=None, inventory_item_id=None, kind=None, location=None, mem_capacity_gb=None, mem_limit_mb=None, mem_overall_usage_gb=None, mem_reservation_mb=None, mem_shares_level=None, mo_name=None, mo_ref_id=None, name=None, network_ids=None, provisioning_state=None, statuses=None, system_data=None, tags=None, type=None, uuid=None, v_center_id=None): + if cpu_capacity_m_hz and not isinstance(cpu_capacity_m_hz, float): + raise TypeError("Expected argument 'cpu_capacity_m_hz' to be a float") + pulumi.set(__self__, "cpu_capacity_m_hz", cpu_capacity_m_hz) + if cpu_limit_m_hz and not isinstance(cpu_limit_m_hz, float): + raise TypeError("Expected argument 'cpu_limit_m_hz' to be a float") + pulumi.set(__self__, "cpu_limit_m_hz", cpu_limit_m_hz) + if cpu_overall_usage_m_hz and not isinstance(cpu_overall_usage_m_hz, float): + raise TypeError("Expected argument 'cpu_overall_usage_m_hz' to be a float") + pulumi.set(__self__, "cpu_overall_usage_m_hz", cpu_overall_usage_m_hz) + if cpu_reservation_m_hz and not isinstance(cpu_reservation_m_hz, float): + raise TypeError("Expected argument 'cpu_reservation_m_hz' to be a float") + pulumi.set(__self__, "cpu_reservation_m_hz", cpu_reservation_m_hz) + if cpu_shares_level and not isinstance(cpu_shares_level, str): + raise TypeError("Expected argument 'cpu_shares_level' to be a str") + pulumi.set(__self__, "cpu_shares_level", cpu_shares_level) + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if datastore_ids and not isinstance(datastore_ids, list): + raise TypeError("Expected argument 'datastore_ids' to be a list") + pulumi.set(__self__, "datastore_ids", datastore_ids) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_item_id and not isinstance(inventory_item_id, str): + raise TypeError("Expected argument 'inventory_item_id' to be a str") + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if mem_capacity_gb and not isinstance(mem_capacity_gb, float): + raise TypeError("Expected argument 'mem_capacity_gb' to be a float") + pulumi.set(__self__, "mem_capacity_gb", mem_capacity_gb) + if mem_limit_mb and not isinstance(mem_limit_mb, float): + raise TypeError("Expected argument 'mem_limit_mb' to be a float") + pulumi.set(__self__, "mem_limit_mb", mem_limit_mb) + if mem_overall_usage_gb and not isinstance(mem_overall_usage_gb, float): + raise TypeError("Expected argument 'mem_overall_usage_gb' to be a float") + pulumi.set(__self__, "mem_overall_usage_gb", mem_overall_usage_gb) + if mem_reservation_mb and not isinstance(mem_reservation_mb, float): + raise TypeError("Expected argument 'mem_reservation_mb' to be a float") + pulumi.set(__self__, "mem_reservation_mb", mem_reservation_mb) + if mem_shares_level and not isinstance(mem_shares_level, str): + raise TypeError("Expected argument 'mem_shares_level' to be a str") + pulumi.set(__self__, "mem_shares_level", mem_shares_level) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_ids and not isinstance(network_ids, list): + raise TypeError("Expected argument 'network_ids' to be a list") + pulumi.set(__self__, "network_ids", network_ids) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if v_center_id and not isinstance(v_center_id, str): + raise TypeError("Expected argument 'v_center_id' to be a str") + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="cpuCapacityMHz") + def cpu_capacity_m_hz(self) -> float: + """ + Gets the max CPU usage across all cores on the pool in MHz. + """ + return pulumi.get(self, "cpu_capacity_m_hz") + + @property + @pulumi.getter(name="cpuLimitMHz") + def cpu_limit_m_hz(self) -> float: + """ + Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. + Utilization will not exceed this limit even if there are available resources. + """ + return pulumi.get(self, "cpu_limit_m_hz") + + @property + @pulumi.getter(name="cpuOverallUsageMHz") + def cpu_overall_usage_m_hz(self) -> float: + """ + Gets the used CPU usage across all cores on the pool in MHz. + """ + return pulumi.get(self, "cpu_overall_usage_m_hz") + + @property + @pulumi.getter(name="cpuReservationMHz") + def cpu_reservation_m_hz(self) -> float: + """ + Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed + to be available. + """ + return pulumi.get(self, "cpu_reservation_m_hz") + + @property + @pulumi.getter(name="cpuSharesLevel") + def cpu_shares_level(self) -> str: + """ + Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. + This property is used in relative allocation between resource consumers. + """ + return pulumi.get(self, "cpu_shares_level") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="datastoreIds") + def datastore_ids(self) -> Sequence[str]: + """ + Gets the datastore ARM ids. + """ + return pulumi.get(self, "datastore_ids") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the resource pool. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="memCapacityGB") + def mem_capacity_gb(self) -> float: + """ + Gets the total amount of physical memory on the pool in GB. + """ + return pulumi.get(self, "mem_capacity_gb") + + @property + @pulumi.getter(name="memLimitMB") + def mem_limit_mb(self) -> float: + """ + Gets or sets MemLimitMB specifies a memory usage limit in megabytes. + Utilization will not exceed the specified limit even if there are available resources. + """ + return pulumi.get(self, "mem_limit_mb") + + @property + @pulumi.getter(name="memOverallUsageGB") + def mem_overall_usage_gb(self) -> float: + """ + Gets the used physical memory on the pool in GB. + """ + return pulumi.get(self, "mem_overall_usage_gb") + + @property + @pulumi.getter(name="memReservationMB") + def mem_reservation_mb(self) -> float: + """ + Gets or sets MemReservationMB which specifies the guaranteed available memory in + megabytes. + """ + return pulumi.get(self, "mem_reservation_mb") + + @property + @pulumi.getter(name="memSharesLevel") + def mem_shares_level(self) -> str: + """ + Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. + This property is used in relative allocation between resource consumers. + """ + return pulumi.get(self, "mem_shares_level") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the resource pool. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkIds") + def network_ids(self) -> Sequence[str]: + """ + Gets the network ARM ids. + """ + return pulumi.get(self, "network_ids") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + return pulumi.get(self, "v_center_id") + + +class AwaitableGetResourcePoolResult(GetResourcePoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetResourcePoolResult( + cpu_capacity_m_hz=self.cpu_capacity_m_hz, + cpu_limit_m_hz=self.cpu_limit_m_hz, + cpu_overall_usage_m_hz=self.cpu_overall_usage_m_hz, + cpu_reservation_m_hz=self.cpu_reservation_m_hz, + cpu_shares_level=self.cpu_shares_level, + custom_resource_name=self.custom_resource_name, + datastore_ids=self.datastore_ids, + extended_location=self.extended_location, + id=self.id, + inventory_item_id=self.inventory_item_id, + kind=self.kind, + location=self.location, + mem_capacity_gb=self.mem_capacity_gb, + mem_limit_mb=self.mem_limit_mb, + mem_overall_usage_gb=self.mem_overall_usage_gb, + mem_reservation_mb=self.mem_reservation_mb, + mem_shares_level=self.mem_shares_level, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + network_ids=self.network_ids, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + type=self.type, + uuid=self.uuid, + v_center_id=self.v_center_id) + + +def get_resource_pool(resource_group_name: Optional[str] = None, + resource_pool_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourcePoolResult: + """ + Implements resourcePool GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str resource_pool_name: Name of the resourcePool. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourcePoolName'] = resource_pool_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getResourcePool', __args__, opts=opts, typ=GetResourcePoolResult).value + + return AwaitableGetResourcePoolResult( + cpu_capacity_m_hz=pulumi.get(__ret__, 'cpu_capacity_m_hz'), + cpu_limit_m_hz=pulumi.get(__ret__, 'cpu_limit_m_hz'), + cpu_overall_usage_m_hz=pulumi.get(__ret__, 'cpu_overall_usage_m_hz'), + cpu_reservation_m_hz=pulumi.get(__ret__, 'cpu_reservation_m_hz'), + cpu_shares_level=pulumi.get(__ret__, 'cpu_shares_level'), + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + datastore_ids=pulumi.get(__ret__, 'datastore_ids'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + inventory_item_id=pulumi.get(__ret__, 'inventory_item_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + mem_capacity_gb=pulumi.get(__ret__, 'mem_capacity_gb'), + mem_limit_mb=pulumi.get(__ret__, 'mem_limit_mb'), + mem_overall_usage_gb=pulumi.get(__ret__, 'mem_overall_usage_gb'), + mem_reservation_mb=pulumi.get(__ret__, 'mem_reservation_mb'), + mem_shares_level=pulumi.get(__ret__, 'mem_shares_level'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + network_ids=pulumi.get(__ret__, 'network_ids'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + v_center_id=pulumi.get(__ret__, 'v_center_id')) + + +@_utilities.lift_output_func(get_resource_pool) +def get_resource_pool_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_pool_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePoolResult]: + """ + Implements resourcePool GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str resource_pool_name: Name of the resourcePool. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_v_center.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_v_center.py new file mode 100644 index 000000000000..a331895df71e --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_v_center.py @@ -0,0 +1,300 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVCenterResult', + 'AwaitableGetVCenterResult', + 'get_v_center', + 'get_v_center_output', +] + +@pulumi.output_type +class GetVCenterResult: + """ + Defines the vCenter. + """ + def __init__(__self__, connection_status=None, credentials=None, custom_resource_name=None, extended_location=None, fqdn=None, id=None, instance_uuid=None, kind=None, location=None, name=None, port=None, provisioning_state=None, statuses=None, system_data=None, tags=None, type=None, uuid=None, version=None): + if connection_status and not isinstance(connection_status, str): + raise TypeError("Expected argument 'connection_status' to be a str") + pulumi.set(__self__, "connection_status", connection_status) + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if fqdn and not isinstance(fqdn, str): + raise TypeError("Expected argument 'fqdn' to be a str") + pulumi.set(__self__, "fqdn", fqdn) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if instance_uuid and not isinstance(instance_uuid, str): + raise TypeError("Expected argument 'instance_uuid' to be a str") + pulumi.set(__self__, "instance_uuid", instance_uuid) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if port and not isinstance(port, int): + raise TypeError("Expected argument 'port' to be a int") + pulumi.set(__self__, "port", port) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if version and not isinstance(version, str): + raise TypeError("Expected argument 'version' to be a str") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="connectionStatus") + def connection_status(self) -> str: + """ + Gets or sets the connection status to the vCenter. + """ + return pulumi.get(self, "connection_status") + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.VICredentialResponse']: + """ + Username / Password Credentials to connect to vcenter. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def fqdn(self) -> str: + """ + Gets or sets the FQDN/IPAddress of the vCenter. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="instanceUuid") + def instance_uuid(self) -> str: + """ + Gets or sets the instance UUID of the vCenter. + """ + return pulumi.get(self, "instance_uuid") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def port(self) -> Optional[int]: + """ + Gets or sets the port of the vCenter. + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter + def version(self) -> str: + """ + Gets or sets the version of the vCenter. + """ + return pulumi.get(self, "version") + + +class AwaitableGetVCenterResult(GetVCenterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVCenterResult( + connection_status=self.connection_status, + credentials=self.credentials, + custom_resource_name=self.custom_resource_name, + extended_location=self.extended_location, + fqdn=self.fqdn, + id=self.id, + instance_uuid=self.instance_uuid, + kind=self.kind, + location=self.location, + name=self.name, + port=self.port, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + type=self.type, + uuid=self.uuid, + version=self.version) + + +def get_v_center(resource_group_name: Optional[str] = None, + vcenter_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVCenterResult: + """ + Implements vCenter GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str vcenter_name: Name of the vCenter. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['vcenterName'] = vcenter_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getVCenter', __args__, opts=opts, typ=GetVCenterResult).value + + return AwaitableGetVCenterResult( + connection_status=pulumi.get(__ret__, 'connection_status'), + credentials=pulumi.get(__ret__, 'credentials'), + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + extended_location=pulumi.get(__ret__, 'extended_location'), + fqdn=pulumi.get(__ret__, 'fqdn'), + id=pulumi.get(__ret__, 'id'), + instance_uuid=pulumi.get(__ret__, 'instance_uuid'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + port=pulumi.get(__ret__, 'port'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + version=pulumi.get(__ret__, 'version')) + + +@_utilities.lift_output_func(get_v_center) +def get_v_center_output(resource_group_name: Optional[pulumi.Input[str]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVCenterResult]: + """ + Implements vCenter GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str vcenter_name: Name of the vCenter. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_machine_instance.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_machine_instance.py new file mode 100644 index 000000000000..d00e23e40509 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_machine_instance.py @@ -0,0 +1,269 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVirtualMachineInstanceResult', + 'AwaitableGetVirtualMachineInstanceResult', + 'get_virtual_machine_instance', + 'get_virtual_machine_instance_output', +] + +@pulumi.output_type +class GetVirtualMachineInstanceResult: + """ + Define the virtualMachineInstance. + """ + def __init__(__self__, extended_location=None, hardware_profile=None, id=None, infrastructure_profile=None, name=None, network_profile=None, os_profile=None, placement_profile=None, power_state=None, provisioning_state=None, resource_uid=None, security_profile=None, statuses=None, storage_profile=None, system_data=None, type=None): + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if hardware_profile and not isinstance(hardware_profile, dict): + raise TypeError("Expected argument 'hardware_profile' to be a dict") + pulumi.set(__self__, "hardware_profile", hardware_profile) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if infrastructure_profile and not isinstance(infrastructure_profile, dict): + raise TypeError("Expected argument 'infrastructure_profile' to be a dict") + pulumi.set(__self__, "infrastructure_profile", infrastructure_profile) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_profile and not isinstance(network_profile, dict): + raise TypeError("Expected argument 'network_profile' to be a dict") + pulumi.set(__self__, "network_profile", network_profile) + if os_profile and not isinstance(os_profile, dict): + raise TypeError("Expected argument 'os_profile' to be a dict") + pulumi.set(__self__, "os_profile", os_profile) + if placement_profile and not isinstance(placement_profile, dict): + raise TypeError("Expected argument 'placement_profile' to be a dict") + pulumi.set(__self__, "placement_profile", placement_profile) + if power_state and not isinstance(power_state, str): + raise TypeError("Expected argument 'power_state' to be a str") + pulumi.set(__self__, "power_state", power_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if resource_uid and not isinstance(resource_uid, str): + raise TypeError("Expected argument 'resource_uid' to be a str") + pulumi.set(__self__, "resource_uid", resource_uid) + if security_profile and not isinstance(security_profile, dict): + raise TypeError("Expected argument 'security_profile' to be a dict") + pulumi.set(__self__, "security_profile", security_profile) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if storage_profile and not isinstance(storage_profile, dict): + raise TypeError("Expected argument 'storage_profile' to be a dict") + pulumi.set(__self__, "storage_profile", storage_profile) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hardwareProfile") + def hardware_profile(self) -> Optional['outputs.HardwareProfileResponse']: + """ + Hardware properties. + """ + return pulumi.get(self, "hardware_profile") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="infrastructureProfile") + def infrastructure_profile(self) -> Optional['outputs.InfrastructureProfileResponse']: + """ + Gets the infrastructure profile. + """ + return pulumi.get(self, "infrastructure_profile") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.NetworkProfileResponse']: + """ + Network properties. + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="osProfile") + def os_profile(self) -> Optional['outputs.OsProfileForVMInstanceResponse']: + """ + OS properties. + """ + return pulumi.get(self, "os_profile") + + @property + @pulumi.getter(name="placementProfile") + def placement_profile(self) -> Optional['outputs.PlacementProfileResponse']: + """ + Placement properties. + """ + return pulumi.get(self, "placement_profile") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> str: + """ + Gets the power state of the virtual machine. + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceUid") + def resource_uid(self) -> str: + """ + Gets or sets a unique identifier for the vm resource. + """ + return pulumi.get(self, "resource_uid") + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional['outputs.SecurityProfileResponse']: + """ + Gets the security profile. + """ + return pulumi.get(self, "security_profile") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> Optional['outputs.StorageProfileResponse']: + """ + Storage properties. + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetVirtualMachineInstanceResult(GetVirtualMachineInstanceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVirtualMachineInstanceResult( + extended_location=self.extended_location, + hardware_profile=self.hardware_profile, + id=self.id, + infrastructure_profile=self.infrastructure_profile, + name=self.name, + network_profile=self.network_profile, + os_profile=self.os_profile, + placement_profile=self.placement_profile, + power_state=self.power_state, + provisioning_state=self.provisioning_state, + resource_uid=self.resource_uid, + security_profile=self.security_profile, + statuses=self.statuses, + storage_profile=self.storage_profile, + system_data=self.system_data, + type=self.type) + + +def get_virtual_machine_instance(resource_uri: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualMachineInstanceResult: + """ + Retrieves information about a virtual machine instance. + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + __args__ = dict() + __args__['resourceUri'] = resource_uri + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineInstance', __args__, opts=opts, typ=GetVirtualMachineInstanceResult).value + + return AwaitableGetVirtualMachineInstanceResult( + extended_location=pulumi.get(__ret__, 'extended_location'), + hardware_profile=pulumi.get(__ret__, 'hardware_profile'), + id=pulumi.get(__ret__, 'id'), + infrastructure_profile=pulumi.get(__ret__, 'infrastructure_profile'), + name=pulumi.get(__ret__, 'name'), + network_profile=pulumi.get(__ret__, 'network_profile'), + os_profile=pulumi.get(__ret__, 'os_profile'), + placement_profile=pulumi.get(__ret__, 'placement_profile'), + power_state=pulumi.get(__ret__, 'power_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + resource_uid=pulumi.get(__ret__, 'resource_uid'), + security_profile=pulumi.get(__ret__, 'security_profile'), + statuses=pulumi.get(__ret__, 'statuses'), + storage_profile=pulumi.get(__ret__, 'storage_profile'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_virtual_machine_instance) +def get_virtual_machine_instance_output(resource_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMachineInstanceResult]: + """ + Retrieves information about a virtual machine instance. + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_machine_template.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_machine_template.py new file mode 100644 index 000000000000..650a1b7227b0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_machine_template.py @@ -0,0 +1,419 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVirtualMachineTemplateResult', + 'AwaitableGetVirtualMachineTemplateResult', + 'get_virtual_machine_template', + 'get_virtual_machine_template_output', +] + +@pulumi.output_type +class GetVirtualMachineTemplateResult: + """ + Define the virtualMachineTemplate. + """ + def __init__(__self__, custom_resource_name=None, disks=None, extended_location=None, firmware_type=None, folder_path=None, id=None, inventory_item_id=None, kind=None, location=None, memory_size_mb=None, mo_name=None, mo_ref_id=None, name=None, network_interfaces=None, num_cpus=None, num_cores_per_socket=None, os_name=None, os_type=None, provisioning_state=None, statuses=None, system_data=None, tags=None, tools_version=None, tools_version_status=None, type=None, uuid=None, v_center_id=None): + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if disks and not isinstance(disks, list): + raise TypeError("Expected argument 'disks' to be a list") + pulumi.set(__self__, "disks", disks) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if firmware_type and not isinstance(firmware_type, str): + raise TypeError("Expected argument 'firmware_type' to be a str") + pulumi.set(__self__, "firmware_type", firmware_type) + if folder_path and not isinstance(folder_path, str): + raise TypeError("Expected argument 'folder_path' to be a str") + pulumi.set(__self__, "folder_path", folder_path) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_item_id and not isinstance(inventory_item_id, str): + raise TypeError("Expected argument 'inventory_item_id' to be a str") + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if memory_size_mb and not isinstance(memory_size_mb, int): + raise TypeError("Expected argument 'memory_size_mb' to be a int") + pulumi.set(__self__, "memory_size_mb", memory_size_mb) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_interfaces and not isinstance(network_interfaces, list): + raise TypeError("Expected argument 'network_interfaces' to be a list") + pulumi.set(__self__, "network_interfaces", network_interfaces) + if num_cpus and not isinstance(num_cpus, int): + raise TypeError("Expected argument 'num_cpus' to be a int") + pulumi.set(__self__, "num_cpus", num_cpus) + if num_cores_per_socket and not isinstance(num_cores_per_socket, int): + raise TypeError("Expected argument 'num_cores_per_socket' to be a int") + pulumi.set(__self__, "num_cores_per_socket", num_cores_per_socket) + if os_name and not isinstance(os_name, str): + raise TypeError("Expected argument 'os_name' to be a str") + pulumi.set(__self__, "os_name", os_name) + if os_type and not isinstance(os_type, str): + raise TypeError("Expected argument 'os_type' to be a str") + pulumi.set(__self__, "os_type", os_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if tools_version and not isinstance(tools_version, str): + raise TypeError("Expected argument 'tools_version' to be a str") + pulumi.set(__self__, "tools_version", tools_version) + if tools_version_status and not isinstance(tools_version_status, str): + raise TypeError("Expected argument 'tools_version_status' to be a str") + pulumi.set(__self__, "tools_version_status", tools_version_status) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if v_center_id and not isinstance(v_center_id, str): + raise TypeError("Expected argument 'v_center_id' to be a str") + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter + def disks(self) -> Sequence['outputs.VirtualDiskResponse']: + """ + Gets or sets the disks the template. + """ + return pulumi.get(self, "disks") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="firmwareType") + def firmware_type(self) -> str: + """ + Firmware type + """ + return pulumi.get(self, "firmware_type") + + @property + @pulumi.getter(name="folderPath") + def folder_path(self) -> str: + """ + Gets or sets the folder path of the template. + """ + return pulumi.get(self, "folder_path") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the virtual machine template. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="memorySizeMB") + def memory_size_mb(self) -> int: + """ + Gets or sets memory size in MBs for the template. + """ + return pulumi.get(self, "memory_size_mb") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the virtual machine template. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + template. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> Sequence['outputs.NetworkInterfaceResponse']: + """ + Gets or sets the network interfaces of the template. + """ + return pulumi.get(self, "network_interfaces") + + @property + @pulumi.getter(name="numCPUs") + def num_cpus(self) -> int: + """ + Gets or sets the number of vCPUs for the template. + """ + return pulumi.get(self, "num_cpus") + + @property + @pulumi.getter(name="numCoresPerSocket") + def num_cores_per_socket(self) -> int: + """ + Gets or sets the number of cores per socket for the template. + Defaults to 1 if unspecified. + """ + return pulumi.get(self, "num_cores_per_socket") + + @property + @pulumi.getter(name="osName") + def os_name(self) -> str: + """ + Gets or sets os name. + """ + return pulumi.get(self, "os_name") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> str: + """ + Gets or sets the type of the os. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="toolsVersion") + def tools_version(self) -> str: + """ + Gets or sets the current version of VMware Tools. + """ + return pulumi.get(self, "tools_version") + + @property + @pulumi.getter(name="toolsVersionStatus") + def tools_version_status(self) -> str: + """ + Gets or sets the current version status of VMware Tools installed in the guest operating system. + """ + return pulumi.get(self, "tools_version_status") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this template resides. + """ + return pulumi.get(self, "v_center_id") + + +class AwaitableGetVirtualMachineTemplateResult(GetVirtualMachineTemplateResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVirtualMachineTemplateResult( + custom_resource_name=self.custom_resource_name, + disks=self.disks, + extended_location=self.extended_location, + firmware_type=self.firmware_type, + folder_path=self.folder_path, + id=self.id, + inventory_item_id=self.inventory_item_id, + kind=self.kind, + location=self.location, + memory_size_mb=self.memory_size_mb, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + network_interfaces=self.network_interfaces, + num_cpus=self.num_cpus, + num_cores_per_socket=self.num_cores_per_socket, + os_name=self.os_name, + os_type=self.os_type, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + tools_version=self.tools_version, + tools_version_status=self.tools_version_status, + type=self.type, + uuid=self.uuid, + v_center_id=self.v_center_id) + + +def get_virtual_machine_template(resource_group_name: Optional[str] = None, + virtual_machine_template_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualMachineTemplateResult: + """ + Implements virtual machine template GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str virtual_machine_template_name: Name of the virtual machine template resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['virtualMachineTemplateName'] = virtual_machine_template_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getVirtualMachineTemplate', __args__, opts=opts, typ=GetVirtualMachineTemplateResult).value + + return AwaitableGetVirtualMachineTemplateResult( + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + disks=pulumi.get(__ret__, 'disks'), + extended_location=pulumi.get(__ret__, 'extended_location'), + firmware_type=pulumi.get(__ret__, 'firmware_type'), + folder_path=pulumi.get(__ret__, 'folder_path'), + id=pulumi.get(__ret__, 'id'), + inventory_item_id=pulumi.get(__ret__, 'inventory_item_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + memory_size_mb=pulumi.get(__ret__, 'memory_size_mb'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + network_interfaces=pulumi.get(__ret__, 'network_interfaces'), + num_cpus=pulumi.get(__ret__, 'num_cpus'), + num_cores_per_socket=pulumi.get(__ret__, 'num_cores_per_socket'), + os_name=pulumi.get(__ret__, 'os_name'), + os_type=pulumi.get(__ret__, 'os_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + tools_version=pulumi.get(__ret__, 'tools_version'), + tools_version_status=pulumi.get(__ret__, 'tools_version_status'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + v_center_id=pulumi.get(__ret__, 'v_center_id')) + + +@_utilities.lift_output_func(get_virtual_machine_template) +def get_virtual_machine_template_output(resource_group_name: Optional[pulumi.Input[str]] = None, + virtual_machine_template_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMachineTemplateResult]: + """ + Implements virtual machine template GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str virtual_machine_template_name: Name of the virtual machine template resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_network.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_network.py new file mode 100644 index 000000000000..d83114f6bf9b --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_virtual_network.py @@ -0,0 +1,274 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVirtualNetworkResult', + 'AwaitableGetVirtualNetworkResult', + 'get_virtual_network', + 'get_virtual_network_output', +] + +@pulumi.output_type +class GetVirtualNetworkResult: + """ + Define the virtualNetwork. + """ + def __init__(__self__, custom_resource_name=None, extended_location=None, id=None, inventory_item_id=None, kind=None, location=None, mo_name=None, mo_ref_id=None, name=None, provisioning_state=None, statuses=None, system_data=None, tags=None, type=None, uuid=None, v_center_id=None): + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if inventory_item_id and not isinstance(inventory_item_id, str): + raise TypeError("Expected argument 'inventory_item_id' to be a str") + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if mo_name and not isinstance(mo_name, str): + raise TypeError("Expected argument 'mo_name' to be a str") + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id and not isinstance(mo_ref_id, str): + raise TypeError("Expected argument 'mo_ref_id' to be a str") + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + if v_center_id and not isinstance(v_center_id, str): + raise TypeError("Expected argument 'v_center_id' to be a str") + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets the Id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the virtual network. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the virtual network. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[str]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this template resides. + """ + return pulumi.get(self, "v_center_id") + + +class AwaitableGetVirtualNetworkResult(GetVirtualNetworkResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVirtualNetworkResult( + custom_resource_name=self.custom_resource_name, + extended_location=self.extended_location, + id=self.id, + inventory_item_id=self.inventory_item_id, + kind=self.kind, + location=self.location, + mo_name=self.mo_name, + mo_ref_id=self.mo_ref_id, + name=self.name, + provisioning_state=self.provisioning_state, + statuses=self.statuses, + system_data=self.system_data, + tags=self.tags, + type=self.type, + uuid=self.uuid, + v_center_id=self.v_center_id) + + +def get_virtual_network(resource_group_name: Optional[str] = None, + virtual_network_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualNetworkResult: + """ + Implements virtual network GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str virtual_network_name: Name of the virtual network resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['virtualNetworkName'] = virtual_network_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getVirtualNetwork', __args__, opts=opts, typ=GetVirtualNetworkResult).value + + return AwaitableGetVirtualNetworkResult( + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + inventory_item_id=pulumi.get(__ret__, 'inventory_item_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + mo_name=pulumi.get(__ret__, 'mo_name'), + mo_ref_id=pulumi.get(__ret__, 'mo_ref_id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + v_center_id=pulumi.get(__ret__, 'v_center_id')) + + +@_utilities.lift_output_func(get_virtual_network) +def get_virtual_network_output(resource_group_name: Optional[pulumi.Input[str]] = None, + virtual_network_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualNetworkResult]: + """ + Implements virtual network GET method. + + + :param str resource_group_name: The Resource Group Name. + :param str virtual_network_name: Name of the virtual network resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_vm_instance_guest_agent.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_vm_instance_guest_agent.py new file mode 100644 index 000000000000..f840fee53569 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/get_vm_instance_guest_agent.py @@ -0,0 +1,230 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVMInstanceGuestAgentResult', + 'AwaitableGetVMInstanceGuestAgentResult', + 'get_vm_instance_guest_agent', + 'get_vm_instance_guest_agent_output', +] + +@pulumi.output_type +class GetVMInstanceGuestAgentResult: + """ + Defines the GuestAgent. + """ + def __init__(__self__, credentials=None, custom_resource_name=None, http_proxy_config=None, id=None, name=None, private_link_scope_resource_id=None, provisioning_action=None, provisioning_state=None, status=None, statuses=None, system_data=None, type=None, uuid=None): + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if custom_resource_name and not isinstance(custom_resource_name, str): + raise TypeError("Expected argument 'custom_resource_name' to be a str") + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + if http_proxy_config and not isinstance(http_proxy_config, dict): + raise TypeError("Expected argument 'http_proxy_config' to be a dict") + pulumi.set(__self__, "http_proxy_config", http_proxy_config) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_link_scope_resource_id and not isinstance(private_link_scope_resource_id, str): + raise TypeError("Expected argument 'private_link_scope_resource_id' to be a str") + pulumi.set(__self__, "private_link_scope_resource_id", private_link_scope_resource_id) + if provisioning_action and not isinstance(provisioning_action, str): + raise TypeError("Expected argument 'provisioning_action' to be a str") + pulumi.set(__self__, "provisioning_action", provisioning_action) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if statuses and not isinstance(statuses, list): + raise TypeError("Expected argument 'statuses' to be a list") + pulumi.set(__self__, "statuses", statuses) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GuestCredentialResponse']: + """ + Username / Password Credentials to provision guest agent. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> Optional['outputs.HttpProxyConfigurationResponse']: + """ + HTTP Proxy configuration for the VM. + """ + return pulumi.get(self, "http_proxy_config") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkScopeResourceId") + def private_link_scope_resource_id(self) -> Optional[str]: + """ + The resource id of the private link scope this machine is assigned to, if any. + """ + return pulumi.get(self, "private_link_scope_resource_id") + + @property + @pulumi.getter(name="provisioningAction") + def provisioning_action(self) -> Optional[str]: + """ + Gets or sets the guest agent provisioning action. + """ + return pulumi.get(self, "provisioning_action") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> str: + """ + Gets or sets the guest agent status. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def statuses(self) -> Sequence['outputs.ResourceStatusResponse']: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + +class AwaitableGetVMInstanceGuestAgentResult(GetVMInstanceGuestAgentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVMInstanceGuestAgentResult( + credentials=self.credentials, + custom_resource_name=self.custom_resource_name, + http_proxy_config=self.http_proxy_config, + id=self.id, + name=self.name, + private_link_scope_resource_id=self.private_link_scope_resource_id, + provisioning_action=self.provisioning_action, + provisioning_state=self.provisioning_state, + status=self.status, + statuses=self.statuses, + system_data=self.system_data, + type=self.type, + uuid=self.uuid) + + +def get_vm_instance_guest_agent(resource_uri: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVMInstanceGuestAgentResult: + """ + Implements GuestAgent GET method. + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + __args__ = dict() + __args__['resourceUri'] = resource_uri + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:connectedvmwarevsphere/v20231001:getVMInstanceGuestAgent', __args__, opts=opts, typ=GetVMInstanceGuestAgentResult).value + + return AwaitableGetVMInstanceGuestAgentResult( + credentials=pulumi.get(__ret__, 'credentials'), + custom_resource_name=pulumi.get(__ret__, 'custom_resource_name'), + http_proxy_config=pulumi.get(__ret__, 'http_proxy_config'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_link_scope_resource_id=pulumi.get(__ret__, 'private_link_scope_resource_id'), + provisioning_action=pulumi.get(__ret__, 'provisioning_action'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + statuses=pulumi.get(__ret__, 'statuses'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid')) + + +@_utilities.lift_output_func(get_vm_instance_guest_agent) +def get_vm_instance_guest_agent_output(resource_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVMInstanceGuestAgentResult]: + """ + Implements GuestAgent GET method. + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + ... diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/host.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/host.py new file mode 100644 index 000000000000..0f57961cac5a --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/host.py @@ -0,0 +1,478 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['HostArgs', 'Host'] + +@pulumi.input_type +class HostArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + host_name: Optional[pulumi.Input[str]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Host resource. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] host_name: Name of the host. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the host. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this host resides. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if host_name is not None: + pulumi.set(__self__, "host_name", host_name) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the host. + """ + return pulumi.get(self, "host_name") + + @host_name.setter + def host_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_name", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the host. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this host resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + +class Host(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + host_name: Optional[pulumi.Input[str]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Define the host. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] host_name: Name of the host. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the host. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this host resides. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: HostArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the host. + + :param str resource_name: The name of the resource. + :param HostArgs 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(HostArgs, 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, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + host_name: Optional[pulumi.Input[str]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_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__ = HostArgs.__new__(HostArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["host_name"] = host_name + __props__.__dict__["inventory_item_id"] = inventory_item_id + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["mo_ref_id"] = mo_ref_id + 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 + __props__.__dict__["v_center_id"] = v_center_id + __props__.__dict__["cpu_mhz"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["datastore_ids"] = None + __props__.__dict__["memory_size_gb"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_ids"] = None + __props__.__dict__["overall_cpu_usage_m_hz"] = None + __props__.__dict__["overall_memory_usage_gb"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:Host"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:Host")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Host, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:Host', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Host': + """ + Get an existing Host 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = HostArgs.__new__(HostArgs) + + __props__.__dict__["cpu_mhz"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["datastore_ids"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["inventory_item_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["memory_size_gb"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_ids"] = None + __props__.__dict__["overall_cpu_usage_m_hz"] = None + __props__.__dict__["overall_memory_usage_gb"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["v_center_id"] = None + return Host(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cpuMhz") + def cpu_mhz(self) -> pulumi.Output[float]: + """ + Gets the max CPU usage across all cores in MHz. + """ + return pulumi.get(self, "cpu_mhz") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="datastoreIds") + def datastore_ids(self) -> pulumi.Output[Sequence[str]]: + """ + Gets the datastore ARM ids. + """ + return pulumi.get(self, "datastore_ids") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the inventory Item ID for the host. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="memorySizeGB") + def memory_size_gb(self) -> pulumi.Output[float]: + """ + Gets the total amount of physical memory on the host in GB. + """ + return pulumi.get(self, "memory_size_gb") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[str]: + """ + Gets or sets the vCenter Managed Object name for the host. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkIds") + def network_ids(self) -> pulumi.Output[Sequence[str]]: + """ + Gets the network ARM ids. + """ + return pulumi.get(self, "network_ids") + + @property + @pulumi.getter(name="overallCpuUsageMHz") + def overall_cpu_usage_m_hz(self) -> pulumi.Output[float]: + """ + Gets the used CPU usage across all cores in MHz. + """ + return pulumi.get(self, "overall_cpu_usage_m_hz") + + @property + @pulumi.getter(name="overallMemoryUsageGB") + def overall_memory_usage_gb(self) -> pulumi.Output[float]: + """ + Gets the used physical memory on the host in GB. + """ + return pulumi.get(self, "overall_memory_usage_gb") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this host resides. + """ + return pulumi.get(self, "v_center_id") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/inventory_item.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/inventory_item.py new file mode 100644 index 000000000000..cff0de684373 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/inventory_item.py @@ -0,0 +1,342 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['InventoryItemArgs', 'InventoryItem'] + +@pulumi.input_type +class InventoryItemArgs: + def __init__(__self__, *, + inventory_type: pulumi.Input[Union[str, 'InventoryType']], + resource_group_name: pulumi.Input[str], + vcenter_name: pulumi.Input[str], + inventory_item_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + managed_resource_id: Optional[pulumi.Input[str]] = None, + mo_name: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a InventoryItem resource. + :param pulumi.Input[Union[str, 'InventoryType']] inventory_type: They inventory type. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[str] vcenter_name: Name of the vCenter. + :param pulumi.Input[str] inventory_item_name: Name of the inventoryItem. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] managed_resource_id: Gets or sets the tracked resource id corresponding to the inventory resource. + :param pulumi.Input[str] mo_name: Gets or sets the vCenter Managed Object name for the inventory item. + :param pulumi.Input[str] mo_ref_id: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + """ + pulumi.set(__self__, "inventory_type", inventory_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "vcenter_name", vcenter_name) + if inventory_item_name is not None: + pulumi.set(__self__, "inventory_item_name", inventory_item_name) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if managed_resource_id is not None: + pulumi.set(__self__, "managed_resource_id", managed_resource_id) + if mo_name is not None: + pulumi.set(__self__, "mo_name", mo_name) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + + @property + @pulumi.getter(name="inventoryType") + def inventory_type(self) -> pulumi.Input[Union[str, 'InventoryType']]: + """ + They inventory type. + """ + return pulumi.get(self, "inventory_type") + + @inventory_type.setter + def inventory_type(self, value: pulumi.Input[Union[str, 'InventoryType']]): + pulumi.set(self, "inventory_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="vcenterName") + def vcenter_name(self) -> pulumi.Input[str]: + """ + Name of the vCenter. + """ + return pulumi.get(self, "vcenter_name") + + @vcenter_name.setter + def vcenter_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vcenter_name", value) + + @property + @pulumi.getter(name="inventoryItemName") + def inventory_item_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the inventoryItem. + """ + return pulumi.get(self, "inventory_item_name") + + @inventory_item_name.setter + def inventory_item_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_name", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="managedResourceId") + def managed_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the tracked resource id corresponding to the inventory resource. + """ + return pulumi.get(self, "managed_resource_id") + + @managed_resource_id.setter + def managed_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_resource_id", value) + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter Managed Object name for the inventory item. + """ + return pulumi.get(self, "mo_name") + + @mo_name.setter + def mo_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_name", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + +class InventoryItem(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + inventory_item_name: Optional[pulumi.Input[str]] = None, + inventory_type: Optional[pulumi.Input[Union[str, 'InventoryType']]] = None, + kind: Optional[pulumi.Input[str]] = None, + managed_resource_id: Optional[pulumi.Input[str]] = None, + mo_name: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Defines the inventory item. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] inventory_item_name: Name of the inventoryItem. + :param pulumi.Input[Union[str, 'InventoryType']] inventory_type: They inventory type. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] managed_resource_id: Gets or sets the tracked resource id corresponding to the inventory resource. + :param pulumi.Input[str] mo_name: Gets or sets the vCenter Managed Object name for the inventory item. + :param pulumi.Input[str] mo_ref_id: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[str] vcenter_name: Name of the vCenter. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: InventoryItemArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines the inventory item. + + :param str resource_name: The name of the resource. + :param InventoryItemArgs 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(InventoryItemArgs, 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, + inventory_item_name: Optional[pulumi.Input[str]] = None, + inventory_type: Optional[pulumi.Input[Union[str, 'InventoryType']]] = None, + kind: Optional[pulumi.Input[str]] = None, + managed_resource_id: Optional[pulumi.Input[str]] = None, + mo_name: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = InventoryItemArgs.__new__(InventoryItemArgs) + + __props__.__dict__["inventory_item_name"] = inventory_item_name + if inventory_type is None and not opts.urn: + raise TypeError("Missing required property 'inventory_type'") + __props__.__dict__["inventory_type"] = inventory_type + __props__.__dict__["kind"] = kind + __props__.__dict__["managed_resource_id"] = managed_resource_id + __props__.__dict__["mo_name"] = mo_name + __props__.__dict__["mo_ref_id"] = mo_ref_id + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if vcenter_name is None and not opts.urn: + raise TypeError("Missing required property 'vcenter_name'") + __props__.__dict__["vcenter_name"] = vcenter_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:InventoryItem"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:InventoryItem")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(InventoryItem, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:InventoryItem', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'InventoryItem': + """ + Get an existing InventoryItem 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = InventoryItemArgs.__new__(InventoryItemArgs) + + __props__.__dict__["inventory_type"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["managed_resource_id"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return InventoryItem(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="inventoryType") + def inventory_type(self) -> pulumi.Output[str]: + """ + They inventory type. + """ + return pulumi.get(self, "inventory_type") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="managedResourceId") + def managed_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the tracked resource id corresponding to the inventory resource. + """ + return pulumi.get(self, "managed_resource_id") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter Managed Object name for the inventory item. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/outputs.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/outputs.py new file mode 100644 index 000000000000..2aec38ad27f5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/outputs.py @@ -0,0 +1,1638 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'ExtendedLocationResponse', + 'GuestCredentialResponse', + 'HardwareProfileResponse', + 'HttpProxyConfigurationResponse', + 'InfrastructureProfileResponse', + 'NetworkInterfaceResponse', + 'NetworkProfileResponse', + 'NicIPAddressSettingsResponse', + 'NicIPSettingsResponse', + 'OsProfileForVMInstanceResponse', + 'PlacementProfileResponse', + 'ResourceStatusResponse', + 'SecurityProfileResponse', + 'StorageProfileResponse', + 'SystemDataResponse', + 'UefiSettingsResponse', + 'VICredentialResponse', + 'VirtualDiskResponse', + 'VirtualSCSIControllerResponse', +] + +@pulumi.output_type +class ExtendedLocationResponse(dict): + """ + The extended location. + """ + def __init__(__self__, *, + name: Optional[str] = None, + type: Optional[str] = None): + """ + The extended location. + :param str name: The extended location name. + :param str type: The extended location type. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The extended location name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The extended location type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GuestCredentialResponse(dict): + """ + Username / Password Credentials to connect to guest. + """ + def __init__(__self__, *, + username: Optional[str] = None): + """ + Username / Password Credentials to connect to guest. + :param str username: Gets or sets username to connect with the guest. + """ + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Gets or sets username to connect with the guest. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class HardwareProfileResponse(dict): + """ + Specifies the hardware settings for the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cpuHotAddEnabled": + suggest = "cpu_hot_add_enabled" + elif key == "cpuHotRemoveEnabled": + suggest = "cpu_hot_remove_enabled" + elif key == "memoryHotAddEnabled": + suggest = "memory_hot_add_enabled" + elif key == "memorySizeMB": + suggest = "memory_size_mb" + elif key == "numCPUs": + suggest = "num_cpus" + elif key == "numCoresPerSocket": + suggest = "num_cores_per_socket" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HardwareProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HardwareProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HardwareProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cpu_hot_add_enabled: bool, + cpu_hot_remove_enabled: bool, + memory_hot_add_enabled: bool, + memory_size_mb: Optional[int] = None, + num_cpus: Optional[int] = None, + num_cores_per_socket: Optional[int] = None): + """ + Specifies the hardware settings for the virtual machine. + :param bool cpu_hot_add_enabled: Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running. + :param bool cpu_hot_remove_enabled: Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running. + :param bool memory_hot_add_enabled: Gets or sets a value indicating whether memory can be added while this virtual machine is running. + :param int memory_size_mb: Gets or sets memory size in MBs for the vm. + :param int num_cpus: Gets or sets the number of vCPUs for the vm. + :param int num_cores_per_socket: Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + """ + pulumi.set(__self__, "cpu_hot_add_enabled", cpu_hot_add_enabled) + pulumi.set(__self__, "cpu_hot_remove_enabled", cpu_hot_remove_enabled) + pulumi.set(__self__, "memory_hot_add_enabled", memory_hot_add_enabled) + if memory_size_mb is not None: + pulumi.set(__self__, "memory_size_mb", memory_size_mb) + if num_cpus is not None: + pulumi.set(__self__, "num_cpus", num_cpus) + if num_cores_per_socket is not None: + pulumi.set(__self__, "num_cores_per_socket", num_cores_per_socket) + + @property + @pulumi.getter(name="cpuHotAddEnabled") + def cpu_hot_add_enabled(self) -> bool: + """ + Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running. + """ + return pulumi.get(self, "cpu_hot_add_enabled") + + @property + @pulumi.getter(name="cpuHotRemoveEnabled") + def cpu_hot_remove_enabled(self) -> bool: + """ + Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running. + """ + return pulumi.get(self, "cpu_hot_remove_enabled") + + @property + @pulumi.getter(name="memoryHotAddEnabled") + def memory_hot_add_enabled(self) -> bool: + """ + Gets or sets a value indicating whether memory can be added while this virtual machine is running. + """ + return pulumi.get(self, "memory_hot_add_enabled") + + @property + @pulumi.getter(name="memorySizeMB") + def memory_size_mb(self) -> Optional[int]: + """ + Gets or sets memory size in MBs for the vm. + """ + return pulumi.get(self, "memory_size_mb") + + @property + @pulumi.getter(name="numCPUs") + def num_cpus(self) -> Optional[int]: + """ + Gets or sets the number of vCPUs for the vm. + """ + return pulumi.get(self, "num_cpus") + + @property + @pulumi.getter(name="numCoresPerSocket") + def num_cores_per_socket(self) -> Optional[int]: + """ + Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified. + """ + return pulumi.get(self, "num_cores_per_socket") + + +@pulumi.output_type +class HttpProxyConfigurationResponse(dict): + """ + HTTP Proxy configuration for the VM. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "httpsProxy": + suggest = "https_proxy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HttpProxyConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HttpProxyConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HttpProxyConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + https_proxy: Optional[str] = None): + """ + HTTP Proxy configuration for the VM. + :param str https_proxy: Gets or sets httpsProxy url. + """ + if https_proxy is not None: + pulumi.set(__self__, "https_proxy", https_proxy) + + @property + @pulumi.getter(name="httpsProxy") + def https_proxy(self) -> Optional[str]: + """ + Gets or sets httpsProxy url. + """ + return pulumi.get(self, "https_proxy") + + +@pulumi.output_type +class InfrastructureProfileResponse(dict): + """ + Specifies the vCenter infrastructure specific settings for the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "customResourceName": + suggest = "custom_resource_name" + elif key == "folderPath": + suggest = "folder_path" + elif key == "instanceUuid": + suggest = "instance_uuid" + elif key == "moName": + suggest = "mo_name" + elif key == "moRefId": + suggest = "mo_ref_id" + elif key == "firmwareType": + suggest = "firmware_type" + elif key == "inventoryItemId": + suggest = "inventory_item_id" + elif key == "smbiosUuid": + suggest = "smbios_uuid" + elif key == "templateId": + suggest = "template_id" + elif key == "vCenterId": + suggest = "v_center_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InfrastructureProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InfrastructureProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InfrastructureProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + custom_resource_name: str, + folder_path: str, + instance_uuid: str, + mo_name: str, + mo_ref_id: str, + firmware_type: Optional[str] = None, + inventory_item_id: Optional[str] = None, + smbios_uuid: Optional[str] = None, + template_id: Optional[str] = None, + v_center_id: Optional[str] = None): + """ + Specifies the vCenter infrastructure specific settings for the virtual machine. + :param str custom_resource_name: Gets the name of the corresponding resource in Kubernetes. + :param str folder_path: Gets or sets the folder path of the vm. + :param str instance_uuid: Gets or sets the instance uuid of the vm. + :param str mo_name: Gets or sets the vCenter Managed Object name for the virtual machine. + :param str mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. + :param str firmware_type: Firmware type + :param str inventory_item_id: Gets or sets the inventory Item ID for the virtual machine. + :param str smbios_uuid: Gets or sets the SMBIOS UUID of the vm. + :param str template_id: Gets or sets the ARM Id of the template resource to deploy the virtual machine. + :param str v_center_id: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + pulumi.set(__self__, "custom_resource_name", custom_resource_name) + pulumi.set(__self__, "folder_path", folder_path) + pulumi.set(__self__, "instance_uuid", instance_uuid) + pulumi.set(__self__, "mo_name", mo_name) + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if firmware_type is not None: + pulumi.set(__self__, "firmware_type", firmware_type) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if smbios_uuid is not None: + pulumi.set(__self__, "smbios_uuid", smbios_uuid) + if template_id is not None: + pulumi.set(__self__, "template_id", template_id) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> str: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="folderPath") + def folder_path(self) -> str: + """ + Gets or sets the folder path of the vm. + """ + return pulumi.get(self, "folder_path") + + @property + @pulumi.getter(name="instanceUuid") + def instance_uuid(self) -> str: + """ + Gets or sets the instance uuid of the vm. + """ + return pulumi.get(self, "instance_uuid") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> str: + """ + Gets or sets the vCenter Managed Object name for the virtual machine. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> str: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter(name="firmwareType") + def firmware_type(self) -> Optional[str]: + """ + Firmware type + """ + return pulumi.get(self, "firmware_type") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[str]: + """ + Gets or sets the inventory Item ID for the virtual machine. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter(name="smbiosUuid") + def smbios_uuid(self) -> Optional[str]: + """ + Gets or sets the SMBIOS UUID of the vm. + """ + return pulumi.get(self, "smbios_uuid") + + @property + @pulumi.getter(name="templateId") + def template_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the template resource to deploy the virtual machine. + """ + return pulumi.get(self, "template_id") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + return pulumi.get(self, "v_center_id") + + +@pulumi.output_type +class NetworkInterfaceResponse(dict): + """ + Network Interface model + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipAddresses": + suggest = "ip_addresses" + elif key == "macAddress": + suggest = "mac_address" + elif key == "networkMoName": + suggest = "network_mo_name" + elif key == "networkMoRefId": + suggest = "network_mo_ref_id" + elif key == "deviceKey": + suggest = "device_key" + elif key == "ipSettings": + suggest = "ip_settings" + elif key == "networkId": + suggest = "network_id" + elif key == "nicType": + suggest = "nic_type" + elif key == "powerOnBoot": + suggest = "power_on_boot" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkInterfaceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkInterfaceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkInterfaceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_addresses: Sequence[str], + label: str, + mac_address: str, + network_mo_name: str, + network_mo_ref_id: str, + device_key: Optional[int] = None, + ip_settings: Optional['outputs.NicIPSettingsResponse'] = None, + name: Optional[str] = None, + network_id: Optional[str] = None, + nic_type: Optional[str] = None, + power_on_boot: Optional[str] = None): + """ + Network Interface model + :param Sequence[str] ip_addresses: Gets or sets the nic ip addresses. + :param str label: Gets or sets the label of the virtual network in vCenter that the nic is connected to. + :param str mac_address: Gets or sets the NIC MAC address. + :param str network_mo_name: Gets or sets the name of the virtual network in vCenter that the nic is connected to. + :param str network_mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network + that the nic is connected to. + :param int device_key: Gets or sets the device key value. + :param 'NicIPSettingsResponse' ip_settings: Gets or sets the ipsettings. + :param str name: Gets or sets the name of the network interface. + :param str network_id: Gets or sets the ARM Id of the network resource to connect the virtual machine. + :param str nic_type: NIC type + :param str power_on_boot: Gets or sets the power on boot. + """ + pulumi.set(__self__, "ip_addresses", ip_addresses) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "mac_address", mac_address) + pulumi.set(__self__, "network_mo_name", network_mo_name) + pulumi.set(__self__, "network_mo_ref_id", network_mo_ref_id) + if device_key is not None: + pulumi.set(__self__, "device_key", device_key) + if ip_settings is not None: + pulumi.set(__self__, "ip_settings", ip_settings) + if name is not None: + pulumi.set(__self__, "name", name) + if network_id is not None: + pulumi.set(__self__, "network_id", network_id) + if nic_type is not None: + pulumi.set(__self__, "nic_type", nic_type) + if power_on_boot is not None: + pulumi.set(__self__, "power_on_boot", power_on_boot) + + @property + @pulumi.getter(name="ipAddresses") + def ip_addresses(self) -> Sequence[str]: + """ + Gets or sets the nic ip addresses. + """ + return pulumi.get(self, "ip_addresses") + + @property + @pulumi.getter + def label(self) -> str: + """ + Gets or sets the label of the virtual network in vCenter that the nic is connected to. + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter(name="macAddress") + def mac_address(self) -> str: + """ + Gets or sets the NIC MAC address. + """ + return pulumi.get(self, "mac_address") + + @property + @pulumi.getter(name="networkMoName") + def network_mo_name(self) -> str: + """ + Gets or sets the name of the virtual network in vCenter that the nic is connected to. + """ + return pulumi.get(self, "network_mo_name") + + @property + @pulumi.getter(name="networkMoRefId") + def network_mo_ref_id(self) -> str: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network + that the nic is connected to. + """ + return pulumi.get(self, "network_mo_ref_id") + + @property + @pulumi.getter(name="deviceKey") + def device_key(self) -> Optional[int]: + """ + Gets or sets the device key value. + """ + return pulumi.get(self, "device_key") + + @property + @pulumi.getter(name="ipSettings") + def ip_settings(self) -> Optional['outputs.NicIPSettingsResponse']: + """ + Gets or sets the ipsettings. + """ + return pulumi.get(self, "ip_settings") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Gets or sets the name of the network interface. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkId") + def network_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the network resource to connect the virtual machine. + """ + return pulumi.get(self, "network_id") + + @property + @pulumi.getter(name="nicType") + def nic_type(self) -> Optional[str]: + """ + NIC type + """ + return pulumi.get(self, "nic_type") + + @property + @pulumi.getter(name="powerOnBoot") + def power_on_boot(self) -> Optional[str]: + """ + Gets or sets the power on boot. + """ + return pulumi.get(self, "power_on_boot") + + +@pulumi.output_type +class NetworkProfileResponse(dict): + """ + Specifies the network interfaces of the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "networkInterfaces": + suggest = "network_interfaces" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + network_interfaces: Optional[Sequence['outputs.NetworkInterfaceResponse']] = None): + """ + Specifies the network interfaces of the virtual machine. + :param Sequence['NetworkInterfaceResponse'] network_interfaces: Gets or sets the list of network interfaces associated with the virtual machine. + """ + if network_interfaces is not None: + pulumi.set(__self__, "network_interfaces", network_interfaces) + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> Optional[Sequence['outputs.NetworkInterfaceResponse']]: + """ + Gets or sets the list of network interfaces associated with the virtual machine. + """ + return pulumi.get(self, "network_interfaces") + + +@pulumi.output_type +class NicIPAddressSettingsResponse(dict): + """ + IP address information for a virtual network adapter reported by the fabric. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allocationMethod": + suggest = "allocation_method" + elif key == "ipAddress": + suggest = "ip_address" + elif key == "subnetMask": + suggest = "subnet_mask" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NicIPAddressSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NicIPAddressSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NicIPAddressSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allocation_method: str, + ip_address: str, + subnet_mask: str): + """ + IP address information for a virtual network adapter reported by the fabric. + :param str allocation_method: Gets the ip address allocation method. + :param str ip_address: Gets the ip address for the nic. + :param str subnet_mask: Gets the mask. + """ + pulumi.set(__self__, "allocation_method", allocation_method) + pulumi.set(__self__, "ip_address", ip_address) + pulumi.set(__self__, "subnet_mask", subnet_mask) + + @property + @pulumi.getter(name="allocationMethod") + def allocation_method(self) -> str: + """ + Gets the ip address allocation method. + """ + return pulumi.get(self, "allocation_method") + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> str: + """ + Gets the ip address for the nic. + """ + return pulumi.get(self, "ip_address") + + @property + @pulumi.getter(name="subnetMask") + def subnet_mask(self) -> str: + """ + Gets the mask. + """ + return pulumi.get(self, "subnet_mask") + + +@pulumi.output_type +class NicIPSettingsResponse(dict): + """ + Defines the network interface ip settings. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipAddressInfo": + suggest = "ip_address_info" + elif key == "primaryWinsServer": + suggest = "primary_wins_server" + elif key == "secondaryWinsServer": + suggest = "secondary_wins_server" + elif key == "allocationMethod": + suggest = "allocation_method" + elif key == "dnsServers": + suggest = "dns_servers" + elif key == "ipAddress": + suggest = "ip_address" + elif key == "subnetMask": + suggest = "subnet_mask" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NicIPSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NicIPSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NicIPSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_address_info: Sequence['outputs.NicIPAddressSettingsResponse'], + primary_wins_server: str, + secondary_wins_server: str, + allocation_method: Optional[str] = None, + dns_servers: Optional[Sequence[str]] = None, + gateway: Optional[Sequence[str]] = None, + ip_address: Optional[str] = None, + subnet_mask: Optional[str] = None): + """ + Defines the network interface ip settings. + :param Sequence['NicIPAddressSettingsResponse'] ip_address_info: Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information. + :param str primary_wins_server: Gets or sets the primary server. + :param str secondary_wins_server: Gets or sets the secondary server. + :param str allocation_method: Gets or sets the nic allocation method. + :param Sequence[str] dns_servers: Gets or sets the dns servers. + :param Sequence[str] gateway: Gets or sets the gateway. + :param str ip_address: Gets or sets the ip address for the nic. + :param str subnet_mask: Gets or sets the mask. + """ + pulumi.set(__self__, "ip_address_info", ip_address_info) + pulumi.set(__self__, "primary_wins_server", primary_wins_server) + pulumi.set(__self__, "secondary_wins_server", secondary_wins_server) + if allocation_method is not None: + pulumi.set(__self__, "allocation_method", allocation_method) + if dns_servers is not None: + pulumi.set(__self__, "dns_servers", dns_servers) + if gateway is not None: + pulumi.set(__self__, "gateway", gateway) + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + if subnet_mask is not None: + pulumi.set(__self__, "subnet_mask", subnet_mask) + + @property + @pulumi.getter(name="ipAddressInfo") + def ip_address_info(self) -> Sequence['outputs.NicIPAddressSettingsResponse']: + """ + Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information. + """ + return pulumi.get(self, "ip_address_info") + + @property + @pulumi.getter(name="primaryWinsServer") + def primary_wins_server(self) -> str: + """ + Gets or sets the primary server. + """ + return pulumi.get(self, "primary_wins_server") + + @property + @pulumi.getter(name="secondaryWinsServer") + def secondary_wins_server(self) -> str: + """ + Gets or sets the secondary server. + """ + return pulumi.get(self, "secondary_wins_server") + + @property + @pulumi.getter(name="allocationMethod") + def allocation_method(self) -> Optional[str]: + """ + Gets or sets the nic allocation method. + """ + return pulumi.get(self, "allocation_method") + + @property + @pulumi.getter(name="dnsServers") + def dns_servers(self) -> Optional[Sequence[str]]: + """ + Gets or sets the dns servers. + """ + return pulumi.get(self, "dns_servers") + + @property + @pulumi.getter + def gateway(self) -> Optional[Sequence[str]]: + """ + Gets or sets the gateway. + """ + return pulumi.get(self, "gateway") + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[str]: + """ + Gets or sets the ip address for the nic. + """ + return pulumi.get(self, "ip_address") + + @property + @pulumi.getter(name="subnetMask") + def subnet_mask(self) -> Optional[str]: + """ + Gets or sets the mask. + """ + return pulumi.get(self, "subnet_mask") + + +@pulumi.output_type +class OsProfileForVMInstanceResponse(dict): + """ + Specifies the operating system settings for the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "osSku": + suggest = "os_sku" + elif key == "toolsRunningStatus": + suggest = "tools_running_status" + elif key == "toolsVersion": + suggest = "tools_version" + elif key == "toolsVersionStatus": + suggest = "tools_version_status" + elif key == "adminUsername": + suggest = "admin_username" + elif key == "computerName": + suggest = "computer_name" + elif key == "guestId": + suggest = "guest_id" + elif key == "osType": + suggest = "os_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OsProfileForVMInstanceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OsProfileForVMInstanceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OsProfileForVMInstanceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + os_sku: str, + tools_running_status: str, + tools_version: str, + tools_version_status: str, + admin_username: Optional[str] = None, + computer_name: Optional[str] = None, + guest_id: Optional[str] = None, + os_type: Optional[str] = None): + """ + Specifies the operating system settings for the virtual machine. + :param str os_sku: Gets or sets os sku. + :param str tools_running_status: Gets or sets the current running status of VMware Tools running in the guest operating system. + :param str tools_version: Gets or sets the current version of VMware Tools. + :param str tools_version_status: Gets or sets the current version status of VMware Tools installed in the guest operating system. + :param str admin_username: Gets or sets administrator username. + :param str computer_name: Gets or sets computer name. + :param str guest_id: Gets or sets the guestId. + :param str os_type: Gets or sets the type of the os. + """ + pulumi.set(__self__, "os_sku", os_sku) + pulumi.set(__self__, "tools_running_status", tools_running_status) + pulumi.set(__self__, "tools_version", tools_version) + pulumi.set(__self__, "tools_version_status", tools_version_status) + if admin_username is not None: + pulumi.set(__self__, "admin_username", admin_username) + if computer_name is not None: + pulumi.set(__self__, "computer_name", computer_name) + if guest_id is not None: + pulumi.set(__self__, "guest_id", guest_id) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + + @property + @pulumi.getter(name="osSku") + def os_sku(self) -> str: + """ + Gets or sets os sku. + """ + return pulumi.get(self, "os_sku") + + @property + @pulumi.getter(name="toolsRunningStatus") + def tools_running_status(self) -> str: + """ + Gets or sets the current running status of VMware Tools running in the guest operating system. + """ + return pulumi.get(self, "tools_running_status") + + @property + @pulumi.getter(name="toolsVersion") + def tools_version(self) -> str: + """ + Gets or sets the current version of VMware Tools. + """ + return pulumi.get(self, "tools_version") + + @property + @pulumi.getter(name="toolsVersionStatus") + def tools_version_status(self) -> str: + """ + Gets or sets the current version status of VMware Tools installed in the guest operating system. + """ + return pulumi.get(self, "tools_version_status") + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> Optional[str]: + """ + Gets or sets administrator username. + """ + return pulumi.get(self, "admin_username") + + @property + @pulumi.getter(name="computerName") + def computer_name(self) -> Optional[str]: + """ + Gets or sets computer name. + """ + return pulumi.get(self, "computer_name") + + @property + @pulumi.getter(name="guestId") + def guest_id(self) -> Optional[str]: + """ + Gets or sets the guestId. + """ + return pulumi.get(self, "guest_id") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[str]: + """ + Gets or sets the type of the os. + """ + return pulumi.get(self, "os_type") + + +@pulumi.output_type +class PlacementProfileResponse(dict): + """ + Specifies the compute and storage placement settings for the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clusterId": + suggest = "cluster_id" + elif key == "datastoreId": + suggest = "datastore_id" + elif key == "hostId": + suggest = "host_id" + elif key == "resourcePoolId": + suggest = "resource_pool_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PlacementProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PlacementProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PlacementProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cluster_id: Optional[str] = None, + datastore_id: Optional[str] = None, + host_id: Optional[str] = None, + resource_pool_id: Optional[str] = None): + """ + Specifies the compute and storage placement settings for the virtual machine. + :param str cluster_id: Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + :param str datastore_id: Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + :param str host_id: Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + :param str resource_pool_id: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + """ + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if datastore_id is not None: + pulumi.set(__self__, "datastore_id", datastore_id) + if host_id is not None: + pulumi.set(__self__, "host_id", host_id) + if resource_pool_id is not None: + pulumi.set(__self__, "resource_pool_id", resource_pool_id) + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy. + """ + return pulumi.get(self, "cluster_id") + + @property + @pulumi.getter(name="datastoreId") + def datastore_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept. + """ + return pulumi.get(self, "datastore_id") + + @property + @pulumi.getter(name="hostId") + def host_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the host resource on which this virtual machine will deploy. + """ + return pulumi.get(self, "host_id") + + @property + @pulumi.getter(name="resourcePoolId") + def resource_pool_id(self) -> Optional[str]: + """ + Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy. + """ + return pulumi.get(self, "resource_pool_id") + + +@pulumi.output_type +class ResourceStatusResponse(dict): + """ + The resource status information. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lastUpdatedAt": + suggest = "last_updated_at" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + last_updated_at: str, + message: str, + reason: str, + severity: str, + status: str, + type: str): + """ + The resource status information. + :param str last_updated_at: The last update time for this condition. + :param str message: A human readable message indicating details about the status. + :param str reason: The reason for the condition's status. + :param str severity: Severity with which to treat failures of this type of condition. + :param str status: Status of the condition. + :param str type: The type of the condition. + """ + pulumi.set(__self__, "last_updated_at", last_updated_at) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "reason", reason) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="lastUpdatedAt") + def last_updated_at(self) -> str: + """ + The last update time for this condition. + """ + return pulumi.get(self, "last_updated_at") + + @property + @pulumi.getter + def message(self) -> str: + """ + A human readable message indicating details about the status. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def reason(self) -> str: + """ + The reason for the condition's status. + """ + return pulumi.get(self, "reason") + + @property + @pulumi.getter + def severity(self) -> str: + """ + Severity with which to treat failures of this type of condition. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the condition. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the condition. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class SecurityProfileResponse(dict): + """ + Specifies the Security profile settings for the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "uefiSettings": + suggest = "uefi_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecurityProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecurityProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecurityProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uefi_settings: Optional['outputs.UefiSettingsResponse'] = None): + """ + Specifies the Security profile settings for the virtual machine. + :param 'UefiSettingsResponse' uefi_settings: Specifies the security settings like secure boot used while creating the virtual machine. + """ + if uefi_settings is not None: + pulumi.set(__self__, "uefi_settings", uefi_settings) + + @property + @pulumi.getter(name="uefiSettings") + def uefi_settings(self) -> Optional['outputs.UefiSettingsResponse']: + """ + Specifies the security settings like secure boot used while creating the virtual machine. + """ + return pulumi.get(self, "uefi_settings") + + +@pulumi.output_type +class StorageProfileResponse(dict): + """ + Specifies the storage settings for the virtual machine disks. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "scsiControllers": + suggest = "scsi_controllers" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StorageProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StorageProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StorageProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + scsi_controllers: Sequence['outputs.VirtualSCSIControllerResponse'], + disks: Optional[Sequence['outputs.VirtualDiskResponse']] = None): + """ + Specifies the storage settings for the virtual machine disks. + :param Sequence['VirtualSCSIControllerResponse'] scsi_controllers: Gets or sets the list of virtual SCSI controllers associated with the virtual machine. + :param Sequence['VirtualDiskResponse'] disks: Gets or sets the list of virtual disks associated with the virtual machine. + """ + pulumi.set(__self__, "scsi_controllers", scsi_controllers) + if disks is not None: + pulumi.set(__self__, "disks", disks) + + @property + @pulumi.getter(name="scsiControllers") + def scsi_controllers(self) -> Sequence['outputs.VirtualSCSIControllerResponse']: + """ + Gets or sets the list of virtual SCSI controllers associated with the virtual machine. + """ + return pulumi.get(self, "scsi_controllers") + + @property + @pulumi.getter + def disks(self) -> Optional[Sequence['outputs.VirtualDiskResponse']]: + """ + Gets or sets the list of virtual disks associated with the virtual machine. + """ + return pulumi.get(self, "disks") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UefiSettingsResponse(dict): + """ + Specifies the security settings like secure boot used while creating the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "secureBootEnabled": + suggest = "secure_boot_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UefiSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UefiSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UefiSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + secure_boot_enabled: Optional[bool] = None): + """ + Specifies the security settings like secure boot used while creating the virtual machine. + :param bool secure_boot_enabled: Specifies whether secure boot should be enabled on the virtual machine. + """ + if secure_boot_enabled is not None: + pulumi.set(__self__, "secure_boot_enabled", secure_boot_enabled) + + @property + @pulumi.getter(name="secureBootEnabled") + def secure_boot_enabled(self) -> Optional[bool]: + """ + Specifies whether secure boot should be enabled on the virtual machine. + """ + return pulumi.get(self, "secure_boot_enabled") + + +@pulumi.output_type +class VICredentialResponse(dict): + """ + Username / Password Credentials to connect to vcenter. + """ + def __init__(__self__, *, + username: Optional[str] = None): + """ + Username / Password Credentials to connect to vcenter. + :param str username: Gets or sets username to connect with the vCenter. + """ + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + Gets or sets username to connect with the vCenter. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class VirtualDiskResponse(dict): + """ + Virtual disk model + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "diskObjectId": + suggest = "disk_object_id" + elif key == "controllerKey": + suggest = "controller_key" + elif key == "deviceKey": + suggest = "device_key" + elif key == "deviceName": + suggest = "device_name" + elif key == "diskMode": + suggest = "disk_mode" + elif key == "diskSizeGB": + suggest = "disk_size_gb" + elif key == "diskType": + suggest = "disk_type" + elif key == "unitNumber": + suggest = "unit_number" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualDiskResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualDiskResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualDiskResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + disk_object_id: str, + label: str, + controller_key: Optional[int] = None, + device_key: Optional[int] = None, + device_name: Optional[str] = None, + disk_mode: Optional[str] = None, + disk_size_gb: Optional[int] = None, + disk_type: Optional[str] = None, + name: Optional[str] = None, + unit_number: Optional[int] = None): + """ + Virtual disk model + :param str disk_object_id: Gets or sets the disk object id. + :param str label: Gets or sets the label of the virtual disk in vCenter. + :param int controller_key: Gets or sets the controller id. + :param int device_key: Gets or sets the device key value. + :param str device_name: Gets or sets the device name. + :param str disk_mode: Gets or sets the disk mode. + :param int disk_size_gb: Gets or sets the disk total size. + :param str disk_type: Gets or sets the disk backing type. + :param str name: Gets or sets the name of the virtual disk. + :param int unit_number: Gets or sets the unit number of the disk on the controller. + """ + pulumi.set(__self__, "disk_object_id", disk_object_id) + pulumi.set(__self__, "label", label) + if controller_key is not None: + pulumi.set(__self__, "controller_key", controller_key) + if device_key is not None: + pulumi.set(__self__, "device_key", device_key) + if device_name is not None: + pulumi.set(__self__, "device_name", device_name) + if disk_mode is not None: + pulumi.set(__self__, "disk_mode", disk_mode) + if disk_size_gb is not None: + pulumi.set(__self__, "disk_size_gb", disk_size_gb) + if disk_type is not None: + pulumi.set(__self__, "disk_type", disk_type) + if name is not None: + pulumi.set(__self__, "name", name) + if unit_number is not None: + pulumi.set(__self__, "unit_number", unit_number) + + @property + @pulumi.getter(name="diskObjectId") + def disk_object_id(self) -> str: + """ + Gets or sets the disk object id. + """ + return pulumi.get(self, "disk_object_id") + + @property + @pulumi.getter + def label(self) -> str: + """ + Gets or sets the label of the virtual disk in vCenter. + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter(name="controllerKey") + def controller_key(self) -> Optional[int]: + """ + Gets or sets the controller id. + """ + return pulumi.get(self, "controller_key") + + @property + @pulumi.getter(name="deviceKey") + def device_key(self) -> Optional[int]: + """ + Gets or sets the device key value. + """ + return pulumi.get(self, "device_key") + + @property + @pulumi.getter(name="deviceName") + def device_name(self) -> Optional[str]: + """ + Gets or sets the device name. + """ + return pulumi.get(self, "device_name") + + @property + @pulumi.getter(name="diskMode") + def disk_mode(self) -> Optional[str]: + """ + Gets or sets the disk mode. + """ + return pulumi.get(self, "disk_mode") + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> Optional[int]: + """ + Gets or sets the disk total size. + """ + return pulumi.get(self, "disk_size_gb") + + @property + @pulumi.getter(name="diskType") + def disk_type(self) -> Optional[str]: + """ + Gets or sets the disk backing type. + """ + return pulumi.get(self, "disk_type") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Gets or sets the name of the virtual disk. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="unitNumber") + def unit_number(self) -> Optional[int]: + """ + Gets or sets the unit number of the disk on the controller. + """ + return pulumi.get(self, "unit_number") + + +@pulumi.output_type +class VirtualSCSIControllerResponse(dict): + """ + This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "busNumber": + suggest = "bus_number" + elif key == "controllerKey": + suggest = "controller_key" + elif key == "scsiCtlrUnitNumber": + suggest = "scsi_ctlr_unit_number" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualSCSIControllerResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualSCSIControllerResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualSCSIControllerResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + bus_number: Optional[int] = None, + controller_key: Optional[int] = None, + scsi_ctlr_unit_number: Optional[int] = None, + sharing: Optional[str] = None, + type: Optional[str] = None): + """ + This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller. + :param int bus_number: Gets or sets the bus number of the controller. + :param int controller_key: Gets or sets the key of the controller. + :param int scsi_ctlr_unit_number: Gets or sets the SCSI controller unit number. + :param str sharing: Gets or sets the sharing mode. + :param str type: Gets or sets the controller type. + """ + if bus_number is not None: + pulumi.set(__self__, "bus_number", bus_number) + if controller_key is not None: + pulumi.set(__self__, "controller_key", controller_key) + if scsi_ctlr_unit_number is not None: + pulumi.set(__self__, "scsi_ctlr_unit_number", scsi_ctlr_unit_number) + if sharing is not None: + pulumi.set(__self__, "sharing", sharing) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="busNumber") + def bus_number(self) -> Optional[int]: + """ + Gets or sets the bus number of the controller. + """ + return pulumi.get(self, "bus_number") + + @property + @pulumi.getter(name="controllerKey") + def controller_key(self) -> Optional[int]: + """ + Gets or sets the key of the controller. + """ + return pulumi.get(self, "controller_key") + + @property + @pulumi.getter(name="scsiCtlrUnitNumber") + def scsi_ctlr_unit_number(self) -> Optional[int]: + """ + Gets or sets the SCSI controller unit number. + """ + return pulumi.get(self, "scsi_ctlr_unit_number") + + @property + @pulumi.getter + def sharing(self) -> Optional[str]: + """ + Gets or sets the sharing mode. + """ + return pulumi.get(self, "sharing") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Gets or sets the controller type. + """ + return pulumi.get(self, "type") + + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/resource_pool.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/resource_pool.py new file mode 100644 index 000000000000..f128c202a721 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/resource_pool.py @@ -0,0 +1,544 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ResourcePoolArgs', 'ResourcePool'] + +@pulumi.input_type +class ResourcePoolArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_pool_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ResourcePool resource. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the resource pool. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + :param pulumi.Input[str] resource_pool_name: Name of the resourcePool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if resource_pool_name is not None: + pulumi.set(__self__, "resource_pool_name", resource_pool_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the resource pool. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + @property + @pulumi.getter(name="resourcePoolName") + def resource_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the resourcePool. + """ + return pulumi.get(self, "resource_pool_name") + + @resource_pool_name.setter + def resource_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_pool_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + +class ResourcePool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_pool_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Define the resourcePool. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the resource pool. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[str] resource_pool_name: Name of the resourcePool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ResourcePoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the resourcePool. + + :param str resource_name: The name of the resource. + :param ResourcePoolArgs 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(ResourcePoolArgs, 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, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_pool_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_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__ = ResourcePoolArgs.__new__(ResourcePoolArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["inventory_item_id"] = inventory_item_id + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["mo_ref_id"] = mo_ref_id + 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__["resource_pool_name"] = resource_pool_name + __props__.__dict__["tags"] = tags + __props__.__dict__["v_center_id"] = v_center_id + __props__.__dict__["cpu_capacity_m_hz"] = None + __props__.__dict__["cpu_limit_m_hz"] = None + __props__.__dict__["cpu_overall_usage_m_hz"] = None + __props__.__dict__["cpu_reservation_m_hz"] = None + __props__.__dict__["cpu_shares_level"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["datastore_ids"] = None + __props__.__dict__["mem_capacity_gb"] = None + __props__.__dict__["mem_limit_mb"] = None + __props__.__dict__["mem_overall_usage_gb"] = None + __props__.__dict__["mem_reservation_mb"] = None + __props__.__dict__["mem_shares_level"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_ids"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:ResourcePool"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:ResourcePool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ResourcePool, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:ResourcePool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ResourcePool': + """ + Get an existing ResourcePool 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ResourcePoolArgs.__new__(ResourcePoolArgs) + + __props__.__dict__["cpu_capacity_m_hz"] = None + __props__.__dict__["cpu_limit_m_hz"] = None + __props__.__dict__["cpu_overall_usage_m_hz"] = None + __props__.__dict__["cpu_reservation_m_hz"] = None + __props__.__dict__["cpu_shares_level"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["datastore_ids"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["inventory_item_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["mem_capacity_gb"] = None + __props__.__dict__["mem_limit_mb"] = None + __props__.__dict__["mem_overall_usage_gb"] = None + __props__.__dict__["mem_reservation_mb"] = None + __props__.__dict__["mem_shares_level"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_ids"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["v_center_id"] = None + return ResourcePool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cpuCapacityMHz") + def cpu_capacity_m_hz(self) -> pulumi.Output[float]: + """ + Gets the max CPU usage across all cores on the pool in MHz. + """ + return pulumi.get(self, "cpu_capacity_m_hz") + + @property + @pulumi.getter(name="cpuLimitMHz") + def cpu_limit_m_hz(self) -> pulumi.Output[float]: + """ + Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. + Utilization will not exceed this limit even if there are available resources. + """ + return pulumi.get(self, "cpu_limit_m_hz") + + @property + @pulumi.getter(name="cpuOverallUsageMHz") + def cpu_overall_usage_m_hz(self) -> pulumi.Output[float]: + """ + Gets the used CPU usage across all cores on the pool in MHz. + """ + return pulumi.get(self, "cpu_overall_usage_m_hz") + + @property + @pulumi.getter(name="cpuReservationMHz") + def cpu_reservation_m_hz(self) -> pulumi.Output[float]: + """ + Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed + to be available. + """ + return pulumi.get(self, "cpu_reservation_m_hz") + + @property + @pulumi.getter(name="cpuSharesLevel") + def cpu_shares_level(self) -> pulumi.Output[str]: + """ + Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. + This property is used in relative allocation between resource consumers. + """ + return pulumi.get(self, "cpu_shares_level") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="datastoreIds") + def datastore_ids(self) -> pulumi.Output[Sequence[str]]: + """ + Gets the datastore ARM ids. + """ + return pulumi.get(self, "datastore_ids") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the inventory Item ID for the resource pool. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="memCapacityGB") + def mem_capacity_gb(self) -> pulumi.Output[float]: + """ + Gets the total amount of physical memory on the pool in GB. + """ + return pulumi.get(self, "mem_capacity_gb") + + @property + @pulumi.getter(name="memLimitMB") + def mem_limit_mb(self) -> pulumi.Output[float]: + """ + Gets or sets MemLimitMB specifies a memory usage limit in megabytes. + Utilization will not exceed the specified limit even if there are available resources. + """ + return pulumi.get(self, "mem_limit_mb") + + @property + @pulumi.getter(name="memOverallUsageGB") + def mem_overall_usage_gb(self) -> pulumi.Output[float]: + """ + Gets the used physical memory on the pool in GB. + """ + return pulumi.get(self, "mem_overall_usage_gb") + + @property + @pulumi.getter(name="memReservationMB") + def mem_reservation_mb(self) -> pulumi.Output[float]: + """ + Gets or sets MemReservationMB which specifies the guaranteed available memory in + megabytes. + """ + return pulumi.get(self, "mem_reservation_mb") + + @property + @pulumi.getter(name="memSharesLevel") + def mem_shares_level(self) -> pulumi.Output[str]: + """ + Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. + This property is used in relative allocation between resource consumers. + """ + return pulumi.get(self, "mem_shares_level") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[str]: + """ + Gets or sets the vCenter Managed Object name for the resource pool. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkIds") + def network_ids(self) -> pulumi.Output[Sequence[str]]: + """ + Gets the network ARM ids. + """ + return pulumi.get(self, "network_ids") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this resource pool resides. + """ + return pulumi.get(self, "v_center_id") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/v_center.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/v_center.py new file mode 100644 index 000000000000..16349951032d --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/v_center.py @@ -0,0 +1,439 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['VCenterArgs', 'VCenter'] + +@pulumi.input_type +class VCenterArgs: + def __init__(__self__, *, + fqdn: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + credentials: Optional[pulumi.Input['VICredentialArgs']] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VCenter resource. + :param pulumi.Input[str] fqdn: Gets or sets the FQDN/IPAddress of the vCenter. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input['VICredentialArgs'] credentials: Username / Password Credentials to connect to vcenter. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[int] port: Gets or sets the port of the vCenter. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] vcenter_name: Name of the vCenter. + """ + pulumi.set(__self__, "fqdn", fqdn) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if port is not None: + pulumi.set(__self__, "port", port) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if vcenter_name is not None: + pulumi.set(__self__, "vcenter_name", vcenter_name) + + @property + @pulumi.getter + def fqdn(self) -> pulumi.Input[str]: + """ + Gets or sets the FQDN/IPAddress of the vCenter. + """ + return pulumi.get(self, "fqdn") + + @fqdn.setter + def fqdn(self, value: pulumi.Input[str]): + pulumi.set(self, "fqdn", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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 credentials(self) -> Optional[pulumi.Input['VICredentialArgs']]: + """ + Username / Password Credentials to connect to vcenter. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['VICredentialArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + """ + Gets or sets the port of the vCenter. + """ + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vcenterName") + def vcenter_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the vCenter. + """ + return pulumi.get(self, "vcenter_name") + + @vcenter_name.setter + def vcenter_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vcenter_name", value) + + +class VCenter(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['VICredentialArgs']]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Defines the vCenter. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['VICredentialArgs']] credentials: Username / Password Credentials to connect to vcenter. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] fqdn: Gets or sets the FQDN/IPAddress of the vCenter. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[int] port: Gets or sets the port of the vCenter. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] vcenter_name: Name of the vCenter. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VCenterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines the vCenter. + + :param str resource_name: The name of the resource. + :param VCenterArgs 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(VCenterArgs, 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, + credentials: Optional[pulumi.Input[pulumi.InputType['VICredentialArgs']]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vcenter_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VCenterArgs.__new__(VCenterArgs) + + __props__.__dict__["credentials"] = credentials + __props__.__dict__["extended_location"] = extended_location + if fqdn is None and not opts.urn: + raise TypeError("Missing required property 'fqdn'") + __props__.__dict__["fqdn"] = fqdn + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["port"] = port + 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 + __props__.__dict__["vcenter_name"] = vcenter_name + __props__.__dict__["connection_status"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["instance_uuid"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["version"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VCenter")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VCenter, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:VCenter', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VCenter': + """ + Get an existing VCenter 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VCenterArgs.__new__(VCenterArgs) + + __props__.__dict__["connection_status"] = None + __props__.__dict__["credentials"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["fqdn"] = None + __props__.__dict__["instance_uuid"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["port"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["version"] = None + return VCenter(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="connectionStatus") + def connection_status(self) -> pulumi.Output[str]: + """ + Gets or sets the connection status to the vCenter. + """ + return pulumi.get(self, "connection_status") + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.VICredentialResponse']]: + """ + Username / Password Credentials to connect to vcenter. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def fqdn(self) -> pulumi.Output[str]: + """ + Gets or sets the FQDN/IPAddress of the vCenter. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="instanceUuid") + def instance_uuid(self) -> pulumi.Output[str]: + """ + Gets or sets the instance UUID of the vCenter. + """ + return pulumi.get(self, "instance_uuid") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def port(self) -> pulumi.Output[Optional[int]]: + """ + Gets or sets the port of the vCenter. + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[str]: + """ + Gets or sets the version of the vCenter. + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_machine_instance.py new file mode 100644 index 000000000000..74c02f6cc343 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_machine_instance.py @@ -0,0 +1,418 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VirtualMachineInstanceArgs', 'VirtualMachineInstance'] + +@pulumi.input_type +class VirtualMachineInstanceArgs: + def __init__(__self__, *, + resource_uri: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + hardware_profile: Optional[pulumi.Input['HardwareProfileArgs']] = None, + infrastructure_profile: Optional[pulumi.Input['InfrastructureProfileArgs']] = None, + network_profile: Optional[pulumi.Input['NetworkProfileArgs']] = None, + os_profile: Optional[pulumi.Input['OsProfileForVMInstanceArgs']] = None, + placement_profile: Optional[pulumi.Input['PlacementProfileArgs']] = None, + security_profile: Optional[pulumi.Input['SecurityProfileArgs']] = None, + storage_profile: Optional[pulumi.Input['StorageProfileArgs']] = None): + """ + The set of arguments for constructing a VirtualMachineInstance resource. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input['HardwareProfileArgs'] hardware_profile: Hardware properties. + :param pulumi.Input['InfrastructureProfileArgs'] infrastructure_profile: Gets the infrastructure profile. + :param pulumi.Input['NetworkProfileArgs'] network_profile: Network properties. + :param pulumi.Input['OsProfileForVMInstanceArgs'] os_profile: OS properties. + :param pulumi.Input['PlacementProfileArgs'] placement_profile: Placement properties. + :param pulumi.Input['SecurityProfileArgs'] security_profile: Gets the security profile. + :param pulumi.Input['StorageProfileArgs'] storage_profile: Storage properties. + """ + pulumi.set(__self__, "resource_uri", resource_uri) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if hardware_profile is not None: + pulumi.set(__self__, "hardware_profile", hardware_profile) + if infrastructure_profile is not None: + pulumi.set(__self__, "infrastructure_profile", infrastructure_profile) + if network_profile is not None: + pulumi.set(__self__, "network_profile", network_profile) + if os_profile is not None: + pulumi.set(__self__, "os_profile", os_profile) + if placement_profile is not None: + pulumi.set(__self__, "placement_profile", placement_profile) + if security_profile is not None: + pulumi.set(__self__, "security_profile", security_profile) + if storage_profile is not None: + pulumi.set(__self__, "storage_profile", storage_profile) + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> pulumi.Input[str]: + """ + The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + return pulumi.get(self, "resource_uri") + + @resource_uri.setter + def resource_uri(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_uri", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="hardwareProfile") + def hardware_profile(self) -> Optional[pulumi.Input['HardwareProfileArgs']]: + """ + Hardware properties. + """ + return pulumi.get(self, "hardware_profile") + + @hardware_profile.setter + def hardware_profile(self, value: Optional[pulumi.Input['HardwareProfileArgs']]): + pulumi.set(self, "hardware_profile", value) + + @property + @pulumi.getter(name="infrastructureProfile") + def infrastructure_profile(self) -> Optional[pulumi.Input['InfrastructureProfileArgs']]: + """ + Gets the infrastructure profile. + """ + return pulumi.get(self, "infrastructure_profile") + + @infrastructure_profile.setter + def infrastructure_profile(self, value: Optional[pulumi.Input['InfrastructureProfileArgs']]): + pulumi.set(self, "infrastructure_profile", value) + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional[pulumi.Input['NetworkProfileArgs']]: + """ + Network properties. + """ + return pulumi.get(self, "network_profile") + + @network_profile.setter + def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]): + pulumi.set(self, "network_profile", value) + + @property + @pulumi.getter(name="osProfile") + def os_profile(self) -> Optional[pulumi.Input['OsProfileForVMInstanceArgs']]: + """ + OS properties. + """ + return pulumi.get(self, "os_profile") + + @os_profile.setter + def os_profile(self, value: Optional[pulumi.Input['OsProfileForVMInstanceArgs']]): + pulumi.set(self, "os_profile", value) + + @property + @pulumi.getter(name="placementProfile") + def placement_profile(self) -> Optional[pulumi.Input['PlacementProfileArgs']]: + """ + Placement properties. + """ + return pulumi.get(self, "placement_profile") + + @placement_profile.setter + def placement_profile(self, value: Optional[pulumi.Input['PlacementProfileArgs']]): + pulumi.set(self, "placement_profile", value) + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional[pulumi.Input['SecurityProfileArgs']]: + """ + Gets the security profile. + """ + return pulumi.get(self, "security_profile") + + @security_profile.setter + def security_profile(self, value: Optional[pulumi.Input['SecurityProfileArgs']]): + pulumi.set(self, "security_profile", value) + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> Optional[pulumi.Input['StorageProfileArgs']]: + """ + Storage properties. + """ + return pulumi.get(self, "storage_profile") + + @storage_profile.setter + def storage_profile(self, value: Optional[pulumi.Input['StorageProfileArgs']]): + pulumi.set(self, "storage_profile", value) + + +class VirtualMachineInstance(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + hardware_profile: Optional[pulumi.Input[pulumi.InputType['HardwareProfileArgs']]] = None, + infrastructure_profile: Optional[pulumi.Input[pulumi.InputType['InfrastructureProfileArgs']]] = None, + network_profile: Optional[pulumi.Input[pulumi.InputType['NetworkProfileArgs']]] = None, + os_profile: Optional[pulumi.Input[pulumi.InputType['OsProfileForVMInstanceArgs']]] = None, + placement_profile: Optional[pulumi.Input[pulumi.InputType['PlacementProfileArgs']]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input[pulumi.InputType['SecurityProfileArgs']]] = None, + storage_profile: Optional[pulumi.Input[pulumi.InputType['StorageProfileArgs']]] = None, + __props__=None): + """ + Define the virtualMachineInstance. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[pulumi.InputType['HardwareProfileArgs']] hardware_profile: Hardware properties. + :param pulumi.Input[pulumi.InputType['InfrastructureProfileArgs']] infrastructure_profile: Gets the infrastructure profile. + :param pulumi.Input[pulumi.InputType['NetworkProfileArgs']] network_profile: Network properties. + :param pulumi.Input[pulumi.InputType['OsProfileForVMInstanceArgs']] os_profile: OS properties. + :param pulumi.Input[pulumi.InputType['PlacementProfileArgs']] placement_profile: Placement properties. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + :param pulumi.Input[pulumi.InputType['SecurityProfileArgs']] security_profile: Gets the security profile. + :param pulumi.Input[pulumi.InputType['StorageProfileArgs']] storage_profile: Storage properties. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VirtualMachineInstanceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the virtualMachineInstance. + + :param str resource_name: The name of the resource. + :param VirtualMachineInstanceArgs 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(VirtualMachineInstanceArgs, 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, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + hardware_profile: Optional[pulumi.Input[pulumi.InputType['HardwareProfileArgs']]] = None, + infrastructure_profile: Optional[pulumi.Input[pulumi.InputType['InfrastructureProfileArgs']]] = None, + network_profile: Optional[pulumi.Input[pulumi.InputType['NetworkProfileArgs']]] = None, + os_profile: Optional[pulumi.Input[pulumi.InputType['OsProfileForVMInstanceArgs']]] = None, + placement_profile: Optional[pulumi.Input[pulumi.InputType['PlacementProfileArgs']]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input[pulumi.InputType['SecurityProfileArgs']]] = None, + storage_profile: Optional[pulumi.Input[pulumi.InputType['StorageProfileArgs']]] = 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__ = VirtualMachineInstanceArgs.__new__(VirtualMachineInstanceArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["hardware_profile"] = hardware_profile + __props__.__dict__["infrastructure_profile"] = infrastructure_profile + __props__.__dict__["network_profile"] = network_profile + __props__.__dict__["os_profile"] = os_profile + __props__.__dict__["placement_profile"] = placement_profile + if resource_uri is None and not opts.urn: + raise TypeError("Missing required property 'resource_uri'") + __props__.__dict__["resource_uri"] = resource_uri + __props__.__dict__["security_profile"] = security_profile + __props__.__dict__["storage_profile"] = storage_profile + __props__.__dict__["name"] = None + __props__.__dict__["power_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_uid"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VirtualMachineInstance, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VirtualMachineInstance': + """ + Get an existing VirtualMachineInstance 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VirtualMachineInstanceArgs.__new__(VirtualMachineInstanceArgs) + + __props__.__dict__["extended_location"] = None + __props__.__dict__["hardware_profile"] = None + __props__.__dict__["infrastructure_profile"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_profile"] = None + __props__.__dict__["os_profile"] = None + __props__.__dict__["placement_profile"] = None + __props__.__dict__["power_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_uid"] = None + __props__.__dict__["security_profile"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["storage_profile"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return VirtualMachineInstance(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hardwareProfile") + def hardware_profile(self) -> pulumi.Output[Optional['outputs.HardwareProfileResponse']]: + """ + Hardware properties. + """ + return pulumi.get(self, "hardware_profile") + + @property + @pulumi.getter(name="infrastructureProfile") + def infrastructure_profile(self) -> pulumi.Output[Optional['outputs.InfrastructureProfileResponse']]: + """ + Gets the infrastructure profile. + """ + return pulumi.get(self, "infrastructure_profile") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> pulumi.Output[Optional['outputs.NetworkProfileResponse']]: + """ + Network properties. + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="osProfile") + def os_profile(self) -> pulumi.Output[Optional['outputs.OsProfileForVMInstanceResponse']]: + """ + OS properties. + """ + return pulumi.get(self, "os_profile") + + @property + @pulumi.getter(name="placementProfile") + def placement_profile(self) -> pulumi.Output[Optional['outputs.PlacementProfileResponse']]: + """ + Placement properties. + """ + return pulumi.get(self, "placement_profile") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> pulumi.Output[str]: + """ + Gets the power state of the virtual machine. + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceUid") + def resource_uid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for the vm resource. + """ + return pulumi.get(self, "resource_uid") + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> pulumi.Output[Optional['outputs.SecurityProfileResponse']]: + """ + Gets the security profile. + """ + return pulumi.get(self, "security_profile") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> pulumi.Output[Optional['outputs.StorageProfileResponse']]: + """ + Storage properties. + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_machine_template.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_machine_template.py new file mode 100644 index 000000000000..7812c51abd73 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_machine_template.py @@ -0,0 +1,533 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['VirtualMachineTemplateArgs', 'VirtualMachineTemplate'] + +@pulumi.input_type +class VirtualMachineTemplateArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + virtual_machine_template_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VirtualMachineTemplate resource. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the virtual machine template. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + template. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this template resides. + :param pulumi.Input[str] virtual_machine_template_name: Name of the virtual machine template resource. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + if virtual_machine_template_name is not None: + pulumi.set(__self__, "virtual_machine_template_name", virtual_machine_template_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the virtual machine template. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + template. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this template resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + @property + @pulumi.getter(name="virtualMachineTemplateName") + def virtual_machine_template_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the virtual machine template resource. + """ + return pulumi.get(self, "virtual_machine_template_name") + + @virtual_machine_template_name.setter + def virtual_machine_template_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "virtual_machine_template_name", value) + + +class VirtualMachineTemplate(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + virtual_machine_template_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Define the virtualMachineTemplate. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the virtual machine template. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + template. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this template resides. + :param pulumi.Input[str] virtual_machine_template_name: Name of the virtual machine template resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VirtualMachineTemplateArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the virtualMachineTemplate. + + :param str resource_name: The name of the resource. + :param VirtualMachineTemplateArgs 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(VirtualMachineTemplateArgs, 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, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + virtual_machine_template_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VirtualMachineTemplateArgs.__new__(VirtualMachineTemplateArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["inventory_item_id"] = inventory_item_id + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["mo_ref_id"] = mo_ref_id + 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 + __props__.__dict__["v_center_id"] = v_center_id + __props__.__dict__["virtual_machine_template_name"] = virtual_machine_template_name + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["disks"] = None + __props__.__dict__["firmware_type"] = None + __props__.__dict__["folder_path"] = None + __props__.__dict__["memory_size_mb"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_interfaces"] = None + __props__.__dict__["num_cpus"] = None + __props__.__dict__["num_cores_per_socket"] = None + __props__.__dict__["os_name"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tools_version"] = None + __props__.__dict__["tools_version_status"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VirtualMachineTemplate, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VirtualMachineTemplate': + """ + Get an existing VirtualMachineTemplate 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VirtualMachineTemplateArgs.__new__(VirtualMachineTemplateArgs) + + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["disks"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["firmware_type"] = None + __props__.__dict__["folder_path"] = None + __props__.__dict__["inventory_item_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["memory_size_mb"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_interfaces"] = None + __props__.__dict__["num_cpus"] = None + __props__.__dict__["num_cores_per_socket"] = None + __props__.__dict__["os_name"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["tools_version"] = None + __props__.__dict__["tools_version_status"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["v_center_id"] = None + return VirtualMachineTemplate(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter + def disks(self) -> pulumi.Output[Sequence['outputs.VirtualDiskResponse']]: + """ + Gets or sets the disks the template. + """ + return pulumi.get(self, "disks") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="firmwareType") + def firmware_type(self) -> pulumi.Output[str]: + """ + Firmware type + """ + return pulumi.get(self, "firmware_type") + + @property + @pulumi.getter(name="folderPath") + def folder_path(self) -> pulumi.Output[str]: + """ + Gets or sets the folder path of the template. + """ + return pulumi.get(self, "folder_path") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the inventory Item ID for the virtual machine template. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="memorySizeMB") + def memory_size_mb(self) -> pulumi.Output[int]: + """ + Gets or sets memory size in MBs for the template. + """ + return pulumi.get(self, "memory_size_mb") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[str]: + """ + Gets or sets the vCenter Managed Object name for the virtual machine template. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine + template. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> pulumi.Output[Sequence['outputs.NetworkInterfaceResponse']]: + """ + Gets or sets the network interfaces of the template. + """ + return pulumi.get(self, "network_interfaces") + + @property + @pulumi.getter(name="numCPUs") + def num_cpus(self) -> pulumi.Output[int]: + """ + Gets or sets the number of vCPUs for the template. + """ + return pulumi.get(self, "num_cpus") + + @property + @pulumi.getter(name="numCoresPerSocket") + def num_cores_per_socket(self) -> pulumi.Output[int]: + """ + Gets or sets the number of cores per socket for the template. + Defaults to 1 if unspecified. + """ + return pulumi.get(self, "num_cores_per_socket") + + @property + @pulumi.getter(name="osName") + def os_name(self) -> pulumi.Output[str]: + """ + Gets or sets os name. + """ + return pulumi.get(self, "os_name") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the os. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="toolsVersion") + def tools_version(self) -> pulumi.Output[str]: + """ + Gets or sets the current version of VMware Tools. + """ + return pulumi.get(self, "tools_version") + + @property + @pulumi.getter(name="toolsVersionStatus") + def tools_version_status(self) -> pulumi.Output[str]: + """ + Gets or sets the current version status of VMware Tools installed in the guest operating system. + """ + return pulumi.get(self, "tools_version_status") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this template resides. + """ + return pulumi.get(self, "v_center_id") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_network.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_network.py new file mode 100644 index 000000000000..7b601246c9c6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/virtual_network.py @@ -0,0 +1,418 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['VirtualNetworkArgs', 'VirtualNetwork'] + +@pulumi.input_type +class VirtualNetworkArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + virtual_network_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VirtualNetwork resource. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the virtual network. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this template resides. + :param pulumi.Input[str] virtual_network_name: Name of the virtual network resource. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if inventory_item_id is not None: + pulumi.set(__self__, "inventory_item_id", inventory_item_id) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if mo_ref_id is not None: + pulumi.set(__self__, "mo_ref_id", mo_ref_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if v_center_id is not None: + pulumi.set(__self__, "v_center_id", v_center_id) + if virtual_network_name is not None: + pulumi.set(__self__, "virtual_network_name", virtual_network_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The Resource Group Name. + """ + 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(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the inventory Item ID for the virtual network. + """ + return pulumi.get(self, "inventory_item_id") + + @inventory_item_id.setter + def inventory_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inventory_item_id", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + """ + return pulumi.get(self, "mo_ref_id") + + @mo_ref_id.setter + def mo_ref_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mo_ref_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Gets or sets the Resource tags. + """ + 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="vCenterId") + def v_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this template resides. + """ + return pulumi.get(self, "v_center_id") + + @v_center_id.setter + def v_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "v_center_id", value) + + @property + @pulumi.getter(name="virtualNetworkName") + def virtual_network_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the virtual network resource. + """ + return pulumi.get(self, "virtual_network_name") + + @virtual_network_name.setter + def virtual_network_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "virtual_network_name", value) + + +class VirtualNetwork(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + virtual_network_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Define the virtualNetwork. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: Gets or sets the extended location. + :param pulumi.Input[str] inventory_item_id: Gets or sets the inventory Item ID for the virtual network. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: Gets or sets the location. + :param pulumi.Input[str] mo_ref_id: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + :param pulumi.Input[str] resource_group_name: The Resource Group Name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Gets or sets the Resource tags. + :param pulumi.Input[str] v_center_id: Gets or sets the ARM Id of the vCenter resource in which this template resides. + :param pulumi.Input[str] virtual_network_name: Name of the virtual network resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VirtualNetworkArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Define the virtualNetwork. + + :param str resource_name: The name of the resource. + :param VirtualNetworkArgs 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(VirtualNetworkArgs, 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, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + inventory_item_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mo_ref_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + v_center_id: Optional[pulumi.Input[str]] = None, + virtual_network_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VirtualNetworkArgs.__new__(VirtualNetworkArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["inventory_item_id"] = inventory_item_id + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["mo_ref_id"] = mo_ref_id + 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 + __props__.__dict__["v_center_id"] = v_center_id + __props__.__dict__["virtual_network_name"] = virtual_network_name + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VirtualNetwork, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VirtualNetwork': + """ + Get an existing VirtualNetwork 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VirtualNetworkArgs.__new__(VirtualNetworkArgs) + + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["inventory_item_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["mo_name"] = None + __props__.__dict__["mo_ref_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + __props__.__dict__["v_center_id"] = None + return VirtualNetwork(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + Gets or sets the extended location. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="inventoryItemId") + def inventory_item_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the inventory Item ID for the virtual network. + """ + return pulumi.get(self, "inventory_item_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Gets or sets the location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="moName") + def mo_name(self) -> pulumi.Output[str]: + """ + Gets or sets the vCenter Managed Object name for the virtual network. + """ + return pulumi.get(self, "mo_name") + + @property + @pulumi.getter(name="moRefId") + def mo_ref_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network. + """ + return pulumi.get(self, "mo_ref_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Gets or sets the name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system data. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Gets or sets the Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Gets or sets the type of the resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="vCenterId") + def v_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the ARM Id of the vCenter resource in which this template resides. + """ + return pulumi.get(self, "v_center_id") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/vm_instance_guest_agent.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/vm_instance_guest_agent.py new file mode 100644 index 000000000000..eb29e981c67f --- /dev/null +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v20231001/vm_instance_guest_agent.py @@ -0,0 +1,312 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VMInstanceGuestAgentArgs', 'VMInstanceGuestAgent'] + +@pulumi.input_type +class VMInstanceGuestAgentArgs: + def __init__(__self__, *, + resource_uri: pulumi.Input[str], + credentials: Optional[pulumi.Input['GuestCredentialArgs']] = None, + http_proxy_config: Optional[pulumi.Input['HttpProxyConfigurationArgs']] = None, + private_link_scope_resource_id: Optional[pulumi.Input[str]] = None, + provisioning_action: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]] = None): + """ + The set of arguments for constructing a VMInstanceGuestAgent resource. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + :param pulumi.Input['GuestCredentialArgs'] credentials: Username / Password Credentials to provision guest agent. + :param pulumi.Input['HttpProxyConfigurationArgs'] http_proxy_config: HTTP Proxy configuration for the VM. + :param pulumi.Input[str] private_link_scope_resource_id: The resource id of the private link scope this machine is assigned to, if any. + :param pulumi.Input[Union[str, 'ProvisioningAction']] provisioning_action: Gets or sets the guest agent provisioning action. + """ + pulumi.set(__self__, "resource_uri", resource_uri) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if http_proxy_config is not None: + pulumi.set(__self__, "http_proxy_config", http_proxy_config) + if private_link_scope_resource_id is not None: + pulumi.set(__self__, "private_link_scope_resource_id", private_link_scope_resource_id) + if provisioning_action is not None: + pulumi.set(__self__, "provisioning_action", provisioning_action) + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> pulumi.Input[str]: + """ + The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + return pulumi.get(self, "resource_uri") + + @resource_uri.setter + def resource_uri(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_uri", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['GuestCredentialArgs']]: + """ + Username / Password Credentials to provision guest agent. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['GuestCredentialArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> Optional[pulumi.Input['HttpProxyConfigurationArgs']]: + """ + HTTP Proxy configuration for the VM. + """ + return pulumi.get(self, "http_proxy_config") + + @http_proxy_config.setter + def http_proxy_config(self, value: Optional[pulumi.Input['HttpProxyConfigurationArgs']]): + pulumi.set(self, "http_proxy_config", value) + + @property + @pulumi.getter(name="privateLinkScopeResourceId") + def private_link_scope_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource id of the private link scope this machine is assigned to, if any. + """ + return pulumi.get(self, "private_link_scope_resource_id") + + @private_link_scope_resource_id.setter + def private_link_scope_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_scope_resource_id", value) + + @property + @pulumi.getter(name="provisioningAction") + def provisioning_action(self) -> Optional[pulumi.Input[Union[str, 'ProvisioningAction']]]: + """ + Gets or sets the guest agent provisioning action. + """ + return pulumi.get(self, "provisioning_action") + + @provisioning_action.setter + def provisioning_action(self, value: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]]): + pulumi.set(self, "provisioning_action", value) + + +class VMInstanceGuestAgent(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[pulumi.InputType['GuestCredentialArgs']]] = None, + http_proxy_config: Optional[pulumi.Input[pulumi.InputType['HttpProxyConfigurationArgs']]] = None, + private_link_scope_resource_id: Optional[pulumi.Input[str]] = None, + provisioning_action: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Defines the GuestAgent. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['GuestCredentialArgs']] credentials: Username / Password Credentials to provision guest agent. + :param pulumi.Input[pulumi.InputType['HttpProxyConfigurationArgs']] http_proxy_config: HTTP Proxy configuration for the VM. + :param pulumi.Input[str] private_link_scope_resource_id: The resource id of the private link scope this machine is assigned to, if any. + :param pulumi.Input[Union[str, 'ProvisioningAction']] provisioning_action: Gets or sets the guest agent provisioning action. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VMInstanceGuestAgentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines the GuestAgent. + + :param str resource_name: The name of the resource. + :param VMInstanceGuestAgentArgs 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(VMInstanceGuestAgentArgs, 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, + credentials: Optional[pulumi.Input[pulumi.InputType['GuestCredentialArgs']]] = None, + http_proxy_config: Optional[pulumi.Input[pulumi.InputType['HttpProxyConfigurationArgs']]] = None, + private_link_scope_resource_id: Optional[pulumi.Input[str]] = None, + provisioning_action: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]] = None, + resource_uri: 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__ = VMInstanceGuestAgentArgs.__new__(VMInstanceGuestAgentArgs) + + __props__.__dict__["credentials"] = credentials + __props__.__dict__["http_proxy_config"] = http_proxy_config + __props__.__dict__["private_link_scope_resource_id"] = private_link_scope_resource_id + __props__.__dict__["provisioning_action"] = provisioning_action + if resource_uri is None and not opts.urn: + raise TypeError("Missing required property 'resource_uri'") + __props__.__dict__["resource_uri"] = resource_uri + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere:VMInstanceGuestAgent"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VMInstanceGuestAgent, __self__).__init__( + 'azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VMInstanceGuestAgent': + """ + Get an existing VMInstanceGuestAgent 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VMInstanceGuestAgentArgs.__new__(VMInstanceGuestAgentArgs) + + __props__.__dict__["credentials"] = None + __props__.__dict__["custom_resource_name"] = None + __props__.__dict__["http_proxy_config"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_link_scope_resource_id"] = None + __props__.__dict__["provisioning_action"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["statuses"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uuid"] = None + return VMInstanceGuestAgent(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.GuestCredentialResponse']]: + """ + Username / Password Credentials to provision guest agent. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter(name="customResourceName") + def custom_resource_name(self) -> pulumi.Output[str]: + """ + Gets the name of the corresponding resource in Kubernetes. + """ + return pulumi.get(self, "custom_resource_name") + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> pulumi.Output[Optional['outputs.HttpProxyConfigurationResponse']]: + """ + HTTP Proxy configuration for the VM. + """ + return pulumi.get(self, "http_proxy_config") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkScopeResourceId") + def private_link_scope_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The resource id of the private link scope this machine is assigned to, if any. + """ + return pulumi.get(self, "private_link_scope_resource_id") + + @property + @pulumi.getter(name="provisioningAction") + def provisioning_action(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the guest agent provisioning action. + """ + return pulumi.get(self, "provisioning_action") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Gets the provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + Gets or sets the guest agent status. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def statuses(self) -> pulumi.Output[Sequence['outputs.ResourceStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Gets or sets a unique identifier for this resource. + """ + return pulumi.get(self, "uuid") + diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v_center.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v_center.py index ab87496c3c74..677814bc5819 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v_center.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/v_center.py @@ -260,7 +260,7 @@ def _internal_init(__self__, __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None __props__.__dict__["version"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VCenter"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VCenter, __self__).__init__( 'azure-native:connectedvmwarevsphere:VCenter', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_instance.py index aafff14bcd77..5409b0793341 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_instance.py @@ -257,7 +257,7 @@ def _internal_init(__self__, __props__.__dict__["statuses"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:connectedvmwarevsphere:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_template.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_template.py index 802b8887ed9c..55b82aed7839 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_template.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_machine_template.py @@ -271,7 +271,7 @@ def _internal_init(__self__, __props__.__dict__["tools_version_status"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualMachineTemplate"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualMachineTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineTemplate, __self__).__init__( 'azure-native:connectedvmwarevsphere:VirtualMachineTemplate', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_network.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_network.py index ad02cf27a260..4b6148b4503a 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_network.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/virtual_network.py @@ -257,7 +257,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20201001preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220110preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20220715preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VirtualNetwork"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VirtualNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualNetwork, __self__).__init__( 'azure-native:connectedvmwarevsphere:VirtualNetwork', diff --git a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/vm_instance_guest_agent.py b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/vm_instance_guest_agent.py index e18a4425da44..851869ee9fcf 100644 --- a/sdk/python/pulumi_azure_native/connectedvmwarevsphere/vm_instance_guest_agent.py +++ b/sdk/python/pulumi_azure_native/connectedvmwarevsphere/vm_instance_guest_agent.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uuid"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20230301preview:VMInstanceGuestAgent"), pulumi.Alias(type_="azure-native:connectedvmwarevsphere/v20231001:VMInstanceGuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VMInstanceGuestAgent, __self__).__init__( 'azure-native:connectedvmwarevsphere:VMInstanceGuestAgent', diff --git a/sdk/python/pulumi_azure_native/containerregistry/__init__.py b/sdk/python/pulumi_azure_native/containerregistry/__init__.py index 1f7f852c48b1..227926859b71 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/__init__.py +++ b/sdk/python/pulumi_azure_native/containerregistry/__init__.py @@ -9,7 +9,6 @@ from .agent_pool import * from .archife import * from .archive_version import * -from .build_step import * from .cache_rule import * from .connected_registry import * from .credential_set import * @@ -17,8 +16,6 @@ from .get_agent_pool import * from .get_archife import * from .get_archive_version import * -from .get_build_log_link import * -from .get_build_step import * from .get_cache_rule import * from .get_connected_registry import * from .get_credential_set import * @@ -27,8 +24,6 @@ from .get_pipeline_run import * from .get_private_endpoint_connection import * from .get_registry import * -from .get_registry_build_source_upload_url import * -from .get_registry_credentials import * from .get_replication import * from .get_scope_map import * from .get_task import * @@ -38,8 +33,6 @@ from .get_webhook_callback_config import * from .import_pipeline import * from .list_agent_pool_queue_status import * -from .list_build_step_build_arguments import * -from .list_build_task_source_repository_properties import * from .list_registry_build_source_upload_url import * from .list_registry_credentials import * from .list_run_log_sas_url import * @@ -60,12 +53,8 @@ # Make subpackages available: if typing.TYPE_CHECKING: - import pulumi_azure_native.containerregistry.v20160627preview as __v20160627preview - v20160627preview = __v20160627preview import pulumi_azure_native.containerregistry.v20170301 as __v20170301 v20170301 = __v20170301 - import pulumi_azure_native.containerregistry.v20180201preview as __v20180201preview - v20180201preview = __v20180201preview import pulumi_azure_native.containerregistry.v20180901 as __v20180901 v20180901 = __v20180901 import pulumi_azure_native.containerregistry.v20190401 as __v20190401 @@ -85,9 +74,7 @@ import pulumi_azure_native.containerregistry.v20230801preview as __v20230801preview v20230801preview = __v20230801preview else: - v20160627preview = _utilities.lazy_import('pulumi_azure_native.containerregistry.v20160627preview') v20170301 = _utilities.lazy_import('pulumi_azure_native.containerregistry.v20170301') - v20180201preview = _utilities.lazy_import('pulumi_azure_native.containerregistry.v20180201preview') v20180901 = _utilities.lazy_import('pulumi_azure_native.containerregistry.v20180901') v20190401 = _utilities.lazy_import('pulumi_azure_native.containerregistry.v20190401') v20190501 = _utilities.lazy_import('pulumi_azure_native.containerregistry.v20190501') diff --git a/sdk/python/pulumi_azure_native/containerregistry/build_step.py b/sdk/python/pulumi_azure_native/containerregistry/build_step.py deleted file mode 100644 index f63bec8e8ccb..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/build_step.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = ['BuildStepArgs', 'BuildStep'] - -@pulumi.input_type -class BuildStepArgs: - def __init__(__self__, *, - build_task_name: pulumi.Input[str], - registry_name: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - step_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a BuildStep resource. - :param pulumi.Input[str] build_task_name: The name of the container registry build task. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input[str] step_name: The name of a build step for a container registry build task. - """ - pulumi.set(__self__, "build_task_name", build_task_name) - pulumi.set(__self__, "registry_name", registry_name) - pulumi.set(__self__, "resource_group_name", resource_group_name) - if step_name is not None: - pulumi.set(__self__, "step_name", step_name) - - @property - @pulumi.getter(name="buildTaskName") - def build_task_name(self) -> pulumi.Input[str]: - """ - The name of the container registry build task. - """ - return pulumi.get(self, "build_task_name") - - @build_task_name.setter - def build_task_name(self, value: pulumi.Input[str]): - pulumi.set(self, "build_task_name", value) - - @property - @pulumi.getter(name="registryName") - def registry_name(self) -> pulumi.Input[str]: - """ - The name of the container registry. - """ - return pulumi.get(self, "registry_name") - - @registry_name.setter - def registry_name(self, value: pulumi.Input[str]): - pulumi.set(self, "registry_name", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group to which the container registry belongs. - """ - 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(name="stepName") - def step_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of a build step for a container registry build task. - """ - return pulumi.get(self, "step_name") - - @step_name.setter - def step_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "step_name", value) - - -class BuildStep(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Build step resource properties - Azure REST API version: 2018-02-01-preview. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] build_task_name: The name of the container registry build task. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input[str] step_name: The name of a build step for a container registry build task. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: BuildStepArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Build step resource properties - Azure REST API version: 2018-02-01-preview. - - :param str resource_name: The name of the resource. - :param BuildStepArgs 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(BuildStepArgs, 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, - build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = BuildStepArgs.__new__(BuildStepArgs) - - if build_task_name is None and not opts.urn: - raise TypeError("Missing required property 'build_task_name'") - __props__.__dict__["build_task_name"] = build_task_name - if registry_name is None and not opts.urn: - raise TypeError("Missing required property 'registry_name'") - __props__.__dict__["registry_name"] = registry_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - __props__.__dict__["step_name"] = step_name - __props__.__dict__["name"] = None - __props__.__dict__["properties"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20180201preview:BuildStep")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(BuildStep, __self__).__init__( - 'azure-native:containerregistry:BuildStep', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildStep': - """ - Get an existing BuildStep 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = BuildStepArgs.__new__(BuildStepArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["properties"] = None - __props__.__dict__["type"] = None - return BuildStep(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def properties(self) -> pulumi.Output['outputs.DockerBuildStepResponse']: - """ - The properties of a build step. - """ - return pulumi.get(self, "properties") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/containerregistry/get_build_log_link.py b/sdk/python/pulumi_azure_native/containerregistry/get_build_log_link.py deleted file mode 100644 index 40a99281c3ce..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/get_build_log_link.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities - -__all__ = [ - 'GetBuildLogLinkResult', - 'AwaitableGetBuildLogLinkResult', - 'get_build_log_link', - 'get_build_log_link_output', -] - -@pulumi.output_type -class GetBuildLogLinkResult: - """ - The result of get log link operation. - """ - def __init__(__self__, log_link=None): - if log_link and not isinstance(log_link, str): - raise TypeError("Expected argument 'log_link' to be a str") - pulumi.set(__self__, "log_link", log_link) - - @property - @pulumi.getter(name="logLink") - def log_link(self) -> Optional[str]: - """ - The link to logs for a azure container registry build. - """ - return pulumi.get(self, "log_link") - - -class AwaitableGetBuildLogLinkResult(GetBuildLogLinkResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetBuildLogLinkResult( - log_link=self.log_link) - - -def get_build_log_link(build_id: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildLogLinkResult: - """ - Gets a link to download the build logs. - Azure REST API version: 2018-02-01-preview. - - - :param str build_id: The build ID. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['buildId'] = build_id - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry:getBuildLogLink', __args__, opts=opts, typ=GetBuildLogLinkResult).value - - return AwaitableGetBuildLogLinkResult( - log_link=pulumi.get(__ret__, 'log_link')) - - -@_utilities.lift_output_func(get_build_log_link) -def get_build_log_link_output(build_id: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildLogLinkResult]: - """ - Gets a link to download the build logs. - Azure REST API version: 2018-02-01-preview. - - - :param str build_id: The build ID. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/get_build_step.py b/sdk/python/pulumi_azure_native/containerregistry/get_build_step.py deleted file mode 100644 index 7e5ac29f7178..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/get_build_step.py +++ /dev/null @@ -1,130 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetBuildStepResult', - 'AwaitableGetBuildStepResult', - 'get_build_step', - 'get_build_step_output', -] - -@pulumi.output_type -class GetBuildStepResult: - """ - Build step resource properties - """ - def __init__(__self__, id=None, name=None, properties=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if properties and not isinstance(properties, dict): - raise TypeError("Expected argument 'properties' to be a dict") - pulumi.set(__self__, "properties", properties) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - The resource ID. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def properties(self) -> 'outputs.DockerBuildStepResponse': - """ - The properties of a build step. - """ - return pulumi.get(self, "properties") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - - -class AwaitableGetBuildStepResult(GetBuildStepResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetBuildStepResult( - id=self.id, - name=self.name, - properties=self.properties, - type=self.type) - - -def get_build_step(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - step_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildStepResult: - """ - Gets the build step for a build task. - Azure REST API version: 2018-02-01-preview. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - __args__['stepName'] = step_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry:getBuildStep', __args__, opts=opts, typ=GetBuildStepResult).value - - return AwaitableGetBuildStepResult( - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - properties=pulumi.get(__ret__, 'properties'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_build_step) -def get_build_step_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildStepResult]: - """ - Gets the build step for a build task. - Azure REST API version: 2018-02-01-preview. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/get_registry_build_source_upload_url.py b/sdk/python/pulumi_azure_native/containerregistry/get_registry_build_source_upload_url.py deleted file mode 100644 index 66360c95735b..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/get_registry_build_source_upload_url.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities - -__all__ = [ - 'GetRegistryBuildSourceUploadUrlResult', - 'AwaitableGetRegistryBuildSourceUploadUrlResult', - 'get_registry_build_source_upload_url', - 'get_registry_build_source_upload_url_output', -] - -@pulumi.output_type -class GetRegistryBuildSourceUploadUrlResult: - """ - The properties of a response to source upload request. - """ - def __init__(__self__, relative_path=None, upload_url=None): - if relative_path and not isinstance(relative_path, str): - raise TypeError("Expected argument 'relative_path' to be a str") - pulumi.set(__self__, "relative_path", relative_path) - if upload_url and not isinstance(upload_url, str): - raise TypeError("Expected argument 'upload_url' to be a str") - pulumi.set(__self__, "upload_url", upload_url) - - @property - @pulumi.getter(name="relativePath") - def relative_path(self) -> Optional[str]: - """ - The relative path to the source. This is used to submit the subsequent queue build request. - """ - return pulumi.get(self, "relative_path") - - @property - @pulumi.getter(name="uploadUrl") - def upload_url(self) -> Optional[str]: - """ - The URL where the client can upload the source. - """ - return pulumi.get(self, "upload_url") - - -class AwaitableGetRegistryBuildSourceUploadUrlResult(GetRegistryBuildSourceUploadUrlResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRegistryBuildSourceUploadUrlResult( - relative_path=self.relative_path, - upload_url=self.upload_url) - - -def get_registry_build_source_upload_url(registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryBuildSourceUploadUrlResult: - """ - Get the upload location for the user to be able to upload the source. - Azure REST API version: 2018-02-01-preview. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry:getRegistryBuildSourceUploadUrl', __args__, opts=opts, typ=GetRegistryBuildSourceUploadUrlResult).value - - return AwaitableGetRegistryBuildSourceUploadUrlResult( - relative_path=pulumi.get(__ret__, 'relative_path'), - upload_url=pulumi.get(__ret__, 'upload_url')) - - -@_utilities.lift_output_func(get_registry_build_source_upload_url) -def get_registry_build_source_upload_url_output(registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryBuildSourceUploadUrlResult]: - """ - Get the upload location for the user to be able to upload the source. - Azure REST API version: 2018-02-01-preview. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/get_registry_credentials.py b/sdk/python/pulumi_azure_native/containerregistry/get_registry_credentials.py deleted file mode 100644 index 3501e14f9717..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/get_registry_credentials.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities - -__all__ = [ - 'GetRegistryCredentialsResult', - 'AwaitableGetRegistryCredentialsResult', - 'get_registry_credentials', - 'get_registry_credentials_output', -] - -@pulumi.output_type -class GetRegistryCredentialsResult: - """ - The result of a request to get the administrator login credentials for a container registry. - """ - def __init__(__self__, password=None, username=None): - if password and not isinstance(password, str): - raise TypeError("Expected argument 'password' to be a str") - pulumi.set(__self__, "password", password) - if username and not isinstance(username, str): - raise TypeError("Expected argument 'username' to be a str") - pulumi.set(__self__, "username", username) - - @property - @pulumi.getter - def password(self) -> Optional[str]: - """ - The administrator password. - """ - return pulumi.get(self, "password") - - @property - @pulumi.getter - def username(self) -> Optional[str]: - """ - The administrator username. - """ - return pulumi.get(self, "username") - - -class AwaitableGetRegistryCredentialsResult(GetRegistryCredentialsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRegistryCredentialsResult( - password=self.password, - username=self.username) - - -def get_registry_credentials(registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryCredentialsResult: - """ - Gets the administrator login credentials for the specified container registry. - Azure REST API version: 2016-06-27-preview. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry:getRegistryCredentials', __args__, opts=opts, typ=GetRegistryCredentialsResult).value - - return AwaitableGetRegistryCredentialsResult( - password=pulumi.get(__ret__, 'password'), - username=pulumi.get(__ret__, 'username')) - - -@_utilities.lift_output_func(get_registry_credentials) -def get_registry_credentials_output(registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryCredentialsResult]: - """ - Gets the administrator login credentials for the specified container registry. - Azure REST API version: 2016-06-27-preview. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/list_build_step_build_arguments.py b/sdk/python/pulumi_azure_native/containerregistry/list_build_step_build_arguments.py deleted file mode 100644 index e8ce19421f77..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/list_build_step_build_arguments.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'ListBuildStepBuildArgumentsResult', - 'AwaitableListBuildStepBuildArgumentsResult', - 'list_build_step_build_arguments', - 'list_build_step_build_arguments_output', -] - -@pulumi.output_type -class ListBuildStepBuildArgumentsResult: - """ - The list of build arguments for a build step. - """ - def __init__(__self__, next_link=None, value=None): - if next_link and not isinstance(next_link, str): - raise TypeError("Expected argument 'next_link' to be a str") - pulumi.set(__self__, "next_link", next_link) - if value and not isinstance(value, list): - raise TypeError("Expected argument 'value' to be a list") - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter(name="nextLink") - def next_link(self) -> Optional[str]: - """ - The URI that can be used to request the next set of paged results. - """ - return pulumi.get(self, "next_link") - - @property - @pulumi.getter - def value(self) -> Optional[Sequence['outputs.BuildArgumentResponse']]: - """ - The collection value. - """ - return pulumi.get(self, "value") - - -class AwaitableListBuildStepBuildArgumentsResult(ListBuildStepBuildArgumentsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return ListBuildStepBuildArgumentsResult( - next_link=self.next_link, - value=self.value) - - -def list_build_step_build_arguments(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - step_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBuildStepBuildArgumentsResult: - """ - List the build arguments for a step including the secret arguments. - Azure REST API version: 2018-02-01-preview. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - __args__['stepName'] = step_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry:listBuildStepBuildArguments', __args__, opts=opts, typ=ListBuildStepBuildArgumentsResult).value - - return AwaitableListBuildStepBuildArgumentsResult( - next_link=pulumi.get(__ret__, 'next_link'), - value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(list_build_step_build_arguments) -def list_build_step_build_arguments_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListBuildStepBuildArgumentsResult]: - """ - List the build arguments for a step including the secret arguments. - Azure REST API version: 2018-02-01-preview. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/list_build_task_source_repository_properties.py b/sdk/python/pulumi_azure_native/containerregistry/list_build_task_source_repository_properties.py deleted file mode 100644 index 48fcaabb55e9..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/list_build_task_source_repository_properties.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'ListBuildTaskSourceRepositoryPropertiesResult', - 'AwaitableListBuildTaskSourceRepositoryPropertiesResult', - 'list_build_task_source_repository_properties', - 'list_build_task_source_repository_properties_output', -] - -@pulumi.output_type -class ListBuildTaskSourceRepositoryPropertiesResult: - """ - The properties of the source code repository. - """ - def __init__(__self__, is_commit_trigger_enabled=None, repository_url=None, source_control_auth_properties=None, source_control_type=None): - if is_commit_trigger_enabled and not isinstance(is_commit_trigger_enabled, bool): - raise TypeError("Expected argument 'is_commit_trigger_enabled' to be a bool") - pulumi.set(__self__, "is_commit_trigger_enabled", is_commit_trigger_enabled) - if repository_url and not isinstance(repository_url, str): - raise TypeError("Expected argument 'repository_url' to be a str") - pulumi.set(__self__, "repository_url", repository_url) - if source_control_auth_properties and not isinstance(source_control_auth_properties, dict): - raise TypeError("Expected argument 'source_control_auth_properties' to be a dict") - pulumi.set(__self__, "source_control_auth_properties", source_control_auth_properties) - if source_control_type and not isinstance(source_control_type, str): - raise TypeError("Expected argument 'source_control_type' to be a str") - pulumi.set(__self__, "source_control_type", source_control_type) - - @property - @pulumi.getter(name="isCommitTriggerEnabled") - def is_commit_trigger_enabled(self) -> Optional[bool]: - """ - The value of this property indicates whether the source control commit trigger is enabled or not. - """ - return pulumi.get(self, "is_commit_trigger_enabled") - - @property - @pulumi.getter(name="repositoryUrl") - def repository_url(self) -> str: - """ - The full URL to the source code repository - """ - return pulumi.get(self, "repository_url") - - @property - @pulumi.getter(name="sourceControlAuthProperties") - def source_control_auth_properties(self) -> Optional['outputs.SourceControlAuthInfoResponse']: - """ - The authorization properties for accessing the source code repository. - """ - return pulumi.get(self, "source_control_auth_properties") - - @property - @pulumi.getter(name="sourceControlType") - def source_control_type(self) -> str: - """ - The type of source control service. - """ - return pulumi.get(self, "source_control_type") - - -class AwaitableListBuildTaskSourceRepositoryPropertiesResult(ListBuildTaskSourceRepositoryPropertiesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return ListBuildTaskSourceRepositoryPropertiesResult( - is_commit_trigger_enabled=self.is_commit_trigger_enabled, - repository_url=self.repository_url, - source_control_auth_properties=self.source_control_auth_properties, - source_control_type=self.source_control_type) - - -def list_build_task_source_repository_properties(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBuildTaskSourceRepositoryPropertiesResult: - """ - Get the source control properties for a build task. - Azure REST API version: 2018-02-01-preview. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry:listBuildTaskSourceRepositoryProperties', __args__, opts=opts, typ=ListBuildTaskSourceRepositoryPropertiesResult).value - - return AwaitableListBuildTaskSourceRepositoryPropertiesResult( - is_commit_trigger_enabled=pulumi.get(__ret__, 'is_commit_trigger_enabled'), - repository_url=pulumi.get(__ret__, 'repository_url'), - source_control_auth_properties=pulumi.get(__ret__, 'source_control_auth_properties'), - source_control_type=pulumi.get(__ret__, 'source_control_type')) - - -@_utilities.lift_output_func(list_build_task_source_repository_properties) -def list_build_task_source_repository_properties_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListBuildTaskSourceRepositoryPropertiesResult]: - """ - Get the source control properties for a build task. - Azure REST API version: 2018-02-01-preview. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/outputs.py b/sdk/python/pulumi_azure_native/containerregistry/outputs.py index 075ca69949b0..e702ac2c2e0d 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/outputs.py +++ b/sdk/python/pulumi_azure_native/containerregistry/outputs.py @@ -21,7 +21,6 @@ 'AuthInfoResponse', 'BaseImageDependencyResponse', 'BaseImageTriggerResponse', - 'BuildArgumentResponse', 'CredentialHealthResponse', 'CredentialsResponse', 'CustomRegistryCredentialsResponse', @@ -71,7 +70,6 @@ 'SecretObjectResponse', 'SetValueResponse', 'SkuResponse', - 'SourceControlAuthInfoResponse', 'SourcePropertiesResponse', 'SourceRegistryCredentialsResponse', 'SourceResponse', @@ -594,81 +592,6 @@ def update_trigger_payload_type(self) -> Optional[str]: return pulumi.get(self, "update_trigger_payload_type") -@pulumi.output_type -class BuildArgumentResponse(dict): - """ - Properties of a build argument. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isSecret": - suggest = "is_secret" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in BuildArgumentResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - BuildArgumentResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - BuildArgumentResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - name: str, - type: str, - value: str, - is_secret: Optional[bool] = None): - """ - Properties of a build argument. - :param str name: The name of the argument. - :param str type: The type of the argument. - :param str value: The value of the argument. - :param bool is_secret: Flag to indicate whether the argument represents a secret and want to be removed from build logs. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - if is_secret is None: - is_secret = False - if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the argument. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the argument. - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the argument. - """ - return pulumi.get(self, "value") - - @property - @pulumi.getter(name="isSecret") - def is_secret(self) -> Optional[bool]: - """ - Flag to indicate whether the argument represents a secret and want to be removed from build logs. - """ - return pulumi.get(self, "is_secret") - - @pulumi.output_type class CredentialHealthResponse(dict): """ @@ -1112,10 +1035,6 @@ def __key_warning(key: str): suggest = "base_image_dependencies" elif key == "dockerFilePath": suggest = "docker_file_path" - elif key == "baseImageTrigger": - suggest = "base_image_trigger" - elif key == "buildArguments": - suggest = "build_arguments" elif key == "contextAccessToken": suggest = "context_access_token" elif key == "contextPath": @@ -1126,8 +1045,6 @@ def __key_warning(key: str): suggest = "is_push_enabled" elif key == "noCache": suggest = "no_cache" - elif key == "provisioningState": - suggest = "provisioning_state" if suggest: pulumi.log.warn(f"Key '{key}' not found in DockerBuildStepResponse. Access the value via the '{suggest}' property getter instead.") @@ -1145,15 +1062,11 @@ def __init__(__self__, *, docker_file_path: str, type: str, arguments: Optional[Sequence['outputs.ArgumentResponse']] = None, - base_image_trigger: Optional[str] = None, - branch: Optional[str] = None, - build_arguments: Optional[Sequence['outputs.BuildArgumentResponse']] = None, context_access_token: Optional[str] = None, context_path: Optional[str] = None, image_names: Optional[Sequence[str]] = None, is_push_enabled: Optional[bool] = None, no_cache: Optional[bool] = None, - provisioning_state: Optional[str] = None, target: Optional[str] = None): """ The Docker build step. @@ -1162,15 +1075,11 @@ def __init__(__self__, *, :param str type: The type of the step. Expected value is 'Docker'. :param Sequence['ArgumentResponse'] arguments: The collection of override arguments to be used when executing this build step. - :param str base_image_trigger: The type of the auto trigger for base image dependency updates. - :param str branch: The repository branch name. - :param Sequence['BuildArgumentResponse'] build_arguments: The custom arguments for building this build step. :param str context_access_token: The token (git PAT or SAS token of storage account blob) associated with the context for a step. :param str context_path: The URL(absolute or relative) of the source context for the task step. :param Sequence[str] image_names: The fully qualified image names including the repository and tag. :param bool is_push_enabled: The value of this property indicates whether the image built should be pushed to the registry or not. :param bool no_cache: The value of this property indicates whether the image cache is enabled or not. - :param str provisioning_state: The provisioning state of the build step. :param str target: The name of the target build stage for the docker build. """ pulumi.set(__self__, "base_image_dependencies", base_image_dependencies) @@ -1178,12 +1087,6 @@ def __init__(__self__, *, pulumi.set(__self__, "type", 'Docker') if arguments is not None: pulumi.set(__self__, "arguments", arguments) - if base_image_trigger is not None: - pulumi.set(__self__, "base_image_trigger", base_image_trigger) - if branch is not None: - pulumi.set(__self__, "branch", branch) - if build_arguments is not None: - pulumi.set(__self__, "build_arguments", build_arguments) if context_access_token is not None: pulumi.set(__self__, "context_access_token", context_access_token) if context_path is not None: @@ -1198,8 +1101,6 @@ def __init__(__self__, *, no_cache = False if no_cache is not None: pulumi.set(__self__, "no_cache", no_cache) - if provisioning_state is not None: - pulumi.set(__self__, "provisioning_state", provisioning_state) if target is not None: pulumi.set(__self__, "target", target) @@ -1236,30 +1137,6 @@ def arguments(self) -> Optional[Sequence['outputs.ArgumentResponse']]: """ return pulumi.get(self, "arguments") - @property - @pulumi.getter(name="baseImageTrigger") - def base_image_trigger(self) -> Optional[str]: - """ - The type of the auto trigger for base image dependency updates. - """ - return pulumi.get(self, "base_image_trigger") - - @property - @pulumi.getter - def branch(self) -> Optional[str]: - """ - The repository branch name. - """ - return pulumi.get(self, "branch") - - @property - @pulumi.getter(name="buildArguments") - def build_arguments(self) -> Optional[Sequence['outputs.BuildArgumentResponse']]: - """ - The custom arguments for building this build step. - """ - return pulumi.get(self, "build_arguments") - @property @pulumi.getter(name="contextAccessToken") def context_access_token(self) -> Optional[str]: @@ -1300,14 +1177,6 @@ def no_cache(self) -> Optional[bool]: """ return pulumi.get(self, "no_cache") - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> Optional[str]: - """ - The provisioning state of the build step. - """ - return pulumi.get(self, "provisioning_state") - @property @pulumi.getter def target(self) -> Optional[str]: @@ -4541,76 +4410,6 @@ def tier(self) -> str: return pulumi.get(self, "tier") -@pulumi.output_type -class SourceControlAuthInfoResponse(dict): - """ - The authorization properties for accessing the source code repository. - """ - def __init__(__self__, *, - token: str, - expires_in: Optional[int] = None, - refresh_token: Optional[str] = None, - scope: Optional[str] = None, - token_type: Optional[str] = None): - """ - The authorization properties for accessing the source code repository. - :param str token: The access token used to access the source control provider. - :param int expires_in: Time in seconds that the token remains valid - :param str refresh_token: The refresh token used to refresh the access token. - :param str scope: The scope of the access token. - :param str token_type: The type of Auth token. - """ - pulumi.set(__self__, "token", token) - if expires_in is not None: - pulumi.set(__self__, "expires_in", expires_in) - if refresh_token is not None: - pulumi.set(__self__, "refresh_token", refresh_token) - if scope is not None: - pulumi.set(__self__, "scope", scope) - if token_type is not None: - pulumi.set(__self__, "token_type", token_type) - - @property - @pulumi.getter - def token(self) -> str: - """ - The access token used to access the source control provider. - """ - return pulumi.get(self, "token") - - @property - @pulumi.getter(name="expiresIn") - def expires_in(self) -> Optional[int]: - """ - Time in seconds that the token remains valid - """ - return pulumi.get(self, "expires_in") - - @property - @pulumi.getter(name="refreshToken") - def refresh_token(self) -> Optional[str]: - """ - The refresh token used to refresh the access token. - """ - return pulumi.get(self, "refresh_token") - - @property - @pulumi.getter - def scope(self) -> Optional[str]: - """ - The scope of the access token. - """ - return pulumi.get(self, "scope") - - @property - @pulumi.getter(name="tokenType") - def token_type(self) -> Optional[str]: - """ - The type of Auth token. - """ - return pulumi.get(self, "token_type") - - @pulumi.output_type class SourcePropertiesResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/containerregistry/registry.py b/sdk/python/pulumi_azure_native/containerregistry/registry.py index 25b0aee5dd48..684417a5eafa 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/registry.py @@ -376,7 +376,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/replication.py b/sdk/python/pulumi_azure_native/containerregistry/replication.py index e44adfa88f00..38adf35b0582 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/replication.py +++ b/sdk/python/pulumi_azure_native/containerregistry/replication.py @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Replication, __self__).__init__( 'azure-native:containerregistry:Replication', diff --git a/sdk/python/pulumi_azure_native/containerregistry/task.py b/sdk/python/pulumi_azure_native/containerregistry/task.py index 0e769d9c66a9..d2123e4243b2 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/task.py +++ b/sdk/python/pulumi_azure_native/containerregistry/task.py @@ -406,7 +406,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20180201preview:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180901:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:Task")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20180901:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:Task")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Task, __self__).__init__( 'azure-native:containerregistry:Task', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/__init__.py b/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/__init__.py deleted file mode 100644 index 547bf0a647a7..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from ... import _utilities -import typing -# Export this package's modules as members: -from .get_registry import * -from .get_registry_credentials import * -from .registry import * -from ._inputs import * -from . import outputs diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/_inputs.py b/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/_inputs.py deleted file mode 100644 index 2c5d5f7e3982..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/_inputs.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities - -__all__ = [ - 'StorageAccountPropertiesArgs', -] - -@pulumi.input_type -class StorageAccountPropertiesArgs: - def __init__(__self__, *, - access_key: pulumi.Input[str], - name: pulumi.Input[str]): - """ - The properties of a storage account for a container registry. - :param pulumi.Input[str] access_key: The access key to the storage account. - :param pulumi.Input[str] name: The name of the storage account. - """ - pulumi.set(__self__, "access_key", access_key) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter(name="accessKey") - def access_key(self) -> pulumi.Input[str]: - """ - The access key to the storage account. - """ - return pulumi.get(self, "access_key") - - @access_key.setter - def access_key(self, value: pulumi.Input[str]): - pulumi.set(self, "access_key", value) - - @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - The name of the storage account. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) - - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/get_registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/get_registry.py deleted file mode 100644 index d516edb554f9..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/get_registry.py +++ /dev/null @@ -1,183 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetRegistryResult', - 'AwaitableGetRegistryResult', - 'get_registry', - 'get_registry_output', -] - -@pulumi.output_type -class GetRegistryResult: - """ - An object that represents a container registry. - """ - def __init__(__self__, admin_user_enabled=None, creation_date=None, id=None, location=None, login_server=None, name=None, storage_account=None, tags=None, type=None): - if admin_user_enabled and not isinstance(admin_user_enabled, bool): - raise TypeError("Expected argument 'admin_user_enabled' to be a bool") - pulumi.set(__self__, "admin_user_enabled", admin_user_enabled) - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if location and not isinstance(location, str): - raise TypeError("Expected argument 'location' to be a str") - pulumi.set(__self__, "location", location) - if login_server and not isinstance(login_server, str): - raise TypeError("Expected argument 'login_server' to be a str") - pulumi.set(__self__, "login_server", login_server) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if storage_account and not isinstance(storage_account, dict): - raise TypeError("Expected argument 'storage_account' to be a dict") - pulumi.set(__self__, "storage_account", storage_account) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="adminUserEnabled") - def admin_user_enabled(self) -> Optional[bool]: - """ - The value that indicates whether the admin user is enabled. This value is false by default. - """ - return pulumi.get(self, "admin_user_enabled") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The creation date of the container registry in ISO8601 format. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def id(self) -> str: - """ - The resource ID. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def location(self) -> str: - """ - The location of the resource. This cannot be changed after the resource is created. - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter(name="loginServer") - def login_server(self) -> str: - """ - The URL that can be used to log into the container registry. - """ - return pulumi.get(self, "login_server") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="storageAccount") - def storage_account(self) -> 'outputs.StorageAccountPropertiesResponse': - """ - The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - """ - return pulumi.get(self, "storage_account") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - The tags of the resource. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - - -class AwaitableGetRegistryResult(GetRegistryResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRegistryResult( - admin_user_enabled=self.admin_user_enabled, - creation_date=self.creation_date, - id=self.id, - location=self.location, - login_server=self.login_server, - name=self.name, - storage_account=self.storage_account, - tags=self.tags, - type=self.type) - - -def get_registry(registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryResult: - """ - Gets the properties of the specified container registry. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20160627preview:getRegistry', __args__, opts=opts, typ=GetRegistryResult).value - - return AwaitableGetRegistryResult( - admin_user_enabled=pulumi.get(__ret__, 'admin_user_enabled'), - creation_date=pulumi.get(__ret__, 'creation_date'), - id=pulumi.get(__ret__, 'id'), - location=pulumi.get(__ret__, 'location'), - login_server=pulumi.get(__ret__, 'login_server'), - name=pulumi.get(__ret__, 'name'), - storage_account=pulumi.get(__ret__, 'storage_account'), - tags=pulumi.get(__ret__, 'tags'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_registry) -def get_registry_output(registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryResult]: - """ - Gets the properties of the specified container registry. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/get_registry_credentials.py b/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/get_registry_credentials.py deleted file mode 100644 index e1a09aadf046..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/get_registry_credentials.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities - -__all__ = [ - 'GetRegistryCredentialsResult', - 'AwaitableGetRegistryCredentialsResult', - 'get_registry_credentials', - 'get_registry_credentials_output', -] - -@pulumi.output_type -class GetRegistryCredentialsResult: - """ - The result of a request to get the administrator login credentials for a container registry. - """ - def __init__(__self__, password=None, username=None): - if password and not isinstance(password, str): - raise TypeError("Expected argument 'password' to be a str") - pulumi.set(__self__, "password", password) - if username and not isinstance(username, str): - raise TypeError("Expected argument 'username' to be a str") - pulumi.set(__self__, "username", username) - - @property - @pulumi.getter - def password(self) -> Optional[str]: - """ - The administrator password. - """ - return pulumi.get(self, "password") - - @property - @pulumi.getter - def username(self) -> Optional[str]: - """ - The administrator username. - """ - return pulumi.get(self, "username") - - -class AwaitableGetRegistryCredentialsResult(GetRegistryCredentialsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRegistryCredentialsResult( - password=self.password, - username=self.username) - - -def get_registry_credentials(registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryCredentialsResult: - """ - Gets the administrator login credentials for the specified container registry. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20160627preview:getRegistryCredentials', __args__, opts=opts, typ=GetRegistryCredentialsResult).value - - return AwaitableGetRegistryCredentialsResult( - password=pulumi.get(__ret__, 'password'), - username=pulumi.get(__ret__, 'username')) - - -@_utilities.lift_output_func(get_registry_credentials) -def get_registry_credentials_output(registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryCredentialsResult]: - """ - Gets the administrator login credentials for the specified container registry. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/outputs.py b/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/outputs.py deleted file mode 100644 index d7309c5fb93a..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/outputs.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities - -__all__ = [ - 'StorageAccountPropertiesResponse', -] - -@pulumi.output_type -class StorageAccountPropertiesResponse(dict): - """ - The properties of a storage account for a container registry. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accessKey": - suggest = "access_key" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in StorageAccountPropertiesResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - StorageAccountPropertiesResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - StorageAccountPropertiesResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - access_key: str, - name: str): - """ - The properties of a storage account for a container registry. - :param str access_key: The access key to the storage account. - :param str name: The name of the storage account. - """ - pulumi.set(__self__, "access_key", access_key) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter(name="accessKey") - def access_key(self) -> str: - """ - The access key to the storage account. - """ - return pulumi.get(self, "access_key") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the storage account. - """ - return pulumi.get(self, "name") - - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/registry.py deleted file mode 100644 index 685226173857..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20160627preview/registry.py +++ /dev/null @@ -1,296 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['RegistryArgs', 'Registry'] - -@pulumi.input_type -class RegistryArgs: - def __init__(__self__, *, - resource_group_name: pulumi.Input[str], - storage_account: pulumi.Input['StorageAccountPropertiesArgs'], - admin_user_enabled: Optional[pulumi.Input[bool]] = None, - location: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a Registry resource. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input['StorageAccountPropertiesArgs'] storage_account: The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - :param pulumi.Input[bool] admin_user_enabled: The value that indicates whether the admin user is enabled. This value is false by default. - :param pulumi.Input[str] location: The location of the resource. This cannot be changed after the resource is created. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource. - """ - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "storage_account", storage_account) - if admin_user_enabled is None: - admin_user_enabled = False - if admin_user_enabled is not None: - pulumi.set(__self__, "admin_user_enabled", admin_user_enabled) - if location is not None: - pulumi.set(__self__, "location", location) - if registry_name is not None: - pulumi.set(__self__, "registry_name", registry_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group to which the container registry belongs. - """ - 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(name="storageAccount") - def storage_account(self) -> pulumi.Input['StorageAccountPropertiesArgs']: - """ - The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - """ - return pulumi.get(self, "storage_account") - - @storage_account.setter - def storage_account(self, value: pulumi.Input['StorageAccountPropertiesArgs']): - pulumi.set(self, "storage_account", value) - - @property - @pulumi.getter(name="adminUserEnabled") - def admin_user_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - The value that indicates whether the admin user is enabled. This value is false by default. - """ - return pulumi.get(self, "admin_user_enabled") - - @admin_user_enabled.setter - def admin_user_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "admin_user_enabled", value) - - @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - """ - The location of the resource. This cannot be changed after the resource is created. - """ - return pulumi.get(self, "location") - - @location.setter - def location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "location", value) - - @property - @pulumi.getter(name="registryName") - def registry_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the container registry. - """ - return pulumi.get(self, "registry_name") - - @registry_name.setter - def registry_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "registry_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - The tags of 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) - - -class Registry(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - admin_user_enabled: Optional[pulumi.Input[bool]] = None, - location: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - storage_account: Optional[pulumi.Input[pulumi.InputType['StorageAccountPropertiesArgs']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None): - """ - An object that represents a container registry. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] admin_user_enabled: The value that indicates whether the admin user is enabled. This value is false by default. - :param pulumi.Input[str] location: The location of the resource. This cannot be changed after the resource is created. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input[pulumi.InputType['StorageAccountPropertiesArgs']] storage_account: The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: RegistryArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - An object that represents a container registry. - - :param str resource_name: The name of the resource. - :param RegistryArgs 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(RegistryArgs, 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, - admin_user_enabled: Optional[pulumi.Input[bool]] = None, - location: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - storage_account: Optional[pulumi.Input[pulumi.InputType['StorageAccountPropertiesArgs']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = RegistryArgs.__new__(RegistryArgs) - - if admin_user_enabled is None: - admin_user_enabled = False - __props__.__dict__["admin_user_enabled"] = admin_user_enabled - __props__.__dict__["location"] = location - __props__.__dict__["registry_name"] = registry_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if storage_account is None and not opts.urn: - raise TypeError("Missing required property 'storage_account'") - __props__.__dict__["storage_account"] = storage_account - __props__.__dict__["tags"] = tags - __props__.__dict__["creation_date"] = None - __props__.__dict__["login_server"] = None - __props__.__dict__["name"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Registry, __self__).__init__( - 'azure-native:containerregistry/v20160627preview:Registry', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Registry': - """ - Get an existing Registry 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = RegistryArgs.__new__(RegistryArgs) - - __props__.__dict__["admin_user_enabled"] = None - __props__.__dict__["creation_date"] = None - __props__.__dict__["location"] = None - __props__.__dict__["login_server"] = None - __props__.__dict__["name"] = None - __props__.__dict__["storage_account"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["type"] = None - return Registry(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="adminUserEnabled") - def admin_user_enabled(self) -> pulumi.Output[Optional[bool]]: - """ - The value that indicates whether the admin user is enabled. This value is false by default. - """ - return pulumi.get(self, "admin_user_enabled") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The creation date of the container registry in ISO8601 format. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def location(self) -> pulumi.Output[str]: - """ - The location of the resource. This cannot be changed after the resource is created. - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter(name="loginServer") - def login_server(self) -> pulumi.Output[str]: - """ - The URL that can be used to log into the container registry. - """ - return pulumi.get(self, "login_server") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="storageAccount") - def storage_account(self) -> pulumi.Output['outputs.StorageAccountPropertiesResponse']: - """ - The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry. - """ - return pulumi.get(self, "storage_account") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - The tags of the resource. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20170301/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20170301/registry.py index 895b9dd7e75f..107d7be00f55 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20170301/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20170301/registry.py @@ -218,7 +218,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20170301:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/__init__.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/__init__.py deleted file mode 100644 index dc4742b20fc7..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from ... import _utilities -import typing -# Export this package's modules as members: -from ._enums import * -from .build_step import * -from .build_task import * -from .get_build_log_link import * -from .get_build_step import * -from .get_build_task import * -from .get_registry_build_source_upload_url import * -from .list_build_step_build_arguments import * -from .list_build_task_source_repository_properties import * -from ._inputs import * -from . import outputs diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/_enums.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/_enums.py deleted file mode 100644 index e2109817b456..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/_enums.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from enum import Enum - -__all__ = [ - 'BuildTaskStatus', - 'OsType', - 'SourceControlType', - 'TokenType', -] - - -class BuildTaskStatus(str, Enum): - """ - The current status of build task. - """ - DISABLED = "Disabled" - ENABLED = "Enabled" - - -class OsType(str, Enum): - """ - The operating system type required for the build. - """ - WINDOWS = "Windows" - LINUX = "Linux" - - -class SourceControlType(str, Enum): - """ - The type of source control service. - """ - GITHUB = "Github" - VISUAL_STUDIO_TEAM_SERVICE = "VisualStudioTeamService" - - -class TokenType(str, Enum): - """ - The type of Auth token. - """ - PAT = "PAT" - O_AUTH = "OAuth" diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/_inputs.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/_inputs.py deleted file mode 100644 index fb91eca41712..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/_inputs.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from ._enums import * - -__all__ = [ - 'PlatformPropertiesArgs', - 'SourceControlAuthInfoArgs', - 'SourceRepositoryPropertiesArgs', -] - -@pulumi.input_type -class PlatformPropertiesArgs: - def __init__(__self__, *, - os_type: pulumi.Input[Union[str, 'OsType']], - cpu: Optional[pulumi.Input[int]] = None): - """ - The platform properties against which the build has to happen. - :param pulumi.Input[Union[str, 'OsType']] os_type: The operating system type required for the build. - :param pulumi.Input[int] cpu: The CPU configuration in terms of number of cores required for the build. - """ - pulumi.set(__self__, "os_type", os_type) - if cpu is not None: - pulumi.set(__self__, "cpu", cpu) - - @property - @pulumi.getter(name="osType") - def os_type(self) -> pulumi.Input[Union[str, 'OsType']]: - """ - The operating system type required for the build. - """ - return pulumi.get(self, "os_type") - - @os_type.setter - def os_type(self, value: pulumi.Input[Union[str, 'OsType']]): - pulumi.set(self, "os_type", value) - - @property - @pulumi.getter - def cpu(self) -> Optional[pulumi.Input[int]]: - """ - The CPU configuration in terms of number of cores required for the build. - """ - return pulumi.get(self, "cpu") - - @cpu.setter - def cpu(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cpu", value) - - -@pulumi.input_type -class SourceControlAuthInfoArgs: - def __init__(__self__, *, - token: pulumi.Input[str], - expires_in: Optional[pulumi.Input[int]] = None, - refresh_token: Optional[pulumi.Input[str]] = None, - scope: Optional[pulumi.Input[str]] = None, - token_type: Optional[pulumi.Input[Union[str, 'TokenType']]] = None): - """ - The authorization properties for accessing the source code repository. - :param pulumi.Input[str] token: The access token used to access the source control provider. - :param pulumi.Input[int] expires_in: Time in seconds that the token remains valid - :param pulumi.Input[str] refresh_token: The refresh token used to refresh the access token. - :param pulumi.Input[str] scope: The scope of the access token. - :param pulumi.Input[Union[str, 'TokenType']] token_type: The type of Auth token. - """ - pulumi.set(__self__, "token", token) - if expires_in is not None: - pulumi.set(__self__, "expires_in", expires_in) - if refresh_token is not None: - pulumi.set(__self__, "refresh_token", refresh_token) - if scope is not None: - pulumi.set(__self__, "scope", scope) - if token_type is not None: - pulumi.set(__self__, "token_type", token_type) - - @property - @pulumi.getter - def token(self) -> pulumi.Input[str]: - """ - The access token used to access the source control provider. - """ - return pulumi.get(self, "token") - - @token.setter - def token(self, value: pulumi.Input[str]): - pulumi.set(self, "token", value) - - @property - @pulumi.getter(name="expiresIn") - def expires_in(self) -> Optional[pulumi.Input[int]]: - """ - Time in seconds that the token remains valid - """ - return pulumi.get(self, "expires_in") - - @expires_in.setter - def expires_in(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "expires_in", value) - - @property - @pulumi.getter(name="refreshToken") - def refresh_token(self) -> Optional[pulumi.Input[str]]: - """ - The refresh token used to refresh the access token. - """ - return pulumi.get(self, "refresh_token") - - @refresh_token.setter - def refresh_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "refresh_token", value) - - @property - @pulumi.getter - def scope(self) -> Optional[pulumi.Input[str]]: - """ - The scope of the access token. - """ - return pulumi.get(self, "scope") - - @scope.setter - def scope(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "scope", value) - - @property - @pulumi.getter(name="tokenType") - def token_type(self) -> Optional[pulumi.Input[Union[str, 'TokenType']]]: - """ - The type of Auth token. - """ - return pulumi.get(self, "token_type") - - @token_type.setter - def token_type(self, value: Optional[pulumi.Input[Union[str, 'TokenType']]]): - pulumi.set(self, "token_type", value) - - -@pulumi.input_type -class SourceRepositoryPropertiesArgs: - def __init__(__self__, *, - repository_url: pulumi.Input[str], - source_control_type: pulumi.Input[Union[str, 'SourceControlType']], - is_commit_trigger_enabled: Optional[pulumi.Input[bool]] = None, - source_control_auth_properties: Optional[pulumi.Input['SourceControlAuthInfoArgs']] = None): - """ - The properties of the source code repository. - :param pulumi.Input[str] repository_url: The full URL to the source code repository - :param pulumi.Input[Union[str, 'SourceControlType']] source_control_type: The type of source control service. - :param pulumi.Input[bool] is_commit_trigger_enabled: The value of this property indicates whether the source control commit trigger is enabled or not. - :param pulumi.Input['SourceControlAuthInfoArgs'] source_control_auth_properties: The authorization properties for accessing the source code repository. - """ - pulumi.set(__self__, "repository_url", repository_url) - pulumi.set(__self__, "source_control_type", source_control_type) - if is_commit_trigger_enabled is None: - is_commit_trigger_enabled = False - if is_commit_trigger_enabled is not None: - pulumi.set(__self__, "is_commit_trigger_enabled", is_commit_trigger_enabled) - if source_control_auth_properties is not None: - pulumi.set(__self__, "source_control_auth_properties", source_control_auth_properties) - - @property - @pulumi.getter(name="repositoryUrl") - def repository_url(self) -> pulumi.Input[str]: - """ - The full URL to the source code repository - """ - return pulumi.get(self, "repository_url") - - @repository_url.setter - def repository_url(self, value: pulumi.Input[str]): - pulumi.set(self, "repository_url", value) - - @property - @pulumi.getter(name="sourceControlType") - def source_control_type(self) -> pulumi.Input[Union[str, 'SourceControlType']]: - """ - The type of source control service. - """ - return pulumi.get(self, "source_control_type") - - @source_control_type.setter - def source_control_type(self, value: pulumi.Input[Union[str, 'SourceControlType']]): - pulumi.set(self, "source_control_type", value) - - @property - @pulumi.getter(name="isCommitTriggerEnabled") - def is_commit_trigger_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - The value of this property indicates whether the source control commit trigger is enabled or not. - """ - return pulumi.get(self, "is_commit_trigger_enabled") - - @is_commit_trigger_enabled.setter - def is_commit_trigger_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_commit_trigger_enabled", value) - - @property - @pulumi.getter(name="sourceControlAuthProperties") - def source_control_auth_properties(self) -> Optional[pulumi.Input['SourceControlAuthInfoArgs']]: - """ - The authorization properties for accessing the source code repository. - """ - return pulumi.get(self, "source_control_auth_properties") - - @source_control_auth_properties.setter - def source_control_auth_properties(self, value: Optional[pulumi.Input['SourceControlAuthInfoArgs']]): - pulumi.set(self, "source_control_auth_properties", value) - - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/build_step.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/build_step.py deleted file mode 100644 index 54c1edcd67ac..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/build_step.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['BuildStepArgs', 'BuildStep'] - -@pulumi.input_type -class BuildStepArgs: - def __init__(__self__, *, - build_task_name: pulumi.Input[str], - registry_name: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - step_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a BuildStep resource. - :param pulumi.Input[str] build_task_name: The name of the container registry build task. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input[str] step_name: The name of a build step for a container registry build task. - """ - pulumi.set(__self__, "build_task_name", build_task_name) - pulumi.set(__self__, "registry_name", registry_name) - pulumi.set(__self__, "resource_group_name", resource_group_name) - if step_name is not None: - pulumi.set(__self__, "step_name", step_name) - - @property - @pulumi.getter(name="buildTaskName") - def build_task_name(self) -> pulumi.Input[str]: - """ - The name of the container registry build task. - """ - return pulumi.get(self, "build_task_name") - - @build_task_name.setter - def build_task_name(self, value: pulumi.Input[str]): - pulumi.set(self, "build_task_name", value) - - @property - @pulumi.getter(name="registryName") - def registry_name(self) -> pulumi.Input[str]: - """ - The name of the container registry. - """ - return pulumi.get(self, "registry_name") - - @registry_name.setter - def registry_name(self, value: pulumi.Input[str]): - pulumi.set(self, "registry_name", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group to which the container registry belongs. - """ - 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(name="stepName") - def step_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of a build step for a container registry build task. - """ - return pulumi.get(self, "step_name") - - @step_name.setter - def step_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "step_name", value) - - -class BuildStep(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Build step resource properties - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] build_task_name: The name of the container registry build task. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input[str] step_name: The name of a build step for a container registry build task. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: BuildStepArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Build step resource properties - - :param str resource_name: The name of the resource. - :param BuildStepArgs 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(BuildStepArgs, 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, - build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = BuildStepArgs.__new__(BuildStepArgs) - - if build_task_name is None and not opts.urn: - raise TypeError("Missing required property 'build_task_name'") - __props__.__dict__["build_task_name"] = build_task_name - if registry_name is None and not opts.urn: - raise TypeError("Missing required property 'registry_name'") - __props__.__dict__["registry_name"] = registry_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - __props__.__dict__["step_name"] = step_name - __props__.__dict__["name"] = None - __props__.__dict__["properties"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:BuildStep")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(BuildStep, __self__).__init__( - 'azure-native:containerregistry/v20180201preview:BuildStep', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildStep': - """ - Get an existing BuildStep 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = BuildStepArgs.__new__(BuildStepArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["properties"] = None - __props__.__dict__["type"] = None - return BuildStep(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def properties(self) -> pulumi.Output['outputs.DockerBuildStepResponse']: - """ - The properties of a build step. - """ - return pulumi.get(self, "properties") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/build_task.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/build_task.py deleted file mode 100644 index 16310baf70b1..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/build_task.py +++ /dev/null @@ -1,407 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['BuildTaskArgs', 'BuildTask'] - -@pulumi.input_type -class BuildTaskArgs: - def __init__(__self__, *, - alias: pulumi.Input[str], - platform: pulumi.Input['PlatformPropertiesArgs'], - registry_name: pulumi.Input[str], - resource_group_name: pulumi.Input[str], - source_repository: pulumi.Input['SourceRepositoryPropertiesArgs'], - build_task_name: Optional[pulumi.Input[str]] = None, - location: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input[Union[str, 'BuildTaskStatus']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - timeout: Optional[pulumi.Input[int]] = None): - """ - The set of arguments for constructing a BuildTask resource. - :param pulumi.Input[str] alias: The alternative updatable name for a build task. - :param pulumi.Input['PlatformPropertiesArgs'] platform: The platform properties against which the build has to happen. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input['SourceRepositoryPropertiesArgs'] source_repository: The properties that describes the source(code) for the build task. - :param pulumi.Input[str] build_task_name: The name of the container registry build task. - :param pulumi.Input[str] location: The location of the resource. This cannot be changed after the resource is created. - :param pulumi.Input[Union[str, 'BuildTaskStatus']] status: The current status of build task. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource. - :param pulumi.Input[int] timeout: Build timeout in seconds. - """ - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "platform", platform) - pulumi.set(__self__, "registry_name", registry_name) - pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "source_repository", source_repository) - if build_task_name is not None: - pulumi.set(__self__, "build_task_name", build_task_name) - if location is not None: - pulumi.set(__self__, "location", location) - if status is not None: - pulumi.set(__self__, "status", status) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if timeout is None: - timeout = 3600 - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - - @property - @pulumi.getter - def alias(self) -> pulumi.Input[str]: - """ - The alternative updatable name for a build task. - """ - return pulumi.get(self, "alias") - - @alias.setter - def alias(self, value: pulumi.Input[str]): - pulumi.set(self, "alias", value) - - @property - @pulumi.getter - def platform(self) -> pulumi.Input['PlatformPropertiesArgs']: - """ - The platform properties against which the build has to happen. - """ - return pulumi.get(self, "platform") - - @platform.setter - def platform(self, value: pulumi.Input['PlatformPropertiesArgs']): - pulumi.set(self, "platform", value) - - @property - @pulumi.getter(name="registryName") - def registry_name(self) -> pulumi.Input[str]: - """ - The name of the container registry. - """ - return pulumi.get(self, "registry_name") - - @registry_name.setter - def registry_name(self, value: pulumi.Input[str]): - pulumi.set(self, "registry_name", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group to which the container registry belongs. - """ - 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(name="sourceRepository") - def source_repository(self) -> pulumi.Input['SourceRepositoryPropertiesArgs']: - """ - The properties that describes the source(code) for the build task. - """ - return pulumi.get(self, "source_repository") - - @source_repository.setter - def source_repository(self, value: pulumi.Input['SourceRepositoryPropertiesArgs']): - pulumi.set(self, "source_repository", value) - - @property - @pulumi.getter(name="buildTaskName") - def build_task_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the container registry build task. - """ - return pulumi.get(self, "build_task_name") - - @build_task_name.setter - def build_task_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "build_task_name", value) - - @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - """ - The location of the resource. This cannot be changed after the resource is 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 status(self) -> Optional[pulumi.Input[Union[str, 'BuildTaskStatus']]]: - """ - The current status of build task. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input[Union[str, 'BuildTaskStatus']]]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - The tags of 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 - def timeout(self) -> Optional[pulumi.Input[int]]: - """ - Build timeout in seconds. - """ - return pulumi.get(self, "timeout") - - @timeout.setter - def timeout(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout", value) - - -class BuildTask(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - alias: Optional[pulumi.Input[str]] = None, - build_task_name: Optional[pulumi.Input[str]] = None, - location: Optional[pulumi.Input[str]] = None, - platform: Optional[pulumi.Input[pulumi.InputType['PlatformPropertiesArgs']]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - source_repository: Optional[pulumi.Input[pulumi.InputType['SourceRepositoryPropertiesArgs']]] = None, - status: Optional[pulumi.Input[Union[str, 'BuildTaskStatus']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - timeout: Optional[pulumi.Input[int]] = None, - __props__=None): - """ - The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] alias: The alternative updatable name for a build task. - :param pulumi.Input[str] build_task_name: The name of the container registry build task. - :param pulumi.Input[str] location: The location of the resource. This cannot be changed after the resource is created. - :param pulumi.Input[pulumi.InputType['PlatformPropertiesArgs']] platform: The platform properties against which the build has to happen. - :param pulumi.Input[str] registry_name: The name of the container registry. - :param pulumi.Input[str] resource_group_name: The name of the resource group to which the container registry belongs. - :param pulumi.Input[pulumi.InputType['SourceRepositoryPropertiesArgs']] source_repository: The properties that describes the source(code) for the build task. - :param pulumi.Input[Union[str, 'BuildTaskStatus']] status: The current status of build task. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource. - :param pulumi.Input[int] timeout: Build timeout in seconds. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: BuildTaskArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it. - - :param str resource_name: The name of the resource. - :param BuildTaskArgs 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(BuildTaskArgs, 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, - alias: Optional[pulumi.Input[str]] = None, - build_task_name: Optional[pulumi.Input[str]] = None, - location: Optional[pulumi.Input[str]] = None, - platform: Optional[pulumi.Input[pulumi.InputType['PlatformPropertiesArgs']]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - source_repository: Optional[pulumi.Input[pulumi.InputType['SourceRepositoryPropertiesArgs']]] = None, - status: Optional[pulumi.Input[Union[str, 'BuildTaskStatus']]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - timeout: Optional[pulumi.Input[int]] = 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__ = BuildTaskArgs.__new__(BuildTaskArgs) - - if alias is None and not opts.urn: - raise TypeError("Missing required property 'alias'") - __props__.__dict__["alias"] = alias - __props__.__dict__["build_task_name"] = build_task_name - __props__.__dict__["location"] = location - if platform is None and not opts.urn: - raise TypeError("Missing required property 'platform'") - __props__.__dict__["platform"] = platform - if registry_name is None and not opts.urn: - raise TypeError("Missing required property 'registry_name'") - __props__.__dict__["registry_name"] = registry_name - if resource_group_name is None and not opts.urn: - raise TypeError("Missing required property 'resource_group_name'") - __props__.__dict__["resource_group_name"] = resource_group_name - if source_repository is None and not opts.urn: - raise TypeError("Missing required property 'source_repository'") - __props__.__dict__["source_repository"] = source_repository - __props__.__dict__["status"] = status - __props__.__dict__["tags"] = tags - if timeout is None: - timeout = 3600 - __props__.__dict__["timeout"] = timeout - __props__.__dict__["creation_date"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:BuildTask"), pulumi.Alias(type_="azure-native:containerregistry/v20180901:BuildTask"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:BuildTask"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:BuildTask")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(BuildTask, __self__).__init__( - 'azure-native:containerregistry/v20180201preview:BuildTask', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'BuildTask': - """ - Get an existing BuildTask 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = BuildTaskArgs.__new__(BuildTaskArgs) - - __props__.__dict__["alias"] = None - __props__.__dict__["creation_date"] = None - __props__.__dict__["location"] = None - __props__.__dict__["name"] = None - __props__.__dict__["platform"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["source_repository"] = None - __props__.__dict__["status"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["timeout"] = None - __props__.__dict__["type"] = None - return BuildTask(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def alias(self) -> pulumi.Output[str]: - """ - The alternative updatable name for a build task. - """ - return pulumi.get(self, "alias") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The creation date of build task. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def location(self) -> pulumi.Output[str]: - """ - The location of the resource. This cannot be changed after the resource is created. - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def platform(self) -> pulumi.Output['outputs.PlatformPropertiesResponse']: - """ - The platform properties against which the build has to happen. - """ - return pulumi.get(self, "platform") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - The provisioning state of the build task. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="sourceRepository") - def source_repository(self) -> pulumi.Output['outputs.SourceRepositoryPropertiesResponse']: - """ - The properties that describes the source(code) for the build task. - """ - return pulumi.get(self, "source_repository") - - @property - @pulumi.getter - def status(self) -> pulumi.Output[Optional[str]]: - """ - The current status of build task. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - The tags of the resource. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def timeout(self) -> pulumi.Output[Optional[int]]: - """ - Build timeout in seconds. - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_log_link.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_log_link.py deleted file mode 100644 index e1eba5f822e4..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_log_link.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities - -__all__ = [ - 'GetBuildLogLinkResult', - 'AwaitableGetBuildLogLinkResult', - 'get_build_log_link', - 'get_build_log_link_output', -] - -@pulumi.output_type -class GetBuildLogLinkResult: - """ - The result of get log link operation. - """ - def __init__(__self__, log_link=None): - if log_link and not isinstance(log_link, str): - raise TypeError("Expected argument 'log_link' to be a str") - pulumi.set(__self__, "log_link", log_link) - - @property - @pulumi.getter(name="logLink") - def log_link(self) -> Optional[str]: - """ - The link to logs for a azure container registry build. - """ - return pulumi.get(self, "log_link") - - -class AwaitableGetBuildLogLinkResult(GetBuildLogLinkResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetBuildLogLinkResult( - log_link=self.log_link) - - -def get_build_log_link(build_id: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildLogLinkResult: - """ - Gets a link to download the build logs. - - - :param str build_id: The build ID. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['buildId'] = build_id - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20180201preview:getBuildLogLink', __args__, opts=opts, typ=GetBuildLogLinkResult).value - - return AwaitableGetBuildLogLinkResult( - log_link=pulumi.get(__ret__, 'log_link')) - - -@_utilities.lift_output_func(get_build_log_link) -def get_build_log_link_output(build_id: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildLogLinkResult]: - """ - Gets a link to download the build logs. - - - :param str build_id: The build ID. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_step.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_step.py deleted file mode 100644 index b0351ee4bae9..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_step.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetBuildStepResult', - 'AwaitableGetBuildStepResult', - 'get_build_step', - 'get_build_step_output', -] - -@pulumi.output_type -class GetBuildStepResult: - """ - Build step resource properties - """ - def __init__(__self__, id=None, name=None, properties=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if properties and not isinstance(properties, dict): - raise TypeError("Expected argument 'properties' to be a dict") - pulumi.set(__self__, "properties", properties) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - The resource ID. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def properties(self) -> 'outputs.DockerBuildStepResponse': - """ - The properties of a build step. - """ - return pulumi.get(self, "properties") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - - -class AwaitableGetBuildStepResult(GetBuildStepResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetBuildStepResult( - id=self.id, - name=self.name, - properties=self.properties, - type=self.type) - - -def get_build_step(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - step_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildStepResult: - """ - Gets the build step for a build task. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - __args__['stepName'] = step_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20180201preview:getBuildStep', __args__, opts=opts, typ=GetBuildStepResult).value - - return AwaitableGetBuildStepResult( - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - properties=pulumi.get(__ret__, 'properties'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_build_step) -def get_build_step_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildStepResult]: - """ - Gets the build step for a build task. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_task.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_task.py deleted file mode 100644 index 320c092f6ef0..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_build_task.py +++ /dev/null @@ -1,227 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetBuildTaskResult', - 'AwaitableGetBuildTaskResult', - 'get_build_task', - 'get_build_task_output', -] - -@pulumi.output_type -class GetBuildTaskResult: - """ - The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it. - """ - def __init__(__self__, alias=None, creation_date=None, id=None, location=None, name=None, platform=None, provisioning_state=None, source_repository=None, status=None, tags=None, timeout=None, type=None): - if alias and not isinstance(alias, str): - raise TypeError("Expected argument 'alias' to be a str") - pulumi.set(__self__, "alias", alias) - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if location and not isinstance(location, str): - raise TypeError("Expected argument 'location' to be a str") - pulumi.set(__self__, "location", location) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if platform and not isinstance(platform, dict): - raise TypeError("Expected argument 'platform' to be a dict") - pulumi.set(__self__, "platform", platform) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if source_repository and not isinstance(source_repository, dict): - raise TypeError("Expected argument 'source_repository' to be a dict") - pulumi.set(__self__, "source_repository", source_repository) - if status and not isinstance(status, str): - raise TypeError("Expected argument 'status' to be a str") - pulumi.set(__self__, "status", status) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if timeout and not isinstance(timeout, int): - raise TypeError("Expected argument 'timeout' to be a int") - pulumi.set(__self__, "timeout", timeout) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def alias(self) -> str: - """ - The alternative updatable name for a build task. - """ - return pulumi.get(self, "alias") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The creation date of build task. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def id(self) -> str: - """ - The resource ID. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def location(self) -> str: - """ - The location of the resource. This cannot be changed after the resource is created. - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def platform(self) -> 'outputs.PlatformPropertiesResponse': - """ - The platform properties against which the build has to happen. - """ - return pulumi.get(self, "platform") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - The provisioning state of the build task. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="sourceRepository") - def source_repository(self) -> 'outputs.SourceRepositoryPropertiesResponse': - """ - The properties that describes the source(code) for the build task. - """ - return pulumi.get(self, "source_repository") - - @property - @pulumi.getter - def status(self) -> Optional[str]: - """ - The current status of build task. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - The tags of the resource. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def timeout(self) -> Optional[int]: - """ - Build timeout in seconds. - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. - """ - return pulumi.get(self, "type") - - -class AwaitableGetBuildTaskResult(GetBuildTaskResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetBuildTaskResult( - alias=self.alias, - creation_date=self.creation_date, - id=self.id, - location=self.location, - name=self.name, - platform=self.platform, - provisioning_state=self.provisioning_state, - source_repository=self.source_repository, - status=self.status, - tags=self.tags, - timeout=self.timeout, - type=self.type) - - -def get_build_task(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBuildTaskResult: - """ - Get the properties of a specified build task. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20180201preview:getBuildTask', __args__, opts=opts, typ=GetBuildTaskResult).value - - return AwaitableGetBuildTaskResult( - alias=pulumi.get(__ret__, 'alias'), - creation_date=pulumi.get(__ret__, 'creation_date'), - id=pulumi.get(__ret__, 'id'), - location=pulumi.get(__ret__, 'location'), - name=pulumi.get(__ret__, 'name'), - platform=pulumi.get(__ret__, 'platform'), - provisioning_state=pulumi.get(__ret__, 'provisioning_state'), - source_repository=pulumi.get(__ret__, 'source_repository'), - status=pulumi.get(__ret__, 'status'), - tags=pulumi.get(__ret__, 'tags'), - timeout=pulumi.get(__ret__, 'timeout'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_build_task) -def get_build_task_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildTaskResult]: - """ - Get the properties of a specified build task. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_registry_build_source_upload_url.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_registry_build_source_upload_url.py deleted file mode 100644 index db24240d97f3..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/get_registry_build_source_upload_url.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities - -__all__ = [ - 'GetRegistryBuildSourceUploadUrlResult', - 'AwaitableGetRegistryBuildSourceUploadUrlResult', - 'get_registry_build_source_upload_url', - 'get_registry_build_source_upload_url_output', -] - -@pulumi.output_type -class GetRegistryBuildSourceUploadUrlResult: - """ - The properties of a response to source upload request. - """ - def __init__(__self__, relative_path=None, upload_url=None): - if relative_path and not isinstance(relative_path, str): - raise TypeError("Expected argument 'relative_path' to be a str") - pulumi.set(__self__, "relative_path", relative_path) - if upload_url and not isinstance(upload_url, str): - raise TypeError("Expected argument 'upload_url' to be a str") - pulumi.set(__self__, "upload_url", upload_url) - - @property - @pulumi.getter(name="relativePath") - def relative_path(self) -> Optional[str]: - """ - The relative path to the source. This is used to submit the subsequent queue build request. - """ - return pulumi.get(self, "relative_path") - - @property - @pulumi.getter(name="uploadUrl") - def upload_url(self) -> Optional[str]: - """ - The URL where the client can upload the source. - """ - return pulumi.get(self, "upload_url") - - -class AwaitableGetRegistryBuildSourceUploadUrlResult(GetRegistryBuildSourceUploadUrlResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRegistryBuildSourceUploadUrlResult( - relative_path=self.relative_path, - upload_url=self.upload_url) - - -def get_registry_build_source_upload_url(registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryBuildSourceUploadUrlResult: - """ - Get the upload location for the user to be able to upload the source. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20180201preview:getRegistryBuildSourceUploadUrl', __args__, opts=opts, typ=GetRegistryBuildSourceUploadUrlResult).value - - return AwaitableGetRegistryBuildSourceUploadUrlResult( - relative_path=pulumi.get(__ret__, 'relative_path'), - upload_url=pulumi.get(__ret__, 'upload_url')) - - -@_utilities.lift_output_func(get_registry_build_source_upload_url) -def get_registry_build_source_upload_url_output(registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryBuildSourceUploadUrlResult]: - """ - Get the upload location for the user to be able to upload the source. - - - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/list_build_step_build_arguments.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/list_build_step_build_arguments.py deleted file mode 100644 index 3eb29ba38732..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/list_build_step_build_arguments.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'ListBuildStepBuildArgumentsResult', - 'AwaitableListBuildStepBuildArgumentsResult', - 'list_build_step_build_arguments', - 'list_build_step_build_arguments_output', -] - -@pulumi.output_type -class ListBuildStepBuildArgumentsResult: - """ - The list of build arguments for a build step. - """ - def __init__(__self__, next_link=None, value=None): - if next_link and not isinstance(next_link, str): - raise TypeError("Expected argument 'next_link' to be a str") - pulumi.set(__self__, "next_link", next_link) - if value and not isinstance(value, list): - raise TypeError("Expected argument 'value' to be a list") - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter(name="nextLink") - def next_link(self) -> Optional[str]: - """ - The URI that can be used to request the next set of paged results. - """ - return pulumi.get(self, "next_link") - - @property - @pulumi.getter - def value(self) -> Optional[Sequence['outputs.BuildArgumentResponse']]: - """ - The collection value. - """ - return pulumi.get(self, "value") - - -class AwaitableListBuildStepBuildArgumentsResult(ListBuildStepBuildArgumentsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return ListBuildStepBuildArgumentsResult( - next_link=self.next_link, - value=self.value) - - -def list_build_step_build_arguments(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - step_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBuildStepBuildArgumentsResult: - """ - List the build arguments for a step including the secret arguments. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - __args__['stepName'] = step_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20180201preview:listBuildStepBuildArguments', __args__, opts=opts, typ=ListBuildStepBuildArgumentsResult).value - - return AwaitableListBuildStepBuildArgumentsResult( - next_link=pulumi.get(__ret__, 'next_link'), - value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(list_build_step_build_arguments) -def list_build_step_build_arguments_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - step_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListBuildStepBuildArgumentsResult]: - """ - List the build arguments for a step including the secret arguments. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - :param str step_name: The name of a build step for a container registry build task. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/list_build_task_source_repository_properties.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/list_build_task_source_repository_properties.py deleted file mode 100644 index d1dfdafee651..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/list_build_task_source_repository_properties.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'ListBuildTaskSourceRepositoryPropertiesResult', - 'AwaitableListBuildTaskSourceRepositoryPropertiesResult', - 'list_build_task_source_repository_properties', - 'list_build_task_source_repository_properties_output', -] - -@pulumi.output_type -class ListBuildTaskSourceRepositoryPropertiesResult: - """ - The properties of the source code repository. - """ - def __init__(__self__, is_commit_trigger_enabled=None, repository_url=None, source_control_auth_properties=None, source_control_type=None): - if is_commit_trigger_enabled and not isinstance(is_commit_trigger_enabled, bool): - raise TypeError("Expected argument 'is_commit_trigger_enabled' to be a bool") - pulumi.set(__self__, "is_commit_trigger_enabled", is_commit_trigger_enabled) - if repository_url and not isinstance(repository_url, str): - raise TypeError("Expected argument 'repository_url' to be a str") - pulumi.set(__self__, "repository_url", repository_url) - if source_control_auth_properties and not isinstance(source_control_auth_properties, dict): - raise TypeError("Expected argument 'source_control_auth_properties' to be a dict") - pulumi.set(__self__, "source_control_auth_properties", source_control_auth_properties) - if source_control_type and not isinstance(source_control_type, str): - raise TypeError("Expected argument 'source_control_type' to be a str") - pulumi.set(__self__, "source_control_type", source_control_type) - - @property - @pulumi.getter(name="isCommitTriggerEnabled") - def is_commit_trigger_enabled(self) -> Optional[bool]: - """ - The value of this property indicates whether the source control commit trigger is enabled or not. - """ - return pulumi.get(self, "is_commit_trigger_enabled") - - @property - @pulumi.getter(name="repositoryUrl") - def repository_url(self) -> str: - """ - The full URL to the source code repository - """ - return pulumi.get(self, "repository_url") - - @property - @pulumi.getter(name="sourceControlAuthProperties") - def source_control_auth_properties(self) -> Optional['outputs.SourceControlAuthInfoResponse']: - """ - The authorization properties for accessing the source code repository. - """ - return pulumi.get(self, "source_control_auth_properties") - - @property - @pulumi.getter(name="sourceControlType") - def source_control_type(self) -> str: - """ - The type of source control service. - """ - return pulumi.get(self, "source_control_type") - - -class AwaitableListBuildTaskSourceRepositoryPropertiesResult(ListBuildTaskSourceRepositoryPropertiesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return ListBuildTaskSourceRepositoryPropertiesResult( - is_commit_trigger_enabled=self.is_commit_trigger_enabled, - repository_url=self.repository_url, - source_control_auth_properties=self.source_control_auth_properties, - source_control_type=self.source_control_type) - - -def list_build_task_source_repository_properties(build_task_name: Optional[str] = None, - registry_name: Optional[str] = None, - resource_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBuildTaskSourceRepositoryPropertiesResult: - """ - Get the source control properties for a build task. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - __args__ = dict() - __args__['buildTaskName'] = build_task_name - __args__['registryName'] = registry_name - __args__['resourceGroupName'] = resource_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:containerregistry/v20180201preview:listBuildTaskSourceRepositoryProperties', __args__, opts=opts, typ=ListBuildTaskSourceRepositoryPropertiesResult).value - - return AwaitableListBuildTaskSourceRepositoryPropertiesResult( - is_commit_trigger_enabled=pulumi.get(__ret__, 'is_commit_trigger_enabled'), - repository_url=pulumi.get(__ret__, 'repository_url'), - source_control_auth_properties=pulumi.get(__ret__, 'source_control_auth_properties'), - source_control_type=pulumi.get(__ret__, 'source_control_type')) - - -@_utilities.lift_output_func(list_build_task_source_repository_properties) -def list_build_task_source_repository_properties_output(build_task_name: Optional[pulumi.Input[str]] = None, - registry_name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListBuildTaskSourceRepositoryPropertiesResult]: - """ - Get the source control properties for a build task. - - - :param str build_task_name: The name of the container registry build task. - :param str registry_name: The name of the container registry. - :param str resource_group_name: The name of the resource group to which the container registry belongs. - """ - ... diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/outputs.py b/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/outputs.py deleted file mode 100644 index c610e2886e32..000000000000 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180201preview/outputs.py +++ /dev/null @@ -1,571 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * - -__all__ = [ - 'BaseImageDependencyResponse', - 'BuildArgumentResponse', - 'DockerBuildStepResponse', - 'PlatformPropertiesResponse', - 'SourceControlAuthInfoResponse', - 'SourceRepositoryPropertiesResponse', -] - -@pulumi.output_type -class BaseImageDependencyResponse(dict): - """ - Properties that describe a base image dependency. - """ - def __init__(__self__, *, - digest: Optional[str] = None, - registry: Optional[str] = None, - repository: Optional[str] = None, - tag: Optional[str] = None, - type: Optional[str] = None): - """ - Properties that describe a base image dependency. - :param str digest: The sha256-based digest of the image manifest. - :param str registry: The registry login server. - :param str repository: The repository name. - :param str tag: The tag name. - :param str type: The type of the base image dependency. - """ - if digest is not None: - pulumi.set(__self__, "digest", digest) - if registry is not None: - pulumi.set(__self__, "registry", registry) - if repository is not None: - pulumi.set(__self__, "repository", repository) - if tag is not None: - pulumi.set(__self__, "tag", tag) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def digest(self) -> Optional[str]: - """ - The sha256-based digest of the image manifest. - """ - return pulumi.get(self, "digest") - - @property - @pulumi.getter - def registry(self) -> Optional[str]: - """ - The registry login server. - """ - return pulumi.get(self, "registry") - - @property - @pulumi.getter - def repository(self) -> Optional[str]: - """ - The repository name. - """ - return pulumi.get(self, "repository") - - @property - @pulumi.getter - def tag(self) -> Optional[str]: - """ - The tag name. - """ - return pulumi.get(self, "tag") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - The type of the base image dependency. - """ - return pulumi.get(self, "type") - - -@pulumi.output_type -class BuildArgumentResponse(dict): - """ - Properties of a build argument. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isSecret": - suggest = "is_secret" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in BuildArgumentResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - BuildArgumentResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - BuildArgumentResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - name: str, - type: str, - value: str, - is_secret: Optional[bool] = None): - """ - Properties of a build argument. - :param str name: The name of the argument. - :param str type: The type of the argument. - :param str value: The value of the argument. - :param bool is_secret: Flag to indicate whether the argument represents a secret and want to be removed from build logs. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - if is_secret is None: - is_secret = False - if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the argument. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the argument. - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the argument. - """ - return pulumi.get(self, "value") - - @property - @pulumi.getter(name="isSecret") - def is_secret(self) -> Optional[bool]: - """ - Flag to indicate whether the argument represents a secret and want to be removed from build logs. - """ - return pulumi.get(self, "is_secret") - - -@pulumi.output_type -class DockerBuildStepResponse(dict): - """ - The Docker build step. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "baseImageDependencies": - suggest = "base_image_dependencies" - elif key == "provisioningState": - suggest = "provisioning_state" - elif key == "baseImageTrigger": - suggest = "base_image_trigger" - elif key == "buildArguments": - suggest = "build_arguments" - elif key == "contextPath": - suggest = "context_path" - elif key == "dockerFilePath": - suggest = "docker_file_path" - elif key == "imageNames": - suggest = "image_names" - elif key == "isPushEnabled": - suggest = "is_push_enabled" - elif key == "noCache": - suggest = "no_cache" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DockerBuildStepResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DockerBuildStepResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DockerBuildStepResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - base_image_dependencies: Sequence['outputs.BaseImageDependencyResponse'], - provisioning_state: str, - type: str, - base_image_trigger: Optional[str] = None, - branch: Optional[str] = None, - build_arguments: Optional[Sequence['outputs.BuildArgumentResponse']] = None, - context_path: Optional[str] = None, - docker_file_path: Optional[str] = None, - image_names: Optional[Sequence[str]] = None, - is_push_enabled: Optional[bool] = None, - no_cache: Optional[bool] = None): - """ - The Docker build step. - :param Sequence['BaseImageDependencyResponse'] base_image_dependencies: List of base image dependencies for a step. - :param str provisioning_state: The provisioning state of the build step. - :param str type: The type of the step. - Expected value is 'Docker'. - :param str base_image_trigger: The type of the auto trigger for base image dependency updates. - :param str branch: The repository branch name. - :param Sequence['BuildArgumentResponse'] build_arguments: The custom arguments for building this build step. - :param str context_path: The relative context path for a docker build in the source. - :param str docker_file_path: The Docker file path relative to the source control root. - :param Sequence[str] image_names: The fully qualified image names including the repository and tag. - :param bool is_push_enabled: The value of this property indicates whether the image built should be pushed to the registry or not. - :param bool no_cache: The value of this property indicates whether the image cache is enabled or not. - """ - pulumi.set(__self__, "base_image_dependencies", base_image_dependencies) - pulumi.set(__self__, "provisioning_state", provisioning_state) - pulumi.set(__self__, "type", 'Docker') - if base_image_trigger is not None: - pulumi.set(__self__, "base_image_trigger", base_image_trigger) - if branch is not None: - pulumi.set(__self__, "branch", branch) - if build_arguments is not None: - pulumi.set(__self__, "build_arguments", build_arguments) - if context_path is not None: - pulumi.set(__self__, "context_path", context_path) - if docker_file_path is not None: - pulumi.set(__self__, "docker_file_path", docker_file_path) - if image_names is not None: - pulumi.set(__self__, "image_names", image_names) - if is_push_enabled is None: - is_push_enabled = True - if is_push_enabled is not None: - pulumi.set(__self__, "is_push_enabled", is_push_enabled) - if no_cache is None: - no_cache = False - if no_cache is not None: - pulumi.set(__self__, "no_cache", no_cache) - - @property - @pulumi.getter(name="baseImageDependencies") - def base_image_dependencies(self) -> Sequence['outputs.BaseImageDependencyResponse']: - """ - List of base image dependencies for a step. - """ - return pulumi.get(self, "base_image_dependencies") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - The provisioning state of the build step. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the step. - Expected value is 'Docker'. - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="baseImageTrigger") - def base_image_trigger(self) -> Optional[str]: - """ - The type of the auto trigger for base image dependency updates. - """ - return pulumi.get(self, "base_image_trigger") - - @property - @pulumi.getter - def branch(self) -> Optional[str]: - """ - The repository branch name. - """ - return pulumi.get(self, "branch") - - @property - @pulumi.getter(name="buildArguments") - def build_arguments(self) -> Optional[Sequence['outputs.BuildArgumentResponse']]: - """ - The custom arguments for building this build step. - """ - return pulumi.get(self, "build_arguments") - - @property - @pulumi.getter(name="contextPath") - def context_path(self) -> Optional[str]: - """ - The relative context path for a docker build in the source. - """ - return pulumi.get(self, "context_path") - - @property - @pulumi.getter(name="dockerFilePath") - def docker_file_path(self) -> Optional[str]: - """ - The Docker file path relative to the source control root. - """ - return pulumi.get(self, "docker_file_path") - - @property - @pulumi.getter(name="imageNames") - def image_names(self) -> Optional[Sequence[str]]: - """ - The fully qualified image names including the repository and tag. - """ - return pulumi.get(self, "image_names") - - @property - @pulumi.getter(name="isPushEnabled") - def is_push_enabled(self) -> Optional[bool]: - """ - The value of this property indicates whether the image built should be pushed to the registry or not. - """ - return pulumi.get(self, "is_push_enabled") - - @property - @pulumi.getter(name="noCache") - def no_cache(self) -> Optional[bool]: - """ - The value of this property indicates whether the image cache is enabled or not. - """ - return pulumi.get(self, "no_cache") - - -@pulumi.output_type -class PlatformPropertiesResponse(dict): - """ - The platform properties against which the build has to happen. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "osType": - suggest = "os_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in PlatformPropertiesResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - PlatformPropertiesResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - PlatformPropertiesResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - os_type: str, - cpu: Optional[int] = None): - """ - The platform properties against which the build has to happen. - :param str os_type: The operating system type required for the build. - :param int cpu: The CPU configuration in terms of number of cores required for the build. - """ - pulumi.set(__self__, "os_type", os_type) - if cpu is not None: - pulumi.set(__self__, "cpu", cpu) - - @property - @pulumi.getter(name="osType") - def os_type(self) -> str: - """ - The operating system type required for the build. - """ - return pulumi.get(self, "os_type") - - @property - @pulumi.getter - def cpu(self) -> Optional[int]: - """ - The CPU configuration in terms of number of cores required for the build. - """ - return pulumi.get(self, "cpu") - - -@pulumi.output_type -class SourceControlAuthInfoResponse(dict): - """ - The authorization properties for accessing the source code repository. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "expiresIn": - suggest = "expires_in" - elif key == "refreshToken": - suggest = "refresh_token" - elif key == "tokenType": - suggest = "token_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SourceControlAuthInfoResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SourceControlAuthInfoResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SourceControlAuthInfoResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - token: str, - expires_in: Optional[int] = None, - refresh_token: Optional[str] = None, - scope: Optional[str] = None, - token_type: Optional[str] = None): - """ - The authorization properties for accessing the source code repository. - :param str token: The access token used to access the source control provider. - :param int expires_in: Time in seconds that the token remains valid - :param str refresh_token: The refresh token used to refresh the access token. - :param str scope: The scope of the access token. - :param str token_type: The type of Auth token. - """ - pulumi.set(__self__, "token", token) - if expires_in is not None: - pulumi.set(__self__, "expires_in", expires_in) - if refresh_token is not None: - pulumi.set(__self__, "refresh_token", refresh_token) - if scope is not None: - pulumi.set(__self__, "scope", scope) - if token_type is not None: - pulumi.set(__self__, "token_type", token_type) - - @property - @pulumi.getter - def token(self) -> str: - """ - The access token used to access the source control provider. - """ - return pulumi.get(self, "token") - - @property - @pulumi.getter(name="expiresIn") - def expires_in(self) -> Optional[int]: - """ - Time in seconds that the token remains valid - """ - return pulumi.get(self, "expires_in") - - @property - @pulumi.getter(name="refreshToken") - def refresh_token(self) -> Optional[str]: - """ - The refresh token used to refresh the access token. - """ - return pulumi.get(self, "refresh_token") - - @property - @pulumi.getter - def scope(self) -> Optional[str]: - """ - The scope of the access token. - """ - return pulumi.get(self, "scope") - - @property - @pulumi.getter(name="tokenType") - def token_type(self) -> Optional[str]: - """ - The type of Auth token. - """ - return pulumi.get(self, "token_type") - - -@pulumi.output_type -class SourceRepositoryPropertiesResponse(dict): - """ - The properties of the source code repository. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "repositoryUrl": - suggest = "repository_url" - elif key == "sourceControlType": - suggest = "source_control_type" - elif key == "isCommitTriggerEnabled": - suggest = "is_commit_trigger_enabled" - elif key == "sourceControlAuthProperties": - suggest = "source_control_auth_properties" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SourceRepositoryPropertiesResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SourceRepositoryPropertiesResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SourceRepositoryPropertiesResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - repository_url: str, - source_control_type: str, - is_commit_trigger_enabled: Optional[bool] = None, - source_control_auth_properties: Optional['outputs.SourceControlAuthInfoResponse'] = None): - """ - The properties of the source code repository. - :param str repository_url: The full URL to the source code repository - :param str source_control_type: The type of source control service. - :param bool is_commit_trigger_enabled: The value of this property indicates whether the source control commit trigger is enabled or not. - :param 'SourceControlAuthInfoResponse' source_control_auth_properties: The authorization properties for accessing the source code repository. - """ - pulumi.set(__self__, "repository_url", repository_url) - pulumi.set(__self__, "source_control_type", source_control_type) - if is_commit_trigger_enabled is None: - is_commit_trigger_enabled = False - if is_commit_trigger_enabled is not None: - pulumi.set(__self__, "is_commit_trigger_enabled", is_commit_trigger_enabled) - if source_control_auth_properties is not None: - pulumi.set(__self__, "source_control_auth_properties", source_control_auth_properties) - - @property - @pulumi.getter(name="repositoryUrl") - def repository_url(self) -> str: - """ - The full URL to the source code repository - """ - return pulumi.get(self, "repository_url") - - @property - @pulumi.getter(name="sourceControlType") - def source_control_type(self) -> str: - """ - The type of source control service. - """ - return pulumi.get(self, "source_control_type") - - @property - @pulumi.getter(name="isCommitTriggerEnabled") - def is_commit_trigger_enabled(self) -> Optional[bool]: - """ - The value of this property indicates whether the source control commit trigger is enabled or not. - """ - return pulumi.get(self, "is_commit_trigger_enabled") - - @property - @pulumi.getter(name="sourceControlAuthProperties") - def source_control_auth_properties(self) -> Optional['outputs.SourceControlAuthInfoResponse']: - """ - The authorization properties for accessing the source code repository. - """ - return pulumi.get(self, "source_control_auth_properties") - - diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20180901/task.py b/sdk/python/pulumi_azure_native/containerregistry/v20180901/task.py index 03f1fe8cca09..c757b17272e5 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20180901/task.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20180901/task.py @@ -321,7 +321,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180201preview:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:Task")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:Task")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Task, __self__).__init__( 'azure-native:containerregistry/v20180901:Task', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20190401/task.py b/sdk/python/pulumi_azure_native/containerregistry/v20190401/task.py index 756d1e1bf171..cd597c768ae6 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20190401/task.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20190401/task.py @@ -341,7 +341,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180201preview:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180901:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:Task")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180901:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190601preview:Task")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Task, __self__).__init__( 'azure-native:containerregistry/v20190401:Task', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20190501/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20190501/registry.py index cf32c738e068..caea944ef7f1 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20190501/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20190501/registry.py @@ -259,7 +259,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["status"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20190501:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20190601preview/task.py b/sdk/python/pulumi_azure_native/containerregistry/v20190601preview/task.py index 453e9c2e3ee2..186fa691005e 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20190601preview/task.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20190601preview/task.py @@ -404,7 +404,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180201preview:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180901:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:Task")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20180901:Task"), pulumi.Alias(type_="azure-native:containerregistry/v20190401:Task")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Task, __self__).__init__( 'azure-native:containerregistry/v20190601preview:Task', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20221201/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20221201/registry.py index cacfc2ebd4a1..6fb1b818459a 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20221201/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20221201/registry.py @@ -374,7 +374,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20221201:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20221201/replication.py b/sdk/python/pulumi_azure_native/containerregistry/v20221201/replication.py index 4d954f4e911e..543edc9d3aaa 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20221201/replication.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20221201/replication.py @@ -221,7 +221,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Replication, __self__).__init__( 'azure-native:containerregistry/v20221201:Replication', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20221201/webhook.py b/sdk/python/pulumi_azure_native/containerregistry/v20221201/webhook.py index 51e533660018..e869b7b606f3 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20221201/webhook.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20221201/webhook.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Webhook, __self__).__init__( 'azure-native:containerregistry/v20221201:Webhook', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/registry.py index 2aff2516f2f0..c32f80491811 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/registry.py @@ -398,7 +398,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20230101preview:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/replication.py b/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/replication.py index 0f86547149ed..0c7af28c8cc8 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/replication.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/replication.py @@ -221,7 +221,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Replication, __self__).__init__( 'azure-native:containerregistry/v20230101preview:Replication', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/webhook.py b/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/webhook.py index f00679274844..33e9a7970d30 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/webhook.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230101preview/webhook.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Webhook, __self__).__init__( 'azure-native:containerregistry/v20230101preview:Webhook', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/registry.py index e0faefba56b4..0f188ce27e5f 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/registry.py @@ -398,7 +398,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20230601preview:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/replication.py b/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/replication.py index 55e073191d86..2c9d648d410b 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/replication.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/replication.py @@ -221,7 +221,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Replication, __self__).__init__( 'azure-native:containerregistry/v20230601preview:Replication', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/webhook.py b/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/webhook.py index 437bc200739a..1b65772d9658 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/webhook.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230601preview/webhook.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Webhook, __self__).__init__( 'azure-native:containerregistry/v20230601preview:Webhook', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230701/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20230701/registry.py index a327b31bdae5..22dc6225c580 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230701/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230701/registry.py @@ -374,7 +374,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20230701:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230701/replication.py b/sdk/python/pulumi_azure_native/containerregistry/v20230701/replication.py index 3b70f37bf239..0fc65b21e016 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230701/replication.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230701/replication.py @@ -221,7 +221,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Replication")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Replication, __self__).__init__( 'azure-native:containerregistry/v20230701:Replication', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230701/webhook.py b/sdk/python/pulumi_azure_native/containerregistry/v20230701/webhook.py index e03414607a97..ae1c5038f1f2 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230701/webhook.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230701/webhook.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Webhook, __self__).__init__( 'azure-native:containerregistry/v20230701:Webhook', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/registry.py b/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/registry.py index 1fbf43ae6900..7f527d4295bf 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/registry.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/registry.py @@ -398,7 +398,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20160627preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20170301:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Registry"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Registry")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Registry, __self__).__init__( 'azure-native:containerregistry/v20230801preview:Registry', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/replication.py b/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/replication.py index 7803a34c6e12..1186fd1a7578 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/replication.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/replication.py @@ -221,7 +221,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Replication"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Replication")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Replication, __self__).__init__( 'azure-native:containerregistry/v20230801preview:Replication', diff --git a/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/webhook.py b/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/webhook.py index fa9781bc4a6b..d61dd413507b 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/webhook.py +++ b/sdk/python/pulumi_azure_native/containerregistry/v20230801preview/webhook.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Webhook, __self__).__init__( 'azure-native:containerregistry/v20230801preview:Webhook', diff --git a/sdk/python/pulumi_azure_native/containerregistry/webhook.py b/sdk/python/pulumi_azure_native/containerregistry/webhook.py index bbdf4229233f..ca174a3ecce2 100644 --- a/sdk/python/pulumi_azure_native/containerregistry/webhook.py +++ b/sdk/python/pulumi_azure_native/containerregistry/webhook.py @@ -276,7 +276,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20170601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerregistry/v20171001:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20190501:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20191201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20201101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210801preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20210901:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20211201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20220201preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20221201:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230101preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230601preview:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230701:Webhook"), pulumi.Alias(type_="azure-native:containerregistry/v20230801preview:Webhook")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Webhook, __self__).__init__( 'azure-native:containerregistry:Webhook', diff --git a/sdk/python/pulumi_azure_native/containerservice/__init__.py b/sdk/python/pulumi_azure_native/containerservice/__init__.py index d940dda61a07..1c6fe79206c9 100644 --- a/sdk/python/pulumi_azure_native/containerservice/__init__.py +++ b/sdk/python/pulumi_azure_native/containerservice/__init__.py @@ -9,9 +9,11 @@ from .agent_pool import * from .fleet import * from .fleet_member import * +from .fleet_update_strategy import * from .get_agent_pool import * from .get_fleet import * from .get_fleet_member import * +from .get_fleet_update_strategy import * from .get_maintenance_configuration import * from .get_managed_cluster import * from .get_managed_cluster_snapshot import * @@ -72,6 +74,10 @@ v20230701 = __v20230701 import pulumi_azure_native.containerservice.v20230702preview as __v20230702preview v20230702preview = __v20230702preview + import pulumi_azure_native.containerservice.v20230801 as __v20230801 + v20230801 = __v20230801 + import pulumi_azure_native.containerservice.v20230815preview as __v20230815preview + v20230815preview = __v20230815preview else: v20190601 = _utilities.lazy_import('pulumi_azure_native.containerservice.v20190601') v20191027preview = _utilities.lazy_import('pulumi_azure_native.containerservice.v20191027preview') @@ -90,4 +96,6 @@ v20230615preview = _utilities.lazy_import('pulumi_azure_native.containerservice.v20230615preview') v20230701 = _utilities.lazy_import('pulumi_azure_native.containerservice.v20230701') v20230702preview = _utilities.lazy_import('pulumi_azure_native.containerservice.v20230702preview') + v20230801 = _utilities.lazy_import('pulumi_azure_native.containerservice.v20230801') + v20230815preview = _utilities.lazy_import('pulumi_azure_native.containerservice.v20230815preview') diff --git a/sdk/python/pulumi_azure_native/containerservice/_inputs.py b/sdk/python/pulumi_azure_native/containerservice/_inputs.py index 6458b346e7b6..907572ffba11 100644 --- a/sdk/python/pulumi_azure_native/containerservice/_inputs.py +++ b/sdk/python/pulumi_azure_native/containerservice/_inputs.py @@ -4717,9 +4717,8 @@ def __init__(__self__, *, name: pulumi.Input[str]): """ A group to be updated. - :param pulumi.Input[str] name: The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + :param pulumi.Input[str] name: Name of the group. + It must match a group name of an existing fleet member. """ pulumi.set(__self__, "name", name) @@ -4727,9 +4726,8 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> pulumi.Input[str]: """ - The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + Name of the group. + It must match a group name of an existing fleet member. """ return pulumi.get(self, "name") @@ -4743,8 +4741,14 @@ class UpdateRunStrategyArgs: def __init__(__self__, *, stages: pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. Min size: 1. """ pulumi.set(__self__, "stages", stages) @@ -4752,7 +4756,7 @@ def __init__(__self__, *, @pulumi.getter def stages(self) -> pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]: """ - The list of stages that compose this update run. + The list of stages that compose this update run. Min size: 1. """ return pulumi.get(self, "stages") @@ -4768,15 +4772,10 @@ def __init__(__self__, *, after_stage_wait_in_seconds: Optional[pulumi.Input[int]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]] = None): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. :param pulumi.Input[str] name: The name of the stage. Must be unique within the UpdateRun. :param pulumi.Input[int] after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. - :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ pulumi.set(__self__, "name", name) if after_stage_wait_in_seconds is not None: @@ -4812,8 +4811,7 @@ def after_stage_wait_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]]: """ - A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ return pulumi.get(self, "groups") diff --git a/sdk/python/pulumi_azure_native/containerservice/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/agent_pool.py index 35fcdf106461..346b3953f939 100644 --- a/sdk/python/pulumi_azure_native/containerservice/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/agent_pool.py @@ -895,7 +895,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/fleet.py b/sdk/python/pulumi_azure_native/containerservice/fleet.py index 77bff29c1003..30f5f8699750 100644 --- a/sdk/python/pulumi_azure_native/containerservice/fleet.py +++ b/sdk/python/pulumi_azure_native/containerservice/fleet.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:Fleet")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Fleet, __self__).__init__( 'azure-native:containerservice:Fleet', diff --git a/sdk/python/pulumi_azure_native/containerservice/fleet_member.py b/sdk/python/pulumi_azure_native/containerservice/fleet_member.py index 891591e9c956..174bade83150 100644 --- a/sdk/python/pulumi_azure_native/containerservice/fleet_member.py +++ b/sdk/python/pulumi_azure_native/containerservice/fleet_member.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:FleetMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FleetMember, __self__).__init__( 'azure-native:containerservice:FleetMember', diff --git a/sdk/python/pulumi_azure_native/containerservice/fleet_update_strategy.py b/sdk/python/pulumi_azure_native/containerservice/fleet_update_strategy.py new file mode 100644 index 000000000000..991ae9640891 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/fleet_update_strategy.py @@ -0,0 +1,238 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['FleetUpdateStrategyArgs', 'FleetUpdateStrategy'] + +@pulumi.input_type +class FleetUpdateStrategyArgs: + def __init__(__self__, *, + fleet_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + strategy: pulumi.Input['UpdateRunStrategyArgs'], + update_strategy_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a FleetUpdateStrategy resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['UpdateRunStrategyArgs'] strategy: Defines the update sequence of the clusters. + :param pulumi.Input[str] update_strategy_name: The name of the UpdateStrategy resource. + """ + pulumi.set(__self__, "fleet_name", fleet_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "strategy", strategy) + if update_strategy_name is not None: + pulumi.set(__self__, "update_strategy_name", update_strategy_name) + + @property + @pulumi.getter(name="fleetName") + def fleet_name(self) -> pulumi.Input[str]: + """ + The name of the Fleet resource. + """ + return pulumi.get(self, "fleet_name") + + @fleet_name.setter + def fleet_name(self, value: pulumi.Input[str]): + pulumi.set(self, "fleet_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 strategy(self) -> pulumi.Input['UpdateRunStrategyArgs']: + """ + Defines the update sequence of the clusters. + """ + return pulumi.get(self, "strategy") + + @strategy.setter + def strategy(self, value: pulumi.Input['UpdateRunStrategyArgs']): + pulumi.set(self, "strategy", value) + + @property + @pulumi.getter(name="updateStrategyName") + def update_strategy_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the UpdateStrategy resource. + """ + return pulumi.get(self, "update_strategy_name") + + @update_strategy_name.setter + def update_strategy_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_strategy_name", value) + + +class FleetUpdateStrategy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + strategy: Optional[pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']]] = None, + update_strategy_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Defines a multi-stage process to perform update operations across members of a Fleet. + Azure REST API version: 2023-08-15-preview. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']] strategy: Defines the update sequence of the clusters. + :param pulumi.Input[str] update_strategy_name: The name of the UpdateStrategy resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FleetUpdateStrategyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines a multi-stage process to perform update operations across members of a Fleet. + Azure REST API version: 2023-08-15-preview. + + :param str resource_name: The name of the resource. + :param FleetUpdateStrategyArgs 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(FleetUpdateStrategyArgs, 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, + fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + strategy: Optional[pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']]] = None, + update_strategy_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = FleetUpdateStrategyArgs.__new__(FleetUpdateStrategyArgs) + + if fleet_name is None and not opts.urn: + raise TypeError("Missing required property 'fleet_name'") + __props__.__dict__["fleet_name"] = fleet_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if strategy is None and not opts.urn: + raise TypeError("Missing required property 'strategy'") + __props__.__dict__["strategy"] = strategy + __props__.__dict__["update_strategy_name"] = update_strategy_name + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20230815preview:FleetUpdateStrategy")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(FleetUpdateStrategy, __self__).__init__( + 'azure-native:containerservice:FleetUpdateStrategy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'FleetUpdateStrategy': + """ + Get an existing FleetUpdateStrategy 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FleetUpdateStrategyArgs.__new__(FleetUpdateStrategyArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["strategy"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return FleetUpdateStrategy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the UpdateStrategy resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def strategy(self) -> pulumi.Output['outputs.UpdateRunStrategyResponse']: + """ + Defines the update sequence of the clusters. + """ + return pulumi.get(self, "strategy") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/containerservice/get_fleet_update_strategy.py b/sdk/python/pulumi_azure_native/containerservice/get_fleet_update_strategy.py new file mode 100644 index 000000000000..8a535826609a --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/get_fleet_update_strategy.py @@ -0,0 +1,164 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetFleetUpdateStrategyResult', + 'AwaitableGetFleetUpdateStrategyResult', + 'get_fleet_update_strategy', + 'get_fleet_update_strategy_output', +] + +@pulumi.output_type +class GetFleetUpdateStrategyResult: + """ + Defines a multi-stage process to perform update operations across members of a Fleet. + """ + def __init__(__self__, e_tag=None, id=None, name=None, provisioning_state=None, strategy=None, system_data=None, type=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if strategy and not isinstance(strategy, dict): + raise TypeError("Expected argument 'strategy' to be a dict") + pulumi.set(__self__, "strategy", strategy) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the UpdateStrategy resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def strategy(self) -> 'outputs.UpdateRunStrategyResponse': + """ + Defines the update sequence of the clusters. + """ + return pulumi.get(self, "strategy") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetFleetUpdateStrategyResult(GetFleetUpdateStrategyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFleetUpdateStrategyResult( + e_tag=self.e_tag, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + strategy=self.strategy, + system_data=self.system_data, + type=self.type) + + +def get_fleet_update_strategy(fleet_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + update_strategy_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetUpdateStrategyResult: + """ + Get a FleetUpdateStrategy + Azure REST API version: 2023-08-15-preview. + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str update_strategy_name: The name of the UpdateStrategy resource. + """ + __args__ = dict() + __args__['fleetName'] = fleet_name + __args__['resourceGroupName'] = resource_group_name + __args__['updateStrategyName'] = update_strategy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice:getFleetUpdateStrategy', __args__, opts=opts, typ=GetFleetUpdateStrategyResult).value + + return AwaitableGetFleetUpdateStrategyResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + strategy=pulumi.get(__ret__, 'strategy'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_fleet_update_strategy) +def get_fleet_update_strategy_output(fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + update_strategy_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetUpdateStrategyResult]: + """ + Get a FleetUpdateStrategy + Azure REST API version: 2023-08-15-preview. + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str update_strategy_name: The name of the UpdateStrategy resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/get_update_run.py b/sdk/python/pulumi_azure_native/containerservice/get_update_run.py index 27a6b932500e..e7cea7366df2 100644 --- a/sdk/python/pulumi_azure_native/containerservice/get_update_run.py +++ b/sdk/python/pulumi_azure_native/containerservice/get_update_run.py @@ -20,7 +20,7 @@ @pulumi.output_type class GetUpdateRunResult: """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. """ def __init__(__self__, e_tag=None, id=None, managed_cluster_update=None, name=None, provisioning_state=None, status=None, strategy=None, system_data=None, type=None): if e_tag and not isinstance(e_tag, str): diff --git a/sdk/python/pulumi_azure_native/containerservice/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/maintenance_configuration.py index 7efd9114f45d..990d63624f5d 100644 --- a/sdk/python/pulumi_azure_native/containerservice/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/maintenance_configuration.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/managed_cluster.py index b8027fecb14c..32471f8a23e0 100644 --- a/sdk/python/pulumi_azure_native/containerservice/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/managed_cluster.py @@ -800,7 +800,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/outputs.py b/sdk/python/pulumi_azure_native/containerservice/outputs.py index 2620d406ab92..18c6def28193 100644 --- a/sdk/python/pulumi_azure_native/containerservice/outputs.py +++ b/sdk/python/pulumi_azure_native/containerservice/outputs.py @@ -5935,9 +5935,8 @@ def __init__(__self__, *, name: str): """ A group to be updated. - :param str name: The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + :param str name: Name of the group. + It must match a group name of an existing fleet member. """ pulumi.set(__self__, "name", name) @@ -5945,9 +5944,8 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + Name of the group. + It must match a group name of an existing fleet member. """ return pulumi.get(self, "name") @@ -6032,13 +6030,25 @@ def status(self) -> 'outputs.UpdateStatusResponse': @pulumi.output_type class UpdateRunStrategyResponse(dict): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. """ def __init__(__self__, *, stages: Sequence['outputs.UpdateStageResponse']): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. Min size: 1. """ pulumi.set(__self__, "stages", stages) @@ -6046,7 +6056,7 @@ def __init__(__self__, *, @pulumi.getter def stages(self) -> Sequence['outputs.UpdateStageResponse']: """ - The list of stages that compose this update run. + The list of stages that compose this update run. Min size: 1. """ return pulumi.get(self, "stages") @@ -6054,11 +6064,7 @@ def stages(self) -> Sequence['outputs.UpdateStageResponse']: @pulumi.output_type class UpdateStageResponse(dict): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. """ @staticmethod def __key_warning(key: str): @@ -6082,15 +6088,10 @@ def __init__(__self__, *, after_stage_wait_in_seconds: Optional[int] = None, groups: Optional[Sequence['outputs.UpdateGroupResponse']] = None): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. :param str name: The name of the stage. Must be unique within the UpdateRun. :param int after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. - :param Sequence['UpdateGroupResponse'] groups: A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + :param Sequence['UpdateGroupResponse'] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ pulumi.set(__self__, "name", name) if after_stage_wait_in_seconds is not None: @@ -6118,8 +6119,7 @@ def after_stage_wait_in_seconds(self) -> Optional[int]: @pulumi.getter def groups(self) -> Optional[Sequence['outputs.UpdateGroupResponse']]: """ - A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ return pulumi.get(self, "groups") diff --git a/sdk/python/pulumi_azure_native/containerservice/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/private_endpoint_connection.py index 1a6fed952441..b85e43521b34 100644 --- a/sdk/python/pulumi_azure_native/containerservice/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/private_endpoint_connection.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/snapshot.py index 5686dc8dc33a..24610a52ab29 100644 --- a/sdk/python/pulumi_azure_native/containerservice/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/snapshot.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/update_run.py b/sdk/python/pulumi_azure_native/containerservice/update_run.py index b9c678c426e5..014ae2a66914 100644 --- a/sdk/python/pulumi_azure_native/containerservice/update_run.py +++ b/sdk/python/pulumi_azure_native/containerservice/update_run.py @@ -115,7 +115,7 @@ def __init__(__self__, update_run_name: Optional[pulumi.Input[str]] = None, __props__=None): """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. Azure REST API version: 2023-03-15-preview. :param str resource_name: The name of the resource. @@ -135,7 +135,7 @@ def __init__(__self__, args: UpdateRunArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. Azure REST API version: 2023-03-15-preview. :param str resource_name: The name of the resource. @@ -184,7 +184,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20230315preview:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:UpdateRun")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice/v20230315preview:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:UpdateRun")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(UpdateRun, __self__).__init__( 'azure-native:containerservice:UpdateRun', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20190601/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20190601/managed_cluster.py index 30f969263982..99da4aa058f6 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20190601/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20190601/managed_cluster.py @@ -433,7 +433,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20190601:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20200601/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20200601/agent_pool.py index da1d33e089f5..bcc1d4d4c66e 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20200601/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20200601/agent_pool.py @@ -591,7 +591,7 @@ def _internal_init(__self__, __props__.__dict__["vnet_subnet_id"] = vnet_subnet_id __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20200601:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20210201/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20210201/agent_pool.py index 04f40f978b0e..703566e17c1e 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20210201/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20210201/agent_pool.py @@ -713,7 +713,7 @@ def _internal_init(__self__, __props__.__dict__["node_image_version"] = None __props__.__dict__["power_state"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20210201:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20210501/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20210501/managed_cluster.py index cc548b2b5147..4221cea3cdb2 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20210501/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20210501/managed_cluster.py @@ -656,7 +656,7 @@ def _internal_init(__self__, __props__.__dict__["private_fqdn"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20210501:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20210801/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20210801/agent_pool.py index b1202ea146ad..abe534cd7d55 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20210801/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20210801/agent_pool.py @@ -853,7 +853,7 @@ def _internal_init(__self__, __props__.__dict__["node_image_version"] = None __props__.__dict__["power_state"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20210801:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20220402preview/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20220402preview/agent_pool.py index f86f8d414ebe..aca65f2e4dfa 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20220402preview/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20220402preview/agent_pool.py @@ -972,7 +972,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20220402preview:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet.py b/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet.py index 0d9a539144dc..62721ae98104 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:Fleet")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Fleet, __self__).__init__( 'azure-native:containerservice/v20220702preview:Fleet', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet_member.py b/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet_member.py index bde1a427216f..5db716645599 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet_member.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20220702preview/fleet_member.py @@ -152,7 +152,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:FleetMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FleetMember, __self__).__init__( 'azure-native:containerservice/v20220702preview:FleetMember', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/_inputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/_inputs.py index db742b164ac2..5684b5d6f4c6 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/_inputs.py @@ -115,9 +115,8 @@ def __init__(__self__, *, name: pulumi.Input[str]): """ A group to be updated. - :param pulumi.Input[str] name: The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + :param pulumi.Input[str] name: Name of the group. + It must match a group name of an existing fleet member. """ pulumi.set(__self__, "name", name) @@ -125,9 +124,8 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> pulumi.Input[str]: """ - The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + Name of the group. + It must match a group name of an existing fleet member. """ return pulumi.get(self, "name") @@ -141,8 +139,14 @@ class UpdateRunStrategyArgs: def __init__(__self__, *, stages: pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. Min size: 1. """ pulumi.set(__self__, "stages", stages) @@ -150,7 +154,7 @@ def __init__(__self__, *, @pulumi.getter def stages(self) -> pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]: """ - The list of stages that compose this update run. + The list of stages that compose this update run. Min size: 1. """ return pulumi.get(self, "stages") @@ -166,15 +170,10 @@ def __init__(__self__, *, after_stage_wait_in_seconds: Optional[pulumi.Input[int]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]] = None): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. :param pulumi.Input[str] name: The name of the stage. Must be unique within the UpdateRun. :param pulumi.Input[int] after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. - :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ pulumi.set(__self__, "name", name) if after_stage_wait_in_seconds is not None: @@ -210,8 +209,7 @@ def after_stage_wait_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]]: """ - A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ return pulumi.get(self, "groups") diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet.py b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet.py index b181d3d6a388..05bb9a5e8464 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:Fleet")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Fleet, __self__).__init__( 'azure-native:containerservice/v20230315preview:Fleet', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet_member.py b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet_member.py index 03cd07e63a5f..f26e62700c6c 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet_member.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/fleet_member.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:FleetMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FleetMember, __self__).__init__( 'azure-native:containerservice/v20230315preview:FleetMember', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/get_update_run.py b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/get_update_run.py index f9d5c4876632..4600d8ea00b9 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/get_update_run.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/get_update_run.py @@ -20,7 +20,7 @@ @pulumi.output_type class GetUpdateRunResult: """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. """ def __init__(__self__, e_tag=None, id=None, managed_cluster_update=None, name=None, provisioning_state=None, status=None, strategy=None, system_data=None, type=None): if e_tag and not isinstance(e_tag, str): diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/outputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/outputs.py index 2def5f5bca14..a2bde8c7040d 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/outputs.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/outputs.py @@ -513,9 +513,8 @@ def __init__(__self__, *, name: str): """ A group to be updated. - :param str name: The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + :param str name: Name of the group. + It must match a group name of an existing fleet member. """ pulumi.set(__self__, "name", name) @@ -523,9 +522,8 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + Name of the group. + It must match a group name of an existing fleet member. """ return pulumi.get(self, "name") @@ -610,13 +608,25 @@ def status(self) -> 'outputs.UpdateStatusResponse': @pulumi.output_type class UpdateRunStrategyResponse(dict): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. """ def __init__(__self__, *, stages: Sequence['outputs.UpdateStageResponse']): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. Min size: 1. """ pulumi.set(__self__, "stages", stages) @@ -624,7 +634,7 @@ def __init__(__self__, *, @pulumi.getter def stages(self) -> Sequence['outputs.UpdateStageResponse']: """ - The list of stages that compose this update run. + The list of stages that compose this update run. Min size: 1. """ return pulumi.get(self, "stages") @@ -632,11 +642,7 @@ def stages(self) -> Sequence['outputs.UpdateStageResponse']: @pulumi.output_type class UpdateStageResponse(dict): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. """ @staticmethod def __key_warning(key: str): @@ -660,15 +666,10 @@ def __init__(__self__, *, after_stage_wait_in_seconds: Optional[int] = None, groups: Optional[Sequence['outputs.UpdateGroupResponse']] = None): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. :param str name: The name of the stage. Must be unique within the UpdateRun. :param int after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. - :param Sequence['UpdateGroupResponse'] groups: A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + :param Sequence['UpdateGroupResponse'] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ pulumi.set(__self__, "name", name) if after_stage_wait_in_seconds is not None: @@ -696,8 +697,7 @@ def after_stage_wait_in_seconds(self) -> Optional[int]: @pulumi.getter def groups(self) -> Optional[Sequence['outputs.UpdateGroupResponse']]: """ - A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ return pulumi.get(self, "groups") diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/update_run.py b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/update_run.py index ddef87ee5b29..ae1a9391adaa 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230315preview/update_run.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230315preview/update_run.py @@ -115,7 +115,7 @@ def __init__(__self__, update_run_name: Optional[pulumi.Input[str]] = None, __props__=None): """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -134,7 +134,7 @@ def __init__(__self__, args: UpdateRunArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. :param str resource_name: The name of the resource. :param UpdateRunArgs args: The arguments to use to populate this resource's properties. @@ -182,7 +182,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:UpdateRun")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:UpdateRun")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(UpdateRun, __self__).__init__( 'azure-native:containerservice/v20230315preview:UpdateRun', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230401/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230401/agent_pool.py index 432ed001fa68..ea5c3a86c88f 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230401/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230401/agent_pool.py @@ -893,7 +893,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20230401:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230401/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230401/maintenance_configuration.py index 73ed723becda..5344501150bd 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230401/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230401/maintenance_configuration.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice/v20230401:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230401/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230401/managed_cluster.py index 352d0985fe14..2b8068664112 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230401/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230401/managed_cluster.py @@ -798,7 +798,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20230401:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230401/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230401/private_endpoint_connection.py index 122f6004ef27..59e1f9b179b9 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230401/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230401/private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice/v20230401:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230401/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230401/snapshot.py index 42e25ad617e1..8270df4c0ec4 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230401/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230401/snapshot.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice/v20230401:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/agent_pool.py index 397f2cfd0668..91cf92b3f8ea 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/agent_pool.py @@ -993,7 +993,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20230502preview:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/maintenance_configuration.py index 2d84ea65ffe4..844379faad2d 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/maintenance_configuration.py @@ -192,7 +192,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice/v20230502preview:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/managed_cluster.py index a8db21de5266..1de57263b36a 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/managed_cluster.py @@ -938,7 +938,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20230502preview:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/private_endpoint_connection.py index afc012268f34..c954c30c7cfd 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice/v20230502preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/snapshot.py index 8e337411c65b..a9b2b22276ab 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230502preview/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230502preview/snapshot.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice/v20230502preview:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230601/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230601/agent_pool.py index 66fcbd751f16..249e44a1a693 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230601/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230601/agent_pool.py @@ -893,7 +893,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20230601:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230601/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230601/maintenance_configuration.py index 205b8179759f..f50b2230f983 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230601/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230601/maintenance_configuration.py @@ -192,7 +192,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice/v20230601:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230601/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230601/managed_cluster.py index 65bd2192da4d..de73ba117da4 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230601/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230601/managed_cluster.py @@ -798,7 +798,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20230601:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230601/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230601/private_endpoint_connection.py index c2e297a5d1f3..424df2cc9f1d 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230601/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230601/private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice/v20230601:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230601/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230601/snapshot.py index b0787843f179..4ce284a905df 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230601/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230601/snapshot.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice/v20230601:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/agent_pool.py index 3a8e607e23bc..6cf454293400 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/agent_pool.py @@ -1013,7 +1013,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20230602preview:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/maintenance_configuration.py index c646af33caf0..85c99e8259ab 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/maintenance_configuration.py @@ -192,7 +192,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice/v20230602preview:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/managed_cluster.py index 49d770d5f337..b91a7db11cab 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/managed_cluster.py @@ -938,7 +938,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20230602preview:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/private_endpoint_connection.py index 5f39878d8298..2f8adfd9bbaa 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice/v20230602preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/snapshot.py index 04b5b7ce1da1..93d6c44d762c 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230602preview/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230602preview/snapshot.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice/v20230602preview:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/_inputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/_inputs.py index 293914c211ea..7944ead4f6bc 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/_inputs.py @@ -309,9 +309,8 @@ def __init__(__self__, *, name: pulumi.Input[str]): """ A group to be updated. - :param pulumi.Input[str] name: The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + :param pulumi.Input[str] name: Name of the group. + It must match a group name of an existing fleet member. """ pulumi.set(__self__, "name", name) @@ -319,9 +318,8 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> pulumi.Input[str]: """ - The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + Name of the group. + It must match a group name of an existing fleet member. """ return pulumi.get(self, "name") @@ -335,8 +333,14 @@ class UpdateRunStrategyArgs: def __init__(__self__, *, stages: pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. Min size: 1. """ pulumi.set(__self__, "stages", stages) @@ -344,7 +348,7 @@ def __init__(__self__, *, @pulumi.getter def stages(self) -> pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]: """ - The list of stages that compose this update run. + The list of stages that compose this update run. Min size: 1. """ return pulumi.get(self, "stages") @@ -360,15 +364,10 @@ def __init__(__self__, *, after_stage_wait_in_seconds: Optional[pulumi.Input[int]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]] = None): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. :param pulumi.Input[str] name: The name of the stage. Must be unique within the UpdateRun. :param pulumi.Input[int] after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. - :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ pulumi.set(__self__, "name", name) if after_stage_wait_in_seconds is not None: @@ -404,8 +403,7 @@ def after_stage_wait_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]]: """ - A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ return pulumi.get(self, "groups") diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet.py b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet.py index 3cd92c3e3963..f3dbad984858 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet.py @@ -193,7 +193,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:Fleet")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Fleet, __self__).__init__( 'azure-native:containerservice/v20230615preview:Fleet', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet_member.py b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet_member.py index 6eddfcf7160f..84bd39f5dbc5 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet_member.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/fleet_member.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:FleetMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FleetMember, __self__).__init__( 'azure-native:containerservice/v20230615preview:FleetMember', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/get_update_run.py b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/get_update_run.py index ee4496165667..efbc92f3a4d0 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/get_update_run.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/get_update_run.py @@ -20,7 +20,7 @@ @pulumi.output_type class GetUpdateRunResult: """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. """ def __init__(__self__, e_tag=None, id=None, managed_cluster_update=None, name=None, provisioning_state=None, status=None, strategy=None, system_data=None, type=None): if e_tag and not isinstance(e_tag, str): diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/outputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/outputs.py index 6491de24d0fb..f1a986d7fded 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/outputs.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/outputs.py @@ -856,9 +856,8 @@ def __init__(__self__, *, name: str): """ A group to be updated. - :param str name: The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + :param str name: Name of the group. + It must match a group name of an existing fleet member. """ pulumi.set(__self__, "name", name) @@ -866,9 +865,8 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - The name of the Fleet member group to update. - It should match the name of an existing FleetMember group. - A group can only appear once across all UpdateStages in the UpdateRun. + Name of the group. + It must match a group name of an existing fleet member. """ return pulumi.get(self, "name") @@ -981,13 +979,25 @@ def status(self) -> 'outputs.UpdateStatusResponse': @pulumi.output_type class UpdateRunStrategyResponse(dict): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. """ def __init__(__self__, *, stages: Sequence['outputs.UpdateStageResponse']): """ - The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. - :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. Min size: 1. """ pulumi.set(__self__, "stages", stages) @@ -995,7 +1005,7 @@ def __init__(__self__, *, @pulumi.getter def stages(self) -> Sequence['outputs.UpdateStageResponse']: """ - The list of stages that compose this update run. + The list of stages that compose this update run. Min size: 1. """ return pulumi.get(self, "stages") @@ -1003,11 +1013,7 @@ def stages(self) -> Sequence['outputs.UpdateStageResponse']: @pulumi.output_type class UpdateStageResponse(dict): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. """ @staticmethod def __key_warning(key: str): @@ -1031,15 +1037,10 @@ def __init__(__self__, *, after_stage_wait_in_seconds: Optional[int] = None, groups: Optional[Sequence['outputs.UpdateGroupResponse']] = None): """ - Contains the groups to be updated by an UpdateRun. - Update order: - - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts. - - Parallel within a stage: Groups within a stage run in parallel. - - Sequential within a group: Clusters within a group are updated sequentially. + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. :param str name: The name of the stage. Must be unique within the UpdateRun. :param int after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. - :param Sequence['UpdateGroupResponse'] groups: A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + :param Sequence['UpdateGroupResponse'] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ pulumi.set(__self__, "name", name) if after_stage_wait_in_seconds is not None: @@ -1067,8 +1068,7 @@ def after_stage_wait_in_seconds(self) -> Optional[int]: @pulumi.getter def groups(self) -> Optional[Sequence['outputs.UpdateGroupResponse']]: """ - A list of group names that compose the stage. - The groups will be updated in parallel. Each group name can only appear once in the UpdateRun. + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. """ return pulumi.get(self, "groups") diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/update_run.py b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/update_run.py index 26d1cdf28895..43b8d98f1a57 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230615preview/update_run.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230615preview/update_run.py @@ -115,7 +115,7 @@ def __init__(__self__, update_run_name: Optional[pulumi.Input[str]] = None, __props__=None): """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -134,7 +134,7 @@ def __init__(__self__, args: UpdateRunArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. + A multi-stage process to perform update operations across members of a Fleet. :param str resource_name: The name of the resource. :param UpdateRunArgs args: The arguments to use to populate this resource's properties. @@ -182,7 +182,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:UpdateRun")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230815preview:UpdateRun")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(UpdateRun, __self__).__init__( 'azure-native:containerservice/v20230615preview:UpdateRun', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230701/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230701/agent_pool.py index fa07862a5b70..4225f5f2f82c 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230701/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230701/agent_pool.py @@ -893,7 +893,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20230701:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230701/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230701/maintenance_configuration.py index 8c9e41005271..4c8421d5fb58 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230701/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230701/maintenance_configuration.py @@ -192,7 +192,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice/v20230701:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230701/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230701/managed_cluster.py index 776d1c84aa27..0245f9f0f985 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230701/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230701/managed_cluster.py @@ -818,7 +818,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20230701:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230701/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230701/private_endpoint_connection.py index 87c0cdf5a79c..9b7bf932f2a6 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230701/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230701/private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice/v20230701:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230701/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230701/snapshot.py index 91e7f7750e86..f1d06e121aef 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230701/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230701/snapshot.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice/v20230701:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/agent_pool.py index afe6bd291e72..210eaafadc11 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/agent_pool.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/agent_pool.py @@ -1013,7 +1013,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["node_image_version"] = None __props__.__dict__["provisioning_state"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230801:AgentPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AgentPool, __self__).__init__( 'azure-native:containerservice/v20230702preview:AgentPool', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/maintenance_configuration.py index 892857264c36..0eb9b99d9175 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/maintenance_configuration.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/maintenance_configuration.py @@ -192,7 +192,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230801:MaintenanceConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MaintenanceConfiguration, __self__).__init__( 'azure-native:containerservice/v20230702preview:MaintenanceConfiguration', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/managed_cluster.py index 8f089e141764..013e8ef1e751 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/managed_cluster.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/managed_cluster.py @@ -959,7 +959,7 @@ def _internal_init(__self__, __props__.__dict__["resource_uid"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230801:ManagedCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedCluster, __self__).__init__( 'azure-native:containerservice/v20230702preview:ManagedCluster', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/private_endpoint_connection.py index dd647ccf7ca3..42eca30ae673 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/private_endpoint_connection.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230801:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:containerservice/v20230702preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/snapshot.py index 850b1cfa0e11..ccda193ae732 100644 --- a/sdk/python/pulumi_azure_native/containerservice/v20230702preview/snapshot.py +++ b/sdk/python/pulumi_azure_native/containerservice/v20230702preview/snapshot.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_size"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230801:Snapshot")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Snapshot, __self__).__init__( 'azure-native:containerservice/v20230702preview:Snapshot', diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/__init__.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/__init__.py new file mode 100644 index 000000000000..4692fd32422f --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/__init__.py @@ -0,0 +1,23 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .agent_pool import * +from .get_agent_pool import * +from .get_maintenance_configuration import * +from .get_managed_cluster import * +from .get_private_endpoint_connection import * +from .get_snapshot import * +from .list_managed_cluster_admin_credentials import * +from .list_managed_cluster_monitoring_user_credentials import * +from .list_managed_cluster_user_credentials import * +from .maintenance_configuration import * +from .managed_cluster import * +from .private_endpoint_connection import * +from .snapshot import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/_enums.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/_enums.py new file mode 100644 index 000000000000..4162876f6b91 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/_enums.py @@ -0,0 +1,590 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AgentPoolMode', + 'AgentPoolType', + 'Code', + 'ConnectionStatus', + 'Expander', + 'ExtendedLocationTypes', + 'GPUInstanceProfile', + 'IpFamily', + 'IstioIngressGatewayMode', + 'KeyVaultNetworkAccessTypes', + 'KubeletDiskType', + 'KubernetesSupportPlan', + 'LicenseType', + 'LoadBalancerSku', + 'ManagedClusterSKUName', + 'ManagedClusterSKUTier', + 'NetworkDataplane', + 'NetworkMode', + 'NetworkPlugin', + 'NetworkPluginMode', + 'NetworkPolicy', + 'NodeOSUpgradeChannel', + 'OSDiskType', + 'OSSKU', + 'OSType', + 'OutboundType', + 'PublicNetworkAccess', + 'ResourceIdentityType', + 'ScaleDownMode', + 'ScaleSetEvictionPolicy', + 'ScaleSetPriority', + 'ServiceMeshMode', + 'SnapshotType', + 'Type', + 'UpgradeChannel', + 'WeekDay', + 'WorkloadRuntime', +] + + +class AgentPoolMode(str, Enum): + """ + A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + """ + SYSTEM = "System" + """ + System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. + """ + USER = "User" + """ + User agent pools are primarily for hosting your application pods. + """ + + +class AgentPoolType(str, Enum): + """ + The type of Agent Pool. + """ + VIRTUAL_MACHINE_SCALE_SETS = "VirtualMachineScaleSets" + """ + Create an Agent Pool backed by a Virtual Machine Scale Set. + """ + AVAILABILITY_SET = "AvailabilitySet" + """ + Use of this is strongly discouraged. + """ + + +class Code(str, Enum): + """ + Tells whether the cluster is Running or Stopped + """ + RUNNING = "Running" + """ + The cluster is running. + """ + STOPPED = "Stopped" + """ + The cluster is stopped. + """ + + +class ConnectionStatus(str, Enum): + """ + The private link service connection status. + """ + PENDING = "Pending" + APPROVED = "Approved" + REJECTED = "Rejected" + DISCONNECTED = "Disconnected" + + +class Expander(str, Enum): + """ + If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + """ + LEAST_WASTE = "least-waste" + """ + Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. + """ + MOST_PODS = "most-pods" + """ + Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. + """ + PRIORITY = "priority" + """ + Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md). + """ + RANDOM = "random" + """ + Used when you don't have a particular need for the node groups to scale differently. + """ + + +class ExtendedLocationTypes(str, Enum): + """ + The type of the extended location. + """ + EDGE_ZONE = "EdgeZone" + + +class GPUInstanceProfile(str, Enum): + """ + GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + """ + MIG1G = "MIG1g" + MIG2G = "MIG2g" + MIG3G = "MIG3g" + MIG4G = "MIG4g" + MIG7G = "MIG7g" + + +class IpFamily(str, Enum): + """ + The IP version to use for cluster networking and IP assignment. + """ + I_PV4 = "IPv4" + I_PV6 = "IPv6" + + +class IstioIngressGatewayMode(str, Enum): + """ + Mode of an ingress gateway. + """ + EXTERNAL = "External" + """ + The ingress gateway is assigned a public IP address and is publicly accessible. + """ + INTERNAL = "Internal" + """ + The ingress gateway is assigned an internal IP address and cannot is accessed publicly. + """ + + +class KeyVaultNetworkAccessTypes(str, Enum): + """ + Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + """ + PUBLIC = "Public" + PRIVATE = "Private" + + +class KubeletDiskType(str, Enum): + """ + Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + """ + OS = "OS" + """ + Kubelet will use the OS disk for its data. + """ + TEMPORARY = "Temporary" + """ + Kubelet will use the temporary disk for its data. + """ + + +class KubernetesSupportPlan(str, Enum): + """ + The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + """ + KUBERNETES_OFFICIAL = "KubernetesOfficial" + """ + Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. + """ + AKS_LONG_TERM_SUPPORT = "AKSLongTermSupport" + """ + Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. + """ + + +class LicenseType(str, Enum): + """ + The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + """ + NONE = "None" + """ + No additional licensing is applied. + """ + WINDOWS_SERVER = "Windows_Server" + """ + Enables Azure Hybrid User Benefits for Windows VMs. + """ + + +class LoadBalancerSku(str, Enum): + """ + The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + """ + STANDARD = "standard" + """ + Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the [standard Load Balancer](https://docs.microsoft.com/azure/aks/load-balancer-standard) article. + """ + BASIC = "basic" + """ + Use a basic Load Balancer with limited functionality. + """ + + +class ManagedClusterSKUName(str, Enum): + """ + The name of a managed cluster SKU. + """ + BASE = "Base" + """ + Base option for the AKS control plane. + """ + + +class ManagedClusterSKUTier(str, Enum): + """ + If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + """ + PREMIUM = "Premium" + """ + Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. + """ + STANDARD = "Standard" + """ + Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. + """ + FREE = "Free" + """ + The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. + """ + + +class NetworkDataplane(str, Enum): + """ + Network dataplane used in the Kubernetes cluster. + """ + AZURE = "azure" + """ + Use Azure network dataplane. + """ + CILIUM = "cilium" + """ + Use Cilium network dataplane. See [Azure CNI Powered by Cilium](https://learn.microsoft.com/azure/aks/azure-cni-powered-by-cilium) for more information. + """ + + +class NetworkMode(str, Enum): + """ + This cannot be specified if networkPlugin is anything other than 'azure'. + """ + TRANSPARENT = "transparent" + """ + No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See [Transparent Mode](https://docs.microsoft.com/azure/aks/faq#transparent-mode) for more information. + """ + BRIDGE = "bridge" + """ + This is no longer supported + """ + + +class NetworkPlugin(str, Enum): + """ + Network plugin used for building the Kubernetes network. + """ + AZURE = "azure" + """ + Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) for more information. + """ + KUBENET = "kubenet" + """ + Use the Kubenet network plugin. See [Kubenet (basic) networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) for more information. + """ + NONE = "none" + """ + No CNI plugin is pre-installed. See [BYO CNI](https://docs.microsoft.com/en-us/azure/aks/use-byo-cni) for more information. + """ + + +class NetworkPluginMode(str, Enum): + """ + The mode the network plugin should use. + """ + OVERLAY = "overlay" + """ + Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. + """ + + +class NetworkPolicy(str, Enum): + """ + Network policy used for building the Kubernetes network. + """ + CALICO = "calico" + """ + Use Calico network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. + """ + AZURE = "azure" + """ + Use Azure network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. + """ + CILIUM = "cilium" + """ + Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. + """ + + +class NodeOSUpgradeChannel(str, Enum): + """ + Manner in which the OS on your nodes is updated. The default is NodeImage. + """ + NONE = "None" + """ + No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates + """ + UNMANAGED = "Unmanaged" + """ + OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice + """ + NODE_IMAGE = "NodeImage" + """ + AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. + """ + + +class OSDiskType(str, Enum): + """ + The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + """ + MANAGED = "Managed" + """ + Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. + """ + EPHEMERAL = "Ephemeral" + """ + Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. + """ + + +class OSSKU(str, Enum): + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + UBUNTU = "Ubuntu" + """ + Use Ubuntu as the OS for node images. + """ + AZURE_LINUX = "AzureLinux" + """ + Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. + """ + CBL_MARINER = "CBLMariner" + """ + Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. + """ + WINDOWS2019 = "Windows2019" + """ + Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. + """ + WINDOWS2022 = "Windows2022" + """ + Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. + """ + + +class OSType(str, Enum): + """ + The operating system type. The default is Linux. + """ + LINUX = "Linux" + """ + Use Linux. + """ + WINDOWS = "Windows" + """ + Use Windows. + """ + + +class OutboundType(str, Enum): + """ + This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + """ + LOAD_BALANCER = "loadBalancer" + """ + The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see [outbound type loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer). + """ + USER_DEFINED_ROUTING = "userDefinedRouting" + """ + Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see [outbound type userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-userdefinedrouting). + """ + MANAGED_NAT_GATEWAY = "managedNATGateway" + """ + The AKS-managed NAT gateway is used for egress. + """ + USER_ASSIGNED_NAT_GATEWAY = "userAssignedNATGateway" + """ + The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. + """ + + +class PublicNetworkAccess(str, Enum): + """ + Allow or deny public network access for AKS + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class ResourceIdentityType(str, Enum): + """ + For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + """ + SYSTEM_ASSIGNED = "SystemAssigned" + """ + Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. + """ + USER_ASSIGNED = "UserAssigned" + """ + Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. + """ + NONE = "None" + """ + Do not use a managed identity for the Managed Cluster, service principal will be used instead. + """ + + +class ScaleDownMode(str, Enum): + """ + This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + """ + DELETE = "Delete" + """ + Create new instances during scale up and remove instances during scale down. + """ + DEALLOCATE = "Deallocate" + """ + Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. + """ + + +class ScaleSetEvictionPolicy(str, Enum): + """ + This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + """ + DELETE = "Delete" + """ + Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. + """ + DEALLOCATE = "Deallocate" + """ + Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. + """ + + +class ScaleSetPriority(str, Enum): + """ + The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + """ + SPOT = "Spot" + """ + Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information. + """ + REGULAR = "Regular" + """ + Regular VMs will be used. + """ + + +class ServiceMeshMode(str, Enum): + """ + Mode of the service mesh. + """ + ISTIO = "Istio" + """ + Istio deployed as an AKS addon. + """ + DISABLED = "Disabled" + """ + Mesh is disabled. + """ + + +class SnapshotType(str, Enum): + """ + The type of a snapshot. The default is NodePool. + """ + NODE_POOL = "NodePool" + """ + The snapshot is a snapshot of a node pool. + """ + + +class Type(str, Enum): + """ + Specifies on which week of the month the dayOfWeek applies. + """ + FIRST = "First" + """ + First week of the month. + """ + SECOND = "Second" + """ + Second week of the month. + """ + THIRD = "Third" + """ + Third week of the month. + """ + FOURTH = "Fourth" + """ + Fourth week of the month. + """ + LAST = "Last" + """ + Last week of the month. + """ + + +class UpgradeChannel(str, Enum): + """ + For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + """ + RAPID = "rapid" + """ + Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1. + """ + STABLE = "stable" + """ + Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6. + """ + PATCH = "patch" + """ + Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9. + """ + NODE_IMAGE = "node-image" + """ + Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching + """ + NONE = "none" + """ + Disables auto-upgrades and keeps the cluster at its current version of Kubernetes. + """ + + +class WeekDay(str, Enum): + """ + The day of the week. + """ + SUNDAY = "Sunday" + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + + +class WorkloadRuntime(str, Enum): + """ + Determines the type of workload a node can run. + """ + OCI_CONTAINER = "OCIContainer" + """ + Nodes will use Kubelet to run standard OCI container workloads. + """ + WASM_WASI = "WasmWasi" + """ + Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview). + """ diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/_inputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/_inputs.py new file mode 100644 index 000000000000..71de37c9cdf7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/_inputs.py @@ -0,0 +1,5107 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AbsoluteMonthlyScheduleArgs', + 'AgentPoolUpgradeSettingsArgs', + 'AzureKeyVaultKmsArgs', + 'ClusterUpgradeSettingsArgs', + 'ContainerServiceLinuxProfileArgs', + 'ContainerServiceNetworkProfileArgs', + 'ContainerServiceSshConfigurationArgs', + 'ContainerServiceSshPublicKeyArgs', + 'CreationDataArgs', + 'DailyScheduleArgs', + 'DateSpanArgs', + 'DelegatedResourceArgs', + 'ExtendedLocationArgs', + 'IstioCertificateAuthorityArgs', + 'IstioComponentsArgs', + 'IstioEgressGatewayArgs', + 'IstioIngressGatewayArgs', + 'IstioPluginCertificateAuthorityArgs', + 'IstioServiceMeshArgs', + 'KubeletConfigArgs', + 'LinuxOSConfigArgs', + 'MaintenanceWindowArgs', + 'ManagedClusterAADProfileArgs', + 'ManagedClusterAPIServerAccessProfileArgs', + 'ManagedClusterAddonProfileArgs', + 'ManagedClusterAgentPoolProfileArgs', + 'ManagedClusterAutoUpgradeProfileArgs', + 'ManagedClusterAzureMonitorProfileKubeStateMetricsArgs', + 'ManagedClusterAzureMonitorProfileMetricsArgs', + 'ManagedClusterAzureMonitorProfileArgs', + 'ManagedClusterHTTPProxyConfigArgs', + 'ManagedClusterIdentityArgs', + 'ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs', + 'ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs', + 'ManagedClusterLoadBalancerProfileOutboundIPsArgs', + 'ManagedClusterLoadBalancerProfileArgs', + 'ManagedClusterManagedOutboundIPProfileArgs', + 'ManagedClusterNATGatewayProfileArgs', + 'ManagedClusterOIDCIssuerProfileArgs', + 'ManagedClusterPodIdentityExceptionArgs', + 'ManagedClusterPodIdentityProfileArgs', + 'ManagedClusterPodIdentityArgs', + 'ManagedClusterPropertiesAutoScalerProfileArgs', + 'ManagedClusterSKUArgs', + 'ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs', + 'ManagedClusterSecurityProfileDefenderArgs', + 'ManagedClusterSecurityProfileImageCleanerArgs', + 'ManagedClusterSecurityProfileWorkloadIdentityArgs', + 'ManagedClusterSecurityProfileArgs', + 'ManagedClusterServicePrincipalProfileArgs', + 'ManagedClusterStorageProfileBlobCSIDriverArgs', + 'ManagedClusterStorageProfileDiskCSIDriverArgs', + 'ManagedClusterStorageProfileFileCSIDriverArgs', + 'ManagedClusterStorageProfileSnapshotControllerArgs', + 'ManagedClusterStorageProfileArgs', + 'ManagedClusterWindowsProfileArgs', + 'ManagedClusterWorkloadAutoScalerProfileKedaArgs', + 'ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs', + 'ManagedClusterWorkloadAutoScalerProfileArgs', + 'PowerStateArgs', + 'PrivateEndpointArgs', + 'PrivateLinkResourceArgs', + 'PrivateLinkServiceConnectionStateArgs', + 'RelativeMonthlyScheduleArgs', + 'ResourceReferenceArgs', + 'ScheduleArgs', + 'ServiceMeshProfileArgs', + 'SysctlConfigArgs', + 'TimeInWeekArgs', + 'TimeSpanArgs', + 'UpgradeOverrideSettingsArgs', + 'UserAssignedIdentityArgs', + 'WeeklyScheduleArgs', + 'WindowsGmsaProfileArgs', +] + +@pulumi.input_type +class AbsoluteMonthlyScheduleArgs: + def __init__(__self__, *, + day_of_month: pulumi.Input[int], + interval_months: pulumi.Input[int]): + """ + For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + :param pulumi.Input[int] day_of_month: The date of the month. + :param pulumi.Input[int] interval_months: Specifies the number of months between each set of occurrences. + """ + pulumi.set(__self__, "day_of_month", day_of_month) + pulumi.set(__self__, "interval_months", interval_months) + + @property + @pulumi.getter(name="dayOfMonth") + def day_of_month(self) -> pulumi.Input[int]: + """ + The date of the month. + """ + return pulumi.get(self, "day_of_month") + + @day_of_month.setter + def day_of_month(self, value: pulumi.Input[int]): + pulumi.set(self, "day_of_month", value) + + @property + @pulumi.getter(name="intervalMonths") + def interval_months(self) -> pulumi.Input[int]: + """ + Specifies the number of months between each set of occurrences. + """ + return pulumi.get(self, "interval_months") + + @interval_months.setter + def interval_months(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_months", value) + + +@pulumi.input_type +class AgentPoolUpgradeSettingsArgs: + def __init__(__self__, *, + drain_timeout_in_minutes: Optional[pulumi.Input[int]] = None, + max_surge: Optional[pulumi.Input[str]] = None): + """ + Settings for upgrading an agentpool + :param pulumi.Input[int] drain_timeout_in_minutes: The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + :param pulumi.Input[str] max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + """ + if drain_timeout_in_minutes is not None: + pulumi.set(__self__, "drain_timeout_in_minutes", drain_timeout_in_minutes) + if max_surge is not None: + pulumi.set(__self__, "max_surge", max_surge) + + @property + @pulumi.getter(name="drainTimeoutInMinutes") + def drain_timeout_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + """ + return pulumi.get(self, "drain_timeout_in_minutes") + + @drain_timeout_in_minutes.setter + def drain_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "drain_timeout_in_minutes", value) + + @property + @pulumi.getter(name="maxSurge") + def max_surge(self) -> Optional[pulumi.Input[str]]: + """ + This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + """ + return pulumi.get(self, "max_surge") + + @max_surge.setter + def max_surge(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_surge", value) + + +@pulumi.input_type +class AzureKeyVaultKmsArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_vault_network_access: Optional[pulumi.Input[Union[str, 'KeyVaultNetworkAccessTypes']]] = None, + key_vault_resource_id: Optional[pulumi.Input[str]] = None): + """ + Azure Key Vault key management service settings for the security profile. + :param pulumi.Input[bool] enabled: Whether to enable Azure Key Vault key management service. The default is false. + :param pulumi.Input[str] key_id: Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + :param pulumi.Input[Union[str, 'KeyVaultNetworkAccessTypes']] key_vault_network_access: Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + :param pulumi.Input[str] key_vault_resource_id: Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if key_id is not None: + pulumi.set(__self__, "key_id", key_id) + if key_vault_network_access is None: + key_vault_network_access = 'Public' + if key_vault_network_access is not None: + pulumi.set(__self__, "key_vault_network_access", key_vault_network_access) + if key_vault_resource_id is not None: + pulumi.set(__self__, "key_vault_resource_id", key_vault_resource_id) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Azure Key Vault key management service. The default is false. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="keyId") + def key_id(self) -> Optional[pulumi.Input[str]]: + """ + Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + """ + return pulumi.get(self, "key_id") + + @key_id.setter + def key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_id", value) + + @property + @pulumi.getter(name="keyVaultNetworkAccess") + def key_vault_network_access(self) -> Optional[pulumi.Input[Union[str, 'KeyVaultNetworkAccessTypes']]]: + """ + Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + """ + return pulumi.get(self, "key_vault_network_access") + + @key_vault_network_access.setter + def key_vault_network_access(self, value: Optional[pulumi.Input[Union[str, 'KeyVaultNetworkAccessTypes']]]): + pulumi.set(self, "key_vault_network_access", value) + + @property + @pulumi.getter(name="keyVaultResourceId") + def key_vault_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + """ + return pulumi.get(self, "key_vault_resource_id") + + @key_vault_resource_id.setter + def key_vault_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_resource_id", value) + + +@pulumi.input_type +class ClusterUpgradeSettingsArgs: + def __init__(__self__, *, + override_settings: Optional[pulumi.Input['UpgradeOverrideSettingsArgs']] = None): + """ + Settings for upgrading a cluster. + :param pulumi.Input['UpgradeOverrideSettingsArgs'] override_settings: Settings for overrides. + """ + if override_settings is not None: + pulumi.set(__self__, "override_settings", override_settings) + + @property + @pulumi.getter(name="overrideSettings") + def override_settings(self) -> Optional[pulumi.Input['UpgradeOverrideSettingsArgs']]: + """ + Settings for overrides. + """ + return pulumi.get(self, "override_settings") + + @override_settings.setter + def override_settings(self, value: Optional[pulumi.Input['UpgradeOverrideSettingsArgs']]): + pulumi.set(self, "override_settings", value) + + +@pulumi.input_type +class ContainerServiceLinuxProfileArgs: + def __init__(__self__, *, + admin_username: pulumi.Input[str], + ssh: pulumi.Input['ContainerServiceSshConfigurationArgs']): + """ + Profile for Linux VMs in the container service cluster. + :param pulumi.Input[str] admin_username: The administrator username to use for Linux VMs. + :param pulumi.Input['ContainerServiceSshConfigurationArgs'] ssh: The SSH configuration for Linux-based VMs running on Azure. + """ + pulumi.set(__self__, "admin_username", admin_username) + pulumi.set(__self__, "ssh", ssh) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> pulumi.Input[str]: + """ + The administrator username to use for Linux VMs. + """ + return pulumi.get(self, "admin_username") + + @admin_username.setter + def admin_username(self, value: pulumi.Input[str]): + pulumi.set(self, "admin_username", value) + + @property + @pulumi.getter + def ssh(self) -> pulumi.Input['ContainerServiceSshConfigurationArgs']: + """ + The SSH configuration for Linux-based VMs running on Azure. + """ + return pulumi.get(self, "ssh") + + @ssh.setter + def ssh(self, value: pulumi.Input['ContainerServiceSshConfigurationArgs']): + pulumi.set(self, "ssh", value) + + +@pulumi.input_type +class ContainerServiceNetworkProfileArgs: + def __init__(__self__, *, + dns_service_ip: Optional[pulumi.Input[str]] = None, + ip_families: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'IpFamily']]]]] = None, + load_balancer_profile: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileArgs']] = None, + load_balancer_sku: Optional[pulumi.Input[Union[str, 'LoadBalancerSku']]] = None, + nat_gateway_profile: Optional[pulumi.Input['ManagedClusterNATGatewayProfileArgs']] = None, + network_dataplane: Optional[pulumi.Input[Union[str, 'NetworkDataplane']]] = None, + network_mode: Optional[pulumi.Input[Union[str, 'NetworkMode']]] = None, + network_plugin: Optional[pulumi.Input[Union[str, 'NetworkPlugin']]] = None, + network_plugin_mode: Optional[pulumi.Input[Union[str, 'NetworkPluginMode']]] = None, + network_policy: Optional[pulumi.Input[Union[str, 'NetworkPolicy']]] = None, + outbound_type: Optional[pulumi.Input[Union[str, 'OutboundType']]] = None, + pod_cidr: Optional[pulumi.Input[str]] = None, + pod_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_cidr: Optional[pulumi.Input[str]] = None, + service_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Profile of network configuration. + :param pulumi.Input[str] dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'IpFamily']]]] ip_families: IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + :param pulumi.Input['ManagedClusterLoadBalancerProfileArgs'] load_balancer_profile: Profile of the cluster load balancer. + :param pulumi.Input[Union[str, 'LoadBalancerSku']] load_balancer_sku: The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + :param pulumi.Input['ManagedClusterNATGatewayProfileArgs'] nat_gateway_profile: Profile of the cluster NAT gateway. + :param pulumi.Input[Union[str, 'NetworkDataplane']] network_dataplane: Network dataplane used in the Kubernetes cluster. + :param pulumi.Input[Union[str, 'NetworkMode']] network_mode: This cannot be specified if networkPlugin is anything other than 'azure'. + :param pulumi.Input[Union[str, 'NetworkPlugin']] network_plugin: Network plugin used for building the Kubernetes network. + :param pulumi.Input[Union[str, 'NetworkPluginMode']] network_plugin_mode: The mode the network plugin should use. + :param pulumi.Input[Union[str, 'NetworkPolicy']] network_policy: Network policy used for building the Kubernetes network. + :param pulumi.Input[Union[str, 'OutboundType']] outbound_type: This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + :param pulumi.Input[str] pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pod_cidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + :param pulumi.Input[str] service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + :param pulumi.Input[Sequence[pulumi.Input[str]]] service_cidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + """ + if dns_service_ip is None: + dns_service_ip = '10.0.0.10' + if dns_service_ip is not None: + pulumi.set(__self__, "dns_service_ip", dns_service_ip) + if ip_families is not None: + pulumi.set(__self__, "ip_families", ip_families) + if load_balancer_profile is not None: + pulumi.set(__self__, "load_balancer_profile", load_balancer_profile) + if load_balancer_sku is not None: + pulumi.set(__self__, "load_balancer_sku", load_balancer_sku) + if nat_gateway_profile is not None: + pulumi.set(__self__, "nat_gateway_profile", nat_gateway_profile) + if network_dataplane is not None: + pulumi.set(__self__, "network_dataplane", network_dataplane) + if network_mode is not None: + pulumi.set(__self__, "network_mode", network_mode) + if network_plugin is None: + network_plugin = 'kubenet' + if network_plugin is not None: + pulumi.set(__self__, "network_plugin", network_plugin) + if network_plugin_mode is not None: + pulumi.set(__self__, "network_plugin_mode", network_plugin_mode) + if network_policy is not None: + pulumi.set(__self__, "network_policy", network_policy) + if outbound_type is None: + outbound_type = 'loadBalancer' + if outbound_type is not None: + pulumi.set(__self__, "outbound_type", outbound_type) + if pod_cidr is None: + pod_cidr = '10.244.0.0/16' + if pod_cidr is not None: + pulumi.set(__self__, "pod_cidr", pod_cidr) + if pod_cidrs is not None: + pulumi.set(__self__, "pod_cidrs", pod_cidrs) + if service_cidr is None: + service_cidr = '10.0.0.0/16' + if service_cidr is not None: + pulumi.set(__self__, "service_cidr", service_cidr) + if service_cidrs is not None: + pulumi.set(__self__, "service_cidrs", service_cidrs) + + @property + @pulumi.getter(name="dnsServiceIP") + def dns_service_ip(self) -> Optional[pulumi.Input[str]]: + """ + An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + """ + return pulumi.get(self, "dns_service_ip") + + @dns_service_ip.setter + def dns_service_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dns_service_ip", value) + + @property + @pulumi.getter(name="ipFamilies") + def ip_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'IpFamily']]]]]: + """ + IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + """ + return pulumi.get(self, "ip_families") + + @ip_families.setter + def ip_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'IpFamily']]]]]): + pulumi.set(self, "ip_families", value) + + @property + @pulumi.getter(name="loadBalancerProfile") + def load_balancer_profile(self) -> Optional[pulumi.Input['ManagedClusterLoadBalancerProfileArgs']]: + """ + Profile of the cluster load balancer. + """ + return pulumi.get(self, "load_balancer_profile") + + @load_balancer_profile.setter + def load_balancer_profile(self, value: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileArgs']]): + pulumi.set(self, "load_balancer_profile", value) + + @property + @pulumi.getter(name="loadBalancerSku") + def load_balancer_sku(self) -> Optional[pulumi.Input[Union[str, 'LoadBalancerSku']]]: + """ + The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + """ + return pulumi.get(self, "load_balancer_sku") + + @load_balancer_sku.setter + def load_balancer_sku(self, value: Optional[pulumi.Input[Union[str, 'LoadBalancerSku']]]): + pulumi.set(self, "load_balancer_sku", value) + + @property + @pulumi.getter(name="natGatewayProfile") + def nat_gateway_profile(self) -> Optional[pulumi.Input['ManagedClusterNATGatewayProfileArgs']]: + """ + Profile of the cluster NAT gateway. + """ + return pulumi.get(self, "nat_gateway_profile") + + @nat_gateway_profile.setter + def nat_gateway_profile(self, value: Optional[pulumi.Input['ManagedClusterNATGatewayProfileArgs']]): + pulumi.set(self, "nat_gateway_profile", value) + + @property + @pulumi.getter(name="networkDataplane") + def network_dataplane(self) -> Optional[pulumi.Input[Union[str, 'NetworkDataplane']]]: + """ + Network dataplane used in the Kubernetes cluster. + """ + return pulumi.get(self, "network_dataplane") + + @network_dataplane.setter + def network_dataplane(self, value: Optional[pulumi.Input[Union[str, 'NetworkDataplane']]]): + pulumi.set(self, "network_dataplane", value) + + @property + @pulumi.getter(name="networkMode") + def network_mode(self) -> Optional[pulumi.Input[Union[str, 'NetworkMode']]]: + """ + This cannot be specified if networkPlugin is anything other than 'azure'. + """ + return pulumi.get(self, "network_mode") + + @network_mode.setter + def network_mode(self, value: Optional[pulumi.Input[Union[str, 'NetworkMode']]]): + pulumi.set(self, "network_mode", value) + + @property + @pulumi.getter(name="networkPlugin") + def network_plugin(self) -> Optional[pulumi.Input[Union[str, 'NetworkPlugin']]]: + """ + Network plugin used for building the Kubernetes network. + """ + return pulumi.get(self, "network_plugin") + + @network_plugin.setter + def network_plugin(self, value: Optional[pulumi.Input[Union[str, 'NetworkPlugin']]]): + pulumi.set(self, "network_plugin", value) + + @property + @pulumi.getter(name="networkPluginMode") + def network_plugin_mode(self) -> Optional[pulumi.Input[Union[str, 'NetworkPluginMode']]]: + """ + The mode the network plugin should use. + """ + return pulumi.get(self, "network_plugin_mode") + + @network_plugin_mode.setter + def network_plugin_mode(self, value: Optional[pulumi.Input[Union[str, 'NetworkPluginMode']]]): + pulumi.set(self, "network_plugin_mode", value) + + @property + @pulumi.getter(name="networkPolicy") + def network_policy(self) -> Optional[pulumi.Input[Union[str, 'NetworkPolicy']]]: + """ + Network policy used for building the Kubernetes network. + """ + return pulumi.get(self, "network_policy") + + @network_policy.setter + def network_policy(self, value: Optional[pulumi.Input[Union[str, 'NetworkPolicy']]]): + pulumi.set(self, "network_policy", value) + + @property + @pulumi.getter(name="outboundType") + def outbound_type(self) -> Optional[pulumi.Input[Union[str, 'OutboundType']]]: + """ + This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + """ + return pulumi.get(self, "outbound_type") + + @outbound_type.setter + def outbound_type(self, value: Optional[pulumi.Input[Union[str, 'OutboundType']]]): + pulumi.set(self, "outbound_type", value) + + @property + @pulumi.getter(name="podCidr") + def pod_cidr(self) -> Optional[pulumi.Input[str]]: + """ + A CIDR notation IP range from which to assign pod IPs when kubenet is used. + """ + return pulumi.get(self, "pod_cidr") + + @pod_cidr.setter + def pod_cidr(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pod_cidr", value) + + @property + @pulumi.getter(name="podCidrs") + def pod_cidrs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + """ + return pulumi.get(self, "pod_cidrs") + + @pod_cidrs.setter + def pod_cidrs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pod_cidrs", value) + + @property + @pulumi.getter(name="serviceCidr") + def service_cidr(self) -> Optional[pulumi.Input[str]]: + """ + A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + """ + return pulumi.get(self, "service_cidr") + + @service_cidr.setter + def service_cidr(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_cidr", value) + + @property + @pulumi.getter(name="serviceCidrs") + def service_cidrs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + """ + return pulumi.get(self, "service_cidrs") + + @service_cidrs.setter + def service_cidrs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "service_cidrs", value) + + +@pulumi.input_type +class ContainerServiceSshConfigurationArgs: + def __init__(__self__, *, + public_keys: pulumi.Input[Sequence[pulumi.Input['ContainerServiceSshPublicKeyArgs']]]): + """ + SSH configuration for Linux-based VMs running on Azure. + :param pulumi.Input[Sequence[pulumi.Input['ContainerServiceSshPublicKeyArgs']]] public_keys: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + """ + pulumi.set(__self__, "public_keys", public_keys) + + @property + @pulumi.getter(name="publicKeys") + def public_keys(self) -> pulumi.Input[Sequence[pulumi.Input['ContainerServiceSshPublicKeyArgs']]]: + """ + The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + """ + return pulumi.get(self, "public_keys") + + @public_keys.setter + def public_keys(self, value: pulumi.Input[Sequence[pulumi.Input['ContainerServiceSshPublicKeyArgs']]]): + pulumi.set(self, "public_keys", value) + + +@pulumi.input_type +class ContainerServiceSshPublicKeyArgs: + def __init__(__self__, *, + key_data: pulumi.Input[str]): + """ + Contains information about SSH certificate public key data. + :param pulumi.Input[str] key_data: Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + """ + pulumi.set(__self__, "key_data", key_data) + + @property + @pulumi.getter(name="keyData") + def key_data(self) -> pulumi.Input[str]: + """ + Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + """ + return pulumi.get(self, "key_data") + + @key_data.setter + def key_data(self, value: pulumi.Input[str]): + pulumi.set(self, "key_data", value) + + +@pulumi.input_type +class CreationDataArgs: + def __init__(__self__, *, + source_resource_id: Optional[pulumi.Input[str]] = None): + """ + Data used when creating a target resource from a source resource. + :param pulumi.Input[str] source_resource_id: This is the ARM ID of the source object to be used to create the target object. + """ + if source_resource_id is not None: + pulumi.set(__self__, "source_resource_id", source_resource_id) + + @property + @pulumi.getter(name="sourceResourceId") + def source_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + This is the ARM ID of the source object to be used to create the target object. + """ + return pulumi.get(self, "source_resource_id") + + @source_resource_id.setter + def source_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_resource_id", value) + + +@pulumi.input_type +class DailyScheduleArgs: + def __init__(__self__, *, + interval_days: pulumi.Input[int]): + """ + For schedules like: 'recur every day' or 'recur every 3 days'. + :param pulumi.Input[int] interval_days: Specifies the number of days between each set of occurrences. + """ + pulumi.set(__self__, "interval_days", interval_days) + + @property + @pulumi.getter(name="intervalDays") + def interval_days(self) -> pulumi.Input[int]: + """ + Specifies the number of days between each set of occurrences. + """ + return pulumi.get(self, "interval_days") + + @interval_days.setter + def interval_days(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_days", value) + + +@pulumi.input_type +class DateSpanArgs: + def __init__(__self__, *, + end: pulumi.Input[str], + start: pulumi.Input[str]): + """ + For example, between '2022-12-23' and '2023-01-05'. + :param pulumi.Input[str] end: The end date of the date span. + :param pulumi.Input[str] start: The start date of the date span. + """ + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> pulumi.Input[str]: + """ + The end date of the date span. + """ + return pulumi.get(self, "end") + + @end.setter + def end(self, value: pulumi.Input[str]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter + def start(self) -> pulumi.Input[str]: + """ + The start date of the date span. + """ + return pulumi.get(self, "start") + + @start.setter + def start(self, value: pulumi.Input[str]): + pulumi.set(self, "start", value) + + +@pulumi.input_type +class DelegatedResourceArgs: + def __init__(__self__, *, + location: Optional[pulumi.Input[str]] = None, + referral_resource: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + Delegated resource properties - internal use only. + :param pulumi.Input[str] location: The source resource location - internal use only. + :param pulumi.Input[str] referral_resource: The delegation id of the referral delegation (optional) - internal use only. + :param pulumi.Input[str] resource_id: The ARM resource id of the delegated resource - internal use only. + :param pulumi.Input[str] tenant_id: The tenant id of the delegated resource - internal use only. + """ + if location is not None: + pulumi.set(__self__, "location", location) + if referral_resource is not None: + pulumi.set(__self__, "referral_resource", referral_resource) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The source resource location - internal use only. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="referralResource") + def referral_resource(self) -> Optional[pulumi.Input[str]]: + """ + The delegation id of the referral delegation (optional) - internal use only. + """ + return pulumi.get(self, "referral_resource") + + @referral_resource.setter + def referral_resource(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "referral_resource", value) + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM resource id of the delegated resource - internal use only. + """ + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_id", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The tenant id of the delegated resource - internal use only. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +@pulumi.input_type +class ExtendedLocationArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ExtendedLocationTypes']]] = None): + """ + The complex type of the extended location. + :param pulumi.Input[str] name: The name of the extended location. + :param pulumi.Input[Union[str, 'ExtendedLocationTypes']] type: The type of the extended location. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the extended location. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ExtendedLocationTypes']]]: + """ + The type of the extended location. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ExtendedLocationTypes']]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class IstioCertificateAuthorityArgs: + def __init__(__self__, *, + plugin: Optional[pulumi.Input['IstioPluginCertificateAuthorityArgs']] = None): + """ + Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + :param pulumi.Input['IstioPluginCertificateAuthorityArgs'] plugin: Plugin certificates information for Service Mesh. + """ + if plugin is not None: + pulumi.set(__self__, "plugin", plugin) + + @property + @pulumi.getter + def plugin(self) -> Optional[pulumi.Input['IstioPluginCertificateAuthorityArgs']]: + """ + Plugin certificates information for Service Mesh. + """ + return pulumi.get(self, "plugin") + + @plugin.setter + def plugin(self, value: Optional[pulumi.Input['IstioPluginCertificateAuthorityArgs']]): + pulumi.set(self, "plugin", value) + + +@pulumi.input_type +class IstioComponentsArgs: + def __init__(__self__, *, + egress_gateways: Optional[pulumi.Input[Sequence[pulumi.Input['IstioEgressGatewayArgs']]]] = None, + ingress_gateways: Optional[pulumi.Input[Sequence[pulumi.Input['IstioIngressGatewayArgs']]]] = None): + """ + Istio components configuration. + :param pulumi.Input[Sequence[pulumi.Input['IstioEgressGatewayArgs']]] egress_gateways: Istio egress gateways. + :param pulumi.Input[Sequence[pulumi.Input['IstioIngressGatewayArgs']]] ingress_gateways: Istio ingress gateways. + """ + if egress_gateways is not None: + pulumi.set(__self__, "egress_gateways", egress_gateways) + if ingress_gateways is not None: + pulumi.set(__self__, "ingress_gateways", ingress_gateways) + + @property + @pulumi.getter(name="egressGateways") + def egress_gateways(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IstioEgressGatewayArgs']]]]: + """ + Istio egress gateways. + """ + return pulumi.get(self, "egress_gateways") + + @egress_gateways.setter + def egress_gateways(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IstioEgressGatewayArgs']]]]): + pulumi.set(self, "egress_gateways", value) + + @property + @pulumi.getter(name="ingressGateways") + def ingress_gateways(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IstioIngressGatewayArgs']]]]: + """ + Istio ingress gateways. + """ + return pulumi.get(self, "ingress_gateways") + + @ingress_gateways.setter + def ingress_gateways(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IstioIngressGatewayArgs']]]]): + pulumi.set(self, "ingress_gateways", value) + + +@pulumi.input_type +class IstioEgressGatewayArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + node_selector: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + Istio egress gateway configuration. + :param pulumi.Input[bool] enabled: Whether to enable the egress gateway. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_selector: NodeSelector for scheduling the egress gateway. + """ + pulumi.set(__self__, "enabled", enabled) + if node_selector is not None: + pulumi.set(__self__, "node_selector", node_selector) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Whether to enable the egress gateway. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="nodeSelector") + def node_selector(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + NodeSelector for scheduling the egress gateway. + """ + return pulumi.get(self, "node_selector") + + @node_selector.setter + def node_selector(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "node_selector", value) + + +@pulumi.input_type +class IstioIngressGatewayArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + mode: pulumi.Input[Union[str, 'IstioIngressGatewayMode']]): + """ + Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + :param pulumi.Input[bool] enabled: Whether to enable the ingress gateway. + :param pulumi.Input[Union[str, 'IstioIngressGatewayMode']] mode: Mode of an ingress gateway. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Whether to enable the ingress gateway. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def mode(self) -> pulumi.Input[Union[str, 'IstioIngressGatewayMode']]: + """ + Mode of an ingress gateway. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: pulumi.Input[Union[str, 'IstioIngressGatewayMode']]): + pulumi.set(self, "mode", value) + + +@pulumi.input_type +class IstioPluginCertificateAuthorityArgs: + def __init__(__self__, *, + cert_chain_object_name: Optional[pulumi.Input[str]] = None, + cert_object_name: Optional[pulumi.Input[str]] = None, + key_object_name: Optional[pulumi.Input[str]] = None, + key_vault_id: Optional[pulumi.Input[str]] = None, + root_cert_object_name: Optional[pulumi.Input[str]] = None): + """ + Plugin certificates information for Service Mesh. + :param pulumi.Input[str] cert_chain_object_name: Certificate chain object name in Azure Key Vault. + :param pulumi.Input[str] cert_object_name: Intermediate certificate object name in Azure Key Vault. + :param pulumi.Input[str] key_object_name: Intermediate certificate private key object name in Azure Key Vault. + :param pulumi.Input[str] key_vault_id: The resource ID of the Key Vault. + :param pulumi.Input[str] root_cert_object_name: Root certificate object name in Azure Key Vault. + """ + if cert_chain_object_name is not None: + pulumi.set(__self__, "cert_chain_object_name", cert_chain_object_name) + if cert_object_name is not None: + pulumi.set(__self__, "cert_object_name", cert_object_name) + if key_object_name is not None: + pulumi.set(__self__, "key_object_name", key_object_name) + if key_vault_id is not None: + pulumi.set(__self__, "key_vault_id", key_vault_id) + if root_cert_object_name is not None: + pulumi.set(__self__, "root_cert_object_name", root_cert_object_name) + + @property + @pulumi.getter(name="certChainObjectName") + def cert_chain_object_name(self) -> Optional[pulumi.Input[str]]: + """ + Certificate chain object name in Azure Key Vault. + """ + return pulumi.get(self, "cert_chain_object_name") + + @cert_chain_object_name.setter + def cert_chain_object_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cert_chain_object_name", value) + + @property + @pulumi.getter(name="certObjectName") + def cert_object_name(self) -> Optional[pulumi.Input[str]]: + """ + Intermediate certificate object name in Azure Key Vault. + """ + return pulumi.get(self, "cert_object_name") + + @cert_object_name.setter + def cert_object_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cert_object_name", value) + + @property + @pulumi.getter(name="keyObjectName") + def key_object_name(self) -> Optional[pulumi.Input[str]]: + """ + Intermediate certificate private key object name in Azure Key Vault. + """ + return pulumi.get(self, "key_object_name") + + @key_object_name.setter + def key_object_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_object_name", value) + + @property + @pulumi.getter(name="keyVaultId") + def key_vault_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of the Key Vault. + """ + return pulumi.get(self, "key_vault_id") + + @key_vault_id.setter + def key_vault_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_id", value) + + @property + @pulumi.getter(name="rootCertObjectName") + def root_cert_object_name(self) -> Optional[pulumi.Input[str]]: + """ + Root certificate object name in Azure Key Vault. + """ + return pulumi.get(self, "root_cert_object_name") + + @root_cert_object_name.setter + def root_cert_object_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "root_cert_object_name", value) + + +@pulumi.input_type +class IstioServiceMeshArgs: + def __init__(__self__, *, + certificate_authority: Optional[pulumi.Input['IstioCertificateAuthorityArgs']] = None, + components: Optional[pulumi.Input['IstioComponentsArgs']] = None, + revisions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Istio service mesh configuration. + :param pulumi.Input['IstioCertificateAuthorityArgs'] certificate_authority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + :param pulumi.Input['IstioComponentsArgs'] components: Istio components configuration. + :param pulumi.Input[Sequence[pulumi.Input[str]]] revisions: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + """ + if certificate_authority is not None: + pulumi.set(__self__, "certificate_authority", certificate_authority) + if components is not None: + pulumi.set(__self__, "components", components) + if revisions is not None: + pulumi.set(__self__, "revisions", revisions) + + @property + @pulumi.getter(name="certificateAuthority") + def certificate_authority(self) -> Optional[pulumi.Input['IstioCertificateAuthorityArgs']]: + """ + Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + """ + return pulumi.get(self, "certificate_authority") + + @certificate_authority.setter + def certificate_authority(self, value: Optional[pulumi.Input['IstioCertificateAuthorityArgs']]): + pulumi.set(self, "certificate_authority", value) + + @property + @pulumi.getter + def components(self) -> Optional[pulumi.Input['IstioComponentsArgs']]: + """ + Istio components configuration. + """ + return pulumi.get(self, "components") + + @components.setter + def components(self, value: Optional[pulumi.Input['IstioComponentsArgs']]): + pulumi.set(self, "components", value) + + @property + @pulumi.getter + def revisions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + """ + return pulumi.get(self, "revisions") + + @revisions.setter + def revisions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "revisions", value) + + +@pulumi.input_type +class KubeletConfigArgs: + def __init__(__self__, *, + allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + container_log_max_files: Optional[pulumi.Input[int]] = None, + container_log_max_size_mb: Optional[pulumi.Input[int]] = None, + cpu_cfs_quota: Optional[pulumi.Input[bool]] = None, + cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None, + cpu_manager_policy: Optional[pulumi.Input[str]] = None, + fail_swap_on: Optional[pulumi.Input[bool]] = None, + image_gc_high_threshold: Optional[pulumi.Input[int]] = None, + image_gc_low_threshold: Optional[pulumi.Input[int]] = None, + pod_max_pids: Optional[pulumi.Input[int]] = None, + topology_manager_policy: Optional[pulumi.Input[str]] = None): + """ + See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_unsafe_sysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + :param pulumi.Input[int] container_log_max_files: The maximum number of container log files that can be present for a container. The number must be ≥ 2. + :param pulumi.Input[int] container_log_max_size_mb: The maximum size (e.g. 10Mi) of container log file before it is rotated. + :param pulumi.Input[bool] cpu_cfs_quota: The default is true. + :param pulumi.Input[str] cpu_cfs_quota_period: The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + :param pulumi.Input[str] cpu_manager_policy: The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + :param pulumi.Input[bool] fail_swap_on: If set to true it will make the Kubelet fail to start if swap is enabled on the node. + :param pulumi.Input[int] image_gc_high_threshold: To disable image garbage collection, set to 100. The default is 85% + :param pulumi.Input[int] image_gc_low_threshold: This cannot be set higher than imageGcHighThreshold. The default is 80% + :param pulumi.Input[int] pod_max_pids: The maximum number of processes per pod. + :param pulumi.Input[str] topology_manager_policy: For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + """ + if allowed_unsafe_sysctls is not None: + pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls) + if container_log_max_files is not None: + pulumi.set(__self__, "container_log_max_files", container_log_max_files) + if container_log_max_size_mb is not None: + pulumi.set(__self__, "container_log_max_size_mb", container_log_max_size_mb) + if cpu_cfs_quota is not None: + pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota) + if cpu_cfs_quota_period is not None: + pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period) + if cpu_manager_policy is not None: + pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy) + if fail_swap_on is not None: + pulumi.set(__self__, "fail_swap_on", fail_swap_on) + if image_gc_high_threshold is not None: + pulumi.set(__self__, "image_gc_high_threshold", image_gc_high_threshold) + if image_gc_low_threshold is not None: + pulumi.set(__self__, "image_gc_low_threshold", image_gc_low_threshold) + if pod_max_pids is not None: + pulumi.set(__self__, "pod_max_pids", pod_max_pids) + if topology_manager_policy is not None: + pulumi.set(__self__, "topology_manager_policy", topology_manager_policy) + + @property + @pulumi.getter(name="allowedUnsafeSysctls") + def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + """ + return pulumi.get(self, "allowed_unsafe_sysctls") + + @allowed_unsafe_sysctls.setter + def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "allowed_unsafe_sysctls", value) + + @property + @pulumi.getter(name="containerLogMaxFiles") + def container_log_max_files(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of container log files that can be present for a container. The number must be ≥ 2. + """ + return pulumi.get(self, "container_log_max_files") + + @container_log_max_files.setter + def container_log_max_files(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "container_log_max_files", value) + + @property + @pulumi.getter(name="containerLogMaxSizeMB") + def container_log_max_size_mb(self) -> Optional[pulumi.Input[int]]: + """ + The maximum size (e.g. 10Mi) of container log file before it is rotated. + """ + return pulumi.get(self, "container_log_max_size_mb") + + @container_log_max_size_mb.setter + def container_log_max_size_mb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "container_log_max_size_mb", value) + + @property + @pulumi.getter(name="cpuCfsQuota") + def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]: + """ + The default is true. + """ + return pulumi.get(self, "cpu_cfs_quota") + + @cpu_cfs_quota.setter + def cpu_cfs_quota(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "cpu_cfs_quota", value) + + @property + @pulumi.getter(name="cpuCfsQuotaPeriod") + def cpu_cfs_quota_period(self) -> Optional[pulumi.Input[str]]: + """ + The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + """ + return pulumi.get(self, "cpu_cfs_quota_period") + + @cpu_cfs_quota_period.setter + def cpu_cfs_quota_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cpu_cfs_quota_period", value) + + @property + @pulumi.getter(name="cpuManagerPolicy") + def cpu_manager_policy(self) -> Optional[pulumi.Input[str]]: + """ + The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + """ + return pulumi.get(self, "cpu_manager_policy") + + @cpu_manager_policy.setter + def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cpu_manager_policy", value) + + @property + @pulumi.getter(name="failSwapOn") + def fail_swap_on(self) -> Optional[pulumi.Input[bool]]: + """ + If set to true it will make the Kubelet fail to start if swap is enabled on the node. + """ + return pulumi.get(self, "fail_swap_on") + + @fail_swap_on.setter + def fail_swap_on(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "fail_swap_on", value) + + @property + @pulumi.getter(name="imageGcHighThreshold") + def image_gc_high_threshold(self) -> Optional[pulumi.Input[int]]: + """ + To disable image garbage collection, set to 100. The default is 85% + """ + return pulumi.get(self, "image_gc_high_threshold") + + @image_gc_high_threshold.setter + def image_gc_high_threshold(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "image_gc_high_threshold", value) + + @property + @pulumi.getter(name="imageGcLowThreshold") + def image_gc_low_threshold(self) -> Optional[pulumi.Input[int]]: + """ + This cannot be set higher than imageGcHighThreshold. The default is 80% + """ + return pulumi.get(self, "image_gc_low_threshold") + + @image_gc_low_threshold.setter + def image_gc_low_threshold(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "image_gc_low_threshold", value) + + @property + @pulumi.getter(name="podMaxPids") + def pod_max_pids(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of processes per pod. + """ + return pulumi.get(self, "pod_max_pids") + + @pod_max_pids.setter + def pod_max_pids(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "pod_max_pids", value) + + @property + @pulumi.getter(name="topologyManagerPolicy") + def topology_manager_policy(self) -> Optional[pulumi.Input[str]]: + """ + For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + """ + return pulumi.get(self, "topology_manager_policy") + + @topology_manager_policy.setter + def topology_manager_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "topology_manager_policy", value) + + +@pulumi.input_type +class LinuxOSConfigArgs: + def __init__(__self__, *, + swap_file_size_mb: Optional[pulumi.Input[int]] = None, + sysctls: Optional[pulumi.Input['SysctlConfigArgs']] = None, + transparent_huge_page_defrag: Optional[pulumi.Input[str]] = None, + transparent_huge_page_enabled: Optional[pulumi.Input[str]] = None): + """ + See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + :param pulumi.Input[int] swap_file_size_mb: The size in MB of a swap file that will be created on each node. + :param pulumi.Input['SysctlConfigArgs'] sysctls: Sysctl settings for Linux agent nodes. + :param pulumi.Input[str] transparent_huge_page_defrag: Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + :param pulumi.Input[str] transparent_huge_page_enabled: Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + """ + if swap_file_size_mb is not None: + pulumi.set(__self__, "swap_file_size_mb", swap_file_size_mb) + if sysctls is not None: + pulumi.set(__self__, "sysctls", sysctls) + if transparent_huge_page_defrag is not None: + pulumi.set(__self__, "transparent_huge_page_defrag", transparent_huge_page_defrag) + if transparent_huge_page_enabled is not None: + pulumi.set(__self__, "transparent_huge_page_enabled", transparent_huge_page_enabled) + + @property + @pulumi.getter(name="swapFileSizeMB") + def swap_file_size_mb(self) -> Optional[pulumi.Input[int]]: + """ + The size in MB of a swap file that will be created on each node. + """ + return pulumi.get(self, "swap_file_size_mb") + + @swap_file_size_mb.setter + def swap_file_size_mb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "swap_file_size_mb", value) + + @property + @pulumi.getter + def sysctls(self) -> Optional[pulumi.Input['SysctlConfigArgs']]: + """ + Sysctl settings for Linux agent nodes. + """ + return pulumi.get(self, "sysctls") + + @sysctls.setter + def sysctls(self, value: Optional[pulumi.Input['SysctlConfigArgs']]): + pulumi.set(self, "sysctls", value) + + @property + @pulumi.getter(name="transparentHugePageDefrag") + def transparent_huge_page_defrag(self) -> Optional[pulumi.Input[str]]: + """ + Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + """ + return pulumi.get(self, "transparent_huge_page_defrag") + + @transparent_huge_page_defrag.setter + def transparent_huge_page_defrag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "transparent_huge_page_defrag", value) + + @property + @pulumi.getter(name="transparentHugePageEnabled") + def transparent_huge_page_enabled(self) -> Optional[pulumi.Input[str]]: + """ + Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + """ + return pulumi.get(self, "transparent_huge_page_enabled") + + @transparent_huge_page_enabled.setter + def transparent_huge_page_enabled(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "transparent_huge_page_enabled", value) + + +@pulumi.input_type +class MaintenanceWindowArgs: + def __init__(__self__, *, + duration_hours: Optional[pulumi.Input[int]] = None, + schedule: pulumi.Input['ScheduleArgs'], + start_time: pulumi.Input[str], + not_allowed_dates: Optional[pulumi.Input[Sequence[pulumi.Input['DateSpanArgs']]]] = None, + start_date: Optional[pulumi.Input[str]] = None, + utc_offset: Optional[pulumi.Input[str]] = None): + """ + Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. + :param pulumi.Input[int] duration_hours: Length of maintenance window range from 4 to 24 hours. + :param pulumi.Input['ScheduleArgs'] schedule: Recurrence schedule for the maintenance window. + :param pulumi.Input[str] start_time: The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + :param pulumi.Input[Sequence[pulumi.Input['DateSpanArgs']]] not_allowed_dates: Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + :param pulumi.Input[str] start_date: The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + :param pulumi.Input[str] utc_offset: The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + """ + if duration_hours is None: + duration_hours = 24 + pulumi.set(__self__, "duration_hours", duration_hours) + pulumi.set(__self__, "schedule", schedule) + pulumi.set(__self__, "start_time", start_time) + if not_allowed_dates is not None: + pulumi.set(__self__, "not_allowed_dates", not_allowed_dates) + if start_date is not None: + pulumi.set(__self__, "start_date", start_date) + if utc_offset is not None: + pulumi.set(__self__, "utc_offset", utc_offset) + + @property + @pulumi.getter(name="durationHours") + def duration_hours(self) -> pulumi.Input[int]: + """ + Length of maintenance window range from 4 to 24 hours. + """ + return pulumi.get(self, "duration_hours") + + @duration_hours.setter + def duration_hours(self, value: pulumi.Input[int]): + pulumi.set(self, "duration_hours", value) + + @property + @pulumi.getter + def schedule(self) -> pulumi.Input['ScheduleArgs']: + """ + Recurrence schedule for the maintenance window. + """ + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: pulumi.Input['ScheduleArgs']): + pulumi.set(self, "schedule", value) + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> pulumi.Input[str]: + """ + The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + """ + return pulumi.get(self, "start_time") + + @start_time.setter + def start_time(self, value: pulumi.Input[str]): + pulumi.set(self, "start_time", value) + + @property + @pulumi.getter(name="notAllowedDates") + def not_allowed_dates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DateSpanArgs']]]]: + """ + Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + """ + return pulumi.get(self, "not_allowed_dates") + + @not_allowed_dates.setter + def not_allowed_dates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DateSpanArgs']]]]): + pulumi.set(self, "not_allowed_dates", value) + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> Optional[pulumi.Input[str]]: + """ + The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + """ + return pulumi.get(self, "start_date") + + @start_date.setter + def start_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start_date", value) + + @property + @pulumi.getter(name="utcOffset") + def utc_offset(self) -> Optional[pulumi.Input[str]]: + """ + The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + """ + return pulumi.get(self, "utc_offset") + + @utc_offset.setter + def utc_offset(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "utc_offset", value) + + +@pulumi.input_type +class ManagedClusterAADProfileArgs: + def __init__(__self__, *, + admin_group_object_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + client_app_id: Optional[pulumi.Input[str]] = None, + enable_azure_rbac: Optional[pulumi.Input[bool]] = None, + managed: Optional[pulumi.Input[bool]] = None, + server_app_id: Optional[pulumi.Input[str]] = None, + server_app_secret: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). + :param pulumi.Input[Sequence[pulumi.Input[str]]] admin_group_object_ids: The list of AAD group object IDs that will have admin role of the cluster. + :param pulumi.Input[str] client_app_id: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + :param pulumi.Input[bool] enable_azure_rbac: Whether to enable Azure RBAC for Kubernetes authorization. + :param pulumi.Input[bool] managed: Whether to enable managed AAD. + :param pulumi.Input[str] server_app_id: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + :param pulumi.Input[str] server_app_secret: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + :param pulumi.Input[str] tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + """ + if admin_group_object_ids is not None: + pulumi.set(__self__, "admin_group_object_ids", admin_group_object_ids) + if client_app_id is not None: + pulumi.set(__self__, "client_app_id", client_app_id) + if enable_azure_rbac is not None: + pulumi.set(__self__, "enable_azure_rbac", enable_azure_rbac) + if managed is not None: + pulumi.set(__self__, "managed", managed) + if server_app_id is not None: + pulumi.set(__self__, "server_app_id", server_app_id) + if server_app_secret is not None: + pulumi.set(__self__, "server_app_secret", server_app_secret) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="adminGroupObjectIDs") + def admin_group_object_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of AAD group object IDs that will have admin role of the cluster. + """ + return pulumi.get(self, "admin_group_object_ids") + + @admin_group_object_ids.setter + def admin_group_object_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "admin_group_object_ids", value) + + @property + @pulumi.getter(name="clientAppID") + def client_app_id(self) -> Optional[pulumi.Input[str]]: + """ + (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + """ + return pulumi.get(self, "client_app_id") + + @client_app_id.setter + def client_app_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_app_id", value) + + @property + @pulumi.getter(name="enableAzureRBAC") + def enable_azure_rbac(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Azure RBAC for Kubernetes authorization. + """ + return pulumi.get(self, "enable_azure_rbac") + + @enable_azure_rbac.setter + def enable_azure_rbac(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_azure_rbac", value) + + @property + @pulumi.getter + def managed(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable managed AAD. + """ + return pulumi.get(self, "managed") + + @managed.setter + def managed(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "managed", value) + + @property + @pulumi.getter(name="serverAppID") + def server_app_id(self) -> Optional[pulumi.Input[str]]: + """ + (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + """ + return pulumi.get(self, "server_app_id") + + @server_app_id.setter + def server_app_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "server_app_id", value) + + @property + @pulumi.getter(name="serverAppSecret") + def server_app_secret(self) -> Optional[pulumi.Input[str]]: + """ + (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + """ + return pulumi.get(self, "server_app_secret") + + @server_app_secret.setter + def server_app_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "server_app_secret", value) + + @property + @pulumi.getter(name="tenantID") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +@pulumi.input_type +class ManagedClusterAPIServerAccessProfileArgs: + def __init__(__self__, *, + authorized_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + disable_run_command: Optional[pulumi.Input[bool]] = None, + enable_private_cluster: Optional[pulumi.Input[bool]] = None, + enable_private_cluster_public_fqdn: Optional[pulumi.Input[bool]] = None, + private_dns_zone: Optional[pulumi.Input[str]] = None): + """ + Access profile for managed cluster API server. + :param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_ip_ranges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + :param pulumi.Input[bool] disable_run_command: Whether to disable run command for the cluster or not. + :param pulumi.Input[bool] enable_private_cluster: For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + :param pulumi.Input[bool] enable_private_cluster_public_fqdn: Whether to create additional public FQDN for private cluster or not. + :param pulumi.Input[str] private_dns_zone: The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + """ + if authorized_ip_ranges is not None: + pulumi.set(__self__, "authorized_ip_ranges", authorized_ip_ranges) + if disable_run_command is not None: + pulumi.set(__self__, "disable_run_command", disable_run_command) + if enable_private_cluster is not None: + pulumi.set(__self__, "enable_private_cluster", enable_private_cluster) + if enable_private_cluster_public_fqdn is not None: + pulumi.set(__self__, "enable_private_cluster_public_fqdn", enable_private_cluster_public_fqdn) + if private_dns_zone is not None: + pulumi.set(__self__, "private_dns_zone", private_dns_zone) + + @property + @pulumi.getter(name="authorizedIPRanges") + def authorized_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + """ + return pulumi.get(self, "authorized_ip_ranges") + + @authorized_ip_ranges.setter + def authorized_ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "authorized_ip_ranges", value) + + @property + @pulumi.getter(name="disableRunCommand") + def disable_run_command(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to disable run command for the cluster or not. + """ + return pulumi.get(self, "disable_run_command") + + @disable_run_command.setter + def disable_run_command(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_run_command", value) + + @property + @pulumi.getter(name="enablePrivateCluster") + def enable_private_cluster(self) -> Optional[pulumi.Input[bool]]: + """ + For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + """ + return pulumi.get(self, "enable_private_cluster") + + @enable_private_cluster.setter + def enable_private_cluster(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_private_cluster", value) + + @property + @pulumi.getter(name="enablePrivateClusterPublicFQDN") + def enable_private_cluster_public_fqdn(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to create additional public FQDN for private cluster or not. + """ + return pulumi.get(self, "enable_private_cluster_public_fqdn") + + @enable_private_cluster_public_fqdn.setter + def enable_private_cluster_public_fqdn(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_private_cluster_public_fqdn", value) + + @property + @pulumi.getter(name="privateDNSZone") + def private_dns_zone(self) -> Optional[pulumi.Input[str]]: + """ + The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + """ + return pulumi.get(self, "private_dns_zone") + + @private_dns_zone.setter + def private_dns_zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_dns_zone", value) + + +@pulumi.input_type +class ManagedClusterAddonProfileArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + A Kubernetes add-on profile for a managed cluster. + :param pulumi.Input[bool] enabled: Whether the add-on is enabled or not. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: Key-value pairs for configuring an add-on. + """ + pulumi.set(__self__, "enabled", enabled) + if config is not None: + pulumi.set(__self__, "config", config) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Whether the add-on is enabled or not. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Key-value pairs for configuring an add-on. + """ + return pulumi.get(self, "config") + + @config.setter + def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "config", value) + + +@pulumi.input_type +class ManagedClusterAgentPoolProfileArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + count: Optional[pulumi.Input[int]] = None, + creation_data: Optional[pulumi.Input['CreationDataArgs']] = None, + enable_auto_scaling: Optional[pulumi.Input[bool]] = None, + enable_encryption_at_host: Optional[pulumi.Input[bool]] = None, + enable_fips: Optional[pulumi.Input[bool]] = None, + enable_node_public_ip: Optional[pulumi.Input[bool]] = None, + enable_ultra_ssd: Optional[pulumi.Input[bool]] = None, + gpu_instance_profile: Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]] = None, + host_group_id: Optional[pulumi.Input[str]] = None, + kubelet_config: Optional[pulumi.Input['KubeletConfigArgs']] = None, + kubelet_disk_type: Optional[pulumi.Input[Union[str, 'KubeletDiskType']]] = None, + linux_os_config: Optional[pulumi.Input['LinuxOSConfigArgs']] = None, + max_count: Optional[pulumi.Input[int]] = None, + max_pods: Optional[pulumi.Input[int]] = None, + min_count: Optional[pulumi.Input[int]] = None, + mode: Optional[pulumi.Input[Union[str, 'AgentPoolMode']]] = None, + node_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + node_public_ip_prefix_id: Optional[pulumi.Input[str]] = None, + node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + orchestrator_version: Optional[pulumi.Input[str]] = None, + os_disk_size_gb: Optional[pulumi.Input[int]] = None, + os_disk_type: Optional[pulumi.Input[Union[str, 'OSDiskType']]] = None, + os_sku: Optional[pulumi.Input[Union[str, 'OSSKU']]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OSType']]] = None, + pod_subnet_id: Optional[pulumi.Input[str]] = None, + power_state: Optional[pulumi.Input['PowerStateArgs']] = None, + proximity_placement_group_id: Optional[pulumi.Input[str]] = None, + scale_down_mode: Optional[pulumi.Input[Union[str, 'ScaleDownMode']]] = None, + scale_set_eviction_policy: Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]] = None, + scale_set_priority: Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]] = None, + spot_max_price: Optional[pulumi.Input[float]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'AgentPoolType']]] = None, + upgrade_settings: Optional[pulumi.Input['AgentPoolUpgradeSettingsArgs']] = None, + vm_size: Optional[pulumi.Input[str]] = None, + vnet_subnet_id: Optional[pulumi.Input[str]] = None, + workload_runtime: Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]] = None): + """ + Profile for the container service agent pool. + :param pulumi.Input[str] name: Windows agent pool names must be 6 characters or less. + :param pulumi.Input[Sequence[pulumi.Input[str]]] availability_zones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + :param pulumi.Input[int] count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + :param pulumi.Input['CreationDataArgs'] creation_data: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + :param pulumi.Input[bool] enable_auto_scaling: Whether to enable auto-scaler + :param pulumi.Input[bool] enable_encryption_at_host: This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + :param pulumi.Input[bool] enable_fips: See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + :param pulumi.Input[bool] enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + :param pulumi.Input[bool] enable_ultra_ssd: Whether to enable UltraSSD + :param pulumi.Input[Union[str, 'GPUInstanceProfile']] gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + :param pulumi.Input[str] host_group_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + :param pulumi.Input['KubeletConfigArgs'] kubelet_config: The Kubelet configuration on the agent pool nodes. + :param pulumi.Input[Union[str, 'KubeletDiskType']] kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + :param pulumi.Input['LinuxOSConfigArgs'] linux_os_config: The OS configuration of Linux agent nodes. + :param pulumi.Input[int] max_count: The maximum number of nodes for auto-scaling + :param pulumi.Input[int] max_pods: The maximum number of pods that can run on a node. + :param pulumi.Input[int] min_count: The minimum number of nodes for auto-scaling + :param pulumi.Input[Union[str, 'AgentPoolMode']] mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_labels: The node labels to be persisted across all nodes in agent pool. + :param pulumi.Input[str] node_public_ip_prefix_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + :param pulumi.Input[Sequence[pulumi.Input[str]]] node_taints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + :param pulumi.Input[str] orchestrator_version: Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + :param pulumi.Input[int] os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + :param pulumi.Input[Union[str, 'OSDiskType']] os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + :param pulumi.Input[Union[str, 'OSSKU']] os_sku: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + :param pulumi.Input[Union[str, 'OSType']] os_type: The operating system type. The default is Linux. + :param pulumi.Input[str] pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param pulumi.Input['PowerStateArgs'] power_state: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + :param pulumi.Input[str] proximity_placement_group_id: The ID for Proximity Placement Group. + :param pulumi.Input[Union[str, 'ScaleDownMode']] scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + :param pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']] scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + :param pulumi.Input[Union[str, 'ScaleSetPriority']] scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + :param pulumi.Input[float] spot_max_price: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags to be persisted on the agent pool virtual machine scale set. + :param pulumi.Input[Union[str, 'AgentPoolType']] type: The type of Agent Pool. + :param pulumi.Input['AgentPoolUpgradeSettingsArgs'] upgrade_settings: Settings for upgrading the agentpool + :param pulumi.Input[str] vm_size: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + :param pulumi.Input[str] vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param pulumi.Input[Union[str, 'WorkloadRuntime']] workload_runtime: Determines the type of workload a node can run. + """ + pulumi.set(__self__, "name", name) + if availability_zones is not None: + pulumi.set(__self__, "availability_zones", availability_zones) + if count is not None: + pulumi.set(__self__, "count", count) + if creation_data is not None: + pulumi.set(__self__, "creation_data", creation_data) + if enable_auto_scaling is not None: + pulumi.set(__self__, "enable_auto_scaling", enable_auto_scaling) + if enable_encryption_at_host is not None: + pulumi.set(__self__, "enable_encryption_at_host", enable_encryption_at_host) + if enable_fips is not None: + pulumi.set(__self__, "enable_fips", enable_fips) + if enable_node_public_ip is not None: + pulumi.set(__self__, "enable_node_public_ip", enable_node_public_ip) + if enable_ultra_ssd is not None: + pulumi.set(__self__, "enable_ultra_ssd", enable_ultra_ssd) + if gpu_instance_profile is not None: + pulumi.set(__self__, "gpu_instance_profile", gpu_instance_profile) + if host_group_id is not None: + pulumi.set(__self__, "host_group_id", host_group_id) + if kubelet_config is not None: + pulumi.set(__self__, "kubelet_config", kubelet_config) + if kubelet_disk_type is not None: + pulumi.set(__self__, "kubelet_disk_type", kubelet_disk_type) + if linux_os_config is not None: + pulumi.set(__self__, "linux_os_config", linux_os_config) + if max_count is not None: + pulumi.set(__self__, "max_count", max_count) + if max_pods is not None: + pulumi.set(__self__, "max_pods", max_pods) + if min_count is not None: + pulumi.set(__self__, "min_count", min_count) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if node_labels is not None: + pulumi.set(__self__, "node_labels", node_labels) + if node_public_ip_prefix_id is not None: + pulumi.set(__self__, "node_public_ip_prefix_id", node_public_ip_prefix_id) + if node_taints is not None: + pulumi.set(__self__, "node_taints", node_taints) + if orchestrator_version is not None: + pulumi.set(__self__, "orchestrator_version", orchestrator_version) + if os_disk_size_gb is not None: + pulumi.set(__self__, "os_disk_size_gb", os_disk_size_gb) + if os_disk_type is not None: + pulumi.set(__self__, "os_disk_type", os_disk_type) + if os_sku is not None: + pulumi.set(__self__, "os_sku", os_sku) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + if pod_subnet_id is not None: + pulumi.set(__self__, "pod_subnet_id", pod_subnet_id) + if power_state is not None: + pulumi.set(__self__, "power_state", power_state) + if proximity_placement_group_id is not None: + pulumi.set(__self__, "proximity_placement_group_id", proximity_placement_group_id) + if scale_down_mode is not None: + pulumi.set(__self__, "scale_down_mode", scale_down_mode) + if scale_set_eviction_policy is not None: + pulumi.set(__self__, "scale_set_eviction_policy", scale_set_eviction_policy) + if scale_set_priority is not None: + pulumi.set(__self__, "scale_set_priority", scale_set_priority) + if spot_max_price is not None: + pulumi.set(__self__, "spot_max_price", spot_max_price) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if type is not None: + pulumi.set(__self__, "type", type) + if upgrade_settings is not None: + pulumi.set(__self__, "upgrade_settings", upgrade_settings) + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + if vnet_subnet_id is not None: + pulumi.set(__self__, "vnet_subnet_id", vnet_subnet_id) + if workload_runtime is not None: + pulumi.set(__self__, "workload_runtime", workload_runtime) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Windows agent pool names must be 6 characters or less. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + """ + return pulumi.get(self, "availability_zones") + + @availability_zones.setter + def availability_zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "availability_zones", value) + + @property + @pulumi.getter + def count(self) -> Optional[pulumi.Input[int]]: + """ + Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + """ + return pulumi.get(self, "count") + + @count.setter + def count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "count", value) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional[pulumi.Input['CreationDataArgs']]: + """ + CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + """ + return pulumi.get(self, "creation_data") + + @creation_data.setter + def creation_data(self, value: Optional[pulumi.Input['CreationDataArgs']]): + pulumi.set(self, "creation_data", value) + + @property + @pulumi.getter(name="enableAutoScaling") + def enable_auto_scaling(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable auto-scaler + """ + return pulumi.get(self, "enable_auto_scaling") + + @enable_auto_scaling.setter + def enable_auto_scaling(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_auto_scaling", value) + + @property + @pulumi.getter(name="enableEncryptionAtHost") + def enable_encryption_at_host(self) -> Optional[pulumi.Input[bool]]: + """ + This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + """ + return pulumi.get(self, "enable_encryption_at_host") + + @enable_encryption_at_host.setter + def enable_encryption_at_host(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption_at_host", value) + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> Optional[pulumi.Input[bool]]: + """ + See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + """ + return pulumi.get(self, "enable_fips") + + @enable_fips.setter + def enable_fips(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_fips", value) + + @property + @pulumi.getter(name="enableNodePublicIP") + def enable_node_public_ip(self) -> Optional[pulumi.Input[bool]]: + """ + Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + """ + return pulumi.get(self, "enable_node_public_ip") + + @enable_node_public_ip.setter + def enable_node_public_ip(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_node_public_ip", value) + + @property + @pulumi.getter(name="enableUltraSSD") + def enable_ultra_ssd(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable UltraSSD + """ + return pulumi.get(self, "enable_ultra_ssd") + + @enable_ultra_ssd.setter + def enable_ultra_ssd(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_ultra_ssd", value) + + @property + @pulumi.getter(name="gpuInstanceProfile") + def gpu_instance_profile(self) -> Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]]: + """ + GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + """ + return pulumi.get(self, "gpu_instance_profile") + + @gpu_instance_profile.setter + def gpu_instance_profile(self, value: Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]]): + pulumi.set(self, "gpu_instance_profile", value) + + @property + @pulumi.getter(name="hostGroupID") + def host_group_id(self) -> Optional[pulumi.Input[str]]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + """ + return pulumi.get(self, "host_group_id") + + @host_group_id.setter + def host_group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_group_id", value) + + @property + @pulumi.getter(name="kubeletConfig") + def kubelet_config(self) -> Optional[pulumi.Input['KubeletConfigArgs']]: + """ + The Kubelet configuration on the agent pool nodes. + """ + return pulumi.get(self, "kubelet_config") + + @kubelet_config.setter + def kubelet_config(self, value: Optional[pulumi.Input['KubeletConfigArgs']]): + pulumi.set(self, "kubelet_config", value) + + @property + @pulumi.getter(name="kubeletDiskType") + def kubelet_disk_type(self) -> Optional[pulumi.Input[Union[str, 'KubeletDiskType']]]: + """ + Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + """ + return pulumi.get(self, "kubelet_disk_type") + + @kubelet_disk_type.setter + def kubelet_disk_type(self, value: Optional[pulumi.Input[Union[str, 'KubeletDiskType']]]): + pulumi.set(self, "kubelet_disk_type", value) + + @property + @pulumi.getter(name="linuxOSConfig") + def linux_os_config(self) -> Optional[pulumi.Input['LinuxOSConfigArgs']]: + """ + The OS configuration of Linux agent nodes. + """ + return pulumi.get(self, "linux_os_config") + + @linux_os_config.setter + def linux_os_config(self, value: Optional[pulumi.Input['LinuxOSConfigArgs']]): + pulumi.set(self, "linux_os_config", value) + + @property + @pulumi.getter(name="maxCount") + def max_count(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of nodes for auto-scaling + """ + return pulumi.get(self, "max_count") + + @max_count.setter + def max_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_count", value) + + @property + @pulumi.getter(name="maxPods") + def max_pods(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of pods that can run on a node. + """ + return pulumi.get(self, "max_pods") + + @max_pods.setter + def max_pods(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_pods", value) + + @property + @pulumi.getter(name="minCount") + def min_count(self) -> Optional[pulumi.Input[int]]: + """ + The minimum number of nodes for auto-scaling + """ + return pulumi.get(self, "min_count") + + @min_count.setter + def min_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_count", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[Union[str, 'AgentPoolMode']]]: + """ + A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[Union[str, 'AgentPoolMode']]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="nodeLabels") + def node_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + The node labels to be persisted across all nodes in agent pool. + """ + return pulumi.get(self, "node_labels") + + @node_labels.setter + def node_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "node_labels", value) + + @property + @pulumi.getter(name="nodePublicIPPrefixID") + def node_public_ip_prefix_id(self) -> Optional[pulumi.Input[str]]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + """ + return pulumi.get(self, "node_public_ip_prefix_id") + + @node_public_ip_prefix_id.setter + def node_public_ip_prefix_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_public_ip_prefix_id", value) + + @property + @pulumi.getter(name="nodeTaints") + def node_taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + """ + return pulumi.get(self, "node_taints") + + @node_taints.setter + def node_taints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "node_taints", value) + + @property + @pulumi.getter(name="orchestratorVersion") + def orchestrator_version(self) -> Optional[pulumi.Input[str]]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + """ + return pulumi.get(self, "orchestrator_version") + + @orchestrator_version.setter + def orchestrator_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "orchestrator_version", value) + + @property + @pulumi.getter(name="osDiskSizeGB") + def os_disk_size_gb(self) -> Optional[pulumi.Input[int]]: + """ + OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + """ + return pulumi.get(self, "os_disk_size_gb") + + @os_disk_size_gb.setter + def os_disk_size_gb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "os_disk_size_gb", value) + + @property + @pulumi.getter(name="osDiskType") + def os_disk_type(self) -> Optional[pulumi.Input[Union[str, 'OSDiskType']]]: + """ + The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + """ + return pulumi.get(self, "os_disk_type") + + @os_disk_type.setter + def os_disk_type(self, value: Optional[pulumi.Input[Union[str, 'OSDiskType']]]): + pulumi.set(self, "os_disk_type", value) + + @property + @pulumi.getter(name="osSKU") + def os_sku(self) -> Optional[pulumi.Input[Union[str, 'OSSKU']]]: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @os_sku.setter + def os_sku(self, value: Optional[pulumi.Input[Union[str, 'OSSKU']]]): + pulumi.set(self, "os_sku", value) + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[pulumi.Input[Union[str, 'OSType']]]: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @os_type.setter + def os_type(self, value: Optional[pulumi.Input[Union[str, 'OSType']]]): + pulumi.set(self, "os_type", value) + + @property + @pulumi.getter(name="podSubnetID") + def pod_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "pod_subnet_id") + + @pod_subnet_id.setter + def pod_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pod_subnet_id", value) + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> Optional[pulumi.Input['PowerStateArgs']]: + """ + When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + """ + return pulumi.get(self, "power_state") + + @power_state.setter + def power_state(self, value: Optional[pulumi.Input['PowerStateArgs']]): + pulumi.set(self, "power_state", value) + + @property + @pulumi.getter(name="proximityPlacementGroupID") + def proximity_placement_group_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID for Proximity Placement Group. + """ + return pulumi.get(self, "proximity_placement_group_id") + + @proximity_placement_group_id.setter + def proximity_placement_group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proximity_placement_group_id", value) + + @property + @pulumi.getter(name="scaleDownMode") + def scale_down_mode(self) -> Optional[pulumi.Input[Union[str, 'ScaleDownMode']]]: + """ + This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + """ + return pulumi.get(self, "scale_down_mode") + + @scale_down_mode.setter + def scale_down_mode(self, value: Optional[pulumi.Input[Union[str, 'ScaleDownMode']]]): + pulumi.set(self, "scale_down_mode", value) + + @property + @pulumi.getter(name="scaleSetEvictionPolicy") + def scale_set_eviction_policy(self) -> Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]]: + """ + This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + """ + return pulumi.get(self, "scale_set_eviction_policy") + + @scale_set_eviction_policy.setter + def scale_set_eviction_policy(self, value: Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]]): + pulumi.set(self, "scale_set_eviction_policy", value) + + @property + @pulumi.getter(name="scaleSetPriority") + def scale_set_priority(self) -> Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]]: + """ + The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + """ + return pulumi.get(self, "scale_set_priority") + + @scale_set_priority.setter + def scale_set_priority(self, value: Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]]): + pulumi.set(self, "scale_set_priority", value) + + @property + @pulumi.getter(name="spotMaxPrice") + def spot_max_price(self) -> Optional[pulumi.Input[float]]: + """ + Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + """ + return pulumi.get(self, "spot_max_price") + + @spot_max_price.setter + def spot_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_max_price", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + The tags to be persisted on the agent pool virtual machine scale set. + """ + 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 + def type(self) -> Optional[pulumi.Input[Union[str, 'AgentPoolType']]]: + """ + The type of Agent Pool. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'AgentPoolType']]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> Optional[pulumi.Input['AgentPoolUpgradeSettingsArgs']]: + """ + Settings for upgrading the agentpool + """ + return pulumi.get(self, "upgrade_settings") + + @upgrade_settings.setter + def upgrade_settings(self, value: Optional[pulumi.Input['AgentPoolUpgradeSettingsArgs']]): + pulumi.set(self, "upgrade_settings", value) + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[pulumi.Input[str]]: + """ + VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + """ + return pulumi.get(self, "vm_size") + + @vm_size.setter + def vm_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_size", value) + + @property + @pulumi.getter(name="vnetSubnetID") + def vnet_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "vnet_subnet_id") + + @vnet_subnet_id.setter + def vnet_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vnet_subnet_id", value) + + @property + @pulumi.getter(name="workloadRuntime") + def workload_runtime(self) -> Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]]: + """ + Determines the type of workload a node can run. + """ + return pulumi.get(self, "workload_runtime") + + @workload_runtime.setter + def workload_runtime(self, value: Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]]): + pulumi.set(self, "workload_runtime", value) + + +@pulumi.input_type +class ManagedClusterAutoUpgradeProfileArgs: + def __init__(__self__, *, + node_os_upgrade_channel: Optional[pulumi.Input[Union[str, 'NodeOSUpgradeChannel']]] = None, + upgrade_channel: Optional[pulumi.Input[Union[str, 'UpgradeChannel']]] = None): + """ + Auto upgrade profile for a managed cluster. + :param pulumi.Input[Union[str, 'NodeOSUpgradeChannel']] node_os_upgrade_channel: Manner in which the OS on your nodes is updated. The default is NodeImage. + :param pulumi.Input[Union[str, 'UpgradeChannel']] upgrade_channel: For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + """ + if node_os_upgrade_channel is not None: + pulumi.set(__self__, "node_os_upgrade_channel", node_os_upgrade_channel) + if upgrade_channel is not None: + pulumi.set(__self__, "upgrade_channel", upgrade_channel) + + @property + @pulumi.getter(name="nodeOSUpgradeChannel") + def node_os_upgrade_channel(self) -> Optional[pulumi.Input[Union[str, 'NodeOSUpgradeChannel']]]: + """ + Manner in which the OS on your nodes is updated. The default is NodeImage. + """ + return pulumi.get(self, "node_os_upgrade_channel") + + @node_os_upgrade_channel.setter + def node_os_upgrade_channel(self, value: Optional[pulumi.Input[Union[str, 'NodeOSUpgradeChannel']]]): + pulumi.set(self, "node_os_upgrade_channel", value) + + @property + @pulumi.getter(name="upgradeChannel") + def upgrade_channel(self) -> Optional[pulumi.Input[Union[str, 'UpgradeChannel']]]: + """ + For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + """ + return pulumi.get(self, "upgrade_channel") + + @upgrade_channel.setter + def upgrade_channel(self, value: Optional[pulumi.Input[Union[str, 'UpgradeChannel']]]): + pulumi.set(self, "upgrade_channel", value) + + +@pulumi.input_type +class ManagedClusterAzureMonitorProfileKubeStateMetricsArgs: + def __init__(__self__, *, + metric_annotations_allow_list: Optional[pulumi.Input[str]] = None, + metric_labels_allowlist: Optional[pulumi.Input[str]] = None): + """ + Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + :param pulumi.Input[str] metric_annotations_allow_list: Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + :param pulumi.Input[str] metric_labels_allowlist: Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + """ + if metric_annotations_allow_list is not None: + pulumi.set(__self__, "metric_annotations_allow_list", metric_annotations_allow_list) + if metric_labels_allowlist is not None: + pulumi.set(__self__, "metric_labels_allowlist", metric_labels_allowlist) + + @property + @pulumi.getter(name="metricAnnotationsAllowList") + def metric_annotations_allow_list(self) -> Optional[pulumi.Input[str]]: + """ + Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + """ + return pulumi.get(self, "metric_annotations_allow_list") + + @metric_annotations_allow_list.setter + def metric_annotations_allow_list(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_annotations_allow_list", value) + + @property + @pulumi.getter(name="metricLabelsAllowlist") + def metric_labels_allowlist(self) -> Optional[pulumi.Input[str]]: + """ + Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + """ + return pulumi.get(self, "metric_labels_allowlist") + + @metric_labels_allowlist.setter + def metric_labels_allowlist(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_labels_allowlist", value) + + +@pulumi.input_type +class ManagedClusterAzureMonitorProfileMetricsArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + kube_state_metrics: Optional[pulumi.Input['ManagedClusterAzureMonitorProfileKubeStateMetricsArgs']] = None): + """ + Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + :param pulumi.Input[bool] enabled: Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + :param pulumi.Input['ManagedClusterAzureMonitorProfileKubeStateMetricsArgs'] kube_state_metrics: Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + """ + pulumi.set(__self__, "enabled", enabled) + if kube_state_metrics is not None: + pulumi.set(__self__, "kube_state_metrics", kube_state_metrics) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="kubeStateMetrics") + def kube_state_metrics(self) -> Optional[pulumi.Input['ManagedClusterAzureMonitorProfileKubeStateMetricsArgs']]: + """ + Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + """ + return pulumi.get(self, "kube_state_metrics") + + @kube_state_metrics.setter + def kube_state_metrics(self, value: Optional[pulumi.Input['ManagedClusterAzureMonitorProfileKubeStateMetricsArgs']]): + pulumi.set(self, "kube_state_metrics", value) + + +@pulumi.input_type +class ManagedClusterAzureMonitorProfileArgs: + def __init__(__self__, *, + metrics: Optional[pulumi.Input['ManagedClusterAzureMonitorProfileMetricsArgs']] = None): + """ + Azure Monitor addon profiles for monitoring the managed cluster. + :param pulumi.Input['ManagedClusterAzureMonitorProfileMetricsArgs'] metrics: Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + """ + if metrics is not None: + pulumi.set(__self__, "metrics", metrics) + + @property + @pulumi.getter + def metrics(self) -> Optional[pulumi.Input['ManagedClusterAzureMonitorProfileMetricsArgs']]: + """ + Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + """ + return pulumi.get(self, "metrics") + + @metrics.setter + def metrics(self, value: Optional[pulumi.Input['ManagedClusterAzureMonitorProfileMetricsArgs']]): + pulumi.set(self, "metrics", value) + + +@pulumi.input_type +class ManagedClusterHTTPProxyConfigArgs: + def __init__(__self__, *, + http_proxy: Optional[pulumi.Input[str]] = None, + https_proxy: Optional[pulumi.Input[str]] = None, + no_proxy: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + trusted_ca: Optional[pulumi.Input[str]] = None): + """ + Cluster HTTP proxy configuration. + :param pulumi.Input[str] http_proxy: The HTTP proxy server endpoint to use. + :param pulumi.Input[str] https_proxy: The HTTPS proxy server endpoint to use. + :param pulumi.Input[Sequence[pulumi.Input[str]]] no_proxy: The endpoints that should not go through proxy. + :param pulumi.Input[str] trusted_ca: Alternative CA cert to use for connecting to proxy servers. + """ + if http_proxy is not None: + pulumi.set(__self__, "http_proxy", http_proxy) + if https_proxy is not None: + pulumi.set(__self__, "https_proxy", https_proxy) + if no_proxy is not None: + pulumi.set(__self__, "no_proxy", no_proxy) + if trusted_ca is not None: + pulumi.set(__self__, "trusted_ca", trusted_ca) + + @property + @pulumi.getter(name="httpProxy") + def http_proxy(self) -> Optional[pulumi.Input[str]]: + """ + The HTTP proxy server endpoint to use. + """ + return pulumi.get(self, "http_proxy") + + @http_proxy.setter + def http_proxy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "http_proxy", value) + + @property + @pulumi.getter(name="httpsProxy") + def https_proxy(self) -> Optional[pulumi.Input[str]]: + """ + The HTTPS proxy server endpoint to use. + """ + return pulumi.get(self, "https_proxy") + + @https_proxy.setter + def https_proxy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "https_proxy", value) + + @property + @pulumi.getter(name="noProxy") + def no_proxy(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The endpoints that should not go through proxy. + """ + return pulumi.get(self, "no_proxy") + + @no_proxy.setter + def no_proxy(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "no_proxy", value) + + @property + @pulumi.getter(name="trustedCa") + def trusted_ca(self) -> Optional[pulumi.Input[str]]: + """ + Alternative CA cert to use for connecting to proxy servers. + """ + return pulumi.get(self, "trusted_ca") + + @trusted_ca.setter + def trusted_ca(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trusted_ca", value) + + +@pulumi.input_type +class ManagedClusterIdentityArgs: + def __init__(__self__, *, + delegated_resources: Optional[pulumi.Input[Mapping[str, pulumi.Input['DelegatedResourceArgs']]]] = None, + type: Optional[pulumi.Input['ResourceIdentityType']] = None, + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity for the managed cluster. + :param pulumi.Input[Mapping[str, pulumi.Input['DelegatedResourceArgs']]] delegated_resources: The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + :param pulumi.Input['ResourceIdentityType'] type: For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + if delegated_resources is not None: + pulumi.set(__self__, "delegated_resources", delegated_resources) + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="delegatedResources") + def delegated_resources(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DelegatedResourceArgs']]]]: + """ + The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + """ + return pulumi.get(self, "delegated_resources") + + @delegated_resources.setter + def delegated_resources(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DelegatedResourceArgs']]]]): + pulumi.set(self, "delegated_resources", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['ResourceIdentityType']]: + """ + For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['ResourceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs: + def __init__(__self__, *, + count: Optional[pulumi.Input[int]] = None, + count_i_pv6: Optional[pulumi.Input[int]] = None): + """ + Desired managed outbound IPs for the cluster load balancer. + :param pulumi.Input[int] count: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + :param pulumi.Input[int] count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + """ + if count is None: + count = 1 + if count is not None: + pulumi.set(__self__, "count", count) + if count_i_pv6 is None: + count_i_pv6 = 0 + if count_i_pv6 is not None: + pulumi.set(__self__, "count_i_pv6", count_i_pv6) + + @property + @pulumi.getter + def count(self) -> Optional[pulumi.Input[int]]: + """ + The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + """ + return pulumi.get(self, "count") + + @count.setter + def count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "count", value) + + @property + @pulumi.getter(name="countIPv6") + def count_i_pv6(self) -> Optional[pulumi.Input[int]]: + """ + The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + """ + return pulumi.get(self, "count_i_pv6") + + @count_i_pv6.setter + def count_i_pv6(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "count_i_pv6", value) + + +@pulumi.input_type +class ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs: + def __init__(__self__, *, + public_ip_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None): + """ + Desired outbound IP Prefix resources for the cluster load balancer. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] public_ip_prefixes: A list of public IP prefix resources. + """ + if public_ip_prefixes is not None: + pulumi.set(__self__, "public_ip_prefixes", public_ip_prefixes) + + @property + @pulumi.getter(name="publicIPPrefixes") + def public_ip_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + A list of public IP prefix resources. + """ + return pulumi.get(self, "public_ip_prefixes") + + @public_ip_prefixes.setter + def public_ip_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "public_ip_prefixes", value) + + +@pulumi.input_type +class ManagedClusterLoadBalancerProfileOutboundIPsArgs: + def __init__(__self__, *, + public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None): + """ + Desired outbound IP resources for the cluster load balancer. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] public_ips: A list of public IP resources. + """ + if public_ips is not None: + pulumi.set(__self__, "public_ips", public_ips) + + @property + @pulumi.getter(name="publicIPs") + def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + A list of public IP resources. + """ + return pulumi.get(self, "public_ips") + + @public_ips.setter + def public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "public_ips", value) + + +@pulumi.input_type +class ManagedClusterLoadBalancerProfileArgs: + def __init__(__self__, *, + allocated_outbound_ports: Optional[pulumi.Input[int]] = None, + effective_outbound_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None, + enable_multiple_standard_load_balancers: Optional[pulumi.Input[bool]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[int]] = None, + managed_outbound_ips: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs']] = None, + outbound_ip_prefixes: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs']] = None, + outbound_ips: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPsArgs']] = None): + """ + Profile of the managed cluster load balancer. + :param pulumi.Input[int] allocated_outbound_ports: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] effective_outbound_ips: The effective outbound IP resources of the cluster load balancer. + :param pulumi.Input[bool] enable_multiple_standard_load_balancers: Enable multiple standard load balancers per AKS cluster or not. + :param pulumi.Input[int] idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + :param pulumi.Input['ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs'] managed_outbound_ips: Desired managed outbound IPs for the cluster load balancer. + :param pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs'] outbound_ip_prefixes: Desired outbound IP Prefix resources for the cluster load balancer. + :param pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPsArgs'] outbound_ips: Desired outbound IP resources for the cluster load balancer. + """ + if allocated_outbound_ports is None: + allocated_outbound_ports = 0 + if allocated_outbound_ports is not None: + pulumi.set(__self__, "allocated_outbound_ports", allocated_outbound_ports) + if effective_outbound_ips is not None: + pulumi.set(__self__, "effective_outbound_ips", effective_outbound_ips) + if enable_multiple_standard_load_balancers is not None: + pulumi.set(__self__, "enable_multiple_standard_load_balancers", enable_multiple_standard_load_balancers) + if idle_timeout_in_minutes is None: + idle_timeout_in_minutes = 30 + if idle_timeout_in_minutes is not None: + pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + if managed_outbound_ips is not None: + pulumi.set(__self__, "managed_outbound_ips", managed_outbound_ips) + if outbound_ip_prefixes is not None: + pulumi.set(__self__, "outbound_ip_prefixes", outbound_ip_prefixes) + if outbound_ips is not None: + pulumi.set(__self__, "outbound_ips", outbound_ips) + + @property + @pulumi.getter(name="allocatedOutboundPorts") + def allocated_outbound_ports(self) -> Optional[pulumi.Input[int]]: + """ + The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. + """ + return pulumi.get(self, "allocated_outbound_ports") + + @allocated_outbound_ports.setter + def allocated_outbound_ports(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "allocated_outbound_ports", value) + + @property + @pulumi.getter(name="effectiveOutboundIPs") + def effective_outbound_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + The effective outbound IP resources of the cluster load balancer. + """ + return pulumi.get(self, "effective_outbound_ips") + + @effective_outbound_ips.setter + def effective_outbound_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "effective_outbound_ips", value) + + @property + @pulumi.getter(name="enableMultipleStandardLoadBalancers") + def enable_multiple_standard_load_balancers(self) -> Optional[pulumi.Input[bool]]: + """ + Enable multiple standard load balancers per AKS cluster or not. + """ + return pulumi.get(self, "enable_multiple_standard_load_balancers") + + @enable_multiple_standard_load_balancers.setter + def enable_multiple_standard_load_balancers(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_multiple_standard_load_balancers", value) + + @property + @pulumi.getter(name="idleTimeoutInMinutes") + def idle_timeout_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + """ + return pulumi.get(self, "idle_timeout_in_minutes") + + @idle_timeout_in_minutes.setter + def idle_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "idle_timeout_in_minutes", value) + + @property + @pulumi.getter(name="managedOutboundIPs") + def managed_outbound_ips(self) -> Optional[pulumi.Input['ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs']]: + """ + Desired managed outbound IPs for the cluster load balancer. + """ + return pulumi.get(self, "managed_outbound_ips") + + @managed_outbound_ips.setter + def managed_outbound_ips(self, value: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs']]): + pulumi.set(self, "managed_outbound_ips", value) + + @property + @pulumi.getter(name="outboundIPPrefixes") + def outbound_ip_prefixes(self) -> Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs']]: + """ + Desired outbound IP Prefix resources for the cluster load balancer. + """ + return pulumi.get(self, "outbound_ip_prefixes") + + @outbound_ip_prefixes.setter + def outbound_ip_prefixes(self, value: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs']]): + pulumi.set(self, "outbound_ip_prefixes", value) + + @property + @pulumi.getter(name="outboundIPs") + def outbound_ips(self) -> Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPsArgs']]: + """ + Desired outbound IP resources for the cluster load balancer. + """ + return pulumi.get(self, "outbound_ips") + + @outbound_ips.setter + def outbound_ips(self, value: Optional[pulumi.Input['ManagedClusterLoadBalancerProfileOutboundIPsArgs']]): + pulumi.set(self, "outbound_ips", value) + + +@pulumi.input_type +class ManagedClusterManagedOutboundIPProfileArgs: + def __init__(__self__, *, + count: Optional[pulumi.Input[int]] = None): + """ + Profile of the managed outbound IP resources of the managed cluster. + :param pulumi.Input[int] count: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + """ + if count is None: + count = 1 + if count is not None: + pulumi.set(__self__, "count", count) + + @property + @pulumi.getter + def count(self) -> Optional[pulumi.Input[int]]: + """ + The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + """ + return pulumi.get(self, "count") + + @count.setter + def count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "count", value) + + +@pulumi.input_type +class ManagedClusterNATGatewayProfileArgs: + def __init__(__self__, *, + effective_outbound_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[int]] = None, + managed_outbound_ip_profile: Optional[pulumi.Input['ManagedClusterManagedOutboundIPProfileArgs']] = None): + """ + Profile of the managed cluster NAT gateway. + :param pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]] effective_outbound_ips: The effective outbound IP resources of the cluster NAT gateway. + :param pulumi.Input[int] idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + :param pulumi.Input['ManagedClusterManagedOutboundIPProfileArgs'] managed_outbound_ip_profile: Profile of the managed outbound IP resources of the cluster NAT gateway. + """ + if effective_outbound_ips is not None: + pulumi.set(__self__, "effective_outbound_ips", effective_outbound_ips) + if idle_timeout_in_minutes is None: + idle_timeout_in_minutes = 4 + if idle_timeout_in_minutes is not None: + pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + if managed_outbound_ip_profile is not None: + pulumi.set(__self__, "managed_outbound_ip_profile", managed_outbound_ip_profile) + + @property + @pulumi.getter(name="effectiveOutboundIPs") + def effective_outbound_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]: + """ + The effective outbound IP resources of the cluster NAT gateway. + """ + return pulumi.get(self, "effective_outbound_ips") + + @effective_outbound_ips.setter + def effective_outbound_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceReferenceArgs']]]]): + pulumi.set(self, "effective_outbound_ips", value) + + @property + @pulumi.getter(name="idleTimeoutInMinutes") + def idle_timeout_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + """ + return pulumi.get(self, "idle_timeout_in_minutes") + + @idle_timeout_in_minutes.setter + def idle_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "idle_timeout_in_minutes", value) + + @property + @pulumi.getter(name="managedOutboundIPProfile") + def managed_outbound_ip_profile(self) -> Optional[pulumi.Input['ManagedClusterManagedOutboundIPProfileArgs']]: + """ + Profile of the managed outbound IP resources of the cluster NAT gateway. + """ + return pulumi.get(self, "managed_outbound_ip_profile") + + @managed_outbound_ip_profile.setter + def managed_outbound_ip_profile(self, value: Optional[pulumi.Input['ManagedClusterManagedOutboundIPProfileArgs']]): + pulumi.set(self, "managed_outbound_ip_profile", value) + + +@pulumi.input_type +class ManagedClusterOIDCIssuerProfileArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + The OIDC issuer profile of the Managed Cluster. + :param pulumi.Input[bool] enabled: Whether the OIDC issuer is enabled. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the OIDC issuer is enabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterPodIdentityExceptionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + namespace: pulumi.Input[str], + pod_labels: pulumi.Input[Mapping[str, pulumi.Input[str]]]): + """ + See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. + :param pulumi.Input[str] name: The name of the pod identity exception. + :param pulumi.Input[str] namespace: The namespace of the pod identity exception. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pod_labels: The pod labels to match. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "pod_labels", pod_labels) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the pod identity exception. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def namespace(self) -> pulumi.Input[str]: + """ + The namespace of the pod identity exception. + """ + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: pulumi.Input[str]): + pulumi.set(self, "namespace", value) + + @property + @pulumi.getter(name="podLabels") + def pod_labels(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: + """ + The pod labels to match. + """ + return pulumi.get(self, "pod_labels") + + @pod_labels.setter + def pod_labels(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): + pulumi.set(self, "pod_labels", value) + + +@pulumi.input_type +class ManagedClusterPodIdentityProfileArgs: + def __init__(__self__, *, + allow_network_plugin_kubenet: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityArgs']]]] = None, + user_assigned_identity_exceptions: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityExceptionArgs']]]] = None): + """ + See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. + :param pulumi.Input[bool] allow_network_plugin_kubenet: Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + :param pulumi.Input[bool] enabled: Whether the pod identity addon is enabled. + :param pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityArgs']]] user_assigned_identities: The pod identities to use in the cluster. + :param pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityExceptionArgs']]] user_assigned_identity_exceptions: The pod identity exceptions to allow. + """ + if allow_network_plugin_kubenet is not None: + pulumi.set(__self__, "allow_network_plugin_kubenet", allow_network_plugin_kubenet) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + if user_assigned_identity_exceptions is not None: + pulumi.set(__self__, "user_assigned_identity_exceptions", user_assigned_identity_exceptions) + + @property + @pulumi.getter(name="allowNetworkPluginKubenet") + def allow_network_plugin_kubenet(self) -> Optional[pulumi.Input[bool]]: + """ + Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + """ + return pulumi.get(self, "allow_network_plugin_kubenet") + + @allow_network_plugin_kubenet.setter + def allow_network_plugin_kubenet(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "allow_network_plugin_kubenet", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the pod identity addon is enabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityArgs']]]]: + """ + The pod identities to use in the cluster. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityArgs']]]]): + pulumi.set(self, "user_assigned_identities", value) + + @property + @pulumi.getter(name="userAssignedIdentityExceptions") + def user_assigned_identity_exceptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityExceptionArgs']]]]: + """ + The pod identity exceptions to allow. + """ + return pulumi.get(self, "user_assigned_identity_exceptions") + + @user_assigned_identity_exceptions.setter + def user_assigned_identity_exceptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterPodIdentityExceptionArgs']]]]): + pulumi.set(self, "user_assigned_identity_exceptions", value) + + +@pulumi.input_type +class ManagedClusterPodIdentityArgs: + def __init__(__self__, *, + identity: pulumi.Input['UserAssignedIdentityArgs'], + name: pulumi.Input[str], + namespace: pulumi.Input[str], + binding_selector: Optional[pulumi.Input[str]] = None): + """ + Details about the pod identity assigned to the Managed Cluster. + :param pulumi.Input['UserAssignedIdentityArgs'] identity: The user assigned identity details. + :param pulumi.Input[str] name: The name of the pod identity. + :param pulumi.Input[str] namespace: The namespace of the pod identity. + :param pulumi.Input[str] binding_selector: The binding selector to use for the AzureIdentityBinding resource. + """ + pulumi.set(__self__, "identity", identity) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "namespace", namespace) + if binding_selector is not None: + pulumi.set(__self__, "binding_selector", binding_selector) + + @property + @pulumi.getter + def identity(self) -> pulumi.Input['UserAssignedIdentityArgs']: + """ + The user assigned identity details. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: pulumi.Input['UserAssignedIdentityArgs']): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the pod identity. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def namespace(self) -> pulumi.Input[str]: + """ + The namespace of the pod identity. + """ + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: pulumi.Input[str]): + pulumi.set(self, "namespace", value) + + @property + @pulumi.getter(name="bindingSelector") + def binding_selector(self) -> Optional[pulumi.Input[str]]: + """ + The binding selector to use for the AzureIdentityBinding resource. + """ + return pulumi.get(self, "binding_selector") + + @binding_selector.setter + def binding_selector(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "binding_selector", value) + + +@pulumi.input_type +class ManagedClusterPropertiesAutoScalerProfileArgs: + def __init__(__self__, *, + balance_similar_node_groups: Optional[pulumi.Input[str]] = None, + expander: Optional[pulumi.Input[Union[str, 'Expander']]] = None, + max_empty_bulk_delete: Optional[pulumi.Input[str]] = None, + max_graceful_termination_sec: Optional[pulumi.Input[str]] = None, + max_node_provision_time: Optional[pulumi.Input[str]] = None, + max_total_unready_percentage: Optional[pulumi.Input[str]] = None, + new_pod_scale_up_delay: Optional[pulumi.Input[str]] = None, + ok_total_unready_count: Optional[pulumi.Input[str]] = None, + scale_down_delay_after_add: Optional[pulumi.Input[str]] = None, + scale_down_delay_after_delete: Optional[pulumi.Input[str]] = None, + scale_down_delay_after_failure: Optional[pulumi.Input[str]] = None, + scale_down_unneeded_time: Optional[pulumi.Input[str]] = None, + scale_down_unready_time: Optional[pulumi.Input[str]] = None, + scale_down_utilization_threshold: Optional[pulumi.Input[str]] = None, + scan_interval: Optional[pulumi.Input[str]] = None, + skip_nodes_with_local_storage: Optional[pulumi.Input[str]] = None, + skip_nodes_with_system_pods: Optional[pulumi.Input[str]] = None): + """ + Parameters to be applied to the cluster-autoscaler when enabled + :param pulumi.Input[str] balance_similar_node_groups: Valid values are 'true' and 'false' + :param pulumi.Input[Union[str, 'Expander']] expander: If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + :param pulumi.Input[str] max_empty_bulk_delete: The default is 10. + :param pulumi.Input[str] max_graceful_termination_sec: The default is 600. + :param pulumi.Input[str] max_node_provision_time: The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param pulumi.Input[str] max_total_unready_percentage: The default is 45. The maximum is 100 and the minimum is 0. + :param pulumi.Input[str] new_pod_scale_up_delay: For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + :param pulumi.Input[str] ok_total_unready_count: This must be an integer. The default is 3. + :param pulumi.Input[str] scale_down_delay_after_add: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param pulumi.Input[str] scale_down_delay_after_delete: The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param pulumi.Input[str] scale_down_delay_after_failure: The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param pulumi.Input[str] scale_down_unneeded_time: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param pulumi.Input[str] scale_down_unready_time: The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param pulumi.Input[str] scale_down_utilization_threshold: The default is '0.5'. + :param pulumi.Input[str] scan_interval: The default is '10'. Values must be an integer number of seconds. + :param pulumi.Input[str] skip_nodes_with_local_storage: The default is true. + :param pulumi.Input[str] skip_nodes_with_system_pods: The default is true. + """ + if balance_similar_node_groups is not None: + pulumi.set(__self__, "balance_similar_node_groups", balance_similar_node_groups) + if expander is not None: + pulumi.set(__self__, "expander", expander) + if max_empty_bulk_delete is not None: + pulumi.set(__self__, "max_empty_bulk_delete", max_empty_bulk_delete) + if max_graceful_termination_sec is not None: + pulumi.set(__self__, "max_graceful_termination_sec", max_graceful_termination_sec) + if max_node_provision_time is not None: + pulumi.set(__self__, "max_node_provision_time", max_node_provision_time) + if max_total_unready_percentage is not None: + pulumi.set(__self__, "max_total_unready_percentage", max_total_unready_percentage) + if new_pod_scale_up_delay is not None: + pulumi.set(__self__, "new_pod_scale_up_delay", new_pod_scale_up_delay) + if ok_total_unready_count is not None: + pulumi.set(__self__, "ok_total_unready_count", ok_total_unready_count) + if scale_down_delay_after_add is not None: + pulumi.set(__self__, "scale_down_delay_after_add", scale_down_delay_after_add) + if scale_down_delay_after_delete is not None: + pulumi.set(__self__, "scale_down_delay_after_delete", scale_down_delay_after_delete) + if scale_down_delay_after_failure is not None: + pulumi.set(__self__, "scale_down_delay_after_failure", scale_down_delay_after_failure) + if scale_down_unneeded_time is not None: + pulumi.set(__self__, "scale_down_unneeded_time", scale_down_unneeded_time) + if scale_down_unready_time is not None: + pulumi.set(__self__, "scale_down_unready_time", scale_down_unready_time) + if scale_down_utilization_threshold is not None: + pulumi.set(__self__, "scale_down_utilization_threshold", scale_down_utilization_threshold) + if scan_interval is not None: + pulumi.set(__self__, "scan_interval", scan_interval) + if skip_nodes_with_local_storage is not None: + pulumi.set(__self__, "skip_nodes_with_local_storage", skip_nodes_with_local_storage) + if skip_nodes_with_system_pods is not None: + pulumi.set(__self__, "skip_nodes_with_system_pods", skip_nodes_with_system_pods) + + @property + @pulumi.getter(name="balanceSimilarNodeGroups") + def balance_similar_node_groups(self) -> Optional[pulumi.Input[str]]: + """ + Valid values are 'true' and 'false' + """ + return pulumi.get(self, "balance_similar_node_groups") + + @balance_similar_node_groups.setter + def balance_similar_node_groups(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "balance_similar_node_groups", value) + + @property + @pulumi.getter + def expander(self) -> Optional[pulumi.Input[Union[str, 'Expander']]]: + """ + If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + """ + return pulumi.get(self, "expander") + + @expander.setter + def expander(self, value: Optional[pulumi.Input[Union[str, 'Expander']]]): + pulumi.set(self, "expander", value) + + @property + @pulumi.getter(name="maxEmptyBulkDelete") + def max_empty_bulk_delete(self) -> Optional[pulumi.Input[str]]: + """ + The default is 10. + """ + return pulumi.get(self, "max_empty_bulk_delete") + + @max_empty_bulk_delete.setter + def max_empty_bulk_delete(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_empty_bulk_delete", value) + + @property + @pulumi.getter(name="maxGracefulTerminationSec") + def max_graceful_termination_sec(self) -> Optional[pulumi.Input[str]]: + """ + The default is 600. + """ + return pulumi.get(self, "max_graceful_termination_sec") + + @max_graceful_termination_sec.setter + def max_graceful_termination_sec(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_graceful_termination_sec", value) + + @property + @pulumi.getter(name="maxNodeProvisionTime") + def max_node_provision_time(self) -> Optional[pulumi.Input[str]]: + """ + The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "max_node_provision_time") + + @max_node_provision_time.setter + def max_node_provision_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_node_provision_time", value) + + @property + @pulumi.getter(name="maxTotalUnreadyPercentage") + def max_total_unready_percentage(self) -> Optional[pulumi.Input[str]]: + """ + The default is 45. The maximum is 100 and the minimum is 0. + """ + return pulumi.get(self, "max_total_unready_percentage") + + @max_total_unready_percentage.setter + def max_total_unready_percentage(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_total_unready_percentage", value) + + @property + @pulumi.getter(name="newPodScaleUpDelay") + def new_pod_scale_up_delay(self) -> Optional[pulumi.Input[str]]: + """ + For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + """ + return pulumi.get(self, "new_pod_scale_up_delay") + + @new_pod_scale_up_delay.setter + def new_pod_scale_up_delay(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "new_pod_scale_up_delay", value) + + @property + @pulumi.getter(name="okTotalUnreadyCount") + def ok_total_unready_count(self) -> Optional[pulumi.Input[str]]: + """ + This must be an integer. The default is 3. + """ + return pulumi.get(self, "ok_total_unready_count") + + @ok_total_unready_count.setter + def ok_total_unready_count(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ok_total_unready_count", value) + + @property + @pulumi.getter(name="scaleDownDelayAfterAdd") + def scale_down_delay_after_add(self) -> Optional[pulumi.Input[str]]: + """ + The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_delay_after_add") + + @scale_down_delay_after_add.setter + def scale_down_delay_after_add(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale_down_delay_after_add", value) + + @property + @pulumi.getter(name="scaleDownDelayAfterDelete") + def scale_down_delay_after_delete(self) -> Optional[pulumi.Input[str]]: + """ + The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_delay_after_delete") + + @scale_down_delay_after_delete.setter + def scale_down_delay_after_delete(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale_down_delay_after_delete", value) + + @property + @pulumi.getter(name="scaleDownDelayAfterFailure") + def scale_down_delay_after_failure(self) -> Optional[pulumi.Input[str]]: + """ + The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_delay_after_failure") + + @scale_down_delay_after_failure.setter + def scale_down_delay_after_failure(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale_down_delay_after_failure", value) + + @property + @pulumi.getter(name="scaleDownUnneededTime") + def scale_down_unneeded_time(self) -> Optional[pulumi.Input[str]]: + """ + The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_unneeded_time") + + @scale_down_unneeded_time.setter + def scale_down_unneeded_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale_down_unneeded_time", value) + + @property + @pulumi.getter(name="scaleDownUnreadyTime") + def scale_down_unready_time(self) -> Optional[pulumi.Input[str]]: + """ + The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_unready_time") + + @scale_down_unready_time.setter + def scale_down_unready_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale_down_unready_time", value) + + @property + @pulumi.getter(name="scaleDownUtilizationThreshold") + def scale_down_utilization_threshold(self) -> Optional[pulumi.Input[str]]: + """ + The default is '0.5'. + """ + return pulumi.get(self, "scale_down_utilization_threshold") + + @scale_down_utilization_threshold.setter + def scale_down_utilization_threshold(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scale_down_utilization_threshold", value) + + @property + @pulumi.getter(name="scanInterval") + def scan_interval(self) -> Optional[pulumi.Input[str]]: + """ + The default is '10'. Values must be an integer number of seconds. + """ + return pulumi.get(self, "scan_interval") + + @scan_interval.setter + def scan_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scan_interval", value) + + @property + @pulumi.getter(name="skipNodesWithLocalStorage") + def skip_nodes_with_local_storage(self) -> Optional[pulumi.Input[str]]: + """ + The default is true. + """ + return pulumi.get(self, "skip_nodes_with_local_storage") + + @skip_nodes_with_local_storage.setter + def skip_nodes_with_local_storage(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "skip_nodes_with_local_storage", value) + + @property + @pulumi.getter(name="skipNodesWithSystemPods") + def skip_nodes_with_system_pods(self) -> Optional[pulumi.Input[str]]: + """ + The default is true. + """ + return pulumi.get(self, "skip_nodes_with_system_pods") + + @skip_nodes_with_system_pods.setter + def skip_nodes_with_system_pods(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "skip_nodes_with_system_pods", value) + + +@pulumi.input_type +class ManagedClusterSKUArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[Union[str, 'ManagedClusterSKUName']]] = None, + tier: Optional[pulumi.Input[Union[str, 'ManagedClusterSKUTier']]] = None): + """ + The SKU of a Managed Cluster. + :param pulumi.Input[Union[str, 'ManagedClusterSKUName']] name: The name of a managed cluster SKU. + :param pulumi.Input[Union[str, 'ManagedClusterSKUTier']] tier: If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Union[str, 'ManagedClusterSKUName']]]: + """ + The name of a managed cluster SKU. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Union[str, 'ManagedClusterSKUName']]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input[Union[str, 'ManagedClusterSKUTier']]]: + """ + If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input[Union[str, 'ManagedClusterSKUTier']]]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + Microsoft Defender settings for the security profile threat detection. + :param pulumi.Input[bool] enabled: Whether to enable Defender threat detection + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Defender threat detection + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterSecurityProfileDefenderArgs: + def __init__(__self__, *, + log_analytics_workspace_resource_id: Optional[pulumi.Input[str]] = None, + security_monitoring: Optional[pulumi.Input['ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs']] = None): + """ + Microsoft Defender settings for the security profile. + :param pulumi.Input[str] log_analytics_workspace_resource_id: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + :param pulumi.Input['ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs'] security_monitoring: Microsoft Defender threat detection for Cloud settings for the security profile. + """ + if log_analytics_workspace_resource_id is not None: + pulumi.set(__self__, "log_analytics_workspace_resource_id", log_analytics_workspace_resource_id) + if security_monitoring is not None: + pulumi.set(__self__, "security_monitoring", security_monitoring) + + @property + @pulumi.getter(name="logAnalyticsWorkspaceResourceId") + def log_analytics_workspace_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + """ + return pulumi.get(self, "log_analytics_workspace_resource_id") + + @log_analytics_workspace_resource_id.setter + def log_analytics_workspace_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_resource_id", value) + + @property + @pulumi.getter(name="securityMonitoring") + def security_monitoring(self) -> Optional[pulumi.Input['ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs']]: + """ + Microsoft Defender threat detection for Cloud settings for the security profile. + """ + return pulumi.get(self, "security_monitoring") + + @security_monitoring.setter + def security_monitoring(self, value: Optional[pulumi.Input['ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs']]): + pulumi.set(self, "security_monitoring", value) + + +@pulumi.input_type +class ManagedClusterSecurityProfileImageCleanerArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None, + interval_hours: Optional[pulumi.Input[int]] = None): + """ + Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. + :param pulumi.Input[bool] enabled: Whether to enable Image Cleaner on AKS cluster. + :param pulumi.Input[int] interval_hours: Image Cleaner scanning interval in hours. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if interval_hours is not None: + pulumi.set(__self__, "interval_hours", interval_hours) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Image Cleaner on AKS cluster. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="intervalHours") + def interval_hours(self) -> Optional[pulumi.Input[int]]: + """ + Image Cleaner scanning interval in hours. + """ + return pulumi.get(self, "interval_hours") + + @interval_hours.setter + def interval_hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval_hours", value) + + +@pulumi.input_type +class ManagedClusterSecurityProfileWorkloadIdentityArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + Workload identity settings for the security profile. + :param pulumi.Input[bool] enabled: Whether to enable workload identity. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable workload identity. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterSecurityProfileArgs: + def __init__(__self__, *, + azure_key_vault_kms: Optional[pulumi.Input['AzureKeyVaultKmsArgs']] = None, + defender: Optional[pulumi.Input['ManagedClusterSecurityProfileDefenderArgs']] = None, + image_cleaner: Optional[pulumi.Input['ManagedClusterSecurityProfileImageCleanerArgs']] = None, + workload_identity: Optional[pulumi.Input['ManagedClusterSecurityProfileWorkloadIdentityArgs']] = None): + """ + Security profile for the container service cluster. + :param pulumi.Input['AzureKeyVaultKmsArgs'] azure_key_vault_kms: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + :param pulumi.Input['ManagedClusterSecurityProfileDefenderArgs'] defender: Microsoft Defender settings for the security profile. + :param pulumi.Input['ManagedClusterSecurityProfileImageCleanerArgs'] image_cleaner: Image Cleaner settings for the security profile. + :param pulumi.Input['ManagedClusterSecurityProfileWorkloadIdentityArgs'] workload_identity: Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + """ + if azure_key_vault_kms is not None: + pulumi.set(__self__, "azure_key_vault_kms", azure_key_vault_kms) + if defender is not None: + pulumi.set(__self__, "defender", defender) + if image_cleaner is not None: + pulumi.set(__self__, "image_cleaner", image_cleaner) + if workload_identity is not None: + pulumi.set(__self__, "workload_identity", workload_identity) + + @property + @pulumi.getter(name="azureKeyVaultKms") + def azure_key_vault_kms(self) -> Optional[pulumi.Input['AzureKeyVaultKmsArgs']]: + """ + Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + """ + return pulumi.get(self, "azure_key_vault_kms") + + @azure_key_vault_kms.setter + def azure_key_vault_kms(self, value: Optional[pulumi.Input['AzureKeyVaultKmsArgs']]): + pulumi.set(self, "azure_key_vault_kms", value) + + @property + @pulumi.getter + def defender(self) -> Optional[pulumi.Input['ManagedClusterSecurityProfileDefenderArgs']]: + """ + Microsoft Defender settings for the security profile. + """ + return pulumi.get(self, "defender") + + @defender.setter + def defender(self, value: Optional[pulumi.Input['ManagedClusterSecurityProfileDefenderArgs']]): + pulumi.set(self, "defender", value) + + @property + @pulumi.getter(name="imageCleaner") + def image_cleaner(self) -> Optional[pulumi.Input['ManagedClusterSecurityProfileImageCleanerArgs']]: + """ + Image Cleaner settings for the security profile. + """ + return pulumi.get(self, "image_cleaner") + + @image_cleaner.setter + def image_cleaner(self, value: Optional[pulumi.Input['ManagedClusterSecurityProfileImageCleanerArgs']]): + pulumi.set(self, "image_cleaner", value) + + @property + @pulumi.getter(name="workloadIdentity") + def workload_identity(self) -> Optional[pulumi.Input['ManagedClusterSecurityProfileWorkloadIdentityArgs']]: + """ + Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + """ + return pulumi.get(self, "workload_identity") + + @workload_identity.setter + def workload_identity(self, value: Optional[pulumi.Input['ManagedClusterSecurityProfileWorkloadIdentityArgs']]): + pulumi.set(self, "workload_identity", value) + + +@pulumi.input_type +class ManagedClusterServicePrincipalProfileArgs: + def __init__(__self__, *, + client_id: pulumi.Input[str], + secret: Optional[pulumi.Input[str]] = None): + """ + Information about a service principal identity for the cluster to use for manipulating Azure APIs. + :param pulumi.Input[str] client_id: The ID for the service principal. + :param pulumi.Input[str] secret: The secret password associated with the service principal in plain text. + """ + pulumi.set(__self__, "client_id", client_id) + if secret is not None: + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> pulumi.Input[str]: + """ + The ID for the service principal. + """ + return pulumi.get(self, "client_id") + + @client_id.setter + def client_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_id", value) + + @property + @pulumi.getter + def secret(self) -> Optional[pulumi.Input[str]]: + """ + The secret password associated with the service principal in plain text. + """ + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret", value) + + +@pulumi.input_type +class ManagedClusterStorageProfileBlobCSIDriverArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + AzureBlob CSI Driver settings for the storage profile. + :param pulumi.Input[bool] enabled: Whether to enable AzureBlob CSI Driver. The default value is false. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable AzureBlob CSI Driver. The default value is false. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterStorageProfileDiskCSIDriverArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + AzureDisk CSI Driver settings for the storage profile. + :param pulumi.Input[bool] enabled: Whether to enable AzureDisk CSI Driver. The default value is true. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable AzureDisk CSI Driver. The default value is true. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterStorageProfileFileCSIDriverArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + AzureFile CSI Driver settings for the storage profile. + :param pulumi.Input[bool] enabled: Whether to enable AzureFile CSI Driver. The default value is true. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable AzureFile CSI Driver. The default value is true. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterStorageProfileSnapshotControllerArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + Snapshot Controller settings for the storage profile. + :param pulumi.Input[bool] enabled: Whether to enable Snapshot Controller. The default value is true. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Snapshot Controller. The default value is true. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterStorageProfileArgs: + def __init__(__self__, *, + blob_csi_driver: Optional[pulumi.Input['ManagedClusterStorageProfileBlobCSIDriverArgs']] = None, + disk_csi_driver: Optional[pulumi.Input['ManagedClusterStorageProfileDiskCSIDriverArgs']] = None, + file_csi_driver: Optional[pulumi.Input['ManagedClusterStorageProfileFileCSIDriverArgs']] = None, + snapshot_controller: Optional[pulumi.Input['ManagedClusterStorageProfileSnapshotControllerArgs']] = None): + """ + Storage profile for the container service cluster. + :param pulumi.Input['ManagedClusterStorageProfileBlobCSIDriverArgs'] blob_csi_driver: AzureBlob CSI Driver settings for the storage profile. + :param pulumi.Input['ManagedClusterStorageProfileDiskCSIDriverArgs'] disk_csi_driver: AzureDisk CSI Driver settings for the storage profile. + :param pulumi.Input['ManagedClusterStorageProfileFileCSIDriverArgs'] file_csi_driver: AzureFile CSI Driver settings for the storage profile. + :param pulumi.Input['ManagedClusterStorageProfileSnapshotControllerArgs'] snapshot_controller: Snapshot Controller settings for the storage profile. + """ + if blob_csi_driver is not None: + pulumi.set(__self__, "blob_csi_driver", blob_csi_driver) + if disk_csi_driver is not None: + pulumi.set(__self__, "disk_csi_driver", disk_csi_driver) + if file_csi_driver is not None: + pulumi.set(__self__, "file_csi_driver", file_csi_driver) + if snapshot_controller is not None: + pulumi.set(__self__, "snapshot_controller", snapshot_controller) + + @property + @pulumi.getter(name="blobCSIDriver") + def blob_csi_driver(self) -> Optional[pulumi.Input['ManagedClusterStorageProfileBlobCSIDriverArgs']]: + """ + AzureBlob CSI Driver settings for the storage profile. + """ + return pulumi.get(self, "blob_csi_driver") + + @blob_csi_driver.setter + def blob_csi_driver(self, value: Optional[pulumi.Input['ManagedClusterStorageProfileBlobCSIDriverArgs']]): + pulumi.set(self, "blob_csi_driver", value) + + @property + @pulumi.getter(name="diskCSIDriver") + def disk_csi_driver(self) -> Optional[pulumi.Input['ManagedClusterStorageProfileDiskCSIDriverArgs']]: + """ + AzureDisk CSI Driver settings for the storage profile. + """ + return pulumi.get(self, "disk_csi_driver") + + @disk_csi_driver.setter + def disk_csi_driver(self, value: Optional[pulumi.Input['ManagedClusterStorageProfileDiskCSIDriverArgs']]): + pulumi.set(self, "disk_csi_driver", value) + + @property + @pulumi.getter(name="fileCSIDriver") + def file_csi_driver(self) -> Optional[pulumi.Input['ManagedClusterStorageProfileFileCSIDriverArgs']]: + """ + AzureFile CSI Driver settings for the storage profile. + """ + return pulumi.get(self, "file_csi_driver") + + @file_csi_driver.setter + def file_csi_driver(self, value: Optional[pulumi.Input['ManagedClusterStorageProfileFileCSIDriverArgs']]): + pulumi.set(self, "file_csi_driver", value) + + @property + @pulumi.getter(name="snapshotController") + def snapshot_controller(self) -> Optional[pulumi.Input['ManagedClusterStorageProfileSnapshotControllerArgs']]: + """ + Snapshot Controller settings for the storage profile. + """ + return pulumi.get(self, "snapshot_controller") + + @snapshot_controller.setter + def snapshot_controller(self, value: Optional[pulumi.Input['ManagedClusterStorageProfileSnapshotControllerArgs']]): + pulumi.set(self, "snapshot_controller", value) + + +@pulumi.input_type +class ManagedClusterWindowsProfileArgs: + def __init__(__self__, *, + admin_username: pulumi.Input[str], + admin_password: Optional[pulumi.Input[str]] = None, + enable_csi_proxy: Optional[pulumi.Input[bool]] = None, + gmsa_profile: Optional[pulumi.Input['WindowsGmsaProfileArgs']] = None, + license_type: Optional[pulumi.Input[Union[str, 'LicenseType']]] = None): + """ + Profile for Windows VMs in the managed cluster. + :param pulumi.Input[str] admin_username: Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + :param pulumi.Input[str] admin_password: Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + :param pulumi.Input[bool] enable_csi_proxy: For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + :param pulumi.Input['WindowsGmsaProfileArgs'] gmsa_profile: The Windows gMSA Profile in the Managed Cluster. + :param pulumi.Input[Union[str, 'LicenseType']] license_type: The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + """ + pulumi.set(__self__, "admin_username", admin_username) + if admin_password is not None: + pulumi.set(__self__, "admin_password", admin_password) + if enable_csi_proxy is not None: + pulumi.set(__self__, "enable_csi_proxy", enable_csi_proxy) + if gmsa_profile is not None: + pulumi.set(__self__, "gmsa_profile", gmsa_profile) + if license_type is not None: + pulumi.set(__self__, "license_type", license_type) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> pulumi.Input[str]: + """ + Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + """ + return pulumi.get(self, "admin_username") + + @admin_username.setter + def admin_username(self, value: pulumi.Input[str]): + pulumi.set(self, "admin_username", value) + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + """ + return pulumi.get(self, "admin_password") + + @admin_password.setter + def admin_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "admin_password", value) + + @property + @pulumi.getter(name="enableCSIProxy") + def enable_csi_proxy(self) -> Optional[pulumi.Input[bool]]: + """ + For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + """ + return pulumi.get(self, "enable_csi_proxy") + + @enable_csi_proxy.setter + def enable_csi_proxy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_csi_proxy", value) + + @property + @pulumi.getter(name="gmsaProfile") + def gmsa_profile(self) -> Optional[pulumi.Input['WindowsGmsaProfileArgs']]: + """ + The Windows gMSA Profile in the Managed Cluster. + """ + return pulumi.get(self, "gmsa_profile") + + @gmsa_profile.setter + def gmsa_profile(self, value: Optional[pulumi.Input['WindowsGmsaProfileArgs']]): + pulumi.set(self, "gmsa_profile", value) + + @property + @pulumi.getter(name="licenseType") + def license_type(self) -> Optional[pulumi.Input[Union[str, 'LicenseType']]]: + """ + The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + """ + return pulumi.get(self, "license_type") + + @license_type.setter + def license_type(self, value: Optional[pulumi.Input[Union[str, 'LicenseType']]]): + pulumi.set(self, "license_type", value) + + +@pulumi.input_type +class ManagedClusterWorkloadAutoScalerProfileKedaArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool]): + """ + KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + :param pulumi.Input[bool] enabled: Whether to enable KEDA. + """ + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Whether to enable KEDA. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + """ + VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + :param pulumi.Input[bool] enabled: Whether to enable VPA. Default value is false. + """ + if enabled is None: + enabled = False + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Whether to enable VPA. Default value is false. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ManagedClusterWorkloadAutoScalerProfileArgs: + def __init__(__self__, *, + keda: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileKedaArgs']] = None, + vertical_pod_autoscaler: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs']] = None): + """ + Workload Auto-scaler profile for the managed cluster. + :param pulumi.Input['ManagedClusterWorkloadAutoScalerProfileKedaArgs'] keda: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + :param pulumi.Input['ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs'] vertical_pod_autoscaler: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + """ + if keda is not None: + pulumi.set(__self__, "keda", keda) + if vertical_pod_autoscaler is not None: + pulumi.set(__self__, "vertical_pod_autoscaler", vertical_pod_autoscaler) + + @property + @pulumi.getter + def keda(self) -> Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileKedaArgs']]: + """ + KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + """ + return pulumi.get(self, "keda") + + @keda.setter + def keda(self, value: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileKedaArgs']]): + pulumi.set(self, "keda", value) + + @property + @pulumi.getter(name="verticalPodAutoscaler") + def vertical_pod_autoscaler(self) -> Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs']]: + """ + VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + """ + return pulumi.get(self, "vertical_pod_autoscaler") + + @vertical_pod_autoscaler.setter + def vertical_pod_autoscaler(self, value: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs']]): + pulumi.set(self, "vertical_pod_autoscaler", value) + + +@pulumi.input_type +class PowerStateArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[Union[str, 'Code']]] = None): + """ + Describes the Power State of the cluster + :param pulumi.Input[Union[str, 'Code']] code: Tells whether the cluster is Running or Stopped + """ + if code is not None: + pulumi.set(__self__, "code", code) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[Union[str, 'Code']]]: + """ + Tells whether the cluster is Running or Stopped + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[Union[str, 'Code']]]): + pulumi.set(self, "code", value) + + +@pulumi.input_type +class PrivateEndpointArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Private endpoint which a connection belongs to. + :param pulumi.Input[str] id: The resource ID of the private endpoint + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of the private endpoint + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class PrivateLinkResourceArgs: + def __init__(__self__, *, + group_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + required_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + A private link resource + :param pulumi.Input[str] group_id: The group ID of the resource. + :param pulumi.Input[str] id: The ID of the private link resource. + :param pulumi.Input[str] name: The name of the private link resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] required_members: The RequiredMembers of the resource + :param pulumi.Input[str] type: The resource type. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if id is not None: + pulumi.set(__self__, "id", id) + if name is not None: + pulumi.set(__self__, "name", name) + if required_members is not None: + pulumi.set(__self__, "required_members", required_members) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + The group ID of the resource. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the private link resource. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private link resource. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="requiredMembers") + def required_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The RequiredMembers of the resource + """ + return pulumi.get(self, "required_members") + + @required_members.setter + def required_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "required_members", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The resource type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStateArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'ConnectionStatus']]] = None): + """ + The state of a private link service connection. + :param pulumi.Input[str] description: The private link service connection description. + :param pulumi.Input[Union[str, 'ConnectionStatus']] status: The private link service connection status. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'ConnectionStatus']]]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'ConnectionStatus']]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class RelativeMonthlyScheduleArgs: + def __init__(__self__, *, + day_of_week: pulumi.Input[Union[str, 'WeekDay']], + interval_months: pulumi.Input[int], + week_index: pulumi.Input[Union[str, 'Type']]): + """ + For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + :param pulumi.Input[Union[str, 'WeekDay']] day_of_week: Specifies on which day of the week the maintenance occurs. + :param pulumi.Input[int] interval_months: Specifies the number of months between each set of occurrences. + :param pulumi.Input[Union[str, 'Type']] week_index: Specifies on which week of the month the dayOfWeek applies. + """ + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "interval_months", interval_months) + pulumi.set(__self__, "week_index", week_index) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> pulumi.Input[Union[str, 'WeekDay']]: + """ + Specifies on which day of the week the maintenance occurs. + """ + return pulumi.get(self, "day_of_week") + + @day_of_week.setter + def day_of_week(self, value: pulumi.Input[Union[str, 'WeekDay']]): + pulumi.set(self, "day_of_week", value) + + @property + @pulumi.getter(name="intervalMonths") + def interval_months(self) -> pulumi.Input[int]: + """ + Specifies the number of months between each set of occurrences. + """ + return pulumi.get(self, "interval_months") + + @interval_months.setter + def interval_months(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_months", value) + + @property + @pulumi.getter(name="weekIndex") + def week_index(self) -> pulumi.Input[Union[str, 'Type']]: + """ + Specifies on which week of the month the dayOfWeek applies. + """ + return pulumi.get(self, "week_index") + + @week_index.setter + def week_index(self, value: pulumi.Input[Union[str, 'Type']]): + pulumi.set(self, "week_index", value) + + +@pulumi.input_type +class ResourceReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + A reference to an Azure resource. + :param pulumi.Input[str] id: The fully qualified Azure resource id. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The fully qualified Azure resource id. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class ScheduleArgs: + def __init__(__self__, *, + absolute_monthly: Optional[pulumi.Input['AbsoluteMonthlyScheduleArgs']] = None, + daily: Optional[pulumi.Input['DailyScheduleArgs']] = None, + relative_monthly: Optional[pulumi.Input['RelativeMonthlyScheduleArgs']] = None, + weekly: Optional[pulumi.Input['WeeklyScheduleArgs']] = None): + """ + One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. + :param pulumi.Input['AbsoluteMonthlyScheduleArgs'] absolute_monthly: For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + :param pulumi.Input['DailyScheduleArgs'] daily: For schedules like: 'recur every day' or 'recur every 3 days'. + :param pulumi.Input['RelativeMonthlyScheduleArgs'] relative_monthly: For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + :param pulumi.Input['WeeklyScheduleArgs'] weekly: For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + """ + if absolute_monthly is not None: + pulumi.set(__self__, "absolute_monthly", absolute_monthly) + if daily is not None: + pulumi.set(__self__, "daily", daily) + if relative_monthly is not None: + pulumi.set(__self__, "relative_monthly", relative_monthly) + if weekly is not None: + pulumi.set(__self__, "weekly", weekly) + + @property + @pulumi.getter(name="absoluteMonthly") + def absolute_monthly(self) -> Optional[pulumi.Input['AbsoluteMonthlyScheduleArgs']]: + """ + For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + """ + return pulumi.get(self, "absolute_monthly") + + @absolute_monthly.setter + def absolute_monthly(self, value: Optional[pulumi.Input['AbsoluteMonthlyScheduleArgs']]): + pulumi.set(self, "absolute_monthly", value) + + @property + @pulumi.getter + def daily(self) -> Optional[pulumi.Input['DailyScheduleArgs']]: + """ + For schedules like: 'recur every day' or 'recur every 3 days'. + """ + return pulumi.get(self, "daily") + + @daily.setter + def daily(self, value: Optional[pulumi.Input['DailyScheduleArgs']]): + pulumi.set(self, "daily", value) + + @property + @pulumi.getter(name="relativeMonthly") + def relative_monthly(self) -> Optional[pulumi.Input['RelativeMonthlyScheduleArgs']]: + """ + For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + """ + return pulumi.get(self, "relative_monthly") + + @relative_monthly.setter + def relative_monthly(self, value: Optional[pulumi.Input['RelativeMonthlyScheduleArgs']]): + pulumi.set(self, "relative_monthly", value) + + @property + @pulumi.getter + def weekly(self) -> Optional[pulumi.Input['WeeklyScheduleArgs']]: + """ + For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + """ + return pulumi.get(self, "weekly") + + @weekly.setter + def weekly(self, value: Optional[pulumi.Input['WeeklyScheduleArgs']]): + pulumi.set(self, "weekly", value) + + +@pulumi.input_type +class ServiceMeshProfileArgs: + def __init__(__self__, *, + mode: pulumi.Input[Union[str, 'ServiceMeshMode']], + istio: Optional[pulumi.Input['IstioServiceMeshArgs']] = None): + """ + Service mesh profile for a managed cluster. + :param pulumi.Input[Union[str, 'ServiceMeshMode']] mode: Mode of the service mesh. + :param pulumi.Input['IstioServiceMeshArgs'] istio: Istio service mesh configuration. + """ + pulumi.set(__self__, "mode", mode) + if istio is not None: + pulumi.set(__self__, "istio", istio) + + @property + @pulumi.getter + def mode(self) -> pulumi.Input[Union[str, 'ServiceMeshMode']]: + """ + Mode of the service mesh. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: pulumi.Input[Union[str, 'ServiceMeshMode']]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter + def istio(self) -> Optional[pulumi.Input['IstioServiceMeshArgs']]: + """ + Istio service mesh configuration. + """ + return pulumi.get(self, "istio") + + @istio.setter + def istio(self, value: Optional[pulumi.Input['IstioServiceMeshArgs']]): + pulumi.set(self, "istio", value) + + +@pulumi.input_type +class SysctlConfigArgs: + def __init__(__self__, *, + fs_aio_max_nr: Optional[pulumi.Input[int]] = None, + fs_file_max: Optional[pulumi.Input[int]] = None, + fs_inotify_max_user_watches: Optional[pulumi.Input[int]] = None, + fs_nr_open: Optional[pulumi.Input[int]] = None, + kernel_threads_max: Optional[pulumi.Input[int]] = None, + net_core_netdev_max_backlog: Optional[pulumi.Input[int]] = None, + net_core_optmem_max: Optional[pulumi.Input[int]] = None, + net_core_rmem_default: Optional[pulumi.Input[int]] = None, + net_core_rmem_max: Optional[pulumi.Input[int]] = None, + net_core_somaxconn: Optional[pulumi.Input[int]] = None, + net_core_wmem_default: Optional[pulumi.Input[int]] = None, + net_core_wmem_max: Optional[pulumi.Input[int]] = None, + net_ipv4_ip_local_port_range: Optional[pulumi.Input[str]] = None, + net_ipv4_neigh_default_gc_thresh1: Optional[pulumi.Input[int]] = None, + net_ipv4_neigh_default_gc_thresh2: Optional[pulumi.Input[int]] = None, + net_ipv4_neigh_default_gc_thresh3: Optional[pulumi.Input[int]] = None, + net_ipv4_tcp_fin_timeout: Optional[pulumi.Input[int]] = None, + net_ipv4_tcp_keepalive_probes: Optional[pulumi.Input[int]] = None, + net_ipv4_tcp_keepalive_time: Optional[pulumi.Input[int]] = None, + net_ipv4_tcp_max_syn_backlog: Optional[pulumi.Input[int]] = None, + net_ipv4_tcp_max_tw_buckets: Optional[pulumi.Input[int]] = None, + net_ipv4_tcp_tw_reuse: Optional[pulumi.Input[bool]] = None, + net_ipv4_tcpkeepalive_intvl: Optional[pulumi.Input[int]] = None, + net_netfilter_nf_conntrack_buckets: Optional[pulumi.Input[int]] = None, + net_netfilter_nf_conntrack_max: Optional[pulumi.Input[int]] = None, + vm_max_map_count: Optional[pulumi.Input[int]] = None, + vm_swappiness: Optional[pulumi.Input[int]] = None, + vm_vfs_cache_pressure: Optional[pulumi.Input[int]] = None): + """ + Sysctl settings for Linux agent nodes. + :param pulumi.Input[int] fs_aio_max_nr: Sysctl setting fs.aio-max-nr. + :param pulumi.Input[int] fs_file_max: Sysctl setting fs.file-max. + :param pulumi.Input[int] fs_inotify_max_user_watches: Sysctl setting fs.inotify.max_user_watches. + :param pulumi.Input[int] fs_nr_open: Sysctl setting fs.nr_open. + :param pulumi.Input[int] kernel_threads_max: Sysctl setting kernel.threads-max. + :param pulumi.Input[int] net_core_netdev_max_backlog: Sysctl setting net.core.netdev_max_backlog. + :param pulumi.Input[int] net_core_optmem_max: Sysctl setting net.core.optmem_max. + :param pulumi.Input[int] net_core_rmem_default: Sysctl setting net.core.rmem_default. + :param pulumi.Input[int] net_core_rmem_max: Sysctl setting net.core.rmem_max. + :param pulumi.Input[int] net_core_somaxconn: Sysctl setting net.core.somaxconn. + :param pulumi.Input[int] net_core_wmem_default: Sysctl setting net.core.wmem_default. + :param pulumi.Input[int] net_core_wmem_max: Sysctl setting net.core.wmem_max. + :param pulumi.Input[str] net_ipv4_ip_local_port_range: Sysctl setting net.ipv4.ip_local_port_range. + :param pulumi.Input[int] net_ipv4_neigh_default_gc_thresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1. + :param pulumi.Input[int] net_ipv4_neigh_default_gc_thresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2. + :param pulumi.Input[int] net_ipv4_neigh_default_gc_thresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3. + :param pulumi.Input[int] net_ipv4_tcp_fin_timeout: Sysctl setting net.ipv4.tcp_fin_timeout. + :param pulumi.Input[int] net_ipv4_tcp_keepalive_probes: Sysctl setting net.ipv4.tcp_keepalive_probes. + :param pulumi.Input[int] net_ipv4_tcp_keepalive_time: Sysctl setting net.ipv4.tcp_keepalive_time. + :param pulumi.Input[int] net_ipv4_tcp_max_syn_backlog: Sysctl setting net.ipv4.tcp_max_syn_backlog. + :param pulumi.Input[int] net_ipv4_tcp_max_tw_buckets: Sysctl setting net.ipv4.tcp_max_tw_buckets. + :param pulumi.Input[bool] net_ipv4_tcp_tw_reuse: Sysctl setting net.ipv4.tcp_tw_reuse. + :param pulumi.Input[int] net_ipv4_tcpkeepalive_intvl: Sysctl setting net.ipv4.tcp_keepalive_intvl. + :param pulumi.Input[int] net_netfilter_nf_conntrack_buckets: Sysctl setting net.netfilter.nf_conntrack_buckets. + :param pulumi.Input[int] net_netfilter_nf_conntrack_max: Sysctl setting net.netfilter.nf_conntrack_max. + :param pulumi.Input[int] vm_max_map_count: Sysctl setting vm.max_map_count. + :param pulumi.Input[int] vm_swappiness: Sysctl setting vm.swappiness. + :param pulumi.Input[int] vm_vfs_cache_pressure: Sysctl setting vm.vfs_cache_pressure. + """ + if fs_aio_max_nr is not None: + pulumi.set(__self__, "fs_aio_max_nr", fs_aio_max_nr) + if fs_file_max is not None: + pulumi.set(__self__, "fs_file_max", fs_file_max) + if fs_inotify_max_user_watches is not None: + pulumi.set(__self__, "fs_inotify_max_user_watches", fs_inotify_max_user_watches) + if fs_nr_open is not None: + pulumi.set(__self__, "fs_nr_open", fs_nr_open) + if kernel_threads_max is not None: + pulumi.set(__self__, "kernel_threads_max", kernel_threads_max) + if net_core_netdev_max_backlog is not None: + pulumi.set(__self__, "net_core_netdev_max_backlog", net_core_netdev_max_backlog) + if net_core_optmem_max is not None: + pulumi.set(__self__, "net_core_optmem_max", net_core_optmem_max) + if net_core_rmem_default is not None: + pulumi.set(__self__, "net_core_rmem_default", net_core_rmem_default) + if net_core_rmem_max is not None: + pulumi.set(__self__, "net_core_rmem_max", net_core_rmem_max) + if net_core_somaxconn is not None: + pulumi.set(__self__, "net_core_somaxconn", net_core_somaxconn) + if net_core_wmem_default is not None: + pulumi.set(__self__, "net_core_wmem_default", net_core_wmem_default) + if net_core_wmem_max is not None: + pulumi.set(__self__, "net_core_wmem_max", net_core_wmem_max) + if net_ipv4_ip_local_port_range is not None: + pulumi.set(__self__, "net_ipv4_ip_local_port_range", net_ipv4_ip_local_port_range) + if net_ipv4_neigh_default_gc_thresh1 is not None: + pulumi.set(__self__, "net_ipv4_neigh_default_gc_thresh1", net_ipv4_neigh_default_gc_thresh1) + if net_ipv4_neigh_default_gc_thresh2 is not None: + pulumi.set(__self__, "net_ipv4_neigh_default_gc_thresh2", net_ipv4_neigh_default_gc_thresh2) + if net_ipv4_neigh_default_gc_thresh3 is not None: + pulumi.set(__self__, "net_ipv4_neigh_default_gc_thresh3", net_ipv4_neigh_default_gc_thresh3) + if net_ipv4_tcp_fin_timeout is not None: + pulumi.set(__self__, "net_ipv4_tcp_fin_timeout", net_ipv4_tcp_fin_timeout) + if net_ipv4_tcp_keepalive_probes is not None: + pulumi.set(__self__, "net_ipv4_tcp_keepalive_probes", net_ipv4_tcp_keepalive_probes) + if net_ipv4_tcp_keepalive_time is not None: + pulumi.set(__self__, "net_ipv4_tcp_keepalive_time", net_ipv4_tcp_keepalive_time) + if net_ipv4_tcp_max_syn_backlog is not None: + pulumi.set(__self__, "net_ipv4_tcp_max_syn_backlog", net_ipv4_tcp_max_syn_backlog) + if net_ipv4_tcp_max_tw_buckets is not None: + pulumi.set(__self__, "net_ipv4_tcp_max_tw_buckets", net_ipv4_tcp_max_tw_buckets) + if net_ipv4_tcp_tw_reuse is not None: + pulumi.set(__self__, "net_ipv4_tcp_tw_reuse", net_ipv4_tcp_tw_reuse) + if net_ipv4_tcpkeepalive_intvl is not None: + pulumi.set(__self__, "net_ipv4_tcpkeepalive_intvl", net_ipv4_tcpkeepalive_intvl) + if net_netfilter_nf_conntrack_buckets is not None: + pulumi.set(__self__, "net_netfilter_nf_conntrack_buckets", net_netfilter_nf_conntrack_buckets) + if net_netfilter_nf_conntrack_max is not None: + pulumi.set(__self__, "net_netfilter_nf_conntrack_max", net_netfilter_nf_conntrack_max) + if vm_max_map_count is not None: + pulumi.set(__self__, "vm_max_map_count", vm_max_map_count) + if vm_swappiness is not None: + pulumi.set(__self__, "vm_swappiness", vm_swappiness) + if vm_vfs_cache_pressure is not None: + pulumi.set(__self__, "vm_vfs_cache_pressure", vm_vfs_cache_pressure) + + @property + @pulumi.getter(name="fsAioMaxNr") + def fs_aio_max_nr(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting fs.aio-max-nr. + """ + return pulumi.get(self, "fs_aio_max_nr") + + @fs_aio_max_nr.setter + def fs_aio_max_nr(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "fs_aio_max_nr", value) + + @property + @pulumi.getter(name="fsFileMax") + def fs_file_max(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting fs.file-max. + """ + return pulumi.get(self, "fs_file_max") + + @fs_file_max.setter + def fs_file_max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "fs_file_max", value) + + @property + @pulumi.getter(name="fsInotifyMaxUserWatches") + def fs_inotify_max_user_watches(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting fs.inotify.max_user_watches. + """ + return pulumi.get(self, "fs_inotify_max_user_watches") + + @fs_inotify_max_user_watches.setter + def fs_inotify_max_user_watches(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "fs_inotify_max_user_watches", value) + + @property + @pulumi.getter(name="fsNrOpen") + def fs_nr_open(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting fs.nr_open. + """ + return pulumi.get(self, "fs_nr_open") + + @fs_nr_open.setter + def fs_nr_open(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "fs_nr_open", value) + + @property + @pulumi.getter(name="kernelThreadsMax") + def kernel_threads_max(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting kernel.threads-max. + """ + return pulumi.get(self, "kernel_threads_max") + + @kernel_threads_max.setter + def kernel_threads_max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "kernel_threads_max", value) + + @property + @pulumi.getter(name="netCoreNetdevMaxBacklog") + def net_core_netdev_max_backlog(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.netdev_max_backlog. + """ + return pulumi.get(self, "net_core_netdev_max_backlog") + + @net_core_netdev_max_backlog.setter + def net_core_netdev_max_backlog(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_netdev_max_backlog", value) + + @property + @pulumi.getter(name="netCoreOptmemMax") + def net_core_optmem_max(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.optmem_max. + """ + return pulumi.get(self, "net_core_optmem_max") + + @net_core_optmem_max.setter + def net_core_optmem_max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_optmem_max", value) + + @property + @pulumi.getter(name="netCoreRmemDefault") + def net_core_rmem_default(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.rmem_default. + """ + return pulumi.get(self, "net_core_rmem_default") + + @net_core_rmem_default.setter + def net_core_rmem_default(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_rmem_default", value) + + @property + @pulumi.getter(name="netCoreRmemMax") + def net_core_rmem_max(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.rmem_max. + """ + return pulumi.get(self, "net_core_rmem_max") + + @net_core_rmem_max.setter + def net_core_rmem_max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_rmem_max", value) + + @property + @pulumi.getter(name="netCoreSomaxconn") + def net_core_somaxconn(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.somaxconn. + """ + return pulumi.get(self, "net_core_somaxconn") + + @net_core_somaxconn.setter + def net_core_somaxconn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_somaxconn", value) + + @property + @pulumi.getter(name="netCoreWmemDefault") + def net_core_wmem_default(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.wmem_default. + """ + return pulumi.get(self, "net_core_wmem_default") + + @net_core_wmem_default.setter + def net_core_wmem_default(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_wmem_default", value) + + @property + @pulumi.getter(name="netCoreWmemMax") + def net_core_wmem_max(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.core.wmem_max. + """ + return pulumi.get(self, "net_core_wmem_max") + + @net_core_wmem_max.setter + def net_core_wmem_max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_core_wmem_max", value) + + @property + @pulumi.getter(name="netIpv4IpLocalPortRange") + def net_ipv4_ip_local_port_range(self) -> Optional[pulumi.Input[str]]: + """ + Sysctl setting net.ipv4.ip_local_port_range. + """ + return pulumi.get(self, "net_ipv4_ip_local_port_range") + + @net_ipv4_ip_local_port_range.setter + def net_ipv4_ip_local_port_range(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "net_ipv4_ip_local_port_range", value) + + @property + @pulumi.getter(name="netIpv4NeighDefaultGcThresh1") + def net_ipv4_neigh_default_gc_thresh1(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.neigh.default.gc_thresh1. + """ + return pulumi.get(self, "net_ipv4_neigh_default_gc_thresh1") + + @net_ipv4_neigh_default_gc_thresh1.setter + def net_ipv4_neigh_default_gc_thresh1(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_neigh_default_gc_thresh1", value) + + @property + @pulumi.getter(name="netIpv4NeighDefaultGcThresh2") + def net_ipv4_neigh_default_gc_thresh2(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.neigh.default.gc_thresh2. + """ + return pulumi.get(self, "net_ipv4_neigh_default_gc_thresh2") + + @net_ipv4_neigh_default_gc_thresh2.setter + def net_ipv4_neigh_default_gc_thresh2(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_neigh_default_gc_thresh2", value) + + @property + @pulumi.getter(name="netIpv4NeighDefaultGcThresh3") + def net_ipv4_neigh_default_gc_thresh3(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.neigh.default.gc_thresh3. + """ + return pulumi.get(self, "net_ipv4_neigh_default_gc_thresh3") + + @net_ipv4_neigh_default_gc_thresh3.setter + def net_ipv4_neigh_default_gc_thresh3(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_neigh_default_gc_thresh3", value) + + @property + @pulumi.getter(name="netIpv4TcpFinTimeout") + def net_ipv4_tcp_fin_timeout(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.tcp_fin_timeout. + """ + return pulumi.get(self, "net_ipv4_tcp_fin_timeout") + + @net_ipv4_tcp_fin_timeout.setter + def net_ipv4_tcp_fin_timeout(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_tcp_fin_timeout", value) + + @property + @pulumi.getter(name="netIpv4TcpKeepaliveProbes") + def net_ipv4_tcp_keepalive_probes(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.tcp_keepalive_probes. + """ + return pulumi.get(self, "net_ipv4_tcp_keepalive_probes") + + @net_ipv4_tcp_keepalive_probes.setter + def net_ipv4_tcp_keepalive_probes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_tcp_keepalive_probes", value) + + @property + @pulumi.getter(name="netIpv4TcpKeepaliveTime") + def net_ipv4_tcp_keepalive_time(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.tcp_keepalive_time. + """ + return pulumi.get(self, "net_ipv4_tcp_keepalive_time") + + @net_ipv4_tcp_keepalive_time.setter + def net_ipv4_tcp_keepalive_time(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_tcp_keepalive_time", value) + + @property + @pulumi.getter(name="netIpv4TcpMaxSynBacklog") + def net_ipv4_tcp_max_syn_backlog(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.tcp_max_syn_backlog. + """ + return pulumi.get(self, "net_ipv4_tcp_max_syn_backlog") + + @net_ipv4_tcp_max_syn_backlog.setter + def net_ipv4_tcp_max_syn_backlog(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_tcp_max_syn_backlog", value) + + @property + @pulumi.getter(name="netIpv4TcpMaxTwBuckets") + def net_ipv4_tcp_max_tw_buckets(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.tcp_max_tw_buckets. + """ + return pulumi.get(self, "net_ipv4_tcp_max_tw_buckets") + + @net_ipv4_tcp_max_tw_buckets.setter + def net_ipv4_tcp_max_tw_buckets(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_tcp_max_tw_buckets", value) + + @property + @pulumi.getter(name="netIpv4TcpTwReuse") + def net_ipv4_tcp_tw_reuse(self) -> Optional[pulumi.Input[bool]]: + """ + Sysctl setting net.ipv4.tcp_tw_reuse. + """ + return pulumi.get(self, "net_ipv4_tcp_tw_reuse") + + @net_ipv4_tcp_tw_reuse.setter + def net_ipv4_tcp_tw_reuse(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "net_ipv4_tcp_tw_reuse", value) + + @property + @pulumi.getter(name="netIpv4TcpkeepaliveIntvl") + def net_ipv4_tcpkeepalive_intvl(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.ipv4.tcp_keepalive_intvl. + """ + return pulumi.get(self, "net_ipv4_tcpkeepalive_intvl") + + @net_ipv4_tcpkeepalive_intvl.setter + def net_ipv4_tcpkeepalive_intvl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_ipv4_tcpkeepalive_intvl", value) + + @property + @pulumi.getter(name="netNetfilterNfConntrackBuckets") + def net_netfilter_nf_conntrack_buckets(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.netfilter.nf_conntrack_buckets. + """ + return pulumi.get(self, "net_netfilter_nf_conntrack_buckets") + + @net_netfilter_nf_conntrack_buckets.setter + def net_netfilter_nf_conntrack_buckets(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_netfilter_nf_conntrack_buckets", value) + + @property + @pulumi.getter(name="netNetfilterNfConntrackMax") + def net_netfilter_nf_conntrack_max(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting net.netfilter.nf_conntrack_max. + """ + return pulumi.get(self, "net_netfilter_nf_conntrack_max") + + @net_netfilter_nf_conntrack_max.setter + def net_netfilter_nf_conntrack_max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "net_netfilter_nf_conntrack_max", value) + + @property + @pulumi.getter(name="vmMaxMapCount") + def vm_max_map_count(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting vm.max_map_count. + """ + return pulumi.get(self, "vm_max_map_count") + + @vm_max_map_count.setter + def vm_max_map_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "vm_max_map_count", value) + + @property + @pulumi.getter(name="vmSwappiness") + def vm_swappiness(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting vm.swappiness. + """ + return pulumi.get(self, "vm_swappiness") + + @vm_swappiness.setter + def vm_swappiness(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "vm_swappiness", value) + + @property + @pulumi.getter(name="vmVfsCachePressure") + def vm_vfs_cache_pressure(self) -> Optional[pulumi.Input[int]]: + """ + Sysctl setting vm.vfs_cache_pressure. + """ + return pulumi.get(self, "vm_vfs_cache_pressure") + + @vm_vfs_cache_pressure.setter + def vm_vfs_cache_pressure(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "vm_vfs_cache_pressure", value) + + +@pulumi.input_type +class TimeInWeekArgs: + def __init__(__self__, *, + day: Optional[pulumi.Input[Union[str, 'WeekDay']]] = None, + hour_slots: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None): + """ + Time in a week. + :param pulumi.Input[Union[str, 'WeekDay']] day: The day of the week. + :param pulumi.Input[Sequence[pulumi.Input[int]]] hour_slots: Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + """ + if day is not None: + pulumi.set(__self__, "day", day) + if hour_slots is not None: + pulumi.set(__self__, "hour_slots", hour_slots) + + @property + @pulumi.getter + def day(self) -> Optional[pulumi.Input[Union[str, 'WeekDay']]]: + """ + The day of the week. + """ + return pulumi.get(self, "day") + + @day.setter + def day(self, value: Optional[pulumi.Input[Union[str, 'WeekDay']]]): + pulumi.set(self, "day", value) + + @property + @pulumi.getter(name="hourSlots") + def hour_slots(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]: + """ + Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + """ + return pulumi.get(self, "hour_slots") + + @hour_slots.setter + def hour_slots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]): + pulumi.set(self, "hour_slots", value) + + +@pulumi.input_type +class TimeSpanArgs: + def __init__(__self__, *, + end: Optional[pulumi.Input[str]] = None, + start: Optional[pulumi.Input[str]] = None): + """ + For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. + :param pulumi.Input[str] end: The end of a time span + :param pulumi.Input[str] start: The start of a time span + """ + if end is not None: + pulumi.set(__self__, "end", end) + if start is not None: + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> Optional[pulumi.Input[str]]: + """ + The end of a time span + """ + return pulumi.get(self, "end") + + @end.setter + def end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter + def start(self) -> Optional[pulumi.Input[str]]: + """ + The start of a time span + """ + return pulumi.get(self, "start") + + @start.setter + def start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start", value) + + +@pulumi.input_type +class UpgradeOverrideSettingsArgs: + def __init__(__self__, *, + force_upgrade: Optional[pulumi.Input[bool]] = None, + until: Optional[pulumi.Input[str]] = None): + """ + Settings for overrides when upgrading a cluster. + :param pulumi.Input[bool] force_upgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + :param pulumi.Input[str] until: Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + """ + if force_upgrade is not None: + pulumi.set(__self__, "force_upgrade", force_upgrade) + if until is not None: + pulumi.set(__self__, "until", until) + + @property + @pulumi.getter(name="forceUpgrade") + def force_upgrade(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + """ + return pulumi.get(self, "force_upgrade") + + @force_upgrade.setter + def force_upgrade(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_upgrade", value) + + @property + @pulumi.getter + def until(self) -> Optional[pulumi.Input[str]]: + """ + Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + """ + return pulumi.get(self, "until") + + @until.setter + def until(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "until", value) + + +@pulumi.input_type +class UserAssignedIdentityArgs: + def __init__(__self__, *, + client_id: Optional[pulumi.Input[str]] = None, + object_id: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None): + """ + Details about a user assigned identity. + :param pulumi.Input[str] client_id: The client ID of the user assigned identity. + :param pulumi.Input[str] object_id: The object ID of the user assigned identity. + :param pulumi.Input[str] resource_id: The resource ID of the user assigned identity. + """ + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> Optional[pulumi.Input[str]]: + """ + The client ID of the user assigned identity. + """ + return pulumi.get(self, "client_id") + + @client_id.setter + def client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_id", value) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[pulumi.Input[str]]: + """ + The object ID of the user assigned identity. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_id", value) + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of the user assigned identity. + """ + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_id", value) + + +@pulumi.input_type +class WeeklyScheduleArgs: + def __init__(__self__, *, + day_of_week: pulumi.Input[Union[str, 'WeekDay']], + interval_weeks: pulumi.Input[int]): + """ + For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + :param pulumi.Input[Union[str, 'WeekDay']] day_of_week: Specifies on which day of the week the maintenance occurs. + :param pulumi.Input[int] interval_weeks: Specifies the number of weeks between each set of occurrences. + """ + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "interval_weeks", interval_weeks) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> pulumi.Input[Union[str, 'WeekDay']]: + """ + Specifies on which day of the week the maintenance occurs. + """ + return pulumi.get(self, "day_of_week") + + @day_of_week.setter + def day_of_week(self, value: pulumi.Input[Union[str, 'WeekDay']]): + pulumi.set(self, "day_of_week", value) + + @property + @pulumi.getter(name="intervalWeeks") + def interval_weeks(self) -> pulumi.Input[int]: + """ + Specifies the number of weeks between each set of occurrences. + """ + return pulumi.get(self, "interval_weeks") + + @interval_weeks.setter + def interval_weeks(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_weeks", value) + + +@pulumi.input_type +class WindowsGmsaProfileArgs: + def __init__(__self__, *, + dns_server: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + root_domain_name: Optional[pulumi.Input[str]] = None): + """ + Windows gMSA Profile in the managed cluster. + :param pulumi.Input[str] dns_server: Specifies the DNS server for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + :param pulumi.Input[bool] enabled: Specifies whether to enable Windows gMSA in the managed cluster. + :param pulumi.Input[str] root_domain_name: Specifies the root domain name for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + """ + if dns_server is not None: + pulumi.set(__self__, "dns_server", dns_server) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if root_domain_name is not None: + pulumi.set(__self__, "root_domain_name", root_domain_name) + + @property + @pulumi.getter(name="dnsServer") + def dns_server(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the DNS server for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + """ + return pulumi.get(self, "dns_server") + + @dns_server.setter + def dns_server(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dns_server", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies whether to enable Windows gMSA in the managed cluster. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="rootDomainName") + def root_domain_name(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the root domain name for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + """ + return pulumi.get(self, "root_domain_name") + + @root_domain_name.setter + def root_domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "root_domain_name", value) + + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/agent_pool.py new file mode 100644 index 000000000000..f192e30bff13 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/agent_pool.py @@ -0,0 +1,1299 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AgentPoolArgs', 'AgentPool'] + +@pulumi.input_type +class AgentPoolArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + resource_name: pulumi.Input[str], + agent_pool_name: Optional[pulumi.Input[str]] = None, + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + count: Optional[pulumi.Input[int]] = None, + creation_data: Optional[pulumi.Input['CreationDataArgs']] = None, + enable_auto_scaling: Optional[pulumi.Input[bool]] = None, + enable_encryption_at_host: Optional[pulumi.Input[bool]] = None, + enable_fips: Optional[pulumi.Input[bool]] = None, + enable_node_public_ip: Optional[pulumi.Input[bool]] = None, + enable_ultra_ssd: Optional[pulumi.Input[bool]] = None, + gpu_instance_profile: Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]] = None, + host_group_id: Optional[pulumi.Input[str]] = None, + kubelet_config: Optional[pulumi.Input['KubeletConfigArgs']] = None, + kubelet_disk_type: Optional[pulumi.Input[Union[str, 'KubeletDiskType']]] = None, + linux_os_config: Optional[pulumi.Input['LinuxOSConfigArgs']] = None, + max_count: Optional[pulumi.Input[int]] = None, + max_pods: Optional[pulumi.Input[int]] = None, + min_count: Optional[pulumi.Input[int]] = None, + mode: Optional[pulumi.Input[Union[str, 'AgentPoolMode']]] = None, + node_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + node_public_ip_prefix_id: Optional[pulumi.Input[str]] = None, + node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + orchestrator_version: Optional[pulumi.Input[str]] = None, + os_disk_size_gb: Optional[pulumi.Input[int]] = None, + os_disk_type: Optional[pulumi.Input[Union[str, 'OSDiskType']]] = None, + os_sku: Optional[pulumi.Input[Union[str, 'OSSKU']]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OSType']]] = None, + pod_subnet_id: Optional[pulumi.Input[str]] = None, + power_state: Optional[pulumi.Input['PowerStateArgs']] = None, + proximity_placement_group_id: Optional[pulumi.Input[str]] = None, + scale_down_mode: Optional[pulumi.Input[Union[str, 'ScaleDownMode']]] = None, + scale_set_eviction_policy: Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]] = None, + scale_set_priority: Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]] = None, + spot_max_price: Optional[pulumi.Input[float]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'AgentPoolType']]] = None, + upgrade_settings: Optional[pulumi.Input['AgentPoolUpgradeSettingsArgs']] = None, + vm_size: Optional[pulumi.Input[str]] = None, + vnet_subnet_id: Optional[pulumi.Input[str]] = None, + workload_runtime: Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]] = None): + """ + The set of arguments for constructing a AgentPool resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name: The name of the managed cluster resource. + :param pulumi.Input[str] agent_pool_name: The name of the agent pool. + :param pulumi.Input[Sequence[pulumi.Input[str]]] availability_zones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + :param pulumi.Input[int] count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + :param pulumi.Input['CreationDataArgs'] creation_data: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + :param pulumi.Input[bool] enable_auto_scaling: Whether to enable auto-scaler + :param pulumi.Input[bool] enable_encryption_at_host: This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + :param pulumi.Input[bool] enable_fips: See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + :param pulumi.Input[bool] enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + :param pulumi.Input[bool] enable_ultra_ssd: Whether to enable UltraSSD + :param pulumi.Input[Union[str, 'GPUInstanceProfile']] gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + :param pulumi.Input[str] host_group_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + :param pulumi.Input['KubeletConfigArgs'] kubelet_config: The Kubelet configuration on the agent pool nodes. + :param pulumi.Input[Union[str, 'KubeletDiskType']] kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + :param pulumi.Input['LinuxOSConfigArgs'] linux_os_config: The OS configuration of Linux agent nodes. + :param pulumi.Input[int] max_count: The maximum number of nodes for auto-scaling + :param pulumi.Input[int] max_pods: The maximum number of pods that can run on a node. + :param pulumi.Input[int] min_count: The minimum number of nodes for auto-scaling + :param pulumi.Input[Union[str, 'AgentPoolMode']] mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_labels: The node labels to be persisted across all nodes in agent pool. + :param pulumi.Input[str] node_public_ip_prefix_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + :param pulumi.Input[Sequence[pulumi.Input[str]]] node_taints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + :param pulumi.Input[str] orchestrator_version: Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + :param pulumi.Input[int] os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + :param pulumi.Input[Union[str, 'OSDiskType']] os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + :param pulumi.Input[Union[str, 'OSSKU']] os_sku: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + :param pulumi.Input[Union[str, 'OSType']] os_type: The operating system type. The default is Linux. + :param pulumi.Input[str] pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param pulumi.Input['PowerStateArgs'] power_state: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + :param pulumi.Input[str] proximity_placement_group_id: The ID for Proximity Placement Group. + :param pulumi.Input[Union[str, 'ScaleDownMode']] scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + :param pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']] scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + :param pulumi.Input[Union[str, 'ScaleSetPriority']] scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + :param pulumi.Input[float] spot_max_price: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags to be persisted on the agent pool virtual machine scale set. + :param pulumi.Input[Union[str, 'AgentPoolType']] type: The type of Agent Pool. + :param pulumi.Input['AgentPoolUpgradeSettingsArgs'] upgrade_settings: Settings for upgrading the agentpool + :param pulumi.Input[str] vm_size: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + :param pulumi.Input[str] vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param pulumi.Input[Union[str, 'WorkloadRuntime']] workload_runtime: Determines the type of workload a node can run. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "resource_name", resource_name) + if agent_pool_name is not None: + pulumi.set(__self__, "agent_pool_name", agent_pool_name) + if availability_zones is not None: + pulumi.set(__self__, "availability_zones", availability_zones) + if count is not None: + pulumi.set(__self__, "count", count) + if creation_data is not None: + pulumi.set(__self__, "creation_data", creation_data) + if enable_auto_scaling is not None: + pulumi.set(__self__, "enable_auto_scaling", enable_auto_scaling) + if enable_encryption_at_host is not None: + pulumi.set(__self__, "enable_encryption_at_host", enable_encryption_at_host) + if enable_fips is not None: + pulumi.set(__self__, "enable_fips", enable_fips) + if enable_node_public_ip is not None: + pulumi.set(__self__, "enable_node_public_ip", enable_node_public_ip) + if enable_ultra_ssd is not None: + pulumi.set(__self__, "enable_ultra_ssd", enable_ultra_ssd) + if gpu_instance_profile is not None: + pulumi.set(__self__, "gpu_instance_profile", gpu_instance_profile) + if host_group_id is not None: + pulumi.set(__self__, "host_group_id", host_group_id) + if kubelet_config is not None: + pulumi.set(__self__, "kubelet_config", kubelet_config) + if kubelet_disk_type is not None: + pulumi.set(__self__, "kubelet_disk_type", kubelet_disk_type) + if linux_os_config is not None: + pulumi.set(__self__, "linux_os_config", linux_os_config) + if max_count is not None: + pulumi.set(__self__, "max_count", max_count) + if max_pods is not None: + pulumi.set(__self__, "max_pods", max_pods) + if min_count is not None: + pulumi.set(__self__, "min_count", min_count) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if node_labels is not None: + pulumi.set(__self__, "node_labels", node_labels) + if node_public_ip_prefix_id is not None: + pulumi.set(__self__, "node_public_ip_prefix_id", node_public_ip_prefix_id) + if node_taints is not None: + pulumi.set(__self__, "node_taints", node_taints) + if orchestrator_version is not None: + pulumi.set(__self__, "orchestrator_version", orchestrator_version) + if os_disk_size_gb is not None: + pulumi.set(__self__, "os_disk_size_gb", os_disk_size_gb) + if os_disk_type is not None: + pulumi.set(__self__, "os_disk_type", os_disk_type) + if os_sku is not None: + pulumi.set(__self__, "os_sku", os_sku) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + if pod_subnet_id is not None: + pulumi.set(__self__, "pod_subnet_id", pod_subnet_id) + if power_state is not None: + pulumi.set(__self__, "power_state", power_state) + if proximity_placement_group_id is not None: + pulumi.set(__self__, "proximity_placement_group_id", proximity_placement_group_id) + if scale_down_mode is not None: + pulumi.set(__self__, "scale_down_mode", scale_down_mode) + if scale_set_eviction_policy is not None: + pulumi.set(__self__, "scale_set_eviction_policy", scale_set_eviction_policy) + if scale_set_priority is not None: + pulumi.set(__self__, "scale_set_priority", scale_set_priority) + if spot_max_price is not None: + pulumi.set(__self__, "spot_max_price", spot_max_price) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if type is not None: + pulumi.set(__self__, "type", type) + if upgrade_settings is not None: + pulumi.set(__self__, "upgrade_settings", upgrade_settings) + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + if vnet_subnet_id is not None: + pulumi.set(__self__, "vnet_subnet_id", vnet_subnet_id) + if workload_runtime is not None: + pulumi.set(__self__, "workload_runtime", workload_runtime) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="resourceName") + def resource_name(self) -> pulumi.Input[str]: + """ + The name of the managed cluster resource. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="agentPoolName") + def agent_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the agent pool. + """ + return pulumi.get(self, "agent_pool_name") + + @agent_pool_name.setter + def agent_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "agent_pool_name", value) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + """ + return pulumi.get(self, "availability_zones") + + @availability_zones.setter + def availability_zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "availability_zones", value) + + @property + @pulumi.getter + def count(self) -> Optional[pulumi.Input[int]]: + """ + Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + """ + return pulumi.get(self, "count") + + @count.setter + def count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "count", value) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional[pulumi.Input['CreationDataArgs']]: + """ + CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + """ + return pulumi.get(self, "creation_data") + + @creation_data.setter + def creation_data(self, value: Optional[pulumi.Input['CreationDataArgs']]): + pulumi.set(self, "creation_data", value) + + @property + @pulumi.getter(name="enableAutoScaling") + def enable_auto_scaling(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable auto-scaler + """ + return pulumi.get(self, "enable_auto_scaling") + + @enable_auto_scaling.setter + def enable_auto_scaling(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_auto_scaling", value) + + @property + @pulumi.getter(name="enableEncryptionAtHost") + def enable_encryption_at_host(self) -> Optional[pulumi.Input[bool]]: + """ + This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + """ + return pulumi.get(self, "enable_encryption_at_host") + + @enable_encryption_at_host.setter + def enable_encryption_at_host(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption_at_host", value) + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> Optional[pulumi.Input[bool]]: + """ + See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + """ + return pulumi.get(self, "enable_fips") + + @enable_fips.setter + def enable_fips(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_fips", value) + + @property + @pulumi.getter(name="enableNodePublicIP") + def enable_node_public_ip(self) -> Optional[pulumi.Input[bool]]: + """ + Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + """ + return pulumi.get(self, "enable_node_public_ip") + + @enable_node_public_ip.setter + def enable_node_public_ip(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_node_public_ip", value) + + @property + @pulumi.getter(name="enableUltraSSD") + def enable_ultra_ssd(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable UltraSSD + """ + return pulumi.get(self, "enable_ultra_ssd") + + @enable_ultra_ssd.setter + def enable_ultra_ssd(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_ultra_ssd", value) + + @property + @pulumi.getter(name="gpuInstanceProfile") + def gpu_instance_profile(self) -> Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]]: + """ + GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + """ + return pulumi.get(self, "gpu_instance_profile") + + @gpu_instance_profile.setter + def gpu_instance_profile(self, value: Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]]): + pulumi.set(self, "gpu_instance_profile", value) + + @property + @pulumi.getter(name="hostGroupID") + def host_group_id(self) -> Optional[pulumi.Input[str]]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + """ + return pulumi.get(self, "host_group_id") + + @host_group_id.setter + def host_group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_group_id", value) + + @property + @pulumi.getter(name="kubeletConfig") + def kubelet_config(self) -> Optional[pulumi.Input['KubeletConfigArgs']]: + """ + The Kubelet configuration on the agent pool nodes. + """ + return pulumi.get(self, "kubelet_config") + + @kubelet_config.setter + def kubelet_config(self, value: Optional[pulumi.Input['KubeletConfigArgs']]): + pulumi.set(self, "kubelet_config", value) + + @property + @pulumi.getter(name="kubeletDiskType") + def kubelet_disk_type(self) -> Optional[pulumi.Input[Union[str, 'KubeletDiskType']]]: + """ + Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + """ + return pulumi.get(self, "kubelet_disk_type") + + @kubelet_disk_type.setter + def kubelet_disk_type(self, value: Optional[pulumi.Input[Union[str, 'KubeletDiskType']]]): + pulumi.set(self, "kubelet_disk_type", value) + + @property + @pulumi.getter(name="linuxOSConfig") + def linux_os_config(self) -> Optional[pulumi.Input['LinuxOSConfigArgs']]: + """ + The OS configuration of Linux agent nodes. + """ + return pulumi.get(self, "linux_os_config") + + @linux_os_config.setter + def linux_os_config(self, value: Optional[pulumi.Input['LinuxOSConfigArgs']]): + pulumi.set(self, "linux_os_config", value) + + @property + @pulumi.getter(name="maxCount") + def max_count(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of nodes for auto-scaling + """ + return pulumi.get(self, "max_count") + + @max_count.setter + def max_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_count", value) + + @property + @pulumi.getter(name="maxPods") + def max_pods(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of pods that can run on a node. + """ + return pulumi.get(self, "max_pods") + + @max_pods.setter + def max_pods(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_pods", value) + + @property + @pulumi.getter(name="minCount") + def min_count(self) -> Optional[pulumi.Input[int]]: + """ + The minimum number of nodes for auto-scaling + """ + return pulumi.get(self, "min_count") + + @min_count.setter + def min_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_count", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[Union[str, 'AgentPoolMode']]]: + """ + A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[Union[str, 'AgentPoolMode']]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="nodeLabels") + def node_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + The node labels to be persisted across all nodes in agent pool. + """ + return pulumi.get(self, "node_labels") + + @node_labels.setter + def node_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "node_labels", value) + + @property + @pulumi.getter(name="nodePublicIPPrefixID") + def node_public_ip_prefix_id(self) -> Optional[pulumi.Input[str]]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + """ + return pulumi.get(self, "node_public_ip_prefix_id") + + @node_public_ip_prefix_id.setter + def node_public_ip_prefix_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_public_ip_prefix_id", value) + + @property + @pulumi.getter(name="nodeTaints") + def node_taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + """ + return pulumi.get(self, "node_taints") + + @node_taints.setter + def node_taints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "node_taints", value) + + @property + @pulumi.getter(name="orchestratorVersion") + def orchestrator_version(self) -> Optional[pulumi.Input[str]]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + """ + return pulumi.get(self, "orchestrator_version") + + @orchestrator_version.setter + def orchestrator_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "orchestrator_version", value) + + @property + @pulumi.getter(name="osDiskSizeGB") + def os_disk_size_gb(self) -> Optional[pulumi.Input[int]]: + """ + OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + """ + return pulumi.get(self, "os_disk_size_gb") + + @os_disk_size_gb.setter + def os_disk_size_gb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "os_disk_size_gb", value) + + @property + @pulumi.getter(name="osDiskType") + def os_disk_type(self) -> Optional[pulumi.Input[Union[str, 'OSDiskType']]]: + """ + The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + """ + return pulumi.get(self, "os_disk_type") + + @os_disk_type.setter + def os_disk_type(self, value: Optional[pulumi.Input[Union[str, 'OSDiskType']]]): + pulumi.set(self, "os_disk_type", value) + + @property + @pulumi.getter(name="osSKU") + def os_sku(self) -> Optional[pulumi.Input[Union[str, 'OSSKU']]]: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @os_sku.setter + def os_sku(self, value: Optional[pulumi.Input[Union[str, 'OSSKU']]]): + pulumi.set(self, "os_sku", value) + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[pulumi.Input[Union[str, 'OSType']]]: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @os_type.setter + def os_type(self, value: Optional[pulumi.Input[Union[str, 'OSType']]]): + pulumi.set(self, "os_type", value) + + @property + @pulumi.getter(name="podSubnetID") + def pod_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "pod_subnet_id") + + @pod_subnet_id.setter + def pod_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pod_subnet_id", value) + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> Optional[pulumi.Input['PowerStateArgs']]: + """ + When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + """ + return pulumi.get(self, "power_state") + + @power_state.setter + def power_state(self, value: Optional[pulumi.Input['PowerStateArgs']]): + pulumi.set(self, "power_state", value) + + @property + @pulumi.getter(name="proximityPlacementGroupID") + def proximity_placement_group_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID for Proximity Placement Group. + """ + return pulumi.get(self, "proximity_placement_group_id") + + @proximity_placement_group_id.setter + def proximity_placement_group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "proximity_placement_group_id", value) + + @property + @pulumi.getter(name="scaleDownMode") + def scale_down_mode(self) -> Optional[pulumi.Input[Union[str, 'ScaleDownMode']]]: + """ + This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + """ + return pulumi.get(self, "scale_down_mode") + + @scale_down_mode.setter + def scale_down_mode(self, value: Optional[pulumi.Input[Union[str, 'ScaleDownMode']]]): + pulumi.set(self, "scale_down_mode", value) + + @property + @pulumi.getter(name="scaleSetEvictionPolicy") + def scale_set_eviction_policy(self) -> Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]]: + """ + This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + """ + return pulumi.get(self, "scale_set_eviction_policy") + + @scale_set_eviction_policy.setter + def scale_set_eviction_policy(self, value: Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]]): + pulumi.set(self, "scale_set_eviction_policy", value) + + @property + @pulumi.getter(name="scaleSetPriority") + def scale_set_priority(self) -> Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]]: + """ + The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + """ + return pulumi.get(self, "scale_set_priority") + + @scale_set_priority.setter + def scale_set_priority(self, value: Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]]): + pulumi.set(self, "scale_set_priority", value) + + @property + @pulumi.getter(name="spotMaxPrice") + def spot_max_price(self) -> Optional[pulumi.Input[float]]: + """ + Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + """ + return pulumi.get(self, "spot_max_price") + + @spot_max_price.setter + def spot_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_max_price", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + The tags to be persisted on the agent pool virtual machine scale set. + """ + 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 + def type(self) -> Optional[pulumi.Input[Union[str, 'AgentPoolType']]]: + """ + The type of Agent Pool. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'AgentPoolType']]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> Optional[pulumi.Input['AgentPoolUpgradeSettingsArgs']]: + """ + Settings for upgrading the agentpool + """ + return pulumi.get(self, "upgrade_settings") + + @upgrade_settings.setter + def upgrade_settings(self, value: Optional[pulumi.Input['AgentPoolUpgradeSettingsArgs']]): + pulumi.set(self, "upgrade_settings", value) + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[pulumi.Input[str]]: + """ + VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + """ + return pulumi.get(self, "vm_size") + + @vm_size.setter + def vm_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_size", value) + + @property + @pulumi.getter(name="vnetSubnetID") + def vnet_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "vnet_subnet_id") + + @vnet_subnet_id.setter + def vnet_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vnet_subnet_id", value) + + @property + @pulumi.getter(name="workloadRuntime") + def workload_runtime(self) -> Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]]: + """ + Determines the type of workload a node can run. + """ + return pulumi.get(self, "workload_runtime") + + @workload_runtime.setter + def workload_runtime(self, value: Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]]): + pulumi.set(self, "workload_runtime", value) + + +class AgentPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_pool_name: Optional[pulumi.Input[str]] = None, + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + count: Optional[pulumi.Input[int]] = None, + creation_data: Optional[pulumi.Input[pulumi.InputType['CreationDataArgs']]] = None, + enable_auto_scaling: Optional[pulumi.Input[bool]] = None, + enable_encryption_at_host: Optional[pulumi.Input[bool]] = None, + enable_fips: Optional[pulumi.Input[bool]] = None, + enable_node_public_ip: Optional[pulumi.Input[bool]] = None, + enable_ultra_ssd: Optional[pulumi.Input[bool]] = None, + gpu_instance_profile: Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]] = None, + host_group_id: Optional[pulumi.Input[str]] = None, + kubelet_config: Optional[pulumi.Input[pulumi.InputType['KubeletConfigArgs']]] = None, + kubelet_disk_type: Optional[pulumi.Input[Union[str, 'KubeletDiskType']]] = None, + linux_os_config: Optional[pulumi.Input[pulumi.InputType['LinuxOSConfigArgs']]] = None, + max_count: Optional[pulumi.Input[int]] = None, + max_pods: Optional[pulumi.Input[int]] = None, + min_count: Optional[pulumi.Input[int]] = None, + mode: Optional[pulumi.Input[Union[str, 'AgentPoolMode']]] = None, + node_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + node_public_ip_prefix_id: Optional[pulumi.Input[str]] = None, + node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + orchestrator_version: Optional[pulumi.Input[str]] = None, + os_disk_size_gb: Optional[pulumi.Input[int]] = None, + os_disk_type: Optional[pulumi.Input[Union[str, 'OSDiskType']]] = None, + os_sku: Optional[pulumi.Input[Union[str, 'OSSKU']]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OSType']]] = None, + pod_subnet_id: Optional[pulumi.Input[str]] = None, + power_state: Optional[pulumi.Input[pulumi.InputType['PowerStateArgs']]] = None, + proximity_placement_group_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + scale_down_mode: Optional[pulumi.Input[Union[str, 'ScaleDownMode']]] = None, + scale_set_eviction_policy: Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]] = None, + scale_set_priority: Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]] = None, + spot_max_price: Optional[pulumi.Input[float]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'AgentPoolType']]] = None, + upgrade_settings: Optional[pulumi.Input[pulumi.InputType['AgentPoolUpgradeSettingsArgs']]] = None, + vm_size: Optional[pulumi.Input[str]] = None, + vnet_subnet_id: Optional[pulumi.Input[str]] = None, + workload_runtime: Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]] = None, + __props__=None): + """ + Agent Pool. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] agent_pool_name: The name of the agent pool. + :param pulumi.Input[Sequence[pulumi.Input[str]]] availability_zones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + :param pulumi.Input[int] count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + :param pulumi.Input[pulumi.InputType['CreationDataArgs']] creation_data: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + :param pulumi.Input[bool] enable_auto_scaling: Whether to enable auto-scaler + :param pulumi.Input[bool] enable_encryption_at_host: This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + :param pulumi.Input[bool] enable_fips: See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + :param pulumi.Input[bool] enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + :param pulumi.Input[bool] enable_ultra_ssd: Whether to enable UltraSSD + :param pulumi.Input[Union[str, 'GPUInstanceProfile']] gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + :param pulumi.Input[str] host_group_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + :param pulumi.Input[pulumi.InputType['KubeletConfigArgs']] kubelet_config: The Kubelet configuration on the agent pool nodes. + :param pulumi.Input[Union[str, 'KubeletDiskType']] kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + :param pulumi.Input[pulumi.InputType['LinuxOSConfigArgs']] linux_os_config: The OS configuration of Linux agent nodes. + :param pulumi.Input[int] max_count: The maximum number of nodes for auto-scaling + :param pulumi.Input[int] max_pods: The maximum number of pods that can run on a node. + :param pulumi.Input[int] min_count: The minimum number of nodes for auto-scaling + :param pulumi.Input[Union[str, 'AgentPoolMode']] mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_labels: The node labels to be persisted across all nodes in agent pool. + :param pulumi.Input[str] node_public_ip_prefix_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + :param pulumi.Input[Sequence[pulumi.Input[str]]] node_taints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + :param pulumi.Input[str] orchestrator_version: Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + :param pulumi.Input[int] os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + :param pulumi.Input[Union[str, 'OSDiskType']] os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + :param pulumi.Input[Union[str, 'OSSKU']] os_sku: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + :param pulumi.Input[Union[str, 'OSType']] os_type: The operating system type. The default is Linux. + :param pulumi.Input[str] pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param pulumi.Input[pulumi.InputType['PowerStateArgs']] power_state: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + :param pulumi.Input[str] proximity_placement_group_id: The ID for Proximity Placement Group. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name_: The name of the managed cluster resource. + :param pulumi.Input[Union[str, 'ScaleDownMode']] scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + :param pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']] scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + :param pulumi.Input[Union[str, 'ScaleSetPriority']] scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + :param pulumi.Input[float] spot_max_price: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags to be persisted on the agent pool virtual machine scale set. + :param pulumi.Input[Union[str, 'AgentPoolType']] type: The type of Agent Pool. + :param pulumi.Input[pulumi.InputType['AgentPoolUpgradeSettingsArgs']] upgrade_settings: Settings for upgrading the agentpool + :param pulumi.Input[str] vm_size: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + :param pulumi.Input[str] vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param pulumi.Input[Union[str, 'WorkloadRuntime']] workload_runtime: Determines the type of workload a node can run. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AgentPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Agent Pool. + + :param str resource_name: The name of the resource. + :param AgentPoolArgs 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(AgentPoolArgs, 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, + agent_pool_name: Optional[pulumi.Input[str]] = None, + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + count: Optional[pulumi.Input[int]] = None, + creation_data: Optional[pulumi.Input[pulumi.InputType['CreationDataArgs']]] = None, + enable_auto_scaling: Optional[pulumi.Input[bool]] = None, + enable_encryption_at_host: Optional[pulumi.Input[bool]] = None, + enable_fips: Optional[pulumi.Input[bool]] = None, + enable_node_public_ip: Optional[pulumi.Input[bool]] = None, + enable_ultra_ssd: Optional[pulumi.Input[bool]] = None, + gpu_instance_profile: Optional[pulumi.Input[Union[str, 'GPUInstanceProfile']]] = None, + host_group_id: Optional[pulumi.Input[str]] = None, + kubelet_config: Optional[pulumi.Input[pulumi.InputType['KubeletConfigArgs']]] = None, + kubelet_disk_type: Optional[pulumi.Input[Union[str, 'KubeletDiskType']]] = None, + linux_os_config: Optional[pulumi.Input[pulumi.InputType['LinuxOSConfigArgs']]] = None, + max_count: Optional[pulumi.Input[int]] = None, + max_pods: Optional[pulumi.Input[int]] = None, + min_count: Optional[pulumi.Input[int]] = None, + mode: Optional[pulumi.Input[Union[str, 'AgentPoolMode']]] = None, + node_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + node_public_ip_prefix_id: Optional[pulumi.Input[str]] = None, + node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + orchestrator_version: Optional[pulumi.Input[str]] = None, + os_disk_size_gb: Optional[pulumi.Input[int]] = None, + os_disk_type: Optional[pulumi.Input[Union[str, 'OSDiskType']]] = None, + os_sku: Optional[pulumi.Input[Union[str, 'OSSKU']]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OSType']]] = None, + pod_subnet_id: Optional[pulumi.Input[str]] = None, + power_state: Optional[pulumi.Input[pulumi.InputType['PowerStateArgs']]] = None, + proximity_placement_group_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + scale_down_mode: Optional[pulumi.Input[Union[str, 'ScaleDownMode']]] = None, + scale_set_eviction_policy: Optional[pulumi.Input[Union[str, 'ScaleSetEvictionPolicy']]] = None, + scale_set_priority: Optional[pulumi.Input[Union[str, 'ScaleSetPriority']]] = None, + spot_max_price: Optional[pulumi.Input[float]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'AgentPoolType']]] = None, + upgrade_settings: Optional[pulumi.Input[pulumi.InputType['AgentPoolUpgradeSettingsArgs']]] = None, + vm_size: Optional[pulumi.Input[str]] = None, + vnet_subnet_id: Optional[pulumi.Input[str]] = None, + workload_runtime: Optional[pulumi.Input[Union[str, 'WorkloadRuntime']]] = 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__ = AgentPoolArgs.__new__(AgentPoolArgs) + + __props__.__dict__["agent_pool_name"] = agent_pool_name + __props__.__dict__["availability_zones"] = availability_zones + __props__.__dict__["count"] = count + __props__.__dict__["creation_data"] = creation_data + __props__.__dict__["enable_auto_scaling"] = enable_auto_scaling + __props__.__dict__["enable_encryption_at_host"] = enable_encryption_at_host + __props__.__dict__["enable_fips"] = enable_fips + __props__.__dict__["enable_node_public_ip"] = enable_node_public_ip + __props__.__dict__["enable_ultra_ssd"] = enable_ultra_ssd + __props__.__dict__["gpu_instance_profile"] = gpu_instance_profile + __props__.__dict__["host_group_id"] = host_group_id + __props__.__dict__["kubelet_config"] = kubelet_config + __props__.__dict__["kubelet_disk_type"] = kubelet_disk_type + __props__.__dict__["linux_os_config"] = linux_os_config + __props__.__dict__["max_count"] = max_count + __props__.__dict__["max_pods"] = max_pods + __props__.__dict__["min_count"] = min_count + __props__.__dict__["mode"] = mode + __props__.__dict__["node_labels"] = node_labels + __props__.__dict__["node_public_ip_prefix_id"] = node_public_ip_prefix_id + __props__.__dict__["node_taints"] = node_taints + __props__.__dict__["orchestrator_version"] = orchestrator_version + __props__.__dict__["os_disk_size_gb"] = os_disk_size_gb + __props__.__dict__["os_disk_type"] = os_disk_type + __props__.__dict__["os_sku"] = os_sku + __props__.__dict__["os_type"] = os_type + __props__.__dict__["pod_subnet_id"] = pod_subnet_id + __props__.__dict__["power_state"] = power_state + __props__.__dict__["proximity_placement_group_id"] = proximity_placement_group_id + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if resource_name_ is None and not opts.urn: + raise TypeError("Missing required property 'resource_name_'") + __props__.__dict__["resource_name"] = resource_name_ + __props__.__dict__["scale_down_mode"] = scale_down_mode + __props__.__dict__["scale_set_eviction_policy"] = scale_set_eviction_policy + __props__.__dict__["scale_set_priority"] = scale_set_priority + __props__.__dict__["spot_max_price"] = spot_max_price + __props__.__dict__["tags"] = tags + __props__.__dict__["type"] = type + __props__.__dict__["upgrade_settings"] = upgrade_settings + __props__.__dict__["vm_size"] = vm_size + __props__.__dict__["vnet_subnet_id"] = vnet_subnet_id + __props__.__dict__["workload_runtime"] = workload_runtime + __props__.__dict__["current_orchestrator_version"] = None + __props__.__dict__["name"] = None + __props__.__dict__["node_image_version"] = None + __props__.__dict__["provisioning_state"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20190801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20191101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20200901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20201201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210801:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20210901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211001:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220901:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230101:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230201:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230301:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230401:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230501:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230601:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230701:AgentPool"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:AgentPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AgentPool, __self__).__init__( + 'azure-native:containerservice/v20230801:AgentPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AgentPool': + """ + Get an existing AgentPool 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AgentPoolArgs.__new__(AgentPoolArgs) + + __props__.__dict__["availability_zones"] = None + __props__.__dict__["count"] = None + __props__.__dict__["creation_data"] = None + __props__.__dict__["current_orchestrator_version"] = None + __props__.__dict__["enable_auto_scaling"] = None + __props__.__dict__["enable_encryption_at_host"] = None + __props__.__dict__["enable_fips"] = None + __props__.__dict__["enable_node_public_ip"] = None + __props__.__dict__["enable_ultra_ssd"] = None + __props__.__dict__["gpu_instance_profile"] = None + __props__.__dict__["host_group_id"] = None + __props__.__dict__["kubelet_config"] = None + __props__.__dict__["kubelet_disk_type"] = None + __props__.__dict__["linux_os_config"] = None + __props__.__dict__["max_count"] = None + __props__.__dict__["max_pods"] = None + __props__.__dict__["min_count"] = None + __props__.__dict__["mode"] = None + __props__.__dict__["name"] = None + __props__.__dict__["node_image_version"] = None + __props__.__dict__["node_labels"] = None + __props__.__dict__["node_public_ip_prefix_id"] = None + __props__.__dict__["node_taints"] = None + __props__.__dict__["orchestrator_version"] = None + __props__.__dict__["os_disk_size_gb"] = None + __props__.__dict__["os_disk_type"] = None + __props__.__dict__["os_sku"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["pod_subnet_id"] = None + __props__.__dict__["power_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["proximity_placement_group_id"] = None + __props__.__dict__["scale_down_mode"] = None + __props__.__dict__["scale_set_eviction_policy"] = None + __props__.__dict__["scale_set_priority"] = None + __props__.__dict__["spot_max_price"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["upgrade_settings"] = None + __props__.__dict__["vm_size"] = None + __props__.__dict__["vnet_subnet_id"] = None + __props__.__dict__["workload_runtime"] = None + return AgentPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + """ + return pulumi.get(self, "availability_zones") + + @property + @pulumi.getter + def count(self) -> pulumi.Output[Optional[int]]: + """ + Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + """ + return pulumi.get(self, "count") + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Output[Optional['outputs.CreationDataResponse']]: + """ + CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter(name="currentOrchestratorVersion") + def current_orchestrator_version(self) -> pulumi.Output[str]: + """ + If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + """ + return pulumi.get(self, "current_orchestrator_version") + + @property + @pulumi.getter(name="enableAutoScaling") + def enable_auto_scaling(self) -> pulumi.Output[Optional[bool]]: + """ + Whether to enable auto-scaler + """ + return pulumi.get(self, "enable_auto_scaling") + + @property + @pulumi.getter(name="enableEncryptionAtHost") + def enable_encryption_at_host(self) -> pulumi.Output[Optional[bool]]: + """ + This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + """ + return pulumi.get(self, "enable_encryption_at_host") + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> pulumi.Output[Optional[bool]]: + """ + See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + """ + return pulumi.get(self, "enable_fips") + + @property + @pulumi.getter(name="enableNodePublicIP") + def enable_node_public_ip(self) -> pulumi.Output[Optional[bool]]: + """ + Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + """ + return pulumi.get(self, "enable_node_public_ip") + + @property + @pulumi.getter(name="enableUltraSSD") + def enable_ultra_ssd(self) -> pulumi.Output[Optional[bool]]: + """ + Whether to enable UltraSSD + """ + return pulumi.get(self, "enable_ultra_ssd") + + @property + @pulumi.getter(name="gpuInstanceProfile") + def gpu_instance_profile(self) -> pulumi.Output[Optional[str]]: + """ + GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + """ + return pulumi.get(self, "gpu_instance_profile") + + @property + @pulumi.getter(name="hostGroupID") + def host_group_id(self) -> pulumi.Output[Optional[str]]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + """ + return pulumi.get(self, "host_group_id") + + @property + @pulumi.getter(name="kubeletConfig") + def kubelet_config(self) -> pulumi.Output[Optional['outputs.KubeletConfigResponse']]: + """ + The Kubelet configuration on the agent pool nodes. + """ + return pulumi.get(self, "kubelet_config") + + @property + @pulumi.getter(name="kubeletDiskType") + def kubelet_disk_type(self) -> pulumi.Output[Optional[str]]: + """ + Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + """ + return pulumi.get(self, "kubelet_disk_type") + + @property + @pulumi.getter(name="linuxOSConfig") + def linux_os_config(self) -> pulumi.Output[Optional['outputs.LinuxOSConfigResponse']]: + """ + The OS configuration of Linux agent nodes. + """ + return pulumi.get(self, "linux_os_config") + + @property + @pulumi.getter(name="maxCount") + def max_count(self) -> pulumi.Output[Optional[int]]: + """ + The maximum number of nodes for auto-scaling + """ + return pulumi.get(self, "max_count") + + @property + @pulumi.getter(name="maxPods") + def max_pods(self) -> pulumi.Output[Optional[int]]: + """ + The maximum number of pods that can run on a node. + """ + return pulumi.get(self, "max_pods") + + @property + @pulumi.getter(name="minCount") + def min_count(self) -> pulumi.Output[Optional[int]]: + """ + The minimum number of nodes for auto-scaling + """ + return pulumi.get(self, "min_count") + + @property + @pulumi.getter + def mode(self) -> pulumi.Output[Optional[str]]: + """ + A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeImageVersion") + def node_image_version(self) -> pulumi.Output[str]: + """ + The version of node image + """ + return pulumi.get(self, "node_image_version") + + @property + @pulumi.getter(name="nodeLabels") + def node_labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + The node labels to be persisted across all nodes in agent pool. + """ + return pulumi.get(self, "node_labels") + + @property + @pulumi.getter(name="nodePublicIPPrefixID") + def node_public_ip_prefix_id(self) -> pulumi.Output[Optional[str]]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + """ + return pulumi.get(self, "node_public_ip_prefix_id") + + @property + @pulumi.getter(name="nodeTaints") + def node_taints(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + """ + return pulumi.get(self, "node_taints") + + @property + @pulumi.getter(name="orchestratorVersion") + def orchestrator_version(self) -> pulumi.Output[Optional[str]]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + """ + return pulumi.get(self, "orchestrator_version") + + @property + @pulumi.getter(name="osDiskSizeGB") + def os_disk_size_gb(self) -> pulumi.Output[Optional[int]]: + """ + OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + """ + return pulumi.get(self, "os_disk_size_gb") + + @property + @pulumi.getter(name="osDiskType") + def os_disk_type(self) -> pulumi.Output[Optional[str]]: + """ + The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + """ + return pulumi.get(self, "os_disk_type") + + @property + @pulumi.getter(name="osSKU") + def os_sku(self) -> pulumi.Output[Optional[str]]: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Output[Optional[str]]: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="podSubnetID") + def pod_subnet_id(self) -> pulumi.Output[Optional[str]]: + """ + If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "pod_subnet_id") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> pulumi.Output[Optional['outputs.PowerStateResponse']]: + """ + When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The current deployment or provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="proximityPlacementGroupID") + def proximity_placement_group_id(self) -> pulumi.Output[Optional[str]]: + """ + The ID for Proximity Placement Group. + """ + return pulumi.get(self, "proximity_placement_group_id") + + @property + @pulumi.getter(name="scaleDownMode") + def scale_down_mode(self) -> pulumi.Output[Optional[str]]: + """ + This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + """ + return pulumi.get(self, "scale_down_mode") + + @property + @pulumi.getter(name="scaleSetEvictionPolicy") + def scale_set_eviction_policy(self) -> pulumi.Output[Optional[str]]: + """ + This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + """ + return pulumi.get(self, "scale_set_eviction_policy") + + @property + @pulumi.getter(name="scaleSetPriority") + def scale_set_priority(self) -> pulumi.Output[Optional[str]]: + """ + The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + """ + return pulumi.get(self, "scale_set_priority") + + @property + @pulumi.getter(name="spotMaxPrice") + def spot_max_price(self) -> pulumi.Output[Optional[float]]: + """ + Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + """ + return pulumi.get(self, "spot_max_price") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + The tags to be persisted on the agent pool virtual machine scale set. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> pulumi.Output[Optional['outputs.AgentPoolUpgradeSettingsResponse']]: + """ + Settings for upgrading the agentpool + """ + return pulumi.get(self, "upgrade_settings") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> pulumi.Output[Optional[str]]: + """ + VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + """ + return pulumi.get(self, "vm_size") + + @property + @pulumi.getter(name="vnetSubnetID") + def vnet_subnet_id(self) -> pulumi.Output[Optional[str]]: + """ + If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "vnet_subnet_id") + + @property + @pulumi.getter(name="workloadRuntime") + def workload_runtime(self) -> pulumi.Output[Optional[str]]: + """ + Determines the type of workload a node can run. + """ + return pulumi.get(self, "workload_runtime") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/get_agent_pool.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_agent_pool.py new file mode 100644 index 000000000000..a4de9e320f99 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_agent_pool.py @@ -0,0 +1,630 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAgentPoolResult', + 'AwaitableGetAgentPoolResult', + 'get_agent_pool', + 'get_agent_pool_output', +] + +@pulumi.output_type +class GetAgentPoolResult: + """ + Agent Pool. + """ + def __init__(__self__, availability_zones=None, count=None, creation_data=None, current_orchestrator_version=None, enable_auto_scaling=None, enable_encryption_at_host=None, enable_fips=None, enable_node_public_ip=None, enable_ultra_ssd=None, gpu_instance_profile=None, host_group_id=None, id=None, kubelet_config=None, kubelet_disk_type=None, linux_os_config=None, max_count=None, max_pods=None, min_count=None, mode=None, name=None, node_image_version=None, node_labels=None, node_public_ip_prefix_id=None, node_taints=None, orchestrator_version=None, os_disk_size_gb=None, os_disk_type=None, os_sku=None, os_type=None, pod_subnet_id=None, power_state=None, provisioning_state=None, proximity_placement_group_id=None, scale_down_mode=None, scale_set_eviction_policy=None, scale_set_priority=None, spot_max_price=None, tags=None, type=None, upgrade_settings=None, vm_size=None, vnet_subnet_id=None, workload_runtime=None): + if availability_zones and not isinstance(availability_zones, list): + raise TypeError("Expected argument 'availability_zones' to be a list") + pulumi.set(__self__, "availability_zones", availability_zones) + if count and not isinstance(count, int): + raise TypeError("Expected argument 'count' to be a int") + pulumi.set(__self__, "count", count) + if creation_data and not isinstance(creation_data, dict): + raise TypeError("Expected argument 'creation_data' to be a dict") + pulumi.set(__self__, "creation_data", creation_data) + if current_orchestrator_version and not isinstance(current_orchestrator_version, str): + raise TypeError("Expected argument 'current_orchestrator_version' to be a str") + pulumi.set(__self__, "current_orchestrator_version", current_orchestrator_version) + if enable_auto_scaling and not isinstance(enable_auto_scaling, bool): + raise TypeError("Expected argument 'enable_auto_scaling' to be a bool") + pulumi.set(__self__, "enable_auto_scaling", enable_auto_scaling) + if enable_encryption_at_host and not isinstance(enable_encryption_at_host, bool): + raise TypeError("Expected argument 'enable_encryption_at_host' to be a bool") + pulumi.set(__self__, "enable_encryption_at_host", enable_encryption_at_host) + if enable_fips and not isinstance(enable_fips, bool): + raise TypeError("Expected argument 'enable_fips' to be a bool") + pulumi.set(__self__, "enable_fips", enable_fips) + if enable_node_public_ip and not isinstance(enable_node_public_ip, bool): + raise TypeError("Expected argument 'enable_node_public_ip' to be a bool") + pulumi.set(__self__, "enable_node_public_ip", enable_node_public_ip) + if enable_ultra_ssd and not isinstance(enable_ultra_ssd, bool): + raise TypeError("Expected argument 'enable_ultra_ssd' to be a bool") + pulumi.set(__self__, "enable_ultra_ssd", enable_ultra_ssd) + if gpu_instance_profile and not isinstance(gpu_instance_profile, str): + raise TypeError("Expected argument 'gpu_instance_profile' to be a str") + pulumi.set(__self__, "gpu_instance_profile", gpu_instance_profile) + if host_group_id and not isinstance(host_group_id, str): + raise TypeError("Expected argument 'host_group_id' to be a str") + pulumi.set(__self__, "host_group_id", host_group_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kubelet_config and not isinstance(kubelet_config, dict): + raise TypeError("Expected argument 'kubelet_config' to be a dict") + pulumi.set(__self__, "kubelet_config", kubelet_config) + if kubelet_disk_type and not isinstance(kubelet_disk_type, str): + raise TypeError("Expected argument 'kubelet_disk_type' to be a str") + pulumi.set(__self__, "kubelet_disk_type", kubelet_disk_type) + if linux_os_config and not isinstance(linux_os_config, dict): + raise TypeError("Expected argument 'linux_os_config' to be a dict") + pulumi.set(__self__, "linux_os_config", linux_os_config) + if max_count and not isinstance(max_count, int): + raise TypeError("Expected argument 'max_count' to be a int") + pulumi.set(__self__, "max_count", max_count) + if max_pods and not isinstance(max_pods, int): + raise TypeError("Expected argument 'max_pods' to be a int") + pulumi.set(__self__, "max_pods", max_pods) + if min_count and not isinstance(min_count, int): + raise TypeError("Expected argument 'min_count' to be a int") + pulumi.set(__self__, "min_count", min_count) + if mode and not isinstance(mode, str): + raise TypeError("Expected argument 'mode' to be a str") + pulumi.set(__self__, "mode", mode) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if node_image_version and not isinstance(node_image_version, str): + raise TypeError("Expected argument 'node_image_version' to be a str") + pulumi.set(__self__, "node_image_version", node_image_version) + if node_labels and not isinstance(node_labels, dict): + raise TypeError("Expected argument 'node_labels' to be a dict") + pulumi.set(__self__, "node_labels", node_labels) + if node_public_ip_prefix_id and not isinstance(node_public_ip_prefix_id, str): + raise TypeError("Expected argument 'node_public_ip_prefix_id' to be a str") + pulumi.set(__self__, "node_public_ip_prefix_id", node_public_ip_prefix_id) + if node_taints and not isinstance(node_taints, list): + raise TypeError("Expected argument 'node_taints' to be a list") + pulumi.set(__self__, "node_taints", node_taints) + if orchestrator_version and not isinstance(orchestrator_version, str): + raise TypeError("Expected argument 'orchestrator_version' to be a str") + pulumi.set(__self__, "orchestrator_version", orchestrator_version) + if os_disk_size_gb and not isinstance(os_disk_size_gb, int): + raise TypeError("Expected argument 'os_disk_size_gb' to be a int") + pulumi.set(__self__, "os_disk_size_gb", os_disk_size_gb) + if os_disk_type and not isinstance(os_disk_type, str): + raise TypeError("Expected argument 'os_disk_type' to be a str") + pulumi.set(__self__, "os_disk_type", os_disk_type) + if os_sku and not isinstance(os_sku, str): + raise TypeError("Expected argument 'os_sku' to be a str") + pulumi.set(__self__, "os_sku", os_sku) + if os_type and not isinstance(os_type, str): + raise TypeError("Expected argument 'os_type' to be a str") + pulumi.set(__self__, "os_type", os_type) + if pod_subnet_id and not isinstance(pod_subnet_id, str): + raise TypeError("Expected argument 'pod_subnet_id' to be a str") + pulumi.set(__self__, "pod_subnet_id", pod_subnet_id) + if power_state and not isinstance(power_state, dict): + raise TypeError("Expected argument 'power_state' to be a dict") + pulumi.set(__self__, "power_state", power_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if proximity_placement_group_id and not isinstance(proximity_placement_group_id, str): + raise TypeError("Expected argument 'proximity_placement_group_id' to be a str") + pulumi.set(__self__, "proximity_placement_group_id", proximity_placement_group_id) + if scale_down_mode and not isinstance(scale_down_mode, str): + raise TypeError("Expected argument 'scale_down_mode' to be a str") + pulumi.set(__self__, "scale_down_mode", scale_down_mode) + if scale_set_eviction_policy and not isinstance(scale_set_eviction_policy, str): + raise TypeError("Expected argument 'scale_set_eviction_policy' to be a str") + pulumi.set(__self__, "scale_set_eviction_policy", scale_set_eviction_policy) + if scale_set_priority and not isinstance(scale_set_priority, str): + raise TypeError("Expected argument 'scale_set_priority' to be a str") + pulumi.set(__self__, "scale_set_priority", scale_set_priority) + if spot_max_price and not isinstance(spot_max_price, float): + raise TypeError("Expected argument 'spot_max_price' to be a float") + pulumi.set(__self__, "spot_max_price", spot_max_price) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if upgrade_settings and not isinstance(upgrade_settings, dict): + raise TypeError("Expected argument 'upgrade_settings' to be a dict") + pulumi.set(__self__, "upgrade_settings", upgrade_settings) + if vm_size and not isinstance(vm_size, str): + raise TypeError("Expected argument 'vm_size' to be a str") + pulumi.set(__self__, "vm_size", vm_size) + if vnet_subnet_id and not isinstance(vnet_subnet_id, str): + raise TypeError("Expected argument 'vnet_subnet_id' to be a str") + pulumi.set(__self__, "vnet_subnet_id", vnet_subnet_id) + if workload_runtime and not isinstance(workload_runtime, str): + raise TypeError("Expected argument 'workload_runtime' to be a str") + pulumi.set(__self__, "workload_runtime", workload_runtime) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> Optional[Sequence[str]]: + """ + The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + """ + return pulumi.get(self, "availability_zones") + + @property + @pulumi.getter + def count(self) -> Optional[int]: + """ + Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + """ + return pulumi.get(self, "count") + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional['outputs.CreationDataResponse']: + """ + CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter(name="currentOrchestratorVersion") + def current_orchestrator_version(self) -> str: + """ + If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + """ + return pulumi.get(self, "current_orchestrator_version") + + @property + @pulumi.getter(name="enableAutoScaling") + def enable_auto_scaling(self) -> Optional[bool]: + """ + Whether to enable auto-scaler + """ + return pulumi.get(self, "enable_auto_scaling") + + @property + @pulumi.getter(name="enableEncryptionAtHost") + def enable_encryption_at_host(self) -> Optional[bool]: + """ + This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + """ + return pulumi.get(self, "enable_encryption_at_host") + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> Optional[bool]: + """ + See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + """ + return pulumi.get(self, "enable_fips") + + @property + @pulumi.getter(name="enableNodePublicIP") + def enable_node_public_ip(self) -> Optional[bool]: + """ + Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + """ + return pulumi.get(self, "enable_node_public_ip") + + @property + @pulumi.getter(name="enableUltraSSD") + def enable_ultra_ssd(self) -> Optional[bool]: + """ + Whether to enable UltraSSD + """ + return pulumi.get(self, "enable_ultra_ssd") + + @property + @pulumi.getter(name="gpuInstanceProfile") + def gpu_instance_profile(self) -> Optional[str]: + """ + GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + """ + return pulumi.get(self, "gpu_instance_profile") + + @property + @pulumi.getter(name="hostGroupID") + def host_group_id(self) -> Optional[str]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + """ + return pulumi.get(self, "host_group_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="kubeletConfig") + def kubelet_config(self) -> Optional['outputs.KubeletConfigResponse']: + """ + The Kubelet configuration on the agent pool nodes. + """ + return pulumi.get(self, "kubelet_config") + + @property + @pulumi.getter(name="kubeletDiskType") + def kubelet_disk_type(self) -> Optional[str]: + """ + Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + """ + return pulumi.get(self, "kubelet_disk_type") + + @property + @pulumi.getter(name="linuxOSConfig") + def linux_os_config(self) -> Optional['outputs.LinuxOSConfigResponse']: + """ + The OS configuration of Linux agent nodes. + """ + return pulumi.get(self, "linux_os_config") + + @property + @pulumi.getter(name="maxCount") + def max_count(self) -> Optional[int]: + """ + The maximum number of nodes for auto-scaling + """ + return pulumi.get(self, "max_count") + + @property + @pulumi.getter(name="maxPods") + def max_pods(self) -> Optional[int]: + """ + The maximum number of pods that can run on a node. + """ + return pulumi.get(self, "max_pods") + + @property + @pulumi.getter(name="minCount") + def min_count(self) -> Optional[int]: + """ + The minimum number of nodes for auto-scaling + """ + return pulumi.get(self, "min_count") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + """ + A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeImageVersion") + def node_image_version(self) -> str: + """ + The version of node image + """ + return pulumi.get(self, "node_image_version") + + @property + @pulumi.getter(name="nodeLabels") + def node_labels(self) -> Optional[Mapping[str, str]]: + """ + The node labels to be persisted across all nodes in agent pool. + """ + return pulumi.get(self, "node_labels") + + @property + @pulumi.getter(name="nodePublicIPPrefixID") + def node_public_ip_prefix_id(self) -> Optional[str]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + """ + return pulumi.get(self, "node_public_ip_prefix_id") + + @property + @pulumi.getter(name="nodeTaints") + def node_taints(self) -> Optional[Sequence[str]]: + """ + The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + """ + return pulumi.get(self, "node_taints") + + @property + @pulumi.getter(name="orchestratorVersion") + def orchestrator_version(self) -> Optional[str]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + """ + return pulumi.get(self, "orchestrator_version") + + @property + @pulumi.getter(name="osDiskSizeGB") + def os_disk_size_gb(self) -> Optional[int]: + """ + OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + """ + return pulumi.get(self, "os_disk_size_gb") + + @property + @pulumi.getter(name="osDiskType") + def os_disk_type(self) -> Optional[str]: + """ + The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + """ + return pulumi.get(self, "os_disk_type") + + @property + @pulumi.getter(name="osSKU") + def os_sku(self) -> Optional[str]: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[str]: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="podSubnetID") + def pod_subnet_id(self) -> Optional[str]: + """ + If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "pod_subnet_id") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> Optional['outputs.PowerStateResponse']: + """ + When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The current deployment or provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="proximityPlacementGroupID") + def proximity_placement_group_id(self) -> Optional[str]: + """ + The ID for Proximity Placement Group. + """ + return pulumi.get(self, "proximity_placement_group_id") + + @property + @pulumi.getter(name="scaleDownMode") + def scale_down_mode(self) -> Optional[str]: + """ + This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + """ + return pulumi.get(self, "scale_down_mode") + + @property + @pulumi.getter(name="scaleSetEvictionPolicy") + def scale_set_eviction_policy(self) -> Optional[str]: + """ + This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + """ + return pulumi.get(self, "scale_set_eviction_policy") + + @property + @pulumi.getter(name="scaleSetPriority") + def scale_set_priority(self) -> Optional[str]: + """ + The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + """ + return pulumi.get(self, "scale_set_priority") + + @property + @pulumi.getter(name="spotMaxPrice") + def spot_max_price(self) -> Optional[float]: + """ + Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + """ + return pulumi.get(self, "spot_max_price") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + The tags to be persisted on the agent pool virtual machine scale set. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> Optional['outputs.AgentPoolUpgradeSettingsResponse']: + """ + Settings for upgrading the agentpool + """ + return pulumi.get(self, "upgrade_settings") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[str]: + """ + VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + """ + return pulumi.get(self, "vm_size") + + @property + @pulumi.getter(name="vnetSubnetID") + def vnet_subnet_id(self) -> Optional[str]: + """ + If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "vnet_subnet_id") + + @property + @pulumi.getter(name="workloadRuntime") + def workload_runtime(self) -> Optional[str]: + """ + Determines the type of workload a node can run. + """ + return pulumi.get(self, "workload_runtime") + + +class AwaitableGetAgentPoolResult(GetAgentPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAgentPoolResult( + availability_zones=self.availability_zones, + count=self.count, + creation_data=self.creation_data, + current_orchestrator_version=self.current_orchestrator_version, + enable_auto_scaling=self.enable_auto_scaling, + enable_encryption_at_host=self.enable_encryption_at_host, + enable_fips=self.enable_fips, + enable_node_public_ip=self.enable_node_public_ip, + enable_ultra_ssd=self.enable_ultra_ssd, + gpu_instance_profile=self.gpu_instance_profile, + host_group_id=self.host_group_id, + id=self.id, + kubelet_config=self.kubelet_config, + kubelet_disk_type=self.kubelet_disk_type, + linux_os_config=self.linux_os_config, + max_count=self.max_count, + max_pods=self.max_pods, + min_count=self.min_count, + mode=self.mode, + name=self.name, + node_image_version=self.node_image_version, + node_labels=self.node_labels, + node_public_ip_prefix_id=self.node_public_ip_prefix_id, + node_taints=self.node_taints, + orchestrator_version=self.orchestrator_version, + os_disk_size_gb=self.os_disk_size_gb, + os_disk_type=self.os_disk_type, + os_sku=self.os_sku, + os_type=self.os_type, + pod_subnet_id=self.pod_subnet_id, + power_state=self.power_state, + provisioning_state=self.provisioning_state, + proximity_placement_group_id=self.proximity_placement_group_id, + scale_down_mode=self.scale_down_mode, + scale_set_eviction_policy=self.scale_set_eviction_policy, + scale_set_priority=self.scale_set_priority, + spot_max_price=self.spot_max_price, + tags=self.tags, + type=self.type, + upgrade_settings=self.upgrade_settings, + vm_size=self.vm_size, + vnet_subnet_id=self.vnet_subnet_id, + workload_runtime=self.workload_runtime) + + +def get_agent_pool(agent_pool_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentPoolResult: + """ + Agent Pool. + + + :param str agent_pool_name: The name of the agent pool. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + __args__ = dict() + __args__['agentPoolName'] = agent_pool_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:getAgentPool', __args__, opts=opts, typ=GetAgentPoolResult).value + + return AwaitableGetAgentPoolResult( + availability_zones=pulumi.get(__ret__, 'availability_zones'), + count=pulumi.get(__ret__, 'count'), + creation_data=pulumi.get(__ret__, 'creation_data'), + current_orchestrator_version=pulumi.get(__ret__, 'current_orchestrator_version'), + enable_auto_scaling=pulumi.get(__ret__, 'enable_auto_scaling'), + enable_encryption_at_host=pulumi.get(__ret__, 'enable_encryption_at_host'), + enable_fips=pulumi.get(__ret__, 'enable_fips'), + enable_node_public_ip=pulumi.get(__ret__, 'enable_node_public_ip'), + enable_ultra_ssd=pulumi.get(__ret__, 'enable_ultra_ssd'), + gpu_instance_profile=pulumi.get(__ret__, 'gpu_instance_profile'), + host_group_id=pulumi.get(__ret__, 'host_group_id'), + id=pulumi.get(__ret__, 'id'), + kubelet_config=pulumi.get(__ret__, 'kubelet_config'), + kubelet_disk_type=pulumi.get(__ret__, 'kubelet_disk_type'), + linux_os_config=pulumi.get(__ret__, 'linux_os_config'), + max_count=pulumi.get(__ret__, 'max_count'), + max_pods=pulumi.get(__ret__, 'max_pods'), + min_count=pulumi.get(__ret__, 'min_count'), + mode=pulumi.get(__ret__, 'mode'), + name=pulumi.get(__ret__, 'name'), + node_image_version=pulumi.get(__ret__, 'node_image_version'), + node_labels=pulumi.get(__ret__, 'node_labels'), + node_public_ip_prefix_id=pulumi.get(__ret__, 'node_public_ip_prefix_id'), + node_taints=pulumi.get(__ret__, 'node_taints'), + orchestrator_version=pulumi.get(__ret__, 'orchestrator_version'), + os_disk_size_gb=pulumi.get(__ret__, 'os_disk_size_gb'), + os_disk_type=pulumi.get(__ret__, 'os_disk_type'), + os_sku=pulumi.get(__ret__, 'os_sku'), + os_type=pulumi.get(__ret__, 'os_type'), + pod_subnet_id=pulumi.get(__ret__, 'pod_subnet_id'), + power_state=pulumi.get(__ret__, 'power_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + proximity_placement_group_id=pulumi.get(__ret__, 'proximity_placement_group_id'), + scale_down_mode=pulumi.get(__ret__, 'scale_down_mode'), + scale_set_eviction_policy=pulumi.get(__ret__, 'scale_set_eviction_policy'), + scale_set_priority=pulumi.get(__ret__, 'scale_set_priority'), + spot_max_price=pulumi.get(__ret__, 'spot_max_price'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + upgrade_settings=pulumi.get(__ret__, 'upgrade_settings'), + vm_size=pulumi.get(__ret__, 'vm_size'), + vnet_subnet_id=pulumi.get(__ret__, 'vnet_subnet_id'), + workload_runtime=pulumi.get(__ret__, 'workload_runtime')) + + +@_utilities.lift_output_func(get_agent_pool) +def get_agent_pool_output(agent_pool_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentPoolResult]: + """ + Agent Pool. + + + :param str agent_pool_name: The name of the agent pool. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/get_maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_maintenance_configuration.py new file mode 100644 index 000000000000..b0eb63bec181 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_maintenance_configuration.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMaintenanceConfigurationResult', + 'AwaitableGetMaintenanceConfigurationResult', + 'get_maintenance_configuration', + 'get_maintenance_configuration_output', +] + +@pulumi.output_type +class GetMaintenanceConfigurationResult: + """ + See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + """ + def __init__(__self__, id=None, maintenance_window=None, name=None, not_allowed_time=None, system_data=None, time_in_week=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if maintenance_window and not isinstance(maintenance_window, dict): + raise TypeError("Expected argument 'maintenance_window' to be a dict") + pulumi.set(__self__, "maintenance_window", maintenance_window) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if not_allowed_time and not isinstance(not_allowed_time, list): + raise TypeError("Expected argument 'not_allowed_time' to be a list") + pulumi.set(__self__, "not_allowed_time", not_allowed_time) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if time_in_week and not isinstance(time_in_week, list): + raise TypeError("Expected argument 'time_in_week' to be a list") + pulumi.set(__self__, "time_in_week", time_in_week) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional['outputs.MaintenanceWindowResponse']: + """ + Maintenance window for the maintenance configuration. + """ + return pulumi.get(self, "maintenance_window") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notAllowedTime") + def not_allowed_time(self) -> Optional[Sequence['outputs.TimeSpanResponse']]: + """ + Time slots on which upgrade is not allowed. + """ + return pulumi.get(self, "not_allowed_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system metadata relating to this resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="timeInWeek") + def time_in_week(self) -> Optional[Sequence['outputs.TimeInWeekResponse']]: + """ + If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + """ + return pulumi.get(self, "time_in_week") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type + """ + return pulumi.get(self, "type") + + +class AwaitableGetMaintenanceConfigurationResult(GetMaintenanceConfigurationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMaintenanceConfigurationResult( + id=self.id, + maintenance_window=self.maintenance_window, + name=self.name, + not_allowed_time=self.not_allowed_time, + system_data=self.system_data, + time_in_week=self.time_in_week, + type=self.type) + + +def get_maintenance_configuration(config_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaintenanceConfigurationResult: + """ + See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + + + :param str config_name: The name of the maintenance configuration. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + __args__ = dict() + __args__['configName'] = config_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:getMaintenanceConfiguration', __args__, opts=opts, typ=GetMaintenanceConfigurationResult).value + + return AwaitableGetMaintenanceConfigurationResult( + id=pulumi.get(__ret__, 'id'), + maintenance_window=pulumi.get(__ret__, 'maintenance_window'), + name=pulumi.get(__ret__, 'name'), + not_allowed_time=pulumi.get(__ret__, 'not_allowed_time'), + system_data=pulumi.get(__ret__, 'system_data'), + time_in_week=pulumi.get(__ret__, 'time_in_week'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_maintenance_configuration) +def get_maintenance_configuration_output(config_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaintenanceConfigurationResult]: + """ + See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + + + :param str config_name: The name of the maintenance configuration. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/get_managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_managed_cluster.py new file mode 100644 index 000000000000..de80b0a3d88c --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_managed_cluster.py @@ -0,0 +1,690 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetManagedClusterResult', + 'AwaitableGetManagedClusterResult', + 'get_managed_cluster', + 'get_managed_cluster_output', +] + +@pulumi.output_type +class GetManagedClusterResult: + """ + Managed cluster. + """ + def __init__(__self__, aad_profile=None, addon_profiles=None, agent_pool_profiles=None, api_server_access_profile=None, auto_scaler_profile=None, auto_upgrade_profile=None, azure_monitor_profile=None, azure_portal_fqdn=None, current_kubernetes_version=None, disable_local_accounts=None, disk_encryption_set_id=None, dns_prefix=None, enable_pod_security_policy=None, enable_rbac=None, extended_location=None, fqdn=None, fqdn_subdomain=None, http_proxy_config=None, id=None, identity=None, identity_profile=None, kubernetes_version=None, linux_profile=None, location=None, max_agent_pools=None, name=None, network_profile=None, node_resource_group=None, oidc_issuer_profile=None, pod_identity_profile=None, power_state=None, private_fqdn=None, private_link_resources=None, provisioning_state=None, public_network_access=None, resource_uid=None, security_profile=None, service_mesh_profile=None, service_principal_profile=None, sku=None, storage_profile=None, support_plan=None, system_data=None, tags=None, type=None, upgrade_settings=None, windows_profile=None, workload_auto_scaler_profile=None): + if aad_profile and not isinstance(aad_profile, dict): + raise TypeError("Expected argument 'aad_profile' to be a dict") + pulumi.set(__self__, "aad_profile", aad_profile) + if addon_profiles and not isinstance(addon_profiles, dict): + raise TypeError("Expected argument 'addon_profiles' to be a dict") + pulumi.set(__self__, "addon_profiles", addon_profiles) + if agent_pool_profiles and not isinstance(agent_pool_profiles, list): + raise TypeError("Expected argument 'agent_pool_profiles' to be a list") + pulumi.set(__self__, "agent_pool_profiles", agent_pool_profiles) + if api_server_access_profile and not isinstance(api_server_access_profile, dict): + raise TypeError("Expected argument 'api_server_access_profile' to be a dict") + pulumi.set(__self__, "api_server_access_profile", api_server_access_profile) + if auto_scaler_profile and not isinstance(auto_scaler_profile, dict): + raise TypeError("Expected argument 'auto_scaler_profile' to be a dict") + pulumi.set(__self__, "auto_scaler_profile", auto_scaler_profile) + if auto_upgrade_profile and not isinstance(auto_upgrade_profile, dict): + raise TypeError("Expected argument 'auto_upgrade_profile' to be a dict") + pulumi.set(__self__, "auto_upgrade_profile", auto_upgrade_profile) + if azure_monitor_profile and not isinstance(azure_monitor_profile, dict): + raise TypeError("Expected argument 'azure_monitor_profile' to be a dict") + pulumi.set(__self__, "azure_monitor_profile", azure_monitor_profile) + if azure_portal_fqdn and not isinstance(azure_portal_fqdn, str): + raise TypeError("Expected argument 'azure_portal_fqdn' to be a str") + pulumi.set(__self__, "azure_portal_fqdn", azure_portal_fqdn) + if current_kubernetes_version and not isinstance(current_kubernetes_version, str): + raise TypeError("Expected argument 'current_kubernetes_version' to be a str") + pulumi.set(__self__, "current_kubernetes_version", current_kubernetes_version) + if disable_local_accounts and not isinstance(disable_local_accounts, bool): + raise TypeError("Expected argument 'disable_local_accounts' to be a bool") + pulumi.set(__self__, "disable_local_accounts", disable_local_accounts) + if disk_encryption_set_id and not isinstance(disk_encryption_set_id, str): + raise TypeError("Expected argument 'disk_encryption_set_id' to be a str") + pulumi.set(__self__, "disk_encryption_set_id", disk_encryption_set_id) + if dns_prefix and not isinstance(dns_prefix, str): + raise TypeError("Expected argument 'dns_prefix' to be a str") + pulumi.set(__self__, "dns_prefix", dns_prefix) + if enable_pod_security_policy and not isinstance(enable_pod_security_policy, bool): + raise TypeError("Expected argument 'enable_pod_security_policy' to be a bool") + pulumi.set(__self__, "enable_pod_security_policy", enable_pod_security_policy) + if enable_rbac and not isinstance(enable_rbac, bool): + raise TypeError("Expected argument 'enable_rbac' to be a bool") + pulumi.set(__self__, "enable_rbac", enable_rbac) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if fqdn and not isinstance(fqdn, str): + raise TypeError("Expected argument 'fqdn' to be a str") + pulumi.set(__self__, "fqdn", fqdn) + if fqdn_subdomain and not isinstance(fqdn_subdomain, str): + raise TypeError("Expected argument 'fqdn_subdomain' to be a str") + pulumi.set(__self__, "fqdn_subdomain", fqdn_subdomain) + if http_proxy_config and not isinstance(http_proxy_config, dict): + raise TypeError("Expected argument 'http_proxy_config' to be a dict") + pulumi.set(__self__, "http_proxy_config", http_proxy_config) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if identity_profile and not isinstance(identity_profile, dict): + raise TypeError("Expected argument 'identity_profile' to be a dict") + pulumi.set(__self__, "identity_profile", identity_profile) + if kubernetes_version and not isinstance(kubernetes_version, str): + raise TypeError("Expected argument 'kubernetes_version' to be a str") + pulumi.set(__self__, "kubernetes_version", kubernetes_version) + if linux_profile and not isinstance(linux_profile, dict): + raise TypeError("Expected argument 'linux_profile' to be a dict") + pulumi.set(__self__, "linux_profile", linux_profile) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if max_agent_pools and not isinstance(max_agent_pools, int): + raise TypeError("Expected argument 'max_agent_pools' to be a int") + pulumi.set(__self__, "max_agent_pools", max_agent_pools) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_profile and not isinstance(network_profile, dict): + raise TypeError("Expected argument 'network_profile' to be a dict") + pulumi.set(__self__, "network_profile", network_profile) + if node_resource_group and not isinstance(node_resource_group, str): + raise TypeError("Expected argument 'node_resource_group' to be a str") + pulumi.set(__self__, "node_resource_group", node_resource_group) + if oidc_issuer_profile and not isinstance(oidc_issuer_profile, dict): + raise TypeError("Expected argument 'oidc_issuer_profile' to be a dict") + pulumi.set(__self__, "oidc_issuer_profile", oidc_issuer_profile) + if pod_identity_profile and not isinstance(pod_identity_profile, dict): + raise TypeError("Expected argument 'pod_identity_profile' to be a dict") + pulumi.set(__self__, "pod_identity_profile", pod_identity_profile) + if power_state and not isinstance(power_state, dict): + raise TypeError("Expected argument 'power_state' to be a dict") + pulumi.set(__self__, "power_state", power_state) + if private_fqdn and not isinstance(private_fqdn, str): + raise TypeError("Expected argument 'private_fqdn' to be a str") + pulumi.set(__self__, "private_fqdn", private_fqdn) + if private_link_resources and not isinstance(private_link_resources, list): + raise TypeError("Expected argument 'private_link_resources' to be a list") + pulumi.set(__self__, "private_link_resources", private_link_resources) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if resource_uid and not isinstance(resource_uid, str): + raise TypeError("Expected argument 'resource_uid' to be a str") + pulumi.set(__self__, "resource_uid", resource_uid) + if security_profile and not isinstance(security_profile, dict): + raise TypeError("Expected argument 'security_profile' to be a dict") + pulumi.set(__self__, "security_profile", security_profile) + if service_mesh_profile and not isinstance(service_mesh_profile, dict): + raise TypeError("Expected argument 'service_mesh_profile' to be a dict") + pulumi.set(__self__, "service_mesh_profile", service_mesh_profile) + if service_principal_profile and not isinstance(service_principal_profile, dict): + raise TypeError("Expected argument 'service_principal_profile' to be a dict") + pulumi.set(__self__, "service_principal_profile", service_principal_profile) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if storage_profile and not isinstance(storage_profile, dict): + raise TypeError("Expected argument 'storage_profile' to be a dict") + pulumi.set(__self__, "storage_profile", storage_profile) + if support_plan and not isinstance(support_plan, str): + raise TypeError("Expected argument 'support_plan' to be a str") + pulumi.set(__self__, "support_plan", support_plan) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if upgrade_settings and not isinstance(upgrade_settings, dict): + raise TypeError("Expected argument 'upgrade_settings' to be a dict") + pulumi.set(__self__, "upgrade_settings", upgrade_settings) + if windows_profile and not isinstance(windows_profile, dict): + raise TypeError("Expected argument 'windows_profile' to be a dict") + pulumi.set(__self__, "windows_profile", windows_profile) + if workload_auto_scaler_profile and not isinstance(workload_auto_scaler_profile, dict): + raise TypeError("Expected argument 'workload_auto_scaler_profile' to be a dict") + pulumi.set(__self__, "workload_auto_scaler_profile", workload_auto_scaler_profile) + + @property + @pulumi.getter(name="aadProfile") + def aad_profile(self) -> Optional['outputs.ManagedClusterAADProfileResponse']: + """ + The Azure Active Directory configuration. + """ + return pulumi.get(self, "aad_profile") + + @property + @pulumi.getter(name="addonProfiles") + def addon_profiles(self) -> Optional[Mapping[str, 'outputs.ManagedClusterAddonProfileResponse']]: + """ + The profile of managed cluster add-on. + """ + return pulumi.get(self, "addon_profiles") + + @property + @pulumi.getter(name="agentPoolProfiles") + def agent_pool_profiles(self) -> Optional[Sequence['outputs.ManagedClusterAgentPoolProfileResponse']]: + """ + The agent pool properties. + """ + return pulumi.get(self, "agent_pool_profiles") + + @property + @pulumi.getter(name="apiServerAccessProfile") + def api_server_access_profile(self) -> Optional['outputs.ManagedClusterAPIServerAccessProfileResponse']: + """ + The access profile for managed cluster API server. + """ + return pulumi.get(self, "api_server_access_profile") + + @property + @pulumi.getter(name="autoScalerProfile") + def auto_scaler_profile(self) -> Optional['outputs.ManagedClusterPropertiesResponseAutoScalerProfile']: + """ + Parameters to be applied to the cluster-autoscaler when enabled + """ + return pulumi.get(self, "auto_scaler_profile") + + @property + @pulumi.getter(name="autoUpgradeProfile") + def auto_upgrade_profile(self) -> Optional['outputs.ManagedClusterAutoUpgradeProfileResponse']: + """ + The auto upgrade configuration. + """ + return pulumi.get(self, "auto_upgrade_profile") + + @property + @pulumi.getter(name="azureMonitorProfile") + def azure_monitor_profile(self) -> Optional['outputs.ManagedClusterAzureMonitorProfileResponse']: + """ + Azure Monitor addon profiles for monitoring the managed cluster. + """ + return pulumi.get(self, "azure_monitor_profile") + + @property + @pulumi.getter(name="azurePortalFQDN") + def azure_portal_fqdn(self) -> str: + """ + The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. + """ + return pulumi.get(self, "azure_portal_fqdn") + + @property + @pulumi.getter(name="currentKubernetesVersion") + def current_kubernetes_version(self) -> str: + """ + If kubernetesVersion was a fully specified version , this field will be exactly equal to it. If kubernetesVersion was , this field will contain the full version being used. + """ + return pulumi.get(self, "current_kubernetes_version") + + @property + @pulumi.getter(name="disableLocalAccounts") + def disable_local_accounts(self) -> Optional[bool]: + """ + If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + """ + return pulumi.get(self, "disable_local_accounts") + + @property + @pulumi.getter(name="diskEncryptionSetID") + def disk_encryption_set_id(self) -> Optional[str]: + """ + This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + """ + return pulumi.get(self, "disk_encryption_set_id") + + @property + @pulumi.getter(name="dnsPrefix") + def dns_prefix(self) -> Optional[str]: + """ + This cannot be updated once the Managed Cluster has been created. + """ + return pulumi.get(self, "dns_prefix") + + @property + @pulumi.getter(name="enablePodSecurityPolicy") + def enable_pod_security_policy(self) -> Optional[bool]: + """ + (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + """ + return pulumi.get(self, "enable_pod_security_policy") + + @property + @pulumi.getter(name="enableRBAC") + def enable_rbac(self) -> Optional[bool]: + """ + Whether to enable Kubernetes Role-Based Access Control. + """ + return pulumi.get(self, "enable_rbac") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extended location of the Virtual Machine. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def fqdn(self) -> str: + """ + The FQDN of the master pool. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="fqdnSubdomain") + def fqdn_subdomain(self) -> Optional[str]: + """ + This cannot be updated once the Managed Cluster has been created. + """ + return pulumi.get(self, "fqdn_subdomain") + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> Optional['outputs.ManagedClusterHTTPProxyConfigResponse']: + """ + Configurations for provisioning the cluster with HTTP proxy servers. + """ + return pulumi.get(self, "http_proxy_config") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedClusterIdentityResponse']: + """ + The identity of the managed cluster, if configured. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="identityProfile") + def identity_profile(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + Identities associated with the cluster. + """ + return pulumi.get(self, "identity_profile") + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> Optional[str]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + """ + return pulumi.get(self, "kubernetes_version") + + @property + @pulumi.getter(name="linuxProfile") + def linux_profile(self) -> Optional['outputs.ContainerServiceLinuxProfileResponse']: + """ + The profile for Linux VMs in the Managed Cluster. + """ + return pulumi.get(self, "linux_profile") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="maxAgentPools") + def max_agent_pools(self) -> int: + """ + The max number of agent pools for the managed cluster. + """ + return pulumi.get(self, "max_agent_pools") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.ContainerServiceNetworkProfileResponse']: + """ + The network configuration profile. + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="nodeResourceGroup") + def node_resource_group(self) -> Optional[str]: + """ + The name of the resource group containing agent pool nodes. + """ + return pulumi.get(self, "node_resource_group") + + @property + @pulumi.getter(name="oidcIssuerProfile") + def oidc_issuer_profile(self) -> Optional['outputs.ManagedClusterOIDCIssuerProfileResponse']: + """ + The OIDC issuer profile of the Managed Cluster. + """ + return pulumi.get(self, "oidc_issuer_profile") + + @property + @pulumi.getter(name="podIdentityProfile") + def pod_identity_profile(self) -> Optional['outputs.ManagedClusterPodIdentityProfileResponse']: + """ + See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + """ + return pulumi.get(self, "pod_identity_profile") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> 'outputs.PowerStateResponse': + """ + The Power State of the cluster. + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="privateFQDN") + def private_fqdn(self) -> str: + """ + The FQDN of private cluster. + """ + return pulumi.get(self, "private_fqdn") + + @property + @pulumi.getter(name="privateLinkResources") + def private_link_resources(self) -> Optional[Sequence['outputs.PrivateLinkResourceResponse']]: + """ + Private link resources associated with the cluster. + """ + return pulumi.get(self, "private_link_resources") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The current provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Allow or deny public network access for AKS + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="resourceUID") + def resource_uid(self) -> str: + """ + The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence) + """ + return pulumi.get(self, "resource_uid") + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional['outputs.ManagedClusterSecurityProfileResponse']: + """ + Security profile for the managed cluster. + """ + return pulumi.get(self, "security_profile") + + @property + @pulumi.getter(name="serviceMeshProfile") + def service_mesh_profile(self) -> Optional['outputs.ServiceMeshProfileResponse']: + """ + Service mesh profile for a managed cluster. + """ + return pulumi.get(self, "service_mesh_profile") + + @property + @pulumi.getter(name="servicePrincipalProfile") + def service_principal_profile(self) -> Optional['outputs.ManagedClusterServicePrincipalProfileResponse']: + """ + Information about a service principal identity for the cluster to use for manipulating Azure APIs. + """ + return pulumi.get(self, "service_principal_profile") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.ManagedClusterSKUResponse']: + """ + The managed cluster SKU. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> Optional['outputs.ManagedClusterStorageProfileResponse']: + """ + Storage profile for the managed cluster. + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter(name="supportPlan") + def support_plan(self) -> Optional[str]: + """ + The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + """ + return pulumi.get(self, "support_plan") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> Optional['outputs.ClusterUpgradeSettingsResponse']: + """ + Settings for upgrading a cluster. + """ + return pulumi.get(self, "upgrade_settings") + + @property + @pulumi.getter(name="windowsProfile") + def windows_profile(self) -> Optional['outputs.ManagedClusterWindowsProfileResponse']: + """ + The profile for Windows VMs in the Managed Cluster. + """ + return pulumi.get(self, "windows_profile") + + @property + @pulumi.getter(name="workloadAutoScalerProfile") + def workload_auto_scaler_profile(self) -> Optional['outputs.ManagedClusterWorkloadAutoScalerProfileResponse']: + """ + Workload Auto-scaler profile for the managed cluster. + """ + return pulumi.get(self, "workload_auto_scaler_profile") + + +class AwaitableGetManagedClusterResult(GetManagedClusterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetManagedClusterResult( + aad_profile=self.aad_profile, + addon_profiles=self.addon_profiles, + agent_pool_profiles=self.agent_pool_profiles, + api_server_access_profile=self.api_server_access_profile, + auto_scaler_profile=self.auto_scaler_profile, + auto_upgrade_profile=self.auto_upgrade_profile, + azure_monitor_profile=self.azure_monitor_profile, + azure_portal_fqdn=self.azure_portal_fqdn, + current_kubernetes_version=self.current_kubernetes_version, + disable_local_accounts=self.disable_local_accounts, + disk_encryption_set_id=self.disk_encryption_set_id, + dns_prefix=self.dns_prefix, + enable_pod_security_policy=self.enable_pod_security_policy, + enable_rbac=self.enable_rbac, + extended_location=self.extended_location, + fqdn=self.fqdn, + fqdn_subdomain=self.fqdn_subdomain, + http_proxy_config=self.http_proxy_config, + id=self.id, + identity=self.identity, + identity_profile=self.identity_profile, + kubernetes_version=self.kubernetes_version, + linux_profile=self.linux_profile, + location=self.location, + max_agent_pools=self.max_agent_pools, + name=self.name, + network_profile=self.network_profile, + node_resource_group=self.node_resource_group, + oidc_issuer_profile=self.oidc_issuer_profile, + pod_identity_profile=self.pod_identity_profile, + power_state=self.power_state, + private_fqdn=self.private_fqdn, + private_link_resources=self.private_link_resources, + provisioning_state=self.provisioning_state, + public_network_access=self.public_network_access, + resource_uid=self.resource_uid, + security_profile=self.security_profile, + service_mesh_profile=self.service_mesh_profile, + service_principal_profile=self.service_principal_profile, + sku=self.sku, + storage_profile=self.storage_profile, + support_plan=self.support_plan, + system_data=self.system_data, + tags=self.tags, + type=self.type, + upgrade_settings=self.upgrade_settings, + windows_profile=self.windows_profile, + workload_auto_scaler_profile=self.workload_auto_scaler_profile) + + +def get_managed_cluster(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedClusterResult: + """ + Managed cluster. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:getManagedCluster', __args__, opts=opts, typ=GetManagedClusterResult).value + + return AwaitableGetManagedClusterResult( + aad_profile=pulumi.get(__ret__, 'aad_profile'), + addon_profiles=pulumi.get(__ret__, 'addon_profiles'), + agent_pool_profiles=pulumi.get(__ret__, 'agent_pool_profiles'), + api_server_access_profile=pulumi.get(__ret__, 'api_server_access_profile'), + auto_scaler_profile=pulumi.get(__ret__, 'auto_scaler_profile'), + auto_upgrade_profile=pulumi.get(__ret__, 'auto_upgrade_profile'), + azure_monitor_profile=pulumi.get(__ret__, 'azure_monitor_profile'), + azure_portal_fqdn=pulumi.get(__ret__, 'azure_portal_fqdn'), + current_kubernetes_version=pulumi.get(__ret__, 'current_kubernetes_version'), + disable_local_accounts=pulumi.get(__ret__, 'disable_local_accounts'), + disk_encryption_set_id=pulumi.get(__ret__, 'disk_encryption_set_id'), + dns_prefix=pulumi.get(__ret__, 'dns_prefix'), + enable_pod_security_policy=pulumi.get(__ret__, 'enable_pod_security_policy'), + enable_rbac=pulumi.get(__ret__, 'enable_rbac'), + extended_location=pulumi.get(__ret__, 'extended_location'), + fqdn=pulumi.get(__ret__, 'fqdn'), + fqdn_subdomain=pulumi.get(__ret__, 'fqdn_subdomain'), + http_proxy_config=pulumi.get(__ret__, 'http_proxy_config'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + identity_profile=pulumi.get(__ret__, 'identity_profile'), + kubernetes_version=pulumi.get(__ret__, 'kubernetes_version'), + linux_profile=pulumi.get(__ret__, 'linux_profile'), + location=pulumi.get(__ret__, 'location'), + max_agent_pools=pulumi.get(__ret__, 'max_agent_pools'), + name=pulumi.get(__ret__, 'name'), + network_profile=pulumi.get(__ret__, 'network_profile'), + node_resource_group=pulumi.get(__ret__, 'node_resource_group'), + oidc_issuer_profile=pulumi.get(__ret__, 'oidc_issuer_profile'), + pod_identity_profile=pulumi.get(__ret__, 'pod_identity_profile'), + power_state=pulumi.get(__ret__, 'power_state'), + private_fqdn=pulumi.get(__ret__, 'private_fqdn'), + private_link_resources=pulumi.get(__ret__, 'private_link_resources'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + resource_uid=pulumi.get(__ret__, 'resource_uid'), + security_profile=pulumi.get(__ret__, 'security_profile'), + service_mesh_profile=pulumi.get(__ret__, 'service_mesh_profile'), + service_principal_profile=pulumi.get(__ret__, 'service_principal_profile'), + sku=pulumi.get(__ret__, 'sku'), + storage_profile=pulumi.get(__ret__, 'storage_profile'), + support_plan=pulumi.get(__ret__, 'support_plan'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + upgrade_settings=pulumi.get(__ret__, 'upgrade_settings'), + windows_profile=pulumi.get(__ret__, 'windows_profile'), + workload_auto_scaler_profile=pulumi.get(__ret__, 'workload_auto_scaler_profile')) + + +@_utilities.lift_output_func(get_managed_cluster) +def get_managed_cluster_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedClusterResult]: + """ + Managed cluster. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_private_endpoint_connection.py new file mode 100644 index 000000000000..426ce9a98d90 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_private_endpoint_connection.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', + 'get_private_endpoint_connection_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + A private endpoint connection + """ + def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of the private endpoint connection. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the private endpoint connection. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The resource of private endpoint. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The current provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> str: + """ + The resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + type=self.type) + + +def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + + + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + __args__ = dict() + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection) +def get_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]: + """ + To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + + + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/get_snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_snapshot.py new file mode 100644 index 000000000000..58054eebe094 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/get_snapshot.py @@ -0,0 +1,248 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSnapshotResult', + 'AwaitableGetSnapshotResult', + 'get_snapshot', + 'get_snapshot_output', +] + +@pulumi.output_type +class GetSnapshotResult: + """ + A node pool snapshot resource. + """ + def __init__(__self__, creation_data=None, enable_fips=None, id=None, kubernetes_version=None, location=None, name=None, node_image_version=None, os_sku=None, os_type=None, snapshot_type=None, system_data=None, tags=None, type=None, vm_size=None): + if creation_data and not isinstance(creation_data, dict): + raise TypeError("Expected argument 'creation_data' to be a dict") + pulumi.set(__self__, "creation_data", creation_data) + if enable_fips and not isinstance(enable_fips, bool): + raise TypeError("Expected argument 'enable_fips' to be a bool") + pulumi.set(__self__, "enable_fips", enable_fips) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kubernetes_version and not isinstance(kubernetes_version, str): + raise TypeError("Expected argument 'kubernetes_version' to be a str") + pulumi.set(__self__, "kubernetes_version", kubernetes_version) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if node_image_version and not isinstance(node_image_version, str): + raise TypeError("Expected argument 'node_image_version' to be a str") + pulumi.set(__self__, "node_image_version", node_image_version) + if os_sku and not isinstance(os_sku, str): + raise TypeError("Expected argument 'os_sku' to be a str") + pulumi.set(__self__, "os_sku", os_sku) + if os_type and not isinstance(os_type, str): + raise TypeError("Expected argument 'os_type' to be a str") + pulumi.set(__self__, "os_type", os_type) + if snapshot_type and not isinstance(snapshot_type, str): + raise TypeError("Expected argument 'snapshot_type' to be a str") + pulumi.set(__self__, "snapshot_type", snapshot_type) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if vm_size and not isinstance(vm_size, str): + raise TypeError("Expected argument 'vm_size' to be a str") + pulumi.set(__self__, "vm_size", vm_size) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional['outputs.CreationDataResponse']: + """ + CreationData to be used to specify the source agent pool resource ID to create this snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> bool: + """ + Whether to use a FIPS-enabled OS. + """ + return pulumi.get(self, "enable_fips") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> str: + """ + The version of Kubernetes. + """ + return pulumi.get(self, "kubernetes_version") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeImageVersion") + def node_image_version(self) -> str: + """ + The version of node image. + """ + return pulumi.get(self, "node_image_version") + + @property + @pulumi.getter(name="osSku") + def os_sku(self) -> str: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> str: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="snapshotType") + def snapshot_type(self) -> Optional[str]: + """ + The type of a snapshot. The default is NodePool. + """ + return pulumi.get(self, "snapshot_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> str: + """ + The size of the VM. + """ + return pulumi.get(self, "vm_size") + + +class AwaitableGetSnapshotResult(GetSnapshotResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSnapshotResult( + creation_data=self.creation_data, + enable_fips=self.enable_fips, + id=self.id, + kubernetes_version=self.kubernetes_version, + location=self.location, + name=self.name, + node_image_version=self.node_image_version, + os_sku=self.os_sku, + os_type=self.os_type, + snapshot_type=self.snapshot_type, + system_data=self.system_data, + tags=self.tags, + type=self.type, + vm_size=self.vm_size) + + +def get_snapshot(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSnapshotResult: + """ + A node pool snapshot resource. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:getSnapshot', __args__, opts=opts, typ=GetSnapshotResult).value + + return AwaitableGetSnapshotResult( + creation_data=pulumi.get(__ret__, 'creation_data'), + enable_fips=pulumi.get(__ret__, 'enable_fips'), + id=pulumi.get(__ret__, 'id'), + kubernetes_version=pulumi.get(__ret__, 'kubernetes_version'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + node_image_version=pulumi.get(__ret__, 'node_image_version'), + os_sku=pulumi.get(__ret__, 'os_sku'), + os_type=pulumi.get(__ret__, 'os_type'), + snapshot_type=pulumi.get(__ret__, 'snapshot_type'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + vm_size=pulumi.get(__ret__, 'vm_size')) + + +@_utilities.lift_output_func(get_snapshot) +def get_snapshot_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotResult]: + """ + A node pool snapshot resource. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_admin_credentials.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_admin_credentials.py new file mode 100644 index 000000000000..8516d832026a --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_admin_credentials.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListManagedClusterAdminCredentialsResult', + 'AwaitableListManagedClusterAdminCredentialsResult', + 'list_managed_cluster_admin_credentials', + 'list_managed_cluster_admin_credentials_output', +] + +@pulumi.output_type +class ListManagedClusterAdminCredentialsResult: + """ + The list credential result response. + """ + def __init__(__self__, kubeconfigs=None): + if kubeconfigs and not isinstance(kubeconfigs, list): + raise TypeError("Expected argument 'kubeconfigs' to be a list") + pulumi.set(__self__, "kubeconfigs", kubeconfigs) + + @property + @pulumi.getter + def kubeconfigs(self) -> Sequence['outputs.CredentialResultResponse']: + """ + Base64-encoded Kubernetes configuration file. + """ + return pulumi.get(self, "kubeconfigs") + + +class AwaitableListManagedClusterAdminCredentialsResult(ListManagedClusterAdminCredentialsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListManagedClusterAdminCredentialsResult( + kubeconfigs=self.kubeconfigs) + + +def list_managed_cluster_admin_credentials(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + server_fqdn: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListManagedClusterAdminCredentialsResult: + """ + The list credential result response. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + :param str server_fqdn: server fqdn type for credentials to be returned + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + __args__['serverFqdn'] = server_fqdn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:listManagedClusterAdminCredentials', __args__, opts=opts, typ=ListManagedClusterAdminCredentialsResult).value + + return AwaitableListManagedClusterAdminCredentialsResult( + kubeconfigs=pulumi.get(__ret__, 'kubeconfigs')) + + +@_utilities.lift_output_func(list_managed_cluster_admin_credentials) +def list_managed_cluster_admin_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + server_fqdn: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListManagedClusterAdminCredentialsResult]: + """ + The list credential result response. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + :param str server_fqdn: server fqdn type for credentials to be returned + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_monitoring_user_credentials.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_monitoring_user_credentials.py new file mode 100644 index 000000000000..9a9c45cd6f44 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_monitoring_user_credentials.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListManagedClusterMonitoringUserCredentialsResult', + 'AwaitableListManagedClusterMonitoringUserCredentialsResult', + 'list_managed_cluster_monitoring_user_credentials', + 'list_managed_cluster_monitoring_user_credentials_output', +] + +@pulumi.output_type +class ListManagedClusterMonitoringUserCredentialsResult: + """ + The list credential result response. + """ + def __init__(__self__, kubeconfigs=None): + if kubeconfigs and not isinstance(kubeconfigs, list): + raise TypeError("Expected argument 'kubeconfigs' to be a list") + pulumi.set(__self__, "kubeconfigs", kubeconfigs) + + @property + @pulumi.getter + def kubeconfigs(self) -> Sequence['outputs.CredentialResultResponse']: + """ + Base64-encoded Kubernetes configuration file. + """ + return pulumi.get(self, "kubeconfigs") + + +class AwaitableListManagedClusterMonitoringUserCredentialsResult(ListManagedClusterMonitoringUserCredentialsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListManagedClusterMonitoringUserCredentialsResult( + kubeconfigs=self.kubeconfigs) + + +def list_managed_cluster_monitoring_user_credentials(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + server_fqdn: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListManagedClusterMonitoringUserCredentialsResult: + """ + The list credential result response. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + :param str server_fqdn: server fqdn type for credentials to be returned + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + __args__['serverFqdn'] = server_fqdn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:listManagedClusterMonitoringUserCredentials', __args__, opts=opts, typ=ListManagedClusterMonitoringUserCredentialsResult).value + + return AwaitableListManagedClusterMonitoringUserCredentialsResult( + kubeconfigs=pulumi.get(__ret__, 'kubeconfigs')) + + +@_utilities.lift_output_func(list_managed_cluster_monitoring_user_credentials) +def list_managed_cluster_monitoring_user_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + server_fqdn: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListManagedClusterMonitoringUserCredentialsResult]: + """ + The list credential result response. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + :param str server_fqdn: server fqdn type for credentials to be returned + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_user_credentials.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_user_credentials.py new file mode 100644 index 000000000000..2b720c1795e1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/list_managed_cluster_user_credentials.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListManagedClusterUserCredentialsResult', + 'AwaitableListManagedClusterUserCredentialsResult', + 'list_managed_cluster_user_credentials', + 'list_managed_cluster_user_credentials_output', +] + +@pulumi.output_type +class ListManagedClusterUserCredentialsResult: + """ + The list credential result response. + """ + def __init__(__self__, kubeconfigs=None): + if kubeconfigs and not isinstance(kubeconfigs, list): + raise TypeError("Expected argument 'kubeconfigs' to be a list") + pulumi.set(__self__, "kubeconfigs", kubeconfigs) + + @property + @pulumi.getter + def kubeconfigs(self) -> Sequence['outputs.CredentialResultResponse']: + """ + Base64-encoded Kubernetes configuration file. + """ + return pulumi.get(self, "kubeconfigs") + + +class AwaitableListManagedClusterUserCredentialsResult(ListManagedClusterUserCredentialsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListManagedClusterUserCredentialsResult( + kubeconfigs=self.kubeconfigs) + + +def list_managed_cluster_user_credentials(format: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + server_fqdn: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListManagedClusterUserCredentialsResult: + """ + The list credential result response. + + + :param str format: Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + :param str server_fqdn: server fqdn type for credentials to be returned + """ + __args__ = dict() + __args__['format'] = format + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + __args__['serverFqdn'] = server_fqdn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230801:listManagedClusterUserCredentials', __args__, opts=opts, typ=ListManagedClusterUserCredentialsResult).value + + return AwaitableListManagedClusterUserCredentialsResult( + kubeconfigs=pulumi.get(__ret__, 'kubeconfigs')) + + +@_utilities.lift_output_func(list_managed_cluster_user_credentials) +def list_managed_cluster_user_credentials_output(format: Optional[pulumi.Input[Optional[str]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + server_fqdn: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListManagedClusterUserCredentialsResult]: + """ + The list credential result response. + + + :param str format: Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_name: The name of the managed cluster resource. + :param str server_fqdn: server fqdn type for credentials to be returned + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/maintenance_configuration.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/maintenance_configuration.py new file mode 100644 index 000000000000..c32666c2147c --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/maintenance_configuration.py @@ -0,0 +1,274 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MaintenanceConfigurationArgs', 'MaintenanceConfiguration'] + +@pulumi.input_type +class MaintenanceConfigurationArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + resource_name: pulumi.Input[str], + config_name: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input['MaintenanceWindowArgs']] = None, + not_allowed_time: Optional[pulumi.Input[Sequence[pulumi.Input['TimeSpanArgs']]]] = None, + time_in_week: Optional[pulumi.Input[Sequence[pulumi.Input['TimeInWeekArgs']]]] = None): + """ + The set of arguments for constructing a MaintenanceConfiguration resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name: The name of the managed cluster resource. + :param pulumi.Input[str] config_name: The name of the maintenance configuration. + :param pulumi.Input['MaintenanceWindowArgs'] maintenance_window: Maintenance window for the maintenance configuration. + :param pulumi.Input[Sequence[pulumi.Input['TimeSpanArgs']]] not_allowed_time: Time slots on which upgrade is not allowed. + :param pulumi.Input[Sequence[pulumi.Input['TimeInWeekArgs']]] time_in_week: If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "resource_name", resource_name) + if config_name is not None: + pulumi.set(__self__, "config_name", config_name) + if maintenance_window is not None: + pulumi.set(__self__, "maintenance_window", maintenance_window) + if not_allowed_time is not None: + pulumi.set(__self__, "not_allowed_time", not_allowed_time) + if time_in_week is not None: + pulumi.set(__self__, "time_in_week", time_in_week) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="resourceName") + def resource_name(self) -> pulumi.Input[str]: + """ + The name of the managed cluster resource. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="configName") + def config_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the maintenance configuration. + """ + return pulumi.get(self, "config_name") + + @config_name.setter + def config_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "config_name", value) + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional[pulumi.Input['MaintenanceWindowArgs']]: + """ + Maintenance window for the maintenance configuration. + """ + return pulumi.get(self, "maintenance_window") + + @maintenance_window.setter + def maintenance_window(self, value: Optional[pulumi.Input['MaintenanceWindowArgs']]): + pulumi.set(self, "maintenance_window", value) + + @property + @pulumi.getter(name="notAllowedTime") + def not_allowed_time(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TimeSpanArgs']]]]: + """ + Time slots on which upgrade is not allowed. + """ + return pulumi.get(self, "not_allowed_time") + + @not_allowed_time.setter + def not_allowed_time(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TimeSpanArgs']]]]): + pulumi.set(self, "not_allowed_time", value) + + @property + @pulumi.getter(name="timeInWeek") + def time_in_week(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TimeInWeekArgs']]]]: + """ + If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + """ + return pulumi.get(self, "time_in_week") + + @time_in_week.setter + def time_in_week(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TimeInWeekArgs']]]]): + pulumi.set(self, "time_in_week", value) + + +class MaintenanceConfiguration(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + config_name: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']]] = None, + not_allowed_time: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TimeSpanArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + time_in_week: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TimeInWeekArgs']]]]] = None, + __props__=None): + """ + See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] config_name: The name of the maintenance configuration. + :param pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']] maintenance_window: Maintenance window for the maintenance configuration. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TimeSpanArgs']]]] not_allowed_time: Time slots on which upgrade is not allowed. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name_: The name of the managed cluster resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TimeInWeekArgs']]]] time_in_week: If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MaintenanceConfigurationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. + + :param str resource_name: The name of the resource. + :param MaintenanceConfigurationArgs 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(MaintenanceConfigurationArgs, 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, + config_name: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']]] = None, + not_allowed_time: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TimeSpanArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + time_in_week: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TimeInWeekArgs']]]]] = 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__ = MaintenanceConfigurationArgs.__new__(MaintenanceConfigurationArgs) + + __props__.__dict__["config_name"] = config_name + __props__.__dict__["maintenance_window"] = maintenance_window + __props__.__dict__["not_allowed_time"] = not_allowed_time + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if resource_name_ is None and not opts.urn: + raise TypeError("Missing required property 'resource_name_'") + __props__.__dict__["resource_name"] = resource_name_ + __props__.__dict__["time_in_week"] = time_in_week + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20201201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210801:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20210901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211001:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220901:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230101:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230201:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230301:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230401:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230501:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230601:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230701:MaintenanceConfiguration"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:MaintenanceConfiguration")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MaintenanceConfiguration, __self__).__init__( + 'azure-native:containerservice/v20230801:MaintenanceConfiguration', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MaintenanceConfiguration': + """ + Get an existing MaintenanceConfiguration 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MaintenanceConfigurationArgs.__new__(MaintenanceConfigurationArgs) + + __props__.__dict__["maintenance_window"] = None + __props__.__dict__["name"] = None + __props__.__dict__["not_allowed_time"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["time_in_week"] = None + __props__.__dict__["type"] = None + return MaintenanceConfiguration(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> pulumi.Output[Optional['outputs.MaintenanceWindowResponse']]: + """ + Maintenance window for the maintenance configuration. + """ + return pulumi.get(self, "maintenance_window") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notAllowedTime") + def not_allowed_time(self) -> pulumi.Output[Optional[Sequence['outputs.TimeSpanResponse']]]: + """ + Time slots on which upgrade is not allowed. + """ + return pulumi.get(self, "not_allowed_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system metadata relating to this resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="timeInWeek") + def time_in_week(self) -> pulumi.Output[Optional[Sequence['outputs.TimeInWeekResponse']]]: + """ + If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. + """ + return pulumi.get(self, "time_in_week") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/managed_cluster.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/managed_cluster.py new file mode 100644 index 000000000000..c747611f8145 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/managed_cluster.py @@ -0,0 +1,1290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ManagedClusterArgs', 'ManagedCluster'] + +@pulumi.input_type +class ManagedClusterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + aad_profile: Optional[pulumi.Input['ManagedClusterAADProfileArgs']] = None, + addon_profiles: Optional[pulumi.Input[Mapping[str, pulumi.Input['ManagedClusterAddonProfileArgs']]]] = None, + agent_pool_profiles: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterAgentPoolProfileArgs']]]] = None, + api_server_access_profile: Optional[pulumi.Input['ManagedClusterAPIServerAccessProfileArgs']] = None, + auto_scaler_profile: Optional[pulumi.Input['ManagedClusterPropertiesAutoScalerProfileArgs']] = None, + auto_upgrade_profile: Optional[pulumi.Input['ManagedClusterAutoUpgradeProfileArgs']] = None, + azure_monitor_profile: Optional[pulumi.Input['ManagedClusterAzureMonitorProfileArgs']] = None, + disable_local_accounts: Optional[pulumi.Input[bool]] = None, + disk_encryption_set_id: Optional[pulumi.Input[str]] = None, + dns_prefix: Optional[pulumi.Input[str]] = None, + enable_pod_security_policy: Optional[pulumi.Input[bool]] = None, + enable_rbac: Optional[pulumi.Input[bool]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + fqdn_subdomain: Optional[pulumi.Input[str]] = None, + http_proxy_config: Optional[pulumi.Input['ManagedClusterHTTPProxyConfigArgs']] = None, + identity: Optional[pulumi.Input['ManagedClusterIdentityArgs']] = None, + identity_profile: Optional[pulumi.Input[Mapping[str, pulumi.Input['UserAssignedIdentityArgs']]]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + linux_profile: Optional[pulumi.Input['ContainerServiceLinuxProfileArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + network_profile: Optional[pulumi.Input['ContainerServiceNetworkProfileArgs']] = None, + node_resource_group: Optional[pulumi.Input[str]] = None, + oidc_issuer_profile: Optional[pulumi.Input['ManagedClusterOIDCIssuerProfileArgs']] = None, + pod_identity_profile: Optional[pulumi.Input['ManagedClusterPodIdentityProfileArgs']] = None, + private_link_resources: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateLinkResourceArgs']]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input['ManagedClusterSecurityProfileArgs']] = None, + service_mesh_profile: Optional[pulumi.Input['ServiceMeshProfileArgs']] = None, + service_principal_profile: Optional[pulumi.Input['ManagedClusterServicePrincipalProfileArgs']] = None, + sku: Optional[pulumi.Input['ManagedClusterSKUArgs']] = None, + storage_profile: Optional[pulumi.Input['ManagedClusterStorageProfileArgs']] = None, + support_plan: Optional[pulumi.Input[Union[str, 'KubernetesSupportPlan']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + upgrade_settings: Optional[pulumi.Input['ClusterUpgradeSettingsArgs']] = None, + windows_profile: Optional[pulumi.Input['ManagedClusterWindowsProfileArgs']] = None, + workload_auto_scaler_profile: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileArgs']] = None): + """ + The set of arguments for constructing a ManagedCluster resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedClusterAADProfileArgs'] aad_profile: The Azure Active Directory configuration. + :param pulumi.Input[Mapping[str, pulumi.Input['ManagedClusterAddonProfileArgs']]] addon_profiles: The profile of managed cluster add-on. + :param pulumi.Input[Sequence[pulumi.Input['ManagedClusterAgentPoolProfileArgs']]] agent_pool_profiles: The agent pool properties. + :param pulumi.Input['ManagedClusterAPIServerAccessProfileArgs'] api_server_access_profile: The access profile for managed cluster API server. + :param pulumi.Input['ManagedClusterPropertiesAutoScalerProfileArgs'] auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled + :param pulumi.Input['ManagedClusterAutoUpgradeProfileArgs'] auto_upgrade_profile: The auto upgrade configuration. + :param pulumi.Input['ManagedClusterAzureMonitorProfileArgs'] azure_monitor_profile: Azure Monitor addon profiles for monitoring the managed cluster. + :param pulumi.Input[bool] disable_local_accounts: If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + :param pulumi.Input[str] disk_encryption_set_id: This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + :param pulumi.Input[str] dns_prefix: This cannot be updated once the Managed Cluster has been created. + :param pulumi.Input[bool] enable_pod_security_policy: (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + :param pulumi.Input[bool] enable_rbac: Whether to enable Kubernetes Role-Based Access Control. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extended location of the Virtual Machine. + :param pulumi.Input[str] fqdn_subdomain: This cannot be updated once the Managed Cluster has been created. + :param pulumi.Input['ManagedClusterHTTPProxyConfigArgs'] http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. + :param pulumi.Input['ManagedClusterIdentityArgs'] identity: The identity of the managed cluster, if configured. + :param pulumi.Input[Mapping[str, pulumi.Input['UserAssignedIdentityArgs']]] identity_profile: Identities associated with the cluster. + :param pulumi.Input[str] kubernetes_version: Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + :param pulumi.Input['ContainerServiceLinuxProfileArgs'] linux_profile: The profile for Linux VMs in the Managed Cluster. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input['ContainerServiceNetworkProfileArgs'] network_profile: The network configuration profile. + :param pulumi.Input[str] node_resource_group: The name of the resource group containing agent pool nodes. + :param pulumi.Input['ManagedClusterOIDCIssuerProfileArgs'] oidc_issuer_profile: The OIDC issuer profile of the Managed Cluster. + :param pulumi.Input['ManagedClusterPodIdentityProfileArgs'] pod_identity_profile: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + :param pulumi.Input[Sequence[pulumi.Input['PrivateLinkResourceArgs']]] private_link_resources: Private link resources associated with the cluster. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Allow or deny public network access for AKS + :param pulumi.Input[str] resource_name: The name of the managed cluster resource. + :param pulumi.Input['ManagedClusterSecurityProfileArgs'] security_profile: Security profile for the managed cluster. + :param pulumi.Input['ServiceMeshProfileArgs'] service_mesh_profile: Service mesh profile for a managed cluster. + :param pulumi.Input['ManagedClusterServicePrincipalProfileArgs'] service_principal_profile: Information about a service principal identity for the cluster to use for manipulating Azure APIs. + :param pulumi.Input['ManagedClusterSKUArgs'] sku: The managed cluster SKU. + :param pulumi.Input['ManagedClusterStorageProfileArgs'] storage_profile: Storage profile for the managed cluster. + :param pulumi.Input[Union[str, 'KubernetesSupportPlan']] support_plan: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input['ClusterUpgradeSettingsArgs'] upgrade_settings: Settings for upgrading a cluster. + :param pulumi.Input['ManagedClusterWindowsProfileArgs'] windows_profile: The profile for Windows VMs in the Managed Cluster. + :param pulumi.Input['ManagedClusterWorkloadAutoScalerProfileArgs'] workload_auto_scaler_profile: Workload Auto-scaler profile for the managed cluster. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if aad_profile is not None: + pulumi.set(__self__, "aad_profile", aad_profile) + if addon_profiles is not None: + pulumi.set(__self__, "addon_profiles", addon_profiles) + if agent_pool_profiles is not None: + pulumi.set(__self__, "agent_pool_profiles", agent_pool_profiles) + if api_server_access_profile is not None: + pulumi.set(__self__, "api_server_access_profile", api_server_access_profile) + if auto_scaler_profile is not None: + pulumi.set(__self__, "auto_scaler_profile", auto_scaler_profile) + if auto_upgrade_profile is not None: + pulumi.set(__self__, "auto_upgrade_profile", auto_upgrade_profile) + if azure_monitor_profile is not None: + pulumi.set(__self__, "azure_monitor_profile", azure_monitor_profile) + if disable_local_accounts is not None: + pulumi.set(__self__, "disable_local_accounts", disable_local_accounts) + if disk_encryption_set_id is not None: + pulumi.set(__self__, "disk_encryption_set_id", disk_encryption_set_id) + if dns_prefix is not None: + pulumi.set(__self__, "dns_prefix", dns_prefix) + if enable_pod_security_policy is not None: + pulumi.set(__self__, "enable_pod_security_policy", enable_pod_security_policy) + if enable_rbac is not None: + pulumi.set(__self__, "enable_rbac", enable_rbac) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if fqdn_subdomain is not None: + pulumi.set(__self__, "fqdn_subdomain", fqdn_subdomain) + if http_proxy_config is not None: + pulumi.set(__self__, "http_proxy_config", http_proxy_config) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if identity_profile is not None: + pulumi.set(__self__, "identity_profile", identity_profile) + if kubernetes_version is not None: + pulumi.set(__self__, "kubernetes_version", kubernetes_version) + if linux_profile is not None: + pulumi.set(__self__, "linux_profile", linux_profile) + if location is not None: + pulumi.set(__self__, "location", location) + if network_profile is not None: + pulumi.set(__self__, "network_profile", network_profile) + if node_resource_group is not None: + pulumi.set(__self__, "node_resource_group", node_resource_group) + if oidc_issuer_profile is not None: + pulumi.set(__self__, "oidc_issuer_profile", oidc_issuer_profile) + if pod_identity_profile is not None: + pulumi.set(__self__, "pod_identity_profile", pod_identity_profile) + if private_link_resources is not None: + pulumi.set(__self__, "private_link_resources", private_link_resources) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if resource_name is not None: + pulumi.set(__self__, "resource_name", resource_name) + if security_profile is not None: + pulumi.set(__self__, "security_profile", security_profile) + if service_mesh_profile is not None: + pulumi.set(__self__, "service_mesh_profile", service_mesh_profile) + if service_principal_profile is not None: + pulumi.set(__self__, "service_principal_profile", service_principal_profile) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if storage_profile is not None: + pulumi.set(__self__, "storage_profile", storage_profile) + if support_plan is not None: + pulumi.set(__self__, "support_plan", support_plan) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if upgrade_settings is not None: + pulumi.set(__self__, "upgrade_settings", upgrade_settings) + if windows_profile is not None: + pulumi.set(__self__, "windows_profile", windows_profile) + if workload_auto_scaler_profile is not None: + pulumi.set(__self__, "workload_auto_scaler_profile", workload_auto_scaler_profile) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="aadProfile") + def aad_profile(self) -> Optional[pulumi.Input['ManagedClusterAADProfileArgs']]: + """ + The Azure Active Directory configuration. + """ + return pulumi.get(self, "aad_profile") + + @aad_profile.setter + def aad_profile(self, value: Optional[pulumi.Input['ManagedClusterAADProfileArgs']]): + pulumi.set(self, "aad_profile", value) + + @property + @pulumi.getter(name="addonProfiles") + def addon_profiles(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ManagedClusterAddonProfileArgs']]]]: + """ + The profile of managed cluster add-on. + """ + return pulumi.get(self, "addon_profiles") + + @addon_profiles.setter + def addon_profiles(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ManagedClusterAddonProfileArgs']]]]): + pulumi.set(self, "addon_profiles", value) + + @property + @pulumi.getter(name="agentPoolProfiles") + def agent_pool_profiles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterAgentPoolProfileArgs']]]]: + """ + The agent pool properties. + """ + return pulumi.get(self, "agent_pool_profiles") + + @agent_pool_profiles.setter + def agent_pool_profiles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedClusterAgentPoolProfileArgs']]]]): + pulumi.set(self, "agent_pool_profiles", value) + + @property + @pulumi.getter(name="apiServerAccessProfile") + def api_server_access_profile(self) -> Optional[pulumi.Input['ManagedClusterAPIServerAccessProfileArgs']]: + """ + The access profile for managed cluster API server. + """ + return pulumi.get(self, "api_server_access_profile") + + @api_server_access_profile.setter + def api_server_access_profile(self, value: Optional[pulumi.Input['ManagedClusterAPIServerAccessProfileArgs']]): + pulumi.set(self, "api_server_access_profile", value) + + @property + @pulumi.getter(name="autoScalerProfile") + def auto_scaler_profile(self) -> Optional[pulumi.Input['ManagedClusterPropertiesAutoScalerProfileArgs']]: + """ + Parameters to be applied to the cluster-autoscaler when enabled + """ + return pulumi.get(self, "auto_scaler_profile") + + @auto_scaler_profile.setter + def auto_scaler_profile(self, value: Optional[pulumi.Input['ManagedClusterPropertiesAutoScalerProfileArgs']]): + pulumi.set(self, "auto_scaler_profile", value) + + @property + @pulumi.getter(name="autoUpgradeProfile") + def auto_upgrade_profile(self) -> Optional[pulumi.Input['ManagedClusterAutoUpgradeProfileArgs']]: + """ + The auto upgrade configuration. + """ + return pulumi.get(self, "auto_upgrade_profile") + + @auto_upgrade_profile.setter + def auto_upgrade_profile(self, value: Optional[pulumi.Input['ManagedClusterAutoUpgradeProfileArgs']]): + pulumi.set(self, "auto_upgrade_profile", value) + + @property + @pulumi.getter(name="azureMonitorProfile") + def azure_monitor_profile(self) -> Optional[pulumi.Input['ManagedClusterAzureMonitorProfileArgs']]: + """ + Azure Monitor addon profiles for monitoring the managed cluster. + """ + return pulumi.get(self, "azure_monitor_profile") + + @azure_monitor_profile.setter + def azure_monitor_profile(self, value: Optional[pulumi.Input['ManagedClusterAzureMonitorProfileArgs']]): + pulumi.set(self, "azure_monitor_profile", value) + + @property + @pulumi.getter(name="disableLocalAccounts") + def disable_local_accounts(self) -> Optional[pulumi.Input[bool]]: + """ + If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + """ + return pulumi.get(self, "disable_local_accounts") + + @disable_local_accounts.setter + def disable_local_accounts(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_local_accounts", value) + + @property + @pulumi.getter(name="diskEncryptionSetID") + def disk_encryption_set_id(self) -> Optional[pulumi.Input[str]]: + """ + This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + """ + return pulumi.get(self, "disk_encryption_set_id") + + @disk_encryption_set_id.setter + def disk_encryption_set_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disk_encryption_set_id", value) + + @property + @pulumi.getter(name="dnsPrefix") + def dns_prefix(self) -> Optional[pulumi.Input[str]]: + """ + This cannot be updated once the Managed Cluster has been created. + """ + return pulumi.get(self, "dns_prefix") + + @dns_prefix.setter + def dns_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dns_prefix", value) + + @property + @pulumi.getter(name="enablePodSecurityPolicy") + def enable_pod_security_policy(self) -> Optional[pulumi.Input[bool]]: + """ + (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + """ + return pulumi.get(self, "enable_pod_security_policy") + + @enable_pod_security_policy.setter + def enable_pod_security_policy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_pod_security_policy", value) + + @property + @pulumi.getter(name="enableRBAC") + def enable_rbac(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Kubernetes Role-Based Access Control. + """ + return pulumi.get(self, "enable_rbac") + + @enable_rbac.setter + def enable_rbac(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_rbac", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extended location of the Virtual Machine. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="fqdnSubdomain") + def fqdn_subdomain(self) -> Optional[pulumi.Input[str]]: + """ + This cannot be updated once the Managed Cluster has been created. + """ + return pulumi.get(self, "fqdn_subdomain") + + @fqdn_subdomain.setter + def fqdn_subdomain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fqdn_subdomain", value) + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> Optional[pulumi.Input['ManagedClusterHTTPProxyConfigArgs']]: + """ + Configurations for provisioning the cluster with HTTP proxy servers. + """ + return pulumi.get(self, "http_proxy_config") + + @http_proxy_config.setter + def http_proxy_config(self, value: Optional[pulumi.Input['ManagedClusterHTTPProxyConfigArgs']]): + pulumi.set(self, "http_proxy_config", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedClusterIdentityArgs']]: + """ + The identity of the managed cluster, if configured. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedClusterIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="identityProfile") + def identity_profile(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['UserAssignedIdentityArgs']]]]: + """ + Identities associated with the cluster. + """ + return pulumi.get(self, "identity_profile") + + @identity_profile.setter + def identity_profile(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['UserAssignedIdentityArgs']]]]): + pulumi.set(self, "identity_profile", value) + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> Optional[pulumi.Input[str]]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + """ + return pulumi.get(self, "kubernetes_version") + + @kubernetes_version.setter + def kubernetes_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kubernetes_version", value) + + @property + @pulumi.getter(name="linuxProfile") + def linux_profile(self) -> Optional[pulumi.Input['ContainerServiceLinuxProfileArgs']]: + """ + The profile for Linux VMs in the Managed Cluster. + """ + return pulumi.get(self, "linux_profile") + + @linux_profile.setter + def linux_profile(self, value: Optional[pulumi.Input['ContainerServiceLinuxProfileArgs']]): + pulumi.set(self, "linux_profile", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional[pulumi.Input['ContainerServiceNetworkProfileArgs']]: + """ + The network configuration profile. + """ + return pulumi.get(self, "network_profile") + + @network_profile.setter + def network_profile(self, value: Optional[pulumi.Input['ContainerServiceNetworkProfileArgs']]): + pulumi.set(self, "network_profile", value) + + @property + @pulumi.getter(name="nodeResourceGroup") + def node_resource_group(self) -> Optional[pulumi.Input[str]]: + """ + The name of the resource group containing agent pool nodes. + """ + return pulumi.get(self, "node_resource_group") + + @node_resource_group.setter + def node_resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_resource_group", value) + + @property + @pulumi.getter(name="oidcIssuerProfile") + def oidc_issuer_profile(self) -> Optional[pulumi.Input['ManagedClusterOIDCIssuerProfileArgs']]: + """ + The OIDC issuer profile of the Managed Cluster. + """ + return pulumi.get(self, "oidc_issuer_profile") + + @oidc_issuer_profile.setter + def oidc_issuer_profile(self, value: Optional[pulumi.Input['ManagedClusterOIDCIssuerProfileArgs']]): + pulumi.set(self, "oidc_issuer_profile", value) + + @property + @pulumi.getter(name="podIdentityProfile") + def pod_identity_profile(self) -> Optional[pulumi.Input['ManagedClusterPodIdentityProfileArgs']]: + """ + See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + """ + return pulumi.get(self, "pod_identity_profile") + + @pod_identity_profile.setter + def pod_identity_profile(self, value: Optional[pulumi.Input['ManagedClusterPodIdentityProfileArgs']]): + pulumi.set(self, "pod_identity_profile", value) + + @property + @pulumi.getter(name="privateLinkResources") + def private_link_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrivateLinkResourceArgs']]]]: + """ + Private link resources associated with the cluster. + """ + return pulumi.get(self, "private_link_resources") + + @private_link_resources.setter + def private_link_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateLinkResourceArgs']]]]): + pulumi.set(self, "private_link_resources", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Allow or deny public network access for AKS + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the managed cluster resource. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional[pulumi.Input['ManagedClusterSecurityProfileArgs']]: + """ + Security profile for the managed cluster. + """ + return pulumi.get(self, "security_profile") + + @security_profile.setter + def security_profile(self, value: Optional[pulumi.Input['ManagedClusterSecurityProfileArgs']]): + pulumi.set(self, "security_profile", value) + + @property + @pulumi.getter(name="serviceMeshProfile") + def service_mesh_profile(self) -> Optional[pulumi.Input['ServiceMeshProfileArgs']]: + """ + Service mesh profile for a managed cluster. + """ + return pulumi.get(self, "service_mesh_profile") + + @service_mesh_profile.setter + def service_mesh_profile(self, value: Optional[pulumi.Input['ServiceMeshProfileArgs']]): + pulumi.set(self, "service_mesh_profile", value) + + @property + @pulumi.getter(name="servicePrincipalProfile") + def service_principal_profile(self) -> Optional[pulumi.Input['ManagedClusterServicePrincipalProfileArgs']]: + """ + Information about a service principal identity for the cluster to use for manipulating Azure APIs. + """ + return pulumi.get(self, "service_principal_profile") + + @service_principal_profile.setter + def service_principal_profile(self, value: Optional[pulumi.Input['ManagedClusterServicePrincipalProfileArgs']]): + pulumi.set(self, "service_principal_profile", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['ManagedClusterSKUArgs']]: + """ + The managed cluster SKU. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['ManagedClusterSKUArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> Optional[pulumi.Input['ManagedClusterStorageProfileArgs']]: + """ + Storage profile for the managed cluster. + """ + return pulumi.get(self, "storage_profile") + + @storage_profile.setter + def storage_profile(self, value: Optional[pulumi.Input['ManagedClusterStorageProfileArgs']]): + pulumi.set(self, "storage_profile", value) + + @property + @pulumi.getter(name="supportPlan") + def support_plan(self) -> Optional[pulumi.Input[Union[str, 'KubernetesSupportPlan']]]: + """ + The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + """ + return pulumi.get(self, "support_plan") + + @support_plan.setter + def support_plan(self, value: Optional[pulumi.Input[Union[str, 'KubernetesSupportPlan']]]): + pulumi.set(self, "support_plan", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="upgradeSettings") + def upgrade_settings(self) -> Optional[pulumi.Input['ClusterUpgradeSettingsArgs']]: + """ + Settings for upgrading a cluster. + """ + return pulumi.get(self, "upgrade_settings") + + @upgrade_settings.setter + def upgrade_settings(self, value: Optional[pulumi.Input['ClusterUpgradeSettingsArgs']]): + pulumi.set(self, "upgrade_settings", value) + + @property + @pulumi.getter(name="windowsProfile") + def windows_profile(self) -> Optional[pulumi.Input['ManagedClusterWindowsProfileArgs']]: + """ + The profile for Windows VMs in the Managed Cluster. + """ + return pulumi.get(self, "windows_profile") + + @windows_profile.setter + def windows_profile(self, value: Optional[pulumi.Input['ManagedClusterWindowsProfileArgs']]): + pulumi.set(self, "windows_profile", value) + + @property + @pulumi.getter(name="workloadAutoScalerProfile") + def workload_auto_scaler_profile(self) -> Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileArgs']]: + """ + Workload Auto-scaler profile for the managed cluster. + """ + return pulumi.get(self, "workload_auto_scaler_profile") + + @workload_auto_scaler_profile.setter + def workload_auto_scaler_profile(self, value: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileArgs']]): + pulumi.set(self, "workload_auto_scaler_profile", value) + + +class ManagedCluster(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aad_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAADProfileArgs']]] = None, + addon_profiles: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ManagedClusterAddonProfileArgs']]]]] = None, + agent_pool_profiles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ManagedClusterAgentPoolProfileArgs']]]]] = None, + api_server_access_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAPIServerAccessProfileArgs']]] = None, + auto_scaler_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterPropertiesAutoScalerProfileArgs']]] = None, + auto_upgrade_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAutoUpgradeProfileArgs']]] = None, + azure_monitor_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAzureMonitorProfileArgs']]] = None, + disable_local_accounts: Optional[pulumi.Input[bool]] = None, + disk_encryption_set_id: Optional[pulumi.Input[str]] = None, + dns_prefix: Optional[pulumi.Input[str]] = None, + enable_pod_security_policy: Optional[pulumi.Input[bool]] = None, + enable_rbac: Optional[pulumi.Input[bool]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + fqdn_subdomain: Optional[pulumi.Input[str]] = None, + http_proxy_config: Optional[pulumi.Input[pulumi.InputType['ManagedClusterHTTPProxyConfigArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedClusterIdentityArgs']]] = None, + identity_profile: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['UserAssignedIdentityArgs']]]]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + linux_profile: Optional[pulumi.Input[pulumi.InputType['ContainerServiceLinuxProfileArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_profile: Optional[pulumi.Input[pulumi.InputType['ContainerServiceNetworkProfileArgs']]] = None, + node_resource_group: Optional[pulumi.Input[str]] = None, + oidc_issuer_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterOIDCIssuerProfileArgs']]] = None, + pod_identity_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterPodIdentityProfileArgs']]] = None, + private_link_resources: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivateLinkResourceArgs']]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterSecurityProfileArgs']]] = None, + service_mesh_profile: Optional[pulumi.Input[pulumi.InputType['ServiceMeshProfileArgs']]] = None, + service_principal_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterServicePrincipalProfileArgs']]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ManagedClusterSKUArgs']]] = None, + storage_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterStorageProfileArgs']]] = None, + support_plan: Optional[pulumi.Input[Union[str, 'KubernetesSupportPlan']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + upgrade_settings: Optional[pulumi.Input[pulumi.InputType['ClusterUpgradeSettingsArgs']]] = None, + windows_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterWindowsProfileArgs']]] = None, + workload_auto_scaler_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterWorkloadAutoScalerProfileArgs']]] = None, + __props__=None): + """ + Managed cluster. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ManagedClusterAADProfileArgs']] aad_profile: The Azure Active Directory configuration. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ManagedClusterAddonProfileArgs']]]] addon_profiles: The profile of managed cluster add-on. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ManagedClusterAgentPoolProfileArgs']]]] agent_pool_profiles: The agent pool properties. + :param pulumi.Input[pulumi.InputType['ManagedClusterAPIServerAccessProfileArgs']] api_server_access_profile: The access profile for managed cluster API server. + :param pulumi.Input[pulumi.InputType['ManagedClusterPropertiesAutoScalerProfileArgs']] auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled + :param pulumi.Input[pulumi.InputType['ManagedClusterAutoUpgradeProfileArgs']] auto_upgrade_profile: The auto upgrade configuration. + :param pulumi.Input[pulumi.InputType['ManagedClusterAzureMonitorProfileArgs']] azure_monitor_profile: Azure Monitor addon profiles for monitoring the managed cluster. + :param pulumi.Input[bool] disable_local_accounts: If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + :param pulumi.Input[str] disk_encryption_set_id: This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + :param pulumi.Input[str] dns_prefix: This cannot be updated once the Managed Cluster has been created. + :param pulumi.Input[bool] enable_pod_security_policy: (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + :param pulumi.Input[bool] enable_rbac: Whether to enable Kubernetes Role-Based Access Control. + :param pulumi.Input[pulumi.InputType['ExtendedLocationArgs']] extended_location: The extended location of the Virtual Machine. + :param pulumi.Input[str] fqdn_subdomain: This cannot be updated once the Managed Cluster has been created. + :param pulumi.Input[pulumi.InputType['ManagedClusterHTTPProxyConfigArgs']] http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. + :param pulumi.Input[pulumi.InputType['ManagedClusterIdentityArgs']] identity: The identity of the managed cluster, if configured. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['UserAssignedIdentityArgs']]]] identity_profile: Identities associated with the cluster. + :param pulumi.Input[str] kubernetes_version: Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + :param pulumi.Input[pulumi.InputType['ContainerServiceLinuxProfileArgs']] linux_profile: The profile for Linux VMs in the Managed Cluster. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['ContainerServiceNetworkProfileArgs']] network_profile: The network configuration profile. + :param pulumi.Input[str] node_resource_group: The name of the resource group containing agent pool nodes. + :param pulumi.Input[pulumi.InputType['ManagedClusterOIDCIssuerProfileArgs']] oidc_issuer_profile: The OIDC issuer profile of the Managed Cluster. + :param pulumi.Input[pulumi.InputType['ManagedClusterPodIdentityProfileArgs']] pod_identity_profile: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivateLinkResourceArgs']]]] private_link_resources: Private link resources associated with the cluster. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Allow or deny public network access for AKS + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name_: The name of the managed cluster resource. + :param pulumi.Input[pulumi.InputType['ManagedClusterSecurityProfileArgs']] security_profile: Security profile for the managed cluster. + :param pulumi.Input[pulumi.InputType['ServiceMeshProfileArgs']] service_mesh_profile: Service mesh profile for a managed cluster. + :param pulumi.Input[pulumi.InputType['ManagedClusterServicePrincipalProfileArgs']] service_principal_profile: Information about a service principal identity for the cluster to use for manipulating Azure APIs. + :param pulumi.Input[pulumi.InputType['ManagedClusterSKUArgs']] sku: The managed cluster SKU. + :param pulumi.Input[pulumi.InputType['ManagedClusterStorageProfileArgs']] storage_profile: Storage profile for the managed cluster. + :param pulumi.Input[Union[str, 'KubernetesSupportPlan']] support_plan: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[pulumi.InputType['ClusterUpgradeSettingsArgs']] upgrade_settings: Settings for upgrading a cluster. + :param pulumi.Input[pulumi.InputType['ManagedClusterWindowsProfileArgs']] windows_profile: The profile for Windows VMs in the Managed Cluster. + :param pulumi.Input[pulumi.InputType['ManagedClusterWorkloadAutoScalerProfileArgs']] workload_auto_scaler_profile: Workload Auto-scaler profile for the managed cluster. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ManagedClusterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Managed cluster. + + :param str resource_name: The name of the resource. + :param ManagedClusterArgs 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(ManagedClusterArgs, 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, + aad_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAADProfileArgs']]] = None, + addon_profiles: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ManagedClusterAddonProfileArgs']]]]] = None, + agent_pool_profiles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ManagedClusterAgentPoolProfileArgs']]]]] = None, + api_server_access_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAPIServerAccessProfileArgs']]] = None, + auto_scaler_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterPropertiesAutoScalerProfileArgs']]] = None, + auto_upgrade_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAutoUpgradeProfileArgs']]] = None, + azure_monitor_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterAzureMonitorProfileArgs']]] = None, + disable_local_accounts: Optional[pulumi.Input[bool]] = None, + disk_encryption_set_id: Optional[pulumi.Input[str]] = None, + dns_prefix: Optional[pulumi.Input[str]] = None, + enable_pod_security_policy: Optional[pulumi.Input[bool]] = None, + enable_rbac: Optional[pulumi.Input[bool]] = None, + extended_location: Optional[pulumi.Input[pulumi.InputType['ExtendedLocationArgs']]] = None, + fqdn_subdomain: Optional[pulumi.Input[str]] = None, + http_proxy_config: Optional[pulumi.Input[pulumi.InputType['ManagedClusterHTTPProxyConfigArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedClusterIdentityArgs']]] = None, + identity_profile: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['UserAssignedIdentityArgs']]]]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + linux_profile: Optional[pulumi.Input[pulumi.InputType['ContainerServiceLinuxProfileArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_profile: Optional[pulumi.Input[pulumi.InputType['ContainerServiceNetworkProfileArgs']]] = None, + node_resource_group: Optional[pulumi.Input[str]] = None, + oidc_issuer_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterOIDCIssuerProfileArgs']]] = None, + pod_identity_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterPodIdentityProfileArgs']]] = None, + private_link_resources: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivateLinkResourceArgs']]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterSecurityProfileArgs']]] = None, + service_mesh_profile: Optional[pulumi.Input[pulumi.InputType['ServiceMeshProfileArgs']]] = None, + service_principal_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterServicePrincipalProfileArgs']]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ManagedClusterSKUArgs']]] = None, + storage_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterStorageProfileArgs']]] = None, + support_plan: Optional[pulumi.Input[Union[str, 'KubernetesSupportPlan']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + upgrade_settings: Optional[pulumi.Input[pulumi.InputType['ClusterUpgradeSettingsArgs']]] = None, + windows_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterWindowsProfileArgs']]] = None, + workload_auto_scaler_profile: Optional[pulumi.Input[pulumi.InputType['ManagedClusterWorkloadAutoScalerProfileArgs']]] = 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__ = ManagedClusterArgs.__new__(ManagedClusterArgs) + + __props__.__dict__["aad_profile"] = aad_profile + __props__.__dict__["addon_profiles"] = addon_profiles + __props__.__dict__["agent_pool_profiles"] = agent_pool_profiles + __props__.__dict__["api_server_access_profile"] = api_server_access_profile + __props__.__dict__["auto_scaler_profile"] = auto_scaler_profile + __props__.__dict__["auto_upgrade_profile"] = auto_upgrade_profile + __props__.__dict__["azure_monitor_profile"] = azure_monitor_profile + __props__.__dict__["disable_local_accounts"] = disable_local_accounts + __props__.__dict__["disk_encryption_set_id"] = disk_encryption_set_id + __props__.__dict__["dns_prefix"] = dns_prefix + __props__.__dict__["enable_pod_security_policy"] = enable_pod_security_policy + __props__.__dict__["enable_rbac"] = enable_rbac + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["fqdn_subdomain"] = fqdn_subdomain + __props__.__dict__["http_proxy_config"] = http_proxy_config + __props__.__dict__["identity"] = identity + __props__.__dict__["identity_profile"] = identity_profile + __props__.__dict__["kubernetes_version"] = kubernetes_version + __props__.__dict__["linux_profile"] = linux_profile + __props__.__dict__["location"] = location + __props__.__dict__["network_profile"] = network_profile + __props__.__dict__["node_resource_group"] = node_resource_group + __props__.__dict__["oidc_issuer_profile"] = oidc_issuer_profile + __props__.__dict__["pod_identity_profile"] = pod_identity_profile + __props__.__dict__["private_link_resources"] = private_link_resources + __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__["resource_name"] = resource_name_ + __props__.__dict__["security_profile"] = security_profile + __props__.__dict__["service_mesh_profile"] = service_mesh_profile + __props__.__dict__["service_principal_profile"] = service_principal_profile + __props__.__dict__["sku"] = sku + __props__.__dict__["storage_profile"] = storage_profile + __props__.__dict__["support_plan"] = support_plan + __props__.__dict__["tags"] = tags + __props__.__dict__["upgrade_settings"] = upgrade_settings + __props__.__dict__["windows_profile"] = windows_profile + __props__.__dict__["workload_auto_scaler_profile"] = workload_auto_scaler_profile + __props__.__dict__["azure_portal_fqdn"] = None + __props__.__dict__["current_kubernetes_version"] = None + __props__.__dict__["fqdn"] = None + __props__.__dict__["max_agent_pools"] = None + __props__.__dict__["name"] = None + __props__.__dict__["power_state"] = None + __props__.__dict__["private_fqdn"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_uid"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20170831:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180331:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20180801preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20190801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20191101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20200901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20201201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210801:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20210901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211001:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220901:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230101:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230201:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230301:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230401:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230501:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230601:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230701:ManagedCluster"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:ManagedCluster")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ManagedCluster, __self__).__init__( + 'azure-native:containerservice/v20230801:ManagedCluster', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ManagedCluster': + """ + Get an existing ManagedCluster 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ManagedClusterArgs.__new__(ManagedClusterArgs) + + __props__.__dict__["aad_profile"] = None + __props__.__dict__["addon_profiles"] = None + __props__.__dict__["agent_pool_profiles"] = None + __props__.__dict__["api_server_access_profile"] = None + __props__.__dict__["auto_scaler_profile"] = None + __props__.__dict__["auto_upgrade_profile"] = None + __props__.__dict__["azure_monitor_profile"] = None + __props__.__dict__["azure_portal_fqdn"] = None + __props__.__dict__["current_kubernetes_version"] = None + __props__.__dict__["disable_local_accounts"] = None + __props__.__dict__["disk_encryption_set_id"] = None + __props__.__dict__["dns_prefix"] = None + __props__.__dict__["enable_pod_security_policy"] = None + __props__.__dict__["enable_rbac"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["fqdn"] = None + __props__.__dict__["fqdn_subdomain"] = None + __props__.__dict__["http_proxy_config"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["identity_profile"] = None + __props__.__dict__["kubernetes_version"] = None + __props__.__dict__["linux_profile"] = None + __props__.__dict__["location"] = None + __props__.__dict__["max_agent_pools"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_profile"] = None + __props__.__dict__["node_resource_group"] = None + __props__.__dict__["oidc_issuer_profile"] = None + __props__.__dict__["pod_identity_profile"] = None + __props__.__dict__["power_state"] = None + __props__.__dict__["private_fqdn"] = None + __props__.__dict__["private_link_resources"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["resource_uid"] = None + __props__.__dict__["security_profile"] = None + __props__.__dict__["service_mesh_profile"] = None + __props__.__dict__["service_principal_profile"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["storage_profile"] = None + __props__.__dict__["support_plan"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["upgrade_settings"] = None + __props__.__dict__["windows_profile"] = None + __props__.__dict__["workload_auto_scaler_profile"] = None + return ManagedCluster(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="aadProfile") + def aad_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterAADProfileResponse']]: + """ + The Azure Active Directory configuration. + """ + return pulumi.get(self, "aad_profile") + + @property + @pulumi.getter(name="addonProfiles") + def addon_profiles(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.ManagedClusterAddonProfileResponse']]]: + """ + The profile of managed cluster add-on. + """ + return pulumi.get(self, "addon_profiles") + + @property + @pulumi.getter(name="agentPoolProfiles") + def agent_pool_profiles(self) -> pulumi.Output[Optional[Sequence['outputs.ManagedClusterAgentPoolProfileResponse']]]: + """ + The agent pool properties. + """ + return pulumi.get(self, "agent_pool_profiles") + + @property + @pulumi.getter(name="apiServerAccessProfile") + def api_server_access_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterAPIServerAccessProfileResponse']]: + """ + The access profile for managed cluster API server. + """ + return pulumi.get(self, "api_server_access_profile") + + @property + @pulumi.getter(name="autoScalerProfile") + def auto_scaler_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterPropertiesResponseAutoScalerProfile']]: + """ + Parameters to be applied to the cluster-autoscaler when enabled + """ + return pulumi.get(self, "auto_scaler_profile") + + @property + @pulumi.getter(name="autoUpgradeProfile") + def auto_upgrade_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterAutoUpgradeProfileResponse']]: + """ + The auto upgrade configuration. + """ + return pulumi.get(self, "auto_upgrade_profile") + + @property + @pulumi.getter(name="azureMonitorProfile") + def azure_monitor_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterAzureMonitorProfileResponse']]: + """ + Azure Monitor addon profiles for monitoring the managed cluster. + """ + return pulumi.get(self, "azure_monitor_profile") + + @property + @pulumi.getter(name="azurePortalFQDN") + def azure_portal_fqdn(self) -> pulumi.Output[str]: + """ + The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. + """ + return pulumi.get(self, "azure_portal_fqdn") + + @property + @pulumi.getter(name="currentKubernetesVersion") + def current_kubernetes_version(self) -> pulumi.Output[str]: + """ + If kubernetesVersion was a fully specified version , this field will be exactly equal to it. If kubernetesVersion was , this field will contain the full version being used. + """ + return pulumi.get(self, "current_kubernetes_version") + + @property + @pulumi.getter(name="disableLocalAccounts") + def disable_local_accounts(self) -> pulumi.Output[Optional[bool]]: + """ + If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + """ + return pulumi.get(self, "disable_local_accounts") + + @property + @pulumi.getter(name="diskEncryptionSetID") + def disk_encryption_set_id(self) -> pulumi.Output[Optional[str]]: + """ + This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + """ + return pulumi.get(self, "disk_encryption_set_id") + + @property + @pulumi.getter(name="dnsPrefix") + def dns_prefix(self) -> pulumi.Output[Optional[str]]: + """ + This cannot be updated once the Managed Cluster has been created. + """ + return pulumi.get(self, "dns_prefix") + + @property + @pulumi.getter(name="enablePodSecurityPolicy") + def enable_pod_security_policy(self) -> pulumi.Output[Optional[bool]]: + """ + (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp. + """ + return pulumi.get(self, "enable_pod_security_policy") + + @property + @pulumi.getter(name="enableRBAC") + def enable_rbac(self) -> pulumi.Output[Optional[bool]]: + """ + Whether to enable Kubernetes Role-Based Access Control. + """ + return pulumi.get(self, "enable_rbac") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extended location of the Virtual Machine. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def fqdn(self) -> pulumi.Output[str]: + """ + The FQDN of the master pool. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="fqdnSubdomain") + def fqdn_subdomain(self) -> pulumi.Output[Optional[str]]: + """ + This cannot be updated once the Managed Cluster has been created. + """ + return pulumi.get(self, "fqdn_subdomain") + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> pulumi.Output[Optional['outputs.ManagedClusterHTTPProxyConfigResponse']]: + """ + Configurations for provisioning the cluster with HTTP proxy servers. + """ + return pulumi.get(self, "http_proxy_config") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedClusterIdentityResponse']]: + """ + The identity of the managed cluster, if configured. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="identityProfile") + def identity_profile(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]]: + """ + Identities associated with the cluster. + """ + return pulumi.get(self, "identity_profile") + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> pulumi.Output[Optional[str]]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. + """ + return pulumi.get(self, "kubernetes_version") + + @property + @pulumi.getter(name="linuxProfile") + def linux_profile(self) -> pulumi.Output[Optional['outputs.ContainerServiceLinuxProfileResponse']]: + """ + The profile for Linux VMs in the Managed Cluster. + """ + return pulumi.get(self, "linux_profile") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="maxAgentPools") + def max_agent_pools(self) -> pulumi.Output[int]: + """ + The max number of agent pools for the managed cluster. + """ + return pulumi.get(self, "max_agent_pools") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> pulumi.Output[Optional['outputs.ContainerServiceNetworkProfileResponse']]: + """ + The network configuration profile. + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="nodeResourceGroup") + def node_resource_group(self) -> pulumi.Output[Optional[str]]: + """ + The name of the resource group containing agent pool nodes. + """ + return pulumi.get(self, "node_resource_group") + + @property + @pulumi.getter(name="oidcIssuerProfile") + def oidc_issuer_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterOIDCIssuerProfileResponse']]: + """ + The OIDC issuer profile of the Managed Cluster. + """ + return pulumi.get(self, "oidc_issuer_profile") + + @property + @pulumi.getter(name="podIdentityProfile") + def pod_identity_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterPodIdentityProfileResponse']]: + """ + See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. + """ + return pulumi.get(self, "pod_identity_profile") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> pulumi.Output['outputs.PowerStateResponse']: + """ + The Power State of the cluster. + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="privateFQDN") + def private_fqdn(self) -> pulumi.Output[str]: + """ + The FQDN of private cluster. + """ + return pulumi.get(self, "private_fqdn") + + @property + @pulumi.getter(name="privateLinkResources") + def private_link_resources(self) -> pulumi.Output[Optional[Sequence['outputs.PrivateLinkResourceResponse']]]: + """ + Private link resources associated with the cluster. + """ + return pulumi.get(self, "private_link_resources") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The current provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Allow or deny public network access for AKS + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="resourceUID") + def resource_uid(self) -> pulumi.Output[str]: + """ + The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence) + """ + return pulumi.get(self, "resource_uid") + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterSecurityProfileResponse']]: + """ + Security profile for the managed cluster. + """ + return pulumi.get(self, "security_profile") + + @property + @pulumi.getter(name="serviceMeshProfile") + def service_mesh_profile(self) -> pulumi.Output[Optional['outputs.ServiceMeshProfileResponse']]: + """ + Service mesh profile for a managed cluster. + """ + return pulumi.get(self, "service_mesh_profile") + + @property + @pulumi.getter(name="servicePrincipalProfile") + def service_principal_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterServicePrincipalProfileResponse']]: + """ + Information about a service principal identity for the cluster to use for manipulating Azure APIs. + """ + return pulumi.get(self, "service_principal_profile") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.ManagedClusterSKUResponse']]: + """ + The managed cluster SKU. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterStorageProfileResponse']]: + """ + Storage profile for the managed cluster. + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter(name="supportPlan") + def support_plan(self) -> pulumi.Output[Optional[str]]: + """ + The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. + """ + return pulumi.get(self, "support_plan") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> pulumi.Output[Optional['outputs.ClusterUpgradeSettingsResponse']]: + """ + Settings for upgrading a cluster. + """ + return pulumi.get(self, "upgrade_settings") + + @property + @pulumi.getter(name="windowsProfile") + def windows_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterWindowsProfileResponse']]: + """ + The profile for Windows VMs in the Managed Cluster. + """ + return pulumi.get(self, "windows_profile") + + @property + @pulumi.getter(name="workloadAutoScalerProfile") + def workload_auto_scaler_profile(self) -> pulumi.Output[Optional['outputs.ManagedClusterWorkloadAutoScalerProfileResponse']]: + """ + Workload Auto-scaler profile for the managed cluster. + """ + return pulumi.get(self, "workload_auto_scaler_profile") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/outputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/outputs.py new file mode 100644 index 000000000000..c4b11246ece1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/outputs.py @@ -0,0 +1,5913 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AbsoluteMonthlyScheduleResponse', + 'AgentPoolUpgradeSettingsResponse', + 'AzureKeyVaultKmsResponse', + 'ClusterUpgradeSettingsResponse', + 'ContainerServiceLinuxProfileResponse', + 'ContainerServiceNetworkProfileResponse', + 'ContainerServiceSshConfigurationResponse', + 'ContainerServiceSshPublicKeyResponse', + 'CreationDataResponse', + 'CredentialResultResponse', + 'DailyScheduleResponse', + 'DateSpanResponse', + 'DelegatedResourceResponse', + 'ExtendedLocationResponse', + 'IstioCertificateAuthorityResponse', + 'IstioComponentsResponse', + 'IstioEgressGatewayResponse', + 'IstioIngressGatewayResponse', + 'IstioPluginCertificateAuthorityResponse', + 'IstioServiceMeshResponse', + 'KubeletConfigResponse', + 'LinuxOSConfigResponse', + 'MaintenanceWindowResponse', + 'ManagedClusterAADProfileResponse', + 'ManagedClusterAPIServerAccessProfileResponse', + 'ManagedClusterAddonProfileResponse', + 'ManagedClusterAddonProfileResponseIdentity', + 'ManagedClusterAgentPoolProfileResponse', + 'ManagedClusterAutoUpgradeProfileResponse', + 'ManagedClusterAzureMonitorProfileKubeStateMetricsResponse', + 'ManagedClusterAzureMonitorProfileMetricsResponse', + 'ManagedClusterAzureMonitorProfileResponse', + 'ManagedClusterHTTPProxyConfigResponse', + 'ManagedClusterIdentityResponse', + 'ManagedClusterIdentityResponseUserAssignedIdentities', + 'ManagedClusterLoadBalancerProfileResponse', + 'ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs', + 'ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes', + 'ManagedClusterLoadBalancerProfileResponseOutboundIPs', + 'ManagedClusterManagedOutboundIPProfileResponse', + 'ManagedClusterNATGatewayProfileResponse', + 'ManagedClusterOIDCIssuerProfileResponse', + 'ManagedClusterPodIdentityExceptionResponse', + 'ManagedClusterPodIdentityProfileResponse', + 'ManagedClusterPodIdentityProvisioningErrorBodyResponse', + 'ManagedClusterPodIdentityProvisioningErrorResponse', + 'ManagedClusterPodIdentityResponse', + 'ManagedClusterPodIdentityResponseProvisioningInfo', + 'ManagedClusterPropertiesResponseAutoScalerProfile', + 'ManagedClusterSKUResponse', + 'ManagedClusterSecurityProfileDefenderResponse', + 'ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse', + 'ManagedClusterSecurityProfileImageCleanerResponse', + 'ManagedClusterSecurityProfileResponse', + 'ManagedClusterSecurityProfileWorkloadIdentityResponse', + 'ManagedClusterServicePrincipalProfileResponse', + 'ManagedClusterStorageProfileBlobCSIDriverResponse', + 'ManagedClusterStorageProfileDiskCSIDriverResponse', + 'ManagedClusterStorageProfileFileCSIDriverResponse', + 'ManagedClusterStorageProfileResponse', + 'ManagedClusterStorageProfileSnapshotControllerResponse', + 'ManagedClusterWindowsProfileResponse', + 'ManagedClusterWorkloadAutoScalerProfileKedaResponse', + 'ManagedClusterWorkloadAutoScalerProfileResponse', + 'ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse', + 'PowerStateResponse', + 'PrivateEndpointResponse', + 'PrivateLinkResourceResponse', + 'PrivateLinkServiceConnectionStateResponse', + 'RelativeMonthlyScheduleResponse', + 'ResourceReferenceResponse', + 'ScheduleResponse', + 'ServiceMeshProfileResponse', + 'SysctlConfigResponse', + 'SystemDataResponse', + 'TimeInWeekResponse', + 'TimeSpanResponse', + 'UpgradeOverrideSettingsResponse', + 'UserAssignedIdentityResponse', + 'WeeklyScheduleResponse', + 'WindowsGmsaProfileResponse', +] + +@pulumi.output_type +class AbsoluteMonthlyScheduleResponse(dict): + """ + For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dayOfMonth": + suggest = "day_of_month" + elif key == "intervalMonths": + suggest = "interval_months" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AbsoluteMonthlyScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AbsoluteMonthlyScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AbsoluteMonthlyScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + day_of_month: int, + interval_months: int): + """ + For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + :param int day_of_month: The date of the month. + :param int interval_months: Specifies the number of months between each set of occurrences. + """ + pulumi.set(__self__, "day_of_month", day_of_month) + pulumi.set(__self__, "interval_months", interval_months) + + @property + @pulumi.getter(name="dayOfMonth") + def day_of_month(self) -> int: + """ + The date of the month. + """ + return pulumi.get(self, "day_of_month") + + @property + @pulumi.getter(name="intervalMonths") + def interval_months(self) -> int: + """ + Specifies the number of months between each set of occurrences. + """ + return pulumi.get(self, "interval_months") + + +@pulumi.output_type +class AgentPoolUpgradeSettingsResponse(dict): + """ + Settings for upgrading an agentpool + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "drainTimeoutInMinutes": + suggest = "drain_timeout_in_minutes" + elif key == "maxSurge": + suggest = "max_surge" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AgentPoolUpgradeSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AgentPoolUpgradeSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AgentPoolUpgradeSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + drain_timeout_in_minutes: Optional[int] = None, + max_surge: Optional[str] = None): + """ + Settings for upgrading an agentpool + :param int drain_timeout_in_minutes: The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + :param str max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + """ + if drain_timeout_in_minutes is not None: + pulumi.set(__self__, "drain_timeout_in_minutes", drain_timeout_in_minutes) + if max_surge is not None: + pulumi.set(__self__, "max_surge", max_surge) + + @property + @pulumi.getter(name="drainTimeoutInMinutes") + def drain_timeout_in_minutes(self) -> Optional[int]: + """ + The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. + """ + return pulumi.get(self, "drain_timeout_in_minutes") + + @property + @pulumi.getter(name="maxSurge") + def max_surge(self) -> Optional[str]: + """ + This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + """ + return pulumi.get(self, "max_surge") + + +@pulumi.output_type +class AzureKeyVaultKmsResponse(dict): + """ + Azure Key Vault key management service settings for the security profile. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyId": + suggest = "key_id" + elif key == "keyVaultNetworkAccess": + suggest = "key_vault_network_access" + elif key == "keyVaultResourceId": + suggest = "key_vault_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureKeyVaultKmsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureKeyVaultKmsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureKeyVaultKmsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: Optional[bool] = None, + key_id: Optional[str] = None, + key_vault_network_access: Optional[str] = None, + key_vault_resource_id: Optional[str] = None): + """ + Azure Key Vault key management service settings for the security profile. + :param bool enabled: Whether to enable Azure Key Vault key management service. The default is false. + :param str key_id: Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + :param str key_vault_network_access: Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + :param str key_vault_resource_id: Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if key_id is not None: + pulumi.set(__self__, "key_id", key_id) + if key_vault_network_access is None: + key_vault_network_access = 'Public' + if key_vault_network_access is not None: + pulumi.set(__self__, "key_vault_network_access", key_vault_network_access) + if key_vault_resource_id is not None: + pulumi.set(__self__, "key_vault_resource_id", key_vault_resource_id) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable Azure Key Vault key management service. The default is false. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="keyId") + def key_id(self) -> Optional[str]: + """ + Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. + """ + return pulumi.get(self, "key_id") + + @property + @pulumi.getter(name="keyVaultNetworkAccess") + def key_vault_network_access(self) -> Optional[str]: + """ + Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. The default value is `Public`. + """ + return pulumi.get(self, "key_vault_network_access") + + @property + @pulumi.getter(name="keyVaultResourceId") + def key_vault_resource_id(self) -> Optional[str]: + """ + Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty. + """ + return pulumi.get(self, "key_vault_resource_id") + + +@pulumi.output_type +class ClusterUpgradeSettingsResponse(dict): + """ + Settings for upgrading a cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "overrideSettings": + suggest = "override_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterUpgradeSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterUpgradeSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterUpgradeSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + override_settings: Optional['outputs.UpgradeOverrideSettingsResponse'] = None): + """ + Settings for upgrading a cluster. + :param 'UpgradeOverrideSettingsResponse' override_settings: Settings for overrides. + """ + if override_settings is not None: + pulumi.set(__self__, "override_settings", override_settings) + + @property + @pulumi.getter(name="overrideSettings") + def override_settings(self) -> Optional['outputs.UpgradeOverrideSettingsResponse']: + """ + Settings for overrides. + """ + return pulumi.get(self, "override_settings") + + +@pulumi.output_type +class ContainerServiceLinuxProfileResponse(dict): + """ + Profile for Linux VMs in the container service cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "adminUsername": + suggest = "admin_username" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContainerServiceLinuxProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContainerServiceLinuxProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContainerServiceLinuxProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + admin_username: str, + ssh: 'outputs.ContainerServiceSshConfigurationResponse'): + """ + Profile for Linux VMs in the container service cluster. + :param str admin_username: The administrator username to use for Linux VMs. + :param 'ContainerServiceSshConfigurationResponse' ssh: The SSH configuration for Linux-based VMs running on Azure. + """ + pulumi.set(__self__, "admin_username", admin_username) + pulumi.set(__self__, "ssh", ssh) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> str: + """ + The administrator username to use for Linux VMs. + """ + return pulumi.get(self, "admin_username") + + @property + @pulumi.getter + def ssh(self) -> 'outputs.ContainerServiceSshConfigurationResponse': + """ + The SSH configuration for Linux-based VMs running on Azure. + """ + return pulumi.get(self, "ssh") + + +@pulumi.output_type +class ContainerServiceNetworkProfileResponse(dict): + """ + Profile of network configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dnsServiceIP": + suggest = "dns_service_ip" + elif key == "ipFamilies": + suggest = "ip_families" + elif key == "loadBalancerProfile": + suggest = "load_balancer_profile" + elif key == "loadBalancerSku": + suggest = "load_balancer_sku" + elif key == "natGatewayProfile": + suggest = "nat_gateway_profile" + elif key == "networkDataplane": + suggest = "network_dataplane" + elif key == "networkMode": + suggest = "network_mode" + elif key == "networkPlugin": + suggest = "network_plugin" + elif key == "networkPluginMode": + suggest = "network_plugin_mode" + elif key == "networkPolicy": + suggest = "network_policy" + elif key == "outboundType": + suggest = "outbound_type" + elif key == "podCidr": + suggest = "pod_cidr" + elif key == "podCidrs": + suggest = "pod_cidrs" + elif key == "serviceCidr": + suggest = "service_cidr" + elif key == "serviceCidrs": + suggest = "service_cidrs" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContainerServiceNetworkProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContainerServiceNetworkProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContainerServiceNetworkProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dns_service_ip: Optional[str] = None, + ip_families: Optional[Sequence[str]] = None, + load_balancer_profile: Optional['outputs.ManagedClusterLoadBalancerProfileResponse'] = None, + load_balancer_sku: Optional[str] = None, + nat_gateway_profile: Optional['outputs.ManagedClusterNATGatewayProfileResponse'] = None, + network_dataplane: Optional[str] = None, + network_mode: Optional[str] = None, + network_plugin: Optional[str] = None, + network_plugin_mode: Optional[str] = None, + network_policy: Optional[str] = None, + outbound_type: Optional[str] = None, + pod_cidr: Optional[str] = None, + pod_cidrs: Optional[Sequence[str]] = None, + service_cidr: Optional[str] = None, + service_cidrs: Optional[Sequence[str]] = None): + """ + Profile of network configuration. + :param str dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + :param Sequence[str] ip_families: IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + :param 'ManagedClusterLoadBalancerProfileResponse' load_balancer_profile: Profile of the cluster load balancer. + :param str load_balancer_sku: The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + :param 'ManagedClusterNATGatewayProfileResponse' nat_gateway_profile: Profile of the cluster NAT gateway. + :param str network_dataplane: Network dataplane used in the Kubernetes cluster. + :param str network_mode: This cannot be specified if networkPlugin is anything other than 'azure'. + :param str network_plugin: Network plugin used for building the Kubernetes network. + :param str network_plugin_mode: The mode the network plugin should use. + :param str network_policy: Network policy used for building the Kubernetes network. + :param str outbound_type: This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + :param str pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. + :param Sequence[str] pod_cidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + :param str service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + :param Sequence[str] service_cidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + """ + if dns_service_ip is None: + dns_service_ip = '10.0.0.10' + if dns_service_ip is not None: + pulumi.set(__self__, "dns_service_ip", dns_service_ip) + if ip_families is not None: + pulumi.set(__self__, "ip_families", ip_families) + if load_balancer_profile is not None: + pulumi.set(__self__, "load_balancer_profile", load_balancer_profile) + if load_balancer_sku is not None: + pulumi.set(__self__, "load_balancer_sku", load_balancer_sku) + if nat_gateway_profile is not None: + pulumi.set(__self__, "nat_gateway_profile", nat_gateway_profile) + if network_dataplane is not None: + pulumi.set(__self__, "network_dataplane", network_dataplane) + if network_mode is not None: + pulumi.set(__self__, "network_mode", network_mode) + if network_plugin is None: + network_plugin = 'kubenet' + if network_plugin is not None: + pulumi.set(__self__, "network_plugin", network_plugin) + if network_plugin_mode is not None: + pulumi.set(__self__, "network_plugin_mode", network_plugin_mode) + if network_policy is not None: + pulumi.set(__self__, "network_policy", network_policy) + if outbound_type is None: + outbound_type = 'loadBalancer' + if outbound_type is not None: + pulumi.set(__self__, "outbound_type", outbound_type) + if pod_cidr is None: + pod_cidr = '10.244.0.0/16' + if pod_cidr is not None: + pulumi.set(__self__, "pod_cidr", pod_cidr) + if pod_cidrs is not None: + pulumi.set(__self__, "pod_cidrs", pod_cidrs) + if service_cidr is None: + service_cidr = '10.0.0.0/16' + if service_cidr is not None: + pulumi.set(__self__, "service_cidr", service_cidr) + if service_cidrs is not None: + pulumi.set(__self__, "service_cidrs", service_cidrs) + + @property + @pulumi.getter(name="dnsServiceIP") + def dns_service_ip(self) -> Optional[str]: + """ + An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. + """ + return pulumi.get(self, "dns_service_ip") + + @property + @pulumi.getter(name="ipFamilies") + def ip_families(self) -> Optional[Sequence[str]]: + """ + IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. + """ + return pulumi.get(self, "ip_families") + + @property + @pulumi.getter(name="loadBalancerProfile") + def load_balancer_profile(self) -> Optional['outputs.ManagedClusterLoadBalancerProfileResponse']: + """ + Profile of the cluster load balancer. + """ + return pulumi.get(self, "load_balancer_profile") + + @property + @pulumi.getter(name="loadBalancerSku") + def load_balancer_sku(self) -> Optional[str]: + """ + The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. + """ + return pulumi.get(self, "load_balancer_sku") + + @property + @pulumi.getter(name="natGatewayProfile") + def nat_gateway_profile(self) -> Optional['outputs.ManagedClusterNATGatewayProfileResponse']: + """ + Profile of the cluster NAT gateway. + """ + return pulumi.get(self, "nat_gateway_profile") + + @property + @pulumi.getter(name="networkDataplane") + def network_dataplane(self) -> Optional[str]: + """ + Network dataplane used in the Kubernetes cluster. + """ + return pulumi.get(self, "network_dataplane") + + @property + @pulumi.getter(name="networkMode") + def network_mode(self) -> Optional[str]: + """ + This cannot be specified if networkPlugin is anything other than 'azure'. + """ + return pulumi.get(self, "network_mode") + + @property + @pulumi.getter(name="networkPlugin") + def network_plugin(self) -> Optional[str]: + """ + Network plugin used for building the Kubernetes network. + """ + return pulumi.get(self, "network_plugin") + + @property + @pulumi.getter(name="networkPluginMode") + def network_plugin_mode(self) -> Optional[str]: + """ + The mode the network plugin should use. + """ + return pulumi.get(self, "network_plugin_mode") + + @property + @pulumi.getter(name="networkPolicy") + def network_policy(self) -> Optional[str]: + """ + Network policy used for building the Kubernetes network. + """ + return pulumi.get(self, "network_policy") + + @property + @pulumi.getter(name="outboundType") + def outbound_type(self) -> Optional[str]: + """ + This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + """ + return pulumi.get(self, "outbound_type") + + @property + @pulumi.getter(name="podCidr") + def pod_cidr(self) -> Optional[str]: + """ + A CIDR notation IP range from which to assign pod IPs when kubenet is used. + """ + return pulumi.get(self, "pod_cidr") + + @property + @pulumi.getter(name="podCidrs") + def pod_cidrs(self) -> Optional[Sequence[str]]: + """ + One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. + """ + return pulumi.get(self, "pod_cidrs") + + @property + @pulumi.getter(name="serviceCidr") + def service_cidr(self) -> Optional[str]: + """ + A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. + """ + return pulumi.get(self, "service_cidr") + + @property + @pulumi.getter(name="serviceCidrs") + def service_cidrs(self) -> Optional[Sequence[str]]: + """ + One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. + """ + return pulumi.get(self, "service_cidrs") + + +@pulumi.output_type +class ContainerServiceSshConfigurationResponse(dict): + """ + SSH configuration for Linux-based VMs running on Azure. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "publicKeys": + suggest = "public_keys" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContainerServiceSshConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContainerServiceSshConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContainerServiceSshConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + public_keys: Sequence['outputs.ContainerServiceSshPublicKeyResponse']): + """ + SSH configuration for Linux-based VMs running on Azure. + :param Sequence['ContainerServiceSshPublicKeyResponse'] public_keys: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + """ + pulumi.set(__self__, "public_keys", public_keys) + + @property + @pulumi.getter(name="publicKeys") + def public_keys(self) -> Sequence['outputs.ContainerServiceSshPublicKeyResponse']: + """ + The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. + """ + return pulumi.get(self, "public_keys") + + +@pulumi.output_type +class ContainerServiceSshPublicKeyResponse(dict): + """ + Contains information about SSH certificate public key data. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyData": + suggest = "key_data" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContainerServiceSshPublicKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContainerServiceSshPublicKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContainerServiceSshPublicKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_data: str): + """ + Contains information about SSH certificate public key data. + :param str key_data: Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + """ + pulumi.set(__self__, "key_data", key_data) + + @property + @pulumi.getter(name="keyData") + def key_data(self) -> str: + """ + Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. + """ + return pulumi.get(self, "key_data") + + +@pulumi.output_type +class CreationDataResponse(dict): + """ + Data used when creating a target resource from a source resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceResourceId": + suggest = "source_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CreationDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CreationDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CreationDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_resource_id: Optional[str] = None): + """ + Data used when creating a target resource from a source resource. + :param str source_resource_id: This is the ARM ID of the source object to be used to create the target object. + """ + if source_resource_id is not None: + pulumi.set(__self__, "source_resource_id", source_resource_id) + + @property + @pulumi.getter(name="sourceResourceId") + def source_resource_id(self) -> Optional[str]: + """ + This is the ARM ID of the source object to be used to create the target object. + """ + return pulumi.get(self, "source_resource_id") + + +@pulumi.output_type +class CredentialResultResponse(dict): + """ + The credential result response. + """ + def __init__(__self__, *, + name: str, + value: str): + """ + The credential result response. + :param str name: The name of the credential. + :param str value: Base64-encoded Kubernetes configuration file. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the credential. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + Base64-encoded Kubernetes configuration file. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class DailyScheduleResponse(dict): + """ + For schedules like: 'recur every day' or 'recur every 3 days'. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "intervalDays": + suggest = "interval_days" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DailyScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DailyScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DailyScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + interval_days: int): + """ + For schedules like: 'recur every day' or 'recur every 3 days'. + :param int interval_days: Specifies the number of days between each set of occurrences. + """ + pulumi.set(__self__, "interval_days", interval_days) + + @property + @pulumi.getter(name="intervalDays") + def interval_days(self) -> int: + """ + Specifies the number of days between each set of occurrences. + """ + return pulumi.get(self, "interval_days") + + +@pulumi.output_type +class DateSpanResponse(dict): + """ + For example, between '2022-12-23' and '2023-01-05'. + """ + def __init__(__self__, *, + end: str, + start: str): + """ + For example, between '2022-12-23' and '2023-01-05'. + :param str end: The end date of the date span. + :param str start: The start date of the date span. + """ + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> str: + """ + The end date of the date span. + """ + return pulumi.get(self, "end") + + @property + @pulumi.getter + def start(self) -> str: + """ + The start date of the date span. + """ + return pulumi.get(self, "start") + + +@pulumi.output_type +class DelegatedResourceResponse(dict): + """ + Delegated resource properties - internal use only. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "referralResource": + suggest = "referral_resource" + elif key == "resourceId": + suggest = "resource_id" + elif key == "tenantId": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DelegatedResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DelegatedResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DelegatedResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + location: Optional[str] = None, + referral_resource: Optional[str] = None, + resource_id: Optional[str] = None, + tenant_id: Optional[str] = None): + """ + Delegated resource properties - internal use only. + :param str location: The source resource location - internal use only. + :param str referral_resource: The delegation id of the referral delegation (optional) - internal use only. + :param str resource_id: The ARM resource id of the delegated resource - internal use only. + :param str tenant_id: The tenant id of the delegated resource - internal use only. + """ + if location is not None: + pulumi.set(__self__, "location", location) + if referral_resource is not None: + pulumi.set(__self__, "referral_resource", referral_resource) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The source resource location - internal use only. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="referralResource") + def referral_resource(self) -> Optional[str]: + """ + The delegation id of the referral delegation (optional) - internal use only. + """ + return pulumi.get(self, "referral_resource") + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The ARM resource id of the delegated resource - internal use only. + """ + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The tenant id of the delegated resource - internal use only. + """ + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class ExtendedLocationResponse(dict): + """ + The complex type of the extended location. + """ + def __init__(__self__, *, + name: Optional[str] = None, + type: Optional[str] = None): + """ + The complex type of the extended location. + :param str name: The name of the extended location. + :param str type: The type of the extended location. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the extended location. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of the extended location. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class IstioCertificateAuthorityResponse(dict): + """ + Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + """ + def __init__(__self__, *, + plugin: Optional['outputs.IstioPluginCertificateAuthorityResponse'] = None): + """ + Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + :param 'IstioPluginCertificateAuthorityResponse' plugin: Plugin certificates information for Service Mesh. + """ + if plugin is not None: + pulumi.set(__self__, "plugin", plugin) + + @property + @pulumi.getter + def plugin(self) -> Optional['outputs.IstioPluginCertificateAuthorityResponse']: + """ + Plugin certificates information for Service Mesh. + """ + return pulumi.get(self, "plugin") + + +@pulumi.output_type +class IstioComponentsResponse(dict): + """ + Istio components configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "egressGateways": + suggest = "egress_gateways" + elif key == "ingressGateways": + suggest = "ingress_gateways" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IstioComponentsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IstioComponentsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IstioComponentsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + egress_gateways: Optional[Sequence['outputs.IstioEgressGatewayResponse']] = None, + ingress_gateways: Optional[Sequence['outputs.IstioIngressGatewayResponse']] = None): + """ + Istio components configuration. + :param Sequence['IstioEgressGatewayResponse'] egress_gateways: Istio egress gateways. + :param Sequence['IstioIngressGatewayResponse'] ingress_gateways: Istio ingress gateways. + """ + if egress_gateways is not None: + pulumi.set(__self__, "egress_gateways", egress_gateways) + if ingress_gateways is not None: + pulumi.set(__self__, "ingress_gateways", ingress_gateways) + + @property + @pulumi.getter(name="egressGateways") + def egress_gateways(self) -> Optional[Sequence['outputs.IstioEgressGatewayResponse']]: + """ + Istio egress gateways. + """ + return pulumi.get(self, "egress_gateways") + + @property + @pulumi.getter(name="ingressGateways") + def ingress_gateways(self) -> Optional[Sequence['outputs.IstioIngressGatewayResponse']]: + """ + Istio ingress gateways. + """ + return pulumi.get(self, "ingress_gateways") + + +@pulumi.output_type +class IstioEgressGatewayResponse(dict): + """ + Istio egress gateway configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "nodeSelector": + suggest = "node_selector" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IstioEgressGatewayResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IstioEgressGatewayResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IstioEgressGatewayResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: bool, + node_selector: Optional[Mapping[str, str]] = None): + """ + Istio egress gateway configuration. + :param bool enabled: Whether to enable the egress gateway. + :param Mapping[str, str] node_selector: NodeSelector for scheduling the egress gateway. + """ + pulumi.set(__self__, "enabled", enabled) + if node_selector is not None: + pulumi.set(__self__, "node_selector", node_selector) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Whether to enable the egress gateway. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="nodeSelector") + def node_selector(self) -> Optional[Mapping[str, str]]: + """ + NodeSelector for scheduling the egress gateway. + """ + return pulumi.get(self, "node_selector") + + +@pulumi.output_type +class IstioIngressGatewayResponse(dict): + """ + Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + """ + def __init__(__self__, *, + enabled: bool, + mode: str): + """ + Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. + :param bool enabled: Whether to enable the ingress gateway. + :param str mode: Mode of an ingress gateway. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Whether to enable the ingress gateway. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def mode(self) -> str: + """ + Mode of an ingress gateway. + """ + return pulumi.get(self, "mode") + + +@pulumi.output_type +class IstioPluginCertificateAuthorityResponse(dict): + """ + Plugin certificates information for Service Mesh. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certChainObjectName": + suggest = "cert_chain_object_name" + elif key == "certObjectName": + suggest = "cert_object_name" + elif key == "keyObjectName": + suggest = "key_object_name" + elif key == "keyVaultId": + suggest = "key_vault_id" + elif key == "rootCertObjectName": + suggest = "root_cert_object_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IstioPluginCertificateAuthorityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IstioPluginCertificateAuthorityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IstioPluginCertificateAuthorityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cert_chain_object_name: Optional[str] = None, + cert_object_name: Optional[str] = None, + key_object_name: Optional[str] = None, + key_vault_id: Optional[str] = None, + root_cert_object_name: Optional[str] = None): + """ + Plugin certificates information for Service Mesh. + :param str cert_chain_object_name: Certificate chain object name in Azure Key Vault. + :param str cert_object_name: Intermediate certificate object name in Azure Key Vault. + :param str key_object_name: Intermediate certificate private key object name in Azure Key Vault. + :param str key_vault_id: The resource ID of the Key Vault. + :param str root_cert_object_name: Root certificate object name in Azure Key Vault. + """ + if cert_chain_object_name is not None: + pulumi.set(__self__, "cert_chain_object_name", cert_chain_object_name) + if cert_object_name is not None: + pulumi.set(__self__, "cert_object_name", cert_object_name) + if key_object_name is not None: + pulumi.set(__self__, "key_object_name", key_object_name) + if key_vault_id is not None: + pulumi.set(__self__, "key_vault_id", key_vault_id) + if root_cert_object_name is not None: + pulumi.set(__self__, "root_cert_object_name", root_cert_object_name) + + @property + @pulumi.getter(name="certChainObjectName") + def cert_chain_object_name(self) -> Optional[str]: + """ + Certificate chain object name in Azure Key Vault. + """ + return pulumi.get(self, "cert_chain_object_name") + + @property + @pulumi.getter(name="certObjectName") + def cert_object_name(self) -> Optional[str]: + """ + Intermediate certificate object name in Azure Key Vault. + """ + return pulumi.get(self, "cert_object_name") + + @property + @pulumi.getter(name="keyObjectName") + def key_object_name(self) -> Optional[str]: + """ + Intermediate certificate private key object name in Azure Key Vault. + """ + return pulumi.get(self, "key_object_name") + + @property + @pulumi.getter(name="keyVaultId") + def key_vault_id(self) -> Optional[str]: + """ + The resource ID of the Key Vault. + """ + return pulumi.get(self, "key_vault_id") + + @property + @pulumi.getter(name="rootCertObjectName") + def root_cert_object_name(self) -> Optional[str]: + """ + Root certificate object name in Azure Key Vault. + """ + return pulumi.get(self, "root_cert_object_name") + + +@pulumi.output_type +class IstioServiceMeshResponse(dict): + """ + Istio service mesh configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "certificateAuthority": + suggest = "certificate_authority" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IstioServiceMeshResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IstioServiceMeshResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IstioServiceMeshResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate_authority: Optional['outputs.IstioCertificateAuthorityResponse'] = None, + components: Optional['outputs.IstioComponentsResponse'] = None, + revisions: Optional[Sequence[str]] = None): + """ + Istio service mesh configuration. + :param 'IstioCertificateAuthorityResponse' certificate_authority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + :param 'IstioComponentsResponse' components: Istio components configuration. + :param Sequence[str] revisions: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + """ + if certificate_authority is not None: + pulumi.set(__self__, "certificate_authority", certificate_authority) + if components is not None: + pulumi.set(__self__, "components", components) + if revisions is not None: + pulumi.set(__self__, "revisions", revisions) + + @property + @pulumi.getter(name="certificateAuthority") + def certificate_authority(self) -> Optional['outputs.IstioCertificateAuthorityResponse']: + """ + Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca + """ + return pulumi.get(self, "certificate_authority") + + @property + @pulumi.getter + def components(self) -> Optional['outputs.IstioComponentsResponse']: + """ + Istio components configuration. + """ + return pulumi.get(self, "components") + + @property + @pulumi.getter + def revisions(self) -> Optional[Sequence[str]]: + """ + The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade + """ + return pulumi.get(self, "revisions") + + +@pulumi.output_type +class KubeletConfigResponse(dict): + """ + See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowedUnsafeSysctls": + suggest = "allowed_unsafe_sysctls" + elif key == "containerLogMaxFiles": + suggest = "container_log_max_files" + elif key == "containerLogMaxSizeMB": + suggest = "container_log_max_size_mb" + elif key == "cpuCfsQuota": + suggest = "cpu_cfs_quota" + elif key == "cpuCfsQuotaPeriod": + suggest = "cpu_cfs_quota_period" + elif key == "cpuManagerPolicy": + suggest = "cpu_manager_policy" + elif key == "failSwapOn": + suggest = "fail_swap_on" + elif key == "imageGcHighThreshold": + suggest = "image_gc_high_threshold" + elif key == "imageGcLowThreshold": + suggest = "image_gc_low_threshold" + elif key == "podMaxPids": + suggest = "pod_max_pids" + elif key == "topologyManagerPolicy": + suggest = "topology_manager_policy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KubeletConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KubeletConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KubeletConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allowed_unsafe_sysctls: Optional[Sequence[str]] = None, + container_log_max_files: Optional[int] = None, + container_log_max_size_mb: Optional[int] = None, + cpu_cfs_quota: Optional[bool] = None, + cpu_cfs_quota_period: Optional[str] = None, + cpu_manager_policy: Optional[str] = None, + fail_swap_on: Optional[bool] = None, + image_gc_high_threshold: Optional[int] = None, + image_gc_low_threshold: Optional[int] = None, + pod_max_pids: Optional[int] = None, + topology_manager_policy: Optional[str] = None): + """ + See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + :param Sequence[str] allowed_unsafe_sysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + :param int container_log_max_files: The maximum number of container log files that can be present for a container. The number must be ≥ 2. + :param int container_log_max_size_mb: The maximum size (e.g. 10Mi) of container log file before it is rotated. + :param bool cpu_cfs_quota: The default is true. + :param str cpu_cfs_quota_period: The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + :param str cpu_manager_policy: The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + :param bool fail_swap_on: If set to true it will make the Kubelet fail to start if swap is enabled on the node. + :param int image_gc_high_threshold: To disable image garbage collection, set to 100. The default is 85% + :param int image_gc_low_threshold: This cannot be set higher than imageGcHighThreshold. The default is 80% + :param int pod_max_pids: The maximum number of processes per pod. + :param str topology_manager_policy: For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + """ + if allowed_unsafe_sysctls is not None: + pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls) + if container_log_max_files is not None: + pulumi.set(__self__, "container_log_max_files", container_log_max_files) + if container_log_max_size_mb is not None: + pulumi.set(__self__, "container_log_max_size_mb", container_log_max_size_mb) + if cpu_cfs_quota is not None: + pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota) + if cpu_cfs_quota_period is not None: + pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period) + if cpu_manager_policy is not None: + pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy) + if fail_swap_on is not None: + pulumi.set(__self__, "fail_swap_on", fail_swap_on) + if image_gc_high_threshold is not None: + pulumi.set(__self__, "image_gc_high_threshold", image_gc_high_threshold) + if image_gc_low_threshold is not None: + pulumi.set(__self__, "image_gc_low_threshold", image_gc_low_threshold) + if pod_max_pids is not None: + pulumi.set(__self__, "pod_max_pids", pod_max_pids) + if topology_manager_policy is not None: + pulumi.set(__self__, "topology_manager_policy", topology_manager_policy) + + @property + @pulumi.getter(name="allowedUnsafeSysctls") + def allowed_unsafe_sysctls(self) -> Optional[Sequence[str]]: + """ + Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`). + """ + return pulumi.get(self, "allowed_unsafe_sysctls") + + @property + @pulumi.getter(name="containerLogMaxFiles") + def container_log_max_files(self) -> Optional[int]: + """ + The maximum number of container log files that can be present for a container. The number must be ≥ 2. + """ + return pulumi.get(self, "container_log_max_files") + + @property + @pulumi.getter(name="containerLogMaxSizeMB") + def container_log_max_size_mb(self) -> Optional[int]: + """ + The maximum size (e.g. 10Mi) of container log file before it is rotated. + """ + return pulumi.get(self, "container_log_max_size_mb") + + @property + @pulumi.getter(name="cpuCfsQuota") + def cpu_cfs_quota(self) -> Optional[bool]: + """ + The default is true. + """ + return pulumi.get(self, "cpu_cfs_quota") + + @property + @pulumi.getter(name="cpuCfsQuotaPeriod") + def cpu_cfs_quota_period(self) -> Optional[str]: + """ + The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. + """ + return pulumi.get(self, "cpu_cfs_quota_period") + + @property + @pulumi.getter(name="cpuManagerPolicy") + def cpu_manager_policy(self) -> Optional[str]: + """ + The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. + """ + return pulumi.get(self, "cpu_manager_policy") + + @property + @pulumi.getter(name="failSwapOn") + def fail_swap_on(self) -> Optional[bool]: + """ + If set to true it will make the Kubelet fail to start if swap is enabled on the node. + """ + return pulumi.get(self, "fail_swap_on") + + @property + @pulumi.getter(name="imageGcHighThreshold") + def image_gc_high_threshold(self) -> Optional[int]: + """ + To disable image garbage collection, set to 100. The default is 85% + """ + return pulumi.get(self, "image_gc_high_threshold") + + @property + @pulumi.getter(name="imageGcLowThreshold") + def image_gc_low_threshold(self) -> Optional[int]: + """ + This cannot be set higher than imageGcHighThreshold. The default is 80% + """ + return pulumi.get(self, "image_gc_low_threshold") + + @property + @pulumi.getter(name="podMaxPids") + def pod_max_pids(self) -> Optional[int]: + """ + The maximum number of processes per pod. + """ + return pulumi.get(self, "pod_max_pids") + + @property + @pulumi.getter(name="topologyManagerPolicy") + def topology_manager_policy(self) -> Optional[str]: + """ + For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. + """ + return pulumi.get(self, "topology_manager_policy") + + +@pulumi.output_type +class LinuxOSConfigResponse(dict): + """ + See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "swapFileSizeMB": + suggest = "swap_file_size_mb" + elif key == "transparentHugePageDefrag": + suggest = "transparent_huge_page_defrag" + elif key == "transparentHugePageEnabled": + suggest = "transparent_huge_page_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LinuxOSConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LinuxOSConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LinuxOSConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + swap_file_size_mb: Optional[int] = None, + sysctls: Optional['outputs.SysctlConfigResponse'] = None, + transparent_huge_page_defrag: Optional[str] = None, + transparent_huge_page_enabled: Optional[str] = None): + """ + See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. + :param int swap_file_size_mb: The size in MB of a swap file that will be created on each node. + :param 'SysctlConfigResponse' sysctls: Sysctl settings for Linux agent nodes. + :param str transparent_huge_page_defrag: Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + :param str transparent_huge_page_enabled: Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + """ + if swap_file_size_mb is not None: + pulumi.set(__self__, "swap_file_size_mb", swap_file_size_mb) + if sysctls is not None: + pulumi.set(__self__, "sysctls", sysctls) + if transparent_huge_page_defrag is not None: + pulumi.set(__self__, "transparent_huge_page_defrag", transparent_huge_page_defrag) + if transparent_huge_page_enabled is not None: + pulumi.set(__self__, "transparent_huge_page_enabled", transparent_huge_page_enabled) + + @property + @pulumi.getter(name="swapFileSizeMB") + def swap_file_size_mb(self) -> Optional[int]: + """ + The size in MB of a swap file that will be created on each node. + """ + return pulumi.get(self, "swap_file_size_mb") + + @property + @pulumi.getter + def sysctls(self) -> Optional['outputs.SysctlConfigResponse']: + """ + Sysctl settings for Linux agent nodes. + """ + return pulumi.get(self, "sysctls") + + @property + @pulumi.getter(name="transparentHugePageDefrag") + def transparent_huge_page_defrag(self) -> Optional[str]: + """ + Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + """ + return pulumi.get(self, "transparent_huge_page_defrag") + + @property + @pulumi.getter(name="transparentHugePageEnabled") + def transparent_huge_page_enabled(self) -> Optional[str]: + """ + Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + """ + return pulumi.get(self, "transparent_huge_page_enabled") + + +@pulumi.output_type +class MaintenanceWindowResponse(dict): + """ + Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "durationHours": + suggest = "duration_hours" + elif key == "startTime": + suggest = "start_time" + elif key == "notAllowedDates": + suggest = "not_allowed_dates" + elif key == "startDate": + suggest = "start_date" + elif key == "utcOffset": + suggest = "utc_offset" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MaintenanceWindowResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MaintenanceWindowResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MaintenanceWindowResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + duration_hours: Optional[int] = None, + schedule: 'outputs.ScheduleResponse', + start_time: str, + not_allowed_dates: Optional[Sequence['outputs.DateSpanResponse']] = None, + start_date: Optional[str] = None, + utc_offset: Optional[str] = None): + """ + Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster. + :param int duration_hours: Length of maintenance window range from 4 to 24 hours. + :param 'ScheduleResponse' schedule: Recurrence schedule for the maintenance window. + :param str start_time: The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + :param Sequence['DateSpanResponse'] not_allowed_dates: Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + :param str start_date: The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + :param str utc_offset: The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + """ + if duration_hours is None: + duration_hours = 24 + pulumi.set(__self__, "duration_hours", duration_hours) + pulumi.set(__self__, "schedule", schedule) + pulumi.set(__self__, "start_time", start_time) + if not_allowed_dates is not None: + pulumi.set(__self__, "not_allowed_dates", not_allowed_dates) + if start_date is not None: + pulumi.set(__self__, "start_date", start_date) + if utc_offset is not None: + pulumi.set(__self__, "utc_offset", utc_offset) + + @property + @pulumi.getter(name="durationHours") + def duration_hours(self) -> int: + """ + Length of maintenance window range from 4 to 24 hours. + """ + return pulumi.get(self, "duration_hours") + + @property + @pulumi.getter + def schedule(self) -> 'outputs.ScheduleResponse': + """ + Recurrence schedule for the maintenance window. + """ + return pulumi.get(self, "schedule") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> str: + """ + The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'. + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter(name="notAllowedDates") + def not_allowed_dates(self) -> Optional[Sequence['outputs.DateSpanResponse']]: + """ + Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time. + """ + return pulumi.get(self, "not_allowed_dates") + + @property + @pulumi.getter(name="startDate") + def start_date(self) -> Optional[str]: + """ + The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away. + """ + return pulumi.get(self, "start_date") + + @property + @pulumi.getter(name="utcOffset") + def utc_offset(self) -> Optional[str]: + """ + The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. + """ + return pulumi.get(self, "utc_offset") + + +@pulumi.output_type +class ManagedClusterAADProfileResponse(dict): + """ + For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "adminGroupObjectIDs": + suggest = "admin_group_object_ids" + elif key == "clientAppID": + suggest = "client_app_id" + elif key == "enableAzureRBAC": + suggest = "enable_azure_rbac" + elif key == "serverAppID": + suggest = "server_app_id" + elif key == "serverAppSecret": + suggest = "server_app_secret" + elif key == "tenantID": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAADProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAADProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAADProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + admin_group_object_ids: Optional[Sequence[str]] = None, + client_app_id: Optional[str] = None, + enable_azure_rbac: Optional[bool] = None, + managed: Optional[bool] = None, + server_app_id: Optional[str] = None, + server_app_secret: Optional[str] = None, + tenant_id: Optional[str] = None): + """ + For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). + :param Sequence[str] admin_group_object_ids: The list of AAD group object IDs that will have admin role of the cluster. + :param str client_app_id: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + :param bool enable_azure_rbac: Whether to enable Azure RBAC for Kubernetes authorization. + :param bool managed: Whether to enable managed AAD. + :param str server_app_id: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + :param str server_app_secret: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + :param str tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + """ + if admin_group_object_ids is not None: + pulumi.set(__self__, "admin_group_object_ids", admin_group_object_ids) + if client_app_id is not None: + pulumi.set(__self__, "client_app_id", client_app_id) + if enable_azure_rbac is not None: + pulumi.set(__self__, "enable_azure_rbac", enable_azure_rbac) + if managed is not None: + pulumi.set(__self__, "managed", managed) + if server_app_id is not None: + pulumi.set(__self__, "server_app_id", server_app_id) + if server_app_secret is not None: + pulumi.set(__self__, "server_app_secret", server_app_secret) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="adminGroupObjectIDs") + def admin_group_object_ids(self) -> Optional[Sequence[str]]: + """ + The list of AAD group object IDs that will have admin role of the cluster. + """ + return pulumi.get(self, "admin_group_object_ids") + + @property + @pulumi.getter(name="clientAppID") + def client_app_id(self) -> Optional[str]: + """ + (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="enableAzureRBAC") + def enable_azure_rbac(self) -> Optional[bool]: + """ + Whether to enable Azure RBAC for Kubernetes authorization. + """ + return pulumi.get(self, "enable_azure_rbac") + + @property + @pulumi.getter + def managed(self) -> Optional[bool]: + """ + Whether to enable managed AAD. + """ + return pulumi.get(self, "managed") + + @property + @pulumi.getter(name="serverAppID") + def server_app_id(self) -> Optional[str]: + """ + (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy. + """ + return pulumi.get(self, "server_app_id") + + @property + @pulumi.getter(name="serverAppSecret") + def server_app_secret(self) -> Optional[str]: + """ + (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy. + """ + return pulumi.get(self, "server_app_secret") + + @property + @pulumi.getter(name="tenantID") + def tenant_id(self) -> Optional[str]: + """ + The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. + """ + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class ManagedClusterAPIServerAccessProfileResponse(dict): + """ + Access profile for managed cluster API server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "authorizedIPRanges": + suggest = "authorized_ip_ranges" + elif key == "disableRunCommand": + suggest = "disable_run_command" + elif key == "enablePrivateCluster": + suggest = "enable_private_cluster" + elif key == "enablePrivateClusterPublicFQDN": + suggest = "enable_private_cluster_public_fqdn" + elif key == "privateDNSZone": + suggest = "private_dns_zone" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAPIServerAccessProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAPIServerAccessProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAPIServerAccessProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + authorized_ip_ranges: Optional[Sequence[str]] = None, + disable_run_command: Optional[bool] = None, + enable_private_cluster: Optional[bool] = None, + enable_private_cluster_public_fqdn: Optional[bool] = None, + private_dns_zone: Optional[str] = None): + """ + Access profile for managed cluster API server. + :param Sequence[str] authorized_ip_ranges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + :param bool disable_run_command: Whether to disable run command for the cluster or not. + :param bool enable_private_cluster: For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + :param bool enable_private_cluster_public_fqdn: Whether to create additional public FQDN for private cluster or not. + :param str private_dns_zone: The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + """ + if authorized_ip_ranges is not None: + pulumi.set(__self__, "authorized_ip_ranges", authorized_ip_ranges) + if disable_run_command is not None: + pulumi.set(__self__, "disable_run_command", disable_run_command) + if enable_private_cluster is not None: + pulumi.set(__self__, "enable_private_cluster", enable_private_cluster) + if enable_private_cluster_public_fqdn is not None: + pulumi.set(__self__, "enable_private_cluster_public_fqdn", enable_private_cluster_public_fqdn) + if private_dns_zone is not None: + pulumi.set(__self__, "private_dns_zone", private_dns_zone) + + @property + @pulumi.getter(name="authorizedIPRanges") + def authorized_ip_ranges(self) -> Optional[Sequence[str]]: + """ + IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + """ + return pulumi.get(self, "authorized_ip_ranges") + + @property + @pulumi.getter(name="disableRunCommand") + def disable_run_command(self) -> Optional[bool]: + """ + Whether to disable run command for the cluster or not. + """ + return pulumi.get(self, "disable_run_command") + + @property + @pulumi.getter(name="enablePrivateCluster") + def enable_private_cluster(self) -> Optional[bool]: + """ + For more details, see [Creating a private AKS cluster](https://docs.microsoft.com/azure/aks/private-clusters). + """ + return pulumi.get(self, "enable_private_cluster") + + @property + @pulumi.getter(name="enablePrivateClusterPublicFQDN") + def enable_private_cluster_public_fqdn(self) -> Optional[bool]: + """ + Whether to create additional public FQDN for private cluster or not. + """ + return pulumi.get(self, "enable_private_cluster_public_fqdn") + + @property + @pulumi.getter(name="privateDNSZone") + def private_dns_zone(self) -> Optional[str]: + """ + The default is System. For more details see [configure private DNS zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and 'none'. + """ + return pulumi.get(self, "private_dns_zone") + + +@pulumi.output_type +class ManagedClusterAddonProfileResponse(dict): + """ + A Kubernetes add-on profile for a managed cluster. + """ + def __init__(__self__, *, + enabled: bool, + identity: 'outputs.ManagedClusterAddonProfileResponseIdentity', + config: Optional[Mapping[str, str]] = None): + """ + A Kubernetes add-on profile for a managed cluster. + :param bool enabled: Whether the add-on is enabled or not. + :param 'ManagedClusterAddonProfileResponseIdentity' identity: Information of user assigned identity used by this add-on. + :param Mapping[str, str] config: Key-value pairs for configuring an add-on. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "identity", identity) + if config is not None: + pulumi.set(__self__, "config", config) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Whether the add-on is enabled or not. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def identity(self) -> 'outputs.ManagedClusterAddonProfileResponseIdentity': + """ + Information of user assigned identity used by this add-on. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def config(self) -> Optional[Mapping[str, str]]: + """ + Key-value pairs for configuring an add-on. + """ + return pulumi.get(self, "config") + + +@pulumi.output_type +class ManagedClusterAddonProfileResponseIdentity(dict): + """ + Information of user assigned identity used by this add-on. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "objectId": + suggest = "object_id" + elif key == "resourceId": + suggest = "resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAddonProfileResponseIdentity. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAddonProfileResponseIdentity.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAddonProfileResponseIdentity.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: Optional[str] = None, + object_id: Optional[str] = None, + resource_id: Optional[str] = None): + """ + Information of user assigned identity used by this add-on. + :param str client_id: The client ID of the user assigned identity. + :param str object_id: The object ID of the user assigned identity. + :param str resource_id: The resource ID of the user assigned identity. + """ + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> Optional[str]: + """ + The client ID of the user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object ID of the user assigned identity. + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The resource ID of the user assigned identity. + """ + return pulumi.get(self, "resource_id") + + +@pulumi.output_type +class ManagedClusterAgentPoolProfileResponse(dict): + """ + Profile for the container service agent pool. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "currentOrchestratorVersion": + suggest = "current_orchestrator_version" + elif key == "nodeImageVersion": + suggest = "node_image_version" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "availabilityZones": + suggest = "availability_zones" + elif key == "creationData": + suggest = "creation_data" + elif key == "enableAutoScaling": + suggest = "enable_auto_scaling" + elif key == "enableEncryptionAtHost": + suggest = "enable_encryption_at_host" + elif key == "enableFIPS": + suggest = "enable_fips" + elif key == "enableNodePublicIP": + suggest = "enable_node_public_ip" + elif key == "enableUltraSSD": + suggest = "enable_ultra_ssd" + elif key == "gpuInstanceProfile": + suggest = "gpu_instance_profile" + elif key == "hostGroupID": + suggest = "host_group_id" + elif key == "kubeletConfig": + suggest = "kubelet_config" + elif key == "kubeletDiskType": + suggest = "kubelet_disk_type" + elif key == "linuxOSConfig": + suggest = "linux_os_config" + elif key == "maxCount": + suggest = "max_count" + elif key == "maxPods": + suggest = "max_pods" + elif key == "minCount": + suggest = "min_count" + elif key == "nodeLabels": + suggest = "node_labels" + elif key == "nodePublicIPPrefixID": + suggest = "node_public_ip_prefix_id" + elif key == "nodeTaints": + suggest = "node_taints" + elif key == "orchestratorVersion": + suggest = "orchestrator_version" + elif key == "osDiskSizeGB": + suggest = "os_disk_size_gb" + elif key == "osDiskType": + suggest = "os_disk_type" + elif key == "osSKU": + suggest = "os_sku" + elif key == "osType": + suggest = "os_type" + elif key == "podSubnetID": + suggest = "pod_subnet_id" + elif key == "powerState": + suggest = "power_state" + elif key == "proximityPlacementGroupID": + suggest = "proximity_placement_group_id" + elif key == "scaleDownMode": + suggest = "scale_down_mode" + elif key == "scaleSetEvictionPolicy": + suggest = "scale_set_eviction_policy" + elif key == "scaleSetPriority": + suggest = "scale_set_priority" + elif key == "spotMaxPrice": + suggest = "spot_max_price" + elif key == "upgradeSettings": + suggest = "upgrade_settings" + elif key == "vmSize": + suggest = "vm_size" + elif key == "vnetSubnetID": + suggest = "vnet_subnet_id" + elif key == "workloadRuntime": + suggest = "workload_runtime" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAgentPoolProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAgentPoolProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAgentPoolProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + current_orchestrator_version: str, + name: str, + node_image_version: str, + provisioning_state: str, + availability_zones: Optional[Sequence[str]] = None, + count: Optional[int] = None, + creation_data: Optional['outputs.CreationDataResponse'] = None, + enable_auto_scaling: Optional[bool] = None, + enable_encryption_at_host: Optional[bool] = None, + enable_fips: Optional[bool] = None, + enable_node_public_ip: Optional[bool] = None, + enable_ultra_ssd: Optional[bool] = None, + gpu_instance_profile: Optional[str] = None, + host_group_id: Optional[str] = None, + kubelet_config: Optional['outputs.KubeletConfigResponse'] = None, + kubelet_disk_type: Optional[str] = None, + linux_os_config: Optional['outputs.LinuxOSConfigResponse'] = None, + max_count: Optional[int] = None, + max_pods: Optional[int] = None, + min_count: Optional[int] = None, + mode: Optional[str] = None, + node_labels: Optional[Mapping[str, str]] = None, + node_public_ip_prefix_id: Optional[str] = None, + node_taints: Optional[Sequence[str]] = None, + orchestrator_version: Optional[str] = None, + os_disk_size_gb: Optional[int] = None, + os_disk_type: Optional[str] = None, + os_sku: Optional[str] = None, + os_type: Optional[str] = None, + pod_subnet_id: Optional[str] = None, + power_state: Optional['outputs.PowerStateResponse'] = None, + proximity_placement_group_id: Optional[str] = None, + scale_down_mode: Optional[str] = None, + scale_set_eviction_policy: Optional[str] = None, + scale_set_priority: Optional[str] = None, + spot_max_price: Optional[float] = None, + tags: Optional[Mapping[str, str]] = None, + type: Optional[str] = None, + upgrade_settings: Optional['outputs.AgentPoolUpgradeSettingsResponse'] = None, + vm_size: Optional[str] = None, + vnet_subnet_id: Optional[str] = None, + workload_runtime: Optional[str] = None): + """ + Profile for the container service agent pool. + :param str current_orchestrator_version: If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + :param str name: Windows agent pool names must be 6 characters or less. + :param str node_image_version: The version of node image + :param str provisioning_state: The current deployment or provisioning state. + :param Sequence[str] availability_zones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + :param int count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + :param 'CreationDataResponse' creation_data: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + :param bool enable_auto_scaling: Whether to enable auto-scaler + :param bool enable_encryption_at_host: This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + :param bool enable_fips: See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + :param bool enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + :param bool enable_ultra_ssd: Whether to enable UltraSSD + :param str gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + :param str host_group_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + :param 'KubeletConfigResponse' kubelet_config: The Kubelet configuration on the agent pool nodes. + :param str kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + :param 'LinuxOSConfigResponse' linux_os_config: The OS configuration of Linux agent nodes. + :param int max_count: The maximum number of nodes for auto-scaling + :param int max_pods: The maximum number of pods that can run on a node. + :param int min_count: The minimum number of nodes for auto-scaling + :param str mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + :param Mapping[str, str] node_labels: The node labels to be persisted across all nodes in agent pool. + :param str node_public_ip_prefix_id: This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + :param Sequence[str] node_taints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + :param str orchestrator_version: Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + :param int os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + :param str os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + :param str os_sku: Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + :param str os_type: The operating system type. The default is Linux. + :param str pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param 'PowerStateResponse' power_state: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + :param str proximity_placement_group_id: The ID for Proximity Placement Group. + :param str scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + :param str scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + :param str scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + :param float spot_max_price: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + :param Mapping[str, str] tags: The tags to be persisted on the agent pool virtual machine scale set. + :param str type: The type of Agent Pool. + :param 'AgentPoolUpgradeSettingsResponse' upgrade_settings: Settings for upgrading the agentpool + :param str vm_size: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + :param str vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + :param str workload_runtime: Determines the type of workload a node can run. + """ + pulumi.set(__self__, "current_orchestrator_version", current_orchestrator_version) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "node_image_version", node_image_version) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if availability_zones is not None: + pulumi.set(__self__, "availability_zones", availability_zones) + if count is not None: + pulumi.set(__self__, "count", count) + if creation_data is not None: + pulumi.set(__self__, "creation_data", creation_data) + if enable_auto_scaling is not None: + pulumi.set(__self__, "enable_auto_scaling", enable_auto_scaling) + if enable_encryption_at_host is not None: + pulumi.set(__self__, "enable_encryption_at_host", enable_encryption_at_host) + if enable_fips is not None: + pulumi.set(__self__, "enable_fips", enable_fips) + if enable_node_public_ip is not None: + pulumi.set(__self__, "enable_node_public_ip", enable_node_public_ip) + if enable_ultra_ssd is not None: + pulumi.set(__self__, "enable_ultra_ssd", enable_ultra_ssd) + if gpu_instance_profile is not None: + pulumi.set(__self__, "gpu_instance_profile", gpu_instance_profile) + if host_group_id is not None: + pulumi.set(__self__, "host_group_id", host_group_id) + if kubelet_config is not None: + pulumi.set(__self__, "kubelet_config", kubelet_config) + if kubelet_disk_type is not None: + pulumi.set(__self__, "kubelet_disk_type", kubelet_disk_type) + if linux_os_config is not None: + pulumi.set(__self__, "linux_os_config", linux_os_config) + if max_count is not None: + pulumi.set(__self__, "max_count", max_count) + if max_pods is not None: + pulumi.set(__self__, "max_pods", max_pods) + if min_count is not None: + pulumi.set(__self__, "min_count", min_count) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if node_labels is not None: + pulumi.set(__self__, "node_labels", node_labels) + if node_public_ip_prefix_id is not None: + pulumi.set(__self__, "node_public_ip_prefix_id", node_public_ip_prefix_id) + if node_taints is not None: + pulumi.set(__self__, "node_taints", node_taints) + if orchestrator_version is not None: + pulumi.set(__self__, "orchestrator_version", orchestrator_version) + if os_disk_size_gb is not None: + pulumi.set(__self__, "os_disk_size_gb", os_disk_size_gb) + if os_disk_type is not None: + pulumi.set(__self__, "os_disk_type", os_disk_type) + if os_sku is not None: + pulumi.set(__self__, "os_sku", os_sku) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + if pod_subnet_id is not None: + pulumi.set(__self__, "pod_subnet_id", pod_subnet_id) + if power_state is not None: + pulumi.set(__self__, "power_state", power_state) + if proximity_placement_group_id is not None: + pulumi.set(__self__, "proximity_placement_group_id", proximity_placement_group_id) + if scale_down_mode is not None: + pulumi.set(__self__, "scale_down_mode", scale_down_mode) + if scale_set_eviction_policy is not None: + pulumi.set(__self__, "scale_set_eviction_policy", scale_set_eviction_policy) + if scale_set_priority is not None: + pulumi.set(__self__, "scale_set_priority", scale_set_priority) + if spot_max_price is not None: + pulumi.set(__self__, "spot_max_price", spot_max_price) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if type is not None: + pulumi.set(__self__, "type", type) + if upgrade_settings is not None: + pulumi.set(__self__, "upgrade_settings", upgrade_settings) + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + if vnet_subnet_id is not None: + pulumi.set(__self__, "vnet_subnet_id", vnet_subnet_id) + if workload_runtime is not None: + pulumi.set(__self__, "workload_runtime", workload_runtime) + + @property + @pulumi.getter(name="currentOrchestratorVersion") + def current_orchestrator_version(self) -> str: + """ + If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used. + """ + return pulumi.get(self, "current_orchestrator_version") + + @property + @pulumi.getter + def name(self) -> str: + """ + Windows agent pool names must be 6 characters or less. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeImageVersion") + def node_image_version(self) -> str: + """ + The version of node image + """ + return pulumi.get(self, "node_image_version") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The current deployment or provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> Optional[Sequence[str]]: + """ + The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. + """ + return pulumi.get(self, "availability_zones") + + @property + @pulumi.getter + def count(self) -> Optional[int]: + """ + Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. + """ + return pulumi.get(self, "count") + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional['outputs.CreationDataResponse']: + """ + CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter(name="enableAutoScaling") + def enable_auto_scaling(self) -> Optional[bool]: + """ + Whether to enable auto-scaler + """ + return pulumi.get(self, "enable_auto_scaling") + + @property + @pulumi.getter(name="enableEncryptionAtHost") + def enable_encryption_at_host(self) -> Optional[bool]: + """ + This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption + """ + return pulumi.get(self, "enable_encryption_at_host") + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> Optional[bool]: + """ + See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details. + """ + return pulumi.get(self, "enable_fips") + + @property + @pulumi.getter(name="enableNodePublicIP") + def enable_node_public_ip(self) -> Optional[bool]: + """ + Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false. + """ + return pulumi.get(self, "enable_node_public_ip") + + @property + @pulumi.getter(name="enableUltraSSD") + def enable_ultra_ssd(self) -> Optional[bool]: + """ + Whether to enable UltraSSD + """ + return pulumi.get(self, "enable_ultra_ssd") + + @property + @pulumi.getter(name="gpuInstanceProfile") + def gpu_instance_profile(self) -> Optional[str]: + """ + GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + """ + return pulumi.get(self, "gpu_instance_profile") + + @property + @pulumi.getter(name="hostGroupID") + def host_group_id(self) -> Optional[str]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). + """ + return pulumi.get(self, "host_group_id") + + @property + @pulumi.getter(name="kubeletConfig") + def kubelet_config(self) -> Optional['outputs.KubeletConfigResponse']: + """ + The Kubelet configuration on the agent pool nodes. + """ + return pulumi.get(self, "kubelet_config") + + @property + @pulumi.getter(name="kubeletDiskType") + def kubelet_disk_type(self) -> Optional[str]: + """ + Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. + """ + return pulumi.get(self, "kubelet_disk_type") + + @property + @pulumi.getter(name="linuxOSConfig") + def linux_os_config(self) -> Optional['outputs.LinuxOSConfigResponse']: + """ + The OS configuration of Linux agent nodes. + """ + return pulumi.get(self, "linux_os_config") + + @property + @pulumi.getter(name="maxCount") + def max_count(self) -> Optional[int]: + """ + The maximum number of nodes for auto-scaling + """ + return pulumi.get(self, "max_count") + + @property + @pulumi.getter(name="maxPods") + def max_pods(self) -> Optional[int]: + """ + The maximum number of pods that can run on a node. + """ + return pulumi.get(self, "max_pods") + + @property + @pulumi.getter(name="minCount") + def min_count(self) -> Optional[int]: + """ + The minimum number of nodes for auto-scaling + """ + return pulumi.get(self, "min_count") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + """ + A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="nodeLabels") + def node_labels(self) -> Optional[Mapping[str, str]]: + """ + The node labels to be persisted across all nodes in agent pool. + """ + return pulumi.get(self, "node_labels") + + @property + @pulumi.getter(name="nodePublicIPPrefixID") + def node_public_ip_prefix_id(self) -> Optional[str]: + """ + This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + """ + return pulumi.get(self, "node_public_ip_prefix_id") + + @property + @pulumi.getter(name="nodeTaints") + def node_taints(self) -> Optional[Sequence[str]]: + """ + The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. + """ + return pulumi.get(self, "node_taints") + + @property + @pulumi.getter(name="orchestratorVersion") + def orchestrator_version(self) -> Optional[str]: + """ + Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + """ + return pulumi.get(self, "orchestrator_version") + + @property + @pulumi.getter(name="osDiskSizeGB") + def os_disk_size_gb(self) -> Optional[int]: + """ + OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. + """ + return pulumi.get(self, "os_disk_size_gb") + + @property + @pulumi.getter(name="osDiskType") + def os_disk_type(self) -> Optional[str]: + """ + The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os). + """ + return pulumi.get(self, "os_disk_type") + + @property + @pulumi.getter(name="osSKU") + def os_sku(self) -> Optional[str]: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[str]: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="podSubnetID") + def pod_subnet_id(self) -> Optional[str]: + """ + If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "pod_subnet_id") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> Optional['outputs.PowerStateResponse']: + """ + When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="proximityPlacementGroupID") + def proximity_placement_group_id(self) -> Optional[str]: + """ + The ID for Proximity Placement Group. + """ + return pulumi.get(self, "proximity_placement_group_id") + + @property + @pulumi.getter(name="scaleDownMode") + def scale_down_mode(self) -> Optional[str]: + """ + This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete. + """ + return pulumi.get(self, "scale_down_mode") + + @property + @pulumi.getter(name="scaleSetEvictionPolicy") + def scale_set_eviction_policy(self) -> Optional[str]: + """ + This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'. + """ + return pulumi.get(self, "scale_set_eviction_policy") + + @property + @pulumi.getter(name="scaleSetPriority") + def scale_set_priority(self) -> Optional[str]: + """ + The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'. + """ + return pulumi.get(self, "scale_set_priority") + + @property + @pulumi.getter(name="spotMaxPrice") + def spot_max_price(self) -> Optional[float]: + """ + Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + """ + return pulumi.get(self, "spot_max_price") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + The tags to be persisted on the agent pool virtual machine scale set. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of Agent Pool. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeSettings") + def upgrade_settings(self) -> Optional['outputs.AgentPoolUpgradeSettingsResponse']: + """ + Settings for upgrading the agentpool + """ + return pulumi.get(self, "upgrade_settings") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[str]: + """ + VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions + """ + return pulumi.get(self, "vm_size") + + @property + @pulumi.getter(name="vnetSubnetID") + def vnet_subnet_id(self) -> Optional[str]: + """ + If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + """ + return pulumi.get(self, "vnet_subnet_id") + + @property + @pulumi.getter(name="workloadRuntime") + def workload_runtime(self) -> Optional[str]: + """ + Determines the type of workload a node can run. + """ + return pulumi.get(self, "workload_runtime") + + +@pulumi.output_type +class ManagedClusterAutoUpgradeProfileResponse(dict): + """ + Auto upgrade profile for a managed cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "nodeOSUpgradeChannel": + suggest = "node_os_upgrade_channel" + elif key == "upgradeChannel": + suggest = "upgrade_channel" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAutoUpgradeProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAutoUpgradeProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAutoUpgradeProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + node_os_upgrade_channel: Optional[str] = None, + upgrade_channel: Optional[str] = None): + """ + Auto upgrade profile for a managed cluster. + :param str node_os_upgrade_channel: Manner in which the OS on your nodes is updated. The default is NodeImage. + :param str upgrade_channel: For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + """ + if node_os_upgrade_channel is not None: + pulumi.set(__self__, "node_os_upgrade_channel", node_os_upgrade_channel) + if upgrade_channel is not None: + pulumi.set(__self__, "upgrade_channel", upgrade_channel) + + @property + @pulumi.getter(name="nodeOSUpgradeChannel") + def node_os_upgrade_channel(self) -> Optional[str]: + """ + Manner in which the OS on your nodes is updated. The default is NodeImage. + """ + return pulumi.get(self, "node_os_upgrade_channel") + + @property + @pulumi.getter(name="upgradeChannel") + def upgrade_channel(self) -> Optional[str]: + """ + For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + """ + return pulumi.get(self, "upgrade_channel") + + +@pulumi.output_type +class ManagedClusterAzureMonitorProfileKubeStateMetricsResponse(dict): + """ + Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "metricAnnotationsAllowList": + suggest = "metric_annotations_allow_list" + elif key == "metricLabelsAllowlist": + suggest = "metric_labels_allowlist" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAzureMonitorProfileKubeStateMetricsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAzureMonitorProfileKubeStateMetricsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAzureMonitorProfileKubeStateMetricsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + metric_annotations_allow_list: Optional[str] = None, + metric_labels_allowlist: Optional[str] = None): + """ + Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + :param str metric_annotations_allow_list: Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + :param str metric_labels_allowlist: Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + """ + if metric_annotations_allow_list is not None: + pulumi.set(__self__, "metric_annotations_allow_list", metric_annotations_allow_list) + if metric_labels_allowlist is not None: + pulumi.set(__self__, "metric_labels_allowlist", metric_labels_allowlist) + + @property + @pulumi.getter(name="metricAnnotationsAllowList") + def metric_annotations_allow_list(self) -> Optional[str]: + """ + Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels. + """ + return pulumi.get(self, "metric_annotations_allow_list") + + @property + @pulumi.getter(name="metricLabelsAllowlist") + def metric_labels_allowlist(self) -> Optional[str]: + """ + Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels. + """ + return pulumi.get(self, "metric_labels_allowlist") + + +@pulumi.output_type +class ManagedClusterAzureMonitorProfileMetricsResponse(dict): + """ + Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "kubeStateMetrics": + suggest = "kube_state_metrics" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterAzureMonitorProfileMetricsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterAzureMonitorProfileMetricsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterAzureMonitorProfileMetricsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: bool, + kube_state_metrics: Optional['outputs.ManagedClusterAzureMonitorProfileKubeStateMetricsResponse'] = None): + """ + Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + :param bool enabled: Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + :param 'ManagedClusterAzureMonitorProfileKubeStateMetricsResponse' kube_state_metrics: Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + """ + pulumi.set(__self__, "enabled", enabled) + if kube_state_metrics is not None: + pulumi.set(__self__, "kube_state_metrics", kube_state_metrics) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="kubeStateMetrics") + def kube_state_metrics(self) -> Optional['outputs.ManagedClusterAzureMonitorProfileKubeStateMetricsResponse']: + """ + Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details. + """ + return pulumi.get(self, "kube_state_metrics") + + +@pulumi.output_type +class ManagedClusterAzureMonitorProfileResponse(dict): + """ + Azure Monitor addon profiles for monitoring the managed cluster. + """ + def __init__(__self__, *, + metrics: Optional['outputs.ManagedClusterAzureMonitorProfileMetricsResponse'] = None): + """ + Azure Monitor addon profiles for monitoring the managed cluster. + :param 'ManagedClusterAzureMonitorProfileMetricsResponse' metrics: Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + """ + if metrics is not None: + pulumi.set(__self__, "metrics", metrics) + + @property + @pulumi.getter + def metrics(self) -> Optional['outputs.ManagedClusterAzureMonitorProfileMetricsResponse']: + """ + Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview. + """ + return pulumi.get(self, "metrics") + + +@pulumi.output_type +class ManagedClusterHTTPProxyConfigResponse(dict): + """ + Cluster HTTP proxy configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "httpProxy": + suggest = "http_proxy" + elif key == "httpsProxy": + suggest = "https_proxy" + elif key == "noProxy": + suggest = "no_proxy" + elif key == "trustedCa": + suggest = "trusted_ca" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterHTTPProxyConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterHTTPProxyConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterHTTPProxyConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + http_proxy: Optional[str] = None, + https_proxy: Optional[str] = None, + no_proxy: Optional[Sequence[str]] = None, + trusted_ca: Optional[str] = None): + """ + Cluster HTTP proxy configuration. + :param str http_proxy: The HTTP proxy server endpoint to use. + :param str https_proxy: The HTTPS proxy server endpoint to use. + :param Sequence[str] no_proxy: The endpoints that should not go through proxy. + :param str trusted_ca: Alternative CA cert to use for connecting to proxy servers. + """ + if http_proxy is not None: + pulumi.set(__self__, "http_proxy", http_proxy) + if https_proxy is not None: + pulumi.set(__self__, "https_proxy", https_proxy) + if no_proxy is not None: + pulumi.set(__self__, "no_proxy", no_proxy) + if trusted_ca is not None: + pulumi.set(__self__, "trusted_ca", trusted_ca) + + @property + @pulumi.getter(name="httpProxy") + def http_proxy(self) -> Optional[str]: + """ + The HTTP proxy server endpoint to use. + """ + return pulumi.get(self, "http_proxy") + + @property + @pulumi.getter(name="httpsProxy") + def https_proxy(self) -> Optional[str]: + """ + The HTTPS proxy server endpoint to use. + """ + return pulumi.get(self, "https_proxy") + + @property + @pulumi.getter(name="noProxy") + def no_proxy(self) -> Optional[Sequence[str]]: + """ + The endpoints that should not go through proxy. + """ + return pulumi.get(self, "no_proxy") + + @property + @pulumi.getter(name="trustedCa") + def trusted_ca(self) -> Optional[str]: + """ + Alternative CA cert to use for connecting to proxy servers. + """ + return pulumi.get(self, "trusted_ca") + + +@pulumi.output_type +class ManagedClusterIdentityResponse(dict): + """ + Identity for the managed cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "delegatedResources": + suggest = "delegated_resources" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + delegated_resources: Optional[Mapping[str, 'outputs.DelegatedResourceResponse']] = None, + type: Optional[str] = None, + user_assigned_identities: Optional[Mapping[str, 'outputs.ManagedClusterIdentityResponseUserAssignedIdentities']] = None): + """ + Identity for the managed cluster. + :param str principal_id: The principal id of the system assigned identity which is used by master components. + :param str tenant_id: The tenant id of the system assigned identity which is used by master components. + :param Mapping[str, 'DelegatedResourceResponse'] delegated_resources: The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + :param str type: For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + :param Mapping[str, 'ManagedClusterIdentityResponseUserAssignedIdentities'] user_assigned_identities: The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if delegated_resources is not None: + pulumi.set(__self__, "delegated_resources", delegated_resources) + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of the system assigned identity which is used by master components. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id of the system assigned identity which is used by master components. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="delegatedResources") + def delegated_resources(self) -> Optional[Mapping[str, 'outputs.DelegatedResourceResponse']]: + """ + The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only. + """ + return pulumi.get(self, "delegated_resources") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.ManagedClusterIdentityResponseUserAssignedIdentities']]: + """ + The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class ManagedClusterIdentityResponseUserAssignedIdentities(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterIdentityResponseUserAssignedIdentities. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterIdentityResponseUserAssignedIdentities.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterIdentityResponseUserAssignedIdentities.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + :param str client_id: The client id of user assigned identity. + :param str principal_id: The principal id of user assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client id of user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of user assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class ManagedClusterLoadBalancerProfileResponse(dict): + """ + Profile of the managed cluster load balancer. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allocatedOutboundPorts": + suggest = "allocated_outbound_ports" + elif key == "effectiveOutboundIPs": + suggest = "effective_outbound_ips" + elif key == "enableMultipleStandardLoadBalancers": + suggest = "enable_multiple_standard_load_balancers" + elif key == "idleTimeoutInMinutes": + suggest = "idle_timeout_in_minutes" + elif key == "managedOutboundIPs": + suggest = "managed_outbound_ips" + elif key == "outboundIPPrefixes": + suggest = "outbound_ip_prefixes" + elif key == "outboundIPs": + suggest = "outbound_ips" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterLoadBalancerProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterLoadBalancerProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterLoadBalancerProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allocated_outbound_ports: Optional[int] = None, + effective_outbound_ips: Optional[Sequence['outputs.ResourceReferenceResponse']] = None, + enable_multiple_standard_load_balancers: Optional[bool] = None, + idle_timeout_in_minutes: Optional[int] = None, + managed_outbound_ips: Optional['outputs.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs'] = None, + outbound_ip_prefixes: Optional['outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes'] = None, + outbound_ips: Optional['outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPs'] = None): + """ + Profile of the managed cluster load balancer. + :param int allocated_outbound_ports: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. + :param Sequence['ResourceReferenceResponse'] effective_outbound_ips: The effective outbound IP resources of the cluster load balancer. + :param bool enable_multiple_standard_load_balancers: Enable multiple standard load balancers per AKS cluster or not. + :param int idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + :param 'ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs' managed_outbound_ips: Desired managed outbound IPs for the cluster load balancer. + :param 'ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes' outbound_ip_prefixes: Desired outbound IP Prefix resources for the cluster load balancer. + :param 'ManagedClusterLoadBalancerProfileResponseOutboundIPs' outbound_ips: Desired outbound IP resources for the cluster load balancer. + """ + if allocated_outbound_ports is None: + allocated_outbound_ports = 0 + if allocated_outbound_ports is not None: + pulumi.set(__self__, "allocated_outbound_ports", allocated_outbound_ports) + if effective_outbound_ips is not None: + pulumi.set(__self__, "effective_outbound_ips", effective_outbound_ips) + if enable_multiple_standard_load_balancers is not None: + pulumi.set(__self__, "enable_multiple_standard_load_balancers", enable_multiple_standard_load_balancers) + if idle_timeout_in_minutes is None: + idle_timeout_in_minutes = 30 + if idle_timeout_in_minutes is not None: + pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + if managed_outbound_ips is not None: + pulumi.set(__self__, "managed_outbound_ips", managed_outbound_ips) + if outbound_ip_prefixes is not None: + pulumi.set(__self__, "outbound_ip_prefixes", outbound_ip_prefixes) + if outbound_ips is not None: + pulumi.set(__self__, "outbound_ips", outbound_ips) + + @property + @pulumi.getter(name="allocatedOutboundPorts") + def allocated_outbound_ports(self) -> Optional[int]: + """ + The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports. + """ + return pulumi.get(self, "allocated_outbound_ports") + + @property + @pulumi.getter(name="effectiveOutboundIPs") + def effective_outbound_ips(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + The effective outbound IP resources of the cluster load balancer. + """ + return pulumi.get(self, "effective_outbound_ips") + + @property + @pulumi.getter(name="enableMultipleStandardLoadBalancers") + def enable_multiple_standard_load_balancers(self) -> Optional[bool]: + """ + Enable multiple standard load balancers per AKS cluster or not. + """ + return pulumi.get(self, "enable_multiple_standard_load_balancers") + + @property + @pulumi.getter(name="idleTimeoutInMinutes") + def idle_timeout_in_minutes(self) -> Optional[int]: + """ + Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes. + """ + return pulumi.get(self, "idle_timeout_in_minutes") + + @property + @pulumi.getter(name="managedOutboundIPs") + def managed_outbound_ips(self) -> Optional['outputs.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs']: + """ + Desired managed outbound IPs for the cluster load balancer. + """ + return pulumi.get(self, "managed_outbound_ips") + + @property + @pulumi.getter(name="outboundIPPrefixes") + def outbound_ip_prefixes(self) -> Optional['outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes']: + """ + Desired outbound IP Prefix resources for the cluster load balancer. + """ + return pulumi.get(self, "outbound_ip_prefixes") + + @property + @pulumi.getter(name="outboundIPs") + def outbound_ips(self) -> Optional['outputs.ManagedClusterLoadBalancerProfileResponseOutboundIPs']: + """ + Desired outbound IP resources for the cluster load balancer. + """ + return pulumi.get(self, "outbound_ips") + + +@pulumi.output_type +class ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs(dict): + """ + Desired managed outbound IPs for the cluster load balancer. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "countIPv6": + suggest = "count_i_pv6" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + count: Optional[int] = None, + count_i_pv6: Optional[int] = None): + """ + Desired managed outbound IPs for the cluster load balancer. + :param int count: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + :param int count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + """ + if count is None: + count = 1 + if count is not None: + pulumi.set(__self__, "count", count) + if count_i_pv6 is None: + count_i_pv6 = 0 + if count_i_pv6 is not None: + pulumi.set(__self__, "count_i_pv6", count_i_pv6) + + @property + @pulumi.getter + def count(self) -> Optional[int]: + """ + The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + """ + return pulumi.get(self, "count") + + @property + @pulumi.getter(name="countIPv6") + def count_i_pv6(self) -> Optional[int]: + """ + The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack. + """ + return pulumi.get(self, "count_i_pv6") + + +@pulumi.output_type +class ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes(dict): + """ + Desired outbound IP Prefix resources for the cluster load balancer. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "publicIPPrefixes": + suggest = "public_ip_prefixes" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + public_ip_prefixes: Optional[Sequence['outputs.ResourceReferenceResponse']] = None): + """ + Desired outbound IP Prefix resources for the cluster load balancer. + :param Sequence['ResourceReferenceResponse'] public_ip_prefixes: A list of public IP prefix resources. + """ + if public_ip_prefixes is not None: + pulumi.set(__self__, "public_ip_prefixes", public_ip_prefixes) + + @property + @pulumi.getter(name="publicIPPrefixes") + def public_ip_prefixes(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + A list of public IP prefix resources. + """ + return pulumi.get(self, "public_ip_prefixes") + + +@pulumi.output_type +class ManagedClusterLoadBalancerProfileResponseOutboundIPs(dict): + """ + Desired outbound IP resources for the cluster load balancer. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "publicIPs": + suggest = "public_ips" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterLoadBalancerProfileResponseOutboundIPs. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterLoadBalancerProfileResponseOutboundIPs.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterLoadBalancerProfileResponseOutboundIPs.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + public_ips: Optional[Sequence['outputs.ResourceReferenceResponse']] = None): + """ + Desired outbound IP resources for the cluster load balancer. + :param Sequence['ResourceReferenceResponse'] public_ips: A list of public IP resources. + """ + if public_ips is not None: + pulumi.set(__self__, "public_ips", public_ips) + + @property + @pulumi.getter(name="publicIPs") + def public_ips(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + A list of public IP resources. + """ + return pulumi.get(self, "public_ips") + + +@pulumi.output_type +class ManagedClusterManagedOutboundIPProfileResponse(dict): + """ + Profile of the managed outbound IP resources of the managed cluster. + """ + def __init__(__self__, *, + count: Optional[int] = None): + """ + Profile of the managed outbound IP resources of the managed cluster. + :param int count: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + """ + if count is None: + count = 1 + if count is not None: + pulumi.set(__self__, "count", count) + + @property + @pulumi.getter + def count(self) -> Optional[int]: + """ + The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. + """ + return pulumi.get(self, "count") + + +@pulumi.output_type +class ManagedClusterNATGatewayProfileResponse(dict): + """ + Profile of the managed cluster NAT gateway. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "effectiveOutboundIPs": + suggest = "effective_outbound_ips" + elif key == "idleTimeoutInMinutes": + suggest = "idle_timeout_in_minutes" + elif key == "managedOutboundIPProfile": + suggest = "managed_outbound_ip_profile" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterNATGatewayProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterNATGatewayProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterNATGatewayProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + effective_outbound_ips: Optional[Sequence['outputs.ResourceReferenceResponse']] = None, + idle_timeout_in_minutes: Optional[int] = None, + managed_outbound_ip_profile: Optional['outputs.ManagedClusterManagedOutboundIPProfileResponse'] = None): + """ + Profile of the managed cluster NAT gateway. + :param Sequence['ResourceReferenceResponse'] effective_outbound_ips: The effective outbound IP resources of the cluster NAT gateway. + :param int idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + :param 'ManagedClusterManagedOutboundIPProfileResponse' managed_outbound_ip_profile: Profile of the managed outbound IP resources of the cluster NAT gateway. + """ + if effective_outbound_ips is not None: + pulumi.set(__self__, "effective_outbound_ips", effective_outbound_ips) + if idle_timeout_in_minutes is None: + idle_timeout_in_minutes = 4 + if idle_timeout_in_minutes is not None: + pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + if managed_outbound_ip_profile is not None: + pulumi.set(__self__, "managed_outbound_ip_profile", managed_outbound_ip_profile) + + @property + @pulumi.getter(name="effectiveOutboundIPs") + def effective_outbound_ips(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]: + """ + The effective outbound IP resources of the cluster NAT gateway. + """ + return pulumi.get(self, "effective_outbound_ips") + + @property + @pulumi.getter(name="idleTimeoutInMinutes") + def idle_timeout_in_minutes(self) -> Optional[int]: + """ + Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + """ + return pulumi.get(self, "idle_timeout_in_minutes") + + @property + @pulumi.getter(name="managedOutboundIPProfile") + def managed_outbound_ip_profile(self) -> Optional['outputs.ManagedClusterManagedOutboundIPProfileResponse']: + """ + Profile of the managed outbound IP resources of the cluster NAT gateway. + """ + return pulumi.get(self, "managed_outbound_ip_profile") + + +@pulumi.output_type +class ManagedClusterOIDCIssuerProfileResponse(dict): + """ + The OIDC issuer profile of the Managed Cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "issuerURL": + suggest = "issuer_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterOIDCIssuerProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterOIDCIssuerProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterOIDCIssuerProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + issuer_url: str, + enabled: Optional[bool] = None): + """ + The OIDC issuer profile of the Managed Cluster. + :param str issuer_url: The OIDC issuer url of the Managed Cluster. + :param bool enabled: Whether the OIDC issuer is enabled. + """ + pulumi.set(__self__, "issuer_url", issuer_url) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="issuerURL") + def issuer_url(self) -> str: + """ + The OIDC issuer url of the Managed Cluster. + """ + return pulumi.get(self, "issuer_url") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether the OIDC issuer is enabled. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterPodIdentityExceptionResponse(dict): + """ + See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "podLabels": + suggest = "pod_labels" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterPodIdentityExceptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterPodIdentityExceptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterPodIdentityExceptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + namespace: str, + pod_labels: Mapping[str, str]): + """ + See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. + :param str name: The name of the pod identity exception. + :param str namespace: The namespace of the pod identity exception. + :param Mapping[str, str] pod_labels: The pod labels to match. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "pod_labels", pod_labels) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the pod identity exception. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + The namespace of the pod identity exception. + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter(name="podLabels") + def pod_labels(self) -> Mapping[str, str]: + """ + The pod labels to match. + """ + return pulumi.get(self, "pod_labels") + + +@pulumi.output_type +class ManagedClusterPodIdentityProfileResponse(dict): + """ + See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowNetworkPluginKubenet": + suggest = "allow_network_plugin_kubenet" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + elif key == "userAssignedIdentityExceptions": + suggest = "user_assigned_identity_exceptions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterPodIdentityProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterPodIdentityProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterPodIdentityProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allow_network_plugin_kubenet: Optional[bool] = None, + enabled: Optional[bool] = None, + user_assigned_identities: Optional[Sequence['outputs.ManagedClusterPodIdentityResponse']] = None, + user_assigned_identity_exceptions: Optional[Sequence['outputs.ManagedClusterPodIdentityExceptionResponse']] = None): + """ + See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. + :param bool allow_network_plugin_kubenet: Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + :param bool enabled: Whether the pod identity addon is enabled. + :param Sequence['ManagedClusterPodIdentityResponse'] user_assigned_identities: The pod identities to use in the cluster. + :param Sequence['ManagedClusterPodIdentityExceptionResponse'] user_assigned_identity_exceptions: The pod identity exceptions to allow. + """ + if allow_network_plugin_kubenet is not None: + pulumi.set(__self__, "allow_network_plugin_kubenet", allow_network_plugin_kubenet) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + if user_assigned_identity_exceptions is not None: + pulumi.set(__self__, "user_assigned_identity_exceptions", user_assigned_identity_exceptions) + + @property + @pulumi.getter(name="allowNetworkPluginKubenet") + def allow_network_plugin_kubenet(self) -> Optional[bool]: + """ + Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information. + """ + return pulumi.get(self, "allow_network_plugin_kubenet") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether the pod identity addon is enabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Sequence['outputs.ManagedClusterPodIdentityResponse']]: + """ + The pod identities to use in the cluster. + """ + return pulumi.get(self, "user_assigned_identities") + + @property + @pulumi.getter(name="userAssignedIdentityExceptions") + def user_assigned_identity_exceptions(self) -> Optional[Sequence['outputs.ManagedClusterPodIdentityExceptionResponse']]: + """ + The pod identity exceptions to allow. + """ + return pulumi.get(self, "user_assigned_identity_exceptions") + + +@pulumi.output_type +class ManagedClusterPodIdentityProvisioningErrorBodyResponse(dict): + """ + An error response from the pod identity provisioning. + """ + def __init__(__self__, *, + code: Optional[str] = None, + details: Optional[Sequence['outputs.ManagedClusterPodIdentityProvisioningErrorBodyResponse']] = None, + message: Optional[str] = None, + target: Optional[str] = None): + """ + An error response from the pod identity provisioning. + :param str code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + :param Sequence['ManagedClusterPodIdentityProvisioningErrorBodyResponse'] details: A list of additional details about the error. + :param str message: A message describing the error, intended to be suitable for display in a user interface. + :param str target: The target of the particular error. For example, the name of the property in error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if details is not None: + pulumi.set(__self__, "details", details) + if message is not None: + pulumi.set(__self__, "message", message) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def details(self) -> Optional[Sequence['outputs.ManagedClusterPodIdentityProvisioningErrorBodyResponse']]: + """ + A list of additional details about the error. + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + A message describing the error, intended to be suitable for display in a user interface. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def target(self) -> Optional[str]: + """ + The target of the particular error. For example, the name of the property in error. + """ + return pulumi.get(self, "target") + + +@pulumi.output_type +class ManagedClusterPodIdentityProvisioningErrorResponse(dict): + """ + An error response from the pod identity provisioning. + """ + def __init__(__self__, *, + error: Optional['outputs.ManagedClusterPodIdentityProvisioningErrorBodyResponse'] = None): + """ + An error response from the pod identity provisioning. + :param 'ManagedClusterPodIdentityProvisioningErrorBodyResponse' error: Details about the error. + """ + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ManagedClusterPodIdentityProvisioningErrorBodyResponse']: + """ + Details about the error. + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ManagedClusterPodIdentityResponse(dict): + """ + Details about the pod identity assigned to the Managed Cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningInfo": + suggest = "provisioning_info" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "bindingSelector": + suggest = "binding_selector" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterPodIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterPodIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterPodIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + identity: 'outputs.UserAssignedIdentityResponse', + name: str, + namespace: str, + provisioning_info: 'outputs.ManagedClusterPodIdentityResponseProvisioningInfo', + provisioning_state: str, + binding_selector: Optional[str] = None): + """ + Details about the pod identity assigned to the Managed Cluster. + :param 'UserAssignedIdentityResponse' identity: The user assigned identity details. + :param str name: The name of the pod identity. + :param str namespace: The namespace of the pod identity. + :param str provisioning_state: The current provisioning state of the pod identity. + :param str binding_selector: The binding selector to use for the AzureIdentityBinding resource. + """ + pulumi.set(__self__, "identity", identity) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "provisioning_info", provisioning_info) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if binding_selector is not None: + pulumi.set(__self__, "binding_selector", binding_selector) + + @property + @pulumi.getter + def identity(self) -> 'outputs.UserAssignedIdentityResponse': + """ + The user assigned identity details. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the pod identity. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + The namespace of the pod identity. + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter(name="provisioningInfo") + def provisioning_info(self) -> 'outputs.ManagedClusterPodIdentityResponseProvisioningInfo': + return pulumi.get(self, "provisioning_info") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The current provisioning state of the pod identity. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="bindingSelector") + def binding_selector(self) -> Optional[str]: + """ + The binding selector to use for the AzureIdentityBinding resource. + """ + return pulumi.get(self, "binding_selector") + + +@pulumi.output_type +class ManagedClusterPodIdentityResponseProvisioningInfo(dict): + def __init__(__self__, *, + error: Optional['outputs.ManagedClusterPodIdentityProvisioningErrorResponse'] = None): + """ + :param 'ManagedClusterPodIdentityProvisioningErrorResponse' error: Pod identity assignment error (if any). + """ + if error is not None: + pulumi.set(__self__, "error", error) + + @property + @pulumi.getter + def error(self) -> Optional['outputs.ManagedClusterPodIdentityProvisioningErrorResponse']: + """ + Pod identity assignment error (if any). + """ + return pulumi.get(self, "error") + + +@pulumi.output_type +class ManagedClusterPropertiesResponseAutoScalerProfile(dict): + """ + Parameters to be applied to the cluster-autoscaler when enabled + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "balanceSimilarNodeGroups": + suggest = "balance_similar_node_groups" + elif key == "maxEmptyBulkDelete": + suggest = "max_empty_bulk_delete" + elif key == "maxGracefulTerminationSec": + suggest = "max_graceful_termination_sec" + elif key == "maxNodeProvisionTime": + suggest = "max_node_provision_time" + elif key == "maxTotalUnreadyPercentage": + suggest = "max_total_unready_percentage" + elif key == "newPodScaleUpDelay": + suggest = "new_pod_scale_up_delay" + elif key == "okTotalUnreadyCount": + suggest = "ok_total_unready_count" + elif key == "scaleDownDelayAfterAdd": + suggest = "scale_down_delay_after_add" + elif key == "scaleDownDelayAfterDelete": + suggest = "scale_down_delay_after_delete" + elif key == "scaleDownDelayAfterFailure": + suggest = "scale_down_delay_after_failure" + elif key == "scaleDownUnneededTime": + suggest = "scale_down_unneeded_time" + elif key == "scaleDownUnreadyTime": + suggest = "scale_down_unready_time" + elif key == "scaleDownUtilizationThreshold": + suggest = "scale_down_utilization_threshold" + elif key == "scanInterval": + suggest = "scan_interval" + elif key == "skipNodesWithLocalStorage": + suggest = "skip_nodes_with_local_storage" + elif key == "skipNodesWithSystemPods": + suggest = "skip_nodes_with_system_pods" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterPropertiesResponseAutoScalerProfile. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterPropertiesResponseAutoScalerProfile.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterPropertiesResponseAutoScalerProfile.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + balance_similar_node_groups: Optional[str] = None, + expander: Optional[str] = None, + max_empty_bulk_delete: Optional[str] = None, + max_graceful_termination_sec: Optional[str] = None, + max_node_provision_time: Optional[str] = None, + max_total_unready_percentage: Optional[str] = None, + new_pod_scale_up_delay: Optional[str] = None, + ok_total_unready_count: Optional[str] = None, + scale_down_delay_after_add: Optional[str] = None, + scale_down_delay_after_delete: Optional[str] = None, + scale_down_delay_after_failure: Optional[str] = None, + scale_down_unneeded_time: Optional[str] = None, + scale_down_unready_time: Optional[str] = None, + scale_down_utilization_threshold: Optional[str] = None, + scan_interval: Optional[str] = None, + skip_nodes_with_local_storage: Optional[str] = None, + skip_nodes_with_system_pods: Optional[str] = None): + """ + Parameters to be applied to the cluster-autoscaler when enabled + :param str balance_similar_node_groups: Valid values are 'true' and 'false' + :param str expander: If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + :param str max_empty_bulk_delete: The default is 10. + :param str max_graceful_termination_sec: The default is 600. + :param str max_node_provision_time: The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param str max_total_unready_percentage: The default is 45. The maximum is 100 and the minimum is 0. + :param str new_pod_scale_up_delay: For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + :param str ok_total_unready_count: This must be an integer. The default is 3. + :param str scale_down_delay_after_add: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param str scale_down_delay_after_delete: The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param str scale_down_delay_after_failure: The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param str scale_down_unneeded_time: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param str scale_down_unready_time: The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + :param str scale_down_utilization_threshold: The default is '0.5'. + :param str scan_interval: The default is '10'. Values must be an integer number of seconds. + :param str skip_nodes_with_local_storage: The default is true. + :param str skip_nodes_with_system_pods: The default is true. + """ + if balance_similar_node_groups is not None: + pulumi.set(__self__, "balance_similar_node_groups", balance_similar_node_groups) + if expander is not None: + pulumi.set(__self__, "expander", expander) + if max_empty_bulk_delete is not None: + pulumi.set(__self__, "max_empty_bulk_delete", max_empty_bulk_delete) + if max_graceful_termination_sec is not None: + pulumi.set(__self__, "max_graceful_termination_sec", max_graceful_termination_sec) + if max_node_provision_time is not None: + pulumi.set(__self__, "max_node_provision_time", max_node_provision_time) + if max_total_unready_percentage is not None: + pulumi.set(__self__, "max_total_unready_percentage", max_total_unready_percentage) + if new_pod_scale_up_delay is not None: + pulumi.set(__self__, "new_pod_scale_up_delay", new_pod_scale_up_delay) + if ok_total_unready_count is not None: + pulumi.set(__self__, "ok_total_unready_count", ok_total_unready_count) + if scale_down_delay_after_add is not None: + pulumi.set(__self__, "scale_down_delay_after_add", scale_down_delay_after_add) + if scale_down_delay_after_delete is not None: + pulumi.set(__self__, "scale_down_delay_after_delete", scale_down_delay_after_delete) + if scale_down_delay_after_failure is not None: + pulumi.set(__self__, "scale_down_delay_after_failure", scale_down_delay_after_failure) + if scale_down_unneeded_time is not None: + pulumi.set(__self__, "scale_down_unneeded_time", scale_down_unneeded_time) + if scale_down_unready_time is not None: + pulumi.set(__self__, "scale_down_unready_time", scale_down_unready_time) + if scale_down_utilization_threshold is not None: + pulumi.set(__self__, "scale_down_utilization_threshold", scale_down_utilization_threshold) + if scan_interval is not None: + pulumi.set(__self__, "scan_interval", scan_interval) + if skip_nodes_with_local_storage is not None: + pulumi.set(__self__, "skip_nodes_with_local_storage", skip_nodes_with_local_storage) + if skip_nodes_with_system_pods is not None: + pulumi.set(__self__, "skip_nodes_with_system_pods", skip_nodes_with_system_pods) + + @property + @pulumi.getter(name="balanceSimilarNodeGroups") + def balance_similar_node_groups(self) -> Optional[str]: + """ + Valid values are 'true' and 'false' + """ + return pulumi.get(self, "balance_similar_node_groups") + + @property + @pulumi.getter + def expander(self) -> Optional[str]: + """ + If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. + """ + return pulumi.get(self, "expander") + + @property + @pulumi.getter(name="maxEmptyBulkDelete") + def max_empty_bulk_delete(self) -> Optional[str]: + """ + The default is 10. + """ + return pulumi.get(self, "max_empty_bulk_delete") + + @property + @pulumi.getter(name="maxGracefulTerminationSec") + def max_graceful_termination_sec(self) -> Optional[str]: + """ + The default is 600. + """ + return pulumi.get(self, "max_graceful_termination_sec") + + @property + @pulumi.getter(name="maxNodeProvisionTime") + def max_node_provision_time(self) -> Optional[str]: + """ + The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "max_node_provision_time") + + @property + @pulumi.getter(name="maxTotalUnreadyPercentage") + def max_total_unready_percentage(self) -> Optional[str]: + """ + The default is 45. The maximum is 100 and the minimum is 0. + """ + return pulumi.get(self, "max_total_unready_percentage") + + @property + @pulumi.getter(name="newPodScaleUpDelay") + def new_pod_scale_up_delay(self) -> Optional[str]: + """ + For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + """ + return pulumi.get(self, "new_pod_scale_up_delay") + + @property + @pulumi.getter(name="okTotalUnreadyCount") + def ok_total_unready_count(self) -> Optional[str]: + """ + This must be an integer. The default is 3. + """ + return pulumi.get(self, "ok_total_unready_count") + + @property + @pulumi.getter(name="scaleDownDelayAfterAdd") + def scale_down_delay_after_add(self) -> Optional[str]: + """ + The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_delay_after_add") + + @property + @pulumi.getter(name="scaleDownDelayAfterDelete") + def scale_down_delay_after_delete(self) -> Optional[str]: + """ + The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_delay_after_delete") + + @property + @pulumi.getter(name="scaleDownDelayAfterFailure") + def scale_down_delay_after_failure(self) -> Optional[str]: + """ + The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_delay_after_failure") + + @property + @pulumi.getter(name="scaleDownUnneededTime") + def scale_down_unneeded_time(self) -> Optional[str]: + """ + The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_unneeded_time") + + @property + @pulumi.getter(name="scaleDownUnreadyTime") + def scale_down_unready_time(self) -> Optional[str]: + """ + The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported. + """ + return pulumi.get(self, "scale_down_unready_time") + + @property + @pulumi.getter(name="scaleDownUtilizationThreshold") + def scale_down_utilization_threshold(self) -> Optional[str]: + """ + The default is '0.5'. + """ + return pulumi.get(self, "scale_down_utilization_threshold") + + @property + @pulumi.getter(name="scanInterval") + def scan_interval(self) -> Optional[str]: + """ + The default is '10'. Values must be an integer number of seconds. + """ + return pulumi.get(self, "scan_interval") + + @property + @pulumi.getter(name="skipNodesWithLocalStorage") + def skip_nodes_with_local_storage(self) -> Optional[str]: + """ + The default is true. + """ + return pulumi.get(self, "skip_nodes_with_local_storage") + + @property + @pulumi.getter(name="skipNodesWithSystemPods") + def skip_nodes_with_system_pods(self) -> Optional[str]: + """ + The default is true. + """ + return pulumi.get(self, "skip_nodes_with_system_pods") + + +@pulumi.output_type +class ManagedClusterSKUResponse(dict): + """ + The SKU of a Managed Cluster. + """ + def __init__(__self__, *, + name: Optional[str] = None, + tier: Optional[str] = None): + """ + The SKU of a Managed Cluster. + :param str name: The name of a managed cluster SKU. + :param str tier: If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of a managed cluster SKU. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details. + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class ManagedClusterSecurityProfileDefenderResponse(dict): + """ + Microsoft Defender settings for the security profile. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "logAnalyticsWorkspaceResourceId": + suggest = "log_analytics_workspace_resource_id" + elif key == "securityMonitoring": + suggest = "security_monitoring" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterSecurityProfileDefenderResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterSecurityProfileDefenderResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterSecurityProfileDefenderResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + log_analytics_workspace_resource_id: Optional[str] = None, + security_monitoring: Optional['outputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse'] = None): + """ + Microsoft Defender settings for the security profile. + :param str log_analytics_workspace_resource_id: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + :param 'ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse' security_monitoring: Microsoft Defender threat detection for Cloud settings for the security profile. + """ + if log_analytics_workspace_resource_id is not None: + pulumi.set(__self__, "log_analytics_workspace_resource_id", log_analytics_workspace_resource_id) + if security_monitoring is not None: + pulumi.set(__self__, "security_monitoring", security_monitoring) + + @property + @pulumi.getter(name="logAnalyticsWorkspaceResourceId") + def log_analytics_workspace_resource_id(self) -> Optional[str]: + """ + Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. + """ + return pulumi.get(self, "log_analytics_workspace_resource_id") + + @property + @pulumi.getter(name="securityMonitoring") + def security_monitoring(self) -> Optional['outputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse']: + """ + Microsoft Defender threat detection for Cloud settings for the security profile. + """ + return pulumi.get(self, "security_monitoring") + + +@pulumi.output_type +class ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse(dict): + """ + Microsoft Defender settings for the security profile threat detection. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + Microsoft Defender settings for the security profile threat detection. + :param bool enabled: Whether to enable Defender threat detection + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable Defender threat detection + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterSecurityProfileImageCleanerResponse(dict): + """ + Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "intervalHours": + suggest = "interval_hours" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterSecurityProfileImageCleanerResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterSecurityProfileImageCleanerResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterSecurityProfileImageCleanerResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: Optional[bool] = None, + interval_hours: Optional[int] = None): + """ + Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile. + :param bool enabled: Whether to enable Image Cleaner on AKS cluster. + :param int interval_hours: Image Cleaner scanning interval in hours. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if interval_hours is not None: + pulumi.set(__self__, "interval_hours", interval_hours) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable Image Cleaner on AKS cluster. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="intervalHours") + def interval_hours(self) -> Optional[int]: + """ + Image Cleaner scanning interval in hours. + """ + return pulumi.get(self, "interval_hours") + + +@pulumi.output_type +class ManagedClusterSecurityProfileResponse(dict): + """ + Security profile for the container service cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "azureKeyVaultKms": + suggest = "azure_key_vault_kms" + elif key == "imageCleaner": + suggest = "image_cleaner" + elif key == "workloadIdentity": + suggest = "workload_identity" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterSecurityProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterSecurityProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterSecurityProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + azure_key_vault_kms: Optional['outputs.AzureKeyVaultKmsResponse'] = None, + defender: Optional['outputs.ManagedClusterSecurityProfileDefenderResponse'] = None, + image_cleaner: Optional['outputs.ManagedClusterSecurityProfileImageCleanerResponse'] = None, + workload_identity: Optional['outputs.ManagedClusterSecurityProfileWorkloadIdentityResponse'] = None): + """ + Security profile for the container service cluster. + :param 'AzureKeyVaultKmsResponse' azure_key_vault_kms: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + :param 'ManagedClusterSecurityProfileDefenderResponse' defender: Microsoft Defender settings for the security profile. + :param 'ManagedClusterSecurityProfileImageCleanerResponse' image_cleaner: Image Cleaner settings for the security profile. + :param 'ManagedClusterSecurityProfileWorkloadIdentityResponse' workload_identity: Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + """ + if azure_key_vault_kms is not None: + pulumi.set(__self__, "azure_key_vault_kms", azure_key_vault_kms) + if defender is not None: + pulumi.set(__self__, "defender", defender) + if image_cleaner is not None: + pulumi.set(__self__, "image_cleaner", image_cleaner) + if workload_identity is not None: + pulumi.set(__self__, "workload_identity", workload_identity) + + @property + @pulumi.getter(name="azureKeyVaultKms") + def azure_key_vault_kms(self) -> Optional['outputs.AzureKeyVaultKmsResponse']: + """ + Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. + """ + return pulumi.get(self, "azure_key_vault_kms") + + @property + @pulumi.getter + def defender(self) -> Optional['outputs.ManagedClusterSecurityProfileDefenderResponse']: + """ + Microsoft Defender settings for the security profile. + """ + return pulumi.get(self, "defender") + + @property + @pulumi.getter(name="imageCleaner") + def image_cleaner(self) -> Optional['outputs.ManagedClusterSecurityProfileImageCleanerResponse']: + """ + Image Cleaner settings for the security profile. + """ + return pulumi.get(self, "image_cleaner") + + @property + @pulumi.getter(name="workloadIdentity") + def workload_identity(self) -> Optional['outputs.ManagedClusterSecurityProfileWorkloadIdentityResponse']: + """ + Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details. + """ + return pulumi.get(self, "workload_identity") + + +@pulumi.output_type +class ManagedClusterSecurityProfileWorkloadIdentityResponse(dict): + """ + Workload identity settings for the security profile. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + Workload identity settings for the security profile. + :param bool enabled: Whether to enable workload identity. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable workload identity. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterServicePrincipalProfileResponse(dict): + """ + Information about a service principal identity for the cluster to use for manipulating Azure APIs. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterServicePrincipalProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterServicePrincipalProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterServicePrincipalProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + secret: Optional[str] = None): + """ + Information about a service principal identity for the cluster to use for manipulating Azure APIs. + :param str client_id: The ID for the service principal. + :param str secret: The secret password associated with the service principal in plain text. + """ + pulumi.set(__self__, "client_id", client_id) + if secret is not None: + pulumi.set(__self__, "secret", secret) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The ID for the service principal. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter + def secret(self) -> Optional[str]: + """ + The secret password associated with the service principal in plain text. + """ + return pulumi.get(self, "secret") + + +@pulumi.output_type +class ManagedClusterStorageProfileBlobCSIDriverResponse(dict): + """ + AzureBlob CSI Driver settings for the storage profile. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + AzureBlob CSI Driver settings for the storage profile. + :param bool enabled: Whether to enable AzureBlob CSI Driver. The default value is false. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable AzureBlob CSI Driver. The default value is false. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterStorageProfileDiskCSIDriverResponse(dict): + """ + AzureDisk CSI Driver settings for the storage profile. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + AzureDisk CSI Driver settings for the storage profile. + :param bool enabled: Whether to enable AzureDisk CSI Driver. The default value is true. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable AzureDisk CSI Driver. The default value is true. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterStorageProfileFileCSIDriverResponse(dict): + """ + AzureFile CSI Driver settings for the storage profile. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + AzureFile CSI Driver settings for the storage profile. + :param bool enabled: Whether to enable AzureFile CSI Driver. The default value is true. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable AzureFile CSI Driver. The default value is true. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterStorageProfileResponse(dict): + """ + Storage profile for the container service cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "blobCSIDriver": + suggest = "blob_csi_driver" + elif key == "diskCSIDriver": + suggest = "disk_csi_driver" + elif key == "fileCSIDriver": + suggest = "file_csi_driver" + elif key == "snapshotController": + suggest = "snapshot_controller" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterStorageProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterStorageProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterStorageProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + blob_csi_driver: Optional['outputs.ManagedClusterStorageProfileBlobCSIDriverResponse'] = None, + disk_csi_driver: Optional['outputs.ManagedClusterStorageProfileDiskCSIDriverResponse'] = None, + file_csi_driver: Optional['outputs.ManagedClusterStorageProfileFileCSIDriverResponse'] = None, + snapshot_controller: Optional['outputs.ManagedClusterStorageProfileSnapshotControllerResponse'] = None): + """ + Storage profile for the container service cluster. + :param 'ManagedClusterStorageProfileBlobCSIDriverResponse' blob_csi_driver: AzureBlob CSI Driver settings for the storage profile. + :param 'ManagedClusterStorageProfileDiskCSIDriverResponse' disk_csi_driver: AzureDisk CSI Driver settings for the storage profile. + :param 'ManagedClusterStorageProfileFileCSIDriverResponse' file_csi_driver: AzureFile CSI Driver settings for the storage profile. + :param 'ManagedClusterStorageProfileSnapshotControllerResponse' snapshot_controller: Snapshot Controller settings for the storage profile. + """ + if blob_csi_driver is not None: + pulumi.set(__self__, "blob_csi_driver", blob_csi_driver) + if disk_csi_driver is not None: + pulumi.set(__self__, "disk_csi_driver", disk_csi_driver) + if file_csi_driver is not None: + pulumi.set(__self__, "file_csi_driver", file_csi_driver) + if snapshot_controller is not None: + pulumi.set(__self__, "snapshot_controller", snapshot_controller) + + @property + @pulumi.getter(name="blobCSIDriver") + def blob_csi_driver(self) -> Optional['outputs.ManagedClusterStorageProfileBlobCSIDriverResponse']: + """ + AzureBlob CSI Driver settings for the storage profile. + """ + return pulumi.get(self, "blob_csi_driver") + + @property + @pulumi.getter(name="diskCSIDriver") + def disk_csi_driver(self) -> Optional['outputs.ManagedClusterStorageProfileDiskCSIDriverResponse']: + """ + AzureDisk CSI Driver settings for the storage profile. + """ + return pulumi.get(self, "disk_csi_driver") + + @property + @pulumi.getter(name="fileCSIDriver") + def file_csi_driver(self) -> Optional['outputs.ManagedClusterStorageProfileFileCSIDriverResponse']: + """ + AzureFile CSI Driver settings for the storage profile. + """ + return pulumi.get(self, "file_csi_driver") + + @property + @pulumi.getter(name="snapshotController") + def snapshot_controller(self) -> Optional['outputs.ManagedClusterStorageProfileSnapshotControllerResponse']: + """ + Snapshot Controller settings for the storage profile. + """ + return pulumi.get(self, "snapshot_controller") + + +@pulumi.output_type +class ManagedClusterStorageProfileSnapshotControllerResponse(dict): + """ + Snapshot Controller settings for the storage profile. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + Snapshot Controller settings for the storage profile. + :param bool enabled: Whether to enable Snapshot Controller. The default value is true. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Whether to enable Snapshot Controller. The default value is true. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterWindowsProfileResponse(dict): + """ + Profile for Windows VMs in the managed cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "adminUsername": + suggest = "admin_username" + elif key == "adminPassword": + suggest = "admin_password" + elif key == "enableCSIProxy": + suggest = "enable_csi_proxy" + elif key == "gmsaProfile": + suggest = "gmsa_profile" + elif key == "licenseType": + suggest = "license_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterWindowsProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterWindowsProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterWindowsProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + admin_username: str, + admin_password: Optional[str] = None, + enable_csi_proxy: Optional[bool] = None, + gmsa_profile: Optional['outputs.WindowsGmsaProfileResponse'] = None, + license_type: Optional[str] = None): + """ + Profile for Windows VMs in the managed cluster. + :param str admin_username: Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + :param str admin_password: Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + :param bool enable_csi_proxy: For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + :param 'WindowsGmsaProfileResponse' gmsa_profile: The Windows gMSA Profile in the Managed Cluster. + :param str license_type: The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + """ + pulumi.set(__self__, "admin_username", admin_username) + if admin_password is not None: + pulumi.set(__self__, "admin_password", admin_password) + if enable_csi_proxy is not None: + pulumi.set(__self__, "enable_csi_proxy", enable_csi_proxy) + if gmsa_profile is not None: + pulumi.set(__self__, "gmsa_profile", gmsa_profile) + if license_type is not None: + pulumi.set(__self__, "license_type", license_type) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> str: + """ + Specifies the name of the administrator account.

**Restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length:** 1 character

**Max-length:** 20 characters + """ + return pulumi.get(self, "admin_username") + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> Optional[str]: + """ + Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + """ + return pulumi.get(self, "admin_password") + + @property + @pulumi.getter(name="enableCSIProxy") + def enable_csi_proxy(self) -> Optional[bool]: + """ + For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy). + """ + return pulumi.get(self, "enable_csi_proxy") + + @property + @pulumi.getter(name="gmsaProfile") + def gmsa_profile(self) -> Optional['outputs.WindowsGmsaProfileResponse']: + """ + The Windows gMSA Profile in the Managed Cluster. + """ + return pulumi.get(self, "gmsa_profile") + + @property + @pulumi.getter(name="licenseType") + def license_type(self) -> Optional[str]: + """ + The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details. + """ + return pulumi.get(self, "license_type") + + +@pulumi.output_type +class ManagedClusterWorkloadAutoScalerProfileKedaResponse(dict): + """ + KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + """ + def __init__(__self__, *, + enabled: bool): + """ + KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + :param bool enabled: Whether to enable KEDA. + """ + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Whether to enable KEDA. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class ManagedClusterWorkloadAutoScalerProfileResponse(dict): + """ + Workload Auto-scaler profile for the managed cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "verticalPodAutoscaler": + suggest = "vertical_pod_autoscaler" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterWorkloadAutoScalerProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterWorkloadAutoScalerProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterWorkloadAutoScalerProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + keda: Optional['outputs.ManagedClusterWorkloadAutoScalerProfileKedaResponse'] = None, + vertical_pod_autoscaler: Optional['outputs.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse'] = None): + """ + Workload Auto-scaler profile for the managed cluster. + :param 'ManagedClusterWorkloadAutoScalerProfileKedaResponse' keda: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + :param 'ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse' vertical_pod_autoscaler: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + """ + if keda is not None: + pulumi.set(__self__, "keda", keda) + if vertical_pod_autoscaler is not None: + pulumi.set(__self__, "vertical_pod_autoscaler", vertical_pod_autoscaler) + + @property + @pulumi.getter + def keda(self) -> Optional['outputs.ManagedClusterWorkloadAutoScalerProfileKedaResponse']: + """ + KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. + """ + return pulumi.get(self, "keda") + + @property + @pulumi.getter(name="verticalPodAutoscaler") + def vertical_pod_autoscaler(self) -> Optional['outputs.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse']: + """ + VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + """ + return pulumi.get(self, "vertical_pod_autoscaler") + + +@pulumi.output_type +class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse(dict): + """ + VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + """ + def __init__(__self__, *, + enabled: Optional[bool] = None): + """ + VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile. + :param bool enabled: Whether to enable VPA. Default value is false. + """ + if enabled is None: + enabled = False + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Whether to enable VPA. Default value is false. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class PowerStateResponse(dict): + """ + Describes the Power State of the cluster + """ + def __init__(__self__, *, + code: Optional[str] = None): + """ + Describes the Power State of the cluster + :param str code: Tells whether the cluster is Running or Stopped + """ + if code is not None: + pulumi.set(__self__, "code", code) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + Tells whether the cluster is Running or Stopped + """ + return pulumi.get(self, "code") + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + Private endpoint which a connection belongs to. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Private endpoint which a connection belongs to. + :param str id: The resource ID of the private endpoint + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The resource ID of the private endpoint + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkResourceResponse(dict): + """ + A private link resource + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "privateLinkServiceID": + suggest = "private_link_service_id" + elif key == "groupId": + suggest = "group_id" + elif key == "requiredMembers": + suggest = "required_members" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + private_link_service_id: str, + group_id: Optional[str] = None, + id: Optional[str] = None, + name: Optional[str] = None, + required_members: Optional[Sequence[str]] = None, + type: Optional[str] = None): + """ + A private link resource + :param str private_link_service_id: The private link service ID of the resource, this field is exposed only to NRP internally. + :param str group_id: The group ID of the resource. + :param str id: The ID of the private link resource. + :param str name: The name of the private link resource. + :param Sequence[str] required_members: The RequiredMembers of the resource + :param str type: The resource type. + """ + pulumi.set(__self__, "private_link_service_id", private_link_service_id) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if id is not None: + pulumi.set(__self__, "id", id) + if name is not None: + pulumi.set(__self__, "name", name) + if required_members is not None: + pulumi.set(__self__, "required_members", required_members) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="privateLinkServiceID") + def private_link_service_id(self) -> str: + """ + The private link service ID of the resource, this field is exposed only to NRP internally. + """ + return pulumi.get(self, "private_link_service_id") + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + The group ID of the resource. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ID of the private link resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the private link resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="requiredMembers") + def required_members(self) -> Optional[Sequence[str]]: + """ + The RequiredMembers of the resource + """ + return pulumi.get(self, "required_members") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The resource type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStateResponse(dict): + """ + The state of a private link service connection. + """ + def __init__(__self__, *, + description: Optional[str] = None, + status: Optional[str] = None): + """ + The state of a private link service connection. + :param str description: The private link service connection description. + :param str status: The private link service connection status. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class RelativeMonthlyScheduleResponse(dict): + """ + For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dayOfWeek": + suggest = "day_of_week" + elif key == "intervalMonths": + suggest = "interval_months" + elif key == "weekIndex": + suggest = "week_index" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RelativeMonthlyScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RelativeMonthlyScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RelativeMonthlyScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + day_of_week: str, + interval_months: int, + week_index: str): + """ + For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + :param str day_of_week: Specifies on which day of the week the maintenance occurs. + :param int interval_months: Specifies the number of months between each set of occurrences. + :param str week_index: Specifies on which week of the month the dayOfWeek applies. + """ + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "interval_months", interval_months) + pulumi.set(__self__, "week_index", week_index) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> str: + """ + Specifies on which day of the week the maintenance occurs. + """ + return pulumi.get(self, "day_of_week") + + @property + @pulumi.getter(name="intervalMonths") + def interval_months(self) -> int: + """ + Specifies the number of months between each set of occurrences. + """ + return pulumi.get(self, "interval_months") + + @property + @pulumi.getter(name="weekIndex") + def week_index(self) -> str: + """ + Specifies on which week of the month the dayOfWeek applies. + """ + return pulumi.get(self, "week_index") + + +@pulumi.output_type +class ResourceReferenceResponse(dict): + """ + A reference to an Azure resource. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + A reference to an Azure resource. + :param str id: The fully qualified Azure resource id. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The fully qualified Azure resource id. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class ScheduleResponse(dict): + """ + One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "absoluteMonthly": + suggest = "absolute_monthly" + elif key == "relativeMonthly": + suggest = "relative_monthly" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + absolute_monthly: Optional['outputs.AbsoluteMonthlyScheduleResponse'] = None, + daily: Optional['outputs.DailyScheduleResponse'] = None, + relative_monthly: Optional['outputs.RelativeMonthlyScheduleResponse'] = None, + weekly: Optional['outputs.WeeklyScheduleResponse'] = None): + """ + One and only one of the schedule types should be specified. Choose either 'daily', 'weekly', 'absoluteMonthly' or 'relativeMonthly' for your maintenance schedule. + :param 'AbsoluteMonthlyScheduleResponse' absolute_monthly: For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + :param 'DailyScheduleResponse' daily: For schedules like: 'recur every day' or 'recur every 3 days'. + :param 'RelativeMonthlyScheduleResponse' relative_monthly: For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + :param 'WeeklyScheduleResponse' weekly: For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + """ + if absolute_monthly is not None: + pulumi.set(__self__, "absolute_monthly", absolute_monthly) + if daily is not None: + pulumi.set(__self__, "daily", daily) + if relative_monthly is not None: + pulumi.set(__self__, "relative_monthly", relative_monthly) + if weekly is not None: + pulumi.set(__self__, "weekly", weekly) + + @property + @pulumi.getter(name="absoluteMonthly") + def absolute_monthly(self) -> Optional['outputs.AbsoluteMonthlyScheduleResponse']: + """ + For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'. + """ + return pulumi.get(self, "absolute_monthly") + + @property + @pulumi.getter + def daily(self) -> Optional['outputs.DailyScheduleResponse']: + """ + For schedules like: 'recur every day' or 'recur every 3 days'. + """ + return pulumi.get(self, "daily") + + @property + @pulumi.getter(name="relativeMonthly") + def relative_monthly(self) -> Optional['outputs.RelativeMonthlyScheduleResponse']: + """ + For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'. + """ + return pulumi.get(self, "relative_monthly") + + @property + @pulumi.getter + def weekly(self) -> Optional['outputs.WeeklyScheduleResponse']: + """ + For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + """ + return pulumi.get(self, "weekly") + + +@pulumi.output_type +class ServiceMeshProfileResponse(dict): + """ + Service mesh profile for a managed cluster. + """ + def __init__(__self__, *, + mode: str, + istio: Optional['outputs.IstioServiceMeshResponse'] = None): + """ + Service mesh profile for a managed cluster. + :param str mode: Mode of the service mesh. + :param 'IstioServiceMeshResponse' istio: Istio service mesh configuration. + """ + pulumi.set(__self__, "mode", mode) + if istio is not None: + pulumi.set(__self__, "istio", istio) + + @property + @pulumi.getter + def mode(self) -> str: + """ + Mode of the service mesh. + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def istio(self) -> Optional['outputs.IstioServiceMeshResponse']: + """ + Istio service mesh configuration. + """ + return pulumi.get(self, "istio") + + +@pulumi.output_type +class SysctlConfigResponse(dict): + """ + Sysctl settings for Linux agent nodes. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "fsAioMaxNr": + suggest = "fs_aio_max_nr" + elif key == "fsFileMax": + suggest = "fs_file_max" + elif key == "fsInotifyMaxUserWatches": + suggest = "fs_inotify_max_user_watches" + elif key == "fsNrOpen": + suggest = "fs_nr_open" + elif key == "kernelThreadsMax": + suggest = "kernel_threads_max" + elif key == "netCoreNetdevMaxBacklog": + suggest = "net_core_netdev_max_backlog" + elif key == "netCoreOptmemMax": + suggest = "net_core_optmem_max" + elif key == "netCoreRmemDefault": + suggest = "net_core_rmem_default" + elif key == "netCoreRmemMax": + suggest = "net_core_rmem_max" + elif key == "netCoreSomaxconn": + suggest = "net_core_somaxconn" + elif key == "netCoreWmemDefault": + suggest = "net_core_wmem_default" + elif key == "netCoreWmemMax": + suggest = "net_core_wmem_max" + elif key == "netIpv4IpLocalPortRange": + suggest = "net_ipv4_ip_local_port_range" + elif key == "netIpv4NeighDefaultGcThresh1": + suggest = "net_ipv4_neigh_default_gc_thresh1" + elif key == "netIpv4NeighDefaultGcThresh2": + suggest = "net_ipv4_neigh_default_gc_thresh2" + elif key == "netIpv4NeighDefaultGcThresh3": + suggest = "net_ipv4_neigh_default_gc_thresh3" + elif key == "netIpv4TcpFinTimeout": + suggest = "net_ipv4_tcp_fin_timeout" + elif key == "netIpv4TcpKeepaliveProbes": + suggest = "net_ipv4_tcp_keepalive_probes" + elif key == "netIpv4TcpKeepaliveTime": + suggest = "net_ipv4_tcp_keepalive_time" + elif key == "netIpv4TcpMaxSynBacklog": + suggest = "net_ipv4_tcp_max_syn_backlog" + elif key == "netIpv4TcpMaxTwBuckets": + suggest = "net_ipv4_tcp_max_tw_buckets" + elif key == "netIpv4TcpTwReuse": + suggest = "net_ipv4_tcp_tw_reuse" + elif key == "netIpv4TcpkeepaliveIntvl": + suggest = "net_ipv4_tcpkeepalive_intvl" + elif key == "netNetfilterNfConntrackBuckets": + suggest = "net_netfilter_nf_conntrack_buckets" + elif key == "netNetfilterNfConntrackMax": + suggest = "net_netfilter_nf_conntrack_max" + elif key == "vmMaxMapCount": + suggest = "vm_max_map_count" + elif key == "vmSwappiness": + suggest = "vm_swappiness" + elif key == "vmVfsCachePressure": + suggest = "vm_vfs_cache_pressure" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SysctlConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SysctlConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SysctlConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + fs_aio_max_nr: Optional[int] = None, + fs_file_max: Optional[int] = None, + fs_inotify_max_user_watches: Optional[int] = None, + fs_nr_open: Optional[int] = None, + kernel_threads_max: Optional[int] = None, + net_core_netdev_max_backlog: Optional[int] = None, + net_core_optmem_max: Optional[int] = None, + net_core_rmem_default: Optional[int] = None, + net_core_rmem_max: Optional[int] = None, + net_core_somaxconn: Optional[int] = None, + net_core_wmem_default: Optional[int] = None, + net_core_wmem_max: Optional[int] = None, + net_ipv4_ip_local_port_range: Optional[str] = None, + net_ipv4_neigh_default_gc_thresh1: Optional[int] = None, + net_ipv4_neigh_default_gc_thresh2: Optional[int] = None, + net_ipv4_neigh_default_gc_thresh3: Optional[int] = None, + net_ipv4_tcp_fin_timeout: Optional[int] = None, + net_ipv4_tcp_keepalive_probes: Optional[int] = None, + net_ipv4_tcp_keepalive_time: Optional[int] = None, + net_ipv4_tcp_max_syn_backlog: Optional[int] = None, + net_ipv4_tcp_max_tw_buckets: Optional[int] = None, + net_ipv4_tcp_tw_reuse: Optional[bool] = None, + net_ipv4_tcpkeepalive_intvl: Optional[int] = None, + net_netfilter_nf_conntrack_buckets: Optional[int] = None, + net_netfilter_nf_conntrack_max: Optional[int] = None, + vm_max_map_count: Optional[int] = None, + vm_swappiness: Optional[int] = None, + vm_vfs_cache_pressure: Optional[int] = None): + """ + Sysctl settings for Linux agent nodes. + :param int fs_aio_max_nr: Sysctl setting fs.aio-max-nr. + :param int fs_file_max: Sysctl setting fs.file-max. + :param int fs_inotify_max_user_watches: Sysctl setting fs.inotify.max_user_watches. + :param int fs_nr_open: Sysctl setting fs.nr_open. + :param int kernel_threads_max: Sysctl setting kernel.threads-max. + :param int net_core_netdev_max_backlog: Sysctl setting net.core.netdev_max_backlog. + :param int net_core_optmem_max: Sysctl setting net.core.optmem_max. + :param int net_core_rmem_default: Sysctl setting net.core.rmem_default. + :param int net_core_rmem_max: Sysctl setting net.core.rmem_max. + :param int net_core_somaxconn: Sysctl setting net.core.somaxconn. + :param int net_core_wmem_default: Sysctl setting net.core.wmem_default. + :param int net_core_wmem_max: Sysctl setting net.core.wmem_max. + :param str net_ipv4_ip_local_port_range: Sysctl setting net.ipv4.ip_local_port_range. + :param int net_ipv4_neigh_default_gc_thresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1. + :param int net_ipv4_neigh_default_gc_thresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2. + :param int net_ipv4_neigh_default_gc_thresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3. + :param int net_ipv4_tcp_fin_timeout: Sysctl setting net.ipv4.tcp_fin_timeout. + :param int net_ipv4_tcp_keepalive_probes: Sysctl setting net.ipv4.tcp_keepalive_probes. + :param int net_ipv4_tcp_keepalive_time: Sysctl setting net.ipv4.tcp_keepalive_time. + :param int net_ipv4_tcp_max_syn_backlog: Sysctl setting net.ipv4.tcp_max_syn_backlog. + :param int net_ipv4_tcp_max_tw_buckets: Sysctl setting net.ipv4.tcp_max_tw_buckets. + :param bool net_ipv4_tcp_tw_reuse: Sysctl setting net.ipv4.tcp_tw_reuse. + :param int net_ipv4_tcpkeepalive_intvl: Sysctl setting net.ipv4.tcp_keepalive_intvl. + :param int net_netfilter_nf_conntrack_buckets: Sysctl setting net.netfilter.nf_conntrack_buckets. + :param int net_netfilter_nf_conntrack_max: Sysctl setting net.netfilter.nf_conntrack_max. + :param int vm_max_map_count: Sysctl setting vm.max_map_count. + :param int vm_swappiness: Sysctl setting vm.swappiness. + :param int vm_vfs_cache_pressure: Sysctl setting vm.vfs_cache_pressure. + """ + if fs_aio_max_nr is not None: + pulumi.set(__self__, "fs_aio_max_nr", fs_aio_max_nr) + if fs_file_max is not None: + pulumi.set(__self__, "fs_file_max", fs_file_max) + if fs_inotify_max_user_watches is not None: + pulumi.set(__self__, "fs_inotify_max_user_watches", fs_inotify_max_user_watches) + if fs_nr_open is not None: + pulumi.set(__self__, "fs_nr_open", fs_nr_open) + if kernel_threads_max is not None: + pulumi.set(__self__, "kernel_threads_max", kernel_threads_max) + if net_core_netdev_max_backlog is not None: + pulumi.set(__self__, "net_core_netdev_max_backlog", net_core_netdev_max_backlog) + if net_core_optmem_max is not None: + pulumi.set(__self__, "net_core_optmem_max", net_core_optmem_max) + if net_core_rmem_default is not None: + pulumi.set(__self__, "net_core_rmem_default", net_core_rmem_default) + if net_core_rmem_max is not None: + pulumi.set(__self__, "net_core_rmem_max", net_core_rmem_max) + if net_core_somaxconn is not None: + pulumi.set(__self__, "net_core_somaxconn", net_core_somaxconn) + if net_core_wmem_default is not None: + pulumi.set(__self__, "net_core_wmem_default", net_core_wmem_default) + if net_core_wmem_max is not None: + pulumi.set(__self__, "net_core_wmem_max", net_core_wmem_max) + if net_ipv4_ip_local_port_range is not None: + pulumi.set(__self__, "net_ipv4_ip_local_port_range", net_ipv4_ip_local_port_range) + if net_ipv4_neigh_default_gc_thresh1 is not None: + pulumi.set(__self__, "net_ipv4_neigh_default_gc_thresh1", net_ipv4_neigh_default_gc_thresh1) + if net_ipv4_neigh_default_gc_thresh2 is not None: + pulumi.set(__self__, "net_ipv4_neigh_default_gc_thresh2", net_ipv4_neigh_default_gc_thresh2) + if net_ipv4_neigh_default_gc_thresh3 is not None: + pulumi.set(__self__, "net_ipv4_neigh_default_gc_thresh3", net_ipv4_neigh_default_gc_thresh3) + if net_ipv4_tcp_fin_timeout is not None: + pulumi.set(__self__, "net_ipv4_tcp_fin_timeout", net_ipv4_tcp_fin_timeout) + if net_ipv4_tcp_keepalive_probes is not None: + pulumi.set(__self__, "net_ipv4_tcp_keepalive_probes", net_ipv4_tcp_keepalive_probes) + if net_ipv4_tcp_keepalive_time is not None: + pulumi.set(__self__, "net_ipv4_tcp_keepalive_time", net_ipv4_tcp_keepalive_time) + if net_ipv4_tcp_max_syn_backlog is not None: + pulumi.set(__self__, "net_ipv4_tcp_max_syn_backlog", net_ipv4_tcp_max_syn_backlog) + if net_ipv4_tcp_max_tw_buckets is not None: + pulumi.set(__self__, "net_ipv4_tcp_max_tw_buckets", net_ipv4_tcp_max_tw_buckets) + if net_ipv4_tcp_tw_reuse is not None: + pulumi.set(__self__, "net_ipv4_tcp_tw_reuse", net_ipv4_tcp_tw_reuse) + if net_ipv4_tcpkeepalive_intvl is not None: + pulumi.set(__self__, "net_ipv4_tcpkeepalive_intvl", net_ipv4_tcpkeepalive_intvl) + if net_netfilter_nf_conntrack_buckets is not None: + pulumi.set(__self__, "net_netfilter_nf_conntrack_buckets", net_netfilter_nf_conntrack_buckets) + if net_netfilter_nf_conntrack_max is not None: + pulumi.set(__self__, "net_netfilter_nf_conntrack_max", net_netfilter_nf_conntrack_max) + if vm_max_map_count is not None: + pulumi.set(__self__, "vm_max_map_count", vm_max_map_count) + if vm_swappiness is not None: + pulumi.set(__self__, "vm_swappiness", vm_swappiness) + if vm_vfs_cache_pressure is not None: + pulumi.set(__self__, "vm_vfs_cache_pressure", vm_vfs_cache_pressure) + + @property + @pulumi.getter(name="fsAioMaxNr") + def fs_aio_max_nr(self) -> Optional[int]: + """ + Sysctl setting fs.aio-max-nr. + """ + return pulumi.get(self, "fs_aio_max_nr") + + @property + @pulumi.getter(name="fsFileMax") + def fs_file_max(self) -> Optional[int]: + """ + Sysctl setting fs.file-max. + """ + return pulumi.get(self, "fs_file_max") + + @property + @pulumi.getter(name="fsInotifyMaxUserWatches") + def fs_inotify_max_user_watches(self) -> Optional[int]: + """ + Sysctl setting fs.inotify.max_user_watches. + """ + return pulumi.get(self, "fs_inotify_max_user_watches") + + @property + @pulumi.getter(name="fsNrOpen") + def fs_nr_open(self) -> Optional[int]: + """ + Sysctl setting fs.nr_open. + """ + return pulumi.get(self, "fs_nr_open") + + @property + @pulumi.getter(name="kernelThreadsMax") + def kernel_threads_max(self) -> Optional[int]: + """ + Sysctl setting kernel.threads-max. + """ + return pulumi.get(self, "kernel_threads_max") + + @property + @pulumi.getter(name="netCoreNetdevMaxBacklog") + def net_core_netdev_max_backlog(self) -> Optional[int]: + """ + Sysctl setting net.core.netdev_max_backlog. + """ + return pulumi.get(self, "net_core_netdev_max_backlog") + + @property + @pulumi.getter(name="netCoreOptmemMax") + def net_core_optmem_max(self) -> Optional[int]: + """ + Sysctl setting net.core.optmem_max. + """ + return pulumi.get(self, "net_core_optmem_max") + + @property + @pulumi.getter(name="netCoreRmemDefault") + def net_core_rmem_default(self) -> Optional[int]: + """ + Sysctl setting net.core.rmem_default. + """ + return pulumi.get(self, "net_core_rmem_default") + + @property + @pulumi.getter(name="netCoreRmemMax") + def net_core_rmem_max(self) -> Optional[int]: + """ + Sysctl setting net.core.rmem_max. + """ + return pulumi.get(self, "net_core_rmem_max") + + @property + @pulumi.getter(name="netCoreSomaxconn") + def net_core_somaxconn(self) -> Optional[int]: + """ + Sysctl setting net.core.somaxconn. + """ + return pulumi.get(self, "net_core_somaxconn") + + @property + @pulumi.getter(name="netCoreWmemDefault") + def net_core_wmem_default(self) -> Optional[int]: + """ + Sysctl setting net.core.wmem_default. + """ + return pulumi.get(self, "net_core_wmem_default") + + @property + @pulumi.getter(name="netCoreWmemMax") + def net_core_wmem_max(self) -> Optional[int]: + """ + Sysctl setting net.core.wmem_max. + """ + return pulumi.get(self, "net_core_wmem_max") + + @property + @pulumi.getter(name="netIpv4IpLocalPortRange") + def net_ipv4_ip_local_port_range(self) -> Optional[str]: + """ + Sysctl setting net.ipv4.ip_local_port_range. + """ + return pulumi.get(self, "net_ipv4_ip_local_port_range") + + @property + @pulumi.getter(name="netIpv4NeighDefaultGcThresh1") + def net_ipv4_neigh_default_gc_thresh1(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.neigh.default.gc_thresh1. + """ + return pulumi.get(self, "net_ipv4_neigh_default_gc_thresh1") + + @property + @pulumi.getter(name="netIpv4NeighDefaultGcThresh2") + def net_ipv4_neigh_default_gc_thresh2(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.neigh.default.gc_thresh2. + """ + return pulumi.get(self, "net_ipv4_neigh_default_gc_thresh2") + + @property + @pulumi.getter(name="netIpv4NeighDefaultGcThresh3") + def net_ipv4_neigh_default_gc_thresh3(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.neigh.default.gc_thresh3. + """ + return pulumi.get(self, "net_ipv4_neigh_default_gc_thresh3") + + @property + @pulumi.getter(name="netIpv4TcpFinTimeout") + def net_ipv4_tcp_fin_timeout(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.tcp_fin_timeout. + """ + return pulumi.get(self, "net_ipv4_tcp_fin_timeout") + + @property + @pulumi.getter(name="netIpv4TcpKeepaliveProbes") + def net_ipv4_tcp_keepalive_probes(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.tcp_keepalive_probes. + """ + return pulumi.get(self, "net_ipv4_tcp_keepalive_probes") + + @property + @pulumi.getter(name="netIpv4TcpKeepaliveTime") + def net_ipv4_tcp_keepalive_time(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.tcp_keepalive_time. + """ + return pulumi.get(self, "net_ipv4_tcp_keepalive_time") + + @property + @pulumi.getter(name="netIpv4TcpMaxSynBacklog") + def net_ipv4_tcp_max_syn_backlog(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.tcp_max_syn_backlog. + """ + return pulumi.get(self, "net_ipv4_tcp_max_syn_backlog") + + @property + @pulumi.getter(name="netIpv4TcpMaxTwBuckets") + def net_ipv4_tcp_max_tw_buckets(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.tcp_max_tw_buckets. + """ + return pulumi.get(self, "net_ipv4_tcp_max_tw_buckets") + + @property + @pulumi.getter(name="netIpv4TcpTwReuse") + def net_ipv4_tcp_tw_reuse(self) -> Optional[bool]: + """ + Sysctl setting net.ipv4.tcp_tw_reuse. + """ + return pulumi.get(self, "net_ipv4_tcp_tw_reuse") + + @property + @pulumi.getter(name="netIpv4TcpkeepaliveIntvl") + def net_ipv4_tcpkeepalive_intvl(self) -> Optional[int]: + """ + Sysctl setting net.ipv4.tcp_keepalive_intvl. + """ + return pulumi.get(self, "net_ipv4_tcpkeepalive_intvl") + + @property + @pulumi.getter(name="netNetfilterNfConntrackBuckets") + def net_netfilter_nf_conntrack_buckets(self) -> Optional[int]: + """ + Sysctl setting net.netfilter.nf_conntrack_buckets. + """ + return pulumi.get(self, "net_netfilter_nf_conntrack_buckets") + + @property + @pulumi.getter(name="netNetfilterNfConntrackMax") + def net_netfilter_nf_conntrack_max(self) -> Optional[int]: + """ + Sysctl setting net.netfilter.nf_conntrack_max. + """ + return pulumi.get(self, "net_netfilter_nf_conntrack_max") + + @property + @pulumi.getter(name="vmMaxMapCount") + def vm_max_map_count(self) -> Optional[int]: + """ + Sysctl setting vm.max_map_count. + """ + return pulumi.get(self, "vm_max_map_count") + + @property + @pulumi.getter(name="vmSwappiness") + def vm_swappiness(self) -> Optional[int]: + """ + Sysctl setting vm.swappiness. + """ + return pulumi.get(self, "vm_swappiness") + + @property + @pulumi.getter(name="vmVfsCachePressure") + def vm_vfs_cache_pressure(self) -> Optional[int]: + """ + Sysctl setting vm.vfs_cache_pressure. + """ + return pulumi.get(self, "vm_vfs_cache_pressure") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TimeInWeekResponse(dict): + """ + Time in a week. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hourSlots": + suggest = "hour_slots" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TimeInWeekResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TimeInWeekResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TimeInWeekResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + day: Optional[str] = None, + hour_slots: Optional[Sequence[int]] = None): + """ + Time in a week. + :param str day: The day of the week. + :param Sequence[int] hour_slots: Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + """ + if day is not None: + pulumi.set(__self__, "day", day) + if hour_slots is not None: + pulumi.set(__self__, "hour_slots", hour_slots) + + @property + @pulumi.getter + def day(self) -> Optional[str]: + """ + The day of the week. + """ + return pulumi.get(self, "day") + + @property + @pulumi.getter(name="hourSlots") + def hour_slots(self) -> Optional[Sequence[int]]: + """ + Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. + """ + return pulumi.get(self, "hour_slots") + + +@pulumi.output_type +class TimeSpanResponse(dict): + """ + For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. + """ + def __init__(__self__, *, + end: Optional[str] = None, + start: Optional[str] = None): + """ + For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. + :param str end: The end of a time span + :param str start: The start of a time span + """ + if end is not None: + pulumi.set(__self__, "end", end) + if start is not None: + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> Optional[str]: + """ + The end of a time span + """ + return pulumi.get(self, "end") + + @property + @pulumi.getter + def start(self) -> Optional[str]: + """ + The start of a time span + """ + return pulumi.get(self, "start") + + +@pulumi.output_type +class UpgradeOverrideSettingsResponse(dict): + """ + Settings for overrides when upgrading a cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "forceUpgrade": + suggest = "force_upgrade" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UpgradeOverrideSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UpgradeOverrideSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UpgradeOverrideSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + force_upgrade: Optional[bool] = None, + until: Optional[str] = None): + """ + Settings for overrides when upgrading a cluster. + :param bool force_upgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + :param str until: Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + """ + if force_upgrade is not None: + pulumi.set(__self__, "force_upgrade", force_upgrade) + if until is not None: + pulumi.set(__self__, "until", until) + + @property + @pulumi.getter(name="forceUpgrade") + def force_upgrade(self) -> Optional[bool]: + """ + Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution. + """ + return pulumi.get(self, "force_upgrade") + + @property + @pulumi.getter + def until(self) -> Optional[str]: + """ + Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect. + """ + return pulumi.get(self, "until") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + Details about a user assigned identity. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "objectId": + suggest = "object_id" + elif key == "resourceId": + suggest = "resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: Optional[str] = None, + object_id: Optional[str] = None, + resource_id: Optional[str] = None): + """ + Details about a user assigned identity. + :param str client_id: The client ID of the user assigned identity. + :param str object_id: The object ID of the user assigned identity. + :param str resource_id: The resource ID of the user assigned identity. + """ + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> Optional[str]: + """ + The client ID of the user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object ID of the user assigned identity. + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The resource ID of the user assigned identity. + """ + return pulumi.get(self, "resource_id") + + +@pulumi.output_type +class WeeklyScheduleResponse(dict): + """ + For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dayOfWeek": + suggest = "day_of_week" + elif key == "intervalWeeks": + suggest = "interval_weeks" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WeeklyScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WeeklyScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WeeklyScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + day_of_week: str, + interval_weeks: int): + """ + For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'. + :param str day_of_week: Specifies on which day of the week the maintenance occurs. + :param int interval_weeks: Specifies the number of weeks between each set of occurrences. + """ + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "interval_weeks", interval_weeks) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> str: + """ + Specifies on which day of the week the maintenance occurs. + """ + return pulumi.get(self, "day_of_week") + + @property + @pulumi.getter(name="intervalWeeks") + def interval_weeks(self) -> int: + """ + Specifies the number of weeks between each set of occurrences. + """ + return pulumi.get(self, "interval_weeks") + + +@pulumi.output_type +class WindowsGmsaProfileResponse(dict): + """ + Windows gMSA Profile in the managed cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dnsServer": + suggest = "dns_server" + elif key == "rootDomainName": + suggest = "root_domain_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WindowsGmsaProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WindowsGmsaProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WindowsGmsaProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dns_server: Optional[str] = None, + enabled: Optional[bool] = None, + root_domain_name: Optional[str] = None): + """ + Windows gMSA Profile in the managed cluster. + :param str dns_server: Specifies the DNS server for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + :param bool enabled: Specifies whether to enable Windows gMSA in the managed cluster. + :param str root_domain_name: Specifies the root domain name for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + """ + if dns_server is not None: + pulumi.set(__self__, "dns_server", dns_server) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if root_domain_name is not None: + pulumi.set(__self__, "root_domain_name", root_domain_name) + + @property + @pulumi.getter(name="dnsServer") + def dns_server(self) -> Optional[str]: + """ + Specifies the DNS server for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + """ + return pulumi.get(self, "dns_server") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Specifies whether to enable Windows gMSA in the managed cluster. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="rootDomainName") + def root_domain_name(self) -> Optional[str]: + """ + Specifies the root domain name for Windows gMSA.

Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster. + """ + return pulumi.get(self, "root_domain_name") + + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/private_endpoint_connection.py new file mode 100644 index 000000000000..49f2f656d0db --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/private_endpoint_connection.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'], + resource_group_name: pulumi.Input[str], + resource_name: pulumi.Input[str], + private_endpoint: Optional[pulumi.Input['PrivateEndpointArgs']] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnection resource. + :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name: The name of the managed cluster resource. + :param pulumi.Input['PrivateEndpointArgs'] private_endpoint: The resource of private endpoint. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + """ + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "resource_name", resource_name) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="resourceName") + def resource_name(self) -> pulumi.Input[str]: + """ + The name of the managed cluster resource. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional[pulumi.Input['PrivateEndpointArgs']]: + """ + The resource of private endpoint. + """ + return pulumi.get(self, "private_endpoint") + + @private_endpoint.setter + def private_endpoint(self, value: Optional[pulumi.Input['PrivateEndpointArgs']]): + pulumi.set(self, "private_endpoint", value) + + @property + @pulumi.getter(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection. + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + +class PrivateEndpointConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointArgs']]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['PrivateEndpointArgs']] private_endpoint: The resource of private endpoint. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name_: The name of the managed cluster resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionArgs 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(PrivateEndpointConnectionArgs, 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, + private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointArgs']]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["private_endpoint"] = private_endpoint + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + if private_link_service_connection_state is None and not opts.urn: + raise TypeError("Missing required property 'private_link_service_connection_state'") + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if resource_name_ is None and not opts.urn: + raise TypeError("Missing required property 'resource_name_'") + __props__.__dict__["resource_name"] = resource_name_ + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20200901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20210901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211001:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230701:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-native:containerservice/v20230801:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the private endpoint connection. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]: + """ + The resource of private endpoint. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The current provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The resource type. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230801/snapshot.py b/sdk/python/pulumi_azure_native/containerservice/v20230801/snapshot.py new file mode 100644 index 000000000000..1add10a3a103 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230801/snapshot.py @@ -0,0 +1,342 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SnapshotArgs', 'Snapshot'] + +@pulumi.input_type +class SnapshotArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + creation_data: Optional[pulumi.Input['CreationDataArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + snapshot_type: Optional[pulumi.Input[Union[str, 'SnapshotType']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Snapshot resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['CreationDataArgs'] creation_data: CreationData to be used to specify the source agent pool resource ID to create this snapshot. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_name: The name of the managed cluster resource. + :param pulumi.Input[Union[str, 'SnapshotType']] snapshot_type: The type of a snapshot. The default is NodePool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if creation_data is not None: + pulumi.set(__self__, "creation_data", creation_data) + if location is not None: + pulumi.set(__self__, "location", location) + if resource_name is not None: + pulumi.set(__self__, "resource_name", resource_name) + if snapshot_type is not None: + pulumi.set(__self__, "snapshot_type", snapshot_type) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="creationData") + def creation_data(self) -> Optional[pulumi.Input['CreationDataArgs']]: + """ + CreationData to be used to specify the source agent pool resource ID to create this snapshot. + """ + return pulumi.get(self, "creation_data") + + @creation_data.setter + def creation_data(self, value: Optional[pulumi.Input['CreationDataArgs']]): + pulumi.set(self, "creation_data", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the managed cluster resource. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="snapshotType") + def snapshot_type(self) -> Optional[pulumi.Input[Union[str, 'SnapshotType']]]: + """ + The type of a snapshot. The default is NodePool. + """ + return pulumi.get(self, "snapshot_type") + + @snapshot_type.setter + def snapshot_type(self, value: Optional[pulumi.Input[Union[str, 'SnapshotType']]]): + pulumi.set(self, "snapshot_type", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Snapshot(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + creation_data: Optional[pulumi.Input[pulumi.InputType['CreationDataArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + snapshot_type: Optional[pulumi.Input[Union[str, 'SnapshotType']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + A node pool snapshot resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['CreationDataArgs']] creation_data: CreationData to be used to specify the source agent pool resource ID to create this snapshot. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_name_: The name of the managed cluster resource. + :param pulumi.Input[Union[str, 'SnapshotType']] snapshot_type: The type of a snapshot. The default is NodePool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SnapshotArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A node pool snapshot resource. + + :param str resource_name: The name of the resource. + :param SnapshotArgs 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(SnapshotArgs, 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, + creation_data: Optional[pulumi.Input[pulumi.InputType['CreationDataArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + snapshot_type: Optional[pulumi.Input[Union[str, 'SnapshotType']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SnapshotArgs.__new__(SnapshotArgs) + + __props__.__dict__["creation_data"] = creation_data + __props__.__dict__["location"] = location + 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__["resource_name"] = resource_name_ + __props__.__dict__["snapshot_type"] = snapshot_type + __props__.__dict__["tags"] = tags + __props__.__dict__["enable_fips"] = None + __props__.__dict__["kubernetes_version"] = None + __props__.__dict__["name"] = None + __props__.__dict__["node_image_version"] = None + __props__.__dict__["os_sku"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["vm_size"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210801:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20210901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211001:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20211101preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220802preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220803preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220901:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221002preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20221102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230101:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230102preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230201:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230202preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230301:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230302preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230401:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230402preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230501:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230502preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230601:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230602preview:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230701:Snapshot"), pulumi.Alias(type_="azure-native:containerservice/v20230702preview:Snapshot")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Snapshot, __self__).__init__( + 'azure-native:containerservice/v20230801:Snapshot', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Snapshot': + """ + Get an existing Snapshot 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SnapshotArgs.__new__(SnapshotArgs) + + __props__.__dict__["creation_data"] = None + __props__.__dict__["enable_fips"] = None + __props__.__dict__["kubernetes_version"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["node_image_version"] = None + __props__.__dict__["os_sku"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["snapshot_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["vm_size"] = None + return Snapshot(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Output[Optional['outputs.CreationDataResponse']]: + """ + CreationData to be used to specify the source agent pool resource ID to create this snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter(name="enableFIPS") + def enable_fips(self) -> pulumi.Output[bool]: + """ + Whether to use a FIPS-enabled OS. + """ + return pulumi.get(self, "enable_fips") + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> pulumi.Output[str]: + """ + The version of Kubernetes. + """ + return pulumi.get(self, "kubernetes_version") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeImageVersion") + def node_image_version(self) -> pulumi.Output[str]: + """ + The version of node image. + """ + return pulumi.get(self, "node_image_version") + + @property + @pulumi.getter(name="osSku") + def os_sku(self) -> pulumi.Output[str]: + """ + Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. + """ + return pulumi.get(self, "os_sku") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Output[str]: + """ + The operating system type. The default is Linux. + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="snapshotType") + def snapshot_type(self) -> pulumi.Output[Optional[str]]: + """ + The type of a snapshot. The default is NodePool. + """ + return pulumi.get(self, "snapshot_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> pulumi.Output[str]: + """ + The size of the VM. + """ + return pulumi.get(self, "vm_size") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/__init__.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/__init__.py new file mode 100644 index 000000000000..78acff827eb7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .fleet import * +from .fleet_member import * +from .fleet_update_strategy import * +from .get_fleet import * +from .get_fleet_member import * +from .get_fleet_update_strategy import * +from .get_update_run import * +from .list_fleet_credentials import * +from .update_run import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/_enums.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/_enums.py new file mode 100644 index 000000000000..b21a9012b972 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/_enums.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'ManagedClusterUpgradeType', + 'ManagedServiceIdentityType', + 'NodeImageSelectionType', +] + + +class ManagedClusterUpgradeType(str, Enum): + """ + The upgrade type. + Full requires the KubernetesVersion property to be set. + NodeImageOnly requires the KubernetesVersion property not to be set. + """ + FULL = "Full" + """ + Full upgrades the control plane and all agent pools of the target ManagedClusters. + """ + NODE_IMAGE_ONLY = "NodeImageOnly" + """ + NodeImageOnly upgrades only the node images of the target ManagedClusters. + """ + + +class ManagedServiceIdentityType(str, Enum): + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + + +class NodeImageSelectionType(str, Enum): + """ + The node image upgrade type. + """ + LATEST = "Latest" + """ + Use the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions. + """ + CONSISTENT = "Consistent" + """ + The image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'. + """ diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/_inputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/_inputs.py new file mode 100644 index 000000000000..b7f816b7eb5b --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/_inputs.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'APIServerAccessProfileArgs', + 'AgentProfileArgs', + 'FleetHubProfileArgs', + 'ManagedClusterUpdateArgs', + 'ManagedClusterUpgradeSpecArgs', + 'ManagedServiceIdentityArgs', + 'NodeImageSelectionArgs', + 'UpdateGroupArgs', + 'UpdateRunStrategyArgs', + 'UpdateStageArgs', +] + +@pulumi.input_type +class APIServerAccessProfileArgs: + def __init__(__self__, *, + enable_private_cluster: Optional[pulumi.Input[bool]] = None, + enable_vnet_integration: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None): + """ + Access profile for the Fleet hub API server. + :param pulumi.Input[bool] enable_private_cluster: Whether to create the Fleet hub as a private cluster or not. + :param pulumi.Input[bool] enable_vnet_integration: Whether to enable apiserver vnet integration for the Fleet hub or not. + :param pulumi.Input[str] subnet_id: The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + """ + if enable_private_cluster is not None: + pulumi.set(__self__, "enable_private_cluster", enable_private_cluster) + if enable_vnet_integration is not None: + pulumi.set(__self__, "enable_vnet_integration", enable_vnet_integration) + if subnet_id is not None: + pulumi.set(__self__, "subnet_id", subnet_id) + + @property + @pulumi.getter(name="enablePrivateCluster") + def enable_private_cluster(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to create the Fleet hub as a private cluster or not. + """ + return pulumi.get(self, "enable_private_cluster") + + @enable_private_cluster.setter + def enable_private_cluster(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_private_cluster", value) + + @property + @pulumi.getter(name="enableVnetIntegration") + def enable_vnet_integration(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable apiserver vnet integration for the Fleet hub or not. + """ + return pulumi.get(self, "enable_vnet_integration") + + @enable_vnet_integration.setter + def enable_vnet_integration(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_vnet_integration", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + +@pulumi.input_type +class AgentProfileArgs: + def __init__(__self__, *, + subnet_id: Optional[pulumi.Input[str]] = None, + vm_size: Optional[pulumi.Input[str]] = None): + """ + Agent profile for the Fleet hub. + :param pulumi.Input[str] subnet_id: The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + :param pulumi.Input[str] vm_size: The virtual machine size of the Fleet hub. + """ + if subnet_id is not None: + pulumi.set(__self__, "subnet_id", subnet_id) + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[pulumi.Input[str]]: + """ + The virtual machine size of the Fleet hub. + """ + return pulumi.get(self, "vm_size") + + @vm_size.setter + def vm_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_size", value) + + +@pulumi.input_type +class FleetHubProfileArgs: + def __init__(__self__, *, + agent_profile: Optional[pulumi.Input['AgentProfileArgs']] = None, + api_server_access_profile: Optional[pulumi.Input['APIServerAccessProfileArgs']] = None, + dns_prefix: Optional[pulumi.Input[str]] = None): + """ + The FleetHubProfile configures the fleet hub. + :param pulumi.Input['AgentProfileArgs'] agent_profile: The agent profile for the Fleet hub. + :param pulumi.Input['APIServerAccessProfileArgs'] api_server_access_profile: The access profile for the Fleet hub API server. + :param pulumi.Input[str] dns_prefix: DNS prefix used to create the FQDN for the Fleet hub. + """ + if agent_profile is not None: + pulumi.set(__self__, "agent_profile", agent_profile) + if api_server_access_profile is not None: + pulumi.set(__self__, "api_server_access_profile", api_server_access_profile) + if dns_prefix is not None: + pulumi.set(__self__, "dns_prefix", dns_prefix) + + @property + @pulumi.getter(name="agentProfile") + def agent_profile(self) -> Optional[pulumi.Input['AgentProfileArgs']]: + """ + The agent profile for the Fleet hub. + """ + return pulumi.get(self, "agent_profile") + + @agent_profile.setter + def agent_profile(self, value: Optional[pulumi.Input['AgentProfileArgs']]): + pulumi.set(self, "agent_profile", value) + + @property + @pulumi.getter(name="apiServerAccessProfile") + def api_server_access_profile(self) -> Optional[pulumi.Input['APIServerAccessProfileArgs']]: + """ + The access profile for the Fleet hub API server. + """ + return pulumi.get(self, "api_server_access_profile") + + @api_server_access_profile.setter + def api_server_access_profile(self, value: Optional[pulumi.Input['APIServerAccessProfileArgs']]): + pulumi.set(self, "api_server_access_profile", value) + + @property + @pulumi.getter(name="dnsPrefix") + def dns_prefix(self) -> Optional[pulumi.Input[str]]: + """ + DNS prefix used to create the FQDN for the Fleet hub. + """ + return pulumi.get(self, "dns_prefix") + + @dns_prefix.setter + def dns_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dns_prefix", value) + + +@pulumi.input_type +class ManagedClusterUpdateArgs: + def __init__(__self__, *, + upgrade: pulumi.Input['ManagedClusterUpgradeSpecArgs'], + node_image_selection: Optional[pulumi.Input['NodeImageSelectionArgs']] = None): + """ + The update to be applied to the ManagedClusters. + :param pulumi.Input['ManagedClusterUpgradeSpecArgs'] upgrade: The upgrade to apply to the ManagedClusters. + :param pulumi.Input['NodeImageSelectionArgs'] node_image_selection: The node image upgrade to be applied to the target nodes in update run. + """ + pulumi.set(__self__, "upgrade", upgrade) + if node_image_selection is not None: + pulumi.set(__self__, "node_image_selection", node_image_selection) + + @property + @pulumi.getter + def upgrade(self) -> pulumi.Input['ManagedClusterUpgradeSpecArgs']: + """ + The upgrade to apply to the ManagedClusters. + """ + return pulumi.get(self, "upgrade") + + @upgrade.setter + def upgrade(self, value: pulumi.Input['ManagedClusterUpgradeSpecArgs']): + pulumi.set(self, "upgrade", value) + + @property + @pulumi.getter(name="nodeImageSelection") + def node_image_selection(self) -> Optional[pulumi.Input['NodeImageSelectionArgs']]: + """ + The node image upgrade to be applied to the target nodes in update run. + """ + return pulumi.get(self, "node_image_selection") + + @node_image_selection.setter + def node_image_selection(self, value: Optional[pulumi.Input['NodeImageSelectionArgs']]): + pulumi.set(self, "node_image_selection", value) + + +@pulumi.input_type +class ManagedClusterUpgradeSpecArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ManagedClusterUpgradeType']], + kubernetes_version: Optional[pulumi.Input[str]] = None): + """ + The upgrade to apply to a ManagedCluster. + :param pulumi.Input[Union[str, 'ManagedClusterUpgradeType']] type: The upgrade type. + Full requires the KubernetesVersion property to be set. + NodeImageOnly requires the KubernetesVersion property not to be set. + :param pulumi.Input[str] kubernetes_version: The Kubernetes version to upgrade the member clusters to. + """ + pulumi.set(__self__, "type", type) + if kubernetes_version is not None: + pulumi.set(__self__, "kubernetes_version", kubernetes_version) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ManagedClusterUpgradeType']]: + """ + The upgrade type. + Full requires the KubernetesVersion property to be set. + NodeImageOnly requires the KubernetesVersion property not to be set. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ManagedClusterUpgradeType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> Optional[pulumi.Input[str]]: + """ + The Kubernetes version to upgrade the member clusters to. + """ + return pulumi.get(self, "kubernetes_version") + + @kubernetes_version.setter + def kubernetes_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kubernetes_version", value) + + +@pulumi.input_type +class ManagedServiceIdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ManagedServiceIdentityType']]: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ManagedServiceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class NodeImageSelectionArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'NodeImageSelectionType']]): + """ + The node image upgrade to be applied to the target nodes in update run. + :param pulumi.Input[Union[str, 'NodeImageSelectionType']] type: The node image upgrade type. + """ + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'NodeImageSelectionType']]: + """ + The node image upgrade type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'NodeImageSelectionType']]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class UpdateGroupArgs: + def __init__(__self__, *, + name: pulumi.Input[str]): + """ + A group to be updated. + :param pulumi.Input[str] name: Name of the group. + It must match a group name of an existing fleet member. + """ + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the group. + It must match a group name of an existing fleet member. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class UpdateRunStrategyArgs: + def __init__(__self__, *, + stages: pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]): + """ + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]] stages: The list of stages that compose this update run. Min size: 1. + """ + pulumi.set(__self__, "stages", stages) + + @property + @pulumi.getter + def stages(self) -> pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]: + """ + The list of stages that compose this update run. Min size: 1. + """ + return pulumi.get(self, "stages") + + @stages.setter + def stages(self, value: pulumi.Input[Sequence[pulumi.Input['UpdateStageArgs']]]): + pulumi.set(self, "stages", value) + + +@pulumi.input_type +class UpdateStageArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + after_stage_wait_in_seconds: Optional[pulumi.Input[int]] = None, + groups: Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]] = None): + """ + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + :param pulumi.Input[str] name: The name of the stage. Must be unique within the UpdateRun. + :param pulumi.Input[int] after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + :param pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + """ + pulumi.set(__self__, "name", name) + if after_stage_wait_in_seconds is not None: + pulumi.set(__self__, "after_stage_wait_in_seconds", after_stage_wait_in_seconds) + if groups is not None: + pulumi.set(__self__, "groups", groups) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the stage. Must be unique within the UpdateRun. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="afterStageWaitInSeconds") + def after_stage_wait_in_seconds(self) -> Optional[pulumi.Input[int]]: + """ + The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + """ + return pulumi.get(self, "after_stage_wait_in_seconds") + + @after_stage_wait_in_seconds.setter + def after_stage_wait_in_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "after_stage_wait_in_seconds", value) + + @property + @pulumi.getter + def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]]: + """ + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + """ + return pulumi.get(self, "groups") + + @groups.setter + def groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UpdateGroupArgs']]]]): + pulumi.set(self, "groups", value) + + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet.py new file mode 100644 index 000000000000..fc692dd0268e --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet.py @@ -0,0 +1,302 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['FleetArgs', 'Fleet'] + +@pulumi.input_type +class FleetArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + fleet_name: Optional[pulumi.Input[str]] = None, + hub_profile: Optional[pulumi.Input['FleetHubProfileArgs']] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Fleet resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input['FleetHubProfileArgs'] hub_profile: The FleetHubProfile configures the Fleet's hub. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Managed identity. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if fleet_name is not None: + pulumi.set(__self__, "fleet_name", fleet_name) + if hub_profile is not None: + pulumi.set(__self__, "hub_profile", hub_profile) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="fleetName") + def fleet_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Fleet resource. + """ + return pulumi.get(self, "fleet_name") + + @fleet_name.setter + def fleet_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fleet_name", value) + + @property + @pulumi.getter(name="hubProfile") + def hub_profile(self) -> Optional[pulumi.Input['FleetHubProfileArgs']]: + """ + The FleetHubProfile configures the Fleet's hub. + """ + return pulumi.get(self, "hub_profile") + + @hub_profile.setter + def hub_profile(self, value: Optional[pulumi.Input['FleetHubProfileArgs']]): + pulumi.set(self, "hub_profile", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Managed identity. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Fleet(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + hub_profile: Optional[pulumi.Input[pulumi.InputType['FleetHubProfileArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: 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): + """ + The Fleet resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[pulumi.InputType['FleetHubProfileArgs']] hub_profile: The FleetHubProfile configures the Fleet's hub. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Managed identity. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FleetArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The Fleet resource. + + :param str resource_name: The name of the resource. + :param FleetArgs 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(FleetArgs, 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, + fleet_name: Optional[pulumi.Input[str]] = None, + hub_profile: Optional[pulumi.Input[pulumi.InputType['FleetHubProfileArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: 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): + 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__ = FleetArgs.__new__(FleetArgs) + + __props__.__dict__["fleet_name"] = fleet_name + __props__.__dict__["hub_profile"] = hub_profile + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + 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 + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:Fleet"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:Fleet")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Fleet, __self__).__init__( + 'azure-native:containerservice/v20230815preview:Fleet', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Fleet': + """ + Get an existing Fleet 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FleetArgs.__new__(FleetArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["hub_profile"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Fleet(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="hubProfile") + def hub_profile(self) -> pulumi.Output[Optional['outputs.FleetHubProfileResponse']]: + """ + The FleetHubProfile configures the Fleet's hub. + """ + return pulumi.get(self, "hub_profile") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Managed identity. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The status of the last operation. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet_member.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet_member.py new file mode 100644 index 000000000000..39eb1b76d1dd --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet_member.py @@ -0,0 +1,264 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['FleetMemberArgs', 'FleetMember'] + +@pulumi.input_type +class FleetMemberArgs: + def __init__(__self__, *, + cluster_resource_id: pulumi.Input[str], + fleet_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + fleet_member_name: Optional[pulumi.Input[str]] = None, + group: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a FleetMember resource. + :param pulumi.Input[str] cluster_resource_id: The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] fleet_member_name: The name of the Fleet member resource. + :param pulumi.Input[str] group: The group this member belongs to for multi-cluster update management. + """ + pulumi.set(__self__, "cluster_resource_id", cluster_resource_id) + pulumi.set(__self__, "fleet_name", fleet_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if fleet_member_name is not None: + pulumi.set(__self__, "fleet_member_name", fleet_member_name) + if group is not None: + pulumi.set(__self__, "group", group) + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> pulumi.Input[str]: + """ + The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + """ + return pulumi.get(self, "cluster_resource_id") + + @cluster_resource_id.setter + def cluster_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_resource_id", value) + + @property + @pulumi.getter(name="fleetName") + def fleet_name(self) -> pulumi.Input[str]: + """ + The name of the Fleet resource. + """ + return pulumi.get(self, "fleet_name") + + @fleet_name.setter + def fleet_name(self, value: pulumi.Input[str]): + pulumi.set(self, "fleet_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="fleetMemberName") + def fleet_member_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Fleet member resource. + """ + return pulumi.get(self, "fleet_member_name") + + @fleet_member_name.setter + def fleet_member_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fleet_member_name", value) + + @property + @pulumi.getter + def group(self) -> Optional[pulumi.Input[str]]: + """ + The group this member belongs to for multi-cluster update management. + """ + return pulumi.get(self, "group") + + @group.setter + def group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group", value) + + +class FleetMember(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_resource_id: Optional[pulumi.Input[str]] = None, + fleet_member_name: Optional[pulumi.Input[str]] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + group: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_resource_id: The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + :param pulumi.Input[str] fleet_member_name: The name of the Fleet member resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[str] group: The group this member belongs to for multi-cluster update management. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FleetMemberArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. + + :param str resource_name: The name of the resource. + :param FleetMemberArgs 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(FleetMemberArgs, 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, + cluster_resource_id: Optional[pulumi.Input[str]] = None, + fleet_member_name: Optional[pulumi.Input[str]] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + group: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = FleetMemberArgs.__new__(FleetMemberArgs) + + if cluster_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'cluster_resource_id'") + __props__.__dict__["cluster_resource_id"] = cluster_resource_id + __props__.__dict__["fleet_member_name"] = fleet_member_name + if fleet_name is None and not opts.urn: + raise TypeError("Missing required property 'fleet_name'") + __props__.__dict__["fleet_name"] = fleet_name + __props__.__dict__["group"] = group + 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__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220602preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220702preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20220902preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:FleetMember"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:FleetMember")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(FleetMember, __self__).__init__( + 'azure-native:containerservice/v20230815preview:FleetMember', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'FleetMember': + """ + Get an existing FleetMember 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FleetMemberArgs.__new__(FleetMemberArgs) + + __props__.__dict__["cluster_resource_id"] = None + __props__.__dict__["e_tag"] = None + __props__.__dict__["group"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return FleetMember(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> pulumi.Output[str]: + """ + The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + """ + return pulumi.get(self, "cluster_resource_id") + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def group(self) -> pulumi.Output[Optional[str]]: + """ + The group this member belongs to for multi-cluster update management. + """ + return pulumi.get(self, "group") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The status of the last operation. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet_update_strategy.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet_update_strategy.py new file mode 100644 index 000000000000..6078dbfb2d70 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/fleet_update_strategy.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['FleetUpdateStrategyArgs', 'FleetUpdateStrategy'] + +@pulumi.input_type +class FleetUpdateStrategyArgs: + def __init__(__self__, *, + fleet_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + strategy: pulumi.Input['UpdateRunStrategyArgs'], + update_strategy_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a FleetUpdateStrategy resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['UpdateRunStrategyArgs'] strategy: Defines the update sequence of the clusters. + :param pulumi.Input[str] update_strategy_name: The name of the UpdateStrategy resource. + """ + pulumi.set(__self__, "fleet_name", fleet_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "strategy", strategy) + if update_strategy_name is not None: + pulumi.set(__self__, "update_strategy_name", update_strategy_name) + + @property + @pulumi.getter(name="fleetName") + def fleet_name(self) -> pulumi.Input[str]: + """ + The name of the Fleet resource. + """ + return pulumi.get(self, "fleet_name") + + @fleet_name.setter + def fleet_name(self, value: pulumi.Input[str]): + pulumi.set(self, "fleet_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 strategy(self) -> pulumi.Input['UpdateRunStrategyArgs']: + """ + Defines the update sequence of the clusters. + """ + return pulumi.get(self, "strategy") + + @strategy.setter + def strategy(self, value: pulumi.Input['UpdateRunStrategyArgs']): + pulumi.set(self, "strategy", value) + + @property + @pulumi.getter(name="updateStrategyName") + def update_strategy_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the UpdateStrategy resource. + """ + return pulumi.get(self, "update_strategy_name") + + @update_strategy_name.setter + def update_strategy_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_strategy_name", value) + + +class FleetUpdateStrategy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + strategy: Optional[pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']]] = None, + update_strategy_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Defines a multi-stage process to perform update operations across members of a Fleet. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']] strategy: Defines the update sequence of the clusters. + :param pulumi.Input[str] update_strategy_name: The name of the UpdateStrategy resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FleetUpdateStrategyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines a multi-stage process to perform update operations across members of a Fleet. + + :param str resource_name: The name of the resource. + :param FleetUpdateStrategyArgs 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(FleetUpdateStrategyArgs, 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, + fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + strategy: Optional[pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']]] = None, + update_strategy_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = FleetUpdateStrategyArgs.__new__(FleetUpdateStrategyArgs) + + if fleet_name is None and not opts.urn: + raise TypeError("Missing required property 'fleet_name'") + __props__.__dict__["fleet_name"] = fleet_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if strategy is None and not opts.urn: + raise TypeError("Missing required property 'strategy'") + __props__.__dict__["strategy"] = strategy + __props__.__dict__["update_strategy_name"] = update_strategy_name + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:FleetUpdateStrategy")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(FleetUpdateStrategy, __self__).__init__( + 'azure-native:containerservice/v20230815preview:FleetUpdateStrategy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'FleetUpdateStrategy': + """ + Get an existing FleetUpdateStrategy 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FleetUpdateStrategyArgs.__new__(FleetUpdateStrategyArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["strategy"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return FleetUpdateStrategy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the UpdateStrategy resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def strategy(self) -> pulumi.Output['outputs.UpdateRunStrategyResponse']: + """ + Defines the update sequence of the clusters. + """ + return pulumi.get(self, "strategy") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet.py new file mode 100644 index 000000000000..a17b3b063b66 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet.py @@ -0,0 +1,196 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetFleetResult', + 'AwaitableGetFleetResult', + 'get_fleet', + 'get_fleet_output', +] + +@pulumi.output_type +class GetFleetResult: + """ + The Fleet resource. + """ + def __init__(__self__, e_tag=None, hub_profile=None, id=None, identity=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, type=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if hub_profile and not isinstance(hub_profile, dict): + raise TypeError("Expected argument 'hub_profile' to be a dict") + pulumi.set(__self__, "hub_profile", hub_profile) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="hubProfile") + def hub_profile(self) -> Optional['outputs.FleetHubProfileResponse']: + """ + The FleetHubProfile configures the Fleet's hub. + """ + return pulumi.get(self, "hub_profile") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Managed identity. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The status of the last operation. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetFleetResult(GetFleetResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFleetResult( + e_tag=self.e_tag, + hub_profile=self.hub_profile, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_fleet(fleet_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetResult: + """ + Gets a Fleet. + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['fleetName'] = fleet_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230815preview:getFleet', __args__, opts=opts, typ=GetFleetResult).value + + return AwaitableGetFleetResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + hub_profile=pulumi.get(__ret__, 'hub_profile'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_fleet) +def get_fleet_output(fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResult]: + """ + Gets a Fleet. + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet_member.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet_member.py new file mode 100644 index 000000000000..75b946289e97 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet_member.py @@ -0,0 +1,175 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetFleetMemberResult', + 'AwaitableGetFleetMemberResult', + 'get_fleet_member', + 'get_fleet_member_output', +] + +@pulumi.output_type +class GetFleetMemberResult: + """ + A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. + """ + def __init__(__self__, cluster_resource_id=None, e_tag=None, group=None, id=None, name=None, provisioning_state=None, system_data=None, type=None): + if cluster_resource_id and not isinstance(cluster_resource_id, str): + raise TypeError("Expected argument 'cluster_resource_id' to be a str") + pulumi.set(__self__, "cluster_resource_id", cluster_resource_id) + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if group and not isinstance(group, str): + raise TypeError("Expected argument 'group' to be a str") + pulumi.set(__self__, "group", group) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> str: + """ + The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. + """ + return pulumi.get(self, "cluster_resource_id") + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def group(self) -> Optional[str]: + """ + The group this member belongs to for multi-cluster update management. + """ + return pulumi.get(self, "group") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The status of the last operation. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetFleetMemberResult(GetFleetMemberResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFleetMemberResult( + cluster_resource_id=self.cluster_resource_id, + e_tag=self.e_tag, + group=self.group, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_fleet_member(fleet_member_name: Optional[str] = None, + fleet_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetMemberResult: + """ + Get a FleetMember + + + :param str fleet_member_name: The name of the Fleet member resource. + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['fleetMemberName'] = fleet_member_name + __args__['fleetName'] = fleet_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230815preview:getFleetMember', __args__, opts=opts, typ=GetFleetMemberResult).value + + return AwaitableGetFleetMemberResult( + cluster_resource_id=pulumi.get(__ret__, 'cluster_resource_id'), + e_tag=pulumi.get(__ret__, 'e_tag'), + group=pulumi.get(__ret__, 'group'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_fleet_member) +def get_fleet_member_output(fleet_member_name: Optional[pulumi.Input[str]] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetMemberResult]: + """ + Get a FleetMember + + + :param str fleet_member_name: The name of the Fleet member resource. + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet_update_strategy.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet_update_strategy.py new file mode 100644 index 000000000000..0babfce9207e --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_fleet_update_strategy.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetFleetUpdateStrategyResult', + 'AwaitableGetFleetUpdateStrategyResult', + 'get_fleet_update_strategy', + 'get_fleet_update_strategy_output', +] + +@pulumi.output_type +class GetFleetUpdateStrategyResult: + """ + Defines a multi-stage process to perform update operations across members of a Fleet. + """ + def __init__(__self__, e_tag=None, id=None, name=None, provisioning_state=None, strategy=None, system_data=None, type=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if strategy and not isinstance(strategy, dict): + raise TypeError("Expected argument 'strategy' to be a dict") + pulumi.set(__self__, "strategy", strategy) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the UpdateStrategy resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def strategy(self) -> 'outputs.UpdateRunStrategyResponse': + """ + Defines the update sequence of the clusters. + """ + return pulumi.get(self, "strategy") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetFleetUpdateStrategyResult(GetFleetUpdateStrategyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFleetUpdateStrategyResult( + e_tag=self.e_tag, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + strategy=self.strategy, + system_data=self.system_data, + type=self.type) + + +def get_fleet_update_strategy(fleet_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + update_strategy_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetUpdateStrategyResult: + """ + Get a FleetUpdateStrategy + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str update_strategy_name: The name of the UpdateStrategy resource. + """ + __args__ = dict() + __args__['fleetName'] = fleet_name + __args__['resourceGroupName'] = resource_group_name + __args__['updateStrategyName'] = update_strategy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230815preview:getFleetUpdateStrategy', __args__, opts=opts, typ=GetFleetUpdateStrategyResult).value + + return AwaitableGetFleetUpdateStrategyResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + strategy=pulumi.get(__ret__, 'strategy'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_fleet_update_strategy) +def get_fleet_update_strategy_output(fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + update_strategy_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetUpdateStrategyResult]: + """ + Get a FleetUpdateStrategy + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str update_strategy_name: The name of the UpdateStrategy resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_update_run.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_update_run.py new file mode 100644 index 000000000000..66eb9565f2cd --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/get_update_run.py @@ -0,0 +1,214 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetUpdateRunResult', + 'AwaitableGetUpdateRunResult', + 'get_update_run', + 'get_update_run_output', +] + +@pulumi.output_type +class GetUpdateRunResult: + """ + A multi-stage process to perform update operations across members of a Fleet. + """ + def __init__(__self__, e_tag=None, id=None, managed_cluster_update=None, name=None, provisioning_state=None, status=None, strategy=None, system_data=None, type=None, update_strategy_id=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if managed_cluster_update and not isinstance(managed_cluster_update, dict): + raise TypeError("Expected argument 'managed_cluster_update' to be a dict") + pulumi.set(__self__, "managed_cluster_update", managed_cluster_update) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if strategy and not isinstance(strategy, dict): + raise TypeError("Expected argument 'strategy' to be a dict") + pulumi.set(__self__, "strategy", strategy) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if update_strategy_id and not isinstance(update_strategy_id, str): + raise TypeError("Expected argument 'update_strategy_id' to be a str") + pulumi.set(__self__, "update_strategy_id", update_strategy_id) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="managedClusterUpdate") + def managed_cluster_update(self) -> 'outputs.ManagedClusterUpdateResponse': + """ + The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + """ + return pulumi.get(self, "managed_cluster_update") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the UpdateRun resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> 'outputs.UpdateRunStatusResponse': + """ + The status of the UpdateRun. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def strategy(self) -> Optional['outputs.UpdateRunStrategyResponse']: + """ + The strategy defines the order in which the clusters will be updated. + If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + The strategy of the UpdateRun can be modified until the run is started. + """ + return pulumi.get(self, "strategy") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updateStrategyId") + def update_strategy_id(self) -> Optional[str]: + """ + The resource id of the FleetUpdateStrategy resource to reference. + + When creating a new run, there are three ways to define a strategy for the run: + 1. Define a new strategy in place: Set the "strategy" field. + 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + + Setting both "updateStrategyId" and "strategy" is invalid. + + UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + """ + return pulumi.get(self, "update_strategy_id") + + +class AwaitableGetUpdateRunResult(GetUpdateRunResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetUpdateRunResult( + e_tag=self.e_tag, + id=self.id, + managed_cluster_update=self.managed_cluster_update, + name=self.name, + provisioning_state=self.provisioning_state, + status=self.status, + strategy=self.strategy, + system_data=self.system_data, + type=self.type, + update_strategy_id=self.update_strategy_id) + + +def get_update_run(fleet_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + update_run_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUpdateRunResult: + """ + Get a UpdateRun + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str update_run_name: The name of the UpdateRun resource. + """ + __args__ = dict() + __args__['fleetName'] = fleet_name + __args__['resourceGroupName'] = resource_group_name + __args__['updateRunName'] = update_run_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230815preview:getUpdateRun', __args__, opts=opts, typ=GetUpdateRunResult).value + + return AwaitableGetUpdateRunResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + id=pulumi.get(__ret__, 'id'), + managed_cluster_update=pulumi.get(__ret__, 'managed_cluster_update'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + strategy=pulumi.get(__ret__, 'strategy'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + update_strategy_id=pulumi.get(__ret__, 'update_strategy_id')) + + +@_utilities.lift_output_func(get_update_run) +def get_update_run_output(fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + update_run_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUpdateRunResult]: + """ + Get a UpdateRun + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str update_run_name: The name of the UpdateRun resource. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/list_fleet_credentials.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/list_fleet_credentials.py new file mode 100644 index 000000000000..38f47a7e6bd0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/list_fleet_credentials.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListFleetCredentialsResult', + 'AwaitableListFleetCredentialsResult', + 'list_fleet_credentials', + 'list_fleet_credentials_output', +] + +@pulumi.output_type +class ListFleetCredentialsResult: + """ + The Credential results response. + """ + def __init__(__self__, kubeconfigs=None): + if kubeconfigs and not isinstance(kubeconfigs, list): + raise TypeError("Expected argument 'kubeconfigs' to be a list") + pulumi.set(__self__, "kubeconfigs", kubeconfigs) + + @property + @pulumi.getter + def kubeconfigs(self) -> Sequence['outputs.FleetCredentialResultResponse']: + """ + Array of base64-encoded Kubernetes configuration files. + """ + return pulumi.get(self, "kubeconfigs") + + +class AwaitableListFleetCredentialsResult(ListFleetCredentialsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListFleetCredentialsResult( + kubeconfigs=self.kubeconfigs) + + +def list_fleet_credentials(fleet_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListFleetCredentialsResult: + """ + Lists the user credentials of a Fleet. + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['fleetName'] = fleet_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20230815preview:listFleetCredentials', __args__, opts=opts, typ=ListFleetCredentialsResult).value + + return AwaitableListFleetCredentialsResult( + kubeconfigs=pulumi.get(__ret__, 'kubeconfigs')) + + +@_utilities.lift_output_func(list_fleet_credentials) +def list_fleet_credentials_output(fleet_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListFleetCredentialsResult]: + """ + Lists the user credentials of a Fleet. + + + :param str fleet_name: The name of the Fleet resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/outputs.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/outputs.py new file mode 100644 index 000000000000..030679887570 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/outputs.py @@ -0,0 +1,1350 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'APIServerAccessProfileResponse', + 'AgentProfileResponse', + 'ErrorAdditionalInfoResponse', + 'ErrorDetailResponse', + 'FleetCredentialResultResponse', + 'FleetHubProfileResponse', + 'ManagedClusterUpdateResponse', + 'ManagedClusterUpgradeSpecResponse', + 'ManagedServiceIdentityResponse', + 'MemberUpdateStatusResponse', + 'NodeImageSelectionResponse', + 'NodeImageSelectionStatusResponse', + 'NodeImageVersionResponse', + 'SystemDataResponse', + 'UpdateGroupResponse', + 'UpdateGroupStatusResponse', + 'UpdateRunStatusResponse', + 'UpdateRunStrategyResponse', + 'UpdateStageResponse', + 'UpdateStageStatusResponse', + 'UpdateStatusResponse', + 'UserAssignedIdentityResponse', + 'WaitStatusResponse', +] + +@pulumi.output_type +class APIServerAccessProfileResponse(dict): + """ + Access profile for the Fleet hub API server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "enablePrivateCluster": + suggest = "enable_private_cluster" + elif key == "enableVnetIntegration": + suggest = "enable_vnet_integration" + elif key == "subnetId": + suggest = "subnet_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in APIServerAccessProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + APIServerAccessProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + APIServerAccessProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enable_private_cluster: Optional[bool] = None, + enable_vnet_integration: Optional[bool] = None, + subnet_id: Optional[str] = None): + """ + Access profile for the Fleet hub API server. + :param bool enable_private_cluster: Whether to create the Fleet hub as a private cluster or not. + :param bool enable_vnet_integration: Whether to enable apiserver vnet integration for the Fleet hub or not. + :param str subnet_id: The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + """ + if enable_private_cluster is not None: + pulumi.set(__self__, "enable_private_cluster", enable_private_cluster) + if enable_vnet_integration is not None: + pulumi.set(__self__, "enable_vnet_integration", enable_vnet_integration) + if subnet_id is not None: + pulumi.set(__self__, "subnet_id", subnet_id) + + @property + @pulumi.getter(name="enablePrivateCluster") + def enable_private_cluster(self) -> Optional[bool]: + """ + Whether to create the Fleet hub as a private cluster or not. + """ + return pulumi.get(self, "enable_private_cluster") + + @property + @pulumi.getter(name="enableVnetIntegration") + def enable_vnet_integration(self) -> Optional[bool]: + """ + Whether to enable apiserver vnet integration for the Fleet hub or not. + """ + return pulumi.get(self, "enable_vnet_integration") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[str]: + """ + The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new Fleet with BYO vnet. + """ + return pulumi.get(self, "subnet_id") + + +@pulumi.output_type +class AgentProfileResponse(dict): + """ + Agent profile for the Fleet hub. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "subnetId": + suggest = "subnet_id" + elif key == "vmSize": + suggest = "vm_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AgentProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AgentProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AgentProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + subnet_id: Optional[str] = None, + vm_size: Optional[str] = None): + """ + Agent profile for the Fleet hub. + :param str subnet_id: The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + :param str vm_size: The virtual machine size of the Fleet hub. + """ + if subnet_id is not None: + pulumi.set(__self__, "subnet_id", subnet_id) + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[str]: + """ + The ID of the subnet which the Fleet hub node will join on startup. If this is not specified, a vnet and subnet will be generated and used. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[str]: + """ + The virtual machine size of the Fleet hub. + """ + return pulumi.get(self, "vm_size") + + +@pulumi.output_type +class ErrorAdditionalInfoResponse(dict): + """ + The resource management error additional info. + """ + def __init__(__self__, *, + info: Any, + type: str): + """ + The resource management error additional info. + :param Any info: The additional info. + :param str type: The additional info type. + """ + pulumi.set(__self__, "info", info) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def info(self) -> Any: + """ + The additional info. + """ + return pulumi.get(self, "info") + + @property + @pulumi.getter + def type(self) -> str: + """ + The additional info type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class ErrorDetailResponse(dict): + """ + The error detail. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalInfo": + suggest = "additional_info" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ErrorDetailResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ErrorDetailResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ErrorDetailResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_info: Sequence['outputs.ErrorAdditionalInfoResponse'], + code: str, + details: Sequence['outputs.ErrorDetailResponse'], + message: str, + target: str): + """ + The error detail. + :param Sequence['ErrorAdditionalInfoResponse'] additional_info: The error additional info. + :param str code: The error code. + :param Sequence['ErrorDetailResponse'] details: The error details. + :param str message: The error message. + :param str target: The error target. + """ + pulumi.set(__self__, "additional_info", additional_info) + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "details", details) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Sequence['outputs.ErrorAdditionalInfoResponse']: + """ + The error additional info. + """ + return pulumi.get(self, "additional_info") + + @property + @pulumi.getter + def code(self) -> str: + """ + The error code. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def details(self) -> Sequence['outputs.ErrorDetailResponse']: + """ + The error details. + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def message(self) -> str: + """ + The error message. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def target(self) -> str: + """ + The error target. + """ + return pulumi.get(self, "target") + + +@pulumi.output_type +class FleetCredentialResultResponse(dict): + """ + One credential result item. + """ + def __init__(__self__, *, + name: str, + value: str): + """ + One credential result item. + :param str name: The name of the credential. + :param str value: Base64-encoded Kubernetes configuration file. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the credential. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + Base64-encoded Kubernetes configuration file. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class FleetHubProfileResponse(dict): + """ + The FleetHubProfile configures the fleet hub. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "kubernetesVersion": + suggest = "kubernetes_version" + elif key == "portalFqdn": + suggest = "portal_fqdn" + elif key == "agentProfile": + suggest = "agent_profile" + elif key == "apiServerAccessProfile": + suggest = "api_server_access_profile" + elif key == "dnsPrefix": + suggest = "dns_prefix" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FleetHubProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FleetHubProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FleetHubProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + fqdn: str, + kubernetes_version: str, + portal_fqdn: str, + agent_profile: Optional['outputs.AgentProfileResponse'] = None, + api_server_access_profile: Optional['outputs.APIServerAccessProfileResponse'] = None, + dns_prefix: Optional[str] = None): + """ + The FleetHubProfile configures the fleet hub. + :param str fqdn: The FQDN of the Fleet hub. + :param str kubernetes_version: The Kubernetes version of the Fleet hub. + :param str portal_fqdn: The Azure Portal FQDN of the Fleet hub. + :param 'AgentProfileResponse' agent_profile: The agent profile for the Fleet hub. + :param 'APIServerAccessProfileResponse' api_server_access_profile: The access profile for the Fleet hub API server. + :param str dns_prefix: DNS prefix used to create the FQDN for the Fleet hub. + """ + pulumi.set(__self__, "fqdn", fqdn) + pulumi.set(__self__, "kubernetes_version", kubernetes_version) + pulumi.set(__self__, "portal_fqdn", portal_fqdn) + if agent_profile is not None: + pulumi.set(__self__, "agent_profile", agent_profile) + if api_server_access_profile is not None: + pulumi.set(__self__, "api_server_access_profile", api_server_access_profile) + if dns_prefix is not None: + pulumi.set(__self__, "dns_prefix", dns_prefix) + + @property + @pulumi.getter + def fqdn(self) -> str: + """ + The FQDN of the Fleet hub. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> str: + """ + The Kubernetes version of the Fleet hub. + """ + return pulumi.get(self, "kubernetes_version") + + @property + @pulumi.getter(name="portalFqdn") + def portal_fqdn(self) -> str: + """ + The Azure Portal FQDN of the Fleet hub. + """ + return pulumi.get(self, "portal_fqdn") + + @property + @pulumi.getter(name="agentProfile") + def agent_profile(self) -> Optional['outputs.AgentProfileResponse']: + """ + The agent profile for the Fleet hub. + """ + return pulumi.get(self, "agent_profile") + + @property + @pulumi.getter(name="apiServerAccessProfile") + def api_server_access_profile(self) -> Optional['outputs.APIServerAccessProfileResponse']: + """ + The access profile for the Fleet hub API server. + """ + return pulumi.get(self, "api_server_access_profile") + + @property + @pulumi.getter(name="dnsPrefix") + def dns_prefix(self) -> Optional[str]: + """ + DNS prefix used to create the FQDN for the Fleet hub. + """ + return pulumi.get(self, "dns_prefix") + + +@pulumi.output_type +class ManagedClusterUpdateResponse(dict): + """ + The update to be applied to the ManagedClusters. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "nodeImageSelection": + suggest = "node_image_selection" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterUpdateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterUpdateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterUpdateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + upgrade: 'outputs.ManagedClusterUpgradeSpecResponse', + node_image_selection: Optional['outputs.NodeImageSelectionResponse'] = None): + """ + The update to be applied to the ManagedClusters. + :param 'ManagedClusterUpgradeSpecResponse' upgrade: The upgrade to apply to the ManagedClusters. + :param 'NodeImageSelectionResponse' node_image_selection: The node image upgrade to be applied to the target nodes in update run. + """ + pulumi.set(__self__, "upgrade", upgrade) + if node_image_selection is not None: + pulumi.set(__self__, "node_image_selection", node_image_selection) + + @property + @pulumi.getter + def upgrade(self) -> 'outputs.ManagedClusterUpgradeSpecResponse': + """ + The upgrade to apply to the ManagedClusters. + """ + return pulumi.get(self, "upgrade") + + @property + @pulumi.getter(name="nodeImageSelection") + def node_image_selection(self) -> Optional['outputs.NodeImageSelectionResponse']: + """ + The node image upgrade to be applied to the target nodes in update run. + """ + return pulumi.get(self, "node_image_selection") + + +@pulumi.output_type +class ManagedClusterUpgradeSpecResponse(dict): + """ + The upgrade to apply to a ManagedCluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "kubernetesVersion": + suggest = "kubernetes_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedClusterUpgradeSpecResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedClusterUpgradeSpecResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedClusterUpgradeSpecResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + kubernetes_version: Optional[str] = None): + """ + The upgrade to apply to a ManagedCluster. + :param str type: The upgrade type. + Full requires the KubernetesVersion property to be set. + NodeImageOnly requires the KubernetesVersion property not to be set. + :param str kubernetes_version: The Kubernetes version to upgrade the member clusters to. + """ + pulumi.set(__self__, "type", type) + if kubernetes_version is not None: + pulumi.set(__self__, "kubernetes_version", kubernetes_version) + + @property + @pulumi.getter + def type(self) -> str: + """ + The upgrade type. + Full requires the KubernetesVersion property to be set. + NodeImageOnly requires the KubernetesVersion property not to be set. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="kubernetesVersion") + def kubernetes_version(self) -> Optional[str]: + """ + The Kubernetes version to upgrade the member clusters to. + """ + return pulumi.get(self, "kubernetes_version") + + +@pulumi.output_type +class ManagedServiceIdentityResponse(dict): + """ + Managed service identity (system assigned and/or user assigned identities) + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param str principal_id: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str tenant_id: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param Mapping[str, 'UserAssignedIdentityResponse'] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class MemberUpdateStatusResponse(dict): + """ + The status of a member update operation. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clusterResourceId": + suggest = "cluster_resource_id" + elif key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MemberUpdateStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MemberUpdateStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MemberUpdateStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cluster_resource_id: str, + message: str, + name: str, + operation_id: str, + status: 'outputs.UpdateStatusResponse'): + """ + The status of a member update operation. + :param str cluster_resource_id: The Azure resource id of the target Kubernetes cluster. + :param str message: The status message after processing the member update operation. + :param str name: The name of the FleetMember. + :param str operation_id: The operation resource id of the latest attempt to perform the operation. + :param 'UpdateStatusResponse' status: The status of the MemberUpdate operation. + """ + pulumi.set(__self__, "cluster_resource_id", cluster_resource_id) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "operation_id", operation_id) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> str: + """ + The Azure resource id of the target Kubernetes cluster. + """ + return pulumi.get(self, "cluster_resource_id") + + @property + @pulumi.getter + def message(self) -> str: + """ + The status message after processing the member update operation. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the FleetMember. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> str: + """ + The operation resource id of the latest attempt to perform the operation. + """ + return pulumi.get(self, "operation_id") + + @property + @pulumi.getter + def status(self) -> 'outputs.UpdateStatusResponse': + """ + The status of the MemberUpdate operation. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class NodeImageSelectionResponse(dict): + """ + The node image upgrade to be applied to the target nodes in update run. + """ + def __init__(__self__, *, + type: str): + """ + The node image upgrade to be applied to the target nodes in update run. + :param str type: The node image upgrade type. + """ + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> str: + """ + The node image upgrade type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class NodeImageSelectionStatusResponse(dict): + """ + The node image upgrade specs for the update run. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "selectedNodeImageVersions": + suggest = "selected_node_image_versions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NodeImageSelectionStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NodeImageSelectionStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NodeImageSelectionStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + selected_node_image_versions: Sequence['outputs.NodeImageVersionResponse']): + """ + The node image upgrade specs for the update run. + :param Sequence['NodeImageVersionResponse'] selected_node_image_versions: The image versions to upgrade the nodes to. + """ + pulumi.set(__self__, "selected_node_image_versions", selected_node_image_versions) + + @property + @pulumi.getter(name="selectedNodeImageVersions") + def selected_node_image_versions(self) -> Sequence['outputs.NodeImageVersionResponse']: + """ + The image versions to upgrade the nodes to. + """ + return pulumi.get(self, "selected_node_image_versions") + + +@pulumi.output_type +class NodeImageVersionResponse(dict): + """ + The node upgrade image version. + """ + def __init__(__self__, *, + version: str): + """ + The node upgrade image version. + :param str version: The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13'). + """ + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def version(self) -> str: + """ + The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13'). + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UpdateGroupResponse(dict): + """ + A group to be updated. + """ + def __init__(__self__, *, + name: str): + """ + A group to be updated. + :param str name: Name of the group. + It must match a group name of an existing fleet member. + """ + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the group. + It must match a group name of an existing fleet member. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class UpdateGroupStatusResponse(dict): + """ + The status of a UpdateGroup. + """ + def __init__(__self__, *, + members: Sequence['outputs.MemberUpdateStatusResponse'], + name: str, + status: 'outputs.UpdateStatusResponse'): + """ + The status of a UpdateGroup. + :param Sequence['MemberUpdateStatusResponse'] members: The list of member this UpdateGroup updates. + :param str name: The name of the UpdateGroup. + :param 'UpdateStatusResponse' status: The status of the UpdateGroup. + """ + pulumi.set(__self__, "members", members) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def members(self) -> Sequence['outputs.MemberUpdateStatusResponse']: + """ + The list of member this UpdateGroup updates. + """ + return pulumi.get(self, "members") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the UpdateGroup. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> 'outputs.UpdateStatusResponse': + """ + The status of the UpdateGroup. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class UpdateRunStatusResponse(dict): + """ + The status of a UpdateRun. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "nodeImageSelection": + suggest = "node_image_selection" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UpdateRunStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UpdateRunStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UpdateRunStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + node_image_selection: 'outputs.NodeImageSelectionStatusResponse', + stages: Sequence['outputs.UpdateStageStatusResponse'], + status: 'outputs.UpdateStatusResponse'): + """ + The status of a UpdateRun. + :param 'NodeImageSelectionStatusResponse' node_image_selection: The node image upgrade specs for the update run. It is only set in update run when `NodeImageSelection.type` is `Consistent`. + :param Sequence['UpdateStageStatusResponse'] stages: The stages composing an update run. Stages are run sequentially withing an UpdateRun. + :param 'UpdateStatusResponse' status: The status of the UpdateRun. + """ + pulumi.set(__self__, "node_image_selection", node_image_selection) + pulumi.set(__self__, "stages", stages) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="nodeImageSelection") + def node_image_selection(self) -> 'outputs.NodeImageSelectionStatusResponse': + """ + The node image upgrade specs for the update run. It is only set in update run when `NodeImageSelection.type` is `Consistent`. + """ + return pulumi.get(self, "node_image_selection") + + @property + @pulumi.getter + def stages(self) -> Sequence['outputs.UpdateStageStatusResponse']: + """ + The stages composing an update run. Stages are run sequentially withing an UpdateRun. + """ + return pulumi.get(self, "stages") + + @property + @pulumi.getter + def status(self) -> 'outputs.UpdateStatusResponse': + """ + The status of the UpdateRun. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class UpdateRunStrategyResponse(dict): + """ + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + """ + def __init__(__self__, *, + stages: Sequence['outputs.UpdateStageResponse']): + """ + Defines the update sequence of the clusters via stages and groups. + + Stages within a run are executed sequentially one after another. + Groups within a stage are executed in parallel. + Member clusters within a group are updated sequentially one after another. + + A valid strategy contains no duplicate groups within or across stages. + :param Sequence['UpdateStageResponse'] stages: The list of stages that compose this update run. Min size: 1. + """ + pulumi.set(__self__, "stages", stages) + + @property + @pulumi.getter + def stages(self) -> Sequence['outputs.UpdateStageResponse']: + """ + The list of stages that compose this update run. Min size: 1. + """ + return pulumi.get(self, "stages") + + +@pulumi.output_type +class UpdateStageResponse(dict): + """ + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "afterStageWaitInSeconds": + suggest = "after_stage_wait_in_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UpdateStageResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UpdateStageResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UpdateStageResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + after_stage_wait_in_seconds: Optional[int] = None, + groups: Optional[Sequence['outputs.UpdateGroupResponse']] = None): + """ + Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage. + :param str name: The name of the stage. Must be unique within the UpdateRun. + :param int after_stage_wait_in_seconds: The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + :param Sequence['UpdateGroupResponse'] groups: Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + """ + pulumi.set(__self__, "name", name) + if after_stage_wait_in_seconds is not None: + pulumi.set(__self__, "after_stage_wait_in_seconds", after_stage_wait_in_seconds) + if groups is not None: + pulumi.set(__self__, "groups", groups) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the stage. Must be unique within the UpdateRun. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="afterStageWaitInSeconds") + def after_stage_wait_in_seconds(self) -> Optional[int]: + """ + The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. + """ + return pulumi.get(self, "after_stage_wait_in_seconds") + + @property + @pulumi.getter + def groups(self) -> Optional[Sequence['outputs.UpdateGroupResponse']]: + """ + Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. + """ + return pulumi.get(self, "groups") + + +@pulumi.output_type +class UpdateStageStatusResponse(dict): + """ + The status of a UpdateStage. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "afterStageWaitStatus": + suggest = "after_stage_wait_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UpdateStageStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UpdateStageStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UpdateStageStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + after_stage_wait_status: 'outputs.WaitStatusResponse', + groups: Sequence['outputs.UpdateGroupStatusResponse'], + name: str, + status: 'outputs.UpdateStatusResponse'): + """ + The status of a UpdateStage. + :param 'WaitStatusResponse' after_stage_wait_status: The status of the wait period configured on the UpdateStage. + :param Sequence['UpdateGroupStatusResponse'] groups: The list of groups to be updated as part of this UpdateStage. + :param str name: The name of the UpdateStage. + :param 'UpdateStatusResponse' status: The status of the UpdateStage. + """ + pulumi.set(__self__, "after_stage_wait_status", after_stage_wait_status) + pulumi.set(__self__, "groups", groups) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="afterStageWaitStatus") + def after_stage_wait_status(self) -> 'outputs.WaitStatusResponse': + """ + The status of the wait period configured on the UpdateStage. + """ + return pulumi.get(self, "after_stage_wait_status") + + @property + @pulumi.getter + def groups(self) -> Sequence['outputs.UpdateGroupStatusResponse']: + """ + The list of groups to be updated as part of this UpdateStage. + """ + return pulumi.get(self, "groups") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the UpdateStage. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> 'outputs.UpdateStatusResponse': + """ + The status of the UpdateStage. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class UpdateStatusResponse(dict): + """ + The status for an operation or group of operations. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "completedTime": + suggest = "completed_time" + elif key == "startTime": + suggest = "start_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UpdateStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UpdateStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UpdateStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + completed_time: str, + error: 'outputs.ErrorDetailResponse', + start_time: str, + state: str): + """ + The status for an operation or group of operations. + :param str completed_time: The time the operation or group was completed. + :param 'ErrorDetailResponse' error: The error details when a failure is encountered. + :param str start_time: The time the operation or group was started. + :param str state: The State of the operation or group. + """ + pulumi.set(__self__, "completed_time", completed_time) + pulumi.set(__self__, "error", error) + pulumi.set(__self__, "start_time", start_time) + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="completedTime") + def completed_time(self) -> str: + """ + The time the operation or group was completed. + """ + return pulumi.get(self, "completed_time") + + @property + @pulumi.getter + def error(self) -> 'outputs.ErrorDetailResponse': + """ + The error details when a failure is encountered. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> str: + """ + The time the operation or group was started. + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter + def state(self) -> str: + """ + The State of the operation or group. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + User assigned identity properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + User assigned identity properties + :param str client_id: The client ID of the assigned identity. + :param str principal_id: The principal ID of the assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class WaitStatusResponse(dict): + """ + The status of the wait duration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "waitDurationInSeconds": + suggest = "wait_duration_in_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WaitStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WaitStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WaitStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: 'outputs.UpdateStatusResponse', + wait_duration_in_seconds: int): + """ + The status of the wait duration. + :param 'UpdateStatusResponse' status: The status of the wait duration. + :param int wait_duration_in_seconds: The wait duration configured in seconds. + """ + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "wait_duration_in_seconds", wait_duration_in_seconds) + + @property + @pulumi.getter + def status(self) -> 'outputs.UpdateStatusResponse': + """ + The status of the wait duration. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="waitDurationInSeconds") + def wait_duration_in_seconds(self) -> int: + """ + The wait duration configured in seconds. + """ + return pulumi.get(self, "wait_duration_in_seconds") + + diff --git a/sdk/python/pulumi_azure_native/containerservice/v20230815preview/update_run.py b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/update_run.py new file mode 100644 index 000000000000..6134623349f6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/containerservice/v20230815preview/update_run.py @@ -0,0 +1,357 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['UpdateRunArgs', 'UpdateRun'] + +@pulumi.input_type +class UpdateRunArgs: + def __init__(__self__, *, + fleet_name: pulumi.Input[str], + managed_cluster_update: pulumi.Input['ManagedClusterUpdateArgs'], + resource_group_name: pulumi.Input[str], + strategy: Optional[pulumi.Input['UpdateRunStrategyArgs']] = None, + update_run_name: Optional[pulumi.Input[str]] = None, + update_strategy_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a UpdateRun resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input['ManagedClusterUpdateArgs'] managed_cluster_update: The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['UpdateRunStrategyArgs'] strategy: The strategy defines the order in which the clusters will be updated. + If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + The strategy of the UpdateRun can be modified until the run is started. + :param pulumi.Input[str] update_run_name: The name of the UpdateRun resource. + :param pulumi.Input[str] update_strategy_id: The resource id of the FleetUpdateStrategy resource to reference. + + When creating a new run, there are three ways to define a strategy for the run: + 1. Define a new strategy in place: Set the "strategy" field. + 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + + Setting both "updateStrategyId" and "strategy" is invalid. + + UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + """ + pulumi.set(__self__, "fleet_name", fleet_name) + pulumi.set(__self__, "managed_cluster_update", managed_cluster_update) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if strategy is not None: + pulumi.set(__self__, "strategy", strategy) + if update_run_name is not None: + pulumi.set(__self__, "update_run_name", update_run_name) + if update_strategy_id is not None: + pulumi.set(__self__, "update_strategy_id", update_strategy_id) + + @property + @pulumi.getter(name="fleetName") + def fleet_name(self) -> pulumi.Input[str]: + """ + The name of the Fleet resource. + """ + return pulumi.get(self, "fleet_name") + + @fleet_name.setter + def fleet_name(self, value: pulumi.Input[str]): + pulumi.set(self, "fleet_name", value) + + @property + @pulumi.getter(name="managedClusterUpdate") + def managed_cluster_update(self) -> pulumi.Input['ManagedClusterUpdateArgs']: + """ + The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + """ + return pulumi.get(self, "managed_cluster_update") + + @managed_cluster_update.setter + def managed_cluster_update(self, value: pulumi.Input['ManagedClusterUpdateArgs']): + pulumi.set(self, "managed_cluster_update", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 strategy(self) -> Optional[pulumi.Input['UpdateRunStrategyArgs']]: + """ + The strategy defines the order in which the clusters will be updated. + If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + The strategy of the UpdateRun can be modified until the run is started. + """ + return pulumi.get(self, "strategy") + + @strategy.setter + def strategy(self, value: Optional[pulumi.Input['UpdateRunStrategyArgs']]): + pulumi.set(self, "strategy", value) + + @property + @pulumi.getter(name="updateRunName") + def update_run_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the UpdateRun resource. + """ + return pulumi.get(self, "update_run_name") + + @update_run_name.setter + def update_run_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_run_name", value) + + @property + @pulumi.getter(name="updateStrategyId") + def update_strategy_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource id of the FleetUpdateStrategy resource to reference. + + When creating a new run, there are three ways to define a strategy for the run: + 1. Define a new strategy in place: Set the "strategy" field. + 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + + Setting both "updateStrategyId" and "strategy" is invalid. + + UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + """ + return pulumi.get(self, "update_strategy_id") + + @update_strategy_id.setter + def update_strategy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_strategy_id", value) + + +class UpdateRun(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + fleet_name: Optional[pulumi.Input[str]] = None, + managed_cluster_update: Optional[pulumi.Input[pulumi.InputType['ManagedClusterUpdateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + strategy: Optional[pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']]] = None, + update_run_name: Optional[pulumi.Input[str]] = None, + update_strategy_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A multi-stage process to perform update operations across members of a Fleet. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] fleet_name: The name of the Fleet resource. + :param pulumi.Input[pulumi.InputType['ManagedClusterUpdateArgs']] managed_cluster_update: The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']] strategy: The strategy defines the order in which the clusters will be updated. + If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + The strategy of the UpdateRun can be modified until the run is started. + :param pulumi.Input[str] update_run_name: The name of the UpdateRun resource. + :param pulumi.Input[str] update_strategy_id: The resource id of the FleetUpdateStrategy resource to reference. + + When creating a new run, there are three ways to define a strategy for the run: + 1. Define a new strategy in place: Set the "strategy" field. + 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + + Setting both "updateStrategyId" and "strategy" is invalid. + + UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: UpdateRunArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A multi-stage process to perform update operations across members of a Fleet. + + :param str resource_name: The name of the resource. + :param UpdateRunArgs 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(UpdateRunArgs, 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, + fleet_name: Optional[pulumi.Input[str]] = None, + managed_cluster_update: Optional[pulumi.Input[pulumi.InputType['ManagedClusterUpdateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + strategy: Optional[pulumi.Input[pulumi.InputType['UpdateRunStrategyArgs']]] = None, + update_run_name: Optional[pulumi.Input[str]] = None, + update_strategy_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__ = UpdateRunArgs.__new__(UpdateRunArgs) + + if fleet_name is None and not opts.urn: + raise TypeError("Missing required property 'fleet_name'") + __props__.__dict__["fleet_name"] = fleet_name + if managed_cluster_update is None and not opts.urn: + raise TypeError("Missing required property 'managed_cluster_update'") + __props__.__dict__["managed_cluster_update"] = managed_cluster_update + 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__["strategy"] = strategy + __props__.__dict__["update_run_name"] = update_run_name + __props__.__dict__["update_strategy_id"] = update_strategy_id + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:containerservice:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230315preview:UpdateRun"), pulumi.Alias(type_="azure-native:containerservice/v20230615preview:UpdateRun")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(UpdateRun, __self__).__init__( + 'azure-native:containerservice/v20230815preview:UpdateRun', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'UpdateRun': + """ + Get an existing UpdateRun 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = UpdateRunArgs.__new__(UpdateRunArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["managed_cluster_update"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["strategy"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["update_strategy_id"] = None + return UpdateRun(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="managedClusterUpdate") + def managed_cluster_update(self) -> pulumi.Output['outputs.ManagedClusterUpdateResponse']: + """ + The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. + """ + return pulumi.get(self, "managed_cluster_update") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the UpdateRun resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.UpdateRunStatusResponse']: + """ + The status of the UpdateRun. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def strategy(self) -> pulumi.Output[Optional['outputs.UpdateRunStrategyResponse']]: + """ + The strategy defines the order in which the clusters will be updated. + If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. + The strategy of the UpdateRun can be modified until the run is started. + """ + return pulumi.get(self, "strategy") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updateStrategyId") + def update_strategy_id(self) -> pulumi.Output[Optional[str]]: + """ + The resource id of the FleetUpdateStrategy resource to reference. + + When creating a new run, there are three ways to define a strategy for the run: + 1. Define a new strategy in place: Set the "strategy" field. + 2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview) + 3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) + + Setting both "updateStrategyId" and "strategy" is invalid. + + UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. + Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. + UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun. + """ + return pulumi.get(self, "update_strategy_id") + diff --git a/sdk/python/pulumi_azure_native/dataprotection/__init__.py b/sdk/python/pulumi_azure_native/dataprotection/__init__.py index 74fd0cc826b1..a0d2ee14c149 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/__init__.py +++ b/sdk/python/pulumi_azure_native/dataprotection/__init__.py @@ -29,9 +29,12 @@ v20230401preview = __v20230401preview import pulumi_azure_native.dataprotection.v20230501 as __v20230501 v20230501 = __v20230501 + import pulumi_azure_native.dataprotection.v20230601preview as __v20230601preview + v20230601preview = __v20230601preview else: v20221101preview = _utilities.lazy_import('pulumi_azure_native.dataprotection.v20221101preview') v20230101 = _utilities.lazy_import('pulumi_azure_native.dataprotection.v20230101') v20230401preview = _utilities.lazy_import('pulumi_azure_native.dataprotection.v20230401preview') v20230501 = _utilities.lazy_import('pulumi_azure_native.dataprotection.v20230501') + v20230601preview = _utilities.lazy_import('pulumi_azure_native.dataprotection.v20230601preview') diff --git a/sdk/python/pulumi_azure_native/dataprotection/backup_instance.py b/sdk/python/pulumi_azure_native/dataprotection/backup_instance.py index 145bc0caa5ab..56a4429b8330 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/backup_instance.py +++ b/sdk/python/pulumi_azure_native/dataprotection/backup_instance.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupInstance, __self__).__init__( 'azure-native:dataprotection:BackupInstance', diff --git a/sdk/python/pulumi_azure_native/dataprotection/backup_policy.py b/sdk/python/pulumi_azure_native/dataprotection/backup_policy.py index 8c023884b18f..cbb793fa3636 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/backup_policy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/backup_policy.py @@ -154,7 +154,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupPolicy, __self__).__init__( 'azure-native:dataprotection:BackupPolicy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/backup_vault.py b/sdk/python/pulumi_azure_native/dataprotection/backup_vault.py index 1cd15102a462..5351d226074e 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/backup_vault.py +++ b/sdk/python/pulumi_azure_native/dataprotection/backup_vault.py @@ -214,7 +214,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupVault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupVault, __self__).__init__( 'azure-native:dataprotection:BackupVault', diff --git a/sdk/python/pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py b/sdk/python/pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py index e89d882b5f78..af3f50af20b2 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:DppResourceGuardProxy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DppResourceGuardProxy, __self__).__init__( 'azure-native:dataprotection:DppResourceGuardProxy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/resource_guard.py index 050e7e2b15ee..6a3e46d5f016 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/resource_guard.py +++ b/sdk/python/pulumi_azure_native/dataprotection/resource_guard.py @@ -190,7 +190,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:ResourceGuard")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourceGuard, __self__).__init__( 'azure-native:dataprotection:ResourceGuard', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py index 14b4103e7477..ce7d722d7a1c 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py @@ -208,7 +208,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:ResourceGuard")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourceGuard, __self__).__init__( 'azure-native:dataprotection/v20221101preview:ResourceGuard', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_instance.py b/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_instance.py index 456bf8d53b1b..4d958aed7e05 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_instance.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_instance.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupInstance, __self__).__init__( 'azure-native:dataprotection/v20230101:BackupInstance', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_policy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_policy.py index 704fe169f1e2..1ec66748920a 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_policy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_policy.py @@ -152,7 +152,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupPolicy, __self__).__init__( 'azure-native:dataprotection/v20230101:BackupPolicy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_vault.py b/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_vault.py index 8ae0346314fc..d02ec2bda812 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_vault.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230101/backup_vault.py @@ -212,7 +212,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupVault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupVault, __self__).__init__( 'azure-native:dataprotection/v20230101:BackupVault', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py index 9bac1227f955..cff9382666e6 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:DppResourceGuardProxy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DppResourceGuardProxy, __self__).__init__( 'azure-native:dataprotection/v20230101:DppResourceGuardProxy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230101/resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/v20230101/resource_guard.py index 968191cf724b..dffce7f74958 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230101/resource_guard.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230101/resource_guard.py @@ -188,7 +188,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:ResourceGuard")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourceGuard, __self__).__init__( 'azure-native:dataprotection/v20230101:ResourceGuard', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py index 8e32a6fd6e11..e0d7205a4b3a 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupInstance, __self__).__init__( 'azure-native:dataprotection/v20230401preview:BackupInstance', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py index 5e62a235dbf2..adb3f485d89b 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py @@ -152,7 +152,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupPolicy, __self__).__init__( 'azure-native:dataprotection/v20230401preview:BackupPolicy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py index 680d64b68085..bfd9116db036 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py @@ -212,7 +212,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupVault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupVault, __self__).__init__( 'azure-native:dataprotection/v20230401preview:BackupVault', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py index 07c9122b6fb3..48d465195276 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:DppResourceGuardProxy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DppResourceGuardProxy, __self__).__init__( 'azure-native:dataprotection/v20230401preview:DppResourceGuardProxy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py index abef81f16304..e7897fb2ba10 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py @@ -188,7 +188,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:ResourceGuard")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourceGuard, __self__).__init__( 'azure-native:dataprotection/v20230401preview:ResourceGuard', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_instance.py b/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_instance.py index fc4f5b99282b..ad985c33cf5b 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_instance.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_instance.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupInstance, __self__).__init__( 'azure-native:dataprotection/v20230501:BackupInstance', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_policy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_policy.py index 8c1f74e2373c..4a874a02252a 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_policy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_policy.py @@ -152,7 +152,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupPolicy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupPolicy, __self__).__init__( 'azure-native:dataprotection/v20230501:BackupPolicy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_vault.py b/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_vault.py index 3b535e605e6e..18154e429306 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_vault.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230501/backup_vault.py @@ -212,7 +212,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupVault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BackupVault, __self__).__init__( 'azure-native:dataprotection/v20230501:BackupVault', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py index 0bfcb9e51a1a..7311cac0b7bf 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:DppResourceGuardProxy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DppResourceGuardProxy, __self__).__init__( 'azure-native:dataprotection/v20230501:DppResourceGuardProxy', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230501/resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/v20230501/resource_guard.py index 6d8ed45c5aad..47a5af2d7e25 100644 --- a/sdk/python/pulumi_azure_native/dataprotection/v20230501/resource_guard.py +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230501/resource_guard.py @@ -188,7 +188,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:ResourceGuard")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ResourceGuard, __self__).__init__( 'azure-native:dataprotection/v20230501:ResourceGuard', diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/__init__.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/__init__.py new file mode 100644 index 000000000000..8c176f50fbd6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .backup_instance import * +from .backup_policy import * +from .backup_vault import * +from .dpp_resource_guard_proxy import * +from .get_backup_instance import * +from .get_backup_policy import * +from .get_backup_vault import * +from .get_dpp_resource_guard_proxy import * +from .get_resource_guard import * +from .resource_guard import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/_enums.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/_enums.py new file mode 100644 index 000000000000..affd8e40f6c3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/_enums.py @@ -0,0 +1,200 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AbsoluteMarker', + 'AlertsState', + 'CrossRegionRestoreState', + 'CrossSubscriptionRestoreState', + 'DataStoreTypes', + 'DayOfWeek', + 'EncryptionState', + 'IdentityType', + 'ImmutabilityState', + 'InfrastructureEncryptionState', + 'Month', + 'ResourcePropertiesObjectType', + 'SecretStoreType', + 'SoftDeleteState', + 'StorageSettingStoreTypes', + 'StorageSettingTypes', + 'ValidationType', + 'WeekNumber', +] + + +class AbsoluteMarker(str, Enum): + ALL_BACKUP = "AllBackup" + FIRST_OF_DAY = "FirstOfDay" + FIRST_OF_MONTH = "FirstOfMonth" + FIRST_OF_WEEK = "FirstOfWeek" + FIRST_OF_YEAR = "FirstOfYear" + + +class AlertsState(str, Enum): + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class CrossRegionRestoreState(str, Enum): + """ + CrossRegionRestore state + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class CrossSubscriptionRestoreState(str, Enum): + """ + CrossSubscriptionRestore state + """ + DISABLED = "Disabled" + PERMANENTLY_DISABLED = "PermanentlyDisabled" + ENABLED = "Enabled" + + +class DataStoreTypes(str, Enum): + """ + type of datastore; Operational/Vault/Archive + """ + OPERATIONAL_STORE = "OperationalStore" + VAULT_STORE = "VaultStore" + ARCHIVE_STORE = "ArchiveStore" + + +class DayOfWeek(str, Enum): + FRIDAY = "Friday" + MONDAY = "Monday" + SATURDAY = "Saturday" + SUNDAY = "Sunday" + THURSDAY = "Thursday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + + +class EncryptionState(str, Enum): + """ + Encryption state of the Backup Vault. + """ + ENABLED = "Enabled" + """ + CMK encryption is enabled on the Backup Vault + """ + DISABLED = "Disabled" + """ + CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'. + """ + INCONSISTENT = "Inconsistent" + """ + CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state. + """ + + +class IdentityType(str, Enum): + """ + The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + + +class ImmutabilityState(str, Enum): + """ + Immutability state + """ + DISABLED = "Disabled" + UNLOCKED = "Unlocked" + LOCKED = "Locked" + + +class InfrastructureEncryptionState(str, Enum): + """ + Enabling/Disabling the Double Encryption state + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class Month(str, Enum): + APRIL = "April" + AUGUST = "August" + DECEMBER = "December" + FEBRUARY = "February" + JANUARY = "January" + JULY = "July" + JUNE = "June" + MARCH = "March" + MAY = "May" + NOVEMBER = "November" + OCTOBER = "October" + SEPTEMBER = "September" + + +class ResourcePropertiesObjectType(str, Enum): + """ + Type of the specific object - used for deserializing + """ + DEFAULT_RESOURCE_PROPERTIES = "DefaultResourceProperties" + + +class SecretStoreType(str, Enum): + """ + Gets or sets the type of secret store + """ + INVALID = "Invalid" + AZURE_KEY_VAULT = "AzureKeyVault" + + +class SoftDeleteState(str, Enum): + """ + State of soft delete + """ + OFF = "Off" + """ + Soft Delete is turned off for the BackupVault + """ + ON = "On" + """ + Soft Delete is enabled for the BackupVault but can be turned off + """ + ALWAYS_ON = "AlwaysOn" + """ + Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed + """ + + +class StorageSettingStoreTypes(str, Enum): + """ + Gets or sets the type of the datastore. + """ + ARCHIVE_STORE = "ArchiveStore" + OPERATIONAL_STORE = "OperationalStore" + VAULT_STORE = "VaultStore" + + +class StorageSettingTypes(str, Enum): + """ + Gets or sets the type. + """ + GEO_REDUNDANT = "GeoRedundant" + LOCALLY_REDUNDANT = "LocallyRedundant" + ZONE_REDUNDANT = "ZoneRedundant" + + +class ValidationType(str, Enum): + """ + Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + """ + SHALLOW_VALIDATION = "ShallowValidation" + DEEP_VALIDATION = "DeepValidation" + + +class WeekNumber(str, Enum): + FIRST = "First" + FOURTH = "Fourth" + LAST = "Last" + SECOND = "Second" + THIRD = "Third" diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/_inputs.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/_inputs.py new file mode 100644 index 000000000000..4d3b14d8e6b9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/_inputs.py @@ -0,0 +1,2538 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AbsoluteDeleteOptionArgs', + 'AdhocBasedTaggingCriteriaArgs', + 'AdhocBasedTriggerContextArgs', + 'AzureBackupParamsArgs', + 'AzureBackupRuleArgs', + 'AzureMonitorAlertSettingsArgs', + 'AzureOperationalStoreParametersArgs', + 'AzureRetentionRuleArgs', + 'BackupInstanceArgs', + 'BackupPolicyArgs', + 'BackupScheduleArgs', + 'BackupVaultArgs', + 'BlobBackupDatasourceParametersArgs', + 'CmkKekIdentityArgs', + 'CmkKeyVaultPropertiesArgs', + 'CopyOnExpiryOptionArgs', + 'CrossRegionRestoreSettingsArgs', + 'CrossSubscriptionRestoreSettingsArgs', + 'CustomCopyOptionArgs', + 'DataStoreInfoBaseArgs', + 'DatasourceSetArgs', + 'DatasourceArgs', + 'DayArgs', + 'DefaultResourcePropertiesArgs', + 'DppIdentityDetailsArgs', + 'EncryptionSettingsArgs', + 'FeatureSettingsArgs', + 'IdentityDetailsArgs', + 'ImmediateCopyOptionArgs', + 'ImmutabilitySettingsArgs', + 'KubernetesClusterBackupDatasourceParametersArgs', + 'MonitoringSettingsArgs', + 'NamespacedNameResourceArgs', + 'PolicyInfoArgs', + 'PolicyParametersArgs', + 'ResourceGuardOperationDetailArgs', + 'ResourceGuardProxyBaseArgs', + 'ResourceGuardArgs', + 'RetentionTagArgs', + 'ScheduleBasedBackupCriteriaArgs', + 'ScheduleBasedTriggerContextArgs', + 'SecretStoreBasedAuthCredentialsArgs', + 'SecretStoreResourceArgs', + 'SecuritySettingsArgs', + 'SoftDeleteSettingsArgs', + 'SourceLifeCycleArgs', + 'StorageSettingArgs', + 'TaggingCriteriaArgs', + 'TargetCopySettingArgs', +] + +@pulumi.input_type +class AbsoluteDeleteOptionArgs: + def __init__(__self__, *, + duration: pulumi.Input[str], + object_type: pulumi.Input[str]): + """ + Delete option with duration + :param pulumi.Input[str] duration: Duration of deletion after given timespan + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'AbsoluteDeleteOption'. + """ + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "object_type", 'AbsoluteDeleteOption') + + @property + @pulumi.getter + def duration(self) -> pulumi.Input[str]: + """ + Duration of deletion after given timespan + """ + return pulumi.get(self, "duration") + + @duration.setter + def duration(self, value: pulumi.Input[str]): + pulumi.set(self, "duration", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'AbsoluteDeleteOption'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class AdhocBasedTaggingCriteriaArgs: + def __init__(__self__, *, + tag_info: Optional[pulumi.Input['RetentionTagArgs']] = None): + """ + Adhoc backup tagging criteria + :param pulumi.Input['RetentionTagArgs'] tag_info: Retention tag information + """ + if tag_info is not None: + pulumi.set(__self__, "tag_info", tag_info) + + @property + @pulumi.getter(name="tagInfo") + def tag_info(self) -> Optional[pulumi.Input['RetentionTagArgs']]: + """ + Retention tag information + """ + return pulumi.get(self, "tag_info") + + @tag_info.setter + def tag_info(self, value: Optional[pulumi.Input['RetentionTagArgs']]): + pulumi.set(self, "tag_info", value) + + +@pulumi.input_type +class AdhocBasedTriggerContextArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str], + tagging_criteria: pulumi.Input['AdhocBasedTaggingCriteriaArgs']): + """ + Adhoc trigger context + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'AdhocBasedTriggerContext'. + :param pulumi.Input['AdhocBasedTaggingCriteriaArgs'] tagging_criteria: Tagging Criteria containing retention tag for adhoc backup. + """ + pulumi.set(__self__, "object_type", 'AdhocBasedTriggerContext') + pulumi.set(__self__, "tagging_criteria", tagging_criteria) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'AdhocBasedTriggerContext'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="taggingCriteria") + def tagging_criteria(self) -> pulumi.Input['AdhocBasedTaggingCriteriaArgs']: + """ + Tagging Criteria containing retention tag for adhoc backup. + """ + return pulumi.get(self, "tagging_criteria") + + @tagging_criteria.setter + def tagging_criteria(self, value: pulumi.Input['AdhocBasedTaggingCriteriaArgs']): + pulumi.set(self, "tagging_criteria", value) + + +@pulumi.input_type +class AzureBackupParamsArgs: + def __init__(__self__, *, + backup_type: pulumi.Input[str], + object_type: pulumi.Input[str]): + """ + Azure backup parameters + :param pulumi.Input[str] backup_type: BackupType ; Full/Incremental etc + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'AzureBackupParams'. + """ + pulumi.set(__self__, "backup_type", backup_type) + pulumi.set(__self__, "object_type", 'AzureBackupParams') + + @property + @pulumi.getter(name="backupType") + def backup_type(self) -> pulumi.Input[str]: + """ + BackupType ; Full/Incremental etc + """ + return pulumi.get(self, "backup_type") + + @backup_type.setter + def backup_type(self, value: pulumi.Input[str]): + pulumi.set(self, "backup_type", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'AzureBackupParams'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class AzureBackupRuleArgs: + def __init__(__self__, *, + data_store: pulumi.Input['DataStoreInfoBaseArgs'], + name: pulumi.Input[str], + object_type: pulumi.Input[str], + trigger: pulumi.Input[Union['AdhocBasedTriggerContextArgs', 'ScheduleBasedTriggerContextArgs']], + backup_parameters: Optional[pulumi.Input['AzureBackupParamsArgs']] = None): + """ + Azure backup rule + :param pulumi.Input['DataStoreInfoBaseArgs'] data_store: DataStoreInfo base + :param pulumi.Input[str] object_type: + Expected value is 'AzureBackupRule'. + :param pulumi.Input[Union['AdhocBasedTriggerContextArgs', 'ScheduleBasedTriggerContextArgs']] trigger: Trigger context + :param pulumi.Input['AzureBackupParamsArgs'] backup_parameters: BackupParameters base + """ + pulumi.set(__self__, "data_store", data_store) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "object_type", 'AzureBackupRule') + pulumi.set(__self__, "trigger", trigger) + if backup_parameters is not None: + pulumi.set(__self__, "backup_parameters", backup_parameters) + + @property + @pulumi.getter(name="dataStore") + def data_store(self) -> pulumi.Input['DataStoreInfoBaseArgs']: + """ + DataStoreInfo base + """ + return pulumi.get(self, "data_store") + + @data_store.setter + def data_store(self, value: pulumi.Input['DataStoreInfoBaseArgs']): + pulumi.set(self, "data_store", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'AzureBackupRule'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter + def trigger(self) -> pulumi.Input[Union['AdhocBasedTriggerContextArgs', 'ScheduleBasedTriggerContextArgs']]: + """ + Trigger context + """ + return pulumi.get(self, "trigger") + + @trigger.setter + def trigger(self, value: pulumi.Input[Union['AdhocBasedTriggerContextArgs', 'ScheduleBasedTriggerContextArgs']]): + pulumi.set(self, "trigger", value) + + @property + @pulumi.getter(name="backupParameters") + def backup_parameters(self) -> Optional[pulumi.Input['AzureBackupParamsArgs']]: + """ + BackupParameters base + """ + return pulumi.get(self, "backup_parameters") + + @backup_parameters.setter + def backup_parameters(self, value: Optional[pulumi.Input['AzureBackupParamsArgs']]): + pulumi.set(self, "backup_parameters", value) + + +@pulumi.input_type +class AzureMonitorAlertSettingsArgs: + def __init__(__self__, *, + alerts_for_all_job_failures: Optional[pulumi.Input[Union[str, 'AlertsState']]] = None): + """ + Settings for Azure Monitor based alerts + """ + if alerts_for_all_job_failures is not None: + pulumi.set(__self__, "alerts_for_all_job_failures", alerts_for_all_job_failures) + + @property + @pulumi.getter(name="alertsForAllJobFailures") + def alerts_for_all_job_failures(self) -> Optional[pulumi.Input[Union[str, 'AlertsState']]]: + return pulumi.get(self, "alerts_for_all_job_failures") + + @alerts_for_all_job_failures.setter + def alerts_for_all_job_failures(self, value: Optional[pulumi.Input[Union[str, 'AlertsState']]]): + pulumi.set(self, "alerts_for_all_job_failures", value) + + +@pulumi.input_type +class AzureOperationalStoreParametersArgs: + def __init__(__self__, *, + data_store_type: pulumi.Input[Union[str, 'DataStoreTypes']], + object_type: pulumi.Input[str], + resource_group_id: Optional[pulumi.Input[str]] = None): + """ + Parameters for Operational-Tier DataStore + :param pulumi.Input[Union[str, 'DataStoreTypes']] data_store_type: type of datastore; Operational/Vault/Archive + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'AzureOperationalStoreParameters'. + :param pulumi.Input[str] resource_group_id: Gets or sets the Snapshot Resource Group Uri. + """ + pulumi.set(__self__, "data_store_type", data_store_type) + pulumi.set(__self__, "object_type", 'AzureOperationalStoreParameters') + if resource_group_id is not None: + pulumi.set(__self__, "resource_group_id", resource_group_id) + + @property + @pulumi.getter(name="dataStoreType") + def data_store_type(self) -> pulumi.Input[Union[str, 'DataStoreTypes']]: + """ + type of datastore; Operational/Vault/Archive + """ + return pulumi.get(self, "data_store_type") + + @data_store_type.setter + def data_store_type(self, value: pulumi.Input[Union[str, 'DataStoreTypes']]): + pulumi.set(self, "data_store_type", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'AzureOperationalStoreParameters'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="resourceGroupId") + def resource_group_id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the Snapshot Resource Group Uri. + """ + return pulumi.get(self, "resource_group_id") + + @resource_group_id.setter + def resource_group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group_id", value) + + +@pulumi.input_type +class AzureRetentionRuleArgs: + def __init__(__self__, *, + lifecycles: pulumi.Input[Sequence[pulumi.Input['SourceLifeCycleArgs']]], + name: pulumi.Input[str], + object_type: pulumi.Input[str], + is_default: Optional[pulumi.Input[bool]] = None): + """ + Azure retention rule + :param pulumi.Input[str] object_type: + Expected value is 'AzureRetentionRule'. + """ + pulumi.set(__self__, "lifecycles", lifecycles) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "object_type", 'AzureRetentionRule') + if is_default is not None: + pulumi.set(__self__, "is_default", is_default) + + @property + @pulumi.getter + def lifecycles(self) -> pulumi.Input[Sequence[pulumi.Input['SourceLifeCycleArgs']]]: + return pulumi.get(self, "lifecycles") + + @lifecycles.setter + def lifecycles(self, value: pulumi.Input[Sequence[pulumi.Input['SourceLifeCycleArgs']]]): + pulumi.set(self, "lifecycles", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'AzureRetentionRule'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_default") + + @is_default.setter + def is_default(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_default", value) + + +@pulumi.input_type +class BackupInstanceArgs: + def __init__(__self__, *, + data_source_info: pulumi.Input['DatasourceArgs'], + object_type: pulumi.Input[str], + policy_info: pulumi.Input['PolicyInfoArgs'], + data_source_set_info: Optional[pulumi.Input['DatasourceSetArgs']] = None, + datasource_auth_credentials: Optional[pulumi.Input['SecretStoreBasedAuthCredentialsArgs']] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + identity_details: Optional[pulumi.Input['IdentityDetailsArgs']] = None, + validation_type: Optional[pulumi.Input[Union[str, 'ValidationType']]] = None): + """ + Backup Instance + :param pulumi.Input['DatasourceArgs'] data_source_info: Gets or sets the data source information. + :param pulumi.Input['PolicyInfoArgs'] policy_info: Gets or sets the policy information. + :param pulumi.Input['DatasourceSetArgs'] data_source_set_info: Gets or sets the data source set information. + :param pulumi.Input['SecretStoreBasedAuthCredentialsArgs'] datasource_auth_credentials: Credentials to use to authenticate with data source provider. + :param pulumi.Input[str] friendly_name: Gets or sets the Backup Instance friendly name. + :param pulumi.Input['IdentityDetailsArgs'] identity_details: Contains information of the Identity Details for the BI. + If it is null, default will be considered as System Assigned. + :param pulumi.Input[Union[str, 'ValidationType']] validation_type: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + """ + pulumi.set(__self__, "data_source_info", data_source_info) + pulumi.set(__self__, "object_type", object_type) + pulumi.set(__self__, "policy_info", policy_info) + if data_source_set_info is not None: + pulumi.set(__self__, "data_source_set_info", data_source_set_info) + if datasource_auth_credentials is not None: + pulumi.set(__self__, "datasource_auth_credentials", datasource_auth_credentials) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if identity_details is not None: + pulumi.set(__self__, "identity_details", identity_details) + if validation_type is not None: + pulumi.set(__self__, "validation_type", validation_type) + + @property + @pulumi.getter(name="dataSourceInfo") + def data_source_info(self) -> pulumi.Input['DatasourceArgs']: + """ + Gets or sets the data source information. + """ + return pulumi.get(self, "data_source_info") + + @data_source_info.setter + def data_source_info(self, value: pulumi.Input['DatasourceArgs']): + pulumi.set(self, "data_source_info", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="policyInfo") + def policy_info(self) -> pulumi.Input['PolicyInfoArgs']: + """ + Gets or sets the policy information. + """ + return pulumi.get(self, "policy_info") + + @policy_info.setter + def policy_info(self, value: pulumi.Input['PolicyInfoArgs']): + pulumi.set(self, "policy_info", value) + + @property + @pulumi.getter(name="dataSourceSetInfo") + def data_source_set_info(self) -> Optional[pulumi.Input['DatasourceSetArgs']]: + """ + Gets or sets the data source set information. + """ + return pulumi.get(self, "data_source_set_info") + + @data_source_set_info.setter + def data_source_set_info(self, value: Optional[pulumi.Input['DatasourceSetArgs']]): + pulumi.set(self, "data_source_set_info", value) + + @property + @pulumi.getter(name="datasourceAuthCredentials") + def datasource_auth_credentials(self) -> Optional[pulumi.Input['SecretStoreBasedAuthCredentialsArgs']]: + """ + Credentials to use to authenticate with data source provider. + """ + return pulumi.get(self, "datasource_auth_credentials") + + @datasource_auth_credentials.setter + def datasource_auth_credentials(self, value: Optional[pulumi.Input['SecretStoreBasedAuthCredentialsArgs']]): + pulumi.set(self, "datasource_auth_credentials", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the Backup Instance friendly name. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter(name="identityDetails") + def identity_details(self) -> Optional[pulumi.Input['IdentityDetailsArgs']]: + """ + Contains information of the Identity Details for the BI. + If it is null, default will be considered as System Assigned. + """ + return pulumi.get(self, "identity_details") + + @identity_details.setter + def identity_details(self, value: Optional[pulumi.Input['IdentityDetailsArgs']]): + pulumi.set(self, "identity_details", value) + + @property + @pulumi.getter(name="validationType") + def validation_type(self) -> Optional[pulumi.Input[Union[str, 'ValidationType']]]: + """ + Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + """ + return pulumi.get(self, "validation_type") + + @validation_type.setter + def validation_type(self, value: Optional[pulumi.Input[Union[str, 'ValidationType']]]): + pulumi.set(self, "validation_type", value) + + +@pulumi.input_type +class BackupPolicyArgs: + def __init__(__self__, *, + datasource_types: pulumi.Input[Sequence[pulumi.Input[str]]], + object_type: pulumi.Input[str], + policy_rules: pulumi.Input[Sequence[pulumi.Input[Union['AzureBackupRuleArgs', 'AzureRetentionRuleArgs']]]]): + """ + Rule based backup policy + :param pulumi.Input[Sequence[pulumi.Input[str]]] datasource_types: Type of datasource for the backup management + :param pulumi.Input[str] object_type: + Expected value is 'BackupPolicy'. + :param pulumi.Input[Sequence[pulumi.Input[Union['AzureBackupRuleArgs', 'AzureRetentionRuleArgs']]]] policy_rules: Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + """ + pulumi.set(__self__, "datasource_types", datasource_types) + pulumi.set(__self__, "object_type", 'BackupPolicy') + pulumi.set(__self__, "policy_rules", policy_rules) + + @property + @pulumi.getter(name="datasourceTypes") + def datasource_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Type of datasource for the backup management + """ + return pulumi.get(self, "datasource_types") + + @datasource_types.setter + def datasource_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "datasource_types", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'BackupPolicy'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="policyRules") + def policy_rules(self) -> pulumi.Input[Sequence[pulumi.Input[Union['AzureBackupRuleArgs', 'AzureRetentionRuleArgs']]]]: + """ + Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + """ + return pulumi.get(self, "policy_rules") + + @policy_rules.setter + def policy_rules(self, value: pulumi.Input[Sequence[pulumi.Input[Union['AzureBackupRuleArgs', 'AzureRetentionRuleArgs']]]]): + pulumi.set(self, "policy_rules", value) + + +@pulumi.input_type +class BackupScheduleArgs: + def __init__(__self__, *, + repeating_time_intervals: pulumi.Input[Sequence[pulumi.Input[str]]], + time_zone: Optional[pulumi.Input[str]] = None): + """ + Schedule for backup + :param pulumi.Input[Sequence[pulumi.Input[str]]] repeating_time_intervals: ISO 8601 repeating time interval format + :param pulumi.Input[str] time_zone: Time zone for a schedule. Example: Pacific Standard Time + """ + pulumi.set(__self__, "repeating_time_intervals", repeating_time_intervals) + if time_zone is not None: + pulumi.set(__self__, "time_zone", time_zone) + + @property + @pulumi.getter(name="repeatingTimeIntervals") + def repeating_time_intervals(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + ISO 8601 repeating time interval format + """ + return pulumi.get(self, "repeating_time_intervals") + + @repeating_time_intervals.setter + def repeating_time_intervals(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "repeating_time_intervals", value) + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> Optional[pulumi.Input[str]]: + """ + Time zone for a schedule. Example: Pacific Standard Time + """ + return pulumi.get(self, "time_zone") + + @time_zone.setter + def time_zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_zone", value) + + +@pulumi.input_type +class BackupVaultArgs: + def __init__(__self__, *, + storage_settings: pulumi.Input[Sequence[pulumi.Input['StorageSettingArgs']]], + feature_settings: Optional[pulumi.Input['FeatureSettingsArgs']] = None, + monitoring_settings: Optional[pulumi.Input['MonitoringSettingsArgs']] = None, + security_settings: Optional[pulumi.Input['SecuritySettingsArgs']] = None): + """ + Backup Vault + :param pulumi.Input[Sequence[pulumi.Input['StorageSettingArgs']]] storage_settings: Storage Settings + :param pulumi.Input['FeatureSettingsArgs'] feature_settings: Feature Settings + :param pulumi.Input['MonitoringSettingsArgs'] monitoring_settings: Monitoring Settings + :param pulumi.Input['SecuritySettingsArgs'] security_settings: Security Settings + """ + pulumi.set(__self__, "storage_settings", storage_settings) + if feature_settings is not None: + pulumi.set(__self__, "feature_settings", feature_settings) + if monitoring_settings is not None: + pulumi.set(__self__, "monitoring_settings", monitoring_settings) + if security_settings is not None: + pulumi.set(__self__, "security_settings", security_settings) + + @property + @pulumi.getter(name="storageSettings") + def storage_settings(self) -> pulumi.Input[Sequence[pulumi.Input['StorageSettingArgs']]]: + """ + Storage Settings + """ + return pulumi.get(self, "storage_settings") + + @storage_settings.setter + def storage_settings(self, value: pulumi.Input[Sequence[pulumi.Input['StorageSettingArgs']]]): + pulumi.set(self, "storage_settings", value) + + @property + @pulumi.getter(name="featureSettings") + def feature_settings(self) -> Optional[pulumi.Input['FeatureSettingsArgs']]: + """ + Feature Settings + """ + return pulumi.get(self, "feature_settings") + + @feature_settings.setter + def feature_settings(self, value: Optional[pulumi.Input['FeatureSettingsArgs']]): + pulumi.set(self, "feature_settings", value) + + @property + @pulumi.getter(name="monitoringSettings") + def monitoring_settings(self) -> Optional[pulumi.Input['MonitoringSettingsArgs']]: + """ + Monitoring Settings + """ + return pulumi.get(self, "monitoring_settings") + + @monitoring_settings.setter + def monitoring_settings(self, value: Optional[pulumi.Input['MonitoringSettingsArgs']]): + pulumi.set(self, "monitoring_settings", value) + + @property + @pulumi.getter(name="securitySettings") + def security_settings(self) -> Optional[pulumi.Input['SecuritySettingsArgs']]: + """ + Security Settings + """ + return pulumi.get(self, "security_settings") + + @security_settings.setter + def security_settings(self, value: Optional[pulumi.Input['SecuritySettingsArgs']]): + pulumi.set(self, "security_settings", value) + + +@pulumi.input_type +class BlobBackupDatasourceParametersArgs: + def __init__(__self__, *, + containers_list: pulumi.Input[Sequence[pulumi.Input[str]]], + object_type: pulumi.Input[str]): + """ + Parameters to be used during configuration of backup of blobs + :param pulumi.Input[Sequence[pulumi.Input[str]]] containers_list: List of containers to be backed up during configuration of backup of blobs + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'BlobBackupDatasourceParameters'. + """ + pulumi.set(__self__, "containers_list", containers_list) + pulumi.set(__self__, "object_type", 'BlobBackupDatasourceParameters') + + @property + @pulumi.getter(name="containersList") + def containers_list(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of containers to be backed up during configuration of backup of blobs + """ + return pulumi.get(self, "containers_list") + + @containers_list.setter + def containers_list(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "containers_list", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'BlobBackupDatasourceParameters'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class CmkKekIdentityArgs: + def __init__(__self__, *, + identity_id: Optional[pulumi.Input[str]] = None, + identity_type: Optional[pulumi.Input[Union[str, 'IdentityType']]] = None): + """ + The details of the managed identity used for CMK + :param pulumi.Input[str] identity_id: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + :param pulumi.Input[Union[str, 'IdentityType']] identity_type: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + """ + if identity_id is not None: + pulumi.set(__self__, "identity_id", identity_id) + if identity_type is not None: + pulumi.set(__self__, "identity_type", identity_type) + + @property + @pulumi.getter(name="identityId") + def identity_id(self) -> Optional[pulumi.Input[str]]: + """ + The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + """ + return pulumi.get(self, "identity_id") + + @identity_id.setter + def identity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "identity_id", value) + + @property + @pulumi.getter(name="identityType") + def identity_type(self) -> Optional[pulumi.Input[Union[str, 'IdentityType']]]: + """ + The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + """ + return pulumi.get(self, "identity_type") + + @identity_type.setter + def identity_type(self, value: Optional[pulumi.Input[Union[str, 'IdentityType']]]): + pulumi.set(self, "identity_type", value) + + +@pulumi.input_type +class CmkKeyVaultPropertiesArgs: + def __init__(__self__, *, + key_uri: Optional[pulumi.Input[str]] = None): + """ + The properties of the Key Vault which hosts CMK + :param pulumi.Input[str] key_uri: The key uri of the Customer Managed Key + """ + if key_uri is not None: + pulumi.set(__self__, "key_uri", key_uri) + + @property + @pulumi.getter(name="keyUri") + def key_uri(self) -> Optional[pulumi.Input[str]]: + """ + The key uri of the Customer Managed Key + """ + return pulumi.get(self, "key_uri") + + @key_uri.setter + def key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_uri", value) + + +@pulumi.input_type +class CopyOnExpiryOptionArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str]): + """ + Copy on Expiry Option + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'CopyOnExpiryOption'. + """ + pulumi.set(__self__, "object_type", 'CopyOnExpiryOption') + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'CopyOnExpiryOption'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class CrossRegionRestoreSettingsArgs: + def __init__(__self__, *, + state: Optional[pulumi.Input[Union[str, 'CrossRegionRestoreState']]] = None): + """ + :param pulumi.Input[Union[str, 'CrossRegionRestoreState']] state: CrossRegionRestore state + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'CrossRegionRestoreState']]]: + """ + CrossRegionRestore state + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'CrossRegionRestoreState']]]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class CrossSubscriptionRestoreSettingsArgs: + def __init__(__self__, *, + state: Optional[pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']]] = None): + """ + CrossSubscriptionRestore Settings + :param pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']] state: CrossSubscriptionRestore state + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']]]: + """ + CrossSubscriptionRestore state + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']]]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class CustomCopyOptionArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str], + duration: Optional[pulumi.Input[str]] = None): + """ + Duration based custom options to copy + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'CustomCopyOption'. + :param pulumi.Input[str] duration: Data copied after given timespan + """ + pulumi.set(__self__, "object_type", 'CustomCopyOption') + if duration is not None: + pulumi.set(__self__, "duration", duration) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'CustomCopyOption'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter + def duration(self) -> Optional[pulumi.Input[str]]: + """ + Data copied after given timespan + """ + return pulumi.get(self, "duration") + + @duration.setter + def duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "duration", value) + + +@pulumi.input_type +class DataStoreInfoBaseArgs: + def __init__(__self__, *, + data_store_type: pulumi.Input[Union[str, 'DataStoreTypes']], + object_type: pulumi.Input[str]): + """ + DataStoreInfo base + :param pulumi.Input[Union[str, 'DataStoreTypes']] data_store_type: type of datastore; Operational/Vault/Archive + :param pulumi.Input[str] object_type: Type of Datasource object, used to initialize the right inherited type + """ + pulumi.set(__self__, "data_store_type", data_store_type) + pulumi.set(__self__, "object_type", object_type) + + @property + @pulumi.getter(name="dataStoreType") + def data_store_type(self) -> pulumi.Input[Union[str, 'DataStoreTypes']]: + """ + type of datastore; Operational/Vault/Archive + """ + return pulumi.get(self, "data_store_type") + + @data_store_type.setter + def data_store_type(self, value: pulumi.Input[Union[str, 'DataStoreTypes']]): + pulumi.set(self, "data_store_type", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of Datasource object, used to initialize the right inherited type + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class DatasourceSetArgs: + def __init__(__self__, *, + resource_id: pulumi.Input[str], + datasource_type: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + resource_location: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + resource_properties: Optional[pulumi.Input['DefaultResourcePropertiesArgs']] = None, + resource_type: Optional[pulumi.Input[str]] = None, + resource_uri: Optional[pulumi.Input[str]] = None): + """ + DatasourceSet details of datasource to be backed up + :param pulumi.Input[str] resource_id: Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + :param pulumi.Input[str] datasource_type: DatasourceType of the resource. + :param pulumi.Input[str] object_type: Type of Datasource object, used to initialize the right inherited type + :param pulumi.Input[str] resource_location: Location of datasource. + :param pulumi.Input[str] resource_name: Unique identifier of the resource in the context of parent. + :param pulumi.Input['DefaultResourcePropertiesArgs'] resource_properties: Properties specific to data source set + :param pulumi.Input[str] resource_type: Resource Type of Datasource. + :param pulumi.Input[str] resource_uri: Uri of the resource. + """ + pulumi.set(__self__, "resource_id", resource_id) + if datasource_type is not None: + pulumi.set(__self__, "datasource_type", datasource_type) + if object_type is not None: + pulumi.set(__self__, "object_type", object_type) + if resource_location is not None: + pulumi.set(__self__, "resource_location", resource_location) + if resource_name is not None: + pulumi.set(__self__, "resource_name", resource_name) + if resource_properties is not None: + pulumi.set(__self__, "resource_properties", resource_properties) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + if resource_uri is not None: + pulumi.set(__self__, "resource_uri", resource_uri) + + @property + @pulumi.getter(name="resourceID") + def resource_id(self) -> pulumi.Input[str]: + """ + Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + """ + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_id", value) + + @property + @pulumi.getter(name="datasourceType") + def datasource_type(self) -> Optional[pulumi.Input[str]]: + """ + DatasourceType of the resource. + """ + return pulumi.get(self, "datasource_type") + + @datasource_type.setter + def datasource_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "datasource_type", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> Optional[pulumi.Input[str]]: + """ + Type of Datasource object, used to initialize the right inherited type + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="resourceLocation") + def resource_location(self) -> Optional[pulumi.Input[str]]: + """ + Location of datasource. + """ + return pulumi.get(self, "resource_location") + + @resource_location.setter + def resource_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_location", value) + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> Optional[pulumi.Input[str]]: + """ + Unique identifier of the resource in the context of parent. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="resourceProperties") + def resource_properties(self) -> Optional[pulumi.Input['DefaultResourcePropertiesArgs']]: + """ + Properties specific to data source set + """ + return pulumi.get(self, "resource_properties") + + @resource_properties.setter + def resource_properties(self, value: Optional[pulumi.Input['DefaultResourcePropertiesArgs']]): + pulumi.set(self, "resource_properties", value) + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[pulumi.Input[str]]: + """ + Resource Type of Datasource. + """ + return pulumi.get(self, "resource_type") + + @resource_type.setter + def resource_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_type", value) + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> Optional[pulumi.Input[str]]: + """ + Uri of the resource. + """ + return pulumi.get(self, "resource_uri") + + @resource_uri.setter + def resource_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_uri", value) + + +@pulumi.input_type +class DatasourceArgs: + def __init__(__self__, *, + resource_id: pulumi.Input[str], + datasource_type: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + resource_location: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + resource_properties: Optional[pulumi.Input['DefaultResourcePropertiesArgs']] = None, + resource_type: Optional[pulumi.Input[str]] = None, + resource_uri: Optional[pulumi.Input[str]] = None): + """ + Datasource to be backed up + :param pulumi.Input[str] resource_id: Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + :param pulumi.Input[str] datasource_type: DatasourceType of the resource. + :param pulumi.Input[str] object_type: Type of Datasource object, used to initialize the right inherited type + :param pulumi.Input[str] resource_location: Location of datasource. + :param pulumi.Input[str] resource_name: Unique identifier of the resource in the context of parent. + :param pulumi.Input['DefaultResourcePropertiesArgs'] resource_properties: Properties specific to data source + :param pulumi.Input[str] resource_type: Resource Type of Datasource. + :param pulumi.Input[str] resource_uri: Uri of the resource. + """ + pulumi.set(__self__, "resource_id", resource_id) + if datasource_type is not None: + pulumi.set(__self__, "datasource_type", datasource_type) + if object_type is not None: + pulumi.set(__self__, "object_type", object_type) + if resource_location is not None: + pulumi.set(__self__, "resource_location", resource_location) + if resource_name is not None: + pulumi.set(__self__, "resource_name", resource_name) + if resource_properties is not None: + pulumi.set(__self__, "resource_properties", resource_properties) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + if resource_uri is not None: + pulumi.set(__self__, "resource_uri", resource_uri) + + @property + @pulumi.getter(name="resourceID") + def resource_id(self) -> pulumi.Input[str]: + """ + Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + """ + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_id", value) + + @property + @pulumi.getter(name="datasourceType") + def datasource_type(self) -> Optional[pulumi.Input[str]]: + """ + DatasourceType of the resource. + """ + return pulumi.get(self, "datasource_type") + + @datasource_type.setter + def datasource_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "datasource_type", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> Optional[pulumi.Input[str]]: + """ + Type of Datasource object, used to initialize the right inherited type + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="resourceLocation") + def resource_location(self) -> Optional[pulumi.Input[str]]: + """ + Location of datasource. + """ + return pulumi.get(self, "resource_location") + + @resource_location.setter + def resource_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_location", value) + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> Optional[pulumi.Input[str]]: + """ + Unique identifier of the resource in the context of parent. + """ + return pulumi.get(self, "resource_name") + + @resource_name.setter + def resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_name", value) + + @property + @pulumi.getter(name="resourceProperties") + def resource_properties(self) -> Optional[pulumi.Input['DefaultResourcePropertiesArgs']]: + """ + Properties specific to data source + """ + return pulumi.get(self, "resource_properties") + + @resource_properties.setter + def resource_properties(self, value: Optional[pulumi.Input['DefaultResourcePropertiesArgs']]): + pulumi.set(self, "resource_properties", value) + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[pulumi.Input[str]]: + """ + Resource Type of Datasource. + """ + return pulumi.get(self, "resource_type") + + @resource_type.setter + def resource_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_type", value) + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> Optional[pulumi.Input[str]]: + """ + Uri of the resource. + """ + return pulumi.get(self, "resource_uri") + + @resource_uri.setter + def resource_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_uri", value) + + +@pulumi.input_type +class DayArgs: + def __init__(__self__, *, + date: Optional[pulumi.Input[int]] = None, + is_last: Optional[pulumi.Input[bool]] = None): + """ + Day of the week + :param pulumi.Input[int] date: Date of the month + :param pulumi.Input[bool] is_last: Whether Date is last date of month + """ + if date is not None: + pulumi.set(__self__, "date", date) + if is_last is not None: + pulumi.set(__self__, "is_last", is_last) + + @property + @pulumi.getter + def date(self) -> Optional[pulumi.Input[int]]: + """ + Date of the month + """ + return pulumi.get(self, "date") + + @date.setter + def date(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "date", value) + + @property + @pulumi.getter(name="isLast") + def is_last(self) -> Optional[pulumi.Input[bool]]: + """ + Whether Date is last date of month + """ + return pulumi.get(self, "is_last") + + @is_last.setter + def is_last(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_last", value) + + +@pulumi.input_type +class DefaultResourcePropertiesArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str]): + """ + Default source properties + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'DefaultResourceProperties'. + """ + pulumi.set(__self__, "object_type", 'DefaultResourceProperties') + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'DefaultResourceProperties'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class DppIdentityDetailsArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input[str]] = None, + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity details + :param pulumi.Input[str] type: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: Gets or sets the user assigned identities. + """ + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the user assigned identities. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class EncryptionSettingsArgs: + def __init__(__self__, *, + infrastructure_encryption: Optional[pulumi.Input[Union[str, 'InfrastructureEncryptionState']]] = None, + kek_identity: Optional[pulumi.Input['CmkKekIdentityArgs']] = None, + key_vault_properties: Optional[pulumi.Input['CmkKeyVaultPropertiesArgs']] = None, + state: Optional[pulumi.Input[Union[str, 'EncryptionState']]] = None): + """ + Customer Managed Key details of the resource. + :param pulumi.Input[Union[str, 'InfrastructureEncryptionState']] infrastructure_encryption: Enabling/Disabling the Double Encryption state + :param pulumi.Input['CmkKekIdentityArgs'] kek_identity: The details of the managed identity used for CMK + :param pulumi.Input['CmkKeyVaultPropertiesArgs'] key_vault_properties: The properties of the Key Vault which hosts CMK + :param pulumi.Input[Union[str, 'EncryptionState']] state: Encryption state of the Backup Vault. + """ + if infrastructure_encryption is not None: + pulumi.set(__self__, "infrastructure_encryption", infrastructure_encryption) + if kek_identity is not None: + pulumi.set(__self__, "kek_identity", kek_identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="infrastructureEncryption") + def infrastructure_encryption(self) -> Optional[pulumi.Input[Union[str, 'InfrastructureEncryptionState']]]: + """ + Enabling/Disabling the Double Encryption state + """ + return pulumi.get(self, "infrastructure_encryption") + + @infrastructure_encryption.setter + def infrastructure_encryption(self, value: Optional[pulumi.Input[Union[str, 'InfrastructureEncryptionState']]]): + pulumi.set(self, "infrastructure_encryption", value) + + @property + @pulumi.getter(name="kekIdentity") + def kek_identity(self) -> Optional[pulumi.Input['CmkKekIdentityArgs']]: + """ + The details of the managed identity used for CMK + """ + return pulumi.get(self, "kek_identity") + + @kek_identity.setter + def kek_identity(self, value: Optional[pulumi.Input['CmkKekIdentityArgs']]): + pulumi.set(self, "kek_identity", value) + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional[pulumi.Input['CmkKeyVaultPropertiesArgs']]: + """ + The properties of the Key Vault which hosts CMK + """ + return pulumi.get(self, "key_vault_properties") + + @key_vault_properties.setter + def key_vault_properties(self, value: Optional[pulumi.Input['CmkKeyVaultPropertiesArgs']]): + pulumi.set(self, "key_vault_properties", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'EncryptionState']]]: + """ + Encryption state of the Backup Vault. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'EncryptionState']]]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class FeatureSettingsArgs: + def __init__(__self__, *, + cross_region_restore_settings: Optional[pulumi.Input['CrossRegionRestoreSettingsArgs']] = None, + cross_subscription_restore_settings: Optional[pulumi.Input['CrossSubscriptionRestoreSettingsArgs']] = None): + """ + Class containing feature settings of vault + :param pulumi.Input['CrossSubscriptionRestoreSettingsArgs'] cross_subscription_restore_settings: CrossSubscriptionRestore Settings + """ + if cross_region_restore_settings is not None: + pulumi.set(__self__, "cross_region_restore_settings", cross_region_restore_settings) + if cross_subscription_restore_settings is not None: + pulumi.set(__self__, "cross_subscription_restore_settings", cross_subscription_restore_settings) + + @property + @pulumi.getter(name="crossRegionRestoreSettings") + def cross_region_restore_settings(self) -> Optional[pulumi.Input['CrossRegionRestoreSettingsArgs']]: + return pulumi.get(self, "cross_region_restore_settings") + + @cross_region_restore_settings.setter + def cross_region_restore_settings(self, value: Optional[pulumi.Input['CrossRegionRestoreSettingsArgs']]): + pulumi.set(self, "cross_region_restore_settings", value) + + @property + @pulumi.getter(name="crossSubscriptionRestoreSettings") + def cross_subscription_restore_settings(self) -> Optional[pulumi.Input['CrossSubscriptionRestoreSettingsArgs']]: + """ + CrossSubscriptionRestore Settings + """ + return pulumi.get(self, "cross_subscription_restore_settings") + + @cross_subscription_restore_settings.setter + def cross_subscription_restore_settings(self, value: Optional[pulumi.Input['CrossSubscriptionRestoreSettingsArgs']]): + pulumi.set(self, "cross_subscription_restore_settings", value) + + +@pulumi.input_type +class IdentityDetailsArgs: + def __init__(__self__, *, + use_system_assigned_identity: Optional[pulumi.Input[bool]] = None, + user_assigned_identity_arm_url: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] use_system_assigned_identity: Specifies if the BI is protected by System Identity. + :param pulumi.Input[str] user_assigned_identity_arm_url: ARM URL for User Assigned Identity. + """ + if use_system_assigned_identity is not None: + pulumi.set(__self__, "use_system_assigned_identity", use_system_assigned_identity) + if user_assigned_identity_arm_url is not None: + pulumi.set(__self__, "user_assigned_identity_arm_url", user_assigned_identity_arm_url) + + @property + @pulumi.getter(name="useSystemAssignedIdentity") + def use_system_assigned_identity(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies if the BI is protected by System Identity. + """ + return pulumi.get(self, "use_system_assigned_identity") + + @use_system_assigned_identity.setter + def use_system_assigned_identity(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_system_assigned_identity", value) + + @property + @pulumi.getter(name="userAssignedIdentityArmUrl") + def user_assigned_identity_arm_url(self) -> Optional[pulumi.Input[str]]: + """ + ARM URL for User Assigned Identity. + """ + return pulumi.get(self, "user_assigned_identity_arm_url") + + @user_assigned_identity_arm_url.setter + def user_assigned_identity_arm_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_assigned_identity_arm_url", value) + + +@pulumi.input_type +class ImmediateCopyOptionArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str]): + """ + Immediate copy Option + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'ImmediateCopyOption'. + """ + pulumi.set(__self__, "object_type", 'ImmediateCopyOption') + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'ImmediateCopyOption'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + +@pulumi.input_type +class ImmutabilitySettingsArgs: + def __init__(__self__, *, + state: Optional[pulumi.Input[Union[str, 'ImmutabilityState']]] = None): + """ + Immutability Settings at vault level + :param pulumi.Input[Union[str, 'ImmutabilityState']] state: Immutability state + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'ImmutabilityState']]]: + """ + Immutability state + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'ImmutabilityState']]]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class KubernetesClusterBackupDatasourceParametersArgs: + def __init__(__self__, *, + include_cluster_scope_resources: pulumi.Input[bool], + object_type: pulumi.Input[str], + snapshot_volumes: pulumi.Input[bool], + backup_hook_references: Optional[pulumi.Input[Sequence[pulumi.Input['NamespacedNameResourceArgs']]]] = None, + excluded_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + excluded_resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + included_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + included_resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + label_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Parameters for Kubernetes Cluster Backup Datasource + :param pulumi.Input[bool] include_cluster_scope_resources: Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'KubernetesClusterBackupDatasourceParameters'. + :param pulumi.Input[bool] snapshot_volumes: Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. + :param pulumi.Input[Sequence[pulumi.Input['NamespacedNameResourceArgs']]] backup_hook_references: Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + :param pulumi.Input[Sequence[pulumi.Input[str]]] excluded_namespaces: Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. + :param pulumi.Input[Sequence[pulumi.Input[str]]] excluded_resource_types: Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. + :param pulumi.Input[Sequence[pulumi.Input[str]]] included_namespaces: Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. + :param pulumi.Input[Sequence[pulumi.Input[str]]] included_resource_types: Gets or sets the include resource types property. This property sets the resource types to be included during backup. + :param pulumi.Input[Sequence[pulumi.Input[str]]] label_selectors: Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. + """ + pulumi.set(__self__, "include_cluster_scope_resources", include_cluster_scope_resources) + pulumi.set(__self__, "object_type", 'KubernetesClusterBackupDatasourceParameters') + pulumi.set(__self__, "snapshot_volumes", snapshot_volumes) + if backup_hook_references is not None: + pulumi.set(__self__, "backup_hook_references", backup_hook_references) + if excluded_namespaces is not None: + pulumi.set(__self__, "excluded_namespaces", excluded_namespaces) + if excluded_resource_types is not None: + pulumi.set(__self__, "excluded_resource_types", excluded_resource_types) + if included_namespaces is not None: + pulumi.set(__self__, "included_namespaces", included_namespaces) + if included_resource_types is not None: + pulumi.set(__self__, "included_resource_types", included_resource_types) + if label_selectors is not None: + pulumi.set(__self__, "label_selectors", label_selectors) + + @property + @pulumi.getter(name="includeClusterScopeResources") + def include_cluster_scope_resources(self) -> pulumi.Input[bool]: + """ + Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. + """ + return pulumi.get(self, "include_cluster_scope_resources") + + @include_cluster_scope_resources.setter + def include_cluster_scope_resources(self, value: pulumi.Input[bool]): + pulumi.set(self, "include_cluster_scope_resources", value) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'KubernetesClusterBackupDatasourceParameters'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="snapshotVolumes") + def snapshot_volumes(self) -> pulumi.Input[bool]: + """ + Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. + """ + return pulumi.get(self, "snapshot_volumes") + + @snapshot_volumes.setter + def snapshot_volumes(self, value: pulumi.Input[bool]): + pulumi.set(self, "snapshot_volumes", value) + + @property + @pulumi.getter(name="backupHookReferences") + def backup_hook_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespacedNameResourceArgs']]]]: + """ + Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + """ + return pulumi.get(self, "backup_hook_references") + + @backup_hook_references.setter + def backup_hook_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespacedNameResourceArgs']]]]): + pulumi.set(self, "backup_hook_references", value) + + @property + @pulumi.getter(name="excludedNamespaces") + def excluded_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. + """ + return pulumi.get(self, "excluded_namespaces") + + @excluded_namespaces.setter + def excluded_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "excluded_namespaces", value) + + @property + @pulumi.getter(name="excludedResourceTypes") + def excluded_resource_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. + """ + return pulumi.get(self, "excluded_resource_types") + + @excluded_resource_types.setter + def excluded_resource_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "excluded_resource_types", value) + + @property + @pulumi.getter(name="includedNamespaces") + def included_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. + """ + return pulumi.get(self, "included_namespaces") + + @included_namespaces.setter + def included_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "included_namespaces", value) + + @property + @pulumi.getter(name="includedResourceTypes") + def included_resource_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the include resource types property. This property sets the resource types to be included during backup. + """ + return pulumi.get(self, "included_resource_types") + + @included_resource_types.setter + def included_resource_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "included_resource_types", value) + + @property + @pulumi.getter(name="labelSelectors") + def label_selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. + """ + return pulumi.get(self, "label_selectors") + + @label_selectors.setter + def label_selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "label_selectors", value) + + +@pulumi.input_type +class MonitoringSettingsArgs: + def __init__(__self__, *, + azure_monitor_alert_settings: Optional[pulumi.Input['AzureMonitorAlertSettingsArgs']] = None): + """ + Monitoring Settings + :param pulumi.Input['AzureMonitorAlertSettingsArgs'] azure_monitor_alert_settings: Settings for Azure Monitor based alerts + """ + if azure_monitor_alert_settings is not None: + pulumi.set(__self__, "azure_monitor_alert_settings", azure_monitor_alert_settings) + + @property + @pulumi.getter(name="azureMonitorAlertSettings") + def azure_monitor_alert_settings(self) -> Optional[pulumi.Input['AzureMonitorAlertSettingsArgs']]: + """ + Settings for Azure Monitor based alerts + """ + return pulumi.get(self, "azure_monitor_alert_settings") + + @azure_monitor_alert_settings.setter + def azure_monitor_alert_settings(self, value: Optional[pulumi.Input['AzureMonitorAlertSettingsArgs']]): + pulumi.set(self, "azure_monitor_alert_settings", value) + + +@pulumi.input_type +class NamespacedNameResourceArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None): + """ + Class to refer resources which contains namespace and name + :param pulumi.Input[str] name: Name of the resource + :param pulumi.Input[str] namespace: Namespace in which the resource exists + """ + if name is not None: + pulumi.set(__self__, "name", name) + if namespace is not None: + pulumi.set(__self__, "namespace", namespace) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the resource + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def namespace(self) -> Optional[pulumi.Input[str]]: + """ + Namespace in which the resource exists + """ + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "namespace", value) + + +@pulumi.input_type +class PolicyInfoArgs: + def __init__(__self__, *, + policy_id: pulumi.Input[str], + policy_parameters: Optional[pulumi.Input['PolicyParametersArgs']] = None): + """ + Policy Info in backupInstance + :param pulumi.Input['PolicyParametersArgs'] policy_parameters: Policy parameters for the backup instance + """ + pulumi.set(__self__, "policy_id", policy_id) + if policy_parameters is not None: + pulumi.set(__self__, "policy_parameters", policy_parameters) + + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "policy_id") + + @policy_id.setter + def policy_id(self, value: pulumi.Input[str]): + pulumi.set(self, "policy_id", value) + + @property + @pulumi.getter(name="policyParameters") + def policy_parameters(self) -> Optional[pulumi.Input['PolicyParametersArgs']]: + """ + Policy parameters for the backup instance + """ + return pulumi.get(self, "policy_parameters") + + @policy_parameters.setter + def policy_parameters(self, value: Optional[pulumi.Input['PolicyParametersArgs']]): + pulumi.set(self, "policy_parameters", value) + + +@pulumi.input_type +class PolicyParametersArgs: + def __init__(__self__, *, + backup_datasource_parameters_list: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BlobBackupDatasourceParametersArgs', 'KubernetesClusterBackupDatasourceParametersArgs']]]]] = None, + data_store_parameters_list: Optional[pulumi.Input[Sequence[pulumi.Input['AzureOperationalStoreParametersArgs']]]] = None): + """ + Parameters in Policy + :param pulumi.Input[Sequence[pulumi.Input[Union['BlobBackupDatasourceParametersArgs', 'KubernetesClusterBackupDatasourceParametersArgs']]]] backup_datasource_parameters_list: Gets or sets the Backup Data Source Parameters + :param pulumi.Input[Sequence[pulumi.Input['AzureOperationalStoreParametersArgs']]] data_store_parameters_list: Gets or sets the DataStore Parameters + """ + if backup_datasource_parameters_list is not None: + pulumi.set(__self__, "backup_datasource_parameters_list", backup_datasource_parameters_list) + if data_store_parameters_list is not None: + pulumi.set(__self__, "data_store_parameters_list", data_store_parameters_list) + + @property + @pulumi.getter(name="backupDatasourceParametersList") + def backup_datasource_parameters_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['BlobBackupDatasourceParametersArgs', 'KubernetesClusterBackupDatasourceParametersArgs']]]]]: + """ + Gets or sets the Backup Data Source Parameters + """ + return pulumi.get(self, "backup_datasource_parameters_list") + + @backup_datasource_parameters_list.setter + def backup_datasource_parameters_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BlobBackupDatasourceParametersArgs', 'KubernetesClusterBackupDatasourceParametersArgs']]]]]): + pulumi.set(self, "backup_datasource_parameters_list", value) + + @property + @pulumi.getter(name="dataStoreParametersList") + def data_store_parameters_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AzureOperationalStoreParametersArgs']]]]: + """ + Gets or sets the DataStore Parameters + """ + return pulumi.get(self, "data_store_parameters_list") + + @data_store_parameters_list.setter + def data_store_parameters_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AzureOperationalStoreParametersArgs']]]]): + pulumi.set(self, "data_store_parameters_list", value) + + +@pulumi.input_type +class ResourceGuardOperationDetailArgs: + def __init__(__self__, *, + default_resource_request: Optional[pulumi.Input[str]] = None, + vault_critical_operation: Optional[pulumi.Input[str]] = None): + """ + VaultCritical Operation protected by a resource guard + """ + if default_resource_request is not None: + pulumi.set(__self__, "default_resource_request", default_resource_request) + if vault_critical_operation is not None: + pulumi.set(__self__, "vault_critical_operation", vault_critical_operation) + + @property + @pulumi.getter(name="defaultResourceRequest") + def default_resource_request(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "default_resource_request") + + @default_resource_request.setter + def default_resource_request(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_resource_request", value) + + @property + @pulumi.getter(name="vaultCriticalOperation") + def vault_critical_operation(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vault_critical_operation") + + @vault_critical_operation.setter + def vault_critical_operation(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_critical_operation", value) + + +@pulumi.input_type +class ResourceGuardProxyBaseArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + last_updated_time: Optional[pulumi.Input[str]] = None, + resource_guard_operation_details: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceGuardOperationDetailArgs']]]] = None, + resource_guard_resource_id: Optional[pulumi.Input[str]] = None): + """ + ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + """ + if description is not None: + pulumi.set(__self__, "description", description) + if last_updated_time is not None: + pulumi.set(__self__, "last_updated_time", last_updated_time) + if resource_guard_operation_details is not None: + pulumi.set(__self__, "resource_guard_operation_details", resource_guard_operation_details) + if resource_guard_resource_id is not None: + pulumi.set(__self__, "resource_guard_resource_id", resource_guard_resource_id) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="lastUpdatedTime") + def last_updated_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "last_updated_time") + + @last_updated_time.setter + def last_updated_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_updated_time", value) + + @property + @pulumi.getter(name="resourceGuardOperationDetails") + def resource_guard_operation_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceGuardOperationDetailArgs']]]]: + return pulumi.get(self, "resource_guard_operation_details") + + @resource_guard_operation_details.setter + def resource_guard_operation_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceGuardOperationDetailArgs']]]]): + pulumi.set(self, "resource_guard_operation_details", value) + + @property + @pulumi.getter(name="resourceGuardResourceId") + def resource_guard_resource_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resource_guard_resource_id") + + @resource_guard_resource_id.setter + def resource_guard_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_guard_resource_id", value) + + +@pulumi.input_type +class ResourceGuardArgs: + def __init__(__self__, *, + vault_critical_operation_exclusion_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] vault_critical_operation_exclusion_list: List of critical operations which are not protected by this resourceGuard + """ + if vault_critical_operation_exclusion_list is not None: + pulumi.set(__self__, "vault_critical_operation_exclusion_list", vault_critical_operation_exclusion_list) + + @property + @pulumi.getter(name="vaultCriticalOperationExclusionList") + def vault_critical_operation_exclusion_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of critical operations which are not protected by this resourceGuard + """ + return pulumi.get(self, "vault_critical_operation_exclusion_list") + + @vault_critical_operation_exclusion_list.setter + def vault_critical_operation_exclusion_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "vault_critical_operation_exclusion_list", value) + + +@pulumi.input_type +class RetentionTagArgs: + def __init__(__self__, *, + tag_name: pulumi.Input[str]): + """ + Retention tag + :param pulumi.Input[str] tag_name: Retention Tag Name to relate it to retention rule. + """ + pulumi.set(__self__, "tag_name", tag_name) + + @property + @pulumi.getter(name="tagName") + def tag_name(self) -> pulumi.Input[str]: + """ + Retention Tag Name to relate it to retention rule. + """ + return pulumi.get(self, "tag_name") + + @tag_name.setter + def tag_name(self, value: pulumi.Input[str]): + pulumi.set(self, "tag_name", value) + + +@pulumi.input_type +class ScheduleBasedBackupCriteriaArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str], + absolute_criteria: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AbsoluteMarker']]]]] = None, + days_of_month: Optional[pulumi.Input[Sequence[pulumi.Input['DayArgs']]]] = None, + days_of_the_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + months_of_year: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Month']]]]] = None, + schedule_times: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + weeks_of_the_month: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WeekNumber']]]]] = None): + """ + Schedule based backup criteria + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedBackupCriteria'. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AbsoluteMarker']]]] absolute_criteria: it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + and should be part of AbsoluteMarker enum + :param pulumi.Input[Sequence[pulumi.Input['DayArgs']]] days_of_month: This is day of the month from 1 to 28 other wise last of month + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]] days_of_the_week: It should be Sunday/Monday/T..../Saturday + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Month']]]] months_of_year: It should be January/February/....../December + :param pulumi.Input[Sequence[pulumi.Input[str]]] schedule_times: List of schedule times for backup + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'WeekNumber']]]] weeks_of_the_month: It should be First/Second/Third/Fourth/Last + """ + pulumi.set(__self__, "object_type", 'ScheduleBasedBackupCriteria') + if absolute_criteria is not None: + pulumi.set(__self__, "absolute_criteria", absolute_criteria) + if days_of_month is not None: + pulumi.set(__self__, "days_of_month", days_of_month) + if days_of_the_week is not None: + pulumi.set(__self__, "days_of_the_week", days_of_the_week) + if months_of_year is not None: + pulumi.set(__self__, "months_of_year", months_of_year) + if schedule_times is not None: + pulumi.set(__self__, "schedule_times", schedule_times) + if weeks_of_the_month is not None: + pulumi.set(__self__, "weeks_of_the_month", weeks_of_the_month) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedBackupCriteria'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="absoluteCriteria") + def absolute_criteria(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AbsoluteMarker']]]]]: + """ + it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + and should be part of AbsoluteMarker enum + """ + return pulumi.get(self, "absolute_criteria") + + @absolute_criteria.setter + def absolute_criteria(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AbsoluteMarker']]]]]): + pulumi.set(self, "absolute_criteria", value) + + @property + @pulumi.getter(name="daysOfMonth") + def days_of_month(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DayArgs']]]]: + """ + This is day of the month from 1 to 28 other wise last of month + """ + return pulumi.get(self, "days_of_month") + + @days_of_month.setter + def days_of_month(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DayArgs']]]]): + pulumi.set(self, "days_of_month", value) + + @property + @pulumi.getter(name="daysOfTheWeek") + def days_of_the_week(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]]: + """ + It should be Sunday/Monday/T..../Saturday + """ + return pulumi.get(self, "days_of_the_week") + + @days_of_the_week.setter + def days_of_the_week(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]]): + pulumi.set(self, "days_of_the_week", value) + + @property + @pulumi.getter(name="monthsOfYear") + def months_of_year(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Month']]]]]: + """ + It should be January/February/....../December + """ + return pulumi.get(self, "months_of_year") + + @months_of_year.setter + def months_of_year(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Month']]]]]): + pulumi.set(self, "months_of_year", value) + + @property + @pulumi.getter(name="scheduleTimes") + def schedule_times(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of schedule times for backup + """ + return pulumi.get(self, "schedule_times") + + @schedule_times.setter + def schedule_times(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "schedule_times", value) + + @property + @pulumi.getter(name="weeksOfTheMonth") + def weeks_of_the_month(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WeekNumber']]]]]: + """ + It should be First/Second/Third/Fourth/Last + """ + return pulumi.get(self, "weeks_of_the_month") + + @weeks_of_the_month.setter + def weeks_of_the_month(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'WeekNumber']]]]]): + pulumi.set(self, "weeks_of_the_month", value) + + +@pulumi.input_type +class ScheduleBasedTriggerContextArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str], + schedule: pulumi.Input['BackupScheduleArgs'], + tagging_criteria: pulumi.Input[Sequence[pulumi.Input['TaggingCriteriaArgs']]]): + """ + Schedule based trigger context + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedTriggerContext'. + :param pulumi.Input['BackupScheduleArgs'] schedule: Schedule for this backup + :param pulumi.Input[Sequence[pulumi.Input['TaggingCriteriaArgs']]] tagging_criteria: List of tags that can be applicable for given schedule. + """ + pulumi.set(__self__, "object_type", 'ScheduleBasedTriggerContext') + pulumi.set(__self__, "schedule", schedule) + pulumi.set(__self__, "tagging_criteria", tagging_criteria) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedTriggerContext'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter + def schedule(self) -> pulumi.Input['BackupScheduleArgs']: + """ + Schedule for this backup + """ + return pulumi.get(self, "schedule") + + @schedule.setter + def schedule(self, value: pulumi.Input['BackupScheduleArgs']): + pulumi.set(self, "schedule", value) + + @property + @pulumi.getter(name="taggingCriteria") + def tagging_criteria(self) -> pulumi.Input[Sequence[pulumi.Input['TaggingCriteriaArgs']]]: + """ + List of tags that can be applicable for given schedule. + """ + return pulumi.get(self, "tagging_criteria") + + @tagging_criteria.setter + def tagging_criteria(self, value: pulumi.Input[Sequence[pulumi.Input['TaggingCriteriaArgs']]]): + pulumi.set(self, "tagging_criteria", value) + + +@pulumi.input_type +class SecretStoreBasedAuthCredentialsArgs: + def __init__(__self__, *, + object_type: pulumi.Input[str], + secret_store_resource: Optional[pulumi.Input['SecretStoreResourceArgs']] = None): + """ + Secret store based authentication credentials. + :param pulumi.Input[str] object_type: Type of the specific object - used for deserializing + Expected value is 'SecretStoreBasedAuthCredentials'. + :param pulumi.Input['SecretStoreResourceArgs'] secret_store_resource: Secret store resource + """ + pulumi.set(__self__, "object_type", 'SecretStoreBasedAuthCredentials') + if secret_store_resource is not None: + pulumi.set(__self__, "secret_store_resource", secret_store_resource) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> pulumi.Input[str]: + """ + Type of the specific object - used for deserializing + Expected value is 'SecretStoreBasedAuthCredentials'. + """ + return pulumi.get(self, "object_type") + + @object_type.setter + def object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "object_type", value) + + @property + @pulumi.getter(name="secretStoreResource") + def secret_store_resource(self) -> Optional[pulumi.Input['SecretStoreResourceArgs']]: + """ + Secret store resource + """ + return pulumi.get(self, "secret_store_resource") + + @secret_store_resource.setter + def secret_store_resource(self, value: Optional[pulumi.Input['SecretStoreResourceArgs']]): + pulumi.set(self, "secret_store_resource", value) + + +@pulumi.input_type +class SecretStoreResourceArgs: + def __init__(__self__, *, + secret_store_type: pulumi.Input[Union[str, 'SecretStoreType']], + uri: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): + """ + Class representing a secret store resource. + :param pulumi.Input[Union[str, 'SecretStoreType']] secret_store_type: Gets or sets the type of secret store + :param pulumi.Input[str] uri: Uri to get to the resource + :param pulumi.Input[str] value: Gets or sets value stored in secret store resource + """ + pulumi.set(__self__, "secret_store_type", secret_store_type) + if uri is not None: + pulumi.set(__self__, "uri", uri) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="secretStoreType") + def secret_store_type(self) -> pulumi.Input[Union[str, 'SecretStoreType']]: + """ + Gets or sets the type of secret store + """ + return pulumi.get(self, "secret_store_type") + + @secret_store_type.setter + def secret_store_type(self, value: pulumi.Input[Union[str, 'SecretStoreType']]): + pulumi.set(self, "secret_store_type", value) + + @property + @pulumi.getter + def uri(self) -> Optional[pulumi.Input[str]]: + """ + Uri to get to the resource + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets value stored in secret store resource + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class SecuritySettingsArgs: + def __init__(__self__, *, + encryption_settings: Optional[pulumi.Input['EncryptionSettingsArgs']] = None, + immutability_settings: Optional[pulumi.Input['ImmutabilitySettingsArgs']] = None, + soft_delete_settings: Optional[pulumi.Input['SoftDeleteSettingsArgs']] = None): + """ + Class containing security settings of vault + :param pulumi.Input['EncryptionSettingsArgs'] encryption_settings: Customer Managed Key details of the resource. + :param pulumi.Input['ImmutabilitySettingsArgs'] immutability_settings: Immutability Settings at vault level + :param pulumi.Input['SoftDeleteSettingsArgs'] soft_delete_settings: Soft delete related settings + """ + if encryption_settings is not None: + pulumi.set(__self__, "encryption_settings", encryption_settings) + if immutability_settings is not None: + pulumi.set(__self__, "immutability_settings", immutability_settings) + if soft_delete_settings is not None: + pulumi.set(__self__, "soft_delete_settings", soft_delete_settings) + + @property + @pulumi.getter(name="encryptionSettings") + def encryption_settings(self) -> Optional[pulumi.Input['EncryptionSettingsArgs']]: + """ + Customer Managed Key details of the resource. + """ + return pulumi.get(self, "encryption_settings") + + @encryption_settings.setter + def encryption_settings(self, value: Optional[pulumi.Input['EncryptionSettingsArgs']]): + pulumi.set(self, "encryption_settings", value) + + @property + @pulumi.getter(name="immutabilitySettings") + def immutability_settings(self) -> Optional[pulumi.Input['ImmutabilitySettingsArgs']]: + """ + Immutability Settings at vault level + """ + return pulumi.get(self, "immutability_settings") + + @immutability_settings.setter + def immutability_settings(self, value: Optional[pulumi.Input['ImmutabilitySettingsArgs']]): + pulumi.set(self, "immutability_settings", value) + + @property + @pulumi.getter(name="softDeleteSettings") + def soft_delete_settings(self) -> Optional[pulumi.Input['SoftDeleteSettingsArgs']]: + """ + Soft delete related settings + """ + return pulumi.get(self, "soft_delete_settings") + + @soft_delete_settings.setter + def soft_delete_settings(self, value: Optional[pulumi.Input['SoftDeleteSettingsArgs']]): + pulumi.set(self, "soft_delete_settings", value) + + +@pulumi.input_type +class SoftDeleteSettingsArgs: + def __init__(__self__, *, + retention_duration_in_days: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[Union[str, 'SoftDeleteState']]] = None): + """ + Soft delete related settings + :param pulumi.Input[float] retention_duration_in_days: Soft delete retention duration + :param pulumi.Input[Union[str, 'SoftDeleteState']] state: State of soft delete + """ + if retention_duration_in_days is not None: + pulumi.set(__self__, "retention_duration_in_days", retention_duration_in_days) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="retentionDurationInDays") + def retention_duration_in_days(self) -> Optional[pulumi.Input[float]]: + """ + Soft delete retention duration + """ + return pulumi.get(self, "retention_duration_in_days") + + @retention_duration_in_days.setter + def retention_duration_in_days(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "retention_duration_in_days", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'SoftDeleteState']]]: + """ + State of soft delete + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'SoftDeleteState']]]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class SourceLifeCycleArgs: + def __init__(__self__, *, + delete_after: pulumi.Input['AbsoluteDeleteOptionArgs'], + source_data_store: pulumi.Input['DataStoreInfoBaseArgs'], + target_data_store_copy_settings: Optional[pulumi.Input[Sequence[pulumi.Input['TargetCopySettingArgs']]]] = None): + """ + Source LifeCycle + :param pulumi.Input['AbsoluteDeleteOptionArgs'] delete_after: Delete Option + :param pulumi.Input['DataStoreInfoBaseArgs'] source_data_store: DataStoreInfo base + """ + pulumi.set(__self__, "delete_after", delete_after) + pulumi.set(__self__, "source_data_store", source_data_store) + if target_data_store_copy_settings is not None: + pulumi.set(__self__, "target_data_store_copy_settings", target_data_store_copy_settings) + + @property + @pulumi.getter(name="deleteAfter") + def delete_after(self) -> pulumi.Input['AbsoluteDeleteOptionArgs']: + """ + Delete Option + """ + return pulumi.get(self, "delete_after") + + @delete_after.setter + def delete_after(self, value: pulumi.Input['AbsoluteDeleteOptionArgs']): + pulumi.set(self, "delete_after", value) + + @property + @pulumi.getter(name="sourceDataStore") + def source_data_store(self) -> pulumi.Input['DataStoreInfoBaseArgs']: + """ + DataStoreInfo base + """ + return pulumi.get(self, "source_data_store") + + @source_data_store.setter + def source_data_store(self, value: pulumi.Input['DataStoreInfoBaseArgs']): + pulumi.set(self, "source_data_store", value) + + @property + @pulumi.getter(name="targetDataStoreCopySettings") + def target_data_store_copy_settings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TargetCopySettingArgs']]]]: + return pulumi.get(self, "target_data_store_copy_settings") + + @target_data_store_copy_settings.setter + def target_data_store_copy_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TargetCopySettingArgs']]]]): + pulumi.set(self, "target_data_store_copy_settings", value) + + +@pulumi.input_type +class StorageSettingArgs: + def __init__(__self__, *, + datastore_type: Optional[pulumi.Input[Union[str, 'StorageSettingStoreTypes']]] = None, + type: Optional[pulumi.Input[Union[str, 'StorageSettingTypes']]] = None): + """ + Storage setting + :param pulumi.Input[Union[str, 'StorageSettingStoreTypes']] datastore_type: Gets or sets the type of the datastore. + :param pulumi.Input[Union[str, 'StorageSettingTypes']] type: Gets or sets the type. + """ + if datastore_type is not None: + pulumi.set(__self__, "datastore_type", datastore_type) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="datastoreType") + def datastore_type(self) -> Optional[pulumi.Input[Union[str, 'StorageSettingStoreTypes']]]: + """ + Gets or sets the type of the datastore. + """ + return pulumi.get(self, "datastore_type") + + @datastore_type.setter + def datastore_type(self, value: Optional[pulumi.Input[Union[str, 'StorageSettingStoreTypes']]]): + pulumi.set(self, "datastore_type", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'StorageSettingTypes']]]: + """ + Gets or sets the type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'StorageSettingTypes']]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class TaggingCriteriaArgs: + def __init__(__self__, *, + is_default: pulumi.Input[bool], + tag_info: pulumi.Input['RetentionTagArgs'], + tagging_priority: pulumi.Input[float], + criteria: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleBasedBackupCriteriaArgs']]]] = None): + """ + Tagging criteria + :param pulumi.Input[bool] is_default: Specifies if tag is default. + :param pulumi.Input['RetentionTagArgs'] tag_info: Retention tag information + :param pulumi.Input[float] tagging_priority: Retention Tag priority. + :param pulumi.Input[Sequence[pulumi.Input['ScheduleBasedBackupCriteriaArgs']]] criteria: Criteria which decides whether the tag can be applied to a triggered backup. + """ + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "tag_info", tag_info) + pulumi.set(__self__, "tagging_priority", tagging_priority) + if criteria is not None: + pulumi.set(__self__, "criteria", criteria) + + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> pulumi.Input[bool]: + """ + Specifies if tag is default. + """ + return pulumi.get(self, "is_default") + + @is_default.setter + def is_default(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_default", value) + + @property + @pulumi.getter(name="tagInfo") + def tag_info(self) -> pulumi.Input['RetentionTagArgs']: + """ + Retention tag information + """ + return pulumi.get(self, "tag_info") + + @tag_info.setter + def tag_info(self, value: pulumi.Input['RetentionTagArgs']): + pulumi.set(self, "tag_info", value) + + @property + @pulumi.getter(name="taggingPriority") + def tagging_priority(self) -> pulumi.Input[float]: + """ + Retention Tag priority. + """ + return pulumi.get(self, "tagging_priority") + + @tagging_priority.setter + def tagging_priority(self, value: pulumi.Input[float]): + pulumi.set(self, "tagging_priority", value) + + @property + @pulumi.getter + def criteria(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleBasedBackupCriteriaArgs']]]]: + """ + Criteria which decides whether the tag can be applied to a triggered backup. + """ + return pulumi.get(self, "criteria") + + @criteria.setter + def criteria(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleBasedBackupCriteriaArgs']]]]): + pulumi.set(self, "criteria", value) + + +@pulumi.input_type +class TargetCopySettingArgs: + def __init__(__self__, *, + copy_after: pulumi.Input[Union['CopyOnExpiryOptionArgs', 'CustomCopyOptionArgs', 'ImmediateCopyOptionArgs']], + data_store: pulumi.Input['DataStoreInfoBaseArgs']): + """ + Target copy settings + :param pulumi.Input[Union['CopyOnExpiryOptionArgs', 'CustomCopyOptionArgs', 'ImmediateCopyOptionArgs']] copy_after: It can be CustomCopyOption or ImmediateCopyOption. + :param pulumi.Input['DataStoreInfoBaseArgs'] data_store: Info of target datastore + """ + pulumi.set(__self__, "copy_after", copy_after) + pulumi.set(__self__, "data_store", data_store) + + @property + @pulumi.getter(name="copyAfter") + def copy_after(self) -> pulumi.Input[Union['CopyOnExpiryOptionArgs', 'CustomCopyOptionArgs', 'ImmediateCopyOptionArgs']]: + """ + It can be CustomCopyOption or ImmediateCopyOption. + """ + return pulumi.get(self, "copy_after") + + @copy_after.setter + def copy_after(self, value: pulumi.Input[Union['CopyOnExpiryOptionArgs', 'CustomCopyOptionArgs', 'ImmediateCopyOptionArgs']]): + pulumi.set(self, "copy_after", value) + + @property + @pulumi.getter(name="dataStore") + def data_store(self) -> pulumi.Input['DataStoreInfoBaseArgs']: + """ + Info of target datastore + """ + return pulumi.get(self, "data_store") + + @data_store.setter + def data_store(self, value: pulumi.Input['DataStoreInfoBaseArgs']): + pulumi.set(self, "data_store", value) + + diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py new file mode 100644 index 000000000000..07f26911a16b --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py @@ -0,0 +1,245 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['BackupInstanceInitArgs', 'BackupInstance'] + +@pulumi.input_type +class BackupInstanceInitArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + vault_name: pulumi.Input[str], + backup_instance_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BackupInstanceArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a BackupInstance resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] vault_name: The name of the backup vault. + :param pulumi.Input[str] backup_instance_name: The name of the backup instance. + :param pulumi.Input['BackupInstanceArgs'] properties: BackupInstanceResource properties + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Proxy Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "vault_name", vault_name) + if backup_instance_name is not None: + pulumi.set(__self__, "backup_instance_name", backup_instance_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="vaultName") + def vault_name(self) -> pulumi.Input[str]: + """ + The name of the backup vault. + """ + return pulumi.get(self, "vault_name") + + @vault_name.setter + def vault_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vault_name", value) + + @property + @pulumi.getter(name="backupInstanceName") + def backup_instance_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the backup instance. + """ + return pulumi.get(self, "backup_instance_name") + + @backup_instance_name.setter + def backup_instance_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "backup_instance_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BackupInstanceArgs']]: + """ + BackupInstanceResource properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BackupInstanceArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Proxy Resource tags. + """ + 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 BackupInstance(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + backup_instance_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BackupInstanceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + BackupInstance Resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] backup_instance_name: The name of the backup instance. + :param pulumi.Input[pulumi.InputType['BackupInstanceArgs']] properties: BackupInstanceResource properties + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Proxy Resource tags. + :param pulumi.Input[str] vault_name: The name of the backup vault. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BackupInstanceInitArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + BackupInstance Resource + + :param str resource_name: The name of the resource. + :param BackupInstanceInitArgs 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(BackupInstanceInitArgs, 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, + backup_instance_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BackupInstanceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BackupInstanceInitArgs.__new__(BackupInstanceInitArgs) + + __props__.__dict__["backup_instance_name"] = backup_instance_name + __props__.__dict__["properties"] = properties + 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 + if vault_name is None and not opts.urn: + raise TypeError("Missing required property 'vault_name'") + __props__.__dict__["vault_name"] = vault_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupInstance"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupInstance")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BackupInstance, __self__).__init__( + 'azure-native:dataprotection/v20230601preview:BackupInstance', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BackupInstance': + """ + Get an existing BackupInstance 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BackupInstanceInitArgs.__new__(BackupInstanceInitArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return BackupInstance(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Proxy Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BackupInstanceResponse']: + """ + BackupInstanceResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Proxy Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py new file mode 100644 index 000000000000..b8c2a5c7a36b --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py @@ -0,0 +1,216 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['BackupPolicyInitArgs', 'BackupPolicy'] + +@pulumi.input_type +class BackupPolicyInitArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + vault_name: pulumi.Input[str], + backup_policy_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['BackupPolicyArgs']] = None): + """ + The set of arguments for constructing a BackupPolicy resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] vault_name: The name of the backup vault. + :param pulumi.Input[str] backup_policy_name: Name of the policy + :param pulumi.Input['BackupPolicyArgs'] properties: BaseBackupPolicyResource properties + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "vault_name", vault_name) + if backup_policy_name is not None: + pulumi.set(__self__, "backup_policy_name", backup_policy_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="vaultName") + def vault_name(self) -> pulumi.Input[str]: + """ + The name of the backup vault. + """ + return pulumi.get(self, "vault_name") + + @vault_name.setter + def vault_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vault_name", value) + + @property + @pulumi.getter(name="backupPolicyName") + def backup_policy_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the policy + """ + return pulumi.get(self, "backup_policy_name") + + @backup_policy_name.setter + def backup_policy_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "backup_policy_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['BackupPolicyArgs']]: + """ + BaseBackupPolicyResource properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['BackupPolicyArgs']]): + pulumi.set(self, "properties", value) + + +class BackupPolicy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + backup_policy_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BackupPolicyArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + BaseBackupPolicy resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] backup_policy_name: Name of the policy + :param pulumi.Input[pulumi.InputType['BackupPolicyArgs']] properties: BaseBackupPolicyResource properties + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] vault_name: The name of the backup vault. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BackupPolicyInitArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + BaseBackupPolicy resource + + :param str resource_name: The name of the resource. + :param BackupPolicyInitArgs 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(BackupPolicyInitArgs, 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, + backup_policy_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BackupPolicyArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BackupPolicyInitArgs.__new__(BackupPolicyInitArgs) + + __props__.__dict__["backup_policy_name"] = backup_policy_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if vault_name is None and not opts.urn: + raise TypeError("Missing required property 'vault_name'") + __props__.__dict__["vault_name"] = vault_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupPolicy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupPolicy")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BackupPolicy, __self__).__init__( + 'azure-native:dataprotection/v20230601preview:BackupPolicy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BackupPolicy': + """ + Get an existing BackupPolicy 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BackupPolicyInitArgs.__new__(BackupPolicyInitArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BackupPolicy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BackupPolicyResponse']: + """ + BaseBackupPolicyResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py new file mode 100644 index 000000000000..fc7af8db1bfe --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py @@ -0,0 +1,312 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['BackupVaultInitArgs', 'BackupVault'] + +@pulumi.input_type +class BackupVaultInitArgs: + def __init__(__self__, *, + properties: pulumi.Input['BackupVaultArgs'], + resource_group_name: pulumi.Input[str], + e_tag: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['DppIdentityDetailsArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a BackupVault resource. + :param pulumi.Input['BackupVaultArgs'] properties: BackupVaultResource properties + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] e_tag: Optional ETag. + :param pulumi.Input['DppIdentityDetailsArgs'] identity: Input Managed Identity Details + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] vault_name: The name of the backup vault. + """ + pulumi.set(__self__, "properties", properties) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if e_tag is not None: + pulumi.set(__self__, "e_tag", e_tag) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if vault_name is not None: + pulumi.set(__self__, "vault_name", vault_name) + + @property + @pulumi.getter + def properties(self) -> pulumi.Input['BackupVaultArgs']: + """ + BackupVaultResource properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: pulumi.Input['BackupVaultArgs']): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="eTag") + def e_tag(self) -> Optional[pulumi.Input[str]]: + """ + Optional ETag. + """ + return pulumi.get(self, "e_tag") + + @e_tag.setter + def e_tag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "e_tag", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['DppIdentityDetailsArgs']]: + """ + Input Managed Identity Details + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['DppIdentityDetailsArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="vaultName") + def vault_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the backup vault. + """ + return pulumi.get(self, "vault_name") + + @vault_name.setter + def vault_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_name", value) + + +class BackupVault(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + e_tag: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['DppIdentityDetailsArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BackupVaultArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Backup Vault Resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] e_tag: Optional ETag. + :param pulumi.Input[pulumi.InputType['DppIdentityDetailsArgs']] identity: Input Managed Identity Details + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[pulumi.InputType['BackupVaultArgs']] properties: BackupVaultResource properties + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] vault_name: The name of the backup vault. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BackupVaultInitArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Backup Vault Resource + + :param str resource_name: The name of the resource. + :param BackupVaultInitArgs 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(BackupVaultInitArgs, 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, + e_tag: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['DppIdentityDetailsArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['BackupVaultArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BackupVaultInitArgs.__new__(BackupVaultInitArgs) + + __props__.__dict__["e_tag"] = e_tag + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + if properties is None and not opts.urn: + raise TypeError("Missing required property 'properties'") + __props__.__dict__["properties"] = properties + 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 + __props__.__dict__["vault_name"] = vault_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BackupVault, __self__).__init__( + 'azure-native:dataprotection/v20230601preview:BackupVault', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BackupVault': + """ + Get an existing BackupVault 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BackupVaultInitArgs.__new__(BackupVaultInitArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return BackupVault(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[Optional[str]]: + """ + Optional ETag. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.DppIdentityDetailsResponse']]: + """ + Input Managed Identity Details + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.BackupVaultResponse']: + """ + BackupVaultResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py new file mode 100644 index 000000000000..10e8592c36f7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py @@ -0,0 +1,215 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['DppResourceGuardProxyArgs', 'DppResourceGuardProxy'] + +@pulumi.input_type +class DppResourceGuardProxyArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + vault_name: pulumi.Input[str], + properties: Optional[pulumi.Input['ResourceGuardProxyBaseArgs']] = None, + resource_guard_proxy_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a DppResourceGuardProxy resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] vault_name: The name of the backup vault. + :param pulumi.Input['ResourceGuardProxyBaseArgs'] properties: ResourceGuardProxyBaseResource properties + :param pulumi.Input[str] resource_guard_proxy_name: name of the resource guard proxy + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "vault_name", vault_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if resource_guard_proxy_name is not None: + pulumi.set(__self__, "resource_guard_proxy_name", resource_guard_proxy_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="vaultName") + def vault_name(self) -> pulumi.Input[str]: + """ + The name of the backup vault. + """ + return pulumi.get(self, "vault_name") + + @vault_name.setter + def vault_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vault_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ResourceGuardProxyBaseArgs']]: + """ + ResourceGuardProxyBaseResource properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ResourceGuardProxyBaseArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="resourceGuardProxyName") + def resource_guard_proxy_name(self) -> Optional[pulumi.Input[str]]: + """ + name of the resource guard proxy + """ + return pulumi.get(self, "resource_guard_proxy_name") + + @resource_guard_proxy_name.setter + def resource_guard_proxy_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_guard_proxy_name", value) + + +class DppResourceGuardProxy(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ResourceGuardProxyBaseArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_guard_proxy_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ResourceGuardProxyBaseArgs']] properties: ResourceGuardProxyBaseResource properties + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_guard_proxy_name: name of the resource guard proxy + :param pulumi.Input[str] vault_name: The name of the backup vault. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DppResourceGuardProxyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + + :param str resource_name: The name of the resource. + :param DppResourceGuardProxyArgs 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(DppResourceGuardProxyArgs, 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, + properties: Optional[pulumi.Input[pulumi.InputType['ResourceGuardProxyBaseArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_guard_proxy_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DppResourceGuardProxyArgs.__new__(DppResourceGuardProxyArgs) + + __props__.__dict__["properties"] = properties + 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__["resource_guard_proxy_name"] = resource_guard_proxy_name + if vault_name is None and not opts.urn: + raise TypeError("Missing required property 'vault_name'") + __props__.__dict__["vault_name"] = vault_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(DppResourceGuardProxy, __self__).__init__( + 'azure-native:dataprotection/v20230601preview:DppResourceGuardProxy', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'DppResourceGuardProxy': + """ + Get an existing DppResourceGuardProxy 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DppResourceGuardProxyArgs.__new__(DppResourceGuardProxyArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return DppResourceGuardProxy(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ResourceGuardProxyBaseResponse']: + """ + ResourceGuardProxyBaseResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_instance.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_instance.py new file mode 100644 index 000000000000..2b737be9a0fb --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_instance.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBackupInstanceResult', + 'AwaitableGetBackupInstanceResult', + 'get_backup_instance', + 'get_backup_instance_output', +] + +@pulumi.output_type +class GetBackupInstanceResult: + """ + BackupInstance Resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Proxy Resource Id represents the complete path to the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Proxy Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BackupInstanceResponse': + """ + BackupInstanceResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Proxy Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + + +class AwaitableGetBackupInstanceResult(GetBackupInstanceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBackupInstanceResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_backup_instance(backup_instance_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + vault_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBackupInstanceResult: + """ + Gets a backup instance with name in a backup vault + + + :param str backup_instance_name: The name of the backup instance. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the backup vault. + """ + __args__ = dict() + __args__['backupInstanceName'] = backup_instance_name + __args__['resourceGroupName'] = resource_group_name + __args__['vaultName'] = vault_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dataprotection/v20230601preview:getBackupInstance', __args__, opts=opts, typ=GetBackupInstanceResult).value + + return AwaitableGetBackupInstanceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_backup_instance) +def get_backup_instance_output(backup_instance_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupInstanceResult]: + """ + Gets a backup instance with name in a backup vault + + + :param str backup_instance_name: The name of the backup instance. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the backup vault. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_policy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_policy.py new file mode 100644 index 000000000000..db3a2c4071ff --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_policy.py @@ -0,0 +1,134 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBackupPolicyResult', + 'AwaitableGetBackupPolicyResult', + 'get_backup_policy', + 'get_backup_policy_output', +] + +@pulumi.output_type +class GetBackupPolicyResult: + """ + BaseBackupPolicy resource + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource Id represents the complete path to the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BackupPolicyResponse': + """ + BaseBackupPolicyResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + + +class AwaitableGetBackupPolicyResult(GetBackupPolicyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBackupPolicyResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_backup_policy(backup_policy_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + vault_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBackupPolicyResult: + """ + Gets a backup policy belonging to a backup vault + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the backup vault. + """ + __args__ = dict() + __args__['backupPolicyName'] = backup_policy_name + __args__['resourceGroupName'] = resource_group_name + __args__['vaultName'] = vault_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dataprotection/v20230601preview:getBackupPolicy', __args__, opts=opts, typ=GetBackupPolicyResult).value + + return AwaitableGetBackupPolicyResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_backup_policy) +def get_backup_policy_output(backup_policy_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupPolicyResult]: + """ + Gets a backup policy belonging to a backup vault + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the backup vault. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_vault.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_vault.py new file mode 100644 index 000000000000..162cf76820da --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_backup_vault.py @@ -0,0 +1,183 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBackupVaultResult', + 'AwaitableGetBackupVaultResult', + 'get_backup_vault', + 'get_backup_vault_output', +] + +@pulumi.output_type +class GetBackupVaultResult: + """ + Backup Vault Resource + """ + def __init__(__self__, e_tag=None, id=None, identity=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> Optional[str]: + """ + Optional ETag. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource Id represents the complete path to the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.DppIdentityDetailsResponse']: + """ + Input Managed Identity Details + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.BackupVaultResponse': + """ + BackupVaultResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + + +class AwaitableGetBackupVaultResult(GetBackupVaultResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBackupVaultResult( + e_tag=self.e_tag, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + properties=self.properties, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_backup_vault(resource_group_name: Optional[str] = None, + vault_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBackupVaultResult: + """ + Returns a resource belonging to a resource group. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the backup vault. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['vaultName'] = vault_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dataprotection/v20230601preview:getBackupVault', __args__, opts=opts, typ=GetBackupVaultResult).value + + return AwaitableGetBackupVaultResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_backup_vault) +def get_backup_vault_output(resource_group_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupVaultResult]: + """ + Returns a resource belonging to a resource group. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the backup vault. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_dpp_resource_guard_proxy.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_dpp_resource_guard_proxy.py new file mode 100644 index 000000000000..71cacbc0f955 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_dpp_resource_guard_proxy.py @@ -0,0 +1,136 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDppResourceGuardProxyResult', + 'AwaitableGetDppResourceGuardProxyResult', + 'get_dpp_resource_guard_proxy', + 'get_dpp_resource_guard_proxy_output', +] + +@pulumi.output_type +class GetDppResourceGuardProxyResult: + """ + ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + """ + def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource Id represents the complete path to the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ResourceGuardProxyBaseResponse': + """ + ResourceGuardProxyBaseResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + + +class AwaitableGetDppResourceGuardProxyResult(GetDppResourceGuardProxyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDppResourceGuardProxyResult( + id=self.id, + name=self.name, + properties=self.properties, + system_data=self.system_data, + type=self.type) + + +def get_dpp_resource_guard_proxy(resource_group_name: Optional[str] = None, + resource_guard_proxy_name: Optional[str] = None, + vault_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDppResourceGuardProxyResult: + """ + ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_guard_proxy_name: name of the resource guard proxy + :param str vault_name: The name of the backup vault. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceGuardProxyName'] = resource_guard_proxy_name + __args__['vaultName'] = vault_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dataprotection/v20230601preview:getDppResourceGuardProxy', __args__, opts=opts, typ=GetDppResourceGuardProxyResult).value + + return AwaitableGetDppResourceGuardProxyResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_dpp_resource_guard_proxy) +def get_dpp_resource_guard_proxy_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_guard_proxy_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDppResourceGuardProxyResult]: + """ + ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_guard_proxy_name: name of the resource guard proxy + :param str vault_name: The name of the backup vault. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_resource_guard.py new file mode 100644 index 000000000000..2146cfc6cbed --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/get_resource_guard.py @@ -0,0 +1,165 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetResourceGuardResult', + 'AwaitableGetResourceGuardResult', + 'get_resource_guard', + 'get_resource_guard_output', +] + +@pulumi.output_type +class GetResourceGuardResult: + def __init__(__self__, e_tag=None, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> Optional[str]: + """ + Optional ETag. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource Id represents the complete path to the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ResourceGuardResponse': + """ + ResourceGuardResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + + +class AwaitableGetResourceGuardResult(GetResourceGuardResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetResourceGuardResult( + e_tag=self.e_tag, + id=self.id, + location=self.location, + name=self.name, + properties=self.properties, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_resource_guard(resource_group_name: Optional[str] = None, + resource_guards_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourceGuardResult: + """ + Use this data source to access information about an existing resource. + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_guards_name: The name of ResourceGuard + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceGuardsName'] = resource_guards_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dataprotection/v20230601preview:getResourceGuard', __args__, opts=opts, typ=GetResourceGuardResult).value + + return AwaitableGetResourceGuardResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_resource_guard) +def get_resource_guard_output(resource_group_name: Optional[pulumi.Input[str]] = None, + resource_guards_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceGuardResult]: + """ + Use this data source to access information about an existing resource. + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str resource_guards_name: The name of ResourceGuard + """ + ... diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/outputs.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/outputs.py new file mode 100644 index 000000000000..c80ad4dbd94a --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/outputs.py @@ -0,0 +1,3839 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AbsoluteDeleteOptionResponse', + 'AdhocBasedTaggingCriteriaResponse', + 'AdhocBasedTriggerContextResponse', + 'AzureBackupParamsResponse', + 'AzureBackupRuleResponse', + 'AzureMonitorAlertSettingsResponse', + 'AzureOperationalStoreParametersResponse', + 'AzureRetentionRuleResponse', + 'BackupInstanceResponse', + 'BackupPolicyResponse', + 'BackupScheduleResponse', + 'BackupVaultResponse', + 'BlobBackupDatasourceParametersResponse', + 'CmkKekIdentityResponse', + 'CmkKeyVaultPropertiesResponse', + 'CopyOnExpiryOptionResponse', + 'CrossRegionRestoreSettingsResponse', + 'CrossSubscriptionRestoreSettingsResponse', + 'CustomCopyOptionResponse', + 'DataStoreInfoBaseResponse', + 'DatasourceResponse', + 'DatasourceSetResponse', + 'DayResponse', + 'DefaultResourcePropertiesResponse', + 'DppIdentityDetailsResponse', + 'EncryptionSettingsResponse', + 'FeatureSettingsResponse', + 'IdentityDetailsResponse', + 'ImmediateCopyOptionResponse', + 'ImmutabilitySettingsResponse', + 'InnerErrorResponse', + 'KubernetesClusterBackupDatasourceParametersResponse', + 'MonitoringSettingsResponse', + 'NamespacedNameResourceResponse', + 'PolicyInfoResponse', + 'PolicyParametersResponse', + 'ProtectionStatusDetailsResponse', + 'ResourceGuardOperationDetailResponse', + 'ResourceGuardOperationResponse', + 'ResourceGuardProxyBaseResponse', + 'ResourceGuardResponse', + 'ResourceMoveDetailsResponse', + 'RetentionTagResponse', + 'ScheduleBasedBackupCriteriaResponse', + 'ScheduleBasedTriggerContextResponse', + 'SecretStoreBasedAuthCredentialsResponse', + 'SecretStoreResourceResponse', + 'SecuritySettingsResponse', + 'SoftDeleteSettingsResponse', + 'SourceLifeCycleResponse', + 'StorageSettingResponse', + 'SystemDataResponse', + 'TaggingCriteriaResponse', + 'TargetCopySettingResponse', + 'UserAssignedIdentityResponse', + 'UserFacingErrorResponse', +] + +@pulumi.output_type +class AbsoluteDeleteOptionResponse(dict): + """ + Delete option with duration + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AbsoluteDeleteOptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AbsoluteDeleteOptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AbsoluteDeleteOptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + duration: str, + object_type: str): + """ + Delete option with duration + :param str duration: Duration of deletion after given timespan + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'AbsoluteDeleteOption'. + """ + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "object_type", 'AbsoluteDeleteOption') + + @property + @pulumi.getter + def duration(self) -> str: + """ + Duration of deletion after given timespan + """ + return pulumi.get(self, "duration") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'AbsoluteDeleteOption'. + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class AdhocBasedTaggingCriteriaResponse(dict): + """ + Adhoc backup tagging criteria + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "tagInfo": + suggest = "tag_info" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AdhocBasedTaggingCriteriaResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AdhocBasedTaggingCriteriaResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AdhocBasedTaggingCriteriaResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + tag_info: Optional['outputs.RetentionTagResponse'] = None): + """ + Adhoc backup tagging criteria + :param 'RetentionTagResponse' tag_info: Retention tag information + """ + if tag_info is not None: + pulumi.set(__self__, "tag_info", tag_info) + + @property + @pulumi.getter(name="tagInfo") + def tag_info(self) -> Optional['outputs.RetentionTagResponse']: + """ + Retention tag information + """ + return pulumi.get(self, "tag_info") + + +@pulumi.output_type +class AdhocBasedTriggerContextResponse(dict): + """ + Adhoc trigger context + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + elif key == "taggingCriteria": + suggest = "tagging_criteria" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AdhocBasedTriggerContextResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AdhocBasedTriggerContextResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AdhocBasedTriggerContextResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str, + tagging_criteria: 'outputs.AdhocBasedTaggingCriteriaResponse'): + """ + Adhoc trigger context + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'AdhocBasedTriggerContext'. + :param 'AdhocBasedTaggingCriteriaResponse' tagging_criteria: Tagging Criteria containing retention tag for adhoc backup. + """ + pulumi.set(__self__, "object_type", 'AdhocBasedTriggerContext') + pulumi.set(__self__, "tagging_criteria", tagging_criteria) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'AdhocBasedTriggerContext'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="taggingCriteria") + def tagging_criteria(self) -> 'outputs.AdhocBasedTaggingCriteriaResponse': + """ + Tagging Criteria containing retention tag for adhoc backup. + """ + return pulumi.get(self, "tagging_criteria") + + +@pulumi.output_type +class AzureBackupParamsResponse(dict): + """ + Azure backup parameters + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupType": + suggest = "backup_type" + elif key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureBackupParamsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureBackupParamsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureBackupParamsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_type: str, + object_type: str): + """ + Azure backup parameters + :param str backup_type: BackupType ; Full/Incremental etc + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'AzureBackupParams'. + """ + pulumi.set(__self__, "backup_type", backup_type) + pulumi.set(__self__, "object_type", 'AzureBackupParams') + + @property + @pulumi.getter(name="backupType") + def backup_type(self) -> str: + """ + BackupType ; Full/Incremental etc + """ + return pulumi.get(self, "backup_type") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'AzureBackupParams'. + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class AzureBackupRuleResponse(dict): + """ + Azure backup rule + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataStore": + suggest = "data_store" + elif key == "objectType": + suggest = "object_type" + elif key == "backupParameters": + suggest = "backup_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureBackupRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureBackupRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureBackupRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_store: 'outputs.DataStoreInfoBaseResponse', + name: str, + object_type: str, + trigger: Any, + backup_parameters: Optional['outputs.AzureBackupParamsResponse'] = None): + """ + Azure backup rule + :param 'DataStoreInfoBaseResponse' data_store: DataStoreInfo base + :param str object_type: + Expected value is 'AzureBackupRule'. + :param Union['AdhocBasedTriggerContextResponse', 'ScheduleBasedTriggerContextResponse'] trigger: Trigger context + :param 'AzureBackupParamsResponse' backup_parameters: BackupParameters base + """ + pulumi.set(__self__, "data_store", data_store) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "object_type", 'AzureBackupRule') + pulumi.set(__self__, "trigger", trigger) + if backup_parameters is not None: + pulumi.set(__self__, "backup_parameters", backup_parameters) + + @property + @pulumi.getter(name="dataStore") + def data_store(self) -> 'outputs.DataStoreInfoBaseResponse': + """ + DataStoreInfo base + """ + return pulumi.get(self, "data_store") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + + Expected value is 'AzureBackupRule'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter + def trigger(self) -> Any: + """ + Trigger context + """ + return pulumi.get(self, "trigger") + + @property + @pulumi.getter(name="backupParameters") + def backup_parameters(self) -> Optional['outputs.AzureBackupParamsResponse']: + """ + BackupParameters base + """ + return pulumi.get(self, "backup_parameters") + + +@pulumi.output_type +class AzureMonitorAlertSettingsResponse(dict): + """ + Settings for Azure Monitor based alerts + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertsForAllJobFailures": + suggest = "alerts_for_all_job_failures" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureMonitorAlertSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureMonitorAlertSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureMonitorAlertSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alerts_for_all_job_failures: Optional[str] = None): + """ + Settings for Azure Monitor based alerts + """ + if alerts_for_all_job_failures is not None: + pulumi.set(__self__, "alerts_for_all_job_failures", alerts_for_all_job_failures) + + @property + @pulumi.getter(name="alertsForAllJobFailures") + def alerts_for_all_job_failures(self) -> Optional[str]: + return pulumi.get(self, "alerts_for_all_job_failures") + + +@pulumi.output_type +class AzureOperationalStoreParametersResponse(dict): + """ + Parameters for Operational-Tier DataStore + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataStoreType": + suggest = "data_store_type" + elif key == "objectType": + suggest = "object_type" + elif key == "resourceGroupId": + suggest = "resource_group_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureOperationalStoreParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureOperationalStoreParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureOperationalStoreParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_store_type: str, + object_type: str, + resource_group_id: Optional[str] = None): + """ + Parameters for Operational-Tier DataStore + :param str data_store_type: type of datastore; Operational/Vault/Archive + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'AzureOperationalStoreParameters'. + :param str resource_group_id: Gets or sets the Snapshot Resource Group Uri. + """ + pulumi.set(__self__, "data_store_type", data_store_type) + pulumi.set(__self__, "object_type", 'AzureOperationalStoreParameters') + if resource_group_id is not None: + pulumi.set(__self__, "resource_group_id", resource_group_id) + + @property + @pulumi.getter(name="dataStoreType") + def data_store_type(self) -> str: + """ + type of datastore; Operational/Vault/Archive + """ + return pulumi.get(self, "data_store_type") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'AzureOperationalStoreParameters'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="resourceGroupId") + def resource_group_id(self) -> Optional[str]: + """ + Gets or sets the Snapshot Resource Group Uri. + """ + return pulumi.get(self, "resource_group_id") + + +@pulumi.output_type +class AzureRetentionRuleResponse(dict): + """ + Azure retention rule + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + elif key == "isDefault": + suggest = "is_default" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureRetentionRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureRetentionRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureRetentionRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + lifecycles: Sequence['outputs.SourceLifeCycleResponse'], + name: str, + object_type: str, + is_default: Optional[bool] = None): + """ + Azure retention rule + :param str object_type: + Expected value is 'AzureRetentionRule'. + """ + pulumi.set(__self__, "lifecycles", lifecycles) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "object_type", 'AzureRetentionRule') + if is_default is not None: + pulumi.set(__self__, "is_default", is_default) + + @property + @pulumi.getter + def lifecycles(self) -> Sequence['outputs.SourceLifeCycleResponse']: + return pulumi.get(self, "lifecycles") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + + Expected value is 'AzureRetentionRule'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> Optional[bool]: + return pulumi.get(self, "is_default") + + +@pulumi.output_type +class BackupInstanceResponse(dict): + """ + Backup Instance + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "currentProtectionState": + suggest = "current_protection_state" + elif key == "dataSourceInfo": + suggest = "data_source_info" + elif key == "objectType": + suggest = "object_type" + elif key == "policyInfo": + suggest = "policy_info" + elif key == "protectionErrorDetails": + suggest = "protection_error_details" + elif key == "protectionStatus": + suggest = "protection_status" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "dataSourceSetInfo": + suggest = "data_source_set_info" + elif key == "datasourceAuthCredentials": + suggest = "datasource_auth_credentials" + elif key == "friendlyName": + suggest = "friendly_name" + elif key == "identityDetails": + suggest = "identity_details" + elif key == "validationType": + suggest = "validation_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupInstanceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupInstanceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupInstanceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + current_protection_state: str, + data_source_info: 'outputs.DatasourceResponse', + object_type: str, + policy_info: 'outputs.PolicyInfoResponse', + protection_error_details: 'outputs.UserFacingErrorResponse', + protection_status: 'outputs.ProtectionStatusDetailsResponse', + provisioning_state: str, + data_source_set_info: Optional['outputs.DatasourceSetResponse'] = None, + datasource_auth_credentials: Optional['outputs.SecretStoreBasedAuthCredentialsResponse'] = None, + friendly_name: Optional[str] = None, + identity_details: Optional['outputs.IdentityDetailsResponse'] = None, + validation_type: Optional[str] = None): + """ + Backup Instance + :param str current_protection_state: Specifies the current protection state of the resource + :param 'DatasourceResponse' data_source_info: Gets or sets the data source information. + :param 'PolicyInfoResponse' policy_info: Gets or sets the policy information. + :param 'UserFacingErrorResponse' protection_error_details: Specifies the protection error of the resource + :param 'ProtectionStatusDetailsResponse' protection_status: Specifies the protection status of the resource + :param str provisioning_state: Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed + :param 'DatasourceSetResponse' data_source_set_info: Gets or sets the data source set information. + :param 'SecretStoreBasedAuthCredentialsResponse' datasource_auth_credentials: Credentials to use to authenticate with data source provider. + :param str friendly_name: Gets or sets the Backup Instance friendly name. + :param 'IdentityDetailsResponse' identity_details: Contains information of the Identity Details for the BI. + If it is null, default will be considered as System Assigned. + :param str validation_type: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + """ + pulumi.set(__self__, "current_protection_state", current_protection_state) + pulumi.set(__self__, "data_source_info", data_source_info) + pulumi.set(__self__, "object_type", object_type) + pulumi.set(__self__, "policy_info", policy_info) + pulumi.set(__self__, "protection_error_details", protection_error_details) + pulumi.set(__self__, "protection_status", protection_status) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if data_source_set_info is not None: + pulumi.set(__self__, "data_source_set_info", data_source_set_info) + if datasource_auth_credentials is not None: + pulumi.set(__self__, "datasource_auth_credentials", datasource_auth_credentials) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if identity_details is not None: + pulumi.set(__self__, "identity_details", identity_details) + if validation_type is not None: + pulumi.set(__self__, "validation_type", validation_type) + + @property + @pulumi.getter(name="currentProtectionState") + def current_protection_state(self) -> str: + """ + Specifies the current protection state of the resource + """ + return pulumi.get(self, "current_protection_state") + + @property + @pulumi.getter(name="dataSourceInfo") + def data_source_info(self) -> 'outputs.DatasourceResponse': + """ + Gets or sets the data source information. + """ + return pulumi.get(self, "data_source_info") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="policyInfo") + def policy_info(self) -> 'outputs.PolicyInfoResponse': + """ + Gets or sets the policy information. + """ + return pulumi.get(self, "policy_info") + + @property + @pulumi.getter(name="protectionErrorDetails") + def protection_error_details(self) -> 'outputs.UserFacingErrorResponse': + """ + Specifies the protection error of the resource + """ + return pulumi.get(self, "protection_error_details") + + @property + @pulumi.getter(name="protectionStatus") + def protection_status(self) -> 'outputs.ProtectionStatusDetailsResponse': + """ + Specifies the protection status of the resource + """ + return pulumi.get(self, "protection_status") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="dataSourceSetInfo") + def data_source_set_info(self) -> Optional['outputs.DatasourceSetResponse']: + """ + Gets or sets the data source set information. + """ + return pulumi.get(self, "data_source_set_info") + + @property + @pulumi.getter(name="datasourceAuthCredentials") + def datasource_auth_credentials(self) -> Optional['outputs.SecretStoreBasedAuthCredentialsResponse']: + """ + Credentials to use to authenticate with data source provider. + """ + return pulumi.get(self, "datasource_auth_credentials") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + Gets or sets the Backup Instance friendly name. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="identityDetails") + def identity_details(self) -> Optional['outputs.IdentityDetailsResponse']: + """ + Contains information of the Identity Details for the BI. + If it is null, default will be considered as System Assigned. + """ + return pulumi.get(self, "identity_details") + + @property + @pulumi.getter(name="validationType") + def validation_type(self) -> Optional[str]: + """ + Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + """ + return pulumi.get(self, "validation_type") + + +@pulumi.output_type +class BackupPolicyResponse(dict): + """ + Rule based backup policy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "datasourceTypes": + suggest = "datasource_types" + elif key == "objectType": + suggest = "object_type" + elif key == "policyRules": + suggest = "policy_rules" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + datasource_types: Sequence[str], + object_type: str, + policy_rules: Sequence[Any]): + """ + Rule based backup policy + :param Sequence[str] datasource_types: Type of datasource for the backup management + :param str object_type: + Expected value is 'BackupPolicy'. + :param Sequence[Union['AzureBackupRuleResponse', 'AzureRetentionRuleResponse']] policy_rules: Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + """ + pulumi.set(__self__, "datasource_types", datasource_types) + pulumi.set(__self__, "object_type", 'BackupPolicy') + pulumi.set(__self__, "policy_rules", policy_rules) + + @property + @pulumi.getter(name="datasourceTypes") + def datasource_types(self) -> Sequence[str]: + """ + Type of datasource for the backup management + """ + return pulumi.get(self, "datasource_types") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + + Expected value is 'BackupPolicy'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="policyRules") + def policy_rules(self) -> Sequence[Any]: + """ + Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + """ + return pulumi.get(self, "policy_rules") + + +@pulumi.output_type +class BackupScheduleResponse(dict): + """ + Schedule for backup + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "repeatingTimeIntervals": + suggest = "repeating_time_intervals" + elif key == "timeZone": + suggest = "time_zone" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + repeating_time_intervals: Sequence[str], + time_zone: Optional[str] = None): + """ + Schedule for backup + :param Sequence[str] repeating_time_intervals: ISO 8601 repeating time interval format + :param str time_zone: Time zone for a schedule. Example: Pacific Standard Time + """ + pulumi.set(__self__, "repeating_time_intervals", repeating_time_intervals) + if time_zone is not None: + pulumi.set(__self__, "time_zone", time_zone) + + @property + @pulumi.getter(name="repeatingTimeIntervals") + def repeating_time_intervals(self) -> Sequence[str]: + """ + ISO 8601 repeating time interval format + """ + return pulumi.get(self, "repeating_time_intervals") + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> Optional[str]: + """ + Time zone for a schedule. Example: Pacific Standard Time + """ + return pulumi.get(self, "time_zone") + + +@pulumi.output_type +class BackupVaultResponse(dict): + """ + Backup Vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isVaultProtectedByResourceGuard": + suggest = "is_vault_protected_by_resource_guard" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "resourceMoveDetails": + suggest = "resource_move_details" + elif key == "resourceMoveState": + suggest = "resource_move_state" + elif key == "secureScore": + suggest = "secure_score" + elif key == "storageSettings": + suggest = "storage_settings" + elif key == "featureSettings": + suggest = "feature_settings" + elif key == "monitoringSettings": + suggest = "monitoring_settings" + elif key == "securitySettings": + suggest = "security_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupVaultResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupVaultResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupVaultResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_vault_protected_by_resource_guard: bool, + provisioning_state: str, + resource_move_details: 'outputs.ResourceMoveDetailsResponse', + resource_move_state: str, + secure_score: str, + storage_settings: Sequence['outputs.StorageSettingResponse'], + feature_settings: Optional['outputs.FeatureSettingsResponse'] = None, + monitoring_settings: Optional['outputs.MonitoringSettingsResponse'] = None, + security_settings: Optional['outputs.SecuritySettingsResponse'] = None): + """ + Backup Vault + :param bool is_vault_protected_by_resource_guard: Is vault protected by resource guard + :param str provisioning_state: Provisioning state of the BackupVault resource + :param 'ResourceMoveDetailsResponse' resource_move_details: Resource move details for backup vault + :param str resource_move_state: Resource move state for backup vault + :param str secure_score: Secure Score of Backup Vault + :param Sequence['StorageSettingResponse'] storage_settings: Storage Settings + :param 'FeatureSettingsResponse' feature_settings: Feature Settings + :param 'MonitoringSettingsResponse' monitoring_settings: Monitoring Settings + :param 'SecuritySettingsResponse' security_settings: Security Settings + """ + pulumi.set(__self__, "is_vault_protected_by_resource_guard", is_vault_protected_by_resource_guard) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "resource_move_details", resource_move_details) + pulumi.set(__self__, "resource_move_state", resource_move_state) + pulumi.set(__self__, "secure_score", secure_score) + pulumi.set(__self__, "storage_settings", storage_settings) + if feature_settings is not None: + pulumi.set(__self__, "feature_settings", feature_settings) + if monitoring_settings is not None: + pulumi.set(__self__, "monitoring_settings", monitoring_settings) + if security_settings is not None: + pulumi.set(__self__, "security_settings", security_settings) + + @property + @pulumi.getter(name="isVaultProtectedByResourceGuard") + def is_vault_protected_by_resource_guard(self) -> bool: + """ + Is vault protected by resource guard + """ + return pulumi.get(self, "is_vault_protected_by_resource_guard") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the BackupVault resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceMoveDetails") + def resource_move_details(self) -> 'outputs.ResourceMoveDetailsResponse': + """ + Resource move details for backup vault + """ + return pulumi.get(self, "resource_move_details") + + @property + @pulumi.getter(name="resourceMoveState") + def resource_move_state(self) -> str: + """ + Resource move state for backup vault + """ + return pulumi.get(self, "resource_move_state") + + @property + @pulumi.getter(name="secureScore") + def secure_score(self) -> str: + """ + Secure Score of Backup Vault + """ + return pulumi.get(self, "secure_score") + + @property + @pulumi.getter(name="storageSettings") + def storage_settings(self) -> Sequence['outputs.StorageSettingResponse']: + """ + Storage Settings + """ + return pulumi.get(self, "storage_settings") + + @property + @pulumi.getter(name="featureSettings") + def feature_settings(self) -> Optional['outputs.FeatureSettingsResponse']: + """ + Feature Settings + """ + return pulumi.get(self, "feature_settings") + + @property + @pulumi.getter(name="monitoringSettings") + def monitoring_settings(self) -> Optional['outputs.MonitoringSettingsResponse']: + """ + Monitoring Settings + """ + return pulumi.get(self, "monitoring_settings") + + @property + @pulumi.getter(name="securitySettings") + def security_settings(self) -> Optional['outputs.SecuritySettingsResponse']: + """ + Security Settings + """ + return pulumi.get(self, "security_settings") + + +@pulumi.output_type +class BlobBackupDatasourceParametersResponse(dict): + """ + Parameters to be used during configuration of backup of blobs + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "containersList": + suggest = "containers_list" + elif key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BlobBackupDatasourceParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BlobBackupDatasourceParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BlobBackupDatasourceParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + containers_list: Sequence[str], + object_type: str): + """ + Parameters to be used during configuration of backup of blobs + :param Sequence[str] containers_list: List of containers to be backed up during configuration of backup of blobs + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'BlobBackupDatasourceParameters'. + """ + pulumi.set(__self__, "containers_list", containers_list) + pulumi.set(__self__, "object_type", 'BlobBackupDatasourceParameters') + + @property + @pulumi.getter(name="containersList") + def containers_list(self) -> Sequence[str]: + """ + List of containers to be backed up during configuration of backup of blobs + """ + return pulumi.get(self, "containers_list") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'BlobBackupDatasourceParameters'. + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class CmkKekIdentityResponse(dict): + """ + The details of the managed identity used for CMK + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "identityId": + suggest = "identity_id" + elif key == "identityType": + suggest = "identity_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CmkKekIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CmkKekIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CmkKekIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + identity_id: Optional[str] = None, + identity_type: Optional[str] = None): + """ + The details of the managed identity used for CMK + :param str identity_id: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + :param str identity_type: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + """ + if identity_id is not None: + pulumi.set(__self__, "identity_id", identity_id) + if identity_type is not None: + pulumi.set(__self__, "identity_type", identity_type) + + @property + @pulumi.getter(name="identityId") + def identity_id(self) -> Optional[str]: + """ + The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + """ + return pulumi.get(self, "identity_id") + + @property + @pulumi.getter(name="identityType") + def identity_type(self) -> Optional[str]: + """ + The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + """ + return pulumi.get(self, "identity_type") + + +@pulumi.output_type +class CmkKeyVaultPropertiesResponse(dict): + """ + The properties of the Key Vault which hosts CMK + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyUri": + suggest = "key_uri" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CmkKeyVaultPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CmkKeyVaultPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CmkKeyVaultPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_uri: Optional[str] = None): + """ + The properties of the Key Vault which hosts CMK + :param str key_uri: The key uri of the Customer Managed Key + """ + if key_uri is not None: + pulumi.set(__self__, "key_uri", key_uri) + + @property + @pulumi.getter(name="keyUri") + def key_uri(self) -> Optional[str]: + """ + The key uri of the Customer Managed Key + """ + return pulumi.get(self, "key_uri") + + +@pulumi.output_type +class CopyOnExpiryOptionResponse(dict): + """ + Copy on Expiry Option + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CopyOnExpiryOptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CopyOnExpiryOptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CopyOnExpiryOptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str): + """ + Copy on Expiry Option + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'CopyOnExpiryOption'. + """ + pulumi.set(__self__, "object_type", 'CopyOnExpiryOption') + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'CopyOnExpiryOption'. + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class CrossRegionRestoreSettingsResponse(dict): + def __init__(__self__, *, + state: Optional[str] = None): + """ + :param str state: CrossRegionRestore state + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + CrossRegionRestore state + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class CrossSubscriptionRestoreSettingsResponse(dict): + """ + CrossSubscriptionRestore Settings + """ + def __init__(__self__, *, + state: Optional[str] = None): + """ + CrossSubscriptionRestore Settings + :param str state: CrossSubscriptionRestore state + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + CrossSubscriptionRestore state + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class CustomCopyOptionResponse(dict): + """ + Duration based custom options to copy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomCopyOptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomCopyOptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomCopyOptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str, + duration: Optional[str] = None): + """ + Duration based custom options to copy + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'CustomCopyOption'. + :param str duration: Data copied after given timespan + """ + pulumi.set(__self__, "object_type", 'CustomCopyOption') + if duration is not None: + pulumi.set(__self__, "duration", duration) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'CustomCopyOption'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter + def duration(self) -> Optional[str]: + """ + Data copied after given timespan + """ + return pulumi.get(self, "duration") + + +@pulumi.output_type +class DataStoreInfoBaseResponse(dict): + """ + DataStoreInfo base + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataStoreType": + suggest = "data_store_type" + elif key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataStoreInfoBaseResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataStoreInfoBaseResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataStoreInfoBaseResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_store_type: str, + object_type: str): + """ + DataStoreInfo base + :param str data_store_type: type of datastore; Operational/Vault/Archive + :param str object_type: Type of Datasource object, used to initialize the right inherited type + """ + pulumi.set(__self__, "data_store_type", data_store_type) + pulumi.set(__self__, "object_type", object_type) + + @property + @pulumi.getter(name="dataStoreType") + def data_store_type(self) -> str: + """ + type of datastore; Operational/Vault/Archive + """ + return pulumi.get(self, "data_store_type") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of Datasource object, used to initialize the right inherited type + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class DatasourceResponse(dict): + """ + Datasource to be backed up + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceID": + suggest = "resource_id" + elif key == "datasourceType": + suggest = "datasource_type" + elif key == "objectType": + suggest = "object_type" + elif key == "resourceLocation": + suggest = "resource_location" + elif key == "resourceName": + suggest = "resource_name" + elif key == "resourceProperties": + suggest = "resource_properties" + elif key == "resourceType": + suggest = "resource_type" + elif key == "resourceUri": + suggest = "resource_uri" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DatasourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DatasourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DatasourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + resource_id: str, + datasource_type: Optional[str] = None, + object_type: Optional[str] = None, + resource_location: Optional[str] = None, + resource_name: Optional[str] = None, + resource_properties: Optional['outputs.DefaultResourcePropertiesResponse'] = None, + resource_type: Optional[str] = None, + resource_uri: Optional[str] = None): + """ + Datasource to be backed up + :param str resource_id: Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + :param str datasource_type: DatasourceType of the resource. + :param str object_type: Type of Datasource object, used to initialize the right inherited type + :param str resource_location: Location of datasource. + :param str resource_name: Unique identifier of the resource in the context of parent. + :param 'DefaultResourcePropertiesResponse' resource_properties: Properties specific to data source + :param str resource_type: Resource Type of Datasource. + :param str resource_uri: Uri of the resource. + """ + pulumi.set(__self__, "resource_id", resource_id) + if datasource_type is not None: + pulumi.set(__self__, "datasource_type", datasource_type) + if object_type is not None: + pulumi.set(__self__, "object_type", object_type) + if resource_location is not None: + pulumi.set(__self__, "resource_location", resource_location) + if resource_name is not None: + pulumi.set(__self__, "resource_name", resource_name) + if resource_properties is not None: + pulumi.set(__self__, "resource_properties", resource_properties) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + if resource_uri is not None: + pulumi.set(__self__, "resource_uri", resource_uri) + + @property + @pulumi.getter(name="resourceID") + def resource_id(self) -> str: + """ + Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + """ + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter(name="datasourceType") + def datasource_type(self) -> Optional[str]: + """ + DatasourceType of the resource. + """ + return pulumi.get(self, "datasource_type") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> Optional[str]: + """ + Type of Datasource object, used to initialize the right inherited type + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="resourceLocation") + def resource_location(self) -> Optional[str]: + """ + Location of datasource. + """ + return pulumi.get(self, "resource_location") + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> Optional[str]: + """ + Unique identifier of the resource in the context of parent. + """ + return pulumi.get(self, "resource_name") + + @property + @pulumi.getter(name="resourceProperties") + def resource_properties(self) -> Optional['outputs.DefaultResourcePropertiesResponse']: + """ + Properties specific to data source + """ + return pulumi.get(self, "resource_properties") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[str]: + """ + Resource Type of Datasource. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> Optional[str]: + """ + Uri of the resource. + """ + return pulumi.get(self, "resource_uri") + + +@pulumi.output_type +class DatasourceSetResponse(dict): + """ + DatasourceSet details of datasource to be backed up + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceID": + suggest = "resource_id" + elif key == "datasourceType": + suggest = "datasource_type" + elif key == "objectType": + suggest = "object_type" + elif key == "resourceLocation": + suggest = "resource_location" + elif key == "resourceName": + suggest = "resource_name" + elif key == "resourceProperties": + suggest = "resource_properties" + elif key == "resourceType": + suggest = "resource_type" + elif key == "resourceUri": + suggest = "resource_uri" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DatasourceSetResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DatasourceSetResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DatasourceSetResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + resource_id: str, + datasource_type: Optional[str] = None, + object_type: Optional[str] = None, + resource_location: Optional[str] = None, + resource_name: Optional[str] = None, + resource_properties: Optional['outputs.DefaultResourcePropertiesResponse'] = None, + resource_type: Optional[str] = None, + resource_uri: Optional[str] = None): + """ + DatasourceSet details of datasource to be backed up + :param str resource_id: Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + :param str datasource_type: DatasourceType of the resource. + :param str object_type: Type of Datasource object, used to initialize the right inherited type + :param str resource_location: Location of datasource. + :param str resource_name: Unique identifier of the resource in the context of parent. + :param 'DefaultResourcePropertiesResponse' resource_properties: Properties specific to data source set + :param str resource_type: Resource Type of Datasource. + :param str resource_uri: Uri of the resource. + """ + pulumi.set(__self__, "resource_id", resource_id) + if datasource_type is not None: + pulumi.set(__self__, "datasource_type", datasource_type) + if object_type is not None: + pulumi.set(__self__, "object_type", object_type) + if resource_location is not None: + pulumi.set(__self__, "resource_location", resource_location) + if resource_name is not None: + pulumi.set(__self__, "resource_name", resource_name) + if resource_properties is not None: + pulumi.set(__self__, "resource_properties", resource_properties) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + if resource_uri is not None: + pulumi.set(__self__, "resource_uri", resource_uri) + + @property + @pulumi.getter(name="resourceID") + def resource_id(self) -> str: + """ + Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + """ + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter(name="datasourceType") + def datasource_type(self) -> Optional[str]: + """ + DatasourceType of the resource. + """ + return pulumi.get(self, "datasource_type") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> Optional[str]: + """ + Type of Datasource object, used to initialize the right inherited type + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="resourceLocation") + def resource_location(self) -> Optional[str]: + """ + Location of datasource. + """ + return pulumi.get(self, "resource_location") + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> Optional[str]: + """ + Unique identifier of the resource in the context of parent. + """ + return pulumi.get(self, "resource_name") + + @property + @pulumi.getter(name="resourceProperties") + def resource_properties(self) -> Optional['outputs.DefaultResourcePropertiesResponse']: + """ + Properties specific to data source set + """ + return pulumi.get(self, "resource_properties") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[str]: + """ + Resource Type of Datasource. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> Optional[str]: + """ + Uri of the resource. + """ + return pulumi.get(self, "resource_uri") + + +@pulumi.output_type +class DayResponse(dict): + """ + Day of the week + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isLast": + suggest = "is_last" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DayResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DayResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DayResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + date: Optional[int] = None, + is_last: Optional[bool] = None): + """ + Day of the week + :param int date: Date of the month + :param bool is_last: Whether Date is last date of month + """ + if date is not None: + pulumi.set(__self__, "date", date) + if is_last is not None: + pulumi.set(__self__, "is_last", is_last) + + @property + @pulumi.getter + def date(self) -> Optional[int]: + """ + Date of the month + """ + return pulumi.get(self, "date") + + @property + @pulumi.getter(name="isLast") + def is_last(self) -> Optional[bool]: + """ + Whether Date is last date of month + """ + return pulumi.get(self, "is_last") + + +@pulumi.output_type +class DefaultResourcePropertiesResponse(dict): + """ + Default source properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DefaultResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DefaultResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DefaultResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str): + """ + Default source properties + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'DefaultResourceProperties'. + """ + pulumi.set(__self__, "object_type", 'DefaultResourceProperties') + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'DefaultResourceProperties'. + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class DppIdentityDetailsResponse(dict): + """ + Identity details + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DppIdentityDetailsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DppIdentityDetailsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DppIdentityDetailsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']] = None): + """ + Identity details + :param str principal_id: The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource. + :param str tenant_id: A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. + :param str type: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + :param Mapping[str, 'UserAssignedIdentityResponse'] user_assigned_identities: Gets or sets the user assigned identities. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + Gets or sets the user assigned identities. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class EncryptionSettingsResponse(dict): + """ + Customer Managed Key details of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "infrastructureEncryption": + suggest = "infrastructure_encryption" + elif key == "kekIdentity": + suggest = "kek_identity" + elif key == "keyVaultProperties": + suggest = "key_vault_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EncryptionSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EncryptionSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EncryptionSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + infrastructure_encryption: Optional[str] = None, + kek_identity: Optional['outputs.CmkKekIdentityResponse'] = None, + key_vault_properties: Optional['outputs.CmkKeyVaultPropertiesResponse'] = None, + state: Optional[str] = None): + """ + Customer Managed Key details of the resource. + :param str infrastructure_encryption: Enabling/Disabling the Double Encryption state + :param 'CmkKekIdentityResponse' kek_identity: The details of the managed identity used for CMK + :param 'CmkKeyVaultPropertiesResponse' key_vault_properties: The properties of the Key Vault which hosts CMK + :param str state: Encryption state of the Backup Vault. + """ + if infrastructure_encryption is not None: + pulumi.set(__self__, "infrastructure_encryption", infrastructure_encryption) + if kek_identity is not None: + pulumi.set(__self__, "kek_identity", kek_identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="infrastructureEncryption") + def infrastructure_encryption(self) -> Optional[str]: + """ + Enabling/Disabling the Double Encryption state + """ + return pulumi.get(self, "infrastructure_encryption") + + @property + @pulumi.getter(name="kekIdentity") + def kek_identity(self) -> Optional['outputs.CmkKekIdentityResponse']: + """ + The details of the managed identity used for CMK + """ + return pulumi.get(self, "kek_identity") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional['outputs.CmkKeyVaultPropertiesResponse']: + """ + The properties of the Key Vault which hosts CMK + """ + return pulumi.get(self, "key_vault_properties") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Encryption state of the Backup Vault. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class FeatureSettingsResponse(dict): + """ + Class containing feature settings of vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "crossRegionRestoreSettings": + suggest = "cross_region_restore_settings" + elif key == "crossSubscriptionRestoreSettings": + suggest = "cross_subscription_restore_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FeatureSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FeatureSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FeatureSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cross_region_restore_settings: Optional['outputs.CrossRegionRestoreSettingsResponse'] = None, + cross_subscription_restore_settings: Optional['outputs.CrossSubscriptionRestoreSettingsResponse'] = None): + """ + Class containing feature settings of vault + :param 'CrossSubscriptionRestoreSettingsResponse' cross_subscription_restore_settings: CrossSubscriptionRestore Settings + """ + if cross_region_restore_settings is not None: + pulumi.set(__self__, "cross_region_restore_settings", cross_region_restore_settings) + if cross_subscription_restore_settings is not None: + pulumi.set(__self__, "cross_subscription_restore_settings", cross_subscription_restore_settings) + + @property + @pulumi.getter(name="crossRegionRestoreSettings") + def cross_region_restore_settings(self) -> Optional['outputs.CrossRegionRestoreSettingsResponse']: + return pulumi.get(self, "cross_region_restore_settings") + + @property + @pulumi.getter(name="crossSubscriptionRestoreSettings") + def cross_subscription_restore_settings(self) -> Optional['outputs.CrossSubscriptionRestoreSettingsResponse']: + """ + CrossSubscriptionRestore Settings + """ + return pulumi.get(self, "cross_subscription_restore_settings") + + +@pulumi.output_type +class IdentityDetailsResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "useSystemAssignedIdentity": + suggest = "use_system_assigned_identity" + elif key == "userAssignedIdentityArmUrl": + suggest = "user_assigned_identity_arm_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityDetailsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityDetailsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityDetailsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + use_system_assigned_identity: Optional[bool] = None, + user_assigned_identity_arm_url: Optional[str] = None): + """ + :param bool use_system_assigned_identity: Specifies if the BI is protected by System Identity. + :param str user_assigned_identity_arm_url: ARM URL for User Assigned Identity. + """ + if use_system_assigned_identity is not None: + pulumi.set(__self__, "use_system_assigned_identity", use_system_assigned_identity) + if user_assigned_identity_arm_url is not None: + pulumi.set(__self__, "user_assigned_identity_arm_url", user_assigned_identity_arm_url) + + @property + @pulumi.getter(name="useSystemAssignedIdentity") + def use_system_assigned_identity(self) -> Optional[bool]: + """ + Specifies if the BI is protected by System Identity. + """ + return pulumi.get(self, "use_system_assigned_identity") + + @property + @pulumi.getter(name="userAssignedIdentityArmUrl") + def user_assigned_identity_arm_url(self) -> Optional[str]: + """ + ARM URL for User Assigned Identity. + """ + return pulumi.get(self, "user_assigned_identity_arm_url") + + +@pulumi.output_type +class ImmediateCopyOptionResponse(dict): + """ + Immediate copy Option + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ImmediateCopyOptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ImmediateCopyOptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ImmediateCopyOptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str): + """ + Immediate copy Option + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'ImmediateCopyOption'. + """ + pulumi.set(__self__, "object_type", 'ImmediateCopyOption') + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'ImmediateCopyOption'. + """ + return pulumi.get(self, "object_type") + + +@pulumi.output_type +class ImmutabilitySettingsResponse(dict): + """ + Immutability Settings at vault level + """ + def __init__(__self__, *, + state: Optional[str] = None): + """ + Immutability Settings at vault level + :param str state: Immutability state + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Immutability state + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class InnerErrorResponse(dict): + """ + Inner Error + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalInfo": + suggest = "additional_info" + elif key == "embeddedInnerError": + suggest = "embedded_inner_error" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InnerErrorResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InnerErrorResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InnerErrorResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_info: Optional[Mapping[str, str]] = None, + code: Optional[str] = None, + embedded_inner_error: Optional['outputs.InnerErrorResponse'] = None): + """ + Inner Error + :param Mapping[str, str] additional_info: Any Key value pairs that can be provided to the client for additional verbose information. + :param str code: Unique code for this error + :param 'InnerErrorResponse' embedded_inner_error: Child Inner Error, to allow Nesting. + """ + if additional_info is not None: + pulumi.set(__self__, "additional_info", additional_info) + if code is not None: + pulumi.set(__self__, "code", code) + if embedded_inner_error is not None: + pulumi.set(__self__, "embedded_inner_error", embedded_inner_error) + + @property + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Optional[Mapping[str, str]]: + """ + Any Key value pairs that can be provided to the client for additional verbose information. + """ + return pulumi.get(self, "additional_info") + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + Unique code for this error + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter(name="embeddedInnerError") + def embedded_inner_error(self) -> Optional['outputs.InnerErrorResponse']: + """ + Child Inner Error, to allow Nesting. + """ + return pulumi.get(self, "embedded_inner_error") + + +@pulumi.output_type +class KubernetesClusterBackupDatasourceParametersResponse(dict): + """ + Parameters for Kubernetes Cluster Backup Datasource + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includeClusterScopeResources": + suggest = "include_cluster_scope_resources" + elif key == "objectType": + suggest = "object_type" + elif key == "snapshotVolumes": + suggest = "snapshot_volumes" + elif key == "backupHookReferences": + suggest = "backup_hook_references" + elif key == "excludedNamespaces": + suggest = "excluded_namespaces" + elif key == "excludedResourceTypes": + suggest = "excluded_resource_types" + elif key == "includedNamespaces": + suggest = "included_namespaces" + elif key == "includedResourceTypes": + suggest = "included_resource_types" + elif key == "labelSelectors": + suggest = "label_selectors" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KubernetesClusterBackupDatasourceParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KubernetesClusterBackupDatasourceParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KubernetesClusterBackupDatasourceParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + include_cluster_scope_resources: bool, + object_type: str, + snapshot_volumes: bool, + backup_hook_references: Optional[Sequence['outputs.NamespacedNameResourceResponse']] = None, + excluded_namespaces: Optional[Sequence[str]] = None, + excluded_resource_types: Optional[Sequence[str]] = None, + included_namespaces: Optional[Sequence[str]] = None, + included_resource_types: Optional[Sequence[str]] = None, + label_selectors: Optional[Sequence[str]] = None): + """ + Parameters for Kubernetes Cluster Backup Datasource + :param bool include_cluster_scope_resources: Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'KubernetesClusterBackupDatasourceParameters'. + :param bool snapshot_volumes: Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. + :param Sequence['NamespacedNameResourceResponse'] backup_hook_references: Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + :param Sequence[str] excluded_namespaces: Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. + :param Sequence[str] excluded_resource_types: Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. + :param Sequence[str] included_namespaces: Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. + :param Sequence[str] included_resource_types: Gets or sets the include resource types property. This property sets the resource types to be included during backup. + :param Sequence[str] label_selectors: Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. + """ + pulumi.set(__self__, "include_cluster_scope_resources", include_cluster_scope_resources) + pulumi.set(__self__, "object_type", 'KubernetesClusterBackupDatasourceParameters') + pulumi.set(__self__, "snapshot_volumes", snapshot_volumes) + if backup_hook_references is not None: + pulumi.set(__self__, "backup_hook_references", backup_hook_references) + if excluded_namespaces is not None: + pulumi.set(__self__, "excluded_namespaces", excluded_namespaces) + if excluded_resource_types is not None: + pulumi.set(__self__, "excluded_resource_types", excluded_resource_types) + if included_namespaces is not None: + pulumi.set(__self__, "included_namespaces", included_namespaces) + if included_resource_types is not None: + pulumi.set(__self__, "included_resource_types", included_resource_types) + if label_selectors is not None: + pulumi.set(__self__, "label_selectors", label_selectors) + + @property + @pulumi.getter(name="includeClusterScopeResources") + def include_cluster_scope_resources(self) -> bool: + """ + Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. + """ + return pulumi.get(self, "include_cluster_scope_resources") + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'KubernetesClusterBackupDatasourceParameters'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="snapshotVolumes") + def snapshot_volumes(self) -> bool: + """ + Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. + """ + return pulumi.get(self, "snapshot_volumes") + + @property + @pulumi.getter(name="backupHookReferences") + def backup_hook_references(self) -> Optional[Sequence['outputs.NamespacedNameResourceResponse']]: + """ + Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. + """ + return pulumi.get(self, "backup_hook_references") + + @property + @pulumi.getter(name="excludedNamespaces") + def excluded_namespaces(self) -> Optional[Sequence[str]]: + """ + Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. + """ + return pulumi.get(self, "excluded_namespaces") + + @property + @pulumi.getter(name="excludedResourceTypes") + def excluded_resource_types(self) -> Optional[Sequence[str]]: + """ + Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. + """ + return pulumi.get(self, "excluded_resource_types") + + @property + @pulumi.getter(name="includedNamespaces") + def included_namespaces(self) -> Optional[Sequence[str]]: + """ + Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. + """ + return pulumi.get(self, "included_namespaces") + + @property + @pulumi.getter(name="includedResourceTypes") + def included_resource_types(self) -> Optional[Sequence[str]]: + """ + Gets or sets the include resource types property. This property sets the resource types to be included during backup. + """ + return pulumi.get(self, "included_resource_types") + + @property + @pulumi.getter(name="labelSelectors") + def label_selectors(self) -> Optional[Sequence[str]]: + """ + Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. + """ + return pulumi.get(self, "label_selectors") + + +@pulumi.output_type +class MonitoringSettingsResponse(dict): + """ + Monitoring Settings + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "azureMonitorAlertSettings": + suggest = "azure_monitor_alert_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + azure_monitor_alert_settings: Optional['outputs.AzureMonitorAlertSettingsResponse'] = None): + """ + Monitoring Settings + :param 'AzureMonitorAlertSettingsResponse' azure_monitor_alert_settings: Settings for Azure Monitor based alerts + """ + if azure_monitor_alert_settings is not None: + pulumi.set(__self__, "azure_monitor_alert_settings", azure_monitor_alert_settings) + + @property + @pulumi.getter(name="azureMonitorAlertSettings") + def azure_monitor_alert_settings(self) -> Optional['outputs.AzureMonitorAlertSettingsResponse']: + """ + Settings for Azure Monitor based alerts + """ + return pulumi.get(self, "azure_monitor_alert_settings") + + +@pulumi.output_type +class NamespacedNameResourceResponse(dict): + """ + Class to refer resources which contains namespace and name + """ + def __init__(__self__, *, + name: Optional[str] = None, + namespace: Optional[str] = None): + """ + Class to refer resources which contains namespace and name + :param str name: Name of the resource + :param str namespace: Namespace in which the resource exists + """ + if name is not None: + pulumi.set(__self__, "name", name) + if namespace is not None: + pulumi.set(__self__, "namespace", namespace) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def namespace(self) -> Optional[str]: + """ + Namespace in which the resource exists + """ + return pulumi.get(self, "namespace") + + +@pulumi.output_type +class PolicyInfoResponse(dict): + """ + Policy Info in backupInstance + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "policyId": + suggest = "policy_id" + elif key == "policyVersion": + suggest = "policy_version" + elif key == "policyParameters": + suggest = "policy_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PolicyInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PolicyInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PolicyInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + policy_id: str, + policy_version: str, + policy_parameters: Optional['outputs.PolicyParametersResponse'] = None): + """ + Policy Info in backupInstance + :param 'PolicyParametersResponse' policy_parameters: Policy parameters for the backup instance + """ + pulumi.set(__self__, "policy_id", policy_id) + pulumi.set(__self__, "policy_version", policy_version) + if policy_parameters is not None: + pulumi.set(__self__, "policy_parameters", policy_parameters) + + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> str: + return pulumi.get(self, "policy_id") + + @property + @pulumi.getter(name="policyVersion") + def policy_version(self) -> str: + return pulumi.get(self, "policy_version") + + @property + @pulumi.getter(name="policyParameters") + def policy_parameters(self) -> Optional['outputs.PolicyParametersResponse']: + """ + Policy parameters for the backup instance + """ + return pulumi.get(self, "policy_parameters") + + +@pulumi.output_type +class PolicyParametersResponse(dict): + """ + Parameters in Policy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupDatasourceParametersList": + suggest = "backup_datasource_parameters_list" + elif key == "dataStoreParametersList": + suggest = "data_store_parameters_list" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PolicyParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PolicyParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PolicyParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_datasource_parameters_list: Optional[Sequence[Any]] = None, + data_store_parameters_list: Optional[Sequence['outputs.AzureOperationalStoreParametersResponse']] = None): + """ + Parameters in Policy + :param Sequence[Union['BlobBackupDatasourceParametersResponse', 'KubernetesClusterBackupDatasourceParametersResponse']] backup_datasource_parameters_list: Gets or sets the Backup Data Source Parameters + :param Sequence['AzureOperationalStoreParametersResponse'] data_store_parameters_list: Gets or sets the DataStore Parameters + """ + if backup_datasource_parameters_list is not None: + pulumi.set(__self__, "backup_datasource_parameters_list", backup_datasource_parameters_list) + if data_store_parameters_list is not None: + pulumi.set(__self__, "data_store_parameters_list", data_store_parameters_list) + + @property + @pulumi.getter(name="backupDatasourceParametersList") + def backup_datasource_parameters_list(self) -> Optional[Sequence[Any]]: + """ + Gets or sets the Backup Data Source Parameters + """ + return pulumi.get(self, "backup_datasource_parameters_list") + + @property + @pulumi.getter(name="dataStoreParametersList") + def data_store_parameters_list(self) -> Optional[Sequence['outputs.AzureOperationalStoreParametersResponse']]: + """ + Gets or sets the DataStore Parameters + """ + return pulumi.get(self, "data_store_parameters_list") + + +@pulumi.output_type +class ProtectionStatusDetailsResponse(dict): + """ + Protection status details + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorDetails": + suggest = "error_details" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ProtectionStatusDetailsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ProtectionStatusDetailsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ProtectionStatusDetailsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + error_details: Optional['outputs.UserFacingErrorResponse'] = None, + status: Optional[str] = None): + """ + Protection status details + :param 'UserFacingErrorResponse' error_details: Specifies the protection status error of the resource + :param str status: Specifies the protection status of the resource + """ + if error_details is not None: + pulumi.set(__self__, "error_details", error_details) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="errorDetails") + def error_details(self) -> Optional['outputs.UserFacingErrorResponse']: + """ + Specifies the protection status error of the resource + """ + return pulumi.get(self, "error_details") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Specifies the protection status of the resource + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class ResourceGuardOperationDetailResponse(dict): + """ + VaultCritical Operation protected by a resource guard + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultResourceRequest": + suggest = "default_resource_request" + elif key == "vaultCriticalOperation": + suggest = "vault_critical_operation" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceGuardOperationDetailResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceGuardOperationDetailResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceGuardOperationDetailResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_resource_request: Optional[str] = None, + vault_critical_operation: Optional[str] = None): + """ + VaultCritical Operation protected by a resource guard + """ + if default_resource_request is not None: + pulumi.set(__self__, "default_resource_request", default_resource_request) + if vault_critical_operation is not None: + pulumi.set(__self__, "vault_critical_operation", vault_critical_operation) + + @property + @pulumi.getter(name="defaultResourceRequest") + def default_resource_request(self) -> Optional[str]: + return pulumi.get(self, "default_resource_request") + + @property + @pulumi.getter(name="vaultCriticalOperation") + def vault_critical_operation(self) -> Optional[str]: + return pulumi.get(self, "vault_critical_operation") + + +@pulumi.output_type +class ResourceGuardOperationResponse(dict): + """ + This class contains all the details about a critical operation. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "requestResourceType": + suggest = "request_resource_type" + elif key == "vaultCriticalOperation": + suggest = "vault_critical_operation" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceGuardOperationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceGuardOperationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceGuardOperationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + request_resource_type: str, + vault_critical_operation: str): + """ + This class contains all the details about a critical operation. + :param str request_resource_type: Type of resource request. + :param str vault_critical_operation: Name of the critical operation. + """ + pulumi.set(__self__, "request_resource_type", request_resource_type) + pulumi.set(__self__, "vault_critical_operation", vault_critical_operation) + + @property + @pulumi.getter(name="requestResourceType") + def request_resource_type(self) -> str: + """ + Type of resource request. + """ + return pulumi.get(self, "request_resource_type") + + @property + @pulumi.getter(name="vaultCriticalOperation") + def vault_critical_operation(self) -> str: + """ + Name of the critical operation. + """ + return pulumi.get(self, "vault_critical_operation") + + +@pulumi.output_type +class ResourceGuardProxyBaseResponse(dict): + """ + ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lastUpdatedTime": + suggest = "last_updated_time" + elif key == "resourceGuardOperationDetails": + suggest = "resource_guard_operation_details" + elif key == "resourceGuardResourceId": + suggest = "resource_guard_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceGuardProxyBaseResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceGuardProxyBaseResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceGuardProxyBaseResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: Optional[str] = None, + last_updated_time: Optional[str] = None, + resource_guard_operation_details: Optional[Sequence['outputs.ResourceGuardOperationDetailResponse']] = None, + resource_guard_resource_id: Optional[str] = None): + """ + ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource + """ + if description is not None: + pulumi.set(__self__, "description", description) + if last_updated_time is not None: + pulumi.set(__self__, "last_updated_time", last_updated_time) + if resource_guard_operation_details is not None: + pulumi.set(__self__, "resource_guard_operation_details", resource_guard_operation_details) + if resource_guard_resource_id is not None: + pulumi.set(__self__, "resource_guard_resource_id", resource_guard_resource_id) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="lastUpdatedTime") + def last_updated_time(self) -> Optional[str]: + return pulumi.get(self, "last_updated_time") + + @property + @pulumi.getter(name="resourceGuardOperationDetails") + def resource_guard_operation_details(self) -> Optional[Sequence['outputs.ResourceGuardOperationDetailResponse']]: + return pulumi.get(self, "resource_guard_operation_details") + + @property + @pulumi.getter(name="resourceGuardResourceId") + def resource_guard_resource_id(self) -> Optional[str]: + return pulumi.get(self, "resource_guard_resource_id") + + +@pulumi.output_type +class ResourceGuardResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowAutoApprovals": + suggest = "allow_auto_approvals" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "resourceGuardOperations": + suggest = "resource_guard_operations" + elif key == "vaultCriticalOperationExclusionList": + suggest = "vault_critical_operation_exclusion_list" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceGuardResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceGuardResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceGuardResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allow_auto_approvals: bool, + description: str, + provisioning_state: str, + resource_guard_operations: Sequence['outputs.ResourceGuardOperationResponse'], + vault_critical_operation_exclusion_list: Optional[Sequence[str]] = None): + """ + :param bool allow_auto_approvals: This flag indicates whether auto approval is allowed or not. + :param str description: Description about the pre-req steps to perform all the critical operations. + :param str provisioning_state: Provisioning state of the BackupVault resource + :param Sequence['ResourceGuardOperationResponse'] resource_guard_operations: {readonly} List of operation details those are protected by the ResourceGuard resource + :param Sequence[str] vault_critical_operation_exclusion_list: List of critical operations which are not protected by this resourceGuard + """ + pulumi.set(__self__, "allow_auto_approvals", allow_auto_approvals) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "resource_guard_operations", resource_guard_operations) + if vault_critical_operation_exclusion_list is not None: + pulumi.set(__self__, "vault_critical_operation_exclusion_list", vault_critical_operation_exclusion_list) + + @property + @pulumi.getter(name="allowAutoApprovals") + def allow_auto_approvals(self) -> bool: + """ + This flag indicates whether auto approval is allowed or not. + """ + return pulumi.get(self, "allow_auto_approvals") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description about the pre-req steps to perform all the critical operations. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the BackupVault resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceGuardOperations") + def resource_guard_operations(self) -> Sequence['outputs.ResourceGuardOperationResponse']: + """ + {readonly} List of operation details those are protected by the ResourceGuard resource + """ + return pulumi.get(self, "resource_guard_operations") + + @property + @pulumi.getter(name="vaultCriticalOperationExclusionList") + def vault_critical_operation_exclusion_list(self) -> Optional[Sequence[str]]: + """ + List of critical operations which are not protected by this resourceGuard + """ + return pulumi.get(self, "vault_critical_operation_exclusion_list") + + +@pulumi.output_type +class ResourceMoveDetailsResponse(dict): + """ + ResourceMoveDetails will be returned in response to GetResource call from ARM + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "completionTimeUtc": + suggest = "completion_time_utc" + elif key == "operationId": + suggest = "operation_id" + elif key == "sourceResourcePath": + suggest = "source_resource_path" + elif key == "startTimeUtc": + suggest = "start_time_utc" + elif key == "targetResourcePath": + suggest = "target_resource_path" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceMoveDetailsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceMoveDetailsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceMoveDetailsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + completion_time_utc: Optional[str] = None, + operation_id: Optional[str] = None, + source_resource_path: Optional[str] = None, + start_time_utc: Optional[str] = None, + target_resource_path: Optional[str] = None): + """ + ResourceMoveDetails will be returned in response to GetResource call from ARM + :param str completion_time_utc: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + :param str operation_id: CorrelationId of latest ResourceMove operation attempted + :param str source_resource_path: ARM resource path of source resource + :param str start_time_utc: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + :param str target_resource_path: ARM resource path of target resource used in latest ResourceMove operation + """ + if completion_time_utc is not None: + pulumi.set(__self__, "completion_time_utc", completion_time_utc) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + if source_resource_path is not None: + pulumi.set(__self__, "source_resource_path", source_resource_path) + if start_time_utc is not None: + pulumi.set(__self__, "start_time_utc", start_time_utc) + if target_resource_path is not None: + pulumi.set(__self__, "target_resource_path", target_resource_path) + + @property + @pulumi.getter(name="completionTimeUtc") + def completion_time_utc(self) -> Optional[str]: + """ + Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + """ + return pulumi.get(self, "completion_time_utc") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + CorrelationId of latest ResourceMove operation attempted + """ + return pulumi.get(self, "operation_id") + + @property + @pulumi.getter(name="sourceResourcePath") + def source_resource_path(self) -> Optional[str]: + """ + ARM resource path of source resource + """ + return pulumi.get(self, "source_resource_path") + + @property + @pulumi.getter(name="startTimeUtc") + def start_time_utc(self) -> Optional[str]: + """ + Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + """ + return pulumi.get(self, "start_time_utc") + + @property + @pulumi.getter(name="targetResourcePath") + def target_resource_path(self) -> Optional[str]: + """ + ARM resource path of target resource used in latest ResourceMove operation + """ + return pulumi.get(self, "target_resource_path") + + +@pulumi.output_type +class RetentionTagResponse(dict): + """ + Retention tag + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "eTag": + suggest = "e_tag" + elif key == "tagName": + suggest = "tag_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RetentionTagResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RetentionTagResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RetentionTagResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + e_tag: str, + id: str, + tag_name: str): + """ + Retention tag + :param str e_tag: Retention Tag version. + :param str id: Retention Tag version. + :param str tag_name: Retention Tag Name to relate it to retention rule. + """ + pulumi.set(__self__, "e_tag", e_tag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "tag_name", tag_name) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + Retention Tag version. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Retention Tag version. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="tagName") + def tag_name(self) -> str: + """ + Retention Tag Name to relate it to retention rule. + """ + return pulumi.get(self, "tag_name") + + +@pulumi.output_type +class ScheduleBasedBackupCriteriaResponse(dict): + """ + Schedule based backup criteria + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + elif key == "absoluteCriteria": + suggest = "absolute_criteria" + elif key == "daysOfMonth": + suggest = "days_of_month" + elif key == "daysOfTheWeek": + suggest = "days_of_the_week" + elif key == "monthsOfYear": + suggest = "months_of_year" + elif key == "scheduleTimes": + suggest = "schedule_times" + elif key == "weeksOfTheMonth": + suggest = "weeks_of_the_month" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ScheduleBasedBackupCriteriaResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ScheduleBasedBackupCriteriaResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ScheduleBasedBackupCriteriaResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str, + absolute_criteria: Optional[Sequence[str]] = None, + days_of_month: Optional[Sequence['outputs.DayResponse']] = None, + days_of_the_week: Optional[Sequence[str]] = None, + months_of_year: Optional[Sequence[str]] = None, + schedule_times: Optional[Sequence[str]] = None, + weeks_of_the_month: Optional[Sequence[str]] = None): + """ + Schedule based backup criteria + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedBackupCriteria'. + :param Sequence[str] absolute_criteria: it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + and should be part of AbsoluteMarker enum + :param Sequence['DayResponse'] days_of_month: This is day of the month from 1 to 28 other wise last of month + :param Sequence[str] days_of_the_week: It should be Sunday/Monday/T..../Saturday + :param Sequence[str] months_of_year: It should be January/February/....../December + :param Sequence[str] schedule_times: List of schedule times for backup + :param Sequence[str] weeks_of_the_month: It should be First/Second/Third/Fourth/Last + """ + pulumi.set(__self__, "object_type", 'ScheduleBasedBackupCriteria') + if absolute_criteria is not None: + pulumi.set(__self__, "absolute_criteria", absolute_criteria) + if days_of_month is not None: + pulumi.set(__self__, "days_of_month", days_of_month) + if days_of_the_week is not None: + pulumi.set(__self__, "days_of_the_week", days_of_the_week) + if months_of_year is not None: + pulumi.set(__self__, "months_of_year", months_of_year) + if schedule_times is not None: + pulumi.set(__self__, "schedule_times", schedule_times) + if weeks_of_the_month is not None: + pulumi.set(__self__, "weeks_of_the_month", weeks_of_the_month) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedBackupCriteria'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="absoluteCriteria") + def absolute_criteria(self) -> Optional[Sequence[str]]: + """ + it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" + and should be part of AbsoluteMarker enum + """ + return pulumi.get(self, "absolute_criteria") + + @property + @pulumi.getter(name="daysOfMonth") + def days_of_month(self) -> Optional[Sequence['outputs.DayResponse']]: + """ + This is day of the month from 1 to 28 other wise last of month + """ + return pulumi.get(self, "days_of_month") + + @property + @pulumi.getter(name="daysOfTheWeek") + def days_of_the_week(self) -> Optional[Sequence[str]]: + """ + It should be Sunday/Monday/T..../Saturday + """ + return pulumi.get(self, "days_of_the_week") + + @property + @pulumi.getter(name="monthsOfYear") + def months_of_year(self) -> Optional[Sequence[str]]: + """ + It should be January/February/....../December + """ + return pulumi.get(self, "months_of_year") + + @property + @pulumi.getter(name="scheduleTimes") + def schedule_times(self) -> Optional[Sequence[str]]: + """ + List of schedule times for backup + """ + return pulumi.get(self, "schedule_times") + + @property + @pulumi.getter(name="weeksOfTheMonth") + def weeks_of_the_month(self) -> Optional[Sequence[str]]: + """ + It should be First/Second/Third/Fourth/Last + """ + return pulumi.get(self, "weeks_of_the_month") + + +@pulumi.output_type +class ScheduleBasedTriggerContextResponse(dict): + """ + Schedule based trigger context + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + elif key == "taggingCriteria": + suggest = "tagging_criteria" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ScheduleBasedTriggerContextResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ScheduleBasedTriggerContextResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ScheduleBasedTriggerContextResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str, + schedule: 'outputs.BackupScheduleResponse', + tagging_criteria: Sequence['outputs.TaggingCriteriaResponse']): + """ + Schedule based trigger context + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedTriggerContext'. + :param 'BackupScheduleResponse' schedule: Schedule for this backup + :param Sequence['TaggingCriteriaResponse'] tagging_criteria: List of tags that can be applicable for given schedule. + """ + pulumi.set(__self__, "object_type", 'ScheduleBasedTriggerContext') + pulumi.set(__self__, "schedule", schedule) + pulumi.set(__self__, "tagging_criteria", tagging_criteria) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'ScheduleBasedTriggerContext'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter + def schedule(self) -> 'outputs.BackupScheduleResponse': + """ + Schedule for this backup + """ + return pulumi.get(self, "schedule") + + @property + @pulumi.getter(name="taggingCriteria") + def tagging_criteria(self) -> Sequence['outputs.TaggingCriteriaResponse']: + """ + List of tags that can be applicable for given schedule. + """ + return pulumi.get(self, "tagging_criteria") + + +@pulumi.output_type +class SecretStoreBasedAuthCredentialsResponse(dict): + """ + Secret store based authentication credentials. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectType": + suggest = "object_type" + elif key == "secretStoreResource": + suggest = "secret_store_resource" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecretStoreBasedAuthCredentialsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecretStoreBasedAuthCredentialsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecretStoreBasedAuthCredentialsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + object_type: str, + secret_store_resource: Optional['outputs.SecretStoreResourceResponse'] = None): + """ + Secret store based authentication credentials. + :param str object_type: Type of the specific object - used for deserializing + Expected value is 'SecretStoreBasedAuthCredentials'. + :param 'SecretStoreResourceResponse' secret_store_resource: Secret store resource + """ + pulumi.set(__self__, "object_type", 'SecretStoreBasedAuthCredentials') + if secret_store_resource is not None: + pulumi.set(__self__, "secret_store_resource", secret_store_resource) + + @property + @pulumi.getter(name="objectType") + def object_type(self) -> str: + """ + Type of the specific object - used for deserializing + Expected value is 'SecretStoreBasedAuthCredentials'. + """ + return pulumi.get(self, "object_type") + + @property + @pulumi.getter(name="secretStoreResource") + def secret_store_resource(self) -> Optional['outputs.SecretStoreResourceResponse']: + """ + Secret store resource + """ + return pulumi.get(self, "secret_store_resource") + + +@pulumi.output_type +class SecretStoreResourceResponse(dict): + """ + Class representing a secret store resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "secretStoreType": + suggest = "secret_store_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecretStoreResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecretStoreResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecretStoreResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + secret_store_type: str, + uri: Optional[str] = None, + value: Optional[str] = None): + """ + Class representing a secret store resource. + :param str secret_store_type: Gets or sets the type of secret store + :param str uri: Uri to get to the resource + :param str value: Gets or sets value stored in secret store resource + """ + pulumi.set(__self__, "secret_store_type", secret_store_type) + if uri is not None: + pulumi.set(__self__, "uri", uri) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="secretStoreType") + def secret_store_type(self) -> str: + """ + Gets or sets the type of secret store + """ + return pulumi.get(self, "secret_store_type") + + @property + @pulumi.getter + def uri(self) -> Optional[str]: + """ + Uri to get to the resource + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + Gets or sets value stored in secret store resource + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class SecuritySettingsResponse(dict): + """ + Class containing security settings of vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "encryptionSettings": + suggest = "encryption_settings" + elif key == "immutabilitySettings": + suggest = "immutability_settings" + elif key == "softDeleteSettings": + suggest = "soft_delete_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecuritySettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecuritySettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecuritySettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + encryption_settings: Optional['outputs.EncryptionSettingsResponse'] = None, + immutability_settings: Optional['outputs.ImmutabilitySettingsResponse'] = None, + soft_delete_settings: Optional['outputs.SoftDeleteSettingsResponse'] = None): + """ + Class containing security settings of vault + :param 'EncryptionSettingsResponse' encryption_settings: Customer Managed Key details of the resource. + :param 'ImmutabilitySettingsResponse' immutability_settings: Immutability Settings at vault level + :param 'SoftDeleteSettingsResponse' soft_delete_settings: Soft delete related settings + """ + if encryption_settings is not None: + pulumi.set(__self__, "encryption_settings", encryption_settings) + if immutability_settings is not None: + pulumi.set(__self__, "immutability_settings", immutability_settings) + if soft_delete_settings is not None: + pulumi.set(__self__, "soft_delete_settings", soft_delete_settings) + + @property + @pulumi.getter(name="encryptionSettings") + def encryption_settings(self) -> Optional['outputs.EncryptionSettingsResponse']: + """ + Customer Managed Key details of the resource. + """ + return pulumi.get(self, "encryption_settings") + + @property + @pulumi.getter(name="immutabilitySettings") + def immutability_settings(self) -> Optional['outputs.ImmutabilitySettingsResponse']: + """ + Immutability Settings at vault level + """ + return pulumi.get(self, "immutability_settings") + + @property + @pulumi.getter(name="softDeleteSettings") + def soft_delete_settings(self) -> Optional['outputs.SoftDeleteSettingsResponse']: + """ + Soft delete related settings + """ + return pulumi.get(self, "soft_delete_settings") + + +@pulumi.output_type +class SoftDeleteSettingsResponse(dict): + """ + Soft delete related settings + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "retentionDurationInDays": + suggest = "retention_duration_in_days" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SoftDeleteSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SoftDeleteSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SoftDeleteSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + retention_duration_in_days: Optional[float] = None, + state: Optional[str] = None): + """ + Soft delete related settings + :param float retention_duration_in_days: Soft delete retention duration + :param str state: State of soft delete + """ + if retention_duration_in_days is not None: + pulumi.set(__self__, "retention_duration_in_days", retention_duration_in_days) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="retentionDurationInDays") + def retention_duration_in_days(self) -> Optional[float]: + """ + Soft delete retention duration + """ + return pulumi.get(self, "retention_duration_in_days") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of soft delete + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class SourceLifeCycleResponse(dict): + """ + Source LifeCycle + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deleteAfter": + suggest = "delete_after" + elif key == "sourceDataStore": + suggest = "source_data_store" + elif key == "targetDataStoreCopySettings": + suggest = "target_data_store_copy_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SourceLifeCycleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SourceLifeCycleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SourceLifeCycleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + delete_after: 'outputs.AbsoluteDeleteOptionResponse', + source_data_store: 'outputs.DataStoreInfoBaseResponse', + target_data_store_copy_settings: Optional[Sequence['outputs.TargetCopySettingResponse']] = None): + """ + Source LifeCycle + :param 'AbsoluteDeleteOptionResponse' delete_after: Delete Option + :param 'DataStoreInfoBaseResponse' source_data_store: DataStoreInfo base + """ + pulumi.set(__self__, "delete_after", delete_after) + pulumi.set(__self__, "source_data_store", source_data_store) + if target_data_store_copy_settings is not None: + pulumi.set(__self__, "target_data_store_copy_settings", target_data_store_copy_settings) + + @property + @pulumi.getter(name="deleteAfter") + def delete_after(self) -> 'outputs.AbsoluteDeleteOptionResponse': + """ + Delete Option + """ + return pulumi.get(self, "delete_after") + + @property + @pulumi.getter(name="sourceDataStore") + def source_data_store(self) -> 'outputs.DataStoreInfoBaseResponse': + """ + DataStoreInfo base + """ + return pulumi.get(self, "source_data_store") + + @property + @pulumi.getter(name="targetDataStoreCopySettings") + def target_data_store_copy_settings(self) -> Optional[Sequence['outputs.TargetCopySettingResponse']]: + return pulumi.get(self, "target_data_store_copy_settings") + + +@pulumi.output_type +class StorageSettingResponse(dict): + """ + Storage setting + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "datastoreType": + suggest = "datastore_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StorageSettingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StorageSettingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StorageSettingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + datastore_type: Optional[str] = None, + type: Optional[str] = None): + """ + Storage setting + :param str datastore_type: Gets or sets the type of the datastore. + :param str type: Gets or sets the type. + """ + if datastore_type is not None: + pulumi.set(__self__, "datastore_type", datastore_type) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="datastoreType") + def datastore_type(self) -> Optional[str]: + """ + Gets or sets the type of the datastore. + """ + return pulumi.get(self, "datastore_type") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Gets or sets the type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TaggingCriteriaResponse(dict): + """ + Tagging criteria + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isDefault": + suggest = "is_default" + elif key == "tagInfo": + suggest = "tag_info" + elif key == "taggingPriority": + suggest = "tagging_priority" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TaggingCriteriaResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TaggingCriteriaResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TaggingCriteriaResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_default: bool, + tag_info: 'outputs.RetentionTagResponse', + tagging_priority: float, + criteria: Optional[Sequence['outputs.ScheduleBasedBackupCriteriaResponse']] = None): + """ + Tagging criteria + :param bool is_default: Specifies if tag is default. + :param 'RetentionTagResponse' tag_info: Retention tag information + :param float tagging_priority: Retention Tag priority. + :param Sequence['ScheduleBasedBackupCriteriaResponse'] criteria: Criteria which decides whether the tag can be applied to a triggered backup. + """ + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "tag_info", tag_info) + pulumi.set(__self__, "tagging_priority", tagging_priority) + if criteria is not None: + pulumi.set(__self__, "criteria", criteria) + + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> bool: + """ + Specifies if tag is default. + """ + return pulumi.get(self, "is_default") + + @property + @pulumi.getter(name="tagInfo") + def tag_info(self) -> 'outputs.RetentionTagResponse': + """ + Retention tag information + """ + return pulumi.get(self, "tag_info") + + @property + @pulumi.getter(name="taggingPriority") + def tagging_priority(self) -> float: + """ + Retention Tag priority. + """ + return pulumi.get(self, "tagging_priority") + + @property + @pulumi.getter + def criteria(self) -> Optional[Sequence['outputs.ScheduleBasedBackupCriteriaResponse']]: + """ + Criteria which decides whether the tag can be applied to a triggered backup. + """ + return pulumi.get(self, "criteria") + + +@pulumi.output_type +class TargetCopySettingResponse(dict): + """ + Target copy settings + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "copyAfter": + suggest = "copy_after" + elif key == "dataStore": + suggest = "data_store" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TargetCopySettingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TargetCopySettingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TargetCopySettingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + copy_after: Any, + data_store: 'outputs.DataStoreInfoBaseResponse'): + """ + Target copy settings + :param Union['CopyOnExpiryOptionResponse', 'CustomCopyOptionResponse', 'ImmediateCopyOptionResponse'] copy_after: It can be CustomCopyOption or ImmediateCopyOption. + :param 'DataStoreInfoBaseResponse' data_store: Info of target datastore + """ + pulumi.set(__self__, "copy_after", copy_after) + pulumi.set(__self__, "data_store", data_store) + + @property + @pulumi.getter(name="copyAfter") + def copy_after(self) -> Any: + """ + It can be CustomCopyOption or ImmediateCopyOption. + """ + return pulumi.get(self, "copy_after") + + @property + @pulumi.getter(name="dataStore") + def data_store(self) -> 'outputs.DataStoreInfoBaseResponse': + """ + Info of target datastore + """ + return pulumi.get(self, "data_store") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + User assigned identity properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + User assigned identity properties + :param str client_id: The client ID of the assigned identity. + :param str principal_id: The principal ID of the assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class UserFacingErrorResponse(dict): + """ + Error object used by layers that have access to localized content, and propagate that to user + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "innerError": + suggest = "inner_error" + elif key == "isRetryable": + suggest = "is_retryable" + elif key == "isUserError": + suggest = "is_user_error" + elif key == "recommendedAction": + suggest = "recommended_action" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserFacingErrorResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserFacingErrorResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserFacingErrorResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + code: Optional[str] = None, + details: Optional[Sequence['outputs.UserFacingErrorResponse']] = None, + inner_error: Optional['outputs.InnerErrorResponse'] = None, + is_retryable: Optional[bool] = None, + is_user_error: Optional[bool] = None, + message: Optional[str] = None, + properties: Optional[Mapping[str, str]] = None, + recommended_action: Optional[Sequence[str]] = None, + target: Optional[str] = None): + """ + Error object used by layers that have access to localized content, and propagate that to user + :param str code: Unique code for this error + :param Sequence['UserFacingErrorResponse'] details: Additional related Errors + :param 'InnerErrorResponse' inner_error: Inner Error + :param bool is_retryable: Whether the operation will be retryable or not + :param bool is_user_error: Whether the operation is due to a user error or service error + :param Mapping[str, str] properties: Any key value pairs that can be injected inside error object + :param Sequence[str] recommended_action: RecommendedAction � localized. + :param str target: Target of the error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if details is not None: + pulumi.set(__self__, "details", details) + if inner_error is not None: + pulumi.set(__self__, "inner_error", inner_error) + if is_retryable is not None: + pulumi.set(__self__, "is_retryable", is_retryable) + if is_user_error is not None: + pulumi.set(__self__, "is_user_error", is_user_error) + if message is not None: + pulumi.set(__self__, "message", message) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if recommended_action is not None: + pulumi.set(__self__, "recommended_action", recommended_action) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + Unique code for this error + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def details(self) -> Optional[Sequence['outputs.UserFacingErrorResponse']]: + """ + Additional related Errors + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter(name="innerError") + def inner_error(self) -> Optional['outputs.InnerErrorResponse']: + """ + Inner Error + """ + return pulumi.get(self, "inner_error") + + @property + @pulumi.getter(name="isRetryable") + def is_retryable(self) -> Optional[bool]: + """ + Whether the operation will be retryable or not + """ + return pulumi.get(self, "is_retryable") + + @property + @pulumi.getter(name="isUserError") + def is_user_error(self) -> Optional[bool]: + """ + Whether the operation is due to a user error or service error + """ + return pulumi.get(self, "is_user_error") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + return pulumi.get(self, "message") + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, str]]: + """ + Any key value pairs that can be injected inside error object + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="recommendedAction") + def recommended_action(self) -> Optional[Sequence[str]]: + """ + RecommendedAction � localized. + """ + return pulumi.get(self, "recommended_action") + + @property + @pulumi.getter + def target(self) -> Optional[str]: + """ + Target of the error. + """ + return pulumi.get(self, "target") + + diff --git a/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py new file mode 100644 index 000000000000..785643f95de3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py @@ -0,0 +1,279 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ResourceGuardInitArgs', 'ResourceGuard'] + +@pulumi.input_type +class ResourceGuardInitArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + e_tag: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['ResourceGuardArgs']] = None, + resource_guards_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ResourceGuard resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] e_tag: Optional ETag. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input['ResourceGuardArgs'] properties: ResourceGuardResource properties + :param pulumi.Input[str] resource_guards_name: The name of ResourceGuard + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if e_tag is not None: + pulumi.set(__self__, "e_tag", e_tag) + if location is not None: + pulumi.set(__self__, "location", location) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if resource_guards_name is not None: + pulumi.set(__self__, "resource_guards_name", resource_guards_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="eTag") + def e_tag(self) -> Optional[pulumi.Input[str]]: + """ + Optional ETag. + """ + return pulumi.get(self, "e_tag") + + @e_tag.setter + def e_tag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "e_tag", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ResourceGuardArgs']]: + """ + ResourceGuardResource properties + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ResourceGuardArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="resourceGuardsName") + def resource_guards_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of ResourceGuard + """ + return pulumi.get(self, "resource_guards_name") + + @resource_guards_name.setter + def resource_guards_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_guards_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 ResourceGuard(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + e_tag: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ResourceGuardArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_guards_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Create a ResourceGuard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] e_tag: Optional ETag. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[pulumi.InputType['ResourceGuardArgs']] properties: ResourceGuardResource properties + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] resource_guards_name: The name of ResourceGuard + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ResourceGuardInitArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a ResourceGuard resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ResourceGuardInitArgs 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(ResourceGuardInitArgs, 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, + e_tag: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ResourceGuardArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_guards_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): + 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__ = ResourceGuardInitArgs.__new__(ResourceGuardInitArgs) + + __props__.__dict__["e_tag"] = e_tag + __props__.__dict__["location"] = location + __props__.__dict__["properties"] = properties + 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__["resource_guards_name"] = resource_guards_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:ResourceGuard"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:ResourceGuard")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ResourceGuard, __self__).__init__( + 'azure-native:dataprotection/v20230601preview:ResourceGuard', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ResourceGuard': + """ + Get an existing ResourceGuard 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ResourceGuardInitArgs.__new__(ResourceGuardInitArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return ResourceGuard(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[Optional[str]]: + """ + Optional ETag. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ResourceGuardResponse']: + """ + ResourceGuardResource properties + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dbformysql/__init__.py b/sdk/python/pulumi_azure_native/dbformysql/__init__.py index aa4c237d9001..da11146d129f 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/__init__.py +++ b/sdk/python/pulumi_azure_native/dbformysql/__init__.py @@ -42,6 +42,8 @@ v20220101 = __v20220101 import pulumi_azure_native.dbformysql.v20220930preview as __v20220930preview v20220930preview = __v20220930preview + import pulumi_azure_native.dbformysql.v20230601preview as __v20230601preview + v20230601preview = __v20230601preview import pulumi_azure_native.dbformysql.v20230630 as __v20230630 v20230630 = __v20230630 else: @@ -54,5 +56,6 @@ v20211201preview = _utilities.lazy_import('pulumi_azure_native.dbformysql.v20211201preview') v20220101 = _utilities.lazy_import('pulumi_azure_native.dbformysql.v20220101') v20220930preview = _utilities.lazy_import('pulumi_azure_native.dbformysql.v20220930preview') + v20230601preview = _utilities.lazy_import('pulumi_azure_native.dbformysql.v20230601preview') v20230630 = _utilities.lazy_import('pulumi_azure_native.dbformysql.v20230630') diff --git a/sdk/python/pulumi_azure_native/dbformysql/azure_ad_administrator.py b/sdk/python/pulumi_azure_native/dbformysql/azure_ad_administrator.py index 01d5422c9625..510b1cbe68d9 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/azure_ad_administrator.py +++ b/sdk/python/pulumi_azure_native/dbformysql/azure_ad_administrator.py @@ -233,7 +233,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:AzureADAdministrator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:AzureADAdministrator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AzureADAdministrator, __self__).__init__( 'azure-native:dbformysql:AzureADAdministrator', diff --git a/sdk/python/pulumi_azure_native/dbformysql/configuration.py b/sdk/python/pulumi_azure_native/dbformysql/configuration.py index 0b5a7ba363b5..3ae327deeb48 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/configuration.py +++ b/sdk/python/pulumi_azure_native/dbformysql/configuration.py @@ -201,7 +201,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbformysql:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbformysql/database.py b/sdk/python/pulumi_azure_native/dbformysql/database.py index 4578c662ecad..da4fa41ddd66 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/database.py +++ b/sdk/python/pulumi_azure_native/dbformysql/database.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:dbformysql:Database', diff --git a/sdk/python/pulumi_azure_native/dbformysql/firewall_rule.py b/sdk/python/pulumi_azure_native/dbformysql/firewall_rule.py index afcbfb503d47..51f608fe2abd 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbformysql/firewall_rule.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbformysql:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbformysql/server.py b/sdk/python/pulumi_azure_native/dbformysql/server.py index fc0b3935edae..be0c72cf4c4b 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/server.py +++ b/sdk/python/pulumi_azure_native/dbformysql/server.py @@ -476,7 +476,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbformysql:Server', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20200701preview/server.py b/sdk/python/pulumi_azure_native/dbformysql/v20200701preview/server.py index 3209f3f10982..ed0ebf7d9f99 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20200701preview/server.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20200701preview/server.py @@ -498,7 +498,7 @@ def _internal_init(__self__, __props__.__dict__["standby_availability_zone"] = None __props__.__dict__["state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbformysql/v20200701preview:Server', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/configuration.py b/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/configuration.py index 501234b95975..79a7a0d8f4dc 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/configuration.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/configuration.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["is_read_only"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbformysql/v20200701privatepreview:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/server.py b/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/server.py index 71ac96d665a0..ff3428e5dbae 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/server.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20200701privatepreview/server.py @@ -478,7 +478,7 @@ def _internal_init(__self__, __props__.__dict__["standby_availability_zone"] = None __props__.__dict__["state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbformysql/v20200701privatepreview:Server', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20220101/azure_ad_administrator.py b/sdk/python/pulumi_azure_native/dbformysql/v20220101/azure_ad_administrator.py index d690b808e528..2e9b3db8b2b8 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20220101/azure_ad_administrator.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20220101/azure_ad_administrator.py @@ -231,7 +231,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:AzureADAdministrator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:AzureADAdministrator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AzureADAdministrator, __self__).__init__( 'azure-native:dbformysql/v20220101:AzureADAdministrator', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20220101/configuration.py b/sdk/python/pulumi_azure_native/dbformysql/v20220101/configuration.py index dc79eb543f0c..21ba82054446 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20220101/configuration.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20220101/configuration.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Configuration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Configuration, __self__).__init__( 'azure-native:dbformysql/v20220101:Configuration', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20220101/database.py b/sdk/python/pulumi_azure_native/dbformysql/v20220101/database.py index 9970df1c8270..47851df9ae06 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20220101/database.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20220101/database.py @@ -170,7 +170,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:dbformysql/v20220101:Database', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20220101/firewall_rule.py b/sdk/python/pulumi_azure_native/dbformysql/v20220101/firewall_rule.py index 081cec435a1c..575d1e026b91 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20220101/firewall_rule.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20220101/firewall_rule.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:FirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:FirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FirewallRule, __self__).__init__( 'azure-native:dbformysql/v20220101:FirewallRule', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20220101/server.py b/sdk/python/pulumi_azure_native/dbformysql/v20220101/server.py index 50945bb6bc8f..d5327e9c95f2 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20220101/server.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20220101/server.py @@ -474,7 +474,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbformysql/v20220101:Server', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20220930preview/server.py b/sdk/python/pulumi_azure_native/dbformysql/v20220930preview/server.py index c2d45f28fed4..6705ceea6bf3 100644 --- a/sdk/python/pulumi_azure_native/dbformysql/v20220930preview/server.py +++ b/sdk/python/pulumi_azure_native/dbformysql/v20220930preview/server.py @@ -474,7 +474,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20230601preview:Server")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Server, __self__).__init__( 'azure-native:dbformysql/v20220930preview:Server', diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/__init__.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/__init__.py new file mode 100644 index 000000000000..4a8a2402e46b --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/__init__.py @@ -0,0 +1,21 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .azure_ad_administrator import * +from .configuration import * +from .database import * +from .firewall_rule import * +from .get_azure_ad_administrator import * +from .get_configuration import * +from .get_database import * +from .get_firewall_rule import * +from .get_get_private_dns_zone_suffix_execute import * +from .get_server import * +from .server import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/_enums.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/_enums.py new file mode 100644 index 000000000000..fea14fbf9f15 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/_enums.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AdministratorType', + 'ConfigurationSource', + 'CreateMode', + 'DataEncryptionType', + 'EnableStatusEnum', + 'HighAvailabilityMode', + 'ImportSourceStorageType', + 'ManagedServiceIdentityType', + 'ReplicationRole', + 'ServerSkuTier', + 'ServerVersion', +] + + +class AdministratorType(str, Enum): + """ + Type of the sever administrator. + """ + ACTIVE_DIRECTORY = "ActiveDirectory" + + +class ConfigurationSource(str, Enum): + """ + Source of the configuration. + """ + SYSTEM_DEFAULT = "system-default" + USER_OVERRIDE = "user-override" + + +class CreateMode(str, Enum): + """ + The mode to create a new MySQL server. + """ + DEFAULT = "Default" + POINT_IN_TIME_RESTORE = "PointInTimeRestore" + REPLICA = "Replica" + GEO_RESTORE = "GeoRestore" + + +class DataEncryptionType(str, Enum): + """ + The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + """ + AZURE_KEY_VAULT = "AzureKeyVault" + SYSTEM_MANAGED = "SystemManaged" + + +class EnableStatusEnum(str, Enum): + """ + Enable Log On Disk or not. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class HighAvailabilityMode(str, Enum): + """ + High availability mode for a server. + """ + DISABLED = "Disabled" + ZONE_REDUNDANT = "ZoneRedundant" + SAME_ZONE = "SameZone" + + +class ImportSourceStorageType(str, Enum): + """ + Storage type of import source. + """ + AZURE_BLOB = "AzureBlob" + + +class ManagedServiceIdentityType(str, Enum): + """ + Type of managed service identity. + """ + USER_ASSIGNED = "UserAssigned" + + +class ReplicationRole(str, Enum): + """ + The replication role. + """ + NONE = "None" + SOURCE = "Source" + REPLICA = "Replica" + + +class ServerSkuTier(str, Enum): + """ + The tier of the particular SKU, e.g. GeneralPurpose. + """ + BURSTABLE = "Burstable" + GENERAL_PURPOSE = "GeneralPurpose" + MEMORY_OPTIMIZED = "MemoryOptimized" + + +class ServerVersion(str, Enum): + """ + Server version. + """ + SERVER_VERSION_5_7 = "5.7" + SERVER_VERSION_8_0_21 = "8.0.21" diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/_inputs.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/_inputs.py new file mode 100644 index 000000000000..00a765de3669 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/_inputs.py @@ -0,0 +1,566 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'BackupArgs', + 'DataEncryptionArgs', + 'HighAvailabilityArgs', + 'ImportSourcePropertiesArgs', + 'MaintenanceWindowArgs', + 'MySQLServerIdentityArgs', + 'MySQLServerSkuArgs', + 'NetworkArgs', + 'StorageArgs', +] + +@pulumi.input_type +class BackupArgs: + def __init__(__self__, *, + backup_retention_days: Optional[pulumi.Input[int]] = None, + geo_redundant_backup: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]] = None): + """ + Storage Profile properties of a server + :param pulumi.Input[int] backup_retention_days: Backup retention days for the server. + :param pulumi.Input[Union[str, 'EnableStatusEnum']] geo_redundant_backup: Whether or not geo redundant backup is enabled. + """ + if backup_retention_days is not None: + pulumi.set(__self__, "backup_retention_days", backup_retention_days) + if geo_redundant_backup is None: + geo_redundant_backup = 'Disabled' + if geo_redundant_backup is not None: + pulumi.set(__self__, "geo_redundant_backup", geo_redundant_backup) + + @property + @pulumi.getter(name="backupRetentionDays") + def backup_retention_days(self) -> Optional[pulumi.Input[int]]: + """ + Backup retention days for the server. + """ + return pulumi.get(self, "backup_retention_days") + + @backup_retention_days.setter + def backup_retention_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "backup_retention_days", value) + + @property + @pulumi.getter(name="geoRedundantBackup") + def geo_redundant_backup(self) -> Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]: + """ + Whether or not geo redundant backup is enabled. + """ + return pulumi.get(self, "geo_redundant_backup") + + @geo_redundant_backup.setter + def geo_redundant_backup(self, value: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]): + pulumi.set(self, "geo_redundant_backup", value) + + +@pulumi.input_type +class DataEncryptionArgs: + def __init__(__self__, *, + geo_backup_key_uri: Optional[pulumi.Input[str]] = None, + geo_backup_user_assigned_identity_id: Optional[pulumi.Input[str]] = None, + primary_key_uri: Optional[pulumi.Input[str]] = None, + primary_user_assigned_identity_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['DataEncryptionType']] = None): + """ + The date encryption for cmk. + :param pulumi.Input[str] geo_backup_key_uri: Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + :param pulumi.Input[str] geo_backup_user_assigned_identity_id: Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + :param pulumi.Input[str] primary_key_uri: Primary key uri + :param pulumi.Input[str] primary_user_assigned_identity_id: Primary user identity resource id + :param pulumi.Input['DataEncryptionType'] type: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + """ + if geo_backup_key_uri is not None: + pulumi.set(__self__, "geo_backup_key_uri", geo_backup_key_uri) + if geo_backup_user_assigned_identity_id is not None: + pulumi.set(__self__, "geo_backup_user_assigned_identity_id", geo_backup_user_assigned_identity_id) + if primary_key_uri is not None: + pulumi.set(__self__, "primary_key_uri", primary_key_uri) + if primary_user_assigned_identity_id is not None: + pulumi.set(__self__, "primary_user_assigned_identity_id", primary_user_assigned_identity_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="geoBackupKeyURI") + def geo_backup_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + """ + return pulumi.get(self, "geo_backup_key_uri") + + @geo_backup_key_uri.setter + def geo_backup_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "geo_backup_key_uri", value) + + @property + @pulumi.getter(name="geoBackupUserAssignedIdentityId") + def geo_backup_user_assigned_identity_id(self) -> Optional[pulumi.Input[str]]: + """ + Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + """ + return pulumi.get(self, "geo_backup_user_assigned_identity_id") + + @geo_backup_user_assigned_identity_id.setter + def geo_backup_user_assigned_identity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "geo_backup_user_assigned_identity_id", value) + + @property + @pulumi.getter(name="primaryKeyURI") + def primary_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + Primary key uri + """ + return pulumi.get(self, "primary_key_uri") + + @primary_key_uri.setter + def primary_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "primary_key_uri", value) + + @property + @pulumi.getter(name="primaryUserAssignedIdentityId") + def primary_user_assigned_identity_id(self) -> Optional[pulumi.Input[str]]: + """ + Primary user identity resource id + """ + return pulumi.get(self, "primary_user_assigned_identity_id") + + @primary_user_assigned_identity_id.setter + def primary_user_assigned_identity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "primary_user_assigned_identity_id", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['DataEncryptionType']]: + """ + The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['DataEncryptionType']]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class HighAvailabilityArgs: + def __init__(__self__, *, + mode: Optional[pulumi.Input[Union[str, 'HighAvailabilityMode']]] = None, + standby_availability_zone: Optional[pulumi.Input[str]] = None): + """ + Network related properties of a server + :param pulumi.Input[Union[str, 'HighAvailabilityMode']] mode: High availability mode for a server. + :param pulumi.Input[str] standby_availability_zone: Availability zone of the standby server. + """ + if mode is not None: + pulumi.set(__self__, "mode", mode) + if standby_availability_zone is not None: + pulumi.set(__self__, "standby_availability_zone", standby_availability_zone) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[Union[str, 'HighAvailabilityMode']]]: + """ + High availability mode for a server. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[Union[str, 'HighAvailabilityMode']]]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="standbyAvailabilityZone") + def standby_availability_zone(self) -> Optional[pulumi.Input[str]]: + """ + Availability zone of the standby server. + """ + return pulumi.get(self, "standby_availability_zone") + + @standby_availability_zone.setter + def standby_availability_zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "standby_availability_zone", value) + + +@pulumi.input_type +class ImportSourcePropertiesArgs: + def __init__(__self__, *, + data_dir_path: Optional[pulumi.Input[str]] = None, + sas_token: Optional[pulumi.Input[str]] = None, + storage_type: Optional[pulumi.Input[Union[str, 'ImportSourceStorageType']]] = None, + storage_url: Optional[pulumi.Input[str]] = None): + """ + Import source related properties. + :param pulumi.Input[str] data_dir_path: Relative path of data directory in storage. + :param pulumi.Input[str] sas_token: Sas token for accessing source storage. Read and list permissions are required for sas token. + :param pulumi.Input[Union[str, 'ImportSourceStorageType']] storage_type: Storage type of import source. + :param pulumi.Input[str] storage_url: Uri of the import source storage. + """ + if data_dir_path is not None: + pulumi.set(__self__, "data_dir_path", data_dir_path) + if sas_token is not None: + pulumi.set(__self__, "sas_token", sas_token) + if storage_type is not None: + pulumi.set(__self__, "storage_type", storage_type) + if storage_url is not None: + pulumi.set(__self__, "storage_url", storage_url) + + @property + @pulumi.getter(name="dataDirPath") + def data_dir_path(self) -> Optional[pulumi.Input[str]]: + """ + Relative path of data directory in storage. + """ + return pulumi.get(self, "data_dir_path") + + @data_dir_path.setter + def data_dir_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_dir_path", value) + + @property + @pulumi.getter(name="sasToken") + def sas_token(self) -> Optional[pulumi.Input[str]]: + """ + Sas token for accessing source storage. Read and list permissions are required for sas token. + """ + return pulumi.get(self, "sas_token") + + @sas_token.setter + def sas_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sas_token", value) + + @property + @pulumi.getter(name="storageType") + def storage_type(self) -> Optional[pulumi.Input[Union[str, 'ImportSourceStorageType']]]: + """ + Storage type of import source. + """ + return pulumi.get(self, "storage_type") + + @storage_type.setter + def storage_type(self, value: Optional[pulumi.Input[Union[str, 'ImportSourceStorageType']]]): + pulumi.set(self, "storage_type", value) + + @property + @pulumi.getter(name="storageUrl") + def storage_url(self) -> Optional[pulumi.Input[str]]: + """ + Uri of the import source storage. + """ + return pulumi.get(self, "storage_url") + + @storage_url.setter + def storage_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_url", value) + + +@pulumi.input_type +class MaintenanceWindowArgs: + def __init__(__self__, *, + custom_window: Optional[pulumi.Input[str]] = None, + day_of_week: Optional[pulumi.Input[int]] = None, + start_hour: Optional[pulumi.Input[int]] = None, + start_minute: Optional[pulumi.Input[int]] = None): + """ + Maintenance window of a server. + :param pulumi.Input[str] custom_window: indicates whether custom window is enabled or disabled + :param pulumi.Input[int] day_of_week: day of week for maintenance window + :param pulumi.Input[int] start_hour: start hour for maintenance window + :param pulumi.Input[int] start_minute: start minute for maintenance window + """ + if custom_window is not None: + pulumi.set(__self__, "custom_window", custom_window) + if day_of_week is not None: + pulumi.set(__self__, "day_of_week", day_of_week) + if start_hour is not None: + pulumi.set(__self__, "start_hour", start_hour) + if start_minute is not None: + pulumi.set(__self__, "start_minute", start_minute) + + @property + @pulumi.getter(name="customWindow") + def custom_window(self) -> Optional[pulumi.Input[str]]: + """ + indicates whether custom window is enabled or disabled + """ + return pulumi.get(self, "custom_window") + + @custom_window.setter + def custom_window(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_window", value) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> Optional[pulumi.Input[int]]: + """ + day of week for maintenance window + """ + return pulumi.get(self, "day_of_week") + + @day_of_week.setter + def day_of_week(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "day_of_week", value) + + @property + @pulumi.getter(name="startHour") + def start_hour(self) -> Optional[pulumi.Input[int]]: + """ + start hour for maintenance window + """ + return pulumi.get(self, "start_hour") + + @start_hour.setter + def start_hour(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "start_hour", value) + + @property + @pulumi.getter(name="startMinute") + def start_minute(self) -> Optional[pulumi.Input[int]]: + """ + start minute for maintenance window + """ + return pulumi.get(self, "start_minute") + + @start_minute.setter + def start_minute(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "start_minute", value) + + +@pulumi.input_type +class MySQLServerIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input[Union[str, 'ManagedServiceIdentityType']]] = None, + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Properties to configure Identity for Bring your Own Keys + :param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of managed service identity. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: Metadata of user assigned identity. + """ + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ManagedServiceIdentityType']]]: + """ + Type of managed service identity. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedServiceIdentityType']]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Metadata of user assigned identity. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class MySQLServerSkuArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + tier: pulumi.Input[Union[str, 'ServerSkuTier']]): + """ + Billing information related properties of a server. + :param pulumi.Input[str] name: The name of the sku, e.g. Standard_D32s_v3. + :param pulumi.Input[Union[str, 'ServerSkuTier']] tier: The tier of the particular SKU, e.g. GeneralPurpose. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the sku, e.g. Standard_D32s_v3. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tier(self) -> pulumi.Input[Union[str, 'ServerSkuTier']]: + """ + The tier of the particular SKU, e.g. GeneralPurpose. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: pulumi.Input[Union[str, 'ServerSkuTier']]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class NetworkArgs: + def __init__(__self__, *, + delegated_subnet_resource_id: Optional[pulumi.Input[str]] = None, + private_dns_zone_resource_id: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]] = None): + """ + Network related properties of a server + :param pulumi.Input[str] delegated_subnet_resource_id: Delegated subnet resource id used to setup vnet for a server. + :param pulumi.Input[str] private_dns_zone_resource_id: Private DNS zone resource id. + :param pulumi.Input[Union[str, 'EnableStatusEnum']] public_network_access: Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + """ + if delegated_subnet_resource_id is not None: + pulumi.set(__self__, "delegated_subnet_resource_id", delegated_subnet_resource_id) + if private_dns_zone_resource_id is not None: + pulumi.set(__self__, "private_dns_zone_resource_id", private_dns_zone_resource_id) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + + @property + @pulumi.getter(name="delegatedSubnetResourceId") + def delegated_subnet_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Delegated subnet resource id used to setup vnet for a server. + """ + return pulumi.get(self, "delegated_subnet_resource_id") + + @delegated_subnet_resource_id.setter + def delegated_subnet_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delegated_subnet_resource_id", value) + + @property + @pulumi.getter(name="privateDnsZoneResourceId") + def private_dns_zone_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Private DNS zone resource id. + """ + return pulumi.get(self, "private_dns_zone_resource_id") + + @private_dns_zone_resource_id.setter + def private_dns_zone_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_dns_zone_resource_id", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]: + """ + Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]): + pulumi.set(self, "public_network_access", value) + + +@pulumi.input_type +class StorageArgs: + def __init__(__self__, *, + auto_grow: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]] = None, + auto_io_scaling: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]] = None, + iops: Optional[pulumi.Input[int]] = None, + log_on_disk: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]] = None, + storage_size_gb: Optional[pulumi.Input[int]] = None): + """ + Storage Profile properties of a server + :param pulumi.Input[Union[str, 'EnableStatusEnum']] auto_grow: Enable Storage Auto Grow or not. + :param pulumi.Input[Union[str, 'EnableStatusEnum']] auto_io_scaling: Enable IO Auto Scaling or not. + :param pulumi.Input[int] iops: Storage IOPS for a server. + :param pulumi.Input[Union[str, 'EnableStatusEnum']] log_on_disk: Enable Log On Disk or not. + :param pulumi.Input[int] storage_size_gb: Max storage size allowed for a server. + """ + if auto_grow is None: + auto_grow = 'Disabled' + if auto_grow is not None: + pulumi.set(__self__, "auto_grow", auto_grow) + if auto_io_scaling is None: + auto_io_scaling = 'Disabled' + if auto_io_scaling is not None: + pulumi.set(__self__, "auto_io_scaling", auto_io_scaling) + if iops is not None: + pulumi.set(__self__, "iops", iops) + if log_on_disk is None: + log_on_disk = 'Disabled' + if log_on_disk is not None: + pulumi.set(__self__, "log_on_disk", log_on_disk) + if storage_size_gb is not None: + pulumi.set(__self__, "storage_size_gb", storage_size_gb) + + @property + @pulumi.getter(name="autoGrow") + def auto_grow(self) -> Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]: + """ + Enable Storage Auto Grow or not. + """ + return pulumi.get(self, "auto_grow") + + @auto_grow.setter + def auto_grow(self, value: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]): + pulumi.set(self, "auto_grow", value) + + @property + @pulumi.getter(name="autoIoScaling") + def auto_io_scaling(self) -> Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]: + """ + Enable IO Auto Scaling or not. + """ + return pulumi.get(self, "auto_io_scaling") + + @auto_io_scaling.setter + def auto_io_scaling(self, value: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]): + pulumi.set(self, "auto_io_scaling", value) + + @property + @pulumi.getter + def iops(self) -> Optional[pulumi.Input[int]]: + """ + Storage IOPS for a server. + """ + return pulumi.get(self, "iops") + + @iops.setter + def iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "iops", value) + + @property + @pulumi.getter(name="logOnDisk") + def log_on_disk(self) -> Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]: + """ + Enable Log On Disk or not. + """ + return pulumi.get(self, "log_on_disk") + + @log_on_disk.setter + def log_on_disk(self, value: Optional[pulumi.Input[Union[str, 'EnableStatusEnum']]]): + pulumi.set(self, "log_on_disk", value) + + @property + @pulumi.getter(name="storageSizeGB") + def storage_size_gb(self) -> Optional[pulumi.Input[int]]: + """ + Max storage size allowed for a server. + """ + return pulumi.get(self, "storage_size_gb") + + @storage_size_gb.setter + def storage_size_gb(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "storage_size_gb", value) + + diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/azure_ad_administrator.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/azure_ad_administrator.py new file mode 100644 index 000000000000..fff790a83403 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/azure_ad_administrator.py @@ -0,0 +1,331 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['AzureADAdministratorArgs', 'AzureADAdministrator'] + +@pulumi.input_type +class AzureADAdministratorArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + server_name: pulumi.Input[str], + administrator_name: Optional[pulumi.Input[str]] = None, + administrator_type: Optional[pulumi.Input[Union[str, 'AdministratorType']]] = None, + identity_resource_id: Optional[pulumi.Input[str]] = None, + login: Optional[pulumi.Input[str]] = None, + sid: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AzureADAdministrator resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[str] administrator_name: The name of the Azure AD Administrator. + :param pulumi.Input[Union[str, 'AdministratorType']] administrator_type: Type of the sever administrator. + :param pulumi.Input[str] identity_resource_id: The resource id of the identity used for AAD Authentication. + :param pulumi.Input[str] login: Login name of the server administrator. + :param pulumi.Input[str] sid: SID (object ID) of the server administrator. + :param pulumi.Input[str] tenant_id: Tenant ID of the administrator. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "server_name", server_name) + if administrator_name is not None: + pulumi.set(__self__, "administrator_name", administrator_name) + if administrator_type is not None: + pulumi.set(__self__, "administrator_type", administrator_type) + if identity_resource_id is not None: + pulumi.set(__self__, "identity_resource_id", identity_resource_id) + if login is not None: + pulumi.set(__self__, "login", login) + if sid is not None: + pulumi.set(__self__, "sid", sid) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="serverName") + def server_name(self) -> pulumi.Input[str]: + """ + The name of the server. + """ + return pulumi.get(self, "server_name") + + @server_name.setter + def server_name(self, value: pulumi.Input[str]): + pulumi.set(self, "server_name", value) + + @property + @pulumi.getter(name="administratorName") + def administrator_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Azure AD Administrator. + """ + return pulumi.get(self, "administrator_name") + + @administrator_name.setter + def administrator_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "administrator_name", value) + + @property + @pulumi.getter(name="administratorType") + def administrator_type(self) -> Optional[pulumi.Input[Union[str, 'AdministratorType']]]: + """ + Type of the sever administrator. + """ + return pulumi.get(self, "administrator_type") + + @administrator_type.setter + def administrator_type(self, value: Optional[pulumi.Input[Union[str, 'AdministratorType']]]): + pulumi.set(self, "administrator_type", value) + + @property + @pulumi.getter(name="identityResourceId") + def identity_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource id of the identity used for AAD Authentication. + """ + return pulumi.get(self, "identity_resource_id") + + @identity_resource_id.setter + def identity_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "identity_resource_id", value) + + @property + @pulumi.getter + def login(self) -> Optional[pulumi.Input[str]]: + """ + Login name of the server administrator. + """ + return pulumi.get(self, "login") + + @login.setter + def login(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "login", value) + + @property + @pulumi.getter + def sid(self) -> Optional[pulumi.Input[str]]: + """ + SID (object ID) of the server administrator. + """ + return pulumi.get(self, "sid") + + @sid.setter + def sid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sid", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + Tenant ID of the administrator. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +class AzureADAdministrator(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + administrator_name: Optional[pulumi.Input[str]] = None, + administrator_type: Optional[pulumi.Input[Union[str, 'AdministratorType']]] = None, + identity_resource_id: Optional[pulumi.Input[str]] = None, + login: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + sid: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Administrator. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] administrator_name: The name of the Azure AD Administrator. + :param pulumi.Input[Union[str, 'AdministratorType']] administrator_type: Type of the sever administrator. + :param pulumi.Input[str] identity_resource_id: The resource id of the identity used for AAD Authentication. + :param pulumi.Input[str] login: Login name of the server administrator. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[str] sid: SID (object ID) of the server administrator. + :param pulumi.Input[str] tenant_id: Tenant ID of the administrator. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AzureADAdministratorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Administrator. + + :param str resource_name: The name of the resource. + :param AzureADAdministratorArgs 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(AzureADAdministratorArgs, 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, + administrator_name: Optional[pulumi.Input[str]] = None, + administrator_type: Optional[pulumi.Input[Union[str, 'AdministratorType']]] = None, + identity_resource_id: Optional[pulumi.Input[str]] = None, + login: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + sid: Optional[pulumi.Input[str]] = None, + tenant_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__ = AzureADAdministratorArgs.__new__(AzureADAdministratorArgs) + + __props__.__dict__["administrator_name"] = administrator_name + __props__.__dict__["administrator_type"] = administrator_type + __props__.__dict__["identity_resource_id"] = identity_resource_id + __props__.__dict__["login"] = login + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if server_name is None and not opts.urn: + raise TypeError("Missing required property 'server_name'") + __props__.__dict__["server_name"] = server_name + __props__.__dict__["sid"] = sid + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:AzureADAdministrator"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:AzureADAdministrator")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AzureADAdministrator, __self__).__init__( + 'azure-native:dbformysql/v20230601preview:AzureADAdministrator', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AzureADAdministrator': + """ + Get an existing AzureADAdministrator 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AzureADAdministratorArgs.__new__(AzureADAdministratorArgs) + + __props__.__dict__["administrator_type"] = None + __props__.__dict__["identity_resource_id"] = None + __props__.__dict__["login"] = None + __props__.__dict__["name"] = None + __props__.__dict__["sid"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return AzureADAdministrator(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="administratorType") + def administrator_type(self) -> pulumi.Output[Optional[str]]: + """ + Type of the sever administrator. + """ + return pulumi.get(self, "administrator_type") + + @property + @pulumi.getter(name="identityResourceId") + def identity_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The resource id of the identity used for AAD Authentication. + """ + return pulumi.get(self, "identity_resource_id") + + @property + @pulumi.getter + def login(self) -> pulumi.Output[Optional[str]]: + """ + Login name of the server administrator. + """ + return pulumi.get(self, "login") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def sid(self) -> pulumi.Output[Optional[str]]: + """ + SID (object ID) of the server administrator. + """ + return pulumi.get(self, "sid") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[Optional[str]]: + """ + Tenant ID of the administrator. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/configuration.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/configuration.py new file mode 100644 index 000000000000..8e03544107d1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/configuration.py @@ -0,0 +1,353 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['ConfigurationArgs', 'Configuration'] + +@pulumi.input_type +class ConfigurationArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + server_name: pulumi.Input[str], + configuration_name: Optional[pulumi.Input[str]] = None, + current_value: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[Union[str, 'ConfigurationSource']]] = None, + value: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Configuration resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[str] configuration_name: The name of the server configuration. + :param pulumi.Input[str] current_value: Current value of the configuration. + :param pulumi.Input[Union[str, 'ConfigurationSource']] source: Source of the configuration. + :param pulumi.Input[str] value: Value of the configuration. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "server_name", server_name) + if configuration_name is not None: + pulumi.set(__self__, "configuration_name", configuration_name) + if current_value is not None: + pulumi.set(__self__, "current_value", current_value) + if source is not None: + pulumi.set(__self__, "source", source) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="serverName") + def server_name(self) -> pulumi.Input[str]: + """ + The name of the server. + """ + return pulumi.get(self, "server_name") + + @server_name.setter + def server_name(self, value: pulumi.Input[str]): + pulumi.set(self, "server_name", value) + + @property + @pulumi.getter(name="configurationName") + def configuration_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the server configuration. + """ + return pulumi.get(self, "configuration_name") + + @configuration_name.setter + def configuration_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "configuration_name", value) + + @property + @pulumi.getter(name="currentValue") + def current_value(self) -> Optional[pulumi.Input[str]]: + """ + Current value of the configuration. + """ + return pulumi.get(self, "current_value") + + @current_value.setter + def current_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "current_value", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[Union[str, 'ConfigurationSource']]]: + """ + Source of the configuration. + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input[Union[str, 'ConfigurationSource']]]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Value of the configuration. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +class Configuration(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + configuration_name: Optional[pulumi.Input[str]] = None, + current_value: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[Union[str, 'ConfigurationSource']]] = None, + value: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Configuration. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] configuration_name: The name of the server configuration. + :param pulumi.Input[str] current_value: Current value of the configuration. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[Union[str, 'ConfigurationSource']] source: Source of the configuration. + :param pulumi.Input[str] value: Value of the configuration. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ConfigurationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Configuration. + + :param str resource_name: The name of the resource. + :param ConfigurationArgs 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(ConfigurationArgs, 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, + configuration_name: Optional[pulumi.Input[str]] = None, + current_value: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[Union[str, 'ConfigurationSource']]] = None, + value: 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__ = ConfigurationArgs.__new__(ConfigurationArgs) + + __props__.__dict__["configuration_name"] = configuration_name + __props__.__dict__["current_value"] = current_value + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if server_name is None and not opts.urn: + raise TypeError("Missing required property 'server_name'") + __props__.__dict__["server_name"] = server_name + __props__.__dict__["source"] = source + __props__.__dict__["value"] = value + __props__.__dict__["allowed_values"] = None + __props__.__dict__["data_type"] = None + __props__.__dict__["default_value"] = None + __props__.__dict__["description"] = None + __props__.__dict__["documentation_link"] = None + __props__.__dict__["is_config_pending_restart"] = None + __props__.__dict__["is_dynamic_config"] = None + __props__.__dict__["is_read_only"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Configuration"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Configuration")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Configuration, __self__).__init__( + 'azure-native:dbformysql/v20230601preview:Configuration', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Configuration': + """ + Get an existing Configuration 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ConfigurationArgs.__new__(ConfigurationArgs) + + __props__.__dict__["allowed_values"] = None + __props__.__dict__["current_value"] = None + __props__.__dict__["data_type"] = None + __props__.__dict__["default_value"] = None + __props__.__dict__["description"] = None + __props__.__dict__["documentation_link"] = None + __props__.__dict__["is_config_pending_restart"] = None + __props__.__dict__["is_dynamic_config"] = None + __props__.__dict__["is_read_only"] = None + __props__.__dict__["name"] = None + __props__.__dict__["source"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["value"] = None + return Configuration(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="allowedValues") + def allowed_values(self) -> pulumi.Output[str]: + """ + Allowed values of the configuration. + """ + return pulumi.get(self, "allowed_values") + + @property + @pulumi.getter(name="currentValue") + def current_value(self) -> pulumi.Output[Optional[str]]: + """ + Current value of the configuration. + """ + return pulumi.get(self, "current_value") + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> pulumi.Output[str]: + """ + Data type of the configuration. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter(name="defaultValue") + def default_value(self) -> pulumi.Output[str]: + """ + Default value of the configuration. + """ + return pulumi.get(self, "default_value") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + Description of the configuration. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="documentationLink") + def documentation_link(self) -> pulumi.Output[str]: + """ + The link used to get the document from community or Azure site. + """ + return pulumi.get(self, "documentation_link") + + @property + @pulumi.getter(name="isConfigPendingRestart") + def is_config_pending_restart(self) -> pulumi.Output[str]: + """ + If is the configuration pending restart or not. + """ + return pulumi.get(self, "is_config_pending_restart") + + @property + @pulumi.getter(name="isDynamicConfig") + def is_dynamic_config(self) -> pulumi.Output[str]: + """ + If is the configuration dynamic. + """ + return pulumi.get(self, "is_dynamic_config") + + @property + @pulumi.getter(name="isReadOnly") + def is_read_only(self) -> pulumi.Output[str]: + """ + If is the configuration read only. + """ + return pulumi.get(self, "is_read_only") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def source(self) -> pulumi.Output[Optional[str]]: + """ + Source of the configuration. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> pulumi.Output[Optional[str]]: + """ + Value of the configuration. + """ + return pulumi.get(self, "value") + diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/database.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/database.py new file mode 100644 index 000000000000..d45fdd56b6a7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/database.py @@ -0,0 +1,243 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['DatabaseArgs', 'Database'] + +@pulumi.input_type +class DatabaseArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + server_name: pulumi.Input[str], + charset: Optional[pulumi.Input[str]] = None, + collation: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Database resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[str] charset: The charset of the database. + :param pulumi.Input[str] collation: The collation of the database. + :param pulumi.Input[str] database_name: The name of the database. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "server_name", server_name) + if charset is not None: + pulumi.set(__self__, "charset", charset) + if collation is not None: + pulumi.set(__self__, "collation", collation) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="serverName") + def server_name(self) -> pulumi.Input[str]: + """ + The name of the server. + """ + return pulumi.get(self, "server_name") + + @server_name.setter + def server_name(self, value: pulumi.Input[str]): + pulumi.set(self, "server_name", value) + + @property + @pulumi.getter + def charset(self) -> Optional[pulumi.Input[str]]: + """ + The charset of the database. + """ + return pulumi.get(self, "charset") + + @charset.setter + def charset(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "charset", value) + + @property + @pulumi.getter + def collation(self) -> Optional[pulumi.Input[str]]: + """ + The collation of the database. + """ + return pulumi.get(self, "collation") + + @collation.setter + def collation(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collation", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the database. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + +class Database(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + charset: Optional[pulumi.Input[str]] = None, + collation: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] charset: The charset of the database. + :param pulumi.Input[str] collation: The collation of the database. + :param pulumi.Input[str] database_name: The name of the database. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Database. + + :param str resource_name: The name of the resource. + :param DatabaseArgs 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(DatabaseArgs, 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, + charset: Optional[pulumi.Input[str]] = None, + collation: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DatabaseArgs.__new__(DatabaseArgs) + + __props__.__dict__["charset"] = charset + __props__.__dict__["collation"] = collation + __props__.__dict__["database_name"] = database_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if server_name is None and not opts.urn: + raise TypeError("Missing required property 'server_name'") + __props__.__dict__["server_name"] = server_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Database"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Database")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Database, __self__).__init__( + 'azure-native:dbformysql/v20230601preview:Database', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Database': + """ + Get an existing Database 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DatabaseArgs.__new__(DatabaseArgs) + + __props__.__dict__["charset"] = None + __props__.__dict__["collation"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Database(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def charset(self) -> pulumi.Output[Optional[str]]: + """ + The charset of the database. + """ + return pulumi.get(self, "charset") + + @property + @pulumi.getter + def collation(self) -> pulumi.Output[Optional[str]]: + """ + The collation of the database. + """ + return pulumi.get(self, "collation") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/firewall_rule.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/firewall_rule.py new file mode 100644 index 000000000000..eb52c689024f --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/firewall_rule.py @@ -0,0 +1,245 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['FirewallRuleArgs', 'FirewallRule'] + +@pulumi.input_type +class FirewallRuleArgs: + def __init__(__self__, *, + end_ip_address: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + server_name: pulumi.Input[str], + start_ip_address: pulumi.Input[str], + firewall_rule_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a FirewallRule resource. + :param pulumi.Input[str] end_ip_address: The end IP address of the server firewall rule. Must be IPv4 format. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[str] start_ip_address: The start IP address of the server firewall rule. Must be IPv4 format. + :param pulumi.Input[str] firewall_rule_name: The name of the server firewall rule. + """ + pulumi.set(__self__, "end_ip_address", end_ip_address) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "server_name", server_name) + pulumi.set(__self__, "start_ip_address", start_ip_address) + if firewall_rule_name is not None: + pulumi.set(__self__, "firewall_rule_name", firewall_rule_name) + + @property + @pulumi.getter(name="endIpAddress") + def end_ip_address(self) -> pulumi.Input[str]: + """ + The end IP address of the server firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "end_ip_address") + + @end_ip_address.setter + def end_ip_address(self, value: pulumi.Input[str]): + pulumi.set(self, "end_ip_address", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="serverName") + def server_name(self) -> pulumi.Input[str]: + """ + The name of the server. + """ + return pulumi.get(self, "server_name") + + @server_name.setter + def server_name(self, value: pulumi.Input[str]): + pulumi.set(self, "server_name", value) + + @property + @pulumi.getter(name="startIpAddress") + def start_ip_address(self) -> pulumi.Input[str]: + """ + The start IP address of the server firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "start_ip_address") + + @start_ip_address.setter + def start_ip_address(self, value: pulumi.Input[str]): + pulumi.set(self, "start_ip_address", value) + + @property + @pulumi.getter(name="firewallRuleName") + def firewall_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the server firewall rule. + """ + return pulumi.get(self, "firewall_rule_name") + + @firewall_rule_name.setter + def firewall_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "firewall_rule_name", value) + + +class FirewallRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + end_ip_address: Optional[pulumi.Input[str]] = None, + firewall_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + start_ip_address: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a server firewall rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] end_ip_address: The end IP address of the server firewall rule. Must be IPv4 format. + :param pulumi.Input[str] firewall_rule_name: The name of the server firewall rule. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[str] start_ip_address: The start IP address of the server firewall rule. Must be IPv4 format. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FirewallRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a server firewall rule. + + :param str resource_name: The name of the resource. + :param FirewallRuleArgs 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(FirewallRuleArgs, 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, + end_ip_address: Optional[pulumi.Input[str]] = None, + firewall_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + start_ip_address: 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__ = FirewallRuleArgs.__new__(FirewallRuleArgs) + + if end_ip_address is None and not opts.urn: + raise TypeError("Missing required property 'end_ip_address'") + __props__.__dict__["end_ip_address"] = end_ip_address + __props__.__dict__["firewall_rule_name"] = firewall_rule_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if server_name is None and not opts.urn: + raise TypeError("Missing required property 'server_name'") + __props__.__dict__["server_name"] = server_name + if start_ip_address is None and not opts.urn: + raise TypeError("Missing required property 'start_ip_address'") + __props__.__dict__["start_ip_address"] = start_ip_address + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:FirewallRule"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:FirewallRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(FirewallRule, __self__).__init__( + 'azure-native:dbformysql/v20230601preview:FirewallRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'FirewallRule': + """ + Get an existing FirewallRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FirewallRuleArgs.__new__(FirewallRuleArgs) + + __props__.__dict__["end_ip_address"] = None + __props__.__dict__["name"] = None + __props__.__dict__["start_ip_address"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return FirewallRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="endIpAddress") + def end_ip_address(self) -> pulumi.Output[str]: + """ + The end IP address of the server firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "end_ip_address") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="startIpAddress") + def start_ip_address(self) -> pulumi.Output[str]: + """ + The start IP address of the server firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "start_ip_address") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_azure_ad_administrator.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_azure_ad_administrator.py new file mode 100644 index 000000000000..a96902a58cb7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_azure_ad_administrator.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAzureADAdministratorResult', + 'AwaitableGetAzureADAdministratorResult', + 'get_azure_ad_administrator', + 'get_azure_ad_administrator_output', +] + +@pulumi.output_type +class GetAzureADAdministratorResult: + """ + Represents a Administrator. + """ + def __init__(__self__, administrator_type=None, id=None, identity_resource_id=None, login=None, name=None, sid=None, system_data=None, tenant_id=None, type=None): + if administrator_type and not isinstance(administrator_type, str): + raise TypeError("Expected argument 'administrator_type' to be a str") + pulumi.set(__self__, "administrator_type", administrator_type) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity_resource_id and not isinstance(identity_resource_id, str): + raise TypeError("Expected argument 'identity_resource_id' to be a str") + pulumi.set(__self__, "identity_resource_id", identity_resource_id) + if login and not isinstance(login, str): + raise TypeError("Expected argument 'login' to be a str") + pulumi.set(__self__, "login", login) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if sid and not isinstance(sid, str): + raise TypeError("Expected argument 'sid' to be a str") + pulumi.set(__self__, "sid", sid) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="administratorType") + def administrator_type(self) -> Optional[str]: + """ + Type of the sever administrator. + """ + return pulumi.get(self, "administrator_type") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="identityResourceId") + def identity_resource_id(self) -> Optional[str]: + """ + The resource id of the identity used for AAD Authentication. + """ + return pulumi.get(self, "identity_resource_id") + + @property + @pulumi.getter + def login(self) -> Optional[str]: + """ + Login name of the server administrator. + """ + return pulumi.get(self, "login") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def sid(self) -> Optional[str]: + """ + SID (object ID) of the server administrator. + """ + return pulumi.get(self, "sid") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + Tenant ID of the administrator. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAzureADAdministratorResult(GetAzureADAdministratorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAzureADAdministratorResult( + administrator_type=self.administrator_type, + id=self.id, + identity_resource_id=self.identity_resource_id, + login=self.login, + name=self.name, + sid=self.sid, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_azure_ad_administrator(administrator_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + server_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAzureADAdministratorResult: + """ + Gets information about an azure ad administrator. + + + :param str administrator_name: The name of the Azure AD Administrator. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + __args__ = dict() + __args__['administratorName'] = administrator_name + __args__['resourceGroupName'] = resource_group_name + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dbformysql/v20230601preview:getAzureADAdministrator', __args__, opts=opts, typ=GetAzureADAdministratorResult).value + + return AwaitableGetAzureADAdministratorResult( + administrator_type=pulumi.get(__ret__, 'administrator_type'), + id=pulumi.get(__ret__, 'id'), + identity_resource_id=pulumi.get(__ret__, 'identity_resource_id'), + login=pulumi.get(__ret__, 'login'), + name=pulumi.get(__ret__, 'name'), + sid=pulumi.get(__ret__, 'sid'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_azure_ad_administrator) +def get_azure_ad_administrator_output(administrator_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAzureADAdministratorResult]: + """ + Gets information about an azure ad administrator. + + + :param str administrator_name: The name of the Azure AD Administrator. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_configuration.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_configuration.py new file mode 100644 index 000000000000..6e67ff797432 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_configuration.py @@ -0,0 +1,266 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetConfigurationResult', + 'AwaitableGetConfigurationResult', + 'get_configuration', + 'get_configuration_output', +] + +@pulumi.output_type +class GetConfigurationResult: + """ + Represents a Configuration. + """ + def __init__(__self__, allowed_values=None, current_value=None, data_type=None, default_value=None, description=None, documentation_link=None, id=None, is_config_pending_restart=None, is_dynamic_config=None, is_read_only=None, name=None, source=None, system_data=None, type=None, value=None): + if allowed_values and not isinstance(allowed_values, str): + raise TypeError("Expected argument 'allowed_values' to be a str") + pulumi.set(__self__, "allowed_values", allowed_values) + if current_value and not isinstance(current_value, str): + raise TypeError("Expected argument 'current_value' to be a str") + pulumi.set(__self__, "current_value", current_value) + if data_type and not isinstance(data_type, str): + raise TypeError("Expected argument 'data_type' to be a str") + pulumi.set(__self__, "data_type", data_type) + if default_value and not isinstance(default_value, str): + raise TypeError("Expected argument 'default_value' to be a str") + pulumi.set(__self__, "default_value", default_value) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if documentation_link and not isinstance(documentation_link, str): + raise TypeError("Expected argument 'documentation_link' to be a str") + pulumi.set(__self__, "documentation_link", documentation_link) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_config_pending_restart and not isinstance(is_config_pending_restart, str): + raise TypeError("Expected argument 'is_config_pending_restart' to be a str") + pulumi.set(__self__, "is_config_pending_restart", is_config_pending_restart) + if is_dynamic_config and not isinstance(is_dynamic_config, str): + raise TypeError("Expected argument 'is_dynamic_config' to be a str") + pulumi.set(__self__, "is_dynamic_config", is_dynamic_config) + if is_read_only and not isinstance(is_read_only, str): + raise TypeError("Expected argument 'is_read_only' to be a str") + pulumi.set(__self__, "is_read_only", is_read_only) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if source and not isinstance(source, str): + raise TypeError("Expected argument 'source' to be a str") + pulumi.set(__self__, "source", source) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if value and not isinstance(value, str): + raise TypeError("Expected argument 'value' to be a str") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="allowedValues") + def allowed_values(self) -> str: + """ + Allowed values of the configuration. + """ + return pulumi.get(self, "allowed_values") + + @property + @pulumi.getter(name="currentValue") + def current_value(self) -> Optional[str]: + """ + Current value of the configuration. + """ + return pulumi.get(self, "current_value") + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> str: + """ + Data type of the configuration. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter(name="defaultValue") + def default_value(self) -> str: + """ + Default value of the configuration. + """ + return pulumi.get(self, "default_value") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the configuration. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="documentationLink") + def documentation_link(self) -> str: + """ + The link used to get the document from community or Azure site. + """ + return pulumi.get(self, "documentation_link") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isConfigPendingRestart") + def is_config_pending_restart(self) -> str: + """ + If is the configuration pending restart or not. + """ + return pulumi.get(self, "is_config_pending_restart") + + @property + @pulumi.getter(name="isDynamicConfig") + def is_dynamic_config(self) -> str: + """ + If is the configuration dynamic. + """ + return pulumi.get(self, "is_dynamic_config") + + @property + @pulumi.getter(name="isReadOnly") + def is_read_only(self) -> str: + """ + If is the configuration read only. + """ + return pulumi.get(self, "is_read_only") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def source(self) -> Optional[str]: + """ + Source of the configuration. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + Value of the configuration. + """ + return pulumi.get(self, "value") + + +class AwaitableGetConfigurationResult(GetConfigurationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigurationResult( + allowed_values=self.allowed_values, + current_value=self.current_value, + data_type=self.data_type, + default_value=self.default_value, + description=self.description, + documentation_link=self.documentation_link, + id=self.id, + is_config_pending_restart=self.is_config_pending_restart, + is_dynamic_config=self.is_dynamic_config, + is_read_only=self.is_read_only, + name=self.name, + source=self.source, + system_data=self.system_data, + type=self.type, + value=self.value) + + +def get_configuration(configuration_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + server_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigurationResult: + """ + Gets information about a configuration of server. + + + :param str configuration_name: The name of the server configuration. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + __args__ = dict() + __args__['configurationName'] = configuration_name + __args__['resourceGroupName'] = resource_group_name + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dbformysql/v20230601preview:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult).value + + return AwaitableGetConfigurationResult( + allowed_values=pulumi.get(__ret__, 'allowed_values'), + current_value=pulumi.get(__ret__, 'current_value'), + data_type=pulumi.get(__ret__, 'data_type'), + default_value=pulumi.get(__ret__, 'default_value'), + description=pulumi.get(__ret__, 'description'), + documentation_link=pulumi.get(__ret__, 'documentation_link'), + id=pulumi.get(__ret__, 'id'), + is_config_pending_restart=pulumi.get(__ret__, 'is_config_pending_restart'), + is_dynamic_config=pulumi.get(__ret__, 'is_dynamic_config'), + is_read_only=pulumi.get(__ret__, 'is_read_only'), + name=pulumi.get(__ret__, 'name'), + source=pulumi.get(__ret__, 'source'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(get_configuration) +def get_configuration_output(configuration_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: + """ + Gets information about a configuration of server. + + + :param str configuration_name: The name of the server configuration. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_database.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_database.py new file mode 100644 index 000000000000..4f7edbf5aaca --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_database.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDatabaseResult', + 'AwaitableGetDatabaseResult', + 'get_database', + 'get_database_output', +] + +@pulumi.output_type +class GetDatabaseResult: + """ + Represents a Database. + """ + def __init__(__self__, charset=None, collation=None, id=None, name=None, system_data=None, type=None): + if charset and not isinstance(charset, str): + raise TypeError("Expected argument 'charset' to be a str") + pulumi.set(__self__, "charset", charset) + if collation and not isinstance(collation, str): + raise TypeError("Expected argument 'collation' to be a str") + pulumi.set(__self__, "collation", collation) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def charset(self) -> Optional[str]: + """ + The charset of the database. + """ + return pulumi.get(self, "charset") + + @property + @pulumi.getter + def collation(self) -> Optional[str]: + """ + The collation of the database. + """ + return pulumi.get(self, "collation") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetDatabaseResult(GetDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDatabaseResult( + charset=self.charset, + collation=self.collation, + id=self.id, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_database(database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + server_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult: + """ + Gets information about a database. + + + :param str database_name: The name of the database. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + __args__ = dict() + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dbformysql/v20230601preview:getDatabase', __args__, opts=opts, typ=GetDatabaseResult).value + + return AwaitableGetDatabaseResult( + charset=pulumi.get(__ret__, 'charset'), + collation=pulumi.get(__ret__, 'collation'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_database) +def get_database_output(database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: + """ + Gets information about a database. + + + :param str database_name: The name of the database. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_firewall_rule.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_firewall_rule.py new file mode 100644 index 000000000000..f0d12652d228 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_firewall_rule.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetFirewallRuleResult', + 'AwaitableGetFirewallRuleResult', + 'get_firewall_rule', + 'get_firewall_rule_output', +] + +@pulumi.output_type +class GetFirewallRuleResult: + """ + Represents a server firewall rule. + """ + def __init__(__self__, end_ip_address=None, id=None, name=None, start_ip_address=None, system_data=None, type=None): + if end_ip_address and not isinstance(end_ip_address, str): + raise TypeError("Expected argument 'end_ip_address' to be a str") + pulumi.set(__self__, "end_ip_address", end_ip_address) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if start_ip_address and not isinstance(start_ip_address, str): + raise TypeError("Expected argument 'start_ip_address' to be a str") + pulumi.set(__self__, "start_ip_address", start_ip_address) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="endIpAddress") + def end_ip_address(self) -> str: + """ + The end IP address of the server firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "end_ip_address") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="startIpAddress") + def start_ip_address(self) -> str: + """ + The start IP address of the server firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "start_ip_address") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetFirewallRuleResult(GetFirewallRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFirewallRuleResult( + end_ip_address=self.end_ip_address, + id=self.id, + name=self.name, + start_ip_address=self.start_ip_address, + system_data=self.system_data, + type=self.type) + + +def get_firewall_rule(firewall_rule_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + server_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallRuleResult: + """ + Gets information about a server firewall rule. + + + :param str firewall_rule_name: The name of the server firewall rule. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + __args__ = dict() + __args__['firewallRuleName'] = firewall_rule_name + __args__['resourceGroupName'] = resource_group_name + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dbformysql/v20230601preview:getFirewallRule', __args__, opts=opts, typ=GetFirewallRuleResult).value + + return AwaitableGetFirewallRuleResult( + end_ip_address=pulumi.get(__ret__, 'end_ip_address'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + start_ip_address=pulumi.get(__ret__, 'start_ip_address'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_firewall_rule) +def get_firewall_rule_output(firewall_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleResult]: + """ + Gets information about a server firewall rule. + + + :param str firewall_rule_name: The name of the server firewall rule. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_get_private_dns_zone_suffix_execute.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_get_private_dns_zone_suffix_execute.py new file mode 100644 index 000000000000..ccfcfa97cfdd --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_get_private_dns_zone_suffix_execute.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetGetPrivateDnsZoneSuffixExecuteResult', + 'AwaitableGetGetPrivateDnsZoneSuffixExecuteResult', + 'get_get_private_dns_zone_suffix_execute', +] + +@pulumi.output_type +class GetGetPrivateDnsZoneSuffixExecuteResult: + """ + The response of get private dns zone suffix. + """ + def __init__(__self__, private_dns_zone_suffix=None): + if private_dns_zone_suffix and not isinstance(private_dns_zone_suffix, str): + raise TypeError("Expected argument 'private_dns_zone_suffix' to be a str") + pulumi.set(__self__, "private_dns_zone_suffix", private_dns_zone_suffix) + + @property + @pulumi.getter(name="privateDnsZoneSuffix") + def private_dns_zone_suffix(self) -> Optional[str]: + """ + Represents the private DNS zone suffix. + """ + return pulumi.get(self, "private_dns_zone_suffix") + + +class AwaitableGetGetPrivateDnsZoneSuffixExecuteResult(GetGetPrivateDnsZoneSuffixExecuteResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGetPrivateDnsZoneSuffixExecuteResult( + private_dns_zone_suffix=self.private_dns_zone_suffix) + + +def get_get_private_dns_zone_suffix_execute(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGetPrivateDnsZoneSuffixExecuteResult: + """ + Get private DNS zone suffix in the cloud. + """ + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dbformysql/v20230601preview:getGetPrivateDnsZoneSuffixExecute', __args__, opts=opts, typ=GetGetPrivateDnsZoneSuffixExecuteResult).value + + return AwaitableGetGetPrivateDnsZoneSuffixExecuteResult( + private_dns_zone_suffix=pulumi.get(__ret__, 'private_dns_zone_suffix')) diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_server.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_server.py new file mode 100644 index 000000000000..0274e79f2c71 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/get_server.py @@ -0,0 +1,378 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetServerResult', + 'AwaitableGetServerResult', + 'get_server', + 'get_server_output', +] + +@pulumi.output_type +class GetServerResult: + """ + Represents a server. + """ + def __init__(__self__, administrator_login=None, availability_zone=None, backup=None, data_encryption=None, fully_qualified_domain_name=None, high_availability=None, id=None, identity=None, import_source_properties=None, location=None, maintenance_window=None, name=None, network=None, private_endpoint_connections=None, replica_capacity=None, replication_role=None, sku=None, source_server_resource_id=None, state=None, storage=None, system_data=None, tags=None, type=None, version=None): + if administrator_login and not isinstance(administrator_login, str): + raise TypeError("Expected argument 'administrator_login' to be a str") + pulumi.set(__self__, "administrator_login", administrator_login) + if availability_zone and not isinstance(availability_zone, str): + raise TypeError("Expected argument 'availability_zone' to be a str") + pulumi.set(__self__, "availability_zone", availability_zone) + if backup and not isinstance(backup, dict): + raise TypeError("Expected argument 'backup' to be a dict") + pulumi.set(__self__, "backup", backup) + if data_encryption and not isinstance(data_encryption, dict): + raise TypeError("Expected argument 'data_encryption' to be a dict") + pulumi.set(__self__, "data_encryption", data_encryption) + if fully_qualified_domain_name and not isinstance(fully_qualified_domain_name, str): + raise TypeError("Expected argument 'fully_qualified_domain_name' to be a str") + pulumi.set(__self__, "fully_qualified_domain_name", fully_qualified_domain_name) + if high_availability and not isinstance(high_availability, dict): + raise TypeError("Expected argument 'high_availability' to be a dict") + pulumi.set(__self__, "high_availability", high_availability) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if import_source_properties and not isinstance(import_source_properties, dict): + raise TypeError("Expected argument 'import_source_properties' to be a dict") + pulumi.set(__self__, "import_source_properties", import_source_properties) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if maintenance_window and not isinstance(maintenance_window, dict): + raise TypeError("Expected argument 'maintenance_window' to be a dict") + pulumi.set(__self__, "maintenance_window", maintenance_window) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network and not isinstance(network, dict): + raise TypeError("Expected argument 'network' to be a dict") + pulumi.set(__self__, "network", network) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if replica_capacity and not isinstance(replica_capacity, int): + raise TypeError("Expected argument 'replica_capacity' to be a int") + pulumi.set(__self__, "replica_capacity", replica_capacity) + if replication_role and not isinstance(replication_role, str): + raise TypeError("Expected argument 'replication_role' to be a str") + pulumi.set(__self__, "replication_role", replication_role) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if source_server_resource_id and not isinstance(source_server_resource_id, str): + raise TypeError("Expected argument 'source_server_resource_id' to be a str") + pulumi.set(__self__, "source_server_resource_id", source_server_resource_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if storage and not isinstance(storage, dict): + raise TypeError("Expected argument 'storage' to be a dict") + pulumi.set(__self__, "storage", storage) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, str): + raise TypeError("Expected argument 'version' to be a str") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="administratorLogin") + def administrator_login(self) -> Optional[str]: + """ + The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + """ + return pulumi.get(self, "administrator_login") + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> Optional[str]: + """ + availability Zone information of the server. + """ + return pulumi.get(self, "availability_zone") + + @property + @pulumi.getter + def backup(self) -> Optional['outputs.BackupResponse']: + """ + Backup related properties of a server. + """ + return pulumi.get(self, "backup") + + @property + @pulumi.getter(name="dataEncryption") + def data_encryption(self) -> Optional['outputs.DataEncryptionResponse']: + """ + The Data Encryption for CMK. + """ + return pulumi.get(self, "data_encryption") + + @property + @pulumi.getter(name="fullyQualifiedDomainName") + def fully_qualified_domain_name(self) -> str: + """ + The fully qualified domain name of a server. + """ + return pulumi.get(self, "fully_qualified_domain_name") + + @property + @pulumi.getter(name="highAvailability") + def high_availability(self) -> Optional['outputs.HighAvailabilityResponse']: + """ + High availability related properties of a server. + """ + return pulumi.get(self, "high_availability") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.MySQLServerIdentityResponse']: + """ + The cmk identity for the server. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="importSourceProperties") + def import_source_properties(self) -> Optional['outputs.ImportSourcePropertiesResponse']: + """ + Source properties for import from storage. + """ + return pulumi.get(self, "import_source_properties") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional['outputs.MaintenanceWindowResponse']: + """ + Maintenance window of a server. + """ + return pulumi.get(self, "maintenance_window") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def network(self) -> Optional['outputs.NetworkResponse']: + """ + Network related properties of a server. + """ + return pulumi.get(self, "network") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + PrivateEndpointConnections related properties of a server. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="replicaCapacity") + def replica_capacity(self) -> int: + """ + The maximum number of replicas that a primary server can have. + """ + return pulumi.get(self, "replica_capacity") + + @property + @pulumi.getter(name="replicationRole") + def replication_role(self) -> Optional[str]: + """ + The replication role. + """ + return pulumi.get(self, "replication_role") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.MySQLServerSkuResponse']: + """ + The SKU (pricing tier) of the server. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="sourceServerResourceId") + def source_server_resource_id(self) -> Optional[str]: + """ + The source MySQL server id. + """ + return pulumi.get(self, "source_server_resource_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The state of a server. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def storage(self) -> Optional['outputs.StorageResponse']: + """ + Storage related properties of a server. + """ + return pulumi.get(self, "storage") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> Optional[str]: + """ + Server version. + """ + return pulumi.get(self, "version") + + +class AwaitableGetServerResult(GetServerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServerResult( + administrator_login=self.administrator_login, + availability_zone=self.availability_zone, + backup=self.backup, + data_encryption=self.data_encryption, + fully_qualified_domain_name=self.fully_qualified_domain_name, + high_availability=self.high_availability, + id=self.id, + identity=self.identity, + import_source_properties=self.import_source_properties, + location=self.location, + maintenance_window=self.maintenance_window, + name=self.name, + network=self.network, + private_endpoint_connections=self.private_endpoint_connections, + replica_capacity=self.replica_capacity, + replication_role=self.replication_role, + sku=self.sku, + source_server_resource_id=self.source_server_resource_id, + state=self.state, + storage=self.storage, + system_data=self.system_data, + tags=self.tags, + type=self.type, + version=self.version) + + +def get_server(resource_group_name: Optional[str] = None, + server_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerResult: + """ + Gets information about a server. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:dbformysql/v20230601preview:getServer', __args__, opts=opts, typ=GetServerResult).value + + return AwaitableGetServerResult( + administrator_login=pulumi.get(__ret__, 'administrator_login'), + availability_zone=pulumi.get(__ret__, 'availability_zone'), + backup=pulumi.get(__ret__, 'backup'), + data_encryption=pulumi.get(__ret__, 'data_encryption'), + fully_qualified_domain_name=pulumi.get(__ret__, 'fully_qualified_domain_name'), + high_availability=pulumi.get(__ret__, 'high_availability'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + import_source_properties=pulumi.get(__ret__, 'import_source_properties'), + location=pulumi.get(__ret__, 'location'), + maintenance_window=pulumi.get(__ret__, 'maintenance_window'), + name=pulumi.get(__ret__, 'name'), + network=pulumi.get(__ret__, 'network'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + replica_capacity=pulumi.get(__ret__, 'replica_capacity'), + replication_role=pulumi.get(__ret__, 'replication_role'), + sku=pulumi.get(__ret__, 'sku'), + source_server_resource_id=pulumi.get(__ret__, 'source_server_resource_id'), + state=pulumi.get(__ret__, 'state'), + storage=pulumi.get(__ret__, 'storage'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version')) + + +@_utilities.lift_output_func(get_server) +def get_server_output(resource_group_name: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerResult]: + """ + Gets information about a server. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str server_name: The name of the server. + """ + ... diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/outputs.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/outputs.py new file mode 100644 index 000000000000..69c33e94185c --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/outputs.py @@ -0,0 +1,1071 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'BackupResponse', + 'DataEncryptionResponse', + 'HighAvailabilityResponse', + 'ImportSourcePropertiesResponse', + 'MaintenanceWindowResponse', + 'MySQLServerIdentityResponse', + 'MySQLServerSkuResponse', + 'NetworkResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointResponse', + 'PrivateLinkServiceConnectionStateResponse', + 'StorageResponse', + 'SystemDataResponse', + 'UserAssignedIdentityResponse', +] + +@pulumi.output_type +class BackupResponse(dict): + """ + Storage Profile properties of a server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "earliestRestoreDate": + suggest = "earliest_restore_date" + elif key == "backupRetentionDays": + suggest = "backup_retention_days" + elif key == "geoRedundantBackup": + suggest = "geo_redundant_backup" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + earliest_restore_date: str, + backup_retention_days: Optional[int] = None, + geo_redundant_backup: Optional[str] = None): + """ + Storage Profile properties of a server + :param str earliest_restore_date: Earliest restore point creation time (ISO8601 format) + :param int backup_retention_days: Backup retention days for the server. + :param str geo_redundant_backup: Whether or not geo redundant backup is enabled. + """ + pulumi.set(__self__, "earliest_restore_date", earliest_restore_date) + if backup_retention_days is not None: + pulumi.set(__self__, "backup_retention_days", backup_retention_days) + if geo_redundant_backup is None: + geo_redundant_backup = 'Disabled' + if geo_redundant_backup is not None: + pulumi.set(__self__, "geo_redundant_backup", geo_redundant_backup) + + @property + @pulumi.getter(name="earliestRestoreDate") + def earliest_restore_date(self) -> str: + """ + Earliest restore point creation time (ISO8601 format) + """ + return pulumi.get(self, "earliest_restore_date") + + @property + @pulumi.getter(name="backupRetentionDays") + def backup_retention_days(self) -> Optional[int]: + """ + Backup retention days for the server. + """ + return pulumi.get(self, "backup_retention_days") + + @property + @pulumi.getter(name="geoRedundantBackup") + def geo_redundant_backup(self) -> Optional[str]: + """ + Whether or not geo redundant backup is enabled. + """ + return pulumi.get(self, "geo_redundant_backup") + + +@pulumi.output_type +class DataEncryptionResponse(dict): + """ + The date encryption for cmk. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "geoBackupKeyURI": + suggest = "geo_backup_key_uri" + elif key == "geoBackupUserAssignedIdentityId": + suggest = "geo_backup_user_assigned_identity_id" + elif key == "primaryKeyURI": + suggest = "primary_key_uri" + elif key == "primaryUserAssignedIdentityId": + suggest = "primary_user_assigned_identity_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataEncryptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataEncryptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataEncryptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + geo_backup_key_uri: Optional[str] = None, + geo_backup_user_assigned_identity_id: Optional[str] = None, + primary_key_uri: Optional[str] = None, + primary_user_assigned_identity_id: Optional[str] = None, + type: Optional[str] = None): + """ + The date encryption for cmk. + :param str geo_backup_key_uri: Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + :param str geo_backup_user_assigned_identity_id: Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + :param str primary_key_uri: Primary key uri + :param str primary_user_assigned_identity_id: Primary user identity resource id + :param str type: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + """ + if geo_backup_key_uri is not None: + pulumi.set(__self__, "geo_backup_key_uri", geo_backup_key_uri) + if geo_backup_user_assigned_identity_id is not None: + pulumi.set(__self__, "geo_backup_user_assigned_identity_id", geo_backup_user_assigned_identity_id) + if primary_key_uri is not None: + pulumi.set(__self__, "primary_key_uri", primary_key_uri) + if primary_user_assigned_identity_id is not None: + pulumi.set(__self__, "primary_user_assigned_identity_id", primary_user_assigned_identity_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="geoBackupKeyURI") + def geo_backup_key_uri(self) -> Optional[str]: + """ + Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup + """ + return pulumi.get(self, "geo_backup_key_uri") + + @property + @pulumi.getter(name="geoBackupUserAssignedIdentityId") + def geo_backup_user_assigned_identity_id(self) -> Optional[str]: + """ + Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup + """ + return pulumi.get(self, "geo_backup_user_assigned_identity_id") + + @property + @pulumi.getter(name="primaryKeyURI") + def primary_key_uri(self) -> Optional[str]: + """ + Primary key uri + """ + return pulumi.get(self, "primary_key_uri") + + @property + @pulumi.getter(name="primaryUserAssignedIdentityId") + def primary_user_assigned_identity_id(self) -> Optional[str]: + """ + Primary user identity resource id + """ + return pulumi.get(self, "primary_user_assigned_identity_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class HighAvailabilityResponse(dict): + """ + Network related properties of a server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "standbyAvailabilityZone": + suggest = "standby_availability_zone" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HighAvailabilityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HighAvailabilityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HighAvailabilityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + state: str, + mode: Optional[str] = None, + standby_availability_zone: Optional[str] = None): + """ + Network related properties of a server + :param str state: The state of server high availability. + :param str mode: High availability mode for a server. + :param str standby_availability_zone: Availability zone of the standby server. + """ + pulumi.set(__self__, "state", state) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if standby_availability_zone is not None: + pulumi.set(__self__, "standby_availability_zone", standby_availability_zone) + + @property + @pulumi.getter + def state(self) -> str: + """ + The state of server high availability. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + """ + High availability mode for a server. + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="standbyAvailabilityZone") + def standby_availability_zone(self) -> Optional[str]: + """ + Availability zone of the standby server. + """ + return pulumi.get(self, "standby_availability_zone") + + +@pulumi.output_type +class ImportSourcePropertiesResponse(dict): + """ + Import source related properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataDirPath": + suggest = "data_dir_path" + elif key == "storageType": + suggest = "storage_type" + elif key == "storageUrl": + suggest = "storage_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ImportSourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ImportSourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ImportSourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_dir_path: Optional[str] = None, + storage_type: Optional[str] = None, + storage_url: Optional[str] = None): + """ + Import source related properties. + :param str data_dir_path: Relative path of data directory in storage. + :param str storage_type: Storage type of import source. + :param str storage_url: Uri of the import source storage. + """ + if data_dir_path is not None: + pulumi.set(__self__, "data_dir_path", data_dir_path) + if storage_type is not None: + pulumi.set(__self__, "storage_type", storage_type) + if storage_url is not None: + pulumi.set(__self__, "storage_url", storage_url) + + @property + @pulumi.getter(name="dataDirPath") + def data_dir_path(self) -> Optional[str]: + """ + Relative path of data directory in storage. + """ + return pulumi.get(self, "data_dir_path") + + @property + @pulumi.getter(name="storageType") + def storage_type(self) -> Optional[str]: + """ + Storage type of import source. + """ + return pulumi.get(self, "storage_type") + + @property + @pulumi.getter(name="storageUrl") + def storage_url(self) -> Optional[str]: + """ + Uri of the import source storage. + """ + return pulumi.get(self, "storage_url") + + +@pulumi.output_type +class MaintenanceWindowResponse(dict): + """ + Maintenance window of a server. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "customWindow": + suggest = "custom_window" + elif key == "dayOfWeek": + suggest = "day_of_week" + elif key == "startHour": + suggest = "start_hour" + elif key == "startMinute": + suggest = "start_minute" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MaintenanceWindowResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MaintenanceWindowResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MaintenanceWindowResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + custom_window: Optional[str] = None, + day_of_week: Optional[int] = None, + start_hour: Optional[int] = None, + start_minute: Optional[int] = None): + """ + Maintenance window of a server. + :param str custom_window: indicates whether custom window is enabled or disabled + :param int day_of_week: day of week for maintenance window + :param int start_hour: start hour for maintenance window + :param int start_minute: start minute for maintenance window + """ + if custom_window is not None: + pulumi.set(__self__, "custom_window", custom_window) + if day_of_week is not None: + pulumi.set(__self__, "day_of_week", day_of_week) + if start_hour is not None: + pulumi.set(__self__, "start_hour", start_hour) + if start_minute is not None: + pulumi.set(__self__, "start_minute", start_minute) + + @property + @pulumi.getter(name="customWindow") + def custom_window(self) -> Optional[str]: + """ + indicates whether custom window is enabled or disabled + """ + return pulumi.get(self, "custom_window") + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> Optional[int]: + """ + day of week for maintenance window + """ + return pulumi.get(self, "day_of_week") + + @property + @pulumi.getter(name="startHour") + def start_hour(self) -> Optional[int]: + """ + start hour for maintenance window + """ + return pulumi.get(self, "start_hour") + + @property + @pulumi.getter(name="startMinute") + def start_minute(self) -> Optional[int]: + """ + start minute for maintenance window + """ + return pulumi.get(self, "start_minute") + + +@pulumi.output_type +class MySQLServerIdentityResponse(dict): + """ + Properties to configure Identity for Bring your Own Keys + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MySQLServerIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MySQLServerIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MySQLServerIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None, + user_assigned_identities: Optional[Mapping[str, Sequence['outputs.UserAssignedIdentityResponse']]] = None): + """ + Properties to configure Identity for Bring your Own Keys + :param str principal_id: ObjectId from the KeyVault + :param str tenant_id: TenantId from the KeyVault + :param str type: Type of managed service identity. + :param Mapping[str, Sequence['UserAssignedIdentityResponse']] user_assigned_identities: Metadata of user assigned identity. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + ObjectId from the KeyVault + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + TenantId from the KeyVault + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Type of managed service identity. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, Sequence['outputs.UserAssignedIdentityResponse']]]: + """ + Metadata of user assigned identity. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class MySQLServerSkuResponse(dict): + """ + Billing information related properties of a server. + """ + def __init__(__self__, *, + name: str, + tier: str): + """ + Billing information related properties of a server. + :param str name: The name of the sku, e.g. Standard_D32s_v3. + :param str tier: The tier of the particular SKU, e.g. GeneralPurpose. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the sku, e.g. Standard_D32s_v3. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tier(self) -> str: + """ + The tier of the particular SKU, e.g. GeneralPurpose. + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class NetworkResponse(dict): + """ + Network related properties of a server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "delegatedSubnetResourceId": + suggest = "delegated_subnet_resource_id" + elif key == "privateDnsZoneResourceId": + suggest = "private_dns_zone_resource_id" + elif key == "publicNetworkAccess": + suggest = "public_network_access" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + delegated_subnet_resource_id: Optional[str] = None, + private_dns_zone_resource_id: Optional[str] = None, + public_network_access: Optional[str] = None): + """ + Network related properties of a server + :param str delegated_subnet_resource_id: Delegated subnet resource id used to setup vnet for a server. + :param str private_dns_zone_resource_id: Private DNS zone resource id. + :param str public_network_access: Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + """ + if delegated_subnet_resource_id is not None: + pulumi.set(__self__, "delegated_subnet_resource_id", delegated_subnet_resource_id) + if private_dns_zone_resource_id is not None: + pulumi.set(__self__, "private_dns_zone_resource_id", private_dns_zone_resource_id) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + + @property + @pulumi.getter(name="delegatedSubnetResourceId") + def delegated_subnet_resource_id(self) -> Optional[str]: + """ + Delegated subnet resource id used to setup vnet for a server. + """ + return pulumi.get(self, "delegated_subnet_resource_id") + + @property + @pulumi.getter(name="privateDnsZoneResourceId") + def private_dns_zone_resource_id(self) -> Optional[str]: + """ + Private DNS zone resource id. + """ + return pulumi.get(self, "private_dns_zone_resource_id") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. + """ + return pulumi.get(self, "public_network_access") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + The private endpoint connection resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupIds": + suggest = "group_ids" + elif key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "systemData": + suggest = "system_data" + elif key == "privateEndpoint": + suggest = "private_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_ids: Sequence[str], + id: str, + name: str, + private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStateResponse', + provisioning_state: str, + system_data: 'outputs.SystemDataResponse', + type: str, + private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None): + """ + The private endpoint connection resource. + :param Sequence[str] group_ids: The group ids for the private endpoint resource. + :param str id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + :param str name: The name of the resource + :param 'PrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param str provisioning_state: The provisioning state of the private endpoint connection resource. + :param 'SystemDataResponse' system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param 'PrivateEndpointResponse' private_endpoint: The private endpoint resource. + """ + pulumi.set(__self__, "group_ids", group_ids) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "system_data", system_data) + pulumi.set(__self__, "type", type) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + + @property + @pulumi.getter(name="groupIds") + def group_ids(self) -> Sequence[str]: + """ + The group ids for the private endpoint resource. + """ + return pulumi.get(self, "group_ids") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The private endpoint resource. + """ + return pulumi.get(self, "private_endpoint") + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + The private endpoint resource. + """ + def __init__(__self__, *, + id: str): + """ + The private endpoint resource. + :param str id: The ARM identifier for private endpoint. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ARM identifier for private endpoint. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStateResponse(dict): + """ + A collection of information about the state of the connection between service consumer and provider. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: Optional[str] = None, + description: Optional[str] = None, + status: Optional[str] = None): + """ + A collection of information about the state of the connection between service consumer and provider. + :param str actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param str description: The reason for approval/rejection of the connection. + :param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[str]: + """ + A message indicating if changes on the service provider require any updates on the consumer. + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The reason for approval/rejection of the connection. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class StorageResponse(dict): + """ + Storage Profile properties of a server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "storageSku": + suggest = "storage_sku" + elif key == "autoGrow": + suggest = "auto_grow" + elif key == "autoIoScaling": + suggest = "auto_io_scaling" + elif key == "logOnDisk": + suggest = "log_on_disk" + elif key == "storageSizeGB": + suggest = "storage_size_gb" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StorageResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StorageResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StorageResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + storage_sku: str, + auto_grow: Optional[str] = None, + auto_io_scaling: Optional[str] = None, + iops: Optional[int] = None, + log_on_disk: Optional[str] = None, + storage_size_gb: Optional[int] = None): + """ + Storage Profile properties of a server + :param str storage_sku: The sku name of the server storage. + :param str auto_grow: Enable Storage Auto Grow or not. + :param str auto_io_scaling: Enable IO Auto Scaling or not. + :param int iops: Storage IOPS for a server. + :param str log_on_disk: Enable Log On Disk or not. + :param int storage_size_gb: Max storage size allowed for a server. + """ + pulumi.set(__self__, "storage_sku", storage_sku) + if auto_grow is None: + auto_grow = 'Disabled' + if auto_grow is not None: + pulumi.set(__self__, "auto_grow", auto_grow) + if auto_io_scaling is None: + auto_io_scaling = 'Disabled' + if auto_io_scaling is not None: + pulumi.set(__self__, "auto_io_scaling", auto_io_scaling) + if iops is not None: + pulumi.set(__self__, "iops", iops) + if log_on_disk is None: + log_on_disk = 'Disabled' + if log_on_disk is not None: + pulumi.set(__self__, "log_on_disk", log_on_disk) + if storage_size_gb is not None: + pulumi.set(__self__, "storage_size_gb", storage_size_gb) + + @property + @pulumi.getter(name="storageSku") + def storage_sku(self) -> str: + """ + The sku name of the server storage. + """ + return pulumi.get(self, "storage_sku") + + @property + @pulumi.getter(name="autoGrow") + def auto_grow(self) -> Optional[str]: + """ + Enable Storage Auto Grow or not. + """ + return pulumi.get(self, "auto_grow") + + @property + @pulumi.getter(name="autoIoScaling") + def auto_io_scaling(self) -> Optional[str]: + """ + Enable IO Auto Scaling or not. + """ + return pulumi.get(self, "auto_io_scaling") + + @property + @pulumi.getter + def iops(self) -> Optional[int]: + """ + Storage IOPS for a server. + """ + return pulumi.get(self, "iops") + + @property + @pulumi.getter(name="logOnDisk") + def log_on_disk(self) -> Optional[str]: + """ + Enable Log On Disk or not. + """ + return pulumi.get(self, "log_on_disk") + + @property + @pulumi.getter(name="storageSizeGB") + def storage_size_gb(self) -> Optional[int]: + """ + Max storage size allowed for a server. + """ + return pulumi.get(self, "storage_size_gb") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + Metadata of user assigned identity. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + Metadata of user assigned identity. + :param str client_id: Client Id of user assigned identity + :param str principal_id: Principal Id of user assigned identity + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + Client Id of user assigned identity + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + Principal Id of user assigned identity + """ + return pulumi.get(self, "principal_id") + + diff --git a/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/server.py b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/server.py new file mode 100644 index 000000000000..b6556b4b69d1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/dbformysql/v20230601preview/server.py @@ -0,0 +1,730 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ServerArgs', 'Server'] + +@pulumi.input_type +class ServerArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + administrator_login: Optional[pulumi.Input[str]] = None, + administrator_login_password: Optional[pulumi.Input[str]] = None, + availability_zone: Optional[pulumi.Input[str]] = None, + backup: Optional[pulumi.Input['BackupArgs']] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + data_encryption: Optional[pulumi.Input['DataEncryptionArgs']] = None, + high_availability: Optional[pulumi.Input['HighAvailabilityArgs']] = None, + identity: Optional[pulumi.Input['MySQLServerIdentityArgs']] = None, + import_source_properties: Optional[pulumi.Input['ImportSourcePropertiesArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input['MaintenanceWindowArgs']] = None, + network: Optional[pulumi.Input['NetworkArgs']] = None, + replication_role: Optional[pulumi.Input[Union[str, 'ReplicationRole']]] = None, + restore_point_in_time: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input['MySQLServerSkuArgs']] = None, + source_server_resource_id: Optional[pulumi.Input[str]] = None, + storage: Optional[pulumi.Input['StorageArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None): + """ + The set of arguments for constructing a Server resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] administrator_login: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + :param pulumi.Input[str] administrator_login_password: The password of the administrator login (required for server creation). + :param pulumi.Input[str] availability_zone: availability Zone information of the server. + :param pulumi.Input['BackupArgs'] backup: Backup related properties of a server. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: The mode to create a new MySQL server. + :param pulumi.Input['DataEncryptionArgs'] data_encryption: The Data Encryption for CMK. + :param pulumi.Input['HighAvailabilityArgs'] high_availability: High availability related properties of a server. + :param pulumi.Input['MySQLServerIdentityArgs'] identity: The cmk identity for the server. + :param pulumi.Input['ImportSourcePropertiesArgs'] import_source_properties: Source properties for import from storage. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input['MaintenanceWindowArgs'] maintenance_window: Maintenance window of a server. + :param pulumi.Input['NetworkArgs'] network: Network related properties of a server. + :param pulumi.Input[Union[str, 'ReplicationRole']] replication_role: The replication role. + :param pulumi.Input[str] restore_point_in_time: Restore point creation time (ISO8601 format), specifying the time to restore from. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input['MySQLServerSkuArgs'] sku: The SKU (pricing tier) of the server. + :param pulumi.Input[str] source_server_resource_id: The source MySQL server id. + :param pulumi.Input['StorageArgs'] storage: Storage related properties of a server. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Union[str, 'ServerVersion']] version: Server version. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if administrator_login is not None: + pulumi.set(__self__, "administrator_login", administrator_login) + if administrator_login_password is not None: + pulumi.set(__self__, "administrator_login_password", administrator_login_password) + if availability_zone is not None: + pulumi.set(__self__, "availability_zone", availability_zone) + if backup is not None: + pulumi.set(__self__, "backup", backup) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if data_encryption is not None: + pulumi.set(__self__, "data_encryption", data_encryption) + if high_availability is not None: + pulumi.set(__self__, "high_availability", high_availability) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if import_source_properties is not None: + pulumi.set(__self__, "import_source_properties", import_source_properties) + if location is not None: + pulumi.set(__self__, "location", location) + if maintenance_window is not None: + pulumi.set(__self__, "maintenance_window", maintenance_window) + if network is not None: + pulumi.set(__self__, "network", network) + if replication_role is not None: + pulumi.set(__self__, "replication_role", replication_role) + if restore_point_in_time is not None: + pulumi.set(__self__, "restore_point_in_time", restore_point_in_time) + if server_name is not None: + pulumi.set(__self__, "server_name", server_name) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if source_server_resource_id is not None: + pulumi.set(__self__, "source_server_resource_id", source_server_resource_id) + if storage is not None: + pulumi.set(__self__, "storage", storage) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="administratorLogin") + def administrator_login(self) -> Optional[pulumi.Input[str]]: + """ + The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + """ + return pulumi.get(self, "administrator_login") + + @administrator_login.setter + def administrator_login(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "administrator_login", value) + + @property + @pulumi.getter(name="administratorLoginPassword") + def administrator_login_password(self) -> Optional[pulumi.Input[str]]: + """ + The password of the administrator login (required for server creation). + """ + return pulumi.get(self, "administrator_login_password") + + @administrator_login_password.setter + def administrator_login_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "administrator_login_password", value) + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> Optional[pulumi.Input[str]]: + """ + availability Zone information of the server. + """ + return pulumi.get(self, "availability_zone") + + @availability_zone.setter + def availability_zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability_zone", value) + + @property + @pulumi.getter + def backup(self) -> Optional[pulumi.Input['BackupArgs']]: + """ + Backup related properties of a server. + """ + return pulumi.get(self, "backup") + + @backup.setter + def backup(self, value: Optional[pulumi.Input['BackupArgs']]): + pulumi.set(self, "backup", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + The mode to create a new MySQL server. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="dataEncryption") + def data_encryption(self) -> Optional[pulumi.Input['DataEncryptionArgs']]: + """ + The Data Encryption for CMK. + """ + return pulumi.get(self, "data_encryption") + + @data_encryption.setter + def data_encryption(self, value: Optional[pulumi.Input['DataEncryptionArgs']]): + pulumi.set(self, "data_encryption", value) + + @property + @pulumi.getter(name="highAvailability") + def high_availability(self) -> Optional[pulumi.Input['HighAvailabilityArgs']]: + """ + High availability related properties of a server. + """ + return pulumi.get(self, "high_availability") + + @high_availability.setter + def high_availability(self, value: Optional[pulumi.Input['HighAvailabilityArgs']]): + pulumi.set(self, "high_availability", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['MySQLServerIdentityArgs']]: + """ + The cmk identity for the server. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['MySQLServerIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="importSourceProperties") + def import_source_properties(self) -> Optional[pulumi.Input['ImportSourcePropertiesArgs']]: + """ + Source properties for import from storage. + """ + return pulumi.get(self, "import_source_properties") + + @import_source_properties.setter + def import_source_properties(self, value: Optional[pulumi.Input['ImportSourcePropertiesArgs']]): + pulumi.set(self, "import_source_properties", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional[pulumi.Input['MaintenanceWindowArgs']]: + """ + Maintenance window of a server. + """ + return pulumi.get(self, "maintenance_window") + + @maintenance_window.setter + def maintenance_window(self, value: Optional[pulumi.Input['MaintenanceWindowArgs']]): + pulumi.set(self, "maintenance_window", value) + + @property + @pulumi.getter + def network(self) -> Optional[pulumi.Input['NetworkArgs']]: + """ + Network related properties of a server. + """ + return pulumi.get(self, "network") + + @network.setter + def network(self, value: Optional[pulumi.Input['NetworkArgs']]): + pulumi.set(self, "network", value) + + @property + @pulumi.getter(name="replicationRole") + def replication_role(self) -> Optional[pulumi.Input[Union[str, 'ReplicationRole']]]: + """ + The replication role. + """ + return pulumi.get(self, "replication_role") + + @replication_role.setter + def replication_role(self, value: Optional[pulumi.Input[Union[str, 'ReplicationRole']]]): + pulumi.set(self, "replication_role", value) + + @property + @pulumi.getter(name="restorePointInTime") + def restore_point_in_time(self) -> Optional[pulumi.Input[str]]: + """ + Restore point creation time (ISO8601 format), specifying the time to restore from. + """ + return pulumi.get(self, "restore_point_in_time") + + @restore_point_in_time.setter + def restore_point_in_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_point_in_time", value) + + @property + @pulumi.getter(name="serverName") + def server_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the server. + """ + return pulumi.get(self, "server_name") + + @server_name.setter + def server_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "server_name", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['MySQLServerSkuArgs']]: + """ + The SKU (pricing tier) of the server. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['MySQLServerSkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="sourceServerResourceId") + def source_server_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The source MySQL server id. + """ + return pulumi.get(self, "source_server_resource_id") + + @source_server_resource_id.setter + def source_server_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_server_resource_id", value) + + @property + @pulumi.getter + def storage(self) -> Optional[pulumi.Input['StorageArgs']]: + """ + Storage related properties of a server. + """ + return pulumi.get(self, "storage") + + @storage.setter + def storage(self, value: Optional[pulumi.Input['StorageArgs']]): + pulumi.set(self, "storage", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 + def version(self) -> Optional[pulumi.Input[Union[str, 'ServerVersion']]]: + """ + Server version. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[Union[str, 'ServerVersion']]]): + pulumi.set(self, "version", value) + + +class Server(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + administrator_login: Optional[pulumi.Input[str]] = None, + administrator_login_password: Optional[pulumi.Input[str]] = None, + availability_zone: Optional[pulumi.Input[str]] = None, + backup: Optional[pulumi.Input[pulumi.InputType['BackupArgs']]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + data_encryption: Optional[pulumi.Input[pulumi.InputType['DataEncryptionArgs']]] = None, + high_availability: Optional[pulumi.Input[pulumi.InputType['HighAvailabilityArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['MySQLServerIdentityArgs']]] = None, + import_source_properties: Optional[pulumi.Input[pulumi.InputType['ImportSourcePropertiesArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']]] = None, + network: Optional[pulumi.Input[pulumi.InputType['NetworkArgs']]] = None, + replication_role: Optional[pulumi.Input[Union[str, 'ReplicationRole']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_point_in_time: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['MySQLServerSkuArgs']]] = None, + source_server_resource_id: Optional[pulumi.Input[str]] = None, + storage: Optional[pulumi.Input[pulumi.InputType['StorageArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None, + __props__=None): + """ + Represents a server. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] administrator_login: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + :param pulumi.Input[str] administrator_login_password: The password of the administrator login (required for server creation). + :param pulumi.Input[str] availability_zone: availability Zone information of the server. + :param pulumi.Input[pulumi.InputType['BackupArgs']] backup: Backup related properties of a server. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: The mode to create a new MySQL server. + :param pulumi.Input[pulumi.InputType['DataEncryptionArgs']] data_encryption: The Data Encryption for CMK. + :param pulumi.Input[pulumi.InputType['HighAvailabilityArgs']] high_availability: High availability related properties of a server. + :param pulumi.Input[pulumi.InputType['MySQLServerIdentityArgs']] identity: The cmk identity for the server. + :param pulumi.Input[pulumi.InputType['ImportSourcePropertiesArgs']] import_source_properties: Source properties for import from storage. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']] maintenance_window: Maintenance window of a server. + :param pulumi.Input[pulumi.InputType['NetworkArgs']] network: Network related properties of a server. + :param pulumi.Input[Union[str, 'ReplicationRole']] replication_role: The replication role. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] restore_point_in_time: Restore point creation time (ISO8601 format), specifying the time to restore from. + :param pulumi.Input[str] server_name: The name of the server. + :param pulumi.Input[pulumi.InputType['MySQLServerSkuArgs']] sku: The SKU (pricing tier) of the server. + :param pulumi.Input[str] source_server_resource_id: The source MySQL server id. + :param pulumi.Input[pulumi.InputType['StorageArgs']] storage: Storage related properties of a server. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Union[str, 'ServerVersion']] version: Server version. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ServerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a server. + + :param str resource_name: The name of the resource. + :param ServerArgs 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(ServerArgs, 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, + administrator_login: Optional[pulumi.Input[str]] = None, + administrator_login_password: Optional[pulumi.Input[str]] = None, + availability_zone: Optional[pulumi.Input[str]] = None, + backup: Optional[pulumi.Input[pulumi.InputType['BackupArgs']]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + data_encryption: Optional[pulumi.Input[pulumi.InputType['DataEncryptionArgs']]] = None, + high_availability: Optional[pulumi.Input[pulumi.InputType['HighAvailabilityArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['MySQLServerIdentityArgs']]] = None, + import_source_properties: Optional[pulumi.Input[pulumi.InputType['ImportSourcePropertiesArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input[pulumi.InputType['MaintenanceWindowArgs']]] = None, + network: Optional[pulumi.Input[pulumi.InputType['NetworkArgs']]] = None, + replication_role: Optional[pulumi.Input[Union[str, 'ReplicationRole']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_point_in_time: Optional[pulumi.Input[str]] = None, + server_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['MySQLServerSkuArgs']]] = None, + source_server_resource_id: Optional[pulumi.Input[str]] = None, + storage: Optional[pulumi.Input[pulumi.InputType['StorageArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = 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__ = ServerArgs.__new__(ServerArgs) + + __props__.__dict__["administrator_login"] = administrator_login + __props__.__dict__["administrator_login_password"] = administrator_login_password + __props__.__dict__["availability_zone"] = availability_zone + __props__.__dict__["backup"] = backup + __props__.__dict__["create_mode"] = create_mode + __props__.__dict__["data_encryption"] = data_encryption + __props__.__dict__["high_availability"] = high_availability + __props__.__dict__["identity"] = identity + __props__.__dict__["import_source_properties"] = import_source_properties + __props__.__dict__["location"] = location + __props__.__dict__["maintenance_window"] = maintenance_window + __props__.__dict__["network"] = network + __props__.__dict__["replication_role"] = replication_role + 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__["restore_point_in_time"] = restore_point_in_time + __props__.__dict__["server_name"] = server_name + __props__.__dict__["sku"] = sku + __props__.__dict__["source_server_resource_id"] = source_server_resource_id + __props__.__dict__["storage"] = storage + __props__.__dict__["tags"] = tags + __props__.__dict__["version"] = version + __props__.__dict__["fully_qualified_domain_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["replica_capacity"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbformysql:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20200701privatepreview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20210501preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20211201preview:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220101:Server"), pulumi.Alias(type_="azure-native:dbformysql/v20220930preview:Server")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Server, __self__).__init__( + 'azure-native:dbformysql/v20230601preview:Server', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Server': + """ + Get an existing Server 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ServerArgs.__new__(ServerArgs) + + __props__.__dict__["administrator_login"] = None + __props__.__dict__["availability_zone"] = None + __props__.__dict__["backup"] = None + __props__.__dict__["data_encryption"] = None + __props__.__dict__["fully_qualified_domain_name"] = None + __props__.__dict__["high_availability"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["import_source_properties"] = None + __props__.__dict__["location"] = None + __props__.__dict__["maintenance_window"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["replica_capacity"] = None + __props__.__dict__["replication_role"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["source_server_resource_id"] = None + __props__.__dict__["state"] = None + __props__.__dict__["storage"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + return Server(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="administratorLogin") + def administrator_login(self) -> pulumi.Output[Optional[str]]: + """ + The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + """ + return pulumi.get(self, "administrator_login") + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> pulumi.Output[Optional[str]]: + """ + availability Zone information of the server. + """ + return pulumi.get(self, "availability_zone") + + @property + @pulumi.getter + def backup(self) -> pulumi.Output[Optional['outputs.BackupResponse']]: + """ + Backup related properties of a server. + """ + return pulumi.get(self, "backup") + + @property + @pulumi.getter(name="dataEncryption") + def data_encryption(self) -> pulumi.Output[Optional['outputs.DataEncryptionResponse']]: + """ + The Data Encryption for CMK. + """ + return pulumi.get(self, "data_encryption") + + @property + @pulumi.getter(name="fullyQualifiedDomainName") + def fully_qualified_domain_name(self) -> pulumi.Output[str]: + """ + The fully qualified domain name of a server. + """ + return pulumi.get(self, "fully_qualified_domain_name") + + @property + @pulumi.getter(name="highAvailability") + def high_availability(self) -> pulumi.Output[Optional['outputs.HighAvailabilityResponse']]: + """ + High availability related properties of a server. + """ + return pulumi.get(self, "high_availability") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.MySQLServerIdentityResponse']]: + """ + The cmk identity for the server. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="importSourceProperties") + def import_source_properties(self) -> pulumi.Output[Optional['outputs.ImportSourcePropertiesResponse']]: + """ + Source properties for import from storage. + """ + return pulumi.get(self, "import_source_properties") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> pulumi.Output[Optional['outputs.MaintenanceWindowResponse']]: + """ + Maintenance window of a server. + """ + return pulumi.get(self, "maintenance_window") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def network(self) -> pulumi.Output[Optional['outputs.NetworkResponse']]: + """ + Network related properties of a server. + """ + return pulumi.get(self, "network") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + PrivateEndpointConnections related properties of a server. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="replicaCapacity") + def replica_capacity(self) -> pulumi.Output[int]: + """ + The maximum number of replicas that a primary server can have. + """ + return pulumi.get(self, "replica_capacity") + + @property + @pulumi.getter(name="replicationRole") + def replication_role(self) -> pulumi.Output[Optional[str]]: + """ + The replication role. + """ + return pulumi.get(self, "replication_role") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.MySQLServerSkuResponse']]: + """ + The SKU (pricing tier) of the server. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="sourceServerResourceId") + def source_server_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The source MySQL server id. + """ + return pulumi.get(self, "source_server_resource_id") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The state of a server. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def storage(self) -> pulumi.Output[Optional['outputs.StorageResponse']]: + """ + Storage related properties of a server. + """ + return pulumi.get(self, "storage") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[Optional[str]]: + """ + Server version. + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/__init__.py b/sdk/python/pulumi_azure_native/desktopvirtualization/__init__.py index de5ecfd28551..22b67158ddd1 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/__init__.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/__init__.py @@ -43,6 +43,8 @@ v20221014preview = __v20221014preview import pulumi_azure_native.desktopvirtualization.v20230707preview as __v20230707preview v20230707preview = __v20230707preview + import pulumi_azure_native.desktopvirtualization.v20230905 as __v20230905 + v20230905 = __v20230905 else: v20210201preview = _utilities.lazy_import('pulumi_azure_native.desktopvirtualization.v20210201preview') v20220210preview = _utilities.lazy_import('pulumi_azure_native.desktopvirtualization.v20220210preview') @@ -50,4 +52,5 @@ v20220909 = _utilities.lazy_import('pulumi_azure_native.desktopvirtualization.v20220909') v20221014preview = _utilities.lazy_import('pulumi_azure_native.desktopvirtualization.v20221014preview') v20230707preview = _utilities.lazy_import('pulumi_azure_native.desktopvirtualization.v20230707preview') + v20230905 = _utilities.lazy_import('pulumi_azure_native.desktopvirtualization.v20230905') diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/application.py b/sdk/python/pulumi_azure_native/desktopvirtualization/application.py index 5869df321ad2..92599b18fb30 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/application.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/application.py @@ -357,7 +357,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Application")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Application, __self__).__init__( 'azure-native:desktopvirtualization:Application', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/application_group.py index 8484e9829276..da8da1143735 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/application_group.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/application_group.py @@ -324,7 +324,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workspace_arm_path"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ApplicationGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ApplicationGroup, __self__).__init__( 'azure-native:desktopvirtualization:ApplicationGroup', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/host_pool.py index 8be1a230f3b9..7e585066fe4e 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/host_pool.py @@ -605,7 +605,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:HostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HostPool, __self__).__init__( 'azure-native:desktopvirtualization:HostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/msix_package.py b/sdk/python/pulumi_azure_native/desktopvirtualization/msix_package.py index e6ac601fdef5..3830405ff481 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/msix_package.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/msix_package.py @@ -353,7 +353,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:MSIXPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSIXPackage, __self__).__init__( 'azure-native:desktopvirtualization:MSIXPackage', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_host_pool.py index 2e0d3c5af2bf..b97ad2a0484f 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_host_pool.py @@ -157,7 +157,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnectionByHostPool, __self__).__init__( 'azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_workspace.py index 01bd81929d98..314df121aeac 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/private_endpoint_connection_by_workspace.py @@ -157,7 +157,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnectionByWorkspace, __self__).__init__( 'azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan.py index cab8c821c8d7..8b8f78377857 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan.py @@ -385,7 +385,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlan, __self__).__init__( 'azure-native:desktopvirtualization:ScalingPlan', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_personal_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_personal_schedule.py index 8b122f55284e..85c8d41d4ab3 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_personal_schedule.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_personal_schedule.py @@ -670,7 +670,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlanPersonalSchedule, __self__).__init__( 'azure-native:desktopvirtualization:ScalingPlanPersonalSchedule', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_pooled_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_pooled_schedule.py index d7291e177b25..59643a7b2c7e 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_pooled_schedule.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/scaling_plan_pooled_schedule.py @@ -474,7 +474,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlanPooledSchedule, __self__).__init__( 'azure-native:desktopvirtualization:ScalingPlanPooledSchedule', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20210201preview/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20210201preview/scaling_plan.py index 81b98c33c8b3..c013601ff081 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20210201preview/scaling_plan.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20210201preview/scaling_plan.py @@ -397,7 +397,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["object_id"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlan, __self__).__init__( 'azure-native:desktopvirtualization/v20210201preview:ScalingPlan', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220210preview/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220210preview/scaling_plan.py index b9f069107b2d..8d0cc6fc7b59 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220210preview/scaling_plan.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220210preview/scaling_plan.py @@ -378,7 +378,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlan, __self__).__init__( 'azure-native:desktopvirtualization/v20220210preview:ScalingPlan', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/application_group.py index 62f178a7e612..05b166d7a0fc 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/application_group.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/application_group.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workspace_arm_path"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ApplicationGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ApplicationGroup, __self__).__init__( 'azure-native:desktopvirtualization/v20220401preview:ApplicationGroup', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/host_pool.py index 3785b34a4c52..5703140f3640 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220401preview/host_pool.py @@ -644,7 +644,7 @@ def _internal_init(__self__, __props__.__dict__["private_endpoint_connections"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:HostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HostPool, __self__).__init__( 'azure-native:desktopvirtualization/v20220401preview:HostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application.py index 9ed3b20f8be5..a8324ca7e9ba 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application.py @@ -355,7 +355,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Application")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Application, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:Application', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application_group.py index a2ef0dc0523c..911b1d3a0a62 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application_group.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/application_group.py @@ -322,7 +322,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workspace_arm_path"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ApplicationGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ApplicationGroup, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:ApplicationGroup', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/host_pool.py index 9e7cda49ec2b..21c5ac83d1ed 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/host_pool.py @@ -603,7 +603,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:HostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HostPool, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:HostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/msix_package.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/msix_package.py index 43371642bc88..9cfc71694504 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/msix_package.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/msix_package.py @@ -351,7 +351,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:MSIXPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSIXPackage, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:MSIXPackage', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan.py index 5e09ee256324..9de6f6a3beb1 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan.py @@ -383,7 +383,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlan, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:ScalingPlan', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan_pooled_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan_pooled_schedule.py index e9a1def3a0fa..12c9870d2373 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan_pooled_schedule.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/scaling_plan_pooled_schedule.py @@ -472,7 +472,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlanPooledSchedule, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/workspace.py index 540f1d78226b..f31b006dbc7c 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20220909/workspace.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Workspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Workspace, __self__).__init__( 'azure-native:desktopvirtualization/v20220909:Workspace', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application.py index 3f092c427626..70217f45fc50 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application.py @@ -355,7 +355,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Application")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Application, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:Application', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application_group.py index 34be7e76d83e..e98520484539 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application_group.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/application_group.py @@ -322,7 +322,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workspace_arm_path"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ApplicationGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ApplicationGroup, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:ApplicationGroup', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/host_pool.py index 46fd81a6d779..31b3694da8b0 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/host_pool.py @@ -624,7 +624,7 @@ def _internal_init(__self__, __props__.__dict__["private_endpoint_connections"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:HostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HostPool, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:HostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/msix_package.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/msix_package.py index 5bce8f819b9e..e53840e1332e 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/msix_package.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/msix_package.py @@ -351,7 +351,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:MSIXPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSIXPackage, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:MSIXPackage', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_host_pool.py index 59549b5fe385..aa10a0be8b30 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_host_pool.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnectionByHostPool, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_workspace.py index c463624a2ef5..6e5cfa6a9ae9 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/private_endpoint_connection_by_workspace.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnectionByWorkspace, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan.py index b048f2b95bbb..3cb5c725aecf 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan.py @@ -383,7 +383,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlan, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:ScalingPlan', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan_pooled_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan_pooled_schedule.py index b9aaf62e28b3..131418881b06 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan_pooled_schedule.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/scaling_plan_pooled_schedule.py @@ -472,7 +472,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlanPooledSchedule, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/workspace.py index a6531e3c9fe6..48fbeafc06ac 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20221014preview/workspace.py @@ -320,7 +320,7 @@ def _internal_init(__self__, __props__.__dict__["private_endpoint_connections"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Workspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Workspace, __self__).__init__( 'azure-native:desktopvirtualization/v20221014preview:Workspace', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application.py index 3f986f857b6f..17e897390c3c 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application.py @@ -355,7 +355,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Application")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Application, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:Application', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application_group.py index 1d21619e666e..a15f9282d376 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application_group.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/application_group.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workspace_arm_path"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ApplicationGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ApplicationGroup, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:ApplicationGroup', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/host_pool.py index 1d4cd01a1c57..cc65c8d01256 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/host_pool.py @@ -624,7 +624,7 @@ def _internal_init(__self__, __props__.__dict__["private_endpoint_connections"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:HostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HostPool, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:HostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/msix_package.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/msix_package.py index 2d6257956210..d8b66a82a329 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/msix_package.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/msix_package.py @@ -351,7 +351,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:MSIXPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSIXPackage, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:MSIXPackage', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_host_pool.py index bc0caf4cf4f9..7f6732e4d3ff 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_host_pool.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_host_pool.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnectionByHostPool, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_workspace.py index 8a9e991373a0..d955f9e25d63 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/private_endpoint_connection_by_workspace.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnectionByWorkspace, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan.py index 7e12bbde0c97..6d85db6d7dba 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan.py @@ -383,7 +383,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlan, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:ScalingPlan', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_personal_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_personal_schedule.py index 33526effea89..69942ce2e83f 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_personal_schedule.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_personal_schedule.py @@ -668,7 +668,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPersonalSchedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPersonalSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlanPersonalSchedule, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_pooled_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_pooled_schedule.py index 71df582f0fce..ae0843f58123 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_pooled_schedule.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/scaling_plan_pooled_schedule.py @@ -472,7 +472,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScalingPlanPooledSchedule, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/workspace.py index 08a685933f92..ccac57234242 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230707preview/workspace.py @@ -320,7 +320,7 @@ def _internal_init(__self__, __props__.__dict__["private_endpoint_connections"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Workspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Workspace, __self__).__init__( 'azure-native:desktopvirtualization/v20230707preview:Workspace', diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/__init__.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/__init__.py new file mode 100644 index 000000000000..7723898f7dd5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/__init__.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .application import * +from .application_group import * +from .get_application import * +from .get_application_group import * +from .get_host_pool import * +from .get_msix_package import * +from .get_private_endpoint_connection_by_host_pool import * +from .get_private_endpoint_connection_by_workspace import * +from .get_scaling_plan import * +from .get_scaling_plan_personal_schedule import * +from .get_scaling_plan_pooled_schedule import * +from .get_workspace import * +from .host_pool import * +from .msix_package import * +from .private_endpoint_connection_by_host_pool import * +from .private_endpoint_connection_by_workspace import * +from .scaling_plan import * +from .scaling_plan_personal_schedule import * +from .scaling_plan_pooled_schedule import * +from .workspace import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/_enums.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/_enums.py new file mode 100644 index 000000000000..4c9219843d64 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/_enums.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'ApplicationGroupType', + 'CommandLineSetting', + 'DayOfWeek', + 'HostPoolType', + 'HostpoolPublicNetworkAccess', + 'LoadBalancerType', + 'PersonalDesktopAssignmentType', + 'PreferredAppGroupType', + 'PrivateEndpointServiceConnectionStatus', + 'PublicNetworkAccess', + 'RegistrationTokenOperation', + 'RemoteApplicationType', + 'ResourceIdentityType', + 'SSOSecretType', + 'ScalingHostPoolType', + 'SessionHandlingOperation', + 'SessionHostComponentUpdateType', + 'SessionHostLoadBalancingAlgorithm', + 'SetStartVMOnConnect', + 'SkuTier', + 'StartupBehavior', + 'StopHostsWhen', +] + + +class ApplicationGroupType(str, Enum): + """ + Resource Type of ApplicationGroup. + """ + REMOTE_APP = "RemoteApp" + DESKTOP = "Desktop" + + +class CommandLineSetting(str, Enum): + """ + Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + """ + DO_NOT_ALLOW = "DoNotAllow" + ALLOW = "Allow" + REQUIRE = "Require" + + +class DayOfWeek(str, Enum): + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + SUNDAY = "Sunday" + + +class HostPoolType(str, Enum): + """ + HostPool type for desktop. + """ + PERSONAL = "Personal" + """ + Users will be assigned a SessionHost either by administrators (PersonalDesktopAssignmentType = Direct) or upon connecting to the pool (PersonalDesktopAssignmentType = Automatic). They will always be redirected to their assigned SessionHost. + """ + POOLED = "Pooled" + """ + Users get a new (random) SessionHost every time it connects to the HostPool. + """ + BYO_DESKTOP = "BYODesktop" + """ + Users assign their own machines, load balancing logic remains the same as Personal. PersonalDesktopAssignmentType must be Direct. + """ + + +class HostpoolPublicNetworkAccess(str, Enum): + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + ENABLED_FOR_SESSION_HOSTS_ONLY = "EnabledForSessionHostsOnly" + ENABLED_FOR_CLIENTS_ONLY = "EnabledForClientsOnly" + + +class LoadBalancerType(str, Enum): + """ + The type of the load balancer. + """ + BREADTH_FIRST = "BreadthFirst" + DEPTH_FIRST = "DepthFirst" + PERSISTENT = "Persistent" + + +class PersonalDesktopAssignmentType(str, Enum): + """ + PersonalDesktopAssignment type for HostPool. + """ + AUTOMATIC = "Automatic" + DIRECT = "Direct" + + +class PreferredAppGroupType(str, Enum): + """ + The type of preferred application group type, default to Desktop Application Group + """ + NONE = "None" + DESKTOP = "Desktop" + RAIL_APPLICATIONS = "RailApplications" + + +class PrivateEndpointServiceConnectionStatus(str, Enum): + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + PENDING = "Pending" + APPROVED = "Approved" + REJECTED = "Rejected" + + +class PublicNetworkAccess(str, Enum): + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class RegistrationTokenOperation(str, Enum): + """ + The type of resetting the token. + """ + DELETE = "Delete" + NONE = "None" + UPDATE = "Update" + + +class RemoteApplicationType(str, Enum): + """ + Resource Type of Application. + """ + IN_BUILT = "InBuilt" + MSIX_APPLICATION = "MsixApplication" + + +class ResourceIdentityType(str, Enum): + """ + The identity type. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + + +class SSOSecretType(str, Enum): + """ + The type of single sign on Secret Type. + """ + SHARED_KEY = "SharedKey" + CERTIFICATE = "Certificate" + SHARED_KEY_IN_KEY_VAULT = "SharedKeyInKeyVault" + CERTIFICATE_IN_KEY_VAULT = "CertificateInKeyVault" + + +class ScalingHostPoolType(str, Enum): + """ + HostPool type for desktop. + """ + POOLED = "Pooled" + """ + Users get a new (random) SessionHost every time it connects to the HostPool. + """ + + +class SessionHandlingOperation(str, Enum): + """ + Action to be taken after a logoff during the ramp up period. + """ + NONE = "None" + DEALLOCATE = "Deallocate" + + +class SessionHostComponentUpdateType(str, Enum): + """ + The type of maintenance for session host components. + """ + DEFAULT = "Default" + """ + Agent and other agent side components are delivery schedule is controlled by WVD Infra. + """ + SCHEDULED = "Scheduled" + """ + TenantAdmin have opted in for Scheduled Component Update feature. + """ + + +class SessionHostLoadBalancingAlgorithm(str, Enum): + """ + Load balancing algorithm for ramp up period. + """ + BREADTH_FIRST = "BreadthFirst" + DEPTH_FIRST = "DepthFirst" + + +class SetStartVMOnConnect(str, Enum): + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + """ + ENABLE = "Enable" + DISABLE = "Disable" + + +class SkuTier(str, Enum): + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" + + +class StartupBehavior(str, Enum): + """ + The desired startup behavior during the ramp up period for personal vms in the hostpool. + """ + NONE = "None" + """ + Session hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts. + """ + WITH_ASSIGNED_USER = "WithAssignedUser" + """ + Session hosts with an assigned user will be started during Ramp Up + """ + ALL = "All" + """ + All personal session hosts in the hostpool will be started during ramp up. + """ + + +class StopHostsWhen(str, Enum): + """ + Specifies when to stop hosts during ramp down period. + """ + ZERO_SESSIONS = "ZeroSessions" + ZERO_ACTIVE_SESSIONS = "ZeroActiveSessions" diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/_inputs.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/_inputs.py new file mode 100644 index 000000000000..5c94f0de5a14 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/_inputs.py @@ -0,0 +1,994 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AgentUpdatePropertiesArgs', + 'MaintenanceWindowPropertiesArgs', + 'MsixPackageApplicationsArgs', + 'MsixPackageDependenciesArgs', + 'PrivateLinkServiceConnectionStateArgs', + 'RegistrationInfoArgs', + 'ResourceModelWithAllowedPropertySetIdentityArgs', + 'ResourceModelWithAllowedPropertySetPlanArgs', + 'ResourceModelWithAllowedPropertySetSkuArgs', + 'ScalingHostPoolReferenceArgs', + 'ScalingScheduleArgs', + 'TimeArgs', +] + +@pulumi.input_type +class AgentUpdatePropertiesArgs: + def __init__(__self__, *, + maintenance_window_time_zone: Optional[pulumi.Input[str]] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowPropertiesArgs']]]] = None, + type: Optional[pulumi.Input[Union[str, 'SessionHostComponentUpdateType']]] = None, + use_session_host_local_time: Optional[pulumi.Input[bool]] = None): + """ + The session host configuration for updating agent, monitoring agent, and stack component. + :param pulumi.Input[str] maintenance_window_time_zone: Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + :param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowPropertiesArgs']]] maintenance_windows: List of maintenance windows. Maintenance windows are 2 hours long. + :param pulumi.Input[Union[str, 'SessionHostComponentUpdateType']] type: The type of maintenance for session host components. + :param pulumi.Input[bool] use_session_host_local_time: Whether to use localTime of the virtual machine. + """ + if maintenance_window_time_zone is not None: + pulumi.set(__self__, "maintenance_window_time_zone", maintenance_window_time_zone) + if maintenance_windows is not None: + pulumi.set(__self__, "maintenance_windows", maintenance_windows) + if type is not None: + pulumi.set(__self__, "type", type) + if use_session_host_local_time is not None: + pulumi.set(__self__, "use_session_host_local_time", use_session_host_local_time) + + @property + @pulumi.getter(name="maintenanceWindowTimeZone") + def maintenance_window_time_zone(self) -> Optional[pulumi.Input[str]]: + """ + Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + """ + return pulumi.get(self, "maintenance_window_time_zone") + + @maintenance_window_time_zone.setter + def maintenance_window_time_zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "maintenance_window_time_zone", value) + + @property + @pulumi.getter(name="maintenanceWindows") + def maintenance_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowPropertiesArgs']]]]: + """ + List of maintenance windows. Maintenance windows are 2 hours long. + """ + return pulumi.get(self, "maintenance_windows") + + @maintenance_windows.setter + def maintenance_windows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowPropertiesArgs']]]]): + pulumi.set(self, "maintenance_windows", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'SessionHostComponentUpdateType']]]: + """ + The type of maintenance for session host components. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'SessionHostComponentUpdateType']]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="useSessionHostLocalTime") + def use_session_host_local_time(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to use localTime of the virtual machine. + """ + return pulumi.get(self, "use_session_host_local_time") + + @use_session_host_local_time.setter + def use_session_host_local_time(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_session_host_local_time", value) + + +@pulumi.input_type +class MaintenanceWindowPropertiesArgs: + def __init__(__self__, *, + day_of_week: Optional[pulumi.Input['DayOfWeek']] = None, + hour: Optional[pulumi.Input[int]] = None): + """ + Maintenance window starting hour and day of week. + :param pulumi.Input['DayOfWeek'] day_of_week: Day of the week. + :param pulumi.Input[int] hour: The update start hour of the day. (0 - 23) + """ + if day_of_week is not None: + pulumi.set(__self__, "day_of_week", day_of_week) + if hour is not None: + pulumi.set(__self__, "hour", hour) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> Optional[pulumi.Input['DayOfWeek']]: + """ + Day of the week. + """ + return pulumi.get(self, "day_of_week") + + @day_of_week.setter + def day_of_week(self, value: Optional[pulumi.Input['DayOfWeek']]): + pulumi.set(self, "day_of_week", value) + + @property + @pulumi.getter + def hour(self) -> Optional[pulumi.Input[int]]: + """ + The update start hour of the day. (0 - 23) + """ + return pulumi.get(self, "hour") + + @hour.setter + def hour(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "hour", value) + + +@pulumi.input_type +class MsixPackageApplicationsArgs: + def __init__(__self__, *, + app_id: Optional[pulumi.Input[str]] = None, + app_user_model_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + icon_image_name: Optional[pulumi.Input[str]] = None, + raw_icon: Optional[pulumi.Input[str]] = None, + raw_png: Optional[pulumi.Input[str]] = None): + """ + Schema for MSIX Package Application properties. + :param pulumi.Input[str] app_id: Package Application Id, found in appxmanifest.xml. + :param pulumi.Input[str] app_user_model_id: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + :param pulumi.Input[str] description: Description of Package Application. + :param pulumi.Input[str] friendly_name: User friendly name. + :param pulumi.Input[str] icon_image_name: User friendly name. + :param pulumi.Input[str] raw_icon: the icon a 64 bit string as a byte array. + :param pulumi.Input[str] raw_png: the icon a 64 bit string as a byte array. + """ + if app_id is not None: + pulumi.set(__self__, "app_id", app_id) + if app_user_model_id is not None: + pulumi.set(__self__, "app_user_model_id", app_user_model_id) + if description is not None: + pulumi.set(__self__, "description", description) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if icon_image_name is not None: + pulumi.set(__self__, "icon_image_name", icon_image_name) + if raw_icon is not None: + pulumi.set(__self__, "raw_icon", raw_icon) + if raw_png is not None: + pulumi.set(__self__, "raw_png", raw_png) + + @property + @pulumi.getter(name="appId") + def app_id(self) -> Optional[pulumi.Input[str]]: + """ + Package Application Id, found in appxmanifest.xml. + """ + return pulumi.get(self, "app_id") + + @app_id.setter + def app_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_id", value) + + @property + @pulumi.getter(name="appUserModelID") + def app_user_model_id(self) -> Optional[pulumi.Input[str]]: + """ + Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + """ + return pulumi.get(self, "app_user_model_id") + + @app_user_model_id.setter + def app_user_model_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_user_model_id", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of Package Application. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + User friendly name. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter(name="iconImageName") + def icon_image_name(self) -> Optional[pulumi.Input[str]]: + """ + User friendly name. + """ + return pulumi.get(self, "icon_image_name") + + @icon_image_name.setter + def icon_image_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon_image_name", value) + + @property + @pulumi.getter(name="rawIcon") + def raw_icon(self) -> Optional[pulumi.Input[str]]: + """ + the icon a 64 bit string as a byte array. + """ + return pulumi.get(self, "raw_icon") + + @raw_icon.setter + def raw_icon(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "raw_icon", value) + + @property + @pulumi.getter(name="rawPng") + def raw_png(self) -> Optional[pulumi.Input[str]]: + """ + the icon a 64 bit string as a byte array. + """ + return pulumi.get(self, "raw_png") + + @raw_png.setter + def raw_png(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "raw_png", value) + + +@pulumi.input_type +class MsixPackageDependenciesArgs: + def __init__(__self__, *, + dependency_name: Optional[pulumi.Input[str]] = None, + min_version: Optional[pulumi.Input[str]] = None, + publisher: Optional[pulumi.Input[str]] = None): + """ + Schema for MSIX Package Dependencies properties. + :param pulumi.Input[str] dependency_name: Name of package dependency. + :param pulumi.Input[str] min_version: Dependency version required. + :param pulumi.Input[str] publisher: Name of dependency publisher. + """ + if dependency_name is not None: + pulumi.set(__self__, "dependency_name", dependency_name) + if min_version is not None: + pulumi.set(__self__, "min_version", min_version) + if publisher is not None: + pulumi.set(__self__, "publisher", publisher) + + @property + @pulumi.getter(name="dependencyName") + def dependency_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of package dependency. + """ + return pulumi.get(self, "dependency_name") + + @dependency_name.setter + def dependency_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dependency_name", value) + + @property + @pulumi.getter(name="minVersion") + def min_version(self) -> Optional[pulumi.Input[str]]: + """ + Dependency version required. + """ + return pulumi.get(self, "min_version") + + @min_version.setter + def min_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "min_version", value) + + @property + @pulumi.getter + def publisher(self) -> Optional[pulumi.Input[str]]: + """ + Name of dependency publisher. + """ + return pulumi.get(self, "publisher") + + @publisher.setter + def publisher(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "publisher", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStateArgs: + def __init__(__self__, *, + actions_required: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]] = None): + """ + A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param pulumi.Input[str] description: The reason for approval/rejection of the connection. + :param pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']] status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[pulumi.Input[str]]: + """ + A message indicating if changes on the service provider require any updates on the consumer. + """ + return pulumi.get(self, "actions_required") + + @actions_required.setter + def actions_required(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "actions_required", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The reason for approval/rejection of the connection. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class RegistrationInfoArgs: + def __init__(__self__, *, + expiration_time: Optional[pulumi.Input[str]] = None, + registration_token_operation: Optional[pulumi.Input[Union[str, 'RegistrationTokenOperation']]] = None, + token: Optional[pulumi.Input[str]] = None): + """ + Represents a RegistrationInfo definition. + :param pulumi.Input[str] expiration_time: Expiration time of registration token. + :param pulumi.Input[Union[str, 'RegistrationTokenOperation']] registration_token_operation: The type of resetting the token. + :param pulumi.Input[str] token: The registration token base64 encoded string. + """ + if expiration_time is not None: + pulumi.set(__self__, "expiration_time", expiration_time) + if registration_token_operation is not None: + pulumi.set(__self__, "registration_token_operation", registration_token_operation) + if token is not None: + pulumi.set(__self__, "token", token) + + @property + @pulumi.getter(name="expirationTime") + def expiration_time(self) -> Optional[pulumi.Input[str]]: + """ + Expiration time of registration token. + """ + return pulumi.get(self, "expiration_time") + + @expiration_time.setter + def expiration_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expiration_time", value) + + @property + @pulumi.getter(name="registrationTokenOperation") + def registration_token_operation(self) -> Optional[pulumi.Input[Union[str, 'RegistrationTokenOperation']]]: + """ + The type of resetting the token. + """ + return pulumi.get(self, "registration_token_operation") + + @registration_token_operation.setter + def registration_token_operation(self, value: Optional[pulumi.Input[Union[str, 'RegistrationTokenOperation']]]): + pulumi.set(self, "registration_token_operation", value) + + @property + @pulumi.getter + def token(self) -> Optional[pulumi.Input[str]]: + """ + The registration token base64 encoded string. + """ + return pulumi.get(self, "token") + + @token.setter + def token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token", value) + + +@pulumi.input_type +class ResourceModelWithAllowedPropertySetIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input['ResourceIdentityType']] = None): + """ + :param pulumi.Input['ResourceIdentityType'] type: The identity type. + """ + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['ResourceIdentityType']]: + """ + The identity type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['ResourceIdentityType']]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class ResourceModelWithAllowedPropertySetPlanArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + product: pulumi.Input[str], + publisher: pulumi.Input[str], + promotion_code: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: A user defined name of the 3rd Party Artifact that is being procured. + :param pulumi.Input[str] product: The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + :param pulumi.Input[str] publisher: The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + :param pulumi.Input[str] promotion_code: A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + :param pulumi.Input[str] version: The version of the desired product/artifact. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "product", product) + pulumi.set(__self__, "publisher", publisher) + if promotion_code is not None: + pulumi.set(__self__, "promotion_code", promotion_code) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + A user defined name of the 3rd Party Artifact that is being procured. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def product(self) -> pulumi.Input[str]: + """ + The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + """ + return pulumi.get(self, "product") + + @product.setter + def product(self, value: pulumi.Input[str]): + pulumi.set(self, "product", value) + + @property + @pulumi.getter + def publisher(self) -> pulumi.Input[str]: + """ + The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + """ + return pulumi.get(self, "publisher") + + @publisher.setter + def publisher(self, value: pulumi.Input[str]): + pulumi.set(self, "publisher", value) + + @property + @pulumi.getter(name="promotionCode") + def promotion_code(self) -> Optional[pulumi.Input[str]]: + """ + A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + """ + return pulumi.get(self, "promotion_code") + + @promotion_code.setter + def promotion_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "promotion_code", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the desired product/artifact. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "version", value) + + +@pulumi.input_type +class ResourceModelWithAllowedPropertySetSkuArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + capacity: Optional[pulumi.Input[int]] = None, + family: Optional[pulumi.Input[str]] = None, + size: Optional[pulumi.Input[str]] = None, + tier: Optional[pulumi.Input['SkuTier']] = None): + """ + :param pulumi.Input[str] name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param pulumi.Input[int] capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param pulumi.Input[str] family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param pulumi.Input[str] size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param pulumi.Input['SkuTier'] tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[int]]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def family(self) -> Optional[pulumi.Input[str]]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @family.setter + def family(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "family", value) + + @property + @pulumi.getter + def size(self) -> Optional[pulumi.Input[str]]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @size.setter + def size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "size", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input['SkuTier']]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input['SkuTier']]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class ScalingHostPoolReferenceArgs: + def __init__(__self__, *, + host_pool_arm_path: Optional[pulumi.Input[str]] = None, + scaling_plan_enabled: Optional[pulumi.Input[bool]] = None): + """ + Scaling plan reference to hostpool. + :param pulumi.Input[str] host_pool_arm_path: Arm path of referenced hostpool. + :param pulumi.Input[bool] scaling_plan_enabled: Is the scaling plan enabled for this hostpool. + """ + if host_pool_arm_path is not None: + pulumi.set(__self__, "host_pool_arm_path", host_pool_arm_path) + if scaling_plan_enabled is not None: + pulumi.set(__self__, "scaling_plan_enabled", scaling_plan_enabled) + + @property + @pulumi.getter(name="hostPoolArmPath") + def host_pool_arm_path(self) -> Optional[pulumi.Input[str]]: + """ + Arm path of referenced hostpool. + """ + return pulumi.get(self, "host_pool_arm_path") + + @host_pool_arm_path.setter + def host_pool_arm_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_pool_arm_path", value) + + @property + @pulumi.getter(name="scalingPlanEnabled") + def scaling_plan_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Is the scaling plan enabled for this hostpool. + """ + return pulumi.get(self, "scaling_plan_enabled") + + @scaling_plan_enabled.setter + def scaling_plan_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "scaling_plan_enabled", value) + + +@pulumi.input_type +class ScalingScheduleArgs: + def __init__(__self__, *, + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + off_peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + off_peak_start_time: Optional[pulumi.Input['TimeArgs']] = None, + peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + peak_start_time: Optional[pulumi.Input['TimeArgs']] = None, + ramp_down_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_down_force_logoff_users: Optional[pulumi.Input[bool]] = None, + ramp_down_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_down_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_down_notification_message: Optional[pulumi.Input[str]] = None, + ramp_down_start_time: Optional[pulumi.Input['TimeArgs']] = None, + ramp_down_stop_hosts_when: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]] = None, + ramp_down_wait_time_minutes: Optional[pulumi.Input[int]] = None, + ramp_up_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_up_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_up_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input['TimeArgs']] = None): + """ + A ScalingPlanPooledSchedule. + :param pulumi.Input[Sequence[pulumi.Input[str]]] days_of_week: Set of days of the week on which this schedule is active. + :param pulumi.Input[str] name: Name of the ScalingPlanPooledSchedule. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period. + :param pulumi.Input['TimeArgs'] off_peak_start_time: Starting time for off-peak period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] peak_load_balancing_algorithm: Load balancing algorithm for peak period. + :param pulumi.Input['TimeArgs'] peak_start_time: Starting time for peak period. + :param pulumi.Input[int] ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period. + :param pulumi.Input[bool] ramp_down_force_logoff_users: Should users be logged off forcefully from hosts. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period. + :param pulumi.Input[int] ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period. + :param pulumi.Input[str] ramp_down_notification_message: Notification message for users during ramp down period. + :param pulumi.Input['TimeArgs'] ramp_down_start_time: Starting time for ramp down period. + :param pulumi.Input[Union[str, 'StopHostsWhen']] ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period. + :param pulumi.Input[int] ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down period. + :param pulumi.Input[int] ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. + :param pulumi.Input[int] ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period. + :param pulumi.Input['TimeArgs'] ramp_up_start_time: Starting time for ramp up period. + """ + if days_of_week is not None: + pulumi.set(__self__, "days_of_week", days_of_week) + if name is not None: + pulumi.set(__self__, "name", name) + if off_peak_load_balancing_algorithm is not None: + pulumi.set(__self__, "off_peak_load_balancing_algorithm", off_peak_load_balancing_algorithm) + if off_peak_start_time is not None: + pulumi.set(__self__, "off_peak_start_time", off_peak_start_time) + if peak_load_balancing_algorithm is not None: + pulumi.set(__self__, "peak_load_balancing_algorithm", peak_load_balancing_algorithm) + if peak_start_time is not None: + pulumi.set(__self__, "peak_start_time", peak_start_time) + if ramp_down_capacity_threshold_pct is not None: + pulumi.set(__self__, "ramp_down_capacity_threshold_pct", ramp_down_capacity_threshold_pct) + if ramp_down_force_logoff_users is not None: + pulumi.set(__self__, "ramp_down_force_logoff_users", ramp_down_force_logoff_users) + if ramp_down_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_down_load_balancing_algorithm", ramp_down_load_balancing_algorithm) + if ramp_down_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_down_minimum_hosts_pct", ramp_down_minimum_hosts_pct) + if ramp_down_notification_message is not None: + pulumi.set(__self__, "ramp_down_notification_message", ramp_down_notification_message) + if ramp_down_start_time is not None: + pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) + if ramp_down_stop_hosts_when is not None: + pulumi.set(__self__, "ramp_down_stop_hosts_when", ramp_down_stop_hosts_when) + if ramp_down_wait_time_minutes is not None: + pulumi.set(__self__, "ramp_down_wait_time_minutes", ramp_down_wait_time_minutes) + if ramp_up_capacity_threshold_pct is not None: + pulumi.set(__self__, "ramp_up_capacity_threshold_pct", ramp_up_capacity_threshold_pct) + if ramp_up_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_up_load_balancing_algorithm", ramp_up_load_balancing_algorithm) + if ramp_up_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_up_minimum_hosts_pct", ramp_up_minimum_hosts_pct) + if ramp_up_start_time is not None: + pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @days_of_week.setter + def days_of_week(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "days_of_week", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the ScalingPlanPooledSchedule. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="offPeakLoadBalancingAlgorithm") + def off_peak_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for off-peak period. + """ + return pulumi.get(self, "off_peak_load_balancing_algorithm") + + @off_peak_load_balancing_algorithm.setter + def off_peak_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "off_peak_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @off_peak_start_time.setter + def off_peak_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "off_peak_start_time", value) + + @property + @pulumi.getter(name="peakLoadBalancingAlgorithm") + def peak_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for peak period. + """ + return pulumi.get(self, "peak_load_balancing_algorithm") + + @peak_load_balancing_algorithm.setter + def peak_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "peak_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @peak_start_time.setter + def peak_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "peak_start_time", value) + + @property + @pulumi.getter(name="rampDownCapacityThresholdPct") + def ramp_down_capacity_threshold_pct(self) -> Optional[pulumi.Input[int]]: + """ + Capacity threshold for ramp down period. + """ + return pulumi.get(self, "ramp_down_capacity_threshold_pct") + + @ramp_down_capacity_threshold_pct.setter + def ramp_down_capacity_threshold_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_capacity_threshold_pct", value) + + @property + @pulumi.getter(name="rampDownForceLogoffUsers") + def ramp_down_force_logoff_users(self) -> Optional[pulumi.Input[bool]]: + """ + Should users be logged off forcefully from hosts. + """ + return pulumi.get(self, "ramp_down_force_logoff_users") + + @ramp_down_force_logoff_users.setter + def ramp_down_force_logoff_users(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ramp_down_force_logoff_users", value) + + @property + @pulumi.getter(name="rampDownLoadBalancingAlgorithm") + def ramp_down_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for ramp down period. + """ + return pulumi.get(self, "ramp_down_load_balancing_algorithm") + + @ramp_down_load_balancing_algorithm.setter + def ramp_down_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "ramp_down_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="rampDownMinimumHostsPct") + def ramp_down_minimum_hosts_pct(self) -> Optional[pulumi.Input[int]]: + """ + Minimum host percentage for ramp down period. + """ + return pulumi.get(self, "ramp_down_minimum_hosts_pct") + + @ramp_down_minimum_hosts_pct.setter + def ramp_down_minimum_hosts_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_minimum_hosts_pct", value) + + @property + @pulumi.getter(name="rampDownNotificationMessage") + def ramp_down_notification_message(self) -> Optional[pulumi.Input[str]]: + """ + Notification message for users during ramp down period. + """ + return pulumi.get(self, "ramp_down_notification_message") + + @ramp_down_notification_message.setter + def ramp_down_notification_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ramp_down_notification_message", value) + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @ramp_down_start_time.setter + def ramp_down_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "ramp_down_start_time", value) + + @property + @pulumi.getter(name="rampDownStopHostsWhen") + def ramp_down_stop_hosts_when(self) -> Optional[pulumi.Input[Union[str, 'StopHostsWhen']]]: + """ + Specifies when to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_stop_hosts_when") + + @ramp_down_stop_hosts_when.setter + def ramp_down_stop_hosts_when(self, value: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]]): + pulumi.set(self, "ramp_down_stop_hosts_when", value) + + @property + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Number of minutes to wait to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_wait_time_minutes") + + @ramp_down_wait_time_minutes.setter + def ramp_down_wait_time_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_wait_time_minutes", value) + + @property + @pulumi.getter(name="rampUpCapacityThresholdPct") + def ramp_up_capacity_threshold_pct(self) -> Optional[pulumi.Input[int]]: + """ + Capacity threshold for ramp up period. + """ + return pulumi.get(self, "ramp_up_capacity_threshold_pct") + + @ramp_up_capacity_threshold_pct.setter + def ramp_up_capacity_threshold_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_capacity_threshold_pct", value) + + @property + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @ramp_up_load_balancing_algorithm.setter + def ramp_up_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "ramp_up_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> Optional[pulumi.Input[int]]: + """ + Minimum host percentage for ramp up period. + """ + return pulumi.get(self, "ramp_up_minimum_hosts_pct") + + @ramp_up_minimum_hosts_pct.setter + def ramp_up_minimum_hosts_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_minimum_hosts_pct", value) + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @ramp_up_start_time.setter + def ramp_up_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "ramp_up_start_time", value) + + +@pulumi.input_type +class TimeArgs: + def __init__(__self__, *, + hour: pulumi.Input[int], + minute: pulumi.Input[int]): + """ + The time for a scaling action to occur. + :param pulumi.Input[int] hour: The hour. + :param pulumi.Input[int] minute: The minute. + """ + pulumi.set(__self__, "hour", hour) + pulumi.set(__self__, "minute", minute) + + @property + @pulumi.getter + def hour(self) -> pulumi.Input[int]: + """ + The hour. + """ + return pulumi.get(self, "hour") + + @hour.setter + def hour(self, value: pulumi.Input[int]): + pulumi.set(self, "hour", value) + + @property + @pulumi.getter + def minute(self) -> pulumi.Input[int]: + """ + The minute. + """ + return pulumi.get(self, "minute") + + @minute.setter + def minute(self, value: pulumi.Input[int]): + pulumi.set(self, "minute", value) + + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/application.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/application.py new file mode 100644 index 000000000000..7d45561f5648 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/application.py @@ -0,0 +1,536 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['ApplicationArgs', 'Application'] + +@pulumi.input_type +class ApplicationArgs: + def __init__(__self__, *, + application_group_name: pulumi.Input[str], + command_line_setting: pulumi.Input[Union[str, 'CommandLineSetting']], + resource_group_name: pulumi.Input[str], + application_name: Optional[pulumi.Input[str]] = None, + application_type: Optional[pulumi.Input[Union[str, 'RemoteApplicationType']]] = None, + command_line_arguments: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + file_path: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + icon_index: Optional[pulumi.Input[int]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + msix_package_application_id: Optional[pulumi.Input[str]] = None, + msix_package_family_name: Optional[pulumi.Input[str]] = None, + show_in_portal: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a Application resource. + :param pulumi.Input[str] application_group_name: The name of the application group + :param pulumi.Input[Union[str, 'CommandLineSetting']] command_line_setting: Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] application_name: The name of the application within the specified application group + :param pulumi.Input[Union[str, 'RemoteApplicationType']] application_type: Resource Type of Application. + :param pulumi.Input[str] command_line_arguments: Command Line Arguments for Application. + :param pulumi.Input[str] description: Description of Application. + :param pulumi.Input[str] file_path: Specifies a path for the executable file for the application. + :param pulumi.Input[str] friendly_name: Friendly name of Application. + :param pulumi.Input[int] icon_index: Index of the icon. + :param pulumi.Input[str] icon_path: Path to icon. + :param pulumi.Input[str] msix_package_application_id: Specifies the package application Id for MSIX applications + :param pulumi.Input[str] msix_package_family_name: Specifies the package family name for MSIX applications + :param pulumi.Input[bool] show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access server. + """ + pulumi.set(__self__, "application_group_name", application_group_name) + pulumi.set(__self__, "command_line_setting", command_line_setting) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if application_name is not None: + pulumi.set(__self__, "application_name", application_name) + if application_type is not None: + pulumi.set(__self__, "application_type", application_type) + if command_line_arguments is not None: + pulumi.set(__self__, "command_line_arguments", command_line_arguments) + if description is not None: + pulumi.set(__self__, "description", description) + if file_path is not None: + pulumi.set(__self__, "file_path", file_path) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if icon_index is not None: + pulumi.set(__self__, "icon_index", icon_index) + if icon_path is not None: + pulumi.set(__self__, "icon_path", icon_path) + if msix_package_application_id is not None: + pulumi.set(__self__, "msix_package_application_id", msix_package_application_id) + if msix_package_family_name is not None: + pulumi.set(__self__, "msix_package_family_name", msix_package_family_name) + if show_in_portal is not None: + pulumi.set(__self__, "show_in_portal", show_in_portal) + + @property + @pulumi.getter(name="applicationGroupName") + def application_group_name(self) -> pulumi.Input[str]: + """ + The name of the application group + """ + return pulumi.get(self, "application_group_name") + + @application_group_name.setter + def application_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "application_group_name", value) + + @property + @pulumi.getter(name="commandLineSetting") + def command_line_setting(self) -> pulumi.Input[Union[str, 'CommandLineSetting']]: + """ + Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + """ + return pulumi.get(self, "command_line_setting") + + @command_line_setting.setter + def command_line_setting(self, value: pulumi.Input[Union[str, 'CommandLineSetting']]): + pulumi.set(self, "command_line_setting", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="applicationName") + def application_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the application within the specified application group + """ + return pulumi.get(self, "application_name") + + @application_name.setter + def application_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "application_name", value) + + @property + @pulumi.getter(name="applicationType") + def application_type(self) -> Optional[pulumi.Input[Union[str, 'RemoteApplicationType']]]: + """ + Resource Type of Application. + """ + return pulumi.get(self, "application_type") + + @application_type.setter + def application_type(self, value: Optional[pulumi.Input[Union[str, 'RemoteApplicationType']]]): + pulumi.set(self, "application_type", value) + + @property + @pulumi.getter(name="commandLineArguments") + def command_line_arguments(self) -> Optional[pulumi.Input[str]]: + """ + Command Line Arguments for Application. + """ + return pulumi.get(self, "command_line_arguments") + + @command_line_arguments.setter + def command_line_arguments(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "command_line_arguments", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of Application. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="filePath") + def file_path(self) -> Optional[pulumi.Input[str]]: + """ + Specifies a path for the executable file for the application. + """ + return pulumi.get(self, "file_path") + + @file_path.setter + def file_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "file_path", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + Friendly name of Application. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter(name="iconIndex") + def icon_index(self) -> Optional[pulumi.Input[int]]: + """ + Index of the icon. + """ + return pulumi.get(self, "icon_index") + + @icon_index.setter + def icon_index(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "icon_index", value) + + @property + @pulumi.getter(name="iconPath") + def icon_path(self) -> Optional[pulumi.Input[str]]: + """ + Path to icon. + """ + return pulumi.get(self, "icon_path") + + @icon_path.setter + def icon_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon_path", value) + + @property + @pulumi.getter(name="msixPackageApplicationId") + def msix_package_application_id(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the package application Id for MSIX applications + """ + return pulumi.get(self, "msix_package_application_id") + + @msix_package_application_id.setter + def msix_package_application_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "msix_package_application_id", value) + + @property + @pulumi.getter(name="msixPackageFamilyName") + def msix_package_family_name(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the package family name for MSIX applications + """ + return pulumi.get(self, "msix_package_family_name") + + @msix_package_family_name.setter + def msix_package_family_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "msix_package_family_name", value) + + @property + @pulumi.getter(name="showInPortal") + def show_in_portal(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies whether to show the RemoteApp program in the RD Web Access server. + """ + return pulumi.get(self, "show_in_portal") + + @show_in_portal.setter + def show_in_portal(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "show_in_portal", value) + + +class Application(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + application_group_name: Optional[pulumi.Input[str]] = None, + application_name: Optional[pulumi.Input[str]] = None, + application_type: Optional[pulumi.Input[Union[str, 'RemoteApplicationType']]] = None, + command_line_arguments: Optional[pulumi.Input[str]] = None, + command_line_setting: Optional[pulumi.Input[Union[str, 'CommandLineSetting']]] = None, + description: Optional[pulumi.Input[str]] = None, + file_path: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + icon_index: Optional[pulumi.Input[int]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + msix_package_application_id: Optional[pulumi.Input[str]] = None, + msix_package_family_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + show_in_portal: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + Schema for Application properties. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] application_group_name: The name of the application group + :param pulumi.Input[str] application_name: The name of the application within the specified application group + :param pulumi.Input[Union[str, 'RemoteApplicationType']] application_type: Resource Type of Application. + :param pulumi.Input[str] command_line_arguments: Command Line Arguments for Application. + :param pulumi.Input[Union[str, 'CommandLineSetting']] command_line_setting: Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + :param pulumi.Input[str] description: Description of Application. + :param pulumi.Input[str] file_path: Specifies a path for the executable file for the application. + :param pulumi.Input[str] friendly_name: Friendly name of Application. + :param pulumi.Input[int] icon_index: Index of the icon. + :param pulumi.Input[str] icon_path: Path to icon. + :param pulumi.Input[str] msix_package_application_id: Specifies the package application Id for MSIX applications + :param pulumi.Input[str] msix_package_family_name: Specifies the package family name for MSIX applications + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[bool] show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access server. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ApplicationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Schema for Application properties. + + :param str resource_name: The name of the resource. + :param ApplicationArgs 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(ApplicationArgs, 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, + application_group_name: Optional[pulumi.Input[str]] = None, + application_name: Optional[pulumi.Input[str]] = None, + application_type: Optional[pulumi.Input[Union[str, 'RemoteApplicationType']]] = None, + command_line_arguments: Optional[pulumi.Input[str]] = None, + command_line_setting: Optional[pulumi.Input[Union[str, 'CommandLineSetting']]] = None, + description: Optional[pulumi.Input[str]] = None, + file_path: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + icon_index: Optional[pulumi.Input[int]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + msix_package_application_id: Optional[pulumi.Input[str]] = None, + msix_package_family_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + show_in_portal: Optional[pulumi.Input[bool]] = 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__ = ApplicationArgs.__new__(ApplicationArgs) + + if application_group_name is None and not opts.urn: + raise TypeError("Missing required property 'application_group_name'") + __props__.__dict__["application_group_name"] = application_group_name + __props__.__dict__["application_name"] = application_name + __props__.__dict__["application_type"] = application_type + __props__.__dict__["command_line_arguments"] = command_line_arguments + if command_line_setting is None and not opts.urn: + raise TypeError("Missing required property 'command_line_setting'") + __props__.__dict__["command_line_setting"] = command_line_setting + __props__.__dict__["description"] = description + __props__.__dict__["file_path"] = file_path + __props__.__dict__["friendly_name"] = friendly_name + __props__.__dict__["icon_index"] = icon_index + __props__.__dict__["icon_path"] = icon_path + __props__.__dict__["msix_package_application_id"] = msix_package_application_id + __props__.__dict__["msix_package_family_name"] = msix_package_family_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["show_in_portal"] = show_in_portal + __props__.__dict__["icon_content"] = None + __props__.__dict__["icon_hash"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Application"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Application")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Application, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:Application', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Application': + """ + Get an existing Application 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ApplicationArgs.__new__(ApplicationArgs) + + __props__.__dict__["application_type"] = None + __props__.__dict__["command_line_arguments"] = None + __props__.__dict__["command_line_setting"] = None + __props__.__dict__["description"] = None + __props__.__dict__["file_path"] = None + __props__.__dict__["friendly_name"] = None + __props__.__dict__["icon_content"] = None + __props__.__dict__["icon_hash"] = None + __props__.__dict__["icon_index"] = None + __props__.__dict__["icon_path"] = None + __props__.__dict__["msix_package_application_id"] = None + __props__.__dict__["msix_package_family_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["show_in_portal"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Application(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="applicationType") + def application_type(self) -> pulumi.Output[Optional[str]]: + """ + Resource Type of Application. + """ + return pulumi.get(self, "application_type") + + @property + @pulumi.getter(name="commandLineArguments") + def command_line_arguments(self) -> pulumi.Output[Optional[str]]: + """ + Command Line Arguments for Application. + """ + return pulumi.get(self, "command_line_arguments") + + @property + @pulumi.getter(name="commandLineSetting") + def command_line_setting(self) -> pulumi.Output[str]: + """ + Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + """ + return pulumi.get(self, "command_line_setting") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of Application. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="filePath") + def file_path(self) -> pulumi.Output[Optional[str]]: + """ + Specifies a path for the executable file for the application. + """ + return pulumi.get(self, "file_path") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> pulumi.Output[Optional[str]]: + """ + Friendly name of Application. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="iconContent") + def icon_content(self) -> pulumi.Output[str]: + """ + the icon a 64 bit string as a byte array. + """ + return pulumi.get(self, "icon_content") + + @property + @pulumi.getter(name="iconHash") + def icon_hash(self) -> pulumi.Output[str]: + """ + Hash of the icon. + """ + return pulumi.get(self, "icon_hash") + + @property + @pulumi.getter(name="iconIndex") + def icon_index(self) -> pulumi.Output[Optional[int]]: + """ + Index of the icon. + """ + return pulumi.get(self, "icon_index") + + @property + @pulumi.getter(name="iconPath") + def icon_path(self) -> pulumi.Output[Optional[str]]: + """ + Path to icon. + """ + return pulumi.get(self, "icon_path") + + @property + @pulumi.getter(name="msixPackageApplicationId") + def msix_package_application_id(self) -> pulumi.Output[Optional[str]]: + """ + Specifies the package application Id for MSIX applications + """ + return pulumi.get(self, "msix_package_application_id") + + @property + @pulumi.getter(name="msixPackageFamilyName") + def msix_package_family_name(self) -> pulumi.Output[Optional[str]]: + """ + Specifies the package family name for MSIX applications + """ + return pulumi.get(self, "msix_package_family_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> pulumi.Output[str]: + """ + ObjectId of Application. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="showInPortal") + def show_in_portal(self) -> pulumi.Output[Optional[bool]]: + """ + Specifies whether to show the RemoteApp program in the RD Web Access server. + """ + return pulumi.get(self, "show_in_portal") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/application_group.py new file mode 100644 index 000000000000..072ea0c82e29 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/application_group.py @@ -0,0 +1,532 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ApplicationGroupArgs', 'ApplicationGroup'] + +@pulumi.input_type +class ApplicationGroupArgs: + def __init__(__self__, *, + application_group_type: pulumi.Input[Union[str, 'ApplicationGroupType']], + host_pool_arm_path: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + application_group_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']] = None, + show_in_feed: Optional[pulumi.Input[bool]] = None, + sku: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ApplicationGroup resource. + :param pulumi.Input[Union[str, 'ApplicationGroupType']] application_group_type: Resource Type of ApplicationGroup. + :param pulumi.Input[str] host_pool_arm_path: HostPool arm path of ApplicationGroup. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] application_group_name: The name of the application group + :param pulumi.Input[str] description: Description of ApplicationGroup. + :param pulumi.Input[str] friendly_name: Friendly name of ApplicationGroup. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[bool] show_in_feed: Boolean representing whether the applicationGroup is show in the feed. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "application_group_type", application_group_type) + pulumi.set(__self__, "host_pool_arm_path", host_pool_arm_path) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if application_group_name is not None: + pulumi.set(__self__, "application_group_name", application_group_name) + if description is not None: + pulumi.set(__self__, "description", description) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + 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: + pulumi.set(__self__, "location", location) + if managed_by is not None: + pulumi.set(__self__, "managed_by", managed_by) + if plan is not None: + pulumi.set(__self__, "plan", plan) + if show_in_feed is not None: + pulumi.set(__self__, "show_in_feed", show_in_feed) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="applicationGroupType") + def application_group_type(self) -> pulumi.Input[Union[str, 'ApplicationGroupType']]: + """ + Resource Type of ApplicationGroup. + """ + return pulumi.get(self, "application_group_type") + + @application_group_type.setter + def application_group_type(self, value: pulumi.Input[Union[str, 'ApplicationGroupType']]): + pulumi.set(self, "application_group_type", value) + + @property + @pulumi.getter(name="hostPoolArmPath") + def host_pool_arm_path(self) -> pulumi.Input[str]: + """ + HostPool arm path of ApplicationGroup. + """ + return pulumi.get(self, "host_pool_arm_path") + + @host_pool_arm_path.setter + def host_pool_arm_path(self, value: pulumi.Input[str]): + pulumi.set(self, "host_pool_arm_path", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="applicationGroupName") + def application_group_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the application group + """ + return pulumi.get(self, "application_group_name") + + @application_group_name.setter + def application_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "application_group_name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of ApplicationGroup. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + Friendly name of ApplicationGroup. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]: + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[pulumi.Input[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @managed_by.setter + def managed_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_by", value) + + @property + @pulumi.getter + def plan(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]: + return pulumi.get(self, "plan") + + @plan.setter + def plan(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]): + pulumi.set(self, "plan", value) + + @property + @pulumi.getter(name="showInFeed") + def show_in_feed(self) -> Optional[pulumi.Input[bool]]: + """ + Boolean representing whether the applicationGroup is show in the feed. + """ + return pulumi.get(self, "show_in_feed") + + @show_in_feed.setter + def show_in_feed(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "show_in_feed", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]: + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 ApplicationGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + application_group_name: Optional[pulumi.Input[str]] = None, + application_group_type: Optional[pulumi.Input[Union[str, 'ApplicationGroupType']]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_arm_path: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + show_in_feed: Optional[pulumi.Input[bool]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Represents a ApplicationGroup definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] application_group_name: The name of the application group + :param pulumi.Input[Union[str, 'ApplicationGroupType']] application_group_type: Resource Type of ApplicationGroup. + :param pulumi.Input[str] description: Description of ApplicationGroup. + :param pulumi.Input[str] friendly_name: Friendly name of ApplicationGroup. + :param pulumi.Input[str] host_pool_arm_path: HostPool arm path of ApplicationGroup. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[bool] show_in_feed: Boolean representing whether the applicationGroup is show in the feed. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ApplicationGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a ApplicationGroup definition. + + :param str resource_name: The name of the resource. + :param ApplicationGroupArgs 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(ApplicationGroupArgs, 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, + application_group_name: Optional[pulumi.Input[str]] = None, + application_group_type: Optional[pulumi.Input[Union[str, 'ApplicationGroupType']]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_arm_path: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + show_in_feed: Optional[pulumi.Input[bool]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ApplicationGroupArgs.__new__(ApplicationGroupArgs) + + __props__.__dict__["application_group_name"] = application_group_name + if application_group_type is None and not opts.urn: + raise TypeError("Missing required property 'application_group_type'") + __props__.__dict__["application_group_type"] = application_group_type + __props__.__dict__["description"] = description + __props__.__dict__["friendly_name"] = friendly_name + if host_pool_arm_path is None and not opts.urn: + raise TypeError("Missing required property 'host_pool_arm_path'") + __props__.__dict__["host_pool_arm_path"] = host_pool_arm_path + __props__.__dict__["identity"] = identity + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["managed_by"] = managed_by + __props__.__dict__["plan"] = plan + 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__["show_in_feed"] = show_in_feed + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["cloud_pc_resource"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["workspace_arm_path"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ApplicationGroup"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ApplicationGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ApplicationGroup, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:ApplicationGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ApplicationGroup': + """ + Get an existing ApplicationGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ApplicationGroupArgs.__new__(ApplicationGroupArgs) + + __props__.__dict__["application_group_type"] = None + __props__.__dict__["cloud_pc_resource"] = None + __props__.__dict__["description"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["friendly_name"] = None + __props__.__dict__["host_pool_arm_path"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_by"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["plan"] = None + __props__.__dict__["show_in_feed"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["workspace_arm_path"] = None + return ApplicationGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="applicationGroupType") + def application_group_type(self) -> pulumi.Output[str]: + """ + Resource Type of ApplicationGroup. + """ + return pulumi.get(self, "application_group_type") + + @property + @pulumi.getter(name="cloudPcResource") + def cloud_pc_resource(self) -> pulumi.Output[bool]: + """ + Is cloud pc resource. + """ + return pulumi.get(self, "cloud_pc_resource") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of ApplicationGroup. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> pulumi.Output[Optional[str]]: + """ + Friendly name of ApplicationGroup. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="hostPoolArmPath") + def host_pool_arm_path(self) -> pulumi.Output[str]: + """ + HostPool arm path of ApplicationGroup. + """ + return pulumi.get(self, "host_pool_arm_path") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']]: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> pulumi.Output[Optional[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> pulumi.Output[str]: + """ + ObjectId of ApplicationGroup. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter + def plan(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']]: + return pulumi.get(self, "plan") + + @property + @pulumi.getter(name="showInFeed") + def show_in_feed(self) -> pulumi.Output[Optional[bool]]: + """ + Boolean representing whether the applicationGroup is show in the feed. + """ + return pulumi.get(self, "show_in_feed") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']]: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="workspaceArmPath") + def workspace_arm_path(self) -> pulumi.Output[str]: + """ + Workspace arm path of ApplicationGroup. + """ + return pulumi.get(self, "workspace_arm_path") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_application.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_application.py new file mode 100644 index 000000000000..fcc498d4cd7d --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_application.py @@ -0,0 +1,305 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetApplicationResult', + 'AwaitableGetApplicationResult', + 'get_application', + 'get_application_output', +] + +@pulumi.output_type +class GetApplicationResult: + """ + Schema for Application properties. + """ + def __init__(__self__, application_type=None, command_line_arguments=None, command_line_setting=None, description=None, file_path=None, friendly_name=None, icon_content=None, icon_hash=None, icon_index=None, icon_path=None, id=None, msix_package_application_id=None, msix_package_family_name=None, name=None, object_id=None, show_in_portal=None, system_data=None, type=None): + if application_type and not isinstance(application_type, str): + raise TypeError("Expected argument 'application_type' to be a str") + pulumi.set(__self__, "application_type", application_type) + if command_line_arguments and not isinstance(command_line_arguments, str): + raise TypeError("Expected argument 'command_line_arguments' to be a str") + pulumi.set(__self__, "command_line_arguments", command_line_arguments) + if command_line_setting and not isinstance(command_line_setting, str): + raise TypeError("Expected argument 'command_line_setting' to be a str") + pulumi.set(__self__, "command_line_setting", command_line_setting) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if file_path and not isinstance(file_path, str): + raise TypeError("Expected argument 'file_path' to be a str") + pulumi.set(__self__, "file_path", file_path) + if friendly_name and not isinstance(friendly_name, str): + raise TypeError("Expected argument 'friendly_name' to be a str") + pulumi.set(__self__, "friendly_name", friendly_name) + if icon_content and not isinstance(icon_content, str): + raise TypeError("Expected argument 'icon_content' to be a str") + pulumi.set(__self__, "icon_content", icon_content) + if icon_hash and not isinstance(icon_hash, str): + raise TypeError("Expected argument 'icon_hash' to be a str") + pulumi.set(__self__, "icon_hash", icon_hash) + if icon_index and not isinstance(icon_index, int): + raise TypeError("Expected argument 'icon_index' to be a int") + pulumi.set(__self__, "icon_index", icon_index) + if icon_path and not isinstance(icon_path, str): + raise TypeError("Expected argument 'icon_path' to be a str") + pulumi.set(__self__, "icon_path", icon_path) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if msix_package_application_id and not isinstance(msix_package_application_id, str): + raise TypeError("Expected argument 'msix_package_application_id' to be a str") + pulumi.set(__self__, "msix_package_application_id", msix_package_application_id) + if msix_package_family_name and not isinstance(msix_package_family_name, str): + raise TypeError("Expected argument 'msix_package_family_name' to be a str") + pulumi.set(__self__, "msix_package_family_name", msix_package_family_name) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if object_id and not isinstance(object_id, str): + raise TypeError("Expected argument 'object_id' to be a str") + pulumi.set(__self__, "object_id", object_id) + if show_in_portal and not isinstance(show_in_portal, bool): + raise TypeError("Expected argument 'show_in_portal' to be a bool") + pulumi.set(__self__, "show_in_portal", show_in_portal) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="applicationType") + def application_type(self) -> Optional[str]: + """ + Resource Type of Application. + """ + return pulumi.get(self, "application_type") + + @property + @pulumi.getter(name="commandLineArguments") + def command_line_arguments(self) -> Optional[str]: + """ + Command Line Arguments for Application. + """ + return pulumi.get(self, "command_line_arguments") + + @property + @pulumi.getter(name="commandLineSetting") + def command_line_setting(self) -> str: + """ + Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. + """ + return pulumi.get(self, "command_line_setting") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of Application. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="filePath") + def file_path(self) -> Optional[str]: + """ + Specifies a path for the executable file for the application. + """ + return pulumi.get(self, "file_path") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + Friendly name of Application. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="iconContent") + def icon_content(self) -> str: + """ + the icon a 64 bit string as a byte array. + """ + return pulumi.get(self, "icon_content") + + @property + @pulumi.getter(name="iconHash") + def icon_hash(self) -> str: + """ + Hash of the icon. + """ + return pulumi.get(self, "icon_hash") + + @property + @pulumi.getter(name="iconIndex") + def icon_index(self) -> Optional[int]: + """ + Index of the icon. + """ + return pulumi.get(self, "icon_index") + + @property + @pulumi.getter(name="iconPath") + def icon_path(self) -> Optional[str]: + """ + Path to icon. + """ + return pulumi.get(self, "icon_path") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="msixPackageApplicationId") + def msix_package_application_id(self) -> Optional[str]: + """ + Specifies the package application Id for MSIX applications + """ + return pulumi.get(self, "msix_package_application_id") + + @property + @pulumi.getter(name="msixPackageFamilyName") + def msix_package_family_name(self) -> Optional[str]: + """ + Specifies the package family name for MSIX applications + """ + return pulumi.get(self, "msix_package_family_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> str: + """ + ObjectId of Application. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="showInPortal") + def show_in_portal(self) -> Optional[bool]: + """ + Specifies whether to show the RemoteApp program in the RD Web Access server. + """ + return pulumi.get(self, "show_in_portal") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetApplicationResult(GetApplicationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetApplicationResult( + application_type=self.application_type, + command_line_arguments=self.command_line_arguments, + command_line_setting=self.command_line_setting, + description=self.description, + file_path=self.file_path, + friendly_name=self.friendly_name, + icon_content=self.icon_content, + icon_hash=self.icon_hash, + icon_index=self.icon_index, + icon_path=self.icon_path, + id=self.id, + msix_package_application_id=self.msix_package_application_id, + msix_package_family_name=self.msix_package_family_name, + name=self.name, + object_id=self.object_id, + show_in_portal=self.show_in_portal, + system_data=self.system_data, + type=self.type) + + +def get_application(application_group_name: Optional[str] = None, + application_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationResult: + """ + Get an application. + + + :param str application_group_name: The name of the application group + :param str application_name: The name of the application within the specified application group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['applicationGroupName'] = application_group_name + __args__['applicationName'] = application_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getApplication', __args__, opts=opts, typ=GetApplicationResult).value + + return AwaitableGetApplicationResult( + application_type=pulumi.get(__ret__, 'application_type'), + command_line_arguments=pulumi.get(__ret__, 'command_line_arguments'), + command_line_setting=pulumi.get(__ret__, 'command_line_setting'), + description=pulumi.get(__ret__, 'description'), + file_path=pulumi.get(__ret__, 'file_path'), + friendly_name=pulumi.get(__ret__, 'friendly_name'), + icon_content=pulumi.get(__ret__, 'icon_content'), + icon_hash=pulumi.get(__ret__, 'icon_hash'), + icon_index=pulumi.get(__ret__, 'icon_index'), + icon_path=pulumi.get(__ret__, 'icon_path'), + id=pulumi.get(__ret__, 'id'), + msix_package_application_id=pulumi.get(__ret__, 'msix_package_application_id'), + msix_package_family_name=pulumi.get(__ret__, 'msix_package_family_name'), + name=pulumi.get(__ret__, 'name'), + object_id=pulumi.get(__ret__, 'object_id'), + show_in_portal=pulumi.get(__ret__, 'show_in_portal'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_application) +def get_application_output(application_group_name: Optional[pulumi.Input[str]] = None, + application_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: + """ + Get an application. + + + :param str application_group_name: The name of the application group + :param str application_name: The name of the application within the specified application group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_application_group.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_application_group.py new file mode 100644 index 000000000000..b7e7f478e70f --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_application_group.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetApplicationGroupResult', + 'AwaitableGetApplicationGroupResult', + 'get_application_group', + 'get_application_group_output', +] + +@pulumi.output_type +class GetApplicationGroupResult: + """ + Represents a ApplicationGroup definition. + """ + def __init__(__self__, application_group_type=None, cloud_pc_resource=None, description=None, etag=None, friendly_name=None, host_pool_arm_path=None, id=None, identity=None, kind=None, location=None, managed_by=None, name=None, object_id=None, plan=None, show_in_feed=None, sku=None, system_data=None, tags=None, type=None, workspace_arm_path=None): + if application_group_type and not isinstance(application_group_type, str): + raise TypeError("Expected argument 'application_group_type' to be a str") + pulumi.set(__self__, "application_group_type", application_group_type) + if cloud_pc_resource and not isinstance(cloud_pc_resource, bool): + raise TypeError("Expected argument 'cloud_pc_resource' to be a bool") + pulumi.set(__self__, "cloud_pc_resource", cloud_pc_resource) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if friendly_name and not isinstance(friendly_name, str): + raise TypeError("Expected argument 'friendly_name' to be a str") + pulumi.set(__self__, "friendly_name", friendly_name) + if host_pool_arm_path and not isinstance(host_pool_arm_path, str): + raise TypeError("Expected argument 'host_pool_arm_path' to be a str") + pulumi.set(__self__, "host_pool_arm_path", host_pool_arm_path) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_by and not isinstance(managed_by, str): + raise TypeError("Expected argument 'managed_by' to be a str") + pulumi.set(__self__, "managed_by", managed_by) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if object_id and not isinstance(object_id, str): + raise TypeError("Expected argument 'object_id' to be a str") + pulumi.set(__self__, "object_id", object_id) + if plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if show_in_feed and not isinstance(show_in_feed, bool): + raise TypeError("Expected argument 'show_in_feed' to be a bool") + pulumi.set(__self__, "show_in_feed", show_in_feed) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if workspace_arm_path and not isinstance(workspace_arm_path, str): + raise TypeError("Expected argument 'workspace_arm_path' to be a str") + pulumi.set(__self__, "workspace_arm_path", workspace_arm_path) + + @property + @pulumi.getter(name="applicationGroupType") + def application_group_type(self) -> str: + """ + Resource Type of ApplicationGroup. + """ + return pulumi.get(self, "application_group_type") + + @property + @pulumi.getter(name="cloudPcResource") + def cloud_pc_resource(self) -> bool: + """ + Is cloud pc resource. + """ + return pulumi.get(self, "cloud_pc_resource") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of ApplicationGroup. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> str: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + Friendly name of ApplicationGroup. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="hostPoolArmPath") + def host_pool_arm_path(self) -> str: + """ + HostPool arm path of ApplicationGroup. + """ + return pulumi.get(self, "host_pool_arm_path") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[str]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> str: + """ + ObjectId of ApplicationGroup. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter + def plan(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']: + return pulumi.get(self, "plan") + + @property + @pulumi.getter(name="showInFeed") + def show_in_feed(self) -> Optional[bool]: + """ + Boolean representing whether the applicationGroup is show in the feed. + """ + return pulumi.get(self, "show_in_feed") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="workspaceArmPath") + def workspace_arm_path(self) -> str: + """ + Workspace arm path of ApplicationGroup. + """ + return pulumi.get(self, "workspace_arm_path") + + +class AwaitableGetApplicationGroupResult(GetApplicationGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetApplicationGroupResult( + application_group_type=self.application_group_type, + cloud_pc_resource=self.cloud_pc_resource, + description=self.description, + etag=self.etag, + friendly_name=self.friendly_name, + host_pool_arm_path=self.host_pool_arm_path, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + managed_by=self.managed_by, + name=self.name, + object_id=self.object_id, + plan=self.plan, + show_in_feed=self.show_in_feed, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type, + workspace_arm_path=self.workspace_arm_path) + + +def get_application_group(application_group_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationGroupResult: + """ + Get an application group. + + + :param str application_group_name: The name of the application group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['applicationGroupName'] = application_group_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getApplicationGroup', __args__, opts=opts, typ=GetApplicationGroupResult).value + + return AwaitableGetApplicationGroupResult( + application_group_type=pulumi.get(__ret__, 'application_group_type'), + cloud_pc_resource=pulumi.get(__ret__, 'cloud_pc_resource'), + description=pulumi.get(__ret__, 'description'), + etag=pulumi.get(__ret__, 'etag'), + friendly_name=pulumi.get(__ret__, 'friendly_name'), + host_pool_arm_path=pulumi.get(__ret__, 'host_pool_arm_path'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + managed_by=pulumi.get(__ret__, 'managed_by'), + name=pulumi.get(__ret__, 'name'), + object_id=pulumi.get(__ret__, 'object_id'), + plan=pulumi.get(__ret__, 'plan'), + show_in_feed=pulumi.get(__ret__, 'show_in_feed'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + workspace_arm_path=pulumi.get(__ret__, 'workspace_arm_path')) + + +@_utilities.lift_output_func(get_application_group) +def get_application_group_output(application_group_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationGroupResult]: + """ + Get an application group. + + + :param str application_group_name: The name of the application group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_host_pool.py new file mode 100644 index 000000000000..c8524130a23c --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_host_pool.py @@ -0,0 +1,512 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetHostPoolResult', + 'AwaitableGetHostPoolResult', + 'get_host_pool', + 'get_host_pool_output', +] + +@pulumi.output_type +class GetHostPoolResult: + """ + Represents a HostPool definition. + """ + def __init__(__self__, agent_update=None, application_group_references=None, cloud_pc_resource=None, custom_rdp_property=None, description=None, etag=None, friendly_name=None, host_pool_type=None, id=None, identity=None, kind=None, load_balancer_type=None, location=None, managed_by=None, max_session_limit=None, name=None, object_id=None, personal_desktop_assignment_type=None, plan=None, preferred_app_group_type=None, private_endpoint_connections=None, public_network_access=None, registration_info=None, ring=None, sku=None, sso_client_id=None, sso_client_secret_key_vault_path=None, sso_secret_type=None, ssoadfs_authority=None, start_vm_on_connect=None, system_data=None, tags=None, type=None, validation_environment=None, vm_template=None): + if agent_update and not isinstance(agent_update, dict): + raise TypeError("Expected argument 'agent_update' to be a dict") + pulumi.set(__self__, "agent_update", agent_update) + if application_group_references and not isinstance(application_group_references, list): + raise TypeError("Expected argument 'application_group_references' to be a list") + pulumi.set(__self__, "application_group_references", application_group_references) + if cloud_pc_resource and not isinstance(cloud_pc_resource, bool): + raise TypeError("Expected argument 'cloud_pc_resource' to be a bool") + pulumi.set(__self__, "cloud_pc_resource", cloud_pc_resource) + if custom_rdp_property and not isinstance(custom_rdp_property, str): + raise TypeError("Expected argument 'custom_rdp_property' to be a str") + pulumi.set(__self__, "custom_rdp_property", custom_rdp_property) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if friendly_name and not isinstance(friendly_name, str): + raise TypeError("Expected argument 'friendly_name' to be a str") + pulumi.set(__self__, "friendly_name", friendly_name) + if host_pool_type and not isinstance(host_pool_type, str): + raise TypeError("Expected argument 'host_pool_type' to be a str") + pulumi.set(__self__, "host_pool_type", host_pool_type) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if load_balancer_type and not isinstance(load_balancer_type, str): + raise TypeError("Expected argument 'load_balancer_type' to be a str") + pulumi.set(__self__, "load_balancer_type", load_balancer_type) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_by and not isinstance(managed_by, str): + raise TypeError("Expected argument 'managed_by' to be a str") + pulumi.set(__self__, "managed_by", managed_by) + if max_session_limit and not isinstance(max_session_limit, int): + raise TypeError("Expected argument 'max_session_limit' to be a int") + pulumi.set(__self__, "max_session_limit", max_session_limit) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if object_id and not isinstance(object_id, str): + raise TypeError("Expected argument 'object_id' to be a str") + pulumi.set(__self__, "object_id", object_id) + if personal_desktop_assignment_type and not isinstance(personal_desktop_assignment_type, str): + raise TypeError("Expected argument 'personal_desktop_assignment_type' to be a str") + pulumi.set(__self__, "personal_desktop_assignment_type", personal_desktop_assignment_type) + if plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if preferred_app_group_type and not isinstance(preferred_app_group_type, str): + raise TypeError("Expected argument 'preferred_app_group_type' to be a str") + pulumi.set(__self__, "preferred_app_group_type", preferred_app_group_type) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if registration_info and not isinstance(registration_info, dict): + raise TypeError("Expected argument 'registration_info' to be a dict") + pulumi.set(__self__, "registration_info", registration_info) + if ring and not isinstance(ring, int): + raise TypeError("Expected argument 'ring' to be a int") + pulumi.set(__self__, "ring", ring) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if sso_client_id and not isinstance(sso_client_id, str): + raise TypeError("Expected argument 'sso_client_id' to be a str") + pulumi.set(__self__, "sso_client_id", sso_client_id) + if sso_client_secret_key_vault_path and not isinstance(sso_client_secret_key_vault_path, str): + raise TypeError("Expected argument 'sso_client_secret_key_vault_path' to be a str") + pulumi.set(__self__, "sso_client_secret_key_vault_path", sso_client_secret_key_vault_path) + if sso_secret_type and not isinstance(sso_secret_type, str): + raise TypeError("Expected argument 'sso_secret_type' to be a str") + pulumi.set(__self__, "sso_secret_type", sso_secret_type) + if ssoadfs_authority and not isinstance(ssoadfs_authority, str): + raise TypeError("Expected argument 'ssoadfs_authority' to be a str") + pulumi.set(__self__, "ssoadfs_authority", ssoadfs_authority) + if start_vm_on_connect and not isinstance(start_vm_on_connect, bool): + raise TypeError("Expected argument 'start_vm_on_connect' to be a bool") + pulumi.set(__self__, "start_vm_on_connect", start_vm_on_connect) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if validation_environment and not isinstance(validation_environment, bool): + raise TypeError("Expected argument 'validation_environment' to be a bool") + pulumi.set(__self__, "validation_environment", validation_environment) + if vm_template and not isinstance(vm_template, str): + raise TypeError("Expected argument 'vm_template' to be a str") + pulumi.set(__self__, "vm_template", vm_template) + + @property + @pulumi.getter(name="agentUpdate") + def agent_update(self) -> Optional['outputs.AgentUpdatePropertiesResponse']: + """ + The session host configuration for updating agent, monitoring agent, and stack component. + """ + return pulumi.get(self, "agent_update") + + @property + @pulumi.getter(name="applicationGroupReferences") + def application_group_references(self) -> Sequence[str]: + """ + List of applicationGroup links. + """ + return pulumi.get(self, "application_group_references") + + @property + @pulumi.getter(name="cloudPcResource") + def cloud_pc_resource(self) -> bool: + """ + Is cloud pc resource. + """ + return pulumi.get(self, "cloud_pc_resource") + + @property + @pulumi.getter(name="customRdpProperty") + def custom_rdp_property(self) -> Optional[str]: + """ + Custom rdp property of HostPool. + """ + return pulumi.get(self, "custom_rdp_property") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of HostPool. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> str: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + Friendly name of HostPool. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="hostPoolType") + def host_pool_type(self) -> str: + """ + HostPool type for desktop. + """ + return pulumi.get(self, "host_pool_type") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="loadBalancerType") + def load_balancer_type(self) -> str: + """ + The type of the load balancer. + """ + return pulumi.get(self, "load_balancer_type") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[str]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter(name="maxSessionLimit") + def max_session_limit(self) -> Optional[int]: + """ + The max session limit of HostPool. + """ + return pulumi.get(self, "max_session_limit") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> str: + """ + ObjectId of HostPool. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="personalDesktopAssignmentType") + def personal_desktop_assignment_type(self) -> Optional[str]: + """ + PersonalDesktopAssignment type for HostPool. + """ + return pulumi.get(self, "personal_desktop_assignment_type") + + @property + @pulumi.getter + def plan(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']: + return pulumi.get(self, "plan") + + @property + @pulumi.getter(name="preferredAppGroupType") + def preferred_app_group_type(self) -> str: + """ + The type of preferred application group type, default to Desktop Application Group + """ + return pulumi.get(self, "preferred_app_group_type") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + List of private endpoint connection associated with the specified resource + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="registrationInfo") + def registration_info(self) -> Optional['outputs.RegistrationInfoResponse']: + """ + The registration info of HostPool. + """ + return pulumi.get(self, "registration_info") + + @property + @pulumi.getter + def ring(self) -> Optional[int]: + """ + The ring number of HostPool. + """ + return pulumi.get(self, "ring") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="ssoClientId") + def sso_client_id(self) -> Optional[str]: + """ + ClientId for the registered Relying Party used to issue WVD SSO certificates. + """ + return pulumi.get(self, "sso_client_id") + + @property + @pulumi.getter(name="ssoClientSecretKeyVaultPath") + def sso_client_secret_key_vault_path(self) -> Optional[str]: + """ + Path to Azure KeyVault storing the secret used for communication to ADFS. + """ + return pulumi.get(self, "sso_client_secret_key_vault_path") + + @property + @pulumi.getter(name="ssoSecretType") + def sso_secret_type(self) -> Optional[str]: + """ + The type of single sign on Secret Type. + """ + return pulumi.get(self, "sso_secret_type") + + @property + @pulumi.getter(name="ssoadfsAuthority") + def ssoadfs_authority(self) -> Optional[str]: + """ + URL to customer ADFS server for signing WVD SSO certificates. + """ + return pulumi.get(self, "ssoadfs_authority") + + @property + @pulumi.getter(name="startVMOnConnect") + def start_vm_on_connect(self) -> Optional[bool]: + """ + The flag to turn on/off StartVMOnConnect feature. + """ + return pulumi.get(self, "start_vm_on_connect") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationEnvironment") + def validation_environment(self) -> Optional[bool]: + """ + Is validation environment. + """ + return pulumi.get(self, "validation_environment") + + @property + @pulumi.getter(name="vmTemplate") + def vm_template(self) -> Optional[str]: + """ + VM template for sessionhosts configuration within hostpool. + """ + return pulumi.get(self, "vm_template") + + +class AwaitableGetHostPoolResult(GetHostPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetHostPoolResult( + agent_update=self.agent_update, + application_group_references=self.application_group_references, + cloud_pc_resource=self.cloud_pc_resource, + custom_rdp_property=self.custom_rdp_property, + description=self.description, + etag=self.etag, + friendly_name=self.friendly_name, + host_pool_type=self.host_pool_type, + id=self.id, + identity=self.identity, + kind=self.kind, + load_balancer_type=self.load_balancer_type, + location=self.location, + managed_by=self.managed_by, + max_session_limit=self.max_session_limit, + name=self.name, + object_id=self.object_id, + personal_desktop_assignment_type=self.personal_desktop_assignment_type, + plan=self.plan, + preferred_app_group_type=self.preferred_app_group_type, + private_endpoint_connections=self.private_endpoint_connections, + public_network_access=self.public_network_access, + registration_info=self.registration_info, + ring=self.ring, + sku=self.sku, + sso_client_id=self.sso_client_id, + sso_client_secret_key_vault_path=self.sso_client_secret_key_vault_path, + sso_secret_type=self.sso_secret_type, + ssoadfs_authority=self.ssoadfs_authority, + start_vm_on_connect=self.start_vm_on_connect, + system_data=self.system_data, + tags=self.tags, + type=self.type, + validation_environment=self.validation_environment, + vm_template=self.vm_template) + + +def get_host_pool(host_pool_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPoolResult: + """ + Get a host pool. + + + :param str host_pool_name: The name of the host pool within the specified resource group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['hostPoolName'] = host_pool_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getHostPool', __args__, opts=opts, typ=GetHostPoolResult).value + + return AwaitableGetHostPoolResult( + agent_update=pulumi.get(__ret__, 'agent_update'), + application_group_references=pulumi.get(__ret__, 'application_group_references'), + cloud_pc_resource=pulumi.get(__ret__, 'cloud_pc_resource'), + custom_rdp_property=pulumi.get(__ret__, 'custom_rdp_property'), + description=pulumi.get(__ret__, 'description'), + etag=pulumi.get(__ret__, 'etag'), + friendly_name=pulumi.get(__ret__, 'friendly_name'), + host_pool_type=pulumi.get(__ret__, 'host_pool_type'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + kind=pulumi.get(__ret__, 'kind'), + load_balancer_type=pulumi.get(__ret__, 'load_balancer_type'), + location=pulumi.get(__ret__, 'location'), + managed_by=pulumi.get(__ret__, 'managed_by'), + max_session_limit=pulumi.get(__ret__, 'max_session_limit'), + name=pulumi.get(__ret__, 'name'), + object_id=pulumi.get(__ret__, 'object_id'), + personal_desktop_assignment_type=pulumi.get(__ret__, 'personal_desktop_assignment_type'), + plan=pulumi.get(__ret__, 'plan'), + preferred_app_group_type=pulumi.get(__ret__, 'preferred_app_group_type'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + registration_info=pulumi.get(__ret__, 'registration_info'), + ring=pulumi.get(__ret__, 'ring'), + sku=pulumi.get(__ret__, 'sku'), + sso_client_id=pulumi.get(__ret__, 'sso_client_id'), + sso_client_secret_key_vault_path=pulumi.get(__ret__, 'sso_client_secret_key_vault_path'), + sso_secret_type=pulumi.get(__ret__, 'sso_secret_type'), + ssoadfs_authority=pulumi.get(__ret__, 'ssoadfs_authority'), + start_vm_on_connect=pulumi.get(__ret__, 'start_vm_on_connect'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + validation_environment=pulumi.get(__ret__, 'validation_environment'), + vm_template=pulumi.get(__ret__, 'vm_template')) + + +@_utilities.lift_output_func(get_host_pool) +def get_host_pool_output(host_pool_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolResult]: + """ + Get a host pool. + + + :param str host_pool_name: The name of the host pool within the specified resource group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_msix_package.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_msix_package.py new file mode 100644 index 000000000000..acf400e9a5fe --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_msix_package.py @@ -0,0 +1,266 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMSIXPackageResult', + 'AwaitableGetMSIXPackageResult', + 'get_msix_package', + 'get_msix_package_output', +] + +@pulumi.output_type +class GetMSIXPackageResult: + """ + Schema for MSIX Package properties. + """ + def __init__(__self__, display_name=None, id=None, image_path=None, is_active=None, is_regular_registration=None, last_updated=None, name=None, package_applications=None, package_dependencies=None, package_family_name=None, package_name=None, package_relative_path=None, system_data=None, type=None, version=None): + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if image_path and not isinstance(image_path, str): + raise TypeError("Expected argument 'image_path' to be a str") + pulumi.set(__self__, "image_path", image_path) + if is_active and not isinstance(is_active, bool): + raise TypeError("Expected argument 'is_active' to be a bool") + pulumi.set(__self__, "is_active", is_active) + if is_regular_registration and not isinstance(is_regular_registration, bool): + raise TypeError("Expected argument 'is_regular_registration' to be a bool") + pulumi.set(__self__, "is_regular_registration", is_regular_registration) + if last_updated and not isinstance(last_updated, str): + raise TypeError("Expected argument 'last_updated' to be a str") + pulumi.set(__self__, "last_updated", last_updated) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if package_applications and not isinstance(package_applications, list): + raise TypeError("Expected argument 'package_applications' to be a list") + pulumi.set(__self__, "package_applications", package_applications) + if package_dependencies and not isinstance(package_dependencies, list): + raise TypeError("Expected argument 'package_dependencies' to be a list") + pulumi.set(__self__, "package_dependencies", package_dependencies) + if package_family_name and not isinstance(package_family_name, str): + raise TypeError("Expected argument 'package_family_name' to be a str") + pulumi.set(__self__, "package_family_name", package_family_name) + if package_name and not isinstance(package_name, str): + raise TypeError("Expected argument 'package_name' to be a str") + pulumi.set(__self__, "package_name", package_name) + if package_relative_path and not isinstance(package_relative_path, str): + raise TypeError("Expected argument 'package_relative_path' to be a str") + pulumi.set(__self__, "package_relative_path", package_relative_path) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, str): + raise TypeError("Expected argument 'version' to be a str") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + User friendly Name to be displayed in the portal. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="imagePath") + def image_path(self) -> Optional[str]: + """ + VHD/CIM image path on Network Share. + """ + return pulumi.get(self, "image_path") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[bool]: + """ + Make this version of the package the active one across the hostpool. + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter(name="isRegularRegistration") + def is_regular_registration(self) -> Optional[bool]: + """ + Specifies how to register Package in feed. + """ + return pulumi.get(self, "is_regular_registration") + + @property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> Optional[str]: + """ + Date Package was last updated, found in the appxmanifest.xml. + """ + return pulumi.get(self, "last_updated") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="packageApplications") + def package_applications(self) -> Optional[Sequence['outputs.MsixPackageApplicationsResponse']]: + """ + List of package applications. + """ + return pulumi.get(self, "package_applications") + + @property + @pulumi.getter(name="packageDependencies") + def package_dependencies(self) -> Optional[Sequence['outputs.MsixPackageDependenciesResponse']]: + """ + List of package dependencies. + """ + return pulumi.get(self, "package_dependencies") + + @property + @pulumi.getter(name="packageFamilyName") + def package_family_name(self) -> Optional[str]: + """ + Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + """ + return pulumi.get(self, "package_family_name") + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + """ + Package Name from appxmanifest.xml. + """ + return pulumi.get(self, "package_name") + + @property + @pulumi.getter(name="packageRelativePath") + def package_relative_path(self) -> Optional[str]: + """ + Relative Path to the package inside the image. + """ + return pulumi.get(self, "package_relative_path") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> Optional[str]: + """ + Package Version found in the appxmanifest.xml. + """ + return pulumi.get(self, "version") + + +class AwaitableGetMSIXPackageResult(GetMSIXPackageResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMSIXPackageResult( + display_name=self.display_name, + id=self.id, + image_path=self.image_path, + is_active=self.is_active, + is_regular_registration=self.is_regular_registration, + last_updated=self.last_updated, + name=self.name, + package_applications=self.package_applications, + package_dependencies=self.package_dependencies, + package_family_name=self.package_family_name, + package_name=self.package_name, + package_relative_path=self.package_relative_path, + system_data=self.system_data, + type=self.type, + version=self.version) + + +def get_msix_package(host_pool_name: Optional[str] = None, + msix_package_full_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMSIXPackageResult: + """ + Get a msixpackage. + + + :param str host_pool_name: The name of the host pool within the specified resource group + :param str msix_package_full_name: The version specific package full name of the MSIX package within specified hostpool + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['hostPoolName'] = host_pool_name + __args__['msixPackageFullName'] = msix_package_full_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getMSIXPackage', __args__, opts=opts, typ=GetMSIXPackageResult).value + + return AwaitableGetMSIXPackageResult( + display_name=pulumi.get(__ret__, 'display_name'), + id=pulumi.get(__ret__, 'id'), + image_path=pulumi.get(__ret__, 'image_path'), + is_active=pulumi.get(__ret__, 'is_active'), + is_regular_registration=pulumi.get(__ret__, 'is_regular_registration'), + last_updated=pulumi.get(__ret__, 'last_updated'), + name=pulumi.get(__ret__, 'name'), + package_applications=pulumi.get(__ret__, 'package_applications'), + package_dependencies=pulumi.get(__ret__, 'package_dependencies'), + package_family_name=pulumi.get(__ret__, 'package_family_name'), + package_name=pulumi.get(__ret__, 'package_name'), + package_relative_path=pulumi.get(__ret__, 'package_relative_path'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version')) + + +@_utilities.lift_output_func(get_msix_package) +def get_msix_package_output(host_pool_name: Optional[pulumi.Input[str]] = None, + msix_package_full_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMSIXPackageResult]: + """ + Get a msixpackage. + + + :param str host_pool_name: The name of the host pool within the specified resource group + :param str msix_package_full_name: The version specific package full name of the MSIX package within specified hostpool + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_private_endpoint_connection_by_host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_private_endpoint_connection_by_host_pool.py new file mode 100644 index 000000000000..5c7bb3c8d3cf --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_private_endpoint_connection_by_host_pool.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionByHostPoolResult', + 'AwaitableGetPrivateEndpointConnectionByHostPoolResult', + 'get_private_endpoint_connection_by_host_pool', + 'get_private_endpoint_connection_by_host_pool_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionByHostPoolResult: + """ + The Private Endpoint Connection resource. + """ + def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionByHostPoolResult(GetPrivateEndpointConnectionByHostPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionByHostPoolResult( + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_private_endpoint_connection_by_host_pool(host_pool_name: Optional[str] = None, + private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionByHostPoolResult: + """ + Get a private endpoint connection. + + + :param str host_pool_name: The name of the host pool within the specified resource group + :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['hostPoolName'] = host_pool_name + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByHostPool', __args__, opts=opts, typ=GetPrivateEndpointConnectionByHostPoolResult).value + + return AwaitableGetPrivateEndpointConnectionByHostPoolResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection_by_host_pool) +def get_private_endpoint_connection_by_host_pool_output(host_pool_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionByHostPoolResult]: + """ + Get a private endpoint connection. + + + :param str host_pool_name: The name of the host pool within the specified resource group + :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_private_endpoint_connection_by_workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_private_endpoint_connection_by_workspace.py new file mode 100644 index 000000000000..b960cc9f8843 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_private_endpoint_connection_by_workspace.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionByWorkspaceResult', + 'AwaitableGetPrivateEndpointConnectionByWorkspaceResult', + 'get_private_endpoint_connection_by_workspace', + 'get_private_endpoint_connection_by_workspace_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionByWorkspaceResult: + """ + The Private Endpoint Connection resource. + """ + def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionByWorkspaceResult(GetPrivateEndpointConnectionByWorkspaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionByWorkspaceResult( + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_private_endpoint_connection_by_workspace(private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionByWorkspaceResult: + """ + Get a private endpoint connection. + + + :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace + """ + __args__ = dict() + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getPrivateEndpointConnectionByWorkspace', __args__, opts=opts, typ=GetPrivateEndpointConnectionByWorkspaceResult).value + + return AwaitableGetPrivateEndpointConnectionByWorkspaceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection_by_workspace) +def get_private_endpoint_connection_by_workspace_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionByWorkspaceResult]: + """ + Get a private endpoint connection. + + + :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan.py new file mode 100644 index 000000000000..e9c9a013ef3d --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetScalingPlanResult', + 'AwaitableGetScalingPlanResult', + 'get_scaling_plan', + 'get_scaling_plan_output', +] + +@pulumi.output_type +class GetScalingPlanResult: + """ + Represents a scaling plan definition. + """ + def __init__(__self__, description=None, etag=None, exclusion_tag=None, friendly_name=None, host_pool_references=None, host_pool_type=None, id=None, identity=None, kind=None, location=None, managed_by=None, name=None, object_id=None, plan=None, schedules=None, sku=None, system_data=None, tags=None, time_zone=None, type=None): + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if exclusion_tag and not isinstance(exclusion_tag, str): + raise TypeError("Expected argument 'exclusion_tag' to be a str") + pulumi.set(__self__, "exclusion_tag", exclusion_tag) + if friendly_name and not isinstance(friendly_name, str): + raise TypeError("Expected argument 'friendly_name' to be a str") + pulumi.set(__self__, "friendly_name", friendly_name) + if host_pool_references and not isinstance(host_pool_references, list): + raise TypeError("Expected argument 'host_pool_references' to be a list") + pulumi.set(__self__, "host_pool_references", host_pool_references) + if host_pool_type and not isinstance(host_pool_type, str): + raise TypeError("Expected argument 'host_pool_type' to be a str") + pulumi.set(__self__, "host_pool_type", host_pool_type) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_by and not isinstance(managed_by, str): + raise TypeError("Expected argument 'managed_by' to be a str") + pulumi.set(__self__, "managed_by", managed_by) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if object_id and not isinstance(object_id, str): + raise TypeError("Expected argument 'object_id' to be a str") + pulumi.set(__self__, "object_id", object_id) + if plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if schedules and not isinstance(schedules, list): + raise TypeError("Expected argument 'schedules' to be a list") + pulumi.set(__self__, "schedules", schedules) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if time_zone and not isinstance(time_zone, str): + raise TypeError("Expected argument 'time_zone' to be a str") + pulumi.set(__self__, "time_zone", time_zone) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of scaling plan. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> str: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="exclusionTag") + def exclusion_tag(self) -> Optional[str]: + """ + Exclusion tag for scaling plan. + """ + return pulumi.get(self, "exclusion_tag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + User friendly name of scaling plan. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="hostPoolReferences") + def host_pool_references(self) -> Optional[Sequence['outputs.ScalingHostPoolReferenceResponse']]: + """ + List of ScalingHostPoolReference definitions. + """ + return pulumi.get(self, "host_pool_references") + + @property + @pulumi.getter(name="hostPoolType") + def host_pool_type(self) -> Optional[str]: + """ + HostPool type for desktop. + """ + return pulumi.get(self, "host_pool_type") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[str]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> str: + """ + ObjectId of scaling plan. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter + def plan(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']: + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def schedules(self) -> Optional[Sequence['outputs.ScalingScheduleResponse']]: + """ + List of ScalingPlanPooledSchedule definitions. + """ + return pulumi.get(self, "schedules") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> str: + """ + Timezone of the scaling plan. + """ + return pulumi.get(self, "time_zone") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetScalingPlanResult(GetScalingPlanResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScalingPlanResult( + description=self.description, + etag=self.etag, + exclusion_tag=self.exclusion_tag, + friendly_name=self.friendly_name, + host_pool_references=self.host_pool_references, + host_pool_type=self.host_pool_type, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + managed_by=self.managed_by, + name=self.name, + object_id=self.object_id, + plan=self.plan, + schedules=self.schedules, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + time_zone=self.time_zone, + type=self.type) + + +def get_scaling_plan(resource_group_name: Optional[str] = None, + scaling_plan_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScalingPlanResult: + """ + Get a scaling plan. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str scaling_plan_name: The name of the scaling plan. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['scalingPlanName'] = scaling_plan_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getScalingPlan', __args__, opts=opts, typ=GetScalingPlanResult).value + + return AwaitableGetScalingPlanResult( + description=pulumi.get(__ret__, 'description'), + etag=pulumi.get(__ret__, 'etag'), + exclusion_tag=pulumi.get(__ret__, 'exclusion_tag'), + friendly_name=pulumi.get(__ret__, 'friendly_name'), + host_pool_references=pulumi.get(__ret__, 'host_pool_references'), + host_pool_type=pulumi.get(__ret__, 'host_pool_type'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + managed_by=pulumi.get(__ret__, 'managed_by'), + name=pulumi.get(__ret__, 'name'), + object_id=pulumi.get(__ret__, 'object_id'), + plan=pulumi.get(__ret__, 'plan'), + schedules=pulumi.get(__ret__, 'schedules'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + time_zone=pulumi.get(__ret__, 'time_zone'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_scaling_plan) +def get_scaling_plan_output(resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScalingPlanResult]: + """ + Get a scaling plan. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str scaling_plan_name: The name of the scaling plan. + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan_personal_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan_personal_schedule.py new file mode 100644 index 000000000000..f730f4b296a1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan_personal_schedule.py @@ -0,0 +1,461 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetScalingPlanPersonalScheduleResult', + 'AwaitableGetScalingPlanPersonalScheduleResult', + 'get_scaling_plan_personal_schedule', + 'get_scaling_plan_personal_schedule_output', +] + +@pulumi.output_type +class GetScalingPlanPersonalScheduleResult: + """ + Represents a ScalingPlanPersonalSchedule definition. + """ + def __init__(__self__, days_of_week=None, id=None, name=None, off_peak_action_on_disconnect=None, off_peak_action_on_logoff=None, off_peak_minutes_to_wait_on_disconnect=None, off_peak_minutes_to_wait_on_logoff=None, off_peak_start_time=None, off_peak_start_vm_on_connect=None, peak_action_on_disconnect=None, peak_action_on_logoff=None, peak_minutes_to_wait_on_disconnect=None, peak_minutes_to_wait_on_logoff=None, peak_start_time=None, peak_start_vm_on_connect=None, ramp_down_action_on_disconnect=None, ramp_down_action_on_logoff=None, ramp_down_minutes_to_wait_on_disconnect=None, ramp_down_minutes_to_wait_on_logoff=None, ramp_down_start_time=None, ramp_down_start_vm_on_connect=None, ramp_up_action_on_disconnect=None, ramp_up_action_on_logoff=None, ramp_up_auto_start_hosts=None, ramp_up_minutes_to_wait_on_disconnect=None, ramp_up_minutes_to_wait_on_logoff=None, ramp_up_start_time=None, ramp_up_start_vm_on_connect=None, system_data=None, type=None): + if days_of_week and not isinstance(days_of_week, list): + raise TypeError("Expected argument 'days_of_week' to be a list") + pulumi.set(__self__, "days_of_week", days_of_week) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if off_peak_action_on_disconnect and not isinstance(off_peak_action_on_disconnect, str): + raise TypeError("Expected argument 'off_peak_action_on_disconnect' to be a str") + pulumi.set(__self__, "off_peak_action_on_disconnect", off_peak_action_on_disconnect) + if off_peak_action_on_logoff and not isinstance(off_peak_action_on_logoff, str): + raise TypeError("Expected argument 'off_peak_action_on_logoff' to be a str") + pulumi.set(__self__, "off_peak_action_on_logoff", off_peak_action_on_logoff) + if off_peak_minutes_to_wait_on_disconnect and not isinstance(off_peak_minutes_to_wait_on_disconnect, int): + raise TypeError("Expected argument 'off_peak_minutes_to_wait_on_disconnect' to be a int") + pulumi.set(__self__, "off_peak_minutes_to_wait_on_disconnect", off_peak_minutes_to_wait_on_disconnect) + if off_peak_minutes_to_wait_on_logoff and not isinstance(off_peak_minutes_to_wait_on_logoff, int): + raise TypeError("Expected argument 'off_peak_minutes_to_wait_on_logoff' to be a int") + pulumi.set(__self__, "off_peak_minutes_to_wait_on_logoff", off_peak_minutes_to_wait_on_logoff) + if off_peak_start_time and not isinstance(off_peak_start_time, dict): + raise TypeError("Expected argument 'off_peak_start_time' to be a dict") + pulumi.set(__self__, "off_peak_start_time", off_peak_start_time) + if off_peak_start_vm_on_connect and not isinstance(off_peak_start_vm_on_connect, str): + raise TypeError("Expected argument 'off_peak_start_vm_on_connect' to be a str") + pulumi.set(__self__, "off_peak_start_vm_on_connect", off_peak_start_vm_on_connect) + if peak_action_on_disconnect and not isinstance(peak_action_on_disconnect, str): + raise TypeError("Expected argument 'peak_action_on_disconnect' to be a str") + pulumi.set(__self__, "peak_action_on_disconnect", peak_action_on_disconnect) + if peak_action_on_logoff and not isinstance(peak_action_on_logoff, str): + raise TypeError("Expected argument 'peak_action_on_logoff' to be a str") + pulumi.set(__self__, "peak_action_on_logoff", peak_action_on_logoff) + if peak_minutes_to_wait_on_disconnect and not isinstance(peak_minutes_to_wait_on_disconnect, int): + raise TypeError("Expected argument 'peak_minutes_to_wait_on_disconnect' to be a int") + pulumi.set(__self__, "peak_minutes_to_wait_on_disconnect", peak_minutes_to_wait_on_disconnect) + if peak_minutes_to_wait_on_logoff and not isinstance(peak_minutes_to_wait_on_logoff, int): + raise TypeError("Expected argument 'peak_minutes_to_wait_on_logoff' to be a int") + pulumi.set(__self__, "peak_minutes_to_wait_on_logoff", peak_minutes_to_wait_on_logoff) + if peak_start_time and not isinstance(peak_start_time, dict): + raise TypeError("Expected argument 'peak_start_time' to be a dict") + pulumi.set(__self__, "peak_start_time", peak_start_time) + if peak_start_vm_on_connect and not isinstance(peak_start_vm_on_connect, str): + raise TypeError("Expected argument 'peak_start_vm_on_connect' to be a str") + pulumi.set(__self__, "peak_start_vm_on_connect", peak_start_vm_on_connect) + if ramp_down_action_on_disconnect and not isinstance(ramp_down_action_on_disconnect, str): + raise TypeError("Expected argument 'ramp_down_action_on_disconnect' to be a str") + pulumi.set(__self__, "ramp_down_action_on_disconnect", ramp_down_action_on_disconnect) + if ramp_down_action_on_logoff and not isinstance(ramp_down_action_on_logoff, str): + raise TypeError("Expected argument 'ramp_down_action_on_logoff' to be a str") + pulumi.set(__self__, "ramp_down_action_on_logoff", ramp_down_action_on_logoff) + if ramp_down_minutes_to_wait_on_disconnect and not isinstance(ramp_down_minutes_to_wait_on_disconnect, int): + raise TypeError("Expected argument 'ramp_down_minutes_to_wait_on_disconnect' to be a int") + pulumi.set(__self__, "ramp_down_minutes_to_wait_on_disconnect", ramp_down_minutes_to_wait_on_disconnect) + if ramp_down_minutes_to_wait_on_logoff and not isinstance(ramp_down_minutes_to_wait_on_logoff, int): + raise TypeError("Expected argument 'ramp_down_minutes_to_wait_on_logoff' to be a int") + pulumi.set(__self__, "ramp_down_minutes_to_wait_on_logoff", ramp_down_minutes_to_wait_on_logoff) + if ramp_down_start_time and not isinstance(ramp_down_start_time, dict): + raise TypeError("Expected argument 'ramp_down_start_time' to be a dict") + pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) + if ramp_down_start_vm_on_connect and not isinstance(ramp_down_start_vm_on_connect, str): + raise TypeError("Expected argument 'ramp_down_start_vm_on_connect' to be a str") + pulumi.set(__self__, "ramp_down_start_vm_on_connect", ramp_down_start_vm_on_connect) + if ramp_up_action_on_disconnect and not isinstance(ramp_up_action_on_disconnect, str): + raise TypeError("Expected argument 'ramp_up_action_on_disconnect' to be a str") + pulumi.set(__self__, "ramp_up_action_on_disconnect", ramp_up_action_on_disconnect) + if ramp_up_action_on_logoff and not isinstance(ramp_up_action_on_logoff, str): + raise TypeError("Expected argument 'ramp_up_action_on_logoff' to be a str") + pulumi.set(__self__, "ramp_up_action_on_logoff", ramp_up_action_on_logoff) + if ramp_up_auto_start_hosts and not isinstance(ramp_up_auto_start_hosts, str): + raise TypeError("Expected argument 'ramp_up_auto_start_hosts' to be a str") + pulumi.set(__self__, "ramp_up_auto_start_hosts", ramp_up_auto_start_hosts) + if ramp_up_minutes_to_wait_on_disconnect and not isinstance(ramp_up_minutes_to_wait_on_disconnect, int): + raise TypeError("Expected argument 'ramp_up_minutes_to_wait_on_disconnect' to be a int") + pulumi.set(__self__, "ramp_up_minutes_to_wait_on_disconnect", ramp_up_minutes_to_wait_on_disconnect) + if ramp_up_minutes_to_wait_on_logoff and not isinstance(ramp_up_minutes_to_wait_on_logoff, int): + raise TypeError("Expected argument 'ramp_up_minutes_to_wait_on_logoff' to be a int") + pulumi.set(__self__, "ramp_up_minutes_to_wait_on_logoff", ramp_up_minutes_to_wait_on_logoff) + if ramp_up_start_time and not isinstance(ramp_up_start_time, dict): + raise TypeError("Expected argument 'ramp_up_start_time' to be a dict") + pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) + if ramp_up_start_vm_on_connect and not isinstance(ramp_up_start_vm_on_connect, str): + raise TypeError("Expected argument 'ramp_up_start_vm_on_connect' to be a str") + pulumi.set(__self__, "ramp_up_start_vm_on_connect", ramp_up_start_vm_on_connect) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> Optional[Sequence[str]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="offPeakActionOnDisconnect") + def off_peak_action_on_disconnect(self) -> Optional[str]: + """ + Action to be taken after a user disconnect during the off-peak period. + """ + return pulumi.get(self, "off_peak_action_on_disconnect") + + @property + @pulumi.getter(name="offPeakActionOnLogoff") + def off_peak_action_on_logoff(self) -> Optional[str]: + """ + Action to be taken after a logoff during the off-peak period. + """ + return pulumi.get(self, "off_peak_action_on_logoff") + + @property + @pulumi.getter(name="offPeakMinutesToWaitOnDisconnect") + def off_peak_minutes_to_wait_on_disconnect(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + """ + return pulumi.get(self, "off_peak_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="offPeakMinutesToWaitOnLogoff") + def off_peak_minutes_to_wait_on_logoff(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + """ + return pulumi.get(self, "off_peak_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @property + @pulumi.getter(name="offPeakStartVMOnConnect") + def off_peak_start_vm_on_connect(self) -> Optional[str]: + """ + The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + """ + return pulumi.get(self, "off_peak_start_vm_on_connect") + + @property + @pulumi.getter(name="peakActionOnDisconnect") + def peak_action_on_disconnect(self) -> Optional[str]: + """ + Action to be taken after a user disconnect during the peak period. + """ + return pulumi.get(self, "peak_action_on_disconnect") + + @property + @pulumi.getter(name="peakActionOnLogoff") + def peak_action_on_logoff(self) -> Optional[str]: + """ + Action to be taken after a logoff during the peak period. + """ + return pulumi.get(self, "peak_action_on_logoff") + + @property + @pulumi.getter(name="peakMinutesToWaitOnDisconnect") + def peak_minutes_to_wait_on_disconnect(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + """ + return pulumi.get(self, "peak_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="peakMinutesToWaitOnLogoff") + def peak_minutes_to_wait_on_logoff(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + """ + return pulumi.get(self, "peak_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @property + @pulumi.getter(name="peakStartVMOnConnect") + def peak_start_vm_on_connect(self) -> Optional[str]: + """ + The desired configuration of Start VM On Connect for the hostpool during the peak phase. + """ + return pulumi.get(self, "peak_start_vm_on_connect") + + @property + @pulumi.getter(name="rampDownActionOnDisconnect") + def ramp_down_action_on_disconnect(self) -> Optional[str]: + """ + Action to be taken after a user disconnect during the ramp down period. + """ + return pulumi.get(self, "ramp_down_action_on_disconnect") + + @property + @pulumi.getter(name="rampDownActionOnLogoff") + def ramp_down_action_on_logoff(self) -> Optional[str]: + """ + Action to be taken after a logoff during the ramp down period. + """ + return pulumi.get(self, "ramp_down_action_on_logoff") + + @property + @pulumi.getter(name="rampDownMinutesToWaitOnDisconnect") + def ramp_down_minutes_to_wait_on_disconnect(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + """ + return pulumi.get(self, "ramp_down_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="rampDownMinutesToWaitOnLogoff") + def ramp_down_minutes_to_wait_on_logoff(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + """ + return pulumi.get(self, "ramp_down_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @property + @pulumi.getter(name="rampDownStartVMOnConnect") + def ramp_down_start_vm_on_connect(self) -> Optional[str]: + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + """ + return pulumi.get(self, "ramp_down_start_vm_on_connect") + + @property + @pulumi.getter(name="rampUpActionOnDisconnect") + def ramp_up_action_on_disconnect(self) -> Optional[str]: + """ + Action to be taken after a user disconnect during the ramp up period. + """ + return pulumi.get(self, "ramp_up_action_on_disconnect") + + @property + @pulumi.getter(name="rampUpActionOnLogoff") + def ramp_up_action_on_logoff(self) -> Optional[str]: + """ + Action to be taken after a logoff during the ramp up period. + """ + return pulumi.get(self, "ramp_up_action_on_logoff") + + @property + @pulumi.getter(name="rampUpAutoStartHosts") + def ramp_up_auto_start_hosts(self) -> Optional[str]: + """ + The desired startup behavior during the ramp up period for personal vms in the hostpool. + """ + return pulumi.get(self, "ramp_up_auto_start_hosts") + + @property + @pulumi.getter(name="rampUpMinutesToWaitOnDisconnect") + def ramp_up_minutes_to_wait_on_disconnect(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + """ + return pulumi.get(self, "ramp_up_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="rampUpMinutesToWaitOnLogoff") + def ramp_up_minutes_to_wait_on_logoff(self) -> Optional[int]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + """ + return pulumi.get(self, "ramp_up_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @property + @pulumi.getter(name="rampUpStartVMOnConnect") + def ramp_up_start_vm_on_connect(self) -> Optional[str]: + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + """ + return pulumi.get(self, "ramp_up_start_vm_on_connect") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetScalingPlanPersonalScheduleResult(GetScalingPlanPersonalScheduleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScalingPlanPersonalScheduleResult( + days_of_week=self.days_of_week, + id=self.id, + name=self.name, + off_peak_action_on_disconnect=self.off_peak_action_on_disconnect, + off_peak_action_on_logoff=self.off_peak_action_on_logoff, + off_peak_minutes_to_wait_on_disconnect=self.off_peak_minutes_to_wait_on_disconnect, + off_peak_minutes_to_wait_on_logoff=self.off_peak_minutes_to_wait_on_logoff, + off_peak_start_time=self.off_peak_start_time, + off_peak_start_vm_on_connect=self.off_peak_start_vm_on_connect, + peak_action_on_disconnect=self.peak_action_on_disconnect, + peak_action_on_logoff=self.peak_action_on_logoff, + peak_minutes_to_wait_on_disconnect=self.peak_minutes_to_wait_on_disconnect, + peak_minutes_to_wait_on_logoff=self.peak_minutes_to_wait_on_logoff, + peak_start_time=self.peak_start_time, + peak_start_vm_on_connect=self.peak_start_vm_on_connect, + ramp_down_action_on_disconnect=self.ramp_down_action_on_disconnect, + ramp_down_action_on_logoff=self.ramp_down_action_on_logoff, + ramp_down_minutes_to_wait_on_disconnect=self.ramp_down_minutes_to_wait_on_disconnect, + ramp_down_minutes_to_wait_on_logoff=self.ramp_down_minutes_to_wait_on_logoff, + ramp_down_start_time=self.ramp_down_start_time, + ramp_down_start_vm_on_connect=self.ramp_down_start_vm_on_connect, + ramp_up_action_on_disconnect=self.ramp_up_action_on_disconnect, + ramp_up_action_on_logoff=self.ramp_up_action_on_logoff, + ramp_up_auto_start_hosts=self.ramp_up_auto_start_hosts, + ramp_up_minutes_to_wait_on_disconnect=self.ramp_up_minutes_to_wait_on_disconnect, + ramp_up_minutes_to_wait_on_logoff=self.ramp_up_minutes_to_wait_on_logoff, + ramp_up_start_time=self.ramp_up_start_time, + ramp_up_start_vm_on_connect=self.ramp_up_start_vm_on_connect, + system_data=self.system_data, + type=self.type) + + +def get_scaling_plan_personal_schedule(resource_group_name: Optional[str] = None, + scaling_plan_name: Optional[str] = None, + scaling_plan_schedule_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScalingPlanPersonalScheduleResult: + """ + Get a ScalingPlanPersonalSchedule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str scaling_plan_name: The name of the scaling plan. + :param str scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['scalingPlanName'] = scaling_plan_name + __args__['scalingPlanScheduleName'] = scaling_plan_schedule_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getScalingPlanPersonalSchedule', __args__, opts=opts, typ=GetScalingPlanPersonalScheduleResult).value + + return AwaitableGetScalingPlanPersonalScheduleResult( + days_of_week=pulumi.get(__ret__, 'days_of_week'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + off_peak_action_on_disconnect=pulumi.get(__ret__, 'off_peak_action_on_disconnect'), + off_peak_action_on_logoff=pulumi.get(__ret__, 'off_peak_action_on_logoff'), + off_peak_minutes_to_wait_on_disconnect=pulumi.get(__ret__, 'off_peak_minutes_to_wait_on_disconnect'), + off_peak_minutes_to_wait_on_logoff=pulumi.get(__ret__, 'off_peak_minutes_to_wait_on_logoff'), + off_peak_start_time=pulumi.get(__ret__, 'off_peak_start_time'), + off_peak_start_vm_on_connect=pulumi.get(__ret__, 'off_peak_start_vm_on_connect'), + peak_action_on_disconnect=pulumi.get(__ret__, 'peak_action_on_disconnect'), + peak_action_on_logoff=pulumi.get(__ret__, 'peak_action_on_logoff'), + peak_minutes_to_wait_on_disconnect=pulumi.get(__ret__, 'peak_minutes_to_wait_on_disconnect'), + peak_minutes_to_wait_on_logoff=pulumi.get(__ret__, 'peak_minutes_to_wait_on_logoff'), + peak_start_time=pulumi.get(__ret__, 'peak_start_time'), + peak_start_vm_on_connect=pulumi.get(__ret__, 'peak_start_vm_on_connect'), + ramp_down_action_on_disconnect=pulumi.get(__ret__, 'ramp_down_action_on_disconnect'), + ramp_down_action_on_logoff=pulumi.get(__ret__, 'ramp_down_action_on_logoff'), + ramp_down_minutes_to_wait_on_disconnect=pulumi.get(__ret__, 'ramp_down_minutes_to_wait_on_disconnect'), + ramp_down_minutes_to_wait_on_logoff=pulumi.get(__ret__, 'ramp_down_minutes_to_wait_on_logoff'), + ramp_down_start_time=pulumi.get(__ret__, 'ramp_down_start_time'), + ramp_down_start_vm_on_connect=pulumi.get(__ret__, 'ramp_down_start_vm_on_connect'), + ramp_up_action_on_disconnect=pulumi.get(__ret__, 'ramp_up_action_on_disconnect'), + ramp_up_action_on_logoff=pulumi.get(__ret__, 'ramp_up_action_on_logoff'), + ramp_up_auto_start_hosts=pulumi.get(__ret__, 'ramp_up_auto_start_hosts'), + ramp_up_minutes_to_wait_on_disconnect=pulumi.get(__ret__, 'ramp_up_minutes_to_wait_on_disconnect'), + ramp_up_minutes_to_wait_on_logoff=pulumi.get(__ret__, 'ramp_up_minutes_to_wait_on_logoff'), + ramp_up_start_time=pulumi.get(__ret__, 'ramp_up_start_time'), + ramp_up_start_vm_on_connect=pulumi.get(__ret__, 'ramp_up_start_vm_on_connect'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_scaling_plan_personal_schedule) +def get_scaling_plan_personal_schedule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScalingPlanPersonalScheduleResult]: + """ + Get a ScalingPlanPersonalSchedule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str scaling_plan_name: The name of the scaling plan. + :param str scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan_pooled_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan_pooled_schedule.py new file mode 100644 index 000000000000..f9b20d23e22c --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_scaling_plan_pooled_schedule.py @@ -0,0 +1,344 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetScalingPlanPooledScheduleResult', + 'AwaitableGetScalingPlanPooledScheduleResult', + 'get_scaling_plan_pooled_schedule', + 'get_scaling_plan_pooled_schedule_output', +] + +@pulumi.output_type +class GetScalingPlanPooledScheduleResult: + """ + Represents a ScalingPlanPooledSchedule definition. + """ + def __init__(__self__, days_of_week=None, id=None, name=None, off_peak_load_balancing_algorithm=None, off_peak_start_time=None, peak_load_balancing_algorithm=None, peak_start_time=None, ramp_down_capacity_threshold_pct=None, ramp_down_force_logoff_users=None, ramp_down_load_balancing_algorithm=None, ramp_down_minimum_hosts_pct=None, ramp_down_notification_message=None, ramp_down_start_time=None, ramp_down_stop_hosts_when=None, ramp_down_wait_time_minutes=None, ramp_up_capacity_threshold_pct=None, ramp_up_load_balancing_algorithm=None, ramp_up_minimum_hosts_pct=None, ramp_up_start_time=None, system_data=None, type=None): + if days_of_week and not isinstance(days_of_week, list): + raise TypeError("Expected argument 'days_of_week' to be a list") + pulumi.set(__self__, "days_of_week", days_of_week) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if off_peak_load_balancing_algorithm and not isinstance(off_peak_load_balancing_algorithm, str): + raise TypeError("Expected argument 'off_peak_load_balancing_algorithm' to be a str") + pulumi.set(__self__, "off_peak_load_balancing_algorithm", off_peak_load_balancing_algorithm) + if off_peak_start_time and not isinstance(off_peak_start_time, dict): + raise TypeError("Expected argument 'off_peak_start_time' to be a dict") + pulumi.set(__self__, "off_peak_start_time", off_peak_start_time) + if peak_load_balancing_algorithm and not isinstance(peak_load_balancing_algorithm, str): + raise TypeError("Expected argument 'peak_load_balancing_algorithm' to be a str") + pulumi.set(__self__, "peak_load_balancing_algorithm", peak_load_balancing_algorithm) + if peak_start_time and not isinstance(peak_start_time, dict): + raise TypeError("Expected argument 'peak_start_time' to be a dict") + pulumi.set(__self__, "peak_start_time", peak_start_time) + if ramp_down_capacity_threshold_pct and not isinstance(ramp_down_capacity_threshold_pct, int): + raise TypeError("Expected argument 'ramp_down_capacity_threshold_pct' to be a int") + pulumi.set(__self__, "ramp_down_capacity_threshold_pct", ramp_down_capacity_threshold_pct) + if ramp_down_force_logoff_users and not isinstance(ramp_down_force_logoff_users, bool): + raise TypeError("Expected argument 'ramp_down_force_logoff_users' to be a bool") + pulumi.set(__self__, "ramp_down_force_logoff_users", ramp_down_force_logoff_users) + if ramp_down_load_balancing_algorithm and not isinstance(ramp_down_load_balancing_algorithm, str): + raise TypeError("Expected argument 'ramp_down_load_balancing_algorithm' to be a str") + pulumi.set(__self__, "ramp_down_load_balancing_algorithm", ramp_down_load_balancing_algorithm) + if ramp_down_minimum_hosts_pct and not isinstance(ramp_down_minimum_hosts_pct, int): + raise TypeError("Expected argument 'ramp_down_minimum_hosts_pct' to be a int") + pulumi.set(__self__, "ramp_down_minimum_hosts_pct", ramp_down_minimum_hosts_pct) + if ramp_down_notification_message and not isinstance(ramp_down_notification_message, str): + raise TypeError("Expected argument 'ramp_down_notification_message' to be a str") + pulumi.set(__self__, "ramp_down_notification_message", ramp_down_notification_message) + if ramp_down_start_time and not isinstance(ramp_down_start_time, dict): + raise TypeError("Expected argument 'ramp_down_start_time' to be a dict") + pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) + if ramp_down_stop_hosts_when and not isinstance(ramp_down_stop_hosts_when, str): + raise TypeError("Expected argument 'ramp_down_stop_hosts_when' to be a str") + pulumi.set(__self__, "ramp_down_stop_hosts_when", ramp_down_stop_hosts_when) + if ramp_down_wait_time_minutes and not isinstance(ramp_down_wait_time_minutes, int): + raise TypeError("Expected argument 'ramp_down_wait_time_minutes' to be a int") + pulumi.set(__self__, "ramp_down_wait_time_minutes", ramp_down_wait_time_minutes) + if ramp_up_capacity_threshold_pct and not isinstance(ramp_up_capacity_threshold_pct, int): + raise TypeError("Expected argument 'ramp_up_capacity_threshold_pct' to be a int") + pulumi.set(__self__, "ramp_up_capacity_threshold_pct", ramp_up_capacity_threshold_pct) + if ramp_up_load_balancing_algorithm and not isinstance(ramp_up_load_balancing_algorithm, str): + raise TypeError("Expected argument 'ramp_up_load_balancing_algorithm' to be a str") + pulumi.set(__self__, "ramp_up_load_balancing_algorithm", ramp_up_load_balancing_algorithm) + if ramp_up_minimum_hosts_pct and not isinstance(ramp_up_minimum_hosts_pct, int): + raise TypeError("Expected argument 'ramp_up_minimum_hosts_pct' to be a int") + pulumi.set(__self__, "ramp_up_minimum_hosts_pct", ramp_up_minimum_hosts_pct) + if ramp_up_start_time and not isinstance(ramp_up_start_time, dict): + raise TypeError("Expected argument 'ramp_up_start_time' to be a dict") + pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> Optional[Sequence[str]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="offPeakLoadBalancingAlgorithm") + def off_peak_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for off-peak period. + """ + return pulumi.get(self, "off_peak_load_balancing_algorithm") + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @property + @pulumi.getter(name="peakLoadBalancingAlgorithm") + def peak_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for peak period. + """ + return pulumi.get(self, "peak_load_balancing_algorithm") + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @property + @pulumi.getter(name="rampDownCapacityThresholdPct") + def ramp_down_capacity_threshold_pct(self) -> Optional[int]: + """ + Capacity threshold for ramp down period. + """ + return pulumi.get(self, "ramp_down_capacity_threshold_pct") + + @property + @pulumi.getter(name="rampDownForceLogoffUsers") + def ramp_down_force_logoff_users(self) -> Optional[bool]: + """ + Should users be logged off forcefully from hosts. + """ + return pulumi.get(self, "ramp_down_force_logoff_users") + + @property + @pulumi.getter(name="rampDownLoadBalancingAlgorithm") + def ramp_down_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for ramp down period. + """ + return pulumi.get(self, "ramp_down_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampDownMinimumHostsPct") + def ramp_down_minimum_hosts_pct(self) -> Optional[int]: + """ + Minimum host percentage for ramp down period. + """ + return pulumi.get(self, "ramp_down_minimum_hosts_pct") + + @property + @pulumi.getter(name="rampDownNotificationMessage") + def ramp_down_notification_message(self) -> Optional[str]: + """ + Notification message for users during ramp down period. + """ + return pulumi.get(self, "ramp_down_notification_message") + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @property + @pulumi.getter(name="rampDownStopHostsWhen") + def ramp_down_stop_hosts_when(self) -> Optional[str]: + """ + Specifies when to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_stop_hosts_when") + + @property + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> Optional[int]: + """ + Number of minutes to wait to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_wait_time_minutes") + + @property + @pulumi.getter(name="rampUpCapacityThresholdPct") + def ramp_up_capacity_threshold_pct(self) -> Optional[int]: + """ + Capacity threshold for ramp up period. + """ + return pulumi.get(self, "ramp_up_capacity_threshold_pct") + + @property + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> Optional[int]: + """ + Minimum host percentage for ramp up period. + """ + return pulumi.get(self, "ramp_up_minimum_hosts_pct") + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetScalingPlanPooledScheduleResult(GetScalingPlanPooledScheduleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScalingPlanPooledScheduleResult( + days_of_week=self.days_of_week, + id=self.id, + name=self.name, + off_peak_load_balancing_algorithm=self.off_peak_load_balancing_algorithm, + off_peak_start_time=self.off_peak_start_time, + peak_load_balancing_algorithm=self.peak_load_balancing_algorithm, + peak_start_time=self.peak_start_time, + ramp_down_capacity_threshold_pct=self.ramp_down_capacity_threshold_pct, + ramp_down_force_logoff_users=self.ramp_down_force_logoff_users, + ramp_down_load_balancing_algorithm=self.ramp_down_load_balancing_algorithm, + ramp_down_minimum_hosts_pct=self.ramp_down_minimum_hosts_pct, + ramp_down_notification_message=self.ramp_down_notification_message, + ramp_down_start_time=self.ramp_down_start_time, + ramp_down_stop_hosts_when=self.ramp_down_stop_hosts_when, + ramp_down_wait_time_minutes=self.ramp_down_wait_time_minutes, + ramp_up_capacity_threshold_pct=self.ramp_up_capacity_threshold_pct, + ramp_up_load_balancing_algorithm=self.ramp_up_load_balancing_algorithm, + ramp_up_minimum_hosts_pct=self.ramp_up_minimum_hosts_pct, + ramp_up_start_time=self.ramp_up_start_time, + system_data=self.system_data, + type=self.type) + + +def get_scaling_plan_pooled_schedule(resource_group_name: Optional[str] = None, + scaling_plan_name: Optional[str] = None, + scaling_plan_schedule_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScalingPlanPooledScheduleResult: + """ + Get a ScalingPlanPooledSchedule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str scaling_plan_name: The name of the scaling plan. + :param str scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['scalingPlanName'] = scaling_plan_name + __args__['scalingPlanScheduleName'] = scaling_plan_schedule_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getScalingPlanPooledSchedule', __args__, opts=opts, typ=GetScalingPlanPooledScheduleResult).value + + return AwaitableGetScalingPlanPooledScheduleResult( + days_of_week=pulumi.get(__ret__, 'days_of_week'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + off_peak_load_balancing_algorithm=pulumi.get(__ret__, 'off_peak_load_balancing_algorithm'), + off_peak_start_time=pulumi.get(__ret__, 'off_peak_start_time'), + peak_load_balancing_algorithm=pulumi.get(__ret__, 'peak_load_balancing_algorithm'), + peak_start_time=pulumi.get(__ret__, 'peak_start_time'), + ramp_down_capacity_threshold_pct=pulumi.get(__ret__, 'ramp_down_capacity_threshold_pct'), + ramp_down_force_logoff_users=pulumi.get(__ret__, 'ramp_down_force_logoff_users'), + ramp_down_load_balancing_algorithm=pulumi.get(__ret__, 'ramp_down_load_balancing_algorithm'), + ramp_down_minimum_hosts_pct=pulumi.get(__ret__, 'ramp_down_minimum_hosts_pct'), + ramp_down_notification_message=pulumi.get(__ret__, 'ramp_down_notification_message'), + ramp_down_start_time=pulumi.get(__ret__, 'ramp_down_start_time'), + ramp_down_stop_hosts_when=pulumi.get(__ret__, 'ramp_down_stop_hosts_when'), + ramp_down_wait_time_minutes=pulumi.get(__ret__, 'ramp_down_wait_time_minutes'), + ramp_up_capacity_threshold_pct=pulumi.get(__ret__, 'ramp_up_capacity_threshold_pct'), + ramp_up_load_balancing_algorithm=pulumi.get(__ret__, 'ramp_up_load_balancing_algorithm'), + ramp_up_minimum_hosts_pct=pulumi.get(__ret__, 'ramp_up_minimum_hosts_pct'), + ramp_up_start_time=pulumi.get(__ret__, 'ramp_up_start_time'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_scaling_plan_pooled_schedule) +def get_scaling_plan_pooled_schedule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScalingPlanPooledScheduleResult]: + """ + Get a ScalingPlanPooledSchedule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str scaling_plan_name: The name of the scaling plan. + :param str scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_workspace.py new file mode 100644 index 000000000000..17a4a012b8a1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/get_workspace.py @@ -0,0 +1,304 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWorkspaceResult', + 'AwaitableGetWorkspaceResult', + 'get_workspace', + 'get_workspace_output', +] + +@pulumi.output_type +class GetWorkspaceResult: + """ + Represents a Workspace definition. + """ + def __init__(__self__, application_group_references=None, cloud_pc_resource=None, description=None, etag=None, friendly_name=None, id=None, identity=None, kind=None, location=None, managed_by=None, name=None, object_id=None, plan=None, private_endpoint_connections=None, public_network_access=None, sku=None, system_data=None, tags=None, type=None): + if application_group_references and not isinstance(application_group_references, list): + raise TypeError("Expected argument 'application_group_references' to be a list") + pulumi.set(__self__, "application_group_references", application_group_references) + if cloud_pc_resource and not isinstance(cloud_pc_resource, bool): + raise TypeError("Expected argument 'cloud_pc_resource' to be a bool") + pulumi.set(__self__, "cloud_pc_resource", cloud_pc_resource) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if friendly_name and not isinstance(friendly_name, str): + raise TypeError("Expected argument 'friendly_name' to be a str") + pulumi.set(__self__, "friendly_name", friendly_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_by and not isinstance(managed_by, str): + raise TypeError("Expected argument 'managed_by' to be a str") + pulumi.set(__self__, "managed_by", managed_by) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if object_id and not isinstance(object_id, str): + raise TypeError("Expected argument 'object_id' to be a str") + pulumi.set(__self__, "object_id", object_id) + if plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="applicationGroupReferences") + def application_group_references(self) -> Optional[Sequence[str]]: + """ + List of applicationGroup resource Ids. + """ + return pulumi.get(self, "application_group_references") + + @property + @pulumi.getter(name="cloudPcResource") + def cloud_pc_resource(self) -> bool: + """ + Is cloud pc resource. + """ + return pulumi.get(self, "cloud_pc_resource") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of Workspace. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> str: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + Friendly name of Workspace. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[str]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> str: + """ + ObjectId of Workspace. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter + def plan(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']: + return pulumi.get(self, "plan") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + List of private endpoint connection associated with the specified resource + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetWorkspaceResult(GetWorkspaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWorkspaceResult( + application_group_references=self.application_group_references, + cloud_pc_resource=self.cloud_pc_resource, + description=self.description, + etag=self.etag, + friendly_name=self.friendly_name, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + managed_by=self.managed_by, + name=self.name, + object_id=self.object_id, + plan=self.plan, + private_endpoint_connections=self.private_endpoint_connections, + public_network_access=self.public_network_access, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_workspace(resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceResult: + """ + Get a workspace. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230905:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult).value + + return AwaitableGetWorkspaceResult( + application_group_references=pulumi.get(__ret__, 'application_group_references'), + cloud_pc_resource=pulumi.get(__ret__, 'cloud_pc_resource'), + description=pulumi.get(__ret__, 'description'), + etag=pulumi.get(__ret__, 'etag'), + friendly_name=pulumi.get(__ret__, 'friendly_name'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + managed_by=pulumi.get(__ret__, 'managed_by'), + name=pulumi.get(__ret__, 'name'), + object_id=pulumi.get(__ret__, 'object_id'), + plan=pulumi.get(__ret__, 'plan'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_workspace) +def get_workspace_output(resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: + """ + Get a workspace. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace + """ + ... diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/host_pool.py new file mode 100644 index 000000000000..bd7ed88ce67c --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/host_pool.py @@ -0,0 +1,949 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['HostPoolArgs', 'HostPool'] + +@pulumi.input_type +class HostPoolArgs: + def __init__(__self__, *, + host_pool_type: pulumi.Input[Union[str, 'HostPoolType']], + load_balancer_type: pulumi.Input[Union[str, 'LoadBalancerType']], + preferred_app_group_type: pulumi.Input[Union[str, 'PreferredAppGroupType']], + resource_group_name: pulumi.Input[str], + agent_update: Optional[pulumi.Input['AgentUpdatePropertiesArgs']] = None, + custom_rdp_property: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + max_session_limit: Optional[pulumi.Input[int]] = None, + personal_desktop_assignment_type: Optional[pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']]] = None, + plan: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']]] = None, + registration_info: Optional[pulumi.Input['RegistrationInfoArgs']] = None, + ring: Optional[pulumi.Input[int]] = None, + sku: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']] = None, + sso_client_id: Optional[pulumi.Input[str]] = None, + sso_client_secret_key_vault_path: Optional[pulumi.Input[str]] = None, + sso_secret_type: Optional[pulumi.Input[Union[str, 'SSOSecretType']]] = None, + ssoadfs_authority: Optional[pulumi.Input[str]] = None, + start_vm_on_connect: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + validation_environment: Optional[pulumi.Input[bool]] = None, + vm_template: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a HostPool resource. + :param pulumi.Input[Union[str, 'HostPoolType']] host_pool_type: HostPool type for desktop. + :param pulumi.Input[Union[str, 'LoadBalancerType']] load_balancer_type: The type of the load balancer. + :param pulumi.Input[Union[str, 'PreferredAppGroupType']] preferred_app_group_type: The type of preferred application group type, default to Desktop Application Group + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['AgentUpdatePropertiesArgs'] agent_update: The session host configuration for updating agent, monitoring agent, and stack component. + :param pulumi.Input[str] custom_rdp_property: Custom rdp property of HostPool. + :param pulumi.Input[str] description: Description of HostPool. + :param pulumi.Input[str] friendly_name: Friendly name of HostPool. + :param pulumi.Input[str] host_pool_name: The name of the host pool within the specified resource group + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[int] max_session_limit: The max session limit of HostPool. + :param pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']] personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. + :param pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']] public_network_access: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + :param pulumi.Input['RegistrationInfoArgs'] registration_info: The registration info of HostPool. + :param pulumi.Input[int] ring: The ring number of HostPool. + :param pulumi.Input[str] sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO certificates. + :param pulumi.Input[str] sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for communication to ADFS. + :param pulumi.Input[Union[str, 'SSOSecretType']] sso_secret_type: The type of single sign on Secret Type. + :param pulumi.Input[str] ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates. + :param pulumi.Input[bool] start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[bool] validation_environment: Is validation environment. + :param pulumi.Input[str] vm_template: VM template for sessionhosts configuration within hostpool. + """ + pulumi.set(__self__, "host_pool_type", host_pool_type) + pulumi.set(__self__, "load_balancer_type", load_balancer_type) + pulumi.set(__self__, "preferred_app_group_type", preferred_app_group_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if agent_update is not None: + pulumi.set(__self__, "agent_update", agent_update) + if custom_rdp_property is not None: + pulumi.set(__self__, "custom_rdp_property", custom_rdp_property) + if description is not None: + pulumi.set(__self__, "description", description) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if host_pool_name is not None: + pulumi.set(__self__, "host_pool_name", host_pool_name) + 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: + pulumi.set(__self__, "location", location) + if managed_by is not None: + pulumi.set(__self__, "managed_by", managed_by) + if max_session_limit is not None: + pulumi.set(__self__, "max_session_limit", max_session_limit) + if personal_desktop_assignment_type is not None: + pulumi.set(__self__, "personal_desktop_assignment_type", personal_desktop_assignment_type) + if plan is not None: + pulumi.set(__self__, "plan", plan) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if registration_info is not None: + pulumi.set(__self__, "registration_info", registration_info) + if ring is not None: + pulumi.set(__self__, "ring", ring) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if sso_client_id is not None: + pulumi.set(__self__, "sso_client_id", sso_client_id) + if sso_client_secret_key_vault_path is not None: + pulumi.set(__self__, "sso_client_secret_key_vault_path", sso_client_secret_key_vault_path) + if sso_secret_type is not None: + pulumi.set(__self__, "sso_secret_type", sso_secret_type) + if ssoadfs_authority is not None: + pulumi.set(__self__, "ssoadfs_authority", ssoadfs_authority) + if start_vm_on_connect is not None: + pulumi.set(__self__, "start_vm_on_connect", start_vm_on_connect) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if validation_environment is not None: + pulumi.set(__self__, "validation_environment", validation_environment) + if vm_template is not None: + pulumi.set(__self__, "vm_template", vm_template) + + @property + @pulumi.getter(name="hostPoolType") + def host_pool_type(self) -> pulumi.Input[Union[str, 'HostPoolType']]: + """ + HostPool type for desktop. + """ + return pulumi.get(self, "host_pool_type") + + @host_pool_type.setter + def host_pool_type(self, value: pulumi.Input[Union[str, 'HostPoolType']]): + pulumi.set(self, "host_pool_type", value) + + @property + @pulumi.getter(name="loadBalancerType") + def load_balancer_type(self) -> pulumi.Input[Union[str, 'LoadBalancerType']]: + """ + The type of the load balancer. + """ + return pulumi.get(self, "load_balancer_type") + + @load_balancer_type.setter + def load_balancer_type(self, value: pulumi.Input[Union[str, 'LoadBalancerType']]): + pulumi.set(self, "load_balancer_type", value) + + @property + @pulumi.getter(name="preferredAppGroupType") + def preferred_app_group_type(self) -> pulumi.Input[Union[str, 'PreferredAppGroupType']]: + """ + The type of preferred application group type, default to Desktop Application Group + """ + return pulumi.get(self, "preferred_app_group_type") + + @preferred_app_group_type.setter + def preferred_app_group_type(self, value: pulumi.Input[Union[str, 'PreferredAppGroupType']]): + pulumi.set(self, "preferred_app_group_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="agentUpdate") + def agent_update(self) -> Optional[pulumi.Input['AgentUpdatePropertiesArgs']]: + """ + The session host configuration for updating agent, monitoring agent, and stack component. + """ + return pulumi.get(self, "agent_update") + + @agent_update.setter + def agent_update(self, value: Optional[pulumi.Input['AgentUpdatePropertiesArgs']]): + pulumi.set(self, "agent_update", value) + + @property + @pulumi.getter(name="customRdpProperty") + def custom_rdp_property(self) -> Optional[pulumi.Input[str]]: + """ + Custom rdp property of HostPool. + """ + return pulumi.get(self, "custom_rdp_property") + + @custom_rdp_property.setter + def custom_rdp_property(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_rdp_property", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of HostPool. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + Friendly name of HostPool. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter(name="hostPoolName") + def host_pool_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the host pool within the specified resource group + """ + return pulumi.get(self, "host_pool_name") + + @host_pool_name.setter + def host_pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_pool_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]: + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[pulumi.Input[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @managed_by.setter + def managed_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_by", value) + + @property + @pulumi.getter(name="maxSessionLimit") + def max_session_limit(self) -> Optional[pulumi.Input[int]]: + """ + The max session limit of HostPool. + """ + return pulumi.get(self, "max_session_limit") + + @max_session_limit.setter + def max_session_limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_session_limit", value) + + @property + @pulumi.getter(name="personalDesktopAssignmentType") + def personal_desktop_assignment_type(self) -> Optional[pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']]]: + """ + PersonalDesktopAssignment type for HostPool. + """ + return pulumi.get(self, "personal_desktop_assignment_type") + + @personal_desktop_assignment_type.setter + def personal_desktop_assignment_type(self, value: Optional[pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']]]): + pulumi.set(self, "personal_desktop_assignment_type", value) + + @property + @pulumi.getter + def plan(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]: + return pulumi.get(self, "plan") + + @plan.setter + def plan(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]): + pulumi.set(self, "plan", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']]]: + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="registrationInfo") + def registration_info(self) -> Optional[pulumi.Input['RegistrationInfoArgs']]: + """ + The registration info of HostPool. + """ + return pulumi.get(self, "registration_info") + + @registration_info.setter + def registration_info(self, value: Optional[pulumi.Input['RegistrationInfoArgs']]): + pulumi.set(self, "registration_info", value) + + @property + @pulumi.getter + def ring(self) -> Optional[pulumi.Input[int]]: + """ + The ring number of HostPool. + """ + return pulumi.get(self, "ring") + + @ring.setter + def ring(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ring", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]: + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="ssoClientId") + def sso_client_id(self) -> Optional[pulumi.Input[str]]: + """ + ClientId for the registered Relying Party used to issue WVD SSO certificates. + """ + return pulumi.get(self, "sso_client_id") + + @sso_client_id.setter + def sso_client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sso_client_id", value) + + @property + @pulumi.getter(name="ssoClientSecretKeyVaultPath") + def sso_client_secret_key_vault_path(self) -> Optional[pulumi.Input[str]]: + """ + Path to Azure KeyVault storing the secret used for communication to ADFS. + """ + return pulumi.get(self, "sso_client_secret_key_vault_path") + + @sso_client_secret_key_vault_path.setter + def sso_client_secret_key_vault_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sso_client_secret_key_vault_path", value) + + @property + @pulumi.getter(name="ssoSecretType") + def sso_secret_type(self) -> Optional[pulumi.Input[Union[str, 'SSOSecretType']]]: + """ + The type of single sign on Secret Type. + """ + return pulumi.get(self, "sso_secret_type") + + @sso_secret_type.setter + def sso_secret_type(self, value: Optional[pulumi.Input[Union[str, 'SSOSecretType']]]): + pulumi.set(self, "sso_secret_type", value) + + @property + @pulumi.getter(name="ssoadfsAuthority") + def ssoadfs_authority(self) -> Optional[pulumi.Input[str]]: + """ + URL to customer ADFS server for signing WVD SSO certificates. + """ + return pulumi.get(self, "ssoadfs_authority") + + @ssoadfs_authority.setter + def ssoadfs_authority(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ssoadfs_authority", value) + + @property + @pulumi.getter(name="startVMOnConnect") + def start_vm_on_connect(self) -> Optional[pulumi.Input[bool]]: + """ + The flag to turn on/off StartVMOnConnect feature. + """ + return pulumi.get(self, "start_vm_on_connect") + + @start_vm_on_connect.setter + def start_vm_on_connect(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "start_vm_on_connect", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="validationEnvironment") + def validation_environment(self) -> Optional[pulumi.Input[bool]]: + """ + Is validation environment. + """ + return pulumi.get(self, "validation_environment") + + @validation_environment.setter + def validation_environment(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "validation_environment", value) + + @property + @pulumi.getter(name="vmTemplate") + def vm_template(self) -> Optional[pulumi.Input[str]]: + """ + VM template for sessionhosts configuration within hostpool. + """ + return pulumi.get(self, "vm_template") + + @vm_template.setter + def vm_template(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_template", value) + + +class HostPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + agent_update: Optional[pulumi.Input[pulumi.InputType['AgentUpdatePropertiesArgs']]] = None, + custom_rdp_property: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_name: Optional[pulumi.Input[str]] = None, + host_pool_type: Optional[pulumi.Input[Union[str, 'HostPoolType']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + load_balancer_type: Optional[pulumi.Input[Union[str, 'LoadBalancerType']]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + max_session_limit: Optional[pulumi.Input[int]] = None, + personal_desktop_assignment_type: Optional[pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + preferred_app_group_type: Optional[pulumi.Input[Union[str, 'PreferredAppGroupType']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']]] = None, + registration_info: Optional[pulumi.Input[pulumi.InputType['RegistrationInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + ring: Optional[pulumi.Input[int]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + sso_client_id: Optional[pulumi.Input[str]] = None, + sso_client_secret_key_vault_path: Optional[pulumi.Input[str]] = None, + sso_secret_type: Optional[pulumi.Input[Union[str, 'SSOSecretType']]] = None, + ssoadfs_authority: Optional[pulumi.Input[str]] = None, + start_vm_on_connect: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + validation_environment: Optional[pulumi.Input[bool]] = None, + vm_template: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a HostPool definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['AgentUpdatePropertiesArgs']] agent_update: The session host configuration for updating agent, monitoring agent, and stack component. + :param pulumi.Input[str] custom_rdp_property: Custom rdp property of HostPool. + :param pulumi.Input[str] description: Description of HostPool. + :param pulumi.Input[str] friendly_name: Friendly name of HostPool. + :param pulumi.Input[str] host_pool_name: The name of the host pool within the specified resource group + :param pulumi.Input[Union[str, 'HostPoolType']] host_pool_type: HostPool type for desktop. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[Union[str, 'LoadBalancerType']] load_balancer_type: The type of the load balancer. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[int] max_session_limit: The max session limit of HostPool. + :param pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']] personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. + :param pulumi.Input[Union[str, 'PreferredAppGroupType']] preferred_app_group_type: The type of preferred application group type, default to Desktop Application Group + :param pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']] public_network_access: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + :param pulumi.Input[pulumi.InputType['RegistrationInfoArgs']] registration_info: The registration info of HostPool. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[int] ring: The ring number of HostPool. + :param pulumi.Input[str] sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO certificates. + :param pulumi.Input[str] sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for communication to ADFS. + :param pulumi.Input[Union[str, 'SSOSecretType']] sso_secret_type: The type of single sign on Secret Type. + :param pulumi.Input[str] ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates. + :param pulumi.Input[bool] start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[bool] validation_environment: Is validation environment. + :param pulumi.Input[str] vm_template: VM template for sessionhosts configuration within hostpool. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: HostPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a HostPool definition. + + :param str resource_name: The name of the resource. + :param HostPoolArgs 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(HostPoolArgs, 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, + agent_update: Optional[pulumi.Input[pulumi.InputType['AgentUpdatePropertiesArgs']]] = None, + custom_rdp_property: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_name: Optional[pulumi.Input[str]] = None, + host_pool_type: Optional[pulumi.Input[Union[str, 'HostPoolType']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + load_balancer_type: Optional[pulumi.Input[Union[str, 'LoadBalancerType']]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + max_session_limit: Optional[pulumi.Input[int]] = None, + personal_desktop_assignment_type: Optional[pulumi.Input[Union[str, 'PersonalDesktopAssignmentType']]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + preferred_app_group_type: Optional[pulumi.Input[Union[str, 'PreferredAppGroupType']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'HostpoolPublicNetworkAccess']]] = None, + registration_info: Optional[pulumi.Input[pulumi.InputType['RegistrationInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + ring: Optional[pulumi.Input[int]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + sso_client_id: Optional[pulumi.Input[str]] = None, + sso_client_secret_key_vault_path: Optional[pulumi.Input[str]] = None, + sso_secret_type: Optional[pulumi.Input[Union[str, 'SSOSecretType']]] = None, + ssoadfs_authority: Optional[pulumi.Input[str]] = None, + start_vm_on_connect: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + validation_environment: Optional[pulumi.Input[bool]] = None, + vm_template: 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__ = HostPoolArgs.__new__(HostPoolArgs) + + __props__.__dict__["agent_update"] = agent_update + __props__.__dict__["custom_rdp_property"] = custom_rdp_property + __props__.__dict__["description"] = description + __props__.__dict__["friendly_name"] = friendly_name + __props__.__dict__["host_pool_name"] = host_pool_name + if host_pool_type is None and not opts.urn: + raise TypeError("Missing required property 'host_pool_type'") + __props__.__dict__["host_pool_type"] = host_pool_type + __props__.__dict__["identity"] = identity + __props__.__dict__["kind"] = kind + if load_balancer_type is None and not opts.urn: + raise TypeError("Missing required property 'load_balancer_type'") + __props__.__dict__["load_balancer_type"] = load_balancer_type + __props__.__dict__["location"] = location + __props__.__dict__["managed_by"] = managed_by + __props__.__dict__["max_session_limit"] = max_session_limit + __props__.__dict__["personal_desktop_assignment_type"] = personal_desktop_assignment_type + __props__.__dict__["plan"] = plan + if preferred_app_group_type is None and not opts.urn: + raise TypeError("Missing required property 'preferred_app_group_type'") + __props__.__dict__["preferred_app_group_type"] = preferred_app_group_type + __props__.__dict__["public_network_access"] = public_network_access + __props__.__dict__["registration_info"] = registration_info + 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__["ring"] = ring + __props__.__dict__["sku"] = sku + __props__.__dict__["sso_client_id"] = sso_client_id + __props__.__dict__["sso_client_secret_key_vault_path"] = sso_client_secret_key_vault_path + __props__.__dict__["sso_secret_type"] = sso_secret_type + __props__.__dict__["ssoadfs_authority"] = ssoadfs_authority + __props__.__dict__["start_vm_on_connect"] = start_vm_on_connect + __props__.__dict__["tags"] = tags + __props__.__dict__["validation_environment"] = validation_environment + __props__.__dict__["vm_template"] = vm_template + __props__.__dict__["application_group_references"] = None + __props__.__dict__["cloud_pc_resource"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:HostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:HostPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(HostPool, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:HostPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'HostPool': + """ + Get an existing HostPool 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = HostPoolArgs.__new__(HostPoolArgs) + + __props__.__dict__["agent_update"] = None + __props__.__dict__["application_group_references"] = None + __props__.__dict__["cloud_pc_resource"] = None + __props__.__dict__["custom_rdp_property"] = None + __props__.__dict__["description"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["friendly_name"] = None + __props__.__dict__["host_pool_type"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["load_balancer_type"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_by"] = None + __props__.__dict__["max_session_limit"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["personal_desktop_assignment_type"] = None + __props__.__dict__["plan"] = None + __props__.__dict__["preferred_app_group_type"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["registration_info"] = None + __props__.__dict__["ring"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["sso_client_id"] = None + __props__.__dict__["sso_client_secret_key_vault_path"] = None + __props__.__dict__["sso_secret_type"] = None + __props__.__dict__["ssoadfs_authority"] = None + __props__.__dict__["start_vm_on_connect"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_environment"] = None + __props__.__dict__["vm_template"] = None + return HostPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="agentUpdate") + def agent_update(self) -> pulumi.Output[Optional['outputs.AgentUpdatePropertiesResponse']]: + """ + The session host configuration for updating agent, monitoring agent, and stack component. + """ + return pulumi.get(self, "agent_update") + + @property + @pulumi.getter(name="applicationGroupReferences") + def application_group_references(self) -> pulumi.Output[Sequence[str]]: + """ + List of applicationGroup links. + """ + return pulumi.get(self, "application_group_references") + + @property + @pulumi.getter(name="cloudPcResource") + def cloud_pc_resource(self) -> pulumi.Output[bool]: + """ + Is cloud pc resource. + """ + return pulumi.get(self, "cloud_pc_resource") + + @property + @pulumi.getter(name="customRdpProperty") + def custom_rdp_property(self) -> pulumi.Output[Optional[str]]: + """ + Custom rdp property of HostPool. + """ + return pulumi.get(self, "custom_rdp_property") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of HostPool. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> pulumi.Output[Optional[str]]: + """ + Friendly name of HostPool. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="hostPoolType") + def host_pool_type(self) -> pulumi.Output[str]: + """ + HostPool type for desktop. + """ + return pulumi.get(self, "host_pool_type") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']]: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="loadBalancerType") + def load_balancer_type(self) -> pulumi.Output[str]: + """ + The type of the load balancer. + """ + return pulumi.get(self, "load_balancer_type") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> pulumi.Output[Optional[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter(name="maxSessionLimit") + def max_session_limit(self) -> pulumi.Output[Optional[int]]: + """ + The max session limit of HostPool. + """ + return pulumi.get(self, "max_session_limit") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> pulumi.Output[str]: + """ + ObjectId of HostPool. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="personalDesktopAssignmentType") + def personal_desktop_assignment_type(self) -> pulumi.Output[Optional[str]]: + """ + PersonalDesktopAssignment type for HostPool. + """ + return pulumi.get(self, "personal_desktop_assignment_type") + + @property + @pulumi.getter + def plan(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']]: + return pulumi.get(self, "plan") + + @property + @pulumi.getter(name="preferredAppGroupType") + def preferred_app_group_type(self) -> pulumi.Output[str]: + """ + The type of preferred application group type, default to Desktop Application Group + """ + return pulumi.get(self, "preferred_app_group_type") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + List of private endpoint connection associated with the specified resource + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="registrationInfo") + def registration_info(self) -> pulumi.Output[Optional['outputs.RegistrationInfoResponse']]: + """ + The registration info of HostPool. + """ + return pulumi.get(self, "registration_info") + + @property + @pulumi.getter + def ring(self) -> pulumi.Output[Optional[int]]: + """ + The ring number of HostPool. + """ + return pulumi.get(self, "ring") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']]: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="ssoClientId") + def sso_client_id(self) -> pulumi.Output[Optional[str]]: + """ + ClientId for the registered Relying Party used to issue WVD SSO certificates. + """ + return pulumi.get(self, "sso_client_id") + + @property + @pulumi.getter(name="ssoClientSecretKeyVaultPath") + def sso_client_secret_key_vault_path(self) -> pulumi.Output[Optional[str]]: + """ + Path to Azure KeyVault storing the secret used for communication to ADFS. + """ + return pulumi.get(self, "sso_client_secret_key_vault_path") + + @property + @pulumi.getter(name="ssoSecretType") + def sso_secret_type(self) -> pulumi.Output[Optional[str]]: + """ + The type of single sign on Secret Type. + """ + return pulumi.get(self, "sso_secret_type") + + @property + @pulumi.getter(name="ssoadfsAuthority") + def ssoadfs_authority(self) -> pulumi.Output[Optional[str]]: + """ + URL to customer ADFS server for signing WVD SSO certificates. + """ + return pulumi.get(self, "ssoadfs_authority") + + @property + @pulumi.getter(name="startVMOnConnect") + def start_vm_on_connect(self) -> pulumi.Output[Optional[bool]]: + """ + The flag to turn on/off StartVMOnConnect feature. + """ + return pulumi.get(self, "start_vm_on_connect") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationEnvironment") + def validation_environment(self) -> pulumi.Output[Optional[bool]]: + """ + Is validation environment. + """ + return pulumi.get(self, "validation_environment") + + @property + @pulumi.getter(name="vmTemplate") + def vm_template(self) -> pulumi.Output[Optional[str]]: + """ + VM template for sessionhosts configuration within hostpool. + """ + return pulumi.get(self, "vm_template") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/msix_package.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/msix_package.py new file mode 100644 index 000000000000..4f670ad62ea3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/msix_package.py @@ -0,0 +1,505 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MSIXPackageArgs', 'MSIXPackage'] + +@pulumi.input_type +class MSIXPackageArgs: + def __init__(__self__, *, + host_pool_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + image_path: Optional[pulumi.Input[str]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + is_regular_registration: Optional[pulumi.Input[bool]] = None, + last_updated: Optional[pulumi.Input[str]] = None, + msix_package_full_name: Optional[pulumi.Input[str]] = None, + package_applications: Optional[pulumi.Input[Sequence[pulumi.Input['MsixPackageApplicationsArgs']]]] = None, + package_dependencies: Optional[pulumi.Input[Sequence[pulumi.Input['MsixPackageDependenciesArgs']]]] = None, + package_family_name: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_relative_path: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MSIXPackage resource. + :param pulumi.Input[str] host_pool_name: The name of the host pool within the specified resource group + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] display_name: User friendly Name to be displayed in the portal. + :param pulumi.Input[str] image_path: VHD/CIM image path on Network Share. + :param pulumi.Input[bool] is_active: Make this version of the package the active one across the hostpool. + :param pulumi.Input[bool] is_regular_registration: Specifies how to register Package in feed. + :param pulumi.Input[str] last_updated: Date Package was last updated, found in the appxmanifest.xml. + :param pulumi.Input[str] msix_package_full_name: The version specific package full name of the MSIX package within specified hostpool + :param pulumi.Input[Sequence[pulumi.Input['MsixPackageApplicationsArgs']]] package_applications: List of package applications. + :param pulumi.Input[Sequence[pulumi.Input['MsixPackageDependenciesArgs']]] package_dependencies: List of package dependencies. + :param pulumi.Input[str] package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + :param pulumi.Input[str] package_name: Package Name from appxmanifest.xml. + :param pulumi.Input[str] package_relative_path: Relative Path to the package inside the image. + :param pulumi.Input[str] version: Package Version found in the appxmanifest.xml. + """ + pulumi.set(__self__, "host_pool_name", host_pool_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if image_path is not None: + pulumi.set(__self__, "image_path", image_path) + if is_active is not None: + pulumi.set(__self__, "is_active", is_active) + if is_regular_registration is not None: + pulumi.set(__self__, "is_regular_registration", is_regular_registration) + if last_updated is not None: + pulumi.set(__self__, "last_updated", last_updated) + if msix_package_full_name is not None: + pulumi.set(__self__, "msix_package_full_name", msix_package_full_name) + if package_applications is not None: + pulumi.set(__self__, "package_applications", package_applications) + if package_dependencies is not None: + pulumi.set(__self__, "package_dependencies", package_dependencies) + if package_family_name is not None: + pulumi.set(__self__, "package_family_name", package_family_name) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if package_relative_path is not None: + pulumi.set(__self__, "package_relative_path", package_relative_path) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="hostPoolName") + def host_pool_name(self) -> pulumi.Input[str]: + """ + The name of the host pool within the specified resource group + """ + return pulumi.get(self, "host_pool_name") + + @host_pool_name.setter + def host_pool_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_pool_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + User friendly Name to be displayed in the portal. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="imagePath") + def image_path(self) -> Optional[pulumi.Input[str]]: + """ + VHD/CIM image path on Network Share. + """ + return pulumi.get(self, "image_path") + + @image_path.setter + def image_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_path", value) + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[pulumi.Input[bool]]: + """ + Make this version of the package the active one across the hostpool. + """ + return pulumi.get(self, "is_active") + + @is_active.setter + def is_active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_active", value) + + @property + @pulumi.getter(name="isRegularRegistration") + def is_regular_registration(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies how to register Package in feed. + """ + return pulumi.get(self, "is_regular_registration") + + @is_regular_registration.setter + def is_regular_registration(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_regular_registration", value) + + @property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> Optional[pulumi.Input[str]]: + """ + Date Package was last updated, found in the appxmanifest.xml. + """ + return pulumi.get(self, "last_updated") + + @last_updated.setter + def last_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_updated", value) + + @property + @pulumi.getter(name="msixPackageFullName") + def msix_package_full_name(self) -> Optional[pulumi.Input[str]]: + """ + The version specific package full name of the MSIX package within specified hostpool + """ + return pulumi.get(self, "msix_package_full_name") + + @msix_package_full_name.setter + def msix_package_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "msix_package_full_name", value) + + @property + @pulumi.getter(name="packageApplications") + def package_applications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MsixPackageApplicationsArgs']]]]: + """ + List of package applications. + """ + return pulumi.get(self, "package_applications") + + @package_applications.setter + def package_applications(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MsixPackageApplicationsArgs']]]]): + pulumi.set(self, "package_applications", value) + + @property + @pulumi.getter(name="packageDependencies") + def package_dependencies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MsixPackageDependenciesArgs']]]]: + """ + List of package dependencies. + """ + return pulumi.get(self, "package_dependencies") + + @package_dependencies.setter + def package_dependencies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MsixPackageDependenciesArgs']]]]): + pulumi.set(self, "package_dependencies", value) + + @property + @pulumi.getter(name="packageFamilyName") + def package_family_name(self) -> Optional[pulumi.Input[str]]: + """ + Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + """ + return pulumi.get(self, "package_family_name") + + @package_family_name.setter + def package_family_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_family_name", value) + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[pulumi.Input[str]]: + """ + Package Name from appxmanifest.xml. + """ + return pulumi.get(self, "package_name") + + @package_name.setter + def package_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_name", value) + + @property + @pulumi.getter(name="packageRelativePath") + def package_relative_path(self) -> Optional[pulumi.Input[str]]: + """ + Relative Path to the package inside the image. + """ + return pulumi.get(self, "package_relative_path") + + @package_relative_path.setter + def package_relative_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_relative_path", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[str]]: + """ + Package Version found in the appxmanifest.xml. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "version", value) + + +class MSIXPackage(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + display_name: Optional[pulumi.Input[str]] = None, + host_pool_name: Optional[pulumi.Input[str]] = None, + image_path: Optional[pulumi.Input[str]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + is_regular_registration: Optional[pulumi.Input[bool]] = None, + last_updated: Optional[pulumi.Input[str]] = None, + msix_package_full_name: Optional[pulumi.Input[str]] = None, + package_applications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MsixPackageApplicationsArgs']]]]] = None, + package_dependencies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MsixPackageDependenciesArgs']]]]] = None, + package_family_name: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_relative_path: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Schema for MSIX Package properties. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] display_name: User friendly Name to be displayed in the portal. + :param pulumi.Input[str] host_pool_name: The name of the host pool within the specified resource group + :param pulumi.Input[str] image_path: VHD/CIM image path on Network Share. + :param pulumi.Input[bool] is_active: Make this version of the package the active one across the hostpool. + :param pulumi.Input[bool] is_regular_registration: Specifies how to register Package in feed. + :param pulumi.Input[str] last_updated: Date Package was last updated, found in the appxmanifest.xml. + :param pulumi.Input[str] msix_package_full_name: The version specific package full name of the MSIX package within specified hostpool + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MsixPackageApplicationsArgs']]]] package_applications: List of package applications. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MsixPackageDependenciesArgs']]]] package_dependencies: List of package dependencies. + :param pulumi.Input[str] package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + :param pulumi.Input[str] package_name: Package Name from appxmanifest.xml. + :param pulumi.Input[str] package_relative_path: Relative Path to the package inside the image. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] version: Package Version found in the appxmanifest.xml. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MSIXPackageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Schema for MSIX Package properties. + + :param str resource_name: The name of the resource. + :param MSIXPackageArgs 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(MSIXPackageArgs, 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, + display_name: Optional[pulumi.Input[str]] = None, + host_pool_name: Optional[pulumi.Input[str]] = None, + image_path: Optional[pulumi.Input[str]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + is_regular_registration: Optional[pulumi.Input[bool]] = None, + last_updated: Optional[pulumi.Input[str]] = None, + msix_package_full_name: Optional[pulumi.Input[str]] = None, + package_applications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MsixPackageApplicationsArgs']]]]] = None, + package_dependencies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MsixPackageDependenciesArgs']]]]] = None, + package_family_name: Optional[pulumi.Input[str]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_relative_path: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + version: 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__ = MSIXPackageArgs.__new__(MSIXPackageArgs) + + __props__.__dict__["display_name"] = display_name + if host_pool_name is None and not opts.urn: + raise TypeError("Missing required property 'host_pool_name'") + __props__.__dict__["host_pool_name"] = host_pool_name + __props__.__dict__["image_path"] = image_path + __props__.__dict__["is_active"] = is_active + __props__.__dict__["is_regular_registration"] = is_regular_registration + __props__.__dict__["last_updated"] = last_updated + __props__.__dict__["msix_package_full_name"] = msix_package_full_name + __props__.__dict__["package_applications"] = package_applications + __props__.__dict__["package_dependencies"] = package_dependencies + __props__.__dict__["package_family_name"] = package_family_name + __props__.__dict__["package_name"] = package_name + __props__.__dict__["package_relative_path"] = package_relative_path + 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__["version"] = version + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:MSIXPackage"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:MSIXPackage")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MSIXPackage, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:MSIXPackage', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MSIXPackage': + """ + Get an existing MSIXPackage 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MSIXPackageArgs.__new__(MSIXPackageArgs) + + __props__.__dict__["display_name"] = None + __props__.__dict__["image_path"] = None + __props__.__dict__["is_active"] = None + __props__.__dict__["is_regular_registration"] = None + __props__.__dict__["last_updated"] = None + __props__.__dict__["name"] = None + __props__.__dict__["package_applications"] = None + __props__.__dict__["package_dependencies"] = None + __props__.__dict__["package_family_name"] = None + __props__.__dict__["package_name"] = None + __props__.__dict__["package_relative_path"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + return MSIXPackage(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[Optional[str]]: + """ + User friendly Name to be displayed in the portal. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="imagePath") + def image_path(self) -> pulumi.Output[Optional[str]]: + """ + VHD/CIM image path on Network Share. + """ + return pulumi.get(self, "image_path") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> pulumi.Output[Optional[bool]]: + """ + Make this version of the package the active one across the hostpool. + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter(name="isRegularRegistration") + def is_regular_registration(self) -> pulumi.Output[Optional[bool]]: + """ + Specifies how to register Package in feed. + """ + return pulumi.get(self, "is_regular_registration") + + @property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> pulumi.Output[Optional[str]]: + """ + Date Package was last updated, found in the appxmanifest.xml. + """ + return pulumi.get(self, "last_updated") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="packageApplications") + def package_applications(self) -> pulumi.Output[Optional[Sequence['outputs.MsixPackageApplicationsResponse']]]: + """ + List of package applications. + """ + return pulumi.get(self, "package_applications") + + @property + @pulumi.getter(name="packageDependencies") + def package_dependencies(self) -> pulumi.Output[Optional[Sequence['outputs.MsixPackageDependenciesResponse']]]: + """ + List of package dependencies. + """ + return pulumi.get(self, "package_dependencies") + + @property + @pulumi.getter(name="packageFamilyName") + def package_family_name(self) -> pulumi.Output[Optional[str]]: + """ + Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. + """ + return pulumi.get(self, "package_family_name") + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> pulumi.Output[Optional[str]]: + """ + Package Name from appxmanifest.xml. + """ + return pulumi.get(self, "package_name") + + @property + @pulumi.getter(name="packageRelativePath") + def package_relative_path(self) -> pulumi.Output[Optional[str]]: + """ + Relative Path to the package inside the image. + """ + return pulumi.get(self, "package_relative_path") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[Optional[str]]: + """ + Package Version found in the appxmanifest.xml. + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/outputs.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/outputs.py new file mode 100644 index 000000000000..a1b4175a1c6b --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/outputs.py @@ -0,0 +1,1282 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AgentUpdatePropertiesResponse', + 'MaintenanceWindowPropertiesResponse', + 'MsixPackageApplicationsResponse', + 'MsixPackageDependenciesResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointResponse', + 'PrivateLinkServiceConnectionStateResponse', + 'RegistrationInfoResponse', + 'ResourceModelWithAllowedPropertySetResponseIdentity', + 'ResourceModelWithAllowedPropertySetResponsePlan', + 'ResourceModelWithAllowedPropertySetResponseSku', + 'ScalingHostPoolReferenceResponse', + 'ScalingScheduleResponse', + 'SystemDataResponse', + 'TimeResponse', +] + +@pulumi.output_type +class AgentUpdatePropertiesResponse(dict): + """ + The session host configuration for updating agent, monitoring agent, and stack component. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maintenanceWindowTimeZone": + suggest = "maintenance_window_time_zone" + elif key == "maintenanceWindows": + suggest = "maintenance_windows" + elif key == "useSessionHostLocalTime": + suggest = "use_session_host_local_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AgentUpdatePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AgentUpdatePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AgentUpdatePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + maintenance_window_time_zone: Optional[str] = None, + maintenance_windows: Optional[Sequence['outputs.MaintenanceWindowPropertiesResponse']] = None, + type: Optional[str] = None, + use_session_host_local_time: Optional[bool] = None): + """ + The session host configuration for updating agent, monitoring agent, and stack component. + :param str maintenance_window_time_zone: Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + :param Sequence['MaintenanceWindowPropertiesResponse'] maintenance_windows: List of maintenance windows. Maintenance windows are 2 hours long. + :param str type: The type of maintenance for session host components. + :param bool use_session_host_local_time: Whether to use localTime of the virtual machine. + """ + if maintenance_window_time_zone is not None: + pulumi.set(__self__, "maintenance_window_time_zone", maintenance_window_time_zone) + if maintenance_windows is not None: + pulumi.set(__self__, "maintenance_windows", maintenance_windows) + if type is not None: + pulumi.set(__self__, "type", type) + if use_session_host_local_time is not None: + pulumi.set(__self__, "use_session_host_local_time", use_session_host_local_time) + + @property + @pulumi.getter(name="maintenanceWindowTimeZone") + def maintenance_window_time_zone(self) -> Optional[str]: + """ + Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true. + """ + return pulumi.get(self, "maintenance_window_time_zone") + + @property + @pulumi.getter(name="maintenanceWindows") + def maintenance_windows(self) -> Optional[Sequence['outputs.MaintenanceWindowPropertiesResponse']]: + """ + List of maintenance windows. Maintenance windows are 2 hours long. + """ + return pulumi.get(self, "maintenance_windows") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of maintenance for session host components. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="useSessionHostLocalTime") + def use_session_host_local_time(self) -> Optional[bool]: + """ + Whether to use localTime of the virtual machine. + """ + return pulumi.get(self, "use_session_host_local_time") + + +@pulumi.output_type +class MaintenanceWindowPropertiesResponse(dict): + """ + Maintenance window starting hour and day of week. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dayOfWeek": + suggest = "day_of_week" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MaintenanceWindowPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MaintenanceWindowPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MaintenanceWindowPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + day_of_week: Optional[str] = None, + hour: Optional[int] = None): + """ + Maintenance window starting hour and day of week. + :param str day_of_week: Day of the week. + :param int hour: The update start hour of the day. (0 - 23) + """ + if day_of_week is not None: + pulumi.set(__self__, "day_of_week", day_of_week) + if hour is not None: + pulumi.set(__self__, "hour", hour) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> Optional[str]: + """ + Day of the week. + """ + return pulumi.get(self, "day_of_week") + + @property + @pulumi.getter + def hour(self) -> Optional[int]: + """ + The update start hour of the day. (0 - 23) + """ + return pulumi.get(self, "hour") + + +@pulumi.output_type +class MsixPackageApplicationsResponse(dict): + """ + Schema for MSIX Package Application properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "appId": + suggest = "app_id" + elif key == "appUserModelID": + suggest = "app_user_model_id" + elif key == "friendlyName": + suggest = "friendly_name" + elif key == "iconImageName": + suggest = "icon_image_name" + elif key == "rawIcon": + suggest = "raw_icon" + elif key == "rawPng": + suggest = "raw_png" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MsixPackageApplicationsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MsixPackageApplicationsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MsixPackageApplicationsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + app_id: Optional[str] = None, + app_user_model_id: Optional[str] = None, + description: Optional[str] = None, + friendly_name: Optional[str] = None, + icon_image_name: Optional[str] = None, + raw_icon: Optional[str] = None, + raw_png: Optional[str] = None): + """ + Schema for MSIX Package Application properties. + :param str app_id: Package Application Id, found in appxmanifest.xml. + :param str app_user_model_id: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + :param str description: Description of Package Application. + :param str friendly_name: User friendly name. + :param str icon_image_name: User friendly name. + :param str raw_icon: the icon a 64 bit string as a byte array. + :param str raw_png: the icon a 64 bit string as a byte array. + """ + if app_id is not None: + pulumi.set(__self__, "app_id", app_id) + if app_user_model_id is not None: + pulumi.set(__self__, "app_user_model_id", app_user_model_id) + if description is not None: + pulumi.set(__self__, "description", description) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if icon_image_name is not None: + pulumi.set(__self__, "icon_image_name", icon_image_name) + if raw_icon is not None: + pulumi.set(__self__, "raw_icon", raw_icon) + if raw_png is not None: + pulumi.set(__self__, "raw_png", raw_png) + + @property + @pulumi.getter(name="appId") + def app_id(self) -> Optional[str]: + """ + Package Application Id, found in appxmanifest.xml. + """ + return pulumi.get(self, "app_id") + + @property + @pulumi.getter(name="appUserModelID") + def app_user_model_id(self) -> Optional[str]: + """ + Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. + """ + return pulumi.get(self, "app_user_model_id") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of Package Application. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + User friendly name. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="iconImageName") + def icon_image_name(self) -> Optional[str]: + """ + User friendly name. + """ + return pulumi.get(self, "icon_image_name") + + @property + @pulumi.getter(name="rawIcon") + def raw_icon(self) -> Optional[str]: + """ + the icon a 64 bit string as a byte array. + """ + return pulumi.get(self, "raw_icon") + + @property + @pulumi.getter(name="rawPng") + def raw_png(self) -> Optional[str]: + """ + the icon a 64 bit string as a byte array. + """ + return pulumi.get(self, "raw_png") + + +@pulumi.output_type +class MsixPackageDependenciesResponse(dict): + """ + Schema for MSIX Package Dependencies properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dependencyName": + suggest = "dependency_name" + elif key == "minVersion": + suggest = "min_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MsixPackageDependenciesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MsixPackageDependenciesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MsixPackageDependenciesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dependency_name: Optional[str] = None, + min_version: Optional[str] = None, + publisher: Optional[str] = None): + """ + Schema for MSIX Package Dependencies properties. + :param str dependency_name: Name of package dependency. + :param str min_version: Dependency version required. + :param str publisher: Name of dependency publisher. + """ + if dependency_name is not None: + pulumi.set(__self__, "dependency_name", dependency_name) + if min_version is not None: + pulumi.set(__self__, "min_version", min_version) + if publisher is not None: + pulumi.set(__self__, "publisher", publisher) + + @property + @pulumi.getter(name="dependencyName") + def dependency_name(self) -> Optional[str]: + """ + Name of package dependency. + """ + return pulumi.get(self, "dependency_name") + + @property + @pulumi.getter(name="minVersion") + def min_version(self) -> Optional[str]: + """ + Dependency version required. + """ + return pulumi.get(self, "min_version") + + @property + @pulumi.getter + def publisher(self) -> Optional[str]: + """ + Name of dependency publisher. + """ + return pulumi.get(self, "publisher") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + The Private Endpoint Connection resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "privateEndpoint": + suggest = "private_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + name: str, + private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStateResponse', + provisioning_state: str, + type: str, + private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None): + """ + The Private Endpoint Connection resource. + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param 'PrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param str provisioning_state: The provisioning state of the private endpoint connection resource. + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param 'PrivateEndpointResponse' private_endpoint: The resource of private end point. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "type", type) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + The Private Endpoint resource. + """ + def __init__(__self__, *, + id: str): + """ + The Private Endpoint resource. + :param str id: The ARM identifier for Private Endpoint + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ARM identifier for Private Endpoint + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStateResponse(dict): + """ + A collection of information about the state of the connection between service consumer and provider. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: Optional[str] = None, + description: Optional[str] = None, + status: Optional[str] = None): + """ + A collection of information about the state of the connection between service consumer and provider. + :param str actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param str description: The reason for approval/rejection of the connection. + :param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[str]: + """ + A message indicating if changes on the service provider require any updates on the consumer. + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The reason for approval/rejection of the connection. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class RegistrationInfoResponse(dict): + """ + Represents a RegistrationInfo definition. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "expirationTime": + suggest = "expiration_time" + elif key == "registrationTokenOperation": + suggest = "registration_token_operation" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RegistrationInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RegistrationInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RegistrationInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + expiration_time: Optional[str] = None, + registration_token_operation: Optional[str] = None, + token: Optional[str] = None): + """ + Represents a RegistrationInfo definition. + :param str expiration_time: Expiration time of registration token. + :param str registration_token_operation: The type of resetting the token. + :param str token: The registration token base64 encoded string. + """ + if expiration_time is not None: + pulumi.set(__self__, "expiration_time", expiration_time) + if registration_token_operation is not None: + pulumi.set(__self__, "registration_token_operation", registration_token_operation) + if token is not None: + pulumi.set(__self__, "token", token) + + @property + @pulumi.getter(name="expirationTime") + def expiration_time(self) -> Optional[str]: + """ + Expiration time of registration token. + """ + return pulumi.get(self, "expiration_time") + + @property + @pulumi.getter(name="registrationTokenOperation") + def registration_token_operation(self) -> Optional[str]: + """ + The type of resetting the token. + """ + return pulumi.get(self, "registration_token_operation") + + @property + @pulumi.getter + def token(self) -> Optional[str]: + """ + The registration token base64 encoded string. + """ + return pulumi.get(self, "token") + + +@pulumi.output_type +class ResourceModelWithAllowedPropertySetResponseIdentity(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 ResourceModelWithAllowedPropertySetResponseIdentity. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceModelWithAllowedPropertySetResponseIdentity.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceModelWithAllowedPropertySetResponseIdentity.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None): + """ + :param str principal_id: The principal ID of resource identity. + :param str tenant_id: The tenant ID of resource. + :param str type: The identity type. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of resource identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The identity type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class ResourceModelWithAllowedPropertySetResponsePlan(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "promotionCode": + suggest = "promotion_code" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceModelWithAllowedPropertySetResponsePlan. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceModelWithAllowedPropertySetResponsePlan.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceModelWithAllowedPropertySetResponsePlan.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + product: str, + publisher: str, + promotion_code: Optional[str] = None, + version: Optional[str] = None): + """ + :param str name: A user defined name of the 3rd Party Artifact that is being procured. + :param str product: The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + :param str publisher: The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + :param str promotion_code: A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + :param str version: The version of the desired product/artifact. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "product", product) + pulumi.set(__self__, "publisher", publisher) + if promotion_code is not None: + pulumi.set(__self__, "promotion_code", promotion_code) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def name(self) -> str: + """ + A user defined name of the 3rd Party Artifact that is being procured. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def product(self) -> str: + """ + The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. + """ + return pulumi.get(self, "product") + + @property + @pulumi.getter + def publisher(self) -> str: + """ + The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic + """ + return pulumi.get(self, "publisher") + + @property + @pulumi.getter(name="promotionCode") + def promotion_code(self) -> Optional[str]: + """ + A publisher provided promotion code as provisioned in Data Market for the said product/artifact. + """ + return pulumi.get(self, "promotion_code") + + @property + @pulumi.getter + def version(self) -> Optional[str]: + """ + The version of the desired product/artifact. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class ResourceModelWithAllowedPropertySetResponseSku(dict): + def __init__(__self__, *, + name: str, + capacity: Optional[int] = None, + family: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None): + """ + :param str name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param int capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param str family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param str size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param str tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def capacity(self) -> Optional[int]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter + def family(self) -> Optional[str]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @property + @pulumi.getter + def size(self) -> Optional[str]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class ScalingHostPoolReferenceResponse(dict): + """ + Scaling plan reference to hostpool. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostPoolArmPath": + suggest = "host_pool_arm_path" + elif key == "scalingPlanEnabled": + suggest = "scaling_plan_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ScalingHostPoolReferenceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ScalingHostPoolReferenceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ScalingHostPoolReferenceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + host_pool_arm_path: Optional[str] = None, + scaling_plan_enabled: Optional[bool] = None): + """ + Scaling plan reference to hostpool. + :param str host_pool_arm_path: Arm path of referenced hostpool. + :param bool scaling_plan_enabled: Is the scaling plan enabled for this hostpool. + """ + if host_pool_arm_path is not None: + pulumi.set(__self__, "host_pool_arm_path", host_pool_arm_path) + if scaling_plan_enabled is not None: + pulumi.set(__self__, "scaling_plan_enabled", scaling_plan_enabled) + + @property + @pulumi.getter(name="hostPoolArmPath") + def host_pool_arm_path(self) -> Optional[str]: + """ + Arm path of referenced hostpool. + """ + return pulumi.get(self, "host_pool_arm_path") + + @property + @pulumi.getter(name="scalingPlanEnabled") + def scaling_plan_enabled(self) -> Optional[bool]: + """ + Is the scaling plan enabled for this hostpool. + """ + return pulumi.get(self, "scaling_plan_enabled") + + +@pulumi.output_type +class ScalingScheduleResponse(dict): + """ + A ScalingPlanPooledSchedule. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "daysOfWeek": + suggest = "days_of_week" + elif key == "offPeakLoadBalancingAlgorithm": + suggest = "off_peak_load_balancing_algorithm" + elif key == "offPeakStartTime": + suggest = "off_peak_start_time" + elif key == "peakLoadBalancingAlgorithm": + suggest = "peak_load_balancing_algorithm" + elif key == "peakStartTime": + suggest = "peak_start_time" + elif key == "rampDownCapacityThresholdPct": + suggest = "ramp_down_capacity_threshold_pct" + elif key == "rampDownForceLogoffUsers": + suggest = "ramp_down_force_logoff_users" + elif key == "rampDownLoadBalancingAlgorithm": + suggest = "ramp_down_load_balancing_algorithm" + elif key == "rampDownMinimumHostsPct": + suggest = "ramp_down_minimum_hosts_pct" + elif key == "rampDownNotificationMessage": + suggest = "ramp_down_notification_message" + elif key == "rampDownStartTime": + suggest = "ramp_down_start_time" + elif key == "rampDownStopHostsWhen": + suggest = "ramp_down_stop_hosts_when" + elif key == "rampDownWaitTimeMinutes": + suggest = "ramp_down_wait_time_minutes" + elif key == "rampUpCapacityThresholdPct": + suggest = "ramp_up_capacity_threshold_pct" + elif key == "rampUpLoadBalancingAlgorithm": + suggest = "ramp_up_load_balancing_algorithm" + elif key == "rampUpMinimumHostsPct": + suggest = "ramp_up_minimum_hosts_pct" + elif key == "rampUpStartTime": + suggest = "ramp_up_start_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ScalingScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ScalingScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ScalingScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + days_of_week: Optional[Sequence[str]] = None, + name: Optional[str] = None, + off_peak_load_balancing_algorithm: Optional[str] = None, + off_peak_start_time: Optional['outputs.TimeResponse'] = None, + peak_load_balancing_algorithm: Optional[str] = None, + peak_start_time: Optional['outputs.TimeResponse'] = None, + ramp_down_capacity_threshold_pct: Optional[int] = None, + ramp_down_force_logoff_users: Optional[bool] = None, + ramp_down_load_balancing_algorithm: Optional[str] = None, + ramp_down_minimum_hosts_pct: Optional[int] = None, + ramp_down_notification_message: Optional[str] = None, + ramp_down_start_time: Optional['outputs.TimeResponse'] = None, + ramp_down_stop_hosts_when: Optional[str] = None, + ramp_down_wait_time_minutes: Optional[int] = None, + ramp_up_capacity_threshold_pct: Optional[int] = None, + ramp_up_load_balancing_algorithm: Optional[str] = None, + ramp_up_minimum_hosts_pct: Optional[int] = None, + ramp_up_start_time: Optional['outputs.TimeResponse'] = None): + """ + A ScalingPlanPooledSchedule. + :param Sequence[str] days_of_week: Set of days of the week on which this schedule is active. + :param str name: Name of the ScalingPlanPooledSchedule. + :param str off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period. + :param 'TimeResponse' off_peak_start_time: Starting time for off-peak period. + :param str peak_load_balancing_algorithm: Load balancing algorithm for peak period. + :param 'TimeResponse' peak_start_time: Starting time for peak period. + :param int ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period. + :param bool ramp_down_force_logoff_users: Should users be logged off forcefully from hosts. + :param str ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period. + :param int ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period. + :param str ramp_down_notification_message: Notification message for users during ramp down period. + :param 'TimeResponse' ramp_down_start_time: Starting time for ramp down period. + :param str ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period. + :param int ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down period. + :param int ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period. + :param str ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. + :param int ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period. + :param 'TimeResponse' ramp_up_start_time: Starting time for ramp up period. + """ + if days_of_week is not None: + pulumi.set(__self__, "days_of_week", days_of_week) + if name is not None: + pulumi.set(__self__, "name", name) + if off_peak_load_balancing_algorithm is not None: + pulumi.set(__self__, "off_peak_load_balancing_algorithm", off_peak_load_balancing_algorithm) + if off_peak_start_time is not None: + pulumi.set(__self__, "off_peak_start_time", off_peak_start_time) + if peak_load_balancing_algorithm is not None: + pulumi.set(__self__, "peak_load_balancing_algorithm", peak_load_balancing_algorithm) + if peak_start_time is not None: + pulumi.set(__self__, "peak_start_time", peak_start_time) + if ramp_down_capacity_threshold_pct is not None: + pulumi.set(__self__, "ramp_down_capacity_threshold_pct", ramp_down_capacity_threshold_pct) + if ramp_down_force_logoff_users is not None: + pulumi.set(__self__, "ramp_down_force_logoff_users", ramp_down_force_logoff_users) + if ramp_down_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_down_load_balancing_algorithm", ramp_down_load_balancing_algorithm) + if ramp_down_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_down_minimum_hosts_pct", ramp_down_minimum_hosts_pct) + if ramp_down_notification_message is not None: + pulumi.set(__self__, "ramp_down_notification_message", ramp_down_notification_message) + if ramp_down_start_time is not None: + pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) + if ramp_down_stop_hosts_when is not None: + pulumi.set(__self__, "ramp_down_stop_hosts_when", ramp_down_stop_hosts_when) + if ramp_down_wait_time_minutes is not None: + pulumi.set(__self__, "ramp_down_wait_time_minutes", ramp_down_wait_time_minutes) + if ramp_up_capacity_threshold_pct is not None: + pulumi.set(__self__, "ramp_up_capacity_threshold_pct", ramp_up_capacity_threshold_pct) + if ramp_up_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_up_load_balancing_algorithm", ramp_up_load_balancing_algorithm) + if ramp_up_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_up_minimum_hosts_pct", ramp_up_minimum_hosts_pct) + if ramp_up_start_time is not None: + pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> Optional[Sequence[str]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the ScalingPlanPooledSchedule. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="offPeakLoadBalancingAlgorithm") + def off_peak_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for off-peak period. + """ + return pulumi.get(self, "off_peak_load_balancing_algorithm") + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @property + @pulumi.getter(name="peakLoadBalancingAlgorithm") + def peak_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for peak period. + """ + return pulumi.get(self, "peak_load_balancing_algorithm") + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @property + @pulumi.getter(name="rampDownCapacityThresholdPct") + def ramp_down_capacity_threshold_pct(self) -> Optional[int]: + """ + Capacity threshold for ramp down period. + """ + return pulumi.get(self, "ramp_down_capacity_threshold_pct") + + @property + @pulumi.getter(name="rampDownForceLogoffUsers") + def ramp_down_force_logoff_users(self) -> Optional[bool]: + """ + Should users be logged off forcefully from hosts. + """ + return pulumi.get(self, "ramp_down_force_logoff_users") + + @property + @pulumi.getter(name="rampDownLoadBalancingAlgorithm") + def ramp_down_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for ramp down period. + """ + return pulumi.get(self, "ramp_down_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampDownMinimumHostsPct") + def ramp_down_minimum_hosts_pct(self) -> Optional[int]: + """ + Minimum host percentage for ramp down period. + """ + return pulumi.get(self, "ramp_down_minimum_hosts_pct") + + @property + @pulumi.getter(name="rampDownNotificationMessage") + def ramp_down_notification_message(self) -> Optional[str]: + """ + Notification message for users during ramp down period. + """ + return pulumi.get(self, "ramp_down_notification_message") + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @property + @pulumi.getter(name="rampDownStopHostsWhen") + def ramp_down_stop_hosts_when(self) -> Optional[str]: + """ + Specifies when to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_stop_hosts_when") + + @property + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> Optional[int]: + """ + Number of minutes to wait to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_wait_time_minutes") + + @property + @pulumi.getter(name="rampUpCapacityThresholdPct") + def ramp_up_capacity_threshold_pct(self) -> Optional[int]: + """ + Capacity threshold for ramp up period. + """ + return pulumi.get(self, "ramp_up_capacity_threshold_pct") + + @property + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> Optional[int]: + """ + Minimum host percentage for ramp up period. + """ + return pulumi.get(self, "ramp_up_minimum_hosts_pct") + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> Optional['outputs.TimeResponse']: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TimeResponse(dict): + """ + The time for a scaling action to occur. + """ + def __init__(__self__, *, + hour: int, + minute: int): + """ + The time for a scaling action to occur. + :param int hour: The hour. + :param int minute: The minute. + """ + pulumi.set(__self__, "hour", hour) + pulumi.set(__self__, "minute", minute) + + @property + @pulumi.getter + def hour(self) -> int: + """ + The hour. + """ + return pulumi.get(self, "hour") + + @property + @pulumi.getter + def minute(self) -> int: + """ + The minute. + """ + return pulumi.get(self, "minute") + + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/private_endpoint_connection_by_host_pool.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/private_endpoint_connection_by_host_pool.py new file mode 100644 index 000000000000..2adfa1ae904f --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/private_endpoint_connection_by_host_pool.py @@ -0,0 +1,237 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionByHostPoolArgs', 'PrivateEndpointConnectionByHostPool'] + +@pulumi.input_type +class PrivateEndpointConnectionByHostPoolArgs: + def __init__(__self__, *, + host_pool_name: pulumi.Input[str], + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'], + resource_group_name: pulumi.Input[str], + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnectionByHostPool resource. + :param pulumi.Input[str] host_pool_name: The name of the host pool within the specified resource group + :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + """ + pulumi.set(__self__, "host_pool_name", host_pool_name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + + @property + @pulumi.getter(name="hostPoolName") + def host_pool_name(self) -> pulumi.Input[str]: + """ + The name of the host pool within the specified resource group + """ + return pulumi.get(self, "host_pool_name") + + @host_pool_name.setter + def host_pool_name(self, value: pulumi.Input[str]): + pulumi.set(self, "host_pool_name", value) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection associated with the Azure resource + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + +class PrivateEndpointConnectionByHostPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + host_pool_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The Private Endpoint Connection resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] host_pool_name: The name of the host pool within the specified resource group + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionByHostPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The Private Endpoint Connection resource. + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionByHostPoolArgs 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(PrivateEndpointConnectionByHostPoolArgs, 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, + host_pool_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionByHostPoolArgs.__new__(PrivateEndpointConnectionByHostPoolArgs) + + if host_pool_name is None and not opts.urn: + raise TypeError("Missing required property 'host_pool_name'") + __props__.__dict__["host_pool_name"] = host_pool_name + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + if private_link_service_connection_state is None and not opts.urn: + raise TypeError("Missing required property 'private_link_service_connection_state'") + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + 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__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByHostPool"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByHostPool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnectionByHostPool, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByHostPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnectionByHostPool': + """ + Get an existing PrivateEndpointConnectionByHostPool 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionByHostPoolArgs.__new__(PrivateEndpointConnectionByHostPoolArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnectionByHostPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/private_endpoint_connection_by_workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/private_endpoint_connection_by_workspace.py new file mode 100644 index 000000000000..0540e99be480 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/private_endpoint_connection_by_workspace.py @@ -0,0 +1,237 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionByWorkspaceArgs', 'PrivateEndpointConnectionByWorkspace'] + +@pulumi.input_type +class PrivateEndpointConnectionByWorkspaceArgs: + def __init__(__self__, *, + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnectionByWorkspace resource. + :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + """ + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection associated with the Azure resource + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + +class PrivateEndpointConnectionByWorkspace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The Private Endpoint Connection resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionByWorkspaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The Private Endpoint Connection resource. + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionByWorkspaceArgs 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(PrivateEndpointConnectionByWorkspaceArgs, 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, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionByWorkspaceArgs.__new__(PrivateEndpointConnectionByWorkspaceArgs) + + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + if private_link_service_connection_state is None and not opts.urn: + raise TypeError("Missing required property 'private_link_service_connection_state'") + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:PrivateEndpointConnectionByWorkspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:PrivateEndpointConnectionByWorkspace")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnectionByWorkspace, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:PrivateEndpointConnectionByWorkspace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnectionByWorkspace': + """ + Get an existing PrivateEndpointConnectionByWorkspace 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionByWorkspaceArgs.__new__(PrivateEndpointConnectionByWorkspaceArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnectionByWorkspace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan.py new file mode 100644 index 000000000000..7cd0e7539369 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan.py @@ -0,0 +1,573 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ScalingPlanArgs', 'ScalingPlan'] + +@pulumi.input_type +class ScalingPlanArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + time_zone: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + exclusion_tag: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_references: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingHostPoolReferenceArgs']]]] = None, + host_pool_type: Optional[pulumi.Input[Union[str, 'ScalingHostPoolType']]] = None, + identity: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingScheduleArgs']]]] = None, + sku: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ScalingPlan resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] time_zone: Timezone of the scaling plan. + :param pulumi.Input[str] description: Description of scaling plan. + :param pulumi.Input[str] exclusion_tag: Exclusion tag for scaling plan. + :param pulumi.Input[str] friendly_name: User friendly name of scaling plan. + :param pulumi.Input[Sequence[pulumi.Input['ScalingHostPoolReferenceArgs']]] host_pool_references: List of ScalingHostPoolReference definitions. + :param pulumi.Input[Union[str, 'ScalingHostPoolType']] host_pool_type: HostPool type for desktop. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[str] scaling_plan_name: The name of the scaling plan. + :param pulumi.Input[Sequence[pulumi.Input['ScalingScheduleArgs']]] schedules: List of ScalingPlanPooledSchedule definitions. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "time_zone", time_zone) + if description is not None: + pulumi.set(__self__, "description", description) + if exclusion_tag is not None: + pulumi.set(__self__, "exclusion_tag", exclusion_tag) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if host_pool_references is not None: + pulumi.set(__self__, "host_pool_references", host_pool_references) + if host_pool_type is None: + host_pool_type = 'Pooled' + if host_pool_type is not None: + pulumi.set(__self__, "host_pool_type", host_pool_type) + 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: + pulumi.set(__self__, "location", location) + if managed_by is not None: + pulumi.set(__self__, "managed_by", managed_by) + if plan is not None: + pulumi.set(__self__, "plan", plan) + if scaling_plan_name is not None: + pulumi.set(__self__, "scaling_plan_name", scaling_plan_name) + if schedules is not None: + pulumi.set(__self__, "schedules", schedules) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="timeZone") + def time_zone(self) -> pulumi.Input[str]: + """ + Timezone of the scaling plan. + """ + return pulumi.get(self, "time_zone") + + @time_zone.setter + def time_zone(self, value: pulumi.Input[str]): + pulumi.set(self, "time_zone", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of scaling plan. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="exclusionTag") + def exclusion_tag(self) -> Optional[pulumi.Input[str]]: + """ + Exclusion tag for scaling plan. + """ + return pulumi.get(self, "exclusion_tag") + + @exclusion_tag.setter + def exclusion_tag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "exclusion_tag", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + User friendly name of scaling plan. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter(name="hostPoolReferences") + def host_pool_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingHostPoolReferenceArgs']]]]: + """ + List of ScalingHostPoolReference definitions. + """ + return pulumi.get(self, "host_pool_references") + + @host_pool_references.setter + def host_pool_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingHostPoolReferenceArgs']]]]): + pulumi.set(self, "host_pool_references", value) + + @property + @pulumi.getter(name="hostPoolType") + def host_pool_type(self) -> Optional[pulumi.Input[Union[str, 'ScalingHostPoolType']]]: + """ + HostPool type for desktop. + """ + return pulumi.get(self, "host_pool_type") + + @host_pool_type.setter + def host_pool_type(self, value: Optional[pulumi.Input[Union[str, 'ScalingHostPoolType']]]): + pulumi.set(self, "host_pool_type", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]: + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[pulumi.Input[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @managed_by.setter + def managed_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_by", value) + + @property + @pulumi.getter + def plan(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]: + return pulumi.get(self, "plan") + + @plan.setter + def plan(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]): + pulumi.set(self, "plan", value) + + @property + @pulumi.getter(name="scalingPlanName") + def scaling_plan_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the scaling plan. + """ + return pulumi.get(self, "scaling_plan_name") + + @scaling_plan_name.setter + def scaling_plan_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scaling_plan_name", value) + + @property + @pulumi.getter + def schedules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingScheduleArgs']]]]: + """ + List of ScalingPlanPooledSchedule definitions. + """ + return pulumi.get(self, "schedules") + + @schedules.setter + def schedules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingScheduleArgs']]]]): + pulumi.set(self, "schedules", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]: + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 ScalingPlan(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + exclusion_tag: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingHostPoolReferenceArgs']]]]] = None, + host_pool_type: Optional[pulumi.Input[Union[str, 'ScalingHostPoolType']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingScheduleArgs']]]]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a scaling plan definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: Description of scaling plan. + :param pulumi.Input[str] exclusion_tag: Exclusion tag for scaling plan. + :param pulumi.Input[str] friendly_name: User friendly name of scaling plan. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingHostPoolReferenceArgs']]]] host_pool_references: List of ScalingHostPoolReference definitions. + :param pulumi.Input[Union[str, 'ScalingHostPoolType']] host_pool_type: HostPool type for desktop. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] scaling_plan_name: The name of the scaling plan. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingScheduleArgs']]]] schedules: List of ScalingPlanPooledSchedule definitions. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] time_zone: Timezone of the scaling plan. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScalingPlanArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a scaling plan definition. + + :param str resource_name: The name of the resource. + :param ScalingPlanArgs 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(ScalingPlanArgs, 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, + description: Optional[pulumi.Input[str]] = None, + exclusion_tag: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + host_pool_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingHostPoolReferenceArgs']]]]] = None, + host_pool_type: Optional[pulumi.Input[Union[str, 'ScalingHostPoolType']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingScheduleArgs']]]]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + time_zone: 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__ = ScalingPlanArgs.__new__(ScalingPlanArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["exclusion_tag"] = exclusion_tag + __props__.__dict__["friendly_name"] = friendly_name + __props__.__dict__["host_pool_references"] = host_pool_references + if host_pool_type is None: + host_pool_type = 'Pooled' + __props__.__dict__["host_pool_type"] = host_pool_type + __props__.__dict__["identity"] = identity + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["managed_by"] = managed_by + __props__.__dict__["plan"] = plan + 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__["scaling_plan_name"] = scaling_plan_name + __props__.__dict__["schedules"] = schedules + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + if time_zone is None and not opts.urn: + raise TypeError("Missing required property 'time_zone'") + __props__.__dict__["time_zone"] = time_zone + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlan"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlan")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ScalingPlan, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:ScalingPlan', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ScalingPlan': + """ + Get an existing ScalingPlan 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ScalingPlanArgs.__new__(ScalingPlanArgs) + + __props__.__dict__["description"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["exclusion_tag"] = None + __props__.__dict__["friendly_name"] = None + __props__.__dict__["host_pool_references"] = None + __props__.__dict__["host_pool_type"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_by"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["plan"] = None + __props__.__dict__["schedules"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["time_zone"] = None + __props__.__dict__["type"] = None + return ScalingPlan(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of scaling plan. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="exclusionTag") + def exclusion_tag(self) -> pulumi.Output[Optional[str]]: + """ + Exclusion tag for scaling plan. + """ + return pulumi.get(self, "exclusion_tag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> pulumi.Output[Optional[str]]: + """ + User friendly name of scaling plan. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter(name="hostPoolReferences") + def host_pool_references(self) -> pulumi.Output[Optional[Sequence['outputs.ScalingHostPoolReferenceResponse']]]: + """ + List of ScalingHostPoolReference definitions. + """ + return pulumi.get(self, "host_pool_references") + + @property + @pulumi.getter(name="hostPoolType") + def host_pool_type(self) -> pulumi.Output[Optional[str]]: + """ + HostPool type for desktop. + """ + return pulumi.get(self, "host_pool_type") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']]: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> pulumi.Output[Optional[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> pulumi.Output[str]: + """ + ObjectId of scaling plan. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter + def plan(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']]: + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def schedules(self) -> pulumi.Output[Optional[Sequence['outputs.ScalingScheduleResponse']]]: + """ + List of ScalingPlanPooledSchedule definitions. + """ + return pulumi.get(self, "schedules") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']]: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> pulumi.Output[str]: + """ + Timezone of the scaling plan. + """ + return pulumi.get(self, "time_zone") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan_personal_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan_personal_schedule.py new file mode 100644 index 000000000000..9ee2e6807464 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan_personal_schedule.py @@ -0,0 +1,957 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ScalingPlanPersonalScheduleArgs', 'ScalingPlanPersonalSchedule'] + +@pulumi.input_type +class ScalingPlanPersonalScheduleArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + scaling_plan_name: pulumi.Input[str], + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + off_peak_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + off_peak_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + off_peak_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + off_peak_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + off_peak_start_time: Optional[pulumi.Input['TimeArgs']] = None, + off_peak_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + peak_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + peak_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + peak_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + peak_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + peak_start_time: Optional[pulumi.Input['TimeArgs']] = None, + peak_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + ramp_down_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_down_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_down_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + ramp_down_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + ramp_down_start_time: Optional[pulumi.Input['TimeArgs']] = None, + ramp_down_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + ramp_up_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_up_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_up_auto_start_hosts: Optional[pulumi.Input[Union[str, 'StartupBehavior']]] = None, + ramp_up_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + ramp_up_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input['TimeArgs']] = None, + ramp_up_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ScalingPlanPersonalSchedule resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] scaling_plan_name: The name of the scaling plan. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]] days_of_week: Set of days of the week on which this schedule is active. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] off_peak_action_on_disconnect: Action to be taken after a user disconnect during the off-peak period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] off_peak_action_on_logoff: Action to be taken after a logoff during the off-peak period. + :param pulumi.Input[int] off_peak_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + :param pulumi.Input[int] off_peak_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + :param pulumi.Input['TimeArgs'] off_peak_start_time: Starting time for off-peak period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] off_peak_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] peak_action_on_disconnect: Action to be taken after a user disconnect during the peak period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] peak_action_on_logoff: Action to be taken after a logoff during the peak period. + :param pulumi.Input[int] peak_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + :param pulumi.Input[int] peak_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + :param pulumi.Input['TimeArgs'] peak_start_time: Starting time for peak period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] peak_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the peak phase. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_down_action_on_disconnect: Action to be taken after a user disconnect during the ramp down period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_down_action_on_logoff: Action to be taken after a logoff during the ramp down period. + :param pulumi.Input[int] ramp_down_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + :param pulumi.Input[int] ramp_down_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + :param pulumi.Input['TimeArgs'] ramp_down_start_time: Starting time for ramp down period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] ramp_down_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_up_action_on_disconnect: Action to be taken after a user disconnect during the ramp up period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_up_action_on_logoff: Action to be taken after a logoff during the ramp up period. + :param pulumi.Input[Union[str, 'StartupBehavior']] ramp_up_auto_start_hosts: The desired startup behavior during the ramp up period for personal vms in the hostpool. + :param pulumi.Input[int] ramp_up_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + :param pulumi.Input[int] ramp_up_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + :param pulumi.Input['TimeArgs'] ramp_up_start_time: Starting time for ramp up period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] ramp_up_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + :param pulumi.Input[str] scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "scaling_plan_name", scaling_plan_name) + if days_of_week is not None: + pulumi.set(__self__, "days_of_week", days_of_week) + if off_peak_action_on_disconnect is not None: + pulumi.set(__self__, "off_peak_action_on_disconnect", off_peak_action_on_disconnect) + if off_peak_action_on_logoff is not None: + pulumi.set(__self__, "off_peak_action_on_logoff", off_peak_action_on_logoff) + if off_peak_minutes_to_wait_on_disconnect is not None: + pulumi.set(__self__, "off_peak_minutes_to_wait_on_disconnect", off_peak_minutes_to_wait_on_disconnect) + if off_peak_minutes_to_wait_on_logoff is not None: + pulumi.set(__self__, "off_peak_minutes_to_wait_on_logoff", off_peak_minutes_to_wait_on_logoff) + if off_peak_start_time is not None: + pulumi.set(__self__, "off_peak_start_time", off_peak_start_time) + if off_peak_start_vm_on_connect is None: + off_peak_start_vm_on_connect = 'Enable' + if off_peak_start_vm_on_connect is not None: + pulumi.set(__self__, "off_peak_start_vm_on_connect", off_peak_start_vm_on_connect) + if peak_action_on_disconnect is not None: + pulumi.set(__self__, "peak_action_on_disconnect", peak_action_on_disconnect) + if peak_action_on_logoff is not None: + pulumi.set(__self__, "peak_action_on_logoff", peak_action_on_logoff) + if peak_minutes_to_wait_on_disconnect is not None: + pulumi.set(__self__, "peak_minutes_to_wait_on_disconnect", peak_minutes_to_wait_on_disconnect) + if peak_minutes_to_wait_on_logoff is not None: + pulumi.set(__self__, "peak_minutes_to_wait_on_logoff", peak_minutes_to_wait_on_logoff) + if peak_start_time is not None: + pulumi.set(__self__, "peak_start_time", peak_start_time) + if peak_start_vm_on_connect is None: + peak_start_vm_on_connect = 'Enable' + if peak_start_vm_on_connect is not None: + pulumi.set(__self__, "peak_start_vm_on_connect", peak_start_vm_on_connect) + if ramp_down_action_on_disconnect is not None: + pulumi.set(__self__, "ramp_down_action_on_disconnect", ramp_down_action_on_disconnect) + if ramp_down_action_on_logoff is not None: + pulumi.set(__self__, "ramp_down_action_on_logoff", ramp_down_action_on_logoff) + if ramp_down_minutes_to_wait_on_disconnect is not None: + pulumi.set(__self__, "ramp_down_minutes_to_wait_on_disconnect", ramp_down_minutes_to_wait_on_disconnect) + if ramp_down_minutes_to_wait_on_logoff is not None: + pulumi.set(__self__, "ramp_down_minutes_to_wait_on_logoff", ramp_down_minutes_to_wait_on_logoff) + if ramp_down_start_time is not None: + pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) + if ramp_down_start_vm_on_connect is None: + ramp_down_start_vm_on_connect = 'Enable' + if ramp_down_start_vm_on_connect is not None: + pulumi.set(__self__, "ramp_down_start_vm_on_connect", ramp_down_start_vm_on_connect) + if ramp_up_action_on_disconnect is not None: + pulumi.set(__self__, "ramp_up_action_on_disconnect", ramp_up_action_on_disconnect) + if ramp_up_action_on_logoff is not None: + pulumi.set(__self__, "ramp_up_action_on_logoff", ramp_up_action_on_logoff) + if ramp_up_auto_start_hosts is not None: + pulumi.set(__self__, "ramp_up_auto_start_hosts", ramp_up_auto_start_hosts) + if ramp_up_minutes_to_wait_on_disconnect is not None: + pulumi.set(__self__, "ramp_up_minutes_to_wait_on_disconnect", ramp_up_minutes_to_wait_on_disconnect) + if ramp_up_minutes_to_wait_on_logoff is not None: + pulumi.set(__self__, "ramp_up_minutes_to_wait_on_logoff", ramp_up_minutes_to_wait_on_logoff) + if ramp_up_start_time is not None: + pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) + if ramp_up_start_vm_on_connect is None: + ramp_up_start_vm_on_connect = 'Enable' + if ramp_up_start_vm_on_connect is not None: + pulumi.set(__self__, "ramp_up_start_vm_on_connect", ramp_up_start_vm_on_connect) + if scaling_plan_schedule_name is not None: + pulumi.set(__self__, "scaling_plan_schedule_name", scaling_plan_schedule_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="scalingPlanName") + def scaling_plan_name(self) -> pulumi.Input[str]: + """ + The name of the scaling plan. + """ + return pulumi.get(self, "scaling_plan_name") + + @scaling_plan_name.setter + def scaling_plan_name(self, value: pulumi.Input[str]): + pulumi.set(self, "scaling_plan_name", value) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @days_of_week.setter + def days_of_week(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]]): + pulumi.set(self, "days_of_week", value) + + @property + @pulumi.getter(name="offPeakActionOnDisconnect") + def off_peak_action_on_disconnect(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a user disconnect during the off-peak period. + """ + return pulumi.get(self, "off_peak_action_on_disconnect") + + @off_peak_action_on_disconnect.setter + def off_peak_action_on_disconnect(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "off_peak_action_on_disconnect", value) + + @property + @pulumi.getter(name="offPeakActionOnLogoff") + def off_peak_action_on_logoff(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a logoff during the off-peak period. + """ + return pulumi.get(self, "off_peak_action_on_logoff") + + @off_peak_action_on_logoff.setter + def off_peak_action_on_logoff(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "off_peak_action_on_logoff", value) + + @property + @pulumi.getter(name="offPeakMinutesToWaitOnDisconnect") + def off_peak_minutes_to_wait_on_disconnect(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + """ + return pulumi.get(self, "off_peak_minutes_to_wait_on_disconnect") + + @off_peak_minutes_to_wait_on_disconnect.setter + def off_peak_minutes_to_wait_on_disconnect(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "off_peak_minutes_to_wait_on_disconnect", value) + + @property + @pulumi.getter(name="offPeakMinutesToWaitOnLogoff") + def off_peak_minutes_to_wait_on_logoff(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + """ + return pulumi.get(self, "off_peak_minutes_to_wait_on_logoff") + + @off_peak_minutes_to_wait_on_logoff.setter + def off_peak_minutes_to_wait_on_logoff(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "off_peak_minutes_to_wait_on_logoff", value) + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @off_peak_start_time.setter + def off_peak_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "off_peak_start_time", value) + + @property + @pulumi.getter(name="offPeakStartVMOnConnect") + def off_peak_start_vm_on_connect(self) -> Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + """ + return pulumi.get(self, "off_peak_start_vm_on_connect") + + @off_peak_start_vm_on_connect.setter + def off_peak_start_vm_on_connect(self, value: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]): + pulumi.set(self, "off_peak_start_vm_on_connect", value) + + @property + @pulumi.getter(name="peakActionOnDisconnect") + def peak_action_on_disconnect(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a user disconnect during the peak period. + """ + return pulumi.get(self, "peak_action_on_disconnect") + + @peak_action_on_disconnect.setter + def peak_action_on_disconnect(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "peak_action_on_disconnect", value) + + @property + @pulumi.getter(name="peakActionOnLogoff") + def peak_action_on_logoff(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a logoff during the peak period. + """ + return pulumi.get(self, "peak_action_on_logoff") + + @peak_action_on_logoff.setter + def peak_action_on_logoff(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "peak_action_on_logoff", value) + + @property + @pulumi.getter(name="peakMinutesToWaitOnDisconnect") + def peak_minutes_to_wait_on_disconnect(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + """ + return pulumi.get(self, "peak_minutes_to_wait_on_disconnect") + + @peak_minutes_to_wait_on_disconnect.setter + def peak_minutes_to_wait_on_disconnect(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "peak_minutes_to_wait_on_disconnect", value) + + @property + @pulumi.getter(name="peakMinutesToWaitOnLogoff") + def peak_minutes_to_wait_on_logoff(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + """ + return pulumi.get(self, "peak_minutes_to_wait_on_logoff") + + @peak_minutes_to_wait_on_logoff.setter + def peak_minutes_to_wait_on_logoff(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "peak_minutes_to_wait_on_logoff", value) + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @peak_start_time.setter + def peak_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "peak_start_time", value) + + @property + @pulumi.getter(name="peakStartVMOnConnect") + def peak_start_vm_on_connect(self) -> Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the peak phase. + """ + return pulumi.get(self, "peak_start_vm_on_connect") + + @peak_start_vm_on_connect.setter + def peak_start_vm_on_connect(self, value: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]): + pulumi.set(self, "peak_start_vm_on_connect", value) + + @property + @pulumi.getter(name="rampDownActionOnDisconnect") + def ramp_down_action_on_disconnect(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a user disconnect during the ramp down period. + """ + return pulumi.get(self, "ramp_down_action_on_disconnect") + + @ramp_down_action_on_disconnect.setter + def ramp_down_action_on_disconnect(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "ramp_down_action_on_disconnect", value) + + @property + @pulumi.getter(name="rampDownActionOnLogoff") + def ramp_down_action_on_logoff(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a logoff during the ramp down period. + """ + return pulumi.get(self, "ramp_down_action_on_logoff") + + @ramp_down_action_on_logoff.setter + def ramp_down_action_on_logoff(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "ramp_down_action_on_logoff", value) + + @property + @pulumi.getter(name="rampDownMinutesToWaitOnDisconnect") + def ramp_down_minutes_to_wait_on_disconnect(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + """ + return pulumi.get(self, "ramp_down_minutes_to_wait_on_disconnect") + + @ramp_down_minutes_to_wait_on_disconnect.setter + def ramp_down_minutes_to_wait_on_disconnect(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_minutes_to_wait_on_disconnect", value) + + @property + @pulumi.getter(name="rampDownMinutesToWaitOnLogoff") + def ramp_down_minutes_to_wait_on_logoff(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + """ + return pulumi.get(self, "ramp_down_minutes_to_wait_on_logoff") + + @ramp_down_minutes_to_wait_on_logoff.setter + def ramp_down_minutes_to_wait_on_logoff(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_minutes_to_wait_on_logoff", value) + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @ramp_down_start_time.setter + def ramp_down_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "ramp_down_start_time", value) + + @property + @pulumi.getter(name="rampDownStartVMOnConnect") + def ramp_down_start_vm_on_connect(self) -> Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + """ + return pulumi.get(self, "ramp_down_start_vm_on_connect") + + @ramp_down_start_vm_on_connect.setter + def ramp_down_start_vm_on_connect(self, value: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]): + pulumi.set(self, "ramp_down_start_vm_on_connect", value) + + @property + @pulumi.getter(name="rampUpActionOnDisconnect") + def ramp_up_action_on_disconnect(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a user disconnect during the ramp up period. + """ + return pulumi.get(self, "ramp_up_action_on_disconnect") + + @ramp_up_action_on_disconnect.setter + def ramp_up_action_on_disconnect(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "ramp_up_action_on_disconnect", value) + + @property + @pulumi.getter(name="rampUpActionOnLogoff") + def ramp_up_action_on_logoff(self) -> Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]: + """ + Action to be taken after a logoff during the ramp up period. + """ + return pulumi.get(self, "ramp_up_action_on_logoff") + + @ramp_up_action_on_logoff.setter + def ramp_up_action_on_logoff(self, value: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]]): + pulumi.set(self, "ramp_up_action_on_logoff", value) + + @property + @pulumi.getter(name="rampUpAutoStartHosts") + def ramp_up_auto_start_hosts(self) -> Optional[pulumi.Input[Union[str, 'StartupBehavior']]]: + """ + The desired startup behavior during the ramp up period for personal vms in the hostpool. + """ + return pulumi.get(self, "ramp_up_auto_start_hosts") + + @ramp_up_auto_start_hosts.setter + def ramp_up_auto_start_hosts(self, value: Optional[pulumi.Input[Union[str, 'StartupBehavior']]]): + pulumi.set(self, "ramp_up_auto_start_hosts", value) + + @property + @pulumi.getter(name="rampUpMinutesToWaitOnDisconnect") + def ramp_up_minutes_to_wait_on_disconnect(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + """ + return pulumi.get(self, "ramp_up_minutes_to_wait_on_disconnect") + + @ramp_up_minutes_to_wait_on_disconnect.setter + def ramp_up_minutes_to_wait_on_disconnect(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_minutes_to_wait_on_disconnect", value) + + @property + @pulumi.getter(name="rampUpMinutesToWaitOnLogoff") + def ramp_up_minutes_to_wait_on_logoff(self) -> Optional[pulumi.Input[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + """ + return pulumi.get(self, "ramp_up_minutes_to_wait_on_logoff") + + @ramp_up_minutes_to_wait_on_logoff.setter + def ramp_up_minutes_to_wait_on_logoff(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_minutes_to_wait_on_logoff", value) + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @ramp_up_start_time.setter + def ramp_up_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "ramp_up_start_time", value) + + @property + @pulumi.getter(name="rampUpStartVMOnConnect") + def ramp_up_start_vm_on_connect(self) -> Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + """ + return pulumi.get(self, "ramp_up_start_vm_on_connect") + + @ramp_up_start_vm_on_connect.setter + def ramp_up_start_vm_on_connect(self, value: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]]): + pulumi.set(self, "ramp_up_start_vm_on_connect", value) + + @property + @pulumi.getter(name="scalingPlanScheduleName") + def scaling_plan_schedule_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the ScalingPlanSchedule + """ + return pulumi.get(self, "scaling_plan_schedule_name") + + @scaling_plan_schedule_name.setter + def scaling_plan_schedule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scaling_plan_schedule_name", value) + + +class ScalingPlanPersonalSchedule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + off_peak_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + off_peak_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + off_peak_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + off_peak_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + off_peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + off_peak_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + peak_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + peak_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + peak_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + peak_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + peak_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + ramp_down_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_down_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_down_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + ramp_down_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + ramp_down_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_down_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + ramp_up_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_up_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_up_auto_start_hosts: Optional[pulumi.Input[Union[str, 'StartupBehavior']]] = None, + ramp_up_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + ramp_up_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_up_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a ScalingPlanPersonalSchedule definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]] days_of_week: Set of days of the week on which this schedule is active. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] off_peak_action_on_disconnect: Action to be taken after a user disconnect during the off-peak period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] off_peak_action_on_logoff: Action to be taken after a logoff during the off-peak period. + :param pulumi.Input[int] off_peak_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + :param pulumi.Input[int] off_peak_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] off_peak_start_time: Starting time for off-peak period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] off_peak_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] peak_action_on_disconnect: Action to be taken after a user disconnect during the peak period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] peak_action_on_logoff: Action to be taken after a logoff during the peak period. + :param pulumi.Input[int] peak_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + :param pulumi.Input[int] peak_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] peak_start_time: Starting time for peak period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] peak_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the peak phase. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_down_action_on_disconnect: Action to be taken after a user disconnect during the ramp down period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_down_action_on_logoff: Action to be taken after a logoff during the ramp down period. + :param pulumi.Input[int] ramp_down_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + :param pulumi.Input[int] ramp_down_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] ramp_down_start_time: Starting time for ramp down period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] ramp_down_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_up_action_on_disconnect: Action to be taken after a user disconnect during the ramp up period. + :param pulumi.Input[Union[str, 'SessionHandlingOperation']] ramp_up_action_on_logoff: Action to be taken after a logoff during the ramp up period. + :param pulumi.Input[Union[str, 'StartupBehavior']] ramp_up_auto_start_hosts: The desired startup behavior during the ramp up period for personal vms in the hostpool. + :param pulumi.Input[int] ramp_up_minutes_to_wait_on_disconnect: The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + :param pulumi.Input[int] ramp_up_minutes_to_wait_on_logoff: The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] ramp_up_start_time: Starting time for ramp up period. + :param pulumi.Input[Union[str, 'SetStartVMOnConnect']] ramp_up_start_vm_on_connect: The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] scaling_plan_name: The name of the scaling plan. + :param pulumi.Input[str] scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScalingPlanPersonalScheduleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a ScalingPlanPersonalSchedule definition. + + :param str resource_name: The name of the resource. + :param ScalingPlanPersonalScheduleArgs 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(ScalingPlanPersonalScheduleArgs, 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, + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + off_peak_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + off_peak_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + off_peak_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + off_peak_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + off_peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + off_peak_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + peak_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + peak_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + peak_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + peak_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + peak_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + ramp_down_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_down_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_down_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + ramp_down_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + ramp_down_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_down_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + ramp_up_action_on_disconnect: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_up_action_on_logoff: Optional[pulumi.Input[Union[str, 'SessionHandlingOperation']]] = None, + ramp_up_auto_start_hosts: Optional[pulumi.Input[Union[str, 'StartupBehavior']]] = None, + ramp_up_minutes_to_wait_on_disconnect: Optional[pulumi.Input[int]] = None, + ramp_up_minutes_to_wait_on_logoff: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_up_start_vm_on_connect: Optional[pulumi.Input[Union[str, 'SetStartVMOnConnect']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ScalingPlanPersonalScheduleArgs.__new__(ScalingPlanPersonalScheduleArgs) + + __props__.__dict__["days_of_week"] = days_of_week + __props__.__dict__["off_peak_action_on_disconnect"] = off_peak_action_on_disconnect + __props__.__dict__["off_peak_action_on_logoff"] = off_peak_action_on_logoff + __props__.__dict__["off_peak_minutes_to_wait_on_disconnect"] = off_peak_minutes_to_wait_on_disconnect + __props__.__dict__["off_peak_minutes_to_wait_on_logoff"] = off_peak_minutes_to_wait_on_logoff + __props__.__dict__["off_peak_start_time"] = off_peak_start_time + if off_peak_start_vm_on_connect is None: + off_peak_start_vm_on_connect = 'Enable' + __props__.__dict__["off_peak_start_vm_on_connect"] = off_peak_start_vm_on_connect + __props__.__dict__["peak_action_on_disconnect"] = peak_action_on_disconnect + __props__.__dict__["peak_action_on_logoff"] = peak_action_on_logoff + __props__.__dict__["peak_minutes_to_wait_on_disconnect"] = peak_minutes_to_wait_on_disconnect + __props__.__dict__["peak_minutes_to_wait_on_logoff"] = peak_minutes_to_wait_on_logoff + __props__.__dict__["peak_start_time"] = peak_start_time + if peak_start_vm_on_connect is None: + peak_start_vm_on_connect = 'Enable' + __props__.__dict__["peak_start_vm_on_connect"] = peak_start_vm_on_connect + __props__.__dict__["ramp_down_action_on_disconnect"] = ramp_down_action_on_disconnect + __props__.__dict__["ramp_down_action_on_logoff"] = ramp_down_action_on_logoff + __props__.__dict__["ramp_down_minutes_to_wait_on_disconnect"] = ramp_down_minutes_to_wait_on_disconnect + __props__.__dict__["ramp_down_minutes_to_wait_on_logoff"] = ramp_down_minutes_to_wait_on_logoff + __props__.__dict__["ramp_down_start_time"] = ramp_down_start_time + if ramp_down_start_vm_on_connect is None: + ramp_down_start_vm_on_connect = 'Enable' + __props__.__dict__["ramp_down_start_vm_on_connect"] = ramp_down_start_vm_on_connect + __props__.__dict__["ramp_up_action_on_disconnect"] = ramp_up_action_on_disconnect + __props__.__dict__["ramp_up_action_on_logoff"] = ramp_up_action_on_logoff + __props__.__dict__["ramp_up_auto_start_hosts"] = ramp_up_auto_start_hosts + __props__.__dict__["ramp_up_minutes_to_wait_on_disconnect"] = ramp_up_minutes_to_wait_on_disconnect + __props__.__dict__["ramp_up_minutes_to_wait_on_logoff"] = ramp_up_minutes_to_wait_on_logoff + __props__.__dict__["ramp_up_start_time"] = ramp_up_start_time + if ramp_up_start_vm_on_connect is None: + ramp_up_start_vm_on_connect = 'Enable' + __props__.__dict__["ramp_up_start_vm_on_connect"] = ramp_up_start_vm_on_connect + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if scaling_plan_name is None and not opts.urn: + raise TypeError("Missing required property 'scaling_plan_name'") + __props__.__dict__["scaling_plan_name"] = scaling_plan_name + __props__.__dict__["scaling_plan_schedule_name"] = scaling_plan_schedule_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPersonalSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPersonalSchedule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ScalingPlanPersonalSchedule, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:ScalingPlanPersonalSchedule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ScalingPlanPersonalSchedule': + """ + Get an existing ScalingPlanPersonalSchedule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ScalingPlanPersonalScheduleArgs.__new__(ScalingPlanPersonalScheduleArgs) + + __props__.__dict__["days_of_week"] = None + __props__.__dict__["name"] = None + __props__.__dict__["off_peak_action_on_disconnect"] = None + __props__.__dict__["off_peak_action_on_logoff"] = None + __props__.__dict__["off_peak_minutes_to_wait_on_disconnect"] = None + __props__.__dict__["off_peak_minutes_to_wait_on_logoff"] = None + __props__.__dict__["off_peak_start_time"] = None + __props__.__dict__["off_peak_start_vm_on_connect"] = None + __props__.__dict__["peak_action_on_disconnect"] = None + __props__.__dict__["peak_action_on_logoff"] = None + __props__.__dict__["peak_minutes_to_wait_on_disconnect"] = None + __props__.__dict__["peak_minutes_to_wait_on_logoff"] = None + __props__.__dict__["peak_start_time"] = None + __props__.__dict__["peak_start_vm_on_connect"] = None + __props__.__dict__["ramp_down_action_on_disconnect"] = None + __props__.__dict__["ramp_down_action_on_logoff"] = None + __props__.__dict__["ramp_down_minutes_to_wait_on_disconnect"] = None + __props__.__dict__["ramp_down_minutes_to_wait_on_logoff"] = None + __props__.__dict__["ramp_down_start_time"] = None + __props__.__dict__["ramp_down_start_vm_on_connect"] = None + __props__.__dict__["ramp_up_action_on_disconnect"] = None + __props__.__dict__["ramp_up_action_on_logoff"] = None + __props__.__dict__["ramp_up_auto_start_hosts"] = None + __props__.__dict__["ramp_up_minutes_to_wait_on_disconnect"] = None + __props__.__dict__["ramp_up_minutes_to_wait_on_logoff"] = None + __props__.__dict__["ramp_up_start_time"] = None + __props__.__dict__["ramp_up_start_vm_on_connect"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ScalingPlanPersonalSchedule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="offPeakActionOnDisconnect") + def off_peak_action_on_disconnect(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a user disconnect during the off-peak period. + """ + return pulumi.get(self, "off_peak_action_on_disconnect") + + @property + @pulumi.getter(name="offPeakActionOnLogoff") + def off_peak_action_on_logoff(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a logoff during the off-peak period. + """ + return pulumi.get(self, "off_peak_action_on_logoff") + + @property + @pulumi.getter(name="offPeakMinutesToWaitOnDisconnect") + def off_peak_minutes_to_wait_on_disconnect(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. + """ + return pulumi.get(self, "off_peak_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="offPeakMinutesToWaitOnLogoff") + def off_peak_minutes_to_wait_on_logoff(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. + """ + return pulumi.get(self, "off_peak_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @property + @pulumi.getter(name="offPeakStartVMOnConnect") + def off_peak_start_vm_on_connect(self) -> pulumi.Output[Optional[str]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. + """ + return pulumi.get(self, "off_peak_start_vm_on_connect") + + @property + @pulumi.getter(name="peakActionOnDisconnect") + def peak_action_on_disconnect(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a user disconnect during the peak period. + """ + return pulumi.get(self, "peak_action_on_disconnect") + + @property + @pulumi.getter(name="peakActionOnLogoff") + def peak_action_on_logoff(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a logoff during the peak period. + """ + return pulumi.get(self, "peak_action_on_logoff") + + @property + @pulumi.getter(name="peakMinutesToWaitOnDisconnect") + def peak_minutes_to_wait_on_disconnect(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. + """ + return pulumi.get(self, "peak_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="peakMinutesToWaitOnLogoff") + def peak_minutes_to_wait_on_logoff(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. + """ + return pulumi.get(self, "peak_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @property + @pulumi.getter(name="peakStartVMOnConnect") + def peak_start_vm_on_connect(self) -> pulumi.Output[Optional[str]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the peak phase. + """ + return pulumi.get(self, "peak_start_vm_on_connect") + + @property + @pulumi.getter(name="rampDownActionOnDisconnect") + def ramp_down_action_on_disconnect(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a user disconnect during the ramp down period. + """ + return pulumi.get(self, "ramp_down_action_on_disconnect") + + @property + @pulumi.getter(name="rampDownActionOnLogoff") + def ramp_down_action_on_logoff(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a logoff during the ramp down period. + """ + return pulumi.get(self, "ramp_down_action_on_logoff") + + @property + @pulumi.getter(name="rampDownMinutesToWaitOnDisconnect") + def ramp_down_minutes_to_wait_on_disconnect(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. + """ + return pulumi.get(self, "ramp_down_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="rampDownMinutesToWaitOnLogoff") + def ramp_down_minutes_to_wait_on_logoff(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. + """ + return pulumi.get(self, "ramp_down_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @property + @pulumi.getter(name="rampDownStartVMOnConnect") + def ramp_down_start_vm_on_connect(self) -> pulumi.Output[Optional[str]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. + """ + return pulumi.get(self, "ramp_down_start_vm_on_connect") + + @property + @pulumi.getter(name="rampUpActionOnDisconnect") + def ramp_up_action_on_disconnect(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a user disconnect during the ramp up period. + """ + return pulumi.get(self, "ramp_up_action_on_disconnect") + + @property + @pulumi.getter(name="rampUpActionOnLogoff") + def ramp_up_action_on_logoff(self) -> pulumi.Output[Optional[str]]: + """ + Action to be taken after a logoff during the ramp up period. + """ + return pulumi.get(self, "ramp_up_action_on_logoff") + + @property + @pulumi.getter(name="rampUpAutoStartHosts") + def ramp_up_auto_start_hosts(self) -> pulumi.Output[Optional[str]]: + """ + The desired startup behavior during the ramp up period for personal vms in the hostpool. + """ + return pulumi.get(self, "ramp_up_auto_start_hosts") + + @property + @pulumi.getter(name="rampUpMinutesToWaitOnDisconnect") + def ramp_up_minutes_to_wait_on_disconnect(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. + """ + return pulumi.get(self, "ramp_up_minutes_to_wait_on_disconnect") + + @property + @pulumi.getter(name="rampUpMinutesToWaitOnLogoff") + def ramp_up_minutes_to_wait_on_logoff(self) -> pulumi.Output[Optional[int]]: + """ + The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. + """ + return pulumi.get(self, "ramp_up_minutes_to_wait_on_logoff") + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @property + @pulumi.getter(name="rampUpStartVMOnConnect") + def ramp_up_start_vm_on_connect(self) -> pulumi.Output[Optional[str]]: + """ + The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. + """ + return pulumi.get(self, "ramp_up_start_vm_on_connect") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan_pooled_schedule.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan_pooled_schedule.py new file mode 100644 index 000000000000..795a9399e329 --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/scaling_plan_pooled_schedule.py @@ -0,0 +1,680 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ScalingPlanPooledScheduleArgs', 'ScalingPlanPooledSchedule'] + +@pulumi.input_type +class ScalingPlanPooledScheduleArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + scaling_plan_name: pulumi.Input[str], + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + off_peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + off_peak_start_time: Optional[pulumi.Input['TimeArgs']] = None, + peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + peak_start_time: Optional[pulumi.Input['TimeArgs']] = None, + ramp_down_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_down_force_logoff_users: Optional[pulumi.Input[bool]] = None, + ramp_down_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_down_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_down_notification_message: Optional[pulumi.Input[str]] = None, + ramp_down_start_time: Optional[pulumi.Input['TimeArgs']] = None, + ramp_down_stop_hosts_when: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]] = None, + ramp_down_wait_time_minutes: Optional[pulumi.Input[int]] = None, + ramp_up_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_up_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_up_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input['TimeArgs']] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ScalingPlanPooledSchedule resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] scaling_plan_name: The name of the scaling plan. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]] days_of_week: Set of days of the week on which this schedule is active. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period. + :param pulumi.Input['TimeArgs'] off_peak_start_time: Starting time for off-peak period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] peak_load_balancing_algorithm: Load balancing algorithm for peak period. + :param pulumi.Input['TimeArgs'] peak_start_time: Starting time for peak period. + :param pulumi.Input[int] ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period. + :param pulumi.Input[bool] ramp_down_force_logoff_users: Should users be logged off forcefully from hosts. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period. + :param pulumi.Input[int] ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period. + :param pulumi.Input[str] ramp_down_notification_message: Notification message for users during ramp down period. + :param pulumi.Input['TimeArgs'] ramp_down_start_time: Starting time for ramp down period. + :param pulumi.Input[Union[str, 'StopHostsWhen']] ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period. + :param pulumi.Input[int] ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down period. + :param pulumi.Input[int] ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. + :param pulumi.Input[int] ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period. + :param pulumi.Input['TimeArgs'] ramp_up_start_time: Starting time for ramp up period. + :param pulumi.Input[str] scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "scaling_plan_name", scaling_plan_name) + if days_of_week is not None: + pulumi.set(__self__, "days_of_week", days_of_week) + if off_peak_load_balancing_algorithm is not None: + pulumi.set(__self__, "off_peak_load_balancing_algorithm", off_peak_load_balancing_algorithm) + if off_peak_start_time is not None: + pulumi.set(__self__, "off_peak_start_time", off_peak_start_time) + if peak_load_balancing_algorithm is not None: + pulumi.set(__self__, "peak_load_balancing_algorithm", peak_load_balancing_algorithm) + if peak_start_time is not None: + pulumi.set(__self__, "peak_start_time", peak_start_time) + if ramp_down_capacity_threshold_pct is not None: + pulumi.set(__self__, "ramp_down_capacity_threshold_pct", ramp_down_capacity_threshold_pct) + if ramp_down_force_logoff_users is not None: + pulumi.set(__self__, "ramp_down_force_logoff_users", ramp_down_force_logoff_users) + if ramp_down_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_down_load_balancing_algorithm", ramp_down_load_balancing_algorithm) + if ramp_down_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_down_minimum_hosts_pct", ramp_down_minimum_hosts_pct) + if ramp_down_notification_message is not None: + pulumi.set(__self__, "ramp_down_notification_message", ramp_down_notification_message) + if ramp_down_start_time is not None: + pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) + if ramp_down_stop_hosts_when is not None: + pulumi.set(__self__, "ramp_down_stop_hosts_when", ramp_down_stop_hosts_when) + if ramp_down_wait_time_minutes is not None: + pulumi.set(__self__, "ramp_down_wait_time_minutes", ramp_down_wait_time_minutes) + if ramp_up_capacity_threshold_pct is not None: + pulumi.set(__self__, "ramp_up_capacity_threshold_pct", ramp_up_capacity_threshold_pct) + if ramp_up_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_up_load_balancing_algorithm", ramp_up_load_balancing_algorithm) + if ramp_up_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_up_minimum_hosts_pct", ramp_up_minimum_hosts_pct) + if ramp_up_start_time is not None: + pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) + if scaling_plan_schedule_name is not None: + pulumi.set(__self__, "scaling_plan_schedule_name", scaling_plan_schedule_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="scalingPlanName") + def scaling_plan_name(self) -> pulumi.Input[str]: + """ + The name of the scaling plan. + """ + return pulumi.get(self, "scaling_plan_name") + + @scaling_plan_name.setter + def scaling_plan_name(self, value: pulumi.Input[str]): + pulumi.set(self, "scaling_plan_name", value) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @days_of_week.setter + def days_of_week(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]]): + pulumi.set(self, "days_of_week", value) + + @property + @pulumi.getter(name="offPeakLoadBalancingAlgorithm") + def off_peak_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for off-peak period. + """ + return pulumi.get(self, "off_peak_load_balancing_algorithm") + + @off_peak_load_balancing_algorithm.setter + def off_peak_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "off_peak_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @off_peak_start_time.setter + def off_peak_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "off_peak_start_time", value) + + @property + @pulumi.getter(name="peakLoadBalancingAlgorithm") + def peak_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for peak period. + """ + return pulumi.get(self, "peak_load_balancing_algorithm") + + @peak_load_balancing_algorithm.setter + def peak_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "peak_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @peak_start_time.setter + def peak_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "peak_start_time", value) + + @property + @pulumi.getter(name="rampDownCapacityThresholdPct") + def ramp_down_capacity_threshold_pct(self) -> Optional[pulumi.Input[int]]: + """ + Capacity threshold for ramp down period. + """ + return pulumi.get(self, "ramp_down_capacity_threshold_pct") + + @ramp_down_capacity_threshold_pct.setter + def ramp_down_capacity_threshold_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_capacity_threshold_pct", value) + + @property + @pulumi.getter(name="rampDownForceLogoffUsers") + def ramp_down_force_logoff_users(self) -> Optional[pulumi.Input[bool]]: + """ + Should users be logged off forcefully from hosts. + """ + return pulumi.get(self, "ramp_down_force_logoff_users") + + @ramp_down_force_logoff_users.setter + def ramp_down_force_logoff_users(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ramp_down_force_logoff_users", value) + + @property + @pulumi.getter(name="rampDownLoadBalancingAlgorithm") + def ramp_down_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for ramp down period. + """ + return pulumi.get(self, "ramp_down_load_balancing_algorithm") + + @ramp_down_load_balancing_algorithm.setter + def ramp_down_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "ramp_down_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="rampDownMinimumHostsPct") + def ramp_down_minimum_hosts_pct(self) -> Optional[pulumi.Input[int]]: + """ + Minimum host percentage for ramp down period. + """ + return pulumi.get(self, "ramp_down_minimum_hosts_pct") + + @ramp_down_minimum_hosts_pct.setter + def ramp_down_minimum_hosts_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_minimum_hosts_pct", value) + + @property + @pulumi.getter(name="rampDownNotificationMessage") + def ramp_down_notification_message(self) -> Optional[pulumi.Input[str]]: + """ + Notification message for users during ramp down period. + """ + return pulumi.get(self, "ramp_down_notification_message") + + @ramp_down_notification_message.setter + def ramp_down_notification_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ramp_down_notification_message", value) + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @ramp_down_start_time.setter + def ramp_down_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "ramp_down_start_time", value) + + @property + @pulumi.getter(name="rampDownStopHostsWhen") + def ramp_down_stop_hosts_when(self) -> Optional[pulumi.Input[Union[str, 'StopHostsWhen']]]: + """ + Specifies when to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_stop_hosts_when") + + @ramp_down_stop_hosts_when.setter + def ramp_down_stop_hosts_when(self, value: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]]): + pulumi.set(self, "ramp_down_stop_hosts_when", value) + + @property + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> Optional[pulumi.Input[int]]: + """ + Number of minutes to wait to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_wait_time_minutes") + + @ramp_down_wait_time_minutes.setter + def ramp_down_wait_time_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_wait_time_minutes", value) + + @property + @pulumi.getter(name="rampUpCapacityThresholdPct") + def ramp_up_capacity_threshold_pct(self) -> Optional[pulumi.Input[int]]: + """ + Capacity threshold for ramp up period. + """ + return pulumi.get(self, "ramp_up_capacity_threshold_pct") + + @ramp_up_capacity_threshold_pct.setter + def ramp_up_capacity_threshold_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_capacity_threshold_pct", value) + + @property + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @ramp_up_load_balancing_algorithm.setter + def ramp_up_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "ramp_up_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> Optional[pulumi.Input[int]]: + """ + Minimum host percentage for ramp up period. + """ + return pulumi.get(self, "ramp_up_minimum_hosts_pct") + + @ramp_up_minimum_hosts_pct.setter + def ramp_up_minimum_hosts_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_minimum_hosts_pct", value) + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> Optional[pulumi.Input['TimeArgs']]: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @ramp_up_start_time.setter + def ramp_up_start_time(self, value: Optional[pulumi.Input['TimeArgs']]): + pulumi.set(self, "ramp_up_start_time", value) + + @property + @pulumi.getter(name="scalingPlanScheduleName") + def scaling_plan_schedule_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the ScalingPlanSchedule + """ + return pulumi.get(self, "scaling_plan_schedule_name") + + @scaling_plan_schedule_name.setter + def scaling_plan_schedule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scaling_plan_schedule_name", value) + + +class ScalingPlanPooledSchedule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + off_peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + off_peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_down_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_down_force_logoff_users: Optional[pulumi.Input[bool]] = None, + ramp_down_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_down_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_down_notification_message: Optional[pulumi.Input[str]] = None, + ramp_down_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_down_stop_hosts_when: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]] = None, + ramp_down_wait_time_minutes: Optional[pulumi.Input[int]] = None, + ramp_up_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_up_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_up_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a ScalingPlanPooledSchedule definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]] days_of_week: Set of days of the week on which this schedule is active. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] off_peak_start_time: Starting time for off-peak period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] peak_load_balancing_algorithm: Load balancing algorithm for peak period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] peak_start_time: Starting time for peak period. + :param pulumi.Input[int] ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period. + :param pulumi.Input[bool] ramp_down_force_logoff_users: Should users be logged off forcefully from hosts. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period. + :param pulumi.Input[int] ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period. + :param pulumi.Input[str] ramp_down_notification_message: Notification message for users during ramp down period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] ramp_down_start_time: Starting time for ramp down period. + :param pulumi.Input[Union[str, 'StopHostsWhen']] ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period. + :param pulumi.Input[int] ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down period. + :param pulumi.Input[int] ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. + :param pulumi.Input[int] ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period. + :param pulumi.Input[pulumi.InputType['TimeArgs']] ramp_up_start_time: Starting time for ramp up period. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] scaling_plan_name: The name of the scaling plan. + :param pulumi.Input[str] scaling_plan_schedule_name: The name of the ScalingPlanSchedule + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScalingPlanPooledScheduleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a ScalingPlanPooledSchedule definition. + + :param str resource_name: The name of the resource. + :param ScalingPlanPooledScheduleArgs 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(ScalingPlanPooledScheduleArgs, 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, + days_of_week: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'DayOfWeek']]]]] = None, + off_peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + off_peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + peak_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + peak_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_down_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_down_force_logoff_users: Optional[pulumi.Input[bool]] = None, + ramp_down_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_down_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_down_notification_message: Optional[pulumi.Input[str]] = None, + ramp_down_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + ramp_down_stop_hosts_when: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]] = None, + ramp_down_wait_time_minutes: Optional[pulumi.Input[int]] = None, + ramp_up_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, + ramp_up_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_up_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, + ramp_up_start_time: Optional[pulumi.Input[pulumi.InputType['TimeArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + scaling_plan_name: Optional[pulumi.Input[str]] = None, + scaling_plan_schedule_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ScalingPlanPooledScheduleArgs.__new__(ScalingPlanPooledScheduleArgs) + + __props__.__dict__["days_of_week"] = days_of_week + __props__.__dict__["off_peak_load_balancing_algorithm"] = off_peak_load_balancing_algorithm + __props__.__dict__["off_peak_start_time"] = off_peak_start_time + __props__.__dict__["peak_load_balancing_algorithm"] = peak_load_balancing_algorithm + __props__.__dict__["peak_start_time"] = peak_start_time + __props__.__dict__["ramp_down_capacity_threshold_pct"] = ramp_down_capacity_threshold_pct + __props__.__dict__["ramp_down_force_logoff_users"] = ramp_down_force_logoff_users + __props__.__dict__["ramp_down_load_balancing_algorithm"] = ramp_down_load_balancing_algorithm + __props__.__dict__["ramp_down_minimum_hosts_pct"] = ramp_down_minimum_hosts_pct + __props__.__dict__["ramp_down_notification_message"] = ramp_down_notification_message + __props__.__dict__["ramp_down_start_time"] = ramp_down_start_time + __props__.__dict__["ramp_down_stop_hosts_when"] = ramp_down_stop_hosts_when + __props__.__dict__["ramp_down_wait_time_minutes"] = ramp_down_wait_time_minutes + __props__.__dict__["ramp_up_capacity_threshold_pct"] = ramp_up_capacity_threshold_pct + __props__.__dict__["ramp_up_load_balancing_algorithm"] = ramp_up_load_balancing_algorithm + __props__.__dict__["ramp_up_minimum_hosts_pct"] = ramp_up_minimum_hosts_pct + __props__.__dict__["ramp_up_start_time"] = ramp_up_start_time + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if scaling_plan_name is None and not opts.urn: + raise TypeError("Missing required property 'scaling_plan_name'") + __props__.__dict__["scaling_plan_name"] = scaling_plan_name + __props__.__dict__["scaling_plan_schedule_name"] = scaling_plan_schedule_name + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:ScalingPlanPooledSchedule"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:ScalingPlanPooledSchedule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ScalingPlanPooledSchedule, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:ScalingPlanPooledSchedule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ScalingPlanPooledSchedule': + """ + Get an existing ScalingPlanPooledSchedule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ScalingPlanPooledScheduleArgs.__new__(ScalingPlanPooledScheduleArgs) + + __props__.__dict__["days_of_week"] = None + __props__.__dict__["name"] = None + __props__.__dict__["off_peak_load_balancing_algorithm"] = None + __props__.__dict__["off_peak_start_time"] = None + __props__.__dict__["peak_load_balancing_algorithm"] = None + __props__.__dict__["peak_start_time"] = None + __props__.__dict__["ramp_down_capacity_threshold_pct"] = None + __props__.__dict__["ramp_down_force_logoff_users"] = None + __props__.__dict__["ramp_down_load_balancing_algorithm"] = None + __props__.__dict__["ramp_down_minimum_hosts_pct"] = None + __props__.__dict__["ramp_down_notification_message"] = None + __props__.__dict__["ramp_down_start_time"] = None + __props__.__dict__["ramp_down_stop_hosts_when"] = None + __props__.__dict__["ramp_down_wait_time_minutes"] = None + __props__.__dict__["ramp_up_capacity_threshold_pct"] = None + __props__.__dict__["ramp_up_load_balancing_algorithm"] = None + __props__.__dict__["ramp_up_minimum_hosts_pct"] = None + __props__.__dict__["ramp_up_start_time"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ScalingPlanPooledSchedule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="daysOfWeek") + def days_of_week(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Set of days of the week on which this schedule is active. + """ + return pulumi.get(self, "days_of_week") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="offPeakLoadBalancingAlgorithm") + def off_peak_load_balancing_algorithm(self) -> pulumi.Output[Optional[str]]: + """ + Load balancing algorithm for off-peak period. + """ + return pulumi.get(self, "off_peak_load_balancing_algorithm") + + @property + @pulumi.getter(name="offPeakStartTime") + def off_peak_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for off-peak period. + """ + return pulumi.get(self, "off_peak_start_time") + + @property + @pulumi.getter(name="peakLoadBalancingAlgorithm") + def peak_load_balancing_algorithm(self) -> pulumi.Output[Optional[str]]: + """ + Load balancing algorithm for peak period. + """ + return pulumi.get(self, "peak_load_balancing_algorithm") + + @property + @pulumi.getter(name="peakStartTime") + def peak_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for peak period. + """ + return pulumi.get(self, "peak_start_time") + + @property + @pulumi.getter(name="rampDownCapacityThresholdPct") + def ramp_down_capacity_threshold_pct(self) -> pulumi.Output[Optional[int]]: + """ + Capacity threshold for ramp down period. + """ + return pulumi.get(self, "ramp_down_capacity_threshold_pct") + + @property + @pulumi.getter(name="rampDownForceLogoffUsers") + def ramp_down_force_logoff_users(self) -> pulumi.Output[Optional[bool]]: + """ + Should users be logged off forcefully from hosts. + """ + return pulumi.get(self, "ramp_down_force_logoff_users") + + @property + @pulumi.getter(name="rampDownLoadBalancingAlgorithm") + def ramp_down_load_balancing_algorithm(self) -> pulumi.Output[Optional[str]]: + """ + Load balancing algorithm for ramp down period. + """ + return pulumi.get(self, "ramp_down_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampDownMinimumHostsPct") + def ramp_down_minimum_hosts_pct(self) -> pulumi.Output[Optional[int]]: + """ + Minimum host percentage for ramp down period. + """ + return pulumi.get(self, "ramp_down_minimum_hosts_pct") + + @property + @pulumi.getter(name="rampDownNotificationMessage") + def ramp_down_notification_message(self) -> pulumi.Output[Optional[str]]: + """ + Notification message for users during ramp down period. + """ + return pulumi.get(self, "ramp_down_notification_message") + + @property + @pulumi.getter(name="rampDownStartTime") + def ramp_down_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for ramp down period. + """ + return pulumi.get(self, "ramp_down_start_time") + + @property + @pulumi.getter(name="rampDownStopHostsWhen") + def ramp_down_stop_hosts_when(self) -> pulumi.Output[Optional[str]]: + """ + Specifies when to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_stop_hosts_when") + + @property + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> pulumi.Output[Optional[int]]: + """ + Number of minutes to wait to stop hosts during ramp down period. + """ + return pulumi.get(self, "ramp_down_wait_time_minutes") + + @property + @pulumi.getter(name="rampUpCapacityThresholdPct") + def ramp_up_capacity_threshold_pct(self) -> pulumi.Output[Optional[int]]: + """ + Capacity threshold for ramp up period. + """ + return pulumi.get(self, "ramp_up_capacity_threshold_pct") + + @property + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> pulumi.Output[Optional[str]]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> pulumi.Output[Optional[int]]: + """ + Minimum host percentage for ramp up period. + """ + return pulumi.get(self, "ramp_up_minimum_hosts_pct") + + @property + @pulumi.getter(name="rampUpStartTime") + def ramp_up_start_time(self) -> pulumi.Output[Optional['outputs.TimeResponse']]: + """ + Starting time for ramp up period. + """ + return pulumi.get(self, "ramp_up_start_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/workspace.py new file mode 100644 index 000000000000..b7bbceddb7ea --- /dev/null +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/v20230905/workspace.py @@ -0,0 +1,501 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['WorkspaceArgs', 'Workspace'] + +@pulumi.input_type +class WorkspaceArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + application_group_references: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + sku: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Workspace resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[str]]] application_group_references: List of applicationGroup resource Ids. + :param pulumi.Input[str] description: Description of Workspace. + :param pulumi.Input[str] friendly_name: Friendly name of Workspace. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] workspace_name: The name of the workspace + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if application_group_references is not None: + pulumi.set(__self__, "application_group_references", application_group_references) + if description is not None: + pulumi.set(__self__, "description", description) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + 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: + pulumi.set(__self__, "location", location) + if managed_by is not None: + pulumi.set(__self__, "managed_by", managed_by) + if plan is not None: + pulumi.set(__self__, "plan", plan) + 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 workspace_name is not None: + pulumi.set(__self__, "workspace_name", workspace_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="applicationGroupReferences") + def application_group_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of applicationGroup resource Ids. + """ + return pulumi.get(self, "application_group_references") + + @application_group_references.setter + def application_group_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "application_group_references", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of Workspace. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + Friendly name of Workspace. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]: + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[pulumi.Input[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @managed_by.setter + def managed_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_by", value) + + @property + @pulumi.getter + def plan(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]: + return pulumi.get(self, "plan") + + @plan.setter + def plan(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetPlanArgs']]): + pulumi.set(self, "plan", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]: + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['ResourceModelWithAllowedPropertySetSkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="workspaceName") + def workspace_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the workspace + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_name", value) + + +class Workspace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + application_group_references: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Workspace definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] application_group_references: List of applicationGroup resource Ids. + :param pulumi.Input[str] description: Description of Workspace. + :param pulumi.Input[str] friendly_name: Friendly name of Workspace. + :param pulumi.Input[str] kind: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] workspace_name: The name of the workspace + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WorkspaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Workspace definition. + + :param str resource_name: The name of the resource. + :param WorkspaceArgs 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(WorkspaceArgs, 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, + application_group_references: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetIdentityArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetPlanArgs']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['ResourceModelWithAllowedPropertySetSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WorkspaceArgs.__new__(WorkspaceArgs) + + __props__.__dict__["application_group_references"] = application_group_references + __props__.__dict__["description"] = description + __props__.__dict__["friendly_name"] = friendly_name + __props__.__dict__["identity"] = identity + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + __props__.__dict__["managed_by"] = managed_by + __props__.__dict__["plan"] = plan + __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__["workspace_name"] = workspace_name + __props__.__dict__["cloud_pc_resource"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Workspace, __self__).__init__( + 'azure-native:desktopvirtualization/v20230905:Workspace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Workspace': + """ + Get an existing Workspace 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WorkspaceArgs.__new__(WorkspaceArgs) + + __props__.__dict__["application_group_references"] = None + __props__.__dict__["cloud_pc_resource"] = None + __props__.__dict__["description"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["friendly_name"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_by"] = None + __props__.__dict__["name"] = None + __props__.__dict__["object_id"] = None + __props__.__dict__["plan"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Workspace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="applicationGroupReferences") + def application_group_references(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of applicationGroup resource Ids. + """ + return pulumi.get(self, "application_group_references") + + @property + @pulumi.getter(name="cloudPcResource") + def cloud_pc_resource(self) -> pulumi.Output[bool]: + """ + Is cloud pc resource. + """ + return pulumi.get(self, "cloud_pc_resource") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of Workspace. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> pulumi.Output[Optional[str]]: + """ + Friendly name of Workspace. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseIdentity']]: + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> pulumi.Output[Optional[str]]: + """ + The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> pulumi.Output[str]: + """ + ObjectId of Workspace. (internal use) + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter + def plan(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponsePlan']]: + return pulumi.get(self, "plan") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + List of private endpoint connection associated with the specified resource + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.ResourceModelWithAllowedPropertySetResponseSku']]: + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/desktopvirtualization/workspace.py b/sdk/python/pulumi_azure_native/desktopvirtualization/workspace.py index 88b2df392a15..68a98d85e68e 100644 --- a/sdk/python/pulumi_azure_native/desktopvirtualization/workspace.py +++ b/sdk/python/pulumi_azure_native/desktopvirtualization/workspace.py @@ -301,7 +301,7 @@ def _internal_init(__self__, __props__.__dict__["object_id"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:desktopvirtualization/v20190123preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20190924preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20191210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20200921preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201019preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201102preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20201110preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210114preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210201preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210309preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210712:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20210903preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220210preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220401preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20220909:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20221014preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230707preview:Workspace"), pulumi.Alias(type_="azure-native:desktopvirtualization/v20230905:Workspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Workspace, __self__).__init__( 'azure-native:desktopvirtualization:Workspace', diff --git a/sdk/python/pulumi_azure_native/devcenter/__init__.py b/sdk/python/pulumi_azure_native/devcenter/__init__.py index a47ab22708b4..8321b1eab9e7 100644 --- a/sdk/python/pulumi_azure_native/devcenter/__init__.py +++ b/sdk/python/pulumi_azure_native/devcenter/__init__.py @@ -14,8 +14,12 @@ from .gallery import * from .get_attached_network_by_dev_center import * from .get_catalog import * +from .get_catalog_dev_box_definition_error_details import * +from .get_catalog_sync_error_details import * +from .get_customization_task_error_details import * from .get_dev_box_definition import * from .get_dev_center import * +from .get_environment_definition_error_details import * from .get_environment_type import * from .get_gallery import * from .get_network_connection import * @@ -37,7 +41,10 @@ v20221111preview = __v20221111preview import pulumi_azure_native.devcenter.v20230401 as __v20230401 v20230401 = __v20230401 + import pulumi_azure_native.devcenter.v20230801preview as __v20230801preview + v20230801preview = __v20230801preview else: v20221111preview = _utilities.lazy_import('pulumi_azure_native.devcenter.v20221111preview') v20230401 = _utilities.lazy_import('pulumi_azure_native.devcenter.v20230401') + v20230801preview = _utilities.lazy_import('pulumi_azure_native.devcenter.v20230801preview') diff --git a/sdk/python/pulumi_azure_native/devcenter/attached_network_by_dev_center.py b/sdk/python/pulumi_azure_native/devcenter/attached_network_by_dev_center.py index c56f007ff044..0a3d4b7b9624 100644 --- a/sdk/python/pulumi_azure_native/devcenter/attached_network_by_dev_center.py +++ b/sdk/python/pulumi_azure_native/devcenter/attached_network_by_dev_center.py @@ -157,7 +157,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230401:AttachedNetworkByDevCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230401:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AttachedNetworkByDevCenter, __self__).__init__( 'azure-native:devcenter:AttachedNetworkByDevCenter', diff --git a/sdk/python/pulumi_azure_native/devcenter/catalog.py b/sdk/python/pulumi_azure_native/devcenter/catalog.py index 2d6b68ee9a9f..785487799784 100644 --- a/sdk/python/pulumi_azure_native/devcenter/catalog.py +++ b/sdk/python/pulumi_azure_native/devcenter/catalog.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["sync_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Catalog")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Catalog")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Catalog, __self__).__init__( 'azure-native:devcenter:Catalog', diff --git a/sdk/python/pulumi_azure_native/devcenter/dev_box_definition.py b/sdk/python/pulumi_azure_native/devcenter/dev_box_definition.py index b422cb139352..be4b188247ff 100644 --- a/sdk/python/pulumi_azure_native/devcenter/dev_box_definition.py +++ b/sdk/python/pulumi_azure_native/devcenter/dev_box_definition.py @@ -260,7 +260,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevBoxDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:DevBoxDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DevBoxDefinition, __self__).__init__( 'azure-native:devcenter:DevBoxDefinition', diff --git a/sdk/python/pulumi_azure_native/devcenter/dev_center.py b/sdk/python/pulumi_azure_native/devcenter/dev_center.py index 916c1044e5b1..7d9ef00c3433 100644 --- a/sdk/python/pulumi_azure_native/devcenter/dev_center.py +++ b/sdk/python/pulumi_azure_native/devcenter/dev_center.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:DevCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DevCenter, __self__).__init__( 'azure-native:devcenter:DevCenter', diff --git a/sdk/python/pulumi_azure_native/devcenter/environment_type.py b/sdk/python/pulumi_azure_native/devcenter/environment_type.py index 3ce610af5c82..562b71de984a 100644 --- a/sdk/python/pulumi_azure_native/devcenter/environment_type.py +++ b/sdk/python/pulumi_azure_native/devcenter/environment_type.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230401:EnvironmentType")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230401:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:EnvironmentType")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EnvironmentType, __self__).__init__( 'azure-native:devcenter:EnvironmentType', diff --git a/sdk/python/pulumi_azure_native/devcenter/gallery.py b/sdk/python/pulumi_azure_native/devcenter/gallery.py index 17fb9ce602ab..37cbb5b8af1f 100644 --- a/sdk/python/pulumi_azure_native/devcenter/gallery.py +++ b/sdk/python/pulumi_azure_native/devcenter/gallery.py @@ -154,7 +154,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Gallery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Gallery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Gallery, __self__).__init__( 'azure-native:devcenter:Gallery', diff --git a/sdk/python/pulumi_azure_native/devcenter/get_catalog_dev_box_definition_error_details.py b/sdk/python/pulumi_azure_native/devcenter/get_catalog_dev_box_definition_error_details.py new file mode 100644 index 000000000000..aae558e93681 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/get_catalog_dev_box_definition_error_details.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetCatalogDevBoxDefinitionErrorDetailsResult', + 'AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult', + 'get_catalog_dev_box_definition_error_details', + 'get_catalog_dev_box_definition_error_details_output', +] + +@pulumi.output_type +class GetCatalogDevBoxDefinitionErrorDetailsResult: + """ + List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + """ + def __init__(__self__, errors=None): + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with resources synchronized from the catalog. + """ + return pulumi.get(self, "errors") + + +class AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult(GetCatalogDevBoxDefinitionErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCatalogDevBoxDefinitionErrorDetailsResult( + errors=self.errors) + + +def get_catalog_dev_box_definition_error_details(catalog_name: Optional[str] = None, + dev_box_definition_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult: + """ + Gets Catalog Devbox Definition error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_box_definition_name: The name of the Dev Box definition. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devBoxDefinitionName'] = dev_box_definition_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter:getCatalogDevBoxDefinitionErrorDetails', __args__, opts=opts, typ=GetCatalogDevBoxDefinitionErrorDetailsResult).value + + return AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult( + errors=pulumi.get(__ret__, 'errors')) + + +@_utilities.lift_output_func(get_catalog_dev_box_definition_error_details) +def get_catalog_dev_box_definition_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogDevBoxDefinitionErrorDetailsResult]: + """ + Gets Catalog Devbox Definition error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_box_definition_name: The name of the Dev Box definition. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/get_catalog_sync_error_details.py b/sdk/python/pulumi_azure_native/devcenter/get_catalog_sync_error_details.py new file mode 100644 index 000000000000..6d52c07c04a9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/get_catalog_sync_error_details.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetCatalogSyncErrorDetailsResult', + 'AwaitableGetCatalogSyncErrorDetailsResult', + 'get_catalog_sync_error_details', + 'get_catalog_sync_error_details_output', +] + +@pulumi.output_type +class GetCatalogSyncErrorDetailsResult: + """ + Synchronization error details. + """ + def __init__(__self__, conflicts=None, errors=None, operation_error=None): + if conflicts and not isinstance(conflicts, list): + raise TypeError("Expected argument 'conflicts' to be a list") + pulumi.set(__self__, "conflicts", conflicts) + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + if operation_error and not isinstance(operation_error, dict): + raise TypeError("Expected argument 'operation_error' to be a dict") + pulumi.set(__self__, "operation_error", operation_error) + + @property + @pulumi.getter + def conflicts(self) -> Sequence['outputs.CatalogConflictErrorResponse']: + """ + Catalog items that have conflicting names. + """ + return pulumi.get(self, "conflicts") + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogSyncErrorResponse']: + """ + Errors that occured during synchronization. + """ + return pulumi.get(self, "errors") + + @property + @pulumi.getter(name="operationError") + def operation_error(self) -> 'outputs.CatalogErrorDetailsResponse': + """ + Error information for the overall synchronization operation. + """ + return pulumi.get(self, "operation_error") + + +class AwaitableGetCatalogSyncErrorDetailsResult(GetCatalogSyncErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCatalogSyncErrorDetailsResult( + conflicts=self.conflicts, + errors=self.errors, + operation_error=self.operation_error) + + +def get_catalog_sync_error_details(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogSyncErrorDetailsResult: + """ + Gets catalog synchronization error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter:getCatalogSyncErrorDetails', __args__, opts=opts, typ=GetCatalogSyncErrorDetailsResult).value + + return AwaitableGetCatalogSyncErrorDetailsResult( + conflicts=pulumi.get(__ret__, 'conflicts'), + errors=pulumi.get(__ret__, 'errors'), + operation_error=pulumi.get(__ret__, 'operation_error')) + + +@_utilities.lift_output_func(get_catalog_sync_error_details) +def get_catalog_sync_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogSyncErrorDetailsResult]: + """ + Gets catalog synchronization error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/get_customization_task_error_details.py b/sdk/python/pulumi_azure_native/devcenter/get_customization_task_error_details.py new file mode 100644 index 000000000000..4fd8de80b974 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/get_customization_task_error_details.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetCustomizationTaskErrorDetailsResult', + 'AwaitableGetCustomizationTaskErrorDetailsResult', + 'get_customization_task_error_details', + 'get_customization_task_error_details_output', +] + +@pulumi.output_type +class GetCustomizationTaskErrorDetailsResult: + """ + List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + """ + def __init__(__self__, errors=None): + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with resources synchronized from the catalog. + """ + return pulumi.get(self, "errors") + + +class AwaitableGetCustomizationTaskErrorDetailsResult(GetCustomizationTaskErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCustomizationTaskErrorDetailsResult( + errors=self.errors) + + +def get_customization_task_error_details(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + task_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomizationTaskErrorDetailsResult: + """ + Gets Customization Task error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str task_name: The name of the Task. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + __args__['taskName'] = task_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter:getCustomizationTaskErrorDetails', __args__, opts=opts, typ=GetCustomizationTaskErrorDetailsResult).value + + return AwaitableGetCustomizationTaskErrorDetailsResult( + errors=pulumi.get(__ret__, 'errors')) + + +@_utilities.lift_output_func(get_customization_task_error_details) +def get_customization_task_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + task_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomizationTaskErrorDetailsResult]: + """ + Gets Customization Task error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str task_name: The name of the Task. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/get_environment_definition_error_details.py b/sdk/python/pulumi_azure_native/devcenter/get_environment_definition_error_details.py new file mode 100644 index 000000000000..8af929161b07 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/get_environment_definition_error_details.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetEnvironmentDefinitionErrorDetailsResult', + 'AwaitableGetEnvironmentDefinitionErrorDetailsResult', + 'get_environment_definition_error_details', + 'get_environment_definition_error_details_output', +] + +@pulumi.output_type +class GetEnvironmentDefinitionErrorDetailsResult: + """ + List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + """ + def __init__(__self__, errors=None): + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with resources synchronized from the catalog. + """ + return pulumi.get(self, "errors") + + +class AwaitableGetEnvironmentDefinitionErrorDetailsResult(GetEnvironmentDefinitionErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEnvironmentDefinitionErrorDetailsResult( + errors=self.errors) + + +def get_environment_definition_error_details(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + environment_definition_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentDefinitionErrorDetailsResult: + """ + Gets Environment Definition error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str environment_definition_name: The name of the Environment Definition. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['environmentDefinitionName'] = environment_definition_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter:getEnvironmentDefinitionErrorDetails', __args__, opts=opts, typ=GetEnvironmentDefinitionErrorDetailsResult).value + + return AwaitableGetEnvironmentDefinitionErrorDetailsResult( + errors=pulumi.get(__ret__, 'errors')) + + +@_utilities.lift_output_func(get_environment_definition_error_details) +def get_environment_definition_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + environment_definition_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentDefinitionErrorDetailsResult]: + """ + Gets Environment Definition error details + Azure REST API version: 2023-08-01-preview. + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str environment_definition_name: The name of the Environment Definition. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/network_connection.py b/sdk/python/pulumi_azure_native/devcenter/network_connection.py index 06a65657241c..f541201b53d0 100644 --- a/sdk/python/pulumi_azure_native/devcenter/network_connection.py +++ b/sdk/python/pulumi_azure_native/devcenter/network_connection.py @@ -296,7 +296,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230401:NetworkConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230401:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:NetworkConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkConnection, __self__).__init__( 'azure-native:devcenter:NetworkConnection', diff --git a/sdk/python/pulumi_azure_native/devcenter/outputs.py b/sdk/python/pulumi_azure_native/devcenter/outputs.py index dba69bb89ee7..fbb8ea6e7744 100644 --- a/sdk/python/pulumi_azure_native/devcenter/outputs.py +++ b/sdk/python/pulumi_azure_native/devcenter/outputs.py @@ -12,6 +12,9 @@ from ._enums import * __all__ = [ + 'CatalogConflictErrorResponse', + 'CatalogErrorDetailsResponse', + 'CatalogSyncErrorResponse', 'EnvironmentRoleResponse', 'GitCatalogResponse', 'HealthStatusDetailResponse', @@ -26,6 +29,107 @@ 'UserRoleAssignmentResponse', ] +@pulumi.output_type +class CatalogConflictErrorResponse(dict): + """ + An individual conflict error. + """ + def __init__(__self__, *, + name: str, + path: str): + """ + An individual conflict error. + :param str name: Name of the conflicting catalog item. + :param str path: The path of the file that has a conflicting name. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the conflicting catalog item. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def path(self) -> str: + """ + The path of the file that has a conflicting name. + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class CatalogErrorDetailsResponse(dict): + """ + Catalog error details + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + Catalog error details + :param str code: An identifier for the error. + :param str message: A message describing the error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + An identifier for the error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + A message describing the error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class CatalogSyncErrorResponse(dict): + """ + An individual synchronization error. + """ + def __init__(__self__, *, + error_details: Sequence['outputs.CatalogErrorDetailsResponse'], + path: str): + """ + An individual synchronization error. + :param Sequence['CatalogErrorDetailsResponse'] error_details: Errors associated with the file. + :param str path: The path of the file the error is associated with. + """ + pulumi.set(__self__, "error_details", error_details) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="errorDetails") + def error_details(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with the file. + """ + return pulumi.get(self, "error_details") + + @property + @pulumi.getter + def path(self) -> str: + """ + The path of the file the error is associated with. + """ + return pulumi.get(self, "path") + + @pulumi.output_type class EnvironmentRoleResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/devcenter/pool.py b/sdk/python/pulumi_azure_native/devcenter/pool.py index fbac86cf77e7..4769678615a1 100644 --- a/sdk/python/pulumi_azure_native/devcenter/pool.py +++ b/sdk/python/pulumi_azure_native/devcenter/pool.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Pool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Pool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Pool, __self__).__init__( 'azure-native:devcenter:Pool', diff --git a/sdk/python/pulumi_azure_native/devcenter/project.py b/sdk/python/pulumi_azure_native/devcenter/project.py index b1737e1316fa..7ecfc11f3e0c 100644 --- a/sdk/python/pulumi_azure_native/devcenter/project.py +++ b/sdk/python/pulumi_azure_native/devcenter/project.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Project")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Project")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Project, __self__).__init__( 'azure-native:devcenter:Project', diff --git a/sdk/python/pulumi_azure_native/devcenter/project_environment_type.py b/sdk/python/pulumi_azure_native/devcenter/project_environment_type.py index 0f93b978844e..eafbe0d8f842 100644 --- a/sdk/python/pulumi_azure_native/devcenter/project_environment_type.py +++ b/sdk/python/pulumi_azure_native/devcenter/project_environment_type.py @@ -275,7 +275,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230401:ProjectEnvironmentType")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230401:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:ProjectEnvironmentType")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ProjectEnvironmentType, __self__).__init__( 'azure-native:devcenter:ProjectEnvironmentType', diff --git a/sdk/python/pulumi_azure_native/devcenter/schedule.py b/sdk/python/pulumi_azure_native/devcenter/schedule.py index 17e4c5c16471..88a086cc6b2e 100644 --- a/sdk/python/pulumi_azure_native/devcenter/schedule.py +++ b/sdk/python/pulumi_azure_native/devcenter/schedule.py @@ -278,7 +278,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Schedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Schedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Schedule, __self__).__init__( 'azure-native:devcenter:Schedule', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20221111preview/dev_box_definition.py b/sdk/python/pulumi_azure_native/devcenter/v20221111preview/dev_box_definition.py index 61f39299db5b..393778e0286c 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20221111preview/dev_box_definition.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20221111preview/dev_box_definition.py @@ -259,7 +259,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevBoxDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:DevBoxDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DevBoxDefinition, __self__).__init__( 'azure-native:devcenter/v20221111preview:DevBoxDefinition', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/attached_network_by_dev_center.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/attached_network_by_dev_center.py index f0deb34d6862..afc35bfaac9b 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/attached_network_by_dev_center.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/attached_network_by_dev_center.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AttachedNetworkByDevCenter, __self__).__init__( 'azure-native:devcenter/v20230401:AttachedNetworkByDevCenter', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/catalog.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/catalog.py index 2560ebb11db1..599e427d44c0 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/catalog.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/catalog.py @@ -174,7 +174,7 @@ def _internal_init(__self__, __props__.__dict__["sync_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Catalog")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Catalog")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Catalog, __self__).__init__( 'azure-native:devcenter/v20230401:Catalog', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_box_definition.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_box_definition.py index 2f3376c5270e..7f754f422401 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_box_definition.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_box_definition.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:DevBoxDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DevBoxDefinition, __self__).__init__( 'azure-native:devcenter/v20230401:DevBoxDefinition', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_center.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_center.py index 20db33c95523..932df2ca1d14 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_center.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/dev_center.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:DevCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DevCenter, __self__).__init__( 'azure-native:devcenter/v20230401:DevCenter', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/environment_type.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/environment_type.py index ccad07914ed6..619cbb1104b0 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/environment_type.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/environment_type.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:EnvironmentType")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:EnvironmentType")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EnvironmentType, __self__).__init__( 'azure-native:devcenter/v20230401:EnvironmentType', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/gallery.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/gallery.py index b9c2b30d7abe..38e10f7f23cd 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/gallery.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/gallery.py @@ -152,7 +152,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Gallery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Gallery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Gallery, __self__).__init__( 'azure-native:devcenter/v20230401:Gallery', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/network_connection.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/network_connection.py index 7aa17d738e7e..ec769a0b8bb5 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/network_connection.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/network_connection.py @@ -294,7 +294,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:NetworkConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:NetworkConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkConnection, __self__).__init__( 'azure-native:devcenter/v20230401:NetworkConnection', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/pool.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/pool.py index 62bf676212a0..91e25c98d0c3 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/pool.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/pool.py @@ -279,7 +279,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Pool")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Pool")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Pool, __self__).__init__( 'azure-native:devcenter/v20230401:Pool', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/project.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/project.py index 04cc0d499736..6aa58fcf0dea 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/project.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/project.py @@ -211,7 +211,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Project")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Project")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Project, __self__).__init__( 'azure-native:devcenter/v20230401:Project', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/project_environment_type.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/project_environment_type.py index 6171da8f2bf9..fa3ad9cbbcb4 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/project_environment_type.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/project_environment_type.py @@ -273,7 +273,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:ProjectEnvironmentType")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:ProjectEnvironmentType")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ProjectEnvironmentType, __self__).__init__( 'azure-native:devcenter/v20230401:ProjectEnvironmentType', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230401/schedule.py b/sdk/python/pulumi_azure_native/devcenter/v20230401/schedule.py index c216bd0cb45c..15d44107fef3 100644 --- a/sdk/python/pulumi_azure_native/devcenter/v20230401/schedule.py +++ b/sdk/python/pulumi_azure_native/devcenter/v20230401/schedule.py @@ -276,7 +276,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Schedule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230801preview:Schedule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Schedule, __self__).__init__( 'azure-native:devcenter/v20230401:Schedule', diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/__init__.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/__init__.py new file mode 100644 index 000000000000..6a981311002d --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/__init__.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .attached_network_by_dev_center import * +from .catalog import * +from .dev_box_definition import * +from .dev_center import * +from .environment_type import * +from .gallery import * +from .get_attached_network_by_dev_center import * +from .get_catalog import * +from .get_catalog_dev_box_definition_error_details import * +from .get_catalog_sync_error_details import * +from .get_customization_task_error_details import * +from .get_dev_box_definition import * +from .get_dev_center import * +from .get_environment_definition_error_details import * +from .get_environment_type import * +from .get_gallery import * +from .get_network_connection import * +from .get_pool import * +from .get_project import * +from .get_project_environment_type import * +from .get_schedule import * +from .network_connection import * +from .pool import * +from .project import * +from .project_environment_type import * +from .schedule import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/_enums.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/_enums.py new file mode 100644 index 000000000000..f99937e584a8 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/_enums.py @@ -0,0 +1,127 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'DomainJoinType', + 'EnvironmentTypeEnableStatus', + 'HibernateSupport', + 'IdentityType', + 'LicenseType', + 'LocalAdminStatus', + 'ManagedServiceIdentityType', + 'ScheduleEnableStatus', + 'ScheduledFrequency', + 'ScheduledType', + 'SingleSignOnStatus', + 'SkuTier', + 'StopOnDisconnectEnableStatus', +] + + +class DomainJoinType(str, Enum): + """ + AAD Join type. + """ + HYBRID_AZURE_AD_JOIN = "HybridAzureADJoin" + AZURE_AD_JOIN = "AzureADJoin" + + +class EnvironmentTypeEnableStatus(str, Enum): + """ + Defines whether this Environment Type can be used in this Project. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class HibernateSupport(str, Enum): + """ + Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class IdentityType(str, Enum): + """ + Values can be systemAssignedIdentity or userAssignedIdentity + """ + SYSTEM_ASSIGNED_IDENTITY = "systemAssignedIdentity" + USER_ASSIGNED_IDENTITY = "userAssignedIdentity" + DELEGATED_RESOURCE_IDENTITY = "delegatedResourceIdentity" + + +class LicenseType(str, Enum): + """ + Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + """ + WINDOWS_CLIENT = "Windows_Client" + + +class LocalAdminStatus(str, Enum): + """ + Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class ManagedServiceIdentityType(str, Enum): + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + + +class ScheduleEnableStatus(str, Enum): + """ + Indicates whether or not this scheduled task is enabled. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class ScheduledFrequency(str, Enum): + """ + The frequency of this scheduled task. + """ + DAILY = "Daily" + + +class ScheduledType(str, Enum): + """ + Supported type this scheduled task represents. + """ + STOP_DEV_BOX = "StopDevBox" + + +class SingleSignOnStatus(str, Enum): + """ + Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + """ + DISABLED = "Disabled" + ENABLED = "Enabled" + + +class SkuTier(str, Enum): + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" + + +class StopOnDisconnectEnableStatus(str, Enum): + """ + Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/_inputs.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/_inputs.py new file mode 100644 index 000000000000..71ad580bf4d0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/_inputs.py @@ -0,0 +1,454 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs', + 'CustomerManagedKeyEncryptionArgs', + 'EncryptionArgs', + 'GitCatalogArgs', + 'ImageReferenceArgs', + 'ManagedServiceIdentityArgs', + 'ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs', + 'SkuArgs', + 'StopOnDisconnectConfigurationArgs', + 'UserRoleAssignmentArgs', +] + +@pulumi.input_type +class CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs: + def __init__(__self__, *, + delegated_identity_client_id: Optional[pulumi.Input[str]] = None, + identity_type: Optional[pulumi.Input[Union[str, 'IdentityType']]] = None, + user_assigned_identity_resource_id: Optional[pulumi.Input[str]] = None): + """ + All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + :param pulumi.Input[str] delegated_identity_client_id: delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + :param pulumi.Input[Union[str, 'IdentityType']] identity_type: Values can be systemAssignedIdentity or userAssignedIdentity + :param pulumi.Input[str] user_assigned_identity_resource_id: user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + """ + if delegated_identity_client_id is not None: + pulumi.set(__self__, "delegated_identity_client_id", delegated_identity_client_id) + if identity_type is not None: + pulumi.set(__self__, "identity_type", identity_type) + if user_assigned_identity_resource_id is not None: + pulumi.set(__self__, "user_assigned_identity_resource_id", user_assigned_identity_resource_id) + + @property + @pulumi.getter(name="delegatedIdentityClientId") + def delegated_identity_client_id(self) -> Optional[pulumi.Input[str]]: + """ + delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + """ + return pulumi.get(self, "delegated_identity_client_id") + + @delegated_identity_client_id.setter + def delegated_identity_client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delegated_identity_client_id", value) + + @property + @pulumi.getter(name="identityType") + def identity_type(self) -> Optional[pulumi.Input[Union[str, 'IdentityType']]]: + """ + Values can be systemAssignedIdentity or userAssignedIdentity + """ + return pulumi.get(self, "identity_type") + + @identity_type.setter + def identity_type(self, value: Optional[pulumi.Input[Union[str, 'IdentityType']]]): + pulumi.set(self, "identity_type", value) + + @property + @pulumi.getter(name="userAssignedIdentityResourceId") + def user_assigned_identity_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + """ + return pulumi.get(self, "user_assigned_identity_resource_id") + + @user_assigned_identity_resource_id.setter + def user_assigned_identity_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_assigned_identity_resource_id", value) + + +@pulumi.input_type +class CustomerManagedKeyEncryptionArgs: + def __init__(__self__, *, + key_encryption_key_identity: Optional[pulumi.Input['CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs']] = None, + key_encryption_key_url: Optional[pulumi.Input[str]] = None): + """ + All Customer-managed key encryption properties for the resource. + :param pulumi.Input['CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs'] key_encryption_key_identity: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + :param pulumi.Input[str] key_encryption_key_url: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + """ + if key_encryption_key_identity is not None: + pulumi.set(__self__, "key_encryption_key_identity", key_encryption_key_identity) + if key_encryption_key_url is not None: + pulumi.set(__self__, "key_encryption_key_url", key_encryption_key_url) + + @property + @pulumi.getter(name="keyEncryptionKeyIdentity") + def key_encryption_key_identity(self) -> Optional[pulumi.Input['CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs']]: + """ + All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + """ + return pulumi.get(self, "key_encryption_key_identity") + + @key_encryption_key_identity.setter + def key_encryption_key_identity(self, value: Optional[pulumi.Input['CustomerManagedKeyEncryptionKeyEncryptionKeyIdentityArgs']]): + pulumi.set(self, "key_encryption_key_identity", value) + + @property + @pulumi.getter(name="keyEncryptionKeyUrl") + def key_encryption_key_url(self) -> Optional[pulumi.Input[str]]: + """ + key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + """ + return pulumi.get(self, "key_encryption_key_url") + + @key_encryption_key_url.setter + def key_encryption_key_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_encryption_key_url", value) + + +@pulumi.input_type +class EncryptionArgs: + def __init__(__self__, *, + customer_managed_key_encryption: Optional[pulumi.Input['CustomerManagedKeyEncryptionArgs']] = None): + """ + :param pulumi.Input['CustomerManagedKeyEncryptionArgs'] customer_managed_key_encryption: All Customer-managed key encryption properties for the resource. + """ + if customer_managed_key_encryption is not None: + pulumi.set(__self__, "customer_managed_key_encryption", customer_managed_key_encryption) + + @property + @pulumi.getter(name="customerManagedKeyEncryption") + def customer_managed_key_encryption(self) -> Optional[pulumi.Input['CustomerManagedKeyEncryptionArgs']]: + """ + All Customer-managed key encryption properties for the resource. + """ + return pulumi.get(self, "customer_managed_key_encryption") + + @customer_managed_key_encryption.setter + def customer_managed_key_encryption(self, value: Optional[pulumi.Input['CustomerManagedKeyEncryptionArgs']]): + pulumi.set(self, "customer_managed_key_encryption", value) + + +@pulumi.input_type +class GitCatalogArgs: + def __init__(__self__, *, + branch: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + secret_identifier: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None): + """ + Properties for a Git repository catalog. + :param pulumi.Input[str] branch: Git branch. + :param pulumi.Input[str] path: The folder where the catalog items can be found inside the repository. + :param pulumi.Input[str] secret_identifier: A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + :param pulumi.Input[str] uri: Git URI. + """ + if branch is not None: + pulumi.set(__self__, "branch", branch) + if path is not None: + pulumi.set(__self__, "path", path) + if secret_identifier is not None: + pulumi.set(__self__, "secret_identifier", secret_identifier) + if uri is not None: + pulumi.set(__self__, "uri", uri) + + @property + @pulumi.getter + def branch(self) -> Optional[pulumi.Input[str]]: + """ + Git branch. + """ + return pulumi.get(self, "branch") + + @branch.setter + def branch(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "branch", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The folder where the catalog items can be found inside the repository. + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + @property + @pulumi.getter(name="secretIdentifier") + def secret_identifier(self) -> Optional[pulumi.Input[str]]: + """ + A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + """ + return pulumi.get(self, "secret_identifier") + + @secret_identifier.setter + def secret_identifier(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_identifier", value) + + @property + @pulumi.getter + def uri(self) -> Optional[pulumi.Input[str]]: + """ + Git URI. + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uri", value) + + +@pulumi.input_type +class ImageReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Image reference information + :param pulumi.Input[str] id: Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class ManagedServiceIdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ManagedServiceIdentityType']]: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ManagedServiceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs: + def __init__(__self__, *, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The role definition assigned to the environment creator on backing resources. + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: A map of roles to assign to the environment creator. + """ + if roles is not None: + pulumi.set(__self__, "roles", roles) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A map of roles to assign to the environment creator. + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "roles", value) + + +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + capacity: Optional[pulumi.Input[int]] = None, + family: Optional[pulumi.Input[str]] = None, + size: Optional[pulumi.Input[str]] = None, + tier: Optional[pulumi.Input['SkuTier']] = None): + """ + The resource model definition representing SKU + :param pulumi.Input[str] name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param pulumi.Input[int] capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param pulumi.Input[str] family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param pulumi.Input[str] size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param pulumi.Input['SkuTier'] tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[int]]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def family(self) -> Optional[pulumi.Input[str]]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @family.setter + def family(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "family", value) + + @property + @pulumi.getter + def size(self) -> Optional[pulumi.Input[str]]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @size.setter + def size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "size", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input['SkuTier']]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input['SkuTier']]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class StopOnDisconnectConfigurationArgs: + def __init__(__self__, *, + grace_period_minutes: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[Union[str, 'StopOnDisconnectEnableStatus']]] = None): + """ + Stop on disconnect configuration settings for Dev Boxes created in this pool. + :param pulumi.Input[int] grace_period_minutes: The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + :param pulumi.Input[Union[str, 'StopOnDisconnectEnableStatus']] status: Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + """ + if grace_period_minutes is not None: + pulumi.set(__self__, "grace_period_minutes", grace_period_minutes) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="gracePeriodMinutes") + def grace_period_minutes(self) -> Optional[pulumi.Input[int]]: + """ + The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + """ + return pulumi.get(self, "grace_period_minutes") + + @grace_period_minutes.setter + def grace_period_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "grace_period_minutes", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'StopOnDisconnectEnableStatus']]]: + """ + Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'StopOnDisconnectEnableStatus']]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class UserRoleAssignmentArgs: + def __init__(__self__, *, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Mapping of user object ID to role assignments. + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: A map of roles to assign to the parent user. + """ + if roles is not None: + pulumi.set(__self__, "roles", roles) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A map of roles to assign to the parent user. + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "roles", value) + + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/attached_network_by_dev_center.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/attached_network_by_dev_center.py new file mode 100644 index 000000000000..db2005f758ad --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/attached_network_by_dev_center.py @@ -0,0 +1,255 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['AttachedNetworkByDevCenterArgs', 'AttachedNetworkByDevCenter'] + +@pulumi.input_type +class AttachedNetworkByDevCenterArgs: + def __init__(__self__, *, + dev_center_name: pulumi.Input[str], + network_connection_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + attached_network_connection_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AttachedNetworkByDevCenter resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] network_connection_id: The resource ID of the NetworkConnection you want to attach. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] attached_network_connection_name: The name of the attached NetworkConnection. + """ + pulumi.set(__self__, "dev_center_name", dev_center_name) + pulumi.set(__self__, "network_connection_id", network_connection_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if attached_network_connection_name is not None: + pulumi.set(__self__, "attached_network_connection_name", attached_network_connection_name) + + @property + @pulumi.getter(name="devCenterName") + def dev_center_name(self) -> pulumi.Input[str]: + """ + The name of the devcenter. + """ + return pulumi.get(self, "dev_center_name") + + @dev_center_name.setter + def dev_center_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dev_center_name", value) + + @property + @pulumi.getter(name="networkConnectionId") + def network_connection_id(self) -> pulumi.Input[str]: + """ + The resource ID of the NetworkConnection you want to attach. + """ + return pulumi.get(self, "network_connection_id") + + @network_connection_id.setter + def network_connection_id(self, value: pulumi.Input[str]): + pulumi.set(self, "network_connection_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="attachedNetworkConnectionName") + def attached_network_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the attached NetworkConnection. + """ + return pulumi.get(self, "attached_network_connection_name") + + @attached_network_connection_name.setter + def attached_network_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "attached_network_connection_name", value) + + +class AttachedNetworkByDevCenter(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + attached_network_connection_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + network_connection_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents an attached NetworkConnection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] attached_network_connection_name: The name of the attached NetworkConnection. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] network_connection_id: The resource ID of the NetworkConnection you want to attach. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AttachedNetworkByDevCenterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents an attached NetworkConnection. + + :param str resource_name: The name of the resource. + :param AttachedNetworkByDevCenterArgs 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(AttachedNetworkByDevCenterArgs, 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, + attached_network_connection_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + network_connection_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AttachedNetworkByDevCenterArgs.__new__(AttachedNetworkByDevCenterArgs) + + __props__.__dict__["attached_network_connection_name"] = attached_network_connection_name + if dev_center_name is None and not opts.urn: + raise TypeError("Missing required property 'dev_center_name'") + __props__.__dict__["dev_center_name"] = dev_center_name + if network_connection_id is None and not opts.urn: + raise TypeError("Missing required property 'network_connection_id'") + __props__.__dict__["network_connection_id"] = network_connection_id + 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__["domain_join_type"] = None + __props__.__dict__["health_check_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_connection_location"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:AttachedNetworkByDevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230401:AttachedNetworkByDevCenter")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AttachedNetworkByDevCenter, __self__).__init__( + 'azure-native:devcenter/v20230801preview:AttachedNetworkByDevCenter', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AttachedNetworkByDevCenter': + """ + Get an existing AttachedNetworkByDevCenter 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AttachedNetworkByDevCenterArgs.__new__(AttachedNetworkByDevCenterArgs) + + __props__.__dict__["domain_join_type"] = None + __props__.__dict__["health_check_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_connection_id"] = None + __props__.__dict__["network_connection_location"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return AttachedNetworkByDevCenter(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="domainJoinType") + def domain_join_type(self) -> pulumi.Output[str]: + """ + AAD Join type of the network. This is populated based on the referenced Network Connection. + """ + return pulumi.get(self, "domain_join_type") + + @property + @pulumi.getter(name="healthCheckStatus") + def health_check_status(self) -> pulumi.Output[str]: + """ + Health check status values + """ + return pulumi.get(self, "health_check_status") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkConnectionId") + def network_connection_id(self) -> pulumi.Output[str]: + """ + The resource ID of the NetworkConnection you want to attach. + """ + return pulumi.get(self, "network_connection_id") + + @property + @pulumi.getter(name="networkConnectionLocation") + def network_connection_location(self) -> pulumi.Output[str]: + """ + The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. + """ + return pulumi.get(self, "network_connection_location") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/catalog.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/catalog.py new file mode 100644 index 000000000000..c31deac7cbb8 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/catalog.py @@ -0,0 +1,304 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CatalogArgs', 'Catalog'] + +@pulumi.input_type +class CatalogArgs: + def __init__(__self__, *, + dev_center_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + ado_git: Optional[pulumi.Input['GitCatalogArgs']] = None, + catalog_name: Optional[pulumi.Input[str]] = None, + git_hub: Optional[pulumi.Input['GitCatalogArgs']] = None): + """ + The set of arguments for constructing a Catalog resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['GitCatalogArgs'] ado_git: Properties for an Azure DevOps catalog type. + :param pulumi.Input[str] catalog_name: The name of the Catalog. + :param pulumi.Input['GitCatalogArgs'] git_hub: Properties for a GitHub catalog type. + """ + pulumi.set(__self__, "dev_center_name", dev_center_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if ado_git is not None: + pulumi.set(__self__, "ado_git", ado_git) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if git_hub is not None: + pulumi.set(__self__, "git_hub", git_hub) + + @property + @pulumi.getter(name="devCenterName") + def dev_center_name(self) -> pulumi.Input[str]: + """ + The name of the devcenter. + """ + return pulumi.get(self, "dev_center_name") + + @dev_center_name.setter + def dev_center_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dev_center_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="adoGit") + def ado_git(self) -> Optional[pulumi.Input['GitCatalogArgs']]: + """ + Properties for an Azure DevOps catalog type. + """ + return pulumi.get(self, "ado_git") + + @ado_git.setter + def ado_git(self, value: Optional[pulumi.Input['GitCatalogArgs']]): + pulumi.set(self, "ado_git", value) + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Catalog. + """ + return pulumi.get(self, "catalog_name") + + @catalog_name.setter + def catalog_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog_name", value) + + @property + @pulumi.getter(name="gitHub") + def git_hub(self) -> Optional[pulumi.Input['GitCatalogArgs']]: + """ + Properties for a GitHub catalog type. + """ + return pulumi.get(self, "git_hub") + + @git_hub.setter + def git_hub(self, value: Optional[pulumi.Input['GitCatalogArgs']]): + pulumi.set(self, "git_hub", value) + + +class Catalog(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + ado_git: Optional[pulumi.Input[pulumi.InputType['GitCatalogArgs']]] = None, + catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + git_hub: Optional[pulumi.Input[pulumi.InputType['GitCatalogArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a catalog. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['GitCatalogArgs']] ado_git: Properties for an Azure DevOps catalog type. + :param pulumi.Input[str] catalog_name: The name of the Catalog. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[pulumi.InputType['GitCatalogArgs']] git_hub: Properties for a GitHub catalog type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CatalogArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a catalog. + + :param str resource_name: The name of the resource. + :param CatalogArgs 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(CatalogArgs, 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, + ado_git: Optional[pulumi.Input[pulumi.InputType['GitCatalogArgs']]] = None, + catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + git_hub: Optional[pulumi.Input[pulumi.InputType['GitCatalogArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CatalogArgs.__new__(CatalogArgs) + + __props__.__dict__["ado_git"] = ado_git + __props__.__dict__["catalog_name"] = catalog_name + if dev_center_name is None and not opts.urn: + raise TypeError("Missing required property 'dev_center_name'") + __props__.__dict__["dev_center_name"] = dev_center_name + __props__.__dict__["git_hub"] = git_hub + 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__["connection_state"] = None + __props__.__dict__["last_connection_time"] = None + __props__.__dict__["last_sync_stats"] = None + __props__.__dict__["last_sync_time"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["sync_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Catalog"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Catalog")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Catalog, __self__).__init__( + 'azure-native:devcenter/v20230801preview:Catalog', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Catalog': + """ + Get an existing Catalog 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CatalogArgs.__new__(CatalogArgs) + + __props__.__dict__["ado_git"] = None + __props__.__dict__["connection_state"] = None + __props__.__dict__["git_hub"] = None + __props__.__dict__["last_connection_time"] = None + __props__.__dict__["last_sync_stats"] = None + __props__.__dict__["last_sync_time"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["sync_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Catalog(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="adoGit") + def ado_git(self) -> pulumi.Output[Optional['outputs.GitCatalogResponse']]: + """ + Properties for an Azure DevOps catalog type. + """ + return pulumi.get(self, "ado_git") + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> pulumi.Output[str]: + """ + The connection state of the catalog. + """ + return pulumi.get(self, "connection_state") + + @property + @pulumi.getter(name="gitHub") + def git_hub(self) -> pulumi.Output[Optional['outputs.GitCatalogResponse']]: + """ + Properties for a GitHub catalog type. + """ + return pulumi.get(self, "git_hub") + + @property + @pulumi.getter(name="lastConnectionTime") + def last_connection_time(self) -> pulumi.Output[str]: + """ + When the catalog was last connected. + """ + return pulumi.get(self, "last_connection_time") + + @property + @pulumi.getter(name="lastSyncStats") + def last_sync_stats(self) -> pulumi.Output['outputs.SyncStatsResponse']: + """ + Stats of the latest synchronization. + """ + return pulumi.get(self, "last_sync_stats") + + @property + @pulumi.getter(name="lastSyncTime") + def last_sync_time(self) -> pulumi.Output[str]: + """ + When the catalog was last synced. + """ + return pulumi.get(self, "last_sync_time") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="syncState") + def sync_state(self) -> pulumi.Output[str]: + """ + The synchronization state of the catalog. + """ + return pulumi.get(self, "sync_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/dev_box_definition.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/dev_box_definition.py new file mode 100644 index 000000000000..82e8eba31491 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/dev_box_definition.py @@ -0,0 +1,413 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['DevBoxDefinitionArgs', 'DevBoxDefinition'] + +@pulumi.input_type +class DevBoxDefinitionArgs: + def __init__(__self__, *, + dev_center_name: pulumi.Input[str], + image_reference: pulumi.Input['ImageReferenceArgs'], + resource_group_name: pulumi.Input[str], + sku: pulumi.Input['SkuArgs'], + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + hibernate_support: Optional[pulumi.Input[Union[str, 'HibernateSupport']]] = None, + location: Optional[pulumi.Input[str]] = None, + os_storage_type: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a DevBoxDefinition resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input['ImageReferenceArgs'] image_reference: Image reference information. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['SkuArgs'] sku: The SKU for Dev Boxes created using this definition. + :param pulumi.Input[str] dev_box_definition_name: The name of the Dev Box definition. + :param pulumi.Input[Union[str, 'HibernateSupport']] hibernate_support: Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] os_storage_type: The storage type used for the Operating System disk of Dev Boxes created using this definition. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "dev_center_name", dev_center_name) + pulumi.set(__self__, "image_reference", image_reference) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "sku", sku) + if dev_box_definition_name is not None: + pulumi.set(__self__, "dev_box_definition_name", dev_box_definition_name) + if hibernate_support is not None: + pulumi.set(__self__, "hibernate_support", hibernate_support) + if location is not None: + pulumi.set(__self__, "location", location) + if os_storage_type is not None: + pulumi.set(__self__, "os_storage_type", os_storage_type) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="devCenterName") + def dev_center_name(self) -> pulumi.Input[str]: + """ + The name of the devcenter. + """ + return pulumi.get(self, "dev_center_name") + + @dev_center_name.setter + def dev_center_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dev_center_name", value) + + @property + @pulumi.getter(name="imageReference") + def image_reference(self) -> pulumi.Input['ImageReferenceArgs']: + """ + Image reference information. + """ + return pulumi.get(self, "image_reference") + + @image_reference.setter + def image_reference(self, value: pulumi.Input['ImageReferenceArgs']): + pulumi.set(self, "image_reference", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input['SkuArgs']: + """ + The SKU for Dev Boxes created using this definition. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input['SkuArgs']): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="devBoxDefinitionName") + def dev_box_definition_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Dev Box definition. + """ + return pulumi.get(self, "dev_box_definition_name") + + @dev_box_definition_name.setter + def dev_box_definition_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dev_box_definition_name", value) + + @property + @pulumi.getter(name="hibernateSupport") + def hibernate_support(self) -> Optional[pulumi.Input[Union[str, 'HibernateSupport']]]: + """ + Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + """ + return pulumi.get(self, "hibernate_support") + + @hibernate_support.setter + def hibernate_support(self, value: Optional[pulumi.Input[Union[str, 'HibernateSupport']]]): + pulumi.set(self, "hibernate_support", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="osStorageType") + def os_storage_type(self) -> Optional[pulumi.Input[str]]: + """ + The storage type used for the Operating System disk of Dev Boxes created using this definition. + """ + return pulumi.get(self, "os_storage_type") + + @os_storage_type.setter + def os_storage_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "os_storage_type", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 DevBoxDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + hibernate_support: Optional[pulumi.Input[Union[str, 'HibernateSupport']]] = None, + image_reference: Optional[pulumi.Input[pulumi.InputType['ImageReferenceArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + os_storage_type: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Represents a definition for a Developer Machine. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] dev_box_definition_name: The name of the Dev Box definition. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[Union[str, 'HibernateSupport']] hibernate_support: Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + :param pulumi.Input[pulumi.InputType['ImageReferenceArgs']] image_reference: Image reference information. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] os_storage_type: The storage type used for the Operating System disk of Dev Boxes created using this definition. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The SKU for Dev Boxes created using this definition. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DevBoxDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a definition for a Developer Machine. + + :param str resource_name: The name of the resource. + :param DevBoxDefinitionArgs 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(DevBoxDefinitionArgs, 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, + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + hibernate_support: Optional[pulumi.Input[Union[str, 'HibernateSupport']]] = None, + image_reference: Optional[pulumi.Input[pulumi.InputType['ImageReferenceArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + os_storage_type: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DevBoxDefinitionArgs.__new__(DevBoxDefinitionArgs) + + __props__.__dict__["dev_box_definition_name"] = dev_box_definition_name + if dev_center_name is None and not opts.urn: + raise TypeError("Missing required property 'dev_center_name'") + __props__.__dict__["dev_center_name"] = dev_center_name + __props__.__dict__["hibernate_support"] = hibernate_support + if image_reference is None and not opts.urn: + raise TypeError("Missing required property 'image_reference'") + __props__.__dict__["image_reference"] = image_reference + __props__.__dict__["location"] = location + __props__.__dict__["os_storage_type"] = os_storage_type + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if sku is None and not opts.urn: + raise TypeError("Missing required property 'sku'") + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["active_image_reference"] = None + __props__.__dict__["image_validation_error_details"] = None + __props__.__dict__["image_validation_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_status"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevBoxDefinition"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevBoxDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(DevBoxDefinition, __self__).__init__( + 'azure-native:devcenter/v20230801preview:DevBoxDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'DevBoxDefinition': + """ + Get an existing DevBoxDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DevBoxDefinitionArgs.__new__(DevBoxDefinitionArgs) + + __props__.__dict__["active_image_reference"] = None + __props__.__dict__["hibernate_support"] = None + __props__.__dict__["image_reference"] = None + __props__.__dict__["image_validation_error_details"] = None + __props__.__dict__["image_validation_status"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["os_storage_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["validation_status"] = None + return DevBoxDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="activeImageReference") + def active_image_reference(self) -> pulumi.Output['outputs.ImageReferenceResponse']: + """ + Image reference information for the currently active image (only populated during updates). + """ + return pulumi.get(self, "active_image_reference") + + @property + @pulumi.getter(name="hibernateSupport") + def hibernate_support(self) -> pulumi.Output[Optional[str]]: + """ + Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + """ + return pulumi.get(self, "hibernate_support") + + @property + @pulumi.getter(name="imageReference") + def image_reference(self) -> pulumi.Output['outputs.ImageReferenceResponse']: + """ + Image reference information. + """ + return pulumi.get(self, "image_reference") + + @property + @pulumi.getter(name="imageValidationErrorDetails") + def image_validation_error_details(self) -> pulumi.Output['outputs.ImageValidationErrorDetailsResponse']: + """ + Details for image validator error. Populated when the image validation is not successful. + """ + return pulumi.get(self, "image_validation_error_details") + + @property + @pulumi.getter(name="imageValidationStatus") + def image_validation_status(self) -> pulumi.Output[str]: + """ + Validation status of the configured image. + """ + return pulumi.get(self, "image_validation_status") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="osStorageType") + def os_storage_type(self) -> pulumi.Output[Optional[str]]: + """ + The storage type used for the Operating System disk of Dev Boxes created using this definition. + """ + return pulumi.get(self, "os_storage_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.SkuResponse']: + """ + The SKU for Dev Boxes created using this definition. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationStatus") + def validation_status(self) -> pulumi.Output[str]: + """ + Validation status for the Dev Box Definition. + """ + return pulumi.get(self, "validation_status") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/dev_center.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/dev_center.py new file mode 100644 index 000000000000..c286b515f1f6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/dev_center.py @@ -0,0 +1,302 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['DevCenterArgs', 'DevCenter'] + +@pulumi.input_type +class DevCenterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + dev_center_name: Optional[pulumi.Input[str]] = None, + encryption: Optional[pulumi.Input['EncryptionArgs']] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a DevCenter resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input['EncryptionArgs'] encryption: Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Managed identity properties + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if dev_center_name is not None: + pulumi.set(__self__, "dev_center_name", dev_center_name) + if encryption is not None: + pulumi.set(__self__, "encryption", encryption) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="devCenterName") + def dev_center_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the devcenter. + """ + return pulumi.get(self, "dev_center_name") + + @dev_center_name.setter + def dev_center_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dev_center_name", value) + + @property + @pulumi.getter + def encryption(self) -> Optional[pulumi.Input['EncryptionArgs']]: + """ + Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + """ + return pulumi.get(self, "encryption") + + @encryption.setter + def encryption(self, value: Optional[pulumi.Input['EncryptionArgs']]): + pulumi.set(self, "encryption", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Managed identity properties + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 DevCenter(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + encryption: Optional[pulumi.Input[pulumi.InputType['EncryptionArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: 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): + """ + Represents a devcenter resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[pulumi.InputType['EncryptionArgs']] encryption: Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Managed identity properties + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DevCenterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a devcenter resource. + + :param str resource_name: The name of the resource. + :param DevCenterArgs 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(DevCenterArgs, 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, + dev_center_name: Optional[pulumi.Input[str]] = None, + encryption: Optional[pulumi.Input[pulumi.InputType['EncryptionArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: 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): + 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__ = DevCenterArgs.__new__(DevCenterArgs) + + __props__.__dict__["dev_center_name"] = dev_center_name + __props__.__dict__["encryption"] = encryption + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + 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 + __props__.__dict__["dev_center_uri"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:DevCenter"), pulumi.Alias(type_="azure-native:devcenter/v20230401:DevCenter")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(DevCenter, __self__).__init__( + 'azure-native:devcenter/v20230801preview:DevCenter', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'DevCenter': + """ + Get an existing DevCenter 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DevCenterArgs.__new__(DevCenterArgs) + + __props__.__dict__["dev_center_uri"] = None + __props__.__dict__["encryption"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return DevCenter(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="devCenterUri") + def dev_center_uri(self) -> pulumi.Output[str]: + """ + The URI of the Dev Center. + """ + return pulumi.get(self, "dev_center_uri") + + @property + @pulumi.getter + def encryption(self) -> pulumi.Output[Optional['outputs.EncryptionResponse']]: + """ + Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + """ + return pulumi.get(self, "encryption") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Managed identity properties + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/environment_type.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/environment_type.py new file mode 100644 index 000000000000..5534287e2a32 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/environment_type.py @@ -0,0 +1,224 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['EnvironmentTypeArgs', 'EnvironmentType'] + +@pulumi.input_type +class EnvironmentTypeArgs: + def __init__(__self__, *, + dev_center_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + environment_type_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a EnvironmentType resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] environment_type_name: The name of the environment type. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "dev_center_name", dev_center_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if environment_type_name is not None: + pulumi.set(__self__, "environment_type_name", environment_type_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="devCenterName") + def dev_center_name(self) -> pulumi.Input[str]: + """ + The name of the devcenter. + """ + return pulumi.get(self, "dev_center_name") + + @dev_center_name.setter + def dev_center_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dev_center_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="environmentTypeName") + def environment_type_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the environment type. + """ + return pulumi.get(self, "environment_type_name") + + @environment_type_name.setter + def environment_type_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "environment_type_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 EnvironmentType(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + environment_type_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): + """ + Represents an environment type. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] environment_type_name: The name of the environment type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EnvironmentTypeArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents an environment type. + + :param str resource_name: The name of the resource. + :param EnvironmentTypeArgs 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(EnvironmentTypeArgs, 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, + dev_center_name: Optional[pulumi.Input[str]] = None, + environment_type_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): + 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__ = EnvironmentTypeArgs.__new__(EnvironmentTypeArgs) + + if dev_center_name is None and not opts.urn: + raise TypeError("Missing required property 'dev_center_name'") + __props__.__dict__["dev_center_name"] = dev_center_name + __props__.__dict__["environment_type_name"] = environment_type_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:EnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230401:EnvironmentType")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(EnvironmentType, __self__).__init__( + 'azure-native:devcenter/v20230801preview:EnvironmentType', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'EnvironmentType': + """ + Get an existing EnvironmentType 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = EnvironmentTypeArgs.__new__(EnvironmentTypeArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return EnvironmentType(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/gallery.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/gallery.py new file mode 100644 index 000000000000..b37808b9d84d --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/gallery.py @@ -0,0 +1,225 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['GalleryArgs', 'Gallery'] + +@pulumi.input_type +class GalleryArgs: + def __init__(__self__, *, + dev_center_name: pulumi.Input[str], + gallery_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + gallery_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Gallery resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] gallery_resource_id: The resource ID of the backing Azure Compute Gallery. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] gallery_name: The name of the gallery. + """ + pulumi.set(__self__, "dev_center_name", dev_center_name) + pulumi.set(__self__, "gallery_resource_id", gallery_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if gallery_name is not None: + pulumi.set(__self__, "gallery_name", gallery_name) + + @property + @pulumi.getter(name="devCenterName") + def dev_center_name(self) -> pulumi.Input[str]: + """ + The name of the devcenter. + """ + return pulumi.get(self, "dev_center_name") + + @dev_center_name.setter + def dev_center_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dev_center_name", value) + + @property + @pulumi.getter(name="galleryResourceId") + def gallery_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the backing Azure Compute Gallery. + """ + return pulumi.get(self, "gallery_resource_id") + + @gallery_resource_id.setter + def gallery_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "gallery_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="galleryName") + def gallery_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the gallery. + """ + return pulumi.get(self, "gallery_name") + + @gallery_name.setter + def gallery_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gallery_name", value) + + +class Gallery(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + gallery_name: Optional[pulumi.Input[str]] = None, + gallery_resource_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a gallery. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] dev_center_name: The name of the devcenter. + :param pulumi.Input[str] gallery_name: The name of the gallery. + :param pulumi.Input[str] gallery_resource_id: The resource ID of the backing Azure Compute Gallery. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GalleryArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a gallery. + + :param str resource_name: The name of the resource. + :param GalleryArgs 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(GalleryArgs, 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, + dev_center_name: Optional[pulumi.Input[str]] = None, + gallery_name: Optional[pulumi.Input[str]] = None, + gallery_resource_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GalleryArgs.__new__(GalleryArgs) + + if dev_center_name is None and not opts.urn: + raise TypeError("Missing required property 'dev_center_name'") + __props__.__dict__["dev_center_name"] = dev_center_name + __props__.__dict__["gallery_name"] = gallery_name + if gallery_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'gallery_resource_id'") + __props__.__dict__["gallery_resource_id"] = gallery_resource_id + 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__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Gallery"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Gallery")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Gallery, __self__).__init__( + 'azure-native:devcenter/v20230801preview:Gallery', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Gallery': + """ + Get an existing Gallery 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GalleryArgs.__new__(GalleryArgs) + + __props__.__dict__["gallery_resource_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Gallery(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="galleryResourceId") + def gallery_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the backing Azure Compute Gallery. + """ + return pulumi.get(self, "gallery_resource_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_attached_network_by_dev_center.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_attached_network_by_dev_center.py new file mode 100644 index 000000000000..6e308b6372e2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_attached_network_by_dev_center.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAttachedNetworkByDevCenterResult', + 'AwaitableGetAttachedNetworkByDevCenterResult', + 'get_attached_network_by_dev_center', + 'get_attached_network_by_dev_center_output', +] + +@pulumi.output_type +class GetAttachedNetworkByDevCenterResult: + """ + Represents an attached NetworkConnection. + """ + def __init__(__self__, domain_join_type=None, health_check_status=None, id=None, name=None, network_connection_id=None, network_connection_location=None, provisioning_state=None, system_data=None, type=None): + if domain_join_type and not isinstance(domain_join_type, str): + raise TypeError("Expected argument 'domain_join_type' to be a str") + pulumi.set(__self__, "domain_join_type", domain_join_type) + if health_check_status and not isinstance(health_check_status, str): + raise TypeError("Expected argument 'health_check_status' to be a str") + pulumi.set(__self__, "health_check_status", health_check_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_connection_id and not isinstance(network_connection_id, str): + raise TypeError("Expected argument 'network_connection_id' to be a str") + pulumi.set(__self__, "network_connection_id", network_connection_id) + if network_connection_location and not isinstance(network_connection_location, str): + raise TypeError("Expected argument 'network_connection_location' to be a str") + pulumi.set(__self__, "network_connection_location", network_connection_location) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="domainJoinType") + def domain_join_type(self) -> str: + """ + AAD Join type of the network. This is populated based on the referenced Network Connection. + """ + return pulumi.get(self, "domain_join_type") + + @property + @pulumi.getter(name="healthCheckStatus") + def health_check_status(self) -> str: + """ + Health check status values + """ + return pulumi.get(self, "health_check_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkConnectionId") + def network_connection_id(self) -> str: + """ + The resource ID of the NetworkConnection you want to attach. + """ + return pulumi.get(self, "network_connection_id") + + @property + @pulumi.getter(name="networkConnectionLocation") + def network_connection_location(self) -> str: + """ + The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. + """ + return pulumi.get(self, "network_connection_location") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAttachedNetworkByDevCenterResult(GetAttachedNetworkByDevCenterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAttachedNetworkByDevCenterResult( + domain_join_type=self.domain_join_type, + health_check_status=self.health_check_status, + id=self.id, + name=self.name, + network_connection_id=self.network_connection_id, + network_connection_location=self.network_connection_location, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_attached_network_by_dev_center(attached_network_connection_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAttachedNetworkByDevCenterResult: + """ + Gets an attached NetworkConnection. + + + :param str attached_network_connection_name: The name of the attached NetworkConnection. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['attachedNetworkConnectionName'] = attached_network_connection_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getAttachedNetworkByDevCenter', __args__, opts=opts, typ=GetAttachedNetworkByDevCenterResult).value + + return AwaitableGetAttachedNetworkByDevCenterResult( + domain_join_type=pulumi.get(__ret__, 'domain_join_type'), + health_check_status=pulumi.get(__ret__, 'health_check_status'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + network_connection_id=pulumi.get(__ret__, 'network_connection_id'), + network_connection_location=pulumi.get(__ret__, 'network_connection_location'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_attached_network_by_dev_center) +def get_attached_network_by_dev_center_output(attached_network_connection_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAttachedNetworkByDevCenterResult]: + """ + Gets an attached NetworkConnection. + + + :param str attached_network_connection_name: The name of the attached NetworkConnection. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog.py new file mode 100644 index 000000000000..7eb4955e8b70 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog.py @@ -0,0 +1,227 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCatalogResult', + 'AwaitableGetCatalogResult', + 'get_catalog', + 'get_catalog_output', +] + +@pulumi.output_type +class GetCatalogResult: + """ + Represents a catalog. + """ + def __init__(__self__, ado_git=None, connection_state=None, git_hub=None, id=None, last_connection_time=None, last_sync_stats=None, last_sync_time=None, name=None, provisioning_state=None, sync_state=None, system_data=None, type=None): + if ado_git and not isinstance(ado_git, dict): + raise TypeError("Expected argument 'ado_git' to be a dict") + pulumi.set(__self__, "ado_git", ado_git) + if connection_state and not isinstance(connection_state, str): + raise TypeError("Expected argument 'connection_state' to be a str") + pulumi.set(__self__, "connection_state", connection_state) + if git_hub and not isinstance(git_hub, dict): + raise TypeError("Expected argument 'git_hub' to be a dict") + pulumi.set(__self__, "git_hub", git_hub) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_connection_time and not isinstance(last_connection_time, str): + raise TypeError("Expected argument 'last_connection_time' to be a str") + pulumi.set(__self__, "last_connection_time", last_connection_time) + if last_sync_stats and not isinstance(last_sync_stats, dict): + raise TypeError("Expected argument 'last_sync_stats' to be a dict") + pulumi.set(__self__, "last_sync_stats", last_sync_stats) + if last_sync_time and not isinstance(last_sync_time, str): + raise TypeError("Expected argument 'last_sync_time' to be a str") + pulumi.set(__self__, "last_sync_time", last_sync_time) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if sync_state and not isinstance(sync_state, str): + raise TypeError("Expected argument 'sync_state' to be a str") + pulumi.set(__self__, "sync_state", sync_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="adoGit") + def ado_git(self) -> Optional['outputs.GitCatalogResponse']: + """ + Properties for an Azure DevOps catalog type. + """ + return pulumi.get(self, "ado_git") + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> str: + """ + The connection state of the catalog. + """ + return pulumi.get(self, "connection_state") + + @property + @pulumi.getter(name="gitHub") + def git_hub(self) -> Optional['outputs.GitCatalogResponse']: + """ + Properties for a GitHub catalog type. + """ + return pulumi.get(self, "git_hub") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastConnectionTime") + def last_connection_time(self) -> str: + """ + When the catalog was last connected. + """ + return pulumi.get(self, "last_connection_time") + + @property + @pulumi.getter(name="lastSyncStats") + def last_sync_stats(self) -> 'outputs.SyncStatsResponse': + """ + Stats of the latest synchronization. + """ + return pulumi.get(self, "last_sync_stats") + + @property + @pulumi.getter(name="lastSyncTime") + def last_sync_time(self) -> str: + """ + When the catalog was last synced. + """ + return pulumi.get(self, "last_sync_time") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="syncState") + def sync_state(self) -> str: + """ + The synchronization state of the catalog. + """ + return pulumi.get(self, "sync_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetCatalogResult(GetCatalogResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCatalogResult( + ado_git=self.ado_git, + connection_state=self.connection_state, + git_hub=self.git_hub, + id=self.id, + last_connection_time=self.last_connection_time, + last_sync_stats=self.last_sync_stats, + last_sync_time=self.last_sync_time, + name=self.name, + provisioning_state=self.provisioning_state, + sync_state=self.sync_state, + system_data=self.system_data, + type=self.type) + + +def get_catalog(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogResult: + """ + Gets a catalog + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getCatalog', __args__, opts=opts, typ=GetCatalogResult).value + + return AwaitableGetCatalogResult( + ado_git=pulumi.get(__ret__, 'ado_git'), + connection_state=pulumi.get(__ret__, 'connection_state'), + git_hub=pulumi.get(__ret__, 'git_hub'), + id=pulumi.get(__ret__, 'id'), + last_connection_time=pulumi.get(__ret__, 'last_connection_time'), + last_sync_stats=pulumi.get(__ret__, 'last_sync_stats'), + last_sync_time=pulumi.get(__ret__, 'last_sync_time'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + sync_state=pulumi.get(__ret__, 'sync_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_catalog) +def get_catalog_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogResult]: + """ + Gets a catalog + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog_dev_box_definition_error_details.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog_dev_box_definition_error_details.py new file mode 100644 index 000000000000..b4d6020a98dd --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog_dev_box_definition_error_details.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCatalogDevBoxDefinitionErrorDetailsResult', + 'AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult', + 'get_catalog_dev_box_definition_error_details', + 'get_catalog_dev_box_definition_error_details_output', +] + +@pulumi.output_type +class GetCatalogDevBoxDefinitionErrorDetailsResult: + """ + List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + """ + def __init__(__self__, errors=None): + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with resources synchronized from the catalog. + """ + return pulumi.get(self, "errors") + + +class AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult(GetCatalogDevBoxDefinitionErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCatalogDevBoxDefinitionErrorDetailsResult( + errors=self.errors) + + +def get_catalog_dev_box_definition_error_details(catalog_name: Optional[str] = None, + dev_box_definition_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult: + """ + Gets Catalog Devbox Definition error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_box_definition_name: The name of the Dev Box definition. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devBoxDefinitionName'] = dev_box_definition_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getCatalogDevBoxDefinitionErrorDetails', __args__, opts=opts, typ=GetCatalogDevBoxDefinitionErrorDetailsResult).value + + return AwaitableGetCatalogDevBoxDefinitionErrorDetailsResult( + errors=pulumi.get(__ret__, 'errors')) + + +@_utilities.lift_output_func(get_catalog_dev_box_definition_error_details) +def get_catalog_dev_box_definition_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogDevBoxDefinitionErrorDetailsResult]: + """ + Gets Catalog Devbox Definition error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_box_definition_name: The name of the Dev Box definition. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog_sync_error_details.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog_sync_error_details.py new file mode 100644 index 000000000000..8e4d6fa56aa1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_catalog_sync_error_details.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCatalogSyncErrorDetailsResult', + 'AwaitableGetCatalogSyncErrorDetailsResult', + 'get_catalog_sync_error_details', + 'get_catalog_sync_error_details_output', +] + +@pulumi.output_type +class GetCatalogSyncErrorDetailsResult: + """ + Synchronization error details. + """ + def __init__(__self__, conflicts=None, errors=None, operation_error=None): + if conflicts and not isinstance(conflicts, list): + raise TypeError("Expected argument 'conflicts' to be a list") + pulumi.set(__self__, "conflicts", conflicts) + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + if operation_error and not isinstance(operation_error, dict): + raise TypeError("Expected argument 'operation_error' to be a dict") + pulumi.set(__self__, "operation_error", operation_error) + + @property + @pulumi.getter + def conflicts(self) -> Sequence['outputs.CatalogConflictErrorResponse']: + """ + Catalog items that have conflicting names. + """ + return pulumi.get(self, "conflicts") + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogSyncErrorResponse']: + """ + Errors that occured during synchronization. + """ + return pulumi.get(self, "errors") + + @property + @pulumi.getter(name="operationError") + def operation_error(self) -> 'outputs.CatalogErrorDetailsResponse': + """ + Error information for the overall synchronization operation. + """ + return pulumi.get(self, "operation_error") + + +class AwaitableGetCatalogSyncErrorDetailsResult(GetCatalogSyncErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCatalogSyncErrorDetailsResult( + conflicts=self.conflicts, + errors=self.errors, + operation_error=self.operation_error) + + +def get_catalog_sync_error_details(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogSyncErrorDetailsResult: + """ + Gets catalog synchronization error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getCatalogSyncErrorDetails', __args__, opts=opts, typ=GetCatalogSyncErrorDetailsResult).value + + return AwaitableGetCatalogSyncErrorDetailsResult( + conflicts=pulumi.get(__ret__, 'conflicts'), + errors=pulumi.get(__ret__, 'errors'), + operation_error=pulumi.get(__ret__, 'operation_error')) + + +@_utilities.lift_output_func(get_catalog_sync_error_details) +def get_catalog_sync_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogSyncErrorDetailsResult]: + """ + Gets catalog synchronization error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_customization_task_error_details.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_customization_task_error_details.py new file mode 100644 index 000000000000..f713bb1fb2ca --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_customization_task_error_details.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCustomizationTaskErrorDetailsResult', + 'AwaitableGetCustomizationTaskErrorDetailsResult', + 'get_customization_task_error_details', + 'get_customization_task_error_details_output', +] + +@pulumi.output_type +class GetCustomizationTaskErrorDetailsResult: + """ + List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + """ + def __init__(__self__, errors=None): + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with resources synchronized from the catalog. + """ + return pulumi.get(self, "errors") + + +class AwaitableGetCustomizationTaskErrorDetailsResult(GetCustomizationTaskErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCustomizationTaskErrorDetailsResult( + errors=self.errors) + + +def get_customization_task_error_details(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + task_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomizationTaskErrorDetailsResult: + """ + Gets Customization Task error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str task_name: The name of the Task. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + __args__['taskName'] = task_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getCustomizationTaskErrorDetails', __args__, opts=opts, typ=GetCustomizationTaskErrorDetailsResult).value + + return AwaitableGetCustomizationTaskErrorDetailsResult( + errors=pulumi.get(__ret__, 'errors')) + + +@_utilities.lift_output_func(get_customization_task_error_details) +def get_customization_task_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + task_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomizationTaskErrorDetailsResult]: + """ + Gets Customization Task error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str task_name: The name of the Task. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_dev_box_definition.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_dev_box_definition.py new file mode 100644 index 000000000000..0de039a2caf2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_dev_box_definition.py @@ -0,0 +1,266 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDevBoxDefinitionResult', + 'AwaitableGetDevBoxDefinitionResult', + 'get_dev_box_definition', + 'get_dev_box_definition_output', +] + +@pulumi.output_type +class GetDevBoxDefinitionResult: + """ + Represents a definition for a Developer Machine. + """ + def __init__(__self__, active_image_reference=None, hibernate_support=None, id=None, image_reference=None, image_validation_error_details=None, image_validation_status=None, location=None, name=None, os_storage_type=None, provisioning_state=None, sku=None, system_data=None, tags=None, type=None, validation_status=None): + if active_image_reference and not isinstance(active_image_reference, dict): + raise TypeError("Expected argument 'active_image_reference' to be a dict") + pulumi.set(__self__, "active_image_reference", active_image_reference) + if hibernate_support and not isinstance(hibernate_support, str): + raise TypeError("Expected argument 'hibernate_support' to be a str") + pulumi.set(__self__, "hibernate_support", hibernate_support) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if image_reference and not isinstance(image_reference, dict): + raise TypeError("Expected argument 'image_reference' to be a dict") + pulumi.set(__self__, "image_reference", image_reference) + if image_validation_error_details and not isinstance(image_validation_error_details, dict): + raise TypeError("Expected argument 'image_validation_error_details' to be a dict") + pulumi.set(__self__, "image_validation_error_details", image_validation_error_details) + if image_validation_status and not isinstance(image_validation_status, str): + raise TypeError("Expected argument 'image_validation_status' to be a str") + pulumi.set(__self__, "image_validation_status", image_validation_status) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if os_storage_type and not isinstance(os_storage_type, str): + raise TypeError("Expected argument 'os_storage_type' to be a str") + pulumi.set(__self__, "os_storage_type", os_storage_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if validation_status and not isinstance(validation_status, str): + raise TypeError("Expected argument 'validation_status' to be a str") + pulumi.set(__self__, "validation_status", validation_status) + + @property + @pulumi.getter(name="activeImageReference") + def active_image_reference(self) -> 'outputs.ImageReferenceResponse': + """ + Image reference information for the currently active image (only populated during updates). + """ + return pulumi.get(self, "active_image_reference") + + @property + @pulumi.getter(name="hibernateSupport") + def hibernate_support(self) -> Optional[str]: + """ + Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate + """ + return pulumi.get(self, "hibernate_support") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="imageReference") + def image_reference(self) -> 'outputs.ImageReferenceResponse': + """ + Image reference information. + """ + return pulumi.get(self, "image_reference") + + @property + @pulumi.getter(name="imageValidationErrorDetails") + def image_validation_error_details(self) -> 'outputs.ImageValidationErrorDetailsResponse': + """ + Details for image validator error. Populated when the image validation is not successful. + """ + return pulumi.get(self, "image_validation_error_details") + + @property + @pulumi.getter(name="imageValidationStatus") + def image_validation_status(self) -> str: + """ + Validation status of the configured image. + """ + return pulumi.get(self, "image_validation_status") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="osStorageType") + def os_storage_type(self) -> Optional[str]: + """ + The storage type used for the Operating System disk of Dev Boxes created using this definition. + """ + return pulumi.get(self, "os_storage_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def sku(self) -> 'outputs.SkuResponse': + """ + The SKU for Dev Boxes created using this definition. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validationStatus") + def validation_status(self) -> str: + """ + Validation status for the Dev Box Definition. + """ + return pulumi.get(self, "validation_status") + + +class AwaitableGetDevBoxDefinitionResult(GetDevBoxDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDevBoxDefinitionResult( + active_image_reference=self.active_image_reference, + hibernate_support=self.hibernate_support, + id=self.id, + image_reference=self.image_reference, + image_validation_error_details=self.image_validation_error_details, + image_validation_status=self.image_validation_status, + location=self.location, + name=self.name, + os_storage_type=self.os_storage_type, + provisioning_state=self.provisioning_state, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type, + validation_status=self.validation_status) + + +def get_dev_box_definition(dev_box_definition_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDevBoxDefinitionResult: + """ + Gets a Dev Box definition + + + :param str dev_box_definition_name: The name of the Dev Box definition. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['devBoxDefinitionName'] = dev_box_definition_name + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getDevBoxDefinition', __args__, opts=opts, typ=GetDevBoxDefinitionResult).value + + return AwaitableGetDevBoxDefinitionResult( + active_image_reference=pulumi.get(__ret__, 'active_image_reference'), + hibernate_support=pulumi.get(__ret__, 'hibernate_support'), + id=pulumi.get(__ret__, 'id'), + image_reference=pulumi.get(__ret__, 'image_reference'), + image_validation_error_details=pulumi.get(__ret__, 'image_validation_error_details'), + image_validation_status=pulumi.get(__ret__, 'image_validation_status'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + os_storage_type=pulumi.get(__ret__, 'os_storage_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + validation_status=pulumi.get(__ret__, 'validation_status')) + + +@_utilities.lift_output_func(get_dev_box_definition) +def get_dev_box_definition_output(dev_box_definition_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDevBoxDefinitionResult]: + """ + Gets a Dev Box definition + + + :param str dev_box_definition_name: The name of the Dev Box definition. + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_dev_center.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_dev_center.py new file mode 100644 index 000000000000..458abb42e2e2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_dev_center.py @@ -0,0 +1,196 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDevCenterResult', + 'AwaitableGetDevCenterResult', + 'get_dev_center', + 'get_dev_center_output', +] + +@pulumi.output_type +class GetDevCenterResult: + """ + Represents a devcenter resource. + """ + def __init__(__self__, dev_center_uri=None, encryption=None, id=None, identity=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, type=None): + if dev_center_uri and not isinstance(dev_center_uri, str): + raise TypeError("Expected argument 'dev_center_uri' to be a str") + pulumi.set(__self__, "dev_center_uri", dev_center_uri) + if encryption and not isinstance(encryption, dict): + raise TypeError("Expected argument 'encryption' to be a dict") + pulumi.set(__self__, "encryption", encryption) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="devCenterUri") + def dev_center_uri(self) -> str: + """ + The URI of the Dev Center. + """ + return pulumi.get(self, "dev_center_uri") + + @property + @pulumi.getter + def encryption(self) -> Optional['outputs.EncryptionResponse']: + """ + Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). + """ + return pulumi.get(self, "encryption") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Managed identity properties + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetDevCenterResult(GetDevCenterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDevCenterResult( + dev_center_uri=self.dev_center_uri, + encryption=self.encryption, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_dev_center(dev_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDevCenterResult: + """ + Gets a devcenter. + + + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['devCenterName'] = dev_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getDevCenter', __args__, opts=opts, typ=GetDevCenterResult).value + + return AwaitableGetDevCenterResult( + dev_center_uri=pulumi.get(__ret__, 'dev_center_uri'), + encryption=pulumi.get(__ret__, 'encryption'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_dev_center) +def get_dev_center_output(dev_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDevCenterResult]: + """ + Gets a devcenter. + + + :param str dev_center_name: The name of the devcenter. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_environment_definition_error_details.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_environment_definition_error_details.py new file mode 100644 index 000000000000..a0c0f434d6af --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_environment_definition_error_details.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetEnvironmentDefinitionErrorDetailsResult', + 'AwaitableGetEnvironmentDefinitionErrorDetailsResult', + 'get_environment_definition_error_details', + 'get_environment_definition_error_details_output', +] + +@pulumi.output_type +class GetEnvironmentDefinitionErrorDetailsResult: + """ + List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. + """ + def __init__(__self__, errors=None): + if errors and not isinstance(errors, list): + raise TypeError("Expected argument 'errors' to be a list") + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def errors(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with resources synchronized from the catalog. + """ + return pulumi.get(self, "errors") + + +class AwaitableGetEnvironmentDefinitionErrorDetailsResult(GetEnvironmentDefinitionErrorDetailsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEnvironmentDefinitionErrorDetailsResult( + errors=self.errors) + + +def get_environment_definition_error_details(catalog_name: Optional[str] = None, + dev_center_name: Optional[str] = None, + environment_definition_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentDefinitionErrorDetailsResult: + """ + Gets Environment Definition error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str environment_definition_name: The name of the Environment Definition. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['catalogName'] = catalog_name + __args__['devCenterName'] = dev_center_name + __args__['environmentDefinitionName'] = environment_definition_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getEnvironmentDefinitionErrorDetails', __args__, opts=opts, typ=GetEnvironmentDefinitionErrorDetailsResult).value + + return AwaitableGetEnvironmentDefinitionErrorDetailsResult( + errors=pulumi.get(__ret__, 'errors')) + + +@_utilities.lift_output_func(get_environment_definition_error_details) +def get_environment_definition_error_details_output(catalog_name: Optional[pulumi.Input[str]] = None, + dev_center_name: Optional[pulumi.Input[str]] = None, + environment_definition_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentDefinitionErrorDetailsResult]: + """ + Gets Environment Definition error details + + + :param str catalog_name: The name of the Catalog. + :param str dev_center_name: The name of the devcenter. + :param str environment_definition_name: The name of the Environment Definition. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_environment_type.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_environment_type.py new file mode 100644 index 000000000000..d3ccbf41c8fb --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_environment_type.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetEnvironmentTypeResult', + 'AwaitableGetEnvironmentTypeResult', + 'get_environment_type', + 'get_environment_type_output', +] + +@pulumi.output_type +class GetEnvironmentTypeResult: + """ + Represents an environment type. + """ + def __init__(__self__, id=None, name=None, provisioning_state=None, system_data=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetEnvironmentTypeResult(GetEnvironmentTypeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEnvironmentTypeResult( + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_environment_type(dev_center_name: Optional[str] = None, + environment_type_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentTypeResult: + """ + Gets an environment type. + + + :param str dev_center_name: The name of the devcenter. + :param str environment_type_name: The name of the environment type. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['devCenterName'] = dev_center_name + __args__['environmentTypeName'] = environment_type_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getEnvironmentType', __args__, opts=opts, typ=GetEnvironmentTypeResult).value + + return AwaitableGetEnvironmentTypeResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_environment_type) +def get_environment_type_output(dev_center_name: Optional[pulumi.Input[str]] = None, + environment_type_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentTypeResult]: + """ + Gets an environment type. + + + :param str dev_center_name: The name of the devcenter. + :param str environment_type_name: The name of the environment type. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_gallery.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_gallery.py new file mode 100644 index 000000000000..cfb9cd6b93cb --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_gallery.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGalleryResult', + 'AwaitableGetGalleryResult', + 'get_gallery', + 'get_gallery_output', +] + +@pulumi.output_type +class GetGalleryResult: + """ + Represents a gallery. + """ + def __init__(__self__, gallery_resource_id=None, id=None, name=None, provisioning_state=None, system_data=None, type=None): + if gallery_resource_id and not isinstance(gallery_resource_id, str): + raise TypeError("Expected argument 'gallery_resource_id' to be a str") + pulumi.set(__self__, "gallery_resource_id", gallery_resource_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="galleryResourceId") + def gallery_resource_id(self) -> str: + """ + The resource ID of the backing Azure Compute Gallery. + """ + return pulumi.get(self, "gallery_resource_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetGalleryResult(GetGalleryResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGalleryResult( + gallery_resource_id=self.gallery_resource_id, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_gallery(dev_center_name: Optional[str] = None, + gallery_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGalleryResult: + """ + Gets a gallery + + + :param str dev_center_name: The name of the devcenter. + :param str gallery_name: The name of the gallery. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['devCenterName'] = dev_center_name + __args__['galleryName'] = gallery_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getGallery', __args__, opts=opts, typ=GetGalleryResult).value + + return AwaitableGetGalleryResult( + gallery_resource_id=pulumi.get(__ret__, 'gallery_resource_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_gallery) +def get_gallery_output(dev_center_name: Optional[pulumi.Input[str]] = None, + gallery_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGalleryResult]: + """ + Gets a gallery + + + :param str dev_center_name: The name of the devcenter. + :param str gallery_name: The name of the gallery. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_network_connection.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_network_connection.py new file mode 100644 index 000000000000..35683738089b --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_network_connection.py @@ -0,0 +1,261 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetNetworkConnectionResult', + 'AwaitableGetNetworkConnectionResult', + 'get_network_connection', + 'get_network_connection_output', +] + +@pulumi.output_type +class GetNetworkConnectionResult: + """ + Network related settings + """ + def __init__(__self__, domain_join_type=None, domain_name=None, domain_password=None, domain_username=None, health_check_status=None, id=None, location=None, name=None, networking_resource_group_name=None, organization_unit=None, provisioning_state=None, subnet_id=None, system_data=None, tags=None, type=None): + if domain_join_type and not isinstance(domain_join_type, str): + raise TypeError("Expected argument 'domain_join_type' to be a str") + pulumi.set(__self__, "domain_join_type", domain_join_type) + if domain_name and not isinstance(domain_name, str): + raise TypeError("Expected argument 'domain_name' to be a str") + pulumi.set(__self__, "domain_name", domain_name) + if domain_password and not isinstance(domain_password, str): + raise TypeError("Expected argument 'domain_password' to be a str") + pulumi.set(__self__, "domain_password", domain_password) + if domain_username and not isinstance(domain_username, str): + raise TypeError("Expected argument 'domain_username' to be a str") + pulumi.set(__self__, "domain_username", domain_username) + if health_check_status and not isinstance(health_check_status, str): + raise TypeError("Expected argument 'health_check_status' to be a str") + pulumi.set(__self__, "health_check_status", health_check_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if networking_resource_group_name and not isinstance(networking_resource_group_name, str): + raise TypeError("Expected argument 'networking_resource_group_name' to be a str") + pulumi.set(__self__, "networking_resource_group_name", networking_resource_group_name) + if organization_unit and not isinstance(organization_unit, str): + raise TypeError("Expected argument 'organization_unit' to be a str") + pulumi.set(__self__, "organization_unit", organization_unit) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if subnet_id and not isinstance(subnet_id, str): + raise TypeError("Expected argument 'subnet_id' to be a str") + pulumi.set(__self__, "subnet_id", subnet_id) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="domainJoinType") + def domain_join_type(self) -> str: + """ + AAD Join type. + """ + return pulumi.get(self, "domain_join_type") + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> Optional[str]: + """ + Active Directory domain name + """ + return pulumi.get(self, "domain_name") + + @property + @pulumi.getter(name="domainPassword") + def domain_password(self) -> Optional[str]: + """ + The password for the account used to join domain + """ + return pulumi.get(self, "domain_password") + + @property + @pulumi.getter(name="domainUsername") + def domain_username(self) -> Optional[str]: + """ + The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + """ + return pulumi.get(self, "domain_username") + + @property + @pulumi.getter(name="healthCheckStatus") + def health_check_status(self) -> str: + """ + Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. + """ + return pulumi.get(self, "health_check_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkingResourceGroupName") + def networking_resource_group_name(self) -> Optional[str]: + """ + The name for resource group where NICs will be placed. + """ + return pulumi.get(self, "networking_resource_group_name") + + @property + @pulumi.getter(name="organizationUnit") + def organization_unit(self) -> Optional[str]: + """ + Active Directory domain Organization Unit (OU) + """ + return pulumi.get(self, "organization_unit") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The subnet to attach Virtual Machines to + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetNetworkConnectionResult(GetNetworkConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNetworkConnectionResult( + domain_join_type=self.domain_join_type, + domain_name=self.domain_name, + domain_password=self.domain_password, + domain_username=self.domain_username, + health_check_status=self.health_check_status, + id=self.id, + location=self.location, + name=self.name, + networking_resource_group_name=self.networking_resource_group_name, + organization_unit=self.organization_unit, + provisioning_state=self.provisioning_state, + subnet_id=self.subnet_id, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_network_connection(network_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkConnectionResult: + """ + Gets a network connection resource + + + :param str network_connection_name: Name of the Network Connection that can be applied to a Pool. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['networkConnectionName'] = network_connection_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getNetworkConnection', __args__, opts=opts, typ=GetNetworkConnectionResult).value + + return AwaitableGetNetworkConnectionResult( + domain_join_type=pulumi.get(__ret__, 'domain_join_type'), + domain_name=pulumi.get(__ret__, 'domain_name'), + domain_password=pulumi.get(__ret__, 'domain_password'), + domain_username=pulumi.get(__ret__, 'domain_username'), + health_check_status=pulumi.get(__ret__, 'health_check_status'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + networking_resource_group_name=pulumi.get(__ret__, 'networking_resource_group_name'), + organization_unit=pulumi.get(__ret__, 'organization_unit'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + subnet_id=pulumi.get(__ret__, 'subnet_id'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_network_connection) +def get_network_connection_output(network_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkConnectionResult]: + """ + Gets a network connection resource + + + :param str network_connection_name: Name of the Network Connection that can be applied to a Pool. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_pool.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_pool.py new file mode 100644 index 000000000000..50084ce02f8a --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_pool.py @@ -0,0 +1,279 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPoolResult', + 'AwaitableGetPoolResult', + 'get_pool', + 'get_pool_output', +] + +@pulumi.output_type +class GetPoolResult: + """ + A pool of Virtual Machines. + """ + def __init__(__self__, dev_box_count=None, dev_box_definition_name=None, health_status=None, health_status_details=None, id=None, license_type=None, local_administrator=None, location=None, name=None, network_connection_name=None, provisioning_state=None, single_sign_on_status=None, stop_on_disconnect=None, system_data=None, tags=None, type=None): + if dev_box_count and not isinstance(dev_box_count, int): + raise TypeError("Expected argument 'dev_box_count' to be a int") + pulumi.set(__self__, "dev_box_count", dev_box_count) + if dev_box_definition_name and not isinstance(dev_box_definition_name, str): + raise TypeError("Expected argument 'dev_box_definition_name' to be a str") + pulumi.set(__self__, "dev_box_definition_name", dev_box_definition_name) + if health_status and not isinstance(health_status, str): + raise TypeError("Expected argument 'health_status' to be a str") + pulumi.set(__self__, "health_status", health_status) + if health_status_details and not isinstance(health_status_details, list): + raise TypeError("Expected argument 'health_status_details' to be a list") + pulumi.set(__self__, "health_status_details", health_status_details) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if license_type and not isinstance(license_type, str): + raise TypeError("Expected argument 'license_type' to be a str") + pulumi.set(__self__, "license_type", license_type) + if local_administrator and not isinstance(local_administrator, str): + raise TypeError("Expected argument 'local_administrator' to be a str") + pulumi.set(__self__, "local_administrator", local_administrator) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_connection_name and not isinstance(network_connection_name, str): + raise TypeError("Expected argument 'network_connection_name' to be a str") + pulumi.set(__self__, "network_connection_name", network_connection_name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if single_sign_on_status and not isinstance(single_sign_on_status, str): + raise TypeError("Expected argument 'single_sign_on_status' to be a str") + pulumi.set(__self__, "single_sign_on_status", single_sign_on_status) + if stop_on_disconnect and not isinstance(stop_on_disconnect, dict): + raise TypeError("Expected argument 'stop_on_disconnect' to be a dict") + pulumi.set(__self__, "stop_on_disconnect", stop_on_disconnect) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="devBoxCount") + def dev_box_count(self) -> int: + """ + Indicates the number of provisioned Dev Boxes in this pool. + """ + return pulumi.get(self, "dev_box_count") + + @property + @pulumi.getter(name="devBoxDefinitionName") + def dev_box_definition_name(self) -> str: + """ + Name of a Dev Box definition in parent Project of this Pool + """ + return pulumi.get(self, "dev_box_definition_name") + + @property + @pulumi.getter(name="healthStatus") + def health_status(self) -> str: + """ + Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. + """ + return pulumi.get(self, "health_status") + + @property + @pulumi.getter(name="healthStatusDetails") + def health_status_details(self) -> Sequence['outputs.HealthStatusDetailResponse']: + """ + Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state + """ + return pulumi.get(self, "health_status_details") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="licenseType") + def license_type(self) -> str: + """ + Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + """ + return pulumi.get(self, "license_type") + + @property + @pulumi.getter(name="localAdministrator") + def local_administrator(self) -> str: + """ + Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + """ + return pulumi.get(self, "local_administrator") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkConnectionName") + def network_connection_name(self) -> str: + """ + Name of a Network Connection in parent Project of this Pool + """ + return pulumi.get(self, "network_connection_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="singleSignOnStatus") + def single_sign_on_status(self) -> Optional[str]: + """ + Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + """ + return pulumi.get(self, "single_sign_on_status") + + @property + @pulumi.getter(name="stopOnDisconnect") + def stop_on_disconnect(self) -> Optional['outputs.StopOnDisconnectConfigurationResponse']: + """ + Stop on disconnect configuration settings for Dev Boxes created in this pool. + """ + return pulumi.get(self, "stop_on_disconnect") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPoolResult(GetPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPoolResult( + dev_box_count=self.dev_box_count, + dev_box_definition_name=self.dev_box_definition_name, + health_status=self.health_status, + health_status_details=self.health_status_details, + id=self.id, + license_type=self.license_type, + local_administrator=self.local_administrator, + location=self.location, + name=self.name, + network_connection_name=self.network_connection_name, + provisioning_state=self.provisioning_state, + single_sign_on_status=self.single_sign_on_status, + stop_on_disconnect=self.stop_on_disconnect, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_pool(pool_name: Optional[str] = None, + project_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPoolResult: + """ + Gets a machine pool + + + :param str pool_name: Name of the pool. + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['poolName'] = pool_name + __args__['projectName'] = project_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getPool', __args__, opts=opts, typ=GetPoolResult).value + + return AwaitableGetPoolResult( + dev_box_count=pulumi.get(__ret__, 'dev_box_count'), + dev_box_definition_name=pulumi.get(__ret__, 'dev_box_definition_name'), + health_status=pulumi.get(__ret__, 'health_status'), + health_status_details=pulumi.get(__ret__, 'health_status_details'), + id=pulumi.get(__ret__, 'id'), + license_type=pulumi.get(__ret__, 'license_type'), + local_administrator=pulumi.get(__ret__, 'local_administrator'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + network_connection_name=pulumi.get(__ret__, 'network_connection_name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + single_sign_on_status=pulumi.get(__ret__, 'single_sign_on_status'), + stop_on_disconnect=pulumi.get(__ret__, 'stop_on_disconnect'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_pool) +def get_pool_output(pool_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPoolResult]: + """ + Gets a machine pool + + + :param str pool_name: Name of the pool. + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_project.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_project.py new file mode 100644 index 000000000000..6ce19ab60ca7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_project.py @@ -0,0 +1,209 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetProjectResult', + 'AwaitableGetProjectResult', + 'get_project', + 'get_project_output', +] + +@pulumi.output_type +class GetProjectResult: + """ + Represents a project resource. + """ + def __init__(__self__, description=None, dev_center_id=None, dev_center_uri=None, id=None, location=None, max_dev_boxes_per_user=None, name=None, provisioning_state=None, system_data=None, tags=None, type=None): + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if dev_center_id and not isinstance(dev_center_id, str): + raise TypeError("Expected argument 'dev_center_id' to be a str") + pulumi.set(__self__, "dev_center_id", dev_center_id) + if dev_center_uri and not isinstance(dev_center_uri, str): + raise TypeError("Expected argument 'dev_center_uri' to be a str") + pulumi.set(__self__, "dev_center_uri", dev_center_uri) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if max_dev_boxes_per_user and not isinstance(max_dev_boxes_per_user, int): + raise TypeError("Expected argument 'max_dev_boxes_per_user' to be a int") + pulumi.set(__self__, "max_dev_boxes_per_user", max_dev_boxes_per_user) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description of the project. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="devCenterId") + def dev_center_id(self) -> Optional[str]: + """ + Resource Id of an associated DevCenter + """ + return pulumi.get(self, "dev_center_id") + + @property + @pulumi.getter(name="devCenterUri") + def dev_center_uri(self) -> str: + """ + The URI of the Dev Center resource this project is associated with. + """ + return pulumi.get(self, "dev_center_uri") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="maxDevBoxesPerUser") + def max_dev_boxes_per_user(self) -> Optional[int]: + """ + When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + """ + return pulumi.get(self, "max_dev_boxes_per_user") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetProjectResult(GetProjectResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetProjectResult( + description=self.description, + dev_center_id=self.dev_center_id, + dev_center_uri=self.dev_center_uri, + id=self.id, + location=self.location, + max_dev_boxes_per_user=self.max_dev_boxes_per_user, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_project(project_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult: + """ + Gets a specific project. + + + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['projectName'] = project_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getProject', __args__, opts=opts, typ=GetProjectResult).value + + return AwaitableGetProjectResult( + description=pulumi.get(__ret__, 'description'), + dev_center_id=pulumi.get(__ret__, 'dev_center_id'), + dev_center_uri=pulumi.get(__ret__, 'dev_center_uri'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + max_dev_boxes_per_user=pulumi.get(__ret__, 'max_dev_boxes_per_user'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_project) +def get_project_output(project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: + """ + Gets a specific project. + + + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_project_environment_type.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_project_environment_type.py new file mode 100644 index 000000000000..69e1d1c4c99a --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_project_environment_type.py @@ -0,0 +1,227 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetProjectEnvironmentTypeResult', + 'AwaitableGetProjectEnvironmentTypeResult', + 'get_project_environment_type', + 'get_project_environment_type_output', +] + +@pulumi.output_type +class GetProjectEnvironmentTypeResult: + """ + Represents an environment type. + """ + def __init__(__self__, creator_role_assignment=None, deployment_target_id=None, id=None, identity=None, location=None, name=None, provisioning_state=None, status=None, system_data=None, tags=None, type=None, user_role_assignments=None): + if creator_role_assignment and not isinstance(creator_role_assignment, dict): + raise TypeError("Expected argument 'creator_role_assignment' to be a dict") + pulumi.set(__self__, "creator_role_assignment", creator_role_assignment) + if deployment_target_id and not isinstance(deployment_target_id, str): + raise TypeError("Expected argument 'deployment_target_id' to be a str") + pulumi.set(__self__, "deployment_target_id", deployment_target_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if user_role_assignments and not isinstance(user_role_assignments, dict): + raise TypeError("Expected argument 'user_role_assignments' to be a dict") + pulumi.set(__self__, "user_role_assignments", user_role_assignments) + + @property + @pulumi.getter(name="creatorRoleAssignment") + def creator_role_assignment(self) -> Optional['outputs.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment']: + """ + The role definition assigned to the environment creator on backing resources. + """ + return pulumi.get(self, "creator_role_assignment") + + @property + @pulumi.getter(name="deploymentTargetId") + def deployment_target_id(self) -> Optional[str]: + """ + Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + """ + return pulumi.get(self, "deployment_target_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Managed identity properties + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The geo-location for the environment type + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Defines whether this Environment Type can be used in this Project. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userRoleAssignments") + def user_role_assignments(self) -> Optional[Mapping[str, 'outputs.UserRoleAssignmentResponse']]: + """ + Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + """ + return pulumi.get(self, "user_role_assignments") + + +class AwaitableGetProjectEnvironmentTypeResult(GetProjectEnvironmentTypeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetProjectEnvironmentTypeResult( + creator_role_assignment=self.creator_role_assignment, + deployment_target_id=self.deployment_target_id, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + status=self.status, + system_data=self.system_data, + tags=self.tags, + type=self.type, + user_role_assignments=self.user_role_assignments) + + +def get_project_environment_type(environment_type_name: Optional[str] = None, + project_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectEnvironmentTypeResult: + """ + Gets a project environment type. + + + :param str environment_type_name: The name of the environment type. + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['environmentTypeName'] = environment_type_name + __args__['projectName'] = project_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getProjectEnvironmentType', __args__, opts=opts, typ=GetProjectEnvironmentTypeResult).value + + return AwaitableGetProjectEnvironmentTypeResult( + creator_role_assignment=pulumi.get(__ret__, 'creator_role_assignment'), + deployment_target_id=pulumi.get(__ret__, 'deployment_target_id'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + user_role_assignments=pulumi.get(__ret__, 'user_role_assignments')) + + +@_utilities.lift_output_func(get_project_environment_type) +def get_project_environment_type_output(environment_type_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectEnvironmentTypeResult]: + """ + Gets a project environment type. + + + :param str environment_type_name: The name of the environment type. + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_schedule.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_schedule.py new file mode 100644 index 000000000000..10ab9983531d --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/get_schedule.py @@ -0,0 +1,198 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetScheduleResult', + 'AwaitableGetScheduleResult', + 'get_schedule', + 'get_schedule_output', +] + +@pulumi.output_type +class GetScheduleResult: + """ + Represents a Schedule to execute a task. + """ + def __init__(__self__, frequency=None, id=None, name=None, provisioning_state=None, state=None, system_data=None, time=None, time_zone=None, type=None): + if frequency and not isinstance(frequency, str): + raise TypeError("Expected argument 'frequency' to be a str") + pulumi.set(__self__, "frequency", frequency) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if time and not isinstance(time, str): + raise TypeError("Expected argument 'time' to be a str") + pulumi.set(__self__, "time", time) + if time_zone and not isinstance(time_zone, str): + raise TypeError("Expected argument 'time_zone' to be a str") + pulumi.set(__self__, "time_zone", time_zone) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def frequency(self) -> str: + """ + The frequency of this scheduled task. + """ + return pulumi.get(self, "frequency") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Indicates whether or not this scheduled task is enabled. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def time(self) -> str: + """ + The target time to trigger the action. The format is HH:MM. + """ + return pulumi.get(self, "time") + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> str: + """ + The IANA timezone id at which the schedule should execute. + """ + return pulumi.get(self, "time_zone") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetScheduleResult(GetScheduleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScheduleResult( + frequency=self.frequency, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + state=self.state, + system_data=self.system_data, + time=self.time, + time_zone=self.time_zone, + type=self.type) + + +def get_schedule(pool_name: Optional[str] = None, + project_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + schedule_name: Optional[str] = None, + top: Optional[int] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduleResult: + """ + Gets a schedule resource. + + + :param str pool_name: Name of the pool. + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str schedule_name: The name of the schedule that uniquely identifies it. + :param int top: The maximum number of resources to return from the operation. Example: '$top=10'. + """ + __args__ = dict() + __args__['poolName'] = pool_name + __args__['projectName'] = project_name + __args__['resourceGroupName'] = resource_group_name + __args__['scheduleName'] = schedule_name + __args__['top'] = top + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:devcenter/v20230801preview:getSchedule', __args__, opts=opts, typ=GetScheduleResult).value + + return AwaitableGetScheduleResult( + frequency=pulumi.get(__ret__, 'frequency'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + state=pulumi.get(__ret__, 'state'), + system_data=pulumi.get(__ret__, 'system_data'), + time=pulumi.get(__ret__, 'time'), + time_zone=pulumi.get(__ret__, 'time_zone'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_schedule) +def get_schedule_output(pool_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + schedule_name: Optional[pulumi.Input[str]] = None, + top: Optional[pulumi.Input[Optional[int]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduleResult]: + """ + Gets a schedule resource. + + + :param str pool_name: Name of the pool. + :param str project_name: The name of the project. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str schedule_name: The name of the schedule that uniquely identifies it. + :param int top: The maximum number of resources to return from the operation. Example: '$top=10'. + """ + ... diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/network_connection.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/network_connection.py new file mode 100644 index 000000000000..75e163b6e7a7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/network_connection.py @@ -0,0 +1,448 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['NetworkConnectionArgs', 'NetworkConnection'] + +@pulumi.input_type +class NetworkConnectionArgs: + def __init__(__self__, *, + domain_join_type: pulumi.Input[Union[str, 'DomainJoinType']], + resource_group_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + domain_name: Optional[pulumi.Input[str]] = None, + domain_password: Optional[pulumi.Input[str]] = None, + domain_username: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + network_connection_name: Optional[pulumi.Input[str]] = None, + networking_resource_group_name: Optional[pulumi.Input[str]] = None, + organization_unit: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a NetworkConnection resource. + :param pulumi.Input[Union[str, 'DomainJoinType']] domain_join_type: AAD Join type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] subnet_id: The subnet to attach Virtual Machines to + :param pulumi.Input[str] domain_name: Active Directory domain name + :param pulumi.Input[str] domain_password: The password for the account used to join domain + :param pulumi.Input[str] domain_username: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] network_connection_name: Name of the Network Connection that can be applied to a Pool. + :param pulumi.Input[str] networking_resource_group_name: The name for resource group where NICs will be placed. + :param pulumi.Input[str] organization_unit: Active Directory domain Organization Unit (OU) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "domain_join_type", domain_join_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "subnet_id", subnet_id) + if domain_name is not None: + pulumi.set(__self__, "domain_name", domain_name) + if domain_password is not None: + pulumi.set(__self__, "domain_password", domain_password) + if domain_username is not None: + pulumi.set(__self__, "domain_username", domain_username) + if location is not None: + pulumi.set(__self__, "location", location) + if network_connection_name is not None: + pulumi.set(__self__, "network_connection_name", network_connection_name) + if networking_resource_group_name is not None: + pulumi.set(__self__, "networking_resource_group_name", networking_resource_group_name) + if organization_unit is not None: + pulumi.set(__self__, "organization_unit", organization_unit) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="domainJoinType") + def domain_join_type(self) -> pulumi.Input[Union[str, 'DomainJoinType']]: + """ + AAD Join type. + """ + return pulumi.get(self, "domain_join_type") + + @domain_join_type.setter + def domain_join_type(self, value: pulumi.Input[Union[str, 'DomainJoinType']]): + pulumi.set(self, "domain_join_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The subnet to attach Virtual Machines to + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> Optional[pulumi.Input[str]]: + """ + Active Directory domain name + """ + return pulumi.get(self, "domain_name") + + @domain_name.setter + def domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain_name", value) + + @property + @pulumi.getter(name="domainPassword") + def domain_password(self) -> Optional[pulumi.Input[str]]: + """ + The password for the account used to join domain + """ + return pulumi.get(self, "domain_password") + + @domain_password.setter + def domain_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain_password", value) + + @property + @pulumi.getter(name="domainUsername") + def domain_username(self) -> Optional[pulumi.Input[str]]: + """ + The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + """ + return pulumi.get(self, "domain_username") + + @domain_username.setter + def domain_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain_username", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="networkConnectionName") + def network_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Network Connection that can be applied to a Pool. + """ + return pulumi.get(self, "network_connection_name") + + @network_connection_name.setter + def network_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_connection_name", value) + + @property + @pulumi.getter(name="networkingResourceGroupName") + def networking_resource_group_name(self) -> Optional[pulumi.Input[str]]: + """ + The name for resource group where NICs will be placed. + """ + return pulumi.get(self, "networking_resource_group_name") + + @networking_resource_group_name.setter + def networking_resource_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "networking_resource_group_name", value) + + @property + @pulumi.getter(name="organizationUnit") + def organization_unit(self) -> Optional[pulumi.Input[str]]: + """ + Active Directory domain Organization Unit (OU) + """ + return pulumi.get(self, "organization_unit") + + @organization_unit.setter + def organization_unit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "organization_unit", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 NetworkConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + domain_join_type: Optional[pulumi.Input[Union[str, 'DomainJoinType']]] = None, + domain_name: Optional[pulumi.Input[str]] = None, + domain_password: Optional[pulumi.Input[str]] = None, + domain_username: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + network_connection_name: Optional[pulumi.Input[str]] = None, + networking_resource_group_name: Optional[pulumi.Input[str]] = None, + organization_unit: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Network related settings + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'DomainJoinType']] domain_join_type: AAD Join type. + :param pulumi.Input[str] domain_name: Active Directory domain name + :param pulumi.Input[str] domain_password: The password for the account used to join domain + :param pulumi.Input[str] domain_username: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] network_connection_name: Name of the Network Connection that can be applied to a Pool. + :param pulumi.Input[str] networking_resource_group_name: The name for resource group where NICs will be placed. + :param pulumi.Input[str] organization_unit: Active Directory domain Organization Unit (OU) + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] subnet_id: The subnet to attach Virtual Machines to + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NetworkConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Network related settings + + :param str resource_name: The name of the resource. + :param NetworkConnectionArgs 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(NetworkConnectionArgs, 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, + domain_join_type: Optional[pulumi.Input[Union[str, 'DomainJoinType']]] = None, + domain_name: Optional[pulumi.Input[str]] = None, + domain_password: Optional[pulumi.Input[str]] = None, + domain_username: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + network_connection_name: Optional[pulumi.Input[str]] = None, + networking_resource_group_name: Optional[pulumi.Input[str]] = None, + organization_unit: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subnet_id: 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): + 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__ = NetworkConnectionArgs.__new__(NetworkConnectionArgs) + + if domain_join_type is None and not opts.urn: + raise TypeError("Missing required property 'domain_join_type'") + __props__.__dict__["domain_join_type"] = domain_join_type + __props__.__dict__["domain_name"] = domain_name + __props__.__dict__["domain_password"] = domain_password + __props__.__dict__["domain_username"] = domain_username + __props__.__dict__["location"] = location + __props__.__dict__["network_connection_name"] = network_connection_name + __props__.__dict__["networking_resource_group_name"] = networking_resource_group_name + __props__.__dict__["organization_unit"] = organization_unit + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if subnet_id is None and not opts.urn: + raise TypeError("Missing required property 'subnet_id'") + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["tags"] = tags + __props__.__dict__["health_check_status"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:NetworkConnection"), pulumi.Alias(type_="azure-native:devcenter/v20230401:NetworkConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(NetworkConnection, __self__).__init__( + 'azure-native:devcenter/v20230801preview:NetworkConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'NetworkConnection': + """ + Get an existing NetworkConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = NetworkConnectionArgs.__new__(NetworkConnectionArgs) + + __props__.__dict__["domain_join_type"] = None + __props__.__dict__["domain_name"] = None + __props__.__dict__["domain_password"] = None + __props__.__dict__["domain_username"] = None + __props__.__dict__["health_check_status"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["networking_resource_group_name"] = None + __props__.__dict__["organization_unit"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["subnet_id"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return NetworkConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="domainJoinType") + def domain_join_type(self) -> pulumi.Output[str]: + """ + AAD Join type. + """ + return pulumi.get(self, "domain_join_type") + + @property + @pulumi.getter(name="domainName") + def domain_name(self) -> pulumi.Output[Optional[str]]: + """ + Active Directory domain name + """ + return pulumi.get(self, "domain_name") + + @property + @pulumi.getter(name="domainPassword") + def domain_password(self) -> pulumi.Output[Optional[str]]: + """ + The password for the account used to join domain + """ + return pulumi.get(self, "domain_password") + + @property + @pulumi.getter(name="domainUsername") + def domain_username(self) -> pulumi.Output[Optional[str]]: + """ + The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. + """ + return pulumi.get(self, "domain_username") + + @property + @pulumi.getter(name="healthCheckStatus") + def health_check_status(self) -> pulumi.Output[str]: + """ + Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. + """ + return pulumi.get(self, "health_check_status") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkingResourceGroupName") + def networking_resource_group_name(self) -> pulumi.Output[Optional[str]]: + """ + The name for resource group where NICs will be placed. + """ + return pulumi.get(self, "networking_resource_group_name") + + @property + @pulumi.getter(name="organizationUnit") + def organization_unit(self) -> pulumi.Output[Optional[str]]: + """ + Active Directory domain Organization Unit (OU) + """ + return pulumi.get(self, "organization_unit") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Output[str]: + """ + The subnet to attach Virtual Machines to + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/outputs.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/outputs.py new file mode 100644 index 000000000000..660674ddf059 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/outputs.py @@ -0,0 +1,1042 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'CatalogConflictErrorResponse', + 'CatalogErrorDetailsResponse', + 'CatalogSyncErrorResponse', + 'CustomerManagedKeyEncryptionResponse', + 'CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity', + 'EncryptionResponse', + 'EnvironmentRoleResponse', + 'GitCatalogResponse', + 'HealthStatusDetailResponse', + 'ImageReferenceResponse', + 'ImageValidationErrorDetailsResponse', + 'ManagedServiceIdentityResponse', + 'ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment', + 'SkuResponse', + 'StopOnDisconnectConfigurationResponse', + 'SyncStatsResponse', + 'SystemDataResponse', + 'UserAssignedIdentityResponse', + 'UserRoleAssignmentResponse', +] + +@pulumi.output_type +class CatalogConflictErrorResponse(dict): + """ + An individual conflict error. + """ + def __init__(__self__, *, + name: str, + path: str): + """ + An individual conflict error. + :param str name: Name of the conflicting catalog item. + :param str path: The path of the file that has a conflicting name. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the conflicting catalog item. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def path(self) -> str: + """ + The path of the file that has a conflicting name. + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class CatalogErrorDetailsResponse(dict): + """ + Catalog error details + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + Catalog error details + :param str code: An identifier for the error. + :param str message: A message describing the error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + An identifier for the error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + A message describing the error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class CatalogSyncErrorResponse(dict): + """ + An individual synchronization error. + """ + def __init__(__self__, *, + error_details: Sequence['outputs.CatalogErrorDetailsResponse'], + path: str): + """ + An individual synchronization error. + :param Sequence['CatalogErrorDetailsResponse'] error_details: Errors associated with the file. + :param str path: The path of the file the error is associated with. + """ + pulumi.set(__self__, "error_details", error_details) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="errorDetails") + def error_details(self) -> Sequence['outputs.CatalogErrorDetailsResponse']: + """ + Errors associated with the file. + """ + return pulumi.get(self, "error_details") + + @property + @pulumi.getter + def path(self) -> str: + """ + The path of the file the error is associated with. + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class CustomerManagedKeyEncryptionResponse(dict): + """ + All Customer-managed key encryption properties for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyEncryptionKeyIdentity": + suggest = "key_encryption_key_identity" + elif key == "keyEncryptionKeyUrl": + suggest = "key_encryption_key_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomerManagedKeyEncryptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomerManagedKeyEncryptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomerManagedKeyEncryptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_encryption_key_identity: Optional['outputs.CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity'] = None, + key_encryption_key_url: Optional[str] = None): + """ + All Customer-managed key encryption properties for the resource. + :param 'CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity' key_encryption_key_identity: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + :param str key_encryption_key_url: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + """ + if key_encryption_key_identity is not None: + pulumi.set(__self__, "key_encryption_key_identity", key_encryption_key_identity) + if key_encryption_key_url is not None: + pulumi.set(__self__, "key_encryption_key_url", key_encryption_key_url) + + @property + @pulumi.getter(name="keyEncryptionKeyIdentity") + def key_encryption_key_identity(self) -> Optional['outputs.CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity']: + """ + All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + """ + return pulumi.get(self, "key_encryption_key_identity") + + @property + @pulumi.getter(name="keyEncryptionKeyUrl") + def key_encryption_key_url(self) -> Optional[str]: + """ + key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. + """ + return pulumi.get(self, "key_encryption_key_url") + + +@pulumi.output_type +class CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity(dict): + """ + All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "delegatedIdentityClientId": + suggest = "delegated_identity_client_id" + elif key == "identityType": + suggest = "identity_type" + elif key == "userAssignedIdentityResourceId": + suggest = "user_assigned_identity_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomerManagedKeyEncryptionResponseKeyEncryptionKeyIdentity.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + delegated_identity_client_id: Optional[str] = None, + identity_type: Optional[str] = None, + user_assigned_identity_resource_id: Optional[str] = None): + """ + All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. + :param str delegated_identity_client_id: delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + :param str identity_type: Values can be systemAssignedIdentity or userAssignedIdentity + :param str user_assigned_identity_resource_id: user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + """ + if delegated_identity_client_id is not None: + pulumi.set(__self__, "delegated_identity_client_id", delegated_identity_client_id) + if identity_type is not None: + pulumi.set(__self__, "identity_type", identity_type) + if user_assigned_identity_resource_id is not None: + pulumi.set(__self__, "user_assigned_identity_resource_id", user_assigned_identity_resource_id) + + @property + @pulumi.getter(name="delegatedIdentityClientId") + def delegated_identity_client_id(self) -> Optional[str]: + """ + delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. + """ + return pulumi.get(self, "delegated_identity_client_id") + + @property + @pulumi.getter(name="identityType") + def identity_type(self) -> Optional[str]: + """ + Values can be systemAssignedIdentity or userAssignedIdentity + """ + return pulumi.get(self, "identity_type") + + @property + @pulumi.getter(name="userAssignedIdentityResourceId") + def user_assigned_identity_resource_id(self) -> Optional[str]: + """ + user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. + """ + return pulumi.get(self, "user_assigned_identity_resource_id") + + +@pulumi.output_type +class EncryptionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "customerManagedKeyEncryption": + suggest = "customer_managed_key_encryption" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EncryptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EncryptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EncryptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + customer_managed_key_encryption: Optional['outputs.CustomerManagedKeyEncryptionResponse'] = None): + """ + :param 'CustomerManagedKeyEncryptionResponse' customer_managed_key_encryption: All Customer-managed key encryption properties for the resource. + """ + if customer_managed_key_encryption is not None: + pulumi.set(__self__, "customer_managed_key_encryption", customer_managed_key_encryption) + + @property + @pulumi.getter(name="customerManagedKeyEncryption") + def customer_managed_key_encryption(self) -> Optional['outputs.CustomerManagedKeyEncryptionResponse']: + """ + All Customer-managed key encryption properties for the resource. + """ + return pulumi.get(self, "customer_managed_key_encryption") + + +@pulumi.output_type +class EnvironmentRoleResponse(dict): + """ + A role that can be assigned to a user. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "roleName": + suggest = "role_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EnvironmentRoleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EnvironmentRoleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EnvironmentRoleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: str, + role_name: str): + """ + A role that can be assigned to a user. + :param str description: This is a description of the Role Assignment. + :param str role_name: The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "role_name", role_name) + + @property + @pulumi.getter + def description(self) -> str: + """ + This is a description of the Role Assignment. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> str: + """ + The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'. + """ + return pulumi.get(self, "role_name") + + +@pulumi.output_type +class GitCatalogResponse(dict): + """ + Properties for a Git repository catalog. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "secretIdentifier": + suggest = "secret_identifier" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GitCatalogResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GitCatalogResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GitCatalogResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + branch: Optional[str] = None, + path: Optional[str] = None, + secret_identifier: Optional[str] = None, + uri: Optional[str] = None): + """ + Properties for a Git repository catalog. + :param str branch: Git branch. + :param str path: The folder where the catalog items can be found inside the repository. + :param str secret_identifier: A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + :param str uri: Git URI. + """ + if branch is not None: + pulumi.set(__self__, "branch", branch) + if path is not None: + pulumi.set(__self__, "path", path) + if secret_identifier is not None: + pulumi.set(__self__, "secret_identifier", secret_identifier) + if uri is not None: + pulumi.set(__self__, "uri", uri) + + @property + @pulumi.getter + def branch(self) -> Optional[str]: + """ + Git branch. + """ + return pulumi.get(self, "branch") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The folder where the catalog items can be found inside the repository. + """ + return pulumi.get(self, "path") + + @property + @pulumi.getter(name="secretIdentifier") + def secret_identifier(self) -> Optional[str]: + """ + A reference to the Key Vault secret containing a security token to authenticate to a Git repository. + """ + return pulumi.get(self, "secret_identifier") + + @property + @pulumi.getter + def uri(self) -> Optional[str]: + """ + Git URI. + """ + return pulumi.get(self, "uri") + + +@pulumi.output_type +class HealthStatusDetailResponse(dict): + """ + Pool health status detail. + """ + def __init__(__self__, *, + code: str, + message: str): + """ + Pool health status detail. + :param str code: An identifier for the issue. + :param str message: A message describing the issue, intended to be suitable for display in a user interface + """ + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> str: + """ + An identifier for the issue. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> str: + """ + A message describing the issue, intended to be suitable for display in a user interface + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class ImageReferenceResponse(dict): + """ + Image reference information + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "exactVersion": + suggest = "exact_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ImageReferenceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ImageReferenceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ImageReferenceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + exact_version: str, + id: Optional[str] = None): + """ + Image reference information + :param str exact_version: The actual version of the image after use. When id references a gallery image latest version, this will indicate the actual version in use. + :param str id: Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + """ + pulumi.set(__self__, "exact_version", exact_version) + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter(name="exactVersion") + def exact_version(self) -> str: + """ + The actual version of the image after use. When id references a gallery image latest version, this will indicate the actual version in use. + """ + return pulumi.get(self, "exact_version") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Image ID, or Image version ID. When Image ID is provided, its latest version will be used. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class ImageValidationErrorDetailsResponse(dict): + """ + Image validation error details + """ + def __init__(__self__, *, + code: Optional[str] = None, + message: Optional[str] = None): + """ + Image validation error details + :param str code: An identifier for the error. + :param str message: A message describing the error. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + An identifier for the error. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + A message describing the error. + """ + return pulumi.get(self, "message") + + +@pulumi.output_type +class ManagedServiceIdentityResponse(dict): + """ + Managed service identity (system assigned and/or user assigned identities) + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param str principal_id: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str tenant_id: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param Mapping[str, 'UserAssignedIdentityResponse'] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment(dict): + """ + The role definition assigned to the environment creator on backing resources. + """ + def __init__(__self__, *, + roles: Optional[Mapping[str, 'outputs.EnvironmentRoleResponse']] = None): + """ + The role definition assigned to the environment creator on backing resources. + :param Mapping[str, 'EnvironmentRoleResponse'] roles: A map of roles to assign to the environment creator. + """ + if roles is not None: + pulumi.set(__self__, "roles", roles) + + @property + @pulumi.getter + def roles(self) -> Optional[Mapping[str, 'outputs.EnvironmentRoleResponse']]: + """ + A map of roles to assign to the environment creator. + """ + return pulumi.get(self, "roles") + + +@pulumi.output_type +class SkuResponse(dict): + """ + The resource model definition representing SKU + """ + def __init__(__self__, *, + name: str, + capacity: Optional[int] = None, + family: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None): + """ + The resource model definition representing SKU + :param str name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param int capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param str family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param str size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param str tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def capacity(self) -> Optional[int]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter + def family(self) -> Optional[str]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @property + @pulumi.getter + def size(self) -> Optional[str]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class StopOnDisconnectConfigurationResponse(dict): + """ + Stop on disconnect configuration settings for Dev Boxes created in this pool. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gracePeriodMinutes": + suggest = "grace_period_minutes" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StopOnDisconnectConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StopOnDisconnectConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StopOnDisconnectConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + grace_period_minutes: Optional[int] = None, + status: Optional[str] = None): + """ + Stop on disconnect configuration settings for Dev Boxes created in this pool. + :param int grace_period_minutes: The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + :param str status: Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + """ + if grace_period_minutes is not None: + pulumi.set(__self__, "grace_period_minutes", grace_period_minutes) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="gracePeriodMinutes") + def grace_period_minutes(self) -> Optional[int]: + """ + The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. + """ + return pulumi.get(self, "grace_period_minutes") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SyncStatsResponse(dict): + """ + Stats of the synchronization. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "synchronizationErrors": + suggest = "synchronization_errors" + elif key == "validationErrors": + suggest = "validation_errors" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SyncStatsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SyncStatsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SyncStatsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + added: int, + removed: int, + synchronization_errors: int, + unchanged: int, + updated: int, + validation_errors: int): + """ + Stats of the synchronization. + :param int added: Count of catalog items added during synchronization. + :param int removed: Count of catalog items removed during synchronization. + :param int synchronization_errors: Count of synchronization errors that occured during synchronization. + :param int unchanged: Count of catalog items that were unchanged during synchronization. + :param int updated: Count of catalog items updated during synchronization. + :param int validation_errors: Count of catalog items that had validation errors during synchronization. + """ + pulumi.set(__self__, "added", added) + pulumi.set(__self__, "removed", removed) + pulumi.set(__self__, "synchronization_errors", synchronization_errors) + pulumi.set(__self__, "unchanged", unchanged) + pulumi.set(__self__, "updated", updated) + pulumi.set(__self__, "validation_errors", validation_errors) + + @property + @pulumi.getter + def added(self) -> int: + """ + Count of catalog items added during synchronization. + """ + return pulumi.get(self, "added") + + @property + @pulumi.getter + def removed(self) -> int: + """ + Count of catalog items removed during synchronization. + """ + return pulumi.get(self, "removed") + + @property + @pulumi.getter(name="synchronizationErrors") + def synchronization_errors(self) -> int: + """ + Count of synchronization errors that occured during synchronization. + """ + return pulumi.get(self, "synchronization_errors") + + @property + @pulumi.getter + def unchanged(self) -> int: + """ + Count of catalog items that were unchanged during synchronization. + """ + return pulumi.get(self, "unchanged") + + @property + @pulumi.getter + def updated(self) -> int: + """ + Count of catalog items updated during synchronization. + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="validationErrors") + def validation_errors(self) -> int: + """ + Count of catalog items that had validation errors during synchronization. + """ + return pulumi.get(self, "validation_errors") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + User assigned identity properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + User assigned identity properties + :param str client_id: The client ID of the assigned identity. + :param str principal_id: The principal ID of the assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class UserRoleAssignmentResponse(dict): + """ + Mapping of user object ID to role assignments. + """ + def __init__(__self__, *, + roles: Optional[Mapping[str, 'outputs.EnvironmentRoleResponse']] = None): + """ + Mapping of user object ID to role assignments. + :param Mapping[str, 'EnvironmentRoleResponse'] roles: A map of roles to assign to the parent user. + """ + if roles is not None: + pulumi.set(__self__, "roles", roles) + + @property + @pulumi.getter + def roles(self) -> Optional[Mapping[str, 'outputs.EnvironmentRoleResponse']]: + """ + A map of roles to assign to the parent user. + """ + return pulumi.get(self, "roles") + + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/pool.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/pool.py new file mode 100644 index 000000000000..bbe7ce650e1f --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/pool.py @@ -0,0 +1,463 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PoolArgs', 'Pool'] + +@pulumi.input_type +class PoolArgs: + def __init__(__self__, *, + dev_box_definition_name: pulumi.Input[str], + license_type: pulumi.Input[Union[str, 'LicenseType']], + local_administrator: pulumi.Input[Union[str, 'LocalAdminStatus']], + network_connection_name: pulumi.Input[str], + project_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + location: Optional[pulumi.Input[str]] = None, + pool_name: Optional[pulumi.Input[str]] = None, + single_sign_on_status: Optional[pulumi.Input[Union[str, 'SingleSignOnStatus']]] = None, + stop_on_disconnect: Optional[pulumi.Input['StopOnDisconnectConfigurationArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Pool resource. + :param pulumi.Input[str] dev_box_definition_name: Name of a Dev Box definition in parent Project of this Pool + :param pulumi.Input[Union[str, 'LicenseType']] license_type: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + :param pulumi.Input[Union[str, 'LocalAdminStatus']] local_administrator: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + :param pulumi.Input[str] network_connection_name: Name of a Network Connection in parent Project of this Pool + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] pool_name: Name of the pool. + :param pulumi.Input[Union[str, 'SingleSignOnStatus']] single_sign_on_status: Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + :param pulumi.Input['StopOnDisconnectConfigurationArgs'] stop_on_disconnect: Stop on disconnect configuration settings for Dev Boxes created in this pool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "dev_box_definition_name", dev_box_definition_name) + pulumi.set(__self__, "license_type", license_type) + pulumi.set(__self__, "local_administrator", local_administrator) + pulumi.set(__self__, "network_connection_name", network_connection_name) + pulumi.set(__self__, "project_name", project_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if location is not None: + pulumi.set(__self__, "location", location) + if pool_name is not None: + pulumi.set(__self__, "pool_name", pool_name) + if single_sign_on_status is not None: + pulumi.set(__self__, "single_sign_on_status", single_sign_on_status) + if stop_on_disconnect is not None: + pulumi.set(__self__, "stop_on_disconnect", stop_on_disconnect) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="devBoxDefinitionName") + def dev_box_definition_name(self) -> pulumi.Input[str]: + """ + Name of a Dev Box definition in parent Project of this Pool + """ + return pulumi.get(self, "dev_box_definition_name") + + @dev_box_definition_name.setter + def dev_box_definition_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dev_box_definition_name", value) + + @property + @pulumi.getter(name="licenseType") + def license_type(self) -> pulumi.Input[Union[str, 'LicenseType']]: + """ + Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + """ + return pulumi.get(self, "license_type") + + @license_type.setter + def license_type(self, value: pulumi.Input[Union[str, 'LicenseType']]): + pulumi.set(self, "license_type", value) + + @property + @pulumi.getter(name="localAdministrator") + def local_administrator(self) -> pulumi.Input[Union[str, 'LocalAdminStatus']]: + """ + Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + """ + return pulumi.get(self, "local_administrator") + + @local_administrator.setter + def local_administrator(self, value: pulumi.Input[Union[str, 'LocalAdminStatus']]): + pulumi.set(self, "local_administrator", value) + + @property + @pulumi.getter(name="networkConnectionName") + def network_connection_name(self) -> pulumi.Input[str]: + """ + Name of a Network Connection in parent Project of this Pool + """ + return pulumi.get(self, "network_connection_name") + + @network_connection_name.setter + def network_connection_name(self, value: pulumi.Input[str]): + pulumi.set(self, "network_connection_name", value) + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> pulumi.Input[str]: + """ + The name of the project. + """ + return pulumi.get(self, "project_name") + + @project_name.setter + def project_name(self, value: pulumi.Input[str]): + pulumi.set(self, "project_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="poolName") + def pool_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the pool. + """ + return pulumi.get(self, "pool_name") + + @pool_name.setter + def pool_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pool_name", value) + + @property + @pulumi.getter(name="singleSignOnStatus") + def single_sign_on_status(self) -> Optional[pulumi.Input[Union[str, 'SingleSignOnStatus']]]: + """ + Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + """ + return pulumi.get(self, "single_sign_on_status") + + @single_sign_on_status.setter + def single_sign_on_status(self, value: Optional[pulumi.Input[Union[str, 'SingleSignOnStatus']]]): + pulumi.set(self, "single_sign_on_status", value) + + @property + @pulumi.getter(name="stopOnDisconnect") + def stop_on_disconnect(self) -> Optional[pulumi.Input['StopOnDisconnectConfigurationArgs']]: + """ + Stop on disconnect configuration settings for Dev Boxes created in this pool. + """ + return pulumi.get(self, "stop_on_disconnect") + + @stop_on_disconnect.setter + def stop_on_disconnect(self, value: Optional[pulumi.Input['StopOnDisconnectConfigurationArgs']]): + pulumi.set(self, "stop_on_disconnect", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Pool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + license_type: Optional[pulumi.Input[Union[str, 'LicenseType']]] = None, + local_administrator: Optional[pulumi.Input[Union[str, 'LocalAdminStatus']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_connection_name: Optional[pulumi.Input[str]] = None, + pool_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + single_sign_on_status: Optional[pulumi.Input[Union[str, 'SingleSignOnStatus']]] = None, + stop_on_disconnect: Optional[pulumi.Input[pulumi.InputType['StopOnDisconnectConfigurationArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + A pool of Virtual Machines. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] dev_box_definition_name: Name of a Dev Box definition in parent Project of this Pool + :param pulumi.Input[Union[str, 'LicenseType']] license_type: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + :param pulumi.Input[Union[str, 'LocalAdminStatus']] local_administrator: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] network_connection_name: Name of a Network Connection in parent Project of this Pool + :param pulumi.Input[str] pool_name: Name of the pool. + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'SingleSignOnStatus']] single_sign_on_status: Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + :param pulumi.Input[pulumi.InputType['StopOnDisconnectConfigurationArgs']] stop_on_disconnect: Stop on disconnect configuration settings for Dev Boxes created in this pool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A pool of Virtual Machines. + + :param str resource_name: The name of the resource. + :param PoolArgs 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(PoolArgs, 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, + dev_box_definition_name: Optional[pulumi.Input[str]] = None, + license_type: Optional[pulumi.Input[Union[str, 'LicenseType']]] = None, + local_administrator: Optional[pulumi.Input[Union[str, 'LocalAdminStatus']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_connection_name: Optional[pulumi.Input[str]] = None, + pool_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + single_sign_on_status: Optional[pulumi.Input[Union[str, 'SingleSignOnStatus']]] = None, + stop_on_disconnect: Optional[pulumi.Input[pulumi.InputType['StopOnDisconnectConfigurationArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PoolArgs.__new__(PoolArgs) + + if dev_box_definition_name is None and not opts.urn: + raise TypeError("Missing required property 'dev_box_definition_name'") + __props__.__dict__["dev_box_definition_name"] = dev_box_definition_name + if license_type is None and not opts.urn: + raise TypeError("Missing required property 'license_type'") + __props__.__dict__["license_type"] = license_type + if local_administrator is None and not opts.urn: + raise TypeError("Missing required property 'local_administrator'") + __props__.__dict__["local_administrator"] = local_administrator + __props__.__dict__["location"] = location + if network_connection_name is None and not opts.urn: + raise TypeError("Missing required property 'network_connection_name'") + __props__.__dict__["network_connection_name"] = network_connection_name + __props__.__dict__["pool_name"] = pool_name + if project_name is None and not opts.urn: + raise TypeError("Missing required property 'project_name'") + __props__.__dict__["project_name"] = project_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["single_sign_on_status"] = single_sign_on_status + __props__.__dict__["stop_on_disconnect"] = stop_on_disconnect + __props__.__dict__["tags"] = tags + __props__.__dict__["dev_box_count"] = None + __props__.__dict__["health_status"] = None + __props__.__dict__["health_status_details"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Pool"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Pool")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Pool, __self__).__init__( + 'azure-native:devcenter/v20230801preview:Pool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Pool': + """ + Get an existing Pool 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PoolArgs.__new__(PoolArgs) + + __props__.__dict__["dev_box_count"] = None + __props__.__dict__["dev_box_definition_name"] = None + __props__.__dict__["health_status"] = None + __props__.__dict__["health_status_details"] = None + __props__.__dict__["license_type"] = None + __props__.__dict__["local_administrator"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_connection_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["single_sign_on_status"] = None + __props__.__dict__["stop_on_disconnect"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Pool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="devBoxCount") + def dev_box_count(self) -> pulumi.Output[int]: + """ + Indicates the number of provisioned Dev Boxes in this pool. + """ + return pulumi.get(self, "dev_box_count") + + @property + @pulumi.getter(name="devBoxDefinitionName") + def dev_box_definition_name(self) -> pulumi.Output[str]: + """ + Name of a Dev Box definition in parent Project of this Pool + """ + return pulumi.get(self, "dev_box_definition_name") + + @property + @pulumi.getter(name="healthStatus") + def health_status(self) -> pulumi.Output[str]: + """ + Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. + """ + return pulumi.get(self, "health_status") + + @property + @pulumi.getter(name="healthStatusDetails") + def health_status_details(self) -> pulumi.Output[Sequence['outputs.HealthStatusDetailResponse']]: + """ + Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state + """ + return pulumi.get(self, "health_status_details") + + @property + @pulumi.getter(name="licenseType") + def license_type(self) -> pulumi.Output[str]: + """ + Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. + """ + return pulumi.get(self, "license_type") + + @property + @pulumi.getter(name="localAdministrator") + def local_administrator(self) -> pulumi.Output[str]: + """ + Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. + """ + return pulumi.get(self, "local_administrator") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkConnectionName") + def network_connection_name(self) -> pulumi.Output[str]: + """ + Name of a Network Connection in parent Project of this Pool + """ + return pulumi.get(self, "network_connection_name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="singleSignOnStatus") + def single_sign_on_status(self) -> pulumi.Output[Optional[str]]: + """ + Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. + """ + return pulumi.get(self, "single_sign_on_status") + + @property + @pulumi.getter(name="stopOnDisconnect") + def stop_on_disconnect(self) -> pulumi.Output[Optional['outputs.StopOnDisconnectConfigurationResponse']]: + """ + Stop on disconnect configuration settings for Dev Boxes created in this pool. + """ + return pulumi.get(self, "stop_on_disconnect") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/project.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/project.py new file mode 100644 index 000000000000..59e28acc36bb --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/project.py @@ -0,0 +1,329 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['ProjectArgs', 'Project'] + +@pulumi.input_type +class ProjectArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + dev_center_id: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + max_dev_boxes_per_user: Optional[pulumi.Input[int]] = None, + project_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Project resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] description: Description of the project. + :param pulumi.Input[str] dev_center_id: Resource Id of an associated DevCenter + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[int] max_dev_boxes_per_user: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if description is not None: + pulumi.set(__self__, "description", description) + if dev_center_id is not None: + pulumi.set(__self__, "dev_center_id", dev_center_id) + if location is not None: + pulumi.set(__self__, "location", location) + if max_dev_boxes_per_user is not None: + pulumi.set(__self__, "max_dev_boxes_per_user", max_dev_boxes_per_user) + if project_name is not None: + pulumi.set(__self__, "project_name", project_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 description(self) -> Optional[pulumi.Input[str]]: + """ + Description of the project. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="devCenterId") + def dev_center_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource Id of an associated DevCenter + """ + return pulumi.get(self, "dev_center_id") + + @dev_center_id.setter + def dev_center_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dev_center_id", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="maxDevBoxesPerUser") + def max_dev_boxes_per_user(self) -> Optional[pulumi.Input[int]]: + """ + When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + """ + return pulumi.get(self, "max_dev_boxes_per_user") + + @max_dev_boxes_per_user.setter + def max_dev_boxes_per_user(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_dev_boxes_per_user", value) + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the project. + """ + return pulumi.get(self, "project_name") + + @project_name.setter + def project_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 Project(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + dev_center_id: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + max_dev_boxes_per_user: Optional[pulumi.Input[int]] = None, + project_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): + """ + Represents a project resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: Description of the project. + :param pulumi.Input[str] dev_center_id: Resource Id of an associated DevCenter + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[int] max_dev_boxes_per_user: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ProjectArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a project resource. + + :param str resource_name: The name of the resource. + :param ProjectArgs 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(ProjectArgs, 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, + description: Optional[pulumi.Input[str]] = None, + dev_center_id: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + max_dev_boxes_per_user: Optional[pulumi.Input[int]] = None, + project_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): + 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__ = ProjectArgs.__new__(ProjectArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["dev_center_id"] = dev_center_id + __props__.__dict__["location"] = location + __props__.__dict__["max_dev_boxes_per_user"] = max_dev_boxes_per_user + __props__.__dict__["project_name"] = project_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["dev_center_uri"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Project"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Project")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Project, __self__).__init__( + 'azure-native:devcenter/v20230801preview:Project', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Project': + """ + Get an existing Project 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ProjectArgs.__new__(ProjectArgs) + + __props__.__dict__["description"] = None + __props__.__dict__["dev_center_id"] = None + __props__.__dict__["dev_center_uri"] = None + __props__.__dict__["location"] = None + __props__.__dict__["max_dev_boxes_per_user"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Project(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of the project. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="devCenterId") + def dev_center_id(self) -> pulumi.Output[Optional[str]]: + """ + Resource Id of an associated DevCenter + """ + return pulumi.get(self, "dev_center_id") + + @property + @pulumi.getter(name="devCenterUri") + def dev_center_uri(self) -> pulumi.Output[str]: + """ + The URI of the Dev Center resource this project is associated with. + """ + return pulumi.get(self, "dev_center_uri") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="maxDevBoxesPerUser") + def max_dev_boxes_per_user(self) -> pulumi.Output[Optional[int]]: + """ + When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. + """ + return pulumi.get(self, "max_dev_boxes_per_user") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/project_environment_type.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/project_environment_type.py new file mode 100644 index 000000000000..06d57288a1f5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/project_environment_type.py @@ -0,0 +1,400 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ProjectEnvironmentTypeArgs', 'ProjectEnvironmentType'] + +@pulumi.input_type +class ProjectEnvironmentTypeArgs: + def __init__(__self__, *, + project_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + creator_role_assignment: Optional[pulumi.Input['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs']] = None, + deployment_target_id: Optional[pulumi.Input[str]] = None, + environment_type_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_role_assignments: Optional[pulumi.Input[Mapping[str, pulumi.Input['UserRoleAssignmentArgs']]]] = None): + """ + The set of arguments for constructing a ProjectEnvironmentType resource. + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs'] creator_role_assignment: The role definition assigned to the environment creator on backing resources. + :param pulumi.Input[str] deployment_target_id: Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + :param pulumi.Input[str] environment_type_name: The name of the environment type. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Managed identity properties + :param pulumi.Input[str] location: The geo-location for the environment type + :param pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']] status: Defines whether this Environment Type can be used in this Project. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Mapping[str, pulumi.Input['UserRoleAssignmentArgs']]] user_role_assignments: Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + """ + pulumi.set(__self__, "project_name", project_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if creator_role_assignment is not None: + pulumi.set(__self__, "creator_role_assignment", creator_role_assignment) + if deployment_target_id is not None: + pulumi.set(__self__, "deployment_target_id", deployment_target_id) + if environment_type_name is not None: + pulumi.set(__self__, "environment_type_name", environment_type_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if status is not None: + pulumi.set(__self__, "status", status) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if user_role_assignments is not None: + pulumi.set(__self__, "user_role_assignments", user_role_assignments) + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> pulumi.Input[str]: + """ + The name of the project. + """ + return pulumi.get(self, "project_name") + + @project_name.setter + def project_name(self, value: pulumi.Input[str]): + pulumi.set(self, "project_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="creatorRoleAssignment") + def creator_role_assignment(self) -> Optional[pulumi.Input['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs']]: + """ + The role definition assigned to the environment creator on backing resources. + """ + return pulumi.get(self, "creator_role_assignment") + + @creator_role_assignment.setter + def creator_role_assignment(self, value: Optional[pulumi.Input['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs']]): + pulumi.set(self, "creator_role_assignment", value) + + @property + @pulumi.getter(name="deploymentTargetId") + def deployment_target_id(self) -> Optional[pulumi.Input[str]]: + """ + Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + """ + return pulumi.get(self, "deployment_target_id") + + @deployment_target_id.setter + def deployment_target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deployment_target_id", value) + + @property + @pulumi.getter(name="environmentTypeName") + def environment_type_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the environment type. + """ + return pulumi.get(self, "environment_type_name") + + @environment_type_name.setter + def environment_type_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "environment_type_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Managed identity properties + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location for the environment type + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']]]: + """ + Defines whether this Environment Type can be used in this Project. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="userRoleAssignments") + def user_role_assignments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['UserRoleAssignmentArgs']]]]: + """ + Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + """ + return pulumi.get(self, "user_role_assignments") + + @user_role_assignments.setter + def user_role_assignments(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['UserRoleAssignmentArgs']]]]): + pulumi.set(self, "user_role_assignments", value) + + +class ProjectEnvironmentType(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + creator_role_assignment: Optional[pulumi.Input[pulumi.InputType['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs']]] = None, + deployment_target_id: Optional[pulumi.Input[str]] = None, + environment_type_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_role_assignments: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['UserRoleAssignmentArgs']]]]] = None, + __props__=None): + """ + Represents an environment type. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs']] creator_role_assignment: The role definition assigned to the environment creator on backing resources. + :param pulumi.Input[str] deployment_target_id: Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + :param pulumi.Input[str] environment_type_name: The name of the environment type. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Managed identity properties + :param pulumi.Input[str] location: The geo-location for the environment type + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']] status: Defines whether this Environment Type can be used in this Project. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['UserRoleAssignmentArgs']]]] user_role_assignments: Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ProjectEnvironmentTypeArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents an environment type. + + :param str resource_name: The name of the resource. + :param ProjectEnvironmentTypeArgs 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(ProjectEnvironmentTypeArgs, 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, + creator_role_assignment: Optional[pulumi.Input[pulumi.InputType['ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs']]] = None, + deployment_target_id: Optional[pulumi.Input[str]] = None, + environment_type_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'EnvironmentTypeEnableStatus']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_role_assignments: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['UserRoleAssignmentArgs']]]]] = 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__ = ProjectEnvironmentTypeArgs.__new__(ProjectEnvironmentTypeArgs) + + __props__.__dict__["creator_role_assignment"] = creator_role_assignment + __props__.__dict__["deployment_target_id"] = deployment_target_id + __props__.__dict__["environment_type_name"] = environment_type_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + if project_name is None and not opts.urn: + raise TypeError("Missing required property 'project_name'") + __props__.__dict__["project_name"] = project_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["status"] = status + __props__.__dict__["tags"] = tags + __props__.__dict__["user_role_assignments"] = user_role_assignments + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:ProjectEnvironmentType"), pulumi.Alias(type_="azure-native:devcenter/v20230401:ProjectEnvironmentType")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ProjectEnvironmentType, __self__).__init__( + 'azure-native:devcenter/v20230801preview:ProjectEnvironmentType', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ProjectEnvironmentType': + """ + Get an existing ProjectEnvironmentType 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ProjectEnvironmentTypeArgs.__new__(ProjectEnvironmentTypeArgs) + + __props__.__dict__["creator_role_assignment"] = None + __props__.__dict__["deployment_target_id"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["user_role_assignments"] = None + return ProjectEnvironmentType(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="creatorRoleAssignment") + def creator_role_assignment(self) -> pulumi.Output[Optional['outputs.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment']]: + """ + The role definition assigned to the environment creator on backing resources. + """ + return pulumi.get(self, "creator_role_assignment") + + @property + @pulumi.getter(name="deploymentTargetId") + def deployment_target_id(self) -> pulumi.Output[Optional[str]]: + """ + Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. + """ + return pulumi.get(self, "deployment_target_id") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Managed identity properties + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The geo-location for the environment type + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[Optional[str]]: + """ + Defines whether this Environment Type can be used in this Project. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userRoleAssignments") + def user_role_assignments(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.UserRoleAssignmentResponse']]]: + """ + Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. + """ + return pulumi.get(self, "user_role_assignments") + diff --git a/sdk/python/pulumi_azure_native/devcenter/v20230801preview/schedule.py b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/schedule.py new file mode 100644 index 000000000000..329e50852658 --- /dev/null +++ b/sdk/python/pulumi_azure_native/devcenter/v20230801preview/schedule.py @@ -0,0 +1,376 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['ScheduleArgs', 'Schedule'] + +@pulumi.input_type +class ScheduleArgs: + def __init__(__self__, *, + frequency: pulumi.Input[Union[str, 'ScheduledFrequency']], + pool_name: pulumi.Input[str], + project_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + time: pulumi.Input[str], + time_zone: pulumi.Input[str], + type: pulumi.Input[Union[str, 'ScheduledType']], + schedule_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[Union[str, 'ScheduleEnableStatus']]] = None, + top: Optional[pulumi.Input[int]] = None): + """ + The set of arguments for constructing a Schedule resource. + :param pulumi.Input[Union[str, 'ScheduledFrequency']] frequency: The frequency of this scheduled task. + :param pulumi.Input[str] pool_name: Name of the pool. + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] time: The target time to trigger the action. The format is HH:MM. + :param pulumi.Input[str] time_zone: The IANA timezone id at which the schedule should execute. + :param pulumi.Input[Union[str, 'ScheduledType']] type: Supported type this scheduled task represents. + :param pulumi.Input[str] schedule_name: The name of the schedule that uniquely identifies it. + :param pulumi.Input[Union[str, 'ScheduleEnableStatus']] state: Indicates whether or not this scheduled task is enabled. + :param pulumi.Input[int] top: The maximum number of resources to return from the operation. Example: '$top=10'. + """ + pulumi.set(__self__, "frequency", frequency) + pulumi.set(__self__, "pool_name", pool_name) + pulumi.set(__self__, "project_name", project_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "time", time) + pulumi.set(__self__, "time_zone", time_zone) + pulumi.set(__self__, "type", type) + if schedule_name is not None: + pulumi.set(__self__, "schedule_name", schedule_name) + if state is not None: + pulumi.set(__self__, "state", state) + if top is not None: + pulumi.set(__self__, "top", top) + + @property + @pulumi.getter + def frequency(self) -> pulumi.Input[Union[str, 'ScheduledFrequency']]: + """ + The frequency of this scheduled task. + """ + return pulumi.get(self, "frequency") + + @frequency.setter + def frequency(self, value: pulumi.Input[Union[str, 'ScheduledFrequency']]): + pulumi.set(self, "frequency", value) + + @property + @pulumi.getter(name="poolName") + def pool_name(self) -> pulumi.Input[str]: + """ + Name of the pool. + """ + return pulumi.get(self, "pool_name") + + @pool_name.setter + def pool_name(self, value: pulumi.Input[str]): + pulumi.set(self, "pool_name", value) + + @property + @pulumi.getter(name="projectName") + def project_name(self) -> pulumi.Input[str]: + """ + The name of the project. + """ + return pulumi.get(self, "project_name") + + @project_name.setter + def project_name(self, value: pulumi.Input[str]): + pulumi.set(self, "project_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 time(self) -> pulumi.Input[str]: + """ + The target time to trigger the action. The format is HH:MM. + """ + return pulumi.get(self, "time") + + @time.setter + def time(self, value: pulumi.Input[str]): + pulumi.set(self, "time", value) + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> pulumi.Input[str]: + """ + The IANA timezone id at which the schedule should execute. + """ + return pulumi.get(self, "time_zone") + + @time_zone.setter + def time_zone(self, value: pulumi.Input[str]): + pulumi.set(self, "time_zone", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ScheduledType']]: + """ + Supported type this scheduled task represents. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ScheduledType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="scheduleName") + def schedule_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the schedule that uniquely identifies it. + """ + return pulumi.get(self, "schedule_name") + + @schedule_name.setter + def schedule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schedule_name", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'ScheduleEnableStatus']]]: + """ + Indicates whether or not this scheduled task is enabled. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'ScheduleEnableStatus']]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def top(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of resources to return from the operation. Example: '$top=10'. + """ + return pulumi.get(self, "top") + + @top.setter + def top(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "top", value) + + +class Schedule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + frequency: Optional[pulumi.Input[Union[str, 'ScheduledFrequency']]] = None, + pool_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + schedule_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[Union[str, 'ScheduleEnableStatus']]] = None, + time: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + top: Optional[pulumi.Input[int]] = None, + type: Optional[pulumi.Input[Union[str, 'ScheduledType']]] = None, + __props__=None): + """ + Represents a Schedule to execute a task. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'ScheduledFrequency']] frequency: The frequency of this scheduled task. + :param pulumi.Input[str] pool_name: Name of the pool. + :param pulumi.Input[str] project_name: The name of the project. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] schedule_name: The name of the schedule that uniquely identifies it. + :param pulumi.Input[Union[str, 'ScheduleEnableStatus']] state: Indicates whether or not this scheduled task is enabled. + :param pulumi.Input[str] time: The target time to trigger the action. The format is HH:MM. + :param pulumi.Input[str] time_zone: The IANA timezone id at which the schedule should execute. + :param pulumi.Input[int] top: The maximum number of resources to return from the operation. Example: '$top=10'. + :param pulumi.Input[Union[str, 'ScheduledType']] type: Supported type this scheduled task represents. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScheduleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Schedule to execute a task. + + :param str resource_name: The name of the resource. + :param ScheduleArgs 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(ScheduleArgs, 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, + frequency: Optional[pulumi.Input[Union[str, 'ScheduledFrequency']]] = None, + pool_name: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + schedule_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[Union[str, 'ScheduleEnableStatus']]] = None, + time: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + top: Optional[pulumi.Input[int]] = None, + type: Optional[pulumi.Input[Union[str, 'ScheduledType']]] = 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__ = ScheduleArgs.__new__(ScheduleArgs) + + if frequency is None and not opts.urn: + raise TypeError("Missing required property 'frequency'") + __props__.__dict__["frequency"] = frequency + if pool_name is None and not opts.urn: + raise TypeError("Missing required property 'pool_name'") + __props__.__dict__["pool_name"] = pool_name + if project_name is None and not opts.urn: + raise TypeError("Missing required property 'project_name'") + __props__.__dict__["project_name"] = project_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["schedule_name"] = schedule_name + __props__.__dict__["state"] = state + if time is None and not opts.urn: + raise TypeError("Missing required property 'time'") + __props__.__dict__["time"] = time + if time_zone is None and not opts.urn: + raise TypeError("Missing required property 'time_zone'") + __props__.__dict__["time_zone"] = time_zone + __props__.__dict__["top"] = top + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:devcenter:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220801preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20220901preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221012preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20221111preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230101preview:Schedule"), pulumi.Alias(type_="azure-native:devcenter/v20230401:Schedule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Schedule, __self__).__init__( + 'azure-native:devcenter/v20230801preview:Schedule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Schedule': + """ + Get an existing Schedule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ScheduleArgs.__new__(ScheduleArgs) + + __props__.__dict__["frequency"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["time"] = None + __props__.__dict__["time_zone"] = None + __props__.__dict__["type"] = None + return Schedule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def frequency(self) -> pulumi.Output[str]: + """ + The frequency of this scheduled task. + """ + return pulumi.get(self, "frequency") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[Optional[str]]: + """ + Indicates whether or not this scheduled task is enabled. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def time(self) -> pulumi.Output[str]: + """ + The target time to trigger the action. The format is HH:MM. + """ + return pulumi.get(self, "time") + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> pulumi.Output[str]: + """ + The IANA timezone id at which the schedule should execute. + """ + return pulumi.get(self, "time_zone") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/__init__.py b/sdk/python/pulumi_azure_native/documentdb/__init__.py index 09386be78ae7..c96c748286e2 100644 --- a/sdk/python/pulumi_azure_native/documentdb/__init__.py +++ b/sdk/python/pulumi_azure_native/documentdb/__init__.py @@ -77,10 +77,16 @@ v20230315preview = __v20230315preview import pulumi_azure_native.documentdb.v20230415 as __v20230415 v20230415 = __v20230415 + import pulumi_azure_native.documentdb.v20230915 as __v20230915 + v20230915 = __v20230915 + import pulumi_azure_native.documentdb.v20230915preview as __v20230915preview + v20230915preview = __v20230915preview else: v20210401preview = _utilities.lazy_import('pulumi_azure_native.documentdb.v20210401preview') v20210701preview = _utilities.lazy_import('pulumi_azure_native.documentdb.v20210701preview') v20230301preview = _utilities.lazy_import('pulumi_azure_native.documentdb.v20230301preview') v20230315preview = _utilities.lazy_import('pulumi_azure_native.documentdb.v20230315preview') v20230415 = _utilities.lazy_import('pulumi_azure_native.documentdb.v20230415') + v20230915 = _utilities.lazy_import('pulumi_azure_native.documentdb.v20230915') + v20230915preview = _utilities.lazy_import('pulumi_azure_native.documentdb.v20230915preview') diff --git a/sdk/python/pulumi_azure_native/documentdb/cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/cassandra_cluster.py index 44e8b9c72160..2ab0245366dc 100644 --- a/sdk/python/pulumi_azure_native/documentdb/cassandra_cluster.py +++ b/sdk/python/pulumi_azure_native/documentdb/cassandra_cluster.py @@ -192,7 +192,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraCluster, __self__).__init__( 'azure-native:documentdb:CassandraCluster', diff --git a/sdk/python/pulumi_azure_native/documentdb/cassandra_data_center.py b/sdk/python/pulumi_azure_native/documentdb/cassandra_data_center.py index 31dda8552bfd..bb69a691a882 100644 --- a/sdk/python/pulumi_azure_native/documentdb/cassandra_data_center.py +++ b/sdk/python/pulumi_azure_native/documentdb/cassandra_data_center.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["resource_group_name"] = resource_group_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraDataCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraDataCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraDataCenter, __self__).__init__( 'azure-native:documentdb:CassandraDataCenter', diff --git a/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_keyspace.py index b302fb85b2fa..42b1b336a62b 100644 --- a/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_keyspace.py +++ b/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_keyspace.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraKeyspace, __self__).__init__( 'azure-native:documentdb:CassandraResourceCassandraKeyspace', diff --git a/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_table.py index 7d011fa05fc9..2c8003721e59 100644 --- a/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_table.py +++ b/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_table.py @@ -234,7 +234,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraTable")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraTable, __self__).__init__( 'azure-native:documentdb:CassandraResourceCassandraTable', diff --git a/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_view.py b/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_view.py index 9b67f7f8c182..719c20fbc6dc 100644 --- a/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_view.py +++ b/sdk/python/pulumi_azure_native/documentdb/cassandra_resource_cassandra_view.py @@ -255,7 +255,7 @@ def _internal_init(__self__, __props__.__dict__["view_name"] = view_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraView")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraView")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraView, __self__).__init__( 'azure-native:documentdb:CassandraResourceCassandraView', diff --git a/sdk/python/pulumi_azure_native/documentdb/database_account.py b/sdk/python/pulumi_azure_native/documentdb/database_account.py index 35f78869f8c6..e9623d96c7dc 100644 --- a/sdk/python/pulumi_azure_native/documentdb/database_account.py +++ b/sdk/python/pulumi_azure_native/documentdb/database_account.py @@ -791,7 +791,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["write_locations"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:DatabaseAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabaseAccount, __self__).__init__( 'azure-native:documentdb:DatabaseAccount', diff --git a/sdk/python/pulumi_azure_native/documentdb/graph_resource_graph.py b/sdk/python/pulumi_azure_native/documentdb/graph_resource_graph.py index e3094c5a36d5..d1fd00b0b546 100644 --- a/sdk/python/pulumi_azure_native/documentdb/graph_resource_graph.py +++ b/sdk/python/pulumi_azure_native/documentdb/graph_resource_graph.py @@ -234,7 +234,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GraphResourceGraph")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GraphResourceGraph")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GraphResourceGraph, __self__).__init__( 'azure-native:documentdb:GraphResourceGraph', diff --git a/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_database.py index 063e1134248c..88a6b1b1d591 100644 --- a/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_database.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GremlinResourceGremlinDatabase, __self__).__init__( 'azure-native:documentdb:GremlinResourceGremlinDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_graph.py index 7f5a1f93b832..383351b84fd1 100644 --- a/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_graph.py +++ b/sdk/python/pulumi_azure_native/documentdb/gremlin_resource_gremlin_graph.py @@ -235,7 +235,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinGraph")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GremlinResourceGremlinGraph, __self__).__init__( 'azure-native:documentdb:GremlinResourceGremlinGraph', diff --git a/sdk/python/pulumi_azure_native/documentdb/mongo_cluster.py b/sdk/python/pulumi_azure_native/documentdb/mongo_cluster.py index 54c0d45634f1..e4bceea9a805 100644 --- a/sdk/python/pulumi_azure_native/documentdb/mongo_cluster.py +++ b/sdk/python/pulumi_azure_native/documentdb/mongo_cluster.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoCluster, __self__).__init__( 'azure-native:documentdb:MongoCluster', diff --git a/sdk/python/pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py b/sdk/python/pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py index 44ae2446a4da..145425e301ef 100644 --- a/sdk/python/pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py +++ b/sdk/python/pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoClusterFirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoClusterFirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoClusterFirewallRule, __self__).__init__( 'azure-native:documentdb:MongoClusterFirewallRule', diff --git a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_collection.py index e39307c4e5fe..69db1d14d7e5 100644 --- a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_collection.py +++ b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_collection.py @@ -234,7 +234,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoDBCollection, __self__).__init__( 'azure-native:documentdb:MongoDBResourceMongoDBCollection', diff --git a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_database.py index cd743fc31cff..046a140edc24 100644 --- a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_db_database.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoDBDatabase, __self__).__init__( 'azure-native:documentdb:MongoDBResourceMongoDBDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_role_definition.py index 6897394fcb82..56b01e9a99b8 100644 --- a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_role_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_role_definition.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["roles"] = roles __props__.__dict__["type"] = type __props__.__dict__["name"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoRoleDefinition, __self__).__init__( 'azure-native:documentdb:MongoDBResourceMongoRoleDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_user_definition.py b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_user_definition.py index bc43c82c34bb..be0566443084 100644 --- a/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_user_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/mongo_db_resource_mongo_user_definition.py @@ -252,7 +252,7 @@ def _internal_init(__self__, __props__.__dict__["user_name"] = user_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoUserDefinition, __self__).__init__( 'azure-native:documentdb:MongoDBResourceMongoUserDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/notebook_workspace.py b/sdk/python/pulumi_azure_native/documentdb/notebook_workspace.py index c4b3990a0886..6938042d8d96 100644 --- a/sdk/python/pulumi_azure_native/documentdb/notebook_workspace.py +++ b/sdk/python/pulumi_azure_native/documentdb/notebook_workspace.py @@ -132,7 +132,7 @@ def _internal_init(__self__, __props__.__dict__["notebook_server_endpoint"] = None __props__.__dict__["status"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:NotebookWorkspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:NotebookWorkspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NotebookWorkspace, __self__).__init__( 'azure-native:documentdb:NotebookWorkspace', diff --git a/sdk/python/pulumi_azure_native/documentdb/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/documentdb/private_endpoint_connection.py index 748f6ae20327..d46d6c0dca6c 100644 --- a/sdk/python/pulumi_azure_native/documentdb/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/documentdb/private_endpoint_connection.py @@ -212,7 +212,7 @@ def _internal_init(__self__, __props__.__dict__["resource_group_name"] = resource_group_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:documentdb:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/documentdb/service.py b/sdk/python/pulumi_azure_native/documentdb/service.py index 92747918bb9b..a6ae65e5beaa 100644 --- a/sdk/python/pulumi_azure_native/documentdb/service.py +++ b/sdk/python/pulumi_azure_native/documentdb/service.py @@ -193,7 +193,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["properties"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210401preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230415:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20210401preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230415:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230915:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:documentdb:Service', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_container.py index c75176c8ad59..311801171fd9 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_container.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_container.py @@ -235,7 +235,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlContainer, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlContainer', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_database.py index 9f70ec91503e..e5e5273ed607 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_database.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlDatabase, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_assignment.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_assignment.py index 2077448eedc0..3e6bc8fce9eb 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_assignment.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_assignment.py @@ -190,7 +190,7 @@ def _internal_init(__self__, __props__.__dict__["scope"] = scope __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlRoleAssignment, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlRoleAssignment', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_definition.py index 0ed3402b400b..d3805e116127 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_role_definition.py @@ -212,7 +212,7 @@ def _internal_init(__self__, __props__.__dict__["role_name"] = role_name __props__.__dict__["type"] = type __props__.__dict__["name"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlRoleDefinition, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlRoleDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_stored_procedure.py index 11c41b20b63b..9d4bed189d4b 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_stored_procedure.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_stored_procedure.py @@ -255,7 +255,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlStoredProcedure, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlStoredProcedure', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_trigger.py index e4fa2d37c624..137f85096f0c 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_trigger.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_trigger.py @@ -256,7 +256,7 @@ def _internal_init(__self__, __props__.__dict__["trigger_name"] = trigger_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlTrigger")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlTrigger, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlTrigger', diff --git a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_user_defined_function.py index bcbf264209f8..d1d4f1d0d042 100644 --- a/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_user_defined_function.py +++ b/sdk/python/pulumi_azure_native/documentdb/sql_resource_sql_user_defined_function.py @@ -255,7 +255,7 @@ def _internal_init(__self__, __props__.__dict__["user_defined_function_name"] = user_defined_function_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlUserDefinedFunction, __self__).__init__( 'azure-native:documentdb:SqlResourceSqlUserDefinedFunction', diff --git a/sdk/python/pulumi_azure_native/documentdb/table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/table_resource_table.py index ea60f1f04094..6f24a930a1a3 100644 --- a/sdk/python/pulumi_azure_native/documentdb/table_resource_table.py +++ b/sdk/python/pulumi_azure_native/documentdb/table_resource_table.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:TableResourceTable")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:TableResourceTable")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TableResourceTable, __self__).__init__( 'azure-native:documentdb:TableResourceTable', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20210401preview/database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20210401preview/database_account.py index 2b2eb5a62047..6f45e41df426 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20210401preview/database_account.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20210401preview/database_account.py @@ -247,7 +247,7 @@ def _internal_init(__self__, __props__.__dict__["type"] = None __props__.__dict__["virtual_network_rules"] = None __props__.__dict__["write_locations"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:DatabaseAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabaseAccount, __self__).__init__( 'azure-native:documentdb/v20210401preview:DatabaseAccount', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20210701preview/cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20210701preview/cassandra_cluster.py index cadee17457f3..db5ffda0e494 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20210701preview/cassandra_cluster.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20210701preview/cassandra_cluster.py @@ -190,7 +190,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraCluster, __self__).__init__( 'azure-native:documentdb/v20210701preview:CassandraCluster', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230301preview/mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230301preview/mongo_db_resource_mongo_role_definition.py index 3e8c463fa868..eb6e662de99c 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230301preview/mongo_db_resource_mongo_role_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230301preview/mongo_db_resource_mongo_role_definition.py @@ -229,7 +229,7 @@ def _internal_init(__self__, __props__.__dict__["roles"] = roles __props__.__dict__["type"] = type __props__.__dict__["name"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoRoleDefinition, __self__).__init__( 'azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_keyspace.py index e2001006d34d..9097998b5731 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_keyspace.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_keyspace.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraKeyspace, __self__).__init__( 'azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_table.py index f865f16c79d4..13333c2aea0e 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_table.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_table.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraTable")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraTable, __self__).__init__( 'azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_view.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_view.py index 5340f218539f..dbe8079986c3 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_view.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/cassandra_resource_cassandra_view.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["view_name"] = view_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraView")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraView")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraView, __self__).__init__( 'azure-native:documentdb/v20230315preview:CassandraResourceCassandraView', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/database_account.py index 3b8bd8c44ceb..399a9181b100 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/database_account.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/database_account.py @@ -849,7 +849,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["write_locations"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:DatabaseAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabaseAccount, __self__).__init__( 'azure-native:documentdb/v20230315preview:DatabaseAccount', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/graph_resource_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/graph_resource_graph.py index d1f28830a06a..6607762237ec 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/graph_resource_graph.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/graph_resource_graph.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GraphResourceGraph")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GraphResourceGraph")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GraphResourceGraph, __self__).__init__( 'azure-native:documentdb/v20230315preview:GraphResourceGraph', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_database.py index a455d1951b3d..b615eba77425 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_database.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GremlinResourceGremlinDatabase, __self__).__init__( 'azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_graph.py index 1c62da9704ad..d00ecf079079 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_graph.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/gremlin_resource_gremlin_graph.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinGraph")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GremlinResourceGremlinGraph, __self__).__init__( 'azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py index 86c2240f2fb0..38798c080213 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py @@ -279,7 +279,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoCluster, __self__).__init__( 'azure-native:documentdb/v20230315preview:MongoCluster', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py index 4c369bfccc87..4dafadf32c3f 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoClusterFirewallRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoClusterFirewallRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoClusterFirewallRule, __self__).__init__( 'azure-native:documentdb/v20230315preview:MongoClusterFirewallRule', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_collection.py index e77d1dee0d0f..a47f4fc412c9 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_collection.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_collection.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoDBCollection, __self__).__init__( 'azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_database.py index 84a4cdb457c7..e62ad882d3f5 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/mongo_db_resource_mongo_db_database.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoDBDatabase, __self__).__init__( 'azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_container.py index 3b5f876a11a0..dedd0b2eaa7a 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_container.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_container.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlContainer, __self__).__init__( 'azure-native:documentdb/v20230315preview:SqlResourceSqlContainer', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_database.py index 4a209281ae23..8c63fd61bf65 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_database.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlDatabase, __self__).__init__( 'azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_stored_procedure.py index 08835194f9f8..0fa11241bbcf 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_stored_procedure.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_stored_procedure.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlStoredProcedure, __self__).__init__( 'azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_trigger.py index fae783d895ee..8f165623b9e9 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_trigger.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_trigger.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["trigger_name"] = trigger_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlTrigger")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlTrigger, __self__).__init__( 'azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_user_defined_function.py index aaf578d7e0bc..84aceef2bb22 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_user_defined_function.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/sql_resource_sql_user_defined_function.py @@ -274,7 +274,7 @@ def _internal_init(__self__, __props__.__dict__["user_defined_function_name"] = user_defined_function_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlUserDefinedFunction, __self__).__init__( 'azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/table_resource_table.py index 0d70179337f8..d4377018ac7e 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230315preview/table_resource_table.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230315preview/table_resource_table.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:TableResourceTable")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:TableResourceTable")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TableResourceTable, __self__).__init__( 'azure-native:documentdb/v20230315preview:TableResourceTable', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_cluster.py index 675a3a323653..7fecd7a4c413 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_cluster.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_cluster.py @@ -190,7 +190,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraCluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraCluster, __self__).__init__( 'azure-native:documentdb/v20230415:CassandraCluster', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_data_center.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_data_center.py index 314f427a9583..b021761e88ad 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_data_center.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_data_center.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["resource_group_name"] = resource_group_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraDataCenter")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraDataCenter")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraDataCenter, __self__).__init__( 'azure-native:documentdb/v20230415:CassandraDataCenter', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_keyspace.py index 4c79a9c800fa..ab3662df2a85 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_keyspace.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_keyspace.py @@ -211,7 +211,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraKeyspace, __self__).__init__( 'azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_table.py index eab7f9b4afab..d889a8d02bf5 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_table.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/cassandra_resource_cassandra_table.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CassandraResourceCassandraTable, __self__).__init__( 'azure-native:documentdb/v20230415:CassandraResourceCassandraTable', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/database_account.py index 4009dcc05a88..4d1739d805c1 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/database_account.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/database_account.py @@ -789,7 +789,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["write_locations"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:DatabaseAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabaseAccount, __self__).__init__( 'azure-native:documentdb/v20230415:DatabaseAccount', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_database.py index 52a13ae1bca6..e78be2becad3 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_database.py @@ -211,7 +211,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GremlinResourceGremlinDatabase, __self__).__init__( 'azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_graph.py index 23b1ecad5168..d6e055be303f 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_graph.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/gremlin_resource_gremlin_graph.py @@ -233,7 +233,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GremlinResourceGremlinGraph, __self__).__init__( 'azure-native:documentdb/v20230415:GremlinResourceGremlinGraph', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_collection.py index 567db1a0ad93..2d20325aecca 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_collection.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_collection.py @@ -232,7 +232,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoDBCollection, __self__).__init__( 'azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_database.py index 0dbb5846c6e1..7a95df5daabb 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_db_database.py @@ -211,7 +211,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoDBDatabase, __self__).__init__( 'azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_role_definition.py index e2aa6321d37e..7f53cc89b65a 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_role_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_role_definition.py @@ -230,7 +230,7 @@ def _internal_init(__self__, __props__.__dict__["roles"] = roles __props__.__dict__["type"] = type __props__.__dict__["name"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoRoleDefinition, __self__).__init__( 'azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_user_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_user_definition.py index 5d89d915bfb6..84652fa21e5d 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_user_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/mongo_db_resource_mongo_user_definition.py @@ -250,7 +250,7 @@ def _internal_init(__self__, __props__.__dict__["user_name"] = user_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MongoDBResourceMongoUserDefinition, __self__).__init__( 'azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/notebook_workspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/notebook_workspace.py index 66c84b5e407e..5fc97fbe776e 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/notebook_workspace.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/notebook_workspace.py @@ -130,7 +130,7 @@ def _internal_init(__self__, __props__.__dict__["notebook_server_endpoint"] = None __props__.__dict__["status"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:NotebookWorkspace")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:NotebookWorkspace")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NotebookWorkspace, __self__).__init__( 'azure-native:documentdb/v20230415:NotebookWorkspace', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/private_endpoint_connection.py index e94f1c6a90d4..cf1081d53190 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/private_endpoint_connection.py @@ -210,7 +210,7 @@ def _internal_init(__self__, __props__.__dict__["resource_group_name"] = resource_group_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20190801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20190801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:documentdb/v20230415:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/service.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/service.py index 9f0414d8780a..63508d5cadc6 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/service.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/service.py @@ -191,7 +191,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["properties"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230915:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:documentdb/v20230415:Service', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_container.py index c17f01d3fc1a..b8e268ffabad 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_container.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_container.py @@ -233,7 +233,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlContainer, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlContainer', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_database.py index 73278da3e003..0ba2e1cd032c 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_database.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_database.py @@ -211,7 +211,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlDatabase, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlDatabase', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_assignment.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_assignment.py index d4fbf5d6bbc7..ffd5ed19a69b 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_assignment.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_assignment.py @@ -188,7 +188,7 @@ def _internal_init(__self__, __props__.__dict__["scope"] = scope __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlRoleAssignment, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_definition.py index 94c500d04528..4be755c78020 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_definition.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_role_definition.py @@ -210,7 +210,7 @@ def _internal_init(__self__, __props__.__dict__["role_name"] = role_name __props__.__dict__["type"] = type __props__.__dict__["name"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlRoleDefinition, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_stored_procedure.py index 8c3a89c3a39d..d400f45ae339 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_stored_procedure.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_stored_procedure.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlStoredProcedure, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_trigger.py index 8fb01e3a84e0..4e5b5b96a5ad 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_trigger.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_trigger.py @@ -254,7 +254,7 @@ def _internal_init(__self__, __props__.__dict__["trigger_name"] = trigger_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlTrigger, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlTrigger', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_user_defined_function.py index 489e4009f5cd..f91789adfc64 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_user_defined_function.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/sql_resource_sql_user_defined_function.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["user_defined_function_name"] = user_defined_function_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SqlResourceSqlUserDefinedFunction, __self__).__init__( 'azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230415/table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230415/table_resource_table.py index 2c38151e8765..eeddd398f650 100644 --- a/sdk/python/pulumi_azure_native/documentdb/v20230415/table_resource_table.py +++ b/sdk/python/pulumi_azure_native/documentdb/v20230415/table_resource_table.py @@ -211,7 +211,7 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:TableResourceTable")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:TableResourceTable")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TableResourceTable, __self__).__init__( 'azure-native:documentdb/v20230415:TableResourceTable', diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/__init__.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/__init__.py new file mode 100644 index 000000000000..ddfc22963784 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/__init__.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .cassandra_cluster import * +from .cassandra_data_center import * +from .cassandra_resource_cassandra_keyspace import * +from .cassandra_resource_cassandra_table import * +from .database_account import * +from .get_cassandra_cluster import * +from .get_cassandra_data_center import * +from .get_cassandra_resource_cassandra_keyspace import * +from .get_cassandra_resource_cassandra_table import * +from .get_database_account import * +from .get_gremlin_resource_gremlin_database import * +from .get_gremlin_resource_gremlin_graph import * +from .get_mongo_db_resource_mongo_db_collection import * +from .get_mongo_db_resource_mongo_db_database import * +from .get_mongo_db_resource_mongo_role_definition import * +from .get_mongo_db_resource_mongo_user_definition import * +from .get_notebook_workspace import * +from .get_private_endpoint_connection import * +from .get_service import * +from .get_sql_resource_sql_container import * +from .get_sql_resource_sql_database import * +from .get_sql_resource_sql_role_assignment import * +from .get_sql_resource_sql_role_definition import * +from .get_sql_resource_sql_stored_procedure import * +from .get_sql_resource_sql_trigger import * +from .get_sql_resource_sql_user_defined_function import * +from .get_table_resource_table import * +from .gremlin_resource_gremlin_database import * +from .gremlin_resource_gremlin_graph import * +from .list_database_account_connection_strings import * +from .list_database_account_keys import * +from .list_notebook_workspace_connection_info import * +from .mongo_db_resource_mongo_db_collection import * +from .mongo_db_resource_mongo_db_database import * +from .mongo_db_resource_mongo_role_definition import * +from .mongo_db_resource_mongo_user_definition import * +from .notebook_workspace import * +from .private_endpoint_connection import * +from .service import * +from .sql_resource_sql_container import * +from .sql_resource_sql_database import * +from .sql_resource_sql_role_assignment import * +from .sql_resource_sql_role_definition import * +from .sql_resource_sql_stored_procedure import * +from .sql_resource_sql_trigger import * +from .sql_resource_sql_user_defined_function import * +from .table_resource_table import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/_enums.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/_enums.py new file mode 100644 index 000000000000..d4e157b2f61d --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/_enums.py @@ -0,0 +1,344 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AnalyticalStorageSchemaType', + 'AuthenticationMethod', + 'BackupPolicyMigrationStatus', + 'BackupPolicyType', + 'BackupStorageRedundancy', + 'CompositePathSortOrder', + 'ConflictResolutionMode', + 'ConnectorOffer', + 'ContinuousTier', + 'CreateMode', + 'CustomerManagedKeyStatus', + 'DataType', + 'DatabaseAccountKind', + 'DatabaseAccountOfferType', + 'DefaultConsistencyLevel', + 'IndexKind', + 'IndexingMode', + 'ManagedCassandraProvisioningState', + 'ManagedCassandraResourceIdentityType', + 'MinimalTlsVersion', + 'MongoRoleDefinitionType', + 'NetworkAclBypass', + 'PartitionKind', + 'PublicNetworkAccess', + 'ResourceIdentityType', + 'RestoreMode', + 'RoleDefinitionType', + 'ServerVersion', + 'ServiceSize', + 'ServiceType', + 'SpatialType', + 'TriggerOperation', + 'TriggerType', +] + + +class AnalyticalStorageSchemaType(str, Enum): + """ + Describes the types of schema for analytical storage. + """ + WELL_DEFINED = "WellDefined" + FULL_FIDELITY = "FullFidelity" + + +class AuthenticationMethod(str, Enum): + """ + Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + """ + NONE = "None" + CASSANDRA = "Cassandra" + LDAP = "Ldap" + + +class BackupPolicyMigrationStatus(str, Enum): + """ + Describes the status of migration between backup policy types. + """ + INVALID = "Invalid" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + + +class BackupPolicyType(str, Enum): + """ + Describes the mode of backups. + """ + PERIODIC = "Periodic" + CONTINUOUS = "Continuous" + + +class BackupStorageRedundancy(str, Enum): + """ + Enum to indicate type of backup residency + """ + GEO = "Geo" + LOCAL = "Local" + ZONE = "Zone" + + +class CompositePathSortOrder(str, Enum): + """ + Sort order for composite paths. + """ + ASCENDING = "ascending" + DESCENDING = "descending" + + +class ConflictResolutionMode(str, Enum): + """ + Indicates the conflict resolution mode. + """ + LAST_WRITER_WINS = "LastWriterWins" + CUSTOM = "Custom" + + +class ConnectorOffer(str, Enum): + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + SMALL = "Small" + + +class ContinuousTier(str, Enum): + """ + Enum to indicate type of Continuous backup mode + """ + CONTINUOUS7_DAYS = "Continuous7Days" + CONTINUOUS30_DAYS = "Continuous30Days" + + +class CreateMode(str, Enum): + """ + Enum to indicate the mode of account creation. + """ + DEFAULT = "Default" + RESTORE = "Restore" + + +class CustomerManagedKeyStatus(str, Enum): + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_SERVICE_IS_UNABLE_TO_OBTAIN_THE_AA_D_AUTHENTICATION_TOKEN_FOR_THE_ACCOUNT_S_DEFAULT_IDENTITY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_AZURE_ACTIVE_DIRECTORY_TOKEN_ACQUISITION_ERROR_4000_ = "Access to your account is currently revoked because the Azure Cosmos DB service is unable to obtain the AAD authentication token for the account's default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-active-directory-token-acquisition-error (4000)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_ACCOUNT_S_KEY_VAULT_KEY_UR_I_DOES_NOT_FOLLOW_THE_EXPECTED_FORMAT_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_IMPROPER_SYNTAX_DETECTED_ON_THE_KEY_VAULT_URI_PROPERTY_4006_ = "Access to your account is currently revoked because the Azure Cosmos DB account's key vault key URI does not follow the expected format; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#improper-syntax-detected-on-the-key-vault-uri-property (4006)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_CURRENT_DEFAULT_IDENTITY_NO_LONGER_HAS_PERMISSION_TO_THE_ASSOCIATED_KEY_VAULT_KEY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_DEFAULT_IDENTITY_IS_UNAUTHORIZED_TO_ACCESS_THE_AZURE_KEY_VAULT_KEY_4002_ = "Access to your account is currently revoked because the current default identity no longer has permission to the associated Key Vault key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#default-identity-is-unauthorized-to-access-the-azure-key-vault-key (4002)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_KEY_VAULT_DN_S_NAME_SPECIFIED_BY_THE_ACCOUNT_S_KEYVAULTKEYURI_PROPERTY_COULD_NOT_BE_RESOLVED_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_UNABLE_TO_RESOLVE_THE_KEY_VAULTS_DNS_4009_ = "Access to your account is currently revoked because the Azure Key Vault DNS name specified by the account's keyvaultkeyuri property could not be resolved; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#unable-to-resolve-the-key-vaults-dns (4009)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_CORRESPONDENT_KEY_IS_NOT_FOUND_ON_THE_SPECIFIED_KEY_VAULT_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_AZURE_KEY_VAULT_RESOURCE_NOT_FOUND_4003_ = "Access to your account is currently revoked because the correspondent key is not found on the specified Key Vault; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4003)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_SERVICE_IS_UNABLE_TO_WRAP_OR_UNWRAP_THE_KEY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_INTERNAL_UNWRAPPING_PROCEDURE_ERROR_4005_ = "Access to your account is currently revoked because the Azure Cosmos DB service is unable to wrap or unwrap the key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#internal-unwrapping-procedure-error (4005)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_ACCOUNT_HAS_AN_UNDEFINED_DEFAULT_IDENTITY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_INVALID_AZURE_COSMOS_DB_DEFAULT_IDENTITY_4015_ = "Access to your account is currently revoked because the Azure Cosmos DB account has an undefined default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#invalid-azure-cosmos-db-default-identity (4015)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_ACCESS_RULES_ARE_BLOCKING_OUTBOUND_REQUESTS_TO_THE_AZURE_KEY_VAULT_SERVICE_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_4016_ = "Access to your account is currently revoked because the access rules are blocking outbound requests to the Azure Key Vault service; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide (4016)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_CORRESPONDENT_AZURE_KEY_VAULT_WAS_NOT_FOUND_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_AZURE_KEY_VAULT_RESOURCE_NOT_FOUND_4017_ = "Access to your account is currently revoked because the correspondent Azure Key Vault was not found; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4017)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE = "Access to your account is currently revoked; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide" + ACCESS_TO_THE_CONFIGURED_CUSTOMER_MANAGED_KEY_CONFIRMED_ = "Access to the configured customer managed key confirmed." + + +class DataType(str, Enum): + """ + The datatype for which the indexing behavior is applied to. + """ + STRING = "String" + NUMBER = "Number" + POINT = "Point" + POLYGON = "Polygon" + LINE_STRING = "LineString" + MULTI_POLYGON = "MultiPolygon" + + +class DatabaseAccountKind(str, Enum): + """ + Indicates the type of database account. This can only be set at database account creation. + """ + GLOBAL_DOCUMENT_DB = "GlobalDocumentDB" + MONGO_DB = "MongoDB" + PARSE = "Parse" + + +class DatabaseAccountOfferType(str, Enum): + """ + The offer type for the database + """ + STANDARD = "Standard" + + +class DefaultConsistencyLevel(str, Enum): + """ + The default consistency level and configuration settings of the Cosmos DB account. + """ + EVENTUAL = "Eventual" + SESSION = "Session" + BOUNDED_STALENESS = "BoundedStaleness" + STRONG = "Strong" + CONSISTENT_PREFIX = "ConsistentPrefix" + + +class IndexKind(str, Enum): + """ + Indicates the type of index. + """ + HASH = "Hash" + RANGE = "Range" + SPATIAL = "Spatial" + + +class IndexingMode(str, Enum): + """ + Indicates the indexing mode. + """ + CONSISTENT = "consistent" + LAZY = "lazy" + NONE = "none" + + +class ManagedCassandraProvisioningState(str, Enum): + """ + The status of the resource at the time the operation was called. + """ + CREATING = "Creating" + UPDATING = "Updating" + DELETING = "Deleting" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + + +class ManagedCassandraResourceIdentityType(str, Enum): + """ + The type of the resource. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + NONE = "None" + + +class MinimalTlsVersion(str, Enum): + """ + Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + """ + TLS = "Tls" + TLS11 = "Tls11" + TLS12 = "Tls12" + + +class MongoRoleDefinitionType(str, Enum): + """ + Indicates whether the Role Definition was built-in or user created. + """ + BUILT_IN_ROLE = "BuiltInRole" + CUSTOM_ROLE = "CustomRole" + + +class NetworkAclBypass(str, Enum): + """ + Indicates what services are allowed to bypass firewall checks. + """ + NONE = "None" + AZURE_SERVICES = "AzureServices" + + +class PartitionKind(str, Enum): + """ + Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + """ + HASH = "Hash" + RANGE = "Range" + MULTI_HASH = "MultiHash" + + +class PublicNetworkAccess(str, Enum): + """ + Whether requests from Public Network are allowed + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + SECURED_BY_PERIMETER = "SecuredByPerimeter" + + +class ResourceIdentityType(str, Enum): + """ + The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" + NONE = "None" + + +class RestoreMode(str, Enum): + """ + Describes the mode of the restore. + """ + POINT_IN_TIME = "PointInTime" + + +class RoleDefinitionType(str, Enum): + """ + Indicates whether the Role Definition was built-in or user created. + """ + BUILT_IN_ROLE = "BuiltInRole" + CUSTOM_ROLE = "CustomRole" + + +class ServerVersion(str, Enum): + """ + Describes the ServerVersion of an a MongoDB account. + """ + SERVER_VERSION_3_2 = "3.2" + SERVER_VERSION_3_6 = "3.6" + SERVER_VERSION_4_0 = "4.0" + SERVER_VERSION_4_2 = "4.2" + + +class ServiceSize(str, Enum): + """ + Instance type for the service. + """ + COSMOS_D4S = "Cosmos.D4s" + COSMOS_D8S = "Cosmos.D8s" + COSMOS_D16S = "Cosmos.D16s" + + +class ServiceType(str, Enum): + """ + ServiceType for the service. + """ + SQL_DEDICATED_GATEWAY = "SqlDedicatedGateway" + DATA_TRANSFER = "DataTransfer" + GRAPH_API_COMPUTE = "GraphAPICompute" + MATERIALIZED_VIEWS_BUILDER = "MaterializedViewsBuilder" + + +class SpatialType(str, Enum): + """ + Indicates the spatial type of index. + """ + POINT = "Point" + LINE_STRING = "LineString" + POLYGON = "Polygon" + MULTI_POLYGON = "MultiPolygon" + + +class TriggerOperation(str, Enum): + """ + The operation the trigger is associated with + """ + ALL = "All" + CREATE = "Create" + UPDATE = "Update" + DELETE = "Delete" + REPLACE = "Replace" + + +class TriggerType(str, Enum): + """ + Type of the Trigger + """ + PRE = "Pre" + POST = "Post" diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/_inputs.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/_inputs.py new file mode 100644 index 000000000000..88bf743166c1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/_inputs.py @@ -0,0 +1,3467 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AnalyticalStorageConfigurationArgs', + 'ApiPropertiesArgs', + 'AuthenticationMethodLdapPropertiesArgs', + 'AutoscaleSettingsArgs', + 'BackupPolicyMigrationStateArgs', + 'CapabilityArgs', + 'CapacityArgs', + 'CassandraErrorArgs', + 'CassandraKeyspaceResourceArgs', + 'CassandraPartitionKeyArgs', + 'CassandraSchemaArgs', + 'CassandraTableResourceArgs', + 'CertificateArgs', + 'ClientEncryptionIncludedPathArgs', + 'ClientEncryptionPolicyArgs', + 'ClusterKeyArgs', + 'ClusterResourcePropertiesArgs', + 'ColumnArgs', + 'CompositePathArgs', + 'ConflictResolutionPolicyArgs', + 'ConsistencyPolicyArgs', + 'ContainerPartitionKeyArgs', + 'ContinuousModeBackupPolicyArgs', + 'ContinuousModePropertiesArgs', + 'CorsPolicyArgs', + 'CreateUpdateOptionsArgs', + 'DataCenterResourcePropertiesArgs', + 'DatabaseRestoreResourceArgs', + 'ExcludedPathArgs', + 'GremlinDatabaseResourceArgs', + 'GremlinDatabaseRestoreResourceArgs', + 'GremlinGraphResourceArgs', + 'IncludedPathArgs', + 'IndexesArgs', + 'IndexingPolicyArgs', + 'IpAddressOrRangeArgs', + 'LocationArgs', + 'ManagedCassandraManagedServiceIdentityArgs', + 'ManagedServiceIdentityArgs', + 'MongoDBCollectionResourceArgs', + 'MongoDBDatabaseResourceArgs', + 'MongoIndexKeysArgs', + 'MongoIndexOptionsArgs', + 'MongoIndexArgs', + 'PeriodicModeBackupPolicyArgs', + 'PeriodicModePropertiesArgs', + 'PermissionArgs', + 'PrivateEndpointPropertyArgs', + 'PrivateLinkServiceConnectionStatePropertyArgs', + 'PrivilegeResourceArgs', + 'PrivilegeArgs', + 'RestoreParametersArgs', + 'RoleArgs', + 'SeedNodeArgs', + 'SpatialSpecArgs', + 'SqlContainerResourceArgs', + 'SqlDatabaseResourceArgs', + 'SqlStoredProcedureResourceArgs', + 'SqlTriggerResourceArgs', + 'SqlUserDefinedFunctionResourceArgs', + 'TableResourceArgs', + 'UniqueKeyPolicyArgs', + 'UniqueKeyArgs', + 'VirtualNetworkRuleArgs', +] + +@pulumi.input_type +class AnalyticalStorageConfigurationArgs: + def __init__(__self__, *, + schema_type: Optional[pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']]] = None): + """ + Analytical storage specific properties. + :param pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']] schema_type: Describes the types of schema for analytical storage. + """ + if schema_type is not None: + pulumi.set(__self__, "schema_type", schema_type) + + @property + @pulumi.getter(name="schemaType") + def schema_type(self) -> Optional[pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']]]: + """ + Describes the types of schema for analytical storage. + """ + return pulumi.get(self, "schema_type") + + @schema_type.setter + def schema_type(self, value: Optional[pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']]]): + pulumi.set(self, "schema_type", value) + + +@pulumi.input_type +class ApiPropertiesArgs: + def __init__(__self__, *, + server_version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None): + """ + :param pulumi.Input[Union[str, 'ServerVersion']] server_version: Describes the ServerVersion of an a MongoDB account. + """ + if server_version is not None: + pulumi.set(__self__, "server_version", server_version) + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> Optional[pulumi.Input[Union[str, 'ServerVersion']]]: + """ + Describes the ServerVersion of an a MongoDB account. + """ + return pulumi.get(self, "server_version") + + @server_version.setter + def server_version(self, value: Optional[pulumi.Input[Union[str, 'ServerVersion']]]): + pulumi.set(self, "server_version", value) + + +@pulumi.input_type +class AuthenticationMethodLdapPropertiesArgs: + def __init__(__self__, *, + connection_timeout_in_ms: Optional[pulumi.Input[int]] = None, + search_base_distinguished_name: Optional[pulumi.Input[str]] = None, + search_filter_template: Optional[pulumi.Input[str]] = None, + server_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]] = None, + server_hostname: Optional[pulumi.Input[str]] = None, + server_port: Optional[pulumi.Input[int]] = None, + service_user_distinguished_name: Optional[pulumi.Input[str]] = None, + service_user_password: Optional[pulumi.Input[str]] = None): + """ + Ldap authentication method properties. This feature is in preview. + :param pulumi.Input[int] connection_timeout_in_ms: Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + :param pulumi.Input[str] search_base_distinguished_name: Distinguished name of the object to start the recursive search of users from. + :param pulumi.Input[str] search_filter_template: Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + :param pulumi.Input[str] server_hostname: Hostname of the LDAP server. + :param pulumi.Input[int] server_port: Port of the LDAP server. + :param pulumi.Input[str] service_user_distinguished_name: Distinguished name of the look up user account, who can look up user details on authentication. + :param pulumi.Input[str] service_user_password: Password of the look up user. + """ + if connection_timeout_in_ms is not None: + pulumi.set(__self__, "connection_timeout_in_ms", connection_timeout_in_ms) + if search_base_distinguished_name is not None: + pulumi.set(__self__, "search_base_distinguished_name", search_base_distinguished_name) + if search_filter_template is not None: + pulumi.set(__self__, "search_filter_template", search_filter_template) + if server_certificates is not None: + pulumi.set(__self__, "server_certificates", server_certificates) + if server_hostname is not None: + pulumi.set(__self__, "server_hostname", server_hostname) + if server_port is not None: + pulumi.set(__self__, "server_port", server_port) + if service_user_distinguished_name is not None: + pulumi.set(__self__, "service_user_distinguished_name", service_user_distinguished_name) + if service_user_password is not None: + pulumi.set(__self__, "service_user_password", service_user_password) + + @property + @pulumi.getter(name="connectionTimeoutInMs") + def connection_timeout_in_ms(self) -> Optional[pulumi.Input[int]]: + """ + Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + """ + return pulumi.get(self, "connection_timeout_in_ms") + + @connection_timeout_in_ms.setter + def connection_timeout_in_ms(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "connection_timeout_in_ms", value) + + @property + @pulumi.getter(name="searchBaseDistinguishedName") + def search_base_distinguished_name(self) -> Optional[pulumi.Input[str]]: + """ + Distinguished name of the object to start the recursive search of users from. + """ + return pulumi.get(self, "search_base_distinguished_name") + + @search_base_distinguished_name.setter + def search_base_distinguished_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_base_distinguished_name", value) + + @property + @pulumi.getter(name="searchFilterTemplate") + def search_filter_template(self) -> Optional[pulumi.Input[str]]: + """ + Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + """ + return pulumi.get(self, "search_filter_template") + + @search_filter_template.setter + def search_filter_template(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_filter_template", value) + + @property + @pulumi.getter(name="serverCertificates") + def server_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]: + return pulumi.get(self, "server_certificates") + + @server_certificates.setter + def server_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]): + pulumi.set(self, "server_certificates", value) + + @property + @pulumi.getter(name="serverHostname") + def server_hostname(self) -> Optional[pulumi.Input[str]]: + """ + Hostname of the LDAP server. + """ + return pulumi.get(self, "server_hostname") + + @server_hostname.setter + def server_hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "server_hostname", value) + + @property + @pulumi.getter(name="serverPort") + def server_port(self) -> Optional[pulumi.Input[int]]: + """ + Port of the LDAP server. + """ + return pulumi.get(self, "server_port") + + @server_port.setter + def server_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "server_port", value) + + @property + @pulumi.getter(name="serviceUserDistinguishedName") + def service_user_distinguished_name(self) -> Optional[pulumi.Input[str]]: + """ + Distinguished name of the look up user account, who can look up user details on authentication. + """ + return pulumi.get(self, "service_user_distinguished_name") + + @service_user_distinguished_name.setter + def service_user_distinguished_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_user_distinguished_name", value) + + @property + @pulumi.getter(name="serviceUserPassword") + def service_user_password(self) -> Optional[pulumi.Input[str]]: + """ + Password of the look up user. + """ + return pulumi.get(self, "service_user_password") + + @service_user_password.setter + def service_user_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_user_password", value) + + +@pulumi.input_type +class AutoscaleSettingsArgs: + def __init__(__self__, *, + max_throughput: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[int] max_throughput: Represents maximum throughput, the resource can scale up to. + """ + if max_throughput is not None: + pulumi.set(__self__, "max_throughput", max_throughput) + + @property + @pulumi.getter(name="maxThroughput") + def max_throughput(self) -> Optional[pulumi.Input[int]]: + """ + Represents maximum throughput, the resource can scale up to. + """ + return pulumi.get(self, "max_throughput") + + @max_throughput.setter + def max_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_throughput", value) + + +@pulumi.input_type +class BackupPolicyMigrationStateArgs: + def __init__(__self__, *, + start_time: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']]] = None, + target_type: Optional[pulumi.Input[Union[str, 'BackupPolicyType']]] = None): + """ + The object representing the state of the migration between the backup policies. + :param pulumi.Input[str] start_time: Time at which the backup policy migration started (ISO-8601 format). + :param pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']] status: Describes the status of migration between backup policy types. + :param pulumi.Input[Union[str, 'BackupPolicyType']] target_type: Describes the target backup policy type of the backup policy migration. + """ + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + if status is not None: + pulumi.set(__self__, "status", status) + if target_type is not None: + pulumi.set(__self__, "target_type", target_type) + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[pulumi.Input[str]]: + """ + Time at which the backup policy migration started (ISO-8601 format). + """ + return pulumi.get(self, "start_time") + + @start_time.setter + def start_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start_time", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']]]: + """ + Describes the status of migration between backup policy types. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="targetType") + def target_type(self) -> Optional[pulumi.Input[Union[str, 'BackupPolicyType']]]: + """ + Describes the target backup policy type of the backup policy migration. + """ + return pulumi.get(self, "target_type") + + @target_type.setter + def target_type(self, value: Optional[pulumi.Input[Union[str, 'BackupPolicyType']]]): + pulumi.set(self, "target_type", value) + + +@pulumi.input_type +class CapabilityArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB capability object + :param pulumi.Input[str] name: Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class CapacityArgs: + def __init__(__self__, *, + total_throughput_limit: Optional[pulumi.Input[int]] = None): + """ + The object that represents all properties related to capacity enforcement on an account. + :param pulumi.Input[int] total_throughput_limit: The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + if total_throughput_limit is not None: + pulumi.set(__self__, "total_throughput_limit", total_throughput_limit) + + @property + @pulumi.getter(name="totalThroughputLimit") + def total_throughput_limit(self) -> Optional[pulumi.Input[int]]: + """ + The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + return pulumi.get(self, "total_throughput_limit") + + @total_throughput_limit.setter + def total_throughput_limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_throughput_limit", value) + + +@pulumi.input_type +class CassandraErrorArgs: + def __init__(__self__, *, + additional_error_info: Optional[pulumi.Input[str]] = None, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] additional_error_info: Additional information about the error. + :param pulumi.Input[str] code: The code of error that occurred. + :param pulumi.Input[str] message: The message of the error. + :param pulumi.Input[str] target: The target resource of the error. + """ + if additional_error_info is not None: + pulumi.set(__self__, "additional_error_info", additional_error_info) + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalErrorInfo") + def additional_error_info(self) -> Optional[pulumi.Input[str]]: + """ + Additional information about the error. + """ + return pulumi.get(self, "additional_error_info") + + @additional_error_info.setter + def additional_error_info(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "additional_error_info", value) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error that occurred. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of the error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def target(self) -> Optional[pulumi.Input[str]]: + """ + The target resource of the error. + """ + return pulumi.get(self, "target") + + @target.setter + def target(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target", value) + + +@pulumi.input_type +class CassandraKeyspaceResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB Cassandra keyspace resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Cassandra keyspace + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Cassandra keyspace + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class CassandraPartitionKeyArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB Cassandra table partition key + :param pulumi.Input[str] name: Name of the Cosmos DB Cassandra table partition key + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB Cassandra table partition key + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class CassandraSchemaArgs: + def __init__(__self__, *, + cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]]] = None, + columns: Optional[pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]]] = None, + partition_keys: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]]] = None): + """ + Cosmos DB Cassandra table schema + :param pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]] cluster_keys: List of cluster key. + :param pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]] columns: List of Cassandra table columns. + :param pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]] partition_keys: List of partition key. + """ + if cluster_keys is not None: + pulumi.set(__self__, "cluster_keys", cluster_keys) + if columns is not None: + pulumi.set(__self__, "columns", columns) + if partition_keys is not None: + pulumi.set(__self__, "partition_keys", partition_keys) + + @property + @pulumi.getter(name="clusterKeys") + def cluster_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]]]: + """ + List of cluster key. + """ + return pulumi.get(self, "cluster_keys") + + @cluster_keys.setter + def cluster_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]]]): + pulumi.set(self, "cluster_keys", value) + + @property + @pulumi.getter + def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]]]: + """ + List of Cassandra table columns. + """ + return pulumi.get(self, "columns") + + @columns.setter + def columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]]]): + pulumi.set(self, "columns", value) + + @property + @pulumi.getter(name="partitionKeys") + def partition_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]]]: + """ + List of partition key. + """ + return pulumi.get(self, "partition_keys") + + @partition_keys.setter + def partition_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]]]): + pulumi.set(self, "partition_keys", value) + + +@pulumi.input_type +class CassandraTableResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[int]] = None, + default_ttl: Optional[pulumi.Input[int]] = None, + schema: Optional[pulumi.Input['CassandraSchemaArgs']] = None): + """ + Cosmos DB Cassandra table resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Cassandra table + :param pulumi.Input[int] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input[int] default_ttl: Time to live of the Cosmos DB Cassandra table + :param pulumi.Input['CassandraSchemaArgs'] schema: Schema of the Cosmos DB Cassandra table + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if schema is not None: + pulumi.set(__self__, "schema", schema) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Time to live of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "default_ttl") + + @default_ttl.setter + def default_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_ttl", value) + + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input['CassandraSchemaArgs']]: + """ + Schema of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "schema") + + @schema.setter + def schema(self, value: Optional[pulumi.Input['CassandraSchemaArgs']]): + pulumi.set(self, "schema", value) + + +@pulumi.input_type +class CertificateArgs: + def __init__(__self__, *, + pem: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] pem: PEM formatted public key. + """ + if pem is not None: + pulumi.set(__self__, "pem", pem) + + @property + @pulumi.getter + def pem(self) -> Optional[pulumi.Input[str]]: + """ + PEM formatted public key. + """ + return pulumi.get(self, "pem") + + @pem.setter + def pem(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pem", value) + + +@pulumi.input_type +class ClientEncryptionIncludedPathArgs: + def __init__(__self__, *, + client_encryption_key_id: pulumi.Input[str], + encryption_algorithm: pulumi.Input[str], + encryption_type: pulumi.Input[str], + path: pulumi.Input[str]): + """ + . + :param pulumi.Input[str] client_encryption_key_id: The identifier of the Client Encryption Key to be used to encrypt the path. + :param pulumi.Input[str] encryption_algorithm: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + :param pulumi.Input[str] encryption_type: The type of encryption to be performed. Eg - Deterministic, Randomized. + :param pulumi.Input[str] path: Path that needs to be encrypted. + """ + pulumi.set(__self__, "client_encryption_key_id", client_encryption_key_id) + pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + pulumi.set(__self__, "encryption_type", encryption_type) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="clientEncryptionKeyId") + def client_encryption_key_id(self) -> pulumi.Input[str]: + """ + The identifier of the Client Encryption Key to be used to encrypt the path. + """ + return pulumi.get(self, "client_encryption_key_id") + + @client_encryption_key_id.setter + def client_encryption_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_encryption_key_id", value) + + @property + @pulumi.getter(name="encryptionAlgorithm") + def encryption_algorithm(self) -> pulumi.Input[str]: + """ + The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + """ + return pulumi.get(self, "encryption_algorithm") + + @encryption_algorithm.setter + def encryption_algorithm(self, value: pulumi.Input[str]): + pulumi.set(self, "encryption_algorithm", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> pulumi.Input[str]: + """ + The type of encryption to be performed. Eg - Deterministic, Randomized. + """ + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: pulumi.Input[str]): + pulumi.set(self, "encryption_type", value) + + @property + @pulumi.getter + def path(self) -> pulumi.Input[str]: + """ + Path that needs to be encrypted. + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: pulumi.Input[str]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class ClientEncryptionPolicyArgs: + def __init__(__self__, *, + included_paths: pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]], + policy_format_version: pulumi.Input[int]): + """ + Cosmos DB client encryption policy. + :param pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]] included_paths: Paths of the item that need encryption along with path-specific settings. + :param pulumi.Input[int] policy_format_version: Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + pulumi.set(__self__, "included_paths", included_paths) + pulumi.set(__self__, "policy_format_version", policy_format_version) + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]]: + """ + Paths of the item that need encryption along with path-specific settings. + """ + return pulumi.get(self, "included_paths") + + @included_paths.setter + def included_paths(self, value: pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]]): + pulumi.set(self, "included_paths", value) + + @property + @pulumi.getter(name="policyFormatVersion") + def policy_format_version(self) -> pulumi.Input[int]: + """ + Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + return pulumi.get(self, "policy_format_version") + + @policy_format_version.setter + def policy_format_version(self, value: pulumi.Input[int]): + pulumi.set(self, "policy_format_version", value) + + +@pulumi.input_type +class ClusterKeyArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + order_by: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB Cassandra table cluster key + :param pulumi.Input[str] name: Name of the Cosmos DB Cassandra table cluster key + :param pulumi.Input[str] order_by: Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + if name is not None: + pulumi.set(__self__, "name", name) + if order_by is not None: + pulumi.set(__self__, "order_by", order_by) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB Cassandra table cluster key + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="orderBy") + def order_by(self) -> Optional[pulumi.Input[str]]: + """ + Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + return pulumi.get(self, "order_by") + + @order_by.setter + def order_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "order_by", value) + + +@pulumi.input_type +class ClusterResourcePropertiesArgs: + def __init__(__self__, *, + authentication_method: Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]] = None, + cassandra_audit_logging_enabled: Optional[pulumi.Input[bool]] = None, + cassandra_version: Optional[pulumi.Input[str]] = None, + client_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]] = None, + cluster_name_override: Optional[pulumi.Input[str]] = None, + deallocated: Optional[pulumi.Input[bool]] = None, + delegated_management_subnet_id: Optional[pulumi.Input[str]] = None, + external_gossip_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]] = None, + external_seed_nodes: Optional[pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]]] = None, + hours_between_backups: Optional[pulumi.Input[int]] = None, + initial_cassandra_admin_password: Optional[pulumi.Input[str]] = None, + prometheus_endpoint: Optional[pulumi.Input['SeedNodeArgs']] = None, + provision_error: Optional[pulumi.Input['CassandraErrorArgs']] = None, + provisioning_state: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]] = None, + repair_enabled: Optional[pulumi.Input[bool]] = None, + restore_from_backup_id: Optional[pulumi.Input[str]] = None): + """ + Properties of a managed Cassandra cluster. + :param pulumi.Input[Union[str, 'AuthenticationMethod']] authentication_method: Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + :param pulumi.Input[bool] cassandra_audit_logging_enabled: Whether Cassandra audit logging is enabled + :param pulumi.Input[str] cassandra_version: Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + :param pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]] client_certificates: List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + :param pulumi.Input[str] cluster_name_override: If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + :param pulumi.Input[bool] deallocated: Whether the cluster and associated data centers has been deallocated. + :param pulumi.Input[str] delegated_management_subnet_id: Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + :param pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]] external_gossip_certificates: List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + :param pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]] external_seed_nodes: List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + :param pulumi.Input[int] hours_between_backups: (Deprecated) Number of hours to wait between taking a backup of the cluster. + :param pulumi.Input[str] initial_cassandra_admin_password: Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + :param pulumi.Input['SeedNodeArgs'] prometheus_endpoint: Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + :param pulumi.Input['CassandraErrorArgs'] provision_error: Error related to resource provisioning. + :param pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']] provisioning_state: The status of the resource at the time the operation was called. + :param pulumi.Input[bool] repair_enabled: Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + :param pulumi.Input[str] restore_from_backup_id: To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + """ + if authentication_method is not None: + pulumi.set(__self__, "authentication_method", authentication_method) + if cassandra_audit_logging_enabled is not None: + pulumi.set(__self__, "cassandra_audit_logging_enabled", cassandra_audit_logging_enabled) + if cassandra_version is not None: + pulumi.set(__self__, "cassandra_version", cassandra_version) + if client_certificates is not None: + pulumi.set(__self__, "client_certificates", client_certificates) + if cluster_name_override is not None: + pulumi.set(__self__, "cluster_name_override", cluster_name_override) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_management_subnet_id is not None: + pulumi.set(__self__, "delegated_management_subnet_id", delegated_management_subnet_id) + if external_gossip_certificates is not None: + pulumi.set(__self__, "external_gossip_certificates", external_gossip_certificates) + if external_seed_nodes is not None: + pulumi.set(__self__, "external_seed_nodes", external_seed_nodes) + if hours_between_backups is not None: + pulumi.set(__self__, "hours_between_backups", hours_between_backups) + if initial_cassandra_admin_password is not None: + pulumi.set(__self__, "initial_cassandra_admin_password", initial_cassandra_admin_password) + if prometheus_endpoint is not None: + pulumi.set(__self__, "prometheus_endpoint", prometheus_endpoint) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if repair_enabled is not None: + pulumi.set(__self__, "repair_enabled", repair_enabled) + if restore_from_backup_id is not None: + pulumi.set(__self__, "restore_from_backup_id", restore_from_backup_id) + + @property + @pulumi.getter(name="authenticationMethod") + def authentication_method(self) -> Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]]: + """ + Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + """ + return pulumi.get(self, "authentication_method") + + @authentication_method.setter + def authentication_method(self, value: Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]]): + pulumi.set(self, "authentication_method", value) + + @property + @pulumi.getter(name="cassandraAuditLoggingEnabled") + def cassandra_audit_logging_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether Cassandra audit logging is enabled + """ + return pulumi.get(self, "cassandra_audit_logging_enabled") + + @cassandra_audit_logging_enabled.setter + def cassandra_audit_logging_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "cassandra_audit_logging_enabled", value) + + @property + @pulumi.getter(name="cassandraVersion") + def cassandra_version(self) -> Optional[pulumi.Input[str]]: + """ + Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + """ + return pulumi.get(self, "cassandra_version") + + @cassandra_version.setter + def cassandra_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cassandra_version", value) + + @property + @pulumi.getter(name="clientCertificates") + def client_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]: + """ + List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + """ + return pulumi.get(self, "client_certificates") + + @client_certificates.setter + def client_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]): + pulumi.set(self, "client_certificates", value) + + @property + @pulumi.getter(name="clusterNameOverride") + def cluster_name_override(self) -> Optional[pulumi.Input[str]]: + """ + If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + """ + return pulumi.get(self, "cluster_name_override") + + @cluster_name_override.setter + def cluster_name_override(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name_override", value) + + @property + @pulumi.getter + def deallocated(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the cluster and associated data centers has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @deallocated.setter + def deallocated(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deallocated", value) + + @property + @pulumi.getter(name="delegatedManagementSubnetId") + def delegated_management_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + """ + return pulumi.get(self, "delegated_management_subnet_id") + + @delegated_management_subnet_id.setter + def delegated_management_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delegated_management_subnet_id", value) + + @property + @pulumi.getter(name="externalGossipCertificates") + def external_gossip_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]: + """ + List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + """ + return pulumi.get(self, "external_gossip_certificates") + + @external_gossip_certificates.setter + def external_gossip_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]): + pulumi.set(self, "external_gossip_certificates", value) + + @property + @pulumi.getter(name="externalSeedNodes") + def external_seed_nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]]]: + """ + List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + """ + return pulumi.get(self, "external_seed_nodes") + + @external_seed_nodes.setter + def external_seed_nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]]]): + pulumi.set(self, "external_seed_nodes", value) + + @property + @pulumi.getter(name="hoursBetweenBackups") + def hours_between_backups(self) -> Optional[pulumi.Input[int]]: + """ + (Deprecated) Number of hours to wait between taking a backup of the cluster. + """ + return pulumi.get(self, "hours_between_backups") + + @hours_between_backups.setter + def hours_between_backups(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "hours_between_backups", value) + + @property + @pulumi.getter(name="initialCassandraAdminPassword") + def initial_cassandra_admin_password(self) -> Optional[pulumi.Input[str]]: + """ + Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + """ + return pulumi.get(self, "initial_cassandra_admin_password") + + @initial_cassandra_admin_password.setter + def initial_cassandra_admin_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "initial_cassandra_admin_password", value) + + @property + @pulumi.getter(name="prometheusEndpoint") + def prometheus_endpoint(self) -> Optional[pulumi.Input['SeedNodeArgs']]: + """ + Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + """ + return pulumi.get(self, "prometheus_endpoint") + + @prometheus_endpoint.setter + def prometheus_endpoint(self, value: Optional[pulumi.Input['SeedNodeArgs']]): + pulumi.set(self, "prometheus_endpoint", value) + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional[pulumi.Input['CassandraErrorArgs']]: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @provision_error.setter + def provision_error(self, value: Optional[pulumi.Input['CassandraErrorArgs']]): + pulumi.set(self, "provision_error", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]): + pulumi.set(self, "provisioning_state", value) + + @property + @pulumi.getter(name="repairEnabled") + def repair_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + """ + return pulumi.get(self, "repair_enabled") + + @repair_enabled.setter + def repair_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "repair_enabled", value) + + @property + @pulumi.getter(name="restoreFromBackupId") + def restore_from_backup_id(self) -> Optional[pulumi.Input[str]]: + """ + To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + """ + return pulumi.get(self, "restore_from_backup_id") + + @restore_from_backup_id.setter + def restore_from_backup_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_from_backup_id", value) + + +@pulumi.input_type +class ColumnArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB Cassandra table column + :param pulumi.Input[str] name: Name of the Cosmos DB Cassandra table column + :param pulumi.Input[str] type: Type of the Cosmos DB Cassandra table column + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Type of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class CompositePathArgs: + def __init__(__self__, *, + order: Optional[pulumi.Input[Union[str, 'CompositePathSortOrder']]] = None, + path: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Union[str, 'CompositePathSortOrder']] order: Sort order for composite paths. + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if order is not None: + pulumi.set(__self__, "order", order) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def order(self) -> Optional[pulumi.Input[Union[str, 'CompositePathSortOrder']]]: + """ + Sort order for composite paths. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: Optional[pulumi.Input[Union[str, 'CompositePathSortOrder']]]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class ConflictResolutionPolicyArgs: + def __init__(__self__, *, + conflict_resolution_path: Optional[pulumi.Input[str]] = None, + conflict_resolution_procedure: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[Union[str, 'ConflictResolutionMode']]] = None): + """ + The conflict resolution policy for the container. + :param pulumi.Input[str] conflict_resolution_path: The conflict resolution path in the case of LastWriterWins mode. + :param pulumi.Input[str] conflict_resolution_procedure: The procedure to resolve conflicts in the case of custom mode. + :param pulumi.Input[Union[str, 'ConflictResolutionMode']] mode: Indicates the conflict resolution mode. + """ + if conflict_resolution_path is not None: + pulumi.set(__self__, "conflict_resolution_path", conflict_resolution_path) + if conflict_resolution_procedure is not None: + pulumi.set(__self__, "conflict_resolution_procedure", conflict_resolution_procedure) + if mode is None: + mode = 'LastWriterWins' + if mode is not None: + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter(name="conflictResolutionPath") + def conflict_resolution_path(self) -> Optional[pulumi.Input[str]]: + """ + The conflict resolution path in the case of LastWriterWins mode. + """ + return pulumi.get(self, "conflict_resolution_path") + + @conflict_resolution_path.setter + def conflict_resolution_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "conflict_resolution_path", value) + + @property + @pulumi.getter(name="conflictResolutionProcedure") + def conflict_resolution_procedure(self) -> Optional[pulumi.Input[str]]: + """ + The procedure to resolve conflicts in the case of custom mode. + """ + return pulumi.get(self, "conflict_resolution_procedure") + + @conflict_resolution_procedure.setter + def conflict_resolution_procedure(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "conflict_resolution_procedure", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[Union[str, 'ConflictResolutionMode']]]: + """ + Indicates the conflict resolution mode. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[Union[str, 'ConflictResolutionMode']]]): + pulumi.set(self, "mode", value) + + +@pulumi.input_type +class ConsistencyPolicyArgs: + def __init__(__self__, *, + default_consistency_level: pulumi.Input['DefaultConsistencyLevel'], + max_interval_in_seconds: Optional[pulumi.Input[int]] = None, + max_staleness_prefix: Optional[pulumi.Input[float]] = None): + """ + The consistency policy for the Cosmos DB database account. + :param pulumi.Input['DefaultConsistencyLevel'] default_consistency_level: The default consistency level and configuration settings of the Cosmos DB account. + :param pulumi.Input[int] max_interval_in_seconds: When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + :param pulumi.Input[float] max_staleness_prefix: When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + pulumi.set(__self__, "default_consistency_level", default_consistency_level) + if max_interval_in_seconds is not None: + pulumi.set(__self__, "max_interval_in_seconds", max_interval_in_seconds) + if max_staleness_prefix is not None: + pulumi.set(__self__, "max_staleness_prefix", max_staleness_prefix) + + @property + @pulumi.getter(name="defaultConsistencyLevel") + def default_consistency_level(self) -> pulumi.Input['DefaultConsistencyLevel']: + """ + The default consistency level and configuration settings of the Cosmos DB account. + """ + return pulumi.get(self, "default_consistency_level") + + @default_consistency_level.setter + def default_consistency_level(self, value: pulumi.Input['DefaultConsistencyLevel']): + pulumi.set(self, "default_consistency_level", value) + + @property + @pulumi.getter(name="maxIntervalInSeconds") + def max_interval_in_seconds(self) -> Optional[pulumi.Input[int]]: + """ + When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_interval_in_seconds") + + @max_interval_in_seconds.setter + def max_interval_in_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_interval_in_seconds", value) + + @property + @pulumi.getter(name="maxStalenessPrefix") + def max_staleness_prefix(self) -> Optional[pulumi.Input[float]]: + """ + When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_staleness_prefix") + + @max_staleness_prefix.setter + def max_staleness_prefix(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_staleness_prefix", value) + + +@pulumi.input_type +class ContainerPartitionKeyArgs: + def __init__(__self__, *, + kind: Optional[pulumi.Input[Union[str, 'PartitionKind']]] = None, + paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[int]] = None): + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + :param pulumi.Input[Union[str, 'PartitionKind']] kind: Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + :param pulumi.Input[Sequence[pulumi.Input[str]]] paths: List of paths using which data within the container can be partitioned + :param pulumi.Input[int] version: Indicates the version of the partition key definition + """ + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if paths is not None: + pulumi.set(__self__, "paths", paths) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'PartitionKind']]]: + """ + Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'PartitionKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of paths using which data within the container can be partitioned + """ + return pulumi.get(self, "paths") + + @paths.setter + def paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "paths", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[int]]: + """ + Indicates the version of the partition key definition + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "version", value) + + +@pulumi.input_type +class ContinuousModeBackupPolicyArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + continuous_mode_properties: Optional[pulumi.Input['ContinuousModePropertiesArgs']] = None, + migration_state: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']] = None): + """ + The object representing continuous mode backup policy. + :param pulumi.Input[str] type: Describes the mode of backups. + Expected value is 'Continuous'. + :param pulumi.Input['ContinuousModePropertiesArgs'] continuous_mode_properties: Configuration values for continuous mode backup + :param pulumi.Input['BackupPolicyMigrationStateArgs'] migration_state: The object representing the state of the migration between the backup policies. + """ + pulumi.set(__self__, "type", 'Continuous') + if continuous_mode_properties is not None: + pulumi.set(__self__, "continuous_mode_properties", continuous_mode_properties) + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Describes the mode of backups. + Expected value is 'Continuous'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="continuousModeProperties") + def continuous_mode_properties(self) -> Optional[pulumi.Input['ContinuousModePropertiesArgs']]: + """ + Configuration values for continuous mode backup + """ + return pulumi.get(self, "continuous_mode_properties") + + @continuous_mode_properties.setter + def continuous_mode_properties(self, value: Optional[pulumi.Input['ContinuousModePropertiesArgs']]): + pulumi.set(self, "continuous_mode_properties", value) + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + @migration_state.setter + def migration_state(self, value: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]): + pulumi.set(self, "migration_state", value) + + +@pulumi.input_type +class ContinuousModePropertiesArgs: + def __init__(__self__, *, + tier: Optional[pulumi.Input[Union[str, 'ContinuousTier']]] = None): + """ + Configuration values for periodic mode backup + :param pulumi.Input[Union[str, 'ContinuousTier']] tier: Enum to indicate type of Continuous backup mode + """ + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input[Union[str, 'ContinuousTier']]]: + """ + Enum to indicate type of Continuous backup mode + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input[Union[str, 'ContinuousTier']]]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class CorsPolicyArgs: + def __init__(__self__, *, + allowed_origins: pulumi.Input[str], + allowed_headers: Optional[pulumi.Input[str]] = None, + allowed_methods: Optional[pulumi.Input[str]] = None, + exposed_headers: Optional[pulumi.Input[str]] = None, + max_age_in_seconds: Optional[pulumi.Input[float]] = None): + """ + The CORS policy for the Cosmos DB database account. + :param pulumi.Input[str] allowed_origins: The origin domains that are permitted to make a request against the service via CORS. + :param pulumi.Input[str] allowed_headers: The request headers that the origin domain may specify on the CORS request. + :param pulumi.Input[str] allowed_methods: The methods (HTTP request verbs) that the origin domain may use for a CORS request. + :param pulumi.Input[str] exposed_headers: The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + :param pulumi.Input[float] max_age_in_seconds: The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + pulumi.set(__self__, "allowed_origins", allowed_origins) + if allowed_headers is not None: + pulumi.set(__self__, "allowed_headers", allowed_headers) + if allowed_methods is not None: + pulumi.set(__self__, "allowed_methods", allowed_methods) + if exposed_headers is not None: + pulumi.set(__self__, "exposed_headers", exposed_headers) + if max_age_in_seconds is not None: + pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + + @property + @pulumi.getter(name="allowedOrigins") + def allowed_origins(self) -> pulumi.Input[str]: + """ + The origin domains that are permitted to make a request against the service via CORS. + """ + return pulumi.get(self, "allowed_origins") + + @allowed_origins.setter + def allowed_origins(self, value: pulumi.Input[str]): + pulumi.set(self, "allowed_origins", value) + + @property + @pulumi.getter(name="allowedHeaders") + def allowed_headers(self) -> Optional[pulumi.Input[str]]: + """ + The request headers that the origin domain may specify on the CORS request. + """ + return pulumi.get(self, "allowed_headers") + + @allowed_headers.setter + def allowed_headers(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "allowed_headers", value) + + @property + @pulumi.getter(name="allowedMethods") + def allowed_methods(self) -> Optional[pulumi.Input[str]]: + """ + The methods (HTTP request verbs) that the origin domain may use for a CORS request. + """ + return pulumi.get(self, "allowed_methods") + + @allowed_methods.setter + def allowed_methods(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "allowed_methods", value) + + @property + @pulumi.getter(name="exposedHeaders") + def exposed_headers(self) -> Optional[pulumi.Input[str]]: + """ + The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + """ + return pulumi.get(self, "exposed_headers") + + @exposed_headers.setter + def exposed_headers(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "exposed_headers", value) + + @property + @pulumi.getter(name="maxAgeInSeconds") + def max_age_in_seconds(self) -> Optional[pulumi.Input[float]]: + """ + The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + return pulumi.get(self, "max_age_in_seconds") + + @max_age_in_seconds.setter + def max_age_in_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_age_in_seconds", value) + + +@pulumi.input_type +class CreateUpdateOptionsArgs: + def __init__(__self__, *, + autoscale_settings: Optional[pulumi.Input['AutoscaleSettingsArgs']] = None, + throughput: Optional[pulumi.Input[int]] = None): + """ + CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + :param pulumi.Input['AutoscaleSettingsArgs'] autoscale_settings: Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. + :param pulumi.Input[int] throughput: Request Units per second. For example, "throughput": 10000. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional[pulumi.Input['AutoscaleSettingsArgs']]: + """ + Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. + """ + return pulumi.get(self, "autoscale_settings") + + @autoscale_settings.setter + def autoscale_settings(self, value: Optional[pulumi.Input['AutoscaleSettingsArgs']]): + pulumi.set(self, "autoscale_settings", value) + + @property + @pulumi.getter + def throughput(self) -> Optional[pulumi.Input[int]]: + """ + Request Units per second. For example, "throughput": 10000. + """ + return pulumi.get(self, "throughput") + + @throughput.setter + def throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "throughput", value) + + +@pulumi.input_type +class DataCenterResourcePropertiesArgs: + def __init__(__self__, *, + authentication_method_ldap_properties: Optional[pulumi.Input['AuthenticationMethodLdapPropertiesArgs']] = None, + availability_zone: Optional[pulumi.Input[bool]] = None, + backup_storage_customer_key_uri: Optional[pulumi.Input[str]] = None, + base64_encoded_cassandra_yaml_fragment: Optional[pulumi.Input[str]] = None, + data_center_location: Optional[pulumi.Input[str]] = None, + deallocated: Optional[pulumi.Input[bool]] = None, + delegated_subnet_id: Optional[pulumi.Input[str]] = None, + disk_capacity: Optional[pulumi.Input[int]] = None, + disk_sku: Optional[pulumi.Input[str]] = None, + managed_disk_customer_key_uri: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + provision_error: Optional[pulumi.Input['CassandraErrorArgs']] = None, + provisioning_state: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]] = None, + sku: Optional[pulumi.Input[str]] = None): + """ + Properties of a managed Cassandra data center. + :param pulumi.Input['AuthenticationMethodLdapPropertiesArgs'] authentication_method_ldap_properties: Ldap authentication method properties. This feature is in preview. + :param pulumi.Input[bool] availability_zone: If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + :param pulumi.Input[str] backup_storage_customer_key_uri: Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + :param pulumi.Input[str] base64_encoded_cassandra_yaml_fragment: A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + :param pulumi.Input[str] data_center_location: The region this data center should be created in. + :param pulumi.Input[bool] deallocated: Whether the data center has been deallocated. + :param pulumi.Input[str] delegated_subnet_id: Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + :param pulumi.Input[int] disk_capacity: Number of disks attached to each node. Default is 4. + :param pulumi.Input[str] disk_sku: Disk SKU used for data centers. Default value is P30. + :param pulumi.Input[str] managed_disk_customer_key_uri: Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + :param pulumi.Input[int] node_count: The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + :param pulumi.Input['CassandraErrorArgs'] provision_error: Error related to resource provisioning. + :param pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']] provisioning_state: The status of the resource at the time the operation was called. + :param pulumi.Input[str] sku: Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + if authentication_method_ldap_properties is not None: + pulumi.set(__self__, "authentication_method_ldap_properties", authentication_method_ldap_properties) + if availability_zone is not None: + pulumi.set(__self__, "availability_zone", availability_zone) + if backup_storage_customer_key_uri is not None: + pulumi.set(__self__, "backup_storage_customer_key_uri", backup_storage_customer_key_uri) + if base64_encoded_cassandra_yaml_fragment is not None: + pulumi.set(__self__, "base64_encoded_cassandra_yaml_fragment", base64_encoded_cassandra_yaml_fragment) + if data_center_location is not None: + pulumi.set(__self__, "data_center_location", data_center_location) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_subnet_id is not None: + pulumi.set(__self__, "delegated_subnet_id", delegated_subnet_id) + if disk_capacity is not None: + pulumi.set(__self__, "disk_capacity", disk_capacity) + if disk_sku is not None: + pulumi.set(__self__, "disk_sku", disk_sku) + if managed_disk_customer_key_uri is not None: + pulumi.set(__self__, "managed_disk_customer_key_uri", managed_disk_customer_key_uri) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if sku is not None: + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter(name="authenticationMethodLdapProperties") + def authentication_method_ldap_properties(self) -> Optional[pulumi.Input['AuthenticationMethodLdapPropertiesArgs']]: + """ + Ldap authentication method properties. This feature is in preview. + """ + return pulumi.get(self, "authentication_method_ldap_properties") + + @authentication_method_ldap_properties.setter + def authentication_method_ldap_properties(self, value: Optional[pulumi.Input['AuthenticationMethodLdapPropertiesArgs']]): + pulumi.set(self, "authentication_method_ldap_properties", value) + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> Optional[pulumi.Input[bool]]: + """ + If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + """ + return pulumi.get(self, "availability_zone") + + @availability_zone.setter + def availability_zone(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "availability_zone", value) + + @property + @pulumi.getter(name="backupStorageCustomerKeyUri") + def backup_storage_customer_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + """ + return pulumi.get(self, "backup_storage_customer_key_uri") + + @backup_storage_customer_key_uri.setter + def backup_storage_customer_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "backup_storage_customer_key_uri", value) + + @property + @pulumi.getter(name="base64EncodedCassandraYamlFragment") + def base64_encoded_cassandra_yaml_fragment(self) -> Optional[pulumi.Input[str]]: + """ + A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + """ + return pulumi.get(self, "base64_encoded_cassandra_yaml_fragment") + + @base64_encoded_cassandra_yaml_fragment.setter + def base64_encoded_cassandra_yaml_fragment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "base64_encoded_cassandra_yaml_fragment", value) + + @property + @pulumi.getter(name="dataCenterLocation") + def data_center_location(self) -> Optional[pulumi.Input[str]]: + """ + The region this data center should be created in. + """ + return pulumi.get(self, "data_center_location") + + @data_center_location.setter + def data_center_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_center_location", value) + + @property + @pulumi.getter + def deallocated(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the data center has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @deallocated.setter + def deallocated(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deallocated", value) + + @property + @pulumi.getter(name="delegatedSubnetId") + def delegated_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + """ + return pulumi.get(self, "delegated_subnet_id") + + @delegated_subnet_id.setter + def delegated_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delegated_subnet_id", value) + + @property + @pulumi.getter(name="diskCapacity") + def disk_capacity(self) -> Optional[pulumi.Input[int]]: + """ + Number of disks attached to each node. Default is 4. + """ + return pulumi.get(self, "disk_capacity") + + @disk_capacity.setter + def disk_capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "disk_capacity", value) + + @property + @pulumi.getter(name="diskSku") + def disk_sku(self) -> Optional[pulumi.Input[str]]: + """ + Disk SKU used for data centers. Default value is P30. + """ + return pulumi.get(self, "disk_sku") + + @disk_sku.setter + def disk_sku(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disk_sku", value) + + @property + @pulumi.getter(name="managedDiskCustomerKeyUri") + def managed_disk_customer_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + """ + return pulumi.get(self, "managed_disk_customer_key_uri") + + @managed_disk_customer_key_uri.setter + def managed_disk_customer_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_disk_customer_key_uri", value) + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + """ + return pulumi.get(self, "node_count") + + @node_count.setter + def node_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "node_count", value) + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional[pulumi.Input['CassandraErrorArgs']]: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @provision_error.setter + def provision_error(self, value: Optional[pulumi.Input['CassandraErrorArgs']]): + pulumi.set(self, "provision_error", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]): + pulumi.set(self, "provisioning_state", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input[str]]: + """ + Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sku", value) + + +@pulumi.input_type +class DatabaseRestoreResourceArgs: + def __init__(__self__, *, + collection_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + database_name: Optional[pulumi.Input[str]] = None): + """ + Specific Databases to restore. + :param pulumi.Input[Sequence[pulumi.Input[str]]] collection_names: The names of the collections available for restore. + :param pulumi.Input[str] database_name: The name of the database available for restore. + """ + if collection_names is not None: + pulumi.set(__self__, "collection_names", collection_names) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + + @property + @pulumi.getter(name="collectionNames") + def collection_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The names of the collections available for restore. + """ + return pulumi.get(self, "collection_names") + + @collection_names.setter + def collection_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "collection_names", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the database available for restore. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + +@pulumi.input_type +class ExcludedPathArgs: + def __init__(__self__, *, + path: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class GremlinDatabaseResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB Gremlin database resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Gremlin database + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Gremlin database + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GremlinDatabaseRestoreResourceArgs: + def __init__(__self__, *, + database_name: Optional[pulumi.Input[str]] = None, + graph_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Specific Gremlin Databases to restore. + :param pulumi.Input[str] database_name: The name of the gremlin database available for restore. + :param pulumi.Input[Sequence[pulumi.Input[str]]] graph_names: The names of the graphs available for restore. + """ + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if graph_names is not None: + pulumi.set(__self__, "graph_names", graph_names) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the gremlin database available for restore. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="graphNames") + def graph_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The names of the graphs available for restore. + """ + return pulumi.get(self, "graph_names") + + @graph_names.setter + def graph_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "graph_names", value) + + +@pulumi.input_type +class GremlinGraphResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[float]] = None, + conflict_resolution_policy: Optional[pulumi.Input['ConflictResolutionPolicyArgs']] = None, + default_ttl: Optional[pulumi.Input[int]] = None, + indexing_policy: Optional[pulumi.Input['IndexingPolicyArgs']] = None, + partition_key: Optional[pulumi.Input['ContainerPartitionKeyArgs']] = None, + unique_key_policy: Optional[pulumi.Input['UniqueKeyPolicyArgs']] = None): + """ + Cosmos DB Gremlin graph resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Gremlin graph + :param pulumi.Input[float] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input['ConflictResolutionPolicyArgs'] conflict_resolution_policy: The conflict resolution policy for the graph. + :param pulumi.Input[int] default_ttl: Default time to live + :param pulumi.Input['IndexingPolicyArgs'] indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + :param pulumi.Input['ContainerPartitionKeyArgs'] partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param pulumi.Input['UniqueKeyPolicyArgs'] unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Gremlin graph + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[float]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional[pulumi.Input['ConflictResolutionPolicyArgs']]: + """ + The conflict resolution policy for the graph. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @conflict_resolution_policy.setter + def conflict_resolution_policy(self, value: Optional[pulumi.Input['ConflictResolutionPolicyArgs']]): + pulumi.set(self, "conflict_resolution_policy", value) + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @default_ttl.setter + def default_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_ttl", value) + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional[pulumi.Input['IndexingPolicyArgs']]: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + """ + return pulumi.get(self, "indexing_policy") + + @indexing_policy.setter + def indexing_policy(self, value: Optional[pulumi.Input['IndexingPolicyArgs']]): + pulumi.set(self, "indexing_policy", value) + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional[pulumi.Input['ContainerPartitionKeyArgs']]: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @partition_key.setter + def partition_key(self, value: Optional[pulumi.Input['ContainerPartitionKeyArgs']]): + pulumi.set(self, "partition_key", value) + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional[pulumi.Input['UniqueKeyPolicyArgs']]: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + @unique_key_policy.setter + def unique_key_policy(self, value: Optional[pulumi.Input['UniqueKeyPolicyArgs']]): + pulumi.set(self, "unique_key_policy", value) + + +@pulumi.input_type +class IncludedPathArgs: + def __init__(__self__, *, + indexes: Optional[pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]]] = None, + path: Optional[pulumi.Input[str]] = None): + """ + The paths that are included in indexing + :param pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]] indexes: List of indexes for this path + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]]]: + """ + List of indexes for this path + """ + return pulumi.get(self, "indexes") + + @indexes.setter + def indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]]]): + pulumi.set(self, "indexes", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class IndexesArgs: + def __init__(__self__, *, + data_type: Optional[pulumi.Input[Union[str, 'DataType']]] = None, + kind: Optional[pulumi.Input[Union[str, 'IndexKind']]] = None, + precision: Optional[pulumi.Input[int]] = None): + """ + The indexes for the path. + :param pulumi.Input[Union[str, 'DataType']] data_type: The datatype for which the indexing behavior is applied to. + :param pulumi.Input[Union[str, 'IndexKind']] kind: Indicates the type of index. + :param pulumi.Input[int] precision: The precision of the index. -1 is maximum precision. + """ + if data_type is None: + data_type = 'String' + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if precision is not None: + pulumi.set(__self__, "precision", precision) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[pulumi.Input[Union[str, 'DataType']]]: + """ + The datatype for which the indexing behavior is applied to. + """ + return pulumi.get(self, "data_type") + + @data_type.setter + def data_type(self, value: Optional[pulumi.Input[Union[str, 'DataType']]]): + pulumi.set(self, "data_type", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'IndexKind']]]: + """ + Indicates the type of index. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'IndexKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def precision(self) -> Optional[pulumi.Input[int]]: + """ + The precision of the index. -1 is maximum precision. + """ + return pulumi.get(self, "precision") + + @precision.setter + def precision(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "precision", value) + + +@pulumi.input_type +class IndexingPolicyArgs: + def __init__(__self__, *, + automatic: Optional[pulumi.Input[bool]] = None, + composite_indexes: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]]] = None, + excluded_paths: Optional[pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]]] = None, + included_paths: Optional[pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]]] = None, + indexing_mode: Optional[pulumi.Input[Union[str, 'IndexingMode']]] = None, + spatial_indexes: Optional[pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]]] = None): + """ + Cosmos DB indexing policy + :param pulumi.Input[bool] automatic: Indicates if the indexing policy is automatic + :param pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]] composite_indexes: List of composite path list + :param pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]] excluded_paths: List of paths to exclude from indexing + :param pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]] included_paths: List of paths to include in the indexing + :param pulumi.Input[Union[str, 'IndexingMode']] indexing_mode: Indicates the indexing mode. + :param pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]] spatial_indexes: List of spatial specifics + """ + if automatic is not None: + pulumi.set(__self__, "automatic", automatic) + if composite_indexes is not None: + pulumi.set(__self__, "composite_indexes", composite_indexes) + if excluded_paths is not None: + pulumi.set(__self__, "excluded_paths", excluded_paths) + if included_paths is not None: + pulumi.set(__self__, "included_paths", included_paths) + if indexing_mode is None: + indexing_mode = 'consistent' + if indexing_mode is not None: + pulumi.set(__self__, "indexing_mode", indexing_mode) + if spatial_indexes is not None: + pulumi.set(__self__, "spatial_indexes", spatial_indexes) + + @property + @pulumi.getter + def automatic(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates if the indexing policy is automatic + """ + return pulumi.get(self, "automatic") + + @automatic.setter + def automatic(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "automatic", value) + + @property + @pulumi.getter(name="compositeIndexes") + def composite_indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]]]: + """ + List of composite path list + """ + return pulumi.get(self, "composite_indexes") + + @composite_indexes.setter + def composite_indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]]]): + pulumi.set(self, "composite_indexes", value) + + @property + @pulumi.getter(name="excludedPaths") + def excluded_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]]]: + """ + List of paths to exclude from indexing + """ + return pulumi.get(self, "excluded_paths") + + @excluded_paths.setter + def excluded_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]]]): + pulumi.set(self, "excluded_paths", value) + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]]]: + """ + List of paths to include in the indexing + """ + return pulumi.get(self, "included_paths") + + @included_paths.setter + def included_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]]]): + pulumi.set(self, "included_paths", value) + + @property + @pulumi.getter(name="indexingMode") + def indexing_mode(self) -> Optional[pulumi.Input[Union[str, 'IndexingMode']]]: + """ + Indicates the indexing mode. + """ + return pulumi.get(self, "indexing_mode") + + @indexing_mode.setter + def indexing_mode(self, value: Optional[pulumi.Input[Union[str, 'IndexingMode']]]): + pulumi.set(self, "indexing_mode", value) + + @property + @pulumi.getter(name="spatialIndexes") + def spatial_indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]]]: + """ + List of spatial specifics + """ + return pulumi.get(self, "spatial_indexes") + + @spatial_indexes.setter + def spatial_indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]]]): + pulumi.set(self, "spatial_indexes", value) + + +@pulumi.input_type +class IpAddressOrRangeArgs: + def __init__(__self__, *, + ip_address_or_range: Optional[pulumi.Input[str]] = None): + """ + IpAddressOrRange object + :param pulumi.Input[str] ip_address_or_range: A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + if ip_address_or_range is not None: + pulumi.set(__self__, "ip_address_or_range", ip_address_or_range) + + @property + @pulumi.getter(name="ipAddressOrRange") + def ip_address_or_range(self) -> Optional[pulumi.Input[str]]: + """ + A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + return pulumi.get(self, "ip_address_or_range") + + @ip_address_or_range.setter + def ip_address_or_range(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address_or_range", value) + + +@pulumi.input_type +class LocationArgs: + def __init__(__self__, *, + failover_priority: Optional[pulumi.Input[int]] = None, + is_zone_redundant: Optional[pulumi.Input[bool]] = None, + location_name: Optional[pulumi.Input[str]] = None): + """ + A region in which the Azure Cosmos DB database account is deployed. + :param pulumi.Input[int] failover_priority: The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + :param pulumi.Input[bool] is_zone_redundant: Flag to indicate whether or not this region is an AvailabilityZone region + :param pulumi.Input[str] location_name: The name of the region. + """ + if failover_priority is not None: + pulumi.set(__self__, "failover_priority", failover_priority) + if is_zone_redundant is not None: + pulumi.set(__self__, "is_zone_redundant", is_zone_redundant) + if location_name is not None: + pulumi.set(__self__, "location_name", location_name) + + @property + @pulumi.getter(name="failoverPriority") + def failover_priority(self) -> Optional[pulumi.Input[int]]: + """ + The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + """ + return pulumi.get(self, "failover_priority") + + @failover_priority.setter + def failover_priority(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "failover_priority", value) + + @property + @pulumi.getter(name="isZoneRedundant") + def is_zone_redundant(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether or not this region is an AvailabilityZone region + """ + return pulumi.get(self, "is_zone_redundant") + + @is_zone_redundant.setter + def is_zone_redundant(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_zone_redundant", value) + + @property + @pulumi.getter(name="locationName") + def location_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the region. + """ + return pulumi.get(self, "location_name") + + @location_name.setter + def location_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location_name", value) + + +@pulumi.input_type +class ManagedCassandraManagedServiceIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']]] = None): + """ + Identity for the resource. + :param pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']] type: The type of the resource. + """ + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']]]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class ManagedServiceIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input['ResourceIdentityType']] = None, + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity for the resource. + :param pulumi.Input['ResourceIdentityType'] type: The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['ResourceIdentityType']]: + """ + The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['ResourceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class MongoDBCollectionResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[int]] = None, + indexes: Optional[pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]]] = None, + shard_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + Cosmos DB MongoDB collection resource object + :param pulumi.Input[str] id: Name of the Cosmos DB MongoDB collection + :param pulumi.Input[int] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]] indexes: List of index keys + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] shard_key: A key-value pair of shard keys to be applied for the request. + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if shard_key is not None: + pulumi.set(__self__, "shard_key", shard_key) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB MongoDB collection + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter + def indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]]]: + """ + List of index keys + """ + return pulumi.get(self, "indexes") + + @indexes.setter + def indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]]]): + pulumi.set(self, "indexes", value) + + @property + @pulumi.getter(name="shardKey") + def shard_key(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + A key-value pair of shard keys to be applied for the request. + """ + return pulumi.get(self, "shard_key") + + @shard_key.setter + def shard_key(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "shard_key", value) + + +@pulumi.input_type +class MongoDBDatabaseResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB MongoDB database resource object + :param pulumi.Input[str] id: Name of the Cosmos DB MongoDB database + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB MongoDB database + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class MongoIndexKeysArgs: + def __init__(__self__, *, + keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Cosmos DB MongoDB collection resource object + :param pulumi.Input[Sequence[pulumi.Input[str]]] keys: List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + if keys is not None: + pulumi.set(__self__, "keys", keys) + + @property + @pulumi.getter + def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + return pulumi.get(self, "keys") + + @keys.setter + def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "keys", value) + + +@pulumi.input_type +class MongoIndexOptionsArgs: + def __init__(__self__, *, + expire_after_seconds: Optional[pulumi.Input[int]] = None, + unique: Optional[pulumi.Input[bool]] = None): + """ + Cosmos DB MongoDB collection index options + :param pulumi.Input[int] expire_after_seconds: Expire after seconds + :param pulumi.Input[bool] unique: Is unique or not + """ + if expire_after_seconds is not None: + pulumi.set(__self__, "expire_after_seconds", expire_after_seconds) + if unique is not None: + pulumi.set(__self__, "unique", unique) + + @property + @pulumi.getter(name="expireAfterSeconds") + def expire_after_seconds(self) -> Optional[pulumi.Input[int]]: + """ + Expire after seconds + """ + return pulumi.get(self, "expire_after_seconds") + + @expire_after_seconds.setter + def expire_after_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "expire_after_seconds", value) + + @property + @pulumi.getter + def unique(self) -> Optional[pulumi.Input[bool]]: + """ + Is unique or not + """ + return pulumi.get(self, "unique") + + @unique.setter + def unique(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unique", value) + + +@pulumi.input_type +class MongoIndexArgs: + def __init__(__self__, *, + key: Optional[pulumi.Input['MongoIndexKeysArgs']] = None, + options: Optional[pulumi.Input['MongoIndexOptionsArgs']] = None): + """ + Cosmos DB MongoDB collection index key + :param pulumi.Input['MongoIndexKeysArgs'] key: Cosmos DB MongoDB collection index keys + :param pulumi.Input['MongoIndexOptionsArgs'] options: Cosmos DB MongoDB collection index key options + """ + if key is not None: + pulumi.set(__self__, "key", key) + if options is not None: + pulumi.set(__self__, "options", options) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input['MongoIndexKeysArgs']]: + """ + Cosmos DB MongoDB collection index keys + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input['MongoIndexKeysArgs']]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['MongoIndexOptionsArgs']]: + """ + Cosmos DB MongoDB collection index key options + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['MongoIndexOptionsArgs']]): + pulumi.set(self, "options", value) + + +@pulumi.input_type +class PeriodicModeBackupPolicyArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + migration_state: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']] = None, + periodic_mode_properties: Optional[pulumi.Input['PeriodicModePropertiesArgs']] = None): + """ + The object representing periodic mode backup policy. + :param pulumi.Input[str] type: Describes the mode of backups. + Expected value is 'Periodic'. + :param pulumi.Input['BackupPolicyMigrationStateArgs'] migration_state: The object representing the state of the migration between the backup policies. + :param pulumi.Input['PeriodicModePropertiesArgs'] periodic_mode_properties: Configuration values for periodic mode backup + """ + pulumi.set(__self__, "type", 'Periodic') + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + if periodic_mode_properties is not None: + pulumi.set(__self__, "periodic_mode_properties", periodic_mode_properties) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Describes the mode of backups. + Expected value is 'Periodic'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + @migration_state.setter + def migration_state(self, value: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]): + pulumi.set(self, "migration_state", value) + + @property + @pulumi.getter(name="periodicModeProperties") + def periodic_mode_properties(self) -> Optional[pulumi.Input['PeriodicModePropertiesArgs']]: + """ + Configuration values for periodic mode backup + """ + return pulumi.get(self, "periodic_mode_properties") + + @periodic_mode_properties.setter + def periodic_mode_properties(self, value: Optional[pulumi.Input['PeriodicModePropertiesArgs']]): + pulumi.set(self, "periodic_mode_properties", value) + + +@pulumi.input_type +class PeriodicModePropertiesArgs: + def __init__(__self__, *, + backup_interval_in_minutes: Optional[pulumi.Input[int]] = None, + backup_retention_interval_in_hours: Optional[pulumi.Input[int]] = None, + backup_storage_redundancy: Optional[pulumi.Input[Union[str, 'BackupStorageRedundancy']]] = None): + """ + Configuration values for periodic mode backup + :param pulumi.Input[int] backup_interval_in_minutes: An integer representing the interval in minutes between two backups + :param pulumi.Input[int] backup_retention_interval_in_hours: An integer representing the time (in hours) that each backup is retained + :param pulumi.Input[Union[str, 'BackupStorageRedundancy']] backup_storage_redundancy: Enum to indicate type of backup residency + """ + if backup_interval_in_minutes is not None: + pulumi.set(__self__, "backup_interval_in_minutes", backup_interval_in_minutes) + if backup_retention_interval_in_hours is not None: + pulumi.set(__self__, "backup_retention_interval_in_hours", backup_retention_interval_in_hours) + if backup_storage_redundancy is not None: + pulumi.set(__self__, "backup_storage_redundancy", backup_storage_redundancy) + + @property + @pulumi.getter(name="backupIntervalInMinutes") + def backup_interval_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + An integer representing the interval in minutes between two backups + """ + return pulumi.get(self, "backup_interval_in_minutes") + + @backup_interval_in_minutes.setter + def backup_interval_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "backup_interval_in_minutes", value) + + @property + @pulumi.getter(name="backupRetentionIntervalInHours") + def backup_retention_interval_in_hours(self) -> Optional[pulumi.Input[int]]: + """ + An integer representing the time (in hours) that each backup is retained + """ + return pulumi.get(self, "backup_retention_interval_in_hours") + + @backup_retention_interval_in_hours.setter + def backup_retention_interval_in_hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "backup_retention_interval_in_hours", value) + + @property + @pulumi.getter(name="backupStorageRedundancy") + def backup_storage_redundancy(self) -> Optional[pulumi.Input[Union[str, 'BackupStorageRedundancy']]]: + """ + Enum to indicate type of backup residency + """ + return pulumi.get(self, "backup_storage_redundancy") + + @backup_storage_redundancy.setter + def backup_storage_redundancy(self, value: Optional[pulumi.Input[Union[str, 'BackupStorageRedundancy']]]): + pulumi.set(self, "backup_storage_redundancy", value) + + +@pulumi.input_type +class PermissionArgs: + def __init__(__self__, *, + data_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + not_data_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param pulumi.Input[Sequence[pulumi.Input[str]]] data_actions: An array of data actions that are allowed. + :param pulumi.Input[Sequence[pulumi.Input[str]]] not_data_actions: An array of data actions that are denied. + """ + if data_actions is not None: + pulumi.set(__self__, "data_actions", data_actions) + if not_data_actions is not None: + pulumi.set(__self__, "not_data_actions", not_data_actions) + + @property + @pulumi.getter(name="dataActions") + def data_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of data actions that are allowed. + """ + return pulumi.get(self, "data_actions") + + @data_actions.setter + def data_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "data_actions", value) + + @property + @pulumi.getter(name="notDataActions") + def not_data_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of data actions that are denied. + """ + return pulumi.get(self, "not_data_actions") + + @not_data_actions.setter + def not_data_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "not_data_actions", value) + + +@pulumi.input_type +class PrivateEndpointPropertyArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Private endpoint which the connection belongs to. + :param pulumi.Input[str] id: Resource id of the private endpoint. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource id of the private endpoint. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStatePropertyArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None): + """ + Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] description: The private link service connection description. + :param pulumi.Input[str] status: The private link service connection status. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class PrivilegeResourceArgs: + def __init__(__self__, *, + collection: Optional[pulumi.Input[str]] = None, + db: Optional[pulumi.Input[str]] = None): + """ + An Azure Cosmos DB Mongo DB Resource. + :param pulumi.Input[str] collection: The collection name the role is applied. + :param pulumi.Input[str] db: The database name the role is applied. + """ + if collection is not None: + pulumi.set(__self__, "collection", collection) + if db is not None: + pulumi.set(__self__, "db", db) + + @property + @pulumi.getter + def collection(self) -> Optional[pulumi.Input[str]]: + """ + The collection name the role is applied. + """ + return pulumi.get(self, "collection") + + @collection.setter + def collection(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection", value) + + @property + @pulumi.getter + def db(self) -> Optional[pulumi.Input[str]]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + @db.setter + def db(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "db", value) + + +@pulumi.input_type +class PrivilegeArgs: + def __init__(__self__, *, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource: Optional[pulumi.Input['PrivilegeResourceArgs']] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param pulumi.Input[Sequence[pulumi.Input[str]]] actions: An array of actions that are allowed. + :param pulumi.Input['PrivilegeResourceArgs'] resource: An Azure Cosmos DB Mongo DB Resource. + """ + if actions is not None: + pulumi.set(__self__, "actions", actions) + if resource is not None: + pulumi.set(__self__, "resource", resource) + + @property + @pulumi.getter + def actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of actions that are allowed. + """ + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter + def resource(self) -> Optional[pulumi.Input['PrivilegeResourceArgs']]: + """ + An Azure Cosmos DB Mongo DB Resource. + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: Optional[pulumi.Input['PrivilegeResourceArgs']]): + pulumi.set(self, "resource", value) + + +@pulumi.input_type +class RestoreParametersArgs: + def __init__(__self__, *, + databases_to_restore: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]]] = None, + gremlin_databases_to_restore: Optional[pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]]] = None, + restore_mode: Optional[pulumi.Input[Union[str, 'RestoreMode']]] = None, + restore_source: Optional[pulumi.Input[str]] = None, + restore_timestamp_in_utc: Optional[pulumi.Input[str]] = None, + tables_to_restore: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Parameters to indicate the information about the restore. + :param pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]] databases_to_restore: List of specific databases available for restore. + :param pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]] gremlin_databases_to_restore: List of specific gremlin databases available for restore. + :param pulumi.Input[Union[str, 'RestoreMode']] restore_mode: Describes the mode of the restore. + :param pulumi.Input[str] restore_source: The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + :param pulumi.Input[str] restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 format). + :param pulumi.Input[Sequence[pulumi.Input[str]]] tables_to_restore: List of specific tables available for restore. + """ + if databases_to_restore is not None: + pulumi.set(__self__, "databases_to_restore", databases_to_restore) + if gremlin_databases_to_restore is not None: + pulumi.set(__self__, "gremlin_databases_to_restore", gremlin_databases_to_restore) + if restore_mode is not None: + pulumi.set(__self__, "restore_mode", restore_mode) + if restore_source is not None: + pulumi.set(__self__, "restore_source", restore_source) + if restore_timestamp_in_utc is not None: + pulumi.set(__self__, "restore_timestamp_in_utc", restore_timestamp_in_utc) + if tables_to_restore is not None: + pulumi.set(__self__, "tables_to_restore", tables_to_restore) + + @property + @pulumi.getter(name="databasesToRestore") + def databases_to_restore(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]]]: + """ + List of specific databases available for restore. + """ + return pulumi.get(self, "databases_to_restore") + + @databases_to_restore.setter + def databases_to_restore(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]]]): + pulumi.set(self, "databases_to_restore", value) + + @property + @pulumi.getter(name="gremlinDatabasesToRestore") + def gremlin_databases_to_restore(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]]]: + """ + List of specific gremlin databases available for restore. + """ + return pulumi.get(self, "gremlin_databases_to_restore") + + @gremlin_databases_to_restore.setter + def gremlin_databases_to_restore(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]]]): + pulumi.set(self, "gremlin_databases_to_restore", value) + + @property + @pulumi.getter(name="restoreMode") + def restore_mode(self) -> Optional[pulumi.Input[Union[str, 'RestoreMode']]]: + """ + Describes the mode of the restore. + """ + return pulumi.get(self, "restore_mode") + + @restore_mode.setter + def restore_mode(self, value: Optional[pulumi.Input[Union[str, 'RestoreMode']]]): + pulumi.set(self, "restore_mode", value) + + @property + @pulumi.getter(name="restoreSource") + def restore_source(self) -> Optional[pulumi.Input[str]]: + """ + The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + """ + return pulumi.get(self, "restore_source") + + @restore_source.setter + def restore_source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_source", value) + + @property + @pulumi.getter(name="restoreTimestampInUtc") + def restore_timestamp_in_utc(self) -> Optional[pulumi.Input[str]]: + """ + Time to which the account has to be restored (ISO-8601 format). + """ + return pulumi.get(self, "restore_timestamp_in_utc") + + @restore_timestamp_in_utc.setter + def restore_timestamp_in_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_timestamp_in_utc", value) + + @property + @pulumi.getter(name="tablesToRestore") + def tables_to_restore(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of specific tables available for restore. + """ + return pulumi.get(self, "tables_to_restore") + + @tables_to_restore.setter + def tables_to_restore(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tables_to_restore", value) + + +@pulumi.input_type +class RoleArgs: + def __init__(__self__, *, + db: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None): + """ + The set of roles permitted through this Role Definition. + :param pulumi.Input[str] db: The database name the role is applied. + :param pulumi.Input[str] role: The role name. + """ + if db is not None: + pulumi.set(__self__, "db", db) + if role is not None: + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter + def db(self) -> Optional[pulumi.Input[str]]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + @db.setter + def db(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "db", value) + + @property + @pulumi.getter + def role(self) -> Optional[pulumi.Input[str]]: + """ + The role name. + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role", value) + + +@pulumi.input_type +class SeedNodeArgs: + def __init__(__self__, *, + ip_address: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ip_address: IP address of this seed node. + """ + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[pulumi.Input[str]]: + """ + IP address of this seed node. + """ + return pulumi.get(self, "ip_address") + + @ip_address.setter + def ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address", value) + + +@pulumi.input_type +class SpatialSpecArgs: + def __init__(__self__, *, + path: Optional[pulumi.Input[str]] = None, + types: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]]] = None): + """ + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]] types: List of path's spatial type + """ + if path is not None: + pulumi.set(__self__, "path", path) + if types is not None: + pulumi.set(__self__, "types", types) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + @property + @pulumi.getter + def types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]]]: + """ + List of path's spatial type + """ + return pulumi.get(self, "types") + + @types.setter + def types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]]]): + pulumi.set(self, "types", value) + + +@pulumi.input_type +class SqlContainerResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[float]] = None, + client_encryption_policy: Optional[pulumi.Input['ClientEncryptionPolicyArgs']] = None, + conflict_resolution_policy: Optional[pulumi.Input['ConflictResolutionPolicyArgs']] = None, + default_ttl: Optional[pulumi.Input[int]] = None, + indexing_policy: Optional[pulumi.Input['IndexingPolicyArgs']] = None, + partition_key: Optional[pulumi.Input['ContainerPartitionKeyArgs']] = None, + unique_key_policy: Optional[pulumi.Input['UniqueKeyPolicyArgs']] = None): + """ + Cosmos DB SQL container resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL container + :param pulumi.Input[float] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input['ClientEncryptionPolicyArgs'] client_encryption_policy: The client encryption policy for the container. + :param pulumi.Input['ConflictResolutionPolicyArgs'] conflict_resolution_policy: The conflict resolution policy for the container. + :param pulumi.Input[int] default_ttl: Default time to live + :param pulumi.Input['IndexingPolicyArgs'] indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + :param pulumi.Input['ContainerPartitionKeyArgs'] partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param pulumi.Input['UniqueKeyPolicyArgs'] unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if client_encryption_policy is not None: + pulumi.set(__self__, "client_encryption_policy", client_encryption_policy) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL container + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[float]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="clientEncryptionPolicy") + def client_encryption_policy(self) -> Optional[pulumi.Input['ClientEncryptionPolicyArgs']]: + """ + The client encryption policy for the container. + """ + return pulumi.get(self, "client_encryption_policy") + + @client_encryption_policy.setter + def client_encryption_policy(self, value: Optional[pulumi.Input['ClientEncryptionPolicyArgs']]): + pulumi.set(self, "client_encryption_policy", value) + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional[pulumi.Input['ConflictResolutionPolicyArgs']]: + """ + The conflict resolution policy for the container. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @conflict_resolution_policy.setter + def conflict_resolution_policy(self, value: Optional[pulumi.Input['ConflictResolutionPolicyArgs']]): + pulumi.set(self, "conflict_resolution_policy", value) + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @default_ttl.setter + def default_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_ttl", value) + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional[pulumi.Input['IndexingPolicyArgs']]: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + """ + return pulumi.get(self, "indexing_policy") + + @indexing_policy.setter + def indexing_policy(self, value: Optional[pulumi.Input['IndexingPolicyArgs']]): + pulumi.set(self, "indexing_policy", value) + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional[pulumi.Input['ContainerPartitionKeyArgs']]: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @partition_key.setter + def partition_key(self, value: Optional[pulumi.Input['ContainerPartitionKeyArgs']]): + pulumi.set(self, "partition_key", value) + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional[pulumi.Input['UniqueKeyPolicyArgs']]: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + @unique_key_policy.setter + def unique_key_policy(self, value: Optional[pulumi.Input['UniqueKeyPolicyArgs']]): + pulumi.set(self, "unique_key_policy", value) + + +@pulumi.input_type +class SqlDatabaseResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB SQL database resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL database + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL database + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class SqlStoredProcedureResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB SQL storedProcedure resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL storedProcedure + :param pulumi.Input[str] body: Body of the Stored Procedure + """ + pulumi.set(__self__, "id", id) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL storedProcedure + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + Body of the Stored Procedure + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + +@pulumi.input_type +class SqlTriggerResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None, + trigger_operation: Optional[pulumi.Input[Union[str, 'TriggerOperation']]] = None, + trigger_type: Optional[pulumi.Input[Union[str, 'TriggerType']]] = None): + """ + Cosmos DB SQL trigger resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL trigger + :param pulumi.Input[str] body: Body of the Trigger + :param pulumi.Input[Union[str, 'TriggerOperation']] trigger_operation: The operation the trigger is associated with + :param pulumi.Input[Union[str, 'TriggerType']] trigger_type: Type of the Trigger + """ + pulumi.set(__self__, "id", id) + if body is not None: + pulumi.set(__self__, "body", body) + if trigger_operation is not None: + pulumi.set(__self__, "trigger_operation", trigger_operation) + if trigger_type is not None: + pulumi.set(__self__, "trigger_type", trigger_type) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL trigger + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + Body of the Trigger + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + @property + @pulumi.getter(name="triggerOperation") + def trigger_operation(self) -> Optional[pulumi.Input[Union[str, 'TriggerOperation']]]: + """ + The operation the trigger is associated with + """ + return pulumi.get(self, "trigger_operation") + + @trigger_operation.setter + def trigger_operation(self, value: Optional[pulumi.Input[Union[str, 'TriggerOperation']]]): + pulumi.set(self, "trigger_operation", value) + + @property + @pulumi.getter(name="triggerType") + def trigger_type(self) -> Optional[pulumi.Input[Union[str, 'TriggerType']]]: + """ + Type of the Trigger + """ + return pulumi.get(self, "trigger_type") + + @trigger_type.setter + def trigger_type(self, value: Optional[pulumi.Input[Union[str, 'TriggerType']]]): + pulumi.set(self, "trigger_type", value) + + +@pulumi.input_type +class SqlUserDefinedFunctionResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB SQL userDefinedFunction resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL userDefinedFunction + :param pulumi.Input[str] body: Body of the User Defined Function + """ + pulumi.set(__self__, "id", id) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL userDefinedFunction + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + Body of the User Defined Function + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + +@pulumi.input_type +class TableResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB table resource object + :param pulumi.Input[str] id: Name of the Cosmos DB table + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB table + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class UniqueKeyPolicyArgs: + def __init__(__self__, *, + unique_keys: Optional[pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]]] = None): + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + :param pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]] unique_keys: List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + if unique_keys is not None: + pulumi.set(__self__, "unique_keys", unique_keys) + + @property + @pulumi.getter(name="uniqueKeys") + def unique_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]]]: + """ + List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_keys") + + @unique_keys.setter + def unique_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]]]): + pulumi.set(self, "unique_keys", value) + + +@pulumi.input_type +class UniqueKeyArgs: + def __init__(__self__, *, + paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + :param pulumi.Input[Sequence[pulumi.Input[str]]] paths: List of paths must be unique for each document in the Azure Cosmos DB service + """ + if paths is not None: + pulumi.set(__self__, "paths", paths) + + @property + @pulumi.getter + def paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of paths must be unique for each document in the Azure Cosmos DB service + """ + return pulumi.get(self, "paths") + + @paths.setter + def paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "paths", value) + + +@pulumi.input_type +class VirtualNetworkRuleArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None, + ignore_missing_v_net_service_endpoint: Optional[pulumi.Input[bool]] = None): + """ + Virtual Network ACL Rule object + :param pulumi.Input[str] id: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + :param pulumi.Input[bool] ignore_missing_v_net_service_endpoint: Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + if id is not None: + pulumi.set(__self__, "id", id) + if ignore_missing_v_net_service_endpoint is not None: + pulumi.set(__self__, "ignore_missing_v_net_service_endpoint", ignore_missing_v_net_service_endpoint) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="ignoreMissingVNetServiceEndpoint") + def ignore_missing_v_net_service_endpoint(self) -> Optional[pulumi.Input[bool]]: + """ + Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + return pulumi.get(self, "ignore_missing_v_net_service_endpoint") + + @ignore_missing_v_net_service_endpoint.setter + def ignore_missing_v_net_service_endpoint(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ignore_missing_v_net_service_endpoint", value) + + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_cluster.py new file mode 100644 index 000000000000..4d929445b1b2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_cluster.py @@ -0,0 +1,272 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraClusterArgs', 'CassandraCluster'] + +@pulumi.input_type +class CassandraClusterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + cluster_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedCassandraManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['ClusterResourcePropertiesArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a CassandraCluster resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input['ManagedCassandraManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['ClusterResourcePropertiesArgs'] properties: Properties of a managed Cassandra cluster. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + """ + Managed Cassandra cluster name. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedCassandraManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedCassandraManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ClusterResourcePropertiesArgs']]: + """ + Properties of a managed Cassandra cluster. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ClusterResourcePropertiesArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 CassandraCluster(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedCassandraManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ClusterResourcePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Representation of a managed Cassandra cluster. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input[pulumi.InputType['ManagedCassandraManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['ClusterResourcePropertiesArgs']] properties: Properties of a managed Cassandra cluster. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraClusterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Representation of a managed Cassandra cluster. + + :param str resource_name: The name of the resource. + :param CassandraClusterArgs 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(CassandraClusterArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedCassandraManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ClusterResourcePropertiesArgs']]] = 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): + 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__ = CassandraClusterArgs.__new__(CassandraClusterArgs) + + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["properties"] = properties + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraCluster")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraCluster, __self__).__init__( + 'azure-native:documentdb/v20230915:CassandraCluster', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraCluster': + """ + Get an existing CassandraCluster 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraClusterArgs.__new__(CassandraClusterArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraCluster(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedCassandraManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ClusterResourceResponseProperties']: + """ + Properties of a managed Cassandra cluster. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_data_center.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_data_center.py new file mode 100644 index 000000000000..7e8605e54d0d --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_data_center.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraDataCenterArgs', 'CassandraDataCenter'] + +@pulumi.input_type +class CassandraDataCenterArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + data_center_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['DataCenterResourcePropertiesArgs']] = None): + """ + The set of arguments for constructing a CassandraDataCenter resource. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] data_center_name: Data center name in a managed Cassandra cluster. + :param pulumi.Input['DataCenterResourcePropertiesArgs'] properties: Properties of a managed Cassandra data center. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if data_center_name is not None: + pulumi.set(__self__, "data_center_name", data_center_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + Managed Cassandra cluster name. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="dataCenterName") + def data_center_name(self) -> Optional[pulumi.Input[str]]: + """ + Data center name in a managed Cassandra cluster. + """ + return pulumi.get(self, "data_center_name") + + @data_center_name.setter + def data_center_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_center_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['DataCenterResourcePropertiesArgs']]: + """ + Properties of a managed Cassandra data center. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['DataCenterResourcePropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class CassandraDataCenter(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + data_center_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['DataCenterResourcePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A managed Cassandra data center. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input[str] data_center_name: Data center name in a managed Cassandra cluster. + :param pulumi.Input[pulumi.InputType['DataCenterResourcePropertiesArgs']] properties: Properties of a managed Cassandra data center. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraDataCenterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A managed Cassandra data center. + + :param str resource_name: The name of the resource. + :param CassandraDataCenterArgs 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(CassandraDataCenterArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + data_center_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['DataCenterResourcePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CassandraDataCenterArgs.__new__(CassandraDataCenterArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["data_center_name"] = data_center_name + __props__.__dict__["properties"] = properties + 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__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraDataCenter")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraDataCenter, __self__).__init__( + 'azure-native:documentdb/v20230915:CassandraDataCenter', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraDataCenter': + """ + Get an existing CassandraDataCenter 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraDataCenterArgs.__new__(CassandraDataCenterArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return CassandraDataCenter(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.DataCenterResourceResponseProperties']: + """ + Properties of a managed Cassandra data center. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_resource_cassandra_keyspace.py new file mode 100644 index 000000000000..bc6314c81f47 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_resource_cassandra_keyspace.py @@ -0,0 +1,287 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CassandraResourceCassandraKeyspaceArgs', 'CassandraResourceCassandraKeyspace'] + +@pulumi.input_type +class CassandraResourceCassandraKeyspaceArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['CassandraKeyspaceResourceArgs'], + resource_group_name: pulumi.Input[str], + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a CassandraResourceCassandraKeyspace resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['CassandraKeyspaceResourceArgs'] resource: The standard JSON format of a Cassandra keyspace + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if keyspace_name is not None: + pulumi.set(__self__, "keyspace_name", keyspace_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['CassandraKeyspaceResourceArgs']: + """ + The standard JSON format of a Cassandra keyspace + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['CassandraKeyspaceResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="keyspaceName") + def keyspace_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB keyspace name. + """ + return pulumi.get(self, "keyspace_name") + + @keyspace_name.setter + def keyspace_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "keyspace_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 CassandraResourceCassandraKeyspace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraKeyspaceResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Cassandra keyspace. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['CassandraKeyspaceResourceArgs']] resource: The standard JSON format of a Cassandra keyspace + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraResourceCassandraKeyspaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Cassandra keyspace. + + :param str resource_name: The name of the resource. + :param CassandraResourceCassandraKeyspaceArgs 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(CassandraResourceCassandraKeyspaceArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraKeyspaceResourceArgs']]] = 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): + 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__ = CassandraResourceCassandraKeyspaceArgs.__new__(CassandraResourceCassandraKeyspaceArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["keyspace_name"] = keyspace_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraResourceCassandraKeyspace, __self__).__init__( + 'azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraResourceCassandraKeyspace': + """ + Get an existing CassandraResourceCassandraKeyspace 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraResourceCassandraKeyspaceArgs.__new__(CassandraResourceCassandraKeyspaceArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraResourceCassandraKeyspace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.CassandraKeyspaceGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.CassandraKeyspaceGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_resource_cassandra_table.py new file mode 100644 index 000000000000..f48dfc4e2528 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/cassandra_resource_cassandra_table.py @@ -0,0 +1,308 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CassandraResourceCassandraTableArgs', 'CassandraResourceCassandraTable'] + +@pulumi.input_type +class CassandraResourceCassandraTableArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + keyspace_name: pulumi.Input[str], + resource: pulumi.Input['CassandraTableResourceArgs'], + resource_group_name: pulumi.Input[str], + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a CassandraResourceCassandraTable resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input['CassandraTableResourceArgs'] resource: The standard JSON format of a Cassandra table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "keyspace_name", keyspace_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="keyspaceName") + def keyspace_name(self) -> pulumi.Input[str]: + """ + Cosmos DB keyspace name. + """ + return pulumi.get(self, "keyspace_name") + + @keyspace_name.setter + def keyspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "keyspace_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['CassandraTableResourceArgs']: + """ + The standard JSON format of a Cassandra table + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['CassandraTableResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB table name. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 CassandraResourceCassandraTable(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraTableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Cassandra table. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['CassandraTableResourceArgs']] resource: The standard JSON format of a Cassandra table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraResourceCassandraTableArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Cassandra table. + + :param str resource_name: The name of the resource. + :param CassandraResourceCassandraTableArgs 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(CassandraResourceCassandraTableArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraTableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_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): + 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__ = CassandraResourceCassandraTableArgs.__new__(CassandraResourceCassandraTableArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if keyspace_name is None and not opts.urn: + raise TypeError("Missing required property 'keyspace_name'") + __props__.__dict__["keyspace_name"] = keyspace_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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__["table_name"] = table_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraResourceCassandraTable, __self__).__init__( + 'azure-native:documentdb/v20230915:CassandraResourceCassandraTable', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraResourceCassandraTable': + """ + Get an existing CassandraResourceCassandraTable 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraResourceCassandraTableArgs.__new__(CassandraResourceCassandraTableArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraResourceCassandraTable(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.CassandraTableGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.CassandraTableGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/database_account.py new file mode 100644 index 000000000000..0616a628a10f --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/database_account.py @@ -0,0 +1,1271 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['DatabaseAccountArgs', 'DatabaseAccount'] + +@pulumi.input_type +class DatabaseAccountArgs: + def __init__(__self__, *, + database_account_offer_type: pulumi.Input['DatabaseAccountOfferType'], + locations: pulumi.Input[Sequence[pulumi.Input['LocationArgs']]], + resource_group_name: pulumi.Input[str], + account_name: Optional[pulumi.Input[str]] = None, + analytical_storage_configuration: Optional[pulumi.Input['AnalyticalStorageConfigurationArgs']] = None, + api_properties: Optional[pulumi.Input['ApiPropertiesArgs']] = None, + backup_policy: Optional[pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']]] = None, + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]]] = None, + capacity: Optional[pulumi.Input['CapacityArgs']] = None, + connector_offer: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]] = None, + consistency_policy: Optional[pulumi.Input['ConsistencyPolicyArgs']] = None, + cors: Optional[pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + customer_managed_key_status: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]] = None, + default_identity: Optional[pulumi.Input[str]] = None, + disable_key_based_metadata_write_access: Optional[pulumi.Input[bool]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + enable_analytical_storage: Optional[pulumi.Input[bool]] = None, + enable_automatic_failover: Optional[pulumi.Input[bool]] = None, + enable_burst_capacity: Optional[pulumi.Input[bool]] = None, + enable_cassandra_connector: Optional[pulumi.Input[bool]] = None, + enable_free_tier: Optional[pulumi.Input[bool]] = None, + enable_multiple_write_locations: Optional[pulumi.Input[bool]] = None, + enable_partition_merge: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]]] = None, + is_virtual_network_filter_enabled: Optional[pulumi.Input[bool]] = None, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + minimal_tls_version: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]] = None, + network_acl_bypass: Optional[pulumi.Input['NetworkAclBypass']] = None, + network_acl_bypass_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + restore_parameters: Optional[pulumi.Input['RestoreParametersArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]] = None): + """ + The set of arguments for constructing a DatabaseAccount resource. + :param pulumi.Input['DatabaseAccountOfferType'] database_account_offer_type: The offer type for the database + :param pulumi.Input[Sequence[pulumi.Input['LocationArgs']]] locations: An array that contains the georeplication locations enabled for the Cosmos DB account. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['AnalyticalStorageConfigurationArgs'] analytical_storage_configuration: Analytical storage specific properties. + :param pulumi.Input['ApiPropertiesArgs'] api_properties: API specific properties. Currently, supported only for MongoDB API. + :param pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']] backup_policy: The object representing the policy for taking backups on an account. + :param pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]] capabilities: List of Cosmos DB capabilities for the account + :param pulumi.Input['CapacityArgs'] capacity: The object that represents all properties related to capacity enforcement on an account. + :param pulumi.Input[Union[str, 'ConnectorOffer']] connector_offer: The cassandra connector offer type for the Cosmos DB database C* account. + :param pulumi.Input['ConsistencyPolicyArgs'] consistency_policy: The consistency policy for the Cosmos DB account. + :param pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]] cors: The CORS policy for the Cosmos DB database account. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of account creation. + :param pulumi.Input[Union[str, 'CustomerManagedKeyStatus']] customer_managed_key_status: Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + :param pulumi.Input[str] default_identity: The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + :param pulumi.Input[bool] disable_key_based_metadata_write_access: Disable write operations on metadata resources (databases, containers, throughput) via account keys + :param pulumi.Input[bool] disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + :param pulumi.Input[bool] enable_analytical_storage: Flag to indicate whether to enable storage analytics. + :param pulumi.Input[bool] enable_automatic_failover: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + :param pulumi.Input[bool] enable_burst_capacity: Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + :param pulumi.Input[bool] enable_cassandra_connector: Enables the cassandra connector on the Cosmos DB C* account + :param pulumi.Input[bool] enable_free_tier: Flag to indicate whether Free Tier is enabled. + :param pulumi.Input[bool] enable_multiple_write_locations: Enables the account to write in multiple locations + :param pulumi.Input[bool] enable_partition_merge: Flag to indicate enabling/disabling of Partition Merge feature on the account + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]] ip_rules: List of IpRules. + :param pulumi.Input[bool] is_virtual_network_filter_enabled: Flag to indicate whether to enable/disable Virtual Network ACL rules. + :param pulumi.Input[str] key_vault_key_uri: The URI of the key vault + :param pulumi.Input[Union[str, 'DatabaseAccountKind']] kind: Indicates the type of database account. This can only be set at database account creation. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[Union[str, 'MinimalTlsVersion']] minimal_tls_version: Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + :param pulumi.Input['NetworkAclBypass'] network_acl_bypass: Indicates what services are allowed to bypass firewall checks. + :param pulumi.Input[Sequence[pulumi.Input[str]]] network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Whether requests from Public Network are allowed + :param pulumi.Input['RestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]] virtual_network_rules: List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + pulumi.set(__self__, "database_account_offer_type", database_account_offer_type) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if account_name is not None: + pulumi.set(__self__, "account_name", account_name) + if analytical_storage_configuration is not None: + pulumi.set(__self__, "analytical_storage_configuration", analytical_storage_configuration) + if api_properties is not None: + pulumi.set(__self__, "api_properties", api_properties) + if backup_policy is not None: + pulumi.set(__self__, "backup_policy", backup_policy) + if capabilities is not None: + pulumi.set(__self__, "capabilities", capabilities) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if connector_offer is not None: + pulumi.set(__self__, "connector_offer", connector_offer) + if consistency_policy is not None: + pulumi.set(__self__, "consistency_policy", consistency_policy) + if cors is not None: + pulumi.set(__self__, "cors", cors) + if create_mode is None: + create_mode = 'Default' + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if customer_managed_key_status is not None: + pulumi.set(__self__, "customer_managed_key_status", customer_managed_key_status) + if default_identity is not None: + pulumi.set(__self__, "default_identity", default_identity) + if disable_key_based_metadata_write_access is not None: + pulumi.set(__self__, "disable_key_based_metadata_write_access", disable_key_based_metadata_write_access) + if disable_local_auth is not None: + pulumi.set(__self__, "disable_local_auth", disable_local_auth) + if enable_analytical_storage is not None: + pulumi.set(__self__, "enable_analytical_storage", enable_analytical_storage) + if enable_automatic_failover is not None: + pulumi.set(__self__, "enable_automatic_failover", enable_automatic_failover) + if enable_burst_capacity is not None: + pulumi.set(__self__, "enable_burst_capacity", enable_burst_capacity) + if enable_cassandra_connector is not None: + pulumi.set(__self__, "enable_cassandra_connector", enable_cassandra_connector) + if enable_free_tier is not None: + pulumi.set(__self__, "enable_free_tier", enable_free_tier) + if enable_multiple_write_locations is not None: + pulumi.set(__self__, "enable_multiple_write_locations", enable_multiple_write_locations) + if enable_partition_merge is not None: + pulumi.set(__self__, "enable_partition_merge", enable_partition_merge) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if ip_rules is not None: + pulumi.set(__self__, "ip_rules", ip_rules) + if is_virtual_network_filter_enabled is not None: + pulumi.set(__self__, "is_virtual_network_filter_enabled", is_virtual_network_filter_enabled) + if key_vault_key_uri is not None: + pulumi.set(__self__, "key_vault_key_uri", key_vault_key_uri) + if kind is None: + kind = 'GlobalDocumentDB' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if minimal_tls_version is not None: + pulumi.set(__self__, "minimal_tls_version", minimal_tls_version) + if network_acl_bypass is not None: + pulumi.set(__self__, "network_acl_bypass", network_acl_bypass) + if network_acl_bypass_resource_ids is not None: + pulumi.set(__self__, "network_acl_bypass_resource_ids", network_acl_bypass_resource_ids) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if virtual_network_rules is not None: + pulumi.set(__self__, "virtual_network_rules", virtual_network_rules) + + @property + @pulumi.getter(name="databaseAccountOfferType") + def database_account_offer_type(self) -> pulumi.Input['DatabaseAccountOfferType']: + """ + The offer type for the database + """ + return pulumi.get(self, "database_account_offer_type") + + @database_account_offer_type.setter + def database_account_offer_type(self, value: pulumi.Input['DatabaseAccountOfferType']): + pulumi.set(self, "database_account_offer_type", value) + + @property + @pulumi.getter + def locations(self) -> pulumi.Input[Sequence[pulumi.Input['LocationArgs']]]: + """ + An array that contains the georeplication locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "locations") + + @locations.setter + def locations(self, value: pulumi.Input[Sequence[pulumi.Input['LocationArgs']]]): + pulumi.set(self, "locations", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="accountName") + def account_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="analyticalStorageConfiguration") + def analytical_storage_configuration(self) -> Optional[pulumi.Input['AnalyticalStorageConfigurationArgs']]: + """ + Analytical storage specific properties. + """ + return pulumi.get(self, "analytical_storage_configuration") + + @analytical_storage_configuration.setter + def analytical_storage_configuration(self, value: Optional[pulumi.Input['AnalyticalStorageConfigurationArgs']]): + pulumi.set(self, "analytical_storage_configuration", value) + + @property + @pulumi.getter(name="apiProperties") + def api_properties(self) -> Optional[pulumi.Input['ApiPropertiesArgs']]: + """ + API specific properties. Currently, supported only for MongoDB API. + """ + return pulumi.get(self, "api_properties") + + @api_properties.setter + def api_properties(self, value: Optional[pulumi.Input['ApiPropertiesArgs']]): + pulumi.set(self, "api_properties", value) + + @property + @pulumi.getter(name="backupPolicy") + def backup_policy(self) -> Optional[pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']]]: + """ + The object representing the policy for taking backups on an account. + """ + return pulumi.get(self, "backup_policy") + + @backup_policy.setter + def backup_policy(self, value: Optional[pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']]]): + pulumi.set(self, "backup_policy", value) + + @property + @pulumi.getter + def capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]]]: + """ + List of Cosmos DB capabilities for the account + """ + return pulumi.get(self, "capabilities") + + @capabilities.setter + def capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]]]): + pulumi.set(self, "capabilities", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input['CapacityArgs']]: + """ + The object that represents all properties related to capacity enforcement on an account. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input['CapacityArgs']]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter(name="connectorOffer") + def connector_offer(self) -> Optional[pulumi.Input[Union[str, 'ConnectorOffer']]]: + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + return pulumi.get(self, "connector_offer") + + @connector_offer.setter + def connector_offer(self, value: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]]): + pulumi.set(self, "connector_offer", value) + + @property + @pulumi.getter(name="consistencyPolicy") + def consistency_policy(self) -> Optional[pulumi.Input['ConsistencyPolicyArgs']]: + """ + The consistency policy for the Cosmos DB account. + """ + return pulumi.get(self, "consistency_policy") + + @consistency_policy.setter + def consistency_policy(self, value: Optional[pulumi.Input['ConsistencyPolicyArgs']]): + pulumi.set(self, "consistency_policy", value) + + @property + @pulumi.getter + def cors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]]]: + """ + The CORS policy for the Cosmos DB database account. + """ + return pulumi.get(self, "cors") + + @cors.setter + def cors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]]]): + pulumi.set(self, "cors", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of account creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="customerManagedKeyStatus") + def customer_managed_key_status(self) -> Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]]: + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + return pulumi.get(self, "customer_managed_key_status") + + @customer_managed_key_status.setter + def customer_managed_key_status(self, value: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]]): + pulumi.set(self, "customer_managed_key_status", value) + + @property + @pulumi.getter(name="defaultIdentity") + def default_identity(self) -> Optional[pulumi.Input[str]]: + """ + The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + """ + return pulumi.get(self, "default_identity") + + @default_identity.setter + def default_identity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_identity", value) + + @property + @pulumi.getter(name="disableKeyBasedMetadataWriteAccess") + def disable_key_based_metadata_write_access(self) -> Optional[pulumi.Input[bool]]: + """ + Disable write operations on metadata resources (databases, containers, throughput) via account keys + """ + return pulumi.get(self, "disable_key_based_metadata_write_access") + + @disable_key_based_metadata_write_access.setter + def disable_key_based_metadata_write_access(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_key_based_metadata_write_access", value) + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> Optional[pulumi.Input[bool]]: + """ + Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + """ + return pulumi.get(self, "disable_local_auth") + + @disable_local_auth.setter + def disable_local_auth(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_local_auth", value) + + @property + @pulumi.getter(name="enableAnalyticalStorage") + def enable_analytical_storage(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether to enable storage analytics. + """ + return pulumi.get(self, "enable_analytical_storage") + + @enable_analytical_storage.setter + def enable_analytical_storage(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_analytical_storage", value) + + @property + @pulumi.getter(name="enableAutomaticFailover") + def enable_automatic_failover(self) -> Optional[pulumi.Input[bool]]: + """ + Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + """ + return pulumi.get(self, "enable_automatic_failover") + + @enable_automatic_failover.setter + def enable_automatic_failover(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_automatic_failover", value) + + @property + @pulumi.getter(name="enableBurstCapacity") + def enable_burst_capacity(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + """ + return pulumi.get(self, "enable_burst_capacity") + + @enable_burst_capacity.setter + def enable_burst_capacity(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_burst_capacity", value) + + @property + @pulumi.getter(name="enableCassandraConnector") + def enable_cassandra_connector(self) -> Optional[pulumi.Input[bool]]: + """ + Enables the cassandra connector on the Cosmos DB C* account + """ + return pulumi.get(self, "enable_cassandra_connector") + + @enable_cassandra_connector.setter + def enable_cassandra_connector(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_cassandra_connector", value) + + @property + @pulumi.getter(name="enableFreeTier") + def enable_free_tier(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether Free Tier is enabled. + """ + return pulumi.get(self, "enable_free_tier") + + @enable_free_tier.setter + def enable_free_tier(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_free_tier", value) + + @property + @pulumi.getter(name="enableMultipleWriteLocations") + def enable_multiple_write_locations(self) -> Optional[pulumi.Input[bool]]: + """ + Enables the account to write in multiple locations + """ + return pulumi.get(self, "enable_multiple_write_locations") + + @enable_multiple_write_locations.setter + def enable_multiple_write_locations(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_multiple_write_locations", value) + + @property + @pulumi.getter(name="enablePartitionMerge") + def enable_partition_merge(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate enabling/disabling of Partition Merge feature on the account + """ + return pulumi.get(self, "enable_partition_merge") + + @enable_partition_merge.setter + def enable_partition_merge(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_partition_merge", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]]]: + """ + List of IpRules. + """ + return pulumi.get(self, "ip_rules") + + @ip_rules.setter + def ip_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]]]): + pulumi.set(self, "ip_rules", value) + + @property + @pulumi.getter(name="isVirtualNetworkFilterEnabled") + def is_virtual_network_filter_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether to enable/disable Virtual Network ACL rules. + """ + return pulumi.get(self, "is_virtual_network_filter_enabled") + + @is_virtual_network_filter_enabled.setter + def is_virtual_network_filter_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_virtual_network_filter_enabled", value) + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + The URI of the key vault + """ + return pulumi.get(self, "key_vault_key_uri") + + @key_vault_key_uri.setter + def key_vault_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_key_uri", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]]: + """ + Indicates the type of database account. This can only be set at database account creation. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="minimalTlsVersion") + def minimal_tls_version(self) -> Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]]: + """ + Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + """ + return pulumi.get(self, "minimal_tls_version") + + @minimal_tls_version.setter + def minimal_tls_version(self, value: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]]): + pulumi.set(self, "minimal_tls_version", value) + + @property + @pulumi.getter(name="networkAclBypass") + def network_acl_bypass(self) -> Optional[pulumi.Input['NetworkAclBypass']]: + """ + Indicates what services are allowed to bypass firewall checks. + """ + return pulumi.get(self, "network_acl_bypass") + + @network_acl_bypass.setter + def network_acl_bypass(self, value: Optional[pulumi.Input['NetworkAclBypass']]): + pulumi.set(self, "network_acl_bypass", value) + + @property + @pulumi.getter(name="networkAclBypassResourceIds") + def network_acl_bypass_resource_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + """ + return pulumi.get(self, "network_acl_bypass_resource_ids") + + @network_acl_bypass_resource_ids.setter + def network_acl_bypass_resource_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "network_acl_bypass_resource_ids", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['RestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore. + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['RestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="virtualNetworkRules") + def virtual_network_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]]: + """ + List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + return pulumi.get(self, "virtual_network_rules") + + @virtual_network_rules.setter + def virtual_network_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]]): + pulumi.set(self, "virtual_network_rules", value) + + +class DatabaseAccount(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + analytical_storage_configuration: Optional[pulumi.Input[pulumi.InputType['AnalyticalStorageConfigurationArgs']]] = None, + api_properties: Optional[pulumi.Input[pulumi.InputType['ApiPropertiesArgs']]] = None, + backup_policy: Optional[pulumi.Input[Union[pulumi.InputType['ContinuousModeBackupPolicyArgs'], pulumi.InputType['PeriodicModeBackupPolicyArgs']]]] = None, + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CapabilityArgs']]]]] = None, + capacity: Optional[pulumi.Input[pulumi.InputType['CapacityArgs']]] = None, + connector_offer: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]] = None, + consistency_policy: Optional[pulumi.Input[pulumi.InputType['ConsistencyPolicyArgs']]] = None, + cors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CorsPolicyArgs']]]]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + customer_managed_key_status: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]] = None, + database_account_offer_type: Optional[pulumi.Input['DatabaseAccountOfferType']] = None, + default_identity: Optional[pulumi.Input[str]] = None, + disable_key_based_metadata_write_access: Optional[pulumi.Input[bool]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + enable_analytical_storage: Optional[pulumi.Input[bool]] = None, + enable_automatic_failover: Optional[pulumi.Input[bool]] = None, + enable_burst_capacity: Optional[pulumi.Input[bool]] = None, + enable_cassandra_connector: Optional[pulumi.Input[bool]] = None, + enable_free_tier: Optional[pulumi.Input[bool]] = None, + enable_multiple_write_locations: Optional[pulumi.Input[bool]] = None, + enable_partition_merge: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpAddressOrRangeArgs']]]]] = None, + is_virtual_network_filter_enabled: Optional[pulumi.Input[bool]] = None, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + locations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LocationArgs']]]]] = None, + minimal_tls_version: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]] = None, + network_acl_bypass: Optional[pulumi.Input['NetworkAclBypass']] = None, + network_acl_bypass_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_parameters: Optional[pulumi.Input[pulumi.InputType['RestoreParametersArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkRuleArgs']]]]] = None, + __props__=None): + """ + An Azure Cosmos DB database account. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[pulumi.InputType['AnalyticalStorageConfigurationArgs']] analytical_storage_configuration: Analytical storage specific properties. + :param pulumi.Input[pulumi.InputType['ApiPropertiesArgs']] api_properties: API specific properties. Currently, supported only for MongoDB API. + :param pulumi.Input[Union[pulumi.InputType['ContinuousModeBackupPolicyArgs'], pulumi.InputType['PeriodicModeBackupPolicyArgs']]] backup_policy: The object representing the policy for taking backups on an account. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CapabilityArgs']]]] capabilities: List of Cosmos DB capabilities for the account + :param pulumi.Input[pulumi.InputType['CapacityArgs']] capacity: The object that represents all properties related to capacity enforcement on an account. + :param pulumi.Input[Union[str, 'ConnectorOffer']] connector_offer: The cassandra connector offer type for the Cosmos DB database C* account. + :param pulumi.Input[pulumi.InputType['ConsistencyPolicyArgs']] consistency_policy: The consistency policy for the Cosmos DB account. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CorsPolicyArgs']]]] cors: The CORS policy for the Cosmos DB database account. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of account creation. + :param pulumi.Input[Union[str, 'CustomerManagedKeyStatus']] customer_managed_key_status: Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + :param pulumi.Input['DatabaseAccountOfferType'] database_account_offer_type: The offer type for the database + :param pulumi.Input[str] default_identity: The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + :param pulumi.Input[bool] disable_key_based_metadata_write_access: Disable write operations on metadata resources (databases, containers, throughput) via account keys + :param pulumi.Input[bool] disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + :param pulumi.Input[bool] enable_analytical_storage: Flag to indicate whether to enable storage analytics. + :param pulumi.Input[bool] enable_automatic_failover: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + :param pulumi.Input[bool] enable_burst_capacity: Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + :param pulumi.Input[bool] enable_cassandra_connector: Enables the cassandra connector on the Cosmos DB C* account + :param pulumi.Input[bool] enable_free_tier: Flag to indicate whether Free Tier is enabled. + :param pulumi.Input[bool] enable_multiple_write_locations: Enables the account to write in multiple locations + :param pulumi.Input[bool] enable_partition_merge: Flag to indicate enabling/disabling of Partition Merge feature on the account + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpAddressOrRangeArgs']]]] ip_rules: List of IpRules. + :param pulumi.Input[bool] is_virtual_network_filter_enabled: Flag to indicate whether to enable/disable Virtual Network ACL rules. + :param pulumi.Input[str] key_vault_key_uri: The URI of the key vault + :param pulumi.Input[Union[str, 'DatabaseAccountKind']] kind: Indicates the type of database account. This can only be set at database account creation. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LocationArgs']]]] locations: An array that contains the georeplication locations enabled for the Cosmos DB account. + :param pulumi.Input[Union[str, 'MinimalTlsVersion']] minimal_tls_version: Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + :param pulumi.Input['NetworkAclBypass'] network_acl_bypass: Indicates what services are allowed to bypass firewall checks. + :param pulumi.Input[Sequence[pulumi.Input[str]]] network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Whether requests from Public Network are allowed + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['RestoreParametersArgs']] restore_parameters: Parameters to indicate the information about the restore. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkRuleArgs']]]] virtual_network_rules: List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DatabaseAccountArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB database account. + + :param str resource_name: The name of the resource. + :param DatabaseAccountArgs 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(DatabaseAccountArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + analytical_storage_configuration: Optional[pulumi.Input[pulumi.InputType['AnalyticalStorageConfigurationArgs']]] = None, + api_properties: Optional[pulumi.Input[pulumi.InputType['ApiPropertiesArgs']]] = None, + backup_policy: Optional[pulumi.Input[Union[pulumi.InputType['ContinuousModeBackupPolicyArgs'], pulumi.InputType['PeriodicModeBackupPolicyArgs']]]] = None, + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CapabilityArgs']]]]] = None, + capacity: Optional[pulumi.Input[pulumi.InputType['CapacityArgs']]] = None, + connector_offer: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]] = None, + consistency_policy: Optional[pulumi.Input[pulumi.InputType['ConsistencyPolicyArgs']]] = None, + cors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CorsPolicyArgs']]]]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + customer_managed_key_status: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]] = None, + database_account_offer_type: Optional[pulumi.Input['DatabaseAccountOfferType']] = None, + default_identity: Optional[pulumi.Input[str]] = None, + disable_key_based_metadata_write_access: Optional[pulumi.Input[bool]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + enable_analytical_storage: Optional[pulumi.Input[bool]] = None, + enable_automatic_failover: Optional[pulumi.Input[bool]] = None, + enable_burst_capacity: Optional[pulumi.Input[bool]] = None, + enable_cassandra_connector: Optional[pulumi.Input[bool]] = None, + enable_free_tier: Optional[pulumi.Input[bool]] = None, + enable_multiple_write_locations: Optional[pulumi.Input[bool]] = None, + enable_partition_merge: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpAddressOrRangeArgs']]]]] = None, + is_virtual_network_filter_enabled: Optional[pulumi.Input[bool]] = None, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + locations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LocationArgs']]]]] = None, + minimal_tls_version: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]] = None, + network_acl_bypass: Optional[pulumi.Input['NetworkAclBypass']] = None, + network_acl_bypass_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_parameters: Optional[pulumi.Input[pulumi.InputType['RestoreParametersArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkRuleArgs']]]]] = 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__ = DatabaseAccountArgs.__new__(DatabaseAccountArgs) + + __props__.__dict__["account_name"] = account_name + __props__.__dict__["analytical_storage_configuration"] = analytical_storage_configuration + __props__.__dict__["api_properties"] = api_properties + __props__.__dict__["backup_policy"] = backup_policy + __props__.__dict__["capabilities"] = capabilities + __props__.__dict__["capacity"] = capacity + __props__.__dict__["connector_offer"] = connector_offer + __props__.__dict__["consistency_policy"] = consistency_policy + __props__.__dict__["cors"] = cors + if create_mode is None: + create_mode = 'Default' + __props__.__dict__["create_mode"] = create_mode + __props__.__dict__["customer_managed_key_status"] = customer_managed_key_status + if database_account_offer_type is None and not opts.urn: + raise TypeError("Missing required property 'database_account_offer_type'") + __props__.__dict__["database_account_offer_type"] = database_account_offer_type + __props__.__dict__["default_identity"] = default_identity + __props__.__dict__["disable_key_based_metadata_write_access"] = disable_key_based_metadata_write_access + __props__.__dict__["disable_local_auth"] = disable_local_auth + __props__.__dict__["enable_analytical_storage"] = enable_analytical_storage + __props__.__dict__["enable_automatic_failover"] = enable_automatic_failover + __props__.__dict__["enable_burst_capacity"] = enable_burst_capacity + __props__.__dict__["enable_cassandra_connector"] = enable_cassandra_connector + __props__.__dict__["enable_free_tier"] = enable_free_tier + __props__.__dict__["enable_multiple_write_locations"] = enable_multiple_write_locations + __props__.__dict__["enable_partition_merge"] = enable_partition_merge + __props__.__dict__["identity"] = identity + __props__.__dict__["ip_rules"] = ip_rules + __props__.__dict__["is_virtual_network_filter_enabled"] = is_virtual_network_filter_enabled + __props__.__dict__["key_vault_key_uri"] = key_vault_key_uri + if kind is None: + kind = 'GlobalDocumentDB' + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + if locations is None and not opts.urn: + raise TypeError("Missing required property 'locations'") + __props__.__dict__["locations"] = locations + __props__.__dict__["minimal_tls_version"] = minimal_tls_version + __props__.__dict__["network_acl_bypass"] = network_acl_bypass + __props__.__dict__["network_acl_bypass_resource_ids"] = network_acl_bypass_resource_ids + __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__["restore_parameters"] = restore_parameters + __props__.__dict__["tags"] = tags + __props__.__dict__["virtual_network_rules"] = virtual_network_rules + __props__.__dict__["document_endpoint"] = None + __props__.__dict__["failover_policies"] = None + __props__.__dict__["instance_id"] = None + __props__.__dict__["keys_metadata"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["read_locations"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["write_locations"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:DatabaseAccount")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(DatabaseAccount, __self__).__init__( + 'azure-native:documentdb/v20230915:DatabaseAccount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'DatabaseAccount': + """ + Get an existing DatabaseAccount 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DatabaseAccountArgs.__new__(DatabaseAccountArgs) + + __props__.__dict__["analytical_storage_configuration"] = None + __props__.__dict__["api_properties"] = None + __props__.__dict__["backup_policy"] = None + __props__.__dict__["capabilities"] = None + __props__.__dict__["capacity"] = None + __props__.__dict__["connector_offer"] = None + __props__.__dict__["consistency_policy"] = None + __props__.__dict__["cors"] = None + __props__.__dict__["create_mode"] = None + __props__.__dict__["customer_managed_key_status"] = None + __props__.__dict__["database_account_offer_type"] = None + __props__.__dict__["default_identity"] = None + __props__.__dict__["disable_key_based_metadata_write_access"] = None + __props__.__dict__["disable_local_auth"] = None + __props__.__dict__["document_endpoint"] = None + __props__.__dict__["enable_analytical_storage"] = None + __props__.__dict__["enable_automatic_failover"] = None + __props__.__dict__["enable_burst_capacity"] = None + __props__.__dict__["enable_cassandra_connector"] = None + __props__.__dict__["enable_free_tier"] = None + __props__.__dict__["enable_multiple_write_locations"] = None + __props__.__dict__["enable_partition_merge"] = None + __props__.__dict__["failover_policies"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["instance_id"] = None + __props__.__dict__["ip_rules"] = None + __props__.__dict__["is_virtual_network_filter_enabled"] = None + __props__.__dict__["key_vault_key_uri"] = None + __props__.__dict__["keys_metadata"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["locations"] = None + __props__.__dict__["minimal_tls_version"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_acl_bypass"] = None + __props__.__dict__["network_acl_bypass_resource_ids"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["read_locations"] = None + __props__.__dict__["restore_parameters"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["virtual_network_rules"] = None + __props__.__dict__["write_locations"] = None + return DatabaseAccount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="analyticalStorageConfiguration") + def analytical_storage_configuration(self) -> pulumi.Output[Optional['outputs.AnalyticalStorageConfigurationResponse']]: + """ + Analytical storage specific properties. + """ + return pulumi.get(self, "analytical_storage_configuration") + + @property + @pulumi.getter(name="apiProperties") + def api_properties(self) -> pulumi.Output[Optional['outputs.ApiPropertiesResponse']]: + """ + API specific properties. + """ + return pulumi.get(self, "api_properties") + + @property + @pulumi.getter(name="backupPolicy") + def backup_policy(self) -> pulumi.Output[Optional[Any]]: + """ + The object representing the policy for taking backups on an account. + """ + return pulumi.get(self, "backup_policy") + + @property + @pulumi.getter + def capabilities(self) -> pulumi.Output[Optional[Sequence['outputs.CapabilityResponse']]]: + """ + List of Cosmos DB capabilities for the account + """ + return pulumi.get(self, "capabilities") + + @property + @pulumi.getter + def capacity(self) -> pulumi.Output[Optional['outputs.CapacityResponse']]: + """ + The object that represents all properties related to capacity enforcement on an account. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter(name="connectorOffer") + def connector_offer(self) -> pulumi.Output[Optional[str]]: + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + return pulumi.get(self, "connector_offer") + + @property + @pulumi.getter(name="consistencyPolicy") + def consistency_policy(self) -> pulumi.Output[Optional['outputs.ConsistencyPolicyResponse']]: + """ + The consistency policy for the Cosmos DB database account. + """ + return pulumi.get(self, "consistency_policy") + + @property + @pulumi.getter + def cors(self) -> pulumi.Output[Optional[Sequence['outputs.CorsPolicyResponse']]]: + """ + The CORS policy for the Cosmos DB database account. + """ + return pulumi.get(self, "cors") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> pulumi.Output[Optional[str]]: + """ + Enum to indicate the mode of account creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="customerManagedKeyStatus") + def customer_managed_key_status(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + return pulumi.get(self, "customer_managed_key_status") + + @property + @pulumi.getter(name="databaseAccountOfferType") + def database_account_offer_type(self) -> pulumi.Output[str]: + """ + The offer type for the Cosmos DB database account. Default value: Standard. + """ + return pulumi.get(self, "database_account_offer_type") + + @property + @pulumi.getter(name="defaultIdentity") + def default_identity(self) -> pulumi.Output[Optional[str]]: + """ + The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + """ + return pulumi.get(self, "default_identity") + + @property + @pulumi.getter(name="disableKeyBasedMetadataWriteAccess") + def disable_key_based_metadata_write_access(self) -> pulumi.Output[Optional[bool]]: + """ + Disable write operations on metadata resources (databases, containers, throughput) via account keys + """ + return pulumi.get(self, "disable_key_based_metadata_write_access") + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> pulumi.Output[Optional[bool]]: + """ + Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + """ + return pulumi.get(self, "disable_local_auth") + + @property + @pulumi.getter(name="documentEndpoint") + def document_endpoint(self) -> pulumi.Output[str]: + """ + The connection endpoint for the Cosmos DB database account. + """ + return pulumi.get(self, "document_endpoint") + + @property + @pulumi.getter(name="enableAnalyticalStorage") + def enable_analytical_storage(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether to enable storage analytics. + """ + return pulumi.get(self, "enable_analytical_storage") + + @property + @pulumi.getter(name="enableAutomaticFailover") + def enable_automatic_failover(self) -> pulumi.Output[Optional[bool]]: + """ + Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + """ + return pulumi.get(self, "enable_automatic_failover") + + @property + @pulumi.getter(name="enableBurstCapacity") + def enable_burst_capacity(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + """ + return pulumi.get(self, "enable_burst_capacity") + + @property + @pulumi.getter(name="enableCassandraConnector") + def enable_cassandra_connector(self) -> pulumi.Output[Optional[bool]]: + """ + Enables the cassandra connector on the Cosmos DB C* account + """ + return pulumi.get(self, "enable_cassandra_connector") + + @property + @pulumi.getter(name="enableFreeTier") + def enable_free_tier(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether Free Tier is enabled. + """ + return pulumi.get(self, "enable_free_tier") + + @property + @pulumi.getter(name="enableMultipleWriteLocations") + def enable_multiple_write_locations(self) -> pulumi.Output[Optional[bool]]: + """ + Enables the account to write in multiple locations + """ + return pulumi.get(self, "enable_multiple_write_locations") + + @property + @pulumi.getter(name="enablePartitionMerge") + def enable_partition_merge(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate enabling/disabling of Partition Merge feature on the account + """ + return pulumi.get(self, "enable_partition_merge") + + @property + @pulumi.getter(name="failoverPolicies") + def failover_policies(self) -> pulumi.Output[Sequence['outputs.FailoverPolicyResponse']]: + """ + An array that contains the regions ordered by their failover priorities. + """ + return pulumi.get(self, "failover_policies") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> pulumi.Output[str]: + """ + A unique identifier assigned to the database account + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> pulumi.Output[Optional[Sequence['outputs.IpAddressOrRangeResponse']]]: + """ + List of IpRules. + """ + return pulumi.get(self, "ip_rules") + + @property + @pulumi.getter(name="isVirtualNetworkFilterEnabled") + def is_virtual_network_filter_enabled(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether to enable/disable Virtual Network ACL rules. + """ + return pulumi.get(self, "is_virtual_network_filter_enabled") + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> pulumi.Output[Optional[str]]: + """ + The URI of the key vault + """ + return pulumi.get(self, "key_vault_key_uri") + + @property + @pulumi.getter(name="keysMetadata") + def keys_metadata(self) -> pulumi.Output['outputs.DatabaseAccountKeysMetadataResponse']: + """ + The object that represents the metadata for the Account Keys of the Cosmos DB account. + """ + return pulumi.get(self, "keys_metadata") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the type of database account. This can only be set at database account creation. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def locations(self) -> pulumi.Output[Sequence['outputs.LocationResponse']]: + """ + An array that contains all of the locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="minimalTlsVersion") + def minimal_tls_version(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + """ + return pulumi.get(self, "minimal_tls_version") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkAclBypass") + def network_acl_bypass(self) -> pulumi.Output[Optional[str]]: + """ + Indicates what services are allowed to bypass firewall checks. + """ + return pulumi.get(self, "network_acl_bypass") + + @property + @pulumi.getter(name="networkAclBypassResourceIds") + def network_acl_bypass_resource_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + """ + return pulumi.get(self, "network_acl_bypass_resource_ids") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + List of Private Endpoint Connections configured for the Cosmos DB account. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="readLocations") + def read_locations(self) -> pulumi.Output[Sequence['outputs.LocationResponse']]: + """ + An array that contains of the read locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "read_locations") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> pulumi.Output[Optional['outputs.RestoreParametersResponse']]: + """ + Parameters to indicate the information about the restore. + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system meta data relating to this resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="virtualNetworkRules") + def virtual_network_rules(self) -> pulumi.Output[Optional[Sequence['outputs.VirtualNetworkRuleResponse']]]: + """ + List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + return pulumi.get(self, "virtual_network_rules") + + @property + @pulumi.getter(name="writeLocations") + def write_locations(self) -> pulumi.Output[Sequence['outputs.LocationResponse']]: + """ + An array that contains the write location for the Cosmos DB account. + """ + return pulumi.get(self, "write_locations") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_cluster.py new file mode 100644 index 000000000000..a94a6a8ed377 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_cluster.py @@ -0,0 +1,157 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraClusterResult', + 'AwaitableGetCassandraClusterResult', + 'get_cassandra_cluster', + 'get_cassandra_cluster_output', +] + +@pulumi.output_type +class GetCassandraClusterResult: + """ + Representation of a managed Cassandra cluster. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, properties=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedCassandraManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ClusterResourceResponseProperties': + """ + Properties of a managed Cassandra cluster. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraClusterResult(GetCassandraClusterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraClusterResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + properties=self.properties, + tags=self.tags, + type=self.type) + + +def get_cassandra_cluster(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraClusterResult: + """ + Get the properties of a managed Cassandra cluster. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getCassandraCluster', __args__, opts=opts, typ=GetCassandraClusterResult).value + + return AwaitableGetCassandraClusterResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_cluster) +def get_cassandra_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraClusterResult]: + """ + Get the properties of a managed Cassandra cluster. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_data_center.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_data_center.py new file mode 100644 index 000000000000..d2b61b0e1111 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_data_center.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraDataCenterResult', + 'AwaitableGetCassandraDataCenterResult', + 'get_cassandra_data_center', + 'get_cassandra_data_center_output', +] + +@pulumi.output_type +class GetCassandraDataCenterResult: + """ + A managed Cassandra data center. + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.DataCenterResourceResponseProperties': + """ + Properties of a managed Cassandra data center. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraDataCenterResult(GetCassandraDataCenterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraDataCenterResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_cassandra_data_center(cluster_name: Optional[str] = None, + data_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraDataCenterResult: + """ + Get the properties of a managed Cassandra data center. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str data_center_name: Data center name in a managed Cassandra cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['dataCenterName'] = data_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getCassandraDataCenter', __args__, opts=opts, typ=GetCassandraDataCenterResult).value + + return AwaitableGetCassandraDataCenterResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_data_center) +def get_cassandra_data_center_output(cluster_name: Optional[pulumi.Input[str]] = None, + data_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraDataCenterResult]: + """ + Get the properties of a managed Cassandra data center. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str data_center_name: Data center name in a managed Cassandra cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_resource_cassandra_keyspace.py new file mode 100644 index 000000000000..b8ba561d0c69 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_resource_cassandra_keyspace.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraResourceCassandraKeyspaceResult', + 'AwaitableGetCassandraResourceCassandraKeyspaceResult', + 'get_cassandra_resource_cassandra_keyspace', + 'get_cassandra_resource_cassandra_keyspace_output', +] + +@pulumi.output_type +class GetCassandraResourceCassandraKeyspaceResult: + """ + An Azure Cosmos DB Cassandra keyspace. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.CassandraKeyspaceGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.CassandraKeyspaceGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraResourceCassandraKeyspaceResult(GetCassandraResourceCassandraKeyspaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraResourceCassandraKeyspaceResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_cassandra_resource_cassandra_keyspace(account_name: Optional[str] = None, + keyspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraResourceCassandraKeyspaceResult: + """ + Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['keyspaceName'] = keyspace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getCassandraResourceCassandraKeyspace', __args__, opts=opts, typ=GetCassandraResourceCassandraKeyspaceResult).value + + return AwaitableGetCassandraResourceCassandraKeyspaceResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_resource_cassandra_keyspace) +def get_cassandra_resource_cassandra_keyspace_output(account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraResourceCassandraKeyspaceResult]: + """ + Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_resource_cassandra_table.py new file mode 100644 index 000000000000..9daa055d8354 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_cassandra_resource_cassandra_table.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraResourceCassandraTableResult', + 'AwaitableGetCassandraResourceCassandraTableResult', + 'get_cassandra_resource_cassandra_table', + 'get_cassandra_resource_cassandra_table_output', +] + +@pulumi.output_type +class GetCassandraResourceCassandraTableResult: + """ + An Azure Cosmos DB Cassandra table. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.CassandraTableGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.CassandraTableGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraResourceCassandraTableResult(GetCassandraResourceCassandraTableResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraResourceCassandraTableResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_cassandra_resource_cassandra_table(account_name: Optional[str] = None, + keyspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + table_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraResourceCassandraTableResult: + """ + Gets the Cassandra table under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['keyspaceName'] = keyspace_name + __args__['resourceGroupName'] = resource_group_name + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getCassandraResourceCassandraTable', __args__, opts=opts, typ=GetCassandraResourceCassandraTableResult).value + + return AwaitableGetCassandraResourceCassandraTableResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_resource_cassandra_table) +def get_cassandra_resource_cassandra_table_output(account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraResourceCassandraTableResult]: + """ + Gets the Cassandra table under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_database_account.py new file mode 100644 index 000000000000..2eb22af8ed8f --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_database_account.py @@ -0,0 +1,677 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDatabaseAccountResult', + 'AwaitableGetDatabaseAccountResult', + 'get_database_account', + 'get_database_account_output', +] + +@pulumi.output_type +class GetDatabaseAccountResult: + """ + An Azure Cosmos DB database account. + """ + def __init__(__self__, analytical_storage_configuration=None, api_properties=None, backup_policy=None, capabilities=None, capacity=None, connector_offer=None, consistency_policy=None, cors=None, create_mode=None, customer_managed_key_status=None, database_account_offer_type=None, default_identity=None, disable_key_based_metadata_write_access=None, disable_local_auth=None, document_endpoint=None, enable_analytical_storage=None, enable_automatic_failover=None, enable_burst_capacity=None, enable_cassandra_connector=None, enable_free_tier=None, enable_multiple_write_locations=None, enable_partition_merge=None, failover_policies=None, id=None, identity=None, instance_id=None, ip_rules=None, is_virtual_network_filter_enabled=None, key_vault_key_uri=None, keys_metadata=None, kind=None, location=None, locations=None, minimal_tls_version=None, name=None, network_acl_bypass=None, network_acl_bypass_resource_ids=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, read_locations=None, restore_parameters=None, system_data=None, tags=None, type=None, virtual_network_rules=None, write_locations=None): + if analytical_storage_configuration and not isinstance(analytical_storage_configuration, dict): + raise TypeError("Expected argument 'analytical_storage_configuration' to be a dict") + pulumi.set(__self__, "analytical_storage_configuration", analytical_storage_configuration) + if api_properties and not isinstance(api_properties, dict): + raise TypeError("Expected argument 'api_properties' to be a dict") + pulumi.set(__self__, "api_properties", api_properties) + if backup_policy and not isinstance(backup_policy, dict): + raise TypeError("Expected argument 'backup_policy' to be a dict") + pulumi.set(__self__, "backup_policy", backup_policy) + if capabilities and not isinstance(capabilities, list): + raise TypeError("Expected argument 'capabilities' to be a list") + pulumi.set(__self__, "capabilities", capabilities) + if capacity and not isinstance(capacity, dict): + raise TypeError("Expected argument 'capacity' to be a dict") + pulumi.set(__self__, "capacity", capacity) + if connector_offer and not isinstance(connector_offer, str): + raise TypeError("Expected argument 'connector_offer' to be a str") + pulumi.set(__self__, "connector_offer", connector_offer) + if consistency_policy and not isinstance(consistency_policy, dict): + raise TypeError("Expected argument 'consistency_policy' to be a dict") + pulumi.set(__self__, "consistency_policy", consistency_policy) + if cors and not isinstance(cors, list): + raise TypeError("Expected argument 'cors' to be a list") + pulumi.set(__self__, "cors", cors) + if create_mode and not isinstance(create_mode, str): + raise TypeError("Expected argument 'create_mode' to be a str") + pulumi.set(__self__, "create_mode", create_mode) + if customer_managed_key_status and not isinstance(customer_managed_key_status, str): + raise TypeError("Expected argument 'customer_managed_key_status' to be a str") + pulumi.set(__self__, "customer_managed_key_status", customer_managed_key_status) + if database_account_offer_type and not isinstance(database_account_offer_type, str): + raise TypeError("Expected argument 'database_account_offer_type' to be a str") + pulumi.set(__self__, "database_account_offer_type", database_account_offer_type) + if default_identity and not isinstance(default_identity, str): + raise TypeError("Expected argument 'default_identity' to be a str") + pulumi.set(__self__, "default_identity", default_identity) + if disable_key_based_metadata_write_access and not isinstance(disable_key_based_metadata_write_access, bool): + raise TypeError("Expected argument 'disable_key_based_metadata_write_access' to be a bool") + pulumi.set(__self__, "disable_key_based_metadata_write_access", disable_key_based_metadata_write_access) + if disable_local_auth and not isinstance(disable_local_auth, bool): + raise TypeError("Expected argument 'disable_local_auth' to be a bool") + pulumi.set(__self__, "disable_local_auth", disable_local_auth) + if document_endpoint and not isinstance(document_endpoint, str): + raise TypeError("Expected argument 'document_endpoint' to be a str") + pulumi.set(__self__, "document_endpoint", document_endpoint) + if enable_analytical_storage and not isinstance(enable_analytical_storage, bool): + raise TypeError("Expected argument 'enable_analytical_storage' to be a bool") + pulumi.set(__self__, "enable_analytical_storage", enable_analytical_storage) + if enable_automatic_failover and not isinstance(enable_automatic_failover, bool): + raise TypeError("Expected argument 'enable_automatic_failover' to be a bool") + pulumi.set(__self__, "enable_automatic_failover", enable_automatic_failover) + if enable_burst_capacity and not isinstance(enable_burst_capacity, bool): + raise TypeError("Expected argument 'enable_burst_capacity' to be a bool") + pulumi.set(__self__, "enable_burst_capacity", enable_burst_capacity) + if enable_cassandra_connector and not isinstance(enable_cassandra_connector, bool): + raise TypeError("Expected argument 'enable_cassandra_connector' to be a bool") + pulumi.set(__self__, "enable_cassandra_connector", enable_cassandra_connector) + if enable_free_tier and not isinstance(enable_free_tier, bool): + raise TypeError("Expected argument 'enable_free_tier' to be a bool") + pulumi.set(__self__, "enable_free_tier", enable_free_tier) + if enable_multiple_write_locations and not isinstance(enable_multiple_write_locations, bool): + raise TypeError("Expected argument 'enable_multiple_write_locations' to be a bool") + pulumi.set(__self__, "enable_multiple_write_locations", enable_multiple_write_locations) + if enable_partition_merge and not isinstance(enable_partition_merge, bool): + raise TypeError("Expected argument 'enable_partition_merge' to be a bool") + pulumi.set(__self__, "enable_partition_merge", enable_partition_merge) + if failover_policies and not isinstance(failover_policies, list): + raise TypeError("Expected argument 'failover_policies' to be a list") + pulumi.set(__self__, "failover_policies", failover_policies) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if instance_id and not isinstance(instance_id, str): + raise TypeError("Expected argument 'instance_id' to be a str") + pulumi.set(__self__, "instance_id", instance_id) + if ip_rules and not isinstance(ip_rules, list): + raise TypeError("Expected argument 'ip_rules' to be a list") + pulumi.set(__self__, "ip_rules", ip_rules) + if is_virtual_network_filter_enabled and not isinstance(is_virtual_network_filter_enabled, bool): + raise TypeError("Expected argument 'is_virtual_network_filter_enabled' to be a bool") + pulumi.set(__self__, "is_virtual_network_filter_enabled", is_virtual_network_filter_enabled) + if key_vault_key_uri and not isinstance(key_vault_key_uri, str): + raise TypeError("Expected argument 'key_vault_key_uri' to be a str") + pulumi.set(__self__, "key_vault_key_uri", key_vault_key_uri) + if keys_metadata and not isinstance(keys_metadata, dict): + raise TypeError("Expected argument 'keys_metadata' to be a dict") + pulumi.set(__self__, "keys_metadata", keys_metadata) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if locations and not isinstance(locations, list): + raise TypeError("Expected argument 'locations' to be a list") + pulumi.set(__self__, "locations", locations) + if minimal_tls_version and not isinstance(minimal_tls_version, str): + raise TypeError("Expected argument 'minimal_tls_version' to be a str") + pulumi.set(__self__, "minimal_tls_version", minimal_tls_version) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_acl_bypass and not isinstance(network_acl_bypass, str): + raise TypeError("Expected argument 'network_acl_bypass' to be a str") + pulumi.set(__self__, "network_acl_bypass", network_acl_bypass) + if network_acl_bypass_resource_ids and not isinstance(network_acl_bypass_resource_ids, list): + raise TypeError("Expected argument 'network_acl_bypass_resource_ids' to be a list") + pulumi.set(__self__, "network_acl_bypass_resource_ids", network_acl_bypass_resource_ids) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if read_locations and not isinstance(read_locations, list): + raise TypeError("Expected argument 'read_locations' to be a list") + pulumi.set(__self__, "read_locations", read_locations) + if restore_parameters and not isinstance(restore_parameters, dict): + raise TypeError("Expected argument 'restore_parameters' to be a dict") + pulumi.set(__self__, "restore_parameters", restore_parameters) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if virtual_network_rules and not isinstance(virtual_network_rules, list): + raise TypeError("Expected argument 'virtual_network_rules' to be a list") + pulumi.set(__self__, "virtual_network_rules", virtual_network_rules) + if write_locations and not isinstance(write_locations, list): + raise TypeError("Expected argument 'write_locations' to be a list") + pulumi.set(__self__, "write_locations", write_locations) + + @property + @pulumi.getter(name="analyticalStorageConfiguration") + def analytical_storage_configuration(self) -> Optional['outputs.AnalyticalStorageConfigurationResponse']: + """ + Analytical storage specific properties. + """ + return pulumi.get(self, "analytical_storage_configuration") + + @property + @pulumi.getter(name="apiProperties") + def api_properties(self) -> Optional['outputs.ApiPropertiesResponse']: + """ + API specific properties. + """ + return pulumi.get(self, "api_properties") + + @property + @pulumi.getter(name="backupPolicy") + def backup_policy(self) -> Optional[Any]: + """ + The object representing the policy for taking backups on an account. + """ + return pulumi.get(self, "backup_policy") + + @property + @pulumi.getter + def capabilities(self) -> Optional[Sequence['outputs.CapabilityResponse']]: + """ + List of Cosmos DB capabilities for the account + """ + return pulumi.get(self, "capabilities") + + @property + @pulumi.getter + def capacity(self) -> Optional['outputs.CapacityResponse']: + """ + The object that represents all properties related to capacity enforcement on an account. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter(name="connectorOffer") + def connector_offer(self) -> Optional[str]: + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + return pulumi.get(self, "connector_offer") + + @property + @pulumi.getter(name="consistencyPolicy") + def consistency_policy(self) -> Optional['outputs.ConsistencyPolicyResponse']: + """ + The consistency policy for the Cosmos DB database account. + """ + return pulumi.get(self, "consistency_policy") + + @property + @pulumi.getter + def cors(self) -> Optional[Sequence['outputs.CorsPolicyResponse']]: + """ + The CORS policy for the Cosmos DB database account. + """ + return pulumi.get(self, "cors") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of account creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="customerManagedKeyStatus") + def customer_managed_key_status(self) -> Optional[str]: + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + return pulumi.get(self, "customer_managed_key_status") + + @property + @pulumi.getter(name="databaseAccountOfferType") + def database_account_offer_type(self) -> str: + """ + The offer type for the Cosmos DB database account. Default value: Standard. + """ + return pulumi.get(self, "database_account_offer_type") + + @property + @pulumi.getter(name="defaultIdentity") + def default_identity(self) -> Optional[str]: + """ + The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + """ + return pulumi.get(self, "default_identity") + + @property + @pulumi.getter(name="disableKeyBasedMetadataWriteAccess") + def disable_key_based_metadata_write_access(self) -> Optional[bool]: + """ + Disable write operations on metadata resources (databases, containers, throughput) via account keys + """ + return pulumi.get(self, "disable_key_based_metadata_write_access") + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> Optional[bool]: + """ + Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + """ + return pulumi.get(self, "disable_local_auth") + + @property + @pulumi.getter(name="documentEndpoint") + def document_endpoint(self) -> str: + """ + The connection endpoint for the Cosmos DB database account. + """ + return pulumi.get(self, "document_endpoint") + + @property + @pulumi.getter(name="enableAnalyticalStorage") + def enable_analytical_storage(self) -> Optional[bool]: + """ + Flag to indicate whether to enable storage analytics. + """ + return pulumi.get(self, "enable_analytical_storage") + + @property + @pulumi.getter(name="enableAutomaticFailover") + def enable_automatic_failover(self) -> Optional[bool]: + """ + Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + """ + return pulumi.get(self, "enable_automatic_failover") + + @property + @pulumi.getter(name="enableBurstCapacity") + def enable_burst_capacity(self) -> Optional[bool]: + """ + Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + """ + return pulumi.get(self, "enable_burst_capacity") + + @property + @pulumi.getter(name="enableCassandraConnector") + def enable_cassandra_connector(self) -> Optional[bool]: + """ + Enables the cassandra connector on the Cosmos DB C* account + """ + return pulumi.get(self, "enable_cassandra_connector") + + @property + @pulumi.getter(name="enableFreeTier") + def enable_free_tier(self) -> Optional[bool]: + """ + Flag to indicate whether Free Tier is enabled. + """ + return pulumi.get(self, "enable_free_tier") + + @property + @pulumi.getter(name="enableMultipleWriteLocations") + def enable_multiple_write_locations(self) -> Optional[bool]: + """ + Enables the account to write in multiple locations + """ + return pulumi.get(self, "enable_multiple_write_locations") + + @property + @pulumi.getter(name="enablePartitionMerge") + def enable_partition_merge(self) -> Optional[bool]: + """ + Flag to indicate enabling/disabling of Partition Merge feature on the account + """ + return pulumi.get(self, "enable_partition_merge") + + @property + @pulumi.getter(name="failoverPolicies") + def failover_policies(self) -> Sequence['outputs.FailoverPolicyResponse']: + """ + An array that contains the regions ordered by their failover priorities. + """ + return pulumi.get(self, "failover_policies") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> str: + """ + A unique identifier assigned to the database account + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> Optional[Sequence['outputs.IpAddressOrRangeResponse']]: + """ + List of IpRules. + """ + return pulumi.get(self, "ip_rules") + + @property + @pulumi.getter(name="isVirtualNetworkFilterEnabled") + def is_virtual_network_filter_enabled(self) -> Optional[bool]: + """ + Flag to indicate whether to enable/disable Virtual Network ACL rules. + """ + return pulumi.get(self, "is_virtual_network_filter_enabled") + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> Optional[str]: + """ + The URI of the key vault + """ + return pulumi.get(self, "key_vault_key_uri") + + @property + @pulumi.getter(name="keysMetadata") + def keys_metadata(self) -> 'outputs.DatabaseAccountKeysMetadataResponse': + """ + The object that represents the metadata for the Account Keys of the Cosmos DB account. + """ + return pulumi.get(self, "keys_metadata") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Indicates the type of database account. This can only be set at database account creation. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.LocationResponse']: + """ + An array that contains all of the locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="minimalTlsVersion") + def minimal_tls_version(self) -> Optional[str]: + """ + Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. + """ + return pulumi.get(self, "minimal_tls_version") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkAclBypass") + def network_acl_bypass(self) -> Optional[str]: + """ + Indicates what services are allowed to bypass firewall checks. + """ + return pulumi.get(self, "network_acl_bypass") + + @property + @pulumi.getter(name="networkAclBypassResourceIds") + def network_acl_bypass_resource_ids(self) -> Optional[Sequence[str]]: + """ + An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + """ + return pulumi.get(self, "network_acl_bypass_resource_ids") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + List of Private Endpoint Connections configured for the Cosmos DB account. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="readLocations") + def read_locations(self) -> Sequence['outputs.LocationResponse']: + """ + An array that contains of the read locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "read_locations") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.RestoreParametersResponse']: + """ + Parameters to indicate the information about the restore. + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system meta data relating to this resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="virtualNetworkRules") + def virtual_network_rules(self) -> Optional[Sequence['outputs.VirtualNetworkRuleResponse']]: + """ + List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + return pulumi.get(self, "virtual_network_rules") + + @property + @pulumi.getter(name="writeLocations") + def write_locations(self) -> Sequence['outputs.LocationResponse']: + """ + An array that contains the write location for the Cosmos DB account. + """ + return pulumi.get(self, "write_locations") + + +class AwaitableGetDatabaseAccountResult(GetDatabaseAccountResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDatabaseAccountResult( + analytical_storage_configuration=self.analytical_storage_configuration, + api_properties=self.api_properties, + backup_policy=self.backup_policy, + capabilities=self.capabilities, + capacity=self.capacity, + connector_offer=self.connector_offer, + consistency_policy=self.consistency_policy, + cors=self.cors, + create_mode=self.create_mode, + customer_managed_key_status=self.customer_managed_key_status, + database_account_offer_type=self.database_account_offer_type, + default_identity=self.default_identity, + disable_key_based_metadata_write_access=self.disable_key_based_metadata_write_access, + disable_local_auth=self.disable_local_auth, + document_endpoint=self.document_endpoint, + enable_analytical_storage=self.enable_analytical_storage, + enable_automatic_failover=self.enable_automatic_failover, + enable_burst_capacity=self.enable_burst_capacity, + enable_cassandra_connector=self.enable_cassandra_connector, + enable_free_tier=self.enable_free_tier, + enable_multiple_write_locations=self.enable_multiple_write_locations, + enable_partition_merge=self.enable_partition_merge, + failover_policies=self.failover_policies, + id=self.id, + identity=self.identity, + instance_id=self.instance_id, + ip_rules=self.ip_rules, + is_virtual_network_filter_enabled=self.is_virtual_network_filter_enabled, + key_vault_key_uri=self.key_vault_key_uri, + keys_metadata=self.keys_metadata, + kind=self.kind, + location=self.location, + locations=self.locations, + minimal_tls_version=self.minimal_tls_version, + name=self.name, + network_acl_bypass=self.network_acl_bypass, + network_acl_bypass_resource_ids=self.network_acl_bypass_resource_ids, + private_endpoint_connections=self.private_endpoint_connections, + provisioning_state=self.provisioning_state, + public_network_access=self.public_network_access, + read_locations=self.read_locations, + restore_parameters=self.restore_parameters, + system_data=self.system_data, + tags=self.tags, + type=self.type, + virtual_network_rules=self.virtual_network_rules, + write_locations=self.write_locations) + + +def get_database_account(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseAccountResult: + """ + Retrieves the properties of an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getDatabaseAccount', __args__, opts=opts, typ=GetDatabaseAccountResult).value + + return AwaitableGetDatabaseAccountResult( + analytical_storage_configuration=pulumi.get(__ret__, 'analytical_storage_configuration'), + api_properties=pulumi.get(__ret__, 'api_properties'), + backup_policy=pulumi.get(__ret__, 'backup_policy'), + capabilities=pulumi.get(__ret__, 'capabilities'), + capacity=pulumi.get(__ret__, 'capacity'), + connector_offer=pulumi.get(__ret__, 'connector_offer'), + consistency_policy=pulumi.get(__ret__, 'consistency_policy'), + cors=pulumi.get(__ret__, 'cors'), + create_mode=pulumi.get(__ret__, 'create_mode'), + customer_managed_key_status=pulumi.get(__ret__, 'customer_managed_key_status'), + database_account_offer_type=pulumi.get(__ret__, 'database_account_offer_type'), + default_identity=pulumi.get(__ret__, 'default_identity'), + disable_key_based_metadata_write_access=pulumi.get(__ret__, 'disable_key_based_metadata_write_access'), + disable_local_auth=pulumi.get(__ret__, 'disable_local_auth'), + document_endpoint=pulumi.get(__ret__, 'document_endpoint'), + enable_analytical_storage=pulumi.get(__ret__, 'enable_analytical_storage'), + enable_automatic_failover=pulumi.get(__ret__, 'enable_automatic_failover'), + enable_burst_capacity=pulumi.get(__ret__, 'enable_burst_capacity'), + enable_cassandra_connector=pulumi.get(__ret__, 'enable_cassandra_connector'), + enable_free_tier=pulumi.get(__ret__, 'enable_free_tier'), + enable_multiple_write_locations=pulumi.get(__ret__, 'enable_multiple_write_locations'), + enable_partition_merge=pulumi.get(__ret__, 'enable_partition_merge'), + failover_policies=pulumi.get(__ret__, 'failover_policies'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + instance_id=pulumi.get(__ret__, 'instance_id'), + ip_rules=pulumi.get(__ret__, 'ip_rules'), + is_virtual_network_filter_enabled=pulumi.get(__ret__, 'is_virtual_network_filter_enabled'), + key_vault_key_uri=pulumi.get(__ret__, 'key_vault_key_uri'), + keys_metadata=pulumi.get(__ret__, 'keys_metadata'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + locations=pulumi.get(__ret__, 'locations'), + minimal_tls_version=pulumi.get(__ret__, 'minimal_tls_version'), + name=pulumi.get(__ret__, 'name'), + network_acl_bypass=pulumi.get(__ret__, 'network_acl_bypass'), + network_acl_bypass_resource_ids=pulumi.get(__ret__, 'network_acl_bypass_resource_ids'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + read_locations=pulumi.get(__ret__, 'read_locations'), + restore_parameters=pulumi.get(__ret__, 'restore_parameters'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + virtual_network_rules=pulumi.get(__ret__, 'virtual_network_rules'), + write_locations=pulumi.get(__ret__, 'write_locations')) + + +@_utilities.lift_output_func(get_database_account) +def get_database_account_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseAccountResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_gremlin_resource_gremlin_database.py new file mode 100644 index 000000000000..996625791fc6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_gremlin_resource_gremlin_database.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGremlinResourceGremlinDatabaseResult', + 'AwaitableGetGremlinResourceGremlinDatabaseResult', + 'get_gremlin_resource_gremlin_database', + 'get_gremlin_resource_gremlin_database_output', +] + +@pulumi.output_type +class GetGremlinResourceGremlinDatabaseResult: + """ + An Azure Cosmos DB Gremlin database. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.GremlinDatabaseGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.GremlinDatabaseGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetGremlinResourceGremlinDatabaseResult(GetGremlinResourceGremlinDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGremlinResourceGremlinDatabaseResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_gremlin_resource_gremlin_database(account_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGremlinResourceGremlinDatabaseResult: + """ + Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getGremlinResourceGremlinDatabase', __args__, opts=opts, typ=GetGremlinResourceGremlinDatabaseResult).value + + return AwaitableGetGremlinResourceGremlinDatabaseResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_gremlin_resource_gremlin_database) +def get_gremlin_resource_gremlin_database_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGremlinResourceGremlinDatabaseResult]: + """ + Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_gremlin_resource_gremlin_graph.py new file mode 100644 index 000000000000..26cc7894d9a2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_gremlin_resource_gremlin_graph.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGremlinResourceGremlinGraphResult', + 'AwaitableGetGremlinResourceGremlinGraphResult', + 'get_gremlin_resource_gremlin_graph', + 'get_gremlin_resource_gremlin_graph_output', +] + +@pulumi.output_type +class GetGremlinResourceGremlinGraphResult: + """ + An Azure Cosmos DB Gremlin graph. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.GremlinGraphGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.GremlinGraphGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetGremlinResourceGremlinGraphResult(GetGremlinResourceGremlinGraphResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGremlinResourceGremlinGraphResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_gremlin_resource_gremlin_graph(account_name: Optional[str] = None, + database_name: Optional[str] = None, + graph_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGremlinResourceGremlinGraphResult: + """ + Gets the Gremlin graph under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str graph_name: Cosmos DB graph name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['graphName'] = graph_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getGremlinResourceGremlinGraph', __args__, opts=opts, typ=GetGremlinResourceGremlinGraphResult).value + + return AwaitableGetGremlinResourceGremlinGraphResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_gremlin_resource_gremlin_graph) +def get_gremlin_resource_gremlin_graph_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGremlinResourceGremlinGraphResult]: + """ + Gets the Gremlin graph under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str graph_name: Cosmos DB graph name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_db_collection.py new file mode 100644 index 000000000000..6868ca20ba24 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_db_collection.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoDBCollectionResult', + 'AwaitableGetMongoDBResourceMongoDBCollectionResult', + 'get_mongo_db_resource_mongo_db_collection', + 'get_mongo_db_resource_mongo_db_collection_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoDBCollectionResult: + """ + An Azure Cosmos DB MongoDB collection. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.MongoDBCollectionGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.MongoDBCollectionGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoDBResourceMongoDBCollectionResult(GetMongoDBResourceMongoDBCollectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoDBCollectionResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_mongo_db_resource_mongo_db_collection(account_name: Optional[str] = None, + collection_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoDBCollectionResult: + """ + Gets the MongoDB collection under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str collection_name: Cosmos DB collection name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['collectionName'] = collection_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getMongoDBResourceMongoDBCollection', __args__, opts=opts, typ=GetMongoDBResourceMongoDBCollectionResult).value + + return AwaitableGetMongoDBResourceMongoDBCollectionResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_db_collection) +def get_mongo_db_resource_mongo_db_collection_output(account_name: Optional[pulumi.Input[str]] = None, + collection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoDBCollectionResult]: + """ + Gets the MongoDB collection under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str collection_name: Cosmos DB collection name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_db_database.py new file mode 100644 index 000000000000..e8f25dbfb040 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_db_database.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoDBDatabaseResult', + 'AwaitableGetMongoDBResourceMongoDBDatabaseResult', + 'get_mongo_db_resource_mongo_db_database', + 'get_mongo_db_resource_mongo_db_database_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoDBDatabaseResult: + """ + An Azure Cosmos DB MongoDB database. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.MongoDBDatabaseGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.MongoDBDatabaseGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoDBResourceMongoDBDatabaseResult(GetMongoDBResourceMongoDBDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoDBDatabaseResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_mongo_db_resource_mongo_db_database(account_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoDBDatabaseResult: + """ + Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getMongoDBResourceMongoDBDatabase', __args__, opts=opts, typ=GetMongoDBResourceMongoDBDatabaseResult).value + + return AwaitableGetMongoDBResourceMongoDBDatabaseResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_db_database) +def get_mongo_db_resource_mongo_db_database_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoDBDatabaseResult]: + """ + Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_role_definition.py new file mode 100644 index 000000000000..dda1737bdb56 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_role_definition.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoRoleDefinitionResult', + 'AwaitableGetMongoDBResourceMongoRoleDefinitionResult', + 'get_mongo_db_resource_mongo_role_definition', + 'get_mongo_db_resource_mongo_role_definition_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoRoleDefinitionResult: + """ + An Azure Cosmos DB Mongo Role Definition. + """ + def __init__(__self__, database_name=None, id=None, name=None, privileges=None, role_name=None, roles=None, type=None): + if database_name and not isinstance(database_name, str): + raise TypeError("Expected argument 'database_name' to be a str") + pulumi.set(__self__, "database_name", database_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if privileges and not isinstance(privileges, list): + raise TypeError("Expected argument 'privileges' to be a list") + pulumi.set(__self__, "privileges", privileges) + if role_name and not isinstance(role_name, str): + raise TypeError("Expected argument 'role_name' to be a str") + pulumi.set(__self__, "role_name", role_name) + if roles and not isinstance(roles, list): + raise TypeError("Expected argument 'roles' to be a list") + pulumi.set(__self__, "roles", roles) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The database name for which access is being granted for this Role Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def privileges(self) -> Optional[Sequence['outputs.PrivilegeResponse']]: + """ + A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + """ + return pulumi.get(self, "privileges") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[str]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def roles(self) -> Optional[Sequence['outputs.RoleResponse']]: + """ + The set of roles inherited by this Role Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoDBResourceMongoRoleDefinitionResult(GetMongoDBResourceMongoRoleDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoRoleDefinitionResult( + database_name=self.database_name, + id=self.id, + name=self.name, + privileges=self.privileges, + role_name=self.role_name, + roles=self.roles, + type=self.type) + + +def get_mongo_db_resource_mongo_role_definition(account_name: Optional[str] = None, + mongo_role_definition_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoRoleDefinitionResult: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['mongoRoleDefinitionId'] = mongo_role_definition_id + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getMongoDBResourceMongoRoleDefinition', __args__, opts=opts, typ=GetMongoDBResourceMongoRoleDefinitionResult).value + + return AwaitableGetMongoDBResourceMongoRoleDefinitionResult( + database_name=pulumi.get(__ret__, 'database_name'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + privileges=pulumi.get(__ret__, 'privileges'), + role_name=pulumi.get(__ret__, 'role_name'), + roles=pulumi.get(__ret__, 'roles'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_role_definition) +def get_mongo_db_resource_mongo_role_definition_output(account_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoRoleDefinitionResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_user_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_user_definition.py new file mode 100644 index 000000000000..d0f6ec4eb283 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_mongo_db_resource_mongo_user_definition.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoUserDefinitionResult', + 'AwaitableGetMongoDBResourceMongoUserDefinitionResult', + 'get_mongo_db_resource_mongo_user_definition', + 'get_mongo_db_resource_mongo_user_definition_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoUserDefinitionResult: + """ + An Azure Cosmos DB User Definition + """ + def __init__(__self__, custom_data=None, database_name=None, id=None, mechanisms=None, name=None, password=None, roles=None, type=None, user_name=None): + if custom_data and not isinstance(custom_data, str): + raise TypeError("Expected argument 'custom_data' to be a str") + pulumi.set(__self__, "custom_data", custom_data) + if database_name and not isinstance(database_name, str): + raise TypeError("Expected argument 'database_name' to be a str") + pulumi.set(__self__, "database_name", database_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if mechanisms and not isinstance(mechanisms, str): + raise TypeError("Expected argument 'mechanisms' to be a str") + pulumi.set(__self__, "mechanisms", mechanisms) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if password and not isinstance(password, str): + raise TypeError("Expected argument 'password' to be a str") + pulumi.set(__self__, "password", password) + if roles and not isinstance(roles, list): + raise TypeError("Expected argument 'roles' to be a list") + pulumi.set(__self__, "roles", roles) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if user_name and not isinstance(user_name, str): + raise TypeError("Expected argument 'user_name' to be a str") + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="customData") + def custom_data(self) -> Optional[str]: + """ + A custom definition for the USer Definition. + """ + return pulumi.get(self, "custom_data") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The database name for which access is being granted for this User Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def mechanisms(self) -> Optional[str]: + """ + The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + """ + return pulumi.get(self, "mechanisms") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + The password for User Definition. Response does not contain user password. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def roles(self) -> Optional[Sequence['outputs.RoleResponse']]: + """ + The set of roles inherited by the User Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + """ + The user name for User Definition. + """ + return pulumi.get(self, "user_name") + + +class AwaitableGetMongoDBResourceMongoUserDefinitionResult(GetMongoDBResourceMongoUserDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoUserDefinitionResult( + custom_data=self.custom_data, + database_name=self.database_name, + id=self.id, + mechanisms=self.mechanisms, + name=self.name, + password=self.password, + roles=self.roles, + type=self.type, + user_name=self.user_name) + + +def get_mongo_db_resource_mongo_user_definition(account_name: Optional[str] = None, + mongo_user_definition_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoUserDefinitionResult: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['mongoUserDefinitionId'] = mongo_user_definition_id + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getMongoDBResourceMongoUserDefinition', __args__, opts=opts, typ=GetMongoDBResourceMongoUserDefinitionResult).value + + return AwaitableGetMongoDBResourceMongoUserDefinitionResult( + custom_data=pulumi.get(__ret__, 'custom_data'), + database_name=pulumi.get(__ret__, 'database_name'), + id=pulumi.get(__ret__, 'id'), + mechanisms=pulumi.get(__ret__, 'mechanisms'), + name=pulumi.get(__ret__, 'name'), + password=pulumi.get(__ret__, 'password'), + roles=pulumi.get(__ret__, 'roles'), + type=pulumi.get(__ret__, 'type'), + user_name=pulumi.get(__ret__, 'user_name')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_user_definition) +def get_mongo_db_resource_mongo_user_definition_output(account_name: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoUserDefinitionResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_notebook_workspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_notebook_workspace.py new file mode 100644 index 000000000000..b67fd1a94ad0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_notebook_workspace.py @@ -0,0 +1,135 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetNotebookWorkspaceResult', + 'AwaitableGetNotebookWorkspaceResult', + 'get_notebook_workspace', + 'get_notebook_workspace_output', +] + +@pulumi.output_type +class GetNotebookWorkspaceResult: + """ + A notebook workspace resource + """ + def __init__(__self__, id=None, name=None, notebook_server_endpoint=None, status=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if notebook_server_endpoint and not isinstance(notebook_server_endpoint, str): + raise TypeError("Expected argument 'notebook_server_endpoint' to be a str") + pulumi.set(__self__, "notebook_server_endpoint", notebook_server_endpoint) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notebookServerEndpoint") + def notebook_server_endpoint(self) -> str: + """ + Specifies the endpoint of Notebook server. + """ + return pulumi.get(self, "notebook_server_endpoint") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetNotebookWorkspaceResult(GetNotebookWorkspaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNotebookWorkspaceResult( + id=self.id, + name=self.name, + notebook_server_endpoint=self.notebook_server_endpoint, + status=self.status, + type=self.type) + + +def get_notebook_workspace(account_name: Optional[str] = None, + notebook_workspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebookWorkspaceResult: + """ + Gets the notebook workspace for a Cosmos DB account. + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['notebookWorkspaceName'] = notebook_workspace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getNotebookWorkspace', __args__, opts=opts, typ=GetNotebookWorkspaceResult).value + + return AwaitableGetNotebookWorkspaceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + notebook_server_endpoint=pulumi.get(__ret__, 'notebook_server_endpoint'), + status=pulumi.get(__ret__, 'status'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_notebook_workspace) +def get_notebook_workspace_output(account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotebookWorkspaceResult]: + """ + Gets the notebook workspace for a Cosmos DB account. + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_private_endpoint_connection.py new file mode 100644 index 000000000000..19a40f344e36 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_private_endpoint_connection.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', + 'get_private_endpoint_connection_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + A private endpoint connection + """ + def __init__(__self__, group_id=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, type=None): + if group_id and not isinstance(group_id, str): + raise TypeError("Expected argument 'group_id' to be a str") + pulumi.set(__self__, "group_id", group_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointPropertyResponse']: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse']: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + group_id=self.group_id, + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + type=self.type) + + +def get_private_endpoint_connection(account_name: Optional[str] = None, + private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Gets a private endpoint connection. + + + :param str account_name: Cosmos DB database account name. + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + group_id=pulumi.get(__ret__, 'group_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection) +def get_private_endpoint_connection_output(account_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]: + """ + Gets a private endpoint connection. + + + :param str account_name: Cosmos DB database account name. + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_service.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_service.py new file mode 100644 index 000000000000..a0f978d77b85 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_service.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetServiceResult', + 'AwaitableGetServiceResult', + 'get_service', + 'get_service_output', +] + +@pulumi.output_type +class GetServiceResult: + """ + Properties for the database account. + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> Any: + """ + Services response resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetServiceResult(GetServiceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_service(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceResult: + """ + Gets the status of service. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str service_name: Cosmos DB service name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getService', __args__, opts=opts, typ=GetServiceResult).value + + return AwaitableGetServiceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_service) +def get_service_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: + """ + Gets the status of service. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str service_name: Cosmos DB service name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_container.py new file mode 100644 index 000000000000..df7c70113f9e --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_container.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlContainerResult', + 'AwaitableGetSqlResourceSqlContainerResult', + 'get_sql_resource_sql_container', + 'get_sql_resource_sql_container_output', +] + +@pulumi.output_type +class GetSqlResourceSqlContainerResult: + """ + An Azure Cosmos DB container. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.SqlContainerGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlContainerGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlContainerResult(GetSqlResourceSqlContainerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlContainerResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_container(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlContainerResult: + """ + Gets the SQL container under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlContainer', __args__, opts=opts, typ=GetSqlResourceSqlContainerResult).value + + return AwaitableGetSqlResourceSqlContainerResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_container) +def get_sql_resource_sql_container_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlContainerResult]: + """ + Gets the SQL container under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_database.py new file mode 100644 index 000000000000..93eb4ba301c5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_database.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlDatabaseResult', + 'AwaitableGetSqlResourceSqlDatabaseResult', + 'get_sql_resource_sql_database', + 'get_sql_resource_sql_database_output', +] + +@pulumi.output_type +class GetSqlResourceSqlDatabaseResult: + """ + An Azure Cosmos DB SQL database. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.SqlDatabaseGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlDatabaseGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlDatabaseResult(GetSqlResourceSqlDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlDatabaseResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_database(account_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlDatabaseResult: + """ + Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlDatabase', __args__, opts=opts, typ=GetSqlResourceSqlDatabaseResult).value + + return AwaitableGetSqlResourceSqlDatabaseResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_database) +def get_sql_resource_sql_database_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlDatabaseResult]: + """ + Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_role_assignment.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_role_assignment.py new file mode 100644 index 000000000000..0f7095e9d2f6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_role_assignment.py @@ -0,0 +1,148 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetSqlResourceSqlRoleAssignmentResult', + 'AwaitableGetSqlResourceSqlRoleAssignmentResult', + 'get_sql_resource_sql_role_assignment', + 'get_sql_resource_sql_role_assignment_output', +] + +@pulumi.output_type +class GetSqlResourceSqlRoleAssignmentResult: + """ + An Azure Cosmos DB Role Assignment + """ + def __init__(__self__, id=None, name=None, principal_id=None, role_definition_id=None, scope=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if principal_id and not isinstance(principal_id, str): + raise TypeError("Expected argument 'principal_id' to be a str") + pulumi.set(__self__, "principal_id", principal_id) + if role_definition_id and not isinstance(role_definition_id, str): + raise TypeError("Expected argument 'role_definition_id' to be a str") + pulumi.set(__self__, "role_definition_id", role_definition_id) + if scope and not isinstance(scope, str): + raise TypeError("Expected argument 'scope' to be a str") + pulumi.set(__self__, "scope", scope) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[str]: + """ + The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> Optional[str]: + """ + The unique identifier for the associated Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @property + @pulumi.getter + def scope(self) -> Optional[str]: + """ + The data plane resource path for which access is being granted through this Role Assignment. + """ + return pulumi.get(self, "scope") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlRoleAssignmentResult(GetSqlResourceSqlRoleAssignmentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlRoleAssignmentResult( + id=self.id, + name=self.name, + principal_id=self.principal_id, + role_definition_id=self.role_definition_id, + scope=self.scope, + type=self.type) + + +def get_sql_resource_sql_role_assignment(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + role_assignment_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlRoleAssignmentResult: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_assignment_id: The GUID for the Role Assignment. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['roleAssignmentId'] = role_assignment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlRoleAssignment', __args__, opts=opts, typ=GetSqlResourceSqlRoleAssignmentResult).value + + return AwaitableGetSqlResourceSqlRoleAssignmentResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + principal_id=pulumi.get(__ret__, 'principal_id'), + role_definition_id=pulumi.get(__ret__, 'role_definition_id'), + scope=pulumi.get(__ret__, 'scope'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_role_assignment) +def get_sql_resource_sql_role_assignment_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlRoleAssignmentResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_assignment_id: The GUID for the Role Assignment. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_role_definition.py new file mode 100644 index 000000000000..229f96516cf3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_role_definition.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlRoleDefinitionResult', + 'AwaitableGetSqlResourceSqlRoleDefinitionResult', + 'get_sql_resource_sql_role_definition', + 'get_sql_resource_sql_role_definition_output', +] + +@pulumi.output_type +class GetSqlResourceSqlRoleDefinitionResult: + """ + An Azure Cosmos DB SQL Role Definition. + """ + def __init__(__self__, assignable_scopes=None, id=None, name=None, permissions=None, role_name=None, type=None): + if assignable_scopes and not isinstance(assignable_scopes, list): + raise TypeError("Expected argument 'assignable_scopes' to be a list") + pulumi.set(__self__, "assignable_scopes", assignable_scopes) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if permissions and not isinstance(permissions, list): + raise TypeError("Expected argument 'permissions' to be a list") + pulumi.set(__self__, "permissions", permissions) + if role_name and not isinstance(role_name, str): + raise TypeError("Expected argument 'role_name' to be a str") + pulumi.set(__self__, "role_name", role_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="assignableScopes") + def assignable_scopes(self) -> Optional[Sequence[str]]: + """ + A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + """ + return pulumi.get(self, "assignable_scopes") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def permissions(self) -> Optional[Sequence['outputs.PermissionResponse']]: + """ + The set of operations allowed through this Role Definition. + """ + return pulumi.get(self, "permissions") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[str]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlRoleDefinitionResult(GetSqlResourceSqlRoleDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlRoleDefinitionResult( + assignable_scopes=self.assignable_scopes, + id=self.id, + name=self.name, + permissions=self.permissions, + role_name=self.role_name, + type=self.type) + + +def get_sql_resource_sql_role_definition(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + role_definition_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlRoleDefinitionResult: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_definition_id: The GUID for the Role Definition. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['roleDefinitionId'] = role_definition_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlRoleDefinition', __args__, opts=opts, typ=GetSqlResourceSqlRoleDefinitionResult).value + + return AwaitableGetSqlResourceSqlRoleDefinitionResult( + assignable_scopes=pulumi.get(__ret__, 'assignable_scopes'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + permissions=pulumi.get(__ret__, 'permissions'), + role_name=pulumi.get(__ret__, 'role_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_role_definition) +def get_sql_resource_sql_role_definition_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlRoleDefinitionResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_definition_id: The GUID for the Role Definition. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_stored_procedure.py new file mode 100644 index 000000000000..c9706af185a3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_stored_procedure.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlStoredProcedureResult', + 'AwaitableGetSqlResourceSqlStoredProcedureResult', + 'get_sql_resource_sql_stored_procedure', + 'get_sql_resource_sql_stored_procedure_output', +] + +@pulumi.output_type +class GetSqlResourceSqlStoredProcedureResult: + """ + An Azure Cosmos DB storedProcedure. + """ + def __init__(__self__, id=None, location=None, name=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlStoredProcedureGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlStoredProcedureResult(GetSqlResourceSqlStoredProcedureResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlStoredProcedureResult( + id=self.id, + location=self.location, + name=self.name, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_stored_procedure(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + stored_procedure_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlStoredProcedureResult: + """ + Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str stored_procedure_name: Cosmos DB storedProcedure name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['storedProcedureName'] = stored_procedure_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlStoredProcedure', __args__, opts=opts, typ=GetSqlResourceSqlStoredProcedureResult).value + + return AwaitableGetSqlResourceSqlStoredProcedureResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_stored_procedure) +def get_sql_resource_sql_stored_procedure_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + stored_procedure_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlStoredProcedureResult]: + """ + Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str stored_procedure_name: Cosmos DB storedProcedure name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_trigger.py new file mode 100644 index 000000000000..09369e76afe1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_trigger.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlTriggerResult', + 'AwaitableGetSqlResourceSqlTriggerResult', + 'get_sql_resource_sql_trigger', + 'get_sql_resource_sql_trigger_output', +] + +@pulumi.output_type +class GetSqlResourceSqlTriggerResult: + """ + An Azure Cosmos DB trigger. + """ + def __init__(__self__, id=None, location=None, name=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlTriggerGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlTriggerResult(GetSqlResourceSqlTriggerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlTriggerResult( + id=self.id, + location=self.location, + name=self.name, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_trigger(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + trigger_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlTriggerResult: + """ + Gets the SQL trigger under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str trigger_name: Cosmos DB trigger name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['triggerName'] = trigger_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlTrigger', __args__, opts=opts, typ=GetSqlResourceSqlTriggerResult).value + + return AwaitableGetSqlResourceSqlTriggerResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_trigger) +def get_sql_resource_sql_trigger_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + trigger_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlTriggerResult]: + """ + Gets the SQL trigger under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str trigger_name: Cosmos DB trigger name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_user_defined_function.py new file mode 100644 index 000000000000..f7c14f979607 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_sql_resource_sql_user_defined_function.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlUserDefinedFunctionResult', + 'AwaitableGetSqlResourceSqlUserDefinedFunctionResult', + 'get_sql_resource_sql_user_defined_function', + 'get_sql_resource_sql_user_defined_function_output', +] + +@pulumi.output_type +class GetSqlResourceSqlUserDefinedFunctionResult: + """ + An Azure Cosmos DB userDefinedFunction. + """ + def __init__(__self__, id=None, location=None, name=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlUserDefinedFunctionGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlUserDefinedFunctionResult(GetSqlResourceSqlUserDefinedFunctionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlUserDefinedFunctionResult( + id=self.id, + location=self.location, + name=self.name, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_user_defined_function(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + user_defined_function_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlUserDefinedFunctionResult: + """ + Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['userDefinedFunctionName'] = user_defined_function_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getSqlResourceSqlUserDefinedFunction', __args__, opts=opts, typ=GetSqlResourceSqlUserDefinedFunctionResult).value + + return AwaitableGetSqlResourceSqlUserDefinedFunctionResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_user_defined_function) +def get_sql_resource_sql_user_defined_function_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlUserDefinedFunctionResult]: + """ + Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/get_table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_table_resource_table.py new file mode 100644 index 000000000000..f4c22d26be2d --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/get_table_resource_table.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetTableResourceTableResult', + 'AwaitableGetTableResourceTableResult', + 'get_table_resource_table', + 'get_table_resource_table_output', +] + +@pulumi.output_type +class GetTableResourceTableResult: + """ + An Azure Cosmos DB Table. + """ + def __init__(__self__, id=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.TableGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.TableGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetTableResourceTableResult(GetTableResourceTableResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetTableResourceTableResult( + id=self.id, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_table_resource_table(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + table_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableResourceTableResult: + """ + Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:getTableResourceTable', __args__, opts=opts, typ=GetTableResourceTableResult).value + + return AwaitableGetTableResourceTableResult( + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_table_resource_table) +def get_table_resource_table_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResourceTableResult]: + """ + Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/gremlin_resource_gremlin_database.py new file mode 100644 index 000000000000..66f80c4ec24d --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/gremlin_resource_gremlin_database.py @@ -0,0 +1,287 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['GremlinResourceGremlinDatabaseArgs', 'GremlinResourceGremlinDatabase'] + +@pulumi.input_type +class GremlinResourceGremlinDatabaseArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['GremlinDatabaseResourceArgs'], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a GremlinResourceGremlinDatabase resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['GremlinDatabaseResourceArgs'] resource: The standard JSON format of a Gremlin database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['GremlinDatabaseResourceArgs']: + """ + The standard JSON format of a Gremlin database + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['GremlinDatabaseResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 GremlinResourceGremlinDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinDatabaseResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Gremlin database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['GremlinDatabaseResourceArgs']] resource: The standard JSON format of a Gremlin database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GremlinResourceGremlinDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Gremlin database. + + :param str resource_name: The name of the resource. + :param GremlinResourceGremlinDatabaseArgs 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(GremlinResourceGremlinDatabaseArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinDatabaseResourceArgs']]] = 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): + 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__ = GremlinResourceGremlinDatabaseArgs.__new__(GremlinResourceGremlinDatabaseArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GremlinResourceGremlinDatabase, __self__).__init__( + 'azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GremlinResourceGremlinDatabase': + """ + Get an existing GremlinResourceGremlinDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GremlinResourceGremlinDatabaseArgs.__new__(GremlinResourceGremlinDatabaseArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return GremlinResourceGremlinDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.GremlinDatabaseGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.GremlinDatabaseGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/gremlin_resource_gremlin_graph.py new file mode 100644 index 000000000000..feb03aa52a79 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/gremlin_resource_gremlin_graph.py @@ -0,0 +1,309 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['GremlinResourceGremlinGraphArgs', 'GremlinResourceGremlinGraph'] + +@pulumi.input_type +class GremlinResourceGremlinGraphArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['GremlinGraphResourceArgs'], + resource_group_name: pulumi.Input[str], + graph_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a GremlinResourceGremlinGraph resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['GremlinGraphResourceArgs'] resource: The standard JSON format of a Gremlin graph + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] graph_name: Cosmos DB graph name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if graph_name is not None: + pulumi.set(__self__, "graph_name", graph_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['GremlinGraphResourceArgs']: + """ + The standard JSON format of a Gremlin graph + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['GremlinGraphResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="graphName") + def graph_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB graph name. + """ + return pulumi.get(self, "graph_name") + + @graph_name.setter + def graph_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "graph_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 GremlinResourceGremlinGraph(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinGraphResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Gremlin graph. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] graph_name: Cosmos DB graph name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['GremlinGraphResourceArgs']] resource: The standard JSON format of a Gremlin graph + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GremlinResourceGremlinGraphArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Gremlin graph. + + :param str resource_name: The name of the resource. + :param GremlinResourceGremlinGraphArgs 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(GremlinResourceGremlinGraphArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinGraphResourceArgs']]] = 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): + 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__ = GremlinResourceGremlinGraphArgs.__new__(GremlinResourceGremlinGraphArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["graph_name"] = graph_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GremlinResourceGremlinGraph, __self__).__init__( + 'azure-native:documentdb/v20230915:GremlinResourceGremlinGraph', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GremlinResourceGremlinGraph': + """ + Get an existing GremlinResourceGremlinGraph 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GremlinResourceGremlinGraphArgs.__new__(GremlinResourceGremlinGraphArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return GremlinResourceGremlinGraph(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.GremlinGraphGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.GremlinGraphGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/list_database_account_connection_strings.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/list_database_account_connection_strings.py new file mode 100644 index 000000000000..fac0ea0ff77d --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/list_database_account_connection_strings.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListDatabaseAccountConnectionStringsResult', + 'AwaitableListDatabaseAccountConnectionStringsResult', + 'list_database_account_connection_strings', + 'list_database_account_connection_strings_output', +] + +@pulumi.output_type +class ListDatabaseAccountConnectionStringsResult: + """ + The connection strings for the given database account. + """ + def __init__(__self__, connection_strings=None): + if connection_strings and not isinstance(connection_strings, list): + raise TypeError("Expected argument 'connection_strings' to be a list") + pulumi.set(__self__, "connection_strings", connection_strings) + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Optional[Sequence['outputs.DatabaseAccountConnectionStringResponse']]: + """ + An array that contains the connection strings for the Cosmos DB account. + """ + return pulumi.get(self, "connection_strings") + + +class AwaitableListDatabaseAccountConnectionStringsResult(ListDatabaseAccountConnectionStringsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListDatabaseAccountConnectionStringsResult( + connection_strings=self.connection_strings) + + +def list_database_account_connection_strings(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabaseAccountConnectionStringsResult: + """ + Lists the connection strings for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:listDatabaseAccountConnectionStrings', __args__, opts=opts, typ=ListDatabaseAccountConnectionStringsResult).value + + return AwaitableListDatabaseAccountConnectionStringsResult( + connection_strings=pulumi.get(__ret__, 'connection_strings')) + + +@_utilities.lift_output_func(list_database_account_connection_strings) +def list_database_account_connection_strings_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDatabaseAccountConnectionStringsResult]: + """ + Lists the connection strings for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/list_database_account_keys.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/list_database_account_keys.py new file mode 100644 index 000000000000..382e37b98eb2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/list_database_account_keys.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'ListDatabaseAccountKeysResult', + 'AwaitableListDatabaseAccountKeysResult', + 'list_database_account_keys', + 'list_database_account_keys_output', +] + +@pulumi.output_type +class ListDatabaseAccountKeysResult: + """ + The access keys for the given database account. + """ + def __init__(__self__, primary_master_key=None, primary_readonly_master_key=None, secondary_master_key=None, secondary_readonly_master_key=None): + if primary_master_key and not isinstance(primary_master_key, str): + raise TypeError("Expected argument 'primary_master_key' to be a str") + pulumi.set(__self__, "primary_master_key", primary_master_key) + if primary_readonly_master_key and not isinstance(primary_readonly_master_key, str): + raise TypeError("Expected argument 'primary_readonly_master_key' to be a str") + pulumi.set(__self__, "primary_readonly_master_key", primary_readonly_master_key) + if secondary_master_key and not isinstance(secondary_master_key, str): + raise TypeError("Expected argument 'secondary_master_key' to be a str") + pulumi.set(__self__, "secondary_master_key", secondary_master_key) + if secondary_readonly_master_key and not isinstance(secondary_readonly_master_key, str): + raise TypeError("Expected argument 'secondary_readonly_master_key' to be a str") + pulumi.set(__self__, "secondary_readonly_master_key", secondary_readonly_master_key) + + @property + @pulumi.getter(name="primaryMasterKey") + def primary_master_key(self) -> str: + """ + Base 64 encoded value of the primary read-write key. + """ + return pulumi.get(self, "primary_master_key") + + @property + @pulumi.getter(name="primaryReadonlyMasterKey") + def primary_readonly_master_key(self) -> str: + """ + Base 64 encoded value of the primary read-only key. + """ + return pulumi.get(self, "primary_readonly_master_key") + + @property + @pulumi.getter(name="secondaryMasterKey") + def secondary_master_key(self) -> str: + """ + Base 64 encoded value of the secondary read-write key. + """ + return pulumi.get(self, "secondary_master_key") + + @property + @pulumi.getter(name="secondaryReadonlyMasterKey") + def secondary_readonly_master_key(self) -> str: + """ + Base 64 encoded value of the secondary read-only key. + """ + return pulumi.get(self, "secondary_readonly_master_key") + + +class AwaitableListDatabaseAccountKeysResult(ListDatabaseAccountKeysResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListDatabaseAccountKeysResult( + primary_master_key=self.primary_master_key, + primary_readonly_master_key=self.primary_readonly_master_key, + secondary_master_key=self.secondary_master_key, + secondary_readonly_master_key=self.secondary_readonly_master_key) + + +def list_database_account_keys(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabaseAccountKeysResult: + """ + Lists the access keys for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:listDatabaseAccountKeys', __args__, opts=opts, typ=ListDatabaseAccountKeysResult).value + + return AwaitableListDatabaseAccountKeysResult( + primary_master_key=pulumi.get(__ret__, 'primary_master_key'), + primary_readonly_master_key=pulumi.get(__ret__, 'primary_readonly_master_key'), + secondary_master_key=pulumi.get(__ret__, 'secondary_master_key'), + secondary_readonly_master_key=pulumi.get(__ret__, 'secondary_readonly_master_key')) + + +@_utilities.lift_output_func(list_database_account_keys) +def list_database_account_keys_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDatabaseAccountKeysResult]: + """ + Lists the access keys for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/list_notebook_workspace_connection_info.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/list_notebook_workspace_connection_info.py new file mode 100644 index 000000000000..c33ffb91dec5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/list_notebook_workspace_connection_info.py @@ -0,0 +1,96 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'ListNotebookWorkspaceConnectionInfoResult', + 'AwaitableListNotebookWorkspaceConnectionInfoResult', + 'list_notebook_workspace_connection_info', + 'list_notebook_workspace_connection_info_output', +] + +@pulumi.output_type +class ListNotebookWorkspaceConnectionInfoResult: + """ + The connection info for the given notebook workspace + """ + def __init__(__self__, auth_token=None, notebook_server_endpoint=None): + if auth_token and not isinstance(auth_token, str): + raise TypeError("Expected argument 'auth_token' to be a str") + pulumi.set(__self__, "auth_token", auth_token) + if notebook_server_endpoint and not isinstance(notebook_server_endpoint, str): + raise TypeError("Expected argument 'notebook_server_endpoint' to be a str") + pulumi.set(__self__, "notebook_server_endpoint", notebook_server_endpoint) + + @property + @pulumi.getter(name="authToken") + def auth_token(self) -> str: + """ + Specifies auth token used for connecting to Notebook server (uses token-based auth). + """ + return pulumi.get(self, "auth_token") + + @property + @pulumi.getter(name="notebookServerEndpoint") + def notebook_server_endpoint(self) -> str: + """ + Specifies the endpoint of Notebook server. + """ + return pulumi.get(self, "notebook_server_endpoint") + + +class AwaitableListNotebookWorkspaceConnectionInfoResult(ListNotebookWorkspaceConnectionInfoResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListNotebookWorkspaceConnectionInfoResult( + auth_token=self.auth_token, + notebook_server_endpoint=self.notebook_server_endpoint) + + +def list_notebook_workspace_connection_info(account_name: Optional[str] = None, + notebook_workspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListNotebookWorkspaceConnectionInfoResult: + """ + Retrieves the connection info for the notebook workspace + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['notebookWorkspaceName'] = notebook_workspace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915:listNotebookWorkspaceConnectionInfo', __args__, opts=opts, typ=ListNotebookWorkspaceConnectionInfoResult).value + + return AwaitableListNotebookWorkspaceConnectionInfoResult( + auth_token=pulumi.get(__ret__, 'auth_token'), + notebook_server_endpoint=pulumi.get(__ret__, 'notebook_server_endpoint')) + + +@_utilities.lift_output_func(list_notebook_workspace_connection_info) +def list_notebook_workspace_connection_info_output(account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListNotebookWorkspaceConnectionInfoResult]: + """ + Retrieves the connection info for the notebook workspace + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_db_collection.py new file mode 100644 index 000000000000..589eaf94a62e --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_db_collection.py @@ -0,0 +1,308 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MongoDBResourceMongoDBCollectionArgs', 'MongoDBResourceMongoDBCollection'] + +@pulumi.input_type +class MongoDBResourceMongoDBCollectionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['MongoDBCollectionResourceArgs'], + resource_group_name: pulumi.Input[str], + collection_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoDBCollection resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['MongoDBCollectionResourceArgs'] resource: The standard JSON format of a MongoDB collection + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] collection_name: Cosmos DB collection name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if collection_name is not None: + pulumi.set(__self__, "collection_name", collection_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['MongoDBCollectionResourceArgs']: + """ + The standard JSON format of a MongoDB collection + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['MongoDBCollectionResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="collectionName") + def collection_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB collection name. + """ + return pulumi.get(self, "collection_name") + + @collection_name.setter + def collection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 MongoDBResourceMongoDBCollection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + collection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBCollectionResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB MongoDB collection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] collection_name: Cosmos DB collection name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['MongoDBCollectionResourceArgs']] resource: The standard JSON format of a MongoDB collection + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoDBCollectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB MongoDB collection. + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoDBCollectionArgs 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(MongoDBResourceMongoDBCollectionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + collection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBCollectionResourceArgs']]] = 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): + 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__ = MongoDBResourceMongoDBCollectionArgs.__new__(MongoDBResourceMongoDBCollectionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["collection_name"] = collection_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoDBCollection, __self__).__init__( + 'azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoDBCollection': + """ + Get an existing MongoDBResourceMongoDBCollection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoDBCollectionArgs.__new__(MongoDBResourceMongoDBCollectionArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return MongoDBResourceMongoDBCollection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.MongoDBCollectionGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.MongoDBCollectionGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_db_database.py new file mode 100644 index 000000000000..89d4d76a8963 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_db_database.py @@ -0,0 +1,287 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MongoDBResourceMongoDBDatabaseArgs', 'MongoDBResourceMongoDBDatabase'] + +@pulumi.input_type +class MongoDBResourceMongoDBDatabaseArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['MongoDBDatabaseResourceArgs'], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoDBDatabase resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['MongoDBDatabaseResourceArgs'] resource: The standard JSON format of a MongoDB database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['MongoDBDatabaseResourceArgs']: + """ + The standard JSON format of a MongoDB database + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['MongoDBDatabaseResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 MongoDBResourceMongoDBDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBDatabaseResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB MongoDB database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['MongoDBDatabaseResourceArgs']] resource: The standard JSON format of a MongoDB database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoDBDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB MongoDB database. + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoDBDatabaseArgs 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(MongoDBResourceMongoDBDatabaseArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBDatabaseResourceArgs']]] = 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): + 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__ = MongoDBResourceMongoDBDatabaseArgs.__new__(MongoDBResourceMongoDBDatabaseArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoDBDatabase, __self__).__init__( + 'azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoDBDatabase': + """ + Get an existing MongoDBResourceMongoDBDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoDBDatabaseArgs.__new__(MongoDBResourceMongoDBDatabaseArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return MongoDBResourceMongoDBDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.MongoDBDatabaseGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.MongoDBDatabaseGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_role_definition.py new file mode 100644 index 000000000000..f2956bdd88bd --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_role_definition.py @@ -0,0 +1,312 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MongoDBResourceMongoRoleDefinitionArgs', 'MongoDBResourceMongoRoleDefinition'] + +@pulumi.input_type +class MongoDBResourceMongoRoleDefinitionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + privileges: Optional[pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]]] = None, + role_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]] = None, + type: Optional[pulumi.Input['MongoRoleDefinitionType']] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoRoleDefinition resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this Role Definition. + :param pulumi.Input[str] mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]] privileges: A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input[Sequence[pulumi.Input['RoleArgs']]] roles: The set of roles inherited by this Role Definition. + :param pulumi.Input['MongoRoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if mongo_role_definition_id is not None: + pulumi.set(__self__, "mongo_role_definition_id", mongo_role_definition_id) + if privileges is not None: + pulumi.set(__self__, "privileges", privileges) + if role_name is not None: + pulumi.set(__self__, "role_name", role_name) + if roles is not None: + pulumi.set(__self__, "roles", roles) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The database name for which access is being granted for this Role Definition. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="mongoRoleDefinitionId") + def mongo_role_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID for the Role Definition {dbName.roleName}. + """ + return pulumi.get(self, "mongo_role_definition_id") + + @mongo_role_definition_id.setter + def mongo_role_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mongo_role_definition_id", value) + + @property + @pulumi.getter + def privileges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]]]: + """ + A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + """ + return pulumi.get(self, "privileges") + + @privileges.setter + def privileges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]]]): + pulumi.set(self, "privileges", value) + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[pulumi.Input[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @role_name.setter + def role_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_name", value) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]: + """ + The set of roles inherited by this Role Definition. + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['MongoRoleDefinitionType']]: + """ + Indicates whether the Role Definition was built-in or user created. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['MongoRoleDefinitionType']]): + pulumi.set(self, "type", value) + + +class MongoDBResourceMongoRoleDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + privileges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivilegeArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + type: Optional[pulumi.Input['MongoRoleDefinitionType']] = None, + __props__=None): + """ + An Azure Cosmos DB Mongo Role Definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this Role Definition. + :param pulumi.Input[str] mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivilegeArgs']]]] privileges: A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]] roles: The set of roles inherited by this Role Definition. + :param pulumi.Input['MongoRoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoRoleDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Mongo Role Definition. + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoRoleDefinitionArgs 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(MongoDBResourceMongoRoleDefinitionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + privileges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivilegeArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + type: Optional[pulumi.Input['MongoRoleDefinitionType']] = 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__ = MongoDBResourceMongoRoleDefinitionArgs.__new__(MongoDBResourceMongoRoleDefinitionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["mongo_role_definition_id"] = mongo_role_definition_id + __props__.__dict__["privileges"] = privileges + 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__["role_name"] = role_name + __props__.__dict__["roles"] = roles + __props__.__dict__["type"] = type + __props__.__dict__["name"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoRoleDefinition, __self__).__init__( + 'azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoRoleDefinition': + """ + Get an existing MongoDBResourceMongoRoleDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoRoleDefinitionArgs.__new__(MongoDBResourceMongoRoleDefinitionArgs) + + __props__.__dict__["database_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["privileges"] = None + __props__.__dict__["role_name"] = None + __props__.__dict__["roles"] = None + __props__.__dict__["type"] = None + return MongoDBResourceMongoRoleDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Output[Optional[str]]: + """ + The database name for which access is being granted for this Role Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def privileges(self) -> pulumi.Output[Optional[Sequence['outputs.PrivilegeResponse']]]: + """ + A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + """ + return pulumi.get(self, "privileges") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> pulumi.Output[Optional[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def roles(self) -> pulumi.Output[Optional[Sequence['outputs.RoleResponse']]]: + """ + The set of roles inherited by this Role Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_user_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_user_definition.py new file mode 100644 index 000000000000..02d2f6783ae7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/mongo_db_resource_mongo_user_definition.py @@ -0,0 +1,350 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MongoDBResourceMongoUserDefinitionArgs', 'MongoDBResourceMongoUserDefinition'] + +@pulumi.input_type +class MongoDBResourceMongoUserDefinitionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + custom_data: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mechanisms: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoUserDefinition resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] custom_data: A custom definition for the USer Definition. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this User Definition. + :param pulumi.Input[str] mechanisms: The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + :param pulumi.Input[str] mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param pulumi.Input[str] password: The password for User Definition. Response does not contain user password. + :param pulumi.Input[Sequence[pulumi.Input['RoleArgs']]] roles: The set of roles inherited by the User Definition. + :param pulumi.Input[str] user_name: The user name for User Definition. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if custom_data is not None: + pulumi.set(__self__, "custom_data", custom_data) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if mechanisms is not None: + pulumi.set(__self__, "mechanisms", mechanisms) + if mongo_user_definition_id is not None: + pulumi.set(__self__, "mongo_user_definition_id", mongo_user_definition_id) + if password is not None: + pulumi.set(__self__, "password", password) + if roles is not None: + pulumi.set(__self__, "roles", roles) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="customData") + def custom_data(self) -> Optional[pulumi.Input[str]]: + """ + A custom definition for the USer Definition. + """ + return pulumi.get(self, "custom_data") + + @custom_data.setter + def custom_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_data", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The database name for which access is being granted for this User Definition. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def mechanisms(self) -> Optional[pulumi.Input[str]]: + """ + The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + """ + return pulumi.get(self, "mechanisms") + + @mechanisms.setter + def mechanisms(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mechanisms", value) + + @property + @pulumi.getter(name="mongoUserDefinitionId") + def mongo_user_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID for the User Definition {dbName.userName}. + """ + return pulumi.get(self, "mongo_user_definition_id") + + @mongo_user_definition_id.setter + def mongo_user_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mongo_user_definition_id", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + The password for User Definition. Response does not contain user password. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]: + """ + The set of roles inherited by the User Definition. + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The user name for User Definition. + """ + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) + + +class MongoDBResourceMongoUserDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mechanisms: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + user_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB User Definition + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] custom_data: A custom definition for the USer Definition. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this User Definition. + :param pulumi.Input[str] mechanisms: The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + :param pulumi.Input[str] mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param pulumi.Input[str] password: The password for User Definition. Response does not contain user password. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]] roles: The set of roles inherited by the User Definition. + :param pulumi.Input[str] user_name: The user name for User Definition. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoUserDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB User Definition + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoUserDefinitionArgs 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(MongoDBResourceMongoUserDefinitionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mechanisms: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + user_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MongoDBResourceMongoUserDefinitionArgs.__new__(MongoDBResourceMongoUserDefinitionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["custom_data"] = custom_data + __props__.__dict__["database_name"] = database_name + __props__.__dict__["mechanisms"] = mechanisms + __props__.__dict__["mongo_user_definition_id"] = mongo_user_definition_id + __props__.__dict__["password"] = password + 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__["roles"] = roles + __props__.__dict__["user_name"] = user_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoUserDefinition, __self__).__init__( + 'azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoUserDefinition': + """ + Get an existing MongoDBResourceMongoUserDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoUserDefinitionArgs.__new__(MongoDBResourceMongoUserDefinitionArgs) + + __props__.__dict__["custom_data"] = None + __props__.__dict__["database_name"] = None + __props__.__dict__["mechanisms"] = None + __props__.__dict__["name"] = None + __props__.__dict__["password"] = None + __props__.__dict__["roles"] = None + __props__.__dict__["type"] = None + __props__.__dict__["user_name"] = None + return MongoDBResourceMongoUserDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customData") + def custom_data(self) -> pulumi.Output[Optional[str]]: + """ + A custom definition for the USer Definition. + """ + return pulumi.get(self, "custom_data") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Output[Optional[str]]: + """ + The database name for which access is being granted for this User Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def mechanisms(self) -> pulumi.Output[Optional[str]]: + """ + The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + """ + return pulumi.get(self, "mechanisms") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def password(self) -> pulumi.Output[Optional[str]]: + """ + The password for User Definition. Response does not contain user password. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def roles(self) -> pulumi.Output[Optional[Sequence['outputs.RoleResponse']]]: + """ + The set of roles inherited by the User Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> pulumi.Output[Optional[str]]: + """ + The user name for User Definition. + """ + return pulumi.get(self, "user_name") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/notebook_workspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/notebook_workspace.py new file mode 100644 index 000000000000..12ba8eb4dbb5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/notebook_workspace.py @@ -0,0 +1,194 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = ['NotebookWorkspaceArgs', 'NotebookWorkspace'] + +@pulumi.input_type +class NotebookWorkspaceArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + notebook_workspace_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a NotebookWorkspace resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] notebook_workspace_name: The name of the notebook workspace resource. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if notebook_workspace_name is not None: + pulumi.set(__self__, "notebook_workspace_name", notebook_workspace_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="notebookWorkspaceName") + def notebook_workspace_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the notebook workspace resource. + """ + return pulumi.get(self, "notebook_workspace_name") + + @notebook_workspace_name.setter + def notebook_workspace_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notebook_workspace_name", value) + + +class NotebookWorkspace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A notebook workspace resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] notebook_workspace_name: The name of the notebook workspace resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NotebookWorkspaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A notebook workspace resource + + :param str resource_name: The name of the resource. + :param NotebookWorkspaceArgs 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(NotebookWorkspaceArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = NotebookWorkspaceArgs.__new__(NotebookWorkspaceArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["notebook_workspace_name"] = notebook_workspace_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["name"] = None + __props__.__dict__["notebook_server_endpoint"] = None + __props__.__dict__["status"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:NotebookWorkspace")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(NotebookWorkspace, __self__).__init__( + 'azure-native:documentdb/v20230915:NotebookWorkspace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'NotebookWorkspace': + """ + Get an existing NotebookWorkspace 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = NotebookWorkspaceArgs.__new__(NotebookWorkspaceArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["notebook_server_endpoint"] = None + __props__.__dict__["status"] = None + __props__.__dict__["type"] = None + return NotebookWorkspace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notebookServerEndpoint") + def notebook_server_endpoint(self) -> pulumi.Output[str]: + """ + Specifies the endpoint of Notebook server. + """ + return pulumi.get(self, "notebook_server_endpoint") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/outputs.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/outputs.py new file mode 100644 index 000000000000..0238dfcc3e10 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/outputs.py @@ -0,0 +1,5842 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AccountKeyMetadataResponse', + 'AnalyticalStorageConfigurationResponse', + 'ApiPropertiesResponse', + 'AuthenticationMethodLdapPropertiesResponse', + 'AutoscaleSettingsResponse', + 'BackupPolicyMigrationStateResponse', + 'CapabilityResponse', + 'CapacityResponse', + 'CassandraErrorResponse', + 'CassandraKeyspaceGetPropertiesResponseOptions', + 'CassandraKeyspaceGetPropertiesResponseResource', + 'CassandraPartitionKeyResponse', + 'CassandraSchemaResponse', + 'CassandraTableGetPropertiesResponseOptions', + 'CassandraTableGetPropertiesResponseResource', + 'CertificateResponse', + 'ClientEncryptionIncludedPathResponse', + 'ClientEncryptionPolicyResponse', + 'ClusterKeyResponse', + 'ClusterResourceResponseProperties', + 'ColumnResponse', + 'CompositePathResponse', + 'ConflictResolutionPolicyResponse', + 'ConsistencyPolicyResponse', + 'ContainerPartitionKeyResponse', + 'ContinuousModeBackupPolicyResponse', + 'ContinuousModePropertiesResponse', + 'CorsPolicyResponse', + 'DataCenterResourceResponseProperties', + 'DataTransferRegionalServiceResourceResponse', + 'DataTransferServiceResourcePropertiesResponse', + 'DatabaseAccountConnectionStringResponse', + 'DatabaseAccountKeysMetadataResponse', + 'DatabaseRestoreResourceResponse', + 'ExcludedPathResponse', + 'FailoverPolicyResponse', + 'GraphAPIComputeRegionalServiceResourceResponse', + 'GraphAPIComputeServiceResourcePropertiesResponse', + 'GremlinDatabaseGetPropertiesResponseOptions', + 'GremlinDatabaseGetPropertiesResponseResource', + 'GremlinDatabaseRestoreResourceResponse', + 'GremlinGraphGetPropertiesResponseOptions', + 'GremlinGraphGetPropertiesResponseResource', + 'IncludedPathResponse', + 'IndexesResponse', + 'IndexingPolicyResponse', + 'IpAddressOrRangeResponse', + 'LocationResponse', + 'ManagedCassandraManagedServiceIdentityResponse', + 'ManagedServiceIdentityResponse', + 'ManagedServiceIdentityResponseUserAssignedIdentities', + 'MaterializedViewsBuilderRegionalServiceResourceResponse', + 'MaterializedViewsBuilderServiceResourcePropertiesResponse', + 'MongoDBCollectionGetPropertiesResponseOptions', + 'MongoDBCollectionGetPropertiesResponseResource', + 'MongoDBDatabaseGetPropertiesResponseOptions', + 'MongoDBDatabaseGetPropertiesResponseResource', + 'MongoIndexKeysResponse', + 'MongoIndexOptionsResponse', + 'MongoIndexResponse', + 'PeriodicModeBackupPolicyResponse', + 'PeriodicModePropertiesResponse', + 'PermissionResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointPropertyResponse', + 'PrivateLinkServiceConnectionStatePropertyResponse', + 'PrivilegeResponse', + 'PrivilegeResponseResource', + 'RestoreParametersResponse', + 'RoleResponse', + 'SeedNodeResponse', + 'SpatialSpecResponse', + 'SqlContainerGetPropertiesResponseOptions', + 'SqlContainerGetPropertiesResponseResource', + 'SqlDatabaseGetPropertiesResponseOptions', + 'SqlDatabaseGetPropertiesResponseResource', + 'SqlDedicatedGatewayRegionalServiceResourceResponse', + 'SqlDedicatedGatewayServiceResourcePropertiesResponse', + 'SqlStoredProcedureGetPropertiesResponseResource', + 'SqlTriggerGetPropertiesResponseResource', + 'SqlUserDefinedFunctionGetPropertiesResponseResource', + 'SystemDataResponse', + 'TableGetPropertiesResponseOptions', + 'TableGetPropertiesResponseResource', + 'UniqueKeyPolicyResponse', + 'UniqueKeyResponse', + 'VirtualNetworkRuleResponse', +] + +@pulumi.output_type +class AccountKeyMetadataResponse(dict): + """ + The metadata related to an access key for a given database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "generationTime": + suggest = "generation_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AccountKeyMetadataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AccountKeyMetadataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AccountKeyMetadataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + generation_time: str): + """ + The metadata related to an access key for a given database account. + :param str generation_time: Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + """ + pulumi.set(__self__, "generation_time", generation_time) + + @property + @pulumi.getter(name="generationTime") + def generation_time(self) -> str: + """ + Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + """ + return pulumi.get(self, "generation_time") + + +@pulumi.output_type +class AnalyticalStorageConfigurationResponse(dict): + """ + Analytical storage specific properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "schemaType": + suggest = "schema_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AnalyticalStorageConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AnalyticalStorageConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AnalyticalStorageConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + schema_type: Optional[str] = None): + """ + Analytical storage specific properties. + :param str schema_type: Describes the types of schema for analytical storage. + """ + if schema_type is not None: + pulumi.set(__self__, "schema_type", schema_type) + + @property + @pulumi.getter(name="schemaType") + def schema_type(self) -> Optional[str]: + """ + Describes the types of schema for analytical storage. + """ + return pulumi.get(self, "schema_type") + + +@pulumi.output_type +class ApiPropertiesResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "serverVersion": + suggest = "server_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApiPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApiPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApiPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + server_version: Optional[str] = None): + """ + :param str server_version: Describes the ServerVersion of an a MongoDB account. + """ + if server_version is not None: + pulumi.set(__self__, "server_version", server_version) + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> Optional[str]: + """ + Describes the ServerVersion of an a MongoDB account. + """ + return pulumi.get(self, "server_version") + + +@pulumi.output_type +class AuthenticationMethodLdapPropertiesResponse(dict): + """ + Ldap authentication method properties. This feature is in preview. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectionTimeoutInMs": + suggest = "connection_timeout_in_ms" + elif key == "searchBaseDistinguishedName": + suggest = "search_base_distinguished_name" + elif key == "searchFilterTemplate": + suggest = "search_filter_template" + elif key == "serverCertificates": + suggest = "server_certificates" + elif key == "serverHostname": + suggest = "server_hostname" + elif key == "serverPort": + suggest = "server_port" + elif key == "serviceUserDistinguishedName": + suggest = "service_user_distinguished_name" + elif key == "serviceUserPassword": + suggest = "service_user_password" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AuthenticationMethodLdapPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AuthenticationMethodLdapPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AuthenticationMethodLdapPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + connection_timeout_in_ms: Optional[int] = None, + search_base_distinguished_name: Optional[str] = None, + search_filter_template: Optional[str] = None, + server_certificates: Optional[Sequence['outputs.CertificateResponse']] = None, + server_hostname: Optional[str] = None, + server_port: Optional[int] = None, + service_user_distinguished_name: Optional[str] = None, + service_user_password: Optional[str] = None): + """ + Ldap authentication method properties. This feature is in preview. + :param int connection_timeout_in_ms: Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + :param str search_base_distinguished_name: Distinguished name of the object to start the recursive search of users from. + :param str search_filter_template: Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + :param str server_hostname: Hostname of the LDAP server. + :param int server_port: Port of the LDAP server. + :param str service_user_distinguished_name: Distinguished name of the look up user account, who can look up user details on authentication. + :param str service_user_password: Password of the look up user. + """ + if connection_timeout_in_ms is not None: + pulumi.set(__self__, "connection_timeout_in_ms", connection_timeout_in_ms) + if search_base_distinguished_name is not None: + pulumi.set(__self__, "search_base_distinguished_name", search_base_distinguished_name) + if search_filter_template is not None: + pulumi.set(__self__, "search_filter_template", search_filter_template) + if server_certificates is not None: + pulumi.set(__self__, "server_certificates", server_certificates) + if server_hostname is not None: + pulumi.set(__self__, "server_hostname", server_hostname) + if server_port is not None: + pulumi.set(__self__, "server_port", server_port) + if service_user_distinguished_name is not None: + pulumi.set(__self__, "service_user_distinguished_name", service_user_distinguished_name) + if service_user_password is not None: + pulumi.set(__self__, "service_user_password", service_user_password) + + @property + @pulumi.getter(name="connectionTimeoutInMs") + def connection_timeout_in_ms(self) -> Optional[int]: + """ + Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + """ + return pulumi.get(self, "connection_timeout_in_ms") + + @property + @pulumi.getter(name="searchBaseDistinguishedName") + def search_base_distinguished_name(self) -> Optional[str]: + """ + Distinguished name of the object to start the recursive search of users from. + """ + return pulumi.get(self, "search_base_distinguished_name") + + @property + @pulumi.getter(name="searchFilterTemplate") + def search_filter_template(self) -> Optional[str]: + """ + Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + """ + return pulumi.get(self, "search_filter_template") + + @property + @pulumi.getter(name="serverCertificates") + def server_certificates(self) -> Optional[Sequence['outputs.CertificateResponse']]: + return pulumi.get(self, "server_certificates") + + @property + @pulumi.getter(name="serverHostname") + def server_hostname(self) -> Optional[str]: + """ + Hostname of the LDAP server. + """ + return pulumi.get(self, "server_hostname") + + @property + @pulumi.getter(name="serverPort") + def server_port(self) -> Optional[int]: + """ + Port of the LDAP server. + """ + return pulumi.get(self, "server_port") + + @property + @pulumi.getter(name="serviceUserDistinguishedName") + def service_user_distinguished_name(self) -> Optional[str]: + """ + Distinguished name of the look up user account, who can look up user details on authentication. + """ + return pulumi.get(self, "service_user_distinguished_name") + + @property + @pulumi.getter(name="serviceUserPassword") + def service_user_password(self) -> Optional[str]: + """ + Password of the look up user. + """ + return pulumi.get(self, "service_user_password") + + +@pulumi.output_type +class AutoscaleSettingsResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxThroughput": + suggest = "max_throughput" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutoscaleSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutoscaleSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutoscaleSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_throughput: Optional[int] = None): + """ + :param int max_throughput: Represents maximum throughput, the resource can scale up to. + """ + if max_throughput is not None: + pulumi.set(__self__, "max_throughput", max_throughput) + + @property + @pulumi.getter(name="maxThroughput") + def max_throughput(self) -> Optional[int]: + """ + Represents maximum throughput, the resource can scale up to. + """ + return pulumi.get(self, "max_throughput") + + +@pulumi.output_type +class BackupPolicyMigrationStateResponse(dict): + """ + The object representing the state of the migration between the backup policies. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "startTime": + suggest = "start_time" + elif key == "targetType": + suggest = "target_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupPolicyMigrationStateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupPolicyMigrationStateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupPolicyMigrationStateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + start_time: Optional[str] = None, + status: Optional[str] = None, + target_type: Optional[str] = None): + """ + The object representing the state of the migration between the backup policies. + :param str start_time: Time at which the backup policy migration started (ISO-8601 format). + :param str status: Describes the status of migration between backup policy types. + :param str target_type: Describes the target backup policy type of the backup policy migration. + """ + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + if status is not None: + pulumi.set(__self__, "status", status) + if target_type is not None: + pulumi.set(__self__, "target_type", target_type) + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[str]: + """ + Time at which the backup policy migration started (ISO-8601 format). + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Describes the status of migration between backup policy types. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="targetType") + def target_type(self) -> Optional[str]: + """ + Describes the target backup policy type of the backup policy migration. + """ + return pulumi.get(self, "target_type") + + +@pulumi.output_type +class CapabilityResponse(dict): + """ + Cosmos DB capability object + """ + def __init__(__self__, *, + name: Optional[str] = None): + """ + Cosmos DB capability object + :param str name: Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class CapacityResponse(dict): + """ + The object that represents all properties related to capacity enforcement on an account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "totalThroughputLimit": + suggest = "total_throughput_limit" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CapacityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CapacityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CapacityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + total_throughput_limit: Optional[int] = None): + """ + The object that represents all properties related to capacity enforcement on an account. + :param int total_throughput_limit: The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + if total_throughput_limit is not None: + pulumi.set(__self__, "total_throughput_limit", total_throughput_limit) + + @property + @pulumi.getter(name="totalThroughputLimit") + def total_throughput_limit(self) -> Optional[int]: + """ + The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + return pulumi.get(self, "total_throughput_limit") + + +@pulumi.output_type +class CassandraErrorResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalErrorInfo": + suggest = "additional_error_info" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraErrorResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraErrorResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraErrorResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_error_info: Optional[str] = None, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None): + """ + :param str additional_error_info: Additional information about the error. + :param str code: The code of error that occurred. + :param str message: The message of the error. + :param str target: The target resource of the error. + """ + if additional_error_info is not None: + pulumi.set(__self__, "additional_error_info", additional_error_info) + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalErrorInfo") + def additional_error_info(self) -> Optional[str]: + """ + Additional information about the error. + """ + return pulumi.get(self, "additional_error_info") + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error that occurred. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of the error. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def target(self) -> Optional[str]: + """ + The target resource of the error. + """ + return pulumi.get(self, "target") + + +@pulumi.output_type +class CassandraKeyspaceGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraKeyspaceGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraKeyspaceGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraKeyspaceGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class CassandraKeyspaceGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Cassandra keyspace + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Cassandra keyspace + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + +@pulumi.output_type +class CassandraPartitionKeyResponse(dict): + """ + Cosmos DB Cassandra table partition key + """ + def __init__(__self__, *, + name: Optional[str] = None): + """ + Cosmos DB Cassandra table partition key + :param str name: Name of the Cosmos DB Cassandra table partition key + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB Cassandra table partition key + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class CassandraSchemaResponse(dict): + """ + Cosmos DB Cassandra table schema + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clusterKeys": + suggest = "cluster_keys" + elif key == "partitionKeys": + suggest = "partition_keys" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraSchemaResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraSchemaResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraSchemaResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cluster_keys: Optional[Sequence['outputs.ClusterKeyResponse']] = None, + columns: Optional[Sequence['outputs.ColumnResponse']] = None, + partition_keys: Optional[Sequence['outputs.CassandraPartitionKeyResponse']] = None): + """ + Cosmos DB Cassandra table schema + :param Sequence['ClusterKeyResponse'] cluster_keys: List of cluster key. + :param Sequence['ColumnResponse'] columns: List of Cassandra table columns. + :param Sequence['CassandraPartitionKeyResponse'] partition_keys: List of partition key. + """ + if cluster_keys is not None: + pulumi.set(__self__, "cluster_keys", cluster_keys) + if columns is not None: + pulumi.set(__self__, "columns", columns) + if partition_keys is not None: + pulumi.set(__self__, "partition_keys", partition_keys) + + @property + @pulumi.getter(name="clusterKeys") + def cluster_keys(self) -> Optional[Sequence['outputs.ClusterKeyResponse']]: + """ + List of cluster key. + """ + return pulumi.get(self, "cluster_keys") + + @property + @pulumi.getter + def columns(self) -> Optional[Sequence['outputs.ColumnResponse']]: + """ + List of Cassandra table columns. + """ + return pulumi.get(self, "columns") + + @property + @pulumi.getter(name="partitionKeys") + def partition_keys(self) -> Optional[Sequence['outputs.CassandraPartitionKeyResponse']]: + """ + List of partition key. + """ + return pulumi.get(self, "partition_keys") + + +@pulumi.output_type +class CassandraTableGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraTableGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraTableGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraTableGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class CassandraTableGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "defaultTtl": + suggest = "default_ttl" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraTableGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraTableGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraTableGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[int] = None, + default_ttl: Optional[int] = None, + schema: Optional['outputs.CassandraSchemaResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Cassandra table + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param int analytical_storage_ttl: Analytical TTL. + :param int default_ttl: Time to live of the Cosmos DB Cassandra table + :param 'CassandraSchemaResponse' schema: Schema of the Cosmos DB Cassandra table + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if schema is not None: + pulumi.set(__self__, "schema", schema) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[int]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[int]: + """ + Time to live of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "default_ttl") + + @property + @pulumi.getter + def schema(self) -> Optional['outputs.CassandraSchemaResponse']: + """ + Schema of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "schema") + + +@pulumi.output_type +class CertificateResponse(dict): + def __init__(__self__, *, + pem: Optional[str] = None): + """ + :param str pem: PEM formatted public key. + """ + if pem is not None: + pulumi.set(__self__, "pem", pem) + + @property + @pulumi.getter + def pem(self) -> Optional[str]: + """ + PEM formatted public key. + """ + return pulumi.get(self, "pem") + + +@pulumi.output_type +class ClientEncryptionIncludedPathResponse(dict): + """ + . + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientEncryptionKeyId": + suggest = "client_encryption_key_id" + elif key == "encryptionAlgorithm": + suggest = "encryption_algorithm" + elif key == "encryptionType": + suggest = "encryption_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientEncryptionIncludedPathResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientEncryptionIncludedPathResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientEncryptionIncludedPathResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_encryption_key_id: str, + encryption_algorithm: str, + encryption_type: str, + path: str): + """ + . + :param str client_encryption_key_id: The identifier of the Client Encryption Key to be used to encrypt the path. + :param str encryption_algorithm: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + :param str encryption_type: The type of encryption to be performed. Eg - Deterministic, Randomized. + :param str path: Path that needs to be encrypted. + """ + pulumi.set(__self__, "client_encryption_key_id", client_encryption_key_id) + pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + pulumi.set(__self__, "encryption_type", encryption_type) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="clientEncryptionKeyId") + def client_encryption_key_id(self) -> str: + """ + The identifier of the Client Encryption Key to be used to encrypt the path. + """ + return pulumi.get(self, "client_encryption_key_id") + + @property + @pulumi.getter(name="encryptionAlgorithm") + def encryption_algorithm(self) -> str: + """ + The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + """ + return pulumi.get(self, "encryption_algorithm") + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> str: + """ + The type of encryption to be performed. Eg - Deterministic, Randomized. + """ + return pulumi.get(self, "encryption_type") + + @property + @pulumi.getter + def path(self) -> str: + """ + Path that needs to be encrypted. + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class ClientEncryptionPolicyResponse(dict): + """ + Cosmos DB client encryption policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includedPaths": + suggest = "included_paths" + elif key == "policyFormatVersion": + suggest = "policy_format_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientEncryptionPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientEncryptionPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientEncryptionPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + included_paths: Sequence['outputs.ClientEncryptionIncludedPathResponse'], + policy_format_version: int): + """ + Cosmos DB client encryption policy. + :param Sequence['ClientEncryptionIncludedPathResponse'] included_paths: Paths of the item that need encryption along with path-specific settings. + :param int policy_format_version: Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + pulumi.set(__self__, "included_paths", included_paths) + pulumi.set(__self__, "policy_format_version", policy_format_version) + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> Sequence['outputs.ClientEncryptionIncludedPathResponse']: + """ + Paths of the item that need encryption along with path-specific settings. + """ + return pulumi.get(self, "included_paths") + + @property + @pulumi.getter(name="policyFormatVersion") + def policy_format_version(self) -> int: + """ + Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + return pulumi.get(self, "policy_format_version") + + +@pulumi.output_type +class ClusterKeyResponse(dict): + """ + Cosmos DB Cassandra table cluster key + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "orderBy": + suggest = "order_by" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: Optional[str] = None, + order_by: Optional[str] = None): + """ + Cosmos DB Cassandra table cluster key + :param str name: Name of the Cosmos DB Cassandra table cluster key + :param str order_by: Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + if name is not None: + pulumi.set(__self__, "name", name) + if order_by is not None: + pulumi.set(__self__, "order_by", order_by) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB Cassandra table cluster key + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="orderBy") + def order_by(self) -> Optional[str]: + """ + Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + return pulumi.get(self, "order_by") + + +@pulumi.output_type +class ClusterResourceResponseProperties(dict): + """ + Properties of a managed Cassandra cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gossipCertificates": + suggest = "gossip_certificates" + elif key == "seedNodes": + suggest = "seed_nodes" + elif key == "authenticationMethod": + suggest = "authentication_method" + elif key == "cassandraAuditLoggingEnabled": + suggest = "cassandra_audit_logging_enabled" + elif key == "cassandraVersion": + suggest = "cassandra_version" + elif key == "clientCertificates": + suggest = "client_certificates" + elif key == "clusterNameOverride": + suggest = "cluster_name_override" + elif key == "delegatedManagementSubnetId": + suggest = "delegated_management_subnet_id" + elif key == "externalGossipCertificates": + suggest = "external_gossip_certificates" + elif key == "externalSeedNodes": + suggest = "external_seed_nodes" + elif key == "hoursBetweenBackups": + suggest = "hours_between_backups" + elif key == "prometheusEndpoint": + suggest = "prometheus_endpoint" + elif key == "provisionError": + suggest = "provision_error" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "repairEnabled": + suggest = "repair_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterResourceResponseProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterResourceResponseProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterResourceResponseProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + gossip_certificates: Sequence['outputs.CertificateResponse'], + seed_nodes: Sequence['outputs.SeedNodeResponse'], + authentication_method: Optional[str] = None, + cassandra_audit_logging_enabled: Optional[bool] = None, + cassandra_version: Optional[str] = None, + client_certificates: Optional[Sequence['outputs.CertificateResponse']] = None, + cluster_name_override: Optional[str] = None, + deallocated: Optional[bool] = None, + delegated_management_subnet_id: Optional[str] = None, + external_gossip_certificates: Optional[Sequence['outputs.CertificateResponse']] = None, + external_seed_nodes: Optional[Sequence['outputs.SeedNodeResponse']] = None, + hours_between_backups: Optional[int] = None, + prometheus_endpoint: Optional['outputs.SeedNodeResponse'] = None, + provision_error: Optional['outputs.CassandraErrorResponse'] = None, + provisioning_state: Optional[str] = None, + repair_enabled: Optional[bool] = None): + """ + Properties of a managed Cassandra cluster. + :param Sequence['CertificateResponse'] gossip_certificates: List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + :param Sequence['SeedNodeResponse'] seed_nodes: List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + :param str authentication_method: Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + :param bool cassandra_audit_logging_enabled: Whether Cassandra audit logging is enabled + :param str cassandra_version: Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + :param Sequence['CertificateResponse'] client_certificates: List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + :param str cluster_name_override: If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + :param bool deallocated: Whether the cluster and associated data centers has been deallocated. + :param str delegated_management_subnet_id: Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + :param Sequence['CertificateResponse'] external_gossip_certificates: List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + :param Sequence['SeedNodeResponse'] external_seed_nodes: List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + :param int hours_between_backups: (Deprecated) Number of hours to wait between taking a backup of the cluster. + :param 'SeedNodeResponse' prometheus_endpoint: Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + :param 'CassandraErrorResponse' provision_error: Error related to resource provisioning. + :param str provisioning_state: The status of the resource at the time the operation was called. + :param bool repair_enabled: Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + """ + pulumi.set(__self__, "gossip_certificates", gossip_certificates) + pulumi.set(__self__, "seed_nodes", seed_nodes) + if authentication_method is not None: + pulumi.set(__self__, "authentication_method", authentication_method) + if cassandra_audit_logging_enabled is not None: + pulumi.set(__self__, "cassandra_audit_logging_enabled", cassandra_audit_logging_enabled) + if cassandra_version is not None: + pulumi.set(__self__, "cassandra_version", cassandra_version) + if client_certificates is not None: + pulumi.set(__self__, "client_certificates", client_certificates) + if cluster_name_override is not None: + pulumi.set(__self__, "cluster_name_override", cluster_name_override) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_management_subnet_id is not None: + pulumi.set(__self__, "delegated_management_subnet_id", delegated_management_subnet_id) + if external_gossip_certificates is not None: + pulumi.set(__self__, "external_gossip_certificates", external_gossip_certificates) + if external_seed_nodes is not None: + pulumi.set(__self__, "external_seed_nodes", external_seed_nodes) + if hours_between_backups is not None: + pulumi.set(__self__, "hours_between_backups", hours_between_backups) + if prometheus_endpoint is not None: + pulumi.set(__self__, "prometheus_endpoint", prometheus_endpoint) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if repair_enabled is not None: + pulumi.set(__self__, "repair_enabled", repair_enabled) + + @property + @pulumi.getter(name="gossipCertificates") + def gossip_certificates(self) -> Sequence['outputs.CertificateResponse']: + """ + List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + """ + return pulumi.get(self, "gossip_certificates") + + @property + @pulumi.getter(name="seedNodes") + def seed_nodes(self) -> Sequence['outputs.SeedNodeResponse']: + """ + List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + """ + return pulumi.get(self, "seed_nodes") + + @property + @pulumi.getter(name="authenticationMethod") + def authentication_method(self) -> Optional[str]: + """ + Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + """ + return pulumi.get(self, "authentication_method") + + @property + @pulumi.getter(name="cassandraAuditLoggingEnabled") + def cassandra_audit_logging_enabled(self) -> Optional[bool]: + """ + Whether Cassandra audit logging is enabled + """ + return pulumi.get(self, "cassandra_audit_logging_enabled") + + @property + @pulumi.getter(name="cassandraVersion") + def cassandra_version(self) -> Optional[str]: + """ + Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + """ + return pulumi.get(self, "cassandra_version") + + @property + @pulumi.getter(name="clientCertificates") + def client_certificates(self) -> Optional[Sequence['outputs.CertificateResponse']]: + """ + List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + """ + return pulumi.get(self, "client_certificates") + + @property + @pulumi.getter(name="clusterNameOverride") + def cluster_name_override(self) -> Optional[str]: + """ + If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + """ + return pulumi.get(self, "cluster_name_override") + + @property + @pulumi.getter + def deallocated(self) -> Optional[bool]: + """ + Whether the cluster and associated data centers has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @property + @pulumi.getter(name="delegatedManagementSubnetId") + def delegated_management_subnet_id(self) -> Optional[str]: + """ + Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + """ + return pulumi.get(self, "delegated_management_subnet_id") + + @property + @pulumi.getter(name="externalGossipCertificates") + def external_gossip_certificates(self) -> Optional[Sequence['outputs.CertificateResponse']]: + """ + List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + """ + return pulumi.get(self, "external_gossip_certificates") + + @property + @pulumi.getter(name="externalSeedNodes") + def external_seed_nodes(self) -> Optional[Sequence['outputs.SeedNodeResponse']]: + """ + List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + """ + return pulumi.get(self, "external_seed_nodes") + + @property + @pulumi.getter(name="hoursBetweenBackups") + def hours_between_backups(self) -> Optional[int]: + """ + (Deprecated) Number of hours to wait between taking a backup of the cluster. + """ + return pulumi.get(self, "hours_between_backups") + + @property + @pulumi.getter(name="prometheusEndpoint") + def prometheus_endpoint(self) -> Optional['outputs.SeedNodeResponse']: + """ + Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + """ + return pulumi.get(self, "prometheus_endpoint") + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional['outputs.CassandraErrorResponse']: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="repairEnabled") + def repair_enabled(self) -> Optional[bool]: + """ + Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + """ + return pulumi.get(self, "repair_enabled") + + +@pulumi.output_type +class ColumnResponse(dict): + """ + Cosmos DB Cassandra table column + """ + def __init__(__self__, *, + name: Optional[str] = None, + type: Optional[str] = None): + """ + Cosmos DB Cassandra table column + :param str name: Name of the Cosmos DB Cassandra table column + :param str type: Type of the Cosmos DB Cassandra table column + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Type of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class CompositePathResponse(dict): + def __init__(__self__, *, + order: Optional[str] = None, + path: Optional[str] = None): + """ + :param str order: Sort order for composite paths. + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if order is not None: + pulumi.set(__self__, "order", order) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def order(self) -> Optional[str]: + """ + Sort order for composite paths. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class ConflictResolutionPolicyResponse(dict): + """ + The conflict resolution policy for the container. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conflictResolutionPath": + suggest = "conflict_resolution_path" + elif key == "conflictResolutionProcedure": + suggest = "conflict_resolution_procedure" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConflictResolutionPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConflictResolutionPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConflictResolutionPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + conflict_resolution_path: Optional[str] = None, + conflict_resolution_procedure: Optional[str] = None, + mode: Optional[str] = None): + """ + The conflict resolution policy for the container. + :param str conflict_resolution_path: The conflict resolution path in the case of LastWriterWins mode. + :param str conflict_resolution_procedure: The procedure to resolve conflicts in the case of custom mode. + :param str mode: Indicates the conflict resolution mode. + """ + if conflict_resolution_path is not None: + pulumi.set(__self__, "conflict_resolution_path", conflict_resolution_path) + if conflict_resolution_procedure is not None: + pulumi.set(__self__, "conflict_resolution_procedure", conflict_resolution_procedure) + if mode is None: + mode = 'LastWriterWins' + if mode is not None: + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter(name="conflictResolutionPath") + def conflict_resolution_path(self) -> Optional[str]: + """ + The conflict resolution path in the case of LastWriterWins mode. + """ + return pulumi.get(self, "conflict_resolution_path") + + @property + @pulumi.getter(name="conflictResolutionProcedure") + def conflict_resolution_procedure(self) -> Optional[str]: + """ + The procedure to resolve conflicts in the case of custom mode. + """ + return pulumi.get(self, "conflict_resolution_procedure") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + """ + Indicates the conflict resolution mode. + """ + return pulumi.get(self, "mode") + + +@pulumi.output_type +class ConsistencyPolicyResponse(dict): + """ + The consistency policy for the Cosmos DB database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultConsistencyLevel": + suggest = "default_consistency_level" + elif key == "maxIntervalInSeconds": + suggest = "max_interval_in_seconds" + elif key == "maxStalenessPrefix": + suggest = "max_staleness_prefix" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConsistencyPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConsistencyPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConsistencyPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_consistency_level: str, + max_interval_in_seconds: Optional[int] = None, + max_staleness_prefix: Optional[float] = None): + """ + The consistency policy for the Cosmos DB database account. + :param str default_consistency_level: The default consistency level and configuration settings of the Cosmos DB account. + :param int max_interval_in_seconds: When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + :param float max_staleness_prefix: When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + pulumi.set(__self__, "default_consistency_level", default_consistency_level) + if max_interval_in_seconds is not None: + pulumi.set(__self__, "max_interval_in_seconds", max_interval_in_seconds) + if max_staleness_prefix is not None: + pulumi.set(__self__, "max_staleness_prefix", max_staleness_prefix) + + @property + @pulumi.getter(name="defaultConsistencyLevel") + def default_consistency_level(self) -> str: + """ + The default consistency level and configuration settings of the Cosmos DB account. + """ + return pulumi.get(self, "default_consistency_level") + + @property + @pulumi.getter(name="maxIntervalInSeconds") + def max_interval_in_seconds(self) -> Optional[int]: + """ + When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_interval_in_seconds") + + @property + @pulumi.getter(name="maxStalenessPrefix") + def max_staleness_prefix(self) -> Optional[float]: + """ + When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_staleness_prefix") + + +@pulumi.output_type +class ContainerPartitionKeyResponse(dict): + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "systemKey": + suggest = "system_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContainerPartitionKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContainerPartitionKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContainerPartitionKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + system_key: bool, + kind: Optional[str] = None, + paths: Optional[Sequence[str]] = None, + version: Optional[int] = None): + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + :param bool system_key: Indicates if the container is using a system generated partition key + :param str kind: Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + :param Sequence[str] paths: List of paths using which data within the container can be partitioned + :param int version: Indicates the version of the partition key definition + """ + pulumi.set(__self__, "system_key", system_key) + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if paths is not None: + pulumi.set(__self__, "paths", paths) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="systemKey") + def system_key(self) -> bool: + """ + Indicates if the container is using a system generated partition key + """ + return pulumi.get(self, "system_key") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def paths(self) -> Optional[Sequence[str]]: + """ + List of paths using which data within the container can be partitioned + """ + return pulumi.get(self, "paths") + + @property + @pulumi.getter + def version(self) -> Optional[int]: + """ + Indicates the version of the partition key definition + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class ContinuousModeBackupPolicyResponse(dict): + """ + The object representing continuous mode backup policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "continuousModeProperties": + suggest = "continuous_mode_properties" + elif key == "migrationState": + suggest = "migration_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContinuousModeBackupPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContinuousModeBackupPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContinuousModeBackupPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + continuous_mode_properties: Optional['outputs.ContinuousModePropertiesResponse'] = None, + migration_state: Optional['outputs.BackupPolicyMigrationStateResponse'] = None): + """ + The object representing continuous mode backup policy. + :param str type: Describes the mode of backups. + Expected value is 'Continuous'. + :param 'ContinuousModePropertiesResponse' continuous_mode_properties: Configuration values for continuous mode backup + :param 'BackupPolicyMigrationStateResponse' migration_state: The object representing the state of the migration between the backup policies. + """ + pulumi.set(__self__, "type", 'Continuous') + if continuous_mode_properties is not None: + pulumi.set(__self__, "continuous_mode_properties", continuous_mode_properties) + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + + @property + @pulumi.getter + def type(self) -> str: + """ + Describes the mode of backups. + Expected value is 'Continuous'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="continuousModeProperties") + def continuous_mode_properties(self) -> Optional['outputs.ContinuousModePropertiesResponse']: + """ + Configuration values for continuous mode backup + """ + return pulumi.get(self, "continuous_mode_properties") + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional['outputs.BackupPolicyMigrationStateResponse']: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + +@pulumi.output_type +class ContinuousModePropertiesResponse(dict): + """ + Configuration values for periodic mode backup + """ + def __init__(__self__, *, + tier: Optional[str] = None): + """ + Configuration values for periodic mode backup + :param str tier: Enum to indicate type of Continuous backup mode + """ + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + Enum to indicate type of Continuous backup mode + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class CorsPolicyResponse(dict): + """ + The CORS policy for the Cosmos DB database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowedOrigins": + suggest = "allowed_origins" + elif key == "allowedHeaders": + suggest = "allowed_headers" + elif key == "allowedMethods": + suggest = "allowed_methods" + elif key == "exposedHeaders": + suggest = "exposed_headers" + elif key == "maxAgeInSeconds": + suggest = "max_age_in_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CorsPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CorsPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CorsPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allowed_origins: str, + allowed_headers: Optional[str] = None, + allowed_methods: Optional[str] = None, + exposed_headers: Optional[str] = None, + max_age_in_seconds: Optional[float] = None): + """ + The CORS policy for the Cosmos DB database account. + :param str allowed_origins: The origin domains that are permitted to make a request against the service via CORS. + :param str allowed_headers: The request headers that the origin domain may specify on the CORS request. + :param str allowed_methods: The methods (HTTP request verbs) that the origin domain may use for a CORS request. + :param str exposed_headers: The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + :param float max_age_in_seconds: The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + pulumi.set(__self__, "allowed_origins", allowed_origins) + if allowed_headers is not None: + pulumi.set(__self__, "allowed_headers", allowed_headers) + if allowed_methods is not None: + pulumi.set(__self__, "allowed_methods", allowed_methods) + if exposed_headers is not None: + pulumi.set(__self__, "exposed_headers", exposed_headers) + if max_age_in_seconds is not None: + pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + + @property + @pulumi.getter(name="allowedOrigins") + def allowed_origins(self) -> str: + """ + The origin domains that are permitted to make a request against the service via CORS. + """ + return pulumi.get(self, "allowed_origins") + + @property + @pulumi.getter(name="allowedHeaders") + def allowed_headers(self) -> Optional[str]: + """ + The request headers that the origin domain may specify on the CORS request. + """ + return pulumi.get(self, "allowed_headers") + + @property + @pulumi.getter(name="allowedMethods") + def allowed_methods(self) -> Optional[str]: + """ + The methods (HTTP request verbs) that the origin domain may use for a CORS request. + """ + return pulumi.get(self, "allowed_methods") + + @property + @pulumi.getter(name="exposedHeaders") + def exposed_headers(self) -> Optional[str]: + """ + The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + """ + return pulumi.get(self, "exposed_headers") + + @property + @pulumi.getter(name="maxAgeInSeconds") + def max_age_in_seconds(self) -> Optional[float]: + """ + The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + return pulumi.get(self, "max_age_in_seconds") + + +@pulumi.output_type +class DataCenterResourceResponseProperties(dict): + """ + Properties of a managed Cassandra data center. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "seedNodes": + suggest = "seed_nodes" + elif key == "authenticationMethodLdapProperties": + suggest = "authentication_method_ldap_properties" + elif key == "availabilityZone": + suggest = "availability_zone" + elif key == "backupStorageCustomerKeyUri": + suggest = "backup_storage_customer_key_uri" + elif key == "base64EncodedCassandraYamlFragment": + suggest = "base64_encoded_cassandra_yaml_fragment" + elif key == "dataCenterLocation": + suggest = "data_center_location" + elif key == "delegatedSubnetId": + suggest = "delegated_subnet_id" + elif key == "diskCapacity": + suggest = "disk_capacity" + elif key == "diskSku": + suggest = "disk_sku" + elif key == "managedDiskCustomerKeyUri": + suggest = "managed_disk_customer_key_uri" + elif key == "nodeCount": + suggest = "node_count" + elif key == "provisionError": + suggest = "provision_error" + elif key == "provisioningState": + suggest = "provisioning_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataCenterResourceResponseProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataCenterResourceResponseProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataCenterResourceResponseProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + seed_nodes: Sequence['outputs.SeedNodeResponse'], + authentication_method_ldap_properties: Optional['outputs.AuthenticationMethodLdapPropertiesResponse'] = None, + availability_zone: Optional[bool] = None, + backup_storage_customer_key_uri: Optional[str] = None, + base64_encoded_cassandra_yaml_fragment: Optional[str] = None, + data_center_location: Optional[str] = None, + deallocated: Optional[bool] = None, + delegated_subnet_id: Optional[str] = None, + disk_capacity: Optional[int] = None, + disk_sku: Optional[str] = None, + managed_disk_customer_key_uri: Optional[str] = None, + node_count: Optional[int] = None, + provision_error: Optional['outputs.CassandraErrorResponse'] = None, + provisioning_state: Optional[str] = None, + sku: Optional[str] = None): + """ + Properties of a managed Cassandra data center. + :param Sequence['SeedNodeResponse'] seed_nodes: IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + :param 'AuthenticationMethodLdapPropertiesResponse' authentication_method_ldap_properties: Ldap authentication method properties. This feature is in preview. + :param bool availability_zone: If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + :param str backup_storage_customer_key_uri: Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + :param str base64_encoded_cassandra_yaml_fragment: A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + :param str data_center_location: The region this data center should be created in. + :param bool deallocated: Whether the data center has been deallocated. + :param str delegated_subnet_id: Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + :param int disk_capacity: Number of disks attached to each node. Default is 4. + :param str disk_sku: Disk SKU used for data centers. Default value is P30. + :param str managed_disk_customer_key_uri: Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + :param int node_count: The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + :param 'CassandraErrorResponse' provision_error: Error related to resource provisioning. + :param str provisioning_state: The status of the resource at the time the operation was called. + :param str sku: Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + pulumi.set(__self__, "seed_nodes", seed_nodes) + if authentication_method_ldap_properties is not None: + pulumi.set(__self__, "authentication_method_ldap_properties", authentication_method_ldap_properties) + if availability_zone is not None: + pulumi.set(__self__, "availability_zone", availability_zone) + if backup_storage_customer_key_uri is not None: + pulumi.set(__self__, "backup_storage_customer_key_uri", backup_storage_customer_key_uri) + if base64_encoded_cassandra_yaml_fragment is not None: + pulumi.set(__self__, "base64_encoded_cassandra_yaml_fragment", base64_encoded_cassandra_yaml_fragment) + if data_center_location is not None: + pulumi.set(__self__, "data_center_location", data_center_location) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_subnet_id is not None: + pulumi.set(__self__, "delegated_subnet_id", delegated_subnet_id) + if disk_capacity is not None: + pulumi.set(__self__, "disk_capacity", disk_capacity) + if disk_sku is not None: + pulumi.set(__self__, "disk_sku", disk_sku) + if managed_disk_customer_key_uri is not None: + pulumi.set(__self__, "managed_disk_customer_key_uri", managed_disk_customer_key_uri) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if sku is not None: + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter(name="seedNodes") + def seed_nodes(self) -> Sequence['outputs.SeedNodeResponse']: + """ + IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + """ + return pulumi.get(self, "seed_nodes") + + @property + @pulumi.getter(name="authenticationMethodLdapProperties") + def authentication_method_ldap_properties(self) -> Optional['outputs.AuthenticationMethodLdapPropertiesResponse']: + """ + Ldap authentication method properties. This feature is in preview. + """ + return pulumi.get(self, "authentication_method_ldap_properties") + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> Optional[bool]: + """ + If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + """ + return pulumi.get(self, "availability_zone") + + @property + @pulumi.getter(name="backupStorageCustomerKeyUri") + def backup_storage_customer_key_uri(self) -> Optional[str]: + """ + Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + """ + return pulumi.get(self, "backup_storage_customer_key_uri") + + @property + @pulumi.getter(name="base64EncodedCassandraYamlFragment") + def base64_encoded_cassandra_yaml_fragment(self) -> Optional[str]: + """ + A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + """ + return pulumi.get(self, "base64_encoded_cassandra_yaml_fragment") + + @property + @pulumi.getter(name="dataCenterLocation") + def data_center_location(self) -> Optional[str]: + """ + The region this data center should be created in. + """ + return pulumi.get(self, "data_center_location") + + @property + @pulumi.getter + def deallocated(self) -> Optional[bool]: + """ + Whether the data center has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @property + @pulumi.getter(name="delegatedSubnetId") + def delegated_subnet_id(self) -> Optional[str]: + """ + Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + """ + return pulumi.get(self, "delegated_subnet_id") + + @property + @pulumi.getter(name="diskCapacity") + def disk_capacity(self) -> Optional[int]: + """ + Number of disks attached to each node. Default is 4. + """ + return pulumi.get(self, "disk_capacity") + + @property + @pulumi.getter(name="diskSku") + def disk_sku(self) -> Optional[str]: + """ + Disk SKU used for data centers. Default value is P30. + """ + return pulumi.get(self, "disk_sku") + + @property + @pulumi.getter(name="managedDiskCustomerKeyUri") + def managed_disk_customer_key_uri(self) -> Optional[str]: + """ + Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + """ + return pulumi.get(self, "managed_disk_customer_key_uri") + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[int]: + """ + The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + """ + return pulumi.get(self, "node_count") + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional['outputs.CassandraErrorResponse']: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def sku(self) -> Optional[str]: + """ + Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + return pulumi.get(self, "sku") + + +@pulumi.output_type +class DataTransferRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + def __init__(__self__, *, + location: str, + name: str, + status: str): + """ + Resource for a regional service location. + :param str location: The location name. + :param str name: The regional service name. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class DataTransferServiceResourcePropertiesResponse(dict): + """ + Properties for DataTransferServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataTransferServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataTransferServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataTransferServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.DataTransferRegionalServiceResourceResponse'], + service_type: str, + status: str, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None): + """ + Properties for DataTransferServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['DataTransferRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'DataTransfer'. + :param str status: Describes the status of a service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'DataTransfer') + pulumi.set(__self__, "status", status) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.DataTransferRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'DataTransfer'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + +@pulumi.output_type +class DatabaseAccountConnectionStringResponse(dict): + """ + Connection string for the Cosmos DB account + """ + def __init__(__self__, *, + connection_string: str, + description: str, + key_kind: str, + type: str): + """ + Connection string for the Cosmos DB account + :param str connection_string: Value of the connection string + :param str description: Description of the connection string + :param str key_kind: Kind of the connection string key + :param str type: Type of the connection string + """ + pulumi.set(__self__, "connection_string", connection_string) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "key_kind", key_kind) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> str: + """ + Value of the connection string + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the connection string + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="keyKind") + def key_kind(self) -> str: + """ + Kind of the connection string key + """ + return pulumi.get(self, "key_kind") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of the connection string + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class DatabaseAccountKeysMetadataResponse(dict): + """ + The metadata related to each access key for the given Cosmos DB database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "primaryMasterKey": + suggest = "primary_master_key" + elif key == "primaryReadonlyMasterKey": + suggest = "primary_readonly_master_key" + elif key == "secondaryMasterKey": + suggest = "secondary_master_key" + elif key == "secondaryReadonlyMasterKey": + suggest = "secondary_readonly_master_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DatabaseAccountKeysMetadataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DatabaseAccountKeysMetadataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DatabaseAccountKeysMetadataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + primary_master_key: 'outputs.AccountKeyMetadataResponse', + primary_readonly_master_key: 'outputs.AccountKeyMetadataResponse', + secondary_master_key: 'outputs.AccountKeyMetadataResponse', + secondary_readonly_master_key: 'outputs.AccountKeyMetadataResponse'): + """ + The metadata related to each access key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' primary_master_key: The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' primary_readonly_master_key: The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' secondary_master_key: The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' secondary_readonly_master_key: The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + """ + pulumi.set(__self__, "primary_master_key", primary_master_key) + pulumi.set(__self__, "primary_readonly_master_key", primary_readonly_master_key) + pulumi.set(__self__, "secondary_master_key", secondary_master_key) + pulumi.set(__self__, "secondary_readonly_master_key", secondary_readonly_master_key) + + @property + @pulumi.getter(name="primaryMasterKey") + def primary_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "primary_master_key") + + @property + @pulumi.getter(name="primaryReadonlyMasterKey") + def primary_readonly_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "primary_readonly_master_key") + + @property + @pulumi.getter(name="secondaryMasterKey") + def secondary_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "secondary_master_key") + + @property + @pulumi.getter(name="secondaryReadonlyMasterKey") + def secondary_readonly_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "secondary_readonly_master_key") + + +@pulumi.output_type +class DatabaseRestoreResourceResponse(dict): + """ + Specific Databases to restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "collectionNames": + suggest = "collection_names" + elif key == "databaseName": + suggest = "database_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DatabaseRestoreResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DatabaseRestoreResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DatabaseRestoreResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + collection_names: Optional[Sequence[str]] = None, + database_name: Optional[str] = None): + """ + Specific Databases to restore. + :param Sequence[str] collection_names: The names of the collections available for restore. + :param str database_name: The name of the database available for restore. + """ + if collection_names is not None: + pulumi.set(__self__, "collection_names", collection_names) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + + @property + @pulumi.getter(name="collectionNames") + def collection_names(self) -> Optional[Sequence[str]]: + """ + The names of the collections available for restore. + """ + return pulumi.get(self, "collection_names") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The name of the database available for restore. + """ + return pulumi.get(self, "database_name") + + +@pulumi.output_type +class ExcludedPathResponse(dict): + def __init__(__self__, *, + path: Optional[str] = None): + """ + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class FailoverPolicyResponse(dict): + """ + The failover policy for a given region of a database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "failoverPriority": + suggest = "failover_priority" + elif key == "locationName": + suggest = "location_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FailoverPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FailoverPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FailoverPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + failover_priority: Optional[int] = None, + location_name: Optional[str] = None): + """ + The failover policy for a given region of a database account. + :param str id: The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + :param int failover_priority: The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + :param str location_name: The name of the region in which the database account exists. + """ + pulumi.set(__self__, "id", id) + if failover_priority is not None: + pulumi.set(__self__, "failover_priority", failover_priority) + if location_name is not None: + pulumi.set(__self__, "location_name", location_name) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="failoverPriority") + def failover_priority(self) -> Optional[int]: + """ + The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + """ + return pulumi.get(self, "failover_priority") + + @property + @pulumi.getter(name="locationName") + def location_name(self) -> Optional[str]: + """ + The name of the region in which the database account exists. + """ + return pulumi.get(self, "location_name") + + +@pulumi.output_type +class GraphAPIComputeRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "graphApiComputeEndpoint": + suggest = "graph_api_compute_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GraphAPIComputeRegionalServiceResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GraphAPIComputeRegionalServiceResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GraphAPIComputeRegionalServiceResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + graph_api_compute_endpoint: str, + location: str, + name: str, + status: str): + """ + Resource for a regional service location. + :param str graph_api_compute_endpoint: The regional endpoint for GraphAPICompute. + :param str location: The location name. + :param str name: The regional service name. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "graph_api_compute_endpoint", graph_api_compute_endpoint) + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="graphApiComputeEndpoint") + def graph_api_compute_endpoint(self) -> str: + """ + The regional endpoint for GraphAPICompute. + """ + return pulumi.get(self, "graph_api_compute_endpoint") + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class GraphAPIComputeServiceResourcePropertiesResponse(dict): + """ + Properties for GraphAPIComputeServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "graphApiComputeEndpoint": + suggest = "graph_api_compute_endpoint" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GraphAPIComputeServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GraphAPIComputeServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GraphAPIComputeServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.GraphAPIComputeRegionalServiceResourceResponse'], + service_type: str, + status: str, + graph_api_compute_endpoint: Optional[str] = None, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None): + """ + Properties for GraphAPIComputeServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['GraphAPIComputeRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'GraphAPICompute'. + :param str status: Describes the status of a service. + :param str graph_api_compute_endpoint: GraphAPICompute endpoint for the service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'GraphAPICompute') + pulumi.set(__self__, "status", status) + if graph_api_compute_endpoint is not None: + pulumi.set(__self__, "graph_api_compute_endpoint", graph_api_compute_endpoint) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.GraphAPIComputeRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'GraphAPICompute'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="graphApiComputeEndpoint") + def graph_api_compute_endpoint(self) -> Optional[str]: + """ + GraphAPICompute endpoint for the service. + """ + return pulumi.get(self, "graph_api_compute_endpoint") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + +@pulumi.output_type +class GremlinDatabaseGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinDatabaseGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class GremlinDatabaseGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Gremlin database + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Gremlin database + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + +@pulumi.output_type +class GremlinDatabaseRestoreResourceResponse(dict): + """ + Specific Gremlin Databases to restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "databaseName": + suggest = "database_name" + elif key == "graphNames": + suggest = "graph_names" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinDatabaseRestoreResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinDatabaseRestoreResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinDatabaseRestoreResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + database_name: Optional[str] = None, + graph_names: Optional[Sequence[str]] = None): + """ + Specific Gremlin Databases to restore. + :param str database_name: The name of the gremlin database available for restore. + :param Sequence[str] graph_names: The names of the graphs available for restore. + """ + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if graph_names is not None: + pulumi.set(__self__, "graph_names", graph_names) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The name of the gremlin database available for restore. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter(name="graphNames") + def graph_names(self) -> Optional[Sequence[str]]: + """ + The names of the graphs available for restore. + """ + return pulumi.get(self, "graph_names") + + +@pulumi.output_type +class GremlinGraphGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinGraphGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinGraphGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinGraphGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class GremlinGraphGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "conflictResolutionPolicy": + suggest = "conflict_resolution_policy" + elif key == "defaultTtl": + suggest = "default_ttl" + elif key == "indexingPolicy": + suggest = "indexing_policy" + elif key == "partitionKey": + suggest = "partition_key" + elif key == "uniqueKeyPolicy": + suggest = "unique_key_policy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinGraphGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinGraphGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinGraphGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[float] = None, + conflict_resolution_policy: Optional['outputs.ConflictResolutionPolicyResponse'] = None, + default_ttl: Optional[int] = None, + indexing_policy: Optional['outputs.IndexingPolicyResponse'] = None, + partition_key: Optional['outputs.ContainerPartitionKeyResponse'] = None, + unique_key_policy: Optional['outputs.UniqueKeyPolicyResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Gremlin graph + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param float analytical_storage_ttl: Analytical TTL. + :param 'ConflictResolutionPolicyResponse' conflict_resolution_policy: The conflict resolution policy for the graph. + :param int default_ttl: Default time to live + :param 'IndexingPolicyResponse' indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + :param 'ContainerPartitionKeyResponse' partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param 'UniqueKeyPolicyResponse' unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Gremlin graph + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[float]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional['outputs.ConflictResolutionPolicyResponse']: + """ + The conflict resolution policy for the graph. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[int]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional['outputs.IndexingPolicyResponse']: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + """ + return pulumi.get(self, "indexing_policy") + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional['outputs.ContainerPartitionKeyResponse']: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional['outputs.UniqueKeyPolicyResponse']: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + +@pulumi.output_type +class IncludedPathResponse(dict): + """ + The paths that are included in indexing + """ + def __init__(__self__, *, + indexes: Optional[Sequence['outputs.IndexesResponse']] = None, + path: Optional[str] = None): + """ + The paths that are included in indexing + :param Sequence['IndexesResponse'] indexes: List of indexes for this path + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def indexes(self) -> Optional[Sequence['outputs.IndexesResponse']]: + """ + List of indexes for this path + """ + return pulumi.get(self, "indexes") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class IndexesResponse(dict): + """ + The indexes for the path. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataType": + suggest = "data_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IndexesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IndexesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IndexesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_type: Optional[str] = None, + kind: Optional[str] = None, + precision: Optional[int] = None): + """ + The indexes for the path. + :param str data_type: The datatype for which the indexing behavior is applied to. + :param str kind: Indicates the type of index. + :param int precision: The precision of the index. -1 is maximum precision. + """ + if data_type is None: + data_type = 'String' + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if precision is not None: + pulumi.set(__self__, "precision", precision) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[str]: + """ + The datatype for which the indexing behavior is applied to. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Indicates the type of index. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def precision(self) -> Optional[int]: + """ + The precision of the index. -1 is maximum precision. + """ + return pulumi.get(self, "precision") + + +@pulumi.output_type +class IndexingPolicyResponse(dict): + """ + Cosmos DB indexing policy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "compositeIndexes": + suggest = "composite_indexes" + elif key == "excludedPaths": + suggest = "excluded_paths" + elif key == "includedPaths": + suggest = "included_paths" + elif key == "indexingMode": + suggest = "indexing_mode" + elif key == "spatialIndexes": + suggest = "spatial_indexes" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IndexingPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IndexingPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IndexingPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + automatic: Optional[bool] = None, + composite_indexes: Optional[Sequence[Sequence['outputs.CompositePathResponse']]] = None, + excluded_paths: Optional[Sequence['outputs.ExcludedPathResponse']] = None, + included_paths: Optional[Sequence['outputs.IncludedPathResponse']] = None, + indexing_mode: Optional[str] = None, + spatial_indexes: Optional[Sequence['outputs.SpatialSpecResponse']] = None): + """ + Cosmos DB indexing policy + :param bool automatic: Indicates if the indexing policy is automatic + :param Sequence[Sequence['CompositePathResponse']] composite_indexes: List of composite path list + :param Sequence['ExcludedPathResponse'] excluded_paths: List of paths to exclude from indexing + :param Sequence['IncludedPathResponse'] included_paths: List of paths to include in the indexing + :param str indexing_mode: Indicates the indexing mode. + :param Sequence['SpatialSpecResponse'] spatial_indexes: List of spatial specifics + """ + if automatic is not None: + pulumi.set(__self__, "automatic", automatic) + if composite_indexes is not None: + pulumi.set(__self__, "composite_indexes", composite_indexes) + if excluded_paths is not None: + pulumi.set(__self__, "excluded_paths", excluded_paths) + if included_paths is not None: + pulumi.set(__self__, "included_paths", included_paths) + if indexing_mode is None: + indexing_mode = 'consistent' + if indexing_mode is not None: + pulumi.set(__self__, "indexing_mode", indexing_mode) + if spatial_indexes is not None: + pulumi.set(__self__, "spatial_indexes", spatial_indexes) + + @property + @pulumi.getter + def automatic(self) -> Optional[bool]: + """ + Indicates if the indexing policy is automatic + """ + return pulumi.get(self, "automatic") + + @property + @pulumi.getter(name="compositeIndexes") + def composite_indexes(self) -> Optional[Sequence[Sequence['outputs.CompositePathResponse']]]: + """ + List of composite path list + """ + return pulumi.get(self, "composite_indexes") + + @property + @pulumi.getter(name="excludedPaths") + def excluded_paths(self) -> Optional[Sequence['outputs.ExcludedPathResponse']]: + """ + List of paths to exclude from indexing + """ + return pulumi.get(self, "excluded_paths") + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> Optional[Sequence['outputs.IncludedPathResponse']]: + """ + List of paths to include in the indexing + """ + return pulumi.get(self, "included_paths") + + @property + @pulumi.getter(name="indexingMode") + def indexing_mode(self) -> Optional[str]: + """ + Indicates the indexing mode. + """ + return pulumi.get(self, "indexing_mode") + + @property + @pulumi.getter(name="spatialIndexes") + def spatial_indexes(self) -> Optional[Sequence['outputs.SpatialSpecResponse']]: + """ + List of spatial specifics + """ + return pulumi.get(self, "spatial_indexes") + + +@pulumi.output_type +class IpAddressOrRangeResponse(dict): + """ + IpAddressOrRange object + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipAddressOrRange": + suggest = "ip_address_or_range" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IpAddressOrRangeResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IpAddressOrRangeResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IpAddressOrRangeResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_address_or_range: Optional[str] = None): + """ + IpAddressOrRange object + :param str ip_address_or_range: A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + if ip_address_or_range is not None: + pulumi.set(__self__, "ip_address_or_range", ip_address_or_range) + + @property + @pulumi.getter(name="ipAddressOrRange") + def ip_address_or_range(self) -> Optional[str]: + """ + A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + return pulumi.get(self, "ip_address_or_range") + + +@pulumi.output_type +class LocationResponse(dict): + """ + A region in which the Azure Cosmos DB database account is deployed. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "documentEndpoint": + suggest = "document_endpoint" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "failoverPriority": + suggest = "failover_priority" + elif key == "isZoneRedundant": + suggest = "is_zone_redundant" + elif key == "locationName": + suggest = "location_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LocationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LocationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LocationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + document_endpoint: str, + id: str, + provisioning_state: str, + failover_priority: Optional[int] = None, + is_zone_redundant: Optional[bool] = None, + location_name: Optional[str] = None): + """ + A region in which the Azure Cosmos DB database account is deployed. + :param str document_endpoint: The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + :param str id: The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + :param str provisioning_state: The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + :param int failover_priority: The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + :param bool is_zone_redundant: Flag to indicate whether or not this region is an AvailabilityZone region + :param str location_name: The name of the region. + """ + pulumi.set(__self__, "document_endpoint", document_endpoint) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if failover_priority is not None: + pulumi.set(__self__, "failover_priority", failover_priority) + if is_zone_redundant is not None: + pulumi.set(__self__, "is_zone_redundant", is_zone_redundant) + if location_name is not None: + pulumi.set(__self__, "location_name", location_name) + + @property + @pulumi.getter(name="documentEndpoint") + def document_endpoint(self) -> str: + """ + The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + """ + return pulumi.get(self, "document_endpoint") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="failoverPriority") + def failover_priority(self) -> Optional[int]: + """ + The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + """ + return pulumi.get(self, "failover_priority") + + @property + @pulumi.getter(name="isZoneRedundant") + def is_zone_redundant(self) -> Optional[bool]: + """ + Flag to indicate whether or not this region is an AvailabilityZone region + """ + return pulumi.get(self, "is_zone_redundant") + + @property + @pulumi.getter(name="locationName") + def location_name(self) -> Optional[str]: + """ + The name of the region. + """ + return pulumi.get(self, "location_name") + + +@pulumi.output_type +class ManagedCassandraManagedServiceIdentityResponse(dict): + """ + Identity for the resource. + """ + @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 ManagedCassandraManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedCassandraManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedCassandraManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None): + """ + Identity for the resource. + :param str principal_id: The object id of the identity resource. + :param str tenant_id: The tenant id of the resource. + :param str type: The type of the resource. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The object id of the identity resource. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id of the resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class ManagedServiceIdentityResponse(dict): + """ + Identity for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None, + user_assigned_identities: Optional[Mapping[str, 'outputs.ManagedServiceIdentityResponseUserAssignedIdentities']] = None): + """ + Identity for the resource. + :param str principal_id: The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + :param str tenant_id: The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + :param str type: The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + :param Mapping[str, 'ManagedServiceIdentityResponseUserAssignedIdentities'] user_assigned_identities: The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.ManagedServiceIdentityResponseUserAssignedIdentities']]: + """ + The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class ManagedServiceIdentityResponseUserAssignedIdentities(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponseUserAssignedIdentities. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponseUserAssignedIdentities.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponseUserAssignedIdentities.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + :param str client_id: The client id of user assigned identity. + :param str principal_id: The principal id of user assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client id of user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of user assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class MaterializedViewsBuilderRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + def __init__(__self__, *, + location: str, + name: str, + status: str): + """ + Resource for a regional service location. + :param str location: The location name. + :param str name: The regional service name. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class MaterializedViewsBuilderServiceResourcePropertiesResponse(dict): + """ + Properties for MaterializedViewsBuilderServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MaterializedViewsBuilderServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MaterializedViewsBuilderServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MaterializedViewsBuilderServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.MaterializedViewsBuilderRegionalServiceResourceResponse'], + service_type: str, + status: str, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None): + """ + Properties for MaterializedViewsBuilderServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['MaterializedViewsBuilderRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'MaterializedViewsBuilder'. + :param str status: Describes the status of a service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'MaterializedViewsBuilder') + pulumi.set(__self__, "status", status) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.MaterializedViewsBuilderRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'MaterializedViewsBuilder'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + +@pulumi.output_type +class MongoDBCollectionGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBCollectionGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBCollectionGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBCollectionGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class MongoDBCollectionGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "shardKey": + suggest = "shard_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBCollectionGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBCollectionGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBCollectionGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[int] = None, + indexes: Optional[Sequence['outputs.MongoIndexResponse']] = None, + shard_key: Optional[Mapping[str, str]] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB MongoDB collection + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param int analytical_storage_ttl: Analytical TTL. + :param Sequence['MongoIndexResponse'] indexes: List of index keys + :param Mapping[str, str] shard_key: A key-value pair of shard keys to be applied for the request. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if shard_key is not None: + pulumi.set(__self__, "shard_key", shard_key) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB MongoDB collection + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[int]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter + def indexes(self) -> Optional[Sequence['outputs.MongoIndexResponse']]: + """ + List of index keys + """ + return pulumi.get(self, "indexes") + + @property + @pulumi.getter(name="shardKey") + def shard_key(self) -> Optional[Mapping[str, str]]: + """ + A key-value pair of shard keys to be applied for the request. + """ + return pulumi.get(self, "shard_key") + + +@pulumi.output_type +class MongoDBDatabaseGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBDatabaseGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class MongoDBDatabaseGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB MongoDB database + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB MongoDB database + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + +@pulumi.output_type +class MongoIndexKeysResponse(dict): + """ + Cosmos DB MongoDB collection resource object + """ + def __init__(__self__, *, + keys: Optional[Sequence[str]] = None): + """ + Cosmos DB MongoDB collection resource object + :param Sequence[str] keys: List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + if keys is not None: + pulumi.set(__self__, "keys", keys) + + @property + @pulumi.getter + def keys(self) -> Optional[Sequence[str]]: + """ + List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + return pulumi.get(self, "keys") + + +@pulumi.output_type +class MongoIndexOptionsResponse(dict): + """ + Cosmos DB MongoDB collection index options + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "expireAfterSeconds": + suggest = "expire_after_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoIndexOptionsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoIndexOptionsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoIndexOptionsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + expire_after_seconds: Optional[int] = None, + unique: Optional[bool] = None): + """ + Cosmos DB MongoDB collection index options + :param int expire_after_seconds: Expire after seconds + :param bool unique: Is unique or not + """ + if expire_after_seconds is not None: + pulumi.set(__self__, "expire_after_seconds", expire_after_seconds) + if unique is not None: + pulumi.set(__self__, "unique", unique) + + @property + @pulumi.getter(name="expireAfterSeconds") + def expire_after_seconds(self) -> Optional[int]: + """ + Expire after seconds + """ + return pulumi.get(self, "expire_after_seconds") + + @property + @pulumi.getter + def unique(self) -> Optional[bool]: + """ + Is unique or not + """ + return pulumi.get(self, "unique") + + +@pulumi.output_type +class MongoIndexResponse(dict): + """ + Cosmos DB MongoDB collection index key + """ + def __init__(__self__, *, + key: Optional['outputs.MongoIndexKeysResponse'] = None, + options: Optional['outputs.MongoIndexOptionsResponse'] = None): + """ + Cosmos DB MongoDB collection index key + :param 'MongoIndexKeysResponse' key: Cosmos DB MongoDB collection index keys + :param 'MongoIndexOptionsResponse' options: Cosmos DB MongoDB collection index key options + """ + if key is not None: + pulumi.set(__self__, "key", key) + if options is not None: + pulumi.set(__self__, "options", options) + + @property + @pulumi.getter + def key(self) -> Optional['outputs.MongoIndexKeysResponse']: + """ + Cosmos DB MongoDB collection index keys + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.MongoIndexOptionsResponse']: + """ + Cosmos DB MongoDB collection index key options + """ + return pulumi.get(self, "options") + + +@pulumi.output_type +class PeriodicModeBackupPolicyResponse(dict): + """ + The object representing periodic mode backup policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "migrationState": + suggest = "migration_state" + elif key == "periodicModeProperties": + suggest = "periodic_mode_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PeriodicModeBackupPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PeriodicModeBackupPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PeriodicModeBackupPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + migration_state: Optional['outputs.BackupPolicyMigrationStateResponse'] = None, + periodic_mode_properties: Optional['outputs.PeriodicModePropertiesResponse'] = None): + """ + The object representing periodic mode backup policy. + :param str type: Describes the mode of backups. + Expected value is 'Periodic'. + :param 'BackupPolicyMigrationStateResponse' migration_state: The object representing the state of the migration between the backup policies. + :param 'PeriodicModePropertiesResponse' periodic_mode_properties: Configuration values for periodic mode backup + """ + pulumi.set(__self__, "type", 'Periodic') + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + if periodic_mode_properties is not None: + pulumi.set(__self__, "periodic_mode_properties", periodic_mode_properties) + + @property + @pulumi.getter + def type(self) -> str: + """ + Describes the mode of backups. + Expected value is 'Periodic'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional['outputs.BackupPolicyMigrationStateResponse']: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + @property + @pulumi.getter(name="periodicModeProperties") + def periodic_mode_properties(self) -> Optional['outputs.PeriodicModePropertiesResponse']: + """ + Configuration values for periodic mode backup + """ + return pulumi.get(self, "periodic_mode_properties") + + +@pulumi.output_type +class PeriodicModePropertiesResponse(dict): + """ + Configuration values for periodic mode backup + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupIntervalInMinutes": + suggest = "backup_interval_in_minutes" + elif key == "backupRetentionIntervalInHours": + suggest = "backup_retention_interval_in_hours" + elif key == "backupStorageRedundancy": + suggest = "backup_storage_redundancy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PeriodicModePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PeriodicModePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PeriodicModePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_interval_in_minutes: Optional[int] = None, + backup_retention_interval_in_hours: Optional[int] = None, + backup_storage_redundancy: Optional[str] = None): + """ + Configuration values for periodic mode backup + :param int backup_interval_in_minutes: An integer representing the interval in minutes between two backups + :param int backup_retention_interval_in_hours: An integer representing the time (in hours) that each backup is retained + :param str backup_storage_redundancy: Enum to indicate type of backup residency + """ + if backup_interval_in_minutes is not None: + pulumi.set(__self__, "backup_interval_in_minutes", backup_interval_in_minutes) + if backup_retention_interval_in_hours is not None: + pulumi.set(__self__, "backup_retention_interval_in_hours", backup_retention_interval_in_hours) + if backup_storage_redundancy is not None: + pulumi.set(__self__, "backup_storage_redundancy", backup_storage_redundancy) + + @property + @pulumi.getter(name="backupIntervalInMinutes") + def backup_interval_in_minutes(self) -> Optional[int]: + """ + An integer representing the interval in minutes between two backups + """ + return pulumi.get(self, "backup_interval_in_minutes") + + @property + @pulumi.getter(name="backupRetentionIntervalInHours") + def backup_retention_interval_in_hours(self) -> Optional[int]: + """ + An integer representing the time (in hours) that each backup is retained + """ + return pulumi.get(self, "backup_retention_interval_in_hours") + + @property + @pulumi.getter(name="backupStorageRedundancy") + def backup_storage_redundancy(self) -> Optional[str]: + """ + Enum to indicate type of backup residency + """ + return pulumi.get(self, "backup_storage_redundancy") + + +@pulumi.output_type +class PermissionResponse(dict): + """ + The set of data plane operations permitted through this Role Definition. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataActions": + suggest = "data_actions" + elif key == "notDataActions": + suggest = "not_data_actions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PermissionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PermissionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PermissionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_actions: Optional[Sequence[str]] = None, + not_data_actions: Optional[Sequence[str]] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param Sequence[str] data_actions: An array of data actions that are allowed. + :param Sequence[str] not_data_actions: An array of data actions that are denied. + """ + if data_actions is not None: + pulumi.set(__self__, "data_actions", data_actions) + if not_data_actions is not None: + pulumi.set(__self__, "not_data_actions", not_data_actions) + + @property + @pulumi.getter(name="dataActions") + def data_actions(self) -> Optional[Sequence[str]]: + """ + An array of data actions that are allowed. + """ + return pulumi.get(self, "data_actions") + + @property + @pulumi.getter(name="notDataActions") + def not_data_actions(self) -> Optional[Sequence[str]]: + """ + An array of data actions that are denied. + """ + return pulumi.get(self, "not_data_actions") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + A private endpoint connection + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupId": + suggest = "group_id" + elif key == "privateEndpoint": + suggest = "private_endpoint" + elif key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + name: str, + type: str, + group_id: Optional[str] = None, + private_endpoint: Optional['outputs.PrivateEndpointPropertyResponse'] = None, + private_link_service_connection_state: Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse'] = None, + provisioning_state: Optional[str] = None): + """ + A private endpoint connection + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param str group_id: Group id of the private endpoint. + :param 'PrivateEndpointPropertyResponse' private_endpoint: Private endpoint which the connection belongs to. + :param 'PrivateLinkServiceConnectionStatePropertyResponse' private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param str provisioning_state: Provisioning state of the private endpoint. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state is not None: + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointPropertyResponse']: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse']: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + +@pulumi.output_type +class PrivateEndpointPropertyResponse(dict): + """ + Private endpoint which the connection belongs to. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Private endpoint which the connection belongs to. + :param str id: Resource id of the private endpoint. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource id of the private endpoint. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStatePropertyResponse(dict): + """ + Connection State of the Private Endpoint Connection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStatePropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkServiceConnectionStatePropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkServiceConnectionStatePropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: str, + description: Optional[str] = None, + status: Optional[str] = None): + """ + Connection State of the Private Endpoint Connection. + :param str actions_required: Any action that is required beyond basic workflow (approve/ reject/ disconnect) + :param str description: The private link service connection description. + :param str status: The private link service connection status. + """ + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> str: + """ + Any action that is required beyond basic workflow (approve/ reject/ disconnect) + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class PrivilegeResponse(dict): + """ + The set of data plane operations permitted through this Role Definition. + """ + def __init__(__self__, *, + actions: Optional[Sequence[str]] = None, + resource: Optional['outputs.PrivilegeResponseResource'] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param Sequence[str] actions: An array of actions that are allowed. + :param 'PrivilegeResponseResource' resource: An Azure Cosmos DB Mongo DB Resource. + """ + if actions is not None: + pulumi.set(__self__, "actions", actions) + if resource is not None: + pulumi.set(__self__, "resource", resource) + + @property + @pulumi.getter + def actions(self) -> Optional[Sequence[str]]: + """ + An array of actions that are allowed. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.PrivilegeResponseResource']: + """ + An Azure Cosmos DB Mongo DB Resource. + """ + return pulumi.get(self, "resource") + + +@pulumi.output_type +class PrivilegeResponseResource(dict): + """ + An Azure Cosmos DB Mongo DB Resource. + """ + def __init__(__self__, *, + collection: Optional[str] = None, + db: Optional[str] = None): + """ + An Azure Cosmos DB Mongo DB Resource. + :param str collection: The collection name the role is applied. + :param str db: The database name the role is applied. + """ + if collection is not None: + pulumi.set(__self__, "collection", collection) + if db is not None: + pulumi.set(__self__, "db", db) + + @property + @pulumi.getter + def collection(self) -> Optional[str]: + """ + The collection name the role is applied. + """ + return pulumi.get(self, "collection") + + @property + @pulumi.getter + def db(self) -> Optional[str]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + +@pulumi.output_type +class RestoreParametersResponse(dict): + """ + Parameters to indicate the information about the restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "databasesToRestore": + suggest = "databases_to_restore" + elif key == "gremlinDatabasesToRestore": + suggest = "gremlin_databases_to_restore" + elif key == "restoreMode": + suggest = "restore_mode" + elif key == "restoreSource": + suggest = "restore_source" + elif key == "restoreTimestampInUtc": + suggest = "restore_timestamp_in_utc" + elif key == "tablesToRestore": + suggest = "tables_to_restore" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RestoreParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RestoreParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RestoreParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + databases_to_restore: Optional[Sequence['outputs.DatabaseRestoreResourceResponse']] = None, + gremlin_databases_to_restore: Optional[Sequence['outputs.GremlinDatabaseRestoreResourceResponse']] = None, + restore_mode: Optional[str] = None, + restore_source: Optional[str] = None, + restore_timestamp_in_utc: Optional[str] = None, + tables_to_restore: Optional[Sequence[str]] = None): + """ + Parameters to indicate the information about the restore. + :param Sequence['DatabaseRestoreResourceResponse'] databases_to_restore: List of specific databases available for restore. + :param Sequence['GremlinDatabaseRestoreResourceResponse'] gremlin_databases_to_restore: List of specific gremlin databases available for restore. + :param str restore_mode: Describes the mode of the restore. + :param str restore_source: The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + :param str restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 format). + :param Sequence[str] tables_to_restore: List of specific tables available for restore. + """ + if databases_to_restore is not None: + pulumi.set(__self__, "databases_to_restore", databases_to_restore) + if gremlin_databases_to_restore is not None: + pulumi.set(__self__, "gremlin_databases_to_restore", gremlin_databases_to_restore) + if restore_mode is not None: + pulumi.set(__self__, "restore_mode", restore_mode) + if restore_source is not None: + pulumi.set(__self__, "restore_source", restore_source) + if restore_timestamp_in_utc is not None: + pulumi.set(__self__, "restore_timestamp_in_utc", restore_timestamp_in_utc) + if tables_to_restore is not None: + pulumi.set(__self__, "tables_to_restore", tables_to_restore) + + @property + @pulumi.getter(name="databasesToRestore") + def databases_to_restore(self) -> Optional[Sequence['outputs.DatabaseRestoreResourceResponse']]: + """ + List of specific databases available for restore. + """ + return pulumi.get(self, "databases_to_restore") + + @property + @pulumi.getter(name="gremlinDatabasesToRestore") + def gremlin_databases_to_restore(self) -> Optional[Sequence['outputs.GremlinDatabaseRestoreResourceResponse']]: + """ + List of specific gremlin databases available for restore. + """ + return pulumi.get(self, "gremlin_databases_to_restore") + + @property + @pulumi.getter(name="restoreMode") + def restore_mode(self) -> Optional[str]: + """ + Describes the mode of the restore. + """ + return pulumi.get(self, "restore_mode") + + @property + @pulumi.getter(name="restoreSource") + def restore_source(self) -> Optional[str]: + """ + The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + """ + return pulumi.get(self, "restore_source") + + @property + @pulumi.getter(name="restoreTimestampInUtc") + def restore_timestamp_in_utc(self) -> Optional[str]: + """ + Time to which the account has to be restored (ISO-8601 format). + """ + return pulumi.get(self, "restore_timestamp_in_utc") + + @property + @pulumi.getter(name="tablesToRestore") + def tables_to_restore(self) -> Optional[Sequence[str]]: + """ + List of specific tables available for restore. + """ + return pulumi.get(self, "tables_to_restore") + + +@pulumi.output_type +class RoleResponse(dict): + """ + The set of roles permitted through this Role Definition. + """ + def __init__(__self__, *, + db: Optional[str] = None, + role: Optional[str] = None): + """ + The set of roles permitted through this Role Definition. + :param str db: The database name the role is applied. + :param str role: The role name. + """ + if db is not None: + pulumi.set(__self__, "db", db) + if role is not None: + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter + def db(self) -> Optional[str]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + @property + @pulumi.getter + def role(self) -> Optional[str]: + """ + The role name. + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class SeedNodeResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipAddress": + suggest = "ip_address" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SeedNodeResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SeedNodeResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SeedNodeResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_address: Optional[str] = None): + """ + :param str ip_address: IP address of this seed node. + """ + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[str]: + """ + IP address of this seed node. + """ + return pulumi.get(self, "ip_address") + + +@pulumi.output_type +class SpatialSpecResponse(dict): + def __init__(__self__, *, + path: Optional[str] = None, + types: Optional[Sequence[str]] = None): + """ + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + :param Sequence[str] types: List of path's spatial type + """ + if path is not None: + pulumi.set(__self__, "path", path) + if types is not None: + pulumi.set(__self__, "types", types) + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @property + @pulumi.getter + def types(self) -> Optional[Sequence[str]]: + """ + List of path's spatial type + """ + return pulumi.get(self, "types") + + +@pulumi.output_type +class SqlContainerGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlContainerGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlContainerGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlContainerGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class SqlContainerGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "clientEncryptionPolicy": + suggest = "client_encryption_policy" + elif key == "conflictResolutionPolicy": + suggest = "conflict_resolution_policy" + elif key == "defaultTtl": + suggest = "default_ttl" + elif key == "indexingPolicy": + suggest = "indexing_policy" + elif key == "partitionKey": + suggest = "partition_key" + elif key == "uniqueKeyPolicy": + suggest = "unique_key_policy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlContainerGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlContainerGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlContainerGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[float] = None, + client_encryption_policy: Optional['outputs.ClientEncryptionPolicyResponse'] = None, + conflict_resolution_policy: Optional['outputs.ConflictResolutionPolicyResponse'] = None, + default_ttl: Optional[int] = None, + indexing_policy: Optional['outputs.IndexingPolicyResponse'] = None, + partition_key: Optional['outputs.ContainerPartitionKeyResponse'] = None, + unique_key_policy: Optional['outputs.UniqueKeyPolicyResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL container + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param float analytical_storage_ttl: Analytical TTL. + :param 'ClientEncryptionPolicyResponse' client_encryption_policy: The client encryption policy for the container. + :param 'ConflictResolutionPolicyResponse' conflict_resolution_policy: The conflict resolution policy for the container. + :param int default_ttl: Default time to live + :param 'IndexingPolicyResponse' indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + :param 'ContainerPartitionKeyResponse' partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param 'UniqueKeyPolicyResponse' unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if client_encryption_policy is not None: + pulumi.set(__self__, "client_encryption_policy", client_encryption_policy) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL container + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[float]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="clientEncryptionPolicy") + def client_encryption_policy(self) -> Optional['outputs.ClientEncryptionPolicyResponse']: + """ + The client encryption policy for the container. + """ + return pulumi.get(self, "client_encryption_policy") + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional['outputs.ConflictResolutionPolicyResponse']: + """ + The conflict resolution policy for the container. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[int]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional['outputs.IndexingPolicyResponse']: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + """ + return pulumi.get(self, "indexing_policy") + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional['outputs.ContainerPartitionKeyResponse']: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional['outputs.UniqueKeyPolicyResponse']: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + +@pulumi.output_type +class SqlDatabaseGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDatabaseGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class SqlDatabaseGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + colls: Optional[str] = None, + users: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL database + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str colls: A system generated property that specified the addressable path of the collections resource. + :param str users: A system generated property that specifies the addressable path of the users resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if colls is not None: + pulumi.set(__self__, "colls", colls) + if users is not None: + pulumi.set(__self__, "users", users) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL database + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def colls(self) -> Optional[str]: + """ + A system generated property that specified the addressable path of the collections resource. + """ + return pulumi.get(self, "colls") + + @property + @pulumi.getter + def users(self) -> Optional[str]: + """ + A system generated property that specifies the addressable path of the users resource. + """ + return pulumi.get(self, "users") + + +@pulumi.output_type +class SqlDedicatedGatewayRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sqlDedicatedGatewayEndpoint": + suggest = "sql_dedicated_gateway_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDedicatedGatewayRegionalServiceResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDedicatedGatewayRegionalServiceResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDedicatedGatewayRegionalServiceResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + location: str, + name: str, + sql_dedicated_gateway_endpoint: str, + status: str): + """ + Resource for a regional service location. + :param str location: The location name. + :param str name: The regional service name. + :param str sql_dedicated_gateway_endpoint: The regional endpoint for SqlDedicatedGateway. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "sql_dedicated_gateway_endpoint", sql_dedicated_gateway_endpoint) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="sqlDedicatedGatewayEndpoint") + def sql_dedicated_gateway_endpoint(self) -> str: + """ + The regional endpoint for SqlDedicatedGateway. + """ + return pulumi.get(self, "sql_dedicated_gateway_endpoint") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SqlDedicatedGatewayServiceResourcePropertiesResponse(dict): + """ + Properties for SqlDedicatedGatewayServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + elif key == "sqlDedicatedGatewayEndpoint": + suggest = "sql_dedicated_gateway_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDedicatedGatewayServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDedicatedGatewayServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDedicatedGatewayServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.SqlDedicatedGatewayRegionalServiceResourceResponse'], + service_type: str, + status: str, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None, + sql_dedicated_gateway_endpoint: Optional[str] = None): + """ + Properties for SqlDedicatedGatewayServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['SqlDedicatedGatewayRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'SqlDedicatedGateway'. + :param str status: Describes the status of a service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + :param str sql_dedicated_gateway_endpoint: SqlDedicatedGateway endpoint for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'SqlDedicatedGateway') + pulumi.set(__self__, "status", status) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + if sql_dedicated_gateway_endpoint is not None: + pulumi.set(__self__, "sql_dedicated_gateway_endpoint", sql_dedicated_gateway_endpoint) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.SqlDedicatedGatewayRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'SqlDedicatedGateway'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + @property + @pulumi.getter(name="sqlDedicatedGatewayEndpoint") + def sql_dedicated_gateway_endpoint(self) -> Optional[str]: + """ + SqlDedicatedGateway endpoint for the service. + """ + return pulumi.get(self, "sql_dedicated_gateway_endpoint") + + +@pulumi.output_type +class SqlStoredProcedureGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + body: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL storedProcedure + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str body: Body of the Stored Procedure + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL storedProcedure + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + Body of the Stored Procedure + """ + return pulumi.get(self, "body") + + +@pulumi.output_type +class SqlTriggerGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "triggerOperation": + suggest = "trigger_operation" + elif key == "triggerType": + suggest = "trigger_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlTriggerGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlTriggerGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlTriggerGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + body: Optional[str] = None, + trigger_operation: Optional[str] = None, + trigger_type: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL trigger + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str body: Body of the Trigger + :param str trigger_operation: The operation the trigger is associated with + :param str trigger_type: Type of the Trigger + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if body is not None: + pulumi.set(__self__, "body", body) + if trigger_operation is not None: + pulumi.set(__self__, "trigger_operation", trigger_operation) + if trigger_type is not None: + pulumi.set(__self__, "trigger_type", trigger_type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL trigger + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + Body of the Trigger + """ + return pulumi.get(self, "body") + + @property + @pulumi.getter(name="triggerOperation") + def trigger_operation(self) -> Optional[str]: + """ + The operation the trigger is associated with + """ + return pulumi.get(self, "trigger_operation") + + @property + @pulumi.getter(name="triggerType") + def trigger_type(self) -> Optional[str]: + """ + Type of the Trigger + """ + return pulumi.get(self, "trigger_type") + + +@pulumi.output_type +class SqlUserDefinedFunctionGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + body: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL userDefinedFunction + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str body: Body of the User Defined Function + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL userDefinedFunction + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + Body of the User Defined Function + """ + return pulumi.get(self, "body") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TableGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TableGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TableGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TableGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class TableGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB table + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB table + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + +@pulumi.output_type +class UniqueKeyPolicyResponse(dict): + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "uniqueKeys": + suggest = "unique_keys" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UniqueKeyPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UniqueKeyPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UniqueKeyPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + unique_keys: Optional[Sequence['outputs.UniqueKeyResponse']] = None): + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + :param Sequence['UniqueKeyResponse'] unique_keys: List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + if unique_keys is not None: + pulumi.set(__self__, "unique_keys", unique_keys) + + @property + @pulumi.getter(name="uniqueKeys") + def unique_keys(self) -> Optional[Sequence['outputs.UniqueKeyResponse']]: + """ + List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_keys") + + +@pulumi.output_type +class UniqueKeyResponse(dict): + """ + The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + def __init__(__self__, *, + paths: Optional[Sequence[str]] = None): + """ + The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + :param Sequence[str] paths: List of paths must be unique for each document in the Azure Cosmos DB service + """ + if paths is not None: + pulumi.set(__self__, "paths", paths) + + @property + @pulumi.getter + def paths(self) -> Optional[Sequence[str]]: + """ + List of paths must be unique for each document in the Azure Cosmos DB service + """ + return pulumi.get(self, "paths") + + +@pulumi.output_type +class VirtualNetworkRuleResponse(dict): + """ + Virtual Network ACL Rule object + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ignoreMissingVNetServiceEndpoint": + suggest = "ignore_missing_v_net_service_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualNetworkRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualNetworkRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualNetworkRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: Optional[str] = None, + ignore_missing_v_net_service_endpoint: Optional[bool] = None): + """ + Virtual Network ACL Rule object + :param str id: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + :param bool ignore_missing_v_net_service_endpoint: Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + if id is not None: + pulumi.set(__self__, "id", id) + if ignore_missing_v_net_service_endpoint is not None: + pulumi.set(__self__, "ignore_missing_v_net_service_endpoint", ignore_missing_v_net_service_endpoint) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="ignoreMissingVNetServiceEndpoint") + def ignore_missing_v_net_service_endpoint(self) -> Optional[bool]: + """ + Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + return pulumi.get(self, "ignore_missing_v_net_service_endpoint") + + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/private_endpoint_connection.py new file mode 100644 index 000000000000..51751bd24748 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/private_endpoint_connection.py @@ -0,0 +1,292 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input['PrivateEndpointPropertyArgs']] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']] = None, + provisioning_state: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnection resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] group_id: Group id of the private endpoint. + :param pulumi.Input['PrivateEndpointPropertyArgs'] private_endpoint: Private endpoint which the connection belongs to. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + :param pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs'] private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] provisioning_state: Provisioning state of the private endpoint. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + if private_link_service_connection_state is not None: + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional[pulumi.Input['PrivateEndpointPropertyArgs']]: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @private_endpoint.setter + def private_endpoint(self, value: Optional[pulumi.Input['PrivateEndpointPropertyArgs']]): + pulumi.set(self, "private_endpoint", value) + + @property + @pulumi.getter(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection. + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional[pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']]: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: Optional[pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']]): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[str]]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provisioning_state", value) + + +class PrivateEndpointConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointPropertyArgs']]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']]] = None, + provisioning_state: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] group_id: Group id of the private endpoint. + :param pulumi.Input[pulumi.InputType['PrivateEndpointPropertyArgs']] private_endpoint: Private endpoint which the connection belongs to. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']] private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] provisioning_state: Provisioning state of the private endpoint. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionArgs 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(PrivateEndpointConnectionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointPropertyArgs']]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']]] = None, + provisioning_state: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["group_id"] = group_id + __props__.__dict__["private_endpoint"] = private_endpoint + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + __props__.__dict__["provisioning_state"] = provisioning_state + 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__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20190801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-native:documentdb/v20230915:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["group_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Output[Optional[str]]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointPropertyResponse']]: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output[Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse']]: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[Optional[str]]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/service.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/service.py new file mode 100644 index 000000000000..203a5b8f6114 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/service.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['ServiceArgs', 'Service'] + +@pulumi.input_type +class ServiceArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + instance_count: Optional[pulumi.Input[int]] = None, + instance_size: Optional[pulumi.Input[Union[str, 'ServiceSize']]] = None, + service_name: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[Union[str, 'ServiceType']]] = None): + """ + The set of arguments for constructing a Service resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[int] instance_count: Instance count for the service. + :param pulumi.Input[Union[str, 'ServiceSize']] instance_size: Instance type for the service. + :param pulumi.Input[str] service_name: Cosmos DB service name. + :param pulumi.Input[Union[str, 'ServiceType']] service_type: ServiceType for the service. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + if service_name is not None: + pulumi.set(__self__, "service_name", service_name) + if service_type is not None: + pulumi.set(__self__, "service_type", service_type) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="instanceCount") + def instance_count(self) -> Optional[pulumi.Input[int]]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @instance_count.setter + def instance_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_count", value) + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[pulumi.Input[Union[str, 'ServiceSize']]]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + @instance_size.setter + def instance_size(self, value: Optional[pulumi.Input[Union[str, 'ServiceSize']]]): + pulumi.set(self, "instance_size", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB service name. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> Optional[pulumi.Input[Union[str, 'ServiceType']]]: + """ + ServiceType for the service. + """ + return pulumi.get(self, "service_type") + + @service_type.setter + def service_type(self, value: Optional[pulumi.Input[Union[str, 'ServiceType']]]): + pulumi.set(self, "service_type", value) + + +class Service(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + instance_count: Optional[pulumi.Input[int]] = None, + instance_size: Optional[pulumi.Input[Union[str, 'ServiceSize']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[Union[str, 'ServiceType']]] = None, + __props__=None): + """ + Properties for the database account. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[int] instance_count: Instance count for the service. + :param pulumi.Input[Union[str, 'ServiceSize']] instance_size: Instance type for the service. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] service_name: Cosmos DB service name. + :param pulumi.Input[Union[str, 'ServiceType']] service_type: ServiceType for the service. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ServiceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Properties for the database account. + + :param str resource_name: The name of the resource. + :param ServiceArgs 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(ServiceArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + instance_count: Optional[pulumi.Input[int]] = None, + instance_size: Optional[pulumi.Input[Union[str, 'ServiceSize']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[Union[str, 'ServiceType']]] = 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__ = ServiceArgs.__new__(ServiceArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["instance_count"] = instance_count + __props__.__dict__["instance_size"] = instance_size + 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__["service_name"] = service_name + __props__.__dict__["service_type"] = service_type + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230415:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:Service")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Service, __self__).__init__( + 'azure-native:documentdb/v20230915:Service', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Service': + """ + Get an existing Service 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ServiceArgs.__new__(ServiceArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return Service(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output[Any]: + """ + Services response resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_container.py new file mode 100644 index 000000000000..2b53084549b6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_container.py @@ -0,0 +1,309 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlContainerArgs', 'SqlResourceSqlContainer'] + +@pulumi.input_type +class SqlResourceSqlContainerArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlContainerResourceArgs'], + resource_group_name: pulumi.Input[str], + container_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SqlResourceSqlContainer resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlContainerResourceArgs'] resource: The standard JSON format of a container + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if container_name is not None: + pulumi.set(__self__, "container_name", container_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlContainerResourceArgs']: + """ + The standard JSON format of a container + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlContainerResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="containerName") + def container_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 SqlResourceSqlContainer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlContainerResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB container. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlContainerResourceArgs']] resource: The standard JSON format of a container + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlContainerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB container. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlContainerArgs 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(SqlResourceSqlContainerArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlContainerResourceArgs']]] = 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): + 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__ = SqlResourceSqlContainerArgs.__new__(SqlResourceSqlContainerArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlContainer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlContainer, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlContainer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlContainer': + """ + Get an existing SqlResourceSqlContainer 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlContainerArgs.__new__(SqlResourceSqlContainerArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlContainer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.SqlContainerGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlContainerGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_database.py new file mode 100644 index 000000000000..04acc534e102 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_database.py @@ -0,0 +1,287 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SqlResourceSqlDatabaseArgs', 'SqlResourceSqlDatabase'] + +@pulumi.input_type +class SqlResourceSqlDatabaseArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['SqlDatabaseResourceArgs'], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SqlResourceSqlDatabase resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['SqlDatabaseResourceArgs'] resource: The standard JSON format of a SQL database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlDatabaseResourceArgs']: + """ + The standard JSON format of a SQL database + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlDatabaseResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 SqlResourceSqlDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB SQL database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']] resource: The standard JSON format of a SQL database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB SQL database. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlDatabaseArgs 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(SqlResourceSqlDatabaseArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']]] = 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): + 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__ = SqlResourceSqlDatabaseArgs.__new__(SqlResourceSqlDatabaseArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlDatabase, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlDatabase': + """ + Get an existing SqlResourceSqlDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlDatabaseArgs.__new__(SqlResourceSqlDatabaseArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.SqlDatabaseGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlDatabaseGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_role_assignment.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_role_assignment.py new file mode 100644 index 000000000000..8bc40f1e753e --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_role_assignment.py @@ -0,0 +1,261 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = ['SqlResourceSqlRoleAssignmentArgs', 'SqlResourceSqlRoleAssignment'] + +@pulumi.input_type +class SqlResourceSqlRoleAssignmentArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + principal_id: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SqlResourceSqlRoleAssignment resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] principal_id: The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + :param pulumi.Input[str] role_assignment_id: The GUID for the Role Assignment. + :param pulumi.Input[str] role_definition_id: The unique identifier for the associated Role Definition. + :param pulumi.Input[str] scope: The data plane resource path for which access is being granted through this Role Assignment. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if principal_id is not None: + pulumi.set(__self__, "principal_id", principal_id) + if role_assignment_id is not None: + pulumi.set(__self__, "role_assignment_id", role_assignment_id) + if role_definition_id is not None: + pulumi.set(__self__, "role_definition_id", role_definition_id) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="principalId") + def principal_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + """ + 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="roleAssignmentId") + def role_assignment_id(self) -> Optional[pulumi.Input[str]]: + """ + The GUID for the Role Assignment. + """ + return pulumi.get(self, "role_assignment_id") + + @role_assignment_id.setter + def role_assignment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_assignment_id", value) + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier for the associated Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @role_definition_id.setter + def role_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_definition_id", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input[str]]: + """ + The data plane resource path for which access is being granted through this Role Assignment. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scope", value) + + +class SqlResourceSqlRoleAssignment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB Role Assignment + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] principal_id: The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_assignment_id: The GUID for the Role Assignment. + :param pulumi.Input[str] role_definition_id: The unique identifier for the associated Role Definition. + :param pulumi.Input[str] scope: The data plane resource path for which access is being granted through this Role Assignment. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlRoleAssignmentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Role Assignment + + :param str resource_name: The name of the resource. + :param SqlResourceSqlRoleAssignmentArgs 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(SqlResourceSqlRoleAssignmentArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + scope: 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__ = SqlResourceSqlRoleAssignmentArgs.__new__(SqlResourceSqlRoleAssignmentArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["principal_id"] = principal_id + 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__["role_assignment_id"] = role_assignment_id + __props__.__dict__["role_definition_id"] = role_definition_id + __props__.__dict__["scope"] = scope + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlRoleAssignment, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlRoleAssignment': + """ + Get an existing SqlResourceSqlRoleAssignment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlRoleAssignmentArgs.__new__(SqlResourceSqlRoleAssignmentArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["principal_id"] = None + __props__.__dict__["role_definition_id"] = None + __props__.__dict__["scope"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlRoleAssignment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> pulumi.Output[Optional[str]]: + """ + The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> pulumi.Output[Optional[str]]: + """ + The unique identifier for the associated Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @property + @pulumi.getter + def scope(self) -> pulumi.Output[Optional[str]]: + """ + The data plane resource path for which access is being granted through this Role Assignment. + """ + return pulumi.get(self, "scope") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_role_definition.py new file mode 100644 index 000000000000..b1dfc81cd697 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_role_definition.py @@ -0,0 +1,283 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlRoleDefinitionArgs', 'SqlResourceSqlRoleDefinition'] + +@pulumi.input_type +class SqlResourceSqlRoleDefinitionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + assignable_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permissions: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['RoleDefinitionType']] = None): + """ + The set of arguments for constructing a SqlResourceSqlRoleDefinition resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[str]]] assignable_scopes: A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + :param pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]] permissions: The set of operations allowed through this Role Definition. + :param pulumi.Input[str] role_definition_id: The GUID for the Role Definition. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input['RoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if assignable_scopes is not None: + pulumi.set(__self__, "assignable_scopes", assignable_scopes) + if permissions is not None: + pulumi.set(__self__, "permissions", permissions) + if role_definition_id is not None: + pulumi.set(__self__, "role_definition_id", role_definition_id) + if role_name is not None: + pulumi.set(__self__, "role_name", role_name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="assignableScopes") + def assignable_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + """ + return pulumi.get(self, "assignable_scopes") + + @assignable_scopes.setter + def assignable_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "assignable_scopes", value) + + @property + @pulumi.getter + def permissions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]]]: + """ + The set of operations allowed through this Role Definition. + """ + return pulumi.get(self, "permissions") + + @permissions.setter + def permissions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]]]): + pulumi.set(self, "permissions", value) + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The GUID for the Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @role_definition_id.setter + def role_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_definition_id", value) + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[pulumi.Input[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @role_name.setter + def role_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['RoleDefinitionType']]: + """ + Indicates whether the Role Definition was built-in or user created. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['RoleDefinitionType']]): + pulumi.set(self, "type", value) + + +class SqlResourceSqlRoleDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + assignable_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PermissionArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['RoleDefinitionType']] = None, + __props__=None): + """ + An Azure Cosmos DB SQL Role Definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[Sequence[pulumi.Input[str]]] assignable_scopes: A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PermissionArgs']]]] permissions: The set of operations allowed through this Role Definition. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_definition_id: The GUID for the Role Definition. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input['RoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlRoleDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB SQL Role Definition. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlRoleDefinitionArgs 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(SqlResourceSqlRoleDefinitionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + assignable_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PermissionArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['RoleDefinitionType']] = 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__ = SqlResourceSqlRoleDefinitionArgs.__new__(SqlResourceSqlRoleDefinitionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["assignable_scopes"] = assignable_scopes + __props__.__dict__["permissions"] = permissions + 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__["role_definition_id"] = role_definition_id + __props__.__dict__["role_name"] = role_name + __props__.__dict__["type"] = type + __props__.__dict__["name"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlRoleDefinition, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlRoleDefinition': + """ + Get an existing SqlResourceSqlRoleDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlRoleDefinitionArgs.__new__(SqlResourceSqlRoleDefinitionArgs) + + __props__.__dict__["assignable_scopes"] = None + __props__.__dict__["name"] = None + __props__.__dict__["permissions"] = None + __props__.__dict__["role_name"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlRoleDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="assignableScopes") + def assignable_scopes(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + """ + return pulumi.get(self, "assignable_scopes") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def permissions(self) -> pulumi.Output[Optional[Sequence['outputs.PermissionResponse']]]: + """ + The set of operations allowed through this Role Definition. + """ + return pulumi.get(self, "permissions") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> pulumi.Output[Optional[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_stored_procedure.py new file mode 100644 index 000000000000..5c7da768b8e6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_stored_procedure.py @@ -0,0 +1,323 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SqlResourceSqlStoredProcedureArgs', 'SqlResourceSqlStoredProcedure'] + +@pulumi.input_type +class SqlResourceSqlStoredProcedureArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + container_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlStoredProcedureResourceArgs'], + resource_group_name: pulumi.Input[str], + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + stored_procedure_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SqlResourceSqlStoredProcedure resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlStoredProcedureResourceArgs'] resource: The standard JSON format of a storedProcedure + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[str] stored_procedure_name: Cosmos DB storedProcedure name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if stored_procedure_name is not None: + pulumi.set(__self__, "stored_procedure_name", stored_procedure_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlStoredProcedureResourceArgs']: + """ + The standard JSON format of a storedProcedure + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlStoredProcedureResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter(name="storedProcedureName") + def stored_procedure_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB storedProcedure name. + """ + return pulumi.get(self, "stored_procedure_name") + + @stored_procedure_name.setter + def stored_procedure_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "stored_procedure_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 SqlResourceSqlStoredProcedure(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlStoredProcedureResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + stored_procedure_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB storedProcedure. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlStoredProcedureResourceArgs']] resource: The standard JSON format of a storedProcedure + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] stored_procedure_name: Cosmos DB storedProcedure name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlStoredProcedureArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB storedProcedure. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlStoredProcedureArgs 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(SqlResourceSqlStoredProcedureArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlStoredProcedureResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + stored_procedure_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): + 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__ = SqlResourceSqlStoredProcedureArgs.__new__(SqlResourceSqlStoredProcedureArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if container_name is None and not opts.urn: + raise TypeError("Missing required property 'container_name'") + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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__["stored_procedure_name"] = stored_procedure_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlStoredProcedure, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlStoredProcedure': + """ + Get an existing SqlResourceSqlStoredProcedure 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlStoredProcedureArgs.__new__(SqlResourceSqlStoredProcedureArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlStoredProcedure(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlStoredProcedureGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_trigger.py new file mode 100644 index 000000000000..329cc80eaa95 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_trigger.py @@ -0,0 +1,324 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlTriggerArgs', 'SqlResourceSqlTrigger'] + +@pulumi.input_type +class SqlResourceSqlTriggerArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + container_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlTriggerResourceArgs'], + resource_group_name: pulumi.Input[str], + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trigger_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SqlResourceSqlTrigger resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlTriggerResourceArgs'] resource: The standard JSON format of a trigger + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] trigger_name: Cosmos DB trigger name. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if trigger_name is not None: + pulumi.set(__self__, "trigger_name", trigger_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlTriggerResourceArgs']: + """ + The standard JSON format of a trigger + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlTriggerResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="triggerName") + def trigger_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB trigger name. + """ + return pulumi.get(self, "trigger_name") + + @trigger_name.setter + def trigger_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trigger_name", value) + + +class SqlResourceSqlTrigger(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlTriggerResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trigger_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB trigger. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlTriggerResourceArgs']] resource: The standard JSON format of a trigger + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] trigger_name: Cosmos DB trigger name. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlTriggerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB trigger. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlTriggerArgs 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(SqlResourceSqlTriggerArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlTriggerResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trigger_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SqlResourceSqlTriggerArgs.__new__(SqlResourceSqlTriggerArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if container_name is None and not opts.urn: + raise TypeError("Missing required property 'container_name'") + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["trigger_name"] = trigger_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlTrigger, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlTrigger', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlTrigger': + """ + Get an existing SqlResourceSqlTrigger 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlTriggerArgs.__new__(SqlResourceSqlTriggerArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlTrigger(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlTriggerGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_user_defined_function.py new file mode 100644 index 000000000000..cb25a3fd30fb --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/sql_resource_sql_user_defined_function.py @@ -0,0 +1,323 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['SqlResourceSqlUserDefinedFunctionArgs', 'SqlResourceSqlUserDefinedFunction'] + +@pulumi.input_type +class SqlResourceSqlUserDefinedFunctionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + container_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlUserDefinedFunctionResourceArgs'], + resource_group_name: pulumi.Input[str], + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SqlResourceSqlUserDefinedFunction resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlUserDefinedFunctionResourceArgs'] resource: The standard JSON format of a userDefinedFunction + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if user_defined_function_name is not None: + pulumi.set(__self__, "user_defined_function_name", user_defined_function_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlUserDefinedFunctionResourceArgs']: + """ + The standard JSON format of a userDefinedFunction + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlUserDefinedFunctionResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="userDefinedFunctionName") + def user_defined_function_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB userDefinedFunction name. + """ + return pulumi.get(self, "user_defined_function_name") + + @user_defined_function_name.setter + def user_defined_function_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_defined_function_name", value) + + +class SqlResourceSqlUserDefinedFunction(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlUserDefinedFunctionResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB userDefinedFunction. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlUserDefinedFunctionResourceArgs']] resource: The standard JSON format of a userDefinedFunction + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlUserDefinedFunctionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB userDefinedFunction. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlUserDefinedFunctionArgs 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(SqlResourceSqlUserDefinedFunctionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlUserDefinedFunctionResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SqlResourceSqlUserDefinedFunctionArgs.__new__(SqlResourceSqlUserDefinedFunctionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if container_name is None and not opts.urn: + raise TypeError("Missing required property 'container_name'") + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["user_defined_function_name"] = user_defined_function_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlUserDefinedFunction, __self__).__init__( + 'azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlUserDefinedFunction': + """ + Get an existing SqlResourceSqlUserDefinedFunction 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlUserDefinedFunctionArgs.__new__(SqlResourceSqlUserDefinedFunctionArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlUserDefinedFunction(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlUserDefinedFunctionGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915/table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915/table_resource_table.py new file mode 100644 index 000000000000..240a051639f1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915/table_resource_table.py @@ -0,0 +1,287 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['TableResourceTableArgs', 'TableResourceTable'] + +@pulumi.input_type +class TableResourceTableArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['TableResourceArgs'], + resource_group_name: pulumi.Input[str], + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a TableResourceTable resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['TableResourceArgs'] resource: The standard JSON format of a Table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['TableResourceArgs']: + """ + The standard JSON format of a Table + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['TableResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB table name. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 TableResourceTable(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['TableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Table. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['TableResourceArgs']] resource: The standard JSON format of a Table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TableResourceTableArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Table. + + :param str resource_name: The name of the resource. + :param TableResourceTableArgs 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(TableResourceTableArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['TableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_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): + 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__ = TableResourceTableArgs.__new__(TableResourceTableArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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__["table_name"] = table_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915preview:TableResourceTable")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(TableResourceTable, __self__).__init__( + 'azure-native:documentdb/v20230915:TableResourceTable', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'TableResourceTable': + """ + Get an existing TableResourceTable 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = TableResourceTableArgs.__new__(TableResourceTableArgs) + + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return TableResourceTable(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.TableGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.TableGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/__init__.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/__init__.py new file mode 100644 index 000000000000..1eb9f879dd90 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/__init__.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .cassandra_cluster import * +from .cassandra_data_center import * +from .cassandra_resource_cassandra_keyspace import * +from .cassandra_resource_cassandra_table import * +from .cassandra_resource_cassandra_view import * +from .database_account import * +from .get_cassandra_cluster import * +from .get_cassandra_data_center import * +from .get_cassandra_resource_cassandra_keyspace import * +from .get_cassandra_resource_cassandra_table import * +from .get_cassandra_resource_cassandra_view import * +from .get_database_account import * +from .get_graph_resource_graph import * +from .get_gremlin_resource_gremlin_database import * +from .get_gremlin_resource_gremlin_graph import * +from .get_mongo_cluster import * +from .get_mongo_cluster_firewall_rule import * +from .get_mongo_db_resource_mongo_db_collection import * +from .get_mongo_db_resource_mongo_db_database import * +from .get_mongo_db_resource_mongo_role_definition import * +from .get_mongo_db_resource_mongo_user_definition import * +from .get_notebook_workspace import * +from .get_private_endpoint_connection import * +from .get_service import * +from .get_sql_resource_sql_container import * +from .get_sql_resource_sql_database import * +from .get_sql_resource_sql_role_assignment import * +from .get_sql_resource_sql_role_definition import * +from .get_sql_resource_sql_stored_procedure import * +from .get_sql_resource_sql_trigger import * +from .get_sql_resource_sql_user_defined_function import * +from .get_table_resource_table import * +from .graph_resource_graph import * +from .gremlin_resource_gremlin_database import * +from .gremlin_resource_gremlin_graph import * +from .list_database_account_connection_strings import * +from .list_database_account_keys import * +from .list_mongo_cluster_connection_strings import * +from .list_notebook_workspace_connection_info import * +from .mongo_cluster import * +from .mongo_cluster_firewall_rule import * +from .mongo_db_resource_mongo_db_collection import * +from .mongo_db_resource_mongo_db_database import * +from .mongo_db_resource_mongo_role_definition import * +from .mongo_db_resource_mongo_user_definition import * +from .notebook_workspace import * +from .private_endpoint_connection import * +from .service import * +from .sql_resource_sql_container import * +from .sql_resource_sql_database import * +from .sql_resource_sql_role_assignment import * +from .sql_resource_sql_role_definition import * +from .sql_resource_sql_stored_procedure import * +from .sql_resource_sql_trigger import * +from .sql_resource_sql_user_defined_function import * +from .table_resource_table import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/_enums.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/_enums.py new file mode 100644 index 000000000000..e6c787062759 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/_enums.py @@ -0,0 +1,380 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AnalyticalStorageSchemaType', + 'AuthenticationMethod', + 'BackupPolicyMigrationStatus', + 'BackupPolicyType', + 'BackupStorageRedundancy', + 'ClusterType', + 'CompositePathSortOrder', + 'ConflictResolutionMode', + 'ConnectorOffer', + 'ContinuousTier', + 'CreateMode', + 'CustomerManagedKeyStatus', + 'DataType', + 'DatabaseAccountKind', + 'DatabaseAccountOfferType', + 'DefaultConsistencyLevel', + 'DefaultPriorityLevel', + 'EnableFullTextQuery', + 'IndexKind', + 'IndexingMode', + 'ManagedCassandraProvisioningState', + 'ManagedCassandraResourceIdentityType', + 'MinimalTlsVersion', + 'MongoRoleDefinitionType', + 'NetworkAclBypass', + 'NodeKind', + 'PartitionKind', + 'PublicNetworkAccess', + 'ResourceIdentityType', + 'RestoreMode', + 'RoleDefinitionType', + 'ServerVersion', + 'ServiceSize', + 'ServiceType', + 'SpatialType', + 'TriggerOperation', + 'TriggerType', +] + + +class AnalyticalStorageSchemaType(str, Enum): + """ + Describes the types of schema for analytical storage. + """ + WELL_DEFINED = "WellDefined" + FULL_FIDELITY = "FullFidelity" + + +class AuthenticationMethod(str, Enum): + """ + Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + """ + NONE = "None" + CASSANDRA = "Cassandra" + LDAP = "Ldap" + + +class BackupPolicyMigrationStatus(str, Enum): + """ + Describes the status of migration between backup policy types. + """ + INVALID = "Invalid" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + + +class BackupPolicyType(str, Enum): + """ + Describes the mode of backups. + """ + PERIODIC = "Periodic" + CONTINUOUS = "Continuous" + + +class BackupStorageRedundancy(str, Enum): + """ + Enum to indicate type of backup residency + """ + GEO = "Geo" + LOCAL = "Local" + ZONE = "Zone" + + +class ClusterType(str, Enum): + """ + Type of the cluster. If set to Production, some operations might not be permitted on cluster. + """ + PRODUCTION = "Production" + NON_PRODUCTION = "NonProduction" + + +class CompositePathSortOrder(str, Enum): + """ + Sort order for composite paths. + """ + ASCENDING = "ascending" + DESCENDING = "descending" + + +class ConflictResolutionMode(str, Enum): + """ + Indicates the conflict resolution mode. + """ + LAST_WRITER_WINS = "LastWriterWins" + CUSTOM = "Custom" + + +class ConnectorOffer(str, Enum): + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + SMALL = "Small" + + +class ContinuousTier(str, Enum): + """ + Enum to indicate type of Continuos backup mode + """ + CONTINUOUS7_DAYS = "Continuous7Days" + CONTINUOUS30_DAYS = "Continuous30Days" + + +class CreateMode(str, Enum): + """ + Enum to indicate the mode of resource creation. + """ + DEFAULT = "Default" + RESTORE = "Restore" + + +class CustomerManagedKeyStatus(str, Enum): + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_SERVICE_IS_UNABLE_TO_OBTAIN_THE_AA_D_AUTHENTICATION_TOKEN_FOR_THE_ACCOUNT_S_DEFAULT_IDENTITY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_AZURE_ACTIVE_DIRECTORY_TOKEN_ACQUISITION_ERROR_4000_ = "Access to your account is currently revoked because the Azure Cosmos DB service is unable to obtain the AAD authentication token for the account's default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-active-directory-token-acquisition-error (4000)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_ACCOUNT_S_KEY_VAULT_KEY_UR_I_DOES_NOT_FOLLOW_THE_EXPECTED_FORMAT_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_IMPROPER_SYNTAX_DETECTED_ON_THE_KEY_VAULT_URI_PROPERTY_4006_ = "Access to your account is currently revoked because the Azure Cosmos DB account's key vault key URI does not follow the expected format; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#improper-syntax-detected-on-the-key-vault-uri-property (4006)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_CURRENT_DEFAULT_IDENTITY_NO_LONGER_HAS_PERMISSION_TO_THE_ASSOCIATED_KEY_VAULT_KEY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_DEFAULT_IDENTITY_IS_UNAUTHORIZED_TO_ACCESS_THE_AZURE_KEY_VAULT_KEY_4002_ = "Access to your account is currently revoked because the current default identity no longer has permission to the associated Key Vault key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#default-identity-is-unauthorized-to-access-the-azure-key-vault-key (4002)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_KEY_VAULT_DN_S_NAME_SPECIFIED_BY_THE_ACCOUNT_S_KEYVAULTKEYURI_PROPERTY_COULD_NOT_BE_RESOLVED_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_UNABLE_TO_RESOLVE_THE_KEY_VAULTS_DNS_4009_ = "Access to your account is currently revoked because the Azure Key Vault DNS name specified by the account's keyvaultkeyuri property could not be resolved; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#unable-to-resolve-the-key-vaults-dns (4009)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_CORRESPONDENT_KEY_IS_NOT_FOUND_ON_THE_SPECIFIED_KEY_VAULT_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_AZURE_KEY_VAULT_RESOURCE_NOT_FOUND_4003_ = "Access to your account is currently revoked because the correspondent key is not found on the specified Key Vault; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4003)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_SERVICE_IS_UNABLE_TO_WRAP_OR_UNWRAP_THE_KEY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_INTERNAL_UNWRAPPING_PROCEDURE_ERROR_4005_ = "Access to your account is currently revoked because the Azure Cosmos DB service is unable to wrap or unwrap the key; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#internal-unwrapping-procedure-error (4005)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_AZURE_COSMOS_D_B_ACCOUNT_HAS_AN_UNDEFINED_DEFAULT_IDENTITY_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_INVALID_AZURE_COSMOS_DB_DEFAULT_IDENTITY_4015_ = "Access to your account is currently revoked because the Azure Cosmos DB account has an undefined default identity; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#invalid-azure-cosmos-db-default-identity (4015)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_ACCESS_RULES_ARE_BLOCKING_OUTBOUND_REQUESTS_TO_THE_AZURE_KEY_VAULT_SERVICE_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_4016_ = "Access to your account is currently revoked because the access rules are blocking outbound requests to the Azure Key Vault service; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide (4016)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_BECAUSE_THE_CORRESPONDENT_AZURE_KEY_VAULT_WAS_NOT_FOUND_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE_AZURE_KEY_VAULT_RESOURCE_NOT_FOUND_4017_ = "Access to your account is currently revoked because the correspondent Azure Key Vault was not found; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide#azure-key-vault-resource-not-found (4017)." + ACCESS_TO_YOUR_ACCOUNT_IS_CURRENTLY_REVOKED_FOR_MORE_DETAILS_ABOUT_THIS_ERROR_AND_HOW_TO_RESTORE_ACCESS_TO_YOUR_ACCOUNT_PLEASE_VISIT_HTTPS_LEARN_MICROSOFT_COM_EN_US_AZURE_COSMOS_DB_CMK_TROUBLESHOOTING_GUIDE = "Access to your account is currently revoked; for more details about this error and how to restore access to your account please visit https://learn.microsoft.com/en-us/azure/cosmos-db/cmk-troubleshooting-guide" + ACCESS_TO_THE_CONFIGURED_CUSTOMER_MANAGED_KEY_CONFIRMED_ = "Access to the configured customer managed key confirmed." + + +class DataType(str, Enum): + """ + The datatype for which the indexing behavior is applied to. + """ + STRING = "String" + NUMBER = "Number" + POINT = "Point" + POLYGON = "Polygon" + LINE_STRING = "LineString" + MULTI_POLYGON = "MultiPolygon" + + +class DatabaseAccountKind(str, Enum): + """ + Indicates the type of database account. This can only be set at database account creation. + """ + GLOBAL_DOCUMENT_DB = "GlobalDocumentDB" + MONGO_DB = "MongoDB" + PARSE = "Parse" + + +class DatabaseAccountOfferType(str, Enum): + """ + The offer type for the database + """ + STANDARD = "Standard" + + +class DefaultConsistencyLevel(str, Enum): + """ + The default consistency level and configuration settings of the Cosmos DB account. + """ + EVENTUAL = "Eventual" + SESSION = "Session" + BOUNDED_STALENESS = "BoundedStaleness" + STRONG = "Strong" + CONSISTENT_PREFIX = "ConsistentPrefix" + + +class DefaultPriorityLevel(str, Enum): + """ + Enum to indicate default Priority Level of request for Priority Based Execution. + """ + HIGH = "High" + LOW = "Low" + + +class EnableFullTextQuery(str, Enum): + """ + Describe the level of detail with which queries are to be logged. + """ + NONE = "None" + TRUE = "True" + FALSE = "False" + + +class IndexKind(str, Enum): + """ + Indicates the type of index. + """ + HASH = "Hash" + RANGE = "Range" + SPATIAL = "Spatial" + + +class IndexingMode(str, Enum): + """ + Indicates the indexing mode. + """ + CONSISTENT = "consistent" + LAZY = "lazy" + NONE = "none" + + +class ManagedCassandraProvisioningState(str, Enum): + """ + The status of the resource at the time the operation was called. + """ + CREATING = "Creating" + UPDATING = "Updating" + DELETING = "Deleting" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + + +class ManagedCassandraResourceIdentityType(str, Enum): + """ + The type of the resource. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + NONE = "None" + + +class MinimalTlsVersion(str, Enum): + """ + Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + """ + TLS = "Tls" + TLS11 = "Tls11" + TLS12 = "Tls12" + + +class MongoRoleDefinitionType(str, Enum): + """ + Indicates whether the Role Definition was built-in or user created. + """ + BUILT_IN_ROLE = "BuiltInRole" + CUSTOM_ROLE = "CustomRole" + + +class NetworkAclBypass(str, Enum): + """ + Indicates what services are allowed to bypass firewall checks. + """ + NONE = "None" + AZURE_SERVICES = "AzureServices" + + +class NodeKind(str, Enum): + """ + The node type deployed in the node group. + """ + SHARD = "Shard" + + +class PartitionKind(str, Enum): + """ + Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + """ + HASH = "Hash" + RANGE = "Range" + MULTI_HASH = "MultiHash" + + +class PublicNetworkAccess(str, Enum): + """ + Whether requests from Public Network are allowed + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + SECURED_BY_PERIMETER = "SecuredByPerimeter" + + +class ResourceIdentityType(str, Enum): + """ + The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" + NONE = "None" + + +class RestoreMode(str, Enum): + """ + Describes the mode of the restore. + """ + POINT_IN_TIME = "PointInTime" + + +class RoleDefinitionType(str, Enum): + """ + Indicates whether the Role Definition was built-in or user created. + """ + BUILT_IN_ROLE = "BuiltInRole" + CUSTOM_ROLE = "CustomRole" + + +class ServerVersion(str, Enum): + """ + Describes the ServerVersion of an a MongoDB account. + """ + SERVER_VERSION_3_2 = "3.2" + SERVER_VERSION_3_6 = "3.6" + SERVER_VERSION_4_0 = "4.0" + SERVER_VERSION_4_2 = "4.2" + + +class ServiceSize(str, Enum): + """ + Instance type for the service. + """ + COSMOS_D4S = "Cosmos.D4s" + COSMOS_D8S = "Cosmos.D8s" + COSMOS_D16S = "Cosmos.D16s" + + +class ServiceType(str, Enum): + """ + ServiceType for the service. + """ + SQL_DEDICATED_GATEWAY = "SqlDedicatedGateway" + DATA_TRANSFER = "DataTransfer" + GRAPH_API_COMPUTE = "GraphAPICompute" + MATERIALIZED_VIEWS_BUILDER = "MaterializedViewsBuilder" + + +class SpatialType(str, Enum): + """ + Indicates the spatial type of index. + """ + POINT = "Point" + LINE_STRING = "LineString" + POLYGON = "Polygon" + MULTI_POLYGON = "MultiPolygon" + + +class TriggerOperation(str, Enum): + """ + The operation the trigger is associated with + """ + ALL = "All" + CREATE = "Create" + UPDATE = "Update" + DELETE = "Delete" + REPLACE = "Replace" + + +class TriggerType(str, Enum): + """ + Type of the Trigger + """ + PRE = "Pre" + POST = "Post" diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/_inputs.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/_inputs.py new file mode 100644 index 000000000000..c3e860f68543 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/_inputs.py @@ -0,0 +1,4125 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AnalyticalStorageConfigurationArgs', + 'ApiPropertiesArgs', + 'AuthenticationMethodLdapPropertiesArgs', + 'AutoscaleSettingsArgs', + 'BackupPolicyMigrationStateArgs', + 'BackupScheduleArgs', + 'CapabilityArgs', + 'CapacityArgs', + 'CassandraErrorArgs', + 'CassandraKeyspaceResourceArgs', + 'CassandraPartitionKeyArgs', + 'CassandraSchemaArgs', + 'CassandraTableResourceArgs', + 'CassandraViewResourceArgs', + 'CertificateArgs', + 'ClientEncryptionIncludedPathArgs', + 'ClientEncryptionPolicyArgs', + 'ClusterKeyArgs', + 'ClusterResourcePropertiesArgs', + 'ColumnArgs', + 'CompositePathArgs', + 'ConflictResolutionPolicyArgs', + 'ConsistencyPolicyArgs', + 'ContainerPartitionKeyArgs', + 'ContinuousModeBackupPolicyArgs', + 'ContinuousModePropertiesArgs', + 'CorsPolicyArgs', + 'CreateUpdateOptionsArgs', + 'DataCenterResourcePropertiesArgs', + 'DatabaseRestoreResourceArgs', + 'DiagnosticLogSettingsArgs', + 'ExcludedPathArgs', + 'GraphResourceArgs', + 'GremlinDatabaseResourceArgs', + 'GremlinDatabaseRestoreResourceArgs', + 'GremlinGraphResourceArgs', + 'IncludedPathArgs', + 'IndexesArgs', + 'IndexingPolicyArgs', + 'IpAddressOrRangeArgs', + 'LocationArgs', + 'ManagedCassandraManagedServiceIdentityArgs', + 'ManagedServiceIdentityArgs', + 'MaterializedViewDefinitionArgs', + 'MongoClusterRestoreParametersArgs', + 'MongoDBCollectionResourceArgs', + 'MongoDBDatabaseResourceArgs', + 'MongoIndexKeysArgs', + 'MongoIndexOptionsArgs', + 'MongoIndexArgs', + 'NodeGroupSpecArgs', + 'PeriodicModeBackupPolicyArgs', + 'PeriodicModePropertiesArgs', + 'PermissionArgs', + 'PrivateEndpointPropertyArgs', + 'PrivateLinkServiceConnectionStatePropertyArgs', + 'PrivilegeResourceArgs', + 'PrivilegeArgs', + 'ResourceRestoreParametersArgs', + 'RestoreParametersArgs', + 'RoleArgs', + 'SeedNodeArgs', + 'SpatialSpecArgs', + 'SqlContainerResourceArgs', + 'SqlDatabaseResourceArgs', + 'SqlStoredProcedureResourceArgs', + 'SqlTriggerResourceArgs', + 'SqlUserDefinedFunctionResourceArgs', + 'TableResourceArgs', + 'UniqueKeyPolicyArgs', + 'UniqueKeyArgs', + 'VirtualNetworkRuleArgs', +] + +@pulumi.input_type +class AnalyticalStorageConfigurationArgs: + def __init__(__self__, *, + schema_type: Optional[pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']]] = None): + """ + Analytical storage specific properties. + :param pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']] schema_type: Describes the types of schema for analytical storage. + """ + if schema_type is not None: + pulumi.set(__self__, "schema_type", schema_type) + + @property + @pulumi.getter(name="schemaType") + def schema_type(self) -> Optional[pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']]]: + """ + Describes the types of schema for analytical storage. + """ + return pulumi.get(self, "schema_type") + + @schema_type.setter + def schema_type(self, value: Optional[pulumi.Input[Union[str, 'AnalyticalStorageSchemaType']]]): + pulumi.set(self, "schema_type", value) + + +@pulumi.input_type +class ApiPropertiesArgs: + def __init__(__self__, *, + server_version: Optional[pulumi.Input[Union[str, 'ServerVersion']]] = None): + """ + :param pulumi.Input[Union[str, 'ServerVersion']] server_version: Describes the ServerVersion of an a MongoDB account. + """ + if server_version is not None: + pulumi.set(__self__, "server_version", server_version) + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> Optional[pulumi.Input[Union[str, 'ServerVersion']]]: + """ + Describes the ServerVersion of an a MongoDB account. + """ + return pulumi.get(self, "server_version") + + @server_version.setter + def server_version(self, value: Optional[pulumi.Input[Union[str, 'ServerVersion']]]): + pulumi.set(self, "server_version", value) + + +@pulumi.input_type +class AuthenticationMethodLdapPropertiesArgs: + def __init__(__self__, *, + connection_timeout_in_ms: Optional[pulumi.Input[int]] = None, + search_base_distinguished_name: Optional[pulumi.Input[str]] = None, + search_filter_template: Optional[pulumi.Input[str]] = None, + server_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]] = None, + server_hostname: Optional[pulumi.Input[str]] = None, + server_port: Optional[pulumi.Input[int]] = None, + service_user_distinguished_name: Optional[pulumi.Input[str]] = None, + service_user_password: Optional[pulumi.Input[str]] = None): + """ + Ldap authentication method properties. This feature is in preview. + :param pulumi.Input[int] connection_timeout_in_ms: Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + :param pulumi.Input[str] search_base_distinguished_name: Distinguished name of the object to start the recursive search of users from. + :param pulumi.Input[str] search_filter_template: Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + :param pulumi.Input[str] server_hostname: Hostname of the LDAP server. + :param pulumi.Input[int] server_port: Port of the LDAP server. + :param pulumi.Input[str] service_user_distinguished_name: Distinguished name of the look up user account, who can look up user details on authentication. + :param pulumi.Input[str] service_user_password: Password of the look up user. + """ + if connection_timeout_in_ms is not None: + pulumi.set(__self__, "connection_timeout_in_ms", connection_timeout_in_ms) + if search_base_distinguished_name is not None: + pulumi.set(__self__, "search_base_distinguished_name", search_base_distinguished_name) + if search_filter_template is not None: + pulumi.set(__self__, "search_filter_template", search_filter_template) + if server_certificates is not None: + pulumi.set(__self__, "server_certificates", server_certificates) + if server_hostname is not None: + pulumi.set(__self__, "server_hostname", server_hostname) + if server_port is not None: + pulumi.set(__self__, "server_port", server_port) + if service_user_distinguished_name is not None: + pulumi.set(__self__, "service_user_distinguished_name", service_user_distinguished_name) + if service_user_password is not None: + pulumi.set(__self__, "service_user_password", service_user_password) + + @property + @pulumi.getter(name="connectionTimeoutInMs") + def connection_timeout_in_ms(self) -> Optional[pulumi.Input[int]]: + """ + Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + """ + return pulumi.get(self, "connection_timeout_in_ms") + + @connection_timeout_in_ms.setter + def connection_timeout_in_ms(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "connection_timeout_in_ms", value) + + @property + @pulumi.getter(name="searchBaseDistinguishedName") + def search_base_distinguished_name(self) -> Optional[pulumi.Input[str]]: + """ + Distinguished name of the object to start the recursive search of users from. + """ + return pulumi.get(self, "search_base_distinguished_name") + + @search_base_distinguished_name.setter + def search_base_distinguished_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_base_distinguished_name", value) + + @property + @pulumi.getter(name="searchFilterTemplate") + def search_filter_template(self) -> Optional[pulumi.Input[str]]: + """ + Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + """ + return pulumi.get(self, "search_filter_template") + + @search_filter_template.setter + def search_filter_template(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_filter_template", value) + + @property + @pulumi.getter(name="serverCertificates") + def server_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]: + return pulumi.get(self, "server_certificates") + + @server_certificates.setter + def server_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]): + pulumi.set(self, "server_certificates", value) + + @property + @pulumi.getter(name="serverHostname") + def server_hostname(self) -> Optional[pulumi.Input[str]]: + """ + Hostname of the LDAP server. + """ + return pulumi.get(self, "server_hostname") + + @server_hostname.setter + def server_hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "server_hostname", value) + + @property + @pulumi.getter(name="serverPort") + def server_port(self) -> Optional[pulumi.Input[int]]: + """ + Port of the LDAP server. + """ + return pulumi.get(self, "server_port") + + @server_port.setter + def server_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "server_port", value) + + @property + @pulumi.getter(name="serviceUserDistinguishedName") + def service_user_distinguished_name(self) -> Optional[pulumi.Input[str]]: + """ + Distinguished name of the look up user account, who can look up user details on authentication. + """ + return pulumi.get(self, "service_user_distinguished_name") + + @service_user_distinguished_name.setter + def service_user_distinguished_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_user_distinguished_name", value) + + @property + @pulumi.getter(name="serviceUserPassword") + def service_user_password(self) -> Optional[pulumi.Input[str]]: + """ + Password of the look up user. + """ + return pulumi.get(self, "service_user_password") + + @service_user_password.setter + def service_user_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_user_password", value) + + +@pulumi.input_type +class AutoscaleSettingsArgs: + def __init__(__self__, *, + max_throughput: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[int] max_throughput: Represents maximum throughput, the resource can scale up to. + """ + if max_throughput is not None: + pulumi.set(__self__, "max_throughput", max_throughput) + + @property + @pulumi.getter(name="maxThroughput") + def max_throughput(self) -> Optional[pulumi.Input[int]]: + """ + Represents maximum throughput, the resource can scale up to. + """ + return pulumi.get(self, "max_throughput") + + @max_throughput.setter + def max_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_throughput", value) + + +@pulumi.input_type +class BackupPolicyMigrationStateArgs: + def __init__(__self__, *, + start_time: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']]] = None, + target_type: Optional[pulumi.Input[Union[str, 'BackupPolicyType']]] = None): + """ + The object representing the state of the migration between the backup policies. + :param pulumi.Input[str] start_time: Time at which the backup policy migration started (ISO-8601 format). + :param pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']] status: Describes the status of migration between backup policy types. + :param pulumi.Input[Union[str, 'BackupPolicyType']] target_type: Describes the target backup policy type of the backup policy migration. + """ + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + if status is not None: + pulumi.set(__self__, "status", status) + if target_type is not None: + pulumi.set(__self__, "target_type", target_type) + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[pulumi.Input[str]]: + """ + Time at which the backup policy migration started (ISO-8601 format). + """ + return pulumi.get(self, "start_time") + + @start_time.setter + def start_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start_time", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']]]: + """ + Describes the status of migration between backup policy types. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'BackupPolicyMigrationStatus']]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="targetType") + def target_type(self) -> Optional[pulumi.Input[Union[str, 'BackupPolicyType']]]: + """ + Describes the target backup policy type of the backup policy migration. + """ + return pulumi.get(self, "target_type") + + @target_type.setter + def target_type(self, value: Optional[pulumi.Input[Union[str, 'BackupPolicyType']]]): + pulumi.set(self, "target_type", value) + + +@pulumi.input_type +class BackupScheduleArgs: + def __init__(__self__, *, + cron_expression: Optional[pulumi.Input[str]] = None, + retention_in_hours: Optional[pulumi.Input[int]] = None, + schedule_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] cron_expression: The cron expression that defines when you want to back up your data. + :param pulumi.Input[int] retention_in_hours: The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + :param pulumi.Input[str] schedule_name: The unique identifier of backup schedule. + """ + if cron_expression is not None: + pulumi.set(__self__, "cron_expression", cron_expression) + if retention_in_hours is not None: + pulumi.set(__self__, "retention_in_hours", retention_in_hours) + if schedule_name is not None: + pulumi.set(__self__, "schedule_name", schedule_name) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> Optional[pulumi.Input[str]]: + """ + The cron expression that defines when you want to back up your data. + """ + return pulumi.get(self, "cron_expression") + + @cron_expression.setter + def cron_expression(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cron_expression", value) + + @property + @pulumi.getter(name="retentionInHours") + def retention_in_hours(self) -> Optional[pulumi.Input[int]]: + """ + The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + """ + return pulumi.get(self, "retention_in_hours") + + @retention_in_hours.setter + def retention_in_hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "retention_in_hours", value) + + @property + @pulumi.getter(name="scheduleName") + def schedule_name(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier of backup schedule. + """ + return pulumi.get(self, "schedule_name") + + @schedule_name.setter + def schedule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schedule_name", value) + + +@pulumi.input_type +class CapabilityArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB capability object + :param pulumi.Input[str] name: Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class CapacityArgs: + def __init__(__self__, *, + total_throughput_limit: Optional[pulumi.Input[int]] = None): + """ + The object that represents all properties related to capacity enforcement on an account. + :param pulumi.Input[int] total_throughput_limit: The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + if total_throughput_limit is not None: + pulumi.set(__self__, "total_throughput_limit", total_throughput_limit) + + @property + @pulumi.getter(name="totalThroughputLimit") + def total_throughput_limit(self) -> Optional[pulumi.Input[int]]: + """ + The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + return pulumi.get(self, "total_throughput_limit") + + @total_throughput_limit.setter + def total_throughput_limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_throughput_limit", value) + + +@pulumi.input_type +class CassandraErrorArgs: + def __init__(__self__, *, + additional_error_info: Optional[pulumi.Input[str]] = None, + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] additional_error_info: Additional information about the error. + :param pulumi.Input[str] code: The code of error that occurred. + :param pulumi.Input[str] message: The message of the error. + :param pulumi.Input[str] target: The target resource of the error. + """ + if additional_error_info is not None: + pulumi.set(__self__, "additional_error_info", additional_error_info) + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalErrorInfo") + def additional_error_info(self) -> Optional[pulumi.Input[str]]: + """ + Additional information about the error. + """ + return pulumi.get(self, "additional_error_info") + + @additional_error_info.setter + def additional_error_info(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "additional_error_info", value) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + """ + The code of error that occurred. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + The message of the error. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def target(self) -> Optional[pulumi.Input[str]]: + """ + The target resource of the error. + """ + return pulumi.get(self, "target") + + @target.setter + def target(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target", value) + + +@pulumi.input_type +class CassandraKeyspaceResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB Cassandra keyspace resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Cassandra keyspace + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Cassandra keyspace + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class CassandraPartitionKeyArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB Cassandra table partition key + :param pulumi.Input[str] name: Name of the Cosmos DB Cassandra table partition key + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB Cassandra table partition key + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class CassandraSchemaArgs: + def __init__(__self__, *, + cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]]] = None, + columns: Optional[pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]]] = None, + partition_keys: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]]] = None): + """ + Cosmos DB Cassandra table schema + :param pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]] cluster_keys: List of cluster key. + :param pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]] columns: List of Cassandra table columns. + :param pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]] partition_keys: List of partition key. + """ + if cluster_keys is not None: + pulumi.set(__self__, "cluster_keys", cluster_keys) + if columns is not None: + pulumi.set(__self__, "columns", columns) + if partition_keys is not None: + pulumi.set(__self__, "partition_keys", partition_keys) + + @property + @pulumi.getter(name="clusterKeys") + def cluster_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]]]: + """ + List of cluster key. + """ + return pulumi.get(self, "cluster_keys") + + @cluster_keys.setter + def cluster_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterKeyArgs']]]]): + pulumi.set(self, "cluster_keys", value) + + @property + @pulumi.getter + def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]]]: + """ + List of Cassandra table columns. + """ + return pulumi.get(self, "columns") + + @columns.setter + def columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ColumnArgs']]]]): + pulumi.set(self, "columns", value) + + @property + @pulumi.getter(name="partitionKeys") + def partition_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]]]: + """ + List of partition key. + """ + return pulumi.get(self, "partition_keys") + + @partition_keys.setter + def partition_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraPartitionKeyArgs']]]]): + pulumi.set(self, "partition_keys", value) + + +@pulumi.input_type +class CassandraTableResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[int]] = None, + default_ttl: Optional[pulumi.Input[int]] = None, + schema: Optional[pulumi.Input['CassandraSchemaArgs']] = None): + """ + Cosmos DB Cassandra table resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Cassandra table + :param pulumi.Input[int] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input[int] default_ttl: Time to live of the Cosmos DB Cassandra table + :param pulumi.Input['CassandraSchemaArgs'] schema: Schema of the Cosmos DB Cassandra table + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if schema is not None: + pulumi.set(__self__, "schema", schema) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Time to live of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "default_ttl") + + @default_ttl.setter + def default_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_ttl", value) + + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input['CassandraSchemaArgs']]: + """ + Schema of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "schema") + + @schema.setter + def schema(self, value: Optional[pulumi.Input['CassandraSchemaArgs']]): + pulumi.set(self, "schema", value) + + +@pulumi.input_type +class CassandraViewResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + view_definition: pulumi.Input[str]): + """ + Cosmos DB Cassandra view resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Cassandra view + :param pulumi.Input[str] view_definition: View Definition of the Cosmos DB Cassandra view + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "view_definition", view_definition) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Cassandra view + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="viewDefinition") + def view_definition(self) -> pulumi.Input[str]: + """ + View Definition of the Cosmos DB Cassandra view + """ + return pulumi.get(self, "view_definition") + + @view_definition.setter + def view_definition(self, value: pulumi.Input[str]): + pulumi.set(self, "view_definition", value) + + +@pulumi.input_type +class CertificateArgs: + def __init__(__self__, *, + pem: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] pem: PEM formatted public key. + """ + if pem is not None: + pulumi.set(__self__, "pem", pem) + + @property + @pulumi.getter + def pem(self) -> Optional[pulumi.Input[str]]: + """ + PEM formatted public key. + """ + return pulumi.get(self, "pem") + + @pem.setter + def pem(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pem", value) + + +@pulumi.input_type +class ClientEncryptionIncludedPathArgs: + def __init__(__self__, *, + client_encryption_key_id: pulumi.Input[str], + encryption_algorithm: pulumi.Input[str], + encryption_type: pulumi.Input[str], + path: pulumi.Input[str]): + """ + . + :param pulumi.Input[str] client_encryption_key_id: The identifier of the Client Encryption Key to be used to encrypt the path. + :param pulumi.Input[str] encryption_algorithm: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + :param pulumi.Input[str] encryption_type: The type of encryption to be performed. Eg - Deterministic, Randomized. + :param pulumi.Input[str] path: Path that needs to be encrypted. + """ + pulumi.set(__self__, "client_encryption_key_id", client_encryption_key_id) + pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + pulumi.set(__self__, "encryption_type", encryption_type) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="clientEncryptionKeyId") + def client_encryption_key_id(self) -> pulumi.Input[str]: + """ + The identifier of the Client Encryption Key to be used to encrypt the path. + """ + return pulumi.get(self, "client_encryption_key_id") + + @client_encryption_key_id.setter + def client_encryption_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_encryption_key_id", value) + + @property + @pulumi.getter(name="encryptionAlgorithm") + def encryption_algorithm(self) -> pulumi.Input[str]: + """ + The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + """ + return pulumi.get(self, "encryption_algorithm") + + @encryption_algorithm.setter + def encryption_algorithm(self, value: pulumi.Input[str]): + pulumi.set(self, "encryption_algorithm", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> pulumi.Input[str]: + """ + The type of encryption to be performed. Eg - Deterministic, Randomized. + """ + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: pulumi.Input[str]): + pulumi.set(self, "encryption_type", value) + + @property + @pulumi.getter + def path(self) -> pulumi.Input[str]: + """ + Path that needs to be encrypted. + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: pulumi.Input[str]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class ClientEncryptionPolicyArgs: + def __init__(__self__, *, + included_paths: pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]], + policy_format_version: pulumi.Input[int]): + """ + Cosmos DB client encryption policy. + :param pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]] included_paths: Paths of the item that need encryption along with path-specific settings. + :param pulumi.Input[int] policy_format_version: Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + pulumi.set(__self__, "included_paths", included_paths) + pulumi.set(__self__, "policy_format_version", policy_format_version) + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]]: + """ + Paths of the item that need encryption along with path-specific settings. + """ + return pulumi.get(self, "included_paths") + + @included_paths.setter + def included_paths(self, value: pulumi.Input[Sequence[pulumi.Input['ClientEncryptionIncludedPathArgs']]]): + pulumi.set(self, "included_paths", value) + + @property + @pulumi.getter(name="policyFormatVersion") + def policy_format_version(self) -> pulumi.Input[int]: + """ + Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + return pulumi.get(self, "policy_format_version") + + @policy_format_version.setter + def policy_format_version(self, value: pulumi.Input[int]): + pulumi.set(self, "policy_format_version", value) + + +@pulumi.input_type +class ClusterKeyArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + order_by: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB Cassandra table cluster key + :param pulumi.Input[str] name: Name of the Cosmos DB Cassandra table cluster key + :param pulumi.Input[str] order_by: Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + if name is not None: + pulumi.set(__self__, "name", name) + if order_by is not None: + pulumi.set(__self__, "order_by", order_by) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB Cassandra table cluster key + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="orderBy") + def order_by(self) -> Optional[pulumi.Input[str]]: + """ + Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + return pulumi.get(self, "order_by") + + @order_by.setter + def order_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "order_by", value) + + +@pulumi.input_type +class ClusterResourcePropertiesArgs: + def __init__(__self__, *, + authentication_method: Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]] = None, + backup_schedules: Optional[pulumi.Input[Sequence[pulumi.Input['BackupScheduleArgs']]]] = None, + cassandra_audit_logging_enabled: Optional[pulumi.Input[bool]] = None, + cassandra_version: Optional[pulumi.Input[str]] = None, + client_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]] = None, + cluster_name_override: Optional[pulumi.Input[str]] = None, + cluster_type: Optional[pulumi.Input[Union[str, 'ClusterType']]] = None, + deallocated: Optional[pulumi.Input[bool]] = None, + delegated_management_subnet_id: Optional[pulumi.Input[str]] = None, + extensions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + external_gossip_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]] = None, + external_seed_nodes: Optional[pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]]] = None, + hours_between_backups: Optional[pulumi.Input[int]] = None, + initial_cassandra_admin_password: Optional[pulumi.Input[str]] = None, + prometheus_endpoint: Optional[pulumi.Input['SeedNodeArgs']] = None, + provision_error: Optional[pulumi.Input['CassandraErrorArgs']] = None, + provisioning_state: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]] = None, + repair_enabled: Optional[pulumi.Input[bool]] = None, + restore_from_backup_id: Optional[pulumi.Input[str]] = None): + """ + Properties of a managed Cassandra cluster. + :param pulumi.Input[Union[str, 'AuthenticationMethod']] authentication_method: Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + :param pulumi.Input[Sequence[pulumi.Input['BackupScheduleArgs']]] backup_schedules: List of backup schedules that define when you want to back up your data. + :param pulumi.Input[bool] cassandra_audit_logging_enabled: Whether Cassandra audit logging is enabled + :param pulumi.Input[str] cassandra_version: Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + :param pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]] client_certificates: List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + :param pulumi.Input[str] cluster_name_override: If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + :param pulumi.Input[Union[str, 'ClusterType']] cluster_type: Type of the cluster. If set to Production, some operations might not be permitted on cluster. + :param pulumi.Input[bool] deallocated: Whether the cluster and associated data centers has been deallocated. + :param pulumi.Input[str] delegated_management_subnet_id: Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + :param pulumi.Input[Sequence[pulumi.Input[str]]] extensions: Extensions to be added or updated on cluster. + :param pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]] external_gossip_certificates: List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + :param pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]] external_seed_nodes: List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + :param pulumi.Input[int] hours_between_backups: (Deprecated) Number of hours to wait between taking a backup of the cluster. + :param pulumi.Input[str] initial_cassandra_admin_password: Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + :param pulumi.Input['SeedNodeArgs'] prometheus_endpoint: Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + :param pulumi.Input['CassandraErrorArgs'] provision_error: Error related to resource provisioning. + :param pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']] provisioning_state: The status of the resource at the time the operation was called. + :param pulumi.Input[bool] repair_enabled: Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + :param pulumi.Input[str] restore_from_backup_id: To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + """ + if authentication_method is not None: + pulumi.set(__self__, "authentication_method", authentication_method) + if backup_schedules is not None: + pulumi.set(__self__, "backup_schedules", backup_schedules) + if cassandra_audit_logging_enabled is not None: + pulumi.set(__self__, "cassandra_audit_logging_enabled", cassandra_audit_logging_enabled) + if cassandra_version is not None: + pulumi.set(__self__, "cassandra_version", cassandra_version) + if client_certificates is not None: + pulumi.set(__self__, "client_certificates", client_certificates) + if cluster_name_override is not None: + pulumi.set(__self__, "cluster_name_override", cluster_name_override) + if cluster_type is not None: + pulumi.set(__self__, "cluster_type", cluster_type) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_management_subnet_id is not None: + pulumi.set(__self__, "delegated_management_subnet_id", delegated_management_subnet_id) + if extensions is not None: + pulumi.set(__self__, "extensions", extensions) + if external_gossip_certificates is not None: + pulumi.set(__self__, "external_gossip_certificates", external_gossip_certificates) + if external_seed_nodes is not None: + pulumi.set(__self__, "external_seed_nodes", external_seed_nodes) + if hours_between_backups is not None: + pulumi.set(__self__, "hours_between_backups", hours_between_backups) + if initial_cassandra_admin_password is not None: + pulumi.set(__self__, "initial_cassandra_admin_password", initial_cassandra_admin_password) + if prometheus_endpoint is not None: + pulumi.set(__self__, "prometheus_endpoint", prometheus_endpoint) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if repair_enabled is not None: + pulumi.set(__self__, "repair_enabled", repair_enabled) + if restore_from_backup_id is not None: + pulumi.set(__self__, "restore_from_backup_id", restore_from_backup_id) + + @property + @pulumi.getter(name="authenticationMethod") + def authentication_method(self) -> Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]]: + """ + Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + """ + return pulumi.get(self, "authentication_method") + + @authentication_method.setter + def authentication_method(self, value: Optional[pulumi.Input[Union[str, 'AuthenticationMethod']]]): + pulumi.set(self, "authentication_method", value) + + @property + @pulumi.getter(name="backupSchedules") + def backup_schedules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackupScheduleArgs']]]]: + """ + List of backup schedules that define when you want to back up your data. + """ + return pulumi.get(self, "backup_schedules") + + @backup_schedules.setter + def backup_schedules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BackupScheduleArgs']]]]): + pulumi.set(self, "backup_schedules", value) + + @property + @pulumi.getter(name="cassandraAuditLoggingEnabled") + def cassandra_audit_logging_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether Cassandra audit logging is enabled + """ + return pulumi.get(self, "cassandra_audit_logging_enabled") + + @cassandra_audit_logging_enabled.setter + def cassandra_audit_logging_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "cassandra_audit_logging_enabled", value) + + @property + @pulumi.getter(name="cassandraVersion") + def cassandra_version(self) -> Optional[pulumi.Input[str]]: + """ + Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + """ + return pulumi.get(self, "cassandra_version") + + @cassandra_version.setter + def cassandra_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cassandra_version", value) + + @property + @pulumi.getter(name="clientCertificates") + def client_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]: + """ + List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + """ + return pulumi.get(self, "client_certificates") + + @client_certificates.setter + def client_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]): + pulumi.set(self, "client_certificates", value) + + @property + @pulumi.getter(name="clusterNameOverride") + def cluster_name_override(self) -> Optional[pulumi.Input[str]]: + """ + If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + """ + return pulumi.get(self, "cluster_name_override") + + @cluster_name_override.setter + def cluster_name_override(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name_override", value) + + @property + @pulumi.getter(name="clusterType") + def cluster_type(self) -> Optional[pulumi.Input[Union[str, 'ClusterType']]]: + """ + Type of the cluster. If set to Production, some operations might not be permitted on cluster. + """ + return pulumi.get(self, "cluster_type") + + @cluster_type.setter + def cluster_type(self, value: Optional[pulumi.Input[Union[str, 'ClusterType']]]): + pulumi.set(self, "cluster_type", value) + + @property + @pulumi.getter + def deallocated(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the cluster and associated data centers has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @deallocated.setter + def deallocated(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deallocated", value) + + @property + @pulumi.getter(name="delegatedManagementSubnetId") + def delegated_management_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + """ + return pulumi.get(self, "delegated_management_subnet_id") + + @delegated_management_subnet_id.setter + def delegated_management_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delegated_management_subnet_id", value) + + @property + @pulumi.getter + def extensions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Extensions to be added or updated on cluster. + """ + return pulumi.get(self, "extensions") + + @extensions.setter + def extensions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extensions", value) + + @property + @pulumi.getter(name="externalGossipCertificates") + def external_gossip_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]: + """ + List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + """ + return pulumi.get(self, "external_gossip_certificates") + + @external_gossip_certificates.setter + def external_gossip_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateArgs']]]]): + pulumi.set(self, "external_gossip_certificates", value) + + @property + @pulumi.getter(name="externalSeedNodes") + def external_seed_nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]]]: + """ + List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + """ + return pulumi.get(self, "external_seed_nodes") + + @external_seed_nodes.setter + def external_seed_nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SeedNodeArgs']]]]): + pulumi.set(self, "external_seed_nodes", value) + + @property + @pulumi.getter(name="hoursBetweenBackups") + def hours_between_backups(self) -> Optional[pulumi.Input[int]]: + """ + (Deprecated) Number of hours to wait between taking a backup of the cluster. + """ + return pulumi.get(self, "hours_between_backups") + + @hours_between_backups.setter + def hours_between_backups(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "hours_between_backups", value) + + @property + @pulumi.getter(name="initialCassandraAdminPassword") + def initial_cassandra_admin_password(self) -> Optional[pulumi.Input[str]]: + """ + Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. + """ + return pulumi.get(self, "initial_cassandra_admin_password") + + @initial_cassandra_admin_password.setter + def initial_cassandra_admin_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "initial_cassandra_admin_password", value) + + @property + @pulumi.getter(name="prometheusEndpoint") + def prometheus_endpoint(self) -> Optional[pulumi.Input['SeedNodeArgs']]: + """ + Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + """ + return pulumi.get(self, "prometheus_endpoint") + + @prometheus_endpoint.setter + def prometheus_endpoint(self, value: Optional[pulumi.Input['SeedNodeArgs']]): + pulumi.set(self, "prometheus_endpoint", value) + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional[pulumi.Input['CassandraErrorArgs']]: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @provision_error.setter + def provision_error(self, value: Optional[pulumi.Input['CassandraErrorArgs']]): + pulumi.set(self, "provision_error", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]): + pulumi.set(self, "provisioning_state", value) + + @property + @pulumi.getter(name="repairEnabled") + def repair_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + """ + return pulumi.get(self, "repair_enabled") + + @repair_enabled.setter + def repair_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "repair_enabled", value) + + @property + @pulumi.getter(name="restoreFromBackupId") + def restore_from_backup_id(self) -> Optional[pulumi.Input[str]]: + """ + To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. + """ + return pulumi.get(self, "restore_from_backup_id") + + @restore_from_backup_id.setter + def restore_from_backup_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_from_backup_id", value) + + +@pulumi.input_type +class ColumnArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB Cassandra table column + :param pulumi.Input[str] name: Name of the Cosmos DB Cassandra table column + :param pulumi.Input[str] type: Type of the Cosmos DB Cassandra table column + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Type of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class CompositePathArgs: + def __init__(__self__, *, + order: Optional[pulumi.Input[Union[str, 'CompositePathSortOrder']]] = None, + path: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Union[str, 'CompositePathSortOrder']] order: Sort order for composite paths. + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if order is not None: + pulumi.set(__self__, "order", order) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def order(self) -> Optional[pulumi.Input[Union[str, 'CompositePathSortOrder']]]: + """ + Sort order for composite paths. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: Optional[pulumi.Input[Union[str, 'CompositePathSortOrder']]]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class ConflictResolutionPolicyArgs: + def __init__(__self__, *, + conflict_resolution_path: Optional[pulumi.Input[str]] = None, + conflict_resolution_procedure: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[Union[str, 'ConflictResolutionMode']]] = None): + """ + The conflict resolution policy for the container. + :param pulumi.Input[str] conflict_resolution_path: The conflict resolution path in the case of LastWriterWins mode. + :param pulumi.Input[str] conflict_resolution_procedure: The procedure to resolve conflicts in the case of custom mode. + :param pulumi.Input[Union[str, 'ConflictResolutionMode']] mode: Indicates the conflict resolution mode. + """ + if conflict_resolution_path is not None: + pulumi.set(__self__, "conflict_resolution_path", conflict_resolution_path) + if conflict_resolution_procedure is not None: + pulumi.set(__self__, "conflict_resolution_procedure", conflict_resolution_procedure) + if mode is None: + mode = 'LastWriterWins' + if mode is not None: + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter(name="conflictResolutionPath") + def conflict_resolution_path(self) -> Optional[pulumi.Input[str]]: + """ + The conflict resolution path in the case of LastWriterWins mode. + """ + return pulumi.get(self, "conflict_resolution_path") + + @conflict_resolution_path.setter + def conflict_resolution_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "conflict_resolution_path", value) + + @property + @pulumi.getter(name="conflictResolutionProcedure") + def conflict_resolution_procedure(self) -> Optional[pulumi.Input[str]]: + """ + The procedure to resolve conflicts in the case of custom mode. + """ + return pulumi.get(self, "conflict_resolution_procedure") + + @conflict_resolution_procedure.setter + def conflict_resolution_procedure(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "conflict_resolution_procedure", value) + + @property + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[Union[str, 'ConflictResolutionMode']]]: + """ + Indicates the conflict resolution mode. + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: Optional[pulumi.Input[Union[str, 'ConflictResolutionMode']]]): + pulumi.set(self, "mode", value) + + +@pulumi.input_type +class ConsistencyPolicyArgs: + def __init__(__self__, *, + default_consistency_level: pulumi.Input['DefaultConsistencyLevel'], + max_interval_in_seconds: Optional[pulumi.Input[int]] = None, + max_staleness_prefix: Optional[pulumi.Input[float]] = None): + """ + The consistency policy for the Cosmos DB database account. + :param pulumi.Input['DefaultConsistencyLevel'] default_consistency_level: The default consistency level and configuration settings of the Cosmos DB account. + :param pulumi.Input[int] max_interval_in_seconds: When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + :param pulumi.Input[float] max_staleness_prefix: When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + pulumi.set(__self__, "default_consistency_level", default_consistency_level) + if max_interval_in_seconds is not None: + pulumi.set(__self__, "max_interval_in_seconds", max_interval_in_seconds) + if max_staleness_prefix is not None: + pulumi.set(__self__, "max_staleness_prefix", max_staleness_prefix) + + @property + @pulumi.getter(name="defaultConsistencyLevel") + def default_consistency_level(self) -> pulumi.Input['DefaultConsistencyLevel']: + """ + The default consistency level and configuration settings of the Cosmos DB account. + """ + return pulumi.get(self, "default_consistency_level") + + @default_consistency_level.setter + def default_consistency_level(self, value: pulumi.Input['DefaultConsistencyLevel']): + pulumi.set(self, "default_consistency_level", value) + + @property + @pulumi.getter(name="maxIntervalInSeconds") + def max_interval_in_seconds(self) -> Optional[pulumi.Input[int]]: + """ + When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_interval_in_seconds") + + @max_interval_in_seconds.setter + def max_interval_in_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_interval_in_seconds", value) + + @property + @pulumi.getter(name="maxStalenessPrefix") + def max_staleness_prefix(self) -> Optional[pulumi.Input[float]]: + """ + When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_staleness_prefix") + + @max_staleness_prefix.setter + def max_staleness_prefix(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_staleness_prefix", value) + + +@pulumi.input_type +class ContainerPartitionKeyArgs: + def __init__(__self__, *, + kind: Optional[pulumi.Input[Union[str, 'PartitionKind']]] = None, + paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[int]] = None): + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + :param pulumi.Input[Union[str, 'PartitionKind']] kind: Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + :param pulumi.Input[Sequence[pulumi.Input[str]]] paths: List of paths using which data within the container can be partitioned + :param pulumi.Input[int] version: Indicates the version of the partition key definition + """ + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if paths is not None: + pulumi.set(__self__, "paths", paths) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'PartitionKind']]]: + """ + Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'PartitionKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of paths using which data within the container can be partitioned + """ + return pulumi.get(self, "paths") + + @paths.setter + def paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "paths", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[int]]: + """ + Indicates the version of the partition key definition + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "version", value) + + +@pulumi.input_type +class ContinuousModeBackupPolicyArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + continuous_mode_properties: Optional[pulumi.Input['ContinuousModePropertiesArgs']] = None, + migration_state: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']] = None): + """ + The object representing continuous mode backup policy. + :param pulumi.Input[str] type: Describes the mode of backups. + Expected value is 'Continuous'. + :param pulumi.Input['ContinuousModePropertiesArgs'] continuous_mode_properties: Configuration values for continuous mode backup + :param pulumi.Input['BackupPolicyMigrationStateArgs'] migration_state: The object representing the state of the migration between the backup policies. + """ + pulumi.set(__self__, "type", 'Continuous') + if continuous_mode_properties is not None: + pulumi.set(__self__, "continuous_mode_properties", continuous_mode_properties) + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Describes the mode of backups. + Expected value is 'Continuous'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="continuousModeProperties") + def continuous_mode_properties(self) -> Optional[pulumi.Input['ContinuousModePropertiesArgs']]: + """ + Configuration values for continuous mode backup + """ + return pulumi.get(self, "continuous_mode_properties") + + @continuous_mode_properties.setter + def continuous_mode_properties(self, value: Optional[pulumi.Input['ContinuousModePropertiesArgs']]): + pulumi.set(self, "continuous_mode_properties", value) + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + @migration_state.setter + def migration_state(self, value: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]): + pulumi.set(self, "migration_state", value) + + +@pulumi.input_type +class ContinuousModePropertiesArgs: + def __init__(__self__, *, + tier: Optional[pulumi.Input[Union[str, 'ContinuousTier']]] = None): + """ + Configuration values for periodic mode backup + :param pulumi.Input[Union[str, 'ContinuousTier']] tier: Enum to indicate type of Continuos backup mode + """ + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input[Union[str, 'ContinuousTier']]]: + """ + Enum to indicate type of Continuos backup mode + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input[Union[str, 'ContinuousTier']]]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class CorsPolicyArgs: + def __init__(__self__, *, + allowed_origins: pulumi.Input[str], + allowed_headers: Optional[pulumi.Input[str]] = None, + allowed_methods: Optional[pulumi.Input[str]] = None, + exposed_headers: Optional[pulumi.Input[str]] = None, + max_age_in_seconds: Optional[pulumi.Input[float]] = None): + """ + The CORS policy for the Cosmos DB database account. + :param pulumi.Input[str] allowed_origins: The origin domains that are permitted to make a request against the service via CORS. + :param pulumi.Input[str] allowed_headers: The request headers that the origin domain may specify on the CORS request. + :param pulumi.Input[str] allowed_methods: The methods (HTTP request verbs) that the origin domain may use for a CORS request. + :param pulumi.Input[str] exposed_headers: The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + :param pulumi.Input[float] max_age_in_seconds: The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + pulumi.set(__self__, "allowed_origins", allowed_origins) + if allowed_headers is not None: + pulumi.set(__self__, "allowed_headers", allowed_headers) + if allowed_methods is not None: + pulumi.set(__self__, "allowed_methods", allowed_methods) + if exposed_headers is not None: + pulumi.set(__self__, "exposed_headers", exposed_headers) + if max_age_in_seconds is not None: + pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + + @property + @pulumi.getter(name="allowedOrigins") + def allowed_origins(self) -> pulumi.Input[str]: + """ + The origin domains that are permitted to make a request against the service via CORS. + """ + return pulumi.get(self, "allowed_origins") + + @allowed_origins.setter + def allowed_origins(self, value: pulumi.Input[str]): + pulumi.set(self, "allowed_origins", value) + + @property + @pulumi.getter(name="allowedHeaders") + def allowed_headers(self) -> Optional[pulumi.Input[str]]: + """ + The request headers that the origin domain may specify on the CORS request. + """ + return pulumi.get(self, "allowed_headers") + + @allowed_headers.setter + def allowed_headers(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "allowed_headers", value) + + @property + @pulumi.getter(name="allowedMethods") + def allowed_methods(self) -> Optional[pulumi.Input[str]]: + """ + The methods (HTTP request verbs) that the origin domain may use for a CORS request. + """ + return pulumi.get(self, "allowed_methods") + + @allowed_methods.setter + def allowed_methods(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "allowed_methods", value) + + @property + @pulumi.getter(name="exposedHeaders") + def exposed_headers(self) -> Optional[pulumi.Input[str]]: + """ + The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + """ + return pulumi.get(self, "exposed_headers") + + @exposed_headers.setter + def exposed_headers(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "exposed_headers", value) + + @property + @pulumi.getter(name="maxAgeInSeconds") + def max_age_in_seconds(self) -> Optional[pulumi.Input[float]]: + """ + The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + return pulumi.get(self, "max_age_in_seconds") + + @max_age_in_seconds.setter + def max_age_in_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_age_in_seconds", value) + + +@pulumi.input_type +class CreateUpdateOptionsArgs: + def __init__(__self__, *, + autoscale_settings: Optional[pulumi.Input['AutoscaleSettingsArgs']] = None, + throughput: Optional[pulumi.Input[int]] = None): + """ + CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" + :param pulumi.Input['AutoscaleSettingsArgs'] autoscale_settings: Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. + :param pulumi.Input[int] throughput: Request Units per second. For example, "throughput": 10000. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional[pulumi.Input['AutoscaleSettingsArgs']]: + """ + Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. + """ + return pulumi.get(self, "autoscale_settings") + + @autoscale_settings.setter + def autoscale_settings(self, value: Optional[pulumi.Input['AutoscaleSettingsArgs']]): + pulumi.set(self, "autoscale_settings", value) + + @property + @pulumi.getter + def throughput(self) -> Optional[pulumi.Input[int]]: + """ + Request Units per second. For example, "throughput": 10000. + """ + return pulumi.get(self, "throughput") + + @throughput.setter + def throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "throughput", value) + + +@pulumi.input_type +class DataCenterResourcePropertiesArgs: + def __init__(__self__, *, + authentication_method_ldap_properties: Optional[pulumi.Input['AuthenticationMethodLdapPropertiesArgs']] = None, + availability_zone: Optional[pulumi.Input[bool]] = None, + backup_storage_customer_key_uri: Optional[pulumi.Input[str]] = None, + base64_encoded_cassandra_yaml_fragment: Optional[pulumi.Input[str]] = None, + data_center_location: Optional[pulumi.Input[str]] = None, + deallocated: Optional[pulumi.Input[bool]] = None, + delegated_subnet_id: Optional[pulumi.Input[str]] = None, + disk_capacity: Optional[pulumi.Input[int]] = None, + disk_sku: Optional[pulumi.Input[str]] = None, + managed_disk_customer_key_uri: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + provision_error: Optional[pulumi.Input['CassandraErrorArgs']] = None, + provisioning_state: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]] = None, + sku: Optional[pulumi.Input[str]] = None): + """ + Properties of a managed Cassandra data center. + :param pulumi.Input['AuthenticationMethodLdapPropertiesArgs'] authentication_method_ldap_properties: Ldap authentication method properties. This feature is in preview. + :param pulumi.Input[bool] availability_zone: If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + :param pulumi.Input[str] backup_storage_customer_key_uri: Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + :param pulumi.Input[str] base64_encoded_cassandra_yaml_fragment: A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + :param pulumi.Input[str] data_center_location: The region this data center should be created in. + :param pulumi.Input[bool] deallocated: Whether the data center has been deallocated. + :param pulumi.Input[str] delegated_subnet_id: Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + :param pulumi.Input[int] disk_capacity: Number of disks attached to each node. Default is 4. + :param pulumi.Input[str] disk_sku: Disk SKU used for data centers. Default value is P30. + :param pulumi.Input[str] managed_disk_customer_key_uri: Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + :param pulumi.Input[int] node_count: The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + :param pulumi.Input['CassandraErrorArgs'] provision_error: Error related to resource provisioning. + :param pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']] provisioning_state: The status of the resource at the time the operation was called. + :param pulumi.Input[str] sku: Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + if authentication_method_ldap_properties is not None: + pulumi.set(__self__, "authentication_method_ldap_properties", authentication_method_ldap_properties) + if availability_zone is not None: + pulumi.set(__self__, "availability_zone", availability_zone) + if backup_storage_customer_key_uri is not None: + pulumi.set(__self__, "backup_storage_customer_key_uri", backup_storage_customer_key_uri) + if base64_encoded_cassandra_yaml_fragment is not None: + pulumi.set(__self__, "base64_encoded_cassandra_yaml_fragment", base64_encoded_cassandra_yaml_fragment) + if data_center_location is not None: + pulumi.set(__self__, "data_center_location", data_center_location) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_subnet_id is not None: + pulumi.set(__self__, "delegated_subnet_id", delegated_subnet_id) + if disk_capacity is not None: + pulumi.set(__self__, "disk_capacity", disk_capacity) + if disk_sku is not None: + pulumi.set(__self__, "disk_sku", disk_sku) + if managed_disk_customer_key_uri is not None: + pulumi.set(__self__, "managed_disk_customer_key_uri", managed_disk_customer_key_uri) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if sku is not None: + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter(name="authenticationMethodLdapProperties") + def authentication_method_ldap_properties(self) -> Optional[pulumi.Input['AuthenticationMethodLdapPropertiesArgs']]: + """ + Ldap authentication method properties. This feature is in preview. + """ + return pulumi.get(self, "authentication_method_ldap_properties") + + @authentication_method_ldap_properties.setter + def authentication_method_ldap_properties(self, value: Optional[pulumi.Input['AuthenticationMethodLdapPropertiesArgs']]): + pulumi.set(self, "authentication_method_ldap_properties", value) + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> Optional[pulumi.Input[bool]]: + """ + If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + """ + return pulumi.get(self, "availability_zone") + + @availability_zone.setter + def availability_zone(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "availability_zone", value) + + @property + @pulumi.getter(name="backupStorageCustomerKeyUri") + def backup_storage_customer_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + """ + return pulumi.get(self, "backup_storage_customer_key_uri") + + @backup_storage_customer_key_uri.setter + def backup_storage_customer_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "backup_storage_customer_key_uri", value) + + @property + @pulumi.getter(name="base64EncodedCassandraYamlFragment") + def base64_encoded_cassandra_yaml_fragment(self) -> Optional[pulumi.Input[str]]: + """ + A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + """ + return pulumi.get(self, "base64_encoded_cassandra_yaml_fragment") + + @base64_encoded_cassandra_yaml_fragment.setter + def base64_encoded_cassandra_yaml_fragment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "base64_encoded_cassandra_yaml_fragment", value) + + @property + @pulumi.getter(name="dataCenterLocation") + def data_center_location(self) -> Optional[pulumi.Input[str]]: + """ + The region this data center should be created in. + """ + return pulumi.get(self, "data_center_location") + + @data_center_location.setter + def data_center_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_center_location", value) + + @property + @pulumi.getter + def deallocated(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the data center has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @deallocated.setter + def deallocated(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deallocated", value) + + @property + @pulumi.getter(name="delegatedSubnetId") + def delegated_subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + """ + return pulumi.get(self, "delegated_subnet_id") + + @delegated_subnet_id.setter + def delegated_subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "delegated_subnet_id", value) + + @property + @pulumi.getter(name="diskCapacity") + def disk_capacity(self) -> Optional[pulumi.Input[int]]: + """ + Number of disks attached to each node. Default is 4. + """ + return pulumi.get(self, "disk_capacity") + + @disk_capacity.setter + def disk_capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "disk_capacity", value) + + @property + @pulumi.getter(name="diskSku") + def disk_sku(self) -> Optional[pulumi.Input[str]]: + """ + Disk SKU used for data centers. Default value is P30. + """ + return pulumi.get(self, "disk_sku") + + @disk_sku.setter + def disk_sku(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disk_sku", value) + + @property + @pulumi.getter(name="managedDiskCustomerKeyUri") + def managed_disk_customer_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + """ + return pulumi.get(self, "managed_disk_customer_key_uri") + + @managed_disk_customer_key_uri.setter + def managed_disk_customer_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_disk_customer_key_uri", value) + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + """ + return pulumi.get(self, "node_count") + + @node_count.setter + def node_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "node_count", value) + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional[pulumi.Input['CassandraErrorArgs']]: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @provision_error.setter + def provision_error(self, value: Optional[pulumi.Input['CassandraErrorArgs']]): + pulumi.set(self, "provision_error", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[Union[str, 'ManagedCassandraProvisioningState']]]): + pulumi.set(self, "provisioning_state", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input[str]]: + """ + Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sku", value) + + +@pulumi.input_type +class DatabaseRestoreResourceArgs: + def __init__(__self__, *, + collection_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + database_name: Optional[pulumi.Input[str]] = None): + """ + Specific Databases to restore. + :param pulumi.Input[Sequence[pulumi.Input[str]]] collection_names: The names of the collections available for restore. + :param pulumi.Input[str] database_name: The name of the database available for restore. + """ + if collection_names is not None: + pulumi.set(__self__, "collection_names", collection_names) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + + @property + @pulumi.getter(name="collectionNames") + def collection_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The names of the collections available for restore. + """ + return pulumi.get(self, "collection_names") + + @collection_names.setter + def collection_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "collection_names", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the database available for restore. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + +@pulumi.input_type +class DiagnosticLogSettingsArgs: + def __init__(__self__, *, + enable_full_text_query: Optional[pulumi.Input['EnableFullTextQuery']] = None): + """ + Indicates what diagnostic log settings are to be enabled. + :param pulumi.Input['EnableFullTextQuery'] enable_full_text_query: Describe the level of detail with which queries are to be logged. + """ + if enable_full_text_query is not None: + pulumi.set(__self__, "enable_full_text_query", enable_full_text_query) + + @property + @pulumi.getter(name="enableFullTextQuery") + def enable_full_text_query(self) -> Optional[pulumi.Input['EnableFullTextQuery']]: + """ + Describe the level of detail with which queries are to be logged. + """ + return pulumi.get(self, "enable_full_text_query") + + @enable_full_text_query.setter + def enable_full_text_query(self, value: Optional[pulumi.Input['EnableFullTextQuery']]): + pulumi.set(self, "enable_full_text_query", value) + + +@pulumi.input_type +class ExcludedPathArgs: + def __init__(__self__, *, + path: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class GraphResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): + """ + Cosmos DB Graph resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Graph + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Graph + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class GremlinDatabaseResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None): + """ + Cosmos DB Gremlin database resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Gremlin database + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "id", id) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Gremlin database + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + +@pulumi.input_type +class GremlinDatabaseRestoreResourceArgs: + def __init__(__self__, *, + database_name: Optional[pulumi.Input[str]] = None, + graph_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Specific Gremlin Databases to restore. + :param pulumi.Input[str] database_name: The name of the gremlin database available for restore. + :param pulumi.Input[Sequence[pulumi.Input[str]]] graph_names: The names of the graphs available for restore. + """ + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if graph_names is not None: + pulumi.set(__self__, "graph_names", graph_names) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the gremlin database available for restore. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="graphNames") + def graph_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The names of the graphs available for restore. + """ + return pulumi.get(self, "graph_names") + + @graph_names.setter + def graph_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "graph_names", value) + + +@pulumi.input_type +class GremlinGraphResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[float]] = None, + conflict_resolution_policy: Optional[pulumi.Input['ConflictResolutionPolicyArgs']] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + default_ttl: Optional[pulumi.Input[int]] = None, + indexing_policy: Optional[pulumi.Input['IndexingPolicyArgs']] = None, + partition_key: Optional[pulumi.Input['ContainerPartitionKeyArgs']] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None, + unique_key_policy: Optional[pulumi.Input['UniqueKeyPolicyArgs']] = None): + """ + Cosmos DB Gremlin graph resource object + :param pulumi.Input[str] id: Name of the Cosmos DB Gremlin graph + :param pulumi.Input[float] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input['ConflictResolutionPolicyArgs'] conflict_resolution_policy: The conflict resolution policy for the graph. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input[int] default_ttl: Default time to live + :param pulumi.Input['IndexingPolicyArgs'] indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + :param pulumi.Input['ContainerPartitionKeyArgs'] partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + :param pulumi.Input['UniqueKeyPolicyArgs'] unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB Gremlin graph + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[float]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional[pulumi.Input['ConflictResolutionPolicyArgs']]: + """ + The conflict resolution policy for the graph. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @conflict_resolution_policy.setter + def conflict_resolution_policy(self, value: Optional[pulumi.Input['ConflictResolutionPolicyArgs']]): + pulumi.set(self, "conflict_resolution_policy", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @default_ttl.setter + def default_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_ttl", value) + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional[pulumi.Input['IndexingPolicyArgs']]: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + """ + return pulumi.get(self, "indexing_policy") + + @indexing_policy.setter + def indexing_policy(self, value: Optional[pulumi.Input['IndexingPolicyArgs']]): + pulumi.set(self, "indexing_policy", value) + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional[pulumi.Input['ContainerPartitionKeyArgs']]: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @partition_key.setter + def partition_key(self, value: Optional[pulumi.Input['ContainerPartitionKeyArgs']]): + pulumi.set(self, "partition_key", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional[pulumi.Input['UniqueKeyPolicyArgs']]: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + @unique_key_policy.setter + def unique_key_policy(self, value: Optional[pulumi.Input['UniqueKeyPolicyArgs']]): + pulumi.set(self, "unique_key_policy", value) + + +@pulumi.input_type +class IncludedPathArgs: + def __init__(__self__, *, + indexes: Optional[pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]]] = None, + path: Optional[pulumi.Input[str]] = None): + """ + The paths that are included in indexing + :param pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]] indexes: List of indexes for this path + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]]]: + """ + List of indexes for this path + """ + return pulumi.get(self, "indexes") + + @indexes.setter + def indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IndexesArgs']]]]): + pulumi.set(self, "indexes", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +@pulumi.input_type +class IndexesArgs: + def __init__(__self__, *, + data_type: Optional[pulumi.Input[Union[str, 'DataType']]] = None, + kind: Optional[pulumi.Input[Union[str, 'IndexKind']]] = None, + precision: Optional[pulumi.Input[int]] = None): + """ + The indexes for the path. + :param pulumi.Input[Union[str, 'DataType']] data_type: The datatype for which the indexing behavior is applied to. + :param pulumi.Input[Union[str, 'IndexKind']] kind: Indicates the type of index. + :param pulumi.Input[int] precision: The precision of the index. -1 is maximum precision. + """ + if data_type is None: + data_type = 'String' + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if precision is not None: + pulumi.set(__self__, "precision", precision) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[pulumi.Input[Union[str, 'DataType']]]: + """ + The datatype for which the indexing behavior is applied to. + """ + return pulumi.get(self, "data_type") + + @data_type.setter + def data_type(self, value: Optional[pulumi.Input[Union[str, 'DataType']]]): + pulumi.set(self, "data_type", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'IndexKind']]]: + """ + Indicates the type of index. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'IndexKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def precision(self) -> Optional[pulumi.Input[int]]: + """ + The precision of the index. -1 is maximum precision. + """ + return pulumi.get(self, "precision") + + @precision.setter + def precision(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "precision", value) + + +@pulumi.input_type +class IndexingPolicyArgs: + def __init__(__self__, *, + automatic: Optional[pulumi.Input[bool]] = None, + composite_indexes: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]]] = None, + excluded_paths: Optional[pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]]] = None, + included_paths: Optional[pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]]] = None, + indexing_mode: Optional[pulumi.Input[Union[str, 'IndexingMode']]] = None, + spatial_indexes: Optional[pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]]] = None): + """ + Cosmos DB indexing policy + :param pulumi.Input[bool] automatic: Indicates if the indexing policy is automatic + :param pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]] composite_indexes: List of composite path list + :param pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]] excluded_paths: List of paths to exclude from indexing + :param pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]] included_paths: List of paths to include in the indexing + :param pulumi.Input[Union[str, 'IndexingMode']] indexing_mode: Indicates the indexing mode. + :param pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]] spatial_indexes: List of spatial specifics + """ + if automatic is not None: + pulumi.set(__self__, "automatic", automatic) + if composite_indexes is not None: + pulumi.set(__self__, "composite_indexes", composite_indexes) + if excluded_paths is not None: + pulumi.set(__self__, "excluded_paths", excluded_paths) + if included_paths is not None: + pulumi.set(__self__, "included_paths", included_paths) + if indexing_mode is None: + indexing_mode = 'consistent' + if indexing_mode is not None: + pulumi.set(__self__, "indexing_mode", indexing_mode) + if spatial_indexes is not None: + pulumi.set(__self__, "spatial_indexes", spatial_indexes) + + @property + @pulumi.getter + def automatic(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates if the indexing policy is automatic + """ + return pulumi.get(self, "automatic") + + @automatic.setter + def automatic(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "automatic", value) + + @property + @pulumi.getter(name="compositeIndexes") + def composite_indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]]]: + """ + List of composite path list + """ + return pulumi.get(self, "composite_indexes") + + @composite_indexes.setter + def composite_indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input['CompositePathArgs']]]]]]): + pulumi.set(self, "composite_indexes", value) + + @property + @pulumi.getter(name="excludedPaths") + def excluded_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]]]: + """ + List of paths to exclude from indexing + """ + return pulumi.get(self, "excluded_paths") + + @excluded_paths.setter + def excluded_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ExcludedPathArgs']]]]): + pulumi.set(self, "excluded_paths", value) + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]]]: + """ + List of paths to include in the indexing + """ + return pulumi.get(self, "included_paths") + + @included_paths.setter + def included_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IncludedPathArgs']]]]): + pulumi.set(self, "included_paths", value) + + @property + @pulumi.getter(name="indexingMode") + def indexing_mode(self) -> Optional[pulumi.Input[Union[str, 'IndexingMode']]]: + """ + Indicates the indexing mode. + """ + return pulumi.get(self, "indexing_mode") + + @indexing_mode.setter + def indexing_mode(self, value: Optional[pulumi.Input[Union[str, 'IndexingMode']]]): + pulumi.set(self, "indexing_mode", value) + + @property + @pulumi.getter(name="spatialIndexes") + def spatial_indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]]]: + """ + List of spatial specifics + """ + return pulumi.get(self, "spatial_indexes") + + @spatial_indexes.setter + def spatial_indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpatialSpecArgs']]]]): + pulumi.set(self, "spatial_indexes", value) + + +@pulumi.input_type +class IpAddressOrRangeArgs: + def __init__(__self__, *, + ip_address_or_range: Optional[pulumi.Input[str]] = None): + """ + IpAddressOrRange object + :param pulumi.Input[str] ip_address_or_range: A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + if ip_address_or_range is not None: + pulumi.set(__self__, "ip_address_or_range", ip_address_or_range) + + @property + @pulumi.getter(name="ipAddressOrRange") + def ip_address_or_range(self) -> Optional[pulumi.Input[str]]: + """ + A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + return pulumi.get(self, "ip_address_or_range") + + @ip_address_or_range.setter + def ip_address_or_range(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address_or_range", value) + + +@pulumi.input_type +class LocationArgs: + def __init__(__self__, *, + failover_priority: Optional[pulumi.Input[int]] = None, + is_zone_redundant: Optional[pulumi.Input[bool]] = None, + location_name: Optional[pulumi.Input[str]] = None): + """ + A region in which the Azure Cosmos DB database account is deployed. + :param pulumi.Input[int] failover_priority: The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + :param pulumi.Input[bool] is_zone_redundant: Flag to indicate whether or not this region is an AvailabilityZone region + :param pulumi.Input[str] location_name: The name of the region. + """ + if failover_priority is not None: + pulumi.set(__self__, "failover_priority", failover_priority) + if is_zone_redundant is not None: + pulumi.set(__self__, "is_zone_redundant", is_zone_redundant) + if location_name is not None: + pulumi.set(__self__, "location_name", location_name) + + @property + @pulumi.getter(name="failoverPriority") + def failover_priority(self) -> Optional[pulumi.Input[int]]: + """ + The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + """ + return pulumi.get(self, "failover_priority") + + @failover_priority.setter + def failover_priority(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "failover_priority", value) + + @property + @pulumi.getter(name="isZoneRedundant") + def is_zone_redundant(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether or not this region is an AvailabilityZone region + """ + return pulumi.get(self, "is_zone_redundant") + + @is_zone_redundant.setter + def is_zone_redundant(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_zone_redundant", value) + + @property + @pulumi.getter(name="locationName") + def location_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the region. + """ + return pulumi.get(self, "location_name") + + @location_name.setter + def location_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location_name", value) + + +@pulumi.input_type +class ManagedCassandraManagedServiceIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']]] = None): + """ + Identity for the resource. + :param pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']] type: The type of the resource. + """ + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']]]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedCassandraResourceIdentityType']]]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class ManagedServiceIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input['ResourceIdentityType']] = None, + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity for the resource. + :param pulumi.Input['ResourceIdentityType'] type: The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['ResourceIdentityType']]: + """ + The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['ResourceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class MaterializedViewDefinitionArgs: + def __init__(__self__, *, + definition: pulumi.Input[str], + source_collection_id: pulumi.Input[str]): + """ + Materialized View definition for the container. + :param pulumi.Input[str] definition: The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + :param pulumi.Input[str] source_collection_id: The name of the source container on which the Materialized View will be created. + """ + pulumi.set(__self__, "definition", definition) + pulumi.set(__self__, "source_collection_id", source_collection_id) + + @property + @pulumi.getter + def definition(self) -> pulumi.Input[str]: + """ + The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + """ + return pulumi.get(self, "definition") + + @definition.setter + def definition(self, value: pulumi.Input[str]): + pulumi.set(self, "definition", value) + + @property + @pulumi.getter(name="sourceCollectionId") + def source_collection_id(self) -> pulumi.Input[str]: + """ + The name of the source container on which the Materialized View will be created. + """ + return pulumi.get(self, "source_collection_id") + + @source_collection_id.setter + def source_collection_id(self, value: pulumi.Input[str]): + pulumi.set(self, "source_collection_id", value) + + +@pulumi.input_type +class MongoClusterRestoreParametersArgs: + def __init__(__self__, *, + point_in_time_utc: Optional[pulumi.Input[str]] = None, + source_resource_id: Optional[pulumi.Input[str]] = None): + """ + Parameters used for restore operations + :param pulumi.Input[str] point_in_time_utc: UTC point in time to restore a mongo cluster + :param pulumi.Input[str] source_resource_id: Resource ID to locate the source cluster to restore + """ + if point_in_time_utc is not None: + pulumi.set(__self__, "point_in_time_utc", point_in_time_utc) + if source_resource_id is not None: + pulumi.set(__self__, "source_resource_id", source_resource_id) + + @property + @pulumi.getter(name="pointInTimeUTC") + def point_in_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + UTC point in time to restore a mongo cluster + """ + return pulumi.get(self, "point_in_time_utc") + + @point_in_time_utc.setter + def point_in_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "point_in_time_utc", value) + + @property + @pulumi.getter(name="sourceResourceId") + def source_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID to locate the source cluster to restore + """ + return pulumi.get(self, "source_resource_id") + + @source_resource_id.setter + def source_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_resource_id", value) + + +@pulumi.input_type +class MongoDBCollectionResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[int]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + indexes: Optional[pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]]] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None, + shard_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + Cosmos DB MongoDB collection resource object + :param pulumi.Input[str] id: Name of the Cosmos DB MongoDB collection + :param pulumi.Input[int] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]] indexes: List of index keys + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] shard_key: A key-value pair of shard keys to be applied for the request. + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if shard_key is not None: + pulumi.set(__self__, "shard_key", shard_key) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB MongoDB collection + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter + def indexes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]]]: + """ + List of index keys + """ + return pulumi.get(self, "indexes") + + @indexes.setter + def indexes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MongoIndexArgs']]]]): + pulumi.set(self, "indexes", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + @property + @pulumi.getter(name="shardKey") + def shard_key(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + A key-value pair of shard keys to be applied for the request. + """ + return pulumi.get(self, "shard_key") + + @shard_key.setter + def shard_key(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "shard_key", value) + + +@pulumi.input_type +class MongoDBDatabaseResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None): + """ + Cosmos DB MongoDB database resource object + :param pulumi.Input[str] id: Name of the Cosmos DB MongoDB database + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "id", id) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB MongoDB database + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + +@pulumi.input_type +class MongoIndexKeysArgs: + def __init__(__self__, *, + keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Cosmos DB MongoDB collection resource object + :param pulumi.Input[Sequence[pulumi.Input[str]]] keys: List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + if keys is not None: + pulumi.set(__self__, "keys", keys) + + @property + @pulumi.getter + def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + return pulumi.get(self, "keys") + + @keys.setter + def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "keys", value) + + +@pulumi.input_type +class MongoIndexOptionsArgs: + def __init__(__self__, *, + expire_after_seconds: Optional[pulumi.Input[int]] = None, + unique: Optional[pulumi.Input[bool]] = None): + """ + Cosmos DB MongoDB collection index options + :param pulumi.Input[int] expire_after_seconds: Expire after seconds + :param pulumi.Input[bool] unique: Is unique or not + """ + if expire_after_seconds is not None: + pulumi.set(__self__, "expire_after_seconds", expire_after_seconds) + if unique is not None: + pulumi.set(__self__, "unique", unique) + + @property + @pulumi.getter(name="expireAfterSeconds") + def expire_after_seconds(self) -> Optional[pulumi.Input[int]]: + """ + Expire after seconds + """ + return pulumi.get(self, "expire_after_seconds") + + @expire_after_seconds.setter + def expire_after_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "expire_after_seconds", value) + + @property + @pulumi.getter + def unique(self) -> Optional[pulumi.Input[bool]]: + """ + Is unique or not + """ + return pulumi.get(self, "unique") + + @unique.setter + def unique(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unique", value) + + +@pulumi.input_type +class MongoIndexArgs: + def __init__(__self__, *, + key: Optional[pulumi.Input['MongoIndexKeysArgs']] = None, + options: Optional[pulumi.Input['MongoIndexOptionsArgs']] = None): + """ + Cosmos DB MongoDB collection index key + :param pulumi.Input['MongoIndexKeysArgs'] key: Cosmos DB MongoDB collection index keys + :param pulumi.Input['MongoIndexOptionsArgs'] options: Cosmos DB MongoDB collection index key options + """ + if key is not None: + pulumi.set(__self__, "key", key) + if options is not None: + pulumi.set(__self__, "options", options) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input['MongoIndexKeysArgs']]: + """ + Cosmos DB MongoDB collection index keys + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input['MongoIndexKeysArgs']]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['MongoIndexOptionsArgs']]: + """ + Cosmos DB MongoDB collection index key options + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['MongoIndexOptionsArgs']]): + pulumi.set(self, "options", value) + + +@pulumi.input_type +class NodeGroupSpecArgs: + def __init__(__self__, *, + disk_size_gb: Optional[pulumi.Input[float]] = None, + enable_ha: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[Union[str, 'NodeKind']]] = None, + node_count: Optional[pulumi.Input[int]] = None, + sku: Optional[pulumi.Input[str]] = None): + """ + Specification for a node group. + :param pulumi.Input[float] disk_size_gb: The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + :param pulumi.Input[bool] enable_ha: Whether high availability is enabled on the node group. + :param pulumi.Input[Union[str, 'NodeKind']] kind: The node type deployed in the node group. + :param pulumi.Input[int] node_count: The number of nodes in the node group. + :param pulumi.Input[str] sku: The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + """ + if disk_size_gb is not None: + pulumi.set(__self__, "disk_size_gb", disk_size_gb) + if enable_ha is not None: + pulumi.set(__self__, "enable_ha", enable_ha) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if sku is not None: + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> Optional[pulumi.Input[float]]: + """ + The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + """ + return pulumi.get(self, "disk_size_gb") + + @disk_size_gb.setter + def disk_size_gb(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "disk_size_gb", value) + + @property + @pulumi.getter(name="enableHa") + def enable_ha(self) -> Optional[pulumi.Input[bool]]: + """ + Whether high availability is enabled on the node group. + """ + return pulumi.get(self, "enable_ha") + + @enable_ha.setter + def enable_ha(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_ha", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'NodeKind']]]: + """ + The node type deployed in the node group. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'NodeKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of nodes in the node group. + """ + return pulumi.get(self, "node_count") + + @node_count.setter + def node_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "node_count", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input[str]]: + """ + The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sku", value) + + +@pulumi.input_type +class PeriodicModeBackupPolicyArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + migration_state: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']] = None, + periodic_mode_properties: Optional[pulumi.Input['PeriodicModePropertiesArgs']] = None): + """ + The object representing periodic mode backup policy. + :param pulumi.Input[str] type: Describes the mode of backups. + Expected value is 'Periodic'. + :param pulumi.Input['BackupPolicyMigrationStateArgs'] migration_state: The object representing the state of the migration between the backup policies. + :param pulumi.Input['PeriodicModePropertiesArgs'] periodic_mode_properties: Configuration values for periodic mode backup + """ + pulumi.set(__self__, "type", 'Periodic') + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + if periodic_mode_properties is not None: + pulumi.set(__self__, "periodic_mode_properties", periodic_mode_properties) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Describes the mode of backups. + Expected value is 'Periodic'. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + @migration_state.setter + def migration_state(self, value: Optional[pulumi.Input['BackupPolicyMigrationStateArgs']]): + pulumi.set(self, "migration_state", value) + + @property + @pulumi.getter(name="periodicModeProperties") + def periodic_mode_properties(self) -> Optional[pulumi.Input['PeriodicModePropertiesArgs']]: + """ + Configuration values for periodic mode backup + """ + return pulumi.get(self, "periodic_mode_properties") + + @periodic_mode_properties.setter + def periodic_mode_properties(self, value: Optional[pulumi.Input['PeriodicModePropertiesArgs']]): + pulumi.set(self, "periodic_mode_properties", value) + + +@pulumi.input_type +class PeriodicModePropertiesArgs: + def __init__(__self__, *, + backup_interval_in_minutes: Optional[pulumi.Input[int]] = None, + backup_retention_interval_in_hours: Optional[pulumi.Input[int]] = None, + backup_storage_redundancy: Optional[pulumi.Input[Union[str, 'BackupStorageRedundancy']]] = None): + """ + Configuration values for periodic mode backup + :param pulumi.Input[int] backup_interval_in_minutes: An integer representing the interval in minutes between two backups + :param pulumi.Input[int] backup_retention_interval_in_hours: An integer representing the time (in hours) that each backup is retained + :param pulumi.Input[Union[str, 'BackupStorageRedundancy']] backup_storage_redundancy: Enum to indicate type of backup residency + """ + if backup_interval_in_minutes is not None: + pulumi.set(__self__, "backup_interval_in_minutes", backup_interval_in_minutes) + if backup_retention_interval_in_hours is not None: + pulumi.set(__self__, "backup_retention_interval_in_hours", backup_retention_interval_in_hours) + if backup_storage_redundancy is not None: + pulumi.set(__self__, "backup_storage_redundancy", backup_storage_redundancy) + + @property + @pulumi.getter(name="backupIntervalInMinutes") + def backup_interval_in_minutes(self) -> Optional[pulumi.Input[int]]: + """ + An integer representing the interval in minutes between two backups + """ + return pulumi.get(self, "backup_interval_in_minutes") + + @backup_interval_in_minutes.setter + def backup_interval_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "backup_interval_in_minutes", value) + + @property + @pulumi.getter(name="backupRetentionIntervalInHours") + def backup_retention_interval_in_hours(self) -> Optional[pulumi.Input[int]]: + """ + An integer representing the time (in hours) that each backup is retained + """ + return pulumi.get(self, "backup_retention_interval_in_hours") + + @backup_retention_interval_in_hours.setter + def backup_retention_interval_in_hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "backup_retention_interval_in_hours", value) + + @property + @pulumi.getter(name="backupStorageRedundancy") + def backup_storage_redundancy(self) -> Optional[pulumi.Input[Union[str, 'BackupStorageRedundancy']]]: + """ + Enum to indicate type of backup residency + """ + return pulumi.get(self, "backup_storage_redundancy") + + @backup_storage_redundancy.setter + def backup_storage_redundancy(self, value: Optional[pulumi.Input[Union[str, 'BackupStorageRedundancy']]]): + pulumi.set(self, "backup_storage_redundancy", value) + + +@pulumi.input_type +class PermissionArgs: + def __init__(__self__, *, + data_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + not_data_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param pulumi.Input[Sequence[pulumi.Input[str]]] data_actions: An array of data actions that are allowed. + :param pulumi.Input[Sequence[pulumi.Input[str]]] not_data_actions: An array of data actions that are denied. + """ + if data_actions is not None: + pulumi.set(__self__, "data_actions", data_actions) + if not_data_actions is not None: + pulumi.set(__self__, "not_data_actions", not_data_actions) + + @property + @pulumi.getter(name="dataActions") + def data_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of data actions that are allowed. + """ + return pulumi.get(self, "data_actions") + + @data_actions.setter + def data_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "data_actions", value) + + @property + @pulumi.getter(name="notDataActions") + def not_data_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of data actions that are denied. + """ + return pulumi.get(self, "not_data_actions") + + @not_data_actions.setter + def not_data_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "not_data_actions", value) + + +@pulumi.input_type +class PrivateEndpointPropertyArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + Private endpoint which the connection belongs to. + :param pulumi.Input[str] id: Resource id of the private endpoint. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource id of the private endpoint. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStatePropertyArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None): + """ + Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] description: The private link service connection description. + :param pulumi.Input[str] status: The private link service connection status. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class PrivilegeResourceArgs: + def __init__(__self__, *, + collection: Optional[pulumi.Input[str]] = None, + db: Optional[pulumi.Input[str]] = None): + """ + An Azure Cosmos DB Mongo DB Resource. + :param pulumi.Input[str] collection: The collection name the role is applied. + :param pulumi.Input[str] db: The database name the role is applied. + """ + if collection is not None: + pulumi.set(__self__, "collection", collection) + if db is not None: + pulumi.set(__self__, "db", db) + + @property + @pulumi.getter + def collection(self) -> Optional[pulumi.Input[str]]: + """ + The collection name the role is applied. + """ + return pulumi.get(self, "collection") + + @collection.setter + def collection(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection", value) + + @property + @pulumi.getter + def db(self) -> Optional[pulumi.Input[str]]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + @db.setter + def db(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "db", value) + + +@pulumi.input_type +class PrivilegeArgs: + def __init__(__self__, *, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource: Optional[pulumi.Input['PrivilegeResourceArgs']] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param pulumi.Input[Sequence[pulumi.Input[str]]] actions: An array of actions that are allowed. + :param pulumi.Input['PrivilegeResourceArgs'] resource: An Azure Cosmos DB Mongo DB Resource. + """ + if actions is not None: + pulumi.set(__self__, "actions", actions) + if resource is not None: + pulumi.set(__self__, "resource", resource) + + @property + @pulumi.getter + def actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of actions that are allowed. + """ + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter + def resource(self) -> Optional[pulumi.Input['PrivilegeResourceArgs']]: + """ + An Azure Cosmos DB Mongo DB Resource. + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: Optional[pulumi.Input['PrivilegeResourceArgs']]): + pulumi.set(self, "resource", value) + + +@pulumi.input_type +class ResourceRestoreParametersArgs: + def __init__(__self__, *, + restore_source: Optional[pulumi.Input[str]] = None, + restore_timestamp_in_utc: Optional[pulumi.Input[str]] = None): + """ + Parameters to indicate the information about the restore. + :param pulumi.Input[str] restore_source: The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + :param pulumi.Input[str] restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 format). + """ + if restore_source is not None: + pulumi.set(__self__, "restore_source", restore_source) + if restore_timestamp_in_utc is not None: + pulumi.set(__self__, "restore_timestamp_in_utc", restore_timestamp_in_utc) + + @property + @pulumi.getter(name="restoreSource") + def restore_source(self) -> Optional[pulumi.Input[str]]: + """ + The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + """ + return pulumi.get(self, "restore_source") + + @restore_source.setter + def restore_source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_source", value) + + @property + @pulumi.getter(name="restoreTimestampInUtc") + def restore_timestamp_in_utc(self) -> Optional[pulumi.Input[str]]: + """ + Time to which the account has to be restored (ISO-8601 format). + """ + return pulumi.get(self, "restore_timestamp_in_utc") + + @restore_timestamp_in_utc.setter + def restore_timestamp_in_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_timestamp_in_utc", value) + + +@pulumi.input_type +class RestoreParametersArgs: + def __init__(__self__, *, + databases_to_restore: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]]] = None, + gremlin_databases_to_restore: Optional[pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]]] = None, + restore_mode: Optional[pulumi.Input[Union[str, 'RestoreMode']]] = None, + restore_source: Optional[pulumi.Input[str]] = None, + restore_timestamp_in_utc: Optional[pulumi.Input[str]] = None, + source_backup_location: Optional[pulumi.Input[str]] = None, + tables_to_restore: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Parameters to indicate the information about the restore. + :param pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]] databases_to_restore: List of specific databases available for restore. + :param pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]] gremlin_databases_to_restore: List of specific gremlin databases available for restore. + :param pulumi.Input[Union[str, 'RestoreMode']] restore_mode: Describes the mode of the restore. + :param pulumi.Input[str] restore_source: The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + :param pulumi.Input[str] restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 format). + :param pulumi.Input[str] source_backup_location: The source backup location for restore. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tables_to_restore: List of specific tables available for restore. + """ + if databases_to_restore is not None: + pulumi.set(__self__, "databases_to_restore", databases_to_restore) + if gremlin_databases_to_restore is not None: + pulumi.set(__self__, "gremlin_databases_to_restore", gremlin_databases_to_restore) + if restore_mode is not None: + pulumi.set(__self__, "restore_mode", restore_mode) + if restore_source is not None: + pulumi.set(__self__, "restore_source", restore_source) + if restore_timestamp_in_utc is not None: + pulumi.set(__self__, "restore_timestamp_in_utc", restore_timestamp_in_utc) + if source_backup_location is not None: + pulumi.set(__self__, "source_backup_location", source_backup_location) + if tables_to_restore is not None: + pulumi.set(__self__, "tables_to_restore", tables_to_restore) + + @property + @pulumi.getter(name="databasesToRestore") + def databases_to_restore(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]]]: + """ + List of specific databases available for restore. + """ + return pulumi.get(self, "databases_to_restore") + + @databases_to_restore.setter + def databases_to_restore(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseRestoreResourceArgs']]]]): + pulumi.set(self, "databases_to_restore", value) + + @property + @pulumi.getter(name="gremlinDatabasesToRestore") + def gremlin_databases_to_restore(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]]]: + """ + List of specific gremlin databases available for restore. + """ + return pulumi.get(self, "gremlin_databases_to_restore") + + @gremlin_databases_to_restore.setter + def gremlin_databases_to_restore(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GremlinDatabaseRestoreResourceArgs']]]]): + pulumi.set(self, "gremlin_databases_to_restore", value) + + @property + @pulumi.getter(name="restoreMode") + def restore_mode(self) -> Optional[pulumi.Input[Union[str, 'RestoreMode']]]: + """ + Describes the mode of the restore. + """ + return pulumi.get(self, "restore_mode") + + @restore_mode.setter + def restore_mode(self, value: Optional[pulumi.Input[Union[str, 'RestoreMode']]]): + pulumi.set(self, "restore_mode", value) + + @property + @pulumi.getter(name="restoreSource") + def restore_source(self) -> Optional[pulumi.Input[str]]: + """ + The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + """ + return pulumi.get(self, "restore_source") + + @restore_source.setter + def restore_source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_source", value) + + @property + @pulumi.getter(name="restoreTimestampInUtc") + def restore_timestamp_in_utc(self) -> Optional[pulumi.Input[str]]: + """ + Time to which the account has to be restored (ISO-8601 format). + """ + return pulumi.get(self, "restore_timestamp_in_utc") + + @restore_timestamp_in_utc.setter + def restore_timestamp_in_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "restore_timestamp_in_utc", value) + + @property + @pulumi.getter(name="sourceBackupLocation") + def source_backup_location(self) -> Optional[pulumi.Input[str]]: + """ + The source backup location for restore. + """ + return pulumi.get(self, "source_backup_location") + + @source_backup_location.setter + def source_backup_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_backup_location", value) + + @property + @pulumi.getter(name="tablesToRestore") + def tables_to_restore(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of specific tables available for restore. + """ + return pulumi.get(self, "tables_to_restore") + + @tables_to_restore.setter + def tables_to_restore(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tables_to_restore", value) + + +@pulumi.input_type +class RoleArgs: + def __init__(__self__, *, + db: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None): + """ + The set of roles permitted through this Role Definition. + :param pulumi.Input[str] db: The database name the role is applied. + :param pulumi.Input[str] role: The role name. + """ + if db is not None: + pulumi.set(__self__, "db", db) + if role is not None: + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter + def db(self) -> Optional[pulumi.Input[str]]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + @db.setter + def db(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "db", value) + + @property + @pulumi.getter + def role(self) -> Optional[pulumi.Input[str]]: + """ + The role name. + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role", value) + + +@pulumi.input_type +class SeedNodeArgs: + def __init__(__self__, *, + ip_address: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ip_address: IP address of this seed node. + """ + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[pulumi.Input[str]]: + """ + IP address of this seed node. + """ + return pulumi.get(self, "ip_address") + + @ip_address.setter + def ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address", value) + + +@pulumi.input_type +class SpatialSpecArgs: + def __init__(__self__, *, + path: Optional[pulumi.Input[str]] = None, + types: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]]] = None): + """ + :param pulumi.Input[str] path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]] types: List of path's spatial type + """ + if path is not None: + pulumi.set(__self__, "path", path) + if types is not None: + pulumi.set(__self__, "types", types) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + @property + @pulumi.getter + def types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]]]: + """ + List of path's spatial type + """ + return pulumi.get(self, "types") + + @types.setter + def types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SpatialType']]]]]): + pulumi.set(self, "types", value) + + +@pulumi.input_type +class SqlContainerResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + analytical_storage_ttl: Optional[pulumi.Input[float]] = None, + client_encryption_policy: Optional[pulumi.Input['ClientEncryptionPolicyArgs']] = None, + conflict_resolution_policy: Optional[pulumi.Input['ConflictResolutionPolicyArgs']] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + default_ttl: Optional[pulumi.Input[int]] = None, + indexing_policy: Optional[pulumi.Input['IndexingPolicyArgs']] = None, + materialized_view_definition: Optional[pulumi.Input['MaterializedViewDefinitionArgs']] = None, + partition_key: Optional[pulumi.Input['ContainerPartitionKeyArgs']] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None, + unique_key_policy: Optional[pulumi.Input['UniqueKeyPolicyArgs']] = None): + """ + Cosmos DB SQL container resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL container + :param pulumi.Input[float] analytical_storage_ttl: Analytical TTL. + :param pulumi.Input['ClientEncryptionPolicyArgs'] client_encryption_policy: The client encryption policy for the container. + :param pulumi.Input['ConflictResolutionPolicyArgs'] conflict_resolution_policy: The conflict resolution policy for the container. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input[int] default_ttl: Default time to live + :param pulumi.Input['IndexingPolicyArgs'] indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + :param pulumi.Input['MaterializedViewDefinitionArgs'] materialized_view_definition: The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + :param pulumi.Input['ContainerPartitionKeyArgs'] partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + :param pulumi.Input['UniqueKeyPolicyArgs'] unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "id", id) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if client_encryption_policy is not None: + pulumi.set(__self__, "client_encryption_policy", client_encryption_policy) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if materialized_view_definition is not None: + pulumi.set(__self__, "materialized_view_definition", materialized_view_definition) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL container + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[pulumi.Input[float]]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @analytical_storage_ttl.setter + def analytical_storage_ttl(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "analytical_storage_ttl", value) + + @property + @pulumi.getter(name="clientEncryptionPolicy") + def client_encryption_policy(self) -> Optional[pulumi.Input['ClientEncryptionPolicyArgs']]: + """ + The client encryption policy for the container. + """ + return pulumi.get(self, "client_encryption_policy") + + @client_encryption_policy.setter + def client_encryption_policy(self, value: Optional[pulumi.Input['ClientEncryptionPolicyArgs']]): + pulumi.set(self, "client_encryption_policy", value) + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional[pulumi.Input['ConflictResolutionPolicyArgs']]: + """ + The conflict resolution policy for the container. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @conflict_resolution_policy.setter + def conflict_resolution_policy(self, value: Optional[pulumi.Input['ConflictResolutionPolicyArgs']]): + pulumi.set(self, "conflict_resolution_policy", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[pulumi.Input[int]]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @default_ttl.setter + def default_ttl(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "default_ttl", value) + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional[pulumi.Input['IndexingPolicyArgs']]: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + """ + return pulumi.get(self, "indexing_policy") + + @indexing_policy.setter + def indexing_policy(self, value: Optional[pulumi.Input['IndexingPolicyArgs']]): + pulumi.set(self, "indexing_policy", value) + + @property + @pulumi.getter(name="materializedViewDefinition") + def materialized_view_definition(self) -> Optional[pulumi.Input['MaterializedViewDefinitionArgs']]: + """ + The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + """ + return pulumi.get(self, "materialized_view_definition") + + @materialized_view_definition.setter + def materialized_view_definition(self, value: Optional[pulumi.Input['MaterializedViewDefinitionArgs']]): + pulumi.set(self, "materialized_view_definition", value) + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional[pulumi.Input['ContainerPartitionKeyArgs']]: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @partition_key.setter + def partition_key(self, value: Optional[pulumi.Input['ContainerPartitionKeyArgs']]): + pulumi.set(self, "partition_key", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional[pulumi.Input['UniqueKeyPolicyArgs']]: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + @unique_key_policy.setter + def unique_key_policy(self, value: Optional[pulumi.Input['UniqueKeyPolicyArgs']]): + pulumi.set(self, "unique_key_policy", value) + + +@pulumi.input_type +class SqlDatabaseResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None): + """ + Cosmos DB SQL database resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL database + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "id", id) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL database + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + +@pulumi.input_type +class SqlStoredProcedureResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB SQL storedProcedure resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL storedProcedure + :param pulumi.Input[str] body: Body of the Stored Procedure + """ + pulumi.set(__self__, "id", id) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL storedProcedure + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + Body of the Stored Procedure + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + +@pulumi.input_type +class SqlTriggerResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None, + trigger_operation: Optional[pulumi.Input[Union[str, 'TriggerOperation']]] = None, + trigger_type: Optional[pulumi.Input[Union[str, 'TriggerType']]] = None): + """ + Cosmos DB SQL trigger resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL trigger + :param pulumi.Input[str] body: Body of the Trigger + :param pulumi.Input[Union[str, 'TriggerOperation']] trigger_operation: The operation the trigger is associated with + :param pulumi.Input[Union[str, 'TriggerType']] trigger_type: Type of the Trigger + """ + pulumi.set(__self__, "id", id) + if body is not None: + pulumi.set(__self__, "body", body) + if trigger_operation is not None: + pulumi.set(__self__, "trigger_operation", trigger_operation) + if trigger_type is not None: + pulumi.set(__self__, "trigger_type", trigger_type) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL trigger + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + Body of the Trigger + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + @property + @pulumi.getter(name="triggerOperation") + def trigger_operation(self) -> Optional[pulumi.Input[Union[str, 'TriggerOperation']]]: + """ + The operation the trigger is associated with + """ + return pulumi.get(self, "trigger_operation") + + @trigger_operation.setter + def trigger_operation(self, value: Optional[pulumi.Input[Union[str, 'TriggerOperation']]]): + pulumi.set(self, "trigger_operation", value) + + @property + @pulumi.getter(name="triggerType") + def trigger_type(self) -> Optional[pulumi.Input[Union[str, 'TriggerType']]]: + """ + Type of the Trigger + """ + return pulumi.get(self, "trigger_type") + + @trigger_type.setter + def trigger_type(self, value: Optional[pulumi.Input[Union[str, 'TriggerType']]]): + pulumi.set(self, "trigger_type", value) + + +@pulumi.input_type +class SqlUserDefinedFunctionResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None): + """ + Cosmos DB SQL userDefinedFunction resource object + :param pulumi.Input[str] id: Name of the Cosmos DB SQL userDefinedFunction + :param pulumi.Input[str] body: Body of the User Defined Function + """ + pulumi.set(__self__, "id", id) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB SQL userDefinedFunction + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def body(self) -> Optional[pulumi.Input[str]]: + """ + Body of the User Defined Function + """ + return pulumi.get(self, "body") + + @body.setter + def body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "body", value) + + +@pulumi.input_type +class TableResourceArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + restore_parameters: Optional[pulumi.Input['ResourceRestoreParametersArgs']] = None): + """ + Cosmos DB table resource object + :param pulumi.Input[str] id: Name of the Cosmos DB table + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of resource creation. + :param pulumi.Input['ResourceRestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "id", id) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: + """ + Name of the Cosmos DB table + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['ResourceRestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['ResourceRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + +@pulumi.input_type +class UniqueKeyPolicyArgs: + def __init__(__self__, *, + unique_keys: Optional[pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]]] = None): + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + :param pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]] unique_keys: List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + if unique_keys is not None: + pulumi.set(__self__, "unique_keys", unique_keys) + + @property + @pulumi.getter(name="uniqueKeys") + def unique_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]]]: + """ + List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_keys") + + @unique_keys.setter + def unique_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UniqueKeyArgs']]]]): + pulumi.set(self, "unique_keys", value) + + +@pulumi.input_type +class UniqueKeyArgs: + def __init__(__self__, *, + paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + :param pulumi.Input[Sequence[pulumi.Input[str]]] paths: List of paths must be unique for each document in the Azure Cosmos DB service + """ + if paths is not None: + pulumi.set(__self__, "paths", paths) + + @property + @pulumi.getter + def paths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of paths must be unique for each document in the Azure Cosmos DB service + """ + return pulumi.get(self, "paths") + + @paths.setter + def paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "paths", value) + + +@pulumi.input_type +class VirtualNetworkRuleArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None, + ignore_missing_v_net_service_endpoint: Optional[pulumi.Input[bool]] = None): + """ + Virtual Network ACL Rule object + :param pulumi.Input[str] id: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + :param pulumi.Input[bool] ignore_missing_v_net_service_endpoint: Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + if id is not None: + pulumi.set(__self__, "id", id) + if ignore_missing_v_net_service_endpoint is not None: + pulumi.set(__self__, "ignore_missing_v_net_service_endpoint", ignore_missing_v_net_service_endpoint) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="ignoreMissingVNetServiceEndpoint") + def ignore_missing_v_net_service_endpoint(self) -> Optional[pulumi.Input[bool]]: + """ + Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + return pulumi.get(self, "ignore_missing_v_net_service_endpoint") + + @ignore_missing_v_net_service_endpoint.setter + def ignore_missing_v_net_service_endpoint(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ignore_missing_v_net_service_endpoint", value) + + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_cluster.py new file mode 100644 index 000000000000..e7eb7b9c11c3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_cluster.py @@ -0,0 +1,272 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraClusterArgs', 'CassandraCluster'] + +@pulumi.input_type +class CassandraClusterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + cluster_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedCassandraManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['ClusterResourcePropertiesArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a CassandraCluster resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input['ManagedCassandraManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['ClusterResourcePropertiesArgs'] properties: Properties of a managed Cassandra cluster. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + """ + Managed Cassandra cluster name. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedCassandraManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedCassandraManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['ClusterResourcePropertiesArgs']]: + """ + Properties of a managed Cassandra cluster. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['ClusterResourcePropertiesArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 CassandraCluster(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedCassandraManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ClusterResourcePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Representation of a managed Cassandra cluster. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input[pulumi.InputType['ManagedCassandraManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['ClusterResourcePropertiesArgs']] properties: Properties of a managed Cassandra cluster. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraClusterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Representation of a managed Cassandra cluster. + + :param str resource_name: The name of the resource. + :param CassandraClusterArgs 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(CassandraClusterArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedCassandraManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ClusterResourcePropertiesArgs']]] = 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): + 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__ = CassandraClusterArgs.__new__(CassandraClusterArgs) + + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["properties"] = properties + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraCluster")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraCluster, __self__).__init__( + 'azure-native:documentdb/v20230915preview:CassandraCluster', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraCluster': + """ + Get an existing CassandraCluster 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraClusterArgs.__new__(CassandraClusterArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraCluster(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedCassandraManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ClusterResourceResponseProperties']: + """ + Properties of a managed Cassandra cluster. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_data_center.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_data_center.py new file mode 100644 index 000000000000..c09de45db248 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_data_center.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraDataCenterArgs', 'CassandraDataCenter'] + +@pulumi.input_type +class CassandraDataCenterArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + data_center_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['DataCenterResourcePropertiesArgs']] = None): + """ + The set of arguments for constructing a CassandraDataCenter resource. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] data_center_name: Data center name in a managed Cassandra cluster. + :param pulumi.Input['DataCenterResourcePropertiesArgs'] properties: Properties of a managed Cassandra data center. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if data_center_name is not None: + pulumi.set(__self__, "data_center_name", data_center_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + Managed Cassandra cluster name. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="dataCenterName") + def data_center_name(self) -> Optional[pulumi.Input[str]]: + """ + Data center name in a managed Cassandra cluster. + """ + return pulumi.get(self, "data_center_name") + + @data_center_name.setter + def data_center_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_center_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['DataCenterResourcePropertiesArgs']]: + """ + Properties of a managed Cassandra data center. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['DataCenterResourcePropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class CassandraDataCenter(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + data_center_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['DataCenterResourcePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A managed Cassandra data center. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: Managed Cassandra cluster name. + :param pulumi.Input[str] data_center_name: Data center name in a managed Cassandra cluster. + :param pulumi.Input[pulumi.InputType['DataCenterResourcePropertiesArgs']] properties: Properties of a managed Cassandra data center. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraDataCenterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A managed Cassandra data center. + + :param str resource_name: The name of the resource. + :param CassandraDataCenterArgs 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(CassandraDataCenterArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + data_center_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['DataCenterResourcePropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CassandraDataCenterArgs.__new__(CassandraDataCenterArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["data_center_name"] = data_center_name + __props__.__dict__["properties"] = properties + 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__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraDataCenter"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraDataCenter")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraDataCenter, __self__).__init__( + 'azure-native:documentdb/v20230915preview:CassandraDataCenter', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraDataCenter': + """ + Get an existing CassandraDataCenter 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraDataCenterArgs.__new__(CassandraDataCenterArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return CassandraDataCenter(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.DataCenterResourceResponseProperties']: + """ + Properties of a managed Cassandra data center. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_keyspace.py new file mode 100644 index 000000000000..5fb526041a1a --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_keyspace.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraResourceCassandraKeyspaceArgs', 'CassandraResourceCassandraKeyspace'] + +@pulumi.input_type +class CassandraResourceCassandraKeyspaceArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['CassandraKeyspaceResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a CassandraResourceCassandraKeyspace resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['CassandraKeyspaceResourceArgs'] resource: The standard JSON format of a Cassandra keyspace + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if keyspace_name is not None: + pulumi.set(__self__, "keyspace_name", keyspace_name) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['CassandraKeyspaceResourceArgs']: + """ + The standard JSON format of a Cassandra keyspace + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['CassandraKeyspaceResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="keyspaceName") + def keyspace_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB keyspace name. + """ + return pulumi.get(self, "keyspace_name") + + @keyspace_name.setter + def keyspace_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "keyspace_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 CassandraResourceCassandraKeyspace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraKeyspaceResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Cassandra keyspace. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['CassandraKeyspaceResourceArgs']] resource: The standard JSON format of a Cassandra keyspace + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraResourceCassandraKeyspaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Cassandra keyspace. + + :param str resource_name: The name of the resource. + :param CassandraResourceCassandraKeyspaceArgs 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(CassandraResourceCassandraKeyspaceArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraKeyspaceResourceArgs']]] = 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): + 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__ = CassandraResourceCassandraKeyspaceArgs.__new__(CassandraResourceCassandraKeyspaceArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["identity"] = identity + __props__.__dict__["keyspace_name"] = keyspace_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraKeyspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraKeyspace")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraResourceCassandraKeyspace, __self__).__init__( + 'azure-native:documentdb/v20230915preview:CassandraResourceCassandraKeyspace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraResourceCassandraKeyspace': + """ + Get an existing CassandraResourceCassandraKeyspace 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraResourceCassandraKeyspaceArgs.__new__(CassandraResourceCassandraKeyspaceArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraResourceCassandraKeyspace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.CassandraKeyspaceGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.CassandraKeyspaceGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_table.py new file mode 100644 index 000000000000..30f3ffdaa802 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_table.py @@ -0,0 +1,338 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraResourceCassandraTableArgs', 'CassandraResourceCassandraTable'] + +@pulumi.input_type +class CassandraResourceCassandraTableArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + keyspace_name: pulumi.Input[str], + resource: pulumi.Input['CassandraTableResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a CassandraResourceCassandraTable resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input['CassandraTableResourceArgs'] resource: The standard JSON format of a Cassandra table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "keyspace_name", keyspace_name) + pulumi.set(__self__, "resource", resource) + 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 options is not None: + pulumi.set(__self__, "options", options) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="keyspaceName") + def keyspace_name(self) -> pulumi.Input[str]: + """ + Cosmos DB keyspace name. + """ + return pulumi.get(self, "keyspace_name") + + @keyspace_name.setter + def keyspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "keyspace_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['CassandraTableResourceArgs']: + """ + The standard JSON format of a Cassandra table + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['CassandraTableResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB table name. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 CassandraResourceCassandraTable(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraTableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Cassandra table. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['CassandraTableResourceArgs']] resource: The standard JSON format of a Cassandra table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraResourceCassandraTableArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Cassandra table. + + :param str resource_name: The name of the resource. + :param CassandraResourceCassandraTableArgs 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(CassandraResourceCassandraTableArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraTableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_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): + 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__ = CassandraResourceCassandraTableArgs.__new__(CassandraResourceCassandraTableArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["identity"] = identity + if keyspace_name is None and not opts.urn: + raise TypeError("Missing required property 'keyspace_name'") + __props__.__dict__["keyspace_name"] = keyspace_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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__["table_name"] = table_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:CassandraResourceCassandraTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:CassandraResourceCassandraTable")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraResourceCassandraTable, __self__).__init__( + 'azure-native:documentdb/v20230915preview:CassandraResourceCassandraTable', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraResourceCassandraTable': + """ + Get an existing CassandraResourceCassandraTable 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraResourceCassandraTableArgs.__new__(CassandraResourceCassandraTableArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraResourceCassandraTable(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.CassandraTableGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.CassandraTableGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_view.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_view.py new file mode 100644 index 000000000000..a87ae5e830bd --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/cassandra_resource_cassandra_view.py @@ -0,0 +1,338 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CassandraResourceCassandraViewArgs', 'CassandraResourceCassandraView'] + +@pulumi.input_type +class CassandraResourceCassandraViewArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + keyspace_name: pulumi.Input[str], + resource: pulumi.Input['CassandraViewResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + view_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a CassandraResourceCassandraView resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input['CassandraViewResourceArgs'] resource: The standard JSON format of a Cassandra view + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] view_name: Cosmos DB view name. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "keyspace_name", keyspace_name) + pulumi.set(__self__, "resource", resource) + 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 options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if view_name is not None: + pulumi.set(__self__, "view_name", view_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="keyspaceName") + def keyspace_name(self) -> pulumi.Input[str]: + """ + Cosmos DB keyspace name. + """ + return pulumi.get(self, "keyspace_name") + + @keyspace_name.setter + def keyspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "keyspace_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['CassandraViewResourceArgs']: + """ + The standard JSON format of a Cassandra view + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['CassandraViewResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="viewName") + def view_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB view name. + """ + return pulumi.get(self, "view_name") + + @view_name.setter + def view_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "view_name", value) + + +class CassandraResourceCassandraView(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraViewResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + view_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB Cassandra view. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] keyspace_name: Cosmos DB keyspace name. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['CassandraViewResourceArgs']] resource: The standard JSON format of a Cassandra view + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] view_name: Cosmos DB view name. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CassandraResourceCassandraViewArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Cassandra view. + + :param str resource_name: The name of the resource. + :param CassandraResourceCassandraViewArgs 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(CassandraResourceCassandraViewArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['CassandraViewResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + view_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CassandraResourceCassandraViewArgs.__new__(CassandraResourceCassandraViewArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["identity"] = identity + if keyspace_name is None and not opts.urn: + raise TypeError("Missing required property 'keyspace_name'") + __props__.__dict__["keyspace_name"] = keyspace_name + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["view_name"] = view_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:CassandraResourceCassandraView"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:CassandraResourceCassandraView")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CassandraResourceCassandraView, __self__).__init__( + 'azure-native:documentdb/v20230915preview:CassandraResourceCassandraView', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CassandraResourceCassandraView': + """ + Get an existing CassandraResourceCassandraView 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CassandraResourceCassandraViewArgs.__new__(CassandraResourceCassandraViewArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return CassandraResourceCassandraView(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.CassandraViewGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.CassandraViewGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/database_account.py new file mode 100644 index 000000000000..1457a597f85e --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/database_account.py @@ -0,0 +1,1387 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['DatabaseAccountArgs', 'DatabaseAccount'] + +@pulumi.input_type +class DatabaseAccountArgs: + def __init__(__self__, *, + database_account_offer_type: pulumi.Input['DatabaseAccountOfferType'], + locations: pulumi.Input[Sequence[pulumi.Input['LocationArgs']]], + resource_group_name: pulumi.Input[str], + account_name: Optional[pulumi.Input[str]] = None, + analytical_storage_configuration: Optional[pulumi.Input['AnalyticalStorageConfigurationArgs']] = None, + api_properties: Optional[pulumi.Input['ApiPropertiesArgs']] = None, + backup_policy: Optional[pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']]] = None, + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]]] = None, + capacity: Optional[pulumi.Input['CapacityArgs']] = None, + connector_offer: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]] = None, + consistency_policy: Optional[pulumi.Input['ConsistencyPolicyArgs']] = None, + cors: Optional[pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + customer_managed_key_status: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]] = None, + default_identity: Optional[pulumi.Input[str]] = None, + default_priority_level: Optional[pulumi.Input[Union[str, 'DefaultPriorityLevel']]] = None, + diagnostic_log_settings: Optional[pulumi.Input['DiagnosticLogSettingsArgs']] = None, + disable_key_based_metadata_write_access: Optional[pulumi.Input[bool]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + enable_analytical_storage: Optional[pulumi.Input[bool]] = None, + enable_automatic_failover: Optional[pulumi.Input[bool]] = None, + enable_burst_capacity: Optional[pulumi.Input[bool]] = None, + enable_cassandra_connector: Optional[pulumi.Input[bool]] = None, + enable_free_tier: Optional[pulumi.Input[bool]] = None, + enable_materialized_views: Optional[pulumi.Input[bool]] = None, + enable_multiple_write_locations: Optional[pulumi.Input[bool]] = None, + enable_partition_merge: Optional[pulumi.Input[bool]] = None, + enable_priority_based_execution: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]]] = None, + is_virtual_network_filter_enabled: Optional[pulumi.Input[bool]] = None, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + minimal_tls_version: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]] = None, + network_acl_bypass: Optional[pulumi.Input['NetworkAclBypass']] = None, + network_acl_bypass_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + restore_parameters: Optional[pulumi.Input['RestoreParametersArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]] = None): + """ + The set of arguments for constructing a DatabaseAccount resource. + :param pulumi.Input['DatabaseAccountOfferType'] database_account_offer_type: The offer type for the database + :param pulumi.Input[Sequence[pulumi.Input['LocationArgs']]] locations: An array that contains the georeplication locations enabled for the Cosmos DB account. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['AnalyticalStorageConfigurationArgs'] analytical_storage_configuration: Analytical storage specific properties. + :param pulumi.Input['ApiPropertiesArgs'] api_properties: API specific properties. Currently, supported only for MongoDB API. + :param pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']] backup_policy: The object representing the policy for taking backups on an account. + :param pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]] capabilities: List of Cosmos DB capabilities for the account + :param pulumi.Input['CapacityArgs'] capacity: The object that represents all properties related to capacity enforcement on an account. + :param pulumi.Input[Union[str, 'ConnectorOffer']] connector_offer: The cassandra connector offer type for the Cosmos DB database C* account. + :param pulumi.Input['ConsistencyPolicyArgs'] consistency_policy: The consistency policy for the Cosmos DB account. + :param pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]] cors: The CORS policy for the Cosmos DB database account. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of account creation. + :param pulumi.Input[Union[str, 'CustomerManagedKeyStatus']] customer_managed_key_status: Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + :param pulumi.Input[str] default_identity: The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + :param pulumi.Input[Union[str, 'DefaultPriorityLevel']] default_priority_level: Enum to indicate default Priority Level of request for Priority Based Execution. + :param pulumi.Input['DiagnosticLogSettingsArgs'] diagnostic_log_settings: The Object representing the different Diagnostic log settings for the Cosmos DB Account. + :param pulumi.Input[bool] disable_key_based_metadata_write_access: Disable write operations on metadata resources (databases, containers, throughput) via account keys + :param pulumi.Input[bool] disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + :param pulumi.Input[bool] enable_analytical_storage: Flag to indicate whether to enable storage analytics. + :param pulumi.Input[bool] enable_automatic_failover: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + :param pulumi.Input[bool] enable_burst_capacity: Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + :param pulumi.Input[bool] enable_cassandra_connector: Enables the cassandra connector on the Cosmos DB C* account + :param pulumi.Input[bool] enable_free_tier: Flag to indicate whether Free Tier is enabled. + :param pulumi.Input[bool] enable_materialized_views: Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + :param pulumi.Input[bool] enable_multiple_write_locations: Enables the account to write in multiple locations + :param pulumi.Input[bool] enable_partition_merge: Flag to indicate enabling/disabling of Partition Merge feature on the account + :param pulumi.Input[bool] enable_priority_based_execution: Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]] ip_rules: List of IpRules. + :param pulumi.Input[bool] is_virtual_network_filter_enabled: Flag to indicate whether to enable/disable Virtual Network ACL rules. + :param pulumi.Input[str] key_vault_key_uri: The URI of the key vault + :param pulumi.Input[Union[str, 'DatabaseAccountKind']] kind: Indicates the type of database account. This can only be set at database account creation. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[Union[str, 'MinimalTlsVersion']] minimal_tls_version: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + :param pulumi.Input['NetworkAclBypass'] network_acl_bypass: Indicates what services are allowed to bypass firewall checks. + :param pulumi.Input[Sequence[pulumi.Input[str]]] network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Whether requests from Public Network are allowed + :param pulumi.Input['RestoreParametersArgs'] restore_parameters: Parameters to indicate the information about the restore. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]] virtual_network_rules: List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + pulumi.set(__self__, "database_account_offer_type", database_account_offer_type) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if account_name is not None: + pulumi.set(__self__, "account_name", account_name) + if analytical_storage_configuration is not None: + pulumi.set(__self__, "analytical_storage_configuration", analytical_storage_configuration) + if api_properties is not None: + pulumi.set(__self__, "api_properties", api_properties) + if backup_policy is not None: + pulumi.set(__self__, "backup_policy", backup_policy) + if capabilities is not None: + pulumi.set(__self__, "capabilities", capabilities) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if connector_offer is not None: + pulumi.set(__self__, "connector_offer", connector_offer) + if consistency_policy is not None: + pulumi.set(__self__, "consistency_policy", consistency_policy) + if cors is not None: + pulumi.set(__self__, "cors", cors) + if create_mode is None: + create_mode = 'Default' + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if customer_managed_key_status is not None: + pulumi.set(__self__, "customer_managed_key_status", customer_managed_key_status) + if default_identity is not None: + pulumi.set(__self__, "default_identity", default_identity) + if default_priority_level is not None: + pulumi.set(__self__, "default_priority_level", default_priority_level) + if diagnostic_log_settings is not None: + pulumi.set(__self__, "diagnostic_log_settings", diagnostic_log_settings) + if disable_key_based_metadata_write_access is not None: + pulumi.set(__self__, "disable_key_based_metadata_write_access", disable_key_based_metadata_write_access) + if disable_local_auth is not None: + pulumi.set(__self__, "disable_local_auth", disable_local_auth) + if enable_analytical_storage is not None: + pulumi.set(__self__, "enable_analytical_storage", enable_analytical_storage) + if enable_automatic_failover is not None: + pulumi.set(__self__, "enable_automatic_failover", enable_automatic_failover) + if enable_burst_capacity is not None: + pulumi.set(__self__, "enable_burst_capacity", enable_burst_capacity) + if enable_cassandra_connector is not None: + pulumi.set(__self__, "enable_cassandra_connector", enable_cassandra_connector) + if enable_free_tier is not None: + pulumi.set(__self__, "enable_free_tier", enable_free_tier) + if enable_materialized_views is not None: + pulumi.set(__self__, "enable_materialized_views", enable_materialized_views) + if enable_multiple_write_locations is not None: + pulumi.set(__self__, "enable_multiple_write_locations", enable_multiple_write_locations) + if enable_partition_merge is not None: + pulumi.set(__self__, "enable_partition_merge", enable_partition_merge) + if enable_priority_based_execution is not None: + pulumi.set(__self__, "enable_priority_based_execution", enable_priority_based_execution) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if ip_rules is not None: + pulumi.set(__self__, "ip_rules", ip_rules) + if is_virtual_network_filter_enabled is not None: + pulumi.set(__self__, "is_virtual_network_filter_enabled", is_virtual_network_filter_enabled) + if key_vault_key_uri is not None: + pulumi.set(__self__, "key_vault_key_uri", key_vault_key_uri) + if kind is None: + kind = 'GlobalDocumentDB' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if location is not None: + pulumi.set(__self__, "location", location) + if minimal_tls_version is not None: + pulumi.set(__self__, "minimal_tls_version", minimal_tls_version) + if network_acl_bypass is not None: + pulumi.set(__self__, "network_acl_bypass", network_acl_bypass) + if network_acl_bypass_resource_ids is not None: + pulumi.set(__self__, "network_acl_bypass_resource_ids", network_acl_bypass_resource_ids) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if virtual_network_rules is not None: + pulumi.set(__self__, "virtual_network_rules", virtual_network_rules) + + @property + @pulumi.getter(name="databaseAccountOfferType") + def database_account_offer_type(self) -> pulumi.Input['DatabaseAccountOfferType']: + """ + The offer type for the database + """ + return pulumi.get(self, "database_account_offer_type") + + @database_account_offer_type.setter + def database_account_offer_type(self, value: pulumi.Input['DatabaseAccountOfferType']): + pulumi.set(self, "database_account_offer_type", value) + + @property + @pulumi.getter + def locations(self) -> pulumi.Input[Sequence[pulumi.Input['LocationArgs']]]: + """ + An array that contains the georeplication locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "locations") + + @locations.setter + def locations(self, value: pulumi.Input[Sequence[pulumi.Input['LocationArgs']]]): + pulumi.set(self, "locations", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="accountName") + def account_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="analyticalStorageConfiguration") + def analytical_storage_configuration(self) -> Optional[pulumi.Input['AnalyticalStorageConfigurationArgs']]: + """ + Analytical storage specific properties. + """ + return pulumi.get(self, "analytical_storage_configuration") + + @analytical_storage_configuration.setter + def analytical_storage_configuration(self, value: Optional[pulumi.Input['AnalyticalStorageConfigurationArgs']]): + pulumi.set(self, "analytical_storage_configuration", value) + + @property + @pulumi.getter(name="apiProperties") + def api_properties(self) -> Optional[pulumi.Input['ApiPropertiesArgs']]: + """ + API specific properties. Currently, supported only for MongoDB API. + """ + return pulumi.get(self, "api_properties") + + @api_properties.setter + def api_properties(self, value: Optional[pulumi.Input['ApiPropertiesArgs']]): + pulumi.set(self, "api_properties", value) + + @property + @pulumi.getter(name="backupPolicy") + def backup_policy(self) -> Optional[pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']]]: + """ + The object representing the policy for taking backups on an account. + """ + return pulumi.get(self, "backup_policy") + + @backup_policy.setter + def backup_policy(self, value: Optional[pulumi.Input[Union['ContinuousModeBackupPolicyArgs', 'PeriodicModeBackupPolicyArgs']]]): + pulumi.set(self, "backup_policy", value) + + @property + @pulumi.getter + def capabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]]]: + """ + List of Cosmos DB capabilities for the account + """ + return pulumi.get(self, "capabilities") + + @capabilities.setter + def capabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CapabilityArgs']]]]): + pulumi.set(self, "capabilities", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input['CapacityArgs']]: + """ + The object that represents all properties related to capacity enforcement on an account. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input['CapacityArgs']]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter(name="connectorOffer") + def connector_offer(self) -> Optional[pulumi.Input[Union[str, 'ConnectorOffer']]]: + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + return pulumi.get(self, "connector_offer") + + @connector_offer.setter + def connector_offer(self, value: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]]): + pulumi.set(self, "connector_offer", value) + + @property + @pulumi.getter(name="consistencyPolicy") + def consistency_policy(self) -> Optional[pulumi.Input['ConsistencyPolicyArgs']]: + """ + The consistency policy for the Cosmos DB account. + """ + return pulumi.get(self, "consistency_policy") + + @consistency_policy.setter + def consistency_policy(self, value: Optional[pulumi.Input['ConsistencyPolicyArgs']]): + pulumi.set(self, "consistency_policy", value) + + @property + @pulumi.getter + def cors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]]]: + """ + The CORS policy for the Cosmos DB database account. + """ + return pulumi.get(self, "cors") + + @cors.setter + def cors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CorsPolicyArgs']]]]): + pulumi.set(self, "cors", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + Enum to indicate the mode of account creation. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter(name="customerManagedKeyStatus") + def customer_managed_key_status(self) -> Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]]: + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + return pulumi.get(self, "customer_managed_key_status") + + @customer_managed_key_status.setter + def customer_managed_key_status(self, value: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]]): + pulumi.set(self, "customer_managed_key_status", value) + + @property + @pulumi.getter(name="defaultIdentity") + def default_identity(self) -> Optional[pulumi.Input[str]]: + """ + The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + """ + return pulumi.get(self, "default_identity") + + @default_identity.setter + def default_identity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_identity", value) + + @property + @pulumi.getter(name="defaultPriorityLevel") + def default_priority_level(self) -> Optional[pulumi.Input[Union[str, 'DefaultPriorityLevel']]]: + """ + Enum to indicate default Priority Level of request for Priority Based Execution. + """ + return pulumi.get(self, "default_priority_level") + + @default_priority_level.setter + def default_priority_level(self, value: Optional[pulumi.Input[Union[str, 'DefaultPriorityLevel']]]): + pulumi.set(self, "default_priority_level", value) + + @property + @pulumi.getter(name="diagnosticLogSettings") + def diagnostic_log_settings(self) -> Optional[pulumi.Input['DiagnosticLogSettingsArgs']]: + """ + The Object representing the different Diagnostic log settings for the Cosmos DB Account. + """ + return pulumi.get(self, "diagnostic_log_settings") + + @diagnostic_log_settings.setter + def diagnostic_log_settings(self, value: Optional[pulumi.Input['DiagnosticLogSettingsArgs']]): + pulumi.set(self, "diagnostic_log_settings", value) + + @property + @pulumi.getter(name="disableKeyBasedMetadataWriteAccess") + def disable_key_based_metadata_write_access(self) -> Optional[pulumi.Input[bool]]: + """ + Disable write operations on metadata resources (databases, containers, throughput) via account keys + """ + return pulumi.get(self, "disable_key_based_metadata_write_access") + + @disable_key_based_metadata_write_access.setter + def disable_key_based_metadata_write_access(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_key_based_metadata_write_access", value) + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> Optional[pulumi.Input[bool]]: + """ + Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + """ + return pulumi.get(self, "disable_local_auth") + + @disable_local_auth.setter + def disable_local_auth(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_local_auth", value) + + @property + @pulumi.getter(name="enableAnalyticalStorage") + def enable_analytical_storage(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether to enable storage analytics. + """ + return pulumi.get(self, "enable_analytical_storage") + + @enable_analytical_storage.setter + def enable_analytical_storage(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_analytical_storage", value) + + @property + @pulumi.getter(name="enableAutomaticFailover") + def enable_automatic_failover(self) -> Optional[pulumi.Input[bool]]: + """ + Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + """ + return pulumi.get(self, "enable_automatic_failover") + + @enable_automatic_failover.setter + def enable_automatic_failover(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_automatic_failover", value) + + @property + @pulumi.getter(name="enableBurstCapacity") + def enable_burst_capacity(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + """ + return pulumi.get(self, "enable_burst_capacity") + + @enable_burst_capacity.setter + def enable_burst_capacity(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_burst_capacity", value) + + @property + @pulumi.getter(name="enableCassandraConnector") + def enable_cassandra_connector(self) -> Optional[pulumi.Input[bool]]: + """ + Enables the cassandra connector on the Cosmos DB C* account + """ + return pulumi.get(self, "enable_cassandra_connector") + + @enable_cassandra_connector.setter + def enable_cassandra_connector(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_cassandra_connector", value) + + @property + @pulumi.getter(name="enableFreeTier") + def enable_free_tier(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether Free Tier is enabled. + """ + return pulumi.get(self, "enable_free_tier") + + @enable_free_tier.setter + def enable_free_tier(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_free_tier", value) + + @property + @pulumi.getter(name="enableMaterializedViews") + def enable_materialized_views(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + """ + return pulumi.get(self, "enable_materialized_views") + + @enable_materialized_views.setter + def enable_materialized_views(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_materialized_views", value) + + @property + @pulumi.getter(name="enableMultipleWriteLocations") + def enable_multiple_write_locations(self) -> Optional[pulumi.Input[bool]]: + """ + Enables the account to write in multiple locations + """ + return pulumi.get(self, "enable_multiple_write_locations") + + @enable_multiple_write_locations.setter + def enable_multiple_write_locations(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_multiple_write_locations", value) + + @property + @pulumi.getter(name="enablePartitionMerge") + def enable_partition_merge(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate enabling/disabling of Partition Merge feature on the account + """ + return pulumi.get(self, "enable_partition_merge") + + @enable_partition_merge.setter + def enable_partition_merge(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_partition_merge", value) + + @property + @pulumi.getter(name="enablePriorityBasedExecution") + def enable_priority_based_execution(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + """ + return pulumi.get(self, "enable_priority_based_execution") + + @enable_priority_based_execution.setter + def enable_priority_based_execution(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_priority_based_execution", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]]]: + """ + List of IpRules. + """ + return pulumi.get(self, "ip_rules") + + @ip_rules.setter + def ip_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IpAddressOrRangeArgs']]]]): + pulumi.set(self, "ip_rules", value) + + @property + @pulumi.getter(name="isVirtualNetworkFilterEnabled") + def is_virtual_network_filter_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Flag to indicate whether to enable/disable Virtual Network ACL rules. + """ + return pulumi.get(self, "is_virtual_network_filter_enabled") + + @is_virtual_network_filter_enabled.setter + def is_virtual_network_filter_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_virtual_network_filter_enabled", value) + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + The URI of the key vault + """ + return pulumi.get(self, "key_vault_key_uri") + + @key_vault_key_uri.setter + def key_vault_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_key_uri", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]]: + """ + Indicates the type of database account. This can only be set at database account creation. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="minimalTlsVersion") + def minimal_tls_version(self) -> Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]]: + """ + Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + """ + return pulumi.get(self, "minimal_tls_version") + + @minimal_tls_version.setter + def minimal_tls_version(self, value: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]]): + pulumi.set(self, "minimal_tls_version", value) + + @property + @pulumi.getter(name="networkAclBypass") + def network_acl_bypass(self) -> Optional[pulumi.Input['NetworkAclBypass']]: + """ + Indicates what services are allowed to bypass firewall checks. + """ + return pulumi.get(self, "network_acl_bypass") + + @network_acl_bypass.setter + def network_acl_bypass(self, value: Optional[pulumi.Input['NetworkAclBypass']]): + pulumi.set(self, "network_acl_bypass", value) + + @property + @pulumi.getter(name="networkAclBypassResourceIds") + def network_acl_bypass_resource_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + """ + return pulumi.get(self, "network_acl_bypass_resource_ids") + + @network_acl_bypass_resource_ids.setter + def network_acl_bypass_resource_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "network_acl_bypass_resource_ids", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['RestoreParametersArgs']]: + """ + Parameters to indicate the information about the restore. + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['RestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="virtualNetworkRules") + def virtual_network_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]]: + """ + List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + return pulumi.get(self, "virtual_network_rules") + + @virtual_network_rules.setter + def virtual_network_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]]): + pulumi.set(self, "virtual_network_rules", value) + + +class DatabaseAccount(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + analytical_storage_configuration: Optional[pulumi.Input[pulumi.InputType['AnalyticalStorageConfigurationArgs']]] = None, + api_properties: Optional[pulumi.Input[pulumi.InputType['ApiPropertiesArgs']]] = None, + backup_policy: Optional[pulumi.Input[Union[pulumi.InputType['ContinuousModeBackupPolicyArgs'], pulumi.InputType['PeriodicModeBackupPolicyArgs']]]] = None, + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CapabilityArgs']]]]] = None, + capacity: Optional[pulumi.Input[pulumi.InputType['CapacityArgs']]] = None, + connector_offer: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]] = None, + consistency_policy: Optional[pulumi.Input[pulumi.InputType['ConsistencyPolicyArgs']]] = None, + cors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CorsPolicyArgs']]]]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + customer_managed_key_status: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]] = None, + database_account_offer_type: Optional[pulumi.Input['DatabaseAccountOfferType']] = None, + default_identity: Optional[pulumi.Input[str]] = None, + default_priority_level: Optional[pulumi.Input[Union[str, 'DefaultPriorityLevel']]] = None, + diagnostic_log_settings: Optional[pulumi.Input[pulumi.InputType['DiagnosticLogSettingsArgs']]] = None, + disable_key_based_metadata_write_access: Optional[pulumi.Input[bool]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + enable_analytical_storage: Optional[pulumi.Input[bool]] = None, + enable_automatic_failover: Optional[pulumi.Input[bool]] = None, + enable_burst_capacity: Optional[pulumi.Input[bool]] = None, + enable_cassandra_connector: Optional[pulumi.Input[bool]] = None, + enable_free_tier: Optional[pulumi.Input[bool]] = None, + enable_materialized_views: Optional[pulumi.Input[bool]] = None, + enable_multiple_write_locations: Optional[pulumi.Input[bool]] = None, + enable_partition_merge: Optional[pulumi.Input[bool]] = None, + enable_priority_based_execution: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpAddressOrRangeArgs']]]]] = None, + is_virtual_network_filter_enabled: Optional[pulumi.Input[bool]] = None, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + locations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LocationArgs']]]]] = None, + minimal_tls_version: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]] = None, + network_acl_bypass: Optional[pulumi.Input['NetworkAclBypass']] = None, + network_acl_bypass_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_parameters: Optional[pulumi.Input[pulumi.InputType['RestoreParametersArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkRuleArgs']]]]] = None, + __props__=None): + """ + An Azure Cosmos DB database account. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[pulumi.InputType['AnalyticalStorageConfigurationArgs']] analytical_storage_configuration: Analytical storage specific properties. + :param pulumi.Input[pulumi.InputType['ApiPropertiesArgs']] api_properties: API specific properties. Currently, supported only for MongoDB API. + :param pulumi.Input[Union[pulumi.InputType['ContinuousModeBackupPolicyArgs'], pulumi.InputType['PeriodicModeBackupPolicyArgs']]] backup_policy: The object representing the policy for taking backups on an account. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CapabilityArgs']]]] capabilities: List of Cosmos DB capabilities for the account + :param pulumi.Input[pulumi.InputType['CapacityArgs']] capacity: The object that represents all properties related to capacity enforcement on an account. + :param pulumi.Input[Union[str, 'ConnectorOffer']] connector_offer: The cassandra connector offer type for the Cosmos DB database C* account. + :param pulumi.Input[pulumi.InputType['ConsistencyPolicyArgs']] consistency_policy: The consistency policy for the Cosmos DB account. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CorsPolicyArgs']]]] cors: The CORS policy for the Cosmos DB database account. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: Enum to indicate the mode of account creation. + :param pulumi.Input[Union[str, 'CustomerManagedKeyStatus']] customer_managed_key_status: Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + :param pulumi.Input['DatabaseAccountOfferType'] database_account_offer_type: The offer type for the database + :param pulumi.Input[str] default_identity: The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + :param pulumi.Input[Union[str, 'DefaultPriorityLevel']] default_priority_level: Enum to indicate default Priority Level of request for Priority Based Execution. + :param pulumi.Input[pulumi.InputType['DiagnosticLogSettingsArgs']] diagnostic_log_settings: The Object representing the different Diagnostic log settings for the Cosmos DB Account. + :param pulumi.Input[bool] disable_key_based_metadata_write_access: Disable write operations on metadata resources (databases, containers, throughput) via account keys + :param pulumi.Input[bool] disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + :param pulumi.Input[bool] enable_analytical_storage: Flag to indicate whether to enable storage analytics. + :param pulumi.Input[bool] enable_automatic_failover: Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + :param pulumi.Input[bool] enable_burst_capacity: Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + :param pulumi.Input[bool] enable_cassandra_connector: Enables the cassandra connector on the Cosmos DB C* account + :param pulumi.Input[bool] enable_free_tier: Flag to indicate whether Free Tier is enabled. + :param pulumi.Input[bool] enable_materialized_views: Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + :param pulumi.Input[bool] enable_multiple_write_locations: Enables the account to write in multiple locations + :param pulumi.Input[bool] enable_partition_merge: Flag to indicate enabling/disabling of Partition Merge feature on the account + :param pulumi.Input[bool] enable_priority_based_execution: Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpAddressOrRangeArgs']]]] ip_rules: List of IpRules. + :param pulumi.Input[bool] is_virtual_network_filter_enabled: Flag to indicate whether to enable/disable Virtual Network ACL rules. + :param pulumi.Input[str] key_vault_key_uri: The URI of the key vault + :param pulumi.Input[Union[str, 'DatabaseAccountKind']] kind: Indicates the type of database account. This can only be set at database account creation. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LocationArgs']]]] locations: An array that contains the georeplication locations enabled for the Cosmos DB account. + :param pulumi.Input[Union[str, 'MinimalTlsVersion']] minimal_tls_version: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + :param pulumi.Input['NetworkAclBypass'] network_acl_bypass: Indicates what services are allowed to bypass firewall checks. + :param pulumi.Input[Sequence[pulumi.Input[str]]] network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Whether requests from Public Network are allowed + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['RestoreParametersArgs']] restore_parameters: Parameters to indicate the information about the restore. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkRuleArgs']]]] virtual_network_rules: List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DatabaseAccountArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB database account. + + :param str resource_name: The name of the resource. + :param DatabaseAccountArgs 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(DatabaseAccountArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + analytical_storage_configuration: Optional[pulumi.Input[pulumi.InputType['AnalyticalStorageConfigurationArgs']]] = None, + api_properties: Optional[pulumi.Input[pulumi.InputType['ApiPropertiesArgs']]] = None, + backup_policy: Optional[pulumi.Input[Union[pulumi.InputType['ContinuousModeBackupPolicyArgs'], pulumi.InputType['PeriodicModeBackupPolicyArgs']]]] = None, + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CapabilityArgs']]]]] = None, + capacity: Optional[pulumi.Input[pulumi.InputType['CapacityArgs']]] = None, + connector_offer: Optional[pulumi.Input[Union[str, 'ConnectorOffer']]] = None, + consistency_policy: Optional[pulumi.Input[pulumi.InputType['ConsistencyPolicyArgs']]] = None, + cors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CorsPolicyArgs']]]]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + customer_managed_key_status: Optional[pulumi.Input[Union[str, 'CustomerManagedKeyStatus']]] = None, + database_account_offer_type: Optional[pulumi.Input['DatabaseAccountOfferType']] = None, + default_identity: Optional[pulumi.Input[str]] = None, + default_priority_level: Optional[pulumi.Input[Union[str, 'DefaultPriorityLevel']]] = None, + diagnostic_log_settings: Optional[pulumi.Input[pulumi.InputType['DiagnosticLogSettingsArgs']]] = None, + disable_key_based_metadata_write_access: Optional[pulumi.Input[bool]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + enable_analytical_storage: Optional[pulumi.Input[bool]] = None, + enable_automatic_failover: Optional[pulumi.Input[bool]] = None, + enable_burst_capacity: Optional[pulumi.Input[bool]] = None, + enable_cassandra_connector: Optional[pulumi.Input[bool]] = None, + enable_free_tier: Optional[pulumi.Input[bool]] = None, + enable_materialized_views: Optional[pulumi.Input[bool]] = None, + enable_multiple_write_locations: Optional[pulumi.Input[bool]] = None, + enable_partition_merge: Optional[pulumi.Input[bool]] = None, + enable_priority_based_execution: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IpAddressOrRangeArgs']]]]] = None, + is_virtual_network_filter_enabled: Optional[pulumi.Input[bool]] = None, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[Union[str, 'DatabaseAccountKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + locations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LocationArgs']]]]] = None, + minimal_tls_version: Optional[pulumi.Input[Union[str, 'MinimalTlsVersion']]] = None, + network_acl_bypass: Optional[pulumi.Input['NetworkAclBypass']] = None, + network_acl_bypass_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_parameters: Optional[pulumi.Input[pulumi.InputType['RestoreParametersArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualNetworkRuleArgs']]]]] = 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__ = DatabaseAccountArgs.__new__(DatabaseAccountArgs) + + __props__.__dict__["account_name"] = account_name + __props__.__dict__["analytical_storage_configuration"] = analytical_storage_configuration + __props__.__dict__["api_properties"] = api_properties + __props__.__dict__["backup_policy"] = backup_policy + __props__.__dict__["capabilities"] = capabilities + __props__.__dict__["capacity"] = capacity + __props__.__dict__["connector_offer"] = connector_offer + __props__.__dict__["consistency_policy"] = consistency_policy + __props__.__dict__["cors"] = cors + if create_mode is None: + create_mode = 'Default' + __props__.__dict__["create_mode"] = create_mode + __props__.__dict__["customer_managed_key_status"] = customer_managed_key_status + if database_account_offer_type is None and not opts.urn: + raise TypeError("Missing required property 'database_account_offer_type'") + __props__.__dict__["database_account_offer_type"] = database_account_offer_type + __props__.__dict__["default_identity"] = default_identity + __props__.__dict__["default_priority_level"] = default_priority_level + __props__.__dict__["diagnostic_log_settings"] = diagnostic_log_settings + __props__.__dict__["disable_key_based_metadata_write_access"] = disable_key_based_metadata_write_access + __props__.__dict__["disable_local_auth"] = disable_local_auth + __props__.__dict__["enable_analytical_storage"] = enable_analytical_storage + __props__.__dict__["enable_automatic_failover"] = enable_automatic_failover + __props__.__dict__["enable_burst_capacity"] = enable_burst_capacity + __props__.__dict__["enable_cassandra_connector"] = enable_cassandra_connector + __props__.__dict__["enable_free_tier"] = enable_free_tier + __props__.__dict__["enable_materialized_views"] = enable_materialized_views + __props__.__dict__["enable_multiple_write_locations"] = enable_multiple_write_locations + __props__.__dict__["enable_partition_merge"] = enable_partition_merge + __props__.__dict__["enable_priority_based_execution"] = enable_priority_based_execution + __props__.__dict__["identity"] = identity + __props__.__dict__["ip_rules"] = ip_rules + __props__.__dict__["is_virtual_network_filter_enabled"] = is_virtual_network_filter_enabled + __props__.__dict__["key_vault_key_uri"] = key_vault_key_uri + if kind is None: + kind = 'GlobalDocumentDB' + __props__.__dict__["kind"] = kind + __props__.__dict__["location"] = location + if locations is None and not opts.urn: + raise TypeError("Missing required property 'locations'") + __props__.__dict__["locations"] = locations + __props__.__dict__["minimal_tls_version"] = minimal_tls_version + __props__.__dict__["network_acl_bypass"] = network_acl_bypass + __props__.__dict__["network_acl_bypass_resource_ids"] = network_acl_bypass_resource_ids + __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__["restore_parameters"] = restore_parameters + __props__.__dict__["tags"] = tags + __props__.__dict__["virtual_network_rules"] = virtual_network_rules + __props__.__dict__["document_endpoint"] = None + __props__.__dict__["failover_policies"] = None + __props__.__dict__["instance_id"] = None + __props__.__dict__["keys_metadata"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["read_locations"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["write_locations"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20150408:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20151106:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160319:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20160331:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20190801:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20191212:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200301:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200401:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20200901:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210615:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230415:DatabaseAccount"), pulumi.Alias(type_="azure-native:documentdb/v20230915:DatabaseAccount")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(DatabaseAccount, __self__).__init__( + 'azure-native:documentdb/v20230915preview:DatabaseAccount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'DatabaseAccount': + """ + Get an existing DatabaseAccount 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DatabaseAccountArgs.__new__(DatabaseAccountArgs) + + __props__.__dict__["analytical_storage_configuration"] = None + __props__.__dict__["api_properties"] = None + __props__.__dict__["backup_policy"] = None + __props__.__dict__["capabilities"] = None + __props__.__dict__["capacity"] = None + __props__.__dict__["connector_offer"] = None + __props__.__dict__["consistency_policy"] = None + __props__.__dict__["cors"] = None + __props__.__dict__["create_mode"] = None + __props__.__dict__["customer_managed_key_status"] = None + __props__.__dict__["database_account_offer_type"] = None + __props__.__dict__["default_identity"] = None + __props__.__dict__["default_priority_level"] = None + __props__.__dict__["diagnostic_log_settings"] = None + __props__.__dict__["disable_key_based_metadata_write_access"] = None + __props__.__dict__["disable_local_auth"] = None + __props__.__dict__["document_endpoint"] = None + __props__.__dict__["enable_analytical_storage"] = None + __props__.__dict__["enable_automatic_failover"] = None + __props__.__dict__["enable_burst_capacity"] = None + __props__.__dict__["enable_cassandra_connector"] = None + __props__.__dict__["enable_free_tier"] = None + __props__.__dict__["enable_materialized_views"] = None + __props__.__dict__["enable_multiple_write_locations"] = None + __props__.__dict__["enable_partition_merge"] = None + __props__.__dict__["enable_priority_based_execution"] = None + __props__.__dict__["failover_policies"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["instance_id"] = None + __props__.__dict__["ip_rules"] = None + __props__.__dict__["is_virtual_network_filter_enabled"] = None + __props__.__dict__["key_vault_key_uri"] = None + __props__.__dict__["keys_metadata"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["locations"] = None + __props__.__dict__["minimal_tls_version"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_acl_bypass"] = None + __props__.__dict__["network_acl_bypass_resource_ids"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["read_locations"] = None + __props__.__dict__["restore_parameters"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["virtual_network_rules"] = None + __props__.__dict__["write_locations"] = None + return DatabaseAccount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="analyticalStorageConfiguration") + def analytical_storage_configuration(self) -> pulumi.Output[Optional['outputs.AnalyticalStorageConfigurationResponse']]: + """ + Analytical storage specific properties. + """ + return pulumi.get(self, "analytical_storage_configuration") + + @property + @pulumi.getter(name="apiProperties") + def api_properties(self) -> pulumi.Output[Optional['outputs.ApiPropertiesResponse']]: + """ + API specific properties. + """ + return pulumi.get(self, "api_properties") + + @property + @pulumi.getter(name="backupPolicy") + def backup_policy(self) -> pulumi.Output[Optional[Any]]: + """ + The object representing the policy for taking backups on an account. + """ + return pulumi.get(self, "backup_policy") + + @property + @pulumi.getter + def capabilities(self) -> pulumi.Output[Optional[Sequence['outputs.CapabilityResponse']]]: + """ + List of Cosmos DB capabilities for the account + """ + return pulumi.get(self, "capabilities") + + @property + @pulumi.getter + def capacity(self) -> pulumi.Output[Optional['outputs.CapacityResponse']]: + """ + The object that represents all properties related to capacity enforcement on an account. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter(name="connectorOffer") + def connector_offer(self) -> pulumi.Output[Optional[str]]: + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + return pulumi.get(self, "connector_offer") + + @property + @pulumi.getter(name="consistencyPolicy") + def consistency_policy(self) -> pulumi.Output[Optional['outputs.ConsistencyPolicyResponse']]: + """ + The consistency policy for the Cosmos DB database account. + """ + return pulumi.get(self, "consistency_policy") + + @property + @pulumi.getter + def cors(self) -> pulumi.Output[Optional[Sequence['outputs.CorsPolicyResponse']]]: + """ + The CORS policy for the Cosmos DB database account. + """ + return pulumi.get(self, "cors") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> pulumi.Output[Optional[str]]: + """ + Enum to indicate the mode of account creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="customerManagedKeyStatus") + def customer_managed_key_status(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + return pulumi.get(self, "customer_managed_key_status") + + @property + @pulumi.getter(name="databaseAccountOfferType") + def database_account_offer_type(self) -> pulumi.Output[str]: + """ + The offer type for the Cosmos DB database account. Default value: Standard. + """ + return pulumi.get(self, "database_account_offer_type") + + @property + @pulumi.getter(name="defaultIdentity") + def default_identity(self) -> pulumi.Output[Optional[str]]: + """ + The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + """ + return pulumi.get(self, "default_identity") + + @property + @pulumi.getter(name="defaultPriorityLevel") + def default_priority_level(self) -> pulumi.Output[Optional[str]]: + """ + Enum to indicate default Priority Level of request for Priority Based Execution. + """ + return pulumi.get(self, "default_priority_level") + + @property + @pulumi.getter(name="diagnosticLogSettings") + def diagnostic_log_settings(self) -> pulumi.Output[Optional['outputs.DiagnosticLogSettingsResponse']]: + """ + The Object representing the different Diagnostic log settings for the Cosmos DB Account. + """ + return pulumi.get(self, "diagnostic_log_settings") + + @property + @pulumi.getter(name="disableKeyBasedMetadataWriteAccess") + def disable_key_based_metadata_write_access(self) -> pulumi.Output[Optional[bool]]: + """ + Disable write operations on metadata resources (databases, containers, throughput) via account keys + """ + return pulumi.get(self, "disable_key_based_metadata_write_access") + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> pulumi.Output[Optional[bool]]: + """ + Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + """ + return pulumi.get(self, "disable_local_auth") + + @property + @pulumi.getter(name="documentEndpoint") + def document_endpoint(self) -> pulumi.Output[str]: + """ + The connection endpoint for the Cosmos DB database account. + """ + return pulumi.get(self, "document_endpoint") + + @property + @pulumi.getter(name="enableAnalyticalStorage") + def enable_analytical_storage(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether to enable storage analytics. + """ + return pulumi.get(self, "enable_analytical_storage") + + @property + @pulumi.getter(name="enableAutomaticFailover") + def enable_automatic_failover(self) -> pulumi.Output[Optional[bool]]: + """ + Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + """ + return pulumi.get(self, "enable_automatic_failover") + + @property + @pulumi.getter(name="enableBurstCapacity") + def enable_burst_capacity(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + """ + return pulumi.get(self, "enable_burst_capacity") + + @property + @pulumi.getter(name="enableCassandraConnector") + def enable_cassandra_connector(self) -> pulumi.Output[Optional[bool]]: + """ + Enables the cassandra connector on the Cosmos DB C* account + """ + return pulumi.get(self, "enable_cassandra_connector") + + @property + @pulumi.getter(name="enableFreeTier") + def enable_free_tier(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether Free Tier is enabled. + """ + return pulumi.get(self, "enable_free_tier") + + @property + @pulumi.getter(name="enableMaterializedViews") + def enable_materialized_views(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + """ + return pulumi.get(self, "enable_materialized_views") + + @property + @pulumi.getter(name="enableMultipleWriteLocations") + def enable_multiple_write_locations(self) -> pulumi.Output[Optional[bool]]: + """ + Enables the account to write in multiple locations + """ + return pulumi.get(self, "enable_multiple_write_locations") + + @property + @pulumi.getter(name="enablePartitionMerge") + def enable_partition_merge(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate enabling/disabling of Partition Merge feature on the account + """ + return pulumi.get(self, "enable_partition_merge") + + @property + @pulumi.getter(name="enablePriorityBasedExecution") + def enable_priority_based_execution(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + """ + return pulumi.get(self, "enable_priority_based_execution") + + @property + @pulumi.getter(name="failoverPolicies") + def failover_policies(self) -> pulumi.Output[Sequence['outputs.FailoverPolicyResponse']]: + """ + An array that contains the regions ordered by their failover priorities. + """ + return pulumi.get(self, "failover_policies") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> pulumi.Output[str]: + """ + A unique identifier assigned to the database account + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> pulumi.Output[Optional[Sequence['outputs.IpAddressOrRangeResponse']]]: + """ + List of IpRules. + """ + return pulumi.get(self, "ip_rules") + + @property + @pulumi.getter(name="isVirtualNetworkFilterEnabled") + def is_virtual_network_filter_enabled(self) -> pulumi.Output[Optional[bool]]: + """ + Flag to indicate whether to enable/disable Virtual Network ACL rules. + """ + return pulumi.get(self, "is_virtual_network_filter_enabled") + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> pulumi.Output[Optional[str]]: + """ + The URI of the key vault + """ + return pulumi.get(self, "key_vault_key_uri") + + @property + @pulumi.getter(name="keysMetadata") + def keys_metadata(self) -> pulumi.Output['outputs.DatabaseAccountKeysMetadataResponse']: + """ + The object that represents the metadata for the Account Keys of the Cosmos DB account. + """ + return pulumi.get(self, "keys_metadata") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the type of database account. This can only be set at database account creation. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def locations(self) -> pulumi.Output[Sequence['outputs.LocationResponse']]: + """ + An array that contains all of the locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="minimalTlsVersion") + def minimal_tls_version(self) -> pulumi.Output[Optional[str]]: + """ + Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + """ + return pulumi.get(self, "minimal_tls_version") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkAclBypass") + def network_acl_bypass(self) -> pulumi.Output[Optional[str]]: + """ + Indicates what services are allowed to bypass firewall checks. + """ + return pulumi.get(self, "network_acl_bypass") + + @property + @pulumi.getter(name="networkAclBypassResourceIds") + def network_acl_bypass_resource_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + """ + return pulumi.get(self, "network_acl_bypass_resource_ids") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + List of Private Endpoint Connections configured for the Cosmos DB account. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="readLocations") + def read_locations(self) -> pulumi.Output[Sequence['outputs.LocationResponse']]: + """ + An array that contains of the read locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "read_locations") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> pulumi.Output[Optional['outputs.RestoreParametersResponse']]: + """ + Parameters to indicate the information about the restore. + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + The system meta data relating to this resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="virtualNetworkRules") + def virtual_network_rules(self) -> pulumi.Output[Optional[Sequence['outputs.VirtualNetworkRuleResponse']]]: + """ + List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + return pulumi.get(self, "virtual_network_rules") + + @property + @pulumi.getter(name="writeLocations") + def write_locations(self) -> pulumi.Output[Sequence['outputs.LocationResponse']]: + """ + An array that contains the write location for the Cosmos DB account. + """ + return pulumi.get(self, "write_locations") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_cluster.py new file mode 100644 index 000000000000..818adfd1aabd --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_cluster.py @@ -0,0 +1,157 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraClusterResult', + 'AwaitableGetCassandraClusterResult', + 'get_cassandra_cluster', + 'get_cassandra_cluster_output', +] + +@pulumi.output_type +class GetCassandraClusterResult: + """ + Representation of a managed Cassandra cluster. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, properties=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedCassandraManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ClusterResourceResponseProperties': + """ + Properties of a managed Cassandra cluster. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraClusterResult(GetCassandraClusterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraClusterResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + properties=self.properties, + tags=self.tags, + type=self.type) + + +def get_cassandra_cluster(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraClusterResult: + """ + Get the properties of a managed Cassandra cluster. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getCassandraCluster', __args__, opts=opts, typ=GetCassandraClusterResult).value + + return AwaitableGetCassandraClusterResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_cluster) +def get_cassandra_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraClusterResult]: + """ + Get the properties of a managed Cassandra cluster. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_data_center.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_data_center.py new file mode 100644 index 000000000000..785a4906fa76 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_data_center.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraDataCenterResult', + 'AwaitableGetCassandraDataCenterResult', + 'get_cassandra_data_center', + 'get_cassandra_data_center_output', +] + +@pulumi.output_type +class GetCassandraDataCenterResult: + """ + A managed Cassandra data center. + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.DataCenterResourceResponseProperties': + """ + Properties of a managed Cassandra data center. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraDataCenterResult(GetCassandraDataCenterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraDataCenterResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_cassandra_data_center(cluster_name: Optional[str] = None, + data_center_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraDataCenterResult: + """ + Get the properties of a managed Cassandra data center. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str data_center_name: Data center name in a managed Cassandra cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['dataCenterName'] = data_center_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getCassandraDataCenter', __args__, opts=opts, typ=GetCassandraDataCenterResult).value + + return AwaitableGetCassandraDataCenterResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_data_center) +def get_cassandra_data_center_output(cluster_name: Optional[pulumi.Input[str]] = None, + data_center_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraDataCenterResult]: + """ + Get the properties of a managed Cassandra data center. + + + :param str cluster_name: Managed Cassandra cluster name. + :param str data_center_name: Data center name in a managed Cassandra cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_keyspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_keyspace.py new file mode 100644 index 000000000000..57fb3972a274 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_keyspace.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraResourceCassandraKeyspaceResult', + 'AwaitableGetCassandraResourceCassandraKeyspaceResult', + 'get_cassandra_resource_cassandra_keyspace', + 'get_cassandra_resource_cassandra_keyspace_output', +] + +@pulumi.output_type +class GetCassandraResourceCassandraKeyspaceResult: + """ + An Azure Cosmos DB Cassandra keyspace. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.CassandraKeyspaceGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.CassandraKeyspaceGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraResourceCassandraKeyspaceResult(GetCassandraResourceCassandraKeyspaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraResourceCassandraKeyspaceResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_cassandra_resource_cassandra_keyspace(account_name: Optional[str] = None, + keyspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraResourceCassandraKeyspaceResult: + """ + Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['keyspaceName'] = keyspace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getCassandraResourceCassandraKeyspace', __args__, opts=opts, typ=GetCassandraResourceCassandraKeyspaceResult).value + + return AwaitableGetCassandraResourceCassandraKeyspaceResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_resource_cassandra_keyspace) +def get_cassandra_resource_cassandra_keyspace_output(account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraResourceCassandraKeyspaceResult]: + """ + Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_table.py new file mode 100644 index 000000000000..21d8fdeafa62 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_table.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraResourceCassandraTableResult', + 'AwaitableGetCassandraResourceCassandraTableResult', + 'get_cassandra_resource_cassandra_table', + 'get_cassandra_resource_cassandra_table_output', +] + +@pulumi.output_type +class GetCassandraResourceCassandraTableResult: + """ + An Azure Cosmos DB Cassandra table. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.CassandraTableGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.CassandraTableGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraResourceCassandraTableResult(GetCassandraResourceCassandraTableResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraResourceCassandraTableResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_cassandra_resource_cassandra_table(account_name: Optional[str] = None, + keyspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + table_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraResourceCassandraTableResult: + """ + Gets the Cassandra table under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['keyspaceName'] = keyspace_name + __args__['resourceGroupName'] = resource_group_name + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getCassandraResourceCassandraTable', __args__, opts=opts, typ=GetCassandraResourceCassandraTableResult).value + + return AwaitableGetCassandraResourceCassandraTableResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_resource_cassandra_table) +def get_cassandra_resource_cassandra_table_output(account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraResourceCassandraTableResult]: + """ + Gets the Cassandra table under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_view.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_view.py new file mode 100644 index 000000000000..4e8c6fb11cfd --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_cassandra_resource_cassandra_view.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCassandraResourceCassandraViewResult', + 'AwaitableGetCassandraResourceCassandraViewResult', + 'get_cassandra_resource_cassandra_view', + 'get_cassandra_resource_cassandra_view_output', +] + +@pulumi.output_type +class GetCassandraResourceCassandraViewResult: + """ + An Azure Cosmos DB Cassandra view. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.CassandraViewGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.CassandraViewGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetCassandraResourceCassandraViewResult(GetCassandraResourceCassandraViewResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCassandraResourceCassandraViewResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_cassandra_resource_cassandra_view(account_name: Optional[str] = None, + keyspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + view_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraResourceCassandraViewResult: + """ + Gets the Cassandra view under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str view_name: Cosmos DB view name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['keyspaceName'] = keyspace_name + __args__['resourceGroupName'] = resource_group_name + __args__['viewName'] = view_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getCassandraResourceCassandraView', __args__, opts=opts, typ=GetCassandraResourceCassandraViewResult).value + + return AwaitableGetCassandraResourceCassandraViewResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cassandra_resource_cassandra_view) +def get_cassandra_resource_cassandra_view_output(account_name: Optional[pulumi.Input[str]] = None, + keyspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + view_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCassandraResourceCassandraViewResult]: + """ + Gets the Cassandra view under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str keyspace_name: Cosmos DB keyspace name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str view_name: Cosmos DB view name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_database_account.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_database_account.py new file mode 100644 index 000000000000..8267087711f0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_database_account.py @@ -0,0 +1,729 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDatabaseAccountResult', + 'AwaitableGetDatabaseAccountResult', + 'get_database_account', + 'get_database_account_output', +] + +@pulumi.output_type +class GetDatabaseAccountResult: + """ + An Azure Cosmos DB database account. + """ + def __init__(__self__, analytical_storage_configuration=None, api_properties=None, backup_policy=None, capabilities=None, capacity=None, connector_offer=None, consistency_policy=None, cors=None, create_mode=None, customer_managed_key_status=None, database_account_offer_type=None, default_identity=None, default_priority_level=None, diagnostic_log_settings=None, disable_key_based_metadata_write_access=None, disable_local_auth=None, document_endpoint=None, enable_analytical_storage=None, enable_automatic_failover=None, enable_burst_capacity=None, enable_cassandra_connector=None, enable_free_tier=None, enable_materialized_views=None, enable_multiple_write_locations=None, enable_partition_merge=None, enable_priority_based_execution=None, failover_policies=None, id=None, identity=None, instance_id=None, ip_rules=None, is_virtual_network_filter_enabled=None, key_vault_key_uri=None, keys_metadata=None, kind=None, location=None, locations=None, minimal_tls_version=None, name=None, network_acl_bypass=None, network_acl_bypass_resource_ids=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, read_locations=None, restore_parameters=None, system_data=None, tags=None, type=None, virtual_network_rules=None, write_locations=None): + if analytical_storage_configuration and not isinstance(analytical_storage_configuration, dict): + raise TypeError("Expected argument 'analytical_storage_configuration' to be a dict") + pulumi.set(__self__, "analytical_storage_configuration", analytical_storage_configuration) + if api_properties and not isinstance(api_properties, dict): + raise TypeError("Expected argument 'api_properties' to be a dict") + pulumi.set(__self__, "api_properties", api_properties) + if backup_policy and not isinstance(backup_policy, dict): + raise TypeError("Expected argument 'backup_policy' to be a dict") + pulumi.set(__self__, "backup_policy", backup_policy) + if capabilities and not isinstance(capabilities, list): + raise TypeError("Expected argument 'capabilities' to be a list") + pulumi.set(__self__, "capabilities", capabilities) + if capacity and not isinstance(capacity, dict): + raise TypeError("Expected argument 'capacity' to be a dict") + pulumi.set(__self__, "capacity", capacity) + if connector_offer and not isinstance(connector_offer, str): + raise TypeError("Expected argument 'connector_offer' to be a str") + pulumi.set(__self__, "connector_offer", connector_offer) + if consistency_policy and not isinstance(consistency_policy, dict): + raise TypeError("Expected argument 'consistency_policy' to be a dict") + pulumi.set(__self__, "consistency_policy", consistency_policy) + if cors and not isinstance(cors, list): + raise TypeError("Expected argument 'cors' to be a list") + pulumi.set(__self__, "cors", cors) + if create_mode and not isinstance(create_mode, str): + raise TypeError("Expected argument 'create_mode' to be a str") + pulumi.set(__self__, "create_mode", create_mode) + if customer_managed_key_status and not isinstance(customer_managed_key_status, str): + raise TypeError("Expected argument 'customer_managed_key_status' to be a str") + pulumi.set(__self__, "customer_managed_key_status", customer_managed_key_status) + if database_account_offer_type and not isinstance(database_account_offer_type, str): + raise TypeError("Expected argument 'database_account_offer_type' to be a str") + pulumi.set(__self__, "database_account_offer_type", database_account_offer_type) + if default_identity and not isinstance(default_identity, str): + raise TypeError("Expected argument 'default_identity' to be a str") + pulumi.set(__self__, "default_identity", default_identity) + if default_priority_level and not isinstance(default_priority_level, str): + raise TypeError("Expected argument 'default_priority_level' to be a str") + pulumi.set(__self__, "default_priority_level", default_priority_level) + if diagnostic_log_settings and not isinstance(diagnostic_log_settings, dict): + raise TypeError("Expected argument 'diagnostic_log_settings' to be a dict") + pulumi.set(__self__, "diagnostic_log_settings", diagnostic_log_settings) + if disable_key_based_metadata_write_access and not isinstance(disable_key_based_metadata_write_access, bool): + raise TypeError("Expected argument 'disable_key_based_metadata_write_access' to be a bool") + pulumi.set(__self__, "disable_key_based_metadata_write_access", disable_key_based_metadata_write_access) + if disable_local_auth and not isinstance(disable_local_auth, bool): + raise TypeError("Expected argument 'disable_local_auth' to be a bool") + pulumi.set(__self__, "disable_local_auth", disable_local_auth) + if document_endpoint and not isinstance(document_endpoint, str): + raise TypeError("Expected argument 'document_endpoint' to be a str") + pulumi.set(__self__, "document_endpoint", document_endpoint) + if enable_analytical_storage and not isinstance(enable_analytical_storage, bool): + raise TypeError("Expected argument 'enable_analytical_storage' to be a bool") + pulumi.set(__self__, "enable_analytical_storage", enable_analytical_storage) + if enable_automatic_failover and not isinstance(enable_automatic_failover, bool): + raise TypeError("Expected argument 'enable_automatic_failover' to be a bool") + pulumi.set(__self__, "enable_automatic_failover", enable_automatic_failover) + if enable_burst_capacity and not isinstance(enable_burst_capacity, bool): + raise TypeError("Expected argument 'enable_burst_capacity' to be a bool") + pulumi.set(__self__, "enable_burst_capacity", enable_burst_capacity) + if enable_cassandra_connector and not isinstance(enable_cassandra_connector, bool): + raise TypeError("Expected argument 'enable_cassandra_connector' to be a bool") + pulumi.set(__self__, "enable_cassandra_connector", enable_cassandra_connector) + if enable_free_tier and not isinstance(enable_free_tier, bool): + raise TypeError("Expected argument 'enable_free_tier' to be a bool") + pulumi.set(__self__, "enable_free_tier", enable_free_tier) + if enable_materialized_views and not isinstance(enable_materialized_views, bool): + raise TypeError("Expected argument 'enable_materialized_views' to be a bool") + pulumi.set(__self__, "enable_materialized_views", enable_materialized_views) + if enable_multiple_write_locations and not isinstance(enable_multiple_write_locations, bool): + raise TypeError("Expected argument 'enable_multiple_write_locations' to be a bool") + pulumi.set(__self__, "enable_multiple_write_locations", enable_multiple_write_locations) + if enable_partition_merge and not isinstance(enable_partition_merge, bool): + raise TypeError("Expected argument 'enable_partition_merge' to be a bool") + pulumi.set(__self__, "enable_partition_merge", enable_partition_merge) + if enable_priority_based_execution and not isinstance(enable_priority_based_execution, bool): + raise TypeError("Expected argument 'enable_priority_based_execution' to be a bool") + pulumi.set(__self__, "enable_priority_based_execution", enable_priority_based_execution) + if failover_policies and not isinstance(failover_policies, list): + raise TypeError("Expected argument 'failover_policies' to be a list") + pulumi.set(__self__, "failover_policies", failover_policies) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if instance_id and not isinstance(instance_id, str): + raise TypeError("Expected argument 'instance_id' to be a str") + pulumi.set(__self__, "instance_id", instance_id) + if ip_rules and not isinstance(ip_rules, list): + raise TypeError("Expected argument 'ip_rules' to be a list") + pulumi.set(__self__, "ip_rules", ip_rules) + if is_virtual_network_filter_enabled and not isinstance(is_virtual_network_filter_enabled, bool): + raise TypeError("Expected argument 'is_virtual_network_filter_enabled' to be a bool") + pulumi.set(__self__, "is_virtual_network_filter_enabled", is_virtual_network_filter_enabled) + if key_vault_key_uri and not isinstance(key_vault_key_uri, str): + raise TypeError("Expected argument 'key_vault_key_uri' to be a str") + pulumi.set(__self__, "key_vault_key_uri", key_vault_key_uri) + if keys_metadata and not isinstance(keys_metadata, dict): + raise TypeError("Expected argument 'keys_metadata' to be a dict") + pulumi.set(__self__, "keys_metadata", keys_metadata) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if locations and not isinstance(locations, list): + raise TypeError("Expected argument 'locations' to be a list") + pulumi.set(__self__, "locations", locations) + if minimal_tls_version and not isinstance(minimal_tls_version, str): + raise TypeError("Expected argument 'minimal_tls_version' to be a str") + pulumi.set(__self__, "minimal_tls_version", minimal_tls_version) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_acl_bypass and not isinstance(network_acl_bypass, str): + raise TypeError("Expected argument 'network_acl_bypass' to be a str") + pulumi.set(__self__, "network_acl_bypass", network_acl_bypass) + if network_acl_bypass_resource_ids and not isinstance(network_acl_bypass_resource_ids, list): + raise TypeError("Expected argument 'network_acl_bypass_resource_ids' to be a list") + pulumi.set(__self__, "network_acl_bypass_resource_ids", network_acl_bypass_resource_ids) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if read_locations and not isinstance(read_locations, list): + raise TypeError("Expected argument 'read_locations' to be a list") + pulumi.set(__self__, "read_locations", read_locations) + if restore_parameters and not isinstance(restore_parameters, dict): + raise TypeError("Expected argument 'restore_parameters' to be a dict") + pulumi.set(__self__, "restore_parameters", restore_parameters) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if virtual_network_rules and not isinstance(virtual_network_rules, list): + raise TypeError("Expected argument 'virtual_network_rules' to be a list") + pulumi.set(__self__, "virtual_network_rules", virtual_network_rules) + if write_locations and not isinstance(write_locations, list): + raise TypeError("Expected argument 'write_locations' to be a list") + pulumi.set(__self__, "write_locations", write_locations) + + @property + @pulumi.getter(name="analyticalStorageConfiguration") + def analytical_storage_configuration(self) -> Optional['outputs.AnalyticalStorageConfigurationResponse']: + """ + Analytical storage specific properties. + """ + return pulumi.get(self, "analytical_storage_configuration") + + @property + @pulumi.getter(name="apiProperties") + def api_properties(self) -> Optional['outputs.ApiPropertiesResponse']: + """ + API specific properties. + """ + return pulumi.get(self, "api_properties") + + @property + @pulumi.getter(name="backupPolicy") + def backup_policy(self) -> Optional[Any]: + """ + The object representing the policy for taking backups on an account. + """ + return pulumi.get(self, "backup_policy") + + @property + @pulumi.getter + def capabilities(self) -> Optional[Sequence['outputs.CapabilityResponse']]: + """ + List of Cosmos DB capabilities for the account + """ + return pulumi.get(self, "capabilities") + + @property + @pulumi.getter + def capacity(self) -> Optional['outputs.CapacityResponse']: + """ + The object that represents all properties related to capacity enforcement on an account. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter(name="connectorOffer") + def connector_offer(self) -> Optional[str]: + """ + The cassandra connector offer type for the Cosmos DB database C* account. + """ + return pulumi.get(self, "connector_offer") + + @property + @pulumi.getter(name="consistencyPolicy") + def consistency_policy(self) -> Optional['outputs.ConsistencyPolicyResponse']: + """ + The consistency policy for the Cosmos DB database account. + """ + return pulumi.get(self, "consistency_policy") + + @property + @pulumi.getter + def cors(self) -> Optional[Sequence['outputs.CorsPolicyResponse']]: + """ + The CORS policy for the Cosmos DB database account. + """ + return pulumi.get(self, "cors") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of account creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="customerManagedKeyStatus") + def customer_managed_key_status(self) -> Optional[str]: + """ + Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. + """ + return pulumi.get(self, "customer_managed_key_status") + + @property + @pulumi.getter(name="databaseAccountOfferType") + def database_account_offer_type(self) -> str: + """ + The offer type for the Cosmos DB database account. Default value: Standard. + """ + return pulumi.get(self, "database_account_offer_type") + + @property + @pulumi.getter(name="defaultIdentity") + def default_identity(self) -> Optional[str]: + """ + The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. + """ + return pulumi.get(self, "default_identity") + + @property + @pulumi.getter(name="defaultPriorityLevel") + def default_priority_level(self) -> Optional[str]: + """ + Enum to indicate default Priority Level of request for Priority Based Execution. + """ + return pulumi.get(self, "default_priority_level") + + @property + @pulumi.getter(name="diagnosticLogSettings") + def diagnostic_log_settings(self) -> Optional['outputs.DiagnosticLogSettingsResponse']: + """ + The Object representing the different Diagnostic log settings for the Cosmos DB Account. + """ + return pulumi.get(self, "diagnostic_log_settings") + + @property + @pulumi.getter(name="disableKeyBasedMetadataWriteAccess") + def disable_key_based_metadata_write_access(self) -> Optional[bool]: + """ + Disable write operations on metadata resources (databases, containers, throughput) via account keys + """ + return pulumi.get(self, "disable_key_based_metadata_write_access") + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> Optional[bool]: + """ + Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. + """ + return pulumi.get(self, "disable_local_auth") + + @property + @pulumi.getter(name="documentEndpoint") + def document_endpoint(self) -> str: + """ + The connection endpoint for the Cosmos DB database account. + """ + return pulumi.get(self, "document_endpoint") + + @property + @pulumi.getter(name="enableAnalyticalStorage") + def enable_analytical_storage(self) -> Optional[bool]: + """ + Flag to indicate whether to enable storage analytics. + """ + return pulumi.get(self, "enable_analytical_storage") + + @property + @pulumi.getter(name="enableAutomaticFailover") + def enable_automatic_failover(self) -> Optional[bool]: + """ + Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + """ + return pulumi.get(self, "enable_automatic_failover") + + @property + @pulumi.getter(name="enableBurstCapacity") + def enable_burst_capacity(self) -> Optional[bool]: + """ + Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account + """ + return pulumi.get(self, "enable_burst_capacity") + + @property + @pulumi.getter(name="enableCassandraConnector") + def enable_cassandra_connector(self) -> Optional[bool]: + """ + Enables the cassandra connector on the Cosmos DB C* account + """ + return pulumi.get(self, "enable_cassandra_connector") + + @property + @pulumi.getter(name="enableFreeTier") + def enable_free_tier(self) -> Optional[bool]: + """ + Flag to indicate whether Free Tier is enabled. + """ + return pulumi.get(self, "enable_free_tier") + + @property + @pulumi.getter(name="enableMaterializedViews") + def enable_materialized_views(self) -> Optional[bool]: + """ + Flag to indicate whether to enable MaterializedViews on the Cosmos DB account + """ + return pulumi.get(self, "enable_materialized_views") + + @property + @pulumi.getter(name="enableMultipleWriteLocations") + def enable_multiple_write_locations(self) -> Optional[bool]: + """ + Enables the account to write in multiple locations + """ + return pulumi.get(self, "enable_multiple_write_locations") + + @property + @pulumi.getter(name="enablePartitionMerge") + def enable_partition_merge(self) -> Optional[bool]: + """ + Flag to indicate enabling/disabling of Partition Merge feature on the account + """ + return pulumi.get(self, "enable_partition_merge") + + @property + @pulumi.getter(name="enablePriorityBasedExecution") + def enable_priority_based_execution(self) -> Optional[bool]: + """ + Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account + """ + return pulumi.get(self, "enable_priority_based_execution") + + @property + @pulumi.getter(name="failoverPolicies") + def failover_policies(self) -> Sequence['outputs.FailoverPolicyResponse']: + """ + An array that contains the regions ordered by their failover priorities. + """ + return pulumi.get(self, "failover_policies") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> str: + """ + A unique identifier assigned to the database account + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> Optional[Sequence['outputs.IpAddressOrRangeResponse']]: + """ + List of IpRules. + """ + return pulumi.get(self, "ip_rules") + + @property + @pulumi.getter(name="isVirtualNetworkFilterEnabled") + def is_virtual_network_filter_enabled(self) -> Optional[bool]: + """ + Flag to indicate whether to enable/disable Virtual Network ACL rules. + """ + return pulumi.get(self, "is_virtual_network_filter_enabled") + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> Optional[str]: + """ + The URI of the key vault + """ + return pulumi.get(self, "key_vault_key_uri") + + @property + @pulumi.getter(name="keysMetadata") + def keys_metadata(self) -> 'outputs.DatabaseAccountKeysMetadataResponse': + """ + The object that represents the metadata for the Account Keys of the Cosmos DB account. + """ + return pulumi.get(self, "keys_metadata") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Indicates the type of database account. This can only be set at database account creation. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.LocationResponse']: + """ + An array that contains all of the locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="minimalTlsVersion") + def minimal_tls_version(self) -> Optional[str]: + """ + Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. + """ + return pulumi.get(self, "minimal_tls_version") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkAclBypass") + def network_acl_bypass(self) -> Optional[str]: + """ + Indicates what services are allowed to bypass firewall checks. + """ + return pulumi.get(self, "network_acl_bypass") + + @property + @pulumi.getter(name="networkAclBypassResourceIds") + def network_acl_bypass_resource_ids(self) -> Optional[Sequence[str]]: + """ + An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. + """ + return pulumi.get(self, "network_acl_bypass_resource_ids") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + List of Private Endpoint Connections configured for the Cosmos DB account. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Whether requests from Public Network are allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="readLocations") + def read_locations(self) -> Sequence['outputs.LocationResponse']: + """ + An array that contains of the read locations enabled for the Cosmos DB account. + """ + return pulumi.get(self, "read_locations") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.RestoreParametersResponse']: + """ + Parameters to indicate the information about the restore. + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + The system meta data relating to this resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="virtualNetworkRules") + def virtual_network_rules(self) -> Optional[Sequence['outputs.VirtualNetworkRuleResponse']]: + """ + List of Virtual Network ACL rules configured for the Cosmos DB account. + """ + return pulumi.get(self, "virtual_network_rules") + + @property + @pulumi.getter(name="writeLocations") + def write_locations(self) -> Sequence['outputs.LocationResponse']: + """ + An array that contains the write location for the Cosmos DB account. + """ + return pulumi.get(self, "write_locations") + + +class AwaitableGetDatabaseAccountResult(GetDatabaseAccountResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDatabaseAccountResult( + analytical_storage_configuration=self.analytical_storage_configuration, + api_properties=self.api_properties, + backup_policy=self.backup_policy, + capabilities=self.capabilities, + capacity=self.capacity, + connector_offer=self.connector_offer, + consistency_policy=self.consistency_policy, + cors=self.cors, + create_mode=self.create_mode, + customer_managed_key_status=self.customer_managed_key_status, + database_account_offer_type=self.database_account_offer_type, + default_identity=self.default_identity, + default_priority_level=self.default_priority_level, + diagnostic_log_settings=self.diagnostic_log_settings, + disable_key_based_metadata_write_access=self.disable_key_based_metadata_write_access, + disable_local_auth=self.disable_local_auth, + document_endpoint=self.document_endpoint, + enable_analytical_storage=self.enable_analytical_storage, + enable_automatic_failover=self.enable_automatic_failover, + enable_burst_capacity=self.enable_burst_capacity, + enable_cassandra_connector=self.enable_cassandra_connector, + enable_free_tier=self.enable_free_tier, + enable_materialized_views=self.enable_materialized_views, + enable_multiple_write_locations=self.enable_multiple_write_locations, + enable_partition_merge=self.enable_partition_merge, + enable_priority_based_execution=self.enable_priority_based_execution, + failover_policies=self.failover_policies, + id=self.id, + identity=self.identity, + instance_id=self.instance_id, + ip_rules=self.ip_rules, + is_virtual_network_filter_enabled=self.is_virtual_network_filter_enabled, + key_vault_key_uri=self.key_vault_key_uri, + keys_metadata=self.keys_metadata, + kind=self.kind, + location=self.location, + locations=self.locations, + minimal_tls_version=self.minimal_tls_version, + name=self.name, + network_acl_bypass=self.network_acl_bypass, + network_acl_bypass_resource_ids=self.network_acl_bypass_resource_ids, + private_endpoint_connections=self.private_endpoint_connections, + provisioning_state=self.provisioning_state, + public_network_access=self.public_network_access, + read_locations=self.read_locations, + restore_parameters=self.restore_parameters, + system_data=self.system_data, + tags=self.tags, + type=self.type, + virtual_network_rules=self.virtual_network_rules, + write_locations=self.write_locations) + + +def get_database_account(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseAccountResult: + """ + Retrieves the properties of an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getDatabaseAccount', __args__, opts=opts, typ=GetDatabaseAccountResult).value + + return AwaitableGetDatabaseAccountResult( + analytical_storage_configuration=pulumi.get(__ret__, 'analytical_storage_configuration'), + api_properties=pulumi.get(__ret__, 'api_properties'), + backup_policy=pulumi.get(__ret__, 'backup_policy'), + capabilities=pulumi.get(__ret__, 'capabilities'), + capacity=pulumi.get(__ret__, 'capacity'), + connector_offer=pulumi.get(__ret__, 'connector_offer'), + consistency_policy=pulumi.get(__ret__, 'consistency_policy'), + cors=pulumi.get(__ret__, 'cors'), + create_mode=pulumi.get(__ret__, 'create_mode'), + customer_managed_key_status=pulumi.get(__ret__, 'customer_managed_key_status'), + database_account_offer_type=pulumi.get(__ret__, 'database_account_offer_type'), + default_identity=pulumi.get(__ret__, 'default_identity'), + default_priority_level=pulumi.get(__ret__, 'default_priority_level'), + diagnostic_log_settings=pulumi.get(__ret__, 'diagnostic_log_settings'), + disable_key_based_metadata_write_access=pulumi.get(__ret__, 'disable_key_based_metadata_write_access'), + disable_local_auth=pulumi.get(__ret__, 'disable_local_auth'), + document_endpoint=pulumi.get(__ret__, 'document_endpoint'), + enable_analytical_storage=pulumi.get(__ret__, 'enable_analytical_storage'), + enable_automatic_failover=pulumi.get(__ret__, 'enable_automatic_failover'), + enable_burst_capacity=pulumi.get(__ret__, 'enable_burst_capacity'), + enable_cassandra_connector=pulumi.get(__ret__, 'enable_cassandra_connector'), + enable_free_tier=pulumi.get(__ret__, 'enable_free_tier'), + enable_materialized_views=pulumi.get(__ret__, 'enable_materialized_views'), + enable_multiple_write_locations=pulumi.get(__ret__, 'enable_multiple_write_locations'), + enable_partition_merge=pulumi.get(__ret__, 'enable_partition_merge'), + enable_priority_based_execution=pulumi.get(__ret__, 'enable_priority_based_execution'), + failover_policies=pulumi.get(__ret__, 'failover_policies'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + instance_id=pulumi.get(__ret__, 'instance_id'), + ip_rules=pulumi.get(__ret__, 'ip_rules'), + is_virtual_network_filter_enabled=pulumi.get(__ret__, 'is_virtual_network_filter_enabled'), + key_vault_key_uri=pulumi.get(__ret__, 'key_vault_key_uri'), + keys_metadata=pulumi.get(__ret__, 'keys_metadata'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + locations=pulumi.get(__ret__, 'locations'), + minimal_tls_version=pulumi.get(__ret__, 'minimal_tls_version'), + name=pulumi.get(__ret__, 'name'), + network_acl_bypass=pulumi.get(__ret__, 'network_acl_bypass'), + network_acl_bypass_resource_ids=pulumi.get(__ret__, 'network_acl_bypass_resource_ids'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + read_locations=pulumi.get(__ret__, 'read_locations'), + restore_parameters=pulumi.get(__ret__, 'restore_parameters'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + virtual_network_rules=pulumi.get(__ret__, 'virtual_network_rules'), + write_locations=pulumi.get(__ret__, 'write_locations')) + + +@_utilities.lift_output_func(get_database_account) +def get_database_account_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseAccountResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_graph_resource_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_graph_resource_graph.py new file mode 100644 index 000000000000..34f0a1cb4bc2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_graph_resource_graph.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGraphResourceGraphResult', + 'AwaitableGetGraphResourceGraphResult', + 'get_graph_resource_graph', + 'get_graph_resource_graph_output', +] + +@pulumi.output_type +class GetGraphResourceGraphResult: + """ + An Azure Cosmos DB Graph resource. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.GraphResourceGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.GraphResourceGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetGraphResourceGraphResult(GetGraphResourceGraphResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGraphResourceGraphResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_graph_resource_graph(account_name: Optional[str] = None, + graph_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGraphResourceGraphResult: + """ + Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str graph_name: Cosmos DB graph resource name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['graphName'] = graph_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getGraphResourceGraph', __args__, opts=opts, typ=GetGraphResourceGraphResult).value + + return AwaitableGetGraphResourceGraphResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_graph_resource_graph) +def get_graph_resource_graph_output(account_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGraphResourceGraphResult]: + """ + Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str graph_name: Cosmos DB graph resource name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_gremlin_resource_gremlin_database.py new file mode 100644 index 000000000000..217e2e7779f3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_gremlin_resource_gremlin_database.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGremlinResourceGremlinDatabaseResult', + 'AwaitableGetGremlinResourceGremlinDatabaseResult', + 'get_gremlin_resource_gremlin_database', + 'get_gremlin_resource_gremlin_database_output', +] + +@pulumi.output_type +class GetGremlinResourceGremlinDatabaseResult: + """ + An Azure Cosmos DB Gremlin database. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.GremlinDatabaseGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.GremlinDatabaseGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetGremlinResourceGremlinDatabaseResult(GetGremlinResourceGremlinDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGremlinResourceGremlinDatabaseResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_gremlin_resource_gremlin_database(account_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGremlinResourceGremlinDatabaseResult: + """ + Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getGremlinResourceGremlinDatabase', __args__, opts=opts, typ=GetGremlinResourceGremlinDatabaseResult).value + + return AwaitableGetGremlinResourceGremlinDatabaseResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_gremlin_resource_gremlin_database) +def get_gremlin_resource_gremlin_database_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGremlinResourceGremlinDatabaseResult]: + """ + Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_gremlin_resource_gremlin_graph.py new file mode 100644 index 000000000000..8bee2d978e22 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_gremlin_resource_gremlin_graph.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGremlinResourceGremlinGraphResult', + 'AwaitableGetGremlinResourceGremlinGraphResult', + 'get_gremlin_resource_gremlin_graph', + 'get_gremlin_resource_gremlin_graph_output', +] + +@pulumi.output_type +class GetGremlinResourceGremlinGraphResult: + """ + An Azure Cosmos DB Gremlin graph. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.GremlinGraphGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.GremlinGraphGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetGremlinResourceGremlinGraphResult(GetGremlinResourceGremlinGraphResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGremlinResourceGremlinGraphResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_gremlin_resource_gremlin_graph(account_name: Optional[str] = None, + database_name: Optional[str] = None, + graph_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGremlinResourceGremlinGraphResult: + """ + Gets the Gremlin graph under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str graph_name: Cosmos DB graph name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['graphName'] = graph_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getGremlinResourceGremlinGraph', __args__, opts=opts, typ=GetGremlinResourceGremlinGraphResult).value + + return AwaitableGetGremlinResourceGremlinGraphResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_gremlin_resource_gremlin_graph) +def get_gremlin_resource_gremlin_graph_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGremlinResourceGremlinGraphResult]: + """ + Gets the Gremlin graph under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str graph_name: Cosmos DB graph name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_cluster.py new file mode 100644 index 000000000000..512ae40c5af7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_cluster.py @@ -0,0 +1,235 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoClusterResult', + 'AwaitableGetMongoClusterResult', + 'get_mongo_cluster', + 'get_mongo_cluster_output', +] + +@pulumi.output_type +class GetMongoClusterResult: + """ + Represents a mongo cluster resource. + """ + def __init__(__self__, administrator_login=None, cluster_status=None, connection_string=None, earliest_restore_time=None, id=None, location=None, name=None, node_group_specs=None, provisioning_state=None, server_version=None, system_data=None, tags=None, type=None): + if administrator_login and not isinstance(administrator_login, str): + raise TypeError("Expected argument 'administrator_login' to be a str") + pulumi.set(__self__, "administrator_login", administrator_login) + if cluster_status and not isinstance(cluster_status, str): + raise TypeError("Expected argument 'cluster_status' to be a str") + pulumi.set(__self__, "cluster_status", cluster_status) + if connection_string and not isinstance(connection_string, str): + raise TypeError("Expected argument 'connection_string' to be a str") + pulumi.set(__self__, "connection_string", connection_string) + if earliest_restore_time and not isinstance(earliest_restore_time, str): + raise TypeError("Expected argument 'earliest_restore_time' to be a str") + pulumi.set(__self__, "earliest_restore_time", earliest_restore_time) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if node_group_specs and not isinstance(node_group_specs, list): + raise TypeError("Expected argument 'node_group_specs' to be a list") + pulumi.set(__self__, "node_group_specs", node_group_specs) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if server_version and not isinstance(server_version, str): + raise TypeError("Expected argument 'server_version' to be a str") + pulumi.set(__self__, "server_version", server_version) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="administratorLogin") + def administrator_login(self) -> Optional[str]: + """ + The administrator's login for the mongo cluster. + """ + return pulumi.get(self, "administrator_login") + + @property + @pulumi.getter(name="clusterStatus") + def cluster_status(self) -> str: + """ + A status of the mongo cluster. + """ + return pulumi.get(self, "cluster_status") + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> str: + """ + The default mongo connection string for the cluster. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter(name="earliestRestoreTime") + def earliest_restore_time(self) -> str: + """ + Earliest restore timestamp in UTC ISO8601 format. + """ + return pulumi.get(self, "earliest_restore_time") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeGroupSpecs") + def node_group_specs(self) -> Optional[Sequence['outputs.NodeGroupSpecResponse']]: + """ + The list of node group specs in the cluster. + """ + return pulumi.get(self, "node_group_specs") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + A provisioning state of the mongo cluster. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> Optional[str]: + """ + The Mongo DB server version. Defaults to the latest available version if not specified. + """ + return pulumi.get(self, "server_version") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoClusterResult(GetMongoClusterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoClusterResult( + administrator_login=self.administrator_login, + cluster_status=self.cluster_status, + connection_string=self.connection_string, + earliest_restore_time=self.earliest_restore_time, + id=self.id, + location=self.location, + name=self.name, + node_group_specs=self.node_group_specs, + provisioning_state=self.provisioning_state, + server_version=self.server_version, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_mongo_cluster(mongo_cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoClusterResult: + """ + Gets information about a mongo cluster. + + + :param str mongo_cluster_name: The name of the mongo cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['mongoClusterName'] = mongo_cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getMongoCluster', __args__, opts=opts, typ=GetMongoClusterResult).value + + return AwaitableGetMongoClusterResult( + administrator_login=pulumi.get(__ret__, 'administrator_login'), + cluster_status=pulumi.get(__ret__, 'cluster_status'), + connection_string=pulumi.get(__ret__, 'connection_string'), + earliest_restore_time=pulumi.get(__ret__, 'earliest_restore_time'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + node_group_specs=pulumi.get(__ret__, 'node_group_specs'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + server_version=pulumi.get(__ret__, 'server_version'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_cluster) +def get_mongo_cluster_output(mongo_cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoClusterResult]: + """ + Gets information about a mongo cluster. + + + :param str mongo_cluster_name: The name of the mongo cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_cluster_firewall_rule.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_cluster_firewall_rule.py new file mode 100644 index 000000000000..669d2bbb26ac --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_cluster_firewall_rule.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoClusterFirewallRuleResult', + 'AwaitableGetMongoClusterFirewallRuleResult', + 'get_mongo_cluster_firewall_rule', + 'get_mongo_cluster_firewall_rule_output', +] + +@pulumi.output_type +class GetMongoClusterFirewallRuleResult: + """ + Represents a mongo cluster firewall rule. + """ + def __init__(__self__, end_ip_address=None, id=None, name=None, provisioning_state=None, start_ip_address=None, system_data=None, type=None): + if end_ip_address and not isinstance(end_ip_address, str): + raise TypeError("Expected argument 'end_ip_address' to be a str") + pulumi.set(__self__, "end_ip_address", end_ip_address) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if start_ip_address and not isinstance(start_ip_address, str): + raise TypeError("Expected argument 'start_ip_address' to be a str") + pulumi.set(__self__, "start_ip_address", start_ip_address) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="endIpAddress") + def end_ip_address(self) -> str: + """ + The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "end_ip_address") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the firewall rule. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="startIpAddress") + def start_ip_address(self) -> str: + """ + The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "start_ip_address") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoClusterFirewallRuleResult(GetMongoClusterFirewallRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoClusterFirewallRuleResult( + end_ip_address=self.end_ip_address, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + start_ip_address=self.start_ip_address, + system_data=self.system_data, + type=self.type) + + +def get_mongo_cluster_firewall_rule(firewall_rule_name: Optional[str] = None, + mongo_cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoClusterFirewallRuleResult: + """ + Gets information about a mongo cluster firewall rule. + + + :param str firewall_rule_name: The name of the mongo cluster firewall rule. + :param str mongo_cluster_name: The name of the mongo cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['firewallRuleName'] = firewall_rule_name + __args__['mongoClusterName'] = mongo_cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getMongoClusterFirewallRule', __args__, opts=opts, typ=GetMongoClusterFirewallRuleResult).value + + return AwaitableGetMongoClusterFirewallRuleResult( + end_ip_address=pulumi.get(__ret__, 'end_ip_address'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + start_ip_address=pulumi.get(__ret__, 'start_ip_address'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_cluster_firewall_rule) +def get_mongo_cluster_firewall_rule_output(firewall_rule_name: Optional[pulumi.Input[str]] = None, + mongo_cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoClusterFirewallRuleResult]: + """ + Gets information about a mongo cluster firewall rule. + + + :param str firewall_rule_name: The name of the mongo cluster firewall rule. + :param str mongo_cluster_name: The name of the mongo cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_db_collection.py new file mode 100644 index 000000000000..f7978eac6dde --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_db_collection.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoDBCollectionResult', + 'AwaitableGetMongoDBResourceMongoDBCollectionResult', + 'get_mongo_db_resource_mongo_db_collection', + 'get_mongo_db_resource_mongo_db_collection_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoDBCollectionResult: + """ + An Azure Cosmos DB MongoDB collection. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.MongoDBCollectionGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.MongoDBCollectionGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoDBResourceMongoDBCollectionResult(GetMongoDBResourceMongoDBCollectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoDBCollectionResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_mongo_db_resource_mongo_db_collection(account_name: Optional[str] = None, + collection_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoDBCollectionResult: + """ + Gets the MongoDB collection under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str collection_name: Cosmos DB collection name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['collectionName'] = collection_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBCollection', __args__, opts=opts, typ=GetMongoDBResourceMongoDBCollectionResult).value + + return AwaitableGetMongoDBResourceMongoDBCollectionResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_db_collection) +def get_mongo_db_resource_mongo_db_collection_output(account_name: Optional[pulumi.Input[str]] = None, + collection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoDBCollectionResult]: + """ + Gets the MongoDB collection under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str collection_name: Cosmos DB collection name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_db_database.py new file mode 100644 index 000000000000..222cf011db53 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_db_database.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoDBDatabaseResult', + 'AwaitableGetMongoDBResourceMongoDBDatabaseResult', + 'get_mongo_db_resource_mongo_db_database', + 'get_mongo_db_resource_mongo_db_database_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoDBDatabaseResult: + """ + An Azure Cosmos DB MongoDB database. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.MongoDBDatabaseGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.MongoDBDatabaseGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoDBResourceMongoDBDatabaseResult(GetMongoDBResourceMongoDBDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoDBDatabaseResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_mongo_db_resource_mongo_db_database(account_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoDBDatabaseResult: + """ + Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getMongoDBResourceMongoDBDatabase', __args__, opts=opts, typ=GetMongoDBResourceMongoDBDatabaseResult).value + + return AwaitableGetMongoDBResourceMongoDBDatabaseResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_db_database) +def get_mongo_db_resource_mongo_db_database_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoDBDatabaseResult]: + """ + Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_role_definition.py new file mode 100644 index 000000000000..6b9a7d1b0f08 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_role_definition.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoRoleDefinitionResult', + 'AwaitableGetMongoDBResourceMongoRoleDefinitionResult', + 'get_mongo_db_resource_mongo_role_definition', + 'get_mongo_db_resource_mongo_role_definition_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoRoleDefinitionResult: + """ + An Azure Cosmos DB Mongo Role Definition. + """ + def __init__(__self__, database_name=None, id=None, name=None, privileges=None, role_name=None, roles=None, type=None): + if database_name and not isinstance(database_name, str): + raise TypeError("Expected argument 'database_name' to be a str") + pulumi.set(__self__, "database_name", database_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if privileges and not isinstance(privileges, list): + raise TypeError("Expected argument 'privileges' to be a list") + pulumi.set(__self__, "privileges", privileges) + if role_name and not isinstance(role_name, str): + raise TypeError("Expected argument 'role_name' to be a str") + pulumi.set(__self__, "role_name", role_name) + if roles and not isinstance(roles, list): + raise TypeError("Expected argument 'roles' to be a list") + pulumi.set(__self__, "roles", roles) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The database name for which access is being granted for this Role Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def privileges(self) -> Optional[Sequence['outputs.PrivilegeResponse']]: + """ + A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + """ + return pulumi.get(self, "privileges") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[str]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def roles(self) -> Optional[Sequence['outputs.RoleResponse']]: + """ + The set of roles inherited by this Role Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetMongoDBResourceMongoRoleDefinitionResult(GetMongoDBResourceMongoRoleDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoRoleDefinitionResult( + database_name=self.database_name, + id=self.id, + name=self.name, + privileges=self.privileges, + role_name=self.role_name, + roles=self.roles, + type=self.type) + + +def get_mongo_db_resource_mongo_role_definition(account_name: Optional[str] = None, + mongo_role_definition_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoRoleDefinitionResult: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['mongoRoleDefinitionId'] = mongo_role_definition_id + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getMongoDBResourceMongoRoleDefinition', __args__, opts=opts, typ=GetMongoDBResourceMongoRoleDefinitionResult).value + + return AwaitableGetMongoDBResourceMongoRoleDefinitionResult( + database_name=pulumi.get(__ret__, 'database_name'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + privileges=pulumi.get(__ret__, 'privileges'), + role_name=pulumi.get(__ret__, 'role_name'), + roles=pulumi.get(__ret__, 'roles'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_role_definition) +def get_mongo_db_resource_mongo_role_definition_output(account_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoRoleDefinitionResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_user_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_user_definition.py new file mode 100644 index 000000000000..f4fd42bc891b --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_mongo_db_resource_mongo_user_definition.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMongoDBResourceMongoUserDefinitionResult', + 'AwaitableGetMongoDBResourceMongoUserDefinitionResult', + 'get_mongo_db_resource_mongo_user_definition', + 'get_mongo_db_resource_mongo_user_definition_output', +] + +@pulumi.output_type +class GetMongoDBResourceMongoUserDefinitionResult: + """ + An Azure Cosmos DB User Definition + """ + def __init__(__self__, custom_data=None, database_name=None, id=None, mechanisms=None, name=None, password=None, roles=None, type=None, user_name=None): + if custom_data and not isinstance(custom_data, str): + raise TypeError("Expected argument 'custom_data' to be a str") + pulumi.set(__self__, "custom_data", custom_data) + if database_name and not isinstance(database_name, str): + raise TypeError("Expected argument 'database_name' to be a str") + pulumi.set(__self__, "database_name", database_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if mechanisms and not isinstance(mechanisms, str): + raise TypeError("Expected argument 'mechanisms' to be a str") + pulumi.set(__self__, "mechanisms", mechanisms) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if password and not isinstance(password, str): + raise TypeError("Expected argument 'password' to be a str") + pulumi.set(__self__, "password", password) + if roles and not isinstance(roles, list): + raise TypeError("Expected argument 'roles' to be a list") + pulumi.set(__self__, "roles", roles) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if user_name and not isinstance(user_name, str): + raise TypeError("Expected argument 'user_name' to be a str") + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="customData") + def custom_data(self) -> Optional[str]: + """ + A custom definition for the USer Definition. + """ + return pulumi.get(self, "custom_data") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The database name for which access is being granted for this User Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def mechanisms(self) -> Optional[str]: + """ + The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + """ + return pulumi.get(self, "mechanisms") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + The password for User Definition. Response does not contain user password. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def roles(self) -> Optional[Sequence['outputs.RoleResponse']]: + """ + The set of roles inherited by the User Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + """ + The user name for User Definition. + """ + return pulumi.get(self, "user_name") + + +class AwaitableGetMongoDBResourceMongoUserDefinitionResult(GetMongoDBResourceMongoUserDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMongoDBResourceMongoUserDefinitionResult( + custom_data=self.custom_data, + database_name=self.database_name, + id=self.id, + mechanisms=self.mechanisms, + name=self.name, + password=self.password, + roles=self.roles, + type=self.type, + user_name=self.user_name) + + +def get_mongo_db_resource_mongo_user_definition(account_name: Optional[str] = None, + mongo_user_definition_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDBResourceMongoUserDefinitionResult: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['mongoUserDefinitionId'] = mongo_user_definition_id + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getMongoDBResourceMongoUserDefinition', __args__, opts=opts, typ=GetMongoDBResourceMongoUserDefinitionResult).value + + return AwaitableGetMongoDBResourceMongoUserDefinitionResult( + custom_data=pulumi.get(__ret__, 'custom_data'), + database_name=pulumi.get(__ret__, 'database_name'), + id=pulumi.get(__ret__, 'id'), + mechanisms=pulumi.get(__ret__, 'mechanisms'), + name=pulumi.get(__ret__, 'name'), + password=pulumi.get(__ret__, 'password'), + roles=pulumi.get(__ret__, 'roles'), + type=pulumi.get(__ret__, 'type'), + user_name=pulumi.get(__ret__, 'user_name')) + + +@_utilities.lift_output_func(get_mongo_db_resource_mongo_user_definition) +def get_mongo_db_resource_mongo_user_definition_output(account_name: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoUserDefinitionResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_notebook_workspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_notebook_workspace.py new file mode 100644 index 000000000000..5c3fc2d775dd --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_notebook_workspace.py @@ -0,0 +1,135 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetNotebookWorkspaceResult', + 'AwaitableGetNotebookWorkspaceResult', + 'get_notebook_workspace', + 'get_notebook_workspace_output', +] + +@pulumi.output_type +class GetNotebookWorkspaceResult: + """ + A notebook workspace resource + """ + def __init__(__self__, id=None, name=None, notebook_server_endpoint=None, status=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if notebook_server_endpoint and not isinstance(notebook_server_endpoint, str): + raise TypeError("Expected argument 'notebook_server_endpoint' to be a str") + pulumi.set(__self__, "notebook_server_endpoint", notebook_server_endpoint) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notebookServerEndpoint") + def notebook_server_endpoint(self) -> str: + """ + Specifies the endpoint of Notebook server. + """ + return pulumi.get(self, "notebook_server_endpoint") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetNotebookWorkspaceResult(GetNotebookWorkspaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNotebookWorkspaceResult( + id=self.id, + name=self.name, + notebook_server_endpoint=self.notebook_server_endpoint, + status=self.status, + type=self.type) + + +def get_notebook_workspace(account_name: Optional[str] = None, + notebook_workspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebookWorkspaceResult: + """ + Gets the notebook workspace for a Cosmos DB account. + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['notebookWorkspaceName'] = notebook_workspace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getNotebookWorkspace', __args__, opts=opts, typ=GetNotebookWorkspaceResult).value + + return AwaitableGetNotebookWorkspaceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + notebook_server_endpoint=pulumi.get(__ret__, 'notebook_server_endpoint'), + status=pulumi.get(__ret__, 'status'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_notebook_workspace) +def get_notebook_workspace_output(account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotebookWorkspaceResult]: + """ + Gets the notebook workspace for a Cosmos DB account. + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_private_endpoint_connection.py new file mode 100644 index 000000000000..4d30d8942b40 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_private_endpoint_connection.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', + 'get_private_endpoint_connection_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + A private endpoint connection + """ + def __init__(__self__, group_id=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, type=None): + if group_id and not isinstance(group_id, str): + raise TypeError("Expected argument 'group_id' to be a str") + pulumi.set(__self__, "group_id", group_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointPropertyResponse']: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse']: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + group_id=self.group_id, + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + type=self.type) + + +def get_private_endpoint_connection(account_name: Optional[str] = None, + private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Gets a private endpoint connection. + + + :param str account_name: Cosmos DB database account name. + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + group_id=pulumi.get(__ret__, 'group_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection) +def get_private_endpoint_connection_output(account_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]: + """ + Gets a private endpoint connection. + + + :param str account_name: Cosmos DB database account name. + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_service.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_service.py new file mode 100644 index 000000000000..df83c1986a21 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_service.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetServiceResult', + 'AwaitableGetServiceResult', + 'get_service', + 'get_service_output', +] + +@pulumi.output_type +class GetServiceResult: + """ + Properties for the database account. + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> Any: + """ + Services response resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetServiceResult(GetServiceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_service(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceResult: + """ + Gets the status of service. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str service_name: Cosmos DB service name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getService', __args__, opts=opts, typ=GetServiceResult).value + + return AwaitableGetServiceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_service) +def get_service_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: + """ + Gets the status of service. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str service_name: Cosmos DB service name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_container.py new file mode 100644 index 000000000000..27e10e4f9f68 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_container.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlContainerResult', + 'AwaitableGetSqlResourceSqlContainerResult', + 'get_sql_resource_sql_container', + 'get_sql_resource_sql_container_output', +] + +@pulumi.output_type +class GetSqlResourceSqlContainerResult: + """ + An Azure Cosmos DB container. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.SqlContainerGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlContainerGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlContainerResult(GetSqlResourceSqlContainerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlContainerResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_container(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlContainerResult: + """ + Gets the SQL container under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlContainer', __args__, opts=opts, typ=GetSqlResourceSqlContainerResult).value + + return AwaitableGetSqlResourceSqlContainerResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_container) +def get_sql_resource_sql_container_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlContainerResult]: + """ + Gets the SQL container under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_database.py new file mode 100644 index 000000000000..f0525326bee8 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_database.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlDatabaseResult', + 'AwaitableGetSqlResourceSqlDatabaseResult', + 'get_sql_resource_sql_database', + 'get_sql_resource_sql_database_output', +] + +@pulumi.output_type +class GetSqlResourceSqlDatabaseResult: + """ + An Azure Cosmos DB SQL database. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.SqlDatabaseGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlDatabaseGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlDatabaseResult(GetSqlResourceSqlDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlDatabaseResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_database(account_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlDatabaseResult: + """ + Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlDatabase', __args__, opts=opts, typ=GetSqlResourceSqlDatabaseResult).value + + return AwaitableGetSqlResourceSqlDatabaseResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_database) +def get_sql_resource_sql_database_output(account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlDatabaseResult]: + """ + Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_role_assignment.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_role_assignment.py new file mode 100644 index 000000000000..1136d2f9c10c --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_role_assignment.py @@ -0,0 +1,148 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetSqlResourceSqlRoleAssignmentResult', + 'AwaitableGetSqlResourceSqlRoleAssignmentResult', + 'get_sql_resource_sql_role_assignment', + 'get_sql_resource_sql_role_assignment_output', +] + +@pulumi.output_type +class GetSqlResourceSqlRoleAssignmentResult: + """ + An Azure Cosmos DB Role Assignment + """ + def __init__(__self__, id=None, name=None, principal_id=None, role_definition_id=None, scope=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if principal_id and not isinstance(principal_id, str): + raise TypeError("Expected argument 'principal_id' to be a str") + pulumi.set(__self__, "principal_id", principal_id) + if role_definition_id and not isinstance(role_definition_id, str): + raise TypeError("Expected argument 'role_definition_id' to be a str") + pulumi.set(__self__, "role_definition_id", role_definition_id) + if scope and not isinstance(scope, str): + raise TypeError("Expected argument 'scope' to be a str") + pulumi.set(__self__, "scope", scope) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[str]: + """ + The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> Optional[str]: + """ + The unique identifier for the associated Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @property + @pulumi.getter + def scope(self) -> Optional[str]: + """ + The data plane resource path for which access is being granted through this Role Assignment. + """ + return pulumi.get(self, "scope") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlRoleAssignmentResult(GetSqlResourceSqlRoleAssignmentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlRoleAssignmentResult( + id=self.id, + name=self.name, + principal_id=self.principal_id, + role_definition_id=self.role_definition_id, + scope=self.scope, + type=self.type) + + +def get_sql_resource_sql_role_assignment(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + role_assignment_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlRoleAssignmentResult: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_assignment_id: The GUID for the Role Assignment. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['roleAssignmentId'] = role_assignment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleAssignment', __args__, opts=opts, typ=GetSqlResourceSqlRoleAssignmentResult).value + + return AwaitableGetSqlResourceSqlRoleAssignmentResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + principal_id=pulumi.get(__ret__, 'principal_id'), + role_definition_id=pulumi.get(__ret__, 'role_definition_id'), + scope=pulumi.get(__ret__, 'scope'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_role_assignment) +def get_sql_resource_sql_role_assignment_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlRoleAssignmentResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_assignment_id: The GUID for the Role Assignment. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_role_definition.py new file mode 100644 index 000000000000..926eb2b77a01 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_role_definition.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlRoleDefinitionResult', + 'AwaitableGetSqlResourceSqlRoleDefinitionResult', + 'get_sql_resource_sql_role_definition', + 'get_sql_resource_sql_role_definition_output', +] + +@pulumi.output_type +class GetSqlResourceSqlRoleDefinitionResult: + """ + An Azure Cosmos DB SQL Role Definition. + """ + def __init__(__self__, assignable_scopes=None, id=None, name=None, permissions=None, role_name=None, type=None): + if assignable_scopes and not isinstance(assignable_scopes, list): + raise TypeError("Expected argument 'assignable_scopes' to be a list") + pulumi.set(__self__, "assignable_scopes", assignable_scopes) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if permissions and not isinstance(permissions, list): + raise TypeError("Expected argument 'permissions' to be a list") + pulumi.set(__self__, "permissions", permissions) + if role_name and not isinstance(role_name, str): + raise TypeError("Expected argument 'role_name' to be a str") + pulumi.set(__self__, "role_name", role_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="assignableScopes") + def assignable_scopes(self) -> Optional[Sequence[str]]: + """ + A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + """ + return pulumi.get(self, "assignable_scopes") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the database account. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def permissions(self) -> Optional[Sequence['outputs.PermissionResponse']]: + """ + The set of operations allowed through this Role Definition. + """ + return pulumi.get(self, "permissions") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[str]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlRoleDefinitionResult(GetSqlResourceSqlRoleDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlRoleDefinitionResult( + assignable_scopes=self.assignable_scopes, + id=self.id, + name=self.name, + permissions=self.permissions, + role_name=self.role_name, + type=self.type) + + +def get_sql_resource_sql_role_definition(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + role_definition_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlRoleDefinitionResult: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_definition_id: The GUID for the Role Definition. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['roleDefinitionId'] = role_definition_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlRoleDefinition', __args__, opts=opts, typ=GetSqlResourceSqlRoleDefinitionResult).value + + return AwaitableGetSqlResourceSqlRoleDefinitionResult( + assignable_scopes=pulumi.get(__ret__, 'assignable_scopes'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + permissions=pulumi.get(__ret__, 'permissions'), + role_name=pulumi.get(__ret__, 'role_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_role_definition) +def get_sql_resource_sql_role_definition_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlRoleDefinitionResult]: + """ + Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str role_definition_id: The GUID for the Role Definition. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_stored_procedure.py new file mode 100644 index 000000000000..3875973ecfef --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_stored_procedure.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlStoredProcedureResult', + 'AwaitableGetSqlResourceSqlStoredProcedureResult', + 'get_sql_resource_sql_stored_procedure', + 'get_sql_resource_sql_stored_procedure_output', +] + +@pulumi.output_type +class GetSqlResourceSqlStoredProcedureResult: + """ + An Azure Cosmos DB storedProcedure. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlStoredProcedureGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlStoredProcedureResult(GetSqlResourceSqlStoredProcedureResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlStoredProcedureResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_stored_procedure(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + stored_procedure_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlStoredProcedureResult: + """ + Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str stored_procedure_name: Cosmos DB storedProcedure name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['storedProcedureName'] = stored_procedure_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlStoredProcedure', __args__, opts=opts, typ=GetSqlResourceSqlStoredProcedureResult).value + + return AwaitableGetSqlResourceSqlStoredProcedureResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_stored_procedure) +def get_sql_resource_sql_stored_procedure_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + stored_procedure_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlStoredProcedureResult]: + """ + Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str stored_procedure_name: Cosmos DB storedProcedure name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_trigger.py new file mode 100644 index 000000000000..d158b334be25 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_trigger.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlTriggerResult', + 'AwaitableGetSqlResourceSqlTriggerResult', + 'get_sql_resource_sql_trigger', + 'get_sql_resource_sql_trigger_output', +] + +@pulumi.output_type +class GetSqlResourceSqlTriggerResult: + """ + An Azure Cosmos DB trigger. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlTriggerGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlTriggerResult(GetSqlResourceSqlTriggerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlTriggerResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_trigger(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + trigger_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlTriggerResult: + """ + Gets the SQL trigger under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str trigger_name: Cosmos DB trigger name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['triggerName'] = trigger_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlTrigger', __args__, opts=opts, typ=GetSqlResourceSqlTriggerResult).value + + return AwaitableGetSqlResourceSqlTriggerResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_trigger) +def get_sql_resource_sql_trigger_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + trigger_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlTriggerResult]: + """ + Gets the SQL trigger under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str trigger_name: Cosmos DB trigger name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_user_defined_function.py new file mode 100644 index 000000000000..9f850d5a1f34 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_sql_resource_sql_user_defined_function.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSqlResourceSqlUserDefinedFunctionResult', + 'AwaitableGetSqlResourceSqlUserDefinedFunctionResult', + 'get_sql_resource_sql_user_defined_function', + 'get_sql_resource_sql_user_defined_function_output', +] + +@pulumi.output_type +class GetSqlResourceSqlUserDefinedFunctionResult: + """ + An Azure Cosmos DB userDefinedFunction. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.SqlUserDefinedFunctionGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetSqlResourceSqlUserDefinedFunctionResult(GetSqlResourceSqlUserDefinedFunctionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSqlResourceSqlUserDefinedFunctionResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_sql_resource_sql_user_defined_function(account_name: Optional[str] = None, + container_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + user_defined_function_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlResourceSqlUserDefinedFunctionResult: + """ + Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['containerName'] = container_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['userDefinedFunctionName'] = user_defined_function_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getSqlResourceSqlUserDefinedFunction', __args__, opts=opts, typ=GetSqlResourceSqlUserDefinedFunctionResult).value + + return AwaitableGetSqlResourceSqlUserDefinedFunctionResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sql_resource_sql_user_defined_function) +def get_sql_resource_sql_user_defined_function_output(account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlResourceSqlUserDefinedFunctionResult]: + """ + Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str container_name: Cosmos DB container name. + :param str database_name: Cosmos DB database name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_table_resource_table.py new file mode 100644 index 000000000000..6e7f229db974 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/get_table_resource_table.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetTableResourceTableResult', + 'AwaitableGetTableResourceTableResult', + 'get_table_resource_table', + 'get_table_resource_table_output', +] + +@pulumi.output_type +class GetTableResourceTableResult: + """ + An Azure Cosmos DB Table. + """ + def __init__(__self__, id=None, identity=None, location=None, name=None, options=None, resource=None, tags=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if options and not isinstance(options, dict): + raise TypeError("Expected argument 'options' to be a dict") + pulumi.set(__self__, "options", options) + if resource and not isinstance(resource, dict): + raise TypeError("Expected argument 'resource' to be a dict") + pulumi.set(__self__, "resource", resource) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique resource identifier of the ARM resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.TableGetPropertiesResponseOptions']: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.TableGetPropertiesResponseResource']: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + +class AwaitableGetTableResourceTableResult(GetTableResourceTableResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetTableResourceTableResult( + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + options=self.options, + resource=self.resource, + tags=self.tags, + type=self.type) + + +def get_table_resource_table(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + table_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableResourceTableResult: + """ + Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:getTableResourceTable', __args__, opts=opts, typ=GetTableResourceTableResult).value + + return AwaitableGetTableResourceTableResult( + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + options=pulumi.get(__ret__, 'options'), + resource=pulumi.get(__ret__, 'resource'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_table_resource_table) +def get_table_resource_table_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResourceTableResult]: + """ + Gets the Tables under an existing Azure Cosmos DB database account with the provided name. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str table_name: Cosmos DB table name. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/graph_resource_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/graph_resource_graph.py new file mode 100644 index 000000000000..8eda87228909 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/graph_resource_graph.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['GraphResourceGraphArgs', 'GraphResourceGraph'] + +@pulumi.input_type +class GraphResourceGraphArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['GraphResourceArgs'], + resource_group_name: pulumi.Input[str], + graph_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a GraphResourceGraph resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['GraphResourceArgs'] resource: The standard JSON format of a Graph resource + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] graph_name: Cosmos DB graph resource name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if graph_name is not None: + pulumi.set(__self__, "graph_name", graph_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['GraphResourceArgs']: + """ + The standard JSON format of a Graph resource + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['GraphResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="graphName") + def graph_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB graph resource name. + """ + return pulumi.get(self, "graph_name") + + @graph_name.setter + def graph_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "graph_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 GraphResourceGraph(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GraphResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Graph resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] graph_name: Cosmos DB graph resource name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['GraphResourceArgs']] resource: The standard JSON format of a Graph resource + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GraphResourceGraphArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Graph resource. + + :param str resource_name: The name of the resource. + :param GraphResourceGraphArgs 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(GraphResourceGraphArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GraphResourceArgs']]] = 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): + 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__ = GraphResourceGraphArgs.__new__(GraphResourceGraphArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["graph_name"] = graph_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GraphResourceGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GraphResourceGraph")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GraphResourceGraph, __self__).__init__( + 'azure-native:documentdb/v20230915preview:GraphResourceGraph', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GraphResourceGraph': + """ + Get an existing GraphResourceGraph 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GraphResourceGraphArgs.__new__(GraphResourceGraphArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return GraphResourceGraph(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.GraphResourceGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.GraphResourceGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/gremlin_resource_gremlin_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/gremlin_resource_gremlin_database.py new file mode 100644 index 000000000000..32d8cf542bbc --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/gremlin_resource_gremlin_database.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['GremlinResourceGremlinDatabaseArgs', 'GremlinResourceGremlinDatabase'] + +@pulumi.input_type +class GremlinResourceGremlinDatabaseArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['GremlinDatabaseResourceArgs'], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a GremlinResourceGremlinDatabase resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['GremlinDatabaseResourceArgs'] resource: The standard JSON format of a Gremlin database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['GremlinDatabaseResourceArgs']: + """ + The standard JSON format of a Gremlin database + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['GremlinDatabaseResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 GremlinResourceGremlinDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinDatabaseResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Gremlin database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['GremlinDatabaseResourceArgs']] resource: The standard JSON format of a Gremlin database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GremlinResourceGremlinDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Gremlin database. + + :param str resource_name: The name of the resource. + :param GremlinResourceGremlinDatabaseArgs 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(GremlinResourceGremlinDatabaseArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinDatabaseResourceArgs']]] = 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): + 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__ = GremlinResourceGremlinDatabaseArgs.__new__(GremlinResourceGremlinDatabaseArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GremlinResourceGremlinDatabase, __self__).__init__( + 'azure-native:documentdb/v20230915preview:GremlinResourceGremlinDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GremlinResourceGremlinDatabase': + """ + Get an existing GremlinResourceGremlinDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GremlinResourceGremlinDatabaseArgs.__new__(GremlinResourceGremlinDatabaseArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return GremlinResourceGremlinDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.GremlinDatabaseGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.GremlinDatabaseGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/gremlin_resource_gremlin_graph.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/gremlin_resource_gremlin_graph.py new file mode 100644 index 000000000000..9dc6b4f9f8bf --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/gremlin_resource_gremlin_graph.py @@ -0,0 +1,338 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['GremlinResourceGremlinGraphArgs', 'GremlinResourceGremlinGraph'] + +@pulumi.input_type +class GremlinResourceGremlinGraphArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['GremlinGraphResourceArgs'], + resource_group_name: pulumi.Input[str], + graph_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a GremlinResourceGremlinGraph resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['GremlinGraphResourceArgs'] resource: The standard JSON format of a Gremlin graph + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] graph_name: Cosmos DB graph name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if graph_name is not None: + pulumi.set(__self__, "graph_name", graph_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['GremlinGraphResourceArgs']: + """ + The standard JSON format of a Gremlin graph + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['GremlinGraphResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="graphName") + def graph_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB graph name. + """ + return pulumi.get(self, "graph_name") + + @graph_name.setter + def graph_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "graph_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 GremlinResourceGremlinGraph(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinGraphResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Gremlin graph. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[str] graph_name: Cosmos DB graph name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['GremlinGraphResourceArgs']] resource: The standard JSON format of a Gremlin graph + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GremlinResourceGremlinGraphArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Gremlin graph. + + :param str resource_name: The name of the resource. + :param GremlinResourceGremlinGraphArgs 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(GremlinResourceGremlinGraphArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + graph_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['GremlinGraphResourceArgs']]] = 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): + 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__ = GremlinResourceGremlinGraphArgs.__new__(GremlinResourceGremlinGraphArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["graph_name"] = graph_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20150408:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20151106:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160319:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20160331:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20190801:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20191212:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200301:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200401:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20200901:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210615:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230415:GremlinResourceGremlinGraph"), pulumi.Alias(type_="azure-native:documentdb/v20230915:GremlinResourceGremlinGraph")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GremlinResourceGremlinGraph, __self__).__init__( + 'azure-native:documentdb/v20230915preview:GremlinResourceGremlinGraph', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GremlinResourceGremlinGraph': + """ + Get an existing GremlinResourceGremlinGraph 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GremlinResourceGremlinGraphArgs.__new__(GremlinResourceGremlinGraphArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return GremlinResourceGremlinGraph(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.GremlinGraphGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.GremlinGraphGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_database_account_connection_strings.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_database_account_connection_strings.py new file mode 100644 index 000000000000..bd9f8cc334f6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_database_account_connection_strings.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListDatabaseAccountConnectionStringsResult', + 'AwaitableListDatabaseAccountConnectionStringsResult', + 'list_database_account_connection_strings', + 'list_database_account_connection_strings_output', +] + +@pulumi.output_type +class ListDatabaseAccountConnectionStringsResult: + """ + The connection strings for the given database account. + """ + def __init__(__self__, connection_strings=None): + if connection_strings and not isinstance(connection_strings, list): + raise TypeError("Expected argument 'connection_strings' to be a list") + pulumi.set(__self__, "connection_strings", connection_strings) + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Optional[Sequence['outputs.DatabaseAccountConnectionStringResponse']]: + """ + An array that contains the connection strings for the Cosmos DB account. + """ + return pulumi.get(self, "connection_strings") + + +class AwaitableListDatabaseAccountConnectionStringsResult(ListDatabaseAccountConnectionStringsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListDatabaseAccountConnectionStringsResult( + connection_strings=self.connection_strings) + + +def list_database_account_connection_strings(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabaseAccountConnectionStringsResult: + """ + Lists the connection strings for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:listDatabaseAccountConnectionStrings', __args__, opts=opts, typ=ListDatabaseAccountConnectionStringsResult).value + + return AwaitableListDatabaseAccountConnectionStringsResult( + connection_strings=pulumi.get(__ret__, 'connection_strings')) + + +@_utilities.lift_output_func(list_database_account_connection_strings) +def list_database_account_connection_strings_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDatabaseAccountConnectionStringsResult]: + """ + Lists the connection strings for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_database_account_keys.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_database_account_keys.py new file mode 100644 index 000000000000..b1e7e624dac3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_database_account_keys.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'ListDatabaseAccountKeysResult', + 'AwaitableListDatabaseAccountKeysResult', + 'list_database_account_keys', + 'list_database_account_keys_output', +] + +@pulumi.output_type +class ListDatabaseAccountKeysResult: + """ + The access keys for the given database account. + """ + def __init__(__self__, primary_master_key=None, primary_readonly_master_key=None, secondary_master_key=None, secondary_readonly_master_key=None): + if primary_master_key and not isinstance(primary_master_key, str): + raise TypeError("Expected argument 'primary_master_key' to be a str") + pulumi.set(__self__, "primary_master_key", primary_master_key) + if primary_readonly_master_key and not isinstance(primary_readonly_master_key, str): + raise TypeError("Expected argument 'primary_readonly_master_key' to be a str") + pulumi.set(__self__, "primary_readonly_master_key", primary_readonly_master_key) + if secondary_master_key and not isinstance(secondary_master_key, str): + raise TypeError("Expected argument 'secondary_master_key' to be a str") + pulumi.set(__self__, "secondary_master_key", secondary_master_key) + if secondary_readonly_master_key and not isinstance(secondary_readonly_master_key, str): + raise TypeError("Expected argument 'secondary_readonly_master_key' to be a str") + pulumi.set(__self__, "secondary_readonly_master_key", secondary_readonly_master_key) + + @property + @pulumi.getter(name="primaryMasterKey") + def primary_master_key(self) -> str: + """ + Base 64 encoded value of the primary read-write key. + """ + return pulumi.get(self, "primary_master_key") + + @property + @pulumi.getter(name="primaryReadonlyMasterKey") + def primary_readonly_master_key(self) -> str: + """ + Base 64 encoded value of the primary read-only key. + """ + return pulumi.get(self, "primary_readonly_master_key") + + @property + @pulumi.getter(name="secondaryMasterKey") + def secondary_master_key(self) -> str: + """ + Base 64 encoded value of the secondary read-write key. + """ + return pulumi.get(self, "secondary_master_key") + + @property + @pulumi.getter(name="secondaryReadonlyMasterKey") + def secondary_readonly_master_key(self) -> str: + """ + Base 64 encoded value of the secondary read-only key. + """ + return pulumi.get(self, "secondary_readonly_master_key") + + +class AwaitableListDatabaseAccountKeysResult(ListDatabaseAccountKeysResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListDatabaseAccountKeysResult( + primary_master_key=self.primary_master_key, + primary_readonly_master_key=self.primary_readonly_master_key, + secondary_master_key=self.secondary_master_key, + secondary_readonly_master_key=self.secondary_readonly_master_key) + + +def list_database_account_keys(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabaseAccountKeysResult: + """ + Lists the access keys for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:listDatabaseAccountKeys', __args__, opts=opts, typ=ListDatabaseAccountKeysResult).value + + return AwaitableListDatabaseAccountKeysResult( + primary_master_key=pulumi.get(__ret__, 'primary_master_key'), + primary_readonly_master_key=pulumi.get(__ret__, 'primary_readonly_master_key'), + secondary_master_key=pulumi.get(__ret__, 'secondary_master_key'), + secondary_readonly_master_key=pulumi.get(__ret__, 'secondary_readonly_master_key')) + + +@_utilities.lift_output_func(list_database_account_keys) +def list_database_account_keys_output(account_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDatabaseAccountKeysResult]: + """ + Lists the access keys for the specified Azure Cosmos DB database account. + + + :param str account_name: Cosmos DB database account name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_mongo_cluster_connection_strings.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_mongo_cluster_connection_strings.py new file mode 100644 index 000000000000..eec5d9b3250e --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_mongo_cluster_connection_strings.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListMongoClusterConnectionStringsResult', + 'AwaitableListMongoClusterConnectionStringsResult', + 'list_mongo_cluster_connection_strings', + 'list_mongo_cluster_connection_strings_output', +] + +@pulumi.output_type +class ListMongoClusterConnectionStringsResult: + """ + The connection strings for the given mongo cluster. + """ + def __init__(__self__, connection_strings=None): + if connection_strings and not isinstance(connection_strings, list): + raise TypeError("Expected argument 'connection_strings' to be a list") + pulumi.set(__self__, "connection_strings", connection_strings) + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Sequence['outputs.ConnectionStringResponse']: + """ + An array that contains the connection strings for a mongo cluster. + """ + return pulumi.get(self, "connection_strings") + + +class AwaitableListMongoClusterConnectionStringsResult(ListMongoClusterConnectionStringsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListMongoClusterConnectionStringsResult( + connection_strings=self.connection_strings) + + +def list_mongo_cluster_connection_strings(mongo_cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListMongoClusterConnectionStringsResult: + """ + List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + + + :param str mongo_cluster_name: The name of the mongo cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['mongoClusterName'] = mongo_cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:listMongoClusterConnectionStrings', __args__, opts=opts, typ=ListMongoClusterConnectionStringsResult).value + + return AwaitableListMongoClusterConnectionStringsResult( + connection_strings=pulumi.get(__ret__, 'connection_strings')) + + +@_utilities.lift_output_func(list_mongo_cluster_connection_strings) +def list_mongo_cluster_connection_strings_output(mongo_cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListMongoClusterConnectionStringsResult]: + """ + List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + + + :param str mongo_cluster_name: The name of the mongo cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_notebook_workspace_connection_info.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_notebook_workspace_connection_info.py new file mode 100644 index 000000000000..f2f0fb07ff60 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/list_notebook_workspace_connection_info.py @@ -0,0 +1,96 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'ListNotebookWorkspaceConnectionInfoResult', + 'AwaitableListNotebookWorkspaceConnectionInfoResult', + 'list_notebook_workspace_connection_info', + 'list_notebook_workspace_connection_info_output', +] + +@pulumi.output_type +class ListNotebookWorkspaceConnectionInfoResult: + """ + The connection info for the given notebook workspace + """ + def __init__(__self__, auth_token=None, notebook_server_endpoint=None): + if auth_token and not isinstance(auth_token, str): + raise TypeError("Expected argument 'auth_token' to be a str") + pulumi.set(__self__, "auth_token", auth_token) + if notebook_server_endpoint and not isinstance(notebook_server_endpoint, str): + raise TypeError("Expected argument 'notebook_server_endpoint' to be a str") + pulumi.set(__self__, "notebook_server_endpoint", notebook_server_endpoint) + + @property + @pulumi.getter(name="authToken") + def auth_token(self) -> str: + """ + Specifies auth token used for connecting to Notebook server (uses token-based auth). + """ + return pulumi.get(self, "auth_token") + + @property + @pulumi.getter(name="notebookServerEndpoint") + def notebook_server_endpoint(self) -> str: + """ + Specifies the endpoint of Notebook server. + """ + return pulumi.get(self, "notebook_server_endpoint") + + +class AwaitableListNotebookWorkspaceConnectionInfoResult(ListNotebookWorkspaceConnectionInfoResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListNotebookWorkspaceConnectionInfoResult( + auth_token=self.auth_token, + notebook_server_endpoint=self.notebook_server_endpoint) + + +def list_notebook_workspace_connection_info(account_name: Optional[str] = None, + notebook_workspace_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListNotebookWorkspaceConnectionInfoResult: + """ + Retrieves the connection info for the notebook workspace + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['notebookWorkspaceName'] = notebook_workspace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20230915preview:listNotebookWorkspaceConnectionInfo', __args__, opts=opts, typ=ListNotebookWorkspaceConnectionInfoResult).value + + return AwaitableListNotebookWorkspaceConnectionInfoResult( + auth_token=pulumi.get(__ret__, 'auth_token'), + notebook_server_endpoint=pulumi.get(__ret__, 'notebook_server_endpoint')) + + +@_utilities.lift_output_func(list_notebook_workspace_connection_info) +def list_notebook_workspace_connection_info_output(account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListNotebookWorkspaceConnectionInfoResult]: + """ + Retrieves the connection info for the notebook workspace + + + :param str account_name: Cosmos DB database account name. + :param str notebook_workspace_name: The name of the notebook workspace resource. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py new file mode 100644 index 000000000000..f89c5539f900 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py @@ -0,0 +1,415 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MongoClusterArgs', 'MongoCluster'] + +@pulumi.input_type +class MongoClusterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + administrator_login: Optional[pulumi.Input[str]] = None, + administrator_login_password: Optional[pulumi.Input[str]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + location: Optional[pulumi.Input[str]] = None, + mongo_cluster_name: Optional[pulumi.Input[str]] = None, + node_group_specs: Optional[pulumi.Input[Sequence[pulumi.Input['NodeGroupSpecArgs']]]] = None, + restore_parameters: Optional[pulumi.Input['MongoClusterRestoreParametersArgs']] = None, + server_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a MongoCluster resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] administrator_login: The administrator's login for the mongo cluster. + :param pulumi.Input[str] administrator_login_password: The password of the administrator login. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: The mode to create a mongo cluster. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] mongo_cluster_name: The name of the mongo cluster. + :param pulumi.Input[Sequence[pulumi.Input['NodeGroupSpecArgs']]] node_group_specs: The list of node group specs in the cluster. + :param pulumi.Input['MongoClusterRestoreParametersArgs'] restore_parameters: Parameters used for restore operations + :param pulumi.Input[str] server_version: The Mongo DB server version. Defaults to the latest available version if not specified. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if administrator_login is not None: + pulumi.set(__self__, "administrator_login", administrator_login) + if administrator_login_password is not None: + pulumi.set(__self__, "administrator_login_password", administrator_login_password) + if create_mode is None: + create_mode = 'Default' + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if location is not None: + pulumi.set(__self__, "location", location) + if mongo_cluster_name is not None: + pulumi.set(__self__, "mongo_cluster_name", mongo_cluster_name) + if node_group_specs is not None: + pulumi.set(__self__, "node_group_specs", node_group_specs) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if server_version is not None: + pulumi.set(__self__, "server_version", server_version) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="administratorLogin") + def administrator_login(self) -> Optional[pulumi.Input[str]]: + """ + The administrator's login for the mongo cluster. + """ + return pulumi.get(self, "administrator_login") + + @administrator_login.setter + def administrator_login(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "administrator_login", value) + + @property + @pulumi.getter(name="administratorLoginPassword") + def administrator_login_password(self) -> Optional[pulumi.Input[str]]: + """ + The password of the administrator login. + """ + return pulumi.get(self, "administrator_login_password") + + @administrator_login_password.setter + def administrator_login_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "administrator_login_password", value) + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[pulumi.Input[Union[str, 'CreateMode']]]: + """ + The mode to create a mongo cluster. + """ + return pulumi.get(self, "create_mode") + + @create_mode.setter + def create_mode(self, value: Optional[pulumi.Input[Union[str, 'CreateMode']]]): + pulumi.set(self, "create_mode", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="mongoClusterName") + def mongo_cluster_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the mongo cluster. + """ + return pulumi.get(self, "mongo_cluster_name") + + @mongo_cluster_name.setter + def mongo_cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mongo_cluster_name", value) + + @property + @pulumi.getter(name="nodeGroupSpecs") + def node_group_specs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NodeGroupSpecArgs']]]]: + """ + The list of node group specs in the cluster. + """ + return pulumi.get(self, "node_group_specs") + + @node_group_specs.setter + def node_group_specs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NodeGroupSpecArgs']]]]): + pulumi.set(self, "node_group_specs", value) + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional[pulumi.Input['MongoClusterRestoreParametersArgs']]: + """ + Parameters used for restore operations + """ + return pulumi.get(self, "restore_parameters") + + @restore_parameters.setter + def restore_parameters(self, value: Optional[pulumi.Input['MongoClusterRestoreParametersArgs']]): + pulumi.set(self, "restore_parameters", value) + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> Optional[pulumi.Input[str]]: + """ + The Mongo DB server version. Defaults to the latest available version if not specified. + """ + return pulumi.get(self, "server_version") + + @server_version.setter + def server_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "server_version", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 MongoCluster(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + administrator_login: Optional[pulumi.Input[str]] = None, + administrator_login_password: Optional[pulumi.Input[str]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + location: Optional[pulumi.Input[str]] = None, + mongo_cluster_name: Optional[pulumi.Input[str]] = None, + node_group_specs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeGroupSpecArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_parameters: Optional[pulumi.Input[pulumi.InputType['MongoClusterRestoreParametersArgs']]] = None, + server_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Represents a mongo cluster resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] administrator_login: The administrator's login for the mongo cluster. + :param pulumi.Input[str] administrator_login_password: The password of the administrator login. + :param pulumi.Input[Union[str, 'CreateMode']] create_mode: The mode to create a mongo cluster. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] mongo_cluster_name: The name of the mongo cluster. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeGroupSpecArgs']]]] node_group_specs: The list of node group specs in the cluster. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['MongoClusterRestoreParametersArgs']] restore_parameters: Parameters used for restore operations + :param pulumi.Input[str] server_version: The Mongo DB server version. Defaults to the latest available version if not specified. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoClusterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a mongo cluster resource. + + :param str resource_name: The name of the resource. + :param MongoClusterArgs 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(MongoClusterArgs, 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, + administrator_login: Optional[pulumi.Input[str]] = None, + administrator_login_password: Optional[pulumi.Input[str]] = None, + create_mode: Optional[pulumi.Input[Union[str, 'CreateMode']]] = None, + location: Optional[pulumi.Input[str]] = None, + mongo_cluster_name: Optional[pulumi.Input[str]] = None, + node_group_specs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeGroupSpecArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restore_parameters: Optional[pulumi.Input[pulumi.InputType['MongoClusterRestoreParametersArgs']]] = None, + server_version: 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): + 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__ = MongoClusterArgs.__new__(MongoClusterArgs) + + __props__.__dict__["administrator_login"] = administrator_login + __props__.__dict__["administrator_login_password"] = administrator_login_password + if create_mode is None: + create_mode = 'Default' + __props__.__dict__["create_mode"] = create_mode + __props__.__dict__["location"] = location + __props__.__dict__["mongo_cluster_name"] = mongo_cluster_name + __props__.__dict__["node_group_specs"] = node_group_specs + 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__["restore_parameters"] = restore_parameters + __props__.__dict__["server_version"] = server_version + __props__.__dict__["tags"] = tags + __props__.__dict__["cluster_status"] = None + __props__.__dict__["connection_string"] = None + __props__.__dict__["earliest_restore_time"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoCluster"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoCluster")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoCluster, __self__).__init__( + 'azure-native:documentdb/v20230915preview:MongoCluster', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoCluster': + """ + Get an existing MongoCluster 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoClusterArgs.__new__(MongoClusterArgs) + + __props__.__dict__["administrator_login"] = None + __props__.__dict__["cluster_status"] = None + __props__.__dict__["connection_string"] = None + __props__.__dict__["earliest_restore_time"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["node_group_specs"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["server_version"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return MongoCluster(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="administratorLogin") + def administrator_login(self) -> pulumi.Output[Optional[str]]: + """ + The administrator's login for the mongo cluster. + """ + return pulumi.get(self, "administrator_login") + + @property + @pulumi.getter(name="clusterStatus") + def cluster_status(self) -> pulumi.Output[str]: + """ + A status of the mongo cluster. + """ + return pulumi.get(self, "cluster_status") + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> pulumi.Output[str]: + """ + The default mongo connection string for the cluster. + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter(name="earliestRestoreTime") + def earliest_restore_time(self) -> pulumi.Output[str]: + """ + Earliest restore timestamp in UTC ISO8601 format. + """ + return pulumi.get(self, "earliest_restore_time") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nodeGroupSpecs") + def node_group_specs(self) -> pulumi.Output[Optional[Sequence['outputs.NodeGroupSpecResponse']]]: + """ + The list of node group specs in the cluster. + """ + return pulumi.get(self, "node_group_specs") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + A provisioning state of the mongo cluster. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> pulumi.Output[Optional[str]]: + """ + The Mongo DB server version. Defaults to the latest available version if not specified. + """ + return pulumi.get(self, "server_version") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py new file mode 100644 index 000000000000..45bf1de28359 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py @@ -0,0 +1,255 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['MongoClusterFirewallRuleArgs', 'MongoClusterFirewallRule'] + +@pulumi.input_type +class MongoClusterFirewallRuleArgs: + def __init__(__self__, *, + end_ip_address: pulumi.Input[str], + mongo_cluster_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + start_ip_address: pulumi.Input[str], + firewall_rule_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MongoClusterFirewallRule resource. + :param pulumi.Input[str] end_ip_address: The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + :param pulumi.Input[str] mongo_cluster_name: The name of the mongo cluster. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] start_ip_address: The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + :param pulumi.Input[str] firewall_rule_name: The name of the mongo cluster firewall rule. + """ + pulumi.set(__self__, "end_ip_address", end_ip_address) + pulumi.set(__self__, "mongo_cluster_name", mongo_cluster_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "start_ip_address", start_ip_address) + if firewall_rule_name is not None: + pulumi.set(__self__, "firewall_rule_name", firewall_rule_name) + + @property + @pulumi.getter(name="endIpAddress") + def end_ip_address(self) -> pulumi.Input[str]: + """ + The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "end_ip_address") + + @end_ip_address.setter + def end_ip_address(self, value: pulumi.Input[str]): + pulumi.set(self, "end_ip_address", value) + + @property + @pulumi.getter(name="mongoClusterName") + def mongo_cluster_name(self) -> pulumi.Input[str]: + """ + The name of the mongo cluster. + """ + return pulumi.get(self, "mongo_cluster_name") + + @mongo_cluster_name.setter + def mongo_cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "mongo_cluster_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="startIpAddress") + def start_ip_address(self) -> pulumi.Input[str]: + """ + The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "start_ip_address") + + @start_ip_address.setter + def start_ip_address(self, value: pulumi.Input[str]): + pulumi.set(self, "start_ip_address", value) + + @property + @pulumi.getter(name="firewallRuleName") + def firewall_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the mongo cluster firewall rule. + """ + return pulumi.get(self, "firewall_rule_name") + + @firewall_rule_name.setter + def firewall_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "firewall_rule_name", value) + + +class MongoClusterFirewallRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + end_ip_address: Optional[pulumi.Input[str]] = None, + firewall_rule_name: Optional[pulumi.Input[str]] = None, + mongo_cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + start_ip_address: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a mongo cluster firewall rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] end_ip_address: The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + :param pulumi.Input[str] firewall_rule_name: The name of the mongo cluster firewall rule. + :param pulumi.Input[str] mongo_cluster_name: The name of the mongo cluster. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] start_ip_address: The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoClusterFirewallRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a mongo cluster firewall rule. + + :param str resource_name: The name of the resource. + :param MongoClusterFirewallRuleArgs 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(MongoClusterFirewallRuleArgs, 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, + end_ip_address: Optional[pulumi.Input[str]] = None, + firewall_rule_name: Optional[pulumi.Input[str]] = None, + mongo_cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + start_ip_address: 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__ = MongoClusterFirewallRuleArgs.__new__(MongoClusterFirewallRuleArgs) + + if end_ip_address is None and not opts.urn: + raise TypeError("Missing required property 'end_ip_address'") + __props__.__dict__["end_ip_address"] = end_ip_address + __props__.__dict__["firewall_rule_name"] = firewall_rule_name + if mongo_cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'mongo_cluster_name'") + __props__.__dict__["mongo_cluster_name"] = mongo_cluster_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if start_ip_address is None and not opts.urn: + raise TypeError("Missing required property 'start_ip_address'") + __props__.__dict__["start_ip_address"] = start_ip_address + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoClusterFirewallRule"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoClusterFirewallRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoClusterFirewallRule, __self__).__init__( + 'azure-native:documentdb/v20230915preview:MongoClusterFirewallRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoClusterFirewallRule': + """ + Get an existing MongoClusterFirewallRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoClusterFirewallRuleArgs.__new__(MongoClusterFirewallRuleArgs) + + __props__.__dict__["end_ip_address"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["start_ip_address"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MongoClusterFirewallRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="endIpAddress") + def end_ip_address(self) -> pulumi.Output[str]: + """ + The end IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "end_ip_address") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the firewall rule. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="startIpAddress") + def start_ip_address(self) -> pulumi.Output[str]: + """ + The start IP address of the mongo cluster firewall rule. Must be IPv4 format. + """ + return pulumi.get(self, "start_ip_address") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_db_collection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_db_collection.py new file mode 100644 index 000000000000..41c316ebbb49 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_db_collection.py @@ -0,0 +1,338 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MongoDBResourceMongoDBCollectionArgs', 'MongoDBResourceMongoDBCollection'] + +@pulumi.input_type +class MongoDBResourceMongoDBCollectionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['MongoDBCollectionResourceArgs'], + resource_group_name: pulumi.Input[str], + collection_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoDBCollection resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['MongoDBCollectionResourceArgs'] resource: The standard JSON format of a MongoDB collection + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] collection_name: Cosmos DB collection name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if collection_name is not None: + pulumi.set(__self__, "collection_name", collection_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['MongoDBCollectionResourceArgs']: + """ + The standard JSON format of a MongoDB collection + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['MongoDBCollectionResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="collectionName") + def collection_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB collection name. + """ + return pulumi.get(self, "collection_name") + + @collection_name.setter + def collection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 MongoDBResourceMongoDBCollection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + collection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBCollectionResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB MongoDB collection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] collection_name: Cosmos DB collection name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['MongoDBCollectionResourceArgs']] resource: The standard JSON format of a MongoDB collection + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoDBCollectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB MongoDB collection. + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoDBCollectionArgs 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(MongoDBResourceMongoDBCollectionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + collection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBCollectionResourceArgs']]] = 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): + 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__ = MongoDBResourceMongoDBCollectionArgs.__new__(MongoDBResourceMongoDBCollectionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["collection_name"] = collection_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBCollection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBCollection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoDBCollection, __self__).__init__( + 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBCollection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoDBCollection': + """ + Get an existing MongoDBResourceMongoDBCollection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoDBCollectionArgs.__new__(MongoDBResourceMongoDBCollectionArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return MongoDBResourceMongoDBCollection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.MongoDBCollectionGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.MongoDBCollectionGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_db_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_db_database.py new file mode 100644 index 000000000000..99f1e06d7b09 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_db_database.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MongoDBResourceMongoDBDatabaseArgs', 'MongoDBResourceMongoDBDatabase'] + +@pulumi.input_type +class MongoDBResourceMongoDBDatabaseArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['MongoDBDatabaseResourceArgs'], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoDBDatabase resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['MongoDBDatabaseResourceArgs'] resource: The standard JSON format of a MongoDB database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['MongoDBDatabaseResourceArgs']: + """ + The standard JSON format of a MongoDB database + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['MongoDBDatabaseResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 MongoDBResourceMongoDBDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBDatabaseResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB MongoDB database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['MongoDBDatabaseResourceArgs']] resource: The standard JSON format of a MongoDB database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoDBDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB MongoDB database. + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoDBDatabaseArgs 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(MongoDBResourceMongoDBDatabaseArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['MongoDBDatabaseResourceArgs']]] = 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): + 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__ = MongoDBResourceMongoDBDatabaseArgs.__new__(MongoDBResourceMongoDBDatabaseArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoDBDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoDBDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoDBDatabase, __self__).__init__( + 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoDBDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoDBDatabase': + """ + Get an existing MongoDBResourceMongoDBDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoDBDatabaseArgs.__new__(MongoDBResourceMongoDBDatabaseArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return MongoDBResourceMongoDBDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.MongoDBDatabaseGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.MongoDBDatabaseGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_role_definition.py new file mode 100644 index 000000000000..c428a2a15bf4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_role_definition.py @@ -0,0 +1,312 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MongoDBResourceMongoRoleDefinitionArgs', 'MongoDBResourceMongoRoleDefinition'] + +@pulumi.input_type +class MongoDBResourceMongoRoleDefinitionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + privileges: Optional[pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]]] = None, + role_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]] = None, + type: Optional[pulumi.Input['MongoRoleDefinitionType']] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoRoleDefinition resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this Role Definition. + :param pulumi.Input[str] mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]] privileges: A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input[Sequence[pulumi.Input['RoleArgs']]] roles: The set of roles inherited by this Role Definition. + :param pulumi.Input['MongoRoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if mongo_role_definition_id is not None: + pulumi.set(__self__, "mongo_role_definition_id", mongo_role_definition_id) + if privileges is not None: + pulumi.set(__self__, "privileges", privileges) + if role_name is not None: + pulumi.set(__self__, "role_name", role_name) + if roles is not None: + pulumi.set(__self__, "roles", roles) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The database name for which access is being granted for this Role Definition. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="mongoRoleDefinitionId") + def mongo_role_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID for the Role Definition {dbName.roleName}. + """ + return pulumi.get(self, "mongo_role_definition_id") + + @mongo_role_definition_id.setter + def mongo_role_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mongo_role_definition_id", value) + + @property + @pulumi.getter + def privileges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]]]: + """ + A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + """ + return pulumi.get(self, "privileges") + + @privileges.setter + def privileges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivilegeArgs']]]]): + pulumi.set(self, "privileges", value) + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[pulumi.Input[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @role_name.setter + def role_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_name", value) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]: + """ + The set of roles inherited by this Role Definition. + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['MongoRoleDefinitionType']]: + """ + Indicates whether the Role Definition was built-in or user created. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['MongoRoleDefinitionType']]): + pulumi.set(self, "type", value) + + +class MongoDBResourceMongoRoleDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + privileges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivilegeArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + type: Optional[pulumi.Input['MongoRoleDefinitionType']] = None, + __props__=None): + """ + An Azure Cosmos DB Mongo Role Definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this Role Definition. + :param pulumi.Input[str] mongo_role_definition_id: The ID for the Role Definition {dbName.roleName}. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivilegeArgs']]]] privileges: A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]] roles: The set of roles inherited by this Role Definition. + :param pulumi.Input['MongoRoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoRoleDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Mongo Role Definition. + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoRoleDefinitionArgs 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(MongoDBResourceMongoRoleDefinitionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mongo_role_definition_id: Optional[pulumi.Input[str]] = None, + privileges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivilegeArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + type: Optional[pulumi.Input['MongoRoleDefinitionType']] = 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__ = MongoDBResourceMongoRoleDefinitionArgs.__new__(MongoDBResourceMongoRoleDefinitionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["mongo_role_definition_id"] = mongo_role_definition_id + __props__.__dict__["privileges"] = privileges + 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__["role_name"] = role_name + __props__.__dict__["roles"] = roles + __props__.__dict__["type"] = type + __props__.__dict__["name"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoRoleDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoRoleDefinition, __self__).__init__( + 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoRoleDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoRoleDefinition': + """ + Get an existing MongoDBResourceMongoRoleDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoRoleDefinitionArgs.__new__(MongoDBResourceMongoRoleDefinitionArgs) + + __props__.__dict__["database_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["privileges"] = None + __props__.__dict__["role_name"] = None + __props__.__dict__["roles"] = None + __props__.__dict__["type"] = None + return MongoDBResourceMongoRoleDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Output[Optional[str]]: + """ + The database name for which access is being granted for this Role Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def privileges(self) -> pulumi.Output[Optional[Sequence['outputs.PrivilegeResponse']]]: + """ + A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. + """ + return pulumi.get(self, "privileges") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> pulumi.Output[Optional[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def roles(self) -> pulumi.Output[Optional[Sequence['outputs.RoleResponse']]]: + """ + The set of roles inherited by this Role Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_user_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_user_definition.py new file mode 100644 index 000000000000..a7a04f9ba434 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/mongo_db_resource_mongo_user_definition.py @@ -0,0 +1,350 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['MongoDBResourceMongoUserDefinitionArgs', 'MongoDBResourceMongoUserDefinition'] + +@pulumi.input_type +class MongoDBResourceMongoUserDefinitionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + custom_data: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mechanisms: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MongoDBResourceMongoUserDefinition resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] custom_data: A custom definition for the USer Definition. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this User Definition. + :param pulumi.Input[str] mechanisms: The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + :param pulumi.Input[str] mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param pulumi.Input[str] password: The password for User Definition. Response does not contain user password. + :param pulumi.Input[Sequence[pulumi.Input['RoleArgs']]] roles: The set of roles inherited by the User Definition. + :param pulumi.Input[str] user_name: The user name for User Definition. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if custom_data is not None: + pulumi.set(__self__, "custom_data", custom_data) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if mechanisms is not None: + pulumi.set(__self__, "mechanisms", mechanisms) + if mongo_user_definition_id is not None: + pulumi.set(__self__, "mongo_user_definition_id", mongo_user_definition_id) + if password is not None: + pulumi.set(__self__, "password", password) + if roles is not None: + pulumi.set(__self__, "roles", roles) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="customData") + def custom_data(self) -> Optional[pulumi.Input[str]]: + """ + A custom definition for the USer Definition. + """ + return pulumi.get(self, "custom_data") + + @custom_data.setter + def custom_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_data", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The database name for which access is being granted for this User Definition. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def mechanisms(self) -> Optional[pulumi.Input[str]]: + """ + The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + """ + return pulumi.get(self, "mechanisms") + + @mechanisms.setter + def mechanisms(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mechanisms", value) + + @property + @pulumi.getter(name="mongoUserDefinitionId") + def mongo_user_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID for the User Definition {dbName.userName}. + """ + return pulumi.get(self, "mongo_user_definition_id") + + @mongo_user_definition_id.setter + def mongo_user_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mongo_user_definition_id", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + The password for User Definition. Response does not contain user password. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]: + """ + The set of roles inherited by the User Definition. + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoleArgs']]]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The user name for User Definition. + """ + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) + + +class MongoDBResourceMongoUserDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mechanisms: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + user_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB User Definition + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] custom_data: A custom definition for the USer Definition. + :param pulumi.Input[str] database_name: The database name for which access is being granted for this User Definition. + :param pulumi.Input[str] mechanisms: The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + :param pulumi.Input[str] mongo_user_definition_id: The ID for the User Definition {dbName.userName}. + :param pulumi.Input[str] password: The password for User Definition. Response does not contain user password. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]] roles: The set of roles inherited by the User Definition. + :param pulumi.Input[str] user_name: The user name for User Definition. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MongoDBResourceMongoUserDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB User Definition + + :param str resource_name: The name of the resource. + :param MongoDBResourceMongoUserDefinitionArgs 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(MongoDBResourceMongoUserDefinitionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + mechanisms: Optional[pulumi.Input[str]] = None, + mongo_user_definition_id: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleArgs']]]]] = None, + user_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MongoDBResourceMongoUserDefinitionArgs.__new__(MongoDBResourceMongoUserDefinitionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["custom_data"] = custom_data + __props__.__dict__["database_name"] = database_name + __props__.__dict__["mechanisms"] = mechanisms + __props__.__dict__["mongo_user_definition_id"] = mongo_user_definition_id + __props__.__dict__["password"] = password + 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__["roles"] = roles + __props__.__dict__["user_name"] = user_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:MongoDBResourceMongoUserDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:MongoDBResourceMongoUserDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MongoDBResourceMongoUserDefinition, __self__).__init__( + 'azure-native:documentdb/v20230915preview:MongoDBResourceMongoUserDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MongoDBResourceMongoUserDefinition': + """ + Get an existing MongoDBResourceMongoUserDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MongoDBResourceMongoUserDefinitionArgs.__new__(MongoDBResourceMongoUserDefinitionArgs) + + __props__.__dict__["custom_data"] = None + __props__.__dict__["database_name"] = None + __props__.__dict__["mechanisms"] = None + __props__.__dict__["name"] = None + __props__.__dict__["password"] = None + __props__.__dict__["roles"] = None + __props__.__dict__["type"] = None + __props__.__dict__["user_name"] = None + return MongoDBResourceMongoUserDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customData") + def custom_data(self) -> pulumi.Output[Optional[str]]: + """ + A custom definition for the USer Definition. + """ + return pulumi.get(self, "custom_data") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Output[Optional[str]]: + """ + The database name for which access is being granted for this User Definition. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter + def mechanisms(self) -> pulumi.Output[Optional[str]]: + """ + The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. + """ + return pulumi.get(self, "mechanisms") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def password(self) -> pulumi.Output[Optional[str]]: + """ + The password for User Definition. Response does not contain user password. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def roles(self) -> pulumi.Output[Optional[Sequence['outputs.RoleResponse']]]: + """ + The set of roles inherited by the User Definition. + """ + return pulumi.get(self, "roles") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> pulumi.Output[Optional[str]]: + """ + The user name for User Definition. + """ + return pulumi.get(self, "user_name") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/notebook_workspace.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/notebook_workspace.py new file mode 100644 index 000000000000..a8b1170b4f2f --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/notebook_workspace.py @@ -0,0 +1,194 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = ['NotebookWorkspaceArgs', 'NotebookWorkspace'] + +@pulumi.input_type +class NotebookWorkspaceArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + notebook_workspace_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a NotebookWorkspace resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] notebook_workspace_name: The name of the notebook workspace resource. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if notebook_workspace_name is not None: + pulumi.set(__self__, "notebook_workspace_name", notebook_workspace_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="notebookWorkspaceName") + def notebook_workspace_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the notebook workspace resource. + """ + return pulumi.get(self, "notebook_workspace_name") + + @notebook_workspace_name.setter + def notebook_workspace_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notebook_workspace_name", value) + + +class NotebookWorkspace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A notebook workspace resource + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] notebook_workspace_name: The name of the notebook workspace resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NotebookWorkspaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A notebook workspace resource + + :param str resource_name: The name of the resource. + :param NotebookWorkspaceArgs 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(NotebookWorkspaceArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + notebook_workspace_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = NotebookWorkspaceArgs.__new__(NotebookWorkspaceArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["notebook_workspace_name"] = notebook_workspace_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["name"] = None + __props__.__dict__["notebook_server_endpoint"] = None + __props__.__dict__["status"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20190801:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20191212:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200301:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200401:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20200901:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210615:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230415:NotebookWorkspace"), pulumi.Alias(type_="azure-native:documentdb/v20230915:NotebookWorkspace")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(NotebookWorkspace, __self__).__init__( + 'azure-native:documentdb/v20230915preview:NotebookWorkspace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'NotebookWorkspace': + """ + Get an existing NotebookWorkspace 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = NotebookWorkspaceArgs.__new__(NotebookWorkspaceArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["notebook_server_endpoint"] = None + __props__.__dict__["status"] = None + __props__.__dict__["type"] = None + return NotebookWorkspace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="notebookServerEndpoint") + def notebook_server_endpoint(self) -> pulumi.Output[str]: + """ + Specifies the endpoint of Notebook server. + """ + return pulumi.get(self, "notebook_server_endpoint") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/outputs.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/outputs.py new file mode 100644 index 000000000000..747a6368c84b --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/outputs.py @@ -0,0 +1,6715 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AccountKeyMetadataResponse', + 'AnalyticalStorageConfigurationResponse', + 'ApiPropertiesResponse', + 'AuthenticationMethodLdapPropertiesResponse', + 'AutoscaleSettingsResponse', + 'BackupPolicyMigrationStateResponse', + 'BackupScheduleResponse', + 'CapabilityResponse', + 'CapacityResponse', + 'CassandraErrorResponse', + 'CassandraKeyspaceGetPropertiesResponseOptions', + 'CassandraKeyspaceGetPropertiesResponseResource', + 'CassandraPartitionKeyResponse', + 'CassandraSchemaResponse', + 'CassandraTableGetPropertiesResponseOptions', + 'CassandraTableGetPropertiesResponseResource', + 'CassandraViewGetPropertiesResponseOptions', + 'CassandraViewGetPropertiesResponseResource', + 'CertificateResponse', + 'ClientEncryptionIncludedPathResponse', + 'ClientEncryptionPolicyResponse', + 'ClusterKeyResponse', + 'ClusterResourceResponseProperties', + 'ColumnResponse', + 'CompositePathResponse', + 'ConflictResolutionPolicyResponse', + 'ConnectionStringResponse', + 'ConsistencyPolicyResponse', + 'ContainerPartitionKeyResponse', + 'ContinuousModeBackupPolicyResponse', + 'ContinuousModePropertiesResponse', + 'CorsPolicyResponse', + 'DataCenterResourceResponseProperties', + 'DataTransferRegionalServiceResourceResponse', + 'DataTransferServiceResourcePropertiesResponse', + 'DatabaseAccountConnectionStringResponse', + 'DatabaseAccountKeysMetadataResponse', + 'DatabaseRestoreResourceResponse', + 'DiagnosticLogSettingsResponse', + 'ExcludedPathResponse', + 'FailoverPolicyResponse', + 'GraphAPIComputeRegionalServiceResourceResponse', + 'GraphAPIComputeServiceResourcePropertiesResponse', + 'GraphResourceGetPropertiesResponseOptions', + 'GraphResourceGetPropertiesResponseResource', + 'GremlinDatabaseGetPropertiesResponseOptions', + 'GremlinDatabaseGetPropertiesResponseResource', + 'GremlinDatabaseRestoreResourceResponse', + 'GremlinGraphGetPropertiesResponseOptions', + 'GremlinGraphGetPropertiesResponseResource', + 'IncludedPathResponse', + 'IndexesResponse', + 'IndexingPolicyResponse', + 'IpAddressOrRangeResponse', + 'LocationResponse', + 'ManagedCassandraManagedServiceIdentityResponse', + 'ManagedServiceIdentityResponse', + 'ManagedServiceIdentityResponseUserAssignedIdentities', + 'MaterializedViewDefinitionResponse', + 'MaterializedViewsBuilderRegionalServiceResourceResponse', + 'MaterializedViewsBuilderServiceResourcePropertiesResponse', + 'MongoDBCollectionGetPropertiesResponseOptions', + 'MongoDBCollectionGetPropertiesResponseResource', + 'MongoDBDatabaseGetPropertiesResponseOptions', + 'MongoDBDatabaseGetPropertiesResponseResource', + 'MongoIndexKeysResponse', + 'MongoIndexOptionsResponse', + 'MongoIndexResponse', + 'NodeGroupSpecResponse', + 'PeriodicModeBackupPolicyResponse', + 'PeriodicModePropertiesResponse', + 'PermissionResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointPropertyResponse', + 'PrivateLinkServiceConnectionStatePropertyResponse', + 'PrivilegeResponse', + 'PrivilegeResponseResource', + 'ResourceRestoreParametersResponse', + 'RestoreParametersResponse', + 'RoleResponse', + 'SeedNodeResponse', + 'SpatialSpecResponse', + 'SqlContainerGetPropertiesResponseOptions', + 'SqlContainerGetPropertiesResponseResource', + 'SqlDatabaseGetPropertiesResponseOptions', + 'SqlDatabaseGetPropertiesResponseResource', + 'SqlDedicatedGatewayRegionalServiceResourceResponse', + 'SqlDedicatedGatewayServiceResourcePropertiesResponse', + 'SqlStoredProcedureGetPropertiesResponseResource', + 'SqlTriggerGetPropertiesResponseResource', + 'SqlUserDefinedFunctionGetPropertiesResponseResource', + 'SystemDataResponse', + 'TableGetPropertiesResponseOptions', + 'TableGetPropertiesResponseResource', + 'UniqueKeyPolicyResponse', + 'UniqueKeyResponse', + 'VirtualNetworkRuleResponse', +] + +@pulumi.output_type +class AccountKeyMetadataResponse(dict): + """ + The metadata related to an access key for a given database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "generationTime": + suggest = "generation_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AccountKeyMetadataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AccountKeyMetadataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AccountKeyMetadataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + generation_time: str): + """ + The metadata related to an access key for a given database account. + :param str generation_time: Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + """ + pulumi.set(__self__, "generation_time", generation_time) + + @property + @pulumi.getter(name="generationTime") + def generation_time(self) -> str: + """ + Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. + """ + return pulumi.get(self, "generation_time") + + +@pulumi.output_type +class AnalyticalStorageConfigurationResponse(dict): + """ + Analytical storage specific properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "schemaType": + suggest = "schema_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AnalyticalStorageConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AnalyticalStorageConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AnalyticalStorageConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + schema_type: Optional[str] = None): + """ + Analytical storage specific properties. + :param str schema_type: Describes the types of schema for analytical storage. + """ + if schema_type is not None: + pulumi.set(__self__, "schema_type", schema_type) + + @property + @pulumi.getter(name="schemaType") + def schema_type(self) -> Optional[str]: + """ + Describes the types of schema for analytical storage. + """ + return pulumi.get(self, "schema_type") + + +@pulumi.output_type +class ApiPropertiesResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "serverVersion": + suggest = "server_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApiPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApiPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApiPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + server_version: Optional[str] = None): + """ + :param str server_version: Describes the ServerVersion of an a MongoDB account. + """ + if server_version is not None: + pulumi.set(__self__, "server_version", server_version) + + @property + @pulumi.getter(name="serverVersion") + def server_version(self) -> Optional[str]: + """ + Describes the ServerVersion of an a MongoDB account. + """ + return pulumi.get(self, "server_version") + + +@pulumi.output_type +class AuthenticationMethodLdapPropertiesResponse(dict): + """ + Ldap authentication method properties. This feature is in preview. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectionTimeoutInMs": + suggest = "connection_timeout_in_ms" + elif key == "searchBaseDistinguishedName": + suggest = "search_base_distinguished_name" + elif key == "searchFilterTemplate": + suggest = "search_filter_template" + elif key == "serverCertificates": + suggest = "server_certificates" + elif key == "serverHostname": + suggest = "server_hostname" + elif key == "serverPort": + suggest = "server_port" + elif key == "serviceUserDistinguishedName": + suggest = "service_user_distinguished_name" + elif key == "serviceUserPassword": + suggest = "service_user_password" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AuthenticationMethodLdapPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AuthenticationMethodLdapPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AuthenticationMethodLdapPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + connection_timeout_in_ms: Optional[int] = None, + search_base_distinguished_name: Optional[str] = None, + search_filter_template: Optional[str] = None, + server_certificates: Optional[Sequence['outputs.CertificateResponse']] = None, + server_hostname: Optional[str] = None, + server_port: Optional[int] = None, + service_user_distinguished_name: Optional[str] = None, + service_user_password: Optional[str] = None): + """ + Ldap authentication method properties. This feature is in preview. + :param int connection_timeout_in_ms: Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + :param str search_base_distinguished_name: Distinguished name of the object to start the recursive search of users from. + :param str search_filter_template: Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + :param str server_hostname: Hostname of the LDAP server. + :param int server_port: Port of the LDAP server. + :param str service_user_distinguished_name: Distinguished name of the look up user account, who can look up user details on authentication. + :param str service_user_password: Password of the look up user. + """ + if connection_timeout_in_ms is not None: + pulumi.set(__self__, "connection_timeout_in_ms", connection_timeout_in_ms) + if search_base_distinguished_name is not None: + pulumi.set(__self__, "search_base_distinguished_name", search_base_distinguished_name) + if search_filter_template is not None: + pulumi.set(__self__, "search_filter_template", search_filter_template) + if server_certificates is not None: + pulumi.set(__self__, "server_certificates", server_certificates) + if server_hostname is not None: + pulumi.set(__self__, "server_hostname", server_hostname) + if server_port is not None: + pulumi.set(__self__, "server_port", server_port) + if service_user_distinguished_name is not None: + pulumi.set(__self__, "service_user_distinguished_name", service_user_distinguished_name) + if service_user_password is not None: + pulumi.set(__self__, "service_user_password", service_user_password) + + @property + @pulumi.getter(name="connectionTimeoutInMs") + def connection_timeout_in_ms(self) -> Optional[int]: + """ + Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. + """ + return pulumi.get(self, "connection_timeout_in_ms") + + @property + @pulumi.getter(name="searchBaseDistinguishedName") + def search_base_distinguished_name(self) -> Optional[str]: + """ + Distinguished name of the object to start the recursive search of users from. + """ + return pulumi.get(self, "search_base_distinguished_name") + + @property + @pulumi.getter(name="searchFilterTemplate") + def search_filter_template(self) -> Optional[str]: + """ + Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. + """ + return pulumi.get(self, "search_filter_template") + + @property + @pulumi.getter(name="serverCertificates") + def server_certificates(self) -> Optional[Sequence['outputs.CertificateResponse']]: + return pulumi.get(self, "server_certificates") + + @property + @pulumi.getter(name="serverHostname") + def server_hostname(self) -> Optional[str]: + """ + Hostname of the LDAP server. + """ + return pulumi.get(self, "server_hostname") + + @property + @pulumi.getter(name="serverPort") + def server_port(self) -> Optional[int]: + """ + Port of the LDAP server. + """ + return pulumi.get(self, "server_port") + + @property + @pulumi.getter(name="serviceUserDistinguishedName") + def service_user_distinguished_name(self) -> Optional[str]: + """ + Distinguished name of the look up user account, who can look up user details on authentication. + """ + return pulumi.get(self, "service_user_distinguished_name") + + @property + @pulumi.getter(name="serviceUserPassword") + def service_user_password(self) -> Optional[str]: + """ + Password of the look up user. + """ + return pulumi.get(self, "service_user_password") + + +@pulumi.output_type +class AutoscaleSettingsResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxThroughput": + suggest = "max_throughput" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutoscaleSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutoscaleSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutoscaleSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_throughput: Optional[int] = None): + """ + :param int max_throughput: Represents maximum throughput, the resource can scale up to. + """ + if max_throughput is not None: + pulumi.set(__self__, "max_throughput", max_throughput) + + @property + @pulumi.getter(name="maxThroughput") + def max_throughput(self) -> Optional[int]: + """ + Represents maximum throughput, the resource can scale up to. + """ + return pulumi.get(self, "max_throughput") + + +@pulumi.output_type +class BackupPolicyMigrationStateResponse(dict): + """ + The object representing the state of the migration between the backup policies. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "startTime": + suggest = "start_time" + elif key == "targetType": + suggest = "target_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupPolicyMigrationStateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupPolicyMigrationStateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupPolicyMigrationStateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + start_time: Optional[str] = None, + status: Optional[str] = None, + target_type: Optional[str] = None): + """ + The object representing the state of the migration between the backup policies. + :param str start_time: Time at which the backup policy migration started (ISO-8601 format). + :param str status: Describes the status of migration between backup policy types. + :param str target_type: Describes the target backup policy type of the backup policy migration. + """ + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + if status is not None: + pulumi.set(__self__, "status", status) + if target_type is not None: + pulumi.set(__self__, "target_type", target_type) + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[str]: + """ + Time at which the backup policy migration started (ISO-8601 format). + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Describes the status of migration between backup policy types. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="targetType") + def target_type(self) -> Optional[str]: + """ + Describes the target backup policy type of the backup policy migration. + """ + return pulumi.get(self, "target_type") + + +@pulumi.output_type +class BackupScheduleResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cronExpression": + suggest = "cron_expression" + elif key == "retentionInHours": + suggest = "retention_in_hours" + elif key == "scheduleName": + suggest = "schedule_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BackupScheduleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BackupScheduleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BackupScheduleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cron_expression: Optional[str] = None, + retention_in_hours: Optional[int] = None, + schedule_name: Optional[str] = None): + """ + :param str cron_expression: The cron expression that defines when you want to back up your data. + :param int retention_in_hours: The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + :param str schedule_name: The unique identifier of backup schedule. + """ + if cron_expression is not None: + pulumi.set(__self__, "cron_expression", cron_expression) + if retention_in_hours is not None: + pulumi.set(__self__, "retention_in_hours", retention_in_hours) + if schedule_name is not None: + pulumi.set(__self__, "schedule_name", schedule_name) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> Optional[str]: + """ + The cron expression that defines when you want to back up your data. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter(name="retentionInHours") + def retention_in_hours(self) -> Optional[int]: + """ + The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. + """ + return pulumi.get(self, "retention_in_hours") + + @property + @pulumi.getter(name="scheduleName") + def schedule_name(self) -> Optional[str]: + """ + The unique identifier of backup schedule. + """ + return pulumi.get(self, "schedule_name") + + +@pulumi.output_type +class CapabilityResponse(dict): + """ + Cosmos DB capability object + """ + def __init__(__self__, *, + name: Optional[str] = None): + """ + Cosmos DB capability object + :param str name: Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class CapacityResponse(dict): + """ + The object that represents all properties related to capacity enforcement on an account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "totalThroughputLimit": + suggest = "total_throughput_limit" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CapacityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CapacityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CapacityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + total_throughput_limit: Optional[int] = None): + """ + The object that represents all properties related to capacity enforcement on an account. + :param int total_throughput_limit: The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + if total_throughput_limit is not None: + pulumi.set(__self__, "total_throughput_limit", total_throughput_limit) + + @property + @pulumi.getter(name="totalThroughputLimit") + def total_throughput_limit(self) -> Optional[int]: + """ + The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. + """ + return pulumi.get(self, "total_throughput_limit") + + +@pulumi.output_type +class CassandraErrorResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalErrorInfo": + suggest = "additional_error_info" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraErrorResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraErrorResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraErrorResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_error_info: Optional[str] = None, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None): + """ + :param str additional_error_info: Additional information about the error. + :param str code: The code of error that occurred. + :param str message: The message of the error. + :param str target: The target resource of the error. + """ + if additional_error_info is not None: + pulumi.set(__self__, "additional_error_info", additional_error_info) + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalErrorInfo") + def additional_error_info(self) -> Optional[str]: + """ + Additional information about the error. + """ + return pulumi.get(self, "additional_error_info") + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The code of error that occurred. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The message of the error. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def target(self) -> Optional[str]: + """ + The target resource of the error. + """ + return pulumi.get(self, "target") + + +@pulumi.output_type +class CassandraKeyspaceGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraKeyspaceGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraKeyspaceGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraKeyspaceGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class CassandraKeyspaceGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Cassandra keyspace + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Cassandra keyspace + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + +@pulumi.output_type +class CassandraPartitionKeyResponse(dict): + """ + Cosmos DB Cassandra table partition key + """ + def __init__(__self__, *, + name: Optional[str] = None): + """ + Cosmos DB Cassandra table partition key + :param str name: Name of the Cosmos DB Cassandra table partition key + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB Cassandra table partition key + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class CassandraSchemaResponse(dict): + """ + Cosmos DB Cassandra table schema + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clusterKeys": + suggest = "cluster_keys" + elif key == "partitionKeys": + suggest = "partition_keys" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraSchemaResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraSchemaResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraSchemaResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cluster_keys: Optional[Sequence['outputs.ClusterKeyResponse']] = None, + columns: Optional[Sequence['outputs.ColumnResponse']] = None, + partition_keys: Optional[Sequence['outputs.CassandraPartitionKeyResponse']] = None): + """ + Cosmos DB Cassandra table schema + :param Sequence['ClusterKeyResponse'] cluster_keys: List of cluster key. + :param Sequence['ColumnResponse'] columns: List of Cassandra table columns. + :param Sequence['CassandraPartitionKeyResponse'] partition_keys: List of partition key. + """ + if cluster_keys is not None: + pulumi.set(__self__, "cluster_keys", cluster_keys) + if columns is not None: + pulumi.set(__self__, "columns", columns) + if partition_keys is not None: + pulumi.set(__self__, "partition_keys", partition_keys) + + @property + @pulumi.getter(name="clusterKeys") + def cluster_keys(self) -> Optional[Sequence['outputs.ClusterKeyResponse']]: + """ + List of cluster key. + """ + return pulumi.get(self, "cluster_keys") + + @property + @pulumi.getter + def columns(self) -> Optional[Sequence['outputs.ColumnResponse']]: + """ + List of Cassandra table columns. + """ + return pulumi.get(self, "columns") + + @property + @pulumi.getter(name="partitionKeys") + def partition_keys(self) -> Optional[Sequence['outputs.CassandraPartitionKeyResponse']]: + """ + List of partition key. + """ + return pulumi.get(self, "partition_keys") + + +@pulumi.output_type +class CassandraTableGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraTableGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraTableGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraTableGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class CassandraTableGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "defaultTtl": + suggest = "default_ttl" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraTableGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraTableGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraTableGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[int] = None, + default_ttl: Optional[int] = None, + schema: Optional['outputs.CassandraSchemaResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Cassandra table + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param int analytical_storage_ttl: Analytical TTL. + :param int default_ttl: Time to live of the Cosmos DB Cassandra table + :param 'CassandraSchemaResponse' schema: Schema of the Cosmos DB Cassandra table + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if schema is not None: + pulumi.set(__self__, "schema", schema) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[int]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[int]: + """ + Time to live of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "default_ttl") + + @property + @pulumi.getter + def schema(self) -> Optional['outputs.CassandraSchemaResponse']: + """ + Schema of the Cosmos DB Cassandra table + """ + return pulumi.get(self, "schema") + + +@pulumi.output_type +class CassandraViewGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraViewGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraViewGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraViewGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class CassandraViewGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "viewDefinition": + suggest = "view_definition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CassandraViewGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CassandraViewGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CassandraViewGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + view_definition: str): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Cassandra view + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str view_definition: View Definition of the Cosmos DB Cassandra view + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + pulumi.set(__self__, "view_definition", view_definition) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Cassandra view + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="viewDefinition") + def view_definition(self) -> str: + """ + View Definition of the Cosmos DB Cassandra view + """ + return pulumi.get(self, "view_definition") + + +@pulumi.output_type +class CertificateResponse(dict): + def __init__(__self__, *, + pem: Optional[str] = None): + """ + :param str pem: PEM formatted public key. + """ + if pem is not None: + pulumi.set(__self__, "pem", pem) + + @property + @pulumi.getter + def pem(self) -> Optional[str]: + """ + PEM formatted public key. + """ + return pulumi.get(self, "pem") + + +@pulumi.output_type +class ClientEncryptionIncludedPathResponse(dict): + """ + . + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientEncryptionKeyId": + suggest = "client_encryption_key_id" + elif key == "encryptionAlgorithm": + suggest = "encryption_algorithm" + elif key == "encryptionType": + suggest = "encryption_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientEncryptionIncludedPathResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientEncryptionIncludedPathResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientEncryptionIncludedPathResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_encryption_key_id: str, + encryption_algorithm: str, + encryption_type: str, + path: str): + """ + . + :param str client_encryption_key_id: The identifier of the Client Encryption Key to be used to encrypt the path. + :param str encryption_algorithm: The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + :param str encryption_type: The type of encryption to be performed. Eg - Deterministic, Randomized. + :param str path: Path that needs to be encrypted. + """ + pulumi.set(__self__, "client_encryption_key_id", client_encryption_key_id) + pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + pulumi.set(__self__, "encryption_type", encryption_type) + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="clientEncryptionKeyId") + def client_encryption_key_id(self) -> str: + """ + The identifier of the Client Encryption Key to be used to encrypt the path. + """ + return pulumi.get(self, "client_encryption_key_id") + + @property + @pulumi.getter(name="encryptionAlgorithm") + def encryption_algorithm(self) -> str: + """ + The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + """ + return pulumi.get(self, "encryption_algorithm") + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> str: + """ + The type of encryption to be performed. Eg - Deterministic, Randomized. + """ + return pulumi.get(self, "encryption_type") + + @property + @pulumi.getter + def path(self) -> str: + """ + Path that needs to be encrypted. + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class ClientEncryptionPolicyResponse(dict): + """ + Cosmos DB client encryption policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "includedPaths": + suggest = "included_paths" + elif key == "policyFormatVersion": + suggest = "policy_format_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientEncryptionPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientEncryptionPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientEncryptionPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + included_paths: Sequence['outputs.ClientEncryptionIncludedPathResponse'], + policy_format_version: int): + """ + Cosmos DB client encryption policy. + :param Sequence['ClientEncryptionIncludedPathResponse'] included_paths: Paths of the item that need encryption along with path-specific settings. + :param int policy_format_version: Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + pulumi.set(__self__, "included_paths", included_paths) + pulumi.set(__self__, "policy_format_version", policy_format_version) + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> Sequence['outputs.ClientEncryptionIncludedPathResponse']: + """ + Paths of the item that need encryption along with path-specific settings. + """ + return pulumi.get(self, "included_paths") + + @property + @pulumi.getter(name="policyFormatVersion") + def policy_format_version(self) -> int: + """ + Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. + """ + return pulumi.get(self, "policy_format_version") + + +@pulumi.output_type +class ClusterKeyResponse(dict): + """ + Cosmos DB Cassandra table cluster key + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "orderBy": + suggest = "order_by" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: Optional[str] = None, + order_by: Optional[str] = None): + """ + Cosmos DB Cassandra table cluster key + :param str name: Name of the Cosmos DB Cassandra table cluster key + :param str order_by: Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + if name is not None: + pulumi.set(__self__, "name", name) + if order_by is not None: + pulumi.set(__self__, "order_by", order_by) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB Cassandra table cluster key + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="orderBy") + def order_by(self) -> Optional[str]: + """ + Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" + """ + return pulumi.get(self, "order_by") + + +@pulumi.output_type +class ClusterResourceResponseProperties(dict): + """ + Properties of a managed Cassandra cluster. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "gossipCertificates": + suggest = "gossip_certificates" + elif key == "seedNodes": + suggest = "seed_nodes" + elif key == "authenticationMethod": + suggest = "authentication_method" + elif key == "backupSchedules": + suggest = "backup_schedules" + elif key == "cassandraAuditLoggingEnabled": + suggest = "cassandra_audit_logging_enabled" + elif key == "cassandraVersion": + suggest = "cassandra_version" + elif key == "clientCertificates": + suggest = "client_certificates" + elif key == "clusterNameOverride": + suggest = "cluster_name_override" + elif key == "clusterType": + suggest = "cluster_type" + elif key == "delegatedManagementSubnetId": + suggest = "delegated_management_subnet_id" + elif key == "externalGossipCertificates": + suggest = "external_gossip_certificates" + elif key == "externalSeedNodes": + suggest = "external_seed_nodes" + elif key == "hoursBetweenBackups": + suggest = "hours_between_backups" + elif key == "prometheusEndpoint": + suggest = "prometheus_endpoint" + elif key == "provisionError": + suggest = "provision_error" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "repairEnabled": + suggest = "repair_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterResourceResponseProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterResourceResponseProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterResourceResponseProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + gossip_certificates: Sequence['outputs.CertificateResponse'], + seed_nodes: Sequence['outputs.SeedNodeResponse'], + authentication_method: Optional[str] = None, + backup_schedules: Optional[Sequence['outputs.BackupScheduleResponse']] = None, + cassandra_audit_logging_enabled: Optional[bool] = None, + cassandra_version: Optional[str] = None, + client_certificates: Optional[Sequence['outputs.CertificateResponse']] = None, + cluster_name_override: Optional[str] = None, + cluster_type: Optional[str] = None, + deallocated: Optional[bool] = None, + delegated_management_subnet_id: Optional[str] = None, + extensions: Optional[Sequence[str]] = None, + external_gossip_certificates: Optional[Sequence['outputs.CertificateResponse']] = None, + external_seed_nodes: Optional[Sequence['outputs.SeedNodeResponse']] = None, + hours_between_backups: Optional[int] = None, + prometheus_endpoint: Optional['outputs.SeedNodeResponse'] = None, + provision_error: Optional['outputs.CassandraErrorResponse'] = None, + provisioning_state: Optional[str] = None, + repair_enabled: Optional[bool] = None): + """ + Properties of a managed Cassandra cluster. + :param Sequence['CertificateResponse'] gossip_certificates: List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + :param Sequence['SeedNodeResponse'] seed_nodes: List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + :param str authentication_method: Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + :param Sequence['BackupScheduleResponse'] backup_schedules: List of backup schedules that define when you want to back up your data. + :param bool cassandra_audit_logging_enabled: Whether Cassandra audit logging is enabled + :param str cassandra_version: Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + :param Sequence['CertificateResponse'] client_certificates: List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + :param str cluster_name_override: If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + :param str cluster_type: Type of the cluster. If set to Production, some operations might not be permitted on cluster. + :param bool deallocated: Whether the cluster and associated data centers has been deallocated. + :param str delegated_management_subnet_id: Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + :param Sequence[str] extensions: Extensions to be added or updated on cluster. + :param Sequence['CertificateResponse'] external_gossip_certificates: List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + :param Sequence['SeedNodeResponse'] external_seed_nodes: List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + :param int hours_between_backups: (Deprecated) Number of hours to wait between taking a backup of the cluster. + :param 'SeedNodeResponse' prometheus_endpoint: Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + :param 'CassandraErrorResponse' provision_error: Error related to resource provisioning. + :param str provisioning_state: The status of the resource at the time the operation was called. + :param bool repair_enabled: Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + """ + pulumi.set(__self__, "gossip_certificates", gossip_certificates) + pulumi.set(__self__, "seed_nodes", seed_nodes) + if authentication_method is not None: + pulumi.set(__self__, "authentication_method", authentication_method) + if backup_schedules is not None: + pulumi.set(__self__, "backup_schedules", backup_schedules) + if cassandra_audit_logging_enabled is not None: + pulumi.set(__self__, "cassandra_audit_logging_enabled", cassandra_audit_logging_enabled) + if cassandra_version is not None: + pulumi.set(__self__, "cassandra_version", cassandra_version) + if client_certificates is not None: + pulumi.set(__self__, "client_certificates", client_certificates) + if cluster_name_override is not None: + pulumi.set(__self__, "cluster_name_override", cluster_name_override) + if cluster_type is not None: + pulumi.set(__self__, "cluster_type", cluster_type) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_management_subnet_id is not None: + pulumi.set(__self__, "delegated_management_subnet_id", delegated_management_subnet_id) + if extensions is not None: + pulumi.set(__self__, "extensions", extensions) + if external_gossip_certificates is not None: + pulumi.set(__self__, "external_gossip_certificates", external_gossip_certificates) + if external_seed_nodes is not None: + pulumi.set(__self__, "external_seed_nodes", external_seed_nodes) + if hours_between_backups is not None: + pulumi.set(__self__, "hours_between_backups", hours_between_backups) + if prometheus_endpoint is not None: + pulumi.set(__self__, "prometheus_endpoint", prometheus_endpoint) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if repair_enabled is not None: + pulumi.set(__self__, "repair_enabled", repair_enabled) + + @property + @pulumi.getter(name="gossipCertificates") + def gossip_certificates(self) -> Sequence['outputs.CertificateResponse']: + """ + List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. + """ + return pulumi.get(self, "gossip_certificates") + + @property + @pulumi.getter(name="seedNodes") + def seed_nodes(self) -> Sequence['outputs.SeedNodeResponse']: + """ + List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. + """ + return pulumi.get(self, "seed_nodes") + + @property + @pulumi.getter(name="authenticationMethod") + def authentication_method(self) -> Optional[str]: + """ + Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. + """ + return pulumi.get(self, "authentication_method") + + @property + @pulumi.getter(name="backupSchedules") + def backup_schedules(self) -> Optional[Sequence['outputs.BackupScheduleResponse']]: + """ + List of backup schedules that define when you want to back up your data. + """ + return pulumi.get(self, "backup_schedules") + + @property + @pulumi.getter(name="cassandraAuditLoggingEnabled") + def cassandra_audit_logging_enabled(self) -> Optional[bool]: + """ + Whether Cassandra audit logging is enabled + """ + return pulumi.get(self, "cassandra_audit_logging_enabled") + + @property + @pulumi.getter(name="cassandraVersion") + def cassandra_version(self) -> Optional[str]: + """ + Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. + """ + return pulumi.get(self, "cassandra_version") + + @property + @pulumi.getter(name="clientCertificates") + def client_certificates(self) -> Optional[Sequence['outputs.CertificateResponse']]: + """ + List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. + """ + return pulumi.get(self, "client_certificates") + + @property + @pulumi.getter(name="clusterNameOverride") + def cluster_name_override(self) -> Optional[str]: + """ + If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. + """ + return pulumi.get(self, "cluster_name_override") + + @property + @pulumi.getter(name="clusterType") + def cluster_type(self) -> Optional[str]: + """ + Type of the cluster. If set to Production, some operations might not be permitted on cluster. + """ + return pulumi.get(self, "cluster_type") + + @property + @pulumi.getter + def deallocated(self) -> Optional[bool]: + """ + Whether the cluster and associated data centers has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @property + @pulumi.getter(name="delegatedManagementSubnetId") + def delegated_management_subnet_id(self) -> Optional[str]: + """ + Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' + """ + return pulumi.get(self, "delegated_management_subnet_id") + + @property + @pulumi.getter + def extensions(self) -> Optional[Sequence[str]]: + """ + Extensions to be added or updated on cluster. + """ + return pulumi.get(self, "extensions") + + @property + @pulumi.getter(name="externalGossipCertificates") + def external_gossip_certificates(self) -> Optional[Sequence['outputs.CertificateResponse']]: + """ + List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. + """ + return pulumi.get(self, "external_gossip_certificates") + + @property + @pulumi.getter(name="externalSeedNodes") + def external_seed_nodes(self) -> Optional[Sequence['outputs.SeedNodeResponse']]: + """ + List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. + """ + return pulumi.get(self, "external_seed_nodes") + + @property + @pulumi.getter(name="hoursBetweenBackups") + def hours_between_backups(self) -> Optional[int]: + """ + (Deprecated) Number of hours to wait between taking a backup of the cluster. + """ + return pulumi.get(self, "hours_between_backups") + + @property + @pulumi.getter(name="prometheusEndpoint") + def prometheus_endpoint(self) -> Optional['outputs.SeedNodeResponse']: + """ + Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. + """ + return pulumi.get(self, "prometheus_endpoint") + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional['outputs.CassandraErrorResponse']: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="repairEnabled") + def repair_enabled(self) -> Optional[bool]: + """ + Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. + """ + return pulumi.get(self, "repair_enabled") + + +@pulumi.output_type +class ColumnResponse(dict): + """ + Cosmos DB Cassandra table column + """ + def __init__(__self__, *, + name: Optional[str] = None, + type: Optional[str] = None): + """ + Cosmos DB Cassandra table column + :param str name: Name of the Cosmos DB Cassandra table column + :param str type: Type of the Cosmos DB Cassandra table column + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Type of the Cosmos DB Cassandra table column + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class CompositePathResponse(dict): + def __init__(__self__, *, + order: Optional[str] = None, + path: Optional[str] = None): + """ + :param str order: Sort order for composite paths. + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if order is not None: + pulumi.set(__self__, "order", order) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def order(self) -> Optional[str]: + """ + Sort order for composite paths. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class ConflictResolutionPolicyResponse(dict): + """ + The conflict resolution policy for the container. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conflictResolutionPath": + suggest = "conflict_resolution_path" + elif key == "conflictResolutionProcedure": + suggest = "conflict_resolution_procedure" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConflictResolutionPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConflictResolutionPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConflictResolutionPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + conflict_resolution_path: Optional[str] = None, + conflict_resolution_procedure: Optional[str] = None, + mode: Optional[str] = None): + """ + The conflict resolution policy for the container. + :param str conflict_resolution_path: The conflict resolution path in the case of LastWriterWins mode. + :param str conflict_resolution_procedure: The procedure to resolve conflicts in the case of custom mode. + :param str mode: Indicates the conflict resolution mode. + """ + if conflict_resolution_path is not None: + pulumi.set(__self__, "conflict_resolution_path", conflict_resolution_path) + if conflict_resolution_procedure is not None: + pulumi.set(__self__, "conflict_resolution_procedure", conflict_resolution_procedure) + if mode is None: + mode = 'LastWriterWins' + if mode is not None: + pulumi.set(__self__, "mode", mode) + + @property + @pulumi.getter(name="conflictResolutionPath") + def conflict_resolution_path(self) -> Optional[str]: + """ + The conflict resolution path in the case of LastWriterWins mode. + """ + return pulumi.get(self, "conflict_resolution_path") + + @property + @pulumi.getter(name="conflictResolutionProcedure") + def conflict_resolution_procedure(self) -> Optional[str]: + """ + The procedure to resolve conflicts in the case of custom mode. + """ + return pulumi.get(self, "conflict_resolution_procedure") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + """ + Indicates the conflict resolution mode. + """ + return pulumi.get(self, "mode") + + +@pulumi.output_type +class ConnectionStringResponse(dict): + """ + Connection string for the mongo cluster + """ + def __init__(__self__, *, + connection_string: str, + description: str): + """ + Connection string for the mongo cluster + :param str connection_string: Value of the connection string + :param str description: Description of the connection string + """ + pulumi.set(__self__, "connection_string", connection_string) + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> str: + """ + Value of the connection string + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the connection string + """ + return pulumi.get(self, "description") + + +@pulumi.output_type +class ConsistencyPolicyResponse(dict): + """ + The consistency policy for the Cosmos DB database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultConsistencyLevel": + suggest = "default_consistency_level" + elif key == "maxIntervalInSeconds": + suggest = "max_interval_in_seconds" + elif key == "maxStalenessPrefix": + suggest = "max_staleness_prefix" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConsistencyPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConsistencyPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConsistencyPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_consistency_level: str, + max_interval_in_seconds: Optional[int] = None, + max_staleness_prefix: Optional[float] = None): + """ + The consistency policy for the Cosmos DB database account. + :param str default_consistency_level: The default consistency level and configuration settings of the Cosmos DB account. + :param int max_interval_in_seconds: When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + :param float max_staleness_prefix: When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + pulumi.set(__self__, "default_consistency_level", default_consistency_level) + if max_interval_in_seconds is not None: + pulumi.set(__self__, "max_interval_in_seconds", max_interval_in_seconds) + if max_staleness_prefix is not None: + pulumi.set(__self__, "max_staleness_prefix", max_staleness_prefix) + + @property + @pulumi.getter(name="defaultConsistencyLevel") + def default_consistency_level(self) -> str: + """ + The default consistency level and configuration settings of the Cosmos DB account. + """ + return pulumi.get(self, "default_consistency_level") + + @property + @pulumi.getter(name="maxIntervalInSeconds") + def max_interval_in_seconds(self) -> Optional[int]: + """ + When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_interval_in_seconds") + + @property + @pulumi.getter(name="maxStalenessPrefix") + def max_staleness_prefix(self) -> Optional[float]: + """ + When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + """ + return pulumi.get(self, "max_staleness_prefix") + + +@pulumi.output_type +class ContainerPartitionKeyResponse(dict): + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "systemKey": + suggest = "system_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContainerPartitionKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContainerPartitionKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContainerPartitionKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + system_key: bool, + kind: Optional[str] = None, + paths: Optional[Sequence[str]] = None, + version: Optional[int] = None): + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + :param bool system_key: Indicates if the container is using a system generated partition key + :param str kind: Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + :param Sequence[str] paths: List of paths using which data within the container can be partitioned + :param int version: Indicates the version of the partition key definition + """ + pulumi.set(__self__, "system_key", system_key) + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if paths is not None: + pulumi.set(__self__, "paths", paths) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="systemKey") + def system_key(self) -> bool: + """ + Indicates if the container is using a system generated partition key + """ + return pulumi.get(self, "system_key") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def paths(self) -> Optional[Sequence[str]]: + """ + List of paths using which data within the container can be partitioned + """ + return pulumi.get(self, "paths") + + @property + @pulumi.getter + def version(self) -> Optional[int]: + """ + Indicates the version of the partition key definition + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class ContinuousModeBackupPolicyResponse(dict): + """ + The object representing continuous mode backup policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "continuousModeProperties": + suggest = "continuous_mode_properties" + elif key == "migrationState": + suggest = "migration_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ContinuousModeBackupPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ContinuousModeBackupPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ContinuousModeBackupPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + continuous_mode_properties: Optional['outputs.ContinuousModePropertiesResponse'] = None, + migration_state: Optional['outputs.BackupPolicyMigrationStateResponse'] = None): + """ + The object representing continuous mode backup policy. + :param str type: Describes the mode of backups. + Expected value is 'Continuous'. + :param 'ContinuousModePropertiesResponse' continuous_mode_properties: Configuration values for continuous mode backup + :param 'BackupPolicyMigrationStateResponse' migration_state: The object representing the state of the migration between the backup policies. + """ + pulumi.set(__self__, "type", 'Continuous') + if continuous_mode_properties is not None: + pulumi.set(__self__, "continuous_mode_properties", continuous_mode_properties) + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + + @property + @pulumi.getter + def type(self) -> str: + """ + Describes the mode of backups. + Expected value is 'Continuous'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="continuousModeProperties") + def continuous_mode_properties(self) -> Optional['outputs.ContinuousModePropertiesResponse']: + """ + Configuration values for continuous mode backup + """ + return pulumi.get(self, "continuous_mode_properties") + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional['outputs.BackupPolicyMigrationStateResponse']: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + +@pulumi.output_type +class ContinuousModePropertiesResponse(dict): + """ + Configuration values for periodic mode backup + """ + def __init__(__self__, *, + tier: Optional[str] = None): + """ + Configuration values for periodic mode backup + :param str tier: Enum to indicate type of Continuos backup mode + """ + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + Enum to indicate type of Continuos backup mode + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class CorsPolicyResponse(dict): + """ + The CORS policy for the Cosmos DB database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowedOrigins": + suggest = "allowed_origins" + elif key == "allowedHeaders": + suggest = "allowed_headers" + elif key == "allowedMethods": + suggest = "allowed_methods" + elif key == "exposedHeaders": + suggest = "exposed_headers" + elif key == "maxAgeInSeconds": + suggest = "max_age_in_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CorsPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CorsPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CorsPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allowed_origins: str, + allowed_headers: Optional[str] = None, + allowed_methods: Optional[str] = None, + exposed_headers: Optional[str] = None, + max_age_in_seconds: Optional[float] = None): + """ + The CORS policy for the Cosmos DB database account. + :param str allowed_origins: The origin domains that are permitted to make a request against the service via CORS. + :param str allowed_headers: The request headers that the origin domain may specify on the CORS request. + :param str allowed_methods: The methods (HTTP request verbs) that the origin domain may use for a CORS request. + :param str exposed_headers: The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + :param float max_age_in_seconds: The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + pulumi.set(__self__, "allowed_origins", allowed_origins) + if allowed_headers is not None: + pulumi.set(__self__, "allowed_headers", allowed_headers) + if allowed_methods is not None: + pulumi.set(__self__, "allowed_methods", allowed_methods) + if exposed_headers is not None: + pulumi.set(__self__, "exposed_headers", exposed_headers) + if max_age_in_seconds is not None: + pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + + @property + @pulumi.getter(name="allowedOrigins") + def allowed_origins(self) -> str: + """ + The origin domains that are permitted to make a request against the service via CORS. + """ + return pulumi.get(self, "allowed_origins") + + @property + @pulumi.getter(name="allowedHeaders") + def allowed_headers(self) -> Optional[str]: + """ + The request headers that the origin domain may specify on the CORS request. + """ + return pulumi.get(self, "allowed_headers") + + @property + @pulumi.getter(name="allowedMethods") + def allowed_methods(self) -> Optional[str]: + """ + The methods (HTTP request verbs) that the origin domain may use for a CORS request. + """ + return pulumi.get(self, "allowed_methods") + + @property + @pulumi.getter(name="exposedHeaders") + def exposed_headers(self) -> Optional[str]: + """ + The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. + """ + return pulumi.get(self, "exposed_headers") + + @property + @pulumi.getter(name="maxAgeInSeconds") + def max_age_in_seconds(self) -> Optional[float]: + """ + The maximum amount time that a browser should cache the preflight OPTIONS request. + """ + return pulumi.get(self, "max_age_in_seconds") + + +@pulumi.output_type +class DataCenterResourceResponseProperties(dict): + """ + Properties of a managed Cassandra data center. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "seedNodes": + suggest = "seed_nodes" + elif key == "authenticationMethodLdapProperties": + suggest = "authentication_method_ldap_properties" + elif key == "availabilityZone": + suggest = "availability_zone" + elif key == "backupStorageCustomerKeyUri": + suggest = "backup_storage_customer_key_uri" + elif key == "base64EncodedCassandraYamlFragment": + suggest = "base64_encoded_cassandra_yaml_fragment" + elif key == "dataCenterLocation": + suggest = "data_center_location" + elif key == "delegatedSubnetId": + suggest = "delegated_subnet_id" + elif key == "diskCapacity": + suggest = "disk_capacity" + elif key == "diskSku": + suggest = "disk_sku" + elif key == "managedDiskCustomerKeyUri": + suggest = "managed_disk_customer_key_uri" + elif key == "nodeCount": + suggest = "node_count" + elif key == "provisionError": + suggest = "provision_error" + elif key == "provisioningState": + suggest = "provisioning_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataCenterResourceResponseProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataCenterResourceResponseProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataCenterResourceResponseProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + seed_nodes: Sequence['outputs.SeedNodeResponse'], + authentication_method_ldap_properties: Optional['outputs.AuthenticationMethodLdapPropertiesResponse'] = None, + availability_zone: Optional[bool] = None, + backup_storage_customer_key_uri: Optional[str] = None, + base64_encoded_cassandra_yaml_fragment: Optional[str] = None, + data_center_location: Optional[str] = None, + deallocated: Optional[bool] = None, + delegated_subnet_id: Optional[str] = None, + disk_capacity: Optional[int] = None, + disk_sku: Optional[str] = None, + managed_disk_customer_key_uri: Optional[str] = None, + node_count: Optional[int] = None, + provision_error: Optional['outputs.CassandraErrorResponse'] = None, + provisioning_state: Optional[str] = None, + sku: Optional[str] = None): + """ + Properties of a managed Cassandra data center. + :param Sequence['SeedNodeResponse'] seed_nodes: IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + :param 'AuthenticationMethodLdapPropertiesResponse' authentication_method_ldap_properties: Ldap authentication method properties. This feature is in preview. + :param bool availability_zone: If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + :param str backup_storage_customer_key_uri: Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + :param str base64_encoded_cassandra_yaml_fragment: A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + :param str data_center_location: The region this data center should be created in. + :param bool deallocated: Whether the data center has been deallocated. + :param str delegated_subnet_id: Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + :param int disk_capacity: Number of disks attached to each node. Default is 4. + :param str disk_sku: Disk SKU used for data centers. Default value is P30. + :param str managed_disk_customer_key_uri: Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + :param int node_count: The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + :param 'CassandraErrorResponse' provision_error: Error related to resource provisioning. + :param str provisioning_state: The status of the resource at the time the operation was called. + :param str sku: Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + pulumi.set(__self__, "seed_nodes", seed_nodes) + if authentication_method_ldap_properties is not None: + pulumi.set(__self__, "authentication_method_ldap_properties", authentication_method_ldap_properties) + if availability_zone is not None: + pulumi.set(__self__, "availability_zone", availability_zone) + if backup_storage_customer_key_uri is not None: + pulumi.set(__self__, "backup_storage_customer_key_uri", backup_storage_customer_key_uri) + if base64_encoded_cassandra_yaml_fragment is not None: + pulumi.set(__self__, "base64_encoded_cassandra_yaml_fragment", base64_encoded_cassandra_yaml_fragment) + if data_center_location is not None: + pulumi.set(__self__, "data_center_location", data_center_location) + if deallocated is not None: + pulumi.set(__self__, "deallocated", deallocated) + if delegated_subnet_id is not None: + pulumi.set(__self__, "delegated_subnet_id", delegated_subnet_id) + if disk_capacity is not None: + pulumi.set(__self__, "disk_capacity", disk_capacity) + if disk_sku is not None: + pulumi.set(__self__, "disk_sku", disk_sku) + if managed_disk_customer_key_uri is not None: + pulumi.set(__self__, "managed_disk_customer_key_uri", managed_disk_customer_key_uri) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if provision_error is not None: + pulumi.set(__self__, "provision_error", provision_error) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if sku is not None: + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter(name="seedNodes") + def seed_nodes(self) -> Sequence['outputs.SeedNodeResponse']: + """ + IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. + """ + return pulumi.get(self, "seed_nodes") + + @property + @pulumi.getter(name="authenticationMethodLdapProperties") + def authentication_method_ldap_properties(self) -> Optional['outputs.AuthenticationMethodLdapPropertiesResponse']: + """ + Ldap authentication method properties. This feature is in preview. + """ + return pulumi.get(self, "authentication_method_ldap_properties") + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> Optional[bool]: + """ + If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. + """ + return pulumi.get(self, "availability_zone") + + @property + @pulumi.getter(name="backupStorageCustomerKeyUri") + def backup_storage_customer_key_uri(self) -> Optional[str]: + """ + Indicates the Key Uri of the customer key to use for encryption of the backup storage account. + """ + return pulumi.get(self, "backup_storage_customer_key_uri") + + @property + @pulumi.getter(name="base64EncodedCassandraYamlFragment") + def base64_encoded_cassandra_yaml_fragment(self) -> Optional[str]: + """ + A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. + """ + return pulumi.get(self, "base64_encoded_cassandra_yaml_fragment") + + @property + @pulumi.getter(name="dataCenterLocation") + def data_center_location(self) -> Optional[str]: + """ + The region this data center should be created in. + """ + return pulumi.get(self, "data_center_location") + + @property + @pulumi.getter + def deallocated(self) -> Optional[bool]: + """ + Whether the data center has been deallocated. + """ + return pulumi.get(self, "deallocated") + + @property + @pulumi.getter(name="delegatedSubnetId") + def delegated_subnet_id(self) -> Optional[str]: + """ + Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. + """ + return pulumi.get(self, "delegated_subnet_id") + + @property + @pulumi.getter(name="diskCapacity") + def disk_capacity(self) -> Optional[int]: + """ + Number of disks attached to each node. Default is 4. + """ + return pulumi.get(self, "disk_capacity") + + @property + @pulumi.getter(name="diskSku") + def disk_sku(self) -> Optional[str]: + """ + Disk SKU used for data centers. Default value is P30. + """ + return pulumi.get(self, "disk_sku") + + @property + @pulumi.getter(name="managedDiskCustomerKeyUri") + def managed_disk_customer_key_uri(self) -> Optional[str]: + """ + Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. + """ + return pulumi.get(self, "managed_disk_customer_key_uri") + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[int]: + """ + The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. + """ + return pulumi.get(self, "node_count") + + @property + @pulumi.getter(name="provisionError") + def provision_error(self) -> Optional['outputs.CassandraErrorResponse']: + """ + Error related to resource provisioning. + """ + return pulumi.get(self, "provision_error") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + The status of the resource at the time the operation was called. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def sku(self) -> Optional[str]: + """ + Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 + """ + return pulumi.get(self, "sku") + + +@pulumi.output_type +class DataTransferRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + def __init__(__self__, *, + location: str, + name: str, + status: str): + """ + Resource for a regional service location. + :param str location: The location name. + :param str name: The regional service name. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class DataTransferServiceResourcePropertiesResponse(dict): + """ + Properties for DataTransferServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataTransferServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataTransferServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataTransferServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.DataTransferRegionalServiceResourceResponse'], + service_type: str, + status: str, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None): + """ + Properties for DataTransferServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['DataTransferRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'DataTransfer'. + :param str status: Describes the status of a service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'DataTransfer') + pulumi.set(__self__, "status", status) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.DataTransferRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'DataTransfer'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + +@pulumi.output_type +class DatabaseAccountConnectionStringResponse(dict): + """ + Connection string for the Cosmos DB account + """ + def __init__(__self__, *, + connection_string: str, + description: str, + key_kind: str, + type: str): + """ + Connection string for the Cosmos DB account + :param str connection_string: Value of the connection string + :param str description: Description of the connection string + :param str key_kind: Kind of the connection string key + :param str type: Type of the connection string + """ + pulumi.set(__self__, "connection_string", connection_string) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "key_kind", key_kind) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> str: + """ + Value of the connection string + """ + return pulumi.get(self, "connection_string") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the connection string + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="keyKind") + def key_kind(self) -> str: + """ + Kind of the connection string key + """ + return pulumi.get(self, "key_kind") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of the connection string + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class DatabaseAccountKeysMetadataResponse(dict): + """ + The metadata related to each access key for the given Cosmos DB database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "primaryMasterKey": + suggest = "primary_master_key" + elif key == "primaryReadonlyMasterKey": + suggest = "primary_readonly_master_key" + elif key == "secondaryMasterKey": + suggest = "secondary_master_key" + elif key == "secondaryReadonlyMasterKey": + suggest = "secondary_readonly_master_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DatabaseAccountKeysMetadataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DatabaseAccountKeysMetadataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DatabaseAccountKeysMetadataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + primary_master_key: 'outputs.AccountKeyMetadataResponse', + primary_readonly_master_key: 'outputs.AccountKeyMetadataResponse', + secondary_master_key: 'outputs.AccountKeyMetadataResponse', + secondary_readonly_master_key: 'outputs.AccountKeyMetadataResponse'): + """ + The metadata related to each access key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' primary_master_key: The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' primary_readonly_master_key: The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' secondary_master_key: The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + :param 'AccountKeyMetadataResponse' secondary_readonly_master_key: The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + """ + pulumi.set(__self__, "primary_master_key", primary_master_key) + pulumi.set(__self__, "primary_readonly_master_key", primary_readonly_master_key) + pulumi.set(__self__, "secondary_master_key", secondary_master_key) + pulumi.set(__self__, "secondary_readonly_master_key", secondary_readonly_master_key) + + @property + @pulumi.getter(name="primaryMasterKey") + def primary_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "primary_master_key") + + @property + @pulumi.getter(name="primaryReadonlyMasterKey") + def primary_readonly_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "primary_readonly_master_key") + + @property + @pulumi.getter(name="secondaryMasterKey") + def secondary_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "secondary_master_key") + + @property + @pulumi.getter(name="secondaryReadonlyMasterKey") + def secondary_readonly_master_key(self) -> 'outputs.AccountKeyMetadataResponse': + """ + The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. + """ + return pulumi.get(self, "secondary_readonly_master_key") + + +@pulumi.output_type +class DatabaseRestoreResourceResponse(dict): + """ + Specific Databases to restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "collectionNames": + suggest = "collection_names" + elif key == "databaseName": + suggest = "database_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DatabaseRestoreResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DatabaseRestoreResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DatabaseRestoreResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + collection_names: Optional[Sequence[str]] = None, + database_name: Optional[str] = None): + """ + Specific Databases to restore. + :param Sequence[str] collection_names: The names of the collections available for restore. + :param str database_name: The name of the database available for restore. + """ + if collection_names is not None: + pulumi.set(__self__, "collection_names", collection_names) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + + @property + @pulumi.getter(name="collectionNames") + def collection_names(self) -> Optional[Sequence[str]]: + """ + The names of the collections available for restore. + """ + return pulumi.get(self, "collection_names") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The name of the database available for restore. + """ + return pulumi.get(self, "database_name") + + +@pulumi.output_type +class DiagnosticLogSettingsResponse(dict): + """ + Indicates what diagnostic log settings are to be enabled. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "enableFullTextQuery": + suggest = "enable_full_text_query" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DiagnosticLogSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DiagnosticLogSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DiagnosticLogSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enable_full_text_query: Optional[str] = None): + """ + Indicates what diagnostic log settings are to be enabled. + :param str enable_full_text_query: Describe the level of detail with which queries are to be logged. + """ + if enable_full_text_query is not None: + pulumi.set(__self__, "enable_full_text_query", enable_full_text_query) + + @property + @pulumi.getter(name="enableFullTextQuery") + def enable_full_text_query(self) -> Optional[str]: + """ + Describe the level of detail with which queries are to be logged. + """ + return pulumi.get(self, "enable_full_text_query") + + +@pulumi.output_type +class ExcludedPathResponse(dict): + def __init__(__self__, *, + path: Optional[str] = None): + """ + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class FailoverPolicyResponse(dict): + """ + The failover policy for a given region of a database account. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "failoverPriority": + suggest = "failover_priority" + elif key == "locationName": + suggest = "location_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FailoverPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FailoverPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FailoverPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + failover_priority: Optional[int] = None, + location_name: Optional[str] = None): + """ + The failover policy for a given region of a database account. + :param str id: The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + :param int failover_priority: The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + :param str location_name: The name of the region in which the database account exists. + """ + pulumi.set(__self__, "id", id) + if failover_priority is not None: + pulumi.set(__self__, "failover_priority", failover_priority) + if location_name is not None: + pulumi.set(__self__, "location_name", location_name) + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="failoverPriority") + def failover_priority(self) -> Optional[int]: + """ + The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + """ + return pulumi.get(self, "failover_priority") + + @property + @pulumi.getter(name="locationName") + def location_name(self) -> Optional[str]: + """ + The name of the region in which the database account exists. + """ + return pulumi.get(self, "location_name") + + +@pulumi.output_type +class GraphAPIComputeRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "graphApiComputeEndpoint": + suggest = "graph_api_compute_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GraphAPIComputeRegionalServiceResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GraphAPIComputeRegionalServiceResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GraphAPIComputeRegionalServiceResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + graph_api_compute_endpoint: str, + location: str, + name: str, + status: str): + """ + Resource for a regional service location. + :param str graph_api_compute_endpoint: The regional endpoint for GraphAPICompute. + :param str location: The location name. + :param str name: The regional service name. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "graph_api_compute_endpoint", graph_api_compute_endpoint) + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="graphApiComputeEndpoint") + def graph_api_compute_endpoint(self) -> str: + """ + The regional endpoint for GraphAPICompute. + """ + return pulumi.get(self, "graph_api_compute_endpoint") + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class GraphAPIComputeServiceResourcePropertiesResponse(dict): + """ + Properties for GraphAPIComputeServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "graphApiComputeEndpoint": + suggest = "graph_api_compute_endpoint" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GraphAPIComputeServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GraphAPIComputeServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GraphAPIComputeServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.GraphAPIComputeRegionalServiceResourceResponse'], + service_type: str, + status: str, + graph_api_compute_endpoint: Optional[str] = None, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None): + """ + Properties for GraphAPIComputeServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['GraphAPIComputeRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'GraphAPICompute'. + :param str status: Describes the status of a service. + :param str graph_api_compute_endpoint: GraphAPICompute endpoint for the service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'GraphAPICompute') + pulumi.set(__self__, "status", status) + if graph_api_compute_endpoint is not None: + pulumi.set(__self__, "graph_api_compute_endpoint", graph_api_compute_endpoint) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.GraphAPIComputeRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'GraphAPICompute'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="graphApiComputeEndpoint") + def graph_api_compute_endpoint(self) -> Optional[str]: + """ + GraphAPICompute endpoint for the service. + """ + return pulumi.get(self, "graph_api_compute_endpoint") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + +@pulumi.output_type +class GraphResourceGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GraphResourceGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GraphResourceGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GraphResourceGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class GraphResourceGetPropertiesResponseResource(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: Name of the Cosmos DB Graph + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Graph + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GremlinDatabaseGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinDatabaseGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class GremlinDatabaseGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createMode": + suggest = "create_mode" + elif key == "restoreParameters": + suggest = "restore_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinDatabaseGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinDatabaseGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinDatabaseGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + create_mode: Optional[str] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Gremlin database + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str create_mode: Enum to indicate the mode of resource creation. + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Gremlin database + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + +@pulumi.output_type +class GremlinDatabaseRestoreResourceResponse(dict): + """ + Specific Gremlin Databases to restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "databaseName": + suggest = "database_name" + elif key == "graphNames": + suggest = "graph_names" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinDatabaseRestoreResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinDatabaseRestoreResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinDatabaseRestoreResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + database_name: Optional[str] = None, + graph_names: Optional[Sequence[str]] = None): + """ + Specific Gremlin Databases to restore. + :param str database_name: The name of the gremlin database available for restore. + :param Sequence[str] graph_names: The names of the graphs available for restore. + """ + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if graph_names is not None: + pulumi.set(__self__, "graph_names", graph_names) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[str]: + """ + The name of the gremlin database available for restore. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter(name="graphNames") + def graph_names(self) -> Optional[Sequence[str]]: + """ + The names of the graphs available for restore. + """ + return pulumi.get(self, "graph_names") + + +@pulumi.output_type +class GremlinGraphGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinGraphGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinGraphGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinGraphGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class GremlinGraphGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "conflictResolutionPolicy": + suggest = "conflict_resolution_policy" + elif key == "createMode": + suggest = "create_mode" + elif key == "defaultTtl": + suggest = "default_ttl" + elif key == "indexingPolicy": + suggest = "indexing_policy" + elif key == "partitionKey": + suggest = "partition_key" + elif key == "restoreParameters": + suggest = "restore_parameters" + elif key == "uniqueKeyPolicy": + suggest = "unique_key_policy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GremlinGraphGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GremlinGraphGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GremlinGraphGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[float] = None, + conflict_resolution_policy: Optional['outputs.ConflictResolutionPolicyResponse'] = None, + create_mode: Optional[str] = None, + default_ttl: Optional[int] = None, + indexing_policy: Optional['outputs.IndexingPolicyResponse'] = None, + partition_key: Optional['outputs.ContainerPartitionKeyResponse'] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None, + unique_key_policy: Optional['outputs.UniqueKeyPolicyResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB Gremlin graph + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param float analytical_storage_ttl: Analytical TTL. + :param 'ConflictResolutionPolicyResponse' conflict_resolution_policy: The conflict resolution policy for the graph. + :param str create_mode: Enum to indicate the mode of resource creation. + :param int default_ttl: Default time to live + :param 'IndexingPolicyResponse' indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + :param 'ContainerPartitionKeyResponse' partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + :param 'UniqueKeyPolicyResponse' unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB Gremlin graph + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[float]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional['outputs.ConflictResolutionPolicyResponse']: + """ + The conflict resolution policy for the graph. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[int]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional['outputs.IndexingPolicyResponse']: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph + """ + return pulumi.get(self, "indexing_policy") + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional['outputs.ContainerPartitionKeyResponse']: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional['outputs.UniqueKeyPolicyResponse']: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + +@pulumi.output_type +class IncludedPathResponse(dict): + """ + The paths that are included in indexing + """ + def __init__(__self__, *, + indexes: Optional[Sequence['outputs.IndexesResponse']] = None, + path: Optional[str] = None): + """ + The paths that are included in indexing + :param Sequence['IndexesResponse'] indexes: List of indexes for this path + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def indexes(self) -> Optional[Sequence['outputs.IndexesResponse']]: + """ + List of indexes for this path + """ + return pulumi.get(self, "indexes") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class IndexesResponse(dict): + """ + The indexes for the path. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataType": + suggest = "data_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IndexesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IndexesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IndexesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_type: Optional[str] = None, + kind: Optional[str] = None, + precision: Optional[int] = None): + """ + The indexes for the path. + :param str data_type: The datatype for which the indexing behavior is applied to. + :param str kind: Indicates the type of index. + :param int precision: The precision of the index. -1 is maximum precision. + """ + if data_type is None: + data_type = 'String' + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if kind is None: + kind = 'Hash' + if kind is not None: + pulumi.set(__self__, "kind", kind) + if precision is not None: + pulumi.set(__self__, "precision", precision) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[str]: + """ + The datatype for which the indexing behavior is applied to. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Indicates the type of index. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def precision(self) -> Optional[int]: + """ + The precision of the index. -1 is maximum precision. + """ + return pulumi.get(self, "precision") + + +@pulumi.output_type +class IndexingPolicyResponse(dict): + """ + Cosmos DB indexing policy + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "compositeIndexes": + suggest = "composite_indexes" + elif key == "excludedPaths": + suggest = "excluded_paths" + elif key == "includedPaths": + suggest = "included_paths" + elif key == "indexingMode": + suggest = "indexing_mode" + elif key == "spatialIndexes": + suggest = "spatial_indexes" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IndexingPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IndexingPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IndexingPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + automatic: Optional[bool] = None, + composite_indexes: Optional[Sequence[Sequence['outputs.CompositePathResponse']]] = None, + excluded_paths: Optional[Sequence['outputs.ExcludedPathResponse']] = None, + included_paths: Optional[Sequence['outputs.IncludedPathResponse']] = None, + indexing_mode: Optional[str] = None, + spatial_indexes: Optional[Sequence['outputs.SpatialSpecResponse']] = None): + """ + Cosmos DB indexing policy + :param bool automatic: Indicates if the indexing policy is automatic + :param Sequence[Sequence['CompositePathResponse']] composite_indexes: List of composite path list + :param Sequence['ExcludedPathResponse'] excluded_paths: List of paths to exclude from indexing + :param Sequence['IncludedPathResponse'] included_paths: List of paths to include in the indexing + :param str indexing_mode: Indicates the indexing mode. + :param Sequence['SpatialSpecResponse'] spatial_indexes: List of spatial specifics + """ + if automatic is not None: + pulumi.set(__self__, "automatic", automatic) + if composite_indexes is not None: + pulumi.set(__self__, "composite_indexes", composite_indexes) + if excluded_paths is not None: + pulumi.set(__self__, "excluded_paths", excluded_paths) + if included_paths is not None: + pulumi.set(__self__, "included_paths", included_paths) + if indexing_mode is None: + indexing_mode = 'consistent' + if indexing_mode is not None: + pulumi.set(__self__, "indexing_mode", indexing_mode) + if spatial_indexes is not None: + pulumi.set(__self__, "spatial_indexes", spatial_indexes) + + @property + @pulumi.getter + def automatic(self) -> Optional[bool]: + """ + Indicates if the indexing policy is automatic + """ + return pulumi.get(self, "automatic") + + @property + @pulumi.getter(name="compositeIndexes") + def composite_indexes(self) -> Optional[Sequence[Sequence['outputs.CompositePathResponse']]]: + """ + List of composite path list + """ + return pulumi.get(self, "composite_indexes") + + @property + @pulumi.getter(name="excludedPaths") + def excluded_paths(self) -> Optional[Sequence['outputs.ExcludedPathResponse']]: + """ + List of paths to exclude from indexing + """ + return pulumi.get(self, "excluded_paths") + + @property + @pulumi.getter(name="includedPaths") + def included_paths(self) -> Optional[Sequence['outputs.IncludedPathResponse']]: + """ + List of paths to include in the indexing + """ + return pulumi.get(self, "included_paths") + + @property + @pulumi.getter(name="indexingMode") + def indexing_mode(self) -> Optional[str]: + """ + Indicates the indexing mode. + """ + return pulumi.get(self, "indexing_mode") + + @property + @pulumi.getter(name="spatialIndexes") + def spatial_indexes(self) -> Optional[Sequence['outputs.SpatialSpecResponse']]: + """ + List of spatial specifics + """ + return pulumi.get(self, "spatial_indexes") + + +@pulumi.output_type +class IpAddressOrRangeResponse(dict): + """ + IpAddressOrRange object + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipAddressOrRange": + suggest = "ip_address_or_range" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IpAddressOrRangeResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IpAddressOrRangeResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IpAddressOrRangeResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_address_or_range: Optional[str] = None): + """ + IpAddressOrRange object + :param str ip_address_or_range: A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + if ip_address_or_range is not None: + pulumi.set(__self__, "ip_address_or_range", ip_address_or_range) + + @property + @pulumi.getter(name="ipAddressOrRange") + def ip_address_or_range(self) -> Optional[str]: + """ + A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. + """ + return pulumi.get(self, "ip_address_or_range") + + +@pulumi.output_type +class LocationResponse(dict): + """ + A region in which the Azure Cosmos DB database account is deployed. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "documentEndpoint": + suggest = "document_endpoint" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "failoverPriority": + suggest = "failover_priority" + elif key == "isZoneRedundant": + suggest = "is_zone_redundant" + elif key == "locationName": + suggest = "location_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LocationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LocationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LocationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + document_endpoint: str, + id: str, + provisioning_state: str, + failover_priority: Optional[int] = None, + is_zone_redundant: Optional[bool] = None, + location_name: Optional[str] = None): + """ + A region in which the Azure Cosmos DB database account is deployed. + :param str document_endpoint: The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + :param str id: The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + :param str provisioning_state: The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + :param int failover_priority: The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + :param bool is_zone_redundant: Flag to indicate whether or not this region is an AvailabilityZone region + :param str location_name: The name of the region. + """ + pulumi.set(__self__, "document_endpoint", document_endpoint) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if failover_priority is not None: + pulumi.set(__self__, "failover_priority", failover_priority) + if is_zone_redundant is not None: + pulumi.set(__self__, "is_zone_redundant", is_zone_redundant) + if location_name is not None: + pulumi.set(__self__, "location_name", location_name) + + @property + @pulumi.getter(name="documentEndpoint") + def document_endpoint(self) -> str: + """ + The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ + """ + return pulumi.get(self, "document_endpoint") + + @property + @pulumi.getter + def id(self) -> str: + """ + The unique identifier of the region within the database account. Example: <accountName>-<locationName>. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="failoverPriority") + def failover_priority(self) -> Optional[int]: + """ + The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + """ + return pulumi.get(self, "failover_priority") + + @property + @pulumi.getter(name="isZoneRedundant") + def is_zone_redundant(self) -> Optional[bool]: + """ + Flag to indicate whether or not this region is an AvailabilityZone region + """ + return pulumi.get(self, "is_zone_redundant") + + @property + @pulumi.getter(name="locationName") + def location_name(self) -> Optional[str]: + """ + The name of the region. + """ + return pulumi.get(self, "location_name") + + +@pulumi.output_type +class ManagedCassandraManagedServiceIdentityResponse(dict): + """ + Identity for the resource. + """ + @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 ManagedCassandraManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedCassandraManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedCassandraManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None): + """ + Identity for the resource. + :param str principal_id: The object id of the identity resource. + :param str tenant_id: The tenant id of the resource. + :param str type: The type of the resource. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The object id of the identity resource. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id of the resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of the resource. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class ManagedServiceIdentityResponse(dict): + """ + Identity for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None, + user_assigned_identities: Optional[Mapping[str, 'outputs.ManagedServiceIdentityResponseUserAssignedIdentities']] = None): + """ + Identity for the resource. + :param str principal_id: The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + :param str tenant_id: The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + :param str type: The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + :param Mapping[str, 'ManagedServiceIdentityResponseUserAssignedIdentities'] user_assigned_identities: The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.ManagedServiceIdentityResponseUserAssignedIdentities']]: + """ + The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class ManagedServiceIdentityResponseUserAssignedIdentities(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponseUserAssignedIdentities. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponseUserAssignedIdentities.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponseUserAssignedIdentities.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + :param str client_id: The client id of user assigned identity. + :param str principal_id: The principal id of user assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client id of user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of user assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class MaterializedViewDefinitionResponse(dict): + """ + Materialized View definition for the container. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceCollectionId": + suggest = "source_collection_id" + elif key == "sourceCollectionRid": + suggest = "source_collection_rid" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MaterializedViewDefinitionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MaterializedViewDefinitionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MaterializedViewDefinitionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + definition: str, + source_collection_id: str, + source_collection_rid: str): + """ + Materialized View definition for the container. + :param str definition: The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + :param str source_collection_id: The name of the source container on which the Materialized View will be created. + :param str source_collection_rid: An unique identifier for the source collection. This is a system generated property. + """ + pulumi.set(__self__, "definition", definition) + pulumi.set(__self__, "source_collection_id", source_collection_id) + pulumi.set(__self__, "source_collection_rid", source_collection_rid) + + @property + @pulumi.getter + def definition(self) -> str: + """ + The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container. + """ + return pulumi.get(self, "definition") + + @property + @pulumi.getter(name="sourceCollectionId") + def source_collection_id(self) -> str: + """ + The name of the source container on which the Materialized View will be created. + """ + return pulumi.get(self, "source_collection_id") + + @property + @pulumi.getter(name="sourceCollectionRid") + def source_collection_rid(self) -> str: + """ + An unique identifier for the source collection. This is a system generated property. + """ + return pulumi.get(self, "source_collection_rid") + + +@pulumi.output_type +class MaterializedViewsBuilderRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + def __init__(__self__, *, + location: str, + name: str, + status: str): + """ + Resource for a regional service location. + :param str location: The location name. + :param str name: The regional service name. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class MaterializedViewsBuilderServiceResourcePropertiesResponse(dict): + """ + Properties for MaterializedViewsBuilderServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MaterializedViewsBuilderServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MaterializedViewsBuilderServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MaterializedViewsBuilderServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.MaterializedViewsBuilderRegionalServiceResourceResponse'], + service_type: str, + status: str, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None): + """ + Properties for MaterializedViewsBuilderServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['MaterializedViewsBuilderRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'MaterializedViewsBuilder'. + :param str status: Describes the status of a service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'MaterializedViewsBuilder') + pulumi.set(__self__, "status", status) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.MaterializedViewsBuilderRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'MaterializedViewsBuilder'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + +@pulumi.output_type +class MongoDBCollectionGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBCollectionGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBCollectionGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBCollectionGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class MongoDBCollectionGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "createMode": + suggest = "create_mode" + elif key == "restoreParameters": + suggest = "restore_parameters" + elif key == "shardKey": + suggest = "shard_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBCollectionGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBCollectionGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBCollectionGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[int] = None, + create_mode: Optional[str] = None, + indexes: Optional[Sequence['outputs.MongoIndexResponse']] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None, + shard_key: Optional[Mapping[str, str]] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB MongoDB collection + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param int analytical_storage_ttl: Analytical TTL. + :param str create_mode: Enum to indicate the mode of resource creation. + :param Sequence['MongoIndexResponse'] indexes: List of index keys + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + :param Mapping[str, str] shard_key: A key-value pair of shard keys to be applied for the request. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if indexes is not None: + pulumi.set(__self__, "indexes", indexes) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if shard_key is not None: + pulumi.set(__self__, "shard_key", shard_key) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB MongoDB collection + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[int]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter + def indexes(self) -> Optional[Sequence['outputs.MongoIndexResponse']]: + """ + List of index keys + """ + return pulumi.get(self, "indexes") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="shardKey") + def shard_key(self) -> Optional[Mapping[str, str]]: + """ + A key-value pair of shard keys to be applied for the request. + """ + return pulumi.get(self, "shard_key") + + +@pulumi.output_type +class MongoDBDatabaseGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBDatabaseGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class MongoDBDatabaseGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createMode": + suggest = "create_mode" + elif key == "restoreParameters": + suggest = "restore_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoDBDatabaseGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoDBDatabaseGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoDBDatabaseGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + create_mode: Optional[str] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB MongoDB database + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str create_mode: Enum to indicate the mode of resource creation. + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB MongoDB database + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + +@pulumi.output_type +class MongoIndexKeysResponse(dict): + """ + Cosmos DB MongoDB collection resource object + """ + def __init__(__self__, *, + keys: Optional[Sequence[str]] = None): + """ + Cosmos DB MongoDB collection resource object + :param Sequence[str] keys: List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + if keys is not None: + pulumi.set(__self__, "keys", keys) + + @property + @pulumi.getter + def keys(self) -> Optional[Sequence[str]]: + """ + List of keys for each MongoDB collection in the Azure Cosmos DB service + """ + return pulumi.get(self, "keys") + + +@pulumi.output_type +class MongoIndexOptionsResponse(dict): + """ + Cosmos DB MongoDB collection index options + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "expireAfterSeconds": + suggest = "expire_after_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MongoIndexOptionsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MongoIndexOptionsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MongoIndexOptionsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + expire_after_seconds: Optional[int] = None, + unique: Optional[bool] = None): + """ + Cosmos DB MongoDB collection index options + :param int expire_after_seconds: Expire after seconds + :param bool unique: Is unique or not + """ + if expire_after_seconds is not None: + pulumi.set(__self__, "expire_after_seconds", expire_after_seconds) + if unique is not None: + pulumi.set(__self__, "unique", unique) + + @property + @pulumi.getter(name="expireAfterSeconds") + def expire_after_seconds(self) -> Optional[int]: + """ + Expire after seconds + """ + return pulumi.get(self, "expire_after_seconds") + + @property + @pulumi.getter + def unique(self) -> Optional[bool]: + """ + Is unique or not + """ + return pulumi.get(self, "unique") + + +@pulumi.output_type +class MongoIndexResponse(dict): + """ + Cosmos DB MongoDB collection index key + """ + def __init__(__self__, *, + key: Optional['outputs.MongoIndexKeysResponse'] = None, + options: Optional['outputs.MongoIndexOptionsResponse'] = None): + """ + Cosmos DB MongoDB collection index key + :param 'MongoIndexKeysResponse' key: Cosmos DB MongoDB collection index keys + :param 'MongoIndexOptionsResponse' options: Cosmos DB MongoDB collection index key options + """ + if key is not None: + pulumi.set(__self__, "key", key) + if options is not None: + pulumi.set(__self__, "options", options) + + @property + @pulumi.getter + def key(self) -> Optional['outputs.MongoIndexKeysResponse']: + """ + Cosmos DB MongoDB collection index keys + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def options(self) -> Optional['outputs.MongoIndexOptionsResponse']: + """ + Cosmos DB MongoDB collection index key options + """ + return pulumi.get(self, "options") + + +@pulumi.output_type +class NodeGroupSpecResponse(dict): + """ + Specification for a node group. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "diskSizeGB": + suggest = "disk_size_gb" + elif key == "enableHa": + suggest = "enable_ha" + elif key == "nodeCount": + suggest = "node_count" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NodeGroupSpecResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NodeGroupSpecResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NodeGroupSpecResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + disk_size_gb: Optional[float] = None, + enable_ha: Optional[bool] = None, + kind: Optional[str] = None, + node_count: Optional[int] = None, + sku: Optional[str] = None): + """ + Specification for a node group. + :param float disk_size_gb: The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + :param bool enable_ha: Whether high availability is enabled on the node group. + :param str kind: The node type deployed in the node group. + :param int node_count: The number of nodes in the node group. + :param str sku: The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + """ + if disk_size_gb is not None: + pulumi.set(__self__, "disk_size_gb", disk_size_gb) + if enable_ha is not None: + pulumi.set(__self__, "enable_ha", enable_ha) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if node_count is not None: + pulumi.set(__self__, "node_count", node_count) + if sku is not None: + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> Optional[float]: + """ + The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024. + """ + return pulumi.get(self, "disk_size_gb") + + @property + @pulumi.getter(name="enableHa") + def enable_ha(self) -> Optional[bool]: + """ + Whether high availability is enabled on the node group. + """ + return pulumi.get(self, "enable_ha") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + The node type deployed in the node group. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="nodeCount") + def node_count(self) -> Optional[int]: + """ + The number of nodes in the node group. + """ + return pulumi.get(self, "node_count") + + @property + @pulumi.getter + def sku(self) -> Optional[str]: + """ + The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'. + """ + return pulumi.get(self, "sku") + + +@pulumi.output_type +class PeriodicModeBackupPolicyResponse(dict): + """ + The object representing periodic mode backup policy. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "migrationState": + suggest = "migration_state" + elif key == "periodicModeProperties": + suggest = "periodic_mode_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PeriodicModeBackupPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PeriodicModeBackupPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PeriodicModeBackupPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + migration_state: Optional['outputs.BackupPolicyMigrationStateResponse'] = None, + periodic_mode_properties: Optional['outputs.PeriodicModePropertiesResponse'] = None): + """ + The object representing periodic mode backup policy. + :param str type: Describes the mode of backups. + Expected value is 'Periodic'. + :param 'BackupPolicyMigrationStateResponse' migration_state: The object representing the state of the migration between the backup policies. + :param 'PeriodicModePropertiesResponse' periodic_mode_properties: Configuration values for periodic mode backup + """ + pulumi.set(__self__, "type", 'Periodic') + if migration_state is not None: + pulumi.set(__self__, "migration_state", migration_state) + if periodic_mode_properties is not None: + pulumi.set(__self__, "periodic_mode_properties", periodic_mode_properties) + + @property + @pulumi.getter + def type(self) -> str: + """ + Describes the mode of backups. + Expected value is 'Periodic'. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="migrationState") + def migration_state(self) -> Optional['outputs.BackupPolicyMigrationStateResponse']: + """ + The object representing the state of the migration between the backup policies. + """ + return pulumi.get(self, "migration_state") + + @property + @pulumi.getter(name="periodicModeProperties") + def periodic_mode_properties(self) -> Optional['outputs.PeriodicModePropertiesResponse']: + """ + Configuration values for periodic mode backup + """ + return pulumi.get(self, "periodic_mode_properties") + + +@pulumi.output_type +class PeriodicModePropertiesResponse(dict): + """ + Configuration values for periodic mode backup + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupIntervalInMinutes": + suggest = "backup_interval_in_minutes" + elif key == "backupRetentionIntervalInHours": + suggest = "backup_retention_interval_in_hours" + elif key == "backupStorageRedundancy": + suggest = "backup_storage_redundancy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PeriodicModePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PeriodicModePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PeriodicModePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_interval_in_minutes: Optional[int] = None, + backup_retention_interval_in_hours: Optional[int] = None, + backup_storage_redundancy: Optional[str] = None): + """ + Configuration values for periodic mode backup + :param int backup_interval_in_minutes: An integer representing the interval in minutes between two backups + :param int backup_retention_interval_in_hours: An integer representing the time (in hours) that each backup is retained + :param str backup_storage_redundancy: Enum to indicate type of backup residency + """ + if backup_interval_in_minutes is not None: + pulumi.set(__self__, "backup_interval_in_minutes", backup_interval_in_minutes) + if backup_retention_interval_in_hours is not None: + pulumi.set(__self__, "backup_retention_interval_in_hours", backup_retention_interval_in_hours) + if backup_storage_redundancy is not None: + pulumi.set(__self__, "backup_storage_redundancy", backup_storage_redundancy) + + @property + @pulumi.getter(name="backupIntervalInMinutes") + def backup_interval_in_minutes(self) -> Optional[int]: + """ + An integer representing the interval in minutes between two backups + """ + return pulumi.get(self, "backup_interval_in_minutes") + + @property + @pulumi.getter(name="backupRetentionIntervalInHours") + def backup_retention_interval_in_hours(self) -> Optional[int]: + """ + An integer representing the time (in hours) that each backup is retained + """ + return pulumi.get(self, "backup_retention_interval_in_hours") + + @property + @pulumi.getter(name="backupStorageRedundancy") + def backup_storage_redundancy(self) -> Optional[str]: + """ + Enum to indicate type of backup residency + """ + return pulumi.get(self, "backup_storage_redundancy") + + +@pulumi.output_type +class PermissionResponse(dict): + """ + The set of data plane operations permitted through this Role Definition. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataActions": + suggest = "data_actions" + elif key == "notDataActions": + suggest = "not_data_actions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PermissionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PermissionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PermissionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_actions: Optional[Sequence[str]] = None, + not_data_actions: Optional[Sequence[str]] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param Sequence[str] data_actions: An array of data actions that are allowed. + :param Sequence[str] not_data_actions: An array of data actions that are denied. + """ + if data_actions is not None: + pulumi.set(__self__, "data_actions", data_actions) + if not_data_actions is not None: + pulumi.set(__self__, "not_data_actions", not_data_actions) + + @property + @pulumi.getter(name="dataActions") + def data_actions(self) -> Optional[Sequence[str]]: + """ + An array of data actions that are allowed. + """ + return pulumi.get(self, "data_actions") + + @property + @pulumi.getter(name="notDataActions") + def not_data_actions(self) -> Optional[Sequence[str]]: + """ + An array of data actions that are denied. + """ + return pulumi.get(self, "not_data_actions") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + A private endpoint connection + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupId": + suggest = "group_id" + elif key == "privateEndpoint": + suggest = "private_endpoint" + elif key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + name: str, + type: str, + group_id: Optional[str] = None, + private_endpoint: Optional['outputs.PrivateEndpointPropertyResponse'] = None, + private_link_service_connection_state: Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse'] = None, + provisioning_state: Optional[str] = None): + """ + A private endpoint connection + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param str group_id: Group id of the private endpoint. + :param 'PrivateEndpointPropertyResponse' private_endpoint: Private endpoint which the connection belongs to. + :param 'PrivateLinkServiceConnectionStatePropertyResponse' private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param str provisioning_state: Provisioning state of the private endpoint. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state is not None: + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointPropertyResponse']: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse']: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + +@pulumi.output_type +class PrivateEndpointPropertyResponse(dict): + """ + Private endpoint which the connection belongs to. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Private endpoint which the connection belongs to. + :param str id: Resource id of the private endpoint. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource id of the private endpoint. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStatePropertyResponse(dict): + """ + Connection State of the Private Endpoint Connection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStatePropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkServiceConnectionStatePropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkServiceConnectionStatePropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: str, + description: Optional[str] = None, + status: Optional[str] = None): + """ + Connection State of the Private Endpoint Connection. + :param str actions_required: Any action that is required beyond basic workflow (approve/ reject/ disconnect) + :param str description: The private link service connection description. + :param str status: The private link service connection status. + """ + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> str: + """ + Any action that is required beyond basic workflow (approve/ reject/ disconnect) + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class PrivilegeResponse(dict): + """ + The set of data plane operations permitted through this Role Definition. + """ + def __init__(__self__, *, + actions: Optional[Sequence[str]] = None, + resource: Optional['outputs.PrivilegeResponseResource'] = None): + """ + The set of data plane operations permitted through this Role Definition. + :param Sequence[str] actions: An array of actions that are allowed. + :param 'PrivilegeResponseResource' resource: An Azure Cosmos DB Mongo DB Resource. + """ + if actions is not None: + pulumi.set(__self__, "actions", actions) + if resource is not None: + pulumi.set(__self__, "resource", resource) + + @property + @pulumi.getter + def actions(self) -> Optional[Sequence[str]]: + """ + An array of actions that are allowed. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter + def resource(self) -> Optional['outputs.PrivilegeResponseResource']: + """ + An Azure Cosmos DB Mongo DB Resource. + """ + return pulumi.get(self, "resource") + + +@pulumi.output_type +class PrivilegeResponseResource(dict): + """ + An Azure Cosmos DB Mongo DB Resource. + """ + def __init__(__self__, *, + collection: Optional[str] = None, + db: Optional[str] = None): + """ + An Azure Cosmos DB Mongo DB Resource. + :param str collection: The collection name the role is applied. + :param str db: The database name the role is applied. + """ + if collection is not None: + pulumi.set(__self__, "collection", collection) + if db is not None: + pulumi.set(__self__, "db", db) + + @property + @pulumi.getter + def collection(self) -> Optional[str]: + """ + The collection name the role is applied. + """ + return pulumi.get(self, "collection") + + @property + @pulumi.getter + def db(self) -> Optional[str]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + +@pulumi.output_type +class ResourceRestoreParametersResponse(dict): + """ + Parameters to indicate the information about the restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "restoreSource": + suggest = "restore_source" + elif key == "restoreTimestampInUtc": + suggest = "restore_timestamp_in_utc" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ResourceRestoreParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ResourceRestoreParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ResourceRestoreParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + restore_source: Optional[str] = None, + restore_timestamp_in_utc: Optional[str] = None): + """ + Parameters to indicate the information about the restore. + :param str restore_source: The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + :param str restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 format). + """ + if restore_source is not None: + pulumi.set(__self__, "restore_source", restore_source) + if restore_timestamp_in_utc is not None: + pulumi.set(__self__, "restore_timestamp_in_utc", restore_timestamp_in_utc) + + @property + @pulumi.getter(name="restoreSource") + def restore_source(self) -> Optional[str]: + """ + The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + """ + return pulumi.get(self, "restore_source") + + @property + @pulumi.getter(name="restoreTimestampInUtc") + def restore_timestamp_in_utc(self) -> Optional[str]: + """ + Time to which the account has to be restored (ISO-8601 format). + """ + return pulumi.get(self, "restore_timestamp_in_utc") + + +@pulumi.output_type +class RestoreParametersResponse(dict): + """ + Parameters to indicate the information about the restore. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "databasesToRestore": + suggest = "databases_to_restore" + elif key == "gremlinDatabasesToRestore": + suggest = "gremlin_databases_to_restore" + elif key == "restoreMode": + suggest = "restore_mode" + elif key == "restoreSource": + suggest = "restore_source" + elif key == "restoreTimestampInUtc": + suggest = "restore_timestamp_in_utc" + elif key == "sourceBackupLocation": + suggest = "source_backup_location" + elif key == "tablesToRestore": + suggest = "tables_to_restore" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RestoreParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RestoreParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RestoreParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + databases_to_restore: Optional[Sequence['outputs.DatabaseRestoreResourceResponse']] = None, + gremlin_databases_to_restore: Optional[Sequence['outputs.GremlinDatabaseRestoreResourceResponse']] = None, + restore_mode: Optional[str] = None, + restore_source: Optional[str] = None, + restore_timestamp_in_utc: Optional[str] = None, + source_backup_location: Optional[str] = None, + tables_to_restore: Optional[Sequence[str]] = None): + """ + Parameters to indicate the information about the restore. + :param Sequence['DatabaseRestoreResourceResponse'] databases_to_restore: List of specific databases available for restore. + :param Sequence['GremlinDatabaseRestoreResourceResponse'] gremlin_databases_to_restore: List of specific gremlin databases available for restore. + :param str restore_mode: Describes the mode of the restore. + :param str restore_source: The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + :param str restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 format). + :param str source_backup_location: The source backup location for restore. + :param Sequence[str] tables_to_restore: List of specific tables available for restore. + """ + if databases_to_restore is not None: + pulumi.set(__self__, "databases_to_restore", databases_to_restore) + if gremlin_databases_to_restore is not None: + pulumi.set(__self__, "gremlin_databases_to_restore", gremlin_databases_to_restore) + if restore_mode is not None: + pulumi.set(__self__, "restore_mode", restore_mode) + if restore_source is not None: + pulumi.set(__self__, "restore_source", restore_source) + if restore_timestamp_in_utc is not None: + pulumi.set(__self__, "restore_timestamp_in_utc", restore_timestamp_in_utc) + if source_backup_location is not None: + pulumi.set(__self__, "source_backup_location", source_backup_location) + if tables_to_restore is not None: + pulumi.set(__self__, "tables_to_restore", tables_to_restore) + + @property + @pulumi.getter(name="databasesToRestore") + def databases_to_restore(self) -> Optional[Sequence['outputs.DatabaseRestoreResourceResponse']]: + """ + List of specific databases available for restore. + """ + return pulumi.get(self, "databases_to_restore") + + @property + @pulumi.getter(name="gremlinDatabasesToRestore") + def gremlin_databases_to_restore(self) -> Optional[Sequence['outputs.GremlinDatabaseRestoreResourceResponse']]: + """ + List of specific gremlin databases available for restore. + """ + return pulumi.get(self, "gremlin_databases_to_restore") + + @property + @pulumi.getter(name="restoreMode") + def restore_mode(self) -> Optional[str]: + """ + Describes the mode of the restore. + """ + return pulumi.get(self, "restore_mode") + + @property + @pulumi.getter(name="restoreSource") + def restore_source(self) -> Optional[str]: + """ + The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + """ + return pulumi.get(self, "restore_source") + + @property + @pulumi.getter(name="restoreTimestampInUtc") + def restore_timestamp_in_utc(self) -> Optional[str]: + """ + Time to which the account has to be restored (ISO-8601 format). + """ + return pulumi.get(self, "restore_timestamp_in_utc") + + @property + @pulumi.getter(name="sourceBackupLocation") + def source_backup_location(self) -> Optional[str]: + """ + The source backup location for restore. + """ + return pulumi.get(self, "source_backup_location") + + @property + @pulumi.getter(name="tablesToRestore") + def tables_to_restore(self) -> Optional[Sequence[str]]: + """ + List of specific tables available for restore. + """ + return pulumi.get(self, "tables_to_restore") + + +@pulumi.output_type +class RoleResponse(dict): + """ + The set of roles permitted through this Role Definition. + """ + def __init__(__self__, *, + db: Optional[str] = None, + role: Optional[str] = None): + """ + The set of roles permitted through this Role Definition. + :param str db: The database name the role is applied. + :param str role: The role name. + """ + if db is not None: + pulumi.set(__self__, "db", db) + if role is not None: + pulumi.set(__self__, "role", role) + + @property + @pulumi.getter + def db(self) -> Optional[str]: + """ + The database name the role is applied. + """ + return pulumi.get(self, "db") + + @property + @pulumi.getter + def role(self) -> Optional[str]: + """ + The role name. + """ + return pulumi.get(self, "role") + + +@pulumi.output_type +class SeedNodeResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipAddress": + suggest = "ip_address" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SeedNodeResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SeedNodeResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SeedNodeResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_address: Optional[str] = None): + """ + :param str ip_address: IP address of this seed node. + """ + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[str]: + """ + IP address of this seed node. + """ + return pulumi.get(self, "ip_address") + + +@pulumi.output_type +class SpatialSpecResponse(dict): + def __init__(__self__, *, + path: Optional[str] = None, + types: Optional[Sequence[str]] = None): + """ + :param str path: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + :param Sequence[str] types: List of path's spatial type + """ + if path is not None: + pulumi.set(__self__, "path", path) + if types is not None: + pulumi.set(__self__, "types", types) + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) + """ + return pulumi.get(self, "path") + + @property + @pulumi.getter + def types(self) -> Optional[Sequence[str]]: + """ + List of path's spatial type + """ + return pulumi.get(self, "types") + + +@pulumi.output_type +class SqlContainerGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlContainerGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlContainerGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlContainerGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class SqlContainerGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "analyticalStorageTtl": + suggest = "analytical_storage_ttl" + elif key == "clientEncryptionPolicy": + suggest = "client_encryption_policy" + elif key == "conflictResolutionPolicy": + suggest = "conflict_resolution_policy" + elif key == "createMode": + suggest = "create_mode" + elif key == "defaultTtl": + suggest = "default_ttl" + elif key == "indexingPolicy": + suggest = "indexing_policy" + elif key == "materializedViewDefinition": + suggest = "materialized_view_definition" + elif key == "partitionKey": + suggest = "partition_key" + elif key == "restoreParameters": + suggest = "restore_parameters" + elif key == "uniqueKeyPolicy": + suggest = "unique_key_policy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlContainerGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlContainerGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlContainerGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + analytical_storage_ttl: Optional[float] = None, + client_encryption_policy: Optional['outputs.ClientEncryptionPolicyResponse'] = None, + conflict_resolution_policy: Optional['outputs.ConflictResolutionPolicyResponse'] = None, + create_mode: Optional[str] = None, + default_ttl: Optional[int] = None, + indexing_policy: Optional['outputs.IndexingPolicyResponse'] = None, + materialized_view_definition: Optional['outputs.MaterializedViewDefinitionResponse'] = None, + partition_key: Optional['outputs.ContainerPartitionKeyResponse'] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None, + unique_key_policy: Optional['outputs.UniqueKeyPolicyResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL container + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param float analytical_storage_ttl: Analytical TTL. + :param 'ClientEncryptionPolicyResponse' client_encryption_policy: The client encryption policy for the container. + :param 'ConflictResolutionPolicyResponse' conflict_resolution_policy: The conflict resolution policy for the container. + :param str create_mode: Enum to indicate the mode of resource creation. + :param int default_ttl: Default time to live + :param 'IndexingPolicyResponse' indexing_policy: The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + :param 'MaterializedViewDefinitionResponse' materialized_view_definition: The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + :param 'ContainerPartitionKeyResponse' partition_key: The configuration of the partition key to be used for partitioning data into multiple partitions + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + :param 'UniqueKeyPolicyResponse' unique_key_policy: The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if analytical_storage_ttl is not None: + pulumi.set(__self__, "analytical_storage_ttl", analytical_storage_ttl) + if client_encryption_policy is not None: + pulumi.set(__self__, "client_encryption_policy", client_encryption_policy) + if conflict_resolution_policy is not None: + pulumi.set(__self__, "conflict_resolution_policy", conflict_resolution_policy) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if indexing_policy is not None: + pulumi.set(__self__, "indexing_policy", indexing_policy) + if materialized_view_definition is not None: + pulumi.set(__self__, "materialized_view_definition", materialized_view_definition) + if partition_key is not None: + pulumi.set(__self__, "partition_key", partition_key) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if unique_key_policy is not None: + pulumi.set(__self__, "unique_key_policy", unique_key_policy) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL container + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="analyticalStorageTtl") + def analytical_storage_ttl(self) -> Optional[float]: + """ + Analytical TTL. + """ + return pulumi.get(self, "analytical_storage_ttl") + + @property + @pulumi.getter(name="clientEncryptionPolicy") + def client_encryption_policy(self) -> Optional['outputs.ClientEncryptionPolicyResponse']: + """ + The client encryption policy for the container. + """ + return pulumi.get(self, "client_encryption_policy") + + @property + @pulumi.getter(name="conflictResolutionPolicy") + def conflict_resolution_policy(self) -> Optional['outputs.ConflictResolutionPolicyResponse']: + """ + The conflict resolution policy for the container. + """ + return pulumi.get(self, "conflict_resolution_policy") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="defaultTtl") + def default_ttl(self) -> Optional[int]: + """ + Default time to live + """ + return pulumi.get(self, "default_ttl") + + @property + @pulumi.getter(name="indexingPolicy") + def indexing_policy(self) -> Optional['outputs.IndexingPolicyResponse']: + """ + The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container + """ + return pulumi.get(self, "indexing_policy") + + @property + @pulumi.getter(name="materializedViewDefinition") + def materialized_view_definition(self) -> Optional['outputs.MaterializedViewDefinitionResponse']: + """ + The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container. + """ + return pulumi.get(self, "materialized_view_definition") + + @property + @pulumi.getter(name="partitionKey") + def partition_key(self) -> Optional['outputs.ContainerPartitionKeyResponse']: + """ + The configuration of the partition key to be used for partitioning data into multiple partitions + """ + return pulumi.get(self, "partition_key") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter(name="uniqueKeyPolicy") + def unique_key_policy(self) -> Optional['outputs.UniqueKeyPolicyResponse']: + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_key_policy") + + +@pulumi.output_type +class SqlDatabaseGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDatabaseGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDatabaseGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class SqlDatabaseGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createMode": + suggest = "create_mode" + elif key == "restoreParameters": + suggest = "restore_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDatabaseGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDatabaseGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDatabaseGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + colls: Optional[str] = None, + create_mode: Optional[str] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None, + users: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL database + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str colls: A system generated property that specified the addressable path of the collections resource. + :param str create_mode: Enum to indicate the mode of resource creation. + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + :param str users: A system generated property that specifies the addressable path of the users resource. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if colls is not None: + pulumi.set(__self__, "colls", colls) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + if users is not None: + pulumi.set(__self__, "users", users) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL database + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def colls(self) -> Optional[str]: + """ + A system generated property that specified the addressable path of the collections resource. + """ + return pulumi.get(self, "colls") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + @property + @pulumi.getter + def users(self) -> Optional[str]: + """ + A system generated property that specifies the addressable path of the users resource. + """ + return pulumi.get(self, "users") + + +@pulumi.output_type +class SqlDedicatedGatewayRegionalServiceResourceResponse(dict): + """ + Resource for a regional service location. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sqlDedicatedGatewayEndpoint": + suggest = "sql_dedicated_gateway_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDedicatedGatewayRegionalServiceResourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDedicatedGatewayRegionalServiceResourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDedicatedGatewayRegionalServiceResourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + location: str, + name: str, + sql_dedicated_gateway_endpoint: str, + status: str): + """ + Resource for a regional service location. + :param str location: The location name. + :param str name: The regional service name. + :param str sql_dedicated_gateway_endpoint: The regional endpoint for SqlDedicatedGateway. + :param str status: Describes the status of a service. + """ + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "sql_dedicated_gateway_endpoint", sql_dedicated_gateway_endpoint) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def location(self) -> str: + """ + The location name. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The regional service name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="sqlDedicatedGatewayEndpoint") + def sql_dedicated_gateway_endpoint(self) -> str: + """ + The regional endpoint for SqlDedicatedGateway. + """ + return pulumi.get(self, "sql_dedicated_gateway_endpoint") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SqlDedicatedGatewayServiceResourcePropertiesResponse(dict): + """ + Properties for SqlDedicatedGatewayServiceResource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "creationTime": + suggest = "creation_time" + elif key == "serviceType": + suggest = "service_type" + elif key == "instanceCount": + suggest = "instance_count" + elif key == "instanceSize": + suggest = "instance_size" + elif key == "sqlDedicatedGatewayEndpoint": + suggest = "sql_dedicated_gateway_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlDedicatedGatewayServiceResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlDedicatedGatewayServiceResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlDedicatedGatewayServiceResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + creation_time: str, + locations: Sequence['outputs.SqlDedicatedGatewayRegionalServiceResourceResponse'], + service_type: str, + status: str, + instance_count: Optional[int] = None, + instance_size: Optional[str] = None, + sql_dedicated_gateway_endpoint: Optional[str] = None): + """ + Properties for SqlDedicatedGatewayServiceResource. + :param str creation_time: Time of the last state change (ISO-8601 format). + :param Sequence['SqlDedicatedGatewayRegionalServiceResourceResponse'] locations: An array that contains all of the locations for the service. + :param str service_type: ServiceType for the service. + Expected value is 'SqlDedicatedGateway'. + :param str status: Describes the status of a service. + :param int instance_count: Instance count for the service. + :param str instance_size: Instance type for the service. + :param str sql_dedicated_gateway_endpoint: SqlDedicatedGateway endpoint for the service. + """ + pulumi.set(__self__, "creation_time", creation_time) + pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "service_type", 'SqlDedicatedGateway') + pulumi.set(__self__, "status", status) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + if sql_dedicated_gateway_endpoint is not None: + pulumi.set(__self__, "sql_dedicated_gateway_endpoint", sql_dedicated_gateway_endpoint) + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> str: + """ + Time of the last state change (ISO-8601 format). + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.SqlDedicatedGatewayRegionalServiceResourceResponse']: + """ + An array that contains all of the locations for the service. + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + """ + ServiceType for the service. + Expected value is 'SqlDedicatedGateway'. + """ + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Describes the status of a service. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="instanceCount") + def instance_count(self) -> Optional[int]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[str]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + @property + @pulumi.getter(name="sqlDedicatedGatewayEndpoint") + def sql_dedicated_gateway_endpoint(self) -> Optional[str]: + """ + SqlDedicatedGateway endpoint for the service. + """ + return pulumi.get(self, "sql_dedicated_gateway_endpoint") + + +@pulumi.output_type +class SqlStoredProcedureGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + body: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL storedProcedure + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str body: Body of the Stored Procedure + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL storedProcedure + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + Body of the Stored Procedure + """ + return pulumi.get(self, "body") + + +@pulumi.output_type +class SqlTriggerGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "triggerOperation": + suggest = "trigger_operation" + elif key == "triggerType": + suggest = "trigger_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SqlTriggerGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SqlTriggerGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SqlTriggerGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + body: Optional[str] = None, + trigger_operation: Optional[str] = None, + trigger_type: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL trigger + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str body: Body of the Trigger + :param str trigger_operation: The operation the trigger is associated with + :param str trigger_type: Type of the Trigger + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if body is not None: + pulumi.set(__self__, "body", body) + if trigger_operation is not None: + pulumi.set(__self__, "trigger_operation", trigger_operation) + if trigger_type is not None: + pulumi.set(__self__, "trigger_type", trigger_type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL trigger + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + Body of the Trigger + """ + return pulumi.get(self, "body") + + @property + @pulumi.getter(name="triggerOperation") + def trigger_operation(self) -> Optional[str]: + """ + The operation the trigger is associated with + """ + return pulumi.get(self, "trigger_operation") + + @property + @pulumi.getter(name="triggerType") + def trigger_type(self) -> Optional[str]: + """ + Type of the Trigger + """ + return pulumi.get(self, "trigger_type") + + +@pulumi.output_type +class SqlUserDefinedFunctionGetPropertiesResponseResource(dict): + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + body: Optional[str] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB SQL userDefinedFunction + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str body: Body of the User Defined Function + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if body is not None: + pulumi.set(__self__, "body", body) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB SQL userDefinedFunction + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter + def body(self) -> Optional[str]: + """ + Body of the User Defined Function + """ + return pulumi.get(self, "body") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TableGetPropertiesResponseOptions(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "autoscaleSettings": + suggest = "autoscale_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TableGetPropertiesResponseOptions. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TableGetPropertiesResponseOptions.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TableGetPropertiesResponseOptions.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + autoscale_settings: Optional['outputs.AutoscaleSettingsResponse'] = None, + throughput: Optional[int] = None): + """ + :param 'AutoscaleSettingsResponse' autoscale_settings: Specifies the Autoscale settings. + :param int throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + if autoscale_settings is not None: + pulumi.set(__self__, "autoscale_settings", autoscale_settings) + if throughput is not None: + pulumi.set(__self__, "throughput", throughput) + + @property + @pulumi.getter(name="autoscaleSettings") + def autoscale_settings(self) -> Optional['outputs.AutoscaleSettingsResponse']: + """ + Specifies the Autoscale settings. + """ + return pulumi.get(self, "autoscale_settings") + + @property + @pulumi.getter + def throughput(self) -> Optional[int]: + """ + Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. + """ + return pulumi.get(self, "throughput") + + +@pulumi.output_type +class TableGetPropertiesResponseResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createMode": + suggest = "create_mode" + elif key == "restoreParameters": + suggest = "restore_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TableGetPropertiesResponseResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TableGetPropertiesResponseResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TableGetPropertiesResponseResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + etag: str, + id: str, + rid: str, + ts: float, + create_mode: Optional[str] = None, + restore_parameters: Optional['outputs.ResourceRestoreParametersResponse'] = None): + """ + :param str etag: A system generated property representing the resource etag required for optimistic concurrency control. + :param str id: Name of the Cosmos DB table + :param str rid: A system generated property. A unique identifier. + :param float ts: A system generated property that denotes the last updated timestamp of the resource. + :param str create_mode: Enum to indicate the mode of resource creation. + :param 'ResourceRestoreParametersResponse' restore_parameters: Parameters to indicate the information about the restore + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "rid", rid) + pulumi.set(__self__, "ts", ts) + if create_mode is not None: + pulumi.set(__self__, "create_mode", create_mode) + if restore_parameters is not None: + pulumi.set(__self__, "restore_parameters", restore_parameters) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A system generated property representing the resource etag required for optimistic concurrency control. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Name of the Cosmos DB table + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def rid(self) -> str: + """ + A system generated property. A unique identifier. + """ + return pulumi.get(self, "rid") + + @property + @pulumi.getter + def ts(self) -> float: + """ + A system generated property that denotes the last updated timestamp of the resource. + """ + return pulumi.get(self, "ts") + + @property + @pulumi.getter(name="createMode") + def create_mode(self) -> Optional[str]: + """ + Enum to indicate the mode of resource creation. + """ + return pulumi.get(self, "create_mode") + + @property + @pulumi.getter(name="restoreParameters") + def restore_parameters(self) -> Optional['outputs.ResourceRestoreParametersResponse']: + """ + Parameters to indicate the information about the restore + """ + return pulumi.get(self, "restore_parameters") + + +@pulumi.output_type +class UniqueKeyPolicyResponse(dict): + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "uniqueKeys": + suggest = "unique_keys" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UniqueKeyPolicyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UniqueKeyPolicyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UniqueKeyPolicyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + unique_keys: Optional[Sequence['outputs.UniqueKeyResponse']] = None): + """ + The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. + :param Sequence['UniqueKeyResponse'] unique_keys: List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + if unique_keys is not None: + pulumi.set(__self__, "unique_keys", unique_keys) + + @property + @pulumi.getter(name="uniqueKeys") + def unique_keys(self) -> Optional[Sequence['outputs.UniqueKeyResponse']]: + """ + List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + return pulumi.get(self, "unique_keys") + + +@pulumi.output_type +class UniqueKeyResponse(dict): + """ + The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + """ + def __init__(__self__, *, + paths: Optional[Sequence[str]] = None): + """ + The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. + :param Sequence[str] paths: List of paths must be unique for each document in the Azure Cosmos DB service + """ + if paths is not None: + pulumi.set(__self__, "paths", paths) + + @property + @pulumi.getter + def paths(self) -> Optional[Sequence[str]]: + """ + List of paths must be unique for each document in the Azure Cosmos DB service + """ + return pulumi.get(self, "paths") + + +@pulumi.output_type +class VirtualNetworkRuleResponse(dict): + """ + Virtual Network ACL Rule object + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ignoreMissingVNetServiceEndpoint": + suggest = "ignore_missing_v_net_service_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualNetworkRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualNetworkRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualNetworkRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: Optional[str] = None, + ignore_missing_v_net_service_endpoint: Optional[bool] = None): + """ + Virtual Network ACL Rule object + :param str id: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + :param bool ignore_missing_v_net_service_endpoint: Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + if id is not None: + pulumi.set(__self__, "id", id) + if ignore_missing_v_net_service_endpoint is not None: + pulumi.set(__self__, "ignore_missing_v_net_service_endpoint", ignore_missing_v_net_service_endpoint) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="ignoreMissingVNetServiceEndpoint") + def ignore_missing_v_net_service_endpoint(self) -> Optional[bool]: + """ + Create firewall rule before the virtual network has vnet service endpoint enabled. + """ + return pulumi.get(self, "ignore_missing_v_net_service_endpoint") + + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/private_endpoint_connection.py new file mode 100644 index 000000000000..edba33f00e92 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/private_endpoint_connection.py @@ -0,0 +1,292 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input['PrivateEndpointPropertyArgs']] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']] = None, + provisioning_state: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnection resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] group_id: Group id of the private endpoint. + :param pulumi.Input['PrivateEndpointPropertyArgs'] private_endpoint: Private endpoint which the connection belongs to. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + :param pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs'] private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] provisioning_state: Provisioning state of the private endpoint. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + if private_link_service_connection_state is not None: + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional[pulumi.Input['PrivateEndpointPropertyArgs']]: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @private_endpoint.setter + def private_endpoint(self, value: Optional[pulumi.Input['PrivateEndpointPropertyArgs']]): + pulumi.set(self, "private_endpoint", value) + + @property + @pulumi.getter(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection. + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional[pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']]: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: Optional[pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']]): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[str]]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provisioning_state", value) + + +class PrivateEndpointConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointPropertyArgs']]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']]] = None, + provisioning_state: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] group_id: Group id of the private endpoint. + :param pulumi.Input[pulumi.InputType['PrivateEndpointPropertyArgs']] private_endpoint: Private endpoint which the connection belongs to. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']] private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] provisioning_state: Provisioning state of the private endpoint. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionArgs 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(PrivateEndpointConnectionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input[pulumi.InputType['PrivateEndpointPropertyArgs']]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']]] = None, + provisioning_state: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["group_id"] = group_id + __props__.__dict__["private_endpoint"] = private_endpoint + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + __props__.__dict__["provisioning_state"] = provisioning_state + 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__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20190801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210615:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230415:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:documentdb/v20230915:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-native:documentdb/v20230915preview:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["group_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Output[Optional[str]]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointPropertyResponse']]: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output[Optional['outputs.PrivateLinkServiceConnectionStatePropertyResponse']]: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[Optional[str]]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/service.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/service.py new file mode 100644 index 000000000000..614527011cdc --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/service.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['ServiceArgs', 'Service'] + +@pulumi.input_type +class ServiceArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + instance_count: Optional[pulumi.Input[int]] = None, + instance_size: Optional[pulumi.Input[Union[str, 'ServiceSize']]] = None, + service_name: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[Union[str, 'ServiceType']]] = None): + """ + The set of arguments for constructing a Service resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[int] instance_count: Instance count for the service. + :param pulumi.Input[Union[str, 'ServiceSize']] instance_size: Instance type for the service. + :param pulumi.Input[str] service_name: Cosmos DB service name. + :param pulumi.Input[Union[str, 'ServiceType']] service_type: ServiceType for the service. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if instance_count is not None: + pulumi.set(__self__, "instance_count", instance_count) + if instance_size is not None: + pulumi.set(__self__, "instance_size", instance_size) + if service_name is not None: + pulumi.set(__self__, "service_name", service_name) + if service_type is not None: + pulumi.set(__self__, "service_type", service_type) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="instanceCount") + def instance_count(self) -> Optional[pulumi.Input[int]]: + """ + Instance count for the service. + """ + return pulumi.get(self, "instance_count") + + @instance_count.setter + def instance_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_count", value) + + @property + @pulumi.getter(name="instanceSize") + def instance_size(self) -> Optional[pulumi.Input[Union[str, 'ServiceSize']]]: + """ + Instance type for the service. + """ + return pulumi.get(self, "instance_size") + + @instance_size.setter + def instance_size(self, value: Optional[pulumi.Input[Union[str, 'ServiceSize']]]): + pulumi.set(self, "instance_size", value) + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB service name. + """ + return pulumi.get(self, "service_name") + + @service_name.setter + def service_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_name", value) + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> Optional[pulumi.Input[Union[str, 'ServiceType']]]: + """ + ServiceType for the service. + """ + return pulumi.get(self, "service_type") + + @service_type.setter + def service_type(self, value: Optional[pulumi.Input[Union[str, 'ServiceType']]]): + pulumi.set(self, "service_type", value) + + +class Service(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + instance_count: Optional[pulumi.Input[int]] = None, + instance_size: Optional[pulumi.Input[Union[str, 'ServiceSize']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[Union[str, 'ServiceType']]] = None, + __props__=None): + """ + Properties for the database account. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[int] instance_count: Instance count for the service. + :param pulumi.Input[Union[str, 'ServiceSize']] instance_size: Instance type for the service. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] service_name: Cosmos DB service name. + :param pulumi.Input[Union[str, 'ServiceType']] service_type: ServiceType for the service. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ServiceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Properties for the database account. + + :param str resource_name: The name of the resource. + :param ServiceArgs 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(ServiceArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + instance_count: Optional[pulumi.Input[int]] = None, + instance_size: Optional[pulumi.Input[Union[str, 'ServiceSize']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[Union[str, 'ServiceType']]] = 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__ = ServiceArgs.__new__(ServiceArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["instance_count"] = instance_count + __props__.__dict__["instance_size"] = instance_size + 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__["service_name"] = service_name + __props__.__dict__["service_type"] = service_type + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815:Service"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115:Service"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230415:Service"), pulumi.Alias(type_="azure-native:documentdb/v20230915:Service")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Service, __self__).__init__( + 'azure-native:documentdb/v20230915preview:Service', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Service': + """ + Get an existing Service 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ServiceArgs.__new__(ServiceArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return Service(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output[Any]: + """ + Services response resource. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_container.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_container.py new file mode 100644 index 000000000000..aa5179e1cff5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_container.py @@ -0,0 +1,338 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlContainerArgs', 'SqlResourceSqlContainer'] + +@pulumi.input_type +class SqlResourceSqlContainerArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlContainerResourceArgs'], + resource_group_name: pulumi.Input[str], + container_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SqlResourceSqlContainer resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlContainerResourceArgs'] resource: The standard JSON format of a container + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if container_name is not None: + pulumi.set(__self__, "container_name", container_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlContainerResourceArgs']: + """ + The standard JSON format of a container + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlContainerResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="containerName") + def container_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 SqlResourceSqlContainer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlContainerResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB container. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlContainerResourceArgs']] resource: The standard JSON format of a container + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlContainerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB container. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlContainerArgs 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(SqlResourceSqlContainerArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlContainerResourceArgs']]] = 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): + 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__ = SqlResourceSqlContainerArgs.__new__(SqlResourceSqlContainerArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlContainer"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlContainer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlContainer, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlContainer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlContainer': + """ + Get an existing SqlResourceSqlContainer 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlContainerArgs.__new__(SqlResourceSqlContainerArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlContainer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.SqlContainerGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlContainerGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_database.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_database.py new file mode 100644 index 000000000000..31024253bbea --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_database.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlDatabaseArgs', 'SqlResourceSqlDatabase'] + +@pulumi.input_type +class SqlResourceSqlDatabaseArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['SqlDatabaseResourceArgs'], + resource_group_name: pulumi.Input[str], + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SqlResourceSqlDatabase resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['SqlDatabaseResourceArgs'] resource: The standard JSON format of a SQL database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlDatabaseResourceArgs']: + """ + The standard JSON format of a SQL database + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlDatabaseResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 SqlResourceSqlDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB SQL database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']] resource: The standard JSON format of a SQL database + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB SQL database. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlDatabaseArgs 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(SqlResourceSqlDatabaseArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlDatabaseResourceArgs']]] = 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): + 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__ = SqlResourceSqlDatabaseArgs.__new__(SqlResourceSqlDatabaseArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20150408:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20151106:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160319:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20160331:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlDatabase"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlDatabase, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlDatabase': + """ + Get an existing SqlResourceSqlDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlDatabaseArgs.__new__(SqlResourceSqlDatabaseArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.SqlDatabaseGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlDatabaseGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_role_assignment.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_role_assignment.py new file mode 100644 index 000000000000..ac4c5bb2ec0b --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_role_assignment.py @@ -0,0 +1,261 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = ['SqlResourceSqlRoleAssignmentArgs', 'SqlResourceSqlRoleAssignment'] + +@pulumi.input_type +class SqlResourceSqlRoleAssignmentArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + principal_id: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SqlResourceSqlRoleAssignment resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] principal_id: The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + :param pulumi.Input[str] role_assignment_id: The GUID for the Role Assignment. + :param pulumi.Input[str] role_definition_id: The unique identifier for the associated Role Definition. + :param pulumi.Input[str] scope: The data plane resource path for which access is being granted through this Role Assignment. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if principal_id is not None: + pulumi.set(__self__, "principal_id", principal_id) + if role_assignment_id is not None: + pulumi.set(__self__, "role_assignment_id", role_assignment_id) + if role_definition_id is not None: + pulumi.set(__self__, "role_definition_id", role_definition_id) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="principalId") + def principal_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + """ + 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="roleAssignmentId") + def role_assignment_id(self) -> Optional[pulumi.Input[str]]: + """ + The GUID for the Role Assignment. + """ + return pulumi.get(self, "role_assignment_id") + + @role_assignment_id.setter + def role_assignment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_assignment_id", value) + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier for the associated Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @role_definition_id.setter + def role_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_definition_id", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input[str]]: + """ + The data plane resource path for which access is being granted through this Role Assignment. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scope", value) + + +class SqlResourceSqlRoleAssignment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB Role Assignment + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] principal_id: The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_assignment_id: The GUID for the Role Assignment. + :param pulumi.Input[str] role_definition_id: The unique identifier for the associated Role Definition. + :param pulumi.Input[str] scope: The data plane resource path for which access is being granted through this Role Assignment. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlRoleAssignmentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Role Assignment + + :param str resource_name: The name of the resource. + :param SqlResourceSqlRoleAssignmentArgs 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(SqlResourceSqlRoleAssignmentArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_assignment_id: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + scope: 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__ = SqlResourceSqlRoleAssignmentArgs.__new__(SqlResourceSqlRoleAssignmentArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["principal_id"] = principal_id + 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__["role_assignment_id"] = role_assignment_id + __props__.__dict__["role_definition_id"] = role_definition_id + __props__.__dict__["scope"] = scope + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleAssignment"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlRoleAssignment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlRoleAssignment, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlRoleAssignment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlRoleAssignment': + """ + Get an existing SqlResourceSqlRoleAssignment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlRoleAssignmentArgs.__new__(SqlResourceSqlRoleAssignmentArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["principal_id"] = None + __props__.__dict__["role_definition_id"] = None + __props__.__dict__["scope"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlRoleAssignment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> pulumi.Output[Optional[str]]: + """ + The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> pulumi.Output[Optional[str]]: + """ + The unique identifier for the associated Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @property + @pulumi.getter + def scope(self) -> pulumi.Output[Optional[str]]: + """ + The data plane resource path for which access is being granted through this Role Assignment. + """ + return pulumi.get(self, "scope") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_role_definition.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_role_definition.py new file mode 100644 index 000000000000..b909ec075477 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_role_definition.py @@ -0,0 +1,283 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlRoleDefinitionArgs', 'SqlResourceSqlRoleDefinition'] + +@pulumi.input_type +class SqlResourceSqlRoleDefinitionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + assignable_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permissions: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['RoleDefinitionType']] = None): + """ + The set of arguments for constructing a SqlResourceSqlRoleDefinition resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[str]]] assignable_scopes: A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + :param pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]] permissions: The set of operations allowed through this Role Definition. + :param pulumi.Input[str] role_definition_id: The GUID for the Role Definition. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input['RoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if assignable_scopes is not None: + pulumi.set(__self__, "assignable_scopes", assignable_scopes) + if permissions is not None: + pulumi.set(__self__, "permissions", permissions) + if role_definition_id is not None: + pulumi.set(__self__, "role_definition_id", role_definition_id) + if role_name is not None: + pulumi.set(__self__, "role_name", role_name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="assignableScopes") + def assignable_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + """ + return pulumi.get(self, "assignable_scopes") + + @assignable_scopes.setter + def assignable_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "assignable_scopes", value) + + @property + @pulumi.getter + def permissions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]]]: + """ + The set of operations allowed through this Role Definition. + """ + return pulumi.get(self, "permissions") + + @permissions.setter + def permissions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionArgs']]]]): + pulumi.set(self, "permissions", value) + + @property + @pulumi.getter(name="roleDefinitionId") + def role_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The GUID for the Role Definition. + """ + return pulumi.get(self, "role_definition_id") + + @role_definition_id.setter + def role_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_definition_id", value) + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> Optional[pulumi.Input[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @role_name.setter + def role_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['RoleDefinitionType']]: + """ + Indicates whether the Role Definition was built-in or user created. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['RoleDefinitionType']]): + pulumi.set(self, "type", value) + + +class SqlResourceSqlRoleDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + assignable_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PermissionArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['RoleDefinitionType']] = None, + __props__=None): + """ + An Azure Cosmos DB SQL Role Definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[Sequence[pulumi.Input[str]]] assignable_scopes: A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PermissionArgs']]]] permissions: The set of operations allowed through this Role Definition. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_definition_id: The GUID for the Role Definition. + :param pulumi.Input[str] role_name: A user-friendly name for the Role Definition. Must be unique for the database account. + :param pulumi.Input['RoleDefinitionType'] type: Indicates whether the Role Definition was built-in or user created. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlRoleDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB SQL Role Definition. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlRoleDefinitionArgs 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(SqlResourceSqlRoleDefinitionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + assignable_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permissions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PermissionArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_definition_id: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input['RoleDefinitionType']] = 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__ = SqlResourceSqlRoleDefinitionArgs.__new__(SqlResourceSqlRoleDefinitionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["assignable_scopes"] = assignable_scopes + __props__.__dict__["permissions"] = permissions + 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__["role_definition_id"] = role_definition_id + __props__.__dict__["role_name"] = role_name + __props__.__dict__["type"] = type + __props__.__dict__["name"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlRoleDefinition"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlRoleDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlRoleDefinition, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlRoleDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlRoleDefinition': + """ + Get an existing SqlResourceSqlRoleDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlRoleDefinitionArgs.__new__(SqlResourceSqlRoleDefinitionArgs) + + __props__.__dict__["assignable_scopes"] = None + __props__.__dict__["name"] = None + __props__.__dict__["permissions"] = None + __props__.__dict__["role_name"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlRoleDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="assignableScopes") + def assignable_scopes(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. + """ + return pulumi.get(self, "assignable_scopes") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the database account. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def permissions(self) -> pulumi.Output[Optional[Sequence['outputs.PermissionResponse']]]: + """ + The set of operations allowed through this Role Definition. + """ + return pulumi.get(self, "permissions") + + @property + @pulumi.getter(name="roleName") + def role_name(self) -> pulumi.Output[Optional[str]]: + """ + A user-friendly name for the Role Definition. Must be unique for the database account. + """ + return pulumi.get(self, "role_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_stored_procedure.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_stored_procedure.py new file mode 100644 index 000000000000..82f9004c4269 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_stored_procedure.py @@ -0,0 +1,353 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlStoredProcedureArgs', 'SqlResourceSqlStoredProcedure'] + +@pulumi.input_type +class SqlResourceSqlStoredProcedureArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + container_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlStoredProcedureResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + stored_procedure_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SqlResourceSqlStoredProcedure resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlStoredProcedureResourceArgs'] resource: The standard JSON format of a storedProcedure + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[str] stored_procedure_name: Cosmos DB storedProcedure name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + 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 options is not None: + pulumi.set(__self__, "options", options) + if stored_procedure_name is not None: + pulumi.set(__self__, "stored_procedure_name", stored_procedure_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlStoredProcedureResourceArgs']: + """ + The standard JSON format of a storedProcedure + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlStoredProcedureResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter(name="storedProcedureName") + def stored_procedure_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB storedProcedure name. + """ + return pulumi.get(self, "stored_procedure_name") + + @stored_procedure_name.setter + def stored_procedure_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "stored_procedure_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 SqlResourceSqlStoredProcedure(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlStoredProcedureResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + stored_procedure_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB storedProcedure. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlStoredProcedureResourceArgs']] resource: The standard JSON format of a storedProcedure + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] stored_procedure_name: Cosmos DB storedProcedure name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlStoredProcedureArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB storedProcedure. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlStoredProcedureArgs 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(SqlResourceSqlStoredProcedureArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlStoredProcedureResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + stored_procedure_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): + 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__ = SqlResourceSqlStoredProcedureArgs.__new__(SqlResourceSqlStoredProcedureArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if container_name is None and not opts.urn: + raise TypeError("Missing required property 'container_name'") + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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__["stored_procedure_name"] = stored_procedure_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlStoredProcedure"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlStoredProcedure")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlStoredProcedure, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlStoredProcedure', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlStoredProcedure': + """ + Get an existing SqlResourceSqlStoredProcedure 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlStoredProcedureArgs.__new__(SqlResourceSqlStoredProcedureArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlStoredProcedure(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlStoredProcedureGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_trigger.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_trigger.py new file mode 100644 index 000000000000..044fc65b6b84 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_trigger.py @@ -0,0 +1,353 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlTriggerArgs', 'SqlResourceSqlTrigger'] + +@pulumi.input_type +class SqlResourceSqlTriggerArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + container_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlTriggerResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trigger_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SqlResourceSqlTrigger resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlTriggerResourceArgs'] resource: The standard JSON format of a trigger + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] trigger_name: Cosmos DB trigger name. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + 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 options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if trigger_name is not None: + pulumi.set(__self__, "trigger_name", trigger_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlTriggerResourceArgs']: + """ + The standard JSON format of a trigger + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlTriggerResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="triggerName") + def trigger_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB trigger name. + """ + return pulumi.get(self, "trigger_name") + + @trigger_name.setter + def trigger_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trigger_name", value) + + +class SqlResourceSqlTrigger(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlTriggerResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trigger_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB trigger. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlTriggerResourceArgs']] resource: The standard JSON format of a trigger + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] trigger_name: Cosmos DB trigger name. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlTriggerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB trigger. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlTriggerArgs 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(SqlResourceSqlTriggerArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlTriggerResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trigger_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SqlResourceSqlTriggerArgs.__new__(SqlResourceSqlTriggerArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if container_name is None and not opts.urn: + raise TypeError("Missing required property 'container_name'") + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["trigger_name"] = trigger_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlTrigger"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlTrigger")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlTrigger, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlTrigger', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlTrigger': + """ + Get an existing SqlResourceSqlTrigger 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlTriggerArgs.__new__(SqlResourceSqlTriggerArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlTrigger(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlTriggerGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_user_defined_function.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_user_defined_function.py new file mode 100644 index 000000000000..0406fd0b4cb0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/sql_resource_sql_user_defined_function.py @@ -0,0 +1,353 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SqlResourceSqlUserDefinedFunctionArgs', 'SqlResourceSqlUserDefinedFunction'] + +@pulumi.input_type +class SqlResourceSqlUserDefinedFunctionArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + container_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource: pulumi.Input['SqlUserDefinedFunctionResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SqlResourceSqlUserDefinedFunction resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input['SqlUserDefinedFunctionResourceArgs'] resource: The standard JSON format of a userDefinedFunction + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "container_name", container_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource", resource) + 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 options is not None: + pulumi.set(__self__, "options", options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if user_defined_function_name is not None: + pulumi.set(__self__, "user_defined_function_name", user_defined_function_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter(name="containerName") + def container_name(self) -> pulumi.Input[str]: + """ + Cosmos DB container name. + """ + return pulumi.get(self, "container_name") + + @container_name.setter + def container_name(self, value: pulumi.Input[str]): + pulumi.set(self, "container_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database name. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['SqlUserDefinedFunctionResourceArgs']: + """ + The standard JSON format of a userDefinedFunction + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['SqlUserDefinedFunctionResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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="userDefinedFunctionName") + def user_defined_function_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB userDefinedFunction name. + """ + return pulumi.get(self, "user_defined_function_name") + + @user_defined_function_name.setter + def user_defined_function_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_defined_function_name", value) + + +class SqlResourceSqlUserDefinedFunction(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlUserDefinedFunctionResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + An Azure Cosmos DB userDefinedFunction. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[str] container_name: Cosmos DB container name. + :param pulumi.Input[str] database_name: Cosmos DB database name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['SqlUserDefinedFunctionResourceArgs']] resource: The standard JSON format of a userDefinedFunction + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + :param pulumi.Input[str] user_defined_function_name: Cosmos DB userDefinedFunction name. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SqlResourceSqlUserDefinedFunctionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB userDefinedFunction. + + :param str resource_name: The name of the resource. + :param SqlResourceSqlUserDefinedFunctionArgs 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(SqlResourceSqlUserDefinedFunctionArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + container_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['SqlUserDefinedFunctionResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + user_defined_function_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SqlResourceSqlUserDefinedFunctionArgs.__new__(SqlResourceSqlUserDefinedFunctionArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + if container_name is None and not opts.urn: + raise TypeError("Missing required property 'container_name'") + __props__.__dict__["container_name"] = container_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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 + __props__.__dict__["user_defined_function_name"] = user_defined_function_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20190801:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20191212:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200301:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200401:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20200901:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210615:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230415:SqlResourceSqlUserDefinedFunction"), pulumi.Alias(type_="azure-native:documentdb/v20230915:SqlResourceSqlUserDefinedFunction")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SqlResourceSqlUserDefinedFunction, __self__).__init__( + 'azure-native:documentdb/v20230915preview:SqlResourceSqlUserDefinedFunction', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SqlResourceSqlUserDefinedFunction': + """ + Get an existing SqlResourceSqlUserDefinedFunction 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SqlResourceSqlUserDefinedFunctionArgs.__new__(SqlResourceSqlUserDefinedFunctionArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return SqlResourceSqlUserDefinedFunction(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.SqlUserDefinedFunctionGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/documentdb/v20230915preview/table_resource_table.py b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/table_resource_table.py new file mode 100644 index 000000000000..a49a3d7ed213 --- /dev/null +++ b/sdk/python/pulumi_azure_native/documentdb/v20230915preview/table_resource_table.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['TableResourceTableArgs', 'TableResourceTable'] + +@pulumi.input_type +class TableResourceTableArgs: + def __init__(__self__, *, + account_name: pulumi.Input[str], + resource: pulumi.Input['TableResourceArgs'], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['CreateUpdateOptionsArgs']] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a TableResourceTable resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input['TableResourceArgs'] resource: The standard JSON format of a Table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input['CreateUpdateOptionsArgs'] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + pulumi.set(__self__, "account_name", account_name) + pulumi.set(__self__, "resource", resource) + 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 options is not None: + pulumi.set(__self__, "options", options) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> pulumi.Input[str]: + """ + Cosmos DB database account name. + """ + return pulumi.get(self, "account_name") + + @account_name.setter + def account_name(self, value: pulumi.Input[str]): + pulumi.set(self, "account_name", value) + + @property + @pulumi.getter + def resource(self) -> pulumi.Input['TableResourceArgs']: + """ + The standard JSON format of a Table + """ + return pulumi.get(self, "resource") + + @resource.setter + def resource(self, value: pulumi.Input['TableResourceArgs']): + pulumi.set(self, "resource", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input['CreateUpdateOptionsArgs']]: + """ + A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input['CreateUpdateOptionsArgs']]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + Cosmos DB table name. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + 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 TableResourceTable(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['TableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + An Azure Cosmos DB Table. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Cosmos DB database account name. + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: The location of the resource group to which the resource belongs. + :param pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']] options: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. + :param pulumi.Input[pulumi.InputType['TableResourceArgs']] resource: The standard JSON format of a Table + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] table_name: Cosmos DB table name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TableResourceTableArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + An Azure Cosmos DB Table. + + :param str resource_name: The name of the resource. + :param TableResourceTableArgs 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(TableResourceTableArgs, 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, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[pulumi.InputType['CreateUpdateOptionsArgs']]] = None, + resource: Optional[pulumi.Input[pulumi.InputType['TableResourceArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_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): + 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__ = TableResourceTableArgs.__new__(TableResourceTableArgs) + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__.__dict__["account_name"] = account_name + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["options"] = options + if resource is None and not opts.urn: + raise TypeError("Missing required property 'resource'") + __props__.__dict__["resource"] = resource + 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__["table_name"] = table_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:documentdb:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20150408:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20151106:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160319:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20160331:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20190801:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20191212:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200301:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200401:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200601preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20200901:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210401preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210615:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20210701preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211015preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20211115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220215preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220515preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20220815preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20221115preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230301preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230315preview:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230415:TableResourceTable"), pulumi.Alias(type_="azure-native:documentdb/v20230915:TableResourceTable")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(TableResourceTable, __self__).__init__( + 'azure-native:documentdb/v20230915preview:TableResourceTable', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'TableResourceTable': + """ + Get an existing TableResourceTable 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = TableResourceTableArgs.__new__(TableResourceTableArgs) + + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["options"] = None + __props__.__dict__["resource"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return TableResourceTable(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + The location of the resource group to which the resource belongs. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the ARM resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def options(self) -> pulumi.Output[Optional['outputs.TableGetPropertiesResponseOptions']]: + return pulumi.get(self, "options") + + @property + @pulumi.getter + def resource(self) -> pulumi.Output[Optional['outputs.TableGetPropertiesResponseResource']]: + return pulumi.get(self, "resource") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of Azure resource. + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/elasticsan/__init__.py b/sdk/python/pulumi_azure_native/elasticsan/__init__.py index 11195b607145..79577f780620 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/__init__.py +++ b/sdk/python/pulumi_azure_native/elasticsan/__init__.py @@ -11,9 +11,11 @@ from .get_private_endpoint_connection import * from .get_volume import * from .get_volume_group import * +from .get_volume_snapshot import * from .private_endpoint_connection import * from .volume import * from .volume_group import * +from .volume_snapshot import * from ._inputs import * from . import outputs @@ -23,7 +25,10 @@ v20211120preview = __v20211120preview import pulumi_azure_native.elasticsan.v20221201preview as __v20221201preview v20221201preview = __v20221201preview + import pulumi_azure_native.elasticsan.v20230101 as __v20230101 + v20230101 = __v20230101 else: v20211120preview = _utilities.lazy_import('pulumi_azure_native.elasticsan.v20211120preview') v20221201preview = _utilities.lazy_import('pulumi_azure_native.elasticsan.v20221201preview') + v20230101 = _utilities.lazy_import('pulumi_azure_native.elasticsan.v20230101') diff --git a/sdk/python/pulumi_azure_native/elasticsan/_inputs.py b/sdk/python/pulumi_azure_native/elasticsan/_inputs.py index a296cffb6c50..3e22e5ed0f41 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/_inputs.py +++ b/sdk/python/pulumi_azure_native/elasticsan/_inputs.py @@ -14,6 +14,7 @@ 'NetworkRuleSetArgs', 'PrivateLinkServiceConnectionStateArgs', 'SkuArgs', + 'SnapshotCreationDataArgs', 'SourceCreationDataArgs', 'VirtualNetworkRuleArgs', ] @@ -137,6 +138,29 @@ def tier(self, value: Optional[pulumi.Input[Union[str, 'SkuTier']]]): pulumi.set(self, "tier", value) +@pulumi.input_type +class SnapshotCreationDataArgs: + def __init__(__self__, *, + source_id: pulumi.Input[str]): + """ + Data used when creating a volume snapshot. + :param pulumi.Input[str] source_id: Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> pulumi.Input[str]: + """ + Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + return pulumi.get(self, "source_id") + + @source_id.setter + def source_id(self, value: pulumi.Input[str]): + pulumi.set(self, "source_id", value) + + @pulumi.input_type class SourceCreationDataArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/elasticsan/elastic_san.py b/sdk/python/pulumi_azure_native/elasticsan/elastic_san.py index 41e878d0e1bb..23b5abd845a8 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/elastic_san.py +++ b/sdk/python/pulumi_azure_native/elasticsan/elastic_san.py @@ -242,7 +242,7 @@ def _internal_init(__self__, __props__.__dict__["total_volume_size_gi_b"] = None __props__.__dict__["type"] = None __props__.__dict__["volume_group_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:ElasticSan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:ElasticSan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ElasticSan, __self__).__init__( 'azure-native:elasticsan:ElasticSan', diff --git a/sdk/python/pulumi_azure_native/elasticsan/get_volume_snapshot.py b/sdk/python/pulumi_azure_native/elasticsan/get_volume_snapshot.py new file mode 100644 index 000000000000..4a4e83695bca --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/get_volume_snapshot.py @@ -0,0 +1,182 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetVolumeSnapshotResult', + 'AwaitableGetVolumeSnapshotResult', + 'get_volume_snapshot', + 'get_volume_snapshot_output', +] + +@pulumi.output_type +class GetVolumeSnapshotResult: + """ + Response for Volume Snapshot request. + """ + def __init__(__self__, creation_data=None, id=None, name=None, provisioning_state=None, source_volume_size_gi_b=None, system_data=None, type=None, volume_name=None): + if creation_data and not isinstance(creation_data, dict): + raise TypeError("Expected argument 'creation_data' to be a dict") + pulumi.set(__self__, "creation_data", creation_data) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if source_volume_size_gi_b and not isinstance(source_volume_size_gi_b, float): + raise TypeError("Expected argument 'source_volume_size_gi_b' to be a float") + pulumi.set(__self__, "source_volume_size_gi_b", source_volume_size_gi_b) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if volume_name and not isinstance(volume_name, str): + raise TypeError("Expected argument 'volume_name' to be a str") + pulumi.set(__self__, "volume_name", volume_name) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> 'outputs.SnapshotCreationDataResponse': + """ + Data used when creating a volume snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceVolumeSizeGiB") + def source_volume_size_gi_b(self) -> float: + """ + Size of Source Volume + """ + return pulumi.get(self, "source_volume_size_gi_b") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeName") + def volume_name(self) -> str: + """ + Source Volume Name of a snapshot + """ + return pulumi.get(self, "volume_name") + + +class AwaitableGetVolumeSnapshotResult(GetVolumeSnapshotResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVolumeSnapshotResult( + creation_data=self.creation_data, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + source_volume_size_gi_b=self.source_volume_size_gi_b, + system_data=self.system_data, + type=self.type, + volume_name=self.volume_name) + + +def get_volume_snapshot(elastic_san_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + snapshot_name: Optional[str] = None, + volume_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeSnapshotResult: + """ + Get a Volume Snapshot. + Azure REST API version: 2023-01-01. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str snapshot_name: The name of the volume snapshot within the given volume group. + :param str volume_group_name: The name of the VolumeGroup. + """ + __args__ = dict() + __args__['elasticSanName'] = elastic_san_name + __args__['resourceGroupName'] = resource_group_name + __args__['snapshotName'] = snapshot_name + __args__['volumeGroupName'] = volume_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:elasticsan:getVolumeSnapshot', __args__, opts=opts, typ=GetVolumeSnapshotResult).value + + return AwaitableGetVolumeSnapshotResult( + creation_data=pulumi.get(__ret__, 'creation_data'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + source_volume_size_gi_b=pulumi.get(__ret__, 'source_volume_size_gi_b'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + volume_name=pulumi.get(__ret__, 'volume_name')) + + +@_utilities.lift_output_func(get_volume_snapshot) +def get_volume_snapshot_output(elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + snapshot_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeSnapshotResult]: + """ + Get a Volume Snapshot. + Azure REST API version: 2023-01-01. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str snapshot_name: The name of the volume snapshot within the given volume group. + :param str volume_group_name: The name of the VolumeGroup. + """ + ... diff --git a/sdk/python/pulumi_azure_native/elasticsan/outputs.py b/sdk/python/pulumi_azure_native/elasticsan/outputs.py index 6012a6d385e5..d6384aa2389e 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/outputs.py +++ b/sdk/python/pulumi_azure_native/elasticsan/outputs.py @@ -17,6 +17,7 @@ 'PrivateEndpointResponse', 'PrivateLinkServiceConnectionStateResponse', 'SkuResponse', + 'SnapshotCreationDataResponse', 'SourceCreationDataResponse', 'SystemDataResponse', 'VirtualNetworkRuleResponse', @@ -272,6 +273,45 @@ def tier(self) -> Optional[str]: return pulumi.get(self, "tier") +@pulumi.output_type +class SnapshotCreationDataResponse(dict): + """ + Data used when creating a volume snapshot. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceId": + suggest = "source_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SnapshotCreationDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SnapshotCreationDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SnapshotCreationDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_id: str): + """ + Data used when creating a volume snapshot. + :param str source_id: Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> str: + """ + Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + return pulumi.get(self, "source_id") + + @pulumi.output_type class SourceCreationDataResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/elasticsan/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/elasticsan/private_endpoint_connection.py index ddb3d54f783e..13173171a219 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/elasticsan/private_endpoint_connection.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:elasticsan:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/elastic_san.py b/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/elastic_san.py index ff5566b503d9..5df9fdfe1d88 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/elastic_san.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/elastic_san.py @@ -240,7 +240,7 @@ def _internal_init(__self__, __props__.__dict__["total_volume_size_gi_b"] = None __props__.__dict__["type"] = None __props__.__dict__["volume_group_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:ElasticSan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:ElasticSan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ElasticSan, __self__).__init__( 'azure-native:elasticsan/v20211120preview:ElasticSan', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume.py b/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume.py index 658fcd0c7e45..f97b96e7a2cc 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume.py @@ -215,7 +215,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["volume_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:Volume")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:Volume")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Volume, __self__).__init__( 'azure-native:elasticsan/v20211120preview:Volume', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume_group.py b/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume_group.py index 94256fa62426..559dfa67e568 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume_group.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20211120preview/volume_group.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:VolumeGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:VolumeGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VolumeGroup, __self__).__init__( 'azure-native:elasticsan/v20211120preview:VolumeGroup', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/elastic_san.py b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/elastic_san.py index 020659d46d52..8b80f9a1d136 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/elastic_san.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/elastic_san.py @@ -241,7 +241,7 @@ def _internal_init(__self__, __props__.__dict__["total_volume_size_gi_b"] = None __props__.__dict__["type"] = None __props__.__dict__["volume_group_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:ElasticSan")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:ElasticSan")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ElasticSan, __self__).__init__( 'azure-native:elasticsan/v20221201preview:ElasticSan', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/private_endpoint_connection.py index 8c2958972090..636672c80464 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/private_endpoint_connection.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:elasticsan/v20221201preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume.py b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume.py index 346fbeb7c740..c9544d45b282 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume.py @@ -196,7 +196,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["volume_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:Volume")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:Volume")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Volume, __self__).__init__( 'azure-native:elasticsan/v20221201preview:Volume', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume_group.py b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume_group.py index 426903dddcf3..357465d1cd34 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume_group.py +++ b/sdk/python/pulumi_azure_native/elasticsan/v20221201preview/volume_group.py @@ -194,7 +194,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:VolumeGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:VolumeGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VolumeGroup, __self__).__init__( 'azure-native:elasticsan/v20221201preview:VolumeGroup', diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/__init__.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/__init__.py new file mode 100644 index 000000000000..16b7fa0b2932 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .elastic_san import * +from .get_elastic_san import * +from .get_private_endpoint_connection import * +from .get_volume import * +from .get_volume_group import * +from .get_volume_snapshot import * +from .private_endpoint_connection import * +from .volume import * +from .volume_group import * +from .volume_snapshot import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/_enums.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/_enums.py new file mode 100644 index 000000000000..cae3af364ef3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/_enums.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'Action', + 'EncryptionType', + 'IdentityType', + 'PrivateEndpointServiceConnectionStatus', + 'PublicNetworkAccess', + 'SkuName', + 'SkuTier', + 'StorageTargetType', + 'VolumeCreateOption', +] + + +class Action(str, Enum): + """ + The action of virtual network rule. + """ + ALLOW = "Allow" + + +class EncryptionType(str, Enum): + """ + Type of encryption + """ + ENCRYPTION_AT_REST_WITH_PLATFORM_KEY = "EncryptionAtRestWithPlatformKey" + """ + Volume is encrypted at rest with Platform managed key. It is the default encryption type. + """ + ENCRYPTION_AT_REST_WITH_CUSTOMER_MANAGED_KEY = "EncryptionAtRestWithCustomerManagedKey" + """ + Volume is encrypted at rest with Customer managed key that can be changed and revoked by a customer. + """ + + +class IdentityType(str, Enum): + """ + The identity type. + """ + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + + +class PrivateEndpointServiceConnectionStatus(str, Enum): + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + PENDING = "Pending" + APPROVED = "Approved" + FAILED = "Failed" + REJECTED = "Rejected" + + +class PublicNetworkAccess(str, Enum): + """ + Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class SkuName(str, Enum): + """ + The sku name. + """ + PREMIUM_LRS = "Premium_LRS" + """ + Premium locally redundant storage + """ + PREMIUM_ZRS = "Premium_ZRS" + """ + Premium zone redundant storage + """ + + +class SkuTier(str, Enum): + """ + The sku tier. + """ + PREMIUM = "Premium" + """ + Premium Tier + """ + + +class StorageTargetType(str, Enum): + """ + Type of storage target + """ + ISCSI = "Iscsi" + NONE = "None" + + +class VolumeCreateOption(str, Enum): + """ + This enumerates the possible sources of a volume creation. + """ + NONE = "None" + VOLUME_SNAPSHOT = "VolumeSnapshot" + DISK_SNAPSHOT = "DiskSnapshot" + DISK = "Disk" + DISK_RESTORE_POINT = "DiskRestorePoint" diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/_inputs.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/_inputs.py new file mode 100644 index 000000000000..3a000e9c2cf4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/_inputs.py @@ -0,0 +1,432 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'EncryptionIdentityArgs', + 'EncryptionPropertiesArgs', + 'IdentityArgs', + 'KeyVaultPropertiesArgs', + 'ManagedByInfoArgs', + 'NetworkRuleSetArgs', + 'PrivateLinkServiceConnectionStateArgs', + 'SkuArgs', + 'SnapshotCreationDataArgs', + 'SourceCreationDataArgs', + 'VirtualNetworkRuleArgs', +] + +@pulumi.input_type +class EncryptionIdentityArgs: + def __init__(__self__, *, + encryption_user_assigned_identity: Optional[pulumi.Input[str]] = None): + """ + Encryption identity for the volume group. + :param pulumi.Input[str] encryption_user_assigned_identity: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + """ + if encryption_user_assigned_identity is not None: + pulumi.set(__self__, "encryption_user_assigned_identity", encryption_user_assigned_identity) + + @property + @pulumi.getter(name="encryptionUserAssignedIdentity") + def encryption_user_assigned_identity(self) -> Optional[pulumi.Input[str]]: + """ + Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + """ + return pulumi.get(self, "encryption_user_assigned_identity") + + @encryption_user_assigned_identity.setter + def encryption_user_assigned_identity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_user_assigned_identity", value) + + +@pulumi.input_type +class EncryptionPropertiesArgs: + def __init__(__self__, *, + encryption_identity: Optional[pulumi.Input['EncryptionIdentityArgs']] = None, + key_vault_properties: Optional[pulumi.Input['KeyVaultPropertiesArgs']] = None): + """ + The encryption settings on the volume group. + :param pulumi.Input['EncryptionIdentityArgs'] encryption_identity: The identity to be used with service-side encryption at rest. + :param pulumi.Input['KeyVaultPropertiesArgs'] key_vault_properties: Properties provided by key vault. + """ + if encryption_identity is not None: + pulumi.set(__self__, "encryption_identity", encryption_identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + + @property + @pulumi.getter(name="encryptionIdentity") + def encryption_identity(self) -> Optional[pulumi.Input['EncryptionIdentityArgs']]: + """ + The identity to be used with service-side encryption at rest. + """ + return pulumi.get(self, "encryption_identity") + + @encryption_identity.setter + def encryption_identity(self, value: Optional[pulumi.Input['EncryptionIdentityArgs']]): + pulumi.set(self, "encryption_identity", value) + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional[pulumi.Input['KeyVaultPropertiesArgs']]: + """ + Properties provided by key vault. + """ + return pulumi.get(self, "key_vault_properties") + + @key_vault_properties.setter + def key_vault_properties(self, value: Optional[pulumi.Input['KeyVaultPropertiesArgs']]): + pulumi.set(self, "key_vault_properties", value) + + +@pulumi.input_type +class IdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'IdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity for the resource. + :param pulumi.Input[Union[str, 'IdentityType']] type: The identity type. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'IdentityType']]: + """ + The identity type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'IdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class KeyVaultPropertiesArgs: + def __init__(__self__, *, + key_name: Optional[pulumi.Input[str]] = None, + key_vault_uri: Optional[pulumi.Input[str]] = None, + key_version: Optional[pulumi.Input[str]] = None): + """ + Properties of key vault. + :param pulumi.Input[str] key_name: The name of KeyVault key. + :param pulumi.Input[str] key_vault_uri: The Uri of KeyVault. + :param pulumi.Input[str] key_version: The version of KeyVault key. + """ + if key_name is not None: + pulumi.set(__self__, "key_name", key_name) + if key_vault_uri is not None: + pulumi.set(__self__, "key_vault_uri", key_vault_uri) + if key_version is not None: + pulumi.set(__self__, "key_version", key_version) + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of KeyVault key. + """ + return pulumi.get(self, "key_name") + + @key_name.setter + def key_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_name", value) + + @property + @pulumi.getter(name="keyVaultUri") + def key_vault_uri(self) -> Optional[pulumi.Input[str]]: + """ + The Uri of KeyVault. + """ + return pulumi.get(self, "key_vault_uri") + + @key_vault_uri.setter + def key_vault_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_uri", value) + + @property + @pulumi.getter(name="keyVersion") + def key_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of KeyVault key. + """ + return pulumi.get(self, "key_version") + + @key_version.setter + def key_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_version", value) + + +@pulumi.input_type +class ManagedByInfoArgs: + def __init__(__self__, *, + resource_id: Optional[pulumi.Input[str]] = None): + """ + Parent resource information. + :param pulumi.Input[str] resource_id: Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + """ + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + """ + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_id", value) + + +@pulumi.input_type +class NetworkRuleSetArgs: + def __init__(__self__, *, + virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]] = None): + """ + A set of rules governing the network accessibility. + :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]] virtual_network_rules: The list of virtual network rules. + """ + if virtual_network_rules is not None: + pulumi.set(__self__, "virtual_network_rules", virtual_network_rules) + + @property + @pulumi.getter(name="virtualNetworkRules") + def virtual_network_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]]: + """ + The list of virtual network rules. + """ + return pulumi.get(self, "virtual_network_rules") + + @virtual_network_rules.setter + def virtual_network_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkRuleArgs']]]]): + pulumi.set(self, "virtual_network_rules", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStateArgs: + def __init__(__self__, *, + actions_required: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]] = None): + """ + Response for Private Link Service Connection state + :param pulumi.Input[str] actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param pulumi.Input[str] description: The reason for approval/rejection of the connection. + :param pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']] status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[pulumi.Input[str]]: + """ + A message indicating if changes on the service provider require any updates on the consumer. + """ + return pulumi.get(self, "actions_required") + + @actions_required.setter + def actions_required(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "actions_required", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The reason for approval/rejection of the connection. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: pulumi.Input[Union[str, 'SkuName']], + tier: Optional[pulumi.Input[Union[str, 'SkuTier']]] = None): + """ + The SKU name. Required for account creation; optional for update. + :param pulumi.Input[Union[str, 'SkuName']] name: The sku name. + :param pulumi.Input[Union[str, 'SkuTier']] tier: The sku tier. + """ + pulumi.set(__self__, "name", name) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[Union[str, 'SkuName']]: + """ + The sku name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Union[str, 'SkuName']]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input[Union[str, 'SkuTier']]]: + """ + The sku tier. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input[Union[str, 'SkuTier']]]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class SnapshotCreationDataArgs: + def __init__(__self__, *, + source_id: pulumi.Input[str]): + """ + Data used when creating a volume snapshot. + :param pulumi.Input[str] source_id: Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> pulumi.Input[str]: + """ + Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + return pulumi.get(self, "source_id") + + @source_id.setter + def source_id(self, value: pulumi.Input[str]): + pulumi.set(self, "source_id", value) + + +@pulumi.input_type +class SourceCreationDataArgs: + def __init__(__self__, *, + create_source: Optional[pulumi.Input[Union[str, 'VolumeCreateOption']]] = None, + source_id: Optional[pulumi.Input[str]] = None): + """ + Data source used when creating the volume. + :param pulumi.Input[Union[str, 'VolumeCreateOption']] create_source: This enumerates the possible sources of a volume creation. + :param pulumi.Input[str] source_id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + if create_source is not None: + pulumi.set(__self__, "create_source", create_source) + if source_id is not None: + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter(name="createSource") + def create_source(self) -> Optional[pulumi.Input[Union[str, 'VolumeCreateOption']]]: + """ + This enumerates the possible sources of a volume creation. + """ + return pulumi.get(self, "create_source") + + @create_source.setter + def create_source(self, value: Optional[pulumi.Input[Union[str, 'VolumeCreateOption']]]): + pulumi.set(self, "create_source", value) + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> Optional[pulumi.Input[str]]: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "source_id") + + @source_id.setter + def source_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_id", value) + + +@pulumi.input_type +class VirtualNetworkRuleArgs: + def __init__(__self__, *, + virtual_network_resource_id: pulumi.Input[str], + action: Optional[pulumi.Input[Union[str, 'Action']]] = None): + """ + Virtual Network rule. + :param pulumi.Input[str] virtual_network_resource_id: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + :param pulumi.Input[Union[str, 'Action']] action: The action of virtual network rule. + """ + pulumi.set(__self__, "virtual_network_resource_id", virtual_network_resource_id) + if action is None: + action = 'Allow' + if action is not None: + pulumi.set(__self__, "action", action) + + @property + @pulumi.getter(name="virtualNetworkResourceId") + def virtual_network_resource_id(self) -> pulumi.Input[str]: + """ + Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + """ + return pulumi.get(self, "virtual_network_resource_id") + + @virtual_network_resource_id.setter + def virtual_network_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "virtual_network_resource_id", value) + + @property + @pulumi.getter + def action(self) -> Optional[pulumi.Input[Union[str, 'Action']]]: + """ + The action of virtual network rule. + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: Optional[pulumi.Input[Union[str, 'Action']]]): + pulumi.set(self, "action", value) + + diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/elastic_san.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/elastic_san.py new file mode 100644 index 000000000000..1b60d80f4db7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/elastic_san.py @@ -0,0 +1,442 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ElasticSanArgs', 'ElasticSan'] + +@pulumi.input_type +class ElasticSanArgs: + def __init__(__self__, *, + base_size_ti_b: pulumi.Input[float], + extended_capacity_size_ti_b: pulumi.Input[float], + resource_group_name: pulumi.Input[str], + sku: pulumi.Input['SkuArgs'], + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ElasticSan resource. + :param pulumi.Input[float] base_size_ti_b: Base size of the Elastic San appliance in TiB. + :param pulumi.Input[float] extended_capacity_size_ti_b: Extended size of the Elastic San appliance in TiB. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['SkuArgs'] sku: resource sku + :param pulumi.Input[Sequence[pulumi.Input[str]]] availability_zones: Logical zone for Elastic San resource; example: ["1"]. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "base_size_ti_b", base_size_ti_b) + pulumi.set(__self__, "extended_capacity_size_ti_b", extended_capacity_size_ti_b) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "sku", sku) + if availability_zones is not None: + pulumi.set(__self__, "availability_zones", availability_zones) + if elastic_san_name is not None: + pulumi.set(__self__, "elastic_san_name", elastic_san_name) + if location is not None: + pulumi.set(__self__, "location", location) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="baseSizeTiB") + def base_size_ti_b(self) -> pulumi.Input[float]: + """ + Base size of the Elastic San appliance in TiB. + """ + return pulumi.get(self, "base_size_ti_b") + + @base_size_ti_b.setter + def base_size_ti_b(self, value: pulumi.Input[float]): + pulumi.set(self, "base_size_ti_b", value) + + @property + @pulumi.getter(name="extendedCapacitySizeTiB") + def extended_capacity_size_ti_b(self) -> pulumi.Input[float]: + """ + Extended size of the Elastic San appliance in TiB. + """ + return pulumi.get(self, "extended_capacity_size_ti_b") + + @extended_capacity_size_ti_b.setter + def extended_capacity_size_ti_b(self, value: pulumi.Input[float]): + pulumi.set(self, "extended_capacity_size_ti_b", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input['SkuArgs']: + """ + resource sku + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input['SkuArgs']): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Logical zone for Elastic San resource; example: ["1"]. + """ + return pulumi.get(self, "availability_zones") + + @availability_zones.setter + def availability_zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "availability_zones", value) + + @property + @pulumi.getter(name="elasticSanName") + def elastic_san_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the ElasticSan. + """ + return pulumi.get(self, "elastic_san_name") + + @elastic_san_name.setter + def elastic_san_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "elastic_san_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 ElasticSan(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + base_size_ti_b: Optional[pulumi.Input[float]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + extended_capacity_size_ti_b: Optional[pulumi.Input[float]] = None, + location: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Response for ElasticSan request. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] availability_zones: Logical zone for Elastic San resource; example: ["1"]. + :param pulumi.Input[float] base_size_ti_b: Base size of the Elastic San appliance in TiB. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[float] extended_capacity_size_ti_b: Extended size of the Elastic San appliance in TiB. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: resource sku + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ElasticSanArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Response for ElasticSan request. + + :param str resource_name: The name of the resource. + :param ElasticSanArgs 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(ElasticSanArgs, 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, + availability_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + base_size_ti_b: Optional[pulumi.Input[float]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + extended_capacity_size_ti_b: Optional[pulumi.Input[float]] = None, + location: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ElasticSanArgs.__new__(ElasticSanArgs) + + __props__.__dict__["availability_zones"] = availability_zones + if base_size_ti_b is None and not opts.urn: + raise TypeError("Missing required property 'base_size_ti_b'") + __props__.__dict__["base_size_ti_b"] = base_size_ti_b + __props__.__dict__["elastic_san_name"] = elastic_san_name + if extended_capacity_size_ti_b is None and not opts.urn: + raise TypeError("Missing required property 'extended_capacity_size_ti_b'") + __props__.__dict__["extended_capacity_size_ti_b"] = extended_capacity_size_ti_b + __props__.__dict__["location"] = location + __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 + if sku is None and not opts.urn: + raise TypeError("Missing required property 'sku'") + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["total_iops"] = None + __props__.__dict__["total_m_bps"] = None + __props__.__dict__["total_size_ti_b"] = None + __props__.__dict__["total_volume_size_gi_b"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_group_count"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:ElasticSan"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:ElasticSan")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ElasticSan, __self__).__init__( + 'azure-native:elasticsan/v20230101:ElasticSan', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ElasticSan': + """ + Get an existing ElasticSan 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ElasticSanArgs.__new__(ElasticSanArgs) + + __props__.__dict__["availability_zones"] = None + __props__.__dict__["base_size_ti_b"] = None + __props__.__dict__["extended_capacity_size_ti_b"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["total_iops"] = None + __props__.__dict__["total_m_bps"] = None + __props__.__dict__["total_size_ti_b"] = None + __props__.__dict__["total_volume_size_gi_b"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_group_count"] = None + return ElasticSan(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Logical zone for Elastic San resource; example: ["1"]. + """ + return pulumi.get(self, "availability_zones") + + @property + @pulumi.getter(name="baseSizeTiB") + def base_size_ti_b(self) -> pulumi.Output[float]: + """ + Base size of the Elastic San appliance in TiB. + """ + return pulumi.get(self, "base_size_ti_b") + + @property + @pulumi.getter(name="extendedCapacitySizeTiB") + def extended_capacity_size_ti_b(self) -> pulumi.Output[float]: + """ + Extended size of the Elastic San appliance in TiB. + """ + return pulumi.get(self, "extended_capacity_size_ti_b") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + The list of Private Endpoint Connections. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.SkuResponse']: + """ + resource sku + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalIops") + def total_iops(self) -> pulumi.Output[float]: + """ + Total Provisioned IOPS of the Elastic San appliance. + """ + return pulumi.get(self, "total_iops") + + @property + @pulumi.getter(name="totalMBps") + def total_m_bps(self) -> pulumi.Output[float]: + """ + Total Provisioned MBps Elastic San appliance. + """ + return pulumi.get(self, "total_m_bps") + + @property + @pulumi.getter(name="totalSizeTiB") + def total_size_ti_b(self) -> pulumi.Output[float]: + """ + Total size of the Elastic San appliance in TB. + """ + return pulumi.get(self, "total_size_ti_b") + + @property + @pulumi.getter(name="totalVolumeSizeGiB") + def total_volume_size_gi_b(self) -> pulumi.Output[float]: + """ + Total size of the provisioned Volumes in GiB. + """ + return pulumi.get(self, "total_volume_size_gi_b") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeGroupCount") + def volume_group_count(self) -> pulumi.Output[float]: + """ + Total number of volume groups in this Elastic San appliance. + """ + return pulumi.get(self, "volume_group_count") + diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_elastic_san.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_elastic_san.py new file mode 100644 index 000000000000..6094bcc1aa5a --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_elastic_san.py @@ -0,0 +1,300 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetElasticSanResult', + 'AwaitableGetElasticSanResult', + 'get_elastic_san', + 'get_elastic_san_output', +] + +@pulumi.output_type +class GetElasticSanResult: + """ + Response for ElasticSan request. + """ + def __init__(__self__, availability_zones=None, base_size_ti_b=None, extended_capacity_size_ti_b=None, id=None, location=None, name=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, sku=None, system_data=None, tags=None, total_iops=None, total_m_bps=None, total_size_ti_b=None, total_volume_size_gi_b=None, type=None, volume_group_count=None): + if availability_zones and not isinstance(availability_zones, list): + raise TypeError("Expected argument 'availability_zones' to be a list") + pulumi.set(__self__, "availability_zones", availability_zones) + if base_size_ti_b and not isinstance(base_size_ti_b, float): + raise TypeError("Expected argument 'base_size_ti_b' to be a float") + pulumi.set(__self__, "base_size_ti_b", base_size_ti_b) + if extended_capacity_size_ti_b and not isinstance(extended_capacity_size_ti_b, float): + raise TypeError("Expected argument 'extended_capacity_size_ti_b' to be a float") + pulumi.set(__self__, "extended_capacity_size_ti_b", extended_capacity_size_ti_b) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if total_iops and not isinstance(total_iops, float): + raise TypeError("Expected argument 'total_iops' to be a float") + pulumi.set(__self__, "total_iops", total_iops) + if total_m_bps and not isinstance(total_m_bps, float): + raise TypeError("Expected argument 'total_m_bps' to be a float") + pulumi.set(__self__, "total_m_bps", total_m_bps) + if total_size_ti_b and not isinstance(total_size_ti_b, float): + raise TypeError("Expected argument 'total_size_ti_b' to be a float") + pulumi.set(__self__, "total_size_ti_b", total_size_ti_b) + if total_volume_size_gi_b and not isinstance(total_volume_size_gi_b, float): + raise TypeError("Expected argument 'total_volume_size_gi_b' to be a float") + pulumi.set(__self__, "total_volume_size_gi_b", total_volume_size_gi_b) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if volume_group_count and not isinstance(volume_group_count, float): + raise TypeError("Expected argument 'volume_group_count' to be a float") + pulumi.set(__self__, "volume_group_count", volume_group_count) + + @property + @pulumi.getter(name="availabilityZones") + def availability_zones(self) -> Optional[Sequence[str]]: + """ + Logical zone for Elastic San resource; example: ["1"]. + """ + return pulumi.get(self, "availability_zones") + + @property + @pulumi.getter(name="baseSizeTiB") + def base_size_ti_b(self) -> float: + """ + Base size of the Elastic San appliance in TiB. + """ + return pulumi.get(self, "base_size_ti_b") + + @property + @pulumi.getter(name="extendedCapacitySizeTiB") + def extended_capacity_size_ti_b(self) -> float: + """ + Extended size of the Elastic San appliance in TiB. + """ + return pulumi.get(self, "extended_capacity_size_ti_b") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + The list of Private Endpoint Connections. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter + def sku(self) -> 'outputs.SkuResponse': + """ + resource sku + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="totalIops") + def total_iops(self) -> float: + """ + Total Provisioned IOPS of the Elastic San appliance. + """ + return pulumi.get(self, "total_iops") + + @property + @pulumi.getter(name="totalMBps") + def total_m_bps(self) -> float: + """ + Total Provisioned MBps Elastic San appliance. + """ + return pulumi.get(self, "total_m_bps") + + @property + @pulumi.getter(name="totalSizeTiB") + def total_size_ti_b(self) -> float: + """ + Total size of the Elastic San appliance in TB. + """ + return pulumi.get(self, "total_size_ti_b") + + @property + @pulumi.getter(name="totalVolumeSizeGiB") + def total_volume_size_gi_b(self) -> float: + """ + Total size of the provisioned Volumes in GiB. + """ + return pulumi.get(self, "total_volume_size_gi_b") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeGroupCount") + def volume_group_count(self) -> float: + """ + Total number of volume groups in this Elastic San appliance. + """ + return pulumi.get(self, "volume_group_count") + + +class AwaitableGetElasticSanResult(GetElasticSanResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetElasticSanResult( + availability_zones=self.availability_zones, + base_size_ti_b=self.base_size_ti_b, + extended_capacity_size_ti_b=self.extended_capacity_size_ti_b, + id=self.id, + location=self.location, + name=self.name, + private_endpoint_connections=self.private_endpoint_connections, + provisioning_state=self.provisioning_state, + public_network_access=self.public_network_access, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + total_iops=self.total_iops, + total_m_bps=self.total_m_bps, + total_size_ti_b=self.total_size_ti_b, + total_volume_size_gi_b=self.total_volume_size_gi_b, + type=self.type, + volume_group_count=self.volume_group_count) + + +def get_elastic_san(elastic_san_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetElasticSanResult: + """ + Get a ElasticSan. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['elasticSanName'] = elastic_san_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:elasticsan/v20230101:getElasticSan', __args__, opts=opts, typ=GetElasticSanResult).value + + return AwaitableGetElasticSanResult( + availability_zones=pulumi.get(__ret__, 'availability_zones'), + base_size_ti_b=pulumi.get(__ret__, 'base_size_ti_b'), + extended_capacity_size_ti_b=pulumi.get(__ret__, 'extended_capacity_size_ti_b'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + total_iops=pulumi.get(__ret__, 'total_iops'), + total_m_bps=pulumi.get(__ret__, 'total_m_bps'), + total_size_ti_b=pulumi.get(__ret__, 'total_size_ti_b'), + total_volume_size_gi_b=pulumi.get(__ret__, 'total_volume_size_gi_b'), + type=pulumi.get(__ret__, 'type'), + volume_group_count=pulumi.get(__ret__, 'volume_group_count')) + + +@_utilities.lift_output_func(get_elastic_san) +def get_elastic_san_output(elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetElasticSanResult]: + """ + Get a ElasticSan. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_private_endpoint_connection.py new file mode 100644 index 000000000000..54676207e913 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_private_endpoint_connection.py @@ -0,0 +1,175 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', + 'get_private_endpoint_connection_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + Response for PrivateEndpoint Connection object + """ + def __init__(__self__, group_ids=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None): + if group_ids and not isinstance(group_ids, list): + raise TypeError("Expected argument 'group_ids' to be a list") + pulumi.set(__self__, "group_ids", group_ids) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupIds") + def group_ids(self) -> Optional[Sequence[str]]: + """ + List of resources private endpoint is mapped + """ + return pulumi.get(self, "group_ids") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + Private Endpoint resource + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + Private Link Service Connection State. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning State of Private Endpoint connection resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + group_ids=self.group_ids, + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_private_endpoint_connection(elastic_san_name: Optional[str] = None, + private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Gets the specified private endpoint connection associated with the Elastic San + + + :param str elastic_san_name: The name of the ElasticSan. + :param str private_endpoint_connection_name: The name of the Private Endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['elasticSanName'] = elastic_san_name + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:elasticsan/v20230101:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + group_ids=pulumi.get(__ret__, 'group_ids'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection) +def get_private_endpoint_connection_output(elastic_san_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]: + """ + Gets the specified private endpoint connection associated with the Elastic San + + + :param str elastic_san_name: The name of the ElasticSan. + :param str private_endpoint_connection_name: The name of the Private Endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume.py new file mode 100644 index 000000000000..45d78f575f8f --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVolumeResult', + 'AwaitableGetVolumeResult', + 'get_volume', + 'get_volume_output', +] + +@pulumi.output_type +class GetVolumeResult: + """ + Response for Volume request. + """ + def __init__(__self__, creation_data=None, id=None, managed_by=None, name=None, provisioning_state=None, size_gi_b=None, storage_target=None, system_data=None, type=None, volume_id=None): + if creation_data and not isinstance(creation_data, dict): + raise TypeError("Expected argument 'creation_data' to be a dict") + pulumi.set(__self__, "creation_data", creation_data) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if managed_by and not isinstance(managed_by, dict): + raise TypeError("Expected argument 'managed_by' to be a dict") + pulumi.set(__self__, "managed_by", managed_by) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if size_gi_b and not isinstance(size_gi_b, float): + raise TypeError("Expected argument 'size_gi_b' to be a float") + pulumi.set(__self__, "size_gi_b", size_gi_b) + if storage_target and not isinstance(storage_target, dict): + raise TypeError("Expected argument 'storage_target' to be a dict") + pulumi.set(__self__, "storage_target", storage_target) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if volume_id and not isinstance(volume_id, str): + raise TypeError("Expected argument 'volume_id' to be a str") + pulumi.set(__self__, "volume_id", volume_id) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional['outputs.SourceCreationDataResponse']: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional['outputs.ManagedByInfoResponse']: + """ + Parent resource information. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sizeGiB") + def size_gi_b(self) -> float: + """ + Volume size. + """ + return pulumi.get(self, "size_gi_b") + + @property + @pulumi.getter(name="storageTarget") + def storage_target(self) -> 'outputs.IscsiTargetInfoResponse': + """ + Storage target information + """ + return pulumi.get(self, "storage_target") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeId") + def volume_id(self) -> str: + """ + Unique Id of the volume in GUID format + """ + return pulumi.get(self, "volume_id") + + +class AwaitableGetVolumeResult(GetVolumeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVolumeResult( + creation_data=self.creation_data, + id=self.id, + managed_by=self.managed_by, + name=self.name, + provisioning_state=self.provisioning_state, + size_gi_b=self.size_gi_b, + storage_target=self.storage_target, + system_data=self.system_data, + type=self.type, + volume_id=self.volume_id) + + +def get_volume(elastic_san_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + volume_group_name: Optional[str] = None, + volume_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult: + """ + Get an Volume. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str volume_group_name: The name of the VolumeGroup. + :param str volume_name: The name of the Volume. + """ + __args__ = dict() + __args__['elasticSanName'] = elastic_san_name + __args__['resourceGroupName'] = resource_group_name + __args__['volumeGroupName'] = volume_group_name + __args__['volumeName'] = volume_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:elasticsan/v20230101:getVolume', __args__, opts=opts, typ=GetVolumeResult).value + + return AwaitableGetVolumeResult( + creation_data=pulumi.get(__ret__, 'creation_data'), + id=pulumi.get(__ret__, 'id'), + managed_by=pulumi.get(__ret__, 'managed_by'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + size_gi_b=pulumi.get(__ret__, 'size_gi_b'), + storage_target=pulumi.get(__ret__, 'storage_target'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + volume_id=pulumi.get(__ret__, 'volume_id')) + + +@_utilities.lift_output_func(get_volume) +def get_volume_output(elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + volume_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeResult]: + """ + Get an Volume. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str volume_group_name: The name of the VolumeGroup. + :param str volume_name: The name of the Volume. + """ + ... diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume_group.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume_group.py new file mode 100644 index 000000000000..b60a60f8529f --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume_group.py @@ -0,0 +1,214 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVolumeGroupResult', + 'AwaitableGetVolumeGroupResult', + 'get_volume_group', + 'get_volume_group_output', +] + +@pulumi.output_type +class GetVolumeGroupResult: + """ + Response for Volume Group request. + """ + def __init__(__self__, encryption=None, encryption_properties=None, id=None, identity=None, name=None, network_acls=None, private_endpoint_connections=None, protocol_type=None, provisioning_state=None, system_data=None, type=None): + if encryption and not isinstance(encryption, str): + raise TypeError("Expected argument 'encryption' to be a str") + pulumi.set(__self__, "encryption", encryption) + if encryption_properties and not isinstance(encryption_properties, dict): + raise TypeError("Expected argument 'encryption_properties' to be a dict") + pulumi.set(__self__, "encryption_properties", encryption_properties) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_acls and not isinstance(network_acls, dict): + raise TypeError("Expected argument 'network_acls' to be a dict") + pulumi.set(__self__, "network_acls", network_acls) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if protocol_type and not isinstance(protocol_type, str): + raise TypeError("Expected argument 'protocol_type' to be a str") + pulumi.set(__self__, "protocol_type", protocol_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def encryption(self) -> Optional[str]: + """ + Type of encryption + """ + return pulumi.get(self, "encryption") + + @property + @pulumi.getter(name="encryptionProperties") + def encryption_properties(self) -> Optional['outputs.EncryptionPropertiesResponse']: + """ + Encryption Properties describing Key Vault and Identity information + """ + return pulumi.get(self, "encryption_properties") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.IdentityResponse']: + """ + The identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkAcls") + def network_acls(self) -> Optional['outputs.NetworkRuleSetResponse']: + """ + A collection of rules governing the accessibility from specific network locations. + """ + return pulumi.get(self, "network_acls") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + The list of Private Endpoint Connections. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="protocolType") + def protocol_type(self) -> Optional[str]: + """ + Type of storage target + """ + return pulumi.get(self, "protocol_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetVolumeGroupResult(GetVolumeGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVolumeGroupResult( + encryption=self.encryption, + encryption_properties=self.encryption_properties, + id=self.id, + identity=self.identity, + name=self.name, + network_acls=self.network_acls, + private_endpoint_connections=self.private_endpoint_connections, + protocol_type=self.protocol_type, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_volume_group(elastic_san_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + volume_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeGroupResult: + """ + Get an VolumeGroups. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str volume_group_name: The name of the VolumeGroup. + """ + __args__ = dict() + __args__['elasticSanName'] = elastic_san_name + __args__['resourceGroupName'] = resource_group_name + __args__['volumeGroupName'] = volume_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:elasticsan/v20230101:getVolumeGroup', __args__, opts=opts, typ=GetVolumeGroupResult).value + + return AwaitableGetVolumeGroupResult( + encryption=pulumi.get(__ret__, 'encryption'), + encryption_properties=pulumi.get(__ret__, 'encryption_properties'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + name=pulumi.get(__ret__, 'name'), + network_acls=pulumi.get(__ret__, 'network_acls'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + protocol_type=pulumi.get(__ret__, 'protocol_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_volume_group) +def get_volume_group_output(elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeGroupResult]: + """ + Get an VolumeGroups. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str volume_group_name: The name of the VolumeGroup. + """ + ... diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume_snapshot.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume_snapshot.py new file mode 100644 index 000000000000..11d6582e862b --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/get_volume_snapshot.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVolumeSnapshotResult', + 'AwaitableGetVolumeSnapshotResult', + 'get_volume_snapshot', + 'get_volume_snapshot_output', +] + +@pulumi.output_type +class GetVolumeSnapshotResult: + """ + Response for Volume Snapshot request. + """ + def __init__(__self__, creation_data=None, id=None, name=None, provisioning_state=None, source_volume_size_gi_b=None, system_data=None, type=None, volume_name=None): + if creation_data and not isinstance(creation_data, dict): + raise TypeError("Expected argument 'creation_data' to be a dict") + pulumi.set(__self__, "creation_data", creation_data) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if source_volume_size_gi_b and not isinstance(source_volume_size_gi_b, float): + raise TypeError("Expected argument 'source_volume_size_gi_b' to be a float") + pulumi.set(__self__, "source_volume_size_gi_b", source_volume_size_gi_b) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if volume_name and not isinstance(volume_name, str): + raise TypeError("Expected argument 'volume_name' to be a str") + pulumi.set(__self__, "volume_name", volume_name) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> 'outputs.SnapshotCreationDataResponse': + """ + Data used when creating a volume snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceVolumeSizeGiB") + def source_volume_size_gi_b(self) -> float: + """ + Size of Source Volume + """ + return pulumi.get(self, "source_volume_size_gi_b") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeName") + def volume_name(self) -> str: + """ + Source Volume Name of a snapshot + """ + return pulumi.get(self, "volume_name") + + +class AwaitableGetVolumeSnapshotResult(GetVolumeSnapshotResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVolumeSnapshotResult( + creation_data=self.creation_data, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + source_volume_size_gi_b=self.source_volume_size_gi_b, + system_data=self.system_data, + type=self.type, + volume_name=self.volume_name) + + +def get_volume_snapshot(elastic_san_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + snapshot_name: Optional[str] = None, + volume_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeSnapshotResult: + """ + Get a Volume Snapshot. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str snapshot_name: The name of the volume snapshot within the given volume group. + :param str volume_group_name: The name of the VolumeGroup. + """ + __args__ = dict() + __args__['elasticSanName'] = elastic_san_name + __args__['resourceGroupName'] = resource_group_name + __args__['snapshotName'] = snapshot_name + __args__['volumeGroupName'] = volume_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:elasticsan/v20230101:getVolumeSnapshot', __args__, opts=opts, typ=GetVolumeSnapshotResult).value + + return AwaitableGetVolumeSnapshotResult( + creation_data=pulumi.get(__ret__, 'creation_data'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + source_volume_size_gi_b=pulumi.get(__ret__, 'source_volume_size_gi_b'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + volume_name=pulumi.get(__ret__, 'volume_name')) + + +@_utilities.lift_output_func(get_volume_snapshot) +def get_volume_snapshot_output(elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + snapshot_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeSnapshotResult]: + """ + Get a Volume Snapshot. + + + :param str elastic_san_name: The name of the ElasticSan. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str snapshot_name: The name of the volume snapshot within the given volume group. + :param str volume_group_name: The name of the VolumeGroup. + """ + ... diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/outputs.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/outputs.py new file mode 100644 index 000000000000..c05bedb3824e --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/outputs.py @@ -0,0 +1,1034 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'EncryptionIdentityResponse', + 'EncryptionPropertiesResponse', + 'IdentityResponse', + 'IscsiTargetInfoResponse', + 'KeyVaultPropertiesResponse', + 'ManagedByInfoResponse', + 'NetworkRuleSetResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointResponse', + 'PrivateLinkServiceConnectionStateResponse', + 'SkuResponse', + 'SnapshotCreationDataResponse', + 'SourceCreationDataResponse', + 'SystemDataResponse', + 'UserAssignedIdentityResponse', + 'VirtualNetworkRuleResponse', +] + +@pulumi.output_type +class EncryptionIdentityResponse(dict): + """ + Encryption identity for the volume group. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "encryptionUserAssignedIdentity": + suggest = "encryption_user_assigned_identity" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EncryptionIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EncryptionIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EncryptionIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + encryption_user_assigned_identity: Optional[str] = None): + """ + Encryption identity for the volume group. + :param str encryption_user_assigned_identity: Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + """ + if encryption_user_assigned_identity is not None: + pulumi.set(__self__, "encryption_user_assigned_identity", encryption_user_assigned_identity) + + @property + @pulumi.getter(name="encryptionUserAssignedIdentity") + def encryption_user_assigned_identity(self) -> Optional[str]: + """ + Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group. + """ + return pulumi.get(self, "encryption_user_assigned_identity") + + +@pulumi.output_type +class EncryptionPropertiesResponse(dict): + """ + The encryption settings on the volume group. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "encryptionIdentity": + suggest = "encryption_identity" + elif key == "keyVaultProperties": + suggest = "key_vault_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EncryptionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EncryptionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EncryptionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + encryption_identity: Optional['outputs.EncryptionIdentityResponse'] = None, + key_vault_properties: Optional['outputs.KeyVaultPropertiesResponse'] = None): + """ + The encryption settings on the volume group. + :param 'EncryptionIdentityResponse' encryption_identity: The identity to be used with service-side encryption at rest. + :param 'KeyVaultPropertiesResponse' key_vault_properties: Properties provided by key vault. + """ + if encryption_identity is not None: + pulumi.set(__self__, "encryption_identity", encryption_identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + + @property + @pulumi.getter(name="encryptionIdentity") + def encryption_identity(self) -> Optional['outputs.EncryptionIdentityResponse']: + """ + The identity to be used with service-side encryption at rest. + """ + return pulumi.get(self, "encryption_identity") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional['outputs.KeyVaultPropertiesResponse']: + """ + Properties provided by key vault. + """ + return pulumi.get(self, "key_vault_properties") + + +@pulumi.output_type +class IdentityResponse(dict): + """ + Identity for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']] = None): + """ + Identity for the resource. + :param str principal_id: The principal ID of resource identity. + :param str tenant_id: The tenant ID of resource. + :param str type: The identity type. + :param Mapping[str, 'UserAssignedIdentityResponse'] user_assigned_identities: Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of resource identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The identity type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class IscsiTargetInfoResponse(dict): + """ + Iscsi target information + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "provisioningState": + suggest = "provisioning_state" + elif key == "targetIqn": + suggest = "target_iqn" + elif key == "targetPortalHostname": + suggest = "target_portal_hostname" + elif key == "targetPortalPort": + suggest = "target_portal_port" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IscsiTargetInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IscsiTargetInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IscsiTargetInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + provisioning_state: str, + target_iqn: str, + target_portal_hostname: str, + target_portal_port: int, + status: Optional[str] = None): + """ + Iscsi target information + :param str provisioning_state: State of the operation on the resource. + :param str target_iqn: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". + :param str target_portal_hostname: iSCSI Target Portal Host Name + :param int target_portal_port: iSCSI Target Portal Port + :param str status: Operational status of the iSCSI Target. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "target_iqn", target_iqn) + pulumi.set(__self__, "target_portal_hostname", target_portal_hostname) + pulumi.set(__self__, "target_portal_port", target_portal_port) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="targetIqn") + def target_iqn(self) -> str: + """ + iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". + """ + return pulumi.get(self, "target_iqn") + + @property + @pulumi.getter(name="targetPortalHostname") + def target_portal_hostname(self) -> str: + """ + iSCSI Target Portal Host Name + """ + return pulumi.get(self, "target_portal_hostname") + + @property + @pulumi.getter(name="targetPortalPort") + def target_portal_port(self) -> int: + """ + iSCSI Target Portal Port + """ + return pulumi.get(self, "target_portal_port") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Operational status of the iSCSI Target. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class KeyVaultPropertiesResponse(dict): + """ + Properties of key vault. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "currentVersionedKeyExpirationTimestamp": + suggest = "current_versioned_key_expiration_timestamp" + elif key == "currentVersionedKeyIdentifier": + suggest = "current_versioned_key_identifier" + elif key == "lastKeyRotationTimestamp": + suggest = "last_key_rotation_timestamp" + elif key == "keyName": + suggest = "key_name" + elif key == "keyVaultUri": + suggest = "key_vault_uri" + elif key == "keyVersion": + suggest = "key_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyVaultPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyVaultPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyVaultPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + current_versioned_key_expiration_timestamp: str, + current_versioned_key_identifier: str, + last_key_rotation_timestamp: str, + key_name: Optional[str] = None, + key_vault_uri: Optional[str] = None, + key_version: Optional[str] = None): + """ + Properties of key vault. + :param str current_versioned_key_expiration_timestamp: This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. + :param str current_versioned_key_identifier: The object identifier of the current versioned Key Vault Key in use. + :param str last_key_rotation_timestamp: Timestamp of last rotation of the Key Vault Key. + :param str key_name: The name of KeyVault key. + :param str key_vault_uri: The Uri of KeyVault. + :param str key_version: The version of KeyVault key. + """ + pulumi.set(__self__, "current_versioned_key_expiration_timestamp", current_versioned_key_expiration_timestamp) + pulumi.set(__self__, "current_versioned_key_identifier", current_versioned_key_identifier) + pulumi.set(__self__, "last_key_rotation_timestamp", last_key_rotation_timestamp) + if key_name is not None: + pulumi.set(__self__, "key_name", key_name) + if key_vault_uri is not None: + pulumi.set(__self__, "key_vault_uri", key_vault_uri) + if key_version is not None: + pulumi.set(__self__, "key_version", key_version) + + @property + @pulumi.getter(name="currentVersionedKeyExpirationTimestamp") + def current_versioned_key_expiration_timestamp(self) -> str: + """ + This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. + """ + return pulumi.get(self, "current_versioned_key_expiration_timestamp") + + @property + @pulumi.getter(name="currentVersionedKeyIdentifier") + def current_versioned_key_identifier(self) -> str: + """ + The object identifier of the current versioned Key Vault Key in use. + """ + return pulumi.get(self, "current_versioned_key_identifier") + + @property + @pulumi.getter(name="lastKeyRotationTimestamp") + def last_key_rotation_timestamp(self) -> str: + """ + Timestamp of last rotation of the Key Vault Key. + """ + return pulumi.get(self, "last_key_rotation_timestamp") + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> Optional[str]: + """ + The name of KeyVault key. + """ + return pulumi.get(self, "key_name") + + @property + @pulumi.getter(name="keyVaultUri") + def key_vault_uri(self) -> Optional[str]: + """ + The Uri of KeyVault. + """ + return pulumi.get(self, "key_vault_uri") + + @property + @pulumi.getter(name="keyVersion") + def key_version(self) -> Optional[str]: + """ + The version of KeyVault key. + """ + return pulumi.get(self, "key_version") + + +@pulumi.output_type +class ManagedByInfoResponse(dict): + """ + Parent resource information. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceId": + suggest = "resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedByInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedByInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedByInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + resource_id: Optional[str] = None): + """ + Parent resource information. + :param str resource_id: Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + """ + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + Resource ID of the resource managing the volume, this is a restricted field and can only be set for internal use. + """ + return pulumi.get(self, "resource_id") + + +@pulumi.output_type +class NetworkRuleSetResponse(dict): + """ + A set of rules governing the network accessibility. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "virtualNetworkRules": + suggest = "virtual_network_rules" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkRuleSetResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkRuleSetResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkRuleSetResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + virtual_network_rules: Optional[Sequence['outputs.VirtualNetworkRuleResponse']] = None): + """ + A set of rules governing the network accessibility. + :param Sequence['VirtualNetworkRuleResponse'] virtual_network_rules: The list of virtual network rules. + """ + if virtual_network_rules is not None: + pulumi.set(__self__, "virtual_network_rules", virtual_network_rules) + + @property + @pulumi.getter(name="virtualNetworkRules") + def virtual_network_rules(self) -> Optional[Sequence['outputs.VirtualNetworkRuleResponse']]: + """ + The list of virtual network rules. + """ + return pulumi.get(self, "virtual_network_rules") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + Response for PrivateEndpoint Connection object + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "systemData": + suggest = "system_data" + elif key == "groupIds": + suggest = "group_ids" + elif key == "privateEndpoint": + suggest = "private_endpoint" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: str, + name: str, + private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStateResponse', + provisioning_state: str, + system_data: 'outputs.SystemDataResponse', + type: str, + group_ids: Optional[Sequence[str]] = None, + private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None): + """ + Response for PrivateEndpoint Connection object + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param 'PrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: Private Link Service Connection State. + :param str provisioning_state: Provisioning State of Private Endpoint connection resource + :param 'SystemDataResponse' system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param Sequence[str] group_ids: List of resources private endpoint is mapped + :param 'PrivateEndpointResponse' private_endpoint: Private Endpoint resource + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "system_data", system_data) + pulumi.set(__self__, "type", type) + if group_ids is not None: + pulumi.set(__self__, "group_ids", group_ids) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + Private Link Service Connection State. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning State of Private Endpoint connection resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="groupIds") + def group_ids(self) -> Optional[Sequence[str]]: + """ + List of resources private endpoint is mapped + """ + return pulumi.get(self, "group_ids") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + Private Endpoint resource + """ + return pulumi.get(self, "private_endpoint") + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + Response for PrivateEndpoint + """ + def __init__(__self__, *, + id: str): + """ + Response for PrivateEndpoint + :param str id: The ARM identifier for Private Endpoint + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ARM identifier for Private Endpoint + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStateResponse(dict): + """ + Response for Private Link Service Connection state + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: Optional[str] = None, + description: Optional[str] = None, + status: Optional[str] = None): + """ + Response for Private Link Service Connection state + :param str actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param str description: The reason for approval/rejection of the connection. + :param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[str]: + """ + A message indicating if changes on the service provider require any updates on the consumer. + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The reason for approval/rejection of the connection. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SkuResponse(dict): + """ + The SKU name. Required for account creation; optional for update. + """ + def __init__(__self__, *, + name: str, + tier: Optional[str] = None): + """ + The SKU name. Required for account creation; optional for update. + :param str name: The sku name. + :param str tier: The sku tier. + """ + pulumi.set(__self__, "name", name) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The sku name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + The sku tier. + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class SnapshotCreationDataResponse(dict): + """ + Data used when creating a volume snapshot. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceId": + suggest = "source_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SnapshotCreationDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SnapshotCreationDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SnapshotCreationDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_id: str): + """ + Data used when creating a volume snapshot. + :param str source_id: Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> str: + """ + Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}" + """ + return pulumi.get(self, "source_id") + + +@pulumi.output_type +class SourceCreationDataResponse(dict): + """ + Data source used when creating the volume. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createSource": + suggest = "create_source" + elif key == "sourceId": + suggest = "source_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SourceCreationDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SourceCreationDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SourceCreationDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + create_source: Optional[str] = None, + source_id: Optional[str] = None): + """ + Data source used when creating the volume. + :param str create_source: This enumerates the possible sources of a volume creation. + :param str source_id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + if create_source is not None: + pulumi.set(__self__, "create_source", create_source) + if source_id is not None: + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter(name="createSource") + def create_source(self) -> Optional[str]: + """ + This enumerates the possible sources of a volume creation. + """ + return pulumi.get(self, "create_source") + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> Optional[str]: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "source_id") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + UserAssignedIdentity for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + UserAssignedIdentity for the resource. + :param str client_id: The client ID of the identity. + :param str principal_id: The principal ID of the identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class VirtualNetworkRuleResponse(dict): + """ + Virtual Network rule. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "virtualNetworkResourceId": + suggest = "virtual_network_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualNetworkRuleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualNetworkRuleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualNetworkRuleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + virtual_network_resource_id: str, + action: Optional[str] = None): + """ + Virtual Network rule. + :param str virtual_network_resource_id: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + :param str action: The action of virtual network rule. + """ + pulumi.set(__self__, "virtual_network_resource_id", virtual_network_resource_id) + if action is None: + action = 'Allow' + if action is not None: + pulumi.set(__self__, "action", action) + + @property + @pulumi.getter(name="virtualNetworkResourceId") + def virtual_network_resource_id(self) -> str: + """ + Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + """ + return pulumi.get(self, "virtual_network_resource_id") + + @property + @pulumi.getter + def action(self) -> Optional[str]: + """ + The action of virtual network rule. + """ + return pulumi.get(self, "action") + + diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/private_endpoint_connection.py new file mode 100644 index 000000000000..80bbad435030 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/private_endpoint_connection.py @@ -0,0 +1,266 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + elastic_san_name: pulumi.Input[str], + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'], + resource_group_name: pulumi.Input[str], + group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnection resource. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: Private Link Service Connection State. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[str]]] group_ids: List of resources private endpoint is mapped + :param pulumi.Input[str] private_endpoint_connection_name: The name of the Private Endpoint connection. + """ + pulumi.set(__self__, "elastic_san_name", elastic_san_name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if group_ids is not None: + pulumi.set(__self__, "group_ids", group_ids) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + + @property + @pulumi.getter(name="elasticSanName") + def elastic_san_name(self) -> pulumi.Input[str]: + """ + The name of the ElasticSan. + """ + return pulumi.get(self, "elastic_san_name") + + @elastic_san_name.setter + def elastic_san_name(self, value: pulumi.Input[str]): + pulumi.set(self, "elastic_san_name", value) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']: + """ + Private Link Service Connection State. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="groupIds") + def group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of resources private endpoint is mapped + """ + return pulumi.get(self, "group_ids") + + @group_ids.setter + def group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "group_ids", value) + + @property + @pulumi.getter(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Private Endpoint connection. + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + +class PrivateEndpointConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Response for PrivateEndpoint Connection object + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[Sequence[pulumi.Input[str]]] group_ids: List of resources private endpoint is mapped + :param pulumi.Input[str] private_endpoint_connection_name: The name of the Private Endpoint connection. + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']] private_link_service_connection_state: Private Link Service Connection State. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Response for PrivateEndpoint Connection object + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionArgs 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(PrivateEndpointConnectionArgs, 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, + elastic_san_name: Optional[pulumi.Input[str]] = None, + group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + if elastic_san_name is None and not opts.urn: + raise TypeError("Missing required property 'elastic_san_name'") + __props__.__dict__["elastic_san_name"] = elastic_san_name + __props__.__dict__["group_ids"] = group_ids + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + if private_link_service_connection_state is None and not opts.urn: + raise TypeError("Missing required property 'private_link_service_connection_state'") + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + 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__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-native:elasticsan/v20230101:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["group_ids"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="groupIds") + def group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of resources private endpoint is mapped + """ + return pulumi.get(self, "group_ids") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]: + """ + Private Endpoint resource + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']: + """ + Private Link Service Connection State. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning State of Private Endpoint connection resource + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume.py new file mode 100644 index 000000000000..b0d9329f229d --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume.py @@ -0,0 +1,326 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VolumeArgs', 'Volume'] + +@pulumi.input_type +class VolumeArgs: + def __init__(__self__, *, + elastic_san_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + size_gi_b: pulumi.Input[float], + volume_group_name: pulumi.Input[str], + creation_data: Optional[pulumi.Input['SourceCreationDataArgs']] = None, + managed_by: Optional[pulumi.Input['ManagedByInfoArgs']] = None, + volume_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Volume resource. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[float] size_gi_b: Volume size. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + :param pulumi.Input['SourceCreationDataArgs'] creation_data: State of the operation on the resource. + :param pulumi.Input['ManagedByInfoArgs'] managed_by: Parent resource information. + :param pulumi.Input[str] volume_name: The name of the Volume. + """ + pulumi.set(__self__, "elastic_san_name", elastic_san_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "size_gi_b", size_gi_b) + pulumi.set(__self__, "volume_group_name", volume_group_name) + if creation_data is not None: + pulumi.set(__self__, "creation_data", creation_data) + if managed_by is not None: + pulumi.set(__self__, "managed_by", managed_by) + if volume_name is not None: + pulumi.set(__self__, "volume_name", volume_name) + + @property + @pulumi.getter(name="elasticSanName") + def elastic_san_name(self) -> pulumi.Input[str]: + """ + The name of the ElasticSan. + """ + return pulumi.get(self, "elastic_san_name") + + @elastic_san_name.setter + def elastic_san_name(self, value: pulumi.Input[str]): + pulumi.set(self, "elastic_san_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="sizeGiB") + def size_gi_b(self) -> pulumi.Input[float]: + """ + Volume size. + """ + return pulumi.get(self, "size_gi_b") + + @size_gi_b.setter + def size_gi_b(self, value: pulumi.Input[float]): + pulumi.set(self, "size_gi_b", value) + + @property + @pulumi.getter(name="volumeGroupName") + def volume_group_name(self) -> pulumi.Input[str]: + """ + The name of the VolumeGroup. + """ + return pulumi.get(self, "volume_group_name") + + @volume_group_name.setter + def volume_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "volume_group_name", value) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> Optional[pulumi.Input['SourceCreationDataArgs']]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "creation_data") + + @creation_data.setter + def creation_data(self, value: Optional[pulumi.Input['SourceCreationDataArgs']]): + pulumi.set(self, "creation_data", value) + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> Optional[pulumi.Input['ManagedByInfoArgs']]: + """ + Parent resource information. + """ + return pulumi.get(self, "managed_by") + + @managed_by.setter + def managed_by(self, value: Optional[pulumi.Input['ManagedByInfoArgs']]): + pulumi.set(self, "managed_by", value) + + @property + @pulumi.getter(name="volumeName") + def volume_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Volume. + """ + return pulumi.get(self, "volume_name") + + @volume_name.setter + def volume_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "volume_name", value) + + +class Volume(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + creation_data: Optional[pulumi.Input[pulumi.InputType['SourceCreationDataArgs']]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[pulumi.InputType['ManagedByInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + size_gi_b: Optional[pulumi.Input[float]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + volume_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Response for Volume request. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SourceCreationDataArgs']] creation_data: State of the operation on the resource. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[pulumi.InputType['ManagedByInfoArgs']] managed_by: Parent resource information. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[float] size_gi_b: Volume size. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + :param pulumi.Input[str] volume_name: The name of the Volume. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VolumeArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Response for Volume request. + + :param str resource_name: The name of the resource. + :param VolumeArgs 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(VolumeArgs, 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, + creation_data: Optional[pulumi.Input[pulumi.InputType['SourceCreationDataArgs']]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + managed_by: Optional[pulumi.Input[pulumi.InputType['ManagedByInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + size_gi_b: Optional[pulumi.Input[float]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + volume_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VolumeArgs.__new__(VolumeArgs) + + __props__.__dict__["creation_data"] = creation_data + if elastic_san_name is None and not opts.urn: + raise TypeError("Missing required property 'elastic_san_name'") + __props__.__dict__["elastic_san_name"] = elastic_san_name + __props__.__dict__["managed_by"] = managed_by + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if size_gi_b is None and not opts.urn: + raise TypeError("Missing required property 'size_gi_b'") + __props__.__dict__["size_gi_b"] = size_gi_b + if volume_group_name is None and not opts.urn: + raise TypeError("Missing required property 'volume_group_name'") + __props__.__dict__["volume_group_name"] = volume_group_name + __props__.__dict__["volume_name"] = volume_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["storage_target"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_id"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:Volume")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Volume, __self__).__init__( + 'azure-native:elasticsan/v20230101:Volume', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Volume': + """ + Get an existing Volume 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VolumeArgs.__new__(VolumeArgs) + + __props__.__dict__["creation_data"] = None + __props__.__dict__["managed_by"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["size_gi_b"] = None + __props__.__dict__["storage_target"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_id"] = None + return Volume(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Output[Optional['outputs.SourceCreationDataResponse']]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter(name="managedBy") + def managed_by(self) -> pulumi.Output[Optional['outputs.ManagedByInfoResponse']]: + """ + Parent resource information. + """ + return pulumi.get(self, "managed_by") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sizeGiB") + def size_gi_b(self) -> pulumi.Output[float]: + """ + Volume size. + """ + return pulumi.get(self, "size_gi_b") + + @property + @pulumi.getter(name="storageTarget") + def storage_target(self) -> pulumi.Output['outputs.IscsiTargetInfoResponse']: + """ + Storage target information + """ + return pulumi.get(self, "storage_target") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeId") + def volume_id(self) -> pulumi.Output[str]: + """ + Unique Id of the volume in GUID format + """ + return pulumi.get(self, "volume_id") + diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume_group.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume_group.py new file mode 100644 index 000000000000..82717aba60a4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume_group.py @@ -0,0 +1,352 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VolumeGroupArgs', 'VolumeGroup'] + +@pulumi.input_type +class VolumeGroupArgs: + def __init__(__self__, *, + elastic_san_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + encryption: Optional[pulumi.Input[Union[str, 'EncryptionType']]] = None, + encryption_properties: Optional[pulumi.Input['EncryptionPropertiesArgs']] = None, + identity: Optional[pulumi.Input['IdentityArgs']] = None, + network_acls: Optional[pulumi.Input['NetworkRuleSetArgs']] = None, + protocol_type: Optional[pulumi.Input[Union[str, 'StorageTargetType']]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VolumeGroup resource. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'EncryptionType']] encryption: Type of encryption + :param pulumi.Input['EncryptionPropertiesArgs'] encryption_properties: Encryption Properties describing Key Vault and Identity information + :param pulumi.Input['IdentityArgs'] identity: The identity of the resource. + :param pulumi.Input['NetworkRuleSetArgs'] network_acls: A collection of rules governing the accessibility from specific network locations. + :param pulumi.Input[Union[str, 'StorageTargetType']] protocol_type: Type of storage target + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + """ + pulumi.set(__self__, "elastic_san_name", elastic_san_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if encryption is not None: + pulumi.set(__self__, "encryption", encryption) + if encryption_properties is not None: + pulumi.set(__self__, "encryption_properties", encryption_properties) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if network_acls is not None: + pulumi.set(__self__, "network_acls", network_acls) + if protocol_type is not None: + pulumi.set(__self__, "protocol_type", protocol_type) + if volume_group_name is not None: + pulumi.set(__self__, "volume_group_name", volume_group_name) + + @property + @pulumi.getter(name="elasticSanName") + def elastic_san_name(self) -> pulumi.Input[str]: + """ + The name of the ElasticSan. + """ + return pulumi.get(self, "elastic_san_name") + + @elastic_san_name.setter + def elastic_san_name(self, value: pulumi.Input[str]): + pulumi.set(self, "elastic_san_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 encryption(self) -> Optional[pulumi.Input[Union[str, 'EncryptionType']]]: + """ + Type of encryption + """ + return pulumi.get(self, "encryption") + + @encryption.setter + def encryption(self, value: Optional[pulumi.Input[Union[str, 'EncryptionType']]]): + pulumi.set(self, "encryption", value) + + @property + @pulumi.getter(name="encryptionProperties") + def encryption_properties(self) -> Optional[pulumi.Input['EncryptionPropertiesArgs']]: + """ + Encryption Properties describing Key Vault and Identity information + """ + return pulumi.get(self, "encryption_properties") + + @encryption_properties.setter + def encryption_properties(self, value: Optional[pulumi.Input['EncryptionPropertiesArgs']]): + pulumi.set(self, "encryption_properties", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['IdentityArgs']]: + """ + The identity of the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['IdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="networkAcls") + def network_acls(self) -> Optional[pulumi.Input['NetworkRuleSetArgs']]: + """ + A collection of rules governing the accessibility from specific network locations. + """ + return pulumi.get(self, "network_acls") + + @network_acls.setter + def network_acls(self, value: Optional[pulumi.Input['NetworkRuleSetArgs']]): + pulumi.set(self, "network_acls", value) + + @property + @pulumi.getter(name="protocolType") + def protocol_type(self) -> Optional[pulumi.Input[Union[str, 'StorageTargetType']]]: + """ + Type of storage target + """ + return pulumi.get(self, "protocol_type") + + @protocol_type.setter + def protocol_type(self, value: Optional[pulumi.Input[Union[str, 'StorageTargetType']]]): + pulumi.set(self, "protocol_type", value) + + @property + @pulumi.getter(name="volumeGroupName") + def volume_group_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the VolumeGroup. + """ + return pulumi.get(self, "volume_group_name") + + @volume_group_name.setter + def volume_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "volume_group_name", value) + + +class VolumeGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + encryption: Optional[pulumi.Input[Union[str, 'EncryptionType']]] = None, + encryption_properties: Optional[pulumi.Input[pulumi.InputType['EncryptionPropertiesArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + network_acls: Optional[pulumi.Input[pulumi.InputType['NetworkRuleSetArgs']]] = None, + protocol_type: Optional[pulumi.Input[Union[str, 'StorageTargetType']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Response for Volume Group request. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[Union[str, 'EncryptionType']] encryption: Type of encryption + :param pulumi.Input[pulumi.InputType['EncryptionPropertiesArgs']] encryption_properties: Encryption Properties describing Key Vault and Identity information + :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity of the resource. + :param pulumi.Input[pulumi.InputType['NetworkRuleSetArgs']] network_acls: A collection of rules governing the accessibility from specific network locations. + :param pulumi.Input[Union[str, 'StorageTargetType']] protocol_type: Type of storage target + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VolumeGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Response for Volume Group request. + + :param str resource_name: The name of the resource. + :param VolumeGroupArgs 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(VolumeGroupArgs, 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, + elastic_san_name: Optional[pulumi.Input[str]] = None, + encryption: Optional[pulumi.Input[Union[str, 'EncryptionType']]] = None, + encryption_properties: Optional[pulumi.Input[pulumi.InputType['EncryptionPropertiesArgs']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + network_acls: Optional[pulumi.Input[pulumi.InputType['NetworkRuleSetArgs']]] = None, + protocol_type: Optional[pulumi.Input[Union[str, 'StorageTargetType']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VolumeGroupArgs.__new__(VolumeGroupArgs) + + if elastic_san_name is None and not opts.urn: + raise TypeError("Missing required property 'elastic_san_name'") + __props__.__dict__["elastic_san_name"] = elastic_san_name + __props__.__dict__["encryption"] = encryption + __props__.__dict__["encryption_properties"] = encryption_properties + __props__.__dict__["identity"] = identity + __props__.__dict__["network_acls"] = network_acls + __props__.__dict__["protocol_type"] = protocol_type + 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__["volume_group_name"] = volume_group_name + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:VolumeGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VolumeGroup, __self__).__init__( + 'azure-native:elasticsan/v20230101:VolumeGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VolumeGroup': + """ + Get an existing VolumeGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VolumeGroupArgs.__new__(VolumeGroupArgs) + + __props__.__dict__["encryption"] = None + __props__.__dict__["encryption_properties"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_acls"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["protocol_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return VolumeGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def encryption(self) -> pulumi.Output[Optional[str]]: + """ + Type of encryption + """ + return pulumi.get(self, "encryption") + + @property + @pulumi.getter(name="encryptionProperties") + def encryption_properties(self) -> pulumi.Output[Optional['outputs.EncryptionPropertiesResponse']]: + """ + Encryption Properties describing Key Vault and Identity information + """ + return pulumi.get(self, "encryption_properties") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkAcls") + def network_acls(self) -> pulumi.Output[Optional['outputs.NetworkRuleSetResponse']]: + """ + A collection of rules governing the accessibility from specific network locations. + """ + return pulumi.get(self, "network_acls") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + The list of Private Endpoint Connections. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="protocolType") + def protocol_type(self) -> pulumi.Output[Optional[str]]: + """ + Type of storage target + """ + return pulumi.get(self, "protocol_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume_snapshot.py b/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume_snapshot.py new file mode 100644 index 000000000000..baf214cd95dd --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/v20230101/volume_snapshot.py @@ -0,0 +1,267 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['VolumeSnapshotArgs', 'VolumeSnapshot'] + +@pulumi.input_type +class VolumeSnapshotArgs: + def __init__(__self__, *, + creation_data: pulumi.Input['SnapshotCreationDataArgs'], + elastic_san_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + volume_group_name: pulumi.Input[str], + snapshot_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VolumeSnapshot resource. + :param pulumi.Input['SnapshotCreationDataArgs'] creation_data: Data used when creating a volume snapshot. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + :param pulumi.Input[str] snapshot_name: The name of the volume snapshot within the given volume group. + """ + pulumi.set(__self__, "creation_data", creation_data) + pulumi.set(__self__, "elastic_san_name", elastic_san_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "volume_group_name", volume_group_name) + if snapshot_name is not None: + pulumi.set(__self__, "snapshot_name", snapshot_name) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Input['SnapshotCreationDataArgs']: + """ + Data used when creating a volume snapshot. + """ + return pulumi.get(self, "creation_data") + + @creation_data.setter + def creation_data(self, value: pulumi.Input['SnapshotCreationDataArgs']): + pulumi.set(self, "creation_data", value) + + @property + @pulumi.getter(name="elasticSanName") + def elastic_san_name(self) -> pulumi.Input[str]: + """ + The name of the ElasticSan. + """ + return pulumi.get(self, "elastic_san_name") + + @elastic_san_name.setter + def elastic_san_name(self, value: pulumi.Input[str]): + pulumi.set(self, "elastic_san_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="volumeGroupName") + def volume_group_name(self) -> pulumi.Input[str]: + """ + The name of the VolumeGroup. + """ + return pulumi.get(self, "volume_group_name") + + @volume_group_name.setter + def volume_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "volume_group_name", value) + + @property + @pulumi.getter(name="snapshotName") + def snapshot_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the volume snapshot within the given volume group. + """ + return pulumi.get(self, "snapshot_name") + + @snapshot_name.setter + def snapshot_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snapshot_name", value) + + +class VolumeSnapshot(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + creation_data: Optional[pulumi.Input[pulumi.InputType['SnapshotCreationDataArgs']]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + snapshot_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Response for Volume Snapshot request. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SnapshotCreationDataArgs']] creation_data: Data used when creating a volume snapshot. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] snapshot_name: The name of the volume snapshot within the given volume group. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VolumeSnapshotArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Response for Volume Snapshot request. + + :param str resource_name: The name of the resource. + :param VolumeSnapshotArgs 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(VolumeSnapshotArgs, 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, + creation_data: Optional[pulumi.Input[pulumi.InputType['SnapshotCreationDataArgs']]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + snapshot_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VolumeSnapshotArgs.__new__(VolumeSnapshotArgs) + + if creation_data is None and not opts.urn: + raise TypeError("Missing required property 'creation_data'") + __props__.__dict__["creation_data"] = creation_data + if elastic_san_name is None and not opts.urn: + raise TypeError("Missing required property 'elastic_san_name'") + __props__.__dict__["elastic_san_name"] = elastic_san_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["snapshot_name"] = snapshot_name + if volume_group_name is None and not opts.urn: + raise TypeError("Missing required property 'volume_group_name'") + __props__.__dict__["volume_group_name"] = volume_group_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["source_volume_size_gi_b"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_name"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan:VolumeSnapshot")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VolumeSnapshot, __self__).__init__( + 'azure-native:elasticsan/v20230101:VolumeSnapshot', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VolumeSnapshot': + """ + Get an existing VolumeSnapshot 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VolumeSnapshotArgs.__new__(VolumeSnapshotArgs) + + __props__.__dict__["creation_data"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["source_volume_size_gi_b"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_name"] = None + return VolumeSnapshot(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Output['outputs.SnapshotCreationDataResponse']: + """ + Data used when creating a volume snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceVolumeSizeGiB") + def source_volume_size_gi_b(self) -> pulumi.Output[float]: + """ + Size of Source Volume + """ + return pulumi.get(self, "source_volume_size_gi_b") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeName") + def volume_name(self) -> pulumi.Output[str]: + """ + Source Volume Name of a snapshot + """ + return pulumi.get(self, "volume_name") + diff --git a/sdk/python/pulumi_azure_native/elasticsan/volume.py b/sdk/python/pulumi_azure_native/elasticsan/volume.py index 10fadbb2655a..99efb03a8d51 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/volume.py +++ b/sdk/python/pulumi_azure_native/elasticsan/volume.py @@ -217,7 +217,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["volume_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:Volume")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:Volume"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:Volume")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Volume, __self__).__init__( 'azure-native:elasticsan:Volume', diff --git a/sdk/python/pulumi_azure_native/elasticsan/volume_group.py b/sdk/python/pulumi_azure_native/elasticsan/volume_group.py index 5ad56ba7328d..3f6a95006614 100644 --- a/sdk/python/pulumi_azure_native/elasticsan/volume_group.py +++ b/sdk/python/pulumi_azure_native/elasticsan/volume_group.py @@ -215,7 +215,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:VolumeGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20211120preview:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20221201preview:VolumeGroup"), pulumi.Alias(type_="azure-native:elasticsan/v20230101:VolumeGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VolumeGroup, __self__).__init__( 'azure-native:elasticsan:VolumeGroup', diff --git a/sdk/python/pulumi_azure_native/elasticsan/volume_snapshot.py b/sdk/python/pulumi_azure_native/elasticsan/volume_snapshot.py new file mode 100644 index 000000000000..4321a9009264 --- /dev/null +++ b/sdk/python/pulumi_azure_native/elasticsan/volume_snapshot.py @@ -0,0 +1,269 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['VolumeSnapshotArgs', 'VolumeSnapshot'] + +@pulumi.input_type +class VolumeSnapshotArgs: + def __init__(__self__, *, + creation_data: pulumi.Input['SnapshotCreationDataArgs'], + elastic_san_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + volume_group_name: pulumi.Input[str], + snapshot_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VolumeSnapshot resource. + :param pulumi.Input['SnapshotCreationDataArgs'] creation_data: Data used when creating a volume snapshot. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + :param pulumi.Input[str] snapshot_name: The name of the volume snapshot within the given volume group. + """ + pulumi.set(__self__, "creation_data", creation_data) + pulumi.set(__self__, "elastic_san_name", elastic_san_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "volume_group_name", volume_group_name) + if snapshot_name is not None: + pulumi.set(__self__, "snapshot_name", snapshot_name) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Input['SnapshotCreationDataArgs']: + """ + Data used when creating a volume snapshot. + """ + return pulumi.get(self, "creation_data") + + @creation_data.setter + def creation_data(self, value: pulumi.Input['SnapshotCreationDataArgs']): + pulumi.set(self, "creation_data", value) + + @property + @pulumi.getter(name="elasticSanName") + def elastic_san_name(self) -> pulumi.Input[str]: + """ + The name of the ElasticSan. + """ + return pulumi.get(self, "elastic_san_name") + + @elastic_san_name.setter + def elastic_san_name(self, value: pulumi.Input[str]): + pulumi.set(self, "elastic_san_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="volumeGroupName") + def volume_group_name(self) -> pulumi.Input[str]: + """ + The name of the VolumeGroup. + """ + return pulumi.get(self, "volume_group_name") + + @volume_group_name.setter + def volume_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "volume_group_name", value) + + @property + @pulumi.getter(name="snapshotName") + def snapshot_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the volume snapshot within the given volume group. + """ + return pulumi.get(self, "snapshot_name") + + @snapshot_name.setter + def snapshot_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snapshot_name", value) + + +class VolumeSnapshot(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + creation_data: Optional[pulumi.Input[pulumi.InputType['SnapshotCreationDataArgs']]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + snapshot_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Response for Volume Snapshot request. + Azure REST API version: 2023-01-01. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['SnapshotCreationDataArgs']] creation_data: Data used when creating a volume snapshot. + :param pulumi.Input[str] elastic_san_name: The name of the ElasticSan. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] snapshot_name: The name of the volume snapshot within the given volume group. + :param pulumi.Input[str] volume_group_name: The name of the VolumeGroup. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VolumeSnapshotArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Response for Volume Snapshot request. + Azure REST API version: 2023-01-01. + + :param str resource_name: The name of the resource. + :param VolumeSnapshotArgs 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(VolumeSnapshotArgs, 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, + creation_data: Optional[pulumi.Input[pulumi.InputType['SnapshotCreationDataArgs']]] = None, + elastic_san_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + snapshot_name: Optional[pulumi.Input[str]] = None, + volume_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VolumeSnapshotArgs.__new__(VolumeSnapshotArgs) + + if creation_data is None and not opts.urn: + raise TypeError("Missing required property 'creation_data'") + __props__.__dict__["creation_data"] = creation_data + if elastic_san_name is None and not opts.urn: + raise TypeError("Missing required property 'elastic_san_name'") + __props__.__dict__["elastic_san_name"] = elastic_san_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["snapshot_name"] = snapshot_name + if volume_group_name is None and not opts.urn: + raise TypeError("Missing required property 'volume_group_name'") + __props__.__dict__["volume_group_name"] = volume_group_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["source_volume_size_gi_b"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_name"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:elasticsan/v20230101:VolumeSnapshot")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VolumeSnapshot, __self__).__init__( + 'azure-native:elasticsan:VolumeSnapshot', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VolumeSnapshot': + """ + Get an existing VolumeSnapshot 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VolumeSnapshotArgs.__new__(VolumeSnapshotArgs) + + __props__.__dict__["creation_data"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["source_volume_size_gi_b"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["volume_name"] = None + return VolumeSnapshot(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="creationData") + def creation_data(self) -> pulumi.Output['outputs.SnapshotCreationDataResponse']: + """ + Data used when creating a volume snapshot. + """ + return pulumi.get(self, "creation_data") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + State of the operation on the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceVolumeSizeGiB") + def source_volume_size_gi_b(self) -> pulumi.Output[float]: + """ + Size of Source Volume + """ + return pulumi.get(self, "source_volume_size_gi_b") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="volumeName") + def volume_name(self) -> pulumi.Output[str]: + """ + Source Volume Name of a snapshot + """ + return pulumi.get(self, "volume_name") + diff --git a/sdk/python/pulumi_azure_native/iotsecurity/__init__.py b/sdk/python/pulumi_azure_native/iotsecurity/__init__.py deleted file mode 100644 index 739c060ecd6f..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/__init__.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from .. import _utilities -import typing -# Export this package's modules as members: -from ._enums import * -from .defender_setting import * -from .device_group import * -from .get_defender_setting import * -from .get_device_group import * -from .get_on_premise_sensor import * -from .get_sensor import * -from .get_site import * -from .on_premise_sensor import * -from .sensor import * -from .site import * -from ._inputs import * -from . import outputs - -# Make subpackages available: -if typing.TYPE_CHECKING: - import pulumi_azure_native.iotsecurity.v20210201preview as __v20210201preview - v20210201preview = __v20210201preview -else: - v20210201preview = _utilities.lazy_import('pulumi_azure_native.iotsecurity.v20210201preview') - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/_enums.py b/sdk/python/pulumi_azure_native/iotsecurity/_enums.py deleted file mode 100644 index 2e9f3877bb22..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/_enums.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from enum import Enum - -__all__ = [ - 'MdeIntegration', - 'OnboardingKind', - 'SensorType', -] - - -class MdeIntegration(str, Enum): - """ - Integration status - """ - DISABLED = "Disabled" - ENABLED = "Enabled" - - -class OnboardingKind(str, Enum): - """ - The kind of onboarding for the subscription - """ - DEFAULT = "Default" - MIGRATED_TO_AZURE = "MigratedToAzure" - EVALUATION = "Evaluation" - PURCHASED = "Purchased" - - -class SensorType(str, Enum): - """ - Type of sensor - """ - OT = "Ot" - ENTERPRISE = "Enterprise" diff --git a/sdk/python/pulumi_azure_native/iotsecurity/_inputs.py b/sdk/python/pulumi_azure_native/iotsecurity/_inputs.py deleted file mode 100644 index 18a7e779b669..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/_inputs.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from ._enums import * - -__all__ = [ - 'DefenderSettingsPropertiesMdeIntegrationArgs', -] - -@pulumi.input_type -class DefenderSettingsPropertiesMdeIntegrationArgs: - def __init__(__self__, *, - status: pulumi.Input[Union[str, 'MdeIntegration']]): - """ - MDE integration configuration - :param pulumi.Input[Union[str, 'MdeIntegration']] status: Integration status - """ - pulumi.set(__self__, "status", status) - - @property - @pulumi.getter - def status(self) -> pulumi.Input[Union[str, 'MdeIntegration']]: - """ - Integration status - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: pulumi.Input[Union[str, 'MdeIntegration']]): - pulumi.set(self, "status", value) - - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/defender_setting.py b/sdk/python/pulumi_azure_native/iotsecurity/defender_setting.py deleted file mode 100644 index 803c68487444..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/defender_setting.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['DefenderSettingArgs', 'DefenderSetting'] - -@pulumi.input_type -class DefenderSettingArgs: - def __init__(__self__, *, - device_quota: pulumi.Input[int], - mde_integration: pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs'], - onboarding_kind: pulumi.Input[Union[str, 'OnboardingKind']], - sentinel_workspace_resource_ids: pulumi.Input[Sequence[pulumi.Input[str]]]): - """ - The set of arguments for constructing a DefenderSetting resource. - :param pulumi.Input[int] device_quota: Size of the device quota. Value is required to be in multiples of 100. - :param pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs'] mde_integration: MDE integration configuration - :param pulumi.Input[Union[str, 'OnboardingKind']] onboarding_kind: The kind of onboarding for the subscription - :param pulumi.Input[Sequence[pulumi.Input[str]]] sentinel_workspace_resource_ids: Sentinel Workspace Resource Ids - """ - pulumi.set(__self__, "device_quota", device_quota) - pulumi.set(__self__, "mde_integration", mde_integration) - pulumi.set(__self__, "onboarding_kind", onboarding_kind) - pulumi.set(__self__, "sentinel_workspace_resource_ids", sentinel_workspace_resource_ids) - - @property - @pulumi.getter(name="deviceQuota") - def device_quota(self) -> pulumi.Input[int]: - """ - Size of the device quota. Value is required to be in multiples of 100. - """ - return pulumi.get(self, "device_quota") - - @device_quota.setter - def device_quota(self, value: pulumi.Input[int]): - pulumi.set(self, "device_quota", value) - - @property - @pulumi.getter(name="mdeIntegration") - def mde_integration(self) -> pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs']: - """ - MDE integration configuration - """ - return pulumi.get(self, "mde_integration") - - @mde_integration.setter - def mde_integration(self, value: pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs']): - pulumi.set(self, "mde_integration", value) - - @property - @pulumi.getter(name="onboardingKind") - def onboarding_kind(self) -> pulumi.Input[Union[str, 'OnboardingKind']]: - """ - The kind of onboarding for the subscription - """ - return pulumi.get(self, "onboarding_kind") - - @onboarding_kind.setter - def onboarding_kind(self, value: pulumi.Input[Union[str, 'OnboardingKind']]): - pulumi.set(self, "onboarding_kind", value) - - @property - @pulumi.getter(name="sentinelWorkspaceResourceIds") - def sentinel_workspace_resource_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - Sentinel Workspace Resource Ids - """ - return pulumi.get(self, "sentinel_workspace_resource_ids") - - @sentinel_workspace_resource_ids.setter - def sentinel_workspace_resource_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "sentinel_workspace_resource_ids", value) - - -class DefenderSetting(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - device_quota: Optional[pulumi.Input[int]] = None, - mde_integration: Optional[pulumi.Input[pulumi.InputType['DefenderSettingsPropertiesMdeIntegrationArgs']]] = None, - onboarding_kind: Optional[pulumi.Input[Union[str, 'OnboardingKind']]] = None, - sentinel_workspace_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - __props__=None): - """ - IoT Defender settings - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] device_quota: Size of the device quota. Value is required to be in multiples of 100. - :param pulumi.Input[pulumi.InputType['DefenderSettingsPropertiesMdeIntegrationArgs']] mde_integration: MDE integration configuration - :param pulumi.Input[Union[str, 'OnboardingKind']] onboarding_kind: The kind of onboarding for the subscription - :param pulumi.Input[Sequence[pulumi.Input[str]]] sentinel_workspace_resource_ids: Sentinel Workspace Resource Ids - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: DefenderSettingArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - IoT Defender settings - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param DefenderSettingArgs 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(DefenderSettingArgs, 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, - device_quota: Optional[pulumi.Input[int]] = None, - mde_integration: Optional[pulumi.Input[pulumi.InputType['DefenderSettingsPropertiesMdeIntegrationArgs']]] = None, - onboarding_kind: Optional[pulumi.Input[Union[str, 'OnboardingKind']]] = None, - sentinel_workspace_resource_ids: Optional[pulumi.Input[Sequence[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__ = DefenderSettingArgs.__new__(DefenderSettingArgs) - - if device_quota is None and not opts.urn: - raise TypeError("Missing required property 'device_quota'") - __props__.__dict__["device_quota"] = device_quota - if mde_integration is None and not opts.urn: - raise TypeError("Missing required property 'mde_integration'") - __props__.__dict__["mde_integration"] = mde_integration - if onboarding_kind is None and not opts.urn: - raise TypeError("Missing required property 'onboarding_kind'") - __props__.__dict__["onboarding_kind"] = onboarding_kind - if sentinel_workspace_resource_ids is None and not opts.urn: - raise TypeError("Missing required property 'sentinel_workspace_resource_ids'") - __props__.__dict__["sentinel_workspace_resource_ids"] = sentinel_workspace_resource_ids - __props__.__dict__["evaluation_end_time"] = None - __props__.__dict__["name"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity/v20210201preview:DefenderSetting")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(DefenderSetting, __self__).__init__( - 'azure-native:iotsecurity:DefenderSetting', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'DefenderSetting': - """ - Get an existing DefenderSetting 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = DefenderSettingArgs.__new__(DefenderSettingArgs) - - __props__.__dict__["device_quota"] = None - __props__.__dict__["evaluation_end_time"] = None - __props__.__dict__["mde_integration"] = None - __props__.__dict__["name"] = None - __props__.__dict__["onboarding_kind"] = None - __props__.__dict__["sentinel_workspace_resource_ids"] = None - __props__.__dict__["type"] = None - return DefenderSetting(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="deviceQuota") - def device_quota(self) -> pulumi.Output[int]: - """ - Size of the device quota. Value is required to be in multiples of 100. - """ - return pulumi.get(self, "device_quota") - - @property - @pulumi.getter(name="evaluationEndTime") - def evaluation_end_time(self) -> pulumi.Output[str]: - """ - End time of the evaluation period, if such exist - """ - return pulumi.get(self, "evaluation_end_time") - - @property - @pulumi.getter(name="mdeIntegration") - def mde_integration(self) -> pulumi.Output['outputs.DefenderSettingsPropertiesResponseMdeIntegration']: - """ - MDE integration configuration - """ - return pulumi.get(self, "mde_integration") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="onboardingKind") - def onboarding_kind(self) -> pulumi.Output[str]: - """ - The kind of onboarding for the subscription - """ - return pulumi.get(self, "onboarding_kind") - - @property - @pulumi.getter(name="sentinelWorkspaceResourceIds") - def sentinel_workspace_resource_ids(self) -> pulumi.Output[Sequence[str]]: - """ - Sentinel Workspace Resource Ids - """ - return pulumi.get(self, "sentinel_workspace_resource_ids") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/device_group.py b/sdk/python/pulumi_azure_native/iotsecurity/device_group.py deleted file mode 100644 index 783decae76ce..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/device_group.py +++ /dev/null @@ -1,166 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = ['DeviceGroupArgs', 'DeviceGroup'] - -@pulumi.input_type -class DeviceGroupArgs: - def __init__(__self__, *, - iot_defender_location: pulumi.Input[str], - device_group_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a DeviceGroup resource. - :param pulumi.Input[str] iot_defender_location: Defender for IoT location - :param pulumi.Input[str] device_group_name: Device group name - """ - pulumi.set(__self__, "iot_defender_location", iot_defender_location) - if device_group_name is not None: - pulumi.set(__self__, "device_group_name", device_group_name) - - @property - @pulumi.getter(name="iotDefenderLocation") - def iot_defender_location(self) -> pulumi.Input[str]: - """ - Defender for IoT location - """ - return pulumi.get(self, "iot_defender_location") - - @iot_defender_location.setter - def iot_defender_location(self, value: pulumi.Input[str]): - pulumi.set(self, "iot_defender_location", value) - - @property - @pulumi.getter(name="deviceGroupName") - def device_group_name(self) -> Optional[pulumi.Input[str]]: - """ - Device group name - """ - return pulumi.get(self, "device_group_name") - - @device_group_name.setter - def device_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_group_name", value) - - -class DeviceGroup(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - device_group_name: Optional[pulumi.Input[str]] = None, - iot_defender_location: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Device group - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] device_group_name: Device group name - :param pulumi.Input[str] iot_defender_location: Defender for IoT location - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: DeviceGroupArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Device group - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param DeviceGroupArgs 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(DeviceGroupArgs, 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, - device_group_name: Optional[pulumi.Input[str]] = None, - iot_defender_location: 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__ = DeviceGroupArgs.__new__(DeviceGroupArgs) - - __props__.__dict__["device_group_name"] = device_group_name - if iot_defender_location is None and not opts.urn: - raise TypeError("Missing required property 'iot_defender_location'") - __props__.__dict__["iot_defender_location"] = iot_defender_location - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity/v20210201preview:DeviceGroup")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(DeviceGroup, __self__).__init__( - 'azure-native:iotsecurity:DeviceGroup', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'DeviceGroup': - """ - Get an existing DeviceGroup 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = DeviceGroupArgs.__new__(DeviceGroupArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return DeviceGroup(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/get_defender_setting.py b/sdk/python/pulumi_azure_native/iotsecurity/get_defender_setting.py deleted file mode 100644 index 958aacc8805f..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/get_defender_setting.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetDefenderSettingResult', - 'AwaitableGetDefenderSettingResult', - 'get_defender_setting', -] - -@pulumi.output_type -class GetDefenderSettingResult: - """ - IoT Defender settings - """ - def __init__(__self__, device_quota=None, evaluation_end_time=None, id=None, mde_integration=None, name=None, onboarding_kind=None, sentinel_workspace_resource_ids=None, type=None): - if device_quota and not isinstance(device_quota, int): - raise TypeError("Expected argument 'device_quota' to be a int") - pulumi.set(__self__, "device_quota", device_quota) - if evaluation_end_time and not isinstance(evaluation_end_time, str): - raise TypeError("Expected argument 'evaluation_end_time' to be a str") - pulumi.set(__self__, "evaluation_end_time", evaluation_end_time) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if mde_integration and not isinstance(mde_integration, dict): - raise TypeError("Expected argument 'mde_integration' to be a dict") - pulumi.set(__self__, "mde_integration", mde_integration) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if onboarding_kind and not isinstance(onboarding_kind, str): - raise TypeError("Expected argument 'onboarding_kind' to be a str") - pulumi.set(__self__, "onboarding_kind", onboarding_kind) - if sentinel_workspace_resource_ids and not isinstance(sentinel_workspace_resource_ids, list): - raise TypeError("Expected argument 'sentinel_workspace_resource_ids' to be a list") - pulumi.set(__self__, "sentinel_workspace_resource_ids", sentinel_workspace_resource_ids) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="deviceQuota") - def device_quota(self) -> int: - """ - Size of the device quota. Value is required to be in multiples of 100. - """ - return pulumi.get(self, "device_quota") - - @property - @pulumi.getter(name="evaluationEndTime") - def evaluation_end_time(self) -> str: - """ - End time of the evaluation period, if such exist - """ - return pulumi.get(self, "evaluation_end_time") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="mdeIntegration") - def mde_integration(self) -> 'outputs.DefenderSettingsPropertiesResponseMdeIntegration': - """ - MDE integration configuration - """ - return pulumi.get(self, "mde_integration") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="onboardingKind") - def onboarding_kind(self) -> str: - """ - The kind of onboarding for the subscription - """ - return pulumi.get(self, "onboarding_kind") - - @property - @pulumi.getter(name="sentinelWorkspaceResourceIds") - def sentinel_workspace_resource_ids(self) -> Sequence[str]: - """ - Sentinel Workspace Resource Ids - """ - return pulumi.get(self, "sentinel_workspace_resource_ids") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetDefenderSettingResult(GetDefenderSettingResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDefenderSettingResult( - device_quota=self.device_quota, - evaluation_end_time=self.evaluation_end_time, - id=self.id, - mde_integration=self.mde_integration, - name=self.name, - onboarding_kind=self.onboarding_kind, - sentinel_workspace_resource_ids=self.sentinel_workspace_resource_ids, - type=self.type) - - -def get_defender_setting(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDefenderSettingResult: - """ - Get IoT Defender Settings - Azure REST API version: 2021-02-01-preview. - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity:getDefenderSetting', __args__, opts=opts, typ=GetDefenderSettingResult).value - - return AwaitableGetDefenderSettingResult( - device_quota=pulumi.get(__ret__, 'device_quota'), - evaluation_end_time=pulumi.get(__ret__, 'evaluation_end_time'), - id=pulumi.get(__ret__, 'id'), - mde_integration=pulumi.get(__ret__, 'mde_integration'), - name=pulumi.get(__ret__, 'name'), - onboarding_kind=pulumi.get(__ret__, 'onboarding_kind'), - sentinel_workspace_resource_ids=pulumi.get(__ret__, 'sentinel_workspace_resource_ids'), - type=pulumi.get(__ret__, 'type')) diff --git a/sdk/python/pulumi_azure_native/iotsecurity/get_device_group.py b/sdk/python/pulumi_azure_native/iotsecurity/get_device_group.py deleted file mode 100644 index b7e3640d33d7..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/get_device_group.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetDeviceGroupResult', - 'AwaitableGetDeviceGroupResult', - 'get_device_group', - 'get_device_group_output', -] - -@pulumi.output_type -class GetDeviceGroupResult: - """ - Device group - """ - def __init__(__self__, id=None, name=None, system_data=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetDeviceGroupResult(GetDeviceGroupResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDeviceGroupResult( - id=self.id, - name=self.name, - system_data=self.system_data, - type=self.type) - - -def get_device_group(device_group_name: Optional[str] = None, - iot_defender_location: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDeviceGroupResult: - """ - Get device group - Azure REST API version: 2021-02-01-preview. - - - :param str device_group_name: Device group name - :param str iot_defender_location: Defender for IoT location - """ - __args__ = dict() - __args__['deviceGroupName'] = device_group_name - __args__['iotDefenderLocation'] = iot_defender_location - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity:getDeviceGroup', __args__, opts=opts, typ=GetDeviceGroupResult).value - - return AwaitableGetDeviceGroupResult( - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - system_data=pulumi.get(__ret__, 'system_data'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_device_group) -def get_device_group_output(device_group_name: Optional[pulumi.Input[str]] = None, - iot_defender_location: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceGroupResult]: - """ - Get device group - Azure REST API version: 2021-02-01-preview. - - - :param str device_group_name: Device group name - :param str iot_defender_location: Defender for IoT location - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/get_on_premise_sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/get_on_premise_sensor.py deleted file mode 100644 index d40d0f572a26..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/get_on_premise_sensor.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetOnPremiseSensorResult', - 'AwaitableGetOnPremiseSensorResult', - 'get_on_premise_sensor', - 'get_on_premise_sensor_output', -] - -@pulumi.output_type -class GetOnPremiseSensorResult: - """ - On-premise IoT sensor - """ - def __init__(__self__, id=None, name=None, system_data=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetOnPremiseSensorResult(GetOnPremiseSensorResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetOnPremiseSensorResult( - id=self.id, - name=self.name, - system_data=self.system_data, - type=self.type) - - -def get_on_premise_sensor(on_premise_sensor_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOnPremiseSensorResult: - """ - Get on-premise IoT sensor - Azure REST API version: 2021-02-01-preview. - - - :param str on_premise_sensor_name: Name of the on-premise IoT sensor - """ - __args__ = dict() - __args__['onPremiseSensorName'] = on_premise_sensor_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity:getOnPremiseSensor', __args__, opts=opts, typ=GetOnPremiseSensorResult).value - - return AwaitableGetOnPremiseSensorResult( - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - system_data=pulumi.get(__ret__, 'system_data'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_on_premise_sensor) -def get_on_premise_sensor_output(on_premise_sensor_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOnPremiseSensorResult]: - """ - Get on-premise IoT sensor - Azure REST API version: 2021-02-01-preview. - - - :param str on_premise_sensor_name: Name of the on-premise IoT sensor - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/get_sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/get_sensor.py deleted file mode 100644 index c0da4c40344c..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/get_sensor.py +++ /dev/null @@ -1,250 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetSensorResult', - 'AwaitableGetSensorResult', - 'get_sensor', - 'get_sensor_output', -] - -@pulumi.output_type -class GetSensorResult: - """ - IoT sensor model - """ - def __init__(__self__, connectivity_time=None, dynamic_learning=None, id=None, learning_mode=None, name=None, sensor_status=None, sensor_type=None, sensor_version=None, system_data=None, ti_automatic_updates=None, ti_status=None, ti_version=None, type=None, zone=None): - if connectivity_time and not isinstance(connectivity_time, str): - raise TypeError("Expected argument 'connectivity_time' to be a str") - pulumi.set(__self__, "connectivity_time", connectivity_time) - if dynamic_learning and not isinstance(dynamic_learning, bool): - raise TypeError("Expected argument 'dynamic_learning' to be a bool") - pulumi.set(__self__, "dynamic_learning", dynamic_learning) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if learning_mode and not isinstance(learning_mode, bool): - raise TypeError("Expected argument 'learning_mode' to be a bool") - pulumi.set(__self__, "learning_mode", learning_mode) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if sensor_status and not isinstance(sensor_status, str): - raise TypeError("Expected argument 'sensor_status' to be a str") - pulumi.set(__self__, "sensor_status", sensor_status) - if sensor_type and not isinstance(sensor_type, str): - raise TypeError("Expected argument 'sensor_type' to be a str") - pulumi.set(__self__, "sensor_type", sensor_type) - if sensor_version and not isinstance(sensor_version, str): - raise TypeError("Expected argument 'sensor_version' to be a str") - pulumi.set(__self__, "sensor_version", sensor_version) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if ti_automatic_updates and not isinstance(ti_automatic_updates, bool): - raise TypeError("Expected argument 'ti_automatic_updates' to be a bool") - pulumi.set(__self__, "ti_automatic_updates", ti_automatic_updates) - if ti_status and not isinstance(ti_status, str): - raise TypeError("Expected argument 'ti_status' to be a str") - pulumi.set(__self__, "ti_status", ti_status) - if ti_version and not isinstance(ti_version, str): - raise TypeError("Expected argument 'ti_version' to be a str") - pulumi.set(__self__, "ti_version", ti_version) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - if zone and not isinstance(zone, str): - raise TypeError("Expected argument 'zone' to be a str") - pulumi.set(__self__, "zone", zone) - - @property - @pulumi.getter(name="connectivityTime") - def connectivity_time(self) -> str: - """ - Last connectivity time of the IoT sensor - """ - return pulumi.get(self, "connectivity_time") - - @property - @pulumi.getter(name="dynamicLearning") - def dynamic_learning(self) -> bool: - """ - Dynamic mode status of the IoT sensor - """ - return pulumi.get(self, "dynamic_learning") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="learningMode") - def learning_mode(self) -> bool: - """ - Learning mode status of the IoT sensor - """ - return pulumi.get(self, "learning_mode") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="sensorStatus") - def sensor_status(self) -> str: - """ - Status of the IoT sensor - """ - return pulumi.get(self, "sensor_status") - - @property - @pulumi.getter(name="sensorType") - def sensor_type(self) -> Optional[str]: - """ - Type of sensor - """ - return pulumi.get(self, "sensor_type") - - @property - @pulumi.getter(name="sensorVersion") - def sensor_version(self) -> str: - """ - Version of the IoT sensor - """ - return pulumi.get(self, "sensor_version") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter(name="tiAutomaticUpdates") - def ti_automatic_updates(self) -> Optional[bool]: - """ - TI Automatic mode status of the IoT sensor - """ - return pulumi.get(self, "ti_automatic_updates") - - @property - @pulumi.getter(name="tiStatus") - def ti_status(self) -> str: - """ - TI Status of the IoT sensor - """ - return pulumi.get(self, "ti_status") - - @property - @pulumi.getter(name="tiVersion") - def ti_version(self) -> str: - """ - TI Version of the IoT sensor - """ - return pulumi.get(self, "ti_version") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def zone(self) -> Optional[str]: - """ - Zone of the IoT sensor - """ - return pulumi.get(self, "zone") - - -class AwaitableGetSensorResult(GetSensorResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSensorResult( - connectivity_time=self.connectivity_time, - dynamic_learning=self.dynamic_learning, - id=self.id, - learning_mode=self.learning_mode, - name=self.name, - sensor_status=self.sensor_status, - sensor_type=self.sensor_type, - sensor_version=self.sensor_version, - system_data=self.system_data, - ti_automatic_updates=self.ti_automatic_updates, - ti_status=self.ti_status, - ti_version=self.ti_version, - type=self.type, - zone=self.zone) - - -def get_sensor(scope: Optional[str] = None, - sensor_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSensorResult: - """ - Get IoT sensor - Azure REST API version: 2021-02-01-preview. - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param str sensor_name: Name of the IoT sensor - """ - __args__ = dict() - __args__['scope'] = scope - __args__['sensorName'] = sensor_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity:getSensor', __args__, opts=opts, typ=GetSensorResult).value - - return AwaitableGetSensorResult( - connectivity_time=pulumi.get(__ret__, 'connectivity_time'), - dynamic_learning=pulumi.get(__ret__, 'dynamic_learning'), - id=pulumi.get(__ret__, 'id'), - learning_mode=pulumi.get(__ret__, 'learning_mode'), - name=pulumi.get(__ret__, 'name'), - sensor_status=pulumi.get(__ret__, 'sensor_status'), - sensor_type=pulumi.get(__ret__, 'sensor_type'), - sensor_version=pulumi.get(__ret__, 'sensor_version'), - system_data=pulumi.get(__ret__, 'system_data'), - ti_automatic_updates=pulumi.get(__ret__, 'ti_automatic_updates'), - ti_status=pulumi.get(__ret__, 'ti_status'), - ti_version=pulumi.get(__ret__, 'ti_version'), - type=pulumi.get(__ret__, 'type'), - zone=pulumi.get(__ret__, 'zone')) - - -@_utilities.lift_output_func(get_sensor) -def get_sensor_output(scope: Optional[pulumi.Input[str]] = None, - sensor_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSensorResult]: - """ - Get IoT sensor - Azure REST API version: 2021-02-01-preview. - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param str sensor_name: Name of the IoT sensor - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/get_site.py b/sdk/python/pulumi_azure_native/iotsecurity/get_site.py deleted file mode 100644 index bb1ec7bf8d44..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/get_site.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetSiteResult', - 'AwaitableGetSiteResult', - 'get_site', - 'get_site_output', -] - -@pulumi.output_type -class GetSiteResult: - """ - IoT site model - """ - def __init__(__self__, display_name=None, id=None, name=None, system_data=None, tags=None, type=None): - if display_name and not isinstance(display_name, str): - raise TypeError("Expected argument 'display_name' to be a str") - pulumi.set(__self__, "display_name", display_name) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - """ - Display name of the IoT site - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - Tags of the IoT site - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetSiteResult(GetSiteResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSiteResult( - display_name=self.display_name, - id=self.id, - name=self.name, - system_data=self.system_data, - tags=self.tags, - type=self.type) - - -def get_site(scope: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSiteResult: - """ - Get IoT site - Azure REST API version: 2021-02-01-preview. - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - __args__ = dict() - __args__['scope'] = scope - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity:getSite', __args__, opts=opts, typ=GetSiteResult).value - - return AwaitableGetSiteResult( - display_name=pulumi.get(__ret__, 'display_name'), - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - system_data=pulumi.get(__ret__, 'system_data'), - tags=pulumi.get(__ret__, 'tags'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_site) -def get_site_output(scope: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSiteResult]: - """ - Get IoT site - Azure REST API version: 2021-02-01-preview. - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/on_premise_sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/on_premise_sensor.py deleted file mode 100644 index bd7073fc2dc2..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/on_premise_sensor.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = ['OnPremiseSensorArgs', 'OnPremiseSensor'] - -@pulumi.input_type -class OnPremiseSensorArgs: - def __init__(__self__, *, - on_premise_sensor_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a OnPremiseSensor resource. - :param pulumi.Input[str] on_premise_sensor_name: Name of the on-premise IoT sensor - """ - if on_premise_sensor_name is not None: - pulumi.set(__self__, "on_premise_sensor_name", on_premise_sensor_name) - - @property - @pulumi.getter(name="onPremiseSensorName") - def on_premise_sensor_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the on-premise IoT sensor - """ - return pulumi.get(self, "on_premise_sensor_name") - - @on_premise_sensor_name.setter - def on_premise_sensor_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "on_premise_sensor_name", value) - - -class OnPremiseSensor(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - on_premise_sensor_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - On-premise IoT sensor - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] on_premise_sensor_name: Name of the on-premise IoT sensor - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[OnPremiseSensorArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - On-premise IoT sensor - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param OnPremiseSensorArgs 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(OnPremiseSensorArgs, 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, - on_premise_sensor_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = OnPremiseSensorArgs.__new__(OnPremiseSensorArgs) - - __props__.__dict__["on_premise_sensor_name"] = on_premise_sensor_name - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity/v20210201preview:OnPremiseSensor")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(OnPremiseSensor, __self__).__init__( - 'azure-native:iotsecurity:OnPremiseSensor', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'OnPremiseSensor': - """ - Get an existing OnPremiseSensor 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = OnPremiseSensorArgs.__new__(OnPremiseSensorArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return OnPremiseSensor(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/outputs.py b/sdk/python/pulumi_azure_native/iotsecurity/outputs.py deleted file mode 100644 index 80da479627b3..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/outputs.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from ._enums import * - -__all__ = [ - 'DefenderSettingsPropertiesResponseMdeIntegration', - 'SystemDataResponse', -] - -@pulumi.output_type -class DefenderSettingsPropertiesResponseMdeIntegration(dict): - """ - MDE integration configuration - """ - def __init__(__self__, *, - status: str): - """ - MDE integration configuration - :param str status: Integration status - """ - pulumi.set(__self__, "status", status) - - @property - @pulumi.getter - def status(self) -> str: - """ - Integration status - """ - return pulumi.get(self, "status") - - -@pulumi.output_type -class SystemDataResponse(dict): - """ - Metadata pertaining to creation and last modification of the resource. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "createdAt": - suggest = "created_at" - elif key == "createdBy": - suggest = "created_by" - elif key == "createdByType": - suggest = "created_by_type" - elif key == "lastModifiedAt": - suggest = "last_modified_at" - elif key == "lastModifiedBy": - suggest = "last_modified_by" - elif key == "lastModifiedByType": - suggest = "last_modified_by_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SystemDataResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SystemDataResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - created_at: Optional[str] = None, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None): - """ - Metadata pertaining to creation and last modification of the resource. - :param str created_at: The timestamp of resource creation (UTC). - :param str created_by: The identity that created the resource. - :param str created_by_type: The type of identity that created the resource. - :param str last_modified_at: The timestamp of resource last modification (UTC) - :param str last_modified_by: The identity that last modified the resource. - :param str last_modified_by_type: The type of identity that last modified the resource. - """ - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if created_by_type is not None: - pulumi.set(__self__, "created_by_type", created_by_type) - if last_modified_at is not None: - pulumi.set(__self__, "last_modified_at", last_modified_at) - if last_modified_by is not None: - pulumi.set(__self__, "last_modified_by", last_modified_by) - if last_modified_by_type is not None: - pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) - - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[str]: - """ - The timestamp of resource creation (UTC). - """ - return pulumi.get(self, "created_at") - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - The identity that created the resource. - """ - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByType") - def created_by_type(self) -> Optional[str]: - """ - The type of identity that created the resource. - """ - return pulumi.get(self, "created_by_type") - - @property - @pulumi.getter(name="lastModifiedAt") - def last_modified_at(self) -> Optional[str]: - """ - The timestamp of resource last modification (UTC) - """ - return pulumi.get(self, "last_modified_at") - - @property - @pulumi.getter(name="lastModifiedBy") - def last_modified_by(self) -> Optional[str]: - """ - The identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by") - - @property - @pulumi.getter(name="lastModifiedByType") - def last_modified_by_type(self) -> Optional[str]: - """ - The type of identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by_type") - - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/sensor.py deleted file mode 100644 index 2464b72dd20a..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/sensor.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._enums import * - -__all__ = ['SensorArgs', 'Sensor'] - -@pulumi.input_type -class SensorArgs: - def __init__(__self__, *, - scope: pulumi.Input[str], - sensor_name: Optional[pulumi.Input[str]] = None, - sensor_type: Optional[pulumi.Input[Union[str, 'SensorType']]] = None, - ti_automatic_updates: Optional[pulumi.Input[bool]] = None, - zone: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Sensor resource. - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[str] sensor_name: Name of the IoT sensor - :param pulumi.Input[Union[str, 'SensorType']] sensor_type: Type of sensor - :param pulumi.Input[bool] ti_automatic_updates: TI Automatic mode status of the IoT sensor - :param pulumi.Input[str] zone: Zone of the IoT sensor - """ - pulumi.set(__self__, "scope", scope) - if sensor_name is not None: - pulumi.set(__self__, "sensor_name", sensor_name) - if sensor_type is not None: - pulumi.set(__self__, "sensor_type", sensor_type) - if ti_automatic_updates is not None: - pulumi.set(__self__, "ti_automatic_updates", ti_automatic_updates) - if zone is not None: - pulumi.set(__self__, "zone", zone) - - @property - @pulumi.getter - def scope(self) -> pulumi.Input[str]: - """ - Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - return pulumi.get(self, "scope") - - @scope.setter - def scope(self, value: pulumi.Input[str]): - pulumi.set(self, "scope", value) - - @property - @pulumi.getter(name="sensorName") - def sensor_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the IoT sensor - """ - return pulumi.get(self, "sensor_name") - - @sensor_name.setter - def sensor_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "sensor_name", value) - - @property - @pulumi.getter(name="sensorType") - def sensor_type(self) -> Optional[pulumi.Input[Union[str, 'SensorType']]]: - """ - Type of sensor - """ - return pulumi.get(self, "sensor_type") - - @sensor_type.setter - def sensor_type(self, value: Optional[pulumi.Input[Union[str, 'SensorType']]]): - pulumi.set(self, "sensor_type", value) - - @property - @pulumi.getter(name="tiAutomaticUpdates") - def ti_automatic_updates(self) -> Optional[pulumi.Input[bool]]: - """ - TI Automatic mode status of the IoT sensor - """ - return pulumi.get(self, "ti_automatic_updates") - - @ti_automatic_updates.setter - def ti_automatic_updates(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "ti_automatic_updates", value) - - @property - @pulumi.getter - def zone(self) -> Optional[pulumi.Input[str]]: - """ - Zone of the IoT sensor - """ - return pulumi.get(self, "zone") - - @zone.setter - def zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone", value) - - -class Sensor(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - scope: Optional[pulumi.Input[str]] = None, - sensor_name: Optional[pulumi.Input[str]] = None, - sensor_type: Optional[pulumi.Input[Union[str, 'SensorType']]] = None, - ti_automatic_updates: Optional[pulumi.Input[bool]] = None, - zone: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - IoT sensor model - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[str] sensor_name: Name of the IoT sensor - :param pulumi.Input[Union[str, 'SensorType']] sensor_type: Type of sensor - :param pulumi.Input[bool] ti_automatic_updates: TI Automatic mode status of the IoT sensor - :param pulumi.Input[str] zone: Zone of the IoT sensor - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SensorArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - IoT sensor model - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param SensorArgs 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(SensorArgs, 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, - scope: Optional[pulumi.Input[str]] = None, - sensor_name: Optional[pulumi.Input[str]] = None, - sensor_type: Optional[pulumi.Input[Union[str, 'SensorType']]] = None, - ti_automatic_updates: Optional[pulumi.Input[bool]] = None, - zone: 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__ = SensorArgs.__new__(SensorArgs) - - if scope is None and not opts.urn: - raise TypeError("Missing required property 'scope'") - __props__.__dict__["scope"] = scope - __props__.__dict__["sensor_name"] = sensor_name - __props__.__dict__["sensor_type"] = sensor_type - __props__.__dict__["ti_automatic_updates"] = ti_automatic_updates - __props__.__dict__["zone"] = zone - __props__.__dict__["connectivity_time"] = None - __props__.__dict__["dynamic_learning"] = None - __props__.__dict__["learning_mode"] = None - __props__.__dict__["name"] = None - __props__.__dict__["sensor_status"] = None - __props__.__dict__["sensor_version"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["ti_status"] = None - __props__.__dict__["ti_version"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity/v20210201preview:Sensor")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Sensor, __self__).__init__( - 'azure-native:iotsecurity:Sensor', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Sensor': - """ - Get an existing Sensor 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = SensorArgs.__new__(SensorArgs) - - __props__.__dict__["connectivity_time"] = None - __props__.__dict__["dynamic_learning"] = None - __props__.__dict__["learning_mode"] = None - __props__.__dict__["name"] = None - __props__.__dict__["sensor_status"] = None - __props__.__dict__["sensor_type"] = None - __props__.__dict__["sensor_version"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["ti_automatic_updates"] = None - __props__.__dict__["ti_status"] = None - __props__.__dict__["ti_version"] = None - __props__.__dict__["type"] = None - __props__.__dict__["zone"] = None - return Sensor(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="connectivityTime") - def connectivity_time(self) -> pulumi.Output[str]: - """ - Last connectivity time of the IoT sensor - """ - return pulumi.get(self, "connectivity_time") - - @property - @pulumi.getter(name="dynamicLearning") - def dynamic_learning(self) -> pulumi.Output[bool]: - """ - Dynamic mode status of the IoT sensor - """ - return pulumi.get(self, "dynamic_learning") - - @property - @pulumi.getter(name="learningMode") - def learning_mode(self) -> pulumi.Output[bool]: - """ - Learning mode status of the IoT sensor - """ - return pulumi.get(self, "learning_mode") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="sensorStatus") - def sensor_status(self) -> pulumi.Output[str]: - """ - Status of the IoT sensor - """ - return pulumi.get(self, "sensor_status") - - @property - @pulumi.getter(name="sensorType") - def sensor_type(self) -> pulumi.Output[Optional[str]]: - """ - Type of sensor - """ - return pulumi.get(self, "sensor_type") - - @property - @pulumi.getter(name="sensorVersion") - def sensor_version(self) -> pulumi.Output[str]: - """ - Version of the IoT sensor - """ - return pulumi.get(self, "sensor_version") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter(name="tiAutomaticUpdates") - def ti_automatic_updates(self) -> pulumi.Output[Optional[bool]]: - """ - TI Automatic mode status of the IoT sensor - """ - return pulumi.get(self, "ti_automatic_updates") - - @property - @pulumi.getter(name="tiStatus") - def ti_status(self) -> pulumi.Output[str]: - """ - TI Status of the IoT sensor - """ - return pulumi.get(self, "ti_status") - - @property - @pulumi.getter(name="tiVersion") - def ti_version(self) -> pulumi.Output[str]: - """ - TI Version of the IoT sensor - """ - return pulumi.get(self, "ti_version") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def zone(self) -> pulumi.Output[Optional[str]]: - """ - Zone of the IoT sensor - """ - return pulumi.get(self, "zone") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/site.py b/sdk/python/pulumi_azure_native/iotsecurity/site.py deleted file mode 100644 index be9c4dd8259d..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/site.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = ['SiteArgs', 'Site'] - -@pulumi.input_type -class SiteArgs: - def __init__(__self__, *, - display_name: pulumi.Input[str], - scope: pulumi.Input[str], - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a Site resource. - :param pulumi.Input[str] display_name: Display name of the IoT site - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags of the IoT site - """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "scope", scope) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Input[str]: - """ - Display name of the IoT site - """ - return pulumi.get(self, "display_name") - - @display_name.setter - def display_name(self, value: pulumi.Input[str]): - pulumi.set(self, "display_name", value) - - @property - @pulumi.getter - def scope(self) -> pulumi.Input[str]: - """ - Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - return pulumi.get(self, "scope") - - @scope.setter - def scope(self, value: pulumi.Input[str]): - pulumi.set(self, "scope", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Tags of the IoT site - """ - 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 Site(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - display_name: Optional[pulumi.Input[str]] = None, - scope: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None): - """ - IoT site model - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] display_name: Display name of the IoT site - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags of the IoT site - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SiteArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - IoT site model - Azure REST API version: 2021-02-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview - - :param str resource_name: The name of the resource. - :param SiteArgs 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(SiteArgs, 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, - display_name: Optional[pulumi.Input[str]] = None, - scope: 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): - 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__ = SiteArgs.__new__(SiteArgs) - - if display_name is None and not opts.urn: - raise TypeError("Missing required property 'display_name'") - __props__.__dict__["display_name"] = display_name - if scope is None and not opts.urn: - raise TypeError("Missing required property 'scope'") - __props__.__dict__["scope"] = scope - __props__.__dict__["tags"] = tags - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity/v20210201preview:Site")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Site, __self__).__init__( - 'azure-native:iotsecurity:Site', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Site': - """ - Get an existing Site 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = SiteArgs.__new__(SiteArgs) - - __props__.__dict__["display_name"] = None - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["type"] = None - return Site(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Output[str]: - """ - Display name of the IoT site - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - Tags of the IoT site - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/__init__.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/__init__.py deleted file mode 100644 index 4f2de724dd1b..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from ... import _utilities -import typing -# Export this package's modules as members: -from ._enums import * -from .defender_setting import * -from .device_group import * -from .get_defender_setting import * -from .get_device_group import * -from .get_on_premise_sensor import * -from .get_sensor import * -from .get_site import * -from .on_premise_sensor import * -from .sensor import * -from .site import * -from ._inputs import * -from . import outputs diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/_enums.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/_enums.py deleted file mode 100644 index 2e9f3877bb22..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/_enums.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from enum import Enum - -__all__ = [ - 'MdeIntegration', - 'OnboardingKind', - 'SensorType', -] - - -class MdeIntegration(str, Enum): - """ - Integration status - """ - DISABLED = "Disabled" - ENABLED = "Enabled" - - -class OnboardingKind(str, Enum): - """ - The kind of onboarding for the subscription - """ - DEFAULT = "Default" - MIGRATED_TO_AZURE = "MigratedToAzure" - EVALUATION = "Evaluation" - PURCHASED = "Purchased" - - -class SensorType(str, Enum): - """ - Type of sensor - """ - OT = "Ot" - ENTERPRISE = "Enterprise" diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/_inputs.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/_inputs.py deleted file mode 100644 index 776fc7da79fb..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/_inputs.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from ._enums import * - -__all__ = [ - 'DefenderSettingsPropertiesMdeIntegrationArgs', -] - -@pulumi.input_type -class DefenderSettingsPropertiesMdeIntegrationArgs: - def __init__(__self__, *, - status: pulumi.Input[Union[str, 'MdeIntegration']]): - """ - MDE integration configuration - :param pulumi.Input[Union[str, 'MdeIntegration']] status: Integration status - """ - pulumi.set(__self__, "status", status) - - @property - @pulumi.getter - def status(self) -> pulumi.Input[Union[str, 'MdeIntegration']]: - """ - Integration status - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: pulumi.Input[Union[str, 'MdeIntegration']]): - pulumi.set(self, "status", value) - - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/defender_setting.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/defender_setting.py deleted file mode 100644 index d8d37f73c711..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/defender_setting.py +++ /dev/null @@ -1,245 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['DefenderSettingArgs', 'DefenderSetting'] - -@pulumi.input_type -class DefenderSettingArgs: - def __init__(__self__, *, - device_quota: pulumi.Input[int], - mde_integration: pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs'], - onboarding_kind: pulumi.Input[Union[str, 'OnboardingKind']], - sentinel_workspace_resource_ids: pulumi.Input[Sequence[pulumi.Input[str]]]): - """ - The set of arguments for constructing a DefenderSetting resource. - :param pulumi.Input[int] device_quota: Size of the device quota. Value is required to be in multiples of 100. - :param pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs'] mde_integration: MDE integration configuration - :param pulumi.Input[Union[str, 'OnboardingKind']] onboarding_kind: The kind of onboarding for the subscription - :param pulumi.Input[Sequence[pulumi.Input[str]]] sentinel_workspace_resource_ids: Sentinel Workspace Resource Ids - """ - pulumi.set(__self__, "device_quota", device_quota) - pulumi.set(__self__, "mde_integration", mde_integration) - pulumi.set(__self__, "onboarding_kind", onboarding_kind) - pulumi.set(__self__, "sentinel_workspace_resource_ids", sentinel_workspace_resource_ids) - - @property - @pulumi.getter(name="deviceQuota") - def device_quota(self) -> pulumi.Input[int]: - """ - Size of the device quota. Value is required to be in multiples of 100. - """ - return pulumi.get(self, "device_quota") - - @device_quota.setter - def device_quota(self, value: pulumi.Input[int]): - pulumi.set(self, "device_quota", value) - - @property - @pulumi.getter(name="mdeIntegration") - def mde_integration(self) -> pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs']: - """ - MDE integration configuration - """ - return pulumi.get(self, "mde_integration") - - @mde_integration.setter - def mde_integration(self, value: pulumi.Input['DefenderSettingsPropertiesMdeIntegrationArgs']): - pulumi.set(self, "mde_integration", value) - - @property - @pulumi.getter(name="onboardingKind") - def onboarding_kind(self) -> pulumi.Input[Union[str, 'OnboardingKind']]: - """ - The kind of onboarding for the subscription - """ - return pulumi.get(self, "onboarding_kind") - - @onboarding_kind.setter - def onboarding_kind(self, value: pulumi.Input[Union[str, 'OnboardingKind']]): - pulumi.set(self, "onboarding_kind", value) - - @property - @pulumi.getter(name="sentinelWorkspaceResourceIds") - def sentinel_workspace_resource_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - Sentinel Workspace Resource Ids - """ - return pulumi.get(self, "sentinel_workspace_resource_ids") - - @sentinel_workspace_resource_ids.setter - def sentinel_workspace_resource_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "sentinel_workspace_resource_ids", value) - - -class DefenderSetting(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - device_quota: Optional[pulumi.Input[int]] = None, - mde_integration: Optional[pulumi.Input[pulumi.InputType['DefenderSettingsPropertiesMdeIntegrationArgs']]] = None, - onboarding_kind: Optional[pulumi.Input[Union[str, 'OnboardingKind']]] = None, - sentinel_workspace_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - __props__=None): - """ - IoT Defender settings - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] device_quota: Size of the device quota. Value is required to be in multiples of 100. - :param pulumi.Input[pulumi.InputType['DefenderSettingsPropertiesMdeIntegrationArgs']] mde_integration: MDE integration configuration - :param pulumi.Input[Union[str, 'OnboardingKind']] onboarding_kind: The kind of onboarding for the subscription - :param pulumi.Input[Sequence[pulumi.Input[str]]] sentinel_workspace_resource_ids: Sentinel Workspace Resource Ids - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: DefenderSettingArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - IoT Defender settings - - :param str resource_name: The name of the resource. - :param DefenderSettingArgs 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(DefenderSettingArgs, 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, - device_quota: Optional[pulumi.Input[int]] = None, - mde_integration: Optional[pulumi.Input[pulumi.InputType['DefenderSettingsPropertiesMdeIntegrationArgs']]] = None, - onboarding_kind: Optional[pulumi.Input[Union[str, 'OnboardingKind']]] = None, - sentinel_workspace_resource_ids: Optional[pulumi.Input[Sequence[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__ = DefenderSettingArgs.__new__(DefenderSettingArgs) - - if device_quota is None and not opts.urn: - raise TypeError("Missing required property 'device_quota'") - __props__.__dict__["device_quota"] = device_quota - if mde_integration is None and not opts.urn: - raise TypeError("Missing required property 'mde_integration'") - __props__.__dict__["mde_integration"] = mde_integration - if onboarding_kind is None and not opts.urn: - raise TypeError("Missing required property 'onboarding_kind'") - __props__.__dict__["onboarding_kind"] = onboarding_kind - if sentinel_workspace_resource_ids is None and not opts.urn: - raise TypeError("Missing required property 'sentinel_workspace_resource_ids'") - __props__.__dict__["sentinel_workspace_resource_ids"] = sentinel_workspace_resource_ids - __props__.__dict__["evaluation_end_time"] = None - __props__.__dict__["name"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity:DefenderSetting")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(DefenderSetting, __self__).__init__( - 'azure-native:iotsecurity/v20210201preview:DefenderSetting', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'DefenderSetting': - """ - Get an existing DefenderSetting 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = DefenderSettingArgs.__new__(DefenderSettingArgs) - - __props__.__dict__["device_quota"] = None - __props__.__dict__["evaluation_end_time"] = None - __props__.__dict__["mde_integration"] = None - __props__.__dict__["name"] = None - __props__.__dict__["onboarding_kind"] = None - __props__.__dict__["sentinel_workspace_resource_ids"] = None - __props__.__dict__["type"] = None - return DefenderSetting(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="deviceQuota") - def device_quota(self) -> pulumi.Output[int]: - """ - Size of the device quota. Value is required to be in multiples of 100. - """ - return pulumi.get(self, "device_quota") - - @property - @pulumi.getter(name="evaluationEndTime") - def evaluation_end_time(self) -> pulumi.Output[str]: - """ - End time of the evaluation period, if such exist - """ - return pulumi.get(self, "evaluation_end_time") - - @property - @pulumi.getter(name="mdeIntegration") - def mde_integration(self) -> pulumi.Output['outputs.DefenderSettingsPropertiesResponseMdeIntegration']: - """ - MDE integration configuration - """ - return pulumi.get(self, "mde_integration") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="onboardingKind") - def onboarding_kind(self) -> pulumi.Output[str]: - """ - The kind of onboarding for the subscription - """ - return pulumi.get(self, "onboarding_kind") - - @property - @pulumi.getter(name="sentinelWorkspaceResourceIds") - def sentinel_workspace_resource_ids(self) -> pulumi.Output[Sequence[str]]: - """ - Sentinel Workspace Resource Ids - """ - return pulumi.get(self, "sentinel_workspace_resource_ids") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/device_group.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/device_group.py deleted file mode 100644 index a784b93d0656..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/device_group.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['DeviceGroupArgs', 'DeviceGroup'] - -@pulumi.input_type -class DeviceGroupArgs: - def __init__(__self__, *, - iot_defender_location: pulumi.Input[str], - device_group_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a DeviceGroup resource. - :param pulumi.Input[str] iot_defender_location: Defender for IoT location - :param pulumi.Input[str] device_group_name: Device group name - """ - pulumi.set(__self__, "iot_defender_location", iot_defender_location) - if device_group_name is not None: - pulumi.set(__self__, "device_group_name", device_group_name) - - @property - @pulumi.getter(name="iotDefenderLocation") - def iot_defender_location(self) -> pulumi.Input[str]: - """ - Defender for IoT location - """ - return pulumi.get(self, "iot_defender_location") - - @iot_defender_location.setter - def iot_defender_location(self, value: pulumi.Input[str]): - pulumi.set(self, "iot_defender_location", value) - - @property - @pulumi.getter(name="deviceGroupName") - def device_group_name(self) -> Optional[pulumi.Input[str]]: - """ - Device group name - """ - return pulumi.get(self, "device_group_name") - - @device_group_name.setter - def device_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_group_name", value) - - -class DeviceGroup(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - device_group_name: Optional[pulumi.Input[str]] = None, - iot_defender_location: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Device group - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] device_group_name: Device group name - :param pulumi.Input[str] iot_defender_location: Defender for IoT location - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: DeviceGroupArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Device group - - :param str resource_name: The name of the resource. - :param DeviceGroupArgs 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(DeviceGroupArgs, 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, - device_group_name: Optional[pulumi.Input[str]] = None, - iot_defender_location: 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__ = DeviceGroupArgs.__new__(DeviceGroupArgs) - - __props__.__dict__["device_group_name"] = device_group_name - if iot_defender_location is None and not opts.urn: - raise TypeError("Missing required property 'iot_defender_location'") - __props__.__dict__["iot_defender_location"] = iot_defender_location - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity:DeviceGroup")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(DeviceGroup, __self__).__init__( - 'azure-native:iotsecurity/v20210201preview:DeviceGroup', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'DeviceGroup': - """ - Get an existing DeviceGroup 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = DeviceGroupArgs.__new__(DeviceGroupArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return DeviceGroup(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_defender_setting.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_defender_setting.py deleted file mode 100644 index 15daac8a417b..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_defender_setting.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetDefenderSettingResult', - 'AwaitableGetDefenderSettingResult', - 'get_defender_setting', -] - -@pulumi.output_type -class GetDefenderSettingResult: - """ - IoT Defender settings - """ - def __init__(__self__, device_quota=None, evaluation_end_time=None, id=None, mde_integration=None, name=None, onboarding_kind=None, sentinel_workspace_resource_ids=None, type=None): - if device_quota and not isinstance(device_quota, int): - raise TypeError("Expected argument 'device_quota' to be a int") - pulumi.set(__self__, "device_quota", device_quota) - if evaluation_end_time and not isinstance(evaluation_end_time, str): - raise TypeError("Expected argument 'evaluation_end_time' to be a str") - pulumi.set(__self__, "evaluation_end_time", evaluation_end_time) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if mde_integration and not isinstance(mde_integration, dict): - raise TypeError("Expected argument 'mde_integration' to be a dict") - pulumi.set(__self__, "mde_integration", mde_integration) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if onboarding_kind and not isinstance(onboarding_kind, str): - raise TypeError("Expected argument 'onboarding_kind' to be a str") - pulumi.set(__self__, "onboarding_kind", onboarding_kind) - if sentinel_workspace_resource_ids and not isinstance(sentinel_workspace_resource_ids, list): - raise TypeError("Expected argument 'sentinel_workspace_resource_ids' to be a list") - pulumi.set(__self__, "sentinel_workspace_resource_ids", sentinel_workspace_resource_ids) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="deviceQuota") - def device_quota(self) -> int: - """ - Size of the device quota. Value is required to be in multiples of 100. - """ - return pulumi.get(self, "device_quota") - - @property - @pulumi.getter(name="evaluationEndTime") - def evaluation_end_time(self) -> str: - """ - End time of the evaluation period, if such exist - """ - return pulumi.get(self, "evaluation_end_time") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="mdeIntegration") - def mde_integration(self) -> 'outputs.DefenderSettingsPropertiesResponseMdeIntegration': - """ - MDE integration configuration - """ - return pulumi.get(self, "mde_integration") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="onboardingKind") - def onboarding_kind(self) -> str: - """ - The kind of onboarding for the subscription - """ - return pulumi.get(self, "onboarding_kind") - - @property - @pulumi.getter(name="sentinelWorkspaceResourceIds") - def sentinel_workspace_resource_ids(self) -> Sequence[str]: - """ - Sentinel Workspace Resource Ids - """ - return pulumi.get(self, "sentinel_workspace_resource_ids") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetDefenderSettingResult(GetDefenderSettingResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDefenderSettingResult( - device_quota=self.device_quota, - evaluation_end_time=self.evaluation_end_time, - id=self.id, - mde_integration=self.mde_integration, - name=self.name, - onboarding_kind=self.onboarding_kind, - sentinel_workspace_resource_ids=self.sentinel_workspace_resource_ids, - type=self.type) - - -def get_defender_setting(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDefenderSettingResult: - """ - Get IoT Defender Settings - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity/v20210201preview:getDefenderSetting', __args__, opts=opts, typ=GetDefenderSettingResult).value - - return AwaitableGetDefenderSettingResult( - device_quota=pulumi.get(__ret__, 'device_quota'), - evaluation_end_time=pulumi.get(__ret__, 'evaluation_end_time'), - id=pulumi.get(__ret__, 'id'), - mde_integration=pulumi.get(__ret__, 'mde_integration'), - name=pulumi.get(__ret__, 'name'), - onboarding_kind=pulumi.get(__ret__, 'onboarding_kind'), - sentinel_workspace_resource_ids=pulumi.get(__ret__, 'sentinel_workspace_resource_ids'), - type=pulumi.get(__ret__, 'type')) diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_device_group.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_device_group.py deleted file mode 100644 index 67a3c4feb802..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_device_group.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetDeviceGroupResult', - 'AwaitableGetDeviceGroupResult', - 'get_device_group', - 'get_device_group_output', -] - -@pulumi.output_type -class GetDeviceGroupResult: - """ - Device group - """ - def __init__(__self__, id=None, name=None, system_data=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetDeviceGroupResult(GetDeviceGroupResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDeviceGroupResult( - id=self.id, - name=self.name, - system_data=self.system_data, - type=self.type) - - -def get_device_group(device_group_name: Optional[str] = None, - iot_defender_location: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDeviceGroupResult: - """ - Get device group - - - :param str device_group_name: Device group name - :param str iot_defender_location: Defender for IoT location - """ - __args__ = dict() - __args__['deviceGroupName'] = device_group_name - __args__['iotDefenderLocation'] = iot_defender_location - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity/v20210201preview:getDeviceGroup', __args__, opts=opts, typ=GetDeviceGroupResult).value - - return AwaitableGetDeviceGroupResult( - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - system_data=pulumi.get(__ret__, 'system_data'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_device_group) -def get_device_group_output(device_group_name: Optional[pulumi.Input[str]] = None, - iot_defender_location: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceGroupResult]: - """ - Get device group - - - :param str device_group_name: Device group name - :param str iot_defender_location: Defender for IoT location - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_on_premise_sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_on_premise_sensor.py deleted file mode 100644 index 532a5f945ed8..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_on_premise_sensor.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetOnPremiseSensorResult', - 'AwaitableGetOnPremiseSensorResult', - 'get_on_premise_sensor', - 'get_on_premise_sensor_output', -] - -@pulumi.output_type -class GetOnPremiseSensorResult: - """ - On-premise IoT sensor - """ - def __init__(__self__, id=None, name=None, system_data=None, type=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetOnPremiseSensorResult(GetOnPremiseSensorResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetOnPremiseSensorResult( - id=self.id, - name=self.name, - system_data=self.system_data, - type=self.type) - - -def get_on_premise_sensor(on_premise_sensor_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOnPremiseSensorResult: - """ - Get on-premise IoT sensor - - - :param str on_premise_sensor_name: Name of the on-premise IoT sensor - """ - __args__ = dict() - __args__['onPremiseSensorName'] = on_premise_sensor_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity/v20210201preview:getOnPremiseSensor', __args__, opts=opts, typ=GetOnPremiseSensorResult).value - - return AwaitableGetOnPremiseSensorResult( - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - system_data=pulumi.get(__ret__, 'system_data'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_on_premise_sensor) -def get_on_premise_sensor_output(on_premise_sensor_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOnPremiseSensorResult]: - """ - Get on-premise IoT sensor - - - :param str on_premise_sensor_name: Name of the on-premise IoT sensor - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_sensor.py deleted file mode 100644 index 127195480193..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_sensor.py +++ /dev/null @@ -1,248 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetSensorResult', - 'AwaitableGetSensorResult', - 'get_sensor', - 'get_sensor_output', -] - -@pulumi.output_type -class GetSensorResult: - """ - IoT sensor model - """ - def __init__(__self__, connectivity_time=None, dynamic_learning=None, id=None, learning_mode=None, name=None, sensor_status=None, sensor_type=None, sensor_version=None, system_data=None, ti_automatic_updates=None, ti_status=None, ti_version=None, type=None, zone=None): - if connectivity_time and not isinstance(connectivity_time, str): - raise TypeError("Expected argument 'connectivity_time' to be a str") - pulumi.set(__self__, "connectivity_time", connectivity_time) - if dynamic_learning and not isinstance(dynamic_learning, bool): - raise TypeError("Expected argument 'dynamic_learning' to be a bool") - pulumi.set(__self__, "dynamic_learning", dynamic_learning) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if learning_mode and not isinstance(learning_mode, bool): - raise TypeError("Expected argument 'learning_mode' to be a bool") - pulumi.set(__self__, "learning_mode", learning_mode) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if sensor_status and not isinstance(sensor_status, str): - raise TypeError("Expected argument 'sensor_status' to be a str") - pulumi.set(__self__, "sensor_status", sensor_status) - if sensor_type and not isinstance(sensor_type, str): - raise TypeError("Expected argument 'sensor_type' to be a str") - pulumi.set(__self__, "sensor_type", sensor_type) - if sensor_version and not isinstance(sensor_version, str): - raise TypeError("Expected argument 'sensor_version' to be a str") - pulumi.set(__self__, "sensor_version", sensor_version) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if ti_automatic_updates and not isinstance(ti_automatic_updates, bool): - raise TypeError("Expected argument 'ti_automatic_updates' to be a bool") - pulumi.set(__self__, "ti_automatic_updates", ti_automatic_updates) - if ti_status and not isinstance(ti_status, str): - raise TypeError("Expected argument 'ti_status' to be a str") - pulumi.set(__self__, "ti_status", ti_status) - if ti_version and not isinstance(ti_version, str): - raise TypeError("Expected argument 'ti_version' to be a str") - pulumi.set(__self__, "ti_version", ti_version) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - if zone and not isinstance(zone, str): - raise TypeError("Expected argument 'zone' to be a str") - pulumi.set(__self__, "zone", zone) - - @property - @pulumi.getter(name="connectivityTime") - def connectivity_time(self) -> str: - """ - Last connectivity time of the IoT sensor - """ - return pulumi.get(self, "connectivity_time") - - @property - @pulumi.getter(name="dynamicLearning") - def dynamic_learning(self) -> bool: - """ - Dynamic mode status of the IoT sensor - """ - return pulumi.get(self, "dynamic_learning") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="learningMode") - def learning_mode(self) -> bool: - """ - Learning mode status of the IoT sensor - """ - return pulumi.get(self, "learning_mode") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="sensorStatus") - def sensor_status(self) -> str: - """ - Status of the IoT sensor - """ - return pulumi.get(self, "sensor_status") - - @property - @pulumi.getter(name="sensorType") - def sensor_type(self) -> Optional[str]: - """ - Type of sensor - """ - return pulumi.get(self, "sensor_type") - - @property - @pulumi.getter(name="sensorVersion") - def sensor_version(self) -> str: - """ - Version of the IoT sensor - """ - return pulumi.get(self, "sensor_version") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter(name="tiAutomaticUpdates") - def ti_automatic_updates(self) -> Optional[bool]: - """ - TI Automatic mode status of the IoT sensor - """ - return pulumi.get(self, "ti_automatic_updates") - - @property - @pulumi.getter(name="tiStatus") - def ti_status(self) -> str: - """ - TI Status of the IoT sensor - """ - return pulumi.get(self, "ti_status") - - @property - @pulumi.getter(name="tiVersion") - def ti_version(self) -> str: - """ - TI Version of the IoT sensor - """ - return pulumi.get(self, "ti_version") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def zone(self) -> Optional[str]: - """ - Zone of the IoT sensor - """ - return pulumi.get(self, "zone") - - -class AwaitableGetSensorResult(GetSensorResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSensorResult( - connectivity_time=self.connectivity_time, - dynamic_learning=self.dynamic_learning, - id=self.id, - learning_mode=self.learning_mode, - name=self.name, - sensor_status=self.sensor_status, - sensor_type=self.sensor_type, - sensor_version=self.sensor_version, - system_data=self.system_data, - ti_automatic_updates=self.ti_automatic_updates, - ti_status=self.ti_status, - ti_version=self.ti_version, - type=self.type, - zone=self.zone) - - -def get_sensor(scope: Optional[str] = None, - sensor_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSensorResult: - """ - Get IoT sensor - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param str sensor_name: Name of the IoT sensor - """ - __args__ = dict() - __args__['scope'] = scope - __args__['sensorName'] = sensor_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity/v20210201preview:getSensor', __args__, opts=opts, typ=GetSensorResult).value - - return AwaitableGetSensorResult( - connectivity_time=pulumi.get(__ret__, 'connectivity_time'), - dynamic_learning=pulumi.get(__ret__, 'dynamic_learning'), - id=pulumi.get(__ret__, 'id'), - learning_mode=pulumi.get(__ret__, 'learning_mode'), - name=pulumi.get(__ret__, 'name'), - sensor_status=pulumi.get(__ret__, 'sensor_status'), - sensor_type=pulumi.get(__ret__, 'sensor_type'), - sensor_version=pulumi.get(__ret__, 'sensor_version'), - system_data=pulumi.get(__ret__, 'system_data'), - ti_automatic_updates=pulumi.get(__ret__, 'ti_automatic_updates'), - ti_status=pulumi.get(__ret__, 'ti_status'), - ti_version=pulumi.get(__ret__, 'ti_version'), - type=pulumi.get(__ret__, 'type'), - zone=pulumi.get(__ret__, 'zone')) - - -@_utilities.lift_output_func(get_sensor) -def get_sensor_output(scope: Optional[pulumi.Input[str]] = None, - sensor_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSensorResult]: - """ - Get IoT sensor - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param str sensor_name: Name of the IoT sensor - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_site.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_site.py deleted file mode 100644 index 3acfefffec36..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/get_site.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetSiteResult', - 'AwaitableGetSiteResult', - 'get_site', - 'get_site_output', -] - -@pulumi.output_type -class GetSiteResult: - """ - IoT site model - """ - def __init__(__self__, display_name=None, id=None, name=None, system_data=None, tags=None, type=None): - if display_name and not isinstance(display_name, str): - raise TypeError("Expected argument 'display_name' to be a str") - pulumi.set(__self__, "display_name", display_name) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - """ - Display name of the IoT site - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - Tags of the IoT site - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetSiteResult(GetSiteResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSiteResult( - display_name=self.display_name, - id=self.id, - name=self.name, - system_data=self.system_data, - tags=self.tags, - type=self.type) - - -def get_site(scope: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSiteResult: - """ - Get IoT site - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - __args__ = dict() - __args__['scope'] = scope - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:iotsecurity/v20210201preview:getSite', __args__, opts=opts, typ=GetSiteResult).value - - return AwaitableGetSiteResult( - display_name=pulumi.get(__ret__, 'display_name'), - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - system_data=pulumi.get(__ret__, 'system_data'), - tags=pulumi.get(__ret__, 'tags'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_site) -def get_site_output(scope: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSiteResult]: - """ - Get IoT site - - - :param str scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - ... diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/on_premise_sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/on_premise_sensor.py deleted file mode 100644 index 27d49084cc47..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/on_premise_sensor.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['OnPremiseSensorArgs', 'OnPremiseSensor'] - -@pulumi.input_type -class OnPremiseSensorArgs: - def __init__(__self__, *, - on_premise_sensor_name: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a OnPremiseSensor resource. - :param pulumi.Input[str] on_premise_sensor_name: Name of the on-premise IoT sensor - """ - if on_premise_sensor_name is not None: - pulumi.set(__self__, "on_premise_sensor_name", on_premise_sensor_name) - - @property - @pulumi.getter(name="onPremiseSensorName") - def on_premise_sensor_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the on-premise IoT sensor - """ - return pulumi.get(self, "on_premise_sensor_name") - - @on_premise_sensor_name.setter - def on_premise_sensor_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "on_premise_sensor_name", value) - - -class OnPremiseSensor(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - on_premise_sensor_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - On-premise IoT sensor - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] on_premise_sensor_name: Name of the on-premise IoT sensor - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[OnPremiseSensorArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - On-premise IoT sensor - - :param str resource_name: The name of the resource. - :param OnPremiseSensorArgs 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(OnPremiseSensorArgs, 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, - on_premise_sensor_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = OnPremiseSensorArgs.__new__(OnPremiseSensorArgs) - - __props__.__dict__["on_premise_sensor_name"] = on_premise_sensor_name - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity:OnPremiseSensor")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(OnPremiseSensor, __self__).__init__( - 'azure-native:iotsecurity/v20210201preview:OnPremiseSensor', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'OnPremiseSensor': - """ - Get an existing OnPremiseSensor 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = OnPremiseSensorArgs.__new__(OnPremiseSensorArgs) - - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - return OnPremiseSensor(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/outputs.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/outputs.py deleted file mode 100644 index eea8b8d41af6..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/outputs.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from ._enums import * - -__all__ = [ - 'DefenderSettingsPropertiesResponseMdeIntegration', - 'SystemDataResponse', -] - -@pulumi.output_type -class DefenderSettingsPropertiesResponseMdeIntegration(dict): - """ - MDE integration configuration - """ - def __init__(__self__, *, - status: str): - """ - MDE integration configuration - :param str status: Integration status - """ - pulumi.set(__self__, "status", status) - - @property - @pulumi.getter - def status(self) -> str: - """ - Integration status - """ - return pulumi.get(self, "status") - - -@pulumi.output_type -class SystemDataResponse(dict): - """ - Metadata pertaining to creation and last modification of the resource. - """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "createdAt": - suggest = "created_at" - elif key == "createdBy": - suggest = "created_by" - elif key == "createdByType": - suggest = "created_by_type" - elif key == "lastModifiedAt": - suggest = "last_modified_at" - elif key == "lastModifiedBy": - suggest = "last_modified_by" - elif key == "lastModifiedByType": - suggest = "last_modified_by_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SystemDataResponse.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SystemDataResponse.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - created_at: Optional[str] = None, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None): - """ - Metadata pertaining to creation and last modification of the resource. - :param str created_at: The timestamp of resource creation (UTC). - :param str created_by: The identity that created the resource. - :param str created_by_type: The type of identity that created the resource. - :param str last_modified_at: The timestamp of resource last modification (UTC) - :param str last_modified_by: The identity that last modified the resource. - :param str last_modified_by_type: The type of identity that last modified the resource. - """ - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if created_by_type is not None: - pulumi.set(__self__, "created_by_type", created_by_type) - if last_modified_at is not None: - pulumi.set(__self__, "last_modified_at", last_modified_at) - if last_modified_by is not None: - pulumi.set(__self__, "last_modified_by", last_modified_by) - if last_modified_by_type is not None: - pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) - - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[str]: - """ - The timestamp of resource creation (UTC). - """ - return pulumi.get(self, "created_at") - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - The identity that created the resource. - """ - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByType") - def created_by_type(self) -> Optional[str]: - """ - The type of identity that created the resource. - """ - return pulumi.get(self, "created_by_type") - - @property - @pulumi.getter(name="lastModifiedAt") - def last_modified_at(self) -> Optional[str]: - """ - The timestamp of resource last modification (UTC) - """ - return pulumi.get(self, "last_modified_at") - - @property - @pulumi.getter(name="lastModifiedBy") - def last_modified_by(self) -> Optional[str]: - """ - The identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by") - - @property - @pulumi.getter(name="lastModifiedByType") - def last_modified_by_type(self) -> Optional[str]: - """ - The type of identity that last modified the resource. - """ - return pulumi.get(self, "last_modified_by_type") - - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/sensor.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/sensor.py deleted file mode 100644 index 91ce7c8435fa..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/sensor.py +++ /dev/null @@ -1,322 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * - -__all__ = ['SensorArgs', 'Sensor'] - -@pulumi.input_type -class SensorArgs: - def __init__(__self__, *, - scope: pulumi.Input[str], - sensor_name: Optional[pulumi.Input[str]] = None, - sensor_type: Optional[pulumi.Input[Union[str, 'SensorType']]] = None, - ti_automatic_updates: Optional[pulumi.Input[bool]] = None, - zone: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Sensor resource. - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[str] sensor_name: Name of the IoT sensor - :param pulumi.Input[Union[str, 'SensorType']] sensor_type: Type of sensor - :param pulumi.Input[bool] ti_automatic_updates: TI Automatic mode status of the IoT sensor - :param pulumi.Input[str] zone: Zone of the IoT sensor - """ - pulumi.set(__self__, "scope", scope) - if sensor_name is not None: - pulumi.set(__self__, "sensor_name", sensor_name) - if sensor_type is not None: - pulumi.set(__self__, "sensor_type", sensor_type) - if ti_automatic_updates is not None: - pulumi.set(__self__, "ti_automatic_updates", ti_automatic_updates) - if zone is not None: - pulumi.set(__self__, "zone", zone) - - @property - @pulumi.getter - def scope(self) -> pulumi.Input[str]: - """ - Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - return pulumi.get(self, "scope") - - @scope.setter - def scope(self, value: pulumi.Input[str]): - pulumi.set(self, "scope", value) - - @property - @pulumi.getter(name="sensorName") - def sensor_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the IoT sensor - """ - return pulumi.get(self, "sensor_name") - - @sensor_name.setter - def sensor_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "sensor_name", value) - - @property - @pulumi.getter(name="sensorType") - def sensor_type(self) -> Optional[pulumi.Input[Union[str, 'SensorType']]]: - """ - Type of sensor - """ - return pulumi.get(self, "sensor_type") - - @sensor_type.setter - def sensor_type(self, value: Optional[pulumi.Input[Union[str, 'SensorType']]]): - pulumi.set(self, "sensor_type", value) - - @property - @pulumi.getter(name="tiAutomaticUpdates") - def ti_automatic_updates(self) -> Optional[pulumi.Input[bool]]: - """ - TI Automatic mode status of the IoT sensor - """ - return pulumi.get(self, "ti_automatic_updates") - - @ti_automatic_updates.setter - def ti_automatic_updates(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "ti_automatic_updates", value) - - @property - @pulumi.getter - def zone(self) -> Optional[pulumi.Input[str]]: - """ - Zone of the IoT sensor - """ - return pulumi.get(self, "zone") - - @zone.setter - def zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone", value) - - -class Sensor(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - scope: Optional[pulumi.Input[str]] = None, - sensor_name: Optional[pulumi.Input[str]] = None, - sensor_type: Optional[pulumi.Input[Union[str, 'SensorType']]] = None, - ti_automatic_updates: Optional[pulumi.Input[bool]] = None, - zone: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - IoT sensor model - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[str] sensor_name: Name of the IoT sensor - :param pulumi.Input[Union[str, 'SensorType']] sensor_type: Type of sensor - :param pulumi.Input[bool] ti_automatic_updates: TI Automatic mode status of the IoT sensor - :param pulumi.Input[str] zone: Zone of the IoT sensor - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SensorArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - IoT sensor model - - :param str resource_name: The name of the resource. - :param SensorArgs 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(SensorArgs, 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, - scope: Optional[pulumi.Input[str]] = None, - sensor_name: Optional[pulumi.Input[str]] = None, - sensor_type: Optional[pulumi.Input[Union[str, 'SensorType']]] = None, - ti_automatic_updates: Optional[pulumi.Input[bool]] = None, - zone: 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__ = SensorArgs.__new__(SensorArgs) - - if scope is None and not opts.urn: - raise TypeError("Missing required property 'scope'") - __props__.__dict__["scope"] = scope - __props__.__dict__["sensor_name"] = sensor_name - __props__.__dict__["sensor_type"] = sensor_type - __props__.__dict__["ti_automatic_updates"] = ti_automatic_updates - __props__.__dict__["zone"] = zone - __props__.__dict__["connectivity_time"] = None - __props__.__dict__["dynamic_learning"] = None - __props__.__dict__["learning_mode"] = None - __props__.__dict__["name"] = None - __props__.__dict__["sensor_status"] = None - __props__.__dict__["sensor_version"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["ti_status"] = None - __props__.__dict__["ti_version"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity:Sensor")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Sensor, __self__).__init__( - 'azure-native:iotsecurity/v20210201preview:Sensor', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Sensor': - """ - Get an existing Sensor 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = SensorArgs.__new__(SensorArgs) - - __props__.__dict__["connectivity_time"] = None - __props__.__dict__["dynamic_learning"] = None - __props__.__dict__["learning_mode"] = None - __props__.__dict__["name"] = None - __props__.__dict__["sensor_status"] = None - __props__.__dict__["sensor_type"] = None - __props__.__dict__["sensor_version"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["ti_automatic_updates"] = None - __props__.__dict__["ti_status"] = None - __props__.__dict__["ti_version"] = None - __props__.__dict__["type"] = None - __props__.__dict__["zone"] = None - return Sensor(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="connectivityTime") - def connectivity_time(self) -> pulumi.Output[str]: - """ - Last connectivity time of the IoT sensor - """ - return pulumi.get(self, "connectivity_time") - - @property - @pulumi.getter(name="dynamicLearning") - def dynamic_learning(self) -> pulumi.Output[bool]: - """ - Dynamic mode status of the IoT sensor - """ - return pulumi.get(self, "dynamic_learning") - - @property - @pulumi.getter(name="learningMode") - def learning_mode(self) -> pulumi.Output[bool]: - """ - Learning mode status of the IoT sensor - """ - return pulumi.get(self, "learning_mode") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="sensorStatus") - def sensor_status(self) -> pulumi.Output[str]: - """ - Status of the IoT sensor - """ - return pulumi.get(self, "sensor_status") - - @property - @pulumi.getter(name="sensorType") - def sensor_type(self) -> pulumi.Output[Optional[str]]: - """ - Type of sensor - """ - return pulumi.get(self, "sensor_type") - - @property - @pulumi.getter(name="sensorVersion") - def sensor_version(self) -> pulumi.Output[str]: - """ - Version of the IoT sensor - """ - return pulumi.get(self, "sensor_version") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter(name="tiAutomaticUpdates") - def ti_automatic_updates(self) -> pulumi.Output[Optional[bool]]: - """ - TI Automatic mode status of the IoT sensor - """ - return pulumi.get(self, "ti_automatic_updates") - - @property - @pulumi.getter(name="tiStatus") - def ti_status(self) -> pulumi.Output[str]: - """ - TI Status of the IoT sensor - """ - return pulumi.get(self, "ti_status") - - @property - @pulumi.getter(name="tiVersion") - def ti_version(self) -> pulumi.Output[str]: - """ - TI Version of the IoT sensor - """ - return pulumi.get(self, "ti_version") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def zone(self) -> pulumi.Output[Optional[str]]: - """ - Zone of the IoT sensor - """ - return pulumi.get(self, "zone") - diff --git a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/site.py b/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/site.py deleted file mode 100644 index 2ec603ca3592..000000000000 --- a/sdk/python/pulumi_azure_native/iotsecurity/v20210201preview/site.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = ['SiteArgs', 'Site'] - -@pulumi.input_type -class SiteArgs: - def __init__(__self__, *, - display_name: pulumi.Input[str], - scope: pulumi.Input[str], - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a Site resource. - :param pulumi.Input[str] display_name: Display name of the IoT site - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags of the IoT site - """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "scope", scope) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Input[str]: - """ - Display name of the IoT site - """ - return pulumi.get(self, "display_name") - - @display_name.setter - def display_name(self, value: pulumi.Input[str]): - pulumi.set(self, "display_name", value) - - @property - @pulumi.getter - def scope(self) -> pulumi.Input[str]: - """ - Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - """ - return pulumi.get(self, "scope") - - @scope.setter - def scope(self, value: pulumi.Input[str]): - pulumi.set(self, "scope", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Tags of the IoT site - """ - 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 Site(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - display_name: Optional[pulumi.Input[str]] = None, - scope: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None): - """ - IoT site model - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] display_name: Display name of the IoT site - :param pulumi.Input[str] scope: Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags of the IoT site - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SiteArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - IoT site model - - :param str resource_name: The name of the resource. - :param SiteArgs 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(SiteArgs, 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, - display_name: Optional[pulumi.Input[str]] = None, - scope: 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): - 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__ = SiteArgs.__new__(SiteArgs) - - if display_name is None and not opts.urn: - raise TypeError("Missing required property 'display_name'") - __props__.__dict__["display_name"] = display_name - if scope is None and not opts.urn: - raise TypeError("Missing required property 'scope'") - __props__.__dict__["scope"] = scope - __props__.__dict__["tags"] = tags - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:iotsecurity:Site")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(Site, __self__).__init__( - 'azure-native:iotsecurity/v20210201preview:Site', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'Site': - """ - Get an existing Site 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = SiteArgs.__new__(SiteArgs) - - __props__.__dict__["display_name"] = None - __props__.__dict__["name"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["type"] = None - return Site(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Output[str]: - """ - Display name of the IoT site - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - Tags of the IoT site - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/keyvault/_enums.py b/sdk/python/pulumi_azure_native/keyvault/_enums.py index e1e3b66f05ac..e45447f99707 100644 --- a/sdk/python/pulumi_azure_native/keyvault/_enums.py +++ b/sdk/python/pulumi_azure_native/keyvault/_enums.py @@ -122,11 +122,11 @@ class KeyPermissions(str, Enum): class KeyRotationPolicyActionType(str, Enum): """ - The type of the action. + The type of the action. The value should be compared case-insensitively. """ ROTATE = "Rotate" """ - Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead. + Rotate the key based on the key policy. """ NOTIFY = "Notify" """ diff --git a/sdk/python/pulumi_azure_native/keyvault/_inputs.py b/sdk/python/pulumi_azure_native/keyvault/_inputs.py index 31e5e24b68b7..14c5e5cb05e3 100644 --- a/sdk/python/pulumi_azure_native/keyvault/_inputs.py +++ b/sdk/python/pulumi_azure_native/keyvault/_inputs.py @@ -112,7 +112,7 @@ class ActionArgs: def __init__(__self__, *, type: Optional[pulumi.Input['KeyRotationPolicyActionType']] = None): """ - :param pulumi.Input['KeyRotationPolicyActionType'] type: The type of the action. + :param pulumi.Input['KeyRotationPolicyActionType'] type: The type of the action. The value should be compared case-insensitively. """ if type is not None: pulumi.set(__self__, "type", type) @@ -121,7 +121,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> Optional[pulumi.Input['KeyRotationPolicyActionType']]: """ - The type of the action. + The type of the action. The value should be compared case-insensitively. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azure_native/keyvault/outputs.py b/sdk/python/pulumi_azure_native/keyvault/outputs.py index 98cc349d87a4..d11148e444d4 100644 --- a/sdk/python/pulumi_azure_native/keyvault/outputs.py +++ b/sdk/python/pulumi_azure_native/keyvault/outputs.py @@ -126,7 +126,7 @@ class ActionResponse(dict): def __init__(__self__, *, type: Optional[str] = None): """ - :param str type: The type of the action. + :param str type: The type of the action. The value should be compared case-insensitively. """ if type is not None: pulumi.set(__self__, "type", type) @@ -135,7 +135,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> Optional[str]: """ - The type of the action. + The type of the action. The value should be compared case-insensitively. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azure_native/keyvault/v20230201/_enums.py b/sdk/python/pulumi_azure_native/keyvault/v20230201/_enums.py index e1e3b66f05ac..e45447f99707 100644 --- a/sdk/python/pulumi_azure_native/keyvault/v20230201/_enums.py +++ b/sdk/python/pulumi_azure_native/keyvault/v20230201/_enums.py @@ -122,11 +122,11 @@ class KeyPermissions(str, Enum): class KeyRotationPolicyActionType(str, Enum): """ - The type of the action. + The type of the action. The value should be compared case-insensitively. """ ROTATE = "Rotate" """ - Rotate the key based on the key policy. Key Vault only. Managed HSM uses camelCase 'rotate' instead. + Rotate the key based on the key policy. """ NOTIFY = "Notify" """ diff --git a/sdk/python/pulumi_azure_native/keyvault/v20230201/_inputs.py b/sdk/python/pulumi_azure_native/keyvault/v20230201/_inputs.py index d0b8a8a6a1b9..41f1edde50fe 100644 --- a/sdk/python/pulumi_azure_native/keyvault/v20230201/_inputs.py +++ b/sdk/python/pulumi_azure_native/keyvault/v20230201/_inputs.py @@ -112,7 +112,7 @@ class ActionArgs: def __init__(__self__, *, type: Optional[pulumi.Input['KeyRotationPolicyActionType']] = None): """ - :param pulumi.Input['KeyRotationPolicyActionType'] type: The type of the action. + :param pulumi.Input['KeyRotationPolicyActionType'] type: The type of the action. The value should be compared case-insensitively. """ if type is not None: pulumi.set(__self__, "type", type) @@ -121,7 +121,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> Optional[pulumi.Input['KeyRotationPolicyActionType']]: """ - The type of the action. + The type of the action. The value should be compared case-insensitively. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azure_native/keyvault/v20230201/outputs.py b/sdk/python/pulumi_azure_native/keyvault/v20230201/outputs.py index b767ff5099cc..52963e530f61 100644 --- a/sdk/python/pulumi_azure_native/keyvault/v20230201/outputs.py +++ b/sdk/python/pulumi_azure_native/keyvault/v20230201/outputs.py @@ -126,7 +126,7 @@ class ActionResponse(dict): def __init__(__self__, *, type: Optional[str] = None): """ - :param str type: The type of the action. + :param str type: The type of the action. The value should be compared case-insensitively. """ if type is not None: pulumi.set(__self__, "type", type) @@ -135,7 +135,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> Optional[str]: """ - The type of the action. + The type of the action. The value should be compared case-insensitively. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_azure_native/kusto/__init__.py b/sdk/python/pulumi_azure_native/kusto/__init__.py index 2605980f74f1..df91d59db099 100644 --- a/sdk/python/pulumi_azure_native/kusto/__init__.py +++ b/sdk/python/pulumi_azure_native/kusto/__init__.py @@ -27,6 +27,7 @@ from .get_private_endpoint_connection import * from .get_read_only_following_database import * from .get_read_write_database import * +from .get_sandbox_custom_image import * from .get_script import * from .iot_hub_data_connection import * from .list_cluster_follower_databases import * @@ -36,6 +37,7 @@ from .private_endpoint_connection import * from .read_only_following_database import * from .read_write_database import * +from .sandbox_custom_image import * from .script import * from ._inputs import * from . import outputs @@ -60,6 +62,8 @@ v20221229 = __v20221229 import pulumi_azure_native.kusto.v20230502 as __v20230502 v20230502 = __v20230502 + import pulumi_azure_native.kusto.v20230815 as __v20230815 + v20230815 = __v20230815 else: v20180907preview = _utilities.lazy_import('pulumi_azure_native.kusto.v20180907preview') v20190515 = _utilities.lazy_import('pulumi_azure_native.kusto.v20190515') @@ -70,4 +74,5 @@ v20220707 = _utilities.lazy_import('pulumi_azure_native.kusto.v20220707') v20221229 = _utilities.lazy_import('pulumi_azure_native.kusto.v20221229') v20230502 = _utilities.lazy_import('pulumi_azure_native.kusto.v20230502') + v20230815 = _utilities.lazy_import('pulumi_azure_native.kusto.v20230815') diff --git a/sdk/python/pulumi_azure_native/kusto/_enums.py b/sdk/python/pulumi_azure_native/kusto/_enums.py index 9fd13e1e63c9..13d9d12592bf 100644 --- a/sdk/python/pulumi_azure_native/kusto/_enums.py +++ b/sdk/python/pulumi_azure_native/kusto/_enums.py @@ -22,6 +22,7 @@ 'IdentityType', 'IotHubDataFormat', 'Kind', + 'Language', 'LanguageExtensionImageName', 'LanguageExtensionName', 'PrincipalType', @@ -280,6 +281,13 @@ class Kind(str, Enum): READ_ONLY_FOLLOWING = "ReadOnlyFollowing" +class Language(str, Enum): + """ + The language name, for example Python. + """ + PYTHON = "Python" + + class LanguageExtensionImageName(str, Enum): """ The language extension image name. diff --git a/sdk/python/pulumi_azure_native/kusto/attached_database_configuration.py b/sdk/python/pulumi_azure_native/kusto/attached_database_configuration.py index 9e5268792872..d86eeb0a3700 100644 --- a/sdk/python/pulumi_azure_native/kusto/attached_database_configuration.py +++ b/sdk/python/pulumi_azure_native/kusto/attached_database_configuration.py @@ -278,7 +278,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221229:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230502:AttachedDatabaseConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221229:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230502:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230815:AttachedDatabaseConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AttachedDatabaseConfiguration, __self__).__init__( 'azure-native:kusto:AttachedDatabaseConfiguration', diff --git a/sdk/python/pulumi_azure_native/kusto/cluster.py b/sdk/python/pulumi_azure_native/kusto/cluster.py index c5bbbef17dc9..b7c88330003a 100644 --- a/sdk/python/pulumi_azure_native/kusto/cluster.py +++ b/sdk/python/pulumi_azure_native/kusto/cluster.py @@ -617,7 +617,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uri"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230815:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:kusto:Cluster', diff --git a/sdk/python/pulumi_azure_native/kusto/cluster_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/cluster_principal_assignment.py index a4b30988fed1..7a252beb57f4 100644 --- a/sdk/python/pulumi_azure_native/kusto/cluster_principal_assignment.py +++ b/sdk/python/pulumi_azure_native/kusto/cluster_principal_assignment.py @@ -218,7 +218,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["tenant_name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:ClusterPrincipalAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230815:ClusterPrincipalAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ClusterPrincipalAssignment, __self__).__init__( 'azure-native:kusto:ClusterPrincipalAssignment', diff --git a/sdk/python/pulumi_azure_native/kusto/cosmos_db_data_connection.py b/sdk/python/pulumi_azure_native/kusto/cosmos_db_data_connection.py index ffdc41c80de6..d7b6a8ebd25c 100644 --- a/sdk/python/pulumi_azure_native/kusto/cosmos_db_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/cosmos_db_data_connection.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:CosmosDbDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:CosmosDbDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CosmosDbDataConnection, __self__).__init__( 'azure-native:kusto:CosmosDbDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/database_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/database_principal_assignment.py index 9f8bd2748c5a..47df06570f56 100644 --- a/sdk/python/pulumi_azure_native/kusto/database_principal_assignment.py +++ b/sdk/python/pulumi_azure_native/kusto/database_principal_assignment.py @@ -239,7 +239,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["tenant_name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:DatabasePrincipalAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230815:DatabasePrincipalAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabasePrincipalAssignment, __self__).__init__( 'azure-native:kusto:DatabasePrincipalAssignment', diff --git a/sdk/python/pulumi_azure_native/kusto/event_grid_data_connection.py b/sdk/python/pulumi_azure_native/kusto/event_grid_data_connection.py index a7177891cb4f..4f37532ba423 100644 --- a/sdk/python/pulumi_azure_native/kusto/event_grid_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/event_grid_data_connection.py @@ -425,7 +425,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventGridDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventGridDataConnection, __self__).__init__( 'azure-native:kusto:EventGridDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/event_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/event_hub_data_connection.py index 99dd5971b0eb..2464f2dc6ee2 100644 --- a/sdk/python/pulumi_azure_native/kusto/event_hub_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/event_hub_data_connection.py @@ -404,7 +404,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventHubDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventHubDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventHubDataConnection, __self__).__init__( 'azure-native:kusto:EventHubDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/get_sandbox_custom_image.py b/sdk/python/pulumi_azure_native/kusto/get_sandbox_custom_image.py new file mode 100644 index 000000000000..995ebfb75ef9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/get_sandbox_custom_image.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetSandboxCustomImageResult', + 'AwaitableGetSandboxCustomImageResult', + 'get_sandbox_custom_image', + 'get_sandbox_custom_image_output', +] + +@pulumi.output_type +class GetSandboxCustomImageResult: + """ + Class representing a Kusto sandbox custom image. + """ + def __init__(__self__, id=None, language=None, language_version=None, name=None, provisioning_state=None, requirements_file_content=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if language and not isinstance(language, str): + raise TypeError("Expected argument 'language' to be a str") + pulumi.set(__self__, "language", language) + if language_version and not isinstance(language_version, str): + raise TypeError("Expected argument 'language_version' to be a str") + pulumi.set(__self__, "language_version", language_version) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if requirements_file_content and not isinstance(requirements_file_content, str): + raise TypeError("Expected argument 'requirements_file_content' to be a str") + pulumi.set(__self__, "requirements_file_content", requirements_file_content) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def language(self) -> str: + """ + The language name, for example Python. + """ + return pulumi.get(self, "language") + + @property + @pulumi.getter(name="languageVersion") + def language_version(self) -> str: + """ + The version of the language. + """ + return pulumi.get(self, "language_version") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requirementsFileContent") + def requirements_file_content(self) -> Optional[str]: + """ + The requirements file content. + """ + return pulumi.get(self, "requirements_file_content") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetSandboxCustomImageResult(GetSandboxCustomImageResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSandboxCustomImageResult( + id=self.id, + language=self.language, + language_version=self.language_version, + name=self.name, + provisioning_state=self.provisioning_state, + requirements_file_content=self.requirements_file_content, + type=self.type) + + +def get_sandbox_custom_image(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + sandbox_custom_image_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSandboxCustomImageResult: + """ + Returns a sandbox custom image + Azure REST API version: 2023-08-15. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str sandbox_custom_image_name: The name of the sandbox custom image. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + __args__['sandboxCustomImageName'] = sandbox_custom_image_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto:getSandboxCustomImage', __args__, opts=opts, typ=GetSandboxCustomImageResult).value + + return AwaitableGetSandboxCustomImageResult( + id=pulumi.get(__ret__, 'id'), + language=pulumi.get(__ret__, 'language'), + language_version=pulumi.get(__ret__, 'language_version'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + requirements_file_content=pulumi.get(__ret__, 'requirements_file_content'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sandbox_custom_image) +def get_sandbox_custom_image_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSandboxCustomImageResult]: + """ + Returns a sandbox custom image + Azure REST API version: 2023-08-15. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str sandbox_custom_image_name: The name of the sandbox custom image. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/iot_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/iot_hub_data_connection.py index 986b4103589e..c2c8f15aaf40 100644 --- a/sdk/python/pulumi_azure_native/kusto/iot_hub_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/iot_hub_data_connection.py @@ -384,7 +384,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:IotHubDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:IotHubDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubDataConnection, __self__).__init__( 'azure-native:kusto:IotHubDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/managed_private_endpoint.py b/sdk/python/pulumi_azure_native/kusto/managed_private_endpoint.py index 361dc20ba597..5bf1df8dd15f 100644 --- a/sdk/python/pulumi_azure_native/kusto/managed_private_endpoint.py +++ b/sdk/python/pulumi_azure_native/kusto/managed_private_endpoint.py @@ -215,7 +215,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221229:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230502:ManagedPrivateEndpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221229:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230502:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230815:ManagedPrivateEndpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedPrivateEndpoint, __self__).__init__( 'azure-native:kusto:ManagedPrivateEndpoint', diff --git a/sdk/python/pulumi_azure_native/kusto/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/kusto/private_endpoint_connection.py index 90ba8a495d0d..907186898427 100644 --- a/sdk/python/pulumi_azure_native/kusto/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/private_endpoint_connection.py @@ -157,7 +157,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:kusto:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/read_only_following_database.py b/sdk/python/pulumi_azure_native/kusto/read_only_following_database.py index a6b8f1bcd411..79f5aeb128ce 100644 --- a/sdk/python/pulumi_azure_native/kusto/read_only_following_database.py +++ b/sdk/python/pulumi_azure_native/kusto/read_only_following_database.py @@ -224,7 +224,7 @@ def _internal_init(__self__, __props__.__dict__["statistics"] = None __props__.__dict__["table_level_sharing_properties"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadOnlyFollowingDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadOnlyFollowingDatabase, __self__).__init__( 'azure-native:kusto:ReadOnlyFollowingDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/read_write_database.py b/sdk/python/pulumi_azure_native/kusto/read_write_database.py index d460fe9b13ed..0a51ffb53955 100644 --- a/sdk/python/pulumi_azure_native/kusto/read_write_database.py +++ b/sdk/python/pulumi_azure_native/kusto/read_write_database.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadWriteDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadWriteDatabase, __self__).__init__( 'azure-native:kusto:ReadWriteDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/sandbox_custom_image.py b/sdk/python/pulumi_azure_native/kusto/sandbox_custom_image.py new file mode 100644 index 000000000000..7dd6c6fb1c6d --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/sandbox_custom_image.py @@ -0,0 +1,276 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from ._enums import * + +__all__ = ['SandboxCustomImageArgs', 'SandboxCustomImage'] + +@pulumi.input_type +class SandboxCustomImageArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + language: pulumi.Input[Union[str, 'Language']], + language_version: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + requirements_file_content: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SandboxCustomImage resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[Union[str, 'Language']] language: The language name, for example Python. + :param pulumi.Input[str] language_version: The version of the language. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] requirements_file_content: The requirements file content. + :param pulumi.Input[str] sandbox_custom_image_name: The name of the sandbox custom image. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "language", language) + pulumi.set(__self__, "language_version", language_version) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if requirements_file_content is not None: + pulumi.set(__self__, "requirements_file_content", requirements_file_content) + if sandbox_custom_image_name is not None: + pulumi.set(__self__, "sandbox_custom_image_name", sandbox_custom_image_name) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter + def language(self) -> pulumi.Input[Union[str, 'Language']]: + """ + The language name, for example Python. + """ + return pulumi.get(self, "language") + + @language.setter + def language(self, value: pulumi.Input[Union[str, 'Language']]): + pulumi.set(self, "language", value) + + @property + @pulumi.getter(name="languageVersion") + def language_version(self) -> pulumi.Input[str]: + """ + The version of the language. + """ + return pulumi.get(self, "language_version") + + @language_version.setter + def language_version(self, value: pulumi.Input[str]): + pulumi.set(self, "language_version", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="requirementsFileContent") + def requirements_file_content(self) -> Optional[pulumi.Input[str]]: + """ + The requirements file content. + """ + return pulumi.get(self, "requirements_file_content") + + @requirements_file_content.setter + def requirements_file_content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements_file_content", value) + + @property + @pulumi.getter(name="sandboxCustomImageName") + def sandbox_custom_image_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the sandbox custom image. + """ + return pulumi.get(self, "sandbox_custom_image_name") + + @sandbox_custom_image_name.setter + def sandbox_custom_image_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sandbox_custom_image_name", value) + + +class SandboxCustomImage(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + language: Optional[pulumi.Input[Union[str, 'Language']]] = None, + language_version: Optional[pulumi.Input[str]] = None, + requirements_file_content: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a Kusto sandbox custom image. + Azure REST API version: 2023-08-15. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[Union[str, 'Language']] language: The language name, for example Python. + :param pulumi.Input[str] language_version: The version of the language. + :param pulumi.Input[str] requirements_file_content: The requirements file content. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] sandbox_custom_image_name: The name of the sandbox custom image. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SandboxCustomImageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a Kusto sandbox custom image. + Azure REST API version: 2023-08-15. + + :param str resource_name: The name of the resource. + :param SandboxCustomImageArgs 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(SandboxCustomImageArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + language: Optional[pulumi.Input[Union[str, 'Language']]] = None, + language_version: Optional[pulumi.Input[str]] = None, + requirements_file_content: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SandboxCustomImageArgs.__new__(SandboxCustomImageArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if language is None and not opts.urn: + raise TypeError("Missing required property 'language'") + __props__.__dict__["language"] = language + if language_version is None and not opts.urn: + raise TypeError("Missing required property 'language_version'") + __props__.__dict__["language_version"] = language_version + __props__.__dict__["requirements_file_content"] = requirements_file_content + 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__["sandbox_custom_image_name"] = sandbox_custom_image_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20230815:SandboxCustomImage")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SandboxCustomImage, __self__).__init__( + 'azure-native:kusto:SandboxCustomImage', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SandboxCustomImage': + """ + Get an existing SandboxCustomImage 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SandboxCustomImageArgs.__new__(SandboxCustomImageArgs) + + __props__.__dict__["language"] = None + __props__.__dict__["language_version"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["requirements_file_content"] = None + __props__.__dict__["type"] = None + return SandboxCustomImage(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def language(self) -> pulumi.Output[str]: + """ + The language name, for example Python. + """ + return pulumi.get(self, "language") + + @property + @pulumi.getter(name="languageVersion") + def language_version(self) -> pulumi.Output[str]: + """ + The version of the language. + """ + return pulumi.get(self, "language_version") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requirementsFileContent") + def requirements_file_content(self) -> pulumi.Output[Optional[str]]: + """ + The requirements file content. + """ + return pulumi.get(self, "requirements_file_content") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/script.py b/sdk/python/pulumi_azure_native/kusto/script.py index 291aef46a6c4..db8ca2e41081 100644 --- a/sdk/python/pulumi_azure_native/kusto/script.py +++ b/sdk/python/pulumi_azure_native/kusto/script.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script"), pulumi.Alias(type_="azure-native:kusto/v20230815:Script")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Script, __self__).__init__( 'azure-native:kusto:Script', diff --git a/sdk/python/pulumi_azure_native/kusto/v20180907preview/database.py b/sdk/python/pulumi_azure_native/kusto/v20180907preview/database.py index aed0a47a3e14..97490ac279e3 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20180907preview/database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20180907preview/database.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Database"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Database"), pulumi.Alias(type_="azure-native:kusto/v20190121:Database"), pulumi.Alias(type_="azure-native:kusto/v20190515:Database"), pulumi.Alias(type_="azure-native:kusto/v20190907:Database"), pulumi.Alias(type_="azure-native:kusto/v20191109:Database"), pulumi.Alias(type_="azure-native:kusto/v20200215:Database"), pulumi.Alias(type_="azure-native:kusto/v20200614:Database"), pulumi.Alias(type_="azure-native:kusto/v20200918:Database"), pulumi.Alias(type_="azure-native:kusto/v20210101:Database"), pulumi.Alias(type_="azure-native:kusto/v20210827:Database"), pulumi.Alias(type_="azure-native:kusto/v20220201:Database"), pulumi.Alias(type_="azure-native:kusto/v20220707:Database"), pulumi.Alias(type_="azure-native:kusto/v20221111:Database"), pulumi.Alias(type_="azure-native:kusto/v20221229:Database"), pulumi.Alias(type_="azure-native:kusto/v20230502:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Database"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Database"), pulumi.Alias(type_="azure-native:kusto/v20190121:Database"), pulumi.Alias(type_="azure-native:kusto/v20190515:Database"), pulumi.Alias(type_="azure-native:kusto/v20190907:Database"), pulumi.Alias(type_="azure-native:kusto/v20191109:Database"), pulumi.Alias(type_="azure-native:kusto/v20200215:Database"), pulumi.Alias(type_="azure-native:kusto/v20200614:Database"), pulumi.Alias(type_="azure-native:kusto/v20200918:Database"), pulumi.Alias(type_="azure-native:kusto/v20210101:Database"), pulumi.Alias(type_="azure-native:kusto/v20210827:Database"), pulumi.Alias(type_="azure-native:kusto/v20220201:Database"), pulumi.Alias(type_="azure-native:kusto/v20220707:Database"), pulumi.Alias(type_="azure-native:kusto/v20221111:Database"), pulumi.Alias(type_="azure-native:kusto/v20221229:Database"), pulumi.Alias(type_="azure-native:kusto/v20230502:Database"), pulumi.Alias(type_="azure-native:kusto/v20230815:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:kusto/v20180907preview:Database', diff --git a/sdk/python/pulumi_azure_native/kusto/v20190515/database.py b/sdk/python/pulumi_azure_native/kusto/v20190515/database.py index beebdd3d5005..59f1cc034ae5 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20190515/database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20190515/database.py @@ -191,7 +191,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Database"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Database"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Database"), pulumi.Alias(type_="azure-native:kusto/v20190121:Database"), pulumi.Alias(type_="azure-native:kusto/v20190907:Database"), pulumi.Alias(type_="azure-native:kusto/v20191109:Database"), pulumi.Alias(type_="azure-native:kusto/v20200215:Database"), pulumi.Alias(type_="azure-native:kusto/v20200614:Database"), pulumi.Alias(type_="azure-native:kusto/v20200918:Database"), pulumi.Alias(type_="azure-native:kusto/v20210101:Database"), pulumi.Alias(type_="azure-native:kusto/v20210827:Database"), pulumi.Alias(type_="azure-native:kusto/v20220201:Database"), pulumi.Alias(type_="azure-native:kusto/v20220707:Database"), pulumi.Alias(type_="azure-native:kusto/v20221111:Database"), pulumi.Alias(type_="azure-native:kusto/v20221229:Database"), pulumi.Alias(type_="azure-native:kusto/v20230502:Database")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Database"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Database"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Database"), pulumi.Alias(type_="azure-native:kusto/v20190121:Database"), pulumi.Alias(type_="azure-native:kusto/v20190907:Database"), pulumi.Alias(type_="azure-native:kusto/v20191109:Database"), pulumi.Alias(type_="azure-native:kusto/v20200215:Database"), pulumi.Alias(type_="azure-native:kusto/v20200614:Database"), pulumi.Alias(type_="azure-native:kusto/v20200918:Database"), pulumi.Alias(type_="azure-native:kusto/v20210101:Database"), pulumi.Alias(type_="azure-native:kusto/v20210827:Database"), pulumi.Alias(type_="azure-native:kusto/v20220201:Database"), pulumi.Alias(type_="azure-native:kusto/v20220707:Database"), pulumi.Alias(type_="azure-native:kusto/v20221111:Database"), pulumi.Alias(type_="azure-native:kusto/v20221229:Database"), pulumi.Alias(type_="azure-native:kusto/v20230502:Database"), pulumi.Alias(type_="azure-native:kusto/v20230815:Database")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Database, __self__).__init__( 'azure-native:kusto/v20190515:Database', diff --git a/sdk/python/pulumi_azure_native/kusto/v20190907/read_only_following_database.py b/sdk/python/pulumi_azure_native/kusto/v20190907/read_only_following_database.py index 59983e863094..4a4317da533f 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20190907/read_only_following_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20190907/read_only_following_database.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["soft_delete_period"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadOnlyFollowingDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadOnlyFollowingDatabase, __self__).__init__( 'azure-native:kusto/v20190907:ReadOnlyFollowingDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20190907/read_write_database.py b/sdk/python/pulumi_azure_native/kusto/v20190907/read_write_database.py index 60c5c2594e05..0982e8308063 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20190907/read_write_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20190907/read_write_database.py @@ -214,7 +214,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadWriteDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadWriteDatabase, __self__).__init__( 'azure-native:kusto/v20190907:ReadWriteDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20191109/read_write_database.py b/sdk/python/pulumi_azure_native/kusto/v20191109/read_write_database.py index 6c39df59cbfc..5d69f640fec3 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20191109/read_write_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20191109/read_write_database.py @@ -216,7 +216,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadWriteDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadWriteDatabase, __self__).__init__( 'azure-native:kusto/v20191109:ReadWriteDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20200215/event_grid_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20200215/event_grid_data_connection.py index 9bb575eecdfa..a40e40246fc0 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20200215/event_grid_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20200215/event_grid_data_connection.py @@ -319,7 +319,7 @@ def _internal_init(__self__, __props__.__dict__["table_name"] = table_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventGridDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventGridDataConnection, __self__).__init__( 'azure-native:kusto/v20200215:EventGridDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20210827/script.py b/sdk/python/pulumi_azure_native/kusto/v20210827/script.py index d0d051c307ce..bcf239e3ca7d 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20210827/script.py +++ b/sdk/python/pulumi_azure_native/kusto/v20210827/script.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script"), pulumi.Alias(type_="azure-native:kusto/v20230815:Script")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Script, __self__).__init__( 'azure-native:kusto/v20210827:Script', diff --git a/sdk/python/pulumi_azure_native/kusto/v20220707/cluster.py b/sdk/python/pulumi_azure_native/kusto/v20220707/cluster.py index 5811c2132374..0106af3dca92 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20220707/cluster.py +++ b/sdk/python/pulumi_azure_native/kusto/v20220707/cluster.py @@ -596,7 +596,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uri"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230815:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:kusto/v20220707:Cluster', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/attached_database_configuration.py b/sdk/python/pulumi_azure_native/kusto/v20221229/attached_database_configuration.py index f96e051d9663..ae5d824afb15 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/attached_database_configuration.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/attached_database_configuration.py @@ -276,7 +276,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230502:AttachedDatabaseConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230502:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230815:AttachedDatabaseConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AttachedDatabaseConfiguration, __self__).__init__( 'azure-native:kusto/v20221229:AttachedDatabaseConfiguration', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/cluster.py b/sdk/python/pulumi_azure_native/kusto/v20221229/cluster.py index 7a40bb6c1916..b8776a8768ec 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/cluster.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/cluster.py @@ -615,7 +615,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uri"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230815:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:kusto/v20221229:Cluster', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/cluster_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20221229/cluster_principal_assignment.py index e4160d9f3dc0..00fb36099763 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/cluster_principal_assignment.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/cluster_principal_assignment.py @@ -216,7 +216,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["tenant_name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:ClusterPrincipalAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230815:ClusterPrincipalAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ClusterPrincipalAssignment, __self__).__init__( 'azure-native:kusto/v20221229:ClusterPrincipalAssignment', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/cosmos_db_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20221229/cosmos_db_data_connection.py index 8b409a1514a5..a971f654fe6d 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/cosmos_db_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/cosmos_db_data_connection.py @@ -340,7 +340,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:CosmosDbDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:CosmosDbDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CosmosDbDataConnection, __self__).__init__( 'azure-native:kusto/v20221229:CosmosDbDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/database_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20221229/database_principal_assignment.py index 337af1d7be90..5906383b00de 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/database_principal_assignment.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/database_principal_assignment.py @@ -237,7 +237,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["tenant_name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:DatabasePrincipalAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230815:DatabasePrincipalAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabasePrincipalAssignment, __self__).__init__( 'azure-native:kusto/v20221229:DatabasePrincipalAssignment', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/event_grid_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20221229/event_grid_data_connection.py index 106d7b57854e..1b4c7b99bf58 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/event_grid_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/event_grid_data_connection.py @@ -423,7 +423,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventGridDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventGridDataConnection, __self__).__init__( 'azure-native:kusto/v20221229:EventGridDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/event_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20221229/event_hub_data_connection.py index a3535b214b42..165aa571de18 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/event_hub_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/event_hub_data_connection.py @@ -402,7 +402,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventHubDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventHubDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventHubDataConnection, __self__).__init__( 'azure-native:kusto/v20221229:EventHubDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/iot_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20221229/iot_hub_data_connection.py index e28e3ce0407f..e957168f28e1 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/iot_hub_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/iot_hub_data_connection.py @@ -382,7 +382,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:IotHubDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:IotHubDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubDataConnection, __self__).__init__( 'azure-native:kusto/v20221229:IotHubDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/managed_private_endpoint.py b/sdk/python/pulumi_azure_native/kusto/v20221229/managed_private_endpoint.py index 7d2bfdf07c5c..bb47e49bb202 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/managed_private_endpoint.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/managed_private_endpoint.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230502:ManagedPrivateEndpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230502:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230815:ManagedPrivateEndpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedPrivateEndpoint, __self__).__init__( 'azure-native:kusto/v20221229:ManagedPrivateEndpoint', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/kusto/v20221229/private_endpoint_connection.py index 95cae8c02840..44ce7104903d 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/private_endpoint_connection.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:kusto/v20221229:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/read_only_following_database.py b/sdk/python/pulumi_azure_native/kusto/v20221229/read_only_following_database.py index 680c47a6a297..e1d9d22cab0b 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/read_only_following_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/read_only_following_database.py @@ -222,7 +222,7 @@ def _internal_init(__self__, __props__.__dict__["statistics"] = None __props__.__dict__["table_level_sharing_properties"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadOnlyFollowingDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadOnlyFollowingDatabase, __self__).__init__( 'azure-native:kusto/v20221229:ReadOnlyFollowingDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/read_write_database.py b/sdk/python/pulumi_azure_native/kusto/v20221229/read_write_database.py index ac6f9023045d..a07900f506c2 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/read_write_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/read_write_database.py @@ -236,7 +236,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["statistics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadWriteDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadWriteDatabase, __self__).__init__( 'azure-native:kusto/v20221229:ReadWriteDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20221229/script.py b/sdk/python/pulumi_azure_native/kusto/v20221229/script.py index 8a3bcf5ce445..5ed935051e44 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20221229/script.py +++ b/sdk/python/pulumi_azure_native/kusto/v20221229/script.py @@ -256,7 +256,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script"), pulumi.Alias(type_="azure-native:kusto/v20230815:Script")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Script, __self__).__init__( 'azure-native:kusto/v20221229:Script', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/attached_database_configuration.py b/sdk/python/pulumi_azure_native/kusto/v20230502/attached_database_configuration.py index d0e78595f84c..e14e7c728efc 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/attached_database_configuration.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/attached_database_configuration.py @@ -276,7 +276,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221229:AttachedDatabaseConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221229:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230815:AttachedDatabaseConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AttachedDatabaseConfiguration, __self__).__init__( 'azure-native:kusto/v20230502:AttachedDatabaseConfiguration', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/cluster.py b/sdk/python/pulumi_azure_native/kusto/v20230502/cluster.py index 7c60d3734d58..296bd9e2fc8b 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/cluster.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/cluster.py @@ -616,7 +616,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["uri"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230815:Cluster")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Cluster, __self__).__init__( 'azure-native:kusto/v20230502:Cluster', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/cluster_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20230502/cluster_principal_assignment.py index 39466ef27400..502604c42383 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/cluster_principal_assignment.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/cluster_principal_assignment.py @@ -216,7 +216,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["tenant_name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:ClusterPrincipalAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230815:ClusterPrincipalAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ClusterPrincipalAssignment, __self__).__init__( 'azure-native:kusto/v20230502:ClusterPrincipalAssignment', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/cosmos_db_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230502/cosmos_db_data_connection.py index 8b4fa8d75e67..23ee30f6b4f1 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/cosmos_db_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/cosmos_db_data_connection.py @@ -340,7 +340,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:CosmosDbDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:CosmosDbDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CosmosDbDataConnection, __self__).__init__( 'azure-native:kusto/v20230502:CosmosDbDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/database_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20230502/database_principal_assignment.py index 0cdef8334ccc..b426495ee92c 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/database_principal_assignment.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/database_principal_assignment.py @@ -237,7 +237,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["tenant_name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:DatabasePrincipalAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230815:DatabasePrincipalAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(DatabasePrincipalAssignment, __self__).__init__( 'azure-native:kusto/v20230502:DatabasePrincipalAssignment', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/event_grid_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230502/event_grid_data_connection.py index 72f15058661d..bf3773f3f83f 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/event_grid_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/event_grid_data_connection.py @@ -423,7 +423,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventGridDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventGridDataConnection, __self__).__init__( 'azure-native:kusto/v20230502:EventGridDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/event_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230502/event_hub_data_connection.py index 658fcf3c693b..dbc386bb495a 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/event_hub_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/event_hub_data_connection.py @@ -402,7 +402,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventHubDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:EventHubDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EventHubDataConnection, __self__).__init__( 'azure-native:kusto/v20230502:EventHubDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/iot_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230502/iot_hub_data_connection.py index a3f2623daac5..04c0dc5d82c0 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/iot_hub_data_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/iot_hub_data_connection.py @@ -382,7 +382,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["provisioning_state"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:IotHubDataConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:IotHubDataConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IotHubDataConnection, __self__).__init__( 'azure-native:kusto/v20230502:IotHubDataConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/managed_private_endpoint.py b/sdk/python/pulumi_azure_native/kusto/v20230502/managed_private_endpoint.py index 92b355fc4bee..ef562de2ba39 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/managed_private_endpoint.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/managed_private_endpoint.py @@ -213,7 +213,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221229:ManagedPrivateEndpoint")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221229:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230815:ManagedPrivateEndpoint")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ManagedPrivateEndpoint, __self__).__init__( 'azure-native:kusto/v20230502:ManagedPrivateEndpoint', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230502/private_endpoint_connection.py index 95f25d1baa06..ed935e1e527f 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/private_endpoint_connection.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230815:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:kusto/v20230502:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/read_only_following_database.py b/sdk/python/pulumi_azure_native/kusto/v20230502/read_only_following_database.py index 8d9e43f35d88..46b173ca7ff7 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/read_only_following_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/read_only_following_database.py @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["suspension_details"] = None __props__.__dict__["table_level_sharing_properties"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadOnlyFollowingDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadOnlyFollowingDatabase, __self__).__init__( 'azure-native:kusto/v20230502:ReadOnlyFollowingDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/read_write_database.py b/sdk/python/pulumi_azure_native/kusto/v20230502/read_write_database.py index 8494aebb3fdd..b8073e68a8e0 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/read_write_database.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/read_write_database.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["statistics"] = None __props__.__dict__["suspension_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230815:ReadWriteDatabase")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ReadWriteDatabase, __self__).__init__( 'azure-native:kusto/v20230502:ReadWriteDatabase', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230502/script.py b/sdk/python/pulumi_azure_native/kusto/v20230502/script.py index a87a0d4e0949..48ef25056a83 100644 --- a/sdk/python/pulumi_azure_native/kusto/v20230502/script.py +++ b/sdk/python/pulumi_azure_native/kusto/v20230502/script.py @@ -256,7 +256,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script"), pulumi.Alias(type_="azure-native:kusto/v20230815:Script")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Script, __self__).__init__( 'azure-native:kusto/v20230502:Script', diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/__init__.py b/sdk/python/pulumi_azure_native/kusto/v20230815/__init__.py new file mode 100644 index 000000000000..3b70459b510b --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/__init__.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .attached_database_configuration import * +from .cluster import * +from .cluster_principal_assignment import * +from .cosmos_db_data_connection import * +from .database_principal_assignment import * +from .event_grid_data_connection import * +from .event_hub_data_connection import * +from .get_attached_database_configuration import * +from .get_cluster import * +from .get_cluster_principal_assignment import * +from .get_cosmos_db_data_connection import * +from .get_database_principal_assignment import * +from .get_event_grid_data_connection import * +from .get_event_hub_data_connection import * +from .get_iot_hub_data_connection import * +from .get_managed_private_endpoint import * +from .get_private_endpoint_connection import * +from .get_read_only_following_database import * +from .get_read_write_database import * +from .get_sandbox_custom_image import * +from .get_script import * +from .iot_hub_data_connection import * +from .list_cluster_follower_databases import * +from .list_cluster_language_extensions import * +from .list_database_principals import * +from .managed_private_endpoint import * +from .private_endpoint_connection import * +from .read_only_following_database import * +from .read_write_database import * +from .sandbox_custom_image import * +from .script import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/_enums.py b/sdk/python/pulumi_azure_native/kusto/v20230815/_enums.py new file mode 100644 index 000000000000..9c3d364f2301 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/_enums.py @@ -0,0 +1,331 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AzureSkuName', + 'AzureSkuTier', + 'BlobStorageEventType', + 'ClusterNetworkAccessFlag', + 'ClusterPrincipalRole', + 'Compression', + 'DataConnectionKind', + 'DatabasePrincipalRole', + 'DatabaseRouting', + 'DefaultPrincipalsModificationKind', + 'EngineType', + 'EventGridDataFormat', + 'EventHubDataFormat', + 'IdentityType', + 'IotHubDataFormat', + 'Kind', + 'Language', + 'LanguageExtensionImageName', + 'LanguageExtensionName', + 'PrincipalType', + 'PublicIPType', + 'PublicNetworkAccess', + 'VnetState', +] + + +class AzureSkuName(str, Enum): + """ + SKU name. + """ + DEV_NO_SL_A_STANDARD_D11_V2 = "Dev(No SLA)_Standard_D11_v2" + DEV_NO_SL_A_STANDARD_E2A_V4 = "Dev(No SLA)_Standard_E2a_v4" + STANDARD_D11_V2 = "Standard_D11_v2" + STANDARD_D12_V2 = "Standard_D12_v2" + STANDARD_D13_V2 = "Standard_D13_v2" + STANDARD_D14_V2 = "Standard_D14_v2" + STANDARD_D32D_V4 = "Standard_D32d_v4" + STANDARD_D16D_V5 = "Standard_D16d_v5" + STANDARD_D32D_V5 = "Standard_D32d_v5" + STANDARD_DS13_V2_1_T_B_PS = "Standard_DS13_v2+1TB_PS" + STANDARD_DS13_V2_2_T_B_PS = "Standard_DS13_v2+2TB_PS" + STANDARD_DS14_V2_3_T_B_PS = "Standard_DS14_v2+3TB_PS" + STANDARD_DS14_V2_4_T_B_PS = "Standard_DS14_v2+4TB_PS" + STANDARD_L4S = "Standard_L4s" + STANDARD_L8S = "Standard_L8s" + STANDARD_L16S = "Standard_L16s" + STANDARD_L8S_V2 = "Standard_L8s_v2" + STANDARD_L16S_V2 = "Standard_L16s_v2" + STANDARD_L8S_V3 = "Standard_L8s_v3" + STANDARD_L16S_V3 = "Standard_L16s_v3" + STANDARD_L32S_V3 = "Standard_L32s_v3" + STANDARD_L8AS_V3 = "Standard_L8as_v3" + STANDARD_L16AS_V3 = "Standard_L16as_v3" + STANDARD_L32AS_V3 = "Standard_L32as_v3" + STANDARD_E64I_V3 = "Standard_E64i_v3" + STANDARD_E80IDS_V4 = "Standard_E80ids_v4" + STANDARD_E2A_V4 = "Standard_E2a_v4" + STANDARD_E4A_V4 = "Standard_E4a_v4" + STANDARD_E8A_V4 = "Standard_E8a_v4" + STANDARD_E16A_V4 = "Standard_E16a_v4" + STANDARD_E8AS_V4_1_T_B_PS = "Standard_E8as_v4+1TB_PS" + STANDARD_E8AS_V4_2_T_B_PS = "Standard_E8as_v4+2TB_PS" + STANDARD_E16AS_V4_3_T_B_PS = "Standard_E16as_v4+3TB_PS" + STANDARD_E16AS_V4_4_T_B_PS = "Standard_E16as_v4+4TB_PS" + STANDARD_E8AS_V5_1_T_B_PS = "Standard_E8as_v5+1TB_PS" + STANDARD_E8AS_V5_2_T_B_PS = "Standard_E8as_v5+2TB_PS" + STANDARD_E16AS_V5_3_T_B_PS = "Standard_E16as_v5+3TB_PS" + STANDARD_E16AS_V5_4_T_B_PS = "Standard_E16as_v5+4TB_PS" + STANDARD_E2ADS_V5 = "Standard_E2ads_v5" + STANDARD_E4ADS_V5 = "Standard_E4ads_v5" + STANDARD_E8ADS_V5 = "Standard_E8ads_v5" + STANDARD_E16ADS_V5 = "Standard_E16ads_v5" + STANDARD_EC8AS_V5_1_T_B_PS = "Standard_EC8as_v5+1TB_PS" + STANDARD_EC8AS_V5_2_T_B_PS = "Standard_EC8as_v5+2TB_PS" + STANDARD_EC16AS_V5_3_T_B_PS = "Standard_EC16as_v5+3TB_PS" + STANDARD_EC16AS_V5_4_T_B_PS = "Standard_EC16as_v5+4TB_PS" + STANDARD_EC8ADS_V5 = "Standard_EC8ads_v5" + STANDARD_EC16ADS_V5 = "Standard_EC16ads_v5" + STANDARD_E8S_V4_1_T_B_PS = "Standard_E8s_v4+1TB_PS" + STANDARD_E8S_V4_2_T_B_PS = "Standard_E8s_v4+2TB_PS" + STANDARD_E16S_V4_3_T_B_PS = "Standard_E16s_v4+3TB_PS" + STANDARD_E16S_V4_4_T_B_PS = "Standard_E16s_v4+4TB_PS" + STANDARD_E8S_V5_1_T_B_PS = "Standard_E8s_v5+1TB_PS" + STANDARD_E8S_V5_2_T_B_PS = "Standard_E8s_v5+2TB_PS" + STANDARD_E16S_V5_3_T_B_PS = "Standard_E16s_v5+3TB_PS" + STANDARD_E16S_V5_4_T_B_PS = "Standard_E16s_v5+4TB_PS" + STANDARD_E2D_V4 = "Standard_E2d_v4" + STANDARD_E4D_V4 = "Standard_E4d_v4" + STANDARD_E8D_V4 = "Standard_E8d_v4" + STANDARD_E16D_V4 = "Standard_E16d_v4" + STANDARD_E2D_V5 = "Standard_E2d_v5" + STANDARD_E4D_V5 = "Standard_E4d_v5" + STANDARD_E8D_V5 = "Standard_E8d_v5" + STANDARD_E16D_V5 = "Standard_E16d_v5" + + +class AzureSkuTier(str, Enum): + """ + SKU tier. + """ + BASIC = "Basic" + STANDARD = "Standard" + + +class BlobStorageEventType(str, Enum): + """ + The name of blob storage event type to process. + """ + MICROSOFT_STORAGE_BLOB_CREATED = "Microsoft.Storage.BlobCreated" + MICROSOFT_STORAGE_BLOB_RENAMED = "Microsoft.Storage.BlobRenamed" + + +class ClusterNetworkAccessFlag(str, Enum): + """ + Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class ClusterPrincipalRole(str, Enum): + """ + Cluster principal role. + """ + ALL_DATABASES_ADMIN = "AllDatabasesAdmin" + ALL_DATABASES_VIEWER = "AllDatabasesViewer" + + +class Compression(str, Enum): + """ + The event hub messages compression type + """ + NONE = "None" + G_ZIP = "GZip" + + +class DataConnectionKind(str, Enum): + """ + Kind of the endpoint for the data connection + """ + EVENT_HUB = "EventHub" + EVENT_GRID = "EventGrid" + IOT_HUB = "IotHub" + COSMOS_DB = "CosmosDb" + + +class DatabasePrincipalRole(str, Enum): + """ + Database principal role. + """ + ADMIN = "Admin" + INGESTOR = "Ingestor" + MONITOR = "Monitor" + USER = "User" + UNRESTRICTED_VIEWER = "UnrestrictedViewer" + VIEWER = "Viewer" + + +class DatabaseRouting(str, Enum): + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + SINGLE = "Single" + MULTI = "Multi" + + +class DefaultPrincipalsModificationKind(str, Enum): + """ + The default principals modification kind + """ + UNION = "Union" + REPLACE = "Replace" + NONE = "None" + + +class EngineType(str, Enum): + """ + The engine type + """ + V2 = "V2" + V3 = "V3" + + +class EventGridDataFormat(str, Enum): + """ + The data format of the message. Optionally the data format can be added to each message. + """ + MULTIJSON = "MULTIJSON" + JSON = "JSON" + CSV = "CSV" + TSV = "TSV" + SCSV = "SCSV" + SOHSV = "SOHSV" + PSV = "PSV" + TXT = "TXT" + RAW = "RAW" + SINGLEJSON = "SINGLEJSON" + AVRO = "AVRO" + TSVE = "TSVE" + PARQUET = "PARQUET" + ORC = "ORC" + APACHEAVRO = "APACHEAVRO" + W3_CLOGFILE = "W3CLOGFILE" + + +class EventHubDataFormat(str, Enum): + """ + The data format of the message. Optionally the data format can be added to each message. + """ + MULTIJSON = "MULTIJSON" + JSON = "JSON" + CSV = "CSV" + TSV = "TSV" + SCSV = "SCSV" + SOHSV = "SOHSV" + PSV = "PSV" + TXT = "TXT" + RAW = "RAW" + SINGLEJSON = "SINGLEJSON" + AVRO = "AVRO" + TSVE = "TSVE" + PARQUET = "PARQUET" + ORC = "ORC" + APACHEAVRO = "APACHEAVRO" + W3_CLOGFILE = "W3CLOGFILE" + + +class IdentityType(str, Enum): + """ + The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + """ + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + + +class IotHubDataFormat(str, Enum): + """ + The data format of the message. Optionally the data format can be added to each message. + """ + MULTIJSON = "MULTIJSON" + JSON = "JSON" + CSV = "CSV" + TSV = "TSV" + SCSV = "SCSV" + SOHSV = "SOHSV" + PSV = "PSV" + TXT = "TXT" + RAW = "RAW" + SINGLEJSON = "SINGLEJSON" + AVRO = "AVRO" + TSVE = "TSVE" + PARQUET = "PARQUET" + ORC = "ORC" + APACHEAVRO = "APACHEAVRO" + W3_CLOGFILE = "W3CLOGFILE" + + +class Kind(str, Enum): + """ + Kind of the database + """ + READ_WRITE = "ReadWrite" + READ_ONLY_FOLLOWING = "ReadOnlyFollowing" + + +class Language(str, Enum): + """ + The language name, for example Python. + """ + PYTHON = "Python" + + +class LanguageExtensionImageName(str, Enum): + """ + The language extension image name. + """ + R = "R" + PYTHON3_6_5 = "Python3_6_5" + PYTHON3_10_8 = "Python3_10_8" + PYTHON3_10_8_DL = "Python3_10_8_DL" + PYTHON_CUSTOM_IMAGE = "PythonCustomImage" + + +class LanguageExtensionName(str, Enum): + """ + The language extension name. + """ + PYTHON = "PYTHON" + R = "R" + + +class PrincipalType(str, Enum): + """ + Principal type. + """ + APP = "App" + GROUP = "Group" + USER = "User" + + +class PublicIPType(str, Enum): + """ + Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + """ + I_PV4 = "IPv4" + DUAL_STACK = "DualStack" + + +class PublicNetworkAccess(str, Enum): + """ + Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class VnetState(str, Enum): + """ + When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/_inputs.py b/sdk/python/pulumi_azure_native/kusto/v20230815/_inputs.py new file mode 100644 index 000000000000..34c7534ea9e0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/_inputs.py @@ -0,0 +1,634 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'AcceptedAudiencesArgs', + 'AzureSkuArgs', + 'IdentityArgs', + 'KeyVaultPropertiesArgs', + 'LanguageExtensionsListArgs', + 'LanguageExtensionArgs', + 'OptimizedAutoscaleArgs', + 'PrivateLinkServiceConnectionStatePropertyArgs', + 'TableLevelSharingPropertiesArgs', + 'TrustedExternalTenantArgs', + 'VirtualNetworkConfigurationArgs', +] + +@pulumi.input_type +class AcceptedAudiencesArgs: + def __init__(__self__, *, + value: Optional[pulumi.Input[str]] = None): + """ + Represents an accepted audience trusted by the cluster. + :param pulumi.Input[str] value: GUID or valid URL representing an accepted audience. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + GUID or valid URL representing an accepted audience. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class AzureSkuArgs: + def __init__(__self__, *, + name: pulumi.Input[Union[str, 'AzureSkuName']], + tier: pulumi.Input[Union[str, 'AzureSkuTier']], + capacity: Optional[pulumi.Input[int]] = None): + """ + Azure SKU definition. + :param pulumi.Input[Union[str, 'AzureSkuName']] name: SKU name. + :param pulumi.Input[Union[str, 'AzureSkuTier']] tier: SKU tier. + :param pulumi.Input[int] capacity: The number of instances of the cluster. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[Union[str, 'AzureSkuName']]: + """ + SKU name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Union[str, 'AzureSkuName']]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tier(self) -> pulumi.Input[Union[str, 'AzureSkuTier']]: + """ + SKU tier. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: pulumi.Input[Union[str, 'AzureSkuTier']]): + pulumi.set(self, "tier", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[int]]: + """ + The number of instances of the cluster. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + +@pulumi.input_type +class IdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'IdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity for the resource. + :param pulumi.Input[Union[str, 'IdentityType']] type: The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'IdentityType']]: + """ + The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'IdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +@pulumi.input_type +class KeyVaultPropertiesArgs: + def __init__(__self__, *, + key_name: Optional[pulumi.Input[str]] = None, + key_vault_uri: Optional[pulumi.Input[str]] = None, + key_version: Optional[pulumi.Input[str]] = None, + user_identity: Optional[pulumi.Input[str]] = None): + """ + Properties of the key vault. + :param pulumi.Input[str] key_name: The name of the key vault key. + :param pulumi.Input[str] key_vault_uri: The Uri of the key vault. + :param pulumi.Input[str] key_version: The version of the key vault key. + :param pulumi.Input[str] user_identity: The user assigned identity (ARM resource id) that has access to the key. + """ + if key_name is not None: + pulumi.set(__self__, "key_name", key_name) + if key_vault_uri is not None: + pulumi.set(__self__, "key_vault_uri", key_vault_uri) + if key_version is not None: + pulumi.set(__self__, "key_version", key_version) + if user_identity is not None: + pulumi.set(__self__, "user_identity", user_identity) + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the key vault key. + """ + return pulumi.get(self, "key_name") + + @key_name.setter + def key_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_name", value) + + @property + @pulumi.getter(name="keyVaultUri") + def key_vault_uri(self) -> Optional[pulumi.Input[str]]: + """ + The Uri of the key vault. + """ + return pulumi.get(self, "key_vault_uri") + + @key_vault_uri.setter + def key_vault_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_uri", value) + + @property + @pulumi.getter(name="keyVersion") + def key_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the key vault key. + """ + return pulumi.get(self, "key_version") + + @key_version.setter + def key_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_version", value) + + @property + @pulumi.getter(name="userIdentity") + def user_identity(self) -> Optional[pulumi.Input[str]]: + """ + The user assigned identity (ARM resource id) that has access to the key. + """ + return pulumi.get(self, "user_identity") + + @user_identity.setter + def user_identity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_identity", value) + + +@pulumi.input_type +class LanguageExtensionsListArgs: + def __init__(__self__, *, + value: Optional[pulumi.Input[Sequence[pulumi.Input['LanguageExtensionArgs']]]] = None): + """ + The list of language extension objects. + :param pulumi.Input[Sequence[pulumi.Input['LanguageExtensionArgs']]] value: The list of language extensions. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LanguageExtensionArgs']]]]: + """ + The list of language extensions. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LanguageExtensionArgs']]]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class LanguageExtensionArgs: + def __init__(__self__, *, + language_extension_custom_image_name: Optional[pulumi.Input[str]] = None, + language_extension_image_name: Optional[pulumi.Input[Union[str, 'LanguageExtensionImageName']]] = None, + language_extension_name: Optional[pulumi.Input[Union[str, 'LanguageExtensionName']]] = None): + """ + The language extension object. + :param pulumi.Input[str] language_extension_custom_image_name: The language extension custom image name. + :param pulumi.Input[Union[str, 'LanguageExtensionImageName']] language_extension_image_name: The language extension image name. + :param pulumi.Input[Union[str, 'LanguageExtensionName']] language_extension_name: The language extension name. + """ + if language_extension_custom_image_name is not None: + pulumi.set(__self__, "language_extension_custom_image_name", language_extension_custom_image_name) + if language_extension_image_name is not None: + pulumi.set(__self__, "language_extension_image_name", language_extension_image_name) + if language_extension_name is not None: + pulumi.set(__self__, "language_extension_name", language_extension_name) + + @property + @pulumi.getter(name="languageExtensionCustomImageName") + def language_extension_custom_image_name(self) -> Optional[pulumi.Input[str]]: + """ + The language extension custom image name. + """ + return pulumi.get(self, "language_extension_custom_image_name") + + @language_extension_custom_image_name.setter + def language_extension_custom_image_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "language_extension_custom_image_name", value) + + @property + @pulumi.getter(name="languageExtensionImageName") + def language_extension_image_name(self) -> Optional[pulumi.Input[Union[str, 'LanguageExtensionImageName']]]: + """ + The language extension image name. + """ + return pulumi.get(self, "language_extension_image_name") + + @language_extension_image_name.setter + def language_extension_image_name(self, value: Optional[pulumi.Input[Union[str, 'LanguageExtensionImageName']]]): + pulumi.set(self, "language_extension_image_name", value) + + @property + @pulumi.getter(name="languageExtensionName") + def language_extension_name(self) -> Optional[pulumi.Input[Union[str, 'LanguageExtensionName']]]: + """ + The language extension name. + """ + return pulumi.get(self, "language_extension_name") + + @language_extension_name.setter + def language_extension_name(self, value: Optional[pulumi.Input[Union[str, 'LanguageExtensionName']]]): + pulumi.set(self, "language_extension_name", value) + + +@pulumi.input_type +class OptimizedAutoscaleArgs: + def __init__(__self__, *, + is_enabled: pulumi.Input[bool], + maximum: pulumi.Input[int], + minimum: pulumi.Input[int], + version: pulumi.Input[int]): + """ + A class that contains the optimized auto scale definition. + :param pulumi.Input[bool] is_enabled: A boolean value that indicate if the optimized autoscale feature is enabled or not. + :param pulumi.Input[int] maximum: Maximum allowed instances count. + :param pulumi.Input[int] minimum: Minimum allowed instances count. + :param pulumi.Input[int] version: The version of the template defined, for instance 1. + """ + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "maximum", maximum) + pulumi.set(__self__, "minimum", minimum) + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Input[bool]: + """ + A boolean value that indicate if the optimized autoscale feature is enabled or not. + """ + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_enabled", value) + + @property + @pulumi.getter + def maximum(self) -> pulumi.Input[int]: + """ + Maximum allowed instances count. + """ + return pulumi.get(self, "maximum") + + @maximum.setter + def maximum(self, value: pulumi.Input[int]): + pulumi.set(self, "maximum", value) + + @property + @pulumi.getter + def minimum(self) -> pulumi.Input[int]: + """ + Minimum allowed instances count. + """ + return pulumi.get(self, "minimum") + + @minimum.setter + def minimum(self, value: pulumi.Input[int]): + pulumi.set(self, "minimum", value) + + @property + @pulumi.getter + def version(self) -> pulumi.Input[int]: + """ + The version of the template defined, for instance 1. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: pulumi.Input[int]): + pulumi.set(self, "version", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStatePropertyArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None): + """ + Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] description: The private link service connection description. + :param pulumi.Input[str] status: The private link service connection status. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class TableLevelSharingPropertiesArgs: + def __init__(__self__, *, + external_tables_to_exclude: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + external_tables_to_include: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + functions_to_exclude: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + functions_to_include: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + materialized_views_to_exclude: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + materialized_views_to_include: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tables_to_exclude: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tables_to_include: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Tables that will be included and excluded in the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] external_tables_to_exclude: List of external tables to exclude from the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] external_tables_to_include: List of external tables to include in the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] functions_to_exclude: List of functions to exclude from the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] functions_to_include: List of functions to include in the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] materialized_views_to_exclude: List of materialized views to exclude from the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] materialized_views_to_include: List of materialized views to include in the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] tables_to_exclude: List of tables to exclude from the follower database + :param pulumi.Input[Sequence[pulumi.Input[str]]] tables_to_include: List of tables to include in the follower database + """ + if external_tables_to_exclude is not None: + pulumi.set(__self__, "external_tables_to_exclude", external_tables_to_exclude) + if external_tables_to_include is not None: + pulumi.set(__self__, "external_tables_to_include", external_tables_to_include) + if functions_to_exclude is not None: + pulumi.set(__self__, "functions_to_exclude", functions_to_exclude) + if functions_to_include is not None: + pulumi.set(__self__, "functions_to_include", functions_to_include) + if materialized_views_to_exclude is not None: + pulumi.set(__self__, "materialized_views_to_exclude", materialized_views_to_exclude) + if materialized_views_to_include is not None: + pulumi.set(__self__, "materialized_views_to_include", materialized_views_to_include) + if tables_to_exclude is not None: + pulumi.set(__self__, "tables_to_exclude", tables_to_exclude) + if tables_to_include is not None: + pulumi.set(__self__, "tables_to_include", tables_to_include) + + @property + @pulumi.getter(name="externalTablesToExclude") + def external_tables_to_exclude(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of external tables to exclude from the follower database + """ + return pulumi.get(self, "external_tables_to_exclude") + + @external_tables_to_exclude.setter + def external_tables_to_exclude(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "external_tables_to_exclude", value) + + @property + @pulumi.getter(name="externalTablesToInclude") + def external_tables_to_include(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of external tables to include in the follower database + """ + return pulumi.get(self, "external_tables_to_include") + + @external_tables_to_include.setter + def external_tables_to_include(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "external_tables_to_include", value) + + @property + @pulumi.getter(name="functionsToExclude") + def functions_to_exclude(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of functions to exclude from the follower database + """ + return pulumi.get(self, "functions_to_exclude") + + @functions_to_exclude.setter + def functions_to_exclude(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "functions_to_exclude", value) + + @property + @pulumi.getter(name="functionsToInclude") + def functions_to_include(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of functions to include in the follower database + """ + return pulumi.get(self, "functions_to_include") + + @functions_to_include.setter + def functions_to_include(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "functions_to_include", value) + + @property + @pulumi.getter(name="materializedViewsToExclude") + def materialized_views_to_exclude(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of materialized views to exclude from the follower database + """ + return pulumi.get(self, "materialized_views_to_exclude") + + @materialized_views_to_exclude.setter + def materialized_views_to_exclude(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "materialized_views_to_exclude", value) + + @property + @pulumi.getter(name="materializedViewsToInclude") + def materialized_views_to_include(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of materialized views to include in the follower database + """ + return pulumi.get(self, "materialized_views_to_include") + + @materialized_views_to_include.setter + def materialized_views_to_include(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "materialized_views_to_include", value) + + @property + @pulumi.getter(name="tablesToExclude") + def tables_to_exclude(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of tables to exclude from the follower database + """ + return pulumi.get(self, "tables_to_exclude") + + @tables_to_exclude.setter + def tables_to_exclude(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tables_to_exclude", value) + + @property + @pulumi.getter(name="tablesToInclude") + def tables_to_include(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of tables to include in the follower database + """ + return pulumi.get(self, "tables_to_include") + + @tables_to_include.setter + def tables_to_include(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tables_to_include", value) + + +@pulumi.input_type +class TrustedExternalTenantArgs: + def __init__(__self__, *, + value: Optional[pulumi.Input[str]] = None): + """ + Represents a tenant ID that is trusted by the cluster. + :param pulumi.Input[str] value: GUID representing an external tenant. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + GUID representing an external tenant. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class VirtualNetworkConfigurationArgs: + def __init__(__self__, *, + data_management_public_ip_id: pulumi.Input[str], + engine_public_ip_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + state: Optional[pulumi.Input[Union[str, 'VnetState']]] = None): + """ + A class that contains virtual network definition. + :param pulumi.Input[str] data_management_public_ip_id: Data management's service public IP address resource id. + :param pulumi.Input[str] engine_public_ip_id: Engine service's public IP address resource id. + :param pulumi.Input[str] subnet_id: The subnet resource id. + :param pulumi.Input[Union[str, 'VnetState']] state: When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + """ + pulumi.set(__self__, "data_management_public_ip_id", data_management_public_ip_id) + pulumi.set(__self__, "engine_public_ip_id", engine_public_ip_id) + pulumi.set(__self__, "subnet_id", subnet_id) + if state is None: + state = 'Enabled' + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="dataManagementPublicIpId") + def data_management_public_ip_id(self) -> pulumi.Input[str]: + """ + Data management's service public IP address resource id. + """ + return pulumi.get(self, "data_management_public_ip_id") + + @data_management_public_ip_id.setter + def data_management_public_ip_id(self, value: pulumi.Input[str]): + pulumi.set(self, "data_management_public_ip_id", value) + + @property + @pulumi.getter(name="enginePublicIpId") + def engine_public_ip_id(self) -> pulumi.Input[str]: + """ + Engine service's public IP address resource id. + """ + return pulumi.get(self, "engine_public_ip_id") + + @engine_public_ip_id.setter + def engine_public_ip_id(self, value: pulumi.Input[str]): + pulumi.set(self, "engine_public_ip_id", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The subnet resource id. + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'VnetState']]]: + """ + When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'VnetState']]]): + pulumi.set(self, "state", value) + + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/attached_database_configuration.py b/sdk/python/pulumi_azure_native/kusto/v20230815/attached_database_configuration.py new file mode 100644 index 000000000000..de2e6ec8ce47 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/attached_database_configuration.py @@ -0,0 +1,403 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AttachedDatabaseConfigurationArgs', 'AttachedDatabaseConfiguration'] + +@pulumi.input_type +class AttachedDatabaseConfigurationArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + cluster_resource_id: pulumi.Input[str], + database_name: pulumi.Input[str], + default_principals_modification_kind: pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']], + resource_group_name: pulumi.Input[str], + attached_database_configuration_name: Optional[pulumi.Input[str]] = None, + database_name_override: Optional[pulumi.Input[str]] = None, + database_name_prefix: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + table_level_sharing_properties: Optional[pulumi.Input['TableLevelSharingPropertiesArgs']] = None): + """ + The set of arguments for constructing a AttachedDatabaseConfiguration resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] cluster_resource_id: The resource id of the cluster where the databases you would like to attach reside. + :param pulumi.Input[str] database_name: The name of the database which you would like to attach, use * if you want to follow all current and future databases. + :param pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']] default_principals_modification_kind: The default principals modification kind + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] attached_database_configuration_name: The name of the attached database configuration. + :param pulumi.Input[str] database_name_override: Overrides the original database name. Relevant only when attaching to a specific database. + :param pulumi.Input[str] database_name_prefix: Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input['TableLevelSharingPropertiesArgs'] table_level_sharing_properties: Table level sharing specifications + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "cluster_resource_id", cluster_resource_id) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "default_principals_modification_kind", default_principals_modification_kind) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if attached_database_configuration_name is not None: + pulumi.set(__self__, "attached_database_configuration_name", attached_database_configuration_name) + if database_name_override is not None: + pulumi.set(__self__, "database_name_override", database_name_override) + if database_name_prefix is not None: + pulumi.set(__self__, "database_name_prefix", database_name_prefix) + if location is not None: + pulumi.set(__self__, "location", location) + if table_level_sharing_properties is not None: + pulumi.set(__self__, "table_level_sharing_properties", table_level_sharing_properties) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> pulumi.Input[str]: + """ + The resource id of the cluster where the databases you would like to attach reside. + """ + return pulumi.get(self, "cluster_resource_id") + + @cluster_resource_id.setter + def cluster_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_resource_id", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database which you would like to attach, use * if you want to follow all current and future databases. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="defaultPrincipalsModificationKind") + def default_principals_modification_kind(self) -> pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']]: + """ + The default principals modification kind + """ + return pulumi.get(self, "default_principals_modification_kind") + + @default_principals_modification_kind.setter + def default_principals_modification_kind(self, value: pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']]): + pulumi.set(self, "default_principals_modification_kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="attachedDatabaseConfigurationName") + def attached_database_configuration_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the attached database configuration. + """ + return pulumi.get(self, "attached_database_configuration_name") + + @attached_database_configuration_name.setter + def attached_database_configuration_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "attached_database_configuration_name", value) + + @property + @pulumi.getter(name="databaseNameOverride") + def database_name_override(self) -> Optional[pulumi.Input[str]]: + """ + Overrides the original database name. Relevant only when attaching to a specific database. + """ + return pulumi.get(self, "database_name_override") + + @database_name_override.setter + def database_name_override(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name_override", value) + + @property + @pulumi.getter(name="databaseNamePrefix") + def database_name_prefix(self) -> Optional[pulumi.Input[str]]: + """ + Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + """ + return pulumi.get(self, "database_name_prefix") + + @database_name_prefix.setter + def database_name_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name_prefix", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="tableLevelSharingProperties") + def table_level_sharing_properties(self) -> Optional[pulumi.Input['TableLevelSharingPropertiesArgs']]: + """ + Table level sharing specifications + """ + return pulumi.get(self, "table_level_sharing_properties") + + @table_level_sharing_properties.setter + def table_level_sharing_properties(self, value: Optional[pulumi.Input['TableLevelSharingPropertiesArgs']]): + pulumi.set(self, "table_level_sharing_properties", value) + + +class AttachedDatabaseConfiguration(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + attached_database_configuration_name: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + cluster_resource_id: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_name_override: Optional[pulumi.Input[str]] = None, + database_name_prefix: Optional[pulumi.Input[str]] = None, + default_principals_modification_kind: Optional[pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_level_sharing_properties: Optional[pulumi.Input[pulumi.InputType['TableLevelSharingPropertiesArgs']]] = None, + __props__=None): + """ + Class representing an attached database configuration. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] attached_database_configuration_name: The name of the attached database configuration. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] cluster_resource_id: The resource id of the cluster where the databases you would like to attach reside. + :param pulumi.Input[str] database_name: The name of the database which you would like to attach, use * if you want to follow all current and future databases. + :param pulumi.Input[str] database_name_override: Overrides the original database name. Relevant only when attaching to a specific database. + :param pulumi.Input[str] database_name_prefix: Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + :param pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']] default_principals_modification_kind: The default principals modification kind + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['TableLevelSharingPropertiesArgs']] table_level_sharing_properties: Table level sharing specifications + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AttachedDatabaseConfigurationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing an attached database configuration. + + :param str resource_name: The name of the resource. + :param AttachedDatabaseConfigurationArgs 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(AttachedDatabaseConfigurationArgs, 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, + attached_database_configuration_name: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + cluster_resource_id: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_name_override: Optional[pulumi.Input[str]] = None, + database_name_prefix: Optional[pulumi.Input[str]] = None, + default_principals_modification_kind: Optional[pulumi.Input[Union[str, 'DefaultPrincipalsModificationKind']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + table_level_sharing_properties: Optional[pulumi.Input[pulumi.InputType['TableLevelSharingPropertiesArgs']]] = 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__ = AttachedDatabaseConfigurationArgs.__new__(AttachedDatabaseConfigurationArgs) + + __props__.__dict__["attached_database_configuration_name"] = attached_database_configuration_name + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if cluster_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'cluster_resource_id'") + __props__.__dict__["cluster_resource_id"] = cluster_resource_id + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["database_name_override"] = database_name_override + __props__.__dict__["database_name_prefix"] = database_name_prefix + if default_principals_modification_kind is None and not opts.urn: + raise TypeError("Missing required property 'default_principals_modification_kind'") + __props__.__dict__["default_principals_modification_kind"] = default_principals_modification_kind + __props__.__dict__["location"] = location + 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__["table_level_sharing_properties"] = table_level_sharing_properties + __props__.__dict__["attached_database_names"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20190907:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20191109:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200215:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200614:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20200918:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210101:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20210827:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220201:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20220707:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221111:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20221229:AttachedDatabaseConfiguration"), pulumi.Alias(type_="azure-native:kusto/v20230502:AttachedDatabaseConfiguration")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AttachedDatabaseConfiguration, __self__).__init__( + 'azure-native:kusto/v20230815:AttachedDatabaseConfiguration', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AttachedDatabaseConfiguration': + """ + Get an existing AttachedDatabaseConfiguration 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AttachedDatabaseConfigurationArgs.__new__(AttachedDatabaseConfigurationArgs) + + __props__.__dict__["attached_database_names"] = None + __props__.__dict__["cluster_resource_id"] = None + __props__.__dict__["database_name"] = None + __props__.__dict__["database_name_override"] = None + __props__.__dict__["database_name_prefix"] = None + __props__.__dict__["default_principals_modification_kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["table_level_sharing_properties"] = None + __props__.__dict__["type"] = None + return AttachedDatabaseConfiguration(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="attachedDatabaseNames") + def attached_database_names(self) -> pulumi.Output[Sequence[str]]: + """ + The list of databases from the clusterResourceId which are currently attached to the cluster. + """ + return pulumi.get(self, "attached_database_names") + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> pulumi.Output[str]: + """ + The resource id of the cluster where the databases you would like to attach reside. + """ + return pulumi.get(self, "cluster_resource_id") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Output[str]: + """ + The name of the database which you would like to attach, use * if you want to follow all current and future databases. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter(name="databaseNameOverride") + def database_name_override(self) -> pulumi.Output[Optional[str]]: + """ + Overrides the original database name. Relevant only when attaching to a specific database. + """ + return pulumi.get(self, "database_name_override") + + @property + @pulumi.getter(name="databaseNamePrefix") + def database_name_prefix(self) -> pulumi.Output[Optional[str]]: + """ + Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + """ + return pulumi.get(self, "database_name_prefix") + + @property + @pulumi.getter(name="defaultPrincipalsModificationKind") + def default_principals_modification_kind(self) -> pulumi.Output[str]: + """ + The default principals modification kind + """ + return pulumi.get(self, "default_principals_modification_kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="tableLevelSharingProperties") + def table_level_sharing_properties(self) -> pulumi.Output[Optional['outputs.TableLevelSharingPropertiesResponse']]: + """ + Table level sharing specifications + """ + return pulumi.get(self, "table_level_sharing_properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/cluster.py b/sdk/python/pulumi_azure_native/kusto/v20230815/cluster.py new file mode 100644 index 000000000000..2c91c22cd82c --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/cluster.py @@ -0,0 +1,941 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ClusterArgs', 'Cluster'] + +@pulumi.input_type +class ClusterArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + sku: pulumi.Input['AzureSkuArgs'], + accepted_audiences: Optional[pulumi.Input[Sequence[pulumi.Input['AcceptedAudiencesArgs']]]] = None, + allowed_fqdn_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_ip_range_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + enable_auto_stop: Optional[pulumi.Input[bool]] = None, + enable_disk_encryption: Optional[pulumi.Input[bool]] = None, + enable_double_encryption: Optional[pulumi.Input[bool]] = None, + enable_purge: Optional[pulumi.Input[bool]] = None, + enable_streaming_ingest: Optional[pulumi.Input[bool]] = None, + engine_type: Optional[pulumi.Input[Union[str, 'EngineType']]] = None, + identity: Optional[pulumi.Input['IdentityArgs']] = None, + key_vault_properties: Optional[pulumi.Input['KeyVaultPropertiesArgs']] = None, + language_extensions: Optional[pulumi.Input['LanguageExtensionsListArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + optimized_autoscale: Optional[pulumi.Input['OptimizedAutoscaleArgs']] = None, + public_ip_type: Optional[pulumi.Input[Union[str, 'PublicIPType']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + restrict_outbound_network_access: Optional[pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trusted_external_tenants: Optional[pulumi.Input[Sequence[pulumi.Input['TrustedExternalTenantArgs']]]] = None, + virtual_cluster_graduation_properties: Optional[pulumi.Input[str]] = None, + virtual_network_configuration: Optional[pulumi.Input['VirtualNetworkConfigurationArgs']] = None, + zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Cluster resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['AzureSkuArgs'] sku: The SKU of the cluster. + :param pulumi.Input[Sequence[pulumi.Input['AcceptedAudiencesArgs']]] accepted_audiences: The cluster's accepted audiences. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_fqdn_list: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_range_list: The list of ips in the format of CIDR allowed to connect to the cluster. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[bool] enable_auto_stop: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + :param pulumi.Input[bool] enable_disk_encryption: A boolean value that indicates if the cluster's disks are encrypted. + :param pulumi.Input[bool] enable_double_encryption: A boolean value that indicates if double encryption is enabled. + :param pulumi.Input[bool] enable_purge: A boolean value that indicates if the purge operations are enabled. + :param pulumi.Input[bool] enable_streaming_ingest: A boolean value that indicates if the streaming ingest is enabled. + :param pulumi.Input[Union[str, 'EngineType']] engine_type: The engine type + :param pulumi.Input['IdentityArgs'] identity: The identity of the cluster, if configured. + :param pulumi.Input['KeyVaultPropertiesArgs'] key_vault_properties: KeyVault properties for the cluster encryption. + :param pulumi.Input['LanguageExtensionsListArgs'] language_extensions: List of the cluster's language extensions. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input['OptimizedAutoscaleArgs'] optimized_autoscale: Optimized auto scale definition. + :param pulumi.Input[Union[str, 'PublicIPType']] public_ip_type: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + :param pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']] restrict_outbound_network_access: Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Sequence[pulumi.Input['TrustedExternalTenantArgs']]] trusted_external_tenants: The cluster's external tenants. + :param pulumi.Input[str] virtual_cluster_graduation_properties: Virtual Cluster graduation properties + :param pulumi.Input['VirtualNetworkConfigurationArgs'] virtual_network_configuration: Virtual network definition. + :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The availability zones of the cluster. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "sku", sku) + if accepted_audiences is not None: + pulumi.set(__self__, "accepted_audiences", accepted_audiences) + if allowed_fqdn_list is not None: + pulumi.set(__self__, "allowed_fqdn_list", allowed_fqdn_list) + if allowed_ip_range_list is not None: + pulumi.set(__self__, "allowed_ip_range_list", allowed_ip_range_list) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if enable_auto_stop is None: + enable_auto_stop = True + if enable_auto_stop is not None: + pulumi.set(__self__, "enable_auto_stop", enable_auto_stop) + if enable_disk_encryption is None: + enable_disk_encryption = False + if enable_disk_encryption is not None: + pulumi.set(__self__, "enable_disk_encryption", enable_disk_encryption) + if enable_double_encryption is None: + enable_double_encryption = False + if enable_double_encryption is not None: + pulumi.set(__self__, "enable_double_encryption", enable_double_encryption) + if enable_purge is None: + enable_purge = False + if enable_purge is not None: + pulumi.set(__self__, "enable_purge", enable_purge) + if enable_streaming_ingest is None: + enable_streaming_ingest = False + if enable_streaming_ingest is not None: + pulumi.set(__self__, "enable_streaming_ingest", enable_streaming_ingest) + if engine_type is None: + engine_type = 'V3' + if engine_type is not None: + pulumi.set(__self__, "engine_type", engine_type) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + if language_extensions is not None: + pulumi.set(__self__, "language_extensions", language_extensions) + if location is not None: + pulumi.set(__self__, "location", location) + if optimized_autoscale is not None: + pulumi.set(__self__, "optimized_autoscale", optimized_autoscale) + if public_ip_type is None: + public_ip_type = 'IPv4' + if public_ip_type is not None: + pulumi.set(__self__, "public_ip_type", public_ip_type) + if public_network_access is None: + public_network_access = 'Enabled' + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if restrict_outbound_network_access is None: + restrict_outbound_network_access = 'Disabled' + if restrict_outbound_network_access is not None: + pulumi.set(__self__, "restrict_outbound_network_access", restrict_outbound_network_access) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if trusted_external_tenants is not None: + pulumi.set(__self__, "trusted_external_tenants", trusted_external_tenants) + if virtual_cluster_graduation_properties is not None: + pulumi.set(__self__, "virtual_cluster_graduation_properties", virtual_cluster_graduation_properties) + if virtual_network_configuration is not None: + pulumi.set(__self__, "virtual_network_configuration", virtual_network_configuration) + if zones is not None: + pulumi.set(__self__, "zones", zones) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input['AzureSkuArgs']: + """ + The SKU of the cluster. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input['AzureSkuArgs']): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="acceptedAudiences") + def accepted_audiences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AcceptedAudiencesArgs']]]]: + """ + The cluster's accepted audiences. + """ + return pulumi.get(self, "accepted_audiences") + + @accepted_audiences.setter + def accepted_audiences(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AcceptedAudiencesArgs']]]]): + pulumi.set(self, "accepted_audiences", value) + + @property + @pulumi.getter(name="allowedFqdnList") + def allowed_fqdn_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + """ + return pulumi.get(self, "allowed_fqdn_list") + + @allowed_fqdn_list.setter + def allowed_fqdn_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "allowed_fqdn_list", value) + + @property + @pulumi.getter(name="allowedIpRangeList") + def allowed_ip_range_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of ips in the format of CIDR allowed to connect to the cluster. + """ + return pulumi.get(self, "allowed_ip_range_list") + + @allowed_ip_range_list.setter + def allowed_ip_range_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "allowed_ip_range_list", value) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="enableAutoStop") + def enable_auto_stop(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + """ + return pulumi.get(self, "enable_auto_stop") + + @enable_auto_stop.setter + def enable_auto_stop(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_auto_stop", value) + + @property + @pulumi.getter(name="enableDiskEncryption") + def enable_disk_encryption(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean value that indicates if the cluster's disks are encrypted. + """ + return pulumi.get(self, "enable_disk_encryption") + + @enable_disk_encryption.setter + def enable_disk_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_disk_encryption", value) + + @property + @pulumi.getter(name="enableDoubleEncryption") + def enable_double_encryption(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean value that indicates if double encryption is enabled. + """ + return pulumi.get(self, "enable_double_encryption") + + @enable_double_encryption.setter + def enable_double_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_double_encryption", value) + + @property + @pulumi.getter(name="enablePurge") + def enable_purge(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean value that indicates if the purge operations are enabled. + """ + return pulumi.get(self, "enable_purge") + + @enable_purge.setter + def enable_purge(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_purge", value) + + @property + @pulumi.getter(name="enableStreamingIngest") + def enable_streaming_ingest(self) -> Optional[pulumi.Input[bool]]: + """ + A boolean value that indicates if the streaming ingest is enabled. + """ + return pulumi.get(self, "enable_streaming_ingest") + + @enable_streaming_ingest.setter + def enable_streaming_ingest(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_streaming_ingest", value) + + @property + @pulumi.getter(name="engineType") + def engine_type(self) -> Optional[pulumi.Input[Union[str, 'EngineType']]]: + """ + The engine type + """ + return pulumi.get(self, "engine_type") + + @engine_type.setter + def engine_type(self, value: Optional[pulumi.Input[Union[str, 'EngineType']]]): + pulumi.set(self, "engine_type", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['IdentityArgs']]: + """ + The identity of the cluster, if configured. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['IdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional[pulumi.Input['KeyVaultPropertiesArgs']]: + """ + KeyVault properties for the cluster encryption. + """ + return pulumi.get(self, "key_vault_properties") + + @key_vault_properties.setter + def key_vault_properties(self, value: Optional[pulumi.Input['KeyVaultPropertiesArgs']]): + pulumi.set(self, "key_vault_properties", value) + + @property + @pulumi.getter(name="languageExtensions") + def language_extensions(self) -> Optional[pulumi.Input['LanguageExtensionsListArgs']]: + """ + List of the cluster's language extensions. + """ + return pulumi.get(self, "language_extensions") + + @language_extensions.setter + def language_extensions(self, value: Optional[pulumi.Input['LanguageExtensionsListArgs']]): + pulumi.set(self, "language_extensions", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="optimizedAutoscale") + def optimized_autoscale(self) -> Optional[pulumi.Input['OptimizedAutoscaleArgs']]: + """ + Optimized auto scale definition. + """ + return pulumi.get(self, "optimized_autoscale") + + @optimized_autoscale.setter + def optimized_autoscale(self, value: Optional[pulumi.Input['OptimizedAutoscaleArgs']]): + pulumi.set(self, "optimized_autoscale", value) + + @property + @pulumi.getter(name="publicIPType") + def public_ip_type(self) -> Optional[pulumi.Input[Union[str, 'PublicIPType']]]: + """ + Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + """ + return pulumi.get(self, "public_ip_type") + + @public_ip_type.setter + def public_ip_type(self, value: Optional[pulumi.Input[Union[str, 'PublicIPType']]]): + pulumi.set(self, "public_ip_type", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="restrictOutboundNetworkAccess") + def restrict_outbound_network_access(self) -> Optional[pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']]]: + """ + Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "restrict_outbound_network_access") + + @restrict_outbound_network_access.setter + def restrict_outbound_network_access(self, value: Optional[pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']]]): + pulumi.set(self, "restrict_outbound_network_access", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="trustedExternalTenants") + def trusted_external_tenants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TrustedExternalTenantArgs']]]]: + """ + The cluster's external tenants. + """ + return pulumi.get(self, "trusted_external_tenants") + + @trusted_external_tenants.setter + def trusted_external_tenants(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TrustedExternalTenantArgs']]]]): + pulumi.set(self, "trusted_external_tenants", value) + + @property + @pulumi.getter(name="virtualClusterGraduationProperties") + def virtual_cluster_graduation_properties(self) -> Optional[pulumi.Input[str]]: + """ + Virtual Cluster graduation properties + """ + return pulumi.get(self, "virtual_cluster_graduation_properties") + + @virtual_cluster_graduation_properties.setter + def virtual_cluster_graduation_properties(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "virtual_cluster_graduation_properties", value) + + @property + @pulumi.getter(name="virtualNetworkConfiguration") + def virtual_network_configuration(self) -> Optional[pulumi.Input['VirtualNetworkConfigurationArgs']]: + """ + Virtual network definition. + """ + return pulumi.get(self, "virtual_network_configuration") + + @virtual_network_configuration.setter + def virtual_network_configuration(self, value: Optional[pulumi.Input['VirtualNetworkConfigurationArgs']]): + pulumi.set(self, "virtual_network_configuration", value) + + @property + @pulumi.getter + def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The availability zones of the cluster. + """ + return pulumi.get(self, "zones") + + @zones.setter + def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "zones", value) + + +class Cluster(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + accepted_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AcceptedAudiencesArgs']]]]] = None, + allowed_fqdn_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_ip_range_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + enable_auto_stop: Optional[pulumi.Input[bool]] = None, + enable_disk_encryption: Optional[pulumi.Input[bool]] = None, + enable_double_encryption: Optional[pulumi.Input[bool]] = None, + enable_purge: Optional[pulumi.Input[bool]] = None, + enable_streaming_ingest: Optional[pulumi.Input[bool]] = None, + engine_type: Optional[pulumi.Input[Union[str, 'EngineType']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + key_vault_properties: Optional[pulumi.Input[pulumi.InputType['KeyVaultPropertiesArgs']]] = None, + language_extensions: Optional[pulumi.Input[pulumi.InputType['LanguageExtensionsListArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + optimized_autoscale: Optional[pulumi.Input[pulumi.InputType['OptimizedAutoscaleArgs']]] = None, + public_ip_type: Optional[pulumi.Input[Union[str, 'PublicIPType']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restrict_outbound_network_access: Optional[pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['AzureSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trusted_external_tenants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TrustedExternalTenantArgs']]]]] = None, + virtual_cluster_graduation_properties: Optional[pulumi.Input[str]] = None, + virtual_network_configuration: Optional[pulumi.Input[pulumi.InputType['VirtualNetworkConfigurationArgs']]] = None, + zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + """ + Class representing a Kusto cluster. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AcceptedAudiencesArgs']]]] accepted_audiences: The cluster's accepted audiences. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_fqdn_list: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_range_list: The list of ips in the format of CIDR allowed to connect to the cluster. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[bool] enable_auto_stop: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + :param pulumi.Input[bool] enable_disk_encryption: A boolean value that indicates if the cluster's disks are encrypted. + :param pulumi.Input[bool] enable_double_encryption: A boolean value that indicates if double encryption is enabled. + :param pulumi.Input[bool] enable_purge: A boolean value that indicates if the purge operations are enabled. + :param pulumi.Input[bool] enable_streaming_ingest: A boolean value that indicates if the streaming ingest is enabled. + :param pulumi.Input[Union[str, 'EngineType']] engine_type: The engine type + :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity of the cluster, if configured. + :param pulumi.Input[pulumi.InputType['KeyVaultPropertiesArgs']] key_vault_properties: KeyVault properties for the cluster encryption. + :param pulumi.Input[pulumi.InputType['LanguageExtensionsListArgs']] language_extensions: List of the cluster's language extensions. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['OptimizedAutoscaleArgs']] optimized_autoscale: Optimized auto scale definition. + :param pulumi.Input[Union[str, 'PublicIPType']] public_ip_type: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']] restrict_outbound_network_access: Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + :param pulumi.Input[pulumi.InputType['AzureSkuArgs']] sku: The SKU of the cluster. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TrustedExternalTenantArgs']]]] trusted_external_tenants: The cluster's external tenants. + :param pulumi.Input[str] virtual_cluster_graduation_properties: Virtual Cluster graduation properties + :param pulumi.Input[pulumi.InputType['VirtualNetworkConfigurationArgs']] virtual_network_configuration: Virtual network definition. + :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The availability zones of the cluster. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ClusterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a Kusto cluster. + + :param str resource_name: The name of the resource. + :param ClusterArgs 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(ClusterArgs, 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, + accepted_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AcceptedAudiencesArgs']]]]] = None, + allowed_fqdn_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_ip_range_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + enable_auto_stop: Optional[pulumi.Input[bool]] = None, + enable_disk_encryption: Optional[pulumi.Input[bool]] = None, + enable_double_encryption: Optional[pulumi.Input[bool]] = None, + enable_purge: Optional[pulumi.Input[bool]] = None, + enable_streaming_ingest: Optional[pulumi.Input[bool]] = None, + engine_type: Optional[pulumi.Input[Union[str, 'EngineType']]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + key_vault_properties: Optional[pulumi.Input[pulumi.InputType['KeyVaultPropertiesArgs']]] = None, + language_extensions: Optional[pulumi.Input[pulumi.InputType['LanguageExtensionsListArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + optimized_autoscale: Optional[pulumi.Input[pulumi.InputType['OptimizedAutoscaleArgs']]] = None, + public_ip_type: Optional[pulumi.Input[Union[str, 'PublicIPType']]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + restrict_outbound_network_access: Optional[pulumi.Input[Union[str, 'ClusterNetworkAccessFlag']]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['AzureSkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + trusted_external_tenants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TrustedExternalTenantArgs']]]]] = None, + virtual_cluster_graduation_properties: Optional[pulumi.Input[str]] = None, + virtual_network_configuration: Optional[pulumi.Input[pulumi.InputType['VirtualNetworkConfigurationArgs']]] = None, + zones: Optional[pulumi.Input[Sequence[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__ = ClusterArgs.__new__(ClusterArgs) + + __props__.__dict__["accepted_audiences"] = accepted_audiences + __props__.__dict__["allowed_fqdn_list"] = allowed_fqdn_list + __props__.__dict__["allowed_ip_range_list"] = allowed_ip_range_list + __props__.__dict__["cluster_name"] = cluster_name + if enable_auto_stop is None: + enable_auto_stop = True + __props__.__dict__["enable_auto_stop"] = enable_auto_stop + if enable_disk_encryption is None: + enable_disk_encryption = False + __props__.__dict__["enable_disk_encryption"] = enable_disk_encryption + if enable_double_encryption is None: + enable_double_encryption = False + __props__.__dict__["enable_double_encryption"] = enable_double_encryption + if enable_purge is None: + enable_purge = False + __props__.__dict__["enable_purge"] = enable_purge + if enable_streaming_ingest is None: + enable_streaming_ingest = False + __props__.__dict__["enable_streaming_ingest"] = enable_streaming_ingest + if engine_type is None: + engine_type = 'V3' + __props__.__dict__["engine_type"] = engine_type + __props__.__dict__["identity"] = identity + __props__.__dict__["key_vault_properties"] = key_vault_properties + __props__.__dict__["language_extensions"] = language_extensions + __props__.__dict__["location"] = location + __props__.__dict__["optimized_autoscale"] = optimized_autoscale + if public_ip_type is None: + public_ip_type = 'IPv4' + __props__.__dict__["public_ip_type"] = public_ip_type + if public_network_access is None: + public_network_access = 'Enabled' + __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 + if restrict_outbound_network_access is None: + restrict_outbound_network_access = 'Disabled' + __props__.__dict__["restrict_outbound_network_access"] = restrict_outbound_network_access + if sku is None and not opts.urn: + raise TypeError("Missing required property 'sku'") + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["trusted_external_tenants"] = trusted_external_tenants + __props__.__dict__["virtual_cluster_graduation_properties"] = virtual_cluster_graduation_properties + __props__.__dict__["virtual_network_configuration"] = virtual_network_configuration + __props__.__dict__["zones"] = zones + __props__.__dict__["data_ingestion_uri"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["migration_cluster"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["state"] = None + __props__.__dict__["state_reason"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uri"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190121:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190515:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20190907:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20191109:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200215:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200614:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20200918:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210101:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20210827:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220201:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20220707:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221111:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20221229:Cluster"), pulumi.Alias(type_="azure-native:kusto/v20230502:Cluster")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Cluster, __self__).__init__( + 'azure-native:kusto/v20230815:Cluster', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Cluster': + """ + Get an existing Cluster 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ClusterArgs.__new__(ClusterArgs) + + __props__.__dict__["accepted_audiences"] = None + __props__.__dict__["allowed_fqdn_list"] = None + __props__.__dict__["allowed_ip_range_list"] = None + __props__.__dict__["data_ingestion_uri"] = None + __props__.__dict__["enable_auto_stop"] = None + __props__.__dict__["enable_disk_encryption"] = None + __props__.__dict__["enable_double_encryption"] = None + __props__.__dict__["enable_purge"] = None + __props__.__dict__["enable_streaming_ingest"] = None + __props__.__dict__["engine_type"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["key_vault_properties"] = None + __props__.__dict__["language_extensions"] = None + __props__.__dict__["location"] = None + __props__.__dict__["migration_cluster"] = None + __props__.__dict__["name"] = None + __props__.__dict__["optimized_autoscale"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["public_ip_type"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["restrict_outbound_network_access"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["state"] = None + __props__.__dict__["state_reason"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["trusted_external_tenants"] = None + __props__.__dict__["type"] = None + __props__.__dict__["uri"] = None + __props__.__dict__["virtual_network_configuration"] = None + __props__.__dict__["zones"] = None + return Cluster(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="acceptedAudiences") + def accepted_audiences(self) -> pulumi.Output[Optional[Sequence['outputs.AcceptedAudiencesResponse']]]: + """ + The cluster's accepted audiences. + """ + return pulumi.get(self, "accepted_audiences") + + @property + @pulumi.getter(name="allowedFqdnList") + def allowed_fqdn_list(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + """ + return pulumi.get(self, "allowed_fqdn_list") + + @property + @pulumi.getter(name="allowedIpRangeList") + def allowed_ip_range_list(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The list of ips in the format of CIDR allowed to connect to the cluster. + """ + return pulumi.get(self, "allowed_ip_range_list") + + @property + @pulumi.getter(name="dataIngestionUri") + def data_ingestion_uri(self) -> pulumi.Output[str]: + """ + The cluster data ingestion URI. + """ + return pulumi.get(self, "data_ingestion_uri") + + @property + @pulumi.getter(name="enableAutoStop") + def enable_auto_stop(self) -> pulumi.Output[Optional[bool]]: + """ + A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + """ + return pulumi.get(self, "enable_auto_stop") + + @property + @pulumi.getter(name="enableDiskEncryption") + def enable_disk_encryption(self) -> pulumi.Output[Optional[bool]]: + """ + A boolean value that indicates if the cluster's disks are encrypted. + """ + return pulumi.get(self, "enable_disk_encryption") + + @property + @pulumi.getter(name="enableDoubleEncryption") + def enable_double_encryption(self) -> pulumi.Output[Optional[bool]]: + """ + A boolean value that indicates if double encryption is enabled. + """ + return pulumi.get(self, "enable_double_encryption") + + @property + @pulumi.getter(name="enablePurge") + def enable_purge(self) -> pulumi.Output[Optional[bool]]: + """ + A boolean value that indicates if the purge operations are enabled. + """ + return pulumi.get(self, "enable_purge") + + @property + @pulumi.getter(name="enableStreamingIngest") + def enable_streaming_ingest(self) -> pulumi.Output[Optional[bool]]: + """ + A boolean value that indicates if the streaming ingest is enabled. + """ + return pulumi.get(self, "enable_streaming_ingest") + + @property + @pulumi.getter(name="engineType") + def engine_type(self) -> pulumi.Output[Optional[str]]: + """ + The engine type + """ + return pulumi.get(self, "engine_type") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + A unique read-only string that changes whenever the resource is updated. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The identity of the cluster, if configured. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> pulumi.Output[Optional['outputs.KeyVaultPropertiesResponse']]: + """ + KeyVault properties for the cluster encryption. + """ + return pulumi.get(self, "key_vault_properties") + + @property + @pulumi.getter(name="languageExtensions") + def language_extensions(self) -> pulumi.Output[Optional['outputs.LanguageExtensionsListResponse']]: + """ + List of the cluster's language extensions. + """ + return pulumi.get(self, "language_extensions") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="migrationCluster") + def migration_cluster(self) -> pulumi.Output['outputs.MigrationClusterPropertiesResponse']: + """ + Properties of the peer cluster involved in a migration to/from this cluster. + """ + return pulumi.get(self, "migration_cluster") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="optimizedAutoscale") + def optimized_autoscale(self) -> pulumi.Output[Optional['outputs.OptimizedAutoscaleResponse']]: + """ + Optimized auto scale definition. + """ + return pulumi.get(self, "optimized_autoscale") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + A list of private endpoint connections. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicIPType") + def public_ip_type(self) -> pulumi.Output[Optional[str]]: + """ + Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + """ + return pulumi.get(self, "public_ip_type") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="restrictOutboundNetworkAccess") + def restrict_outbound_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "restrict_outbound_network_access") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.AzureSkuResponse']: + """ + The SKU of the cluster. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="stateReason") + def state_reason(self) -> pulumi.Output[str]: + """ + The reason for the cluster's current state. + """ + return pulumi.get(self, "state_reason") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="trustedExternalTenants") + def trusted_external_tenants(self) -> pulumi.Output[Optional[Sequence['outputs.TrustedExternalTenantResponse']]]: + """ + The cluster's external tenants. + """ + return pulumi.get(self, "trusted_external_tenants") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uri(self) -> pulumi.Output[str]: + """ + The cluster URI. + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="virtualNetworkConfiguration") + def virtual_network_configuration(self) -> pulumi.Output[Optional['outputs.VirtualNetworkConfigurationResponse']]: + """ + Virtual network definition. + """ + return pulumi.get(self, "virtual_network_configuration") + + @property + @pulumi.getter + def zones(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The availability zones of the cluster. + """ + return pulumi.get(self, "zones") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/cluster_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20230815/cluster_principal_assignment.py new file mode 100644 index 000000000000..d01026c0fdcd --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/cluster_principal_assignment.py @@ -0,0 +1,334 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = ['ClusterPrincipalAssignmentArgs', 'ClusterPrincipalAssignment'] + +@pulumi.input_type +class ClusterPrincipalAssignmentArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + principal_id: pulumi.Input[str], + principal_type: pulumi.Input[Union[str, 'PrincipalType']], + resource_group_name: pulumi.Input[str], + role: pulumi.Input[Union[str, 'ClusterPrincipalRole']], + principal_assignment_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ClusterPrincipalAssignment resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] principal_id: The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + :param pulumi.Input[Union[str, 'PrincipalType']] principal_type: Principal type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'ClusterPrincipalRole']] role: Cluster principal role. + :param pulumi.Input[str] principal_assignment_name: The name of the Kusto principalAssignment. + :param pulumi.Input[str] tenant_id: The tenant id of the principal + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "principal_type", principal_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "role", role) + if principal_assignment_name is not None: + pulumi.set(__self__, "principal_assignment_name", principal_assignment_name) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> pulumi.Input[str]: + """ + The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + """ + return pulumi.get(self, "principal_id") + + @principal_id.setter + def principal_id(self, value: pulumi.Input[str]): + pulumi.set(self, "principal_id", value) + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> pulumi.Input[Union[str, 'PrincipalType']]: + """ + Principal type. + """ + return pulumi.get(self, "principal_type") + + @principal_type.setter + def principal_type(self, value: pulumi.Input[Union[str, 'PrincipalType']]): + pulumi.set(self, "principal_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 role(self) -> pulumi.Input[Union[str, 'ClusterPrincipalRole']]: + """ + Cluster principal role. + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[Union[str, 'ClusterPrincipalRole']]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="principalAssignmentName") + def principal_assignment_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Kusto principalAssignment. + """ + return pulumi.get(self, "principal_assignment_name") + + @principal_assignment_name.setter + def principal_assignment_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "principal_assignment_name", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The tenant id of the principal + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +class ClusterPrincipalAssignment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + principal_assignment_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[Union[str, 'ClusterPrincipalRole']]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a cluster principal assignment. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] principal_assignment_name: The name of the Kusto principalAssignment. + :param pulumi.Input[str] principal_id: The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + :param pulumi.Input[Union[str, 'PrincipalType']] principal_type: Principal type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'ClusterPrincipalRole']] role: Cluster principal role. + :param pulumi.Input[str] tenant_id: The tenant id of the principal + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ClusterPrincipalAssignmentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a cluster principal assignment. + + :param str resource_name: The name of the resource. + :param ClusterPrincipalAssignmentArgs 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(ClusterPrincipalAssignmentArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + principal_assignment_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[Union[str, 'ClusterPrincipalRole']]] = None, + tenant_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__ = ClusterPrincipalAssignmentArgs.__new__(ClusterPrincipalAssignmentArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["principal_assignment_name"] = principal_assignment_name + if principal_id is None and not opts.urn: + raise TypeError("Missing required property 'principal_id'") + __props__.__dict__["principal_id"] = principal_id + if principal_type is None and not opts.urn: + raise TypeError("Missing required property 'principal_type'") + __props__.__dict__["principal_type"] = principal_type + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if role is None and not opts.urn: + raise TypeError("Missing required property 'role'") + __props__.__dict__["role"] = role + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["aad_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["principal_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["tenant_name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:ClusterPrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:ClusterPrincipalAssignment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ClusterPrincipalAssignment, __self__).__init__( + 'azure-native:kusto/v20230815:ClusterPrincipalAssignment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ClusterPrincipalAssignment': + """ + Get an existing ClusterPrincipalAssignment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ClusterPrincipalAssignmentArgs.__new__(ClusterPrincipalAssignmentArgs) + + __props__.__dict__["aad_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["principal_id"] = None + __props__.__dict__["principal_name"] = None + __props__.__dict__["principal_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["role"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["tenant_name"] = None + __props__.__dict__["type"] = None + return ClusterPrincipalAssignment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="aadObjectId") + def aad_object_id(self) -> pulumi.Output[str]: + """ + The service principal object id in AAD (Azure active directory) + """ + return pulumi.get(self, "aad_object_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> pulumi.Output[str]: + """ + The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalName") + def principal_name(self) -> pulumi.Output[str]: + """ + The principal name + """ + return pulumi.get(self, "principal_name") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> pulumi.Output[str]: + """ + Principal type. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def role(self) -> pulumi.Output[str]: + """ + Cluster principal role. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[Optional[str]]: + """ + The tenant id of the principal + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="tenantName") + def tenant_name(self) -> pulumi.Output[str]: + """ + The tenant name of the principal + """ + return pulumi.get(self, "tenant_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/cosmos_db_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/cosmos_db_data_connection.py new file mode 100644 index 000000000000..61621c4eadf0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/cosmos_db_data_connection.py @@ -0,0 +1,486 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = ['CosmosDbDataConnectionArgs', 'CosmosDbDataConnection'] + +@pulumi.input_type +class CosmosDbDataConnectionArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + cosmos_db_account_resource_id: pulumi.Input[str], + cosmos_db_container: pulumi.Input[str], + cosmos_db_database: pulumi.Input[str], + database_name: pulumi.Input[str], + kind: pulumi.Input[str], + managed_identity_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + table_name: pulumi.Input[str], + data_connection_name: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a CosmosDbDataConnection resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] cosmos_db_account_resource_id: The resource ID of the Cosmos DB account used to create the data connection. + :param pulumi.Input[str] cosmos_db_container: The name of an existing container in the Cosmos DB database. + :param pulumi.Input[str] cosmos_db_database: The name of an existing database in the Cosmos DB account. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'CosmosDb'. + :param pulumi.Input[str] managed_identity_resource_id: The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] table_name: The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] mapping_rule_name: The name of an existing mapping rule to use when ingesting the retrieved data. + :param pulumi.Input[str] retrieval_start_date: Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "cosmos_db_account_resource_id", cosmos_db_account_resource_id) + pulumi.set(__self__, "cosmos_db_container", cosmos_db_container) + pulumi.set(__self__, "cosmos_db_database", cosmos_db_database) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "kind", 'CosmosDb') + pulumi.set(__self__, "managed_identity_resource_id", managed_identity_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "table_name", table_name) + if data_connection_name is not None: + pulumi.set(__self__, "data_connection_name", data_connection_name) + if location is not None: + pulumi.set(__self__, "location", location) + if mapping_rule_name is not None: + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if retrieval_start_date is not None: + pulumi.set(__self__, "retrieval_start_date", retrieval_start_date) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="cosmosDbAccountResourceId") + def cosmos_db_account_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the Cosmos DB account used to create the data connection. + """ + return pulumi.get(self, "cosmos_db_account_resource_id") + + @cosmos_db_account_resource_id.setter + def cosmos_db_account_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "cosmos_db_account_resource_id", value) + + @property + @pulumi.getter(name="cosmosDbContainer") + def cosmos_db_container(self) -> pulumi.Input[str]: + """ + The name of an existing container in the Cosmos DB database. + """ + return pulumi.get(self, "cosmos_db_container") + + @cosmos_db_container.setter + def cosmos_db_container(self, value: pulumi.Input[str]): + pulumi.set(self, "cosmos_db_container", value) + + @property + @pulumi.getter(name="cosmosDbDatabase") + def cosmos_db_database(self) -> pulumi.Input[str]: + """ + The name of an existing database in the Cosmos DB account. + """ + return pulumi.get(self, "cosmos_db_database") + + @cosmos_db_database.setter + def cosmos_db_database(self, value: pulumi.Input[str]): + pulumi.set(self, "cosmos_db_database", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'CosmosDb'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @managed_identity_resource_id.setter + def managed_identity_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "managed_identity_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tableName") + def table_name(self) -> pulumi.Input[str]: + """ + The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: pulumi.Input[str]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter(name="dataConnectionName") + def data_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the data connection. + """ + return pulumi.get(self, "data_connection_name") + + @data_connection_name.setter + def data_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connection_name", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of an existing mapping rule to use when ingesting the retrieved data. + """ + return pulumi.get(self, "mapping_rule_name") + + @mapping_rule_name.setter + def mapping_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mapping_rule_name", value) + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> Optional[pulumi.Input[str]]: + """ + Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + """ + return pulumi.get(self, "retrieval_start_date") + + @retrieval_start_date.setter + def retrieval_start_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "retrieval_start_date", value) + + +class CosmosDbDataConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + cosmos_db_account_resource_id: Optional[pulumi.Input[str]] = None, + cosmos_db_container: Optional[pulumi.Input[str]] = None, + cosmos_db_database: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a CosmosDb data connection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] cosmos_db_account_resource_id: The resource ID of the Cosmos DB account used to create the data connection. + :param pulumi.Input[str] cosmos_db_container: The name of an existing container in the Cosmos DB database. + :param pulumi.Input[str] cosmos_db_database: The name of an existing database in the Cosmos DB account. + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'CosmosDb'. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] managed_identity_resource_id: The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + :param pulumi.Input[str] mapping_rule_name: The name of an existing mapping rule to use when ingesting the retrieved data. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] retrieval_start_date: Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + :param pulumi.Input[str] table_name: The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CosmosDbDataConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a CosmosDb data connection. + + :param str resource_name: The name of the resource. + :param CosmosDbDataConnectionArgs 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(CosmosDbDataConnectionArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + cosmos_db_account_resource_id: Optional[pulumi.Input[str]] = None, + cosmos_db_container: Optional[pulumi.Input[str]] = None, + cosmos_db_database: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CosmosDbDataConnectionArgs.__new__(CosmosDbDataConnectionArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if cosmos_db_account_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'cosmos_db_account_resource_id'") + __props__.__dict__["cosmos_db_account_resource_id"] = cosmos_db_account_resource_id + if cosmos_db_container is None and not opts.urn: + raise TypeError("Missing required property 'cosmos_db_container'") + __props__.__dict__["cosmos_db_container"] = cosmos_db_container + if cosmos_db_database is None and not opts.urn: + raise TypeError("Missing required property 'cosmos_db_database'") + __props__.__dict__["cosmos_db_database"] = cosmos_db_database + __props__.__dict__["data_connection_name"] = data_connection_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'CosmosDb' + __props__.__dict__["location"] = location + if managed_identity_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'managed_identity_resource_id'") + __props__.__dict__["managed_identity_resource_id"] = managed_identity_resource_id + __props__.__dict__["mapping_rule_name"] = mapping_rule_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["retrieval_start_date"] = retrieval_start_date + if table_name is None and not opts.urn: + raise TypeError("Missing required property 'table_name'") + __props__.__dict__["table_name"] = table_name + __props__.__dict__["managed_identity_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:CosmosDbDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:CosmosDbDataConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CosmosDbDataConnection, __self__).__init__( + 'azure-native:kusto/v20230815:CosmosDbDataConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CosmosDbDataConnection': + """ + Get an existing CosmosDbDataConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CosmosDbDataConnectionArgs.__new__(CosmosDbDataConnectionArgs) + + __props__.__dict__["cosmos_db_account_resource_id"] = None + __props__.__dict__["cosmos_db_container"] = None + __props__.__dict__["cosmos_db_database"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_identity_object_id"] = None + __props__.__dict__["managed_identity_resource_id"] = None + __props__.__dict__["mapping_rule_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["retrieval_start_date"] = None + __props__.__dict__["table_name"] = None + __props__.__dict__["type"] = None + return CosmosDbDataConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cosmosDbAccountResourceId") + def cosmos_db_account_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the Cosmos DB account used to create the data connection. + """ + return pulumi.get(self, "cosmos_db_account_resource_id") + + @property + @pulumi.getter(name="cosmosDbContainer") + def cosmos_db_container(self) -> pulumi.Output[str]: + """ + The name of an existing container in the Cosmos DB database. + """ + return pulumi.get(self, "cosmos_db_container") + + @property + @pulumi.getter(name="cosmosDbDatabase") + def cosmos_db_database(self) -> pulumi.Output[str]: + """ + The name of an existing database in the Cosmos DB account. + """ + return pulumi.get(self, "cosmos_db_database") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'CosmosDb'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedIdentityObjectId") + def managed_identity_object_id(self) -> pulumi.Output[str]: + """ + The object ID of the managed identity resource. + """ + return pulumi.get(self, "managed_identity_object_id") + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> pulumi.Output[Optional[str]]: + """ + The name of an existing mapping rule to use when ingesting the retrieved data. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> pulumi.Output[Optional[str]]: + """ + Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + """ + return pulumi.get(self, "retrieval_start_date") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Output[str]: + """ + The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/database_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20230815/database_principal_assignment.py new file mode 100644 index 000000000000..b213c63ed8aa --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/database_principal_assignment.py @@ -0,0 +1,355 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = ['DatabasePrincipalAssignmentArgs', 'DatabasePrincipalAssignment'] + +@pulumi.input_type +class DatabasePrincipalAssignmentArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + database_name: pulumi.Input[str], + principal_id: pulumi.Input[str], + principal_type: pulumi.Input[Union[str, 'PrincipalType']], + resource_group_name: pulumi.Input[str], + role: pulumi.Input[Union[str, 'DatabasePrincipalRole']], + principal_assignment_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a DatabasePrincipalAssignment resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] principal_id: The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + :param pulumi.Input[Union[str, 'PrincipalType']] principal_type: Principal type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'DatabasePrincipalRole']] role: Database principal role. + :param pulumi.Input[str] principal_assignment_name: The name of the Kusto principalAssignment. + :param pulumi.Input[str] tenant_id: The tenant id of the principal + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "principal_type", principal_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "role", role) + if principal_assignment_name is not None: + pulumi.set(__self__, "principal_assignment_name", principal_assignment_name) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> pulumi.Input[str]: + """ + The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + """ + return pulumi.get(self, "principal_id") + + @principal_id.setter + def principal_id(self, value: pulumi.Input[str]): + pulumi.set(self, "principal_id", value) + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> pulumi.Input[Union[str, 'PrincipalType']]: + """ + Principal type. + """ + return pulumi.get(self, "principal_type") + + @principal_type.setter + def principal_type(self, value: pulumi.Input[Union[str, 'PrincipalType']]): + pulumi.set(self, "principal_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 role(self) -> pulumi.Input[Union[str, 'DatabasePrincipalRole']]: + """ + Database principal role. + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: pulumi.Input[Union[str, 'DatabasePrincipalRole']]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="principalAssignmentName") + def principal_assignment_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Kusto principalAssignment. + """ + return pulumi.get(self, "principal_assignment_name") + + @principal_assignment_name.setter + def principal_assignment_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "principal_assignment_name", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The tenant id of the principal + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +class DatabasePrincipalAssignment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + principal_assignment_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[Union[str, 'DatabasePrincipalRole']]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a database principal assignment. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] principal_assignment_name: The name of the Kusto principalAssignment. + :param pulumi.Input[str] principal_id: The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + :param pulumi.Input[Union[str, 'PrincipalType']] principal_type: Principal type. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'DatabasePrincipalRole']] role: Database principal role. + :param pulumi.Input[str] tenant_id: The tenant id of the principal + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DatabasePrincipalAssignmentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a database principal assignment. + + :param str resource_name: The name of the resource. + :param DatabasePrincipalAssignmentArgs 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(DatabasePrincipalAssignmentArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + principal_assignment_name: Optional[pulumi.Input[str]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + principal_type: Optional[pulumi.Input[Union[str, 'PrincipalType']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[Union[str, 'DatabasePrincipalRole']]] = None, + tenant_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__ = DatabasePrincipalAssignmentArgs.__new__(DatabasePrincipalAssignmentArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["principal_assignment_name"] = principal_assignment_name + if principal_id is None and not opts.urn: + raise TypeError("Missing required property 'principal_id'") + __props__.__dict__["principal_id"] = principal_id + if principal_type is None and not opts.urn: + raise TypeError("Missing required property 'principal_type'") + __props__.__dict__["principal_type"] = principal_type + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if role is None and not opts.urn: + raise TypeError("Missing required property 'role'") + __props__.__dict__["role"] = role + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["aad_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["principal_name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["tenant_name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20191109:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200215:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200614:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20200918:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210101:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20210827:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220201:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20220707:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221111:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20221229:DatabasePrincipalAssignment"), pulumi.Alias(type_="azure-native:kusto/v20230502:DatabasePrincipalAssignment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(DatabasePrincipalAssignment, __self__).__init__( + 'azure-native:kusto/v20230815:DatabasePrincipalAssignment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'DatabasePrincipalAssignment': + """ + Get an existing DatabasePrincipalAssignment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = DatabasePrincipalAssignmentArgs.__new__(DatabasePrincipalAssignmentArgs) + + __props__.__dict__["aad_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["principal_id"] = None + __props__.__dict__["principal_name"] = None + __props__.__dict__["principal_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["role"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["tenant_name"] = None + __props__.__dict__["type"] = None + return DatabasePrincipalAssignment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="aadObjectId") + def aad_object_id(self) -> pulumi.Output[str]: + """ + The service principal object id in AAD (Azure active directory) + """ + return pulumi.get(self, "aad_object_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> pulumi.Output[str]: + """ + The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalName") + def principal_name(self) -> pulumi.Output[str]: + """ + The principal name + """ + return pulumi.get(self, "principal_name") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> pulumi.Output[str]: + """ + Principal type. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def role(self) -> pulumi.Output[str]: + """ + Database principal role. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[Optional[str]]: + """ + The tenant id of the principal + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="tenantName") + def tenant_name(self) -> pulumi.Output[str]: + """ + The tenant name of the principal + """ + return pulumi.get(self, "tenant_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/event_grid_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/event_grid_data_connection.py new file mode 100644 index 000000000000..cf8ecbd016fd --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/event_grid_data_connection.py @@ -0,0 +1,605 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = ['EventGridDataConnectionArgs', 'EventGridDataConnection'] + +@pulumi.input_type +class EventGridDataConnectionArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + consumer_group: pulumi.Input[str], + database_name: pulumi.Input[str], + event_hub_resource_id: pulumi.Input[str], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + storage_account_resource_id: pulumi.Input[str], + blob_storage_event_type: Optional[pulumi.Input[Union[str, 'BlobStorageEventType']]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'EventGridDataFormat']]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_grid_resource_id: Optional[pulumi.Input[str]] = None, + ignore_first_record: Optional[pulumi.Input[bool]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a EventGridDataConnection resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] consumer_group: The event hub consumer group. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] event_hub_resource_id: The resource ID where the event grid is configured to send events. + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'EventGrid'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] storage_account_resource_id: The resource ID of the storage account where the data resides. + :param pulumi.Input[Union[str, 'BlobStorageEventType']] blob_storage_event_type: The name of blob storage event type to process. + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[Union[str, 'EventGridDataFormat']] data_format: The data format of the message. Optionally the data format can be added to each message. + :param pulumi.Input[Union[str, 'DatabaseRouting']] database_routing: Indication for database routing information from the data connection, by default only database routing information is allowed + :param pulumi.Input[str] event_grid_resource_id: The resource ID of the event grid that is subscribed to the storage account events. + :param pulumi.Input[bool] ignore_first_record: A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] managed_identity_resource_id: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + :param pulumi.Input[str] mapping_rule_name: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + :param pulumi.Input[str] table_name: The table where the data should be ingested. Optionally the table information can be added to each message. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "consumer_group", consumer_group) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "event_hub_resource_id", event_hub_resource_id) + pulumi.set(__self__, "kind", 'EventGrid') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "storage_account_resource_id", storage_account_resource_id) + if blob_storage_event_type is not None: + pulumi.set(__self__, "blob_storage_event_type", blob_storage_event_type) + if data_connection_name is not None: + pulumi.set(__self__, "data_connection_name", data_connection_name) + if data_format is not None: + pulumi.set(__self__, "data_format", data_format) + if database_routing is None: + database_routing = 'Single' + if database_routing is not None: + pulumi.set(__self__, "database_routing", database_routing) + if event_grid_resource_id is not None: + pulumi.set(__self__, "event_grid_resource_id", event_grid_resource_id) + if ignore_first_record is not None: + pulumi.set(__self__, "ignore_first_record", ignore_first_record) + if location is not None: + pulumi.set(__self__, "location", location) + if managed_identity_resource_id is not None: + pulumi.set(__self__, "managed_identity_resource_id", managed_identity_resource_id) + if mapping_rule_name is not None: + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> pulumi.Input[str]: + """ + The event hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @consumer_group.setter + def consumer_group(self, value: pulumi.Input[str]): + pulumi.set(self, "consumer_group", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="eventHubResourceId") + def event_hub_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID where the event grid is configured to send events. + """ + return pulumi.get(self, "event_hub_resource_id") + + @event_hub_resource_id.setter + def event_hub_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "event_hub_resource_id", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'EventGrid'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="storageAccountResourceId") + def storage_account_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the storage account where the data resides. + """ + return pulumi.get(self, "storage_account_resource_id") + + @storage_account_resource_id.setter + def storage_account_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "storage_account_resource_id", value) + + @property + @pulumi.getter(name="blobStorageEventType") + def blob_storage_event_type(self) -> Optional[pulumi.Input[Union[str, 'BlobStorageEventType']]]: + """ + The name of blob storage event type to process. + """ + return pulumi.get(self, "blob_storage_event_type") + + @blob_storage_event_type.setter + def blob_storage_event_type(self, value: Optional[pulumi.Input[Union[str, 'BlobStorageEventType']]]): + pulumi.set(self, "blob_storage_event_type", value) + + @property + @pulumi.getter(name="dataConnectionName") + def data_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the data connection. + """ + return pulumi.get(self, "data_connection_name") + + @data_connection_name.setter + def data_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connection_name", value) + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> Optional[pulumi.Input[Union[str, 'EventGridDataFormat']]]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @data_format.setter + def data_format(self, value: Optional[pulumi.Input[Union[str, 'EventGridDataFormat']]]): + pulumi.set(self, "data_format", value) + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> Optional[pulumi.Input[Union[str, 'DatabaseRouting']]]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @database_routing.setter + def database_routing(self, value: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]]): + pulumi.set(self, "database_routing", value) + + @property + @pulumi.getter(name="eventGridResourceId") + def event_grid_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of the event grid that is subscribed to the storage account events. + """ + return pulumi.get(self, "event_grid_resource_id") + + @event_grid_resource_id.setter + def event_grid_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "event_grid_resource_id", value) + + @property + @pulumi.getter(name="ignoreFirstRecord") + def ignore_first_record(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + """ + return pulumi.get(self, "ignore_first_record") + + @ignore_first_record.setter + def ignore_first_record(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ignore_first_record", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @managed_identity_resource_id.setter + def managed_identity_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_identity_resource_id", value) + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @mapping_rule_name.setter + def mapping_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mapping_rule_name", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + +class EventGridDataConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + blob_storage_event_type: Optional[pulumi.Input[Union[str, 'BlobStorageEventType']]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + consumer_group: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'EventGridDataFormat']]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_grid_resource_id: Optional[pulumi.Input[str]] = None, + event_hub_resource_id: Optional[pulumi.Input[str]] = None, + ignore_first_record: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_account_resource_id: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing an Event Grid data connection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'BlobStorageEventType']] blob_storage_event_type: The name of blob storage event type to process. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] consumer_group: The event hub consumer group. + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[Union[str, 'EventGridDataFormat']] data_format: The data format of the message. Optionally the data format can be added to each message. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[Union[str, 'DatabaseRouting']] database_routing: Indication for database routing information from the data connection, by default only database routing information is allowed + :param pulumi.Input[str] event_grid_resource_id: The resource ID of the event grid that is subscribed to the storage account events. + :param pulumi.Input[str] event_hub_resource_id: The resource ID where the event grid is configured to send events. + :param pulumi.Input[bool] ignore_first_record: A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'EventGrid'. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] managed_identity_resource_id: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + :param pulumi.Input[str] mapping_rule_name: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] storage_account_resource_id: The resource ID of the storage account where the data resides. + :param pulumi.Input[str] table_name: The table where the data should be ingested. Optionally the table information can be added to each message. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EventGridDataConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing an Event Grid data connection. + + :param str resource_name: The name of the resource. + :param EventGridDataConnectionArgs 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(EventGridDataConnectionArgs, 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, + blob_storage_event_type: Optional[pulumi.Input[Union[str, 'BlobStorageEventType']]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + consumer_group: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'EventGridDataFormat']]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_grid_resource_id: Optional[pulumi.Input[str]] = None, + event_hub_resource_id: Optional[pulumi.Input[str]] = None, + ignore_first_record: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_account_resource_id: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = EventGridDataConnectionArgs.__new__(EventGridDataConnectionArgs) + + __props__.__dict__["blob_storage_event_type"] = blob_storage_event_type + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if consumer_group is None and not opts.urn: + raise TypeError("Missing required property 'consumer_group'") + __props__.__dict__["consumer_group"] = consumer_group + __props__.__dict__["data_connection_name"] = data_connection_name + __props__.__dict__["data_format"] = data_format + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + if database_routing is None: + database_routing = 'Single' + __props__.__dict__["database_routing"] = database_routing + __props__.__dict__["event_grid_resource_id"] = event_grid_resource_id + if event_hub_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'event_hub_resource_id'") + __props__.__dict__["event_hub_resource_id"] = event_hub_resource_id + __props__.__dict__["ignore_first_record"] = ignore_first_record + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'EventGrid' + __props__.__dict__["location"] = location + __props__.__dict__["managed_identity_resource_id"] = managed_identity_resource_id + __props__.__dict__["mapping_rule_name"] = mapping_rule_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if storage_account_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'storage_account_resource_id'") + __props__.__dict__["storage_account_resource_id"] = storage_account_resource_id + __props__.__dict__["table_name"] = table_name + __props__.__dict__["managed_identity_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventGridDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventGridDataConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(EventGridDataConnection, __self__).__init__( + 'azure-native:kusto/v20230815:EventGridDataConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'EventGridDataConnection': + """ + Get an existing EventGridDataConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = EventGridDataConnectionArgs.__new__(EventGridDataConnectionArgs) + + __props__.__dict__["blob_storage_event_type"] = None + __props__.__dict__["consumer_group"] = None + __props__.__dict__["data_format"] = None + __props__.__dict__["database_routing"] = None + __props__.__dict__["event_grid_resource_id"] = None + __props__.__dict__["event_hub_resource_id"] = None + __props__.__dict__["ignore_first_record"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_identity_object_id"] = None + __props__.__dict__["managed_identity_resource_id"] = None + __props__.__dict__["mapping_rule_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["storage_account_resource_id"] = None + __props__.__dict__["table_name"] = None + __props__.__dict__["type"] = None + return EventGridDataConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="blobStorageEventType") + def blob_storage_event_type(self) -> pulumi.Output[Optional[str]]: + """ + The name of blob storage event type to process. + """ + return pulumi.get(self, "blob_storage_event_type") + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> pulumi.Output[str]: + """ + The event hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> pulumi.Output[Optional[str]]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> pulumi.Output[Optional[str]]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @property + @pulumi.getter(name="eventGridResourceId") + def event_grid_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The resource ID of the event grid that is subscribed to the storage account events. + """ + return pulumi.get(self, "event_grid_resource_id") + + @property + @pulumi.getter(name="eventHubResourceId") + def event_hub_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID where the event grid is configured to send events. + """ + return pulumi.get(self, "event_hub_resource_id") + + @property + @pulumi.getter(name="ignoreFirstRecord") + def ignore_first_record(self) -> pulumi.Output[Optional[bool]]: + """ + A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + """ + return pulumi.get(self, "ignore_first_record") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'EventGrid'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedIdentityObjectId") + def managed_identity_object_id(self) -> pulumi.Output[str]: + """ + The object ID of managedIdentityResourceId + """ + return pulumi.get(self, "managed_identity_object_id") + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> pulumi.Output[Optional[str]]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="storageAccountResourceId") + def storage_account_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the storage account where the data resides. + """ + return pulumi.get(self, "storage_account_resource_id") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Output[Optional[str]]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/event_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/event_hub_data_connection.py new file mode 100644 index 000000000000..236692247320 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/event_hub_data_connection.py @@ -0,0 +1,575 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = ['EventHubDataConnectionArgs', 'EventHubDataConnection'] + +@pulumi.input_type +class EventHubDataConnectionArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + consumer_group: pulumi.Input[str], + database_name: pulumi.Input[str], + event_hub_resource_id: pulumi.Input[str], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + compression: Optional[pulumi.Input[Union[str, 'Compression']]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'EventHubDataFormat']]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_system_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a EventHubDataConnection resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] consumer_group: The event hub consumer group. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] event_hub_resource_id: The resource ID of the event hub to be used to create a data connection. + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'EventHub'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'Compression']] compression: The event hub messages compression type + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[Union[str, 'EventHubDataFormat']] data_format: The data format of the message. Optionally the data format can be added to each message. + :param pulumi.Input[Union[str, 'DatabaseRouting']] database_routing: Indication for database routing information from the data connection, by default only database routing information is allowed + :param pulumi.Input[Sequence[pulumi.Input[str]]] event_system_properties: System properties of the event hub + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] managed_identity_resource_id: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + :param pulumi.Input[str] mapping_rule_name: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + :param pulumi.Input[str] retrieval_start_date: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + :param pulumi.Input[str] table_name: The table where the data should be ingested. Optionally the table information can be added to each message. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "consumer_group", consumer_group) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "event_hub_resource_id", event_hub_resource_id) + pulumi.set(__self__, "kind", 'EventHub') + pulumi.set(__self__, "resource_group_name", resource_group_name) + if compression is not None: + pulumi.set(__self__, "compression", compression) + if data_connection_name is not None: + pulumi.set(__self__, "data_connection_name", data_connection_name) + if data_format is not None: + pulumi.set(__self__, "data_format", data_format) + if database_routing is None: + database_routing = 'Single' + if database_routing is not None: + pulumi.set(__self__, "database_routing", database_routing) + if event_system_properties is not None: + pulumi.set(__self__, "event_system_properties", event_system_properties) + if location is not None: + pulumi.set(__self__, "location", location) + if managed_identity_resource_id is not None: + pulumi.set(__self__, "managed_identity_resource_id", managed_identity_resource_id) + if mapping_rule_name is not None: + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if retrieval_start_date is not None: + pulumi.set(__self__, "retrieval_start_date", retrieval_start_date) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> pulumi.Input[str]: + """ + The event hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @consumer_group.setter + def consumer_group(self, value: pulumi.Input[str]): + pulumi.set(self, "consumer_group", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="eventHubResourceId") + def event_hub_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the event hub to be used to create a data connection. + """ + return pulumi.get(self, "event_hub_resource_id") + + @event_hub_resource_id.setter + def event_hub_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "event_hub_resource_id", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'EventHub'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 compression(self) -> Optional[pulumi.Input[Union[str, 'Compression']]]: + """ + The event hub messages compression type + """ + return pulumi.get(self, "compression") + + @compression.setter + def compression(self, value: Optional[pulumi.Input[Union[str, 'Compression']]]): + pulumi.set(self, "compression", value) + + @property + @pulumi.getter(name="dataConnectionName") + def data_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the data connection. + """ + return pulumi.get(self, "data_connection_name") + + @data_connection_name.setter + def data_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connection_name", value) + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> Optional[pulumi.Input[Union[str, 'EventHubDataFormat']]]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @data_format.setter + def data_format(self, value: Optional[pulumi.Input[Union[str, 'EventHubDataFormat']]]): + pulumi.set(self, "data_format", value) + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> Optional[pulumi.Input[Union[str, 'DatabaseRouting']]]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @database_routing.setter + def database_routing(self, value: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]]): + pulumi.set(self, "database_routing", value) + + @property + @pulumi.getter(name="eventSystemProperties") + def event_system_properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + System properties of the event hub + """ + return pulumi.get(self, "event_system_properties") + + @event_system_properties.setter + def event_system_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "event_system_properties", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @managed_identity_resource_id.setter + def managed_identity_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_identity_resource_id", value) + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @mapping_rule_name.setter + def mapping_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mapping_rule_name", value) + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> Optional[pulumi.Input[str]]: + """ + When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + """ + return pulumi.get(self, "retrieval_start_date") + + @retrieval_start_date.setter + def retrieval_start_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "retrieval_start_date", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + +class EventHubDataConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + compression: Optional[pulumi.Input[Union[str, 'Compression']]] = None, + consumer_group: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'EventHubDataFormat']]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_hub_resource_id: Optional[pulumi.Input[str]] = None, + event_system_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing an event hub data connection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[Union[str, 'Compression']] compression: The event hub messages compression type + :param pulumi.Input[str] consumer_group: The event hub consumer group. + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[Union[str, 'EventHubDataFormat']] data_format: The data format of the message. Optionally the data format can be added to each message. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[Union[str, 'DatabaseRouting']] database_routing: Indication for database routing information from the data connection, by default only database routing information is allowed + :param pulumi.Input[str] event_hub_resource_id: The resource ID of the event hub to be used to create a data connection. + :param pulumi.Input[Sequence[pulumi.Input[str]]] event_system_properties: System properties of the event hub + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'EventHub'. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] managed_identity_resource_id: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + :param pulumi.Input[str] mapping_rule_name: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] retrieval_start_date: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + :param pulumi.Input[str] table_name: The table where the data should be ingested. Optionally the table information can be added to each message. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EventHubDataConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing an event hub data connection. + + :param str resource_name: The name of the resource. + :param EventHubDataConnectionArgs 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(EventHubDataConnectionArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + compression: Optional[pulumi.Input[Union[str, 'Compression']]] = None, + consumer_group: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'EventHubDataFormat']]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_hub_resource_id: Optional[pulumi.Input[str]] = None, + event_system_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + managed_identity_resource_id: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = EventHubDataConnectionArgs.__new__(EventHubDataConnectionArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["compression"] = compression + if consumer_group is None and not opts.urn: + raise TypeError("Missing required property 'consumer_group'") + __props__.__dict__["consumer_group"] = consumer_group + __props__.__dict__["data_connection_name"] = data_connection_name + __props__.__dict__["data_format"] = data_format + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + if database_routing is None: + database_routing = 'Single' + __props__.__dict__["database_routing"] = database_routing + if event_hub_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'event_hub_resource_id'") + __props__.__dict__["event_hub_resource_id"] = event_hub_resource_id + __props__.__dict__["event_system_properties"] = event_system_properties + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'EventHub' + __props__.__dict__["location"] = location + __props__.__dict__["managed_identity_resource_id"] = managed_identity_resource_id + __props__.__dict__["mapping_rule_name"] = mapping_rule_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["retrieval_start_date"] = retrieval_start_date + __props__.__dict__["table_name"] = table_name + __props__.__dict__["managed_identity_object_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:EventHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:EventHubDataConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(EventHubDataConnection, __self__).__init__( + 'azure-native:kusto/v20230815:EventHubDataConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'EventHubDataConnection': + """ + Get an existing EventHubDataConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = EventHubDataConnectionArgs.__new__(EventHubDataConnectionArgs) + + __props__.__dict__["compression"] = None + __props__.__dict__["consumer_group"] = None + __props__.__dict__["data_format"] = None + __props__.__dict__["database_routing"] = None + __props__.__dict__["event_hub_resource_id"] = None + __props__.__dict__["event_system_properties"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["managed_identity_object_id"] = None + __props__.__dict__["managed_identity_resource_id"] = None + __props__.__dict__["mapping_rule_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["retrieval_start_date"] = None + __props__.__dict__["table_name"] = None + __props__.__dict__["type"] = None + return EventHubDataConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def compression(self) -> pulumi.Output[Optional[str]]: + """ + The event hub messages compression type + """ + return pulumi.get(self, "compression") + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> pulumi.Output[str]: + """ + The event hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> pulumi.Output[Optional[str]]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> pulumi.Output[Optional[str]]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @property + @pulumi.getter(name="eventHubResourceId") + def event_hub_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the event hub to be used to create a data connection. + """ + return pulumi.get(self, "event_hub_resource_id") + + @property + @pulumi.getter(name="eventSystemProperties") + def event_system_properties(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + System properties of the event hub + """ + return pulumi.get(self, "event_system_properties") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'EventHub'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedIdentityObjectId") + def managed_identity_object_id(self) -> pulumi.Output[str]: + """ + The object ID of the managedIdentityResourceId + """ + return pulumi.get(self, "managed_identity_object_id") + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> pulumi.Output[Optional[str]]: + """ + The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> pulumi.Output[Optional[str]]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> pulumi.Output[Optional[str]]: + """ + When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + """ + return pulumi.get(self, "retrieval_start_date") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Output[Optional[str]]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_attached_database_configuration.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_attached_database_configuration.py new file mode 100644 index 000000000000..06499df804e5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_attached_database_configuration.py @@ -0,0 +1,227 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAttachedDatabaseConfigurationResult', + 'AwaitableGetAttachedDatabaseConfigurationResult', + 'get_attached_database_configuration', + 'get_attached_database_configuration_output', +] + +@pulumi.output_type +class GetAttachedDatabaseConfigurationResult: + """ + Class representing an attached database configuration. + """ + def __init__(__self__, attached_database_names=None, cluster_resource_id=None, database_name=None, database_name_override=None, database_name_prefix=None, default_principals_modification_kind=None, id=None, location=None, name=None, provisioning_state=None, table_level_sharing_properties=None, type=None): + if attached_database_names and not isinstance(attached_database_names, list): + raise TypeError("Expected argument 'attached_database_names' to be a list") + pulumi.set(__self__, "attached_database_names", attached_database_names) + if cluster_resource_id and not isinstance(cluster_resource_id, str): + raise TypeError("Expected argument 'cluster_resource_id' to be a str") + pulumi.set(__self__, "cluster_resource_id", cluster_resource_id) + if database_name and not isinstance(database_name, str): + raise TypeError("Expected argument 'database_name' to be a str") + pulumi.set(__self__, "database_name", database_name) + if database_name_override and not isinstance(database_name_override, str): + raise TypeError("Expected argument 'database_name_override' to be a str") + pulumi.set(__self__, "database_name_override", database_name_override) + if database_name_prefix and not isinstance(database_name_prefix, str): + raise TypeError("Expected argument 'database_name_prefix' to be a str") + pulumi.set(__self__, "database_name_prefix", database_name_prefix) + if default_principals_modification_kind and not isinstance(default_principals_modification_kind, str): + raise TypeError("Expected argument 'default_principals_modification_kind' to be a str") + pulumi.set(__self__, "default_principals_modification_kind", default_principals_modification_kind) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if table_level_sharing_properties and not isinstance(table_level_sharing_properties, dict): + raise TypeError("Expected argument 'table_level_sharing_properties' to be a dict") + pulumi.set(__self__, "table_level_sharing_properties", table_level_sharing_properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="attachedDatabaseNames") + def attached_database_names(self) -> Sequence[str]: + """ + The list of databases from the clusterResourceId which are currently attached to the cluster. + """ + return pulumi.get(self, "attached_database_names") + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> str: + """ + The resource id of the cluster where the databases you would like to attach reside. + """ + return pulumi.get(self, "cluster_resource_id") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> str: + """ + The name of the database which you would like to attach, use * if you want to follow all current and future databases. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter(name="databaseNameOverride") + def database_name_override(self) -> Optional[str]: + """ + Overrides the original database name. Relevant only when attaching to a specific database. + """ + return pulumi.get(self, "database_name_override") + + @property + @pulumi.getter(name="databaseNamePrefix") + def database_name_prefix(self) -> Optional[str]: + """ + Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. + """ + return pulumi.get(self, "database_name_prefix") + + @property + @pulumi.getter(name="defaultPrincipalsModificationKind") + def default_principals_modification_kind(self) -> str: + """ + The default principals modification kind + """ + return pulumi.get(self, "default_principals_modification_kind") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="tableLevelSharingProperties") + def table_level_sharing_properties(self) -> Optional['outputs.TableLevelSharingPropertiesResponse']: + """ + Table level sharing specifications + """ + return pulumi.get(self, "table_level_sharing_properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAttachedDatabaseConfigurationResult(GetAttachedDatabaseConfigurationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAttachedDatabaseConfigurationResult( + attached_database_names=self.attached_database_names, + cluster_resource_id=self.cluster_resource_id, + database_name=self.database_name, + database_name_override=self.database_name_override, + database_name_prefix=self.database_name_prefix, + default_principals_modification_kind=self.default_principals_modification_kind, + id=self.id, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + table_level_sharing_properties=self.table_level_sharing_properties, + type=self.type) + + +def get_attached_database_configuration(attached_database_configuration_name: Optional[str] = None, + cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAttachedDatabaseConfigurationResult: + """ + Returns an attached database configuration. + + + :param str attached_database_configuration_name: The name of the attached database configuration. + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['attachedDatabaseConfigurationName'] = attached_database_configuration_name + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getAttachedDatabaseConfiguration', __args__, opts=opts, typ=GetAttachedDatabaseConfigurationResult).value + + return AwaitableGetAttachedDatabaseConfigurationResult( + attached_database_names=pulumi.get(__ret__, 'attached_database_names'), + cluster_resource_id=pulumi.get(__ret__, 'cluster_resource_id'), + database_name=pulumi.get(__ret__, 'database_name'), + database_name_override=pulumi.get(__ret__, 'database_name_override'), + database_name_prefix=pulumi.get(__ret__, 'database_name_prefix'), + default_principals_modification_kind=pulumi.get(__ret__, 'default_principals_modification_kind'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + table_level_sharing_properties=pulumi.get(__ret__, 'table_level_sharing_properties'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_attached_database_configuration) +def get_attached_database_configuration_output(attached_database_configuration_name: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAttachedDatabaseConfigurationResult]: + """ + Returns an attached database configuration. + + + :param str attached_database_configuration_name: The name of the attached database configuration. + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_cluster.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_cluster.py new file mode 100644 index 000000000000..53c24672142c --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_cluster.py @@ -0,0 +1,508 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetClusterResult', + 'AwaitableGetClusterResult', + 'get_cluster', + 'get_cluster_output', +] + +@pulumi.output_type +class GetClusterResult: + """ + Class representing a Kusto cluster. + """ + def __init__(__self__, accepted_audiences=None, allowed_fqdn_list=None, allowed_ip_range_list=None, data_ingestion_uri=None, enable_auto_stop=None, enable_disk_encryption=None, enable_double_encryption=None, enable_purge=None, enable_streaming_ingest=None, engine_type=None, etag=None, id=None, identity=None, key_vault_properties=None, language_extensions=None, location=None, migration_cluster=None, name=None, optimized_autoscale=None, private_endpoint_connections=None, provisioning_state=None, public_ip_type=None, public_network_access=None, restrict_outbound_network_access=None, sku=None, state=None, state_reason=None, system_data=None, tags=None, trusted_external_tenants=None, type=None, uri=None, virtual_network_configuration=None, zones=None): + if accepted_audiences and not isinstance(accepted_audiences, list): + raise TypeError("Expected argument 'accepted_audiences' to be a list") + pulumi.set(__self__, "accepted_audiences", accepted_audiences) + if allowed_fqdn_list and not isinstance(allowed_fqdn_list, list): + raise TypeError("Expected argument 'allowed_fqdn_list' to be a list") + pulumi.set(__self__, "allowed_fqdn_list", allowed_fqdn_list) + if allowed_ip_range_list and not isinstance(allowed_ip_range_list, list): + raise TypeError("Expected argument 'allowed_ip_range_list' to be a list") + pulumi.set(__self__, "allowed_ip_range_list", allowed_ip_range_list) + if data_ingestion_uri and not isinstance(data_ingestion_uri, str): + raise TypeError("Expected argument 'data_ingestion_uri' to be a str") + pulumi.set(__self__, "data_ingestion_uri", data_ingestion_uri) + if enable_auto_stop and not isinstance(enable_auto_stop, bool): + raise TypeError("Expected argument 'enable_auto_stop' to be a bool") + pulumi.set(__self__, "enable_auto_stop", enable_auto_stop) + if enable_disk_encryption and not isinstance(enable_disk_encryption, bool): + raise TypeError("Expected argument 'enable_disk_encryption' to be a bool") + pulumi.set(__self__, "enable_disk_encryption", enable_disk_encryption) + if enable_double_encryption and not isinstance(enable_double_encryption, bool): + raise TypeError("Expected argument 'enable_double_encryption' to be a bool") + pulumi.set(__self__, "enable_double_encryption", enable_double_encryption) + if enable_purge and not isinstance(enable_purge, bool): + raise TypeError("Expected argument 'enable_purge' to be a bool") + pulumi.set(__self__, "enable_purge", enable_purge) + if enable_streaming_ingest and not isinstance(enable_streaming_ingest, bool): + raise TypeError("Expected argument 'enable_streaming_ingest' to be a bool") + pulumi.set(__self__, "enable_streaming_ingest", enable_streaming_ingest) + if engine_type and not isinstance(engine_type, str): + raise TypeError("Expected argument 'engine_type' to be a str") + pulumi.set(__self__, "engine_type", engine_type) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if key_vault_properties and not isinstance(key_vault_properties, dict): + raise TypeError("Expected argument 'key_vault_properties' to be a dict") + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + if language_extensions and not isinstance(language_extensions, dict): + raise TypeError("Expected argument 'language_extensions' to be a dict") + pulumi.set(__self__, "language_extensions", language_extensions) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if migration_cluster and not isinstance(migration_cluster, dict): + raise TypeError("Expected argument 'migration_cluster' to be a dict") + pulumi.set(__self__, "migration_cluster", migration_cluster) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if optimized_autoscale and not isinstance(optimized_autoscale, dict): + raise TypeError("Expected argument 'optimized_autoscale' to be a dict") + pulumi.set(__self__, "optimized_autoscale", optimized_autoscale) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if public_ip_type and not isinstance(public_ip_type, str): + raise TypeError("Expected argument 'public_ip_type' to be a str") + pulumi.set(__self__, "public_ip_type", public_ip_type) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if restrict_outbound_network_access and not isinstance(restrict_outbound_network_access, str): + raise TypeError("Expected argument 'restrict_outbound_network_access' to be a str") + pulumi.set(__self__, "restrict_outbound_network_access", restrict_outbound_network_access) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if state_reason and not isinstance(state_reason, str): + raise TypeError("Expected argument 'state_reason' to be a str") + pulumi.set(__self__, "state_reason", state_reason) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if trusted_external_tenants and not isinstance(trusted_external_tenants, list): + raise TypeError("Expected argument 'trusted_external_tenants' to be a list") + pulumi.set(__self__, "trusted_external_tenants", trusted_external_tenants) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if uri and not isinstance(uri, str): + raise TypeError("Expected argument 'uri' to be a str") + pulumi.set(__self__, "uri", uri) + if virtual_network_configuration and not isinstance(virtual_network_configuration, dict): + raise TypeError("Expected argument 'virtual_network_configuration' to be a dict") + pulumi.set(__self__, "virtual_network_configuration", virtual_network_configuration) + if zones and not isinstance(zones, list): + raise TypeError("Expected argument 'zones' to be a list") + pulumi.set(__self__, "zones", zones) + + @property + @pulumi.getter(name="acceptedAudiences") + def accepted_audiences(self) -> Optional[Sequence['outputs.AcceptedAudiencesResponse']]: + """ + The cluster's accepted audiences. + """ + return pulumi.get(self, "accepted_audiences") + + @property + @pulumi.getter(name="allowedFqdnList") + def allowed_fqdn_list(self) -> Optional[Sequence[str]]: + """ + List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. + """ + return pulumi.get(self, "allowed_fqdn_list") + + @property + @pulumi.getter(name="allowedIpRangeList") + def allowed_ip_range_list(self) -> Optional[Sequence[str]]: + """ + The list of ips in the format of CIDR allowed to connect to the cluster. + """ + return pulumi.get(self, "allowed_ip_range_list") + + @property + @pulumi.getter(name="dataIngestionUri") + def data_ingestion_uri(self) -> str: + """ + The cluster data ingestion URI. + """ + return pulumi.get(self, "data_ingestion_uri") + + @property + @pulumi.getter(name="enableAutoStop") + def enable_auto_stop(self) -> Optional[bool]: + """ + A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days). + """ + return pulumi.get(self, "enable_auto_stop") + + @property + @pulumi.getter(name="enableDiskEncryption") + def enable_disk_encryption(self) -> Optional[bool]: + """ + A boolean value that indicates if the cluster's disks are encrypted. + """ + return pulumi.get(self, "enable_disk_encryption") + + @property + @pulumi.getter(name="enableDoubleEncryption") + def enable_double_encryption(self) -> Optional[bool]: + """ + A boolean value that indicates if double encryption is enabled. + """ + return pulumi.get(self, "enable_double_encryption") + + @property + @pulumi.getter(name="enablePurge") + def enable_purge(self) -> Optional[bool]: + """ + A boolean value that indicates if the purge operations are enabled. + """ + return pulumi.get(self, "enable_purge") + + @property + @pulumi.getter(name="enableStreamingIngest") + def enable_streaming_ingest(self) -> Optional[bool]: + """ + A boolean value that indicates if the streaming ingest is enabled. + """ + return pulumi.get(self, "enable_streaming_ingest") + + @property + @pulumi.getter(name="engineType") + def engine_type(self) -> Optional[str]: + """ + The engine type + """ + return pulumi.get(self, "engine_type") + + @property + @pulumi.getter + def etag(self) -> str: + """ + A unique read-only string that changes whenever the resource is updated. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.IdentityResponse']: + """ + The identity of the cluster, if configured. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional['outputs.KeyVaultPropertiesResponse']: + """ + KeyVault properties for the cluster encryption. + """ + return pulumi.get(self, "key_vault_properties") + + @property + @pulumi.getter(name="languageExtensions") + def language_extensions(self) -> Optional['outputs.LanguageExtensionsListResponse']: + """ + List of the cluster's language extensions. + """ + return pulumi.get(self, "language_extensions") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="migrationCluster") + def migration_cluster(self) -> 'outputs.MigrationClusterPropertiesResponse': + """ + Properties of the peer cluster involved in a migration to/from this cluster. + """ + return pulumi.get(self, "migration_cluster") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="optimizedAutoscale") + def optimized_autoscale(self) -> Optional['outputs.OptimizedAutoscaleResponse']: + """ + Optimized auto scale definition. + """ + return pulumi.get(self, "optimized_autoscale") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + A list of private endpoint connections. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicIPType") + def public_ip_type(self) -> Optional[str]: + """ + Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) + """ + return pulumi.get(self, "public_ip_type") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="restrictOutboundNetworkAccess") + def restrict_outbound_network_access(self) -> Optional[str]: + """ + Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + """ + return pulumi.get(self, "restrict_outbound_network_access") + + @property + @pulumi.getter + def sku(self) -> 'outputs.AzureSkuResponse': + """ + The SKU of the cluster. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def state(self) -> str: + """ + The state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="stateReason") + def state_reason(self) -> str: + """ + The reason for the cluster's current state. + """ + return pulumi.get(self, "state_reason") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="trustedExternalTenants") + def trusted_external_tenants(self) -> Optional[Sequence['outputs.TrustedExternalTenantResponse']]: + """ + The cluster's external tenants. + """ + return pulumi.get(self, "trusted_external_tenants") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uri(self) -> str: + """ + The cluster URI. + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="virtualNetworkConfiguration") + def virtual_network_configuration(self) -> Optional['outputs.VirtualNetworkConfigurationResponse']: + """ + Virtual network definition. + """ + return pulumi.get(self, "virtual_network_configuration") + + @property + @pulumi.getter + def zones(self) -> Optional[Sequence[str]]: + """ + The availability zones of the cluster. + """ + return pulumi.get(self, "zones") + + +class AwaitableGetClusterResult(GetClusterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetClusterResult( + accepted_audiences=self.accepted_audiences, + allowed_fqdn_list=self.allowed_fqdn_list, + allowed_ip_range_list=self.allowed_ip_range_list, + data_ingestion_uri=self.data_ingestion_uri, + enable_auto_stop=self.enable_auto_stop, + enable_disk_encryption=self.enable_disk_encryption, + enable_double_encryption=self.enable_double_encryption, + enable_purge=self.enable_purge, + enable_streaming_ingest=self.enable_streaming_ingest, + engine_type=self.engine_type, + etag=self.etag, + id=self.id, + identity=self.identity, + key_vault_properties=self.key_vault_properties, + language_extensions=self.language_extensions, + location=self.location, + migration_cluster=self.migration_cluster, + name=self.name, + optimized_autoscale=self.optimized_autoscale, + private_endpoint_connections=self.private_endpoint_connections, + provisioning_state=self.provisioning_state, + public_ip_type=self.public_ip_type, + public_network_access=self.public_network_access, + restrict_outbound_network_access=self.restrict_outbound_network_access, + sku=self.sku, + state=self.state, + state_reason=self.state_reason, + system_data=self.system_data, + tags=self.tags, + trusted_external_tenants=self.trusted_external_tenants, + type=self.type, + uri=self.uri, + virtual_network_configuration=self.virtual_network_configuration, + zones=self.zones) + + +def get_cluster(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterResult: + """ + Gets a Kusto cluster. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getCluster', __args__, opts=opts, typ=GetClusterResult).value + + return AwaitableGetClusterResult( + accepted_audiences=pulumi.get(__ret__, 'accepted_audiences'), + allowed_fqdn_list=pulumi.get(__ret__, 'allowed_fqdn_list'), + allowed_ip_range_list=pulumi.get(__ret__, 'allowed_ip_range_list'), + data_ingestion_uri=pulumi.get(__ret__, 'data_ingestion_uri'), + enable_auto_stop=pulumi.get(__ret__, 'enable_auto_stop'), + enable_disk_encryption=pulumi.get(__ret__, 'enable_disk_encryption'), + enable_double_encryption=pulumi.get(__ret__, 'enable_double_encryption'), + enable_purge=pulumi.get(__ret__, 'enable_purge'), + enable_streaming_ingest=pulumi.get(__ret__, 'enable_streaming_ingest'), + engine_type=pulumi.get(__ret__, 'engine_type'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + key_vault_properties=pulumi.get(__ret__, 'key_vault_properties'), + language_extensions=pulumi.get(__ret__, 'language_extensions'), + location=pulumi.get(__ret__, 'location'), + migration_cluster=pulumi.get(__ret__, 'migration_cluster'), + name=pulumi.get(__ret__, 'name'), + optimized_autoscale=pulumi.get(__ret__, 'optimized_autoscale'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + public_ip_type=pulumi.get(__ret__, 'public_ip_type'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + restrict_outbound_network_access=pulumi.get(__ret__, 'restrict_outbound_network_access'), + sku=pulumi.get(__ret__, 'sku'), + state=pulumi.get(__ret__, 'state'), + state_reason=pulumi.get(__ret__, 'state_reason'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + trusted_external_tenants=pulumi.get(__ret__, 'trusted_external_tenants'), + type=pulumi.get(__ret__, 'type'), + uri=pulumi.get(__ret__, 'uri'), + virtual_network_configuration=pulumi.get(__ret__, 'virtual_network_configuration'), + zones=pulumi.get(__ret__, 'zones')) + + +@_utilities.lift_output_func(get_cluster) +def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: + """ + Gets a Kusto cluster. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_cluster_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_cluster_principal_assignment.py new file mode 100644 index 000000000000..9d8bcf440e65 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_cluster_principal_assignment.py @@ -0,0 +1,213 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetClusterPrincipalAssignmentResult', + 'AwaitableGetClusterPrincipalAssignmentResult', + 'get_cluster_principal_assignment', + 'get_cluster_principal_assignment_output', +] + +@pulumi.output_type +class GetClusterPrincipalAssignmentResult: + """ + Class representing a cluster principal assignment. + """ + def __init__(__self__, aad_object_id=None, id=None, name=None, principal_id=None, principal_name=None, principal_type=None, provisioning_state=None, role=None, tenant_id=None, tenant_name=None, type=None): + if aad_object_id and not isinstance(aad_object_id, str): + raise TypeError("Expected argument 'aad_object_id' to be a str") + pulumi.set(__self__, "aad_object_id", aad_object_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if principal_id and not isinstance(principal_id, str): + raise TypeError("Expected argument 'principal_id' to be a str") + pulumi.set(__self__, "principal_id", principal_id) + if principal_name and not isinstance(principal_name, str): + raise TypeError("Expected argument 'principal_name' to be a str") + pulumi.set(__self__, "principal_name", principal_name) + if principal_type and not isinstance(principal_type, str): + raise TypeError("Expected argument 'principal_type' to be a str") + pulumi.set(__self__, "principal_type", principal_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if role and not isinstance(role, str): + raise TypeError("Expected argument 'role' to be a str") + pulumi.set(__self__, "role", role) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if tenant_name and not isinstance(tenant_name, str): + raise TypeError("Expected argument 'tenant_name' to be a str") + pulumi.set(__self__, "tenant_name", tenant_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="aadObjectId") + def aad_object_id(self) -> str: + """ + The service principal object id in AAD (Azure active directory) + """ + return pulumi.get(self, "aad_object_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalName") + def principal_name(self) -> str: + """ + The principal name + """ + return pulumi.get(self, "principal_name") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> str: + """ + Principal type. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def role(self) -> str: + """ + Cluster principal role. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The tenant id of the principal + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="tenantName") + def tenant_name(self) -> str: + """ + The tenant name of the principal + """ + return pulumi.get(self, "tenant_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetClusterPrincipalAssignmentResult(GetClusterPrincipalAssignmentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetClusterPrincipalAssignmentResult( + aad_object_id=self.aad_object_id, + id=self.id, + name=self.name, + principal_id=self.principal_id, + principal_name=self.principal_name, + principal_type=self.principal_type, + provisioning_state=self.provisioning_state, + role=self.role, + tenant_id=self.tenant_id, + tenant_name=self.tenant_name, + type=self.type) + + +def get_cluster_principal_assignment(cluster_name: Optional[str] = None, + principal_assignment_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterPrincipalAssignmentResult: + """ + Gets a Kusto cluster principalAssignment. + + + :param str cluster_name: The name of the Kusto cluster. + :param str principal_assignment_name: The name of the Kusto principalAssignment. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['principalAssignmentName'] = principal_assignment_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getClusterPrincipalAssignment', __args__, opts=opts, typ=GetClusterPrincipalAssignmentResult).value + + return AwaitableGetClusterPrincipalAssignmentResult( + aad_object_id=pulumi.get(__ret__, 'aad_object_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + principal_id=pulumi.get(__ret__, 'principal_id'), + principal_name=pulumi.get(__ret__, 'principal_name'), + principal_type=pulumi.get(__ret__, 'principal_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + role=pulumi.get(__ret__, 'role'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + tenant_name=pulumi.get(__ret__, 'tenant_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cluster_principal_assignment) +def get_cluster_principal_assignment_output(cluster_name: Optional[pulumi.Input[str]] = None, + principal_assignment_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterPrincipalAssignmentResult]: + """ + Gets a Kusto cluster principalAssignment. + + + :param str cluster_name: The name of the Kusto cluster. + :param str principal_assignment_name: The name of the Kusto principalAssignment. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_cosmos_db_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_cosmos_db_data_connection.py new file mode 100644 index 000000000000..4196f153b6cf --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_cosmos_db_data_connection.py @@ -0,0 +1,258 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetCosmosDbDataConnectionResult', + 'AwaitableGetCosmosDbDataConnectionResult', + 'get_cosmos_db_data_connection', + 'get_cosmos_db_data_connection_output', +] + +@pulumi.output_type +class GetCosmosDbDataConnectionResult: + """ + Class representing a CosmosDb data connection. + """ + def __init__(__self__, cosmos_db_account_resource_id=None, cosmos_db_container=None, cosmos_db_database=None, id=None, kind=None, location=None, managed_identity_object_id=None, managed_identity_resource_id=None, mapping_rule_name=None, name=None, provisioning_state=None, retrieval_start_date=None, table_name=None, type=None): + if cosmos_db_account_resource_id and not isinstance(cosmos_db_account_resource_id, str): + raise TypeError("Expected argument 'cosmos_db_account_resource_id' to be a str") + pulumi.set(__self__, "cosmos_db_account_resource_id", cosmos_db_account_resource_id) + if cosmos_db_container and not isinstance(cosmos_db_container, str): + raise TypeError("Expected argument 'cosmos_db_container' to be a str") + pulumi.set(__self__, "cosmos_db_container", cosmos_db_container) + if cosmos_db_database and not isinstance(cosmos_db_database, str): + raise TypeError("Expected argument 'cosmos_db_database' to be a str") + pulumi.set(__self__, "cosmos_db_database", cosmos_db_database) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_identity_object_id and not isinstance(managed_identity_object_id, str): + raise TypeError("Expected argument 'managed_identity_object_id' to be a str") + pulumi.set(__self__, "managed_identity_object_id", managed_identity_object_id) + if managed_identity_resource_id and not isinstance(managed_identity_resource_id, str): + raise TypeError("Expected argument 'managed_identity_resource_id' to be a str") + pulumi.set(__self__, "managed_identity_resource_id", managed_identity_resource_id) + if mapping_rule_name and not isinstance(mapping_rule_name, str): + raise TypeError("Expected argument 'mapping_rule_name' to be a str") + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if retrieval_start_date and not isinstance(retrieval_start_date, str): + raise TypeError("Expected argument 'retrieval_start_date' to be a str") + pulumi.set(__self__, "retrieval_start_date", retrieval_start_date) + if table_name and not isinstance(table_name, str): + raise TypeError("Expected argument 'table_name' to be a str") + pulumi.set(__self__, "table_name", table_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="cosmosDbAccountResourceId") + def cosmos_db_account_resource_id(self) -> str: + """ + The resource ID of the Cosmos DB account used to create the data connection. + """ + return pulumi.get(self, "cosmos_db_account_resource_id") + + @property + @pulumi.getter(name="cosmosDbContainer") + def cosmos_db_container(self) -> str: + """ + The name of an existing container in the Cosmos DB database. + """ + return pulumi.get(self, "cosmos_db_container") + + @property + @pulumi.getter(name="cosmosDbDatabase") + def cosmos_db_database(self) -> str: + """ + The name of an existing database in the Cosmos DB account. + """ + return pulumi.get(self, "cosmos_db_database") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the endpoint for the data connection + Expected value is 'CosmosDb'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedIdentityObjectId") + def managed_identity_object_id(self) -> str: + """ + The object ID of the managed identity resource. + """ + return pulumi.get(self, "managed_identity_object_id") + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> str: + """ + The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[str]: + """ + The name of an existing mapping rule to use when ingesting the retrieved data. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> Optional[str]: + """ + Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. + """ + return pulumi.get(self, "retrieval_start_date") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> str: + """ + The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetCosmosDbDataConnectionResult(GetCosmosDbDataConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCosmosDbDataConnectionResult( + cosmos_db_account_resource_id=self.cosmos_db_account_resource_id, + cosmos_db_container=self.cosmos_db_container, + cosmos_db_database=self.cosmos_db_database, + id=self.id, + kind=self.kind, + location=self.location, + managed_identity_object_id=self.managed_identity_object_id, + managed_identity_resource_id=self.managed_identity_resource_id, + mapping_rule_name=self.mapping_rule_name, + name=self.name, + provisioning_state=self.provisioning_state, + retrieval_start_date=self.retrieval_start_date, + table_name=self.table_name, + type=self.type) + + +def get_cosmos_db_data_connection(cluster_name: Optional[str] = None, + data_connection_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCosmosDbDataConnectionResult: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['dataConnectionName'] = data_connection_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getCosmosDbDataConnection', __args__, opts=opts, typ=GetCosmosDbDataConnectionResult).value + + return AwaitableGetCosmosDbDataConnectionResult( + cosmos_db_account_resource_id=pulumi.get(__ret__, 'cosmos_db_account_resource_id'), + cosmos_db_container=pulumi.get(__ret__, 'cosmos_db_container'), + cosmos_db_database=pulumi.get(__ret__, 'cosmos_db_database'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + managed_identity_object_id=pulumi.get(__ret__, 'managed_identity_object_id'), + managed_identity_resource_id=pulumi.get(__ret__, 'managed_identity_resource_id'), + mapping_rule_name=pulumi.get(__ret__, 'mapping_rule_name'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + retrieval_start_date=pulumi.get(__ret__, 'retrieval_start_date'), + table_name=pulumi.get(__ret__, 'table_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_cosmos_db_data_connection) +def get_cosmos_db_data_connection_output(cluster_name: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCosmosDbDataConnectionResult]: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_database_principal_assignment.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_database_principal_assignment.py new file mode 100644 index 000000000000..415ddfd019ae --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_database_principal_assignment.py @@ -0,0 +1,218 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetDatabasePrincipalAssignmentResult', + 'AwaitableGetDatabasePrincipalAssignmentResult', + 'get_database_principal_assignment', + 'get_database_principal_assignment_output', +] + +@pulumi.output_type +class GetDatabasePrincipalAssignmentResult: + """ + Class representing a database principal assignment. + """ + def __init__(__self__, aad_object_id=None, id=None, name=None, principal_id=None, principal_name=None, principal_type=None, provisioning_state=None, role=None, tenant_id=None, tenant_name=None, type=None): + if aad_object_id and not isinstance(aad_object_id, str): + raise TypeError("Expected argument 'aad_object_id' to be a str") + pulumi.set(__self__, "aad_object_id", aad_object_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if principal_id and not isinstance(principal_id, str): + raise TypeError("Expected argument 'principal_id' to be a str") + pulumi.set(__self__, "principal_id", principal_id) + if principal_name and not isinstance(principal_name, str): + raise TypeError("Expected argument 'principal_name' to be a str") + pulumi.set(__self__, "principal_name", principal_name) + if principal_type and not isinstance(principal_type, str): + raise TypeError("Expected argument 'principal_type' to be a str") + pulumi.set(__self__, "principal_type", principal_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if role and not isinstance(role, str): + raise TypeError("Expected argument 'role' to be a str") + pulumi.set(__self__, "role", role) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if tenant_name and not isinstance(tenant_name, str): + raise TypeError("Expected argument 'tenant_name' to be a str") + pulumi.set(__self__, "tenant_name", tenant_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="aadObjectId") + def aad_object_id(self) -> str: + """ + The service principal object id in AAD (Azure active directory) + """ + return pulumi.get(self, "aad_object_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="principalName") + def principal_name(self) -> str: + """ + The principal name + """ + return pulumi.get(self, "principal_name") + + @property + @pulumi.getter(name="principalType") + def principal_type(self) -> str: + """ + Principal type. + """ + return pulumi.get(self, "principal_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def role(self) -> str: + """ + Database principal role. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The tenant id of the principal + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="tenantName") + def tenant_name(self) -> str: + """ + The tenant name of the principal + """ + return pulumi.get(self, "tenant_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetDatabasePrincipalAssignmentResult(GetDatabasePrincipalAssignmentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDatabasePrincipalAssignmentResult( + aad_object_id=self.aad_object_id, + id=self.id, + name=self.name, + principal_id=self.principal_id, + principal_name=self.principal_name, + principal_type=self.principal_type, + provisioning_state=self.provisioning_state, + role=self.role, + tenant_id=self.tenant_id, + tenant_name=self.tenant_name, + type=self.type) + + +def get_database_principal_assignment(cluster_name: Optional[str] = None, + database_name: Optional[str] = None, + principal_assignment_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabasePrincipalAssignmentResult: + """ + Gets a Kusto cluster database principalAssignment. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str principal_assignment_name: The name of the Kusto principalAssignment. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['databaseName'] = database_name + __args__['principalAssignmentName'] = principal_assignment_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getDatabasePrincipalAssignment', __args__, opts=opts, typ=GetDatabasePrincipalAssignmentResult).value + + return AwaitableGetDatabasePrincipalAssignmentResult( + aad_object_id=pulumi.get(__ret__, 'aad_object_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + principal_id=pulumi.get(__ret__, 'principal_id'), + principal_name=pulumi.get(__ret__, 'principal_name'), + principal_type=pulumi.get(__ret__, 'principal_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + role=pulumi.get(__ret__, 'role'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + tenant_name=pulumi.get(__ret__, 'tenant_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_database_principal_assignment) +def get_database_principal_assignment_output(cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + principal_assignment_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabasePrincipalAssignmentResult]: + """ + Gets a Kusto cluster database principalAssignment. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str principal_assignment_name: The name of the Kusto principalAssignment. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_event_grid_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_event_grid_data_connection.py new file mode 100644 index 000000000000..ccae32447c66 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_event_grid_data_connection.py @@ -0,0 +1,310 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetEventGridDataConnectionResult', + 'AwaitableGetEventGridDataConnectionResult', + 'get_event_grid_data_connection', + 'get_event_grid_data_connection_output', +] + +@pulumi.output_type +class GetEventGridDataConnectionResult: + """ + Class representing an Event Grid data connection. + """ + def __init__(__self__, blob_storage_event_type=None, consumer_group=None, data_format=None, database_routing=None, event_grid_resource_id=None, event_hub_resource_id=None, id=None, ignore_first_record=None, kind=None, location=None, managed_identity_object_id=None, managed_identity_resource_id=None, mapping_rule_name=None, name=None, provisioning_state=None, storage_account_resource_id=None, table_name=None, type=None): + if blob_storage_event_type and not isinstance(blob_storage_event_type, str): + raise TypeError("Expected argument 'blob_storage_event_type' to be a str") + pulumi.set(__self__, "blob_storage_event_type", blob_storage_event_type) + if consumer_group and not isinstance(consumer_group, str): + raise TypeError("Expected argument 'consumer_group' to be a str") + pulumi.set(__self__, "consumer_group", consumer_group) + if data_format and not isinstance(data_format, str): + raise TypeError("Expected argument 'data_format' to be a str") + pulumi.set(__self__, "data_format", data_format) + if database_routing and not isinstance(database_routing, str): + raise TypeError("Expected argument 'database_routing' to be a str") + pulumi.set(__self__, "database_routing", database_routing) + if event_grid_resource_id and not isinstance(event_grid_resource_id, str): + raise TypeError("Expected argument 'event_grid_resource_id' to be a str") + pulumi.set(__self__, "event_grid_resource_id", event_grid_resource_id) + if event_hub_resource_id and not isinstance(event_hub_resource_id, str): + raise TypeError("Expected argument 'event_hub_resource_id' to be a str") + pulumi.set(__self__, "event_hub_resource_id", event_hub_resource_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ignore_first_record and not isinstance(ignore_first_record, bool): + raise TypeError("Expected argument 'ignore_first_record' to be a bool") + pulumi.set(__self__, "ignore_first_record", ignore_first_record) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_identity_object_id and not isinstance(managed_identity_object_id, str): + raise TypeError("Expected argument 'managed_identity_object_id' to be a str") + pulumi.set(__self__, "managed_identity_object_id", managed_identity_object_id) + if managed_identity_resource_id and not isinstance(managed_identity_resource_id, str): + raise TypeError("Expected argument 'managed_identity_resource_id' to be a str") + pulumi.set(__self__, "managed_identity_resource_id", managed_identity_resource_id) + if mapping_rule_name and not isinstance(mapping_rule_name, str): + raise TypeError("Expected argument 'mapping_rule_name' to be a str") + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if storage_account_resource_id and not isinstance(storage_account_resource_id, str): + raise TypeError("Expected argument 'storage_account_resource_id' to be a str") + pulumi.set(__self__, "storage_account_resource_id", storage_account_resource_id) + if table_name and not isinstance(table_name, str): + raise TypeError("Expected argument 'table_name' to be a str") + pulumi.set(__self__, "table_name", table_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="blobStorageEventType") + def blob_storage_event_type(self) -> Optional[str]: + """ + The name of blob storage event type to process. + """ + return pulumi.get(self, "blob_storage_event_type") + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> str: + """ + The event hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> Optional[str]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> Optional[str]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @property + @pulumi.getter(name="eventGridResourceId") + def event_grid_resource_id(self) -> Optional[str]: + """ + The resource ID of the event grid that is subscribed to the storage account events. + """ + return pulumi.get(self, "event_grid_resource_id") + + @property + @pulumi.getter(name="eventHubResourceId") + def event_hub_resource_id(self) -> str: + """ + The resource ID where the event grid is configured to send events. + """ + return pulumi.get(self, "event_hub_resource_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="ignoreFirstRecord") + def ignore_first_record(self) -> Optional[bool]: + """ + A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file + """ + return pulumi.get(self, "ignore_first_record") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the endpoint for the data connection + Expected value is 'EventGrid'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedIdentityObjectId") + def managed_identity_object_id(self) -> str: + """ + The object ID of managedIdentityResourceId + """ + return pulumi.get(self, "managed_identity_object_id") + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> Optional[str]: + """ + The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[str]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="storageAccountResourceId") + def storage_account_resource_id(self) -> str: + """ + The resource ID of the storage account where the data resides. + """ + return pulumi.get(self, "storage_account_resource_id") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[str]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetEventGridDataConnectionResult(GetEventGridDataConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEventGridDataConnectionResult( + blob_storage_event_type=self.blob_storage_event_type, + consumer_group=self.consumer_group, + data_format=self.data_format, + database_routing=self.database_routing, + event_grid_resource_id=self.event_grid_resource_id, + event_hub_resource_id=self.event_hub_resource_id, + id=self.id, + ignore_first_record=self.ignore_first_record, + kind=self.kind, + location=self.location, + managed_identity_object_id=self.managed_identity_object_id, + managed_identity_resource_id=self.managed_identity_resource_id, + mapping_rule_name=self.mapping_rule_name, + name=self.name, + provisioning_state=self.provisioning_state, + storage_account_resource_id=self.storage_account_resource_id, + table_name=self.table_name, + type=self.type) + + +def get_event_grid_data_connection(cluster_name: Optional[str] = None, + data_connection_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEventGridDataConnectionResult: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['dataConnectionName'] = data_connection_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getEventGridDataConnection', __args__, opts=opts, typ=GetEventGridDataConnectionResult).value + + return AwaitableGetEventGridDataConnectionResult( + blob_storage_event_type=pulumi.get(__ret__, 'blob_storage_event_type'), + consumer_group=pulumi.get(__ret__, 'consumer_group'), + data_format=pulumi.get(__ret__, 'data_format'), + database_routing=pulumi.get(__ret__, 'database_routing'), + event_grid_resource_id=pulumi.get(__ret__, 'event_grid_resource_id'), + event_hub_resource_id=pulumi.get(__ret__, 'event_hub_resource_id'), + id=pulumi.get(__ret__, 'id'), + ignore_first_record=pulumi.get(__ret__, 'ignore_first_record'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + managed_identity_object_id=pulumi.get(__ret__, 'managed_identity_object_id'), + managed_identity_resource_id=pulumi.get(__ret__, 'managed_identity_resource_id'), + mapping_rule_name=pulumi.get(__ret__, 'mapping_rule_name'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + storage_account_resource_id=pulumi.get(__ret__, 'storage_account_resource_id'), + table_name=pulumi.get(__ret__, 'table_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_event_grid_data_connection) +def get_event_grid_data_connection_output(cluster_name: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventGridDataConnectionResult]: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_event_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_event_hub_data_connection.py new file mode 100644 index 000000000000..410b7ac98e68 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_event_hub_data_connection.py @@ -0,0 +1,297 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetEventHubDataConnectionResult', + 'AwaitableGetEventHubDataConnectionResult', + 'get_event_hub_data_connection', + 'get_event_hub_data_connection_output', +] + +@pulumi.output_type +class GetEventHubDataConnectionResult: + """ + Class representing an event hub data connection. + """ + def __init__(__self__, compression=None, consumer_group=None, data_format=None, database_routing=None, event_hub_resource_id=None, event_system_properties=None, id=None, kind=None, location=None, managed_identity_object_id=None, managed_identity_resource_id=None, mapping_rule_name=None, name=None, provisioning_state=None, retrieval_start_date=None, table_name=None, type=None): + if compression and not isinstance(compression, str): + raise TypeError("Expected argument 'compression' to be a str") + pulumi.set(__self__, "compression", compression) + if consumer_group and not isinstance(consumer_group, str): + raise TypeError("Expected argument 'consumer_group' to be a str") + pulumi.set(__self__, "consumer_group", consumer_group) + if data_format and not isinstance(data_format, str): + raise TypeError("Expected argument 'data_format' to be a str") + pulumi.set(__self__, "data_format", data_format) + if database_routing and not isinstance(database_routing, str): + raise TypeError("Expected argument 'database_routing' to be a str") + pulumi.set(__self__, "database_routing", database_routing) + if event_hub_resource_id and not isinstance(event_hub_resource_id, str): + raise TypeError("Expected argument 'event_hub_resource_id' to be a str") + pulumi.set(__self__, "event_hub_resource_id", event_hub_resource_id) + if event_system_properties and not isinstance(event_system_properties, list): + raise TypeError("Expected argument 'event_system_properties' to be a list") + pulumi.set(__self__, "event_system_properties", event_system_properties) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if managed_identity_object_id and not isinstance(managed_identity_object_id, str): + raise TypeError("Expected argument 'managed_identity_object_id' to be a str") + pulumi.set(__self__, "managed_identity_object_id", managed_identity_object_id) + if managed_identity_resource_id and not isinstance(managed_identity_resource_id, str): + raise TypeError("Expected argument 'managed_identity_resource_id' to be a str") + pulumi.set(__self__, "managed_identity_resource_id", managed_identity_resource_id) + if mapping_rule_name and not isinstance(mapping_rule_name, str): + raise TypeError("Expected argument 'mapping_rule_name' to be a str") + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if retrieval_start_date and not isinstance(retrieval_start_date, str): + raise TypeError("Expected argument 'retrieval_start_date' to be a str") + pulumi.set(__self__, "retrieval_start_date", retrieval_start_date) + if table_name and not isinstance(table_name, str): + raise TypeError("Expected argument 'table_name' to be a str") + pulumi.set(__self__, "table_name", table_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def compression(self) -> Optional[str]: + """ + The event hub messages compression type + """ + return pulumi.get(self, "compression") + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> str: + """ + The event hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> Optional[str]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> Optional[str]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @property + @pulumi.getter(name="eventHubResourceId") + def event_hub_resource_id(self) -> str: + """ + The resource ID of the event hub to be used to create a data connection. + """ + return pulumi.get(self, "event_hub_resource_id") + + @property + @pulumi.getter(name="eventSystemProperties") + def event_system_properties(self) -> Optional[Sequence[str]]: + """ + System properties of the event hub + """ + return pulumi.get(self, "event_system_properties") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the endpoint for the data connection + Expected value is 'EventHub'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="managedIdentityObjectId") + def managed_identity_object_id(self) -> str: + """ + The object ID of the managedIdentityResourceId + """ + return pulumi.get(self, "managed_identity_object_id") + + @property + @pulumi.getter(name="managedIdentityResourceId") + def managed_identity_resource_id(self) -> Optional[str]: + """ + The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + """ + return pulumi.get(self, "managed_identity_resource_id") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[str]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> Optional[str]: + """ + When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + """ + return pulumi.get(self, "retrieval_start_date") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[str]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetEventHubDataConnectionResult(GetEventHubDataConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEventHubDataConnectionResult( + compression=self.compression, + consumer_group=self.consumer_group, + data_format=self.data_format, + database_routing=self.database_routing, + event_hub_resource_id=self.event_hub_resource_id, + event_system_properties=self.event_system_properties, + id=self.id, + kind=self.kind, + location=self.location, + managed_identity_object_id=self.managed_identity_object_id, + managed_identity_resource_id=self.managed_identity_resource_id, + mapping_rule_name=self.mapping_rule_name, + name=self.name, + provisioning_state=self.provisioning_state, + retrieval_start_date=self.retrieval_start_date, + table_name=self.table_name, + type=self.type) + + +def get_event_hub_data_connection(cluster_name: Optional[str] = None, + data_connection_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEventHubDataConnectionResult: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['dataConnectionName'] = data_connection_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getEventHubDataConnection', __args__, opts=opts, typ=GetEventHubDataConnectionResult).value + + return AwaitableGetEventHubDataConnectionResult( + compression=pulumi.get(__ret__, 'compression'), + consumer_group=pulumi.get(__ret__, 'consumer_group'), + data_format=pulumi.get(__ret__, 'data_format'), + database_routing=pulumi.get(__ret__, 'database_routing'), + event_hub_resource_id=pulumi.get(__ret__, 'event_hub_resource_id'), + event_system_properties=pulumi.get(__ret__, 'event_system_properties'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + managed_identity_object_id=pulumi.get(__ret__, 'managed_identity_object_id'), + managed_identity_resource_id=pulumi.get(__ret__, 'managed_identity_resource_id'), + mapping_rule_name=pulumi.get(__ret__, 'mapping_rule_name'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + retrieval_start_date=pulumi.get(__ret__, 'retrieval_start_date'), + table_name=pulumi.get(__ret__, 'table_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_event_hub_data_connection) +def get_event_hub_data_connection_output(cluster_name: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventHubDataConnectionResult]: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_iot_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_iot_hub_data_connection.py new file mode 100644 index 000000000000..c7df9237ee87 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_iot_hub_data_connection.py @@ -0,0 +1,271 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetIotHubDataConnectionResult', + 'AwaitableGetIotHubDataConnectionResult', + 'get_iot_hub_data_connection', + 'get_iot_hub_data_connection_output', +] + +@pulumi.output_type +class GetIotHubDataConnectionResult: + """ + Class representing an iot hub data connection. + """ + def __init__(__self__, consumer_group=None, data_format=None, database_routing=None, event_system_properties=None, id=None, iot_hub_resource_id=None, kind=None, location=None, mapping_rule_name=None, name=None, provisioning_state=None, retrieval_start_date=None, shared_access_policy_name=None, table_name=None, type=None): + if consumer_group and not isinstance(consumer_group, str): + raise TypeError("Expected argument 'consumer_group' to be a str") + pulumi.set(__self__, "consumer_group", consumer_group) + if data_format and not isinstance(data_format, str): + raise TypeError("Expected argument 'data_format' to be a str") + pulumi.set(__self__, "data_format", data_format) + if database_routing and not isinstance(database_routing, str): + raise TypeError("Expected argument 'database_routing' to be a str") + pulumi.set(__self__, "database_routing", database_routing) + if event_system_properties and not isinstance(event_system_properties, list): + raise TypeError("Expected argument 'event_system_properties' to be a list") + pulumi.set(__self__, "event_system_properties", event_system_properties) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if iot_hub_resource_id and not isinstance(iot_hub_resource_id, str): + raise TypeError("Expected argument 'iot_hub_resource_id' to be a str") + pulumi.set(__self__, "iot_hub_resource_id", iot_hub_resource_id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if mapping_rule_name and not isinstance(mapping_rule_name, str): + raise TypeError("Expected argument 'mapping_rule_name' to be a str") + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if retrieval_start_date and not isinstance(retrieval_start_date, str): + raise TypeError("Expected argument 'retrieval_start_date' to be a str") + pulumi.set(__self__, "retrieval_start_date", retrieval_start_date) + if shared_access_policy_name and not isinstance(shared_access_policy_name, str): + raise TypeError("Expected argument 'shared_access_policy_name' to be a str") + pulumi.set(__self__, "shared_access_policy_name", shared_access_policy_name) + if table_name and not isinstance(table_name, str): + raise TypeError("Expected argument 'table_name' to be a str") + pulumi.set(__self__, "table_name", table_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> str: + """ + The iot hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> Optional[str]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> Optional[str]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @property + @pulumi.getter(name="eventSystemProperties") + def event_system_properties(self) -> Optional[Sequence[str]]: + """ + System properties of the iot hub + """ + return pulumi.get(self, "event_system_properties") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="iotHubResourceId") + def iot_hub_resource_id(self) -> str: + """ + The resource ID of the Iot hub to be used to create a data connection. + """ + return pulumi.get(self, "iot_hub_resource_id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the endpoint for the data connection + Expected value is 'IotHub'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[str]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> Optional[str]: + """ + When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + """ + return pulumi.get(self, "retrieval_start_date") + + @property + @pulumi.getter(name="sharedAccessPolicyName") + def shared_access_policy_name(self) -> str: + """ + The name of the share access policy + """ + return pulumi.get(self, "shared_access_policy_name") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[str]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetIotHubDataConnectionResult(GetIotHubDataConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIotHubDataConnectionResult( + consumer_group=self.consumer_group, + data_format=self.data_format, + database_routing=self.database_routing, + event_system_properties=self.event_system_properties, + id=self.id, + iot_hub_resource_id=self.iot_hub_resource_id, + kind=self.kind, + location=self.location, + mapping_rule_name=self.mapping_rule_name, + name=self.name, + provisioning_state=self.provisioning_state, + retrieval_start_date=self.retrieval_start_date, + shared_access_policy_name=self.shared_access_policy_name, + table_name=self.table_name, + type=self.type) + + +def get_iot_hub_data_connection(cluster_name: Optional[str] = None, + data_connection_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIotHubDataConnectionResult: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['dataConnectionName'] = data_connection_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getIotHubDataConnection', __args__, opts=opts, typ=GetIotHubDataConnectionResult).value + + return AwaitableGetIotHubDataConnectionResult( + consumer_group=pulumi.get(__ret__, 'consumer_group'), + data_format=pulumi.get(__ret__, 'data_format'), + database_routing=pulumi.get(__ret__, 'database_routing'), + event_system_properties=pulumi.get(__ret__, 'event_system_properties'), + id=pulumi.get(__ret__, 'id'), + iot_hub_resource_id=pulumi.get(__ret__, 'iot_hub_resource_id'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + mapping_rule_name=pulumi.get(__ret__, 'mapping_rule_name'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + retrieval_start_date=pulumi.get(__ret__, 'retrieval_start_date'), + shared_access_policy_name=pulumi.get(__ret__, 'shared_access_policy_name'), + table_name=pulumi.get(__ret__, 'table_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_iot_hub_data_connection) +def get_iot_hub_data_connection_output(cluster_name: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIotHubDataConnectionResult]: + """ + Returns a data connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str data_connection_name: The name of the data connection. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_managed_private_endpoint.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_managed_private_endpoint.py new file mode 100644 index 000000000000..7ffbfc5d0497 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_managed_private_endpoint.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetManagedPrivateEndpointResult', + 'AwaitableGetManagedPrivateEndpointResult', + 'get_managed_private_endpoint', + 'get_managed_private_endpoint_output', +] + +@pulumi.output_type +class GetManagedPrivateEndpointResult: + """ + Class representing a managed private endpoint. + """ + def __init__(__self__, group_id=None, id=None, name=None, private_link_resource_id=None, private_link_resource_region=None, provisioning_state=None, request_message=None, system_data=None, type=None): + if group_id and not isinstance(group_id, str): + raise TypeError("Expected argument 'group_id' to be a str") + pulumi.set(__self__, "group_id", group_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_link_resource_id and not isinstance(private_link_resource_id, str): + raise TypeError("Expected argument 'private_link_resource_id' to be a str") + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if private_link_resource_region and not isinstance(private_link_resource_region, str): + raise TypeError("Expected argument 'private_link_resource_region' to be a str") + pulumi.set(__self__, "private_link_resource_region", private_link_resource_region) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if request_message and not isinstance(request_message, str): + raise TypeError("Expected argument 'request_message' to be a str") + pulumi.set(__self__, "request_message", request_message) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> str: + """ + The groupId in which the managed private endpoint is created. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> str: + """ + The ARM resource ID of the resource for which the managed private endpoint is created. + """ + return pulumi.get(self, "private_link_resource_id") + + @property + @pulumi.getter(name="privateLinkResourceRegion") + def private_link_resource_region(self) -> Optional[str]: + """ + The region of the resource to which the managed private endpoint is created. + """ + return pulumi.get(self, "private_link_resource_region") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> Optional[str]: + """ + The user request message. + """ + return pulumi.get(self, "request_message") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetManagedPrivateEndpointResult(GetManagedPrivateEndpointResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetManagedPrivateEndpointResult( + group_id=self.group_id, + id=self.id, + name=self.name, + private_link_resource_id=self.private_link_resource_id, + private_link_resource_region=self.private_link_resource_region, + provisioning_state=self.provisioning_state, + request_message=self.request_message, + system_data=self.system_data, + type=self.type) + + +def get_managed_private_endpoint(cluster_name: Optional[str] = None, + managed_private_endpoint_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedPrivateEndpointResult: + """ + Gets a managed private endpoint. + + + :param str cluster_name: The name of the Kusto cluster. + :param str managed_private_endpoint_name: The name of the managed private endpoint. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['managedPrivateEndpointName'] = managed_private_endpoint_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getManagedPrivateEndpoint', __args__, opts=opts, typ=GetManagedPrivateEndpointResult).value + + return AwaitableGetManagedPrivateEndpointResult( + group_id=pulumi.get(__ret__, 'group_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_link_resource_id=pulumi.get(__ret__, 'private_link_resource_id'), + private_link_resource_region=pulumi.get(__ret__, 'private_link_resource_region'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + request_message=pulumi.get(__ret__, 'request_message'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_managed_private_endpoint) +def get_managed_private_endpoint_output(cluster_name: Optional[pulumi.Input[str]] = None, + managed_private_endpoint_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedPrivateEndpointResult]: + """ + Gets a managed private endpoint. + + + :param str cluster_name: The name of the Kusto cluster. + :param str managed_private_endpoint_name: The name of the managed private endpoint. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_private_endpoint_connection.py new file mode 100644 index 000000000000..9eec6643d549 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_private_endpoint_connection.py @@ -0,0 +1,175 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', + 'get_private_endpoint_connection_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + A private endpoint connection + """ + def __init__(__self__, group_id=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None): + if group_id and not isinstance(group_id, str): + raise TypeError("Expected argument 'group_id' to be a str") + pulumi.set(__self__, "group_id", group_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> str: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> 'outputs.PrivateEndpointPropertyResponse': + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStatePropertyResponse': + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + group_id=self.group_id, + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_private_endpoint_connection(cluster_name: Optional[str] = None, + private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Gets a private endpoint connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + group_id=pulumi.get(__ret__, 'group_id'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + private_endpoint=pulumi.get(__ret__, 'private_endpoint'), + private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_private_endpoint_connection) +def get_private_endpoint_connection_output(cluster_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]: + """ + Gets a private endpoint connection. + + + :param str cluster_name: The name of the Kusto cluster. + :param str private_endpoint_connection_name: The name of the private endpoint connection. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_read_only_following_database.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_read_only_following_database.py new file mode 100644 index 000000000000..120db872fbab --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_read_only_following_database.py @@ -0,0 +1,280 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetReadOnlyFollowingDatabaseResult', + 'AwaitableGetReadOnlyFollowingDatabaseResult', + 'get_read_only_following_database', + 'get_read_only_following_database_output', +] + +@pulumi.output_type +class GetReadOnlyFollowingDatabaseResult: + """ + Class representing a read only following database. + """ + def __init__(__self__, attached_database_configuration_name=None, database_share_origin=None, hot_cache_period=None, id=None, kind=None, leader_cluster_resource_id=None, location=None, name=None, original_database_name=None, principals_modification_kind=None, provisioning_state=None, soft_delete_period=None, statistics=None, suspension_details=None, table_level_sharing_properties=None, type=None): + if attached_database_configuration_name and not isinstance(attached_database_configuration_name, str): + raise TypeError("Expected argument 'attached_database_configuration_name' to be a str") + pulumi.set(__self__, "attached_database_configuration_name", attached_database_configuration_name) + if database_share_origin and not isinstance(database_share_origin, str): + raise TypeError("Expected argument 'database_share_origin' to be a str") + pulumi.set(__self__, "database_share_origin", database_share_origin) + if hot_cache_period and not isinstance(hot_cache_period, str): + raise TypeError("Expected argument 'hot_cache_period' to be a str") + pulumi.set(__self__, "hot_cache_period", hot_cache_period) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if leader_cluster_resource_id and not isinstance(leader_cluster_resource_id, str): + raise TypeError("Expected argument 'leader_cluster_resource_id' to be a str") + pulumi.set(__self__, "leader_cluster_resource_id", leader_cluster_resource_id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if original_database_name and not isinstance(original_database_name, str): + raise TypeError("Expected argument 'original_database_name' to be a str") + pulumi.set(__self__, "original_database_name", original_database_name) + if principals_modification_kind and not isinstance(principals_modification_kind, str): + raise TypeError("Expected argument 'principals_modification_kind' to be a str") + pulumi.set(__self__, "principals_modification_kind", principals_modification_kind) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if soft_delete_period and not isinstance(soft_delete_period, str): + raise TypeError("Expected argument 'soft_delete_period' to be a str") + pulumi.set(__self__, "soft_delete_period", soft_delete_period) + if statistics and not isinstance(statistics, dict): + raise TypeError("Expected argument 'statistics' to be a dict") + pulumi.set(__self__, "statistics", statistics) + if suspension_details and not isinstance(suspension_details, dict): + raise TypeError("Expected argument 'suspension_details' to be a dict") + pulumi.set(__self__, "suspension_details", suspension_details) + if table_level_sharing_properties and not isinstance(table_level_sharing_properties, dict): + raise TypeError("Expected argument 'table_level_sharing_properties' to be a dict") + pulumi.set(__self__, "table_level_sharing_properties", table_level_sharing_properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="attachedDatabaseConfigurationName") + def attached_database_configuration_name(self) -> str: + """ + The name of the attached database configuration cluster + """ + return pulumi.get(self, "attached_database_configuration_name") + + @property + @pulumi.getter(name="databaseShareOrigin") + def database_share_origin(self) -> str: + """ + The origin of the following setup. + """ + return pulumi.get(self, "database_share_origin") + + @property + @pulumi.getter(name="hotCachePeriod") + def hot_cache_period(self) -> Optional[str]: + """ + The time the data should be kept in cache for fast queries in TimeSpan. + """ + return pulumi.get(self, "hot_cache_period") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the database + Expected value is 'ReadOnlyFollowing'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="leaderClusterResourceId") + def leader_cluster_resource_id(self) -> str: + """ + The name of the leader cluster + """ + return pulumi.get(self, "leader_cluster_resource_id") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originalDatabaseName") + def original_database_name(self) -> str: + """ + The original database name, before databaseNameOverride or databaseNamePrefix where applied. + """ + return pulumi.get(self, "original_database_name") + + @property + @pulumi.getter(name="principalsModificationKind") + def principals_modification_kind(self) -> str: + """ + The principals modification kind of the database + """ + return pulumi.get(self, "principals_modification_kind") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="softDeletePeriod") + def soft_delete_period(self) -> str: + """ + The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + return pulumi.get(self, "soft_delete_period") + + @property + @pulumi.getter + def statistics(self) -> 'outputs.DatabaseStatisticsResponse': + """ + The statistics of the database. + """ + return pulumi.get(self, "statistics") + + @property + @pulumi.getter(name="suspensionDetails") + def suspension_details(self) -> 'outputs.SuspensionDetailsResponse': + """ + The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + """ + return pulumi.get(self, "suspension_details") + + @property + @pulumi.getter(name="tableLevelSharingProperties") + def table_level_sharing_properties(self) -> 'outputs.TableLevelSharingPropertiesResponse': + """ + Table level sharing specifications + """ + return pulumi.get(self, "table_level_sharing_properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetReadOnlyFollowingDatabaseResult(GetReadOnlyFollowingDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetReadOnlyFollowingDatabaseResult( + attached_database_configuration_name=self.attached_database_configuration_name, + database_share_origin=self.database_share_origin, + hot_cache_period=self.hot_cache_period, + id=self.id, + kind=self.kind, + leader_cluster_resource_id=self.leader_cluster_resource_id, + location=self.location, + name=self.name, + original_database_name=self.original_database_name, + principals_modification_kind=self.principals_modification_kind, + provisioning_state=self.provisioning_state, + soft_delete_period=self.soft_delete_period, + statistics=self.statistics, + suspension_details=self.suspension_details, + table_level_sharing_properties=self.table_level_sharing_properties, + type=self.type) + + +def get_read_only_following_database(cluster_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReadOnlyFollowingDatabaseResult: + """ + Returns a database. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getReadOnlyFollowingDatabase', __args__, opts=opts, typ=GetReadOnlyFollowingDatabaseResult).value + + return AwaitableGetReadOnlyFollowingDatabaseResult( + attached_database_configuration_name=pulumi.get(__ret__, 'attached_database_configuration_name'), + database_share_origin=pulumi.get(__ret__, 'database_share_origin'), + hot_cache_period=pulumi.get(__ret__, 'hot_cache_period'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + leader_cluster_resource_id=pulumi.get(__ret__, 'leader_cluster_resource_id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + original_database_name=pulumi.get(__ret__, 'original_database_name'), + principals_modification_kind=pulumi.get(__ret__, 'principals_modification_kind'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + soft_delete_period=pulumi.get(__ret__, 'soft_delete_period'), + statistics=pulumi.get(__ret__, 'statistics'), + suspension_details=pulumi.get(__ret__, 'suspension_details'), + table_level_sharing_properties=pulumi.get(__ret__, 'table_level_sharing_properties'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_read_only_following_database) +def get_read_only_following_database_output(cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReadOnlyFollowingDatabaseResult]: + """ + Returns a database. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_read_write_database.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_read_write_database.py new file mode 100644 index 000000000000..eeeada928885 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_read_write_database.py @@ -0,0 +1,228 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetReadWriteDatabaseResult', + 'AwaitableGetReadWriteDatabaseResult', + 'get_read_write_database', + 'get_read_write_database_output', +] + +@pulumi.output_type +class GetReadWriteDatabaseResult: + """ + Class representing a read write database. + """ + def __init__(__self__, hot_cache_period=None, id=None, is_followed=None, key_vault_properties=None, kind=None, location=None, name=None, provisioning_state=None, soft_delete_period=None, statistics=None, suspension_details=None, type=None): + if hot_cache_period and not isinstance(hot_cache_period, str): + raise TypeError("Expected argument 'hot_cache_period' to be a str") + pulumi.set(__self__, "hot_cache_period", hot_cache_period) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_followed and not isinstance(is_followed, bool): + raise TypeError("Expected argument 'is_followed' to be a bool") + pulumi.set(__self__, "is_followed", is_followed) + if key_vault_properties and not isinstance(key_vault_properties, dict): + raise TypeError("Expected argument 'key_vault_properties' to be a dict") + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if soft_delete_period and not isinstance(soft_delete_period, str): + raise TypeError("Expected argument 'soft_delete_period' to be a str") + pulumi.set(__self__, "soft_delete_period", soft_delete_period) + if statistics and not isinstance(statistics, dict): + raise TypeError("Expected argument 'statistics' to be a dict") + pulumi.set(__self__, "statistics", statistics) + if suspension_details and not isinstance(suspension_details, dict): + raise TypeError("Expected argument 'suspension_details' to be a dict") + pulumi.set(__self__, "suspension_details", suspension_details) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="hotCachePeriod") + def hot_cache_period(self) -> Optional[str]: + """ + The time the data should be kept in cache for fast queries in TimeSpan. + """ + return pulumi.get(self, "hot_cache_period") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isFollowed") + def is_followed(self) -> bool: + """ + Indicates whether the database is followed. + """ + return pulumi.get(self, "is_followed") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional['outputs.KeyVaultPropertiesResponse']: + """ + KeyVault properties for the database encryption. + """ + return pulumi.get(self, "key_vault_properties") + + @property + @pulumi.getter + def kind(self) -> str: + """ + Kind of the database + Expected value is 'ReadWrite'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> Optional[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="softDeletePeriod") + def soft_delete_period(self) -> Optional[str]: + """ + The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + return pulumi.get(self, "soft_delete_period") + + @property + @pulumi.getter + def statistics(self) -> 'outputs.DatabaseStatisticsResponse': + """ + The statistics of the database. + """ + return pulumi.get(self, "statistics") + + @property + @pulumi.getter(name="suspensionDetails") + def suspension_details(self) -> 'outputs.SuspensionDetailsResponse': + """ + The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + """ + return pulumi.get(self, "suspension_details") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetReadWriteDatabaseResult(GetReadWriteDatabaseResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetReadWriteDatabaseResult( + hot_cache_period=self.hot_cache_period, + id=self.id, + is_followed=self.is_followed, + key_vault_properties=self.key_vault_properties, + kind=self.kind, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + soft_delete_period=self.soft_delete_period, + statistics=self.statistics, + suspension_details=self.suspension_details, + type=self.type) + + +def get_read_write_database(cluster_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReadWriteDatabaseResult: + """ + Returns a database. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getReadWriteDatabase', __args__, opts=opts, typ=GetReadWriteDatabaseResult).value + + return AwaitableGetReadWriteDatabaseResult( + hot_cache_period=pulumi.get(__ret__, 'hot_cache_period'), + id=pulumi.get(__ret__, 'id'), + is_followed=pulumi.get(__ret__, 'is_followed'), + key_vault_properties=pulumi.get(__ret__, 'key_vault_properties'), + kind=pulumi.get(__ret__, 'kind'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + soft_delete_period=pulumi.get(__ret__, 'soft_delete_period'), + statistics=pulumi.get(__ret__, 'statistics'), + suspension_details=pulumi.get(__ret__, 'suspension_details'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_read_write_database) +def get_read_write_database_output(cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReadWriteDatabaseResult]: + """ + Returns a database. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_sandbox_custom_image.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_sandbox_custom_image.py new file mode 100644 index 000000000000..18642430eb4e --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_sandbox_custom_image.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities + +__all__ = [ + 'GetSandboxCustomImageResult', + 'AwaitableGetSandboxCustomImageResult', + 'get_sandbox_custom_image', + 'get_sandbox_custom_image_output', +] + +@pulumi.output_type +class GetSandboxCustomImageResult: + """ + Class representing a Kusto sandbox custom image. + """ + def __init__(__self__, id=None, language=None, language_version=None, name=None, provisioning_state=None, requirements_file_content=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if language and not isinstance(language, str): + raise TypeError("Expected argument 'language' to be a str") + pulumi.set(__self__, "language", language) + if language_version and not isinstance(language_version, str): + raise TypeError("Expected argument 'language_version' to be a str") + pulumi.set(__self__, "language_version", language_version) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if requirements_file_content and not isinstance(requirements_file_content, str): + raise TypeError("Expected argument 'requirements_file_content' to be a str") + pulumi.set(__self__, "requirements_file_content", requirements_file_content) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def language(self) -> str: + """ + The language name, for example Python. + """ + return pulumi.get(self, "language") + + @property + @pulumi.getter(name="languageVersion") + def language_version(self) -> str: + """ + The version of the language. + """ + return pulumi.get(self, "language_version") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requirementsFileContent") + def requirements_file_content(self) -> Optional[str]: + """ + The requirements file content. + """ + return pulumi.get(self, "requirements_file_content") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetSandboxCustomImageResult(GetSandboxCustomImageResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSandboxCustomImageResult( + id=self.id, + language=self.language, + language_version=self.language_version, + name=self.name, + provisioning_state=self.provisioning_state, + requirements_file_content=self.requirements_file_content, + type=self.type) + + +def get_sandbox_custom_image(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + sandbox_custom_image_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSandboxCustomImageResult: + """ + Returns a sandbox custom image + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str sandbox_custom_image_name: The name of the sandbox custom image. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + __args__['sandboxCustomImageName'] = sandbox_custom_image_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getSandboxCustomImage', __args__, opts=opts, typ=GetSandboxCustomImageResult).value + + return AwaitableGetSandboxCustomImageResult( + id=pulumi.get(__ret__, 'id'), + language=pulumi.get(__ret__, 'language'), + language_version=pulumi.get(__ret__, 'language_version'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + requirements_file_content=pulumi.get(__ret__, 'requirements_file_content'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sandbox_custom_image) +def get_sandbox_custom_image_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSandboxCustomImageResult]: + """ + Returns a sandbox custom image + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str sandbox_custom_image_name: The name of the sandbox custom image. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/get_script.py b/sdk/python/pulumi_azure_native/kusto/v20230815/get_script.py new file mode 100644 index 000000000000..2794f38b2cdf --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/get_script.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetScriptResult', + 'AwaitableGetScriptResult', + 'get_script', + 'get_script_output', +] + +@pulumi.output_type +class GetScriptResult: + """ + Class representing a database script. + """ + def __init__(__self__, continue_on_errors=None, force_update_tag=None, id=None, name=None, provisioning_state=None, script_url=None, system_data=None, type=None): + if continue_on_errors and not isinstance(continue_on_errors, bool): + raise TypeError("Expected argument 'continue_on_errors' to be a bool") + pulumi.set(__self__, "continue_on_errors", continue_on_errors) + if force_update_tag and not isinstance(force_update_tag, str): + raise TypeError("Expected argument 'force_update_tag' to be a str") + pulumi.set(__self__, "force_update_tag", force_update_tag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if script_url and not isinstance(script_url, str): + raise TypeError("Expected argument 'script_url' to be a str") + pulumi.set(__self__, "script_url", script_url) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="continueOnErrors") + def continue_on_errors(self) -> Optional[bool]: + """ + Flag that indicates whether to continue if one of the command fails. + """ + return pulumi.get(self, "continue_on_errors") + + @property + @pulumi.getter(name="forceUpdateTag") + def force_update_tag(self) -> Optional[str]: + """ + A unique string. If changed the script will be applied again. + """ + return pulumi.get(self, "force_update_tag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="scriptUrl") + def script_url(self) -> Optional[str]: + """ + The url to the KQL script blob file. Must not be used together with scriptContent property + """ + return pulumi.get(self, "script_url") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetScriptResult(GetScriptResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScriptResult( + continue_on_errors=self.continue_on_errors, + force_update_tag=self.force_update_tag, + id=self.id, + name=self.name, + provisioning_state=self.provisioning_state, + script_url=self.script_url, + system_data=self.system_data, + type=self.type) + + +def get_script(cluster_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + script_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScriptResult: + """ + Gets a Kusto cluster database script. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str script_name: The name of the Kusto database script. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + __args__['scriptName'] = script_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:getScript', __args__, opts=opts, typ=GetScriptResult).value + + return AwaitableGetScriptResult( + continue_on_errors=pulumi.get(__ret__, 'continue_on_errors'), + force_update_tag=pulumi.get(__ret__, 'force_update_tag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + script_url=pulumi.get(__ret__, 'script_url'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_script) +def get_script_output(cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + script_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScriptResult]: + """ + Gets a Kusto cluster database script. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str script_name: The name of the Kusto database script. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/iot_hub_data_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/iot_hub_data_connection.py new file mode 100644 index 000000000000..57cf547e6789 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/iot_hub_data_connection.py @@ -0,0 +1,537 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = ['IotHubDataConnectionArgs', 'IotHubDataConnection'] + +@pulumi.input_type +class IotHubDataConnectionArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + consumer_group: pulumi.Input[str], + database_name: pulumi.Input[str], + iot_hub_resource_id: pulumi.Input[str], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + shared_access_policy_name: pulumi.Input[str], + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'IotHubDataFormat']]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_system_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a IotHubDataConnection resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] consumer_group: The iot hub consumer group. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] iot_hub_resource_id: The resource ID of the Iot hub to be used to create a data connection. + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'IotHub'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] shared_access_policy_name: The name of the share access policy + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[Union[str, 'IotHubDataFormat']] data_format: The data format of the message. Optionally the data format can be added to each message. + :param pulumi.Input[Union[str, 'DatabaseRouting']] database_routing: Indication for database routing information from the data connection, by default only database routing information is allowed + :param pulumi.Input[Sequence[pulumi.Input[str]]] event_system_properties: System properties of the iot hub + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] mapping_rule_name: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + :param pulumi.Input[str] retrieval_start_date: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + :param pulumi.Input[str] table_name: The table where the data should be ingested. Optionally the table information can be added to each message. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "consumer_group", consumer_group) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "iot_hub_resource_id", iot_hub_resource_id) + pulumi.set(__self__, "kind", 'IotHub') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "shared_access_policy_name", shared_access_policy_name) + if data_connection_name is not None: + pulumi.set(__self__, "data_connection_name", data_connection_name) + if data_format is not None: + pulumi.set(__self__, "data_format", data_format) + if database_routing is None: + database_routing = 'Single' + if database_routing is not None: + pulumi.set(__self__, "database_routing", database_routing) + if event_system_properties is not None: + pulumi.set(__self__, "event_system_properties", event_system_properties) + if location is not None: + pulumi.set(__self__, "location", location) + if mapping_rule_name is not None: + pulumi.set(__self__, "mapping_rule_name", mapping_rule_name) + if retrieval_start_date is not None: + pulumi.set(__self__, "retrieval_start_date", retrieval_start_date) + if table_name is not None: + pulumi.set(__self__, "table_name", table_name) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> pulumi.Input[str]: + """ + The iot hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @consumer_group.setter + def consumer_group(self, value: pulumi.Input[str]): + pulumi.set(self, "consumer_group", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="iotHubResourceId") + def iot_hub_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the Iot hub to be used to create a data connection. + """ + return pulumi.get(self, "iot_hub_resource_id") + + @iot_hub_resource_id.setter + def iot_hub_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "iot_hub_resource_id", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'IotHub'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="sharedAccessPolicyName") + def shared_access_policy_name(self) -> pulumi.Input[str]: + """ + The name of the share access policy + """ + return pulumi.get(self, "shared_access_policy_name") + + @shared_access_policy_name.setter + def shared_access_policy_name(self, value: pulumi.Input[str]): + pulumi.set(self, "shared_access_policy_name", value) + + @property + @pulumi.getter(name="dataConnectionName") + def data_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the data connection. + """ + return pulumi.get(self, "data_connection_name") + + @data_connection_name.setter + def data_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connection_name", value) + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> Optional[pulumi.Input[Union[str, 'IotHubDataFormat']]]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @data_format.setter + def data_format(self, value: Optional[pulumi.Input[Union[str, 'IotHubDataFormat']]]): + pulumi.set(self, "data_format", value) + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> Optional[pulumi.Input[Union[str, 'DatabaseRouting']]]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @database_routing.setter + def database_routing(self, value: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]]): + pulumi.set(self, "database_routing", value) + + @property + @pulumi.getter(name="eventSystemProperties") + def event_system_properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + System properties of the iot hub + """ + return pulumi.get(self, "event_system_properties") + + @event_system_properties.setter + def event_system_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "event_system_properties", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @mapping_rule_name.setter + def mapping_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mapping_rule_name", value) + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> Optional[pulumi.Input[str]]: + """ + When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + """ + return pulumi.get(self, "retrieval_start_date") + + @retrieval_start_date.setter + def retrieval_start_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "retrieval_start_date", value) + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> Optional[pulumi.Input[str]]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name", value) + + +class IotHubDataConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + consumer_group: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'IotHubDataFormat']]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_system_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + iot_hub_resource_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + shared_access_policy_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing an iot hub data connection. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] consumer_group: The iot hub consumer group. + :param pulumi.Input[str] data_connection_name: The name of the data connection. + :param pulumi.Input[Union[str, 'IotHubDataFormat']] data_format: The data format of the message. Optionally the data format can be added to each message. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[Union[str, 'DatabaseRouting']] database_routing: Indication for database routing information from the data connection, by default only database routing information is allowed + :param pulumi.Input[Sequence[pulumi.Input[str]]] event_system_properties: System properties of the iot hub + :param pulumi.Input[str] iot_hub_resource_id: The resource ID of the Iot hub to be used to create a data connection. + :param pulumi.Input[str] kind: Kind of the endpoint for the data connection + Expected value is 'IotHub'. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] mapping_rule_name: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] retrieval_start_date: When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + :param pulumi.Input[str] shared_access_policy_name: The name of the share access policy + :param pulumi.Input[str] table_name: The table where the data should be ingested. Optionally the table information can be added to each message. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IotHubDataConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing an iot hub data connection. + + :param str resource_name: The name of the resource. + :param IotHubDataConnectionArgs 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(IotHubDataConnectionArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + consumer_group: Optional[pulumi.Input[str]] = None, + data_connection_name: Optional[pulumi.Input[str]] = None, + data_format: Optional[pulumi.Input[Union[str, 'IotHubDataFormat']]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_routing: Optional[pulumi.Input[Union[str, 'DatabaseRouting']]] = None, + event_system_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + iot_hub_resource_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + mapping_rule_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + retrieval_start_date: Optional[pulumi.Input[str]] = None, + shared_access_policy_name: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IotHubDataConnectionArgs.__new__(IotHubDataConnectionArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if consumer_group is None and not opts.urn: + raise TypeError("Missing required property 'consumer_group'") + __props__.__dict__["consumer_group"] = consumer_group + __props__.__dict__["data_connection_name"] = data_connection_name + __props__.__dict__["data_format"] = data_format + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + if database_routing is None: + database_routing = 'Single' + __props__.__dict__["database_routing"] = database_routing + __props__.__dict__["event_system_properties"] = event_system_properties + if iot_hub_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'iot_hub_resource_id'") + __props__.__dict__["iot_hub_resource_id"] = iot_hub_resource_id + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'IotHub' + __props__.__dict__["location"] = location + __props__.__dict__["mapping_rule_name"] = mapping_rule_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["retrieval_start_date"] = retrieval_start_date + if shared_access_policy_name is None and not opts.urn: + raise TypeError("Missing required property 'shared_access_policy_name'") + __props__.__dict__["shared_access_policy_name"] = shared_access_policy_name + __props__.__dict__["table_name"] = table_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190121:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190515:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20190907:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20191109:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200215:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200614:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20200918:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210101:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:IotHubDataConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:IotHubDataConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IotHubDataConnection, __self__).__init__( + 'azure-native:kusto/v20230815:IotHubDataConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IotHubDataConnection': + """ + Get an existing IotHubDataConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = IotHubDataConnectionArgs.__new__(IotHubDataConnectionArgs) + + __props__.__dict__["consumer_group"] = None + __props__.__dict__["data_format"] = None + __props__.__dict__["database_routing"] = None + __props__.__dict__["event_system_properties"] = None + __props__.__dict__["iot_hub_resource_id"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["mapping_rule_name"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["retrieval_start_date"] = None + __props__.__dict__["shared_access_policy_name"] = None + __props__.__dict__["table_name"] = None + __props__.__dict__["type"] = None + return IotHubDataConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="consumerGroup") + def consumer_group(self) -> pulumi.Output[str]: + """ + The iot hub consumer group. + """ + return pulumi.get(self, "consumer_group") + + @property + @pulumi.getter(name="dataFormat") + def data_format(self) -> pulumi.Output[Optional[str]]: + """ + The data format of the message. Optionally the data format can be added to each message. + """ + return pulumi.get(self, "data_format") + + @property + @pulumi.getter(name="databaseRouting") + def database_routing(self) -> pulumi.Output[Optional[str]]: + """ + Indication for database routing information from the data connection, by default only database routing information is allowed + """ + return pulumi.get(self, "database_routing") + + @property + @pulumi.getter(name="eventSystemProperties") + def event_system_properties(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + System properties of the iot hub + """ + return pulumi.get(self, "event_system_properties") + + @property + @pulumi.getter(name="iotHubResourceId") + def iot_hub_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the Iot hub to be used to create a data connection. + """ + return pulumi.get(self, "iot_hub_resource_id") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the endpoint for the data connection + Expected value is 'IotHub'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="mappingRuleName") + def mapping_rule_name(self) -> pulumi.Output[Optional[str]]: + """ + The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. + """ + return pulumi.get(self, "mapping_rule_name") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="retrievalStartDate") + def retrieval_start_date(self) -> pulumi.Output[Optional[str]]: + """ + When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period. + """ + return pulumi.get(self, "retrieval_start_date") + + @property + @pulumi.getter(name="sharedAccessPolicyName") + def shared_access_policy_name(self) -> pulumi.Output[str]: + """ + The name of the share access policy + """ + return pulumi.get(self, "shared_access_policy_name") + + @property + @pulumi.getter(name="tableName") + def table_name(self) -> pulumi.Output[Optional[str]]: + """ + The table where the data should be ingested. Optionally the table information can be added to each message. + """ + return pulumi.get(self, "table_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/list_cluster_follower_databases.py b/sdk/python/pulumi_azure_native/kusto/v20230815/list_cluster_follower_databases.py new file mode 100644 index 000000000000..436ce9259e8b --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/list_cluster_follower_databases.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListClusterFollowerDatabasesResult', + 'AwaitableListClusterFollowerDatabasesResult', + 'list_cluster_follower_databases', + 'list_cluster_follower_databases_output', +] + +@pulumi.output_type +class ListClusterFollowerDatabasesResult: + """ + The list Kusto database principals operation response. + """ + def __init__(__self__, value=None): + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[Sequence['outputs.FollowerDatabaseDefinitionResponse']]: + """ + The list of follower database result. + """ + return pulumi.get(self, "value") + + +class AwaitableListClusterFollowerDatabasesResult(ListClusterFollowerDatabasesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListClusterFollowerDatabasesResult( + value=self.value) + + +def list_cluster_follower_databases(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListClusterFollowerDatabasesResult: + """ + Returns a list of databases that are owned by this cluster and were followed by another cluster. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:listClusterFollowerDatabases', __args__, opts=opts, typ=ListClusterFollowerDatabasesResult).value + + return AwaitableListClusterFollowerDatabasesResult( + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(list_cluster_follower_databases) +def list_cluster_follower_databases_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListClusterFollowerDatabasesResult]: + """ + Returns a list of databases that are owned by this cluster and were followed by another cluster. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/list_cluster_language_extensions.py b/sdk/python/pulumi_azure_native/kusto/v20230815/list_cluster_language_extensions.py new file mode 100644 index 000000000000..e7be94404e81 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/list_cluster_language_extensions.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListClusterLanguageExtensionsResult', + 'AwaitableListClusterLanguageExtensionsResult', + 'list_cluster_language_extensions', + 'list_cluster_language_extensions_output', +] + +@pulumi.output_type +class ListClusterLanguageExtensionsResult: + """ + The list of language extension objects. + """ + def __init__(__self__, value=None): + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[Sequence['outputs.LanguageExtensionResponse']]: + """ + The list of language extensions. + """ + return pulumi.get(self, "value") + + +class AwaitableListClusterLanguageExtensionsResult(ListClusterLanguageExtensionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListClusterLanguageExtensionsResult( + value=self.value) + + +def list_cluster_language_extensions(cluster_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListClusterLanguageExtensionsResult: + """ + Returns a list of language extensions that can run within KQL queries. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:listClusterLanguageExtensions', __args__, opts=opts, typ=ListClusterLanguageExtensionsResult).value + + return AwaitableListClusterLanguageExtensionsResult( + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(list_cluster_language_extensions) +def list_cluster_language_extensions_output(cluster_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListClusterLanguageExtensionsResult]: + """ + Returns a list of language extensions that can run within KQL queries. + + + :param str cluster_name: The name of the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/list_database_principals.py b/sdk/python/pulumi_azure_native/kusto/v20230815/list_database_principals.py new file mode 100644 index 000000000000..27603533e599 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/list_database_principals.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListDatabasePrincipalsResult', + 'AwaitableListDatabasePrincipalsResult', + 'list_database_principals', + 'list_database_principals_output', +] + +@pulumi.output_type +class ListDatabasePrincipalsResult: + """ + The list Kusto database principals operation response. + """ + def __init__(__self__, value=None): + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[Sequence['outputs.DatabasePrincipalResponse']]: + """ + The list of Kusto database principals. + """ + return pulumi.get(self, "value") + + +class AwaitableListDatabasePrincipalsResult(ListDatabasePrincipalsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListDatabasePrincipalsResult( + value=self.value) + + +def list_database_principals(cluster_name: Optional[str] = None, + database_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabasePrincipalsResult: + """ + Returns a list of database principals of the given Kusto cluster and database. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['databaseName'] = database_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:kusto/v20230815:listDatabasePrincipals', __args__, opts=opts, typ=ListDatabasePrincipalsResult).value + + return AwaitableListDatabasePrincipalsResult( + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(list_database_principals) +def list_database_principals_output(cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDatabasePrincipalsResult]: + """ + Returns a list of database principals of the given Kusto cluster and database. + + + :param str cluster_name: The name of the Kusto cluster. + :param str database_name: The name of the database in the Kusto cluster. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/managed_private_endpoint.py b/sdk/python/pulumi_azure_native/kusto/v20230815/managed_private_endpoint.py new file mode 100644 index 000000000000..d0fda8c1232b --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/managed_private_endpoint.py @@ -0,0 +1,313 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['ManagedPrivateEndpointArgs', 'ManagedPrivateEndpoint'] + +@pulumi.input_type +class ManagedPrivateEndpointArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + group_id: pulumi.Input[str], + private_link_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + managed_private_endpoint_name: Optional[pulumi.Input[str]] = None, + private_link_resource_region: Optional[pulumi.Input[str]] = None, + request_message: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ManagedPrivateEndpoint resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] group_id: The groupId in which the managed private endpoint is created. + :param pulumi.Input[str] private_link_resource_id: The ARM resource ID of the resource for which the managed private endpoint is created. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] managed_private_endpoint_name: The name of the managed private endpoint. + :param pulumi.Input[str] private_link_resource_region: The region of the resource to which the managed private endpoint is created. + :param pulumi.Input[str] request_message: The user request message. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "group_id", group_id) + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if managed_private_endpoint_name is not None: + pulumi.set(__self__, "managed_private_endpoint_name", managed_private_endpoint_name) + if private_link_resource_region is not None: + pulumi.set(__self__, "private_link_resource_region", private_link_resource_region) + if request_message is not None: + pulumi.set(__self__, "request_message", request_message) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Input[str]: + """ + The groupId in which the managed private endpoint is created. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: pulumi.Input[str]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> pulumi.Input[str]: + """ + The ARM resource ID of the resource for which the managed private endpoint is created. + """ + return pulumi.get(self, "private_link_resource_id") + + @private_link_resource_id.setter + def private_link_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "private_link_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="managedPrivateEndpointName") + def managed_private_endpoint_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the managed private endpoint. + """ + return pulumi.get(self, "managed_private_endpoint_name") + + @managed_private_endpoint_name.setter + def managed_private_endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_private_endpoint_name", value) + + @property + @pulumi.getter(name="privateLinkResourceRegion") + def private_link_resource_region(self) -> Optional[pulumi.Input[str]]: + """ + The region of the resource to which the managed private endpoint is created. + """ + return pulumi.get(self, "private_link_resource_region") + + @private_link_resource_region.setter + def private_link_resource_region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_resource_region", value) + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> Optional[pulumi.Input[str]]: + """ + The user request message. + """ + return pulumi.get(self, "request_message") + + @request_message.setter + def request_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "request_message", value) + + +class ManagedPrivateEndpoint(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + managed_private_endpoint_name: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + private_link_resource_region: Optional[pulumi.Input[str]] = None, + request_message: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a managed private endpoint. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] group_id: The groupId in which the managed private endpoint is created. + :param pulumi.Input[str] managed_private_endpoint_name: The name of the managed private endpoint. + :param pulumi.Input[str] private_link_resource_id: The ARM resource ID of the resource for which the managed private endpoint is created. + :param pulumi.Input[str] private_link_resource_region: The region of the resource to which the managed private endpoint is created. + :param pulumi.Input[str] request_message: The user request message. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ManagedPrivateEndpointArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a managed private endpoint. + + :param str resource_name: The name of the resource. + :param ManagedPrivateEndpointArgs 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(ManagedPrivateEndpointArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + managed_private_endpoint_name: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + private_link_resource_region: Optional[pulumi.Input[str]] = None, + request_message: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ManagedPrivateEndpointArgs.__new__(ManagedPrivateEndpointArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if group_id is None and not opts.urn: + raise TypeError("Missing required property 'group_id'") + __props__.__dict__["group_id"] = group_id + __props__.__dict__["managed_private_endpoint_name"] = managed_private_endpoint_name + if private_link_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'private_link_resource_id'") + __props__.__dict__["private_link_resource_id"] = private_link_resource_id + __props__.__dict__["private_link_resource_region"] = private_link_resource_region + __props__.__dict__["request_message"] = request_message + 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__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20210827:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220201:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20220707:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221111:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20221229:ManagedPrivateEndpoint"), pulumi.Alias(type_="azure-native:kusto/v20230502:ManagedPrivateEndpoint")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ManagedPrivateEndpoint, __self__).__init__( + 'azure-native:kusto/v20230815:ManagedPrivateEndpoint', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ManagedPrivateEndpoint': + """ + Get an existing ManagedPrivateEndpoint 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ManagedPrivateEndpointArgs.__new__(ManagedPrivateEndpointArgs) + + __props__.__dict__["group_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_link_resource_id"] = None + __props__.__dict__["private_link_resource_region"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["request_message"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ManagedPrivateEndpoint(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Output[str]: + """ + The groupId in which the managed private endpoint is created. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> pulumi.Output[str]: + """ + The ARM resource ID of the resource for which the managed private endpoint is created. + """ + return pulumi.get(self, "private_link_resource_id") + + @property + @pulumi.getter(name="privateLinkResourceRegion") + def private_link_resource_region(self) -> pulumi.Output[Optional[str]]: + """ + The region of the resource to which the managed private endpoint is created. + """ + return pulumi.get(self, "private_link_resource_region") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> pulumi.Output[Optional[str]]: + """ + The user request message. + """ + return pulumi.get(self, "request_message") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/outputs.py b/sdk/python/pulumi_azure_native/kusto/v20230815/outputs.py new file mode 100644 index 000000000000..47072912f77d --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/outputs.py @@ -0,0 +1,1325 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'AcceptedAudiencesResponse', + 'AzureSkuResponse', + 'DatabasePrincipalResponse', + 'DatabaseStatisticsResponse', + 'FollowerDatabaseDefinitionResponse', + 'IdentityResponse', + 'IdentityResponseUserAssignedIdentities', + 'KeyVaultPropertiesResponse', + 'LanguageExtensionResponse', + 'LanguageExtensionsListResponse', + 'MigrationClusterPropertiesResponse', + 'OptimizedAutoscaleResponse', + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointPropertyResponse', + 'PrivateLinkServiceConnectionStatePropertyResponse', + 'SuspensionDetailsResponse', + 'SystemDataResponse', + 'TableLevelSharingPropertiesResponse', + 'TrustedExternalTenantResponse', + 'VirtualNetworkConfigurationResponse', +] + +@pulumi.output_type +class AcceptedAudiencesResponse(dict): + """ + Represents an accepted audience trusted by the cluster. + """ + def __init__(__self__, *, + value: Optional[str] = None): + """ + Represents an accepted audience trusted by the cluster. + :param str value: GUID or valid URL representing an accepted audience. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + GUID or valid URL representing an accepted audience. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class AzureSkuResponse(dict): + """ + Azure SKU definition. + """ + def __init__(__self__, *, + name: str, + tier: str, + capacity: Optional[int] = None): + """ + Azure SKU definition. + :param str name: SKU name. + :param str tier: SKU tier. + :param int capacity: The number of instances of the cluster. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + + @property + @pulumi.getter + def name(self) -> str: + """ + SKU name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tier(self) -> str: + """ + SKU tier. + """ + return pulumi.get(self, "tier") + + @property + @pulumi.getter + def capacity(self) -> Optional[int]: + """ + The number of instances of the cluster. + """ + return pulumi.get(self, "capacity") + + +@pulumi.output_type +class DatabasePrincipalResponse(dict): + """ + A class representing database principal entity. + """ + def __init__(__self__, *, + name: str, + role: str, + tenant_name: str, + type: str, + app_id: Optional[str] = None, + email: Optional[str] = None, + fqn: Optional[str] = None): + """ + A class representing database principal entity. + :param str name: Database principal name. + :param str role: Database principal role. + :param str tenant_name: The tenant name of the principal + :param str type: Database principal type. + :param str app_id: Application id - relevant only for application principal type. + :param str email: Database principal email if exists. + :param str fqn: Database principal fully qualified name. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "tenant_name", tenant_name) + pulumi.set(__self__, "type", type) + if app_id is not None: + pulumi.set(__self__, "app_id", app_id) + if email is not None: + pulumi.set(__self__, "email", email) + if fqn is not None: + pulumi.set(__self__, "fqn", fqn) + + @property + @pulumi.getter + def name(self) -> str: + """ + Database principal name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def role(self) -> str: + """ + Database principal role. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="tenantName") + def tenant_name(self) -> str: + """ + The tenant name of the principal + """ + return pulumi.get(self, "tenant_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + Database principal type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="appId") + def app_id(self) -> Optional[str]: + """ + Application id - relevant only for application principal type. + """ + return pulumi.get(self, "app_id") + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + Database principal email if exists. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def fqn(self) -> Optional[str]: + """ + Database principal fully qualified name. + """ + return pulumi.get(self, "fqn") + + +@pulumi.output_type +class DatabaseStatisticsResponse(dict): + """ + A class that contains database statistics information. + """ + def __init__(__self__, *, + size: Optional[float] = None): + """ + A class that contains database statistics information. + :param float size: The database size - the total size of compressed data and index in bytes. + """ + if size is not None: + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter + def size(self) -> Optional[float]: + """ + The database size - the total size of compressed data and index in bytes. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class FollowerDatabaseDefinitionResponse(dict): + """ + A class representing follower database request. + """ + def __init__(__self__, *, + attached_database_configuration_name: str, + cluster_resource_id: str, + database_name: str, + database_share_origin: str, + table_level_sharing_properties: 'outputs.TableLevelSharingPropertiesResponse'): + """ + A class representing follower database request. + :param str attached_database_configuration_name: Resource name of the attached database configuration in the follower cluster. + :param str cluster_resource_id: Resource id of the cluster that follows a database owned by this cluster. + :param str database_name: The database name owned by this cluster that was followed. * in case following all databases. + :param str database_share_origin: The origin of the following setup. + :param 'TableLevelSharingPropertiesResponse' table_level_sharing_properties: Table level sharing specifications + """ + pulumi.set(__self__, "attached_database_configuration_name", attached_database_configuration_name) + pulumi.set(__self__, "cluster_resource_id", cluster_resource_id) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "database_share_origin", database_share_origin) + pulumi.set(__self__, "table_level_sharing_properties", table_level_sharing_properties) + + @property + @pulumi.getter(name="attachedDatabaseConfigurationName") + def attached_database_configuration_name(self) -> str: + """ + Resource name of the attached database configuration in the follower cluster. + """ + return pulumi.get(self, "attached_database_configuration_name") + + @property + @pulumi.getter(name="clusterResourceId") + def cluster_resource_id(self) -> str: + """ + Resource id of the cluster that follows a database owned by this cluster. + """ + return pulumi.get(self, "cluster_resource_id") + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> str: + """ + The database name owned by this cluster that was followed. * in case following all databases. + """ + return pulumi.get(self, "database_name") + + @property + @pulumi.getter(name="databaseShareOrigin") + def database_share_origin(self) -> str: + """ + The origin of the following setup. + """ + return pulumi.get(self, "database_share_origin") + + @property + @pulumi.getter(name="tableLevelSharingProperties") + def table_level_sharing_properties(self) -> 'outputs.TableLevelSharingPropertiesResponse': + """ + Table level sharing specifications + """ + return pulumi.get(self, "table_level_sharing_properties") + + +@pulumi.output_type +class IdentityResponse(dict): + """ + Identity for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.IdentityResponseUserAssignedIdentities']] = None): + """ + Identity for the resource. + :param str principal_id: The principal ID of resource identity. + :param str tenant_id: The tenant ID of resource. + :param str type: The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + :param Mapping[str, 'IdentityResponseUserAssignedIdentities'] user_assigned_identities: The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of resource identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.IdentityResponseUserAssignedIdentities']]: + """ + The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class IdentityResponseUserAssignedIdentities(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityResponseUserAssignedIdentities. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityResponseUserAssignedIdentities.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityResponseUserAssignedIdentities.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + :param str client_id: The client id of user assigned identity. + :param str principal_id: The principal id of user assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client id of user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal id of user assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class KeyVaultPropertiesResponse(dict): + """ + Properties of the key vault. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyName": + suggest = "key_name" + elif key == "keyVaultUri": + suggest = "key_vault_uri" + elif key == "keyVersion": + suggest = "key_version" + elif key == "userIdentity": + suggest = "user_identity" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyVaultPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyVaultPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyVaultPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_name: Optional[str] = None, + key_vault_uri: Optional[str] = None, + key_version: Optional[str] = None, + user_identity: Optional[str] = None): + """ + Properties of the key vault. + :param str key_name: The name of the key vault key. + :param str key_vault_uri: The Uri of the key vault. + :param str key_version: The version of the key vault key. + :param str user_identity: The user assigned identity (ARM resource id) that has access to the key. + """ + if key_name is not None: + pulumi.set(__self__, "key_name", key_name) + if key_vault_uri is not None: + pulumi.set(__self__, "key_vault_uri", key_vault_uri) + if key_version is not None: + pulumi.set(__self__, "key_version", key_version) + if user_identity is not None: + pulumi.set(__self__, "user_identity", user_identity) + + @property + @pulumi.getter(name="keyName") + def key_name(self) -> Optional[str]: + """ + The name of the key vault key. + """ + return pulumi.get(self, "key_name") + + @property + @pulumi.getter(name="keyVaultUri") + def key_vault_uri(self) -> Optional[str]: + """ + The Uri of the key vault. + """ + return pulumi.get(self, "key_vault_uri") + + @property + @pulumi.getter(name="keyVersion") + def key_version(self) -> Optional[str]: + """ + The version of the key vault key. + """ + return pulumi.get(self, "key_version") + + @property + @pulumi.getter(name="userIdentity") + def user_identity(self) -> Optional[str]: + """ + The user assigned identity (ARM resource id) that has access to the key. + """ + return pulumi.get(self, "user_identity") + + +@pulumi.output_type +class LanguageExtensionResponse(dict): + """ + The language extension object. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "languageExtensionCustomImageName": + suggest = "language_extension_custom_image_name" + elif key == "languageExtensionImageName": + suggest = "language_extension_image_name" + elif key == "languageExtensionName": + suggest = "language_extension_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LanguageExtensionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LanguageExtensionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LanguageExtensionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + language_extension_custom_image_name: Optional[str] = None, + language_extension_image_name: Optional[str] = None, + language_extension_name: Optional[str] = None): + """ + The language extension object. + :param str language_extension_custom_image_name: The language extension custom image name. + :param str language_extension_image_name: The language extension image name. + :param str language_extension_name: The language extension name. + """ + if language_extension_custom_image_name is not None: + pulumi.set(__self__, "language_extension_custom_image_name", language_extension_custom_image_name) + if language_extension_image_name is not None: + pulumi.set(__self__, "language_extension_image_name", language_extension_image_name) + if language_extension_name is not None: + pulumi.set(__self__, "language_extension_name", language_extension_name) + + @property + @pulumi.getter(name="languageExtensionCustomImageName") + def language_extension_custom_image_name(self) -> Optional[str]: + """ + The language extension custom image name. + """ + return pulumi.get(self, "language_extension_custom_image_name") + + @property + @pulumi.getter(name="languageExtensionImageName") + def language_extension_image_name(self) -> Optional[str]: + """ + The language extension image name. + """ + return pulumi.get(self, "language_extension_image_name") + + @property + @pulumi.getter(name="languageExtensionName") + def language_extension_name(self) -> Optional[str]: + """ + The language extension name. + """ + return pulumi.get(self, "language_extension_name") + + +@pulumi.output_type +class LanguageExtensionsListResponse(dict): + """ + The list of language extension objects. + """ + def __init__(__self__, *, + value: Optional[Sequence['outputs.LanguageExtensionResponse']] = None): + """ + The list of language extension objects. + :param Sequence['LanguageExtensionResponse'] value: The list of language extensions. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[Sequence['outputs.LanguageExtensionResponse']]: + """ + The list of language extensions. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class MigrationClusterPropertiesResponse(dict): + """ + Represents a properties of a cluster that is part of a migration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataIngestionUri": + suggest = "data_ingestion_uri" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MigrationClusterPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MigrationClusterPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MigrationClusterPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_ingestion_uri: str, + id: str, + role: str, + uri: str): + """ + Represents a properties of a cluster that is part of a migration. + :param str data_ingestion_uri: The public data ingestion URL of the cluster. + :param str id: The resource ID of the cluster. + :param str role: The role of the cluster in the migration process. + :param str uri: The public URL of the cluster. + """ + pulumi.set(__self__, "data_ingestion_uri", data_ingestion_uri) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "uri", uri) + + @property + @pulumi.getter(name="dataIngestionUri") + def data_ingestion_uri(self) -> str: + """ + The public data ingestion URL of the cluster. + """ + return pulumi.get(self, "data_ingestion_uri") + + @property + @pulumi.getter + def id(self) -> str: + """ + The resource ID of the cluster. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role of the cluster in the migration process. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter + def uri(self) -> str: + """ + The public URL of the cluster. + """ + return pulumi.get(self, "uri") + + +@pulumi.output_type +class OptimizedAutoscaleResponse(dict): + """ + A class that contains the optimized auto scale definition. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isEnabled": + suggest = "is_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OptimizedAutoscaleResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OptimizedAutoscaleResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OptimizedAutoscaleResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_enabled: bool, + maximum: int, + minimum: int, + version: int): + """ + A class that contains the optimized auto scale definition. + :param bool is_enabled: A boolean value that indicate if the optimized autoscale feature is enabled or not. + :param int maximum: Maximum allowed instances count. + :param int minimum: Minimum allowed instances count. + :param int version: The version of the template defined, for instance 1. + """ + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "maximum", maximum) + pulumi.set(__self__, "minimum", minimum) + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> bool: + """ + A boolean value that indicate if the optimized autoscale feature is enabled or not. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def maximum(self) -> int: + """ + Maximum allowed instances count. + """ + return pulumi.get(self, "maximum") + + @property + @pulumi.getter + def minimum(self) -> int: + """ + Minimum allowed instances count. + """ + return pulumi.get(self, "minimum") + + @property + @pulumi.getter + def version(self) -> int: + """ + The version of the template defined, for instance 1. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + A private endpoint connection + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupId": + suggest = "group_id" + elif key == "privateEndpoint": + suggest = "private_endpoint" + elif key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "systemData": + suggest = "system_data" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_id: str, + id: str, + name: str, + private_endpoint: 'outputs.PrivateEndpointPropertyResponse', + private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStatePropertyResponse', + provisioning_state: str, + system_data: 'outputs.SystemDataResponse', + type: str): + """ + A private endpoint connection + :param str group_id: Group id of the private endpoint. + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param 'PrivateEndpointPropertyResponse' private_endpoint: Private endpoint which the connection belongs to. + :param 'PrivateLinkServiceConnectionStatePropertyResponse' private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param str provisioning_state: Provisioning state of the private endpoint. + :param 'SystemDataResponse' system_data: Metadata pertaining to creation and last modification of the resource. + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + pulumi.set(__self__, "group_id", group_id) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "private_endpoint", private_endpoint) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "system_data", system_data) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> str: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> 'outputs.PrivateEndpointPropertyResponse': + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStatePropertyResponse': + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class PrivateEndpointPropertyResponse(dict): + """ + Private endpoint which the connection belongs to. + """ + def __init__(__self__, *, + id: str): + """ + Private endpoint which the connection belongs to. + :param str id: Resource id of the private endpoint. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource id of the private endpoint. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateLinkServiceConnectionStatePropertyResponse(dict): + """ + Connection State of the Private Endpoint Connection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStatePropertyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateLinkServiceConnectionStatePropertyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateLinkServiceConnectionStatePropertyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: str, + description: Optional[str] = None, + status: Optional[str] = None): + """ + Connection State of the Private Endpoint Connection. + :param str actions_required: Any action that is required beyond basic workflow (approve/ reject/ disconnect) + :param str description: The private link service connection description. + :param str status: The private link service connection status. + """ + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> str: + """ + Any action that is required beyond basic workflow (approve/ reject/ disconnect) + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The private link service connection description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The private link service connection status. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SuspensionDetailsResponse(dict): + """ + The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "suspensionStartDate": + suggest = "suspension_start_date" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SuspensionDetailsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SuspensionDetailsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SuspensionDetailsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + suspension_start_date: Optional[str] = None): + """ + The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + :param str suspension_start_date: The starting date and time of the suspension state. + """ + if suspension_start_date is not None: + pulumi.set(__self__, "suspension_start_date", suspension_start_date) + + @property + @pulumi.getter(name="suspensionStartDate") + def suspension_start_date(self) -> Optional[str]: + """ + The starting date and time of the suspension state. + """ + return pulumi.get(self, "suspension_start_date") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TableLevelSharingPropertiesResponse(dict): + """ + Tables that will be included and excluded in the follower database + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalTablesToExclude": + suggest = "external_tables_to_exclude" + elif key == "externalTablesToInclude": + suggest = "external_tables_to_include" + elif key == "functionsToExclude": + suggest = "functions_to_exclude" + elif key == "functionsToInclude": + suggest = "functions_to_include" + elif key == "materializedViewsToExclude": + suggest = "materialized_views_to_exclude" + elif key == "materializedViewsToInclude": + suggest = "materialized_views_to_include" + elif key == "tablesToExclude": + suggest = "tables_to_exclude" + elif key == "tablesToInclude": + suggest = "tables_to_include" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TableLevelSharingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TableLevelSharingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TableLevelSharingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_tables_to_exclude: Optional[Sequence[str]] = None, + external_tables_to_include: Optional[Sequence[str]] = None, + functions_to_exclude: Optional[Sequence[str]] = None, + functions_to_include: Optional[Sequence[str]] = None, + materialized_views_to_exclude: Optional[Sequence[str]] = None, + materialized_views_to_include: Optional[Sequence[str]] = None, + tables_to_exclude: Optional[Sequence[str]] = None, + tables_to_include: Optional[Sequence[str]] = None): + """ + Tables that will be included and excluded in the follower database + :param Sequence[str] external_tables_to_exclude: List of external tables to exclude from the follower database + :param Sequence[str] external_tables_to_include: List of external tables to include in the follower database + :param Sequence[str] functions_to_exclude: List of functions to exclude from the follower database + :param Sequence[str] functions_to_include: List of functions to include in the follower database + :param Sequence[str] materialized_views_to_exclude: List of materialized views to exclude from the follower database + :param Sequence[str] materialized_views_to_include: List of materialized views to include in the follower database + :param Sequence[str] tables_to_exclude: List of tables to exclude from the follower database + :param Sequence[str] tables_to_include: List of tables to include in the follower database + """ + if external_tables_to_exclude is not None: + pulumi.set(__self__, "external_tables_to_exclude", external_tables_to_exclude) + if external_tables_to_include is not None: + pulumi.set(__self__, "external_tables_to_include", external_tables_to_include) + if functions_to_exclude is not None: + pulumi.set(__self__, "functions_to_exclude", functions_to_exclude) + if functions_to_include is not None: + pulumi.set(__self__, "functions_to_include", functions_to_include) + if materialized_views_to_exclude is not None: + pulumi.set(__self__, "materialized_views_to_exclude", materialized_views_to_exclude) + if materialized_views_to_include is not None: + pulumi.set(__self__, "materialized_views_to_include", materialized_views_to_include) + if tables_to_exclude is not None: + pulumi.set(__self__, "tables_to_exclude", tables_to_exclude) + if tables_to_include is not None: + pulumi.set(__self__, "tables_to_include", tables_to_include) + + @property + @pulumi.getter(name="externalTablesToExclude") + def external_tables_to_exclude(self) -> Optional[Sequence[str]]: + """ + List of external tables to exclude from the follower database + """ + return pulumi.get(self, "external_tables_to_exclude") + + @property + @pulumi.getter(name="externalTablesToInclude") + def external_tables_to_include(self) -> Optional[Sequence[str]]: + """ + List of external tables to include in the follower database + """ + return pulumi.get(self, "external_tables_to_include") + + @property + @pulumi.getter(name="functionsToExclude") + def functions_to_exclude(self) -> Optional[Sequence[str]]: + """ + List of functions to exclude from the follower database + """ + return pulumi.get(self, "functions_to_exclude") + + @property + @pulumi.getter(name="functionsToInclude") + def functions_to_include(self) -> Optional[Sequence[str]]: + """ + List of functions to include in the follower database + """ + return pulumi.get(self, "functions_to_include") + + @property + @pulumi.getter(name="materializedViewsToExclude") + def materialized_views_to_exclude(self) -> Optional[Sequence[str]]: + """ + List of materialized views to exclude from the follower database + """ + return pulumi.get(self, "materialized_views_to_exclude") + + @property + @pulumi.getter(name="materializedViewsToInclude") + def materialized_views_to_include(self) -> Optional[Sequence[str]]: + """ + List of materialized views to include in the follower database + """ + return pulumi.get(self, "materialized_views_to_include") + + @property + @pulumi.getter(name="tablesToExclude") + def tables_to_exclude(self) -> Optional[Sequence[str]]: + """ + List of tables to exclude from the follower database + """ + return pulumi.get(self, "tables_to_exclude") + + @property + @pulumi.getter(name="tablesToInclude") + def tables_to_include(self) -> Optional[Sequence[str]]: + """ + List of tables to include in the follower database + """ + return pulumi.get(self, "tables_to_include") + + +@pulumi.output_type +class TrustedExternalTenantResponse(dict): + """ + Represents a tenant ID that is trusted by the cluster. + """ + def __init__(__self__, *, + value: Optional[str] = None): + """ + Represents a tenant ID that is trusted by the cluster. + :param str value: GUID representing an external tenant. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + GUID representing an external tenant. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class VirtualNetworkConfigurationResponse(dict): + """ + A class that contains virtual network definition. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataManagementPublicIpId": + suggest = "data_management_public_ip_id" + elif key == "enginePublicIpId": + suggest = "engine_public_ip_id" + elif key == "subnetId": + suggest = "subnet_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualNetworkConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualNetworkConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualNetworkConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_management_public_ip_id: str, + engine_public_ip_id: str, + subnet_id: str, + state: Optional[str] = None): + """ + A class that contains virtual network definition. + :param str data_management_public_ip_id: Data management's service public IP address resource id. + :param str engine_public_ip_id: Engine service's public IP address resource id. + :param str subnet_id: The subnet resource id. + :param str state: When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + """ + pulumi.set(__self__, "data_management_public_ip_id", data_management_public_ip_id) + pulumi.set(__self__, "engine_public_ip_id", engine_public_ip_id) + pulumi.set(__self__, "subnet_id", subnet_id) + if state is None: + state = 'Enabled' + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="dataManagementPublicIpId") + def data_management_public_ip_id(self) -> str: + """ + Data management's service public IP address resource id. + """ + return pulumi.get(self, "data_management_public_ip_id") + + @property + @pulumi.getter(name="enginePublicIpId") + def engine_public_ip_id(self) -> str: + """ + Engine service's public IP address resource id. + """ + return pulumi.get(self, "engine_public_ip_id") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The subnet resource id. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the subnet. + """ + return pulumi.get(self, "state") + + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/kusto/v20230815/private_endpoint_connection.py new file mode 100644 index 000000000000..2f78668c718d --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/private_endpoint_connection.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs'], + resource_group_name: pulumi.Input[str], + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpointConnection resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs'] private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStatePropertyArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection. + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + +class PrivateEndpointConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection. + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']] private_link_service_connection_state: Connection State of the Private Endpoint Connection. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + A private endpoint connection + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionArgs 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(PrivateEndpointConnectionArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStatePropertyArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + if private_link_service_connection_state is None and not opts.urn: + raise TypeError("Missing required property 'private_link_service_connection_state'") + __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state + 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__["group_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20210827:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20220707:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221111:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20221229:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:kusto/v20230502:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-native:kusto/v20230815:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["group_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint"] = None + __props__.__dict__["private_link_service_connection_state"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Output[str]: + """ + Group id of the private endpoint. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output['outputs.PrivateEndpointPropertyResponse']: + """ + Private endpoint which the connection belongs to. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStatePropertyResponse']: + """ + Connection State of the Private Endpoint Connection. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the private endpoint. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/read_only_following_database.py b/sdk/python/pulumi_azure_native/kusto/v20230815/read_only_following_database.py new file mode 100644 index 000000000000..73aae0a85434 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/read_only_following_database.py @@ -0,0 +1,387 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['ReadOnlyFollowingDatabaseArgs', 'ReadOnlyFollowingDatabase'] + +@pulumi.input_type +class ReadOnlyFollowingDatabaseArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + caller_role: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + hot_cache_period: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ReadOnlyFollowingDatabase resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] kind: Kind of the database + Expected value is 'ReadOnlyFollowing'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] caller_role: By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] hot_cache_period: The time the data should be kept in cache for fast queries in TimeSpan. + :param pulumi.Input[str] location: Resource location. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "kind", 'ReadOnlyFollowing') + pulumi.set(__self__, "resource_group_name", resource_group_name) + if caller_role is not None: + pulumi.set(__self__, "caller_role", caller_role) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if hot_cache_period is not None: + pulumi.set(__self__, "hot_cache_period", hot_cache_period) + if location is not None: + pulumi.set(__self__, "location", location) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + Kind of the database + Expected value is 'ReadOnlyFollowing'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="callerRole") + def caller_role(self) -> Optional[pulumi.Input[str]]: + """ + By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + """ + return pulumi.get(self, "caller_role") + + @caller_role.setter + def caller_role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "caller_role", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="hotCachePeriod") + def hot_cache_period(self) -> Optional[pulumi.Input[str]]: + """ + The time the data should be kept in cache for fast queries in TimeSpan. + """ + return pulumi.get(self, "hot_cache_period") + + @hot_cache_period.setter + def hot_cache_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hot_cache_period", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + +class ReadOnlyFollowingDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + caller_role: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + hot_cache_period: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a read only following database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] caller_role: By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] hot_cache_period: The time the data should be kept in cache for fast queries in TimeSpan. + :param pulumi.Input[str] kind: Kind of the database + Expected value is 'ReadOnlyFollowing'. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ReadOnlyFollowingDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a read only following database. + + :param str resource_name: The name of the resource. + :param ReadOnlyFollowingDatabaseArgs 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(ReadOnlyFollowingDatabaseArgs, 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, + caller_role: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + hot_cache_period: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ReadOnlyFollowingDatabaseArgs.__new__(ReadOnlyFollowingDatabaseArgs) + + __props__.__dict__["caller_role"] = caller_role + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["hot_cache_period"] = hot_cache_period + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'ReadOnlyFollowing' + __props__.__dict__["location"] = location + 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__["attached_database_configuration_name"] = None + __props__.__dict__["database_share_origin"] = None + __props__.__dict__["leader_cluster_resource_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["original_database_name"] = None + __props__.__dict__["principals_modification_kind"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["soft_delete_period"] = None + __props__.__dict__["statistics"] = None + __props__.__dict__["suspension_details"] = None + __props__.__dict__["table_level_sharing_properties"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadOnlyFollowingDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadOnlyFollowingDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ReadOnlyFollowingDatabase, __self__).__init__( + 'azure-native:kusto/v20230815:ReadOnlyFollowingDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ReadOnlyFollowingDatabase': + """ + Get an existing ReadOnlyFollowingDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ReadOnlyFollowingDatabaseArgs.__new__(ReadOnlyFollowingDatabaseArgs) + + __props__.__dict__["attached_database_configuration_name"] = None + __props__.__dict__["database_share_origin"] = None + __props__.__dict__["hot_cache_period"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["leader_cluster_resource_id"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["original_database_name"] = None + __props__.__dict__["principals_modification_kind"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["soft_delete_period"] = None + __props__.__dict__["statistics"] = None + __props__.__dict__["suspension_details"] = None + __props__.__dict__["table_level_sharing_properties"] = None + __props__.__dict__["type"] = None + return ReadOnlyFollowingDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="attachedDatabaseConfigurationName") + def attached_database_configuration_name(self) -> pulumi.Output[str]: + """ + The name of the attached database configuration cluster + """ + return pulumi.get(self, "attached_database_configuration_name") + + @property + @pulumi.getter(name="databaseShareOrigin") + def database_share_origin(self) -> pulumi.Output[str]: + """ + The origin of the following setup. + """ + return pulumi.get(self, "database_share_origin") + + @property + @pulumi.getter(name="hotCachePeriod") + def hot_cache_period(self) -> pulumi.Output[Optional[str]]: + """ + The time the data should be kept in cache for fast queries in TimeSpan. + """ + return pulumi.get(self, "hot_cache_period") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the database + Expected value is 'ReadOnlyFollowing'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="leaderClusterResourceId") + def leader_cluster_resource_id(self) -> pulumi.Output[str]: + """ + The name of the leader cluster + """ + return pulumi.get(self, "leader_cluster_resource_id") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="originalDatabaseName") + def original_database_name(self) -> pulumi.Output[str]: + """ + The original database name, before databaseNameOverride or databaseNamePrefix where applied. + """ + return pulumi.get(self, "original_database_name") + + @property + @pulumi.getter(name="principalsModificationKind") + def principals_modification_kind(self) -> pulumi.Output[str]: + """ + The principals modification kind of the database + """ + return pulumi.get(self, "principals_modification_kind") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="softDeletePeriod") + def soft_delete_period(self) -> pulumi.Output[str]: + """ + The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + return pulumi.get(self, "soft_delete_period") + + @property + @pulumi.getter + def statistics(self) -> pulumi.Output['outputs.DatabaseStatisticsResponse']: + """ + The statistics of the database. + """ + return pulumi.get(self, "statistics") + + @property + @pulumi.getter(name="suspensionDetails") + def suspension_details(self) -> pulumi.Output['outputs.SuspensionDetailsResponse']: + """ + The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + """ + return pulumi.get(self, "suspension_details") + + @property + @pulumi.getter(name="tableLevelSharingProperties") + def table_level_sharing_properties(self) -> pulumi.Output['outputs.TableLevelSharingPropertiesResponse']: + """ + Table level sharing specifications + """ + return pulumi.get(self, "table_level_sharing_properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/read_write_database.py b/sdk/python/pulumi_azure_native/kusto/v20230815/read_write_database.py new file mode 100644 index 000000000000..0fde551705e6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/read_write_database.py @@ -0,0 +1,386 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ReadWriteDatabaseArgs', 'ReadWriteDatabase'] + +@pulumi.input_type +class ReadWriteDatabaseArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + caller_role: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + hot_cache_period: Optional[pulumi.Input[str]] = None, + key_vault_properties: Optional[pulumi.Input['KeyVaultPropertiesArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + soft_delete_period: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ReadWriteDatabase resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] kind: Kind of the database + Expected value is 'ReadWrite'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] caller_role: By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] hot_cache_period: The time the data should be kept in cache for fast queries in TimeSpan. + :param pulumi.Input['KeyVaultPropertiesArgs'] key_vault_properties: KeyVault properties for the database encryption. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] soft_delete_period: The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "kind", 'ReadWrite') + pulumi.set(__self__, "resource_group_name", resource_group_name) + if caller_role is not None: + pulumi.set(__self__, "caller_role", caller_role) + if database_name is not None: + pulumi.set(__self__, "database_name", database_name) + if hot_cache_period is not None: + pulumi.set(__self__, "hot_cache_period", hot_cache_period) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + if location is not None: + pulumi.set(__self__, "location", location) + if soft_delete_period is not None: + pulumi.set(__self__, "soft_delete_period", soft_delete_period) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + Kind of the database + Expected value is 'ReadWrite'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="callerRole") + def caller_role(self) -> Optional[pulumi.Input[str]]: + """ + By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + """ + return pulumi.get(self, "caller_role") + + @caller_role.setter + def caller_role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "caller_role", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="hotCachePeriod") + def hot_cache_period(self) -> Optional[pulumi.Input[str]]: + """ + The time the data should be kept in cache for fast queries in TimeSpan. + """ + return pulumi.get(self, "hot_cache_period") + + @hot_cache_period.setter + def hot_cache_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hot_cache_period", value) + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional[pulumi.Input['KeyVaultPropertiesArgs']]: + """ + KeyVault properties for the database encryption. + """ + return pulumi.get(self, "key_vault_properties") + + @key_vault_properties.setter + def key_vault_properties(self, value: Optional[pulumi.Input['KeyVaultPropertiesArgs']]): + pulumi.set(self, "key_vault_properties", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="softDeletePeriod") + def soft_delete_period(self) -> Optional[pulumi.Input[str]]: + """ + The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + return pulumi.get(self, "soft_delete_period") + + @soft_delete_period.setter + def soft_delete_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "soft_delete_period", value) + + +class ReadWriteDatabase(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + caller_role: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + hot_cache_period: Optional[pulumi.Input[str]] = None, + key_vault_properties: Optional[pulumi.Input[pulumi.InputType['KeyVaultPropertiesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + soft_delete_period: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a read write database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] caller_role: By default, any user who run operation on a database become an Admin on it. This property allows the caller to exclude the caller from Admins list. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] hot_cache_period: The time the data should be kept in cache for fast queries in TimeSpan. + :param pulumi.Input[pulumi.InputType['KeyVaultPropertiesArgs']] key_vault_properties: KeyVault properties for the database encryption. + :param pulumi.Input[str] kind: Kind of the database + Expected value is 'ReadWrite'. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] soft_delete_period: The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ReadWriteDatabaseArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a read write database. + + :param str resource_name: The name of the resource. + :param ReadWriteDatabaseArgs 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(ReadWriteDatabaseArgs, 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, + caller_role: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + hot_cache_period: Optional[pulumi.Input[str]] = None, + key_vault_properties: Optional[pulumi.Input[pulumi.InputType['KeyVaultPropertiesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + soft_delete_period: 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__ = ReadWriteDatabaseArgs.__new__(ReadWriteDatabaseArgs) + + __props__.__dict__["caller_role"] = caller_role + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + __props__.__dict__["database_name"] = database_name + __props__.__dict__["hot_cache_period"] = hot_cache_period + __props__.__dict__["key_vault_properties"] = key_vault_properties + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'ReadWrite' + __props__.__dict__["location"] = location + 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__["soft_delete_period"] = soft_delete_period + __props__.__dict__["is_followed"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["statistics"] = None + __props__.__dict__["suspension_details"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20170907privatepreview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20180907preview:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190121:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190515:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20190907:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20191109:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200215:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200614:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20200918:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210101:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20210827:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220201:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20220707:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221111:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20221229:ReadWriteDatabase"), pulumi.Alias(type_="azure-native:kusto/v20230502:ReadWriteDatabase")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ReadWriteDatabase, __self__).__init__( + 'azure-native:kusto/v20230815:ReadWriteDatabase', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ReadWriteDatabase': + """ + Get an existing ReadWriteDatabase 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ReadWriteDatabaseArgs.__new__(ReadWriteDatabaseArgs) + + __props__.__dict__["hot_cache_period"] = None + __props__.__dict__["is_followed"] = None + __props__.__dict__["key_vault_properties"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["soft_delete_period"] = None + __props__.__dict__["statistics"] = None + __props__.__dict__["suspension_details"] = None + __props__.__dict__["type"] = None + return ReadWriteDatabase(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="hotCachePeriod") + def hot_cache_period(self) -> pulumi.Output[Optional[str]]: + """ + The time the data should be kept in cache for fast queries in TimeSpan. + """ + return pulumi.get(self, "hot_cache_period") + + @property + @pulumi.getter(name="isFollowed") + def is_followed(self) -> pulumi.Output[bool]: + """ + Indicates whether the database is followed. + """ + return pulumi.get(self, "is_followed") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> pulumi.Output[Optional['outputs.KeyVaultPropertiesResponse']]: + """ + KeyVault properties for the database encryption. + """ + return pulumi.get(self, "key_vault_properties") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + Kind of the database + Expected value is 'ReadWrite'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[Optional[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="softDeletePeriod") + def soft_delete_period(self) -> pulumi.Output[Optional[str]]: + """ + The time the data should be kept before it stops being accessible to queries in TimeSpan. + """ + return pulumi.get(self, "soft_delete_period") + + @property + @pulumi.getter + def statistics(self) -> pulumi.Output['outputs.DatabaseStatisticsResponse']: + """ + The statistics of the database. + """ + return pulumi.get(self, "statistics") + + @property + @pulumi.getter(name="suspensionDetails") + def suspension_details(self) -> pulumi.Output['outputs.SuspensionDetailsResponse']: + """ + The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. + """ + return pulumi.get(self, "suspension_details") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/sandbox_custom_image.py b/sdk/python/pulumi_azure_native/kusto/v20230815/sandbox_custom_image.py new file mode 100644 index 000000000000..4fdc27de3fd5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/sandbox_custom_image.py @@ -0,0 +1,274 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = ['SandboxCustomImageArgs', 'SandboxCustomImage'] + +@pulumi.input_type +class SandboxCustomImageArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + language: pulumi.Input[Union[str, 'Language']], + language_version: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + requirements_file_content: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SandboxCustomImage resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[Union[str, 'Language']] language: The language name, for example Python. + :param pulumi.Input[str] language_version: The version of the language. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] requirements_file_content: The requirements file content. + :param pulumi.Input[str] sandbox_custom_image_name: The name of the sandbox custom image. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "language", language) + pulumi.set(__self__, "language_version", language_version) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if requirements_file_content is not None: + pulumi.set(__self__, "requirements_file_content", requirements_file_content) + if sandbox_custom_image_name is not None: + pulumi.set(__self__, "sandbox_custom_image_name", sandbox_custom_image_name) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter + def language(self) -> pulumi.Input[Union[str, 'Language']]: + """ + The language name, for example Python. + """ + return pulumi.get(self, "language") + + @language.setter + def language(self, value: pulumi.Input[Union[str, 'Language']]): + pulumi.set(self, "language", value) + + @property + @pulumi.getter(name="languageVersion") + def language_version(self) -> pulumi.Input[str]: + """ + The version of the language. + """ + return pulumi.get(self, "language_version") + + @language_version.setter + def language_version(self, value: pulumi.Input[str]): + pulumi.set(self, "language_version", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="requirementsFileContent") + def requirements_file_content(self) -> Optional[pulumi.Input[str]]: + """ + The requirements file content. + """ + return pulumi.get(self, "requirements_file_content") + + @requirements_file_content.setter + def requirements_file_content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements_file_content", value) + + @property + @pulumi.getter(name="sandboxCustomImageName") + def sandbox_custom_image_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the sandbox custom image. + """ + return pulumi.get(self, "sandbox_custom_image_name") + + @sandbox_custom_image_name.setter + def sandbox_custom_image_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sandbox_custom_image_name", value) + + +class SandboxCustomImage(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + language: Optional[pulumi.Input[Union[str, 'Language']]] = None, + language_version: Optional[pulumi.Input[str]] = None, + requirements_file_content: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a Kusto sandbox custom image. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[Union[str, 'Language']] language: The language name, for example Python. + :param pulumi.Input[str] language_version: The version of the language. + :param pulumi.Input[str] requirements_file_content: The requirements file content. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] sandbox_custom_image_name: The name of the sandbox custom image. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SandboxCustomImageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a Kusto sandbox custom image. + + :param str resource_name: The name of the resource. + :param SandboxCustomImageArgs 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(SandboxCustomImageArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + language: Optional[pulumi.Input[Union[str, 'Language']]] = None, + language_version: Optional[pulumi.Input[str]] = None, + requirements_file_content: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sandbox_custom_image_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SandboxCustomImageArgs.__new__(SandboxCustomImageArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if language is None and not opts.urn: + raise TypeError("Missing required property 'language'") + __props__.__dict__["language"] = language + if language_version is None and not opts.urn: + raise TypeError("Missing required property 'language_version'") + __props__.__dict__["language_version"] = language_version + __props__.__dict__["requirements_file_content"] = requirements_file_content + 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__["sandbox_custom_image_name"] = sandbox_custom_image_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:SandboxCustomImage")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SandboxCustomImage, __self__).__init__( + 'azure-native:kusto/v20230815:SandboxCustomImage', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SandboxCustomImage': + """ + Get an existing SandboxCustomImage 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SandboxCustomImageArgs.__new__(SandboxCustomImageArgs) + + __props__.__dict__["language"] = None + __props__.__dict__["language_version"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["requirements_file_content"] = None + __props__.__dict__["type"] = None + return SandboxCustomImage(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def language(self) -> pulumi.Output[str]: + """ + The language name, for example Python. + """ + return pulumi.get(self, "language") + + @property + @pulumi.getter(name="languageVersion") + def language_version(self) -> pulumi.Output[str]: + """ + The version of the language. + """ + return pulumi.get(self, "language_version") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requirementsFileContent") + def requirements_file_content(self) -> pulumi.Output[Optional[str]]: + """ + The requirements file content. + """ + return pulumi.get(self, "requirements_file_content") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/kusto/v20230815/script.py b/sdk/python/pulumi_azure_native/kusto/v20230815/script.py new file mode 100644 index 000000000000..441d51205654 --- /dev/null +++ b/sdk/python/pulumi_azure_native/kusto/v20230815/script.py @@ -0,0 +1,347 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['ScriptArgs', 'Script'] + +@pulumi.input_type +class ScriptArgs: + def __init__(__self__, *, + cluster_name: pulumi.Input[str], + database_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + continue_on_errors: Optional[pulumi.Input[bool]] = None, + force_update_tag: Optional[pulumi.Input[str]] = None, + script_content: Optional[pulumi.Input[str]] = None, + script_name: Optional[pulumi.Input[str]] = None, + script_url: Optional[pulumi.Input[str]] = None, + script_url_sas_token: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Script resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[bool] continue_on_errors: Flag that indicates whether to continue if one of the command fails. + :param pulumi.Input[str] force_update_tag: A unique string. If changed the script will be applied again. + :param pulumi.Input[str] script_content: The script content. This property should be used when the script is provide inline and not through file in a SA. Must not be used together with scriptUrl and scriptUrlSasToken properties. + :param pulumi.Input[str] script_name: The name of the Kusto database script. + :param pulumi.Input[str] script_url: The url to the KQL script blob file. Must not be used together with scriptContent property + :param pulumi.Input[str] script_url_sas_token: The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. + """ + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "database_name", database_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if continue_on_errors is None: + continue_on_errors = False + if continue_on_errors is not None: + pulumi.set(__self__, "continue_on_errors", continue_on_errors) + if force_update_tag is not None: + pulumi.set(__self__, "force_update_tag", force_update_tag) + if script_content is not None: + pulumi.set(__self__, "script_content", script_content) + if script_name is not None: + pulumi.set(__self__, "script_name", script_name) + if script_url is not None: + pulumi.set(__self__, "script_url", script_url) + if script_url_sas_token is not None: + pulumi.set(__self__, "script_url_sas_token", script_url_sas_token) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> pulumi.Input[str]: + """ + The name of the Kusto cluster. + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: pulumi.Input[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="databaseName") + def database_name(self) -> pulumi.Input[str]: + """ + The name of the database in the Kusto cluster. + """ + return pulumi.get(self, "database_name") + + @database_name.setter + def database_name(self, value: pulumi.Input[str]): + pulumi.set(self, "database_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="continueOnErrors") + def continue_on_errors(self) -> Optional[pulumi.Input[bool]]: + """ + Flag that indicates whether to continue if one of the command fails. + """ + return pulumi.get(self, "continue_on_errors") + + @continue_on_errors.setter + def continue_on_errors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "continue_on_errors", value) + + @property + @pulumi.getter(name="forceUpdateTag") + def force_update_tag(self) -> Optional[pulumi.Input[str]]: + """ + A unique string. If changed the script will be applied again. + """ + return pulumi.get(self, "force_update_tag") + + @force_update_tag.setter + def force_update_tag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "force_update_tag", value) + + @property + @pulumi.getter(name="scriptContent") + def script_content(self) -> Optional[pulumi.Input[str]]: + """ + The script content. This property should be used when the script is provide inline and not through file in a SA. Must not be used together with scriptUrl and scriptUrlSasToken properties. + """ + return pulumi.get(self, "script_content") + + @script_content.setter + def script_content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "script_content", value) + + @property + @pulumi.getter(name="scriptName") + def script_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Kusto database script. + """ + return pulumi.get(self, "script_name") + + @script_name.setter + def script_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "script_name", value) + + @property + @pulumi.getter(name="scriptUrl") + def script_url(self) -> Optional[pulumi.Input[str]]: + """ + The url to the KQL script blob file. Must not be used together with scriptContent property + """ + return pulumi.get(self, "script_url") + + @script_url.setter + def script_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "script_url", value) + + @property + @pulumi.getter(name="scriptUrlSasToken") + def script_url_sas_token(self) -> Optional[pulumi.Input[str]]: + """ + The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. + """ + return pulumi.get(self, "script_url_sas_token") + + @script_url_sas_token.setter + def script_url_sas_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "script_url_sas_token", value) + + +class Script(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + continue_on_errors: Optional[pulumi.Input[bool]] = None, + database_name: Optional[pulumi.Input[str]] = None, + force_update_tag: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + script_content: Optional[pulumi.Input[str]] = None, + script_name: Optional[pulumi.Input[str]] = None, + script_url: Optional[pulumi.Input[str]] = None, + script_url_sas_token: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Class representing a database script. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cluster_name: The name of the Kusto cluster. + :param pulumi.Input[bool] continue_on_errors: Flag that indicates whether to continue if one of the command fails. + :param pulumi.Input[str] database_name: The name of the database in the Kusto cluster. + :param pulumi.Input[str] force_update_tag: A unique string. If changed the script will be applied again. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] script_content: The script content. This property should be used when the script is provide inline and not through file in a SA. Must not be used together with scriptUrl and scriptUrlSasToken properties. + :param pulumi.Input[str] script_name: The name of the Kusto database script. + :param pulumi.Input[str] script_url: The url to the KQL script blob file. Must not be used together with scriptContent property + :param pulumi.Input[str] script_url_sas_token: The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScriptArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Class representing a database script. + + :param str resource_name: The name of the resource. + :param ScriptArgs 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(ScriptArgs, 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, + cluster_name: Optional[pulumi.Input[str]] = None, + continue_on_errors: Optional[pulumi.Input[bool]] = None, + database_name: Optional[pulumi.Input[str]] = None, + force_update_tag: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + script_content: Optional[pulumi.Input[str]] = None, + script_name: Optional[pulumi.Input[str]] = None, + script_url: Optional[pulumi.Input[str]] = None, + script_url_sas_token: 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__ = ScriptArgs.__new__(ScriptArgs) + + if cluster_name is None and not opts.urn: + raise TypeError("Missing required property 'cluster_name'") + __props__.__dict__["cluster_name"] = cluster_name + if continue_on_errors is None: + continue_on_errors = False + __props__.__dict__["continue_on_errors"] = continue_on_errors + if database_name is None and not opts.urn: + raise TypeError("Missing required property 'database_name'") + __props__.__dict__["database_name"] = database_name + __props__.__dict__["force_update_tag"] = force_update_tag + 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__["script_content"] = script_content + __props__.__dict__["script_name"] = script_name + __props__.__dict__["script_url"] = script_url + __props__.__dict__["script_url_sas_token"] = script_url_sas_token + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:kusto:Script"), pulumi.Alias(type_="azure-native:kusto/v20210101:Script"), pulumi.Alias(type_="azure-native:kusto/v20210827:Script"), pulumi.Alias(type_="azure-native:kusto/v20220201:Script"), pulumi.Alias(type_="azure-native:kusto/v20220707:Script"), pulumi.Alias(type_="azure-native:kusto/v20221111:Script"), pulumi.Alias(type_="azure-native:kusto/v20221229:Script"), pulumi.Alias(type_="azure-native:kusto/v20230502:Script")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Script, __self__).__init__( + 'azure-native:kusto/v20230815:Script', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Script': + """ + Get an existing Script 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ScriptArgs.__new__(ScriptArgs) + + __props__.__dict__["continue_on_errors"] = None + __props__.__dict__["force_update_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["script_url"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Script(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="continueOnErrors") + def continue_on_errors(self) -> pulumi.Output[Optional[bool]]: + """ + Flag that indicates whether to continue if one of the command fails. + """ + return pulumi.get(self, "continue_on_errors") + + @property + @pulumi.getter(name="forceUpdateTag") + def force_update_tag(self) -> pulumi.Output[Optional[str]]: + """ + A unique string. If changed the script will be applied again. + """ + return pulumi.get(self, "force_update_tag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioned state of the resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="scriptUrl") + def script_url(self) -> pulumi.Output[Optional[str]]: + """ + The url to the KQL script blob file. Must not be used together with scriptContent property + """ + return pulumi.get(self, "script_url") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/_inputs.py b/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/_inputs.py index 33a4807b245d..26868040eace 100644 --- a/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/_inputs.py +++ b/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/_inputs.py @@ -748,7 +748,7 @@ def __init__(__self__, *, """ Details of ACR account to be used for the Registry :param pulumi.Input['SystemCreatedAcrAccountArgs'] system_created_acr_account: Details of system created ACR account to be used for the Registry - :param pulumi.Input['UserCreatedAcrAccountArgs'] user_created_acr_account: Details of user created ACR account to be used for the Registry + :param pulumi.Input['UserCreatedAcrAccountArgs'] user_created_acr_account: Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. """ if system_created_acr_account is not None: pulumi.set(__self__, "system_created_acr_account", system_created_acr_account) @@ -771,7 +771,7 @@ def system_created_acr_account(self, value: Optional[pulumi.Input['SystemCreated @pulumi.getter(name="userCreatedAcrAccount") def user_created_acr_account(self) -> Optional[pulumi.Input['UserCreatedAcrAccountArgs']]: """ - Details of user created ACR account to be used for the Registry + Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. """ return pulumi.get(self, "user_created_acr_account") @@ -25074,7 +25074,7 @@ def __init__(__self__, *, """ Details of storage account to be used for the Registry :param pulumi.Input['SystemCreatedStorageAccountArgs'] system_created_storage_account: Details of system created storage account to be used for the registry - :param pulumi.Input['UserCreatedStorageAccountArgs'] user_created_storage_account: Details of user created storage account to be used for the registry + :param pulumi.Input['UserCreatedStorageAccountArgs'] user_created_storage_account: Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. """ if system_created_storage_account is not None: pulumi.set(__self__, "system_created_storage_account", system_created_storage_account) @@ -25097,7 +25097,7 @@ def system_created_storage_account(self, value: Optional[pulumi.Input['SystemCre @pulumi.getter(name="userCreatedStorageAccount") def user_created_storage_account(self) -> Optional[pulumi.Input['UserCreatedStorageAccountArgs']]: """ - Details of user created storage account to be used for the registry + Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. """ return pulumi.get(self, "user_created_storage_account") diff --git a/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/outputs.py b/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/outputs.py index 55f303789d44..c4fb26a29348 100644 --- a/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/outputs.py +++ b/sdk/python/pulumi_azure_native/machinelearningservices/v20230601preview/outputs.py @@ -830,7 +830,7 @@ def __init__(__self__, *, """ Details of ACR account to be used for the Registry :param 'SystemCreatedAcrAccountResponse' system_created_acr_account: Details of system created ACR account to be used for the Registry - :param 'UserCreatedAcrAccountResponse' user_created_acr_account: Details of user created ACR account to be used for the Registry + :param 'UserCreatedAcrAccountResponse' user_created_acr_account: Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. """ if system_created_acr_account is not None: pulumi.set(__self__, "system_created_acr_account", system_created_acr_account) @@ -849,7 +849,7 @@ def system_created_acr_account(self) -> Optional['outputs.SystemCreatedAcrAccoun @pulumi.getter(name="userCreatedAcrAccount") def user_created_acr_account(self) -> Optional['outputs.UserCreatedAcrAccountResponse']: """ - Details of user created ACR account to be used for the Registry + Details of user created ACR account to be used for the Registry. Not supported in most cases and will throw 400 error if provided. """ return pulumi.get(self, "user_created_acr_account") @@ -28196,7 +28196,7 @@ def __init__(__self__, *, """ Details of storage account to be used for the Registry :param 'SystemCreatedStorageAccountResponse' system_created_storage_account: Details of system created storage account to be used for the registry - :param 'UserCreatedStorageAccountResponse' user_created_storage_account: Details of user created storage account to be used for the registry + :param 'UserCreatedStorageAccountResponse' user_created_storage_account: Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. """ if system_created_storage_account is not None: pulumi.set(__self__, "system_created_storage_account", system_created_storage_account) @@ -28215,7 +28215,7 @@ def system_created_storage_account(self) -> Optional['outputs.SystemCreatedStora @pulumi.getter(name="userCreatedStorageAccount") def user_created_storage_account(self) -> Optional['outputs.UserCreatedStorageAccountResponse']: """ - Details of user created storage account to be used for the registry + Details of user created storage account to be used for the registry. Not supported in most cases and will throw 400 error if provided. """ return pulumi.get(self, "user_created_storage_account") diff --git a/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/_inputs.py b/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/_inputs.py index a3f1a9d509a3..d0350fffcd51 100644 --- a/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/_inputs.py +++ b/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/_inputs.py @@ -359,7 +359,7 @@ def __init__(__self__, *, """ Defines the port condition that needs to be matched. :param pulumi.Input[Union[str, 'Layer4Protocol']] layer4_protocol: Layer4 protocol type that needs to be matched. - :param pulumi.Input[Sequence[pulumi.Input[str]]] flags: List of protocol flags that need to be matched. + :param pulumi.Input[Sequence[pulumi.Input[str]]] flags: List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg :param pulumi.Input[Sequence[pulumi.Input[str]]] port_group_names: List of the port Group Names that need to be matched. :param pulumi.Input[Union[str, 'PortType']] port_type: Port type that needs to be matched. :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: List of the Ports that need to be matched. @@ -390,7 +390,7 @@ def layer4_protocol(self, value: pulumi.Input[Union[str, 'Layer4Protocol']]): @pulumi.getter def flags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - List of protocol flags that need to be matched. + List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg """ return pulumi.get(self, "flags") diff --git a/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/outputs.py b/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/outputs.py index f679afa66381..921c1e9d6d4a 100644 --- a/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/outputs.py +++ b/sdk/python/pulumi_azure_native/managednetworkfabric/v20230615/outputs.py @@ -404,7 +404,7 @@ def __init__(__self__, *, """ Defines the port condition that needs to be matched. :param str layer4_protocol: Layer4 protocol type that needs to be matched. - :param Sequence[str] flags: List of protocol flags that need to be matched. + :param Sequence[str] flags: List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg :param Sequence[str] port_group_names: List of the port Group Names that need to be matched. :param str port_type: Port type that needs to be matched. :param Sequence[str] ports: List of the Ports that need to be matched. @@ -431,7 +431,7 @@ def layer4_protocol(self) -> str: @pulumi.getter def flags(self) -> Optional[Sequence[str]]: """ - List of protocol flags that need to be matched. + List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg """ return pulumi.get(self, "flags") diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20200202/vault.py b/sdk/python/pulumi_azure_native/recoveryservices/v20200202/vault.py index 83013c69da55..dc50f1a119c3 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/v20200202/vault.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20200202/vault.py @@ -230,7 +230,7 @@ def _internal_init(__self__, __props__.__dict__["vault_name"] = vault_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:Vault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:Vault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Vault, __self__).__init__( 'azure-native:recoveryservices/v20200202:Vault', diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230401/vault.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230401/vault.py index 8dec9381a210..0b97a006f01f 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/v20230401/vault.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230401/vault.py @@ -212,7 +212,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20200202:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20200202:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:Vault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Vault, __self__).__init__( 'azure-native:recoveryservices/v20230401:Vault', diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/__init__.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/__init__.py index 4e9c58d71a15..45e871ffd61a 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/__init__.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/__init__.py @@ -16,6 +16,7 @@ from .get_replication_recovery_services_provider import * from .get_replication_storage_classification_mapping import * from .get_replicationv_center import * +from .get_vault import * from .replication_fabric import * from .replication_migration_item import * from .replication_network_mapping import * @@ -26,5 +27,6 @@ from .replication_recovery_services_provider import * from .replication_storage_classification_mapping import * from .replicationv_center import * +from .vault import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_enums.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_enums.py index 005e339d3ba1..9ec295b99001 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_enums.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_enums.py @@ -6,17 +6,25 @@ __all__ = [ 'AgentAutoUpdateStatus', + 'AlertsState', 'AutomationAccountAuthenticationType', + 'CrossSubscriptionRestoreState', 'DiskAccountType', 'ExtendedLocationType', 'FailoverDeploymentModel', + 'ImmutabilityState', + 'InfrastructureEncryptionState', 'LicenseType', 'PossibleOperationsDirections', + 'PublicNetworkAccess', 'RecoveryPlanActionLocation', 'RecoveryPlanGroupType', 'ReplicationProtectedItemOperation', + 'ResourceIdentityType', 'SecurityType', 'SetMultiVmSyncStatus', + 'SkuName', + 'SoftDeleteState', 'SqlServerLicenseType', ] @@ -29,6 +37,11 @@ class AgentAutoUpdateStatus(str, Enum): ENABLED = "Enabled" +class AlertsState(str, Enum): + ENABLED = "Enabled" + DISABLED = "Disabled" + + class AutomationAccountAuthenticationType(str, Enum): """ A value indicating the type authentication to use for automation Account. @@ -37,6 +50,12 @@ class AutomationAccountAuthenticationType(str, Enum): SYSTEM_ASSIGNED_IDENTITY = "SystemAssignedIdentity" +class CrossSubscriptionRestoreState(str, Enum): + ENABLED = "Enabled" + DISABLED = "Disabled" + PERMANENTLY_DISABLED = "PermanentlyDisabled" + + class DiskAccountType(str, Enum): """ The disk type. @@ -62,6 +81,20 @@ class FailoverDeploymentModel(str, Enum): RESOURCE_MANAGER = "ResourceManager" +class ImmutabilityState(str, Enum): + DISABLED = "Disabled" + UNLOCKED = "Unlocked" + LOCKED = "Locked" + + +class InfrastructureEncryptionState(str, Enum): + """ + Enabling/Disabling the Double Encryption state + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + class LicenseType(str, Enum): """ The license type. @@ -76,6 +109,14 @@ class PossibleOperationsDirections(str, Enum): RECOVERY_TO_PRIMARY = "RecoveryToPrimary" +class PublicNetworkAccess(str, Enum): + """ + property to enable or disable resource provider inbound network traffic from public clients + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + class RecoveryPlanActionLocation(str, Enum): """ The fabric location. @@ -110,6 +151,16 @@ class ReplicationProtectedItemOperation(str, Enum): COMPLETE_MIGRATION = "CompleteMigration" +class ResourceIdentityType(str, Enum): + """ + The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + NONE = "None" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + + class SecurityType(str, Enum): """ The target VM security type. @@ -127,6 +178,21 @@ class SetMultiVmSyncStatus(str, Enum): DISABLE = "Disable" +class SkuName(str, Enum): + """ + Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + """ + STANDARD = "Standard" + RS0 = "RS0" + + +class SoftDeleteState(str, Enum): + INVALID = "Invalid" + ENABLED = "Enabled" + DISABLED = "Disabled" + ALWAYS_ON = "AlwaysON" + + class SqlServerLicenseType(str, Enum): """ The SQL Server license type. diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_inputs.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_inputs.py index 4d2aed53d96f..4ee2d2de68b5 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_inputs.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/_inputs.py @@ -21,11 +21,16 @@ 'AddRecoveryServicesProviderInputPropertiesArgs', 'AddVCenterRequestPropertiesArgs', 'AzureFabricCreationInputArgs', + 'AzureMonitorAlertSettingsArgs', 'AzureToAzureCreateNetworkMappingInputArgs', + 'ClassicAlertSettingsArgs', + 'CmkKekIdentityArgs', + 'CmkKeyVaultPropertiesArgs', 'CreateNetworkMappingInputPropertiesArgs', 'CreatePolicyInputPropertiesArgs', 'CreateProtectionContainerMappingInputPropertiesArgs', 'CreateRecoveryPlanInputPropertiesArgs', + 'CrossSubscriptionRestoreSettingsArgs', 'DiskEncryptionInfoArgs', 'DiskEncryptionKeyInfoArgs', 'EnableMigrationInputPropertiesArgs', @@ -37,7 +42,9 @@ 'HyperVReplicaAzurePolicyInputArgs', 'HyperVReplicaBluePolicyInputArgs', 'HyperVReplicaPolicyInputArgs', + 'IdentityDataArgs', 'IdentityProviderInputArgs', + 'ImmutabilitySettingsArgs', 'InMageAzureV2DiskInputDetailsArgs', 'InMageAzureV2EnableProtectionInputArgs', 'InMageAzureV2PolicyInputArgs', @@ -53,6 +60,7 @@ 'InMageRcmPolicyCreationInputArgs', 'InMageVolumeExclusionOptionsArgs', 'KeyEncryptionKeyInfoArgs', + 'MonitoringSettingsArgs', 'RecoveryPlanA2AInputArgs', 'RecoveryPlanActionArgs', 'RecoveryPlanAutomationRunbookActionDetailsArgs', @@ -60,6 +68,10 @@ 'RecoveryPlanManualActionDetailsArgs', 'RecoveryPlanProtectedItemArgs', 'RecoveryPlanScriptActionDetailsArgs', + 'RestoreSettingsArgs', + 'SecuritySettingsArgs', + 'SkuArgs', + 'SoftDeleteSettingsArgs', 'StorageMappingInputPropertiesArgs', 'VMwareCbtContainerMappingInputArgs', 'VMwareCbtDiskInputArgs', @@ -67,6 +79,8 @@ 'VMwareCbtPolicyCreationInputArgs', 'VMwareCbtSecurityProfilePropertiesArgs', 'VMwareV2FabricCreationInputArgs', + 'VaultPropertiesEncryptionArgs', + 'VaultPropertiesArgs', 'VmmToAzureCreateNetworkMappingInputArgs', 'VmmToVmmCreateNetworkMappingInputArgs', ] @@ -1028,6 +1042,26 @@ def location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "location", value) +@pulumi.input_type +class AzureMonitorAlertSettingsArgs: + def __init__(__self__, *, + alerts_for_all_job_failures: Optional[pulumi.Input[Union[str, 'AlertsState']]] = None): + """ + Settings for Azure Monitor based alerts + """ + if alerts_for_all_job_failures is not None: + pulumi.set(__self__, "alerts_for_all_job_failures", alerts_for_all_job_failures) + + @property + @pulumi.getter(name="alertsForAllJobFailures") + def alerts_for_all_job_failures(self) -> Optional[pulumi.Input[Union[str, 'AlertsState']]]: + return pulumi.get(self, "alerts_for_all_job_failures") + + @alerts_for_all_job_failures.setter + def alerts_for_all_job_failures(self, value: Optional[pulumi.Input[Union[str, 'AlertsState']]]): + pulumi.set(self, "alerts_for_all_job_failures", value) + + @pulumi.input_type class AzureToAzureCreateNetworkMappingInputArgs: def __init__(__self__, *, @@ -1068,6 +1102,90 @@ def primary_network_id(self, value: pulumi.Input[str]): pulumi.set(self, "primary_network_id", value) +@pulumi.input_type +class ClassicAlertSettingsArgs: + def __init__(__self__, *, + alerts_for_critical_operations: Optional[pulumi.Input[Union[str, 'AlertsState']]] = None): + """ + Settings for classic alerts + """ + if alerts_for_critical_operations is not None: + pulumi.set(__self__, "alerts_for_critical_operations", alerts_for_critical_operations) + + @property + @pulumi.getter(name="alertsForCriticalOperations") + def alerts_for_critical_operations(self) -> Optional[pulumi.Input[Union[str, 'AlertsState']]]: + return pulumi.get(self, "alerts_for_critical_operations") + + @alerts_for_critical_operations.setter + def alerts_for_critical_operations(self, value: Optional[pulumi.Input[Union[str, 'AlertsState']]]): + pulumi.set(self, "alerts_for_critical_operations", value) + + +@pulumi.input_type +class CmkKekIdentityArgs: + def __init__(__self__, *, + use_system_assigned_identity: Optional[pulumi.Input[bool]] = None, + user_assigned_identity: Optional[pulumi.Input[str]] = None): + """ + The details of the identity used for CMK + :param pulumi.Input[bool] use_system_assigned_identity: Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + :param pulumi.Input[str] user_assigned_identity: The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + """ + if use_system_assigned_identity is not None: + pulumi.set(__self__, "use_system_assigned_identity", use_system_assigned_identity) + if user_assigned_identity is not None: + pulumi.set(__self__, "user_assigned_identity", user_assigned_identity) + + @property + @pulumi.getter(name="useSystemAssignedIdentity") + def use_system_assigned_identity(self) -> Optional[pulumi.Input[bool]]: + """ + Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + """ + return pulumi.get(self, "use_system_assigned_identity") + + @use_system_assigned_identity.setter + def use_system_assigned_identity(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_system_assigned_identity", value) + + @property + @pulumi.getter(name="userAssignedIdentity") + def user_assigned_identity(self) -> Optional[pulumi.Input[str]]: + """ + The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + """ + return pulumi.get(self, "user_assigned_identity") + + @user_assigned_identity.setter + def user_assigned_identity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_assigned_identity", value) + + +@pulumi.input_type +class CmkKeyVaultPropertiesArgs: + def __init__(__self__, *, + key_uri: Optional[pulumi.Input[str]] = None): + """ + The properties of the Key Vault which hosts CMK + :param pulumi.Input[str] key_uri: The key uri of the Customer Managed Key + """ + if key_uri is not None: + pulumi.set(__self__, "key_uri", key_uri) + + @property + @pulumi.getter(name="keyUri") + def key_uri(self) -> Optional[pulumi.Input[str]]: + """ + The key uri of the Customer Managed Key + """ + return pulumi.get(self, "key_uri") + + @key_uri.setter + def key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_uri", value) + + @pulumi.input_type class CreateNetworkMappingInputPropertiesArgs: def __init__(__self__, *, @@ -1288,6 +1406,26 @@ def provider_specific_input(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "provider_specific_input", value) +@pulumi.input_type +class CrossSubscriptionRestoreSettingsArgs: + def __init__(__self__, *, + cross_subscription_restore_state: Optional[pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']]] = None): + """ + Settings for Cross Subscription Restore Settings + """ + if cross_subscription_restore_state is not None: + pulumi.set(__self__, "cross_subscription_restore_state", cross_subscription_restore_state) + + @property + @pulumi.getter(name="crossSubscriptionRestoreState") + def cross_subscription_restore_state(self) -> Optional[pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']]]: + return pulumi.get(self, "cross_subscription_restore_state") + + @cross_subscription_restore_state.setter + def cross_subscription_restore_state(self, value: Optional[pulumi.Input[Union[str, 'CrossSubscriptionRestoreState']]]): + pulumi.set(self, "cross_subscription_restore_state", value) + + @pulumi.input_type class DiskEncryptionInfoArgs: def __init__(__self__, *, @@ -2560,6 +2698,45 @@ def replication_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "replication_port", value) +@pulumi.input_type +class IdentityDataArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ResourceIdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Identity for the resource. + :param pulumi.Input[Union[str, 'ResourceIdentityType']] type: The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ResourceIdentityType']]: + """ + The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ResourceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + @pulumi.input_type class IdentityProviderInputArgs: def __init__(__self__, *, @@ -2643,6 +2820,26 @@ def tenant_id(self, value: pulumi.Input[str]): pulumi.set(self, "tenant_id", value) +@pulumi.input_type +class ImmutabilitySettingsArgs: + def __init__(__self__, *, + state: Optional[pulumi.Input[Union[str, 'ImmutabilityState']]] = None): + """ + Immutability Settings of vault + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[Union[str, 'ImmutabilityState']]]: + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[Union[str, 'ImmutabilityState']]]): + pulumi.set(self, "state", value) + + @pulumi.input_type class InMageAzureV2DiskInputDetailsArgs: def __init__(__self__, *, @@ -4321,6 +4518,46 @@ def key_vault_resource_arm_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_vault_resource_arm_id", value) +@pulumi.input_type +class MonitoringSettingsArgs: + def __init__(__self__, *, + azure_monitor_alert_settings: Optional[pulumi.Input['AzureMonitorAlertSettingsArgs']] = None, + classic_alert_settings: Optional[pulumi.Input['ClassicAlertSettingsArgs']] = None): + """ + Monitoring Settings of the vault + :param pulumi.Input['AzureMonitorAlertSettingsArgs'] azure_monitor_alert_settings: Settings for Azure Monitor based alerts + :param pulumi.Input['ClassicAlertSettingsArgs'] classic_alert_settings: Settings for classic alerts + """ + if azure_monitor_alert_settings is not None: + pulumi.set(__self__, "azure_monitor_alert_settings", azure_monitor_alert_settings) + if classic_alert_settings is not None: + pulumi.set(__self__, "classic_alert_settings", classic_alert_settings) + + @property + @pulumi.getter(name="azureMonitorAlertSettings") + def azure_monitor_alert_settings(self) -> Optional[pulumi.Input['AzureMonitorAlertSettingsArgs']]: + """ + Settings for Azure Monitor based alerts + """ + return pulumi.get(self, "azure_monitor_alert_settings") + + @azure_monitor_alert_settings.setter + def azure_monitor_alert_settings(self, value: Optional[pulumi.Input['AzureMonitorAlertSettingsArgs']]): + pulumi.set(self, "azure_monitor_alert_settings", value) + + @property + @pulumi.getter(name="classicAlertSettings") + def classic_alert_settings(self) -> Optional[pulumi.Input['ClassicAlertSettingsArgs']]: + """ + Settings for classic alerts + """ + return pulumi.get(self, "classic_alert_settings") + + @classic_alert_settings.setter + def classic_alert_settings(self, value: Optional[pulumi.Input['ClassicAlertSettingsArgs']]): + pulumi.set(self, "classic_alert_settings", value) + + @pulumi.input_type class RecoveryPlanA2AInputArgs: def __init__(__self__, *, @@ -4773,6 +5010,193 @@ def timeout(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timeout", value) +@pulumi.input_type +class RestoreSettingsArgs: + def __init__(__self__, *, + cross_subscription_restore_settings: Optional[pulumi.Input['CrossSubscriptionRestoreSettingsArgs']] = None): + """ + Restore Settings of the vault + :param pulumi.Input['CrossSubscriptionRestoreSettingsArgs'] cross_subscription_restore_settings: Settings for CrossSubscriptionRestore + """ + if cross_subscription_restore_settings is not None: + pulumi.set(__self__, "cross_subscription_restore_settings", cross_subscription_restore_settings) + + @property + @pulumi.getter(name="crossSubscriptionRestoreSettings") + def cross_subscription_restore_settings(self) -> Optional[pulumi.Input['CrossSubscriptionRestoreSettingsArgs']]: + """ + Settings for CrossSubscriptionRestore + """ + return pulumi.get(self, "cross_subscription_restore_settings") + + @cross_subscription_restore_settings.setter + def cross_subscription_restore_settings(self, value: Optional[pulumi.Input['CrossSubscriptionRestoreSettingsArgs']]): + pulumi.set(self, "cross_subscription_restore_settings", value) + + +@pulumi.input_type +class SecuritySettingsArgs: + def __init__(__self__, *, + immutability_settings: Optional[pulumi.Input['ImmutabilitySettingsArgs']] = None, + soft_delete_settings: Optional[pulumi.Input['SoftDeleteSettingsArgs']] = None): + """ + Security Settings of the vault + :param pulumi.Input['ImmutabilitySettingsArgs'] immutability_settings: Immutability Settings of a vault + :param pulumi.Input['SoftDeleteSettingsArgs'] soft_delete_settings: Soft delete Settings of a vault + """ + if immutability_settings is not None: + pulumi.set(__self__, "immutability_settings", immutability_settings) + if soft_delete_settings is not None: + pulumi.set(__self__, "soft_delete_settings", soft_delete_settings) + + @property + @pulumi.getter(name="immutabilitySettings") + def immutability_settings(self) -> Optional[pulumi.Input['ImmutabilitySettingsArgs']]: + """ + Immutability Settings of a vault + """ + return pulumi.get(self, "immutability_settings") + + @immutability_settings.setter + def immutability_settings(self, value: Optional[pulumi.Input['ImmutabilitySettingsArgs']]): + pulumi.set(self, "immutability_settings", value) + + @property + @pulumi.getter(name="softDeleteSettings") + def soft_delete_settings(self) -> Optional[pulumi.Input['SoftDeleteSettingsArgs']]: + """ + Soft delete Settings of a vault + """ + return pulumi.get(self, "soft_delete_settings") + + @soft_delete_settings.setter + def soft_delete_settings(self, value: Optional[pulumi.Input['SoftDeleteSettingsArgs']]): + pulumi.set(self, "soft_delete_settings", value) + + +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: pulumi.Input[Union[str, 'SkuName']], + capacity: Optional[pulumi.Input[str]] = None, + family: Optional[pulumi.Input[str]] = None, + size: Optional[pulumi.Input[str]] = None, + tier: Optional[pulumi.Input[str]] = None): + """ + Identifies the unique system identifier for each Azure resource. + :param pulumi.Input[Union[str, 'SkuName']] name: Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + :param pulumi.Input[str] capacity: The sku capacity + :param pulumi.Input[str] family: The sku family + :param pulumi.Input[str] size: The sku size + :param pulumi.Input[str] tier: The Sku tier. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[Union[str, 'SkuName']]: + """ + Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Union[str, 'SkuName']]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[str]]: + """ + The sku capacity + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def family(self) -> Optional[pulumi.Input[str]]: + """ + The sku family + """ + return pulumi.get(self, "family") + + @family.setter + def family(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "family", value) + + @property + @pulumi.getter + def size(self) -> Optional[pulumi.Input[str]]: + """ + The sku size + """ + return pulumi.get(self, "size") + + @size.setter + def size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "size", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input[str]]: + """ + The Sku tier. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tier", value) + + +@pulumi.input_type +class SoftDeleteSettingsArgs: + def __init__(__self__, *, + soft_delete_retention_period_in_days: Optional[pulumi.Input[int]] = None, + soft_delete_state: Optional[pulumi.Input[Union[str, 'SoftDeleteState']]] = None): + """ + Soft delete Settings of vault + :param pulumi.Input[int] soft_delete_retention_period_in_days: Soft delete retention period in days + """ + if soft_delete_retention_period_in_days is not None: + pulumi.set(__self__, "soft_delete_retention_period_in_days", soft_delete_retention_period_in_days) + if soft_delete_state is not None: + pulumi.set(__self__, "soft_delete_state", soft_delete_state) + + @property + @pulumi.getter(name="softDeleteRetentionPeriodInDays") + def soft_delete_retention_period_in_days(self) -> Optional[pulumi.Input[int]]: + """ + Soft delete retention period in days + """ + return pulumi.get(self, "soft_delete_retention_period_in_days") + + @soft_delete_retention_period_in_days.setter + def soft_delete_retention_period_in_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "soft_delete_retention_period_in_days", value) + + @property + @pulumi.getter(name="softDeleteState") + def soft_delete_state(self) -> Optional[pulumi.Input[Union[str, 'SoftDeleteState']]]: + return pulumi.get(self, "soft_delete_state") + + @soft_delete_state.setter + def soft_delete_state(self, value: Optional[pulumi.Input[Union[str, 'SoftDeleteState']]]): + pulumi.set(self, "soft_delete_state", value) + + @pulumi.input_type class StorageMappingInputPropertiesArgs: def __init__(__self__, *, @@ -5668,6 +6092,150 @@ def vmware_site_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vmware_site_id", value) +@pulumi.input_type +class VaultPropertiesEncryptionArgs: + def __init__(__self__, *, + infrastructure_encryption: Optional[pulumi.Input[Union[str, 'InfrastructureEncryptionState']]] = None, + kek_identity: Optional[pulumi.Input['CmkKekIdentityArgs']] = None, + key_vault_properties: Optional[pulumi.Input['CmkKeyVaultPropertiesArgs']] = None): + """ + Customer Managed Key details of the resource. + :param pulumi.Input[Union[str, 'InfrastructureEncryptionState']] infrastructure_encryption: Enabling/Disabling the Double Encryption state + :param pulumi.Input['CmkKekIdentityArgs'] kek_identity: The details of the identity used for CMK + :param pulumi.Input['CmkKeyVaultPropertiesArgs'] key_vault_properties: The properties of the Key Vault which hosts CMK + """ + if infrastructure_encryption is not None: + pulumi.set(__self__, "infrastructure_encryption", infrastructure_encryption) + if kek_identity is not None: + pulumi.set(__self__, "kek_identity", kek_identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + + @property + @pulumi.getter(name="infrastructureEncryption") + def infrastructure_encryption(self) -> Optional[pulumi.Input[Union[str, 'InfrastructureEncryptionState']]]: + """ + Enabling/Disabling the Double Encryption state + """ + return pulumi.get(self, "infrastructure_encryption") + + @infrastructure_encryption.setter + def infrastructure_encryption(self, value: Optional[pulumi.Input[Union[str, 'InfrastructureEncryptionState']]]): + pulumi.set(self, "infrastructure_encryption", value) + + @property + @pulumi.getter(name="kekIdentity") + def kek_identity(self) -> Optional[pulumi.Input['CmkKekIdentityArgs']]: + """ + The details of the identity used for CMK + """ + return pulumi.get(self, "kek_identity") + + @kek_identity.setter + def kek_identity(self, value: Optional[pulumi.Input['CmkKekIdentityArgs']]): + pulumi.set(self, "kek_identity", value) + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional[pulumi.Input['CmkKeyVaultPropertiesArgs']]: + """ + The properties of the Key Vault which hosts CMK + """ + return pulumi.get(self, "key_vault_properties") + + @key_vault_properties.setter + def key_vault_properties(self, value: Optional[pulumi.Input['CmkKeyVaultPropertiesArgs']]): + pulumi.set(self, "key_vault_properties", value) + + +@pulumi.input_type +class VaultPropertiesArgs: + def __init__(__self__, *, + encryption: Optional[pulumi.Input['VaultPropertiesEncryptionArgs']] = None, + monitoring_settings: Optional[pulumi.Input['MonitoringSettingsArgs']] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + restore_settings: Optional[pulumi.Input['RestoreSettingsArgs']] = None, + security_settings: Optional[pulumi.Input['SecuritySettingsArgs']] = None): + """ + Properties of the vault. + :param pulumi.Input['VaultPropertiesEncryptionArgs'] encryption: Customer Managed Key details of the resource. + :param pulumi.Input['MonitoringSettingsArgs'] monitoring_settings: Monitoring Settings of the vault + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: property to enable or disable resource provider inbound network traffic from public clients + :param pulumi.Input['RestoreSettingsArgs'] restore_settings: Restore Settings of the vault + :param pulumi.Input['SecuritySettingsArgs'] security_settings: Security Settings of the vault + """ + if encryption is not None: + pulumi.set(__self__, "encryption", encryption) + if monitoring_settings is not None: + pulumi.set(__self__, "monitoring_settings", monitoring_settings) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if restore_settings is not None: + pulumi.set(__self__, "restore_settings", restore_settings) + if security_settings is not None: + pulumi.set(__self__, "security_settings", security_settings) + + @property + @pulumi.getter + def encryption(self) -> Optional[pulumi.Input['VaultPropertiesEncryptionArgs']]: + """ + Customer Managed Key details of the resource. + """ + return pulumi.get(self, "encryption") + + @encryption.setter + def encryption(self, value: Optional[pulumi.Input['VaultPropertiesEncryptionArgs']]): + pulumi.set(self, "encryption", value) + + @property + @pulumi.getter(name="monitoringSettings") + def monitoring_settings(self) -> Optional[pulumi.Input['MonitoringSettingsArgs']]: + """ + Monitoring Settings of the vault + """ + return pulumi.get(self, "monitoring_settings") + + @monitoring_settings.setter + def monitoring_settings(self, value: Optional[pulumi.Input['MonitoringSettingsArgs']]): + pulumi.set(self, "monitoring_settings", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + property to enable or disable resource provider inbound network traffic from public clients + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="restoreSettings") + def restore_settings(self) -> Optional[pulumi.Input['RestoreSettingsArgs']]: + """ + Restore Settings of the vault + """ + return pulumi.get(self, "restore_settings") + + @restore_settings.setter + def restore_settings(self, value: Optional[pulumi.Input['RestoreSettingsArgs']]): + pulumi.set(self, "restore_settings", value) + + @property + @pulumi.getter(name="securitySettings") + def security_settings(self) -> Optional[pulumi.Input['SecuritySettingsArgs']]: + """ + Security Settings of the vault + """ + return pulumi.get(self, "security_settings") + + @security_settings.setter + def security_settings(self, value: Optional[pulumi.Input['SecuritySettingsArgs']]): + pulumi.set(self, "security_settings", value) + + @pulumi.input_type class VmmToAzureCreateNetworkMappingInputArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/get_vault.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/get_vault.py new file mode 100644 index 000000000000..373ff98a30d4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/get_vault.py @@ -0,0 +1,196 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVaultResult', + 'AwaitableGetVaultResult', + 'get_vault', + 'get_vault_output', +] + +@pulumi.output_type +class GetVaultResult: + """ + Resource information, as returned by the resource provider. + """ + def __init__(__self__, etag=None, id=None, identity=None, location=None, name=None, properties=None, sku=None, system_data=None, tags=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Optional ETag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Resource Id represents the complete path to the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.IdentityDataResponse']: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.VaultPropertiesResponse': + """ + Properties of the vault. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.SkuResponse']: + """ + Identifies the unique system identifier for each Azure resource. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + + +class AwaitableGetVaultResult(GetVaultResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVaultResult( + etag=self.etag, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + properties=self.properties, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_vault(resource_group_name: Optional[str] = None, + vault_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVaultResult: + """ + Get the Vault details. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the recovery services vault. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['vaultName'] = vault_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20230601:getVault', __args__, opts=opts, typ=GetVaultResult).value + + return AwaitableGetVaultResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + sku=pulumi.get(__ret__, 'sku'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_vault) +def get_vault_output(resource_group_name: Optional[pulumi.Input[str]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVaultResult]: + """ + Get the Vault details. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str vault_name: The name of the recovery services vault. + """ + ... diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/outputs.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/outputs.py index 7be553b908a7..efe42af87af1 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/outputs.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/outputs.py @@ -27,10 +27,15 @@ 'ApplianceMonitoringDetailsResponse', 'ApplianceResourceDetailsResponse', 'AzureFabricSpecificDetailsResponse', + 'AzureMonitorAlertSettingsResponse', 'AzureToAzureNetworkMappingSettingsResponse', 'AzureToAzureVmSyncedConfigDetailsResponse', 'AzureVmDiskDetailsResponse', + 'ClassicAlertSettingsResponse', + 'CmkKekIdentityResponse', + 'CmkKeyVaultPropertiesResponse', 'CriticalJobHistoryDetailsResponse', + 'CrossSubscriptionRestoreSettingsResponse', 'CurrentJobDetailsResponse', 'CurrentScenarioDetailsResponse', 'DataStoreResponse', @@ -54,7 +59,9 @@ 'HyperVReplicaReplicationDetailsResponse', 'HyperVSiteDetailsResponse', 'IPConfigDetailsResponse', + 'IdentityDataResponse', 'IdentityProviderDetailsResponse', + 'ImmutabilitySettingsResponse', 'InMageAgentDetailsResponse', 'InMageAzureV2ManagedDiskDetailsResponse', 'InMageAzureV2PolicyDetailsResponse', @@ -92,11 +99,14 @@ 'MasterTargetServerResponse', 'MigrationItemPropertiesResponse', 'MobilityServiceUpdateResponse', + 'MonitoringSettingsResponse', 'NetworkMappingPropertiesResponse', 'OSDetailsResponse', 'OSDiskDetailsResponse', 'OSUpgradeSupportedVersionsResponse', 'PolicyPropertiesResponse', + 'PrivateEndpointConnectionVaultPropertiesResponse', + 'PrivateEndpointResponse', 'ProcessServerDetailsResponse', 'ProcessServerResponse', 'ProtectionContainerMappingPropertiesResponse', @@ -114,9 +124,16 @@ 'ReplicationAgentDetailsResponse', 'ReplicationProtectedItemPropertiesResponse', 'ReprotectAgentDetailsResponse', + 'RestoreSettingsResponse', 'RetentionVolumeResponse', 'RunAsAccountResponse', + 'SecuritySettingsResponse', + 'SkuResponse', + 'SoftDeleteSettingsResponse', 'StorageClassificationMappingPropertiesResponse', + 'SystemDataResponse', + 'UpgradeDetailsResponse', + 'UserIdentityResponse', 'VCenterPropertiesResponse', 'VMNicDetailsResponse', 'VMwareCbtMigrationDetailsResponse', @@ -126,6 +143,12 @@ 'VMwareCbtSecurityProfilePropertiesResponse', 'VMwareDetailsResponse', 'VMwareV2FabricSpecificDetailsResponse', + 'VaultPrivateEndpointConnectionResponse', + 'VaultPrivateLinkServiceConnectionStateResponse', + 'VaultPropertiesResponse', + 'VaultPropertiesResponseEncryption', + 'VaultPropertiesResponseMoveDetails', + 'VaultPropertiesResponseRedundancySettings', 'VersionDetailsResponse', 'VmmDetailsResponse', 'VmmToAzureNetworkMappingSettingsResponse', @@ -2837,6 +2860,42 @@ def zones(self) -> Optional[Sequence['outputs.A2AZoneDetailsResponse']]: return pulumi.get(self, "zones") +@pulumi.output_type +class AzureMonitorAlertSettingsResponse(dict): + """ + Settings for Azure Monitor based alerts + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertsForAllJobFailures": + suggest = "alerts_for_all_job_failures" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AzureMonitorAlertSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AzureMonitorAlertSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AzureMonitorAlertSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alerts_for_all_job_failures: Optional[str] = None): + """ + Settings for Azure Monitor based alerts + """ + if alerts_for_all_job_failures is not None: + pulumi.set(__self__, "alerts_for_all_job_failures", alerts_for_all_job_failures) + + @property + @pulumi.getter(name="alertsForAllJobFailures") + def alerts_for_all_job_failures(self) -> Optional[str]: + return pulumi.get(self, "alerts_for_all_job_failures") + + @pulumi.output_type class AzureToAzureNetworkMappingSettingsResponse(dict): """ @@ -3124,6 +3183,136 @@ def vhd_type(self) -> Optional[str]: return pulumi.get(self, "vhd_type") +@pulumi.output_type +class ClassicAlertSettingsResponse(dict): + """ + Settings for classic alerts + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertsForCriticalOperations": + suggest = "alerts_for_critical_operations" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClassicAlertSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClassicAlertSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClassicAlertSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alerts_for_critical_operations: Optional[str] = None): + """ + Settings for classic alerts + """ + if alerts_for_critical_operations is not None: + pulumi.set(__self__, "alerts_for_critical_operations", alerts_for_critical_operations) + + @property + @pulumi.getter(name="alertsForCriticalOperations") + def alerts_for_critical_operations(self) -> Optional[str]: + return pulumi.get(self, "alerts_for_critical_operations") + + +@pulumi.output_type +class CmkKekIdentityResponse(dict): + """ + The details of the identity used for CMK + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "useSystemAssignedIdentity": + suggest = "use_system_assigned_identity" + elif key == "userAssignedIdentity": + suggest = "user_assigned_identity" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CmkKekIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CmkKekIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CmkKekIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + use_system_assigned_identity: Optional[bool] = None, + user_assigned_identity: Optional[str] = None): + """ + The details of the identity used for CMK + :param bool use_system_assigned_identity: Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + :param str user_assigned_identity: The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + """ + if use_system_assigned_identity is not None: + pulumi.set(__self__, "use_system_assigned_identity", use_system_assigned_identity) + if user_assigned_identity is not None: + pulumi.set(__self__, "user_assigned_identity", user_assigned_identity) + + @property + @pulumi.getter(name="useSystemAssignedIdentity") + def use_system_assigned_identity(self) -> Optional[bool]: + """ + Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field + """ + return pulumi.get(self, "use_system_assigned_identity") + + @property + @pulumi.getter(name="userAssignedIdentity") + def user_assigned_identity(self) -> Optional[str]: + """ + The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned + """ + return pulumi.get(self, "user_assigned_identity") + + +@pulumi.output_type +class CmkKeyVaultPropertiesResponse(dict): + """ + The properties of the Key Vault which hosts CMK + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyUri": + suggest = "key_uri" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CmkKeyVaultPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CmkKeyVaultPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CmkKeyVaultPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_uri: Optional[str] = None): + """ + The properties of the Key Vault which hosts CMK + :param str key_uri: The key uri of the Customer Managed Key + """ + if key_uri is not None: + pulumi.set(__self__, "key_uri", key_uri) + + @property + @pulumi.getter(name="keyUri") + def key_uri(self) -> Optional[str]: + """ + The key uri of the Customer Managed Key + """ + return pulumi.get(self, "key_uri") + + @pulumi.output_type class CriticalJobHistoryDetailsResponse(dict): """ @@ -3202,6 +3391,42 @@ def start_time(self) -> str: return pulumi.get(self, "start_time") +@pulumi.output_type +class CrossSubscriptionRestoreSettingsResponse(dict): + """ + Settings for Cross Subscription Restore Settings + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "crossSubscriptionRestoreState": + suggest = "cross_subscription_restore_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CrossSubscriptionRestoreSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CrossSubscriptionRestoreSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CrossSubscriptionRestoreSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cross_subscription_restore_state: Optional[str] = None): + """ + Settings for Cross Subscription Restore Settings + """ + if cross_subscription_restore_state is not None: + pulumi.set(__self__, "cross_subscription_restore_state", cross_subscription_restore_state) + + @property + @pulumi.getter(name="crossSubscriptionRestoreState") + def cross_subscription_restore_state(self) -> Optional[str]: + return pulumi.get(self, "cross_subscription_restore_state") + + @pulumi.output_type class CurrentJobDetailsResponse(dict): """ @@ -6279,6 +6504,83 @@ def tfo_subnet_name(self) -> Optional[str]: return pulumi.get(self, "tfo_subnet_name") +@pulumi.output_type +class IdentityDataResponse(dict): + """ + Identity for the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserIdentityResponse']] = None): + """ + Identity for the resource. + :param str principal_id: The principal ID of resource identity. + :param str tenant_id: The tenant ID of resource. + :param str type: The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + :param Mapping[str, 'UserIdentityResponse'] user_assigned_identities: The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of resource identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserIdentityResponse']]: + """ + The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @pulumi.output_type class IdentityProviderDetailsResponse(dict): """ @@ -6373,6 +6675,25 @@ def tenant_id(self) -> Optional[str]: return pulumi.get(self, "tenant_id") +@pulumi.output_type +class ImmutabilitySettingsResponse(dict): + """ + Immutability Settings of vault + """ + def __init__(__self__, *, + state: Optional[str] = None): + """ + Immutability Settings of vault + """ + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @pulumi.output_type class InMageAgentDetailsResponse(dict): """ @@ -13955,6 +14276,60 @@ def version(self) -> Optional[str]: return pulumi.get(self, "version") +@pulumi.output_type +class MonitoringSettingsResponse(dict): + """ + Monitoring Settings of the vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "azureMonitorAlertSettings": + suggest = "azure_monitor_alert_settings" + elif key == "classicAlertSettings": + suggest = "classic_alert_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MonitoringSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MonitoringSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MonitoringSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + azure_monitor_alert_settings: Optional['outputs.AzureMonitorAlertSettingsResponse'] = None, + classic_alert_settings: Optional['outputs.ClassicAlertSettingsResponse'] = None): + """ + Monitoring Settings of the vault + :param 'AzureMonitorAlertSettingsResponse' azure_monitor_alert_settings: Settings for Azure Monitor based alerts + :param 'ClassicAlertSettingsResponse' classic_alert_settings: Settings for classic alerts + """ + if azure_monitor_alert_settings is not None: + pulumi.set(__self__, "azure_monitor_alert_settings", azure_monitor_alert_settings) + if classic_alert_settings is not None: + pulumi.set(__self__, "classic_alert_settings", classic_alert_settings) + + @property + @pulumi.getter(name="azureMonitorAlertSettings") + def azure_monitor_alert_settings(self) -> Optional['outputs.AzureMonitorAlertSettingsResponse']: + """ + Settings for Azure Monitor based alerts + """ + return pulumi.get(self, "azure_monitor_alert_settings") + + @property + @pulumi.getter(name="classicAlertSettings") + def classic_alert_settings(self) -> Optional['outputs.ClassicAlertSettingsResponse']: + """ + Settings for classic alerts + """ + return pulumi.get(self, "classic_alert_settings") + + @pulumi.output_type class NetworkMappingPropertiesResponse(dict): """ @@ -14390,60 +14765,148 @@ def provider_specific_details(self) -> Optional[Any]: @pulumi.output_type -class ProcessServerDetailsResponse(dict): +class PrivateEndpointConnectionVaultPropertiesResponse(dict): """ - Process server details. + Information to be stored in Vault properties as an element of privateEndpointConnections List. """ - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "availableMemoryInBytes": - suggest = "available_memory_in_bytes" - elif key == "availableSpaceInBytes": - suggest = "available_space_in_bytes" - elif key == "biosId": - suggest = "bios_id" - elif key == "diskUsageStatus": - suggest = "disk_usage_status" - elif key == "fabricObjectId": - suggest = "fabric_object_id" - elif key == "freeSpacePercentage": - suggest = "free_space_percentage" - elif key == "healthErrors": - suggest = "health_errors" - elif key == "historicHealth": - suggest = "historic_health" - elif key == "ipAddresses": - suggest = "ip_addresses" - elif key == "lastHeartbeatUtc": - suggest = "last_heartbeat_utc" - elif key == "memoryUsagePercentage": - suggest = "memory_usage_percentage" - elif key == "memoryUsageStatus": - suggest = "memory_usage_status" - elif key == "processorUsagePercentage": - suggest = "processor_usage_percentage" - elif key == "processorUsageStatus": - suggest = "processor_usage_status" - elif key == "protectedItemCount": - suggest = "protected_item_count" - elif key == "systemLoad": - suggest = "system_load" - elif key == "systemLoadStatus": - suggest = "system_load_status" - elif key == "throughputInBytes": - suggest = "throughput_in_bytes" - elif key == "throughputStatus": - suggest = "throughput_status" - elif key == "throughputUploadPendingDataInBytes": - suggest = "throughput_upload_pending_data_in_bytes" - elif key == "totalMemoryInBytes": - suggest = "total_memory_in_bytes" - elif key == "totalSpaceInBytes": - suggest = "total_space_in_bytes" - elif key == "usedMemoryInBytes": - suggest = "used_memory_in_bytes" - elif key == "usedSpaceInBytes": + def __init__(__self__, *, + id: str, + location: str, + name: str, + properties: 'outputs.VaultPrivateEndpointConnectionResponse', + type: str): + """ + Information to be stored in Vault properties as an element of privateEndpointConnections List. + :param str id: Format of id subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. + :param str location: The location of the private Endpoint connection + :param str name: The name of the private Endpoint Connection + :param 'VaultPrivateEndpointConnectionResponse' properties: Private Endpoint Connection Response Properties. + :param str type: The type, which will be of the format, Microsoft.RecoveryServices/vaults/privateEndpointConnections + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "properties", properties) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Format of id subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The location of the private Endpoint connection + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the private Endpoint Connection + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.VaultPrivateEndpointConnectionResponse': + """ + Private Endpoint Connection Response Properties. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type, which will be of the format, Microsoft.RecoveryServices/vaults/privateEndpointConnections + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + The Private Endpoint network resource that is linked to the Private Endpoint connection. + """ + def __init__(__self__, *, + id: str): + """ + The Private Endpoint network resource that is linked to the Private Endpoint connection. + :param str id: Gets or sets id. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + Gets or sets id. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class ProcessServerDetailsResponse(dict): + """ + Process server details. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "availableMemoryInBytes": + suggest = "available_memory_in_bytes" + elif key == "availableSpaceInBytes": + suggest = "available_space_in_bytes" + elif key == "biosId": + suggest = "bios_id" + elif key == "diskUsageStatus": + suggest = "disk_usage_status" + elif key == "fabricObjectId": + suggest = "fabric_object_id" + elif key == "freeSpacePercentage": + suggest = "free_space_percentage" + elif key == "healthErrors": + suggest = "health_errors" + elif key == "historicHealth": + suggest = "historic_health" + elif key == "ipAddresses": + suggest = "ip_addresses" + elif key == "lastHeartbeatUtc": + suggest = "last_heartbeat_utc" + elif key == "memoryUsagePercentage": + suggest = "memory_usage_percentage" + elif key == "memoryUsageStatus": + suggest = "memory_usage_status" + elif key == "processorUsagePercentage": + suggest = "processor_usage_percentage" + elif key == "processorUsageStatus": + suggest = "processor_usage_status" + elif key == "protectedItemCount": + suggest = "protected_item_count" + elif key == "systemLoad": + suggest = "system_load" + elif key == "systemLoadStatus": + suggest = "system_load_status" + elif key == "throughputInBytes": + suggest = "throughput_in_bytes" + elif key == "throughputStatus": + suggest = "throughput_status" + elif key == "throughputUploadPendingDataInBytes": + suggest = "throughput_upload_pending_data_in_bytes" + elif key == "totalMemoryInBytes": + suggest = "total_memory_in_bytes" + elif key == "totalSpaceInBytes": + suggest = "total_space_in_bytes" + elif key == "usedMemoryInBytes": + suggest = "used_memory_in_bytes" + elif key == "usedSpaceInBytes": suggest = "used_space_in_bytes" if suggest: @@ -17591,6 +18054,46 @@ def version(self) -> str: return pulumi.get(self, "version") +@pulumi.output_type +class RestoreSettingsResponse(dict): + """ + Restore Settings of the vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "crossSubscriptionRestoreSettings": + suggest = "cross_subscription_restore_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RestoreSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RestoreSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RestoreSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cross_subscription_restore_settings: Optional['outputs.CrossSubscriptionRestoreSettingsResponse'] = None): + """ + Restore Settings of the vault + :param 'CrossSubscriptionRestoreSettingsResponse' cross_subscription_restore_settings: Settings for CrossSubscriptionRestore + """ + if cross_subscription_restore_settings is not None: + pulumi.set(__self__, "cross_subscription_restore_settings", cross_subscription_restore_settings) + + @property + @pulumi.getter(name="crossSubscriptionRestoreSettings") + def cross_subscription_restore_settings(self) -> Optional['outputs.CrossSubscriptionRestoreSettingsResponse']: + """ + Settings for CrossSubscriptionRestore + """ + return pulumi.get(self, "cross_subscription_restore_settings") + + @pulumi.output_type class RetentionVolumeResponse(dict): """ @@ -17727,6 +18230,193 @@ def account_name(self) -> Optional[str]: return pulumi.get(self, "account_name") +@pulumi.output_type +class SecuritySettingsResponse(dict): + """ + Security Settings of the vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "multiUserAuthorization": + suggest = "multi_user_authorization" + elif key == "immutabilitySettings": + suggest = "immutability_settings" + elif key == "softDeleteSettings": + suggest = "soft_delete_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecuritySettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecuritySettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecuritySettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + multi_user_authorization: str, + immutability_settings: Optional['outputs.ImmutabilitySettingsResponse'] = None, + soft_delete_settings: Optional['outputs.SoftDeleteSettingsResponse'] = None): + """ + Security Settings of the vault + :param str multi_user_authorization: MUA Settings of a vault + :param 'ImmutabilitySettingsResponse' immutability_settings: Immutability Settings of a vault + :param 'SoftDeleteSettingsResponse' soft_delete_settings: Soft delete Settings of a vault + """ + pulumi.set(__self__, "multi_user_authorization", multi_user_authorization) + if immutability_settings is not None: + pulumi.set(__self__, "immutability_settings", immutability_settings) + if soft_delete_settings is not None: + pulumi.set(__self__, "soft_delete_settings", soft_delete_settings) + + @property + @pulumi.getter(name="multiUserAuthorization") + def multi_user_authorization(self) -> str: + """ + MUA Settings of a vault + """ + return pulumi.get(self, "multi_user_authorization") + + @property + @pulumi.getter(name="immutabilitySettings") + def immutability_settings(self) -> Optional['outputs.ImmutabilitySettingsResponse']: + """ + Immutability Settings of a vault + """ + return pulumi.get(self, "immutability_settings") + + @property + @pulumi.getter(name="softDeleteSettings") + def soft_delete_settings(self) -> Optional['outputs.SoftDeleteSettingsResponse']: + """ + Soft delete Settings of a vault + """ + return pulumi.get(self, "soft_delete_settings") + + +@pulumi.output_type +class SkuResponse(dict): + """ + Identifies the unique system identifier for each Azure resource. + """ + def __init__(__self__, *, + name: str, + capacity: Optional[str] = None, + family: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None): + """ + Identifies the unique system identifier for each Azure resource. + :param str name: Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + :param str capacity: The sku capacity + :param str family: The sku family + :param str size: The sku size + :param str tier: The Sku tier. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def capacity(self) -> Optional[str]: + """ + The sku capacity + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter + def family(self) -> Optional[str]: + """ + The sku family + """ + return pulumi.get(self, "family") + + @property + @pulumi.getter + def size(self) -> Optional[str]: + """ + The sku size + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + The Sku tier. + """ + return pulumi.get(self, "tier") + + +@pulumi.output_type +class SoftDeleteSettingsResponse(dict): + """ + Soft delete Settings of vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "softDeleteRetentionPeriodInDays": + suggest = "soft_delete_retention_period_in_days" + elif key == "softDeleteState": + suggest = "soft_delete_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SoftDeleteSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SoftDeleteSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SoftDeleteSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + soft_delete_retention_period_in_days: Optional[int] = None, + soft_delete_state: Optional[str] = None): + """ + Soft delete Settings of vault + :param int soft_delete_retention_period_in_days: Soft delete retention period in days + """ + if soft_delete_retention_period_in_days is not None: + pulumi.set(__self__, "soft_delete_retention_period_in_days", soft_delete_retention_period_in_days) + if soft_delete_state is not None: + pulumi.set(__self__, "soft_delete_state", soft_delete_state) + + @property + @pulumi.getter(name="softDeleteRetentionPeriodInDays") + def soft_delete_retention_period_in_days(self) -> Optional[int]: + """ + Soft delete retention period in days + """ + return pulumi.get(self, "soft_delete_retention_period_in_days") + + @property + @pulumi.getter(name="softDeleteState") + def soft_delete_state(self) -> Optional[str]: + return pulumi.get(self, "soft_delete_state") + + @pulumi.output_type class StorageClassificationMappingPropertiesResponse(dict): """ @@ -17768,29 +18458,330 @@ def target_storage_classification_id(self) -> Optional[str]: @pulumi.output_type -class VCenterPropertiesResponse(dict): +class SystemDataResponse(dict): """ - vCenter properties. + Metadata pertaining to creation and last modification of the resource. """ @staticmethod def __key_warning(key: str): suggest = None - if key == "discoveryStatus": - suggest = "discovery_status" - elif key == "fabricArmResourceName": - suggest = "fabric_arm_resource_name" - elif key == "friendlyName": - suggest = "friendly_name" - elif key == "healthErrors": - suggest = "health_errors" - elif key == "infrastructureId": - suggest = "infrastructure_id" - elif key == "internalId": - suggest = "internal_id" - elif key == "ipAddress": - suggest = "ip_address" - elif key == "lastHeartbeat": - suggest = "last_heartbeat" + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The type of identity that last modified the resource. + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UpgradeDetailsResponse(dict): + """ + Details for upgrading vault. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "endTimeUtc": + suggest = "end_time_utc" + elif key == "lastUpdatedTimeUtc": + suggest = "last_updated_time_utc" + elif key == "operationId": + suggest = "operation_id" + elif key == "previousResourceId": + suggest = "previous_resource_id" + elif key == "startTimeUtc": + suggest = "start_time_utc" + elif key == "triggerType": + suggest = "trigger_type" + elif key == "upgradedResourceId": + suggest = "upgraded_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UpgradeDetailsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UpgradeDetailsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UpgradeDetailsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + end_time_utc: str, + last_updated_time_utc: str, + message: str, + operation_id: str, + previous_resource_id: str, + start_time_utc: str, + status: str, + trigger_type: str, + upgraded_resource_id: str): + """ + Details for upgrading vault. + :param str end_time_utc: UTC time at which the upgrade operation has ended. + :param str last_updated_time_utc: UTC time at which the upgrade operation status was last updated. + :param str message: Message to the user containing information about the upgrade operation. + :param str operation_id: ID of the vault upgrade operation. + :param str previous_resource_id: Resource ID of the vault before the upgrade. + :param str start_time_utc: UTC time at which the upgrade operation has started. + :param str status: Status of the vault upgrade operation. + :param str trigger_type: The way the vault upgrade was triggered. + :param str upgraded_resource_id: Resource ID of the upgraded vault. + """ + pulumi.set(__self__, "end_time_utc", end_time_utc) + pulumi.set(__self__, "last_updated_time_utc", last_updated_time_utc) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "operation_id", operation_id) + pulumi.set(__self__, "previous_resource_id", previous_resource_id) + pulumi.set(__self__, "start_time_utc", start_time_utc) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "trigger_type", trigger_type) + pulumi.set(__self__, "upgraded_resource_id", upgraded_resource_id) + + @property + @pulumi.getter(name="endTimeUtc") + def end_time_utc(self) -> str: + """ + UTC time at which the upgrade operation has ended. + """ + return pulumi.get(self, "end_time_utc") + + @property + @pulumi.getter(name="lastUpdatedTimeUtc") + def last_updated_time_utc(self) -> str: + """ + UTC time at which the upgrade operation status was last updated. + """ + return pulumi.get(self, "last_updated_time_utc") + + @property + @pulumi.getter + def message(self) -> str: + """ + Message to the user containing information about the upgrade operation. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> str: + """ + ID of the vault upgrade operation. + """ + return pulumi.get(self, "operation_id") + + @property + @pulumi.getter(name="previousResourceId") + def previous_resource_id(self) -> str: + """ + Resource ID of the vault before the upgrade. + """ + return pulumi.get(self, "previous_resource_id") + + @property + @pulumi.getter(name="startTimeUtc") + def start_time_utc(self) -> str: + """ + UTC time at which the upgrade operation has started. + """ + return pulumi.get(self, "start_time_utc") + + @property + @pulumi.getter + def status(self) -> str: + """ + Status of the vault upgrade operation. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="triggerType") + def trigger_type(self) -> str: + """ + The way the vault upgrade was triggered. + """ + return pulumi.get(self, "trigger_type") + + @property + @pulumi.getter(name="upgradedResourceId") + def upgraded_resource_id(self) -> str: + """ + Resource ID of the upgraded vault. + """ + return pulumi.get(self, "upgraded_resource_id") + + +@pulumi.output_type +class UserIdentityResponse(dict): + """ + A resource identity that is managed by the user of the service. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + A resource identity that is managed by the user of the service. + :param str client_id: The client ID of the user-assigned identity. + :param str principal_id: The principal ID of the user-assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the user-assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the user-assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class VCenterPropertiesResponse(dict): + """ + vCenter properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "discoveryStatus": + suggest = "discovery_status" + elif key == "fabricArmResourceName": + suggest = "fabric_arm_resource_name" + elif key == "friendlyName": + suggest = "friendly_name" + elif key == "healthErrors": + suggest = "health_errors" + elif key == "infrastructureId": + suggest = "infrastructure_id" + elif key == "internalId": + suggest = "internal_id" + elif key == "ipAddress": + suggest = "ip_address" + elif key == "lastHeartbeat": + suggest = "last_heartbeat" elif key == "processServerId": suggest = "process_server_id" elif key == "runAsAccountId": @@ -20245,6 +21236,584 @@ def vmware_site_id(self) -> str: return pulumi.get(self, "vmware_site_id") +@pulumi.output_type +class VaultPrivateEndpointConnectionResponse(dict): + """ + Private Endpoint Connection Response Properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "privateEndpoint": + suggest = "private_endpoint" + elif key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "groupIds": + suggest = "group_ids" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultPrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultPrivateEndpointConnectionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultPrivateEndpointConnectionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + private_endpoint: 'outputs.PrivateEndpointResponse', + private_link_service_connection_state: 'outputs.VaultPrivateLinkServiceConnectionStateResponse', + provisioning_state: str, + group_ids: Optional[Sequence[str]] = None): + """ + Private Endpoint Connection Response Properties. + :param 'PrivateEndpointResponse' private_endpoint: The Private Endpoint network resource that is linked to the Private Endpoint connection. + :param 'VaultPrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: Gets or sets private link service connection state. + :param str provisioning_state: Gets or sets provisioning state of the private endpoint connection. + :param Sequence[str] group_ids: Group Ids for the Private Endpoint + """ + pulumi.set(__self__, "private_endpoint", private_endpoint) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "provisioning_state", provisioning_state) + if group_ids is not None: + pulumi.set(__self__, "group_ids", group_ids) + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> 'outputs.PrivateEndpointResponse': + """ + The Private Endpoint network resource that is linked to the Private Endpoint connection. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.VaultPrivateLinkServiceConnectionStateResponse': + """ + Gets or sets private link service connection state. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Gets or sets provisioning state of the private endpoint connection. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="groupIds") + def group_ids(self) -> Optional[Sequence[str]]: + """ + Group Ids for the Private Endpoint + """ + return pulumi.get(self, "group_ids") + + +@pulumi.output_type +class VaultPrivateLinkServiceConnectionStateResponse(dict): + """ + Gets or sets private link service connection state. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultPrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultPrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultPrivateLinkServiceConnectionStateResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: str, + description: str, + status: str): + """ + Gets or sets private link service connection state. + :param str actions_required: Gets or sets actions required. + :param str description: Gets or sets description. + :param str status: Gets or sets the status. + """ + pulumi.set(__self__, "actions_required", actions_required) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> str: + """ + Gets or sets actions required. + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> str: + """ + Gets or sets description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> str: + """ + Gets or sets the status. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class VaultPropertiesResponse(dict): + """ + Properties of the vault. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "backupStorageVersion": + suggest = "backup_storage_version" + elif key == "moveState": + suggest = "move_state" + elif key == "privateEndpointConnections": + suggest = "private_endpoint_connections" + elif key == "privateEndpointStateForBackup": + suggest = "private_endpoint_state_for_backup" + elif key == "privateEndpointStateForSiteRecovery": + suggest = "private_endpoint_state_for_site_recovery" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "secureScore": + suggest = "secure_score" + elif key == "monitoringSettings": + suggest = "monitoring_settings" + elif key == "moveDetails": + suggest = "move_details" + elif key == "publicNetworkAccess": + suggest = "public_network_access" + elif key == "redundancySettings": + suggest = "redundancy_settings" + elif key == "restoreSettings": + suggest = "restore_settings" + elif key == "securitySettings": + suggest = "security_settings" + elif key == "upgradeDetails": + suggest = "upgrade_details" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + backup_storage_version: str, + move_state: str, + private_endpoint_connections: Sequence['outputs.PrivateEndpointConnectionVaultPropertiesResponse'], + private_endpoint_state_for_backup: str, + private_endpoint_state_for_site_recovery: str, + provisioning_state: str, + secure_score: str, + encryption: Optional['outputs.VaultPropertiesResponseEncryption'] = None, + monitoring_settings: Optional['outputs.MonitoringSettingsResponse'] = None, + move_details: Optional['outputs.VaultPropertiesResponseMoveDetails'] = None, + public_network_access: Optional[str] = None, + redundancy_settings: Optional['outputs.VaultPropertiesResponseRedundancySettings'] = None, + restore_settings: Optional['outputs.RestoreSettingsResponse'] = None, + security_settings: Optional['outputs.SecuritySettingsResponse'] = None, + upgrade_details: Optional['outputs.UpgradeDetailsResponse'] = None): + """ + Properties of the vault. + :param str backup_storage_version: Backup storage version + :param str move_state: The State of the Resource after the move operation + :param Sequence['PrivateEndpointConnectionVaultPropertiesResponse'] private_endpoint_connections: List of private endpoint connection. + :param str private_endpoint_state_for_backup: Private endpoint state for backup. + :param str private_endpoint_state_for_site_recovery: Private endpoint state for site recovery. + :param str provisioning_state: Provisioning State. + :param str secure_score: Secure Score of Recovery Services Vault + :param 'VaultPropertiesResponseEncryption' encryption: Customer Managed Key details of the resource. + :param 'MonitoringSettingsResponse' monitoring_settings: Monitoring Settings of the vault + :param 'VaultPropertiesResponseMoveDetails' move_details: The details of the latest move operation performed on the Azure Resource + :param str public_network_access: property to enable or disable resource provider inbound network traffic from public clients + :param 'VaultPropertiesResponseRedundancySettings' redundancy_settings: The redundancy Settings of a Vault + :param 'RestoreSettingsResponse' restore_settings: Restore Settings of the vault + :param 'SecuritySettingsResponse' security_settings: Security Settings of the vault + :param 'UpgradeDetailsResponse' upgrade_details: Details for upgrading vault. + """ + pulumi.set(__self__, "backup_storage_version", backup_storage_version) + pulumi.set(__self__, "move_state", move_state) + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + pulumi.set(__self__, "private_endpoint_state_for_backup", private_endpoint_state_for_backup) + pulumi.set(__self__, "private_endpoint_state_for_site_recovery", private_endpoint_state_for_site_recovery) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "secure_score", secure_score) + if encryption is not None: + pulumi.set(__self__, "encryption", encryption) + if monitoring_settings is not None: + pulumi.set(__self__, "monitoring_settings", monitoring_settings) + if move_details is not None: + pulumi.set(__self__, "move_details", move_details) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if redundancy_settings is not None: + pulumi.set(__self__, "redundancy_settings", redundancy_settings) + if restore_settings is not None: + pulumi.set(__self__, "restore_settings", restore_settings) + if security_settings is not None: + pulumi.set(__self__, "security_settings", security_settings) + if upgrade_details is not None: + pulumi.set(__self__, "upgrade_details", upgrade_details) + + @property + @pulumi.getter(name="backupStorageVersion") + def backup_storage_version(self) -> str: + """ + Backup storage version + """ + return pulumi.get(self, "backup_storage_version") + + @property + @pulumi.getter(name="moveState") + def move_state(self) -> str: + """ + The State of the Resource after the move operation + """ + return pulumi.get(self, "move_state") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionVaultPropertiesResponse']: + """ + List of private endpoint connection. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="privateEndpointStateForBackup") + def private_endpoint_state_for_backup(self) -> str: + """ + Private endpoint state for backup. + """ + return pulumi.get(self, "private_endpoint_state_for_backup") + + @property + @pulumi.getter(name="privateEndpointStateForSiteRecovery") + def private_endpoint_state_for_site_recovery(self) -> str: + """ + Private endpoint state for site recovery. + """ + return pulumi.get(self, "private_endpoint_state_for_site_recovery") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning State. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="secureScore") + def secure_score(self) -> str: + """ + Secure Score of Recovery Services Vault + """ + return pulumi.get(self, "secure_score") + + @property + @pulumi.getter + def encryption(self) -> Optional['outputs.VaultPropertiesResponseEncryption']: + """ + Customer Managed Key details of the resource. + """ + return pulumi.get(self, "encryption") + + @property + @pulumi.getter(name="monitoringSettings") + def monitoring_settings(self) -> Optional['outputs.MonitoringSettingsResponse']: + """ + Monitoring Settings of the vault + """ + return pulumi.get(self, "monitoring_settings") + + @property + @pulumi.getter(name="moveDetails") + def move_details(self) -> Optional['outputs.VaultPropertiesResponseMoveDetails']: + """ + The details of the latest move operation performed on the Azure Resource + """ + return pulumi.get(self, "move_details") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + property to enable or disable resource provider inbound network traffic from public clients + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="redundancySettings") + def redundancy_settings(self) -> Optional['outputs.VaultPropertiesResponseRedundancySettings']: + """ + The redundancy Settings of a Vault + """ + return pulumi.get(self, "redundancy_settings") + + @property + @pulumi.getter(name="restoreSettings") + def restore_settings(self) -> Optional['outputs.RestoreSettingsResponse']: + """ + Restore Settings of the vault + """ + return pulumi.get(self, "restore_settings") + + @property + @pulumi.getter(name="securitySettings") + def security_settings(self) -> Optional['outputs.SecuritySettingsResponse']: + """ + Security Settings of the vault + """ + return pulumi.get(self, "security_settings") + + @property + @pulumi.getter(name="upgradeDetails") + def upgrade_details(self) -> Optional['outputs.UpgradeDetailsResponse']: + """ + Details for upgrading vault. + """ + return pulumi.get(self, "upgrade_details") + + +@pulumi.output_type +class VaultPropertiesResponseEncryption(dict): + """ + Customer Managed Key details of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "infrastructureEncryption": + suggest = "infrastructure_encryption" + elif key == "kekIdentity": + suggest = "kek_identity" + elif key == "keyVaultProperties": + suggest = "key_vault_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultPropertiesResponseEncryption. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultPropertiesResponseEncryption.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultPropertiesResponseEncryption.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + infrastructure_encryption: Optional[str] = None, + kek_identity: Optional['outputs.CmkKekIdentityResponse'] = None, + key_vault_properties: Optional['outputs.CmkKeyVaultPropertiesResponse'] = None): + """ + Customer Managed Key details of the resource. + :param str infrastructure_encryption: Enabling/Disabling the Double Encryption state + :param 'CmkKekIdentityResponse' kek_identity: The details of the identity used for CMK + :param 'CmkKeyVaultPropertiesResponse' key_vault_properties: The properties of the Key Vault which hosts CMK + """ + if infrastructure_encryption is not None: + pulumi.set(__self__, "infrastructure_encryption", infrastructure_encryption) + if kek_identity is not None: + pulumi.set(__self__, "kek_identity", kek_identity) + if key_vault_properties is not None: + pulumi.set(__self__, "key_vault_properties", key_vault_properties) + + @property + @pulumi.getter(name="infrastructureEncryption") + def infrastructure_encryption(self) -> Optional[str]: + """ + Enabling/Disabling the Double Encryption state + """ + return pulumi.get(self, "infrastructure_encryption") + + @property + @pulumi.getter(name="kekIdentity") + def kek_identity(self) -> Optional['outputs.CmkKekIdentityResponse']: + """ + The details of the identity used for CMK + """ + return pulumi.get(self, "kek_identity") + + @property + @pulumi.getter(name="keyVaultProperties") + def key_vault_properties(self) -> Optional['outputs.CmkKeyVaultPropertiesResponse']: + """ + The properties of the Key Vault which hosts CMK + """ + return pulumi.get(self, "key_vault_properties") + + +@pulumi.output_type +class VaultPropertiesResponseMoveDetails(dict): + """ + The details of the latest move operation performed on the Azure Resource + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "completionTimeUtc": + suggest = "completion_time_utc" + elif key == "operationId": + suggest = "operation_id" + elif key == "sourceResourceId": + suggest = "source_resource_id" + elif key == "startTimeUtc": + suggest = "start_time_utc" + elif key == "targetResourceId": + suggest = "target_resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultPropertiesResponseMoveDetails. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultPropertiesResponseMoveDetails.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultPropertiesResponseMoveDetails.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + completion_time_utc: str, + operation_id: str, + source_resource_id: str, + start_time_utc: str, + target_resource_id: str): + """ + The details of the latest move operation performed on the Azure Resource + :param str completion_time_utc: End Time of the Resource Move Operation + :param str operation_id: OperationId of the Resource Move Operation + :param str source_resource_id: Source Resource of the Resource Move Operation + :param str start_time_utc: Start Time of the Resource Move Operation + :param str target_resource_id: Target Resource of the Resource Move Operation + """ + pulumi.set(__self__, "completion_time_utc", completion_time_utc) + pulumi.set(__self__, "operation_id", operation_id) + pulumi.set(__self__, "source_resource_id", source_resource_id) + pulumi.set(__self__, "start_time_utc", start_time_utc) + pulumi.set(__self__, "target_resource_id", target_resource_id) + + @property + @pulumi.getter(name="completionTimeUtc") + def completion_time_utc(self) -> str: + """ + End Time of the Resource Move Operation + """ + return pulumi.get(self, "completion_time_utc") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> str: + """ + OperationId of the Resource Move Operation + """ + return pulumi.get(self, "operation_id") + + @property + @pulumi.getter(name="sourceResourceId") + def source_resource_id(self) -> str: + """ + Source Resource of the Resource Move Operation + """ + return pulumi.get(self, "source_resource_id") + + @property + @pulumi.getter(name="startTimeUtc") + def start_time_utc(self) -> str: + """ + Start Time of the Resource Move Operation + """ + return pulumi.get(self, "start_time_utc") + + @property + @pulumi.getter(name="targetResourceId") + def target_resource_id(self) -> str: + """ + Target Resource of the Resource Move Operation + """ + return pulumi.get(self, "target_resource_id") + + +@pulumi.output_type +class VaultPropertiesResponseRedundancySettings(dict): + """ + The redundancy Settings of a Vault + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "crossRegionRestore": + suggest = "cross_region_restore" + elif key == "standardTierStorageRedundancy": + suggest = "standard_tier_storage_redundancy" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultPropertiesResponseRedundancySettings. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultPropertiesResponseRedundancySettings.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultPropertiesResponseRedundancySettings.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cross_region_restore: str, + standard_tier_storage_redundancy: str): + """ + The redundancy Settings of a Vault + :param str cross_region_restore: Flag to show if Cross Region Restore is enabled on the Vault or not + :param str standard_tier_storage_redundancy: The storage redundancy setting of a vault + """ + pulumi.set(__self__, "cross_region_restore", cross_region_restore) + pulumi.set(__self__, "standard_tier_storage_redundancy", standard_tier_storage_redundancy) + + @property + @pulumi.getter(name="crossRegionRestore") + def cross_region_restore(self) -> str: + """ + Flag to show if Cross Region Restore is enabled on the Vault or not + """ + return pulumi.get(self, "cross_region_restore") + + @property + @pulumi.getter(name="standardTierStorageRedundancy") + def standard_tier_storage_redundancy(self) -> str: + """ + The storage redundancy setting of a vault + """ + return pulumi.get(self, "standard_tier_storage_redundancy") + + @pulumi.output_type class VersionDetailsResponse(dict): """ diff --git a/sdk/python/pulumi_azure_native/recoveryservices/v20230601/vault.py b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/vault.py new file mode 100644 index 000000000000..6cd676171111 --- /dev/null +++ b/sdk/python/pulumi_azure_native/recoveryservices/v20230601/vault.py @@ -0,0 +1,321 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VaultArgs', 'Vault'] + +@pulumi.input_type +class VaultArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['IdentityDataArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['VaultPropertiesArgs']] = None, + sku: Optional[pulumi.Input['SkuArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Vault resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['IdentityDataArgs'] identity: Identity for the resource. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input['VaultPropertiesArgs'] properties: Properties of the vault. + :param pulumi.Input['SkuArgs'] sku: Identifies the unique system identifier for each Azure resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] vault_name: The name of the recovery services vault. + """ + 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 properties is not None: + pulumi.set(__self__, "properties", properties) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if vault_name is not None: + pulumi.set(__self__, "vault_name", vault_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['IdentityDataArgs']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['IdentityDataArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['VaultPropertiesArgs']]: + """ + Properties of the vault. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['VaultPropertiesArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['SkuArgs']]: + """ + Identifies the unique system identifier for each Azure resource. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['SkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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="vaultName") + def vault_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the recovery services vault. + """ + return pulumi.get(self, "vault_name") + + @vault_name.setter + def vault_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_name", value) + + +class Vault(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityDataArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['VaultPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Resource information, as returned by the resource provider. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['IdentityDataArgs']] identity: Identity for the resource. + :param pulumi.Input[str] location: Resource location. + :param pulumi.Input[pulumi.InputType['VaultPropertiesArgs']] properties: Properties of the vault. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: Identifies the unique system identifier for each Azure resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] vault_name: The name of the recovery services vault. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VaultArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Resource information, as returned by the resource provider. + + :param str resource_name: The name of the resource. + :param VaultArgs 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(VaultArgs, 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, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityDataArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['VaultPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vault_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VaultArgs.__new__(VaultArgs) + + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["properties"] = properties + 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__["vault_name"] = vault_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20200202:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:Vault")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Vault, __self__).__init__( + 'azure-native:recoveryservices/v20230601:Vault', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Vault': + """ + Get an existing Vault 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VaultArgs.__new__(VaultArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return Vault(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Optional ETag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityDataResponse']]: + """ + Identity for the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Resource name associated with the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.VaultPropertiesResponse']: + """ + Properties of the vault. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + Identifies the unique system identifier for each Azure resource. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/recoveryservices/vault.py b/sdk/python/pulumi_azure_native/recoveryservices/vault.py index a8b9f28705c5..da9feb13f72b 100644 --- a/sdk/python/pulumi_azure_native/recoveryservices/vault.py +++ b/sdk/python/pulumi_azure_native/recoveryservices/vault.py @@ -214,7 +214,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20200202:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:Vault")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices/v20160601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20200202:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211101preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220131preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220501:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220801:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220910:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:Vault"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:Vault")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Vault, __self__).__init__( 'azure-native:recoveryservices:Vault', diff --git a/sdk/python/pulumi_azure_native/securityinsights/__init__.py b/sdk/python/pulumi_azure_native/securityinsights/__init__.py index 9c0b52be2fde..f47d4f281224 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/__init__.py +++ b/sdk/python/pulumi_azure_native/securityinsights/__init__.py @@ -144,6 +144,8 @@ v20230701preview = __v20230701preview import pulumi_azure_native.securityinsights.v20230801preview as __v20230801preview v20230801preview = __v20230801preview + import pulumi_azure_native.securityinsights.v20230901preview as __v20230901preview + v20230901preview = __v20230901preview else: v20190101preview = _utilities.lazy_import('pulumi_azure_native.securityinsights.v20190101preview') v20210301preview = _utilities.lazy_import('pulumi_azure_native.securityinsights.v20210301preview') @@ -168,4 +170,5 @@ v20230601preview = _utilities.lazy_import('pulumi_azure_native.securityinsights.v20230601preview') v20230701preview = _utilities.lazy_import('pulumi_azure_native.securityinsights.v20230701preview') v20230801preview = _utilities.lazy_import('pulumi_azure_native.securityinsights.v20230801preview') + v20230901preview = _utilities.lazy_import('pulumi_azure_native.securityinsights.v20230901preview') diff --git a/sdk/python/pulumi_azure_native/securityinsights/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/aad_data_connector.py index c092650b6014..cbe2719076a0 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/aad_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/aad_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AADDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AADDataConnector, __self__).__init__( 'azure-native:securityinsights:AADDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/aatp_data_connector.py index 540015f9b7b5..74ac4155c1fe 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/aatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/aatp_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AATPDataConnector, __self__).__init__( 'azure-native:securityinsights:AATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/action.py b/sdk/python/pulumi_azure_native/securityinsights/action.py index 5000f0220867..a6dafedba0c1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/action.py +++ b/sdk/python/pulumi_azure_native/securityinsights/action.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workflow_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Action, __self__).__init__( 'azure-native:securityinsights:Action', diff --git a/sdk/python/pulumi_azure_native/securityinsights/activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/activity_custom_entity_query.py index 41507a59cca4..467a90f12ecb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/activity_custom_entity_query.py +++ b/sdk/python/pulumi_azure_native/securityinsights/activity_custom_entity_query.py @@ -341,7 +341,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ActivityCustomEntityQuery, __self__).__init__( 'azure-native:securityinsights:ActivityCustomEntityQuery', diff --git a/sdk/python/pulumi_azure_native/securityinsights/anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/anomalies.py index acbf3b3acd4a..d7cfb063e5c1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/anomalies.py +++ b/sdk/python/pulumi_azure_native/securityinsights/anomalies.py @@ -158,7 +158,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Anomalies")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Anomalies, __self__).__init__( 'azure-native:securityinsights:Anomalies', diff --git a/sdk/python/pulumi_azure_native/securityinsights/anomaly_security_ml_analytics_settings.py b/sdk/python/pulumi_azure_native/securityinsights/anomaly_security_ml_analytics_settings.py index 2f7792fe3777..2a926e1b46b4 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/anomaly_security_ml_analytics_settings.py +++ b/sdk/python/pulumi_azure_native/securityinsights/anomaly_security_ml_analytics_settings.py @@ -426,7 +426,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AnomalySecurityMLAnalyticsSettings, __self__).__init__( 'azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings', diff --git a/sdk/python/pulumi_azure_native/securityinsights/asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/asc_data_connector.py index 9d42e58c460e..be6687c9f8bd 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/asc_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/asc_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ASCDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ASCDataConnector, __self__).__init__( 'azure-native:securityinsights:ASCDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/automation_rule.py index 17553cd8b838..84a491a5bd54 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/automation_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/automation_rule.py @@ -221,7 +221,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AutomationRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AutomationRule, __self__).__init__( 'azure-native:securityinsights:AutomationRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/aws_cloud_trail_data_connector.py index efdd7a812cc5..27bde5e8e7a2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/aws_cloud_trail_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/aws_cloud_trail_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsCloudTrailDataConnector, __self__).__init__( 'azure-native:securityinsights:AwsCloudTrailDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/bookmark.py index 7130f18c8afb..895ccdcdcfb6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/bookmark.py +++ b/sdk/python/pulumi_azure_native/securityinsights/bookmark.py @@ -397,7 +397,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Bookmark")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bookmark, __self__).__init__( 'azure-native:securityinsights:Bookmark', diff --git a/sdk/python/pulumi_azure_native/securityinsights/bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/bookmark_relation.py index d73fe76e70a5..2580513922e4 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/bookmark_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/bookmark_relation.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:BookmarkRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BookmarkRelation, __self__).__init__( 'azure-native:securityinsights:BookmarkRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/content_package.py b/sdk/python/pulumi_azure_native/securityinsights/content_package.py index 0a941afadb8e..2d024f75a1d3 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/content_package.py +++ b/sdk/python/pulumi_azure_native/securityinsights/content_package.py @@ -559,7 +559,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentPackage, __self__).__init__( 'azure-native:securityinsights:ContentPackage', diff --git a/sdk/python/pulumi_azure_native/securityinsights/content_template.py b/sdk/python/pulumi_azure_native/securityinsights/content_template.py index 21341f016341..aa5899cda19e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/content_template.py +++ b/sdk/python/pulumi_azure_native/securityinsights/content_template.py @@ -601,7 +601,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentTemplate, __self__).__init__( 'azure-native:securityinsights:ContentTemplate', diff --git a/sdk/python/pulumi_azure_native/securityinsights/customizable_connector_definition.py b/sdk/python/pulumi_azure_native/securityinsights/customizable_connector_definition.py index 1cda80ae4cf2..4cc680bb2643 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/customizable_connector_definition.py +++ b/sdk/python/pulumi_azure_native/securityinsights/customizable_connector_definition.py @@ -240,7 +240,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CustomizableConnectorDefinition, __self__).__init__( 'azure-native:securityinsights:CustomizableConnectorDefinition', diff --git a/sdk/python/pulumi_azure_native/securityinsights/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/entity_analytics.py index 4e9165e99dde..464add5b497b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/entity_analytics.py +++ b/sdk/python/pulumi_azure_native/securityinsights/entity_analytics.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EntityAnalytics")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EntityAnalytics, __self__).__init__( 'azure-native:securityinsights:EntityAnalytics', diff --git a/sdk/python/pulumi_azure_native/securityinsights/eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/eyes_on.py index 956a2fb47a93..c3e59ea01280 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/eyes_on.py +++ b/sdk/python/pulumi_azure_native/securityinsights/eyes_on.py @@ -158,7 +158,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EyesOn")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EyesOn, __self__).__init__( 'azure-native:securityinsights:EyesOn', diff --git a/sdk/python/pulumi_azure_native/securityinsights/file_import.py b/sdk/python/pulumi_azure_native/securityinsights/file_import.py index bbda4f45e1e7..e43ddd415cf1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/file_import.py +++ b/sdk/python/pulumi_azure_native/securityinsights/file_import.py @@ -227,7 +227,7 @@ def _internal_init(__self__, __props__.__dict__["total_record_count"] = None __props__.__dict__["type"] = None __props__.__dict__["valid_record_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FileImport")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FileImport, __self__).__init__( 'azure-native:securityinsights:FileImport', diff --git a/sdk/python/pulumi_azure_native/securityinsights/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/fusion_alert_rule.py index 2fc6580651a7..33253c4b262d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/fusion_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/fusion_alert_rule.py @@ -205,7 +205,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FusionAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FusionAlertRule, __self__).__init__( 'azure-native:securityinsights:FusionAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/get_workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/get_workspace_manager_member.py index 8babc8a7cf2a..8eb70e94eee0 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/get_workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/get_workspace_manager_member.py @@ -22,7 +22,7 @@ class GetWorkspaceManagerMemberResult: """ The workspace manager member """ - def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_id=None, target_workspace_tenant_id=None, type=None): + def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_resource_id=None, target_workspace_tenant_id=None, type=None): if etag and not isinstance(etag, str): raise TypeError("Expected argument 'etag' to be a str") pulumi.set(__self__, "etag", etag) @@ -35,9 +35,9 @@ def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_w if system_data and not isinstance(system_data, dict): raise TypeError("Expected argument 'system_data' to be a dict") pulumi.set(__self__, "system_data", system_data) - if target_workspace_id and not isinstance(target_workspace_id, str): - raise TypeError("Expected argument 'target_workspace_id' to be a str") - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + if target_workspace_resource_id and not isinstance(target_workspace_resource_id, str): + raise TypeError("Expected argument 'target_workspace_resource_id' to be a str") + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) if target_workspace_tenant_id and not isinstance(target_workspace_tenant_id, str): raise TypeError("Expected argument 'target_workspace_tenant_id' to be a str") pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) @@ -78,12 +78,12 @@ def system_data(self) -> 'outputs.SystemDataResponse': return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> str: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> str: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -112,7 +112,7 @@ def __await__(self): id=self.id, name=self.name, system_data=self.system_data, - target_workspace_id=self.target_workspace_id, + target_workspace_resource_id=self.target_workspace_resource_id, target_workspace_tenant_id=self.target_workspace_tenant_id, type=self.type) @@ -142,7 +142,7 @@ def get_workspace_manager_member(resource_group_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), system_data=pulumi.get(__ret__, 'system_data'), - target_workspace_id=pulumi.get(__ret__, 'target_workspace_id'), + target_workspace_resource_id=pulumi.get(__ret__, 'target_workspace_resource_id'), target_workspace_tenant_id=pulumi.get(__ret__, 'target_workspace_tenant_id'), type=pulumi.get(__ret__, 'type')) diff --git a/sdk/python/pulumi_azure_native/securityinsights/hunt.py b/sdk/python/pulumi_azure_native/securityinsights/hunt.py index c8be71290b43..e9c36833450d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/hunt.py +++ b/sdk/python/pulumi_azure_native/securityinsights/hunt.py @@ -305,7 +305,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Hunt")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Hunt, __self__).__init__( 'azure-native:securityinsights:Hunt', diff --git a/sdk/python/pulumi_azure_native/securityinsights/hunt_comment.py b/sdk/python/pulumi_azure_native/securityinsights/hunt_comment.py index 637efc7b3306..6d64aa0d8ce5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/hunt_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/hunt_comment.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntComment, __self__).__init__( 'azure-native:securityinsights:HuntComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/hunt_relation.py b/sdk/python/pulumi_azure_native/securityinsights/hunt_relation.py index 8468617bc2eb..9465e875104c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/hunt_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/hunt_relation.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["relation_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntRelation, __self__).__init__( 'azure-native:securityinsights:HuntRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/incident.py b/sdk/python/pulumi_azure_native/securityinsights/incident.py index c406e8236f63..e891c62fd412 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/incident.py @@ -366,7 +366,7 @@ def _internal_init(__self__, __props__.__dict__["related_analytic_rule_ids"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/incident_comment.py index d662b0312ad2..df6d6da76876 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/incident_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/incident_comment.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentComment, __self__).__init__( 'azure-native:securityinsights:IncidentComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/incident_relation.py index a86a8a07bd5e..1cece2de036c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/incident_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/incident_relation.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentRelation, __self__).__init__( 'azure-native:securityinsights:IncidentRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/incident_task.py b/sdk/python/pulumi_azure_native/securityinsights/incident_task.py index 8f32d91309e9..1a68a7cf6700 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/incident_task.py +++ b/sdk/python/pulumi_azure_native/securityinsights/incident_task.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentTask")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentTask, __self__).__init__( 'azure-native:securityinsights:IncidentTask', diff --git a/sdk/python/pulumi_azure_native/securityinsights/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/mcas_data_connector.py index 908ff12ddc5f..69ffab9768fd 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/mcas_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/mcas_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MCASDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MCASDataConnector, __self__).__init__( 'azure-native:securityinsights:MCASDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/mdatp_data_connector.py index a3360cbc1465..322cce072e2d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/mdatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/mdatp_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MDATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MDATPDataConnector, __self__).__init__( 'azure-native:securityinsights:MDATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/metadata.py index d2ef29381616..a146acdaa05c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/metadata.py @@ -517,7 +517,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/microsoft_security_incident_creation_alert_rule.py index 332573a93571..318e36a67c6f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/microsoft_security_incident_creation_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/microsoft_security_incident_creation_alert_rule.py @@ -322,7 +322,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftSecurityIncidentCreationAlertRule, __self__).__init__( 'azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/office_data_connector.py index 07a0ae657c1a..8ffe50a5bbf5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/office_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/office_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeDataConnector, __self__).__init__( 'azure-native:securityinsights:OfficeDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/scheduled_alert_rule.py index 3bf769da1436..1b3c212b75ea 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/scheduled_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/scheduled_alert_rule.py @@ -570,7 +570,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ScheduledAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScheduledAlertRule, __self__).__init__( 'azure-native:securityinsights:ScheduledAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/sentinel_onboarding_state.py index 5697fd83cc5f..8ea139a8dc71 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/sentinel_onboarding_state.py +++ b/sdk/python/pulumi_azure_native/securityinsights/sentinel_onboarding_state.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:SentinelOnboardingState")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SentinelOnboardingState, __self__).__init__( 'azure-native:securityinsights:SentinelOnboardingState', diff --git a/sdk/python/pulumi_azure_native/securityinsights/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/threat_intelligence_indicator.py index 8deea2675c89..81292a1ef512 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/threat_intelligence_indicator.py @@ -717,7 +717,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/ti_data_connector.py index 6da0a0fb22a6..177a8bcb223b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/ti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/ti_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TIDataConnector, __self__).__init__( 'azure-native:securityinsights:TIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/ueba.py b/sdk/python/pulumi_azure_native/securityinsights/ueba.py index 67c6d2944736..c76a0491d44b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/ueba.py +++ b/sdk/python/pulumi_azure_native/securityinsights/ueba.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Ueba")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ueba, __self__).__init__( 'azure-native:securityinsights:Ueba', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/automation_rule.py index 9cc89a1a3e90..c9c60a306108 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/automation_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/automation_rule.py @@ -241,7 +241,7 @@ def _internal_init(__self__, __props__.__dict__["last_modified_time_utc"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AutomationRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AutomationRule, __self__).__init__( 'azure-native:securityinsights/v20190101preview:AutomationRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark.py index d5a89e2bd5ba..fc91f35fa255 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark.py @@ -415,7 +415,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Bookmark")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bookmark, __self__).__init__( 'azure-native:securityinsights/v20190101preview:Bookmark', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark_relation.py index c7ccadc3b4d5..db5bb03eaabc 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/bookmark_relation.py @@ -195,7 +195,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_name"] = None __props__.__dict__["related_resource_type"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:BookmarkRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BookmarkRelation, __self__).__init__( 'azure-native:securityinsights/v20190101preview:BookmarkRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/ip_syncer.py b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/ip_syncer.py index 26413460fca5..cbf91df49837 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/ip_syncer.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/ip_syncer.py @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["is_enabled"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IPSyncer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IPSyncer"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IPSyncer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IPSyncer, __self__).__init__( 'azure-native:securityinsights/v20190101preview:IPSyncer', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/watchlist.py index ba2aeb89f9a0..a6beb06fcab6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20190101preview/watchlist.py @@ -536,7 +536,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20190101preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aad_data_connector.py index fcfb54f3d9b1..7e803b5f20ed 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aad_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aad_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AADDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AADDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:AADDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aatp_data_connector.py index 7891f61613b4..5c971538d89d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aatp_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:AATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/action.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/action.py index 53b89c789a1a..97c1763bcb9c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/action.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/action.py @@ -216,7 +216,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workflow_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Action, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Action', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/activity_custom_entity_query.py index a24d6fcbbeaf..ee3e8ec6805f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/activity_custom_entity_query.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/activity_custom_entity_query.py @@ -360,7 +360,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ActivityCustomEntityQuery, __self__).__init__( 'azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/anomalies.py index 3d88c6f31389..91d7e772ecc6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/anomalies.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/anomalies.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Anomalies")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Anomalies, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Anomalies', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/asc_data_connector.py index 582392ddedfa..4d4882d66d63 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/asc_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/asc_data_connector.py @@ -218,7 +218,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ASCDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ASCDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:ASCDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aws_cloud_trail_data_connector.py index cc8166e98b45..b75e30f75adb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aws_cloud_trail_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/aws_cloud_trail_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsCloudTrailDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/codeless_ui_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/codeless_ui_data_connector.py index e19e8a2a19b0..10f028979be8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/codeless_ui_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/codeless_ui_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessUiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessUiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:CodelessUiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/dynamics365_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/dynamics365_data_connector.py index a9c12818a5a8..cb1e438a6a18 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/dynamics365_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/dynamics365_data_connector.py @@ -220,7 +220,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Dynamics365DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Dynamics365DataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Dynamics365DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/entity_analytics.py index aac41b0ab34c..3b0d1babd1e5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/entity_analytics.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/entity_analytics.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EntityAnalytics")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EntityAnalytics, __self__).__init__( 'azure-native:securityinsights/v20210301preview:EntityAnalytics', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/eyes_on.py index 22113be3c181..6531e8c8b167 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/eyes_on.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/eyes_on.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EyesOn")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EyesOn, __self__).__init__( 'azure-native:securityinsights/v20210301preview:EyesOn', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/fusion_alert_rule.py index 207eb8b65676..3fb898b35450 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/fusion_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/fusion_alert_rule.py @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["tactics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FusionAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FusionAlertRule, __self__).__init__( 'azure-native:securityinsights/v20210301preview:FusionAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident.py index 92197e3117a5..e4f7a1befb63 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident.py @@ -424,7 +424,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["team_information"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_comment.py index 22eb25f9d61b..a13d151a7143 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_comment.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentComment, __self__).__init__( 'azure-native:securityinsights/v20210301preview:IncidentComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_relation.py index 52fb3b4552d6..2e03380c47d7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/incident_relation.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentRelation, __self__).__init__( 'azure-native:securityinsights/v20210301preview:IncidentRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mcas_data_connector.py index 5521f5cfeb52..f9dbe6677517 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mcas_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mcas_data_connector.py @@ -220,7 +220,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MCASDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MCASDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:MCASDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mdatp_data_connector.py index 6134900887d8..099fc34f9cb1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mdatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mdatp_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MDATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MDATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:MDATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/metadata.py index 041caab6b02b..e575ab748937 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/metadata.py @@ -396,7 +396,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/microsoft_security_incident_creation_alert_rule.py index 7ea4b3390ac9..15c42d567ab0 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/microsoft_security_incident_creation_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/microsoft_security_incident_creation_alert_rule.py @@ -341,7 +341,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftSecurityIncidentCreationAlertRule, __self__).__init__( 'azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ml_behavior_analytics_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ml_behavior_analytics_alert_rule.py index c58c9e2257a6..caee10a14323 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ml_behavior_analytics_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ml_behavior_analytics_alert_rule.py @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["tactics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MLBehaviorAnalyticsAlertRule, __self__).__init__( 'azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/msti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/msti_data_connector.py index 34fc417560a6..b393615f75d5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/msti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/msti_data_connector.py @@ -220,7 +220,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MSTIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSTIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:MSTIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mtp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mtp_data_connector.py index 4ebaf16261a1..80ea09fe5010 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mtp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/mtp_data_connector.py @@ -220,7 +220,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MTPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MTPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:MTPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_atp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_atp_data_connector.py index 37a02172b8bd..cbde5bf6f905 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_atp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_atp_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:OfficeATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_data_connector.py index 349d9ab2d46b..8d81946c57a2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/office_data_connector.py @@ -220,7 +220,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:OfficeDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/scheduled_alert_rule.py index 6e193ae88606..d610edee1159 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/scheduled_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/scheduled_alert_rule.py @@ -549,7 +549,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ScheduledAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScheduledAlertRule, __self__).__init__( 'azure-native:securityinsights/v20210301preview:ScheduledAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/sentinel_onboarding_state.py index 4ab1ba14ceef..5c5b18715a2c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/sentinel_onboarding_state.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/sentinel_onboarding_state.py @@ -172,7 +172,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:SentinelOnboardingState")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SentinelOnboardingState, __self__).__init__( 'azure-native:securityinsights/v20210301preview:SentinelOnboardingState', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/threat_intelligence_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/threat_intelligence_alert_rule.py index 45f1fbb41760..2ec6c6467595 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/threat_intelligence_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/threat_intelligence_alert_rule.py @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["tactics"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceAlertRule, __self__).__init__( 'azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_data_connector.py index de546abd543e..49457550dca8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_data_connector.py @@ -240,7 +240,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:TIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_taxii_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_taxii_data_connector.py index 3298b0a34358..3c0203a918eb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_taxii_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ti_taxii_data_connector.py @@ -381,7 +381,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TiTaxiiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ueba.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ueba.py index fdfdb088fa1f..b426b90fa481 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ueba.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/ueba.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Ueba")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ueba, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Ueba', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/watchlist.py index ce2f7e0924f2..79246fe475f6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/watchlist.py @@ -558,7 +558,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20210301preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210401/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20210401/threat_intelligence_indicator.py index 5db3f0545816..5203fd7647fd 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210401/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210401/threat_intelligence_indicator.py @@ -734,7 +734,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist.py index 8d3cc617d9de..db139444b0d4 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist.py @@ -544,7 +544,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20210401:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist_item.py index 330072cd3ba2..fec54c08c2a5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist_item.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210401/watchlist_item.py @@ -355,7 +355,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WatchlistItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WatchlistItem, __self__).__init__( 'azure-native:securityinsights/v20210401:WatchlistItem', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20210901preview/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20210901preview/threat_intelligence_indicator.py index d0a01a18fe24..4458be972f3a 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20210901preview/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20210901preview/threat_intelligence_indicator.py @@ -713,7 +713,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/fusion_alert_rule.py index 3b0336066a6c..43030c0b91f7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/fusion_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/fusion_alert_rule.py @@ -246,7 +246,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FusionAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FusionAlertRule, __self__).__init__( 'azure-native:securityinsights/v20211001preview:FusionAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/nrt_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/nrt_alert_rule.py index 92211043228f..693dad14898d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/nrt_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/nrt_alert_rule.py @@ -462,7 +462,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:NrtAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NrtAlertRule, __self__).__init__( 'azure-native:securityinsights/v20211001preview:NrtAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/watchlist.py index 0e073f530157..0a87a5c51468 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20211001preview/watchlist.py @@ -537,7 +537,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20211001preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/entity_analytics.py index ababaa81f434..24d631df0ccb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/entity_analytics.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/entity_analytics.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EntityAnalytics")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EntityAnalytics, __self__).__init__( 'azure-native:securityinsights/v20220101preview:EntityAnalytics', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/watchlist.py index c806c9cfdbc4..20535ab0544e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20220101preview/watchlist.py @@ -557,7 +557,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20220101preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/aad_data_connector.py index dfd492153c9f..045a071dbfd2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/aad_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/aad_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AADDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AADDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:AADDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/aatp_data_connector.py index 44df264b7d2c..3f5653b87a45 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/aatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/aatp_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:AATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/action.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/action.py index 91f3cbc62bad..4eb4cbe4fa89 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/action.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/action.py @@ -195,7 +195,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workflow_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Action, __self__).__init__( 'azure-native:securityinsights/v20230201:Action', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/automation_rule.py index 92b378f7812b..8c7046d266cf 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/automation_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/automation_rule.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AutomationRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AutomationRule, __self__).__init__( 'azure-native:securityinsights/v20230201:AutomationRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/aws_cloud_trail_data_connector.py index 0658946be8a5..f7cc0c97a9a5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/aws_cloud_trail_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/aws_cloud_trail_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsCloudTrailDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/bookmark.py index 5dc9ea2b1802..609c97ce59d1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/bookmark.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/bookmark.py @@ -395,7 +395,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Bookmark")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bookmark, __self__).__init__( 'azure-native:securityinsights/v20230201:Bookmark', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident.py index aa79d1ac3e00..fea00ee71cec 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident.py @@ -364,7 +364,7 @@ def _internal_init(__self__, __props__.__dict__["related_analytic_rule_ids"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20230201:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_comment.py index 89959bf21d68..68741222d536 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_comment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentComment, __self__).__init__( 'azure-native:securityinsights/v20230201:IncidentComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_relation.py index d28f51130e91..2f09a04c7361 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/incident_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentRelation, __self__).__init__( 'azure-native:securityinsights/v20230201:IncidentRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/mcas_data_connector.py index 3c47f9a2d668..83a5dcfaee17 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/mcas_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/mcas_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MCASDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MCASDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:MCASDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/mdatp_data_connector.py index edef86767905..b7959f93c2e9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/mdatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/mdatp_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MDATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MDATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:MDATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/metadata.py index 626c9b440265..2876494339e1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/metadata.py @@ -515,7 +515,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights/v20230201:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/office_data_connector.py index 59408d1a6e55..622a77e03ab7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/office_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/office_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:OfficeDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/sentinel_onboarding_state.py index 53aa8042e759..50b3c62ff103 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/sentinel_onboarding_state.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/sentinel_onboarding_state.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:SentinelOnboardingState")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SentinelOnboardingState, __self__).__init__( 'azure-native:securityinsights/v20230201:SentinelOnboardingState', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/threat_intelligence_indicator.py index ee1543b55272..1b311de44961 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/threat_intelligence_indicator.py @@ -715,7 +715,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/ti_data_connector.py index 072178bbe16a..51f1f9600220 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/ti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/ti_data_connector.py @@ -217,7 +217,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230201:TIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist.py index f5cb0e482c63..c8ff2c0e8f82 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist.py @@ -523,7 +523,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20230201:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist_item.py index 75baf3e66e07..f908a0e56e68 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist_item.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201/watchlist_item.py @@ -334,7 +334,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WatchlistItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WatchlistItem, __self__).__init__( 'azure-native:securityinsights/v20230201:WatchlistItem', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/incident.py index 8c9c8164b056..c7b23c7a3cd9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/incident.py @@ -401,7 +401,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["team_information"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20230201preview:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/metadata.py index 40f3893ddf78..72c2f32ecac9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230201preview/metadata.py @@ -515,7 +515,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights/v20230201preview:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230301preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230301preview/incident.py index 9a9780aefb32..07a0101e6933 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230301preview/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230301preview/incident.py @@ -382,7 +382,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["team_information"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20230301preview:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aad_data_connector.py index ad34efa1a298..b7dede6ce51f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aad_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aad_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AADDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AADDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:AADDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aatp_data_connector.py index 055476cf9559..dc02e9fa4a2e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aatp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:AATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/action.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/action.py index f0c67a2f9627..5b7874a0b813 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/action.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/action.py @@ -195,7 +195,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workflow_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Action, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Action', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/activity_custom_entity_query.py index 1d7c2c167bc1..2a99209e9365 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/activity_custom_entity_query.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/activity_custom_entity_query.py @@ -339,7 +339,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ActivityCustomEntityQuery, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomalies.py index fa55d123d652..fd381bf167ef 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomalies.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomalies.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Anomalies")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Anomalies, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Anomalies', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomaly_security_ml_analytics_settings.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomaly_security_ml_analytics_settings.py index fa6b87305af8..9756383eee40 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomaly_security_ml_analytics_settings.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/anomaly_security_ml_analytics_settings.py @@ -424,7 +424,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AnomalySecurityMLAnalyticsSettings, __self__).__init__( 'azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/asc_data_connector.py index 1c838971db9f..2d5c89cbf367 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/asc_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/asc_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ASCDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ASCDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ASCDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/automation_rule.py index 55aa613574b3..4a5db81e831a 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/automation_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/automation_rule.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AutomationRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AutomationRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:AutomationRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_cloud_trail_data_connector.py index f4af316694ce..46fa94223c0c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_cloud_trail_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_cloud_trail_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsCloudTrailDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_s3_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_s3_data_connector.py index 5031cf0ebd0b..bb939c0570f4 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_s3_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/aws_s3_data_connector.py @@ -241,7 +241,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsS3DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsS3DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsS3DataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:AwsS3DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark.py index 1569b814730d..f20e08dc4011 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark.py @@ -455,7 +455,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Bookmark")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bookmark, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Bookmark', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark_relation.py index 67f4a7de5937..e7f3ea12453f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/bookmark_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:BookmarkRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BookmarkRelation, __self__).__init__( 'azure-native:securityinsights/v20230601preview:BookmarkRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_api_polling_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_api_polling_data_connector.py index ec3303b626fd..9dc312903a02 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_api_polling_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_api_polling_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessApiPollingDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_ui_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_ui_data_connector.py index 1c8d7f77fe51..12fa39e0b61f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_ui_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/codeless_ui_data_connector.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessUiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessUiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:CodelessUiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_package.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_package.py index 040bd8f793c7..b848c39163ea 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_package.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_package.py @@ -557,7 +557,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentPackage, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ContentPackage', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_template.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_template.py index 1f5e0b415c7f..1aca17ed3446 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_template.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/content_template.py @@ -599,7 +599,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentTemplate, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ContentTemplate', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/dynamics365_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/dynamics365_data_connector.py index 66d0e6752399..1e2fbef967af 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/dynamics365_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/dynamics365_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Dynamics365DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Dynamics365DataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Dynamics365DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/entity_analytics.py index 6c8a2c523f33..7bb6d2ad5462 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/entity_analytics.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/entity_analytics.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EntityAnalytics")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EntityAnalytics, __self__).__init__( 'azure-native:securityinsights/v20230601preview:EntityAnalytics', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/eyes_on.py index 87573e8286dc..4c73a0e969cf 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/eyes_on.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/eyes_on.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EyesOn")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EyesOn, __self__).__init__( 'azure-native:securityinsights/v20230601preview:EyesOn', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/file_import.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/file_import.py index eb0eb6e79dea..d18199587321 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/file_import.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/file_import.py @@ -225,7 +225,7 @@ def _internal_init(__self__, __props__.__dict__["total_record_count"] = None __props__.__dict__["type"] = None __props__.__dict__["valid_record_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FileImport")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FileImport, __self__).__init__( 'azure-native:securityinsights/v20230601preview:FileImport', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/fusion_alert_rule.py index 7a4d3e9c48d8..dde1f0a764bc 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/fusion_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/fusion_alert_rule.py @@ -245,7 +245,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FusionAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FusionAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:FusionAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/gcp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/gcp_data_connector.py index 142ff59d03d7..2e4adc715a5f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/gcp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/gcp_data_connector.py @@ -239,7 +239,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:GCPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:GCPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GCPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:GCPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/get_workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/get_workspace_manager_member.py index c0e33703a292..fa7cf5efab61 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/get_workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/get_workspace_manager_member.py @@ -22,7 +22,7 @@ class GetWorkspaceManagerMemberResult: """ The workspace manager member """ - def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_id=None, target_workspace_tenant_id=None, type=None): + def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_resource_id=None, target_workspace_tenant_id=None, type=None): if etag and not isinstance(etag, str): raise TypeError("Expected argument 'etag' to be a str") pulumi.set(__self__, "etag", etag) @@ -35,9 +35,9 @@ def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_w if system_data and not isinstance(system_data, dict): raise TypeError("Expected argument 'system_data' to be a dict") pulumi.set(__self__, "system_data", system_data) - if target_workspace_id and not isinstance(target_workspace_id, str): - raise TypeError("Expected argument 'target_workspace_id' to be a str") - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + if target_workspace_resource_id and not isinstance(target_workspace_resource_id, str): + raise TypeError("Expected argument 'target_workspace_resource_id' to be a str") + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) if target_workspace_tenant_id and not isinstance(target_workspace_tenant_id, str): raise TypeError("Expected argument 'target_workspace_tenant_id' to be a str") pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) @@ -78,12 +78,12 @@ def system_data(self) -> 'outputs.SystemDataResponse': return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> str: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> str: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -112,7 +112,7 @@ def __await__(self): id=self.id, name=self.name, system_data=self.system_data, - target_workspace_id=self.target_workspace_id, + target_workspace_resource_id=self.target_workspace_resource_id, target_workspace_tenant_id=self.target_workspace_tenant_id, type=self.type) @@ -141,7 +141,7 @@ def get_workspace_manager_member(resource_group_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), system_data=pulumi.get(__ret__, 'system_data'), - target_workspace_id=pulumi.get(__ret__, 'target_workspace_id'), + target_workspace_resource_id=pulumi.get(__ret__, 'target_workspace_resource_id'), target_workspace_tenant_id=pulumi.get(__ret__, 'target_workspace_tenant_id'), type=pulumi.get(__ret__, 'type')) diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt.py index 0df2574bd405..dd1974c6267d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt.py @@ -303,7 +303,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Hunt")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Hunt, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Hunt', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_comment.py index fa9a9d3227a7..b2f535af36ce 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_comment.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntComment, __self__).__init__( 'azure-native:securityinsights/v20230601preview:HuntComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_relation.py index 0bca45946cfe..d4c08d90b5cb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/hunt_relation.py @@ -196,7 +196,7 @@ def _internal_init(__self__, __props__.__dict__["relation_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntRelation, __self__).__init__( 'azure-native:securityinsights/v20230601preview:HuntRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident.py index 646066671c81..bf0dbd80b0ef 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident.py @@ -363,7 +363,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["team_information"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_comment.py index c532bca9b085..9d5f29410fd4 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_comment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentComment, __self__).__init__( 'azure-native:securityinsights/v20230601preview:IncidentComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_relation.py index eded2de92752..12ef7ebe68fd 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentRelation, __self__).__init__( 'azure-native:securityinsights/v20230601preview:IncidentRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_task.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_task.py index 79f0d914a8ba..38dc8b70e96c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_task.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/incident_task.py @@ -251,7 +251,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentTask")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentTask, __self__).__init__( 'azure-native:securityinsights/v20230601preview:IncidentTask', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/io_t_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/io_t_data_connector.py index c40ba6b33391..e8167da6d730 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/io_t_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/io_t_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IoTDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IoTDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IoTDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:IoTDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mcas_data_connector.py index b667c9561848..ece9c5ac538c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mcas_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mcas_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MCASDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MCASDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MCASDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mdatp_data_connector.py index 53642a1cd793..ff447b26477f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mdatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mdatp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MDATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MDATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MDATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/metadata.py index b6f5bca36481..b0c16130b59f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/metadata.py @@ -515,7 +515,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_purview_information_protection_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_purview_information_protection_data_connector.py index 84075444e66e..ccf843b418e9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_purview_information_protection_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_purview_information_protection_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftPurviewInformationProtectionDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_security_incident_creation_alert_rule.py index ffd24518fd81..f97e0ebc78b7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_security_incident_creation_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/microsoft_security_incident_creation_alert_rule.py @@ -320,7 +320,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftSecurityIncidentCreationAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ml_behavior_analytics_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ml_behavior_analytics_alert_rule.py index 981177052620..73a8c6bff7b5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ml_behavior_analytics_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ml_behavior_analytics_alert_rule.py @@ -203,7 +203,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MLBehaviorAnalyticsAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/msti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/msti_data_connector.py index 8e21a93e37d2..11407410e90c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/msti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/msti_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MSTIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSTIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MSTIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mtp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mtp_data_connector.py index b905059e0815..ae8c32e12540 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mtp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/mtp_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MTPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MTPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:MTPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/nrt_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/nrt_alert_rule.py index c8372226f11c..525b6552badf 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/nrt_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/nrt_alert_rule.py @@ -504,7 +504,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:NrtAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NrtAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:NrtAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office365_project_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office365_project_data_connector.py index 934c9bd5d454..0352e60255c5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office365_project_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office365_project_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Office365ProjectDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_atp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_atp_data_connector.py index 09773376f003..bd6be9e43c86 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_atp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_atp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:OfficeATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_data_connector.py index 98178026e1e8..c1ed464e3973 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:OfficeDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_irm_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_irm_data_connector.py index a7883840e2a9..c34369ebcc52 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_irm_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_irm_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeIRMDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_power_bi_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_power_bi_data_connector.py index c6f995a7e74b..15c1cbbcbcfa 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_power_bi_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/office_power_bi_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficePowerBIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/scheduled_alert_rule.py index 01fefa2dfe2c..ad7b8832f7c9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/scheduled_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/scheduled_alert_rule.py @@ -588,7 +588,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ScheduledAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScheduledAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ScheduledAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/sentinel_onboarding_state.py index 886c3418cd4c..3aea49643708 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/sentinel_onboarding_state.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/sentinel_onboarding_state.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:SentinelOnboardingState")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SentinelOnboardingState, __self__).__init__( 'azure-native:securityinsights/v20230601preview:SentinelOnboardingState', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_alert_rule.py index bbec895626f5..835c3bcb8c19 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_alert_rule.py @@ -203,7 +203,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_indicator.py index 46153df52cba..da3c8df582ca 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/threat_intelligence_indicator.py @@ -715,7 +715,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_data_connector.py index 35e391419254..924d56cf755e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:TIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_taxii_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_taxii_data_connector.py index 0b1244edc71e..b549c62615f6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_taxii_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ti_taxii_data_connector.py @@ -360,7 +360,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TiTaxiiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ueba.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ueba.py index 68d45ba5ac68..bb426cd7c3ef 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ueba.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/ueba.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Ueba")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ueba, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Ueba', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist.py index d7191877f296..1f994ec5b218 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist.py @@ -536,7 +536,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20230601preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist_item.py index d999227d5872..c580feb93b99 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist_item.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/watchlist_item.py @@ -334,7 +334,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WatchlistItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WatchlistItem, __self__).__init__( 'azure-native:securityinsights/v20230601preview:WatchlistItem', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_assignment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_assignment.py index c8e7c96c3755..424927f972a6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_assignment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_assignment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerAssignment, __self__).__init__( 'azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_configuration.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_configuration.py index bdab1a9fcd3a..94b839634ffb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_configuration.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_configuration.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerConfiguration, __self__).__init__( 'azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_group.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_group.py index 1fc92ef9733c..0e6885fae596 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_group.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_group.py @@ -193,7 +193,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerGroup, __self__).__init__( 'azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_member.py index 6536a8ae7ab0..a2491b80aa46 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230601preview/workspace_manager_member.py @@ -16,20 +16,20 @@ class WorkspaceManagerMemberArgs: def __init__(__self__, *, resource_group_name: pulumi.Input[str], - target_workspace_id: pulumi.Input[str], + target_workspace_resource_id: pulumi.Input[str], target_workspace_tenant_id: pulumi.Input[str], workspace_name: pulumi.Input[str], workspace_manager_member_name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a WorkspaceManagerMember resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_name: The name of the workspace. :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member """ pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) pulumi.set(__self__, "workspace_name", workspace_name) if workspace_manager_member_name is not None: @@ -48,16 +48,16 @@ def resource_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "resource_group_name", value) @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Input[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") - @target_workspace_id.setter - def target_workspace_id(self, value: pulumi.Input[str]): - pulumi.set(self, "target_workspace_id", value) + @target_workspace_resource_id.setter + def target_workspace_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_workspace_resource_id", value) @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -102,7 +102,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -113,7 +113,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member :param pulumi.Input[str] workspace_name: The name of the workspace. @@ -143,7 +143,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -159,9 +159,9 @@ 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 - if target_workspace_id is None and not opts.urn: - raise TypeError("Missing required property 'target_workspace_id'") - __props__.__dict__["target_workspace_id"] = target_workspace_id + if target_workspace_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'target_workspace_resource_id'") + __props__.__dict__["target_workspace_resource_id"] = target_workspace_resource_id if target_workspace_tenant_id is None and not opts.urn: raise TypeError("Missing required property 'target_workspace_tenant_id'") __props__.__dict__["target_workspace_tenant_id"] = target_workspace_tenant_id @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerMember, __self__).__init__( 'azure-native:securityinsights/v20230601preview:WorkspaceManagerMember', @@ -200,7 +200,7 @@ def get(resource_name: str, __props__.__dict__["etag"] = None __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None - __props__.__dict__["target_workspace_id"] = None + __props__.__dict__["target_workspace_resource_id"] = None __props__.__dict__["target_workspace_tenant_id"] = None __props__.__dict__["type"] = None return WorkspaceManagerMember(resource_name, opts=opts, __props__=__props__) @@ -230,12 +230,12 @@ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Output[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Output[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aad_data_connector.py index 5dadbac330c6..d125699d92f8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aad_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aad_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AADDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AADDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:AADDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aatp_data_connector.py index dc0ce770f2c9..e2bae747140a 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aatp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:AATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/action.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/action.py index 3cc75ed5745d..6d26573fbcab 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/action.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/action.py @@ -195,7 +195,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workflow_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Action, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Action', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/activity_custom_entity_query.py index 40156bde7516..a991427e5eed 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/activity_custom_entity_query.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/activity_custom_entity_query.py @@ -339,7 +339,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ActivityCustomEntityQuery, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomalies.py index 619e5b1a329f..f6bdf4c43a32 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomalies.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomalies.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Anomalies")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Anomalies, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Anomalies', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomaly_security_ml_analytics_settings.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomaly_security_ml_analytics_settings.py index 43c9ba88a013..9715dd769cfb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomaly_security_ml_analytics_settings.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/anomaly_security_ml_analytics_settings.py @@ -424,7 +424,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AnomalySecurityMLAnalyticsSettings, __self__).__init__( 'azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/asc_data_connector.py index 6f313be3d758..8dcc212ee6af 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/asc_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/asc_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ASCDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ASCDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ASCDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/automation_rule.py index 1bf073aa3212..486e6849f7ae 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/automation_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/automation_rule.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AutomationRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AutomationRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:AutomationRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_cloud_trail_data_connector.py index 8ead9efa32b2..474691638c03 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_cloud_trail_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_cloud_trail_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsCloudTrailDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_s3_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_s3_data_connector.py index dbb407c53629..3bf7e3b58b80 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_s3_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/aws_s3_data_connector.py @@ -241,7 +241,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsS3DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsS3DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsS3DataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:AwsS3DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark.py index 48d48a9ffb42..e773c1b231fd 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark.py @@ -455,7 +455,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Bookmark")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bookmark, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Bookmark', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark_relation.py index d64eb6337591..290609aab0e2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/bookmark_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:BookmarkRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BookmarkRelation, __self__).__init__( 'azure-native:securityinsights/v20230701preview:BookmarkRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_api_polling_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_api_polling_data_connector.py index 3229b4160faf..04a3a707b041 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_api_polling_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_api_polling_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessApiPollingDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_ui_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_ui_data_connector.py index 58abb685375f..cd8e7e1c3215 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_ui_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/codeless_ui_data_connector.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessUiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessUiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:CodelessUiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_package.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_package.py index 2c1f8ae7f141..53e64fd41e9c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_package.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_package.py @@ -578,7 +578,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentPackage, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ContentPackage', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_template.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_template.py index 15315ff5d89b..d8c40f921aa3 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_template.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/content_template.py @@ -641,7 +641,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentTemplate, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ContentTemplate', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/customizable_connector_definition.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/customizable_connector_definition.py index 5f38c036659e..7f52b8e54782 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/customizable_connector_definition.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/customizable_connector_definition.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CustomizableConnectorDefinition, __self__).__init__( 'azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/dynamics365_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/dynamics365_data_connector.py index 85960c284eb1..1a530f2c6e68 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/dynamics365_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/dynamics365_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Dynamics365DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Dynamics365DataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Dynamics365DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/entity_analytics.py index 615d6fc7172c..f596935bf098 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/entity_analytics.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/entity_analytics.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EntityAnalytics")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EntityAnalytics, __self__).__init__( 'azure-native:securityinsights/v20230701preview:EntityAnalytics', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/eyes_on.py index 5a9acdd6b86b..a8a9abdde808 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/eyes_on.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/eyes_on.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EyesOn")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EyesOn, __self__).__init__( 'azure-native:securityinsights/v20230701preview:EyesOn', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/file_import.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/file_import.py index b586f35c7885..ea6d357aa430 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/file_import.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/file_import.py @@ -225,7 +225,7 @@ def _internal_init(__self__, __props__.__dict__["total_record_count"] = None __props__.__dict__["type"] = None __props__.__dict__["valid_record_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FileImport")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FileImport, __self__).__init__( 'azure-native:securityinsights/v20230701preview:FileImport', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/fusion_alert_rule.py index eb78ac8a31db..7d740d6bcc52 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/fusion_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/fusion_alert_rule.py @@ -245,7 +245,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FusionAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FusionAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:FusionAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/gcp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/gcp_data_connector.py index e7b7ed6f5cbe..e28faba3ab9d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/gcp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/gcp_data_connector.py @@ -239,7 +239,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:GCPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:GCPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GCPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:GCPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/get_workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/get_workspace_manager_member.py index aa65668072fa..bfcaf17fac83 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/get_workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/get_workspace_manager_member.py @@ -22,7 +22,7 @@ class GetWorkspaceManagerMemberResult: """ The workspace manager member """ - def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_id=None, target_workspace_tenant_id=None, type=None): + def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_resource_id=None, target_workspace_tenant_id=None, type=None): if etag and not isinstance(etag, str): raise TypeError("Expected argument 'etag' to be a str") pulumi.set(__self__, "etag", etag) @@ -35,9 +35,9 @@ def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_w if system_data and not isinstance(system_data, dict): raise TypeError("Expected argument 'system_data' to be a dict") pulumi.set(__self__, "system_data", system_data) - if target_workspace_id and not isinstance(target_workspace_id, str): - raise TypeError("Expected argument 'target_workspace_id' to be a str") - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + if target_workspace_resource_id and not isinstance(target_workspace_resource_id, str): + raise TypeError("Expected argument 'target_workspace_resource_id' to be a str") + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) if target_workspace_tenant_id and not isinstance(target_workspace_tenant_id, str): raise TypeError("Expected argument 'target_workspace_tenant_id' to be a str") pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) @@ -78,12 +78,12 @@ def system_data(self) -> 'outputs.SystemDataResponse': return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> str: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> str: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -112,7 +112,7 @@ def __await__(self): id=self.id, name=self.name, system_data=self.system_data, - target_workspace_id=self.target_workspace_id, + target_workspace_resource_id=self.target_workspace_resource_id, target_workspace_tenant_id=self.target_workspace_tenant_id, type=self.type) @@ -141,7 +141,7 @@ def get_workspace_manager_member(resource_group_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), system_data=pulumi.get(__ret__, 'system_data'), - target_workspace_id=pulumi.get(__ret__, 'target_workspace_id'), + target_workspace_resource_id=pulumi.get(__ret__, 'target_workspace_resource_id'), target_workspace_tenant_id=pulumi.get(__ret__, 'target_workspace_tenant_id'), type=pulumi.get(__ret__, 'type')) diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt.py index 1c523a67813a..9bd04f9889c3 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt.py @@ -303,7 +303,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Hunt")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Hunt, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Hunt', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_comment.py index 1dead3a8682b..7848e4dc33a8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_comment.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntComment, __self__).__init__( 'azure-native:securityinsights/v20230701preview:HuntComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_relation.py index 55b38489a55d..12ff167efd5b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/hunt_relation.py @@ -196,7 +196,7 @@ def _internal_init(__self__, __props__.__dict__["relation_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntRelation, __self__).__init__( 'azure-native:securityinsights/v20230701preview:HuntRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident.py index 3c6a6204f314..470a3b29f04b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident.py @@ -363,7 +363,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["team_information"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_comment.py index 43cef4ab8f3d..361a8b6a5807 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_comment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentComment, __self__).__init__( 'azure-native:securityinsights/v20230701preview:IncidentComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_relation.py index 361fe08780f6..d761d460e8fb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentRelation, __self__).__init__( 'azure-native:securityinsights/v20230701preview:IncidentRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_task.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_task.py index 78a87758f46d..ce50676fe52e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_task.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/incident_task.py @@ -251,7 +251,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentTask")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentTask, __self__).__init__( 'azure-native:securityinsights/v20230701preview:IncidentTask', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/io_t_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/io_t_data_connector.py index a6973f47de4f..c9dcbcd93584 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/io_t_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/io_t_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IoTDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IoTDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IoTDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:IoTDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mcas_data_connector.py index 61d8f3631a9f..9647c4460bbe 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mcas_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mcas_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MCASDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MCASDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MCASDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mdatp_data_connector.py index 35aa748d6dc9..d4a2fc620df5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mdatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mdatp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MDATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MDATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MDATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/metadata.py index 2faca5f4c939..6b2b6bb1243d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/metadata.py @@ -515,7 +515,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_purview_information_protection_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_purview_information_protection_data_connector.py index 2f696085079e..6e6cf93cdc8b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_purview_information_protection_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_purview_information_protection_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftPurviewInformationProtectionDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_security_incident_creation_alert_rule.py index ee72ec9d3a8d..6c955f71fb2c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_security_incident_creation_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/microsoft_security_incident_creation_alert_rule.py @@ -320,7 +320,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftSecurityIncidentCreationAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ml_behavior_analytics_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ml_behavior_analytics_alert_rule.py index e27d80e603f8..fc9704c59e8e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ml_behavior_analytics_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ml_behavior_analytics_alert_rule.py @@ -203,7 +203,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MLBehaviorAnalyticsAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/msti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/msti_data_connector.py index cba968ab5517..3b0c80f5ac68 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/msti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/msti_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MSTIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSTIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MSTIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mtp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mtp_data_connector.py index 645dfb5d6842..0167cbd59495 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mtp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/mtp_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MTPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MTPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:MTPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/nrt_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/nrt_alert_rule.py index faab33065088..b0517def977d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/nrt_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/nrt_alert_rule.py @@ -504,7 +504,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:NrtAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NrtAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:NrtAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office365_project_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office365_project_data_connector.py index cd43cf5eaad5..7eb3eb4c3523 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office365_project_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office365_project_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Office365ProjectDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_atp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_atp_data_connector.py index 12d805fc46dc..74a80c01764e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_atp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_atp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:OfficeATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_data_connector.py index bff0d7b68a6a..21462eb2ba8b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:OfficeDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_irm_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_irm_data_connector.py index 90734b3b0f83..46bad768ef65 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_irm_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_irm_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeIRMDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_power_bi_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_power_bi_data_connector.py index 01f8c90a0fa1..2b99e5ab0cf8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_power_bi_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/office_power_bi_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficePowerBIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/scheduled_alert_rule.py index 1307ec42dfcc..1b1181f3ba8f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/scheduled_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/scheduled_alert_rule.py @@ -588,7 +588,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ScheduledAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScheduledAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ScheduledAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/sentinel_onboarding_state.py index 3ca0d6314755..38906089dc3b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/sentinel_onboarding_state.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/sentinel_onboarding_state.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:SentinelOnboardingState")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SentinelOnboardingState, __self__).__init__( 'azure-native:securityinsights/v20230701preview:SentinelOnboardingState', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_alert_rule.py index f35553d03e87..92cd68a878e7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_alert_rule.py @@ -203,7 +203,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_indicator.py index 32cac77fef36..7bc3b4f8125e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/threat_intelligence_indicator.py @@ -715,7 +715,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_data_connector.py index 4bfd07a96464..6eadc47ca555 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:TIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_taxii_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_taxii_data_connector.py index 9dd049dda075..c254f39e410e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_taxii_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ti_taxii_data_connector.py @@ -360,7 +360,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TiTaxiiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ueba.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ueba.py index 76bb818a1c98..3b54e7af30ec 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ueba.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/ueba.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Ueba")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ueba, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Ueba', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist.py index 189e2bef6e08..dc264c647e72 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist.py @@ -536,7 +536,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20230701preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist_item.py index 4a490c8f4256..d497558407d1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist_item.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/watchlist_item.py @@ -334,7 +334,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WatchlistItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WatchlistItem, __self__).__init__( 'azure-native:securityinsights/v20230701preview:WatchlistItem', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_assignment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_assignment.py index b3d90bed0b8b..8b0c365b090a 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_assignment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_assignment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerAssignment, __self__).__init__( 'azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_configuration.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_configuration.py index 4fe6cd72fbc2..95c528b9e503 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_configuration.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_configuration.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerConfiguration, __self__).__init__( 'azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_group.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_group.py index fec2d137fd1d..0550d9358f5d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_group.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_group.py @@ -193,7 +193,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerGroup, __self__).__init__( 'azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_member.py index 3951fec764d3..178fbea962a9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230701preview/workspace_manager_member.py @@ -16,20 +16,20 @@ class WorkspaceManagerMemberArgs: def __init__(__self__, *, resource_group_name: pulumi.Input[str], - target_workspace_id: pulumi.Input[str], + target_workspace_resource_id: pulumi.Input[str], target_workspace_tenant_id: pulumi.Input[str], workspace_name: pulumi.Input[str], workspace_manager_member_name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a WorkspaceManagerMember resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_name: The name of the workspace. :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member """ pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) pulumi.set(__self__, "workspace_name", workspace_name) if workspace_manager_member_name is not None: @@ -48,16 +48,16 @@ def resource_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "resource_group_name", value) @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Input[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") - @target_workspace_id.setter - def target_workspace_id(self, value: pulumi.Input[str]): - pulumi.set(self, "target_workspace_id", value) + @target_workspace_resource_id.setter + def target_workspace_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_workspace_resource_id", value) @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -102,7 +102,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -113,7 +113,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member :param pulumi.Input[str] workspace_name: The name of the workspace. @@ -143,7 +143,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -159,9 +159,9 @@ 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 - if target_workspace_id is None and not opts.urn: - raise TypeError("Missing required property 'target_workspace_id'") - __props__.__dict__["target_workspace_id"] = target_workspace_id + if target_workspace_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'target_workspace_resource_id'") + __props__.__dict__["target_workspace_resource_id"] = target_workspace_resource_id if target_workspace_tenant_id is None and not opts.urn: raise TypeError("Missing required property 'target_workspace_tenant_id'") __props__.__dict__["target_workspace_tenant_id"] = target_workspace_tenant_id @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerMember, __self__).__init__( 'azure-native:securityinsights/v20230701preview:WorkspaceManagerMember', @@ -200,7 +200,7 @@ def get(resource_name: str, __props__.__dict__["etag"] = None __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None - __props__.__dict__["target_workspace_id"] = None + __props__.__dict__["target_workspace_resource_id"] = None __props__.__dict__["target_workspace_tenant_id"] = None __props__.__dict__["type"] = None return WorkspaceManagerMember(resource_name, opts=opts, __props__=__props__) @@ -230,12 +230,12 @@ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Output[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Output[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aad_data_connector.py index 544268c0699c..d9c2ca7066b8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aad_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aad_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AADDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AADDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:AADDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aatp_data_connector.py index 276be1446cab..10f4e158233c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aatp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:AATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/action.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/action.py index 79112a0e4806..1ff9a4386370 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/action.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/action.py @@ -195,7 +195,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["workflow_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Action, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Action', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/activity_custom_entity_query.py index 6b8c388fb98c..14fc4add54ed 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/activity_custom_entity_query.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/activity_custom_entity_query.py @@ -339,7 +339,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ActivityCustomEntityQuery, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomalies.py index a4105cd73be6..d168eef0d8c2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomalies.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomalies.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Anomalies")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Anomalies, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Anomalies', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomaly_security_ml_analytics_settings.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomaly_security_ml_analytics_settings.py index b837464f26ea..30ff7e819ee8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomaly_security_ml_analytics_settings.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/anomaly_security_ml_analytics_settings.py @@ -424,7 +424,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AnomalySecurityMLAnalyticsSettings, __self__).__init__( 'azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/asc_data_connector.py index f3b02db9abb5..cb195eeab01e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/asc_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/asc_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ASCDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ASCDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ASCDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/automation_rule.py index f8ddd724a11b..f04131308e2f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/automation_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/automation_rule.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AutomationRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AutomationRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:AutomationRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_cloud_trail_data_connector.py index 452d2f9d8cf7..0dc09bb64884 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_cloud_trail_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_cloud_trail_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsCloudTrailDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_s3_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_s3_data_connector.py index 9063f95f7760..46aea0a25338 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_s3_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/aws_s3_data_connector.py @@ -241,7 +241,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsS3DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:AwsS3DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(AwsS3DataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:AwsS3DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark.py index e3eb9f2f4a61..67a63bc0b4e1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark.py @@ -455,7 +455,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Bookmark")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Bookmark, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Bookmark', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark_relation.py index 1e15b0cdce5c..82c47e104133 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/bookmark_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:BookmarkRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(BookmarkRelation, __self__).__init__( 'azure-native:securityinsights/v20230801preview:BookmarkRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_api_polling_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_api_polling_data_connector.py index b6654067a0c1..288607573322 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_api_polling_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_api_polling_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessApiPollingDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_ui_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_ui_data_connector.py index 5852b67617d6..f5fbc1f7d254 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_ui_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/codeless_ui_data_connector.py @@ -177,7 +177,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CodelessUiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CodelessUiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:CodelessUiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_package.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_package.py index d728f857a8f5..5b275df2ee18 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_package.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_package.py @@ -578,7 +578,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentPackage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentPackage, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ContentPackage', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_template.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_template.py index 764d15d60556..c7a21721c76d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_template.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/content_template.py @@ -641,7 +641,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ContentTemplate")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ContentTemplate, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ContentTemplate', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/customizable_connector_definition.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/customizable_connector_definition.py index 52cc492e2746..669a2b4d14ef 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/customizable_connector_definition.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/customizable_connector_definition.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(CustomizableConnectorDefinition, __self__).__init__( 'azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/dynamics365_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/dynamics365_data_connector.py index f47caa25cf54..733bdc70fa66 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/dynamics365_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/dynamics365_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Dynamics365DataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Dynamics365DataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Dynamics365DataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/entity_analytics.py index d32e036f7413..77829fbd3241 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/entity_analytics.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/entity_analytics.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EntityAnalytics")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EntityAnalytics, __self__).__init__( 'azure-native:securityinsights/v20230801preview:EntityAnalytics', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/eyes_on.py index b642c1aa8dfb..a49df50dfade 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/eyes_on.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/eyes_on.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:EyesOn")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(EyesOn, __self__).__init__( 'azure-native:securityinsights/v20230801preview:EyesOn', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/file_import.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/file_import.py index 048c4df98084..18499c54172d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/file_import.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/file_import.py @@ -225,7 +225,7 @@ def _internal_init(__self__, __props__.__dict__["total_record_count"] = None __props__.__dict__["type"] = None __props__.__dict__["valid_record_count"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FileImport")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FileImport, __self__).__init__( 'azure-native:securityinsights/v20230801preview:FileImport', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/fusion_alert_rule.py index e39b2b707b70..560249a1265a 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/fusion_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/fusion_alert_rule.py @@ -245,7 +245,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:FusionAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(FusionAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:FusionAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/gcp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/gcp_data_connector.py index 4c8017012dc3..c570c7e06cc7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/gcp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/gcp_data_connector.py @@ -239,7 +239,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:GCPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:GCPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GCPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:GCPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/get_workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/get_workspace_manager_member.py index 07981a6561b5..666fc9f8bbf8 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/get_workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/get_workspace_manager_member.py @@ -22,7 +22,7 @@ class GetWorkspaceManagerMemberResult: """ The workspace manager member """ - def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_id=None, target_workspace_tenant_id=None, type=None): + def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_resource_id=None, target_workspace_tenant_id=None, type=None): if etag and not isinstance(etag, str): raise TypeError("Expected argument 'etag' to be a str") pulumi.set(__self__, "etag", etag) @@ -35,9 +35,9 @@ def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_w if system_data and not isinstance(system_data, dict): raise TypeError("Expected argument 'system_data' to be a dict") pulumi.set(__self__, "system_data", system_data) - if target_workspace_id and not isinstance(target_workspace_id, str): - raise TypeError("Expected argument 'target_workspace_id' to be a str") - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + if target_workspace_resource_id and not isinstance(target_workspace_resource_id, str): + raise TypeError("Expected argument 'target_workspace_resource_id' to be a str") + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) if target_workspace_tenant_id and not isinstance(target_workspace_tenant_id, str): raise TypeError("Expected argument 'target_workspace_tenant_id' to be a str") pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) @@ -78,12 +78,12 @@ def system_data(self) -> 'outputs.SystemDataResponse': return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> str: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> str: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -112,7 +112,7 @@ def __await__(self): id=self.id, name=self.name, system_data=self.system_data, - target_workspace_id=self.target_workspace_id, + target_workspace_resource_id=self.target_workspace_resource_id, target_workspace_tenant_id=self.target_workspace_tenant_id, type=self.type) @@ -141,7 +141,7 @@ def get_workspace_manager_member(resource_group_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), system_data=pulumi.get(__ret__, 'system_data'), - target_workspace_id=pulumi.get(__ret__, 'target_workspace_id'), + target_workspace_resource_id=pulumi.get(__ret__, 'target_workspace_resource_id'), target_workspace_tenant_id=pulumi.get(__ret__, 'target_workspace_tenant_id'), type=pulumi.get(__ret__, 'type')) diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt.py index 62f6ff269abe..378b406659ec 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt.py @@ -303,7 +303,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Hunt")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Hunt, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Hunt', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_comment.py index b59eda31fa62..c137f0316793 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_comment.py @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntComment, __self__).__init__( 'azure-native:securityinsights/v20230801preview:HuntComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_relation.py index 96d43d6aebf7..db52a8aa41cb 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/hunt_relation.py @@ -196,7 +196,7 @@ def _internal_init(__self__, __props__.__dict__["relation_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:HuntRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(HuntRelation, __self__).__init__( 'azure-native:securityinsights/v20230801preview:HuntRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident.py index ff9e7ab4e13a..e06e5752e435 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident.py @@ -363,7 +363,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["team_information"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Incident")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Incident, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Incident', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_comment.py index 79e857a9c40e..433a0c426246 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_comment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_comment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentComment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentComment, __self__).__init__( 'azure-native:securityinsights/v20230801preview:IncidentComment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_relation.py index 961676044cba..4622776f236c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_relation.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_relation.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["related_resource_type"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentRelation")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentRelation, __self__).__init__( 'azure-native:securityinsights/v20230801preview:IncidentRelation', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_task.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_task.py index a3b22e73c9a0..c5c8b36f46f2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_task.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/incident_task.py @@ -251,7 +251,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IncidentTask")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IncidentTask, __self__).__init__( 'azure-native:securityinsights/v20230801preview:IncidentTask', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/io_t_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/io_t_data_connector.py index e531932045fe..cf45b87d2224 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/io_t_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/io_t_data_connector.py @@ -197,7 +197,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IoTDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:IoTDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(IoTDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:IoTDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mcas_data_connector.py index aca028ff5c66..df35a50a45e1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mcas_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mcas_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MCASDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MCASDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MCASDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mdatp_data_connector.py index 89acc7289261..a1905d67c137 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mdatp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mdatp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MDATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MDATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MDATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/metadata.py index 93f40c294c41..a8e1b8e2fa41 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/metadata.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/metadata.py @@ -515,7 +515,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Metadata")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Metadata, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Metadata', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_purview_information_protection_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_purview_information_protection_data_connector.py index 3b2175e579da..d40c922a101d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_purview_information_protection_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_purview_information_protection_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftPurviewInformationProtectionDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_security_incident_creation_alert_rule.py index 64f00d7006ff..8ea9a5915248 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_security_incident_creation_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/microsoft_security_incident_creation_alert_rule.py @@ -320,7 +320,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MicrosoftSecurityIncidentCreationAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ml_behavior_analytics_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ml_behavior_analytics_alert_rule.py index f805f3e96325..fc2de6f95176 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ml_behavior_analytics_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ml_behavior_analytics_alert_rule.py @@ -203,7 +203,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MLBehaviorAnalyticsAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/msti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/msti_data_connector.py index d2e40c6907a2..56fe3c3ea761 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/msti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/msti_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MSTIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MSTIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MSTIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mtp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mtp_data_connector.py index 657ceb6a6c39..922726ba565f 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mtp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/mtp_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:MTPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MTPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:MTPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/nrt_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/nrt_alert_rule.py index 700481b8f38d..d920fd9f1347 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/nrt_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/nrt_alert_rule.py @@ -504,7 +504,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:NrtAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NrtAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:NrtAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office365_project_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office365_project_data_connector.py index fd4c7ee093a0..154af37614b0 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office365_project_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office365_project_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Office365ProjectDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_atp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_atp_data_connector.py index 76144e2e57df..4c4d4509abe7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_atp_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_atp_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeATPDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeATPDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:OfficeATPDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_data_connector.py index 6cef5c139b48..a9207f305c9e 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:OfficeDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_irm_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_irm_data_connector.py index 2a1257d98f50..9bfe0ece19d2 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_irm_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_irm_data_connector.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficeIRMDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_power_bi_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_power_bi_data_connector.py index 12b348c66273..7155d3d36614 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_power_bi_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/office_power_bi_data_connector.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(OfficePowerBIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/scheduled_alert_rule.py index 67bd6cc79aa9..6c97e0c2d498 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/scheduled_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/scheduled_alert_rule.py @@ -588,7 +588,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ScheduledAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ScheduledAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ScheduledAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/sentinel_onboarding_state.py index 176c983f3f02..0420bb2d9f45 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/sentinel_onboarding_state.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/sentinel_onboarding_state.py @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:SentinelOnboardingState")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SentinelOnboardingState, __self__).__init__( 'azure-native:securityinsights/v20230801preview:SentinelOnboardingState', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_alert_rule.py index f0c63b5ab1a3..110ed02135c6 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_alert_rule.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_alert_rule.py @@ -203,7 +203,7 @@ def _internal_init(__self__, __props__.__dict__["tactics"] = None __props__.__dict__["techniques"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceAlertRule, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_indicator.py index 205c89073faa..cb7aa34d780d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_indicator.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/threat_intelligence_indicator.py @@ -715,7 +715,7 @@ def _internal_init(__self__, __props__.__dict__["etag"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(ThreatIntelligenceIndicator, __self__).__init__( 'azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_data_connector.py index 03a6255440f5..ee32239955c5 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_data_connector.py @@ -219,7 +219,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TIDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TIDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:TIDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_taxii_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_taxii_data_connector.py index 4ebeb6e4a382..3f4eae83590b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_taxii_data_connector.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ti_taxii_data_connector.py @@ -360,7 +360,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(TiTaxiiDataConnector, __self__).__init__( 'azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ueba.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ueba.py index 0922f234a808..41d3894ce7ed 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ueba.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/ueba.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Ueba")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Ueba, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Ueba', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist.py index fa9cdbb7ba9d..e7b2e3987d7d 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist.py @@ -536,7 +536,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights/v20230801preview:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist_item.py index c6422d96049f..b7d4227ec0ee 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist_item.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/watchlist_item.py @@ -334,7 +334,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WatchlistItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WatchlistItem, __self__).__init__( 'azure-native:securityinsights/v20230801preview:WatchlistItem', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_assignment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_assignment.py index b5c9e9ca4063..2efa8898c2c1 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_assignment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_assignment.py @@ -176,7 +176,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerAssignment, __self__).__init__( 'azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_configuration.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_configuration.py index 6925b260c881..9aba9ede47c9 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_configuration.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_configuration.py @@ -153,7 +153,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerConfiguration, __self__).__init__( 'azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_group.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_group.py index d5014d756bb9..586ba25f6bb0 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_group.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_group.py @@ -193,7 +193,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerGroup, __self__).__init__( 'azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup', diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_member.py index 30ab3ae88519..e29f0402d21b 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230801preview/workspace_manager_member.py @@ -16,20 +16,20 @@ class WorkspaceManagerMemberArgs: def __init__(__self__, *, resource_group_name: pulumi.Input[str], - target_workspace_id: pulumi.Input[str], + target_workspace_resource_id: pulumi.Input[str], target_workspace_tenant_id: pulumi.Input[str], workspace_name: pulumi.Input[str], workspace_manager_member_name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a WorkspaceManagerMember resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_name: The name of the workspace. :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member """ pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) pulumi.set(__self__, "workspace_name", workspace_name) if workspace_manager_member_name is not None: @@ -48,16 +48,16 @@ def resource_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "resource_group_name", value) @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Input[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") - @target_workspace_id.setter - def target_workspace_id(self, value: pulumi.Input[str]): - pulumi.set(self, "target_workspace_id", value) + @target_workspace_resource_id.setter + def target_workspace_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_workspace_resource_id", value) @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -102,7 +102,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -113,7 +113,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member :param pulumi.Input[str] workspace_name: The name of the workspace. @@ -143,7 +143,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -159,9 +159,9 @@ 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 - if target_workspace_id is None and not opts.urn: - raise TypeError("Missing required property 'target_workspace_id'") - __props__.__dict__["target_workspace_id"] = target_workspace_id + if target_workspace_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'target_workspace_resource_id'") + __props__.__dict__["target_workspace_resource_id"] = target_workspace_resource_id if target_workspace_tenant_id is None and not opts.urn: raise TypeError("Missing required property 'target_workspace_tenant_id'") __props__.__dict__["target_workspace_tenant_id"] = target_workspace_tenant_id @@ -173,7 +173,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerMember, __self__).__init__( 'azure-native:securityinsights/v20230801preview:WorkspaceManagerMember', @@ -200,7 +200,7 @@ def get(resource_name: str, __props__.__dict__["etag"] = None __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None - __props__.__dict__["target_workspace_id"] = None + __props__.__dict__["target_workspace_resource_id"] = None __props__.__dict__["target_workspace_tenant_id"] = None __props__.__dict__["type"] = None return WorkspaceManagerMember(resource_name, opts=opts, __props__=__props__) @@ -230,12 +230,12 @@ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Output[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Output[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/__init__.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/__init__.py new file mode 100644 index 000000000000..f3d229d0d605 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/__init__.py @@ -0,0 +1,129 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .aad_data_connector import * +from .aatp_data_connector import * +from .action import * +from .activity_custom_entity_query import * +from .anomalies import * +from .anomaly_security_ml_analytics_settings import * +from .asc_data_connector import * +from .automation_rule import * +from .aws_cloud_trail_data_connector import * +from .aws_s3_data_connector import * +from .bookmark import * +from .bookmark_relation import * +from .codeless_api_polling_data_connector import * +from .codeless_ui_data_connector import * +from .content_package import * +from .content_template import * +from .customizable_connector_definition import * +from .dynamics365_data_connector import * +from .entity_analytics import * +from .eyes_on import * +from .file_import import * +from .fusion_alert_rule import * +from .gcp_data_connector import * +from .get_aad_data_connector import * +from .get_aatp_data_connector import * +from .get_action import * +from .get_activity_custom_entity_query import * +from .get_anomalies import * +from .get_anomaly_security_ml_analytics_settings import * +from .get_asc_data_connector import * +from .get_automation_rule import * +from .get_aws_cloud_trail_data_connector import * +from .get_aws_s3_data_connector import * +from .get_bookmark import * +from .get_bookmark_relation import * +from .get_codeless_api_polling_data_connector import * +from .get_codeless_ui_data_connector import * +from .get_content_package import * +from .get_content_template import * +from .get_customizable_connector_definition import * +from .get_dynamics365_data_connector import * +from .get_entities_get_timeline import * +from .get_entity_analytics import * +from .get_entity_insights import * +from .get_eyes_on import * +from .get_file_import import * +from .get_fusion_alert_rule import * +from .get_gcp_data_connector import * +from .get_hunt import * +from .get_hunt_comment import * +from .get_hunt_relation import * +from .get_incident import * +from .get_incident_comment import * +from .get_incident_relation import * +from .get_incident_task import * +from .get_io_t_data_connector import * +from .get_mcas_data_connector import * +from .get_mdatp_data_connector import * +from .get_metadata import * +from .get_microsoft_purview_information_protection_data_connector import * +from .get_microsoft_security_incident_creation_alert_rule import * +from .get_ml_behavior_analytics_alert_rule import * +from .get_msti_data_connector import * +from .get_mtp_data_connector import * +from .get_nrt_alert_rule import * +from .get_office365_project_data_connector import * +from .get_office_atp_data_connector import * +from .get_office_data_connector import * +from .get_office_irm_data_connector import * +from .get_office_power_bi_data_connector import * +from .get_scheduled_alert_rule import * +from .get_sentinel_onboarding_state import * +from .get_threat_intelligence_alert_rule import * +from .get_threat_intelligence_indicator import * +from .get_ti_data_connector import * +from .get_ti_taxii_data_connector import * +from .get_ueba import * +from .get_watchlist import * +from .get_watchlist_item import * +from .get_workspace_manager_assignment import * +from .get_workspace_manager_configuration import * +from .get_workspace_manager_group import * +from .get_workspace_manager_member import * +from .hunt import * +from .hunt_comment import * +from .hunt_relation import * +from .incident import * +from .incident_comment import * +from .incident_relation import * +from .incident_task import * +from .io_t_data_connector import * +from .list_source_control_repositories import * +from .mcas_data_connector import * +from .mdatp_data_connector import * +from .metadata import * +from .microsoft_purview_information_protection_data_connector import * +from .microsoft_security_incident_creation_alert_rule import * +from .ml_behavior_analytics_alert_rule import * +from .msti_data_connector import * +from .mtp_data_connector import * +from .nrt_alert_rule import * +from .office365_project_data_connector import * +from .office_atp_data_connector import * +from .office_data_connector import * +from .office_irm_data_connector import * +from .office_power_bi_data_connector import * +from .scheduled_alert_rule import * +from .sentinel_onboarding_state import * +from .threat_intelligence_alert_rule import * +from .threat_intelligence_indicator import * +from .ti_data_connector import * +from .ti_taxii_data_connector import * +from .ueba import * +from .watchlist import * +from .watchlist_item import * +from .workspace_manager_assignment import * +from .workspace_manager_configuration import * +from .workspace_manager_group import * +from .workspace_manager_member import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/_enums.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/_enums.py new file mode 100644 index 000000000000..2f10b347727e --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/_enums.py @@ -0,0 +1,1298 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'ActionType', + 'AlertDetail', + 'AlertProperty', + 'AlertRuleKind', + 'AlertSeverity', + 'AttackTactic', + 'AutomationRuleBooleanConditionSupportedOperator', + 'AutomationRulePropertyArrayChangedConditionSupportedArrayType', + 'AutomationRulePropertyArrayChangedConditionSupportedChangeType', + 'AutomationRulePropertyArrayConditionSupportedArrayConditionType', + 'AutomationRulePropertyArrayConditionSupportedArrayType', + 'AutomationRulePropertyChangedConditionSupportedChangedType', + 'AutomationRulePropertyChangedConditionSupportedPropertyType', + 'AutomationRulePropertyConditionSupportedOperator', + 'AutomationRulePropertyConditionSupportedProperty', + 'ConditionType', + 'ConnectivityType', + 'CustomEntityQueryKind', + 'DataConnectorDefinitionKind', + 'DataConnectorKind', + 'DataTypeState', + 'EntityMappingType', + 'EntityProviders', + 'EntityTimelineKind', + 'EntityType', + 'EventGroupingAggregationKind', + 'FileFormat', + 'FileImportContentType', + 'Flag', + 'HypothesisStatus', + 'IncidentClassification', + 'IncidentClassificationReason', + 'IncidentSeverity', + 'IncidentStatus', + 'IncidentTaskStatus', + 'IngestionMode', + 'Kind', + 'MatchingMethod', + 'MicrosoftSecurityProductName', + 'Mode', + 'MtpProvider', + 'Operator', + 'OwnerType', + 'PackageKind', + 'PermissionProviderScope', + 'PollingFrequency', + 'ProviderName', + 'ProviderPermissionsScope', + 'SecurityMLAnalyticsSettingsKind', + 'SettingKind', + 'SettingType', + 'SettingsStatus', + 'SourceKind', + 'SourceType', + 'Status', + 'SupportTier', + 'ThreatIntelligenceResourceInnerKind', + 'TriggerOperator', + 'TriggersOn', + 'TriggersWhen', + 'UebaDataSources', +] + + +class ActionType(str, Enum): + """ + The type of the automation rule action. + """ + MODIFY_PROPERTIES = "ModifyProperties" + """ + Modify an object's properties + """ + RUN_PLAYBOOK = "RunPlaybook" + """ + Run a playbook on an object + """ + ADD_INCIDENT_TASK = "AddIncidentTask" + """ + Add a task to an incident object + """ + + +class AlertDetail(str, Enum): + """ + Alert detail + """ + DISPLAY_NAME = "DisplayName" + """ + Alert display name + """ + SEVERITY = "Severity" + """ + Alert severity + """ + + +class AlertProperty(str, Enum): + """ + The V3 alert property + """ + ALERT_LINK = "AlertLink" + """ + Alert's link + """ + CONFIDENCE_LEVEL = "ConfidenceLevel" + """ + Confidence level property + """ + CONFIDENCE_SCORE = "ConfidenceScore" + """ + Confidence score + """ + EXTENDED_LINKS = "ExtendedLinks" + """ + Extended links to the alert + """ + PRODUCT_NAME = "ProductName" + """ + Product name alert property + """ + PROVIDER_NAME = "ProviderName" + """ + Provider name alert property + """ + PRODUCT_COMPONENT_NAME = "ProductComponentName" + """ + Product component name alert property + """ + REMEDIATION_STEPS = "RemediationSteps" + """ + Remediation steps alert property + """ + TECHNIQUES = "Techniques" + """ + Techniques alert property + """ + + +class AlertRuleKind(str, Enum): + """ + The kind of the alert rule + """ + SCHEDULED = "Scheduled" + MICROSOFT_SECURITY_INCIDENT_CREATION = "MicrosoftSecurityIncidentCreation" + FUSION = "Fusion" + ML_BEHAVIOR_ANALYTICS = "MLBehaviorAnalytics" + THREAT_INTELLIGENCE = "ThreatIntelligence" + NRT = "NRT" + + +class AlertSeverity(str, Enum): + """ + The severity for alerts created by this alert rule. + """ + HIGH = "High" + """ + High severity + """ + MEDIUM = "Medium" + """ + Medium severity + """ + LOW = "Low" + """ + Low severity + """ + INFORMATIONAL = "Informational" + """ + Informational severity + """ + + +class AttackTactic(str, Enum): + """ + The severity for alerts created by this alert rule. + """ + RECONNAISSANCE = "Reconnaissance" + RESOURCE_DEVELOPMENT = "ResourceDevelopment" + INITIAL_ACCESS = "InitialAccess" + EXECUTION = "Execution" + PERSISTENCE = "Persistence" + PRIVILEGE_ESCALATION = "PrivilegeEscalation" + DEFENSE_EVASION = "DefenseEvasion" + CREDENTIAL_ACCESS = "CredentialAccess" + DISCOVERY = "Discovery" + LATERAL_MOVEMENT = "LateralMovement" + COLLECTION = "Collection" + EXFILTRATION = "Exfiltration" + COMMAND_AND_CONTROL = "CommandAndControl" + IMPACT = "Impact" + PRE_ATTACK = "PreAttack" + IMPAIR_PROCESS_CONTROL = "ImpairProcessControl" + INHIBIT_RESPONSE_FUNCTION = "InhibitResponseFunction" + + +class AutomationRuleBooleanConditionSupportedOperator(str, Enum): + AND_ = "And" + """ + Evaluates as true if all the item conditions are evaluated as true + """ + OR_ = "Or" + """ + Evaluates as true if at least one of the item conditions are evaluated as true + """ + + +class AutomationRulePropertyArrayChangedConditionSupportedArrayType(str, Enum): + ALERTS = "Alerts" + """ + Evaluate the condition on the alerts + """ + LABELS = "Labels" + """ + Evaluate the condition on the labels + """ + TACTICS = "Tactics" + """ + Evaluate the condition on the tactics + """ + COMMENTS = "Comments" + """ + Evaluate the condition on the comments + """ + + +class AutomationRulePropertyArrayChangedConditionSupportedChangeType(str, Enum): + ADDED = "Added" + """ + Evaluate the condition on items added to the array + """ + + +class AutomationRulePropertyArrayConditionSupportedArrayConditionType(str, Enum): + ANY_ITEM = "AnyItem" + """ + Evaluate the condition as true if any item fulfills it + """ + + +class AutomationRulePropertyArrayConditionSupportedArrayType(str, Enum): + CUSTOM_DETAILS = "CustomDetails" + """ + Evaluate the condition on the custom detail keys + """ + CUSTOM_DETAIL_VALUES = "CustomDetailValues" + """ + Evaluate the condition on a custom detail's values + """ + + +class AutomationRulePropertyChangedConditionSupportedChangedType(str, Enum): + CHANGED_FROM = "ChangedFrom" + """ + Evaluate the condition on the previous value of the property + """ + CHANGED_TO = "ChangedTo" + """ + Evaluate the condition on the updated value of the property + """ + + +class AutomationRulePropertyChangedConditionSupportedPropertyType(str, Enum): + INCIDENT_SEVERITY = "IncidentSeverity" + """ + Evaluate the condition on the incident severity + """ + INCIDENT_STATUS = "IncidentStatus" + """ + Evaluate the condition on the incident status + """ + INCIDENT_OWNER = "IncidentOwner" + """ + Evaluate the condition on the incident owner + """ + + +class AutomationRulePropertyConditionSupportedOperator(str, Enum): + EQUALS = "Equals" + """ + Evaluates if the property equals at least one of the condition values + """ + NOT_EQUALS = "NotEquals" + """ + Evaluates if the property does not equal any of the condition values + """ + CONTAINS = "Contains" + """ + Evaluates if the property contains at least one of the condition values + """ + NOT_CONTAINS = "NotContains" + """ + Evaluates if the property does not contain any of the condition values + """ + STARTS_WITH = "StartsWith" + """ + Evaluates if the property starts with any of the condition values + """ + NOT_STARTS_WITH = "NotStartsWith" + """ + Evaluates if the property does not start with any of the condition values + """ + ENDS_WITH = "EndsWith" + """ + Evaluates if the property ends with any of the condition values + """ + NOT_ENDS_WITH = "NotEndsWith" + """ + Evaluates if the property does not end with any of the condition values + """ + + +class AutomationRulePropertyConditionSupportedProperty(str, Enum): + """ + The property to evaluate in an automation rule property condition. + """ + INCIDENT_TITLE = "IncidentTitle" + """ + The title of the incident + """ + INCIDENT_DESCRIPTION = "IncidentDescription" + """ + The description of the incident + """ + INCIDENT_SEVERITY = "IncidentSeverity" + """ + The severity of the incident + """ + INCIDENT_STATUS = "IncidentStatus" + """ + The status of the incident + """ + INCIDENT_RELATED_ANALYTIC_RULE_IDS = "IncidentRelatedAnalyticRuleIds" + """ + The related Analytic rule ids of the incident + """ + INCIDENT_TACTICS = "IncidentTactics" + """ + The tactics of the incident + """ + INCIDENT_LABEL = "IncidentLabel" + """ + The labels of the incident + """ + INCIDENT_PROVIDER_NAME = "IncidentProviderName" + """ + The provider name of the incident + """ + INCIDENT_UPDATED_BY_SOURCE = "IncidentUpdatedBySource" + """ + The update source of the incident + """ + INCIDENT_CUSTOM_DETAILS_KEY = "IncidentCustomDetailsKey" + """ + The incident custom detail key + """ + INCIDENT_CUSTOM_DETAILS_VALUE = "IncidentCustomDetailsValue" + """ + The incident custom detail value + """ + ACCOUNT_AAD_TENANT_ID = "AccountAadTenantId" + """ + The account Azure Active Directory tenant id + """ + ACCOUNT_AAD_USER_ID = "AccountAadUserId" + """ + The account Azure Active Directory user id + """ + ACCOUNT_NAME = "AccountName" + """ + The account name + """ + ACCOUNT_NT_DOMAIN = "AccountNTDomain" + """ + The account NetBIOS domain name + """ + ACCOUNT_PUID = "AccountPUID" + """ + The account Azure Active Directory Passport User ID + """ + ACCOUNT_SID = "AccountSid" + """ + The account security identifier + """ + ACCOUNT_OBJECT_GUID = "AccountObjectGuid" + """ + The account unique identifier + """ + ACCOUNT_UPN_SUFFIX = "AccountUPNSuffix" + """ + The account user principal name suffix + """ + ALERT_PRODUCT_NAMES = "AlertProductNames" + """ + The name of the product of the alert + """ + ALERT_ANALYTIC_RULE_IDS = "AlertAnalyticRuleIds" + """ + The analytic rule ids of the alert + """ + AZURE_RESOURCE_RESOURCE_ID = "AzureResourceResourceId" + """ + The Azure resource id + """ + AZURE_RESOURCE_SUBSCRIPTION_ID = "AzureResourceSubscriptionId" + """ + The Azure resource subscription id + """ + CLOUD_APPLICATION_APP_ID = "CloudApplicationAppId" + """ + The cloud application identifier + """ + CLOUD_APPLICATION_APP_NAME = "CloudApplicationAppName" + """ + The cloud application name + """ + DNS_DOMAIN_NAME = "DNSDomainName" + """ + The dns record domain name + """ + FILE_DIRECTORY = "FileDirectory" + """ + The file directory full path + """ + FILE_NAME = "FileName" + """ + The file name without path + """ + FILE_HASH_VALUE = "FileHashValue" + """ + The file hash value + """ + HOST_AZURE_ID = "HostAzureID" + """ + The host Azure resource id + """ + HOST_NAME = "HostName" + """ + The host name without domain + """ + HOST_NET_BIOS_NAME = "HostNetBiosName" + """ + The host NetBIOS name + """ + HOST_NT_DOMAIN = "HostNTDomain" + """ + The host NT domain + """ + HOST_OS_VERSION = "HostOSVersion" + """ + The host operating system + """ + IO_T_DEVICE_ID = "IoTDeviceId" + """ + "The IoT device id + """ + IO_T_DEVICE_NAME = "IoTDeviceName" + """ + The IoT device name + """ + IO_T_DEVICE_TYPE = "IoTDeviceType" + """ + The IoT device type + """ + IO_T_DEVICE_VENDOR = "IoTDeviceVendor" + """ + The IoT device vendor + """ + IO_T_DEVICE_MODEL = "IoTDeviceModel" + """ + The IoT device model + """ + IO_T_DEVICE_OPERATING_SYSTEM = "IoTDeviceOperatingSystem" + """ + The IoT device operating system + """ + IP_ADDRESS = "IPAddress" + """ + The IP address + """ + MAILBOX_DISPLAY_NAME = "MailboxDisplayName" + """ + The mailbox display name + """ + MAILBOX_PRIMARY_ADDRESS = "MailboxPrimaryAddress" + """ + The mailbox primary address + """ + MAILBOX_UPN = "MailboxUPN" + """ + The mailbox user principal name + """ + MAIL_MESSAGE_DELIVERY_ACTION = "MailMessageDeliveryAction" + """ + The mail message delivery action + """ + MAIL_MESSAGE_DELIVERY_LOCATION = "MailMessageDeliveryLocation" + """ + The mail message delivery location + """ + MAIL_MESSAGE_RECIPIENT = "MailMessageRecipient" + """ + The mail message recipient + """ + MAIL_MESSAGE_SENDER_IP = "MailMessageSenderIP" + """ + The mail message sender IP address + """ + MAIL_MESSAGE_SUBJECT = "MailMessageSubject" + """ + The mail message subject + """ + MAIL_MESSAGE_P1_SENDER = "MailMessageP1Sender" + """ + The mail message P1 sender + """ + MAIL_MESSAGE_P2_SENDER = "MailMessageP2Sender" + """ + The mail message P2 sender + """ + MALWARE_CATEGORY = "MalwareCategory" + """ + The malware category + """ + MALWARE_NAME = "MalwareName" + """ + The malware name + """ + PROCESS_COMMAND_LINE = "ProcessCommandLine" + """ + The process execution command line + """ + PROCESS_ID = "ProcessId" + """ + The process id + """ + REGISTRY_KEY = "RegistryKey" + """ + The registry key path + """ + REGISTRY_VALUE_DATA = "RegistryValueData" + """ + The registry key value in string formatted representation + """ + URL = "Url" + """ + The url + """ + + +class ConditionType(str, Enum): + PROPERTY = "Property" + """ + Evaluate an object property value + """ + PROPERTY_ARRAY = "PropertyArray" + """ + Evaluate an object array property value + """ + PROPERTY_CHANGED = "PropertyChanged" + """ + Evaluate an object property changed value + """ + PROPERTY_ARRAY_CHANGED = "PropertyArrayChanged" + """ + Evaluate an object array property changed value + """ + BOOLEAN = "Boolean" + """ + Apply a boolean operator (e.g AND, OR) to conditions + """ + + +class ConnectivityType(str, Enum): + """ + type of connectivity + """ + IS_CONNECTED_QUERY = "IsConnectedQuery" + + +class CustomEntityQueryKind(str, Enum): + """ + the entity query kind + """ + ACTIVITY = "Activity" + + +class DataConnectorDefinitionKind(str, Enum): + """ + The data connector kind + """ + CUSTOMIZABLE = "Customizable" + + +class DataConnectorKind(str, Enum): + """ + The data connector kind + """ + AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" + AZURE_SECURITY_CENTER = "AzureSecurityCenter" + MICROSOFT_CLOUD_APP_SECURITY = "MicrosoftCloudAppSecurity" + THREAT_INTELLIGENCE = "ThreatIntelligence" + THREAT_INTELLIGENCE_TAXII = "ThreatIntelligenceTaxii" + OFFICE365 = "Office365" + OFFICE_ATP = "OfficeATP" + OFFICE_IRM = "OfficeIRM" + OFFICE365_PROJECT = "Office365Project" + MICROSOFT_PURVIEW_INFORMATION_PROTECTION = "MicrosoftPurviewInformationProtection" + OFFICE_POWER_BI = "OfficePowerBI" + AMAZON_WEB_SERVICES_CLOUD_TRAIL = "AmazonWebServicesCloudTrail" + AMAZON_WEB_SERVICES_S3 = "AmazonWebServicesS3" + AZURE_ADVANCED_THREAT_PROTECTION = "AzureAdvancedThreatProtection" + MICROSOFT_DEFENDER_ADVANCED_THREAT_PROTECTION = "MicrosoftDefenderAdvancedThreatProtection" + DYNAMICS365 = "Dynamics365" + MICROSOFT_THREAT_PROTECTION = "MicrosoftThreatProtection" + MICROSOFT_THREAT_INTELLIGENCE = "MicrosoftThreatIntelligence" + GENERIC_UI = "GenericUI" + API_POLLING = "APIPolling" + IOT = "IOT" + GCP = "GCP" + + +class DataTypeState(str, Enum): + """ + Describe whether this data type connection is enabled or not. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" + + +class EntityMappingType(str, Enum): + """ + The V3 type of the mapped entity + """ + ACCOUNT = "Account" + """ + User account entity type + """ + HOST = "Host" + """ + Host entity type + """ + IP = "IP" + """ + IP address entity type + """ + MALWARE = "Malware" + """ + Malware entity type + """ + FILE = "File" + """ + System file entity type + """ + PROCESS = "Process" + """ + Process entity type + """ + CLOUD_APPLICATION = "CloudApplication" + """ + Cloud app entity type + """ + DNS = "DNS" + """ + DNS entity type + """ + AZURE_RESOURCE = "AzureResource" + """ + Azure resource entity type + """ + FILE_HASH = "FileHash" + """ + File-hash entity type + """ + REGISTRY_KEY = "RegistryKey" + """ + Registry key entity type + """ + REGISTRY_VALUE = "RegistryValue" + """ + Registry value entity type + """ + SECURITY_GROUP = "SecurityGroup" + """ + Security group entity type + """ + URL = "URL" + """ + URL entity type + """ + MAILBOX = "Mailbox" + """ + Mailbox entity type + """ + MAIL_CLUSTER = "MailCluster" + """ + Mail cluster entity type + """ + MAIL_MESSAGE = "MailMessage" + """ + Mail message entity type + """ + SUBMISSION_MAIL = "SubmissionMail" + """ + Submission mail entity type + """ + + +class EntityProviders(str, Enum): + """ + The entity provider that is synced. + """ + ACTIVE_DIRECTORY = "ActiveDirectory" + AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" + + +class EntityTimelineKind(str, Enum): + """ + The entity query kind + """ + ACTIVITY = "Activity" + """ + activity + """ + BOOKMARK = "Bookmark" + """ + bookmarks + """ + SECURITY_ALERT = "SecurityAlert" + """ + security alerts + """ + ANOMALY = "Anomaly" + """ + anomaly + """ + + +class EntityType(str, Enum): + """ + The type of the query's source entity + """ + ACCOUNT = "Account" + """ + Entity represents account in the system. + """ + HOST = "Host" + """ + Entity represents host in the system. + """ + FILE = "File" + """ + Entity represents file in the system. + """ + AZURE_RESOURCE = "AzureResource" + """ + Entity represents azure resource in the system. + """ + CLOUD_APPLICATION = "CloudApplication" + """ + Entity represents cloud application in the system. + """ + DNS = "DNS" + """ + Entity represents dns in the system. + """ + FILE_HASH = "FileHash" + """ + Entity represents file hash in the system. + """ + IP = "IP" + """ + Entity represents ip in the system. + """ + MALWARE = "Malware" + """ + Entity represents malware in the system. + """ + PROCESS = "Process" + """ + Entity represents process in the system. + """ + REGISTRY_KEY = "RegistryKey" + """ + Entity represents registry key in the system. + """ + REGISTRY_VALUE = "RegistryValue" + """ + Entity represents registry value in the system. + """ + SECURITY_GROUP = "SecurityGroup" + """ + Entity represents security group in the system. + """ + URL = "URL" + """ + Entity represents url in the system. + """ + IO_T_DEVICE = "IoTDevice" + """ + Entity represents IoT device in the system. + """ + SECURITY_ALERT = "SecurityAlert" + """ + Entity represents security alert in the system. + """ + HUNTING_BOOKMARK = "HuntingBookmark" + """ + Entity represents HuntingBookmark in the system. + """ + MAIL_CLUSTER = "MailCluster" + """ + Entity represents mail cluster in the system. + """ + MAIL_MESSAGE = "MailMessage" + """ + Entity represents mail message in the system. + """ + MAILBOX = "Mailbox" + """ + Entity represents mailbox in the system. + """ + SUBMISSION_MAIL = "SubmissionMail" + """ + Entity represents submission mail in the system. + """ + NIC = "Nic" + """ + Entity represents network interface in the system. + """ + + +class EventGroupingAggregationKind(str, Enum): + """ + The event grouping aggregation kinds + """ + SINGLE_ALERT = "SingleAlert" + ALERT_PER_RESULT = "AlertPerResult" + + +class FileFormat(str, Enum): + """ + The format of the file + """ + CSV = "CSV" + """ + A CSV file. + """ + JSON = "JSON" + """ + A JSON file. + """ + UNSPECIFIED = "Unspecified" + """ + A file of other format. + """ + + +class FileImportContentType(str, Enum): + """ + The content type of this file. + """ + BASIC_INDICATOR = "BasicIndicator" + """ + File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. + """ + STIX_INDICATOR = "StixIndicator" + """ + File containing STIX indicators. + """ + UNSPECIFIED = "Unspecified" + """ + File containing other records. + """ + + +class Flag(str, Enum): + """ + Flag indicates if this package is in preview. + """ + TRUE = "true" + FALSE = "false" + + +class HypothesisStatus(str, Enum): + """ + The hypothesis status of the hunt. + """ + UNKNOWN = "Unknown" + INVALIDATED = "Invalidated" + VALIDATED = "Validated" + + +class IncidentClassification(str, Enum): + """ + The reason the incident was closed + """ + UNDETERMINED = "Undetermined" + """ + Incident classification was undetermined + """ + TRUE_POSITIVE = "TruePositive" + """ + Incident was true positive + """ + BENIGN_POSITIVE = "BenignPositive" + """ + Incident was benign positive + """ + FALSE_POSITIVE = "FalsePositive" + """ + Incident was false positive + """ + + +class IncidentClassificationReason(str, Enum): + """ + The classification reason the incident was closed with + """ + SUSPICIOUS_ACTIVITY = "SuspiciousActivity" + """ + Classification reason was suspicious activity + """ + SUSPICIOUS_BUT_EXPECTED = "SuspiciousButExpected" + """ + Classification reason was suspicious but expected + """ + INCORRECT_ALERT_LOGIC = "IncorrectAlertLogic" + """ + Classification reason was incorrect alert logic + """ + INACCURATE_DATA = "InaccurateData" + """ + Classification reason was inaccurate data + """ + + +class IncidentSeverity(str, Enum): + """ + The severity of the incident + """ + HIGH = "High" + """ + High severity + """ + MEDIUM = "Medium" + """ + Medium severity + """ + LOW = "Low" + """ + Low severity + """ + INFORMATIONAL = "Informational" + """ + Informational severity + """ + + +class IncidentStatus(str, Enum): + """ + The status of the incident + """ + NEW = "New" + """ + An active incident which isn't being handled currently + """ + ACTIVE = "Active" + """ + An active incident which is being handled + """ + CLOSED = "Closed" + """ + A non-active incident + """ + + +class IncidentTaskStatus(str, Enum): + NEW = "New" + """ + A new task + """ + COMPLETED = "Completed" + """ + A completed task + """ + + +class IngestionMode(str, Enum): + """ + Describes how to ingest the records in the file. + """ + INGEST_ONLY_IF_ALL_ARE_VALID = "IngestOnlyIfAllAreValid" + """ + No records should be ingested when invalid records are detected. + """ + INGEST_ANY_VALID_RECORDS = "IngestAnyValidRecords" + """ + Valid records should still be ingested when invalid records are detected. + """ + UNSPECIFIED = "Unspecified" + """ + Unspecified + """ + + +class Kind(str, Enum): + """ + Type of the content item we depend on + """ + DATA_CONNECTOR = "DataConnector" + DATA_TYPE = "DataType" + WORKBOOK = "Workbook" + WORKBOOK_TEMPLATE = "WorkbookTemplate" + PLAYBOOK = "Playbook" + PLAYBOOK_TEMPLATE = "PlaybookTemplate" + ANALYTICS_RULE_TEMPLATE = "AnalyticsRuleTemplate" + ANALYTICS_RULE = "AnalyticsRule" + HUNTING_QUERY = "HuntingQuery" + INVESTIGATION_QUERY = "InvestigationQuery" + PARSER = "Parser" + WATCHLIST = "Watchlist" + WATCHLIST_TEMPLATE = "WatchlistTemplate" + SOLUTION = "Solution" + AZURE_FUNCTION = "AzureFunction" + LOGIC_APPS_CUSTOM_CONNECTOR = "LogicAppsCustomConnector" + AUTOMATION_RULE = "AutomationRule" + + +class MatchingMethod(str, Enum): + """ + Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + """ + ALL_ENTITIES = "AllEntities" + """ + Grouping alerts into a single incident if all the entities match + """ + ANY_ALERT = "AnyAlert" + """ + Grouping any alerts triggered by this rule into a single incident + """ + SELECTED = "Selected" + """ + Grouping alerts into a single incident if the selected entities, custom details and alert details match + """ + + +class MicrosoftSecurityProductName(str, Enum): + """ + The alerts' productName on which the cases will be generated + """ + MICROSOFT_CLOUD_APP_SECURITY = "Microsoft Cloud App Security" + AZURE_SECURITY_CENTER = "Azure Security Center" + AZURE_ADVANCED_THREAT_PROTECTION = "Azure Advanced Threat Protection" + AZURE_ACTIVE_DIRECTORY_IDENTITY_PROTECTION = "Azure Active Directory Identity Protection" + AZURE_SECURITY_CENTER_FOR_IO_T = "Azure Security Center for IoT" + OFFICE_365_ADVANCED_THREAT_PROTECTION = "Office 365 Advanced Threat Protection" + MICROSOFT_DEFENDER_ADVANCED_THREAT_PROTECTION = "Microsoft Defender Advanced Threat Protection" + + +class Mode(str, Enum): + """ + The current mode of the workspace manager configuration + """ + ENABLED = "Enabled" + """ + The workspace manager configuration is enabled + """ + DISABLED = "Disabled" + """ + The workspace manager configuration is disabled + """ + + +class MtpProvider(str, Enum): + """ + The available data providers. + """ + MICROSOFT_DEFENDER_FOR_CLOUD_APPS = "microsoftDefenderForCloudApps" + MICROSOFT_DEFENDER_FOR_IDENTITY = "microsoftDefenderForIdentity" + + +class Operator(str, Enum): + """ + Operator used for list of dependencies in criteria array. + """ + AND_ = "AND" + OR_ = "OR" + + +class OwnerType(str, Enum): + """ + The type of the owner the incident is assigned to. + """ + UNKNOWN = "Unknown" + """ + The incident owner type is unknown + """ + USER = "User" + """ + The incident owner type is an AAD user + """ + GROUP = "Group" + """ + The incident owner type is an AAD group + """ + + +class PackageKind(str, Enum): + """ + the packageKind of the package contains this template + """ + SOLUTION = "Solution" + STANDALONE = "Standalone" + + +class PermissionProviderScope(str, Enum): + """ + Permission provider scope + """ + RESOURCE_GROUP = "ResourceGroup" + SUBSCRIPTION = "Subscription" + WORKSPACE = "Workspace" + + +class PollingFrequency(str, Enum): + """ + The polling frequency for the TAXII server. + """ + ONCE_A_MINUTE = "OnceAMinute" + """ + Once a minute + """ + ONCE_AN_HOUR = "OnceAnHour" + """ + Once an hour + """ + ONCE_A_DAY = "OnceADay" + """ + Once a day + """ + + +class ProviderName(str, Enum): + """ + Provider name + """ + MICROSOFT_OPERATIONAL_INSIGHTS_SOLUTIONS = "Microsoft.OperationalInsights/solutions" + MICROSOFT_OPERATIONAL_INSIGHTS_WORKSPACES = "Microsoft.OperationalInsights/workspaces" + MICROSOFT_OPERATIONAL_INSIGHTS_WORKSPACES_DATASOURCES = "Microsoft.OperationalInsights/workspaces/datasources" + MICROSOFT_AADIAM_DIAGNOSTIC_SETTINGS = "microsoft.aadiam/diagnosticSettings" + MICROSOFT_OPERATIONAL_INSIGHTS_WORKSPACES_SHARED_KEYS = "Microsoft.OperationalInsights/workspaces/sharedKeys" + MICROSOFT_AUTHORIZATION_POLICY_ASSIGNMENTS = "Microsoft.Authorization/policyAssignments" + + +class ProviderPermissionsScope(str, Enum): + """ + The scope on which the user should have permissions, in order to be able to create connections. + """ + SUBSCRIPTION = "Subscription" + RESOURCE_GROUP = "ResourceGroup" + WORKSPACE = "Workspace" + + +class SecurityMLAnalyticsSettingsKind(str, Enum): + """ + The kind of security ML Analytics Settings + """ + ANOMALY = "Anomaly" + + +class SettingKind(str, Enum): + """ + The kind of the setting + """ + ANOMALIES = "Anomalies" + EYES_ON = "EyesOn" + ENTITY_ANALYTICS = "EntityAnalytics" + UEBA = "Ueba" + + +class SettingType(str, Enum): + """ + The kind of the setting + """ + COPYABLE_LABEL = "CopyableLabel" + INSTRUCTION_STEPS_GROUP = "InstructionStepsGroup" + INFO_MESSAGE = "InfoMessage" + + +class SettingsStatus(str, Enum): + """ + The anomaly SecurityMLAnalyticsSettings status + """ + PRODUCTION = "Production" + """ + Anomaly settings status in Production mode + """ + FLIGHTING = "Flighting" + """ + Anomaly settings status in Flighting mode + """ + + +class SourceKind(str, Enum): + """ + Source type of the content + """ + LOCAL_WORKSPACE = "LocalWorkspace" + COMMUNITY = "Community" + SOLUTION = "Solution" + SOURCE_REPOSITORY = "SourceRepository" + + +class SourceType(str, Enum): + """ + The sourceType of the watchlist + """ + LOCAL_FILE = "Local file" + REMOTE_STORAGE = "Remote storage" + + +class Status(str, Enum): + """ + The status of the hunt. + """ + NEW = "New" + ACTIVE = "Active" + CLOSED = "Closed" + BACKLOG = "Backlog" + APPROVED = "Approved" + + +class SupportTier(str, Enum): + """ + Type of support for content item + """ + MICROSOFT = "Microsoft" + PARTNER = "Partner" + COMMUNITY = "Community" + + +class ThreatIntelligenceResourceInnerKind(str, Enum): + """ + The kind of the entity. + """ + INDICATOR = "indicator" + """ + Entity represents threat intelligence indicator in the system. + """ + + +class TriggerOperator(str, Enum): + """ + The operation against the threshold that triggers alert rule. + """ + GREATER_THAN = "GreaterThan" + LESS_THAN = "LessThan" + EQUAL = "Equal" + NOT_EQUAL = "NotEqual" + + +class TriggersOn(str, Enum): + INCIDENTS = "Incidents" + """ + Trigger on Incidents + """ + ALERTS = "Alerts" + """ + Trigger on Alerts + """ + + +class TriggersWhen(str, Enum): + CREATED = "Created" + """ + Trigger on created objects + """ + UPDATED = "Updated" + """ + Trigger on updated objects + """ + + +class UebaDataSources(str, Enum): + """ + The data source that enriched by ueba. + """ + AUDIT_LOGS = "AuditLogs" + AZURE_ACTIVITY = "AzureActivity" + SECURITY_EVENT = "SecurityEvent" + SIGNIN_LOGS = "SigninLogs" diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/_inputs.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/_inputs.py new file mode 100644 index 000000000000..1abd4dd68c9b --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/_inputs.py @@ -0,0 +1,5952 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from ._enums import * + +__all__ = [ + 'ActivityEntityQueriesPropertiesQueryDefinitionsArgs', + 'AddIncidentTaskActionPropertiesArgs', + 'AlertDetailsOverrideArgs', + 'AlertPropertyMappingArgs', + 'AlertsDataTypeOfDataConnectorArgs', + 'AssignmentItemArgs', + 'AutomationRuleAddIncidentTaskActionArgs', + 'AutomationRuleBooleanConditionArgs', + 'AutomationRuleModifyPropertiesActionArgs', + 'AutomationRulePropertyArrayChangedValuesConditionArgs', + 'AutomationRulePropertyArrayValuesConditionArgs', + 'AutomationRulePropertyValuesChangedConditionArgs', + 'AutomationRulePropertyValuesConditionArgs', + 'AutomationRuleRunPlaybookActionArgs', + 'AutomationRuleTriggeringLogicArgs', + 'AvailabilityArgs', + 'AwsCloudTrailDataConnectorDataTypesLogsArgs', + 'AwsCloudTrailDataConnectorDataTypesArgs', + 'AwsS3DataConnectorDataTypesLogsArgs', + 'AwsS3DataConnectorDataTypesArgs', + 'BookmarkEntityMappingsArgs', + 'BooleanConditionPropertiesArgs', + 'ClientInfoArgs', + 'CodelessConnectorPollingAuthPropertiesArgs', + 'CodelessConnectorPollingConfigPropertiesArgs', + 'CodelessConnectorPollingPagingPropertiesArgs', + 'CodelessConnectorPollingRequestPropertiesArgs', + 'CodelessConnectorPollingResponsePropertiesArgs', + 'CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs', + 'CodelessUiConnectorConfigPropertiesDataTypesArgs', + 'CodelessUiConnectorConfigPropertiesGraphQueriesArgs', + 'CodelessUiConnectorConfigPropertiesInstructionStepsArgs', + 'CodelessUiConnectorConfigPropertiesSampleQueriesArgs', + 'CodelessUiConnectorConfigPropertiesArgs', + 'ConnectivityCriterionArgs', + 'ConnectorDataTypeArgs', + 'ConnectorDefinitionsAvailabilityArgs', + 'ConnectorDefinitionsPermissionsArgs', + 'ConnectorDefinitionsResourceProviderArgs', + 'CustomPermissionDetailsArgs', + 'CustomizableConnectionsConfigArgs', + 'CustomizableConnectorUiConfigArgs', + 'DCRConfigurationArgs', + 'DataConnectorDataTypeCommonArgs', + 'Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs', + 'Dynamics365DataConnectorDataTypesArgs', + 'EntityFieldMappingArgs', + 'EntityMappingArgs', + 'EventGroupingSettingsArgs', + 'FieldMappingArgs', + 'FileMetadataArgs', + 'FusionScenarioExclusionPatternArgs', + 'FusionSourceSettingsArgs', + 'FusionSourceSubTypeSettingArgs', + 'FusionSubTypeSeverityFiltersItemArgs', + 'FusionSubTypeSeverityFilterArgs', + 'GCPAuthPropertiesArgs', + 'GCPRequestPropertiesArgs', + 'GraphQueryArgs', + 'GroupingConfigurationArgs', + 'HuntOwnerArgs', + 'IncidentConfigurationArgs', + 'IncidentInfoArgs', + 'IncidentLabelArgs', + 'IncidentOwnerInfoArgs', + 'IncidentPropertiesActionArgs', + 'InstructionStepDetailsArgs', + 'InstructionStepsInstructionsArgs', + 'InstructionStepArgs', + 'MCASDataConnectorDataTypesArgs', + 'MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs', + 'MSTIDataConnectorDataTypesArgs', + 'MTPDataConnectorDataTypesAlertsArgs', + 'MTPDataConnectorDataTypesIncidentsArgs', + 'MTPDataConnectorDataTypesArgs', + 'MetadataAuthorArgs', + 'MetadataCategoriesArgs', + 'MetadataDependenciesArgs', + 'MetadataSourceArgs', + 'MetadataSupportArgs', + 'MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs', + 'MicrosoftPurviewInformationProtectionConnectorDataTypesArgs', + 'MtpFilteredProvidersArgs', + 'Office365ProjectConnectorDataTypesLogsArgs', + 'Office365ProjectConnectorDataTypesArgs', + 'OfficeDataConnectorDataTypesExchangeArgs', + 'OfficeDataConnectorDataTypesSharePointArgs', + 'OfficeDataConnectorDataTypesTeamsArgs', + 'OfficeDataConnectorDataTypesArgs', + 'OfficePowerBIConnectorDataTypesLogsArgs', + 'OfficePowerBIConnectorDataTypesArgs', + 'PermissionsCustomsArgs', + 'PermissionsResourceProviderArgs', + 'PermissionsArgs', + 'PlaybookActionPropertiesArgs', + 'PropertyArrayChangedConditionPropertiesArgs', + 'PropertyArrayConditionPropertiesArgs', + 'PropertyChangedConditionPropertiesArgs', + 'PropertyConditionPropertiesArgs', + 'RequiredPermissionsArgs', + 'ResourceProviderRequiredPermissionsArgs', + 'SampleQueryArgs', + 'SecurityMLAnalyticsSettingsDataSourceArgs', + 'SentinelEntityMappingArgs', + 'TIDataConnectorDataTypesIndicatorsArgs', + 'TIDataConnectorDataTypesArgs', + 'ThreatIntelligenceExternalReferenceArgs', + 'ThreatIntelligenceGranularMarkingModelArgs', + 'ThreatIntelligenceKillChainPhaseArgs', + 'ThreatIntelligenceParsedPatternTypeValueArgs', + 'ThreatIntelligenceParsedPatternArgs', + 'TiTaxiiDataConnectorDataTypesTaxiiClientArgs', + 'TiTaxiiDataConnectorDataTypesArgs', + 'UserInfoArgs', + 'WatchlistUserInfoArgs', +] + +@pulumi.input_type +class ActivityEntityQueriesPropertiesQueryDefinitionsArgs: + def __init__(__self__, *, + query: Optional[pulumi.Input[str]] = None): + """ + The Activity query definitions + :param pulumi.Input[str] query: The Activity query to run on a given entity + """ + if query is not None: + pulumi.set(__self__, "query", query) + + @property + @pulumi.getter + def query(self) -> Optional[pulumi.Input[str]]: + """ + The Activity query to run on a given entity + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query", value) + + +@pulumi.input_type +class AddIncidentTaskActionPropertiesArgs: + def __init__(__self__, *, + title: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] title: The title of the task. + :param pulumi.Input[str] description: The description of the task. + """ + pulumi.set(__self__, "title", title) + if description is not None: + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter + def title(self) -> pulumi.Input[str]: + """ + The title of the task. + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: pulumi.Input[str]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the task. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + +@pulumi.input_type +class AlertDetailsOverrideArgs: + def __init__(__self__, *, + alert_description_format: Optional[pulumi.Input[str]] = None, + alert_display_name_format: Optional[pulumi.Input[str]] = None, + alert_dynamic_properties: Optional[pulumi.Input[Sequence[pulumi.Input['AlertPropertyMappingArgs']]]] = None, + alert_severity_column_name: Optional[pulumi.Input[str]] = None, + alert_tactics_column_name: Optional[pulumi.Input[str]] = None): + """ + Settings for how to dynamically override alert static details + :param pulumi.Input[str] alert_description_format: the format containing columns name(s) to override the alert description + :param pulumi.Input[str] alert_display_name_format: the format containing columns name(s) to override the alert name + :param pulumi.Input[Sequence[pulumi.Input['AlertPropertyMappingArgs']]] alert_dynamic_properties: List of additional dynamic properties to override + :param pulumi.Input[str] alert_severity_column_name: the column name to take the alert severity from + :param pulumi.Input[str] alert_tactics_column_name: the column name to take the alert tactics from + """ + if alert_description_format is not None: + pulumi.set(__self__, "alert_description_format", alert_description_format) + if alert_display_name_format is not None: + pulumi.set(__self__, "alert_display_name_format", alert_display_name_format) + if alert_dynamic_properties is not None: + pulumi.set(__self__, "alert_dynamic_properties", alert_dynamic_properties) + if alert_severity_column_name is not None: + pulumi.set(__self__, "alert_severity_column_name", alert_severity_column_name) + if alert_tactics_column_name is not None: + pulumi.set(__self__, "alert_tactics_column_name", alert_tactics_column_name) + + @property + @pulumi.getter(name="alertDescriptionFormat") + def alert_description_format(self) -> Optional[pulumi.Input[str]]: + """ + the format containing columns name(s) to override the alert description + """ + return pulumi.get(self, "alert_description_format") + + @alert_description_format.setter + def alert_description_format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_description_format", value) + + @property + @pulumi.getter(name="alertDisplayNameFormat") + def alert_display_name_format(self) -> Optional[pulumi.Input[str]]: + """ + the format containing columns name(s) to override the alert name + """ + return pulumi.get(self, "alert_display_name_format") + + @alert_display_name_format.setter + def alert_display_name_format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_display_name_format", value) + + @property + @pulumi.getter(name="alertDynamicProperties") + def alert_dynamic_properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertPropertyMappingArgs']]]]: + """ + List of additional dynamic properties to override + """ + return pulumi.get(self, "alert_dynamic_properties") + + @alert_dynamic_properties.setter + def alert_dynamic_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertPropertyMappingArgs']]]]): + pulumi.set(self, "alert_dynamic_properties", value) + + @property + @pulumi.getter(name="alertSeverityColumnName") + def alert_severity_column_name(self) -> Optional[pulumi.Input[str]]: + """ + the column name to take the alert severity from + """ + return pulumi.get(self, "alert_severity_column_name") + + @alert_severity_column_name.setter + def alert_severity_column_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_severity_column_name", value) + + @property + @pulumi.getter(name="alertTacticsColumnName") + def alert_tactics_column_name(self) -> Optional[pulumi.Input[str]]: + """ + the column name to take the alert tactics from + """ + return pulumi.get(self, "alert_tactics_column_name") + + @alert_tactics_column_name.setter + def alert_tactics_column_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_tactics_column_name", value) + + +@pulumi.input_type +class AlertPropertyMappingArgs: + def __init__(__self__, *, + alert_property: Optional[pulumi.Input[Union[str, 'AlertProperty']]] = None, + value: Optional[pulumi.Input[str]] = None): + """ + A single alert property mapping to override + :param pulumi.Input[Union[str, 'AlertProperty']] alert_property: The V3 alert property + :param pulumi.Input[str] value: the column name to use to override this property + """ + if alert_property is not None: + pulumi.set(__self__, "alert_property", alert_property) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="alertProperty") + def alert_property(self) -> Optional[pulumi.Input[Union[str, 'AlertProperty']]]: + """ + The V3 alert property + """ + return pulumi.get(self, "alert_property") + + @alert_property.setter + def alert_property(self, value: Optional[pulumi.Input[Union[str, 'AlertProperty']]]): + pulumi.set(self, "alert_property", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + the column name to use to override this property + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class AlertsDataTypeOfDataConnectorArgs: + def __init__(__self__, *, + alerts: pulumi.Input['DataConnectorDataTypeCommonArgs']): + """ + Alerts data type for data connectors. + :param pulumi.Input['DataConnectorDataTypeCommonArgs'] alerts: Alerts data type connection. + """ + pulumi.set(__self__, "alerts", alerts) + + @property + @pulumi.getter + def alerts(self) -> pulumi.Input['DataConnectorDataTypeCommonArgs']: + """ + Alerts data type connection. + """ + return pulumi.get(self, "alerts") + + @alerts.setter + def alerts(self, value: pulumi.Input['DataConnectorDataTypeCommonArgs']): + pulumi.set(self, "alerts", value) + + +@pulumi.input_type +class AssignmentItemArgs: + def __init__(__self__, *, + resource_id: Optional[pulumi.Input[str]] = None): + """ + An entity describing a content item. + :param pulumi.Input[str] resource_id: The resource id of the content item + """ + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource id of the content item + """ + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_id", value) + + +@pulumi.input_type +class AutomationRuleAddIncidentTaskActionArgs: + def __init__(__self__, *, + action_type: pulumi.Input[str], + order: pulumi.Input[int], + action_configuration: Optional[pulumi.Input['AddIncidentTaskActionPropertiesArgs']] = None): + """ + Describes an automation rule action to add a task to an incident + :param pulumi.Input[str] action_type: The type of the automation rule action. + Expected value is 'AddIncidentTask'. + """ + pulumi.set(__self__, "action_type", 'AddIncidentTask') + pulumi.set(__self__, "order", order) + if action_configuration is not None: + pulumi.set(__self__, "action_configuration", action_configuration) + + @property + @pulumi.getter(name="actionType") + def action_type(self) -> pulumi.Input[str]: + """ + The type of the automation rule action. + Expected value is 'AddIncidentTask'. + """ + return pulumi.get(self, "action_type") + + @action_type.setter + def action_type(self, value: pulumi.Input[str]): + pulumi.set(self, "action_type", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[int]: + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[int]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter(name="actionConfiguration") + def action_configuration(self) -> Optional[pulumi.Input['AddIncidentTaskActionPropertiesArgs']]: + return pulumi.get(self, "action_configuration") + + @action_configuration.setter + def action_configuration(self, value: Optional[pulumi.Input['AddIncidentTaskActionPropertiesArgs']]): + pulumi.set(self, "action_configuration", value) + + +@pulumi.input_type +class AutomationRuleBooleanConditionArgs: + def __init__(__self__, *, + inner_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]] = None, + operator: Optional[pulumi.Input[Union[str, 'AutomationRuleBooleanConditionSupportedOperator']]] = None): + if inner_conditions is not None: + pulumi.set(__self__, "inner_conditions", inner_conditions) + if operator is not None: + pulumi.set(__self__, "operator", operator) + + @property + @pulumi.getter(name="innerConditions") + def inner_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]]: + return pulumi.get(self, "inner_conditions") + + @inner_conditions.setter + def inner_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]]): + pulumi.set(self, "inner_conditions", value) + + @property + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[Union[str, 'AutomationRuleBooleanConditionSupportedOperator']]]: + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: Optional[pulumi.Input[Union[str, 'AutomationRuleBooleanConditionSupportedOperator']]]): + pulumi.set(self, "operator", value) + + +@pulumi.input_type +class AutomationRuleModifyPropertiesActionArgs: + def __init__(__self__, *, + action_type: pulumi.Input[str], + order: pulumi.Input[int], + action_configuration: Optional[pulumi.Input['IncidentPropertiesActionArgs']] = None): + """ + Describes an automation rule action to modify an object's properties + :param pulumi.Input[str] action_type: The type of the automation rule action. + Expected value is 'ModifyProperties'. + """ + pulumi.set(__self__, "action_type", 'ModifyProperties') + pulumi.set(__self__, "order", order) + if action_configuration is not None: + pulumi.set(__self__, "action_configuration", action_configuration) + + @property + @pulumi.getter(name="actionType") + def action_type(self) -> pulumi.Input[str]: + """ + The type of the automation rule action. + Expected value is 'ModifyProperties'. + """ + return pulumi.get(self, "action_type") + + @action_type.setter + def action_type(self, value: pulumi.Input[str]): + pulumi.set(self, "action_type", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[int]: + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[int]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter(name="actionConfiguration") + def action_configuration(self) -> Optional[pulumi.Input['IncidentPropertiesActionArgs']]: + return pulumi.get(self, "action_configuration") + + @action_configuration.setter + def action_configuration(self, value: Optional[pulumi.Input['IncidentPropertiesActionArgs']]): + pulumi.set(self, "action_configuration", value) + + +@pulumi.input_type +class AutomationRulePropertyArrayChangedValuesConditionArgs: + def __init__(__self__, *, + array_type: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayChangedConditionSupportedArrayType']]] = None, + change_type: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayChangedConditionSupportedChangeType']]] = None): + if array_type is not None: + pulumi.set(__self__, "array_type", array_type) + if change_type is not None: + pulumi.set(__self__, "change_type", change_type) + + @property + @pulumi.getter(name="arrayType") + def array_type(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayChangedConditionSupportedArrayType']]]: + return pulumi.get(self, "array_type") + + @array_type.setter + def array_type(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayChangedConditionSupportedArrayType']]]): + pulumi.set(self, "array_type", value) + + @property + @pulumi.getter(name="changeType") + def change_type(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayChangedConditionSupportedChangeType']]]: + return pulumi.get(self, "change_type") + + @change_type.setter + def change_type(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayChangedConditionSupportedChangeType']]]): + pulumi.set(self, "change_type", value) + + +@pulumi.input_type +class AutomationRulePropertyArrayValuesConditionArgs: + def __init__(__self__, *, + array_condition_type: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayConditionSupportedArrayConditionType']]] = None, + array_type: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayConditionSupportedArrayType']]] = None, + item_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]] = None): + if array_condition_type is not None: + pulumi.set(__self__, "array_condition_type", array_condition_type) + if array_type is not None: + pulumi.set(__self__, "array_type", array_type) + if item_conditions is not None: + pulumi.set(__self__, "item_conditions", item_conditions) + + @property + @pulumi.getter(name="arrayConditionType") + def array_condition_type(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayConditionSupportedArrayConditionType']]]: + return pulumi.get(self, "array_condition_type") + + @array_condition_type.setter + def array_condition_type(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayConditionSupportedArrayConditionType']]]): + pulumi.set(self, "array_condition_type", value) + + @property + @pulumi.getter(name="arrayType") + def array_type(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayConditionSupportedArrayType']]]: + return pulumi.get(self, "array_type") + + @array_type.setter + def array_type(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyArrayConditionSupportedArrayType']]]): + pulumi.set(self, "array_type", value) + + @property + @pulumi.getter(name="itemConditions") + def item_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]]: + return pulumi.get(self, "item_conditions") + + @item_conditions.setter + def item_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]]): + pulumi.set(self, "item_conditions", value) + + +@pulumi.input_type +class AutomationRulePropertyValuesChangedConditionArgs: + def __init__(__self__, *, + change_type: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyChangedConditionSupportedChangedType']]] = None, + operator: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedOperator']]] = None, + property_name: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyChangedConditionSupportedPropertyType']]] = None, + property_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if change_type is not None: + pulumi.set(__self__, "change_type", change_type) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if property_name is not None: + pulumi.set(__self__, "property_name", property_name) + if property_values is not None: + pulumi.set(__self__, "property_values", property_values) + + @property + @pulumi.getter(name="changeType") + def change_type(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyChangedConditionSupportedChangedType']]]: + return pulumi.get(self, "change_type") + + @change_type.setter + def change_type(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyChangedConditionSupportedChangedType']]]): + pulumi.set(self, "change_type", value) + + @property + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedOperator']]]: + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedOperator']]]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="propertyName") + def property_name(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyChangedConditionSupportedPropertyType']]]: + return pulumi.get(self, "property_name") + + @property_name.setter + def property_name(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyChangedConditionSupportedPropertyType']]]): + pulumi.set(self, "property_name", value) + + @property + @pulumi.getter(name="propertyValues") + def property_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "property_values") + + @property_values.setter + def property_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "property_values", value) + + +@pulumi.input_type +class AutomationRulePropertyValuesConditionArgs: + def __init__(__self__, *, + operator: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedOperator']]] = None, + property_name: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedProperty']]] = None, + property_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedProperty']] property_name: The property to evaluate in an automation rule property condition. + """ + if operator is not None: + pulumi.set(__self__, "operator", operator) + if property_name is not None: + pulumi.set(__self__, "property_name", property_name) + if property_values is not None: + pulumi.set(__self__, "property_values", property_values) + + @property + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedOperator']]]: + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedOperator']]]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter(name="propertyName") + def property_name(self) -> Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedProperty']]]: + """ + The property to evaluate in an automation rule property condition. + """ + return pulumi.get(self, "property_name") + + @property_name.setter + def property_name(self, value: Optional[pulumi.Input[Union[str, 'AutomationRulePropertyConditionSupportedProperty']]]): + pulumi.set(self, "property_name", value) + + @property + @pulumi.getter(name="propertyValues") + def property_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "property_values") + + @property_values.setter + def property_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "property_values", value) + + +@pulumi.input_type +class AutomationRuleRunPlaybookActionArgs: + def __init__(__self__, *, + action_type: pulumi.Input[str], + order: pulumi.Input[int], + action_configuration: Optional[pulumi.Input['PlaybookActionPropertiesArgs']] = None): + """ + Describes an automation rule action to run a playbook + :param pulumi.Input[str] action_type: The type of the automation rule action. + Expected value is 'RunPlaybook'. + """ + pulumi.set(__self__, "action_type", 'RunPlaybook') + pulumi.set(__self__, "order", order) + if action_configuration is not None: + pulumi.set(__self__, "action_configuration", action_configuration) + + @property + @pulumi.getter(name="actionType") + def action_type(self) -> pulumi.Input[str]: + """ + The type of the automation rule action. + Expected value is 'RunPlaybook'. + """ + return pulumi.get(self, "action_type") + + @action_type.setter + def action_type(self, value: pulumi.Input[str]): + pulumi.set(self, "action_type", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[int]: + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[int]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter(name="actionConfiguration") + def action_configuration(self) -> Optional[pulumi.Input['PlaybookActionPropertiesArgs']]: + return pulumi.get(self, "action_configuration") + + @action_configuration.setter + def action_configuration(self, value: Optional[pulumi.Input['PlaybookActionPropertiesArgs']]): + pulumi.set(self, "action_configuration", value) + + +@pulumi.input_type +class AutomationRuleTriggeringLogicArgs: + def __init__(__self__, *, + is_enabled: pulumi.Input[bool], + triggers_on: pulumi.Input[Union[str, 'TriggersOn']], + triggers_when: pulumi.Input[Union[str, 'TriggersWhen']], + conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]] = None, + expiration_time_utc: Optional[pulumi.Input[str]] = None): + """ + Describes automation rule triggering logic. + :param pulumi.Input[bool] is_enabled: Determines whether the automation rule is enabled or disabled. + :param pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]] conditions: The conditions to evaluate to determine if the automation rule should be triggered on a given object. + :param pulumi.Input[str] expiration_time_utc: Determines when the automation rule should automatically expire and be disabled. + """ + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "triggers_on", triggers_on) + pulumi.set(__self__, "triggers_when", triggers_when) + if conditions is not None: + pulumi.set(__self__, "conditions", conditions) + if expiration_time_utc is not None: + pulumi.set(__self__, "expiration_time_utc", expiration_time_utc) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Input[bool]: + """ + Determines whether the automation rule is enabled or disabled. + """ + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_enabled", value) + + @property + @pulumi.getter(name="triggersOn") + def triggers_on(self) -> pulumi.Input[Union[str, 'TriggersOn']]: + return pulumi.get(self, "triggers_on") + + @triggers_on.setter + def triggers_on(self, value: pulumi.Input[Union[str, 'TriggersOn']]): + pulumi.set(self, "triggers_on", value) + + @property + @pulumi.getter(name="triggersWhen") + def triggers_when(self) -> pulumi.Input[Union[str, 'TriggersWhen']]: + return pulumi.get(self, "triggers_when") + + @triggers_when.setter + def triggers_when(self, value: pulumi.Input[Union[str, 'TriggersWhen']]): + pulumi.set(self, "triggers_when", value) + + @property + @pulumi.getter + def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]]: + """ + The conditions to evaluate to determine if the automation rule should be triggered on a given object. + """ + return pulumi.get(self, "conditions") + + @conditions.setter + def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BooleanConditionPropertiesArgs', 'PropertyArrayChangedConditionPropertiesArgs', 'PropertyArrayConditionPropertiesArgs', 'PropertyChangedConditionPropertiesArgs', 'PropertyConditionPropertiesArgs']]]]]): + pulumi.set(self, "conditions", value) + + @property + @pulumi.getter(name="expirationTimeUtc") + def expiration_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + Determines when the automation rule should automatically expire and be disabled. + """ + return pulumi.get(self, "expiration_time_utc") + + @expiration_time_utc.setter + def expiration_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expiration_time_utc", value) + + +@pulumi.input_type +class AvailabilityArgs: + def __init__(__self__, *, + is_preview: Optional[pulumi.Input[bool]] = None, + status: Optional[pulumi.Input[int]] = None): + """ + Connector Availability Status + :param pulumi.Input[bool] is_preview: Set connector as preview + :param pulumi.Input[int] status: The connector Availability Status + """ + if is_preview is not None: + pulumi.set(__self__, "is_preview", is_preview) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> Optional[pulumi.Input[bool]]: + """ + Set connector as preview + """ + return pulumi.get(self, "is_preview") + + @is_preview.setter + def is_preview(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_preview", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[int]]: + """ + The connector Availability Status + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class AwsCloudTrailDataConnectorDataTypesLogsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Logs data type. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class AwsCloudTrailDataConnectorDataTypesArgs: + def __init__(__self__, *, + logs: pulumi.Input['AwsCloudTrailDataConnectorDataTypesLogsArgs']): + """ + The available data types for Amazon Web Services CloudTrail data connector. + :param pulumi.Input['AwsCloudTrailDataConnectorDataTypesLogsArgs'] logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> pulumi.Input['AwsCloudTrailDataConnectorDataTypesLogsArgs']: + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + @logs.setter + def logs(self, value: pulumi.Input['AwsCloudTrailDataConnectorDataTypesLogsArgs']): + pulumi.set(self, "logs", value) + + +@pulumi.input_type +class AwsS3DataConnectorDataTypesLogsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Logs data type. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class AwsS3DataConnectorDataTypesArgs: + def __init__(__self__, *, + logs: pulumi.Input['AwsS3DataConnectorDataTypesLogsArgs']): + """ + The available data types for Amazon Web Services S3 data connector. + :param pulumi.Input['AwsS3DataConnectorDataTypesLogsArgs'] logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> pulumi.Input['AwsS3DataConnectorDataTypesLogsArgs']: + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + @logs.setter + def logs(self, value: pulumi.Input['AwsS3DataConnectorDataTypesLogsArgs']): + pulumi.set(self, "logs", value) + + +@pulumi.input_type +class BookmarkEntityMappingsArgs: + def __init__(__self__, *, + entity_type: Optional[pulumi.Input[str]] = None, + field_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['EntityFieldMappingArgs']]]] = None): + """ + Describes the entity mappings of a single entity + :param pulumi.Input[str] entity_type: The entity type + :param pulumi.Input[Sequence[pulumi.Input['EntityFieldMappingArgs']]] field_mappings: Array of fields mapping for that entity type + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if field_mappings is not None: + pulumi.set(__self__, "field_mappings", field_mappings) + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> Optional[pulumi.Input[str]]: + """ + The entity type + """ + return pulumi.get(self, "entity_type") + + @entity_type.setter + def entity_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_type", value) + + @property + @pulumi.getter(name="fieldMappings") + def field_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityFieldMappingArgs']]]]: + """ + Array of fields mapping for that entity type + """ + return pulumi.get(self, "field_mappings") + + @field_mappings.setter + def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntityFieldMappingArgs']]]]): + pulumi.set(self, "field_mappings", value) + + +@pulumi.input_type +class BooleanConditionPropertiesArgs: + def __init__(__self__, *, + condition_type: pulumi.Input[str], + condition_properties: Optional[pulumi.Input['AutomationRuleBooleanConditionArgs']] = None): + """ + Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions + :param pulumi.Input[str] condition_type: + Expected value is 'Boolean'. + """ + pulumi.set(__self__, "condition_type", 'Boolean') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'Boolean'. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: pulumi.Input[str]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional[pulumi.Input['AutomationRuleBooleanConditionArgs']]: + return pulumi.get(self, "condition_properties") + + @condition_properties.setter + def condition_properties(self, value: Optional[pulumi.Input['AutomationRuleBooleanConditionArgs']]): + pulumi.set(self, "condition_properties", value) + + +@pulumi.input_type +class ClientInfoArgs: + def __init__(__self__, *, + email: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_id: Optional[pulumi.Input[str]] = None, + user_principal_name: Optional[pulumi.Input[str]] = None): + """ + Information on the client (user or application) that made some action + :param pulumi.Input[str] email: The email of the client. + :param pulumi.Input[str] name: The name of the client. + :param pulumi.Input[str] object_id: The object id of the client. + :param pulumi.Input[str] user_principal_name: The user principal name of the client. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if name is not None: + pulumi.set(__self__, "name", name) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if user_principal_name is not None: + pulumi.set(__self__, "user_principal_name", user_principal_name) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + The email of the client. + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the client. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[pulumi.Input[str]]: + """ + The object id of the client. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_id", value) + + @property + @pulumi.getter(name="userPrincipalName") + def user_principal_name(self) -> Optional[pulumi.Input[str]]: + """ + The user principal name of the client. + """ + return pulumi.get(self, "user_principal_name") + + @user_principal_name.setter + def user_principal_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_principal_name", value) + + +@pulumi.input_type +class CodelessConnectorPollingAuthPropertiesArgs: + def __init__(__self__, *, + auth_type: pulumi.Input[str], + api_key_identifier: Optional[pulumi.Input[str]] = None, + api_key_name: Optional[pulumi.Input[str]] = None, + authorization_endpoint: Optional[pulumi.Input[str]] = None, + authorization_endpoint_query_parameters: Optional[Any] = None, + flow_name: Optional[pulumi.Input[str]] = None, + is_api_key_in_post_payload: Optional[pulumi.Input[str]] = None, + is_client_secret_in_header: Optional[pulumi.Input[bool]] = None, + redirection_endpoint: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + token_endpoint: Optional[pulumi.Input[str]] = None, + token_endpoint_headers: Optional[Any] = None, + token_endpoint_query_parameters: Optional[Any] = None): + """ + Describe the authentication properties needed to successfully authenticate with the server + :param pulumi.Input[str] auth_type: The authentication type + :param pulumi.Input[str] api_key_identifier: A prefix send in the header before the actual token + :param pulumi.Input[str] api_key_name: The header name which the token is sent with + :param pulumi.Input[str] authorization_endpoint: The endpoint used to authorize the user, used in Oauth 2.0 flow + :param Any authorization_endpoint_query_parameters: The query parameters used in authorization request, used in Oauth 2.0 flow + :param pulumi.Input[str] flow_name: Describes the flow name, for example 'AuthCode' for Oauth 2.0 + :param pulumi.Input[str] is_api_key_in_post_payload: Marks if the key should sent in header + :param pulumi.Input[bool] is_client_secret_in_header: Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + :param pulumi.Input[str] redirection_endpoint: The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + :param pulumi.Input[str] scope: The OAuth token scope + :param pulumi.Input[str] token_endpoint: The endpoint used to issue a token, used in Oauth 2.0 flow + :param Any token_endpoint_headers: The query headers used in token request, used in Oauth 2.0 flow + :param Any token_endpoint_query_parameters: The query parameters used in token request, used in Oauth 2.0 flow + """ + pulumi.set(__self__, "auth_type", auth_type) + if api_key_identifier is not None: + pulumi.set(__self__, "api_key_identifier", api_key_identifier) + if api_key_name is not None: + pulumi.set(__self__, "api_key_name", api_key_name) + if authorization_endpoint is not None: + pulumi.set(__self__, "authorization_endpoint", authorization_endpoint) + if authorization_endpoint_query_parameters is not None: + pulumi.set(__self__, "authorization_endpoint_query_parameters", authorization_endpoint_query_parameters) + if flow_name is not None: + pulumi.set(__self__, "flow_name", flow_name) + if is_api_key_in_post_payload is not None: + pulumi.set(__self__, "is_api_key_in_post_payload", is_api_key_in_post_payload) + if is_client_secret_in_header is not None: + pulumi.set(__self__, "is_client_secret_in_header", is_client_secret_in_header) + if redirection_endpoint is not None: + pulumi.set(__self__, "redirection_endpoint", redirection_endpoint) + if scope is not None: + pulumi.set(__self__, "scope", scope) + if token_endpoint is not None: + pulumi.set(__self__, "token_endpoint", token_endpoint) + if token_endpoint_headers is not None: + pulumi.set(__self__, "token_endpoint_headers", token_endpoint_headers) + if token_endpoint_query_parameters is not None: + pulumi.set(__self__, "token_endpoint_query_parameters", token_endpoint_query_parameters) + + @property + @pulumi.getter(name="authType") + def auth_type(self) -> pulumi.Input[str]: + """ + The authentication type + """ + return pulumi.get(self, "auth_type") + + @auth_type.setter + def auth_type(self, value: pulumi.Input[str]): + pulumi.set(self, "auth_type", value) + + @property + @pulumi.getter(name="apiKeyIdentifier") + def api_key_identifier(self) -> Optional[pulumi.Input[str]]: + """ + A prefix send in the header before the actual token + """ + return pulumi.get(self, "api_key_identifier") + + @api_key_identifier.setter + def api_key_identifier(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_key_identifier", value) + + @property + @pulumi.getter(name="apiKeyName") + def api_key_name(self) -> Optional[pulumi.Input[str]]: + """ + The header name which the token is sent with + """ + return pulumi.get(self, "api_key_name") + + @api_key_name.setter + def api_key_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "api_key_name", value) + + @property + @pulumi.getter(name="authorizationEndpoint") + def authorization_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The endpoint used to authorize the user, used in Oauth 2.0 flow + """ + return pulumi.get(self, "authorization_endpoint") + + @authorization_endpoint.setter + def authorization_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authorization_endpoint", value) + + @property + @pulumi.getter(name="authorizationEndpointQueryParameters") + def authorization_endpoint_query_parameters(self) -> Optional[Any]: + """ + The query parameters used in authorization request, used in Oauth 2.0 flow + """ + return pulumi.get(self, "authorization_endpoint_query_parameters") + + @authorization_endpoint_query_parameters.setter + def authorization_endpoint_query_parameters(self, value: Optional[Any]): + pulumi.set(self, "authorization_endpoint_query_parameters", value) + + @property + @pulumi.getter(name="flowName") + def flow_name(self) -> Optional[pulumi.Input[str]]: + """ + Describes the flow name, for example 'AuthCode' for Oauth 2.0 + """ + return pulumi.get(self, "flow_name") + + @flow_name.setter + def flow_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "flow_name", value) + + @property + @pulumi.getter(name="isApiKeyInPostPayload") + def is_api_key_in_post_payload(self) -> Optional[pulumi.Input[str]]: + """ + Marks if the key should sent in header + """ + return pulumi.get(self, "is_api_key_in_post_payload") + + @is_api_key_in_post_payload.setter + def is_api_key_in_post_payload(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "is_api_key_in_post_payload", value) + + @property + @pulumi.getter(name="isClientSecretInHeader") + def is_client_secret_in_header(self) -> Optional[pulumi.Input[bool]]: + """ + Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + """ + return pulumi.get(self, "is_client_secret_in_header") + + @is_client_secret_in_header.setter + def is_client_secret_in_header(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_client_secret_in_header", value) + + @property + @pulumi.getter(name="redirectionEndpoint") + def redirection_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + """ + return pulumi.get(self, "redirection_endpoint") + + @redirection_endpoint.setter + def redirection_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "redirection_endpoint", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input[str]]: + """ + The OAuth token scope + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scope", value) + + @property + @pulumi.getter(name="tokenEndpoint") + def token_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The endpoint used to issue a token, used in Oauth 2.0 flow + """ + return pulumi.get(self, "token_endpoint") + + @token_endpoint.setter + def token_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token_endpoint", value) + + @property + @pulumi.getter(name="tokenEndpointHeaders") + def token_endpoint_headers(self) -> Optional[Any]: + """ + The query headers used in token request, used in Oauth 2.0 flow + """ + return pulumi.get(self, "token_endpoint_headers") + + @token_endpoint_headers.setter + def token_endpoint_headers(self, value: Optional[Any]): + pulumi.set(self, "token_endpoint_headers", value) + + @property + @pulumi.getter(name="tokenEndpointQueryParameters") + def token_endpoint_query_parameters(self) -> Optional[Any]: + """ + The query parameters used in token request, used in Oauth 2.0 flow + """ + return pulumi.get(self, "token_endpoint_query_parameters") + + @token_endpoint_query_parameters.setter + def token_endpoint_query_parameters(self, value: Optional[Any]): + pulumi.set(self, "token_endpoint_query_parameters", value) + + +@pulumi.input_type +class CodelessConnectorPollingConfigPropertiesArgs: + def __init__(__self__, *, + auth: pulumi.Input['CodelessConnectorPollingAuthPropertiesArgs'], + request: pulumi.Input['CodelessConnectorPollingRequestPropertiesArgs'], + is_active: Optional[pulumi.Input[bool]] = None, + paging: Optional[pulumi.Input['CodelessConnectorPollingPagingPropertiesArgs']] = None, + response: Optional[pulumi.Input['CodelessConnectorPollingResponsePropertiesArgs']] = None): + """ + Config to describe the polling config for API poller connector + :param pulumi.Input['CodelessConnectorPollingAuthPropertiesArgs'] auth: Describe the authentication type of the poller + :param pulumi.Input['CodelessConnectorPollingRequestPropertiesArgs'] request: Describe the poll request config parameters of the poller + :param pulumi.Input[bool] is_active: The poller active status + :param pulumi.Input['CodelessConnectorPollingPagingPropertiesArgs'] paging: Describe the poll request paging config of the poller + :param pulumi.Input['CodelessConnectorPollingResponsePropertiesArgs'] response: Describe the response config parameters of the poller + """ + pulumi.set(__self__, "auth", auth) + pulumi.set(__self__, "request", request) + if is_active is not None: + pulumi.set(__self__, "is_active", is_active) + if paging is not None: + pulumi.set(__self__, "paging", paging) + if response is not None: + pulumi.set(__self__, "response", response) + + @property + @pulumi.getter + def auth(self) -> pulumi.Input['CodelessConnectorPollingAuthPropertiesArgs']: + """ + Describe the authentication type of the poller + """ + return pulumi.get(self, "auth") + + @auth.setter + def auth(self, value: pulumi.Input['CodelessConnectorPollingAuthPropertiesArgs']): + pulumi.set(self, "auth", value) + + @property + @pulumi.getter + def request(self) -> pulumi.Input['CodelessConnectorPollingRequestPropertiesArgs']: + """ + Describe the poll request config parameters of the poller + """ + return pulumi.get(self, "request") + + @request.setter + def request(self, value: pulumi.Input['CodelessConnectorPollingRequestPropertiesArgs']): + pulumi.set(self, "request", value) + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[pulumi.Input[bool]]: + """ + The poller active status + """ + return pulumi.get(self, "is_active") + + @is_active.setter + def is_active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_active", value) + + @property + @pulumi.getter + def paging(self) -> Optional[pulumi.Input['CodelessConnectorPollingPagingPropertiesArgs']]: + """ + Describe the poll request paging config of the poller + """ + return pulumi.get(self, "paging") + + @paging.setter + def paging(self, value: Optional[pulumi.Input['CodelessConnectorPollingPagingPropertiesArgs']]): + pulumi.set(self, "paging", value) + + @property + @pulumi.getter + def response(self) -> Optional[pulumi.Input['CodelessConnectorPollingResponsePropertiesArgs']]: + """ + Describe the response config parameters of the poller + """ + return pulumi.get(self, "response") + + @response.setter + def response(self, value: Optional[pulumi.Input['CodelessConnectorPollingResponsePropertiesArgs']]): + pulumi.set(self, "response", value) + + +@pulumi.input_type +class CodelessConnectorPollingPagingPropertiesArgs: + def __init__(__self__, *, + paging_type: pulumi.Input[str], + next_page_para_name: Optional[pulumi.Input[str]] = None, + next_page_token_json_path: Optional[pulumi.Input[str]] = None, + page_count_attribute_path: Optional[pulumi.Input[str]] = None, + page_size: Optional[pulumi.Input[int]] = None, + page_size_para_name: Optional[pulumi.Input[str]] = None, + page_time_stamp_attribute_path: Optional[pulumi.Input[str]] = None, + page_total_count_attribute_path: Optional[pulumi.Input[str]] = None, + search_the_latest_time_stamp_from_events_list: Optional[pulumi.Input[str]] = None): + """ + Describe the properties needed to make a pagination call + :param pulumi.Input[str] paging_type: Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + :param pulumi.Input[str] next_page_para_name: Defines the name of a next page attribute + :param pulumi.Input[str] next_page_token_json_path: Defines the path to a next page token JSON + :param pulumi.Input[str] page_count_attribute_path: Defines the path to a page count attribute + :param pulumi.Input[int] page_size: Defines the paging size + :param pulumi.Input[str] page_size_para_name: Defines the name of the page size parameter + :param pulumi.Input[str] page_time_stamp_attribute_path: Defines the path to a paging time stamp attribute + :param pulumi.Input[str] page_total_count_attribute_path: Defines the path to a page total count attribute + :param pulumi.Input[str] search_the_latest_time_stamp_from_events_list: Determines whether to search for the latest time stamp in the events list + """ + pulumi.set(__self__, "paging_type", paging_type) + if next_page_para_name is not None: + pulumi.set(__self__, "next_page_para_name", next_page_para_name) + if next_page_token_json_path is not None: + pulumi.set(__self__, "next_page_token_json_path", next_page_token_json_path) + if page_count_attribute_path is not None: + pulumi.set(__self__, "page_count_attribute_path", page_count_attribute_path) + if page_size is not None: + pulumi.set(__self__, "page_size", page_size) + if page_size_para_name is not None: + pulumi.set(__self__, "page_size_para_name", page_size_para_name) + if page_time_stamp_attribute_path is not None: + pulumi.set(__self__, "page_time_stamp_attribute_path", page_time_stamp_attribute_path) + if page_total_count_attribute_path is not None: + pulumi.set(__self__, "page_total_count_attribute_path", page_total_count_attribute_path) + if search_the_latest_time_stamp_from_events_list is not None: + pulumi.set(__self__, "search_the_latest_time_stamp_from_events_list", search_the_latest_time_stamp_from_events_list) + + @property + @pulumi.getter(name="pagingType") + def paging_type(self) -> pulumi.Input[str]: + """ + Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + """ + return pulumi.get(self, "paging_type") + + @paging_type.setter + def paging_type(self, value: pulumi.Input[str]): + pulumi.set(self, "paging_type", value) + + @property + @pulumi.getter(name="nextPageParaName") + def next_page_para_name(self) -> Optional[pulumi.Input[str]]: + """ + Defines the name of a next page attribute + """ + return pulumi.get(self, "next_page_para_name") + + @next_page_para_name.setter + def next_page_para_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "next_page_para_name", value) + + @property + @pulumi.getter(name="nextPageTokenJsonPath") + def next_page_token_json_path(self) -> Optional[pulumi.Input[str]]: + """ + Defines the path to a next page token JSON + """ + return pulumi.get(self, "next_page_token_json_path") + + @next_page_token_json_path.setter + def next_page_token_json_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "next_page_token_json_path", value) + + @property + @pulumi.getter(name="pageCountAttributePath") + def page_count_attribute_path(self) -> Optional[pulumi.Input[str]]: + """ + Defines the path to a page count attribute + """ + return pulumi.get(self, "page_count_attribute_path") + + @page_count_attribute_path.setter + def page_count_attribute_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "page_count_attribute_path", value) + + @property + @pulumi.getter(name="pageSize") + def page_size(self) -> Optional[pulumi.Input[int]]: + """ + Defines the paging size + """ + return pulumi.get(self, "page_size") + + @page_size.setter + def page_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "page_size", value) + + @property + @pulumi.getter(name="pageSizeParaName") + def page_size_para_name(self) -> Optional[pulumi.Input[str]]: + """ + Defines the name of the page size parameter + """ + return pulumi.get(self, "page_size_para_name") + + @page_size_para_name.setter + def page_size_para_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "page_size_para_name", value) + + @property + @pulumi.getter(name="pageTimeStampAttributePath") + def page_time_stamp_attribute_path(self) -> Optional[pulumi.Input[str]]: + """ + Defines the path to a paging time stamp attribute + """ + return pulumi.get(self, "page_time_stamp_attribute_path") + + @page_time_stamp_attribute_path.setter + def page_time_stamp_attribute_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "page_time_stamp_attribute_path", value) + + @property + @pulumi.getter(name="pageTotalCountAttributePath") + def page_total_count_attribute_path(self) -> Optional[pulumi.Input[str]]: + """ + Defines the path to a page total count attribute + """ + return pulumi.get(self, "page_total_count_attribute_path") + + @page_total_count_attribute_path.setter + def page_total_count_attribute_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "page_total_count_attribute_path", value) + + @property + @pulumi.getter(name="searchTheLatestTimeStampFromEventsList") + def search_the_latest_time_stamp_from_events_list(self) -> Optional[pulumi.Input[str]]: + """ + Determines whether to search for the latest time stamp in the events list + """ + return pulumi.get(self, "search_the_latest_time_stamp_from_events_list") + + @search_the_latest_time_stamp_from_events_list.setter + def search_the_latest_time_stamp_from_events_list(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_the_latest_time_stamp_from_events_list", value) + + +@pulumi.input_type +class CodelessConnectorPollingRequestPropertiesArgs: + def __init__(__self__, *, + api_endpoint: pulumi.Input[str], + http_method: pulumi.Input[str], + query_time_format: pulumi.Input[str], + query_window_in_min: pulumi.Input[int], + end_time_attribute_name: Optional[pulumi.Input[str]] = None, + headers: Optional[Any] = None, + query_parameters: Optional[Any] = None, + query_parameters_template: Optional[pulumi.Input[str]] = None, + rate_limit_qps: Optional[pulumi.Input[int]] = None, + retry_count: Optional[pulumi.Input[int]] = None, + start_time_attribute_name: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None): + """ + Describe the request properties needed to successfully pull from the server + :param pulumi.Input[str] api_endpoint: Describe the endpoint we should pull the data from + :param pulumi.Input[str] http_method: The http method type we will use in the poll request, GET or POST + :param pulumi.Input[str] query_time_format: The time format will be used the query events in a specific window + :param pulumi.Input[int] query_window_in_min: The window interval we will use the pull the data + :param pulumi.Input[str] end_time_attribute_name: This will be used the query events from the end of the time window + :param Any headers: Describe the headers sent in the poll request + :param Any query_parameters: Describe the query parameters sent in the poll request + :param pulumi.Input[str] query_parameters_template: For advanced scenarios for example user name/password embedded in nested JSON payload + :param pulumi.Input[int] rate_limit_qps: Defines the rate limit QPS + :param pulumi.Input[int] retry_count: Describe the amount of time we should try and poll the data in case of failure + :param pulumi.Input[str] start_time_attribute_name: This will be used the query events from a start of the time window + :param pulumi.Input[int] timeout_in_seconds: The number of seconds we will consider as a request timeout + """ + pulumi.set(__self__, "api_endpoint", api_endpoint) + pulumi.set(__self__, "http_method", http_method) + pulumi.set(__self__, "query_time_format", query_time_format) + pulumi.set(__self__, "query_window_in_min", query_window_in_min) + if end_time_attribute_name is not None: + pulumi.set(__self__, "end_time_attribute_name", end_time_attribute_name) + if headers is not None: + pulumi.set(__self__, "headers", headers) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + if query_parameters_template is not None: + pulumi.set(__self__, "query_parameters_template", query_parameters_template) + if rate_limit_qps is not None: + pulumi.set(__self__, "rate_limit_qps", rate_limit_qps) + if retry_count is not None: + pulumi.set(__self__, "retry_count", retry_count) + if start_time_attribute_name is not None: + pulumi.set(__self__, "start_time_attribute_name", start_time_attribute_name) + if timeout_in_seconds is not None: + pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + + @property + @pulumi.getter(name="apiEndpoint") + def api_endpoint(self) -> pulumi.Input[str]: + """ + Describe the endpoint we should pull the data from + """ + return pulumi.get(self, "api_endpoint") + + @api_endpoint.setter + def api_endpoint(self, value: pulumi.Input[str]): + pulumi.set(self, "api_endpoint", value) + + @property + @pulumi.getter(name="httpMethod") + def http_method(self) -> pulumi.Input[str]: + """ + The http method type we will use in the poll request, GET or POST + """ + return pulumi.get(self, "http_method") + + @http_method.setter + def http_method(self, value: pulumi.Input[str]): + pulumi.set(self, "http_method", value) + + @property + @pulumi.getter(name="queryTimeFormat") + def query_time_format(self) -> pulumi.Input[str]: + """ + The time format will be used the query events in a specific window + """ + return pulumi.get(self, "query_time_format") + + @query_time_format.setter + def query_time_format(self, value: pulumi.Input[str]): + pulumi.set(self, "query_time_format", value) + + @property + @pulumi.getter(name="queryWindowInMin") + def query_window_in_min(self) -> pulumi.Input[int]: + """ + The window interval we will use the pull the data + """ + return pulumi.get(self, "query_window_in_min") + + @query_window_in_min.setter + def query_window_in_min(self, value: pulumi.Input[int]): + pulumi.set(self, "query_window_in_min", value) + + @property + @pulumi.getter(name="endTimeAttributeName") + def end_time_attribute_name(self) -> Optional[pulumi.Input[str]]: + """ + This will be used the query events from the end of the time window + """ + return pulumi.get(self, "end_time_attribute_name") + + @end_time_attribute_name.setter + def end_time_attribute_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "end_time_attribute_name", value) + + @property + @pulumi.getter + def headers(self) -> Optional[Any]: + """ + Describe the headers sent in the poll request + """ + return pulumi.get(self, "headers") + + @headers.setter + def headers(self, value: Optional[Any]): + pulumi.set(self, "headers", value) + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[Any]: + """ + Describe the query parameters sent in the poll request + """ + return pulumi.get(self, "query_parameters") + + @query_parameters.setter + def query_parameters(self, value: Optional[Any]): + pulumi.set(self, "query_parameters", value) + + @property + @pulumi.getter(name="queryParametersTemplate") + def query_parameters_template(self) -> Optional[pulumi.Input[str]]: + """ + For advanced scenarios for example user name/password embedded in nested JSON payload + """ + return pulumi.get(self, "query_parameters_template") + + @query_parameters_template.setter + def query_parameters_template(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_parameters_template", value) + + @property + @pulumi.getter(name="rateLimitQps") + def rate_limit_qps(self) -> Optional[pulumi.Input[int]]: + """ + Defines the rate limit QPS + """ + return pulumi.get(self, "rate_limit_qps") + + @rate_limit_qps.setter + def rate_limit_qps(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "rate_limit_qps", value) + + @property + @pulumi.getter(name="retryCount") + def retry_count(self) -> Optional[pulumi.Input[int]]: + """ + Describe the amount of time we should try and poll the data in case of failure + """ + return pulumi.get(self, "retry_count") + + @retry_count.setter + def retry_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "retry_count", value) + + @property + @pulumi.getter(name="startTimeAttributeName") + def start_time_attribute_name(self) -> Optional[pulumi.Input[str]]: + """ + This will be used the query events from a start of the time window + """ + return pulumi.get(self, "start_time_attribute_name") + + @start_time_attribute_name.setter + def start_time_attribute_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start_time_attribute_name", value) + + @property + @pulumi.getter(name="timeoutInSeconds") + def timeout_in_seconds(self) -> Optional[pulumi.Input[int]]: + """ + The number of seconds we will consider as a request timeout + """ + return pulumi.get(self, "timeout_in_seconds") + + @timeout_in_seconds.setter + def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "timeout_in_seconds", value) + + +@pulumi.input_type +class CodelessConnectorPollingResponsePropertiesArgs: + def __init__(__self__, *, + events_json_paths: pulumi.Input[Sequence[pulumi.Input[str]]], + is_gzip_compressed: Optional[pulumi.Input[bool]] = None, + success_status_json_path: Optional[pulumi.Input[str]] = None, + success_status_value: Optional[pulumi.Input[str]] = None): + """ + Describes the response from the external server + :param pulumi.Input[Sequence[pulumi.Input[str]]] events_json_paths: Describes the path we should extract the data in the response + :param pulumi.Input[bool] is_gzip_compressed: Describes if the data in the response is Gzip + :param pulumi.Input[str] success_status_json_path: Describes the path we should extract the status code in the response + :param pulumi.Input[str] success_status_value: Describes the path we should extract the status value in the response + """ + pulumi.set(__self__, "events_json_paths", events_json_paths) + if is_gzip_compressed is not None: + pulumi.set(__self__, "is_gzip_compressed", is_gzip_compressed) + if success_status_json_path is not None: + pulumi.set(__self__, "success_status_json_path", success_status_json_path) + if success_status_value is not None: + pulumi.set(__self__, "success_status_value", success_status_value) + + @property + @pulumi.getter(name="eventsJsonPaths") + def events_json_paths(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Describes the path we should extract the data in the response + """ + return pulumi.get(self, "events_json_paths") + + @events_json_paths.setter + def events_json_paths(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "events_json_paths", value) + + @property + @pulumi.getter(name="isGzipCompressed") + def is_gzip_compressed(self) -> Optional[pulumi.Input[bool]]: + """ + Describes if the data in the response is Gzip + """ + return pulumi.get(self, "is_gzip_compressed") + + @is_gzip_compressed.setter + def is_gzip_compressed(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_gzip_compressed", value) + + @property + @pulumi.getter(name="successStatusJsonPath") + def success_status_json_path(self) -> Optional[pulumi.Input[str]]: + """ + Describes the path we should extract the status code in the response + """ + return pulumi.get(self, "success_status_json_path") + + @success_status_json_path.setter + def success_status_json_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "success_status_json_path", value) + + @property + @pulumi.getter(name="successStatusValue") + def success_status_value(self) -> Optional[pulumi.Input[str]]: + """ + Describes the path we should extract the status value in the response + """ + return pulumi.get(self, "success_status_value") + + @success_status_value.setter + def success_status_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "success_status_value", value) + + +@pulumi.input_type +class CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input[Union[str, 'ConnectivityType']]] = None, + value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Union[str, 'ConnectivityType']] type: type of connectivity + :param pulumi.Input[Sequence[pulumi.Input[str]]] value: Queries for checking connectivity + """ + if type is not None: + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ConnectivityType']]]: + """ + type of connectivity + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ConnectivityType']]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Queries for checking connectivity + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class CodelessUiConnectorConfigPropertiesDataTypesArgs: + def __init__(__self__, *, + last_data_received_query: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] last_data_received_query: Query for indicate last data received + :param pulumi.Input[str] name: Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + """ + if last_data_received_query is not None: + pulumi.set(__self__, "last_data_received_query", last_data_received_query) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="lastDataReceivedQuery") + def last_data_received_query(self) -> Optional[pulumi.Input[str]]: + """ + Query for indicate last data received + """ + return pulumi.get(self, "last_data_received_query") + + @last_data_received_query.setter + def last_data_received_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_data_received_query", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class CodelessUiConnectorConfigPropertiesGraphQueriesArgs: + def __init__(__self__, *, + base_query: Optional[pulumi.Input[str]] = None, + legend: Optional[pulumi.Input[str]] = None, + metric_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] base_query: The base query for the graph + :param pulumi.Input[str] legend: The legend for the graph + :param pulumi.Input[str] metric_name: the metric that the query is checking + """ + if base_query is not None: + pulumi.set(__self__, "base_query", base_query) + if legend is not None: + pulumi.set(__self__, "legend", legend) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + + @property + @pulumi.getter(name="baseQuery") + def base_query(self) -> Optional[pulumi.Input[str]]: + """ + The base query for the graph + """ + return pulumi.get(self, "base_query") + + @base_query.setter + def base_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "base_query", value) + + @property + @pulumi.getter + def legend(self) -> Optional[pulumi.Input[str]]: + """ + The legend for the graph + """ + return pulumi.get(self, "legend") + + @legend.setter + def legend(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "legend", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> Optional[pulumi.Input[str]]: + """ + the metric that the query is checking + """ + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metric_name", value) + + +@pulumi.input_type +class CodelessUiConnectorConfigPropertiesInstructionStepsArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + instructions: Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepsInstructionsArgs']]]] = None, + title: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] description: Instruction step description + :param pulumi.Input[Sequence[pulumi.Input['InstructionStepsInstructionsArgs']]] instructions: Instruction step details + :param pulumi.Input[str] title: Instruction step title + """ + if description is not None: + pulumi.set(__self__, "description", description) + if instructions is not None: + pulumi.set(__self__, "instructions", instructions) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Instruction step description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def instructions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepsInstructionsArgs']]]]: + """ + Instruction step details + """ + return pulumi.get(self, "instructions") + + @instructions.setter + def instructions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepsInstructionsArgs']]]]): + pulumi.set(self, "instructions", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + """ + Instruction step title + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + +@pulumi.input_type +class CodelessUiConnectorConfigPropertiesSampleQueriesArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] description: The sample query description + :param pulumi.Input[str] query: the sample query + """ + if description is not None: + pulumi.set(__self__, "description", description) + if query is not None: + pulumi.set(__self__, "query", query) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The sample query description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def query(self) -> Optional[pulumi.Input[str]]: + """ + the sample query + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query", value) + + +@pulumi.input_type +class CodelessUiConnectorConfigPropertiesArgs: + def __init__(__self__, *, + availability: pulumi.Input['AvailabilityArgs'], + connectivity_criteria: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs']]], + data_types: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesDataTypesArgs']]], + description_markdown: pulumi.Input[str], + graph_queries: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesGraphQueriesArgs']]], + graph_queries_table_name: pulumi.Input[str], + instruction_steps: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesInstructionStepsArgs']]], + permissions: pulumi.Input['PermissionsArgs'], + publisher: pulumi.Input[str], + sample_queries: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesSampleQueriesArgs']]], + title: pulumi.Input[str], + custom_image: Optional[pulumi.Input[str]] = None): + """ + Config to describe the instructions blade + :param pulumi.Input['AvailabilityArgs'] availability: Connector Availability Status + :param pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs']]] connectivity_criteria: Define the way the connector check connectivity + :param pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesDataTypesArgs']]] data_types: Data types to check for last data received + :param pulumi.Input[str] description_markdown: Connector description + :param pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesGraphQueriesArgs']]] graph_queries: The graph query to show the current data status + :param pulumi.Input[str] graph_queries_table_name: Name of the table the connector will insert the data to + :param pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesInstructionStepsArgs']]] instruction_steps: Instruction steps to enable the connector + :param pulumi.Input['PermissionsArgs'] permissions: Permissions required for the connector + :param pulumi.Input[str] publisher: Connector publisher name + :param pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesSampleQueriesArgs']]] sample_queries: The sample queries for the connector + :param pulumi.Input[str] title: Connector blade title + :param pulumi.Input[str] custom_image: An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + """ + pulumi.set(__self__, "availability", availability) + pulumi.set(__self__, "connectivity_criteria", connectivity_criteria) + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "description_markdown", description_markdown) + pulumi.set(__self__, "graph_queries", graph_queries) + pulumi.set(__self__, "graph_queries_table_name", graph_queries_table_name) + pulumi.set(__self__, "instruction_steps", instruction_steps) + pulumi.set(__self__, "permissions", permissions) + pulumi.set(__self__, "publisher", publisher) + pulumi.set(__self__, "sample_queries", sample_queries) + pulumi.set(__self__, "title", title) + if custom_image is not None: + pulumi.set(__self__, "custom_image", custom_image) + + @property + @pulumi.getter + def availability(self) -> pulumi.Input['AvailabilityArgs']: + """ + Connector Availability Status + """ + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: pulumi.Input['AvailabilityArgs']): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="connectivityCriteria") + def connectivity_criteria(self) -> pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs']]]: + """ + Define the way the connector check connectivity + """ + return pulumi.get(self, "connectivity_criteria") + + @connectivity_criteria.setter + def connectivity_criteria(self, value: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesConnectivityCriteriaArgs']]]): + pulumi.set(self, "connectivity_criteria", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesDataTypesArgs']]]: + """ + Data types to check for last data received + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesDataTypesArgs']]]): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter(name="descriptionMarkdown") + def description_markdown(self) -> pulumi.Input[str]: + """ + Connector description + """ + return pulumi.get(self, "description_markdown") + + @description_markdown.setter + def description_markdown(self, value: pulumi.Input[str]): + pulumi.set(self, "description_markdown", value) + + @property + @pulumi.getter(name="graphQueries") + def graph_queries(self) -> pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesGraphQueriesArgs']]]: + """ + The graph query to show the current data status + """ + return pulumi.get(self, "graph_queries") + + @graph_queries.setter + def graph_queries(self, value: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesGraphQueriesArgs']]]): + pulumi.set(self, "graph_queries", value) + + @property + @pulumi.getter(name="graphQueriesTableName") + def graph_queries_table_name(self) -> pulumi.Input[str]: + """ + Name of the table the connector will insert the data to + """ + return pulumi.get(self, "graph_queries_table_name") + + @graph_queries_table_name.setter + def graph_queries_table_name(self, value: pulumi.Input[str]): + pulumi.set(self, "graph_queries_table_name", value) + + @property + @pulumi.getter(name="instructionSteps") + def instruction_steps(self) -> pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesInstructionStepsArgs']]]: + """ + Instruction steps to enable the connector + """ + return pulumi.get(self, "instruction_steps") + + @instruction_steps.setter + def instruction_steps(self, value: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesInstructionStepsArgs']]]): + pulumi.set(self, "instruction_steps", value) + + @property + @pulumi.getter + def permissions(self) -> pulumi.Input['PermissionsArgs']: + """ + Permissions required for the connector + """ + return pulumi.get(self, "permissions") + + @permissions.setter + def permissions(self, value: pulumi.Input['PermissionsArgs']): + pulumi.set(self, "permissions", value) + + @property + @pulumi.getter + def publisher(self) -> pulumi.Input[str]: + """ + Connector publisher name + """ + return pulumi.get(self, "publisher") + + @publisher.setter + def publisher(self, value: pulumi.Input[str]): + pulumi.set(self, "publisher", value) + + @property + @pulumi.getter(name="sampleQueries") + def sample_queries(self) -> pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesSampleQueriesArgs']]]: + """ + The sample queries for the connector + """ + return pulumi.get(self, "sample_queries") + + @sample_queries.setter + def sample_queries(self, value: pulumi.Input[Sequence[pulumi.Input['CodelessUiConnectorConfigPropertiesSampleQueriesArgs']]]): + pulumi.set(self, "sample_queries", value) + + @property + @pulumi.getter + def title(self) -> pulumi.Input[str]: + """ + Connector blade title + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: pulumi.Input[str]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter(name="customImage") + def custom_image(self) -> Optional[pulumi.Input[str]]: + """ + An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + """ + return pulumi.get(self, "custom_image") + + @custom_image.setter + def custom_image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_image", value) + + +@pulumi.input_type +class ConnectivityCriterionArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The criteria by which we determine whether the connector is connected or not. + For Example, use a KQL query to check if the expected data type is flowing). + :param pulumi.Input[str] type: Gets or sets the type of connectivity. + :param pulumi.Input[Sequence[pulumi.Input[str]]] value: Gets or sets the queries for checking connectivity. + """ + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Gets or sets the type of connectivity. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the queries for checking connectivity. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class ConnectorDataTypeArgs: + def __init__(__self__, *, + last_data_received_query: pulumi.Input[str], + name: pulumi.Input[str]): + """ + The data type which is created by the connector, + including a query indicated when was the last time that data type was received in the workspace. + :param pulumi.Input[str] last_data_received_query: Gets or sets the query to indicate when relevant data was last received in the workspace. + :param pulumi.Input[str] name: Gets or sets the name of the data type to show in the graph. + """ + pulumi.set(__self__, "last_data_received_query", last_data_received_query) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="lastDataReceivedQuery") + def last_data_received_query(self) -> pulumi.Input[str]: + """ + Gets or sets the query to indicate when relevant data was last received in the workspace. + """ + return pulumi.get(self, "last_data_received_query") + + @last_data_received_query.setter + def last_data_received_query(self, value: pulumi.Input[str]): + pulumi.set(self, "last_data_received_query", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Gets or sets the name of the data type to show in the graph. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class ConnectorDefinitionsAvailabilityArgs: + def __init__(__self__, *, + is_preview: Optional[pulumi.Input[bool]] = None, + status: Optional[pulumi.Input[int]] = None): + """ + The exposure status of the connector to the customers. + :param pulumi.Input[bool] is_preview: Gets or sets a value indicating whether the connector is preview. + :param pulumi.Input[int] status: The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + """ + if is_preview is not None: + pulumi.set(__self__, "is_preview", is_preview) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> Optional[pulumi.Input[bool]]: + """ + Gets or sets a value indicating whether the connector is preview. + """ + return pulumi.get(self, "is_preview") + + @is_preview.setter + def is_preview(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_preview", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[int]]: + """ + The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class ConnectorDefinitionsPermissionsArgs: + def __init__(__self__, *, + customs: Optional[pulumi.Input[Sequence[pulumi.Input['CustomPermissionDetailsArgs']]]] = None, + licenses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_provider: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorDefinitionsResourceProviderArgs']]]] = None, + tenant: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The required Permissions for the connector. + :param pulumi.Input[Sequence[pulumi.Input['CustomPermissionDetailsArgs']]] customs: Gets or sets the customs permissions required for the user to create connections. + :param pulumi.Input[Sequence[pulumi.Input[str]]] licenses: Gets or sets the required licenses for the user to create connections. + :param pulumi.Input[Sequence[pulumi.Input['ConnectorDefinitionsResourceProviderArgs']]] resource_provider: Gets or sets the resource provider permissions required for the user to create connections. + :param pulumi.Input[Sequence[pulumi.Input[str]]] tenant: Gets or sets the required tenant permissions for the connector. + """ + if customs is not None: + pulumi.set(__self__, "customs", customs) + if licenses is not None: + pulumi.set(__self__, "licenses", licenses) + if resource_provider is not None: + pulumi.set(__self__, "resource_provider", resource_provider) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + + @property + @pulumi.getter + def customs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CustomPermissionDetailsArgs']]]]: + """ + Gets or sets the customs permissions required for the user to create connections. + """ + return pulumi.get(self, "customs") + + @customs.setter + def customs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CustomPermissionDetailsArgs']]]]): + pulumi.set(self, "customs", value) + + @property + @pulumi.getter + def licenses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the required licenses for the user to create connections. + """ + return pulumi.get(self, "licenses") + + @licenses.setter + def licenses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "licenses", value) + + @property + @pulumi.getter(name="resourceProvider") + def resource_provider(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorDefinitionsResourceProviderArgs']]]]: + """ + Gets or sets the resource provider permissions required for the user to create connections. + """ + return pulumi.get(self, "resource_provider") + + @resource_provider.setter + def resource_provider(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorDefinitionsResourceProviderArgs']]]]): + pulumi.set(self, "resource_provider", value) + + @property + @pulumi.getter + def tenant(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Gets or sets the required tenant permissions for the connector. + """ + return pulumi.get(self, "tenant") + + @tenant.setter + def tenant(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tenant", value) + + +@pulumi.input_type +class ConnectorDefinitionsResourceProviderArgs: + def __init__(__self__, *, + permissions_display_text: pulumi.Input[str], + provider: pulumi.Input[str], + provider_display_name: pulumi.Input[str], + required_permissions: pulumi.Input['ResourceProviderRequiredPermissionsArgs'], + scope: pulumi.Input[Union[str, 'ProviderPermissionsScope']]): + """ + The resource provider details include the required permissions for the user to create connections. + The user should have the required permissions(Read\\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + :param pulumi.Input[str] permissions_display_text: Gets or sets the permissions description text. + :param pulumi.Input[str] provider: Gets or sets the provider name. + :param pulumi.Input[str] provider_display_name: Gets or sets the permissions provider display name. + :param pulumi.Input['ResourceProviderRequiredPermissionsArgs'] required_permissions: Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + :param pulumi.Input[Union[str, 'ProviderPermissionsScope']] scope: The scope on which the user should have permissions, in order to be able to create connections. + """ + pulumi.set(__self__, "permissions_display_text", permissions_display_text) + pulumi.set(__self__, "provider", provider) + pulumi.set(__self__, "provider_display_name", provider_display_name) + pulumi.set(__self__, "required_permissions", required_permissions) + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="permissionsDisplayText") + def permissions_display_text(self) -> pulumi.Input[str]: + """ + Gets or sets the permissions description text. + """ + return pulumi.get(self, "permissions_display_text") + + @permissions_display_text.setter + def permissions_display_text(self, value: pulumi.Input[str]): + pulumi.set(self, "permissions_display_text", value) + + @property + @pulumi.getter + def provider(self) -> pulumi.Input[str]: + """ + Gets or sets the provider name. + """ + return pulumi.get(self, "provider") + + @provider.setter + def provider(self, value: pulumi.Input[str]): + pulumi.set(self, "provider", value) + + @property + @pulumi.getter(name="providerDisplayName") + def provider_display_name(self) -> pulumi.Input[str]: + """ + Gets or sets the permissions provider display name. + """ + return pulumi.get(self, "provider_display_name") + + @provider_display_name.setter + def provider_display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "provider_display_name", value) + + @property + @pulumi.getter(name="requiredPermissions") + def required_permissions(self) -> pulumi.Input['ResourceProviderRequiredPermissionsArgs']: + """ + Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + """ + return pulumi.get(self, "required_permissions") + + @required_permissions.setter + def required_permissions(self, value: pulumi.Input['ResourceProviderRequiredPermissionsArgs']): + pulumi.set(self, "required_permissions", value) + + @property + @pulumi.getter + def scope(self) -> pulumi.Input[Union[str, 'ProviderPermissionsScope']]: + """ + The scope on which the user should have permissions, in order to be able to create connections. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: pulumi.Input[Union[str, 'ProviderPermissionsScope']]): + pulumi.set(self, "scope", value) + + +@pulumi.input_type +class CustomPermissionDetailsArgs: + def __init__(__self__, *, + description: pulumi.Input[str], + name: pulumi.Input[str]): + """ + The Custom permissions required for the connector. + :param pulumi.Input[str] description: Gets or sets the custom permissions description. + :param pulumi.Input[str] name: Gets or sets the custom permissions name. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + Gets or sets the custom permissions description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Gets or sets the custom permissions name. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class CustomizableConnectionsConfigArgs: + def __init__(__self__, *, + template_spec_name: pulumi.Input[str], + template_spec_version: pulumi.Input[str]): + """ + The UiConfig for 'Customizable' connector definition kind. + :param pulumi.Input[str] template_spec_name: Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + :param pulumi.Input[str] template_spec_version: Gets or sets the template version. + """ + pulumi.set(__self__, "template_spec_name", template_spec_name) + pulumi.set(__self__, "template_spec_version", template_spec_version) + + @property + @pulumi.getter(name="templateSpecName") + def template_spec_name(self) -> pulumi.Input[str]: + """ + Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + """ + return pulumi.get(self, "template_spec_name") + + @template_spec_name.setter + def template_spec_name(self, value: pulumi.Input[str]): + pulumi.set(self, "template_spec_name", value) + + @property + @pulumi.getter(name="templateSpecVersion") + def template_spec_version(self) -> pulumi.Input[str]: + """ + Gets or sets the template version. + """ + return pulumi.get(self, "template_spec_version") + + @template_spec_version.setter + def template_spec_version(self, value: pulumi.Input[str]): + pulumi.set(self, "template_spec_version", value) + + +@pulumi.input_type +class CustomizableConnectorUiConfigArgs: + def __init__(__self__, *, + connectivity_criteria: pulumi.Input[Sequence[pulumi.Input['ConnectivityCriterionArgs']]], + data_types: pulumi.Input[Sequence[pulumi.Input['ConnectorDataTypeArgs']]], + description_markdown: pulumi.Input[str], + graph_queries: pulumi.Input[Sequence[pulumi.Input['GraphQueryArgs']]], + instruction_steps: pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]], + permissions: pulumi.Input['ConnectorDefinitionsPermissionsArgs'], + publisher: pulumi.Input[str], + sample_queries: pulumi.Input[Sequence[pulumi.Input['SampleQueryArgs']]], + title: pulumi.Input[str], + availability: Optional[pulumi.Input['ConnectorDefinitionsAvailabilityArgs']] = None, + graph_queries_table_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_connectivity_criterias_match_some: Optional[pulumi.Input[bool]] = None, + logo: Optional[pulumi.Input[str]] = None): + """ + The UiConfig for 'Customizable' connector definition kind. + :param pulumi.Input[Sequence[pulumi.Input['ConnectivityCriterionArgs']]] connectivity_criteria: Gets or sets the way the connector checks whether the connector is connected. + :param pulumi.Input[Sequence[pulumi.Input['ConnectorDataTypeArgs']]] data_types: Gets or sets the data types to check for last data received. + :param pulumi.Input[str] description_markdown: Gets or sets the connector description in markdown format. + :param pulumi.Input[Sequence[pulumi.Input['GraphQueryArgs']]] graph_queries: Gets or sets the graph queries to show the current data volume over time. + :param pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]] instruction_steps: Gets or sets the instruction steps to enable the connector. + :param pulumi.Input['ConnectorDefinitionsPermissionsArgs'] permissions: The required Permissions for the connector. + :param pulumi.Input[str] publisher: Gets or sets the connector publisher name. + :param pulumi.Input[Sequence[pulumi.Input['SampleQueryArgs']]] sample_queries: Gets or sets the sample queries for the connector. + :param pulumi.Input[str] title: Gets or sets the connector blade title. + :param pulumi.Input['ConnectorDefinitionsAvailabilityArgs'] availability: The exposure status of the connector to the customers. + :param pulumi.Input[str] graph_queries_table_name: Gets or sets the name of the table the connector will insert the data to. + This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + in Query and LastDataReceivedQuery values. + :param pulumi.Input[str] id: Gets or sets custom connector id. optional field. + :param pulumi.Input[bool] is_connectivity_criterias_match_some: Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + :param pulumi.Input[str] logo: Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + The logo value should be in SVG format. + """ + pulumi.set(__self__, "connectivity_criteria", connectivity_criteria) + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "description_markdown", description_markdown) + pulumi.set(__self__, "graph_queries", graph_queries) + pulumi.set(__self__, "instruction_steps", instruction_steps) + pulumi.set(__self__, "permissions", permissions) + pulumi.set(__self__, "publisher", publisher) + pulumi.set(__self__, "sample_queries", sample_queries) + pulumi.set(__self__, "title", title) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if graph_queries_table_name is not None: + pulumi.set(__self__, "graph_queries_table_name", graph_queries_table_name) + if id is not None: + pulumi.set(__self__, "id", id) + if is_connectivity_criterias_match_some is not None: + pulumi.set(__self__, "is_connectivity_criterias_match_some", is_connectivity_criterias_match_some) + if logo is not None: + pulumi.set(__self__, "logo", logo) + + @property + @pulumi.getter(name="connectivityCriteria") + def connectivity_criteria(self) -> pulumi.Input[Sequence[pulumi.Input['ConnectivityCriterionArgs']]]: + """ + Gets or sets the way the connector checks whether the connector is connected. + """ + return pulumi.get(self, "connectivity_criteria") + + @connectivity_criteria.setter + def connectivity_criteria(self, value: pulumi.Input[Sequence[pulumi.Input['ConnectivityCriterionArgs']]]): + pulumi.set(self, "connectivity_criteria", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input[Sequence[pulumi.Input['ConnectorDataTypeArgs']]]: + """ + Gets or sets the data types to check for last data received. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input[Sequence[pulumi.Input['ConnectorDataTypeArgs']]]): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter(name="descriptionMarkdown") + def description_markdown(self) -> pulumi.Input[str]: + """ + Gets or sets the connector description in markdown format. + """ + return pulumi.get(self, "description_markdown") + + @description_markdown.setter + def description_markdown(self, value: pulumi.Input[str]): + pulumi.set(self, "description_markdown", value) + + @property + @pulumi.getter(name="graphQueries") + def graph_queries(self) -> pulumi.Input[Sequence[pulumi.Input['GraphQueryArgs']]]: + """ + Gets or sets the graph queries to show the current data volume over time. + """ + return pulumi.get(self, "graph_queries") + + @graph_queries.setter + def graph_queries(self, value: pulumi.Input[Sequence[pulumi.Input['GraphQueryArgs']]]): + pulumi.set(self, "graph_queries", value) + + @property + @pulumi.getter(name="instructionSteps") + def instruction_steps(self) -> pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]]: + """ + Gets or sets the instruction steps to enable the connector. + """ + return pulumi.get(self, "instruction_steps") + + @instruction_steps.setter + def instruction_steps(self, value: pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]]): + pulumi.set(self, "instruction_steps", value) + + @property + @pulumi.getter + def permissions(self) -> pulumi.Input['ConnectorDefinitionsPermissionsArgs']: + """ + The required Permissions for the connector. + """ + return pulumi.get(self, "permissions") + + @permissions.setter + def permissions(self, value: pulumi.Input['ConnectorDefinitionsPermissionsArgs']): + pulumi.set(self, "permissions", value) + + @property + @pulumi.getter + def publisher(self) -> pulumi.Input[str]: + """ + Gets or sets the connector publisher name. + """ + return pulumi.get(self, "publisher") + + @publisher.setter + def publisher(self, value: pulumi.Input[str]): + pulumi.set(self, "publisher", value) + + @property + @pulumi.getter(name="sampleQueries") + def sample_queries(self) -> pulumi.Input[Sequence[pulumi.Input['SampleQueryArgs']]]: + """ + Gets or sets the sample queries for the connector. + """ + return pulumi.get(self, "sample_queries") + + @sample_queries.setter + def sample_queries(self, value: pulumi.Input[Sequence[pulumi.Input['SampleQueryArgs']]]): + pulumi.set(self, "sample_queries", value) + + @property + @pulumi.getter + def title(self) -> pulumi.Input[str]: + """ + Gets or sets the connector blade title. + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: pulumi.Input[str]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter + def availability(self) -> Optional[pulumi.Input['ConnectorDefinitionsAvailabilityArgs']]: + """ + The exposure status of the connector to the customers. + """ + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[pulumi.Input['ConnectorDefinitionsAvailabilityArgs']]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="graphQueriesTableName") + def graph_queries_table_name(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the name of the table the connector will insert the data to. + This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + in Query and LastDataReceivedQuery values. + """ + return pulumi.get(self, "graph_queries_table_name") + + @graph_queries_table_name.setter + def graph_queries_table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "graph_queries_table_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets custom connector id. optional field. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="isConnectivityCriteriasMatchSome") + def is_connectivity_criterias_match_some(self) -> Optional[pulumi.Input[bool]]: + """ + Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + """ + return pulumi.get(self, "is_connectivity_criterias_match_some") + + @is_connectivity_criterias_match_some.setter + def is_connectivity_criterias_match_some(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_connectivity_criterias_match_some", value) + + @property + @pulumi.getter + def logo(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + The logo value should be in SVG format. + """ + return pulumi.get(self, "logo") + + @logo.setter + def logo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "logo", value) + + +@pulumi.input_type +class DCRConfigurationArgs: + def __init__(__self__, *, + data_collection_endpoint: pulumi.Input[str], + data_collection_rule_immutable_id: pulumi.Input[str], + stream_name: pulumi.Input[str]): + """ + The configuration of the destination of the data. + :param pulumi.Input[str] data_collection_endpoint: Represents the data collection ingestion endpoint in log analytics. + :param pulumi.Input[str] data_collection_rule_immutable_id: The data collection rule immutable id, the rule defines the transformation and data destination. + :param pulumi.Input[str] stream_name: The stream we are sending the data to. + """ + pulumi.set(__self__, "data_collection_endpoint", data_collection_endpoint) + pulumi.set(__self__, "data_collection_rule_immutable_id", data_collection_rule_immutable_id) + pulumi.set(__self__, "stream_name", stream_name) + + @property + @pulumi.getter(name="dataCollectionEndpoint") + def data_collection_endpoint(self) -> pulumi.Input[str]: + """ + Represents the data collection ingestion endpoint in log analytics. + """ + return pulumi.get(self, "data_collection_endpoint") + + @data_collection_endpoint.setter + def data_collection_endpoint(self, value: pulumi.Input[str]): + pulumi.set(self, "data_collection_endpoint", value) + + @property + @pulumi.getter(name="dataCollectionRuleImmutableId") + def data_collection_rule_immutable_id(self) -> pulumi.Input[str]: + """ + The data collection rule immutable id, the rule defines the transformation and data destination. + """ + return pulumi.get(self, "data_collection_rule_immutable_id") + + @data_collection_rule_immutable_id.setter + def data_collection_rule_immutable_id(self, value: pulumi.Input[str]): + pulumi.set(self, "data_collection_rule_immutable_id", value) + + @property + @pulumi.getter(name="streamName") + def stream_name(self) -> pulumi.Input[str]: + """ + The stream we are sending the data to. + """ + return pulumi.get(self, "stream_name") + + @stream_name.setter + def stream_name(self, value: pulumi.Input[str]): + pulumi.set(self, "stream_name", value) + + +@pulumi.input_type +class DataConnectorDataTypeCommonArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Common field for data type in data connectors. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Common Data Service data type connection. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class Dynamics365DataConnectorDataTypesArgs: + def __init__(__self__, *, + dynamics365_cds_activities: pulumi.Input['Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs']): + """ + The available data types for Dynamics365 data connector. + :param pulumi.Input['Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs'] dynamics365_cds_activities: Common Data Service data type connection. + """ + pulumi.set(__self__, "dynamics365_cds_activities", dynamics365_cds_activities) + + @property + @pulumi.getter(name="dynamics365CdsActivities") + def dynamics365_cds_activities(self) -> pulumi.Input['Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs']: + """ + Common Data Service data type connection. + """ + return pulumi.get(self, "dynamics365_cds_activities") + + @dynamics365_cds_activities.setter + def dynamics365_cds_activities(self, value: pulumi.Input['Dynamics365DataConnectorDataTypesDynamics365CdsActivitiesArgs']): + pulumi.set(self, "dynamics365_cds_activities", value) + + +@pulumi.input_type +class EntityFieldMappingArgs: + def __init__(__self__, *, + identifier: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): + """ + Map identifiers of a single entity + :param pulumi.Input[str] identifier: Alert V3 identifier + :param pulumi.Input[str] value: The value of the identifier + """ + if identifier is not None: + pulumi.set(__self__, "identifier", identifier) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def identifier(self) -> Optional[pulumi.Input[str]]: + """ + Alert V3 identifier + """ + return pulumi.get(self, "identifier") + + @identifier.setter + def identifier(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "identifier", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The value of the identifier + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class EntityMappingArgs: + def __init__(__self__, *, + entity_type: Optional[pulumi.Input[Union[str, 'EntityMappingType']]] = None, + field_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['FieldMappingArgs']]]] = None): + """ + Single entity mapping for the alert rule + :param pulumi.Input[Union[str, 'EntityMappingType']] entity_type: The V3 type of the mapped entity + :param pulumi.Input[Sequence[pulumi.Input['FieldMappingArgs']]] field_mappings: array of field mappings for the given entity mapping + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if field_mappings is not None: + pulumi.set(__self__, "field_mappings", field_mappings) + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> Optional[pulumi.Input[Union[str, 'EntityMappingType']]]: + """ + The V3 type of the mapped entity + """ + return pulumi.get(self, "entity_type") + + @entity_type.setter + def entity_type(self, value: Optional[pulumi.Input[Union[str, 'EntityMappingType']]]): + pulumi.set(self, "entity_type", value) + + @property + @pulumi.getter(name="fieldMappings") + def field_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FieldMappingArgs']]]]: + """ + array of field mappings for the given entity mapping + """ + return pulumi.get(self, "field_mappings") + + @field_mappings.setter + def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FieldMappingArgs']]]]): + pulumi.set(self, "field_mappings", value) + + +@pulumi.input_type +class EventGroupingSettingsArgs: + def __init__(__self__, *, + aggregation_kind: Optional[pulumi.Input[Union[str, 'EventGroupingAggregationKind']]] = None): + """ + Event grouping settings property bag. + :param pulumi.Input[Union[str, 'EventGroupingAggregationKind']] aggregation_kind: The event grouping aggregation kinds + """ + if aggregation_kind is not None: + pulumi.set(__self__, "aggregation_kind", aggregation_kind) + + @property + @pulumi.getter(name="aggregationKind") + def aggregation_kind(self) -> Optional[pulumi.Input[Union[str, 'EventGroupingAggregationKind']]]: + """ + The event grouping aggregation kinds + """ + return pulumi.get(self, "aggregation_kind") + + @aggregation_kind.setter + def aggregation_kind(self, value: Optional[pulumi.Input[Union[str, 'EventGroupingAggregationKind']]]): + pulumi.set(self, "aggregation_kind", value) + + +@pulumi.input_type +class FieldMappingArgs: + def __init__(__self__, *, + column_name: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None): + """ + A single field mapping of the mapped entity + :param pulumi.Input[str] column_name: the column name to be mapped to the identifier + :param pulumi.Input[str] identifier: the V3 identifier of the entity + """ + if column_name is not None: + pulumi.set(__self__, "column_name", column_name) + if identifier is not None: + pulumi.set(__self__, "identifier", identifier) + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> Optional[pulumi.Input[str]]: + """ + the column name to be mapped to the identifier + """ + return pulumi.get(self, "column_name") + + @column_name.setter + def column_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "column_name", value) + + @property + @pulumi.getter + def identifier(self) -> Optional[pulumi.Input[str]]: + """ + the V3 identifier of the entity + """ + return pulumi.get(self, "identifier") + + @identifier.setter + def identifier(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "identifier", value) + + +@pulumi.input_type +class FileMetadataArgs: + def __init__(__self__, *, + file_format: Optional[pulumi.Input[Union[str, 'FileFormat']]] = None, + file_name: Optional[pulumi.Input[str]] = None, + file_size: Optional[pulumi.Input[int]] = None): + """ + Represents a file. + :param pulumi.Input[Union[str, 'FileFormat']] file_format: The format of the file + :param pulumi.Input[str] file_name: The name of the file. + :param pulumi.Input[int] file_size: The size of the file. + """ + if file_format is not None: + pulumi.set(__self__, "file_format", file_format) + if file_name is not None: + pulumi.set(__self__, "file_name", file_name) + if file_size is not None: + pulumi.set(__self__, "file_size", file_size) + + @property + @pulumi.getter(name="fileFormat") + def file_format(self) -> Optional[pulumi.Input[Union[str, 'FileFormat']]]: + """ + The format of the file + """ + return pulumi.get(self, "file_format") + + @file_format.setter + def file_format(self, value: Optional[pulumi.Input[Union[str, 'FileFormat']]]): + pulumi.set(self, "file_format", value) + + @property + @pulumi.getter(name="fileName") + def file_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the file. + """ + return pulumi.get(self, "file_name") + + @file_name.setter + def file_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "file_name", value) + + @property + @pulumi.getter(name="fileSize") + def file_size(self) -> Optional[pulumi.Input[int]]: + """ + The size of the file. + """ + return pulumi.get(self, "file_size") + + @file_size.setter + def file_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "file_size", value) + + +@pulumi.input_type +class FusionScenarioExclusionPatternArgs: + def __init__(__self__, *, + date_added_in_utc: pulumi.Input[str], + exclusion_pattern: pulumi.Input[str]): + """ + Represents a Fusion scenario exclusion patterns in Fusion detection. + :param pulumi.Input[str] date_added_in_utc: DateTime when scenario exclusion pattern is added in UTC. + :param pulumi.Input[str] exclusion_pattern: Scenario exclusion pattern. + """ + pulumi.set(__self__, "date_added_in_utc", date_added_in_utc) + pulumi.set(__self__, "exclusion_pattern", exclusion_pattern) + + @property + @pulumi.getter(name="dateAddedInUTC") + def date_added_in_utc(self) -> pulumi.Input[str]: + """ + DateTime when scenario exclusion pattern is added in UTC. + """ + return pulumi.get(self, "date_added_in_utc") + + @date_added_in_utc.setter + def date_added_in_utc(self, value: pulumi.Input[str]): + pulumi.set(self, "date_added_in_utc", value) + + @property + @pulumi.getter(name="exclusionPattern") + def exclusion_pattern(self) -> pulumi.Input[str]: + """ + Scenario exclusion pattern. + """ + return pulumi.get(self, "exclusion_pattern") + + @exclusion_pattern.setter + def exclusion_pattern(self, value: pulumi.Input[str]): + pulumi.set(self, "exclusion_pattern", value) + + +@pulumi.input_type +class FusionSourceSettingsArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + source_name: pulumi.Input[str], + source_sub_types: Optional[pulumi.Input[Sequence[pulumi.Input['FusionSourceSubTypeSettingArgs']]]] = None): + """ + Represents a supported source signal configuration in Fusion detection. + :param pulumi.Input[bool] enabled: Determines whether this source signal is enabled or disabled in Fusion detection. + :param pulumi.Input[str] source_name: Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + :param pulumi.Input[Sequence[pulumi.Input['FusionSourceSubTypeSettingArgs']]] source_sub_types: Configuration for all source subtypes under this source signal consumed in fusion detection. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "source_name", source_name) + if source_sub_types is not None: + pulumi.set(__self__, "source_sub_types", source_sub_types) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this source signal is enabled or disabled in Fusion detection. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="sourceName") + def source_name(self) -> pulumi.Input[str]: + """ + Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + """ + return pulumi.get(self, "source_name") + + @source_name.setter + def source_name(self, value: pulumi.Input[str]): + pulumi.set(self, "source_name", value) + + @property + @pulumi.getter(name="sourceSubTypes") + def source_sub_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FusionSourceSubTypeSettingArgs']]]]: + """ + Configuration for all source subtypes under this source signal consumed in fusion detection. + """ + return pulumi.get(self, "source_sub_types") + + @source_sub_types.setter + def source_sub_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FusionSourceSubTypeSettingArgs']]]]): + pulumi.set(self, "source_sub_types", value) + + +@pulumi.input_type +class FusionSourceSubTypeSettingArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + severity_filters: pulumi.Input['FusionSubTypeSeverityFilterArgs'], + source_sub_type_name: pulumi.Input[str]): + """ + Represents a supported source subtype configuration under a source signal in Fusion detection. + :param pulumi.Input[bool] enabled: Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + :param pulumi.Input['FusionSubTypeSeverityFilterArgs'] severity_filters: Severity configuration for a source subtype consumed in fusion detection. + :param pulumi.Input[str] source_sub_type_name: The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "severity_filters", severity_filters) + pulumi.set(__self__, "source_sub_type_name", source_sub_type_name) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="severityFilters") + def severity_filters(self) -> pulumi.Input['FusionSubTypeSeverityFilterArgs']: + """ + Severity configuration for a source subtype consumed in fusion detection. + """ + return pulumi.get(self, "severity_filters") + + @severity_filters.setter + def severity_filters(self, value: pulumi.Input['FusionSubTypeSeverityFilterArgs']): + pulumi.set(self, "severity_filters", value) + + @property + @pulumi.getter(name="sourceSubTypeName") + def source_sub_type_name(self) -> pulumi.Input[str]: + """ + The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + """ + return pulumi.get(self, "source_sub_type_name") + + @source_sub_type_name.setter + def source_sub_type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "source_sub_type_name", value) + + +@pulumi.input_type +class FusionSubTypeSeverityFiltersItemArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + severity: pulumi.Input[Union[str, 'AlertSeverity']]): + """ + Represents a Severity filter setting for a given source subtype consumed in Fusion detection. + :param pulumi.Input[bool] enabled: Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + :param pulumi.Input[Union[str, 'AlertSeverity']] severity: The Severity for a given source subtype consumed in Fusion detection. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "severity", severity) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def severity(self) -> pulumi.Input[Union[str, 'AlertSeverity']]: + """ + The Severity for a given source subtype consumed in Fusion detection. + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[Union[str, 'AlertSeverity']]): + pulumi.set(self, "severity", value) + + +@pulumi.input_type +class FusionSubTypeSeverityFilterArgs: + def __init__(__self__, *, + filters: Optional[pulumi.Input[Sequence[pulumi.Input['FusionSubTypeSeverityFiltersItemArgs']]]] = None): + """ + Represents severity configuration for a source subtype consumed in Fusion detection. + :param pulumi.Input[Sequence[pulumi.Input['FusionSubTypeSeverityFiltersItemArgs']]] filters: Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + """ + if filters is not None: + pulumi.set(__self__, "filters", filters) + + @property + @pulumi.getter + def filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FusionSubTypeSeverityFiltersItemArgs']]]]: + """ + Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + """ + return pulumi.get(self, "filters") + + @filters.setter + def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FusionSubTypeSeverityFiltersItemArgs']]]]): + pulumi.set(self, "filters", value) + + +@pulumi.input_type +class GCPAuthPropertiesArgs: + def __init__(__self__, *, + project_number: pulumi.Input[str], + service_account_email: pulumi.Input[str], + workload_identity_provider_id: pulumi.Input[str]): + """ + Google Cloud Platform auth section properties. + :param pulumi.Input[str] project_number: The GCP project number. + :param pulumi.Input[str] service_account_email: The service account that is used to access the GCP project. + :param pulumi.Input[str] workload_identity_provider_id: The workload identity provider id that is used to gain access to the GCP project. + """ + pulumi.set(__self__, "project_number", project_number) + pulumi.set(__self__, "service_account_email", service_account_email) + pulumi.set(__self__, "workload_identity_provider_id", workload_identity_provider_id) + + @property + @pulumi.getter(name="projectNumber") + def project_number(self) -> pulumi.Input[str]: + """ + The GCP project number. + """ + return pulumi.get(self, "project_number") + + @project_number.setter + def project_number(self, value: pulumi.Input[str]): + pulumi.set(self, "project_number", value) + + @property + @pulumi.getter(name="serviceAccountEmail") + def service_account_email(self) -> pulumi.Input[str]: + """ + The service account that is used to access the GCP project. + """ + return pulumi.get(self, "service_account_email") + + @service_account_email.setter + def service_account_email(self, value: pulumi.Input[str]): + pulumi.set(self, "service_account_email", value) + + @property + @pulumi.getter(name="workloadIdentityProviderId") + def workload_identity_provider_id(self) -> pulumi.Input[str]: + """ + The workload identity provider id that is used to gain access to the GCP project. + """ + return pulumi.get(self, "workload_identity_provider_id") + + @workload_identity_provider_id.setter + def workload_identity_provider_id(self, value: pulumi.Input[str]): + pulumi.set(self, "workload_identity_provider_id", value) + + +@pulumi.input_type +class GCPRequestPropertiesArgs: + def __init__(__self__, *, + project_id: pulumi.Input[str], + subscription_names: pulumi.Input[Sequence[pulumi.Input[str]]]): + """ + Google Cloud Platform request section properties. + :param pulumi.Input[str] project_id: The GCP project id. + :param pulumi.Input[Sequence[pulumi.Input[str]]] subscription_names: The GCP pub/sub subscription names. + """ + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "subscription_names", subscription_names) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[str]: + """ + The GCP project id. + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: pulumi.Input[str]): + pulumi.set(self, "project_id", value) + + @property + @pulumi.getter(name="subscriptionNames") + def subscription_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + The GCP pub/sub subscription names. + """ + return pulumi.get(self, "subscription_names") + + @subscription_names.setter + def subscription_names(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "subscription_names", value) + + +@pulumi.input_type +class GraphQueryArgs: + def __init__(__self__, *, + base_query: pulumi.Input[str], + legend: pulumi.Input[str], + metric_name: pulumi.Input[str]): + """ + The graph query to show the volume of data arriving into the workspace over time. + :param pulumi.Input[str] base_query: Gets or sets the base query for the graph. + The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + :param pulumi.Input[str] legend: Gets or sets the legend for the graph. + :param pulumi.Input[str] metric_name: Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + """ + pulumi.set(__self__, "base_query", base_query) + pulumi.set(__self__, "legend", legend) + pulumi.set(__self__, "metric_name", metric_name) + + @property + @pulumi.getter(name="baseQuery") + def base_query(self) -> pulumi.Input[str]: + """ + Gets or sets the base query for the graph. + The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + """ + return pulumi.get(self, "base_query") + + @base_query.setter + def base_query(self, value: pulumi.Input[str]): + pulumi.set(self, "base_query", value) + + @property + @pulumi.getter + def legend(self) -> pulumi.Input[str]: + """ + Gets or sets the legend for the graph. + """ + return pulumi.get(self, "legend") + + @legend.setter + def legend(self, value: pulumi.Input[str]): + pulumi.set(self, "legend", value) + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> pulumi.Input[str]: + """ + Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + """ + return pulumi.get(self, "metric_name") + + @metric_name.setter + def metric_name(self, value: pulumi.Input[str]): + pulumi.set(self, "metric_name", value) + + +@pulumi.input_type +class GroupingConfigurationArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + lookback_duration: pulumi.Input[str], + matching_method: pulumi.Input[Union[str, 'MatchingMethod']], + reopen_closed_incident: pulumi.Input[bool], + group_by_alert_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertDetail']]]]] = None, + group_by_custom_details: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + group_by_entities: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityMappingType']]]]] = None): + """ + Grouping configuration property bag. + :param pulumi.Input[bool] enabled: Grouping enabled + :param pulumi.Input[str] lookback_duration: Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + :param pulumi.Input[Union[str, 'MatchingMethod']] matching_method: Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + :param pulumi.Input[bool] reopen_closed_incident: Re-open closed matching incidents + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertDetail']]]] group_by_alert_details: A list of alert details to group by (when matchingMethod is Selected) + :param pulumi.Input[Sequence[pulumi.Input[str]]] group_by_custom_details: A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityMappingType']]]] group_by_entities: A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "lookback_duration", lookback_duration) + pulumi.set(__self__, "matching_method", matching_method) + pulumi.set(__self__, "reopen_closed_incident", reopen_closed_incident) + if group_by_alert_details is not None: + pulumi.set(__self__, "group_by_alert_details", group_by_alert_details) + if group_by_custom_details is not None: + pulumi.set(__self__, "group_by_custom_details", group_by_custom_details) + if group_by_entities is not None: + pulumi.set(__self__, "group_by_entities", group_by_entities) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Grouping enabled + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="lookbackDuration") + def lookback_duration(self) -> pulumi.Input[str]: + """ + Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + """ + return pulumi.get(self, "lookback_duration") + + @lookback_duration.setter + def lookback_duration(self, value: pulumi.Input[str]): + pulumi.set(self, "lookback_duration", value) + + @property + @pulumi.getter(name="matchingMethod") + def matching_method(self) -> pulumi.Input[Union[str, 'MatchingMethod']]: + """ + Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + """ + return pulumi.get(self, "matching_method") + + @matching_method.setter + def matching_method(self, value: pulumi.Input[Union[str, 'MatchingMethod']]): + pulumi.set(self, "matching_method", value) + + @property + @pulumi.getter(name="reopenClosedIncident") + def reopen_closed_incident(self) -> pulumi.Input[bool]: + """ + Re-open closed matching incidents + """ + return pulumi.get(self, "reopen_closed_incident") + + @reopen_closed_incident.setter + def reopen_closed_incident(self, value: pulumi.Input[bool]): + pulumi.set(self, "reopen_closed_incident", value) + + @property + @pulumi.getter(name="groupByAlertDetails") + def group_by_alert_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertDetail']]]]]: + """ + A list of alert details to group by (when matchingMethod is Selected) + """ + return pulumi.get(self, "group_by_alert_details") + + @group_by_alert_details.setter + def group_by_alert_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertDetail']]]]]): + pulumi.set(self, "group_by_alert_details", value) + + @property + @pulumi.getter(name="groupByCustomDetails") + def group_by_custom_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + """ + return pulumi.get(self, "group_by_custom_details") + + @group_by_custom_details.setter + def group_by_custom_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "group_by_custom_details", value) + + @property + @pulumi.getter(name="groupByEntities") + def group_by_entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityMappingType']]]]]: + """ + A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + """ + return pulumi.get(self, "group_by_entities") + + @group_by_entities.setter + def group_by_entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityMappingType']]]]]): + pulumi.set(self, "group_by_entities", value) + + +@pulumi.input_type +class HuntOwnerArgs: + def __init__(__self__, *, + assigned_to: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + object_id: Optional[pulumi.Input[str]] = None, + owner_type: Optional[pulumi.Input[Union[str, 'OwnerType']]] = None, + user_principal_name: Optional[pulumi.Input[str]] = None): + """ + Describes a user that the hunt is assigned to + :param pulumi.Input[str] assigned_to: The name of the user the hunt is assigned to. + :param pulumi.Input[str] email: The email of the user the hunt is assigned to. + :param pulumi.Input[str] object_id: The object id of the user the hunt is assigned to. + :param pulumi.Input[Union[str, 'OwnerType']] owner_type: The type of the owner the hunt is assigned to. + :param pulumi.Input[str] user_principal_name: The user principal name of the user the hunt is assigned to. + """ + if assigned_to is not None: + pulumi.set(__self__, "assigned_to", assigned_to) + if email is not None: + pulumi.set(__self__, "email", email) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if owner_type is not None: + pulumi.set(__self__, "owner_type", owner_type) + if user_principal_name is not None: + pulumi.set(__self__, "user_principal_name", user_principal_name) + + @property + @pulumi.getter(name="assignedTo") + def assigned_to(self) -> Optional[pulumi.Input[str]]: + """ + The name of the user the hunt is assigned to. + """ + return pulumi.get(self, "assigned_to") + + @assigned_to.setter + def assigned_to(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "assigned_to", value) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + The email of the user the hunt is assigned to. + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[pulumi.Input[str]]: + """ + The object id of the user the hunt is assigned to. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_id", value) + + @property + @pulumi.getter(name="ownerType") + def owner_type(self) -> Optional[pulumi.Input[Union[str, 'OwnerType']]]: + """ + The type of the owner the hunt is assigned to. + """ + return pulumi.get(self, "owner_type") + + @owner_type.setter + def owner_type(self, value: Optional[pulumi.Input[Union[str, 'OwnerType']]]): + pulumi.set(self, "owner_type", value) + + @property + @pulumi.getter(name="userPrincipalName") + def user_principal_name(self) -> Optional[pulumi.Input[str]]: + """ + The user principal name of the user the hunt is assigned to. + """ + return pulumi.get(self, "user_principal_name") + + @user_principal_name.setter + def user_principal_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_principal_name", value) + + +@pulumi.input_type +class IncidentConfigurationArgs: + def __init__(__self__, *, + create_incident: pulumi.Input[bool], + grouping_configuration: Optional[pulumi.Input['GroupingConfigurationArgs']] = None): + """ + Incident Configuration property bag. + :param pulumi.Input[bool] create_incident: Create incidents from alerts triggered by this analytics rule + :param pulumi.Input['GroupingConfigurationArgs'] grouping_configuration: Set how the alerts that are triggered by this analytics rule, are grouped into incidents + """ + pulumi.set(__self__, "create_incident", create_incident) + if grouping_configuration is not None: + pulumi.set(__self__, "grouping_configuration", grouping_configuration) + + @property + @pulumi.getter(name="createIncident") + def create_incident(self) -> pulumi.Input[bool]: + """ + Create incidents from alerts triggered by this analytics rule + """ + return pulumi.get(self, "create_incident") + + @create_incident.setter + def create_incident(self, value: pulumi.Input[bool]): + pulumi.set(self, "create_incident", value) + + @property + @pulumi.getter(name="groupingConfiguration") + def grouping_configuration(self) -> Optional[pulumi.Input['GroupingConfigurationArgs']]: + """ + Set how the alerts that are triggered by this analytics rule, are grouped into incidents + """ + return pulumi.get(self, "grouping_configuration") + + @grouping_configuration.setter + def grouping_configuration(self, value: Optional[pulumi.Input['GroupingConfigurationArgs']]): + pulumi.set(self, "grouping_configuration", value) + + +@pulumi.input_type +class IncidentInfoArgs: + def __init__(__self__, *, + incident_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[Union[str, 'IncidentSeverity']]] = None, + title: Optional[pulumi.Input[str]] = None): + """ + Describes related incident information for the bookmark + :param pulumi.Input[str] incident_id: Incident Id + :param pulumi.Input[str] relation_name: Relation Name + :param pulumi.Input[Union[str, 'IncidentSeverity']] severity: The severity of the incident + :param pulumi.Input[str] title: The title of the incident + """ + if incident_id is not None: + pulumi.set(__self__, "incident_id", incident_id) + if relation_name is not None: + pulumi.set(__self__, "relation_name", relation_name) + if severity is not None: + pulumi.set(__self__, "severity", severity) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter(name="incidentId") + def incident_id(self) -> Optional[pulumi.Input[str]]: + """ + Incident Id + """ + return pulumi.get(self, "incident_id") + + @incident_id.setter + def incident_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "incident_id", value) + + @property + @pulumi.getter(name="relationName") + def relation_name(self) -> Optional[pulumi.Input[str]]: + """ + Relation Name + """ + return pulumi.get(self, "relation_name") + + @relation_name.setter + def relation_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "relation_name", value) + + @property + @pulumi.getter + def severity(self) -> Optional[pulumi.Input[Union[str, 'IncidentSeverity']]]: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: Optional[pulumi.Input[Union[str, 'IncidentSeverity']]]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + """ + The title of the incident + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + +@pulumi.input_type +class IncidentLabelArgs: + def __init__(__self__, *, + label_name: pulumi.Input[str]): + """ + Represents an incident label + :param pulumi.Input[str] label_name: The name of the label + """ + pulumi.set(__self__, "label_name", label_name) + + @property + @pulumi.getter(name="labelName") + def label_name(self) -> pulumi.Input[str]: + """ + The name of the label + """ + return pulumi.get(self, "label_name") + + @label_name.setter + def label_name(self, value: pulumi.Input[str]): + pulumi.set(self, "label_name", value) + + +@pulumi.input_type +class IncidentOwnerInfoArgs: + def __init__(__self__, *, + assigned_to: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + object_id: Optional[pulumi.Input[str]] = None, + owner_type: Optional[pulumi.Input[Union[str, 'OwnerType']]] = None, + user_principal_name: Optional[pulumi.Input[str]] = None): + """ + Information on the user an incident is assigned to + :param pulumi.Input[str] assigned_to: The name of the user the incident is assigned to. + :param pulumi.Input[str] email: The email of the user the incident is assigned to. + :param pulumi.Input[str] object_id: The object id of the user the incident is assigned to. + :param pulumi.Input[Union[str, 'OwnerType']] owner_type: The type of the owner the incident is assigned to. + :param pulumi.Input[str] user_principal_name: The user principal name of the user the incident is assigned to. + """ + if assigned_to is not None: + pulumi.set(__self__, "assigned_to", assigned_to) + if email is not None: + pulumi.set(__self__, "email", email) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if owner_type is not None: + pulumi.set(__self__, "owner_type", owner_type) + if user_principal_name is not None: + pulumi.set(__self__, "user_principal_name", user_principal_name) + + @property + @pulumi.getter(name="assignedTo") + def assigned_to(self) -> Optional[pulumi.Input[str]]: + """ + The name of the user the incident is assigned to. + """ + return pulumi.get(self, "assigned_to") + + @assigned_to.setter + def assigned_to(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "assigned_to", value) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + The email of the user the incident is assigned to. + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[pulumi.Input[str]]: + """ + The object id of the user the incident is assigned to. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_id", value) + + @property + @pulumi.getter(name="ownerType") + def owner_type(self) -> Optional[pulumi.Input[Union[str, 'OwnerType']]]: + """ + The type of the owner the incident is assigned to. + """ + return pulumi.get(self, "owner_type") + + @owner_type.setter + def owner_type(self, value: Optional[pulumi.Input[Union[str, 'OwnerType']]]): + pulumi.set(self, "owner_type", value) + + @property + @pulumi.getter(name="userPrincipalName") + def user_principal_name(self) -> Optional[pulumi.Input[str]]: + """ + The user principal name of the user the incident is assigned to. + """ + return pulumi.get(self, "user_principal_name") + + @user_principal_name.setter + def user_principal_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_principal_name", value) + + +@pulumi.input_type +class IncidentPropertiesActionArgs: + def __init__(__self__, *, + classification: Optional[pulumi.Input[Union[str, 'IncidentClassification']]] = None, + classification_comment: Optional[pulumi.Input[str]] = None, + classification_reason: Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]]] = None, + owner: Optional[pulumi.Input['IncidentOwnerInfoArgs']] = None, + severity: Optional[pulumi.Input[Union[str, 'IncidentSeverity']]] = None, + status: Optional[pulumi.Input[Union[str, 'IncidentStatus']]] = None): + """ + :param pulumi.Input[Union[str, 'IncidentClassification']] classification: The reason the incident was closed + :param pulumi.Input[str] classification_comment: Describes the reason the incident was closed. + :param pulumi.Input[Union[str, 'IncidentClassificationReason']] classification_reason: The classification reason the incident was closed with + :param pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]] labels: List of labels to add to the incident. + :param pulumi.Input['IncidentOwnerInfoArgs'] owner: Information on the user an incident is assigned to + :param pulumi.Input[Union[str, 'IncidentSeverity']] severity: The severity of the incident + :param pulumi.Input[Union[str, 'IncidentStatus']] status: The status of the incident + """ + if classification is not None: + pulumi.set(__self__, "classification", classification) + if classification_comment is not None: + pulumi.set(__self__, "classification_comment", classification_comment) + if classification_reason is not None: + pulumi.set(__self__, "classification_reason", classification_reason) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if severity is not None: + pulumi.set(__self__, "severity", severity) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def classification(self) -> Optional[pulumi.Input[Union[str, 'IncidentClassification']]]: + """ + The reason the incident was closed + """ + return pulumi.get(self, "classification") + + @classification.setter + def classification(self, value: Optional[pulumi.Input[Union[str, 'IncidentClassification']]]): + pulumi.set(self, "classification", value) + + @property + @pulumi.getter(name="classificationComment") + def classification_comment(self) -> Optional[pulumi.Input[str]]: + """ + Describes the reason the incident was closed. + """ + return pulumi.get(self, "classification_comment") + + @classification_comment.setter + def classification_comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "classification_comment", value) + + @property + @pulumi.getter(name="classificationReason") + def classification_reason(self) -> Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]]: + """ + The classification reason the incident was closed with + """ + return pulumi.get(self, "classification_reason") + + @classification_reason.setter + def classification_reason(self, value: Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]]): + pulumi.set(self, "classification_reason", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]]]: + """ + List of labels to add to the incident. + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input['IncidentOwnerInfoArgs']]: + """ + Information on the user an incident is assigned to + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input['IncidentOwnerInfoArgs']]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter + def severity(self) -> Optional[pulumi.Input[Union[str, 'IncidentSeverity']]]: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: Optional[pulumi.Input[Union[str, 'IncidentSeverity']]]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'IncidentStatus']]]: + """ + The status of the incident + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'IncidentStatus']]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class InstructionStepDetailsArgs: + def __init__(__self__, *, + parameters: Any, + type: pulumi.Input[str]): + """ + Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + :param Any parameters: Gets or sets the instruction type parameters settings. + :param pulumi.Input[str] type: Gets or sets the instruction type name. + """ + pulumi.set(__self__, "parameters", parameters) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def parameters(self) -> Any: + """ + Gets or sets the instruction type parameters settings. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Any): + pulumi.set(self, "parameters", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Gets or sets the instruction type name. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class InstructionStepsInstructionsArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'SettingType']], + parameters: Optional[Any] = None): + """ + :param pulumi.Input[Union[str, 'SettingType']] type: The kind of the setting + :param Any parameters: The parameters for the setting + """ + pulumi.set(__self__, "type", type) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'SettingType']]: + """ + The kind of the setting + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'SettingType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def parameters(self) -> Optional[Any]: + """ + The parameters for the setting + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Optional[Any]): + pulumi.set(self, "parameters", value) + + +@pulumi.input_type +class InstructionStepArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + inner_steps: Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]]] = None, + instructions: Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepDetailsArgs']]]] = None, + title: Optional[pulumi.Input[str]] = None): + """ + Instruction steps to enable the connector. + :param pulumi.Input[str] description: Gets or sets the instruction step description. + :param pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]] inner_steps: Gets or sets the inner instruction steps details. + Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + :param pulumi.Input[Sequence[pulumi.Input['InstructionStepDetailsArgs']]] instructions: Gets or sets the instruction step details. + :param pulumi.Input[str] title: Gets or sets the instruction step title. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if inner_steps is not None: + pulumi.set(__self__, "inner_steps", inner_steps) + if instructions is not None: + pulumi.set(__self__, "instructions", instructions) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the instruction step description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="innerSteps") + def inner_steps(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]]]: + """ + Gets or sets the inner instruction steps details. + Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + """ + return pulumi.get(self, "inner_steps") + + @inner_steps.setter + def inner_steps(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepArgs']]]]): + pulumi.set(self, "inner_steps", value) + + @property + @pulumi.getter + def instructions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepDetailsArgs']]]]: + """ + Gets or sets the instruction step details. + """ + return pulumi.get(self, "instructions") + + @instructions.setter + def instructions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstructionStepDetailsArgs']]]]): + pulumi.set(self, "instructions", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the instruction step title. + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + +@pulumi.input_type +class MCASDataConnectorDataTypesArgs: + def __init__(__self__, *, + alerts: pulumi.Input['DataConnectorDataTypeCommonArgs'], + discovery_logs: Optional[pulumi.Input['DataConnectorDataTypeCommonArgs']] = None): + """ + The available data types for MCAS (Microsoft Cloud App Security) data connector. + :param pulumi.Input['DataConnectorDataTypeCommonArgs'] alerts: Alerts data type connection. + :param pulumi.Input['DataConnectorDataTypeCommonArgs'] discovery_logs: Discovery log data type connection. + """ + pulumi.set(__self__, "alerts", alerts) + if discovery_logs is not None: + pulumi.set(__self__, "discovery_logs", discovery_logs) + + @property + @pulumi.getter + def alerts(self) -> pulumi.Input['DataConnectorDataTypeCommonArgs']: + """ + Alerts data type connection. + """ + return pulumi.get(self, "alerts") + + @alerts.setter + def alerts(self, value: pulumi.Input['DataConnectorDataTypeCommonArgs']): + pulumi.set(self, "alerts", value) + + @property + @pulumi.getter(name="discoveryLogs") + def discovery_logs(self) -> Optional[pulumi.Input['DataConnectorDataTypeCommonArgs']]: + """ + Discovery log data type connection. + """ + return pulumi.get(self, "discovery_logs") + + @discovery_logs.setter + def discovery_logs(self, value: Optional[pulumi.Input['DataConnectorDataTypeCommonArgs']]): + pulumi.set(self, "discovery_logs", value) + + +@pulumi.input_type +class MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs: + def __init__(__self__, *, + lookback_period: pulumi.Input[str], + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Data type for Microsoft Threat Intelligence Platforms data connector. + :param pulumi.Input[str] lookback_period: The lookback period for the feed to be imported. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "lookback_period", lookback_period) + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="lookbackPeriod") + def lookback_period(self) -> pulumi.Input[str]: + """ + The lookback period for the feed to be imported. + """ + return pulumi.get(self, "lookback_period") + + @lookback_period.setter + def lookback_period(self, value: pulumi.Input[str]): + pulumi.set(self, "lookback_period", value) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class MSTIDataConnectorDataTypesArgs: + def __init__(__self__, *, + microsoft_emerging_threat_feed: pulumi.Input['MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs']): + """ + The available data types for Microsoft Threat Intelligence Platforms data connector. + :param pulumi.Input['MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs'] microsoft_emerging_threat_feed: Data type for Microsoft Threat Intelligence Platforms data connector. + """ + pulumi.set(__self__, "microsoft_emerging_threat_feed", microsoft_emerging_threat_feed) + + @property + @pulumi.getter(name="microsoftEmergingThreatFeed") + def microsoft_emerging_threat_feed(self) -> pulumi.Input['MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs']: + """ + Data type for Microsoft Threat Intelligence Platforms data connector. + """ + return pulumi.get(self, "microsoft_emerging_threat_feed") + + @microsoft_emerging_threat_feed.setter + def microsoft_emerging_threat_feed(self, value: pulumi.Input['MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeedArgs']): + pulumi.set(self, "microsoft_emerging_threat_feed", value) + + +@pulumi.input_type +class MTPDataConnectorDataTypesAlertsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Alerts data type for Microsoft Threat Protection Platforms data connector. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class MTPDataConnectorDataTypesIncidentsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Incidents data type for Microsoft Threat Protection Platforms data connector. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class MTPDataConnectorDataTypesArgs: + def __init__(__self__, *, + incidents: pulumi.Input['MTPDataConnectorDataTypesIncidentsArgs'], + alerts: Optional[pulumi.Input['MTPDataConnectorDataTypesAlertsArgs']] = None): + """ + The available data types for Microsoft Threat Protection Platforms data connector. + :param pulumi.Input['MTPDataConnectorDataTypesIncidentsArgs'] incidents: Incidents data type for Microsoft Threat Protection Platforms data connector. + :param pulumi.Input['MTPDataConnectorDataTypesAlertsArgs'] alerts: Alerts data type for Microsoft Threat Protection Platforms data connector. + """ + pulumi.set(__self__, "incidents", incidents) + if alerts is not None: + pulumi.set(__self__, "alerts", alerts) + + @property + @pulumi.getter + def incidents(self) -> pulumi.Input['MTPDataConnectorDataTypesIncidentsArgs']: + """ + Incidents data type for Microsoft Threat Protection Platforms data connector. + """ + return pulumi.get(self, "incidents") + + @incidents.setter + def incidents(self, value: pulumi.Input['MTPDataConnectorDataTypesIncidentsArgs']): + pulumi.set(self, "incidents", value) + + @property + @pulumi.getter + def alerts(self) -> Optional[pulumi.Input['MTPDataConnectorDataTypesAlertsArgs']]: + """ + Alerts data type for Microsoft Threat Protection Platforms data connector. + """ + return pulumi.get(self, "alerts") + + @alerts.setter + def alerts(self, value: Optional[pulumi.Input['MTPDataConnectorDataTypesAlertsArgs']]): + pulumi.set(self, "alerts", value) + + +@pulumi.input_type +class MetadataAuthorArgs: + def __init__(__self__, *, + email: Optional[pulumi.Input[str]] = None, + link: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + Publisher or creator of the content item. + :param pulumi.Input[str] email: Email of author contact + :param pulumi.Input[str] link: Link for author/vendor page + :param pulumi.Input[str] name: Name of the author. Company or person. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if link is not None: + pulumi.set(__self__, "link", link) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + Email of author contact + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter + def link(self) -> Optional[pulumi.Input[str]]: + """ + Link for author/vendor page + """ + return pulumi.get(self, "link") + + @link.setter + def link(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "link", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the author. Company or person. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class MetadataCategoriesArgs: + def __init__(__self__, *, + domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + verticals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + ies for the solution content item + :param pulumi.Input[Sequence[pulumi.Input[str]]] domains: domain for the solution content item + :param pulumi.Input[Sequence[pulumi.Input[str]]] verticals: Industry verticals for the solution content item + """ + if domains is not None: + pulumi.set(__self__, "domains", domains) + if verticals is not None: + pulumi.set(__self__, "verticals", verticals) + + @property + @pulumi.getter + def domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + domain for the solution content item + """ + return pulumi.get(self, "domains") + + @domains.setter + def domains(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "domains", value) + + @property + @pulumi.getter + def verticals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Industry verticals for the solution content item + """ + return pulumi.get(self, "verticals") + + @verticals.setter + def verticals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "verticals", value) + + +@pulumi.input_type +class MetadataDependenciesArgs: + def __init__(__self__, *, + content_id: Optional[pulumi.Input[str]] = None, + criteria: Optional[pulumi.Input[Sequence[pulumi.Input['MetadataDependenciesArgs']]]] = None, + kind: Optional[pulumi.Input[Union[str, 'Kind']]] = None, + name: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[Union[str, 'Operator']]] = None, + version: Optional[pulumi.Input[str]] = None): + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + :param pulumi.Input[str] content_id: Id of the content item we depend on + :param pulumi.Input[Sequence[pulumi.Input['MetadataDependenciesArgs']]] criteria: This is the list of dependencies we must fulfill, according to the AND/OR operator + :param pulumi.Input[Union[str, 'Kind']] kind: Type of the content item we depend on + :param pulumi.Input[str] name: Name of the content item + :param pulumi.Input[Union[str, 'Operator']] operator: Operator used for list of dependencies in criteria array. + :param pulumi.Input[str] version: Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + """ + if content_id is not None: + pulumi.set(__self__, "content_id", content_id) + if criteria is not None: + pulumi.set(__self__, "criteria", criteria) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if name is not None: + pulumi.set(__self__, "name", name) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> Optional[pulumi.Input[str]]: + """ + Id of the content item we depend on + """ + return pulumi.get(self, "content_id") + + @content_id.setter + def content_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_id", value) + + @property + @pulumi.getter + def criteria(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetadataDependenciesArgs']]]]: + """ + This is the list of dependencies we must fulfill, according to the AND/OR operator + """ + return pulumi.get(self, "criteria") + + @criteria.setter + def criteria(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetadataDependenciesArgs']]]]): + pulumi.set(self, "criteria", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[Union[str, 'Kind']]]: + """ + Type of the content item we depend on + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[Union[str, 'Kind']]]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the content item + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[Union[str, 'Operator']]]: + """ + Operator used for list of dependencies in criteria array. + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: Optional[pulumi.Input[Union[str, 'Operator']]]): + pulumi.set(self, "operator", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[str]]: + """ + Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "version", value) + + +@pulumi.input_type +class MetadataSourceArgs: + def __init__(__self__, *, + kind: pulumi.Input[Union[str, 'SourceKind']], + name: Optional[pulumi.Input[str]] = None, + source_id: Optional[pulumi.Input[str]] = None): + """ + The original source of the content item, where it comes from. + :param pulumi.Input[Union[str, 'SourceKind']] kind: Source type of the content + :param pulumi.Input[str] name: Name of the content source. The repo name, solution name, LA workspace name etc. + :param pulumi.Input[str] source_id: ID of the content source. The solution ID, workspace ID, etc + """ + pulumi.set(__self__, "kind", kind) + if name is not None: + pulumi.set(__self__, "name", name) + if source_id is not None: + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[Union[str, 'SourceKind']]: + """ + Source type of the content + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[Union[str, 'SourceKind']]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the content source. The repo name, solution name, LA workspace name etc. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> Optional[pulumi.Input[str]]: + """ + ID of the content source. The solution ID, workspace ID, etc + """ + return pulumi.get(self, "source_id") + + @source_id.setter + def source_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_id", value) + + +@pulumi.input_type +class MetadataSupportArgs: + def __init__(__self__, *, + tier: pulumi.Input[Union[str, 'SupportTier']], + email: Optional[pulumi.Input[str]] = None, + link: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + Support information for the content item. + :param pulumi.Input[Union[str, 'SupportTier']] tier: Type of support for content item + :param pulumi.Input[str] email: Email of support contact + :param pulumi.Input[str] link: Link for support help, like to support page to open a ticket etc. + :param pulumi.Input[str] name: Name of the support contact. Company or person. + """ + pulumi.set(__self__, "tier", tier) + if email is not None: + pulumi.set(__self__, "email", email) + if link is not None: + pulumi.set(__self__, "link", link) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def tier(self) -> pulumi.Input[Union[str, 'SupportTier']]: + """ + Type of support for content item + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: pulumi.Input[Union[str, 'SupportTier']]): + pulumi.set(self, "tier", value) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + Email of support contact + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter + def link(self) -> Optional[pulumi.Input[str]]: + """ + Link for support help, like to support page to open a ticket etc. + """ + return pulumi.get(self, "link") + + @link.setter + def link(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "link", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the support contact. Company or person. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Logs data type. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class MicrosoftPurviewInformationProtectionConnectorDataTypesArgs: + def __init__(__self__, *, + logs: pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs']): + """ + The available data types for Microsoft Purview Information Protection data connector. + :param pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs'] logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs']: + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + @logs.setter + def logs(self, value: pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesLogsArgs']): + pulumi.set(self, "logs", value) + + +@pulumi.input_type +class MtpFilteredProvidersArgs: + def __init__(__self__, *, + alerts: pulumi.Input[Sequence[pulumi.Input[Union[str, 'MtpProvider']]]]): + """ + Represents the connector's Filtered providers + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'MtpProvider']]]] alerts: Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. + """ + pulumi.set(__self__, "alerts", alerts) + + @property + @pulumi.getter + def alerts(self) -> pulumi.Input[Sequence[pulumi.Input[Union[str, 'MtpProvider']]]]: + """ + Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. + """ + return pulumi.get(self, "alerts") + + @alerts.setter + def alerts(self, value: pulumi.Input[Sequence[pulumi.Input[Union[str, 'MtpProvider']]]]): + pulumi.set(self, "alerts", value) + + +@pulumi.input_type +class Office365ProjectConnectorDataTypesLogsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Logs data type. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class Office365ProjectConnectorDataTypesArgs: + def __init__(__self__, *, + logs: pulumi.Input['Office365ProjectConnectorDataTypesLogsArgs']): + """ + The available data types for Office Microsoft Project data connector. + :param pulumi.Input['Office365ProjectConnectorDataTypesLogsArgs'] logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> pulumi.Input['Office365ProjectConnectorDataTypesLogsArgs']: + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + @logs.setter + def logs(self, value: pulumi.Input['Office365ProjectConnectorDataTypesLogsArgs']): + pulumi.set(self, "logs", value) + + +@pulumi.input_type +class OfficeDataConnectorDataTypesExchangeArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Exchange data type connection. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class OfficeDataConnectorDataTypesSharePointArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + SharePoint data type connection. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class OfficeDataConnectorDataTypesTeamsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Teams data type connection. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class OfficeDataConnectorDataTypesArgs: + def __init__(__self__, *, + exchange: pulumi.Input['OfficeDataConnectorDataTypesExchangeArgs'], + share_point: pulumi.Input['OfficeDataConnectorDataTypesSharePointArgs'], + teams: pulumi.Input['OfficeDataConnectorDataTypesTeamsArgs']): + """ + The available data types for office data connector. + :param pulumi.Input['OfficeDataConnectorDataTypesExchangeArgs'] exchange: Exchange data type connection. + :param pulumi.Input['OfficeDataConnectorDataTypesSharePointArgs'] share_point: SharePoint data type connection. + :param pulumi.Input['OfficeDataConnectorDataTypesTeamsArgs'] teams: Teams data type connection. + """ + pulumi.set(__self__, "exchange", exchange) + pulumi.set(__self__, "share_point", share_point) + pulumi.set(__self__, "teams", teams) + + @property + @pulumi.getter + def exchange(self) -> pulumi.Input['OfficeDataConnectorDataTypesExchangeArgs']: + """ + Exchange data type connection. + """ + return pulumi.get(self, "exchange") + + @exchange.setter + def exchange(self, value: pulumi.Input['OfficeDataConnectorDataTypesExchangeArgs']): + pulumi.set(self, "exchange", value) + + @property + @pulumi.getter(name="sharePoint") + def share_point(self) -> pulumi.Input['OfficeDataConnectorDataTypesSharePointArgs']: + """ + SharePoint data type connection. + """ + return pulumi.get(self, "share_point") + + @share_point.setter + def share_point(self, value: pulumi.Input['OfficeDataConnectorDataTypesSharePointArgs']): + pulumi.set(self, "share_point", value) + + @property + @pulumi.getter + def teams(self) -> pulumi.Input['OfficeDataConnectorDataTypesTeamsArgs']: + """ + Teams data type connection. + """ + return pulumi.get(self, "teams") + + @teams.setter + def teams(self, value: pulumi.Input['OfficeDataConnectorDataTypesTeamsArgs']): + pulumi.set(self, "teams", value) + + +@pulumi.input_type +class OfficePowerBIConnectorDataTypesLogsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Logs data type. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class OfficePowerBIConnectorDataTypesArgs: + def __init__(__self__, *, + logs: pulumi.Input['OfficePowerBIConnectorDataTypesLogsArgs']): + """ + The available data types for Office Microsoft PowerBI data connector. + :param pulumi.Input['OfficePowerBIConnectorDataTypesLogsArgs'] logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> pulumi.Input['OfficePowerBIConnectorDataTypesLogsArgs']: + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + @logs.setter + def logs(self, value: pulumi.Input['OfficePowerBIConnectorDataTypesLogsArgs']): + pulumi.set(self, "logs", value) + + +@pulumi.input_type +class PermissionsCustomsArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] description: Customs permissions description + :param pulumi.Input[str] name: Customs permissions name + """ + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Customs permissions description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Customs permissions name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class PermissionsResourceProviderArgs: + def __init__(__self__, *, + permissions_display_text: Optional[pulumi.Input[str]] = None, + provider: Optional[pulumi.Input[Union[str, 'ProviderName']]] = None, + provider_display_name: Optional[pulumi.Input[str]] = None, + required_permissions: Optional[pulumi.Input['RequiredPermissionsArgs']] = None, + scope: Optional[pulumi.Input[Union[str, 'PermissionProviderScope']]] = None): + """ + :param pulumi.Input[str] permissions_display_text: Permission description text + :param pulumi.Input[Union[str, 'ProviderName']] provider: Provider name + :param pulumi.Input[str] provider_display_name: Permission provider display name + :param pulumi.Input['RequiredPermissionsArgs'] required_permissions: Required permissions for the connector + :param pulumi.Input[Union[str, 'PermissionProviderScope']] scope: Permission provider scope + """ + if permissions_display_text is not None: + pulumi.set(__self__, "permissions_display_text", permissions_display_text) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if provider_display_name is not None: + pulumi.set(__self__, "provider_display_name", provider_display_name) + if required_permissions is not None: + pulumi.set(__self__, "required_permissions", required_permissions) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="permissionsDisplayText") + def permissions_display_text(self) -> Optional[pulumi.Input[str]]: + """ + Permission description text + """ + return pulumi.get(self, "permissions_display_text") + + @permissions_display_text.setter + def permissions_display_text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "permissions_display_text", value) + + @property + @pulumi.getter + def provider(self) -> Optional[pulumi.Input[Union[str, 'ProviderName']]]: + """ + Provider name + """ + return pulumi.get(self, "provider") + + @provider.setter + def provider(self, value: Optional[pulumi.Input[Union[str, 'ProviderName']]]): + pulumi.set(self, "provider", value) + + @property + @pulumi.getter(name="providerDisplayName") + def provider_display_name(self) -> Optional[pulumi.Input[str]]: + """ + Permission provider display name + """ + return pulumi.get(self, "provider_display_name") + + @provider_display_name.setter + def provider_display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provider_display_name", value) + + @property + @pulumi.getter(name="requiredPermissions") + def required_permissions(self) -> Optional[pulumi.Input['RequiredPermissionsArgs']]: + """ + Required permissions for the connector + """ + return pulumi.get(self, "required_permissions") + + @required_permissions.setter + def required_permissions(self, value: Optional[pulumi.Input['RequiredPermissionsArgs']]): + pulumi.set(self, "required_permissions", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input[Union[str, 'PermissionProviderScope']]]: + """ + Permission provider scope + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input[Union[str, 'PermissionProviderScope']]]): + pulumi.set(self, "scope", value) + + +@pulumi.input_type +class PermissionsArgs: + def __init__(__self__, *, + customs: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsCustomsArgs']]]] = None, + resource_provider: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsResourceProviderArgs']]]] = None): + """ + Permissions required for the connector + :param pulumi.Input[Sequence[pulumi.Input['PermissionsCustomsArgs']]] customs: Customs permissions required for the connector + :param pulumi.Input[Sequence[pulumi.Input['PermissionsResourceProviderArgs']]] resource_provider: Resource provider permissions required for the connector + """ + if customs is not None: + pulumi.set(__self__, "customs", customs) + if resource_provider is not None: + pulumi.set(__self__, "resource_provider", resource_provider) + + @property + @pulumi.getter + def customs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsCustomsArgs']]]]: + """ + Customs permissions required for the connector + """ + return pulumi.get(self, "customs") + + @customs.setter + def customs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsCustomsArgs']]]]): + pulumi.set(self, "customs", value) + + @property + @pulumi.getter(name="resourceProvider") + def resource_provider(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsResourceProviderArgs']]]]: + """ + Resource provider permissions required for the connector + """ + return pulumi.get(self, "resource_provider") + + @resource_provider.setter + def resource_provider(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsResourceProviderArgs']]]]): + pulumi.set(self, "resource_provider", value) + + +@pulumi.input_type +class PlaybookActionPropertiesArgs: + def __init__(__self__, *, + logic_app_resource_id: pulumi.Input[str], + tenant_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] logic_app_resource_id: The resource id of the playbook resource. + :param pulumi.Input[str] tenant_id: The tenant id of the playbook resource. + """ + pulumi.set(__self__, "logic_app_resource_id", logic_app_resource_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="logicAppResourceId") + def logic_app_resource_id(self) -> pulumi.Input[str]: + """ + The resource id of the playbook resource. + """ + return pulumi.get(self, "logic_app_resource_id") + + @logic_app_resource_id.setter + def logic_app_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "logic_app_resource_id", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The tenant id of the playbook resource. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +@pulumi.input_type +class PropertyArrayChangedConditionPropertiesArgs: + def __init__(__self__, *, + condition_type: pulumi.Input[str], + condition_properties: Optional[pulumi.Input['AutomationRulePropertyArrayChangedValuesConditionArgs']] = None): + """ + Describes an automation rule condition that evaluates an array property's value change + :param pulumi.Input[str] condition_type: + Expected value is 'PropertyArrayChanged'. + """ + pulumi.set(__self__, "condition_type", 'PropertyArrayChanged') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'PropertyArrayChanged'. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: pulumi.Input[str]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional[pulumi.Input['AutomationRulePropertyArrayChangedValuesConditionArgs']]: + return pulumi.get(self, "condition_properties") + + @condition_properties.setter + def condition_properties(self, value: Optional[pulumi.Input['AutomationRulePropertyArrayChangedValuesConditionArgs']]): + pulumi.set(self, "condition_properties", value) + + +@pulumi.input_type +class PropertyArrayConditionPropertiesArgs: + def __init__(__self__, *, + condition_type: pulumi.Input[str], + condition_properties: Optional[pulumi.Input['AutomationRulePropertyArrayValuesConditionArgs']] = None): + """ + Describes an automation rule condition that evaluates an array property's value + :param pulumi.Input[str] condition_type: + Expected value is 'PropertyArray'. + """ + pulumi.set(__self__, "condition_type", 'PropertyArray') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'PropertyArray'. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: pulumi.Input[str]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional[pulumi.Input['AutomationRulePropertyArrayValuesConditionArgs']]: + return pulumi.get(self, "condition_properties") + + @condition_properties.setter + def condition_properties(self, value: Optional[pulumi.Input['AutomationRulePropertyArrayValuesConditionArgs']]): + pulumi.set(self, "condition_properties", value) + + +@pulumi.input_type +class PropertyChangedConditionPropertiesArgs: + def __init__(__self__, *, + condition_type: pulumi.Input[str], + condition_properties: Optional[pulumi.Input['AutomationRulePropertyValuesChangedConditionArgs']] = None): + """ + Describes an automation rule condition that evaluates a property's value change + :param pulumi.Input[str] condition_type: + Expected value is 'PropertyChanged'. + """ + pulumi.set(__self__, "condition_type", 'PropertyChanged') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'PropertyChanged'. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: pulumi.Input[str]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional[pulumi.Input['AutomationRulePropertyValuesChangedConditionArgs']]: + return pulumi.get(self, "condition_properties") + + @condition_properties.setter + def condition_properties(self, value: Optional[pulumi.Input['AutomationRulePropertyValuesChangedConditionArgs']]): + pulumi.set(self, "condition_properties", value) + + +@pulumi.input_type +class PropertyConditionPropertiesArgs: + def __init__(__self__, *, + condition_type: pulumi.Input[str], + condition_properties: Optional[pulumi.Input['AutomationRulePropertyValuesConditionArgs']] = None): + """ + Describes an automation rule condition that evaluates a property's value + :param pulumi.Input[str] condition_type: + Expected value is 'Property'. + """ + pulumi.set(__self__, "condition_type", 'Property') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> pulumi.Input[str]: + """ + + Expected value is 'Property'. + """ + return pulumi.get(self, "condition_type") + + @condition_type.setter + def condition_type(self, value: pulumi.Input[str]): + pulumi.set(self, "condition_type", value) + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional[pulumi.Input['AutomationRulePropertyValuesConditionArgs']]: + return pulumi.get(self, "condition_properties") + + @condition_properties.setter + def condition_properties(self, value: Optional[pulumi.Input['AutomationRulePropertyValuesConditionArgs']]): + pulumi.set(self, "condition_properties", value) + + +@pulumi.input_type +class RequiredPermissionsArgs: + def __init__(__self__, *, + action: Optional[pulumi.Input[bool]] = None, + delete: Optional[pulumi.Input[bool]] = None, + read: Optional[pulumi.Input[bool]] = None, + write: Optional[pulumi.Input[bool]] = None): + """ + Required permissions for the connector + :param pulumi.Input[bool] action: action permission + :param pulumi.Input[bool] delete: delete permission + :param pulumi.Input[bool] read: read permission + :param pulumi.Input[bool] write: write permission + """ + if action is not None: + pulumi.set(__self__, "action", action) + if delete is not None: + pulumi.set(__self__, "delete", delete) + if read is not None: + pulumi.set(__self__, "read", read) + if write is not None: + pulumi.set(__self__, "write", write) + + @property + @pulumi.getter + def action(self) -> Optional[pulumi.Input[bool]]: + """ + action permission + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter + def delete(self) -> Optional[pulumi.Input[bool]]: + """ + delete permission + """ + return pulumi.get(self, "delete") + + @delete.setter + def delete(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "delete", value) + + @property + @pulumi.getter + def read(self) -> Optional[pulumi.Input[bool]]: + """ + read permission + """ + return pulumi.get(self, "read") + + @read.setter + def read(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "read", value) + + @property + @pulumi.getter + def write(self) -> Optional[pulumi.Input[bool]]: + """ + write permission + """ + return pulumi.get(self, "write") + + @write.setter + def write(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "write", value) + + +@pulumi.input_type +class ResourceProviderRequiredPermissionsArgs: + def __init__(__self__, *, + action: Optional[pulumi.Input[bool]] = None, + delete: Optional[pulumi.Input[bool]] = None, + read: Optional[pulumi.Input[bool]] = None, + write: Optional[pulumi.Input[bool]] = None): + """ + Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + :param pulumi.Input[bool] action: Gets or sets a value indicating whether the permission is custom actions (POST). + :param pulumi.Input[bool] delete: Gets or sets a value indicating whether the permission is delete action (DELETE). + :param pulumi.Input[bool] read: Gets or sets a value indicating whether the permission is read action (GET). + :param pulumi.Input[bool] write: Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + """ + if action is not None: + pulumi.set(__self__, "action", action) + if delete is not None: + pulumi.set(__self__, "delete", delete) + if read is not None: + pulumi.set(__self__, "read", read) + if write is not None: + pulumi.set(__self__, "write", write) + + @property + @pulumi.getter + def action(self) -> Optional[pulumi.Input[bool]]: + """ + Gets or sets a value indicating whether the permission is custom actions (POST). + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "action", value) + + @property + @pulumi.getter + def delete(self) -> Optional[pulumi.Input[bool]]: + """ + Gets or sets a value indicating whether the permission is delete action (DELETE). + """ + return pulumi.get(self, "delete") + + @delete.setter + def delete(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "delete", value) + + @property + @pulumi.getter + def read(self) -> Optional[pulumi.Input[bool]]: + """ + Gets or sets a value indicating whether the permission is read action (GET). + """ + return pulumi.get(self, "read") + + @read.setter + def read(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "read", value) + + @property + @pulumi.getter + def write(self) -> Optional[pulumi.Input[bool]]: + """ + Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + """ + return pulumi.get(self, "write") + + @write.setter + def write(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "write", value) + + +@pulumi.input_type +class SampleQueryArgs: + def __init__(__self__, *, + description: pulumi.Input[str], + query: pulumi.Input[str]): + """ + The sample queries for the connector. + :param pulumi.Input[str] description: Gets or sets the sample query description. + :param pulumi.Input[str] query: Gets or sets the KQL sample query. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "query", query) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + Gets or sets the sample query description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def query(self) -> pulumi.Input[str]: + """ + Gets or sets the KQL sample query. + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input[str]): + pulumi.set(self, "query", value) + + +@pulumi.input_type +class SecurityMLAnalyticsSettingsDataSourceArgs: + def __init__(__self__, *, + connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + security ml analytics settings data sources + :param pulumi.Input[str] connector_id: The connector id that provides the following data types + :param pulumi.Input[Sequence[pulumi.Input[str]]] data_types: The data types used by the security ml analytics settings + """ + if connector_id is not None: + pulumi.set(__self__, "connector_id", connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter(name="connectorId") + def connector_id(self) -> Optional[pulumi.Input[str]]: + """ + The connector id that provides the following data types + """ + return pulumi.get(self, "connector_id") + + @connector_id.setter + def connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The data types used by the security ml analytics settings + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "data_types", value) + + +@pulumi.input_type +class SentinelEntityMappingArgs: + def __init__(__self__, *, + column_name: Optional[pulumi.Input[str]] = None): + """ + A single sentinel entity mapping + :param pulumi.Input[str] column_name: the column name to be mapped to the SentinelEntities + """ + if column_name is not None: + pulumi.set(__self__, "column_name", column_name) + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> Optional[pulumi.Input[str]]: + """ + the column name to be mapped to the SentinelEntities + """ + return pulumi.get(self, "column_name") + + @column_name.setter + def column_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "column_name", value) + + +@pulumi.input_type +class TIDataConnectorDataTypesIndicatorsArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Data type for indicators connection. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class TIDataConnectorDataTypesArgs: + def __init__(__self__, *, + indicators: pulumi.Input['TIDataConnectorDataTypesIndicatorsArgs']): + """ + The available data types for TI (Threat Intelligence) data connector. + :param pulumi.Input['TIDataConnectorDataTypesIndicatorsArgs'] indicators: Data type for indicators connection. + """ + pulumi.set(__self__, "indicators", indicators) + + @property + @pulumi.getter + def indicators(self) -> pulumi.Input['TIDataConnectorDataTypesIndicatorsArgs']: + """ + Data type for indicators connection. + """ + return pulumi.get(self, "indicators") + + @indicators.setter + def indicators(self, value: pulumi.Input['TIDataConnectorDataTypesIndicatorsArgs']): + pulumi.set(self, "indicators", value) + + +@pulumi.input_type +class ThreatIntelligenceExternalReferenceArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + hashes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + source_name: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None): + """ + Describes external reference + :param pulumi.Input[str] description: External reference description + :param pulumi.Input[str] external_id: External reference ID + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] hashes: External reference hashes + :param pulumi.Input[str] source_name: External reference source name + :param pulumi.Input[str] url: External reference URL + """ + if description is not None: + pulumi.set(__self__, "description", description) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if hashes is not None: + pulumi.set(__self__, "hashes", hashes) + if source_name is not None: + pulumi.set(__self__, "source_name", source_name) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + External reference description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + """ + External reference ID + """ + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter + def hashes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + External reference hashes + """ + return pulumi.get(self, "hashes") + + @hashes.setter + def hashes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "hashes", value) + + @property + @pulumi.getter(name="sourceName") + def source_name(self) -> Optional[pulumi.Input[str]]: + """ + External reference source name + """ + return pulumi.get(self, "source_name") + + @source_name.setter + def source_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_name", value) + + @property + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: + """ + External reference URL + """ + return pulumi.get(self, "url") + + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) + + +@pulumi.input_type +class ThreatIntelligenceGranularMarkingModelArgs: + def __init__(__self__, *, + language: Optional[pulumi.Input[str]] = None, + marking_ref: Optional[pulumi.Input[int]] = None, + selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Describes threat granular marking model entity + :param pulumi.Input[str] language: Language granular marking model + :param pulumi.Input[int] marking_ref: marking reference granular marking model + :param pulumi.Input[Sequence[pulumi.Input[str]]] selectors: granular marking model selectors + """ + if language is not None: + pulumi.set(__self__, "language", language) + if marking_ref is not None: + pulumi.set(__self__, "marking_ref", marking_ref) + if selectors is not None: + pulumi.set(__self__, "selectors", selectors) + + @property + @pulumi.getter + def language(self) -> Optional[pulumi.Input[str]]: + """ + Language granular marking model + """ + return pulumi.get(self, "language") + + @language.setter + def language(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "language", value) + + @property + @pulumi.getter(name="markingRef") + def marking_ref(self) -> Optional[pulumi.Input[int]]: + """ + marking reference granular marking model + """ + return pulumi.get(self, "marking_ref") + + @marking_ref.setter + def marking_ref(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "marking_ref", value) + + @property + @pulumi.getter + def selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + granular marking model selectors + """ + return pulumi.get(self, "selectors") + + @selectors.setter + def selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "selectors", value) + + +@pulumi.input_type +class ThreatIntelligenceKillChainPhaseArgs: + def __init__(__self__, *, + kill_chain_name: Optional[pulumi.Input[str]] = None, + phase_name: Optional[pulumi.Input[str]] = None): + """ + Describes threat kill chain phase entity + :param pulumi.Input[str] kill_chain_name: Kill chainName name + :param pulumi.Input[str] phase_name: Phase name + """ + if kill_chain_name is not None: + pulumi.set(__self__, "kill_chain_name", kill_chain_name) + if phase_name is not None: + pulumi.set(__self__, "phase_name", phase_name) + + @property + @pulumi.getter(name="killChainName") + def kill_chain_name(self) -> Optional[pulumi.Input[str]]: + """ + Kill chainName name + """ + return pulumi.get(self, "kill_chain_name") + + @kill_chain_name.setter + def kill_chain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kill_chain_name", value) + + @property + @pulumi.getter(name="phaseName") + def phase_name(self) -> Optional[pulumi.Input[str]]: + """ + Phase name + """ + return pulumi.get(self, "phase_name") + + @phase_name.setter + def phase_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "phase_name", value) + + +@pulumi.input_type +class ThreatIntelligenceParsedPatternTypeValueArgs: + def __init__(__self__, *, + value: Optional[pulumi.Input[str]] = None, + value_type: Optional[pulumi.Input[str]] = None): + """ + Describes threat kill chain phase entity + :param pulumi.Input[str] value: Value of parsed pattern + :param pulumi.Input[str] value_type: Type of the value + """ + if value is not None: + pulumi.set(__self__, "value", value) + if value_type is not None: + pulumi.set(__self__, "value_type", value_type) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Value of parsed pattern + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter(name="valueType") + def value_type(self) -> Optional[pulumi.Input[str]]: + """ + Type of the value + """ + return pulumi.get(self, "value_type") + + @value_type.setter + def value_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value_type", value) + + +@pulumi.input_type +class ThreatIntelligenceParsedPatternArgs: + def __init__(__self__, *, + pattern_type_key: Optional[pulumi.Input[str]] = None, + pattern_type_values: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternTypeValueArgs']]]] = None): + """ + Describes parsed pattern entity + :param pulumi.Input[str] pattern_type_key: Pattern type key + :param pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternTypeValueArgs']]] pattern_type_values: Pattern type keys + """ + if pattern_type_key is not None: + pulumi.set(__self__, "pattern_type_key", pattern_type_key) + if pattern_type_values is not None: + pulumi.set(__self__, "pattern_type_values", pattern_type_values) + + @property + @pulumi.getter(name="patternTypeKey") + def pattern_type_key(self) -> Optional[pulumi.Input[str]]: + """ + Pattern type key + """ + return pulumi.get(self, "pattern_type_key") + + @pattern_type_key.setter + def pattern_type_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pattern_type_key", value) + + @property + @pulumi.getter(name="patternTypeValues") + def pattern_type_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternTypeValueArgs']]]]: + """ + Pattern type keys + """ + return pulumi.get(self, "pattern_type_values") + + @pattern_type_values.setter + def pattern_type_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternTypeValueArgs']]]]): + pulumi.set(self, "pattern_type_values", value) + + +@pulumi.input_type +class TiTaxiiDataConnectorDataTypesTaxiiClientArgs: + def __init__(__self__, *, + state: pulumi.Input[Union[str, 'DataTypeState']]): + """ + Data type for TAXII connector. + :param pulumi.Input[Union[str, 'DataTypeState']] state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> pulumi.Input[Union[str, 'DataTypeState']]: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: pulumi.Input[Union[str, 'DataTypeState']]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class TiTaxiiDataConnectorDataTypesArgs: + def __init__(__self__, *, + taxii_client: pulumi.Input['TiTaxiiDataConnectorDataTypesTaxiiClientArgs']): + """ + The available data types for Threat Intelligence TAXII data connector. + :param pulumi.Input['TiTaxiiDataConnectorDataTypesTaxiiClientArgs'] taxii_client: Data type for TAXII connector. + """ + pulumi.set(__self__, "taxii_client", taxii_client) + + @property + @pulumi.getter(name="taxiiClient") + def taxii_client(self) -> pulumi.Input['TiTaxiiDataConnectorDataTypesTaxiiClientArgs']: + """ + Data type for TAXII connector. + """ + return pulumi.get(self, "taxii_client") + + @taxii_client.setter + def taxii_client(self, value: pulumi.Input['TiTaxiiDataConnectorDataTypesTaxiiClientArgs']): + pulumi.set(self, "taxii_client", value) + + +@pulumi.input_type +class UserInfoArgs: + def __init__(__self__, *, + object_id: Optional[pulumi.Input[str]] = None): + """ + User information that made some action + :param pulumi.Input[str] object_id: The object id of the user. + """ + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[pulumi.Input[str]]: + """ + The object id of the user. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_id", value) + + +@pulumi.input_type +class WatchlistUserInfoArgs: + def __init__(__self__, *, + object_id: Optional[pulumi.Input[str]] = None): + """ + User information that made some action + :param pulumi.Input[str] object_id: The object id of the user. + """ + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[pulumi.Input[str]]: + """ + The object id of the user. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "object_id", value) + + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aad_data_connector.py new file mode 100644 index 000000000000..f52e6ff70067 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aad_data_connector.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AADDataConnectorArgs', 'AADDataConnector'] + +@pulumi.input_type +class AADDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None): + """ + The set of arguments for constructing a AADDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AzureActiveDirectory'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + """ + pulumi.set(__self__, "kind", 'AzureActiveDirectory') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'AzureActiveDirectory'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + +class AADDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents AADIP (Azure Active Directory Identity Protection) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AzureActiveDirectory'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AADDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents AADIP (Azure Active Directory Identity Protection) data connector. + + :param str resource_name: The name of the resource. + :param AADDataConnectorArgs 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(AADDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AADDataConnectorArgs.__new__(AADDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'AzureActiveDirectory' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AADDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AADDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AADDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:AADDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AADDataConnector': + """ + Get an existing AADDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AADDataConnectorArgs.__new__(AADDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return AADDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'AzureActiveDirectory'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aatp_data_connector.py new file mode 100644 index 000000000000..56029bc9afd1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aatp_data_connector.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AATPDataConnectorArgs', 'AATPDataConnector'] + +@pulumi.input_type +class AATPDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None): + """ + The set of arguments for constructing a AATPDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AzureAdvancedThreatProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + """ + pulumi.set(__self__, "kind", 'AzureAdvancedThreatProtection') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'AzureAdvancedThreatProtection'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + +class AATPDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents AATP (Azure Advanced Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AzureAdvancedThreatProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AATPDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents AATP (Azure Advanced Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param AATPDataConnectorArgs 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(AATPDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AATPDataConnectorArgs.__new__(AATPDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'AzureAdvancedThreatProtection' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AATPDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AATPDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:AATPDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AATPDataConnector': + """ + Get an existing AATPDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AATPDataConnectorArgs.__new__(AATPDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return AATPDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'AzureAdvancedThreatProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/action.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/action.py new file mode 100644 index 000000000000..a57064459fda --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/action.py @@ -0,0 +1,277 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['ActionArgs', 'Action'] + +@pulumi.input_type +class ActionArgs: + def __init__(__self__, *, + logic_app_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + rule_id: pulumi.Input[str], + trigger_uri: pulumi.Input[str], + workspace_name: pulumi.Input[str], + action_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Action resource. + :param pulumi.Input[str] logic_app_resource_id: Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[str] trigger_uri: Logic App Callback URL for this specific workflow. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] action_id: Action ID + """ + pulumi.set(__self__, "logic_app_resource_id", logic_app_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "rule_id", rule_id) + pulumi.set(__self__, "trigger_uri", trigger_uri) + pulumi.set(__self__, "workspace_name", workspace_name) + if action_id is not None: + pulumi.set(__self__, "action_id", action_id) + + @property + @pulumi.getter(name="logicAppResourceId") + def logic_app_resource_id(self) -> pulumi.Input[str]: + """ + Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + """ + return pulumi.get(self, "logic_app_resource_id") + + @logic_app_resource_id.setter + def logic_app_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "logic_app_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="ruleId") + def rule_id(self) -> pulumi.Input[str]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: pulumi.Input[str]): + pulumi.set(self, "rule_id", value) + + @property + @pulumi.getter(name="triggerUri") + def trigger_uri(self) -> pulumi.Input[str]: + """ + Logic App Callback URL for this specific workflow. + """ + return pulumi.get(self, "trigger_uri") + + @trigger_uri.setter + def trigger_uri(self, value: pulumi.Input[str]): + pulumi.set(self, "trigger_uri", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="actionId") + def action_id(self) -> Optional[pulumi.Input[str]]: + """ + Action ID + """ + return pulumi.get(self, "action_id") + + @action_id.setter + def action_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_id", value) + + +class Action(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + action_id: Optional[pulumi.Input[str]] = None, + logic_app_resource_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + trigger_uri: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Action for alert rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] action_id: Action ID + :param pulumi.Input[str] logic_app_resource_id: Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[str] trigger_uri: Logic App Callback URL for this specific workflow. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ActionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Action for alert rule. + + :param str resource_name: The name of the resource. + :param ActionArgs 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(ActionArgs, 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, + action_id: Optional[pulumi.Input[str]] = None, + logic_app_resource_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + trigger_uri: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ActionArgs.__new__(ActionArgs) + + __props__.__dict__["action_id"] = action_id + if logic_app_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'logic_app_resource_id'") + __props__.__dict__["logic_app_resource_id"] = logic_app_resource_id + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if rule_id is None and not opts.urn: + raise TypeError("Missing required property 'rule_id'") + __props__.__dict__["rule_id"] = rule_id + if trigger_uri is None and not opts.urn: + raise TypeError("Missing required property 'trigger_uri'") + __props__.__dict__["trigger_uri"] = trigger_uri + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["workflow_id"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Action"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Action")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Action, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Action', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Action': + """ + Get an existing Action 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ActionArgs.__new__(ActionArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["logic_app_resource_id"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["workflow_id"] = None + return Action(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="logicAppResourceId") + def logic_app_resource_id(self) -> pulumi.Output[str]: + """ + Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + """ + return pulumi.get(self, "logic_app_resource_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="workflowId") + def workflow_id(self) -> pulumi.Output[Optional[str]]: + """ + The name of the logic app's workflow. + """ + return pulumi.get(self, "workflow_id") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/activity_custom_entity_query.py new file mode 100644 index 000000000000..e05d8e1d9ec0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/activity_custom_entity_query.py @@ -0,0 +1,512 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ActivityCustomEntityQueryArgs', 'ActivityCustomEntityQuery'] + +@pulumi.input_type +class ActivityCustomEntityQueryArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entities_filter: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None, + entity_query_id: Optional[pulumi.Input[str]] = None, + input_entity_type: Optional[pulumi.Input[Union[str, 'EntityType']]] = None, + query_definitions: Optional[pulumi.Input['ActivityEntityQueriesPropertiesQueryDefinitionsArgs']] = None, + required_input_fields_sets: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None, + template_name: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ActivityCustomEntityQuery resource. + :param pulumi.Input[str] kind: The kind of the entity query that supports put request. + Expected value is 'Activity'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] content: The entity query content to display in timeline + :param pulumi.Input[str] description: The entity query description + :param pulumi.Input[bool] enabled: Determines whether this activity is enabled or disabled. + :param pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]] entities_filter: The query applied only to entities matching to all filters + :param pulumi.Input[str] entity_query_id: entity query ID + :param pulumi.Input[Union[str, 'EntityType']] input_entity_type: The type of the query's source entity + :param pulumi.Input['ActivityEntityQueriesPropertiesQueryDefinitionsArgs'] query_definitions: The Activity query definitions + :param pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]] required_input_fields_sets: List of the fields of the source entity that are required to run the query + :param pulumi.Input[str] template_name: The template id this activity was created from + :param pulumi.Input[str] title: The entity query title + """ + pulumi.set(__self__, "kind", 'Activity') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if content is not None: + pulumi.set(__self__, "content", content) + if description is not None: + pulumi.set(__self__, "description", description) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if entities_filter is not None: + pulumi.set(__self__, "entities_filter", entities_filter) + if entity_query_id is not None: + pulumi.set(__self__, "entity_query_id", entity_query_id) + if input_entity_type is not None: + pulumi.set(__self__, "input_entity_type", input_entity_type) + if query_definitions is not None: + pulumi.set(__self__, "query_definitions", query_definitions) + if required_input_fields_sets is not None: + pulumi.set(__self__, "required_input_fields_sets", required_input_fields_sets) + if template_name is not None: + pulumi.set(__self__, "template_name", template_name) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the entity query that supports put request. + Expected value is 'Activity'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def content(self) -> Optional[pulumi.Input[str]]: + """ + The entity query content to display in timeline + """ + return pulumi.get(self, "content") + + @content.setter + def content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The entity query description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Determines whether this activity is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="entitiesFilter") + def entities_filter(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]]: + """ + The query applied only to entities matching to all filters + """ + return pulumi.get(self, "entities_filter") + + @entities_filter.setter + def entities_filter(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]]): + pulumi.set(self, "entities_filter", value) + + @property + @pulumi.getter(name="entityQueryId") + def entity_query_id(self) -> Optional[pulumi.Input[str]]: + """ + entity query ID + """ + return pulumi.get(self, "entity_query_id") + + @entity_query_id.setter + def entity_query_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_query_id", value) + + @property + @pulumi.getter(name="inputEntityType") + def input_entity_type(self) -> Optional[pulumi.Input[Union[str, 'EntityType']]]: + """ + The type of the query's source entity + """ + return pulumi.get(self, "input_entity_type") + + @input_entity_type.setter + def input_entity_type(self, value: Optional[pulumi.Input[Union[str, 'EntityType']]]): + pulumi.set(self, "input_entity_type", value) + + @property + @pulumi.getter(name="queryDefinitions") + def query_definitions(self) -> Optional[pulumi.Input['ActivityEntityQueriesPropertiesQueryDefinitionsArgs']]: + """ + The Activity query definitions + """ + return pulumi.get(self, "query_definitions") + + @query_definitions.setter + def query_definitions(self, value: Optional[pulumi.Input['ActivityEntityQueriesPropertiesQueryDefinitionsArgs']]): + pulumi.set(self, "query_definitions", value) + + @property + @pulumi.getter(name="requiredInputFieldsSets") + def required_input_fields_sets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]]]: + """ + List of the fields of the source entity that are required to run the query + """ + return pulumi.get(self, "required_input_fields_sets") + + @required_input_fields_sets.setter + def required_input_fields_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]]]): + pulumi.set(self, "required_input_fields_sets", value) + + @property + @pulumi.getter(name="templateName") + def template_name(self) -> Optional[pulumi.Input[str]]: + """ + The template id this activity was created from + """ + return pulumi.get(self, "template_name") + + @template_name.setter + def template_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "template_name", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + """ + The entity query title + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + +class ActivityCustomEntityQuery(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + content: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entities_filter: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None, + entity_query_id: Optional[pulumi.Input[str]] = None, + input_entity_type: Optional[pulumi.Input[Union[str, 'EntityType']]] = None, + kind: Optional[pulumi.Input[str]] = None, + query_definitions: Optional[pulumi.Input[pulumi.InputType['ActivityEntityQueriesPropertiesQueryDefinitionsArgs']]] = None, + required_input_fields_sets: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + template_name: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Activity entity query. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] content: The entity query content to display in timeline + :param pulumi.Input[str] description: The entity query description + :param pulumi.Input[bool] enabled: Determines whether this activity is enabled or disabled. + :param pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]] entities_filter: The query applied only to entities matching to all filters + :param pulumi.Input[str] entity_query_id: entity query ID + :param pulumi.Input[Union[str, 'EntityType']] input_entity_type: The type of the query's source entity + :param pulumi.Input[str] kind: The kind of the entity query that supports put request. + Expected value is 'Activity'. + :param pulumi.Input[pulumi.InputType['ActivityEntityQueriesPropertiesQueryDefinitionsArgs']] query_definitions: The Activity query definitions + :param pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]] required_input_fields_sets: List of the fields of the source entity that are required to run the query + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] template_name: The template id this activity was created from + :param pulumi.Input[str] title: The entity query title + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ActivityCustomEntityQueryArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Activity entity query. + + :param str resource_name: The name of the resource. + :param ActivityCustomEntityQueryArgs 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(ActivityCustomEntityQueryArgs, 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, + content: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entities_filter: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None, + entity_query_id: Optional[pulumi.Input[str]] = None, + input_entity_type: Optional[pulumi.Input[Union[str, 'EntityType']]] = None, + kind: Optional[pulumi.Input[str]] = None, + query_definitions: Optional[pulumi.Input[pulumi.InputType['ActivityEntityQueriesPropertiesQueryDefinitionsArgs']]] = None, + required_input_fields_sets: Optional[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + template_name: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ActivityCustomEntityQueryArgs.__new__(ActivityCustomEntityQueryArgs) + + __props__.__dict__["content"] = content + __props__.__dict__["description"] = description + __props__.__dict__["enabled"] = enabled + __props__.__dict__["entities_filter"] = entities_filter + __props__.__dict__["entity_query_id"] = entity_query_id + __props__.__dict__["input_entity_type"] = input_entity_type + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Activity' + __props__.__dict__["query_definitions"] = query_definitions + __props__.__dict__["required_input_fields_sets"] = required_input_fields_sets + 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__["template_name"] = template_name + __props__.__dict__["title"] = title + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ActivityCustomEntityQuery"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ActivityCustomEntityQuery")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ActivityCustomEntityQuery, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ActivityCustomEntityQuery', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ActivityCustomEntityQuery': + """ + Get an existing ActivityCustomEntityQuery 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ActivityCustomEntityQueryArgs.__new__(ActivityCustomEntityQueryArgs) + + __props__.__dict__["content"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["description"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["entities_filter"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["input_entity_type"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["query_definitions"] = None + __props__.__dict__["required_input_fields_sets"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["template_name"] = None + __props__.__dict__["title"] = None + __props__.__dict__["type"] = None + return ActivityCustomEntityQuery(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def content(self) -> pulumi.Output[Optional[str]]: + """ + The entity query content to display in timeline + """ + return pulumi.get(self, "content") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> pulumi.Output[str]: + """ + The time the activity was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The entity query description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[Optional[bool]]: + """ + Determines whether this activity is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="entitiesFilter") + def entities_filter(self) -> pulumi.Output[Optional[Mapping[str, Sequence[str]]]]: + """ + The query applied only to entities matching to all filters + """ + return pulumi.get(self, "entities_filter") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="inputEntityType") + def input_entity_type(self) -> pulumi.Output[Optional[str]]: + """ + The type of the query's source entity + """ + return pulumi.get(self, "input_entity_type") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the entity query + Expected value is 'Activity'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> pulumi.Output[str]: + """ + The last time the activity was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="queryDefinitions") + def query_definitions(self) -> pulumi.Output[Optional['outputs.ActivityEntityQueriesPropertiesResponseQueryDefinitions']]: + """ + The Activity query definitions + """ + return pulumi.get(self, "query_definitions") + + @property + @pulumi.getter(name="requiredInputFieldsSets") + def required_input_fields_sets(self) -> pulumi.Output[Optional[Sequence[Sequence[str]]]]: + """ + List of the fields of the source entity that are required to run the query + """ + return pulumi.get(self, "required_input_fields_sets") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="templateName") + def template_name(self) -> pulumi.Output[Optional[str]]: + """ + The template id this activity was created from + """ + return pulumi.get(self, "template_name") + + @property + @pulumi.getter + def title(self) -> pulumi.Output[Optional[str]]: + """ + The entity query title + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/anomalies.py new file mode 100644 index 000000000000..a297f8648613 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/anomalies.py @@ -0,0 +1,239 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['AnomaliesArgs', 'Anomalies'] + +@pulumi.input_type +class AnomaliesArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + settings_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Anomalies resource. + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'Anomalies'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + pulumi.set(__self__, "kind", 'Anomalies') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if settings_name is not None: + pulumi.set(__self__, "settings_name", settings_name) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the setting + Expected value is 'Anomalies'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="settingsName") + def settings_name(self) -> Optional[pulumi.Input[str]]: + """ + The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + return pulumi.get(self, "settings_name") + + @settings_name.setter + def settings_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "settings_name", value) + + +class Anomalies(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'Anomalies'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AnomaliesArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param AnomaliesArgs 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(AnomaliesArgs, 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, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AnomaliesArgs.__new__(AnomaliesArgs) + + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Anomalies' + 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__["settings_name"] = settings_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["is_enabled"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Anomalies"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Anomalies")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Anomalies, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Anomalies', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Anomalies': + """ + Get an existing Anomalies 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AnomaliesArgs.__new__(AnomaliesArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["is_enabled"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Anomalies(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Output[bool]: + """ + Determines whether the setting is enable or disabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the setting + Expected value is 'Anomalies'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/anomaly_security_ml_analytics_settings.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/anomaly_security_ml_analytics_settings.py new file mode 100644 index 000000000000..8036c7b530ba --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/anomaly_security_ml_analytics_settings.py @@ -0,0 +1,624 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AnomalySecurityMLAnalyticsSettingsArgs', 'AnomalySecurityMLAnalyticsSettings'] + +@pulumi.input_type +class AnomalySecurityMLAnalyticsSettingsArgs: + def __init__(__self__, *, + anomaly_version: pulumi.Input[str], + display_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + frequency: pulumi.Input[str], + is_default_settings: pulumi.Input[bool], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + settings_status: pulumi.Input[Union[str, 'SettingsStatus']], + workspace_name: pulumi.Input[str], + anomaly_settings_version: Optional[pulumi.Input[int]] = None, + customizable_observations: Optional[Any] = None, + description: Optional[pulumi.Input[str]] = None, + required_data_connectors: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMLAnalyticsSettingsDataSourceArgs']]]] = None, + settings_definition_id: Optional[pulumi.Input[str]] = None, + settings_resource_name: Optional[pulumi.Input[str]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a AnomalySecurityMLAnalyticsSettings resource. + :param pulumi.Input[str] anomaly_version: The anomaly version of the AnomalySecurityMLAnalyticsSettings. + :param pulumi.Input[str] display_name: The display name for settings created by this SecurityMLAnalyticsSettings. + :param pulumi.Input[bool] enabled: Determines whether this settings is enabled or disabled. + :param pulumi.Input[str] frequency: The frequency that this SecurityMLAnalyticsSettings will be run. + :param pulumi.Input[bool] is_default_settings: Determines whether this anomaly security ml analytics settings is a default settings + :param pulumi.Input[str] kind: The kind of security ML analytics settings + Expected value is 'Anomaly'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'SettingsStatus']] settings_status: The anomaly SecurityMLAnalyticsSettings status + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[int] anomaly_settings_version: The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + :param Any customizable_observations: The customizable observations of the AnomalySecurityMLAnalyticsSettings. + :param pulumi.Input[str] description: The description of the SecurityMLAnalyticsSettings. + :param pulumi.Input[Sequence[pulumi.Input['SecurityMLAnalyticsSettingsDataSourceArgs']]] required_data_connectors: The required data sources for this SecurityMLAnalyticsSettings + :param pulumi.Input[str] settings_definition_id: The anomaly settings definition Id + :param pulumi.Input[str] settings_resource_name: Security ML Analytics Settings resource name + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: The tactics of the SecurityMLAnalyticsSettings + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: The techniques of the SecurityMLAnalyticsSettings + """ + pulumi.set(__self__, "anomaly_version", anomaly_version) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "frequency", frequency) + pulumi.set(__self__, "is_default_settings", is_default_settings) + pulumi.set(__self__, "kind", 'Anomaly') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "settings_status", settings_status) + pulumi.set(__self__, "workspace_name", workspace_name) + if anomaly_settings_version is not None: + pulumi.set(__self__, "anomaly_settings_version", anomaly_settings_version) + if customizable_observations is not None: + pulumi.set(__self__, "customizable_observations", customizable_observations) + if description is not None: + pulumi.set(__self__, "description", description) + if required_data_connectors is not None: + pulumi.set(__self__, "required_data_connectors", required_data_connectors) + if settings_definition_id is not None: + pulumi.set(__self__, "settings_definition_id", settings_definition_id) + if settings_resource_name is not None: + pulumi.set(__self__, "settings_resource_name", settings_resource_name) + if tactics is not None: + pulumi.set(__self__, "tactics", tactics) + if techniques is not None: + pulumi.set(__self__, "techniques", techniques) + + @property + @pulumi.getter(name="anomalyVersion") + def anomaly_version(self) -> pulumi.Input[str]: + """ + The anomaly version of the AnomalySecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "anomaly_version") + + @anomaly_version.setter + def anomaly_version(self, value: pulumi.Input[str]): + pulumi.set(self, "anomaly_version", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name for settings created by this SecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this settings is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def frequency(self) -> pulumi.Input[str]: + """ + The frequency that this SecurityMLAnalyticsSettings will be run. + """ + return pulumi.get(self, "frequency") + + @frequency.setter + def frequency(self, value: pulumi.Input[str]): + pulumi.set(self, "frequency", value) + + @property + @pulumi.getter(name="isDefaultSettings") + def is_default_settings(self) -> pulumi.Input[bool]: + """ + Determines whether this anomaly security ml analytics settings is a default settings + """ + return pulumi.get(self, "is_default_settings") + + @is_default_settings.setter + def is_default_settings(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_default_settings", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of security ML analytics settings + Expected value is 'Anomaly'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="settingsStatus") + def settings_status(self) -> pulumi.Input[Union[str, 'SettingsStatus']]: + """ + The anomaly SecurityMLAnalyticsSettings status + """ + return pulumi.get(self, "settings_status") + + @settings_status.setter + def settings_status(self, value: pulumi.Input[Union[str, 'SettingsStatus']]): + pulumi.set(self, "settings_status", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="anomalySettingsVersion") + def anomaly_settings_version(self) -> Optional[pulumi.Input[int]]: + """ + The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + """ + return pulumi.get(self, "anomaly_settings_version") + + @anomaly_settings_version.setter + def anomaly_settings_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "anomaly_settings_version", value) + + @property + @pulumi.getter(name="customizableObservations") + def customizable_observations(self) -> Optional[Any]: + """ + The customizable observations of the AnomalySecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "customizable_observations") + + @customizable_observations.setter + def customizable_observations(self, value: Optional[Any]): + pulumi.set(self, "customizable_observations", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the SecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="requiredDataConnectors") + def required_data_connectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMLAnalyticsSettingsDataSourceArgs']]]]: + """ + The required data sources for this SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "required_data_connectors") + + @required_data_connectors.setter + def required_data_connectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMLAnalyticsSettingsDataSourceArgs']]]]): + pulumi.set(self, "required_data_connectors", value) + + @property + @pulumi.getter(name="settingsDefinitionId") + def settings_definition_id(self) -> Optional[pulumi.Input[str]]: + """ + The anomaly settings definition Id + """ + return pulumi.get(self, "settings_definition_id") + + @settings_definition_id.setter + def settings_definition_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "settings_definition_id", value) + + @property + @pulumi.getter(name="settingsResourceName") + def settings_resource_name(self) -> Optional[pulumi.Input[str]]: + """ + Security ML Analytics Settings resource name + """ + return pulumi.get(self, "settings_resource_name") + + @settings_resource_name.setter + def settings_resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "settings_resource_name", value) + + @property + @pulumi.getter + def tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]: + """ + The tactics of the SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "tactics") + + @tactics.setter + def tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]): + pulumi.set(self, "tactics", value) + + @property + @pulumi.getter + def techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The techniques of the SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "techniques") + + @techniques.setter + def techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "techniques", value) + + +class AnomalySecurityMLAnalyticsSettings(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + anomaly_settings_version: Optional[pulumi.Input[int]] = None, + anomaly_version: Optional[pulumi.Input[str]] = None, + customizable_observations: Optional[Any] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + frequency: Optional[pulumi.Input[str]] = None, + is_default_settings: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + required_data_connectors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityMLAnalyticsSettingsDataSourceArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_definition_id: Optional[pulumi.Input[str]] = None, + settings_resource_name: Optional[pulumi.Input[str]] = None, + settings_status: Optional[pulumi.Input[Union[str, 'SettingsStatus']]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Anomaly Security ML Analytics Settings + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[int] anomaly_settings_version: The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + :param pulumi.Input[str] anomaly_version: The anomaly version of the AnomalySecurityMLAnalyticsSettings. + :param Any customizable_observations: The customizable observations of the AnomalySecurityMLAnalyticsSettings. + :param pulumi.Input[str] description: The description of the SecurityMLAnalyticsSettings. + :param pulumi.Input[str] display_name: The display name for settings created by this SecurityMLAnalyticsSettings. + :param pulumi.Input[bool] enabled: Determines whether this settings is enabled or disabled. + :param pulumi.Input[str] frequency: The frequency that this SecurityMLAnalyticsSettings will be run. + :param pulumi.Input[bool] is_default_settings: Determines whether this anomaly security ml analytics settings is a default settings + :param pulumi.Input[str] kind: The kind of security ML analytics settings + Expected value is 'Anomaly'. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityMLAnalyticsSettingsDataSourceArgs']]]] required_data_connectors: The required data sources for this SecurityMLAnalyticsSettings + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] settings_definition_id: The anomaly settings definition Id + :param pulumi.Input[str] settings_resource_name: Security ML Analytics Settings resource name + :param pulumi.Input[Union[str, 'SettingsStatus']] settings_status: The anomaly SecurityMLAnalyticsSettings status + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: The tactics of the SecurityMLAnalyticsSettings + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: The techniques of the SecurityMLAnalyticsSettings + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AnomalySecurityMLAnalyticsSettingsArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Anomaly Security ML Analytics Settings + + :param str resource_name: The name of the resource. + :param AnomalySecurityMLAnalyticsSettingsArgs 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(AnomalySecurityMLAnalyticsSettingsArgs, 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, + anomaly_settings_version: Optional[pulumi.Input[int]] = None, + anomaly_version: Optional[pulumi.Input[str]] = None, + customizable_observations: Optional[Any] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + frequency: Optional[pulumi.Input[str]] = None, + is_default_settings: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + required_data_connectors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityMLAnalyticsSettingsDataSourceArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_definition_id: Optional[pulumi.Input[str]] = None, + settings_resource_name: Optional[pulumi.Input[str]] = None, + settings_status: Optional[pulumi.Input[Union[str, 'SettingsStatus']]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AnomalySecurityMLAnalyticsSettingsArgs.__new__(AnomalySecurityMLAnalyticsSettingsArgs) + + __props__.__dict__["anomaly_settings_version"] = anomaly_settings_version + if anomaly_version is None and not opts.urn: + raise TypeError("Missing required property 'anomaly_version'") + __props__.__dict__["anomaly_version"] = anomaly_version + __props__.__dict__["customizable_observations"] = customizable_observations + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + if frequency is None and not opts.urn: + raise TypeError("Missing required property 'frequency'") + __props__.__dict__["frequency"] = frequency + if is_default_settings is None and not opts.urn: + raise TypeError("Missing required property 'is_default_settings'") + __props__.__dict__["is_default_settings"] = is_default_settings + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Anomaly' + __props__.__dict__["required_data_connectors"] = required_data_connectors + 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__["settings_definition_id"] = settings_definition_id + __props__.__dict__["settings_resource_name"] = settings_resource_name + if settings_status is None and not opts.urn: + raise TypeError("Missing required property 'settings_status'") + __props__.__dict__["settings_status"] = settings_status + __props__.__dict__["tactics"] = tactics + __props__.__dict__["techniques"] = techniques + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AnomalySecurityMLAnalyticsSettings"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AnomalySecurityMLAnalyticsSettings")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AnomalySecurityMLAnalyticsSettings, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:AnomalySecurityMLAnalyticsSettings', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AnomalySecurityMLAnalyticsSettings': + """ + Get an existing AnomalySecurityMLAnalyticsSettings 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AnomalySecurityMLAnalyticsSettingsArgs.__new__(AnomalySecurityMLAnalyticsSettingsArgs) + + __props__.__dict__["anomaly_settings_version"] = None + __props__.__dict__["anomaly_version"] = None + __props__.__dict__["customizable_observations"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["frequency"] = None + __props__.__dict__["is_default_settings"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["required_data_connectors"] = None + __props__.__dict__["settings_definition_id"] = None + __props__.__dict__["settings_status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + return AnomalySecurityMLAnalyticsSettings(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="anomalySettingsVersion") + def anomaly_settings_version(self) -> pulumi.Output[Optional[int]]: + """ + The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + """ + return pulumi.get(self, "anomaly_settings_version") + + @property + @pulumi.getter(name="anomalyVersion") + def anomaly_version(self) -> pulumi.Output[str]: + """ + The anomaly version of the AnomalySecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "anomaly_version") + + @property + @pulumi.getter(name="customizableObservations") + def customizable_observations(self) -> pulumi.Output[Optional[Any]]: + """ + The customizable observations of the AnomalySecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "customizable_observations") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the SecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for settings created by this SecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this settings is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def frequency(self) -> pulumi.Output[str]: + """ + The frequency that this SecurityMLAnalyticsSettings will be run. + """ + return pulumi.get(self, "frequency") + + @property + @pulumi.getter(name="isDefaultSettings") + def is_default_settings(self) -> pulumi.Output[bool]: + """ + Determines whether this anomaly security ml analytics settings is a default settings + """ + return pulumi.get(self, "is_default_settings") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of security ML analytics settings + Expected value is 'Anomaly'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this SecurityMLAnalyticsSettings has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="requiredDataConnectors") + def required_data_connectors(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityMLAnalyticsSettingsDataSourceResponse']]]: + """ + The required data sources for this SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "required_data_connectors") + + @property + @pulumi.getter(name="settingsDefinitionId") + def settings_definition_id(self) -> pulumi.Output[Optional[str]]: + """ + The anomaly settings definition Id + """ + return pulumi.get(self, "settings_definition_id") + + @property + @pulumi.getter(name="settingsStatus") + def settings_status(self) -> pulumi.Output[str]: + """ + The anomaly SecurityMLAnalyticsSettings status + """ + return pulumi.get(self, "settings_status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The tactics of the SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The techniques of the SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/asc_data_connector.py new file mode 100644 index 000000000000..1913b7ed155b --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/asc_data_connector.py @@ -0,0 +1,289 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ASCDataConnectorArgs', 'ASCDataConnector'] + +@pulumi.input_type +class ASCDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None, + subscription_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ASCDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AzureSecurityCenter'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] subscription_id: The subscription id to connect to, and get the data from. + """ + pulumi.set(__self__, "kind", 'AzureSecurityCenter') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'AzureSecurityCenter'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + The subscription id to connect to, and get the data from. + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + + +class ASCDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents ASC (Azure Security Center) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AzureSecurityCenter'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] subscription_id: The subscription id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ASCDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents ASC (Azure Security Center) data connector. + + :param str resource_name: The name of the resource. + :param ASCDataConnectorArgs 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(ASCDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ASCDataConnectorArgs.__new__(ASCDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'AzureSecurityCenter' + 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__["subscription_id"] = subscription_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ASCDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ASCDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ASCDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ASCDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ASCDataConnector': + """ + Get an existing ASCDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ASCDataConnectorArgs.__new__(ASCDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["subscription_id"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ASCDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'AzureSecurityCenter'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> pulumi.Output[Optional[str]]: + """ + The subscription id to connect to, and get the data from. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/automation_rule.py new file mode 100644 index 000000000000..b6689b83125d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/automation_rule.py @@ -0,0 +1,355 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AutomationRuleArgs', 'AutomationRule'] + +@pulumi.input_type +class AutomationRuleArgs: + def __init__(__self__, *, + actions: pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleAddIncidentTaskActionArgs', 'AutomationRuleModifyPropertiesActionArgs', 'AutomationRuleRunPlaybookActionArgs']]]], + display_name: pulumi.Input[str], + order: pulumi.Input[int], + resource_group_name: pulumi.Input[str], + triggering_logic: pulumi.Input['AutomationRuleTriggeringLogicArgs'], + workspace_name: pulumi.Input[str], + automation_rule_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AutomationRule resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleAddIncidentTaskActionArgs', 'AutomationRuleModifyPropertiesActionArgs', 'AutomationRuleRunPlaybookActionArgs']]]] actions: The actions to execute when the automation rule is triggered. + :param pulumi.Input[str] display_name: The display name of the automation rule. + :param pulumi.Input[int] order: The order of execution of the automation rule. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['AutomationRuleTriggeringLogicArgs'] triggering_logic: Describes automation rule triggering logic. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] automation_rule_id: Automation rule ID + """ + pulumi.set(__self__, "actions", actions) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "order", order) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "triggering_logic", triggering_logic) + pulumi.set(__self__, "workspace_name", workspace_name) + if automation_rule_id is not None: + pulumi.set(__self__, "automation_rule_id", automation_rule_id) + + @property + @pulumi.getter + def actions(self) -> pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleAddIncidentTaskActionArgs', 'AutomationRuleModifyPropertiesActionArgs', 'AutomationRuleRunPlaybookActionArgs']]]]: + """ + The actions to execute when the automation rule is triggered. + """ + return pulumi.get(self, "actions") + + @actions.setter + def actions(self, value: pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleAddIncidentTaskActionArgs', 'AutomationRuleModifyPropertiesActionArgs', 'AutomationRuleRunPlaybookActionArgs']]]]): + pulumi.set(self, "actions", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the automation rule. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[int]: + """ + The order of execution of the automation rule. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[int]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="triggeringLogic") + def triggering_logic(self) -> pulumi.Input['AutomationRuleTriggeringLogicArgs']: + """ + Describes automation rule triggering logic. + """ + return pulumi.get(self, "triggering_logic") + + @triggering_logic.setter + def triggering_logic(self, value: pulumi.Input['AutomationRuleTriggeringLogicArgs']): + pulumi.set(self, "triggering_logic", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="automationRuleId") + def automation_rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Automation rule ID + """ + return pulumi.get(self, "automation_rule_id") + + @automation_rule_id.setter + def automation_rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "automation_rule_id", value) + + +class AutomationRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['AutomationRuleAddIncidentTaskActionArgs'], pulumi.InputType['AutomationRuleModifyPropertiesActionArgs'], pulumi.InputType['AutomationRuleRunPlaybookActionArgs']]]]]] = None, + automation_rule_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + triggering_logic: Optional[pulumi.Input[pulumi.InputType['AutomationRuleTriggeringLogicArgs']]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a AutomationRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['AutomationRuleAddIncidentTaskActionArgs'], pulumi.InputType['AutomationRuleModifyPropertiesActionArgs'], pulumi.InputType['AutomationRuleRunPlaybookActionArgs']]]]] actions: The actions to execute when the automation rule is triggered. + :param pulumi.Input[str] automation_rule_id: Automation rule ID + :param pulumi.Input[str] display_name: The display name of the automation rule. + :param pulumi.Input[int] order: The order of execution of the automation rule. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['AutomationRuleTriggeringLogicArgs']] triggering_logic: Describes automation rule triggering logic. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AutomationRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a AutomationRule resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param AutomationRuleArgs 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(AutomationRuleArgs, 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, + actions: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['AutomationRuleAddIncidentTaskActionArgs'], pulumi.InputType['AutomationRuleModifyPropertiesActionArgs'], pulumi.InputType['AutomationRuleRunPlaybookActionArgs']]]]]] = None, + automation_rule_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + triggering_logic: Optional[pulumi.Input[pulumi.InputType['AutomationRuleTriggeringLogicArgs']]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AutomationRuleArgs.__new__(AutomationRuleArgs) + + if actions is None and not opts.urn: + raise TypeError("Missing required property 'actions'") + __props__.__dict__["actions"] = actions + __props__.__dict__["automation_rule_id"] = automation_rule_id + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if order is None and not opts.urn: + raise TypeError("Missing required property 'order'") + __props__.__dict__["order"] = order + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if triggering_logic is None and not opts.urn: + raise TypeError("Missing required property 'triggering_logic'") + __props__.__dict__["triggering_logic"] = triggering_logic + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["created_by"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_by"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AutomationRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AutomationRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AutomationRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:AutomationRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AutomationRule': + """ + Get an existing AutomationRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AutomationRuleArgs.__new__(AutomationRuleArgs) + + __props__.__dict__["actions"] = None + __props__.__dict__["created_by"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_by"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["order"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["triggering_logic"] = None + __props__.__dict__["type"] = None + return AutomationRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def actions(self) -> pulumi.Output[Sequence[Any]]: + """ + The actions to execute when the automation rule is triggered. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output['outputs.ClientInfoResponse']: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> pulumi.Output[str]: + """ + The time the automation rule was created. + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the automation rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> pulumi.Output['outputs.ClientInfoResponse']: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> pulumi.Output[str]: + """ + The last time the automation rule was updated. + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def order(self) -> pulumi.Output[int]: + """ + The order of execution of the automation rule. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="triggeringLogic") + def triggering_logic(self) -> pulumi.Output['outputs.AutomationRuleTriggeringLogicResponse']: + """ + Describes automation rule triggering logic. + """ + return pulumi.get(self, "triggering_logic") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aws_cloud_trail_data_connector.py new file mode 100644 index 000000000000..701a3153e51c --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aws_cloud_trail_data_connector.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AwsCloudTrailDataConnectorArgs', 'AwsCloudTrailDataConnector'] + +@pulumi.input_type +class AwsCloudTrailDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['AwsCloudTrailDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + aws_role_arn: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AwsCloudTrailDataConnector resource. + :param pulumi.Input['AwsCloudTrailDataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AmazonWebServicesCloudTrail'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] aws_role_arn: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'AmazonWebServicesCloudTrail') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if aws_role_arn is not None: + pulumi.set(__self__, "aws_role_arn", aws_role_arn) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['AwsCloudTrailDataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['AwsCloudTrailDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'AmazonWebServicesCloudTrail'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="awsRoleArn") + def aws_role_arn(self) -> Optional[pulumi.Input[str]]: + """ + The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + """ + return pulumi.get(self, "aws_role_arn") + + @aws_role_arn.setter + def aws_role_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_role_arn", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class AwsCloudTrailDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aws_role_arn: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AwsCloudTrailDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Amazon Web Services CloudTrail data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] aws_role_arn: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AwsCloudTrailDataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AmazonWebServicesCloudTrail'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AwsCloudTrailDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Amazon Web Services CloudTrail data connector. + + :param str resource_name: The name of the resource. + :param AwsCloudTrailDataConnectorArgs 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(AwsCloudTrailDataConnectorArgs, 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, + aws_role_arn: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AwsCloudTrailDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AwsCloudTrailDataConnectorArgs.__new__(AwsCloudTrailDataConnectorArgs) + + __props__.__dict__["aws_role_arn"] = aws_role_arn + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'AmazonWebServicesCloudTrail' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsCloudTrailDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsCloudTrailDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AwsCloudTrailDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:AwsCloudTrailDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AwsCloudTrailDataConnector': + """ + Get an existing AwsCloudTrailDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AwsCloudTrailDataConnectorArgs.__new__(AwsCloudTrailDataConnectorArgs) + + __props__.__dict__["aws_role_arn"] = None + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return AwsCloudTrailDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="awsRoleArn") + def aws_role_arn(self) -> pulumi.Output[Optional[str]]: + """ + The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + """ + return pulumi.get(self, "aws_role_arn") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.AwsCloudTrailDataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'AmazonWebServicesCloudTrail'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aws_s3_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aws_s3_data_connector.py new file mode 100644 index 000000000000..1f3c4f824e07 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/aws_s3_data_connector.py @@ -0,0 +1,351 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AwsS3DataConnectorArgs', 'AwsS3DataConnector'] + +@pulumi.input_type +class AwsS3DataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['AwsS3DataConnectorDataTypesArgs'], + destination_table: pulumi.Input[str], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + role_arn: pulumi.Input[str], + sqs_urls: pulumi.Input[Sequence[pulumi.Input[str]]], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AwsS3DataConnector resource. + :param pulumi.Input['AwsS3DataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] destination_table: The logs destination table name in LogAnalytics. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AmazonWebServicesS3'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_arn: The Aws Role Arn that is used to access the Aws account. + :param pulumi.Input[Sequence[pulumi.Input[str]]] sqs_urls: The AWS sqs urls for the connector. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "destination_table", destination_table) + pulumi.set(__self__, "kind", 'AmazonWebServicesS3') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "role_arn", role_arn) + pulumi.set(__self__, "sqs_urls", sqs_urls) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['AwsS3DataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['AwsS3DataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter(name="destinationTable") + def destination_table(self) -> pulumi.Input[str]: + """ + The logs destination table name in LogAnalytics. + """ + return pulumi.get(self, "destination_table") + + @destination_table.setter + def destination_table(self, value: pulumi.Input[str]): + pulumi.set(self, "destination_table", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'AmazonWebServicesS3'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="roleArn") + def role_arn(self) -> pulumi.Input[str]: + """ + The Aws Role Arn that is used to access the Aws account. + """ + return pulumi.get(self, "role_arn") + + @role_arn.setter + def role_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "role_arn", value) + + @property + @pulumi.getter(name="sqsUrls") + def sqs_urls(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + The AWS sqs urls for the connector. + """ + return pulumi.get(self, "sqs_urls") + + @sqs_urls.setter + def sqs_urls(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "sqs_urls", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class AwsS3DataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AwsS3DataConnectorDataTypesArgs']]] = None, + destination_table: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_arn: Optional[pulumi.Input[str]] = None, + sqs_urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Amazon Web Services S3 data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AwsS3DataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] destination_table: The logs destination table name in LogAnalytics. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'AmazonWebServicesS3'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] role_arn: The Aws Role Arn that is used to access the Aws account. + :param pulumi.Input[Sequence[pulumi.Input[str]]] sqs_urls: The AWS sqs urls for the connector. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AwsS3DataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Amazon Web Services S3 data connector. + + :param str resource_name: The name of the resource. + :param AwsS3DataConnectorArgs 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(AwsS3DataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AwsS3DataConnectorDataTypesArgs']]] = None, + destination_table: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + role_arn: Optional[pulumi.Input[str]] = None, + sqs_urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AwsS3DataConnectorArgs.__new__(AwsS3DataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if destination_table is None and not opts.urn: + raise TypeError("Missing required property 'destination_table'") + __props__.__dict__["destination_table"] = destination_table + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'AmazonWebServicesS3' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if role_arn is None and not opts.urn: + raise TypeError("Missing required property 'role_arn'") + __props__.__dict__["role_arn"] = role_arn + if sqs_urls is None and not opts.urn: + raise TypeError("Missing required property 'sqs_urls'") + __props__.__dict__["sqs_urls"] = sqs_urls + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:AwsS3DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:AwsS3DataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(AwsS3DataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:AwsS3DataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AwsS3DataConnector': + """ + Get an existing AwsS3DataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AwsS3DataConnectorArgs.__new__(AwsS3DataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["destination_table"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["role_arn"] = None + __props__.__dict__["sqs_urls"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return AwsS3DataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.AwsS3DataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter(name="destinationTable") + def destination_table(self) -> pulumi.Output[str]: + """ + The logs destination table name in LogAnalytics. + """ + return pulumi.get(self, "destination_table") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'AmazonWebServicesS3'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> pulumi.Output[str]: + """ + The Aws Role Arn that is used to access the Aws account. + """ + return pulumi.get(self, "role_arn") + + @property + @pulumi.getter(name="sqsUrls") + def sqs_urls(self) -> pulumi.Output[Sequence[str]]: + """ + The AWS sqs urls for the connector. + """ + return pulumi.get(self, "sqs_urls") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/bookmark.py new file mode 100644 index 000000000000..15f7ca1880ee --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/bookmark.py @@ -0,0 +1,663 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['BookmarkArgs', 'Bookmark'] + +@pulumi.input_type +class BookmarkArgs: + def __init__(__self__, *, + display_name: pulumi.Input[str], + query: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + bookmark_id: Optional[pulumi.Input[str]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input['UserInfoArgs']] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['BookmarkEntityMappingsArgs']]]] = None, + event_time: Optional[pulumi.Input[str]] = None, + incident_info: Optional[pulumi.Input['IncidentInfoArgs']] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + notes: Optional[pulumi.Input[str]] = None, + query_end_time: Optional[pulumi.Input[str]] = None, + query_result: Optional[pulumi.Input[str]] = None, + query_start_time: Optional[pulumi.Input[str]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input['UserInfoArgs']] = None): + """ + The set of arguments for constructing a Bookmark resource. + :param pulumi.Input[str] display_name: The display name of the bookmark + :param pulumi.Input[str] query: The query of the bookmark. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] bookmark_id: Bookmark ID + :param pulumi.Input[str] created: The time the bookmark was created + :param pulumi.Input['UserInfoArgs'] created_by: Describes a user that created the bookmark + :param pulumi.Input[Sequence[pulumi.Input['BookmarkEntityMappingsArgs']]] entity_mappings: Describes the entity mappings of the bookmark + :param pulumi.Input[str] event_time: The bookmark event time + :param pulumi.Input['IncidentInfoArgs'] incident_info: Describes an incident that relates to bookmark + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this bookmark + :param pulumi.Input[str] notes: The notes of the bookmark + :param pulumi.Input[str] query_end_time: The end time for the query + :param pulumi.Input[str] query_result: The query result of the bookmark. + :param pulumi.Input[str] query_start_time: The start time for the query + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: A list of relevant mitre attacks + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: A list of relevant mitre techniques + :param pulumi.Input[str] updated: The last time the bookmark was updated + :param pulumi.Input['UserInfoArgs'] updated_by: Describes a user that updated the bookmark + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if bookmark_id is not None: + pulumi.set(__self__, "bookmark_id", bookmark_id) + if created is not None: + pulumi.set(__self__, "created", created) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if entity_mappings is not None: + pulumi.set(__self__, "entity_mappings", entity_mappings) + if event_time is not None: + pulumi.set(__self__, "event_time", event_time) + if incident_info is not None: + pulumi.set(__self__, "incident_info", incident_info) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if notes is not None: + pulumi.set(__self__, "notes", notes) + if query_end_time is not None: + pulumi.set(__self__, "query_end_time", query_end_time) + if query_result is not None: + pulumi.set(__self__, "query_result", query_result) + if query_start_time is not None: + pulumi.set(__self__, "query_start_time", query_start_time) + if tactics is not None: + pulumi.set(__self__, "tactics", tactics) + if techniques is not None: + pulumi.set(__self__, "techniques", techniques) + if updated is not None: + pulumi.set(__self__, "updated", updated) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the bookmark + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def query(self) -> pulumi.Input[str]: + """ + The query of the bookmark. + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input[str]): + pulumi.set(self, "query", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="bookmarkId") + def bookmark_id(self) -> Optional[pulumi.Input[str]]: + """ + Bookmark ID + """ + return pulumi.get(self, "bookmark_id") + + @bookmark_id.setter + def bookmark_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bookmark_id", value) + + @property + @pulumi.getter + def created(self) -> Optional[pulumi.Input[str]]: + """ + The time the bookmark was created + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input['UserInfoArgs']]: + """ + Describes a user that created the bookmark + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input['UserInfoArgs']]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BookmarkEntityMappingsArgs']]]]: + """ + Describes the entity mappings of the bookmark + """ + return pulumi.get(self, "entity_mappings") + + @entity_mappings.setter + def entity_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BookmarkEntityMappingsArgs']]]]): + pulumi.set(self, "entity_mappings", value) + + @property + @pulumi.getter(name="eventTime") + def event_time(self) -> Optional[pulumi.Input[str]]: + """ + The bookmark event time + """ + return pulumi.get(self, "event_time") + + @event_time.setter + def event_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "event_time", value) + + @property + @pulumi.getter(name="incidentInfo") + def incident_info(self) -> Optional[pulumi.Input['IncidentInfoArgs']]: + """ + Describes an incident that relates to bookmark + """ + return pulumi.get(self, "incident_info") + + @incident_info.setter + def incident_info(self, value: Optional[pulumi.Input['IncidentInfoArgs']]): + pulumi.set(self, "incident_info", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of labels relevant to this bookmark + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def notes(self) -> Optional[pulumi.Input[str]]: + """ + The notes of the bookmark + """ + return pulumi.get(self, "notes") + + @notes.setter + def notes(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notes", value) + + @property + @pulumi.getter(name="queryEndTime") + def query_end_time(self) -> Optional[pulumi.Input[str]]: + """ + The end time for the query + """ + return pulumi.get(self, "query_end_time") + + @query_end_time.setter + def query_end_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_end_time", value) + + @property + @pulumi.getter(name="queryResult") + def query_result(self) -> Optional[pulumi.Input[str]]: + """ + The query result of the bookmark. + """ + return pulumi.get(self, "query_result") + + @query_result.setter + def query_result(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_result", value) + + @property + @pulumi.getter(name="queryStartTime") + def query_start_time(self) -> Optional[pulumi.Input[str]]: + """ + The start time for the query + """ + return pulumi.get(self, "query_start_time") + + @query_start_time.setter + def query_start_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_start_time", value) + + @property + @pulumi.getter + def tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]: + """ + A list of relevant mitre attacks + """ + return pulumi.get(self, "tactics") + + @tactics.setter + def tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]): + pulumi.set(self, "tactics", value) + + @property + @pulumi.getter + def techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of relevant mitre techniques + """ + return pulumi.get(self, "techniques") + + @techniques.setter + def techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "techniques", value) + + @property + @pulumi.getter + def updated(self) -> Optional[pulumi.Input[str]]: + """ + The last time the bookmark was updated + """ + return pulumi.get(self, "updated") + + @updated.setter + def updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input['UserInfoArgs']]: + """ + Describes a user that updated the bookmark + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input['UserInfoArgs']]): + pulumi.set(self, "updated_by", value) + + +class Bookmark(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bookmark_id: Optional[pulumi.Input[str]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['UserInfoArgs']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BookmarkEntityMappingsArgs']]]]] = None, + event_time: Optional[pulumi.Input[str]] = None, + incident_info: Optional[pulumi.Input[pulumi.InputType['IncidentInfoArgs']]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + notes: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + query_end_time: Optional[pulumi.Input[str]] = None, + query_result: Optional[pulumi.Input[str]] = None, + query_start_time: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[pulumi.InputType['UserInfoArgs']]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a bookmark in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] bookmark_id: Bookmark ID + :param pulumi.Input[str] created: The time the bookmark was created + :param pulumi.Input[pulumi.InputType['UserInfoArgs']] created_by: Describes a user that created the bookmark + :param pulumi.Input[str] display_name: The display name of the bookmark + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BookmarkEntityMappingsArgs']]]] entity_mappings: Describes the entity mappings of the bookmark + :param pulumi.Input[str] event_time: The bookmark event time + :param pulumi.Input[pulumi.InputType['IncidentInfoArgs']] incident_info: Describes an incident that relates to bookmark + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this bookmark + :param pulumi.Input[str] notes: The notes of the bookmark + :param pulumi.Input[str] query: The query of the bookmark. + :param pulumi.Input[str] query_end_time: The end time for the query + :param pulumi.Input[str] query_result: The query result of the bookmark. + :param pulumi.Input[str] query_start_time: The start time for the query + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: A list of relevant mitre attacks + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: A list of relevant mitre techniques + :param pulumi.Input[str] updated: The last time the bookmark was updated + :param pulumi.Input[pulumi.InputType['UserInfoArgs']] updated_by: Describes a user that updated the bookmark + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BookmarkArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a bookmark in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param BookmarkArgs 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(BookmarkArgs, 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, + bookmark_id: Optional[pulumi.Input[str]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['UserInfoArgs']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BookmarkEntityMappingsArgs']]]]] = None, + event_time: Optional[pulumi.Input[str]] = None, + incident_info: Optional[pulumi.Input[pulumi.InputType['IncidentInfoArgs']]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + notes: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + query_end_time: Optional[pulumi.Input[str]] = None, + query_result: Optional[pulumi.Input[str]] = None, + query_start_time: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[pulumi.InputType['UserInfoArgs']]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BookmarkArgs.__new__(BookmarkArgs) + + __props__.__dict__["bookmark_id"] = bookmark_id + __props__.__dict__["created"] = created + __props__.__dict__["created_by"] = created_by + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["entity_mappings"] = entity_mappings + __props__.__dict__["event_time"] = event_time + __props__.__dict__["incident_info"] = incident_info + __props__.__dict__["labels"] = labels + __props__.__dict__["notes"] = notes + if query is None and not opts.urn: + raise TypeError("Missing required property 'query'") + __props__.__dict__["query"] = query + __props__.__dict__["query_end_time"] = query_end_time + __props__.__dict__["query_result"] = query_result + __props__.__dict__["query_start_time"] = query_start_time + 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__["tactics"] = tactics + __props__.__dict__["techniques"] = techniques + __props__.__dict__["updated"] = updated + __props__.__dict__["updated_by"] = updated_by + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Bookmark"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Bookmark")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Bookmark, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Bookmark', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Bookmark': + """ + Get an existing Bookmark 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BookmarkArgs.__new__(BookmarkArgs) + + __props__.__dict__["created"] = None + __props__.__dict__["created_by"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["entity_mappings"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["event_time"] = None + __props__.__dict__["incident_info"] = None + __props__.__dict__["labels"] = None + __props__.__dict__["name"] = None + __props__.__dict__["notes"] = None + __props__.__dict__["query"] = None + __props__.__dict__["query_end_time"] = None + __props__.__dict__["query_result"] = None + __props__.__dict__["query_start_time"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + __props__.__dict__["updated"] = None + __props__.__dict__["updated_by"] = None + return Bookmark(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def created(self) -> pulumi.Output[Optional[str]]: + """ + The time the bookmark was created + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output[Optional['outputs.UserInfoResponse']]: + """ + Describes a user that created the bookmark + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the bookmark + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.BookmarkEntityMappingsResponse']]]: + """ + Describes the entity mappings of the bookmark + """ + return pulumi.get(self, "entity_mappings") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="eventTime") + def event_time(self) -> pulumi.Output[Optional[str]]: + """ + The bookmark event time + """ + return pulumi.get(self, "event_time") + + @property + @pulumi.getter(name="incidentInfo") + def incident_info(self) -> pulumi.Output[Optional['outputs.IncidentInfoResponse']]: + """ + Describes an incident that relates to bookmark + """ + return pulumi.get(self, "incident_info") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of labels relevant to this bookmark + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def notes(self) -> pulumi.Output[Optional[str]]: + """ + The notes of the bookmark + """ + return pulumi.get(self, "notes") + + @property + @pulumi.getter + def query(self) -> pulumi.Output[str]: + """ + The query of the bookmark. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter(name="queryEndTime") + def query_end_time(self) -> pulumi.Output[Optional[str]]: + """ + The end time for the query + """ + return pulumi.get(self, "query_end_time") + + @property + @pulumi.getter(name="queryResult") + def query_result(self) -> pulumi.Output[Optional[str]]: + """ + The query result of the bookmark. + """ + return pulumi.get(self, "query_result") + + @property + @pulumi.getter(name="queryStartTime") + def query_start_time(self) -> pulumi.Output[Optional[str]]: + """ + The start time for the query + """ + return pulumi.get(self, "query_start_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A list of relevant mitre attacks + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A list of relevant mitre techniques + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def updated(self) -> pulumi.Output[Optional[str]]: + """ + The last time the bookmark was updated + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> pulumi.Output[Optional['outputs.UserInfoResponse']]: + """ + Describes a user that updated the bookmark + """ + return pulumi.get(self, "updated_by") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/bookmark_relation.py new file mode 100644 index 000000000000..0656def24041 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/bookmark_relation.py @@ -0,0 +1,276 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['BookmarkRelationArgs', 'BookmarkRelation'] + +@pulumi.input_type +class BookmarkRelationArgs: + def __init__(__self__, *, + bookmark_id: pulumi.Input[str], + related_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + relation_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a BookmarkRelation resource. + :param pulumi.Input[str] bookmark_id: Bookmark ID + :param pulumi.Input[str] related_resource_id: The resource ID of the related resource + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] relation_name: Relation Name + """ + pulumi.set(__self__, "bookmark_id", bookmark_id) + pulumi.set(__self__, "related_resource_id", related_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if relation_name is not None: + pulumi.set(__self__, "relation_name", relation_name) + + @property + @pulumi.getter(name="bookmarkId") + def bookmark_id(self) -> pulumi.Input[str]: + """ + Bookmark ID + """ + return pulumi.get(self, "bookmark_id") + + @bookmark_id.setter + def bookmark_id(self, value: pulumi.Input[str]): + pulumi.set(self, "bookmark_id", value) + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @related_resource_id.setter + def related_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "related_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="relationName") + def relation_name(self) -> Optional[pulumi.Input[str]]: + """ + Relation Name + """ + return pulumi.get(self, "relation_name") + + @relation_name.setter + def relation_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "relation_name", value) + + +class BookmarkRelation(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bookmark_id: Optional[pulumi.Input[str]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a relation between two resources + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] bookmark_id: Bookmark ID + :param pulumi.Input[str] related_resource_id: The resource ID of the related resource + :param pulumi.Input[str] relation_name: Relation Name + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BookmarkRelationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a relation between two resources + + :param str resource_name: The name of the resource. + :param BookmarkRelationArgs 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(BookmarkRelationArgs, 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, + bookmark_id: Optional[pulumi.Input[str]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BookmarkRelationArgs.__new__(BookmarkRelationArgs) + + if bookmark_id is None and not opts.urn: + raise TypeError("Missing required property 'bookmark_id'") + __props__.__dict__["bookmark_id"] = bookmark_id + if related_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'related_resource_id'") + __props__.__dict__["related_resource_id"] = related_resource_id + __props__.__dict__["relation_name"] = relation_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["related_resource_kind"] = None + __props__.__dict__["related_resource_name"] = None + __props__.__dict__["related_resource_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:BookmarkRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:BookmarkRelation")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(BookmarkRelation, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:BookmarkRelation', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'BookmarkRelation': + """ + Get an existing BookmarkRelation 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = BookmarkRelationArgs.__new__(BookmarkRelationArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["related_resource_id"] = None + __props__.__dict__["related_resource_kind"] = None + __props__.__dict__["related_resource_name"] = None + __props__.__dict__["related_resource_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return BookmarkRelation(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @property + @pulumi.getter(name="relatedResourceKind") + def related_resource_kind(self) -> pulumi.Output[str]: + """ + The resource kind of the related resource + """ + return pulumi.get(self, "related_resource_kind") + + @property + @pulumi.getter(name="relatedResourceName") + def related_resource_name(self) -> pulumi.Output[str]: + """ + The name of the related resource + """ + return pulumi.get(self, "related_resource_name") + + @property + @pulumi.getter(name="relatedResourceType") + def related_resource_type(self) -> pulumi.Output[str]: + """ + The resource type of the related resource + """ + return pulumi.get(self, "related_resource_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/codeless_api_polling_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/codeless_api_polling_data_connector.py new file mode 100644 index 000000000000..23110730c853 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/codeless_api_polling_data_connector.py @@ -0,0 +1,289 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CodelessApiPollingDataConnectorArgs', 'CodelessApiPollingDataConnector'] + +@pulumi.input_type +class CodelessApiPollingDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + connector_ui_config: Optional[pulumi.Input['CodelessUiConnectorConfigPropertiesArgs']] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + polling_config: Optional[pulumi.Input['CodelessConnectorPollingConfigPropertiesArgs']] = None): + """ + The set of arguments for constructing a CodelessApiPollingDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'APIPolling'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['CodelessUiConnectorConfigPropertiesArgs'] connector_ui_config: Config to describe the instructions blade + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['CodelessConnectorPollingConfigPropertiesArgs'] polling_config: Config to describe the polling instructions + """ + pulumi.set(__self__, "kind", 'APIPolling') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if connector_ui_config is not None: + pulumi.set(__self__, "connector_ui_config", connector_ui_config) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if polling_config is not None: + pulumi.set(__self__, "polling_config", polling_config) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'APIPolling'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> Optional[pulumi.Input['CodelessUiConnectorConfigPropertiesArgs']]: + """ + Config to describe the instructions blade + """ + return pulumi.get(self, "connector_ui_config") + + @connector_ui_config.setter + def connector_ui_config(self, value: Optional[pulumi.Input['CodelessUiConnectorConfigPropertiesArgs']]): + pulumi.set(self, "connector_ui_config", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="pollingConfig") + def polling_config(self) -> Optional[pulumi.Input['CodelessConnectorPollingConfigPropertiesArgs']]: + """ + Config to describe the polling instructions + """ + return pulumi.get(self, "polling_config") + + @polling_config.setter + def polling_config(self, value: Optional[pulumi.Input['CodelessConnectorPollingConfigPropertiesArgs']]): + pulumi.set(self, "polling_config", value) + + +class CodelessApiPollingDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + connector_ui_config: Optional[pulumi.Input[pulumi.InputType['CodelessUiConnectorConfigPropertiesArgs']]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + polling_config: Optional[pulumi.Input[pulumi.InputType['CodelessConnectorPollingConfigPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Codeless API Polling data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['CodelessUiConnectorConfigPropertiesArgs']] connector_ui_config: Config to describe the instructions blade + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'APIPolling'. + :param pulumi.Input[pulumi.InputType['CodelessConnectorPollingConfigPropertiesArgs']] polling_config: Config to describe the polling instructions + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CodelessApiPollingDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Codeless API Polling data connector. + + :param str resource_name: The name of the resource. + :param CodelessApiPollingDataConnectorArgs 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(CodelessApiPollingDataConnectorArgs, 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, + connector_ui_config: Optional[pulumi.Input[pulumi.InputType['CodelessUiConnectorConfigPropertiesArgs']]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + polling_config: Optional[pulumi.Input[pulumi.InputType['CodelessConnectorPollingConfigPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CodelessApiPollingDataConnectorArgs.__new__(CodelessApiPollingDataConnectorArgs) + + __props__.__dict__["connector_ui_config"] = connector_ui_config + __props__.__dict__["data_connector_id"] = data_connector_id + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'APIPolling' + __props__.__dict__["polling_config"] = polling_config + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessApiPollingDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessApiPollingDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CodelessApiPollingDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:CodelessApiPollingDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CodelessApiPollingDataConnector': + """ + Get an existing CodelessApiPollingDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CodelessApiPollingDataConnectorArgs.__new__(CodelessApiPollingDataConnectorArgs) + + __props__.__dict__["connector_ui_config"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["polling_config"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return CodelessApiPollingDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> pulumi.Output[Optional['outputs.CodelessUiConnectorConfigPropertiesResponse']]: + """ + Config to describe the instructions blade + """ + return pulumi.get(self, "connector_ui_config") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'APIPolling'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="pollingConfig") + def polling_config(self) -> pulumi.Output[Optional['outputs.CodelessConnectorPollingConfigPropertiesResponse']]: + """ + Config to describe the polling instructions + """ + return pulumi.get(self, "polling_config") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/codeless_ui_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/codeless_ui_data_connector.py new file mode 100644 index 000000000000..19361bd85fba --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/codeless_ui_data_connector.py @@ -0,0 +1,260 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CodelessUiDataConnectorArgs', 'CodelessUiDataConnector'] + +@pulumi.input_type +class CodelessUiDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + connector_ui_config: Optional[pulumi.Input['CodelessUiConnectorConfigPropertiesArgs']] = None, + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a CodelessUiDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'GenericUI'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['CodelessUiConnectorConfigPropertiesArgs'] connector_ui_config: Config to describe the instructions blade + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "kind", 'GenericUI') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if connector_ui_config is not None: + pulumi.set(__self__, "connector_ui_config", connector_ui_config) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'GenericUI'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> Optional[pulumi.Input['CodelessUiConnectorConfigPropertiesArgs']]: + """ + Config to describe the instructions blade + """ + return pulumi.get(self, "connector_ui_config") + + @connector_ui_config.setter + def connector_ui_config(self, value: Optional[pulumi.Input['CodelessUiConnectorConfigPropertiesArgs']]): + pulumi.set(self, "connector_ui_config", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class CodelessUiDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + connector_ui_config: Optional[pulumi.Input[pulumi.InputType['CodelessUiConnectorConfigPropertiesArgs']]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Codeless UI data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['CodelessUiConnectorConfigPropertiesArgs']] connector_ui_config: Config to describe the instructions blade + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'GenericUI'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CodelessUiDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Codeless UI data connector. + + :param str resource_name: The name of the resource. + :param CodelessUiDataConnectorArgs 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(CodelessUiDataConnectorArgs, 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, + connector_ui_config: Optional[pulumi.Input[pulumi.InputType['CodelessUiConnectorConfigPropertiesArgs']]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CodelessUiDataConnectorArgs.__new__(CodelessUiDataConnectorArgs) + + __props__.__dict__["connector_ui_config"] = connector_ui_config + __props__.__dict__["data_connector_id"] = data_connector_id + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'GenericUI' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CodelessUiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CodelessUiDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CodelessUiDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:CodelessUiDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CodelessUiDataConnector': + """ + Get an existing CodelessUiDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CodelessUiDataConnectorArgs.__new__(CodelessUiDataConnectorArgs) + + __props__.__dict__["connector_ui_config"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return CodelessUiDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> pulumi.Output[Optional['outputs.CodelessUiConnectorConfigPropertiesResponse']]: + """ + Config to describe the instructions blade + """ + return pulumi.get(self, "connector_ui_config") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'GenericUI'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/content_package.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/content_package.py new file mode 100644 index 000000000000..ba857bb2d1da --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/content_package.py @@ -0,0 +1,840 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ContentPackageArgs', 'ContentPackage'] + +@pulumi.input_type +class ContentPackageArgs: + def __init__(__self__, *, + content_id: pulumi.Input[str], + content_kind: pulumi.Input[Union[str, 'PackageKind']], + content_product_id: pulumi.Input[str], + display_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + version: pulumi.Input[str], + workspace_name: pulumi.Input[str], + author: Optional[pulumi.Input['MetadataAuthorArgs']] = None, + categories: Optional[pulumi.Input['MetadataCategoriesArgs']] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input['MetadataDependenciesArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + is_featured: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + is_new: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + is_preview: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + publisher_display_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input['MetadataSourceArgs']] = None, + support: Optional[pulumi.Input['MetadataSupportArgs']] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ContentPackage resource. + :param pulumi.Input[str] content_id: The content id of the package + :param pulumi.Input[Union[str, 'PackageKind']] content_kind: The package kind + :param pulumi.Input[str] content_product_id: Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + :param pulumi.Input[str] display_name: The display name of the package + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] version: the latest version number of the package + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['MetadataAuthorArgs'] author: The author of the package + :param pulumi.Input['MetadataCategoriesArgs'] categories: The categories of the package + :param pulumi.Input[str] content_schema_version: The version of the content schema. + :param pulumi.Input['MetadataDependenciesArgs'] dependencies: The support tier of the package + :param pulumi.Input[str] description: The description of the package + :param pulumi.Input[str] first_publish_date: first publish date package item + :param pulumi.Input[str] icon: the icon identifier. this id can later be fetched from the content metadata + :param pulumi.Input[Union[str, 'Flag']] is_featured: Flag indicates if this package is among the featured list. + :param pulumi.Input[Union[str, 'Flag']] is_new: Flag indicates if this is a newly published package. + :param pulumi.Input[Union[str, 'Flag']] is_preview: Flag indicates if this package is in preview. + :param pulumi.Input[str] last_publish_date: last publish date for the package item + :param pulumi.Input[str] package_id: package Id + :param pulumi.Input[Sequence[pulumi.Input[str]]] providers: Providers for the package item + :param pulumi.Input[str] publisher_display_name: The publisher display name of the package + :param pulumi.Input['MetadataSourceArgs'] source: The source of the package + :param pulumi.Input['MetadataSupportArgs'] support: The support tier of the package + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_tactics: the tactics the resource covers + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_techniques: the techniques the resource covers, these have to be aligned with the tactics being used + """ + pulumi.set(__self__, "content_id", content_id) + pulumi.set(__self__, "content_kind", content_kind) + pulumi.set(__self__, "content_product_id", content_product_id) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "version", version) + pulumi.set(__self__, "workspace_name", workspace_name) + if author is not None: + pulumi.set(__self__, "author", author) + if categories is not None: + pulumi.set(__self__, "categories", categories) + if content_schema_version is not None: + pulumi.set(__self__, "content_schema_version", content_schema_version) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + if description is not None: + pulumi.set(__self__, "description", description) + if first_publish_date is not None: + pulumi.set(__self__, "first_publish_date", first_publish_date) + if icon is not None: + pulumi.set(__self__, "icon", icon) + if is_featured is not None: + pulumi.set(__self__, "is_featured", is_featured) + if is_new is not None: + pulumi.set(__self__, "is_new", is_new) + if is_preview is not None: + pulumi.set(__self__, "is_preview", is_preview) + if last_publish_date is not None: + pulumi.set(__self__, "last_publish_date", last_publish_date) + if package_id is not None: + pulumi.set(__self__, "package_id", package_id) + if providers is not None: + pulumi.set(__self__, "providers", providers) + if publisher_display_name is not None: + pulumi.set(__self__, "publisher_display_name", publisher_display_name) + if source is not None: + pulumi.set(__self__, "source", source) + if support is not None: + pulumi.set(__self__, "support", support) + if threat_analysis_tactics is not None: + pulumi.set(__self__, "threat_analysis_tactics", threat_analysis_tactics) + if threat_analysis_techniques is not None: + pulumi.set(__self__, "threat_analysis_techniques", threat_analysis_techniques) + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> pulumi.Input[str]: + """ + The content id of the package + """ + return pulumi.get(self, "content_id") + + @content_id.setter + def content_id(self, value: pulumi.Input[str]): + pulumi.set(self, "content_id", value) + + @property + @pulumi.getter(name="contentKind") + def content_kind(self) -> pulumi.Input[Union[str, 'PackageKind']]: + """ + The package kind + """ + return pulumi.get(self, "content_kind") + + @content_kind.setter + def content_kind(self, value: pulumi.Input[Union[str, 'PackageKind']]): + pulumi.set(self, "content_kind", value) + + @property + @pulumi.getter(name="contentProductId") + def content_product_id(self) -> pulumi.Input[str]: + """ + Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + """ + return pulumi.get(self, "content_product_id") + + @content_product_id.setter + def content_product_id(self, value: pulumi.Input[str]): + pulumi.set(self, "content_product_id", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the package + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 version(self) -> pulumi.Input[str]: + """ + the latest version number of the package + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: pulumi.Input[str]): + pulumi.set(self, "version", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def author(self) -> Optional[pulumi.Input['MetadataAuthorArgs']]: + """ + The author of the package + """ + return pulumi.get(self, "author") + + @author.setter + def author(self, value: Optional[pulumi.Input['MetadataAuthorArgs']]): + pulumi.set(self, "author", value) + + @property + @pulumi.getter + def categories(self) -> Optional[pulumi.Input['MetadataCategoriesArgs']]: + """ + The categories of the package + """ + return pulumi.get(self, "categories") + + @categories.setter + def categories(self, value: Optional[pulumi.Input['MetadataCategoriesArgs']]): + pulumi.set(self, "categories", value) + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the content schema. + """ + return pulumi.get(self, "content_schema_version") + + @content_schema_version.setter + def content_schema_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_schema_version", value) + + @property + @pulumi.getter + def dependencies(self) -> Optional[pulumi.Input['MetadataDependenciesArgs']]: + """ + The support tier of the package + """ + return pulumi.get(self, "dependencies") + + @dependencies.setter + def dependencies(self, value: Optional[pulumi.Input['MetadataDependenciesArgs']]): + pulumi.set(self, "dependencies", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the package + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> Optional[pulumi.Input[str]]: + """ + first publish date package item + """ + return pulumi.get(self, "first_publish_date") + + @first_publish_date.setter + def first_publish_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "first_publish_date", value) + + @property + @pulumi.getter + def icon(self) -> Optional[pulumi.Input[str]]: + """ + the icon identifier. this id can later be fetched from the content metadata + """ + return pulumi.get(self, "icon") + + @icon.setter + def icon(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon", value) + + @property + @pulumi.getter(name="isFeatured") + def is_featured(self) -> Optional[pulumi.Input[Union[str, 'Flag']]]: + """ + Flag indicates if this package is among the featured list. + """ + return pulumi.get(self, "is_featured") + + @is_featured.setter + def is_featured(self, value: Optional[pulumi.Input[Union[str, 'Flag']]]): + pulumi.set(self, "is_featured", value) + + @property + @pulumi.getter(name="isNew") + def is_new(self) -> Optional[pulumi.Input[Union[str, 'Flag']]]: + """ + Flag indicates if this is a newly published package. + """ + return pulumi.get(self, "is_new") + + @is_new.setter + def is_new(self, value: Optional[pulumi.Input[Union[str, 'Flag']]]): + pulumi.set(self, "is_new", value) + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> Optional[pulumi.Input[Union[str, 'Flag']]]: + """ + Flag indicates if this package is in preview. + """ + return pulumi.get(self, "is_preview") + + @is_preview.setter + def is_preview(self, value: Optional[pulumi.Input[Union[str, 'Flag']]]): + pulumi.set(self, "is_preview", value) + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> Optional[pulumi.Input[str]]: + """ + last publish date for the package item + """ + return pulumi.get(self, "last_publish_date") + + @last_publish_date.setter + def last_publish_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_publish_date", value) + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> Optional[pulumi.Input[str]]: + """ + package Id + """ + return pulumi.get(self, "package_id") + + @package_id.setter + def package_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_id", value) + + @property + @pulumi.getter + def providers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Providers for the package item + """ + return pulumi.get(self, "providers") + + @providers.setter + def providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "providers", value) + + @property + @pulumi.getter(name="publisherDisplayName") + def publisher_display_name(self) -> Optional[pulumi.Input[str]]: + """ + The publisher display name of the package + """ + return pulumi.get(self, "publisher_display_name") + + @publisher_display_name.setter + def publisher_display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "publisher_display_name", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input['MetadataSourceArgs']]: + """ + The source of the package + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input['MetadataSourceArgs']]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def support(self) -> Optional[pulumi.Input['MetadataSupportArgs']]: + """ + The support tier of the package + """ + return pulumi.get(self, "support") + + @support.setter + def support(self, value: Optional[pulumi.Input['MetadataSupportArgs']]): + pulumi.set(self, "support", value) + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @threat_analysis_tactics.setter + def threat_analysis_tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_analysis_tactics", value) + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @threat_analysis_techniques.setter + def threat_analysis_techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_analysis_techniques", value) + + +class ContentPackage(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + author: Optional[pulumi.Input[pulumi.InputType['MetadataAuthorArgs']]] = None, + categories: Optional[pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']]] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_kind: Optional[pulumi.Input[Union[str, 'PackageKind']]] = None, + content_product_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + is_featured: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + is_new: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + is_preview: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + publisher_display_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[pulumi.InputType['MetadataSourceArgs']]] = None, + support: Optional[pulumi.Input[pulumi.InputType['MetadataSupportArgs']]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Package in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MetadataAuthorArgs']] author: The author of the package + :param pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']] categories: The categories of the package + :param pulumi.Input[str] content_id: The content id of the package + :param pulumi.Input[Union[str, 'PackageKind']] content_kind: The package kind + :param pulumi.Input[str] content_product_id: Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + :param pulumi.Input[str] content_schema_version: The version of the content schema. + :param pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']] dependencies: The support tier of the package + :param pulumi.Input[str] description: The description of the package + :param pulumi.Input[str] display_name: The display name of the package + :param pulumi.Input[str] first_publish_date: first publish date package item + :param pulumi.Input[str] icon: the icon identifier. this id can later be fetched from the content metadata + :param pulumi.Input[Union[str, 'Flag']] is_featured: Flag indicates if this package is among the featured list. + :param pulumi.Input[Union[str, 'Flag']] is_new: Flag indicates if this is a newly published package. + :param pulumi.Input[Union[str, 'Flag']] is_preview: Flag indicates if this package is in preview. + :param pulumi.Input[str] last_publish_date: last publish date for the package item + :param pulumi.Input[str] package_id: package Id + :param pulumi.Input[Sequence[pulumi.Input[str]]] providers: Providers for the package item + :param pulumi.Input[str] publisher_display_name: The publisher display name of the package + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['MetadataSourceArgs']] source: The source of the package + :param pulumi.Input[pulumi.InputType['MetadataSupportArgs']] support: The support tier of the package + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_tactics: the tactics the resource covers + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_techniques: the techniques the resource covers, these have to be aligned with the tactics being used + :param pulumi.Input[str] version: the latest version number of the package + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ContentPackageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Package in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param ContentPackageArgs 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(ContentPackageArgs, 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, + author: Optional[pulumi.Input[pulumi.InputType['MetadataAuthorArgs']]] = None, + categories: Optional[pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']]] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_kind: Optional[pulumi.Input[Union[str, 'PackageKind']]] = None, + content_product_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + is_featured: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + is_new: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + is_preview: Optional[pulumi.Input[Union[str, 'Flag']]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + package_id: Optional[pulumi.Input[str]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + publisher_display_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[pulumi.InputType['MetadataSourceArgs']]] = None, + support: Optional[pulumi.Input[pulumi.InputType['MetadataSupportArgs']]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ContentPackageArgs.__new__(ContentPackageArgs) + + __props__.__dict__["author"] = author + __props__.__dict__["categories"] = categories + if content_id is None and not opts.urn: + raise TypeError("Missing required property 'content_id'") + __props__.__dict__["content_id"] = content_id + if content_kind is None and not opts.urn: + raise TypeError("Missing required property 'content_kind'") + __props__.__dict__["content_kind"] = content_kind + if content_product_id is None and not opts.urn: + raise TypeError("Missing required property 'content_product_id'") + __props__.__dict__["content_product_id"] = content_product_id + __props__.__dict__["content_schema_version"] = content_schema_version + __props__.__dict__["dependencies"] = dependencies + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["first_publish_date"] = first_publish_date + __props__.__dict__["icon"] = icon + __props__.__dict__["is_featured"] = is_featured + __props__.__dict__["is_new"] = is_new + __props__.__dict__["is_preview"] = is_preview + __props__.__dict__["last_publish_date"] = last_publish_date + __props__.__dict__["package_id"] = package_id + __props__.__dict__["providers"] = providers + __props__.__dict__["publisher_display_name"] = publisher_display_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["source"] = source + __props__.__dict__["support"] = support + __props__.__dict__["threat_analysis_tactics"] = threat_analysis_tactics + __props__.__dict__["threat_analysis_techniques"] = threat_analysis_techniques + if version is None and not opts.urn: + raise TypeError("Missing required property 'version'") + __props__.__dict__["version"] = version + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentPackage"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentPackage")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ContentPackage, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ContentPackage', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ContentPackage': + """ + Get an existing ContentPackage 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ContentPackageArgs.__new__(ContentPackageArgs) + + __props__.__dict__["author"] = None + __props__.__dict__["categories"] = None + __props__.__dict__["content_id"] = None + __props__.__dict__["content_kind"] = None + __props__.__dict__["content_product_id"] = None + __props__.__dict__["content_schema_version"] = None + __props__.__dict__["dependencies"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["first_publish_date"] = None + __props__.__dict__["icon"] = None + __props__.__dict__["is_featured"] = None + __props__.__dict__["is_new"] = None + __props__.__dict__["is_preview"] = None + __props__.__dict__["last_publish_date"] = None + __props__.__dict__["name"] = None + __props__.__dict__["providers"] = None + __props__.__dict__["publisher_display_name"] = None + __props__.__dict__["source"] = None + __props__.__dict__["support"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["threat_analysis_tactics"] = None + __props__.__dict__["threat_analysis_techniques"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + return ContentPackage(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def author(self) -> pulumi.Output[Optional['outputs.MetadataAuthorResponse']]: + """ + The author of the package + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter + def categories(self) -> pulumi.Output[Optional['outputs.MetadataCategoriesResponse']]: + """ + The categories of the package + """ + return pulumi.get(self, "categories") + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> pulumi.Output[str]: + """ + The content id of the package + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter(name="contentKind") + def content_kind(self) -> pulumi.Output[str]: + """ + The package kind + """ + return pulumi.get(self, "content_kind") + + @property + @pulumi.getter(name="contentProductId") + def content_product_id(self) -> pulumi.Output[str]: + """ + Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + """ + return pulumi.get(self, "content_product_id") + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> pulumi.Output[Optional[str]]: + """ + The version of the content schema. + """ + return pulumi.get(self, "content_schema_version") + + @property + @pulumi.getter + def dependencies(self) -> pulumi.Output[Optional['outputs.MetadataDependenciesResponse']]: + """ + The support tier of the package + """ + return pulumi.get(self, "dependencies") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the package + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the package + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> pulumi.Output[Optional[str]]: + """ + first publish date package item + """ + return pulumi.get(self, "first_publish_date") + + @property + @pulumi.getter + def icon(self) -> pulumi.Output[Optional[str]]: + """ + the icon identifier. this id can later be fetched from the content metadata + """ + return pulumi.get(self, "icon") + + @property + @pulumi.getter(name="isFeatured") + def is_featured(self) -> pulumi.Output[Optional[str]]: + """ + Flag indicates if this package is among the featured list. + """ + return pulumi.get(self, "is_featured") + + @property + @pulumi.getter(name="isNew") + def is_new(self) -> pulumi.Output[Optional[str]]: + """ + Flag indicates if this is a newly published package. + """ + return pulumi.get(self, "is_new") + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> pulumi.Output[Optional[str]]: + """ + Flag indicates if this package is in preview. + """ + return pulumi.get(self, "is_preview") + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> pulumi.Output[Optional[str]]: + """ + last publish date for the package item + """ + return pulumi.get(self, "last_publish_date") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def providers(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Providers for the package item + """ + return pulumi.get(self, "providers") + + @property + @pulumi.getter(name="publisherDisplayName") + def publisher_display_name(self) -> pulumi.Output[Optional[str]]: + """ + The publisher display name of the package + """ + return pulumi.get(self, "publisher_display_name") + + @property + @pulumi.getter + def source(self) -> pulumi.Output[Optional['outputs.MetadataSourceResponse']]: + """ + The source of the package + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def support(self) -> pulumi.Output[Optional['outputs.MetadataSupportResponse']]: + """ + The support tier of the package + """ + return pulumi.get(self, "support") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[str]: + """ + the latest version number of the package + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/content_template.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/content_template.py new file mode 100644 index 000000000000..7103597554b2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/content_template.py @@ -0,0 +1,930 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ContentTemplateArgs', 'ContentTemplate'] + +@pulumi.input_type +class ContentTemplateArgs: + def __init__(__self__, *, + content_id: pulumi.Input[str], + content_kind: pulumi.Input[Union[str, 'Kind']], + content_product_id: pulumi.Input[str], + display_name: pulumi.Input[str], + package_id: pulumi.Input[str], + package_version: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + source: pulumi.Input['MetadataSourceArgs'], + version: pulumi.Input[str], + workspace_name: pulumi.Input[str], + author: Optional[pulumi.Input['MetadataAuthorArgs']] = None, + categories: Optional[pulumi.Input['MetadataCategoriesArgs']] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + custom_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input['MetadataDependenciesArgs']] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + main_template: Optional[Any] = None, + package_kind: Optional[pulumi.Input[Union[str, 'PackageKind']]] = None, + package_name: Optional[pulumi.Input[str]] = None, + preview_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preview_images_dark: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + support: Optional[pulumi.Input['MetadataSupportArgs']] = None, + template_id: Optional[pulumi.Input[str]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a ContentTemplate resource. + :param pulumi.Input[str] content_id: Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + :param pulumi.Input[Union[str, 'Kind']] content_kind: The kind of content the template is for. + :param pulumi.Input[str] content_product_id: Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + :param pulumi.Input[str] display_name: The display name of the template + :param pulumi.Input[str] package_id: the package Id contains this template + :param pulumi.Input[str] package_version: Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['MetadataSourceArgs'] source: Source of the content. This is where/how it was created. + :param pulumi.Input[str] version: Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['MetadataAuthorArgs'] author: The creator of the content item. + :param pulumi.Input['MetadataCategoriesArgs'] categories: Categories for the item + :param pulumi.Input[str] content_schema_version: Schema version of the content. Can be used to distinguish between different flow based on the schema version + :param pulumi.Input[str] custom_version: The custom version of the content. A optional free text + :param pulumi.Input['MetadataDependenciesArgs'] dependencies: Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + :param pulumi.Input[str] first_publish_date: first publish date content item + :param pulumi.Input[str] icon: the icon identifier. this id can later be fetched from the content metadata + :param pulumi.Input[str] last_publish_date: last publish date for the content item + :param Any main_template: The JSON of the ARM template to deploy active content + :param pulumi.Input[Union[str, 'PackageKind']] package_kind: the packageKind of the package contains this template + :param pulumi.Input[str] package_name: the name of the package contains this template + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images: preview image file names. These will be taken from the solution artifacts + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images_dark: preview image file names. These will be taken from the solution artifacts. used for dark theme support + :param pulumi.Input[Sequence[pulumi.Input[str]]] providers: Providers for the content item + :param pulumi.Input['MetadataSupportArgs'] support: Support information for the template - type, name, contact information + :param pulumi.Input[str] template_id: template Id + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_tactics: the tactics the resource covers + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_techniques: the techniques the resource covers, these have to be aligned with the tactics being used + """ + pulumi.set(__self__, "content_id", content_id) + pulumi.set(__self__, "content_kind", content_kind) + pulumi.set(__self__, "content_product_id", content_product_id) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "package_id", package_id) + pulumi.set(__self__, "package_version", package_version) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "version", version) + pulumi.set(__self__, "workspace_name", workspace_name) + if author is not None: + pulumi.set(__self__, "author", author) + if categories is not None: + pulumi.set(__self__, "categories", categories) + if content_schema_version is not None: + pulumi.set(__self__, "content_schema_version", content_schema_version) + if custom_version is not None: + pulumi.set(__self__, "custom_version", custom_version) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + if first_publish_date is not None: + pulumi.set(__self__, "first_publish_date", first_publish_date) + if icon is not None: + pulumi.set(__self__, "icon", icon) + if last_publish_date is not None: + pulumi.set(__self__, "last_publish_date", last_publish_date) + if main_template is not None: + pulumi.set(__self__, "main_template", main_template) + if package_kind is not None: + pulumi.set(__self__, "package_kind", package_kind) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if preview_images is not None: + pulumi.set(__self__, "preview_images", preview_images) + if preview_images_dark is not None: + pulumi.set(__self__, "preview_images_dark", preview_images_dark) + if providers is not None: + pulumi.set(__self__, "providers", providers) + if support is not None: + pulumi.set(__self__, "support", support) + if template_id is not None: + pulumi.set(__self__, "template_id", template_id) + if threat_analysis_tactics is not None: + pulumi.set(__self__, "threat_analysis_tactics", threat_analysis_tactics) + if threat_analysis_techniques is not None: + pulumi.set(__self__, "threat_analysis_techniques", threat_analysis_techniques) + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> pulumi.Input[str]: + """ + Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + """ + return pulumi.get(self, "content_id") + + @content_id.setter + def content_id(self, value: pulumi.Input[str]): + pulumi.set(self, "content_id", value) + + @property + @pulumi.getter(name="contentKind") + def content_kind(self) -> pulumi.Input[Union[str, 'Kind']]: + """ + The kind of content the template is for. + """ + return pulumi.get(self, "content_kind") + + @content_kind.setter + def content_kind(self, value: pulumi.Input[Union[str, 'Kind']]): + pulumi.set(self, "content_kind", value) + + @property + @pulumi.getter(name="contentProductId") + def content_product_id(self) -> pulumi.Input[str]: + """ + Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + """ + return pulumi.get(self, "content_product_id") + + @content_product_id.setter + def content_product_id(self, value: pulumi.Input[str]): + pulumi.set(self, "content_product_id", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the template + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> pulumi.Input[str]: + """ + the package Id contains this template + """ + return pulumi.get(self, "package_id") + + @package_id.setter + def package_id(self, value: pulumi.Input[str]): + pulumi.set(self, "package_id", value) + + @property + @pulumi.getter(name="packageVersion") + def package_version(self) -> pulumi.Input[str]: + """ + Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "package_version") + + @package_version.setter + def package_version(self, value: pulumi.Input[str]): + pulumi.set(self, "package_version", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 source(self) -> pulumi.Input['MetadataSourceArgs']: + """ + Source of the content. This is where/how it was created. + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: pulumi.Input['MetadataSourceArgs']): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def version(self) -> pulumi.Input[str]: + """ + Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: pulumi.Input[str]): + pulumi.set(self, "version", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def author(self) -> Optional[pulumi.Input['MetadataAuthorArgs']]: + """ + The creator of the content item. + """ + return pulumi.get(self, "author") + + @author.setter + def author(self, value: Optional[pulumi.Input['MetadataAuthorArgs']]): + pulumi.set(self, "author", value) + + @property + @pulumi.getter + def categories(self) -> Optional[pulumi.Input['MetadataCategoriesArgs']]: + """ + Categories for the item + """ + return pulumi.get(self, "categories") + + @categories.setter + def categories(self, value: Optional[pulumi.Input['MetadataCategoriesArgs']]): + pulumi.set(self, "categories", value) + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> Optional[pulumi.Input[str]]: + """ + Schema version of the content. Can be used to distinguish between different flow based on the schema version + """ + return pulumi.get(self, "content_schema_version") + + @content_schema_version.setter + def content_schema_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_schema_version", value) + + @property + @pulumi.getter(name="customVersion") + def custom_version(self) -> Optional[pulumi.Input[str]]: + """ + The custom version of the content. A optional free text + """ + return pulumi.get(self, "custom_version") + + @custom_version.setter + def custom_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_version", value) + + @property + @pulumi.getter + def dependencies(self) -> Optional[pulumi.Input['MetadataDependenciesArgs']]: + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + """ + return pulumi.get(self, "dependencies") + + @dependencies.setter + def dependencies(self, value: Optional[pulumi.Input['MetadataDependenciesArgs']]): + pulumi.set(self, "dependencies", value) + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> Optional[pulumi.Input[str]]: + """ + first publish date content item + """ + return pulumi.get(self, "first_publish_date") + + @first_publish_date.setter + def first_publish_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "first_publish_date", value) + + @property + @pulumi.getter + def icon(self) -> Optional[pulumi.Input[str]]: + """ + the icon identifier. this id can later be fetched from the content metadata + """ + return pulumi.get(self, "icon") + + @icon.setter + def icon(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon", value) + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> Optional[pulumi.Input[str]]: + """ + last publish date for the content item + """ + return pulumi.get(self, "last_publish_date") + + @last_publish_date.setter + def last_publish_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_publish_date", value) + + @property + @pulumi.getter(name="mainTemplate") + def main_template(self) -> Optional[Any]: + """ + The JSON of the ARM template to deploy active content + """ + return pulumi.get(self, "main_template") + + @main_template.setter + def main_template(self, value: Optional[Any]): + pulumi.set(self, "main_template", value) + + @property + @pulumi.getter(name="packageKind") + def package_kind(self) -> Optional[pulumi.Input[Union[str, 'PackageKind']]]: + """ + the packageKind of the package contains this template + """ + return pulumi.get(self, "package_kind") + + @package_kind.setter + def package_kind(self, value: Optional[pulumi.Input[Union[str, 'PackageKind']]]): + pulumi.set(self, "package_kind", value) + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[pulumi.Input[str]]: + """ + the name of the package contains this template + """ + return pulumi.get(self, "package_name") + + @package_name.setter + def package_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_name", value) + + @property + @pulumi.getter(name="previewImages") + def preview_images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + preview image file names. These will be taken from the solution artifacts + """ + return pulumi.get(self, "preview_images") + + @preview_images.setter + def preview_images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "preview_images", value) + + @property + @pulumi.getter(name="previewImagesDark") + def preview_images_dark(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + preview image file names. These will be taken from the solution artifacts. used for dark theme support + """ + return pulumi.get(self, "preview_images_dark") + + @preview_images_dark.setter + def preview_images_dark(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "preview_images_dark", value) + + @property + @pulumi.getter + def providers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Providers for the content item + """ + return pulumi.get(self, "providers") + + @providers.setter + def providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "providers", value) + + @property + @pulumi.getter + def support(self) -> Optional[pulumi.Input['MetadataSupportArgs']]: + """ + Support information for the template - type, name, contact information + """ + return pulumi.get(self, "support") + + @support.setter + def support(self, value: Optional[pulumi.Input['MetadataSupportArgs']]): + pulumi.set(self, "support", value) + + @property + @pulumi.getter(name="templateId") + def template_id(self) -> Optional[pulumi.Input[str]]: + """ + template Id + """ + return pulumi.get(self, "template_id") + + @template_id.setter + def template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "template_id", value) + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @threat_analysis_tactics.setter + def threat_analysis_tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_analysis_tactics", value) + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @threat_analysis_techniques.setter + def threat_analysis_techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_analysis_techniques", value) + + +class ContentTemplate(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + author: Optional[pulumi.Input[pulumi.InputType['MetadataAuthorArgs']]] = None, + categories: Optional[pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']]] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_kind: Optional[pulumi.Input[Union[str, 'Kind']]] = None, + content_product_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + custom_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + main_template: Optional[Any] = None, + package_id: Optional[pulumi.Input[str]] = None, + package_kind: Optional[pulumi.Input[Union[str, 'PackageKind']]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_version: Optional[pulumi.Input[str]] = None, + preview_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preview_images_dark: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[pulumi.InputType['MetadataSourceArgs']]] = None, + support: Optional[pulumi.Input[pulumi.InputType['MetadataSupportArgs']]] = None, + template_id: Optional[pulumi.Input[str]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Template resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MetadataAuthorArgs']] author: The creator of the content item. + :param pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']] categories: Categories for the item + :param pulumi.Input[str] content_id: Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + :param pulumi.Input[Union[str, 'Kind']] content_kind: The kind of content the template is for. + :param pulumi.Input[str] content_product_id: Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + :param pulumi.Input[str] content_schema_version: Schema version of the content. Can be used to distinguish between different flow based on the schema version + :param pulumi.Input[str] custom_version: The custom version of the content. A optional free text + :param pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']] dependencies: Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + :param pulumi.Input[str] display_name: The display name of the template + :param pulumi.Input[str] first_publish_date: first publish date content item + :param pulumi.Input[str] icon: the icon identifier. this id can later be fetched from the content metadata + :param pulumi.Input[str] last_publish_date: last publish date for the content item + :param Any main_template: The JSON of the ARM template to deploy active content + :param pulumi.Input[str] package_id: the package Id contains this template + :param pulumi.Input[Union[str, 'PackageKind']] package_kind: the packageKind of the package contains this template + :param pulumi.Input[str] package_name: the name of the package contains this template + :param pulumi.Input[str] package_version: Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images: preview image file names. These will be taken from the solution artifacts + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images_dark: preview image file names. These will be taken from the solution artifacts. used for dark theme support + :param pulumi.Input[Sequence[pulumi.Input[str]]] providers: Providers for the content item + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['MetadataSourceArgs']] source: Source of the content. This is where/how it was created. + :param pulumi.Input[pulumi.InputType['MetadataSupportArgs']] support: Support information for the template - type, name, contact information + :param pulumi.Input[str] template_id: template Id + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_tactics: the tactics the resource covers + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_techniques: the techniques the resource covers, these have to be aligned with the tactics being used + :param pulumi.Input[str] version: Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ContentTemplateArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Template resource definition. + + :param str resource_name: The name of the resource. + :param ContentTemplateArgs 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(ContentTemplateArgs, 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, + author: Optional[pulumi.Input[pulumi.InputType['MetadataAuthorArgs']]] = None, + categories: Optional[pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']]] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_kind: Optional[pulumi.Input[Union[str, 'Kind']]] = None, + content_product_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + custom_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + main_template: Optional[Any] = None, + package_id: Optional[pulumi.Input[str]] = None, + package_kind: Optional[pulumi.Input[Union[str, 'PackageKind']]] = None, + package_name: Optional[pulumi.Input[str]] = None, + package_version: Optional[pulumi.Input[str]] = None, + preview_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preview_images_dark: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[pulumi.InputType['MetadataSourceArgs']]] = None, + support: Optional[pulumi.Input[pulumi.InputType['MetadataSupportArgs']]] = None, + template_id: Optional[pulumi.Input[str]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ContentTemplateArgs.__new__(ContentTemplateArgs) + + __props__.__dict__["author"] = author + __props__.__dict__["categories"] = categories + if content_id is None and not opts.urn: + raise TypeError("Missing required property 'content_id'") + __props__.__dict__["content_id"] = content_id + if content_kind is None and not opts.urn: + raise TypeError("Missing required property 'content_kind'") + __props__.__dict__["content_kind"] = content_kind + if content_product_id is None and not opts.urn: + raise TypeError("Missing required property 'content_product_id'") + __props__.__dict__["content_product_id"] = content_product_id + __props__.__dict__["content_schema_version"] = content_schema_version + __props__.__dict__["custom_version"] = custom_version + __props__.__dict__["dependencies"] = dependencies + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["first_publish_date"] = first_publish_date + __props__.__dict__["icon"] = icon + __props__.__dict__["last_publish_date"] = last_publish_date + __props__.__dict__["main_template"] = main_template + if package_id is None and not opts.urn: + raise TypeError("Missing required property 'package_id'") + __props__.__dict__["package_id"] = package_id + __props__.__dict__["package_kind"] = package_kind + __props__.__dict__["package_name"] = package_name + if package_version is None and not opts.urn: + raise TypeError("Missing required property 'package_version'") + __props__.__dict__["package_version"] = package_version + __props__.__dict__["preview_images"] = preview_images + __props__.__dict__["preview_images_dark"] = preview_images_dark + __props__.__dict__["providers"] = providers + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if source is None and not opts.urn: + raise TypeError("Missing required property 'source'") + __props__.__dict__["source"] = source + __props__.__dict__["support"] = support + __props__.__dict__["template_id"] = template_id + __props__.__dict__["threat_analysis_tactics"] = threat_analysis_tactics + __props__.__dict__["threat_analysis_techniques"] = threat_analysis_techniques + if version is None and not opts.urn: + raise TypeError("Missing required property 'version'") + __props__.__dict__["version"] = version + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ContentTemplate"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ContentTemplate")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ContentTemplate, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ContentTemplate', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ContentTemplate': + """ + Get an existing ContentTemplate 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ContentTemplateArgs.__new__(ContentTemplateArgs) + + __props__.__dict__["author"] = None + __props__.__dict__["categories"] = None + __props__.__dict__["content_id"] = None + __props__.__dict__["content_kind"] = None + __props__.__dict__["content_product_id"] = None + __props__.__dict__["content_schema_version"] = None + __props__.__dict__["custom_version"] = None + __props__.__dict__["dependencies"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["first_publish_date"] = None + __props__.__dict__["icon"] = None + __props__.__dict__["last_publish_date"] = None + __props__.__dict__["main_template"] = None + __props__.__dict__["name"] = None + __props__.__dict__["package_id"] = None + __props__.__dict__["package_kind"] = None + __props__.__dict__["package_name"] = None + __props__.__dict__["package_version"] = None + __props__.__dict__["preview_images"] = None + __props__.__dict__["preview_images_dark"] = None + __props__.__dict__["providers"] = None + __props__.__dict__["source"] = None + __props__.__dict__["support"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["threat_analysis_tactics"] = None + __props__.__dict__["threat_analysis_techniques"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + return ContentTemplate(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def author(self) -> pulumi.Output[Optional['outputs.MetadataAuthorResponse']]: + """ + The creator of the content item. + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter + def categories(self) -> pulumi.Output[Optional['outputs.MetadataCategoriesResponse']]: + """ + Categories for the item + """ + return pulumi.get(self, "categories") + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> pulumi.Output[str]: + """ + Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter(name="contentKind") + def content_kind(self) -> pulumi.Output[str]: + """ + The kind of content the template is for. + """ + return pulumi.get(self, "content_kind") + + @property + @pulumi.getter(name="contentProductId") + def content_product_id(self) -> pulumi.Output[str]: + """ + Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + """ + return pulumi.get(self, "content_product_id") + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> pulumi.Output[Optional[str]]: + """ + Schema version of the content. Can be used to distinguish between different flow based on the schema version + """ + return pulumi.get(self, "content_schema_version") + + @property + @pulumi.getter(name="customVersion") + def custom_version(self) -> pulumi.Output[Optional[str]]: + """ + The custom version of the content. A optional free text + """ + return pulumi.get(self, "custom_version") + + @property + @pulumi.getter + def dependencies(self) -> pulumi.Output[Optional['outputs.MetadataDependenciesResponse']]: + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + """ + return pulumi.get(self, "dependencies") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the template + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> pulumi.Output[Optional[str]]: + """ + first publish date content item + """ + return pulumi.get(self, "first_publish_date") + + @property + @pulumi.getter + def icon(self) -> pulumi.Output[Optional[str]]: + """ + the icon identifier. this id can later be fetched from the content metadata + """ + return pulumi.get(self, "icon") + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> pulumi.Output[Optional[str]]: + """ + last publish date for the content item + """ + return pulumi.get(self, "last_publish_date") + + @property + @pulumi.getter(name="mainTemplate") + def main_template(self) -> pulumi.Output[Optional[Any]]: + """ + The JSON of the ARM template to deploy active content + """ + return pulumi.get(self, "main_template") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> pulumi.Output[str]: + """ + the package Id contains this template + """ + return pulumi.get(self, "package_id") + + @property + @pulumi.getter(name="packageKind") + def package_kind(self) -> pulumi.Output[Optional[str]]: + """ + the packageKind of the package contains this template + """ + return pulumi.get(self, "package_kind") + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> pulumi.Output[Optional[str]]: + """ + the name of the package contains this template + """ + return pulumi.get(self, "package_name") + + @property + @pulumi.getter(name="packageVersion") + def package_version(self) -> pulumi.Output[str]: + """ + Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "package_version") + + @property + @pulumi.getter(name="previewImages") + def preview_images(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + preview image file names. These will be taken from the solution artifacts + """ + return pulumi.get(self, "preview_images") + + @property + @pulumi.getter(name="previewImagesDark") + def preview_images_dark(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + preview image file names. These will be taken from the solution artifacts. used for dark theme support + """ + return pulumi.get(self, "preview_images_dark") + + @property + @pulumi.getter + def providers(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Providers for the content item + """ + return pulumi.get(self, "providers") + + @property + @pulumi.getter + def source(self) -> pulumi.Output['outputs.MetadataSourceResponse']: + """ + Source of the content. This is where/how it was created. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def support(self) -> pulumi.Output[Optional['outputs.MetadataSupportResponse']]: + """ + Support information for the template - type, name, contact information + """ + return pulumi.get(self, "support") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[str]: + """ + Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/customizable_connector_definition.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/customizable_connector_definition.py new file mode 100644 index 000000000000..7e863cbcff43 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/customizable_connector_definition.py @@ -0,0 +1,348 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['CustomizableConnectorDefinitionArgs', 'CustomizableConnectorDefinition'] + +@pulumi.input_type +class CustomizableConnectorDefinitionArgs: + def __init__(__self__, *, + connector_ui_config: pulumi.Input['CustomizableConnectorUiConfigArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + connections_config: Optional[pulumi.Input['CustomizableConnectionsConfigArgs']] = None, + created_time_utc: Optional[pulumi.Input[str]] = None, + data_connector_definition_name: Optional[pulumi.Input[str]] = None, + last_modified_utc: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a CustomizableConnectorDefinition resource. + :param pulumi.Input['CustomizableConnectorUiConfigArgs'] connector_ui_config: The UiConfig for 'Customizable' connector definition kind. + :param pulumi.Input[str] kind: The kind of the data connector definitions + Expected value is 'Customizable'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['CustomizableConnectionsConfigArgs'] connections_config: The UiConfig for 'Customizable' connector definition kind. + :param pulumi.Input[str] created_time_utc: Gets or sets the connector definition created date in UTC format. + :param pulumi.Input[str] data_connector_definition_name: The data connector definition name. + :param pulumi.Input[str] last_modified_utc: Gets or sets the connector definition last modified date in UTC format. + """ + pulumi.set(__self__, "connector_ui_config", connector_ui_config) + pulumi.set(__self__, "kind", 'Customizable') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if connections_config is not None: + pulumi.set(__self__, "connections_config", connections_config) + if created_time_utc is not None: + pulumi.set(__self__, "created_time_utc", created_time_utc) + if data_connector_definition_name is not None: + pulumi.set(__self__, "data_connector_definition_name", data_connector_definition_name) + if last_modified_utc is not None: + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> pulumi.Input['CustomizableConnectorUiConfigArgs']: + """ + The UiConfig for 'Customizable' connector definition kind. + """ + return pulumi.get(self, "connector_ui_config") + + @connector_ui_config.setter + def connector_ui_config(self, value: pulumi.Input['CustomizableConnectorUiConfigArgs']): + pulumi.set(self, "connector_ui_config", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector definitions + Expected value is 'Customizable'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="connectionsConfig") + def connections_config(self) -> Optional[pulumi.Input['CustomizableConnectionsConfigArgs']]: + """ + The UiConfig for 'Customizable' connector definition kind. + """ + return pulumi.get(self, "connections_config") + + @connections_config.setter + def connections_config(self, value: Optional[pulumi.Input['CustomizableConnectionsConfigArgs']]): + pulumi.set(self, "connections_config", value) + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the connector definition created date in UTC format. + """ + return pulumi.get(self, "created_time_utc") + + @created_time_utc.setter + def created_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_time_utc", value) + + @property + @pulumi.getter(name="dataConnectorDefinitionName") + def data_connector_definition_name(self) -> Optional[pulumi.Input[str]]: + """ + The data connector definition name. + """ + return pulumi.get(self, "data_connector_definition_name") + + @data_connector_definition_name.setter + def data_connector_definition_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_definition_name", value) + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> Optional[pulumi.Input[str]]: + """ + Gets or sets the connector definition last modified date in UTC format. + """ + return pulumi.get(self, "last_modified_utc") + + @last_modified_utc.setter + def last_modified_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_modified_utc", value) + + +class CustomizableConnectorDefinition(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + connections_config: Optional[pulumi.Input[pulumi.InputType['CustomizableConnectionsConfigArgs']]] = None, + connector_ui_config: Optional[pulumi.Input[pulumi.InputType['CustomizableConnectorUiConfigArgs']]] = None, + created_time_utc: Optional[pulumi.Input[str]] = None, + data_connector_definition_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + last_modified_utc: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Connector definition for kind 'Customizable'. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['CustomizableConnectionsConfigArgs']] connections_config: The UiConfig for 'Customizable' connector definition kind. + :param pulumi.Input[pulumi.InputType['CustomizableConnectorUiConfigArgs']] connector_ui_config: The UiConfig for 'Customizable' connector definition kind. + :param pulumi.Input[str] created_time_utc: Gets or sets the connector definition created date in UTC format. + :param pulumi.Input[str] data_connector_definition_name: The data connector definition name. + :param pulumi.Input[str] kind: The kind of the data connector definitions + Expected value is 'Customizable'. + :param pulumi.Input[str] last_modified_utc: Gets or sets the connector definition last modified date in UTC format. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CustomizableConnectorDefinitionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Connector definition for kind 'Customizable'. + + :param str resource_name: The name of the resource. + :param CustomizableConnectorDefinitionArgs 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(CustomizableConnectorDefinitionArgs, 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, + connections_config: Optional[pulumi.Input[pulumi.InputType['CustomizableConnectionsConfigArgs']]] = None, + connector_ui_config: Optional[pulumi.Input[pulumi.InputType['CustomizableConnectorUiConfigArgs']]] = None, + created_time_utc: Optional[pulumi.Input[str]] = None, + data_connector_definition_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + last_modified_utc: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CustomizableConnectorDefinitionArgs.__new__(CustomizableConnectorDefinitionArgs) + + __props__.__dict__["connections_config"] = connections_config + if connector_ui_config is None and not opts.urn: + raise TypeError("Missing required property 'connector_ui_config'") + __props__.__dict__["connector_ui_config"] = connector_ui_config + __props__.__dict__["created_time_utc"] = created_time_utc + __props__.__dict__["data_connector_definition_name"] = data_connector_definition_name + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Customizable' + __props__.__dict__["last_modified_utc"] = last_modified_utc + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:CustomizableConnectorDefinition"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:CustomizableConnectorDefinition")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(CustomizableConnectorDefinition, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:CustomizableConnectorDefinition', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'CustomizableConnectorDefinition': + """ + Get an existing CustomizableConnectorDefinition 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = CustomizableConnectorDefinitionArgs.__new__(CustomizableConnectorDefinitionArgs) + + __props__.__dict__["connections_config"] = None + __props__.__dict__["connector_ui_config"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return CustomizableConnectorDefinition(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="connectionsConfig") + def connections_config(self) -> pulumi.Output[Optional['outputs.CustomizableConnectionsConfigResponse']]: + """ + The UiConfig for 'Customizable' connector definition kind. + """ + return pulumi.get(self, "connections_config") + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> pulumi.Output['outputs.CustomizableConnectorUiConfigResponse']: + """ + The UiConfig for 'Customizable' connector definition kind. + """ + return pulumi.get(self, "connector_ui_config") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the connector definition created date in UTC format. + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector definitions + Expected value is 'Customizable'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[Optional[str]]: + """ + Gets or sets the connector definition last modified date in UTC format. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/dynamics365_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/dynamics365_data_connector.py new file mode 100644 index 000000000000..07e19296db5c --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/dynamics365_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['Dynamics365DataConnectorArgs', 'Dynamics365DataConnector'] + +@pulumi.input_type +class Dynamics365DataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['Dynamics365DataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Dynamics365DataConnector resource. + :param pulumi.Input['Dynamics365DataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'Dynamics365'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'Dynamics365') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['Dynamics365DataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['Dynamics365DataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'Dynamics365'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class Dynamics365DataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['Dynamics365DataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Dynamics365 data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['Dynamics365DataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'Dynamics365'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Dynamics365DataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Dynamics365 data connector. + + :param str resource_name: The name of the resource. + :param Dynamics365DataConnectorArgs 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(Dynamics365DataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['Dynamics365DataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = Dynamics365DataConnectorArgs.__new__(Dynamics365DataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Dynamics365' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Dynamics365DataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Dynamics365DataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Dynamics365DataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Dynamics365DataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Dynamics365DataConnector': + """ + Get an existing Dynamics365DataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = Dynamics365DataConnectorArgs.__new__(Dynamics365DataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return Dynamics365DataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.Dynamics365DataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'Dynamics365'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/entity_analytics.py new file mode 100644 index 000000000000..d04e965b9374 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/entity_analytics.py @@ -0,0 +1,259 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['EntityAnalyticsArgs', 'EntityAnalytics'] + +@pulumi.input_type +class EntityAnalyticsArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + entity_providers: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]]] = None, + settings_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a EntityAnalytics resource. + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'EntityAnalytics'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]] entity_providers: The relevant entity providers that are synced + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + pulumi.set(__self__, "kind", 'EntityAnalytics') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if entity_providers is not None: + pulumi.set(__self__, "entity_providers", entity_providers) + if settings_name is not None: + pulumi.set(__self__, "settings_name", settings_name) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the setting + Expected value is 'EntityAnalytics'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="entityProviders") + def entity_providers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]]]: + """ + The relevant entity providers that are synced + """ + return pulumi.get(self, "entity_providers") + + @entity_providers.setter + def entity_providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]]]): + pulumi.set(self, "entity_providers", value) + + @property + @pulumi.getter(name="settingsName") + def settings_name(self) -> Optional[pulumi.Input[str]]: + """ + The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + return pulumi.get(self, "settings_name") + + @settings_name.setter + def settings_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "settings_name", value) + + +class EntityAnalytics(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + entity_providers: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]] entity_providers: The relevant entity providers that are synced + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'EntityAnalytics'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EntityAnalyticsArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param EntityAnalyticsArgs 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(EntityAnalyticsArgs, 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, + entity_providers: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'EntityProviders']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = EntityAnalyticsArgs.__new__(EntityAnalyticsArgs) + + __props__.__dict__["entity_providers"] = entity_providers + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'EntityAnalytics' + 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__["settings_name"] = settings_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EntityAnalytics"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EntityAnalytics")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(EntityAnalytics, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:EntityAnalytics', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'EntityAnalytics': + """ + Get an existing EntityAnalytics 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = EntityAnalyticsArgs.__new__(EntityAnalyticsArgs) + + __props__.__dict__["entity_providers"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return EntityAnalytics(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="entityProviders") + def entity_providers(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The relevant entity providers that are synced + """ + return pulumi.get(self, "entity_providers") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the setting + Expected value is 'EntityAnalytics'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/eyes_on.py new file mode 100644 index 000000000000..8f635cd5195d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/eyes_on.py @@ -0,0 +1,239 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['EyesOnArgs', 'EyesOn'] + +@pulumi.input_type +class EyesOnArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + settings_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a EyesOn resource. + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'EyesOn'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + pulumi.set(__self__, "kind", 'EyesOn') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if settings_name is not None: + pulumi.set(__self__, "settings_name", settings_name) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the setting + Expected value is 'EyesOn'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="settingsName") + def settings_name(self) -> Optional[pulumi.Input[str]]: + """ + The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + return pulumi.get(self, "settings_name") + + @settings_name.setter + def settings_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "settings_name", value) + + +class EyesOn(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'EyesOn'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EyesOnArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param EyesOnArgs 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(EyesOnArgs, 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, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = EyesOnArgs.__new__(EyesOnArgs) + + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'EyesOn' + 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__["settings_name"] = settings_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["is_enabled"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:EyesOn"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:EyesOn")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(EyesOn, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:EyesOn', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'EyesOn': + """ + Get an existing EyesOn 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = EyesOnArgs.__new__(EyesOnArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["is_enabled"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return EyesOn(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Output[bool]: + """ + Determines whether the setting is enable or disabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the setting + Expected value is 'EyesOn'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/file_import.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/file_import.py new file mode 100644 index 000000000000..0273098e7d20 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/file_import.py @@ -0,0 +1,397 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['FileImportArgs', 'FileImport'] + +@pulumi.input_type +class FileImportArgs: + def __init__(__self__, *, + content_type: pulumi.Input[Union[str, 'FileImportContentType']], + import_file: pulumi.Input['FileMetadataArgs'], + ingestion_mode: pulumi.Input[Union[str, 'IngestionMode']], + resource_group_name: pulumi.Input[str], + source: pulumi.Input[str], + workspace_name: pulumi.Input[str], + file_import_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a FileImport resource. + :param pulumi.Input[Union[str, 'FileImportContentType']] content_type: The content type of this file. + :param pulumi.Input['FileMetadataArgs'] import_file: Represents the imported file. + :param pulumi.Input[Union[str, 'IngestionMode']] ingestion_mode: Describes how to ingest the records in the file. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] source: The source for the data in the file. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] file_import_id: File import ID + """ + pulumi.set(__self__, "content_type", content_type) + pulumi.set(__self__, "import_file", import_file) + pulumi.set(__self__, "ingestion_mode", ingestion_mode) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "source", source) + pulumi.set(__self__, "workspace_name", workspace_name) + if file_import_id is not None: + pulumi.set(__self__, "file_import_id", file_import_id) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> pulumi.Input[Union[str, 'FileImportContentType']]: + """ + The content type of this file. + """ + return pulumi.get(self, "content_type") + + @content_type.setter + def content_type(self, value: pulumi.Input[Union[str, 'FileImportContentType']]): + pulumi.set(self, "content_type", value) + + @property + @pulumi.getter(name="importFile") + def import_file(self) -> pulumi.Input['FileMetadataArgs']: + """ + Represents the imported file. + """ + return pulumi.get(self, "import_file") + + @import_file.setter + def import_file(self, value: pulumi.Input['FileMetadataArgs']): + pulumi.set(self, "import_file", value) + + @property + @pulumi.getter(name="ingestionMode") + def ingestion_mode(self) -> pulumi.Input[Union[str, 'IngestionMode']]: + """ + Describes how to ingest the records in the file. + """ + return pulumi.get(self, "ingestion_mode") + + @ingestion_mode.setter + def ingestion_mode(self, value: pulumi.Input[Union[str, 'IngestionMode']]): + pulumi.set(self, "ingestion_mode", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 source(self) -> pulumi.Input[str]: + """ + The source for the data in the file. + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: pulumi.Input[str]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="fileImportId") + def file_import_id(self) -> Optional[pulumi.Input[str]]: + """ + File import ID + """ + return pulumi.get(self, "file_import_id") + + @file_import_id.setter + def file_import_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "file_import_id", value) + + +class FileImport(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + content_type: Optional[pulumi.Input[Union[str, 'FileImportContentType']]] = None, + file_import_id: Optional[pulumi.Input[str]] = None, + import_file: Optional[pulumi.Input[pulumi.InputType['FileMetadataArgs']]] = None, + ingestion_mode: Optional[pulumi.Input[Union[str, 'IngestionMode']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a file import in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'FileImportContentType']] content_type: The content type of this file. + :param pulumi.Input[str] file_import_id: File import ID + :param pulumi.Input[pulumi.InputType['FileMetadataArgs']] import_file: Represents the imported file. + :param pulumi.Input[Union[str, 'IngestionMode']] ingestion_mode: Describes how to ingest the records in the file. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] source: The source for the data in the file. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FileImportArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a file import in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param FileImportArgs 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(FileImportArgs, 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, + content_type: Optional[pulumi.Input[Union[str, 'FileImportContentType']]] = None, + file_import_id: Optional[pulumi.Input[str]] = None, + import_file: Optional[pulumi.Input[pulumi.InputType['FileMetadataArgs']]] = None, + ingestion_mode: Optional[pulumi.Input[Union[str, 'IngestionMode']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = FileImportArgs.__new__(FileImportArgs) + + if content_type is None and not opts.urn: + raise TypeError("Missing required property 'content_type'") + __props__.__dict__["content_type"] = content_type + __props__.__dict__["file_import_id"] = file_import_id + if import_file is None and not opts.urn: + raise TypeError("Missing required property 'import_file'") + __props__.__dict__["import_file"] = import_file + if ingestion_mode is None and not opts.urn: + raise TypeError("Missing required property 'ingestion_mode'") + __props__.__dict__["ingestion_mode"] = ingestion_mode + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if source is None and not opts.urn: + raise TypeError("Missing required property 'source'") + __props__.__dict__["source"] = source + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["error_file"] = None + __props__.__dict__["errors_preview"] = None + __props__.__dict__["files_valid_until_time_utc"] = None + __props__.__dict__["import_valid_until_time_utc"] = None + __props__.__dict__["ingested_record_count"] = None + __props__.__dict__["name"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["total_record_count"] = None + __props__.__dict__["type"] = None + __props__.__dict__["valid_record_count"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FileImport"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FileImport")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(FileImport, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:FileImport', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'FileImport': + """ + Get an existing FileImport 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FileImportArgs.__new__(FileImportArgs) + + __props__.__dict__["content_type"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["error_file"] = None + __props__.__dict__["errors_preview"] = None + __props__.__dict__["files_valid_until_time_utc"] = None + __props__.__dict__["import_file"] = None + __props__.__dict__["import_valid_until_time_utc"] = None + __props__.__dict__["ingested_record_count"] = None + __props__.__dict__["ingestion_mode"] = None + __props__.__dict__["name"] = None + __props__.__dict__["source"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["total_record_count"] = None + __props__.__dict__["type"] = None + __props__.__dict__["valid_record_count"] = None + return FileImport(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> pulumi.Output[str]: + """ + The content type of this file. + """ + return pulumi.get(self, "content_type") + + @property + @pulumi.getter(name="createdTimeUTC") + def created_time_utc(self) -> pulumi.Output[str]: + """ + The time the file was imported. + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter(name="errorFile") + def error_file(self) -> pulumi.Output['outputs.FileMetadataResponse']: + """ + Represents the error file (if the import was ingested with errors or failed the validation). + """ + return pulumi.get(self, "error_file") + + @property + @pulumi.getter(name="errorsPreview") + def errors_preview(self) -> pulumi.Output[Sequence['outputs.ValidationErrorResponse']]: + """ + An ordered list of some of the errors that were encountered during validation. + """ + return pulumi.get(self, "errors_preview") + + @property + @pulumi.getter(name="filesValidUntilTimeUTC") + def files_valid_until_time_utc(self) -> pulumi.Output[str]: + """ + The time the files associated with this import are deleted from the storage account. + """ + return pulumi.get(self, "files_valid_until_time_utc") + + @property + @pulumi.getter(name="importFile") + def import_file(self) -> pulumi.Output['outputs.FileMetadataResponse']: + """ + Represents the imported file. + """ + return pulumi.get(self, "import_file") + + @property + @pulumi.getter(name="importValidUntilTimeUTC") + def import_valid_until_time_utc(self) -> pulumi.Output[str]: + """ + The time the file import record is soft deleted from the database and history. + """ + return pulumi.get(self, "import_valid_until_time_utc") + + @property + @pulumi.getter(name="ingestedRecordCount") + def ingested_record_count(self) -> pulumi.Output[int]: + """ + The number of records that have been successfully ingested. + """ + return pulumi.get(self, "ingested_record_count") + + @property + @pulumi.getter(name="ingestionMode") + def ingestion_mode(self) -> pulumi.Output[str]: + """ + Describes how to ingest the records in the file. + """ + return pulumi.get(self, "ingestion_mode") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def source(self) -> pulumi.Output[str]: + """ + The source for the data in the file. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The state of the file import. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="totalRecordCount") + def total_record_count(self) -> pulumi.Output[int]: + """ + The number of records in the file. + """ + return pulumi.get(self, "total_record_count") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validRecordCount") + def valid_record_count(self) -> pulumi.Output[int]: + """ + The number of records that have passed validation. + """ + return pulumi.get(self, "valid_record_count") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/fusion_alert_rule.py new file mode 100644 index 000000000000..2d66c552cf06 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/fusion_alert_rule.py @@ -0,0 +1,409 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['FusionAlertRuleArgs', 'FusionAlertRule'] + +@pulumi.input_type +class FusionAlertRuleArgs: + def __init__(__self__, *, + alert_rule_template_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + rule_id: Optional[pulumi.Input[str]] = None, + scenario_exclusion_patterns: Optional[pulumi.Input[Sequence[pulumi.Input['FusionScenarioExclusionPatternArgs']]]] = None, + source_settings: Optional[pulumi.Input[Sequence[pulumi.Input['FusionSourceSettingsArgs']]]] = None): + """ + The set of arguments for constructing a FusionAlertRule resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'Fusion'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input['FusionScenarioExclusionPatternArgs']]] scenario_exclusion_patterns: Configuration to exclude scenarios in fusion detection. + :param pulumi.Input[Sequence[pulumi.Input['FusionSourceSettingsArgs']]] source_settings: Configuration for all supported source signals in fusion detection. + """ + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "kind", 'Fusion') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if scenario_exclusion_patterns is not None: + pulumi.set(__self__, "scenario_exclusion_patterns", scenario_exclusion_patterns) + if source_settings is not None: + pulumi.set(__self__, "source_settings", source_settings) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Input[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @alert_rule_template_name.setter + def alert_rule_template_name(self, value: pulumi.Input[str]): + pulumi.set(self, "alert_rule_template_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the alert rule + Expected value is 'Fusion'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) + + @property + @pulumi.getter(name="scenarioExclusionPatterns") + def scenario_exclusion_patterns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FusionScenarioExclusionPatternArgs']]]]: + """ + Configuration to exclude scenarios in fusion detection. + """ + return pulumi.get(self, "scenario_exclusion_patterns") + + @scenario_exclusion_patterns.setter + def scenario_exclusion_patterns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FusionScenarioExclusionPatternArgs']]]]): + pulumi.set(self, "scenario_exclusion_patterns", value) + + @property + @pulumi.getter(name="sourceSettings") + def source_settings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FusionSourceSettingsArgs']]]]: + """ + Configuration for all supported source signals in fusion detection. + """ + return pulumi.get(self, "source_settings") + + @source_settings.setter + def source_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FusionSourceSettingsArgs']]]]): + pulumi.set(self, "source_settings", value) + + +class FusionAlertRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + scenario_exclusion_patterns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FusionScenarioExclusionPatternArgs']]]]] = None, + source_settings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FusionSourceSettingsArgs']]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Fusion alert rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'Fusion'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FusionScenarioExclusionPatternArgs']]]] scenario_exclusion_patterns: Configuration to exclude scenarios in fusion detection. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FusionSourceSettingsArgs']]]] source_settings: Configuration for all supported source signals in fusion detection. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: FusionAlertRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Fusion alert rule. + + :param str resource_name: The name of the resource. + :param FusionAlertRuleArgs 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(FusionAlertRuleArgs, 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, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + scenario_exclusion_patterns: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FusionScenarioExclusionPatternArgs']]]]] = None, + source_settings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FusionSourceSettingsArgs']]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = FusionAlertRuleArgs.__new__(FusionAlertRuleArgs) + + if alert_rule_template_name is None and not opts.urn: + raise TypeError("Missing required property 'alert_rule_template_name'") + __props__.__dict__["alert_rule_template_name"] = alert_rule_template_name + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Fusion' + 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__["rule_id"] = rule_id + __props__.__dict__["scenario_exclusion_patterns"] = scenario_exclusion_patterns + __props__.__dict__["source_settings"] = source_settings + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:FusionAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:FusionAlertRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(FusionAlertRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:FusionAlertRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'FusionAlertRule': + """ + Get an existing FusionAlertRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = FusionAlertRuleArgs.__new__(FusionAlertRuleArgs) + + __props__.__dict__["alert_rule_template_name"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["scenario_exclusion_patterns"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["source_settings"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + return FusionAlertRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Output[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the alert rule + Expected value is 'Fusion'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this alert has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="scenarioExclusionPatterns") + def scenario_exclusion_patterns(self) -> pulumi.Output[Optional[Sequence['outputs.FusionScenarioExclusionPatternResponse']]]: + """ + Configuration to exclude scenarios in fusion detection. + """ + return pulumi.get(self, "scenario_exclusion_patterns") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="sourceSettings") + def source_settings(self) -> pulumi.Output[Optional[Sequence['outputs.FusionSourceSettingsResponse']]]: + """ + Configuration for all supported source signals in fusion detection. + """ + return pulumi.get(self, "source_settings") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Sequence[str]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Sequence[str]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/gcp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/gcp_data_connector.py new file mode 100644 index 000000000000..1d9f295c1b03 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/gcp_data_connector.py @@ -0,0 +1,349 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['GCPDataConnectorArgs', 'GCPDataConnector'] + +@pulumi.input_type +class GCPDataConnectorArgs: + def __init__(__self__, *, + auth: pulumi.Input['GCPAuthPropertiesArgs'], + connector_definition_name: pulumi.Input[str], + kind: pulumi.Input[str], + request: pulumi.Input['GCPRequestPropertiesArgs'], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + dcr_config: Optional[pulumi.Input['DCRConfigurationArgs']] = None): + """ + The set of arguments for constructing a GCPDataConnector resource. + :param pulumi.Input['GCPAuthPropertiesArgs'] auth: The auth section of the connector. + :param pulumi.Input[str] connector_definition_name: The name of the connector definition that represents the UI config. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'GCP'. + :param pulumi.Input['GCPRequestPropertiesArgs'] request: The request section of the connector. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['DCRConfigurationArgs'] dcr_config: The configuration of the destination of the data. + """ + pulumi.set(__self__, "auth", auth) + pulumi.set(__self__, "connector_definition_name", connector_definition_name) + pulumi.set(__self__, "kind", 'GCP') + pulumi.set(__self__, "request", request) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if dcr_config is not None: + pulumi.set(__self__, "dcr_config", dcr_config) + + @property + @pulumi.getter + def auth(self) -> pulumi.Input['GCPAuthPropertiesArgs']: + """ + The auth section of the connector. + """ + return pulumi.get(self, "auth") + + @auth.setter + def auth(self, value: pulumi.Input['GCPAuthPropertiesArgs']): + pulumi.set(self, "auth", value) + + @property + @pulumi.getter(name="connectorDefinitionName") + def connector_definition_name(self) -> pulumi.Input[str]: + """ + The name of the connector definition that represents the UI config. + """ + return pulumi.get(self, "connector_definition_name") + + @connector_definition_name.setter + def connector_definition_name(self, value: pulumi.Input[str]): + pulumi.set(self, "connector_definition_name", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'GCP'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def request(self) -> pulumi.Input['GCPRequestPropertiesArgs']: + """ + The request section of the connector. + """ + return pulumi.get(self, "request") + + @request.setter + def request(self, value: pulumi.Input['GCPRequestPropertiesArgs']): + pulumi.set(self, "request", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dcrConfig") + def dcr_config(self) -> Optional[pulumi.Input['DCRConfigurationArgs']]: + """ + The configuration of the destination of the data. + """ + return pulumi.get(self, "dcr_config") + + @dcr_config.setter + def dcr_config(self, value: Optional[pulumi.Input['DCRConfigurationArgs']]): + pulumi.set(self, "dcr_config", value) + + +class GCPDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + auth: Optional[pulumi.Input[pulumi.InputType['GCPAuthPropertiesArgs']]] = None, + connector_definition_name: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + dcr_config: Optional[pulumi.Input[pulumi.InputType['DCRConfigurationArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + request: Optional[pulumi.Input[pulumi.InputType['GCPRequestPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Google Cloud Platform data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['GCPAuthPropertiesArgs']] auth: The auth section of the connector. + :param pulumi.Input[str] connector_definition_name: The name of the connector definition that represents the UI config. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['DCRConfigurationArgs']] dcr_config: The configuration of the destination of the data. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'GCP'. + :param pulumi.Input[pulumi.InputType['GCPRequestPropertiesArgs']] request: The request section of the connector. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GCPDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Google Cloud Platform data connector. + + :param str resource_name: The name of the resource. + :param GCPDataConnectorArgs 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(GCPDataConnectorArgs, 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, + auth: Optional[pulumi.Input[pulumi.InputType['GCPAuthPropertiesArgs']]] = None, + connector_definition_name: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + dcr_config: Optional[pulumi.Input[pulumi.InputType['DCRConfigurationArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + request: Optional[pulumi.Input[pulumi.InputType['GCPRequestPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GCPDataConnectorArgs.__new__(GCPDataConnectorArgs) + + if auth is None and not opts.urn: + raise TypeError("Missing required property 'auth'") + __props__.__dict__["auth"] = auth + if connector_definition_name is None and not opts.urn: + raise TypeError("Missing required property 'connector_definition_name'") + __props__.__dict__["connector_definition_name"] = connector_definition_name + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["dcr_config"] = dcr_config + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'GCP' + if request is None and not opts.urn: + raise TypeError("Missing required property 'request'") + __props__.__dict__["request"] = request + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:GCPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:GCPDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GCPDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:GCPDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GCPDataConnector': + """ + Get an existing GCPDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GCPDataConnectorArgs.__new__(GCPDataConnectorArgs) + + __props__.__dict__["auth"] = None + __props__.__dict__["connector_definition_name"] = None + __props__.__dict__["dcr_config"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["request"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return GCPDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def auth(self) -> pulumi.Output['outputs.GCPAuthPropertiesResponse']: + """ + The auth section of the connector. + """ + return pulumi.get(self, "auth") + + @property + @pulumi.getter(name="connectorDefinitionName") + def connector_definition_name(self) -> pulumi.Output[str]: + """ + The name of the connector definition that represents the UI config. + """ + return pulumi.get(self, "connector_definition_name") + + @property + @pulumi.getter(name="dcrConfig") + def dcr_config(self) -> pulumi.Output[Optional['outputs.DCRConfigurationResponse']]: + """ + The configuration of the destination of the data. + """ + return pulumi.get(self, "dcr_config") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'GCP'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def request(self) -> pulumi.Output['outputs.GCPRequestPropertiesResponse']: + """ + The request section of the connector. + """ + return pulumi.get(self, "request") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aad_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aad_data_connector.py new file mode 100644 index 000000000000..4246a4eccc92 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aad_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAADDataConnectorResult', + 'AwaitableGetAADDataConnectorResult', + 'get_aad_data_connector', + 'get_aad_data_connector_output', +] + +@pulumi.output_type +class GetAADDataConnectorResult: + """ + Represents AADIP (Azure Active Directory Identity Protection) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'AzureActiveDirectory'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAADDataConnectorResult(GetAADDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAADDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_aad_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAADDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAADDataConnector', __args__, opts=opts, typ=GetAADDataConnectorResult).value + + return AwaitableGetAADDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_aad_data_connector) +def get_aad_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAADDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aatp_data_connector.py new file mode 100644 index 000000000000..7dfd59bcc6fc --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aatp_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAATPDataConnectorResult', + 'AwaitableGetAATPDataConnectorResult', + 'get_aatp_data_connector', + 'get_aatp_data_connector_output', +] + +@pulumi.output_type +class GetAATPDataConnectorResult: + """ + Represents AATP (Azure Advanced Threat Protection) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'AzureAdvancedThreatProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAATPDataConnectorResult(GetAATPDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAATPDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_aatp_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAATPDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAATPDataConnector', __args__, opts=opts, typ=GetAATPDataConnectorResult).value + + return AwaitableGetAATPDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_aatp_data_connector) +def get_aatp_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAATPDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_action.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_action.py new file mode 100644 index 000000000000..c43625b53221 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_action.py @@ -0,0 +1,167 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetActionResult', + 'AwaitableGetActionResult', + 'get_action', + 'get_action_output', +] + +@pulumi.output_type +class GetActionResult: + """ + Action for alert rule. + """ + def __init__(__self__, etag=None, id=None, logic_app_resource_id=None, name=None, system_data=None, type=None, workflow_id=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if logic_app_resource_id and not isinstance(logic_app_resource_id, str): + raise TypeError("Expected argument 'logic_app_resource_id' to be a str") + pulumi.set(__self__, "logic_app_resource_id", logic_app_resource_id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if workflow_id and not isinstance(workflow_id, str): + raise TypeError("Expected argument 'workflow_id' to be a str") + pulumi.set(__self__, "workflow_id", workflow_id) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="logicAppResourceId") + def logic_app_resource_id(self) -> str: + """ + Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. + """ + return pulumi.get(self, "logic_app_resource_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="workflowId") + def workflow_id(self) -> Optional[str]: + """ + The name of the logic app's workflow. + """ + return pulumi.get(self, "workflow_id") + + +class AwaitableGetActionResult(GetActionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetActionResult( + etag=self.etag, + id=self.id, + logic_app_resource_id=self.logic_app_resource_id, + name=self.name, + system_data=self.system_data, + type=self.type, + workflow_id=self.workflow_id) + + +def get_action(action_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetActionResult: + """ + Gets the action of alert rule. + + + :param str action_id: Action ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['actionId'] = action_id + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAction', __args__, opts=opts, typ=GetActionResult).value + + return AwaitableGetActionResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + logic_app_resource_id=pulumi.get(__ret__, 'logic_app_resource_id'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + workflow_id=pulumi.get(__ret__, 'workflow_id')) + + +@_utilities.lift_output_func(get_action) +def get_action_output(action_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetActionResult]: + """ + Gets the action of alert rule. + + + :param str action_id: Action ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_activity_custom_entity_query.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_activity_custom_entity_query.py new file mode 100644 index 000000000000..314cd4b0d526 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_activity_custom_entity_query.py @@ -0,0 +1,293 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetActivityCustomEntityQueryResult', + 'AwaitableGetActivityCustomEntityQueryResult', + 'get_activity_custom_entity_query', + 'get_activity_custom_entity_query_output', +] + +@pulumi.output_type +class GetActivityCustomEntityQueryResult: + """ + Represents Activity entity query. + """ + def __init__(__self__, content=None, created_time_utc=None, description=None, enabled=None, entities_filter=None, etag=None, id=None, input_entity_type=None, kind=None, last_modified_time_utc=None, name=None, query_definitions=None, required_input_fields_sets=None, system_data=None, template_name=None, title=None, type=None): + if content and not isinstance(content, str): + raise TypeError("Expected argument 'content' to be a str") + pulumi.set(__self__, "content", content) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if entities_filter and not isinstance(entities_filter, dict): + raise TypeError("Expected argument 'entities_filter' to be a dict") + pulumi.set(__self__, "entities_filter", entities_filter) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if input_entity_type and not isinstance(input_entity_type, str): + raise TypeError("Expected argument 'input_entity_type' to be a str") + pulumi.set(__self__, "input_entity_type", input_entity_type) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_time_utc and not isinstance(last_modified_time_utc, str): + raise TypeError("Expected argument 'last_modified_time_utc' to be a str") + pulumi.set(__self__, "last_modified_time_utc", last_modified_time_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if query_definitions and not isinstance(query_definitions, dict): + raise TypeError("Expected argument 'query_definitions' to be a dict") + pulumi.set(__self__, "query_definitions", query_definitions) + if required_input_fields_sets and not isinstance(required_input_fields_sets, list): + raise TypeError("Expected argument 'required_input_fields_sets' to be a list") + pulumi.set(__self__, "required_input_fields_sets", required_input_fields_sets) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if template_name and not isinstance(template_name, str): + raise TypeError("Expected argument 'template_name' to be a str") + pulumi.set(__self__, "template_name", template_name) + if title and not isinstance(title, str): + raise TypeError("Expected argument 'title' to be a str") + pulumi.set(__self__, "title", title) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def content(self) -> Optional[str]: + """ + The entity query content to display in timeline + """ + return pulumi.get(self, "content") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> str: + """ + The time the activity was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The entity query description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Determines whether this activity is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="entitiesFilter") + def entities_filter(self) -> Optional[Mapping[str, Sequence[str]]]: + """ + The query applied only to entities matching to all filters + """ + return pulumi.get(self, "entities_filter") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="inputEntityType") + def input_entity_type(self) -> Optional[str]: + """ + The type of the query's source entity + """ + return pulumi.get(self, "input_entity_type") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the entity query + Expected value is 'Activity'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> str: + """ + The last time the activity was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="queryDefinitions") + def query_definitions(self) -> Optional['outputs.ActivityEntityQueriesPropertiesResponseQueryDefinitions']: + """ + The Activity query definitions + """ + return pulumi.get(self, "query_definitions") + + @property + @pulumi.getter(name="requiredInputFieldsSets") + def required_input_fields_sets(self) -> Optional[Sequence[Sequence[str]]]: + """ + List of the fields of the source entity that are required to run the query + """ + return pulumi.get(self, "required_input_fields_sets") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="templateName") + def template_name(self) -> Optional[str]: + """ + The template id this activity was created from + """ + return pulumi.get(self, "template_name") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + """ + The entity query title + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetActivityCustomEntityQueryResult(GetActivityCustomEntityQueryResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetActivityCustomEntityQueryResult( + content=self.content, + created_time_utc=self.created_time_utc, + description=self.description, + enabled=self.enabled, + entities_filter=self.entities_filter, + etag=self.etag, + id=self.id, + input_entity_type=self.input_entity_type, + kind=self.kind, + last_modified_time_utc=self.last_modified_time_utc, + name=self.name, + query_definitions=self.query_definitions, + required_input_fields_sets=self.required_input_fields_sets, + system_data=self.system_data, + template_name=self.template_name, + title=self.title, + type=self.type) + + +def get_activity_custom_entity_query(entity_query_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetActivityCustomEntityQueryResult: + """ + Gets an entity query. + + + :param str entity_query_id: entity query ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['entityQueryId'] = entity_query_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getActivityCustomEntityQuery', __args__, opts=opts, typ=GetActivityCustomEntityQueryResult).value + + return AwaitableGetActivityCustomEntityQueryResult( + content=pulumi.get(__ret__, 'content'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + description=pulumi.get(__ret__, 'description'), + enabled=pulumi.get(__ret__, 'enabled'), + entities_filter=pulumi.get(__ret__, 'entities_filter'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + input_entity_type=pulumi.get(__ret__, 'input_entity_type'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_time_utc=pulumi.get(__ret__, 'last_modified_time_utc'), + name=pulumi.get(__ret__, 'name'), + query_definitions=pulumi.get(__ret__, 'query_definitions'), + required_input_fields_sets=pulumi.get(__ret__, 'required_input_fields_sets'), + system_data=pulumi.get(__ret__, 'system_data'), + template_name=pulumi.get(__ret__, 'template_name'), + title=pulumi.get(__ret__, 'title'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_activity_custom_entity_query) +def get_activity_custom_entity_query_output(entity_query_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetActivityCustomEntityQueryResult]: + """ + Gets an entity query. + + + :param str entity_query_id: entity query ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_anomalies.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_anomalies.py new file mode 100644 index 000000000000..bdbcc1c24494 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_anomalies.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAnomaliesResult', + 'AwaitableGetAnomaliesResult', + 'get_anomalies', + 'get_anomalies_output', +] + +@pulumi.output_type +class GetAnomaliesResult: + """ + Settings with single toggle. + """ + def __init__(__self__, etag=None, id=None, is_enabled=None, kind=None, name=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_enabled and not isinstance(is_enabled, bool): + raise TypeError("Expected argument 'is_enabled' to be a bool") + pulumi.set(__self__, "is_enabled", is_enabled) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> bool: + """ + Determines whether the setting is enable or disabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the setting + Expected value is 'Anomalies'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAnomaliesResult(GetAnomaliesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAnomaliesResult( + etag=self.etag, + id=self.id, + is_enabled=self.is_enabled, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_anomalies(resource_group_name: Optional[str] = None, + settings_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAnomaliesResult: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['settingsName'] = settings_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAnomalies', __args__, opts=opts, typ=GetAnomaliesResult).value + + return AwaitableGetAnomaliesResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + is_enabled=pulumi.get(__ret__, 'is_enabled'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_anomalies) +def get_anomalies_output(resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnomaliesResult]: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_anomaly_security_ml_analytics_settings.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_anomaly_security_ml_analytics_settings.py new file mode 100644 index 000000000000..52f704ca21df --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_anomaly_security_ml_analytics_settings.py @@ -0,0 +1,332 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAnomalySecurityMLAnalyticsSettingsResult', + 'AwaitableGetAnomalySecurityMLAnalyticsSettingsResult', + 'get_anomaly_security_ml_analytics_settings', + 'get_anomaly_security_ml_analytics_settings_output', +] + +@pulumi.output_type +class GetAnomalySecurityMLAnalyticsSettingsResult: + """ + Represents Anomaly Security ML Analytics Settings + """ + def __init__(__self__, anomaly_settings_version=None, anomaly_version=None, customizable_observations=None, description=None, display_name=None, enabled=None, etag=None, frequency=None, id=None, is_default_settings=None, kind=None, last_modified_utc=None, name=None, required_data_connectors=None, settings_definition_id=None, settings_status=None, system_data=None, tactics=None, techniques=None, type=None): + if anomaly_settings_version and not isinstance(anomaly_settings_version, int): + raise TypeError("Expected argument 'anomaly_settings_version' to be a int") + pulumi.set(__self__, "anomaly_settings_version", anomaly_settings_version) + if anomaly_version and not isinstance(anomaly_version, str): + raise TypeError("Expected argument 'anomaly_version' to be a str") + pulumi.set(__self__, "anomaly_version", anomaly_version) + if customizable_observations and not isinstance(customizable_observations, dict): + raise TypeError("Expected argument 'customizable_observations' to be a dict") + pulumi.set(__self__, "customizable_observations", customizable_observations) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if frequency and not isinstance(frequency, str): + raise TypeError("Expected argument 'frequency' to be a str") + pulumi.set(__self__, "frequency", frequency) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_default_settings and not isinstance(is_default_settings, bool): + raise TypeError("Expected argument 'is_default_settings' to be a bool") + pulumi.set(__self__, "is_default_settings", is_default_settings) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if required_data_connectors and not isinstance(required_data_connectors, list): + raise TypeError("Expected argument 'required_data_connectors' to be a list") + pulumi.set(__self__, "required_data_connectors", required_data_connectors) + if settings_definition_id and not isinstance(settings_definition_id, str): + raise TypeError("Expected argument 'settings_definition_id' to be a str") + pulumi.set(__self__, "settings_definition_id", settings_definition_id) + if settings_status and not isinstance(settings_status, str): + raise TypeError("Expected argument 'settings_status' to be a str") + pulumi.set(__self__, "settings_status", settings_status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="anomalySettingsVersion") + def anomaly_settings_version(self) -> Optional[int]: + """ + The anomaly settings version of the Anomaly security ml analytics settings that dictates whether job version gets updated or not. + """ + return pulumi.get(self, "anomaly_settings_version") + + @property + @pulumi.getter(name="anomalyVersion") + def anomaly_version(self) -> str: + """ + The anomaly version of the AnomalySecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "anomaly_version") + + @property + @pulumi.getter(name="customizableObservations") + def customizable_observations(self) -> Optional[Any]: + """ + The customizable observations of the AnomalySecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "customizable_observations") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the SecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for settings created by this SecurityMLAnalyticsSettings. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this settings is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def frequency(self) -> str: + """ + The frequency that this SecurityMLAnalyticsSettings will be run. + """ + return pulumi.get(self, "frequency") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isDefaultSettings") + def is_default_settings(self) -> bool: + """ + Determines whether this anomaly security ml analytics settings is a default settings + """ + return pulumi.get(self, "is_default_settings") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of security ML analytics settings + Expected value is 'Anomaly'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this SecurityMLAnalyticsSettings has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="requiredDataConnectors") + def required_data_connectors(self) -> Optional[Sequence['outputs.SecurityMLAnalyticsSettingsDataSourceResponse']]: + """ + The required data sources for this SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "required_data_connectors") + + @property + @pulumi.getter(name="settingsDefinitionId") + def settings_definition_id(self) -> Optional[str]: + """ + The anomaly settings definition Id + """ + return pulumi.get(self, "settings_definition_id") + + @property + @pulumi.getter(name="settingsStatus") + def settings_status(self) -> str: + """ + The anomaly SecurityMLAnalyticsSettings status + """ + return pulumi.get(self, "settings_status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Optional[Sequence[str]]: + """ + The tactics of the SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Optional[Sequence[str]]: + """ + The techniques of the SecurityMLAnalyticsSettings + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAnomalySecurityMLAnalyticsSettingsResult(GetAnomalySecurityMLAnalyticsSettingsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAnomalySecurityMLAnalyticsSettingsResult( + anomaly_settings_version=self.anomaly_settings_version, + anomaly_version=self.anomaly_version, + customizable_observations=self.customizable_observations, + description=self.description, + display_name=self.display_name, + enabled=self.enabled, + etag=self.etag, + frequency=self.frequency, + id=self.id, + is_default_settings=self.is_default_settings, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + required_data_connectors=self.required_data_connectors, + settings_definition_id=self.settings_definition_id, + settings_status=self.settings_status, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + type=self.type) + + +def get_anomaly_security_ml_analytics_settings(resource_group_name: Optional[str] = None, + settings_resource_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAnomalySecurityMLAnalyticsSettingsResult: + """ + Gets the Security ML Analytics Settings. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_resource_name: Security ML Analytics Settings resource name + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['settingsResourceName'] = settings_resource_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAnomalySecurityMLAnalyticsSettings', __args__, opts=opts, typ=GetAnomalySecurityMLAnalyticsSettingsResult).value + + return AwaitableGetAnomalySecurityMLAnalyticsSettingsResult( + anomaly_settings_version=pulumi.get(__ret__, 'anomaly_settings_version'), + anomaly_version=pulumi.get(__ret__, 'anomaly_version'), + customizable_observations=pulumi.get(__ret__, 'customizable_observations'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + enabled=pulumi.get(__ret__, 'enabled'), + etag=pulumi.get(__ret__, 'etag'), + frequency=pulumi.get(__ret__, 'frequency'), + id=pulumi.get(__ret__, 'id'), + is_default_settings=pulumi.get(__ret__, 'is_default_settings'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + required_data_connectors=pulumi.get(__ret__, 'required_data_connectors'), + settings_definition_id=pulumi.get(__ret__, 'settings_definition_id'), + settings_status=pulumi.get(__ret__, 'settings_status'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_anomaly_security_ml_analytics_settings) +def get_anomaly_security_ml_analytics_settings_output(resource_group_name: Optional[pulumi.Input[str]] = None, + settings_resource_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnomalySecurityMLAnalyticsSettingsResult]: + """ + Gets the Security ML Analytics Settings. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_resource_name: Security ML Analytics Settings resource name + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_asc_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_asc_data_connector.py new file mode 100644 index 000000000000..d110d8ef0b2e --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_asc_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetASCDataConnectorResult', + 'AwaitableGetASCDataConnectorResult', + 'get_asc_data_connector', + 'get_asc_data_connector_output', +] + +@pulumi.output_type +class GetASCDataConnectorResult: + """ + Represents ASC (Azure Security Center) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, subscription_id=None, system_data=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if subscription_id and not isinstance(subscription_id, str): + raise TypeError("Expected argument 'subscription_id' to be a str") + pulumi.set(__self__, "subscription_id", subscription_id) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'AzureSecurityCenter'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + """ + The subscription id to connect to, and get the data from. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetASCDataConnectorResult(GetASCDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetASCDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + subscription_id=self.subscription_id, + system_data=self.system_data, + type=self.type) + + +def get_asc_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetASCDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getASCDataConnector', __args__, opts=opts, typ=GetASCDataConnectorResult).value + + return AwaitableGetASCDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_asc_data_connector) +def get_asc_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetASCDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_automation_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_automation_rule.py new file mode 100644 index 000000000000..dcb47c2eba37 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_automation_rule.py @@ -0,0 +1,237 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAutomationRuleResult', + 'AwaitableGetAutomationRuleResult', + 'get_automation_rule', + 'get_automation_rule_output', +] + +@pulumi.output_type +class GetAutomationRuleResult: + def __init__(__self__, actions=None, created_by=None, created_time_utc=None, display_name=None, etag=None, id=None, last_modified_by=None, last_modified_time_utc=None, name=None, order=None, system_data=None, triggering_logic=None, type=None): + if actions and not isinstance(actions, list): + raise TypeError("Expected argument 'actions' to be a list") + pulumi.set(__self__, "actions", actions) + if created_by and not isinstance(created_by, dict): + raise TypeError("Expected argument 'created_by' to be a dict") + pulumi.set(__self__, "created_by", created_by) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_modified_by and not isinstance(last_modified_by, dict): + raise TypeError("Expected argument 'last_modified_by' to be a dict") + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_time_utc and not isinstance(last_modified_time_utc, str): + raise TypeError("Expected argument 'last_modified_time_utc' to be a str") + pulumi.set(__self__, "last_modified_time_utc", last_modified_time_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if order and not isinstance(order, int): + raise TypeError("Expected argument 'order' to be a int") + pulumi.set(__self__, "order", order) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if triggering_logic and not isinstance(triggering_logic, dict): + raise TypeError("Expected argument 'triggering_logic' to be a dict") + pulumi.set(__self__, "triggering_logic", triggering_logic) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def actions(self) -> Sequence[Any]: + """ + The actions to execute when the automation rule is triggered. + """ + return pulumi.get(self, "actions") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> 'outputs.ClientInfoResponse': + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> str: + """ + The time the automation rule was created. + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the automation rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> 'outputs.ClientInfoResponse': + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> str: + """ + The last time the automation rule was updated. + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def order(self) -> int: + """ + The order of execution of the automation rule. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="triggeringLogic") + def triggering_logic(self) -> 'outputs.AutomationRuleTriggeringLogicResponse': + """ + Describes automation rule triggering logic. + """ + return pulumi.get(self, "triggering_logic") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAutomationRuleResult(GetAutomationRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAutomationRuleResult( + actions=self.actions, + created_by=self.created_by, + created_time_utc=self.created_time_utc, + display_name=self.display_name, + etag=self.etag, + id=self.id, + last_modified_by=self.last_modified_by, + last_modified_time_utc=self.last_modified_time_utc, + name=self.name, + order=self.order, + system_data=self.system_data, + triggering_logic=self.triggering_logic, + type=self.type) + + +def get_automation_rule(automation_rule_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutomationRuleResult: + """ + Gets the automation rule. + + + :param str automation_rule_id: Automation rule ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['automationRuleId'] = automation_rule_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAutomationRule', __args__, opts=opts, typ=GetAutomationRuleResult).value + + return AwaitableGetAutomationRuleResult( + actions=pulumi.get(__ret__, 'actions'), + created_by=pulumi.get(__ret__, 'created_by'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + display_name=pulumi.get(__ret__, 'display_name'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + last_modified_by=pulumi.get(__ret__, 'last_modified_by'), + last_modified_time_utc=pulumi.get(__ret__, 'last_modified_time_utc'), + name=pulumi.get(__ret__, 'name'), + order=pulumi.get(__ret__, 'order'), + system_data=pulumi.get(__ret__, 'system_data'), + triggering_logic=pulumi.get(__ret__, 'triggering_logic'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_automation_rule) +def get_automation_rule_output(automation_rule_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutomationRuleResult]: + """ + Gets the automation rule. + + + :param str automation_rule_id: Automation rule ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aws_cloud_trail_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aws_cloud_trail_data_connector.py new file mode 100644 index 000000000000..e76b4eb86083 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aws_cloud_trail_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAwsCloudTrailDataConnectorResult', + 'AwaitableGetAwsCloudTrailDataConnectorResult', + 'get_aws_cloud_trail_data_connector', + 'get_aws_cloud_trail_data_connector_output', +] + +@pulumi.output_type +class GetAwsCloudTrailDataConnectorResult: + """ + Represents Amazon Web Services CloudTrail data connector. + """ + def __init__(__self__, aws_role_arn=None, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, type=None): + if aws_role_arn and not isinstance(aws_role_arn, str): + raise TypeError("Expected argument 'aws_role_arn' to be a str") + pulumi.set(__self__, "aws_role_arn", aws_role_arn) + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="awsRoleArn") + def aws_role_arn(self) -> Optional[str]: + """ + The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account. + """ + return pulumi.get(self, "aws_role_arn") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.AwsCloudTrailDataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'AmazonWebServicesCloudTrail'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAwsCloudTrailDataConnectorResult(GetAwsCloudTrailDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAwsCloudTrailDataConnectorResult( + aws_role_arn=self.aws_role_arn, + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_aws_cloud_trail_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsCloudTrailDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAwsCloudTrailDataConnector', __args__, opts=opts, typ=GetAwsCloudTrailDataConnectorResult).value + + return AwaitableGetAwsCloudTrailDataConnectorResult( + aws_role_arn=pulumi.get(__ret__, 'aws_role_arn'), + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_aws_cloud_trail_data_connector) +def get_aws_cloud_trail_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsCloudTrailDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aws_s3_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aws_s3_data_connector.py new file mode 100644 index 000000000000..c8966520fe8d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_aws_s3_data_connector.py @@ -0,0 +1,202 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetAwsS3DataConnectorResult', + 'AwaitableGetAwsS3DataConnectorResult', + 'get_aws_s3_data_connector', + 'get_aws_s3_data_connector_output', +] + +@pulumi.output_type +class GetAwsS3DataConnectorResult: + """ + Represents Amazon Web Services S3 data connector. + """ + def __init__(__self__, data_types=None, destination_table=None, etag=None, id=None, kind=None, name=None, role_arn=None, sqs_urls=None, system_data=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if destination_table and not isinstance(destination_table, str): + raise TypeError("Expected argument 'destination_table' to be a str") + pulumi.set(__self__, "destination_table", destination_table) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if role_arn and not isinstance(role_arn, str): + raise TypeError("Expected argument 'role_arn' to be a str") + pulumi.set(__self__, "role_arn", role_arn) + if sqs_urls and not isinstance(sqs_urls, list): + raise TypeError("Expected argument 'sqs_urls' to be a list") + pulumi.set(__self__, "sqs_urls", sqs_urls) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.AwsS3DataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter(name="destinationTable") + def destination_table(self) -> str: + """ + The logs destination table name in LogAnalytics. + """ + return pulumi.get(self, "destination_table") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'AmazonWebServicesS3'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> str: + """ + The Aws Role Arn that is used to access the Aws account. + """ + return pulumi.get(self, "role_arn") + + @property + @pulumi.getter(name="sqsUrls") + def sqs_urls(self) -> Sequence[str]: + """ + The AWS sqs urls for the connector. + """ + return pulumi.get(self, "sqs_urls") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetAwsS3DataConnectorResult(GetAwsS3DataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAwsS3DataConnectorResult( + data_types=self.data_types, + destination_table=self.destination_table, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + role_arn=self.role_arn, + sqs_urls=self.sqs_urls, + system_data=self.system_data, + type=self.type) + + +def get_aws_s3_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsS3DataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getAwsS3DataConnector', __args__, opts=opts, typ=GetAwsS3DataConnectorResult).value + + return AwaitableGetAwsS3DataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + destination_table=pulumi.get(__ret__, 'destination_table'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + role_arn=pulumi.get(__ret__, 'role_arn'), + sqs_urls=pulumi.get(__ret__, 'sqs_urls'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_aws_s3_data_connector) +def get_aws_s3_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsS3DataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_bookmark.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_bookmark.py new file mode 100644 index 000000000000..d5d44ebb8dbd --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_bookmark.py @@ -0,0 +1,344 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBookmarkResult', + 'AwaitableGetBookmarkResult', + 'get_bookmark', + 'get_bookmark_output', +] + +@pulumi.output_type +class GetBookmarkResult: + """ + Represents a bookmark in Azure Security Insights. + """ + def __init__(__self__, created=None, created_by=None, display_name=None, entity_mappings=None, etag=None, event_time=None, id=None, incident_info=None, labels=None, name=None, notes=None, query=None, query_end_time=None, query_result=None, query_start_time=None, system_data=None, tactics=None, techniques=None, type=None, updated=None, updated_by=None): + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if created_by and not isinstance(created_by, dict): + raise TypeError("Expected argument 'created_by' to be a dict") + pulumi.set(__self__, "created_by", created_by) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if entity_mappings and not isinstance(entity_mappings, list): + raise TypeError("Expected argument 'entity_mappings' to be a list") + pulumi.set(__self__, "entity_mappings", entity_mappings) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if event_time and not isinstance(event_time, str): + raise TypeError("Expected argument 'event_time' to be a str") + pulumi.set(__self__, "event_time", event_time) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if incident_info and not isinstance(incident_info, dict): + raise TypeError("Expected argument 'incident_info' to be a dict") + pulumi.set(__self__, "incident_info", incident_info) + if labels and not isinstance(labels, list): + raise TypeError("Expected argument 'labels' to be a list") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if notes and not isinstance(notes, str): + raise TypeError("Expected argument 'notes' to be a str") + pulumi.set(__self__, "notes", notes) + if query and not isinstance(query, str): + raise TypeError("Expected argument 'query' to be a str") + pulumi.set(__self__, "query", query) + if query_end_time and not isinstance(query_end_time, str): + raise TypeError("Expected argument 'query_end_time' to be a str") + pulumi.set(__self__, "query_end_time", query_end_time) + if query_result and not isinstance(query_result, str): + raise TypeError("Expected argument 'query_result' to be a str") + pulumi.set(__self__, "query_result", query_result) + if query_start_time and not isinstance(query_start_time, str): + raise TypeError("Expected argument 'query_start_time' to be a str") + pulumi.set(__self__, "query_start_time", query_start_time) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if updated and not isinstance(updated, str): + raise TypeError("Expected argument 'updated' to be a str") + pulumi.set(__self__, "updated", updated) + if updated_by and not isinstance(updated_by, dict): + raise TypeError("Expected argument 'updated_by' to be a dict") + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter + def created(self) -> Optional[str]: + """ + The time the bookmark was created + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional['outputs.UserInfoResponse']: + """ + Describes a user that created the bookmark + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the bookmark + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> Optional[Sequence['outputs.BookmarkEntityMappingsResponse']]: + """ + Describes the entity mappings of the bookmark + """ + return pulumi.get(self, "entity_mappings") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="eventTime") + def event_time(self) -> Optional[str]: + """ + The bookmark event time + """ + return pulumi.get(self, "event_time") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="incidentInfo") + def incident_info(self) -> Optional['outputs.IncidentInfoResponse']: + """ + Describes an incident that relates to bookmark + """ + return pulumi.get(self, "incident_info") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence[str]]: + """ + List of labels relevant to this bookmark + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def notes(self) -> Optional[str]: + """ + The notes of the bookmark + """ + return pulumi.get(self, "notes") + + @property + @pulumi.getter + def query(self) -> str: + """ + The query of the bookmark. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter(name="queryEndTime") + def query_end_time(self) -> Optional[str]: + """ + The end time for the query + """ + return pulumi.get(self, "query_end_time") + + @property + @pulumi.getter(name="queryResult") + def query_result(self) -> Optional[str]: + """ + The query result of the bookmark. + """ + return pulumi.get(self, "query_result") + + @property + @pulumi.getter(name="queryStartTime") + def query_start_time(self) -> Optional[str]: + """ + The start time for the query + """ + return pulumi.get(self, "query_start_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Optional[Sequence[str]]: + """ + A list of relevant mitre attacks + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Optional[Sequence[str]]: + """ + A list of relevant mitre techniques + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def updated(self) -> Optional[str]: + """ + The last time the bookmark was updated + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional['outputs.UserInfoResponse']: + """ + Describes a user that updated the bookmark + """ + return pulumi.get(self, "updated_by") + + +class AwaitableGetBookmarkResult(GetBookmarkResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBookmarkResult( + created=self.created, + created_by=self.created_by, + display_name=self.display_name, + entity_mappings=self.entity_mappings, + etag=self.etag, + event_time=self.event_time, + id=self.id, + incident_info=self.incident_info, + labels=self.labels, + name=self.name, + notes=self.notes, + query=self.query, + query_end_time=self.query_end_time, + query_result=self.query_result, + query_start_time=self.query_start_time, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + type=self.type, + updated=self.updated, + updated_by=self.updated_by) + + +def get_bookmark(bookmark_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBookmarkResult: + """ + Gets a bookmark. + + + :param str bookmark_id: Bookmark ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['bookmarkId'] = bookmark_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getBookmark', __args__, opts=opts, typ=GetBookmarkResult).value + + return AwaitableGetBookmarkResult( + created=pulumi.get(__ret__, 'created'), + created_by=pulumi.get(__ret__, 'created_by'), + display_name=pulumi.get(__ret__, 'display_name'), + entity_mappings=pulumi.get(__ret__, 'entity_mappings'), + etag=pulumi.get(__ret__, 'etag'), + event_time=pulumi.get(__ret__, 'event_time'), + id=pulumi.get(__ret__, 'id'), + incident_info=pulumi.get(__ret__, 'incident_info'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + notes=pulumi.get(__ret__, 'notes'), + query=pulumi.get(__ret__, 'query'), + query_end_time=pulumi.get(__ret__, 'query_end_time'), + query_result=pulumi.get(__ret__, 'query_result'), + query_start_time=pulumi.get(__ret__, 'query_start_time'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + type=pulumi.get(__ret__, 'type'), + updated=pulumi.get(__ret__, 'updated'), + updated_by=pulumi.get(__ret__, 'updated_by')) + + +@_utilities.lift_output_func(get_bookmark) +def get_bookmark_output(bookmark_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBookmarkResult]: + """ + Gets a bookmark. + + + :param str bookmark_id: Bookmark ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_bookmark_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_bookmark_relation.py new file mode 100644 index 000000000000..a554be793a7e --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_bookmark_relation.py @@ -0,0 +1,193 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetBookmarkRelationResult', + 'AwaitableGetBookmarkRelationResult', + 'get_bookmark_relation', + 'get_bookmark_relation_output', +] + +@pulumi.output_type +class GetBookmarkRelationResult: + """ + Represents a relation between two resources + """ + def __init__(__self__, etag=None, id=None, name=None, related_resource_id=None, related_resource_kind=None, related_resource_name=None, related_resource_type=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if related_resource_id and not isinstance(related_resource_id, str): + raise TypeError("Expected argument 'related_resource_id' to be a str") + pulumi.set(__self__, "related_resource_id", related_resource_id) + if related_resource_kind and not isinstance(related_resource_kind, str): + raise TypeError("Expected argument 'related_resource_kind' to be a str") + pulumi.set(__self__, "related_resource_kind", related_resource_kind) + if related_resource_name and not isinstance(related_resource_name, str): + raise TypeError("Expected argument 'related_resource_name' to be a str") + pulumi.set(__self__, "related_resource_name", related_resource_name) + if related_resource_type and not isinstance(related_resource_type, str): + raise TypeError("Expected argument 'related_resource_type' to be a str") + pulumi.set(__self__, "related_resource_type", related_resource_type) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> str: + """ + The resource ID of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @property + @pulumi.getter(name="relatedResourceKind") + def related_resource_kind(self) -> str: + """ + The resource kind of the related resource + """ + return pulumi.get(self, "related_resource_kind") + + @property + @pulumi.getter(name="relatedResourceName") + def related_resource_name(self) -> str: + """ + The name of the related resource + """ + return pulumi.get(self, "related_resource_name") + + @property + @pulumi.getter(name="relatedResourceType") + def related_resource_type(self) -> str: + """ + The resource type of the related resource + """ + return pulumi.get(self, "related_resource_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetBookmarkRelationResult(GetBookmarkRelationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetBookmarkRelationResult( + etag=self.etag, + id=self.id, + name=self.name, + related_resource_id=self.related_resource_id, + related_resource_kind=self.related_resource_kind, + related_resource_name=self.related_resource_name, + related_resource_type=self.related_resource_type, + system_data=self.system_data, + type=self.type) + + +def get_bookmark_relation(bookmark_id: Optional[str] = None, + relation_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBookmarkRelationResult: + """ + Gets a bookmark relation. + + + :param str bookmark_id: Bookmark ID + :param str relation_name: Relation Name + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['bookmarkId'] = bookmark_id + __args__['relationName'] = relation_name + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getBookmarkRelation', __args__, opts=opts, typ=GetBookmarkRelationResult).value + + return AwaitableGetBookmarkRelationResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + related_resource_id=pulumi.get(__ret__, 'related_resource_id'), + related_resource_kind=pulumi.get(__ret__, 'related_resource_kind'), + related_resource_name=pulumi.get(__ret__, 'related_resource_name'), + related_resource_type=pulumi.get(__ret__, 'related_resource_type'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_bookmark_relation) +def get_bookmark_relation_output(bookmark_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBookmarkRelationResult]: + """ + Gets a bookmark relation. + + + :param str bookmark_id: Bookmark ID + :param str relation_name: Relation Name + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_codeless_api_polling_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_codeless_api_polling_data_connector.py new file mode 100644 index 000000000000..a5a9a99a8c17 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_codeless_api_polling_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCodelessApiPollingDataConnectorResult', + 'AwaitableGetCodelessApiPollingDataConnectorResult', + 'get_codeless_api_polling_data_connector', + 'get_codeless_api_polling_data_connector_output', +] + +@pulumi.output_type +class GetCodelessApiPollingDataConnectorResult: + """ + Represents Codeless API Polling data connector. + """ + def __init__(__self__, connector_ui_config=None, etag=None, id=None, kind=None, name=None, polling_config=None, system_data=None, type=None): + if connector_ui_config and not isinstance(connector_ui_config, dict): + raise TypeError("Expected argument 'connector_ui_config' to be a dict") + pulumi.set(__self__, "connector_ui_config", connector_ui_config) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if polling_config and not isinstance(polling_config, dict): + raise TypeError("Expected argument 'polling_config' to be a dict") + pulumi.set(__self__, "polling_config", polling_config) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> Optional['outputs.CodelessUiConnectorConfigPropertiesResponse']: + """ + Config to describe the instructions blade + """ + return pulumi.get(self, "connector_ui_config") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'APIPolling'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="pollingConfig") + def polling_config(self) -> Optional['outputs.CodelessConnectorPollingConfigPropertiesResponse']: + """ + Config to describe the polling instructions + """ + return pulumi.get(self, "polling_config") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetCodelessApiPollingDataConnectorResult(GetCodelessApiPollingDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCodelessApiPollingDataConnectorResult( + connector_ui_config=self.connector_ui_config, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + polling_config=self.polling_config, + system_data=self.system_data, + type=self.type) + + +def get_codeless_api_polling_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCodelessApiPollingDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getCodelessApiPollingDataConnector', __args__, opts=opts, typ=GetCodelessApiPollingDataConnectorResult).value + + return AwaitableGetCodelessApiPollingDataConnectorResult( + connector_ui_config=pulumi.get(__ret__, 'connector_ui_config'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + polling_config=pulumi.get(__ret__, 'polling_config'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_codeless_api_polling_data_connector) +def get_codeless_api_polling_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCodelessApiPollingDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_codeless_ui_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_codeless_ui_data_connector.py new file mode 100644 index 000000000000..b6e156e21cbc --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_codeless_ui_data_connector.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCodelessUiDataConnectorResult', + 'AwaitableGetCodelessUiDataConnectorResult', + 'get_codeless_ui_data_connector', + 'get_codeless_ui_data_connector_output', +] + +@pulumi.output_type +class GetCodelessUiDataConnectorResult: + """ + Represents Codeless UI data connector. + """ + def __init__(__self__, connector_ui_config=None, etag=None, id=None, kind=None, name=None, system_data=None, type=None): + if connector_ui_config and not isinstance(connector_ui_config, dict): + raise TypeError("Expected argument 'connector_ui_config' to be a dict") + pulumi.set(__self__, "connector_ui_config", connector_ui_config) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> Optional['outputs.CodelessUiConnectorConfigPropertiesResponse']: + """ + Config to describe the instructions blade + """ + return pulumi.get(self, "connector_ui_config") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'GenericUI'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetCodelessUiDataConnectorResult(GetCodelessUiDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCodelessUiDataConnectorResult( + connector_ui_config=self.connector_ui_config, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_codeless_ui_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCodelessUiDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getCodelessUiDataConnector', __args__, opts=opts, typ=GetCodelessUiDataConnectorResult).value + + return AwaitableGetCodelessUiDataConnectorResult( + connector_ui_config=pulumi.get(__ret__, 'connector_ui_config'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_codeless_ui_data_connector) +def get_codeless_ui_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCodelessUiDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_content_package.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_content_package.py new file mode 100644 index 000000000000..62d16ec426be --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_content_package.py @@ -0,0 +1,422 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetContentPackageResult', + 'AwaitableGetContentPackageResult', + 'get_content_package', + 'get_content_package_output', +] + +@pulumi.output_type +class GetContentPackageResult: + """ + Represents a Package in Azure Security Insights. + """ + def __init__(__self__, author=None, categories=None, content_id=None, content_kind=None, content_product_id=None, content_schema_version=None, dependencies=None, description=None, display_name=None, etag=None, first_publish_date=None, icon=None, id=None, is_featured=None, is_new=None, is_preview=None, last_publish_date=None, name=None, providers=None, publisher_display_name=None, source=None, support=None, system_data=None, threat_analysis_tactics=None, threat_analysis_techniques=None, type=None, version=None): + if author and not isinstance(author, dict): + raise TypeError("Expected argument 'author' to be a dict") + pulumi.set(__self__, "author", author) + if categories and not isinstance(categories, dict): + raise TypeError("Expected argument 'categories' to be a dict") + pulumi.set(__self__, "categories", categories) + if content_id and not isinstance(content_id, str): + raise TypeError("Expected argument 'content_id' to be a str") + pulumi.set(__self__, "content_id", content_id) + if content_kind and not isinstance(content_kind, str): + raise TypeError("Expected argument 'content_kind' to be a str") + pulumi.set(__self__, "content_kind", content_kind) + if content_product_id and not isinstance(content_product_id, str): + raise TypeError("Expected argument 'content_product_id' to be a str") + pulumi.set(__self__, "content_product_id", content_product_id) + if content_schema_version and not isinstance(content_schema_version, str): + raise TypeError("Expected argument 'content_schema_version' to be a str") + pulumi.set(__self__, "content_schema_version", content_schema_version) + if dependencies and not isinstance(dependencies, dict): + raise TypeError("Expected argument 'dependencies' to be a dict") + pulumi.set(__self__, "dependencies", dependencies) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if first_publish_date and not isinstance(first_publish_date, str): + raise TypeError("Expected argument 'first_publish_date' to be a str") + pulumi.set(__self__, "first_publish_date", first_publish_date) + if icon and not isinstance(icon, str): + raise TypeError("Expected argument 'icon' to be a str") + pulumi.set(__self__, "icon", icon) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_featured and not isinstance(is_featured, str): + raise TypeError("Expected argument 'is_featured' to be a str") + pulumi.set(__self__, "is_featured", is_featured) + if is_new and not isinstance(is_new, str): + raise TypeError("Expected argument 'is_new' to be a str") + pulumi.set(__self__, "is_new", is_new) + if is_preview and not isinstance(is_preview, str): + raise TypeError("Expected argument 'is_preview' to be a str") + pulumi.set(__self__, "is_preview", is_preview) + if last_publish_date and not isinstance(last_publish_date, str): + raise TypeError("Expected argument 'last_publish_date' to be a str") + pulumi.set(__self__, "last_publish_date", last_publish_date) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if providers and not isinstance(providers, list): + raise TypeError("Expected argument 'providers' to be a list") + pulumi.set(__self__, "providers", providers) + if publisher_display_name and not isinstance(publisher_display_name, str): + raise TypeError("Expected argument 'publisher_display_name' to be a str") + pulumi.set(__self__, "publisher_display_name", publisher_display_name) + if source and not isinstance(source, dict): + raise TypeError("Expected argument 'source' to be a dict") + pulumi.set(__self__, "source", source) + if support and not isinstance(support, dict): + raise TypeError("Expected argument 'support' to be a dict") + pulumi.set(__self__, "support", support) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if threat_analysis_tactics and not isinstance(threat_analysis_tactics, list): + raise TypeError("Expected argument 'threat_analysis_tactics' to be a list") + pulumi.set(__self__, "threat_analysis_tactics", threat_analysis_tactics) + if threat_analysis_techniques and not isinstance(threat_analysis_techniques, list): + raise TypeError("Expected argument 'threat_analysis_techniques' to be a list") + pulumi.set(__self__, "threat_analysis_techniques", threat_analysis_techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, str): + raise TypeError("Expected argument 'version' to be a str") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def author(self) -> Optional['outputs.MetadataAuthorResponse']: + """ + The author of the package + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter + def categories(self) -> Optional['outputs.MetadataCategoriesResponse']: + """ + The categories of the package + """ + return pulumi.get(self, "categories") + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> str: + """ + The content id of the package + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter(name="contentKind") + def content_kind(self) -> str: + """ + The package kind + """ + return pulumi.get(self, "content_kind") + + @property + @pulumi.getter(name="contentProductId") + def content_product_id(self) -> str: + """ + Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package + """ + return pulumi.get(self, "content_product_id") + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> Optional[str]: + """ + The version of the content schema. + """ + return pulumi.get(self, "content_schema_version") + + @property + @pulumi.getter + def dependencies(self) -> Optional['outputs.MetadataDependenciesResponse']: + """ + The support tier of the package + """ + return pulumi.get(self, "dependencies") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the package + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the package + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> Optional[str]: + """ + first publish date package item + """ + return pulumi.get(self, "first_publish_date") + + @property + @pulumi.getter + def icon(self) -> Optional[str]: + """ + the icon identifier. this id can later be fetched from the content metadata + """ + return pulumi.get(self, "icon") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isFeatured") + def is_featured(self) -> Optional[str]: + """ + Flag indicates if this package is among the featured list. + """ + return pulumi.get(self, "is_featured") + + @property + @pulumi.getter(name="isNew") + def is_new(self) -> Optional[str]: + """ + Flag indicates if this is a newly published package. + """ + return pulumi.get(self, "is_new") + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> Optional[str]: + """ + Flag indicates if this package is in preview. + """ + return pulumi.get(self, "is_preview") + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> Optional[str]: + """ + last publish date for the package item + """ + return pulumi.get(self, "last_publish_date") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def providers(self) -> Optional[Sequence[str]]: + """ + Providers for the package item + """ + return pulumi.get(self, "providers") + + @property + @pulumi.getter(name="publisherDisplayName") + def publisher_display_name(self) -> Optional[str]: + """ + The publisher display name of the package + """ + return pulumi.get(self, "publisher_display_name") + + @property + @pulumi.getter + def source(self) -> Optional['outputs.MetadataSourceResponse']: + """ + The source of the package + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def support(self) -> Optional['outputs.MetadataSupportResponse']: + """ + The support tier of the package + """ + return pulumi.get(self, "support") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> Optional[Sequence[str]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> Optional[Sequence[str]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> str: + """ + the latest version number of the package + """ + return pulumi.get(self, "version") + + +class AwaitableGetContentPackageResult(GetContentPackageResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetContentPackageResult( + author=self.author, + categories=self.categories, + content_id=self.content_id, + content_kind=self.content_kind, + content_product_id=self.content_product_id, + content_schema_version=self.content_schema_version, + dependencies=self.dependencies, + description=self.description, + display_name=self.display_name, + etag=self.etag, + first_publish_date=self.first_publish_date, + icon=self.icon, + id=self.id, + is_featured=self.is_featured, + is_new=self.is_new, + is_preview=self.is_preview, + last_publish_date=self.last_publish_date, + name=self.name, + providers=self.providers, + publisher_display_name=self.publisher_display_name, + source=self.source, + support=self.support, + system_data=self.system_data, + threat_analysis_tactics=self.threat_analysis_tactics, + threat_analysis_techniques=self.threat_analysis_techniques, + type=self.type, + version=self.version) + + +def get_content_package(package_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentPackageResult: + """ + Gets an installed packages by its id. + + + :param str package_id: package Id + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['packageId'] = package_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getContentPackage', __args__, opts=opts, typ=GetContentPackageResult).value + + return AwaitableGetContentPackageResult( + author=pulumi.get(__ret__, 'author'), + categories=pulumi.get(__ret__, 'categories'), + content_id=pulumi.get(__ret__, 'content_id'), + content_kind=pulumi.get(__ret__, 'content_kind'), + content_product_id=pulumi.get(__ret__, 'content_product_id'), + content_schema_version=pulumi.get(__ret__, 'content_schema_version'), + dependencies=pulumi.get(__ret__, 'dependencies'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + etag=pulumi.get(__ret__, 'etag'), + first_publish_date=pulumi.get(__ret__, 'first_publish_date'), + icon=pulumi.get(__ret__, 'icon'), + id=pulumi.get(__ret__, 'id'), + is_featured=pulumi.get(__ret__, 'is_featured'), + is_new=pulumi.get(__ret__, 'is_new'), + is_preview=pulumi.get(__ret__, 'is_preview'), + last_publish_date=pulumi.get(__ret__, 'last_publish_date'), + name=pulumi.get(__ret__, 'name'), + providers=pulumi.get(__ret__, 'providers'), + publisher_display_name=pulumi.get(__ret__, 'publisher_display_name'), + source=pulumi.get(__ret__, 'source'), + support=pulumi.get(__ret__, 'support'), + system_data=pulumi.get(__ret__, 'system_data'), + threat_analysis_tactics=pulumi.get(__ret__, 'threat_analysis_tactics'), + threat_analysis_techniques=pulumi.get(__ret__, 'threat_analysis_techniques'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version')) + + +@_utilities.lift_output_func(get_content_package) +def get_content_package_output(package_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContentPackageResult]: + """ + Gets an installed packages by its id. + + + :param str package_id: package Id + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_content_template.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_content_template.py new file mode 100644 index 000000000000..e0ee81cc8ee7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_content_template.py @@ -0,0 +1,461 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetContentTemplateResult', + 'AwaitableGetContentTemplateResult', + 'get_content_template', + 'get_content_template_output', +] + +@pulumi.output_type +class GetContentTemplateResult: + """ + Template resource definition. + """ + def __init__(__self__, author=None, categories=None, content_id=None, content_kind=None, content_product_id=None, content_schema_version=None, custom_version=None, dependencies=None, display_name=None, etag=None, first_publish_date=None, icon=None, id=None, last_publish_date=None, main_template=None, name=None, package_id=None, package_kind=None, package_name=None, package_version=None, preview_images=None, preview_images_dark=None, providers=None, source=None, support=None, system_data=None, threat_analysis_tactics=None, threat_analysis_techniques=None, type=None, version=None): + if author and not isinstance(author, dict): + raise TypeError("Expected argument 'author' to be a dict") + pulumi.set(__self__, "author", author) + if categories and not isinstance(categories, dict): + raise TypeError("Expected argument 'categories' to be a dict") + pulumi.set(__self__, "categories", categories) + if content_id and not isinstance(content_id, str): + raise TypeError("Expected argument 'content_id' to be a str") + pulumi.set(__self__, "content_id", content_id) + if content_kind and not isinstance(content_kind, str): + raise TypeError("Expected argument 'content_kind' to be a str") + pulumi.set(__self__, "content_kind", content_kind) + if content_product_id and not isinstance(content_product_id, str): + raise TypeError("Expected argument 'content_product_id' to be a str") + pulumi.set(__self__, "content_product_id", content_product_id) + if content_schema_version and not isinstance(content_schema_version, str): + raise TypeError("Expected argument 'content_schema_version' to be a str") + pulumi.set(__self__, "content_schema_version", content_schema_version) + if custom_version and not isinstance(custom_version, str): + raise TypeError("Expected argument 'custom_version' to be a str") + pulumi.set(__self__, "custom_version", custom_version) + if dependencies and not isinstance(dependencies, dict): + raise TypeError("Expected argument 'dependencies' to be a dict") + pulumi.set(__self__, "dependencies", dependencies) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if first_publish_date and not isinstance(first_publish_date, str): + raise TypeError("Expected argument 'first_publish_date' to be a str") + pulumi.set(__self__, "first_publish_date", first_publish_date) + if icon and not isinstance(icon, str): + raise TypeError("Expected argument 'icon' to be a str") + pulumi.set(__self__, "icon", icon) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_publish_date and not isinstance(last_publish_date, str): + raise TypeError("Expected argument 'last_publish_date' to be a str") + pulumi.set(__self__, "last_publish_date", last_publish_date) + if main_template and not isinstance(main_template, dict): + raise TypeError("Expected argument 'main_template' to be a dict") + pulumi.set(__self__, "main_template", main_template) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if package_id and not isinstance(package_id, str): + raise TypeError("Expected argument 'package_id' to be a str") + pulumi.set(__self__, "package_id", package_id) + if package_kind and not isinstance(package_kind, str): + raise TypeError("Expected argument 'package_kind' to be a str") + pulumi.set(__self__, "package_kind", package_kind) + if package_name and not isinstance(package_name, str): + raise TypeError("Expected argument 'package_name' to be a str") + pulumi.set(__self__, "package_name", package_name) + if package_version and not isinstance(package_version, str): + raise TypeError("Expected argument 'package_version' to be a str") + pulumi.set(__self__, "package_version", package_version) + if preview_images and not isinstance(preview_images, list): + raise TypeError("Expected argument 'preview_images' to be a list") + pulumi.set(__self__, "preview_images", preview_images) + if preview_images_dark and not isinstance(preview_images_dark, list): + raise TypeError("Expected argument 'preview_images_dark' to be a list") + pulumi.set(__self__, "preview_images_dark", preview_images_dark) + if providers and not isinstance(providers, list): + raise TypeError("Expected argument 'providers' to be a list") + pulumi.set(__self__, "providers", providers) + if source and not isinstance(source, dict): + raise TypeError("Expected argument 'source' to be a dict") + pulumi.set(__self__, "source", source) + if support and not isinstance(support, dict): + raise TypeError("Expected argument 'support' to be a dict") + pulumi.set(__self__, "support", support) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if threat_analysis_tactics and not isinstance(threat_analysis_tactics, list): + raise TypeError("Expected argument 'threat_analysis_tactics' to be a list") + pulumi.set(__self__, "threat_analysis_tactics", threat_analysis_tactics) + if threat_analysis_techniques and not isinstance(threat_analysis_techniques, list): + raise TypeError("Expected argument 'threat_analysis_techniques' to be a list") + pulumi.set(__self__, "threat_analysis_techniques", threat_analysis_techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, str): + raise TypeError("Expected argument 'version' to be a str") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def author(self) -> Optional['outputs.MetadataAuthorResponse']: + """ + The creator of the content item. + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter + def categories(self) -> Optional['outputs.MetadataCategoriesResponse']: + """ + Categories for the item + """ + return pulumi.get(self, "categories") + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> str: + """ + Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter(name="contentKind") + def content_kind(self) -> str: + """ + The kind of content the template is for. + """ + return pulumi.get(self, "content_kind") + + @property + @pulumi.getter(name="contentProductId") + def content_product_id(self) -> str: + """ + Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template + """ + return pulumi.get(self, "content_product_id") + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> Optional[str]: + """ + Schema version of the content. Can be used to distinguish between different flow based on the schema version + """ + return pulumi.get(self, "content_schema_version") + + @property + @pulumi.getter(name="customVersion") + def custom_version(self) -> Optional[str]: + """ + The custom version of the content. A optional free text + """ + return pulumi.get(self, "custom_version") + + @property + @pulumi.getter + def dependencies(self) -> Optional['outputs.MetadataDependenciesResponse']: + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + """ + return pulumi.get(self, "dependencies") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the template + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> Optional[str]: + """ + first publish date content item + """ + return pulumi.get(self, "first_publish_date") + + @property + @pulumi.getter + def icon(self) -> Optional[str]: + """ + the icon identifier. this id can later be fetched from the content metadata + """ + return pulumi.get(self, "icon") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> Optional[str]: + """ + last publish date for the content item + """ + return pulumi.get(self, "last_publish_date") + + @property + @pulumi.getter(name="mainTemplate") + def main_template(self) -> Optional[Any]: + """ + The JSON of the ARM template to deploy active content + """ + return pulumi.get(self, "main_template") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="packageId") + def package_id(self) -> str: + """ + the package Id contains this template + """ + return pulumi.get(self, "package_id") + + @property + @pulumi.getter(name="packageKind") + def package_kind(self) -> Optional[str]: + """ + the packageKind of the package contains this template + """ + return pulumi.get(self, "package_kind") + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + """ + the name of the package contains this template + """ + return pulumi.get(self, "package_name") + + @property + @pulumi.getter(name="packageVersion") + def package_version(self) -> str: + """ + Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "package_version") + + @property + @pulumi.getter(name="previewImages") + def preview_images(self) -> Optional[Sequence[str]]: + """ + preview image file names. These will be taken from the solution artifacts + """ + return pulumi.get(self, "preview_images") + + @property + @pulumi.getter(name="previewImagesDark") + def preview_images_dark(self) -> Optional[Sequence[str]]: + """ + preview image file names. These will be taken from the solution artifacts. used for dark theme support + """ + return pulumi.get(self, "preview_images_dark") + + @property + @pulumi.getter + def providers(self) -> Optional[Sequence[str]]: + """ + Providers for the content item + """ + return pulumi.get(self, "providers") + + @property + @pulumi.getter + def source(self) -> 'outputs.MetadataSourceResponse': + """ + Source of the content. This is where/how it was created. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def support(self) -> Optional['outputs.MetadataSupportResponse']: + """ + Support information for the template - type, name, contact information + """ + return pulumi.get(self, "support") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> Optional[Sequence[str]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> Optional[Sequence[str]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> str: + """ + Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "version") + + +class AwaitableGetContentTemplateResult(GetContentTemplateResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetContentTemplateResult( + author=self.author, + categories=self.categories, + content_id=self.content_id, + content_kind=self.content_kind, + content_product_id=self.content_product_id, + content_schema_version=self.content_schema_version, + custom_version=self.custom_version, + dependencies=self.dependencies, + display_name=self.display_name, + etag=self.etag, + first_publish_date=self.first_publish_date, + icon=self.icon, + id=self.id, + last_publish_date=self.last_publish_date, + main_template=self.main_template, + name=self.name, + package_id=self.package_id, + package_kind=self.package_kind, + package_name=self.package_name, + package_version=self.package_version, + preview_images=self.preview_images, + preview_images_dark=self.preview_images_dark, + providers=self.providers, + source=self.source, + support=self.support, + system_data=self.system_data, + threat_analysis_tactics=self.threat_analysis_tactics, + threat_analysis_techniques=self.threat_analysis_techniques, + type=self.type, + version=self.version) + + +def get_content_template(resource_group_name: Optional[str] = None, + template_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentTemplateResult: + """ + Gets a template byt its identifier. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str template_id: template Id + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['templateId'] = template_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getContentTemplate', __args__, opts=opts, typ=GetContentTemplateResult).value + + return AwaitableGetContentTemplateResult( + author=pulumi.get(__ret__, 'author'), + categories=pulumi.get(__ret__, 'categories'), + content_id=pulumi.get(__ret__, 'content_id'), + content_kind=pulumi.get(__ret__, 'content_kind'), + content_product_id=pulumi.get(__ret__, 'content_product_id'), + content_schema_version=pulumi.get(__ret__, 'content_schema_version'), + custom_version=pulumi.get(__ret__, 'custom_version'), + dependencies=pulumi.get(__ret__, 'dependencies'), + display_name=pulumi.get(__ret__, 'display_name'), + etag=pulumi.get(__ret__, 'etag'), + first_publish_date=pulumi.get(__ret__, 'first_publish_date'), + icon=pulumi.get(__ret__, 'icon'), + id=pulumi.get(__ret__, 'id'), + last_publish_date=pulumi.get(__ret__, 'last_publish_date'), + main_template=pulumi.get(__ret__, 'main_template'), + name=pulumi.get(__ret__, 'name'), + package_id=pulumi.get(__ret__, 'package_id'), + package_kind=pulumi.get(__ret__, 'package_kind'), + package_name=pulumi.get(__ret__, 'package_name'), + package_version=pulumi.get(__ret__, 'package_version'), + preview_images=pulumi.get(__ret__, 'preview_images'), + preview_images_dark=pulumi.get(__ret__, 'preview_images_dark'), + providers=pulumi.get(__ret__, 'providers'), + source=pulumi.get(__ret__, 'source'), + support=pulumi.get(__ret__, 'support'), + system_data=pulumi.get(__ret__, 'system_data'), + threat_analysis_tactics=pulumi.get(__ret__, 'threat_analysis_tactics'), + threat_analysis_techniques=pulumi.get(__ret__, 'threat_analysis_techniques'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version')) + + +@_utilities.lift_output_func(get_content_template) +def get_content_template_output(resource_group_name: Optional[pulumi.Input[str]] = None, + template_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContentTemplateResult]: + """ + Gets a template byt its identifier. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str template_id: template Id + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_customizable_connector_definition.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_customizable_connector_definition.py new file mode 100644 index 000000000000..cdde26265976 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_customizable_connector_definition.py @@ -0,0 +1,202 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetCustomizableConnectorDefinitionResult', + 'AwaitableGetCustomizableConnectorDefinitionResult', + 'get_customizable_connector_definition', + 'get_customizable_connector_definition_output', +] + +@pulumi.output_type +class GetCustomizableConnectorDefinitionResult: + """ + Connector definition for kind 'Customizable'. + """ + def __init__(__self__, connections_config=None, connector_ui_config=None, created_time_utc=None, etag=None, id=None, kind=None, last_modified_utc=None, name=None, system_data=None, type=None): + if connections_config and not isinstance(connections_config, dict): + raise TypeError("Expected argument 'connections_config' to be a dict") + pulumi.set(__self__, "connections_config", connections_config) + if connector_ui_config and not isinstance(connector_ui_config, dict): + raise TypeError("Expected argument 'connector_ui_config' to be a dict") + pulumi.set(__self__, "connector_ui_config", connector_ui_config) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="connectionsConfig") + def connections_config(self) -> Optional['outputs.CustomizableConnectionsConfigResponse']: + """ + The UiConfig for 'Customizable' connector definition kind. + """ + return pulumi.get(self, "connections_config") + + @property + @pulumi.getter(name="connectorUiConfig") + def connector_ui_config(self) -> 'outputs.CustomizableConnectorUiConfigResponse': + """ + The UiConfig for 'Customizable' connector definition kind. + """ + return pulumi.get(self, "connector_ui_config") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> Optional[str]: + """ + Gets or sets the connector definition created date in UTC format. + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector definitions + Expected value is 'Customizable'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> Optional[str]: + """ + Gets or sets the connector definition last modified date in UTC format. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetCustomizableConnectorDefinitionResult(GetCustomizableConnectorDefinitionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCustomizableConnectorDefinitionResult( + connections_config=self.connections_config, + connector_ui_config=self.connector_ui_config, + created_time_utc=self.created_time_utc, + etag=self.etag, + id=self.id, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_customizable_connector_definition(data_connector_definition_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomizableConnectorDefinitionResult: + """ + Gets a data connector definition. + + + :param str data_connector_definition_name: The data connector definition name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorDefinitionName'] = data_connector_definition_name + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getCustomizableConnectorDefinition', __args__, opts=opts, typ=GetCustomizableConnectorDefinitionResult).value + + return AwaitableGetCustomizableConnectorDefinitionResult( + connections_config=pulumi.get(__ret__, 'connections_config'), + connector_ui_config=pulumi.get(__ret__, 'connector_ui_config'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_customizable_connector_definition) +def get_customizable_connector_definition_output(data_connector_definition_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomizableConnectorDefinitionResult]: + """ + Gets a data connector definition. + + + :param str data_connector_definition_name: The data connector definition name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_dynamics365_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_dynamics365_data_connector.py new file mode 100644 index 000000000000..c2e78209cf37 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_dynamics365_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetDynamics365DataConnectorResult', + 'AwaitableGetDynamics365DataConnectorResult', + 'get_dynamics365_data_connector', + 'get_dynamics365_data_connector_output', +] + +@pulumi.output_type +class GetDynamics365DataConnectorResult: + """ + Represents Dynamics365 data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.Dynamics365DataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'Dynamics365'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetDynamics365DataConnectorResult(GetDynamics365DataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDynamics365DataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_dynamics365_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDynamics365DataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getDynamics365DataConnector', __args__, opts=opts, typ=GetDynamics365DataConnectorResult).value + + return AwaitableGetDynamics365DataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_dynamics365_data_connector) +def get_dynamics365_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDynamics365DataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entities_get_timeline.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entities_get_timeline.py new file mode 100644 index 000000000000..e393234dde76 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entities_get_timeline.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'GetEntitiesGetTimelineResult', + 'AwaitableGetEntitiesGetTimelineResult', + 'get_entities_get_timeline', + 'get_entities_get_timeline_output', +] + +@pulumi.output_type +class GetEntitiesGetTimelineResult: + """ + The entity timeline result operation response. + """ + def __init__(__self__, meta_data=None, value=None): + if meta_data and not isinstance(meta_data, dict): + raise TypeError("Expected argument 'meta_data' to be a dict") + pulumi.set(__self__, "meta_data", meta_data) + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="metaData") + def meta_data(self) -> Optional['outputs.TimelineResultsMetadataResponse']: + """ + The metadata from the timeline operation results. + """ + return pulumi.get(self, "meta_data") + + @property + @pulumi.getter + def value(self) -> Optional[Sequence[Any]]: + """ + The timeline result values. + """ + return pulumi.get(self, "value") + + +class AwaitableGetEntitiesGetTimelineResult(GetEntitiesGetTimelineResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEntitiesGetTimelineResult( + meta_data=self.meta_data, + value=self.value) + + +def get_entities_get_timeline(end_time: Optional[str] = None, + entity_id: Optional[str] = None, + kinds: Optional[Sequence[Union[str, 'EntityTimelineKind']]] = None, + number_of_bucket: Optional[int] = None, + resource_group_name: Optional[str] = None, + start_time: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntitiesGetTimelineResult: + """ + Timeline for an entity. + + + :param str end_time: The end timeline date, so the results returned are before this date. + :param str entity_id: entity ID + :param Sequence[Union[str, 'EntityTimelineKind']] kinds: Array of timeline Item kinds. + :param int number_of_bucket: The number of bucket for timeline queries aggregation. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str start_time: The start timeline date, so the results returned are after this date. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['endTime'] = end_time + __args__['entityId'] = entity_id + __args__['kinds'] = kinds + __args__['numberOfBucket'] = number_of_bucket + __args__['resourceGroupName'] = resource_group_name + __args__['startTime'] = start_time + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getEntitiesGetTimeline', __args__, opts=opts, typ=GetEntitiesGetTimelineResult).value + + return AwaitableGetEntitiesGetTimelineResult( + meta_data=pulumi.get(__ret__, 'meta_data'), + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(get_entities_get_timeline) +def get_entities_get_timeline_output(end_time: Optional[pulumi.Input[str]] = None, + entity_id: Optional[pulumi.Input[str]] = None, + kinds: Optional[pulumi.Input[Optional[Sequence[Union[str, 'EntityTimelineKind']]]]] = None, + number_of_bucket: Optional[pulumi.Input[Optional[int]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + start_time: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntitiesGetTimelineResult]: + """ + Timeline for an entity. + + + :param str end_time: The end timeline date, so the results returned are before this date. + :param str entity_id: entity ID + :param Sequence[Union[str, 'EntityTimelineKind']] kinds: Array of timeline Item kinds. + :param int number_of_bucket: The number of bucket for timeline queries aggregation. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str start_time: The start timeline date, so the results returned are after this date. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entity_analytics.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entity_analytics.py new file mode 100644 index 000000000000..4fb23e55471a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entity_analytics.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetEntityAnalyticsResult', + 'AwaitableGetEntityAnalyticsResult', + 'get_entity_analytics', + 'get_entity_analytics_output', +] + +@pulumi.output_type +class GetEntityAnalyticsResult: + """ + Settings with single toggle. + """ + def __init__(__self__, entity_providers=None, etag=None, id=None, kind=None, name=None, system_data=None, type=None): + if entity_providers and not isinstance(entity_providers, list): + raise TypeError("Expected argument 'entity_providers' to be a list") + pulumi.set(__self__, "entity_providers", entity_providers) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="entityProviders") + def entity_providers(self) -> Optional[Sequence[str]]: + """ + The relevant entity providers that are synced + """ + return pulumi.get(self, "entity_providers") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the setting + Expected value is 'EntityAnalytics'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetEntityAnalyticsResult(GetEntityAnalyticsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEntityAnalyticsResult( + entity_providers=self.entity_providers, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_entity_analytics(resource_group_name: Optional[str] = None, + settings_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityAnalyticsResult: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['settingsName'] = settings_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getEntityAnalytics', __args__, opts=opts, typ=GetEntityAnalyticsResult).value + + return AwaitableGetEntityAnalyticsResult( + entity_providers=pulumi.get(__ret__, 'entity_providers'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_entity_analytics) +def get_entity_analytics_output(resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntityAnalyticsResult]: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entity_insights.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entity_insights.py new file mode 100644 index 000000000000..16a06780dc8d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_entity_insights.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetEntityInsightsResult', + 'AwaitableGetEntityInsightsResult', + 'get_entity_insights', + 'get_entity_insights_output', +] + +@pulumi.output_type +class GetEntityInsightsResult: + """ + The Get Insights result operation response. + """ + def __init__(__self__, meta_data=None, value=None): + if meta_data and not isinstance(meta_data, dict): + raise TypeError("Expected argument 'meta_data' to be a dict") + pulumi.set(__self__, "meta_data", meta_data) + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="metaData") + def meta_data(self) -> Optional['outputs.GetInsightsResultsMetadataResponse']: + """ + The metadata from the get insights operation results. + """ + return pulumi.get(self, "meta_data") + + @property + @pulumi.getter + def value(self) -> Optional[Sequence['outputs.EntityInsightItemResponse']]: + """ + The insights result values. + """ + return pulumi.get(self, "value") + + +class AwaitableGetEntityInsightsResult(GetEntityInsightsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEntityInsightsResult( + meta_data=self.meta_data, + value=self.value) + + +def get_entity_insights(add_default_extended_time_range: Optional[bool] = None, + end_time: Optional[str] = None, + entity_id: Optional[str] = None, + insight_query_ids: Optional[Sequence[str]] = None, + resource_group_name: Optional[str] = None, + start_time: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityInsightsResult: + """ + Execute Insights for an entity. + + + :param bool add_default_extended_time_range: Indicates if query time range should be extended with default time range of the query. Default value is false + :param str end_time: The end timeline date, so the results returned are before this date. + :param str entity_id: entity ID + :param Sequence[str] insight_query_ids: List of Insights Query Id. If empty, default value is all insights of this entity + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str start_time: The start timeline date, so the results returned are after this date. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['addDefaultExtendedTimeRange'] = add_default_extended_time_range + __args__['endTime'] = end_time + __args__['entityId'] = entity_id + __args__['insightQueryIds'] = insight_query_ids + __args__['resourceGroupName'] = resource_group_name + __args__['startTime'] = start_time + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getEntityInsights', __args__, opts=opts, typ=GetEntityInsightsResult).value + + return AwaitableGetEntityInsightsResult( + meta_data=pulumi.get(__ret__, 'meta_data'), + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(get_entity_insights) +def get_entity_insights_output(add_default_extended_time_range: Optional[pulumi.Input[Optional[bool]]] = None, + end_time: Optional[pulumi.Input[str]] = None, + entity_id: Optional[pulumi.Input[str]] = None, + insight_query_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + start_time: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntityInsightsResult]: + """ + Execute Insights for an entity. + + + :param bool add_default_extended_time_range: Indicates if query time range should be extended with default time range of the query. Default value is false + :param str end_time: The end timeline date, so the results returned are before this date. + :param str entity_id: entity ID + :param Sequence[str] insight_query_ids: List of Insights Query Id. If empty, default value is all insights of this entity + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str start_time: The start timeline date, so the results returned are after this date. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_eyes_on.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_eyes_on.py new file mode 100644 index 000000000000..3c251b9ff77a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_eyes_on.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetEyesOnResult', + 'AwaitableGetEyesOnResult', + 'get_eyes_on', + 'get_eyes_on_output', +] + +@pulumi.output_type +class GetEyesOnResult: + """ + Settings with single toggle. + """ + def __init__(__self__, etag=None, id=None, is_enabled=None, kind=None, name=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_enabled and not isinstance(is_enabled, bool): + raise TypeError("Expected argument 'is_enabled' to be a bool") + pulumi.set(__self__, "is_enabled", is_enabled) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> bool: + """ + Determines whether the setting is enable or disabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the setting + Expected value is 'EyesOn'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetEyesOnResult(GetEyesOnResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEyesOnResult( + etag=self.etag, + id=self.id, + is_enabled=self.is_enabled, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_eyes_on(resource_group_name: Optional[str] = None, + settings_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEyesOnResult: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['settingsName'] = settings_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getEyesOn', __args__, opts=opts, typ=GetEyesOnResult).value + + return AwaitableGetEyesOnResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + is_enabled=pulumi.get(__ret__, 'is_enabled'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_eyes_on) +def get_eyes_on_output(resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEyesOnResult]: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_file_import.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_file_import.py new file mode 100644 index 000000000000..52bdca3acdc6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_file_import.py @@ -0,0 +1,292 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetFileImportResult', + 'AwaitableGetFileImportResult', + 'get_file_import', + 'get_file_import_output', +] + +@pulumi.output_type +class GetFileImportResult: + """ + Represents a file import in Azure Security Insights. + """ + def __init__(__self__, content_type=None, created_time_utc=None, error_file=None, errors_preview=None, files_valid_until_time_utc=None, id=None, import_file=None, import_valid_until_time_utc=None, ingested_record_count=None, ingestion_mode=None, name=None, source=None, state=None, system_data=None, total_record_count=None, type=None, valid_record_count=None): + if content_type and not isinstance(content_type, str): + raise TypeError("Expected argument 'content_type' to be a str") + pulumi.set(__self__, "content_type", content_type) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if error_file and not isinstance(error_file, dict): + raise TypeError("Expected argument 'error_file' to be a dict") + pulumi.set(__self__, "error_file", error_file) + if errors_preview and not isinstance(errors_preview, list): + raise TypeError("Expected argument 'errors_preview' to be a list") + pulumi.set(__self__, "errors_preview", errors_preview) + if files_valid_until_time_utc and not isinstance(files_valid_until_time_utc, str): + raise TypeError("Expected argument 'files_valid_until_time_utc' to be a str") + pulumi.set(__self__, "files_valid_until_time_utc", files_valid_until_time_utc) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if import_file and not isinstance(import_file, dict): + raise TypeError("Expected argument 'import_file' to be a dict") + pulumi.set(__self__, "import_file", import_file) + if import_valid_until_time_utc and not isinstance(import_valid_until_time_utc, str): + raise TypeError("Expected argument 'import_valid_until_time_utc' to be a str") + pulumi.set(__self__, "import_valid_until_time_utc", import_valid_until_time_utc) + if ingested_record_count and not isinstance(ingested_record_count, int): + raise TypeError("Expected argument 'ingested_record_count' to be a int") + pulumi.set(__self__, "ingested_record_count", ingested_record_count) + if ingestion_mode and not isinstance(ingestion_mode, str): + raise TypeError("Expected argument 'ingestion_mode' to be a str") + pulumi.set(__self__, "ingestion_mode", ingestion_mode) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if source and not isinstance(source, str): + raise TypeError("Expected argument 'source' to be a str") + pulumi.set(__self__, "source", source) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if total_record_count and not isinstance(total_record_count, int): + raise TypeError("Expected argument 'total_record_count' to be a int") + pulumi.set(__self__, "total_record_count", total_record_count) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if valid_record_count and not isinstance(valid_record_count, int): + raise TypeError("Expected argument 'valid_record_count' to be a int") + pulumi.set(__self__, "valid_record_count", valid_record_count) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> str: + """ + The content type of this file. + """ + return pulumi.get(self, "content_type") + + @property + @pulumi.getter(name="createdTimeUTC") + def created_time_utc(self) -> str: + """ + The time the file was imported. + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter(name="errorFile") + def error_file(self) -> 'outputs.FileMetadataResponse': + """ + Represents the error file (if the import was ingested with errors or failed the validation). + """ + return pulumi.get(self, "error_file") + + @property + @pulumi.getter(name="errorsPreview") + def errors_preview(self) -> Sequence['outputs.ValidationErrorResponse']: + """ + An ordered list of some of the errors that were encountered during validation. + """ + return pulumi.get(self, "errors_preview") + + @property + @pulumi.getter(name="filesValidUntilTimeUTC") + def files_valid_until_time_utc(self) -> str: + """ + The time the files associated with this import are deleted from the storage account. + """ + return pulumi.get(self, "files_valid_until_time_utc") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="importFile") + def import_file(self) -> 'outputs.FileMetadataResponse': + """ + Represents the imported file. + """ + return pulumi.get(self, "import_file") + + @property + @pulumi.getter(name="importValidUntilTimeUTC") + def import_valid_until_time_utc(self) -> str: + """ + The time the file import record is soft deleted from the database and history. + """ + return pulumi.get(self, "import_valid_until_time_utc") + + @property + @pulumi.getter(name="ingestedRecordCount") + def ingested_record_count(self) -> int: + """ + The number of records that have been successfully ingested. + """ + return pulumi.get(self, "ingested_record_count") + + @property + @pulumi.getter(name="ingestionMode") + def ingestion_mode(self) -> str: + """ + Describes how to ingest the records in the file. + """ + return pulumi.get(self, "ingestion_mode") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def source(self) -> str: + """ + The source for the data in the file. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def state(self) -> str: + """ + The state of the file import. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="totalRecordCount") + def total_record_count(self) -> int: + """ + The number of records in the file. + """ + return pulumi.get(self, "total_record_count") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="validRecordCount") + def valid_record_count(self) -> int: + """ + The number of records that have passed validation. + """ + return pulumi.get(self, "valid_record_count") + + +class AwaitableGetFileImportResult(GetFileImportResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFileImportResult( + content_type=self.content_type, + created_time_utc=self.created_time_utc, + error_file=self.error_file, + errors_preview=self.errors_preview, + files_valid_until_time_utc=self.files_valid_until_time_utc, + id=self.id, + import_file=self.import_file, + import_valid_until_time_utc=self.import_valid_until_time_utc, + ingested_record_count=self.ingested_record_count, + ingestion_mode=self.ingestion_mode, + name=self.name, + source=self.source, + state=self.state, + system_data=self.system_data, + total_record_count=self.total_record_count, + type=self.type, + valid_record_count=self.valid_record_count) + + +def get_file_import(file_import_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileImportResult: + """ + Gets a file import. + + + :param str file_import_id: File import ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['fileImportId'] = file_import_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getFileImport', __args__, opts=opts, typ=GetFileImportResult).value + + return AwaitableGetFileImportResult( + content_type=pulumi.get(__ret__, 'content_type'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + error_file=pulumi.get(__ret__, 'error_file'), + errors_preview=pulumi.get(__ret__, 'errors_preview'), + files_valid_until_time_utc=pulumi.get(__ret__, 'files_valid_until_time_utc'), + id=pulumi.get(__ret__, 'id'), + import_file=pulumi.get(__ret__, 'import_file'), + import_valid_until_time_utc=pulumi.get(__ret__, 'import_valid_until_time_utc'), + ingested_record_count=pulumi.get(__ret__, 'ingested_record_count'), + ingestion_mode=pulumi.get(__ret__, 'ingestion_mode'), + name=pulumi.get(__ret__, 'name'), + source=pulumi.get(__ret__, 'source'), + state=pulumi.get(__ret__, 'state'), + system_data=pulumi.get(__ret__, 'system_data'), + total_record_count=pulumi.get(__ret__, 'total_record_count'), + type=pulumi.get(__ret__, 'type'), + valid_record_count=pulumi.get(__ret__, 'valid_record_count')) + + +@_utilities.lift_output_func(get_file_import) +def get_file_import_output(file_import_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFileImportResult]: + """ + Gets a file import. + + + :param str file_import_id: File import ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_fusion_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_fusion_alert_rule.py new file mode 100644 index 000000000000..747e20a910aa --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_fusion_alert_rule.py @@ -0,0 +1,280 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetFusionAlertRuleResult', + 'AwaitableGetFusionAlertRuleResult', + 'get_fusion_alert_rule', + 'get_fusion_alert_rule_output', +] + +@pulumi.output_type +class GetFusionAlertRuleResult: + """ + Represents Fusion alert rule. + """ + def __init__(__self__, alert_rule_template_name=None, description=None, display_name=None, enabled=None, etag=None, id=None, kind=None, last_modified_utc=None, name=None, scenario_exclusion_patterns=None, severity=None, source_settings=None, system_data=None, tactics=None, techniques=None, type=None): + if alert_rule_template_name and not isinstance(alert_rule_template_name, str): + raise TypeError("Expected argument 'alert_rule_template_name' to be a str") + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if scenario_exclusion_patterns and not isinstance(scenario_exclusion_patterns, list): + raise TypeError("Expected argument 'scenario_exclusion_patterns' to be a list") + pulumi.set(__self__, "scenario_exclusion_patterns", scenario_exclusion_patterns) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + if source_settings and not isinstance(source_settings, list): + raise TypeError("Expected argument 'source_settings' to be a list") + pulumi.set(__self__, "source_settings", source_settings) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> str: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the alert rule + Expected value is 'Fusion'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this alert has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="scenarioExclusionPatterns") + def scenario_exclusion_patterns(self) -> Optional[Sequence['outputs.FusionScenarioExclusionPatternResponse']]: + """ + Configuration to exclude scenarios in fusion detection. + """ + return pulumi.get(self, "scenario_exclusion_patterns") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="sourceSettings") + def source_settings(self) -> Optional[Sequence['outputs.FusionSourceSettingsResponse']]: + """ + Configuration for all supported source signals in fusion detection. + """ + return pulumi.get(self, "source_settings") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Sequence[str]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Sequence[str]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetFusionAlertRuleResult(GetFusionAlertRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetFusionAlertRuleResult( + alert_rule_template_name=self.alert_rule_template_name, + description=self.description, + display_name=self.display_name, + enabled=self.enabled, + etag=self.etag, + id=self.id, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + scenario_exclusion_patterns=self.scenario_exclusion_patterns, + severity=self.severity, + source_settings=self.source_settings, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + type=self.type) + + +def get_fusion_alert_rule(resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFusionAlertRuleResult: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getFusionAlertRule', __args__, opts=opts, typ=GetFusionAlertRuleResult).value + + return AwaitableGetFusionAlertRuleResult( + alert_rule_template_name=pulumi.get(__ret__, 'alert_rule_template_name'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + enabled=pulumi.get(__ret__, 'enabled'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + scenario_exclusion_patterns=pulumi.get(__ret__, 'scenario_exclusion_patterns'), + severity=pulumi.get(__ret__, 'severity'), + source_settings=pulumi.get(__ret__, 'source_settings'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_fusion_alert_rule) +def get_fusion_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFusionAlertRuleResult]: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_gcp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_gcp_data_connector.py new file mode 100644 index 000000000000..a4a5ad81807a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_gcp_data_connector.py @@ -0,0 +1,202 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGCPDataConnectorResult', + 'AwaitableGetGCPDataConnectorResult', + 'get_gcp_data_connector', + 'get_gcp_data_connector_output', +] + +@pulumi.output_type +class GetGCPDataConnectorResult: + """ + Represents Google Cloud Platform data connector. + """ + def __init__(__self__, auth=None, connector_definition_name=None, dcr_config=None, etag=None, id=None, kind=None, name=None, request=None, system_data=None, type=None): + if auth and not isinstance(auth, dict): + raise TypeError("Expected argument 'auth' to be a dict") + pulumi.set(__self__, "auth", auth) + if connector_definition_name and not isinstance(connector_definition_name, str): + raise TypeError("Expected argument 'connector_definition_name' to be a str") + pulumi.set(__self__, "connector_definition_name", connector_definition_name) + if dcr_config and not isinstance(dcr_config, dict): + raise TypeError("Expected argument 'dcr_config' to be a dict") + pulumi.set(__self__, "dcr_config", dcr_config) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if request and not isinstance(request, dict): + raise TypeError("Expected argument 'request' to be a dict") + pulumi.set(__self__, "request", request) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def auth(self) -> 'outputs.GCPAuthPropertiesResponse': + """ + The auth section of the connector. + """ + return pulumi.get(self, "auth") + + @property + @pulumi.getter(name="connectorDefinitionName") + def connector_definition_name(self) -> str: + """ + The name of the connector definition that represents the UI config. + """ + return pulumi.get(self, "connector_definition_name") + + @property + @pulumi.getter(name="dcrConfig") + def dcr_config(self) -> Optional['outputs.DCRConfigurationResponse']: + """ + The configuration of the destination of the data. + """ + return pulumi.get(self, "dcr_config") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'GCP'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def request(self) -> 'outputs.GCPRequestPropertiesResponse': + """ + The request section of the connector. + """ + return pulumi.get(self, "request") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetGCPDataConnectorResult(GetGCPDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGCPDataConnectorResult( + auth=self.auth, + connector_definition_name=self.connector_definition_name, + dcr_config=self.dcr_config, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + request=self.request, + system_data=self.system_data, + type=self.type) + + +def get_gcp_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGCPDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getGCPDataConnector', __args__, opts=opts, typ=GetGCPDataConnectorResult).value + + return AwaitableGetGCPDataConnectorResult( + auth=pulumi.get(__ret__, 'auth'), + connector_definition_name=pulumi.get(__ret__, 'connector_definition_name'), + dcr_config=pulumi.get(__ret__, 'dcr_config'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + request=pulumi.get(__ret__, 'request'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_gcp_data_connector) +def get_gcp_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGCPDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt.py new file mode 100644 index 000000000000..140482d0b12f --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt.py @@ -0,0 +1,240 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetHuntResult', + 'AwaitableGetHuntResult', + 'get_hunt', + 'get_hunt_output', +] + +@pulumi.output_type +class GetHuntResult: + """ + Represents a Hunt in Azure Security Insights. + """ + def __init__(__self__, attack_tactics=None, attack_techniques=None, description=None, display_name=None, etag=None, hypothesis_status=None, id=None, labels=None, name=None, owner=None, status=None, system_data=None, type=None): + if attack_tactics and not isinstance(attack_tactics, list): + raise TypeError("Expected argument 'attack_tactics' to be a list") + pulumi.set(__self__, "attack_tactics", attack_tactics) + if attack_techniques and not isinstance(attack_techniques, list): + raise TypeError("Expected argument 'attack_techniques' to be a list") + pulumi.set(__self__, "attack_techniques", attack_techniques) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if hypothesis_status and not isinstance(hypothesis_status, str): + raise TypeError("Expected argument 'hypothesis_status' to be a str") + pulumi.set(__self__, "hypothesis_status", hypothesis_status) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if labels and not isinstance(labels, list): + raise TypeError("Expected argument 'labels' to be a list") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if owner and not isinstance(owner, dict): + raise TypeError("Expected argument 'owner' to be a dict") + pulumi.set(__self__, "owner", owner) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="attackTactics") + def attack_tactics(self) -> Optional[Sequence[str]]: + """ + A list of mitre attack tactics the hunt is associated with + """ + return pulumi.get(self, "attack_tactics") + + @property + @pulumi.getter(name="attackTechniques") + def attack_techniques(self) -> Optional[Sequence[str]]: + """ + A list of a mitre attack techniques the hunt is associated with + """ + return pulumi.get(self, "attack_techniques") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the hunt + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the hunt + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="hypothesisStatus") + def hypothesis_status(self) -> Optional[str]: + """ + The hypothesis status of the hunt. + """ + return pulumi.get(self, "hypothesis_status") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence[str]]: + """ + List of labels relevant to this hunt + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> Optional['outputs.HuntOwnerResponse']: + """ + Describes a user that the hunt is assigned to + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The status of the hunt. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetHuntResult(GetHuntResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetHuntResult( + attack_tactics=self.attack_tactics, + attack_techniques=self.attack_techniques, + description=self.description, + display_name=self.display_name, + etag=self.etag, + hypothesis_status=self.hypothesis_status, + id=self.id, + labels=self.labels, + name=self.name, + owner=self.owner, + status=self.status, + system_data=self.system_data, + type=self.type) + + +def get_hunt(hunt_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHuntResult: + """ + Gets a hunt, without relations and comments. + + + :param str hunt_id: The hunt id (GUID) + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['huntId'] = hunt_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getHunt', __args__, opts=opts, typ=GetHuntResult).value + + return AwaitableGetHuntResult( + attack_tactics=pulumi.get(__ret__, 'attack_tactics'), + attack_techniques=pulumi.get(__ret__, 'attack_techniques'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + etag=pulumi.get(__ret__, 'etag'), + hypothesis_status=pulumi.get(__ret__, 'hypothesis_status'), + id=pulumi.get(__ret__, 'id'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + owner=pulumi.get(__ret__, 'owner'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_hunt) +def get_hunt_output(hunt_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHuntResult]: + """ + Gets a hunt, without relations and comments. + + + :param str hunt_id: The hunt id (GUID) + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt_comment.py new file mode 100644 index 000000000000..0b971515b512 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt_comment.py @@ -0,0 +1,154 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetHuntCommentResult', + 'AwaitableGetHuntCommentResult', + 'get_hunt_comment', + 'get_hunt_comment_output', +] + +@pulumi.output_type +class GetHuntCommentResult: + """ + Represents a Hunt Comment in Azure Security Insights + """ + def __init__(__self__, etag=None, id=None, message=None, name=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if message and not isinstance(message, str): + raise TypeError("Expected argument 'message' to be a str") + pulumi.set(__self__, "message", message) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def message(self) -> str: + """ + The message for the comment + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetHuntCommentResult(GetHuntCommentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetHuntCommentResult( + etag=self.etag, + id=self.id, + message=self.message, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_hunt_comment(hunt_comment_id: Optional[str] = None, + hunt_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHuntCommentResult: + """ + Gets a hunt comment + + + :param str hunt_comment_id: The hunt comment id (GUID) + :param str hunt_id: The hunt id (GUID) + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['huntCommentId'] = hunt_comment_id + __args__['huntId'] = hunt_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getHuntComment', __args__, opts=opts, typ=GetHuntCommentResult).value + + return AwaitableGetHuntCommentResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + message=pulumi.get(__ret__, 'message'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_hunt_comment) +def get_hunt_comment_output(hunt_comment_id: Optional[pulumi.Input[str]] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHuntCommentResult]: + """ + Gets a hunt comment + + + :param str hunt_comment_id: The hunt comment id (GUID) + :param str hunt_id: The hunt id (GUID) + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt_relation.py new file mode 100644 index 000000000000..5ac20372de75 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_hunt_relation.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetHuntRelationResult', + 'AwaitableGetHuntRelationResult', + 'get_hunt_relation', + 'get_hunt_relation_output', +] + +@pulumi.output_type +class GetHuntRelationResult: + """ + Represents a Hunt Relation in Azure Security Insights. + """ + def __init__(__self__, etag=None, id=None, labels=None, name=None, related_resource_id=None, related_resource_kind=None, related_resource_name=None, relation_type=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if labels and not isinstance(labels, list): + raise TypeError("Expected argument 'labels' to be a list") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if related_resource_id and not isinstance(related_resource_id, str): + raise TypeError("Expected argument 'related_resource_id' to be a str") + pulumi.set(__self__, "related_resource_id", related_resource_id) + if related_resource_kind and not isinstance(related_resource_kind, str): + raise TypeError("Expected argument 'related_resource_kind' to be a str") + pulumi.set(__self__, "related_resource_kind", related_resource_kind) + if related_resource_name and not isinstance(related_resource_name, str): + raise TypeError("Expected argument 'related_resource_name' to be a str") + pulumi.set(__self__, "related_resource_name", related_resource_name) + if relation_type and not isinstance(relation_type, str): + raise TypeError("Expected argument 'relation_type' to be a str") + pulumi.set(__self__, "relation_type", relation_type) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence[str]]: + """ + List of labels relevant to this hunt + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> str: + """ + The id of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @property + @pulumi.getter(name="relatedResourceKind") + def related_resource_kind(self) -> str: + """ + The resource that the relation is related to + """ + return pulumi.get(self, "related_resource_kind") + + @property + @pulumi.getter(name="relatedResourceName") + def related_resource_name(self) -> str: + """ + The name of the related resource + """ + return pulumi.get(self, "related_resource_name") + + @property + @pulumi.getter(name="relationType") + def relation_type(self) -> str: + """ + The type of the hunt relation + """ + return pulumi.get(self, "relation_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetHuntRelationResult(GetHuntRelationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetHuntRelationResult( + etag=self.etag, + id=self.id, + labels=self.labels, + name=self.name, + related_resource_id=self.related_resource_id, + related_resource_kind=self.related_resource_kind, + related_resource_name=self.related_resource_name, + relation_type=self.relation_type, + system_data=self.system_data, + type=self.type) + + +def get_hunt_relation(hunt_id: Optional[str] = None, + hunt_relation_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHuntRelationResult: + """ + Gets a hunt relation + + + :param str hunt_id: The hunt id (GUID) + :param str hunt_relation_id: The hunt relation id (GUID) + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['huntId'] = hunt_id + __args__['huntRelationId'] = hunt_relation_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getHuntRelation', __args__, opts=opts, typ=GetHuntRelationResult).value + + return AwaitableGetHuntRelationResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + related_resource_id=pulumi.get(__ret__, 'related_resource_id'), + related_resource_kind=pulumi.get(__ret__, 'related_resource_kind'), + related_resource_name=pulumi.get(__ret__, 'related_resource_name'), + relation_type=pulumi.get(__ret__, 'relation_type'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_hunt_relation) +def get_hunt_relation_output(hunt_id: Optional[pulumi.Input[str]] = None, + hunt_relation_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHuntRelationResult]: + """ + Gets a hunt relation + + + :param str hunt_id: The hunt id (GUID) + :param str hunt_relation_id: The hunt relation id (GUID) + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident.py new file mode 100644 index 000000000000..0f2802ab92de --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident.py @@ -0,0 +1,393 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetIncidentResult', + 'AwaitableGetIncidentResult', + 'get_incident', + 'get_incident_output', +] + +@pulumi.output_type +class GetIncidentResult: + def __init__(__self__, additional_data=None, classification=None, classification_comment=None, classification_reason=None, created_time_utc=None, description=None, etag=None, first_activity_time_utc=None, id=None, incident_number=None, incident_url=None, labels=None, last_activity_time_utc=None, last_modified_time_utc=None, name=None, owner=None, provider_incident_id=None, provider_name=None, related_analytic_rule_ids=None, severity=None, status=None, system_data=None, team_information=None, title=None, type=None): + if additional_data and not isinstance(additional_data, dict): + raise TypeError("Expected argument 'additional_data' to be a dict") + pulumi.set(__self__, "additional_data", additional_data) + if classification and not isinstance(classification, str): + raise TypeError("Expected argument 'classification' to be a str") + pulumi.set(__self__, "classification", classification) + if classification_comment and not isinstance(classification_comment, str): + raise TypeError("Expected argument 'classification_comment' to be a str") + pulumi.set(__self__, "classification_comment", classification_comment) + if classification_reason and not isinstance(classification_reason, str): + raise TypeError("Expected argument 'classification_reason' to be a str") + pulumi.set(__self__, "classification_reason", classification_reason) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if first_activity_time_utc and not isinstance(first_activity_time_utc, str): + raise TypeError("Expected argument 'first_activity_time_utc' to be a str") + pulumi.set(__self__, "first_activity_time_utc", first_activity_time_utc) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if incident_number and not isinstance(incident_number, int): + raise TypeError("Expected argument 'incident_number' to be a int") + pulumi.set(__self__, "incident_number", incident_number) + if incident_url and not isinstance(incident_url, str): + raise TypeError("Expected argument 'incident_url' to be a str") + pulumi.set(__self__, "incident_url", incident_url) + if labels and not isinstance(labels, list): + raise TypeError("Expected argument 'labels' to be a list") + pulumi.set(__self__, "labels", labels) + if last_activity_time_utc and not isinstance(last_activity_time_utc, str): + raise TypeError("Expected argument 'last_activity_time_utc' to be a str") + pulumi.set(__self__, "last_activity_time_utc", last_activity_time_utc) + if last_modified_time_utc and not isinstance(last_modified_time_utc, str): + raise TypeError("Expected argument 'last_modified_time_utc' to be a str") + pulumi.set(__self__, "last_modified_time_utc", last_modified_time_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if owner and not isinstance(owner, dict): + raise TypeError("Expected argument 'owner' to be a dict") + pulumi.set(__self__, "owner", owner) + if provider_incident_id and not isinstance(provider_incident_id, str): + raise TypeError("Expected argument 'provider_incident_id' to be a str") + pulumi.set(__self__, "provider_incident_id", provider_incident_id) + if provider_name and not isinstance(provider_name, str): + raise TypeError("Expected argument 'provider_name' to be a str") + pulumi.set(__self__, "provider_name", provider_name) + if related_analytic_rule_ids and not isinstance(related_analytic_rule_ids, list): + raise TypeError("Expected argument 'related_analytic_rule_ids' to be a list") + pulumi.set(__self__, "related_analytic_rule_ids", related_analytic_rule_ids) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if team_information and not isinstance(team_information, dict): + raise TypeError("Expected argument 'team_information' to be a dict") + pulumi.set(__self__, "team_information", team_information) + if title and not isinstance(title, str): + raise TypeError("Expected argument 'title' to be a str") + pulumi.set(__self__, "title", title) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="additionalData") + def additional_data(self) -> 'outputs.IncidentAdditionalDataResponse': + """ + Additional data on the incident + """ + return pulumi.get(self, "additional_data") + + @property + @pulumi.getter + def classification(self) -> Optional[str]: + """ + The reason the incident was closed + """ + return pulumi.get(self, "classification") + + @property + @pulumi.getter(name="classificationComment") + def classification_comment(self) -> Optional[str]: + """ + Describes the reason the incident was closed + """ + return pulumi.get(self, "classification_comment") + + @property + @pulumi.getter(name="classificationReason") + def classification_reason(self) -> Optional[str]: + """ + The classification reason the incident was closed with + """ + return pulumi.get(self, "classification_reason") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> str: + """ + The time the incident was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the incident + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstActivityTimeUtc") + def first_activity_time_utc(self) -> Optional[str]: + """ + The time of the first activity in the incident + """ + return pulumi.get(self, "first_activity_time_utc") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="incidentNumber") + def incident_number(self) -> int: + """ + A sequential number + """ + return pulumi.get(self, "incident_number") + + @property + @pulumi.getter(name="incidentUrl") + def incident_url(self) -> str: + """ + The deep-link url to the incident in Azure portal + """ + return pulumi.get(self, "incident_url") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence['outputs.IncidentLabelResponse']]: + """ + List of labels relevant to this incident + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter(name="lastActivityTimeUtc") + def last_activity_time_utc(self) -> Optional[str]: + """ + The time of the last activity in the incident + """ + return pulumi.get(self, "last_activity_time_utc") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> str: + """ + The last time the incident was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> Optional['outputs.IncidentOwnerInfoResponse']: + """ + Describes a user that the incident is assigned to + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter(name="providerIncidentId") + def provider_incident_id(self) -> str: + """ + The incident ID assigned by the incident provider + """ + return pulumi.get(self, "provider_incident_id") + + @property + @pulumi.getter(name="providerName") + def provider_name(self) -> str: + """ + The name of the source provider that generated the incident + """ + return pulumi.get(self, "provider_name") + + @property + @pulumi.getter(name="relatedAnalyticRuleIds") + def related_analytic_rule_ids(self) -> Sequence[str]: + """ + List of resource ids of Analytic rules related to the incident + """ + return pulumi.get(self, "related_analytic_rule_ids") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the incident + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="teamInformation") + def team_information(self) -> Optional['outputs.TeamInformationResponse']: + """ + Describes a team for the incident + """ + return pulumi.get(self, "team_information") + + @property + @pulumi.getter + def title(self) -> str: + """ + The title of the incident + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetIncidentResult(GetIncidentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIncidentResult( + additional_data=self.additional_data, + classification=self.classification, + classification_comment=self.classification_comment, + classification_reason=self.classification_reason, + created_time_utc=self.created_time_utc, + description=self.description, + etag=self.etag, + first_activity_time_utc=self.first_activity_time_utc, + id=self.id, + incident_number=self.incident_number, + incident_url=self.incident_url, + labels=self.labels, + last_activity_time_utc=self.last_activity_time_utc, + last_modified_time_utc=self.last_modified_time_utc, + name=self.name, + owner=self.owner, + provider_incident_id=self.provider_incident_id, + provider_name=self.provider_name, + related_analytic_rule_ids=self.related_analytic_rule_ids, + severity=self.severity, + status=self.status, + system_data=self.system_data, + team_information=self.team_information, + title=self.title, + type=self.type) + + +def get_incident(incident_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIncidentResult: + """ + Gets an incident. + + + :param str incident_id: Incident ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['incidentId'] = incident_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getIncident', __args__, opts=opts, typ=GetIncidentResult).value + + return AwaitableGetIncidentResult( + additional_data=pulumi.get(__ret__, 'additional_data'), + classification=pulumi.get(__ret__, 'classification'), + classification_comment=pulumi.get(__ret__, 'classification_comment'), + classification_reason=pulumi.get(__ret__, 'classification_reason'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + description=pulumi.get(__ret__, 'description'), + etag=pulumi.get(__ret__, 'etag'), + first_activity_time_utc=pulumi.get(__ret__, 'first_activity_time_utc'), + id=pulumi.get(__ret__, 'id'), + incident_number=pulumi.get(__ret__, 'incident_number'), + incident_url=pulumi.get(__ret__, 'incident_url'), + labels=pulumi.get(__ret__, 'labels'), + last_activity_time_utc=pulumi.get(__ret__, 'last_activity_time_utc'), + last_modified_time_utc=pulumi.get(__ret__, 'last_modified_time_utc'), + name=pulumi.get(__ret__, 'name'), + owner=pulumi.get(__ret__, 'owner'), + provider_incident_id=pulumi.get(__ret__, 'provider_incident_id'), + provider_name=pulumi.get(__ret__, 'provider_name'), + related_analytic_rule_ids=pulumi.get(__ret__, 'related_analytic_rule_ids'), + severity=pulumi.get(__ret__, 'severity'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + team_information=pulumi.get(__ret__, 'team_information'), + title=pulumi.get(__ret__, 'title'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_incident) +def get_incident_output(incident_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIncidentResult]: + """ + Gets an incident. + + + :param str incident_id: Incident ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_comment.py new file mode 100644 index 000000000000..6550496ea039 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_comment.py @@ -0,0 +1,193 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetIncidentCommentResult', + 'AwaitableGetIncidentCommentResult', + 'get_incident_comment', + 'get_incident_comment_output', +] + +@pulumi.output_type +class GetIncidentCommentResult: + """ + Represents an incident comment + """ + def __init__(__self__, author=None, created_time_utc=None, etag=None, id=None, last_modified_time_utc=None, message=None, name=None, system_data=None, type=None): + if author and not isinstance(author, dict): + raise TypeError("Expected argument 'author' to be a dict") + pulumi.set(__self__, "author", author) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_modified_time_utc and not isinstance(last_modified_time_utc, str): + raise TypeError("Expected argument 'last_modified_time_utc' to be a str") + pulumi.set(__self__, "last_modified_time_utc", last_modified_time_utc) + if message and not isinstance(message, str): + raise TypeError("Expected argument 'message' to be a str") + pulumi.set(__self__, "message", message) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def author(self) -> 'outputs.ClientInfoResponse': + """ + Describes the client that created the comment + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> str: + """ + The time the comment was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> str: + """ + The time the comment was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def message(self) -> str: + """ + The comment message + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetIncidentCommentResult(GetIncidentCommentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIncidentCommentResult( + author=self.author, + created_time_utc=self.created_time_utc, + etag=self.etag, + id=self.id, + last_modified_time_utc=self.last_modified_time_utc, + message=self.message, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_incident_comment(incident_comment_id: Optional[str] = None, + incident_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIncidentCommentResult: + """ + Gets an incident comment. + + + :param str incident_comment_id: Incident comment ID + :param str incident_id: Incident ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['incidentCommentId'] = incident_comment_id + __args__['incidentId'] = incident_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getIncidentComment', __args__, opts=opts, typ=GetIncidentCommentResult).value + + return AwaitableGetIncidentCommentResult( + author=pulumi.get(__ret__, 'author'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + last_modified_time_utc=pulumi.get(__ret__, 'last_modified_time_utc'), + message=pulumi.get(__ret__, 'message'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_incident_comment) +def get_incident_comment_output(incident_comment_id: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIncidentCommentResult]: + """ + Gets an incident comment. + + + :param str incident_comment_id: Incident comment ID + :param str incident_id: Incident ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_relation.py new file mode 100644 index 000000000000..e1fab119b76a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_relation.py @@ -0,0 +1,193 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetIncidentRelationResult', + 'AwaitableGetIncidentRelationResult', + 'get_incident_relation', + 'get_incident_relation_output', +] + +@pulumi.output_type +class GetIncidentRelationResult: + """ + Represents a relation between two resources + """ + def __init__(__self__, etag=None, id=None, name=None, related_resource_id=None, related_resource_kind=None, related_resource_name=None, related_resource_type=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if related_resource_id and not isinstance(related_resource_id, str): + raise TypeError("Expected argument 'related_resource_id' to be a str") + pulumi.set(__self__, "related_resource_id", related_resource_id) + if related_resource_kind and not isinstance(related_resource_kind, str): + raise TypeError("Expected argument 'related_resource_kind' to be a str") + pulumi.set(__self__, "related_resource_kind", related_resource_kind) + if related_resource_name and not isinstance(related_resource_name, str): + raise TypeError("Expected argument 'related_resource_name' to be a str") + pulumi.set(__self__, "related_resource_name", related_resource_name) + if related_resource_type and not isinstance(related_resource_type, str): + raise TypeError("Expected argument 'related_resource_type' to be a str") + pulumi.set(__self__, "related_resource_type", related_resource_type) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> str: + """ + The resource ID of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @property + @pulumi.getter(name="relatedResourceKind") + def related_resource_kind(self) -> str: + """ + The resource kind of the related resource + """ + return pulumi.get(self, "related_resource_kind") + + @property + @pulumi.getter(name="relatedResourceName") + def related_resource_name(self) -> str: + """ + The name of the related resource + """ + return pulumi.get(self, "related_resource_name") + + @property + @pulumi.getter(name="relatedResourceType") + def related_resource_type(self) -> str: + """ + The resource type of the related resource + """ + return pulumi.get(self, "related_resource_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetIncidentRelationResult(GetIncidentRelationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIncidentRelationResult( + etag=self.etag, + id=self.id, + name=self.name, + related_resource_id=self.related_resource_id, + related_resource_kind=self.related_resource_kind, + related_resource_name=self.related_resource_name, + related_resource_type=self.related_resource_type, + system_data=self.system_data, + type=self.type) + + +def get_incident_relation(incident_id: Optional[str] = None, + relation_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIncidentRelationResult: + """ + Gets an incident relation. + + + :param str incident_id: Incident ID + :param str relation_name: Relation Name + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['incidentId'] = incident_id + __args__['relationName'] = relation_name + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getIncidentRelation', __args__, opts=opts, typ=GetIncidentRelationResult).value + + return AwaitableGetIncidentRelationResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + related_resource_id=pulumi.get(__ret__, 'related_resource_id'), + related_resource_kind=pulumi.get(__ret__, 'related_resource_kind'), + related_resource_name=pulumi.get(__ret__, 'related_resource_name'), + related_resource_type=pulumi.get(__ret__, 'related_resource_type'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_incident_relation) +def get_incident_relation_output(incident_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIncidentRelationResult]: + """ + Gets an incident relation. + + + :param str incident_id: Incident ID + :param str relation_name: Relation Name + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_task.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_task.py new file mode 100644 index 000000000000..16aa28735e96 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_incident_task.py @@ -0,0 +1,226 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetIncidentTaskResult', + 'AwaitableGetIncidentTaskResult', + 'get_incident_task', + 'get_incident_task_output', +] + +@pulumi.output_type +class GetIncidentTaskResult: + def __init__(__self__, created_by=None, created_time_utc=None, description=None, etag=None, id=None, last_modified_by=None, last_modified_time_utc=None, name=None, status=None, system_data=None, title=None, type=None): + if created_by and not isinstance(created_by, dict): + raise TypeError("Expected argument 'created_by' to be a dict") + pulumi.set(__self__, "created_by", created_by) + if created_time_utc and not isinstance(created_time_utc, str): + raise TypeError("Expected argument 'created_time_utc' to be a str") + pulumi.set(__self__, "created_time_utc", created_time_utc) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_modified_by and not isinstance(last_modified_by, dict): + raise TypeError("Expected argument 'last_modified_by' to be a dict") + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_time_utc and not isinstance(last_modified_time_utc, str): + raise TypeError("Expected argument 'last_modified_time_utc' to be a str") + pulumi.set(__self__, "last_modified_time_utc", last_modified_time_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if title and not isinstance(title, str): + raise TypeError("Expected argument 'title' to be a str") + pulumi.set(__self__, "title", title) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional['outputs.ClientInfoResponse']: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> str: + """ + The time the task was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the task + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional['outputs.ClientInfoResponse']: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> str: + """ + The last time the task was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> str: + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def title(self) -> str: + """ + The title of the task + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetIncidentTaskResult(GetIncidentTaskResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIncidentTaskResult( + created_by=self.created_by, + created_time_utc=self.created_time_utc, + description=self.description, + etag=self.etag, + id=self.id, + last_modified_by=self.last_modified_by, + last_modified_time_utc=self.last_modified_time_utc, + name=self.name, + status=self.status, + system_data=self.system_data, + title=self.title, + type=self.type) + + +def get_incident_task(incident_id: Optional[str] = None, + incident_task_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIncidentTaskResult: + """ + Gets an incident task. + + + :param str incident_id: Incident ID + :param str incident_task_id: Incident task ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['incidentId'] = incident_id + __args__['incidentTaskId'] = incident_task_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getIncidentTask', __args__, opts=opts, typ=GetIncidentTaskResult).value + + return AwaitableGetIncidentTaskResult( + created_by=pulumi.get(__ret__, 'created_by'), + created_time_utc=pulumi.get(__ret__, 'created_time_utc'), + description=pulumi.get(__ret__, 'description'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + last_modified_by=pulumi.get(__ret__, 'last_modified_by'), + last_modified_time_utc=pulumi.get(__ret__, 'last_modified_time_utc'), + name=pulumi.get(__ret__, 'name'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + title=pulumi.get(__ret__, 'title'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_incident_task) +def get_incident_task_output(incident_id: Optional[pulumi.Input[str]] = None, + incident_task_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIncidentTaskResult]: + """ + Gets an incident task. + + + :param str incident_id: Incident ID + :param str incident_task_id: Incident task ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_io_t_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_io_t_data_connector.py new file mode 100644 index 000000000000..0e248c2a4352 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_io_t_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetIoTDataConnectorResult', + 'AwaitableGetIoTDataConnectorResult', + 'get_io_t_data_connector', + 'get_io_t_data_connector_output', +] + +@pulumi.output_type +class GetIoTDataConnectorResult: + """ + Represents IoT data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, subscription_id=None, system_data=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if subscription_id and not isinstance(subscription_id, str): + raise TypeError("Expected argument 'subscription_id' to be a str") + pulumi.set(__self__, "subscription_id", subscription_id) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'IOT'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[str]: + """ + The subscription id to connect to, and get the data from. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetIoTDataConnectorResult(GetIoTDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIoTDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + subscription_id=self.subscription_id, + system_data=self.system_data, + type=self.type) + + +def get_io_t_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIoTDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getIoTDataConnector', __args__, opts=opts, typ=GetIoTDataConnectorResult).value + + return AwaitableGetIoTDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_io_t_data_connector) +def get_io_t_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIoTDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mcas_data_connector.py new file mode 100644 index 000000000000..01be10df8a17 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mcas_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMCASDataConnectorResult', + 'AwaitableGetMCASDataConnectorResult', + 'get_mcas_data_connector', + 'get_mcas_data_connector_output', +] + +@pulumi.output_type +class GetMCASDataConnectorResult: + """ + Represents MCAS (Microsoft Cloud App Security) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.MCASDataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'MicrosoftCloudAppSecurity'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMCASDataConnectorResult(GetMCASDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMCASDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_mcas_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMCASDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMCASDataConnector', __args__, opts=opts, typ=GetMCASDataConnectorResult).value + + return AwaitableGetMCASDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mcas_data_connector) +def get_mcas_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMCASDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mdatp_data_connector.py new file mode 100644 index 000000000000..f6e4029c772c --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mdatp_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMDATPDataConnectorResult', + 'AwaitableGetMDATPDataConnectorResult', + 'get_mdatp_data_connector', + 'get_mdatp_data_connector_output', +] + +@pulumi.output_type +class GetMDATPDataConnectorResult: + """ + Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMDATPDataConnectorResult(GetMDATPDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMDATPDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_mdatp_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMDATPDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMDATPDataConnector', __args__, opts=opts, typ=GetMDATPDataConnectorResult).value + + return AwaitableGetMDATPDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mdatp_data_connector) +def get_mdatp_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMDATPDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_metadata.py new file mode 100644 index 000000000000..75dc3748807f --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_metadata.py @@ -0,0 +1,383 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMetadataResult', + 'AwaitableGetMetadataResult', + 'get_metadata', + 'get_metadata_output', +] + +@pulumi.output_type +class GetMetadataResult: + """ + Metadata resource definition. + """ + def __init__(__self__, author=None, categories=None, content_id=None, content_schema_version=None, custom_version=None, dependencies=None, etag=None, first_publish_date=None, icon=None, id=None, kind=None, last_publish_date=None, name=None, parent_id=None, preview_images=None, preview_images_dark=None, providers=None, source=None, support=None, system_data=None, threat_analysis_tactics=None, threat_analysis_techniques=None, type=None, version=None): + if author and not isinstance(author, dict): + raise TypeError("Expected argument 'author' to be a dict") + pulumi.set(__self__, "author", author) + if categories and not isinstance(categories, dict): + raise TypeError("Expected argument 'categories' to be a dict") + pulumi.set(__self__, "categories", categories) + if content_id and not isinstance(content_id, str): + raise TypeError("Expected argument 'content_id' to be a str") + pulumi.set(__self__, "content_id", content_id) + if content_schema_version and not isinstance(content_schema_version, str): + raise TypeError("Expected argument 'content_schema_version' to be a str") + pulumi.set(__self__, "content_schema_version", content_schema_version) + if custom_version and not isinstance(custom_version, str): + raise TypeError("Expected argument 'custom_version' to be a str") + pulumi.set(__self__, "custom_version", custom_version) + if dependencies and not isinstance(dependencies, dict): + raise TypeError("Expected argument 'dependencies' to be a dict") + pulumi.set(__self__, "dependencies", dependencies) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if first_publish_date and not isinstance(first_publish_date, str): + raise TypeError("Expected argument 'first_publish_date' to be a str") + pulumi.set(__self__, "first_publish_date", first_publish_date) + if icon and not isinstance(icon, str): + raise TypeError("Expected argument 'icon' to be a str") + pulumi.set(__self__, "icon", icon) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_publish_date and not isinstance(last_publish_date, str): + raise TypeError("Expected argument 'last_publish_date' to be a str") + pulumi.set(__self__, "last_publish_date", last_publish_date) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if parent_id and not isinstance(parent_id, str): + raise TypeError("Expected argument 'parent_id' to be a str") + pulumi.set(__self__, "parent_id", parent_id) + if preview_images and not isinstance(preview_images, list): + raise TypeError("Expected argument 'preview_images' to be a list") + pulumi.set(__self__, "preview_images", preview_images) + if preview_images_dark and not isinstance(preview_images_dark, list): + raise TypeError("Expected argument 'preview_images_dark' to be a list") + pulumi.set(__self__, "preview_images_dark", preview_images_dark) + if providers and not isinstance(providers, list): + raise TypeError("Expected argument 'providers' to be a list") + pulumi.set(__self__, "providers", providers) + if source and not isinstance(source, dict): + raise TypeError("Expected argument 'source' to be a dict") + pulumi.set(__self__, "source", source) + if support and not isinstance(support, dict): + raise TypeError("Expected argument 'support' to be a dict") + pulumi.set(__self__, "support", support) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if threat_analysis_tactics and not isinstance(threat_analysis_tactics, list): + raise TypeError("Expected argument 'threat_analysis_tactics' to be a list") + pulumi.set(__self__, "threat_analysis_tactics", threat_analysis_tactics) + if threat_analysis_techniques and not isinstance(threat_analysis_techniques, list): + raise TypeError("Expected argument 'threat_analysis_techniques' to be a list") + pulumi.set(__self__, "threat_analysis_techniques", threat_analysis_techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, str): + raise TypeError("Expected argument 'version' to be a str") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def author(self) -> Optional['outputs.MetadataAuthorResponse']: + """ + The creator of the content item. + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter + def categories(self) -> Optional['outputs.MetadataCategoriesResponse']: + """ + Categories for the solution content item + """ + return pulumi.get(self, "categories") + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> Optional[str]: + """ + Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> Optional[str]: + """ + Schema version of the content. Can be used to distinguish between different flow based on the schema version + """ + return pulumi.get(self, "content_schema_version") + + @property + @pulumi.getter(name="customVersion") + def custom_version(self) -> Optional[str]: + """ + The custom version of the content. A optional free text + """ + return pulumi.get(self, "custom_version") + + @property + @pulumi.getter + def dependencies(self) -> Optional['outputs.MetadataDependenciesResponse']: + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + """ + return pulumi.get(self, "dependencies") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> Optional[str]: + """ + first publish date solution content item + """ + return pulumi.get(self, "first_publish_date") + + @property + @pulumi.getter + def icon(self) -> Optional[str]: + """ + the icon identifier. this id can later be fetched from the solution template + """ + return pulumi.get(self, "icon") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of content the metadata is for. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> Optional[str]: + """ + last publish date for the solution content item + """ + return pulumi.get(self, "last_publish_date") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="parentId") + def parent_id(self) -> str: + """ + Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + """ + return pulumi.get(self, "parent_id") + + @property + @pulumi.getter(name="previewImages") + def preview_images(self) -> Optional[Sequence[str]]: + """ + preview image file names. These will be taken from the solution artifacts + """ + return pulumi.get(self, "preview_images") + + @property + @pulumi.getter(name="previewImagesDark") + def preview_images_dark(self) -> Optional[Sequence[str]]: + """ + preview image file names. These will be taken from the solution artifacts. used for dark theme support + """ + return pulumi.get(self, "preview_images_dark") + + @property + @pulumi.getter + def providers(self) -> Optional[Sequence[str]]: + """ + Providers for the solution content item + """ + return pulumi.get(self, "providers") + + @property + @pulumi.getter + def source(self) -> Optional['outputs.MetadataSourceResponse']: + """ + Source of the content. This is where/how it was created. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def support(self) -> Optional['outputs.MetadataSupportResponse']: + """ + Support information for the metadata - type, name, contact information + """ + return pulumi.get(self, "support") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> Optional[Sequence[str]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> Optional[Sequence[str]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> Optional[str]: + """ + Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "version") + + +class AwaitableGetMetadataResult(GetMetadataResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMetadataResult( + author=self.author, + categories=self.categories, + content_id=self.content_id, + content_schema_version=self.content_schema_version, + custom_version=self.custom_version, + dependencies=self.dependencies, + etag=self.etag, + first_publish_date=self.first_publish_date, + icon=self.icon, + id=self.id, + kind=self.kind, + last_publish_date=self.last_publish_date, + name=self.name, + parent_id=self.parent_id, + preview_images=self.preview_images, + preview_images_dark=self.preview_images_dark, + providers=self.providers, + source=self.source, + support=self.support, + system_data=self.system_data, + threat_analysis_tactics=self.threat_analysis_tactics, + threat_analysis_techniques=self.threat_analysis_techniques, + type=self.type, + version=self.version) + + +def get_metadata(metadata_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMetadataResult: + """ + Get a Metadata. + + + :param str metadata_name: The Metadata name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['metadataName'] = metadata_name + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMetadata', __args__, opts=opts, typ=GetMetadataResult).value + + return AwaitableGetMetadataResult( + author=pulumi.get(__ret__, 'author'), + categories=pulumi.get(__ret__, 'categories'), + content_id=pulumi.get(__ret__, 'content_id'), + content_schema_version=pulumi.get(__ret__, 'content_schema_version'), + custom_version=pulumi.get(__ret__, 'custom_version'), + dependencies=pulumi.get(__ret__, 'dependencies'), + etag=pulumi.get(__ret__, 'etag'), + first_publish_date=pulumi.get(__ret__, 'first_publish_date'), + icon=pulumi.get(__ret__, 'icon'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + last_publish_date=pulumi.get(__ret__, 'last_publish_date'), + name=pulumi.get(__ret__, 'name'), + parent_id=pulumi.get(__ret__, 'parent_id'), + preview_images=pulumi.get(__ret__, 'preview_images'), + preview_images_dark=pulumi.get(__ret__, 'preview_images_dark'), + providers=pulumi.get(__ret__, 'providers'), + source=pulumi.get(__ret__, 'source'), + support=pulumi.get(__ret__, 'support'), + system_data=pulumi.get(__ret__, 'system_data'), + threat_analysis_tactics=pulumi.get(__ret__, 'threat_analysis_tactics'), + threat_analysis_techniques=pulumi.get(__ret__, 'threat_analysis_techniques'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version')) + + +@_utilities.lift_output_func(get_metadata) +def get_metadata_output(metadata_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetadataResult]: + """ + Get a Metadata. + + + :param str metadata_name: The Metadata name. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_microsoft_purview_information_protection_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_microsoft_purview_information_protection_data_connector.py new file mode 100644 index 000000000000..1b3c0cd1ec99 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_microsoft_purview_information_protection_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMicrosoftPurviewInformationProtectionDataConnectorResult', + 'AwaitableGetMicrosoftPurviewInformationProtectionDataConnectorResult', + 'get_microsoft_purview_information_protection_data_connector', + 'get_microsoft_purview_information_protection_data_connector_output', +] + +@pulumi.output_type +class GetMicrosoftPurviewInformationProtectionDataConnectorResult: + """ + Represents Microsoft Purview Information Protection data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'MicrosoftPurviewInformationProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMicrosoftPurviewInformationProtectionDataConnectorResult(GetMicrosoftPurviewInformationProtectionDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMicrosoftPurviewInformationProtectionDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_microsoft_purview_information_protection_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMicrosoftPurviewInformationProtectionDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMicrosoftPurviewInformationProtectionDataConnector', __args__, opts=opts, typ=GetMicrosoftPurviewInformationProtectionDataConnectorResult).value + + return AwaitableGetMicrosoftPurviewInformationProtectionDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_microsoft_purview_information_protection_data_connector) +def get_microsoft_purview_information_protection_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMicrosoftPurviewInformationProtectionDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_microsoft_security_incident_creation_alert_rule.py new file mode 100644 index 000000000000..3e087282e7f1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_microsoft_security_incident_creation_alert_rule.py @@ -0,0 +1,267 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMicrosoftSecurityIncidentCreationAlertRuleResult', + 'AwaitableGetMicrosoftSecurityIncidentCreationAlertRuleResult', + 'get_microsoft_security_incident_creation_alert_rule', + 'get_microsoft_security_incident_creation_alert_rule_output', +] + +@pulumi.output_type +class GetMicrosoftSecurityIncidentCreationAlertRuleResult: + """ + Represents MicrosoftSecurityIncidentCreation rule. + """ + def __init__(__self__, alert_rule_template_name=None, description=None, display_name=None, display_names_exclude_filter=None, display_names_filter=None, enabled=None, etag=None, id=None, kind=None, last_modified_utc=None, name=None, product_filter=None, severities_filter=None, system_data=None, type=None): + if alert_rule_template_name and not isinstance(alert_rule_template_name, str): + raise TypeError("Expected argument 'alert_rule_template_name' to be a str") + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if display_names_exclude_filter and not isinstance(display_names_exclude_filter, list): + raise TypeError("Expected argument 'display_names_exclude_filter' to be a list") + pulumi.set(__self__, "display_names_exclude_filter", display_names_exclude_filter) + if display_names_filter and not isinstance(display_names_filter, list): + raise TypeError("Expected argument 'display_names_filter' to be a list") + pulumi.set(__self__, "display_names_filter", display_names_filter) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if product_filter and not isinstance(product_filter, str): + raise TypeError("Expected argument 'product_filter' to be a str") + pulumi.set(__self__, "product_filter", product_filter) + if severities_filter and not isinstance(severities_filter, list): + raise TypeError("Expected argument 'severities_filter' to be a list") + pulumi.set(__self__, "severities_filter", severities_filter) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> Optional[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="displayNamesExcludeFilter") + def display_names_exclude_filter(self) -> Optional[Sequence[str]]: + """ + the alerts' displayNames on which the cases will not be generated + """ + return pulumi.get(self, "display_names_exclude_filter") + + @property + @pulumi.getter(name="displayNamesFilter") + def display_names_filter(self) -> Optional[Sequence[str]]: + """ + the alerts' displayNames on which the cases will be generated + """ + return pulumi.get(self, "display_names_filter") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the alert rule + Expected value is 'MicrosoftSecurityIncidentCreation'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this alert has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="productFilter") + def product_filter(self) -> str: + """ + The alerts' productName on which the cases will be generated + """ + return pulumi.get(self, "product_filter") + + @property + @pulumi.getter(name="severitiesFilter") + def severities_filter(self) -> Optional[Sequence[str]]: + """ + the alerts' severities on which the cases will be generated + """ + return pulumi.get(self, "severities_filter") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMicrosoftSecurityIncidentCreationAlertRuleResult(GetMicrosoftSecurityIncidentCreationAlertRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMicrosoftSecurityIncidentCreationAlertRuleResult( + alert_rule_template_name=self.alert_rule_template_name, + description=self.description, + display_name=self.display_name, + display_names_exclude_filter=self.display_names_exclude_filter, + display_names_filter=self.display_names_filter, + enabled=self.enabled, + etag=self.etag, + id=self.id, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + product_filter=self.product_filter, + severities_filter=self.severities_filter, + system_data=self.system_data, + type=self.type) + + +def get_microsoft_security_incident_creation_alert_rule(resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMicrosoftSecurityIncidentCreationAlertRuleResult: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMicrosoftSecurityIncidentCreationAlertRule', __args__, opts=opts, typ=GetMicrosoftSecurityIncidentCreationAlertRuleResult).value + + return AwaitableGetMicrosoftSecurityIncidentCreationAlertRuleResult( + alert_rule_template_name=pulumi.get(__ret__, 'alert_rule_template_name'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + display_names_exclude_filter=pulumi.get(__ret__, 'display_names_exclude_filter'), + display_names_filter=pulumi.get(__ret__, 'display_names_filter'), + enabled=pulumi.get(__ret__, 'enabled'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + product_filter=pulumi.get(__ret__, 'product_filter'), + severities_filter=pulumi.get(__ret__, 'severities_filter'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_microsoft_security_incident_creation_alert_rule) +def get_microsoft_security_incident_creation_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMicrosoftSecurityIncidentCreationAlertRuleResult]: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ml_behavior_analytics_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ml_behavior_analytics_alert_rule.py new file mode 100644 index 000000000000..85f4e0e3593f --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ml_behavior_analytics_alert_rule.py @@ -0,0 +1,254 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMLBehaviorAnalyticsAlertRuleResult', + 'AwaitableGetMLBehaviorAnalyticsAlertRuleResult', + 'get_ml_behavior_analytics_alert_rule', + 'get_ml_behavior_analytics_alert_rule_output', +] + +@pulumi.output_type +class GetMLBehaviorAnalyticsAlertRuleResult: + """ + Represents MLBehaviorAnalytics alert rule. + """ + def __init__(__self__, alert_rule_template_name=None, description=None, display_name=None, enabled=None, etag=None, id=None, kind=None, last_modified_utc=None, name=None, severity=None, system_data=None, tactics=None, techniques=None, type=None): + if alert_rule_template_name and not isinstance(alert_rule_template_name, str): + raise TypeError("Expected argument 'alert_rule_template_name' to be a str") + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> str: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the alert rule + Expected value is 'MLBehaviorAnalytics'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this alert rule has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Sequence[str]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Sequence[str]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMLBehaviorAnalyticsAlertRuleResult(GetMLBehaviorAnalyticsAlertRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMLBehaviorAnalyticsAlertRuleResult( + alert_rule_template_name=self.alert_rule_template_name, + description=self.description, + display_name=self.display_name, + enabled=self.enabled, + etag=self.etag, + id=self.id, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + severity=self.severity, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + type=self.type) + + +def get_ml_behavior_analytics_alert_rule(resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMLBehaviorAnalyticsAlertRuleResult: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMLBehaviorAnalyticsAlertRule', __args__, opts=opts, typ=GetMLBehaviorAnalyticsAlertRuleResult).value + + return AwaitableGetMLBehaviorAnalyticsAlertRuleResult( + alert_rule_template_name=pulumi.get(__ret__, 'alert_rule_template_name'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + enabled=pulumi.get(__ret__, 'enabled'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + severity=pulumi.get(__ret__, 'severity'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_ml_behavior_analytics_alert_rule) +def get_ml_behavior_analytics_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMLBehaviorAnalyticsAlertRuleResult]: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_msti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_msti_data_connector.py new file mode 100644 index 000000000000..1476ba0293a1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_msti_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMSTIDataConnectorResult', + 'AwaitableGetMSTIDataConnectorResult', + 'get_msti_data_connector', + 'get_msti_data_connector_output', +] + +@pulumi.output_type +class GetMSTIDataConnectorResult: + """ + Represents Microsoft Threat Intelligence data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.MSTIDataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'MicrosoftThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMSTIDataConnectorResult(GetMSTIDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMSTIDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_msti_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMSTIDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMSTIDataConnector', __args__, opts=opts, typ=GetMSTIDataConnectorResult).value + + return AwaitableGetMSTIDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_msti_data_connector) +def get_msti_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMSTIDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mtp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mtp_data_connector.py new file mode 100644 index 000000000000..e41123072af6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_mtp_data_connector.py @@ -0,0 +1,189 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMTPDataConnectorResult', + 'AwaitableGetMTPDataConnectorResult', + 'get_mtp_data_connector', + 'get_mtp_data_connector_output', +] + +@pulumi.output_type +class GetMTPDataConnectorResult: + """ + Represents MTP (Microsoft Threat Protection) data connector. + """ + def __init__(__self__, data_types=None, etag=None, filtered_providers=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if filtered_providers and not isinstance(filtered_providers, dict): + raise TypeError("Expected argument 'filtered_providers' to be a dict") + pulumi.set(__self__, "filtered_providers", filtered_providers) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.MTPDataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="filteredProviders") + def filtered_providers(self) -> Optional['outputs.MtpFilteredProvidersResponse']: + """ + The available filtered providers for the connector. + """ + return pulumi.get(self, "filtered_providers") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'MicrosoftThreatProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetMTPDataConnectorResult(GetMTPDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMTPDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + filtered_providers=self.filtered_providers, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_mtp_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMTPDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getMTPDataConnector', __args__, opts=opts, typ=GetMTPDataConnectorResult).value + + return AwaitableGetMTPDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + filtered_providers=pulumi.get(__ret__, 'filtered_providers'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_mtp_data_connector) +def get_mtp_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMTPDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_nrt_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_nrt_alert_rule.py new file mode 100644 index 000000000000..b29af132a054 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_nrt_alert_rule.py @@ -0,0 +1,384 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetNrtAlertRuleResult', + 'AwaitableGetNrtAlertRuleResult', + 'get_nrt_alert_rule', + 'get_nrt_alert_rule_output', +] + +@pulumi.output_type +class GetNrtAlertRuleResult: + """ + Represents NRT alert rule. + """ + def __init__(__self__, alert_details_override=None, alert_rule_template_name=None, custom_details=None, description=None, display_name=None, enabled=None, entity_mappings=None, etag=None, event_grouping_settings=None, id=None, incident_configuration=None, kind=None, last_modified_utc=None, name=None, query=None, sentinel_entities_mappings=None, severity=None, suppression_duration=None, suppression_enabled=None, system_data=None, tactics=None, techniques=None, template_version=None, type=None): + if alert_details_override and not isinstance(alert_details_override, dict): + raise TypeError("Expected argument 'alert_details_override' to be a dict") + pulumi.set(__self__, "alert_details_override", alert_details_override) + if alert_rule_template_name and not isinstance(alert_rule_template_name, str): + raise TypeError("Expected argument 'alert_rule_template_name' to be a str") + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if custom_details and not isinstance(custom_details, dict): + raise TypeError("Expected argument 'custom_details' to be a dict") + pulumi.set(__self__, "custom_details", custom_details) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if entity_mappings and not isinstance(entity_mappings, list): + raise TypeError("Expected argument 'entity_mappings' to be a list") + pulumi.set(__self__, "entity_mappings", entity_mappings) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if event_grouping_settings and not isinstance(event_grouping_settings, dict): + raise TypeError("Expected argument 'event_grouping_settings' to be a dict") + pulumi.set(__self__, "event_grouping_settings", event_grouping_settings) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if incident_configuration and not isinstance(incident_configuration, dict): + raise TypeError("Expected argument 'incident_configuration' to be a dict") + pulumi.set(__self__, "incident_configuration", incident_configuration) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if query and not isinstance(query, str): + raise TypeError("Expected argument 'query' to be a str") + pulumi.set(__self__, "query", query) + if sentinel_entities_mappings and not isinstance(sentinel_entities_mappings, list): + raise TypeError("Expected argument 'sentinel_entities_mappings' to be a list") + pulumi.set(__self__, "sentinel_entities_mappings", sentinel_entities_mappings) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + if suppression_duration and not isinstance(suppression_duration, str): + raise TypeError("Expected argument 'suppression_duration' to be a str") + pulumi.set(__self__, "suppression_duration", suppression_duration) + if suppression_enabled and not isinstance(suppression_enabled, bool): + raise TypeError("Expected argument 'suppression_enabled' to be a bool") + pulumi.set(__self__, "suppression_enabled", suppression_enabled) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if template_version and not isinstance(template_version, str): + raise TypeError("Expected argument 'template_version' to be a str") + pulumi.set(__self__, "template_version", template_version) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="alertDetailsOverride") + def alert_details_override(self) -> Optional['outputs.AlertDetailsOverrideResponse']: + """ + The alert details override settings + """ + return pulumi.get(self, "alert_details_override") + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> Optional[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter(name="customDetails") + def custom_details(self) -> Optional[Mapping[str, str]]: + """ + Dictionary of string key-value pairs of columns to be attached to the alert + """ + return pulumi.get(self, "custom_details") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> Optional[Sequence['outputs.EntityMappingResponse']]: + """ + Array of the entity mappings of the alert rule + """ + return pulumi.get(self, "entity_mappings") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="eventGroupingSettings") + def event_grouping_settings(self) -> Optional['outputs.EventGroupingSettingsResponse']: + """ + The event grouping settings. + """ + return pulumi.get(self, "event_grouping_settings") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="incidentConfiguration") + def incident_configuration(self) -> Optional['outputs.IncidentConfigurationResponse']: + """ + The settings of the incidents that created from alerts triggered by this analytics rule + """ + return pulumi.get(self, "incident_configuration") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the alert rule + Expected value is 'NRT'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this alert rule has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def query(self) -> str: + """ + The query that creates alerts for this rule. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter(name="sentinelEntitiesMappings") + def sentinel_entities_mappings(self) -> Optional[Sequence['outputs.SentinelEntityMappingResponse']]: + """ + Array of the sentinel entity mappings of the alert rule + """ + return pulumi.get(self, "sentinel_entities_mappings") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="suppressionDuration") + def suppression_duration(self) -> str: + """ + The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + """ + return pulumi.get(self, "suppression_duration") + + @property + @pulumi.getter(name="suppressionEnabled") + def suppression_enabled(self) -> bool: + """ + Determines whether the suppression for this alert rule is enabled or disabled. + """ + return pulumi.get(self, "suppression_enabled") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Optional[Sequence[str]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Optional[Sequence[str]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter(name="templateVersion") + def template_version(self) -> Optional[str]: + """ + The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + return pulumi.get(self, "template_version") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetNrtAlertRuleResult(GetNrtAlertRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNrtAlertRuleResult( + alert_details_override=self.alert_details_override, + alert_rule_template_name=self.alert_rule_template_name, + custom_details=self.custom_details, + description=self.description, + display_name=self.display_name, + enabled=self.enabled, + entity_mappings=self.entity_mappings, + etag=self.etag, + event_grouping_settings=self.event_grouping_settings, + id=self.id, + incident_configuration=self.incident_configuration, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + query=self.query, + sentinel_entities_mappings=self.sentinel_entities_mappings, + severity=self.severity, + suppression_duration=self.suppression_duration, + suppression_enabled=self.suppression_enabled, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + template_version=self.template_version, + type=self.type) + + +def get_nrt_alert_rule(resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNrtAlertRuleResult: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getNrtAlertRule', __args__, opts=opts, typ=GetNrtAlertRuleResult).value + + return AwaitableGetNrtAlertRuleResult( + alert_details_override=pulumi.get(__ret__, 'alert_details_override'), + alert_rule_template_name=pulumi.get(__ret__, 'alert_rule_template_name'), + custom_details=pulumi.get(__ret__, 'custom_details'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + enabled=pulumi.get(__ret__, 'enabled'), + entity_mappings=pulumi.get(__ret__, 'entity_mappings'), + etag=pulumi.get(__ret__, 'etag'), + event_grouping_settings=pulumi.get(__ret__, 'event_grouping_settings'), + id=pulumi.get(__ret__, 'id'), + incident_configuration=pulumi.get(__ret__, 'incident_configuration'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + query=pulumi.get(__ret__, 'query'), + sentinel_entities_mappings=pulumi.get(__ret__, 'sentinel_entities_mappings'), + severity=pulumi.get(__ret__, 'severity'), + suppression_duration=pulumi.get(__ret__, 'suppression_duration'), + suppression_enabled=pulumi.get(__ret__, 'suppression_enabled'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + template_version=pulumi.get(__ret__, 'template_version'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_nrt_alert_rule) +def get_nrt_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNrtAlertRuleResult]: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office365_project_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office365_project_data_connector.py new file mode 100644 index 000000000000..1b23cbcd67be --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office365_project_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOffice365ProjectDataConnectorResult', + 'AwaitableGetOffice365ProjectDataConnectorResult', + 'get_office365_project_data_connector', + 'get_office365_project_data_connector_output', +] + +@pulumi.output_type +class GetOffice365ProjectDataConnectorResult: + """ + Represents Office Microsoft Project data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.Office365ProjectConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'Office365Project'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetOffice365ProjectDataConnectorResult(GetOffice365ProjectDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOffice365ProjectDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_office365_project_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOffice365ProjectDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getOffice365ProjectDataConnector', __args__, opts=opts, typ=GetOffice365ProjectDataConnectorResult).value + + return AwaitableGetOffice365ProjectDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_office365_project_data_connector) +def get_office365_project_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOffice365ProjectDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_atp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_atp_data_connector.py new file mode 100644 index 000000000000..79dade78c85a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_atp_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOfficeATPDataConnectorResult', + 'AwaitableGetOfficeATPDataConnectorResult', + 'get_office_atp_data_connector', + 'get_office_atp_data_connector_output', +] + +@pulumi.output_type +class GetOfficeATPDataConnectorResult: + """ + Represents OfficeATP (Office 365 Advanced Threat Protection) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'OfficeATP'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetOfficeATPDataConnectorResult(GetOfficeATPDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOfficeATPDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_office_atp_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOfficeATPDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getOfficeATPDataConnector', __args__, opts=opts, typ=GetOfficeATPDataConnectorResult).value + + return AwaitableGetOfficeATPDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_office_atp_data_connector) +def get_office_atp_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOfficeATPDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_data_connector.py new file mode 100644 index 000000000000..e41edfc97332 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOfficeDataConnectorResult', + 'AwaitableGetOfficeDataConnectorResult', + 'get_office_data_connector', + 'get_office_data_connector_output', +] + +@pulumi.output_type +class GetOfficeDataConnectorResult: + """ + Represents office data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.OfficeDataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'Office365'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetOfficeDataConnectorResult(GetOfficeDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOfficeDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_office_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOfficeDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getOfficeDataConnector', __args__, opts=opts, typ=GetOfficeDataConnectorResult).value + + return AwaitableGetOfficeDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_office_data_connector) +def get_office_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOfficeDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_irm_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_irm_data_connector.py new file mode 100644 index 000000000000..edf1d1b4fcb6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_irm_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOfficeIRMDataConnectorResult', + 'AwaitableGetOfficeIRMDataConnectorResult', + 'get_office_irm_data_connector', + 'get_office_irm_data_connector_output', +] + +@pulumi.output_type +class GetOfficeIRMDataConnectorResult: + """ + Represents OfficeIRM (Microsoft Insider Risk Management) data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional['outputs.AlertsDataTypeOfDataConnectorResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'OfficeIRM'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetOfficeIRMDataConnectorResult(GetOfficeIRMDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOfficeIRMDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_office_irm_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOfficeIRMDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getOfficeIRMDataConnector', __args__, opts=opts, typ=GetOfficeIRMDataConnectorResult).value + + return AwaitableGetOfficeIRMDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_office_irm_data_connector) +def get_office_irm_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOfficeIRMDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_power_bi_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_power_bi_data_connector.py new file mode 100644 index 000000000000..8439abe4e15f --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_office_power_bi_data_connector.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetOfficePowerBIDataConnectorResult', + 'AwaitableGetOfficePowerBIDataConnectorResult', + 'get_office_power_bi_data_connector', + 'get_office_power_bi_data_connector_output', +] + +@pulumi.output_type +class GetOfficePowerBIDataConnectorResult: + """ + Represents Office Microsoft PowerBI data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.OfficePowerBIConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'OfficePowerBI'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetOfficePowerBIDataConnectorResult(GetOfficePowerBIDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOfficePowerBIDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type) + + +def get_office_power_bi_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOfficePowerBIDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getOfficePowerBIDataConnector', __args__, opts=opts, typ=GetOfficePowerBIDataConnectorResult).value + + return AwaitableGetOfficePowerBIDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_office_power_bi_data_connector) +def get_office_power_bi_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOfficePowerBIDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_scheduled_alert_rule.py new file mode 100644 index 000000000000..2955d30a2440 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_scheduled_alert_rule.py @@ -0,0 +1,436 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetScheduledAlertRuleResult', + 'AwaitableGetScheduledAlertRuleResult', + 'get_scheduled_alert_rule', + 'get_scheduled_alert_rule_output', +] + +@pulumi.output_type +class GetScheduledAlertRuleResult: + """ + Represents scheduled alert rule. + """ + def __init__(__self__, alert_details_override=None, alert_rule_template_name=None, custom_details=None, description=None, display_name=None, enabled=None, entity_mappings=None, etag=None, event_grouping_settings=None, id=None, incident_configuration=None, kind=None, last_modified_utc=None, name=None, query=None, query_frequency=None, query_period=None, sentinel_entities_mappings=None, severity=None, suppression_duration=None, suppression_enabled=None, system_data=None, tactics=None, techniques=None, template_version=None, trigger_operator=None, trigger_threshold=None, type=None): + if alert_details_override and not isinstance(alert_details_override, dict): + raise TypeError("Expected argument 'alert_details_override' to be a dict") + pulumi.set(__self__, "alert_details_override", alert_details_override) + if alert_rule_template_name and not isinstance(alert_rule_template_name, str): + raise TypeError("Expected argument 'alert_rule_template_name' to be a str") + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if custom_details and not isinstance(custom_details, dict): + raise TypeError("Expected argument 'custom_details' to be a dict") + pulumi.set(__self__, "custom_details", custom_details) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if entity_mappings and not isinstance(entity_mappings, list): + raise TypeError("Expected argument 'entity_mappings' to be a list") + pulumi.set(__self__, "entity_mappings", entity_mappings) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if event_grouping_settings and not isinstance(event_grouping_settings, dict): + raise TypeError("Expected argument 'event_grouping_settings' to be a dict") + pulumi.set(__self__, "event_grouping_settings", event_grouping_settings) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if incident_configuration and not isinstance(incident_configuration, dict): + raise TypeError("Expected argument 'incident_configuration' to be a dict") + pulumi.set(__self__, "incident_configuration", incident_configuration) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if query and not isinstance(query, str): + raise TypeError("Expected argument 'query' to be a str") + pulumi.set(__self__, "query", query) + if query_frequency and not isinstance(query_frequency, str): + raise TypeError("Expected argument 'query_frequency' to be a str") + pulumi.set(__self__, "query_frequency", query_frequency) + if query_period and not isinstance(query_period, str): + raise TypeError("Expected argument 'query_period' to be a str") + pulumi.set(__self__, "query_period", query_period) + if sentinel_entities_mappings and not isinstance(sentinel_entities_mappings, list): + raise TypeError("Expected argument 'sentinel_entities_mappings' to be a list") + pulumi.set(__self__, "sentinel_entities_mappings", sentinel_entities_mappings) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + if suppression_duration and not isinstance(suppression_duration, str): + raise TypeError("Expected argument 'suppression_duration' to be a str") + pulumi.set(__self__, "suppression_duration", suppression_duration) + if suppression_enabled and not isinstance(suppression_enabled, bool): + raise TypeError("Expected argument 'suppression_enabled' to be a bool") + pulumi.set(__self__, "suppression_enabled", suppression_enabled) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if template_version and not isinstance(template_version, str): + raise TypeError("Expected argument 'template_version' to be a str") + pulumi.set(__self__, "template_version", template_version) + if trigger_operator and not isinstance(trigger_operator, str): + raise TypeError("Expected argument 'trigger_operator' to be a str") + pulumi.set(__self__, "trigger_operator", trigger_operator) + if trigger_threshold and not isinstance(trigger_threshold, int): + raise TypeError("Expected argument 'trigger_threshold' to be a int") + pulumi.set(__self__, "trigger_threshold", trigger_threshold) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="alertDetailsOverride") + def alert_details_override(self) -> Optional['outputs.AlertDetailsOverrideResponse']: + """ + The alert details override settings + """ + return pulumi.get(self, "alert_details_override") + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> Optional[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter(name="customDetails") + def custom_details(self) -> Optional[Mapping[str, str]]: + """ + Dictionary of string key-value pairs of columns to be attached to the alert + """ + return pulumi.get(self, "custom_details") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> Optional[Sequence['outputs.EntityMappingResponse']]: + """ + Array of the entity mappings of the alert rule + """ + return pulumi.get(self, "entity_mappings") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="eventGroupingSettings") + def event_grouping_settings(self) -> Optional['outputs.EventGroupingSettingsResponse']: + """ + The event grouping settings. + """ + return pulumi.get(self, "event_grouping_settings") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="incidentConfiguration") + def incident_configuration(self) -> Optional['outputs.IncidentConfigurationResponse']: + """ + The settings of the incidents that created from alerts triggered by this analytics rule + """ + return pulumi.get(self, "incident_configuration") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the alert rule + Expected value is 'Scheduled'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this alert rule has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def query(self) -> str: + """ + The query that creates alerts for this rule. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter(name="queryFrequency") + def query_frequency(self) -> str: + """ + The frequency (in ISO 8601 duration format) for this alert rule to run. + """ + return pulumi.get(self, "query_frequency") + + @property + @pulumi.getter(name="queryPeriod") + def query_period(self) -> str: + """ + The period (in ISO 8601 duration format) that this alert rule looks at. + """ + return pulumi.get(self, "query_period") + + @property + @pulumi.getter(name="sentinelEntitiesMappings") + def sentinel_entities_mappings(self) -> Optional[Sequence['outputs.SentinelEntityMappingResponse']]: + """ + Array of the sentinel entity mappings of the alert rule + """ + return pulumi.get(self, "sentinel_entities_mappings") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="suppressionDuration") + def suppression_duration(self) -> str: + """ + The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + """ + return pulumi.get(self, "suppression_duration") + + @property + @pulumi.getter(name="suppressionEnabled") + def suppression_enabled(self) -> bool: + """ + Determines whether the suppression for this alert rule is enabled or disabled. + """ + return pulumi.get(self, "suppression_enabled") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Optional[Sequence[str]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Optional[Sequence[str]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter(name="templateVersion") + def template_version(self) -> Optional[str]: + """ + The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + return pulumi.get(self, "template_version") + + @property + @pulumi.getter(name="triggerOperator") + def trigger_operator(self) -> str: + """ + The operation against the threshold that triggers alert rule. + """ + return pulumi.get(self, "trigger_operator") + + @property + @pulumi.getter(name="triggerThreshold") + def trigger_threshold(self) -> int: + """ + The threshold triggers this alert rule. + """ + return pulumi.get(self, "trigger_threshold") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetScheduledAlertRuleResult(GetScheduledAlertRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScheduledAlertRuleResult( + alert_details_override=self.alert_details_override, + alert_rule_template_name=self.alert_rule_template_name, + custom_details=self.custom_details, + description=self.description, + display_name=self.display_name, + enabled=self.enabled, + entity_mappings=self.entity_mappings, + etag=self.etag, + event_grouping_settings=self.event_grouping_settings, + id=self.id, + incident_configuration=self.incident_configuration, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + query=self.query, + query_frequency=self.query_frequency, + query_period=self.query_period, + sentinel_entities_mappings=self.sentinel_entities_mappings, + severity=self.severity, + suppression_duration=self.suppression_duration, + suppression_enabled=self.suppression_enabled, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + template_version=self.template_version, + trigger_operator=self.trigger_operator, + trigger_threshold=self.trigger_threshold, + type=self.type) + + +def get_scheduled_alert_rule(resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledAlertRuleResult: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getScheduledAlertRule', __args__, opts=opts, typ=GetScheduledAlertRuleResult).value + + return AwaitableGetScheduledAlertRuleResult( + alert_details_override=pulumi.get(__ret__, 'alert_details_override'), + alert_rule_template_name=pulumi.get(__ret__, 'alert_rule_template_name'), + custom_details=pulumi.get(__ret__, 'custom_details'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + enabled=pulumi.get(__ret__, 'enabled'), + entity_mappings=pulumi.get(__ret__, 'entity_mappings'), + etag=pulumi.get(__ret__, 'etag'), + event_grouping_settings=pulumi.get(__ret__, 'event_grouping_settings'), + id=pulumi.get(__ret__, 'id'), + incident_configuration=pulumi.get(__ret__, 'incident_configuration'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + query=pulumi.get(__ret__, 'query'), + query_frequency=pulumi.get(__ret__, 'query_frequency'), + query_period=pulumi.get(__ret__, 'query_period'), + sentinel_entities_mappings=pulumi.get(__ret__, 'sentinel_entities_mappings'), + severity=pulumi.get(__ret__, 'severity'), + suppression_duration=pulumi.get(__ret__, 'suppression_duration'), + suppression_enabled=pulumi.get(__ret__, 'suppression_enabled'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + template_version=pulumi.get(__ret__, 'template_version'), + trigger_operator=pulumi.get(__ret__, 'trigger_operator'), + trigger_threshold=pulumi.get(__ret__, 'trigger_threshold'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_scheduled_alert_rule) +def get_scheduled_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledAlertRuleResult]: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_sentinel_onboarding_state.py new file mode 100644 index 000000000000..0fe5945fedbf --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_sentinel_onboarding_state.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSentinelOnboardingStateResult', + 'AwaitableGetSentinelOnboardingStateResult', + 'get_sentinel_onboarding_state', + 'get_sentinel_onboarding_state_output', +] + +@pulumi.output_type +class GetSentinelOnboardingStateResult: + """ + Sentinel onboarding state + """ + def __init__(__self__, customer_managed_key=None, etag=None, id=None, name=None, system_data=None, type=None): + if customer_managed_key and not isinstance(customer_managed_key, bool): + raise TypeError("Expected argument 'customer_managed_key' to be a bool") + pulumi.set(__self__, "customer_managed_key", customer_managed_key) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="customerManagedKey") + def customer_managed_key(self) -> Optional[bool]: + """ + Flag that indicates the status of the CMK setting + """ + return pulumi.get(self, "customer_managed_key") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetSentinelOnboardingStateResult(GetSentinelOnboardingStateResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSentinelOnboardingStateResult( + customer_managed_key=self.customer_managed_key, + etag=self.etag, + id=self.id, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_sentinel_onboarding_state(resource_group_name: Optional[str] = None, + sentinel_onboarding_state_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSentinelOnboardingStateResult: + """ + Get Sentinel onboarding state + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str sentinel_onboarding_state_name: The Sentinel onboarding state name. Supports - default + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['sentinelOnboardingStateName'] = sentinel_onboarding_state_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getSentinelOnboardingState', __args__, opts=opts, typ=GetSentinelOnboardingStateResult).value + + return AwaitableGetSentinelOnboardingStateResult( + customer_managed_key=pulumi.get(__ret__, 'customer_managed_key'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_sentinel_onboarding_state) +def get_sentinel_onboarding_state_output(resource_group_name: Optional[pulumi.Input[str]] = None, + sentinel_onboarding_state_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSentinelOnboardingStateResult]: + """ + Get Sentinel onboarding state + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str sentinel_onboarding_state_name: The Sentinel onboarding state name. Supports - default + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_threat_intelligence_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_threat_intelligence_alert_rule.py new file mode 100644 index 000000000000..8d78e69d6655 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_threat_intelligence_alert_rule.py @@ -0,0 +1,254 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetThreatIntelligenceAlertRuleResult', + 'AwaitableGetThreatIntelligenceAlertRuleResult', + 'get_threat_intelligence_alert_rule', + 'get_threat_intelligence_alert_rule_output', +] + +@pulumi.output_type +class GetThreatIntelligenceAlertRuleResult: + """ + Represents Threat Intelligence alert rule. + """ + def __init__(__self__, alert_rule_template_name=None, description=None, display_name=None, enabled=None, etag=None, id=None, kind=None, last_modified_utc=None, name=None, severity=None, system_data=None, tactics=None, techniques=None, type=None): + if alert_rule_template_name and not isinstance(alert_rule_template_name, str): + raise TypeError("Expected argument 'alert_rule_template_name' to be a str") + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if last_modified_utc and not isinstance(last_modified_utc, str): + raise TypeError("Expected argument 'last_modified_utc' to be a str") + pulumi.set(__self__, "last_modified_utc", last_modified_utc) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tactics and not isinstance(tactics, list): + raise TypeError("Expected argument 'tactics' to be a list") + pulumi.set(__self__, "tactics", tactics) + if techniques and not isinstance(techniques, list): + raise TypeError("Expected argument 'techniques' to be a list") + pulumi.set(__self__, "techniques", techniques) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> str: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the alert rule + Expected value is 'ThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> str: + """ + The last time that this alert has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> Sequence[str]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Sequence[str]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetThreatIntelligenceAlertRuleResult(GetThreatIntelligenceAlertRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetThreatIntelligenceAlertRuleResult( + alert_rule_template_name=self.alert_rule_template_name, + description=self.description, + display_name=self.display_name, + enabled=self.enabled, + etag=self.etag, + id=self.id, + kind=self.kind, + last_modified_utc=self.last_modified_utc, + name=self.name, + severity=self.severity, + system_data=self.system_data, + tactics=self.tactics, + techniques=self.techniques, + type=self.type) + + +def get_threat_intelligence_alert_rule(resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetThreatIntelligenceAlertRuleResult: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['ruleId'] = rule_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getThreatIntelligenceAlertRule', __args__, opts=opts, typ=GetThreatIntelligenceAlertRuleResult).value + + return AwaitableGetThreatIntelligenceAlertRuleResult( + alert_rule_template_name=pulumi.get(__ret__, 'alert_rule_template_name'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + enabled=pulumi.get(__ret__, 'enabled'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + last_modified_utc=pulumi.get(__ret__, 'last_modified_utc'), + name=pulumi.get(__ret__, 'name'), + severity=pulumi.get(__ret__, 'severity'), + system_data=pulumi.get(__ret__, 'system_data'), + tactics=pulumi.get(__ret__, 'tactics'), + techniques=pulumi.get(__ret__, 'techniques'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_threat_intelligence_alert_rule) +def get_threat_intelligence_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThreatIntelligenceAlertRuleResult]: + """ + Gets the alert rule. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str rule_id: Alert rule ID + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_threat_intelligence_indicator.py new file mode 100644 index 000000000000..c8e80ecc4fac --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_threat_intelligence_indicator.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetThreatIntelligenceIndicatorResult', + 'AwaitableGetThreatIntelligenceIndicatorResult', + 'get_threat_intelligence_indicator', + 'get_threat_intelligence_indicator_output', +] + +@pulumi.output_type +class GetThreatIntelligenceIndicatorResult: + """ + Threat intelligence information object. + """ + def __init__(__self__, etag=None, id=None, kind=None, name=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the entity. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetThreatIntelligenceIndicatorResult(GetThreatIntelligenceIndicatorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetThreatIntelligenceIndicatorResult( + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_threat_intelligence_indicator(name: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetThreatIntelligenceIndicatorResult: + """ + View a threat intelligence indicator by name. + + + :param str name: Threat intelligence indicator name field. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getThreatIntelligenceIndicator', __args__, opts=opts, typ=GetThreatIntelligenceIndicatorResult).value + + return AwaitableGetThreatIntelligenceIndicatorResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_threat_intelligence_indicator) +def get_threat_intelligence_indicator_output(name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThreatIntelligenceIndicatorResult]: + """ + View a threat intelligence indicator by name. + + + :param str name: Threat intelligence indicator name field. + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ti_data_connector.py new file mode 100644 index 000000000000..dbfa6a875039 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ti_data_connector.py @@ -0,0 +1,189 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetTIDataConnectorResult', + 'AwaitableGetTIDataConnectorResult', + 'get_ti_data_connector', + 'get_ti_data_connector_output', +] + +@pulumi.output_type +class GetTIDataConnectorResult: + """ + Represents threat intelligence data connector. + """ + def __init__(__self__, data_types=None, etag=None, id=None, kind=None, name=None, system_data=None, tenant_id=None, tip_lookback_period=None, type=None): + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if tip_lookback_period and not isinstance(tip_lookback_period, str): + raise TypeError("Expected argument 'tip_lookback_period' to be a str") + pulumi.set(__self__, "tip_lookback_period", tip_lookback_period) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.TIDataConnectorDataTypesResponse': + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'ThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="tipLookbackPeriod") + def tip_lookback_period(self) -> Optional[str]: + """ + The lookback period for the feed to be imported. + """ + return pulumi.get(self, "tip_lookback_period") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetTIDataConnectorResult(GetTIDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetTIDataConnectorResult( + data_types=self.data_types, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + tip_lookback_period=self.tip_lookback_period, + type=self.type) + + +def get_ti_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTIDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getTIDataConnector', __args__, opts=opts, typ=GetTIDataConnectorResult).value + + return AwaitableGetTIDataConnectorResult( + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + tip_lookback_period=pulumi.get(__ret__, 'tip_lookback_period'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_ti_data_connector) +def get_ti_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTIDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ti_taxii_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ti_taxii_data_connector.py new file mode 100644 index 000000000000..d4c9c4cc8046 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ti_taxii_data_connector.py @@ -0,0 +1,280 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetTiTaxiiDataConnectorResult', + 'AwaitableGetTiTaxiiDataConnectorResult', + 'get_ti_taxii_data_connector', + 'get_ti_taxii_data_connector_output', +] + +@pulumi.output_type +class GetTiTaxiiDataConnectorResult: + """ + Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server + """ + def __init__(__self__, collection_id=None, data_types=None, etag=None, friendly_name=None, id=None, kind=None, name=None, password=None, polling_frequency=None, system_data=None, taxii_lookback_period=None, taxii_server=None, tenant_id=None, type=None, user_name=None, workspace_id=None): + if collection_id and not isinstance(collection_id, str): + raise TypeError("Expected argument 'collection_id' to be a str") + pulumi.set(__self__, "collection_id", collection_id) + if data_types and not isinstance(data_types, dict): + raise TypeError("Expected argument 'data_types' to be a dict") + pulumi.set(__self__, "data_types", data_types) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if friendly_name and not isinstance(friendly_name, str): + raise TypeError("Expected argument 'friendly_name' to be a str") + pulumi.set(__self__, "friendly_name", friendly_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if password and not isinstance(password, str): + raise TypeError("Expected argument 'password' to be a str") + pulumi.set(__self__, "password", password) + if polling_frequency and not isinstance(polling_frequency, str): + raise TypeError("Expected argument 'polling_frequency' to be a str") + pulumi.set(__self__, "polling_frequency", polling_frequency) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if taxii_lookback_period and not isinstance(taxii_lookback_period, str): + raise TypeError("Expected argument 'taxii_lookback_period' to be a str") + pulumi.set(__self__, "taxii_lookback_period", taxii_lookback_period) + if taxii_server and not isinstance(taxii_server, str): + raise TypeError("Expected argument 'taxii_server' to be a str") + pulumi.set(__self__, "taxii_server", taxii_server) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if user_name and not isinstance(user_name, str): + raise TypeError("Expected argument 'user_name' to be a str") + pulumi.set(__self__, "user_name", user_name) + if workspace_id and not isinstance(workspace_id, str): + raise TypeError("Expected argument 'workspace_id' to be a str") + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[str]: + """ + The collection id of the TAXII server. + """ + return pulumi.get(self, "collection_id") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> 'outputs.TiTaxiiDataConnectorDataTypesResponse': + """ + The available data types for Threat Intelligence TAXII data connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[str]: + """ + The friendly name for the TAXII server. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the data connector + Expected value is 'ThreatIntelligenceTaxii'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + The password for the TAXII server. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="pollingFrequency") + def polling_frequency(self) -> str: + """ + The polling frequency for the TAXII server. + """ + return pulumi.get(self, "polling_frequency") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="taxiiLookbackPeriod") + def taxii_lookback_period(self) -> Optional[str]: + """ + The lookback period for the TAXII server. + """ + return pulumi.get(self, "taxii_lookback_period") + + @property + @pulumi.getter(name="taxiiServer") + def taxii_server(self) -> Optional[str]: + """ + The API root for the TAXII server. + """ + return pulumi.get(self, "taxii_server") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + """ + The userName for the TAXII server. + """ + return pulumi.get(self, "user_name") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> Optional[str]: + """ + The workspace id. + """ + return pulumi.get(self, "workspace_id") + + +class AwaitableGetTiTaxiiDataConnectorResult(GetTiTaxiiDataConnectorResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetTiTaxiiDataConnectorResult( + collection_id=self.collection_id, + data_types=self.data_types, + etag=self.etag, + friendly_name=self.friendly_name, + id=self.id, + kind=self.kind, + name=self.name, + password=self.password, + polling_frequency=self.polling_frequency, + system_data=self.system_data, + taxii_lookback_period=self.taxii_lookback_period, + taxii_server=self.taxii_server, + tenant_id=self.tenant_id, + type=self.type, + user_name=self.user_name, + workspace_id=self.workspace_id) + + +def get_ti_taxii_data_connector(data_connector_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTiTaxiiDataConnectorResult: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['dataConnectorId'] = data_connector_id + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getTiTaxiiDataConnector', __args__, opts=opts, typ=GetTiTaxiiDataConnectorResult).value + + return AwaitableGetTiTaxiiDataConnectorResult( + collection_id=pulumi.get(__ret__, 'collection_id'), + data_types=pulumi.get(__ret__, 'data_types'), + etag=pulumi.get(__ret__, 'etag'), + friendly_name=pulumi.get(__ret__, 'friendly_name'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + password=pulumi.get(__ret__, 'password'), + polling_frequency=pulumi.get(__ret__, 'polling_frequency'), + system_data=pulumi.get(__ret__, 'system_data'), + taxii_lookback_period=pulumi.get(__ret__, 'taxii_lookback_period'), + taxii_server=pulumi.get(__ret__, 'taxii_server'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type'), + user_name=pulumi.get(__ret__, 'user_name'), + workspace_id=pulumi.get(__ret__, 'workspace_id')) + + +@_utilities.lift_output_func(get_ti_taxii_data_connector) +def get_ti_taxii_data_connector_output(data_connector_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTiTaxiiDataConnectorResult]: + """ + Gets a data connector. + + + :param str data_connector_id: Connector ID + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ueba.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ueba.py new file mode 100644 index 000000000000..233d127b96c2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_ueba.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetUebaResult', + 'AwaitableGetUebaResult', + 'get_ueba', + 'get_ueba_output', +] + +@pulumi.output_type +class GetUebaResult: + """ + Settings with single toggle. + """ + def __init__(__self__, data_sources=None, etag=None, id=None, kind=None, name=None, system_data=None, type=None): + if data_sources and not isinstance(data_sources, list): + raise TypeError("Expected argument 'data_sources' to be a list") + pulumi.set(__self__, "data_sources", data_sources) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dataSources") + def data_sources(self) -> Optional[Sequence[str]]: + """ + The relevant data sources that enriched by ueba + """ + return pulumi.get(self, "data_sources") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the setting + Expected value is 'Ueba'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetUebaResult(GetUebaResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetUebaResult( + data_sources=self.data_sources, + etag=self.etag, + id=self.id, + kind=self.kind, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_ueba(resource_group_name: Optional[str] = None, + settings_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUebaResult: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['settingsName'] = settings_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getUeba', __args__, opts=opts, typ=GetUebaResult).value + + return AwaitableGetUebaResult( + data_sources=pulumi.get(__ret__, 'data_sources'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + kind=pulumi.get(__ret__, 'kind'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_ueba) +def get_ueba_output(resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUebaResult]: + """ + Gets a setting. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_watchlist.py new file mode 100644 index 000000000000..257b4622e2e3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_watchlist.py @@ -0,0 +1,409 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWatchlistResult', + 'AwaitableGetWatchlistResult', + 'get_watchlist', + 'get_watchlist_output', +] + +@pulumi.output_type +class GetWatchlistResult: + """ + Represents a Watchlist in Azure Security Insights. + """ + def __init__(__self__, content_type=None, created=None, created_by=None, default_duration=None, description=None, display_name=None, etag=None, id=None, is_deleted=None, items_search_key=None, labels=None, name=None, number_of_lines_to_skip=None, provider=None, raw_content=None, source=None, source_type=None, system_data=None, tenant_id=None, type=None, updated=None, updated_by=None, upload_status=None, watchlist_alias=None, watchlist_id=None, watchlist_type=None): + if content_type and not isinstance(content_type, str): + raise TypeError("Expected argument 'content_type' to be a str") + pulumi.set(__self__, "content_type", content_type) + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if created_by and not isinstance(created_by, dict): + raise TypeError("Expected argument 'created_by' to be a dict") + pulumi.set(__self__, "created_by", created_by) + if default_duration and not isinstance(default_duration, str): + raise TypeError("Expected argument 'default_duration' to be a str") + pulumi.set(__self__, "default_duration", default_duration) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_deleted and not isinstance(is_deleted, bool): + raise TypeError("Expected argument 'is_deleted' to be a bool") + pulumi.set(__self__, "is_deleted", is_deleted) + if items_search_key and not isinstance(items_search_key, str): + raise TypeError("Expected argument 'items_search_key' to be a str") + pulumi.set(__self__, "items_search_key", items_search_key) + if labels and not isinstance(labels, list): + raise TypeError("Expected argument 'labels' to be a list") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if number_of_lines_to_skip and not isinstance(number_of_lines_to_skip, int): + raise TypeError("Expected argument 'number_of_lines_to_skip' to be a int") + pulumi.set(__self__, "number_of_lines_to_skip", number_of_lines_to_skip) + if provider and not isinstance(provider, str): + raise TypeError("Expected argument 'provider' to be a str") + pulumi.set(__self__, "provider", provider) + if raw_content and not isinstance(raw_content, str): + raise TypeError("Expected argument 'raw_content' to be a str") + pulumi.set(__self__, "raw_content", raw_content) + if source and not isinstance(source, str): + raise TypeError("Expected argument 'source' to be a str") + pulumi.set(__self__, "source", source) + if source_type and not isinstance(source_type, str): + raise TypeError("Expected argument 'source_type' to be a str") + pulumi.set(__self__, "source_type", source_type) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if updated and not isinstance(updated, str): + raise TypeError("Expected argument 'updated' to be a str") + pulumi.set(__self__, "updated", updated) + if updated_by and not isinstance(updated_by, dict): + raise TypeError("Expected argument 'updated_by' to be a dict") + pulumi.set(__self__, "updated_by", updated_by) + if upload_status and not isinstance(upload_status, str): + raise TypeError("Expected argument 'upload_status' to be a str") + pulumi.set(__self__, "upload_status", upload_status) + if watchlist_alias and not isinstance(watchlist_alias, str): + raise TypeError("Expected argument 'watchlist_alias' to be a str") + pulumi.set(__self__, "watchlist_alias", watchlist_alias) + if watchlist_id and not isinstance(watchlist_id, str): + raise TypeError("Expected argument 'watchlist_id' to be a str") + pulumi.set(__self__, "watchlist_id", watchlist_id) + if watchlist_type and not isinstance(watchlist_type, str): + raise TypeError("Expected argument 'watchlist_type' to be a str") + pulumi.set(__self__, "watchlist_type", watchlist_type) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> Optional[str]: + """ + The content type of the raw content. Example : text/csv or text/tsv + """ + return pulumi.get(self, "content_type") + + @property + @pulumi.getter + def created(self) -> Optional[str]: + """ + The time the watchlist was created + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional['outputs.WatchlistUserInfoResponse']: + """ + Describes a user that created the watchlist + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="defaultDuration") + def default_duration(self) -> Optional[str]: + """ + The default duration of a watchlist (in ISO 8601 duration format) + """ + return pulumi.get(self, "default_duration") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + A description of the watchlist + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the watchlist + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isDeleted") + def is_deleted(self) -> Optional[bool]: + """ + A flag that indicates if the watchlist is deleted or not + """ + return pulumi.get(self, "is_deleted") + + @property + @pulumi.getter(name="itemsSearchKey") + def items_search_key(self) -> str: + """ + The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + """ + return pulumi.get(self, "items_search_key") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence[str]]: + """ + List of labels relevant to this watchlist + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="numberOfLinesToSkip") + def number_of_lines_to_skip(self) -> Optional[int]: + """ + The number of lines in a csv/tsv content to skip before the header + """ + return pulumi.get(self, "number_of_lines_to_skip") + + @property + @pulumi.getter + def provider(self) -> str: + """ + The provider of the watchlist + """ + return pulumi.get(self, "provider") + + @property + @pulumi.getter(name="rawContent") + def raw_content(self) -> Optional[str]: + """ + The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + """ + return pulumi.get(self, "raw_content") + + @property + @pulumi.getter + def source(self) -> Optional[str]: + """ + The filename of the watchlist, called 'source' + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="sourceType") + def source_type(self) -> Optional[str]: + """ + The sourceType of the watchlist + """ + return pulumi.get(self, "source_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The tenantId where the watchlist belongs to + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def updated(self) -> Optional[str]: + """ + The last time the watchlist was updated + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional['outputs.WatchlistUserInfoResponse']: + """ + Describes a user that updated the watchlist + """ + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="uploadStatus") + def upload_status(self) -> Optional[str]: + """ + The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + """ + return pulumi.get(self, "upload_status") + + @property + @pulumi.getter(name="watchlistAlias") + def watchlist_alias(self) -> Optional[str]: + """ + The alias of the watchlist + """ + return pulumi.get(self, "watchlist_alias") + + @property + @pulumi.getter(name="watchlistId") + def watchlist_id(self) -> Optional[str]: + """ + The id (a Guid) of the watchlist + """ + return pulumi.get(self, "watchlist_id") + + @property + @pulumi.getter(name="watchlistType") + def watchlist_type(self) -> Optional[str]: + """ + The type of the watchlist + """ + return pulumi.get(self, "watchlist_type") + + +class AwaitableGetWatchlistResult(GetWatchlistResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWatchlistResult( + content_type=self.content_type, + created=self.created, + created_by=self.created_by, + default_duration=self.default_duration, + description=self.description, + display_name=self.display_name, + etag=self.etag, + id=self.id, + is_deleted=self.is_deleted, + items_search_key=self.items_search_key, + labels=self.labels, + name=self.name, + number_of_lines_to_skip=self.number_of_lines_to_skip, + provider=self.provider, + raw_content=self.raw_content, + source=self.source, + source_type=self.source_type, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type, + updated=self.updated, + updated_by=self.updated_by, + upload_status=self.upload_status, + watchlist_alias=self.watchlist_alias, + watchlist_id=self.watchlist_id, + watchlist_type=self.watchlist_type) + + +def get_watchlist(resource_group_name: Optional[str] = None, + watchlist_alias: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWatchlistResult: + """ + Gets a watchlist, without its watchlist items. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str watchlist_alias: Watchlist Alias + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['watchlistAlias'] = watchlist_alias + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getWatchlist', __args__, opts=opts, typ=GetWatchlistResult).value + + return AwaitableGetWatchlistResult( + content_type=pulumi.get(__ret__, 'content_type'), + created=pulumi.get(__ret__, 'created'), + created_by=pulumi.get(__ret__, 'created_by'), + default_duration=pulumi.get(__ret__, 'default_duration'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + is_deleted=pulumi.get(__ret__, 'is_deleted'), + items_search_key=pulumi.get(__ret__, 'items_search_key'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + number_of_lines_to_skip=pulumi.get(__ret__, 'number_of_lines_to_skip'), + provider=pulumi.get(__ret__, 'provider'), + raw_content=pulumi.get(__ret__, 'raw_content'), + source=pulumi.get(__ret__, 'source'), + source_type=pulumi.get(__ret__, 'source_type'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type'), + updated=pulumi.get(__ret__, 'updated'), + updated_by=pulumi.get(__ret__, 'updated_by'), + upload_status=pulumi.get(__ret__, 'upload_status'), + watchlist_alias=pulumi.get(__ret__, 'watchlist_alias'), + watchlist_id=pulumi.get(__ret__, 'watchlist_id'), + watchlist_type=pulumi.get(__ret__, 'watchlist_type')) + + +@_utilities.lift_output_func(get_watchlist) +def get_watchlist_output(resource_group_name: Optional[pulumi.Input[str]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWatchlistResult]: + """ + Gets a watchlist, without its watchlist items. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str watchlist_alias: Watchlist Alias + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_watchlist_item.py new file mode 100644 index 000000000000..38b493463280 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_watchlist_item.py @@ -0,0 +1,271 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWatchlistItemResult', + 'AwaitableGetWatchlistItemResult', + 'get_watchlist_item', + 'get_watchlist_item_output', +] + +@pulumi.output_type +class GetWatchlistItemResult: + """ + Represents a Watchlist item in Azure Security Insights. + """ + def __init__(__self__, created=None, created_by=None, entity_mapping=None, etag=None, id=None, is_deleted=None, items_key_value=None, name=None, system_data=None, tenant_id=None, type=None, updated=None, updated_by=None, watchlist_item_id=None, watchlist_item_type=None): + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if created_by and not isinstance(created_by, dict): + raise TypeError("Expected argument 'created_by' to be a dict") + pulumi.set(__self__, "created_by", created_by) + if entity_mapping and not isinstance(entity_mapping, dict): + raise TypeError("Expected argument 'entity_mapping' to be a dict") + pulumi.set(__self__, "entity_mapping", entity_mapping) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_deleted and not isinstance(is_deleted, bool): + raise TypeError("Expected argument 'is_deleted' to be a bool") + pulumi.set(__self__, "is_deleted", is_deleted) + if items_key_value and not isinstance(items_key_value, dict): + raise TypeError("Expected argument 'items_key_value' to be a dict") + pulumi.set(__self__, "items_key_value", items_key_value) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tenant_id and not isinstance(tenant_id, str): + raise TypeError("Expected argument 'tenant_id' to be a str") + pulumi.set(__self__, "tenant_id", tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if updated and not isinstance(updated, str): + raise TypeError("Expected argument 'updated' to be a str") + pulumi.set(__self__, "updated", updated) + if updated_by and not isinstance(updated_by, dict): + raise TypeError("Expected argument 'updated_by' to be a dict") + pulumi.set(__self__, "updated_by", updated_by) + if watchlist_item_id and not isinstance(watchlist_item_id, str): + raise TypeError("Expected argument 'watchlist_item_id' to be a str") + pulumi.set(__self__, "watchlist_item_id", watchlist_item_id) + if watchlist_item_type and not isinstance(watchlist_item_type, str): + raise TypeError("Expected argument 'watchlist_item_type' to be a str") + pulumi.set(__self__, "watchlist_item_type", watchlist_item_type) + + @property + @pulumi.getter + def created(self) -> Optional[str]: + """ + The time the watchlist item was created + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional['outputs.WatchlistUserInfoResponse']: + """ + Describes a user that created the watchlist item + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="entityMapping") + def entity_mapping(self) -> Optional[Any]: + """ + key-value pairs for a watchlist item entity mapping + """ + return pulumi.get(self, "entity_mapping") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isDeleted") + def is_deleted(self) -> Optional[bool]: + """ + A flag that indicates if the watchlist item is deleted or not + """ + return pulumi.get(self, "is_deleted") + + @property + @pulumi.getter(name="itemsKeyValue") + def items_key_value(self) -> Any: + """ + key-value pairs for a watchlist item + """ + return pulumi.get(self, "items_key_value") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The tenantId to which the watchlist item belongs to + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def updated(self) -> Optional[str]: + """ + The last time the watchlist item was updated + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional['outputs.WatchlistUserInfoResponse']: + """ + Describes a user that updated the watchlist item + """ + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="watchlistItemId") + def watchlist_item_id(self) -> Optional[str]: + """ + The id (a Guid) of the watchlist item + """ + return pulumi.get(self, "watchlist_item_id") + + @property + @pulumi.getter(name="watchlistItemType") + def watchlist_item_type(self) -> Optional[str]: + """ + The type of the watchlist item + """ + return pulumi.get(self, "watchlist_item_type") + + +class AwaitableGetWatchlistItemResult(GetWatchlistItemResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWatchlistItemResult( + created=self.created, + created_by=self.created_by, + entity_mapping=self.entity_mapping, + etag=self.etag, + id=self.id, + is_deleted=self.is_deleted, + items_key_value=self.items_key_value, + name=self.name, + system_data=self.system_data, + tenant_id=self.tenant_id, + type=self.type, + updated=self.updated, + updated_by=self.updated_by, + watchlist_item_id=self.watchlist_item_id, + watchlist_item_type=self.watchlist_item_type) + + +def get_watchlist_item(resource_group_name: Optional[str] = None, + watchlist_alias: Optional[str] = None, + watchlist_item_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWatchlistItemResult: + """ + Gets a watchlist, without its watchlist items. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str watchlist_alias: Watchlist Alias + :param str watchlist_item_id: Watchlist Item Id (GUID) + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['watchlistAlias'] = watchlist_alias + __args__['watchlistItemId'] = watchlist_item_id + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getWatchlistItem', __args__, opts=opts, typ=GetWatchlistItemResult).value + + return AwaitableGetWatchlistItemResult( + created=pulumi.get(__ret__, 'created'), + created_by=pulumi.get(__ret__, 'created_by'), + entity_mapping=pulumi.get(__ret__, 'entity_mapping'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + is_deleted=pulumi.get(__ret__, 'is_deleted'), + items_key_value=pulumi.get(__ret__, 'items_key_value'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + type=pulumi.get(__ret__, 'type'), + updated=pulumi.get(__ret__, 'updated'), + updated_by=pulumi.get(__ret__, 'updated_by'), + watchlist_item_id=pulumi.get(__ret__, 'watchlist_item_id'), + watchlist_item_type=pulumi.get(__ret__, 'watchlist_item_type')) + + +@_utilities.lift_output_func(get_watchlist_item) +def get_watchlist_item_output(resource_group_name: Optional[pulumi.Input[str]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + watchlist_item_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWatchlistItemResult]: + """ + Gets a watchlist, without its watchlist items. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str watchlist_alias: Watchlist Alias + :param str watchlist_item_id: Watchlist Item Id (GUID) + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_assignment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_assignment.py new file mode 100644 index 000000000000..7113feff5a9f --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_assignment.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWorkspaceManagerAssignmentResult', + 'AwaitableGetWorkspaceManagerAssignmentResult', + 'get_workspace_manager_assignment', + 'get_workspace_manager_assignment_output', +] + +@pulumi.output_type +class GetWorkspaceManagerAssignmentResult: + """ + The workspace manager assignment + """ + def __init__(__self__, etag=None, id=None, items=None, last_job_end_time=None, last_job_provisioning_state=None, name=None, system_data=None, target_resource_name=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if items and not isinstance(items, list): + raise TypeError("Expected argument 'items' to be a list") + pulumi.set(__self__, "items", items) + if last_job_end_time and not isinstance(last_job_end_time, str): + raise TypeError("Expected argument 'last_job_end_time' to be a str") + pulumi.set(__self__, "last_job_end_time", last_job_end_time) + if last_job_provisioning_state and not isinstance(last_job_provisioning_state, str): + raise TypeError("Expected argument 'last_job_provisioning_state' to be a str") + pulumi.set(__self__, "last_job_provisioning_state", last_job_provisioning_state) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if target_resource_name and not isinstance(target_resource_name, str): + raise TypeError("Expected argument 'target_resource_name' to be a str") + pulumi.set(__self__, "target_resource_name", target_resource_name) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.AssignmentItemResponse']: + """ + List of resources included in this workspace manager assignment + """ + return pulumi.get(self, "items") + + @property + @pulumi.getter(name="lastJobEndTime") + def last_job_end_time(self) -> str: + """ + The time the last job associated to this assignment ended at + """ + return pulumi.get(self, "last_job_end_time") + + @property + @pulumi.getter(name="lastJobProvisioningState") + def last_job_provisioning_state(self) -> str: + """ + State of the last job associated to this assignment + """ + return pulumi.get(self, "last_job_provisioning_state") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="targetResourceName") + def target_resource_name(self) -> str: + """ + The resource name of the workspace manager group targeted by the workspace manager assignment + """ + return pulumi.get(self, "target_resource_name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetWorkspaceManagerAssignmentResult(GetWorkspaceManagerAssignmentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWorkspaceManagerAssignmentResult( + etag=self.etag, + id=self.id, + items=self.items, + last_job_end_time=self.last_job_end_time, + last_job_provisioning_state=self.last_job_provisioning_state, + name=self.name, + system_data=self.system_data, + target_resource_name=self.target_resource_name, + type=self.type) + + +def get_workspace_manager_assignment(resource_group_name: Optional[str] = None, + workspace_manager_assignment_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceManagerAssignmentResult: + """ + Gets a workspace manager assignment + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_assignment_name: The name of the workspace manager assignment + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceManagerAssignmentName'] = workspace_manager_assignment_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getWorkspaceManagerAssignment', __args__, opts=opts, typ=GetWorkspaceManagerAssignmentResult).value + + return AwaitableGetWorkspaceManagerAssignmentResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + items=pulumi.get(__ret__, 'items'), + last_job_end_time=pulumi.get(__ret__, 'last_job_end_time'), + last_job_provisioning_state=pulumi.get(__ret__, 'last_job_provisioning_state'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + target_resource_name=pulumi.get(__ret__, 'target_resource_name'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_workspace_manager_assignment) +def get_workspace_manager_assignment_output(resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_assignment_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceManagerAssignmentResult]: + """ + Gets a workspace manager assignment + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_assignment_name: The name of the workspace manager assignment + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_configuration.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_configuration.py new file mode 100644 index 000000000000..8ffab33e3b9d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_configuration.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWorkspaceManagerConfigurationResult', + 'AwaitableGetWorkspaceManagerConfigurationResult', + 'get_workspace_manager_configuration', + 'get_workspace_manager_configuration_output', +] + +@pulumi.output_type +class GetWorkspaceManagerConfigurationResult: + """ + The workspace manager configuration + """ + def __init__(__self__, etag=None, id=None, mode=None, name=None, system_data=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if mode and not isinstance(mode, str): + raise TypeError("Expected argument 'mode' to be a str") + pulumi.set(__self__, "mode", mode) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def mode(self) -> str: + """ + The current mode of the workspace manager configuration + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetWorkspaceManagerConfigurationResult(GetWorkspaceManagerConfigurationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWorkspaceManagerConfigurationResult( + etag=self.etag, + id=self.id, + mode=self.mode, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_workspace_manager_configuration(resource_group_name: Optional[str] = None, + workspace_manager_configuration_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceManagerConfigurationResult: + """ + Gets a workspace manager configuration + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_configuration_name: The name of the workspace manager configuration + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceManagerConfigurationName'] = workspace_manager_configuration_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getWorkspaceManagerConfiguration', __args__, opts=opts, typ=GetWorkspaceManagerConfigurationResult).value + + return AwaitableGetWorkspaceManagerConfigurationResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + mode=pulumi.get(__ret__, 'mode'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_workspace_manager_configuration) +def get_workspace_manager_configuration_output(resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_configuration_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceManagerConfigurationResult]: + """ + Gets a workspace manager configuration + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_configuration_name: The name of the workspace manager configuration + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_group.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_group.py new file mode 100644 index 000000000000..14dd062ae6c1 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_group.py @@ -0,0 +1,175 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWorkspaceManagerGroupResult', + 'AwaitableGetWorkspaceManagerGroupResult', + 'get_workspace_manager_group', + 'get_workspace_manager_group_output', +] + +@pulumi.output_type +class GetWorkspaceManagerGroupResult: + """ + The workspace manager group + """ + def __init__(__self__, description=None, display_name=None, etag=None, id=None, member_resource_names=None, name=None, system_data=None, type=None): + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if member_resource_names and not isinstance(member_resource_names, list): + raise TypeError("Expected argument 'member_resource_names' to be a list") + pulumi.set(__self__, "member_resource_names", member_resource_names) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the workspace manager group + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The display name of the workspace manager group + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> str: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="memberResourceNames") + def member_resource_names(self) -> Sequence[str]: + """ + The names of the workspace manager members participating in this group. + """ + return pulumi.get(self, "member_resource_names") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetWorkspaceManagerGroupResult(GetWorkspaceManagerGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWorkspaceManagerGroupResult( + description=self.description, + display_name=self.display_name, + etag=self.etag, + id=self.id, + member_resource_names=self.member_resource_names, + name=self.name, + system_data=self.system_data, + type=self.type) + + +def get_workspace_manager_group(resource_group_name: Optional[str] = None, + workspace_manager_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceManagerGroupResult: + """ + Gets a workspace manager group + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_group_name: The name of the workspace manager group + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceManagerGroupName'] = workspace_manager_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getWorkspaceManagerGroup', __args__, opts=opts, typ=GetWorkspaceManagerGroupResult).value + + return AwaitableGetWorkspaceManagerGroupResult( + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + member_resource_names=pulumi.get(__ret__, 'member_resource_names'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_workspace_manager_group) +def get_workspace_manager_group_output(resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceManagerGroupResult]: + """ + Gets a workspace manager group + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_group_name: The name of the workspace manager group + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_member.py new file mode 100644 index 000000000000..a0ecdaf5eaf7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/get_workspace_manager_member.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetWorkspaceManagerMemberResult', + 'AwaitableGetWorkspaceManagerMemberResult', + 'get_workspace_manager_member', + 'get_workspace_manager_member_output', +] + +@pulumi.output_type +class GetWorkspaceManagerMemberResult: + """ + The workspace manager member + """ + def __init__(__self__, etag=None, id=None, name=None, system_data=None, target_workspace_resource_id=None, target_workspace_tenant_id=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if target_workspace_resource_id and not isinstance(target_workspace_resource_id, str): + raise TypeError("Expected argument 'target_workspace_resource_id' to be a str") + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) + if target_workspace_tenant_id and not isinstance(target_workspace_tenant_id, str): + raise TypeError("Expected argument 'target_workspace_tenant_id' to be a str") + pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def etag(self) -> str: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> str: + """ + Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + """ + return pulumi.get(self, "target_workspace_resource_id") + + @property + @pulumi.getter(name="targetWorkspaceTenantId") + def target_workspace_tenant_id(self) -> str: + """ + Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + """ + return pulumi.get(self, "target_workspace_tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetWorkspaceManagerMemberResult(GetWorkspaceManagerMemberResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetWorkspaceManagerMemberResult( + etag=self.etag, + id=self.id, + name=self.name, + system_data=self.system_data, + target_workspace_resource_id=self.target_workspace_resource_id, + target_workspace_tenant_id=self.target_workspace_tenant_id, + type=self.type) + + +def get_workspace_manager_member(resource_group_name: Optional[str] = None, + workspace_manager_member_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceManagerMemberResult: + """ + Gets a workspace manager member + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_member_name: The name of the workspace manager member + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceManagerMemberName'] = workspace_manager_member_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:getWorkspaceManagerMember', __args__, opts=opts, typ=GetWorkspaceManagerMemberResult).value + + return AwaitableGetWorkspaceManagerMemberResult( + etag=pulumi.get(__ret__, 'etag'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + system_data=pulumi.get(__ret__, 'system_data'), + target_workspace_resource_id=pulumi.get(__ret__, 'target_workspace_resource_id'), + target_workspace_tenant_id=pulumi.get(__ret__, 'target_workspace_tenant_id'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_workspace_manager_member) +def get_workspace_manager_member_output(resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_member_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceManagerMemberResult]: + """ + Gets a workspace manager member + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_manager_member_name: The name of the workspace manager member + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt.py new file mode 100644 index 000000000000..292a98f8cbdf --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt.py @@ -0,0 +1,439 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['HuntArgs', 'Hunt'] + +@pulumi.input_type +class HuntArgs: + def __init__(__self__, *, + description: pulumi.Input[str], + display_name: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + attack_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + attack_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + hypothesis_status: Optional[pulumi.Input[Union[str, 'HypothesisStatus']]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + owner: Optional[pulumi.Input['HuntOwnerArgs']] = None, + status: Optional[pulumi.Input[Union[str, 'Status']]] = None): + """ + The set of arguments for constructing a Hunt resource. + :param pulumi.Input[str] description: The description of the hunt + :param pulumi.Input[str] display_name: The display name of the hunt + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] attack_tactics: A list of mitre attack tactics the hunt is associated with + :param pulumi.Input[Sequence[pulumi.Input[str]]] attack_techniques: A list of a mitre attack techniques the hunt is associated with + :param pulumi.Input[str] hunt_id: The hunt id (GUID) + :param pulumi.Input[Union[str, 'HypothesisStatus']] hypothesis_status: The hypothesis status of the hunt. + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this hunt + :param pulumi.Input['HuntOwnerArgs'] owner: Describes a user that the hunt is assigned to + :param pulumi.Input[Union[str, 'Status']] status: The status of the hunt. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if attack_tactics is not None: + pulumi.set(__self__, "attack_tactics", attack_tactics) + if attack_techniques is not None: + pulumi.set(__self__, "attack_techniques", attack_techniques) + if hunt_id is not None: + pulumi.set(__self__, "hunt_id", hunt_id) + if hypothesis_status is None: + hypothesis_status = 'Unknown' + if hypothesis_status is not None: + pulumi.set(__self__, "hypothesis_status", hypothesis_status) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if status is None: + status = 'New' + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + The description of the hunt + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the hunt + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="attackTactics") + def attack_tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]: + """ + A list of mitre attack tactics the hunt is associated with + """ + return pulumi.get(self, "attack_tactics") + + @attack_tactics.setter + def attack_tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]): + pulumi.set(self, "attack_tactics", value) + + @property + @pulumi.getter(name="attackTechniques") + def attack_techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of a mitre attack techniques the hunt is associated with + """ + return pulumi.get(self, "attack_techniques") + + @attack_techniques.setter + def attack_techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "attack_techniques", value) + + @property + @pulumi.getter(name="huntId") + def hunt_id(self) -> Optional[pulumi.Input[str]]: + """ + The hunt id (GUID) + """ + return pulumi.get(self, "hunt_id") + + @hunt_id.setter + def hunt_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hunt_id", value) + + @property + @pulumi.getter(name="hypothesisStatus") + def hypothesis_status(self) -> Optional[pulumi.Input[Union[str, 'HypothesisStatus']]]: + """ + The hypothesis status of the hunt. + """ + return pulumi.get(self, "hypothesis_status") + + @hypothesis_status.setter + def hypothesis_status(self, value: Optional[pulumi.Input[Union[str, 'HypothesisStatus']]]): + pulumi.set(self, "hypothesis_status", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of labels relevant to this hunt + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input['HuntOwnerArgs']]: + """ + Describes a user that the hunt is assigned to + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input['HuntOwnerArgs']]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'Status']]]: + """ + The status of the hunt. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'Status']]]): + pulumi.set(self, "status", value) + + +class Hunt(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + attack_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + attack_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + hypothesis_status: Optional[pulumi.Input[Union[str, 'HypothesisStatus']]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + owner: Optional[pulumi.Input[pulumi.InputType['HuntOwnerArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'Status']]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Hunt in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] attack_tactics: A list of mitre attack tactics the hunt is associated with + :param pulumi.Input[Sequence[pulumi.Input[str]]] attack_techniques: A list of a mitre attack techniques the hunt is associated with + :param pulumi.Input[str] description: The description of the hunt + :param pulumi.Input[str] display_name: The display name of the hunt + :param pulumi.Input[str] hunt_id: The hunt id (GUID) + :param pulumi.Input[Union[str, 'HypothesisStatus']] hypothesis_status: The hypothesis status of the hunt. + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this hunt + :param pulumi.Input[pulumi.InputType['HuntOwnerArgs']] owner: Describes a user that the hunt is assigned to + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'Status']] status: The status of the hunt. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: HuntArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Hunt in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param HuntArgs 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(HuntArgs, 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, + attack_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + attack_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + hypothesis_status: Optional[pulumi.Input[Union[str, 'HypothesisStatus']]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + owner: Optional[pulumi.Input[pulumi.InputType['HuntOwnerArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'Status']]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = HuntArgs.__new__(HuntArgs) + + __props__.__dict__["attack_tactics"] = attack_tactics + __props__.__dict__["attack_techniques"] = attack_techniques + if description is None and not opts.urn: + raise TypeError("Missing required property 'description'") + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["hunt_id"] = hunt_id + if hypothesis_status is None: + hypothesis_status = 'Unknown' + __props__.__dict__["hypothesis_status"] = hypothesis_status + __props__.__dict__["labels"] = labels + __props__.__dict__["owner"] = owner + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if status is None: + status = 'New' + __props__.__dict__["status"] = status + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Hunt"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Hunt")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Hunt, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Hunt', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Hunt': + """ + Get an existing Hunt 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = HuntArgs.__new__(HuntArgs) + + __props__.__dict__["attack_tactics"] = None + __props__.__dict__["attack_techniques"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["hypothesis_status"] = None + __props__.__dict__["labels"] = None + __props__.__dict__["name"] = None + __props__.__dict__["owner"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Hunt(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="attackTactics") + def attack_tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A list of mitre attack tactics the hunt is associated with + """ + return pulumi.get(self, "attack_tactics") + + @property + @pulumi.getter(name="attackTechniques") + def attack_techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A list of a mitre attack techniques the hunt is associated with + """ + return pulumi.get(self, "attack_techniques") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + The description of the hunt + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the hunt + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="hypothesisStatus") + def hypothesis_status(self) -> pulumi.Output[Optional[str]]: + """ + The hypothesis status of the hunt. + """ + return pulumi.get(self, "hypothesis_status") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of labels relevant to this hunt + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> pulumi.Output[Optional['outputs.HuntOwnerResponse']]: + """ + Describes a user that the hunt is assigned to + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[Optional[str]]: + """ + The status of the hunt. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt_comment.py new file mode 100644 index 000000000000..b178c06e0fa2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt_comment.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['HuntCommentArgs', 'HuntComment'] + +@pulumi.input_type +class HuntCommentArgs: + def __init__(__self__, *, + hunt_id: pulumi.Input[str], + message: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + hunt_comment_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a HuntComment resource. + :param pulumi.Input[str] hunt_id: The hunt id (GUID) + :param pulumi.Input[str] message: The message for the comment + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] hunt_comment_id: The hunt comment id (GUID) + """ + pulumi.set(__self__, "hunt_id", hunt_id) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if hunt_comment_id is not None: + pulumi.set(__self__, "hunt_comment_id", hunt_comment_id) + + @property + @pulumi.getter(name="huntId") + def hunt_id(self) -> pulumi.Input[str]: + """ + The hunt id (GUID) + """ + return pulumi.get(self, "hunt_id") + + @hunt_id.setter + def hunt_id(self, value: pulumi.Input[str]): + pulumi.set(self, "hunt_id", value) + + @property + @pulumi.getter + def message(self) -> pulumi.Input[str]: + """ + The message for the comment + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: pulumi.Input[str]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="huntCommentId") + def hunt_comment_id(self) -> Optional[pulumi.Input[str]]: + """ + The hunt comment id (GUID) + """ + return pulumi.get(self, "hunt_comment_id") + + @hunt_comment_id.setter + def hunt_comment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hunt_comment_id", value) + + +class HuntComment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + hunt_comment_id: Optional[pulumi.Input[str]] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Hunt Comment in Azure Security Insights + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] hunt_comment_id: The hunt comment id (GUID) + :param pulumi.Input[str] hunt_id: The hunt id (GUID) + :param pulumi.Input[str] message: The message for the comment + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: HuntCommentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Hunt Comment in Azure Security Insights + + :param str resource_name: The name of the resource. + :param HuntCommentArgs 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(HuntCommentArgs, 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, + hunt_comment_id: Optional[pulumi.Input[str]] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = HuntCommentArgs.__new__(HuntCommentArgs) + + __props__.__dict__["hunt_comment_id"] = hunt_comment_id + if hunt_id is None and not opts.urn: + raise TypeError("Missing required property 'hunt_id'") + __props__.__dict__["hunt_id"] = hunt_id + if message is None and not opts.urn: + raise TypeError("Missing required property 'message'") + __props__.__dict__["message"] = message + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntComment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(HuntComment, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:HuntComment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'HuntComment': + """ + Get an existing HuntComment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = HuntCommentArgs.__new__(HuntCommentArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["message"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return HuntComment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def message(self) -> pulumi.Output[str]: + """ + The message for the comment + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt_relation.py new file mode 100644 index 000000000000..3acfc0def8bf --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/hunt_relation.py @@ -0,0 +1,305 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['HuntRelationArgs', 'HuntRelation'] + +@pulumi.input_type +class HuntRelationArgs: + def __init__(__self__, *, + hunt_id: pulumi.Input[str], + related_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + hunt_relation_id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a HuntRelation resource. + :param pulumi.Input[str] hunt_id: The hunt id (GUID) + :param pulumi.Input[str] related_resource_id: The id of the related resource + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] hunt_relation_id: The hunt relation id (GUID) + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this hunt + """ + pulumi.set(__self__, "hunt_id", hunt_id) + pulumi.set(__self__, "related_resource_id", related_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if hunt_relation_id is not None: + pulumi.set(__self__, "hunt_relation_id", hunt_relation_id) + if labels is not None: + pulumi.set(__self__, "labels", labels) + + @property + @pulumi.getter(name="huntId") + def hunt_id(self) -> pulumi.Input[str]: + """ + The hunt id (GUID) + """ + return pulumi.get(self, "hunt_id") + + @hunt_id.setter + def hunt_id(self, value: pulumi.Input[str]): + pulumi.set(self, "hunt_id", value) + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> pulumi.Input[str]: + """ + The id of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @related_resource_id.setter + def related_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "related_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="huntRelationId") + def hunt_relation_id(self) -> Optional[pulumi.Input[str]]: + """ + The hunt relation id (GUID) + """ + return pulumi.get(self, "hunt_relation_id") + + @hunt_relation_id.setter + def hunt_relation_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hunt_relation_id", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of labels relevant to this hunt + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + +class HuntRelation(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + hunt_id: Optional[pulumi.Input[str]] = None, + hunt_relation_id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Hunt Relation in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] hunt_id: The hunt id (GUID) + :param pulumi.Input[str] hunt_relation_id: The hunt relation id (GUID) + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this hunt + :param pulumi.Input[str] related_resource_id: The id of the related resource + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: HuntRelationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Hunt Relation in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param HuntRelationArgs 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(HuntRelationArgs, 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, + hunt_id: Optional[pulumi.Input[str]] = None, + hunt_relation_id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = HuntRelationArgs.__new__(HuntRelationArgs) + + if hunt_id is None and not opts.urn: + raise TypeError("Missing required property 'hunt_id'") + __props__.__dict__["hunt_id"] = hunt_id + __props__.__dict__["hunt_relation_id"] = hunt_relation_id + __props__.__dict__["labels"] = labels + if related_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'related_resource_id'") + __props__.__dict__["related_resource_id"] = related_resource_id + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["related_resource_kind"] = None + __props__.__dict__["related_resource_name"] = None + __props__.__dict__["relation_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:HuntRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:HuntRelation")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(HuntRelation, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:HuntRelation', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'HuntRelation': + """ + Get an existing HuntRelation 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = HuntRelationArgs.__new__(HuntRelationArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["labels"] = None + __props__.__dict__["name"] = None + __props__.__dict__["related_resource_id"] = None + __props__.__dict__["related_resource_kind"] = None + __props__.__dict__["related_resource_name"] = None + __props__.__dict__["relation_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return HuntRelation(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of labels relevant to this hunt + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> pulumi.Output[str]: + """ + The id of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @property + @pulumi.getter(name="relatedResourceKind") + def related_resource_kind(self) -> pulumi.Output[str]: + """ + The resource that the relation is related to + """ + return pulumi.get(self, "related_resource_kind") + + @property + @pulumi.getter(name="relatedResourceName") + def related_resource_name(self) -> pulumi.Output[str]: + """ + The name of the related resource + """ + return pulumi.get(self, "related_resource_name") + + @property + @pulumi.getter(name="relationType") + def relation_type(self) -> pulumi.Output[str]: + """ + The type of the hunt relation + """ + return pulumi.get(self, "relation_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident.py new file mode 100644 index 000000000000..e62d991d5d5d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident.py @@ -0,0 +1,607 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['IncidentArgs', 'Incident'] + +@pulumi.input_type +class IncidentArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + severity: pulumi.Input[Union[str, 'IncidentSeverity']], + status: pulumi.Input[Union[str, 'IncidentStatus']], + title: pulumi.Input[str], + workspace_name: pulumi.Input[str], + classification: Optional[pulumi.Input[Union[str, 'IncidentClassification']]] = None, + classification_comment: Optional[pulumi.Input[str]] = None, + classification_reason: Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]] = None, + description: Optional[pulumi.Input[str]] = None, + first_activity_time_utc: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]]] = None, + last_activity_time_utc: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input['IncidentOwnerInfoArgs']] = None): + """ + The set of arguments for constructing a Incident resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'IncidentSeverity']] severity: The severity of the incident + :param pulumi.Input[Union[str, 'IncidentStatus']] status: The status of the incident + :param pulumi.Input[str] title: The title of the incident + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[Union[str, 'IncidentClassification']] classification: The reason the incident was closed + :param pulumi.Input[str] classification_comment: Describes the reason the incident was closed + :param pulumi.Input[Union[str, 'IncidentClassificationReason']] classification_reason: The classification reason the incident was closed with + :param pulumi.Input[str] description: The description of the incident + :param pulumi.Input[str] first_activity_time_utc: The time of the first activity in the incident + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]] labels: List of labels relevant to this incident + :param pulumi.Input[str] last_activity_time_utc: The time of the last activity in the incident + :param pulumi.Input['IncidentOwnerInfoArgs'] owner: Describes a user that the incident is assigned to + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "title", title) + pulumi.set(__self__, "workspace_name", workspace_name) + if classification is not None: + pulumi.set(__self__, "classification", classification) + if classification_comment is not None: + pulumi.set(__self__, "classification_comment", classification_comment) + if classification_reason is not None: + pulumi.set(__self__, "classification_reason", classification_reason) + if description is not None: + pulumi.set(__self__, "description", description) + if first_activity_time_utc is not None: + pulumi.set(__self__, "first_activity_time_utc", first_activity_time_utc) + if incident_id is not None: + pulumi.set(__self__, "incident_id", incident_id) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if last_activity_time_utc is not None: + pulumi.set(__self__, "last_activity_time_utc", last_activity_time_utc) + if owner is not None: + pulumi.set(__self__, "owner", owner) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 severity(self) -> pulumi.Input[Union[str, 'IncidentSeverity']]: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[Union[str, 'IncidentSeverity']]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter + def status(self) -> pulumi.Input[Union[str, 'IncidentStatus']]: + """ + The status of the incident + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: pulumi.Input[Union[str, 'IncidentStatus']]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter + def title(self) -> pulumi.Input[str]: + """ + The title of the incident + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: pulumi.Input[str]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def classification(self) -> Optional[pulumi.Input[Union[str, 'IncidentClassification']]]: + """ + The reason the incident was closed + """ + return pulumi.get(self, "classification") + + @classification.setter + def classification(self, value: Optional[pulumi.Input[Union[str, 'IncidentClassification']]]): + pulumi.set(self, "classification", value) + + @property + @pulumi.getter(name="classificationComment") + def classification_comment(self) -> Optional[pulumi.Input[str]]: + """ + Describes the reason the incident was closed + """ + return pulumi.get(self, "classification_comment") + + @classification_comment.setter + def classification_comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "classification_comment", value) + + @property + @pulumi.getter(name="classificationReason") + def classification_reason(self) -> Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]]: + """ + The classification reason the incident was closed with + """ + return pulumi.get(self, "classification_reason") + + @classification_reason.setter + def classification_reason(self, value: Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]]): + pulumi.set(self, "classification_reason", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the incident + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="firstActivityTimeUtc") + def first_activity_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + The time of the first activity in the incident + """ + return pulumi.get(self, "first_activity_time_utc") + + @first_activity_time_utc.setter + def first_activity_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "first_activity_time_utc", value) + + @property + @pulumi.getter(name="incidentId") + def incident_id(self) -> Optional[pulumi.Input[str]]: + """ + Incident ID + """ + return pulumi.get(self, "incident_id") + + @incident_id.setter + def incident_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "incident_id", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]]]: + """ + List of labels relevant to this incident + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IncidentLabelArgs']]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter(name="lastActivityTimeUtc") + def last_activity_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + The time of the last activity in the incident + """ + return pulumi.get(self, "last_activity_time_utc") + + @last_activity_time_utc.setter + def last_activity_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_activity_time_utc", value) + + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input['IncidentOwnerInfoArgs']]: + """ + Describes a user that the incident is assigned to + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input['IncidentOwnerInfoArgs']]): + pulumi.set(self, "owner", value) + + +class Incident(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + classification: Optional[pulumi.Input[Union[str, 'IncidentClassification']]] = None, + classification_comment: Optional[pulumi.Input[str]] = None, + classification_reason: Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]] = None, + description: Optional[pulumi.Input[str]] = None, + first_activity_time_utc: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IncidentLabelArgs']]]]] = None, + last_activity_time_utc: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[pulumi.InputType['IncidentOwnerInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[Union[str, 'IncidentSeverity']]] = None, + status: Optional[pulumi.Input[Union[str, 'IncidentStatus']]] = None, + title: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a Incident resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'IncidentClassification']] classification: The reason the incident was closed + :param pulumi.Input[str] classification_comment: Describes the reason the incident was closed + :param pulumi.Input[Union[str, 'IncidentClassificationReason']] classification_reason: The classification reason the incident was closed with + :param pulumi.Input[str] description: The description of the incident + :param pulumi.Input[str] first_activity_time_utc: The time of the first activity in the incident + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IncidentLabelArgs']]]] labels: List of labels relevant to this incident + :param pulumi.Input[str] last_activity_time_utc: The time of the last activity in the incident + :param pulumi.Input[pulumi.InputType['IncidentOwnerInfoArgs']] owner: Describes a user that the incident is assigned to + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'IncidentSeverity']] severity: The severity of the incident + :param pulumi.Input[Union[str, 'IncidentStatus']] status: The status of the incident + :param pulumi.Input[str] title: The title of the incident + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IncidentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Incident resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param IncidentArgs 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(IncidentArgs, 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, + classification: Optional[pulumi.Input[Union[str, 'IncidentClassification']]] = None, + classification_comment: Optional[pulumi.Input[str]] = None, + classification_reason: Optional[pulumi.Input[Union[str, 'IncidentClassificationReason']]] = None, + description: Optional[pulumi.Input[str]] = None, + first_activity_time_utc: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['IncidentLabelArgs']]]]] = None, + last_activity_time_utc: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[pulumi.InputType['IncidentOwnerInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[Union[str, 'IncidentSeverity']]] = None, + status: Optional[pulumi.Input[Union[str, 'IncidentStatus']]] = None, + title: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IncidentArgs.__new__(IncidentArgs) + + __props__.__dict__["classification"] = classification + __props__.__dict__["classification_comment"] = classification_comment + __props__.__dict__["classification_reason"] = classification_reason + __props__.__dict__["description"] = description + __props__.__dict__["first_activity_time_utc"] = first_activity_time_utc + __props__.__dict__["incident_id"] = incident_id + __props__.__dict__["labels"] = labels + __props__.__dict__["last_activity_time_utc"] = last_activity_time_utc + __props__.__dict__["owner"] = owner + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if severity is None and not opts.urn: + raise TypeError("Missing required property 'severity'") + __props__.__dict__["severity"] = severity + if status is None and not opts.urn: + raise TypeError("Missing required property 'status'") + __props__.__dict__["status"] = status + if title is None and not opts.urn: + raise TypeError("Missing required property 'title'") + __props__.__dict__["title"] = title + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["additional_data"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["incident_number"] = None + __props__.__dict__["incident_url"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provider_incident_id"] = None + __props__.__dict__["provider_name"] = None + __props__.__dict__["related_analytic_rule_ids"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["team_information"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Incident"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Incident")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Incident, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Incident', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Incident': + """ + Get an existing Incident 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = IncidentArgs.__new__(IncidentArgs) + + __props__.__dict__["additional_data"] = None + __props__.__dict__["classification"] = None + __props__.__dict__["classification_comment"] = None + __props__.__dict__["classification_reason"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["description"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["first_activity_time_utc"] = None + __props__.__dict__["incident_number"] = None + __props__.__dict__["incident_url"] = None + __props__.__dict__["labels"] = None + __props__.__dict__["last_activity_time_utc"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["owner"] = None + __props__.__dict__["provider_incident_id"] = None + __props__.__dict__["provider_name"] = None + __props__.__dict__["related_analytic_rule_ids"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["team_information"] = None + __props__.__dict__["title"] = None + __props__.__dict__["type"] = None + return Incident(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="additionalData") + def additional_data(self) -> pulumi.Output['outputs.IncidentAdditionalDataResponse']: + """ + Additional data on the incident + """ + return pulumi.get(self, "additional_data") + + @property + @pulumi.getter + def classification(self) -> pulumi.Output[Optional[str]]: + """ + The reason the incident was closed + """ + return pulumi.get(self, "classification") + + @property + @pulumi.getter(name="classificationComment") + def classification_comment(self) -> pulumi.Output[Optional[str]]: + """ + Describes the reason the incident was closed + """ + return pulumi.get(self, "classification_comment") + + @property + @pulumi.getter(name="classificationReason") + def classification_reason(self) -> pulumi.Output[Optional[str]]: + """ + The classification reason the incident was closed with + """ + return pulumi.get(self, "classification_reason") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> pulumi.Output[str]: + """ + The time the incident was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the incident + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstActivityTimeUtc") + def first_activity_time_utc(self) -> pulumi.Output[Optional[str]]: + """ + The time of the first activity in the incident + """ + return pulumi.get(self, "first_activity_time_utc") + + @property + @pulumi.getter(name="incidentNumber") + def incident_number(self) -> pulumi.Output[int]: + """ + A sequential number + """ + return pulumi.get(self, "incident_number") + + @property + @pulumi.getter(name="incidentUrl") + def incident_url(self) -> pulumi.Output[str]: + """ + The deep-link url to the incident in Azure portal + """ + return pulumi.get(self, "incident_url") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Sequence['outputs.IncidentLabelResponse']]]: + """ + List of labels relevant to this incident + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter(name="lastActivityTimeUtc") + def last_activity_time_utc(self) -> pulumi.Output[Optional[str]]: + """ + The time of the last activity in the incident + """ + return pulumi.get(self, "last_activity_time_utc") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> pulumi.Output[str]: + """ + The last time the incident was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> pulumi.Output[Optional['outputs.IncidentOwnerInfoResponse']]: + """ + Describes a user that the incident is assigned to + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter(name="providerIncidentId") + def provider_incident_id(self) -> pulumi.Output[str]: + """ + The incident ID assigned by the incident provider + """ + return pulumi.get(self, "provider_incident_id") + + @property + @pulumi.getter(name="providerName") + def provider_name(self) -> pulumi.Output[str]: + """ + The name of the source provider that generated the incident + """ + return pulumi.get(self, "provider_name") + + @property + @pulumi.getter(name="relatedAnalyticRuleIds") + def related_analytic_rule_ids(self) -> pulumi.Output[Sequence[str]]: + """ + List of resource ids of Analytic rules related to the incident + """ + return pulumi.get(self, "related_analytic_rule_ids") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + The status of the incident + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="teamInformation") + def team_information(self) -> pulumi.Output[Optional['outputs.TeamInformationResponse']]: + """ + Describes a team for the incident + """ + return pulumi.get(self, "team_information") + + @property + @pulumi.getter + def title(self) -> pulumi.Output[str]: + """ + The title of the incident + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_comment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_comment.py new file mode 100644 index 000000000000..5e7d620f3e4c --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_comment.py @@ -0,0 +1,276 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['IncidentCommentArgs', 'IncidentComment'] + +@pulumi.input_type +class IncidentCommentArgs: + def __init__(__self__, *, + incident_id: pulumi.Input[str], + message: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + incident_comment_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a IncidentComment resource. + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[str] message: The comment message + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] incident_comment_id: Incident comment ID + """ + pulumi.set(__self__, "incident_id", incident_id) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if incident_comment_id is not None: + pulumi.set(__self__, "incident_comment_id", incident_comment_id) + + @property + @pulumi.getter(name="incidentId") + def incident_id(self) -> pulumi.Input[str]: + """ + Incident ID + """ + return pulumi.get(self, "incident_id") + + @incident_id.setter + def incident_id(self, value: pulumi.Input[str]): + pulumi.set(self, "incident_id", value) + + @property + @pulumi.getter + def message(self) -> pulumi.Input[str]: + """ + The comment message + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: pulumi.Input[str]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="incidentCommentId") + def incident_comment_id(self) -> Optional[pulumi.Input[str]]: + """ + Incident comment ID + """ + return pulumi.get(self, "incident_comment_id") + + @incident_comment_id.setter + def incident_comment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "incident_comment_id", value) + + +class IncidentComment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + incident_comment_id: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents an incident comment + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] incident_comment_id: Incident comment ID + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[str] message: The comment message + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IncidentCommentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents an incident comment + + :param str resource_name: The name of the resource. + :param IncidentCommentArgs 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(IncidentCommentArgs, 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, + incident_comment_id: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IncidentCommentArgs.__new__(IncidentCommentArgs) + + __props__.__dict__["incident_comment_id"] = incident_comment_id + if incident_id is None and not opts.urn: + raise TypeError("Missing required property 'incident_id'") + __props__.__dict__["incident_id"] = incident_id + if message is None and not opts.urn: + raise TypeError("Missing required property 'message'") + __props__.__dict__["message"] = message + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["author"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentComment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentComment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IncidentComment, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:IncidentComment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IncidentComment': + """ + Get an existing IncidentComment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = IncidentCommentArgs.__new__(IncidentCommentArgs) + + __props__.__dict__["author"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["message"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return IncidentComment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def author(self) -> pulumi.Output['outputs.ClientInfoResponse']: + """ + Describes the client that created the comment + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> pulumi.Output[str]: + """ + The time the comment was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> pulumi.Output[str]: + """ + The time the comment was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def message(self) -> pulumi.Output[str]: + """ + The comment message + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_relation.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_relation.py new file mode 100644 index 000000000000..ed1d35370d3d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_relation.py @@ -0,0 +1,276 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['IncidentRelationArgs', 'IncidentRelation'] + +@pulumi.input_type +class IncidentRelationArgs: + def __init__(__self__, *, + incident_id: pulumi.Input[str], + related_resource_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + relation_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a IncidentRelation resource. + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[str] related_resource_id: The resource ID of the related resource + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] relation_name: Relation Name + """ + pulumi.set(__self__, "incident_id", incident_id) + pulumi.set(__self__, "related_resource_id", related_resource_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if relation_name is not None: + pulumi.set(__self__, "relation_name", relation_name) + + @property + @pulumi.getter(name="incidentId") + def incident_id(self) -> pulumi.Input[str]: + """ + Incident ID + """ + return pulumi.get(self, "incident_id") + + @incident_id.setter + def incident_id(self, value: pulumi.Input[str]): + pulumi.set(self, "incident_id", value) + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> pulumi.Input[str]: + """ + The resource ID of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @related_resource_id.setter + def related_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "related_resource_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="relationName") + def relation_name(self) -> Optional[pulumi.Input[str]]: + """ + Relation Name + """ + return pulumi.get(self, "relation_name") + + @relation_name.setter + def relation_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "relation_name", value) + + +class IncidentRelation(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + incident_id: Optional[pulumi.Input[str]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a relation between two resources + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[str] related_resource_id: The resource ID of the related resource + :param pulumi.Input[str] relation_name: Relation Name + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IncidentRelationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a relation between two resources + + :param str resource_name: The name of the resource. + :param IncidentRelationArgs 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(IncidentRelationArgs, 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, + incident_id: Optional[pulumi.Input[str]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + relation_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IncidentRelationArgs.__new__(IncidentRelationArgs) + + if incident_id is None and not opts.urn: + raise TypeError("Missing required property 'incident_id'") + __props__.__dict__["incident_id"] = incident_id + if related_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'related_resource_id'") + __props__.__dict__["related_resource_id"] = related_resource_id + __props__.__dict__["relation_name"] = relation_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["related_resource_kind"] = None + __props__.__dict__["related_resource_name"] = None + __props__.__dict__["related_resource_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentRelation"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentRelation")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IncidentRelation, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:IncidentRelation', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IncidentRelation': + """ + Get an existing IncidentRelation 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = IncidentRelationArgs.__new__(IncidentRelationArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["related_resource_id"] = None + __props__.__dict__["related_resource_kind"] = None + __props__.__dict__["related_resource_name"] = None + __props__.__dict__["related_resource_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return IncidentRelation(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="relatedResourceId") + def related_resource_id(self) -> pulumi.Output[str]: + """ + The resource ID of the related resource + """ + return pulumi.get(self, "related_resource_id") + + @property + @pulumi.getter(name="relatedResourceKind") + def related_resource_kind(self) -> pulumi.Output[str]: + """ + The resource kind of the related resource + """ + return pulumi.get(self, "related_resource_kind") + + @property + @pulumi.getter(name="relatedResourceName") + def related_resource_name(self) -> pulumi.Output[str]: + """ + The name of the related resource + """ + return pulumi.get(self, "related_resource_name") + + @property + @pulumi.getter(name="relatedResourceType") + def related_resource_type(self) -> pulumi.Output[str]: + """ + The resource type of the related resource + """ + return pulumi.get(self, "related_resource_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_task.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_task.py new file mode 100644 index 000000000000..82b182db6b23 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/incident_task.py @@ -0,0 +1,375 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['IncidentTaskArgs', 'IncidentTask'] + +@pulumi.input_type +class IncidentTaskArgs: + def __init__(__self__, *, + incident_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + status: pulumi.Input[Union[str, 'IncidentTaskStatus']], + title: pulumi.Input[str], + workspace_name: pulumi.Input[str], + created_by: Optional[pulumi.Input['ClientInfoArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + incident_task_id: Optional[pulumi.Input[str]] = None, + last_modified_by: Optional[pulumi.Input['ClientInfoArgs']] = None): + """ + The set of arguments for constructing a IncidentTask resource. + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] title: The title of the task + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['ClientInfoArgs'] created_by: Information on the client (user or application) that made some action + :param pulumi.Input[str] description: The description of the task + :param pulumi.Input[str] incident_task_id: Incident task ID + :param pulumi.Input['ClientInfoArgs'] last_modified_by: Information on the client (user or application) that made some action + """ + pulumi.set(__self__, "incident_id", incident_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "title", title) + pulumi.set(__self__, "workspace_name", workspace_name) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if description is not None: + pulumi.set(__self__, "description", description) + if incident_task_id is not None: + pulumi.set(__self__, "incident_task_id", incident_task_id) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + + @property + @pulumi.getter(name="incidentId") + def incident_id(self) -> pulumi.Input[str]: + """ + Incident ID + """ + return pulumi.get(self, "incident_id") + + @incident_id.setter + def incident_id(self, value: pulumi.Input[str]): + pulumi.set(self, "incident_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 status(self) -> pulumi.Input[Union[str, 'IncidentTaskStatus']]: + return pulumi.get(self, "status") + + @status.setter + def status(self, value: pulumi.Input[Union[str, 'IncidentTaskStatus']]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter + def title(self) -> pulumi.Input[str]: + """ + The title of the task + """ + return pulumi.get(self, "title") + + @title.setter + def title(self, value: pulumi.Input[str]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input['ClientInfoArgs']]: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input['ClientInfoArgs']]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the task + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="incidentTaskId") + def incident_task_id(self) -> Optional[pulumi.Input[str]]: + """ + Incident task ID + """ + return pulumi.get(self, "incident_task_id") + + @incident_task_id.setter + def incident_task_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "incident_task_id", value) + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[pulumi.Input['ClientInfoArgs']]: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "last_modified_by") + + @last_modified_by.setter + def last_modified_by(self, value: Optional[pulumi.Input['ClientInfoArgs']]): + pulumi.set(self, "last_modified_by", value) + + +class IncidentTask(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['ClientInfoArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + incident_task_id: Optional[pulumi.Input[str]] = None, + last_modified_by: Optional[pulumi.Input[pulumi.InputType['ClientInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'IncidentTaskStatus']]] = None, + title: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a IncidentTask resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['ClientInfoArgs']] created_by: Information on the client (user or application) that made some action + :param pulumi.Input[str] description: The description of the task + :param pulumi.Input[str] incident_id: Incident ID + :param pulumi.Input[str] incident_task_id: Incident task ID + :param pulumi.Input[pulumi.InputType['ClientInfoArgs']] last_modified_by: Information on the client (user or application) that made some action + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] title: The title of the task + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IncidentTaskArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a IncidentTask resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param IncidentTaskArgs 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(IncidentTaskArgs, 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, + created_by: Optional[pulumi.Input[pulumi.InputType['ClientInfoArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + incident_id: Optional[pulumi.Input[str]] = None, + incident_task_id: Optional[pulumi.Input[str]] = None, + last_modified_by: Optional[pulumi.Input[pulumi.InputType['ClientInfoArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'IncidentTaskStatus']]] = None, + title: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IncidentTaskArgs.__new__(IncidentTaskArgs) + + __props__.__dict__["created_by"] = created_by + __props__.__dict__["description"] = description + if incident_id is None and not opts.urn: + raise TypeError("Missing required property 'incident_id'") + __props__.__dict__["incident_id"] = incident_id + __props__.__dict__["incident_task_id"] = incident_task_id + __props__.__dict__["last_modified_by"] = last_modified_by + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if status is None and not opts.urn: + raise TypeError("Missing required property 'status'") + __props__.__dict__["status"] = status + if title is None and not opts.urn: + raise TypeError("Missing required property 'title'") + __props__.__dict__["title"] = title + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IncidentTask"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IncidentTask")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IncidentTask, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:IncidentTask', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IncidentTask': + """ + Get an existing IncidentTask 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = IncidentTaskArgs.__new__(IncidentTaskArgs) + + __props__.__dict__["created_by"] = None + __props__.__dict__["created_time_utc"] = None + __props__.__dict__["description"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_by"] = None + __props__.__dict__["last_modified_time_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["title"] = None + __props__.__dict__["type"] = None + return IncidentTask(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output[Optional['outputs.ClientInfoResponse']]: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdTimeUtc") + def created_time_utc(self) -> pulumi.Output[str]: + """ + The time the task was created + """ + return pulumi.get(self, "created_time_utc") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the task + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> pulumi.Output[Optional['outputs.ClientInfoResponse']]: + """ + Information on the client (user or application) that made some action + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedTimeUtc") + def last_modified_time_utc(self) -> pulumi.Output[str]: + """ + The last time the task was updated + """ + return pulumi.get(self, "last_modified_time_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def title(self) -> pulumi.Output[str]: + """ + The title of the task + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/io_t_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/io_t_data_connector.py new file mode 100644 index 000000000000..c59c6fa2a3a5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/io_t_data_connector.py @@ -0,0 +1,289 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['IoTDataConnectorArgs', 'IoTDataConnector'] + +@pulumi.input_type +class IoTDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None, + subscription_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a IoTDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'IOT'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] subscription_id: The subscription id to connect to, and get the data from. + """ + pulumi.set(__self__, "kind", 'IOT') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'IOT'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + The subscription id to connect to, and get the data from. + """ + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + + +class IoTDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents IoT data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'IOT'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] subscription_id: The subscription id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IoTDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents IoT data connector. + + :param str resource_name: The name of the resource. + :param IoTDataConnectorArgs 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(IoTDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IoTDataConnectorArgs.__new__(IoTDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'IOT' + 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__["subscription_id"] = subscription_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:IoTDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:IoTDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(IoTDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:IoTDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'IoTDataConnector': + """ + Get an existing IoTDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = IoTDataConnectorArgs.__new__(IoTDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["subscription_id"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return IoTDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'IOT'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> pulumi.Output[Optional[str]]: + """ + The subscription id to connect to, and get the data from. + """ + return pulumi.get(self, "subscription_id") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/list_source_control_repositories.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/list_source_control_repositories.py new file mode 100644 index 000000000000..e113e7239406 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/list_source_control_repositories.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListSourceControlRepositoriesResult', + 'AwaitableListSourceControlRepositoriesResult', + 'list_source_control_repositories', + 'list_source_control_repositories_output', +] + +@pulumi.output_type +class ListSourceControlRepositoriesResult: + """ + List all the source controls. + """ + def __init__(__self__, next_link=None, value=None): + if next_link and not isinstance(next_link, str): + raise TypeError("Expected argument 'next_link' to be a str") + pulumi.set(__self__, "next_link", next_link) + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="nextLink") + def next_link(self) -> str: + """ + URL to fetch the next set of repositories. + """ + return pulumi.get(self, "next_link") + + @property + @pulumi.getter + def value(self) -> Sequence['outputs.RepoResponse']: + """ + Array of repositories. + """ + return pulumi.get(self, "value") + + +class AwaitableListSourceControlRepositoriesResult(ListSourceControlRepositoriesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListSourceControlRepositoriesResult( + next_link=self.next_link, + value=self.value) + + +def list_source_control_repositories(resource_group_name: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListSourceControlRepositoriesResult: + """ + Gets a list of repositories metadata. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['workspaceName'] = workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:securityinsights/v20230901preview:listSourceControlRepositories', __args__, opts=opts, typ=ListSourceControlRepositoriesResult).value + + return AwaitableListSourceControlRepositoriesResult( + next_link=pulumi.get(__ret__, 'next_link'), + value=pulumi.get(__ret__, 'value')) + + +@_utilities.lift_output_func(list_source_control_repositories) +def list_source_control_repositories_output(resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListSourceControlRepositoriesResult]: + """ + Gets a list of repositories metadata. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str workspace_name: The name of the workspace. + """ + ... diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mcas_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mcas_data_connector.py new file mode 100644 index 000000000000..b66636a0d06e --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mcas_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MCASDataConnectorArgs', 'MCASDataConnector'] + +@pulumi.input_type +class MCASDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['MCASDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MCASDataConnector resource. + :param pulumi.Input['MCASDataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftCloudAppSecurity'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'MicrosoftCloudAppSecurity') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['MCASDataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['MCASDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftCloudAppSecurity'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class MCASDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MCASDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents MCAS (Microsoft Cloud App Security) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['MCASDataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftCloudAppSecurity'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MCASDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents MCAS (Microsoft Cloud App Security) data connector. + + :param str resource_name: The name of the resource. + :param MCASDataConnectorArgs 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(MCASDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MCASDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MCASDataConnectorArgs.__new__(MCASDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MicrosoftCloudAppSecurity' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MCASDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MCASDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MCASDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MCASDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MCASDataConnector': + """ + Get an existing MCASDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MCASDataConnectorArgs.__new__(MCASDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return MCASDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.MCASDataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftCloudAppSecurity'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mdatp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mdatp_data_connector.py new file mode 100644 index 000000000000..e8c529fdc584 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mdatp_data_connector.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MDATPDataConnectorArgs', 'MDATPDataConnector'] + +@pulumi.input_type +class MDATPDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None): + """ + The set of arguments for constructing a MDATPDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + """ + pulumi.set(__self__, "kind", 'MicrosoftDefenderAdvancedThreatProtection') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + +class MDATPDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MDATPDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param MDATPDataConnectorArgs 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(MDATPDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MDATPDataConnectorArgs.__new__(MDATPDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MicrosoftDefenderAdvancedThreatProtection' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MDATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MDATPDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MDATPDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MDATPDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MDATPDataConnector': + """ + Get an existing MDATPDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MDATPDataConnectorArgs.__new__(MDATPDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return MDATPDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftDefenderAdvancedThreatProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/metadata.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/metadata.py new file mode 100644 index 000000000000..4b71f8d7f025 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/metadata.py @@ -0,0 +1,750 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MetadataArgs', 'Metadata'] + +@pulumi.input_type +class MetadataArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + parent_id: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + author: Optional[pulumi.Input['MetadataAuthorArgs']] = None, + categories: Optional[pulumi.Input['MetadataCategoriesArgs']] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + custom_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input['MetadataDependenciesArgs']] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + metadata_name: Optional[pulumi.Input[str]] = None, + preview_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preview_images_dark: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input['MetadataSourceArgs']] = None, + support: Optional[pulumi.Input['MetadataSupportArgs']] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Metadata resource. + :param pulumi.Input[str] kind: The kind of content the metadata is for. + :param pulumi.Input[str] parent_id: Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['MetadataAuthorArgs'] author: The creator of the content item. + :param pulumi.Input['MetadataCategoriesArgs'] categories: Categories for the solution content item + :param pulumi.Input[str] content_id: Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + :param pulumi.Input[str] content_schema_version: Schema version of the content. Can be used to distinguish between different flow based on the schema version + :param pulumi.Input[str] custom_version: The custom version of the content. A optional free text + :param pulumi.Input['MetadataDependenciesArgs'] dependencies: Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + :param pulumi.Input[str] first_publish_date: first publish date solution content item + :param pulumi.Input[str] icon: the icon identifier. this id can later be fetched from the solution template + :param pulumi.Input[str] last_publish_date: last publish date for the solution content item + :param pulumi.Input[str] metadata_name: The Metadata name. + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images: preview image file names. These will be taken from the solution artifacts + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images_dark: preview image file names. These will be taken from the solution artifacts. used for dark theme support + :param pulumi.Input[Sequence[pulumi.Input[str]]] providers: Providers for the solution content item + :param pulumi.Input['MetadataSourceArgs'] source: Source of the content. This is where/how it was created. + :param pulumi.Input['MetadataSupportArgs'] support: Support information for the metadata - type, name, contact information + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_tactics: the tactics the resource covers + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_techniques: the techniques the resource covers, these have to be aligned with the tactics being used + :param pulumi.Input[str] version: Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + """ + pulumi.set(__self__, "kind", kind) + pulumi.set(__self__, "parent_id", parent_id) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if author is not None: + pulumi.set(__self__, "author", author) + if categories is not None: + pulumi.set(__self__, "categories", categories) + if content_id is not None: + pulumi.set(__self__, "content_id", content_id) + if content_schema_version is not None: + pulumi.set(__self__, "content_schema_version", content_schema_version) + if custom_version is not None: + pulumi.set(__self__, "custom_version", custom_version) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + if first_publish_date is not None: + pulumi.set(__self__, "first_publish_date", first_publish_date) + if icon is not None: + pulumi.set(__self__, "icon", icon) + if last_publish_date is not None: + pulumi.set(__self__, "last_publish_date", last_publish_date) + if metadata_name is not None: + pulumi.set(__self__, "metadata_name", metadata_name) + if preview_images is not None: + pulumi.set(__self__, "preview_images", preview_images) + if preview_images_dark is not None: + pulumi.set(__self__, "preview_images_dark", preview_images_dark) + if providers is not None: + pulumi.set(__self__, "providers", providers) + if source is not None: + pulumi.set(__self__, "source", source) + if support is not None: + pulumi.set(__self__, "support", support) + if threat_analysis_tactics is not None: + pulumi.set(__self__, "threat_analysis_tactics", threat_analysis_tactics) + if threat_analysis_techniques is not None: + pulumi.set(__self__, "threat_analysis_techniques", threat_analysis_techniques) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of content the metadata is for. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="parentId") + def parent_id(self) -> pulumi.Input[str]: + """ + Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + """ + return pulumi.get(self, "parent_id") + + @parent_id.setter + def parent_id(self, value: pulumi.Input[str]): + pulumi.set(self, "parent_id", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def author(self) -> Optional[pulumi.Input['MetadataAuthorArgs']]: + """ + The creator of the content item. + """ + return pulumi.get(self, "author") + + @author.setter + def author(self, value: Optional[pulumi.Input['MetadataAuthorArgs']]): + pulumi.set(self, "author", value) + + @property + @pulumi.getter + def categories(self) -> Optional[pulumi.Input['MetadataCategoriesArgs']]: + """ + Categories for the solution content item + """ + return pulumi.get(self, "categories") + + @categories.setter + def categories(self, value: Optional[pulumi.Input['MetadataCategoriesArgs']]): + pulumi.set(self, "categories", value) + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> Optional[pulumi.Input[str]]: + """ + Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + """ + return pulumi.get(self, "content_id") + + @content_id.setter + def content_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_id", value) + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> Optional[pulumi.Input[str]]: + """ + Schema version of the content. Can be used to distinguish between different flow based on the schema version + """ + return pulumi.get(self, "content_schema_version") + + @content_schema_version.setter + def content_schema_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_schema_version", value) + + @property + @pulumi.getter(name="customVersion") + def custom_version(self) -> Optional[pulumi.Input[str]]: + """ + The custom version of the content. A optional free text + """ + return pulumi.get(self, "custom_version") + + @custom_version.setter + def custom_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_version", value) + + @property + @pulumi.getter + def dependencies(self) -> Optional[pulumi.Input['MetadataDependenciesArgs']]: + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + """ + return pulumi.get(self, "dependencies") + + @dependencies.setter + def dependencies(self, value: Optional[pulumi.Input['MetadataDependenciesArgs']]): + pulumi.set(self, "dependencies", value) + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> Optional[pulumi.Input[str]]: + """ + first publish date solution content item + """ + return pulumi.get(self, "first_publish_date") + + @first_publish_date.setter + def first_publish_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "first_publish_date", value) + + @property + @pulumi.getter + def icon(self) -> Optional[pulumi.Input[str]]: + """ + the icon identifier. this id can later be fetched from the solution template + """ + return pulumi.get(self, "icon") + + @icon.setter + def icon(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "icon", value) + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> Optional[pulumi.Input[str]]: + """ + last publish date for the solution content item + """ + return pulumi.get(self, "last_publish_date") + + @last_publish_date.setter + def last_publish_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_publish_date", value) + + @property + @pulumi.getter(name="metadataName") + def metadata_name(self) -> Optional[pulumi.Input[str]]: + """ + The Metadata name. + """ + return pulumi.get(self, "metadata_name") + + @metadata_name.setter + def metadata_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metadata_name", value) + + @property + @pulumi.getter(name="previewImages") + def preview_images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + preview image file names. These will be taken from the solution artifacts + """ + return pulumi.get(self, "preview_images") + + @preview_images.setter + def preview_images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "preview_images", value) + + @property + @pulumi.getter(name="previewImagesDark") + def preview_images_dark(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + preview image file names. These will be taken from the solution artifacts. used for dark theme support + """ + return pulumi.get(self, "preview_images_dark") + + @preview_images_dark.setter + def preview_images_dark(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "preview_images_dark", value) + + @property + @pulumi.getter + def providers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Providers for the solution content item + """ + return pulumi.get(self, "providers") + + @providers.setter + def providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "providers", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input['MetadataSourceArgs']]: + """ + Source of the content. This is where/how it was created. + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input['MetadataSourceArgs']]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter + def support(self) -> Optional[pulumi.Input['MetadataSupportArgs']]: + """ + Support information for the metadata - type, name, contact information + """ + return pulumi.get(self, "support") + + @support.setter + def support(self, value: Optional[pulumi.Input['MetadataSupportArgs']]): + pulumi.set(self, "support", value) + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @threat_analysis_tactics.setter + def threat_analysis_tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_analysis_tactics", value) + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @threat_analysis_techniques.setter + def threat_analysis_techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_analysis_techniques", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[str]]: + """ + Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "version", value) + + +class Metadata(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + author: Optional[pulumi.Input[pulumi.InputType['MetadataAuthorArgs']]] = None, + categories: Optional[pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']]] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + custom_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + metadata_name: Optional[pulumi.Input[str]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + preview_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preview_images_dark: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[pulumi.InputType['MetadataSourceArgs']]] = None, + support: Optional[pulumi.Input[pulumi.InputType['MetadataSupportArgs']]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Metadata resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['MetadataAuthorArgs']] author: The creator of the content item. + :param pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']] categories: Categories for the solution content item + :param pulumi.Input[str] content_id: Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + :param pulumi.Input[str] content_schema_version: Schema version of the content. Can be used to distinguish between different flow based on the schema version + :param pulumi.Input[str] custom_version: The custom version of the content. A optional free text + :param pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']] dependencies: Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + :param pulumi.Input[str] first_publish_date: first publish date solution content item + :param pulumi.Input[str] icon: the icon identifier. this id can later be fetched from the solution template + :param pulumi.Input[str] kind: The kind of content the metadata is for. + :param pulumi.Input[str] last_publish_date: last publish date for the solution content item + :param pulumi.Input[str] metadata_name: The Metadata name. + :param pulumi.Input[str] parent_id: Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images: preview image file names. These will be taken from the solution artifacts + :param pulumi.Input[Sequence[pulumi.Input[str]]] preview_images_dark: preview image file names. These will be taken from the solution artifacts. used for dark theme support + :param pulumi.Input[Sequence[pulumi.Input[str]]] providers: Providers for the solution content item + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['MetadataSourceArgs']] source: Source of the content. This is where/how it was created. + :param pulumi.Input[pulumi.InputType['MetadataSupportArgs']] support: Support information for the metadata - type, name, contact information + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_tactics: the tactics the resource covers + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_analysis_techniques: the techniques the resource covers, these have to be aligned with the tactics being used + :param pulumi.Input[str] version: Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MetadataArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Metadata resource definition. + + :param str resource_name: The name of the resource. + :param MetadataArgs 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(MetadataArgs, 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, + author: Optional[pulumi.Input[pulumi.InputType['MetadataAuthorArgs']]] = None, + categories: Optional[pulumi.Input[pulumi.InputType['MetadataCategoriesArgs']]] = None, + content_id: Optional[pulumi.Input[str]] = None, + content_schema_version: Optional[pulumi.Input[str]] = None, + custom_version: Optional[pulumi.Input[str]] = None, + dependencies: Optional[pulumi.Input[pulumi.InputType['MetadataDependenciesArgs']]] = None, + first_publish_date: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + last_publish_date: Optional[pulumi.Input[str]] = None, + metadata_name: Optional[pulumi.Input[str]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + preview_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preview_images_dark: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + providers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[pulumi.InputType['MetadataSourceArgs']]] = None, + support: Optional[pulumi.Input[pulumi.InputType['MetadataSupportArgs']]] = None, + threat_analysis_tactics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_analysis_techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MetadataArgs.__new__(MetadataArgs) + + __props__.__dict__["author"] = author + __props__.__dict__["categories"] = categories + __props__.__dict__["content_id"] = content_id + __props__.__dict__["content_schema_version"] = content_schema_version + __props__.__dict__["custom_version"] = custom_version + __props__.__dict__["dependencies"] = dependencies + __props__.__dict__["first_publish_date"] = first_publish_date + __props__.__dict__["icon"] = icon + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = kind + __props__.__dict__["last_publish_date"] = last_publish_date + __props__.__dict__["metadata_name"] = metadata_name + if parent_id is None and not opts.urn: + raise TypeError("Missing required property 'parent_id'") + __props__.__dict__["parent_id"] = parent_id + __props__.__dict__["preview_images"] = preview_images + __props__.__dict__["preview_images_dark"] = preview_images_dark + __props__.__dict__["providers"] = providers + 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__["source"] = source + __props__.__dict__["support"] = support + __props__.__dict__["threat_analysis_tactics"] = threat_analysis_tactics + __props__.__dict__["threat_analysis_techniques"] = threat_analysis_techniques + __props__.__dict__["version"] = version + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Metadata"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Metadata")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Metadata, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Metadata', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Metadata': + """ + Get an existing Metadata 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MetadataArgs.__new__(MetadataArgs) + + __props__.__dict__["author"] = None + __props__.__dict__["categories"] = None + __props__.__dict__["content_id"] = None + __props__.__dict__["content_schema_version"] = None + __props__.__dict__["custom_version"] = None + __props__.__dict__["dependencies"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["first_publish_date"] = None + __props__.__dict__["icon"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_publish_date"] = None + __props__.__dict__["name"] = None + __props__.__dict__["parent_id"] = None + __props__.__dict__["preview_images"] = None + __props__.__dict__["preview_images_dark"] = None + __props__.__dict__["providers"] = None + __props__.__dict__["source"] = None + __props__.__dict__["support"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["threat_analysis_tactics"] = None + __props__.__dict__["threat_analysis_techniques"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + return Metadata(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def author(self) -> pulumi.Output[Optional['outputs.MetadataAuthorResponse']]: + """ + The creator of the content item. + """ + return pulumi.get(self, "author") + + @property + @pulumi.getter + def categories(self) -> pulumi.Output[Optional['outputs.MetadataCategoriesResponse']]: + """ + Categories for the solution content item + """ + return pulumi.get(self, "categories") + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> pulumi.Output[Optional[str]]: + """ + Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter(name="contentSchemaVersion") + def content_schema_version(self) -> pulumi.Output[Optional[str]]: + """ + Schema version of the content. Can be used to distinguish between different flow based on the schema version + """ + return pulumi.get(self, "content_schema_version") + + @property + @pulumi.getter(name="customVersion") + def custom_version(self) -> pulumi.Output[Optional[str]]: + """ + The custom version of the content. A optional free text + """ + return pulumi.get(self, "custom_version") + + @property + @pulumi.getter + def dependencies(self) -> pulumi.Output[Optional['outputs.MetadataDependenciesResponse']]: + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. + """ + return pulumi.get(self, "dependencies") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="firstPublishDate") + def first_publish_date(self) -> pulumi.Output[Optional[str]]: + """ + first publish date solution content item + """ + return pulumi.get(self, "first_publish_date") + + @property + @pulumi.getter + def icon(self) -> pulumi.Output[Optional[str]]: + """ + the icon identifier. this id can later be fetched from the solution template + """ + return pulumi.get(self, "icon") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of content the metadata is for. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastPublishDate") + def last_publish_date(self) -> pulumi.Output[Optional[str]]: + """ + last publish date for the solution content item + """ + return pulumi.get(self, "last_publish_date") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="parentId") + def parent_id(self) -> pulumi.Output[str]: + """ + Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) + """ + return pulumi.get(self, "parent_id") + + @property + @pulumi.getter(name="previewImages") + def preview_images(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + preview image file names. These will be taken from the solution artifacts + """ + return pulumi.get(self, "preview_images") + + @property + @pulumi.getter(name="previewImagesDark") + def preview_images_dark(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + preview image file names. These will be taken from the solution artifacts. used for dark theme support + """ + return pulumi.get(self, "preview_images_dark") + + @property + @pulumi.getter + def providers(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + Providers for the solution content item + """ + return pulumi.get(self, "providers") + + @property + @pulumi.getter + def source(self) -> pulumi.Output[Optional['outputs.MetadataSourceResponse']]: + """ + Source of the content. This is where/how it was created. + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter + def support(self) -> pulumi.Output[Optional['outputs.MetadataSupportResponse']]: + """ + Support information for the metadata - type, name, contact information + """ + return pulumi.get(self, "support") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="threatAnalysisTactics") + def threat_analysis_tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the tactics the resource covers + """ + return pulumi.get(self, "threat_analysis_tactics") + + @property + @pulumi.getter(name="threatAnalysisTechniques") + def threat_analysis_techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the techniques the resource covers, these have to be aligned with the tactics being used + """ + return pulumi.get(self, "threat_analysis_techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[Optional[str]]: + """ + Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/microsoft_purview_information_protection_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/microsoft_purview_information_protection_data_connector.py new file mode 100644 index 000000000000..cd548568f84a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/microsoft_purview_information_protection_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MicrosoftPurviewInformationProtectionDataConnectorArgs', 'MicrosoftPurviewInformationProtectionDataConnector'] + +@pulumi.input_type +class MicrosoftPurviewInformationProtectionDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MicrosoftPurviewInformationProtectionDataConnector resource. + :param pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftPurviewInformationProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'MicrosoftPurviewInformationProtection') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftPurviewInformationProtection'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class MicrosoftPurviewInformationProtectionDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Microsoft Purview Information Protection data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftPurviewInformationProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MicrosoftPurviewInformationProtectionDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Microsoft Purview Information Protection data connector. + + :param str resource_name: The name of the resource. + :param MicrosoftPurviewInformationProtectionDataConnectorArgs 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(MicrosoftPurviewInformationProtectionDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MicrosoftPurviewInformationProtectionConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MicrosoftPurviewInformationProtectionDataConnectorArgs.__new__(MicrosoftPurviewInformationProtectionDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MicrosoftPurviewInformationProtection' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftPurviewInformationProtectionDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftPurviewInformationProtectionDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MicrosoftPurviewInformationProtectionDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MicrosoftPurviewInformationProtectionDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MicrosoftPurviewInformationProtectionDataConnector': + """ + Get an existing MicrosoftPurviewInformationProtectionDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MicrosoftPurviewInformationProtectionDataConnectorArgs.__new__(MicrosoftPurviewInformationProtectionDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return MicrosoftPurviewInformationProtectionDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftPurviewInformationProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/microsoft_security_incident_creation_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/microsoft_security_incident_creation_alert_rule.py new file mode 100644 index 000000000000..0cc03d3203bb --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/microsoft_security_incident_creation_alert_rule.py @@ -0,0 +1,475 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['MicrosoftSecurityIncidentCreationAlertRuleArgs', 'MicrosoftSecurityIncidentCreationAlertRule'] + +@pulumi.input_type +class MicrosoftSecurityIncidentCreationAlertRuleArgs: + def __init__(__self__, *, + display_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + kind: pulumi.Input[str], + product_filter: pulumi.Input[Union[str, 'MicrosoftSecurityProductName']], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_names_exclude_filter: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_names_filter: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + severities_filter: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]]] = None): + """ + The set of arguments for constructing a MicrosoftSecurityIncidentCreationAlertRule resource. + :param pulumi.Input[str] display_name: The display name for alerts created by this alert rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'MicrosoftSecurityIncidentCreation'. + :param pulumi.Input[Union[str, 'MicrosoftSecurityProductName']] product_filter: The alerts' productName on which the cases will be generated + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[str] description: The description of the alert rule. + :param pulumi.Input[Sequence[pulumi.Input[str]]] display_names_exclude_filter: the alerts' displayNames on which the cases will not be generated + :param pulumi.Input[Sequence[pulumi.Input[str]]] display_names_filter: the alerts' displayNames on which the cases will be generated + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]] severities_filter: the alerts' severities on which the cases will be generated + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "kind", 'MicrosoftSecurityIncidentCreation') + pulumi.set(__self__, "product_filter", product_filter) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if alert_rule_template_name is not None: + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if description is not None: + pulumi.set(__self__, "description", description) + if display_names_exclude_filter is not None: + pulumi.set(__self__, "display_names_exclude_filter", display_names_exclude_filter) + if display_names_filter is not None: + pulumi.set(__self__, "display_names_filter", display_names_filter) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if severities_filter is not None: + pulumi.set(__self__, "severities_filter", severities_filter) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the alert rule + Expected value is 'MicrosoftSecurityIncidentCreation'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="productFilter") + def product_filter(self) -> pulumi.Input[Union[str, 'MicrosoftSecurityProductName']]: + """ + The alerts' productName on which the cases will be generated + """ + return pulumi.get(self, "product_filter") + + @product_filter.setter + def product_filter(self, value: pulumi.Input[Union[str, 'MicrosoftSecurityProductName']]): + pulumi.set(self, "product_filter", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> Optional[pulumi.Input[str]]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @alert_rule_template_name.setter + def alert_rule_template_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_rule_template_name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayNamesExcludeFilter") + def display_names_exclude_filter(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the alerts' displayNames on which the cases will not be generated + """ + return pulumi.get(self, "display_names_exclude_filter") + + @display_names_exclude_filter.setter + def display_names_exclude_filter(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "display_names_exclude_filter", value) + + @property + @pulumi.getter(name="displayNamesFilter") + def display_names_filter(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the alerts' displayNames on which the cases will be generated + """ + return pulumi.get(self, "display_names_filter") + + @display_names_filter.setter + def display_names_filter(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "display_names_filter", value) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) + + @property + @pulumi.getter(name="severitiesFilter") + def severities_filter(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]]]: + """ + the alerts' severities on which the cases will be generated + """ + return pulumi.get(self, "severities_filter") + + @severities_filter.setter + def severities_filter(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]]]): + pulumi.set(self, "severities_filter", value) + + +class MicrosoftSecurityIncidentCreationAlertRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + display_names_exclude_filter: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_names_filter: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + product_filter: Optional[pulumi.Input[Union[str, 'MicrosoftSecurityProductName']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + severities_filter: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents MicrosoftSecurityIncidentCreation rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[str] description: The description of the alert rule. + :param pulumi.Input[str] display_name: The display name for alerts created by this alert rule. + :param pulumi.Input[Sequence[pulumi.Input[str]]] display_names_exclude_filter: the alerts' displayNames on which the cases will not be generated + :param pulumi.Input[Sequence[pulumi.Input[str]]] display_names_filter: the alerts' displayNames on which the cases will be generated + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'MicrosoftSecurityIncidentCreation'. + :param pulumi.Input[Union[str, 'MicrosoftSecurityProductName']] product_filter: The alerts' productName on which the cases will be generated + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]] severities_filter: the alerts' severities on which the cases will be generated + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MicrosoftSecurityIncidentCreationAlertRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents MicrosoftSecurityIncidentCreation rule. + + :param str resource_name: The name of the resource. + :param MicrosoftSecurityIncidentCreationAlertRuleArgs 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(MicrosoftSecurityIncidentCreationAlertRuleArgs, 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, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + display_names_exclude_filter: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_names_filter: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + product_filter: Optional[pulumi.Input[Union[str, 'MicrosoftSecurityProductName']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + severities_filter: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AlertSeverity']]]]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MicrosoftSecurityIncidentCreationAlertRuleArgs.__new__(MicrosoftSecurityIncidentCreationAlertRuleArgs) + + __props__.__dict__["alert_rule_template_name"] = alert_rule_template_name + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["display_names_exclude_filter"] = display_names_exclude_filter + __props__.__dict__["display_names_filter"] = display_names_filter + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MicrosoftSecurityIncidentCreation' + if product_filter is None and not opts.urn: + raise TypeError("Missing required property 'product_filter'") + __props__.__dict__["product_filter"] = product_filter + 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__["rule_id"] = rule_id + __props__.__dict__["severities_filter"] = severities_filter + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MicrosoftSecurityIncidentCreationAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MicrosoftSecurityIncidentCreationAlertRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MicrosoftSecurityIncidentCreationAlertRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MicrosoftSecurityIncidentCreationAlertRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MicrosoftSecurityIncidentCreationAlertRule': + """ + Get an existing MicrosoftSecurityIncidentCreationAlertRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MicrosoftSecurityIncidentCreationAlertRuleArgs.__new__(MicrosoftSecurityIncidentCreationAlertRuleArgs) + + __props__.__dict__["alert_rule_template_name"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["display_names_exclude_filter"] = None + __props__.__dict__["display_names_filter"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["product_filter"] = None + __props__.__dict__["severities_filter"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return MicrosoftSecurityIncidentCreationAlertRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Output[Optional[str]]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="displayNamesExcludeFilter") + def display_names_exclude_filter(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the alerts' displayNames on which the cases will not be generated + """ + return pulumi.get(self, "display_names_exclude_filter") + + @property + @pulumi.getter(name="displayNamesFilter") + def display_names_filter(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the alerts' displayNames on which the cases will be generated + """ + return pulumi.get(self, "display_names_filter") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the alert rule + Expected value is 'MicrosoftSecurityIncidentCreation'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this alert has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="productFilter") + def product_filter(self) -> pulumi.Output[str]: + """ + The alerts' productName on which the cases will be generated + """ + return pulumi.get(self, "product_filter") + + @property + @pulumi.getter(name="severitiesFilter") + def severities_filter(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + the alerts' severities on which the cases will be generated + """ + return pulumi.get(self, "severities_filter") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ml_behavior_analytics_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ml_behavior_analytics_alert_rule.py new file mode 100644 index 000000000000..58a9985a3252 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ml_behavior_analytics_alert_rule.py @@ -0,0 +1,349 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['MLBehaviorAnalyticsAlertRuleArgs', 'MLBehaviorAnalyticsAlertRule'] + +@pulumi.input_type +class MLBehaviorAnalyticsAlertRuleArgs: + def __init__(__self__, *, + alert_rule_template_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + rule_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MLBehaviorAnalyticsAlertRule resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'MLBehaviorAnalytics'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] rule_id: Alert rule ID + """ + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "kind", 'MLBehaviorAnalytics') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Input[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @alert_rule_template_name.setter + def alert_rule_template_name(self, value: pulumi.Input[str]): + pulumi.set(self, "alert_rule_template_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the alert rule + Expected value is 'MLBehaviorAnalytics'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) + + +class MLBehaviorAnalyticsAlertRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents MLBehaviorAnalytics alert rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'MLBehaviorAnalytics'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MLBehaviorAnalyticsAlertRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents MLBehaviorAnalytics alert rule. + + :param str resource_name: The name of the resource. + :param MLBehaviorAnalyticsAlertRuleArgs 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(MLBehaviorAnalyticsAlertRuleArgs, 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, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MLBehaviorAnalyticsAlertRuleArgs.__new__(MLBehaviorAnalyticsAlertRuleArgs) + + if alert_rule_template_name is None and not opts.urn: + raise TypeError("Missing required property 'alert_rule_template_name'") + __props__.__dict__["alert_rule_template_name"] = alert_rule_template_name + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MLBehaviorAnalytics' + 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__["rule_id"] = rule_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MLBehaviorAnalyticsAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MLBehaviorAnalyticsAlertRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MLBehaviorAnalyticsAlertRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MLBehaviorAnalyticsAlertRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MLBehaviorAnalyticsAlertRule': + """ + Get an existing MLBehaviorAnalyticsAlertRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MLBehaviorAnalyticsAlertRuleArgs.__new__(MLBehaviorAnalyticsAlertRuleArgs) + + __props__.__dict__["alert_rule_template_name"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + return MLBehaviorAnalyticsAlertRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Output[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the alert rule + Expected value is 'MLBehaviorAnalytics'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this alert rule has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Sequence[str]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Sequence[str]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/msti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/msti_data_connector.py new file mode 100644 index 000000000000..469e144bbd04 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/msti_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MSTIDataConnectorArgs', 'MSTIDataConnector'] + +@pulumi.input_type +class MSTIDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['MSTIDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MSTIDataConnector resource. + :param pulumi.Input['MSTIDataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftThreatIntelligence'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'MicrosoftThreatIntelligence') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['MSTIDataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['MSTIDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class MSTIDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MSTIDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Microsoft Threat Intelligence data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['MSTIDataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftThreatIntelligence'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MSTIDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Microsoft Threat Intelligence data connector. + + :param str resource_name: The name of the resource. + :param MSTIDataConnectorArgs 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(MSTIDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MSTIDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MSTIDataConnectorArgs.__new__(MSTIDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MicrosoftThreatIntelligence' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MSTIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MSTIDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MSTIDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MSTIDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MSTIDataConnector': + """ + Get an existing MSTIDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MSTIDataConnectorArgs.__new__(MSTIDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return MSTIDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.MSTIDataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mtp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mtp_data_connector.py new file mode 100644 index 000000000000..e0fbbfe20626 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/mtp_data_connector.py @@ -0,0 +1,320 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MTPDataConnectorArgs', 'MTPDataConnector'] + +@pulumi.input_type +class MTPDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['MTPDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + filtered_providers: Optional[pulumi.Input['MtpFilteredProvidersArgs']] = None): + """ + The set of arguments for constructing a MTPDataConnector resource. + :param pulumi.Input['MTPDataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftThreatProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['MtpFilteredProvidersArgs'] filtered_providers: The available filtered providers for the connector. + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'MicrosoftThreatProtection') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if filtered_providers is not None: + pulumi.set(__self__, "filtered_providers", filtered_providers) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['MTPDataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['MTPDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftThreatProtection'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="filteredProviders") + def filtered_providers(self) -> Optional[pulumi.Input['MtpFilteredProvidersArgs']]: + """ + The available filtered providers for the connector. + """ + return pulumi.get(self, "filtered_providers") + + @filtered_providers.setter + def filtered_providers(self, value: Optional[pulumi.Input['MtpFilteredProvidersArgs']]): + pulumi.set(self, "filtered_providers", value) + + +class MTPDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MTPDataConnectorDataTypesArgs']]] = None, + filtered_providers: Optional[pulumi.Input[pulumi.InputType['MtpFilteredProvidersArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents MTP (Microsoft Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['MTPDataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[pulumi.InputType['MtpFilteredProvidersArgs']] filtered_providers: The available filtered providers for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'MicrosoftThreatProtection'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MTPDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents MTP (Microsoft Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param MTPDataConnectorArgs 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(MTPDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['MTPDataConnectorDataTypesArgs']]] = None, + filtered_providers: Optional[pulumi.Input[pulumi.InputType['MtpFilteredProvidersArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MTPDataConnectorArgs.__new__(MTPDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + __props__.__dict__["filtered_providers"] = filtered_providers + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'MicrosoftThreatProtection' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:MTPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:MTPDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MTPDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:MTPDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MTPDataConnector': + """ + Get an existing MTPDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MTPDataConnectorArgs.__new__(MTPDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["filtered_providers"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return MTPDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.MTPDataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="filteredProviders") + def filtered_providers(self) -> pulumi.Output[Optional['outputs.MtpFilteredProvidersResponse']]: + """ + The available filtered providers for the connector. + """ + return pulumi.get(self, "filtered_providers") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'MicrosoftThreatProtection'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/nrt_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/nrt_alert_rule.py new file mode 100644 index 000000000000..0bf1ebd87eb9 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/nrt_alert_rule.py @@ -0,0 +1,740 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['NrtAlertRuleArgs', 'NrtAlertRule'] + +@pulumi.input_type +class NrtAlertRuleArgs: + def __init__(__self__, *, + display_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + kind: pulumi.Input[str], + query: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + severity: pulumi.Input[Union[str, 'AlertSeverity']], + suppression_duration: pulumi.Input[str], + suppression_enabled: pulumi.Input[bool], + workspace_name: pulumi.Input[str], + alert_details_override: Optional[pulumi.Input['AlertDetailsOverrideArgs']] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]]] = None, + event_grouping_settings: Optional[pulumi.Input['EventGroupingSettingsArgs']] = None, + incident_configuration: Optional[pulumi.Input['IncidentConfigurationArgs']] = None, + rule_id: Optional[pulumi.Input[str]] = None, + sentinel_entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + template_version: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a NrtAlertRule resource. + :param pulumi.Input[str] display_name: The display name for alerts created by this alert rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'NRT'. + :param pulumi.Input[str] query: The query that creates alerts for this rule. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'AlertSeverity']] severity: The severity for alerts created by this alert rule. + :param pulumi.Input[str] suppression_duration: The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + :param pulumi.Input[bool] suppression_enabled: Determines whether the suppression for this alert rule is enabled or disabled. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['AlertDetailsOverrideArgs'] alert_details_override: The alert details override settings + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_details: Dictionary of string key-value pairs of columns to be attached to the alert + :param pulumi.Input[str] description: The description of the alert rule. + :param pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]] entity_mappings: Array of the entity mappings of the alert rule + :param pulumi.Input['EventGroupingSettingsArgs'] event_grouping_settings: The event grouping settings. + :param pulumi.Input['IncidentConfigurationArgs'] incident_configuration: The settings of the incidents that created from alerts triggered by this analytics rule + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]] sentinel_entities_mappings: Array of the sentinel entity mappings of the alert rule + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: The tactics of the alert rule + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: The techniques of the alert rule + :param pulumi.Input[str] template_version: The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "kind", 'NRT') + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "suppression_duration", suppression_duration) + pulumi.set(__self__, "suppression_enabled", suppression_enabled) + pulumi.set(__self__, "workspace_name", workspace_name) + if alert_details_override is not None: + pulumi.set(__self__, "alert_details_override", alert_details_override) + if alert_rule_template_name is not None: + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if custom_details is not None: + pulumi.set(__self__, "custom_details", custom_details) + if description is not None: + pulumi.set(__self__, "description", description) + if entity_mappings is not None: + pulumi.set(__self__, "entity_mappings", entity_mappings) + if event_grouping_settings is not None: + pulumi.set(__self__, "event_grouping_settings", event_grouping_settings) + if incident_configuration is not None: + pulumi.set(__self__, "incident_configuration", incident_configuration) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if sentinel_entities_mappings is not None: + pulumi.set(__self__, "sentinel_entities_mappings", sentinel_entities_mappings) + if tactics is not None: + pulumi.set(__self__, "tactics", tactics) + if techniques is not None: + pulumi.set(__self__, "techniques", techniques) + if template_version is not None: + pulumi.set(__self__, "template_version", template_version) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the alert rule + Expected value is 'NRT'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def query(self) -> pulumi.Input[str]: + """ + The query that creates alerts for this rule. + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input[str]): + pulumi.set(self, "query", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 severity(self) -> pulumi.Input[Union[str, 'AlertSeverity']]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[Union[str, 'AlertSeverity']]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter(name="suppressionDuration") + def suppression_duration(self) -> pulumi.Input[str]: + """ + The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + """ + return pulumi.get(self, "suppression_duration") + + @suppression_duration.setter + def suppression_duration(self, value: pulumi.Input[str]): + pulumi.set(self, "suppression_duration", value) + + @property + @pulumi.getter(name="suppressionEnabled") + def suppression_enabled(self) -> pulumi.Input[bool]: + """ + Determines whether the suppression for this alert rule is enabled or disabled. + """ + return pulumi.get(self, "suppression_enabled") + + @suppression_enabled.setter + def suppression_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "suppression_enabled", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="alertDetailsOverride") + def alert_details_override(self) -> Optional[pulumi.Input['AlertDetailsOverrideArgs']]: + """ + The alert details override settings + """ + return pulumi.get(self, "alert_details_override") + + @alert_details_override.setter + def alert_details_override(self, value: Optional[pulumi.Input['AlertDetailsOverrideArgs']]): + pulumi.set(self, "alert_details_override", value) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> Optional[pulumi.Input[str]]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @alert_rule_template_name.setter + def alert_rule_template_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_rule_template_name", value) + + @property + @pulumi.getter(name="customDetails") + def custom_details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Dictionary of string key-value pairs of columns to be attached to the alert + """ + return pulumi.get(self, "custom_details") + + @custom_details.setter + def custom_details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_details", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]]]: + """ + Array of the entity mappings of the alert rule + """ + return pulumi.get(self, "entity_mappings") + + @entity_mappings.setter + def entity_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]]]): + pulumi.set(self, "entity_mappings", value) + + @property + @pulumi.getter(name="eventGroupingSettings") + def event_grouping_settings(self) -> Optional[pulumi.Input['EventGroupingSettingsArgs']]: + """ + The event grouping settings. + """ + return pulumi.get(self, "event_grouping_settings") + + @event_grouping_settings.setter + def event_grouping_settings(self, value: Optional[pulumi.Input['EventGroupingSettingsArgs']]): + pulumi.set(self, "event_grouping_settings", value) + + @property + @pulumi.getter(name="incidentConfiguration") + def incident_configuration(self) -> Optional[pulumi.Input['IncidentConfigurationArgs']]: + """ + The settings of the incidents that created from alerts triggered by this analytics rule + """ + return pulumi.get(self, "incident_configuration") + + @incident_configuration.setter + def incident_configuration(self, value: Optional[pulumi.Input['IncidentConfigurationArgs']]): + pulumi.set(self, "incident_configuration", value) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) + + @property + @pulumi.getter(name="sentinelEntitiesMappings") + def sentinel_entities_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]]]: + """ + Array of the sentinel entity mappings of the alert rule + """ + return pulumi.get(self, "sentinel_entities_mappings") + + @sentinel_entities_mappings.setter + def sentinel_entities_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]]]): + pulumi.set(self, "sentinel_entities_mappings", value) + + @property + @pulumi.getter + def tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @tactics.setter + def tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]): + pulumi.set(self, "tactics", value) + + @property + @pulumi.getter + def techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @techniques.setter + def techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "techniques", value) + + @property + @pulumi.getter(name="templateVersion") + def template_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + return pulumi.get(self, "template_version") + + @template_version.setter + def template_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "template_version", value) + + +class NrtAlertRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + alert_details_override: Optional[pulumi.Input[pulumi.InputType['AlertDetailsOverrideArgs']]] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityMappingArgs']]]]] = None, + event_grouping_settings: Optional[pulumi.Input[pulumi.InputType['EventGroupingSettingsArgs']]] = None, + incident_configuration: Optional[pulumi.Input[pulumi.InputType['IncidentConfigurationArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + sentinel_entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SentinelEntityMappingArgs']]]]] = None, + severity: Optional[pulumi.Input[Union[str, 'AlertSeverity']]] = None, + suppression_duration: Optional[pulumi.Input[str]] = None, + suppression_enabled: Optional[pulumi.Input[bool]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + template_version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents NRT alert rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['AlertDetailsOverrideArgs']] alert_details_override: The alert details override settings + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_details: Dictionary of string key-value pairs of columns to be attached to the alert + :param pulumi.Input[str] description: The description of the alert rule. + :param pulumi.Input[str] display_name: The display name for alerts created by this alert rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityMappingArgs']]]] entity_mappings: Array of the entity mappings of the alert rule + :param pulumi.Input[pulumi.InputType['EventGroupingSettingsArgs']] event_grouping_settings: The event grouping settings. + :param pulumi.Input[pulumi.InputType['IncidentConfigurationArgs']] incident_configuration: The settings of the incidents that created from alerts triggered by this analytics rule + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'NRT'. + :param pulumi.Input[str] query: The query that creates alerts for this rule. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SentinelEntityMappingArgs']]]] sentinel_entities_mappings: Array of the sentinel entity mappings of the alert rule + :param pulumi.Input[Union[str, 'AlertSeverity']] severity: The severity for alerts created by this alert rule. + :param pulumi.Input[str] suppression_duration: The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + :param pulumi.Input[bool] suppression_enabled: Determines whether the suppression for this alert rule is enabled or disabled. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: The tactics of the alert rule + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: The techniques of the alert rule + :param pulumi.Input[str] template_version: The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NrtAlertRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents NRT alert rule. + + :param str resource_name: The name of the resource. + :param NrtAlertRuleArgs 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(NrtAlertRuleArgs, 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, + alert_details_override: Optional[pulumi.Input[pulumi.InputType['AlertDetailsOverrideArgs']]] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityMappingArgs']]]]] = None, + event_grouping_settings: Optional[pulumi.Input[pulumi.InputType['EventGroupingSettingsArgs']]] = None, + incident_configuration: Optional[pulumi.Input[pulumi.InputType['IncidentConfigurationArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + sentinel_entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SentinelEntityMappingArgs']]]]] = None, + severity: Optional[pulumi.Input[Union[str, 'AlertSeverity']]] = None, + suppression_duration: Optional[pulumi.Input[str]] = None, + suppression_enabled: Optional[pulumi.Input[bool]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + template_version: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = NrtAlertRuleArgs.__new__(NrtAlertRuleArgs) + + __props__.__dict__["alert_details_override"] = alert_details_override + __props__.__dict__["alert_rule_template_name"] = alert_rule_template_name + __props__.__dict__["custom_details"] = custom_details + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + __props__.__dict__["entity_mappings"] = entity_mappings + __props__.__dict__["event_grouping_settings"] = event_grouping_settings + __props__.__dict__["incident_configuration"] = incident_configuration + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'NRT' + if query is None and not opts.urn: + raise TypeError("Missing required property 'query'") + __props__.__dict__["query"] = query + 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__["rule_id"] = rule_id + __props__.__dict__["sentinel_entities_mappings"] = sentinel_entities_mappings + if severity is None and not opts.urn: + raise TypeError("Missing required property 'severity'") + __props__.__dict__["severity"] = severity + if suppression_duration is None and not opts.urn: + raise TypeError("Missing required property 'suppression_duration'") + __props__.__dict__["suppression_duration"] = suppression_duration + if suppression_enabled is None and not opts.urn: + raise TypeError("Missing required property 'suppression_enabled'") + __props__.__dict__["suppression_enabled"] = suppression_enabled + __props__.__dict__["tactics"] = tactics + __props__.__dict__["techniques"] = techniques + __props__.__dict__["template_version"] = template_version + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:NrtAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:NrtAlertRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(NrtAlertRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:NrtAlertRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'NrtAlertRule': + """ + Get an existing NrtAlertRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = NrtAlertRuleArgs.__new__(NrtAlertRuleArgs) + + __props__.__dict__["alert_details_override"] = None + __props__.__dict__["alert_rule_template_name"] = None + __props__.__dict__["custom_details"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["entity_mappings"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["event_grouping_settings"] = None + __props__.__dict__["incident_configuration"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["query"] = None + __props__.__dict__["sentinel_entities_mappings"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["suppression_duration"] = None + __props__.__dict__["suppression_enabled"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["template_version"] = None + __props__.__dict__["type"] = None + return NrtAlertRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="alertDetailsOverride") + def alert_details_override(self) -> pulumi.Output[Optional['outputs.AlertDetailsOverrideResponse']]: + """ + The alert details override settings + """ + return pulumi.get(self, "alert_details_override") + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Output[Optional[str]]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter(name="customDetails") + def custom_details(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Dictionary of string key-value pairs of columns to be attached to the alert + """ + return pulumi.get(self, "custom_details") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.EntityMappingResponse']]]: + """ + Array of the entity mappings of the alert rule + """ + return pulumi.get(self, "entity_mappings") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="eventGroupingSettings") + def event_grouping_settings(self) -> pulumi.Output[Optional['outputs.EventGroupingSettingsResponse']]: + """ + The event grouping settings. + """ + return pulumi.get(self, "event_grouping_settings") + + @property + @pulumi.getter(name="incidentConfiguration") + def incident_configuration(self) -> pulumi.Output[Optional['outputs.IncidentConfigurationResponse']]: + """ + The settings of the incidents that created from alerts triggered by this analytics rule + """ + return pulumi.get(self, "incident_configuration") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the alert rule + Expected value is 'NRT'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this alert rule has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def query(self) -> pulumi.Output[str]: + """ + The query that creates alerts for this rule. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter(name="sentinelEntitiesMappings") + def sentinel_entities_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.SentinelEntityMappingResponse']]]: + """ + Array of the sentinel entity mappings of the alert rule + """ + return pulumi.get(self, "sentinel_entities_mappings") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="suppressionDuration") + def suppression_duration(self) -> pulumi.Output[str]: + """ + The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + """ + return pulumi.get(self, "suppression_duration") + + @property + @pulumi.getter(name="suppressionEnabled") + def suppression_enabled(self) -> pulumi.Output[bool]: + """ + Determines whether the suppression for this alert rule is enabled or disabled. + """ + return pulumi.get(self, "suppression_enabled") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter(name="templateVersion") + def template_version(self) -> pulumi.Output[Optional[str]]: + """ + The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + return pulumi.get(self, "template_version") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office365_project_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office365_project_data_connector.py new file mode 100644 index 000000000000..3d3d4ecfc68a --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office365_project_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['Office365ProjectDataConnectorArgs', 'Office365ProjectDataConnector'] + +@pulumi.input_type +class Office365ProjectDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['Office365ProjectConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Office365ProjectDataConnector resource. + :param pulumi.Input['Office365ProjectConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'Office365Project'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'Office365Project') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['Office365ProjectConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['Office365ProjectConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'Office365Project'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class Office365ProjectDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['Office365ProjectConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Office Microsoft Project data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['Office365ProjectConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'Office365Project'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Office365ProjectDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Office Microsoft Project data connector. + + :param str resource_name: The name of the resource. + :param Office365ProjectDataConnectorArgs 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(Office365ProjectDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['Office365ProjectConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = Office365ProjectDataConnectorArgs.__new__(Office365ProjectDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Office365Project' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Office365ProjectDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Office365ProjectDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Office365ProjectDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Office365ProjectDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Office365ProjectDataConnector': + """ + Get an existing Office365ProjectDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = Office365ProjectDataConnectorArgs.__new__(Office365ProjectDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return Office365ProjectDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.Office365ProjectConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'Office365Project'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_atp_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_atp_data_connector.py new file mode 100644 index 000000000000..89f0ab05221d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_atp_data_connector.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['OfficeATPDataConnectorArgs', 'OfficeATPDataConnector'] + +@pulumi.input_type +class OfficeATPDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None): + """ + The set of arguments for constructing a OfficeATPDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'OfficeATP'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + """ + pulumi.set(__self__, "kind", 'OfficeATP') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'OfficeATP'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + +class OfficeATPDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents OfficeATP (Office 365 Advanced Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'OfficeATP'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OfficeATPDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents OfficeATP (Office 365 Advanced Threat Protection) data connector. + + :param str resource_name: The name of the resource. + :param OfficeATPDataConnectorArgs 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(OfficeATPDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = OfficeATPDataConnectorArgs.__new__(OfficeATPDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'OfficeATP' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeATPDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeATPDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(OfficeATPDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:OfficeATPDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OfficeATPDataConnector': + """ + Get an existing OfficeATPDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = OfficeATPDataConnectorArgs.__new__(OfficeATPDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return OfficeATPDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'OfficeATP'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_data_connector.py new file mode 100644 index 000000000000..a3603428ed76 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['OfficeDataConnectorArgs', 'OfficeDataConnector'] + +@pulumi.input_type +class OfficeDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['OfficeDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a OfficeDataConnector resource. + :param pulumi.Input['OfficeDataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'Office365'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'Office365') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['OfficeDataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['OfficeDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'Office365'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class OfficeDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['OfficeDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents office data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['OfficeDataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'Office365'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OfficeDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents office data connector. + + :param str resource_name: The name of the resource. + :param OfficeDataConnectorArgs 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(OfficeDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['OfficeDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = OfficeDataConnectorArgs.__new__(OfficeDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Office365' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(OfficeDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:OfficeDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OfficeDataConnector': + """ + Get an existing OfficeDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = OfficeDataConnectorArgs.__new__(OfficeDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return OfficeDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.OfficeDataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'Office365'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_irm_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_irm_data_connector.py new file mode 100644 index 000000000000..8cfad44c523e --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_irm_data_connector.py @@ -0,0 +1,290 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['OfficeIRMDataConnectorArgs', 'OfficeIRMDataConnector'] + +@pulumi.input_type +class OfficeIRMDataConnectorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']] = None): + """ + The set of arguments for constructing a OfficeIRMDataConnector resource. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'OfficeIRM'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input['AlertsDataTypeOfDataConnectorArgs'] data_types: The available data types for the connector. + """ + pulumi.set(__self__, "kind", 'OfficeIRM') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'OfficeIRM'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: Optional[pulumi.Input['AlertsDataTypeOfDataConnectorArgs']]): + pulumi.set(self, "data_types", value) + + +class OfficeIRMDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents OfficeIRM (Microsoft Insider Risk Management) data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'OfficeIRM'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OfficeIRMDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents OfficeIRM (Microsoft Insider Risk Management) data connector. + + :param str resource_name: The name of the resource. + :param OfficeIRMDataConnectorArgs 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(OfficeIRMDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['AlertsDataTypeOfDataConnectorArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = OfficeIRMDataConnectorArgs.__new__(OfficeIRMDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'OfficeIRM' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficeIRMDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficeIRMDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(OfficeIRMDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:OfficeIRMDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OfficeIRMDataConnector': + """ + Get an existing OfficeIRMDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = OfficeIRMDataConnectorArgs.__new__(OfficeIRMDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return OfficeIRMDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output[Optional['outputs.AlertsDataTypeOfDataConnectorResponse']]: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'OfficeIRM'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_power_bi_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_power_bi_data_connector.py new file mode 100644 index 000000000000..b3c82fd1c3bd --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/office_power_bi_data_connector.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['OfficePowerBIDataConnectorArgs', 'OfficePowerBIDataConnector'] + +@pulumi.input_type +class OfficePowerBIDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['OfficePowerBIConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a OfficePowerBIDataConnector resource. + :param pulumi.Input['OfficePowerBIConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'OfficePowerBI'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'OfficePowerBI') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['OfficePowerBIConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['OfficePowerBIConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'OfficePowerBI'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + +class OfficePowerBIDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['OfficePowerBIConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Office Microsoft PowerBI data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['OfficePowerBIConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'OfficePowerBI'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OfficePowerBIDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Office Microsoft PowerBI data connector. + + :param str resource_name: The name of the resource. + :param OfficePowerBIDataConnectorArgs 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(OfficePowerBIDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['OfficePowerBIConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = OfficePowerBIDataConnectorArgs.__new__(OfficePowerBIDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'OfficePowerBI' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:OfficePowerBIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:OfficePowerBIDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(OfficePowerBIDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:OfficePowerBIDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OfficePowerBIDataConnector': + """ + Get an existing OfficePowerBIDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = OfficePowerBIDataConnectorArgs.__new__(OfficePowerBIDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + return OfficePowerBIDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.OfficePowerBIConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'OfficePowerBI'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/outputs.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/outputs.py new file mode 100644 index 000000000000..8d530038b22d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/outputs.py @@ -0,0 +1,7541 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'ActivityEntityQueriesPropertiesResponseQueryDefinitions', + 'ActivityTimelineItemResponse', + 'AddIncidentTaskActionPropertiesResponse', + 'AlertDetailsOverrideResponse', + 'AlertPropertyMappingResponse', + 'AlertsDataTypeOfDataConnectorResponse', + 'AnomalyTimelineItemResponse', + 'AssignmentItemResponse', + 'AutomationRuleAddIncidentTaskActionResponse', + 'AutomationRuleBooleanConditionResponse', + 'AutomationRuleModifyPropertiesActionResponse', + 'AutomationRulePropertyArrayChangedValuesConditionResponse', + 'AutomationRulePropertyArrayValuesConditionResponse', + 'AutomationRulePropertyValuesChangedConditionResponse', + 'AutomationRulePropertyValuesConditionResponse', + 'AutomationRuleRunPlaybookActionResponse', + 'AutomationRuleTriggeringLogicResponse', + 'AvailabilityResponse', + 'AwsCloudTrailDataConnectorDataTypesResponse', + 'AwsCloudTrailDataConnectorDataTypesResponseLogs', + 'AwsS3DataConnectorDataTypesResponse', + 'AwsS3DataConnectorDataTypesResponseLogs', + 'BookmarkEntityMappingsResponse', + 'BookmarkTimelineItemResponse', + 'BooleanConditionPropertiesResponse', + 'ClientInfoResponse', + 'CodelessConnectorPollingAuthPropertiesResponse', + 'CodelessConnectorPollingConfigPropertiesResponse', + 'CodelessConnectorPollingPagingPropertiesResponse', + 'CodelessConnectorPollingRequestPropertiesResponse', + 'CodelessConnectorPollingResponsePropertiesResponse', + 'CodelessUiConnectorConfigPropertiesResponse', + 'CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria', + 'CodelessUiConnectorConfigPropertiesResponseDataTypes', + 'CodelessUiConnectorConfigPropertiesResponseGraphQueries', + 'CodelessUiConnectorConfigPropertiesResponseInstructionSteps', + 'CodelessUiConnectorConfigPropertiesResponseSampleQueries', + 'ConnectivityCriterionResponse', + 'ConnectorDataTypeResponse', + 'ConnectorDefinitionsAvailabilityResponse', + 'ConnectorDefinitionsPermissionsResponse', + 'ConnectorDefinitionsResourceProviderResponse', + 'CustomPermissionDetailsResponse', + 'CustomizableConnectionsConfigResponse', + 'CustomizableConnectorUiConfigResponse', + 'DCRConfigurationResponse', + 'DataConnectorDataTypeCommonResponse', + 'Dynamics365DataConnectorDataTypesResponse', + 'Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities', + 'EntityFieldMappingResponse', + 'EntityInsightItemResponse', + 'EntityInsightItemResponseQueryTimeInterval', + 'EntityMappingResponse', + 'EventGroupingSettingsResponse', + 'FieldMappingResponse', + 'FileMetadataResponse', + 'FusionScenarioExclusionPatternResponse', + 'FusionSourceSettingsResponse', + 'FusionSourceSubTypeSettingResponse', + 'FusionSubTypeSeverityFilterResponse', + 'FusionSubTypeSeverityFiltersItemResponse', + 'GCPAuthPropertiesResponse', + 'GCPRequestPropertiesResponse', + 'GetInsightsErrorKindResponse', + 'GetInsightsResultsMetadataResponse', + 'GraphQueryResponse', + 'GroupingConfigurationResponse', + 'HuntOwnerResponse', + 'IncidentAdditionalDataResponse', + 'IncidentConfigurationResponse', + 'IncidentInfoResponse', + 'IncidentLabelResponse', + 'IncidentOwnerInfoResponse', + 'IncidentPropertiesActionResponse', + 'InsightsTableResultResponse', + 'InsightsTableResultResponseColumns', + 'InstructionStepDetailsResponse', + 'InstructionStepResponse', + 'InstructionStepsResponseInstructions', + 'MCASDataConnectorDataTypesResponse', + 'MSTIDataConnectorDataTypesResponse', + 'MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed', + 'MTPDataConnectorDataTypesResponse', + 'MTPDataConnectorDataTypesResponseAlerts', + 'MTPDataConnectorDataTypesResponseIncidents', + 'MetadataAuthorResponse', + 'MetadataCategoriesResponse', + 'MetadataDependenciesResponse', + 'MetadataSourceResponse', + 'MetadataSupportResponse', + 'MicrosoftPurviewInformationProtectionConnectorDataTypesResponse', + 'MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs', + 'MtpFilteredProvidersResponse', + 'Office365ProjectConnectorDataTypesResponse', + 'Office365ProjectConnectorDataTypesResponseLogs', + 'OfficeDataConnectorDataTypesResponse', + 'OfficeDataConnectorDataTypesResponseExchange', + 'OfficeDataConnectorDataTypesResponseSharePoint', + 'OfficeDataConnectorDataTypesResponseTeams', + 'OfficePowerBIConnectorDataTypesResponse', + 'OfficePowerBIConnectorDataTypesResponseLogs', + 'PermissionsResponse', + 'PermissionsResponseCustoms', + 'PermissionsResponseResourceProvider', + 'PlaybookActionPropertiesResponse', + 'PropertyArrayChangedConditionPropertiesResponse', + 'PropertyArrayConditionPropertiesResponse', + 'PropertyChangedConditionPropertiesResponse', + 'PropertyConditionPropertiesResponse', + 'RepoResponse', + 'RequiredPermissionsResponse', + 'ResourceProviderRequiredPermissionsResponse', + 'SampleQueryResponse', + 'SecurityAlertTimelineItemResponse', + 'SecurityMLAnalyticsSettingsDataSourceResponse', + 'SentinelEntityMappingResponse', + 'SystemDataResponse', + 'TIDataConnectorDataTypesResponse', + 'TIDataConnectorDataTypesResponseIndicators', + 'TeamInformationResponse', + 'TiTaxiiDataConnectorDataTypesResponse', + 'TiTaxiiDataConnectorDataTypesResponseTaxiiClient', + 'TimelineAggregationResponse', + 'TimelineErrorResponse', + 'TimelineResultsMetadataResponse', + 'UserInfoResponse', + 'ValidationErrorResponse', + 'WatchlistUserInfoResponse', +] + +@pulumi.output_type +class ActivityEntityQueriesPropertiesResponseQueryDefinitions(dict): + """ + The Activity query definitions + """ + def __init__(__self__, *, + query: Optional[str] = None): + """ + The Activity query definitions + :param str query: The Activity query to run on a given entity + """ + if query is not None: + pulumi.set(__self__, "query", query) + + @property + @pulumi.getter + def query(self) -> Optional[str]: + """ + The Activity query to run on a given entity + """ + return pulumi.get(self, "query") + + +@pulumi.output_type +class ActivityTimelineItemResponse(dict): + """ + Represents Activity timeline item. + """ + def __init__(__self__, *, + bucket_end_time_utc: str, + bucket_start_time_utc: str, + content: str, + first_activity_time_utc: str, + kind: str, + last_activity_time_utc: str, + query_id: str, + title: str): + """ + Represents Activity timeline item. + :param str bucket_end_time_utc: The grouping bucket end time. + :param str bucket_start_time_utc: The grouping bucket start time. + :param str content: The activity timeline content. + :param str first_activity_time_utc: The time of the first activity in the grouping bucket. + :param str kind: The entity query kind + Expected value is 'Activity'. + :param str last_activity_time_utc: The time of the last activity in the grouping bucket. + :param str query_id: The activity query id. + :param str title: The activity timeline title. + """ + pulumi.set(__self__, "bucket_end_time_utc", bucket_end_time_utc) + pulumi.set(__self__, "bucket_start_time_utc", bucket_start_time_utc) + pulumi.set(__self__, "content", content) + pulumi.set(__self__, "first_activity_time_utc", first_activity_time_utc) + pulumi.set(__self__, "kind", 'Activity') + pulumi.set(__self__, "last_activity_time_utc", last_activity_time_utc) + pulumi.set(__self__, "query_id", query_id) + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter(name="bucketEndTimeUTC") + def bucket_end_time_utc(self) -> str: + """ + The grouping bucket end time. + """ + return pulumi.get(self, "bucket_end_time_utc") + + @property + @pulumi.getter(name="bucketStartTimeUTC") + def bucket_start_time_utc(self) -> str: + """ + The grouping bucket start time. + """ + return pulumi.get(self, "bucket_start_time_utc") + + @property + @pulumi.getter + def content(self) -> str: + """ + The activity timeline content. + """ + return pulumi.get(self, "content") + + @property + @pulumi.getter(name="firstActivityTimeUTC") + def first_activity_time_utc(self) -> str: + """ + The time of the first activity in the grouping bucket. + """ + return pulumi.get(self, "first_activity_time_utc") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The entity query kind + Expected value is 'Activity'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastActivityTimeUTC") + def last_activity_time_utc(self) -> str: + """ + The time of the last activity in the grouping bucket. + """ + return pulumi.get(self, "last_activity_time_utc") + + @property + @pulumi.getter(name="queryId") + def query_id(self) -> str: + """ + The activity query id. + """ + return pulumi.get(self, "query_id") + + @property + @pulumi.getter + def title(self) -> str: + """ + The activity timeline title. + """ + return pulumi.get(self, "title") + + +@pulumi.output_type +class AddIncidentTaskActionPropertiesResponse(dict): + def __init__(__self__, *, + title: str, + description: Optional[str] = None): + """ + :param str title: The title of the task. + :param str description: The description of the task. + """ + pulumi.set(__self__, "title", title) + if description is not None: + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter + def title(self) -> str: + """ + The title of the task. + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the task. + """ + return pulumi.get(self, "description") + + +@pulumi.output_type +class AlertDetailsOverrideResponse(dict): + """ + Settings for how to dynamically override alert static details + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertDescriptionFormat": + suggest = "alert_description_format" + elif key == "alertDisplayNameFormat": + suggest = "alert_display_name_format" + elif key == "alertDynamicProperties": + suggest = "alert_dynamic_properties" + elif key == "alertSeverityColumnName": + suggest = "alert_severity_column_name" + elif key == "alertTacticsColumnName": + suggest = "alert_tactics_column_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AlertDetailsOverrideResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AlertDetailsOverrideResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AlertDetailsOverrideResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alert_description_format: Optional[str] = None, + alert_display_name_format: Optional[str] = None, + alert_dynamic_properties: Optional[Sequence['outputs.AlertPropertyMappingResponse']] = None, + alert_severity_column_name: Optional[str] = None, + alert_tactics_column_name: Optional[str] = None): + """ + Settings for how to dynamically override alert static details + :param str alert_description_format: the format containing columns name(s) to override the alert description + :param str alert_display_name_format: the format containing columns name(s) to override the alert name + :param Sequence['AlertPropertyMappingResponse'] alert_dynamic_properties: List of additional dynamic properties to override + :param str alert_severity_column_name: the column name to take the alert severity from + :param str alert_tactics_column_name: the column name to take the alert tactics from + """ + if alert_description_format is not None: + pulumi.set(__self__, "alert_description_format", alert_description_format) + if alert_display_name_format is not None: + pulumi.set(__self__, "alert_display_name_format", alert_display_name_format) + if alert_dynamic_properties is not None: + pulumi.set(__self__, "alert_dynamic_properties", alert_dynamic_properties) + if alert_severity_column_name is not None: + pulumi.set(__self__, "alert_severity_column_name", alert_severity_column_name) + if alert_tactics_column_name is not None: + pulumi.set(__self__, "alert_tactics_column_name", alert_tactics_column_name) + + @property + @pulumi.getter(name="alertDescriptionFormat") + def alert_description_format(self) -> Optional[str]: + """ + the format containing columns name(s) to override the alert description + """ + return pulumi.get(self, "alert_description_format") + + @property + @pulumi.getter(name="alertDisplayNameFormat") + def alert_display_name_format(self) -> Optional[str]: + """ + the format containing columns name(s) to override the alert name + """ + return pulumi.get(self, "alert_display_name_format") + + @property + @pulumi.getter(name="alertDynamicProperties") + def alert_dynamic_properties(self) -> Optional[Sequence['outputs.AlertPropertyMappingResponse']]: + """ + List of additional dynamic properties to override + """ + return pulumi.get(self, "alert_dynamic_properties") + + @property + @pulumi.getter(name="alertSeverityColumnName") + def alert_severity_column_name(self) -> Optional[str]: + """ + the column name to take the alert severity from + """ + return pulumi.get(self, "alert_severity_column_name") + + @property + @pulumi.getter(name="alertTacticsColumnName") + def alert_tactics_column_name(self) -> Optional[str]: + """ + the column name to take the alert tactics from + """ + return pulumi.get(self, "alert_tactics_column_name") + + +@pulumi.output_type +class AlertPropertyMappingResponse(dict): + """ + A single alert property mapping to override + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertProperty": + suggest = "alert_property" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AlertPropertyMappingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AlertPropertyMappingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AlertPropertyMappingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alert_property: Optional[str] = None, + value: Optional[str] = None): + """ + A single alert property mapping to override + :param str alert_property: The V3 alert property + :param str value: the column name to use to override this property + """ + if alert_property is not None: + pulumi.set(__self__, "alert_property", alert_property) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="alertProperty") + def alert_property(self) -> Optional[str]: + """ + The V3 alert property + """ + return pulumi.get(self, "alert_property") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + the column name to use to override this property + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class AlertsDataTypeOfDataConnectorResponse(dict): + """ + Alerts data type for data connectors. + """ + def __init__(__self__, *, + alerts: 'outputs.DataConnectorDataTypeCommonResponse'): + """ + Alerts data type for data connectors. + :param 'DataConnectorDataTypeCommonResponse' alerts: Alerts data type connection. + """ + pulumi.set(__self__, "alerts", alerts) + + @property + @pulumi.getter + def alerts(self) -> 'outputs.DataConnectorDataTypeCommonResponse': + """ + Alerts data type connection. + """ + return pulumi.get(self, "alerts") + + +@pulumi.output_type +class AnomalyTimelineItemResponse(dict): + """ + Represents anomaly timeline item. + """ + def __init__(__self__, *, + azure_resource_id: str, + display_name: str, + end_time_utc: str, + kind: str, + start_time_utc: str, + time_generated: str, + description: Optional[str] = None, + intent: Optional[str] = None, + product_name: Optional[str] = None, + reasons: Optional[Sequence[str]] = None, + techniques: Optional[Sequence[str]] = None, + vendor: Optional[str] = None): + """ + Represents anomaly timeline item. + :param str azure_resource_id: The anomaly azure resource id. + :param str display_name: The anomaly name. + :param str end_time_utc: The anomaly end time. + :param str kind: The entity query kind + Expected value is 'Anomaly'. + :param str start_time_utc: The anomaly start time. + :param str time_generated: The anomaly generated time. + :param str description: The anomaly description. + :param str intent: The intent of the anomaly. + :param str product_name: The anomaly product name. + :param Sequence[str] reasons: The reasons that cause the anomaly. + :param Sequence[str] techniques: The techniques of the anomaly. + :param str vendor: The name of the anomaly vendor. + """ + pulumi.set(__self__, "azure_resource_id", azure_resource_id) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "end_time_utc", end_time_utc) + pulumi.set(__self__, "kind", 'Anomaly') + pulumi.set(__self__, "start_time_utc", start_time_utc) + pulumi.set(__self__, "time_generated", time_generated) + if description is not None: + pulumi.set(__self__, "description", description) + if intent is not None: + pulumi.set(__self__, "intent", intent) + if product_name is not None: + pulumi.set(__self__, "product_name", product_name) + if reasons is not None: + pulumi.set(__self__, "reasons", reasons) + if techniques is not None: + pulumi.set(__self__, "techniques", techniques) + if vendor is not None: + pulumi.set(__self__, "vendor", vendor) + + @property + @pulumi.getter(name="azureResourceId") + def azure_resource_id(self) -> str: + """ + The anomaly azure resource id. + """ + return pulumi.get(self, "azure_resource_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The anomaly name. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="endTimeUtc") + def end_time_utc(self) -> str: + """ + The anomaly end time. + """ + return pulumi.get(self, "end_time_utc") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The entity query kind + Expected value is 'Anomaly'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="startTimeUtc") + def start_time_utc(self) -> str: + """ + The anomaly start time. + """ + return pulumi.get(self, "start_time_utc") + + @property + @pulumi.getter(name="timeGenerated") + def time_generated(self) -> str: + """ + The anomaly generated time. + """ + return pulumi.get(self, "time_generated") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The anomaly description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def intent(self) -> Optional[str]: + """ + The intent of the anomaly. + """ + return pulumi.get(self, "intent") + + @property + @pulumi.getter(name="productName") + def product_name(self) -> Optional[str]: + """ + The anomaly product name. + """ + return pulumi.get(self, "product_name") + + @property + @pulumi.getter + def reasons(self) -> Optional[Sequence[str]]: + """ + The reasons that cause the anomaly. + """ + return pulumi.get(self, "reasons") + + @property + @pulumi.getter + def techniques(self) -> Optional[Sequence[str]]: + """ + The techniques of the anomaly. + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def vendor(self) -> Optional[str]: + """ + The name of the anomaly vendor. + """ + return pulumi.get(self, "vendor") + + +@pulumi.output_type +class AssignmentItemResponse(dict): + """ + An entity describing a content item. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceId": + suggest = "resource_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AssignmentItemResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AssignmentItemResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AssignmentItemResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + resource_id: Optional[str] = None): + """ + An entity describing a content item. + :param str resource_id: The resource id of the content item + """ + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The resource id of the content item + """ + return pulumi.get(self, "resource_id") + + +@pulumi.output_type +class AutomationRuleAddIncidentTaskActionResponse(dict): + """ + Describes an automation rule action to add a task to an incident + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionType": + suggest = "action_type" + elif key == "actionConfiguration": + suggest = "action_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRuleAddIncidentTaskActionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRuleAddIncidentTaskActionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRuleAddIncidentTaskActionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action_type: str, + order: int, + action_configuration: Optional['outputs.AddIncidentTaskActionPropertiesResponse'] = None): + """ + Describes an automation rule action to add a task to an incident + :param str action_type: The type of the automation rule action. + Expected value is 'AddIncidentTask'. + """ + pulumi.set(__self__, "action_type", 'AddIncidentTask') + pulumi.set(__self__, "order", order) + if action_configuration is not None: + pulumi.set(__self__, "action_configuration", action_configuration) + + @property + @pulumi.getter(name="actionType") + def action_type(self) -> str: + """ + The type of the automation rule action. + Expected value is 'AddIncidentTask'. + """ + return pulumi.get(self, "action_type") + + @property + @pulumi.getter + def order(self) -> int: + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="actionConfiguration") + def action_configuration(self) -> Optional['outputs.AddIncidentTaskActionPropertiesResponse']: + return pulumi.get(self, "action_configuration") + + +@pulumi.output_type +class AutomationRuleBooleanConditionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "innerConditions": + suggest = "inner_conditions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRuleBooleanConditionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRuleBooleanConditionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRuleBooleanConditionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + inner_conditions: Optional[Sequence[Any]] = None, + operator: Optional[str] = None): + if inner_conditions is not None: + pulumi.set(__self__, "inner_conditions", inner_conditions) + if operator is not None: + pulumi.set(__self__, "operator", operator) + + @property + @pulumi.getter(name="innerConditions") + def inner_conditions(self) -> Optional[Sequence[Any]]: + return pulumi.get(self, "inner_conditions") + + @property + @pulumi.getter + def operator(self) -> Optional[str]: + return pulumi.get(self, "operator") + + +@pulumi.output_type +class AutomationRuleModifyPropertiesActionResponse(dict): + """ + Describes an automation rule action to modify an object's properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionType": + suggest = "action_type" + elif key == "actionConfiguration": + suggest = "action_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRuleModifyPropertiesActionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRuleModifyPropertiesActionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRuleModifyPropertiesActionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action_type: str, + order: int, + action_configuration: Optional['outputs.IncidentPropertiesActionResponse'] = None): + """ + Describes an automation rule action to modify an object's properties + :param str action_type: The type of the automation rule action. + Expected value is 'ModifyProperties'. + """ + pulumi.set(__self__, "action_type", 'ModifyProperties') + pulumi.set(__self__, "order", order) + if action_configuration is not None: + pulumi.set(__self__, "action_configuration", action_configuration) + + @property + @pulumi.getter(name="actionType") + def action_type(self) -> str: + """ + The type of the automation rule action. + Expected value is 'ModifyProperties'. + """ + return pulumi.get(self, "action_type") + + @property + @pulumi.getter + def order(self) -> int: + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="actionConfiguration") + def action_configuration(self) -> Optional['outputs.IncidentPropertiesActionResponse']: + return pulumi.get(self, "action_configuration") + + +@pulumi.output_type +class AutomationRulePropertyArrayChangedValuesConditionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "arrayType": + suggest = "array_type" + elif key == "changeType": + suggest = "change_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRulePropertyArrayChangedValuesConditionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRulePropertyArrayChangedValuesConditionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRulePropertyArrayChangedValuesConditionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + array_type: Optional[str] = None, + change_type: Optional[str] = None): + if array_type is not None: + pulumi.set(__self__, "array_type", array_type) + if change_type is not None: + pulumi.set(__self__, "change_type", change_type) + + @property + @pulumi.getter(name="arrayType") + def array_type(self) -> Optional[str]: + return pulumi.get(self, "array_type") + + @property + @pulumi.getter(name="changeType") + def change_type(self) -> Optional[str]: + return pulumi.get(self, "change_type") + + +@pulumi.output_type +class AutomationRulePropertyArrayValuesConditionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "arrayConditionType": + suggest = "array_condition_type" + elif key == "arrayType": + suggest = "array_type" + elif key == "itemConditions": + suggest = "item_conditions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRulePropertyArrayValuesConditionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRulePropertyArrayValuesConditionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRulePropertyArrayValuesConditionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + array_condition_type: Optional[str] = None, + array_type: Optional[str] = None, + item_conditions: Optional[Sequence[Any]] = None): + if array_condition_type is not None: + pulumi.set(__self__, "array_condition_type", array_condition_type) + if array_type is not None: + pulumi.set(__self__, "array_type", array_type) + if item_conditions is not None: + pulumi.set(__self__, "item_conditions", item_conditions) + + @property + @pulumi.getter(name="arrayConditionType") + def array_condition_type(self) -> Optional[str]: + return pulumi.get(self, "array_condition_type") + + @property + @pulumi.getter(name="arrayType") + def array_type(self) -> Optional[str]: + return pulumi.get(self, "array_type") + + @property + @pulumi.getter(name="itemConditions") + def item_conditions(self) -> Optional[Sequence[Any]]: + return pulumi.get(self, "item_conditions") + + +@pulumi.output_type +class AutomationRulePropertyValuesChangedConditionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "changeType": + suggest = "change_type" + elif key == "propertyName": + suggest = "property_name" + elif key == "propertyValues": + suggest = "property_values" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRulePropertyValuesChangedConditionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRulePropertyValuesChangedConditionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRulePropertyValuesChangedConditionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + change_type: Optional[str] = None, + operator: Optional[str] = None, + property_name: Optional[str] = None, + property_values: Optional[Sequence[str]] = None): + if change_type is not None: + pulumi.set(__self__, "change_type", change_type) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if property_name is not None: + pulumi.set(__self__, "property_name", property_name) + if property_values is not None: + pulumi.set(__self__, "property_values", property_values) + + @property + @pulumi.getter(name="changeType") + def change_type(self) -> Optional[str]: + return pulumi.get(self, "change_type") + + @property + @pulumi.getter + def operator(self) -> Optional[str]: + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="propertyName") + def property_name(self) -> Optional[str]: + return pulumi.get(self, "property_name") + + @property + @pulumi.getter(name="propertyValues") + def property_values(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "property_values") + + +@pulumi.output_type +class AutomationRulePropertyValuesConditionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "propertyName": + suggest = "property_name" + elif key == "propertyValues": + suggest = "property_values" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRulePropertyValuesConditionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRulePropertyValuesConditionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRulePropertyValuesConditionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + operator: Optional[str] = None, + property_name: Optional[str] = None, + property_values: Optional[Sequence[str]] = None): + """ + :param str property_name: The property to evaluate in an automation rule property condition. + """ + if operator is not None: + pulumi.set(__self__, "operator", operator) + if property_name is not None: + pulumi.set(__self__, "property_name", property_name) + if property_values is not None: + pulumi.set(__self__, "property_values", property_values) + + @property + @pulumi.getter + def operator(self) -> Optional[str]: + return pulumi.get(self, "operator") + + @property + @pulumi.getter(name="propertyName") + def property_name(self) -> Optional[str]: + """ + The property to evaluate in an automation rule property condition. + """ + return pulumi.get(self, "property_name") + + @property + @pulumi.getter(name="propertyValues") + def property_values(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "property_values") + + +@pulumi.output_type +class AutomationRuleRunPlaybookActionResponse(dict): + """ + Describes an automation rule action to run a playbook + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionType": + suggest = "action_type" + elif key == "actionConfiguration": + suggest = "action_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRuleRunPlaybookActionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRuleRunPlaybookActionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRuleRunPlaybookActionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + action_type: str, + order: int, + action_configuration: Optional['outputs.PlaybookActionPropertiesResponse'] = None): + """ + Describes an automation rule action to run a playbook + :param str action_type: The type of the automation rule action. + Expected value is 'RunPlaybook'. + """ + pulumi.set(__self__, "action_type", 'RunPlaybook') + pulumi.set(__self__, "order", order) + if action_configuration is not None: + pulumi.set(__self__, "action_configuration", action_configuration) + + @property + @pulumi.getter(name="actionType") + def action_type(self) -> str: + """ + The type of the automation rule action. + Expected value is 'RunPlaybook'. + """ + return pulumi.get(self, "action_type") + + @property + @pulumi.getter + def order(self) -> int: + return pulumi.get(self, "order") + + @property + @pulumi.getter(name="actionConfiguration") + def action_configuration(self) -> Optional['outputs.PlaybookActionPropertiesResponse']: + return pulumi.get(self, "action_configuration") + + +@pulumi.output_type +class AutomationRuleTriggeringLogicResponse(dict): + """ + Describes automation rule triggering logic. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isEnabled": + suggest = "is_enabled" + elif key == "triggersOn": + suggest = "triggers_on" + elif key == "triggersWhen": + suggest = "triggers_when" + elif key == "expirationTimeUtc": + suggest = "expiration_time_utc" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutomationRuleTriggeringLogicResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutomationRuleTriggeringLogicResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutomationRuleTriggeringLogicResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_enabled: bool, + triggers_on: str, + triggers_when: str, + conditions: Optional[Sequence[Any]] = None, + expiration_time_utc: Optional[str] = None): + """ + Describes automation rule triggering logic. + :param bool is_enabled: Determines whether the automation rule is enabled or disabled. + :param Sequence[Union['BooleanConditionPropertiesResponse', 'PropertyArrayChangedConditionPropertiesResponse', 'PropertyArrayConditionPropertiesResponse', 'PropertyChangedConditionPropertiesResponse', 'PropertyConditionPropertiesResponse']] conditions: The conditions to evaluate to determine if the automation rule should be triggered on a given object. + :param str expiration_time_utc: Determines when the automation rule should automatically expire and be disabled. + """ + pulumi.set(__self__, "is_enabled", is_enabled) + pulumi.set(__self__, "triggers_on", triggers_on) + pulumi.set(__self__, "triggers_when", triggers_when) + if conditions is not None: + pulumi.set(__self__, "conditions", conditions) + if expiration_time_utc is not None: + pulumi.set(__self__, "expiration_time_utc", expiration_time_utc) + + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> bool: + """ + Determines whether the automation rule is enabled or disabled. + """ + return pulumi.get(self, "is_enabled") + + @property + @pulumi.getter(name="triggersOn") + def triggers_on(self) -> str: + return pulumi.get(self, "triggers_on") + + @property + @pulumi.getter(name="triggersWhen") + def triggers_when(self) -> str: + return pulumi.get(self, "triggers_when") + + @property + @pulumi.getter + def conditions(self) -> Optional[Sequence[Any]]: + """ + The conditions to evaluate to determine if the automation rule should be triggered on a given object. + """ + return pulumi.get(self, "conditions") + + @property + @pulumi.getter(name="expirationTimeUtc") + def expiration_time_utc(self) -> Optional[str]: + """ + Determines when the automation rule should automatically expire and be disabled. + """ + return pulumi.get(self, "expiration_time_utc") + + +@pulumi.output_type +class AvailabilityResponse(dict): + """ + Connector Availability Status + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isPreview": + suggest = "is_preview" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AvailabilityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AvailabilityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AvailabilityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_preview: Optional[bool] = None, + status: Optional[int] = None): + """ + Connector Availability Status + :param bool is_preview: Set connector as preview + :param int status: The connector Availability Status + """ + if is_preview is not None: + pulumi.set(__self__, "is_preview", is_preview) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> Optional[bool]: + """ + Set connector as preview + """ + return pulumi.get(self, "is_preview") + + @property + @pulumi.getter + def status(self) -> Optional[int]: + """ + The connector Availability Status + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class AwsCloudTrailDataConnectorDataTypesResponse(dict): + """ + The available data types for Amazon Web Services CloudTrail data connector. + """ + def __init__(__self__, *, + logs: 'outputs.AwsCloudTrailDataConnectorDataTypesResponseLogs'): + """ + The available data types for Amazon Web Services CloudTrail data connector. + :param 'AwsCloudTrailDataConnectorDataTypesResponseLogs' logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> 'outputs.AwsCloudTrailDataConnectorDataTypesResponseLogs': + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + +@pulumi.output_type +class AwsCloudTrailDataConnectorDataTypesResponseLogs(dict): + """ + Logs data type. + """ + def __init__(__self__, *, + state: str): + """ + Logs data type. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class AwsS3DataConnectorDataTypesResponse(dict): + """ + The available data types for Amazon Web Services S3 data connector. + """ + def __init__(__self__, *, + logs: 'outputs.AwsS3DataConnectorDataTypesResponseLogs'): + """ + The available data types for Amazon Web Services S3 data connector. + :param 'AwsS3DataConnectorDataTypesResponseLogs' logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> 'outputs.AwsS3DataConnectorDataTypesResponseLogs': + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + +@pulumi.output_type +class AwsS3DataConnectorDataTypesResponseLogs(dict): + """ + Logs data type. + """ + def __init__(__self__, *, + state: str): + """ + Logs data type. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class BookmarkEntityMappingsResponse(dict): + """ + Describes the entity mappings of a single entity + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "entityType": + suggest = "entity_type" + elif key == "fieldMappings": + suggest = "field_mappings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BookmarkEntityMappingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BookmarkEntityMappingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BookmarkEntityMappingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + entity_type: Optional[str] = None, + field_mappings: Optional[Sequence['outputs.EntityFieldMappingResponse']] = None): + """ + Describes the entity mappings of a single entity + :param str entity_type: The entity type + :param Sequence['EntityFieldMappingResponse'] field_mappings: Array of fields mapping for that entity type + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if field_mappings is not None: + pulumi.set(__self__, "field_mappings", field_mappings) + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> Optional[str]: + """ + The entity type + """ + return pulumi.get(self, "entity_type") + + @property + @pulumi.getter(name="fieldMappings") + def field_mappings(self) -> Optional[Sequence['outputs.EntityFieldMappingResponse']]: + """ + Array of fields mapping for that entity type + """ + return pulumi.get(self, "field_mappings") + + +@pulumi.output_type +class BookmarkTimelineItemResponse(dict): + """ + Represents bookmark timeline item. + """ + def __init__(__self__, *, + azure_resource_id: str, + kind: str, + created_by: Optional['outputs.UserInfoResponse'] = None, + display_name: Optional[str] = None, + end_time_utc: Optional[str] = None, + event_time: Optional[str] = None, + labels: Optional[Sequence[str]] = None, + notes: Optional[str] = None, + start_time_utc: Optional[str] = None): + """ + Represents bookmark timeline item. + :param str azure_resource_id: The bookmark azure resource id. + :param str kind: The entity query kind + Expected value is 'Bookmark'. + :param 'UserInfoResponse' created_by: Describes a user that created the bookmark + :param str display_name: The bookmark display name. + :param str end_time_utc: The bookmark end time. + :param str event_time: The bookmark event time. + :param Sequence[str] labels: List of labels relevant to this bookmark + :param str notes: The notes of the bookmark + :param str start_time_utc: The bookmark start time. + """ + pulumi.set(__self__, "azure_resource_id", azure_resource_id) + pulumi.set(__self__, "kind", 'Bookmark') + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if end_time_utc is not None: + pulumi.set(__self__, "end_time_utc", end_time_utc) + if event_time is not None: + pulumi.set(__self__, "event_time", event_time) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if notes is not None: + pulumi.set(__self__, "notes", notes) + if start_time_utc is not None: + pulumi.set(__self__, "start_time_utc", start_time_utc) + + @property + @pulumi.getter(name="azureResourceId") + def azure_resource_id(self) -> str: + """ + The bookmark azure resource id. + """ + return pulumi.get(self, "azure_resource_id") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The entity query kind + Expected value is 'Bookmark'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional['outputs.UserInfoResponse']: + """ + Describes a user that created the bookmark + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The bookmark display name. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="endTimeUtc") + def end_time_utc(self) -> Optional[str]: + """ + The bookmark end time. + """ + return pulumi.get(self, "end_time_utc") + + @property + @pulumi.getter(name="eventTime") + def event_time(self) -> Optional[str]: + """ + The bookmark event time. + """ + return pulumi.get(self, "event_time") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence[str]]: + """ + List of labels relevant to this bookmark + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def notes(self) -> Optional[str]: + """ + The notes of the bookmark + """ + return pulumi.get(self, "notes") + + @property + @pulumi.getter(name="startTimeUtc") + def start_time_utc(self) -> Optional[str]: + """ + The bookmark start time. + """ + return pulumi.get(self, "start_time_utc") + + +@pulumi.output_type +class BooleanConditionPropertiesResponse(dict): + """ + Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conditionType": + suggest = "condition_type" + elif key == "conditionProperties": + suggest = "condition_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BooleanConditionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BooleanConditionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BooleanConditionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + condition_type: str, + condition_properties: Optional['outputs.AutomationRuleBooleanConditionResponse'] = None): + """ + Describes an automation rule condition that applies a boolean operator (e.g AND, OR) to conditions + :param str condition_type: + Expected value is 'Boolean'. + """ + pulumi.set(__self__, "condition_type", 'Boolean') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + + Expected value is 'Boolean'. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional['outputs.AutomationRuleBooleanConditionResponse']: + return pulumi.get(self, "condition_properties") + + +@pulumi.output_type +class ClientInfoResponse(dict): + """ + Information on the client (user or application) that made some action + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectId": + suggest = "object_id" + elif key == "userPrincipalName": + suggest = "user_principal_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + email: Optional[str] = None, + name: Optional[str] = None, + object_id: Optional[str] = None, + user_principal_name: Optional[str] = None): + """ + Information on the client (user or application) that made some action + :param str email: The email of the client. + :param str name: The name of the client. + :param str object_id: The object id of the client. + :param str user_principal_name: The user principal name of the client. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if name is not None: + pulumi.set(__self__, "name", name) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if user_principal_name is not None: + pulumi.set(__self__, "user_principal_name", user_principal_name) + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + The email of the client. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the client. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object id of the client. + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="userPrincipalName") + def user_principal_name(self) -> Optional[str]: + """ + The user principal name of the client. + """ + return pulumi.get(self, "user_principal_name") + + +@pulumi.output_type +class CodelessConnectorPollingAuthPropertiesResponse(dict): + """ + Describe the authentication properties needed to successfully authenticate with the server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "authType": + suggest = "auth_type" + elif key == "apiKeyIdentifier": + suggest = "api_key_identifier" + elif key == "apiKeyName": + suggest = "api_key_name" + elif key == "authorizationEndpoint": + suggest = "authorization_endpoint" + elif key == "authorizationEndpointQueryParameters": + suggest = "authorization_endpoint_query_parameters" + elif key == "flowName": + suggest = "flow_name" + elif key == "isApiKeyInPostPayload": + suggest = "is_api_key_in_post_payload" + elif key == "isClientSecretInHeader": + suggest = "is_client_secret_in_header" + elif key == "redirectionEndpoint": + suggest = "redirection_endpoint" + elif key == "tokenEndpoint": + suggest = "token_endpoint" + elif key == "tokenEndpointHeaders": + suggest = "token_endpoint_headers" + elif key == "tokenEndpointQueryParameters": + suggest = "token_endpoint_query_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessConnectorPollingAuthPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessConnectorPollingAuthPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessConnectorPollingAuthPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + auth_type: str, + api_key_identifier: Optional[str] = None, + api_key_name: Optional[str] = None, + authorization_endpoint: Optional[str] = None, + authorization_endpoint_query_parameters: Optional[Any] = None, + flow_name: Optional[str] = None, + is_api_key_in_post_payload: Optional[str] = None, + is_client_secret_in_header: Optional[bool] = None, + redirection_endpoint: Optional[str] = None, + scope: Optional[str] = None, + token_endpoint: Optional[str] = None, + token_endpoint_headers: Optional[Any] = None, + token_endpoint_query_parameters: Optional[Any] = None): + """ + Describe the authentication properties needed to successfully authenticate with the server + :param str auth_type: The authentication type + :param str api_key_identifier: A prefix send in the header before the actual token + :param str api_key_name: The header name which the token is sent with + :param str authorization_endpoint: The endpoint used to authorize the user, used in Oauth 2.0 flow + :param Any authorization_endpoint_query_parameters: The query parameters used in authorization request, used in Oauth 2.0 flow + :param str flow_name: Describes the flow name, for example 'AuthCode' for Oauth 2.0 + :param str is_api_key_in_post_payload: Marks if the key should sent in header + :param bool is_client_secret_in_header: Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + :param str redirection_endpoint: The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + :param str scope: The OAuth token scope + :param str token_endpoint: The endpoint used to issue a token, used in Oauth 2.0 flow + :param Any token_endpoint_headers: The query headers used in token request, used in Oauth 2.0 flow + :param Any token_endpoint_query_parameters: The query parameters used in token request, used in Oauth 2.0 flow + """ + pulumi.set(__self__, "auth_type", auth_type) + if api_key_identifier is not None: + pulumi.set(__self__, "api_key_identifier", api_key_identifier) + if api_key_name is not None: + pulumi.set(__self__, "api_key_name", api_key_name) + if authorization_endpoint is not None: + pulumi.set(__self__, "authorization_endpoint", authorization_endpoint) + if authorization_endpoint_query_parameters is not None: + pulumi.set(__self__, "authorization_endpoint_query_parameters", authorization_endpoint_query_parameters) + if flow_name is not None: + pulumi.set(__self__, "flow_name", flow_name) + if is_api_key_in_post_payload is not None: + pulumi.set(__self__, "is_api_key_in_post_payload", is_api_key_in_post_payload) + if is_client_secret_in_header is not None: + pulumi.set(__self__, "is_client_secret_in_header", is_client_secret_in_header) + if redirection_endpoint is not None: + pulumi.set(__self__, "redirection_endpoint", redirection_endpoint) + if scope is not None: + pulumi.set(__self__, "scope", scope) + if token_endpoint is not None: + pulumi.set(__self__, "token_endpoint", token_endpoint) + if token_endpoint_headers is not None: + pulumi.set(__self__, "token_endpoint_headers", token_endpoint_headers) + if token_endpoint_query_parameters is not None: + pulumi.set(__self__, "token_endpoint_query_parameters", token_endpoint_query_parameters) + + @property + @pulumi.getter(name="authType") + def auth_type(self) -> str: + """ + The authentication type + """ + return pulumi.get(self, "auth_type") + + @property + @pulumi.getter(name="apiKeyIdentifier") + def api_key_identifier(self) -> Optional[str]: + """ + A prefix send in the header before the actual token + """ + return pulumi.get(self, "api_key_identifier") + + @property + @pulumi.getter(name="apiKeyName") + def api_key_name(self) -> Optional[str]: + """ + The header name which the token is sent with + """ + return pulumi.get(self, "api_key_name") + + @property + @pulumi.getter(name="authorizationEndpoint") + def authorization_endpoint(self) -> Optional[str]: + """ + The endpoint used to authorize the user, used in Oauth 2.0 flow + """ + return pulumi.get(self, "authorization_endpoint") + + @property + @pulumi.getter(name="authorizationEndpointQueryParameters") + def authorization_endpoint_query_parameters(self) -> Optional[Any]: + """ + The query parameters used in authorization request, used in Oauth 2.0 flow + """ + return pulumi.get(self, "authorization_endpoint_query_parameters") + + @property + @pulumi.getter(name="flowName") + def flow_name(self) -> Optional[str]: + """ + Describes the flow name, for example 'AuthCode' for Oauth 2.0 + """ + return pulumi.get(self, "flow_name") + + @property + @pulumi.getter(name="isApiKeyInPostPayload") + def is_api_key_in_post_payload(self) -> Optional[str]: + """ + Marks if the key should sent in header + """ + return pulumi.get(self, "is_api_key_in_post_payload") + + @property + @pulumi.getter(name="isClientSecretInHeader") + def is_client_secret_in_header(self) -> Optional[bool]: + """ + Marks if we should send the client secret in header or payload, used in Oauth 2.0 flow + """ + return pulumi.get(self, "is_client_secret_in_header") + + @property + @pulumi.getter(name="redirectionEndpoint") + def redirection_endpoint(self) -> Optional[str]: + """ + The redirect endpoint where we will get the authorization code, used in Oauth 2.0 flow + """ + return pulumi.get(self, "redirection_endpoint") + + @property + @pulumi.getter + def scope(self) -> Optional[str]: + """ + The OAuth token scope + """ + return pulumi.get(self, "scope") + + @property + @pulumi.getter(name="tokenEndpoint") + def token_endpoint(self) -> Optional[str]: + """ + The endpoint used to issue a token, used in Oauth 2.0 flow + """ + return pulumi.get(self, "token_endpoint") + + @property + @pulumi.getter(name="tokenEndpointHeaders") + def token_endpoint_headers(self) -> Optional[Any]: + """ + The query headers used in token request, used in Oauth 2.0 flow + """ + return pulumi.get(self, "token_endpoint_headers") + + @property + @pulumi.getter(name="tokenEndpointQueryParameters") + def token_endpoint_query_parameters(self) -> Optional[Any]: + """ + The query parameters used in token request, used in Oauth 2.0 flow + """ + return pulumi.get(self, "token_endpoint_query_parameters") + + +@pulumi.output_type +class CodelessConnectorPollingConfigPropertiesResponse(dict): + """ + Config to describe the polling config for API poller connector + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isActive": + suggest = "is_active" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessConnectorPollingConfigPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessConnectorPollingConfigPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessConnectorPollingConfigPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + auth: 'outputs.CodelessConnectorPollingAuthPropertiesResponse', + request: 'outputs.CodelessConnectorPollingRequestPropertiesResponse', + is_active: Optional[bool] = None, + paging: Optional['outputs.CodelessConnectorPollingPagingPropertiesResponse'] = None, + response: Optional['outputs.CodelessConnectorPollingResponsePropertiesResponse'] = None): + """ + Config to describe the polling config for API poller connector + :param 'CodelessConnectorPollingAuthPropertiesResponse' auth: Describe the authentication type of the poller + :param 'CodelessConnectorPollingRequestPropertiesResponse' request: Describe the poll request config parameters of the poller + :param bool is_active: The poller active status + :param 'CodelessConnectorPollingPagingPropertiesResponse' paging: Describe the poll request paging config of the poller + :param 'CodelessConnectorPollingResponsePropertiesResponse' response: Describe the response config parameters of the poller + """ + pulumi.set(__self__, "auth", auth) + pulumi.set(__self__, "request", request) + if is_active is not None: + pulumi.set(__self__, "is_active", is_active) + if paging is not None: + pulumi.set(__self__, "paging", paging) + if response is not None: + pulumi.set(__self__, "response", response) + + @property + @pulumi.getter + def auth(self) -> 'outputs.CodelessConnectorPollingAuthPropertiesResponse': + """ + Describe the authentication type of the poller + """ + return pulumi.get(self, "auth") + + @property + @pulumi.getter + def request(self) -> 'outputs.CodelessConnectorPollingRequestPropertiesResponse': + """ + Describe the poll request config parameters of the poller + """ + return pulumi.get(self, "request") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[bool]: + """ + The poller active status + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter + def paging(self) -> Optional['outputs.CodelessConnectorPollingPagingPropertiesResponse']: + """ + Describe the poll request paging config of the poller + """ + return pulumi.get(self, "paging") + + @property + @pulumi.getter + def response(self) -> Optional['outputs.CodelessConnectorPollingResponsePropertiesResponse']: + """ + Describe the response config parameters of the poller + """ + return pulumi.get(self, "response") + + +@pulumi.output_type +class CodelessConnectorPollingPagingPropertiesResponse(dict): + """ + Describe the properties needed to make a pagination call + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "pagingType": + suggest = "paging_type" + elif key == "nextPageParaName": + suggest = "next_page_para_name" + elif key == "nextPageTokenJsonPath": + suggest = "next_page_token_json_path" + elif key == "pageCountAttributePath": + suggest = "page_count_attribute_path" + elif key == "pageSize": + suggest = "page_size" + elif key == "pageSizeParaName": + suggest = "page_size_para_name" + elif key == "pageTimeStampAttributePath": + suggest = "page_time_stamp_attribute_path" + elif key == "pageTotalCountAttributePath": + suggest = "page_total_count_attribute_path" + elif key == "searchTheLatestTimeStampFromEventsList": + suggest = "search_the_latest_time_stamp_from_events_list" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessConnectorPollingPagingPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessConnectorPollingPagingPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessConnectorPollingPagingPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + paging_type: str, + next_page_para_name: Optional[str] = None, + next_page_token_json_path: Optional[str] = None, + page_count_attribute_path: Optional[str] = None, + page_size: Optional[int] = None, + page_size_para_name: Optional[str] = None, + page_time_stamp_attribute_path: Optional[str] = None, + page_total_count_attribute_path: Optional[str] = None, + search_the_latest_time_stamp_from_events_list: Optional[str] = None): + """ + Describe the properties needed to make a pagination call + :param str paging_type: Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + :param str next_page_para_name: Defines the name of a next page attribute + :param str next_page_token_json_path: Defines the path to a next page token JSON + :param str page_count_attribute_path: Defines the path to a page count attribute + :param int page_size: Defines the paging size + :param str page_size_para_name: Defines the name of the page size parameter + :param str page_time_stamp_attribute_path: Defines the path to a paging time stamp attribute + :param str page_total_count_attribute_path: Defines the path to a page total count attribute + :param str search_the_latest_time_stamp_from_events_list: Determines whether to search for the latest time stamp in the events list + """ + pulumi.set(__self__, "paging_type", paging_type) + if next_page_para_name is not None: + pulumi.set(__self__, "next_page_para_name", next_page_para_name) + if next_page_token_json_path is not None: + pulumi.set(__self__, "next_page_token_json_path", next_page_token_json_path) + if page_count_attribute_path is not None: + pulumi.set(__self__, "page_count_attribute_path", page_count_attribute_path) + if page_size is not None: + pulumi.set(__self__, "page_size", page_size) + if page_size_para_name is not None: + pulumi.set(__self__, "page_size_para_name", page_size_para_name) + if page_time_stamp_attribute_path is not None: + pulumi.set(__self__, "page_time_stamp_attribute_path", page_time_stamp_attribute_path) + if page_total_count_attribute_path is not None: + pulumi.set(__self__, "page_total_count_attribute_path", page_total_count_attribute_path) + if search_the_latest_time_stamp_from_events_list is not None: + pulumi.set(__self__, "search_the_latest_time_stamp_from_events_list", search_the_latest_time_stamp_from_events_list) + + @property + @pulumi.getter(name="pagingType") + def paging_type(self) -> str: + """ + Describes the type. could be 'None', 'PageToken', 'PageCount', 'TimeStamp' + """ + return pulumi.get(self, "paging_type") + + @property + @pulumi.getter(name="nextPageParaName") + def next_page_para_name(self) -> Optional[str]: + """ + Defines the name of a next page attribute + """ + return pulumi.get(self, "next_page_para_name") + + @property + @pulumi.getter(name="nextPageTokenJsonPath") + def next_page_token_json_path(self) -> Optional[str]: + """ + Defines the path to a next page token JSON + """ + return pulumi.get(self, "next_page_token_json_path") + + @property + @pulumi.getter(name="pageCountAttributePath") + def page_count_attribute_path(self) -> Optional[str]: + """ + Defines the path to a page count attribute + """ + return pulumi.get(self, "page_count_attribute_path") + + @property + @pulumi.getter(name="pageSize") + def page_size(self) -> Optional[int]: + """ + Defines the paging size + """ + return pulumi.get(self, "page_size") + + @property + @pulumi.getter(name="pageSizeParaName") + def page_size_para_name(self) -> Optional[str]: + """ + Defines the name of the page size parameter + """ + return pulumi.get(self, "page_size_para_name") + + @property + @pulumi.getter(name="pageTimeStampAttributePath") + def page_time_stamp_attribute_path(self) -> Optional[str]: + """ + Defines the path to a paging time stamp attribute + """ + return pulumi.get(self, "page_time_stamp_attribute_path") + + @property + @pulumi.getter(name="pageTotalCountAttributePath") + def page_total_count_attribute_path(self) -> Optional[str]: + """ + Defines the path to a page total count attribute + """ + return pulumi.get(self, "page_total_count_attribute_path") + + @property + @pulumi.getter(name="searchTheLatestTimeStampFromEventsList") + def search_the_latest_time_stamp_from_events_list(self) -> Optional[str]: + """ + Determines whether to search for the latest time stamp in the events list + """ + return pulumi.get(self, "search_the_latest_time_stamp_from_events_list") + + +@pulumi.output_type +class CodelessConnectorPollingRequestPropertiesResponse(dict): + """ + Describe the request properties needed to successfully pull from the server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apiEndpoint": + suggest = "api_endpoint" + elif key == "httpMethod": + suggest = "http_method" + elif key == "queryTimeFormat": + suggest = "query_time_format" + elif key == "queryWindowInMin": + suggest = "query_window_in_min" + elif key == "endTimeAttributeName": + suggest = "end_time_attribute_name" + elif key == "queryParameters": + suggest = "query_parameters" + elif key == "queryParametersTemplate": + suggest = "query_parameters_template" + elif key == "rateLimitQps": + suggest = "rate_limit_qps" + elif key == "retryCount": + suggest = "retry_count" + elif key == "startTimeAttributeName": + suggest = "start_time_attribute_name" + elif key == "timeoutInSeconds": + suggest = "timeout_in_seconds" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessConnectorPollingRequestPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessConnectorPollingRequestPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessConnectorPollingRequestPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + api_endpoint: str, + http_method: str, + query_time_format: str, + query_window_in_min: int, + end_time_attribute_name: Optional[str] = None, + headers: Optional[Any] = None, + query_parameters: Optional[Any] = None, + query_parameters_template: Optional[str] = None, + rate_limit_qps: Optional[int] = None, + retry_count: Optional[int] = None, + start_time_attribute_name: Optional[str] = None, + timeout_in_seconds: Optional[int] = None): + """ + Describe the request properties needed to successfully pull from the server + :param str api_endpoint: Describe the endpoint we should pull the data from + :param str http_method: The http method type we will use in the poll request, GET or POST + :param str query_time_format: The time format will be used the query events in a specific window + :param int query_window_in_min: The window interval we will use the pull the data + :param str end_time_attribute_name: This will be used the query events from the end of the time window + :param Any headers: Describe the headers sent in the poll request + :param Any query_parameters: Describe the query parameters sent in the poll request + :param str query_parameters_template: For advanced scenarios for example user name/password embedded in nested JSON payload + :param int rate_limit_qps: Defines the rate limit QPS + :param int retry_count: Describe the amount of time we should try and poll the data in case of failure + :param str start_time_attribute_name: This will be used the query events from a start of the time window + :param int timeout_in_seconds: The number of seconds we will consider as a request timeout + """ + pulumi.set(__self__, "api_endpoint", api_endpoint) + pulumi.set(__self__, "http_method", http_method) + pulumi.set(__self__, "query_time_format", query_time_format) + pulumi.set(__self__, "query_window_in_min", query_window_in_min) + if end_time_attribute_name is not None: + pulumi.set(__self__, "end_time_attribute_name", end_time_attribute_name) + if headers is not None: + pulumi.set(__self__, "headers", headers) + if query_parameters is not None: + pulumi.set(__self__, "query_parameters", query_parameters) + if query_parameters_template is not None: + pulumi.set(__self__, "query_parameters_template", query_parameters_template) + if rate_limit_qps is not None: + pulumi.set(__self__, "rate_limit_qps", rate_limit_qps) + if retry_count is not None: + pulumi.set(__self__, "retry_count", retry_count) + if start_time_attribute_name is not None: + pulumi.set(__self__, "start_time_attribute_name", start_time_attribute_name) + if timeout_in_seconds is not None: + pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + + @property + @pulumi.getter(name="apiEndpoint") + def api_endpoint(self) -> str: + """ + Describe the endpoint we should pull the data from + """ + return pulumi.get(self, "api_endpoint") + + @property + @pulumi.getter(name="httpMethod") + def http_method(self) -> str: + """ + The http method type we will use in the poll request, GET or POST + """ + return pulumi.get(self, "http_method") + + @property + @pulumi.getter(name="queryTimeFormat") + def query_time_format(self) -> str: + """ + The time format will be used the query events in a specific window + """ + return pulumi.get(self, "query_time_format") + + @property + @pulumi.getter(name="queryWindowInMin") + def query_window_in_min(self) -> int: + """ + The window interval we will use the pull the data + """ + return pulumi.get(self, "query_window_in_min") + + @property + @pulumi.getter(name="endTimeAttributeName") + def end_time_attribute_name(self) -> Optional[str]: + """ + This will be used the query events from the end of the time window + """ + return pulumi.get(self, "end_time_attribute_name") + + @property + @pulumi.getter + def headers(self) -> Optional[Any]: + """ + Describe the headers sent in the poll request + """ + return pulumi.get(self, "headers") + + @property + @pulumi.getter(name="queryParameters") + def query_parameters(self) -> Optional[Any]: + """ + Describe the query parameters sent in the poll request + """ + return pulumi.get(self, "query_parameters") + + @property + @pulumi.getter(name="queryParametersTemplate") + def query_parameters_template(self) -> Optional[str]: + """ + For advanced scenarios for example user name/password embedded in nested JSON payload + """ + return pulumi.get(self, "query_parameters_template") + + @property + @pulumi.getter(name="rateLimitQps") + def rate_limit_qps(self) -> Optional[int]: + """ + Defines the rate limit QPS + """ + return pulumi.get(self, "rate_limit_qps") + + @property + @pulumi.getter(name="retryCount") + def retry_count(self) -> Optional[int]: + """ + Describe the amount of time we should try and poll the data in case of failure + """ + return pulumi.get(self, "retry_count") + + @property + @pulumi.getter(name="startTimeAttributeName") + def start_time_attribute_name(self) -> Optional[str]: + """ + This will be used the query events from a start of the time window + """ + return pulumi.get(self, "start_time_attribute_name") + + @property + @pulumi.getter(name="timeoutInSeconds") + def timeout_in_seconds(self) -> Optional[int]: + """ + The number of seconds we will consider as a request timeout + """ + return pulumi.get(self, "timeout_in_seconds") + + +@pulumi.output_type +class CodelessConnectorPollingResponsePropertiesResponse(dict): + """ + Describes the response from the external server + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "eventsJsonPaths": + suggest = "events_json_paths" + elif key == "isGzipCompressed": + suggest = "is_gzip_compressed" + elif key == "successStatusJsonPath": + suggest = "success_status_json_path" + elif key == "successStatusValue": + suggest = "success_status_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessConnectorPollingResponsePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessConnectorPollingResponsePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessConnectorPollingResponsePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + events_json_paths: Sequence[str], + is_gzip_compressed: Optional[bool] = None, + success_status_json_path: Optional[str] = None, + success_status_value: Optional[str] = None): + """ + Describes the response from the external server + :param Sequence[str] events_json_paths: Describes the path we should extract the data in the response + :param bool is_gzip_compressed: Describes if the data in the response is Gzip + :param str success_status_json_path: Describes the path we should extract the status code in the response + :param str success_status_value: Describes the path we should extract the status value in the response + """ + pulumi.set(__self__, "events_json_paths", events_json_paths) + if is_gzip_compressed is not None: + pulumi.set(__self__, "is_gzip_compressed", is_gzip_compressed) + if success_status_json_path is not None: + pulumi.set(__self__, "success_status_json_path", success_status_json_path) + if success_status_value is not None: + pulumi.set(__self__, "success_status_value", success_status_value) + + @property + @pulumi.getter(name="eventsJsonPaths") + def events_json_paths(self) -> Sequence[str]: + """ + Describes the path we should extract the data in the response + """ + return pulumi.get(self, "events_json_paths") + + @property + @pulumi.getter(name="isGzipCompressed") + def is_gzip_compressed(self) -> Optional[bool]: + """ + Describes if the data in the response is Gzip + """ + return pulumi.get(self, "is_gzip_compressed") + + @property + @pulumi.getter(name="successStatusJsonPath") + def success_status_json_path(self) -> Optional[str]: + """ + Describes the path we should extract the status code in the response + """ + return pulumi.get(self, "success_status_json_path") + + @property + @pulumi.getter(name="successStatusValue") + def success_status_value(self) -> Optional[str]: + """ + Describes the path we should extract the status value in the response + """ + return pulumi.get(self, "success_status_value") + + +@pulumi.output_type +class CodelessUiConnectorConfigPropertiesResponse(dict): + """ + Config to describe the instructions blade + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectivityCriteria": + suggest = "connectivity_criteria" + elif key == "dataTypes": + suggest = "data_types" + elif key == "descriptionMarkdown": + suggest = "description_markdown" + elif key == "graphQueries": + suggest = "graph_queries" + elif key == "graphQueriesTableName": + suggest = "graph_queries_table_name" + elif key == "instructionSteps": + suggest = "instruction_steps" + elif key == "sampleQueries": + suggest = "sample_queries" + elif key == "customImage": + suggest = "custom_image" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessUiConnectorConfigPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessUiConnectorConfigPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessUiConnectorConfigPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + availability: 'outputs.AvailabilityResponse', + connectivity_criteria: Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria'], + data_types: Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseDataTypes'], + description_markdown: str, + graph_queries: Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseGraphQueries'], + graph_queries_table_name: str, + instruction_steps: Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseInstructionSteps'], + permissions: 'outputs.PermissionsResponse', + publisher: str, + sample_queries: Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseSampleQueries'], + title: str, + custom_image: Optional[str] = None): + """ + Config to describe the instructions blade + :param 'AvailabilityResponse' availability: Connector Availability Status + :param Sequence['CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria'] connectivity_criteria: Define the way the connector check connectivity + :param Sequence['CodelessUiConnectorConfigPropertiesResponseDataTypes'] data_types: Data types to check for last data received + :param str description_markdown: Connector description + :param Sequence['CodelessUiConnectorConfigPropertiesResponseGraphQueries'] graph_queries: The graph query to show the current data status + :param str graph_queries_table_name: Name of the table the connector will insert the data to + :param Sequence['CodelessUiConnectorConfigPropertiesResponseInstructionSteps'] instruction_steps: Instruction steps to enable the connector + :param 'PermissionsResponse' permissions: Permissions required for the connector + :param str publisher: Connector publisher name + :param Sequence['CodelessUiConnectorConfigPropertiesResponseSampleQueries'] sample_queries: The sample queries for the connector + :param str title: Connector blade title + :param str custom_image: An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + """ + pulumi.set(__self__, "availability", availability) + pulumi.set(__self__, "connectivity_criteria", connectivity_criteria) + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "description_markdown", description_markdown) + pulumi.set(__self__, "graph_queries", graph_queries) + pulumi.set(__self__, "graph_queries_table_name", graph_queries_table_name) + pulumi.set(__self__, "instruction_steps", instruction_steps) + pulumi.set(__self__, "permissions", permissions) + pulumi.set(__self__, "publisher", publisher) + pulumi.set(__self__, "sample_queries", sample_queries) + pulumi.set(__self__, "title", title) + if custom_image is not None: + pulumi.set(__self__, "custom_image", custom_image) + + @property + @pulumi.getter + def availability(self) -> 'outputs.AvailabilityResponse': + """ + Connector Availability Status + """ + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="connectivityCriteria") + def connectivity_criteria(self) -> Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria']: + """ + Define the way the connector check connectivity + """ + return pulumi.get(self, "connectivity_criteria") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseDataTypes']: + """ + Data types to check for last data received + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter(name="descriptionMarkdown") + def description_markdown(self) -> str: + """ + Connector description + """ + return pulumi.get(self, "description_markdown") + + @property + @pulumi.getter(name="graphQueries") + def graph_queries(self) -> Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseGraphQueries']: + """ + The graph query to show the current data status + """ + return pulumi.get(self, "graph_queries") + + @property + @pulumi.getter(name="graphQueriesTableName") + def graph_queries_table_name(self) -> str: + """ + Name of the table the connector will insert the data to + """ + return pulumi.get(self, "graph_queries_table_name") + + @property + @pulumi.getter(name="instructionSteps") + def instruction_steps(self) -> Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseInstructionSteps']: + """ + Instruction steps to enable the connector + """ + return pulumi.get(self, "instruction_steps") + + @property + @pulumi.getter + def permissions(self) -> 'outputs.PermissionsResponse': + """ + Permissions required for the connector + """ + return pulumi.get(self, "permissions") + + @property + @pulumi.getter + def publisher(self) -> str: + """ + Connector publisher name + """ + return pulumi.get(self, "publisher") + + @property + @pulumi.getter(name="sampleQueries") + def sample_queries(self) -> Sequence['outputs.CodelessUiConnectorConfigPropertiesResponseSampleQueries']: + """ + The sample queries for the connector + """ + return pulumi.get(self, "sample_queries") + + @property + @pulumi.getter + def title(self) -> str: + """ + Connector blade title + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter(name="customImage") + def custom_image(self) -> Optional[str]: + """ + An optional custom image to be used when displaying the connector within Azure Sentinel's connector's gallery + """ + return pulumi.get(self, "custom_image") + + +@pulumi.output_type +class CodelessUiConnectorConfigPropertiesResponseConnectivityCriteria(dict): + def __init__(__self__, *, + type: Optional[str] = None, + value: Optional[Sequence[str]] = None): + """ + :param str type: type of connectivity + :param Sequence[str] value: Queries for checking connectivity + """ + if type is not None: + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + type of connectivity + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> Optional[Sequence[str]]: + """ + Queries for checking connectivity + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class CodelessUiConnectorConfigPropertiesResponseDataTypes(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lastDataReceivedQuery": + suggest = "last_data_received_query" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessUiConnectorConfigPropertiesResponseDataTypes. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessUiConnectorConfigPropertiesResponseDataTypes.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessUiConnectorConfigPropertiesResponseDataTypes.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + last_data_received_query: Optional[str] = None, + name: Optional[str] = None): + """ + :param str last_data_received_query: Query for indicate last data received + :param str name: Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + """ + if last_data_received_query is not None: + pulumi.set(__self__, "last_data_received_query", last_data_received_query) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="lastDataReceivedQuery") + def last_data_received_query(self) -> Optional[str]: + """ + Query for indicate last data received + """ + return pulumi.get(self, "last_data_received_query") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the data type to show in the graph. can be use with {{graphQueriesTableName}} placeholder + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class CodelessUiConnectorConfigPropertiesResponseGraphQueries(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "baseQuery": + suggest = "base_query" + elif key == "metricName": + suggest = "metric_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CodelessUiConnectorConfigPropertiesResponseGraphQueries. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CodelessUiConnectorConfigPropertiesResponseGraphQueries.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CodelessUiConnectorConfigPropertiesResponseGraphQueries.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + base_query: Optional[str] = None, + legend: Optional[str] = None, + metric_name: Optional[str] = None): + """ + :param str base_query: The base query for the graph + :param str legend: The legend for the graph + :param str metric_name: the metric that the query is checking + """ + if base_query is not None: + pulumi.set(__self__, "base_query", base_query) + if legend is not None: + pulumi.set(__self__, "legend", legend) + if metric_name is not None: + pulumi.set(__self__, "metric_name", metric_name) + + @property + @pulumi.getter(name="baseQuery") + def base_query(self) -> Optional[str]: + """ + The base query for the graph + """ + return pulumi.get(self, "base_query") + + @property + @pulumi.getter + def legend(self) -> Optional[str]: + """ + The legend for the graph + """ + return pulumi.get(self, "legend") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> Optional[str]: + """ + the metric that the query is checking + """ + return pulumi.get(self, "metric_name") + + +@pulumi.output_type +class CodelessUiConnectorConfigPropertiesResponseInstructionSteps(dict): + def __init__(__self__, *, + description: Optional[str] = None, + instructions: Optional[Sequence['outputs.InstructionStepsResponseInstructions']] = None, + title: Optional[str] = None): + """ + :param str description: Instruction step description + :param Sequence['InstructionStepsResponseInstructions'] instructions: Instruction step details + :param str title: Instruction step title + """ + if description is not None: + pulumi.set(__self__, "description", description) + if instructions is not None: + pulumi.set(__self__, "instructions", instructions) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Instruction step description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def instructions(self) -> Optional[Sequence['outputs.InstructionStepsResponseInstructions']]: + """ + Instruction step details + """ + return pulumi.get(self, "instructions") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + """ + Instruction step title + """ + return pulumi.get(self, "title") + + +@pulumi.output_type +class CodelessUiConnectorConfigPropertiesResponseSampleQueries(dict): + def __init__(__self__, *, + description: Optional[str] = None, + query: Optional[str] = None): + """ + :param str description: The sample query description + :param str query: the sample query + """ + if description is not None: + pulumi.set(__self__, "description", description) + if query is not None: + pulumi.set(__self__, "query", query) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The sample query description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def query(self) -> Optional[str]: + """ + the sample query + """ + return pulumi.get(self, "query") + + +@pulumi.output_type +class ConnectivityCriterionResponse(dict): + """ + The criteria by which we determine whether the connector is connected or not. + For Example, use a KQL query to check if the expected data type is flowing). + """ + def __init__(__self__, *, + type: str, + value: Optional[Sequence[str]] = None): + """ + The criteria by which we determine whether the connector is connected or not. + For Example, use a KQL query to check if the expected data type is flowing). + :param str type: Gets or sets the type of connectivity. + :param Sequence[str] value: Gets or sets the queries for checking connectivity. + """ + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the type of connectivity. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> Optional[Sequence[str]]: + """ + Gets or sets the queries for checking connectivity. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class ConnectorDataTypeResponse(dict): + """ + The data type which is created by the connector, + including a query indicated when was the last time that data type was received in the workspace. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lastDataReceivedQuery": + suggest = "last_data_received_query" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectorDataTypeResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectorDataTypeResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectorDataTypeResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + last_data_received_query: str, + name: str): + """ + The data type which is created by the connector, + including a query indicated when was the last time that data type was received in the workspace. + :param str last_data_received_query: Gets or sets the query to indicate when relevant data was last received in the workspace. + :param str name: Gets or sets the name of the data type to show in the graph. + """ + pulumi.set(__self__, "last_data_received_query", last_data_received_query) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="lastDataReceivedQuery") + def last_data_received_query(self) -> str: + """ + Gets or sets the query to indicate when relevant data was last received in the workspace. + """ + return pulumi.get(self, "last_data_received_query") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the name of the data type to show in the graph. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class ConnectorDefinitionsAvailabilityResponse(dict): + """ + The exposure status of the connector to the customers. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isPreview": + suggest = "is_preview" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectorDefinitionsAvailabilityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectorDefinitionsAvailabilityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectorDefinitionsAvailabilityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_preview: Optional[bool] = None, + status: Optional[int] = None): + """ + The exposure status of the connector to the customers. + :param bool is_preview: Gets or sets a value indicating whether the connector is preview. + :param int status: The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + """ + if is_preview is not None: + pulumi.set(__self__, "is_preview", is_preview) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="isPreview") + def is_preview(self) -> Optional[bool]: + """ + Gets or sets a value indicating whether the connector is preview. + """ + return pulumi.get(self, "is_preview") + + @property + @pulumi.getter + def status(self) -> Optional[int]: + """ + The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal). + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class ConnectorDefinitionsPermissionsResponse(dict): + """ + The required Permissions for the connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceProvider": + suggest = "resource_provider" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectorDefinitionsPermissionsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectorDefinitionsPermissionsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectorDefinitionsPermissionsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + customs: Optional[Sequence['outputs.CustomPermissionDetailsResponse']] = None, + licenses: Optional[Sequence[str]] = None, + resource_provider: Optional[Sequence['outputs.ConnectorDefinitionsResourceProviderResponse']] = None, + tenant: Optional[Sequence[str]] = None): + """ + The required Permissions for the connector. + :param Sequence['CustomPermissionDetailsResponse'] customs: Gets or sets the customs permissions required for the user to create connections. + :param Sequence[str] licenses: Gets or sets the required licenses for the user to create connections. + :param Sequence['ConnectorDefinitionsResourceProviderResponse'] resource_provider: Gets or sets the resource provider permissions required for the user to create connections. + :param Sequence[str] tenant: Gets or sets the required tenant permissions for the connector. + """ + if customs is not None: + pulumi.set(__self__, "customs", customs) + if licenses is not None: + pulumi.set(__self__, "licenses", licenses) + if resource_provider is not None: + pulumi.set(__self__, "resource_provider", resource_provider) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + + @property + @pulumi.getter + def customs(self) -> Optional[Sequence['outputs.CustomPermissionDetailsResponse']]: + """ + Gets or sets the customs permissions required for the user to create connections. + """ + return pulumi.get(self, "customs") + + @property + @pulumi.getter + def licenses(self) -> Optional[Sequence[str]]: + """ + Gets or sets the required licenses for the user to create connections. + """ + return pulumi.get(self, "licenses") + + @property + @pulumi.getter(name="resourceProvider") + def resource_provider(self) -> Optional[Sequence['outputs.ConnectorDefinitionsResourceProviderResponse']]: + """ + Gets or sets the resource provider permissions required for the user to create connections. + """ + return pulumi.get(self, "resource_provider") + + @property + @pulumi.getter + def tenant(self) -> Optional[Sequence[str]]: + """ + Gets or sets the required tenant permissions for the connector. + """ + return pulumi.get(self, "tenant") + + +@pulumi.output_type +class ConnectorDefinitionsResourceProviderResponse(dict): + """ + The resource provider details include the required permissions for the user to create connections. + The user should have the required permissions(Read\\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "permissionsDisplayText": + suggest = "permissions_display_text" + elif key == "providerDisplayName": + suggest = "provider_display_name" + elif key == "requiredPermissions": + suggest = "required_permissions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectorDefinitionsResourceProviderResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectorDefinitionsResourceProviderResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectorDefinitionsResourceProviderResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + permissions_display_text: str, + provider: str, + provider_display_name: str, + required_permissions: 'outputs.ResourceProviderRequiredPermissionsResponse', + scope: str): + """ + The resource provider details include the required permissions for the user to create connections. + The user should have the required permissions(Read\\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider. + :param str permissions_display_text: Gets or sets the permissions description text. + :param str provider: Gets or sets the provider name. + :param str provider_display_name: Gets or sets the permissions provider display name. + :param 'ResourceProviderRequiredPermissionsResponse' required_permissions: Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + :param str scope: The scope on which the user should have permissions, in order to be able to create connections. + """ + pulumi.set(__self__, "permissions_display_text", permissions_display_text) + pulumi.set(__self__, "provider", provider) + pulumi.set(__self__, "provider_display_name", provider_display_name) + pulumi.set(__self__, "required_permissions", required_permissions) + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="permissionsDisplayText") + def permissions_display_text(self) -> str: + """ + Gets or sets the permissions description text. + """ + return pulumi.get(self, "permissions_display_text") + + @property + @pulumi.getter + def provider(self) -> str: + """ + Gets or sets the provider name. + """ + return pulumi.get(self, "provider") + + @property + @pulumi.getter(name="providerDisplayName") + def provider_display_name(self) -> str: + """ + Gets or sets the permissions provider display name. + """ + return pulumi.get(self, "provider_display_name") + + @property + @pulumi.getter(name="requiredPermissions") + def required_permissions(self) -> 'outputs.ResourceProviderRequiredPermissionsResponse': + """ + Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + """ + return pulumi.get(self, "required_permissions") + + @property + @pulumi.getter + def scope(self) -> str: + """ + The scope on which the user should have permissions, in order to be able to create connections. + """ + return pulumi.get(self, "scope") + + +@pulumi.output_type +class CustomPermissionDetailsResponse(dict): + """ + The Custom permissions required for the connector. + """ + def __init__(__self__, *, + description: str, + name: str): + """ + The Custom permissions required for the connector. + :param str description: Gets or sets the custom permissions description. + :param str name: Gets or sets the custom permissions name. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def description(self) -> str: + """ + Gets or sets the custom permissions description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> str: + """ + Gets or sets the custom permissions name. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class CustomizableConnectionsConfigResponse(dict): + """ + The UiConfig for 'Customizable' connector definition kind. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "templateSpecName": + suggest = "template_spec_name" + elif key == "templateSpecVersion": + suggest = "template_spec_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomizableConnectionsConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomizableConnectionsConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomizableConnectionsConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + template_spec_name: str, + template_spec_version: str): + """ + The UiConfig for 'Customizable' connector definition kind. + :param str template_spec_name: Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + :param str template_spec_version: Gets or sets the template version. + """ + pulumi.set(__self__, "template_spec_name", template_spec_name) + pulumi.set(__self__, "template_spec_version", template_spec_version) + + @property + @pulumi.getter(name="templateSpecName") + def template_spec_name(self) -> str: + """ + Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates. + """ + return pulumi.get(self, "template_spec_name") + + @property + @pulumi.getter(name="templateSpecVersion") + def template_spec_version(self) -> str: + """ + Gets or sets the template version. + """ + return pulumi.get(self, "template_spec_version") + + +@pulumi.output_type +class CustomizableConnectorUiConfigResponse(dict): + """ + The UiConfig for 'Customizable' connector definition kind. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectivityCriteria": + suggest = "connectivity_criteria" + elif key == "dataTypes": + suggest = "data_types" + elif key == "descriptionMarkdown": + suggest = "description_markdown" + elif key == "graphQueries": + suggest = "graph_queries" + elif key == "instructionSteps": + suggest = "instruction_steps" + elif key == "sampleQueries": + suggest = "sample_queries" + elif key == "graphQueriesTableName": + suggest = "graph_queries_table_name" + elif key == "isConnectivityCriteriasMatchSome": + suggest = "is_connectivity_criterias_match_some" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomizableConnectorUiConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomizableConnectorUiConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomizableConnectorUiConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + connectivity_criteria: Sequence['outputs.ConnectivityCriterionResponse'], + data_types: Sequence['outputs.ConnectorDataTypeResponse'], + description_markdown: str, + graph_queries: Sequence['outputs.GraphQueryResponse'], + instruction_steps: Sequence['outputs.InstructionStepResponse'], + permissions: 'outputs.ConnectorDefinitionsPermissionsResponse', + publisher: str, + sample_queries: Sequence['outputs.SampleQueryResponse'], + title: str, + availability: Optional['outputs.ConnectorDefinitionsAvailabilityResponse'] = None, + graph_queries_table_name: Optional[str] = None, + id: Optional[str] = None, + is_connectivity_criterias_match_some: Optional[bool] = None, + logo: Optional[str] = None): + """ + The UiConfig for 'Customizable' connector definition kind. + :param Sequence['ConnectivityCriterionResponse'] connectivity_criteria: Gets or sets the way the connector checks whether the connector is connected. + :param Sequence['ConnectorDataTypeResponse'] data_types: Gets or sets the data types to check for last data received. + :param str description_markdown: Gets or sets the connector description in markdown format. + :param Sequence['GraphQueryResponse'] graph_queries: Gets or sets the graph queries to show the current data volume over time. + :param Sequence['InstructionStepResponse'] instruction_steps: Gets or sets the instruction steps to enable the connector. + :param 'ConnectorDefinitionsPermissionsResponse' permissions: The required Permissions for the connector. + :param str publisher: Gets or sets the connector publisher name. + :param Sequence['SampleQueryResponse'] sample_queries: Gets or sets the sample queries for the connector. + :param str title: Gets or sets the connector blade title. + :param 'ConnectorDefinitionsAvailabilityResponse' availability: The exposure status of the connector to the customers. + :param str graph_queries_table_name: Gets or sets the name of the table the connector will insert the data to. + This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + in Query and LastDataReceivedQuery values. + :param str id: Gets or sets custom connector id. optional field. + :param bool is_connectivity_criterias_match_some: Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + :param str logo: Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + The logo value should be in SVG format. + """ + pulumi.set(__self__, "connectivity_criteria", connectivity_criteria) + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "description_markdown", description_markdown) + pulumi.set(__self__, "graph_queries", graph_queries) + pulumi.set(__self__, "instruction_steps", instruction_steps) + pulumi.set(__self__, "permissions", permissions) + pulumi.set(__self__, "publisher", publisher) + pulumi.set(__self__, "sample_queries", sample_queries) + pulumi.set(__self__, "title", title) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if graph_queries_table_name is not None: + pulumi.set(__self__, "graph_queries_table_name", graph_queries_table_name) + if id is not None: + pulumi.set(__self__, "id", id) + if is_connectivity_criterias_match_some is not None: + pulumi.set(__self__, "is_connectivity_criterias_match_some", is_connectivity_criterias_match_some) + if logo is not None: + pulumi.set(__self__, "logo", logo) + + @property + @pulumi.getter(name="connectivityCriteria") + def connectivity_criteria(self) -> Sequence['outputs.ConnectivityCriterionResponse']: + """ + Gets or sets the way the connector checks whether the connector is connected. + """ + return pulumi.get(self, "connectivity_criteria") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Sequence['outputs.ConnectorDataTypeResponse']: + """ + Gets or sets the data types to check for last data received. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter(name="descriptionMarkdown") + def description_markdown(self) -> str: + """ + Gets or sets the connector description in markdown format. + """ + return pulumi.get(self, "description_markdown") + + @property + @pulumi.getter(name="graphQueries") + def graph_queries(self) -> Sequence['outputs.GraphQueryResponse']: + """ + Gets or sets the graph queries to show the current data volume over time. + """ + return pulumi.get(self, "graph_queries") + + @property + @pulumi.getter(name="instructionSteps") + def instruction_steps(self) -> Sequence['outputs.InstructionStepResponse']: + """ + Gets or sets the instruction steps to enable the connector. + """ + return pulumi.get(self, "instruction_steps") + + @property + @pulumi.getter + def permissions(self) -> 'outputs.ConnectorDefinitionsPermissionsResponse': + """ + The required Permissions for the connector. + """ + return pulumi.get(self, "permissions") + + @property + @pulumi.getter + def publisher(self) -> str: + """ + Gets or sets the connector publisher name. + """ + return pulumi.get(self, "publisher") + + @property + @pulumi.getter(name="sampleQueries") + def sample_queries(self) -> Sequence['outputs.SampleQueryResponse']: + """ + Gets or sets the sample queries for the connector. + """ + return pulumi.get(self, "sample_queries") + + @property + @pulumi.getter + def title(self) -> str: + """ + Gets or sets the connector blade title. + """ + return pulumi.get(self, "title") + + @property + @pulumi.getter + def availability(self) -> Optional['outputs.ConnectorDefinitionsAvailabilityResponse']: + """ + The exposure status of the connector to the customers. + """ + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="graphQueriesTableName") + def graph_queries_table_name(self) -> Optional[str]: + """ + Gets or sets the name of the table the connector will insert the data to. + This name can be used in other queries by specifying {{graphQueriesTableName}} placeholder + in Query and LastDataReceivedQuery values. + """ + return pulumi.get(self, "graph_queries_table_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Gets or sets custom connector id. optional field. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isConnectivityCriteriasMatchSome") + def is_connectivity_criterias_match_some(self) -> Optional[bool]: + """ + Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items. + """ + return pulumi.get(self, "is_connectivity_criterias_match_some") + + @property + @pulumi.getter + def logo(self) -> Optional[str]: + """ + Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery. + The logo value should be in SVG format. + """ + return pulumi.get(self, "logo") + + +@pulumi.output_type +class DCRConfigurationResponse(dict): + """ + The configuration of the destination of the data. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataCollectionEndpoint": + suggest = "data_collection_endpoint" + elif key == "dataCollectionRuleImmutableId": + suggest = "data_collection_rule_immutable_id" + elif key == "streamName": + suggest = "stream_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DCRConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DCRConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DCRConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_collection_endpoint: str, + data_collection_rule_immutable_id: str, + stream_name: str): + """ + The configuration of the destination of the data. + :param str data_collection_endpoint: Represents the data collection ingestion endpoint in log analytics. + :param str data_collection_rule_immutable_id: The data collection rule immutable id, the rule defines the transformation and data destination. + :param str stream_name: The stream we are sending the data to. + """ + pulumi.set(__self__, "data_collection_endpoint", data_collection_endpoint) + pulumi.set(__self__, "data_collection_rule_immutable_id", data_collection_rule_immutable_id) + pulumi.set(__self__, "stream_name", stream_name) + + @property + @pulumi.getter(name="dataCollectionEndpoint") + def data_collection_endpoint(self) -> str: + """ + Represents the data collection ingestion endpoint in log analytics. + """ + return pulumi.get(self, "data_collection_endpoint") + + @property + @pulumi.getter(name="dataCollectionRuleImmutableId") + def data_collection_rule_immutable_id(self) -> str: + """ + The data collection rule immutable id, the rule defines the transformation and data destination. + """ + return pulumi.get(self, "data_collection_rule_immutable_id") + + @property + @pulumi.getter(name="streamName") + def stream_name(self) -> str: + """ + The stream we are sending the data to. + """ + return pulumi.get(self, "stream_name") + + +@pulumi.output_type +class DataConnectorDataTypeCommonResponse(dict): + """ + Common field for data type in data connectors. + """ + def __init__(__self__, *, + state: str): + """ + Common field for data type in data connectors. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class Dynamics365DataConnectorDataTypesResponse(dict): + """ + The available data types for Dynamics365 data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dynamics365CdsActivities": + suggest = "dynamics365_cds_activities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in Dynamics365DataConnectorDataTypesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + Dynamics365DataConnectorDataTypesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + Dynamics365DataConnectorDataTypesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dynamics365_cds_activities: 'outputs.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities'): + """ + The available data types for Dynamics365 data connector. + :param 'Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities' dynamics365_cds_activities: Common Data Service data type connection. + """ + pulumi.set(__self__, "dynamics365_cds_activities", dynamics365_cds_activities) + + @property + @pulumi.getter(name="dynamics365CdsActivities") + def dynamics365_cds_activities(self) -> 'outputs.Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities': + """ + Common Data Service data type connection. + """ + return pulumi.get(self, "dynamics365_cds_activities") + + +@pulumi.output_type +class Dynamics365DataConnectorDataTypesResponseDynamics365CdsActivities(dict): + """ + Common Data Service data type connection. + """ + def __init__(__self__, *, + state: str): + """ + Common Data Service data type connection. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class EntityFieldMappingResponse(dict): + """ + Map identifiers of a single entity + """ + def __init__(__self__, *, + identifier: Optional[str] = None, + value: Optional[str] = None): + """ + Map identifiers of a single entity + :param str identifier: Alert V3 identifier + :param str value: The value of the identifier + """ + if identifier is not None: + pulumi.set(__self__, "identifier", identifier) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def identifier(self) -> Optional[str]: + """ + Alert V3 identifier + """ + return pulumi.get(self, "identifier") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + The value of the identifier + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class EntityInsightItemResponse(dict): + """ + Entity insight Item. + """ + def __init__(__self__, *, + chart_query_results: Optional[Sequence['outputs.InsightsTableResultResponse']] = None, + query_id: Optional[str] = None, + query_time_interval: Optional['outputs.EntityInsightItemResponseQueryTimeInterval'] = None, + table_query_results: Optional['outputs.InsightsTableResultResponse'] = None): + """ + Entity insight Item. + :param Sequence['InsightsTableResultResponse'] chart_query_results: Query results for table insights query. + :param str query_id: The query id of the insight + :param 'EntityInsightItemResponseQueryTimeInterval' query_time_interval: The Time interval that the query actually executed on. + :param 'InsightsTableResultResponse' table_query_results: Query results for table insights query. + """ + if chart_query_results is not None: + pulumi.set(__self__, "chart_query_results", chart_query_results) + if query_id is not None: + pulumi.set(__self__, "query_id", query_id) + if query_time_interval is not None: + pulumi.set(__self__, "query_time_interval", query_time_interval) + if table_query_results is not None: + pulumi.set(__self__, "table_query_results", table_query_results) + + @property + @pulumi.getter(name="chartQueryResults") + def chart_query_results(self) -> Optional[Sequence['outputs.InsightsTableResultResponse']]: + """ + Query results for table insights query. + """ + return pulumi.get(self, "chart_query_results") + + @property + @pulumi.getter(name="queryId") + def query_id(self) -> Optional[str]: + """ + The query id of the insight + """ + return pulumi.get(self, "query_id") + + @property + @pulumi.getter(name="queryTimeInterval") + def query_time_interval(self) -> Optional['outputs.EntityInsightItemResponseQueryTimeInterval']: + """ + The Time interval that the query actually executed on. + """ + return pulumi.get(self, "query_time_interval") + + @property + @pulumi.getter(name="tableQueryResults") + def table_query_results(self) -> Optional['outputs.InsightsTableResultResponse']: + """ + Query results for table insights query. + """ + return pulumi.get(self, "table_query_results") + + +@pulumi.output_type +class EntityInsightItemResponseQueryTimeInterval(dict): + """ + The Time interval that the query actually executed on. + """ + def __init__(__self__, *, + end_time: Optional[str] = None, + start_time: Optional[str] = None): + """ + The Time interval that the query actually executed on. + :param str end_time: Insight query end time + :param str start_time: Insight query start time + """ + if end_time is not None: + pulumi.set(__self__, "end_time", end_time) + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + + @property + @pulumi.getter(name="endTime") + def end_time(self) -> Optional[str]: + """ + Insight query end time + """ + return pulumi.get(self, "end_time") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[str]: + """ + Insight query start time + """ + return pulumi.get(self, "start_time") + + +@pulumi.output_type +class EntityMappingResponse(dict): + """ + Single entity mapping for the alert rule + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "entityType": + suggest = "entity_type" + elif key == "fieldMappings": + suggest = "field_mappings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityMappingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityMappingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityMappingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + entity_type: Optional[str] = None, + field_mappings: Optional[Sequence['outputs.FieldMappingResponse']] = None): + """ + Single entity mapping for the alert rule + :param str entity_type: The V3 type of the mapped entity + :param Sequence['FieldMappingResponse'] field_mappings: array of field mappings for the given entity mapping + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if field_mappings is not None: + pulumi.set(__self__, "field_mappings", field_mappings) + + @property + @pulumi.getter(name="entityType") + def entity_type(self) -> Optional[str]: + """ + The V3 type of the mapped entity + """ + return pulumi.get(self, "entity_type") + + @property + @pulumi.getter(name="fieldMappings") + def field_mappings(self) -> Optional[Sequence['outputs.FieldMappingResponse']]: + """ + array of field mappings for the given entity mapping + """ + return pulumi.get(self, "field_mappings") + + +@pulumi.output_type +class EventGroupingSettingsResponse(dict): + """ + Event grouping settings property bag. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "aggregationKind": + suggest = "aggregation_kind" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EventGroupingSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EventGroupingSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EventGroupingSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + aggregation_kind: Optional[str] = None): + """ + Event grouping settings property bag. + :param str aggregation_kind: The event grouping aggregation kinds + """ + if aggregation_kind is not None: + pulumi.set(__self__, "aggregation_kind", aggregation_kind) + + @property + @pulumi.getter(name="aggregationKind") + def aggregation_kind(self) -> Optional[str]: + """ + The event grouping aggregation kinds + """ + return pulumi.get(self, "aggregation_kind") + + +@pulumi.output_type +class FieldMappingResponse(dict): + """ + A single field mapping of the mapped entity + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "columnName": + suggest = "column_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FieldMappingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FieldMappingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FieldMappingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + column_name: Optional[str] = None, + identifier: Optional[str] = None): + """ + A single field mapping of the mapped entity + :param str column_name: the column name to be mapped to the identifier + :param str identifier: the V3 identifier of the entity + """ + if column_name is not None: + pulumi.set(__self__, "column_name", column_name) + if identifier is not None: + pulumi.set(__self__, "identifier", identifier) + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> Optional[str]: + """ + the column name to be mapped to the identifier + """ + return pulumi.get(self, "column_name") + + @property + @pulumi.getter + def identifier(self) -> Optional[str]: + """ + the V3 identifier of the entity + """ + return pulumi.get(self, "identifier") + + +@pulumi.output_type +class FileMetadataResponse(dict): + """ + Represents a file. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deleteStatus": + suggest = "delete_status" + elif key == "fileContentUri": + suggest = "file_content_uri" + elif key == "fileFormat": + suggest = "file_format" + elif key == "fileName": + suggest = "file_name" + elif key == "fileSize": + suggest = "file_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FileMetadataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FileMetadataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FileMetadataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + delete_status: str, + file_content_uri: str, + file_format: Optional[str] = None, + file_name: Optional[str] = None, + file_size: Optional[int] = None): + """ + Represents a file. + :param str delete_status: Indicates whether the file was deleted from the storage account. + :param str file_content_uri: A URI with a valid SAS token to allow uploading / downloading the file. + :param str file_format: The format of the file + :param str file_name: The name of the file. + :param int file_size: The size of the file. + """ + pulumi.set(__self__, "delete_status", delete_status) + pulumi.set(__self__, "file_content_uri", file_content_uri) + if file_format is not None: + pulumi.set(__self__, "file_format", file_format) + if file_name is not None: + pulumi.set(__self__, "file_name", file_name) + if file_size is not None: + pulumi.set(__self__, "file_size", file_size) + + @property + @pulumi.getter(name="deleteStatus") + def delete_status(self) -> str: + """ + Indicates whether the file was deleted from the storage account. + """ + return pulumi.get(self, "delete_status") + + @property + @pulumi.getter(name="fileContentUri") + def file_content_uri(self) -> str: + """ + A URI with a valid SAS token to allow uploading / downloading the file. + """ + return pulumi.get(self, "file_content_uri") + + @property + @pulumi.getter(name="fileFormat") + def file_format(self) -> Optional[str]: + """ + The format of the file + """ + return pulumi.get(self, "file_format") + + @property + @pulumi.getter(name="fileName") + def file_name(self) -> Optional[str]: + """ + The name of the file. + """ + return pulumi.get(self, "file_name") + + @property + @pulumi.getter(name="fileSize") + def file_size(self) -> Optional[int]: + """ + The size of the file. + """ + return pulumi.get(self, "file_size") + + +@pulumi.output_type +class FusionScenarioExclusionPatternResponse(dict): + """ + Represents a Fusion scenario exclusion patterns in Fusion detection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dateAddedInUTC": + suggest = "date_added_in_utc" + elif key == "exclusionPattern": + suggest = "exclusion_pattern" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FusionScenarioExclusionPatternResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FusionScenarioExclusionPatternResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FusionScenarioExclusionPatternResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + date_added_in_utc: str, + exclusion_pattern: str): + """ + Represents a Fusion scenario exclusion patterns in Fusion detection. + :param str date_added_in_utc: DateTime when scenario exclusion pattern is added in UTC. + :param str exclusion_pattern: Scenario exclusion pattern. + """ + pulumi.set(__self__, "date_added_in_utc", date_added_in_utc) + pulumi.set(__self__, "exclusion_pattern", exclusion_pattern) + + @property + @pulumi.getter(name="dateAddedInUTC") + def date_added_in_utc(self) -> str: + """ + DateTime when scenario exclusion pattern is added in UTC. + """ + return pulumi.get(self, "date_added_in_utc") + + @property + @pulumi.getter(name="exclusionPattern") + def exclusion_pattern(self) -> str: + """ + Scenario exclusion pattern. + """ + return pulumi.get(self, "exclusion_pattern") + + +@pulumi.output_type +class FusionSourceSettingsResponse(dict): + """ + Represents a supported source signal configuration in Fusion detection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceName": + suggest = "source_name" + elif key == "sourceSubTypes": + suggest = "source_sub_types" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FusionSourceSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FusionSourceSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FusionSourceSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: bool, + source_name: str, + source_sub_types: Optional[Sequence['outputs.FusionSourceSubTypeSettingResponse']] = None): + """ + Represents a supported source signal configuration in Fusion detection. + :param bool enabled: Determines whether this source signal is enabled or disabled in Fusion detection. + :param str source_name: Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + :param Sequence['FusionSourceSubTypeSettingResponse'] source_sub_types: Configuration for all source subtypes under this source signal consumed in fusion detection. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "source_name", source_name) + if source_sub_types is not None: + pulumi.set(__self__, "source_sub_types", source_sub_types) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this source signal is enabled or disabled in Fusion detection. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="sourceName") + def source_name(self) -> str: + """ + Name of the Fusion source signal. Refer to Fusion alert rule template for supported values. + """ + return pulumi.get(self, "source_name") + + @property + @pulumi.getter(name="sourceSubTypes") + def source_sub_types(self) -> Optional[Sequence['outputs.FusionSourceSubTypeSettingResponse']]: + """ + Configuration for all source subtypes under this source signal consumed in fusion detection. + """ + return pulumi.get(self, "source_sub_types") + + +@pulumi.output_type +class FusionSourceSubTypeSettingResponse(dict): + """ + Represents a supported source subtype configuration under a source signal in Fusion detection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "severityFilters": + suggest = "severity_filters" + elif key == "sourceSubTypeDisplayName": + suggest = "source_sub_type_display_name" + elif key == "sourceSubTypeName": + suggest = "source_sub_type_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FusionSourceSubTypeSettingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FusionSourceSubTypeSettingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FusionSourceSubTypeSettingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: bool, + severity_filters: 'outputs.FusionSubTypeSeverityFilterResponse', + source_sub_type_display_name: str, + source_sub_type_name: str): + """ + Represents a supported source subtype configuration under a source signal in Fusion detection. + :param bool enabled: Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + :param 'FusionSubTypeSeverityFilterResponse' severity_filters: Severity configuration for a source subtype consumed in fusion detection. + :param str source_sub_type_display_name: The display name of source subtype under a source signal consumed in Fusion detection. + :param str source_sub_type_name: The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "severity_filters", severity_filters) + pulumi.set(__self__, "source_sub_type_display_name", source_sub_type_display_name) + pulumi.set(__self__, "source_sub_type_name", source_sub_type_name) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this source subtype under source signal is enabled or disabled in Fusion detection. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="severityFilters") + def severity_filters(self) -> 'outputs.FusionSubTypeSeverityFilterResponse': + """ + Severity configuration for a source subtype consumed in fusion detection. + """ + return pulumi.get(self, "severity_filters") + + @property + @pulumi.getter(name="sourceSubTypeDisplayName") + def source_sub_type_display_name(self) -> str: + """ + The display name of source subtype under a source signal consumed in Fusion detection. + """ + return pulumi.get(self, "source_sub_type_display_name") + + @property + @pulumi.getter(name="sourceSubTypeName") + def source_sub_type_name(self) -> str: + """ + The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values. + """ + return pulumi.get(self, "source_sub_type_name") + + +@pulumi.output_type +class FusionSubTypeSeverityFilterResponse(dict): + """ + Represents severity configuration for a source subtype consumed in Fusion detection. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isSupported": + suggest = "is_supported" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FusionSubTypeSeverityFilterResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FusionSubTypeSeverityFilterResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FusionSubTypeSeverityFilterResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_supported: bool, + filters: Optional[Sequence['outputs.FusionSubTypeSeverityFiltersItemResponse']] = None): + """ + Represents severity configuration for a source subtype consumed in Fusion detection. + :param bool is_supported: Determines whether this source subtype supports severity configuration or not. + :param Sequence['FusionSubTypeSeverityFiltersItemResponse'] filters: Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + """ + pulumi.set(__self__, "is_supported", is_supported) + if filters is not None: + pulumi.set(__self__, "filters", filters) + + @property + @pulumi.getter(name="isSupported") + def is_supported(self) -> bool: + """ + Determines whether this source subtype supports severity configuration or not. + """ + return pulumi.get(self, "is_supported") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.FusionSubTypeSeverityFiltersItemResponse']]: + """ + Individual Severity configuration settings for a given source subtype consumed in Fusion detection. + """ + return pulumi.get(self, "filters") + + +@pulumi.output_type +class FusionSubTypeSeverityFiltersItemResponse(dict): + """ + Represents a Severity filter setting for a given source subtype consumed in Fusion detection. + """ + def __init__(__self__, *, + enabled: bool, + severity: str): + """ + Represents a Severity filter setting for a given source subtype consumed in Fusion detection. + :param bool enabled: Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + :param str severity: The Severity for a given source subtype consumed in Fusion detection. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "severity", severity) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The Severity for a given source subtype consumed in Fusion detection. + """ + return pulumi.get(self, "severity") + + +@pulumi.output_type +class GCPAuthPropertiesResponse(dict): + """ + Google Cloud Platform auth section properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "projectNumber": + suggest = "project_number" + elif key == "serviceAccountEmail": + suggest = "service_account_email" + elif key == "workloadIdentityProviderId": + suggest = "workload_identity_provider_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GCPAuthPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GCPAuthPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GCPAuthPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + project_number: str, + service_account_email: str, + workload_identity_provider_id: str): + """ + Google Cloud Platform auth section properties. + :param str project_number: The GCP project number. + :param str service_account_email: The service account that is used to access the GCP project. + :param str workload_identity_provider_id: The workload identity provider id that is used to gain access to the GCP project. + """ + pulumi.set(__self__, "project_number", project_number) + pulumi.set(__self__, "service_account_email", service_account_email) + pulumi.set(__self__, "workload_identity_provider_id", workload_identity_provider_id) + + @property + @pulumi.getter(name="projectNumber") + def project_number(self) -> str: + """ + The GCP project number. + """ + return pulumi.get(self, "project_number") + + @property + @pulumi.getter(name="serviceAccountEmail") + def service_account_email(self) -> str: + """ + The service account that is used to access the GCP project. + """ + return pulumi.get(self, "service_account_email") + + @property + @pulumi.getter(name="workloadIdentityProviderId") + def workload_identity_provider_id(self) -> str: + """ + The workload identity provider id that is used to gain access to the GCP project. + """ + return pulumi.get(self, "workload_identity_provider_id") + + +@pulumi.output_type +class GCPRequestPropertiesResponse(dict): + """ + Google Cloud Platform request section properties. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "projectId": + suggest = "project_id" + elif key == "subscriptionNames": + suggest = "subscription_names" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GCPRequestPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GCPRequestPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GCPRequestPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + project_id: str, + subscription_names: Sequence[str]): + """ + Google Cloud Platform request section properties. + :param str project_id: The GCP project id. + :param Sequence[str] subscription_names: The GCP pub/sub subscription names. + """ + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "subscription_names", subscription_names) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + """ + The GCP project id. + """ + return pulumi.get(self, "project_id") + + @property + @pulumi.getter(name="subscriptionNames") + def subscription_names(self) -> Sequence[str]: + """ + The GCP pub/sub subscription names. + """ + return pulumi.get(self, "subscription_names") + + +@pulumi.output_type +class GetInsightsErrorKindResponse(dict): + """ + GetInsights Query Errors. + """ + def __init__(__self__, *, + error_message: str, + kind: str, + query_id: Optional[str] = None): + """ + GetInsights Query Errors. + :param str error_message: the error message + :param str kind: the query kind + :param str query_id: the query id + """ + pulumi.set(__self__, "error_message", error_message) + pulumi.set(__self__, "kind", kind) + if query_id is not None: + pulumi.set(__self__, "query_id", query_id) + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> str: + """ + the error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter + def kind(self) -> str: + """ + the query kind + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="queryId") + def query_id(self) -> Optional[str]: + """ + the query id + """ + return pulumi.get(self, "query_id") + + +@pulumi.output_type +class GetInsightsResultsMetadataResponse(dict): + """ + Get Insights result metadata. + """ + def __init__(__self__, *, + total_count: int, + errors: Optional[Sequence['outputs.GetInsightsErrorKindResponse']] = None): + """ + Get Insights result metadata. + :param int total_count: the total items found for the insights request + :param Sequence['GetInsightsErrorKindResponse'] errors: information about the failed queries + """ + pulumi.set(__self__, "total_count", total_count) + if errors is not None: + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + the total items found for the insights request + """ + return pulumi.get(self, "total_count") + + @property + @pulumi.getter + def errors(self) -> Optional[Sequence['outputs.GetInsightsErrorKindResponse']]: + """ + information about the failed queries + """ + return pulumi.get(self, "errors") + + +@pulumi.output_type +class GraphQueryResponse(dict): + """ + The graph query to show the volume of data arriving into the workspace over time. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "baseQuery": + suggest = "base_query" + elif key == "metricName": + suggest = "metric_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GraphQueryResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GraphQueryResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GraphQueryResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + base_query: str, + legend: str, + metric_name: str): + """ + The graph query to show the volume of data arriving into the workspace over time. + :param str base_query: Gets or sets the base query for the graph. + The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + :param str legend: Gets or sets the legend for the graph. + :param str metric_name: Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + """ + pulumi.set(__self__, "base_query", base_query) + pulumi.set(__self__, "legend", legend) + pulumi.set(__self__, "metric_name", metric_name) + + @property + @pulumi.getter(name="baseQuery") + def base_query(self) -> str: + """ + Gets or sets the base query for the graph. + The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time. + """ + return pulumi.get(self, "base_query") + + @property + @pulumi.getter + def legend(self) -> str: + """ + Gets or sets the legend for the graph. + """ + return pulumi.get(self, "legend") + + @property + @pulumi.getter(name="metricName") + def metric_name(self) -> str: + """ + Gets or sets the metric name that the query is checking. For example: 'Total data receive'. + """ + return pulumi.get(self, "metric_name") + + +@pulumi.output_type +class GroupingConfigurationResponse(dict): + """ + Grouping configuration property bag. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lookbackDuration": + suggest = "lookback_duration" + elif key == "matchingMethod": + suggest = "matching_method" + elif key == "reopenClosedIncident": + suggest = "reopen_closed_incident" + elif key == "groupByAlertDetails": + suggest = "group_by_alert_details" + elif key == "groupByCustomDetails": + suggest = "group_by_custom_details" + elif key == "groupByEntities": + suggest = "group_by_entities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GroupingConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GroupingConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GroupingConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: bool, + lookback_duration: str, + matching_method: str, + reopen_closed_incident: bool, + group_by_alert_details: Optional[Sequence[str]] = None, + group_by_custom_details: Optional[Sequence[str]] = None, + group_by_entities: Optional[Sequence[str]] = None): + """ + Grouping configuration property bag. + :param bool enabled: Grouping enabled + :param str lookback_duration: Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + :param str matching_method: Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + :param bool reopen_closed_incident: Re-open closed matching incidents + :param Sequence[str] group_by_alert_details: A list of alert details to group by (when matchingMethod is Selected) + :param Sequence[str] group_by_custom_details: A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + :param Sequence[str] group_by_entities: A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "lookback_duration", lookback_duration) + pulumi.set(__self__, "matching_method", matching_method) + pulumi.set(__self__, "reopen_closed_incident", reopen_closed_incident) + if group_by_alert_details is not None: + pulumi.set(__self__, "group_by_alert_details", group_by_alert_details) + if group_by_custom_details is not None: + pulumi.set(__self__, "group_by_custom_details", group_by_custom_details) + if group_by_entities is not None: + pulumi.set(__self__, "group_by_entities", group_by_entities) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Grouping enabled + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="lookbackDuration") + def lookback_duration(self) -> str: + """ + Limit the group to alerts created within the lookback duration (in ISO 8601 duration format) + """ + return pulumi.get(self, "lookback_duration") + + @property + @pulumi.getter(name="matchingMethod") + def matching_method(self) -> str: + """ + Grouping matching method. When method is Selected at least one of groupByEntities, groupByAlertDetails, groupByCustomDetails must be provided and not empty. + """ + return pulumi.get(self, "matching_method") + + @property + @pulumi.getter(name="reopenClosedIncident") + def reopen_closed_incident(self) -> bool: + """ + Re-open closed matching incidents + """ + return pulumi.get(self, "reopen_closed_incident") + + @property + @pulumi.getter(name="groupByAlertDetails") + def group_by_alert_details(self) -> Optional[Sequence[str]]: + """ + A list of alert details to group by (when matchingMethod is Selected) + """ + return pulumi.get(self, "group_by_alert_details") + + @property + @pulumi.getter(name="groupByCustomDetails") + def group_by_custom_details(self) -> Optional[Sequence[str]]: + """ + A list of custom details keys to group by (when matchingMethod is Selected). Only keys defined in the current alert rule may be used. + """ + return pulumi.get(self, "group_by_custom_details") + + @property + @pulumi.getter(name="groupByEntities") + def group_by_entities(self) -> Optional[Sequence[str]]: + """ + A list of entity types to group by (when matchingMethod is Selected). Only entities defined in the current alert rule may be used. + """ + return pulumi.get(self, "group_by_entities") + + +@pulumi.output_type +class HuntOwnerResponse(dict): + """ + Describes a user that the hunt is assigned to + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "assignedTo": + suggest = "assigned_to" + elif key == "objectId": + suggest = "object_id" + elif key == "ownerType": + suggest = "owner_type" + elif key == "userPrincipalName": + suggest = "user_principal_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HuntOwnerResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HuntOwnerResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HuntOwnerResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + assigned_to: Optional[str] = None, + email: Optional[str] = None, + object_id: Optional[str] = None, + owner_type: Optional[str] = None, + user_principal_name: Optional[str] = None): + """ + Describes a user that the hunt is assigned to + :param str assigned_to: The name of the user the hunt is assigned to. + :param str email: The email of the user the hunt is assigned to. + :param str object_id: The object id of the user the hunt is assigned to. + :param str owner_type: The type of the owner the hunt is assigned to. + :param str user_principal_name: The user principal name of the user the hunt is assigned to. + """ + if assigned_to is not None: + pulumi.set(__self__, "assigned_to", assigned_to) + if email is not None: + pulumi.set(__self__, "email", email) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if owner_type is not None: + pulumi.set(__self__, "owner_type", owner_type) + if user_principal_name is not None: + pulumi.set(__self__, "user_principal_name", user_principal_name) + + @property + @pulumi.getter(name="assignedTo") + def assigned_to(self) -> Optional[str]: + """ + The name of the user the hunt is assigned to. + """ + return pulumi.get(self, "assigned_to") + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + The email of the user the hunt is assigned to. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object id of the user the hunt is assigned to. + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="ownerType") + def owner_type(self) -> Optional[str]: + """ + The type of the owner the hunt is assigned to. + """ + return pulumi.get(self, "owner_type") + + @property + @pulumi.getter(name="userPrincipalName") + def user_principal_name(self) -> Optional[str]: + """ + The user principal name of the user the hunt is assigned to. + """ + return pulumi.get(self, "user_principal_name") + + +@pulumi.output_type +class IncidentAdditionalDataResponse(dict): + """ + Incident additional data property bag. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertProductNames": + suggest = "alert_product_names" + elif key == "alertsCount": + suggest = "alerts_count" + elif key == "bookmarksCount": + suggest = "bookmarks_count" + elif key == "commentsCount": + suggest = "comments_count" + elif key == "providerIncidentUrl": + suggest = "provider_incident_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IncidentAdditionalDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IncidentAdditionalDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IncidentAdditionalDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alert_product_names: Sequence[str], + alerts_count: int, + bookmarks_count: int, + comments_count: int, + provider_incident_url: str, + tactics: Sequence[str], + techniques: Sequence[str]): + """ + Incident additional data property bag. + :param Sequence[str] alert_product_names: List of product names of alerts in the incident + :param int alerts_count: The number of alerts in the incident + :param int bookmarks_count: The number of bookmarks in the incident + :param int comments_count: The number of comments in the incident + :param str provider_incident_url: The provider incident url to the incident in Microsoft 365 Defender portal + :param Sequence[str] tactics: The tactics associated with incident + :param Sequence[str] techniques: The techniques associated with incident's tactics + """ + pulumi.set(__self__, "alert_product_names", alert_product_names) + pulumi.set(__self__, "alerts_count", alerts_count) + pulumi.set(__self__, "bookmarks_count", bookmarks_count) + pulumi.set(__self__, "comments_count", comments_count) + pulumi.set(__self__, "provider_incident_url", provider_incident_url) + pulumi.set(__self__, "tactics", tactics) + pulumi.set(__self__, "techniques", techniques) + + @property + @pulumi.getter(name="alertProductNames") + def alert_product_names(self) -> Sequence[str]: + """ + List of product names of alerts in the incident + """ + return pulumi.get(self, "alert_product_names") + + @property + @pulumi.getter(name="alertsCount") + def alerts_count(self) -> int: + """ + The number of alerts in the incident + """ + return pulumi.get(self, "alerts_count") + + @property + @pulumi.getter(name="bookmarksCount") + def bookmarks_count(self) -> int: + """ + The number of bookmarks in the incident + """ + return pulumi.get(self, "bookmarks_count") + + @property + @pulumi.getter(name="commentsCount") + def comments_count(self) -> int: + """ + The number of comments in the incident + """ + return pulumi.get(self, "comments_count") + + @property + @pulumi.getter(name="providerIncidentUrl") + def provider_incident_url(self) -> str: + """ + The provider incident url to the incident in Microsoft 365 Defender portal + """ + return pulumi.get(self, "provider_incident_url") + + @property + @pulumi.getter + def tactics(self) -> Sequence[str]: + """ + The tactics associated with incident + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> Sequence[str]: + """ + The techniques associated with incident's tactics + """ + return pulumi.get(self, "techniques") + + +@pulumi.output_type +class IncidentConfigurationResponse(dict): + """ + Incident Configuration property bag. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createIncident": + suggest = "create_incident" + elif key == "groupingConfiguration": + suggest = "grouping_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IncidentConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IncidentConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IncidentConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + create_incident: bool, + grouping_configuration: Optional['outputs.GroupingConfigurationResponse'] = None): + """ + Incident Configuration property bag. + :param bool create_incident: Create incidents from alerts triggered by this analytics rule + :param 'GroupingConfigurationResponse' grouping_configuration: Set how the alerts that are triggered by this analytics rule, are grouped into incidents + """ + pulumi.set(__self__, "create_incident", create_incident) + if grouping_configuration is not None: + pulumi.set(__self__, "grouping_configuration", grouping_configuration) + + @property + @pulumi.getter(name="createIncident") + def create_incident(self) -> bool: + """ + Create incidents from alerts triggered by this analytics rule + """ + return pulumi.get(self, "create_incident") + + @property + @pulumi.getter(name="groupingConfiguration") + def grouping_configuration(self) -> Optional['outputs.GroupingConfigurationResponse']: + """ + Set how the alerts that are triggered by this analytics rule, are grouped into incidents + """ + return pulumi.get(self, "grouping_configuration") + + +@pulumi.output_type +class IncidentInfoResponse(dict): + """ + Describes related incident information for the bookmark + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "incidentId": + suggest = "incident_id" + elif key == "relationName": + suggest = "relation_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IncidentInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IncidentInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IncidentInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + incident_id: Optional[str] = None, + relation_name: Optional[str] = None, + severity: Optional[str] = None, + title: Optional[str] = None): + """ + Describes related incident information for the bookmark + :param str incident_id: Incident Id + :param str relation_name: Relation Name + :param str severity: The severity of the incident + :param str title: The title of the incident + """ + if incident_id is not None: + pulumi.set(__self__, "incident_id", incident_id) + if relation_name is not None: + pulumi.set(__self__, "relation_name", relation_name) + if severity is not None: + pulumi.set(__self__, "severity", severity) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter(name="incidentId") + def incident_id(self) -> Optional[str]: + """ + Incident Id + """ + return pulumi.get(self, "incident_id") + + @property + @pulumi.getter(name="relationName") + def relation_name(self) -> Optional[str]: + """ + Relation Name + """ + return pulumi.get(self, "relation_name") + + @property + @pulumi.getter + def severity(self) -> Optional[str]: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + """ + The title of the incident + """ + return pulumi.get(self, "title") + + +@pulumi.output_type +class IncidentLabelResponse(dict): + """ + Represents an incident label + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "labelName": + suggest = "label_name" + elif key == "labelType": + suggest = "label_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IncidentLabelResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IncidentLabelResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IncidentLabelResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + label_name: str, + label_type: str): + """ + Represents an incident label + :param str label_name: The name of the label + :param str label_type: The type of the label + """ + pulumi.set(__self__, "label_name", label_name) + pulumi.set(__self__, "label_type", label_type) + + @property + @pulumi.getter(name="labelName") + def label_name(self) -> str: + """ + The name of the label + """ + return pulumi.get(self, "label_name") + + @property + @pulumi.getter(name="labelType") + def label_type(self) -> str: + """ + The type of the label + """ + return pulumi.get(self, "label_type") + + +@pulumi.output_type +class IncidentOwnerInfoResponse(dict): + """ + Information on the user an incident is assigned to + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "assignedTo": + suggest = "assigned_to" + elif key == "objectId": + suggest = "object_id" + elif key == "ownerType": + suggest = "owner_type" + elif key == "userPrincipalName": + suggest = "user_principal_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IncidentOwnerInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IncidentOwnerInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IncidentOwnerInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + assigned_to: Optional[str] = None, + email: Optional[str] = None, + object_id: Optional[str] = None, + owner_type: Optional[str] = None, + user_principal_name: Optional[str] = None): + """ + Information on the user an incident is assigned to + :param str assigned_to: The name of the user the incident is assigned to. + :param str email: The email of the user the incident is assigned to. + :param str object_id: The object id of the user the incident is assigned to. + :param str owner_type: The type of the owner the incident is assigned to. + :param str user_principal_name: The user principal name of the user the incident is assigned to. + """ + if assigned_to is not None: + pulumi.set(__self__, "assigned_to", assigned_to) + if email is not None: + pulumi.set(__self__, "email", email) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + if owner_type is not None: + pulumi.set(__self__, "owner_type", owner_type) + if user_principal_name is not None: + pulumi.set(__self__, "user_principal_name", user_principal_name) + + @property + @pulumi.getter(name="assignedTo") + def assigned_to(self) -> Optional[str]: + """ + The name of the user the incident is assigned to. + """ + return pulumi.get(self, "assigned_to") + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + The email of the user the incident is assigned to. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object id of the user the incident is assigned to. + """ + return pulumi.get(self, "object_id") + + @property + @pulumi.getter(name="ownerType") + def owner_type(self) -> Optional[str]: + """ + The type of the owner the incident is assigned to. + """ + return pulumi.get(self, "owner_type") + + @property + @pulumi.getter(name="userPrincipalName") + def user_principal_name(self) -> Optional[str]: + """ + The user principal name of the user the incident is assigned to. + """ + return pulumi.get(self, "user_principal_name") + + +@pulumi.output_type +class IncidentPropertiesActionResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "classificationComment": + suggest = "classification_comment" + elif key == "classificationReason": + suggest = "classification_reason" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IncidentPropertiesActionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IncidentPropertiesActionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IncidentPropertiesActionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + classification: Optional[str] = None, + classification_comment: Optional[str] = None, + classification_reason: Optional[str] = None, + labels: Optional[Sequence['outputs.IncidentLabelResponse']] = None, + owner: Optional['outputs.IncidentOwnerInfoResponse'] = None, + severity: Optional[str] = None, + status: Optional[str] = None): + """ + :param str classification: The reason the incident was closed + :param str classification_comment: Describes the reason the incident was closed. + :param str classification_reason: The classification reason the incident was closed with + :param Sequence['IncidentLabelResponse'] labels: List of labels to add to the incident. + :param 'IncidentOwnerInfoResponse' owner: Information on the user an incident is assigned to + :param str severity: The severity of the incident + :param str status: The status of the incident + """ + if classification is not None: + pulumi.set(__self__, "classification", classification) + if classification_comment is not None: + pulumi.set(__self__, "classification_comment", classification_comment) + if classification_reason is not None: + pulumi.set(__self__, "classification_reason", classification_reason) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if severity is not None: + pulumi.set(__self__, "severity", severity) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def classification(self) -> Optional[str]: + """ + The reason the incident was closed + """ + return pulumi.get(self, "classification") + + @property + @pulumi.getter(name="classificationComment") + def classification_comment(self) -> Optional[str]: + """ + Describes the reason the incident was closed. + """ + return pulumi.get(self, "classification_comment") + + @property + @pulumi.getter(name="classificationReason") + def classification_reason(self) -> Optional[str]: + """ + The classification reason the incident was closed with + """ + return pulumi.get(self, "classification_reason") + + @property + @pulumi.getter + def labels(self) -> Optional[Sequence['outputs.IncidentLabelResponse']]: + """ + List of labels to add to the incident. + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def owner(self) -> Optional['outputs.IncidentOwnerInfoResponse']: + """ + Information on the user an incident is assigned to + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter + def severity(self) -> Optional[str]: + """ + The severity of the incident + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The status of the incident + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class InsightsTableResultResponse(dict): + """ + Query results for table insights query. + """ + def __init__(__self__, *, + columns: Optional[Sequence['outputs.InsightsTableResultResponseColumns']] = None, + rows: Optional[Sequence[Sequence[str]]] = None): + """ + Query results for table insights query. + :param Sequence['InsightsTableResultResponseColumns'] columns: Columns Metadata of the table + :param Sequence[Sequence[str]] rows: Rows data of the table + """ + if columns is not None: + pulumi.set(__self__, "columns", columns) + if rows is not None: + pulumi.set(__self__, "rows", rows) + + @property + @pulumi.getter + def columns(self) -> Optional[Sequence['outputs.InsightsTableResultResponseColumns']]: + """ + Columns Metadata of the table + """ + return pulumi.get(self, "columns") + + @property + @pulumi.getter + def rows(self) -> Optional[Sequence[Sequence[str]]]: + """ + Rows data of the table + """ + return pulumi.get(self, "rows") + + +@pulumi.output_type +class InsightsTableResultResponseColumns(dict): + def __init__(__self__, *, + name: Optional[str] = None, + type: Optional[str] = None): + """ + :param str name: the name of the colum + :param str type: the type of the colum + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + the name of the colum + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + the type of the colum + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class InstructionStepDetailsResponse(dict): + """ + Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + """ + def __init__(__self__, *, + parameters: Any, + type: str): + """ + Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal. + :param Any parameters: Gets or sets the instruction type parameters settings. + :param str type: Gets or sets the instruction type name. + """ + pulumi.set(__self__, "parameters", parameters) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def parameters(self) -> Any: + """ + Gets or sets the instruction type parameters settings. + """ + return pulumi.get(self, "parameters") + + @property + @pulumi.getter + def type(self) -> str: + """ + Gets or sets the instruction type name. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class InstructionStepResponse(dict): + """ + Instruction steps to enable the connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "innerSteps": + suggest = "inner_steps" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InstructionStepResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InstructionStepResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InstructionStepResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: Optional[str] = None, + inner_steps: Optional[Sequence['outputs.InstructionStepResponse']] = None, + instructions: Optional[Sequence['outputs.InstructionStepDetailsResponse']] = None, + title: Optional[str] = None): + """ + Instruction steps to enable the connector. + :param str description: Gets or sets the instruction step description. + :param Sequence['InstructionStepResponse'] inner_steps: Gets or sets the inner instruction steps details. + Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + :param Sequence['InstructionStepDetailsResponse'] instructions: Gets or sets the instruction step details. + :param str title: Gets or sets the instruction step title. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if inner_steps is not None: + pulumi.set(__self__, "inner_steps", inner_steps) + if instructions is not None: + pulumi.set(__self__, "instructions", instructions) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Gets or sets the instruction step description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="innerSteps") + def inner_steps(self) -> Optional[Sequence['outputs.InstructionStepResponse']]: + """ + Gets or sets the inner instruction steps details. + Foe Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2]. + """ + return pulumi.get(self, "inner_steps") + + @property + @pulumi.getter + def instructions(self) -> Optional[Sequence['outputs.InstructionStepDetailsResponse']]: + """ + Gets or sets the instruction step details. + """ + return pulumi.get(self, "instructions") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + """ + Gets or sets the instruction step title. + """ + return pulumi.get(self, "title") + + +@pulumi.output_type +class InstructionStepsResponseInstructions(dict): + def __init__(__self__, *, + type: str, + parameters: Optional[Any] = None): + """ + :param str type: The kind of the setting + :param Any parameters: The parameters for the setting + """ + pulumi.set(__self__, "type", type) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def type(self) -> str: + """ + The kind of the setting + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def parameters(self) -> Optional[Any]: + """ + The parameters for the setting + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class MCASDataConnectorDataTypesResponse(dict): + """ + The available data types for MCAS (Microsoft Cloud App Security) data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "discoveryLogs": + suggest = "discovery_logs" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MCASDataConnectorDataTypesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MCASDataConnectorDataTypesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MCASDataConnectorDataTypesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alerts: 'outputs.DataConnectorDataTypeCommonResponse', + discovery_logs: Optional['outputs.DataConnectorDataTypeCommonResponse'] = None): + """ + The available data types for MCAS (Microsoft Cloud App Security) data connector. + :param 'DataConnectorDataTypeCommonResponse' alerts: Alerts data type connection. + :param 'DataConnectorDataTypeCommonResponse' discovery_logs: Discovery log data type connection. + """ + pulumi.set(__self__, "alerts", alerts) + if discovery_logs is not None: + pulumi.set(__self__, "discovery_logs", discovery_logs) + + @property + @pulumi.getter + def alerts(self) -> 'outputs.DataConnectorDataTypeCommonResponse': + """ + Alerts data type connection. + """ + return pulumi.get(self, "alerts") + + @property + @pulumi.getter(name="discoveryLogs") + def discovery_logs(self) -> Optional['outputs.DataConnectorDataTypeCommonResponse']: + """ + Discovery log data type connection. + """ + return pulumi.get(self, "discovery_logs") + + +@pulumi.output_type +class MSTIDataConnectorDataTypesResponse(dict): + """ + The available data types for Microsoft Threat Intelligence Platforms data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "microsoftEmergingThreatFeed": + suggest = "microsoft_emerging_threat_feed" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MSTIDataConnectorDataTypesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MSTIDataConnectorDataTypesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MSTIDataConnectorDataTypesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + microsoft_emerging_threat_feed: 'outputs.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed'): + """ + The available data types for Microsoft Threat Intelligence Platforms data connector. + :param 'MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed' microsoft_emerging_threat_feed: Data type for Microsoft Threat Intelligence Platforms data connector. + """ + pulumi.set(__self__, "microsoft_emerging_threat_feed", microsoft_emerging_threat_feed) + + @property + @pulumi.getter(name="microsoftEmergingThreatFeed") + def microsoft_emerging_threat_feed(self) -> 'outputs.MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed': + """ + Data type for Microsoft Threat Intelligence Platforms data connector. + """ + return pulumi.get(self, "microsoft_emerging_threat_feed") + + +@pulumi.output_type +class MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed(dict): + """ + Data type for Microsoft Threat Intelligence Platforms data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "lookbackPeriod": + suggest = "lookback_period" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MSTIDataConnectorDataTypesResponseMicrosoftEmergingThreatFeed.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + lookback_period: str, + state: str): + """ + Data type for Microsoft Threat Intelligence Platforms data connector. + :param str lookback_period: The lookback period for the feed to be imported. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "lookback_period", lookback_period) + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="lookbackPeriod") + def lookback_period(self) -> str: + """ + The lookback period for the feed to be imported. + """ + return pulumi.get(self, "lookback_period") + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class MTPDataConnectorDataTypesResponse(dict): + """ + The available data types for Microsoft Threat Protection Platforms data connector. + """ + def __init__(__self__, *, + incidents: 'outputs.MTPDataConnectorDataTypesResponseIncidents', + alerts: Optional['outputs.MTPDataConnectorDataTypesResponseAlerts'] = None): + """ + The available data types for Microsoft Threat Protection Platforms data connector. + :param 'MTPDataConnectorDataTypesResponseIncidents' incidents: Incidents data type for Microsoft Threat Protection Platforms data connector. + :param 'MTPDataConnectorDataTypesResponseAlerts' alerts: Alerts data type for Microsoft Threat Protection Platforms data connector. + """ + pulumi.set(__self__, "incidents", incidents) + if alerts is not None: + pulumi.set(__self__, "alerts", alerts) + + @property + @pulumi.getter + def incidents(self) -> 'outputs.MTPDataConnectorDataTypesResponseIncidents': + """ + Incidents data type for Microsoft Threat Protection Platforms data connector. + """ + return pulumi.get(self, "incidents") + + @property + @pulumi.getter + def alerts(self) -> Optional['outputs.MTPDataConnectorDataTypesResponseAlerts']: + """ + Alerts data type for Microsoft Threat Protection Platforms data connector. + """ + return pulumi.get(self, "alerts") + + +@pulumi.output_type +class MTPDataConnectorDataTypesResponseAlerts(dict): + """ + Alerts data type for Microsoft Threat Protection Platforms data connector. + """ + def __init__(__self__, *, + state: str): + """ + Alerts data type for Microsoft Threat Protection Platforms data connector. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class MTPDataConnectorDataTypesResponseIncidents(dict): + """ + Incidents data type for Microsoft Threat Protection Platforms data connector. + """ + def __init__(__self__, *, + state: str): + """ + Incidents data type for Microsoft Threat Protection Platforms data connector. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class MetadataAuthorResponse(dict): + """ + Publisher or creator of the content item. + """ + def __init__(__self__, *, + email: Optional[str] = None, + link: Optional[str] = None, + name: Optional[str] = None): + """ + Publisher or creator of the content item. + :param str email: Email of author contact + :param str link: Link for author/vendor page + :param str name: Name of the author. Company or person. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if link is not None: + pulumi.set(__self__, "link", link) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + Email of author contact + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def link(self) -> Optional[str]: + """ + Link for author/vendor page + """ + return pulumi.get(self, "link") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the author. Company or person. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class MetadataCategoriesResponse(dict): + """ + ies for the solution content item + """ + def __init__(__self__, *, + domains: Optional[Sequence[str]] = None, + verticals: Optional[Sequence[str]] = None): + """ + ies for the solution content item + :param Sequence[str] domains: domain for the solution content item + :param Sequence[str] verticals: Industry verticals for the solution content item + """ + if domains is not None: + pulumi.set(__self__, "domains", domains) + if verticals is not None: + pulumi.set(__self__, "verticals", verticals) + + @property + @pulumi.getter + def domains(self) -> Optional[Sequence[str]]: + """ + domain for the solution content item + """ + return pulumi.get(self, "domains") + + @property + @pulumi.getter + def verticals(self) -> Optional[Sequence[str]]: + """ + Industry verticals for the solution content item + """ + return pulumi.get(self, "verticals") + + +@pulumi.output_type +class MetadataDependenciesResponse(dict): + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "contentId": + suggest = "content_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MetadataDependenciesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MetadataDependenciesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MetadataDependenciesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + content_id: Optional[str] = None, + criteria: Optional[Sequence['outputs.MetadataDependenciesResponse']] = None, + kind: Optional[str] = None, + name: Optional[str] = None, + operator: Optional[str] = None, + version: Optional[str] = None): + """ + Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies. + :param str content_id: Id of the content item we depend on + :param Sequence['MetadataDependenciesResponse'] criteria: This is the list of dependencies we must fulfill, according to the AND/OR operator + :param str kind: Type of the content item we depend on + :param str name: Name of the content item + :param str operator: Operator used for list of dependencies in criteria array. + :param str version: Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + """ + if content_id is not None: + pulumi.set(__self__, "content_id", content_id) + if criteria is not None: + pulumi.set(__self__, "criteria", criteria) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if name is not None: + pulumi.set(__self__, "name", name) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="contentId") + def content_id(self) -> Optional[str]: + """ + Id of the content item we depend on + """ + return pulumi.get(self, "content_id") + + @property + @pulumi.getter + def criteria(self) -> Optional[Sequence['outputs.MetadataDependenciesResponse']]: + """ + This is the list of dependencies we must fulfill, according to the AND/OR operator + """ + return pulumi.get(self, "criteria") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + """ + Type of the content item we depend on + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the content item + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def operator(self) -> Optional[str]: + """ + Operator used for list of dependencies in criteria array. + """ + return pulumi.get(self, "operator") + + @property + @pulumi.getter + def version(self) -> Optional[str]: + """ + Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class MetadataSourceResponse(dict): + """ + The original source of the content item, where it comes from. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceId": + suggest = "source_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MetadataSourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MetadataSourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MetadataSourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + kind: str, + name: Optional[str] = None, + source_id: Optional[str] = None): + """ + The original source of the content item, where it comes from. + :param str kind: Source type of the content + :param str name: Name of the content source. The repo name, solution name, LA workspace name etc. + :param str source_id: ID of the content source. The solution ID, workspace ID, etc + """ + pulumi.set(__self__, "kind", kind) + if name is not None: + pulumi.set(__self__, "name", name) + if source_id is not None: + pulumi.set(__self__, "source_id", source_id) + + @property + @pulumi.getter + def kind(self) -> str: + """ + Source type of the content + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the content source. The repo name, solution name, LA workspace name etc. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="sourceId") + def source_id(self) -> Optional[str]: + """ + ID of the content source. The solution ID, workspace ID, etc + """ + return pulumi.get(self, "source_id") + + +@pulumi.output_type +class MetadataSupportResponse(dict): + """ + Support information for the content item. + """ + def __init__(__self__, *, + tier: str, + email: Optional[str] = None, + link: Optional[str] = None, + name: Optional[str] = None): + """ + Support information for the content item. + :param str tier: Type of support for content item + :param str email: Email of support contact + :param str link: Link for support help, like to support page to open a ticket etc. + :param str name: Name of the support contact. Company or person. + """ + pulumi.set(__self__, "tier", tier) + if email is not None: + pulumi.set(__self__, "email", email) + if link is not None: + pulumi.set(__self__, "link", link) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def tier(self) -> str: + """ + Type of support for content item + """ + return pulumi.get(self, "tier") + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + Email of support contact + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def link(self) -> Optional[str]: + """ + Link for support help, like to support page to open a ticket etc. + """ + return pulumi.get(self, "link") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the support contact. Company or person. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class MicrosoftPurviewInformationProtectionConnectorDataTypesResponse(dict): + """ + The available data types for Microsoft Purview Information Protection data connector. + """ + def __init__(__self__, *, + logs: 'outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs'): + """ + The available data types for Microsoft Purview Information Protection data connector. + :param 'MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs' logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> 'outputs.MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs': + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + +@pulumi.output_type +class MicrosoftPurviewInformationProtectionConnectorDataTypesResponseLogs(dict): + """ + Logs data type. + """ + def __init__(__self__, *, + state: str): + """ + Logs data type. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class MtpFilteredProvidersResponse(dict): + """ + Represents the connector's Filtered providers + """ + def __init__(__self__, *, + alerts: Sequence[str]): + """ + Represents the connector's Filtered providers + :param Sequence[str] alerts: Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. + """ + pulumi.set(__self__, "alerts", alerts) + + @property + @pulumi.getter + def alerts(self) -> Sequence[str]: + """ + Alerts filtered providers. When filters are not applied, all alerts will stream through the MTP pipeline, still in private preview for all products EXCEPT MDA and MDI, which are in GA state. + """ + return pulumi.get(self, "alerts") + + +@pulumi.output_type +class Office365ProjectConnectorDataTypesResponse(dict): + """ + The available data types for Office Microsoft Project data connector. + """ + def __init__(__self__, *, + logs: 'outputs.Office365ProjectConnectorDataTypesResponseLogs'): + """ + The available data types for Office Microsoft Project data connector. + :param 'Office365ProjectConnectorDataTypesResponseLogs' logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> 'outputs.Office365ProjectConnectorDataTypesResponseLogs': + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + +@pulumi.output_type +class Office365ProjectConnectorDataTypesResponseLogs(dict): + """ + Logs data type. + """ + def __init__(__self__, *, + state: str): + """ + Logs data type. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class OfficeDataConnectorDataTypesResponse(dict): + """ + The available data types for office data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sharePoint": + suggest = "share_point" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OfficeDataConnectorDataTypesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OfficeDataConnectorDataTypesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OfficeDataConnectorDataTypesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + exchange: 'outputs.OfficeDataConnectorDataTypesResponseExchange', + share_point: 'outputs.OfficeDataConnectorDataTypesResponseSharePoint', + teams: 'outputs.OfficeDataConnectorDataTypesResponseTeams'): + """ + The available data types for office data connector. + :param 'OfficeDataConnectorDataTypesResponseExchange' exchange: Exchange data type connection. + :param 'OfficeDataConnectorDataTypesResponseSharePoint' share_point: SharePoint data type connection. + :param 'OfficeDataConnectorDataTypesResponseTeams' teams: Teams data type connection. + """ + pulumi.set(__self__, "exchange", exchange) + pulumi.set(__self__, "share_point", share_point) + pulumi.set(__self__, "teams", teams) + + @property + @pulumi.getter + def exchange(self) -> 'outputs.OfficeDataConnectorDataTypesResponseExchange': + """ + Exchange data type connection. + """ + return pulumi.get(self, "exchange") + + @property + @pulumi.getter(name="sharePoint") + def share_point(self) -> 'outputs.OfficeDataConnectorDataTypesResponseSharePoint': + """ + SharePoint data type connection. + """ + return pulumi.get(self, "share_point") + + @property + @pulumi.getter + def teams(self) -> 'outputs.OfficeDataConnectorDataTypesResponseTeams': + """ + Teams data type connection. + """ + return pulumi.get(self, "teams") + + +@pulumi.output_type +class OfficeDataConnectorDataTypesResponseExchange(dict): + """ + Exchange data type connection. + """ + def __init__(__self__, *, + state: str): + """ + Exchange data type connection. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class OfficeDataConnectorDataTypesResponseSharePoint(dict): + """ + SharePoint data type connection. + """ + def __init__(__self__, *, + state: str): + """ + SharePoint data type connection. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class OfficeDataConnectorDataTypesResponseTeams(dict): + """ + Teams data type connection. + """ + def __init__(__self__, *, + state: str): + """ + Teams data type connection. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class OfficePowerBIConnectorDataTypesResponse(dict): + """ + The available data types for Office Microsoft PowerBI data connector. + """ + def __init__(__self__, *, + logs: 'outputs.OfficePowerBIConnectorDataTypesResponseLogs'): + """ + The available data types for Office Microsoft PowerBI data connector. + :param 'OfficePowerBIConnectorDataTypesResponseLogs' logs: Logs data type. + """ + pulumi.set(__self__, "logs", logs) + + @property + @pulumi.getter + def logs(self) -> 'outputs.OfficePowerBIConnectorDataTypesResponseLogs': + """ + Logs data type. + """ + return pulumi.get(self, "logs") + + +@pulumi.output_type +class OfficePowerBIConnectorDataTypesResponseLogs(dict): + """ + Logs data type. + """ + def __init__(__self__, *, + state: str): + """ + Logs data type. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class PermissionsResponse(dict): + """ + Permissions required for the connector + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "resourceProvider": + suggest = "resource_provider" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PermissionsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PermissionsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PermissionsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + customs: Optional[Sequence['outputs.PermissionsResponseCustoms']] = None, + resource_provider: Optional[Sequence['outputs.PermissionsResponseResourceProvider']] = None): + """ + Permissions required for the connector + :param Sequence['PermissionsResponseCustoms'] customs: Customs permissions required for the connector + :param Sequence['PermissionsResponseResourceProvider'] resource_provider: Resource provider permissions required for the connector + """ + if customs is not None: + pulumi.set(__self__, "customs", customs) + if resource_provider is not None: + pulumi.set(__self__, "resource_provider", resource_provider) + + @property + @pulumi.getter + def customs(self) -> Optional[Sequence['outputs.PermissionsResponseCustoms']]: + """ + Customs permissions required for the connector + """ + return pulumi.get(self, "customs") + + @property + @pulumi.getter(name="resourceProvider") + def resource_provider(self) -> Optional[Sequence['outputs.PermissionsResponseResourceProvider']]: + """ + Resource provider permissions required for the connector + """ + return pulumi.get(self, "resource_provider") + + +@pulumi.output_type +class PermissionsResponseCustoms(dict): + def __init__(__self__, *, + description: Optional[str] = None, + name: Optional[str] = None): + """ + :param str description: Customs permissions description + :param str name: Customs permissions name + """ + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Customs permissions description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Customs permissions name + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class PermissionsResponseResourceProvider(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "permissionsDisplayText": + suggest = "permissions_display_text" + elif key == "providerDisplayName": + suggest = "provider_display_name" + elif key == "requiredPermissions": + suggest = "required_permissions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PermissionsResponseResourceProvider. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PermissionsResponseResourceProvider.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PermissionsResponseResourceProvider.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + permissions_display_text: Optional[str] = None, + provider: Optional[str] = None, + provider_display_name: Optional[str] = None, + required_permissions: Optional['outputs.RequiredPermissionsResponse'] = None, + scope: Optional[str] = None): + """ + :param str permissions_display_text: Permission description text + :param str provider: Provider name + :param str provider_display_name: Permission provider display name + :param 'RequiredPermissionsResponse' required_permissions: Required permissions for the connector + :param str scope: Permission provider scope + """ + if permissions_display_text is not None: + pulumi.set(__self__, "permissions_display_text", permissions_display_text) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if provider_display_name is not None: + pulumi.set(__self__, "provider_display_name", provider_display_name) + if required_permissions is not None: + pulumi.set(__self__, "required_permissions", required_permissions) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="permissionsDisplayText") + def permissions_display_text(self) -> Optional[str]: + """ + Permission description text + """ + return pulumi.get(self, "permissions_display_text") + + @property + @pulumi.getter + def provider(self) -> Optional[str]: + """ + Provider name + """ + return pulumi.get(self, "provider") + + @property + @pulumi.getter(name="providerDisplayName") + def provider_display_name(self) -> Optional[str]: + """ + Permission provider display name + """ + return pulumi.get(self, "provider_display_name") + + @property + @pulumi.getter(name="requiredPermissions") + def required_permissions(self) -> Optional['outputs.RequiredPermissionsResponse']: + """ + Required permissions for the connector + """ + return pulumi.get(self, "required_permissions") + + @property + @pulumi.getter + def scope(self) -> Optional[str]: + """ + Permission provider scope + """ + return pulumi.get(self, "scope") + + +@pulumi.output_type +class PlaybookActionPropertiesResponse(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "logicAppResourceId": + suggest = "logic_app_resource_id" + elif key == "tenantId": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PlaybookActionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PlaybookActionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PlaybookActionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + logic_app_resource_id: str, + tenant_id: Optional[str] = None): + """ + :param str logic_app_resource_id: The resource id of the playbook resource. + :param str tenant_id: The tenant id of the playbook resource. + """ + pulumi.set(__self__, "logic_app_resource_id", logic_app_resource_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter(name="logicAppResourceId") + def logic_app_resource_id(self) -> str: + """ + The resource id of the playbook resource. + """ + return pulumi.get(self, "logic_app_resource_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The tenant id of the playbook resource. + """ + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class PropertyArrayChangedConditionPropertiesResponse(dict): + """ + Describes an automation rule condition that evaluates an array property's value change + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conditionType": + suggest = "condition_type" + elif key == "conditionProperties": + suggest = "condition_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PropertyArrayChangedConditionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PropertyArrayChangedConditionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PropertyArrayChangedConditionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + condition_type: str, + condition_properties: Optional['outputs.AutomationRulePropertyArrayChangedValuesConditionResponse'] = None): + """ + Describes an automation rule condition that evaluates an array property's value change + :param str condition_type: + Expected value is 'PropertyArrayChanged'. + """ + pulumi.set(__self__, "condition_type", 'PropertyArrayChanged') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + + Expected value is 'PropertyArrayChanged'. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional['outputs.AutomationRulePropertyArrayChangedValuesConditionResponse']: + return pulumi.get(self, "condition_properties") + + +@pulumi.output_type +class PropertyArrayConditionPropertiesResponse(dict): + """ + Describes an automation rule condition that evaluates an array property's value + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conditionType": + suggest = "condition_type" + elif key == "conditionProperties": + suggest = "condition_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PropertyArrayConditionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PropertyArrayConditionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PropertyArrayConditionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + condition_type: str, + condition_properties: Optional['outputs.AutomationRulePropertyArrayValuesConditionResponse'] = None): + """ + Describes an automation rule condition that evaluates an array property's value + :param str condition_type: + Expected value is 'PropertyArray'. + """ + pulumi.set(__self__, "condition_type", 'PropertyArray') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + + Expected value is 'PropertyArray'. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional['outputs.AutomationRulePropertyArrayValuesConditionResponse']: + return pulumi.get(self, "condition_properties") + + +@pulumi.output_type +class PropertyChangedConditionPropertiesResponse(dict): + """ + Describes an automation rule condition that evaluates a property's value change + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conditionType": + suggest = "condition_type" + elif key == "conditionProperties": + suggest = "condition_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PropertyChangedConditionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PropertyChangedConditionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PropertyChangedConditionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + condition_type: str, + condition_properties: Optional['outputs.AutomationRulePropertyValuesChangedConditionResponse'] = None): + """ + Describes an automation rule condition that evaluates a property's value change + :param str condition_type: + Expected value is 'PropertyChanged'. + """ + pulumi.set(__self__, "condition_type", 'PropertyChanged') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + + Expected value is 'PropertyChanged'. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional['outputs.AutomationRulePropertyValuesChangedConditionResponse']: + return pulumi.get(self, "condition_properties") + + +@pulumi.output_type +class PropertyConditionPropertiesResponse(dict): + """ + Describes an automation rule condition that evaluates a property's value + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "conditionType": + suggest = "condition_type" + elif key == "conditionProperties": + suggest = "condition_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PropertyConditionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PropertyConditionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PropertyConditionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + condition_type: str, + condition_properties: Optional['outputs.AutomationRulePropertyValuesConditionResponse'] = None): + """ + Describes an automation rule condition that evaluates a property's value + :param str condition_type: + Expected value is 'Property'. + """ + pulumi.set(__self__, "condition_type", 'Property') + if condition_properties is not None: + pulumi.set(__self__, "condition_properties", condition_properties) + + @property + @pulumi.getter(name="conditionType") + def condition_type(self) -> str: + """ + + Expected value is 'Property'. + """ + return pulumi.get(self, "condition_type") + + @property + @pulumi.getter(name="conditionProperties") + def condition_properties(self) -> Optional['outputs.AutomationRulePropertyValuesConditionResponse']: + return pulumi.get(self, "condition_properties") + + +@pulumi.output_type +class RepoResponse(dict): + """ + Represents a repository. + """ + def __init__(__self__, *, + branches: Optional[Sequence[str]] = None, + full_name: Optional[str] = None, + url: Optional[str] = None): + """ + Represents a repository. + :param Sequence[str] branches: Array of branches. + :param str full_name: The name of the repository. + :param str url: The url to access the repository. + """ + if branches is not None: + pulumi.set(__self__, "branches", branches) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter + def branches(self) -> Optional[Sequence[str]]: + """ + Array of branches. + """ + return pulumi.get(self, "branches") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The name of the repository. + """ + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def url(self) -> Optional[str]: + """ + The url to access the repository. + """ + return pulumi.get(self, "url") + + +@pulumi.output_type +class RequiredPermissionsResponse(dict): + """ + Required permissions for the connector + """ + def __init__(__self__, *, + action: Optional[bool] = None, + delete: Optional[bool] = None, + read: Optional[bool] = None, + write: Optional[bool] = None): + """ + Required permissions for the connector + :param bool action: action permission + :param bool delete: delete permission + :param bool read: read permission + :param bool write: write permission + """ + if action is not None: + pulumi.set(__self__, "action", action) + if delete is not None: + pulumi.set(__self__, "delete", delete) + if read is not None: + pulumi.set(__self__, "read", read) + if write is not None: + pulumi.set(__self__, "write", write) + + @property + @pulumi.getter + def action(self) -> Optional[bool]: + """ + action permission + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter + def delete(self) -> Optional[bool]: + """ + delete permission + """ + return pulumi.get(self, "delete") + + @property + @pulumi.getter + def read(self) -> Optional[bool]: + """ + read permission + """ + return pulumi.get(self, "read") + + @property + @pulumi.getter + def write(self) -> Optional[bool]: + """ + write permission + """ + return pulumi.get(self, "write") + + +@pulumi.output_type +class ResourceProviderRequiredPermissionsResponse(dict): + """ + Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + """ + def __init__(__self__, *, + action: Optional[bool] = None, + delete: Optional[bool] = None, + read: Optional[bool] = None, + write: Optional[bool] = None): + """ + Required permissions for the connector resource provider that define in ResourceProviders. + For more information about the permissions see here. + :param bool action: Gets or sets a value indicating whether the permission is custom actions (POST). + :param bool delete: Gets or sets a value indicating whether the permission is delete action (DELETE). + :param bool read: Gets or sets a value indicating whether the permission is read action (GET). + :param bool write: Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + """ + if action is not None: + pulumi.set(__self__, "action", action) + if delete is not None: + pulumi.set(__self__, "delete", delete) + if read is not None: + pulumi.set(__self__, "read", read) + if write is not None: + pulumi.set(__self__, "write", write) + + @property + @pulumi.getter + def action(self) -> Optional[bool]: + """ + Gets or sets a value indicating whether the permission is custom actions (POST). + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter + def delete(self) -> Optional[bool]: + """ + Gets or sets a value indicating whether the permission is delete action (DELETE). + """ + return pulumi.get(self, "delete") + + @property + @pulumi.getter + def read(self) -> Optional[bool]: + """ + Gets or sets a value indicating whether the permission is read action (GET). + """ + return pulumi.get(self, "read") + + @property + @pulumi.getter + def write(self) -> Optional[bool]: + """ + Gets or sets a value indicating whether the permission is write action (PUT or PATCH). + """ + return pulumi.get(self, "write") + + +@pulumi.output_type +class SampleQueryResponse(dict): + """ + The sample queries for the connector. + """ + def __init__(__self__, *, + description: str, + query: str): + """ + The sample queries for the connector. + :param str description: Gets or sets the sample query description. + :param str query: Gets or sets the KQL sample query. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "query", query) + + @property + @pulumi.getter + def description(self) -> str: + """ + Gets or sets the sample query description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def query(self) -> str: + """ + Gets or sets the KQL sample query. + """ + return pulumi.get(self, "query") + + +@pulumi.output_type +class SecurityAlertTimelineItemResponse(dict): + """ + Represents security alert timeline item. + """ + def __init__(__self__, *, + alert_type: str, + azure_resource_id: str, + display_name: str, + end_time_utc: str, + intent: str, + kind: str, + severity: str, + start_time_utc: str, + time_generated: str, + description: Optional[str] = None, + product_name: Optional[str] = None, + techniques: Optional[Sequence[str]] = None): + """ + Represents security alert timeline item. + :param str alert_type: The name of the alert type. + :param str azure_resource_id: The alert azure resource id. + :param str display_name: The alert name. + :param str end_time_utc: The alert end time. + :param str intent: The intent of the alert. + :param str kind: The entity query kind + Expected value is 'SecurityAlert'. + :param str severity: The alert severity. + :param str start_time_utc: The alert start time. + :param str time_generated: The alert generated time. + :param str description: The alert description. + :param str product_name: The alert product name. + :param Sequence[str] techniques: The techniques of the alert. + """ + pulumi.set(__self__, "alert_type", alert_type) + pulumi.set(__self__, "azure_resource_id", azure_resource_id) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "end_time_utc", end_time_utc) + pulumi.set(__self__, "intent", intent) + pulumi.set(__self__, "kind", 'SecurityAlert') + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "start_time_utc", start_time_utc) + pulumi.set(__self__, "time_generated", time_generated) + if description is not None: + pulumi.set(__self__, "description", description) + if product_name is not None: + pulumi.set(__self__, "product_name", product_name) + if techniques is not None: + pulumi.set(__self__, "techniques", techniques) + + @property + @pulumi.getter(name="alertType") + def alert_type(self) -> str: + """ + The name of the alert type. + """ + return pulumi.get(self, "alert_type") + + @property + @pulumi.getter(name="azureResourceId") + def azure_resource_id(self) -> str: + """ + The alert azure resource id. + """ + return pulumi.get(self, "azure_resource_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The alert name. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="endTimeUtc") + def end_time_utc(self) -> str: + """ + The alert end time. + """ + return pulumi.get(self, "end_time_utc") + + @property + @pulumi.getter + def intent(self) -> str: + """ + The intent of the alert. + """ + return pulumi.get(self, "intent") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The entity query kind + Expected value is 'SecurityAlert'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def severity(self) -> str: + """ + The alert severity. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="startTimeUtc") + def start_time_utc(self) -> str: + """ + The alert start time. + """ + return pulumi.get(self, "start_time_utc") + + @property + @pulumi.getter(name="timeGenerated") + def time_generated(self) -> str: + """ + The alert generated time. + """ + return pulumi.get(self, "time_generated") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The alert description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="productName") + def product_name(self) -> Optional[str]: + """ + The alert product name. + """ + return pulumi.get(self, "product_name") + + @property + @pulumi.getter + def techniques(self) -> Optional[Sequence[str]]: + """ + The techniques of the alert. + """ + return pulumi.get(self, "techniques") + + +@pulumi.output_type +class SecurityMLAnalyticsSettingsDataSourceResponse(dict): + """ + security ml analytics settings data sources + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectorId": + suggest = "connector_id" + elif key == "dataTypes": + suggest = "data_types" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecurityMLAnalyticsSettingsDataSourceResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecurityMLAnalyticsSettingsDataSourceResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecurityMLAnalyticsSettingsDataSourceResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + connector_id: Optional[str] = None, + data_types: Optional[Sequence[str]] = None): + """ + security ml analytics settings data sources + :param str connector_id: The connector id that provides the following data types + :param Sequence[str] data_types: The data types used by the security ml analytics settings + """ + if connector_id is not None: + pulumi.set(__self__, "connector_id", connector_id) + if data_types is not None: + pulumi.set(__self__, "data_types", data_types) + + @property + @pulumi.getter(name="connectorId") + def connector_id(self) -> Optional[str]: + """ + The connector id that provides the following data types + """ + return pulumi.get(self, "connector_id") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> Optional[Sequence[str]]: + """ + The data types used by the security ml analytics settings + """ + return pulumi.get(self, "data_types") + + +@pulumi.output_type +class SentinelEntityMappingResponse(dict): + """ + A single sentinel entity mapping + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "columnName": + suggest = "column_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SentinelEntityMappingResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SentinelEntityMappingResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SentinelEntityMappingResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + column_name: Optional[str] = None): + """ + A single sentinel entity mapping + :param str column_name: the column name to be mapped to the SentinelEntities + """ + if column_name is not None: + pulumi.set(__self__, "column_name", column_name) + + @property + @pulumi.getter(name="columnName") + def column_name(self) -> Optional[str]: + """ + the column name to be mapped to the SentinelEntities + """ + return pulumi.get(self, "column_name") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class TIDataConnectorDataTypesResponse(dict): + """ + The available data types for TI (Threat Intelligence) data connector. + """ + def __init__(__self__, *, + indicators: 'outputs.TIDataConnectorDataTypesResponseIndicators'): + """ + The available data types for TI (Threat Intelligence) data connector. + :param 'TIDataConnectorDataTypesResponseIndicators' indicators: Data type for indicators connection. + """ + pulumi.set(__self__, "indicators", indicators) + + @property + @pulumi.getter + def indicators(self) -> 'outputs.TIDataConnectorDataTypesResponseIndicators': + """ + Data type for indicators connection. + """ + return pulumi.get(self, "indicators") + + +@pulumi.output_type +class TIDataConnectorDataTypesResponseIndicators(dict): + """ + Data type for indicators connection. + """ + def __init__(__self__, *, + state: str): + """ + Data type for indicators connection. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class TeamInformationResponse(dict): + """ + Describes team information + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "primaryChannelUrl": + suggest = "primary_channel_url" + elif key == "teamCreationTimeUtc": + suggest = "team_creation_time_utc" + elif key == "teamId": + suggest = "team_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TeamInformationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TeamInformationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TeamInformationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: str, + name: str, + primary_channel_url: str, + team_creation_time_utc: str, + team_id: str): + """ + Describes team information + :param str description: The description of the team + :param str name: The name of the team + :param str primary_channel_url: The primary channel URL of the team + :param str team_creation_time_utc: The time the team was created + :param str team_id: Team ID + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "primary_channel_url", primary_channel_url) + pulumi.set(__self__, "team_creation_time_utc", team_creation_time_utc) + pulumi.set(__self__, "team_id", team_id) + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the team + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the team + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="primaryChannelUrl") + def primary_channel_url(self) -> str: + """ + The primary channel URL of the team + """ + return pulumi.get(self, "primary_channel_url") + + @property + @pulumi.getter(name="teamCreationTimeUtc") + def team_creation_time_utc(self) -> str: + """ + The time the team was created + """ + return pulumi.get(self, "team_creation_time_utc") + + @property + @pulumi.getter(name="teamId") + def team_id(self) -> str: + """ + Team ID + """ + return pulumi.get(self, "team_id") + + +@pulumi.output_type +class TiTaxiiDataConnectorDataTypesResponse(dict): + """ + The available data types for Threat Intelligence TAXII data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "taxiiClient": + suggest = "taxii_client" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in TiTaxiiDataConnectorDataTypesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + TiTaxiiDataConnectorDataTypesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + TiTaxiiDataConnectorDataTypesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + taxii_client: 'outputs.TiTaxiiDataConnectorDataTypesResponseTaxiiClient'): + """ + The available data types for Threat Intelligence TAXII data connector. + :param 'TiTaxiiDataConnectorDataTypesResponseTaxiiClient' taxii_client: Data type for TAXII connector. + """ + pulumi.set(__self__, "taxii_client", taxii_client) + + @property + @pulumi.getter(name="taxiiClient") + def taxii_client(self) -> 'outputs.TiTaxiiDataConnectorDataTypesResponseTaxiiClient': + """ + Data type for TAXII connector. + """ + return pulumi.get(self, "taxii_client") + + +@pulumi.output_type +class TiTaxiiDataConnectorDataTypesResponseTaxiiClient(dict): + """ + Data type for TAXII connector. + """ + def __init__(__self__, *, + state: str): + """ + Data type for TAXII connector. + :param str state: Describe whether this data type connection is enabled or not. + """ + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> str: + """ + Describe whether this data type connection is enabled or not. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class TimelineAggregationResponse(dict): + """ + timeline aggregation information per kind + """ + def __init__(__self__, *, + count: int, + kind: str): + """ + timeline aggregation information per kind + :param int count: the total items found for a kind + :param str kind: the query kind + """ + pulumi.set(__self__, "count", count) + pulumi.set(__self__, "kind", kind) + + @property + @pulumi.getter + def count(self) -> int: + """ + the total items found for a kind + """ + return pulumi.get(self, "count") + + @property + @pulumi.getter + def kind(self) -> str: + """ + the query kind + """ + return pulumi.get(self, "kind") + + +@pulumi.output_type +class TimelineErrorResponse(dict): + """ + Timeline Query Errors. + """ + def __init__(__self__, *, + error_message: str, + kind: str, + query_id: Optional[str] = None): + """ + Timeline Query Errors. + :param str error_message: the error message + :param str kind: the query kind + :param str query_id: the query id + """ + pulumi.set(__self__, "error_message", error_message) + pulumi.set(__self__, "kind", kind) + if query_id is not None: + pulumi.set(__self__, "query_id", query_id) + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> str: + """ + the error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter + def kind(self) -> str: + """ + the query kind + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="queryId") + def query_id(self) -> Optional[str]: + """ + the query id + """ + return pulumi.get(self, "query_id") + + +@pulumi.output_type +class TimelineResultsMetadataResponse(dict): + """ + Expansion result metadata. + """ + def __init__(__self__, *, + aggregations: Sequence['outputs.TimelineAggregationResponse'], + total_count: int, + errors: Optional[Sequence['outputs.TimelineErrorResponse']] = None): + """ + Expansion result metadata. + :param Sequence['TimelineAggregationResponse'] aggregations: timeline aggregation per kind + :param int total_count: the total items found for the timeline request + :param Sequence['TimelineErrorResponse'] errors: information about the failure queries + """ + pulumi.set(__self__, "aggregations", aggregations) + pulumi.set(__self__, "total_count", total_count) + if errors is not None: + pulumi.set(__self__, "errors", errors) + + @property + @pulumi.getter + def aggregations(self) -> Sequence['outputs.TimelineAggregationResponse']: + """ + timeline aggregation per kind + """ + return pulumi.get(self, "aggregations") + + @property + @pulumi.getter(name="totalCount") + def total_count(self) -> int: + """ + the total items found for the timeline request + """ + return pulumi.get(self, "total_count") + + @property + @pulumi.getter + def errors(self) -> Optional[Sequence['outputs.TimelineErrorResponse']]: + """ + information about the failure queries + """ + return pulumi.get(self, "errors") + + +@pulumi.output_type +class UserInfoResponse(dict): + """ + User information that made some action + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectId": + suggest = "object_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + email: str, + name: str, + object_id: Optional[str] = None): + """ + User information that made some action + :param str email: The email of the user. + :param str name: The name of the user. + :param str object_id: The object id of the user. + """ + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "name", name) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + + @property + @pulumi.getter + def email(self) -> str: + """ + The email of the user. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the user. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object id of the user. + """ + return pulumi.get(self, "object_id") + + +@pulumi.output_type +class ValidationErrorResponse(dict): + """ + Describes an error encountered in the file during validation. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorMessages": + suggest = "error_messages" + elif key == "recordIndex": + suggest = "record_index" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ValidationErrorResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ValidationErrorResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ValidationErrorResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + error_messages: Sequence[str], + record_index: Optional[int] = None): + """ + Describes an error encountered in the file during validation. + :param Sequence[str] error_messages: A list of descriptions of the error. + :param int record_index: The number of the record that has the error. + """ + pulumi.set(__self__, "error_messages", error_messages) + if record_index is not None: + pulumi.set(__self__, "record_index", record_index) + + @property + @pulumi.getter(name="errorMessages") + def error_messages(self) -> Sequence[str]: + """ + A list of descriptions of the error. + """ + return pulumi.get(self, "error_messages") + + @property + @pulumi.getter(name="recordIndex") + def record_index(self) -> Optional[int]: + """ + The number of the record that has the error. + """ + return pulumi.get(self, "record_index") + + +@pulumi.output_type +class WatchlistUserInfoResponse(dict): + """ + User information that made some action + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "objectId": + suggest = "object_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WatchlistUserInfoResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WatchlistUserInfoResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WatchlistUserInfoResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + email: str, + name: str, + object_id: Optional[str] = None): + """ + User information that made some action + :param str email: The email of the user. + :param str name: The name of the user. + :param str object_id: The object id of the user. + """ + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "name", name) + if object_id is not None: + pulumi.set(__self__, "object_id", object_id) + + @property + @pulumi.getter + def email(self) -> str: + """ + The email of the user. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the user. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> Optional[str]: + """ + The object id of the user. + """ + return pulumi.get(self, "object_id") + + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/scheduled_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/scheduled_alert_rule.py new file mode 100644 index 000000000000..614055a2f388 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/scheduled_alert_rule.py @@ -0,0 +1,860 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ScheduledAlertRuleArgs', 'ScheduledAlertRule'] + +@pulumi.input_type +class ScheduledAlertRuleArgs: + def __init__(__self__, *, + display_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + kind: pulumi.Input[str], + query: pulumi.Input[str], + query_frequency: pulumi.Input[str], + query_period: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + severity: pulumi.Input[Union[str, 'AlertSeverity']], + suppression_duration: pulumi.Input[str], + suppression_enabled: pulumi.Input[bool], + trigger_operator: pulumi.Input['TriggerOperator'], + trigger_threshold: pulumi.Input[int], + workspace_name: pulumi.Input[str], + alert_details_override: Optional[pulumi.Input['AlertDetailsOverrideArgs']] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]]] = None, + event_grouping_settings: Optional[pulumi.Input['EventGroupingSettingsArgs']] = None, + incident_configuration: Optional[pulumi.Input['IncidentConfigurationArgs']] = None, + rule_id: Optional[pulumi.Input[str]] = None, + sentinel_entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + template_version: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ScheduledAlertRule resource. + :param pulumi.Input[str] display_name: The display name for alerts created by this alert rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'Scheduled'. + :param pulumi.Input[str] query: The query that creates alerts for this rule. + :param pulumi.Input[str] query_frequency: The frequency (in ISO 8601 duration format) for this alert rule to run. + :param pulumi.Input[str] query_period: The period (in ISO 8601 duration format) that this alert rule looks at. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'AlertSeverity']] severity: The severity for alerts created by this alert rule. + :param pulumi.Input[str] suppression_duration: The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + :param pulumi.Input[bool] suppression_enabled: Determines whether the suppression for this alert rule is enabled or disabled. + :param pulumi.Input['TriggerOperator'] trigger_operator: The operation against the threshold that triggers alert rule. + :param pulumi.Input[int] trigger_threshold: The threshold triggers this alert rule. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input['AlertDetailsOverrideArgs'] alert_details_override: The alert details override settings + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_details: Dictionary of string key-value pairs of columns to be attached to the alert + :param pulumi.Input[str] description: The description of the alert rule. + :param pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]] entity_mappings: Array of the entity mappings of the alert rule + :param pulumi.Input['EventGroupingSettingsArgs'] event_grouping_settings: The event grouping settings. + :param pulumi.Input['IncidentConfigurationArgs'] incident_configuration: The settings of the incidents that created from alerts triggered by this analytics rule + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]] sentinel_entities_mappings: Array of the sentinel entity mappings of the alert rule + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: The tactics of the alert rule + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: The techniques of the alert rule + :param pulumi.Input[str] template_version: The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "kind", 'Scheduled') + pulumi.set(__self__, "query", query) + pulumi.set(__self__, "query_frequency", query_frequency) + pulumi.set(__self__, "query_period", query_period) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "severity", severity) + pulumi.set(__self__, "suppression_duration", suppression_duration) + pulumi.set(__self__, "suppression_enabled", suppression_enabled) + pulumi.set(__self__, "trigger_operator", trigger_operator) + pulumi.set(__self__, "trigger_threshold", trigger_threshold) + pulumi.set(__self__, "workspace_name", workspace_name) + if alert_details_override is not None: + pulumi.set(__self__, "alert_details_override", alert_details_override) + if alert_rule_template_name is not None: + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + if custom_details is not None: + pulumi.set(__self__, "custom_details", custom_details) + if description is not None: + pulumi.set(__self__, "description", description) + if entity_mappings is not None: + pulumi.set(__self__, "entity_mappings", entity_mappings) + if event_grouping_settings is not None: + pulumi.set(__self__, "event_grouping_settings", event_grouping_settings) + if incident_configuration is not None: + pulumi.set(__self__, "incident_configuration", incident_configuration) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if sentinel_entities_mappings is not None: + pulumi.set(__self__, "sentinel_entities_mappings", sentinel_entities_mappings) + if tactics is not None: + pulumi.set(__self__, "tactics", tactics) + if techniques is not None: + pulumi.set(__self__, "techniques", techniques) + if template_version is not None: + pulumi.set(__self__, "template_version", template_version) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the alert rule + Expected value is 'Scheduled'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter + def query(self) -> pulumi.Input[str]: + """ + The query that creates alerts for this rule. + """ + return pulumi.get(self, "query") + + @query.setter + def query(self, value: pulumi.Input[str]): + pulumi.set(self, "query", value) + + @property + @pulumi.getter(name="queryFrequency") + def query_frequency(self) -> pulumi.Input[str]: + """ + The frequency (in ISO 8601 duration format) for this alert rule to run. + """ + return pulumi.get(self, "query_frequency") + + @query_frequency.setter + def query_frequency(self, value: pulumi.Input[str]): + pulumi.set(self, "query_frequency", value) + + @property + @pulumi.getter(name="queryPeriod") + def query_period(self) -> pulumi.Input[str]: + """ + The period (in ISO 8601 duration format) that this alert rule looks at. + """ + return pulumi.get(self, "query_period") + + @query_period.setter + def query_period(self, value: pulumi.Input[str]): + pulumi.set(self, "query_period", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 severity(self) -> pulumi.Input[Union[str, 'AlertSeverity']]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @severity.setter + def severity(self, value: pulumi.Input[Union[str, 'AlertSeverity']]): + pulumi.set(self, "severity", value) + + @property + @pulumi.getter(name="suppressionDuration") + def suppression_duration(self) -> pulumi.Input[str]: + """ + The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + """ + return pulumi.get(self, "suppression_duration") + + @suppression_duration.setter + def suppression_duration(self, value: pulumi.Input[str]): + pulumi.set(self, "suppression_duration", value) + + @property + @pulumi.getter(name="suppressionEnabled") + def suppression_enabled(self) -> pulumi.Input[bool]: + """ + Determines whether the suppression for this alert rule is enabled or disabled. + """ + return pulumi.get(self, "suppression_enabled") + + @suppression_enabled.setter + def suppression_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "suppression_enabled", value) + + @property + @pulumi.getter(name="triggerOperator") + def trigger_operator(self) -> pulumi.Input['TriggerOperator']: + """ + The operation against the threshold that triggers alert rule. + """ + return pulumi.get(self, "trigger_operator") + + @trigger_operator.setter + def trigger_operator(self, value: pulumi.Input['TriggerOperator']): + pulumi.set(self, "trigger_operator", value) + + @property + @pulumi.getter(name="triggerThreshold") + def trigger_threshold(self) -> pulumi.Input[int]: + """ + The threshold triggers this alert rule. + """ + return pulumi.get(self, "trigger_threshold") + + @trigger_threshold.setter + def trigger_threshold(self, value: pulumi.Input[int]): + pulumi.set(self, "trigger_threshold", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="alertDetailsOverride") + def alert_details_override(self) -> Optional[pulumi.Input['AlertDetailsOverrideArgs']]: + """ + The alert details override settings + """ + return pulumi.get(self, "alert_details_override") + + @alert_details_override.setter + def alert_details_override(self, value: Optional[pulumi.Input['AlertDetailsOverrideArgs']]): + pulumi.set(self, "alert_details_override", value) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> Optional[pulumi.Input[str]]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @alert_rule_template_name.setter + def alert_rule_template_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_rule_template_name", value) + + @property + @pulumi.getter(name="customDetails") + def custom_details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Dictionary of string key-value pairs of columns to be attached to the alert + """ + return pulumi.get(self, "custom_details") + + @custom_details.setter + def custom_details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_details", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]]]: + """ + Array of the entity mappings of the alert rule + """ + return pulumi.get(self, "entity_mappings") + + @entity_mappings.setter + def entity_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntityMappingArgs']]]]): + pulumi.set(self, "entity_mappings", value) + + @property + @pulumi.getter(name="eventGroupingSettings") + def event_grouping_settings(self) -> Optional[pulumi.Input['EventGroupingSettingsArgs']]: + """ + The event grouping settings. + """ + return pulumi.get(self, "event_grouping_settings") + + @event_grouping_settings.setter + def event_grouping_settings(self, value: Optional[pulumi.Input['EventGroupingSettingsArgs']]): + pulumi.set(self, "event_grouping_settings", value) + + @property + @pulumi.getter(name="incidentConfiguration") + def incident_configuration(self) -> Optional[pulumi.Input['IncidentConfigurationArgs']]: + """ + The settings of the incidents that created from alerts triggered by this analytics rule + """ + return pulumi.get(self, "incident_configuration") + + @incident_configuration.setter + def incident_configuration(self, value: Optional[pulumi.Input['IncidentConfigurationArgs']]): + pulumi.set(self, "incident_configuration", value) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) + + @property + @pulumi.getter(name="sentinelEntitiesMappings") + def sentinel_entities_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]]]: + """ + Array of the sentinel entity mappings of the alert rule + """ + return pulumi.get(self, "sentinel_entities_mappings") + + @sentinel_entities_mappings.setter + def sentinel_entities_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SentinelEntityMappingArgs']]]]): + pulumi.set(self, "sentinel_entities_mappings", value) + + @property + @pulumi.getter + def tactics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @tactics.setter + def tactics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]]): + pulumi.set(self, "tactics", value) + + @property + @pulumi.getter + def techniques(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @techniques.setter + def techniques(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "techniques", value) + + @property + @pulumi.getter(name="templateVersion") + def template_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + return pulumi.get(self, "template_version") + + @template_version.setter + def template_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "template_version", value) + + +class ScheduledAlertRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + alert_details_override: Optional[pulumi.Input[pulumi.InputType['AlertDetailsOverrideArgs']]] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityMappingArgs']]]]] = None, + event_grouping_settings: Optional[pulumi.Input[pulumi.InputType['EventGroupingSettingsArgs']]] = None, + incident_configuration: Optional[pulumi.Input[pulumi.InputType['IncidentConfigurationArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + query_frequency: Optional[pulumi.Input[str]] = None, + query_period: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + sentinel_entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SentinelEntityMappingArgs']]]]] = None, + severity: Optional[pulumi.Input[Union[str, 'AlertSeverity']]] = None, + suppression_duration: Optional[pulumi.Input[str]] = None, + suppression_enabled: Optional[pulumi.Input[bool]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + template_version: Optional[pulumi.Input[str]] = None, + trigger_operator: Optional[pulumi.Input['TriggerOperator']] = None, + trigger_threshold: Optional[pulumi.Input[int]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents scheduled alert rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['AlertDetailsOverrideArgs']] alert_details_override: The alert details override settings + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_details: Dictionary of string key-value pairs of columns to be attached to the alert + :param pulumi.Input[str] description: The description of the alert rule. + :param pulumi.Input[str] display_name: The display name for alerts created by this alert rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityMappingArgs']]]] entity_mappings: Array of the entity mappings of the alert rule + :param pulumi.Input[pulumi.InputType['EventGroupingSettingsArgs']] event_grouping_settings: The event grouping settings. + :param pulumi.Input[pulumi.InputType['IncidentConfigurationArgs']] incident_configuration: The settings of the incidents that created from alerts triggered by this analytics rule + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'Scheduled'. + :param pulumi.Input[str] query: The query that creates alerts for this rule. + :param pulumi.Input[str] query_frequency: The frequency (in ISO 8601 duration format) for this alert rule to run. + :param pulumi.Input[str] query_period: The period (in ISO 8601 duration format) that this alert rule looks at. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SentinelEntityMappingArgs']]]] sentinel_entities_mappings: Array of the sentinel entity mappings of the alert rule + :param pulumi.Input[Union[str, 'AlertSeverity']] severity: The severity for alerts created by this alert rule. + :param pulumi.Input[str] suppression_duration: The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + :param pulumi.Input[bool] suppression_enabled: Determines whether the suppression for this alert rule is enabled or disabled. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]] tactics: The tactics of the alert rule + :param pulumi.Input[Sequence[pulumi.Input[str]]] techniques: The techniques of the alert rule + :param pulumi.Input[str] template_version: The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + :param pulumi.Input['TriggerOperator'] trigger_operator: The operation against the threshold that triggers alert rule. + :param pulumi.Input[int] trigger_threshold: The threshold triggers this alert rule. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScheduledAlertRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents scheduled alert rule. + + :param str resource_name: The name of the resource. + :param ScheduledAlertRuleArgs 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(ScheduledAlertRuleArgs, 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, + alert_details_override: Optional[pulumi.Input[pulumi.InputType['AlertDetailsOverrideArgs']]] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entity_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntityMappingArgs']]]]] = None, + event_grouping_settings: Optional[pulumi.Input[pulumi.InputType['EventGroupingSettingsArgs']]] = None, + incident_configuration: Optional[pulumi.Input[pulumi.InputType['IncidentConfigurationArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + query_frequency: Optional[pulumi.Input[str]] = None, + query_period: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + sentinel_entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SentinelEntityMappingArgs']]]]] = None, + severity: Optional[pulumi.Input[Union[str, 'AlertSeverity']]] = None, + suppression_duration: Optional[pulumi.Input[str]] = None, + suppression_enabled: Optional[pulumi.Input[bool]] = None, + tactics: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AttackTactic']]]]] = None, + techniques: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + template_version: Optional[pulumi.Input[str]] = None, + trigger_operator: Optional[pulumi.Input['TriggerOperator']] = None, + trigger_threshold: Optional[pulumi.Input[int]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ScheduledAlertRuleArgs.__new__(ScheduledAlertRuleArgs) + + __props__.__dict__["alert_details_override"] = alert_details_override + __props__.__dict__["alert_rule_template_name"] = alert_rule_template_name + __props__.__dict__["custom_details"] = custom_details + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + __props__.__dict__["entity_mappings"] = entity_mappings + __props__.__dict__["event_grouping_settings"] = event_grouping_settings + __props__.__dict__["incident_configuration"] = incident_configuration + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Scheduled' + if query is None and not opts.urn: + raise TypeError("Missing required property 'query'") + __props__.__dict__["query"] = query + if query_frequency is None and not opts.urn: + raise TypeError("Missing required property 'query_frequency'") + __props__.__dict__["query_frequency"] = query_frequency + if query_period is None and not opts.urn: + raise TypeError("Missing required property 'query_period'") + __props__.__dict__["query_period"] = query_period + 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__["rule_id"] = rule_id + __props__.__dict__["sentinel_entities_mappings"] = sentinel_entities_mappings + if severity is None and not opts.urn: + raise TypeError("Missing required property 'severity'") + __props__.__dict__["severity"] = severity + if suppression_duration is None and not opts.urn: + raise TypeError("Missing required property 'suppression_duration'") + __props__.__dict__["suppression_duration"] = suppression_duration + if suppression_enabled is None and not opts.urn: + raise TypeError("Missing required property 'suppression_enabled'") + __props__.__dict__["suppression_enabled"] = suppression_enabled + __props__.__dict__["tactics"] = tactics + __props__.__dict__["techniques"] = techniques + __props__.__dict__["template_version"] = template_version + if trigger_operator is None and not opts.urn: + raise TypeError("Missing required property 'trigger_operator'") + __props__.__dict__["trigger_operator"] = trigger_operator + if trigger_threshold is None and not opts.urn: + raise TypeError("Missing required property 'trigger_threshold'") + __props__.__dict__["trigger_threshold"] = trigger_threshold + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ScheduledAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ScheduledAlertRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ScheduledAlertRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ScheduledAlertRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ScheduledAlertRule': + """ + Get an existing ScheduledAlertRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ScheduledAlertRuleArgs.__new__(ScheduledAlertRuleArgs) + + __props__.__dict__["alert_details_override"] = None + __props__.__dict__["alert_rule_template_name"] = None + __props__.__dict__["custom_details"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["entity_mappings"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["event_grouping_settings"] = None + __props__.__dict__["incident_configuration"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["query"] = None + __props__.__dict__["query_frequency"] = None + __props__.__dict__["query_period"] = None + __props__.__dict__["sentinel_entities_mappings"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["suppression_duration"] = None + __props__.__dict__["suppression_enabled"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["template_version"] = None + __props__.__dict__["trigger_operator"] = None + __props__.__dict__["trigger_threshold"] = None + __props__.__dict__["type"] = None + return ScheduledAlertRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="alertDetailsOverride") + def alert_details_override(self) -> pulumi.Output[Optional['outputs.AlertDetailsOverrideResponse']]: + """ + The alert details override settings + """ + return pulumi.get(self, "alert_details_override") + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Output[Optional[str]]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter(name="customDetails") + def custom_details(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Dictionary of string key-value pairs of columns to be attached to the alert + """ + return pulumi.get(self, "custom_details") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter(name="entityMappings") + def entity_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.EntityMappingResponse']]]: + """ + Array of the entity mappings of the alert rule + """ + return pulumi.get(self, "entity_mappings") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="eventGroupingSettings") + def event_grouping_settings(self) -> pulumi.Output[Optional['outputs.EventGroupingSettingsResponse']]: + """ + The event grouping settings. + """ + return pulumi.get(self, "event_grouping_settings") + + @property + @pulumi.getter(name="incidentConfiguration") + def incident_configuration(self) -> pulumi.Output[Optional['outputs.IncidentConfigurationResponse']]: + """ + The settings of the incidents that created from alerts triggered by this analytics rule + """ + return pulumi.get(self, "incident_configuration") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the alert rule + Expected value is 'Scheduled'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this alert rule has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def query(self) -> pulumi.Output[str]: + """ + The query that creates alerts for this rule. + """ + return pulumi.get(self, "query") + + @property + @pulumi.getter(name="queryFrequency") + def query_frequency(self) -> pulumi.Output[str]: + """ + The frequency (in ISO 8601 duration format) for this alert rule to run. + """ + return pulumi.get(self, "query_frequency") + + @property + @pulumi.getter(name="queryPeriod") + def query_period(self) -> pulumi.Output[str]: + """ + The period (in ISO 8601 duration format) that this alert rule looks at. + """ + return pulumi.get(self, "query_period") + + @property + @pulumi.getter(name="sentinelEntitiesMappings") + def sentinel_entities_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.SentinelEntityMappingResponse']]]: + """ + Array of the sentinel entity mappings of the alert rule + """ + return pulumi.get(self, "sentinel_entities_mappings") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="suppressionDuration") + def suppression_duration(self) -> pulumi.Output[str]: + """ + The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered. + """ + return pulumi.get(self, "suppression_duration") + + @property + @pulumi.getter(name="suppressionEnabled") + def suppression_enabled(self) -> pulumi.Output[bool]: + """ + Determines whether the suppression for this alert rule is enabled or disabled. + """ + return pulumi.get(self, "suppression_enabled") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter(name="templateVersion") + def template_version(self) -> pulumi.Output[Optional[str]]: + """ + The version of the alert rule template used to create this rule - in format , where all are numbers, for example 0 <1.0.2> + """ + return pulumi.get(self, "template_version") + + @property + @pulumi.getter(name="triggerOperator") + def trigger_operator(self) -> pulumi.Output[str]: + """ + The operation against the threshold that triggers alert rule. + """ + return pulumi.get(self, "trigger_operator") + + @property + @pulumi.getter(name="triggerThreshold") + def trigger_threshold(self) -> pulumi.Output[int]: + """ + The threshold triggers this alert rule. + """ + return pulumi.get(self, "trigger_threshold") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/sentinel_onboarding_state.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/sentinel_onboarding_state.py new file mode 100644 index 000000000000..19503d6dddbe --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/sentinel_onboarding_state.py @@ -0,0 +1,224 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['SentinelOnboardingStateArgs', 'SentinelOnboardingState'] + +@pulumi.input_type +class SentinelOnboardingStateArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + customer_managed_key: Optional[pulumi.Input[bool]] = None, + sentinel_onboarding_state_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SentinelOnboardingState resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[bool] customer_managed_key: Flag that indicates the status of the CMK setting + :param pulumi.Input[str] sentinel_onboarding_state_name: The Sentinel onboarding state name. Supports - default + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if customer_managed_key is not None: + pulumi.set(__self__, "customer_managed_key", customer_managed_key) + if sentinel_onboarding_state_name is not None: + pulumi.set(__self__, "sentinel_onboarding_state_name", sentinel_onboarding_state_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="customerManagedKey") + def customer_managed_key(self) -> Optional[pulumi.Input[bool]]: + """ + Flag that indicates the status of the CMK setting + """ + return pulumi.get(self, "customer_managed_key") + + @customer_managed_key.setter + def customer_managed_key(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "customer_managed_key", value) + + @property + @pulumi.getter(name="sentinelOnboardingStateName") + def sentinel_onboarding_state_name(self) -> Optional[pulumi.Input[str]]: + """ + The Sentinel onboarding state name. Supports - default + """ + return pulumi.get(self, "sentinel_onboarding_state_name") + + @sentinel_onboarding_state_name.setter + def sentinel_onboarding_state_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sentinel_onboarding_state_name", value) + + +class SentinelOnboardingState(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + customer_managed_key: Optional[pulumi.Input[bool]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sentinel_onboarding_state_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Sentinel onboarding state + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] customer_managed_key: Flag that indicates the status of the CMK setting + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] sentinel_onboarding_state_name: The Sentinel onboarding state name. Supports - default + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SentinelOnboardingStateArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Sentinel onboarding state + + :param str resource_name: The name of the resource. + :param SentinelOnboardingStateArgs 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(SentinelOnboardingStateArgs, 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, + customer_managed_key: Optional[pulumi.Input[bool]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sentinel_onboarding_state_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SentinelOnboardingStateArgs.__new__(SentinelOnboardingStateArgs) + + __props__.__dict__["customer_managed_key"] = customer_managed_key + 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__["sentinel_onboarding_state_name"] = sentinel_onboarding_state_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:SentinelOnboardingState"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:SentinelOnboardingState")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SentinelOnboardingState, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:SentinelOnboardingState', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SentinelOnboardingState': + """ + Get an existing SentinelOnboardingState 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SentinelOnboardingStateArgs.__new__(SentinelOnboardingStateArgs) + + __props__.__dict__["customer_managed_key"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return SentinelOnboardingState(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="customerManagedKey") + def customer_managed_key(self) -> pulumi.Output[Optional[bool]]: + """ + Flag that indicates the status of the CMK setting + """ + return pulumi.get(self, "customer_managed_key") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/threat_intelligence_alert_rule.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/threat_intelligence_alert_rule.py new file mode 100644 index 000000000000..3813e854a590 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/threat_intelligence_alert_rule.py @@ -0,0 +1,349 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['ThreatIntelligenceAlertRuleArgs', 'ThreatIntelligenceAlertRule'] + +@pulumi.input_type +class ThreatIntelligenceAlertRuleArgs: + def __init__(__self__, *, + alert_rule_template_name: pulumi.Input[str], + enabled: pulumi.Input[bool], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + rule_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ThreatIntelligenceAlertRule resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'ThreatIntelligence'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] rule_id: Alert rule ID + """ + pulumi.set(__self__, "alert_rule_template_name", alert_rule_template_name) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "kind", 'ThreatIntelligence') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Input[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @alert_rule_template_name.setter + def alert_rule_template_name(self, value: pulumi.Input[str]): + pulumi.set(self, "alert_rule_template_name", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the alert rule + Expected value is 'ThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + """ + Alert rule ID + """ + return pulumi.get(self, "rule_id") + + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) + + +class ThreatIntelligenceAlertRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents Threat Intelligence alert rule. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] alert_rule_template_name: The Name of the alert rule template used to create this rule. + :param pulumi.Input[bool] enabled: Determines whether this alert rule is enabled or disabled. + :param pulumi.Input[str] kind: The kind of the alert rule + Expected value is 'ThreatIntelligence'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] rule_id: Alert rule ID + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ThreatIntelligenceAlertRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Threat Intelligence alert rule. + + :param str resource_name: The name of the resource. + :param ThreatIntelligenceAlertRuleArgs 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(ThreatIntelligenceAlertRuleArgs, 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, + alert_rule_template_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ThreatIntelligenceAlertRuleArgs.__new__(ThreatIntelligenceAlertRuleArgs) + + if alert_rule_template_name is None and not opts.urn: + raise TypeError("Missing required property 'alert_rule_template_name'") + __props__.__dict__["alert_rule_template_name"] = alert_rule_template_name + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'ThreatIntelligence' + 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__["rule_id"] = rule_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceAlertRule"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceAlertRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ThreatIntelligenceAlertRule, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ThreatIntelligenceAlertRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ThreatIntelligenceAlertRule': + """ + Get an existing ThreatIntelligenceAlertRule 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ThreatIntelligenceAlertRuleArgs.__new__(ThreatIntelligenceAlertRuleArgs) + + __props__.__dict__["alert_rule_template_name"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["last_modified_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["severity"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tactics"] = None + __props__.__dict__["techniques"] = None + __props__.__dict__["type"] = None + return ThreatIntelligenceAlertRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="alertRuleTemplateName") + def alert_rule_template_name(self) -> pulumi.Output[str]: + """ + The Name of the alert rule template used to create this rule. + """ + return pulumi.get(self, "alert_rule_template_name") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + The description of the alert rule. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name for alerts created by this alert rule. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Determines whether this alert rule is enabled or disabled. + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the alert rule + Expected value is 'ThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastModifiedUtc") + def last_modified_utc(self) -> pulumi.Output[str]: + """ + The last time that this alert has been modified. + """ + return pulumi.get(self, "last_modified_utc") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def severity(self) -> pulumi.Output[str]: + """ + The severity for alerts created by this alert rule. + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tactics(self) -> pulumi.Output[Sequence[str]]: + """ + The tactics of the alert rule + """ + return pulumi.get(self, "tactics") + + @property + @pulumi.getter + def techniques(self) -> pulumi.Output[Sequence[str]]: + """ + The techniques of the alert rule + """ + return pulumi.get(self, "techniques") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/threat_intelligence_indicator.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/threat_intelligence_indicator.py new file mode 100644 index 000000000000..d2e1f692efb0 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/threat_intelligence_indicator.py @@ -0,0 +1,788 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ThreatIntelligenceIndicatorArgs', 'ThreatIntelligenceIndicator'] + +@pulumi.input_type +class ThreatIntelligenceIndicatorArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + confidence: Optional[pulumi.Input[int]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by_ref: Optional[pulumi.Input[str]] = None, + defanged: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extensions: Optional[Any] = None, + external_id: Optional[pulumi.Input[str]] = None, + external_last_updated_time_utc: Optional[pulumi.Input[str]] = None, + external_references: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceExternalReferenceArgs']]]] = None, + granular_markings: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceGranularMarkingModelArgs']]]] = None, + indicator_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kill_chain_phases: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceKillChainPhaseArgs']]]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + language: Optional[pulumi.Input[str]] = None, + last_updated_time_utc: Optional[pulumi.Input[str]] = None, + modified: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_marking_refs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parsed_pattern: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternArgs']]]] = None, + pattern: Optional[pulumi.Input[str]] = None, + pattern_type: Optional[pulumi.Input[str]] = None, + pattern_version: Optional[pulumi.Input[str]] = None, + revoked: Optional[pulumi.Input[bool]] = None, + source: Optional[pulumi.Input[str]] = None, + threat_intelligence_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ThreatIntelligenceIndicator resource. + :param pulumi.Input[str] kind: The kind of the threat intelligence entity + Expected value is 'indicator'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[int] confidence: Confidence of threat intelligence entity + :param pulumi.Input[str] created: Created by + :param pulumi.Input[str] created_by_ref: Created by reference of threat intelligence entity + :param pulumi.Input[bool] defanged: Is threat intelligence entity defanged + :param pulumi.Input[str] description: Description of a threat intelligence entity + :param pulumi.Input[str] display_name: Display name of a threat intelligence entity + :param Any extensions: Extensions map + :param pulumi.Input[str] external_id: External ID of threat intelligence entity + :param pulumi.Input[str] external_last_updated_time_utc: External last updated time in UTC + :param pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceExternalReferenceArgs']]] external_references: External References + :param pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceGranularMarkingModelArgs']]] granular_markings: Granular Markings + :param pulumi.Input[Sequence[pulumi.Input[str]]] indicator_types: Indicator types of threat intelligence entities + :param pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceKillChainPhaseArgs']]] kill_chain_phases: Kill chain phases + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: Labels of threat intelligence entity + :param pulumi.Input[str] language: Language of threat intelligence entity + :param pulumi.Input[str] last_updated_time_utc: Last updated time in UTC + :param pulumi.Input[str] modified: Modified by + :param pulumi.Input[str] name: Threat intelligence indicator name field. + :param pulumi.Input[Sequence[pulumi.Input[str]]] object_marking_refs: Threat intelligence entity object marking references + :param pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternArgs']]] parsed_pattern: Parsed patterns + :param pulumi.Input[str] pattern: Pattern of a threat intelligence entity + :param pulumi.Input[str] pattern_type: Pattern type of a threat intelligence entity + :param pulumi.Input[str] pattern_version: Pattern version of a threat intelligence entity + :param pulumi.Input[bool] revoked: Is threat intelligence entity revoked + :param pulumi.Input[str] source: Source of a threat intelligence entity + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_intelligence_tags: List of tags + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_types: Threat types + :param pulumi.Input[str] valid_from: Valid from + :param pulumi.Input[str] valid_until: Valid until + """ + pulumi.set(__self__, "kind", 'indicator') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if confidence is not None: + pulumi.set(__self__, "confidence", confidence) + if created is not None: + pulumi.set(__self__, "created", created) + if created_by_ref is not None: + pulumi.set(__self__, "created_by_ref", created_by_ref) + if defanged is not None: + pulumi.set(__self__, "defanged", defanged) + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if extensions is not None: + pulumi.set(__self__, "extensions", extensions) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if external_last_updated_time_utc is not None: + pulumi.set(__self__, "external_last_updated_time_utc", external_last_updated_time_utc) + if external_references is not None: + pulumi.set(__self__, "external_references", external_references) + if granular_markings is not None: + pulumi.set(__self__, "granular_markings", granular_markings) + if indicator_types is not None: + pulumi.set(__self__, "indicator_types", indicator_types) + if kill_chain_phases is not None: + pulumi.set(__self__, "kill_chain_phases", kill_chain_phases) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if language is not None: + pulumi.set(__self__, "language", language) + if last_updated_time_utc is not None: + pulumi.set(__self__, "last_updated_time_utc", last_updated_time_utc) + if modified is not None: + pulumi.set(__self__, "modified", modified) + if name is not None: + pulumi.set(__self__, "name", name) + if object_marking_refs is not None: + pulumi.set(__self__, "object_marking_refs", object_marking_refs) + if parsed_pattern is not None: + pulumi.set(__self__, "parsed_pattern", parsed_pattern) + if pattern is not None: + pulumi.set(__self__, "pattern", pattern) + if pattern_type is not None: + pulumi.set(__self__, "pattern_type", pattern_type) + if pattern_version is not None: + pulumi.set(__self__, "pattern_version", pattern_version) + if revoked is not None: + pulumi.set(__self__, "revoked", revoked) + if source is not None: + pulumi.set(__self__, "source", source) + if threat_intelligence_tags is not None: + pulumi.set(__self__, "threat_intelligence_tags", threat_intelligence_tags) + if threat_types is not None: + pulumi.set(__self__, "threat_types", threat_types) + if valid_from is not None: + pulumi.set(__self__, "valid_from", valid_from) + if valid_until is not None: + pulumi.set(__self__, "valid_until", valid_until) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the threat intelligence entity + Expected value is 'indicator'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def confidence(self) -> Optional[pulumi.Input[int]]: + """ + Confidence of threat intelligence entity + """ + return pulumi.get(self, "confidence") + + @confidence.setter + def confidence(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "confidence", value) + + @property + @pulumi.getter + def created(self) -> Optional[pulumi.Input[str]]: + """ + Created by + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created", value) + + @property + @pulumi.getter(name="createdByRef") + def created_by_ref(self) -> Optional[pulumi.Input[str]]: + """ + Created by reference of threat intelligence entity + """ + return pulumi.get(self, "created_by_ref") + + @created_by_ref.setter + def created_by_ref(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by_ref", value) + + @property + @pulumi.getter + def defanged(self) -> Optional[pulumi.Input[bool]]: + """ + Is threat intelligence entity defanged + """ + return pulumi.get(self, "defanged") + + @defanged.setter + def defanged(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "defanged", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of a threat intelligence entity + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + Display name of a threat intelligence entity + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def extensions(self) -> Optional[Any]: + """ + Extensions map + """ + return pulumi.get(self, "extensions") + + @extensions.setter + def extensions(self, value: Optional[Any]): + pulumi.set(self, "extensions", value) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + """ + External ID of threat intelligence entity + """ + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter(name="externalLastUpdatedTimeUtc") + def external_last_updated_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + External last updated time in UTC + """ + return pulumi.get(self, "external_last_updated_time_utc") + + @external_last_updated_time_utc.setter + def external_last_updated_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_last_updated_time_utc", value) + + @property + @pulumi.getter(name="externalReferences") + def external_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceExternalReferenceArgs']]]]: + """ + External References + """ + return pulumi.get(self, "external_references") + + @external_references.setter + def external_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceExternalReferenceArgs']]]]): + pulumi.set(self, "external_references", value) + + @property + @pulumi.getter(name="granularMarkings") + def granular_markings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceGranularMarkingModelArgs']]]]: + """ + Granular Markings + """ + return pulumi.get(self, "granular_markings") + + @granular_markings.setter + def granular_markings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceGranularMarkingModelArgs']]]]): + pulumi.set(self, "granular_markings", value) + + @property + @pulumi.getter(name="indicatorTypes") + def indicator_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Indicator types of threat intelligence entities + """ + return pulumi.get(self, "indicator_types") + + @indicator_types.setter + def indicator_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "indicator_types", value) + + @property + @pulumi.getter(name="killChainPhases") + def kill_chain_phases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceKillChainPhaseArgs']]]]: + """ + Kill chain phases + """ + return pulumi.get(self, "kill_chain_phases") + + @kill_chain_phases.setter + def kill_chain_phases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceKillChainPhaseArgs']]]]): + pulumi.set(self, "kill_chain_phases", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Labels of threat intelligence entity + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def language(self) -> Optional[pulumi.Input[str]]: + """ + Language of threat intelligence entity + """ + return pulumi.get(self, "language") + + @language.setter + def language(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "language", value) + + @property + @pulumi.getter(name="lastUpdatedTimeUtc") + def last_updated_time_utc(self) -> Optional[pulumi.Input[str]]: + """ + Last updated time in UTC + """ + return pulumi.get(self, "last_updated_time_utc") + + @last_updated_time_utc.setter + def last_updated_time_utc(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_updated_time_utc", value) + + @property + @pulumi.getter + def modified(self) -> Optional[pulumi.Input[str]]: + """ + Modified by + """ + return pulumi.get(self, "modified") + + @modified.setter + def modified(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "modified", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Threat intelligence indicator name field. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="objectMarkingRefs") + def object_marking_refs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Threat intelligence entity object marking references + """ + return pulumi.get(self, "object_marking_refs") + + @object_marking_refs.setter + def object_marking_refs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "object_marking_refs", value) + + @property + @pulumi.getter(name="parsedPattern") + def parsed_pattern(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternArgs']]]]: + """ + Parsed patterns + """ + return pulumi.get(self, "parsed_pattern") + + @parsed_pattern.setter + def parsed_pattern(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThreatIntelligenceParsedPatternArgs']]]]): + pulumi.set(self, "parsed_pattern", value) + + @property + @pulumi.getter + def pattern(self) -> Optional[pulumi.Input[str]]: + """ + Pattern of a threat intelligence entity + """ + return pulumi.get(self, "pattern") + + @pattern.setter + def pattern(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pattern", value) + + @property + @pulumi.getter(name="patternType") + def pattern_type(self) -> Optional[pulumi.Input[str]]: + """ + Pattern type of a threat intelligence entity + """ + return pulumi.get(self, "pattern_type") + + @pattern_type.setter + def pattern_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pattern_type", value) + + @property + @pulumi.getter(name="patternVersion") + def pattern_version(self) -> Optional[pulumi.Input[str]]: + """ + Pattern version of a threat intelligence entity + """ + return pulumi.get(self, "pattern_version") + + @pattern_version.setter + def pattern_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pattern_version", value) + + @property + @pulumi.getter + def revoked(self) -> Optional[pulumi.Input[bool]]: + """ + Is threat intelligence entity revoked + """ + return pulumi.get(self, "revoked") + + @revoked.setter + def revoked(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "revoked", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + Source of a threat intelligence entity + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter(name="threatIntelligenceTags") + def threat_intelligence_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of tags + """ + return pulumi.get(self, "threat_intelligence_tags") + + @threat_intelligence_tags.setter + def threat_intelligence_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_intelligence_tags", value) + + @property + @pulumi.getter(name="threatTypes") + def threat_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Threat types + """ + return pulumi.get(self, "threat_types") + + @threat_types.setter + def threat_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "threat_types", value) + + @property + @pulumi.getter(name="validFrom") + def valid_from(self) -> Optional[pulumi.Input[str]]: + """ + Valid from + """ + return pulumi.get(self, "valid_from") + + @valid_from.setter + def valid_from(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "valid_from", value) + + @property + @pulumi.getter(name="validUntil") + def valid_until(self) -> Optional[pulumi.Input[str]]: + """ + Valid until + """ + return pulumi.get(self, "valid_until") + + @valid_until.setter + def valid_until(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "valid_until", value) + + +class ThreatIntelligenceIndicator(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + confidence: Optional[pulumi.Input[int]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by_ref: Optional[pulumi.Input[str]] = None, + defanged: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extensions: Optional[Any] = None, + external_id: Optional[pulumi.Input[str]] = None, + external_last_updated_time_utc: Optional[pulumi.Input[str]] = None, + external_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceExternalReferenceArgs']]]]] = None, + granular_markings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceGranularMarkingModelArgs']]]]] = None, + indicator_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kill_chain_phases: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceKillChainPhaseArgs']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + language: Optional[pulumi.Input[str]] = None, + last_updated_time_utc: Optional[pulumi.Input[str]] = None, + modified: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_marking_refs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parsed_pattern: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceParsedPatternArgs']]]]] = None, + pattern: Optional[pulumi.Input[str]] = None, + pattern_type: Optional[pulumi.Input[str]] = None, + pattern_version: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + revoked: Optional[pulumi.Input[bool]] = None, + source: Optional[pulumi.Input[str]] = None, + threat_intelligence_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Threat intelligence information object. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[int] confidence: Confidence of threat intelligence entity + :param pulumi.Input[str] created: Created by + :param pulumi.Input[str] created_by_ref: Created by reference of threat intelligence entity + :param pulumi.Input[bool] defanged: Is threat intelligence entity defanged + :param pulumi.Input[str] description: Description of a threat intelligence entity + :param pulumi.Input[str] display_name: Display name of a threat intelligence entity + :param Any extensions: Extensions map + :param pulumi.Input[str] external_id: External ID of threat intelligence entity + :param pulumi.Input[str] external_last_updated_time_utc: External last updated time in UTC + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceExternalReferenceArgs']]]] external_references: External References + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceGranularMarkingModelArgs']]]] granular_markings: Granular Markings + :param pulumi.Input[Sequence[pulumi.Input[str]]] indicator_types: Indicator types of threat intelligence entities + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceKillChainPhaseArgs']]]] kill_chain_phases: Kill chain phases + :param pulumi.Input[str] kind: The kind of the threat intelligence entity + Expected value is 'indicator'. + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: Labels of threat intelligence entity + :param pulumi.Input[str] language: Language of threat intelligence entity + :param pulumi.Input[str] last_updated_time_utc: Last updated time in UTC + :param pulumi.Input[str] modified: Modified by + :param pulumi.Input[str] name: Threat intelligence indicator name field. + :param pulumi.Input[Sequence[pulumi.Input[str]]] object_marking_refs: Threat intelligence entity object marking references + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceParsedPatternArgs']]]] parsed_pattern: Parsed patterns + :param pulumi.Input[str] pattern: Pattern of a threat intelligence entity + :param pulumi.Input[str] pattern_type: Pattern type of a threat intelligence entity + :param pulumi.Input[str] pattern_version: Pattern version of a threat intelligence entity + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[bool] revoked: Is threat intelligence entity revoked + :param pulumi.Input[str] source: Source of a threat intelligence entity + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_intelligence_tags: List of tags + :param pulumi.Input[Sequence[pulumi.Input[str]]] threat_types: Threat types + :param pulumi.Input[str] valid_from: Valid from + :param pulumi.Input[str] valid_until: Valid until + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ThreatIntelligenceIndicatorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Threat intelligence information object. + + :param str resource_name: The name of the resource. + :param ThreatIntelligenceIndicatorArgs 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(ThreatIntelligenceIndicatorArgs, 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, + confidence: Optional[pulumi.Input[int]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by_ref: Optional[pulumi.Input[str]] = None, + defanged: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extensions: Optional[Any] = None, + external_id: Optional[pulumi.Input[str]] = None, + external_last_updated_time_utc: Optional[pulumi.Input[str]] = None, + external_references: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceExternalReferenceArgs']]]]] = None, + granular_markings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceGranularMarkingModelArgs']]]]] = None, + indicator_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kill_chain_phases: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceKillChainPhaseArgs']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + language: Optional[pulumi.Input[str]] = None, + last_updated_time_utc: Optional[pulumi.Input[str]] = None, + modified: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_marking_refs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parsed_pattern: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ThreatIntelligenceParsedPatternArgs']]]]] = None, + pattern: Optional[pulumi.Input[str]] = None, + pattern_type: Optional[pulumi.Input[str]] = None, + pattern_version: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + revoked: Optional[pulumi.Input[bool]] = None, + source: Optional[pulumi.Input[str]] = None, + threat_intelligence_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threat_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ThreatIntelligenceIndicatorArgs.__new__(ThreatIntelligenceIndicatorArgs) + + __props__.__dict__["confidence"] = confidence + __props__.__dict__["created"] = created + __props__.__dict__["created_by_ref"] = created_by_ref + __props__.__dict__["defanged"] = defanged + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["extensions"] = extensions + __props__.__dict__["external_id"] = external_id + __props__.__dict__["external_last_updated_time_utc"] = external_last_updated_time_utc + __props__.__dict__["external_references"] = external_references + __props__.__dict__["granular_markings"] = granular_markings + __props__.__dict__["indicator_types"] = indicator_types + __props__.__dict__["kill_chain_phases"] = kill_chain_phases + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'indicator' + __props__.__dict__["labels"] = labels + __props__.__dict__["language"] = language + __props__.__dict__["last_updated_time_utc"] = last_updated_time_utc + __props__.__dict__["modified"] = modified + __props__.__dict__["name"] = name + __props__.__dict__["object_marking_refs"] = object_marking_refs + __props__.__dict__["parsed_pattern"] = parsed_pattern + __props__.__dict__["pattern"] = pattern + __props__.__dict__["pattern_type"] = pattern_type + __props__.__dict__["pattern_version"] = pattern_version + 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__["revoked"] = revoked + __props__.__dict__["source"] = source + __props__.__dict__["threat_intelligence_tags"] = threat_intelligence_tags + __props__.__dict__["threat_types"] = threat_types + __props__.__dict__["valid_from"] = valid_from + __props__.__dict__["valid_until"] = valid_until + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:ThreatIntelligenceIndicator"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:ThreatIntelligenceIndicator")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(ThreatIntelligenceIndicator, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:ThreatIntelligenceIndicator', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ThreatIntelligenceIndicator': + """ + Get an existing ThreatIntelligenceIndicator 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ThreatIntelligenceIndicatorArgs.__new__(ThreatIntelligenceIndicatorArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return ThreatIntelligenceIndicator(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the entity. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ti_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ti_data_connector.py new file mode 100644 index 000000000000..90966531e35e --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ti_data_connector.py @@ -0,0 +1,320 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['TIDataConnectorArgs', 'TIDataConnector'] + +@pulumi.input_type +class TIDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['TIDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_connector_id: Optional[pulumi.Input[str]] = None, + tip_lookback_period: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a TIDataConnector resource. + :param pulumi.Input['TIDataConnectorDataTypesArgs'] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'ThreatIntelligence'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[str] tip_lookback_period: The lookback period for the feed to be imported. + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'ThreatIntelligence') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if tip_lookback_period is not None: + pulumi.set(__self__, "tip_lookback_period", tip_lookback_period) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['TIDataConnectorDataTypesArgs']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['TIDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'ThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="tipLookbackPeriod") + def tip_lookback_period(self) -> Optional[pulumi.Input[str]]: + """ + The lookback period for the feed to be imported. + """ + return pulumi.get(self, "tip_lookback_period") + + @tip_lookback_period.setter + def tip_lookback_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tip_lookback_period", value) + + +class TIDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['TIDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tip_lookback_period: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents threat intelligence data connector. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['TIDataConnectorDataTypesArgs']] data_types: The available data types for the connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'ThreatIntelligence'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] tip_lookback_period: The lookback period for the feed to be imported. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TIDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents threat intelligence data connector. + + :param str resource_name: The name of the resource. + :param TIDataConnectorArgs 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(TIDataConnectorArgs, 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, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['TIDataConnectorDataTypesArgs']]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tip_lookback_period: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TIDataConnectorArgs.__new__(TIDataConnectorArgs) + + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'ThreatIntelligence' + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["tip_lookback_period"] = tip_lookback_period + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TIDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TIDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(TIDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:TIDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'TIDataConnector': + """ + Get an existing TIDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = TIDataConnectorArgs.__new__(TIDataConnectorArgs) + + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["tip_lookback_period"] = None + __props__.__dict__["type"] = None + return TIDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.TIDataConnectorDataTypesResponse']: + """ + The available data types for the connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'ThreatIntelligence'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter(name="tipLookbackPeriod") + def tip_lookback_period(self) -> pulumi.Output[Optional[str]]: + """ + The lookback period for the feed to be imported. + """ + return pulumi.get(self, "tip_lookback_period") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ti_taxii_data_connector.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ti_taxii_data_connector.py new file mode 100644 index 000000000000..f4e465b36ac6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ti_taxii_data_connector.py @@ -0,0 +1,524 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['TiTaxiiDataConnectorArgs', 'TiTaxiiDataConnector'] + +@pulumi.input_type +class TiTaxiiDataConnectorArgs: + def __init__(__self__, *, + data_types: pulumi.Input['TiTaxiiDataConnectorDataTypesArgs'], + kind: pulumi.Input[str], + polling_frequency: pulumi.Input[Union[str, 'PollingFrequency']], + resource_group_name: pulumi.Input[str], + tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + collection_id: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + taxii_lookback_period: Optional[pulumi.Input[str]] = None, + taxii_server: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a TiTaxiiDataConnector resource. + :param pulumi.Input['TiTaxiiDataConnectorDataTypesArgs'] data_types: The available data types for Threat Intelligence TAXII data connector. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'ThreatIntelligenceTaxii'. + :param pulumi.Input[Union[str, 'PollingFrequency']] polling_frequency: The polling frequency for the TAXII server. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] collection_id: The collection id of the TAXII server. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[str] friendly_name: The friendly name for the TAXII server. + :param pulumi.Input[str] password: The password for the TAXII server. + :param pulumi.Input[str] taxii_lookback_period: The lookback period for the TAXII server. + :param pulumi.Input[str] taxii_server: The API root for the TAXII server. + :param pulumi.Input[str] user_name: The userName for the TAXII server. + :param pulumi.Input[str] workspace_id: The workspace id. + """ + pulumi.set(__self__, "data_types", data_types) + pulumi.set(__self__, "kind", 'ThreatIntelligenceTaxii') + pulumi.set(__self__, "polling_frequency", polling_frequency) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if collection_id is not None: + pulumi.set(__self__, "collection_id", collection_id) + if data_connector_id is not None: + pulumi.set(__self__, "data_connector_id", data_connector_id) + if friendly_name is not None: + pulumi.set(__self__, "friendly_name", friendly_name) + if password is not None: + pulumi.set(__self__, "password", password) + if taxii_lookback_period is not None: + pulumi.set(__self__, "taxii_lookback_period", taxii_lookback_period) + if taxii_server is not None: + pulumi.set(__self__, "taxii_server", taxii_server) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + if workspace_id is not None: + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Input['TiTaxiiDataConnectorDataTypesArgs']: + """ + The available data types for Threat Intelligence TAXII data connector. + """ + return pulumi.get(self, "data_types") + + @data_types.setter + def data_types(self, value: pulumi.Input['TiTaxiiDataConnectorDataTypesArgs']): + pulumi.set(self, "data_types", value) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the data connector + Expected value is 'ThreatIntelligenceTaxii'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="pollingFrequency") + def polling_frequency(self) -> pulumi.Input[Union[str, 'PollingFrequency']]: + """ + The polling frequency for the TAXII server. + """ + return pulumi.get(self, "polling_frequency") + + @polling_frequency.setter + def polling_frequency(self, value: pulumi.Input[Union[str, 'PollingFrequency']]): + pulumi.set(self, "polling_frequency", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> Optional[pulumi.Input[str]]: + """ + The collection id of the TAXII server. + """ + return pulumi.get(self, "collection_id") + + @collection_id.setter + def collection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "collection_id", value) + + @property + @pulumi.getter(name="dataConnectorId") + def data_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + Connector ID + """ + return pulumi.get(self, "data_connector_id") + + @data_connector_id.setter + def data_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_connector_id", value) + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> Optional[pulumi.Input[str]]: + """ + The friendly name for the TAXII server. + """ + return pulumi.get(self, "friendly_name") + + @friendly_name.setter + def friendly_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "friendly_name", value) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + The password for the TAXII server. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="taxiiLookbackPeriod") + def taxii_lookback_period(self) -> Optional[pulumi.Input[str]]: + """ + The lookback period for the TAXII server. + """ + return pulumi.get(self, "taxii_lookback_period") + + @taxii_lookback_period.setter + def taxii_lookback_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "taxii_lookback_period", value) + + @property + @pulumi.getter(name="taxiiServer") + def taxii_server(self) -> Optional[pulumi.Input[str]]: + """ + The API root for the TAXII server. + """ + return pulumi.get(self, "taxii_server") + + @taxii_server.setter + def taxii_server(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "taxii_server", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The userName for the TAXII server. + """ + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> Optional[pulumi.Input[str]]: + """ + The workspace id. + """ + 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 TiTaxiiDataConnector(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + collection_id: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['TiTaxiiDataConnectorDataTypesArgs']]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + polling_frequency: Optional[pulumi.Input[Union[str, 'PollingFrequency']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + taxii_lookback_period: Optional[pulumi.Input[str]] = None, + taxii_server: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] collection_id: The collection id of the TAXII server. + :param pulumi.Input[str] data_connector_id: Connector ID + :param pulumi.Input[pulumi.InputType['TiTaxiiDataConnectorDataTypesArgs']] data_types: The available data types for Threat Intelligence TAXII data connector. + :param pulumi.Input[str] friendly_name: The friendly name for the TAXII server. + :param pulumi.Input[str] kind: The kind of the data connector + Expected value is 'ThreatIntelligenceTaxii'. + :param pulumi.Input[str] password: The password for the TAXII server. + :param pulumi.Input[Union[str, 'PollingFrequency']] polling_frequency: The polling frequency for the TAXII server. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] taxii_lookback_period: The lookback period for the TAXII server. + :param pulumi.Input[str] taxii_server: The API root for the TAXII server. + :param pulumi.Input[str] tenant_id: The tenant id to connect to, and get the data from. + :param pulumi.Input[str] user_name: The userName for the TAXII server. + :param pulumi.Input[str] workspace_id: The workspace id. + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: TiTaxiiDataConnectorArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server + + :param str resource_name: The name of the resource. + :param TiTaxiiDataConnectorArgs 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(TiTaxiiDataConnectorArgs, 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, + collection_id: Optional[pulumi.Input[str]] = None, + data_connector_id: Optional[pulumi.Input[str]] = None, + data_types: Optional[pulumi.Input[pulumi.InputType['TiTaxiiDataConnectorDataTypesArgs']]] = None, + friendly_name: Optional[pulumi.Input[str]] = None, + kind: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + polling_frequency: Optional[pulumi.Input[Union[str, 'PollingFrequency']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + taxii_lookback_period: Optional[pulumi.Input[str]] = None, + taxii_server: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = TiTaxiiDataConnectorArgs.__new__(TiTaxiiDataConnectorArgs) + + __props__.__dict__["collection_id"] = collection_id + __props__.__dict__["data_connector_id"] = data_connector_id + if data_types is None and not opts.urn: + raise TypeError("Missing required property 'data_types'") + __props__.__dict__["data_types"] = data_types + __props__.__dict__["friendly_name"] = friendly_name + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'ThreatIntelligenceTaxii' + __props__.__dict__["password"] = password + if polling_frequency is None and not opts.urn: + raise TypeError("Missing required property 'polling_frequency'") + __props__.__dict__["polling_frequency"] = polling_frequency + 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__["taxii_lookback_period"] = taxii_lookback_period + __props__.__dict__["taxii_server"] = taxii_server + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["user_name"] = user_name + __props__.__dict__["workspace_id"] = workspace_id + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20200101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:TiTaxiiDataConnector"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:TiTaxiiDataConnector")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(TiTaxiiDataConnector, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:TiTaxiiDataConnector', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'TiTaxiiDataConnector': + """ + Get an existing TiTaxiiDataConnector 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = TiTaxiiDataConnectorArgs.__new__(TiTaxiiDataConnectorArgs) + + __props__.__dict__["collection_id"] = None + __props__.__dict__["data_types"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["friendly_name"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["password"] = None + __props__.__dict__["polling_frequency"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["taxii_lookback_period"] = None + __props__.__dict__["taxii_server"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + __props__.__dict__["user_name"] = None + __props__.__dict__["workspace_id"] = None + return TiTaxiiDataConnector(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="collectionId") + def collection_id(self) -> pulumi.Output[Optional[str]]: + """ + The collection id of the TAXII server. + """ + return pulumi.get(self, "collection_id") + + @property + @pulumi.getter(name="dataTypes") + def data_types(self) -> pulumi.Output['outputs.TiTaxiiDataConnectorDataTypesResponse']: + """ + The available data types for Threat Intelligence TAXII data connector. + """ + return pulumi.get(self, "data_types") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="friendlyName") + def friendly_name(self) -> pulumi.Output[Optional[str]]: + """ + The friendly name for the TAXII server. + """ + return pulumi.get(self, "friendly_name") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the data connector + Expected value is 'ThreatIntelligenceTaxii'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def password(self) -> pulumi.Output[Optional[str]]: + """ + The password for the TAXII server. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="pollingFrequency") + def polling_frequency(self) -> pulumi.Output[str]: + """ + The polling frequency for the TAXII server. + """ + return pulumi.get(self, "polling_frequency") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="taxiiLookbackPeriod") + def taxii_lookback_period(self) -> pulumi.Output[Optional[str]]: + """ + The lookback period for the TAXII server. + """ + return pulumi.get(self, "taxii_lookback_period") + + @property + @pulumi.getter(name="taxiiServer") + def taxii_server(self) -> pulumi.Output[Optional[str]]: + """ + The API root for the TAXII server. + """ + return pulumi.get(self, "taxii_server") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + The tenant id to connect to, and get the data from. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> pulumi.Output[Optional[str]]: + """ + The userName for the TAXII server. + """ + return pulumi.get(self, "user_name") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> pulumi.Output[Optional[str]]: + """ + The workspace id. + """ + return pulumi.get(self, "workspace_id") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ueba.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ueba.py new file mode 100644 index 000000000000..9f80f2a06b09 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/ueba.py @@ -0,0 +1,259 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['UebaArgs', 'Ueba'] + +@pulumi.input_type +class UebaArgs: + def __init__(__self__, *, + kind: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + data_sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]]] = None, + settings_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Ueba resource. + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'Ueba'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]] data_sources: The relevant data sources that enriched by ueba + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + pulumi.set(__self__, "kind", 'Ueba') + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if data_sources is not None: + pulumi.set(__self__, "data_sources", data_sources) + if settings_name is not None: + pulumi.set(__self__, "settings_name", settings_name) + + @property + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + """ + The kind of the setting + Expected value is 'Ueba'. + """ + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="dataSources") + def data_sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]]]: + """ + The relevant data sources that enriched by ueba + """ + return pulumi.get(self, "data_sources") + + @data_sources.setter + def data_sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]]]): + pulumi.set(self, "data_sources", value) + + @property + @pulumi.getter(name="settingsName") + def settings_name(self) -> Optional[pulumi.Input[str]]: + """ + The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + """ + return pulumi.get(self, "settings_name") + + @settings_name.setter + def settings_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "settings_name", value) + + +class Ueba(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + data_sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]] data_sources: The relevant data sources that enriched by ueba + :param pulumi.Input[str] kind: The kind of the setting + Expected value is 'Ueba'. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] settings_name: The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: UebaArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Settings with single toggle. + + :param str resource_name: The name of the resource. + :param UebaArgs 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(UebaArgs, 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, + data_sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'UebaDataSources']]]]] = None, + kind: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + settings_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = UebaArgs.__new__(UebaArgs) + + __props__.__dict__["data_sources"] = data_sources + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__.__dict__["kind"] = 'Ueba' + 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__["settings_name"] = settings_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Ueba"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Ueba")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Ueba, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Ueba', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Ueba': + """ + Get an existing Ueba 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = UebaArgs.__new__(UebaArgs) + + __props__.__dict__["data_sources"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["kind"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return Ueba(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dataSources") + def data_sources(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The relevant data sources that enriched by ueba + """ + return pulumi.get(self, "data_sources") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the setting + Expected value is 'Ueba'. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/watchlist.py new file mode 100644 index 000000000000..f2786a418c69 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/watchlist.py @@ -0,0 +1,789 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['WatchlistArgs', 'Watchlist'] + +@pulumi.input_type +class WatchlistArgs: + def __init__(__self__, *, + display_name: pulumi.Input[str], + items_search_key: pulumi.Input[str], + provider: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + content_type: Optional[pulumi.Input[str]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input['WatchlistUserInfoArgs']] = None, + default_duration: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + is_deleted: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + number_of_lines_to_skip: Optional[pulumi.Input[int]] = None, + raw_content: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[Union[str, 'SourceType']]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input['WatchlistUserInfoArgs']] = None, + upload_status: Optional[pulumi.Input[str]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + watchlist_id: Optional[pulumi.Input[str]] = None, + watchlist_type: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Watchlist resource. + :param pulumi.Input[str] display_name: The display name of the watchlist + :param pulumi.Input[str] items_search_key: The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + :param pulumi.Input[str] provider: The provider of the watchlist + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] content_type: The content type of the raw content. Example : text/csv or text/tsv + :param pulumi.Input[str] created: The time the watchlist was created + :param pulumi.Input['WatchlistUserInfoArgs'] created_by: Describes a user that created the watchlist + :param pulumi.Input[str] default_duration: The default duration of a watchlist (in ISO 8601 duration format) + :param pulumi.Input[str] description: A description of the watchlist + :param pulumi.Input[bool] is_deleted: A flag that indicates if the watchlist is deleted or not + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this watchlist + :param pulumi.Input[int] number_of_lines_to_skip: The number of lines in a csv/tsv content to skip before the header + :param pulumi.Input[str] raw_content: The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + :param pulumi.Input[str] source: The filename of the watchlist, called 'source' + :param pulumi.Input[Union[str, 'SourceType']] source_type: The sourceType of the watchlist + :param pulumi.Input[str] tenant_id: The tenantId where the watchlist belongs to + :param pulumi.Input[str] updated: The last time the watchlist was updated + :param pulumi.Input['WatchlistUserInfoArgs'] updated_by: Describes a user that updated the watchlist + :param pulumi.Input[str] upload_status: The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + :param pulumi.Input[str] watchlist_alias: The alias of the watchlist + :param pulumi.Input[str] watchlist_id: The id (a Guid) of the watchlist + :param pulumi.Input[str] watchlist_type: The type of the watchlist + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "items_search_key", items_search_key) + pulumi.set(__self__, "provider", provider) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if content_type is not None: + pulumi.set(__self__, "content_type", content_type) + if created is not None: + pulumi.set(__self__, "created", created) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if default_duration is not None: + pulumi.set(__self__, "default_duration", default_duration) + if description is not None: + pulumi.set(__self__, "description", description) + if is_deleted is not None: + pulumi.set(__self__, "is_deleted", is_deleted) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if number_of_lines_to_skip is not None: + pulumi.set(__self__, "number_of_lines_to_skip", number_of_lines_to_skip) + if raw_content is not None: + pulumi.set(__self__, "raw_content", raw_content) + if source is not None: + pulumi.set(__self__, "source", source) + if source_type is not None: + pulumi.set(__self__, "source_type", source_type) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + if updated is not None: + pulumi.set(__self__, "updated", updated) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if upload_status is not None: + pulumi.set(__self__, "upload_status", upload_status) + if watchlist_alias is not None: + pulumi.set(__self__, "watchlist_alias", watchlist_alias) + if watchlist_id is not None: + pulumi.set(__self__, "watchlist_id", watchlist_id) + if watchlist_type is not None: + pulumi.set(__self__, "watchlist_type", watchlist_type) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the watchlist + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="itemsSearchKey") + def items_search_key(self) -> pulumi.Input[str]: + """ + The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + """ + return pulumi.get(self, "items_search_key") + + @items_search_key.setter + def items_search_key(self, value: pulumi.Input[str]): + pulumi.set(self, "items_search_key", value) + + @property + @pulumi.getter + def provider(self) -> pulumi.Input[str]: + """ + The provider of the watchlist + """ + return pulumi.get(self, "provider") + + @provider.setter + def provider(self, value: pulumi.Input[str]): + pulumi.set(self, "provider", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> Optional[pulumi.Input[str]]: + """ + The content type of the raw content. Example : text/csv or text/tsv + """ + return pulumi.get(self, "content_type") + + @content_type.setter + def content_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_type", value) + + @property + @pulumi.getter + def created(self) -> Optional[pulumi.Input[str]]: + """ + The time the watchlist was created + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input['WatchlistUserInfoArgs']]: + """ + Describes a user that created the watchlist + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input['WatchlistUserInfoArgs']]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="defaultDuration") + def default_duration(self) -> Optional[pulumi.Input[str]]: + """ + The default duration of a watchlist (in ISO 8601 duration format) + """ + return pulumi.get(self, "default_duration") + + @default_duration.setter + def default_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_duration", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A description of the watchlist + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="isDeleted") + def is_deleted(self) -> Optional[pulumi.Input[bool]]: + """ + A flag that indicates if the watchlist is deleted or not + """ + return pulumi.get(self, "is_deleted") + + @is_deleted.setter + def is_deleted(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_deleted", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of labels relevant to this watchlist + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter(name="numberOfLinesToSkip") + def number_of_lines_to_skip(self) -> Optional[pulumi.Input[int]]: + """ + The number of lines in a csv/tsv content to skip before the header + """ + return pulumi.get(self, "number_of_lines_to_skip") + + @number_of_lines_to_skip.setter + def number_of_lines_to_skip(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "number_of_lines_to_skip", value) + + @property + @pulumi.getter(name="rawContent") + def raw_content(self) -> Optional[pulumi.Input[str]]: + """ + The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + """ + return pulumi.get(self, "raw_content") + + @raw_content.setter + def raw_content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "raw_content", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + The filename of the watchlist, called 'source' + """ + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter(name="sourceType") + def source_type(self) -> Optional[pulumi.Input[Union[str, 'SourceType']]]: + """ + The sourceType of the watchlist + """ + return pulumi.get(self, "source_type") + + @source_type.setter + def source_type(self, value: Optional[pulumi.Input[Union[str, 'SourceType']]]): + pulumi.set(self, "source_type", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The tenantId where the watchlist belongs to + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter + def updated(self) -> Optional[pulumi.Input[str]]: + """ + The last time the watchlist was updated + """ + return pulumi.get(self, "updated") + + @updated.setter + def updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input['WatchlistUserInfoArgs']]: + """ + Describes a user that updated the watchlist + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input['WatchlistUserInfoArgs']]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="uploadStatus") + def upload_status(self) -> Optional[pulumi.Input[str]]: + """ + The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + """ + return pulumi.get(self, "upload_status") + + @upload_status.setter + def upload_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "upload_status", value) + + @property + @pulumi.getter(name="watchlistAlias") + def watchlist_alias(self) -> Optional[pulumi.Input[str]]: + """ + The alias of the watchlist + """ + return pulumi.get(self, "watchlist_alias") + + @watchlist_alias.setter + def watchlist_alias(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "watchlist_alias", value) + + @property + @pulumi.getter(name="watchlistId") + def watchlist_id(self) -> Optional[pulumi.Input[str]]: + """ + The id (a Guid) of the watchlist + """ + return pulumi.get(self, "watchlist_id") + + @watchlist_id.setter + def watchlist_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "watchlist_id", value) + + @property + @pulumi.getter(name="watchlistType") + def watchlist_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of the watchlist + """ + return pulumi.get(self, "watchlist_type") + + @watchlist_type.setter + def watchlist_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "watchlist_type", value) + + +class Watchlist(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + content_type: Optional[pulumi.Input[str]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + default_duration: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_deleted: Optional[pulumi.Input[bool]] = None, + items_search_key: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + number_of_lines_to_skip: Optional[pulumi.Input[int]] = None, + provider: Optional[pulumi.Input[str]] = None, + raw_content: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[Union[str, 'SourceType']]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + upload_status: Optional[pulumi.Input[str]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + watchlist_id: Optional[pulumi.Input[str]] = None, + watchlist_type: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Watchlist in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] content_type: The content type of the raw content. Example : text/csv or text/tsv + :param pulumi.Input[str] created: The time the watchlist was created + :param pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']] created_by: Describes a user that created the watchlist + :param pulumi.Input[str] default_duration: The default duration of a watchlist (in ISO 8601 duration format) + :param pulumi.Input[str] description: A description of the watchlist + :param pulumi.Input[str] display_name: The display name of the watchlist + :param pulumi.Input[bool] is_deleted: A flag that indicates if the watchlist is deleted or not + :param pulumi.Input[str] items_search_key: The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: List of labels relevant to this watchlist + :param pulumi.Input[int] number_of_lines_to_skip: The number of lines in a csv/tsv content to skip before the header + :param pulumi.Input[str] provider: The provider of the watchlist + :param pulumi.Input[str] raw_content: The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] source: The filename of the watchlist, called 'source' + :param pulumi.Input[Union[str, 'SourceType']] source_type: The sourceType of the watchlist + :param pulumi.Input[str] tenant_id: The tenantId where the watchlist belongs to + :param pulumi.Input[str] updated: The last time the watchlist was updated + :param pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']] updated_by: Describes a user that updated the watchlist + :param pulumi.Input[str] upload_status: The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + :param pulumi.Input[str] watchlist_alias: The alias of the watchlist + :param pulumi.Input[str] watchlist_id: The id (a Guid) of the watchlist + :param pulumi.Input[str] watchlist_type: The type of the watchlist + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WatchlistArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Watchlist in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param WatchlistArgs 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(WatchlistArgs, 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, + content_type: Optional[pulumi.Input[str]] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + default_duration: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_deleted: Optional[pulumi.Input[bool]] = None, + items_search_key: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + number_of_lines_to_skip: Optional[pulumi.Input[int]] = None, + provider: Optional[pulumi.Input[str]] = None, + raw_content: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[Union[str, 'SourceType']]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + upload_status: Optional[pulumi.Input[str]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + watchlist_id: Optional[pulumi.Input[str]] = None, + watchlist_type: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WatchlistArgs.__new__(WatchlistArgs) + + __props__.__dict__["content_type"] = content_type + __props__.__dict__["created"] = created + __props__.__dict__["created_by"] = created_by + __props__.__dict__["default_duration"] = default_duration + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["is_deleted"] = is_deleted + if items_search_key is None and not opts.urn: + raise TypeError("Missing required property 'items_search_key'") + __props__.__dict__["items_search_key"] = items_search_key + __props__.__dict__["labels"] = labels + __props__.__dict__["number_of_lines_to_skip"] = number_of_lines_to_skip + if provider is None and not opts.urn: + raise TypeError("Missing required property 'provider'") + __props__.__dict__["provider"] = provider + __props__.__dict__["raw_content"] = raw_content + 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__["source"] = source + __props__.__dict__["source_type"] = source_type + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["updated"] = updated + __props__.__dict__["updated_by"] = updated_by + __props__.__dict__["upload_status"] = upload_status + __props__.__dict__["watchlist_alias"] = watchlist_alias + __props__.__dict__["watchlist_id"] = watchlist_id + __props__.__dict__["watchlist_type"] = watchlist_type + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Watchlist, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:Watchlist', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Watchlist': + """ + Get an existing Watchlist 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WatchlistArgs.__new__(WatchlistArgs) + + __props__.__dict__["content_type"] = None + __props__.__dict__["created"] = None + __props__.__dict__["created_by"] = None + __props__.__dict__["default_duration"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["is_deleted"] = None + __props__.__dict__["items_search_key"] = None + __props__.__dict__["labels"] = None + __props__.__dict__["name"] = None + __props__.__dict__["number_of_lines_to_skip"] = None + __props__.__dict__["provider"] = None + __props__.__dict__["raw_content"] = None + __props__.__dict__["source"] = None + __props__.__dict__["source_type"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + __props__.__dict__["updated"] = None + __props__.__dict__["updated_by"] = None + __props__.__dict__["upload_status"] = None + __props__.__dict__["watchlist_alias"] = None + __props__.__dict__["watchlist_id"] = None + __props__.__dict__["watchlist_type"] = None + return Watchlist(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> pulumi.Output[Optional[str]]: + """ + The content type of the raw content. Example : text/csv or text/tsv + """ + return pulumi.get(self, "content_type") + + @property + @pulumi.getter + def created(self) -> pulumi.Output[Optional[str]]: + """ + The time the watchlist was created + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output[Optional['outputs.WatchlistUserInfoResponse']]: + """ + Describes a user that created the watchlist + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="defaultDuration") + def default_duration(self) -> pulumi.Output[Optional[str]]: + """ + The default duration of a watchlist (in ISO 8601 duration format) + """ + return pulumi.get(self, "default_duration") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + A description of the watchlist + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the watchlist + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="isDeleted") + def is_deleted(self) -> pulumi.Output[Optional[bool]]: + """ + A flag that indicates if the watchlist is deleted or not + """ + return pulumi.get(self, "is_deleted") + + @property + @pulumi.getter(name="itemsSearchKey") + def items_search_key(self) -> pulumi.Output[str]: + """ + The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address. + """ + return pulumi.get(self, "items_search_key") + + @property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of labels relevant to this watchlist + """ + return pulumi.get(self, "labels") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="numberOfLinesToSkip") + def number_of_lines_to_skip(self) -> pulumi.Output[Optional[int]]: + """ + The number of lines in a csv/tsv content to skip before the header + """ + return pulumi.get(self, "number_of_lines_to_skip") + + @property + @pulumi.getter + def provider(self) -> pulumi.Output[str]: + """ + The provider of the watchlist + """ + return pulumi.get(self, "provider") + + @property + @pulumi.getter(name="rawContent") + def raw_content(self) -> pulumi.Output[Optional[str]]: + """ + The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint + """ + return pulumi.get(self, "raw_content") + + @property + @pulumi.getter + def source(self) -> pulumi.Output[Optional[str]]: + """ + The filename of the watchlist, called 'source' + """ + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="sourceType") + def source_type(self) -> pulumi.Output[Optional[str]]: + """ + The sourceType of the watchlist + """ + return pulumi.get(self, "source_type") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[Optional[str]]: + """ + The tenantId where the watchlist belongs to + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def updated(self) -> pulumi.Output[Optional[str]]: + """ + The last time the watchlist was updated + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> pulumi.Output[Optional['outputs.WatchlistUserInfoResponse']]: + """ + Describes a user that updated the watchlist + """ + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="uploadStatus") + def upload_status(self) -> pulumi.Output[Optional[str]]: + """ + The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted + """ + return pulumi.get(self, "upload_status") + + @property + @pulumi.getter(name="watchlistAlias") + def watchlist_alias(self) -> pulumi.Output[Optional[str]]: + """ + The alias of the watchlist + """ + return pulumi.get(self, "watchlist_alias") + + @property + @pulumi.getter(name="watchlistId") + def watchlist_id(self) -> pulumi.Output[Optional[str]]: + """ + The id (a Guid) of the watchlist + """ + return pulumi.get(self, "watchlist_id") + + @property + @pulumi.getter(name="watchlistType") + def watchlist_type(self) -> pulumi.Output[Optional[str]]: + """ + The type of the watchlist + """ + return pulumi.get(self, "watchlist_type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/watchlist_item.py new file mode 100644 index 000000000000..79618b4cd4d4 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/watchlist_item.py @@ -0,0 +1,488 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['WatchlistItemArgs', 'WatchlistItem'] + +@pulumi.input_type +class WatchlistItemArgs: + def __init__(__self__, *, + items_key_value: Any, + resource_group_name: pulumi.Input[str], + watchlist_alias: pulumi.Input[str], + workspace_name: pulumi.Input[str], + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input['WatchlistUserInfoArgs']] = None, + entity_mapping: Optional[Any] = None, + is_deleted: Optional[pulumi.Input[bool]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input['WatchlistUserInfoArgs']] = None, + watchlist_item_id: Optional[pulumi.Input[str]] = None, + watchlist_item_type: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a WatchlistItem resource. + :param Any items_key_value: key-value pairs for a watchlist item + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] watchlist_alias: Watchlist Alias + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] created: The time the watchlist item was created + :param pulumi.Input['WatchlistUserInfoArgs'] created_by: Describes a user that created the watchlist item + :param Any entity_mapping: key-value pairs for a watchlist item entity mapping + :param pulumi.Input[bool] is_deleted: A flag that indicates if the watchlist item is deleted or not + :param pulumi.Input[str] tenant_id: The tenantId to which the watchlist item belongs to + :param pulumi.Input[str] updated: The last time the watchlist item was updated + :param pulumi.Input['WatchlistUserInfoArgs'] updated_by: Describes a user that updated the watchlist item + :param pulumi.Input[str] watchlist_item_id: The id (a Guid) of the watchlist item + :param pulumi.Input[str] watchlist_item_type: The type of the watchlist item + """ + pulumi.set(__self__, "items_key_value", items_key_value) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "watchlist_alias", watchlist_alias) + pulumi.set(__self__, "workspace_name", workspace_name) + if created is not None: + pulumi.set(__self__, "created", created) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if entity_mapping is not None: + pulumi.set(__self__, "entity_mapping", entity_mapping) + if is_deleted is not None: + pulumi.set(__self__, "is_deleted", is_deleted) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + if updated is not None: + pulumi.set(__self__, "updated", updated) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if watchlist_item_id is not None: + pulumi.set(__self__, "watchlist_item_id", watchlist_item_id) + if watchlist_item_type is not None: + pulumi.set(__self__, "watchlist_item_type", watchlist_item_type) + + @property + @pulumi.getter(name="itemsKeyValue") + def items_key_value(self) -> Any: + """ + key-value pairs for a watchlist item + """ + return pulumi.get(self, "items_key_value") + + @items_key_value.setter + def items_key_value(self, value: Any): + pulumi.set(self, "items_key_value", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="watchlistAlias") + def watchlist_alias(self) -> pulumi.Input[str]: + """ + Watchlist Alias + """ + return pulumi.get(self, "watchlist_alias") + + @watchlist_alias.setter + def watchlist_alias(self, value: pulumi.Input[str]): + pulumi.set(self, "watchlist_alias", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def created(self) -> Optional[pulumi.Input[str]]: + """ + The time the watchlist item was created + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input['WatchlistUserInfoArgs']]: + """ + Describes a user that created the watchlist item + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input['WatchlistUserInfoArgs']]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="entityMapping") + def entity_mapping(self) -> Optional[Any]: + """ + key-value pairs for a watchlist item entity mapping + """ + return pulumi.get(self, "entity_mapping") + + @entity_mapping.setter + def entity_mapping(self, value: Optional[Any]): + pulumi.set(self, "entity_mapping", value) + + @property + @pulumi.getter(name="isDeleted") + def is_deleted(self) -> Optional[pulumi.Input[bool]]: + """ + A flag that indicates if the watchlist item is deleted or not + """ + return pulumi.get(self, "is_deleted") + + @is_deleted.setter + def is_deleted(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_deleted", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The tenantId to which the watchlist item belongs to + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter + def updated(self) -> Optional[pulumi.Input[str]]: + """ + The last time the watchlist item was updated + """ + return pulumi.get(self, "updated") + + @updated.setter + def updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input['WatchlistUserInfoArgs']]: + """ + Describes a user that updated the watchlist item + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input['WatchlistUserInfoArgs']]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="watchlistItemId") + def watchlist_item_id(self) -> Optional[pulumi.Input[str]]: + """ + The id (a Guid) of the watchlist item + """ + return pulumi.get(self, "watchlist_item_id") + + @watchlist_item_id.setter + def watchlist_item_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "watchlist_item_id", value) + + @property + @pulumi.getter(name="watchlistItemType") + def watchlist_item_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of the watchlist item + """ + return pulumi.get(self, "watchlist_item_type") + + @watchlist_item_type.setter + def watchlist_item_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "watchlist_item_type", value) + + +class WatchlistItem(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + entity_mapping: Optional[Any] = None, + is_deleted: Optional[pulumi.Input[bool]] = None, + items_key_value: Optional[Any] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + watchlist_item_id: Optional[pulumi.Input[str]] = None, + watchlist_item_type: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Represents a Watchlist item in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] created: The time the watchlist item was created + :param pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']] created_by: Describes a user that created the watchlist item + :param Any entity_mapping: key-value pairs for a watchlist item entity mapping + :param pulumi.Input[bool] is_deleted: A flag that indicates if the watchlist item is deleted or not + :param Any items_key_value: key-value pairs for a watchlist item + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] tenant_id: The tenantId to which the watchlist item belongs to + :param pulumi.Input[str] updated: The last time the watchlist item was updated + :param pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']] updated_by: Describes a user that updated the watchlist item + :param pulumi.Input[str] watchlist_alias: Watchlist Alias + :param pulumi.Input[str] watchlist_item_id: The id (a Guid) of the watchlist item + :param pulumi.Input[str] watchlist_item_type: The type of the watchlist item + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WatchlistItemArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents a Watchlist item in Azure Security Insights. + + :param str resource_name: The name of the resource. + :param WatchlistItemArgs 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(WatchlistItemArgs, 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, + created: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + entity_mapping: Optional[Any] = None, + is_deleted: Optional[pulumi.Input[bool]] = None, + items_key_value: Optional[Any] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[pulumi.InputType['WatchlistUserInfoArgs']]] = None, + watchlist_alias: Optional[pulumi.Input[str]] = None, + watchlist_item_id: Optional[pulumi.Input[str]] = None, + watchlist_item_type: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WatchlistItemArgs.__new__(WatchlistItemArgs) + + __props__.__dict__["created"] = created + __props__.__dict__["created_by"] = created_by + __props__.__dict__["entity_mapping"] = entity_mapping + __props__.__dict__["is_deleted"] = is_deleted + if items_key_value is None and not opts.urn: + raise TypeError("Missing required property 'items_key_value'") + __props__.__dict__["items_key_value"] = items_key_value + 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__["tenant_id"] = tenant_id + __props__.__dict__["updated"] = updated + __props__.__dict__["updated_by"] = updated_by + if watchlist_alias is None and not opts.urn: + raise TypeError("Missing required property 'watchlist_alias'") + __props__.__dict__["watchlist_alias"] = watchlist_alias + __props__.__dict__["watchlist_item_id"] = watchlist_item_id + __props__.__dict__["watchlist_item_type"] = watchlist_item_type + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(WatchlistItem, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:WatchlistItem', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'WatchlistItem': + """ + Get an existing WatchlistItem 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WatchlistItemArgs.__new__(WatchlistItemArgs) + + __props__.__dict__["created"] = None + __props__.__dict__["created_by"] = None + __props__.__dict__["entity_mapping"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["is_deleted"] = None + __props__.__dict__["items_key_value"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tenant_id"] = None + __props__.__dict__["type"] = None + __props__.__dict__["updated"] = None + __props__.__dict__["updated_by"] = None + __props__.__dict__["watchlist_item_id"] = None + __props__.__dict__["watchlist_item_type"] = None + return WatchlistItem(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def created(self) -> pulumi.Output[Optional[str]]: + """ + The time the watchlist item was created + """ + return pulumi.get(self, "created") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output[Optional['outputs.WatchlistUserInfoResponse']]: + """ + Describes a user that created the watchlist item + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="entityMapping") + def entity_mapping(self) -> pulumi.Output[Optional[Any]]: + """ + key-value pairs for a watchlist item entity mapping + """ + return pulumi.get(self, "entity_mapping") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + Etag of the azure resource + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="isDeleted") + def is_deleted(self) -> pulumi.Output[Optional[bool]]: + """ + A flag that indicates if the watchlist item is deleted or not + """ + return pulumi.get(self, "is_deleted") + + @property + @pulumi.getter(name="itemsKeyValue") + def items_key_value(self) -> pulumi.Output[Any]: + """ + key-value pairs for a watchlist item + """ + return pulumi.get(self, "items_key_value") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[Optional[str]]: + """ + The tenantId to which the watchlist item belongs to + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def updated(self) -> pulumi.Output[Optional[str]]: + """ + The last time the watchlist item was updated + """ + return pulumi.get(self, "updated") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> pulumi.Output[Optional['outputs.WatchlistUserInfoResponse']]: + """ + Describes a user that updated the watchlist item + """ + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="watchlistItemId") + def watchlist_item_id(self) -> pulumi.Output[Optional[str]]: + """ + The id (a Guid) of the watchlist item + """ + return pulumi.get(self, "watchlist_item_id") + + @property + @pulumi.getter(name="watchlistItemType") + def watchlist_item_type(self) -> pulumi.Output[Optional[str]]: + """ + The type of the watchlist item + """ + return pulumi.get(self, "watchlist_item_type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_assignment.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_assignment.py new file mode 100644 index 000000000000..b2653fc36dd7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_assignment.py @@ -0,0 +1,276 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['WorkspaceManagerAssignmentArgs', 'WorkspaceManagerAssignment'] + +@pulumi.input_type +class WorkspaceManagerAssignmentArgs: + def __init__(__self__, *, + items: pulumi.Input[Sequence[pulumi.Input['AssignmentItemArgs']]], + resource_group_name: pulumi.Input[str], + target_resource_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + workspace_manager_assignment_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a WorkspaceManagerAssignment resource. + :param pulumi.Input[Sequence[pulumi.Input['AssignmentItemArgs']]] items: List of resources included in this workspace manager assignment + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] target_resource_name: The resource name of the workspace manager group targeted by the workspace manager assignment + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] workspace_manager_assignment_name: The name of the workspace manager assignment + """ + pulumi.set(__self__, "items", items) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "target_resource_name", target_resource_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if workspace_manager_assignment_name is not None: + pulumi.set(__self__, "workspace_manager_assignment_name", workspace_manager_assignment_name) + + @property + @pulumi.getter + def items(self) -> pulumi.Input[Sequence[pulumi.Input['AssignmentItemArgs']]]: + """ + List of resources included in this workspace manager assignment + """ + return pulumi.get(self, "items") + + @items.setter + def items(self, value: pulumi.Input[Sequence[pulumi.Input['AssignmentItemArgs']]]): + pulumi.set(self, "items", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="targetResourceName") + def target_resource_name(self) -> pulumi.Input[str]: + """ + The resource name of the workspace manager group targeted by the workspace manager assignment + """ + return pulumi.get(self, "target_resource_name") + + @target_resource_name.setter + def target_resource_name(self, value: pulumi.Input[str]): + pulumi.set(self, "target_resource_name", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="workspaceManagerAssignmentName") + def workspace_manager_assignment_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the workspace manager assignment + """ + return pulumi.get(self, "workspace_manager_assignment_name") + + @workspace_manager_assignment_name.setter + def workspace_manager_assignment_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_manager_assignment_name", value) + + +class WorkspaceManagerAssignment(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AssignmentItemArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + target_resource_name: Optional[pulumi.Input[str]] = None, + workspace_manager_assignment_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The workspace manager assignment + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AssignmentItemArgs']]]] items: List of resources included in this workspace manager assignment + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] target_resource_name: The resource name of the workspace manager group targeted by the workspace manager assignment + :param pulumi.Input[str] workspace_manager_assignment_name: The name of the workspace manager assignment + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WorkspaceManagerAssignmentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The workspace manager assignment + + :param str resource_name: The name of the resource. + :param WorkspaceManagerAssignmentArgs 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(WorkspaceManagerAssignmentArgs, 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, + items: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AssignmentItemArgs']]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + target_resource_name: Optional[pulumi.Input[str]] = None, + workspace_manager_assignment_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WorkspaceManagerAssignmentArgs.__new__(WorkspaceManagerAssignmentArgs) + + if items is None and not opts.urn: + raise TypeError("Missing required property 'items'") + __props__.__dict__["items"] = items + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if target_resource_name is None and not opts.urn: + raise TypeError("Missing required property 'target_resource_name'") + __props__.__dict__["target_resource_name"] = target_resource_name + __props__.__dict__["workspace_manager_assignment_name"] = workspace_manager_assignment_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["last_job_end_time"] = None + __props__.__dict__["last_job_provisioning_state"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(WorkspaceManagerAssignment, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'WorkspaceManagerAssignment': + """ + Get an existing WorkspaceManagerAssignment 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WorkspaceManagerAssignmentArgs.__new__(WorkspaceManagerAssignmentArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["items"] = None + __props__.__dict__["last_job_end_time"] = None + __props__.__dict__["last_job_provisioning_state"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["target_resource_name"] = None + __props__.__dict__["type"] = None + return WorkspaceManagerAssignment(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def items(self) -> pulumi.Output[Sequence['outputs.AssignmentItemResponse']]: + """ + List of resources included in this workspace manager assignment + """ + return pulumi.get(self, "items") + + @property + @pulumi.getter(name="lastJobEndTime") + def last_job_end_time(self) -> pulumi.Output[str]: + """ + The time the last job associated to this assignment ended at + """ + return pulumi.get(self, "last_job_end_time") + + @property + @pulumi.getter(name="lastJobProvisioningState") + def last_job_provisioning_state(self) -> pulumi.Output[str]: + """ + State of the last job associated to this assignment + """ + return pulumi.get(self, "last_job_provisioning_state") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="targetResourceName") + def target_resource_name(self) -> pulumi.Output[str]: + """ + The resource name of the workspace manager group targeted by the workspace manager assignment + """ + return pulumi.get(self, "target_resource_name") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_configuration.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_configuration.py new file mode 100644 index 000000000000..8ccccc5330cf --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_configuration.py @@ -0,0 +1,226 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = ['WorkspaceManagerConfigurationArgs', 'WorkspaceManagerConfiguration'] + +@pulumi.input_type +class WorkspaceManagerConfigurationArgs: + def __init__(__self__, *, + mode: pulumi.Input[Union[str, 'Mode']], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + workspace_manager_configuration_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a WorkspaceManagerConfiguration resource. + :param pulumi.Input[Union[str, 'Mode']] mode: The current mode of the workspace manager configuration + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] workspace_manager_configuration_name: The name of the workspace manager configuration + """ + pulumi.set(__self__, "mode", mode) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if workspace_manager_configuration_name is not None: + pulumi.set(__self__, "workspace_manager_configuration_name", workspace_manager_configuration_name) + + @property + @pulumi.getter + def mode(self) -> pulumi.Input[Union[str, 'Mode']]: + """ + The current mode of the workspace manager configuration + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: pulumi.Input[Union[str, 'Mode']]): + pulumi.set(self, "mode", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="workspaceManagerConfigurationName") + def workspace_manager_configuration_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the workspace manager configuration + """ + return pulumi.get(self, "workspace_manager_configuration_name") + + @workspace_manager_configuration_name.setter + def workspace_manager_configuration_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_manager_configuration_name", value) + + +class WorkspaceManagerConfiguration(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + mode: Optional[pulumi.Input[Union[str, 'Mode']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_configuration_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The workspace manager configuration + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'Mode']] mode: The current mode of the workspace manager configuration + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_manager_configuration_name: The name of the workspace manager configuration + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WorkspaceManagerConfigurationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The workspace manager configuration + + :param str resource_name: The name of the resource. + :param WorkspaceManagerConfigurationArgs 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(WorkspaceManagerConfigurationArgs, 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, + mode: Optional[pulumi.Input[Union[str, 'Mode']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_configuration_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WorkspaceManagerConfigurationArgs.__new__(WorkspaceManagerConfigurationArgs) + + if mode is None and not opts.urn: + raise TypeError("Missing required property 'mode'") + __props__.__dict__["mode"] = mode + 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__["workspace_manager_configuration_name"] = workspace_manager_configuration_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(WorkspaceManagerConfiguration, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'WorkspaceManagerConfiguration': + """ + Get an existing WorkspaceManagerConfiguration 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WorkspaceManagerConfigurationArgs.__new__(WorkspaceManagerConfigurationArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["mode"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return WorkspaceManagerConfiguration(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def mode(self) -> pulumi.Output[str]: + """ + The current mode of the workspace manager configuration + """ + return pulumi.get(self, "mode") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_group.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_group.py new file mode 100644 index 000000000000..f386dcb5a88d --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_group.py @@ -0,0 +1,284 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['WorkspaceManagerGroupArgs', 'WorkspaceManagerGroup'] + +@pulumi.input_type +class WorkspaceManagerGroupArgs: + def __init__(__self__, *, + display_name: pulumi.Input[str], + member_resource_names: pulumi.Input[Sequence[pulumi.Input[str]]], + resource_group_name: pulumi.Input[str], + workspace_name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + workspace_manager_group_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a WorkspaceManagerGroup resource. + :param pulumi.Input[str] display_name: The display name of the workspace manager group + :param pulumi.Input[Sequence[pulumi.Input[str]]] member_resource_names: The names of the workspace manager members participating in this group. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] description: The description of the workspace manager group + :param pulumi.Input[str] workspace_manager_group_name: The name of the workspace manager group + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "member_resource_names", member_resource_names) + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "workspace_name", workspace_name) + if description is not None: + pulumi.set(__self__, "description", description) + if workspace_manager_group_name is not None: + pulumi.set(__self__, "workspace_manager_group_name", workspace_manager_group_name) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + The display name of the workspace manager group + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="memberResourceNames") + def member_resource_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + The names of the workspace manager members participating in this group. + """ + return pulumi.get(self, "member_resource_names") + + @member_resource_names.setter + def member_resource_names(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "member_resource_names", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the workspace manager group + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="workspaceManagerGroupName") + def workspace_manager_group_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the workspace manager group + """ + return pulumi.get(self, "workspace_manager_group_name") + + @workspace_manager_group_name.setter + def workspace_manager_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_manager_group_name", value) + + +class WorkspaceManagerGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + member_resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The workspace manager group + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: The description of the workspace manager group + :param pulumi.Input[str] display_name: The display name of the workspace manager group + :param pulumi.Input[Sequence[pulumi.Input[str]]] member_resource_names: The names of the workspace manager members participating in this group. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] workspace_manager_group_name: The name of the workspace manager group + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WorkspaceManagerGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The workspace manager group + + :param str resource_name: The name of the resource. + :param WorkspaceManagerGroupArgs 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(WorkspaceManagerGroupArgs, 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, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + member_resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + workspace_manager_group_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WorkspaceManagerGroupArgs.__new__(WorkspaceManagerGroupArgs) + + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if member_resource_names is None and not opts.urn: + raise TypeError("Missing required property 'member_resource_names'") + __props__.__dict__["member_resource_names"] = member_resource_names + 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__["workspace_manager_group_name"] = workspace_manager_group_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(WorkspaceManagerGroup, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'WorkspaceManagerGroup': + """ + Get an existing WorkspaceManagerGroup 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WorkspaceManagerGroupArgs.__new__(WorkspaceManagerGroupArgs) + + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["etag"] = None + __props__.__dict__["member_resource_names"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return WorkspaceManagerGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the workspace manager group + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the workspace manager group + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="memberResourceNames") + def member_resource_names(self) -> pulumi.Output[Sequence[str]]: + """ + The names of the workspace manager members participating in this group. + """ + return pulumi.get(self, "member_resource_names") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_member.py new file mode 100644 index 000000000000..b44e001b5d9b --- /dev/null +++ b/sdk/python/pulumi_azure_native/securityinsights/v20230901preview/workspace_manager_member.py @@ -0,0 +1,255 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = ['WorkspaceManagerMemberArgs', 'WorkspaceManagerMember'] + +@pulumi.input_type +class WorkspaceManagerMemberArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + target_workspace_resource_id: pulumi.Input[str], + target_workspace_tenant_id: pulumi.Input[str], + workspace_name: pulumi.Input[str], + workspace_manager_member_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a WorkspaceManagerMember resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] workspace_name: The name of the workspace. + :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) + pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) + pulumi.set(__self__, "workspace_name", workspace_name) + if workspace_manager_member_name is not None: + pulumi.set(__self__, "workspace_manager_member_name", workspace_manager_member_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Input[str]: + """ + Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + """ + return pulumi.get(self, "target_workspace_resource_id") + + @target_workspace_resource_id.setter + def target_workspace_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_workspace_resource_id", value) + + @property + @pulumi.getter(name="targetWorkspaceTenantId") + def target_workspace_tenant_id(self) -> pulumi.Input[str]: + """ + Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + """ + return pulumi.get(self, "target_workspace_tenant_id") + + @target_workspace_tenant_id.setter + def target_workspace_tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_workspace_tenant_id", value) + + @property + @pulumi.getter(name="workspaceName") + def workspace_name(self) -> pulumi.Input[str]: + """ + The name of the workspace. + """ + return pulumi.get(self, "workspace_name") + + @workspace_name.setter + def workspace_name(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_name", value) + + @property + @pulumi.getter(name="workspaceManagerMemberName") + def workspace_manager_member_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the workspace manager member + """ + return pulumi.get(self, "workspace_manager_member_name") + + @workspace_manager_member_name.setter + def workspace_manager_member_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_manager_member_name", value) + + +class WorkspaceManagerMember(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, + target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, + workspace_manager_member_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The workspace manager member + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member + :param pulumi.Input[str] workspace_name: The name of the workspace. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WorkspaceManagerMemberArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The workspace manager member + + :param str resource_name: The name of the resource. + :param WorkspaceManagerMemberArgs 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(WorkspaceManagerMemberArgs, 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, + resource_group_name: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, + target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, + workspace_manager_member_name: Optional[pulumi.Input[str]] = None, + workspace_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WorkspaceManagerMemberArgs.__new__(WorkspaceManagerMemberArgs) + + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if target_workspace_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'target_workspace_resource_id'") + __props__.__dict__["target_workspace_resource_id"] = target_workspace_resource_id + if target_workspace_tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'target_workspace_tenant_id'") + __props__.__dict__["target_workspace_tenant_id"] = target_workspace_tenant_id + __props__.__dict__["workspace_manager_member_name"] = workspace_manager_member_name + if workspace_name is None and not opts.urn: + raise TypeError("Missing required property 'workspace_name'") + __props__.__dict__["workspace_name"] = workspace_name + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(WorkspaceManagerMember, __self__).__init__( + 'azure-native:securityinsights/v20230901preview:WorkspaceManagerMember', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'WorkspaceManagerMember': + """ + Get an existing WorkspaceManagerMember 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = WorkspaceManagerMemberArgs.__new__(WorkspaceManagerMemberArgs) + + __props__.__dict__["etag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["target_workspace_resource_id"] = None + __props__.__dict__["target_workspace_tenant_id"] = None + __props__.__dict__["type"] = None + return WorkspaceManagerMember(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[str]: + """ + Resource Etag. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Output[str]: + """ + Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + """ + return pulumi.get(self, "target_workspace_resource_id") + + @property + @pulumi.getter(name="targetWorkspaceTenantId") + def target_workspace_tenant_id(self) -> pulumi.Output[str]: + """ + Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager + """ + return pulumi.get(self, "target_workspace_tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/securityinsights/watchlist.py b/sdk/python/pulumi_azure_native/securityinsights/watchlist.py index 6a125279e193..bd0431189145 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/watchlist.py +++ b/sdk/python/pulumi_azure_native/securityinsights/watchlist.py @@ -525,7 +525,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:Watchlist"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:Watchlist")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Watchlist, __self__).__init__( 'azure-native:securityinsights:Watchlist', diff --git a/sdk/python/pulumi_azure_native/securityinsights/watchlist_item.py b/sdk/python/pulumi_azure_native/securityinsights/watchlist_item.py index 97b1fb8d8a0c..70e7f7c9d7a7 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/watchlist_item.py +++ b/sdk/python/pulumi_azure_native/securityinsights/watchlist_item.py @@ -336,7 +336,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20190101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210401:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20210901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20211001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20220901preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221001preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221101preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20221201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230201preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230301preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WatchlistItem"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WatchlistItem")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WatchlistItem, __self__).__init__( 'azure-native:securityinsights:WatchlistItem', diff --git a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_assignment.py b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_assignment.py index 313999fb17b9..5bba66ecd46c 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_assignment.py +++ b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_assignment.py @@ -178,7 +178,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerAssignment"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerAssignment")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerAssignment, __self__).__init__( 'azure-native:securityinsights:WorkspaceManagerAssignment', diff --git a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_configuration.py b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_configuration.py index 270cfc58f841..0ac57f2f7e50 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_configuration.py +++ b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_configuration.py @@ -155,7 +155,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerConfiguration"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerConfiguration")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerConfiguration, __self__).__init__( 'azure-native:securityinsights:WorkspaceManagerConfiguration', diff --git a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_group.py b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_group.py index 23f3e47b5c37..65868f61aea4 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_group.py +++ b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_group.py @@ -195,7 +195,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerGroup"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerGroup, __self__).__init__( 'azure-native:securityinsights:WorkspaceManagerGroup', diff --git a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_member.py b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_member.py index a1905f2dde7f..2e02c3c16316 100644 --- a/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_member.py +++ b/sdk/python/pulumi_azure_native/securityinsights/workspace_manager_member.py @@ -16,20 +16,20 @@ class WorkspaceManagerMemberArgs: def __init__(__self__, *, resource_group_name: pulumi.Input[str], - target_workspace_id: pulumi.Input[str], + target_workspace_resource_id: pulumi.Input[str], target_workspace_tenant_id: pulumi.Input[str], workspace_name: pulumi.Input[str], workspace_manager_member_name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a WorkspaceManagerMember resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_name: The name of the workspace. :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member """ pulumi.set(__self__, "resource_group_name", resource_group_name) - pulumi.set(__self__, "target_workspace_id", target_workspace_id) + pulumi.set(__self__, "target_workspace_resource_id", target_workspace_resource_id) pulumi.set(__self__, "target_workspace_tenant_id", target_workspace_tenant_id) pulumi.set(__self__, "workspace_name", workspace_name) if workspace_manager_member_name is not None: @@ -48,16 +48,16 @@ def resource_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "resource_group_name", value) @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Input[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") - @target_workspace_id.setter - def target_workspace_id(self, value: pulumi.Input[str]): - pulumi.set(self, "target_workspace_id", value) + @target_workspace_resource_id.setter + def target_workspace_resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_workspace_resource_id", value) @property @pulumi.getter(name="targetWorkspaceTenantId") @@ -102,7 +102,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -114,7 +114,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] target_workspace_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager + :param pulumi.Input[str] target_workspace_resource_id: Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] target_workspace_tenant_id: Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager :param pulumi.Input[str] workspace_manager_member_name: The name of the workspace manager member :param pulumi.Input[str] workspace_name: The name of the workspace. @@ -145,7 +145,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, resource_group_name: Optional[pulumi.Input[str]] = None, - target_workspace_id: Optional[pulumi.Input[str]] = None, + target_workspace_resource_id: Optional[pulumi.Input[str]] = None, target_workspace_tenant_id: Optional[pulumi.Input[str]] = None, workspace_manager_member_name: Optional[pulumi.Input[str]] = None, workspace_name: Optional[pulumi.Input[str]] = None, @@ -161,9 +161,9 @@ 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 - if target_workspace_id is None and not opts.urn: - raise TypeError("Missing required property 'target_workspace_id'") - __props__.__dict__["target_workspace_id"] = target_workspace_id + if target_workspace_resource_id is None and not opts.urn: + raise TypeError("Missing required property 'target_workspace_resource_id'") + __props__.__dict__["target_workspace_resource_id"] = target_workspace_resource_id if target_workspace_tenant_id is None and not opts.urn: raise TypeError("Missing required property 'target_workspace_tenant_id'") __props__.__dict__["target_workspace_tenant_id"] = target_workspace_tenant_id @@ -175,7 +175,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:securityinsights/v20230401preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230501preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230601preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230701preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230801preview:WorkspaceManagerMember"), pulumi.Alias(type_="azure-native:securityinsights/v20230901preview:WorkspaceManagerMember")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(WorkspaceManagerMember, __self__).__init__( 'azure-native:securityinsights:WorkspaceManagerMember', @@ -202,7 +202,7 @@ def get(resource_name: str, __props__.__dict__["etag"] = None __props__.__dict__["name"] = None __props__.__dict__["system_data"] = None - __props__.__dict__["target_workspace_id"] = None + __props__.__dict__["target_workspace_resource_id"] = None __props__.__dict__["target_workspace_tenant_id"] = None __props__.__dict__["type"] = None return WorkspaceManagerMember(resource_name, opts=opts, __props__=__props__) @@ -232,12 +232,12 @@ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: return pulumi.get(self, "system_data") @property - @pulumi.getter(name="targetWorkspaceId") - def target_workspace_id(self) -> pulumi.Output[str]: + @pulumi.getter(name="targetWorkspaceResourceId") + def target_workspace_resource_id(self) -> pulumi.Output[str]: """ Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager """ - return pulumi.get(self, "target_workspace_id") + return pulumi.get(self, "target_workspace_resource_id") @property @pulumi.getter(name="targetWorkspaceTenantId") diff --git a/sdk/python/pulumi_azure_native/storageactions/__init__.py b/sdk/python/pulumi_azure_native/storageactions/__init__.py new file mode 100644 index 000000000000..1cb76dd8c36d --- /dev/null +++ b/sdk/python/pulumi_azure_native/storageactions/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from .. import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .get_storage_task import * +from .storage_task import * +from ._inputs import * +from . import outputs + +# Make subpackages available: +if typing.TYPE_CHECKING: + import pulumi_azure_native.storageactions.v20230101 as __v20230101 + v20230101 = __v20230101 +else: + v20230101 = _utilities.lazy_import('pulumi_azure_native.storageactions.v20230101') + diff --git a/sdk/python/pulumi_azure_native/storagetasks/_enums.py b/sdk/python/pulumi_azure_native/storageactions/_enums.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/_enums.py rename to sdk/python/pulumi_azure_native/storageactions/_enums.py diff --git a/sdk/python/pulumi_azure_native/storagetasks/_inputs.py b/sdk/python/pulumi_azure_native/storageactions/_inputs.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/_inputs.py rename to sdk/python/pulumi_azure_native/storageactions/_inputs.py diff --git a/sdk/python/pulumi_azure_native/storageactions/get_storage_task.py b/sdk/python/pulumi_azure_native/storageactions/get_storage_task.py new file mode 100644 index 000000000000..430253b803da --- /dev/null +++ b/sdk/python/pulumi_azure_native/storageactions/get_storage_task.py @@ -0,0 +1,237 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetStorageTaskResult', + 'AwaitableGetStorageTaskResult', + 'get_storage_task', + 'get_storage_task_output', +] + +@pulumi.output_type +class GetStorageTaskResult: + """ + Represents Storage Task. + """ + def __init__(__self__, action=None, creation_time_in_utc=None, description=None, enabled=None, id=None, identity=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, task_version=None, type=None): + if action and not isinstance(action, dict): + raise TypeError("Expected argument 'action' to be a dict") + pulumi.set(__self__, "action", action) + if creation_time_in_utc and not isinstance(creation_time_in_utc, str): + raise TypeError("Expected argument 'creation_time_in_utc' to be a str") + pulumi.set(__self__, "creation_time_in_utc", creation_time_in_utc) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if task_version and not isinstance(task_version, float): + raise TypeError("Expected argument 'task_version' to be a float") + pulumi.set(__self__, "task_version", task_version) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def action(self) -> 'outputs.StorageTaskActionResponse': + """ + The storage task action that is executed + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="creationTimeInUtc") + def creation_time_in_utc(self) -> str: + """ + The creation date and time of the storage task in UTC. + """ + return pulumi.get(self, "creation_time_in_utc") + + @property + @pulumi.getter + def description(self) -> str: + """ + Text that describes the purpose of the storage task + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Storage Task is enabled when set to true and disabled when set to false + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + The managed service identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Represents the provisioning state of the storage task. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="taskVersion") + def task_version(self) -> float: + """ + Storage task version. + """ + return pulumi.get(self, "task_version") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetStorageTaskResult(GetStorageTaskResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetStorageTaskResult( + action=self.action, + creation_time_in_utc=self.creation_time_in_utc, + description=self.description, + enabled=self.enabled, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + task_version=self.task_version, + type=self.type) + + +def get_storage_task(resource_group_name: Optional[str] = None, + storage_task_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageTaskResult: + """ + Get the storage task properties + Azure REST API version: 2023-01-01. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['storageTaskName'] = storage_task_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:storageactions:getStorageTask', __args__, opts=opts, typ=GetStorageTaskResult).value + + return AwaitableGetStorageTaskResult( + action=pulumi.get(__ret__, 'action'), + creation_time_in_utc=pulumi.get(__ret__, 'creation_time_in_utc'), + description=pulumi.get(__ret__, 'description'), + enabled=pulumi.get(__ret__, 'enabled'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + task_version=pulumi.get(__ret__, 'task_version'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_storage_task) +def get_storage_task_output(resource_group_name: Optional[pulumi.Input[str]] = None, + storage_task_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageTaskResult]: + """ + Get the storage task properties + Azure REST API version: 2023-01-01. + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + """ + ... diff --git a/sdk/python/pulumi_azure_native/storagetasks/outputs.py b/sdk/python/pulumi_azure_native/storageactions/outputs.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/outputs.py rename to sdk/python/pulumi_azure_native/storageactions/outputs.py diff --git a/sdk/python/pulumi_azure_native/storageactions/storage_task.py b/sdk/python/pulumi_azure_native/storageactions/storage_task.py new file mode 100644 index 000000000000..cb21d8d85c88 --- /dev/null +++ b/sdk/python/pulumi_azure_native/storageactions/storage_task.py @@ -0,0 +1,375 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['StorageTaskArgs', 'StorageTask'] + +@pulumi.input_type +class StorageTaskArgs: + def __init__(__self__, *, + action: pulumi.Input['StorageTaskActionArgs'], + description: pulumi.Input[str], + enabled: pulumi.Input[bool], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + storage_task_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a StorageTask resource. + :param pulumi.Input['StorageTaskActionArgs'] action: The storage task action that is executed + :param pulumi.Input[str] description: Text that describes the purpose of the storage task + :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: The managed service identity of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "enabled", enabled) + 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 storage_task_name is not None: + pulumi.set(__self__, "storage_task_name", storage_task_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def action(self) -> pulumi.Input['StorageTaskActionArgs']: + """ + The storage task action that is executed + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input['StorageTaskActionArgs']): + pulumi.set(self, "action", value) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + Text that describes the purpose of the storage task + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Storage Task is enabled when set to true and disabled when set to false + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + The managed service identity of the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="storageTaskName") + def storage_task_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + """ + return pulumi.get(self, "storage_task_name") + + @storage_task_name.setter + def storage_task_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_task_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 StorageTask(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_task_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Represents Storage Task. + Azure REST API version: 2023-01-01. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['StorageTaskActionArgs']] action: The storage task action that is executed + :param pulumi.Input[str] description: Text that describes the purpose of the storage task + :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: The managed service identity of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: StorageTaskArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Storage Task. + Azure REST API version: 2023-01-01. + + :param str resource_name: The name of the resource. + :param StorageTaskArgs 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(StorageTaskArgs, 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, + action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_task_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): + 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__ = StorageTaskArgs.__new__(StorageTaskArgs) + + if action is None and not opts.urn: + raise TypeError("Missing required property 'action'") + __props__.__dict__["action"] = action + if description is None and not opts.urn: + raise TypeError("Missing required property 'description'") + __props__.__dict__["description"] = description + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + 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__["storage_task_name"] = storage_task_name + __props__.__dict__["tags"] = tags + __props__.__dict__["creation_time_in_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["task_version"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:storageactions/v20230101:StorageTask")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(StorageTask, __self__).__init__( + 'azure-native:storageactions:StorageTask', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'StorageTask': + """ + Get an existing StorageTask 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = StorageTaskArgs.__new__(StorageTaskArgs) + + __props__.__dict__["action"] = None + __props__.__dict__["creation_time_in_utc"] = None + __props__.__dict__["description"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["task_version"] = None + __props__.__dict__["type"] = None + return StorageTask(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def action(self) -> pulumi.Output['outputs.StorageTaskActionResponse']: + """ + The storage task action that is executed + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="creationTimeInUtc") + def creation_time_in_utc(self) -> pulumi.Output[str]: + """ + The creation date and time of the storage task in UTC. + """ + return pulumi.get(self, "creation_time_in_utc") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + Text that describes the purpose of the storage task + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Storage Task is enabled when set to true and disabled when set to false + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + The managed service identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Represents the provisioning state of the storage task. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="taskVersion") + def task_version(self) -> pulumi.Output[float]: + """ + Storage task version. + """ + return pulumi.get(self, "task_version") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/storagetasks/v20230101/__init__.py b/sdk/python/pulumi_azure_native/storageactions/v20230101/__init__.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/v20230101/__init__.py rename to sdk/python/pulumi_azure_native/storageactions/v20230101/__init__.py diff --git a/sdk/python/pulumi_azure_native/storagetasks/v20230101/_enums.py b/sdk/python/pulumi_azure_native/storageactions/v20230101/_enums.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/v20230101/_enums.py rename to sdk/python/pulumi_azure_native/storageactions/v20230101/_enums.py diff --git a/sdk/python/pulumi_azure_native/storagetasks/v20230101/_inputs.py b/sdk/python/pulumi_azure_native/storageactions/v20230101/_inputs.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/v20230101/_inputs.py rename to sdk/python/pulumi_azure_native/storageactions/v20230101/_inputs.py diff --git a/sdk/python/pulumi_azure_native/storageactions/v20230101/get_storage_task.py b/sdk/python/pulumi_azure_native/storageactions/v20230101/get_storage_task.py new file mode 100644 index 000000000000..99d7c74040b5 --- /dev/null +++ b/sdk/python/pulumi_azure_native/storageactions/v20230101/get_storage_task.py @@ -0,0 +1,235 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetStorageTaskResult', + 'AwaitableGetStorageTaskResult', + 'get_storage_task', + 'get_storage_task_output', +] + +@pulumi.output_type +class GetStorageTaskResult: + """ + Represents Storage Task. + """ + def __init__(__self__, action=None, creation_time_in_utc=None, description=None, enabled=None, id=None, identity=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, task_version=None, type=None): + if action and not isinstance(action, dict): + raise TypeError("Expected argument 'action' to be a dict") + pulumi.set(__self__, "action", action) + if creation_time_in_utc and not isinstance(creation_time_in_utc, str): + raise TypeError("Expected argument 'creation_time_in_utc' to be a str") + pulumi.set(__self__, "creation_time_in_utc", creation_time_in_utc) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if enabled and not isinstance(enabled, bool): + raise TypeError("Expected argument 'enabled' to be a bool") + pulumi.set(__self__, "enabled", enabled) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if task_version and not isinstance(task_version, float): + raise TypeError("Expected argument 'task_version' to be a float") + pulumi.set(__self__, "task_version", task_version) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def action(self) -> 'outputs.StorageTaskActionResponse': + """ + The storage task action that is executed + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="creationTimeInUtc") + def creation_time_in_utc(self) -> str: + """ + The creation date and time of the storage task in UTC. + """ + return pulumi.get(self, "creation_time_in_utc") + + @property + @pulumi.getter + def description(self) -> str: + """ + Text that describes the purpose of the storage task + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Storage Task is enabled when set to true and disabled when set to false + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + The managed service identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Represents the provisioning state of the storage task. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="taskVersion") + def task_version(self) -> float: + """ + Storage task version. + """ + return pulumi.get(self, "task_version") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetStorageTaskResult(GetStorageTaskResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetStorageTaskResult( + action=self.action, + creation_time_in_utc=self.creation_time_in_utc, + description=self.description, + enabled=self.enabled, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + tags=self.tags, + task_version=self.task_version, + type=self.type) + + +def get_storage_task(resource_group_name: Optional[str] = None, + storage_task_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageTaskResult: + """ + Get the storage task properties + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['storageTaskName'] = storage_task_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:storageactions/v20230101:getStorageTask', __args__, opts=opts, typ=GetStorageTaskResult).value + + return AwaitableGetStorageTaskResult( + action=pulumi.get(__ret__, 'action'), + creation_time_in_utc=pulumi.get(__ret__, 'creation_time_in_utc'), + description=pulumi.get(__ret__, 'description'), + enabled=pulumi.get(__ret__, 'enabled'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + task_version=pulumi.get(__ret__, 'task_version'), + type=pulumi.get(__ret__, 'type')) + + +@_utilities.lift_output_func(get_storage_task) +def get_storage_task_output(resource_group_name: Optional[pulumi.Input[str]] = None, + storage_task_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageTaskResult]: + """ + Get the storage task properties + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + """ + ... diff --git a/sdk/python/pulumi_azure_native/storagetasks/v20230101/outputs.py b/sdk/python/pulumi_azure_native/storageactions/v20230101/outputs.py similarity index 100% rename from sdk/python/pulumi_azure_native/storagetasks/v20230101/outputs.py rename to sdk/python/pulumi_azure_native/storageactions/v20230101/outputs.py diff --git a/sdk/python/pulumi_azure_native/storageactions/v20230101/storage_task.py b/sdk/python/pulumi_azure_native/storageactions/v20230101/storage_task.py new file mode 100644 index 000000000000..d635711a12ff --- /dev/null +++ b/sdk/python/pulumi_azure_native/storageactions/v20230101/storage_task.py @@ -0,0 +1,373 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['StorageTaskArgs', 'StorageTask'] + +@pulumi.input_type +class StorageTaskArgs: + def __init__(__self__, *, + action: pulumi.Input['StorageTaskActionArgs'], + description: pulumi.Input[str], + enabled: pulumi.Input[bool], + resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + storage_task_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a StorageTask resource. + :param pulumi.Input['StorageTaskActionArgs'] action: The storage task action that is executed + :param pulumi.Input[str] description: Text that describes the purpose of the storage task + :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: The managed service identity of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "enabled", enabled) + 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 storage_task_name is not None: + pulumi.set(__self__, "storage_task_name", storage_task_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def action(self) -> pulumi.Input['StorageTaskActionArgs']: + """ + The storage task action that is executed + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: pulumi.Input['StorageTaskActionArgs']): + pulumi.set(self, "action", value) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + Text that describes the purpose of the storage task + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Storage Task is enabled when set to true and disabled when set to false + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + The managed service identity of the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="storageTaskName") + def storage_task_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + """ + return pulumi.get(self, "storage_task_name") + + @storage_task_name.setter + def storage_task_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_task_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + 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 StorageTask(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_task_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Represents Storage Task. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['StorageTaskActionArgs']] action: The storage task action that is executed + :param pulumi.Input[str] description: Text that describes the purpose of the storage task + :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false + :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: The managed service identity of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: StorageTaskArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Represents Storage Task. + + :param str resource_name: The name of the resource. + :param StorageTaskArgs 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(StorageTaskArgs, 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, + action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_task_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): + 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__ = StorageTaskArgs.__new__(StorageTaskArgs) + + if action is None and not opts.urn: + raise TypeError("Missing required property 'action'") + __props__.__dict__["action"] = action + if description is None and not opts.urn: + raise TypeError("Missing required property 'description'") + __props__.__dict__["description"] = description + if enabled is None and not opts.urn: + raise TypeError("Missing required property 'enabled'") + __props__.__dict__["enabled"] = enabled + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + 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__["storage_task_name"] = storage_task_name + __props__.__dict__["tags"] = tags + __props__.__dict__["creation_time_in_utc"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["task_version"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:storageactions:StorageTask")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(StorageTask, __self__).__init__( + 'azure-native:storageactions/v20230101:StorageTask', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'StorageTask': + """ + Get an existing StorageTask 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. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = StorageTaskArgs.__new__(StorageTaskArgs) + + __props__.__dict__["action"] = None + __props__.__dict__["creation_time_in_utc"] = None + __props__.__dict__["description"] = None + __props__.__dict__["enabled"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["task_version"] = None + __props__.__dict__["type"] = None + return StorageTask(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def action(self) -> pulumi.Output['outputs.StorageTaskActionResponse']: + """ + The storage task action that is executed + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="creationTimeInUtc") + def creation_time_in_utc(self) -> pulumi.Output[str]: + """ + The creation date and time of the storage task in UTC. + """ + return pulumi.get(self, "creation_time_in_utc") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + Text that describes the purpose of the storage task + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def enabled(self) -> pulumi.Output[bool]: + """ + Storage Task is enabled when set to true and disabled when set to false + """ + return pulumi.get(self, "enabled") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + The managed service identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Represents the provisioning state of the storage task. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="taskVersion") + def task_version(self) -> pulumi.Output[float]: + """ + Storage task version. + """ + return pulumi.get(self, "task_version") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/storagetasks/__init__.py b/sdk/python/pulumi_azure_native/storagetasks/__init__.py deleted file mode 100644 index 315fb7b484e3..000000000000 --- a/sdk/python/pulumi_azure_native/storagetasks/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -from .. import _utilities -import typing -# Export this package's modules as members: -from ._enums import * -from .get_storage_task import * -from .storage_task import * -from ._inputs import * -from . import outputs - -# Make subpackages available: -if typing.TYPE_CHECKING: - import pulumi_azure_native.storagetasks.v20230101 as __v20230101 - v20230101 = __v20230101 -else: - v20230101 = _utilities.lazy_import('pulumi_azure_native.storagetasks.v20230101') - diff --git a/sdk/python/pulumi_azure_native/storagetasks/get_storage_task.py b/sdk/python/pulumi_azure_native/storagetasks/get_storage_task.py deleted file mode 100644 index 4245bc683171..000000000000 --- a/sdk/python/pulumi_azure_native/storagetasks/get_storage_task.py +++ /dev/null @@ -1,237 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetStorageTaskResult', - 'AwaitableGetStorageTaskResult', - 'get_storage_task', - 'get_storage_task_output', -] - -@pulumi.output_type -class GetStorageTaskResult: - """ - Represents Storage Task. - """ - def __init__(__self__, action=None, creation_time_in_utc=None, description=None, enabled=None, id=None, identity=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, task_version=None, type=None): - if action and not isinstance(action, dict): - raise TypeError("Expected argument 'action' to be a dict") - pulumi.set(__self__, "action", action) - if creation_time_in_utc and not isinstance(creation_time_in_utc, str): - raise TypeError("Expected argument 'creation_time_in_utc' to be a str") - pulumi.set(__self__, "creation_time_in_utc", creation_time_in_utc) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if enabled and not isinstance(enabled, bool): - raise TypeError("Expected argument 'enabled' to be a bool") - pulumi.set(__self__, "enabled", enabled) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if identity and not isinstance(identity, dict): - raise TypeError("Expected argument 'identity' to be a dict") - pulumi.set(__self__, "identity", identity) - if location and not isinstance(location, str): - raise TypeError("Expected argument 'location' to be a str") - pulumi.set(__self__, "location", location) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if task_version and not isinstance(task_version, float): - raise TypeError("Expected argument 'task_version' to be a float") - pulumi.set(__self__, "task_version", task_version) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def action(self) -> 'outputs.StorageTaskActionResponse': - """ - The storage task action that is executed - """ - return pulumi.get(self, "action") - - @property - @pulumi.getter(name="creationTimeInUtc") - def creation_time_in_utc(self) -> str: - """ - The creation date and time of the storage task in UTC. - """ - return pulumi.get(self, "creation_time_in_utc") - - @property - @pulumi.getter - def description(self) -> str: - """ - Text that describes the purpose of the storage task - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def enabled(self) -> bool: - """ - Storage Task is enabled when set to true and disabled when set to false - """ - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: - """ - The managed service identity of the resource. - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter - def location(self) -> str: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Represents the provisioning state of the storage task. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskVersion") - def task_version(self) -> float: - """ - Storage task version. - """ - return pulumi.get(self, "task_version") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetStorageTaskResult(GetStorageTaskResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetStorageTaskResult( - action=self.action, - creation_time_in_utc=self.creation_time_in_utc, - description=self.description, - enabled=self.enabled, - id=self.id, - identity=self.identity, - location=self.location, - name=self.name, - provisioning_state=self.provisioning_state, - system_data=self.system_data, - tags=self.tags, - task_version=self.task_version, - type=self.type) - - -def get_storage_task(resource_group_name: Optional[str] = None, - storage_task_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageTaskResult: - """ - Get the storage task properties - Azure REST API version: 2023-01-01. - - - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - """ - __args__ = dict() - __args__['resourceGroupName'] = resource_group_name - __args__['storageTaskName'] = storage_task_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:storagetasks:getStorageTask', __args__, opts=opts, typ=GetStorageTaskResult).value - - return AwaitableGetStorageTaskResult( - action=pulumi.get(__ret__, 'action'), - creation_time_in_utc=pulumi.get(__ret__, 'creation_time_in_utc'), - description=pulumi.get(__ret__, 'description'), - enabled=pulumi.get(__ret__, 'enabled'), - id=pulumi.get(__ret__, 'id'), - identity=pulumi.get(__ret__, 'identity'), - location=pulumi.get(__ret__, 'location'), - name=pulumi.get(__ret__, 'name'), - provisioning_state=pulumi.get(__ret__, 'provisioning_state'), - system_data=pulumi.get(__ret__, 'system_data'), - tags=pulumi.get(__ret__, 'tags'), - task_version=pulumi.get(__ret__, 'task_version'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_storage_task) -def get_storage_task_output(resource_group_name: Optional[pulumi.Input[str]] = None, - storage_task_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageTaskResult]: - """ - Get the storage task properties - Azure REST API version: 2023-01-01. - - - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - """ - ... diff --git a/sdk/python/pulumi_azure_native/storagetasks/storage_task.py b/sdk/python/pulumi_azure_native/storagetasks/storage_task.py deleted file mode 100644 index 2f0abd981486..000000000000 --- a/sdk/python/pulumi_azure_native/storagetasks/storage_task.py +++ /dev/null @@ -1,375 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['StorageTaskArgs', 'StorageTask'] - -@pulumi.input_type -class StorageTaskArgs: - def __init__(__self__, *, - action: pulumi.Input['StorageTaskActionArgs'], - description: pulumi.Input[str], - enabled: pulumi.Input[bool], - resource_group_name: pulumi.Input[str], - identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, - location: Optional[pulumi.Input[str]] = None, - storage_task_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a StorageTask resource. - :param pulumi.Input['StorageTaskActionArgs'] action: The storage task action that is executed - :param pulumi.Input[str] description: Text that describes the purpose of the storage task - :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input['ManagedServiceIdentityArgs'] identity: The managed service identity of the resource. - :param pulumi.Input[str] location: The geo-location where the resource lives - :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. - """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "enabled", enabled) - 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 storage_task_name is not None: - pulumi.set(__self__, "storage_task_name", storage_task_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def action(self) -> pulumi.Input['StorageTaskActionArgs']: - """ - The storage task action that is executed - """ - return pulumi.get(self, "action") - - @action.setter - def action(self, value: pulumi.Input['StorageTaskActionArgs']): - pulumi.set(self, "action", value) - - @property - @pulumi.getter - def description(self) -> pulumi.Input[str]: - """ - Text that describes the purpose of the storage task - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: pulumi.Input[str]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter - def enabled(self) -> pulumi.Input[bool]: - """ - Storage Task is enabled when set to true and disabled when set to false - """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "enabled", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: - """ - The managed service identity of the resource. - """ - return pulumi.get(self, "identity") - - @identity.setter - def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): - pulumi.set(self, "identity", value) - - @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @location.setter - def location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "location", value) - - @property - @pulumi.getter(name="storageTaskName") - def storage_task_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - """ - return pulumi.get(self, "storage_task_name") - - @storage_task_name.setter - def storage_task_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "storage_task_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Resource tags. - """ - 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 StorageTask(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, - description: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - storage_task_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None): - """ - Represents Storage Task. - Azure REST API version: 2023-01-01. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['StorageTaskActionArgs']] action: The storage task action that is executed - :param pulumi.Input[str] description: Text that describes the purpose of the storage task - :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false - :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: The managed service identity of the resource. - :param pulumi.Input[str] location: The geo-location where the resource lives - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: StorageTaskArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents Storage Task. - Azure REST API version: 2023-01-01. - - :param str resource_name: The name of the resource. - :param StorageTaskArgs 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(StorageTaskArgs, 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, - action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, - description: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - storage_task_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): - 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__ = StorageTaskArgs.__new__(StorageTaskArgs) - - if action is None and not opts.urn: - raise TypeError("Missing required property 'action'") - __props__.__dict__["action"] = action - if description is None and not opts.urn: - raise TypeError("Missing required property 'description'") - __props__.__dict__["description"] = description - if enabled is None and not opts.urn: - raise TypeError("Missing required property 'enabled'") - __props__.__dict__["enabled"] = enabled - __props__.__dict__["identity"] = identity - __props__.__dict__["location"] = location - 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__["storage_task_name"] = storage_task_name - __props__.__dict__["tags"] = tags - __props__.__dict__["creation_time_in_utc"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["task_version"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:storagetasks/v20230101:StorageTask")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(StorageTask, __self__).__init__( - 'azure-native:storagetasks:StorageTask', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'StorageTask': - """ - Get an existing StorageTask 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = StorageTaskArgs.__new__(StorageTaskArgs) - - __props__.__dict__["action"] = None - __props__.__dict__["creation_time_in_utc"] = None - __props__.__dict__["description"] = None - __props__.__dict__["enabled"] = None - __props__.__dict__["identity"] = None - __props__.__dict__["location"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["task_version"] = None - __props__.__dict__["type"] = None - return StorageTask(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def action(self) -> pulumi.Output['outputs.StorageTaskActionResponse']: - """ - The storage task action that is executed - """ - return pulumi.get(self, "action") - - @property - @pulumi.getter(name="creationTimeInUtc") - def creation_time_in_utc(self) -> pulumi.Output[str]: - """ - The creation date and time of the storage task in UTC. - """ - return pulumi.get(self, "creation_time_in_utc") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - Text that describes the purpose of the storage task - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def enabled(self) -> pulumi.Output[bool]: - """ - Storage Task is enabled when set to true and disabled when set to false - """ - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: - """ - The managed service identity of the resource. - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter - def location(self) -> pulumi.Output[str]: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Represents the provisioning state of the storage task. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskVersion") - def task_version(self) -> pulumi.Output[float]: - """ - Storage task version. - """ - return pulumi.get(self, "task_version") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_azure_native/storagetasks/v20230101/get_storage_task.py b/sdk/python/pulumi_azure_native/storagetasks/v20230101/get_storage_task.py deleted file mode 100644 index ac24fcbe3a43..000000000000 --- a/sdk/python/pulumi_azure_native/storagetasks/v20230101/get_storage_task.py +++ /dev/null @@ -1,235 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs - -__all__ = [ - 'GetStorageTaskResult', - 'AwaitableGetStorageTaskResult', - 'get_storage_task', - 'get_storage_task_output', -] - -@pulumi.output_type -class GetStorageTaskResult: - """ - Represents Storage Task. - """ - def __init__(__self__, action=None, creation_time_in_utc=None, description=None, enabled=None, id=None, identity=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, task_version=None, type=None): - if action and not isinstance(action, dict): - raise TypeError("Expected argument 'action' to be a dict") - pulumi.set(__self__, "action", action) - if creation_time_in_utc and not isinstance(creation_time_in_utc, str): - raise TypeError("Expected argument 'creation_time_in_utc' to be a str") - pulumi.set(__self__, "creation_time_in_utc", creation_time_in_utc) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if enabled and not isinstance(enabled, bool): - raise TypeError("Expected argument 'enabled' to be a bool") - pulumi.set(__self__, "enabled", enabled) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if identity and not isinstance(identity, dict): - raise TypeError("Expected argument 'identity' to be a dict") - pulumi.set(__self__, "identity", identity) - if location and not isinstance(location, str): - raise TypeError("Expected argument 'location' to be a str") - pulumi.set(__self__, "location", location) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if provisioning_state and not isinstance(provisioning_state, str): - raise TypeError("Expected argument 'provisioning_state' to be a str") - pulumi.set(__self__, "provisioning_state", provisioning_state) - if system_data and not isinstance(system_data, dict): - raise TypeError("Expected argument 'system_data' to be a dict") - pulumi.set(__self__, "system_data", system_data) - if tags and not isinstance(tags, dict): - raise TypeError("Expected argument 'tags' to be a dict") - pulumi.set(__self__, "tags", tags) - if task_version and not isinstance(task_version, float): - raise TypeError("Expected argument 'task_version' to be a float") - pulumi.set(__self__, "task_version", task_version) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def action(self) -> 'outputs.StorageTaskActionResponse': - """ - The storage task action that is executed - """ - return pulumi.get(self, "action") - - @property - @pulumi.getter(name="creationTimeInUtc") - def creation_time_in_utc(self) -> str: - """ - The creation date and time of the storage task in UTC. - """ - return pulumi.get(self, "creation_time_in_utc") - - @property - @pulumi.getter - def description(self) -> str: - """ - Text that describes the purpose of the storage task - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def enabled(self) -> bool: - """ - Storage Task is enabled when set to true and disabled when set to false - """ - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def id(self) -> str: - """ - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: - """ - The managed service identity of the resource. - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter - def location(self) -> str: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> str: - """ - Represents the provisioning state of the storage task. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> 'outputs.SystemDataResponse': - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskVersion") - def task_version(self) -> float: - """ - Storage task version. - """ - return pulumi.get(self, "task_version") - - @property - @pulumi.getter - def type(self) -> str: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - - -class AwaitableGetStorageTaskResult(GetStorageTaskResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetStorageTaskResult( - action=self.action, - creation_time_in_utc=self.creation_time_in_utc, - description=self.description, - enabled=self.enabled, - id=self.id, - identity=self.identity, - location=self.location, - name=self.name, - provisioning_state=self.provisioning_state, - system_data=self.system_data, - tags=self.tags, - task_version=self.task_version, - type=self.type) - - -def get_storage_task(resource_group_name: Optional[str] = None, - storage_task_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageTaskResult: - """ - Get the storage task properties - - - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - """ - __args__ = dict() - __args__['resourceGroupName'] = resource_group_name - __args__['storageTaskName'] = storage_task_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('azure-native:storagetasks/v20230101:getStorageTask', __args__, opts=opts, typ=GetStorageTaskResult).value - - return AwaitableGetStorageTaskResult( - action=pulumi.get(__ret__, 'action'), - creation_time_in_utc=pulumi.get(__ret__, 'creation_time_in_utc'), - description=pulumi.get(__ret__, 'description'), - enabled=pulumi.get(__ret__, 'enabled'), - id=pulumi.get(__ret__, 'id'), - identity=pulumi.get(__ret__, 'identity'), - location=pulumi.get(__ret__, 'location'), - name=pulumi.get(__ret__, 'name'), - provisioning_state=pulumi.get(__ret__, 'provisioning_state'), - system_data=pulumi.get(__ret__, 'system_data'), - tags=pulumi.get(__ret__, 'tags'), - task_version=pulumi.get(__ret__, 'task_version'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_storage_task) -def get_storage_task_output(resource_group_name: Optional[pulumi.Input[str]] = None, - storage_task_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageTaskResult]: - """ - Get the storage task properties - - - :param str resource_group_name: The name of the resource group. The name is case insensitive. - :param str storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - """ - ... diff --git a/sdk/python/pulumi_azure_native/storagetasks/v20230101/storage_task.py b/sdk/python/pulumi_azure_native/storagetasks/v20230101/storage_task.py deleted file mode 100644 index 10c3364e52f3..000000000000 --- a/sdk/python/pulumi_azure_native/storagetasks/v20230101/storage_task.py +++ /dev/null @@ -1,373 +0,0 @@ -# coding=utf-8 -# *** WARNING: this file was generated by pulumi-language-python. *** -# *** Do not edit by hand unless you're certain you know what you are doing! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from ... import _utilities -from . import outputs -from ._enums import * -from ._inputs import * - -__all__ = ['StorageTaskArgs', 'StorageTask'] - -@pulumi.input_type -class StorageTaskArgs: - def __init__(__self__, *, - action: pulumi.Input['StorageTaskActionArgs'], - description: pulumi.Input[str], - enabled: pulumi.Input[bool], - resource_group_name: pulumi.Input[str], - identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, - location: Optional[pulumi.Input[str]] = None, - storage_task_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a StorageTask resource. - :param pulumi.Input['StorageTaskActionArgs'] action: The storage task action that is executed - :param pulumi.Input[str] description: Text that describes the purpose of the storage task - :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input['ManagedServiceIdentityArgs'] identity: The managed service identity of the resource. - :param pulumi.Input[str] location: The geo-location where the resource lives - :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. - """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "enabled", enabled) - 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 storage_task_name is not None: - pulumi.set(__self__, "storage_task_name", storage_task_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def action(self) -> pulumi.Input['StorageTaskActionArgs']: - """ - The storage task action that is executed - """ - return pulumi.get(self, "action") - - @action.setter - def action(self, value: pulumi.Input['StorageTaskActionArgs']): - pulumi.set(self, "action", value) - - @property - @pulumi.getter - def description(self) -> pulumi.Input[str]: - """ - Text that describes the purpose of the storage task - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: pulumi.Input[str]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter - def enabled(self) -> pulumi.Input[bool]: - """ - Storage Task is enabled when set to true and disabled when set to false - """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "enabled", value) - - @property - @pulumi.getter(name="resourceGroupName") - def resource_group_name(self) -> pulumi.Input[str]: - """ - The name of the resource group. The name is case insensitive. - """ - 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 identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: - """ - The managed service identity of the resource. - """ - return pulumi.get(self, "identity") - - @identity.setter - def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): - pulumi.set(self, "identity", value) - - @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @location.setter - def location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "location", value) - - @property - @pulumi.getter(name="storageTaskName") - def storage_task_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - """ - return pulumi.get(self, "storage_task_name") - - @storage_task_name.setter - def storage_task_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "storage_task_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Resource tags. - """ - 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 StorageTask(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, - description: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - storage_task_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - __props__=None): - """ - Represents Storage Task. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['StorageTaskActionArgs']] action: The storage task action that is executed - :param pulumi.Input[str] description: Text that describes the purpose of the storage task - :param pulumi.Input[bool] enabled: Storage Task is enabled when set to true and disabled when set to false - :param pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']] identity: The managed service identity of the resource. - :param pulumi.Input[str] location: The geo-location where the resource lives - :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. - :param pulumi.Input[str] storage_task_name: The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: StorageTaskArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Represents Storage Task. - - :param str resource_name: The name of the resource. - :param StorageTaskArgs 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(StorageTaskArgs, 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, - action: Optional[pulumi.Input[pulumi.InputType['StorageTaskActionArgs']]] = None, - description: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - identity: Optional[pulumi.Input[pulumi.InputType['ManagedServiceIdentityArgs']]] = None, - location: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None, - storage_task_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): - 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__ = StorageTaskArgs.__new__(StorageTaskArgs) - - if action is None and not opts.urn: - raise TypeError("Missing required property 'action'") - __props__.__dict__["action"] = action - if description is None and not opts.urn: - raise TypeError("Missing required property 'description'") - __props__.__dict__["description"] = description - if enabled is None and not opts.urn: - raise TypeError("Missing required property 'enabled'") - __props__.__dict__["enabled"] = enabled - __props__.__dict__["identity"] = identity - __props__.__dict__["location"] = location - 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__["storage_task_name"] = storage_task_name - __props__.__dict__["tags"] = tags - __props__.__dict__["creation_time_in_utc"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["task_version"] = None - __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:storagetasks:StorageTask")]) - opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(StorageTask, __self__).__init__( - 'azure-native:storagetasks/v20230101:StorageTask', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'StorageTask': - """ - Get an existing StorageTask 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = StorageTaskArgs.__new__(StorageTaskArgs) - - __props__.__dict__["action"] = None - __props__.__dict__["creation_time_in_utc"] = None - __props__.__dict__["description"] = None - __props__.__dict__["enabled"] = None - __props__.__dict__["identity"] = None - __props__.__dict__["location"] = None - __props__.__dict__["name"] = None - __props__.__dict__["provisioning_state"] = None - __props__.__dict__["system_data"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["task_version"] = None - __props__.__dict__["type"] = None - return StorageTask(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def action(self) -> pulumi.Output['outputs.StorageTaskActionResponse']: - """ - The storage task action that is executed - """ - return pulumi.get(self, "action") - - @property - @pulumi.getter(name="creationTimeInUtc") - def creation_time_in_utc(self) -> pulumi.Output[str]: - """ - The creation date and time of the storage task in UTC. - """ - return pulumi.get(self, "creation_time_in_utc") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - Text that describes the purpose of the storage task - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def enabled(self) -> pulumi.Output[bool]: - """ - Storage Task is enabled when set to true and disabled when set to false - """ - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: - """ - The managed service identity of the resource. - """ - return pulumi.get(self, "identity") - - @property - @pulumi.getter - def location(self) -> pulumi.Output[str]: - """ - The geo-location where the resource lives - """ - return pulumi.get(self, "location") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - The name of the resource - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="provisioningState") - def provisioning_state(self) -> pulumi.Output[str]: - """ - Represents the provisioning state of the storage task. - """ - return pulumi.get(self, "provisioning_state") - - @property - @pulumi.getter(name="systemData") - def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: - """ - Azure Resource Manager metadata containing createdBy and modifiedBy information. - """ - return pulumi.get(self, "system_data") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: - """ - Resource tags. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskVersion") - def task_version(self) -> pulumi.Output[float]: - """ - Storage task version. - """ - return pulumi.get(self, "task_version") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - """ - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - """ - return pulumi.get(self, "type") - diff --git a/versions/v2-lock.json b/versions/v2-lock.json index 403b0e607968..d2636f9900c6 100644 --- a/versions/v2-lock.json +++ b/versions/v2-lock.json @@ -435,6 +435,7 @@ "AFDOriginGroup": "2023-05-01", "CustomDomain": "2023-05-01", "Endpoint": "2023-05-01", + "KeyGroup": "2023-07-01-preview", "Origin": "2023-05-01", "OriginGroup": "2023-05-01", "Policy": "2023-05-01", @@ -542,7 +543,6 @@ "AgentPool": "2019-06-01-preview", "Archife": "2023-06-01-preview", "ArchiveVersion": "2023-06-01-preview", - "BuildStep": "2018-02-01-preview", "CacheRule": "2023-01-01-preview", "ConnectedRegistry": "2023-01-01-preview", "CredentialSet": "2023-01-01-preview", @@ -557,13 +557,8 @@ "TaskRun": "2019-06-01-preview", "Token": "2022-12-01", "Webhook": "2022-12-01", - "getBuildLogLink": "2018-02-01-preview", - "getRegistryBuildSourceUploadUrl": "2018-02-01-preview", - "getRegistryCredentials": "2016-06-27-preview", "getWebhookCallbackConfig": "2022-12-01", "listAgentPoolQueueStatus": "2019-06-01-preview", - "listBuildStepBuildArguments": "2018-02-01-preview", - "listBuildTaskSourceRepositoryProperties": "2018-02-01-preview", "listRegistryBuildSourceUploadUrl": "2019-06-01-preview", "listRegistryCredentials": "2022-12-01", "listRunLogSasUrl": "2019-06-01-preview", @@ -575,6 +570,7 @@ "AgentPool": "2023-04-01", "Fleet": "2023-03-15-preview", "FleetMember": "2023-03-15-preview", + "FleetUpdateStrategy": "2023-08-15-preview", "MaintenanceConfiguration": "2023-04-01", "ManagedCluster": "2023-04-01", "ManagedClusterSnapshot": "2023-05-02-preview", @@ -819,7 +815,11 @@ "Pool": "2023-04-01", "Project": "2023-04-01", "ProjectEnvironmentType": "2023-04-01", - "Schedule": "2023-04-01" + "Schedule": "2023-04-01", + "getCatalogDevBoxDefinitionErrorDetails": "2023-08-01-preview", + "getCatalogSyncErrorDetails": "2023-08-01-preview", + "getCustomizationTaskErrorDetails": "2023-08-01-preview", + "getEnvironmentDefinitionErrorDetails": "2023-08-01-preview" }, "DevHub": { "Workflow": "2022-10-11-preview", @@ -959,7 +959,8 @@ "ElasticSan": "2021-11-20-preview", "PrivateEndpointConnection": "2022-12-01-preview", "Volume": "2021-11-20-preview", - "VolumeGroup": "2021-11-20-preview" + "VolumeGroup": "2021-11-20-preview", + "VolumeSnapshot": "2023-01-01" }, "EngagementFabric": { "Account": "2018-09-01-preview", @@ -1183,13 +1184,6 @@ "Firmware": "2023-02-08-preview", "Workspace": "2023-02-08-preview" }, - "IoTSecurity": { - "DefenderSetting": "2021-02-01-preview", - "DeviceGroup": "2021-02-01-preview", - "OnPremiseSensor": "2021-02-01-preview", - "Sensor": "2021-02-01-preview", - "Site": "2021-02-01-preview" - }, "KeyVault": { "Key": "2023-02-01", "MHSMPrivateEndpointConnection": "2023-02-01", @@ -1220,6 +1214,7 @@ "EventHubConnection": "2018-09-07-preview", "ManagedPrivateEndpoint": "2022-12-29", "PrivateEndpointConnection": "2022-12-29", + "SandboxCustomImage": "2023-08-15", "Script": "2022-12-29", "listClusterFollowerDatabases": "2022-12-29", "listClusterLanguageExtensions": "2022-12-29", @@ -2256,6 +2251,9 @@ "listStorageAccountSAS": "2022-09-01", "listStorageAccountServiceSAS": "2022-09-01" }, + "StorageActions": { + "StorageTask": "2023-01-01" + }, "StorageCache": { "Cache": "2023-05-01", "StorageTarget": "2023-05-01", @@ -2281,9 +2279,6 @@ "StorageSyncService": "2022-06-01", "SyncGroup": "2022-06-01" }, - "StorageTasks": { - "StorageTask": "2023-01-01" - }, "StreamAnalytics": { "Cluster": "2020-03-01", "Function": "2020-03-01", diff --git a/versions/v2-removed-invokes.yaml b/versions/v2-removed-invokes.yaml index cb37997f0d7a..a9561198929e 100644 --- a/versions/v2-removed-invokes.yaml +++ b/versions/v2-removed-invokes.yaml @@ -294,9 +294,6 @@ azure-native:communication/v20211001preview:listCommunicationServiceKeys: "" azure-native:communication/v20220701preview:listCommunicationServiceKeys: "" azure-native:communication/v20230301preview:listCommunicationServiceKeys: "" azure-native:communication/v20230331:listCommunicationServiceKeys: "" -azure-native:containerregistry/v20170601preview:getWebhookCallbackConfig: "" -azure-native:containerregistry/v20170601preview:listRegistryCredentials: "" -azure-native:containerregistry/v20170601preview:listWebhookEvents: "" azure-native:containerregistry/v20171001:getWebhookCallbackConfig: "" azure-native:containerregistry/v20171001:listRegistryCredentials: "" azure-native:containerregistry/v20171001:listWebhookEvents: "" diff --git a/versions/v2-spec.yaml b/versions/v2-spec.yaml index d51b778bc954..c4a1bdee1990 100644 --- a/versions/v2-spec.yaml +++ b/versions/v2-spec.yaml @@ -187,6 +187,8 @@ Cache: Capacity: {} Cdn: tracking: "2023-05-01" + additions: + KeyGroup: 2023-07-01-preview CertificateRegistration: tracking: "2022-09-01" ChangeAnalysis: @@ -252,7 +254,6 @@ ContainerRegistry: AgentPool: 2019-06-01-preview Archife: 2023-06-01-preview ArchiveVersion: 2023-06-01-preview - BuildStep: 2018-02-01-preview CacheRule: 2023-01-01-preview ConnectedRegistry: 2023-01-01-preview CredentialSet: 2023-01-01-preview @@ -261,12 +262,7 @@ ContainerRegistry: PipelineRun: 2023-01-01-preview Task: 2019-06-01-preview TaskRun: 2019-06-01-preview - getBuildLogLink: 2018-02-01-preview - getRegistryBuildSourceUploadUrl: 2018-02-01-preview - getRegistryCredentials: 2016-06-27-preview listAgentPoolQueueStatus: 2019-06-01-preview - listBuildStepBuildArguments: 2018-02-01-preview - listBuildTaskSourceRepositoryProperties: 2018-02-01-preview listRegistryBuildSourceUploadUrl: 2019-06-01-preview listRunLogSasUrl: 2019-06-01-preview listTaskDetails: 2019-06-01-preview @@ -276,6 +272,7 @@ ContainerService: additions: Fleet: 2023-03-15-preview FleetMember: 2023-03-15-preview + FleetUpdateStrategy: 2023-08-15-preview ManagedClusterSnapshot: 2023-05-02-preview OpenShiftManagedCluster: 2019-10-27-preview TrustedAccessRoleBinding: 2023-05-02-preview @@ -398,6 +395,18 @@ DBforMySQL: - provider: DBforMySQL resourcename: Server detail: version 2022-09-30-preview is greater than 2017-12-01 + - provider: DBforMySQL + resourcename: Configuration + detail: version 2023-06-01-preview is greater than 2017-12-01 + - provider: DBforMySQL + resourcename: Database + detail: version 2023-06-01-preview is greater than 2017-12-01 + - provider: DBforMySQL + resourcename: FirewallRule + detail: version 2023-06-01-preview is greater than 2017-12-01 + - provider: DBforMySQL + resourcename: Server + detail: version 2023-06-01-preview is greater than 2017-12-01 - provider: DBforMySQL resourcename: PrivateEndpointConnection detail: version 2023-06-30 is greater than 2018-06-01 @@ -567,6 +576,11 @@ DesktopVirtualization: ScalingPlanPersonalSchedule: 2023-07-07-preview DevCenter: tracking: "2023-04-01" + additions: + getCatalogDevBoxDefinitionErrorDetails: 2023-08-01-preview + getCatalogSyncErrorDetails: 2023-08-01-preview + getCustomizationTaskErrorDetails: 2023-08-01-preview + getEnvironmentDefinitionErrorDetails: 2023-08-01-preview DevHub: tracking: 2022-10-11-preview DevOps: {} @@ -622,6 +636,7 @@ ElasticSan: tracking: 2021-11-20-preview additions: PrivateEndpointConnection: 2022-12-01-preview + VolumeSnapshot: "2023-01-01" EngagementFabric: tracking: 2018-09-01-preview EnterpriseKnowledgeGraph: @@ -738,8 +753,6 @@ IoTCentral: PrivateEndpointConnection: 2021-11-01-preview IoTFirmwareDefense: tracking: 2023-02-08-preview -IoTSecurity: - tracking: 2021-02-01-preview KeyVault: tracking: "2023-02-01" Kubernetes: @@ -755,6 +768,7 @@ Kusto: tracking: "2022-12-29" additions: EventHubConnection: 2018-09-07-preview + SandboxCustomImage: "2023-08-15" LabServices: tracking: "2022-08-01" additions: @@ -1352,6 +1366,8 @@ StorSimple: tracking: "2017-06-01" Storage: tracking: "2022-09-01" +StorageActions: + tracking: "2023-01-01" StorageCache: tracking: "2023-05-01" StorageMover: @@ -1360,8 +1376,6 @@ StoragePool: tracking: "2021-08-01" StorageSync: tracking: "2022-06-01" -StorageTasks: - tracking: "2023-01-01" StreamAnalytics: tracking: "2020-03-01" Subscription: